@skaldapp/runtime 3.0.40 → 3.0.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +0,0 @@
1
- function e(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function t(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if("function"==typeof t){var n=function e(){var n=!1;try{n=this instanceof e}catch{}return n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})}),n}var n,r={},o={};var i,a,s={};var l=(a||(a=1,function(e){const t=function(){if(n)return o;n=1,o.byteLength=function(e){var t=s(e),n=t[0],r=t[1];return 3*(n+r)/4-r},o.toByteArray=function(e){var n,o,i=s(e),a=i[0],l=i[1],c=new r(function(e,t,n){return 3*(t+n)/4-n}(0,a,l)),u=0,p=l>0?a-4:a;for(o=0;o<p;o+=4)n=t[e.charCodeAt(o)]<<18|t[e.charCodeAt(o+1)]<<12|t[e.charCodeAt(o+2)]<<6|t[e.charCodeAt(o+3)],c[u++]=n>>16&255,c[u++]=n>>8&255,c[u++]=255&n;return 2===l&&(n=t[e.charCodeAt(o)]<<2|t[e.charCodeAt(o+1)]>>4,c[u++]=255&n),1===l&&(n=t[e.charCodeAt(o)]<<10|t[e.charCodeAt(o+1)]<<4|t[e.charCodeAt(o+2)]>>2,c[u++]=n>>8&255,c[u++]=255&n),c},o.fromByteArray=function(t){for(var n,r=t.length,o=r%3,i=[],a=16383,s=0,l=r-o;s<l;s+=a)i.push(c(t,s,s+a>l?l:s+a));return 1===o?(n=t[r-1],i.push(e[n>>2]+e[n<<4&63]+"==")):2===o&&(n=(t[r-2]<<8)+t[r-1],i.push(e[n>>10]+e[n>>4&63]+e[n<<2&63]+"=")),i.join("")};for(var e=[],t=[],r="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0;a<64;++a)e[a]=i[a],t[i.charCodeAt(a)]=a;function s(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function l(t){return e[t>>18&63]+e[t>>12&63]+e[t>>6&63]+e[63&t]}function c(e,t,n){for(var r,o=[],i=t;i<n;i+=3)r=(e[i]<<16&16711680)+(e[i+1]<<8&65280)+(255&e[i+2]),o.push(l(r));return o.join("")}return t["-".charCodeAt(0)]=62,t["_".charCodeAt(0)]=63,o}(),r=(i||(i=1,s.read=function(e,t,n,r,o){var i,a,s=8*o-r-1,l=(1<<s)-1,c=l>>1,u=-7,p=n?o-1:0,d=n?-1:1,h=e[t+p];for(p+=d,i=h&(1<<-u)-1,h>>=-u,u+=s;u>0;i=256*i+e[t+p],p+=d,u-=8);for(a=i&(1<<-u)-1,i>>=-u,u+=r;u>0;a=256*a+e[t+p],p+=d,u-=8);if(0===i)i=1-c;else{if(i===l)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),i-=c}return(h?-1:1)*a*Math.pow(2,i-r)},s.write=function(e,t,n,r,o,i){var a,s,l,c=8*i-o-1,u=(1<<c)-1,p=u>>1,d=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:i-1,f=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+p>=1?d/l:d*Math.pow(2,1-p))*l>=2&&(a++,l/=2),a+p>=u?(s=0,a=u):a+p>=1?(s=(t*l-1)*Math.pow(2,o),a+=p):(s=t*Math.pow(2,p-1)*Math.pow(2,o),a=0));o>=8;e[n+h]=255&s,h+=f,s/=256,o-=8);for(a=a<<o|s,c+=o;c>0;e[n+h]=255&a,h+=f,a/=256,c-=8);e[n+h-f]|=128*m}),s),a="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=u,e.SlowBuffer=function(e){return+e!=e&&(e=0),u.alloc(+e)},e.INSPECT_MAX_BYTES=50;const l=2147483647;function c(e){if(e>l)throw new RangeError('The value "'+e+'" is invalid for option "size"');const t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,n){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return h(e)}return p(e,t,n)}function p(e,t,n){if("string"==typeof e)return function(e,t){if("string"==typeof t&&""!==t||(t="utf8"),!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);const n=0|b(e,t);let r=c(n);const o=r.write(e,t);return o!==n&&(r=r.slice(0,o)),r}(e,t);if(ArrayBuffer.isView(e))return function(e){if(Z(e,Uint8Array)){const t=new Uint8Array(e);return m(t.buffer,t.byteOffset,t.byteLength)}return f(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(Z(e,ArrayBuffer)||e&&Z(e.buffer,ArrayBuffer))return m(e,t,n);if("undefined"!=typeof SharedArrayBuffer&&(Z(e,SharedArrayBuffer)||e&&Z(e.buffer,SharedArrayBuffer)))return m(e,t,n);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');const r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return u.from(r,t,n);const o=function(e){if(u.isBuffer(e)){const t=0|g(e.length),n=c(t);return 0===n.length||e.copy(n,0,0,t),n}return void 0!==e.length?"number"!=typeof e.length||Q(e.length)?c(0):f(e):"Buffer"===e.type&&Array.isArray(e.data)?f(e.data):void 0}(e);if(o)return o;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return u.from(e[Symbol.toPrimitive]("string"),t,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function d(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function h(e){return d(e),c(e<0?0:0|g(e))}function f(e){const t=e.length<0?0:0|g(e.length),n=c(t);for(let r=0;r<t;r+=1)n[r]=255&e[r];return n}function m(e,t,n){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(n||0))throw new RangeError('"length" is outside of buffer bounds');let r;return r=void 0===t&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,t):new Uint8Array(e,t,n),Object.setPrototypeOf(r,u.prototype),r}function g(e){if(e>=l)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+l.toString(16)+" bytes");return 0|e}function b(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||Z(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);const n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;let o=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return Y(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return G(e).length;default:if(o)return r?-1:Y(e).length;t=(""+t).toLowerCase(),o=!0}}function y(e,t,n){let r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return L(this,t,n);case"utf8":case"utf-8":return A(this,t,n);case"ascii":return O(this,t,n);case"latin1":case"binary":return _(this,t,n);case"base64":return j(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function k(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function w(e,t,n,r,o){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),Q(n=+n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof t&&(t=u.from(t,r)),u.isBuffer(t))return 0===t.length?-1:v(e,t,n,r,o);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):v(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function v(e,t,n,r,o){let i,a=1,s=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,n/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){let r=-1;for(i=n;i<s;i++)if(c(e,i)===c(t,-1===r?0:i-r)){if(-1===r&&(r=i),i-r+1===l)return r*a}else-1!==r&&(i-=i-r),r=-1}else for(n+l>s&&(n=s-l),i=n;i>=0;i--){let n=!0;for(let r=0;r<l;r++)if(c(e,i+r)!==c(t,r)){n=!1;break}if(n)return i}return-1}function x(e,t,n,r){n=Number(n)||0;const o=e.length-n;r?(r=Number(r))>o&&(r=o):r=o;const i=t.length;let a;for(r>i/2&&(r=i/2),a=0;a<r;++a){const r=parseInt(t.substr(2*a,2),16);if(Q(r))return a;e[n+a]=r}return a}function $(e,t,n,r){return K(Y(t,e.length-n),e,n,r)}function S(e,t,n,r){return K(function(e){const t=[];for(let n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function z(e,t,n,r){return K(G(t),e,n,r)}function C(e,t,n,r){return K(function(e,t){let n,r,o;const i=[];for(let a=0;a<e.length&&!((t-=2)<0);++a)n=e.charCodeAt(a),r=n>>8,o=n%256,i.push(o),i.push(r);return i}(t,e.length-n),e,n,r)}function j(e,n,r){return 0===n&&r===e.length?t.fromByteArray(e):t.fromByteArray(e.slice(n,r))}function A(e,t,n){n=Math.min(e.length,n);const r=[];let o=t;for(;o<n;){const t=e[o];let i=null,a=t>239?4:t>223?3:t>191?2:1;if(o+a<=n){let n,r,s,l;switch(a){case 1:t<128&&(i=t);break;case 2:n=e[o+1],128==(192&n)&&(l=(31&t)<<6|63&n,l>127&&(i=l));break;case 3:n=e[o+1],r=e[o+2],128==(192&n)&&128==(192&r)&&(l=(15&t)<<12|(63&n)<<6|63&r,l>2047&&(l<55296||l>57343)&&(i=l));break;case 4:n=e[o+1],r=e[o+2],s=e[o+3],128==(192&n)&&128==(192&r)&&128==(192&s)&&(l=(15&t)<<18|(63&n)<<12|(63&r)<<6|63&s,l>65535&&l<1114112&&(i=l))}}null===i?(i=65533,a=1):i>65535&&(i-=65536,r.push(i>>>10&1023|55296),i=56320|1023&i),r.push(i),o+=a}return function(e){const t=e.length;if(t<=E)return String.fromCharCode.apply(String,e);let n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=E));return n}(r)}e.kMaxLength=l,u.TYPED_ARRAY_SUPPORT=function(){try{const e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),u.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}}),u.poolSize=8192,u.from=function(e,t,n){return p(e,t,n)},Object.setPrototypeOf(u.prototype,Uint8Array.prototype),Object.setPrototypeOf(u,Uint8Array),u.alloc=function(e,t,n){return function(e,t,n){return d(e),e<=0?c(e):void 0!==t?"string"==typeof n?c(e).fill(t,n):c(e).fill(t):c(e)}(e,t,n)},u.allocUnsafe=function(e){return h(e)},u.allocUnsafeSlow=function(e){return h(e)},u.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==u.prototype},u.compare=function(e,t){if(Z(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),Z(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(e)||!u.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let n=e.length,r=t.length;for(let o=0,i=Math.min(n,r);o<i;++o)if(e[o]!==t[o]){n=e[o],r=t[o];break}return n<r?-1:r<n?1:0},u.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return u.alloc(0);let n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;const r=u.allocUnsafe(t);let o=0;for(n=0;n<e.length;++n){let t=e[n];if(Z(t,Uint8Array))o+t.length>r.length?(u.isBuffer(t)||(t=u.from(t)),t.copy(r,o)):Uint8Array.prototype.set.call(r,t,o);else{if(!u.isBuffer(t))throw new TypeError('"list" argument must be an Array of Buffers');t.copy(r,o)}o+=t.length}return r},u.byteLength=b,u.prototype._isBuffer=!0,u.prototype.swap16=function(){const e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<e;t+=2)k(this,t,t+1);return this},u.prototype.swap32=function(){const e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<e;t+=4)k(this,t,t+3),k(this,t+1,t+2);return this},u.prototype.swap64=function(){const e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<e;t+=8)k(this,t,t+7),k(this,t+1,t+6),k(this,t+2,t+5),k(this,t+3,t+4);return this},u.prototype.toString=function(){const e=this.length;return 0===e?"":0===arguments.length?A(this,0,e):y.apply(this,arguments)},u.prototype.toLocaleString=u.prototype.toString,u.prototype.equals=function(e){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){let t="";const n=e.INSPECT_MAX_BYTES;return t=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(t+=" ... "),"<Buffer "+t+">"},a&&(u.prototype[a]=u.prototype.inspect),u.prototype.compare=function(e,t,n,r,o){if(Z(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),!u.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return-1;if(t>=n)return 1;if(this===e)return 0;let i=(o>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0);const s=Math.min(i,a),l=this.slice(r,o),c=e.slice(t,n);for(let u=0;u<s;++u)if(l[u]!==c[u]){i=l[u],a=c[u];break}return i<a?-1:a<i?1:0},u.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},u.prototype.indexOf=function(e,t,n){return w(this,e,t,n,!0)},u.prototype.lastIndexOf=function(e,t,n){return w(this,e,t,n,!1)},u.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}const o=this.length-t;if((void 0===n||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");let i=!1;for(;;)switch(r){case"hex":return x(this,e,t,n);case"utf8":case"utf-8":return $(this,e,t,n);case"ascii":case"latin1":case"binary":return S(this,e,t,n);case"base64":return z(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const E=4096;function O(e,t,n){let r="";n=Math.min(e.length,n);for(let o=t;o<n;++o)r+=String.fromCharCode(127&e[o]);return r}function _(e,t,n){let r="";n=Math.min(e.length,n);for(let o=t;o<n;++o)r+=String.fromCharCode(e[o]);return r}function L(e,t,n){const r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);let o="";for(let i=t;i<n;++i)o+=J[e[i]];return o}function T(e,t,n){const r=e.slice(t,n);let o="";for(let i=0;i<r.length-1;i+=2)o+=String.fromCharCode(r[i]+256*r[i+1]);return o}function M(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function P(e,t,n,r,o,i){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function B(e,t,n,r,o){q(t,r,o,e,n,7);let i=Number(t&BigInt(4294967295));e[n++]=i,i>>=8,e[n++]=i,i>>=8,e[n++]=i,i>>=8,e[n++]=i;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,n}function R(e,t,n,r,o){q(t,r,o,e,n,7);let i=Number(t&BigInt(4294967295));e[n+7]=i,i>>=8,e[n+6]=i,i>>=8,e[n+5]=i,i>>=8,e[n+4]=i;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n+3]=a,a>>=8,e[n+2]=a,a>>=8,e[n+1]=a,a>>=8,e[n]=a,n+8}function F(e,t,n,r,o,i){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function I(e,t,n,o,i){return t=+t,n>>>=0,i||F(e,0,n,4),r.write(e,t,n,o,23,4),n+4}function N(e,t,n,o,i){return t=+t,n>>>=0,i||F(e,0,n,8),r.write(e,t,n,o,52,8),n+8}u.prototype.slice=function(e,t){const n=this.length;(e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);const r=this.subarray(e,t);return Object.setPrototypeOf(r,u.prototype),r},u.prototype.readUintLE=u.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||M(e,t,this.length);let r=this[e],o=1,i=0;for(;++i<t&&(o*=256);)r+=this[e+i]*o;return r},u.prototype.readUintBE=u.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||M(e,t,this.length);let r=this[e+--t],o=1;for(;t>0&&(o*=256);)r+=this[e+--t]*o;return r},u.prototype.readUint8=u.prototype.readUInt8=function(e,t){return e>>>=0,t||M(e,1,this.length),this[e]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(e,t){return e>>>=0,t||M(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(e,t){return e>>>=0,t||M(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(e,t){return e>>>=0,t||M(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(e,t){return e>>>=0,t||M(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readBigUInt64LE=ee(function(e){V(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||H(e,this.length-8);const r=t+256*this[++e]+65536*this[++e]+this[++e]*2**24,o=this[++e]+256*this[++e]+65536*this[++e]+n*2**24;return BigInt(r)+(BigInt(o)<<BigInt(32))}),u.prototype.readBigUInt64BE=ee(function(e){V(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||H(e,this.length-8);const r=t*2**24+65536*this[++e]+256*this[++e]+this[++e],o=this[++e]*2**24+65536*this[++e]+256*this[++e]+n;return(BigInt(r)<<BigInt(32))+BigInt(o)}),u.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||M(e,t,this.length);let r=this[e],o=1,i=0;for(;++i<t&&(o*=256);)r+=this[e+i]*o;return o*=128,r>=o&&(r-=Math.pow(2,8*t)),r},u.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||M(e,t,this.length);let r=t,o=1,i=this[e+--r];for(;r>0&&(o*=256);)i+=this[e+--r]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*t)),i},u.prototype.readInt8=function(e,t){return e>>>=0,t||M(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){e>>>=0,t||M(e,2,this.length);const n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function(e,t){e>>>=0,t||M(e,2,this.length);const n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function(e,t){return e>>>=0,t||M(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return e>>>=0,t||M(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readBigInt64LE=ee(function(e){V(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||H(e,this.length-8);const r=this[e+4]+256*this[e+5]+65536*this[e+6]+(n<<24);return(BigInt(r)<<BigInt(32))+BigInt(t+256*this[++e]+65536*this[++e]+this[++e]*2**24)}),u.prototype.readBigInt64BE=ee(function(e){V(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||H(e,this.length-8);const r=(t<<24)+65536*this[++e]+256*this[++e]+this[++e];return(BigInt(r)<<BigInt(32))+BigInt(this[++e]*2**24+65536*this[++e]+256*this[++e]+n)}),u.prototype.readFloatLE=function(e,t){return e>>>=0,t||M(e,4,this.length),r.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return e>>>=0,t||M(e,4,this.length),r.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return e>>>=0,t||M(e,8,this.length),r.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return e>>>=0,t||M(e,8,this.length),r.read(this,e,!1,52,8)},u.prototype.writeUintLE=u.prototype.writeUIntLE=function(e,t,n,r){e=+e,t>>>=0,n>>>=0,r||P(this,e,t,n,Math.pow(2,8*n)-1,0);let o=1,i=0;for(this[t]=255&e;++i<n&&(o*=256);)this[t+i]=e/o&255;return t+n},u.prototype.writeUintBE=u.prototype.writeUIntBE=function(e,t,n,r){e=+e,t>>>=0,n>>>=0,r||P(this,e,t,n,Math.pow(2,8*n)-1,0);let o=n-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+n},u.prototype.writeUint8=u.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||P(this,e,t,1,255,0),this[t]=255&e,t+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||P(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||P(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||P(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||P(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeBigUInt64LE=ee(function(e,t=0){return B(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),u.prototype.writeBigUInt64BE=ee(function(e,t=0){return R(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),u.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){const r=Math.pow(2,8*n-1);P(this,e,t,n,r-1,-r)}let o=0,i=1,a=0;for(this[t]=255&e;++o<n&&(i*=256);)e<0&&0===a&&0!==this[t+o-1]&&(a=1),this[t+o]=(e/i|0)-a&255;return t+n},u.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){const r=Math.pow(2,8*n-1);P(this,e,t,n,r-1,-r)}let o=n-1,i=1,a=0;for(this[t+o]=255&e;--o>=0&&(i*=256);)e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/i|0)-a&255;return t+n},u.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||P(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||P(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||P(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||P(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},u.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||P(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeBigInt64LE=ee(function(e,t=0){return B(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),u.prototype.writeBigInt64BE=ee(function(e,t=0){return R(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),u.prototype.writeFloatLE=function(e,t,n){return I(this,e,t,!0,n)},u.prototype.writeFloatBE=function(e,t,n){return I(this,e,t,!1,n)},u.prototype.writeDoubleLE=function(e,t,n){return N(this,e,t,!0,n)},u.prototype.writeDoubleBE=function(e,t,n){return N(this,e,t,!1,n)},u.prototype.copy=function(e,t,n,r){if(!u.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);const o=r-n;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,n,r):Uint8Array.prototype.set.call(e,this.subarray(n,r),t),o},u.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!u.isEncoding(r))throw new TypeError("Unknown encoding: "+r);if(1===e.length){const t=e.charCodeAt(0);("utf8"===r&&t<128||"latin1"===r)&&(e=t)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;let o;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o<n;++o)this[o]=e;else{const i=u.isBuffer(e)?e:u.from(e,r),a=i.length;if(0===a)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<n-t;++o)this[o+t]=i[o%a]}return this};const U={};function D(e,t,n){U[e]=class extends n{constructor(){super(),Object.defineProperty(this,"message",{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${e}]`,this.stack,delete this.name}get code(){return e}set code(e){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:e,writable:!0})}toString(){return`${this.name} [${e}]: ${this.message}`}}}function W(e){let t="",n=e.length;const r="-"===e[0]?1:0;for(;n>=r+4;n-=3)t=`_${e.slice(n-3,n)}${t}`;return`${e.slice(0,n)}${t}`}function q(e,t,n,r,o,i){if(e>n||e<t){const n="bigint"==typeof t?"n":"";let r;throw r=0===t||t===BigInt(0)?`>= 0${n} and < 2${n} ** ${8*(i+1)}${n}`:`>= -(2${n} ** ${8*(i+1)-1}${n}) and < 2 ** ${8*(i+1)-1}${n}`,new U.ERR_OUT_OF_RANGE("value",r,e)}!function(e,t,n){V(t,"offset"),void 0!==e[t]&&void 0!==e[t+n]||H(t,e.length-(n+1))}(r,o,i)}function V(e,t){if("number"!=typeof e)throw new U.ERR_INVALID_ARG_TYPE(t,"number",e)}function H(e,t,n){if(Math.floor(e)!==e)throw V(e,n),new U.ERR_OUT_OF_RANGE("offset","an integer",e);if(t<0)throw new U.ERR_BUFFER_OUT_OF_BOUNDS;throw new U.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${t}`,e)}D("ERR_BUFFER_OUT_OF_BOUNDS",function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),D("ERR_INVALID_ARG_TYPE",function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`},TypeError),D("ERR_OUT_OF_RANGE",function(e,t,n){let r=`The value of "${e}" is out of range.`,o=n;return Number.isInteger(n)&&Math.abs(n)>2**32?o=W(String(n)):"bigint"==typeof n&&(o=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(o=W(o)),o+="n"),r+=` It must be ${t}. Received ${o}`,r},RangeError);const X=/[^+/0-9A-Za-z-_]/g;function Y(e,t){let n;t=t||1/0;const r=e.length;let o=null;const i=[];for(let a=0;a<r;++a){if(n=e.charCodeAt(a),n>55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function G(e){return t.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(X,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function K(e,t,n,r){let o;for(o=0;o<r&&!(o+n>=t.length||o>=e.length);++o)t[o+n]=e[o];return o}function Z(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function Q(e){return e!=e}const J=function(){const e="0123456789abcdef",t=new Array(256);for(let n=0;n<16;++n){const r=16*n;for(let o=0;o<16;++o)t[r+o]=e[n]+e[o]}return t}();function ee(e){return"undefined"==typeof BigInt?te:e}function te(){throw new Error("BigInt not supported")}}(r)),r);const c="default",u="preflights",p="shortcuts",d="imports",h={[d]:-200,[u]:-100,[p]:-10,[c]:0},f=/[\\:]?[\s'"`;{}]+/g;const m={name:"@unocss/core/extractor-split",order:0,extract:({code:e})=>function(e){return e.split(f)}(e)};function g(e=[]){return Array.isArray(e)?e:[e]}function b(e){return Array.from(new Set(e))}function y(e,t){return e.reduce((e,n)=>(-1===e.findIndex(e=>t(n,e))&&e.push(n),e),[])}function k(e){return"string"==typeof e}var w=class extends Set{constructor(e){if(super(),this._map=new Map,e)for(const t of e)this.add(t)}add(e){return this._map.set(e,(this._map.get(e)??0)+1),super.add(e)}delete(e){return!!this._map.has(e)&&(this._map.delete(e),super.delete(e))}clear(){this._map.clear(),super.clear()}getCount(e){return this._map.get(e)??0}setCount(e,t){return this._map.set(e,t),super.add(e)}};function v(e){return e instanceof w}function x(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function $(e){const t=e.length;let n,r=-1,o="";const i=e.charCodeAt(0);for(;++r<t;)n=e.charCodeAt(r),o+=0!==n?37!==n?44!==n?n>=1&&n<=31||127===n||0===r&&n>=48&&n<=57||1===r&&n>=48&&n<=57&&45===i?`\\${n.toString(16)} `:(0!==r||1!==t||45!==n)&&(n>=128||45===n||95===n||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122)?e.charAt(r):`\\${e.charAt(r)}`:"\\,":"\\%":"�";return o}const S=$;const z=/^\[(.+?)~?="(.*)"\]$/,C=/\.(css|postcss|sass|scss|less|stylus|styl)($|\?)/,j=/[\w\u00A0-\uFFFF%-?]/;function A(e=""){return j.test(e)}function E(e){return"function"==typeof e?{match:e}:e}function O(e){return 3===e.length}function _(e){return null!=e}function L(){}var T=class{constructor(){this._map=new Map}get(e,t){const n=this._map.get(e);if(n)return n.get(t)}getFallback(e,t,n){let r=this._map.get(e);return r||(r=new Map,this._map.set(e,r)),r.has(t)||r.set(t,n),r.get(t)}set(e,t,n){let r=this._map.get(e);return r||(r=new Map,this._map.set(e,r)),r.set(t,n),this}has(e,t){return this._map.get(e)?.has(t)}delete(e,t){return this._map.get(e)?.delete(t)||!1}deleteTop(e){return this._map.delete(e)}map(e){return Array.from(this._map.entries()).flatMap(([t,n])=>Array.from(n.entries()).map(([n,r])=>e(r,t,n)))}},M=class extends Map{getFallback(e,t){const n=this.get(e);return void 0===n?(this.set(e,t),t):n}map(e){const t=[];return this.forEach((n,r)=>{t.push(e(n,r))}),t}flatMap(e){const t=[];return this.forEach((n,r)=>{t.push(...e(n,r))}),t}};function P(e){return k(e)?e:(Array.isArray(e)?e:Object.entries(e)).filter(e=>null!=e[1])}const B="__virtual_key__";function R(e){return null==e?"":(t=e,t.filter(([e,n],r)=>{if(e.startsWith("$$"))return!1;for(let o=r-1;o>=0;o--)if(t[o][0]===e&&t[o][1]===n)return!1;return!0})).map(([e,t])=>null!=t&&"function"!=typeof t?e!==B?`${e}:${t};`:t:void 0).filter(Boolean).join("");var t}function F(e){return e&&"object"==typeof e&&!Array.isArray(e)}function I(e,t,n=!1){const r=e,o=t;if(Array.isArray(o))return n&&Array.isArray(o)?[...r,...o]:[...o];const i={...r};return F(r)&&F(o)&&Object.keys(o).forEach(e=>{F(r[e])&&F(o[e])||Array.isArray(r[e])&&Array.isArray(o[e])?i[e]=I(r[e],o[e],n):Object.assign(i,{[e]:o[e]})}),i}function N(e){let t,n,r;if(Array.isArray(e)){for(n=Array.from({length:t=e.length});t--;)n[t]=(r=e[t])&&"object"==typeof r?N(r):r;return n}if("[object Object]"===Object.prototype.toString.call(e)){for(t in n={},e)"__proto__"===t?Object.defineProperty(n,t,{value:N(e[t]),configurable:!0,enumerable:!0,writable:!0}):n[t]=(r=e[t])&&"object"==typeof r?N(r):r;return n}return e}function U(e){return k(e[0])}function D(e){return k(e[0])}const W={};function q(e,t=["-",":"],n=5){const r=function(e=["-",":"]){const t=e.join("|");return W[t]||(W[t]=new RegExp(`((?:[!@<~\\w+:_-]|\\[&?>?:?\\S*\\])+?)(${t})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[[^\\]]*?\\])+?)\\)(?!\\s*?=>)`,"gm")),W[t].lastIndex=0,W[t]}(t);let o,i=e.toString();const a=new Set,s=new Map;do{o=!1,i=i.replace(r,(e,n,r,i,l)=>{if(!t.includes(r))return e;o=!0,a.add(n+r);const c=l+n.length+r.length+1,u={length:e.length,items:[]};s.set(l,u);for(const t of[...i.matchAll(/\S+/g)]){const e=c+t.index;let o=s.get(e)?.items;o?s.delete(e):o=[{offset:e,length:t[0].length,className:t[0]}];for(const t of o)t.className="~"===t.className?n:t.className.replace(/^(!?)(.*)/,`$1${n}${r}$2`),u.items.push(t)}return"$".repeat(e.length)}),n-=1}while(o&&n);let l;if("string"==typeof e){l="";let t=0;for(const[n,r]of s)l+=e.slice(t,n),l+=r.items.map(e=>e.className).join(" "),t=n+r.length;l+=e.slice(t)}else{l=e;for(const[e,t]of s)l.overwrite(e,e+t.length,t.items.map(e=>e.className).join(" "))}return{prefixes:Array.from(a),hasChanged:o,groupsByOffset:s,get expanded(){return l.toString()}}}function V(e,t=["-",":"],n=5){const r=q(e,t,n);return"string"==typeof e?r.expanded:e}const H=new Set;function X(e){H.has(e)||(console.warn("[unocss]",e),H.add(e))}function Y(e){return g(e).flatMap(e=>Array.isArray(e)?[e]:Object.entries(e))}const G="_uno_resolved";async function K(e){const t=await async function(e){let t="function"==typeof e?await e():await e;if(G in t)return t;t={...t},Object.defineProperty(t,G,{value:!0,enumerable:!1});const n=t.shortcuts?Y(t.shortcuts):void 0;if(t.shortcuts=n,t.prefix||t.layer){const e=e=>{e[2]||(e[2]={});const n=e[2];null==n.prefix&&t.prefix&&(n.prefix=g(t.prefix)),null==n.layer&&t.layer&&(n.layer=t.layer)};n?.forEach(e),t.rules?.forEach(e)}return t}(e);return t.presets?[t,...(await Promise.all((t.presets||[]).flatMap(g).flatMap(K))).flat()]:[t]}async function Z(e={},t={}){const n=Object.assign({},t,e),r=y((await Promise.all((n.presets||[]).flatMap(g).flatMap(K))).flat(),(e,t)=>e.name===t.name),o=[...r.filter(e=>"pre"===e.enforce),...r.filter(e=>!e.enforce),...r.filter(e=>"post"===e.enforce)],i=[...o,n],a=[...i].reverse(),s=Object.assign({},h,...i.map(e=>e.layers));function l(e){return b(i.flatMap(t=>g(t[e]||[])))}const c=l("extractors");let u=a.find(e=>void 0!==e.extractorDefault)?.extractorDefault;void 0===u&&(u=m),u&&!c.includes(u)&&c.unshift(u),c.sort((e,t)=>(e.order||0)-(t.order||0));const p=l("rules"),d=p.length,f={},k=[];for(const[h,m]of p.entries()){const e=m[2]??(m[2]={});e.__index=h,U(m)?g(e.prefix??"").forEach(e=>{f[e+m[0]]=m}):k.unshift(m)}const w={templates:b(i.flatMap(e=>g(e.autocomplete?.templates))),extractors:i.flatMap(e=>g(e.autocomplete?.extractors)).sort((e,t)=>(e.order||0)-(t.order||0)),shorthands:(v=i.map(e=>e.autocomplete?.shorthands||{}),v.reduce((e,t)=>{const n={};for(const r in t){const e=t[r];Array.isArray(e)?n[r]=`(${e.join("|")})`:n[r]=e}return{...e,...n}},{}))};var v;let x=l("separators");x.length||(x=[":","-"]);const $=function(e){if(0===e.length)return{};const t=[],n=[];let r=!1;const o=[],i=[];for(const s of e){if(!1===s.pipeline){r=!0;break}s.pipeline?.include&&t.push(s.pipeline.include),s.pipeline?.exclude&&n.push(s.pipeline.exclude),s.filesystem&&o.push(s.filesystem),s.inline&&i.push(s.inline)}const a={pipeline:!r&&{include:b(Q(...t)),exclude:b(Q(...n))}};return o.length&&(a.filesystem=b(o.flat())),i.length&&(a.inline=b(i.flat())),a}(l("content")),S={mergeSelectors:!0,warn:!0,sortLayers:e=>e,...n,blocklist:l("blocklist"),presets:o,envMode:n.envMode||"build",shortcutsLayer:n.shortcutsLayer||"shortcuts",layers:s,theme:(z=i.map(e=>e.theme),z.map(e=>e?N(e):{}).reduce((e,t)=>I(e,t),{})),rules:p,rulesSize:d,rulesDynamic:k,rulesStaticMap:f,preprocess:l("preprocess"),postprocess:l("postprocess"),preflights:l("preflights"),autocomplete:w,variants:l("variants").map(E).sort((e,t)=>(e.order||0)-(t.order||0)),shortcuts:Y(l("shortcuts")).reverse(),extractors:c,safelist:l("safelist"),separators:x,details:n.details??"dev"===n.envMode,content:$,transformers:y(l("transformers"),(e,t)=>e.name===t.name)};var z;const C=l("extendTheme");for(const h of C)S.theme=h(S.theme,S)||S.theme;for(const h of i)h?.configResolved?.(S);return S}function Q(...e){return e.flatMap(J)}function J(e){return Array.isArray(e)?e:e?[e]:[]}const ee={shortcutsNoMerge:"$$symbol-shortcut-no-merge",noMerge:"$$symbol-no-merge",variants:"$$symbol-variants",parent:"$$symbol-parent",selector:"$$symbol-selector",layer:"$$symbol-layer",sort:"$$symbol-sort",body:"$$symbol-body"};var te=class e{constructor(e={},t={}){this.userConfig=e,this.defaults=t,this.version="66.6.0",this.events={events:{},emit(e,...t){(this.events[e]||[]).forEach(e=>e(...t))},on(e,t){return(this.events[e]=this.events[e]||[]).push(t),()=>this.events[e]=(this.events[e]||[]).filter(e=>e!==t)}},this.config=void 0,this.cache=new Map,this.blocked=new Set,this.parentOrders=new Map,this.activatedRules=new Set,this.resolveCSSResult=(e,t,n,r)=>{const o=(i=t,Array.isArray(i)?i.find(e=>!Array.isArray(e)||Array.isArray(e[0]))?i.map(e=>P(e)):[i]:[P(i)]).filter(e=>e.length);var i;if(o.length){this.config.details&&r.rules.push(n),r.generator.activatedRules.add(n);const t=n[2];return o.map(n=>{if(k(n))return[t.__index,n,t];let o=r.variantHandlers,i=t;for(const e of n)e[0]===ee.variants?o="function"==typeof e[1]?e[1](o)||o:[...g(e[1]),...o]:e[0]===ee.parent?o=[{parent:e[1]},...o]:e[0]===ee.selector?o=[{selector:e[1]},...o]:e[0]===ee.layer?o=[{layer:e[1]},...o]:e[0]===ee.sort?i={...i,sort:e[1]}:e[0]===ee.noMerge?i={...i,noMerge:e[1]}:e[0]===ee.body&&(e[0]=B);return[t.__index,e,n,i,o]})}}}static async create(t={},n={}){const r=new e(t,n);return r.config=await Z(r.userConfig,r.defaults),r.events.emit("config",r.config),r}async setConfig(e,t){e&&(t&&(this.defaults=t),this.userConfig=e,this.blocked.clear(),this.parentOrders.clear(),this.activatedRules.clear(),this.cache.clear(),this.config=await Z(e,this.defaults),this.events.emit("config",this.config))}async applyExtractors(e,t,n=new Set){const r={original:e,code:e,id:t,extracted:n,envMode:this.config.envMode};for(const o of this.config.extractors){const e=await(o.extract?.(r));if(e)if(v(e)&&v(n))for(const t of e)n.setCount(t,n.getCount(t)+e.getCount(t));else for(const t of e)n.add(t)}return n}makeContext(e,t){const n={rawSelector:e,currentSelector:t[1],theme:this.config.theme,generator:this,symbols:ee,variantHandlers:t[2],constructCSS:(...e)=>this.constructCustomCSS(n,...e),variantMatch:t};return n}async parseToken(e,t){if(this.blocked.has(e))return;const n=`${e}${t?` ${t}`:""}`;if(this.cache.has(n))return this.cache.get(n);const r=this.config.preprocess.reduce((e,t)=>t(e)??e,e);if(this.isBlocked(r))return this.blocked.add(e),void this.cache.set(n,null);const o=await this.matchVariants(e,r);if(o.every(e=>!e||this.isBlocked(e[1])))return this.blocked.add(e),void this.cache.set(n,null);const i=async n=>{const r=this.makeContext(e,[t||n[0],n[1],n[2],n[3]]);this.config.details&&(r.variants=[...n[3]]);const o=await this.expandShortcut(r.currentSelector,r);return o?await this.stringifyShortcuts(r.variantMatch,r,o[0],o[1]):(await this.parseUtil(r.variantMatch,r))?.flatMap(e=>this.stringifyUtil(e,r)).filter(_)},a=(await Promise.all(o.map(e=>i(e)))).flat().filter(e=>!!e);if(a?.length)return this.cache.set(n,a),a;this.cache.set(n,null)}async generate(e,t={}){const{id:n,scope:r,preflights:o=!0,safelist:i=!0,minify:a=!1,extendedInfo:s=!1}=t,l=k(e)?await this.applyExtractors(e,n,s?new w:new Set):Array.isArray(e)?new Set(e):e;if(i){const e={generator:this,theme:this.config.theme};this.config.safelist.flatMap(t=>"function"==typeof t?t(e):t).forEach(e=>{const t=e.trim();t&&!l.has(t)&&l.add(t)})}const p=a?"":"\n",d=new Set([c]),h=s?new Map:new Set,f=new Map;let m={};const g=Array.from(l).map(async e=>{if(h.has(e))return;const t=await this.parseToken(e);if(null!=t){h instanceof Map?h.set(e,{data:t,count:v(l)?l.getCount(e):-1}):h.add(e);for(const e of t){const t=e[3]||"",n=e[4]?.layer;f.has(t)||f.set(t,[]),f.get(t).push(e),n&&d.add(n)}}});await Promise.all(g),await(async()=>{if(!o)return;const e={generator:this,theme:this.config.theme},t=new Set([]);this.config.preflights.forEach(({layer:e=u})=>{d.add(e),t.add(e)}),m=Object.fromEntries(await Promise.all(Array.from(t).map(async t=>[t,(await Promise.all(this.config.preflights.filter(e=>(e.layer||u)===t).map(async t=>await t.getCSS(e)))).filter(Boolean).join(p)])))})();const y=e=>this.config.sortLayers(e.sort((e,t)=>(this.config.layers[e]??0)-(this.config.layers[t]??0)||e.localeCompare(t))),x=y(Array.from(d)),$={},S=this.config.outputToCssLayers,z=e=>{let t=e;return"object"==typeof S&&(t=S.cssLayerName?.(e)),null===t?null:t??e},C=(e=c)=>{if($[e])return $[e];let t,n=Array.from(f).sort((e,t)=>(this.parentOrders.get(e[0])??0)-(this.parentOrders.get(t[0])??0)||e[0]?.localeCompare(t[0]||"")||0).map(([t,n])=>{const o=n.length,i=n.filter(t=>(t[4]?.layer||c)===e).sort((e,t)=>e[0]-t[0]||(e[4]?.sort||0)-(t[4]?.sort||0)||e[5]?.currentSelector?.localeCompare(t[5]?.currentSelector??"")||e[1]?.localeCompare(t[1]||"")||e[2]?.localeCompare(t[2]||"")||0).map(([,e,t,,n,,o])=>[[[(e?re(e,r):e)??"",n?.sort??0]],t,!!(o??n?.noMerge)]);if(!i.length)return;const a=i.reverse().map(([e,t,n],r)=>{if(!n&&this.config.mergeSelectors)for(let s=r+1;s<o;s++){const n=i[s];if(n&&!n[2]&&(e&&n[0]||null==e&&null==n[0])&&n[1]===t)return e&&n[0]&&n[0].push(...e),null}const a=e?b(e.sort((e,t)=>e[1]-t[1]||e[0]?.localeCompare(t[0]||"")||0).map(e=>e[0]).filter(Boolean)):[];return a.length?`${a.join(`,${p}`)}{${t}}`:t}).filter(Boolean),s=Array.from(new Set(a)).reverse().join(p);if(!t)return s;const l=t.split(" $$ ");return`${l.join("{")}{${p}${s}${p}${"}".repeat(l.length)}`}).filter(Boolean).join(p);o&&(n=[m[e],n].filter(Boolean).join(p)),S&&n&&(t=z(e),null!==t&&(n=`@layer ${t}{${p}${n}${p}}`));const i=a?"":`/* layer: ${e}${t&&t!==e?`, alias: ${t}`:""} */${p}`;return $[e]=n?i+n:""},j=(e=x,t)=>{const n=e.filter(e=>!t?.includes(e)),r=n.map(C).filter(Boolean);if(S){let e=n;"object"==typeof S&&S.allLayers&&(e=y(Object.keys(this.config.layers))),e.length>0&&r.unshift(`@layer ${e.map(z).filter(_).join(", ")};`)}return r.join(p)};return{get css(){return j()},layers:x,matched:h,getLayers:j,getLayer:C,setLayer:async(e,t)=>{const n=await t(C(e));return $[e]=n,n}}}async matchVariants(e,t){const n={rawSelector:e,theme:this.config.theme,generator:this},r=async t=>{let o=!0;const[,,i,a]=t;for(;o;){o=!1;const s=t[1];for(const e of this.config.variants){if(!e.multiPass&&a.has(e))continue;let l=await e.match(s,n);if(l){if(k(l)){if(l===s)continue;l={matcher:l}}if(Array.isArray(l)){if(!l.length)continue;if(1!==l.length){if(e.multiPass)throw new Error("multiPass can not be used together with array return variants");const n=l.map(n=>{const r=n.matcher??s,o=[n,...i],l=new Set(a);return l.add(e),[t[0],r,o,l]});return(await Promise.all(n.map(e=>r(e)))).flat()}l=l[0]}t[1]=l.matcher??s,i.unshift(l),a.add(e),o=!0;break}}if(!o)break;if(i.length>500)throw new Error(`Too many variants applied to "${e}"`)}return[t]};return await r([e,t||e,[],new Set])}applyVariants(e,t=e[4],n=e[1]){const r=t.slice().sort((e,t)=>(e.order||0)-(t.order||0)).reduceRight((e,t)=>n=>{const r=t.body?.(n.entries)||n.entries,o=Array.isArray(t.parent)?t.parent:[t.parent,void 0],i=t.selector?.(n.selector,r);return(t.handle??ae)({...n,entries:r,selector:i||n.selector,parent:o[0]||n.parent,parentOrder:o[1]||n.parentOrder,layer:t.layer||n.layer,sort:t.sort||n.sort},e)},e=>e)({prefix:"",selector:ie(n),pseudo:"",entries:e[2]}),{parent:o,parentOrder:i}=r;null!=o&&null!=i&&this.parentOrders.set(o,i);const a={selector:[r.prefix,r.selector,r.pseudo].join(""),entries:r.entries,parent:o,layer:r.layer,sort:r.sort,noMerge:r.noMerge};return this.config.postprocess.reduce((e,t)=>{const n=[];for(const r of e){const e=t(r);Array.isArray(e)?n.push(...e.filter(_)):n.push(e||r)}return n},[a])}constructCustomCSS(e,t,n){const r=P(t);return k(r)?r:this.applyVariants([0,n||e.rawSelector,r,void 0,e.variantHandlers]).map(({selector:e,entries:t,parent:n})=>{const r=`${e}{${R(t)}}`;return n?`${n}{${r}}`:r}).join("")}async parseUtil(e,t,n=!1,r){const o=k(e)?await this.matchVariants(e):[e],i=async([e,o,i])=>{this.config.details&&(t.rules=t.rules??[]);const a={...t,variantHandlers:i},s=this.config.rulesStaticMap[o];if(s&&s[1]&&(n||!s[2]?.internal))return this.resolveCSSResult(e,s[1],s,a);for(const t of this.config.rulesDynamic){const[i,s,l]=t;if(l?.internal&&!n)continue;let c=o;if(l?.prefix){const e=g(l.prefix);if(r){const t=g(r);if(!e.some(e=>t.includes(e)))continue}else{const t=e.find(e=>o.startsWith(e));if(null==t)continue;c=o.slice(t.length)}}const u=c.match(i);if(!u)continue;let p=await s(u,a);if(!p)continue;if("string"!=typeof p)if(Symbol.asyncIterator in p){const e=[];for await(const t of p)t&&e.push(t);p=e}else Symbol.iterator in p&&!Array.isArray(p)&&(p=Array.from(p).filter(_));const d=this.resolveCSSResult(e,p,t,a);if(d)return d}},a=(await Promise.all(o.map(e=>i(e)))).flat().filter(e=>!!e);if(a.length)return a}stringifyUtil(e,t){if(!e)return;if(O(e))return[[e[0],void 0,e[1],void 0,e[2],this.config.details?t:void 0,void 0]];const n=this.applyVariants(e),r=[];for(const o of n){const{selector:n,entries:i,parent:a,layer:s,sort:l,noMerge:c}=o,u=R(i);if(!u)continue;const{layer:p,sort:d,...h}=e[3]??{},f={...h,layer:s??p,sort:l??d};r.push([e[0],n,u,a,f,this.config.details?t:void 0,c])}return r}async expandShortcut(e,t,n=5){if(0===n)return;const r=this.config.details?e=>{t.shortcuts=t.shortcuts??[],t.shortcuts.push(e)}:L;let o,i,a,s;for(const l of this.config.shortcuts){let n=e;if(l[2]?.prefix){const t=g(l[2].prefix).find(t=>e.startsWith(t));if(null==t)continue;n=e.slice(t.length)}if(D(l)){if(l[0]===n){o=o||l[2],i=l[1],r(l);break}}else{const e=n.match(l[0]);if(e&&(i=l[1](e,t)),i){o=o||l[2],r(l);break}}}if(i&&(a=b(g(i).filter(k).map(e=>V(e.trim()).split(/\s+/g)).flat()),s=g(i).filter(e=>!k(e)).map(e=>({handles:[],value:e}))),!i){const r=k(e)?await this.matchVariants(e):[e];for(const e of r){const[r,o,i]=e;if(r!==o){const e=await this.expandShortcut(o,t,n-1);e&&(a=e[0].filter(k).map(e=>r.replace(o,e)),s=e[0].filter(e=>!k(e)).map(e=>({handles:[...e.handles,...i],value:e.value})))}}}return a?.length||s?.length?[[await Promise.all(g(a).map(async e=>(await this.expandShortcut(e,t,n-1))?.[0]||[e])),s].flat(2).filter(e=>!!e),o]:void 0}async stringifyShortcuts(e,t,n,r={layer:this.config.shortcutsLayer}){const o=new M,i=(await Promise.all(b(n).map(async n=>{const o=k(n)?await this.parseUtil(n,t,!0,r.prefix):[[Number.POSITIVE_INFINITY,"{inline}",P(n.value),void 0,n.handles]];return!o&&this.config.warn&&X(`unmatched utility "${n}" in shortcut "${e[1]}"`),o||[]}))).flat(1).filter(Boolean).sort((e,t)=>e[0]-t[0]),[a,,s]=e,l=[];for(const c of i){if(O(c)){l.push([c[0],void 0,c[1],void 0,c[2],t,void 0]);continue}const e=Object.fromEntries(c[2])[ee.shortcutsNoMerge],n=[...c[4],...e?[]:s];for(const{selector:t,entries:i,parent:s,sort:l,noMerge:u,layer:p}of this.applyVariants(c,n,a))o.getFallback(p??r.layer,new T).getFallback(t,s,[[],c[0]])[0].push([i,!!(u??c[3]?.noMerge),l??0])}return l.concat(o.flatMap((e,n)=>e.map(([e,o],i,a)=>{const s=(e,s,l)=>{const c=Math.max(...l.map(e=>e[1])),u=l.map(e=>e[0]);return(e?[u.flat(1)]:u).map(e=>{const l=R(e);if(l)return[o,i,l,a,{...r,noMerge:s,sort:c,layer:n},t,void 0]})};return[[e.filter(([,e])=>e).map(([e,,t])=>[e,t]),!0],[e.filter(([,e])=>!e).map(([e,,t])=>[e,t]),!1]].map(([e,t])=>[...s(!1,t,e.filter(([e])=>e.some(e=>e[0]===ee.shortcutsNoMerge))),...s(!0,t,e.filter(([e])=>e.every(e=>e[0]!==ee.shortcutsNoMerge)))])}).flat(2).filter(Boolean)))}isBlocked(e){return!e||this.config.blocklist.map(e=>Array.isArray(e)?e[0]:e).some(t=>"function"==typeof t?t(e):k(t)?t===e:t.test(e))}getBlocked(e){const t=this.config.blocklist.find(t=>{const n=Array.isArray(t)?t[0]:t;return"function"==typeof n?n(e):k(n)?n===e:n.test(e)});return t?Array.isArray(t)?t:[t,void 0]:void 0}};const ne=/\s\$\$\s+/g;function re(e,t){return function(e){return ne.test(e)}(e)?e.replace(ne,t?` ${t} `:" "):t?`${t} ${e}`:e}const oe=/^\[(.+?)(~?=)"(.*)"\]$/;function ie(e){return oe.test(e)?e.replace(oe,(e,t,n,r)=>`[${S(t)}${n}"${S(r)}"]`):`.${S(e)}`}function ae(e,t){return t(e)}const se=/^(?!.*\[[^:]+:.+\]$)((?:.+:)?!?)(.*)$/;function le(e={}){const t=e.prefix??"un-",n=e.prefixedOnly??!1,r=e.trueToNonValued??!1;let o;return{name:"attributify",match(e,{generator:i}){const a=e.match(z);if(!a)return;let s=a[1];if(s.startsWith(t))s=s.slice(t.length);else if(n)return;const l=a[2],[,c="",u=l]=l.match(se)||[];if("~"===u||r&&"true"===u||!u)return`${c}${s}`;if(null==o){const e=i?.config?.separators?.join("|");o=!!e&&new RegExp(`^(.*\\](?:${e}))(\\[[^\\]]+?\\])$`)}if(o){const[,e,t]=l.match(o)||[];if(t)return`${e}${c}${s}-${t}`}if(c&&u.match(/^[\d.]+$/)){const e=c.split(/([^:]*:)/g).filter(Boolean),t=e.pop()+u;return[{matcher:`${c}${s}-${u}`},{matcher:`${e.join("")}${s}-${t}`}]}return`${c}${s}-${u}`}}}const ce=/(<\w[\w:.$-]*\s)((?:'[^>']*'|"[^>"]*"|`[^>`]*`|\{[^>}]*\}|[^>]*?)*)/g,ue=/(\?|(?!\d|-{2}|-\d)[\w\u00A0-\uFFFF-:%]+)(?:=("[^"]*|'[^']*))?/g,pe=/[\s'"`;>]+/;function de(e){return{name:"attributify",extract:({content:t,cursor:n})=>{const r=t.matchAll(ce);let o,i=0;for(const e of r){const[,t,r]=e,a=e.index+t.length;if(n>a&&n<=a+r.length){i=a,o=r;break}}if(!o)return null;const a=o.matchAll(ue);let s,l,c=0;for(const e of a){const[t,r,o]=e,a=i+e.index;if(n>a&&n<=a+t.length){c=a,s=r,l=o?.slice(1);break}}if(!s)return null;if("class"===s||"className"===s||":class"===s)return null;const u=!!e?.prefix&&s.startsWith(e.prefix);if(e?.prefixedOnly&&!u)return null;const p=u?s.slice(e.prefix.length):s;if(void 0===l)return{extracted:p,resolveReplacement(t){const n=u?e.prefix.length:0;return{start:c+n,end:c+s.length,replacement:t}}};const d=c+s.length+2;let h,f=pe.exec(l),m=0;for(;f;){const[e]=f;if(n>d+m&&n<=d+m+f.index){h=l.slice(m,m+f.index);break}m+=f.index+e.length,f=pe.exec(l.slice(m))}void 0===h&&(h=l.slice(m));const[,g="",b]=h.match(se)||[];return{extracted:`${g}${p}-${b}`,transformSuggestions:e=>e.filter(e=>e.startsWith(`${g}${p}-`)).map(e=>g+e.slice(g.length+p.length+1)),resolveReplacement:e=>({start:m+d,end:m+d+h.length,replacement:g+e.slice(g.length+p.length+1)})}}}}const he=["v-bind:",":"],fe=/[\s'"`;]+/g,me=/<[^>\s]*\s((?:'[^']*'|"[^"]*"|`[^`]*`|\{[^}]*\}|=>|[^>]*?)*)/g,ge=/(\?|(?!\d|-{2}|-\d)[\w\u00A0-\uFFFF:!%.~<-]+)=?(?:"([^"]*)"|'([^']*)'|\{([^}]*)\})?/g,be=["placeholder","fill","opacity","stroke-opacity"];function ye(e){const t=e?.ignoreAttributes??be,n=e?.nonValuedAttribute??!0,r=e?.trueToNonValued??!1;return{name:"@unocss/preset-attributify/extractor",extract({code:o}){return Array.from(o.matchAll(me)).flatMap(e=>Array.from((e[1]||"").matchAll(ge))).flatMap(([,o,...i])=>{const a=i.filter(Boolean).join("");if(t.includes(o))return[];for(const e of he)if(o.startsWith(e)){o=o.slice(e.length);break}if(!a){if(A(o)&&!1!==n){const e=[`[${o}=""]`];return r&&e.push(`[${o}="true"]`),e}return[]}return["class","className"].includes(o)?a.split(fe).filter(A):me.test(a)?(me.lastIndex=0,this.extract({code:a})):e?.prefixedOnly&&e.prefix&&!o.startsWith(e.prefix)?[]:a.split(fe).filter(e=>Boolean(e)&&":"!==e).map(e=>`[${o}~="${e}"]`)})}}}const ke=(e={})=>(e.strict=e.strict??!1,e.prefix=e.prefix??"un-",e.prefixedOnly=e.prefixedOnly??!1,e.nonValuedAttribute=e.nonValuedAttribute??!0,e.ignoreAttributes=e.ignoreAttributes??be,{name:"@unocss/preset-attributify",enforce:"post",variants:[le(e)],extractors:[ye(e)],options:e,autocomplete:{extractors:[de(e)]},extractorDefault:!e.strict&&void 0});const we=/(-?[0-9.]*[0-9]+[0-9.]*)/g,ve=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function xe(e,t,n){if(1===t)return e;if(n=n||100,"number"==typeof e)return Math.ceil(e*t*n)/n;if("string"!=typeof e)return e;const r=e.split(we);if(null===r||!r.length)return e;const o=[];let i=r.shift(),a=ve.test(i);for(;;){if(a){const e=parseFloat(i);isNaN(e)?o.push(i):o.push(Math.ceil(e*t*n)/n)}else o.push(i);if(i=r.shift(),void 0===i)return o.join("");a=!a}}const $e=Object.freeze({left:0,top:0,width:16,height:16}),Se=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),ze=Object.freeze({...$e,...Se}),Ce=Object.freeze({...ze,body:"",hidden:!1}),je=Object.freeze({width:null,height:null}),Ae=Object.freeze({...je,...Se});const Ee=e=>"unset"===e||"undefined"===e||"none"===e;function Oe(e,t){const n={...ze,...e},r={...Ae,...t},o={left:n.left,top:n.top,width:n.width,height:n.height};let i=n.body;[n,r].forEach(e=>{const t=[],n=e.hFlip,r=e.vFlip;let a,s=e.rotate;switch(n?r?s+=2:(t.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),t.push("scale(-1 1)"),o.top=o.left=0):r&&(t.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),t.push("scale(1 -1)"),o.top=o.left=0),s<0&&(s-=4*Math.floor(s/4)),s%=4,s){case 1:a=o.height/2+o.top,t.unshift("rotate(90 "+a.toString()+" "+a.toString()+")");break;case 2:t.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:a=o.width/2+o.left,t.unshift("rotate(-90 "+a.toString()+" "+a.toString()+")")}s%2==1&&(o.left!==o.top&&(a=o.left,o.left=o.top,o.top=a),o.width!==o.height&&(a=o.width,o.width=o.height,o.height=a)),t.length&&(i=function(e,t,n){const r=function(e,t="defs"){let n="";const r=e.indexOf("<"+t);for(;r>=0;){const o=e.indexOf(">",r),i=e.indexOf("</"+t);if(-1===o||-1===i)break;const a=e.indexOf(">",i);if(-1===a)break;n+=e.slice(o+1,i).trim(),e=e.slice(0,r).trim()+e.slice(a+1)}return{defs:n,content:e}}(e);return o=r.defs,i=t+r.content+n,o?"<defs>"+o+"</defs>"+i:i;var o,i}(i,'<g transform="'+t.join(" ")+'">',"</g>"))});const a=r.width,s=r.height,l=o.width,c=o.height;let u,p;null===a?(p=null===s?"1em":"auto"===s?c:s,u=xe(p,l/c)):(u="auto"===a?l:a,p=null===s?xe(u,c/l):"auto"===s?c:s);const d={},h=(e,t)=>{Ee(t)||(d[e]=t.toString())};h("width",u),h("height",p);const f=[o.left,o.top,l,c];return d.viewBox=f.join(" "),{attributes:d,viewBox:f,body:i}}const _e=/\swidth\s*=\s*["']([\w.]+)["']/,Le=/\sheight\s*=\s*["']([\w.]+)["']/,Te=/<svg\s+/;async function Me(e,t,n,r,o,i){const{scale:a,addXmlNs:s=!1}=r??{},{additionalProps:l={},iconCustomizer:c}=r?.customizations??{},u=await(o?.())??{};await(c?.(t,n,u)),Object.keys(l).forEach(e=>{const t=l[e];null!=t&&(u[e]=t)}),i?.(u);const[p,d]=function(e,t,n){const r=e.slice(0,e.indexOf(">")),o=(e,o)=>{const i=o.exec(r),a=null!=i,s=t[e];return s||Ee(s)||("number"==typeof n?n>0&&(t[e]=xe(i?.[1]??"1em",n)):i&&(t[e]=i[1])),a};return[o("width",_e),o("height",Le)]}(e,u,a);s&&(e.includes("xmlns=")||u.xmlns||(u.xmlns="http://www.w3.org/2000/svg"),e.includes("xmlns:xlink=")||!e.includes("xlink:")||u["xmlns:xlink"]||(u["xmlns:xlink"]="http://www.w3.org/1999/xlink"));const h=Object.keys(u).map(e=>"width"===e&&p||"height"===e&&d?null:`${e}="${u[e]}"`).filter(e=>null!=e);if(h.length&&(e=e.replace(Te,`<svg ${h.join(" ")} `)),r){const{defaultStyle:t,defaultClass:n}=r;n&&!e.includes("class=")&&(e=e.replace(Te,`<svg class="${n}" `)),t&&!e.includes("style=")&&(e=e.replace(Te,`<svg style="${t}" `))}const f=r?.usedProps;return f&&(Object.keys(l).forEach(e=>{const t=u[e];null!=t&&(f[e]=t)}),void 0!==u.width&&null!==u.width&&(f.width=u.width),void 0!==u.height&&null!==u.height&&(f.height=u.height)),e}async function Pe(e,t,n,r){let o;try{if("function"==typeof e)o=await e(n);else{const t=e[n];o="function"==typeof t?await t():t}}catch(a){return void console.warn(`Failed to load custom icon "${n}" in "${t}":`,a)}if(o){const e=o.indexOf("<svg");e>0&&(o=o.slice(e));const{transform:a}=r?.customizations??{};return o="function"==typeof a?await a(o,t,n):o,o.startsWith("<svg")?await Me(!0===r?.customizations?.trimCustomSvg?(i=o,i.replace(/(['"])\s*\n\s*([^>\\/\s])/g,"$1 $2").replace(/(["';{}><])\s*\n\s*/g,"$1").replace(/\s*\n\s*/g," ").replace(/\s+"/g,'"').replace(/="\s+/g,'="').replace(/(\s)+\/>/g,"/>").trim()):o,t,n,r,void 0):(console.warn(`Custom icon "${n}" in "${t}" is not a valid SVG`),o)}var i}function Be(e,t){const n=function(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}(e,t);for(const r in Ce)r in Se?r in e&&!(r in n)&&(n[r]=Se[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function Re(e,t,n){const r=e.icons,o=e.aliases||Object.create(null);let i={};function a(e){i=Be(r[e]||o[e],i)}return a(t),n.forEach(a),Be(e,i)}function Fe(e,t){if(e.icons[t])return Re(e,t,[]);const n=function(e,t){const n=e.icons,r=e.aliases||Object.create(null),o=Object.create(null);return(t||Object.keys(n).concat(Object.keys(r))).forEach(function e(t){if(n[t])return o[t]=[];if(!(t in o)){o[t]=null;const n=r[t]&&r[t].parent,i=n&&e(n);i&&(o[t]=[n].concat(i))}return o[t]}),o}(e,[t])[t];return n?Re(e,t,n):null}async function Ie(e,t,n,r){let o;const{customize:i}=r?.customizations??{};for(const a of n)if(o=Fe(e,a),o){let e={...Ae};"function"==typeof i&&(o=Object.assign({},o),e=i(e,o,`${t}:${a}`)??e);const{attributes:{width:n,height:s,...l},body:c}=Oe(o,e),u=r?.scale;return await Me(`<svg >${c}</svg>`,t,a,r,()=>({...l}),e=>{const t=(t,n)=>{const r=e[t];let o;if(!Ee(r)){if(r)return;"number"==typeof u?u&&(o=xe(n??"1em",u)):o=n}o?e[t]=o:delete e[t]};t("width",n),t("height",s)})}}const Ne=async(e,t,n)=>{const r=n?.customCollections?.[e];if(r){if("function"!=typeof r)return await Pe(r,e,t,n);{let i;try{i=await r(t)}catch(o){return void console.warn(`Failed to load custom icon "${t}" in "${e}":`,o)}if(i){if("string"==typeof i)return await Pe(()=>i,e,t,n);if("icons"in i){const r=[t,t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t.replace(/([a-z])(\d+)/g,"$1-$2")];return await Ie(i,e,r,n)}}}}};function Ue(e){let t=e.startsWith("<svg>")?e.replace("<svg>","<svg >"):e;return!t.includes(" xmlns:xlink=")&&t.includes(" xlink:")&&(t=t.replace("<svg ",'<svg xmlns:xlink="http://www.w3.org/1999/xlink" ')),t.includes(" xmlns=")||(t=t.replace("<svg ",'<svg xmlns="http://www.w3.org/2000/svg" ')),function(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}(t)}var De={};var We=["academicons","akar-icons","ant-design","arcticons","basil","bi","bitcoin-icons","bpmn","brandico","bubbles","bx","bxl","bxs","bytesize","carbon","catppuccin","cbi","charm","ci","cib","cif","cil","circle-flags","circum","clarity","codex","codicon","covid","cryptocurrency-color","cryptocurrency","cuida","dashicons","devicon-line","devicon-original","devicon-plain","devicon","dinkie-icons","duo-icons","ei","el","emblemicons","emojione-monotone","emojione-v1","emojione","entypo-social","entypo","eos-icons","ep","et","eva","f7","fa-brands","fa-regular","fa-solid","fa","fa6-brands","fa6-regular","fa6-solid","fa7-brands","fa7-regular","fa7-solid","fad","famicons","fe","feather","file-icons","flag","flagpack","flat-color-icons","flat-ui","flowbite","fluent-color","fluent-emoji-flat","fluent-emoji-high-contrast","fluent-emoji","fluent-mdl2","fluent","fontelico","fontisto","formkit","foundation","fxemoji","gala","game-icons","garden","geo","gg","gis","gravity-ui","gridicons","grommet-icons","guidance","healthicons","heroicons-outline","heroicons-solid","heroicons","hugeicons","humbleicons","ic","icomoon-free","icon-park-outline","icon-park-solid","icon-park-twotone","icon-park","iconamoon","iconoir","icons8","il","ion","iwwa","ix","jam","la","lets-icons","line-md","lineicons","logos","ls","lsicon","lucide-lab","lucide","mage","majesticons","maki","map","marketeq","material-icon-theme","material-symbols-light","material-symbols","mdi-light","mdi","medical-icon","memory","meteocons","meteor-icons","mi","mingcute","mono-icons","mynaui","nimbus","nonicons","noto-v1","noto","nrk","octicon","oi","ooui","openmoji","oui","pajamas","pepicons-pencil","pepicons-pop","pepicons-print","pepicons","ph","picon","pixel","pixelarticons","prime","proicons","ps","qlementine-icons","quill","radix-icons","raphael","ri","rivet-icons","roentgen","si-glyph","si","sidekickicons","simple-icons","simple-line-icons","skill-icons","solar","stash","streamline-block","streamline-color","streamline-cyber-color","streamline-cyber","streamline-emojis","streamline-flex-color","streamline-flex","streamline-freehand-color","streamline-freehand","streamline-guidance","streamline-kameleon-color","streamline-logos","streamline-pixel","streamline-plump-color","streamline-plump","streamline-sharp-color","streamline-sharp","streamline-stickies-color","streamline-ultimate-color","streamline-ultimate","streamline","subway","svg-spinners","system-uicons","tabler","tdesign","teenyicons","temaki","token-branded","token","topcoat","twemoji","typcn","uil","uim","uis","uit","uiw","unjs","vaadin","vs","vscode-icons","websymbol","weui","whh","wi","wpf","zmdi","zondicons"];function qe(e,t,n=new Map){return async(r,o,i)=>{let a=await Ne(r,o,i);if(a)return a;const s=await function(r){if(We.includes(r))return n.has(r)||n.set(r,e(`${t}@iconify-json/${r}/icons.json`)),n.get(r)}(r);return s&&(a=await Ie(s,r,[o,o.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),o.replace(/([a-z])(\d+)/g,"$1-$2")],i)),a}}async function Ve(e,t,n={},r=[]){let o,i="",a="";const s=new Set([...We,...r,...Object.keys(n.customCollections||{})]);if(e.includes(":")){if([i,a]=e.split(":"),!s.has(i))return;o=await t(i,a,n)}else{const r=e.split(/-/g);for(let e=3;e>=1&&(i=r.slice(0,e).join("-"),!s.has(i)||(a=r.slice(e).join("-"),o=await t(i,a,n),!o));e--);}if(o)return{collection:i,name:a,svg:o}}const He={},Xe=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=function(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:"fulfilled",value:e}),e=>({status:"rejected",reason:e}))))};const o=document.getElementsByTagName("link"),i=document.querySelector("meta[property=csp-nonce]"),a=i?.nonce||i?.getAttribute("nonce");r=e(t.map(e=>{if(e=function(e,t){return new URL(e,t).href}(e,n),e in He)return;He[e]=!0;const t=e.endsWith(".css"),r=t?'[rel="stylesheet"]':"";if(n)for(let n=o.length-1;n>=0;n--){const r=o[n];if(r.href===e&&(!t||"stylesheet"===r.rel))return}else if(document.querySelector(`link[href="${e}"]${r}`))return;const i=document.createElement("link");return i.rel=t?"stylesheet":"modulepreload",t||(i.as="script"),i.crossOrigin="",i.href=e,a&&i.setAttribute("nonce",a),document.head.appendChild(i),t?new Promise((t,n)=>{i.addEventListener("load",t),i.addEventListener("error",()=>n(new Error(`Unable to preload CSS for ${e}`)))}):void 0}))}function o(e){const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(const e of t||[])"rejected"===e.status&&o(e.reason);return e().catch(o)})};const Ye=(Ge=async e=>{const t=e?.customFetch,n=e?.cdn;return t&&n?qe(t,n):n?await async function(e){const{$fetch:t}=await Xe(async()=>{const{$fetch:e}=await import("./ofetch-xbea4qKc.js");return{$fetch:e}},[],import.meta.url);return qe(t,e)}(n):Ne},(e={})=>{const{scale:t=1,mode:n="auto",prefix:r="i-",warn:o=!1,iconifyCollectionsNames:i,collections:a,extraProperties:s={},customizations:l={},autoInstall:c=!1,collectionsNodeResolvePath:u,layer:p="icons",unit:d,processor:h}=e,f=function(){const e="undefined"!=typeof process&&process.stdout;return{isNode:e,isVSCode:e&&!!De.VSCODE_CWD,isESLint:e&&!!De.ESLINT}}(),m={addXmlNs:!0,scale:t,customCollections:a,autoInstall:c,cwd:u,warn:void 0,customizations:{...l,additionalProps:{...s},trimCustomSvg:!0,async iconCustomizer(e,n,r){await(l.iconCustomizer?.(e,n,r)),d&&(r.width||(r.width=`${t}${d}`),r.height||(r.height=`${t}${d}`))}}};let g;return{name:"@unocss/preset-icons",enforce:"pre",options:e,layers:{icons:-30},api:{encodeSvgForCss:Ue,parseIconWithLoader:Ve},rules:[[/^([\w:-]+)(?:\?(mask|bg|auto))?$/,async t=>{let[r,a,s=n]=t;g=g||await Ge(e);const l={},c=await Ve(a,g,{...m,usedProps:l},i);if(!c)return void(o&&!f.isESLint&&X(`failed to load icon "${r}"`));let u;const p=`url("data:image/svg+xml;utf8,${Ue(c.svg)}")`;return"auto"===s&&(s=c.svg.includes("currentColor")?"mask":"bg"),u="mask"===s?{"--un-icon":p,"-webkit-mask":"var(--un-icon) no-repeat",mask:"var(--un-icon) no-repeat","-webkit-mask-size":"100% 100%","mask-size":"100% 100%","background-color":"currentColor",color:"inherit",...l}:{background:`${p} no-repeat`,"background-size":"100% 100%","background-color":"transparent",...l},h?.(u,{...c,icon:c.name,mode:s}),u},{layer:p,prefix:r}]]}});var Ge;const Ke="__TAGIFY__",Ze=/<([\w:-]+)/g;function Qe(e){const{prefix:t="",excludedTags:n=["b",/^h\d+$/,"table"]}=e;return{name:"tagify",extract:({code:e})=>Array.from(e.matchAll(Ze)).filter(({1:e})=>{for(const t of n)if("string"==typeof t){if(e===t)return!1}else if(t.lastIndex=0,t.test(e))return!1;return e.startsWith(t)}).map(([,e])=>`${Ke}${e}`)}}function Je(e){const{extraProperties:t}=e,n=`${Ke}${e.prefix??""}`;return{name:"tagify",match(e){if(!e.startsWith(n))return;const r=e.slice(n.length),o={matcher:r,selector:e=>e.slice(11)};return t&&(o.body="function"==typeof t?e=>[...e,...Object.entries(t(r)??{})]:e=>[...e,...Object.entries(t)]),o}}}const et=(e={})=>{const{defaultExtractor:t=!0}=e;return{name:"@unocss/preset-tagify",variants:[Je(e)],extractors:[Qe(e)],extractorDefault:!!t&&void 0}};var tt=",".charCodeAt(0),nt=";".charCodeAt(0),rt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ot=new Uint8Array(64),it=new Uint8Array(128);for(let mm=0;mm<64;mm++){const e=rt.charCodeAt(mm);ot[mm]=e,it[e]=mm}function at(e,t,n){let r=t-n;r=r<0?-r<<1|1:r<<1;do{let t=31&r;r>>>=5,r>0&&(t|=32),e.write(ot[t])}while(r>0);return t}var st="undefined"!=typeof TextDecoder?new TextDecoder:void 0!==l.Buffer?{decode:e=>l.Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString()}:{decode(e){let t="";for(let n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return t}},lt=class{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(16384)}write(e){const{buffer:t}=this;t[this.pos++]=e,16384===this.pos&&(this.out+=st.decode(t),this.pos=0)}flush(){const{buffer:e,out:t,pos:n}=this;return n>0?t+st.decode(e.subarray(0,n)):t}};function ct(e){const t=new lt;let n=0,r=0,o=0,i=0;for(let a=0;a<e.length;a++){const s=e[a];if(a>0&&t.write(nt),0===s.length)continue;let l=0;for(let e=0;e<s.length;e++){const a=s[e];e>0&&t.write(tt),l=at(t,a[0],l),1!==a.length&&(n=at(t,a[1],n),r=at(t,a[2],r),o=at(t,a[3],o),4!==a.length&&(i=at(t,a[4],i)))}}return t.flush()}class ut{constructor(e){this.bits=e instanceof ut?e.bits.slice():[]}add(e){this.bits[e>>5]|=1<<(31&e)}has(e){return!!(this.bits[e>>5]&1<<(31&e))}}class pt{constructor(e,t,n){this.start=e,this.end=t,this.original=n,this.intro="",this.outro="",this.content=n,this.storeName=!1,this.edited=!1,this.previous=null,this.next=null}appendLeft(e){this.outro+=e}appendRight(e){this.intro=this.intro+e}clone(){const e=new pt(this.start,this.end,this.original);return e.intro=this.intro,e.outro=this.outro,e.content=this.content,e.storeName=this.storeName,e.edited=this.edited,e}contains(e){return this.start<e&&e<this.end}eachNext(e){let t=this;for(;t;)e(t),t=t.next}eachPrevious(e){let t=this;for(;t;)e(t),t=t.previous}edit(e,t,n){return this.content=e,n||(this.intro="",this.outro=""),this.storeName=t,this.edited=!0,this}prependLeft(e){this.outro=e+this.outro}prependRight(e){this.intro=e+this.intro}reset(){this.intro="",this.outro="",this.edited&&(this.content=this.original,this.storeName=!1,this.edited=!1)}split(e){const t=e-this.start,n=this.original.slice(0,t),r=this.original.slice(t);this.original=n;const o=new pt(e,this.end,r);return o.outro=this.outro,this.outro="",this.end=e,this.edited?(o.edit("",!1),this.content=""):this.content=n,o.next=this.next,o.next&&(o.next.previous=o),o.previous=this,this.next=o,o}toString(){return this.intro+this.content+this.outro}trimEnd(e){if(this.outro=this.outro.replace(e,""),this.outro.length)return!0;const t=this.content.replace(e,"");return t.length?(t!==this.content&&(this.split(this.start+t.length).edit("",void 0,!0),this.edited&&this.edit(t,this.storeName,!0)),!0):(this.edit("",void 0,!0),this.intro=this.intro.replace(e,""),!!this.intro.length||void 0)}trimStart(e){if(this.intro=this.intro.replace(e,""),this.intro.length)return!0;const t=this.content.replace(e,"");if(t.length){if(t!==this.content){const e=this.split(this.end-t.length);this.edited&&e.edit(t,this.storeName,!0),this.edit("",void 0,!0)}return!0}return this.edit("",void 0,!0),this.outro=this.outro.replace(e,""),!!this.outro.length||void 0}}function dt(){return"undefined"!=typeof globalThis&&"function"==typeof globalThis.btoa?e=>globalThis.btoa(unescape(encodeURIComponent(e))):"function"==typeof l.Buffer?e=>l.Buffer.from(e,"utf-8").toString("base64"):()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}const ht=dt();class ft{constructor(e){this.version=3,this.file=e.file,this.sources=e.sources,this.sourcesContent=e.sourcesContent,this.names=e.names,this.mappings=ct(e.mappings),void 0!==e.x_google_ignoreList&&(this.x_google_ignoreList=e.x_google_ignoreList),void 0!==e.debugId&&(this.debugId=e.debugId)}toString(){return JSON.stringify(this)}toUrl(){return"data:application/json;charset=utf-8;base64,"+ht(this.toString())}}function mt(e,t){const n=e.split(/[/\\]/),r=t.split(/[/\\]/);for(n.pop();n[0]===r[0];)n.shift(),r.shift();if(n.length){let e=n.length;for(;e--;)n[e]=".."}return n.concat(r).join("/")}const gt=Object.prototype.toString;function bt(e){const t=e.split("\n"),n=[];for(let r=0,o=0;r<t.length;r++)n.push(o),o+=t[r].length+1;return function(e){let t=0,r=n.length;for(;t<r;){const o=t+r>>1;e<n[o]?r=o:t=o+1}const o=t-1;return{line:o,column:e-n[o]}}}const yt=/\w/;class kt{constructor(e){this.hires=e,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null}addEdit(e,t,n,r){if(t.length){const o=t.length-1;let i=t.indexOf("\n",0),a=-1;for(;i>=0&&o>i;){const o=[this.generatedCodeColumn,e,n.line,n.column];r>=0&&o.push(r),this.rawSegments.push(o),this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,a=i,i=t.indexOf("\n",i+1)}const s=[this.generatedCodeColumn,e,n.line,n.column];r>=0&&s.push(r),this.rawSegments.push(s),this.advance(t.slice(a+1))}else this.pending&&(this.rawSegments.push(this.pending),this.advance(t));this.pending=null}addUneditedChunk(e,t,n,r,o){let i=t.start,a=!0,s=!1;for(;i<t.end;){if("\n"===n[i])r.line+=1,r.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,a=!0,s=!1;else{if(this.hires||a||o.has(i)){const t=[this.generatedCodeColumn,e,r.line,r.column];"boundary"===this.hires?yt.test(n[i])?s||(this.rawSegments.push(t),s=!0):(this.rawSegments.push(t),s=!1):this.rawSegments.push(t)}r.column+=1,this.generatedCodeColumn+=1,a=!1}i+=1}this.pending=null}advance(e){if(!e)return;const t=e.split("\n");if(t.length>1){for(let e=0;e<t.length-1;e++)this.generatedCodeLine++,this.raw[this.generatedCodeLine]=this.rawSegments=[];this.generatedCodeColumn=0}this.generatedCodeColumn+=t[t.length-1].length}}const wt="\n",vt={insertLeft:!1,insertRight:!1,storeName:!1};class xt{constructor(e,t={}){const n=new pt(0,e.length,e);Object.defineProperties(this,{original:{writable:!0,value:e},outro:{writable:!0,value:""},intro:{writable:!0,value:""},firstChunk:{writable:!0,value:n},lastChunk:{writable:!0,value:n},lastSearchedChunk:{writable:!0,value:n},byStart:{writable:!0,value:{}},byEnd:{writable:!0,value:{}},filename:{writable:!0,value:t.filename},indentExclusionRanges:{writable:!0,value:t.indentExclusionRanges},sourcemapLocations:{writable:!0,value:new ut},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:void 0},ignoreList:{writable:!0,value:t.ignoreList},offset:{writable:!0,value:t.offset||0}}),this.byStart[0]=n,this.byEnd[e.length]=n}addSourcemapLocation(e){this.sourcemapLocations.add(e)}append(e){if("string"!=typeof e)throw new TypeError("outro content must be a string");return this.outro+=e,this}appendLeft(e,t){if(e+=this.offset,"string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);const n=this.byEnd[e];return n?n.appendLeft(t):this.intro+=t,this}appendRight(e,t){if(e+=this.offset,"string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);const n=this.byStart[e];return n?n.appendRight(t):this.outro+=t,this}clone(){const e=new xt(this.original,{filename:this.filename,offset:this.offset});let t=this.firstChunk,n=e.firstChunk=e.lastSearchedChunk=t.clone();for(;t;){e.byStart[n.start]=n,e.byEnd[n.end]=n;const r=t.next,o=r&&r.clone();o&&(n.next=o,o.previous=n,n=o),t=r}return e.lastChunk=n,this.indentExclusionRanges&&(e.indentExclusionRanges=this.indentExclusionRanges.slice()),e.sourcemapLocations=new ut(this.sourcemapLocations),e.intro=this.intro,e.outro=this.outro,e}generateDecodedMap(e){e=e||{};const t=Object.keys(this.storedNames),n=new kt(e.hires),r=bt(this.original);return this.intro&&n.advance(this.intro),this.firstChunk.eachNext(e=>{const o=r(e.start);e.intro.length&&n.advance(e.intro),e.edited?n.addEdit(0,e.content,o,e.storeName?t.indexOf(e.original):-1):n.addUneditedChunk(0,e,this.original,o,this.sourcemapLocations),e.outro.length&&n.advance(e.outro)}),this.outro&&n.advance(this.outro),{file:e.file?e.file.split(/[/\\]/).pop():void 0,sources:[e.source?mt(e.file||"",e.source):e.file||""],sourcesContent:e.includeContent?[this.original]:void 0,names:t,mappings:n.raw,x_google_ignoreList:this.ignoreList?[0]:void 0}}generateMap(e){return new ft(this.generateDecodedMap(e))}_ensureindentStr(){void 0===this.indentStr&&(this.indentStr=function(e){const t=e.split("\n"),n=t.filter(e=>/^\t+/.test(e)),r=t.filter(e=>/^ {2,}/.test(e));if(0===n.length&&0===r.length)return null;if(n.length>=r.length)return"\t";const o=r.reduce((e,t)=>{const n=/^ +/.exec(t)[0].length;return Math.min(n,e)},1/0);return new Array(o+1).join(" ")}(this.original))}_getRawIndentString(){return this._ensureindentStr(),this.indentStr}getIndentString(){return this._ensureindentStr(),null===this.indentStr?"\t":this.indentStr}indent(e,t){const n=/^[^\r\n]/gm;var r;if(r=e,"[object Object]"===gt.call(r)&&(t=e,e=void 0),void 0===e&&(this._ensureindentStr(),e=this.indentStr||"\t"),""===e)return this;const o={};if((t=t||{}).exclude){("number"==typeof t.exclude[0]?[t.exclude]:t.exclude).forEach(e=>{for(let t=e[0];t<e[1];t+=1)o[t]=!0})}let i=!1!==t.indentStart;const a=t=>i?`${e}${t}`:(i=!0,t);this.intro=this.intro.replace(n,a);let s=0,l=this.firstChunk;for(;l;){const t=l.end;if(l.edited)o[s]||(l.content=l.content.replace(n,a),l.content.length&&(i="\n"===l.content[l.content.length-1]));else for(s=l.start;s<t;){if(!o[s]){const t=this.original[s];"\n"===t?i=!0:"\r"!==t&&i&&(i=!1,s===l.start||(this._splitChunk(l,s),l=l.next),l.prependRight(e))}s+=1}s=l.end,l=l.next}return this.outro=this.outro.replace(n,a),this}insert(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")}insertLeft(e,t){return vt.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),vt.insertLeft=!0),this.appendLeft(e,t)}insertRight(e,t){return vt.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),vt.insertRight=!0),this.prependRight(e,t)}move(e,t,n){if(e+=this.offset,t+=this.offset,(n+=this.offset)>=e&&n<=t)throw new Error("Cannot move a selection inside itself");this._split(e),this._split(t),this._split(n);const r=this.byStart[e],o=this.byEnd[t],i=r.previous,a=o.next,s=this.byStart[n];if(!s&&o===this.lastChunk)return this;const l=s?s.previous:this.lastChunk;return i&&(i.next=a),a&&(a.previous=i),l&&(l.next=r),s&&(s.previous=o),r.previous||(this.firstChunk=o.next),o.next||(this.lastChunk=r.previous,this.lastChunk.next=null),r.previous=l,o.next=s||null,l||(this.firstChunk=r),s||(this.lastChunk=o),this}overwrite(e,t,n,r){return r=r||{},this.update(e,t,n,{...r,overwrite:!r.contentOnly})}update(e,t,n,r){if(e+=this.offset,t+=this.offset,"string"!=typeof n)throw new TypeError("replacement content must be a string");if(0!==this.original.length){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length}if(t>this.original.length)throw new Error("end is out of bounds");if(e===t)throw new Error("Cannot overwrite a zero-length range – use appendLeft or prependRight instead");this._split(e),this._split(t),!0===r&&(vt.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),vt.storeName=!0),r={storeName:!0});const o=void 0!==r&&r.storeName,i=void 0!==r&&r.overwrite;if(o){const n=this.original.slice(e,t);Object.defineProperty(this.storedNames,n,{writable:!0,value:!0,enumerable:!0})}const a=this.byStart[e],s=this.byEnd[t];if(a){let e=a;for(;e!==s;){if(e.next!==this.byStart[e.end])throw new Error("Cannot overwrite across a split point");e=e.next,e.edit("",!1)}a.edit(n,o,!i)}else{const r=new pt(e,t,"").edit(n,o);s.next=r,r.previous=s}return this}prepend(e){if("string"!=typeof e)throw new TypeError("outro content must be a string");return this.intro=e+this.intro,this}prependLeft(e,t){if(e+=this.offset,"string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);const n=this.byEnd[e];return n?n.prependLeft(t):this.intro=t+this.intro,this}prependRight(e,t){if(e+=this.offset,"string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);const n=this.byStart[e];return n?n.prependRight(t):this.outro=t+this.outro,this}remove(e,t){if(e+=this.offset,t+=this.offset,0!==this.original.length){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length}if(e===t)return this;if(e<0||t>this.original.length)throw new Error("Character is out of bounds");if(e>t)throw new Error("end must be greater than start");this._split(e),this._split(t);let n=this.byStart[e];for(;n;)n.intro="",n.outro="",n.edit(""),n=t>n.end?this.byStart[n.end]:null;return this}reset(e,t){if(e+=this.offset,t+=this.offset,0!==this.original.length){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length}if(e===t)return this;if(e<0||t>this.original.length)throw new Error("Character is out of bounds");if(e>t)throw new Error("end must be greater than start");this._split(e),this._split(t);let n=this.byStart[e];for(;n;)n.reset(),n=t>n.end?this.byStart[n.end]:null;return this}lastChar(){if(this.outro.length)return this.outro[this.outro.length-1];let e=this.lastChunk;do{if(e.outro.length)return e.outro[e.outro.length-1];if(e.content.length)return e.content[e.content.length-1];if(e.intro.length)return e.intro[e.intro.length-1]}while(e=e.previous);return this.intro.length?this.intro[this.intro.length-1]:""}lastLine(){let e=this.outro.lastIndexOf(wt);if(-1!==e)return this.outro.substr(e+1);let t=this.outro,n=this.lastChunk;do{if(n.outro.length>0){if(e=n.outro.lastIndexOf(wt),-1!==e)return n.outro.substr(e+1)+t;t=n.outro+t}if(n.content.length>0){if(e=n.content.lastIndexOf(wt),-1!==e)return n.content.substr(e+1)+t;t=n.content+t}if(n.intro.length>0){if(e=n.intro.lastIndexOf(wt),-1!==e)return n.intro.substr(e+1)+t;t=n.intro+t}}while(n=n.previous);return e=this.intro.lastIndexOf(wt),-1!==e?this.intro.substr(e+1)+t:this.intro+t}slice(e=0,t=this.original.length-this.offset){if(e+=this.offset,t+=this.offset,0!==this.original.length){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length}let n="",r=this.firstChunk;for(;r&&(r.start>e||r.end<=e);){if(r.start<t&&r.end>=t)return n;r=r.next}if(r&&r.edited&&r.start!==e)throw new Error(`Cannot use replaced character ${e} as slice start anchor.`);const o=r;for(;r;){!r.intro||o===r&&r.start!==e||(n+=r.intro);const i=r.start<t&&r.end>=t;if(i&&r.edited&&r.end!==t)throw new Error(`Cannot use replaced character ${t} as slice end anchor.`);const a=o===r?e-r.start:0,s=i?r.content.length+t-r.end:r.content.length;if(n+=r.content.slice(a,s),!r.outro||i&&r.end!==t||(n+=r.outro),i)break;r=r.next}return n}snip(e,t){const n=this.clone();return n.remove(0,e),n.remove(t,n.original.length),n}_split(e){if(this.byStart[e]||this.byEnd[e])return;let t=this.lastSearchedChunk,n=t;const r=e>t.end;for(;t;){if(t.contains(e))return this._splitChunk(t,e);if(t=r?this.byStart[t.end]:this.byEnd[t.start],t===n)return;n=t}}_splitChunk(e,t){if(e.edited&&e.content.length){const n=bt(this.original)(t);throw new Error(`Cannot split a chunk that has already been edited (${n.line}:${n.column} – "${e.original}")`)}const n=e.split(t);return this.byEnd[t]=e,this.byStart[t]=n,this.byEnd[n.end]=n,e===this.lastChunk&&(this.lastChunk=n),this.lastSearchedChunk=e,!0}toString(){let e=this.intro,t=this.firstChunk;for(;t;)e+=t.toString(),t=t.next;return e+this.outro}isEmpty(){let e=this.firstChunk;do{if(e.intro.length&&e.intro.trim()||e.content.length&&e.content.trim()||e.outro.length&&e.outro.trim())return!1}while(e=e.next);return!0}length(){let e=this.firstChunk,t=0;do{t+=e.intro.length+e.content.length+e.outro.length}while(e=e.next);return t}trimLines(){return this.trim("[\\r\\n]")}trim(e){return this.trimStart(e).trimEnd(e)}trimEndAborted(e){const t=new RegExp((e||"\\s")+"+$");if(this.outro=this.outro.replace(t,""),this.outro.length)return!0;let n=this.lastChunk;do{const e=n.end,r=n.trimEnd(t);if(n.end!==e&&(this.lastChunk===n&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),r)return!0;n=n.previous}while(n);return!1}trimEnd(e){return this.trimEndAborted(e),this}trimStartAborted(e){const t=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(t,""),this.intro.length)return!0;let n=this.firstChunk;do{const e=n.end,r=n.trimStart(t);if(n.end!==e&&(n===this.lastChunk&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),r)return!0;n=n.next}while(n);return!1}trimStart(e){return this.trimStartAborted(e),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(e,t){function n(e,n){return"string"==typeof t?t.replace(/\$(\$|&|\d+)/g,(t,n)=>{if("$"===n)return"$";if("&"===n)return e[0];return+n<e.length?e[+n]:`$${n}`}):t(...e,e.index,n,e.groups)}if(e.global){(function(e,t){let n;const r=[];for(;n=e.exec(t);)r.push(n);return r})(e,this.original).forEach(e=>{if(null!=e.index){const t=n(e,this.original);t!==e[0]&&this.overwrite(e.index,e.index+e[0].length,t)}})}else{const t=this.original.match(e);if(t&&null!=t.index){const e=n(t,this.original);e!==t[0]&&this.overwrite(t.index,t.index+t[0].length,e)}}return this}_replaceString(e,t){const{original:n}=this,r=n.indexOf(e);return-1!==r&&("function"==typeof t&&(t=t(e,r,n)),e!==t&&this.overwrite(r,r+e.length,t)),this}replace(e,t){return"string"==typeof e?this._replaceString(e,t):this._replaceRegexp(e,t)}_replaceAllString(e,t){const{original:n}=this,r=e.length;for(let o=n.indexOf(e);-1!==o;o=n.indexOf(e,o+r)){const e=n.slice(o,o+r);let i=t;"function"==typeof t&&(i=t(e,o,n)),e!==i&&this.overwrite(o,o+r,i)}return this}replaceAll(e,t){if("string"==typeof e)return this._replaceAllString(e,t);if(!e.global)throw new TypeError("MagicString.prototype.replaceAll called with a non-global RegExp argument");return this._replaceRegexp(e,t)}}function $t(e,t,n){if(""===e)return;const r=e.length;let o=0,i=!1,a=0;for(let s=0;s<r;s++)switch(e[s]){case t:i||(i=!0,a=s),o++;break;case n:if(--o,o<0)return;if(0===o)return[e.slice(a,s+1),e.slice(s+1),e.slice(0,a)]}}function St(e,t,n,r){if(""===e)return;if(k(r)&&(r=[r]),0===r.length)return;const o=e.length;let i=0;for(let a=0;a<o;a++)switch(e[a]){case t:i++;break;case n:if(--i<0)return;break;default:for(const t of r){const n=t.length;if(n&&t===e.slice(a,a+n)&&0===i){if(0===a||a===o-n)return;return[e.slice(0,a),e.slice(a+n)]}}}return[e,""]}function zt(e,t,n,r="(",o=")"){n=n??10;const i=[];let a=0;for(;""!==e;){if(++a>n)return;const s=St(e,r,o,t);if(!s)return;const[l,c]=s;i.push(l),e=c}if(i.length>0)return i}const Ct=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"],jt=["srgb","srgb-linear","display-p3","a98-rgb","prophoto-rgb","rec2020","lab","oklab","xyz","xyz-d50","xyz-d65"],At=["hsl","hwb","lch","oklch"],Et=["shorter","longer","increasing","decreasing"],Ot=["%alpha","<alpha-value>"],_t=new RegExp(Ot.map(e=>x(e)).join("|"),"g");function Lt(e){return!!e&&(jt.some(t=>e.includes(t))||At.some(t=>e.includes(t))||Et.some(t=>e.includes(t)))}function Tt(e=""){const t=function(e){if(!e)return;let t=function(e){const[,t]=e.match(/^#([\da-f]+)$/i)||[];if(!t)return;switch(t.length){case 3:case 4:{const e=Array.from(t,e=>Number.parseInt(e,16)).map(e=>e<<4|e);return{type:"rgb",components:e.slice(0,3),alpha:3===t.length?void 0:Math.round(e[3]/255*100)/100}}case 6:case 8:{const e=Number.parseInt(t,16);return{type:"rgb",components:6===t.length?[e>>16&255,e>>8&255,255&e]:[e>>24&255,e>>16&255,e>>8&255],alpha:6===t.length?void 0:Math.round((255&e)/255*100)/100}}}}(e);if(null!=t)return t;if(t=function(e){const t={rebeccapurple:[102,51,153,1]}[e];if(null!=t)return{type:"rgb",components:t.slice(0,3),alpha:t[3]}}(e),null!=t)return t;if(t=function(e){const t=e.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!t)return;const[,n,r]=t,o=zt(r,",",5);if(o){if([3,4].includes(o.length))return{type:n,components:o.slice(0,3),alpha:o[3]};if(1!==o.length)return!1}}(e),null!=t)return t;if(t=function(e){const t=e.match(Pt);if(!t)return;const[,n,r]=t,o=Bt(`${n} ${r}`);if(o){const{alpha:e,components:[t,...n]}=o;return{type:t,components:n,alpha:e}}}(e),null!=t)return t;if(t=function(e){const t=e.match(/^color\((.+)\)$/);if(!t)return;const n=Bt(t[1]);if(n){const{alpha:e,components:[t,...r]}=n;return{type:t,components:r,alpha:e}}}(e),null!=t)return t}(e);if(null==t||!1===t)return;const{type:n,components:r,alpha:o}=t,i=n.toLowerCase();return 0===r.length||Ct.includes(i)&&![1,3].includes(r.length)?void 0:{type:i,components:r.map(e=>"string"==typeof e?e.trim():e),alpha:"string"==typeof o?o.trim():o}}function Mt(e,t){if("string"==typeof e)return e.replace(_t,`${t??1}`);const{components:n}=e;let{alpha:r,type:o}=e;return r=t??r,o=o.toLowerCase(),["hsla","rgba"].includes(o)?`${o}(${n.join(", ")}${null==r?"":`, ${r}`})`:(r=null==r?"":` / ${r}`,Ct.includes(o)?`${o}(${n.join(" ")}${r})`:`color(${o} ${n.join(" ")}${r})`)}const Pt=new RegExp(`^(${Ct.join("|")})\\((.+)\\)$`,"i");function Bt(e){const t=zt(e," ");if(!t)return;let n=t.length;if("/"===t[n-2])return{components:t.slice(0,n-2),alpha:t[n-1]};if(null!=t[n-2]&&(t[n-2].endsWith("/")||t[n-1].startsWith("/"))){const e=t.splice(n-2);t.push(e.join(" ")),--n}const r=zt(t[n-1],"/",2);if(!r)return;if(1===r.length||""===r[r.length-1])return{components:t};const o=r.pop();return t[n-1]=r.join("/"),{components:t,alpha:o}}const Rt=/theme\(\s*(['"])?(.*?)\1?\s*\)/g;function Ft(e){return e.includes("theme(")&&e.includes(")")}function It(e,t,n=!0){const r=Array.from(e.toString().matchAll(Rt));if(!r.length)return e;const o=new xt(e);for(const i of r){const e=i[2];if(!e)throw new Error("theme() expect exact one argument, but got 0");const r=Nt(e,t,n);r&&o.overwrite(i.index,i.index+i[0].length,r)}return o.toString()}function Nt(e,t,n=!0){const[r,o]=e.split("/");let i=r.trim().split(".").reduce((e,t)=>null==e?void 0:e[t],t);if("object"==typeof i&&(i=i.DEFAULT),"string"==typeof i){if(o){const e=Tt(i);e&&(i=Mt(e,o))}return i}if(n)throw new Error(`theme of "${e}" did not found`)}function Ut(e){var t;const n=(null===(t=e.match(/^-?\d+\.?\d*/))||void 0===t?void 0:t[0])||"",r=e.slice(n.length);if("px"===r){const t=Number.parseFloat(n)-.1;return Number.isNaN(t)?e:`${t}${r}`}return`calc(${e} - 0.1px)`}const Dt="__pseudo_placeholder__",Wt=Object.fromEntries([["first-letter","::first-letter"],["first-line","::first-line"],"any-link","link","visited","target",["open","[open]"],"default","checked","indeterminate","placeholder-shown","autofill","optional","required","valid","invalid","user-valid","user-invalid","in-range","out-of-range","read-only","read-write","empty","focus-within","hover","focus","focus-visible","active","enabled","disabled","popover-open","root","empty",["even-of-type",":nth-of-type(even)"],["even",":nth-child(even)"],["odd-of-type",":nth-of-type(odd)"],["odd",":nth-child(odd)"],["nth",`:nth-child(${Dt})`],["nth-last",`:nth-last-child(${Dt})`],["nth-last-of-type",`:nth-last-of-type(${Dt})`],["nth-of-type",`:nth-of-type(${Dt})`],"first-of-type",["first",":first-child"],"last-of-type",["last",":last-child"],"only-child","only-of-type",["backdrop-element","::backdrop"],["placeholder","::placeholder"],["before","::before"],["after","::after"],["file","::file-selector-button"]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),qt=Object.keys(Wt),Vt=Object.fromEntries([["backdrop","::backdrop"]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),Ht=Object.keys(Vt),Xt=Object.fromEntries([["selection",["::selection"," *::selection"]],["marker",["::marker"," *::marker"]]]),Yt=Object.entries(Wt).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),Gt=Object.entries(Vt).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),Kt=["not","is","where","has"].join("|"),Zt=Object.keys(Xt).sort((e,t)=>t.length-e.length).join("|"),Qt=["::-webkit-resizer","::-webkit-scrollbar","::-webkit-scrollbar-button","::-webkit-scrollbar-corner","::-webkit-scrollbar-thumb","::-webkit-scrollbar-track","::-webkit-scrollbar-track-piece","::file-selector-button"],Jt=Object.entries(Wt).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),en=Object.entries(Vt).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|");function tn(e,t,n,r){const{h:o,variantGetBracket:i}=r,a=new RegExp(`^(${x(t)}:)(\\S+)${x(n)}\\1`);let s,l,c,u;return{name:`pseudo:${e}`,match(r,p){if(s&&l&&c||(s=new RegExp(`(?:${p.generator.config.separators.join("|")})`),l=new RegExp(`^${e}-(?:(?:(${Kt})-)?(${Yt}))(?:(/[\\w-]+))?(?:${p.generator.config.separators.join("|")})`),c=new RegExp(`^${e}-(?:(?:(${Kt})-)?(${Gt}))(?:(/[\\w-]+))?(?:${p.generator.config.separators.filter(e=>"-"!==e).join("|")})`),u=new RegExp(`^${e}-(?:(${Kt})-)?\\[(.+)\\](?:(/[\\w-]+))?(?:${p.generator.config.separators.filter(e=>"-"!==e).join("|")})`)),!r.startsWith(e))return;const d=(n=>{var r;const a=i(`${e}-`,n,[]);if(!a)return;const[l,c]=a,u=o.bracket(l);if(null==u)return;const p=(null===(r=c.split(s,1))||void 0===r?void 0:r[0])??"",d=`${t}${$(p)}`;return[p,n.slice(n.length-(c.length-p.length-1)),u.includes("&")?u.replace(/&/g,d):`${d}${u}`]})(r)||(e=>{const n=e.match(l)||e.match(c);if(!n)return;const[r,o,i]=n,a=n[3]??"";let s=Wt[i]||Vt[i]||`:${i}`;return o&&(s=`:${o}(${s})`),[a,e.slice(r.length),`${t}${$(a)}${s}`,i]})(r)||(e=>{const n=e.match(u);if(!n)return;const[r,o,i]=n,a=n[3]??"",s=`:${o}(${i})`;return[a,e.slice(r.length),`${t}${$(a)}${s}`]})(r);if(!d)return;const[h,f,m,g=""]=d;return{matcher:f,handle:(e,t)=>t({...e,prefix:`${m}${n}${e.prefix}`.replace(a,"$1$2:"),sort:qt.indexOf(g)??Ht.indexOf(g)})}},multiPass:!0}}const nn=/(part-\[(.+)\]:)(.+)/;function rn(e,t,n={}){let r;return{name:e,match(o,i){r||(r=new RegExp(`^${x(e)}(?:${i.generator.config.separators.join("|")})`));const a=o.match(r);if(a){const e=o.slice(a[0].length),r=g(t).map(t=>({matcher:e,handle:(e,n)=>n({...e,...t(e)}),...n}));return 1===r.length?r[0]:r}},autocomplete:`${e}:`}}function on(e,t){let n;return{name:e,match(r,o){n||(n=new RegExp(`^${x(e)}(?:${o.generator.config.separators.join("|")})`));const i=r.match(n);if(i)return{matcher:r.slice(i[0].length),handle:(e,n)=>n({...e,parent:`${e.parent?`${e.parent} $$ `:""}${t}`})}},autocomplete:`${e}:`}}function an(e,t,n){if(t.startsWith(`${e}[`)){const[r,o]=$t(t.slice(e.length),"[","]")??[];if(r&&o){for(const e of n)if(o.startsWith(e))return[r,o.slice(e.length),e];return[r,o,""]}}}function sn(e,t,n){for(const r of g(e))if(t.startsWith(r)){const e=an(r,t,n);if(e){const[t="",r=e[1]]=sn("/",e[1],n)??[];return[e[0],r,t]}for(const o of n.filter(e=>"/"!==e)){const e=t.indexOf(o,r.length);if(-1!==e){const n=t.indexOf("/",r.length),i=-1===n||e<=n;return[t.slice(r.length,i?e:n),t.slice(e+o.length),i?"":t.slice(n+1,e)]}}}}const ln=[["headings","h1","h2","h3","h4","h5","h6","th"],["h1"],["h2"],["h3"],["h4"],["h5"],["h6"],["p"],["a"],["blockquote"],["figure"],["figcaption"],["strong"],["em"],["kbd"],["code"],["pre"],["ol"],["ul"],["li"],["table"],["thead"],["tr"],["th"],["td"],["img"],["video"],["hr"]],cn={body:[700,300],headings:[900,"white"],lead:[600,400],links:[900,"white"],bold:[900,"white"],counters:[500,400],bullets:[300,600],hr:[200,700],quotes:[900,100],"quote-borders":[200,700],captions:[500,400],kbd:[900,"white"],"kbd-shadows":[900,"white"],code:[900,"white"],"pre-code":[200,300],"pre-bg":[800,"rgb(0 0 0 / 50%)"],"th-borders":[300,600],"td-borders":[200,700]},un=e=>e.toFixed(7).replace(/0+$/,"").replace(/\.$/,""),pn=e=>`${un(e/16)}rem`,dn=(e,t)=>`${un(e/t)}em`,hn={color:"var(--un-prose-body)","max-width":"65ch",p:{},'[class~="lead"]':{color:"var(--un-prose-lead)"},a:{color:"var(--un-prose-links)","text-decoration":"underline","font-weight":"500"},strong:{color:"var(--un-prose-bold)","font-weight":"600"},"a strong":{color:"inherit"},"blockquote strong":{color:"inherit"},"thead th strong":{color:"inherit"},ol:{"list-style-type":"decimal"},'ol[type="A"]':{"list-style-type":"upper-alpha"},'ol[type="a"]':{"list-style-type":"lower-alpha"},'ol[type="A" s]':{"list-style-type":"upper-alpha"},'ol[type="a" s]':{"list-style-type":"lower-alpha"},'ol[type="I"]':{"list-style-type":"upper-roman"},'ol[type="i"]':{"list-style-type":"lower-roman"},'ol[type="I" s]':{"list-style-type":"upper-roman"},'ol[type="i" s]':{"list-style-type":"lower-roman"},'ol[type="1"]':{"list-style-type":"decimal"},ul:{"list-style-type":"disc"},"ol > li::marker":{"font-weight":"400",color:"var(--un-prose-counters)"},"ul > li::marker":{color:"var(--un-prose-bullets)"},dt:{color:"var(--un-prose-headings)","font-weight":"600"},hr:{"border-color":"var(--un-prose-hr)","border-top-width":"1px"},blockquote:{"font-weight":"500","font-style":"italic",color:"var(--un-prose-quotes)","border-inline-start-width":"0.25rem","border-inline-start-color":"var(--un-prose-quote-borders)",quotes:'"\\201C""\\201D""\\2018""\\2019"'},"blockquote p:first-of-type::before":{content:"open-quote"},"blockquote p:last-of-type::after":{content:"close-quote"},h1:{color:"var(--un-prose-headings)","font-weight":"800"},"h1 strong":{"font-weight":"900",color:"inherit"},h2:{color:"var(--un-prose-headings)","font-weight":"700"},"h2 strong":{"font-weight":"800",color:"inherit"},h3:{color:"var(--un-prose-headings)","font-weight":"600"},"h3 strong":{"font-weight":"700",color:"inherit"},h4:{color:"var(--un-prose-headings)","font-weight":"600"},"h4 strong":{"font-weight":"700",color:"inherit"},img:{},picture:{display:"block"},video:{},kbd:{"font-weight":"500","font-family":"inherit",color:"var(--un-prose-kbd)","box-shadow":"0 0 0 1px rgb(var(--un-prose-kbd-shadows) / 10%), 0 3px 0 rgb(var(--un-prose-kbd-shadows) / 10%)"},code:{color:"var(--un-prose-code)","font-weight":"600"},"code::before":{content:'"`"'},"code::after":{content:'"`"'},"a code":{color:"inherit"},"h1 code":{color:"inherit"},"h2 code":{color:"inherit"},"h3 code":{color:"inherit"},"h4 code":{color:"inherit"},"blockquote code":{color:"inherit"},"thead th code":{color:"inherit"},pre:{color:"var(--un-prose-pre-code)","background-color":"var(--un-prose-pre-bg)","overflow-x":"auto","font-weight":"400"},"pre code":{"background-color":"transparent","border-width":"0","border-radius":"0",padding:"0","font-weight":"inherit",color:"inherit","font-size":"inherit","font-family":"inherit","line-height":"inherit"},"pre code::before":{content:"none"},"pre code::after":{content:"none"},table:{width:"100%","table-layout":"auto","margin-top":dn(32,16),"margin-bottom":dn(32,16)},thead:{"border-bottom-width":"1px","border-bottom-color":"var(--un-prose-th-borders)"},"thead th":{color:"var(--un-prose-headings)","font-weight":"600","vertical-align":"bottom"},"tbody tr":{"border-bottom-width":"1px","border-bottom-color":"var(--un-prose-td-borders)"},"tbody tr:last-child":{"border-bottom-width":"0"},"tbody td":{"vertical-align":"baseline"},tfoot:{"border-top-width":"1px","border-top-color":"var(--un-prose-th-borders)"},"tfoot td":{"vertical-align":"top"},"th, td":{"text-align":"start"},"figure > *":{},figcaption:{color:"var(--un-prose-captions)"}},fn={sm:{"font-size":pn(14),"line-height":un(24/14),p:{"margin-top":dn(16,14),"margin-bottom":dn(16,14)},'[class~="lead"]':{"font-size":dn(18,14),"line-height":un(28/18),"margin-top":dn(16,18),"margin-bottom":dn(16,18)},blockquote:{"margin-top":dn(24,18),"margin-bottom":dn(24,18),"padding-inline-start":dn(20,18)},h1:{"font-size":dn(30,14),"margin-top":"0","margin-bottom":dn(24,30),"line-height":un(1.2)},h2:{"font-size":dn(20,14),"margin-top":dn(32,20),"margin-bottom":dn(16,20),"line-height":un(1.4)},h3:{"font-size":dn(18,14),"margin-top":dn(28,18),"margin-bottom":dn(8,18),"line-height":un(28/18)},h4:{"margin-top":dn(20,14),"margin-bottom":dn(8,14),"line-height":un(20/14)},img:{"margin-top":dn(24,14),"margin-bottom":dn(24,14)},picture:{"margin-top":dn(24,14),"margin-bottom":dn(24,14)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":dn(24,14),"margin-bottom":dn(24,14)},kbd:{"font-size":dn(12,14),"border-radius":pn(5),"padding-top":dn(2,14),"padding-inline-end":dn(5,14),"padding-bottom":dn(2,14),"padding-inline-start":dn(5,14)},code:{"font-size":dn(12,14)},"h2 code":{"font-size":dn(18,20)},"h3 code":{"font-size":dn(16,18)},pre:{"font-size":dn(12,14),"line-height":un(20/12),"margin-top":dn(20,12),"margin-bottom":dn(20,12),"border-radius":pn(4),"padding-top":dn(8,12),"padding-inline-end":dn(12,12),"padding-bottom":dn(8,12),"padding-inline-start":dn(12,12)},ol:{"margin-top":dn(16,14),"margin-bottom":dn(16,14),"padding-inline-start":dn(22,14)},ul:{"margin-top":dn(16,14),"margin-bottom":dn(16,14),"padding-inline-start":dn(22,14)},li:{"margin-top":dn(4,14),"margin-bottom":dn(4,14)},"ol > li":{"padding-inline-start":dn(6,14)},"ul > li":{"padding-inline-start":dn(6,14)},"> ul > li p":{"margin-top":dn(8,14),"margin-bottom":dn(8,14)},"> ul > li > p:first-child":{"margin-top":dn(16,14)},"> ul > li > p:last-child":{"margin-bottom":dn(16,14)},"> ol > li > p:first-child":{"margin-top":dn(16,14)},"> ol > li > p:last-child":{"margin-bottom":dn(16,14)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":dn(8,14),"margin-bottom":dn(8,14)},dl:{"margin-top":dn(16,14),"margin-bottom":dn(16,14)},dt:{"margin-top":dn(16,14)},dd:{"margin-top":dn(4,14),"padding-inline-start":dn(22,14)},hr:{"margin-top":dn(40,14),"margin-bottom":dn(40,14)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":dn(12,14),"line-height":un(1.5)},"thead th":{"padding-inline-end":dn(12,12),"padding-bottom":dn(8,12),"padding-inline-start":dn(12,12)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":dn(8,12),"padding-inline-end":dn(12,12),"padding-bottom":dn(8,12),"padding-inline-start":dn(12,12)},"tbody td:first-child, tfoot td:first-child":{"padding-inline-start":"0"},"tbody td:last-child, tfoot td:last-child":{"padding-inline-end":"0"},figure:{"margin-top":dn(24,14),"margin-bottom":dn(24,14)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":dn(12,14),"line-height":un(16/12),"margin-top":dn(8,12)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}},base:{"font-size":pn(16),"line-height":un(1.75),p:{"margin-top":dn(20,16),"margin-bottom":dn(20,16)},'[class~="lead"]':{"font-size":dn(20,16),"line-height":un(1.6),"margin-top":dn(24,20),"margin-bottom":dn(24,20)},blockquote:{"margin-top":dn(32,20),"margin-bottom":dn(32,20),"padding-inline-start":dn(20,20)},h1:{"font-size":dn(36,16),"margin-top":"0","margin-bottom":dn(32,36),"line-height":un(40/36)},h2:{"font-size":dn(24,16),"margin-top":dn(48,24),"margin-bottom":dn(24,24),"line-height":un(32/24)},h3:{"font-size":dn(20,16),"margin-top":dn(32,20),"margin-bottom":dn(12,20),"line-height":un(1.6)},h4:{"margin-top":dn(24,16),"margin-bottom":dn(8,16),"line-height":un(1.5)},img:{"margin-top":dn(32,16),"margin-bottom":dn(32,16)},picture:{"margin-top":dn(32,16),"margin-bottom":dn(32,16)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":dn(32,16),"margin-bottom":dn(32,16)},kbd:{"font-size":dn(14,16),"border-radius":pn(5),"padding-top":dn(3,16),"padding-inline-end":dn(6,16),"padding-bottom":dn(3,16),"padding-inline-start":dn(6,16)},code:{"font-size":dn(14,16)},"h2 code":{"font-size":dn(21,24)},"h3 code":{"font-size":dn(18,20)},pre:{"font-size":dn(14,16),"line-height":un(24/14),"margin-top":dn(24,14),"margin-bottom":dn(24,14),"border-radius":pn(6),"padding-top":dn(12,14),"padding-inline-end":dn(16,14),"padding-bottom":dn(12,14),"padding-inline-start":dn(16,14)},ol:{"margin-top":dn(20,16),"margin-bottom":dn(20,16),"padding-inline-start":dn(26,16)},ul:{"margin-top":dn(20,16),"margin-bottom":dn(20,16),"padding-inline-start":dn(26,16)},li:{"margin-top":dn(8,16),"margin-bottom":dn(8,16)},"ol > li":{"padding-inline-start":dn(6,16)},"ul > li":{"padding-inline-start":dn(6,16)},"> ul > li p":{"margin-top":dn(12,16),"margin-bottom":dn(12,16)},"> ul > li > p:first-child":{"margin-top":dn(20,16)},"> ul > li > p:last-child":{"margin-bottom":dn(20,16)},"> ol > li > p:first-child":{"margin-top":dn(20,16)},"> ol > li > p:last-child":{"margin-bottom":dn(20,16)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":dn(12,16),"margin-bottom":dn(12,16)},dl:{"margin-top":dn(20,16),"margin-bottom":dn(20,16)},dt:{"margin-top":dn(20,16)},dd:{"margin-top":dn(8,16),"padding-inline-start":dn(26,16)},hr:{"margin-top":dn(48,16),"margin-bottom":dn(48,16)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":dn(14,16),"line-height":un(24/14)},"thead th":{"padding-inline-end":dn(8,14),"padding-bottom":dn(8,14),"padding-inline-start":dn(8,14)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":dn(8,14),"padding-inline-end":dn(8,14),"padding-bottom":dn(8,14),"padding-inline-start":dn(8,14)},"tbody td:first-child, tfoot td:first-child":{"padding-inline-start":"0"},"tbody td:last-child, tfoot td:last-child":{"padding-inline-end":"0"},figure:{"margin-top":dn(32,16),"margin-bottom":dn(32,16)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":dn(14,16),"line-height":un(20/14),"margin-top":dn(12,14)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}},lg:{"font-size":pn(18),"line-height":un(32/18),p:{"margin-top":dn(24,18),"margin-bottom":dn(24,18)},'[class~="lead"]':{"font-size":dn(22,18),"line-height":un(32/22),"margin-top":dn(24,22),"margin-bottom":dn(24,22)},blockquote:{"margin-top":dn(40,24),"margin-bottom":dn(40,24),"padding-inline-start":dn(24,24)},h1:{"font-size":dn(48,18),"margin-top":"0","margin-bottom":dn(40,48),"line-height":un(1)},h2:{"font-size":dn(30,18),"margin-top":dn(56,30),"margin-bottom":dn(32,30),"line-height":un(40/30)},h3:{"font-size":dn(24,18),"margin-top":dn(40,24),"margin-bottom":dn(16,24),"line-height":un(1.5)},h4:{"margin-top":dn(32,18),"margin-bottom":dn(8,18),"line-height":un(28/18)},img:{"margin-top":dn(32,18),"margin-bottom":dn(32,18)},picture:{"margin-top":dn(32,18),"margin-bottom":dn(32,18)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":dn(32,18),"margin-bottom":dn(32,18)},kbd:{"font-size":dn(16,18),"border-radius":pn(5),"padding-top":dn(4,18),"padding-inline-end":dn(8,18),"padding-bottom":dn(4,18),"padding-inline-start":dn(8,18)},code:{"font-size":dn(16,18)},"h2 code":{"font-size":dn(26,30)},"h3 code":{"font-size":dn(21,24)},pre:{"font-size":dn(16,18),"line-height":un(1.75),"margin-top":dn(32,16),"margin-bottom":dn(32,16),"border-radius":pn(6),"padding-top":dn(16,16),"padding-inline-end":dn(24,16),"padding-bottom":dn(16,16),"padding-inline-start":dn(24,16)},ol:{"margin-top":dn(24,18),"margin-bottom":dn(24,18),"padding-inline-start":dn(28,18)},ul:{"margin-top":dn(24,18),"margin-bottom":dn(24,18),"padding-inline-start":dn(28,18)},li:{"margin-top":dn(12,18),"margin-bottom":dn(12,18)},"ol > li":{"padding-inline-start":dn(8,18)},"ul > li":{"padding-inline-start":dn(8,18)},"> ul > li p":{"margin-top":dn(16,18),"margin-bottom":dn(16,18)},"> ul > li > p:first-child":{"margin-top":dn(24,18)},"> ul > li > p:last-child":{"margin-bottom":dn(24,18)},"> ol > li > p:first-child":{"margin-top":dn(24,18)},"> ol > li > p:last-child":{"margin-bottom":dn(24,18)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":dn(16,18),"margin-bottom":dn(16,18)},dl:{"margin-top":dn(24,18),"margin-bottom":dn(24,18)},dt:{"margin-top":dn(24,18)},dd:{"margin-top":dn(12,18),"padding-inline-start":dn(28,18)},hr:{"margin-top":dn(56,18),"margin-bottom":dn(56,18)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":dn(16,18),"line-height":un(1.5)},"thead th":{"padding-inline-end":dn(12,16),"padding-bottom":dn(12,16),"padding-inline-start":dn(12,16)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":dn(12,16),"padding-inline-end":dn(12,16),"padding-bottom":dn(12,16),"padding-inline-start":dn(12,16)},"tbody td:first-child, tfoot td:first-child":{"padding-inline-start":"0"},"tbody td:last-child, tfoot td:last-child":{"padding-inline-end":"0"},figure:{"margin-top":dn(32,18),"margin-bottom":dn(32,18)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":dn(16,18),"line-height":un(1.5),"margin-top":dn(16,16)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}},xl:{"font-size":pn(20),"line-height":un(1.8),p:{"margin-top":dn(24,20),"margin-bottom":dn(24,20)},'[class~="lead"]':{"font-size":dn(24,20),"line-height":un(1.5),"margin-top":dn(24,24),"margin-bottom":dn(24,24)},blockquote:{"margin-top":dn(48,30),"margin-bottom":dn(48,30),"padding-inline-start":dn(32,30)},h1:{"font-size":dn(56,20),"margin-top":"0","margin-bottom":dn(48,56),"line-height":un(1)},h2:{"font-size":dn(36,20),"margin-top":dn(56,36),"margin-bottom":dn(32,36),"line-height":un(40/36)},h3:{"font-size":dn(30,20),"margin-top":dn(48,30),"margin-bottom":dn(20,30),"line-height":un(40/30)},h4:{"margin-top":dn(36,20),"margin-bottom":dn(12,20),"line-height":un(1.6)},img:{"margin-top":dn(40,20),"margin-bottom":dn(40,20)},picture:{"margin-top":dn(40,20),"margin-bottom":dn(40,20)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":dn(40,20),"margin-bottom":dn(40,20)},kbd:{"font-size":dn(18,20),"border-radius":pn(5),"padding-top":dn(5,20),"padding-inline-end":dn(8,20),"padding-bottom":dn(5,20),"padding-inline-start":dn(8,20)},code:{"font-size":dn(18,20)},"h2 code":{"font-size":dn(31,36)},"h3 code":{"font-size":dn(27,30)},pre:{"font-size":dn(18,20),"line-height":un(32/18),"margin-top":dn(36,18),"margin-bottom":dn(36,18),"border-radius":pn(8),"padding-top":dn(20,18),"padding-inline-end":dn(24,18),"padding-bottom":dn(20,18),"padding-inline-start":dn(24,18)},ol:{"margin-top":dn(24,20),"margin-bottom":dn(24,20),"padding-inline-start":dn(32,20)},ul:{"margin-top":dn(24,20),"margin-bottom":dn(24,20),"padding-inline-start":dn(32,20)},li:{"margin-top":dn(12,20),"margin-bottom":dn(12,20)},"ol > li":{"padding-inline-start":dn(8,20)},"ul > li":{"padding-inline-start":dn(8,20)},"> ul > li p":{"margin-top":dn(16,20),"margin-bottom":dn(16,20)},"> ul > li > p:first-child":{"margin-top":dn(24,20)},"> ul > li > p:last-child":{"margin-bottom":dn(24,20)},"> ol > li > p:first-child":{"margin-top":dn(24,20)},"> ol > li > p:last-child":{"margin-bottom":dn(24,20)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":dn(16,20),"margin-bottom":dn(16,20)},dl:{"margin-top":dn(24,20),"margin-bottom":dn(24,20)},dt:{"margin-top":dn(24,20)},dd:{"margin-top":dn(12,20),"padding-inline-start":dn(32,20)},hr:{"margin-top":dn(56,20),"margin-bottom":dn(56,20)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":dn(18,20),"line-height":un(28/18)},"thead th":{"padding-inline-end":dn(12,18),"padding-bottom":dn(16,18),"padding-inline-start":dn(12,18)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":dn(16,18),"padding-inline-end":dn(12,18),"padding-bottom":dn(16,18),"padding-inline-start":dn(12,18)},"tbody td:first-child, tfoot td:first-child":{"padding-inline-start":"0"},"tbody td:last-child, tfoot td:last-child":{"padding-inline-end":"0"},figure:{"margin-top":dn(40,20),"margin-bottom":dn(40,20)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":dn(18,20),"line-height":un(28/18),"margin-top":dn(18,18)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}},"2xl":{"font-size":pn(24),"line-height":un(40/24),p:{"margin-top":dn(32,24),"margin-bottom":dn(32,24)},'[class~="lead"]':{"font-size":dn(30,24),"line-height":un(44/30),"margin-top":dn(32,30),"margin-bottom":dn(32,30)},blockquote:{"margin-top":dn(64,36),"margin-bottom":dn(64,36),"padding-inline-start":dn(40,36)},h1:{"font-size":dn(64,24),"margin-top":"0","margin-bottom":dn(56,64),"line-height":un(1)},h2:{"font-size":dn(48,24),"margin-top":dn(72,48),"margin-bottom":dn(40,48),"line-height":un(52/48)},h3:{"font-size":dn(36,24),"margin-top":dn(56,36),"margin-bottom":dn(24,36),"line-height":un(44/36)},h4:{"margin-top":dn(40,24),"margin-bottom":dn(16,24),"line-height":un(1.5)},img:{"margin-top":dn(48,24),"margin-bottom":dn(48,24)},picture:{"margin-top":dn(48,24),"margin-bottom":dn(48,24)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":dn(48,24),"margin-bottom":dn(48,24)},kbd:{"font-size":dn(20,24),"border-radius":pn(6),"padding-top":dn(6,24),"padding-inline-end":dn(8,24),"padding-bottom":dn(6,24),"padding-inline-start":dn(8,24)},code:{"font-size":dn(20,24)},"h2 code":{"font-size":dn(42,48)},"h3 code":{"font-size":dn(32,36)},pre:{"font-size":dn(20,24),"line-height":un(1.8),"margin-top":dn(40,20),"margin-bottom":dn(40,20),"border-radius":pn(8),"padding-top":dn(24,20),"padding-inline-end":dn(32,20),"padding-bottom":dn(24,20),"padding-inline-start":dn(32,20)},ol:{"margin-top":dn(32,24),"margin-bottom":dn(32,24),"padding-inline-start":dn(38,24)},ul:{"margin-top":dn(32,24),"margin-bottom":dn(32,24),"padding-inline-start":dn(38,24)},li:{"margin-top":dn(12,24),"margin-bottom":dn(12,24)},"ol > li":{"padding-inline-start":dn(10,24)},"ul > li":{"padding-inline-start":dn(10,24)},"> ul > li p":{"margin-top":dn(20,24),"margin-bottom":dn(20,24)},"> ul > li > p:first-child":{"margin-top":dn(32,24)},"> ul > li > p:last-child":{"margin-bottom":dn(32,24)},"> ol > li > p:first-child":{"margin-top":dn(32,24)},"> ol > li > p:last-child":{"margin-bottom":dn(32,24)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":dn(16,24),"margin-bottom":dn(16,24)},dl:{"margin-top":dn(32,24),"margin-bottom":dn(32,24)},dt:{"margin-top":dn(32,24)},dd:{"margin-top":dn(12,24),"padding-inline-start":dn(38,24)},hr:{"margin-top":dn(72,24),"margin-bottom":dn(72,24)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":dn(20,24),"line-height":un(1.4)},"thead th":{"padding-inline-end":dn(12,20),"padding-bottom":dn(16,20),"padding-inline-start":dn(12,20)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":dn(16,20),"padding-inline-end":dn(12,20),"padding-bottom":dn(16,20),"padding-inline-start":dn(12,20)},"tbody td:first-child, tfoot td:first-child":{"padding-inline-start":"0"},"tbody td:last-child, tfoot td:last-child":{"padding-inline-end":"0"},figure:{"margin-top":dn(48,24),"margin-bottom":dn(48,24)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":dn(20,24),"line-height":un(1.6),"margin-top":dn(20,20)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}}};function mn(e,t){const n=t.selectorName||"prose",r=`:not(:where([class~="not-${n}"],[class~="not-${n}"] *))`,o=!0===t.important;let i="";for(const[a,s]of Object.entries(e))if("object"!=typeof s)i+=`${a}:${s}${o?" !important":""};`;else{const[e,t]=a.split("::");i+=`${`:where(${e})${r}${t?`::${t}`:""}`} {`;for(const[n,r]of Object.entries(s))i+=`${n}:${r}${o?" !important":""};`;i+="}"}return i}const gn=e=>{const t=e?.selectorName??"prose",n=e?.compatibility?.noColonNot||e?.compatibility?.noColonWhere,r=e?.cssVarPrefix??"--un-prose",o=function(e){const t=N(cn);if(e)for(const n in e){const[r,o]=g(e[n]),[i,a]=t[n];t[n]=[r??i,o??a]}return t}(e?.colorScheme),i=(a=e?.sizeScheme,a?I(fn,a):fn);var a;const s=(t,n)=>I(t,("function"==typeof e?.cssExtend?e?.cssExtend(n):e?.cssExtend)??{}),l=t=>("string"==typeof e?.important&&(t=`${e.important} ${t}`),e?.compatibility?.noColonIs||(t=`:is(${t})`),t),c=new RegExp(`^${t}-default$`),u=new RegExp(`^${t}-([-\\w]+)$`),p=new RegExp(`^${t}-(${Object.keys(i).join("|")})$`);return{name:"@unocss/preset-typography",enforce:"post",layers:{typography:-20},shortcuts:[[t,[`${t}-default`,`${t}-gray`],{layer:"typography"}]],rules:[[c,(t,{symbols:n,theme:r})=>{const o=mn(s(I(hn,fn.base),r),e??{});return{[n.body]:o,[n.selector]:l}},{layer:"typography",autocomplete:"prose",internal:!0}],[u,([,e],{theme:t,symbols:n})=>{const i=t.colors?.[e];if(i&&"object"==typeof i)return["red","orange","amber","yellow","lime","green","emerald","teal","cyan","sky","blue","indigo","violet","purple","fuchsia","pink","rose"].includes(e)?{[`${r}-links`]:i[600],[`${r}-invert-links`]:i[500],[n.selector]:l}:Object.entries(o).reduce((e,[n,o])=>{const[a,s]=o,l=e=>i[e]??t[e]??e,c=l(a),u=l(s),p=`${r}-${n}`,d=`${r}-invert-${n}`;e[p]=Mt(c,`var(${p}-opacity)`),e[d]=Mt(u,`var(${d}-opacity)`);for(const[t,r]of[[c,`${p}-opacity`],[u,`${d}-opacity`]])Ot.some(e=>t.includes(e))&&(e[r]="1");return e},{[n.selector]:l})},{layer:"typography",autocomplete:`${t}-$colors`}],[p,([,t],{symbols:n,theme:r})=>{const o=mn(s(i[t],r),e??{});return{[n.body]:o,[n.selector]:l}},{layer:"typography",autocomplete:`${t}-(${Object.keys(i).join("|")})`}],[`${t}-invert`,[{[`${r}-body`]:`var(${r}-invert-body)`,[`${r}-headings`]:`var(${r}-invert-headings)`,[`${r}-lead`]:`var(${r}-invert-lead)`,[`${r}-links`]:`var(${r}-invert-links)`,[`${r}-bold`]:`var(${r}-invert-bold)`,[`${r}-counters`]:`var(${r}-invert-counters)`,[`${r}-bullets`]:`var(${r}-invert-bullets)`,[`${r}-hr`]:`var(${r}-invert-hr)`,[`${r}-quotes`]:`var(${r}-invert-quotes)`,[`${r}-quote-borders`]:`var(${r}-invert-quote-borders)`,[`${r}-captions`]:`var(${r}-invert-captions)`,[`${r}-kbd`]:`var(${r}-invert-kbd)`,[`${r}-kbd-shadows`]:`var(${r}-invert-kbd-shadows)`,[`${r}-code`]:`var(${r}-invert-code)`,[`${r}-pre-code`]:`var(${r}-invert-pre-code)`,[`${r}-pre-bg`]:`var(${r}-invert-pre-bg)`,[`${r}-th-borders`]:`var(${r}-invert-th-borders)`,[`${r}-td-borders`]:`var(${r}-invert-td-borders)`,[ee.selector]:l}],{layer:"typography"}]],variants:[{name:"typography element modifiers",match:e=>{if(e.startsWith(`${t}-`)){const r=new RegExp(`^${t}-(\\w+)[:-].+$`),o=e.match(r)?.[1];if(o){const r=function(e){for(const[t,...n]of ln)if(t===e)return n.length>0?n:[t]}(o);if(r?.length)return{matcher:e.slice(t.length+o.length+2),selector:e=>{const o=`:not(:where([class~="not-${t}"],[class~="not-${t}"] *))`;return n?r.map(t=>`${e} ${t}`).join(","):`${e} :is(:where(${r})${o})`}}}}},autocomplete:`${t}-(${ln.map(e=>`${e[0]}:`).join("|")})`}]}};var bn={};const yn=(kn="https://fonts.bunny.net",{name:"bunny",getImportUrl:e=>`${kn}/css?family=${e.map(e=>{const{name:t,weights:n,italic:r}=e,o=t.toLowerCase().replace(/\s/g,"-");if(!n?.length)return`${o}${r?":i":""}`;let i=n.map(e=>e.toString());return!i.some(e=>e.endsWith("i"))&&r&&(i=i.map(e=>e+"i")),`${o}:${i.join(",")}`}).join("|")}&display=swap`});var kn;function wn(e,t){return{name:e,getImportUrl:e=>`${t}/css2?${e.map(e=>{let t=e.name.replace(/\s+/g,"+");const n=[];return e.italic&&n.push({axis:"ital",values:["0","1"]}),e.widths?.length&&n.push({axis:"wdth",values:e.widths.map(e=>e.toString())}),e.weights?.length&&n.push({axis:"wght",values:e.weights.map(e=>e.toString())}),n.length&&(t+=":",t+=n.map(e=>e.axis).join(","),t+="@",t+=function(e){if(!e||0===e.length)return"";let t=[[]];for(const{values:n}of e){const e=[];for(const r of t)for(const t of n)e.push([...r,t]);t=e}return t.map(e=>e.join(",")).join(";")}(n)),`family=${t}`}).join("&")}&display=swap`}}const vn=wn("google","https://fonts.googleapis.com"),xn=wn("coollabs","https://api.fonts.coollabs.io"),$n=function(e,t){return{name:e,getImportUrl:e=>`${t}/v2/css?${e.map(e=>{let t=e.name.replace(/\s+/g,"-").toLocaleLowerCase();return e.weights?.length?t+=`@${e.weights.flatMap(t=>e.italic?Number(t)+1:t).sort().join()}`:t+="@"+(e.italic?2:1),`f[]=${t}`}).join("&")}&display=swap`}}("fontshare","https://api.fontshare.com");const Sn=function(e,t){const n=new Map,r=new Map;return{name:e,getPreflight:async(e,o)=>(await Promise.all(e.map(async e=>{const i=[],a=e.name.toLowerCase().replace(/\s+/g,"-");let s=n.get(a);if(!s){const t=`https://api.fontsource.org/v1/fonts/${a}`;try{s=await o(t),n.set(a,s)}catch{throw new Error(`Failed to fetch font: ${e.name}`)}}const{weights:l,unicodeRange:c,variants:u,family:p}=s,d=s.subsets.filter(t=>!e.subsets||e.subsets.includes(t)),h=e.italic?"italic":"normal";if(s.variable&&!e.preferStatic){let n=r.get(a);const l=`https://api.fontsource.org/v1/variable/${a}`;try{n=await o(l),r.set(a,n)}catch{throw new Error(`Failed to fetch font variable: ${e.name}`)}const u=I(n.axes,e.variable??{});for(const e of d)if(c[e]){const n={family:p,display:"swap",style:h,weight:400,src:[{url:`${t}/fontsource/fonts/${s.id}:vf@latest/${e}-wght-${h}.woff2`,format:"woff2-variations"}],variable:{wght:u.wght??void 0,wdth:u.wdth??void 0,slnt:u.slnt??void 0},unicodeRange:c[e],comment:`${s.id}-${e}-wght-normal`};i.push(zn(n))}else Object.entries(c).filter(([e])=>!s.subsets.includes(e)).forEach(([e,n])=>{const r={family:p,display:"swap",style:h,weight:400,src:[{url:`${t}/fontsource/fonts/${s.id}:vf@latest/${e.slice(1,-1)}-wght-${h}.woff2`,format:"woff2-variations"}],variable:{wght:u.wght??void 0,wdth:u.wdth??void 0,slnt:u.slnt??void 0},unicodeRange:n,comment:`${s.id}-${e}-wght-normal`};i.push(zn(r))})}else{const t=e.weights&&e.weights.length>0?e.weights:l;for(const e of d)for(const n of t){const t=u[n][h][e].url,r={family:p,display:"swap",style:h,weight:Number(n),src:[{url:t.woff2,format:"woff2"}],unicodeRange:c[e],comment:`${s.id}-${e}-${n}-${h}`};i.push(zn(r))}}return i}))).flat().join("\n\n")}}("fontsource","https://cdn.jsdelivr.net");function zn(e){const{family:t,style:n,display:r,weight:o,variable:i,src:a,unicodeRange:s,comment:l,spacer:c="\n "}=e,{wght:u,wdth:p,slnt:d}=i??{};let h="@font-face {";var f;return h+=`${c}font-family: '${t}';`,h+=`${c}font-style: ${d?`oblique ${-1*Number(d.max)}deg ${-1*Number(d.min)}deg`:n};`,h+=`${c}font-display: ${r};`,h+=`${c}font-weight: ${u?(f=u,f?f.min===f.max?`${f.min}`:`${f.min} ${f.max}`:"400"):o};`,p&&(h+=`${c}font-stretch: ${p.min}% ${p.max}%;`),h+=`${c}src: ${a.map(({url:e,format:t})=>`url(${e}) format('${t}')`).join(", ")};`,s&&(h+=`${c}unicode-range: ${s};`),l&&(h=`/* ${l} */\n${h}`),`${h}\n}`}const Cn={google:vn,bunny:yn,fontshare:$n,fontsource:Sn,coollabs:xn,none:{name:"none",getPreflight:()=>"",getFontName:e=>e.name}};function jn(e){return"string"==typeof e?Cn[e]:e}const An=(En=async e=>(await Xe(async()=>{const{$fetch:e}=await import("./ofetch-xbea4qKc.js");return{$fetch:e}},[],import.meta.url)).$fetch(e,{headers:{"User-Agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36"},retry:3}),(e={})=>{const{provider:t="google",extendTheme:n=!0,inlineImports:r=!0,customFetch:o=En,timeouts:i={}}=e,a="fonts",s=r?a:d,l=g(e.processors||[]),c=Object.fromEntries(Object.entries(e.fonts||{}).map(([e,n])=>[e,g(n).map(e=>function(e,t){if("string"!=typeof e)return e.provider=jn(e.provider||t),e.weights&&(e.weights=[...new Set(e.weights.sort((e,t)=>e.toString().localeCompare(t.toString(),"en",{numeric:!0})))]),e.widths&&(e.widths=[...new Set(e.widths.sort((e,t)=>e.toString().localeCompare(t.toString(),"en",{numeric:!0})))]),e;const[n,r=""]=e.split(":");return{name:n,weights:[...new Set(r.split(/[,;]\s*/).filter(Boolean).sort((e,t)=>e.localeCompare(t,"en",{numeric:!0})))],provider:jn(t)}}(e,t))])),u=Object.values(c).flatMap(e=>e),p={};async function h(e){if(!1===i)return o(e);const{warning:t=1e3,failure:n=2e3}=i;let r=!1;const a=setTimeout(()=>{console.warn(`[unocss] Fetching web fonts: ${e}`),r=!0},t);return await Promise.race([o(e),new Promise((e,t)=>{setTimeout(()=>t(new Error("[unocss] Fetch web fonts timeout.")),n)})]).then(e=>(r&&console.info("[unocss] Web fonts fetched."),e)).finally(()=>clearTimeout(a))}async function f(e){return r?(p[e]||(p[e]=h(e).catch(t=>{if(console.error(`[unocss] Failed to fetch web fonts: ${e}`),console.error(t),"undefined"!=typeof process&&bn.CI)throw t})),await p[e]):`@import url('${e}');`}const m=Array.from(new Set(u.map(e=>e.provider)));async function b(e,t){const n=[];for(const o of t){const t=e.filter(e=>e.provider.name===o.name);if(o.getImportUrl){const e=o.getImportUrl(t);e&&n.push(await f(e))}try{n.push(await(o.getPreflight?.(t,h)))}catch(r){console.warn("[unocss] Web fonts preflight fetch failed.",r)}}return n.filter(Boolean).join("\n")}const y={name:"@unocss/preset-web-fonts",preflights:[{async getCSS(){let e;for(const t of l){const n=await(t.getCSS?.(u,m,b));if(n){e=n;break}}e||(e=await b(u,m));for(const t of l)e=await(t.transformCSS?.(e))||e;return e},layer:s}],layers:{[a]:-200}};return n&&(y.extendTheme=(t,n)=>{const r=n.presets.some(e=>"@unocss/preset-wind4"===e.name),o=e.themeKey??(r?"font":"fontFamily");t[o]||(t[o]={});const i=Object.fromEntries(Object.entries(c).map(([e,t])=>[e,t.map(e=>e.provider.getFontName?.(e)??`"${e.name}"`)]));for(const e of Object.keys(i))"string"==typeof t[o][e]?t[o][e]=i[e].map(e=>`${e},`).join("")+t[o][e]:t[o][e]=i[e].join(",")}),y});var En;function On({important:e}){if(null==e||!1===e)return[];return[t=>{var n;"properties"!==t.layer&&(!0===e?t.entries.forEach(e=>{null==e[1]||String(e[1]).endsWith("!important")||(e[1]+=" !important")}):t.selector.startsWith(e)||(t.selector=`${e} ${n=t.selector,n.startsWith(":is(")&&n.endsWith(")")?n:n.includes("::")?n.replace(/(.*?)((?:\s\*)?::.*)/,":is($1)$2"):`:is(${n})`}`))}]}function _n({variablePrefix:e}){return"un-"!==e?[t=>{t.entries.forEach(t=>{t[0]=t[0].replace(/^--un-/,`--${e}`),"string"==typeof t[1]&&(t[1]=t[1].replace(/var\(--un-/g,`var(--${e}`))})}]:[]}function Ln(e){return[On,_n].flatMap(t=>t(e))}var Tn=Object.defineProperty,Mn=(e,t)=>{let n={};for(var r in e)Tn(n,r,{get:e[r],enumerable:!0});return n};const Pn="$$mini-no-negative",Bn={transparent:"transparent",current:"currentColor",inherit:"inherit"},Rn={l:["-left"],r:["-right"],t:["-top"],b:["-bottom"],s:["-inline-start"],e:["-inline-end"],x:["-inline"],y:["-block"],"":[""],bs:["-block-start"],be:["-block-end"],is:["-inline-start"],ie:["-inline-end"],block:["-block-start","-block-end"],inline:["-inline-start","-inline-end"]},Fn={...Rn,x:["-inset-inline"],y:["-inset-block"],s:["-inset-inline-start"],start:["-inset-inline-start"],e:["-inset-inline-end"],end:["-inset-inline-end"],bs:["-inset-block-start"],be:["-inset-block-end"],is:["-inset-inline-start"],ie:["-inset-inline-end"],block:["-inset-block-start","-inset-block-end"],inline:["-inset-inline-start","-inset-inline-end"]},In={l:["-top-left","-bottom-left"],r:["-top-right","-bottom-right"],t:["-top-left","-top-right"],b:["-bottom-left","-bottom-right"],tl:["-top-left"],lt:["-top-left"],tr:["-top-right"],rt:["-top-right"],bl:["-bottom-left"],lb:["-bottom-left"],br:["-bottom-right"],rb:["-bottom-right"],"":[""],bs:["-start-start","-start-end"],be:["-end-start","-end-end"],s:["-end-start","-start-start"],is:["-end-start","-start-start"],e:["-start-end","-end-end"],ie:["-start-end","-end-end"],ss:["-start-start"],"bs-is":["-start-start"],"is-bs":["-start-start"],se:["-start-end"],"bs-ie":["-start-end"],"ie-bs":["-start-end"],es:["-end-start"],"be-is":["-end-start"],"is-be":["-end-start"],ee:["-end-end"],"be-ie":["-end-end"],"ie-be":["-end-end"]},Nn={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},Un=["x","y","z"],Dn=["top","top center","top left","top right","bottom","bottom center","bottom left","bottom right","left","left center","left top","left bottom","right","right center","right top","right bottom","center","center top","center bottom","center left","center right","center center"],Wn=Object.assign({},...Dn.map(e=>({[e.replace(/ /,"-")]:e})),...Dn.map(e=>({[e.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:e}))),qn=["inherit","initial","revert","revert-layer","unset"],Vn=/^(calc|clamp|min|max)\s*\((.+)\)(.*)/,Hn=/^(var)\s*\((.+)\)(.*)/,Xn=/^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i,Yn=/^(-?\d*(?:\.\d+)?)$/,Gn=/^(px|[sld]?v[wh])$/i,Kn={px:1,vw:100,vh:100,svw:100,svh:100,dvw:100,dvh:100,lvh:100,lvw:100},Zn=/^\[(color|image|length|size|position|quoted|string|number|family):/i,Qn=/,(?![^()]*\))/g;const Jn=["color","border-color","background-color","outline-color","text-decoration-color","flex-grow","flex","flex-shrink","caret-color","font","gap","opacity","visibility","z-index","font-weight","zoom","text-shadow","transform","box-shadow","border","background-position","left","right","top","bottom","object-position","max-height","min-height","max-width","min-width","height","width","border-width","margin","padding","outline-width","outline-offset","font-size","line-height","text-indent","vertical-align","border-spacing","letter-spacing","word-spacing","stroke","filter","backdrop-filter","fill","mask","mask-size","mask-border","clip-path","clip","border-radius"];function er(e){return+e.toFixed(10)}function tr(e){const t=e.match(Xn);if(!t)return;const[,n,r]=t,o=Number.parseFloat(n);return r&&!Number.isNaN(o)?`${er(o)}${r}`:void 0}function nr(e){if("auto"===e||"a"===e)return"auto"}function rr(e){if(!e)return;if(Gn.test(e))return`${Kn[e]}${e}`;const t=e.match(Xn);if(!t)return;const[,n,r]=t,o=Number.parseFloat(n);return Number.isNaN(o)?void 0:0===o?"0":r?`${er(o)}${r}`:`${er(o/4)}rem`}function or(e){if(Gn.test(e))return`${Kn[e]}${e}`;const t=e.match(Xn);if(!t)return;const[,n,r]=t,o=Number.parseFloat(n);return Number.isNaN(o)?void 0:r?`${er(o)}${r}`:`${er(o)}px`}function ir(e){if(!Yn.test(e))return;const t=Number.parseFloat(e);return Number.isNaN(t)?void 0:er(t)}function ar(e){e.endsWith("%")&&(e=e.slice(0,-1));const t=ir(e);if(null!=t)return`${t}%`}function sr(e){if(!e)return;if("full"===e)return"100%";const[t,n]=e.split("/"),r=Number.parseFloat(t)/Number.parseFloat(n);return Number.isNaN(r)?void 0:0===r?"0":`${er(100*r)}%`}function lr(e,t,n,r){const o=Er(r,t,n),i="object"==typeof o&&"DEFAULT"in o;i&&n.push("DEFAULT");const a=i?o.DEFAULT:o,s=i&&"spacing"!==t?`${e}.DEFAULT`:e;return null!=a&&Wr(t,n.length?n:void 0),{val:a,varKey:s}}function cr(e,t,n){if(e&&e.startsWith("[")&&e.endsWith("]")){let r,o;const i=e.match(Zn);if(i){if(t){if(i[1]!==t)return}else o=i[1];r=e.slice(i[0].length,-1)}else r=e.slice(1,-1);if(!r)return;if('=""'===r)return;if(r.startsWith("--")){const e=r.match(/^--([\w.-]+)\(([^)]+)\)$/);if(null!=e&&n){const[,t,o]=e,[i,...a]=t.split("."),{val:s,varKey:l}=lr(t,i,a,n);null!=s&&(r=`calc(var(--${$(l.replaceAll(".","-"))}) * ${o})`)}else{const[e,t]=r.slice(2).split(","),o=t?`, ${t}`:"",i=$(e);if(n){const[t,...a]=e.split("."),{val:s,varKey:l}=lr(e,t,a,n);r=null!=s?`var(--${$(l.replaceAll(".","-"))}${o})`:`var(--${i}${o})`}else r=`var(--${i}${o})`}}let a=0;for(const e of r)if("["===e)a+=1;else if("]"===e&&(a-=1,a<0))return;if(a)return;switch(o){case"string":return r.replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_");case"quoted":return r.replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_").replace(/(["\\])/g,"\\$1").replace(/^(.+)$/,'"$1"')}return r.replace(/(url\(.*?\))/g,e=>e.replace(/_/g,"\\_")).replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_").replace(/(?:calc|clamp|max|min)\((.*)/g,e=>{const t=[];return e.replace(/var\((--.+?)[,)]/g,(e,n)=>(t.push(n),e.replace(n,"--un-calc"))).replace(/(-?\d*\.?\d(?!-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 ").replace(/--un-calc/g,()=>t.shift())})}}function ur(e,t){return cr(e,void 0,t)}function pr(e,t){return cr(e,"color",t)}function dr(e,t){return cr(e,"length",t)||cr(e,"size",t)}function hr(e,t){return cr(e,"position",t)}function fr(e,t){return cr(e,"family",t)}function mr(e,t){return cr(e,"number",t)}function gr(e){if(e.startsWith("var("))return e;const t=e.match(/^(?:\$|--)([^\s'"`;{}]+)$/);if(t){const[e,n]=t[1].split(",");return`var(--${$(e)}${n?`, ${n}`:""})`}}function br(e){const t=e.match(/^(-?[0-9.]+)(s|ms)?$/i);if(!t)return;const[,n,r]=t,o=Number.parseFloat(n);return Number.isNaN(o)?void 0:0!==o||r?r?`${er(o)}${r}`:`${er(o)}ms`:"0s"}function yr(e){const t=e.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);if(!t)return;const[,n,r]=t,o=Number.parseFloat(n);return Number.isNaN(o)?void 0:0===o?"0deg":r?`${er(o)}${r}`:`${er(o)}deg`}function kr(e){if(qn.includes(e))return e}function wr(e){if(e.split(",").every(e=>Jn.includes(e)))return e}function vr(e){if(["top","left","right","bottom","center"].includes(e))return e}function xr(e){if("none"===e)return"none"}const $r=function(e){const t=function(t,n){var r;const o=(null===(r=this.__options)||void 0===r?void 0:r.sequence)||[];this.__options.sequence=[];for(const i of o){const r=e[i](t,n);if(null!=r)return r}};function n(e,t){return e.__options||(e.__options={sequence:[]}),e.__options.sequence.push(t),e}for(const r of Object.keys(e))Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get(){return n(this,r)}});return t}(Mn({auto:()=>nr,bracket:()=>ur,bracketOfColor:()=>pr,bracketOfFamily:()=>fr,bracketOfLength:()=>dr,bracketOfNumber:()=>mr,bracketOfPosition:()=>hr,cssvar:()=>gr,degree:()=>yr,fraction:()=>sr,global:()=>kr,none:()=>xr,number:()=>ir,numberWithUnit:()=>tr,percent:()=>ar,position:()=>vr,properties:()=>wr,px:()=>or,rem:()=>rr,time:()=>br})),Sr=$r;function zr(e,t){const n=Sr.number(e)??t;if(null!=n){let e=Number(n);return String(n).endsWith("%")&&(e=Number(String(n).slice(0,-1))/100),e}}function Cr(e,t=Rn,n=(e,t)=>`${e}${t}`){return([r,o,i="4"],{theme:a})=>{if(null!=i&&null!=o){let r;const s=i.startsWith("-");if(s&&(i=i.slice(1)),r=zr(i),null!=r&&!Number.isNaN(r))return Wr("spacing"),t[o].map(t=>[n(e,t),`calc(var(--spacing) * ${s?"-":""}${r})`]);if(a.spacing&&i in a.spacing)return Wr("spacing",i),t[o].map(t=>[n(e,t),s?`calc(var(--${$(`spacing-${i}`)}) * -1)`:`var(--${$(`spacing-${i}`)})`]);if(r=Sr.bracket.cssvar.global.auto.fraction.rem(s?`-${i}`:i,a),null!=r)return t[o].map(t=>[n(e,t),r])}}}function jr(e,t){let n;const[r,...o]=zt(e,["/",":"],3)??[];if(null!=r){const e=(r.match(Zn)??[])[1];null!=e&&"color"!==e||(n=[r,...o])}if(!n)return;let i,[a,s,l]=n;Lt(s)||Lt(Sr.bracket(s??""))?l=s:i=s;const c=a.replace(/([a-z])(\d)(?![-_a-z])/g,"$1-$2").split(/-/g),[u]=c;if(!u)return;let p=Ar(t,c);if(!p&&c.length>=2){const e=c.at(-1),n=c.at(-2);/^\d+$/.test(e)&&(p=Ar(t,c.slice(0,-2).concat([`${n}${e}`])))}let{no:d,keys:h,color:f}=p??{};if(!f){const e=Sr.bracketOfColor(a,t),n=e||a;if(Sr.numberWithUnit(n))return;/^#[\da-f]+$/i.test(n)?f=n:/^hex-[\da-fA-F]+$/.test(n)?f=`#${n.slice(4)}`:a.startsWith("$")&&(f=Sr.cssvar(a)),f=f||e}return{opacity:i,modifier:l&&Sr.bracket.cssvar(l)||l,name:u,no:d,color:f??Bn[u],alpha:Sr.bracket.cssvar.percent(i??""),keys:h,get cssColor(){return Tt(this.color)}}}function Ar(e,t){let n,r,o;const i=Er(e,"colors",t);if("object"==typeof i?"DEFAULT"in i&&(n=i.DEFAULT,r="DEFAULT",o=[...t,r]):"string"==typeof i&&(n=i,o=t,r=t.at(-1)),n)return{color:n,no:r,keys:o}}function Er(e,t,n){return function e(t,n){if(0===n.length)return t;if(t&&"object"==typeof t)for(let r=n.length;r>0;r--){const o=n.slice(0,r).join("-");if(o in t){const i=t[o];return r===n.length?i:e(i,n.slice(r))}}}(e[t],n)}function Or(e,t,n,r){if(!e)return;const{color:o,keys:i,alpha:a,modifier:s}=e,l="dev"===r?.generator.config.envMode&&o?` /* ${o} */`:"",c={};if(o){const e=[c],u=o.includes("var("),p=Object.values(Bn).includes(o);if(p&&!a)return c[t]=o,e;const d=`--un-${n}-opacity`,h=!i||u||p?o:qr("colors",i);let f=s??(i?"in srgb":"in oklab");if(f.startsWith("in ")||f.startsWith("var(")||(f=`in ${f}`),c[t]=`color-mix(${f}, ${h} ${a??`var(${d})`}, transparent)${l}`,e.push(Fr(d,{syntax:"<percentage>",initialValue:"100%"})),!p){if(i&&!u&&(Wr("colors",i),!s)){const r=["shadow","inset-shadow","text-shadow","drop-shadow"].includes(n)?`${a?`color-mix(in oklab, ${h} ${a}, transparent)`:`${h}`} var(${d})`:`${h} ${a??`var(${d})`}`;e.push({[ee.parent]:"@supports (color: color-mix(in lab, red, red))",[ee.noMerge]:!0,[t]:`color-mix(in oklab, ${r}, transparent)${l}`})}r?.theme&&Vr(o,r.theme)}return e}}function _r(e,t){return([,n],r)=>{const o=jr(n??"",r.theme);if(o)return Or(o,e,t,r)}}function Lr(e,t,n){const r=[];e=g(e);for(let o=0;o<e.length;o++){const i=zt(e[o]," ",6);if(!i||i.length<3)return e;let a=!1;const s=i.indexOf("inset");-1!==s&&(i.splice(s,1),a=!0);let l="";const c=i.at(-1);if(Tt(i.at(0))){const e=Tt(i.shift());e&&(l=Mt(e))}else if(Tt(c)){const e=Tt(i.pop());e&&(l=Mt(e))}else if(c&&c.startsWith("var(")){const e=i.pop();e&&(l=e)}r.push(`${a?"inset ":""}${i.join(" ")} var(${t}, ${n?`oklab(from ${l} l a b / ${n})`:l})`)}return r}function Tr(e,t){return null!=e&&!!jr(e,t)?.color}const Mr=/[a-z]+/gi,Pr=new WeakMap;function Br({theme:e,generator:t},n="breakpoint"){const r=t?.userConfig?.theme?.[n]||e[n];if(!r)return;if(Pr.has(e))return Pr.get(e);const o=Object.entries(r).sort((e,t)=>Number.parseInt(e[1].replace(Mr,""))-Number.parseInt(t[1].replace(Mr,""))).map(([e,t])=>({point:e,size:t}));return Pr.set(e,o),o}function Rr(e,t){return qn.map(n=>[`${e}-${n}`,{[t??e]:n}])}function Fr(e,t={}){const{syntax:n="*",inherits:r=!1,initialValue:o}=t,i={[ee.shortcutsNoMerge]:!0,[ee.noMerge]:!0,[ee.variants]:()=>[{parent:"",layer:"properties",selector:()=>`@property ${e}`}],syntax:JSON.stringify(n),inherits:r?"true":"false"};return null!=o&&(i["initial-value"]=o),function(e,t){Hr.has(e)||Hr.set(e,t)}(e,o?String(o):"initial"),i}function Ir(e){return null!=e&&Vn.test(e)}function Nr(e){return e.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}function Ur(e,t=!1){return t?e.trim():e.trim().replace(/\s+/g," ").replace(/\/\*[\s\S]*?\*\//g,"")}const Dr=new Set([]);function Wr(e,t="DEFAULT"){const n=`${e}:${g(t).join("-")}`;Dr.has(n)||Dr.add(n)}function qr(e,t){return`var(--${e}-${g(t).join("-")})`}function Vr(e,t){if(e.startsWith("var(")){const n=e.match(/var\(--([\w-]+)(?:,.*)?\)/)?.[1];if(n){const[e,...r]=n.split("-"),o=Er(t,e,r);"string"==typeof o&&(Wr(e,r),Vr(o,t))}}}const Hr=new Map;const Xr=/@media \(min-width: (.+)\)/,Yr=[[/^__container$/,(e,t)=>{const{theme:n,variantHandlers:r}=t,o=n.containers?.padding;let i;i=k(o)?o:o?.DEFAULT;const a=n.containers?.maxWidth;let s;for(const c of r){const e=c.handle?.({},e=>e)?.parent;if(k(e)){const n=e.match(Xr)?.[1];if(n){const e=(Br(t)??[]).find(e=>e.size===n)?.point;a?e&&(s=a?.[e]):s=n,e&&!k(o)&&(i=o?.[e]??i)}}}const l={"max-width":s};return r.length||(l.width="100%"),n.containers?.center&&(l["margin-left"]="auto",l["margin-right"]="auto"),o&&(l["padding-left"]=i,l["padding-right"]=i),l},{internal:!0}]],Gr=[[/^(?:(\w+)[:-])?container$/,([,e],t)=>{let n=(Br(t)??[]).map(e=>e.point);if(e){if(!n.includes(e))return;n=n.slice(n.indexOf(e))}const r=n.map(e=>`${e}:__container`);return e||r.unshift("__container"),r}]],Kr={mid:"middle",base:"baseline",btm:"bottom",baseline:"baseline",top:"top",start:"top",middle:"middle",bottom:"bottom",end:"bottom","text-top":"text-top","text-bottom":"text-bottom",sub:"sub",super:"super",...Object.fromEntries(qn.map(e=>[e,e]))},Zr=[[/^(?:vertical|align|v)-(.+)$/,([,e])=>({"vertical-align":Kr[e]??Sr.bracket.cssvar.numberWithUnit(e)}),{autocomplete:[`(vertical|align|v)-(${Object.keys(Kr).join("|")})`,"(vertical|align|v)-<percentage>"]}]],Qr=["center","left","right","justify","start","end"],Jr=[...Qr.map(e=>[`text-${e}`,{"text-align":e}]),...[...qn,...Qr].map(e=>[`text-align-${e}`,{"text-align":e}])],eo=[[/^(?:animate-)?keyframes-(.+)$/,([,e],{theme:t})=>{const n=t.animation?.keyframes?.[e];if(n)return[`@keyframes ${e}${n}`,{animation:e}]},{autocomplete:["animate-keyframes-$animation.keyframes","keyframes-$animation.keyframes"]}],[/^animate-(.+)$/,([,e],{theme:t})=>{const n=t.animation?.keyframes?.[e];if(n){const r=t.animation?.durations?.[e]??"1s",o=t.animation?.timingFns?.[e]??"linear",i=t.animation?.counts?.[e]??1,a=t.animation?.properties?.[e];return[`@keyframes ${e}${n}`,{animation:`${e} ${r} ${o} ${i}`,...a}]}return{animation:Sr.bracket.cssvar(e)}},{autocomplete:"animate-$animation.keyframes"}],[/^animate-name-(.+)/,([,e])=>({"animation-name":Sr.bracket.cssvar(e)??e})],[/^animate-duration-(.+)$/,([,e],{theme:t})=>({"animation-duration":t.duration?.[e||"DEFAULT"]??Sr.bracket.cssvar.time(e)}),{autocomplete:["animate-duration"]}],[/^animate-delay-(.+)$/,([,e],{theme:t})=>({"animation-delay":t.duration?.[e||"DEFAULT"]??Sr.bracket.cssvar.time(e)}),{autocomplete:["animate-delay"]}],[/^animate-ease(?:-(.+))?$/,([,e],{theme:t})=>({"animation-timing-function":t.ease?.[e||"DEFAULT"]??Sr.bracket.cssvar(e)}),{autocomplete:["animate-ease","animate-ease-$ease"]}],[/^animate-(fill-mode-|fill-|mode-)?(.+)$/,([,e,t])=>["none","forwards","backwards","both",e?qn:[]].includes(t)?{"animation-fill-mode":t}:void 0,{autocomplete:["animate-(fill|mode|fill-mode)","animate-(fill|mode|fill-mode)-(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)","animate-(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)"]}],[/^animate-(direction-)?(.+)$/,([,e,t])=>["normal","reverse","alternate","alternate-reverse",e?qn:[]].includes(t)?{"animation-direction":t}:void 0,{autocomplete:["animate-direction","animate-direction-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)","animate-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)"]}],[/^animate-(?:iteration-count-|iteration-|count-)(.+)$/,([,e])=>({"animation-iteration-count":Sr.bracket.cssvar(e)??e.replace(/-/g,",")}),{autocomplete:["animate-(iteration|count|iteration-count)","animate-(iteration|count|iteration-count)-<num>"]}],[/^animate-(play-state-|play-|state-)?(.+)$/,([,e,t])=>["paused","running",e?qn:[]].includes(t)?{"animation-play-state":t}:void 0,{autocomplete:["animate-(play|state|play-state)","animate-(play|state|play-state)-(paused|running|inherit|initial|revert|revert-layer|unset)","animate-(paused|running|inherit|initial|revert|revert-layer|unset)"]}],["animate-none",{animation:"none"}],...Rr("animate","animation")],to={"gradient-position":Fr("--un-gradient-position"),"gradient-from":Fr("--un-gradient-from",{syntax:"<color>",initialValue:"#0000"}),"gradient-via":Fr("--un-gradient-via",{syntax:"<color>",initialValue:"#0000"}),"gradient-to":Fr("--un-gradient-to",{syntax:"<color>",initialValue:"#0000"}),"gradient-stops":Fr("--un-gradient-stops"),"gradient-via-stops":Fr("--un-gradient-via-stops"),"gradient-from-position":Fr("--un-gradient-from-position",{syntax:"<length-percentage>",initialValue:"0%"}),"gradient-via-position":Fr("--un-gradient-via-position",{syntax:"<length-percentage>",initialValue:"50%"}),"gradient-to-position":Fr("--un-gradient-to-position",{syntax:"<length-percentage>",initialValue:"100%"})};function no(e){let t="in oklab";if(e)if(e.startsWith("[")&&e.endsWith("]"))t=e.slice(1,-1);else switch(e){case"longer":case"shorter":case"increasing":case"decreasing":t=`in oklch ${e} hue`;break;default:t=`in ${e}`}return t}const ro=[[/^bg-(linear|radial|conic)-([^/]+)(?:\/(.+))?$/,([,e,t,n])=>{let r;if(r=null!=Sr.number(t)?`from ${Sr.number(t)}deg ${no(n)};`:Sr.bracket(t),r)return{"--un-gradient-position":r,"background-image":`${e}-gradient(var(--un-gradient-stops))`}},{autocomplete:["bg-(linear|radial|conic)","(from|to|via)-$colors","(from|to|via)-(op|opacity)","(from|to|via)-(op|opacity)-<percent>"]}],[/^(from|via|to|stops)-(.+)$/,function*([,e,t],{theme:n}){const r={},o=jr(t,n);if(o){const{color:t,keys:i,alpha:a}=o;if(t){if(Object.values(Bn).includes(t))r[`--un-gradient-${e}`]=t;else{r[`--un-${e}-opacity`]=a;const n=i?qr("colors",i):t;r[`--un-gradient-${e}`]=`color-mix(in oklab, ${n} var(--un-${e}-opacity), transparent)`,yield Fr(`--un-${e}-opacity`,{syntax:"<percentage>",initialValue:"100%"})}i&&Wr("colors",i),n&&Vr(t,n)}}else r[`--un-gradient-${e}`]=Sr.bracket.cssvar(t);if(r[`--un-gradient-${e}`]){switch(e){case"from":case"to":yield{...r,"--un-gradient-stops":"var(--un-gradient-via-stops, var(--un-gradient-position), var(--un-gradient-from) var(--un-gradient-from-position), var(--un-gradient-to) var(--un-gradient-to-position))"};break;case"via":yield{...r,"--un-gradient-via-stops":"var(--un-gradient-position), var(--un-gradient-from) var(--un-gradient-from-position), var(--un-gradient-via) var(--un-gradient-via-position), var(--un-gradient-to) var(--un-gradient-to-position)","--un-gradient-stops":"var(--un-gradient-via-stops)"};break;case"stops":yield{...r}}for(const e of Object.values(to))yield e}}],[/^(from|via|to)-op(?:acity)?-?(.+)$/,([,e,t])=>({[`--un-${e}-opacity`]:Sr.bracket.percent(t)})],[/^(from|via|to)-([\d.]+%)$/,function*([,e,t]){yield{[`--un-gradient-${e}-position`]:`${Sr.bracket.cssvar.percent(t)}`};for(const n of Object.values(to))yield n}],[/^bg-((?:repeating-)?(?:linear|radial|conic))$/,([,e])=>({"background-image":`${e}-gradient(var(--un-gradient, var(--un-gradient-stops, rgb(255 255 255 / 0))))`}),{autocomplete:["bg-gradient-repeating","bg-gradient-(linear|radial|conic)","bg-gradient-repeating-(linear|radial|conic)"]}],[/^bg-(gradient|linear|radial|conic)(?:-to-([rltb]{1,2}))?(?:\/(.+))?$/,([,e,t,n])=>({"--un-gradient-position":`${t in Wn?`to ${Wn[t]} `:" "}${no(n)}`,"background-image":`${"gradient"===e?"linear":e}-gradient(var(--un-gradient-stops))`}),{autocomplete:["gradient","linear","radial","conic"].map(e=>`bg-${e}-to-(${Object.keys(Wn).filter(e=>e.length<=2&&Array.from(e).every(e=>"rltb".includes(e))).join("|")})`)}],["bg-none",{"background-image":"none"}],["box-decoration-slice",{"box-decoration-break":"slice"}],["box-decoration-clone",{"box-decoration-break":"clone"}],...Rr("box-decoration","box-decoration-break"),["bg-auto",{"background-size":"auto"}],["bg-cover",{"background-size":"cover"}],["bg-contain",{"background-size":"contain"}],[/^bg-size-(.+)$/,([,e])=>({"background-size":Sr.bracket.cssvar(e)})],["bg-fixed",{"background-attachment":"fixed"}],["bg-local",{"background-attachment":"local"}],["bg-scroll",{"background-attachment":"scroll"}],["bg-clip-border",{"-webkit-background-clip":"border-box","background-clip":"border-box"}],["bg-clip-content",{"-webkit-background-clip":"content-box","background-clip":"content-box"}],["bg-clip-padding",{"-webkit-background-clip":"padding-box","background-clip":"padding-box"}],["bg-clip-text",{"-webkit-background-clip":"text","background-clip":"text"}],...qn.map(e=>[`bg-clip-${e}`,{"-webkit-background-clip":e,"background-clip":e}]),[/^bg-([-\w]{3,})$/,([,e])=>({"background-position":Wn[e]})],["bg-repeat",{"background-repeat":"repeat"}],["bg-no-repeat",{"background-repeat":"no-repeat"}],["bg-repeat-x",{"background-repeat":"repeat-x"}],["bg-repeat-y",{"background-repeat":"repeat-y"}],["bg-repeat-round",{"background-repeat":"round"}],["bg-repeat-space",{"background-repeat":"space"}],...Rr("bg-repeat","background-repeat"),["bg-origin-border",{"background-origin":"border-box"}],["bg-origin-padding",{"background-origin":"padding-box"}],["bg-origin-content",{"background-origin":"content-box"}],...Rr("bg-origin","background-origin")],oo=[[/^outline-(?:width-|size-)?(.+)$/,io,{autocomplete:"outline-(width|size)-<num>"}],[/^outline-(?:color-)?(.+)$/,function*(e,t){if(Ir(Sr.bracket(e[1])))yield*io(e);else{const n=_r("outline-color","outline")(e,t);if(n)for(const e of n)yield e}},{autocomplete:"outline-$colors"}],[/^outline-op(?:acity)?-?(.+)$/,([,e])=>({"--un-outline-opacity":Sr.bracket.percent.cssvar(e)}),{autocomplete:"outline-(op|opacity)-<percent>"}],[/^outline-offset-(.+)$/,([,e])=>({"outline-offset":Sr.bracket.cssvar.global.px(e)}),{autocomplete:"outline-(offset)-<num>"}],["outline-offset-none",{"outline-offset":"0"}],["outline",[{"outline-style":"var(--un-outline-style)","outline-width":"1px"},Fr("--un-outline-style",{initialValue:"solid"})]],["outline-hidden",[{"outline-style":"none"},{[ee.parent]:"@media (forced-colors: active)",outline:"2px solid transparent","outline-offset":"2px"}]],["outline-none",{"--un-outline-style":"none","outline-style":"none"}],...["auto","dashed","dotted","double","solid","groove","ridge","inset","outset",...qn].map(e=>[`outline-${e}`,{"--un-outline-style":e,"outline-style":e}])];function*io([,e]){const t=Sr.bracket.cssvar.global.px(e);null!=t&&(yield{"outline-style":"var(--un-outline-style)","outline-width":t},yield Fr("--un-outline-style",{initialValue:"solid"}))}function ao(e){const t=Sr.bracket(e);return t&&Sr.properties(t)?t:Sr.properties.auto.cssvar.global(e)??{contents:"contents",scroll:"scroll-position"}[e]}const so=[[/^will-change-(.+)/,([,e])=>({"will-change":ao(e)})]],lo={disc:"disc",circle:"circle",square:"square",decimal:"decimal","zero-decimal":"decimal-leading-zero",greek:"lower-greek",roman:"lower-roman","upper-roman":"upper-roman",alpha:"lower-alpha","upper-alpha":"upper-alpha",latin:"lower-latin","upper-latin":"upper-latin"},co=[[/^list-(.+?)(?:-(outside|inside))?$/,([,e,t])=>{const n=lo[e];if(n)return t?{"list-style-position":t,"list-style-type":n}:{"list-style-type":n}},{autocomplete:[`list-(${Object.keys(lo).join("|")})`,`list-(${Object.keys(lo).join("|")})-(outside|inside)`]}],["list-outside",{"list-style-position":"outside"}],["list-inside",{"list-style-position":"inside"}],["list-none",{"list-style-type":"none"}],[/^list-image-(.+)$/,([,e])=>{if(/^\[url\(.+\)\]$/.test(e))return{"list-style-image":Sr.bracket(e)}}],["list-image-none",{"list-style-image":"none"}],...Rr("list","list-style-type")],uo=[[/^accent-(.+)$/,_r("accent-color","accent"),{autocomplete:"accent-$colors"}],[/^accent-op(?:acity)?-?(.+)$/,([,e])=>({"--un-accent-opacity":Sr.bracket.percent(e)}),{autocomplete:["accent-(op|opacity)","accent-(op|opacity)-<percent>"]}]],po=[[/^caret-(.+)$/,_r("caret-color","caret"),{autocomplete:"caret-$colors"}],[/^caret-op(?:acity)?-?(.+)$/,([,e])=>({"--un-caret-opacity":Sr.bracket.percent(e)}),{autocomplete:["caret-(op|opacity)","caret-(op|opacity)-<percent>"]}]],ho=[["overscroll-auto",{"overscroll-behavior":"auto"}],["overscroll-contain",{"overscroll-behavior":"contain"}],["overscroll-none",{"overscroll-behavior":"none"}],...Rr("overscroll","overscroll-behavior"),["overscroll-x-auto",{"overscroll-behavior-x":"auto"}],["overscroll-x-contain",{"overscroll-behavior-x":"contain"}],["overscroll-x-none",{"overscroll-behavior-x":"none"}],...Rr("overscroll-x","overscroll-behavior-x"),["overscroll-y-auto",{"overscroll-behavior-y":"auto"}],["overscroll-y-contain",{"overscroll-behavior-y":"contain"}],["overscroll-y-none",{"overscroll-behavior-y":"none"}],...Rr("overscroll-y","overscroll-behavior-y")],fo=[["scroll-auto",{"scroll-behavior":"auto"}],["scroll-smooth",{"scroll-behavior":"smooth"}],...Rr("scroll","scroll-behavior")],mo=["solid","dashed","dotted","double","hidden","none","groove","ridge","inset","outset",...qn],go=[[/^(?:border|b)()(?:-(.+))?$/,bo,{autocomplete:"(border|b)-<directions>"}],[/^(?:border|b)-([xy])(?:-(.+))?$/,bo],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,bo],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,bo],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,bo],[/^(?:border|b)-()(?:width|size)-(.+)$/,bo,{autocomplete:["(border|b)-<num>","(border|b)-<directions>-<num>"]}],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,bo],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,bo],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,bo],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,bo],[/^(?:border|b)-()(?:color-)?(.+)$/,yo,{autocomplete:["(border|b)-$colors","(border|b)-<directions>-$colors"]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,yo],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,yo],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,yo],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,yo],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,ko,{autocomplete:"(border|b)-(op|opacity)-<percent>"}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,ko],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,ko],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,ko],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,ko],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,wo,{autocomplete:["(border|b)-(rounded|rd)","(border|b)-(rounded|rd)-$radius","(rounded|rd)","(rounded|rd)-$radius"]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltbse])(?:-(.+))?$/,wo],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,wo],[/^(?:border-|b-)?(?:rounded|rd)-([bise][se])(?:-(.+))?$/,wo],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,wo],[/^(?:border|b)-(?:style-)?()(.+)$/,vo,{autocomplete:["(border|b)-style",`(border|b)-(${mo.join("|")})`,"(border|b)-<directions>-style",`(border|b)-<directions>-(${mo.join("|")})`,`(border|b)-<directions>-style-(${mo.join("|")})`,`(border|b)-style-(${mo.join("|")})`]}],[/^(?:border|b)-([xy])-(?:style-)?(.+)$/,vo],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,vo],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,vo],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,vo]];function bo([,e="",t="1"]){const n=Sr.bracket.cssvar.global.px(t);if(e in Rn&&null!=n)return Rn[e].map(e=>[`border${e}-width`,n])}function yo([,e="",t],n){if(e in Rn){if(Ir(Sr.bracket(t)))return bo(["",e,t]);if(Tr(t,n.theme)){const r=Rn[e].map(e=>{return(r=e,([,e],t)=>{const n=jr(e,t.theme),o=Or(n,`border${r}-color`,`border${r}`,t);if(o){const e=o[0];return n?.color&&!Object.values(Bn).includes(n.color)&&!n.alpha&&r&&""!==r&&(e[`--un-border${r}-opacity`]="var(--un-border-opacity)"),o}})(["",t],n);var r}).filter(_);return[r.map(e=>e[0]).reduce((e,t)=>(Object.assign(e,t),e),{}),...r.flatMap(e=>e.slice(1))]}}}function ko([,e="",t]){const n=Sr.bracket.percent.cssvar(t);if(e in Rn&&null!=n)return Rn[e].map(e=>[`--un-border${e}-opacity`,n])}function wo([,e="",t="DEFAULT"],{theme:n}){if(e in In){if("full"===t)return In[e].map(e=>[`border${e}-radius`,"calc(infinity * 1px)"]);const r=n.radius?.[t]??Sr.bracket.cssvar.global.fraction.rem(t);if(null!=r){const o=n.radius&&t in n.radius;return o&&Wr("radius",t),In[e].map(e=>[`border${e}-radius`,o?qr("radius",t):r])}}}function vo([,e="",t]){if(mo.includes(t)&&e in Rn)return[["--un-border-style",t],...Rn[e].map(e=>[`border${e}-style`,t])]}const xo=[[/^op(?:acity)?-?(.+)$/,([,e])=>({opacity:Sr.bracket.percent.cssvar(e)})]],$o=/^\[url\(.+\)\]$/,So=/^\[(?:length|size):.+\]$/,zo=/^\[position:.+\]$/,Co=/^\[(?:linear|conic|radial)-gradient\(.+\)\]$/,jo=/^\[image:.+\]$/,Ao=[[/^bg-(.+)$/,(...e)=>{const t=e[0][1];if($o.test(t))return{"--un-url":Sr.bracket(t),"background-image":"var(--un-url)"};if(So.test(t)&&null!=Sr.bracketOfLength(t))return{"background-size":Sr.bracketOfLength(t).split(" ").map(e=>Sr.fraction.auto.px.cssvar(e)??e).join(" ")};if("["===(n=t)[0]&&"]"===n.slice(-1)&&(n=n.slice(1,-1)),(Vn.test(n)||Xn.test(n)||zo.test(t))&&null!=Sr.bracketOfPosition(t))return{"background-position":Sr.bracketOfPosition(t).split(" ").map(e=>Sr.position.fraction.auto.px.cssvar(e)??e).join(" ")};var n;if(Co.test(t)||jo.test(t)){const e=Sr.bracket(t);if(e){return{"background-image":(e.startsWith("http")?`url(${e})`:Sr.cssvar(e))??e}}}return _r("background-color","bg")(...e)},{autocomplete:"bg-$colors"}],[/^bg-op(?:acity)?-?(.+)$/,([,e])=>({"--un-bg-opacity":Sr.bracket.percent.cssvar(e)}),{autocomplete:"bg-(op|opacity)-<percent>"}]],Eo=[[/^columns-(.+)$/,([,e],{theme:t})=>t.container&&e in t.container?(Wr("container",e),{columns:qr("container",e)}):{columns:Sr.bracket.numberWithUnit.number.cssvar(e)},{autocomplete:["columns-<num>","columns-$container"]}],["columns-auto",{columns:"auto"}],["break-before-auto",{"break-before":"auto"}],["break-before-avoid",{"break-before":"avoid"}],["break-before-all",{"break-before":"all"}],["break-before-avoid-page",{"break-before":"avoid-page"}],["break-before-page",{"break-before":"page"}],["break-before-left",{"break-before":"left"}],["break-before-right",{"break-before":"right"}],["break-before-column",{"break-before":"column"}],...Rr("break-before"),["break-inside-auto",{"break-inside":"auto"}],["break-inside-avoid",{"break-inside":"avoid"}],["break-inside-avoid-page",{"break-inside":"avoid-page"}],["break-inside-avoid-column",{"break-inside":"avoid-column"}],...Rr("break-inside"),["break-after-auto",{"break-after":"auto"}],["break-after-avoid",{"break-after":"avoid"}],["break-after-all",{"break-after":"all"}],["break-after-avoid-page",{"break-after":"avoid-page"}],["break-after-page",{"break-after":"page"}],["break-after-left",{"break-after":"left"}],["break-after-right",{"break-after":"right"}],["break-after-column",{"break-after":"column"}],...Rr("break-after")],Oo=["solid","double","dotted","dashed","wavy",...qn],_o=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,e])=>({"text-decoration-line":e}),{autocomplete:"decoration-(underline|overline|line-through)"}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,Lo,{autocomplete:"(underline|decoration)-<num>"}],[/^(?:underline|decoration)-(auto|from-font)$/,([,e])=>({"text-decoration-thickness":e}),{autocomplete:"(underline|decoration)-(auto|from-font)"}],[/^(?:underline|decoration)-(.+)$/,function(e,t){if(Ir(Sr.bracket(e[1])))return Lo(e);const n=_r("text-decoration-color","line")(e,t);if(n){const e=n[0];return e["-webkit-text-decoration-color"]=e["text-decoration-color"],n}},{autocomplete:"(underline|decoration)-$colors"}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-line-opacity":Sr.bracket.percent.cssvar(e)}),{autocomplete:"(underline|decoration)-(op|opacity)-<percent>"}],[/^(?:underline|decoration)-offset-(.+)$/,([,e])=>({"text-underline-offset":Sr.auto.bracket.cssvar.global.px(e)}),{autocomplete:"(underline|decoration)-(offset)-<num>"}],...Oo.map(e=>[`underline-${e}`,{"text-decoration-style":e}]),...Oo.map(e=>[`decoration-${e}`,{"text-decoration-style":e}]),["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];function Lo([,e]){return{"text-decoration-thickness":Sr.bracket.cssvar.global.px(e)}}const To=[[/^pa?()-?(.+)$/,Cr("padding"),{autocomplete:["(m|p)<num>","(m|p)-<num>"]}],[/^p-?xy()()$/,Cr("padding"),{autocomplete:"(m|p)-(xy)"}],[/^p-?([xy])(?:-?(.+))?$/,Cr("padding")],[/^p-?([rltbse])(?:-?(.+))?$/,Cr("padding"),{autocomplete:"(m|p)<directions>-<num>"}],[/^p-(block|inline)(?:-(.+))?$/,Cr("padding"),{autocomplete:"(m|p)-(block|inline)-<num>"}],[/^p-?([bi][se])(?:-?(.+))?$/,Cr("padding"),{autocomplete:"(m|p)-(bs|be|is|ie)-<num>"}]],Mo=[[/^ma?()-?(.+)$/,Cr("margin")],[/^m-?xy()()$/,Cr("margin")],[/^m-?([xy])(?:-?(.+))?$/,Cr("margin")],[/^m-?([rltbse])(?:-?(.+))?$/,Cr("margin")],[/^m-(block|inline)(?:-(.+))?$/,Cr("margin")],[/^m-?([bi][se])(?:-?(.+))?$/,Cr("margin")]],Po=[[/^space-([xy])-(.+)$/,function*([e,t,n],{theme:r,symbols:o}){let i;const a=zr(n);null!=a?(Wr("spacing"),i=`calc(var(--spacing) * ${a})`):i=r.spacing?.[n]??Sr.bracket.cssvar.auto.fraction.rem(n||"1");if(null!=i){const n=Rn["x"===t?"inline":"block"].map((e,n)=>[`margin${e}`,` calc(${i} * ${0===n?`var(--un-space-${t}-reverse)`:`calc(1 - var(--un-space-${t}-reverse))`})`]);n&&(yield{[o.variants]:[Bo(e)],[`--un-space-${t}-reverse`]:"0",...Object.fromEntries(n)},yield Fr(`--un-space-${t}-reverse`,{initialValue:0}))}},{autocomplete:["space-(x|y)","space-(x|y)-reverse","space-(x|y)-$spacing"]}],[/^space-([xy])-reverse$/,function*([e,t],{symbols:n}){yield{[n.variants]:[Bo(e)],[`--un-space-${t}-reverse`]:"1"},yield Fr(`--un-space-${t}-reverse`,{initialValue:0})}]];function Bo(e){return{matcher:e,handle:(e,t)=>t({...e,parent:`${e.parent?`${e.parent} $$ `:""}${e.selector}`,selector:":where(&>:not(:last-child))"})}}const Ro=[[/^divide-(.+)$/,function*(e,t){const n=_r("border-color","divide")(e,t);n&&(yield{[t.symbols.variants]:[Bo(e[0])],...n[0]},yield n[1])},{autocomplete:"divide-$colors"}],[/^divide-op(?:acity)?-?(.+)$/,function*([e,t],{symbols:n}){yield{[n.variants]:[Bo(e)],"--un-divide-opacity":Sr.bracket.percent(t)}},{autocomplete:["divide-(op|opacity)","divide-(op|opacity)-<percent>"]}],[/^divide-?([xy])$/,Fo,{autocomplete:["divide-(x|y)","divide-(x|y)-reverse"]}],[/^divide-?([xy])-?(.+)$/,Fo],[/^divide-?([xy])-reverse$/,function*([e,t],{symbols:n}){yield{[n.variants]:[Bo(e)],[`--un-divide-${t}-reverse`]:"1"},yield Fr(`--un-divide-${t}-reverse`,{initialValue:0})}],[new RegExp(`^divide-(${mo.join("|")})$`),function*([e,t],{symbols:n}){yield{[n.variants]:[Bo(e)],"border-style":t}},{autocomplete:mo.map(e=>`divide-${e}`)}]];function*Fo([e,t,n],{symbols:r}){let o=Sr.bracket.cssvar.px(n||"1");if(null!=o){"0"===o&&(o="0px");const n={x:["-left","-right"],y:["-top","-bottom"]}[t].map(e=>{const n=e.endsWith("left")||e.endsWith("top")?`calc(${o} * var(--un-divide-${t}-reverse))`:`calc(${o} * calc(1 - var(--un-divide-${t}-reverse)))`;return[[`border${e}-width`,n],[`border${e}-style`,"var(--un-border-style)"]]});n&&(yield{[r.variants]:[Bo(e)],[`--un-divide-${t}-reverse`]:0,...Object.fromEntries(n.flat())},yield Fr(`--un-divide-${t}-reverse`,{initialValue:0}),yield Fr("--un-border-style",{initialValue:"solid"}))}}const Io=["blur","brightness","contrast","grayscale","hue-rotate","invert","saturate","sepia","drop-shadow"],No=Io.map(e=>Fr(`--un-${e}`)),Uo=Io.map(e=>`var(--un-${e},)`).join(" "),Do=["backdrop-blur","backdrop-brightness","backdrop-contrast","backdrop-grayscale","backdrop-hue-rotate","backdrop-invert","backdrop-opacity","backdrop-saturate","backdrop-sepia"],Wo=Do.map(e=>Fr(`--un-${e}`)),qo=Do.map(e=>`var(--un-${e},)`).join(" ");function Vo(e){let t=Sr.bracket.cssvar(e||"");return null!=t?t:(t=e?Sr.percent(e):"100%",null!=t&&Number.parseFloat(t.slice(0,-1))<=100?t:void 0)}function Ho(e,t){return([,n,r],{theme:o})=>{const i=t(r,o)??("none"===r?"0":"");if(""!==i)return n?[{[`--un-${n}${e}`]:`${e}(${i})`,"-webkit-backdrop-filter":qo,"backdrop-filter":qo},...Wo]:[{[`--un-${e}`]:`${e}(${i})`,filter:Uo},...No]}}const Xo=[[/^(?:(backdrop-)|filter-)?blur(?:-(.+))?$/,Ho("blur",(e,t)=>t.blur?.[e||"DEFAULT"]||Sr.bracket.cssvar.px(e)),{autocomplete:["(backdrop|filter)-blur-$blur","blur-$blur","filter-blur"]}],[/^(?:(backdrop-)|filter-)?brightness-(.+)$/,Ho("brightness",e=>Sr.bracket.cssvar.percent(e)),{autocomplete:["(backdrop|filter)-brightness-<percent>","brightness-<percent>"]}],[/^(?:(backdrop-)|filter-)?contrast-(.+)$/,Ho("contrast",e=>Sr.bracket.cssvar.percent(e)),{autocomplete:["(backdrop|filter)-contrast-<percent>","contrast-<percent>"]}],[/^(?:filter-)?drop-shadow(?:-?(.+))?$/,function(e,t){const[,n]=e,{theme:r}=t;let o=[];n&&(o=zt(n,"/",2)??[],n.startsWith("/")&&(o=["",n.slice(1)]));let i=r.dropShadow?.[o[0]||"DEFAULT"];const a=n?Sr.bracket.cssvar(n):void 0;if((null!=i||null!=a)&&!Tr(a,r)){const e=o[1]?Sr.bracket.percent.cssvar(o[1]):void 0;return[{"--un-drop-shadow-opacity":e,"--un-drop-shadow":`drop-shadow(${Lr(i||a,"--un-drop-shadow-color",e).join(") drop-shadow(")})`,filter:Uo},...No]}return Tr(n,r)?_r("--un-drop-shadow-color","drop-shadow")(e,t):(i=Sr.bracket.cssvar(n)??("none"===n?"":void 0),null!=i?[{"--un-drop-shadow":i?`drop-shadow(${i})`:i,filter:Uo},...No]:void 0)},{autocomplete:["filter-drop","filter-drop-shadow","filter-drop-shadow-color","drop-shadow","drop-shadow-color","filter-drop-shadow-$dropShadow","drop-shadow-$dropShadow","filter-drop-shadow-$colors","drop-shadow-$colors","filter-drop-shadow-color-$colors","drop-shadow-color-$colors","filter-drop-shadow-color-(op|opacity)","drop-shadow-color-(op|opacity)","filter-drop-shadow-color-(op|opacity)-<percent>","drop-shadow(-color)?-(op|opacity)-<percent>"]}],[/^(?:filter-)?drop-shadow-color-(.+)$/,_r("--un-drop-shadow-color","drop-shadow")],[/^(?:filter-)?drop-shadow(?:-color)?-op(?:acity)?-?(.+)$/,([,e])=>({"--un-drop-shadow-opacity":Sr.bracket.percent(e)})],[/^(?:(backdrop-)|filter-)?grayscale(?:-(.+))?$/,Ho("grayscale",Vo),{autocomplete:["(backdrop|filter)-grayscale","(backdrop|filter)-grayscale-<percent>","grayscale-<percent>"]}],[/^(?:(backdrop-)|filter-)?hue-rotate-(.+)$/,Ho("hue-rotate",e=>Sr.bracket.cssvar.degree(e))],[/^(?:(backdrop-)|filter-)?invert(?:-(.+))?$/,Ho("invert",Vo),{autocomplete:["(backdrop|filter)-invert","(backdrop|filter)-invert-<percent>","invert-<percent>"]}],[/^(backdrop-)op(?:acity)?-(.+)$/,Ho("opacity",e=>Sr.bracket.cssvar.percent(e)),{autocomplete:["backdrop-(op|opacity)","backdrop-(op|opacity)-<percent>"]}],[/^(?:(backdrop-)|filter-)?saturate-(.+)$/,Ho("saturate",e=>Sr.bracket.cssvar.percent(e)),{autocomplete:["(backdrop|filter)-saturate","(backdrop|filter)-saturate-<percent>","saturate-<percent>"]}],[/^(?:(backdrop-)|filter-)?sepia(?:-(.+))?$/,Ho("sepia",Vo),{autocomplete:["(backdrop|filter)-sepia","(backdrop|filter)-sepia-<percent>","sepia-<percent>"]}],["filter",{filter:Uo}],["backdrop-filter",{"-webkit-backdrop-filter":qo,"backdrop-filter":qo}],["filter-none",{filter:"none"}],["backdrop-filter-none",{"-webkit-backdrop-filter":"none","backdrop-filter":"none"}],...qn.map(e=>[`filter-${e}`,{filter:e}]),...qn.map(e=>[`backdrop-filter-${e}`,{"-webkit-backdrop-filter":e,"backdrop-filter":e}])],Yo=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],[/^flex-(.*)$/,([,e])=>({flex:null!=Sr.bracket(e)?Sr.bracket(e).split(" ").map(e=>Sr.cssvar.fraction(e)??e).join(" "):Sr.cssvar.fraction(e)})],["flex-1",{flex:"1 1 0%"}],["flex-auto",{flex:"1 1 auto"}],["flex-initial",{flex:"0 1 auto"}],["flex-none",{flex:"none"}],[/^(?:flex-)?shrink(?:-(.*))?$/,([,e=""])=>({"flex-shrink":Sr.bracket.cssvar.number(e)??1}),{autocomplete:["flex-shrink-<num>","shrink-<num>"]}],[/^(?:flex-)?grow(?:-(.*))?$/,([,e=""])=>({"flex-grow":Sr.bracket.cssvar.number(e)??1}),{autocomplete:["flex-grow-<num>","grow-<num>"]}],[/^(?:flex-)?basis-(.+)$/,([,e])=>{const t=zr(e);return null!=t?(Wr("spacing"),{"flex-basis":`calc(var(--spacing) * ${t})`}):{"flex-basis":Sr.bracket.cssvar.auto.fraction.rem(e)}},{autocomplete:["flex-basis-$spacing","basis-$spacing"]}],["flex-row",{"flex-direction":"row"}],["flex-row-reverse",{"flex-direction":"row-reverse"}],["flex-col",{"flex-direction":"column"}],["flex-col-reverse",{"flex-direction":"column-reverse"}],["flex-wrap",{"flex-wrap":"wrap"}],["flex-wrap-reverse",{"flex-wrap":"wrap-reverse"}],["flex-nowrap",{"flex-wrap":"nowrap"}]],Go={"":[""],x:["column-"],y:["row-"],col:["column-"],row:["row-"]},Ko=[[/^(?:flex-|grid-)?gap-?()(.+)$/,Cr("gap",Go,(e,t)=>`${t}${e}`),{autocomplete:["gap-$spacing","gap-<num>"]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,Cr("gap",Go,(e,t)=>`${t}${e}`),{autocomplete:["gap-(x|y)-$spacing","gap-(x|y)-<num>"]}],[/^(?:flex-|grid-)?gap-(col|row)-?(.+)$/,Cr("gap",Go,(e,t)=>`${t}${e}`),{autocomplete:["gap-(col|row)-$spacing","gap-(col|row)-<num>"]}]];function Zo(e){return e.replace("col","column")}function Qo(e){switch(e){case"min":return"min-content";case"max":return"max-content";case"fr":return"minmax(0,1fr)"}return Sr.bracket.cssvar.auto.rem(e)}const Jo=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,e,t])=>({[`grid-${Zo(e)}`]:Sr.bracket.number.cssvar.auto(t)})],[/^(?:grid-)?(row|col)-span-(.+)$/,([,e,t])=>{if("full"===t)return{[`grid-${Zo(e)}`]:"1/-1"};const n=Sr.bracket.number.cssvar(t);return null!=n?{[`grid-${Zo(e)}`]:`span ${n}/span ${n}`}:void 0},{autocomplete:"(grid-row|grid-col|row|col)-span-<num>"}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,e,t])=>({[`grid-${Zo(e)}-start`]:Sr.bracket.cssvar(t)??t})],[/^(?:grid-)?(row|col)-end-(.+)$/,([,e,t])=>({[`grid-${Zo(e)}-end`]:Sr.bracket.cssvar(t)??t}),{autocomplete:"(grid-row|grid-col|row|col)-(start|end)-<num>"}],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,e,t])=>({[`grid-auto-${Zo(e)}`]:Qo(t)}),{autocomplete:"(grid-auto|auto)-(rows|cols)-<num>"}],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,e])=>({"grid-auto-flow":Sr.bracket.cssvar(e)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)$/,([,e])=>({"grid-auto-flow":Zo(e).replace("-"," ")}),{autocomplete:["(grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)"]}],[/^(?:grid-)?(rows|cols)-(.+)$/,([,e,t])=>({[`grid-template-${Zo(e)}`]:Sr.bracket.cssvar(t)})],[/^(?:grid-)?(rows|cols)-minmax-([\w.-]+)$/,([,e,t])=>({[`grid-template-${Zo(e)}`]:`repeat(auto-fill,minmax(${t},1fr))`})],[/^(?:grid-)?(rows|cols)-(\d+)$/,([,e,t])=>({[`grid-template-${Zo(e)}`]:`repeat(${t},minmax(0,1fr))`}),{autocomplete:"(grid-rows|grid-cols|rows|cols)-<num>"}],[/^grid-area(s)?-(.+)$/,([,e,t])=>null!=e?{"grid-template-areas":Sr.cssvar(t)??t.split("-").map(e=>`"${Sr.bracket(e)}"`).join(" ")}:{"grid-area":Sr.bracket.cssvar(t)}],["grid-rows-none",{"grid-template-rows":"none"}],["grid-cols-none",{"grid-template-columns":"none"}],["grid-rows-subgrid",{"grid-template-rows":"subgrid"}],["grid-cols-subgrid",{"grid-template-columns":"subgrid"}]],ei=["auto","hidden","clip","visible","scroll","overlay",...qn],ti=[[/^(?:overflow|of)-(.+)$/,([,e])=>ei.includes(e)?{overflow:e}:void 0,{autocomplete:[`(overflow|of)-(${ei.join("|")})`,`(overflow|of)-(x|y)-(${ei.join("|")})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,e,t])=>ei.includes(t)?{[`overflow-${e}`]:t}:void 0]],ni={t:["top"],b:["bottom"],l:["left"],r:["right"],x:["left","right"],y:["top","bottom"]},ri="linear-gradient(#fff, #fff)",oi={"mask-image":"var(--un-mask-linear), var(--un-mask-radial), var(--un-mask-conic)","mask-composite":"intersect"};function ii([,e=""]){if(e in In){return{"mask-position":e.split("").flatMap(e=>ni[e]).join(" ")}}const t=Sr.bracket.cssvar.global.position(e);if(null!==t)return{"mask-position":t}}function ai([e,t="",n,r],o){const i={...oi},a=[];if(a.push(...["linear","radial","conic"].map(e=>Fr(`--un-mask-${e}`,{initialValue:ri}))),t in ni){i["--un-mask-linear"]="var(--un-mask-left), var(--un-mask-right), var(--un-mask-bottom), var(--un-mask-top)";for(const s of ni[t]){if(i[`--un-mask-${s}`]=`linear-gradient(to ${s}, var(--un-mask-${s}-from-color) var(--un-mask-${s}-from-position), var(--un-mask-${s}-to-color) var(--un-mask-${s}-to-position))`,null!=zr(r)?(Wr("spacing"),i[`--un-mask-${s}-${n}-position`]=`calc(var(--spacing) * ${Sr.bracket.cssvar.fraction.number(r)})`):i[`--un-mask-${s}-${n}-position`]=Sr.bracket.cssvar.fraction.rem(r),Tr(r,o.theme)){const t=_r(`--un-mask-${s}-${n}-color`,Nr("colors"))([e,r],o);if(t){const[e,...n]=t;Object.assign(i,e),a.push(...n)}}a.push(...["from","to"].flatMap(e=>[Fr(`--un-mask-${s}-${e}-position`,{syntax:"<length-percentage>",initialValue:"from"===e?"0%":"100%"}),Fr(`--un-mask-${s}-${e}-color`,{syntax:"<color>",initialValue:"from"===e?"black":"transparent"})]))}a.push(...["top","right","bottom","left"].map(e=>Fr(`--un-mask-${e}`,{initialValue:ri})))}else{if(null==n)"radial"===t?(i["--un-mask-radial"]="radial-gradient(var(--un-mask-radial-stops, var(--un-mask-radial-size)))",i["--un-mask-radial-size"]=Sr.bracket.cssvar.rem(r)):(i[`--un-mask-${t}`]=`${t}-gradient(var(--un-mask-${t}-stops, var(--un-mask-${t}-position)))`,i[`--un-mask-${t}-position`]=zr(r)?`calc(1deg * ${Sr.bracket.cssvar.number(r)})`:Sr.bracket.cssvar.fraction(r));else{const s={linear:"",radial:"var(--un-mask-radial-shape) var(--un-mask-radial-size) at ",conic:"from "};if(i[`--un-mask-${t}-stops`]=`${s[t]}var(--un-mask-${t}-position), var(--un-mask-${t}-from-color) var(--un-mask-${t}-from-position), var(--un-mask-${t}-to-color) var(--un-mask-${t}-to-position)`,i[`--un-mask-${t}`]=`${t}-gradient(var(--un-mask-${t}-stops))`,Tr(r,o.theme)){const s=_r(`--un-mask-${t}-${n}-color`,Nr("colors"))([e,r],o);if(s){const[e,...t]=s;Object.assign(i,e),a.push(...t)}}else null!=zr(r)?(Wr("spacing"),i[`--un-mask-${t}-${n}-position`]=`calc(var(--spacing) * ${Sr.bracket.cssvar.fraction.number(r)})`):i[`--un-mask-${t}-${n}-position`]=Sr.bracket.cssvar.fraction.rem(r)}"radial"===t&&a.push(Fr("--un-mask-radial-shape",{initialValue:"ellipse"}),Fr("--un-mask-radial-size",{initialValue:"farthest-corner"})),a.push(...["from","to"].flatMap(e=>[Fr(`--un-mask-${t}-position`,{initialValue:"radial"===t?"center":"0deg"}),Fr(`--un-mask-${t}-${e}-position`,{syntax:"<length-percentage>",initialValue:"from"===e?"0%":"100%"}),Fr(`--un-mask-${t}-${e}-color`,{syntax:"<color>",initialValue:"from"===e?"black":"transparent"})]))}return[i,...a]}const si=[["mask-clip-border",{"mask-clip":"border-box"}],["mask-clip-padding",{"mask-clip":"padding-box"}],["mask-clip-content",{"mask-clip":"content-box"}],["mask-clip-fill",{"mask-clip":"fill-box"}],["mask-clip-stroke",{"mask-clip":"stroke-box"}],["mask-clip-view",{"mask-clip":"view-box"}],["mask-no-clip",{"mask-clip":"no-clip"}],["mask-add",{"mask-composite":"add"}],["mask-subtract",{"mask-composite":"subtract"}],["mask-intersect",{"mask-composite":"intersect"}],["mask-exclude",{"mask-composite":"exclude"}],[/^mask-(.+)$/,([,e])=>({"mask-image":Sr.bracket.cssvar(e)})],[/^mask-(linear|radial|conic|[xytblr])-(from|to)()(?:-(.+))?$/,ai,{autocomplete:["mask-(linear|radial|conic)-(from|to)-$colors","mask-(linear|radial|conic)-(from|to)-<percentage>","mask-(linear|radial|conic)-(from|to)","mask-(linear|radial|conic)-<percent>","mask-(x|y|t|b|l|r)-(from|to)-$colors","mask-(x|y|t|b|l|r)-(from|to)-<percentage>","mask-(x|y|t|b|l|r)-(from|to)","mask-(x|y|t|b|l|r)-<percent>"]}],[/^mask-(linear|radial|conic)-(from|to)?-?(.*)$/,ai],[/^mask-([trblxy])-(from|to)-(.*)$/,ai],["mask-none",{"mask-image":"none"}],["mask-radial-circle",{"--un-mask-radial-shape":"circle"}],["mask-radial-ellipse",{"--un-mask-radial-shape":"ellipse"}],["mask-radial-closest-side",{"--un-mask-radial-size":"closest-side"}],["mask-radial-closest-corner",{"--un-mask-radial-size":"closest-corner"}],["mask-radial-farthest-side",{"--un-mask-radial-size":"farthest-side"}],["mask-radial-farthest-corner",{"--un-mask-radial-size":"farthest-corner"}],[/^mask-radial-at-([-\w]{3,})$/,([,e])=>({"--un-mask-radial-position":Wn[e]}),{autocomplete:[`mask-radial-at-(${Object.keys(Wn).filter(e=>e.length>2).join("|")})`]}],["mask-alpha",{"mask-mode":"alpha"}],["mask-luminance",{"mask-mode":"luminance"}],["mask-match",{"mask-mode":"match-source"}],["mask-origin-border",{"mask-origin":"border-box"}],["mask-origin-padding",{"mask-origin":"padding-box"}],["mask-origin-content",{"mask-origin":"content-box"}],["mask-origin-fill",{"mask-origin":"fill-box"}],["mask-origin-stroke",{"mask-origin":"stroke-box"}],["mask-origin-view",{"mask-origin":"view-box"}],[/^mask-([rltb]{1,2})$/,ii],[/^mask-([-\w]{3,})$/,([,e])=>({"mask-position":Wn[e]})],[/^mask-(?:position-|pos-)(.+)$/,ii],["mask-repeat",{"mask-repeat":"repeat"}],["mask-no-repeat",{"mask-repeat":"no-repeat"}],["mask-repeat-x",{"mask-repeat":"repeat-x"}],["mask-repeat-y",{"mask-repeat":"repeat-y"}],["mask-repeat-space",{"mask-repeat":"space"}],["mask-repeat-round",{"mask-repeat":"round"}],["mask-auto",{"mask-size":"auto"}],["mask-cover",{"mask-size":"cover"}],["mask-contain",{"mask-size":"contain"}],[/^mask-size-(.+)$/,function([,e=""]){const t=Sr.bracket.cssvar.global.fraction.rem(e);if(null!==t)return{"mask-size":t}}],["mask-type-luminance",{"mask-type":"luminance"}],["mask-type-alpha",{"mask-type":"alpha"}]],li=[[/^\$ placeholder-(.+)$/,_r("color","placeholder"),{autocomplete:"placeholder-$colors"}],[/^\$ placeholder-op(?:acity)?-?(.+)$/,([,e])=>({"--un-placeholder-opacity":Sr.bracket.percent(e)}),{autocomplete:["placeholder-(op|opacity)","placeholder-(op|opacity)-<percent>"]}]],ci=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,e])=>({position:e}),{autocomplete:["(position|pos)-<position>","(position|pos)-<globalKeyword>","<position>"]}],[/^(?:position-|pos-)([-\w]+)$/,([,e])=>qn.includes(e)?{position:e}:void 0],[/^(?:position-|pos-)?(static)$/,([,e])=>({position:e})]],ui=[["justify-start",{"justify-content":"flex-start"}],["justify-end",{"justify-content":"flex-end"}],["justify-center",{"justify-content":"center"}],["justify-between",{"justify-content":"space-between"}],["justify-around",{"justify-content":"space-around"}],["justify-evenly",{"justify-content":"space-evenly"}],["justify-stretch",{"justify-content":"stretch"}],["justify-left",{"justify-content":"left"}],["justify-right",{"justify-content":"right"}],["justify-center-safe",{"justify-content":"safe center"}],["justify-end-safe",{"justify-content":"safe flex-end"}],["justify-normal",{"justify-content":"normal"}],...Rr("justify","justify-content"),["justify-items-start",{"justify-items":"start"}],["justify-items-end",{"justify-items":"end"}],["justify-items-center",{"justify-items":"center"}],["justify-items-stretch",{"justify-items":"stretch"}],["justify-items-center-safe",{"justify-items":"safe center"}],["justify-items-end-safe",{"justify-items":"safe flex-end"}],...Rr("justify-items"),["justify-self-auto",{"justify-self":"auto"}],["justify-self-start",{"justify-self":"start"}],["justify-self-end",{"justify-self":"end"}],["justify-self-center",{"justify-self":"center"}],["justify-self-stretch",{"justify-self":"stretch"}],["justify-self-baseline",{"justify-self":"baseline"}],["justify-self-center-safe",{"justify-self":"safe center"}],["justify-self-end-safe",{"justify-self":"safe flex-end"}],...Rr("justify-self")],pi=[[/^order-(.+)$/,([,e])=>({order:Sr.bracket.cssvar.number(e)})],["order-first",{order:"calc(-infinity)"}],["order-last",{order:"calc(infinity)"}],["order-none",{order:"0"}]],di=[["content-center",{"align-content":"center"}],["content-start",{"align-content":"flex-start"}],["content-end",{"align-content":"flex-end"}],["content-between",{"align-content":"space-between"}],["content-around",{"align-content":"space-around"}],["content-evenly",{"align-content":"space-evenly"}],["content-baseline",{"align-content":"baseline"}],["content-center-safe",{"align-content":"safe center"}],["content-end-safe",{"align-content":"safe flex-end"}],["content-stretch",{"align-content":"stretch"}],["content-normal",{"align-content":"normal"}],...Rr("content","align-content"),["items-start",{"align-items":"flex-start"}],["items-end",{"align-items":"flex-end"}],["items-center",{"align-items":"center"}],["items-baseline",{"align-items":"baseline"}],["items-stretch",{"align-items":"stretch"}],["items-baseline-last",{"align-items":"last baseline"}],["items-center-safe",{"align-items":"safe center"}],["items-end-safe",{"align-items":"safe flex-end"}],...Rr("items","align-items"),["self-auto",{"align-self":"auto"}],["self-start",{"align-self":"flex-start"}],["self-end",{"align-self":"flex-end"}],["self-center",{"align-self":"center"}],["self-stretch",{"align-self":"stretch"}],["self-baseline",{"align-self":"baseline"}],["self-baseline-last",{"align-self":"last baseline"}],["self-center-safe",{"align-self":"safe center"}],["self-end-safe",{"align-self":"safe flex-end"}],...Rr("self","align-self")],hi=[["place-content-center",{"place-content":"center"}],["place-content-start",{"place-content":"start"}],["place-content-end",{"place-content":"end"}],["place-content-between",{"place-content":"space-between"}],["place-content-around",{"place-content":"space-around"}],["place-content-evenly",{"place-content":"space-evenly"}],["place-content-stretch",{"place-content":"stretch"}],["place-content-baseline",{"place-content":"baseline"}],["place-content-center-safe",{"place-content":"safe center"}],["place-content-end-safe",{"place-content":"safe flex-end"}],...Rr("place-content"),["place-items-start",{"place-items":"start"}],["place-items-end",{"place-items":"end"}],["place-items-center",{"place-items":"center"}],["place-items-stretch",{"place-items":"stretch"}],["place-items-baseline",{"place-items":"baseline"}],["place-items-center-safe",{"place-items":"safe center"}],["place-items-end-safe",{"place-items":"safe flex-end"}],...Rr("place-items"),["place-self-auto",{"place-self":"auto"}],["place-self-start",{"place-self":"start"}],["place-self-end",{"place-self":"end"}],["place-self-center",{"place-self":"center"}],["place-self-stretch",{"place-self":"stretch"}],["place-self-center-safe",{"place-self":"safe center"}],["place-self-end-safe",{"place-self":"safe flex-end"}],...Rr("place-self")],fi=[...ui,...di,...hi].flatMap(([e,t])=>[[`flex-${e}`,t],[`grid-${e}`,t]]);function mi(e){const t=zr(e);return null!=t?(Wr("spacing"),`calc(var(--spacing) * ${t})`):Sr.bracket.cssvar.global.auto.fraction.rem(e)}function gi([,e,t]){const n=mi(t);if(null!=n&&e in Fn)return Fn[e].map(e=>[e.slice(1),n])}const bi=[[/^(?:position-|pos-)?inset-(.+)$/,([,e])=>({inset:mi(e)}),{autocomplete:["(position|pos)-inset-<directions>-$spacing","(position|pos)-inset-(block|inline)-$spacing","(position|pos)-inset-(bs|be|is|ie)-$spacing","(position|pos)-(top|left|right|bottom)-$spacing"]}],[/^(?:position-|pos-)?(start|end)-(.+)$/,gi],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,gi],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,gi],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,gi],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,gi],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,e,t])=>({[e]:mi(t)})]],yi=[["float-left",{float:"left"}],["float-right",{float:"right"}],["float-start",{float:"inline-start"}],["float-end",{float:"inline-end"}],["float-none",{float:"none"}],...Rr("float"),["clear-left",{clear:"left"}],["clear-right",{clear:"right"}],["clear-both",{clear:"both"}],["clear-start",{clear:"inline-start"}],["clear-end",{clear:"inline-end"}],["clear-none",{clear:"none"}],...Rr("clear")],ki=[[/^(?:position-|pos-)?z([\d.]+)$/,([,e])=>({"z-index":Sr.number(e)})],[/^(?:position-|pos-)?z-(.+)$/,([,e])=>({"z-index":Sr.bracket.cssvar.global.auto.number(e)}),{autocomplete:"z-<num>"}]],wi=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}],...Rr("box","box-sizing")],vi={shadow:Fr("--un-shadow",{initialValue:"0 0 #0000"}),shadowColor:Fr("--un-shadow-color"),insetShadow:Fr("--un-inset-shadow",{initialValue:"0 0 #0000"}),insetShadowColor:Fr("--un-inset-shadow-color"),ringColor:Fr("--un-ring-color"),ringShadow:Fr("--un-ring-shadow",{initialValue:"0 0 #0000"}),insetRingColor:Fr("--un-inset-ring-color"),insetRingShadow:Fr("--un-inset-ring-shadow",{initialValue:"0 0 #0000"}),ringInset:Fr("--un-ring-inset"),ringOffsetWidth:Fr("--un-ring-offset-width",{syntax:"<length>",initialValue:"0px"}),ringOffsetColor:Fr("--un-ring-offset-color"),ringOffsetShadow:Fr("--un-ring-offset-shadow",{initialValue:"0 0 #0000"})},xi=[[/^shadow(?:-?(.+))?$/,$i("shadow"),{autocomplete:["shadow-$colors","shadow-$shadow"]}],[/^shadow-op(?:acity)?-?(.+)$/,([,e])=>({"--un-shadow-opacity":Sr.bracket.percent.cssvar(e)}),{autocomplete:"shadow-(op|opacity)-<percent>"}],[/^inset-shadow(?:-(.+))?$/,$i("insetShadow"),{autocomplete:["inset-shadow-$colors","inset-shadow-$insetShadow"]}],[/^inset-shadow-op(?:acity)?-?(.+)$/,([,e])=>({"--un-inset-shadow-opacity":Sr.bracket.percent.cssvar(e)}),{autocomplete:"shadow-(op|opacity)-<percent>"}]];function $i(e){return(t,n)=>{const[,r]=t,{theme:o}=n;let i=[];r&&(i=zt(r,"/",2)??[],r.startsWith("/")&&(i=["",r.slice(1)]));const a=o[e]?.[i[0]||"DEFAULT"],s=r?Sr.bracket.cssvar(r):void 0,l=Nr(e);if((null!=a||null!=s)&&!Tr(s,o)){const e=i[1]?Sr.bracket.percent.cssvar(i[1]):void 0;return[{[`--un-${l}-opacity`]:e,[`--un-${l}`]:Lr(a||s,`--un-${l}-color`,e).join(","),"box-shadow":"var(--un-inset-shadow), var(--un-inset-ring-shadow), var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"},...Object.values(vi)]}return _r(`--un-${l}-color`,l)(t,n)}}const Si=[[/^ring(?:-(.+))?$/,([,e])=>{const t=Sr.bracket.px(e||"1");if(null!=t)return[{"--un-ring-shadow":`var(--un-ring-inset,) 0 0 0 calc(${t} + var(--un-ring-offset-width)) var(--un-ring-color, currentColor)`,"box-shadow":"var(--un-inset-shadow), var(--un-inset-ring-shadow), var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"},...Object.values(vi)]}],[/^ring-(.+)$/,_r("--un-ring-color","ring"),{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-opacity":Sr.bracket.percent.cssvar(e)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^inset-ring(?:-(.+))?$/,([,e])=>{const t=Sr.bracket.px(e||"1");if(null!=t)return[{"--un-inset-ring-shadow":`inset 0 0 0 ${t} var(--un-inset-ring-color, currentColor)`,"box-shadow":"var(--un-inset-shadow), var(--un-inset-ring-shadow), var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"},...Object.values(vi)]}],[/^inset-ring-(.+)$/,_r("--un-inset-ring-color","inset-ring"),{autocomplete:"inset-ring-$colors"}],[/^inset-ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-inset-ring-opacity":Sr.bracket.percent.cssvar(e)}),{autocomplete:"inset-ring-(op|opacity)-<percent>"}],[/^ring-offset(?:-(?:width-|size-)?(.+))?$/,([,e])=>{const t=Sr.bracket.cssvar.px(e||"1");if(null!=t)return{"--un-ring-offset-width":t,"--un-ring-offset-shadow":"var(--un-ring-inset,) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color)"}},{autocomplete:"ring-offset-$colors"}],[/^ring-offset-(.+)$/,_r("--un-ring-offset-color","ring-offset"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-offset-opacity":Sr.bracket.percent.cssvar(e)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]],zi=[...["x","y","both"].map(e=>[`snap-${e}`,[{"scroll-snap-type":`${e} var(--un-scroll-snap-strictness)`},Fr("--un-scroll-snap-strictness",{initialValue:"proximity"})]]),...["mandatory","proximity"].map(e=>[`snap-${e}`,[{"--un-scroll-snap-strictness":e},Fr("--un-scroll-snap-strictness",{initialValue:"proximity"})]]),["snap-none",{"scroll-snap-type":"none"}],["snap-start",{"scroll-snap-align":"start"}],["snap-end",{"scroll-snap-align":"end"}],["snap-center",{"scroll-snap-align":"center"}],["snap-align-none",{"scroll-snap-align":"none"}],["snap-normal",{"scroll-snap-stop":"normal"}],["snap-always",{"scroll-snap-stop":"always"}],[/^scroll-ma?()-?(.+)$/,Cr("scroll-margin"),{autocomplete:["scroll-(m|p|ma|pa|block|inline)","scroll-(m|p|ma|pa|block|inline)-$spacing","scroll-(m|p|ma|pa|block|inline)-(x|y|r|l|t|b|bs|be|is|ie)","scroll-(m|p|ma|pa|block|inline)-(x|y|r|l|t|b|bs|be|is|ie)-$spacing"]}],[/^scroll-m-?([xy])-?(.+)$/,Cr("scroll-margin")],[/^scroll-m-?([rltb])-?(.+)$/,Cr("scroll-margin")],[/^scroll-m-(block|inline)-(.+)$/,Cr("scroll-margin")],[/^scroll-m-?([bi][se])-?(.+)$/,Cr("scroll-margin")],[/^scroll-pa?()-?(.+)$/,Cr("scroll-padding")],[/^scroll-p-?([xy])-?(.+)$/,Cr("scroll-padding")],[/^scroll-p-?([rltb])-?(.+)$/,Cr("scroll-padding")],[/^scroll-p-(block|inline)-(.+)$/,Cr("scroll-padding")],[/^scroll-p-?([bi][se])-?(.+)$/,Cr("scroll-padding")]],Ci={h:"height",w:"width",inline:"inline-size",block:"block-size"};function ji(e,t){return`${e||""}${Ci[t]}`}function Ai(e,t,n){let r;for(const o of["container","spacing"])if(e[o]?.[n]){Wr(o,n),r=qr(o,n);break}if(!r)switch(n){case"fit":case"max":case"min":r=`${n}-content`;break;case"stretch":r="stretch";break;case"screen":r="w"===t?"100vw":"100vh"}return r||null==Sr.number(n)||(Wr("spacing"),r=`calc(var(--spacing) * ${Sr.number(n)})`),r??Sr.bracket.cssvar.global.auto.none.fraction.rem(n)}const Ei=[[/^size-(min-|max-)?(.+)$/,([,e,t],{theme:n})=>({[ji(e,"w")]:Ai(n,"w",t),[ji(e,"h")]:Ai(n,"h",t)})],[/^(?:size-)?(min-|max-)?([wh])-?(.+)$/,([,e,t,n],{theme:r})=>({[ji(e,t)]:Ai(r,t,n)})],[/^(?:size-)?(min-|max-)?(block|inline)-(.+)$/,([,e,t,n],{theme:r})=>({[ji(e,t)]:Ai(r,t,n)}),{autocomplete:["(w|h)-<num>","(w|h)-(full|screen|fit|max|min)","(max|min)-(w|h)-<num>","(max|min)-(w|h)-(full|screen|fit|max|min)","(block|inline)-<num>","(block|inline)-(full|screen|fit|max|min)","(max|min)-(w|h|block|inline)","(max|min)-(w|h|block|inline)-<num>","(max|min)-(w|h|block|inline)-(full|screen|fit|max|min)"]}],[/^(?:size-)?(min-|max-)?(h)-screen-(.+)$/,([,e,t,n],r)=>({[ji(e,t)]:Oi(r,n,"verticalBreakpoint")})],[/^(?:size-)?(min-|max-)?(w)-screen-(.+)$/,([,e,t,n],r)=>({[ji(e,t)]:Oi(r,n)}),{autocomplete:["(w|h)-screen","(min|max)-(w|h)-screen","h-screen-$breakpoint","(min|max)-h-screen-$breakpoint","w-screen-$breakpoint","(min|max)-w-screen-$breakpoint"]}]];function Oi(e,t,n="breakpoint"){const r=Br(e,n);if(r)return r.find(e=>e.point===t)?.size}function _i(e){if(/^\d+\/\d+$/.test(e))return e;switch(e){case"square":return"1/1";case"video":return"16/9"}return Sr.bracket.cssvar.global.auto.number(e)}const Li=[[/^(?:size-)?aspect-(?:ratio-)?(.+)$/,([,e])=>({"aspect-ratio":_i(e)}),{autocomplete:["aspect-(square|video|ratio)","aspect-ratio-(square|video)"]}]],Ti=["size","layout","paint","style"],Mi=[["inline",{display:"inline"}],["block",{display:"block"}],["inline-block",{display:"inline-block"}],["contents",{display:"contents"}],["flow-root",{display:"flow-root"}],["list-item",{display:"list-item"}],["hidden",{display:"none"}],[/^display-(.+)$/,([,e])=>({display:Sr.bracket.cssvar.global(e)})]],Pi=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["collapse",{visibility:"collapse"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}],...Rr("backface","backface-visibility")],Bi=[[/^cursor-(.+)$/,([,e])=>({cursor:Sr.bracket.cssvar.global(e)})],...["auto","default","none","context-menu","help","pointer","progress","wait","cell","crosshair","text","vertical-text","alias","copy","move","no-drop","not-allowed","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out"].map(e=>[`cursor-${e}`,{cursor:e}])],Ri=[[/^contain-(.*)$/,([,e])=>null!=Sr.bracket(e)?{contain:Sr.bracket(e).split(" ").map(e=>Sr.cssvar.fraction(e)??e).join(" ")}:Ti.includes(e)?[{"--un-contain-size":e,contain:Ti.map(e=>`var(--un-contain-${e})`).join(" ")},...Ti.map(e=>Fr(`--un-contain-${e}`))]:void 0],["contain-strict",{contain:"strict"}],["contain-content",{contain:"content"}],["contain-none",{contain:"none"}]],Fi=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}],...Rr("pointer-events")],Ii=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}],...Rr("resize")],Ni=[["select-auto",{"-webkit-user-select":"auto","user-select":"auto"}],["select-all",{"-webkit-user-select":"all","user-select":"all"}],["select-text",{"-webkit-user-select":"text","user-select":"text"}],["select-none",{"-webkit-user-select":"none","user-select":"none"}],...Rr("select","user-select")],Ui=[[/^(?:whitespace-|ws-)([-\w]+)$/,([,e])=>["normal","nowrap","pre","pre-line","pre-wrap","break-spaces",...qn].includes(e)?{"white-space":e}:void 0,{autocomplete:"(whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)"}]],Di=[[/^intrinsic(?:-(block|inline|w|h))?(?:-size)?-(.+)$/,([,e,t])=>({[`contain-intrinsic-${{block:"block-size",inline:"inline-size",w:"width",h:"height"}[e]??"size"}`]:Sr.bracket.cssvar.global.fraction.rem(t)}),{autocomplete:["intrinsic-size-<num>","intrinsic-<num>","intrinsic-(block|inline|w|h)-<num>"]}],["content-visibility-visible",{"content-visibility":"visible"}],["content-visibility-hidden",{"content-visibility":"hidden"}],["content-visibility-auto",{"content-visibility":"auto"}],...Rr("content-visibility")],Wi=[[/^content-(.+)$/,([,e])=>{if(null!=Sr.bracket.cssvar(e))return[{"--un-content":Sr.bracket.cssvar(e),content:"var(--un-content)"},Fr("--un-content",{initialValue:'""'})]}],["content-empty",{content:'""'}],["content-none",{content:"none"}]],qi=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}],["uppercase",{"text-transform":"uppercase"}],["lowercase",{"text-transform":"lowercase"}],["capitalize",{"text-transform":"capitalize"}],["normal-case",{"text-transform":"none"}],...Rr("case","text-transform")],Vi=[...["manual","auto","none",...qn].map(e=>[`hyphens-${e}`,{"-webkit-hyphens":e,"-ms-hyphens":e,hyphens:e}])],Hi=[["write-vertical-right",{"writing-mode":"vertical-rl"}],["write-vertical-left",{"writing-mode":"vertical-lr"}],["write-normal",{"writing-mode":"horizontal-tb"}],...Rr("write","writing-mode")],Xi=[["write-orient-mixed",{"text-orientation":"mixed"}],["write-orient-sideways",{"text-orientation":"sideways"}],["write-orient-upright",{"text-orientation":"upright"}],...Rr("write-orient","text-orientation")],Yi=[["object-cover",{"object-fit":"cover"}],["object-contain",{"object-fit":"contain"}],["object-fill",{"object-fit":"fill"}],["object-scale-down",{"object-fit":"scale-down"}],["object-none",{"object-fit":"none"}],[/^object-(.+)$/,([,e])=>Wn[e]?{"object-position":Wn[e]}:null!=Sr.bracketOfPosition(e)?{"object-position":Sr.bracketOfPosition(e).split(" ").map(e=>Sr.position.fraction.auto.px.cssvar(e)??e).join(" ")}:void 0,{autocomplete:`object-(${Object.keys(Wn).join("|")})`}]],Gi=[["bg-blend-multiply",{"background-blend-mode":"multiply"}],["bg-blend-screen",{"background-blend-mode":"screen"}],["bg-blend-overlay",{"background-blend-mode":"overlay"}],["bg-blend-darken",{"background-blend-mode":"darken"}],["bg-blend-lighten",{"background-blend-mode":"lighten"}],["bg-blend-color-dodge",{"background-blend-mode":"color-dodge"}],["bg-blend-color-burn",{"background-blend-mode":"color-burn"}],["bg-blend-hard-light",{"background-blend-mode":"hard-light"}],["bg-blend-soft-light",{"background-blend-mode":"soft-light"}],["bg-blend-difference",{"background-blend-mode":"difference"}],["bg-blend-exclusion",{"background-blend-mode":"exclusion"}],["bg-blend-hue",{"background-blend-mode":"hue"}],["bg-blend-saturation",{"background-blend-mode":"saturation"}],["bg-blend-color",{"background-blend-mode":"color"}],["bg-blend-luminosity",{"background-blend-mode":"luminosity"}],["bg-blend-normal",{"background-blend-mode":"normal"}],...Rr("bg-blend","background-blend")],Ki=[["mix-blend-multiply",{"mix-blend-mode":"multiply"}],["mix-blend-screen",{"mix-blend-mode":"screen"}],["mix-blend-overlay",{"mix-blend-mode":"overlay"}],["mix-blend-darken",{"mix-blend-mode":"darken"}],["mix-blend-lighten",{"mix-blend-mode":"lighten"}],["mix-blend-color-dodge",{"mix-blend-mode":"color-dodge"}],["mix-blend-color-burn",{"mix-blend-mode":"color-burn"}],["mix-blend-hard-light",{"mix-blend-mode":"hard-light"}],["mix-blend-soft-light",{"mix-blend-mode":"soft-light"}],["mix-blend-difference",{"mix-blend-mode":"difference"}],["mix-blend-exclusion",{"mix-blend-mode":"exclusion"}],["mix-blend-hue",{"mix-blend-mode":"hue"}],["mix-blend-saturation",{"mix-blend-mode":"saturation"}],["mix-blend-color",{"mix-blend-mode":"color"}],["mix-blend-luminosity",{"mix-blend-mode":"luminosity"}],["mix-blend-plus-lighter",{"mix-blend-mode":"plus-lighter"}],["mix-blend-normal",{"mix-blend-mode":"normal"}],...Rr("mix-blend")],Zi=[[/^fill-(.+)$/,_r("fill","fill"),{autocomplete:"fill-$colors"}],[/^fill-op(?:acity)?-?(.+)$/,([,e])=>({"--un-fill-opacity":Sr.bracket.percent.cssvar(e)}),{autocomplete:"fill-(op|opacity)-<percent>"}],["fill-none",{fill:"none"}],[/^stroke-(?:width-|size-)?(.+)$/,Qi],[/^stroke-dash-(.+)$/,([,e])=>({"stroke-dasharray":Sr.bracket.cssvar.number(e)}),{autocomplete:"stroke-dash-<num>"}],[/^stroke-offset-(.+)$/,([,e])=>({"stroke-dashoffset":Sr.bracket.cssvar.px.numberWithUnit(e)})],[/^stroke-(.+)$/,function(e,t){return Ir(Sr.bracket(e[1]))?Qi(e):_r("stroke","stroke")(e,t)},{autocomplete:"stroke-$colors"}],[/^stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-stroke-opacity":Sr.bracket.percent.cssvar(e)}),{autocomplete:"stroke-(op|opacity)-<percent>"}],["stroke-cap-square",{"stroke-linecap":"square"}],["stroke-cap-round",{"stroke-linecap":"round"}],["stroke-cap-auto",{"stroke-linecap":"butt"}],["stroke-join-arcs",{"stroke-linejoin":"arcs"}],["stroke-join-bevel",{"stroke-linejoin":"bevel"}],["stroke-join-clip",{"stroke-linejoin":"miter-clip"}],["stroke-join-round",{"stroke-linejoin":"round"}],["stroke-join-auto",{"stroke-linejoin":"miter"}],["stroke-none",{stroke:"none"}]];function Qi([,e]){return{"stroke-width":Sr.bracket.cssvar.fraction.px.number(e)}}const Ji=[["inline-table",{display:"inline-table"}],["table",{display:"table"}],["table-caption",{display:"table-caption"}],["table-cell",{display:"table-cell"}],["table-column",{display:"table-column"}],["table-column-group",{display:"table-column-group"}],["table-footer-group",{display:"table-footer-group"}],["table-header-group",{display:"table-header-group"}],["table-row",{display:"table-row"}],["table-row-group",{display:"table-row-group"}],["border-collapse",{"border-collapse":"collapse"}],["border-separate",{"border-collapse":"separate"}],[/^border-spacing-(.+)$/,function*([,e],{theme:t}){const n=ea(e,t);if(null!=n){yield{"--un-border-spacing-x":n,"--un-border-spacing-y":n,"border-spacing":"var(--un-border-spacing-x) var(--un-border-spacing-y)"};for(const e of["x","y"])yield Fr(`--un-border-spacing-${e}`,{syntax:"<length>",initialValue:"0"})}},{autocomplete:["border-spacing","border-spacing-$spacing"]}],[/^border-spacing-([xy])-(.+)$/,function*([,e,t],{theme:n}){const r=ea(t,n);if(null!=r){yield{[`--un-border-spacing-${e}`]:r,"border-spacing":"var(--un-border-spacing-x) var(--un-border-spacing-y)"};for(const e of["x","y"])yield Fr(`--un-border-spacing-${e}`,{syntax:"<length>",initialValue:"0"})}},{autocomplete:["border-spacing-(x|y)","border-spacing-(x|y)-$spacing"]}],["caption-top",{"caption-side":"top"}],["caption-bottom",{"caption-side":"bottom"}],["table-auto",{"table-layout":"auto"}],["table-fixed",{"table-layout":"fixed"}],["table-empty-cells-visible",{"empty-cells":"show"}],["table-empty-cells-hidden",{"empty-cells":"hide"}]];function ea(e,t){let n=t.spacing?.[e];if(!n){const t=zr(e);null!=t?(Wr("spacing"),n=`calc(var(--spacing) * ${t})`):n=Sr.bracket.cssvar.global.auto.fraction.rem(e)}return n}const ta="var(--un-pan-x) var(--un-pan-y) var(--un-pinch-zoom)",na=["pan-x","pan-y","pinch-zoom"].map(e=>Fr(`--un-${e}`)),ra=[[/^touch-pan-(x|left|right)$/,function*([,e]){yield{"--un-pan-x":`pan-${e}`,"touch-action":ta};for(const t of na)yield t},{autocomplete:["touch-pan","touch-pan-(x|left|right|y|up|down)"]}],[/^touch-pan-(y|up|down)$/,function*([,e]){yield{"--un-pan-y":`pan-${e}`,"touch-action":ta};for(const t of na)yield t}],[/^touch-pinch-zoom$/,function*(){yield{"--un-pinch-zoom":"pinch-zoom","touch-action":ta};for(const e of na)yield e}],["touch-auto",{"touch-action":"auto"}],["touch-manipulation",{"touch-action":"manipulation"}],["touch-none",{"touch-action":"none"}],...Rr("touch","touch-action")],oa=["translate","rotate","scale"],ia=["var(--un-rotate-x)","var(--un-rotate-y)","var(--un-rotate-z)","var(--un-skew-x)","var(--un-skew-y)"].join(" "),aa=ia,sa=["translateZ(0)",ia].join(" "),la=[[/^(?:transform-)?origin-(.+)$/,([,e])=>({"transform-origin":Wn[e]??Sr.bracket.cssvar(e)}),{autocomplete:[`transform-origin-(${Object.keys(Wn).join("|")})`,`origin-(${Object.keys(Wn).join("|")})`]}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,e],{theme:t})=>{let n;if(t.perspective?.[e]?(Wr("perspective",e),n=qr("perspective",e)):n=Sr.bracket.cssvar.px.numberWithUnit(e),null!=n)return{perspective:n}},{autocomplete:["transform-perspective-<num>","perspective-<num>","perspective-$perspective"]}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,e])=>{const t=Sr.bracket.cssvar(e)??(e.length>=3?Wn[e]:void 0);if(null!=t)return{"perspective-origin":t}}],[/^(?:transform-)?translate-()(.+)$/,ca],[/^(?:transform-)?translate-([xyz])-(.+)$/,ca],[/^(?:transform-)?rotate-()(.+)$/,pa],[/^(?:transform-)?rotate-([xyz])-(.+)$/,pa],[/^(?:transform-)?skew-()(.+)$/,da],[/^(?:transform-)?skew-([xy])-(.+)$/,da,{autocomplete:["transform-skew-(x|y)-<percent>","skew-(x|y)-<percent>"]}],[/^(?:transform-)?scale-()(.+)$/,ua],[/^(?:transform-)?scale-([xyz])-(.+)$/,ua,{autocomplete:[`transform-(${oa.join("|")})-<percent>`,`transform-(${oa.join("|")})-(x|y|z)-<percent>`,`(${oa.join("|")})-<percent>`,`(${oa.join("|")})-(x|y|z)-<percent>`]}],["transform-3d",{"transform-style":"preserve-3d"}],["transform-flat",{"transform-style":"flat"}],[/^transform-(border|content|fill|stroke|view)$/,([,e])=>({"transform-box":`${e}-box`})],["transform",{transform:aa}],["transform-cpu",{transform:ia}],["transform-gpu",{transform:sa}],["transform-none",{transform:"none"}],...Rr("transform")];function ca([,e,t]){const n=zr(t)??Sr.bracket.cssvar.none.fraction.rem(t);if(null!=n)return"none"===n?{translate:"none"}:(Wr("spacing"),[[...ha(e,"number"==typeof n?`calc(var(--spacing) * ${n})`:n,"translate"),["translate","var(--un-translate-x) var(--un-translate-y)"+("z"===e?" var(--un-translate-z)":""),Pn]],...["x","y","z"].map(e=>Fr(`--un-translate-${e}`,{initialValue:0}))])}function ua([,e,t]){const n=Sr.bracket.cssvar.none.fraction.percent(t);if(null!=n)return"none"===n?{scale:"none"}:[[...ha(e,n,"scale"),["scale","var(--un-scale-x) var(--un-scale-y)"+("z"===e?" var(--un-scale-z)":"")]],...["x","y","z"].map(e=>Fr(`--un-scale-${e}`,{initialValue:1}))]}function pa([,e="",t]){const n=Sr.bracket.cssvar.none.degree(t);if(null!=n)return"none"===n?{rotate:"none"}:e?[[...ha(e,n.endsWith("deg")?`rotate${e.toUpperCase()}(${n})`:n,"rotate"),["transform",aa]],...["x","y","z"].map(e=>Fr(`--un-rotate-${e}`,{initialValue:`rotate${e.toUpperCase()}(0)`})),...["x","y"].map(e=>Fr(`--un-skew-${e}`,{initialValue:`skew${e.toUpperCase()}(0)`}))]:{rotate:Sr.bracket.cssvar.degree(t)}}function da([,e,t]){const n=Sr.bracket.cssvar.degree(t),r=Nn[e];if(null!=n&&r)return[[...r.map(e=>[`--un-skew${e}`,n.endsWith("deg")?`skew${e.slice(1).toUpperCase()}(${n})`:n]),["transform",aa]],...["x","y","z"].map(e=>Fr(`--un-rotate-${e}`,{initialValue:`rotate${e.toUpperCase()}(0)`})),...["x","y"].map(e=>Fr(`--un-skew-${e}`,{initialValue:`skew${e.toUpperCase()}(0)`}))]}function ha(e,t,n){const r=t.split(Qn);return e||!e&&1===r.length?Nn[e].map(e=>[`--un-${n}${e}`,t]):r.map((e,t)=>[`--un-${n}-${Un[t]}`,e])}function fa(e,t){let n;if(null!=Sr.cssvar(e))n=Sr.cssvar(e);else{e.startsWith("[")&&e.endsWith("]")&&(e=e.slice(1,-1));const r=e.split(",").map(e=>t.property?.[e]??Sr.properties(e));r.every(Boolean)&&(n=r.join(","))}return n}const ma=[[/^transition(?:-(\D+?))?(?:-(\d+))?$/,([,e,t],{theme:n})=>{Wr("default",["transition","timingFunction"]),Wr("default",["transition","duration"]);const r={"transition-property":n.property?.DEFAULT,"transition-timing-function":`var(--un-ease, ${qr("default",["transition","timingFunction"])})`,"transition-duration":`var(--un-duration, ${qr("default",["transition","duration"])})`};if(!e&&!t)return{...r};if(null!=e){const o=fa(e,n);if(o)return{"--un-duration":t&&Sr.time(t),...r,"transition-property":o}}else if(null!=t)return{"--un-duration":Sr.time(t),...r}}],[/^(?:transition-)?duration-(.+)$/,([,e])=>({"--un-duration":Sr.bracket.cssvar.time(e),"transition-duration":Sr.bracket.cssvar.time(e)})],[/^(?:transition-)?delay-(.+)$/,([,e])=>({"transition-delay":Sr.bracket.cssvar.time(e)})],[/^(?:transition-)?ease(?:-(.+))?$/,([,e="DEFAULT"],{theme:t})=>{let n;return t.ease?.[e]?(Wr("ease",e),n=qr("ease",e)):n=Sr.bracket.cssvar(e),[{"--un-ease":n,"transition-timing-function":n},Fr("--un-ease")]},{autocomplete:["transition-ease-(linear|in|out|in-out)","ease-(linear|in|out|in-out)"]}],[/^(?:transition-)?property-(.+)$/,([,e],{theme:t})=>{const n=Sr.global(e)||fa(e,t);if(n)return{"transition-property":n}},{autocomplete:[`transition-property-(${[...qn].join("|")})`]}],["transition-none",{transition:"none"}],...Rr("transition"),["transition-discrete",{"transition-behavior":"allow-discrete"}],["transition-normal",{"transition-behavior":"normal"}]],ga=[[/^text-(.+)$/,function([,e="base"],{theme:t}){const n=function(e,t){const[n,r]=St(e,"[","]",["/",":"])??[];if(null!=n){const e=(n.match(Zn)??[])[1];if(null==e||e===t)return[n,r]}}(e,"length");if(!n)return;const[r,o]=n,i=t.text?.[r];let a;o&&(t.leading?.[o]?(Wr("leading",o),a=qr("leading",o)):a=Sr.bracket.cssvar.global.rem(o));if(i)return Wr("text",[r,"fontSize"]),Wr("text",[r,"lineHeight"]),i.letterSpacing&&Wr("text",[r,"letterSpacing"]),{"font-size":qr("text",[r,"fontSize"]),"line-height":a??`var(--un-leading, ${qr("text",[r,"lineHeight"])})`,"letter-spacing":i.letterSpacing?qr("text",[r,"letterSpacing"]):void 0};const s=Sr.bracketOfLength.rem(r);return a&&s?{"font-size":s,"line-height":a}:{"font-size":Sr.bracketOfLength.rem(e)}},{autocomplete:"text-$text"}],[/^(?:text|font)-size-(.+)$/,Sa,{autocomplete:"text-size-$text"}],[/^text-(?:color-)?(.+)$/,function(e,t){return Ir(Sr.bracket(e[1]))?Sa(e,t):_r("color","text")(e,t)},{autocomplete:"text-$colors"}],[/^(?:color|c)-(.+)$/,_r("color","text")],[/^(?:text|color|c)-(.+)$/,([,e])=>qn.includes(e)?{color:e}:void 0,{autocomplete:`(text|color|c)-(${qn.join("|")})`}],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-opacity":Sr.bracket.percent.cssvar(e)}),{autocomplete:"(text|color|c)-(op|opacity)-<percent>"}],[/^fw-?([^-]+)$/,([,e],{theme:t})=>{let n;return t.fontWeight?.[e]?(Wr("fontWeight",e),n=qr("fontWeight",e)):n=Sr.bracket.cssvar.global.number(e),{"--un-font-weight":n,"font-weight":n}},{autocomplete:["(font|fw)-(100|200|300|400|500|600|700|800|900)","(font|fw)-$fontWeight"]}],[/^(?:font-)?(?:leading|lh|line-height)-(.+)$/,([,e],{theme:t})=>{let n;if(t.leading?.[e]?(Wr("leading",e),n=qr("leading",e)):zr(e)?(Wr("spacing"),n=`calc(var(--spacing) * ${zr(e)})`):n=Sr.bracket.cssvar.global.rem(e),null!=n)return[{"--un-leading":n,"line-height":n},Fr("--un-leading")]},{autocomplete:"(leading|lh|line-height)-$leading"}],["font-synthesis-weight",{"font-synthesis":"weight"}],["font-synthesis-style",{"font-synthesis":"style"}],["font-synthesis-small-caps",{"font-synthesis":"small-caps"}],["font-synthesis-none",{"font-synthesis":"none"}],[/^font-synthesis-(.+)$/,([,e])=>({"font-synthesis":Sr.bracket.cssvar.global(e)})],[/^(?:font-)?tracking-(.+)$/,([,e],{theme:t})=>{let n;return t.tracking?.[e]?(Wr("tracking",e),n=qr("tracking",e)):n=Sr.bracket.cssvar.global.rem(e),{"--un-tracking":n,"letter-spacing":n}},{autocomplete:"tracking-$tracking"}],[/^(?:font-)?word-spacing-(.+)$/,([,e],{theme:t})=>{const n=t.tracking?.[e]?qr("tracking",e):Sr.bracket.cssvar.global.rem(e);return{"--un-word-spacing":n,"word-spacing":n}},{autocomplete:"word-spacing-$spacing"}],["font-stretch-normal",{"font-stretch":"normal"}],["font-stretch-ultra-condensed",{"font-stretch":"ultra-condensed"}],["font-stretch-extra-condensed",{"font-stretch":"extra-condensed"}],["font-stretch-condensed",{"font-stretch":"condensed"}],["font-stretch-semi-condensed",{"font-stretch":"semi-condensed"}],["font-stretch-semi-expanded",{"font-stretch":"semi-expanded"}],["font-stretch-expanded",{"font-stretch":"expanded"}],["font-stretch-extra-expanded",{"font-stretch":"extra-expanded"}],["font-stretch-ultra-expanded",{"font-stretch":"ultra-expanded"}],[/^font-stretch-(.+)$/,([,e])=>({"font-stretch":Sr.bracket.cssvar.fraction.global(e)}),{autocomplete:"font-stretch-<percentage>"}],[/^font-(.+)$/,([,e],{theme:t})=>{let n;if(t.font?.[e])return Wr("font",e),n=qr("font",e),{"font-family":n};if(t.fontWeight?.[e])return Wr("fontWeight",e),n=qr("fontWeight",e),{"--un-font-weight":n,"font-weight":n};if(n=Sr.number(e),null!=n)return{"--un-font-weight":n,"font-weight":n};if(n=Sr.bracketOfFamily(e),null!=n&&null==Sr.number(n))return n=Sr.cssvar(n)??n,{"font-family":n};if(n=Sr.bracketOfNumber(e),null!=n)return n=Sr.cssvar.number(n),{"--un-font-weight":n,"font-weight":n};if(n=Sr.bracket(e),null!=n&&null!=Sr.number(n)){const e=Sr.number(n);return{"--un-font-weight":e,"font-weight":e}}return n=Sr.bracket.cssvar.global(e),null!=n?{"font-family":n}:void 0},{autocomplete:["font-$font","font-$fontWeight"]}]],ba=[[/^tab(?:-(.+))?$/,([,e])=>{const t=Sr.bracket.cssvar.global.number(e||"4");if(null!=t)return{"-moz-tab-size":t,"-o-tab-size":t,"tab-size":t}}]],ya=[[/^indent-(.+)$/,([,e])=>{let t=zr(e);return null!=t?(Wr("spacing"),{"text-indent":`calc(var(--spacing) * ${t})`}):(t=Sr.bracket.cssvar.auto.global.rem(e),null!=t?{"text-indent":t}:void 0)}]],ka=[[/^text-stroke(?:-(.+))?$/,([,e="DEFAULT"],{theme:t})=>(t.textStrokeWidth?.[e]&&Wr("textStrokeWidth",e),{"-webkit-text-stroke-width":t.textStrokeWidth?.[e]?qr("textStrokeWidth",e):Sr.bracket.cssvar.px(e)}),{autocomplete:"text-stroke-$textStrokeWidth"}],[/^text-stroke-(.+)$/,_r("-webkit-text-stroke-color","text-stroke"),{autocomplete:"text-stroke-$colors"}],[/^text-stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-stroke-opacity":Sr.bracket.percent.cssvar(e)}),{autocomplete:"text-stroke-(op|opacity)-<percent>"}]];const wa=[[/^text-shadow-(.+)$/,function(e,t){const[,n]=e,{theme:r}=t;let o=[];n&&(o=zt(n,"/",2)??[]);const i=r.textShadow?.[o[0]],a=n?Sr.bracket.cssvar(n):void 0;if((null!=i||null!=a)&&!Tr(a,r)){const e=o[1]?Sr.bracket.percent.cssvar(o[1]):void 0;return{"--un-text-shadow-opacity":e,"--un-text-shadow":Lr(i||a,"--un-text-shadow-color",e).join(","),"text-shadow":"var(--un-text-shadow)"}}return _r("--un-text-shadow-color","text-shadow")(e,t)??{"text-shadow":Sr.bracket.cssvar.global(n)}},{autocomplete:["text-shadow-$textShadow","text-shadow(-color)?-$colors","text-shadow(-color)?-(op|opacity)-<percent>"]}],[/^text-shadow-color-(.+)$/,_r("--un-text-shadow-color","text-shadow"),{autocomplete:"text-shadow-color-$colors"}],[/^text-shadow(?:-color)?-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-shadow-opacity":Sr.bracket.percent.cssvar(e)}),{autocomplete:"text-shadow(-color)?-(op|opacity)-<percent>"}]],va=[Fr("--un-ordinal"),Fr("--un-slashed-zero"),Fr("--un-numeric-figure"),Fr("--un-numeric-spacing"),Fr("--un-numeric-fraction")],xa={"font-variant-numeric":"var(--un-ordinal,) var(--un-slashed-zero,) var(--un-numeric-figure,) var(--un-numeric-spacing,) var(--un-numeric-fraction,)"},$a=[["ordinal",[{"--un-ordinal":"ordinal",...xa},...va]],["slashed-zero",[{"--un-slashed-zero":"slashed-zero",...xa},...va]],["lining-nums",[{"--un-numeric-figure":"lining-nums",...xa},...va]],["oldstyle-nums",[{"--un-numeric-figure":"oldstyle-nums",...xa},...va]],["proportional-nums",[{"--un-numeric-spacing":"proportional-nums",...xa},...va]],["tabular-nums",[{"--un-numeric-spacing":"tabular-nums",...xa},...va]],["diagonal-fractions",[{"--un-numeric-fraction":"diagonal-fractions",...xa},...va]],["stacked-fractions",[{"--un-numeric-fraction":"stacked-fractions",...xa},...va]],["normal-nums",[{"font-variant-numeric":"normal"}]]];function Sa([,e],{theme:t}){if(null!=t.text?.[e])return Wr("text",[e,"fontSize"]),Wr("text",[e,"lineHeight"]),{"font-size":qr("text",[e,"fontSize"]),"line-height":`var(--un-leading, ${qr("text",[e,"lineHeight"])})`};{const t=Sr.bracket.cssvar.global.rem(e);if(t)return{"font-size":t}}}const za={backface:"backface-visibility",break:"word-break",case:"text-transform",content:"align-content",fw:"font-weight",items:"align-items",justify:"justify-content",select:"user-select",self:"align-self",vertical:"vertical-align",visible:"visibility",whitespace:"white-space",ws:"white-space","bg-blend":"background-blend-mode","bg-clip":"-webkit-background-clip","bg-image":"background-image","bg-origin":"background-origin","bg-position":"background-position","bg-repeat":"background-repeat","bg-size":"background-size","mix-blend":"mix-blend-mode",object:"object-fit","object-position":"object-position",write:"writing-mode","write-orient":"text-orientation"},Ca=[[/^(.+?)-(\$.+)$/,([,e,t])=>{const n=za[e];if(n)return{[n]:Sr.cssvar(t)}}]];const ja=[ga,ba,ya,ka,wa,Mo,To,Jr,Zr,[["appearance-auto",{"-webkit-appearance":"auto",appearance:"auto"}],["appearance-none",{"-webkit-appearance":"none",appearance:"none"}]],oo,so,co,uo,po,[["image-render-auto",{"image-rendering":"auto"}],["image-render-edge",{"image-rendering":"crisp-edges"}],["image-render-pixel",[["-ms-interpolation-mode","nearest-neighbor"],["image-rendering","-webkit-optimize-contrast"],["image-rendering","-moz-crisp-edges"],["image-rendering","-o-pixelated"],["image-rendering","pixelated"]]]],ho,oo,fo,so,go,Ao,xo,[[/^(?:color-)?scheme-(.+)$/,([,e])=>({"color-scheme":e.split("-").join(" ")})]],Yr,[[/^@container(?:\/(\w+))?(?:-(normal))?$/,([,e,t])=>({"container-type":t??"inline-size","container-name":e})]],_o,Yo,Ko,Jo,Ei,Li,Mi,Pi,Bi,Ri,Fi,Ii,Ni,Ui,Di,Wi,[["break-normal",{"overflow-wrap":"normal","word-break":"normal"}],["break-words",{"overflow-wrap":"break-word"}],["break-all",{"word-break":"break-all"}],["break-keep",{"word-break":"keep-all"}],["break-anywhere",{"overflow-wrap":"anywhere"}],["wrap-break-word",{"overflow-wrap":"break-word"}],["wrap-anywhere",{"overflow-wrap":"anywhere"}],["wrap-normal",{"overflow-wrap":"normal"}]],[["text-wrap",{"text-wrap":"wrap"}],["text-nowrap",{"text-wrap":"nowrap"}],["text-balance",{"text-wrap":"balance"}],["text-pretty",{"text-wrap":"pretty"}]],[["truncate",{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}],["text-truncate",{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}],["text-ellipsis",{"text-overflow":"ellipsis"}],["text-clip",{"text-overflow":"clip"}]],qi,[["italic",{"font-style":"italic"}],["not-italic",{"font-style":"normal"}],["font-italic",{"font-style":"italic"}],["font-not-italic",{"font-style":"normal"}],["oblique",{"font-style":"oblique"}],["not-oblique",{"font-style":"normal"}],["font-oblique",{"font-style":"oblique"}],["font-not-oblique",{"font-style":"normal"}]],[["antialiased",{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"}],["subpixel-antialiased",{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"}]],Si,xi,la,ma,Ca,[[/^\[(.*)\]$/,([e,t],{theme:n})=>{if(!t.includes(":"))return;const[r,...o]=t.split(":"),i=o.join(":");if(!function(e){if(!e.includes("://"))return!1;try{return""!==new URL(e).host}catch{return!1}}(t)&&/^[\w-]+$/.test(r)&&function(e){let t=0;function n(n){for(;t<e.length;)if(t+=1,e[t]===n)return!0;return!1}for(t=0;t<e.length;t++){const r=e[t];if("\"`'".includes(r)){if(!n(r))return!1}else if("("===r){if(!n(")"))return!1}else if("[]{}:".includes(r))return!1}return!0}(i)){const e=Sr.bracket(`[${i}]`,n);if(e)return{[r]:e}}}]],di,wi,fi,yi,bi,ui,pi,hi,ci,ki,ti,Zi,eo,ro,Vi,Hi,Xi,[["forced-color-adjust-auto",{"forced-color-adjust":"auto"}],["forced-color-adjust-none",{"forced-color-adjust":"none"}]],[["sr-only",{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0,0,0,0)","white-space":"nowrap","border-width":0}],["not-sr-only",{position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",clip:"auto","white-space":"normal"}]],[["isolate",{isolation:"isolate"}],["isolate-auto",{isolation:"auto"}],["isolation-auto",{isolation:"auto"}]],Yi,Gi,Ki,[["min-h-dvh",{"min-height":"100dvh"}],["min-h-svh",{"min-height":"100svh"}],["min-h-lvh",{"min-height":"100lvh"}],["h-dvh",{height:"100dvh"}],["h-svh",{height:"100svh"}],["h-lvh",{height:"100lvh"}],["max-h-dvh",{"max-height":"100dvh"}],["max-h-svh",{"max-height":"100svh"}],["max-h-lvh",{"max-height":"100lvh"}]],si,Eo,Xo,[[/^line-clamp-(\d+)$/,([,e])=>({overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":e}),{autocomplete:["line-clamp","line-clamp-(1|2|3|4|5|6|none)"]}],["line-clamp-none",{overflow:"visible",display:"block","-webkit-box-orient":"horizontal","-webkit-line-clamp":"unset"}]],li,zi,Ji,ra,$a,[[/^view-transition-([\w-]+)$/,([,e])=>({"view-transition-name":e})]],Po,Ro,[["field-sizing-fixed",{"field-sizing":"fixed"}],["field-sizing-content",{"field-sizing":"content"}]],[[/^(where|\?)$/,(e,{constructCSS:t,generator:n})=>{if("dev"===n.userConfig.envMode)return`@keyframes __un_qm{0%{box-shadow:inset 4px 4px #ff1e90, inset -4px -4px #ff1e90}100%{box-shadow:inset 8px 8px #3399ff, inset -8px -8px #3399ff}} ${t({animation:"__un_qm 0.5s ease-in-out alternate infinite"})}`}]]].flat(),Aa=[...Gr],Ea={black:"#000",white:"#fff",slate:{50:"oklch(98.4% 0.003 247.858)",100:"oklch(96.8% 0.007 247.896)",200:"oklch(92.9% 0.013 255.508)",300:"oklch(86.9% 0.022 252.894)",400:"oklch(70.4% 0.04 256.788)",500:"oklch(55.4% 0.046 257.417)",600:"oklch(44.6% 0.043 257.281)",700:"oklch(37.2% 0.044 257.287)",800:"oklch(27.9% 0.041 260.031)",900:"oklch(20.8% 0.042 265.755)",950:"oklch(12.9% 0.042 264.695)"},gray:{50:"oklch(98.5% 0.002 247.839)",100:"oklch(96.7% 0.003 264.542)",200:"oklch(92.8% 0.006 264.531)",300:"oklch(87.2% 0.01 258.338)",400:"oklch(70.7% 0.022 261.325)",500:"oklch(55.1% 0.027 264.364)",600:"oklch(44.6% 0.03 256.802)",700:"oklch(37.3% 0.034 259.733)",800:"oklch(27.8% 0.033 256.848)",900:"oklch(21% 0.034 264.665)",950:"oklch(13% 0.028 261.692)"},zinc:{50:"oklch(98.5% 0 0)",100:"oklch(96.7% 0.001 286.375)",200:"oklch(92% 0.004 286.32)",300:"oklch(87.1% 0.006 286.286)",400:"oklch(70.5% 0.015 286.067)",500:"oklch(55.2% 0.016 285.938)",600:"oklch(44.2% 0.017 285.786)",700:"oklch(37% 0.013 285.805)",800:"oklch(27.4% 0.006 286.033)",900:"oklch(21% 0.006 285.885)",950:"oklch(14.1% 0.005 285.823)"},neutral:{50:"oklch(98.5% 0 0)",100:"oklch(97% 0 0)",200:"oklch(92.2% 0 0)",300:"oklch(87% 0 0)",400:"oklch(70.8% 0 0)",500:"oklch(55.6% 0 0)",600:"oklch(43.9% 0 0)",700:"oklch(37.1% 0 0)",800:"oklch(26.9% 0 0)",900:"oklch(20.5% 0 0)",950:"oklch(14.5% 0 0)"},stone:{50:"oklch(98.5% 0.001 106.423)",100:"oklch(97% 0.001 106.424)",200:"oklch(92.3% 0.003 48.717)",300:"oklch(86.9% 0.005 56.366)",400:"oklch(70.9% 0.01 56.259)",500:"oklch(55.3% 0.013 58.071)",600:"oklch(44.4% 0.011 73.639)",700:"oklch(37.4% 0.01 67.558)",800:"oklch(26.8% 0.007 34.298)",900:"oklch(21.6% 0.006 56.043)",950:"oklch(14.7% 0.004 49.25)"},red:{50:"oklch(97.1% 0.013 17.38)",100:"oklch(93.6% 0.032 17.717)",200:"oklch(88.5% 0.062 18.334)",300:"oklch(80.8% 0.114 19.571)",400:"oklch(70.4% 0.191 22.216)",500:"oklch(63.7% 0.237 25.331)",600:"oklch(57.7% 0.245 27.325)",700:"oklch(50.5% 0.213 27.518)",800:"oklch(44.4% 0.177 26.899)",900:"oklch(39.6% 0.141 25.723)",950:"oklch(25.8% 0.092 26.042)"},orange:{50:"oklch(98% 0.016 73.684)",100:"oklch(95.4% 0.038 75.164)",200:"oklch(90.1% 0.076 70.697)",300:"oklch(83.7% 0.128 66.29)",400:"oklch(75% 0.183 55.934)",500:"oklch(70.5% 0.213 47.604)",600:"oklch(64.6% 0.222 41.116)",700:"oklch(55.3% 0.195 38.402)",800:"oklch(47% 0.157 37.304)",900:"oklch(40.8% 0.123 38.172)",950:"oklch(26.6% 0.079 36.259)"},amber:{50:"oklch(98.7% 0.022 95.277)",100:"oklch(96.2% 0.059 95.617)",200:"oklch(92.4% 0.12 95.746)",300:"oklch(87.9% 0.169 91.605)",400:"oklch(82.8% 0.189 84.429)",500:"oklch(76.9% 0.188 70.08)",600:"oklch(66.6% 0.179 58.318)",700:"oklch(55.5% 0.163 48.998)",800:"oklch(47.3% 0.137 46.201)",900:"oklch(41.4% 0.112 45.904)",950:"oklch(27.9% 0.077 45.635)"},yellow:{50:"oklch(98.7% 0.026 102.212)",100:"oklch(97.3% 0.071 103.193)",200:"oklch(94.5% 0.129 101.54)",300:"oklch(90.5% 0.182 98.111)",400:"oklch(85.2% 0.199 91.936)",500:"oklch(79.5% 0.184 86.047)",600:"oklch(68.1% 0.162 75.834)",700:"oklch(55.4% 0.135 66.442)",800:"oklch(47.6% 0.114 61.907)",900:"oklch(42.1% 0.095 57.708)",950:"oklch(28.6% 0.066 53.813)"},lime:{50:"oklch(98.6% 0.031 120.757)",100:"oklch(96.7% 0.067 122.328)",200:"oklch(93.8% 0.127 124.321)",300:"oklch(89.7% 0.196 126.665)",400:"oklch(84.1% 0.238 128.85)",500:"oklch(76.8% 0.233 130.85)",600:"oklch(64.8% 0.2 131.684)",700:"oklch(53.2% 0.157 131.589)",800:"oklch(45.3% 0.124 130.933)",900:"oklch(40.5% 0.101 131.063)",950:"oklch(27.4% 0.072 132.109)"},green:{50:"oklch(98.2% 0.018 155.826)",100:"oklch(96.2% 0.044 156.743)",200:"oklch(92.5% 0.084 155.995)",300:"oklch(87.1% 0.15 154.449)",400:"oklch(79.2% 0.209 151.711)",500:"oklch(72.3% 0.219 149.579)",600:"oklch(62.7% 0.194 149.214)",700:"oklch(52.7% 0.154 150.069)",800:"oklch(44.8% 0.119 151.328)",900:"oklch(39.3% 0.095 152.535)",950:"oklch(26.6% 0.065 152.934)"},emerald:{50:"oklch(97.9% 0.021 166.113)",100:"oklch(95% 0.052 163.051)",200:"oklch(90.5% 0.093 164.15)",300:"oklch(84.5% 0.143 164.978)",400:"oklch(76.5% 0.177 163.223)",500:"oklch(69.6% 0.17 162.48)",600:"oklch(59.6% 0.145 163.225)",700:"oklch(50.8% 0.118 165.612)",800:"oklch(43.2% 0.095 166.913)",900:"oklch(37.8% 0.077 168.94)",950:"oklch(26.2% 0.051 172.552)"},teal:{50:"oklch(98.4% 0.014 180.72)",100:"oklch(95.3% 0.051 180.801)",200:"oklch(91% 0.096 180.426)",300:"oklch(85.5% 0.138 181.071)",400:"oklch(77.7% 0.152 181.912)",500:"oklch(70.4% 0.14 182.503)",600:"oklch(60% 0.118 184.704)",700:"oklch(51.1% 0.096 186.391)",800:"oklch(43.7% 0.078 188.216)",900:"oklch(38.6% 0.063 188.416)",950:"oklch(27.7% 0.046 192.524)"},cyan:{50:"oklch(98.4% 0.019 200.873)",100:"oklch(95.6% 0.045 203.388)",200:"oklch(91.7% 0.08 205.041)",300:"oklch(86.5% 0.127 207.078)",400:"oklch(78.9% 0.154 211.53)",500:"oklch(71.5% 0.143 215.221)",600:"oklch(60.9% 0.126 221.723)",700:"oklch(52% 0.105 223.128)",800:"oklch(45% 0.085 224.283)",900:"oklch(39.8% 0.07 227.392)",950:"oklch(30.2% 0.056 229.695)"},sky:{50:"oklch(97.7% 0.013 236.62)",100:"oklch(95.1% 0.026 236.824)",200:"oklch(90.1% 0.058 230.902)",300:"oklch(82.8% 0.111 230.318)",400:"oklch(74.6% 0.16 232.661)",500:"oklch(68.5% 0.169 237.323)",600:"oklch(58.8% 0.158 241.966)",700:"oklch(50% 0.134 242.749)",800:"oklch(44.3% 0.11 240.79)",900:"oklch(39.1% 0.09 240.876)",950:"oklch(29.3% 0.066 243.157)"},blue:{50:"oklch(97% 0.014 254.604)",100:"oklch(93.2% 0.032 255.585)",200:"oklch(88.2% 0.059 254.128)",300:"oklch(80.9% 0.105 251.813)",400:"oklch(70.7% 0.165 254.624)",500:"oklch(62.3% 0.214 259.815)",600:"oklch(54.6% 0.245 262.881)",700:"oklch(48.8% 0.243 264.376)",800:"oklch(42.4% 0.199 265.638)",900:"oklch(37.9% 0.146 265.522)",950:"oklch(28.2% 0.091 267.935)"},indigo:{50:"oklch(96.2% 0.018 272.314)",100:"oklch(93% 0.034 272.788)",200:"oklch(87% 0.065 274.039)",300:"oklch(78.5% 0.115 274.713)",400:"oklch(67.3% 0.182 276.935)",500:"oklch(58.5% 0.233 277.117)",600:"oklch(51.1% 0.262 276.966)",700:"oklch(45.7% 0.24 277.023)",800:"oklch(39.8% 0.195 277.366)",900:"oklch(35.9% 0.144 278.697)",950:"oklch(25.7% 0.09 281.288)"},violet:{50:"oklch(96.9% 0.016 293.756)",100:"oklch(94.3% 0.029 294.588)",200:"oklch(89.4% 0.057 293.283)",300:"oklch(81.1% 0.111 293.571)",400:"oklch(70.2% 0.183 293.541)",500:"oklch(60.6% 0.25 292.717)",600:"oklch(54.1% 0.281 293.009)",700:"oklch(49.1% 0.27 292.581)",800:"oklch(43.2% 0.232 292.759)",900:"oklch(38% 0.189 293.745)",950:"oklch(28.3% 0.141 291.089)"},purple:{50:"oklch(97.7% 0.014 308.299)",100:"oklch(94.6% 0.033 307.174)",200:"oklch(90.2% 0.063 306.703)",300:"oklch(82.7% 0.119 306.383)",400:"oklch(71.4% 0.203 305.504)",500:"oklch(62.7% 0.265 303.9)",600:"oklch(55.8% 0.288 302.321)",700:"oklch(49.6% 0.265 301.924)",800:"oklch(43.8% 0.218 303.724)",900:"oklch(38.1% 0.176 304.987)",950:"oklch(29.1% 0.149 302.717)"},fuchsia:{50:"oklch(97.7% 0.017 320.058)",100:"oklch(95.2% 0.037 318.852)",200:"oklch(90.3% 0.076 319.62)",300:"oklch(83.3% 0.145 321.434)",400:"oklch(74% 0.238 322.16)",500:"oklch(66.7% 0.295 322.15)",600:"oklch(59.1% 0.293 322.896)",700:"oklch(51.8% 0.253 323.949)",800:"oklch(45.2% 0.211 324.591)",900:"oklch(40.1% 0.17 325.612)",950:"oklch(29.3% 0.136 325.661)"},pink:{50:"oklch(97.1% 0.014 343.198)",100:"oklch(94.8% 0.028 342.258)",200:"oklch(89.9% 0.061 343.231)",300:"oklch(82.3% 0.12 346.018)",400:"oklch(71.8% 0.202 349.761)",500:"oklch(65.6% 0.241 354.308)",600:"oklch(59.2% 0.249 0.584)",700:"oklch(52.5% 0.223 3.958)",800:"oklch(45.9% 0.187 3.815)",900:"oklch(40.8% 0.153 2.432)",950:"oklch(28.4% 0.109 3.907)"},rose:{50:"oklch(96.9% 0.015 12.422)",100:"oklch(94.1% 0.03 12.58)",200:"oklch(89.2% 0.058 10.001)",300:"oklch(81% 0.117 11.638)",400:"oklch(71.2% 0.194 13.428)",500:"oklch(64.5% 0.246 16.439)",600:"oklch(58.6% 0.253 17.585)",700:"oklch(51.4% 0.222 16.935)",800:"oklch(45.5% 0.188 13.697)",900:"oklch(41% 0.159 10.272)",950:"oklch(27.1% 0.105 12.094)"},light:{50:"oklch(99.4% 0 0)",100:"oklch(99.11% 0 0)",200:"oklch(98.51% 0 0)",300:"oklch(98.16% 0.0017 247.84)",400:"oklch(97.31% 0 0)",500:"oklch(96.12% 0 0)",600:"oklch(96.32% 0.0034 247.86)",700:"oklch(94.17% 0.0052 247.88)",800:"oklch(91.09% 0.007 247.9)",900:"oklch(90.72% 0.0051 228.82)",950:"oklch(89.23% 0.006 239.83)"},dark:{50:"oklch(40.91% 0 0)",100:"oklch(35.62% 0 0)",200:"oklch(31.71% 0 0)",300:"oklch(29.72% 0 0)",400:"oklch(25.2% 0 0)",500:"oklch(23.93% 0 0)",600:"oklch(22.73% 0.0038 286.09)",700:"oklch(22.21% 0 0)",800:"oklch(20.9% 0 0)",900:"oklch(16.84% 0 0)",950:"oklch(13.44% 0 0)"}};Object.values(Ea).forEach(e=>{"string"!=typeof e&&void 0!==e&&(e.DEFAULT=e.DEFAULT||e[400])});const Oa={DEFAULT:["0 1px 3px 0 rgb(0 0 0 / 0.1)","0 1px 2px -1px rgb(0 0 0 / 0.1)"],"2xs":"0 1px rgb(0 0 0 / 0.05)",xs:"0 1px 2px 0 rgb(0 0 0 / 0.05)",sm:["0 1px 3px 0 rgb(0 0 0 / 0.1)","0 1px 2px -1px rgb(0 0 0 / 0.1)"],md:["0 4px 6px -1px rgb(0 0 0 / 0.1)","0 2px 4px -2px rgb(0 0 0 / 0.1)"],lg:["0 10px 15px -3px rgb(0 0 0 / 0.1)","0 4px 6px -4px rgb(0 0 0 / 0.1)"],xl:["0 20px 25px -5px rgb(0 0 0 / 0.1)","0 8px 10px -6px rgb(0 0 0 / 0.1)"],"2xl":"0 25px 50px -12px rgb(0 0 0 / 0.25)",none:"0 0 rgb(0 0 0 / 0)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)"},_a={sm:"40rem",md:"48rem",lg:"64rem",xl:"80rem","2xl":"96rem"},La={font:{sans:["ui-sans-serif","system-ui","-apple-system","BlinkMacSystemFont",'"Segoe UI"',"Roboto",'"Helvetica Neue"',"Arial",'"Noto Sans"',"sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"','"Noto Color Emoji"'].join(","),serif:["ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"].join(","),mono:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"].join(",")},colors:Ea,spacing:{DEFAULT:"0.25rem",xs:"0.75rem",sm:"0.875rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"},breakpoint:_a,verticalBreakpoint:{..._a},text:{xs:{fontSize:"0.75rem",lineHeight:"1rem"},sm:{fontSize:"0.875rem",lineHeight:"1.25rem"},base:{fontSize:"1rem",lineHeight:"1.5rem"},lg:{fontSize:"1.125rem",lineHeight:"1.75rem"},xl:{fontSize:"1.25rem",lineHeight:"1.75rem"},"2xl":{fontSize:"1.5rem",lineHeight:"2rem"},"3xl":{fontSize:"1.875rem",lineHeight:"2.25rem"},"4xl":{fontSize:"2.25rem",lineHeight:"2.5rem"},"5xl":{fontSize:"3rem",lineHeight:"1"},"6xl":{fontSize:"3.75rem",lineHeight:"1"},"7xl":{fontSize:"4.5rem",lineHeight:"1"},"8xl":{fontSize:"6rem",lineHeight:"1"},"9xl":{fontSize:"8rem",lineHeight:"1"}},fontWeight:{thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},tracking:{tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},leading:{none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},textStrokeWidth:{DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},radius:{DEFAULT:"0.25rem",none:"0",xs:"0.125rem",sm:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem","4xl":"2rem"},shadow:Oa,insetShadow:{"2xs":"inset 0 1px rgb(0 0 0 / 0.05)",xs:"inset 0 1px 1px rgb(0 0 0 / 0.05)",sm:"inset 0 2px 4px rgb(0 0 0 / 0.05)",none:"0 0 rgb(0 0 0 / 0)"},dropShadow:{DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],xs:"0 1px 1px rgb(0 0 0 / 0.05)",sm:"0 1px 2px rgb(0 0 0 / 0.15)",md:"0 3px 3px rgb(0 0 0 / 0.12)",lg:"0 4px 4px rgb(0 0 0 / 0.15)",xl:"0 9px 7px rgb(0 0 0 / 0.1)","2xl":"0 25px 25px rgb(0 0 0 / 0.15)"},textShadow:{none:"0 0 rgb(0 0 0 / 0)","2xs":"0 1px 0 rgb(0 0 0 / 0.15)",xs:"0 1px 1px rgb(0 0 0 / 0.2)",sm:["0 1px 0 rgb(0 0 0 / 0.075)","0 1px 1px rgb(0 0 0 / 0.075)","0 2px 2px rgb(0 0 0 / 0.075)"],md:["0 1px 1px rgb(0 0 0 / 0.1)","0 1px 2px rgb(0 0 0 / 0.1)","0 2px 4px rgb(0 0 0 / 0.1)"],lg:["0 1px 2px rgb(0 0 0 / 0.1)","0 3px 2px rgb(0 0 0 / 0.1)","0 4px 8px rgb(0 0 0 / 0.1)"]},ease:{linear:"linear",in:"cubic-bezier(0.4, 0, 1, 1)",out:"cubic-bezier(0, 0, 0.2, 1)","in-out":"cubic-bezier(0.4, 0, 0.2, 1)",DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)"},animation:{keyframes:{pulse:"{0%, 100% {opacity:1} 50% {opacity:.5}}",bounce:"{0%, 100% {transform:translateY(-25%);animation-timing-function:cubic-bezier(0.8,0,1,1)} 50% {transform:translateY(0);animation-timing-function:cubic-bezier(0,0,0.2,1)}}",spin:"{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}",ping:"{0%{transform:scale(1);opacity:1}75%,100%{transform:scale(2);opacity:0}}","bounce-alt":"{from,20%,53%,80%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1);transform:translate3d(0,0,0)}40%,43%{animation-timing-function:cubic-bezier(0.755,0.05,0.855,0.06);transform:translate3d(0,-30px,0)}70%{animation-timing-function:cubic-bezier(0.755,0.05,0.855,0.06);transform:translate3d(0,-15px,0)}90%{transform:translate3d(0,-4px,0)}}",flash:"{from,50%,to{opacity:1}25%,75%{opacity:0}}","pulse-alt":"{from{transform:scale3d(1,1,1)}50%{transform:scale3d(1.05,1.05,1.05)}to{transform:scale3d(1,1,1)}}","rubber-band":"{from{transform:scale3d(1,1,1)}30%{transform:scale3d(1.25,0.75,1)}40%{transform:scale3d(0.75,1.25,1)}50%{transform:scale3d(1.15,0.85,1)}65%{transform:scale3d(0.95,1.05,1)}75%{transform:scale3d(1.05,0.95,1)}to{transform:scale3d(1,1,1)}}","shake-x":"{from,to{transform:translate3d(0,0,0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}","shake-y":"{from,to{transform:translate3d(0,0,0)}10%,30%,50%,70%,90%{transform:translate3d(0,-10px,0)}20%,40%,60%,80%{transform:translate3d(0,10px,0)}}","head-shake":"{0%{transform:translateX(0)}6.5%{transform:translateX(-6px) rotateY(-9deg)}18.5%{transform:translateX(5px) rotateY(7deg)}31.5%{transform:translateX(-3px) rotateY(-5deg)}43.5%{transform:translateX(2px) rotateY(3deg)}50%{transform:translateX(0)}}",swing:"{20%{transform:rotate3d(0,0,1,15deg)}40%{transform:rotate3d(0,0,1,-10deg)}60%{transform:rotate3d(0,0,1,5deg)}80%{transform:rotate3d(0,0,1,-5deg)}to{transform:rotate3d(0,0,1,0deg)}}",tada:"{from{transform:scale3d(1,1,1)}10%,20%{transform:scale3d(0.9,0.9,0.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}to{transform:scale3d(1,1,1)}}",wobble:"{from{transform:translate3d(0,0,0)}15%{transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}to{transform:translate3d(0,0,0)}}",jello:"{from,11.1%,to{transform:translate3d(0,0,0)}22.2%{transform:skewX(-12.5deg) skewY(-12.5deg)}33.3%{transform:skewX(6.25deg) skewY(6.25deg)}44.4%{transform:skewX(-3.125deg)skewY(-3.125deg)}55.5%{transform:skewX(1.5625deg) skewY(1.5625deg)}66.6%{transform:skewX(-0.78125deg) skewY(-0.78125deg)}77.7%{transform:skewX(0.390625deg) skewY(0.390625deg)}88.8%{transform:skewX(-0.1953125deg) skewY(-0.1953125deg)}}","heart-beat":"{0%{transform:scale(1)}14%{transform:scale(1.3)}28%{transform:scale(1)}42%{transform:scale(1.3)}70%{transform:scale(1)}}",hinge:"{0%{transform-origin:top left;animation-timing-function:ease-in-out}20%,60%{transform:rotate3d(0,0,1,80deg);transform-origin:top left;animation-timing-function:ease-in-out}40%,80%{transform:rotate3d(0,0,1,60deg);transform-origin:top left;animation-timing-function:ease-in-out}to{transform:translate3d(0,700px,0);opacity:0}}","jack-in-the-box":"{from{opacity:0;transform-origin:center bottom;transform:scale(0.1) rotate(30deg)}50%{transform:rotate(-10deg)}70%{transform:rotate(3deg)}to{transform:scale(1)}}","light-speed-in-left":"{from{opacity:0;transform:translate3d(-100%,0,0) skewX(-30deg)}60%{opacity:1;transform:skewX(20deg)}80%{transform:skewX(-5deg)}to{transform:translate3d(0,0,0)}}","light-speed-in-right":"{from{opacity:0;transform:translate3d(100%,0,0) skewX(-30deg)}60%{opacity:1;transform:skewX(20deg)}80%{transform:skewX(-5deg)}to{transform:translate3d(0,0,0)}}","light-speed-out-left":"{from{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0) skewX(30deg)}}","light-speed-out-right":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0) skewX(30deg)}}",flip:"{from{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,-360deg);animation-timing-function:ease-out}40%{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);animation-timing-function:ease-out}50%{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);animation-timing-function:ease-in}80%{transform:perspective(400px) scale3d(0.95,0.95,0.95) translate3d(0,0,0) rotate3d(0,1,0,0deg);animation-timing-function:ease-in}to{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,0deg);animation-timing-function:ease-in}}","flip-in-x":"{from{transform:perspective(400px) rotate3d(1,0,0,90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotate3d(1,0,0,-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotate3d(1,0,0,10deg);opacity:1}80%{transform:perspective(400px) rotate3d(1,0,0,-5deg)}to{transform:perspective(400px)}}","flip-in-y":"{from{transform:perspective(400px) rotate3d(0,1,0,90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotate3d(0,1,0,-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotate3d(0,1,0,10deg);opacity:1}80%{transform:perspective(400px) rotate3d(0,1,0,-5deg)}to{transform:perspective(400px)}}","flip-out-x":"{from{transform:perspective(400px)}30%{transform:perspective(400px) rotate3d(1,0,0,-20deg);opacity:1}to{transform:perspective(400px) rotate3d(1,0,0,90deg);opacity:0}}","flip-out-y":"{from{transform:perspective(400px)}30%{transform:perspective(400px) rotate3d(0,1,0,-15deg);opacity:1}to{transform:perspective(400px) rotate3d(0,1,0,90deg);opacity:0}}","rotate-in":"{from{transform-origin:center;transform:rotate3d(0,0,1,-200deg);opacity:0}to{transform-origin:center;transform:translate3d(0,0,0);opacity:1}}","rotate-in-down-left":"{from{transform-origin:left bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}to{transform-origin:left bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-in-down-right":"{from{transform-origin:right bottom;transform:rotate3d(0,0,1,45deg);opacity:0}to{transform-origin:right bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-in-up-left":"{from{transform-origin:left top;transform:rotate3d(0,0,1,45deg);opacity:0}to{transform-origin:left top;transform:translate3d(0,0,0);opacity:1}}","rotate-in-up-right":"{from{transform-origin:right bottom;transform:rotate3d(0,0,1,-90deg);opacity:0}to{transform-origin:right bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-out":"{from{transform-origin:center;opacity:1}to{transform-origin:center;transform:rotate3d(0,0,1,200deg);opacity:0}}","rotate-out-down-left":"{from{transform-origin:left bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,45deg);opacity:0}}","rotate-out-down-right":"{from{transform-origin:right bottom;opacity:1}to{transform-origin:right bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}}","rotate-out-up-left":"{from{transform-origin:left bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}}","rotate-out-up-right":"{from{transform-origin:right bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,90deg);opacity:0}}","roll-in":"{from{opacity:0;transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;transform:translate3d(0,0,0)}}","roll-out":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}","zoom-in":"{from{opacity:0;transform:scale3d(0.3,0.3,0.3)}50%{opacity:1}}","zoom-in-down":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,-1000px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-left":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(-1000px,0,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(10px,0,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-right":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(1000px,0,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(-10px,0,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-up":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,1000px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-out":"{from{opacity:1}50%{opacity:0;transform:scale3d(0.3,0.3,0.3)}to{opacity:0}}","zoom-out-down":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}to{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,2000px,0);transform-origin:center bottom;animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-out-left":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(42px,0,0)}to{opacity:0;transform:scale(0.1) translate3d(-2000px,0,0);transform-origin:left center}}","zoom-out-right":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(-42px,0,0)}to{opacity:0;transform:scale(0.1) translate3d(2000px,0,0);transform-origin:right center}}","zoom-out-up":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}to{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,-2000px,0);transform-origin:center bottom;animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","bounce-in":"{from,20%,40%,60%,80%,to{animation-timing-function:ease-in-out}0%{opacity:0;transform:scale3d(0.3,0.3,0.3)}20%{transform:scale3d(1.1,1.1,1.1)}40%{transform:scale3d(0.9,0.9,0.9)}60%{transform:scale3d(1.03,1.03,1.03);opacity:1}80%{transform:scale3d(0.97,0.97,0.97)}to{opacity:1;transform:scale3d(1,1,1)}}","bounce-in-down":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:translate3d(0,0,0)}}","bounce-in-left":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:translate3d(0,0,0)}}","bounce-in-right":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:translate3d(0,0,0)}}","bounce-in-up":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translate3d(0,0,0)}}","bounce-out":"{20%{transform:scale3d(0.9,0.9,0.9)}50%,55%{opacity:1;transform:scale3d(1.1,1.1,1.1)}to{opacity:0;transform:scale3d(0.3,0.3,0.3)}}","bounce-out-down":"{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}","bounce-out-left":"{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}","bounce-out-right":"{20%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(2000px,0,0)}}","bounce-out-up":"{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}","slide-in-down":"{from{transform:translate3d(0,-100%,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-left":"{from{transform:translate3d(-100%,0,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-right":"{from{transform:translate3d(100%,0,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-up":"{from{transform:translate3d(0,100%,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-out-down":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(0,100%,0)}}","slide-out-left":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(-100%,0,0)}}","slide-out-right":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(100%,0,0)}}","slide-out-up":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(0,-100%,0)}}","fade-in":"{from{opacity:0}to{opacity:1}}","fade-in-down":"{from{opacity:0;transform:translate3d(0,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-down-big":"{from{opacity:0;transform:translate3d(0,-2000px,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-left":"{from{opacity:0;transform:translate3d(-100%,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-left-big":"{from{opacity:0;transform:translate3d(-2000px,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-right":"{from{opacity:0;transform:translate3d(100%,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-right-big":"{from{opacity:0;transform:translate3d(2000px,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-up":"{from{opacity:0;transform:translate3d(0,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-up-big":"{from{opacity:0;transform:translate3d(0,2000px,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-top-left":"{from{opacity:0;transform:translate3d(-100%,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-top-right":"{from{opacity:0;transform:translate3d(100%,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-bottom-left":"{from{opacity:0;transform:translate3d(-100%,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-bottom-right":"{from{opacity:0;transform:translate3d(100%,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-out":"{from{opacity:1}to{opacity:0}}","fade-out-down":"{from{opacity:1}to{opacity:0;transform:translate3d(0,100%,0)}}","fade-out-down-big":"{from{opacity:1}to{opacity:0;transform:translate3d(0,2000px,0)}}","fade-out-left":"{from{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0)}}","fade-out-left-big":"{from{opacity:1}to{opacity:0;transform:translate3d(-2000px,0,0)}}","fade-out-right":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0)}}","fade-out-right-big":"{from{opacity:1}to{opacity:0;transform:translate3d(2000px,0,0)}}","fade-out-up":"{from{opacity:1}to{opacity:0;transform:translate3d(0,-100%,0)}}","fade-out-up-big":"{from{opacity:1}to{opacity:0;transform:translate3d(0,-2000px,0)}}","fade-out-top-left":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(-100%,-100%,0)}}","fade-out-top-right":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(100%,-100%,0)}}","fade-out-bottom-left":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(-100%,100%,0)}}","fade-out-bottom-right":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(100%,100%,0)}}","back-in-up":"{0%{opacity:0.7;transform:translateY(1200px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-down":"{0%{opacity:0.7;transform:translateY(-1200px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-right":"{0%{opacity:0.7;transform:translateX(2000px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-left":"{0%{opacity:0.7;transform:translateX(-2000px) scale(0.7)}80%{opacity:0.7;transform:translateX(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-out-up":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateY(-700px) scale(0.7)}}","back-out-down":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateY(700px) scale(0.7)}}","back-out-right":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateX(2000px) scale(0.7)}}","back-out-left":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateX(-2000px) scale(0.7)}100%{opacity:0.7;transform:translateY(-700px) scale(0.7)}}"},durations:{pulse:"2s","heart-beat":"1.3s","bounce-in":"0.75s","bounce-out":"0.75s","flip-out-x":"0.75s","flip-out-y":"0.75s",hinge:"2s"},timingFns:{pulse:"cubic-bezier(0.4,0,.6,1)",ping:"cubic-bezier(0,0,.2,1)","head-shake":"ease-in-out","heart-beat":"ease-in-out","pulse-alt":"ease-in-out","light-speed-in-left":"ease-out","light-speed-in-right":"ease-out","light-speed-out-left":"ease-in","light-speed-out-right":"ease-in"},properties:{"bounce-alt":{"transform-origin":"center bottom"},jello:{"transform-origin":"center"},swing:{"transform-origin":"top center"},flip:{"backface-visibility":"visible"},"flip-in-x":{"backface-visibility":"visible !important"},"flip-in-y":{"backface-visibility":"visible !important"},"flip-out-x":{"backface-visibility":"visible !important"},"flip-out-y":{"backface-visibility":"visible !important"},"rotate-in":{"transform-origin":"center"},"rotate-in-down-left":{"transform-origin":"left bottom"},"rotate-in-down-right":{"transform-origin":"right bottom"},"rotate-in-up-left":{"transform-origin":"left bottom"},"rotate-in-up-right":{"transform-origin":"right bottom"},"rotate-out":{"transform-origin":"center"},"rotate-out-down-left":{"transform-origin":"left bottom"},"rotate-out-down-right":{"transform-origin":"right bottom"},"rotate-out-up-left":{"transform-origin":"left bottom"},"rotate-out-up-right":{"transform-origin":"right bottom"},hinge:{"transform-origin":"top left"},"zoom-out-down":{"transform-origin":"center bottom"},"zoom-out-left":{"transform-origin":"left center"},"zoom-out-right":{"transform-origin":"right center"},"zoom-out-up":{"transform-origin":"center bottom"}},counts:{spin:"infinite",ping:"infinite",pulse:"infinite","pulse-alt":"infinite",bounce:"infinite","bounce-alt":"infinite"},category:{pulse:"Attention Seekers",bounce:"Attention Seekers",spin:"Attention Seekers",ping:"Attention Seekers","bounce-alt":"Attention Seekers",flash:"Attention Seekers","pulse-alt":"Attention Seekers","rubber-band":"Attention Seekers","shake-x":"Attention Seekers","shake-y":"Attention Seekers","head-shake":"Attention Seekers",swing:"Attention Seekers",tada:"Attention Seekers",wobble:"Attention Seekers",jello:"Attention Seekers","heart-beat":"Attention Seekers",hinge:"Specials","jack-in-the-box":"Specials","light-speed-in-left":"Lightspeed","light-speed-in-right":"Lightspeed","light-speed-out-left":"Lightspeed","light-speed-out-right":"Lightspeed",flip:"Flippers","flip-in-x":"Flippers","flip-in-y":"Flippers","flip-out-x":"Flippers","flip-out-y":"Flippers","rotate-in":"Rotating Entrances","rotate-in-down-left":"Rotating Entrances","rotate-in-down-right":"Rotating Entrances","rotate-in-up-left":"Rotating Entrances","rotate-in-up-right":"Rotating Entrances","rotate-out":"Rotating Exits","rotate-out-down-left":"Rotating Exits","rotate-out-down-right":"Rotating Exits","rotate-out-up-left":"Rotating Exits","rotate-out-up-right":"Rotating Exits","roll-in":"Specials","roll-out":"Specials","zoom-in":"Zooming Entrances","zoom-in-down":"Zooming Entrances","zoom-in-left":"Zooming Entrances","zoom-in-right":"Zooming Entrances","zoom-in-up":"Zooming Entrances","zoom-out":"Zooming Exits","zoom-out-down":"Zooming Exits","zoom-out-left":"Zooming Exits","zoom-out-right":"Zooming Exits","zoom-out-up":"Zooming Exits","bounce-in":"Bouncing Entrances","bounce-in-down":"Bouncing Entrances","bounce-in-left":"Bouncing Entrances","bounce-in-right":"Bouncing Entrances","bounce-in-up":"Bouncing Entrances","bounce-out":"Bouncing Exits","bounce-out-down":"Bouncing Exits","bounce-out-left":"Bouncing Exits","bounce-out-right":"Bouncing Exits","bounce-out-up":"Bouncing Exits","slide-in-down":"Sliding Entrances","slide-in-left":"Sliding Entrances","slide-in-right":"Sliding Entrances","slide-in-up":"Sliding Entrances","slide-out-down":"Sliding Exits","slide-out-left":"Sliding Exits","slide-out-right":"Sliding Exits","slide-out-up":"Sliding Exits","fade-in":"Fading Entrances","fade-in-down":"Fading Entrances","fade-in-down-big":"Fading Entrances","fade-in-left":"Fading Entrances","fade-in-left-big":"Fading Entrances","fade-in-right":"Fading Entrances","fade-in-right-big":"Fading Entrances","fade-in-up":"Fading Entrances","fade-in-up-big":"Fading Entrances","fade-in-top-left":"Fading Entrances","fade-in-top-right":"Fading Entrances","fade-in-bottom-left":"Fading Entrances","fade-in-bottom-right":"Fading Entrances","fade-out":"Fading Exits","fade-out-down":"Fading Exits","fade-out-down-big":"Fading Exits","fade-out-left":"Fading Exits","fade-out-left-big":"Fading Exits","fade-out-right":"Fading Exits","fade-out-right-big":"Fading Exits","fade-out-up":"Fading Exits","fade-out-up-big":"Fading Exits","fade-out-top-left":"Fading Exits","fade-out-top-right":"Fading Exits","fade-out-bottom-left":"Fading Exits","fade-out-bottom-right":"Fading Exits","back-in-up":"Back Entrances","back-in-down":"Back Entrances","back-in-right":"Back Entrances","back-in-left":"Back Entrances","back-out-up":"Back Exits","back-out-down":"Back Exits","back-out-right":"Back Exits","back-out-left":"Back Exits"}},blur:{DEFAULT:"8px",xs:"4px",sm:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},perspective:{dramatic:"100px",near:"300px",normal:"500px",midrange:"800px",distant:"1200px"},property:{none:"none",all:"all",colors:["color","background-color","border-color","text-decoration-color","fill","stroke","--un-gradient-from","--un-gradient-via","--un-gradient-to"].join(","),opacity:"opacity",shadow:"box-shadow",transform:["transform","translate","scale","rotate"].join(","),get DEFAULT(){return[this.colors,this.opacity,this.shadow,this.transform,"filter","-webkit-backdrop-filter","backdrop-filter"].join(",")}},default:{transition:{duration:"150ms",timingFunction:"cubic-bezier(0.4, 0, 0.2, 1)"},font:{family:"var(--font-sans)",featureSettings:"var(--font-sans--font-feature-settings)",variationSettings:"var(--font-sans--font-variation-settings)"},monoFont:{family:"var(--font-mono)",featureSettings:"var(--font-mono--font-feature-settings)",variationSettings:"var(--font-mono--font-variation-settings)"}},container:{"3xs":"16rem","2xs":"18rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",prose:"65ch"},aria:{busy:'busy="true"',checked:'checked="true"',disabled:'disabled="true"',expanded:'expanded="true"',hidden:'hidden="true"',pressed:'pressed="true"',readonly:'readonly="true"',required:'required="true"',selected:'selected="true"'},media:{portrait:"(orientation: portrait)",landscape:"(orientation: landscape)",os_dark:"(prefers-color-scheme: dark)",os_light:"(prefers-color-scheme: light)",motion_ok:"(prefers-reduced-motion: no-preference)",motion_not_ok:"(prefers-reduced-motion: reduce)",high_contrast:"(prefers-contrast: high)",low_contrast:"(prefers-contrast: low)",opacity_ok:"(prefers-reduced-transparency: no-preference)",opacity_not_ok:"(prefers-reduced-transparency: reduce)",use_data_ok:"(prefers-reduced-data: no-preference)",use_data_not_ok:"(prefers-reduced-data: reduce)",touch:"(hover: none) and (pointer: coarse)",stylus:"(hover: none) and (pointer: fine)",pointer:"(hover) and (pointer: coarse)",mouse:"(hover) and (pointer: fine)",hd_color:"(dynamic-range: high)"},supports:{grid:"(display: grid)"}},Ta={name:"aria",match(e,t){const n=sn("aria-",e,t.generator.config.separators);if(n){const[e,r]=n,o=Sr.bracket(e)??t.theme.aria?.[e]??"";if(o)return{matcher:r,selector:e=>`${e}[aria-${o}]`}}},multiPass:!0,autocomplete:"aria-$aria"};function Ma(e){return{name:`${e}-aria`,match(t,n){const r=sn(`${e}-aria-`,t,n.generator.config.separators);if(r){const[t,o,i]=r,a=Sr.bracket(t)??n.theme.aria?.[t]??"";if(a){const t={group:`&:is(:where(.group${i?`\\/${i}`:""})[aria-${a}] *)`,peer:`&:is(:where(.peer${i?`\\/${i}`:""})[aria-${a}] ~ *)`,previous:`:where(*[aria-${a}] + &)`,parent:`:where(*[aria-${a}] > &)`,has:`&:has(*[aria-${a}])`,in:`:where(*[aria-${a}]) &`};return{matcher:o,handle:(n,r)=>r({...n,parent:`${n.parent?`${n.parent} $$ `:""}${n.selector}`,selector:t[e]})}}}},multiPass:!0}}const Pa=[Ma("group"),Ma("peer"),Ma("parent"),Ma("previous"),Ma("has"),Ma("in")],Ba=/(max|min)-\[([^\]]*)\]:/;function Ra(){const e={};return{name:"breakpoints",match(t,n){if(Ba.test(t)){const e=t.match(Ba);return{matcher:t.replace(e[0],""),handle:(t,n)=>n({...t,parent:`${t.parent?`${t.parent} $$ `:""}@media (${e[1]}-width: ${e[2]})`})}}const r=(Br(n)??[]).map(({point:e,size:t},n)=>[e,t,n]);for(const[o,i,a]of r){e[o]||(e[o]=new RegExp(`^((?:([al]t-|[<~]|max-))?${o}(?:${n.generator.config.separators.join("|")}))`));const s=t.match(e[o]);if(!s)continue;const[,l]=s,c=t.slice(l.length);if("container"===c)continue;const u=l.startsWith("lt-")||l.startsWith("<")||l.startsWith("max-"),p=l.startsWith("at-")||l.startsWith("~");let d=3e3;return u?(d-=a+1,{matcher:c,handle:(e,t)=>t({...e,parent:`${e.parent?`${e.parent} $$ `:""}@media (max-width: ${Ut(i)})`,parentOrder:d})}):(d+=a+1,p&&a<r.length-1?{matcher:c,handle:(e,t)=>t({...e,parent:`${e.parent?`${e.parent} $$ `:""}@media (min-width: ${i}) and (max-width: ${Ut(r[a+1][1])})`,parentOrder:d})}:{matcher:c,handle:(e,t)=>t({...e,parent:`${e.parent?`${e.parent} $$ `:""}@media (min-width: ${i})`,parentOrder:d})})}},multiPass:!0,autocomplete:"(at-|lt-|max-|)$breakpoint:"}}const Fa=[rn("*",e=>({selector:`${e.selector} > *`}),{order:-1}),rn("**",e=>({selector:`${e.selector} *`}),{order:-1})];function Ia(e,t){return{name:`combinator:${e}`,match(n,r){if(!n.startsWith(e))return;const o=r.generator.config.separators;let i=an(`${e}-`,n,o);if(!i){for(const t of o)if(n.startsWith(`${e}${t}`)){i=["",n.slice(e.length+t.length)];break}if(!i)return}let a=Sr.bracket(i[0])??"";return""===a&&(a="*"),{matcher:i[1],selector:e=>`${e}${t}${a}`}},multiPass:!0}}const Na=[Ia("all"," "),Ia("children",">"),Ia("next","+"),Ia("sibling","+"),Ia("siblings","~")],Ua=[rn("svg",e=>({selector:`${e.selector} svg`}))],Da={name:"@",match(e,t){if(e.startsWith("@container"))return;const n=sn("@",e,t.generator.config.separators);if(n){const[e,r,o]=n,i=Sr.bracket(e);let a;if(a=i?Sr.numberWithUnit(i):t.theme.container?.[e]??"",a){let n=1e3+Object.keys(t.theme.container??{}).indexOf(e);return o&&(n+=1e3),{matcher:r,handle:(e,t)=>t({...e,parent:`${e.parent?`${e.parent} $$ `:""}@container${o?` ${o} `:" "}(min-width: ${a})`,parentOrder:n})}}}},multiPass:!0};function Wa(e={}){if("class"===e?.dark||"object"==typeof e.dark){const{dark:t=".dark",light:n=".light"}="string"==typeof e.dark?{}:e.dark;return[rn("dark",e=>({prefix:`${t} $$ ${e.prefix}`})),rn("light",e=>({prefix:`${n} $$ ${e.prefix}`}))]}return[on("dark","@media (prefers-color-scheme: dark)"),on("light","@media (prefers-color-scheme: light)")]}const qa=[rn(".dark",e=>({prefix:`.dark $$ ${e.prefix}`})),rn(".light",e=>({prefix:`.light $$ ${e.prefix}`})),on("@dark","@media (prefers-color-scheme: dark)"),on("@light","@media (prefers-color-scheme: light)"),on("not-dark","@media not (prefers-color-scheme: dark)")],Va={name:"data",match(e,t){const n=sn("data-",e,t.generator.config.separators);if(n){const[e,r]=n,o=Sr.bracket(e)??t.theme.data?.[e]??"";if(o)return{matcher:r,selector:e=>`${e}[data-${o}]`}}},multiPass:!0};function Ha(e){return{name:`${e}-data`,match(t,n){const r=sn(`${e}-data-`,t,n.generator.config.separators);if(r){const[t,o,i]=r,a=Sr.bracket(t)??n.theme.data?.[t]??"";if(a){const t={group:`&:is(:where(.group${i?`\\/${i}`:""})[data-${a}] *)`,peer:`&:is(:where(.peer${i?`\\/${i}`:""})[data-${a}] ~ *)`,previous:`:where(*[data-${a}] + &)`,parent:`:where(*[data-${a}] > &)`,has:`&:has(*[data-${a}])`,in:`:where(*[data-${a}]) &`};return{matcher:o,handle:(n,r)=>r({...n,parent:`${n.parent?`${n.parent} $$ `:""}${n.selector}`,selector:t[e]})}}}},multiPass:!0}}const Xa=[Ha("group"),Ha("peer"),Ha("parent"),Ha("previous"),Ha("has"),Ha("in")],Ya=[rn("rtl",e=>({prefix:`[dir="rtl"] $$ ${e.prefix}`})),rn("ltr",e=>({prefix:`[dir="ltr"] $$ ${e.prefix}`}))];function Ga(){let e;return{name:"important",match(t,n){let r;e||(e=new RegExp(`^(important(?:${n.generator.config.separators.join("|")})|!)`));const o=t.match(e);if(o?r=t.slice(o[0].length):t.endsWith("!")&&(r=t.slice(0,-1)),r)return{matcher:r,body:e=>(e.forEach(e=>{null!=e[1]&&(e[1]+=" !important")}),e)}}}}const Ka=rn("inert",e=>({parent:`${e.parent?`${e.parent} $$ `:""}${e.selector}`,selector:"&:is([inert],[inert] *)"})),Za=on("noscript","@media (scripting: none)"),Qa={name:"scripting",match(e,t){const n=sn(["script-","scripting-"],e,t.generator.config.separators);if(n){const[e,t]=n;if(["none","initial-only","enabled"].includes(e))return{matcher:t,handle:(t,n)=>n({...t,parent:`${t.parent?`${t.parent} $$ `:""}@media (scripting: ${e})`})}}},multiPass:!0,autocomplete:["(scripting|script)-(none|initial-only|enabled)"]},Ja=on("print","@media print"),es={name:"media",match(e,t){const n=sn("media-",e,t.generator.config.separators);if(n){const[e,r]=n;let o=Sr.bracket(e)??"";if(""===o&&(o=t.theme.media?.[e]??""),o)return{matcher:r,handle:(e,t)=>t({...e,parent:`${e.parent?`${e.parent} $$ `:""}@media ${o}`})}}},multiPass:!0,autocomplete:"media-$media"},ts=[on("contrast-more","@media (prefers-contrast: more)"),on("contrast-less","@media (prefers-contrast: less)")],ns=[on("motion-reduce","@media (prefers-reduced-motion: reduce)"),on("motion-safe","@media (prefers-reduced-motion: no-preference)")],rs=[on("landscape","@media (orientation: landscape)"),on("portrait","@media (orientation: portrait)")],os=[on("forced-colors","@media (forced-colors: active)")],is={name:"selector",match(e,t){const n=an("selector-",e,t.generator.config.separators);if(n){const[e,t]=n,r=Sr.bracket(e);if(r)return{matcher:t,selector:()=>r}}}},as={name:"layer",match(e,t){const n=sn("layer-",e,t.generator.config.separators);if(n){const[e,t]=n,r=Sr.bracket(e)??e;if(r)return{matcher:t,handle:(e,t)=>t({...e,parent:`${e.parent?`${e.parent} $$ `:""}@layer ${r}`})}}}},ss={name:"uno-layer",match(e,t){const n=sn("uno-layer-",e,t.generator.config.separators);if(n){const[e,t]=n,r=Sr.bracket(e)??e;if(r)return{matcher:t,layer:r}}}},ls={name:"scope",match(e,t){const n=an("scope-",e,t.generator.config.separators);if(n){const[e,t]=n,r=Sr.bracket(e);if(r)return{matcher:t,selector:e=>`${r} $$ ${e}`}}}},cs={name:"variables",match(e,t){if(!e.startsWith("["))return;const[n,r]=$t(e,"[","]")??[];if(!n||!r)return;let o;for(const s of t.generator.config.separators)if(r.startsWith(s)){o=r.slice(s.length);break}if(null==o)return;const i=Sr.bracket(n)??"",a=i.startsWith("@");return a||i.includes("&")?{matcher:o,handle(e,t){const n=a?{parent:`${e.parent?`${e.parent} $$ `:""}${i}`}:{selector:i.replace(/&/g,e.selector)};return t({...e,...n})}}:void 0},multiPass:!0},us={name:"theme-variables",match(e,t){if(Ft(e))return{matcher:e,handle:(e,n)=>n({...e,entries:JSON.parse(It(JSON.stringify(e.entries),t.theme))})}}},ps=[rn("@hover",e=>({parent:(e.parent?`${e.parent} $$ `:"")+"@media (hover: hover) and (pointer: fine)",selector:`${e.selector||""}:hover`}))],ds={name:"implicit-group",match(e,t){const n=sn("in-",e,t.generator.config.separators);if(n){const[e,t]=n,r=Sr.bracket(e)??e;if(r)return{matcher:t,handle:(e,t)=>t({...e,parent:`${e.parent?`${e.parent} $$ `:""}${e.selector}`,selector:`:where(*:is(${r})) &`})}}}},hs=/^-?[0-9.]+(?:[a-z]+|%)?$/,fs=/-?[0-9.]+(?:[a-z]+|%)?/,ms=[/\b(opacity|color|flex|backdrop-filter|^filter|^scale|transform|mask-image)\b/];const gs=/\b(hue-rotate)\s*(\(.*)/;const bs={name:"negative",match(e){if(e.startsWith("-"))return{matcher:e.slice(1),body:e=>{if(e.find(e=>e[0]===Pn))return;let t=!1;return e.forEach(e=>{if(g(e[2]).includes(Pn))return;const n=e[1]?.toString();if(!n||"0"===n)return;if(ms.some(t=>t.test(e[0])))return;const r=function(e){const t=e.match(Vn)||e.match(Hn);if(t){const[e,n]=St(`(${t[2]})${t[3]}`,"(",")"," ")??[];if(e)return`calc(${t[1]}${e} * -1)${n?` ${n}`:""}`}}(n);if(r)return e[1]=r,void(t=!0);const o=function(e){const t=e.match(gs);if(t){const[e,n]=St(t[2],"(",")"," ")??[];if(e){const r=hs.test(e.slice(1,-1))?e.replace(fs,e=>e.startsWith("-")?e.slice(1):`-${e}`):`(calc(${e} * -1))`;return`${t[1]}${r}${n?` ${n}`:""}`}}}(n);if(o)return e[1]=o,void(t=!0);hs.test(n)&&(e[1]=n.replace(fs,e=>e.startsWith("-")?e.slice(1):`-${e}`),t=!0)}),t?e:[]}}}},ys=(e,{theme:t})=>{const n=e.match(/^(.*)\b(placeholder-)(.+)$/);if(n){const[,e="",r,o]=n;if(Tr(o,t)||function(e){const t=e.match(/^op(?:acity)?-?(.+)$/);return!(!t||null==t[1])&&null!=Sr.bracket.percent(t[1])}(o))return{matcher:`${e}placeholder-$ ${r}${o}`}}};function ks(){return function(e){const{h:t}=e;let n,r,o;return[{name:"pseudo",match(e,o){n&&r||(n=new RegExp(`^(${Jt})(?:-(\\d+|\\[(\\w|[+-.])+\\]))?(?:${o.generator.config.separators.join("|")})`),r=new RegExp(`^(${en})(?:${o.generator.config.separators.filter(e=>"-"!==e).join("|")})`));const i=e.match(n)||e.match(r);if(i){let n=Wt[i[1]]||Vt[i[1]]||`:${i[1]}`;if(i[2]){let e;e=i[2].startsWith("[")&&i[2].endsWith("]")?t.bracket(i[2]):i[2],e&&(n=n.replace(Dt,e))}let r=qt.indexOf(i[1]);return-1===r&&(r=Ht.indexOf(i[1])),-1===r&&(r=void 0),{matcher:e.slice(i[0].length),handle:(e,t)=>{const o=n.includes("::")&&!Qt.includes(n)?{pseudo:`${e.pseudo}${n}`}:{selector:`${e.selector}${n}`};return t({...e,...o,sort:r,noMerge:!0})}}}},multiPass:!0,autocomplete:`(${Jt}|${en}):`},{name:"pseudo:multi",match(e,t){o||(o=new RegExp(`^(${Zt})(?:${t.generator.config.separators.join("|")})`));const n=e.match(o);if(n)return Xt[n[1]].map(t=>({matcher:e.slice(n[0].length),handle:(e,n)=>n({...e,pseudo:`${e.pseudo}${t}`})}))},multiPass:!1,autocomplete:`(${Zt}):`}]}({h:Sr})}function ws(){return function(e){const{getBracket:t,h:n}=e;let r,o,i;return{match(e,a){r&&o||(r=new RegExp(`^(${Kt})-(${Yt})(?:${a.generator.config.separators.join("|")})`),o=new RegExp(`^(${Kt})-(${Gt})(?:${a.generator.config.separators.filter(e=>"-"!==e).join("|")})`),i=new RegExp(`^(${Kt})-(\\[.+\\])(?:${a.generator.config.separators.filter(e=>"-"!==e).join("|")})`));const s=e.match(r)||e.match(o)||e.match(i);if(s){const r=s[1],o=t(s[2],"[","]")?n.bracket(s[2]):Wt[s[2]]||Vt[s[2]]||`:${s[2]}`;return{matcher:e.slice(s[0].length),selector:e=>`${e}:${r}(${o})`}}},multiPass:!0,autocomplete:`(${Kt})-(${Yt}|${Gt}):`}}({getBracket:$t,h:Sr})}function vs(e={}){return function(e,t){const n=!!(null==e?void 0:e.attributifyPseudo);let r=(null==e?void 0:e.prefix)??"";r=$((Array.isArray(r)?r:[r]).filter(Boolean)[0]??"");const o=(e,o)=>tn(e,n?`[${r}${e}=""]`:`.${r}${e}`,o,t);return[o("group"," "),o("peer","~"),o("parent",">"),o("previous","+")]}(e,{h:Sr,variantGetBracket:an})}const xs={match(e){const t=e.match(nn);if(t){const n=`part(${t[2]})`;return{matcher:e.slice(t[1].length),selector:e=>`${e}::${n}`}}},multiPass:!0},$s={name:"starting",match(e){if(e.startsWith("starting:"))return{matcher:e.slice(9),handle:(e,t)=>t({...e,parent:"@starting-style"})}}},Ss={name:"supports",match(e,t){const n=sn("supports-",e,t.generator.config.separators);if(n){const[e,r]=n;let o=Sr.bracket(e)??"";if(""===o&&(o=t.theme.supports?.[e]??""),o)return o.startsWith("(")&&o.endsWith(")")||(o=`(${o})`),{matcher:r,handle:(e,t)=>t({...e,parent:`${e.parent?`${e.parent} $$ `:""}@supports ${o}`})}}},multiPass:!0};function zs(e){return[Ta,Va,as,is,ss,bs,$s,Ga(),Ss,Za,Qa,Ja,es,...ts,...ns,...rs,...os,Ra(),...Na,...Ua,ys,...ks(),ws(),...vs(e),xs,...Wa(e),...qa,...Ya,ls,...Fa,Ka,Da,cs,...Xa,...Pa,us,...ps,ds].flat()}function Cs(e){let t,n,r=2166136261;for(t=0,n=e.length;t<n;t++)r^=e.charCodeAt(t),r+=(r<<1)+(r<<4)+(r<<7)+(r<<8)+(r<<24);return`00000${(r>>>0).toString(36)}`.slice(-6)}const js=/\/\/#\s*sourceMappingURL=.*\n?/g;const As=/(?:[\w&:[\]-]|\[\S{1,64}=\S{1,64}\]){1,64}\[\\?['"]?\S{1,64}?['"]\]\]?[\w:-]{0,64}/g,Es=/\[(\\\W|[\w-]){1,64}:[^\s:]{0,64}?("\S{1,64}?"|'\S{1,64}?'|`\S{1,64}?`|[^\s:]{1,64}?)[^\s:]{0,64}?\)?\]/g,Os=/^\[(?:\\\W|[\w-]){1,64}:['"]?\S{1,64}?['"]?\]$/;function _s(e){const t=[];for(const o of e.matchAll(Es))(0===o.index||/^[\s'"`]/.test(e[o.index-1]??""))&&t.push(o[0]);for(const o of e.matchAll(As))t.push(o[0]);const n=new Map,r="@unocss-skip-arbitrary-brackets";return(e=function(e,t,n,r){for(const o of Array.from(e.matchAll(n)))if(null!=o){const n=o[0],i=`${r}${Cs(n)}`;t.set(i,n),e=e.replace(n,i)}return e}(e,n,/-\[(?!&.+?;)[^\]]*\]/g,r))?(e.split(f).forEach(e=>{e.includes(r)&&(e=function(e,t){for(const[n,r]of t.entries())e=e.replaceAll(n,r);return e}(e,n)),A(e)&&!Os.test(e)&&t.push(e)}),t):t}function Ls(){return{name:"@unocss/extractor-arbitrary-variants",order:0,extract:({code:e})=>_s(function(e){return e.includes("sourceMappingURL=")?e.replace(js,""):e}(e))}}function Ts(e){if(!1===e.preflights?.property)return;const t="object"==typeof e.preflights?.property?e.preflights.property:void 0,n=void 0!==t?.parent?t.parent:"@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b))))",r=t?.selector??"*, ::before, ::after, ::backdrop";return{getCSS:()=>{if(0===Hr.size)return;const e=Array.from(Hr.entries()).map(([e,t])=>`${e}:${t};`).join("");return!1===n?`${r}{${e}}`:`${n}{${r}{${e}}}`},layer:"properties"}}function Ms(e){if(!1!==e.preflights?.reset)return{getCSS:({generator:e})=>(Wr("font","sans"),Wr("font","mono"),Wr("default",["font","family"]),Wr("default",["monoFont","family"]),Ur("\n/*\n 1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)\n 2. Remove default margins and padding\n 3. Reset all borders.\n*/\n\n*,\n::after,\n::before,\n::backdrop,\n::file-selector-button {\n box-sizing: border-box; /* 1 */\n margin: 0; /* 2 */\n padding: 0; /* 2 */\n border: 0 solid; /* 3 */\n}\n\n/*\n 1. Use a consistent sensible line-height in all browsers.\n 2. Prevent adjustments of font size after orientation changes in iOS.\n 3. Use a more readable tab size.\n 4. Use the user's configured `sans` font-family by default.\n 5. Use the user's configured `sans` font-feature-settings by default.\n 6. Use the user's configured `sans` font-variation-settings by default.\n 7. Disable tap highlights on iOS.\n*/\n\nhtml,\n:host {\n line-height: 1.5; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n tab-size: 4; /* 3 */\n font-family: var(\n --default-font-family,\n ui-sans-serif,\n system-ui,\n sans-serif,\n 'Apple Color Emoji',\n 'Segoe UI Emoji',\n 'Segoe UI Symbol',\n 'Noto Color Emoji'\n ); /* 4 */\n font-feature-settings: var(--default-font-featureSettings, normal); /* 5 */\n font-variation-settings: var(--default-font-variationSettings, normal); /* 6 */\n -webkit-tap-highlight-color: transparent; /* 7 */\n}\n\n/*\n 1. Add the correct height in Firefox.\n 2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)\n 3. Reset the default border style to a 1px solid border.\n*/\n\nhr {\n height: 0; /* 1 */\n color: inherit; /* 2 */\n border-top-width: 1px; /* 3 */\n}\n\n/*\n Add the correct text decoration in Chrome, Edge, and Safari.\n*/\n\nabbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n}\n\n/*\n Remove the default font size and weight for headings.\n*/\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n font-size: inherit;\n font-weight: inherit;\n}\n\n/*\n Reset links to optimize for opt-in styling instead of opt-out.\n*/\n\na {\n color: inherit;\n -webkit-text-decoration: inherit;\n text-decoration: inherit;\n}\n\n/*\n Add the correct font weight in Edge and Safari.\n*/\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/*\n 1. Use the user's configured `mono` font-family by default.\n 2. Use the user's configured `mono` font-feature-settings by default.\n 3. Use the user's configured `mono` font-variation-settings by default.\n 4. Correct the odd `em` font sizing in all browsers.\n*/\n\ncode,\nkbd,\nsamp,\npre {\n font-family: var(\n --default-monoFont-family,\n ui-monospace,\n SFMono-Regular,\n Menlo,\n Monaco,\n Consolas,\n 'Liberation Mono',\n 'Courier New',\n monospace\n ); /* 1 */\n font-feature-settings: var(--default-monoFont-featureSettings, normal); /* 2 */\n font-variation-settings: var(--default-monoFont-variationSettings, normal); /* 3 */\n font-size: 1em; /* 4 */\n}\n\n/*\n Add the correct font size in all browsers.\n*/\n\nsmall {\n font-size: 80%;\n}\n\n/*\n Prevent `sub` and `sup` elements from affecting the line height in all browsers.\n*/\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/*\n 1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)\n 2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)\n 3. Remove gaps between table borders by default.\n*/\n\ntable {\n text-indent: 0; /* 1 */\n border-color: inherit; /* 2 */\n border-collapse: collapse; /* 3 */\n}\n\n/*\n Use the modern Firefox focus style for all focusable elements.\n*/\n\n:-moz-focusring {\n outline: auto;\n}\n\n/*\n Add the correct vertical alignment in Chrome and Firefox.\n*/\n\nprogress {\n vertical-align: baseline;\n}\n\n/*\n Add the correct display in Chrome and Safari.\n*/\n\nsummary {\n display: list-item;\n}\n\n/*\n Make lists unstyled by default.\n*/\n\nol,\nul,\nmenu {\n list-style: none;\n}\n\n/*\n 1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)\n 2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)\n This can trigger a poorly considered lint error in some tools but is included by design.\n*/\n\nimg,\nsvg,\nvideo,\ncanvas,\naudio,\niframe,\nembed,\nobject {\n display: block; /* 1 */\n vertical-align: middle; /* 2 */\n}\n\n/*\n Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)\n*/\n\nimg,\nvideo {\n max-width: 100%;\n height: auto;\n}\n\n/*\n 1. Inherit font styles in all browsers.\n 2. Remove border radius in all browsers.\n 3. Remove background color in all browsers.\n 4. Ensure consistent opacity for disabled states in all browsers.\n*/\n\nbutton,\ninput,\nselect,\noptgroup,\ntextarea,\n::file-selector-button {\n font: inherit; /* 1 */\n font-feature-settings: inherit; /* 1 */\n font-variation-settings: inherit; /* 1 */\n letter-spacing: inherit; /* 1 */\n color: inherit; /* 1 */\n border-radius: 0; /* 2 */\n background-color: transparent; /* 3 */\n opacity: 1; /* 4 */\n}\n\n/*\n Restore default font weight.\n*/\n\n:where(select:is([multiple], [size])) optgroup {\n font-weight: bolder;\n}\n\n/*\n Restore indentation.\n*/\n\n:where(select:is([multiple], [size])) optgroup option {\n padding-inline-start: 20px;\n}\n\n/*\n Restore space after button.\n*/\n\n::file-selector-button {\n margin-inline-end: 4px;\n}\n\n/*\n Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)\n*/\n\n::placeholder {\n opacity: 1;\n}\n\n/*\n Set the default placeholder color to a semi-transparent version of the current text color in browsers that do not\n crash when using `color-mix(…)` with `currentcolor`. (https://github.com/tailwindlabs/tailwindcss/issues/17194)\n*/\n\n@supports (not (-webkit-appearance: -apple-pay-button)) /* Not Safari */ or\n (contain-intrinsic-size: 1px) /* Safari 17+ */ {\n ::placeholder {\n color: color-mix(in oklab, currentcolor 50%, transparent);\n }\n}\n\n/*\n Prevent resizing textareas horizontally by default.\n*/\n\ntextarea {\n resize: vertical;\n}\n\n/*\n Remove the inner padding in Chrome and Safari on macOS.\n*/\n\n::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/*\n 1. Ensure date/time inputs have the same height when empty in iOS Safari.\n 2. Ensure text alignment can be changed on date/time inputs in iOS Safari.\n*/\n\n::-webkit-date-and-time-value {\n min-height: 1lh; /* 1 */\n text-align: inherit; /* 2 */\n}\n\n/*\n Prevent height from changing on date/time inputs in macOS Safari when the input is set to `display: block`.\n*/\n\n::-webkit-datetime-edit {\n display: inline-flex;\n}\n\n/*\n Remove excess padding from pseudo-elements in date/time inputs to ensure consistent height across browsers.\n*/\n\n::-webkit-datetime-edit-fields-wrapper {\n padding: 0;\n}\n\n::-webkit-datetime-edit,\n::-webkit-datetime-edit-year-field,\n::-webkit-datetime-edit-month-field,\n::-webkit-datetime-edit-day-field,\n::-webkit-datetime-edit-hour-field,\n::-webkit-datetime-edit-minute-field,\n::-webkit-datetime-edit-second-field,\n::-webkit-datetime-edit-millisecond-field,\n::-webkit-datetime-edit-meridiem-field {\n padding-block: 0;\n}\n\n/*\n Center dropdown marker shown on inputs with paired `<datalist>`s in Chrome. (https://github.com/tailwindlabs/tailwindcss/issues/18499)\n*/\n\n::-webkit-calendar-picker-indicator {\n line-height: 1;\n}\n\n/*\n Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)\n*/\n\n:-moz-ui-invalid {\n box-shadow: none;\n}\n\n/*\n Correct the inability to style the border radius in iOS Safari.\n*/\n\nbutton,\ninput:where([type='button'], [type='reset'], [type='submit']),\n::file-selector-button {\n appearance: button;\n}\n\n/*\n Correct the cursor style of increment and decrement buttons in Safari.\n*/\n\n::-webkit-inner-spin-button,\n::-webkit-outer-spin-button {\n height: auto;\n}\n\n/*\n Make elements with the HTML hidden attribute stay hidden by default.\n*/\n\n[hidden]:where(:not([hidden~='until-found'])) {\n display: none !important;\n}\n","dev"===e.config.envMode)),layer:"base"}}const Ps=["spacing","breakpoint","verticalBreakpoint","shadow","insetShadow","dropShadow","textShadow","animation","property","aria","media","supports","containers"];function Bs(e){const t="boolean"==typeof e.preflights?.theme||"string"==typeof e.preflights?.theme?{mode:e.preflights.theme??"on-demand"}:{mode:e.preflights?.theme?.mode??"on-demand",...e.preflights?.theme};return{layer:"theme",getCSS(e){const{theme:n,generator:r}=e,o=b(r.config.safelist.flatMap(t=>"function"==typeof t?t(e):t)),{mode:i,process:a}=t;if(!1===i)return;if(o.length>0)for(const t of o){const[e,...r]=t.trim().split(":");if(e in n&&r.length<=1){const t=0===r.length?["DEFAULT"]:r[0].split("-"),o=Er(n,e,t);"string"==typeof o&&(Wr(e,t),Vr(o,n))}}let s;if("on-demand"===i){if(0===Dr.size)return;s=Array.from(Dr).map(e=>{const[t,r]=e.split(":"),o=Er(n,t,r.split("-"));if("string"==typeof o)return[`--${t}${""+("spacing"===t&&"DEFAULT"===r?"":`-${r}`)}`,o]}).filter(Boolean)}else{const e=Object.keys(n).filter(e=>!Ps.includes(e));s=Array.from(function(e,t){const n=new Map([["--spacing",e.spacing.DEFAULT]]),r=e=>e.replace(_t,"1");function o(e,t){for(const i in e)Array.isArray(e[i])?n.set(`--${t}-${i}`,r(e[i].join(","))):"object"==typeof e[i]?o(e[i],`${t}-${i}`):n.set(`--${t}-${i}`,r(e[i]))}for(const i in e)t.includes(i)&&o(e[i],i);return n}(n,e))}return(t=>{if(a)for(const r of t)for(const t of g(a))t(r,e);const n=t.map(([e,t])=>e&&t?`${$(e)}: ${t};`:void 0).filter(Boolean);if(0!==n.length)return Ur(`\n:root, :host {\n${n.join("\n")}\n}`,"dev"===r.config.envMode)})(s)}}}const Rs=e=>[Ms(e),Bs(e),Ts(e)].filter(Boolean),Fs={position:["relative","absolute","fixed","sticky","static"],globalKeyword:qn},Is=(e={})=>(e.dark=e.dark??"class",e.attributifyPseudo=e.attributifyPseudo??!1,e.variablePrefix=e.variablePrefix??"un-",e.important=e.important??!1,{name:"@unocss/preset-wind4",rules:ja,shortcuts:Aa,theme:La,layers:{properties:-200,theme:-150,base:-100},preflights:Rs(e),variants:zs(e),prefix:e.prefix,postprocess:Ln(e),extractorDefault:!1===e.arbitraryVariants?void 0:Ls(),autocomplete:{shorthands:Fs},options:e,configResolved(){Dr.clear(),Hr.clear()},meta:{themeDeps:Dr,propertyDeps:Hr}});function Ns(e){return e.charAt(0).toUpperCase()+e.slice(1)}function Us(e){return e.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}var Ds=["Webkit","Moz","ms"];function Ws(e){const t={};return({entries:n})=>n.forEach(n=>{n[0].startsWith("--")||(n[0]=function(n){const r=t[n];if(r)return r;let o=n.replace(/-(\w)/g,(e,t)=>t?t.toUpperCase():"");if("filter"!==o&&o in e)return t[n]=Us(o);o=Ns(o);for(let i=0;i<Ds.length;i++){const r=`${Ds[i]}${o}`;if(r in e)return t[n]=Us(Ns(r))}return n}(n[0]))})}async function qs(e={}){if("undefined"==typeof window)return void console.warn("@unocss/runtime been used in non-browser environment, skipped.");const t=window,n=window.document,r=()=>n.documentElement,o=t.__unocss||{},i=Object.assign({},e,o.runtime),a=i.defaults||{},s=i.cloakAttribute??"un-cloak";if(i.autoPrefix){(a.postprocess=g(a.postprocess)).unshift(Ws(n.createElement("div").style))}i.configResolved?.(o,a);const l=await async function(e,t){return await te.create(e,t)}(o,a),c=t=>{const n=e.rootElement?.();n?n.appendChild(t):i.inject?i.inject(t):r().prepend(t)},u=()=>i.rootElement?i.rootElement():n.body,p=new Map;let d=!0;const h=new Set;let f,m,b=[];function y(e,t=!1){if(1!==e.nodeType)return;const n=e;n.hasAttribute(s)&&n.removeAttribute(s),t&&n.querySelectorAll(`[${s}]`).forEach(e=>{e.removeAttribute(s)})}function w(e,t){let r=p.get(e);if(!r)if(r=n.createElement("style"),r.setAttribute("data-unocss-runtime-layer",e),p.set(e,r),null==t)c(r);else{const e=w(t),n=e.parentNode;n?n.insertBefore(r,e.nextSibling):c(r)}return r}async function v(){const e=[...h],t=await l.generate(e);t.layers.reduce((e,n)=>(w(n,e).innerHTML=t.getLayer(n)??"",n),void 0);return e.filter(e=>!t.matched.has(e)).forEach(e=>h.delete(e)),{...t,getStyleElement:e=>p.get(e),getStyleElements:()=>p}}async function x(e){const t=h.size;await l.applyExtractors(e,void 0,h),t!==h.size&&await new Promise(e=>{b.push(e),null!=m&&clearTimeout(m),m=setTimeout(()=>v().then(()=>{const e=b;b=[],e.forEach(e=>e())}),0)})}async function $(e=u()){const t=e&&e.outerHTML;t&&(await x(`${t} ${function(e){return e.replace(/&amp;/g,"&").replace(/&gt;/g,">").replace(/&lt;/g,"<")}(t)}`),y(r()),y(e,!0))}const S=new MutationObserver(e=>{d||e.forEach(async e=>{if(1!==e.target.nodeType)return;const t=e.target;for(const n of p)if(t===n[1])return;if("childList"===e.type)e.addedNodes.forEach(async e=>{if(1!==e.nodeType)return;const t=e;f&&!f(t)||(await x(t.outerHTML),y(t))});else{if(f&&!f(t))return;if(e.attributeName!==s){const e=Array.from(t.attributes).map(e=>e.value?`${e.name}="${e.value}"`:e.name).join(" "),n=`<${t.tagName.toLowerCase()} ${e}>`;await x(n)}y(t)}})});let z=!1;function C(){i.bypassDefined&&function(e=new Set){for(let t=0;t<document.styleSheets.length;t++){const n=document.styleSheets[t];let r;try{if(r=n.cssRules||n.rules,!r)continue;Array.from(r).flatMap(e=>e.selectorText?.split(/,/g)||[]).forEach(t=>{t&&((t=t.trim()).startsWith(".")&&(t=t.slice(1)),e.add(t))})}catch{continue}}}(l.blocked),$(),function(){if(z)return;const e=i.observer?.target?i.observer.target():u();e&&(S.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:i.observer?.attributeFilter}),z=!0)}()}function j(){"loading"===n.readyState?t.addEventListener("DOMContentLoaded",C):C()}const A=t.__unocss_runtime=t.__unocss_runtime={version:l.version,uno:l,async extract(e){k(e)||(e.forEach(e=>h.add(e)),e=""),await x(e)},extractAll:$,inspect(e){f=e},toggleObserver(e){d=void 0===e?!d:!!e,z||d||j()},update:v,presets:t.__unocss_runtime?.presets??{}};!1!==i.ready?.(A)&&(d=!1,j())}const Vs=10,Hs=11,Xs=12,Ys=13,Gs=15,Ks=16,Zs=17,Qs=18,Js=19,el=20,tl=21,nl=22,rl=23,ol=24,il=25;function al(e){return e>=48&&e<=57}function sl(e){return al(e)||e>=65&&e<=70||e>=97&&e<=102}function ll(e){return e>=65&&e<=90}function cl(e){return function(e){return ll(e)||function(e){return e>=97&&e<=122}(e)}(e)||function(e){return e>=128}(e)||95===e}function ul(e){return cl(e)||al(e)||45===e}function pl(e){return e>=0&&e<=8||11===e||e>=14&&e<=31||127===e}function dl(e){return 10===e||13===e||12===e}function hl(e){return dl(e)||32===e||9===e}function fl(e,t){return 92===e&&(!dl(t)&&0!==t)}function ml(e,t,n){return 45===e?cl(t)||45===t||fl(t,n):!!cl(e)||92===e&&fl(e,t)}function gl(e,t,n){return 43===e||45===e?al(t)?2:46===t&&al(n)?3:0:46===e?al(t)?2:0:al(e)?1:0}function bl(e){return 65279===e||65534===e?1:0}const yl=new Array(128),kl=130;for(let mm=0;mm<yl.length;mm++)yl[mm]=(hl(mm)?kl:al(mm)&&131)||cl(mm)&&132||pl(mm)&&133||mm||128;function wl(e){return e<128?yl[e]:132}function vl(e,t){return t<e.length?e.charCodeAt(t):0}function xl(e,t,n){return 13===n&&10===vl(e,t+1)?2:1}function $l(e,t,n){let r=e.charCodeAt(t);return ll(r)&&(r|=32),r===n}function Sl(e,t,n,r){if(n-t!==r.length)return!1;if(t<0||n>e.length)return!1;for(let o=t;o<n;o++){const n=r.charCodeAt(o-t);let i=e.charCodeAt(o);if(ll(i)&&(i|=32),i!==n)return!1}return!0}function zl(e,t){for(;t<e.length&&hl(e.charCodeAt(t));t++);return t}function Cl(e,t){for(;t<e.length&&al(e.charCodeAt(t));t++);return t}function jl(e,t){if(sl(vl(e,(t+=2)-1))){for(const r=Math.min(e.length,t+5);t<r&&sl(vl(e,t));t++);const n=vl(e,t);hl(n)&&(t+=xl(e,t,n))}return t}function Al(e,t){for(;t<e.length;t++){const n=e.charCodeAt(t);if(!ul(n)){if(!fl(n,vl(e,t+1)))break;t=jl(e,t)-1}}return t}function El(e,t){let n=e.charCodeAt(t);if(43!==n&&45!==n||(n=e.charCodeAt(t+=1)),al(n)&&(t=Cl(e,t+1),n=e.charCodeAt(t)),46===n&&al(e.charCodeAt(t+1))&&(t=Cl(e,t+=2)),$l(e,t,101)){let r=0;n=e.charCodeAt(t+1),45!==n&&43!==n||(r=1,n=e.charCodeAt(t+2)),al(n)&&(t=Cl(e,t+1+r+1))}return t}function Ol(e,t){for(;t<e.length;t++){const n=e.charCodeAt(t);if(41===n){t++;break}fl(n,vl(e,t+1))&&(t=jl(e,t))}return t}function _l(e){if(1===e.length&&!sl(e.charCodeAt(0)))return e[0];let t=parseInt(e,16);return(0===t||t>=55296&&t<=57343||t>1114111)&&(t=65533),String.fromCodePoint(t)}const Ll=["EOF-token","ident-token","function-token","at-keyword-token","hash-token","string-token","bad-string-token","url-token","bad-url-token","delim-token","number-token","percentage-token","dimension-token","whitespace-token","CDO-token","CDC-token","colon-token","semicolon-token","comma-token","[-token","]-token","(-token",")-token","{-token","}-token","comment-token"];function Tl(e=null,t){return null===e||e.length<t?new Uint32Array(Math.max(t+1024,16384)):e}function Ml(e){const t=e.source,n=t.length,r=t.length>0?bl(t.charCodeAt(0)):0,o=Tl(e.lines,n),i=Tl(e.columns,n);let a=e.startLine,s=e.startColumn;for(let l=r;l<n;l++){const e=t.charCodeAt(l);o[l]=a,i[l]=s++,10!==e&&13!==e&&12!==e||(13===e&&l+1<n&&10===t.charCodeAt(l+1)&&(l++,o[l]=a,i[l]=s),a++,s=1)}o[n]=a,i[n]=s,e.lines=o,e.columns=i,e.computed=!0}class Pl{constructor(e,t,n,r){this.setSource(e,t,n,r),this.lines=null,this.columns=null}setSource(e="",t=0,n=1,r=1){this.source=e,this.startOffset=t,this.startLine=n,this.startColumn=r,this.computed=!1}getLocation(e,t){return this.computed||Ml(this),{source:t,offset:this.startOffset+e,line:this.lines[e],column:this.columns[e]}}getLocationRange(e,t,n){return this.computed||Ml(this),{source:n,start:{offset:this.startOffset+e,line:this.lines[e],column:this.columns[e]},end:{offset:this.startOffset+t,line:this.lines[t],column:this.columns[t]}}}}const Bl=16777215,Rl=24,Fl=new Uint8Array(32);function Il(e){return 0!==Fl[e]}Fl[2]=nl,Fl[21]=nl,Fl[19]=el,Fl[23]=ol;class Nl{constructor(e,t){this.setSource(e,t)}reset(){this.eof=!1,this.tokenIndex=-1,this.tokenType=0,this.tokenStart=this.firstCharOffset,this.tokenEnd=this.firstCharOffset}setSource(e="",t=()=>{}){const n=(e=String(e||"")).length,r=Tl(this.offsetAndType,e.length+1),o=Tl(this.balance,e.length+1);let i=0,a=-1,s=0,l=e.length;this.offsetAndType=null,this.balance=null,o.fill(0),t(e,(e,t,n)=>{const c=i++;if(r[c]=e<<Rl|n,-1===a&&(a=t),o[c]=l,e===s){const e=o[l];o[l]=c,l=e,s=Fl[r[e]>>Rl]}else Il(e)&&(l=c,s=Fl[e])}),r[i]=0|n,o[i]=i;for(let c=0;c<i;c++){const e=o[c];if(e<=c){const t=o[e];t!==c&&(o[c]=t)}else e>i&&(o[c]=i)}this.source=e,this.firstCharOffset=-1===a?0:a,this.tokenCount=i,this.offsetAndType=r,this.balance=o,this.reset(),this.next()}lookupType(e){return(e+=this.tokenIndex)<this.tokenCount?this.offsetAndType[e]>>Rl:0}lookupTypeNonSC(e){for(let t=this.tokenIndex;t<this.tokenCount;t++){const n=this.offsetAndType[t]>>Rl;if(n!==Ys&&n!==il&&0===e--)return n}return 0}lookupOffset(e){return(e+=this.tokenIndex)<this.tokenCount?this.offsetAndType[e-1]&Bl:this.source.length}lookupOffsetNonSC(e){for(let t=this.tokenIndex;t<this.tokenCount;t++){const n=this.offsetAndType[t]>>Rl;if(n!==Ys&&n!==il&&0===e--)return t-this.tokenIndex}return 0}lookupValue(e,t){return(e+=this.tokenIndex)<this.tokenCount&&Sl(this.source,this.offsetAndType[e-1]&Bl,this.offsetAndType[e]&Bl,t)}getTokenStart(e){return e===this.tokenIndex?this.tokenStart:e>0?e<this.tokenCount?this.offsetAndType[e-1]&Bl:this.offsetAndType[this.tokenCount]&Bl:this.firstCharOffset}substrToCursor(e){return this.source.substring(e,this.tokenStart)}isBalanceEdge(e){return this.balance[this.tokenIndex]<e}isDelim(e,t){return t?9===this.lookupType(t)&&this.source.charCodeAt(this.lookupOffset(t))===e:9===this.tokenType&&this.source.charCodeAt(this.tokenStart)===e}skip(e){let t=this.tokenIndex+e;t<this.tokenCount?(this.tokenIndex=t,this.tokenStart=this.offsetAndType[t-1]&Bl,t=this.offsetAndType[t],this.tokenType=t>>Rl,this.tokenEnd=t&Bl):(this.tokenIndex=this.tokenCount,this.next())}next(){let e=this.tokenIndex+1;e<this.tokenCount?(this.tokenIndex=e,this.tokenStart=this.tokenEnd,e=this.offsetAndType[e],this.tokenType=e>>Rl,this.tokenEnd=e&Bl):(this.eof=!0,this.tokenIndex=this.tokenCount,this.tokenType=0,this.tokenStart=this.tokenEnd=this.source.length)}skipSC(){for(;this.tokenType===Ys||this.tokenType===il;)this.next()}skipUntilBalanced(e,t){let n=e,r=0,o=0;e:for(;n<this.tokenCount&&(r=this.balance[n],!(r<e));n++)switch(o=n>0?this.offsetAndType[n-1]&Bl:this.firstCharOffset,t(this.source.charCodeAt(o))){case 1:break e;case 2:n++;break e;default:Il(this.offsetAndType[n]>>Rl)&&(n=r)}this.skip(n-this.tokenIndex)}forEachToken(e){for(let t=0,n=this.firstCharOffset;t<this.tokenCount;t++){const r=n,o=this.offsetAndType[t],i=o&Bl;n=i,e(o>>Rl,r,i,t)}}dump(){const e=new Array(this.tokenCount);return this.forEachToken((t,n,r,o)=>{e[o]={idx:o,type:Ll[t],chunk:this.source.substring(n,r),balance:this.balance[o]}}),e}}function Ul(e,t){function n(t){return t<a?e.charCodeAt(t):0}function r(){return c=El(e,c),ml(n(c),n(c+1),n(c+2))?(s=Xs,void(c=Al(e,c))):37===n(c)?(s=Hs,void c++):void(s=Vs)}function o(){const t=c;return c=Al(e,c),Sl(e,t,c,"url")&&40===n(c)?(c=zl(e,c+1),34===n(c)||39===n(c)?(s=2,void(c=t+4)):void function(){for(s=7,c=zl(e,c);c<e.length;c++){const t=e.charCodeAt(c);switch(wl(t)){case 41:return void c++;case kl:return c=zl(e,c),41===n(c)||c>=e.length?void(c<e.length&&c++):(c=Ol(e,c),void(s=8));case 34:case 39:case 40:case 133:return c=Ol(e,c),void(s=8);case 92:if(fl(t,n(c+1))){c=jl(e,c)-1;break}return c=Ol(e,c),void(s=8)}}}()):40===n(c)?(s=2,void c++):void(s=1)}function i(t){for(t||(t=n(c++)),s=5;c<e.length;c++){const r=e.charCodeAt(c);switch(wl(r)){case t:return void c++;case kl:if(dl(r))return c+=xl(e,c,r),void(s=6);break;case 92:if(c===e.length-1)break;const o=n(c+1);dl(o)?c+=xl(e,c+1,o):fl(r,o)&&(c=jl(e,c)-1)}}}const a=(e=String(e||"")).length;let s,l=bl(n(0)),c=l;for(;c<a;){const a=e.charCodeAt(c);switch(wl(a)){case kl:s=Ys,c=zl(e,c+1);break;case 34:i();break;case 35:ul(n(c+1))||fl(n(c+1),n(c+2))?(s=4,c=Al(e,c+1)):(s=9,c++);break;case 39:i();break;case 40:s=tl,c++;break;case 41:s=nl,c++;break;case 43:gl(a,n(c+1),n(c+2))?r():(s=9,c++);break;case 44:s=Qs,c++;break;case 45:gl(a,n(c+1),n(c+2))?r():45===n(c+1)&&62===n(c+2)?(s=Gs,c+=3):ml(a,n(c+1),n(c+2))?o():(s=9,c++);break;case 46:gl(a,n(c+1),n(c+2))?r():(s=9,c++);break;case 47:42===n(c+1)?(s=il,c=e.indexOf("*/",c+2),c=-1===c?e.length:c+2):(s=9,c++);break;case 58:s=Ks,c++;break;case 59:s=Zs,c++;break;case 60:33===n(c+1)&&45===n(c+2)&&45===n(c+3)?(s=14,c+=4):(s=9,c++);break;case 64:ml(n(c+1),n(c+2),n(c+3))?(s=3,c=Al(e,c+1)):(s=9,c++);break;case 91:s=Js,c++;break;case 92:fl(a,n(c+1))?o():(s=9,c++);break;case 93:s=el,c++;break;case 123:s=rl,c++;break;case 125:s=ol,c++;break;case 131:r();break;case 132:o();break;default:s=9,c++}t(s,l,l=c)}}let Dl=null;class Wl{static createItem(e){return{prev:null,next:null,data:e}}constructor(){this.head=null,this.tail=null,this.cursor=null}createItem(e){return Wl.createItem(e)}allocateCursor(e,t){let n;return null!==Dl?(n=Dl,Dl=Dl.cursor,n.prev=e,n.next=t,n.cursor=this.cursor):n={prev:e,next:t,cursor:this.cursor},this.cursor=n,n}releaseCursor(){const{cursor:e}=this;this.cursor=e.cursor,e.prev=null,e.next=null,e.cursor=Dl,Dl=e}updateCursors(e,t,n,r){let{cursor:o}=this;for(;null!==o;)o.prev===e&&(o.prev=t),o.next===n&&(o.next=r),o=o.cursor}*[Symbol.iterator](){for(let e=this.head;null!==e;e=e.next)yield e.data}get size(){let e=0;for(let t=this.head;null!==t;t=t.next)e++;return e}get isEmpty(){return null===this.head}get first(){return this.head&&this.head.data}get last(){return this.tail&&this.tail.data}fromArray(e){let t=null;this.head=null;for(let n of e){const e=Wl.createItem(n);null!==t?t.next=e:this.head=e,e.prev=t,t=e}return this.tail=t,this}toArray(){return[...this]}toJSON(){return[...this]}forEach(e,t=this){const n=this.allocateCursor(null,this.head);for(;null!==n.next;){const r=n.next;n.next=r.next,e.call(t,r.data,r,this)}this.releaseCursor()}forEachRight(e,t=this){const n=this.allocateCursor(this.tail,null);for(;null!==n.prev;){const r=n.prev;n.prev=r.prev,e.call(t,r.data,r,this)}this.releaseCursor()}reduce(e,t,n=this){let r,o=this.allocateCursor(null,this.head),i=t;for(;null!==o.next;)r=o.next,o.next=r.next,i=e.call(n,i,r.data,r,this);return this.releaseCursor(),i}reduceRight(e,t,n=this){let r,o=this.allocateCursor(this.tail,null),i=t;for(;null!==o.prev;)r=o.prev,o.prev=r.prev,i=e.call(n,i,r.data,r,this);return this.releaseCursor(),i}some(e,t=this){for(let n=this.head;null!==n;n=n.next)if(e.call(t,n.data,n,this))return!0;return!1}map(e,t=this){const n=new Wl;for(let r=this.head;null!==r;r=r.next)n.appendData(e.call(t,r.data,r,this));return n}filter(e,t=this){const n=new Wl;for(let r=this.head;null!==r;r=r.next)e.call(t,r.data,r,this)&&n.appendData(r.data);return n}nextUntil(e,t,n=this){if(null===e)return;const r=this.allocateCursor(null,e);for(;null!==r.next;){const e=r.next;if(r.next=e.next,t.call(n,e.data,e,this))break}this.releaseCursor()}prevUntil(e,t,n=this){if(null===e)return;const r=this.allocateCursor(e,null);for(;null!==r.prev;){const e=r.prev;if(r.prev=e.prev,t.call(n,e.data,e,this))break}this.releaseCursor()}clear(){this.head=null,this.tail=null}copy(){const e=new Wl;for(let t of this)e.appendData(t);return e}prepend(e){return this.updateCursors(null,e,this.head,e),null!==this.head?(this.head.prev=e,e.next=this.head):this.tail=e,this.head=e,this}prependData(e){return this.prepend(Wl.createItem(e))}append(e){return this.insert(e)}appendData(e){return this.insert(Wl.createItem(e))}insert(e,t=null){if(null!==t)if(this.updateCursors(t.prev,e,t,e),null===t.prev){if(this.head!==t)throw new Error("before doesn't belong to list");this.head=e,t.prev=e,e.next=t,this.updateCursors(null,e)}else t.prev.next=e,e.prev=t.prev,t.prev=e,e.next=t;else this.updateCursors(this.tail,e,null,e),null!==this.tail?(this.tail.next=e,e.prev=this.tail):this.head=e,this.tail=e;return this}insertData(e,t){return this.insert(Wl.createItem(e),t)}remove(e){if(this.updateCursors(e,e.prev,e,e.next),null!==e.prev)e.prev.next=e.next;else{if(this.head!==e)throw new Error("item doesn't belong to list");this.head=e.next}if(null!==e.next)e.next.prev=e.prev;else{if(this.tail!==e)throw new Error("item doesn't belong to list");this.tail=e.prev}return e.prev=null,e.next=null,e}push(e){this.insert(Wl.createItem(e))}pop(){return null!==this.tail?this.remove(this.tail):null}unshift(e){this.prepend(Wl.createItem(e))}shift(){return null!==this.head?this.remove(this.head):null}prependList(e){return this.insertList(e,this.head)}appendList(e){return this.insertList(e)}insertList(e,t){return null===e.head||(null!=t?(this.updateCursors(t.prev,e.tail,t,e.head),null!==t.prev?(t.prev.next=e.head,e.head.prev=t.prev):this.head=e.head,t.prev=e.tail,e.tail.next=t):(this.updateCursors(this.tail,e.tail,null,e.head),null!==this.tail?(this.tail.next=e.head,e.head.prev=this.tail):this.head=e.head,this.tail=e.tail),e.head=null,e.tail=null),this}replace(e,t){"head"in t?this.insertList(t,e):this.insert(t,e),this.remove(e)}}function ql(e,t){const n=Object.create(SyntaxError.prototype),r=new Error;return Object.assign(n,{name:e,message:t,get stack(){return(r.stack||"").replace(/^(.+\n){1,3}/,`${e}: ${t}\n`)}})}const Vl=" ";function Hl({source:e,line:t,column:n,baseLine:r,baseColumn:o},i){function a(e,t){return s.slice(e,t).map((t,n)=>String(e+n+1).padStart(u)+" |"+t).join("\n")}const s=("\n".repeat(Math.max(r-1,0))+" ".repeat(Math.max(o-1,0))+e).split(/\r\n?|\n|\f/),l=Math.max(1,t-i)-1,c=Math.min(t+i,s.length+1),u=Math.max(4,String(c).length)+1;let p=0;(n+=3*(s[t-1].substr(0,n-1).match(/\t/g)||[]).length)>100&&(p=n-60+3,n=58);for(let d=l;d<=c;d++)d>=0&&d<s.length&&(s[d]=s[d].replace(/\t/g,Vl),s[d]=(p>0&&s[d].length>p?"…":"")+s[d].substr(p,98)+(s[d].length>p+100-1?"…":""));return[a(l,t),new Array(n+u+2).join("-")+"^",a(t,c)].filter(Boolean).join("\n").replace(/^(\s+\d+\s+\|\n)+/,"").replace(/\n(\s+\d+\s+\|)+$/,"")}function Xl(e,t,n,r,o,i=1,a=1){return Object.assign(ql("SyntaxError",e),{source:t,offset:n,line:r,column:o,sourceFragment:e=>Hl({source:t,line:r,column:o,baseLine:i,baseColumn:a},isNaN(e)?0:e),get formattedMessage(){return`Parse error: ${e}\n`+Hl({source:t,line:r,column:o,baseLine:i,baseColumn:a},2)}})}function Yl(e){const t=this.createList();let n=!1;const r={recognizer:e};for(;!this.eof;){switch(this.tokenType){case il:this.next();continue;case Ys:n=!0,this.next();continue}let o=e.getNode.call(this,r);if(void 0===o)break;n&&(e.onWhiteSpace&&e.onWhiteSpace.call(this,o,t,r),n=!1),t.push(o)}return n&&e.onWhiteSpace&&e.onWhiteSpace.call(this,null,t,r),t}const Gl=()=>{};function Kl(e){return function(){return this[e]()}}function Zl(e){const t=Object.create(null);for(const n of Object.keys(e)){const r=e[n],o=r.parse||r;o&&(t[n]=o)}return t}function Ql(e){let t="",n="<unknown>",r=!1,o=Gl,i=!1;const a=new Pl,s=Object.assign(new Nl,function(e){const t={context:Object.create(null),features:Object.assign(Object.create(null),e.features),scope:Object.assign(Object.create(null),e.scope),atrule:Zl(e.atrule),pseudo:Zl(e.pseudo),node:Zl(e.node)};for(const[n,r]of Object.entries(e.parseContext))switch(typeof r){case"function":t.context[n]=r;break;case"string":t.context[n]=Kl(r)}return{config:t,...t,...t.node}}(e||{}),{parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:Yl,consumeUntilBalanceEnd:()=>0,consumeUntilLeftCurlyBracket:e=>123===e?1:0,consumeUntilLeftCurlyBracketOrSemicolon:e=>123===e||59===e?1:0,consumeUntilExclamationMarkOrSemicolon:e=>33===e||59===e?1:0,consumeUntilSemicolonIncluded:e=>59===e?2:0,createList:()=>new Wl,createSingleNodeList:e=>(new Wl).appendData(e),getFirstListNode:e=>e&&e.first,getLastListNode:e=>e&&e.last,parseWithFallback(e,t){const n=this.tokenIndex;try{return e.call(this)}catch(r){if(i)throw r;this.skip(n-this.tokenIndex);const e=t.call(this);return i=!0,o(r,e),i=!1,e}},lookupNonWSType(e){let t;do{if(t=this.lookupType(e++),t!==Ys&&t!==il)return t}while(0!==t);return 0},charCodeAt:e=>e>=0&&e<t.length?t.charCodeAt(e):0,substring:(e,n)=>t.substring(e,n),substrToCursor(e){return this.source.substring(e,this.tokenStart)},cmpChar:(e,n)=>$l(t,e,n),cmpStr:(e,n,r)=>Sl(t,e,n,r),consume(e){const t=this.tokenStart;return this.eat(e),this.substrToCursor(t)},consumeFunctionName(){const e=t.substring(this.tokenStart,this.tokenEnd-1);return this.eat(2),e},consumeNumber(e){const n=t.substring(this.tokenStart,El(t,this.tokenStart));return this.eat(e),n},eat(e){if(this.tokenType!==e){const t=Ll[e].slice(0,-6).replace(/-/g," ").replace(/^./,e=>e.toUpperCase());let n=`${/[[\](){}]/.test(t)?`"${t}"`:t} is expected`,r=this.tokenStart;switch(e){case 1:2===this.tokenType||7===this.tokenType?(r=this.tokenEnd-1,n="Identifier is expected but function found"):n="Identifier is expected";break;case 4:this.isDelim(35)&&(this.next(),r++,n="Name is expected");break;case Hs:this.tokenType===Vs&&(r=this.tokenEnd,n="Percent sign is expected")}this.error(n,r)}this.next()},eatIdent(e){1===this.tokenType&&!1!==this.lookupValue(0,e)||this.error(`Identifier "${e}" is expected`),this.next()},eatDelim(e){this.isDelim(e)||this.error(`Delim "${String.fromCharCode(e)}" is expected`),this.next()},getLocation:(e,t)=>r?a.getLocationRange(e,t,n):null,getLocationFromList(e){if(r){const t=this.getFirstListNode(e),r=this.getLastListNode(e);return a.getLocationRange(null!==t?t.loc.start.offset-a.startOffset:this.tokenStart,null!==r?r.loc.end.offset-a.startOffset:this.tokenStart,n)}return null},error(e,n){const r=void 0!==n&&n<t.length?a.getLocation(n):this.eof?a.getLocation(function(e,t){for(;t>=0&&hl(e.charCodeAt(t));t--);return t+1}(t,t.length-1)):a.getLocation(this.tokenStart);throw new Xl(e||"Unexpected input",t,r.offset,r.line,r.column,a.startLine,a.startColumn)}});return Object.assign(function(e,l){t=e,l=l||{},s.setSource(t,Ul),a.setSource(t,l.offset,l.line,l.column),n=l.filename||"<unknown>",r=Boolean(l.positions),o="function"==typeof l.onParseError?l.onParseError:Gl,i=!1,s.parseAtrulePrelude=!("parseAtrulePrelude"in l)||Boolean(l.parseAtrulePrelude),s.parseRulePrelude=!("parseRulePrelude"in l)||Boolean(l.parseRulePrelude),s.parseValue=!("parseValue"in l)||Boolean(l.parseValue),s.parseCustomProperty="parseCustomProperty"in l&&Boolean(l.parseCustomProperty);const{context:c="default",onComment:u}=l;if(c in s.context==!1)throw new Error("Unknown context `"+c+"`");"function"==typeof u&&s.forEachToken((e,n,r)=>{if(e===il){const e=s.getLocation(n,r),o=Sl(t,r-2,r,"*/")?t.slice(n+2,r-2):t.slice(n+2,r);u(o,e)}});const p=s.context[c].call(s,l);return s.eof||s.error(),p},{SyntaxError:Xl,config:s.config})}var Jl,ec,tc={},nc={},rc={};function oc(){if(ec)return nc;ec=1;var e=function(){if(Jl)return rc;Jl=1;var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");return rc.encode=function(t){if(0<=t&&t<e.length)return e[t];throw new TypeError("Must be between 0 and 63: "+t)},rc.decode=function(e){return 65<=e&&e<=90?e-65:97<=e&&e<=122?e-97+26:48<=e&&e<=57?e-48+52:43==e?62:47==e?63:-1},rc}();return nc.encode=function(t){var n,r="",o=function(e){return e<0?1+(-e<<1):0+(e<<1)}(t);do{n=31&o,(o>>>=5)>0&&(n|=32),r+=e.encode(n)}while(o>0);return r},nc.decode=function(t,n,r){var o,i,a,s,l=t.length,c=0,u=0;do{if(n>=l)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(i=e.decode(t.charCodeAt(n++))))throw new Error("Invalid base64 digit: "+t.charAt(n-1));o=!!(32&i),c+=(i&=31)<<u,u+=5}while(o);r.value=(s=(a=c)>>1,1&~a?s:-s),r.rest=n},nc}var ic,ac={};function sc(){return ic||(ic=1,function(e){e.getArg=function(e,t,n){if(t in e)return e[t];if(3===arguments.length)return n;throw new Error('"'+t+'" is a required argument.')};var t=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,n=/^data:.+\,.+$/;function r(e){var n=e.match(t);return n?{scheme:n[1],auth:n[2],host:n[3],port:n[4],path:n[5]}:null}function o(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.urlParse=r,e.urlGenerate=o;var i,a,s=(i=function(t){var n=t,i=r(t);if(i){if(!i.path)return t;n=i.path}for(var a=e.isAbsolute(n),s=[],l=0,c=0;;){if(l=c,-1===(c=n.indexOf("/",l))){s.push(n.slice(l));break}for(s.push(n.slice(l,c));c<n.length&&"/"===n[c];)c++}var u,p=0;for(c=s.length-1;c>=0;c--)"."===(u=s[c])?s.splice(c,1):".."===u?p++:p>0&&(""===u?(s.splice(c+1,p),p=0):(s.splice(c,2),p--));return""===(n=s.join("/"))&&(n=a?"/":"."),i?(i.path=n,o(i)):n},a=[],function(e){for(var t=0;t<a.length;t++)if(a[t].input===e){var n=a[0];return a[0]=a[t],a[t]=n,a[0].result}var r=i(e);return a.unshift({input:e,result:r}),a.length>32&&a.pop(),r});function l(e,t){""===e&&(e="."),""===t&&(t=".");var i=r(t),a=r(e);if(a&&(e=a.path||"/"),i&&!i.scheme)return a&&(i.scheme=a.scheme),o(i);if(i||t.match(n))return t;if(a&&!a.host&&!a.path)return a.host=t,o(a);var l="/"===t.charAt(0)?t:s(e.replace(/\/+$/,"")+"/"+t);return a?(a.path=l,o(a)):l}e.normalize=s,e.join=l,e.isAbsolute=function(e){return"/"===e.charAt(0)||t.test(e)},e.relative=function(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var n=0;0!==t.indexOf(e+"/");){var r=e.lastIndexOf("/");if(r<0)return t;if((e=e.slice(0,r)).match(/^([^\/]+:\/)?\/*$/))return t;++n}return Array(n+1).join("../")+t.substr(e.length+1)};var c=!("__proto__"in Object.create(null));function u(e){return e}function p(e){if(!e)return!1;var t=e.length;if(t<9)return!1;if(95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(var n=t-10;n>=0;n--)if(36!==e.charCodeAt(n))return!1;return!0}function d(e,t){return e===t?0:null===e?1:null===t?-1:e>t?1:-1}e.toSetString=c?u:function(e){return p(e)?"$"+e:e},e.fromSetString=c?u:function(e){return p(e)?e.slice(1):e},e.compareByOriginalPositions=function(e,t,n){var r=d(e.source,t.source);return 0!==r||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)||n||0!==(r=e.generatedColumn-t.generatedColumn)||0!==(r=e.generatedLine-t.generatedLine)?r:d(e.name,t.name)},e.compareByOriginalPositionsNoSource=function(e,t,n){var r;return 0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)||n||0!==(r=e.generatedColumn-t.generatedColumn)||0!==(r=e.generatedLine-t.generatedLine)?r:d(e.name,t.name)},e.compareByGeneratedPositionsDeflated=function(e,t,n){var r=e.generatedLine-t.generatedLine;return 0!==r||0!==(r=e.generatedColumn-t.generatedColumn)||n||0!==(r=d(e.source,t.source))||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)?r:d(e.name,t.name)},e.compareByGeneratedPositionsDeflatedNoLine=function(e,t,n){var r=e.generatedColumn-t.generatedColumn;return 0!==r||n||0!==(r=d(e.source,t.source))||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)?r:d(e.name,t.name)},e.compareByGeneratedPositionsInflated=function(e,t){var n=e.generatedLine-t.generatedLine;return 0!==n||0!==(n=e.generatedColumn-t.generatedColumn)||0!==(n=d(e.source,t.source))||0!==(n=e.originalLine-t.originalLine)||0!==(n=e.originalColumn-t.originalColumn)?n:d(e.name,t.name)},e.parseSourceMapInput=function(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))},e.computeSourceURL=function(e,t,n){if(t=t||"",e&&("/"!==e[e.length-1]&&"/"!==t[0]&&(e+="/"),t=e+t),n){var i=r(n);if(!i)throw new Error("sourceMapURL could not be parsed");if(i.path){var a=i.path.lastIndexOf("/");a>=0&&(i.path=i.path.substring(0,a+1))}t=l(o(i),t)}return s(t)}}(ac)),ac}var lc,cc={};var uc,pc,dc={};function hc(){if(uc)return dc;uc=1;var e=sc();function t(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}return t.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},t.prototype.add=function(t){var n,r,o,i,a,s;n=this._last,r=t,o=n.generatedLine,i=r.generatedLine,a=n.generatedColumn,s=r.generatedColumn,i>o||i==o&&s>=a||e.compareByGeneratedPositionsInflated(n,r)<=0?(this._last=t,this._array.push(t)):(this._sorted=!1,this._array.push(t))},t.prototype.toArray=function(){return this._sorted||(this._array.sort(e.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},dc.MappingList=t,dc}var fc=function(){if(pc)return tc;pc=1;var e=oc(),t=sc(),n=function(){if(lc)return cc;lc=1;var e=sc(),t=Object.prototype.hasOwnProperty,n="undefined"!=typeof Map;function r(){this._array=[],this._set=n?new Map:Object.create(null)}return r.fromArray=function(e,t){for(var n=new r,o=0,i=e.length;o<i;o++)n.add(e[o],t);return n},r.prototype.size=function(){return n?this._set.size:Object.getOwnPropertyNames(this._set).length},r.prototype.add=function(r,o){var i=n?r:e.toSetString(r),a=n?this.has(r):t.call(this._set,i),s=this._array.length;a&&!o||this._array.push(r),a||(n?this._set.set(r,s):this._set[i]=s)},r.prototype.has=function(r){if(n)return this._set.has(r);var o=e.toSetString(r);return t.call(this._set,o)},r.prototype.indexOf=function(r){if(n){var o=this._set.get(r);if(o>=0)return o}else{var i=e.toSetString(r);if(t.call(this._set,i))return this._set[i]}throw new Error('"'+r+'" is not in the set.')},r.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},r.prototype.toArray=function(){return this._array.slice()},cc.ArraySet=r,cc}().ArraySet,r=hc().MappingList;function o(e){e||(e={}),this._file=t.getArg(e,"file",null),this._sourceRoot=t.getArg(e,"sourceRoot",null),this._skipValidation=t.getArg(e,"skipValidation",!1),this._ignoreInvalidMapping=t.getArg(e,"ignoreInvalidMapping",!1),this._sources=new n,this._names=new n,this._mappings=new r,this._sourcesContents=null}return o.prototype._version=3,o.fromSourceMap=function(e,n){var r=e.sourceRoot,i=new o(Object.assign(n||{},{file:e.file,sourceRoot:r}));return e.eachMapping(function(e){var n={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(n.source=e.source,null!=r&&(n.source=t.relative(r,n.source)),n.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(n.name=e.name)),i.addMapping(n)}),e.sources.forEach(function(n){var o=n;null!==r&&(o=t.relative(r,n)),i._sources.has(o)||i._sources.add(o);var a=e.sourceContentFor(n);null!=a&&i.setSourceContent(n,a)}),i},o.prototype.addMapping=function(e){var n=t.getArg(e,"generated"),r=t.getArg(e,"original",null),o=t.getArg(e,"source",null),i=t.getArg(e,"name",null);(this._skipValidation||!1!==this._validateMapping(n,r,o,i))&&(null!=o&&(o=String(o),this._sources.has(o)||this._sources.add(o)),null!=i&&(i=String(i),this._names.has(i)||this._names.add(i)),this._mappings.add({generatedLine:n.line,generatedColumn:n.column,originalLine:null!=r&&r.line,originalColumn:null!=r&&r.column,source:o,name:i}))},o.prototype.setSourceContent=function(e,n){var r=e;null!=this._sourceRoot&&(r=t.relative(this._sourceRoot,r)),null!=n?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[t.toSetString(r)]=n):this._sourcesContents&&(delete this._sourcesContents[t.toSetString(r)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},o.prototype.applySourceMap=function(e,r,o){var i=r;if(null==r){if(null==e.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');i=e.file}var a=this._sourceRoot;null!=a&&(i=t.relative(a,i));var s=new n,l=new n;this._mappings.unsortedForEach(function(n){if(n.source===i&&null!=n.originalLine){var r=e.originalPositionFor({line:n.originalLine,column:n.originalColumn});null!=r.source&&(n.source=r.source,null!=o&&(n.source=t.join(o,n.source)),null!=a&&(n.source=t.relative(a,n.source)),n.originalLine=r.line,n.originalColumn=r.column,null!=r.name&&(n.name=r.name))}var c=n.source;null==c||s.has(c)||s.add(c);var u=n.name;null==u||l.has(u)||l.add(u)},this),this._sources=s,this._names=l,e.sources.forEach(function(n){var r=e.sourceContentFor(n);null!=r&&(null!=o&&(n=t.join(o,n)),null!=a&&(n=t.relative(a,n)),this.setSourceContent(n,r))},this)},o.prototype._validateMapping=function(e,t,n,r){if(t&&"number"!=typeof t.line&&"number"!=typeof t.column){var o="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"undefined"!=typeof console&&console.warn&&console.warn(o),!1;throw new Error(o)}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)){o="Invalid mapping: "+JSON.stringify({generated:e,source:n,original:t,name:r});if(this._ignoreInvalidMapping)return"undefined"!=typeof console&&console.warn&&console.warn(o),!1;throw new Error(o)}},o.prototype._serializeMappings=function(){for(var n,r,o,i,a=0,s=1,l=0,c=0,u=0,p=0,d="",h=this._mappings.toArray(),f=0,m=h.length;f<m;f++){if(n="",(r=h[f]).generatedLine!==s)for(a=0;r.generatedLine!==s;)n+=";",s++;else if(f>0){if(!t.compareByGeneratedPositionsInflated(r,h[f-1]))continue;n+=","}n+=e.encode(r.generatedColumn-a),a=r.generatedColumn,null!=r.source&&(i=this._sources.indexOf(r.source),n+=e.encode(i-p),p=i,n+=e.encode(r.originalLine-1-c),c=r.originalLine-1,n+=e.encode(r.originalColumn-l),l=r.originalColumn,null!=r.name&&(o=this._names.indexOf(r.name),n+=e.encode(o-u),u=o)),d+=n}return d},o.prototype._generateSourcesContent=function(e,n){return e.map(function(e){if(!this._sourcesContents)return null;null!=n&&(e=t.relative(n,e));var r=t.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null},this)},o.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},o.prototype.toString=function(){return JSON.stringify(this.toJSON())},tc.SourceMapGenerator=o,tc}();const mc=new Set(["Atrule","Selector","Declaration"]);const gc=(e,t)=>{if(9===e&&(e=t),"string"==typeof e){const t=e.charCodeAt(0);return t>127?32768:t<<8}return e},bc=[[1,1],[1,2],[1,7],[1,8],[1,"-"],[1,Vs],[1,Hs],[1,Xs],[1,Gs],[1,tl],[3,1],[3,2],[3,7],[3,8],[3,"-"],[3,Vs],[3,Hs],[3,Xs],[3,Gs],[4,1],[4,2],[4,7],[4,8],[4,"-"],[4,Vs],[4,Hs],[4,Xs],[4,Gs],[Xs,1],[Xs,2],[Xs,7],[Xs,8],[Xs,"-"],[Xs,Vs],[Xs,Hs],[Xs,Xs],[Xs,Gs],["#",1],["#",2],["#",7],["#",8],["#","-"],["#",Vs],["#",Hs],["#",Xs],["#",Gs],["-",1],["-",2],["-",7],["-",8],["-","-"],["-",Vs],["-",Hs],["-",Xs],["-",Gs],[Vs,1],[Vs,2],[Vs,7],[Vs,8],[Vs,Vs],[Vs,Hs],[Vs,Xs],[Vs,"%"],[Vs,Gs],["@",1],["@",2],["@",7],["@",8],["@","-"],["@",Gs],[".",Vs],[".",Hs],[".",Xs],["+",Vs],["+",Hs],["+",Xs],["/","*"]],yc=bc.concat([[1,4],[Xs,4],[4,4],[3,tl],[3,5],[3,Ks],[Hs,Hs],[Hs,Xs],[Hs,2],[Hs,"-"],[nl,1],[nl,2],[nl,Hs],[nl,Xs],[nl,4],[nl,"-"]]);function kc(e){const t=new Set(e.map(([e,t])=>gc(e)<<16|gc(t)));return function(e,n,r){const o=gc(n,r),i=r.charCodeAt(0);return(45===i&&1!==n&&2!==n&&n!==Gs||43===i?t.has(e<<16|i<<8):t.has(e<<16|o))&&this.emit(" ",Ys,!0),o}}const wc=kc(bc),vc=kc(yc),xc=Object.freeze(Object.defineProperty({__proto__:null,safe:vc,spec:wc},Symbol.toStringTag,{value:"Module"}));function $c(e,t){if("function"==typeof t){let n=null;return void e.children.forEach(e=>{null!==n&&t.call(this,n),this.node(e),n=e})}e.children.forEach(this.node,this)}function Sc(e){Ul(e,(t,n,r)=>{this.token(t,e.slice(n,r))})}function zc(e){const t=new Map;for(let[n,r]of Object.entries(e.node)){"function"==typeof(r.generate||r)&&t.set(n,r.generate||r)}return function(e,n){let r="",o=0,i={node(e){if(!t.has(e.type))throw new Error("Unknown node type: "+e.type);t.get(e.type).call(a,e)},tokenBefore:vc,token(e,t){o=this.tokenBefore(o,e,t),this.emit(t,e,!1),9===e&&92===t.charCodeAt(0)&&this.emit("\n",Ys,!0)},emit(e){r+=e},result:()=>r};n&&("function"==typeof n.decorator&&(i=n.decorator(i)),n.sourceMap&&(i=function(e){const t=new fc.SourceMapGenerator,n={line:1,column:0},r={line:0,column:0},o={line:1,column:0},i={generated:o};let a=1,s=0,l=!1;const c=e.node;e.node=function(e){if(e.loc&&e.loc.start&&mc.has(e.type)){const c=e.loc.start.line,u=e.loc.start.column-1;r.line===c&&r.column===u||(r.line=c,r.column=u,n.line=a,n.column=s,l&&(l=!1,n.line===o.line&&n.column===o.column||t.addMapping(i)),l=!0,t.addMapping({source:e.loc.source,original:r,generated:n}))}c.call(this,e),l&&mc.has(e.type)&&(o.line=a,o.column=s)};const u=e.emit;e.emit=function(e,t,n){for(let r=0;r<e.length;r++)10===e.charCodeAt(r)?(a++,s=0):s++;u(e,t,n)};const p=e.result;return e.result=function(){return l&&t.addMapping(i),{css:p(),map:t}},e}(i)),n.mode in xc&&(i.tokenBefore=xc[n.mode]));const a={node:e=>i.node(e),children:$c,token:(e,t)=>i.token(e,t),tokenize:Sc};return i.node(e),i.result()}}const{hasOwnProperty:Cc}=Object.prototype,jc=function(){};function Ac(e){return"function"==typeof e?e:jc}function Ec(e,t){return function(n,r,o){n.type===t&&e.call(this,n,r,o)}}function Oc(e,t){const n=t.structure,r=[];for(const o in n){if(!1===Cc.call(n,o))continue;let e=n[o];const t={name:o,type:!1,nullable:!1};Array.isArray(e)||(e=[e]);for(const n of e)null===n?t.nullable=!0:"string"==typeof n?t.type="node":Array.isArray(n)&&(t.type="list");t.type&&r.push(t)}return r.length?{context:t.walkContext,fields:r}:null}function _c(e,t){const n=e.fields.slice(),r=e.context,o="string"==typeof r;return t&&n.reverse(),function(e,i,a,s){let l;o&&(l=i[r],i[r]=e);for(const r of n){const n=e[r.name];if(!r.nullable||n)if("list"===r.type){if(t?n.reduceRight(s,!1):n.reduce(s,!1))return!0}else if(a(n))return!0}o&&(i[r]=l)}}function Lc({StyleSheet:e,Atrule:t,Rule:n,Block:r,DeclarationList:o}){return{Atrule:{StyleSheet:e,Atrule:t,Rule:n,Block:r},Rule:{StyleSheet:e,Atrule:t,Rule:n,Block:r},Declaration:{StyleSheet:e,Atrule:t,Rule:n,Block:r,DeclarationList:o}}}function Tc(e){const t=function(e){const t={};for(const n in e.node)if(Cc.call(e.node,n)){const r=e.node[n];if(!r.structure)throw new Error("Missed `structure` field in `"+n+"` node type definition");t[n]=Oc(0,r)}return t}(e),n={},r={},o=Symbol("break-walk"),i=Symbol("skip-node");for(const c in t)Cc.call(t,c)&&null!==t[c]&&(n[c]=_c(t[c],!1),r[c]=_c(t[c],!0));const a=Lc(n),s=Lc(r),l=function(e,l){function c(e,t,n){const r=u.call(f,e,t,n);return r===o||r!==i&&(!(!d.hasOwnProperty(e.type)||!d[e.type](e,f,c,h))||p.call(f,e,t,n)===o)}let u=jc,p=jc,d=n,h=(e,t,n,r)=>e||c(t,n,r);const f={break:o,skip:i,root:e,stylesheet:null,atrule:null,atrulePrelude:null,rule:null,selector:null,block:null,declaration:null,function:null};if("function"==typeof l)u=l;else if(l&&(u=Ac(l.enter),p=Ac(l.leave),l.reverse&&(d=r),l.visit)){if(a.hasOwnProperty(l.visit))d=l.reverse?s[l.visit]:a[l.visit];else if(!t.hasOwnProperty(l.visit))throw new Error("Bad value `"+l.visit+"` for `visit` option (should be: "+Object.keys(t).sort().join(", ")+")");u=Ec(u,l.visit),p=Ec(p,l.visit)}if(u===jc&&p===jc)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");c(e)};return l.break=o,l.skip=i,l.find=function(e,t){let n=null;return l(e,function(e,r,i){if(t.call(this,e,r,i))return n=e,o}),n},l.findLast=function(e,t){let n=null;return l(e,{reverse:!0,enter(e,r,i){if(t.call(this,e,r,i))return n=e,o}}),n},l.findAll=function(e,t){const n=[];return l(e,function(e,r,o){t.call(this,e,r,o)&&n.push(e)}),n},l}function Mc(e){return e}function Pc(e,t,n,r){let o;switch(e.type){case"Group":o=function(e,t,n,r){const o=" "===e.combinator||r?e.combinator:" "+e.combinator+" ",i=e.terms.map(e=>Pc(e,t,n,r)).join(o);return e.explicit||n?(r||","===i[0]?"[":"[ ")+i+(r?"]":" ]"):i}(e,t,n,r)+(e.disallowEmpty?"!":"");break;case"Multiplier":return Pc(e.term,t,n,r)+t(function(e){const{min:t,max:n,comma:r}=e;return 0===t&&0===n?r?"#?":"*":0===t&&1===n?"?":1===t&&0===n?r?"#":"+":1===t&&1===n?"":(r?"#":"")+(t===n?"{"+t+"}":"{"+t+","+(0!==n?n:"")+"}")}(e),e);case"Boolean":o="<boolean-expr["+Pc(e.term,t,n,r)+"]>";break;case"Type":o="<"+e.name+(e.opts?t(function(e){if("Range"===e.type)return" ["+(null===e.min?"-∞":e.min)+","+(null===e.max?"∞":e.max)+"]";throw new Error("Unknown node type `"+e.type+"`")}(e.opts),e.opts):"")+">";break;case"Property":o="<'"+e.name+"'>";break;case"Keyword":o=e.name;break;case"AtKeyword":o="@"+e.name;break;case"Function":o=e.name+"(";break;case"String":case"Token":o=e.value;break;case"Comma":o=",";break;default:throw new Error("Unknown node type `"+e.type+"`")}return t(o,e)}function Bc(e,t){let n=Mc,r=!1,o=!1;return"function"==typeof t?n=t:t&&(r=Boolean(t.forceBraces),o=Boolean(t.compact),"function"==typeof t.decorate&&(n=t.decorate)),Pc(e,n,r,o)}const Rc={offset:0,line:1,column:1};function Fc(e,t){const n=e&&e.loc&&e.loc[t];return n?"line"in n?Ic(n):n:null}function Ic({offset:e,line:t,column:n},r){const o={offset:e,line:t,column:n};if(r){const e=r.split(/\n|\r\n?|\f/);o.offset+=r.length,o.line+=e.length-1,o.column=1===e.length?o.column+r.length:e.pop().length+1}return o}const Nc=function(e,t){const n=ql("SyntaxReferenceError",e+(t?" `"+t+"`":""));return n.reference=t,n},Uc=function(e,t,n,r){const o=ql("SyntaxMatchError",e),{css:i,mismatchOffset:a,mismatchLength:s,start:l,end:c}=function(e,t){const n=e.tokens,r=e.longestMatch,o=r<n.length&&n[r].node||null,i=o!==t?o:null;let a,s,l=0,c=0,u=0,p="";for(let d=0;d<n.length;d++){const e=n[d].value;d===r&&(c=e.length,l=p.length),null!==i&&n[d].node===i&&(d<=r?u++:u=0),p+=e}return r===n.length||u>1?(a=Fc(i||t,"end")||Ic(Rc,p),s=Ic(a)):(a=Fc(i,"start")||Ic(Fc(t,"start")||Rc,p.slice(0,l)),s=Fc(i,"end")||Ic(a,p.substr(l,c))),{css:p,mismatchOffset:l,mismatchLength:c,start:a,end:s}}(r,n);return o.rawMessage=e,o.syntax=t?Bc(t):"<generic>",o.css=i,o.mismatchOffset=a,o.mismatchLength=s,o.message=e+"\n syntax: "+o.syntax+"\n value: "+(i||"<empty string>")+"\n --------"+new Array(o.mismatchOffset+1).join("-")+"^",Object.assign(o,l),o.loc={source:n&&n.loc&&n.loc.source||"<unknown>",start:l,end:c},o},Dc=new Map,Wc=new Map,qc=function(e){if(Dc.has(e))return Dc.get(e);const t=e.toLowerCase();let n=Dc.get(t);if(void 0===n){const e=Hc(t,0),r=e?"":Xc(t,0);n=Object.freeze({basename:t.substr(r.length),name:t,prefix:r,vendor:r,custom:e})}return Dc.set(e,n),n},Vc=function(e){if(Wc.has(e))return Wc.get(e);let t=e,n=e[0];"/"===n?n="/"===e[1]?"//":"/":"_"!==n&&"*"!==n&&"$"!==n&&"#"!==n&&"+"!==n&&"&"!==n&&(n="");const r=Hc(t,n.length);if(!r&&(t=t.toLowerCase(),Wc.has(t))){const n=Wc.get(t);return Wc.set(e,n),n}const o=r?"":Xc(t,n.length),i=t.substr(0,n.length+o.length),a=Object.freeze({basename:t.substr(i.length),name:t.substr(n.length),hack:n,vendor:o,prefix:i,custom:r});return Wc.set(e,a),a};function Hc(e,t){return t=t||0,e.length-t>=2&&45===e.charCodeAt(t)&&45===e.charCodeAt(t+1)}function Xc(e,t){if(t=t||0,e.length-t>=3&&45===e.charCodeAt(t)&&45!==e.charCodeAt(t+1)){const n=e.indexOf("-",t+2);if(-1!==n)return e.substring(t,n+1)}return""}const Yc=["initial","inherit","unset","revert","revert-layer"],Gc=45,Kc=!0;function Zc(e,t){return null!==e&&9===e.type&&e.value.charCodeAt(0)===t}function Qc(e,t,n){for(;null!==e&&(e.type===Ys||e.type===il);)e=n(++t);return t}function Jc(e,t,n,r){if(!e)return 0;const o=e.value.charCodeAt(t);if(43===o||o===Gc){if(n)return 0;t++}for(;t<e.value.length;t++)if(!al(e.value.charCodeAt(t)))return 0;return r+1}function eu(e,t,n){let r=!1,o=Qc(e,t,n);if(null===(e=n(o)))return t;if(e.type!==Vs){if(!Zc(e,43)&&!Zc(e,Gc))return t;if(r=!0,o=Qc(n(++o),o,n),null===(e=n(o))||e.type!==Vs)return 0}if(!r){const t=e.value.charCodeAt(0);if(43!==t&&t!==Gc)return 0}return Jc(e,r?0:1,r,o)}function tu(e,t){return null!==e&&9===e.type&&e.value.charCodeAt(0)===t}function nu(e,t,n){let r=0;for(let o=t;o<e.value.length;o++){const i=e.value.charCodeAt(o);if(45===i&&n&&0!==r)return nu(e,t+r+1,!1),6;if(!sl(i))return 0;if(++r>6)return 0}return r}function ru(e,t,n){if(!e)return 0;for(;tu(n(t),63);){if(++e>6)return 0;t++}return t}const ou=["calc(","-moz-calc(","-webkit-calc("],iu=new Map([[2,nl],[tl,nl],[Js,el],[rl,ol]]);function au(e,t){return t<e.length?e.charCodeAt(t):0}function su(e,t){return Sl(e,0,e.length,t)}function lu(e,t){for(let n=0;n<t.length;n++)if(su(e,t[n]))return!0;return!1}function cu(e,t){return t===e.length-2&&(92===au(e,t)&&al(au(e,t+1)))}function uu(e,t,n){if(e&&"Range"===e.type){const r=Number(void 0!==n&&n!==t.length?t.substr(0,n):t);if(isNaN(r))return!0;if(null!==e.min&&r<e.min&&"string"!=typeof e.min)return!0;if(null!==e.max&&r>e.max&&"string"!=typeof e.max)return!0}return!1}function pu(e){return function(t,n,r){return null===t?0:2===t.type&&lu(t.value,ou)?function(e,t){let n=0,r=[],o=0;e:do{switch(e.type){case ol:case nl:case el:if(e.type!==n)break e;if(n=r.pop(),0===r.length){o++;break e}break;case 2:case tl:case Js:case rl:r.push(n),n=iu.get(e.type)}o++}while(e=t(o));return o}(t,n):e(t,n,r)}}function du(e){return function(t){return null===t||t.type!==e?0:1}}function hu(e){return null===e||1!==e.type||45!==au(e.value,0)||45!==au(e.value,1)?0:1}function fu(e){return e&&(e=new Set(e)),function(t,n,r){if(null===t||t.type!==Xs)return 0;const o=El(t.value,0);if(null!==e){const n=t.value.indexOf("\\",o),r=-1!==n&&cu(t.value,n)?t.value.substring(o,n):t.value.substr(o);if(!1===e.has(r.toLowerCase()))return 0}return uu(r,t.value,o)?0:1}}function mu(e){return"function"!=typeof e&&(e=function(){return 0}),function(t,n,r){return null!==t&&t.type===Vs&&0===Number(t.value)?1:e(t,n,r)}}const gu={"ident-token":du(1),"function-token":du(2),"at-keyword-token":du(3),"hash-token":du(4),"string-token":du(5),"bad-string-token":du(6),"url-token":du(7),"bad-url-token":du(8),"delim-token":du(9),"number-token":du(Vs),"percentage-token":du(Hs),"dimension-token":du(Xs),"whitespace-token":du(Ys),"CDO-token":du(14),"CDC-token":du(Gs),"colon-token":du(Ks),"semicolon-token":du(Zs),"comma-token":du(Qs),"[-token":du(Js),"]-token":du(el),"(-token":du(tl),")-token":du(nl),"{-token":du(rl),"}-token":du(ol)},bu={string:du(5),ident:du(1),percentage:pu(function(e,t,n){return null===e||e.type!==Hs||uu(n,e.value,e.value.length-1)?0:1}),zero:mu(),number:pu(function(e,t,n){if(null===e)return 0;const r=El(e.value,0);return r===e.value.length||cu(e.value,r)?uu(n,e.value,r)?0:1:0}),integer:pu(function(e,t,n){if(null===e||e.type!==Vs)return 0;let r=43===au(e.value,0)||45===au(e.value,0)?1:0;for(;r<e.value.length;r++)if(!al(au(e.value,r)))return 0;return uu(n,e.value,r)?0:1}),"custom-ident":function(e){if(null===e||1!==e.type)return 0;const t=e.value.toLowerCase();return lu(t,Yc)||su(t,"default")?0:1},"dashed-ident":hu,"custom-property-name":function(e){return hu(e)?"--"===e.value?0:1:0},"hex-color":function(e){if(null===e||4!==e.type)return 0;const t=e.value.length;if(4!==t&&5!==t&&7!==t&&9!==t)return 0;for(let n=1;n<t;n++)if(!sl(au(e.value,n)))return 0;return 1},"id-selector":function(e){return null===e||4!==e.type?0:ml(au(e.value,1),au(e.value,2),au(e.value,3))?1:0},"an-plus-b":function(e,t){let n=0;if(!e)return 0;if(e.type===Vs)return Jc(e,0,false,n);if(1===e.type&&e.value.charCodeAt(0)===Gc){if(!$l(e.value,1,110))return 0;switch(e.value.length){case 2:return eu(t(++n),n,t);case 3:return e.value.charCodeAt(2)!==Gc?0:(n=Qc(t(++n),n,t),Jc(e=t(n),0,Kc,n));default:return e.value.charCodeAt(2)!==Gc?0:Jc(e,3,Kc,n)}}else if(1===e.type||Zc(e,43)&&1===t(n+1).type){if(1!==e.type&&(e=t(++n)),null===e||!$l(e.value,0,110))return 0;switch(e.value.length){case 1:return eu(t(++n),n,t);case 2:return e.value.charCodeAt(1)!==Gc?0:(n=Qc(t(++n),n,t),Jc(e=t(n),0,Kc,n));default:return e.value.charCodeAt(1)!==Gc?0:Jc(e,2,Kc,n)}}else if(e.type===Xs){let r=e.value.charCodeAt(0),o=43===r||r===Gc?1:0,i=o;for(;i<e.value.length&&al(e.value.charCodeAt(i));i++);return i===o?0:$l(e.value,i,110)?i+1===e.value.length?eu(t(++n),n,t):e.value.charCodeAt(i+1)!==Gc?0:i+2===e.value.length?(n=Qc(t(++n),n,t),Jc(e=t(n),0,Kc,n)):Jc(e,i+2,Kc,n):0}return 0},urange:function(e,t){let n=0;if(null===e||1!==e.type||!$l(e.value,0,117))return 0;if(null===(e=t(++n)))return 0;if(tu(e,43))return null===(e=t(++n))?0:1===e.type?ru(nu(e,0,!0),++n,t):tu(e,63)?ru(1,++n,t):0;if(e.type===Vs){const r=nu(e,1,!0);return 0===r?0:null===(e=t(++n))?n:e.type===Xs||e.type===Vs?function(e,t){return e.value.charCodeAt(0)===t}(e,45)&&nu(e,1,!1)?n+1:0:ru(r,n,t)}return e.type===Xs?ru(nu(e,1,!0),++n,t):0},"declaration-value":function(e,t){if(!e)return 0;let n=0,r=[],o=0;e:do{switch(e.type){case 6:case 8:break e;case ol:case nl:case el:if(e.type!==n)break e;n=r.pop();break;case Zs:if(0===n)break e;break;case 9:if(0===n&&"!"===e.value)break e;break;case 2:case tl:case Js:case rl:r.push(n),n=iu.get(e.type)}o++}while(e=t(o));return o},"any-value":function(e,t){if(!e)return 0;let n=0,r=[],o=0;e:do{switch(e.type){case 6:case 8:break e;case ol:case nl:case el:if(e.type!==n)break e;n=r.pop();break;case 2:case tl:case Js:case rl:r.push(n),n=iu.get(e.type)}o++}while(e=t(o));return o}};function yu(e){const{angle:t,decibel:n,frequency:r,flex:o,length:i,resolution:a,semitones:s,time:l}=e||{};return{dimension:pu(fu(null)),angle:pu(fu(t)),decibel:pu(fu(n)),frequency:pu(fu(r)),flex:pu(fu(o)),length:pu(mu(fu(i))),resolution:pu(fu(a)),semitones:pu(fu(s)),time:pu(fu(l))}}const ku=Object.freeze(Object.defineProperty({__proto__:null,angle:["deg","grad","rad","turn"],decibel:["db"],flex:["fr"],frequency:["hz","khz"],length:["cm","mm","q","in","pt","pc","px","em","rem","ex","rex","cap","rcap","ch","rch","ic","ric","lh","rlh","vw","svw","lvw","dvw","vh","svh","lvh","dvh","vi","svi","lvi","dvi","vb","svb","lvb","dvb","vmin","svmin","lvmin","dvmin","vmax","svmax","lvmax","dvmax","cqw","cqh","cqi","cqb","cqmin","cqmax"],resolution:["dpi","dpcm","dppx","x"],semitones:["st"],time:["s","ms"]},Symbol.toStringTag,{value:"Module"}));function wu(e,t,n){return Object.assign(ql("SyntaxError",e),{input:t,offset:n,rawMessage:e,message:e+"\n "+t+"\n--"+new Array((n||t.length)+1).join("-")+"^"})}const vu=new Uint8Array(128).map((e,t)=>/[a-zA-Z0-9\-]/.test(String.fromCharCode(t))?1:0);class xu{constructor(e){this.str=e,this.pos=0}charCodeAt(e){return e<this.str.length?this.str.charCodeAt(e):0}charCode(){return this.charCodeAt(this.pos)}isNameCharCode(e=this.charCode()){return e<128&&1===vu[e]}nextCharCode(){return this.charCodeAt(this.pos+1)}nextNonWsCode(e){return this.charCodeAt(this.findWsEnd(e))}skipWs(){this.pos=this.findWsEnd(this.pos)}findWsEnd(e){for(;e<this.str.length;e++){const t=this.str.charCodeAt(e);if(13!==t&&10!==t&&12!==t&&32!==t&&9!==t)break}return e}substringToPos(e){return this.str.substring(this.pos,this.pos=e)}eat(e){this.charCode()!==e&&this.error("Expect `"+String.fromCharCode(e)+"`"),this.pos++}peek(){return this.pos<this.str.length?this.str.charAt(this.pos++):""}error(e){throw new wu(e,this.str,this.pos)}scanSpaces(){return this.substringToPos(this.findWsEnd(this.pos))}scanWord(){let e=this.pos;for(;e<this.str.length;e++){const t=this.str.charCodeAt(e);if(t>=128||0===vu[t])break}return this.pos===e&&this.error("Expect a keyword"),this.substringToPos(e)}scanNumber(){let e=this.pos;for(;e<this.str.length;e++){const t=this.str.charCodeAt(e);if(t<48||t>57)break}return this.pos===e&&this.error("Expect a number"),this.substringToPos(e)}scanString(){const e=this.str.indexOf("'",this.pos+1);return-1===e&&(this.pos=this.str.length,this.error("Expect an apostrophe")),this.substringToPos(e+1)}}const $u=123,Su={" ":1,"&&":2,"||":3,"|":4};function zu(e){let t=null,n=null;return e.eat($u),e.skipWs(),t=e.scanNumber(e),e.skipWs(),44===e.charCode()?(e.pos++,e.skipWs(),125!==e.charCode()&&(n=e.scanNumber(e),e.skipWs())):n=t,e.eat(125),{min:Number(t),max:n?Number(n):0}}function Cu(e,t){const n=function(e){let t=null,n=!1;switch(e.charCode()){case 42:e.pos++,t={min:0,max:0};break;case 43:e.pos++,t={min:1,max:0};break;case 63:e.pos++,t={min:0,max:1};break;case 35:e.pos++,n=!0,e.charCode()===$u?t=zu(e):63===e.charCode()?(e.pos++,t={min:0,max:0}):t={min:1,max:0};break;case $u:t=zu(e);break;default:return null}return{type:"Multiplier",comma:n,min:t.min,max:t.max,term:null}}(e);return null!==n?(n.term=t,35===e.charCode()&&43===e.charCodeAt(e.pos-1)?Cu(e,n):n):t}function ju(e){const t=e.peek();return""===t?null:Cu(e,{type:"Token",value:t})}function Au(e){let t,n=null;if(e.eat(60),t=e.scanWord(),"boolean-expr"===t){e.eat(91);const t=Ou(e,93);return e.eat(93),e.eat(62),Cu(e,{type:"Boolean",term:1===t.terms.length?t.terms[0]:t})}return 40===e.charCode()&&41===e.nextCharCode()&&(e.pos+=2,t+="()"),91===e.charCodeAt(e.findWsEnd(e.pos))&&(e.skipWs(),n=function(e){let t=null,n=null,r=1;return e.eat(91),45===e.charCode()&&(e.peek(),r=-1),-1==r&&8734===e.charCode()?e.peek():(t=r*Number(e.scanNumber(e)),e.isNameCharCode()&&(t+=e.scanWord())),e.skipWs(),e.eat(44),e.skipWs(),8734===e.charCode()?e.peek():(r=1,45===e.charCode()&&(e.peek(),r=-1),n=r*Number(e.scanNumber(e)),e.isNameCharCode()&&(n+=e.scanWord())),e.eat(93),{type:"Range",min:t,max:n}}(e)),e.eat(62),Cu(e,{type:"Type",name:t,opts:n})}function Eu(e,t){function n(e,t){return{type:"Group",terms:e,combinator:t,disallowEmpty:!1,explicit:!1}}let r;for(t=Object.keys(t).sort((e,t)=>Su[e]-Su[t]);t.length>0;){r=t.shift();let o=0,i=0;for(;o<e.length;o++){const t=e[o];"Combinator"===t.type&&(t.value===r?(-1===i&&(i=o-1),e.splice(o,1),o--):(-1!==i&&o-i>1&&(e.splice(i,o-i,n(e.slice(i,o),r)),o=i+1),i=-1))}-1!==i&&t.length&&e.splice(i,o-i,n(e.slice(i,o),r))}return r}function Ou(e,t){const n=Object.create(null),r=[];let o,i=null,a=e.pos;for(;e.charCode()!==t&&(o=_u(e,t));)"Spaces"!==o.type&&("Combinator"===o.type?(null!==i&&"Combinator"!==i.type||(e.pos=a,e.error("Unexpected combinator")),n[o.value]=!0):null!==i&&"Combinator"!==i.type&&(n[" "]=!0,r.push({type:"Combinator",value:" "})),r.push(o),i=o,a=e.pos);return null!==i&&"Combinator"===i.type&&(e.pos-=a,e.error("Unexpected combinator")),{type:"Group",terms:r,combinator:Eu(r,n)||" ",disallowEmpty:!1,explicit:!1}}function _u(e,t){let n=e.charCode();switch(n){case 93:break;case 91:return Cu(e,function(e,t){let n;return e.eat(91),n=Ou(e,t),e.eat(93),n.explicit=!0,33===e.charCode()&&(e.pos++,n.disallowEmpty=!0),n}(e,t));case 60:return 39===e.nextCharCode()?function(e){let t;return e.eat(60),e.eat(39),t=e.scanWord(),e.eat(39),e.eat(62),Cu(e,{type:"Property",name:t})}(e):Au(e);case 124:return{type:"Combinator",value:e.substringToPos(e.pos+(124===e.nextCharCode()?2:1))};case 38:return e.pos++,e.eat(38),{type:"Combinator",value:"&&"};case 44:return e.pos++,{type:"Comma"};case 39:return Cu(e,{type:"String",value:e.scanString()});case 32:case 9:case 10:case 13:case 12:return{type:"Spaces",value:e.scanSpaces()};case 64:return n=e.nextCharCode(),e.isNameCharCode(n)?(e.pos++,{type:"AtKeyword",name:e.scanWord()}):ju(e);case 42:case 43:case 63:case 35:case 33:break;case $u:if(n=e.nextCharCode(),n<48||n>57)return ju(e);break;default:return e.isNameCharCode(n)?function(e){const t=e.scanWord();return 40===e.charCode()?(e.pos++,{type:"Function",name:t}):Cu(e,{type:"Keyword",name:t})}(e):ju(e)}}function Lu(e){const t=new xu(e),n=Ou(t);return t.pos!==e.length&&t.error("Unexpected input"),1===n.terms.length&&"Group"===n.terms[0].type?n.terms[0]:n}const Tu=function(){};function Mu(e){return"function"==typeof e?e:Tu}const Pu={decorator(e){const t=[];let n=null;return{...e,node(t){const r=n;n=t,e.node.call(this,t),n=r},emit(e,r,o){t.push({type:r,value:e,node:o?null:n})},result:()=>t}}};function Bu(e,t){return"string"==typeof e?function(e){const t=[];return Ul(e,(n,r,o)=>t.push({type:n,value:e.slice(r,o),node:null})),t}(e):t.generate(e,Pu)}const Ru={type:"Match"},Fu={type:"Mismatch"},Iu={type:"DisallowEmpty"};function Nu(e,t,n){return t===Ru&&n===Fu||e===Ru&&t===Ru&&n===Ru?e:("If"===e.type&&e.else===Fu&&t===Ru&&(t=e.then,e=e.match),{type:"If",match:e,then:t,else:n})}function Uu(e){return e.length>2&&40===e.charCodeAt(e.length-2)&&41===e.charCodeAt(e.length-1)}function Du(e){return"Keyword"===e.type||"AtKeyword"===e.type||"Function"===e.type||"Type"===e.type&&Uu(e.name)}function Wu(e,t=" ",n=!1){return{type:"Group",terms:e,combinator:t,disallowEmpty:!1,explicit:n}}function qu(e,t,n=new Set){if(!n.has(e))switch(n.add(e),e.type){case"If":e.match=qu(e.match,t,n),e.then=qu(e.then,t,n),e.else=qu(e.else,t,n);break;case"Type":return t[e.name]||e}return e}function Vu(e,t,n){switch(e){case" ":{let e=Ru;for(let n=t.length-1;n>=0;n--){e=Nu(t[n],e,Fu)}return e}case"|":{let e=Fu,n=null;for(let r=t.length-1;r>=0;r--){let o=t[r];if(Du(o)&&(null===n&&r>0&&Du(t[r-1])&&(n=Object.create(null),e=Nu({type:"Enum",map:n},Ru,e)),null!==n)){const e=(Uu(o.name)?o.name.slice(0,-1):o.name).toLowerCase();if(e in n==!1){n[e]=o;continue}}n=null,e=Nu(o,Ru,e)}return e}case"&&":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!0};let n=Fu;for(let r=t.length-1;r>=0;r--){const o=t[r];let i;i=t.length>1?Vu(e,t.filter(function(e){return e!==o}),!1):Ru,n=Nu(o,i,n)}return n}case"||":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!1};let r=n?Ru:Fu;for(let n=t.length-1;n>=0;n--){const o=t[n];let i;i=t.length>1?Vu(e,t.filter(function(e){return e!==o}),!0):Ru,r=Nu(o,i,r)}return r}}}function Hu(e){if("function"==typeof e)return{type:"Generic",fn:e};switch(e.type){case"Group":{let t=Vu(e.combinator,e.terms.map(Hu),!1);return e.disallowEmpty&&(t=Nu(t,Iu,Fu)),t}case"Multiplier":return function(e){let t=Ru,n=Hu(e.term);if(0===e.max)n=Nu(n,Iu,Fu),t=Nu(n,null,Fu),t.then=Nu(Ru,Ru,t),e.comma&&(t.then.else=Nu({type:"Comma",syntax:e},t,Fu));else for(let r=e.min||1;r<=e.max;r++)e.comma&&t!==Ru&&(t=Nu({type:"Comma",syntax:e},t,Fu)),t=Nu(n,Nu(Ru,Ru,t),Fu);if(0===e.min)t=Nu(Ru,Ru,t);else for(let r=0;r<e.min-1;r++)e.comma&&t!==Ru&&(t=Nu({type:"Comma",syntax:e},t,Fu)),t=Nu(n,t,Fu);return t}(e);case"Boolean":{const t=Hu(e.term),n=Hu(Wu([Wu([{type:"Keyword",name:"not"},{type:"Type",name:"!boolean-group"}]),Wu([{type:"Type",name:"!boolean-group"},Wu([{type:"Multiplier",comma:!1,min:0,max:0,term:Wu([{type:"Keyword",name:"and"},{type:"Type",name:"!boolean-group"}])},{type:"Multiplier",comma:!1,min:0,max:0,term:Wu([{type:"Keyword",name:"or"},{type:"Type",name:"!boolean-group"}])}],"|")])],"|")),r=Hu(Wu([{type:"Type",name:"!term"},Wu([{type:"Token",value:"("},{type:"Type",name:"!self"},{type:"Token",value:")"}]),{type:"Type",name:"general-enclosed"}],"|"));return qu(r,{"!term":t,"!self":n}),qu(n,{"!boolean-group":r}),n}case"Type":case"Property":return{type:e.type,name:e.name,syntax:e};case"Keyword":return{type:e.type,name:e.name.toLowerCase(),syntax:e};case"AtKeyword":return{type:e.type,name:"@"+e.name.toLowerCase(),syntax:e};case"Function":return{type:e.type,name:e.name.toLowerCase()+"(",syntax:e};case"String":return 3===e.value.length?{type:"Token",value:e.value.charAt(1),syntax:e}:{type:e.type,value:e.value.substr(1,e.value.length-2).replace(/\\'/g,"'"),syntax:e};case"Token":return{type:e.type,value:e.value,syntax:e};case"Comma":return{type:e.type,syntax:e};default:throw new Error("Unknown node type:",e.type)}}function Xu(e,t){return"string"==typeof e&&(e=Lu(e)),{type:"MatchGraph",match:Hu(e),syntax:t||null,source:e}}const{hasOwnProperty:Yu}=Object.prototype,Gu="Match";function Ku(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++){const r=t.charCodeAt(n);let o=e.charCodeAt(n);if(o>=65&&o<=90&&(o|=32),o!==r)return!1}return!0}function Zu(e){return null===e||(e.type===Qs||2===e.type||e.type===tl||e.type===Js||e.type===rl||function(e){return 9===e.type&&"?"!==e.value}(e))}function Qu(e){return null===e||(e.type===nl||e.type===el||e.type===ol||9===e.type&&"/"===e.value)}function Ju(e,t,n){const r=function(e,t,n){function r(){do{y++,b=y<e.length?e[y]:null}while(null!==b&&(b.type===Ys||b.type===il))}function o(t){const n=y+t;return n<e.length?e[n]:null}function i(e,t){return{nextState:e,matchStack:w,syntaxStack:p,thenStack:d,tokenIndex:y,prev:t}}function a(e){d={nextState:e,matchStack:w,syntaxStack:p,prev:d}}function s(e){h=i(e,h)}function l(){w={type:1,syntax:t.syntax,token:b,prev:w},r(),f=null,y>k&&(k=y)}function c(){p={syntax:t.syntax,opts:t.syntax.opts||null!==p&&p.opts||null,prev:p},w={type:2,syntax:t.syntax,token:w.token,prev:w}}function u(){w=2===w.type?w.prev:{type:3,syntax:p.syntax,token:w.token,prev:w},p=p.prev}let p=null,d=null,h=null,f=null,m=0,g=null,b=null,y=-1,k=0,w={type:0,syntax:null,token:null,prev:null};for(r();null===g&&++m<15e3;)switch(t.type){case"Match":if(null===d){if(null!==b&&(y!==e.length-1||"\\0"!==b.value&&"\\9"!==b.value)){t=Fu;break}g=Gu;break}if((t=d.nextState)===Iu){if(d.matchStack===w){t=Fu;break}t=Ru}for(;d.syntaxStack!==p;)u();d=d.prev;break;case"Mismatch":if(null!==f&&!1!==f)(null===h||y>h.tokenIndex)&&(h=f,f=!1);else if(null===h){g="Mismatch";break}t=h.nextState,d=h.thenStack,p=h.syntaxStack,w=h.matchStack,y=h.tokenIndex,b=y<e.length?e[y]:null,h=h.prev;break;case"MatchGraph":t=t.match;break;case"If":t.else!==Fu&&s(t.else),t.then!==Ru&&a(t.then),t=t.match;break;case"MatchOnce":t={type:"MatchOnceBuffer",syntax:t,index:0,mask:0};break;case"MatchOnceBuffer":{const e=t.syntax.terms;if(t.index===e.length){if(0===t.mask||t.syntax.all){t=Fu;break}t=Ru;break}if(t.mask===(1<<e.length)-1){t=Ru;break}for(;t.index<e.length;t.index++){const n=1<<t.index;if(0===(t.mask&n)){s(t),a({type:"AddMatchOnce",syntax:t.syntax,mask:t.mask|n}),t=e[t.index++];break}}break}case"AddMatchOnce":t={type:"MatchOnceBuffer",syntax:t.syntax,index:0,mask:t.mask};break;case"Enum":if(null!==b){let e=b.value.toLowerCase();if(-1!==e.indexOf("\\")&&(e=e.replace(/\\[09].*$/,"")),Yu.call(t.map,e)){t=t.map[e];break}}t=Fu;break;case"Generic":{const e=null!==p?p.opts:null,n=y+Math.floor(t.fn(b,o,e));if(!isNaN(n)&&n>y){for(;y<n;)l();t=Ru}else t=Fu;break}case"Type":case"Property":{const e="Type"===t.type?"types":"properties",r=Yu.call(n,e)?n[e][t.name]:null;if(!r||!r.match)throw new Error("Bad syntax reference: "+("Type"===t.type?"<"+t.name+">":"<'"+t.name+"'>"));if(!1!==f&&null!==b&&"Type"===t.type&&("custom-ident"===t.name&&1===b.type||"length"===t.name&&"0"===b.value)){null===f&&(f=i(t,h)),t=Fu;break}c(),t=r.matchRef||r.match;break}case"Keyword":{const e=t.name;if(null!==b){let n=b.value;if(-1!==n.indexOf("\\")&&(n=n.replace(/\\[09].*$/,"")),Ku(n,e)){l(),t=Ru;break}}t=Fu;break}case"AtKeyword":case"Function":if(null!==b&&Ku(b.value,t.name)){l(),t=Ru;break}t=Fu;break;case"Token":if(null!==b&&b.value===t.value){l(),t=Ru;break}t=Fu;break;case"Comma":null!==b&&b.type===Qs?Zu(w.token)?t=Fu:(l(),t=Qu(b)?Fu:Ru):t=Zu(w.token)||Qu(b)?Ru:Fu;break;case"String":let r="",m=y;for(;m<e.length&&r.length<t.value.length;m++)r+=e[m].value;if(Ku(r,t.value)){for(;y<m;)l();t=Ru}else t=Fu;break;default:throw new Error("Unknown node type: "+t.type)}switch(g){case null:console.warn("[csstree-match] BREAK after 15000 iterations"),g="Maximum iteration number exceeded (please fill an issue on https://github.com/csstree/csstree/issues)",w=null;break;case Gu:for(;null!==p;)u();break;default:w=null}return{tokens:e,reason:g,iterations:m,match:w,longestMatch:k}}(e,t,n||{});if(null===r.match)return r;let o=r.match,i=r.match={syntax:t.syntax||null,match:[]};const a=[i];for(o=function(e){let t=null,n=null,r=e;for(;null!==r;)n=r.prev,r.prev=t,t=r,r=n;return t}(o).prev;null!==o;){switch(o.type){case 2:i.match.push(i={syntax:o.syntax,match:[]}),a.push(i);break;case 3:a.pop(),i=a[a.length-1];break;default:i.match.push({syntax:o.syntax||null,token:o.token.value,node:o.token.node})}o=o.prev}return r}function ep(e){function t(e){return null!==e&&("Type"===e.type||"Property"===e.type||"Keyword"===e.type)}let n=null;return null!==this.matched&&function r(o){if(Array.isArray(o.match)){for(let e=0;e<o.match.length;e++)if(r(o.match[e]))return t(o.syntax)&&n.unshift(o.syntax),!0}else if(o.node===e)return n=t(o.syntax)?[o.syntax]:[],!0;return!1}(this.matched),n}function tp(e,t,n){const r=ep.call(e,t);return null!==r&&r.some(n)}const np=Object.freeze(Object.defineProperty({__proto__:null,getTrace:ep,isKeyword:function(e){return tp(this,e,e=>"Keyword"===e.type)},isProperty:function(e,t){return tp(this,e,e=>"Property"===e.type&&e.name===t)},isType:function(e,t){return tp(this,e,e=>"Type"===e.type&&e.name===t)}},Symbol.toStringTag,{value:"Module"}));function rp(e){return"node"in e?e.node:rp(e.match[0])}function op(e){return"node"in e?e.node:op(e.match[e.match.length-1])}function ip(e,t,n,r,o){const i=[];return null!==n.matched&&function n(a){if(null!==a.syntax&&a.syntax.type===r&&a.syntax.name===o){const n=rp(a),r=op(a);e.syntax.walk(t,function(e,t,o){if(e===n){const e=new Wl;do{if(e.appendData(t.data),t.data===r)break;t=t.next}while(null!==t);i.push({parent:o,nodes:e})}})}Array.isArray(a.match)&&a.match.forEach(n)}(n.matched),i}const{hasOwnProperty:ap}=Object.prototype;function sp(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&e>=0}function lp(e){return Boolean(e)&&sp(e.offset)&&sp(e.line)&&sp(e.column)}function cp(e,t){return function(n,r){if(!n||n.constructor!==Object)return r(n,"Type of node should be an Object");for(let o in n){let i=!0;if(!1!==ap.call(n,o)){if("type"===o)n.type!==e&&r(n,"Wrong node type `"+n.type+"`, expected `"+e+"`");else if("loc"===o){if(null===n.loc)continue;if(n.loc&&n.loc.constructor===Object)if("string"!=typeof n.loc.source)o+=".source";else if(lp(n.loc.start)){if(lp(n.loc.end))continue;o+=".end"}else o+=".start";i=!1}else if(t.hasOwnProperty(o)){i=!1;for(let e=0;!i&&e<t[o].length;e++){const r=t[o][e];switch(r){case String:i="string"==typeof n[o];break;case Boolean:i="boolean"==typeof n[o];break;case null:i=null===n[o];break;default:"string"==typeof r?i=n[o]&&n[o].type===r:Array.isArray(r)&&(i=n[o]instanceof Wl)}}}else r(n,"Unknown field `"+o+"` for "+e+" node type");i||r(n,"Bad value for `"+e+"."+o+"`")}}for(const o in t)ap.call(t,o)&&!1===ap.call(n,o)&&r(n,"Field `"+e+"."+o+"` is missed")}}function up(e,t){const n=[];for(let r=0;r<e.length;r++){const o=e[r];if(o===String||o===Boolean)n.push(o.name.toLowerCase());else if(null===o)n.push("null");else if("string"==typeof o)n.push(o);else{if(!Array.isArray(o))throw new Error("Wrong value `"+o+"` in `"+t+"` structure definition");n.push("List<"+(up(o,t)||"any")+">")}}return n.join(" | ")}function pp(e,t){const n=t.structure,r={type:String,loc:!0},o={type:'"'+e+'"'};for(const i in n){if(!1===ap.call(n,i))continue;const t=r[i]=Array.isArray(n[i])?n[i].slice():[n[i]];o[i]=up(t,e+"."+i)}return{docs:o,check:cp(e,r)}}function dp(e,t,n){const r={};for(const o in e)e[o].syntax&&(r[o]=n?e[o].syntax:Bc(e[o].syntax,{compact:t}));return r}function hp(e,t,n){const r={};for(const[o,i]of Object.entries(e))r[o]={prelude:i.prelude&&(n?i.prelude.syntax:Bc(i.prelude.syntax,{compact:t})),descriptors:i.descriptors&&dp(i.descriptors,t,n)};return r}function fp(e,t,n){return{matched:e,iterations:n,error:t,...np}}function mp(e,t,n,r){const o=Bu(n,e.syntax);let i;return function(e){for(let t=0;t<e.length;t++)if("var("===e[t].value.toLowerCase())return!0;return!1}(o)?fp(null,new Error("Matching for a tree with var() is not supported")):(r&&(i=Ju(o,e.cssWideKeywordsSyntax,e)),r&&i.match||(i=Ju(o,t.match,e),i.match)?fp(i.match,null,i.iterations):fp(null,new Uc(i.reason,t.syntax,n,i),i.iterations))}class gp{constructor(e,t,n){if(this.cssWideKeywords=Yc,this.syntax=t,this.generic=!1,this.units={...ku},this.atrules=Object.create(null),this.properties=Object.create(null),this.types=Object.create(null),this.structure=n||function(e){const t={};if(e.node)for(const n in e.node)if(ap.call(e.node,n)){const r=e.node[n];if(!r.structure)throw new Error("Missed `structure` field in `"+n+"` node type definition");t[n]=pp(n,r)}return t}(e),e){if(e.cssWideKeywords&&(this.cssWideKeywords=e.cssWideKeywords),e.units)for(const t of Object.keys(ku))Array.isArray(e.units[t])&&(this.units[t]=e.units[t]);if(e.types)for(const[t,n]of Object.entries(e.types))this.addType_(t,n);if(e.generic){this.generic=!0;for(const[e,t]of Object.entries((r=this.units,{...gu,...bu,...yu(r)})))this.addType_(e,t)}if(e.atrules)for(const[t,n]of Object.entries(e.atrules))this.addAtrule_(t,n);if(e.properties)for(const[t,n]of Object.entries(e.properties))this.addProperty_(t,n)}var r;this.cssWideKeywordsSyntax=Xu(this.cssWideKeywords.join(" | "))}checkStructure(e){function t(e,t){r.push({node:e,message:t})}const n=this.structure,r=[];return this.syntax.walk(e,function(e){n.hasOwnProperty(e.type)?n[e.type].check(e,t):t(e,"Unknown node type `"+e.type+"`")}),!!r.length&&r}createDescriptor(e,t,n,r=null){const o={type:t,name:n},i={type:t,name:n,parent:r,serializable:"string"==typeof e||e&&"string"==typeof e.type,syntax:null,match:null,matchRef:null};return"function"==typeof e?i.match=Xu(e,o):("string"==typeof e?Object.defineProperty(i,"syntax",{get:()=>(Object.defineProperty(i,"syntax",{value:Lu(e)}),i.syntax)}):i.syntax=e,Object.defineProperty(i,"match",{get:()=>(Object.defineProperty(i,"match",{value:Xu(i.syntax,o)}),i.match)}),"Property"===t&&Object.defineProperty(i,"matchRef",{get(){const e=i.syntax,t=function(e){const t=e.terms[0];return!1===e.explicit&&1===e.terms.length&&"Multiplier"===t.type&&!0===t.comma}(e)?Xu({...e,terms:[e.terms[0].term]},o):null;return Object.defineProperty(i,"matchRef",{value:t}),t}})),i}addAtrule_(e,t){t&&(this.atrules[e]={type:"Atrule",name:e,prelude:t.prelude?this.createDescriptor(t.prelude,"AtrulePrelude",e):null,descriptors:t.descriptors?Object.keys(t.descriptors).reduce((n,r)=>(n[r]=this.createDescriptor(t.descriptors[r],"AtruleDescriptor",r,e),n),Object.create(null)):null})}addProperty_(e,t){t&&(this.properties[e]=this.createDescriptor(t,"Property",e))}addType_(e,t){t&&(this.types[e]=this.createDescriptor(t,"Type",e))}checkAtruleName(e){if(!this.getAtrule(e))return new Nc("Unknown at-rule","@"+e)}checkAtrulePrelude(e,t){const n=this.checkAtruleName(e);if(n)return n;const r=this.getAtrule(e);return!r.prelude&&t?new SyntaxError("At-rule `@"+e+"` should not contain a prelude"):!r.prelude||t||mp(this,r.prelude,"",!1).matched?void 0:new SyntaxError("At-rule `@"+e+"` should contain a prelude")}checkAtruleDescriptorName(e,t){const n=this.checkAtruleName(e);if(n)return n;const r=this.getAtrule(e),o=qc(t);return r.descriptors?r.descriptors[o.name]||r.descriptors[o.basename]?void 0:new Nc("Unknown at-rule descriptor",t):new SyntaxError("At-rule `@"+e+"` has no known descriptors")}checkPropertyName(e){if(!this.getProperty(e))return new Nc("Unknown property",e)}matchAtrulePrelude(e,t){const n=this.checkAtrulePrelude(e,t);if(n)return fp(null,n);const r=this.getAtrule(e);return r.prelude?mp(this,r.prelude,t||"",!1):fp(null,null)}matchAtruleDescriptor(e,t,n){const r=this.checkAtruleDescriptorName(e,t);if(r)return fp(null,r);const o=this.getAtrule(e),i=qc(t);return mp(this,o.descriptors[i.name]||o.descriptors[i.basename],n,!1)}matchDeclaration(e){return"Declaration"!==e.type?fp(null,new Error("Not a Declaration node")):this.matchProperty(e.property,e.value)}matchProperty(e,t){if(Vc(e).custom)return fp(null,new Error("Lexer matching doesn't applicable for custom properties"));const n=this.checkPropertyName(e);return n?fp(null,n):mp(this,this.getProperty(e),t,!0)}matchType(e,t){const n=this.getType(e);return n?mp(this,n,t,!1):fp(null,new Nc("Unknown type",e))}match(e,t){return"string"==typeof e||e&&e.type?("string"!=typeof e&&e.match||(e=this.createDescriptor(e,"Type","anonymous")),mp(this,e,t,!1)):fp(null,new Nc("Bad syntax"))}findValueFragments(e,t,n,r){return ip(this,t,this.matchProperty(e,t),n,r)}findDeclarationValueFragments(e,t,n){return ip(this,e.value,this.matchDeclaration(e),t,n)}findAllFragments(e,t,n){const r=[];return this.syntax.walk(e,{visit:"Declaration",enter:e=>{r.push.apply(r,this.findDeclarationValueFragments(e,t,n))}}),r}getAtrule(e,t=!0){const n=qc(e);return(n.vendor&&t?this.atrules[n.name]||this.atrules[n.basename]:this.atrules[n.name])||null}getAtrulePrelude(e,t=!0){const n=this.getAtrule(e,t);return n&&n.prelude||null}getAtruleDescriptor(e,t){return this.atrules.hasOwnProperty(e)&&this.atrules.declarators&&this.atrules[e].declarators[t]||null}getProperty(e,t=!0){const n=Vc(e);return(n.vendor&&t?this.properties[n.name]||this.properties[n.basename]:this.properties[n.name])||null}getType(e){return hasOwnProperty.call(this.types,e)?this.types[e]:null}validate(){function e(e,t){return t?`<${e}>`:`<'${e}'>`}function t(i,a,s,l){if(s.has(a))return s.get(a);s.set(a,!1),null!==l.syntax&&function(e,t,n){let r=Tu,o=Tu;if("function"==typeof t?r=t:t&&(r=Mu(t.enter),o=Mu(t.leave)),r===Tu&&o===Tu)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");!function e(t){switch(r.call(n,t),t.type){case"Group":t.terms.forEach(e);break;case"Multiplier":case"Boolean":e(t.term);break;case"Type":case"Property":case"Keyword":case"AtKeyword":case"Function":case"String":case"Token":case"Comma":break;default:throw new Error("Unknown type: "+t.type)}o.call(n,t)}(e)}(l.syntax,function(l){if("Type"!==l.type&&"Property"!==l.type)return;const c="Type"===l.type?i.types:i.properties,u="Type"===l.type?r:o;hasOwnProperty.call(c,l.name)?t(i,l.name,u,c[l.name])&&(n.push(`${e(a,s===r)} used broken syntax definition ${e(l.name,"Type"===l.type)}`),s.set(a,!0)):(n.push(`${e(a,s===r)} used missed syntax definition ${e(l.name,"Type"===l.type)}`),s.set(a,!0))},this)}const n=[];let r=new Map,o=new Map;for(const s in this.types)t(this,s,r,this.types[s]);for(const s in this.properties)t(this,s,o,this.properties[s]);const i=[...r.keys()].filter(e=>r.get(e)),a=[...o.keys()].filter(e=>o.get(e));return i.length||a.length?{errors:n,types:i,properties:a}:null}dump(e,t){return{generic:this.generic,cssWideKeywords:this.cssWideKeywords,units:this.units,types:dp(this.types,!t,e),properties:dp(this.properties,!t,e),atrules:hp(this.atrules,!t,e)}}toString(){return JSON.stringify(this.dump())}}function bp(e,t){return"string"==typeof t&&/^\s*\|/.test(t)?"string"==typeof e?e+t:t.replace(/^\s*\|\s*/,""):t||null}function yp(e,t){const n=Object.create(null);for(const[r,o]of Object.entries(e))if(o){n[r]={};for(const e of Object.keys(o))t.includes(e)&&(n[r][e]=o[e])}return n}function kp(e,t){const n={...e};for(const[r,o]of Object.entries(t))switch(r){case"generic":n[r]=Boolean(o);break;case"cssWideKeywords":n[r]=e[r]?[...e[r],...o]:o||[];break;case"units":n[r]={...e[r]};for(const[e,t]of Object.entries(o))n[r][e]=Array.isArray(t)?t:[];break;case"atrules":n[r]={...e[r]};for(const[e,t]of Object.entries(o)){const o=n[r][e]||{},i=n[r][e]={prelude:o.prelude||null,descriptors:{...o.descriptors}};if(t){i.prelude=t.prelude?bp(i.prelude,t.prelude):i.prelude||null;for(const[e,n]of Object.entries(t.descriptors||{}))i.descriptors[e]=n?bp(i.descriptors[e],n):null;Object.keys(i.descriptors).length||(i.descriptors=null)}}break;case"types":case"properties":n[r]={...e[r]};for(const[e,t]of Object.entries(o))n[r][e]=bp(n[r][e],t);break;case"scope":case"features":n[r]={...e[r]};for(const[e,t]of Object.entries(o))n[r][e]={...n[r][e],...t};break;case"parseContext":n[r]={...e[r],...o};break;case"atrule":case"pseudo":n[r]={...e[r],...yp(o,["parse"])};break;case"node":n[r]={...e[r],...yp(o,["name","structure","parse","generate","walkContext"])}}return n}function wp(e){const t=Ql(e),n=Tc(e),r=zc(e),{fromPlainObject:o,toPlainObject:i}=function(e){return{fromPlainObject:t=>(e(t,{enter(e){e.children&&e.children instanceof Wl==0&&(e.children=(new Wl).fromArray(e.children))}}),t),toPlainObject:t=>(e(t,{leave(e){e.children&&e.children instanceof Wl&&(e.children=e.children.toArray())}}),t)}}(n),a={lexer:null,createLexer:e=>new gp(e,a,a.lexer.structure),tokenize:Ul,parse:t,generate:r,walk:n,find:n.find,findLast:n.findLast,findAll:n.findAll,fromPlainObject:o,toPlainObject:i,fork(t){const n=kp({},e);return wp("function"==typeof t?t(n):kp(n,t))}};return a.lexer=new gp({generic:e.generic,cssWideKeywords:e.cssWideKeywords,units:e.units,types:e.types,atrules:e.atrules,properties:e.properties,node:e.node},a),a}const vp=43,xp=45,$p=110,Sp=!0;function zp(e,t){let n=this.tokenStart+e;const r=this.charCodeAt(n);for(r!==vp&&r!==xp||(t&&this.error("Number sign is not allowed"),n++);n<this.tokenEnd;n++)al(this.charCodeAt(n))||this.error("Integer is expected",n)}function Cp(e){return zp.call(this,0,e)}function jp(e,t){if(!this.cmpChar(this.tokenStart+e,t)){let n="";switch(t){case $p:n="N is expected";break;case xp:n="HyphenMinus is expected"}this.error(n,this.tokenStart+e)}}function Ap(){let e=0,t=0,n=this.tokenType;for(;n===Ys||n===il;)n=this.lookupType(++e);if(n!==Vs){if(!this.isDelim(vp,e)&&!this.isDelim(xp,e))return null;t=this.isDelim(vp,e)?vp:xp;do{n=this.lookupType(++e)}while(n===Ys||n===il);n!==Vs&&(this.skip(e),Cp.call(this,Sp))}return e>0&&this.skip(e),0===t&&(n=this.charCodeAt(this.tokenStart),n!==vp&&n!==xp&&this.error("Number sign is expected")),Cp.call(this,0!==t),t===xp?"-"+this.consume(Vs):this.consume(Vs)}const Ep={a:[String,null],b:[String,null]};function Op(){const e=this.tokenStart;let t=null,n=null;if(this.tokenType===Vs)Cp.call(this,false),n=this.consume(Vs);else if(1===this.tokenType&&this.cmpChar(this.tokenStart,xp))switch(t="-1",jp.call(this,1,$p),this.tokenEnd-this.tokenStart){case 2:this.next(),n=Ap.call(this);break;case 3:jp.call(this,2,xp),this.next(),this.skipSC(),Cp.call(this,Sp),n="-"+this.consume(Vs);break;default:jp.call(this,2,xp),zp.call(this,3,Sp),this.next(),n=this.substrToCursor(e+2)}else if(1===this.tokenType||this.isDelim(vp)&&1===this.lookupType(1)){let r=0;switch(t="1",this.isDelim(vp)&&(r=1,this.next()),jp.call(this,0,$p),this.tokenEnd-this.tokenStart){case 1:this.next(),n=Ap.call(this);break;case 2:jp.call(this,1,xp),this.next(),this.skipSC(),Cp.call(this,Sp),n="-"+this.consume(Vs);break;default:jp.call(this,1,xp),zp.call(this,2,Sp),this.next(),n=this.substrToCursor(e+r+1)}}else if(this.tokenType===Xs){const r=this.charCodeAt(this.tokenStart),o=r===vp||r===xp;let i=this.tokenStart+o;for(;i<this.tokenEnd&&al(this.charCodeAt(i));i++);i===this.tokenStart+o&&this.error("Integer is expected",this.tokenStart+o),jp.call(this,i-this.tokenStart,$p),t=this.substring(e,i),i+1===this.tokenEnd?(this.next(),n=Ap.call(this)):(jp.call(this,i-this.tokenStart+1,xp),i+2===this.tokenEnd?(this.next(),this.skipSC(),Cp.call(this,Sp),n="-"+this.consume(Vs)):(zp.call(this,i-this.tokenStart+2,Sp),this.next(),n=this.substrToCursor(i+1)))}else this.error();return null!==t&&t.charCodeAt(0)===vp&&(t=t.substr(1)),null!==n&&n.charCodeAt(0)===vp&&(n=n.substr(1)),{type:"AnPlusB",loc:this.getLocation(e,this.tokenStart),a:t,b:n}}const _p=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){if(e.a){const t=("+1"===e.a||"1"===e.a?"n":"-1"===e.a&&"-n")||e.a+"n";if(e.b){const n="-"===e.b[0]||"+"===e.b[0]?e.b:"+"+e.b;this.tokenize(t+n)}else this.tokenize(t)}else this.tokenize(e.b)},name:"AnPlusB",parse:Op,structure:Ep},Symbol.toStringTag,{value:"Module"}));function Lp(){return this.Raw(this.consumeUntilLeftCurlyBracketOrSemicolon,!0)}function Tp(){for(let e,t=1;e=this.lookupType(t);t++){if(e===ol)return!0;if(e===rl||3===e)return!1}return!1}const Mp={name:String,prelude:["AtrulePrelude","Raw",null],block:["Block",null]};function Pp(e=!1){const t=this.tokenStart;let n,r,o=null,i=null;switch(this.eat(3),n=this.substrToCursor(t+1),r=n.toLowerCase(),this.skipSC(),!1===this.eof&&this.tokenType!==rl&&this.tokenType!==Zs&&(o=this.parseAtrulePrelude?this.parseWithFallback(this.AtrulePrelude.bind(this,n,e),Lp):Lp.call(this,this.tokenIndex),this.skipSC()),this.tokenType){case Zs:this.next();break;case rl:i=hasOwnProperty.call(this.atrule,r)&&"function"==typeof this.atrule[r].block?this.atrule[r].block.call(this,e):this.Block(Tp.call(this))}return{type:"Atrule",loc:this.getLocation(t,this.tokenStart),name:n,prelude:o,block:i}}const Bp=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(3,"@"+e.name),null!==e.prelude&&this.node(e.prelude),e.block?this.node(e.block):this.token(Zs,";")},name:"Atrule",parse:Pp,structure:Mp,walkContext:"atrule"},Symbol.toStringTag,{value:"Module"}));function Rp(e){let t=null;return null!==e&&(e=e.toLowerCase()),this.skipSC(),t=hasOwnProperty.call(this.atrule,e)&&"function"==typeof this.atrule[e].prelude?this.atrule[e].prelude.call(this):this.readSequence(this.scope.AtrulePrelude),this.skipSC(),!0!==this.eof&&this.tokenType!==rl&&this.tokenType!==Zs&&this.error("Semicolon or block is expected"),{type:"AtrulePrelude",loc:this.getLocationFromList(t),children:t}}const Fp=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.children(e)},name:"AtrulePrelude",parse:Rp,structure:{children:[[]]},walkContext:"atrulePrelude"},Symbol.toStringTag,{value:"Module"}));function Ip(){this.eof&&this.error("Unexpected end of input");const e=this.tokenStart;let t=!1;return this.isDelim(42)?(t=!0,this.next()):this.isDelim(124)||this.eat(1),this.isDelim(124)?61!==this.charCodeAt(this.tokenStart+1)?(this.next(),this.eat(1)):t&&this.error("Identifier is expected",this.tokenEnd):t&&this.error("Vertical line is expected"),{type:"Identifier",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function Np(){const e=this.tokenStart,t=this.charCodeAt(e);return 61!==t&&126!==t&&94!==t&&36!==t&&42!==t&&124!==t&&this.error("Attribute selector (=, ~=, ^=, $=, *=, |=) is expected"),this.next(),61!==t&&(this.isDelim(61)||this.error("Equal sign is expected"),this.next()),this.substrToCursor(e)}const Up={name:"Identifier",matcher:[String,null],value:["String","Identifier",null],flags:[String,null]};function Dp(){const e=this.tokenStart;let t,n=null,r=null,o=null;return this.eat(Js),this.skipSC(),t=Ip.call(this),this.skipSC(),this.tokenType!==el&&(1!==this.tokenType&&(n=Np.call(this),this.skipSC(),r=5===this.tokenType?this.String():this.Identifier(),this.skipSC()),1===this.tokenType&&(o=this.consume(1),this.skipSC())),this.eat(el),{type:"AttributeSelector",loc:this.getLocation(e,this.tokenStart),name:t,matcher:n,value:r,flags:o}}const Wp=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(9,"["),this.node(e.name),null!==e.matcher&&(this.tokenize(e.matcher),this.node(e.value)),null!==e.flags&&this.token(1,e.flags),this.token(9,"]")},name:"AttributeSelector",parse:Dp,structure:Up},Symbol.toStringTag,{value:"Module"}));function qp(){return this.Raw(null,!0)}function Vp(){return this.parseWithFallback(this.Rule,qp)}function Hp(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}function Xp(){if(this.tokenType===Zs)return Hp.call(this,this.tokenIndex);const e=this.parseWithFallback(this.Declaration,Hp);return this.tokenType===Zs&&this.next(),e}function Yp(e){const t=e?Xp:Vp,n=this.tokenStart;let r=this.createList();this.eat(rl);e:for(;!this.eof;)switch(this.tokenType){case ol:break e;case Ys:case il:this.next();break;case 3:r.push(this.parseWithFallback(this.Atrule.bind(this,e),qp));break;default:e&&this.isDelim(38)?r.push(Vp.call(this)):r.push(t.call(this))}return this.eof||this.eat(ol),{type:"Block",loc:this.getLocation(n,this.tokenStart),children:r}}const Gp=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(rl,"{"),this.children(e,e=>{"Declaration"===e.type&&this.token(Zs,";")}),this.token(ol,"}")},name:"Block",parse:Yp,structure:{children:[["Atrule","Rule","Declaration"]]},walkContext:"block"},Symbol.toStringTag,{value:"Module"}));function Kp(e,t){const n=this.tokenStart;let r=null;return this.eat(Js),r=e.call(this,t),this.eof||this.eat(el),{type:"Brackets",loc:this.getLocation(n,this.tokenStart),children:r}}const Zp=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(9,"["),this.children(e),this.token(9,"]")},name:"Brackets",parse:Kp,structure:{children:[[]]}},Symbol.toStringTag,{value:"Module"}));function Qp(){const e=this.tokenStart;return this.eat(Gs),{type:"CDC",loc:this.getLocation(e,this.tokenStart)}}const Jp=Object.freeze(Object.defineProperty({__proto__:null,generate:function(){this.token(Gs,"--\x3e")},name:"CDC",parse:Qp,structure:[]},Symbol.toStringTag,{value:"Module"}));function ed(){const e=this.tokenStart;return this.eat(14),{type:"CDO",loc:this.getLocation(e,this.tokenStart)}}const td=Object.freeze(Object.defineProperty({__proto__:null,generate:function(){this.token(14,"\x3c!--")},name:"CDO",parse:ed,structure:[]},Symbol.toStringTag,{value:"Module"})),nd={name:String};function rd(){return this.eatDelim(46),{type:"ClassSelector",loc:this.getLocation(this.tokenStart-1,this.tokenEnd),name:this.consume(1)}}const od=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(9,"."),this.token(1,e.name)},name:"ClassSelector",parse:rd,structure:nd},Symbol.toStringTag,{value:"Module"})),id={name:String};function ad(){const e=this.tokenStart;let t;switch(this.tokenType){case Ys:t=" ";break;case 9:switch(this.charCodeAt(this.tokenStart)){case 62:case 43:case 126:this.next();break;case 47:this.next(),this.eatIdent("deep"),this.eatDelim(47);break;default:this.error("Combinator is expected")}t=this.substrToCursor(e)}return{type:"Combinator",loc:this.getLocation(e,this.tokenStart),name:t}}const sd=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.tokenize(e.name)},name:"Combinator",parse:ad,structure:id},Symbol.toStringTag,{value:"Module"})),ld={value:String};function cd(){const e=this.tokenStart;let t=this.tokenEnd;return this.eat(il),t-e+2>=2&&42===this.charCodeAt(t-2)&&47===this.charCodeAt(t-1)&&(t-=2),{type:"Comment",loc:this.getLocation(e,this.tokenStart),value:this.substring(e+2,t)}}const ud=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(il,"/*"+e.value+"*/")},name:"Comment",parse:cd,structure:ld},Symbol.toStringTag,{value:"Module"})),pd=new Set([Ks,nl,0]),dd={kind:String,children:[["Identifier","Feature","FeatureFunction","FeatureRange","SupportsDeclaration"]]};function hd(e){return 1===this.lookupTypeNonSC(1)&&pd.has(this.lookupTypeNonSC(2))?this.Feature(e):this.FeatureRange(e)}const fd={media:hd,container:hd,supports(){return this.SupportsDeclaration()}};function md(e="media"){const t=this.createList();e:for(;!this.eof;)switch(this.tokenType){case il:case Ys:this.next();continue;case 1:t.push(this.Identifier());break;case tl:{let n=this.parseWithFallback(()=>fd[e].call(this,e),()=>null);n||(n=this.parseWithFallback(()=>{this.eat(tl);const t=this.Condition(e);return this.eat(nl),t},()=>this.GeneralEnclosed(e))),t.push(n);break}case 2:{let n=this.parseWithFallback(()=>this.FeatureFunction(e),()=>null);n||(n=this.GeneralEnclosed(e)),t.push(n);break}default:break e}return t.isEmpty&&this.error("Condition is expected"),{type:"Condition",loc:this.getLocationFromList(t),kind:e,children:t}}const gd=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){e.children.forEach(e=>{"Condition"===e.type?(this.token(tl,"("),this.node(e),this.token(nl,")")):this.node(e)})},name:"Condition",parse:md,structure:dd},Symbol.toStringTag,{value:"Module"}));function bd(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!0)}function yd(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!1)}function kd(){const e=this.tokenIndex,t=this.Value();return"Raw"!==t.type&&!1===this.eof&&this.tokenType!==Zs&&!1===this.isDelim(33)&&!1===this.isBalanceEdge(e)&&this.error(),t}const wd={important:[Boolean,String],property:String,value:["Value","Raw"]};function vd(){const e=this.tokenStart,t=this.tokenIndex,n=xd.call(this),r=Hc(n),o=r?this.parseCustomProperty:this.parseValue,i=r?yd:bd;let a,s=!1;this.skipSC(),this.eat(Ks);const l=this.tokenIndex;if(r||this.skipSC(),a=o?this.parseWithFallback(kd,i):i.call(this,this.tokenIndex),r&&"Value"===a.type&&a.children.isEmpty)for(let c=l-this.tokenIndex;c<=0;c++)if(this.lookupType(c)===Ys){a.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}return this.isDelim(33)&&(s=$d.call(this),this.skipSC()),!1===this.eof&&this.tokenType!==Zs&&!1===this.isBalanceEdge(t)&&this.error(),{type:"Declaration",loc:this.getLocation(e,this.tokenStart),important:s,property:n,value:a}}function xd(){const e=this.tokenStart;if(9===this.tokenType)switch(this.charCodeAt(this.tokenStart)){case 42:case 36:case 43:case 35:case 38:this.next();break;case 47:this.next(),this.isDelim(47)&&this.next()}return 4===this.tokenType?this.eat(4):this.eat(1),this.substrToCursor(e)}function $d(){this.eat(9),this.skipSC();const e=this.consume(1);return"important"===e||e}const Sd=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(1,e.property),this.token(Ks,":"),this.node(e.value),e.important&&(this.token(9,"!"),this.token(1,!0===e.important?"important":e.important))},name:"Declaration",parse:vd,structure:wd,walkContext:"declaration"},Symbol.toStringTag,{value:"Module"}));function zd(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}function Cd(){const e=this.createList();for(;!this.eof;)switch(this.tokenType){case Ys:case il:case Zs:this.next();break;case 3:e.push(this.parseWithFallback(this.Atrule.bind(this,!0),zd));break;default:this.isDelim(38)?e.push(this.parseWithFallback(this.Rule,zd)):e.push(this.parseWithFallback(this.Declaration,zd))}return{type:"DeclarationList",loc:this.getLocationFromList(e),children:e}}const jd=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.children(e,e=>{"Declaration"===e.type&&this.token(Zs,";")})},name:"DeclarationList",parse:Cd,structure:{children:[["Declaration","Atrule","Rule"]]}},Symbol.toStringTag,{value:"Module"})),Ad={value:String,unit:String};function Ed(){const e=this.tokenStart,t=this.consumeNumber(Xs);return{type:"Dimension",loc:this.getLocation(e,this.tokenStart),value:t,unit:this.substring(e+t.length,this.tokenStart)}}const Od=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(Xs,e.value+e.unit)},name:"Dimension",parse:Ed,structure:Ad},Symbol.toStringTag,{value:"Module"})),_d={kind:String,name:String,value:["Identifier","Number","Dimension","Ratio","Function",null]};function Ld(e){const t=this.tokenStart;let n,r=null;if(this.eat(tl),this.skipSC(),n=this.consume(1),this.skipSC(),this.tokenType!==nl){switch(this.eat(Ks),this.skipSC(),this.tokenType){case Vs:r=9===this.lookupNonWSType(1)?this.Ratio():this.Number();break;case Xs:r=this.Dimension();break;case 1:r=this.Identifier();break;case 2:r=this.parseWithFallback(()=>{const e=this.Function(this.readSequence,this.scope.Value);return this.skipSC(),this.isDelim(47)&&this.error(),e},()=>this.Ratio());break;default:this.error("Number, dimension, ratio or identifier is expected")}this.skipSC()}return this.eof||this.eat(nl),{type:"Feature",loc:this.getLocation(t,this.tokenStart),kind:e,name:n,value:r}}const Td=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(tl,"("),this.token(1,e.name),null!==e.value&&(this.token(Ks,":"),this.node(e.value)),this.token(nl,")")},name:"Feature",parse:Ld,structure:_d},Symbol.toStringTag,{value:"Module"})),Md={kind:String,feature:String,value:["Declaration","Selector"]};function Pd(e,t){const n=(this.features[e]||{})[t];return"function"!=typeof n&&this.error(`Unknown feature ${t}()`),n}function Bd(e="unknown"){const t=this.tokenStart,n=this.consumeFunctionName(),r=Pd.call(this,e,n.toLowerCase());this.skipSC();const o=this.parseWithFallback(()=>{const e=this.tokenIndex,t=r.call(this);return!1===this.eof&&!1===this.isBalanceEdge(e)&&this.error(),t},()=>this.Raw(null,!1));return this.eof||this.eat(nl),{type:"FeatureFunction",loc:this.getLocation(t,this.tokenStart),kind:e,feature:n,value:o}}const Rd=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(2,e.feature+"("),this.node(e.value),this.token(nl,")")},name:"FeatureFunction",parse:Bd,structure:Md},Symbol.toStringTag,{value:"Module"})),Fd={kind:String,left:["Identifier","Number","Dimension","Ratio","Function"],leftComparison:String,middle:["Identifier","Number","Dimension","Ratio","Function"],rightComparison:[String,null],right:["Identifier","Number","Dimension","Ratio","Function",null]};function Id(){switch(this.skipSC(),this.tokenType){case Vs:return this.isDelim(47,this.lookupOffsetNonSC(1))?this.Ratio():this.Number();case Xs:return this.Dimension();case 1:return this.Identifier();case 2:return this.parseWithFallback(()=>{const e=this.Function(this.readSequence,this.scope.Value);return this.skipSC(),this.isDelim(47)&&this.error(),e},()=>this.Ratio());default:this.error("Number, dimension, ratio or identifier is expected")}}function Nd(e){if(this.skipSC(),this.isDelim(60)||this.isDelim(62)){const e=this.source[this.tokenStart];return this.next(),this.isDelim(61)?(this.next(),e+"="):e}if(this.isDelim(61))return"=";this.error(`Expected ${e?'":", ':""}"<", ">", "=" or ")"`)}function Ud(e="unknown"){const t=this.tokenStart;this.skipSC(),this.eat(tl);const n=Id.call(this),r=Nd.call(this,"Identifier"===n.type),o=Id.call(this);let i=null,a=null;return this.lookupNonWSType(0)!==nl&&(i=Nd.call(this),a=Id.call(this)),this.skipSC(),this.eat(nl),{type:"FeatureRange",loc:this.getLocation(t,this.tokenStart),kind:e,left:n,leftComparison:r,middle:o,rightComparison:i,right:a}}const Dd=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(tl,"("),this.node(e.left),this.tokenize(e.leftComparison),this.node(e.middle),e.right&&(this.tokenize(e.rightComparison),this.node(e.right)),this.token(nl,")")},name:"FeatureRange",parse:Ud,structure:Fd},Symbol.toStringTag,{value:"Module"})),Wd={name:String,children:[[]]};function qd(e,t){const n=this.tokenStart,r=this.consumeFunctionName(),o=r.toLowerCase();let i;return i=t.hasOwnProperty(o)?t[o].call(this,t):e.call(this,t),this.eof||this.eat(nl),{type:"Function",loc:this.getLocation(n,this.tokenStart),name:r,children:i}}const Vd=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(2,e.name+"("),this.children(e),this.token(nl,")")},name:"Function",parse:qd,structure:Wd,walkContext:"function"},Symbol.toStringTag,{value:"Module"})),Hd={kind:String,function:[String,null],children:[[]]};function Xd(e){const t=this.tokenStart;let n=null;2===this.tokenType?n=this.consumeFunctionName():this.eat(tl);const r=this.parseWithFallback(()=>{const e=this.tokenIndex,t=this.readSequence(this.scope.Value);return!1===this.eof&&!1===this.isBalanceEdge(e)&&this.error(),t},()=>this.createSingleNodeList(this.Raw(null,!1)));return this.eof||this.eat(nl),{type:"GeneralEnclosed",loc:this.getLocation(t,this.tokenStart),kind:e,function:n,children:r}}const Yd=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){e.function?this.token(2,e.function+"("):this.token(tl,"("),this.children(e),this.token(nl,")")},name:"GeneralEnclosed",parse:Xd,structure:Hd},Symbol.toStringTag,{value:"Module"})),Gd={value:String};function Kd(){const e=this.tokenStart;return this.eat(4),{type:"Hash",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e+1)}}const Zd=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(4,"#"+e.value)},name:"Hash",parse:Kd,structure:Gd,xxx:"XXX"},Symbol.toStringTag,{value:"Module"})),Qd={name:String};function Jd(){return{type:"Identifier",loc:this.getLocation(this.tokenStart,this.tokenEnd),name:this.consume(1)}}const eh=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(1,e.name)},name:"Identifier",parse:Jd,structure:Qd},Symbol.toStringTag,{value:"Module"})),th={name:String};function nh(){const e=this.tokenStart;return this.eat(4),{type:"IdSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e+1)}}const rh=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(9,"#"+e.name)},name:"IdSelector",parse:nh,structure:th},Symbol.toStringTag,{value:"Module"})),oh={name:String};function ih(){let e=this.tokenStart,t=this.consume(1);for(;this.isDelim(46);)this.eat(9),t+="."+this.consume(1);return{type:"Layer",loc:this.getLocation(e,this.tokenStart),name:t}}const ah=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.tokenize(e.name)},name:"Layer",parse:ih,structure:oh},Symbol.toStringTag,{value:"Module"}));function sh(){const e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.Layer()),this.lookupTypeNonSC(0)===Qs);)this.skipSC(),this.next(),this.skipSC();return{type:"LayerList",loc:this.getLocationFromList(e),children:e}}const lh=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.children(e,()=>this.token(Qs,","))},name:"LayerList",parse:sh,structure:{children:[["Layer"]]}},Symbol.toStringTag,{value:"Module"})),ch={modifier:[String,null],mediaType:[String,null],condition:["Condition",null]};function uh(){const e=this.tokenStart;let t=null,n=null,r=null;if(this.skipSC(),1===this.tokenType&&this.lookupTypeNonSC(1)!==tl){const e=this.consume(1),o=e.toLowerCase();switch("not"===o||"only"===o?(this.skipSC(),t=o,n=this.consume(1)):n=e,this.lookupTypeNonSC(0)){case 1:this.skipSC(),this.eatIdent("and"),r=this.Condition("media");break;case rl:case Zs:case Qs:case 0:break;default:this.error("Identifier or parenthesis is expected")}}else switch(this.tokenType){case 1:case tl:case 2:r=this.Condition("media");break;case rl:case Zs:case 0:break;default:this.error("Identifier or parenthesis is expected")}return{type:"MediaQuery",loc:this.getLocation(e,this.tokenStart),modifier:t,mediaType:n,condition:r}}const ph=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){e.mediaType?(e.modifier&&this.token(1,e.modifier),this.token(1,e.mediaType),e.condition&&(this.token(1,"and"),this.node(e.condition))):e.condition&&this.node(e.condition)},name:"MediaQuery",parse:uh,structure:ch},Symbol.toStringTag,{value:"Module"}));function dh(){const e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.MediaQuery()),this.tokenType===Qs);)this.next();return{type:"MediaQueryList",loc:this.getLocationFromList(e),children:e}}const hh=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.children(e,()=>this.token(Qs,","))},name:"MediaQueryList",parse:dh,structure:{children:[["MediaQuery"]]}},Symbol.toStringTag,{value:"Module"}));function fh(){const e=this.tokenStart;return this.eatDelim(38),{type:"NestingSelector",loc:this.getLocation(e,this.tokenStart)}}const mh=Object.freeze(Object.defineProperty({__proto__:null,generate:function(){this.token(9,"&")},name:"NestingSelector",parse:fh,structure:{}},Symbol.toStringTag,{value:"Module"}));function gh(){this.skipSC();const e=this.tokenStart;let t,n=e,r=null;return t=this.lookupValue(0,"odd")||this.lookupValue(0,"even")?this.Identifier():this.AnPlusB(),n=this.tokenStart,this.skipSC(),this.lookupValue(0,"of")&&(this.next(),r=this.SelectorList(),n=this.tokenStart),{type:"Nth",loc:this.getLocation(e,n),nth:t,selector:r}}const bh=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.node(e.nth),null!==e.selector&&(this.token(1,"of"),this.node(e.selector))},name:"Nth",parse:gh,structure:{nth:["AnPlusB","Identifier"],selector:["SelectorList",null]}},Symbol.toStringTag,{value:"Module"})),yh={value:String};function kh(){return{type:"Number",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consume(Vs)}}const wh=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(Vs,e.value)},name:"Number",parse:kh,structure:yh},Symbol.toStringTag,{value:"Module"})),vh={value:String};function xh(){const e=this.tokenStart;return this.next(),{type:"Operator",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}const $h=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.tokenize(e.value)},name:"Operator",parse:xh,structure:vh},Symbol.toStringTag,{value:"Module"}));function Sh(e,t){const n=this.tokenStart;let r=null;return this.eat(tl),r=e.call(this,t),this.eof||this.eat(nl),{type:"Parentheses",loc:this.getLocation(n,this.tokenStart),children:r}}const zh=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(tl,"("),this.children(e),this.token(nl,")")},name:"Parentheses",parse:Sh,structure:{children:[[]]}},Symbol.toStringTag,{value:"Module"})),Ch={value:String};function jh(){return{type:"Percentage",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consumeNumber(Hs)}}const Ah=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(Hs,e.value+"%")},name:"Percentage",parse:jh,structure:Ch},Symbol.toStringTag,{value:"Module"})),Eh={name:String,children:[["Raw"],null]};function Oh(){const e=this.tokenStart;let t,n,r=null;return this.eat(Ks),2===this.tokenType?(t=this.consumeFunctionName(),n=t.toLowerCase(),this.lookupNonWSType(0)==nl?r=this.createList():hasOwnProperty.call(this.pseudo,n)?(this.skipSC(),r=this.pseudo[n].call(this),this.skipSC()):(r=this.createList(),r.push(this.Raw(null,!1))),this.eat(nl)):t=this.consume(1),{type:"PseudoClassSelector",loc:this.getLocation(e,this.tokenStart),name:t,children:r}}const _h=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(Ks,":"),null===e.children?this.token(1,e.name):(this.token(2,e.name+"("),this.children(e),this.token(nl,")"))},name:"PseudoClassSelector",parse:Oh,structure:Eh,walkContext:"function"},Symbol.toStringTag,{value:"Module"})),Lh={name:String,children:[["Raw"],null]};function Th(){const e=this.tokenStart;let t,n,r=null;return this.eat(Ks),this.eat(Ks),2===this.tokenType?(t=this.consumeFunctionName(),n=t.toLowerCase(),this.lookupNonWSType(0)==nl?r=this.createList():hasOwnProperty.call(this.pseudo,n)?(this.skipSC(),r=this.pseudo[n].call(this),this.skipSC()):(r=this.createList(),r.push(this.Raw(null,!1))),this.eat(nl)):t=this.consume(1),{type:"PseudoElementSelector",loc:this.getLocation(e,this.tokenStart),name:t,children:r}}const Mh=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(Ks,":"),this.token(Ks,":"),null===e.children?this.token(1,e.name):(this.token(2,e.name+"("),this.children(e),this.token(nl,")"))},name:"PseudoElementSelector",parse:Th,structure:Lh,walkContext:"function"},Symbol.toStringTag,{value:"Module"}));function Ph(){switch(this.skipSC(),this.tokenType){case Vs:return this.Number();case 2:return this.Function(this.readSequence,this.scope.Value);default:this.error("Number of function is expected")}}function Bh(){const e=this.tokenStart,t=Ph.call(this);let n=null;return this.skipSC(),this.isDelim(47)&&(this.eatDelim(47),n=Ph.call(this)),{type:"Ratio",loc:this.getLocation(e,this.tokenStart),left:t,right:n}}const Rh=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.node(e.left),this.token(9,"/"),e.right?this.node(e.right):this.node(Vs,1)},name:"Ratio",parse:Bh,structure:{left:["Number","Function"],right:["Number","Function",null]}},Symbol.toStringTag,{value:"Module"}));function Fh(){return this.tokenIndex>0&&this.lookupType(-1)===Ys?this.tokenIndex>1?this.getTokenStart(this.tokenIndex-1):this.firstCharOffset:this.tokenStart}const Ih={value:String};function Nh(e,t){const n=this.getTokenStart(this.tokenIndex);let r;return this.skipUntilBalanced(this.tokenIndex,e||this.consumeUntilBalanceEnd),r=t&&this.tokenStart>n?Fh.call(this):this.tokenStart,{type:"Raw",loc:this.getLocation(n,r),value:this.substring(n,r)}}const Uh=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.tokenize(e.value)},name:"Raw",parse:Nh,structure:Ih},Symbol.toStringTag,{value:"Module"}));function Dh(){return this.Raw(this.consumeUntilLeftCurlyBracket,!0)}function Wh(){const e=this.SelectorList();return"Raw"!==e.type&&!1===this.eof&&this.tokenType!==rl&&this.error(),e}function qh(){const e=this.tokenIndex,t=this.tokenStart;let n,r;return n=this.parseRulePrelude?this.parseWithFallback(Wh,Dh):Dh.call(this,e),r=this.Block(!0),{type:"Rule",loc:this.getLocation(t,this.tokenStart),prelude:n,block:r}}const Vh=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.node(e.prelude),this.node(e.block)},name:"Rule",parse:qh,structure:{prelude:["SelectorList","Raw"],block:["Block"]},walkContext:"rule"},Symbol.toStringTag,{value:"Module"}));function Hh(){let e=null,t=null;this.skipSC();const n=this.tokenStart;return this.tokenType===tl&&(this.next(),this.skipSC(),e=this.parseWithFallback(this.SelectorList,()=>this.Raw(!1,!0)),this.skipSC(),this.eat(nl)),1===this.lookupNonWSType(0)&&(this.skipSC(),this.eatIdent("to"),this.skipSC(),this.eat(tl),this.skipSC(),t=this.parseWithFallback(this.SelectorList,()=>this.Raw(!1,!0)),this.skipSC(),this.eat(nl)),{type:"Scope",loc:this.getLocation(n,this.tokenStart),root:e,limit:t}}const Xh=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){e.root&&(this.token(tl,"("),this.node(e.root),this.token(nl,")")),e.limit&&(this.token(1,"to"),this.token(tl,"("),this.node(e.limit),this.token(nl,")"))},name:"Scope",parse:Hh,structure:{root:["SelectorList","Raw",null],limit:["SelectorList","Raw",null]}},Symbol.toStringTag,{value:"Module"}));function Yh(){const e=this.readSequence(this.scope.Selector);return null===this.getFirstListNode(e)&&this.error("Selector is expected"),{type:"Selector",loc:this.getLocationFromList(e),children:e}}const Gh=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.children(e)},name:"Selector",parse:Yh,structure:{children:[["TypeSelector","IdSelector","ClassSelector","AttributeSelector","PseudoClassSelector","PseudoElementSelector","Combinator"]]}},Symbol.toStringTag,{value:"Module"}));function Kh(){const e=this.createList();for(;!this.eof&&(e.push(this.Selector()),this.tokenType===Qs);)this.next();return{type:"SelectorList",loc:this.getLocationFromList(e),children:e}}const Zh=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.children(e,()=>this.token(Qs,","))},name:"SelectorList",parse:Kh,structure:{children:[["Selector","Raw"]]},walkContext:"selector"},Symbol.toStringTag,{value:"Module"}));function Qh(e){const t=e.length,n=e.charCodeAt(0),r=34===n||39===n?1:0,o=1===r&&t>1&&e.charCodeAt(t-1)===n?t-2:t-1;let i="";for(let a=r;a<=o;a++){let n=e.charCodeAt(a);if(92===n){if(a===o){a!==t-1&&(i=e.substr(a+1));break}if(n=e.charCodeAt(++a),fl(92,n)){const t=a-1,n=jl(e,t);a=n-1,i+=_l(e.substring(t+1,n))}else 13===n&&10===e.charCodeAt(a+1)&&a++}else i+=e[a]}return i}const Jh={value:String};function ef(){return{type:"String",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:Qh(this.consume(5))}}const tf=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(5,function(e){let t="",n=!1;for(let r=0;r<e.length;r++){const o=e.charCodeAt(r);0!==o?o<=31||127===o?(t+="\\"+o.toString(16),n=!0):34===o||92===o?(t+="\\"+e.charAt(r),n=!1):(n&&(sl(o)||hl(o))&&(t+=" "),t+=e.charAt(r),n=!1):t+="�"}return'"'+t+'"'}(e.value))},name:"String",parse:ef,structure:Jh},Symbol.toStringTag,{value:"Module"}));function nf(){return this.Raw(null,!1)}function rf(){const e=this.tokenStart,t=this.createList();let n;for(;!this.eof;){switch(this.tokenType){case Ys:this.next();continue;case il:if(33!==this.charCodeAt(this.tokenStart+2)){this.next();continue}n=this.Comment();break;case 14:n=this.CDO();break;case Gs:n=this.CDC();break;case 3:n=this.parseWithFallback(this.Atrule,nf);break;default:n=this.parseWithFallback(this.Rule,nf)}t.push(n)}return{type:"StyleSheet",loc:this.getLocation(e,this.tokenStart),children:t}}const of=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.children(e)},name:"StyleSheet",parse:rf,structure:{children:[["Comment","CDO","CDC","Atrule","Rule","Raw"]]},walkContext:"stylesheet"},Symbol.toStringTag,{value:"Module"}));function af(){const e=this.tokenStart;this.eat(tl),this.skipSC();const t=this.Declaration();return this.eof||this.eat(nl),{type:"SupportsDeclaration",loc:this.getLocation(e,this.tokenStart),declaration:t}}const sf=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(tl,"("),this.node(e.declaration),this.token(nl,")")},name:"SupportsDeclaration",parse:af,structure:{declaration:"Declaration"}},Symbol.toStringTag,{value:"Module"}));function lf(){1!==this.tokenType&&!1===this.isDelim(42)&&this.error("Identifier or asterisk is expected"),this.next()}const cf={name:String};function uf(){const e=this.tokenStart;return this.isDelim(124)?(this.next(),lf.call(this)):(lf.call(this),this.isDelim(124)&&(this.next(),lf.call(this))),{type:"TypeSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}const pf=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.tokenize(e.name)},name:"TypeSelector",parse:uf,structure:cf},Symbol.toStringTag,{value:"Module"}));function df(e,t){let n=0;for(let r=this.tokenStart+e;r<this.tokenEnd;r++){const o=this.charCodeAt(r);if(45===o&&t&&0!==n)return df.call(this,e+n+1,!1),-1;sl(o)||this.error(t&&0!==n?"Hyphen minus"+(n<6?" or hex digit":"")+" is expected":n<6?"Hex digit is expected":"Unexpected input",r),++n>6&&this.error("Too many hex digits",r)}return this.next(),n}function hf(e){let t=0;for(;this.isDelim(63);)++t>e&&this.error("Too many question marks"),this.next()}function ff(e){this.charCodeAt(this.tokenStart)!==e&&this.error((43===e?"Plus sign":"Hyphen minus")+" is expected")}function mf(){let e=0;switch(this.tokenType){case Vs:if(e=df.call(this,1,!0),this.isDelim(63)){hf.call(this,6-e);break}if(this.tokenType===Xs||this.tokenType===Vs){ff.call(this,45),df.call(this,1,!1);break}break;case Xs:e=df.call(this,1,!0),e>0&&hf.call(this,6-e);break;default:if(this.eatDelim(43),1===this.tokenType){e=df.call(this,0,!0),e>0&&hf.call(this,6-e);break}if(this.isDelim(63)){this.next(),hf.call(this,5);break}this.error("Hex digit or question mark is expected")}}const gf={value:String};function bf(){const e=this.tokenStart;return this.eatIdent("u"),mf.call(this),{type:"UnicodeRange",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}const yf=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.tokenize(e.value)},name:"UnicodeRange",parse:bf,structure:gf},Symbol.toStringTag,{value:"Module"}));const kf={value:String};function wf(){const e=this.tokenStart;let t;switch(this.tokenType){case 7:t=function(e){const t=e.length;let n=4,r=41===e.charCodeAt(t-1)?t-2:t-1,o="";for(;n<r&&hl(e.charCodeAt(n));)n++;for(;n<r&&hl(e.charCodeAt(r));)r--;for(let i=n;i<=r;i++){let n=e.charCodeAt(i);if(92===n){if(i===r){i!==t-1&&(o=e.substr(i+1));break}if(n=e.charCodeAt(++i),fl(92,n)){const t=i-1,n=jl(e,t);i=n-1,o+=_l(e.substring(t+1,n))}else 13===n&&10===e.charCodeAt(i+1)&&i++}else o+=e[i]}return o}(this.consume(7));break;case 2:this.cmpStr(this.tokenStart,this.tokenEnd,"url(")||this.error("Function name must be `url`"),this.eat(2),this.skipSC(),t=Qh(this.consume(5)),this.skipSC(),this.eof||this.eat(nl);break;default:this.error("Url or Function is expected")}return{type:"Url",loc:this.getLocation(e,this.tokenStart),value:t}}const vf=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(7,function(e){let t="",n=!1;for(let r=0;r<e.length;r++){const o=e.charCodeAt(r);0!==o?o<=31||127===o?(t+="\\"+o.toString(16),n=!0):32===o||92===o||34===o||39===o||40===o||41===o?(t+="\\"+e.charAt(r),n=!1):(n&&sl(o)&&(t+=" "),t+=e.charAt(r),n=!1):t+="�"}return"url("+t+")"}(e.value))},name:"Url",parse:wf,structure:kf},Symbol.toStringTag,{value:"Module"}));function xf(){const e=this.tokenStart,t=this.readSequence(this.scope.Value);return{type:"Value",loc:this.getLocation(e,this.tokenStart),children:t}}const $f=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.children(e)},name:"Value",parse:xf,structure:{children:[[]]}},Symbol.toStringTag,{value:"Module"})),Sf=Object.freeze({type:"WhiteSpace",loc:null,value:" "}),zf={value:String};function Cf(){return this.eat(Ys),Sf}const jf=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(Ys,e.value)},name:"WhiteSpace",parse:Cf,structure:zf},Symbol.toStringTag,{value:"Module"})),Af=Object.freeze(Object.defineProperty({__proto__:null,AnPlusB:_p,Atrule:Bp,AtrulePrelude:Fp,AttributeSelector:Wp,Block:Gp,Brackets:Zp,CDC:Jp,CDO:td,ClassSelector:od,Combinator:sd,Comment:ud,Condition:gd,Declaration:Sd,DeclarationList:jd,Dimension:Od,Feature:Td,FeatureFunction:Rd,FeatureRange:Dd,Function:Vd,GeneralEnclosed:Yd,Hash:Zd,IdSelector:rh,Identifier:eh,Layer:ah,LayerList:lh,MediaQuery:ph,MediaQueryList:hh,NestingSelector:mh,Nth:bh,Number:wh,Operator:$h,Parentheses:zh,Percentage:Ah,PseudoClassSelector:_h,PseudoElementSelector:Mh,Ratio:Rh,Raw:Uh,Rule:Vh,Scope:Xh,Selector:Gh,SelectorList:Zh,String:tf,StyleSheet:of,SupportsDeclaration:sf,TypeSelector:pf,UnicodeRange:yf,Url:vf,Value:$f,WhiteSpace:jf},Symbol.toStringTag,{value:"Module"})),Ef={generic:!0,cssWideKeywords:Yc,generic:!0,cssWideKeywords:["initial","inherit","unset","revert","revert-layer"],units:{angle:["deg","grad","rad","turn"],decibel:["db"],flex:["fr"],frequency:["hz","khz"],length:["cm","mm","q","in","pt","pc","px","em","rem","ex","rex","cap","rcap","ch","rch","ic","ric","lh","rlh","vw","svw","lvw","dvw","vh","svh","lvh","dvh","vi","svi","lvi","dvi","vb","svb","lvb","dvb","vmin","svmin","lvmin","dvmin","vmax","svmax","lvmax","dvmax","cqw","cqh","cqi","cqb","cqmin","cqmax"],resolution:["dpi","dpcm","dppx","x"],semitones:["st"],time:["s","ms"]},types:{"abs()":"abs( <calc-sum> )","absolute-size":"xx-small|x-small|small|medium|large|x-large|xx-large|xxx-large","acos()":"acos( <calc-sum> )","alpha-value":"<number>|<percentage>","angle-percentage":"<angle>|<percentage>","angular-color-hint":"<angle-percentage>","angular-color-stop":"<color>&&<color-stop-angle>?","angular-color-stop-list":"[<angular-color-stop> [, <angular-color-hint>]?]# , <angular-color-stop>","animateable-feature":"scroll-position|contents|<custom-ident>","asin()":"asin( <calc-sum> )","atan()":"atan( <calc-sum> )","atan2()":"atan2( <calc-sum> , <calc-sum> )",attachment:"scroll|fixed|local","attr()":"attr( <attr-name> <type-or-unit>? [, <attr-fallback>]? )","attr-matcher":"['~'|'|'|'^'|'$'|'*']? '='","attr-modifier":"i|s","attribute-selector":"'[' <wq-name> ']'|'[' <wq-name> <attr-matcher> [<string-token>|<ident-token>] <attr-modifier>? ']'","auto-repeat":"repeat( [auto-fill|auto-fit] , [<line-names>? <fixed-size>]+ <line-names>? )","auto-track-list":"[<line-names>? [<fixed-size>|<fixed-repeat>]]* <line-names>? <auto-repeat> [<line-names>? [<fixed-size>|<fixed-repeat>]]* <line-names>?",axis:"block|inline|x|y","baseline-position":"[first|last]? baseline","basic-shape":"<inset()>|<xywh()>|<rect()>|<circle()>|<ellipse()>|<polygon()>|<path()>","bg-image":"none|<image>","bg-layer":"<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<box>||<box>","bg-position":"[[left|center|right|top|bottom|<length-percentage>]|[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]|[center|[left|right] <length-percentage>?]&&[center|[top|bottom] <length-percentage>?]]","bg-size":"[<length-percentage>|auto]{1,2}|cover|contain","blur()":"blur( <length> )","blend-mode":"normal|multiply|screen|overlay|darken|lighten|color-dodge|color-burn|hard-light|soft-light|difference|exclusion|hue|saturation|color|luminosity",box:"border-box|padding-box|content-box","brightness()":"brightness( <number-percentage> )","calc()":"calc( <calc-sum> )","calc-sum":"<calc-product> [['+'|'-'] <calc-product>]*","calc-product":"<calc-value> ['*' <calc-value>|'/' <number>]*","calc-value":"<number>|<dimension>|<percentage>|<calc-constant>|( <calc-sum> )","calc-constant":"e|pi|infinity|-infinity|NaN","cf-final-image":"<image>|<color>","cf-mixing-image":"<percentage>?&&<image>","circle()":"circle( [<shape-radius>]? [at <position>]? )","clamp()":"clamp( <calc-sum>#{3} )","class-selector":"'.' <ident-token>","clip-source":"<url>",color:"<color-base>|currentColor|<system-color>|<device-cmyk()>|<light-dark()>|<-non-standard-color>","color-stop":"<color-stop-length>|<color-stop-angle>","color-stop-angle":"<angle-percentage>{1,2}","color-stop-length":"<length-percentage>{1,2}","color-stop-list":"[<linear-color-stop> [, <linear-color-hint>]?]# , <linear-color-stop>","color-interpolation-method":"in [<rectangular-color-space>|<polar-color-space> <hue-interpolation-method>?|<custom-color-space>]",combinator:"'>'|'+'|'~'|['|' '|']","common-lig-values":"[common-ligatures|no-common-ligatures]","compat-auto":"searchfield|textarea|push-button|slider-horizontal|checkbox|radio|square-button|menulist|listbox|meter|progress-bar|button","composite-style":"clear|copy|source-over|source-in|source-out|source-atop|destination-over|destination-in|destination-out|destination-atop|xor","compositing-operator":"add|subtract|intersect|exclude","compound-selector":"[<type-selector>? <subclass-selector>*]!","compound-selector-list":"<compound-selector>#","complex-selector":"<complex-selector-unit> [<combinator>? <complex-selector-unit>]*","complex-selector-list":"<complex-selector>#","conic-gradient()":"conic-gradient( [from <angle>]? [at <position>]? , <angular-color-stop-list> )","contextual-alt-values":"[contextual|no-contextual]","content-distribution":"space-between|space-around|space-evenly|stretch","content-list":"[<string>|contents|<image>|<counter>|<quote>|<target>|<leader()>|<attr()>]+","content-position":"center|start|end|flex-start|flex-end","content-replacement":"<image>","contrast()":"contrast( [<number-percentage>] )","cos()":"cos( <calc-sum> )",counter:"<counter()>|<counters()>","counter()":"counter( <counter-name> , <counter-style>? )","counter-name":"<custom-ident>","counter-style":"<counter-style-name>|symbols( )","counter-style-name":"<custom-ident>","counters()":"counters( <counter-name> , <string> , <counter-style>? )","cross-fade()":"cross-fade( <cf-mixing-image> , <cf-final-image>? )","cubic-bezier-timing-function":"ease|ease-in|ease-out|ease-in-out|cubic-bezier( <number [0,1]> , <number> , <number [0,1]> , <number> )","deprecated-system-color":"ActiveBorder|ActiveCaption|AppWorkspace|Background|ButtonFace|ButtonHighlight|ButtonShadow|ButtonText|CaptionText|GrayText|Highlight|HighlightText|InactiveBorder|InactiveCaption|InactiveCaptionText|InfoBackground|InfoText|Menu|MenuText|Scrollbar|ThreeDDarkShadow|ThreeDFace|ThreeDHighlight|ThreeDLightShadow|ThreeDShadow|Window|WindowFrame|WindowText","discretionary-lig-values":"[discretionary-ligatures|no-discretionary-ligatures]","display-box":"contents|none","display-inside":"flow|flow-root|table|flex|grid|ruby","display-internal":"table-row-group|table-header-group|table-footer-group|table-row|table-cell|table-column-group|table-column|table-caption|ruby-base|ruby-text|ruby-base-container|ruby-text-container","display-legacy":"inline-block|inline-list-item|inline-table|inline-flex|inline-grid","display-listitem":"<display-outside>?&&[flow|flow-root]?&&list-item","display-outside":"block|inline|run-in","drop-shadow()":"drop-shadow( <length>{2,3} <color>? )","east-asian-variant-values":"[jis78|jis83|jis90|jis04|simplified|traditional]","east-asian-width-values":"[full-width|proportional-width]","element()":"element( <custom-ident> , [first|start|last|first-except]? )|element( <id-selector> )","ellipse()":"ellipse( [<shape-radius>{2}]? [at <position>]? )","ending-shape":"circle|ellipse","env()":"env( <custom-ident> , <declaration-value>? )","exp()":"exp( <calc-sum> )","explicit-track-list":"[<line-names>? <track-size>]+ <line-names>?","family-name":"<string>|<custom-ident>+","feature-tag-value":"<string> [<integer>|on|off]?","feature-type":"@stylistic|@historical-forms|@styleset|@character-variant|@swash|@ornaments|@annotation","feature-value-block":"<feature-type> '{' <feature-value-declaration-list> '}'","feature-value-block-list":"<feature-value-block>+","feature-value-declaration":"<custom-ident> : <integer>+ ;","feature-value-declaration-list":"<feature-value-declaration>","feature-value-name":"<custom-ident>","fill-rule":"nonzero|evenodd","filter-function":"<blur()>|<brightness()>|<contrast()>|<drop-shadow()>|<grayscale()>|<hue-rotate()>|<invert()>|<opacity()>|<saturate()>|<sepia()>","filter-function-list":"[<filter-function>|<url>]+","final-bg-layer":"<'background-color'>||<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<box>||<box>","fixed-breadth":"<length-percentage>","fixed-repeat":"repeat( [<integer [1,∞]>] , [<line-names>? <fixed-size>]+ <line-names>? )","fixed-size":"<fixed-breadth>|minmax( <fixed-breadth> , <track-breadth> )|minmax( <inflexible-breadth> , <fixed-breadth> )","font-stretch-absolute":"normal|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded|<percentage>","font-variant-css21":"[normal|small-caps]","font-weight-absolute":"normal|bold|<number [1,1000]>","frequency-percentage":"<frequency>|<percentage>","general-enclosed":"[<function-token> <any-value>? )]|[( <any-value>? )]","generic-family":"<generic-script-specific>|<generic-complete>|<generic-incomplete>|<-non-standard-generic-family>","generic-name":"serif|sans-serif|cursive|fantasy|monospace","geometry-box":"<shape-box>|fill-box|stroke-box|view-box",gradient:"<linear-gradient()>|<repeating-linear-gradient()>|<radial-gradient()>|<repeating-radial-gradient()>|<conic-gradient()>|<repeating-conic-gradient()>|<-legacy-gradient>","grayscale()":"grayscale( <number-percentage> )","grid-line":"auto|<custom-ident>|[<integer>&&<custom-ident>?]|[span&&[<integer>||<custom-ident>]]","historical-lig-values":"[historical-ligatures|no-historical-ligatures]","hsl()":"hsl( <hue> <percentage> <percentage> [/ <alpha-value>]? )|hsl( <hue> , <percentage> , <percentage> , <alpha-value>? )","hsla()":"hsla( <hue> <percentage> <percentage> [/ <alpha-value>]? )|hsla( <hue> , <percentage> , <percentage> , <alpha-value>? )",hue:"<number>|<angle>","hue-rotate()":"hue-rotate( <angle> )","hue-interpolation-method":"[shorter|longer|increasing|decreasing] hue","hwb()":"hwb( [<hue>|none] [<percentage>|none] [<percentage>|none] [/ [<alpha-value>|none]]? )","hypot()":"hypot( <calc-sum># )",image:"<url>|<image()>|<image-set()>|<element()>|<paint()>|<cross-fade()>|<gradient>","image()":"image( <image-tags>? [<image-src>? , <color>?]! )","image-set()":"image-set( <image-set-option># )","image-set-option":"[<image>|<string>] [<resolution>||type( <string> )]","image-src":"<url>|<string>","image-tags":"ltr|rtl","inflexible-breadth":"<length-percentage>|min-content|max-content|auto","inset()":"inset( <length-percentage>{1,4} [round <'border-radius'>]? )","invert()":"invert( <number-percentage> )","keyframes-name":"<custom-ident>|<string>","keyframe-block":"<keyframe-selector># { <declaration-list> }","keyframe-block-list":"<keyframe-block>+","keyframe-selector":"from|to|<percentage>|<timeline-range-name> <percentage>","lab()":"lab( [<percentage>|<number>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )","layer()":"layer( <layer-name> )","layer-name":"<ident> ['.' <ident>]*","lch()":"lch( [<percentage>|<number>|none] [<percentage>|<number>|none] [<hue>|none] [/ [<alpha-value>|none]]? )","leader()":"leader( <leader-type> )","leader-type":"dotted|solid|space|<string>","length-percentage":"<length>|<percentage>","light-dark()":"light-dark( <color> , <color> )","line-names":"'[' <custom-ident>* ']'","line-name-list":"[<line-names>|<name-repeat>]+","line-style":"none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset","line-width":"<length>|thin|medium|thick","linear-color-hint":"<length-percentage>","linear-color-stop":"<color> <color-stop-length>?","linear-gradient()":"linear-gradient( [[<angle>|to <side-or-corner>]||<color-interpolation-method>]? , <color-stop-list> )","log()":"log( <calc-sum> , <calc-sum>? )","mask-layer":"<mask-reference>||<position> [/ <bg-size>]?||<repeat-style>||<geometry-box>||[<geometry-box>|no-clip]||<compositing-operator>||<masking-mode>","mask-position":"[<length-percentage>|left|center|right] [<length-percentage>|top|center|bottom]?","mask-reference":"none|<image>|<mask-source>","mask-source":"<url>","masking-mode":"alpha|luminance|match-source","matrix()":"matrix( <number>#{6} )","matrix3d()":"matrix3d( <number>#{16} )","max()":"max( <calc-sum># )","media-and":"<media-in-parens> [and <media-in-parens>]+","media-condition":"<media-not>|<media-and>|<media-or>|<media-in-parens>","media-condition-without-or":"<media-not>|<media-and>|<media-in-parens>","media-feature":"( [<mf-plain>|<mf-boolean>|<mf-range>] )","media-in-parens":"( <media-condition> )|<media-feature>|<general-enclosed>","media-not":"not <media-in-parens>","media-or":"<media-in-parens> [or <media-in-parens>]+","media-query":"<media-condition>|[not|only]? <media-type> [and <media-condition-without-or>]?","media-query-list":"<media-query>#","media-type":"<ident>","mf-boolean":"<mf-name>","mf-name":"<ident>","mf-plain":"<mf-name> : <mf-value>","mf-range":"<mf-name> ['<'|'>']? '='? <mf-value>|<mf-value> ['<'|'>']? '='? <mf-name>|<mf-value> '<' '='? <mf-name> '<' '='? <mf-value>|<mf-value> '>' '='? <mf-name> '>' '='? <mf-value>","mf-value":"<number>|<dimension>|<ident>|<ratio>","min()":"min( <calc-sum># )","minmax()":"minmax( [<length-percentage>|min-content|max-content|auto] , [<length-percentage>|<flex>|min-content|max-content|auto] )","mod()":"mod( <calc-sum> , <calc-sum> )","name-repeat":"repeat( [<integer [1,∞]>|auto-fill] , <line-names>+ )","named-color":"transparent|aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen","namespace-prefix":"<ident>","ns-prefix":"[<ident-token>|'*']? '|'","number-percentage":"<number>|<percentage>","numeric-figure-values":"[lining-nums|oldstyle-nums]","numeric-fraction-values":"[diagonal-fractions|stacked-fractions]","numeric-spacing-values":"[proportional-nums|tabular-nums]",nth:"<an-plus-b>|even|odd","opacity()":"opacity( [<number-percentage>] )","overflow-position":"unsafe|safe","outline-radius":"<length>|<percentage>","page-body":"<declaration>? [; <page-body>]?|<page-margin-box> <page-body>","page-margin-box":"<page-margin-box-type> '{' <declaration-list> '}'","page-margin-box-type":"@top-left-corner|@top-left|@top-center|@top-right|@top-right-corner|@bottom-left-corner|@bottom-left|@bottom-center|@bottom-right|@bottom-right-corner|@left-top|@left-middle|@left-bottom|@right-top|@right-middle|@right-bottom","page-selector-list":"[<page-selector>#]?","page-selector":"<pseudo-page>+|<ident> <pseudo-page>*","page-size":"A5|A4|A3|B5|B4|JIS-B5|JIS-B4|letter|legal|ledger","path()":"path( [<fill-rule> ,]? <string> )","paint()":"paint( <ident> , <declaration-value>? )","perspective()":"perspective( [<length [0,∞]>|none] )","polygon()":"polygon( <fill-rule>? , [<length-percentage> <length-percentage>]# )","polar-color-space":"hsl|hwb|lch|oklch",position:"[[left|center|right]||[top|center|bottom]|[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]?|[[left|right] <length-percentage>]&&[[top|bottom] <length-percentage>]]","pow()":"pow( <calc-sum> , <calc-sum> )","pseudo-class-selector":"':' <ident-token>|':' <function-token> <any-value> ')'","pseudo-element-selector":"':' <pseudo-class-selector>|<legacy-pseudo-element-selector>","pseudo-page":": [left|right|first|blank]",quote:"open-quote|close-quote|no-open-quote|no-close-quote","radial-gradient()":"radial-gradient( [<ending-shape>||<size>]? [at <position>]? , <color-stop-list> )",ratio:"<number [0,∞]> [/ <number [0,∞]>]?","ray()":"ray( <angle>&&<ray-size>?&&contain?&&[at <position>]? )","ray-size":"closest-side|closest-corner|farthest-side|farthest-corner|sides","rectangular-color-space":"srgb|srgb-linear|display-p3|a98-rgb|prophoto-rgb|rec2020|lab|oklab|xyz|xyz-d50|xyz-d65","relative-selector":"<combinator>? <complex-selector>","relative-selector-list":"<relative-selector>#","relative-size":"larger|smaller","rem()":"rem( <calc-sum> , <calc-sum> )","repeat-style":"repeat-x|repeat-y|[repeat|space|round|no-repeat]{1,2}","repeating-conic-gradient()":"repeating-conic-gradient( [from <angle>]? [at <position>]? , <angular-color-stop-list> )","repeating-linear-gradient()":"repeating-linear-gradient( [<angle>|to <side-or-corner>]? , <color-stop-list> )","repeating-radial-gradient()":"repeating-radial-gradient( [<ending-shape>||<size>]? [at <position>]? , <color-stop-list> )","reversed-counter-name":"reversed( <counter-name> )","rgb()":"rgb( <percentage>{3} [/ <alpha-value>]? )|rgb( <number>{3} [/ <alpha-value>]? )|rgb( <percentage>#{3} , <alpha-value>? )|rgb( <number>#{3} , <alpha-value>? )","rgba()":"rgba( <percentage>{3} [/ <alpha-value>]? )|rgba( <number>{3} [/ <alpha-value>]? )|rgba( <percentage>#{3} , <alpha-value>? )|rgba( <number>#{3} , <alpha-value>? )","rotate()":"rotate( [<angle>|<zero>] )","rotate3d()":"rotate3d( <number> , <number> , <number> , [<angle>|<zero>] )","rotateX()":"rotateX( [<angle>|<zero>] )","rotateY()":"rotateY( [<angle>|<zero>] )","rotateZ()":"rotateZ( [<angle>|<zero>] )","round()":"round( <rounding-strategy>? , <calc-sum> , <calc-sum> )","rounding-strategy":"nearest|up|down|to-zero","saturate()":"saturate( <number-percentage> )","scale()":"scale( [<number>|<percentage>]#{1,2} )","scale3d()":"scale3d( [<number>|<percentage>]#{3} )","scaleX()":"scaleX( [<number>|<percentage>] )","scaleY()":"scaleY( [<number>|<percentage>] )","scaleZ()":"scaleZ( [<number>|<percentage>] )","scroll()":"scroll( [<axis>||<scroller>]? )",scroller:"root|nearest|self","self-position":"center|start|end|self-start|self-end|flex-start|flex-end","shape-radius":"<length-percentage>|closest-side|farthest-side","sign()":"sign( <calc-sum> )","skew()":"skew( [<angle>|<zero>] , [<angle>|<zero>]? )","skewX()":"skewX( [<angle>|<zero>] )","skewY()":"skewY( [<angle>|<zero>] )","sepia()":"sepia( <number-percentage> )",shadow:"inset?&&<length>{2,4}&&<color>?","shadow-t":"[<length>{2,3}&&<color>?]",shape:"rect( <top> , <right> , <bottom> , <left> )|rect( <top> <right> <bottom> <left> )","shape-box":"<box>|margin-box","side-or-corner":"[left|right]||[top|bottom]","sin()":"sin( <calc-sum> )","single-animation":"<'animation-duration'>||<easing-function>||<'animation-delay'>||<single-animation-iteration-count>||<single-animation-direction>||<single-animation-fill-mode>||<single-animation-play-state>||[none|<keyframes-name>]||<single-animation-timeline>","single-animation-direction":"normal|reverse|alternate|alternate-reverse","single-animation-fill-mode":"none|forwards|backwards|both","single-animation-iteration-count":"infinite|<number>","single-animation-play-state":"running|paused","single-animation-timeline":"auto|none|<dashed-ident>|<scroll()>|<view()>","single-transition":"[none|<single-transition-property>]||<time>||<easing-function>||<time>||<transition-behavior-value>","single-transition-property":"all|<custom-ident>",size:"closest-side|farthest-side|closest-corner|farthest-corner|<length>|<length-percentage>{2}","sqrt()":"sqrt( <calc-sum> )","step-position":"jump-start|jump-end|jump-none|jump-both|start|end","step-timing-function":"step-start|step-end|steps( <integer> [, <step-position>]? )","subclass-selector":"<id-selector>|<class-selector>|<attribute-selector>|<pseudo-class-selector>","supports-condition":"not <supports-in-parens>|<supports-in-parens> [and <supports-in-parens>]*|<supports-in-parens> [or <supports-in-parens>]*","supports-in-parens":"( <supports-condition> )|<supports-feature>|<general-enclosed>","supports-feature":"<supports-decl>|<supports-selector-fn>","supports-decl":"( <declaration> )","supports-selector-fn":"selector( <complex-selector> )",symbol:"<string>|<image>|<custom-ident>","system-color":"AccentColor|AccentColorText|ActiveText|ButtonBorder|ButtonFace|ButtonText|Canvas|CanvasText|Field|FieldText|GrayText|Highlight|HighlightText|LinkText|Mark|MarkText|SelectedItem|SelectedItemText|VisitedText","tan()":"tan( <calc-sum> )",target:"<target-counter()>|<target-counters()>|<target-text()>","target-counter()":"target-counter( [<string>|<url>] , <custom-ident> , <counter-style>? )","target-counters()":"target-counters( [<string>|<url>] , <custom-ident> , <string> , <counter-style>? )","target-text()":"target-text( [<string>|<url>] , [content|before|after|first-letter]? )","time-percentage":"<time>|<percentage>","timeline-range-name":"cover|contain|entry|exit|entry-crossing|exit-crossing","easing-function":"linear|<cubic-bezier-timing-function>|<step-timing-function>","track-breadth":"<length-percentage>|<flex>|min-content|max-content|auto","track-list":"[<line-names>? [<track-size>|<track-repeat>]]+ <line-names>?","track-repeat":"repeat( [<integer [1,∞]>] , [<line-names>? <track-size>]+ <line-names>? )","track-size":"<track-breadth>|minmax( <inflexible-breadth> , <track-breadth> )|fit-content( <length-percentage> )","transform-function":"<matrix()>|<translate()>|<translateX()>|<translateY()>|<scale()>|<scaleX()>|<scaleY()>|<rotate()>|<skew()>|<skewX()>|<skewY()>|<matrix3d()>|<translate3d()>|<translateZ()>|<scale3d()>|<scaleZ()>|<rotate3d()>|<rotateX()>|<rotateY()>|<rotateZ()>|<perspective()>","transform-list":"<transform-function>+","transition-behavior-value":"normal|allow-discrete","translate()":"translate( <length-percentage> , <length-percentage>? )","translate3d()":"translate3d( <length-percentage> , <length-percentage> , <length> )","translateX()":"translateX( <length-percentage> )","translateY()":"translateY( <length-percentage> )","translateZ()":"translateZ( <length> )","type-or-unit":"string|color|url|integer|number|length|angle|time|frequency|cap|ch|em|ex|ic|lh|rlh|rem|vb|vi|vw|vh|vmin|vmax|mm|Q|cm|in|pt|pc|px|deg|grad|rad|turn|ms|s|Hz|kHz|%","type-selector":"<wq-name>|<ns-prefix>? '*'","var()":"var( <custom-property-name> , <declaration-value>? )","view()":"view( [<axis>||<'view-timeline-inset'>]? )","viewport-length":"auto|<length-percentage>","visual-box":"content-box|padding-box|border-box","wq-name":"<ns-prefix>? <ident-token>","-legacy-gradient":"<-webkit-gradient()>|<-legacy-linear-gradient>|<-legacy-repeating-linear-gradient>|<-legacy-radial-gradient>|<-legacy-repeating-radial-gradient>","-legacy-linear-gradient":"-moz-linear-gradient( <-legacy-linear-gradient-arguments> )|-webkit-linear-gradient( <-legacy-linear-gradient-arguments> )|-o-linear-gradient( <-legacy-linear-gradient-arguments> )","-legacy-repeating-linear-gradient":"-moz-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )|-webkit-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )|-o-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )","-legacy-linear-gradient-arguments":"[<angle>|<side-or-corner>]? , <color-stop-list>","-legacy-radial-gradient":"-moz-radial-gradient( <-legacy-radial-gradient-arguments> )|-webkit-radial-gradient( <-legacy-radial-gradient-arguments> )|-o-radial-gradient( <-legacy-radial-gradient-arguments> )","-legacy-repeating-radial-gradient":"-moz-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )|-webkit-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )|-o-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )","-legacy-radial-gradient-arguments":"[<position> ,]? [[[<-legacy-radial-gradient-shape>||<-legacy-radial-gradient-size>]|[<length>|<percentage>]{2}] ,]? <color-stop-list>","-legacy-radial-gradient-size":"closest-side|closest-corner|farthest-side|farthest-corner|contain|cover","-legacy-radial-gradient-shape":"circle|ellipse","-non-standard-font":"-apple-system-body|-apple-system-headline|-apple-system-subheadline|-apple-system-caption1|-apple-system-caption2|-apple-system-footnote|-apple-system-short-body|-apple-system-short-headline|-apple-system-short-subheadline|-apple-system-short-caption1|-apple-system-short-footnote|-apple-system-tall-body","-non-standard-color":"-moz-ButtonDefault|-moz-ButtonHoverFace|-moz-ButtonHoverText|-moz-CellHighlight|-moz-CellHighlightText|-moz-Combobox|-moz-ComboboxText|-moz-Dialog|-moz-DialogText|-moz-dragtargetzone|-moz-EvenTreeRow|-moz-Field|-moz-FieldText|-moz-html-CellHighlight|-moz-html-CellHighlightText|-moz-mac-accentdarkestshadow|-moz-mac-accentdarkshadow|-moz-mac-accentface|-moz-mac-accentlightesthighlight|-moz-mac-accentlightshadow|-moz-mac-accentregularhighlight|-moz-mac-accentregularshadow|-moz-mac-chrome-active|-moz-mac-chrome-inactive|-moz-mac-focusring|-moz-mac-menuselect|-moz-mac-menushadow|-moz-mac-menutextselect|-moz-MenuHover|-moz-MenuHoverText|-moz-MenuBarText|-moz-MenuBarHoverText|-moz-nativehyperlinktext|-moz-OddTreeRow|-moz-win-communicationstext|-moz-win-mediatext|-moz-activehyperlinktext|-moz-default-background-color|-moz-default-color|-moz-hyperlinktext|-moz-visitedhyperlinktext|-webkit-activelink|-webkit-focus-ring-color|-webkit-link|-webkit-text","-non-standard-image-rendering":"optimize-contrast|-moz-crisp-edges|-o-crisp-edges|-webkit-optimize-contrast","-non-standard-overflow":"overlay|-moz-scrollbars-none|-moz-scrollbars-horizontal|-moz-scrollbars-vertical|-moz-hidden-unscrollable","-non-standard-size":"intrinsic|min-intrinsic|-webkit-fill-available|-webkit-fit-content|-webkit-min-content|-webkit-max-content|-moz-available|-moz-fit-content|-moz-min-content|-moz-max-content","-webkit-gradient()":"-webkit-gradient( <-webkit-gradient-type> , <-webkit-gradient-point> [, <-webkit-gradient-point>|, <-webkit-gradient-radius> , <-webkit-gradient-point>] [, <-webkit-gradient-radius>]? [, <-webkit-gradient-color-stop>]* )","-webkit-gradient-color-stop":"from( <color> )|color-stop( [<number-zero-one>|<percentage>] , <color> )|to( <color> )","-webkit-gradient-point":"[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]","-webkit-gradient-radius":"<length>|<percentage>","-webkit-gradient-type":"linear|radial","-webkit-mask-box-repeat":"repeat|stretch|round","-ms-filter-function-list":"<-ms-filter-function>+","-ms-filter-function":"<-ms-filter-function-progid>|<-ms-filter-function-legacy>","-ms-filter-function-progid":"'progid:' [<ident-token> '.']* [<ident-token>|<function-token> <any-value>? )]","-ms-filter-function-legacy":"<ident-token>|<function-token> <any-value>? )","absolute-color-base":"<hex-color>|<absolute-color-function>|<named-color>|transparent","absolute-color-function":"<rgb()>|<rgba()>|<hsl()>|<hsla()>|<hwb()>|<lab()>|<lch()>|<oklab()>|<oklch()>|<color()>",age:"child|young|old","anchor-name":"<dashed-ident>","attr-name":"<wq-name>","attr-fallback":"<any-value>","bg-clip":"<box>|border|text",bottom:"<length>|auto","container-name":"<custom-ident>","container-condition":"not <query-in-parens>|<query-in-parens> [[and <query-in-parens>]*|[or <query-in-parens>]*]","coord-box":"content-box|padding-box|border-box|fill-box|stroke-box|view-box","generic-voice":"[<age>? <gender> <integer>?]",gender:"male|female|neutral","generic-script-specific":"generic( kai )|generic( fangsong )|generic( nastaliq )","generic-complete":"serif|sans-serif|system-ui|cursive|fantasy|math|monospace","generic-incomplete":"ui-serif|ui-sans-serif|ui-monospace|ui-rounded","-non-standard-generic-family":"-apple-system|BlinkMacSystemFont",left:"<length>|auto","color-base":"<hex-color>|<color-function>|<named-color>|<color-mix()>|transparent","color-function":"<rgb()>|<rgba()>|<hsl()>|<hsla()>|<hwb()>|<lab()>|<lch()>|<oklab()>|<oklch()>|<color()>","device-cmyk()":"<legacy-device-cmyk-syntax>|<modern-device-cmyk-syntax>","legacy-device-cmyk-syntax":"device-cmyk( <number>#{4} )","modern-device-cmyk-syntax":"device-cmyk( <cmyk-component>{4} [/ [<alpha-value>|none]]? )","cmyk-component":"<number>|<percentage>|none","color-mix()":"color-mix( <color-interpolation-method> , [<color>&&<percentage [0,100]>?]#{2} )","color-space":"<rectangular-color-space>|<polar-color-space>|<custom-color-space>","custom-color-space":"<dashed-ident>",paint:"none|<color>|<url> [none|<color>]?|context-fill|context-stroke","palette-identifier":"<dashed-ident>",right:"<length>|auto","scope-start":"<forgiving-selector-list>","scope-end":"<forgiving-selector-list>","forgiving-selector-list":"<complex-real-selector-list>","forgiving-relative-selector-list":"<relative-real-selector-list>","selector-list":"<complex-selector-list>","complex-real-selector-list":"<complex-real-selector>#","simple-selector-list":"<simple-selector>#","relative-real-selector-list":"<relative-real-selector>#","complex-selector-unit":"[<compound-selector>? <pseudo-compound-selector>*]!","complex-real-selector":"<compound-selector> [<combinator>? <compound-selector>]*","relative-real-selector":"<combinator>? <complex-real-selector>","pseudo-compound-selector":"<pseudo-element-selector> <pseudo-class-selector>*","simple-selector":"<type-selector>|<subclass-selector>","legacy-pseudo-element-selector":"':' [before|after|first-line|first-letter]","single-animation-composition":"replace|add|accumulate","svg-length":"<percentage>|<length>|<number>","svg-writing-mode":"lr-tb|rl-tb|tb-rl|lr|rl|tb",top:"<length>|auto",x:"<number>",y:"<number>",declaration:"<ident-token> : <declaration-value>? ['!' important]?","declaration-list":"[<declaration>? ';']* <declaration>?",url:"url( <string> <url-modifier>* )|<url-token>","url-modifier":"<ident>|<function-token> <any-value> )","number-zero-one":"<number [0,1]>","number-one-or-greater":"<number [1,∞]>","color()":"color( <colorspace-params> [/ [<alpha-value>|none]]? )","colorspace-params":"[<predefined-rgb-params>|<xyz-params>]","predefined-rgb-params":"<predefined-rgb> [<number>|<percentage>|none]{3}","predefined-rgb":"srgb|srgb-linear|display-p3|a98-rgb|prophoto-rgb|rec2020","xyz-params":"<xyz-space> [<number>|<percentage>|none]{3}","xyz-space":"xyz|xyz-d50|xyz-d65","oklab()":"oklab( [<percentage>|<number>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )","oklch()":"oklch( [<percentage>|<number>|none] [<percentage>|<number>|none] [<hue>|none] [/ [<alpha-value>|none]]? )","offset-path":"<ray()>|<url>|<basic-shape>","rect()":"rect( [<length-percentage>|auto]{4} [round <'border-radius'>]? )","xywh()":"xywh( <length-percentage>{2} <length-percentage [0,∞]>{2} [round <'border-radius'>]? )","query-in-parens":"( <container-condition> )|( <size-feature> )|style( <style-query> )|<general-enclosed>","size-feature":"<mf-plain>|<mf-boolean>|<mf-range>","style-feature":"<declaration>","style-query":"<style-condition>|<style-feature>","style-condition":"not <style-in-parens>|<style-in-parens> [[and <style-in-parens>]*|[or <style-in-parens>]*]","style-in-parens":"( <style-condition> )|( <style-feature> )|<general-enclosed>","-non-standard-display":"-ms-inline-flexbox|-ms-grid|-ms-inline-grid|-webkit-flex|-webkit-inline-flex|-webkit-box|-webkit-inline-box|-moz-inline-stack|-moz-box|-moz-inline-box","inset-area":"[[left|center|right|span-left|span-right|x-start|x-end|span-x-start|span-x-end|x-self-start|x-self-end|span-x-self-start|span-x-self-end|span-all]||[top|center|bottom|span-top|span-bottom|y-start|y-end|span-y-start|span-y-end|y-self-start|y-self-end|span-y-self-start|span-y-self-end|span-all]|[block-start|center|block-end|span-block-start|span-block-end|span-all]||[inline-start|center|inline-end|span-inline-start|span-inline-end|span-all]|[self-block-start|self-block-end|span-self-block-start|span-self-block-end|span-all]||[self-inline-start|self-inline-end|span-self-inline-start|span-self-inline-end|span-all]|[start|center|end|span-start|span-end|span-all]{1,2}|[self-start|center|self-end|span-self-start|span-self-end|span-all]{1,2}]","position-area":"[[left|center|right|span-left|span-right|x-start|x-end|span-x-start|span-x-end|x-self-start|x-self-end|span-x-self-start|span-x-self-end|span-all]||[top|center|bottom|span-top|span-bottom|y-start|y-end|span-y-start|span-y-end|y-self-start|y-self-end|span-y-self-start|span-y-self-end|span-all]|[block-start|center|block-end|span-block-start|span-block-end|span-all]||[inline-start|center|inline-end|span-inline-start|span-inline-end|span-all]|[self-block-start|center|self-block-end|span-self-block-start|span-self-block-end|span-all]||[self-inline-start|center|self-inline-end|span-self-inline-start|span-self-inline-end|span-all]|[start|center|end|span-start|span-end|span-all]{1,2}|[self-start|center|self-end|span-self-start|span-self-end|span-all]{1,2}]","anchor()":"anchor( <anchor-element>?&&<anchor-side> , <length-percentage>? )","anchor-side":"inside|outside|top|left|right|bottom|start|end|self-start|self-end|<percentage>|center","anchor-size()":"anchor-size( [<anchor-element>||<anchor-size>]? , <length-percentage>? )","anchor-size":"width|height|block|inline|self-block|self-inline","anchor-element":"<dashed-ident>","try-size":"most-width|most-height|most-block-size|most-inline-size","try-tactic":"flip-block||flip-inline||flip-start","font-variant-css2":"normal|small-caps","font-width-css3":"normal|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded","system-family-name":"caption|icon|menu|message-box|small-caption|status-bar"},properties:{"--*":"<declaration-value>","-ms-accelerator":"false|true","-ms-block-progression":"tb|rl|bt|lr","-ms-content-zoom-chaining":"none|chained","-ms-content-zooming":"none|zoom","-ms-content-zoom-limit":"<'-ms-content-zoom-limit-min'> <'-ms-content-zoom-limit-max'>","-ms-content-zoom-limit-max":"<percentage>","-ms-content-zoom-limit-min":"<percentage>","-ms-content-zoom-snap":"<'-ms-content-zoom-snap-type'>||<'-ms-content-zoom-snap-points'>","-ms-content-zoom-snap-points":"snapInterval( <percentage> , <percentage> )|snapList( <percentage># )","-ms-content-zoom-snap-type":"none|proximity|mandatory","-ms-filter":"<string>","-ms-flow-from":"[none|<custom-ident>]#","-ms-flow-into":"[none|<custom-ident>]#","-ms-grid-columns":"none|<track-list>|<auto-track-list>","-ms-grid-rows":"none|<track-list>|<auto-track-list>","-ms-high-contrast-adjust":"auto|none","-ms-hyphenate-limit-chars":"auto|<integer>{1,3}","-ms-hyphenate-limit-lines":"no-limit|<integer>","-ms-hyphenate-limit-zone":"<percentage>|<length>","-ms-ime-align":"auto|after","-ms-overflow-style":"auto|none|scrollbar|-ms-autohiding-scrollbar","-ms-scrollbar-3dlight-color":"<color>","-ms-scrollbar-arrow-color":"<color>","-ms-scrollbar-base-color":"<color>","-ms-scrollbar-darkshadow-color":"<color>","-ms-scrollbar-face-color":"<color>","-ms-scrollbar-highlight-color":"<color>","-ms-scrollbar-shadow-color":"<color>","-ms-scrollbar-track-color":"<color>","-ms-scroll-chaining":"chained|none","-ms-scroll-limit":"<'-ms-scroll-limit-x-min'> <'-ms-scroll-limit-y-min'> <'-ms-scroll-limit-x-max'> <'-ms-scroll-limit-y-max'>","-ms-scroll-limit-x-max":"auto|<length>","-ms-scroll-limit-x-min":"<length>","-ms-scroll-limit-y-max":"auto|<length>","-ms-scroll-limit-y-min":"<length>","-ms-scroll-rails":"none|railed","-ms-scroll-snap-points-x":"snapInterval( <length-percentage> , <length-percentage> )|snapList( <length-percentage># )","-ms-scroll-snap-points-y":"snapInterval( <length-percentage> , <length-percentage> )|snapList( <length-percentage># )","-ms-scroll-snap-type":"none|proximity|mandatory","-ms-scroll-snap-x":"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-x'>","-ms-scroll-snap-y":"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-y'>","-ms-scroll-translation":"none|vertical-to-horizontal","-ms-text-autospace":"none|ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space","-ms-touch-select":"grippers|none","-ms-user-select":"none|element|text","-ms-wrap-flow":"auto|both|start|end|maximum|clear","-ms-wrap-margin":"<length>","-ms-wrap-through":"wrap|none","-moz-appearance":"none|button|button-arrow-down|button-arrow-next|button-arrow-previous|button-arrow-up|button-bevel|button-focus|caret|checkbox|checkbox-container|checkbox-label|checkmenuitem|dualbutton|groupbox|listbox|listitem|menuarrow|menubar|menucheckbox|menuimage|menuitem|menuitemtext|menulist|menulist-button|menulist-text|menulist-textfield|menupopup|menuradio|menuseparator|meterbar|meterchunk|progressbar|progressbar-vertical|progresschunk|progresschunk-vertical|radio|radio-container|radio-label|radiomenuitem|range|range-thumb|resizer|resizerpanel|scale-horizontal|scalethumbend|scalethumb-horizontal|scalethumbstart|scalethumbtick|scalethumb-vertical|scale-vertical|scrollbarbutton-down|scrollbarbutton-left|scrollbarbutton-right|scrollbarbutton-up|scrollbarthumb-horizontal|scrollbarthumb-vertical|scrollbartrack-horizontal|scrollbartrack-vertical|searchfield|separator|sheet|spinner|spinner-downbutton|spinner-textfield|spinner-upbutton|splitter|statusbar|statusbarpanel|tab|tabpanel|tabpanels|tab-scroll-arrow-back|tab-scroll-arrow-forward|textfield|textfield-multiline|toolbar|toolbarbutton|toolbarbutton-dropdown|toolbargripper|toolbox|tooltip|treeheader|treeheadercell|treeheadersortarrow|treeitem|treeline|treetwisty|treetwistyopen|treeview|-moz-mac-unified-toolbar|-moz-win-borderless-glass|-moz-win-browsertabbar-toolbox|-moz-win-communicationstext|-moz-win-communications-toolbox|-moz-win-exclude-glass|-moz-win-glass|-moz-win-mediatext|-moz-win-media-toolbox|-moz-window-button-box|-moz-window-button-box-maximized|-moz-window-button-close|-moz-window-button-maximize|-moz-window-button-minimize|-moz-window-button-restore|-moz-window-frame-bottom|-moz-window-frame-left|-moz-window-frame-right|-moz-window-titlebar|-moz-window-titlebar-maximized","-moz-binding":"<url>|none","-moz-border-bottom-colors":"<color>+|none","-moz-border-left-colors":"<color>+|none","-moz-border-right-colors":"<color>+|none","-moz-border-top-colors":"<color>+|none","-moz-context-properties":"none|[fill|fill-opacity|stroke|stroke-opacity]#","-moz-float-edge":"border-box|content-box|margin-box|padding-box","-moz-force-broken-image-icon":"0|1","-moz-image-region":"<shape>|auto","-moz-orient":"inline|block|horizontal|vertical","-moz-outline-radius":"<outline-radius>{1,4} [/ <outline-radius>{1,4}]?","-moz-outline-radius-bottomleft":"<outline-radius>","-moz-outline-radius-bottomright":"<outline-radius>","-moz-outline-radius-topleft":"<outline-radius>","-moz-outline-radius-topright":"<outline-radius>","-moz-stack-sizing":"ignore|stretch-to-fit","-moz-text-blink":"none|blink","-moz-user-focus":"ignore|normal|select-after|select-before|select-menu|select-same|select-all|none","-moz-user-input":"auto|none|enabled|disabled","-moz-user-modify":"read-only|read-write|write-only","-moz-window-dragging":"drag|no-drag","-moz-window-shadow":"default|menu|tooltip|sheet|none","-webkit-appearance":"none|button|button-bevel|caps-lock-indicator|caret|checkbox|default-button|inner-spin-button|listbox|listitem|media-controls-background|media-controls-fullscreen-background|media-current-time-display|media-enter-fullscreen-button|media-exit-fullscreen-button|media-fullscreen-button|media-mute-button|media-overlay-play-button|media-play-button|media-seek-back-button|media-seek-forward-button|media-slider|media-sliderthumb|media-time-remaining-display|media-toggle-closed-captions-button|media-volume-slider|media-volume-slider-container|media-volume-sliderthumb|menulist|menulist-button|menulist-text|menulist-textfield|meter|progress-bar|progress-bar-value|push-button|radio|scrollbarbutton-down|scrollbarbutton-left|scrollbarbutton-right|scrollbarbutton-up|scrollbargripper-horizontal|scrollbargripper-vertical|scrollbarthumb-horizontal|scrollbarthumb-vertical|scrollbartrack-horizontal|scrollbartrack-vertical|searchfield|searchfield-cancel-button|searchfield-decoration|searchfield-results-button|searchfield-results-decoration|slider-horizontal|slider-vertical|sliderthumb-horizontal|sliderthumb-vertical|square-button|textarea|textfield|-apple-pay-button","-webkit-border-before":"<'border-width'>||<'border-style'>||<color>","-webkit-border-before-color":"<color>","-webkit-border-before-style":"<'border-style'>","-webkit-border-before-width":"<'border-width'>","-webkit-box-reflect":"[above|below|right|left]? <length>? <image>?","-webkit-line-clamp":"none|<integer>","-webkit-mask":"[<mask-reference>||<position> [/ <bg-size>]?||<repeat-style>||[<box>|border|padding|content|text]||[<box>|border|padding|content]]#","-webkit-mask-attachment":"<attachment>#","-webkit-mask-clip":"[<box>|border|padding|content|text]#","-webkit-mask-composite":"<composite-style>#","-webkit-mask-image":"<mask-reference>#","-webkit-mask-origin":"[<box>|border|padding|content]#","-webkit-mask-position":"<position>#","-webkit-mask-position-x":"[<length-percentage>|left|center|right]#","-webkit-mask-position-y":"[<length-percentage>|top|center|bottom]#","-webkit-mask-repeat":"<repeat-style>#","-webkit-mask-repeat-x":"repeat|no-repeat|space|round","-webkit-mask-repeat-y":"repeat|no-repeat|space|round","-webkit-mask-size":"<bg-size>#","-webkit-overflow-scrolling":"auto|touch","-webkit-tap-highlight-color":"<color>","-webkit-text-fill-color":"<color>","-webkit-text-stroke":"<length>||<color>","-webkit-text-stroke-color":"<color>","-webkit-text-stroke-width":"<length>","-webkit-touch-callout":"default|none","-webkit-user-modify":"read-only|read-write|read-write-plaintext-only","accent-color":"auto|<color>","align-content":"normal|<baseline-position>|<content-distribution>|<overflow-position>? <content-position>","align-items":"normal|stretch|<baseline-position>|[<overflow-position>? <self-position>]","align-self":"auto|normal|stretch|<baseline-position>|<overflow-position>? <self-position>","align-tracks":"[normal|<baseline-position>|<content-distribution>|<overflow-position>? <content-position>]#",all:"initial|inherit|unset|revert|revert-layer","anchor-name":"none|<dashed-ident>#","anchor-scope":"none|all|<dashed-ident>#",animation:"<single-animation>#","animation-composition":"<single-animation-composition>#","animation-delay":"<time>#","animation-direction":"<single-animation-direction>#","animation-duration":"<time>#","animation-fill-mode":"<single-animation-fill-mode>#","animation-iteration-count":"<single-animation-iteration-count>#","animation-name":"[none|<keyframes-name>]#","animation-play-state":"<single-animation-play-state>#","animation-range":"[<'animation-range-start'> <'animation-range-end'>?]#","animation-range-end":"[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","animation-range-start":"[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","animation-timing-function":"<easing-function>#","animation-timeline":"<single-animation-timeline>#",appearance:"none|auto|textfield|menulist-button|<compat-auto>","aspect-ratio":"auto||<ratio>",azimuth:"<angle>|[[left-side|far-left|left|center-left|center|center-right|right|far-right|right-side]||behind]|leftwards|rightwards","backdrop-filter":"none|<filter-function-list>","backface-visibility":"visible|hidden",background:"[<bg-layer> ,]* <final-bg-layer>","background-attachment":"<attachment>#","background-blend-mode":"<blend-mode>#","background-clip":"<bg-clip>#","background-color":"<color>","background-image":"<bg-image>#","background-origin":"<box>#","background-position":"<bg-position>#","background-position-x":"[center|[[left|right|x-start|x-end]? <length-percentage>?]!]#","background-position-y":"[center|[[top|bottom|y-start|y-end]? <length-percentage>?]!]#","background-repeat":"<repeat-style>#","background-size":"<bg-size>#","block-size":"<'width'>",border:"<line-width>||<line-style>||<color>","border-block":"<'border-top-width'>||<'border-top-style'>||<color>","border-block-color":"<'border-top-color'>{1,2}","border-block-style":"<'border-top-style'>","border-block-width":"<'border-top-width'>","border-block-end":"<'border-top-width'>||<'border-top-style'>||<color>","border-block-end-color":"<'border-top-color'>","border-block-end-style":"<'border-top-style'>","border-block-end-width":"<'border-top-width'>","border-block-start":"<'border-top-width'>||<'border-top-style'>||<color>","border-block-start-color":"<'border-top-color'>","border-block-start-style":"<'border-top-style'>","border-block-start-width":"<'border-top-width'>","border-bottom":"<line-width>||<line-style>||<color>","border-bottom-color":"<'border-top-color'>","border-bottom-left-radius":"<length-percentage>{1,2}","border-bottom-right-radius":"<length-percentage>{1,2}","border-bottom-style":"<line-style>","border-bottom-width":"<line-width>","border-collapse":"collapse|separate","border-color":"<color>{1,4}","border-end-end-radius":"<length-percentage>{1,2}","border-end-start-radius":"<length-percentage>{1,2}","border-image":"<'border-image-source'>||<'border-image-slice'> [/ <'border-image-width'>|/ <'border-image-width'>? / <'border-image-outset'>]?||<'border-image-repeat'>","border-image-outset":"[<length>|<number>]{1,4}","border-image-repeat":"[stretch|repeat|round|space]{1,2}","border-image-slice":"<number-percentage>{1,4}&&fill?","border-image-source":"none|<image>","border-image-width":"[<length-percentage>|<number>|auto]{1,4}","border-inline":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-end":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-color":"<'border-top-color'>{1,2}","border-inline-style":"<'border-top-style'>","border-inline-width":"<'border-top-width'>","border-inline-end-color":"<'border-top-color'>","border-inline-end-style":"<'border-top-style'>","border-inline-end-width":"<'border-top-width'>","border-inline-start":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-start-color":"<'border-top-color'>","border-inline-start-style":"<'border-top-style'>","border-inline-start-width":"<'border-top-width'>","border-left":"<line-width>||<line-style>||<color>","border-left-color":"<color>","border-left-style":"<line-style>","border-left-width":"<line-width>","border-radius":"<length-percentage>{1,4} [/ <length-percentage>{1,4}]?","border-right":"<line-width>||<line-style>||<color>","border-right-color":"<color>","border-right-style":"<line-style>","border-right-width":"<line-width>","border-spacing":"<length> <length>?","border-start-end-radius":"<length-percentage>{1,2}","border-start-start-radius":"<length-percentage>{1,2}","border-style":"<line-style>{1,4}","border-top":"<line-width>||<line-style>||<color>","border-top-color":"<color>","border-top-left-radius":"<length-percentage>{1,2}","border-top-right-radius":"<length-percentage>{1,2}","border-top-style":"<line-style>","border-top-width":"<line-width>","border-width":"<line-width>{1,4}",bottom:"<length>|<percentage>|auto","box-align":"start|center|end|baseline|stretch","box-decoration-break":"slice|clone","box-direction":"normal|reverse|inherit","box-flex":"<number>","box-flex-group":"<integer>","box-lines":"single|multiple","box-ordinal-group":"<integer>","box-orient":"horizontal|vertical|inline-axis|block-axis|inherit","box-pack":"start|center|end|justify","box-shadow":"none|<shadow>#","box-sizing":"content-box|border-box","break-after":"auto|avoid|always|all|avoid-page|page|left|right|recto|verso|avoid-column|column|avoid-region|region","break-before":"auto|avoid|always|all|avoid-page|page|left|right|recto|verso|avoid-column|column|avoid-region|region","break-inside":"auto|avoid|avoid-page|avoid-column|avoid-region","caption-side":"top|bottom|block-start|block-end|inline-start|inline-end",caret:"<'caret-color'>||<'caret-shape'>","caret-color":"auto|<color>","caret-shape":"auto|bar|block|underscore",clear:"none|left|right|both|inline-start|inline-end",clip:"<shape>|auto","clip-path":"<clip-source>|[<basic-shape>||<geometry-box>]|none","clip-rule":"nonzero|evenodd",color:"<color>","color-interpolation-filters":"auto|sRGB|linearRGB","color-scheme":"normal|[light|dark|<custom-ident>]+&&only?","column-count":"<integer>|auto","column-fill":"auto|balance","column-gap":"normal|<length-percentage>","column-rule":"<'column-rule-width'>||<'column-rule-style'>||<'column-rule-color'>","column-rule-color":"<color>","column-rule-style":"<'border-style'>","column-rule-width":"<'border-width'>","column-span":"none|all","column-width":"<length>|auto",columns:"<'column-width'>||<'column-count'>",contain:"none|strict|content|[[size||inline-size]||layout||style||paint]","contain-intrinsic-size":"[auto? [none|<length>]]{1,2}","contain-intrinsic-block-size":"auto? [none|<length>]","contain-intrinsic-height":"auto? [none|<length>]","contain-intrinsic-inline-size":"auto? [none|<length>]","contain-intrinsic-width":"auto? [none|<length>]",container:"<'container-name'> [/ <'container-type'>]?","container-name":"none|<custom-ident>+","container-type":"normal||[size|inline-size]",content:"normal|none|[<content-replacement>|<content-list>] [/ [<string>|<counter>]+]?","content-visibility":"visible|auto|hidden","counter-increment":"[<counter-name> <integer>?]+|none","counter-reset":"[<counter-name> <integer>?|<reversed-counter-name> <integer>?]+|none","counter-set":"[<counter-name> <integer>?]+|none",cursor:"[[<url> [<x> <y>]? ,]* [auto|default|none|context-menu|help|pointer|progress|wait|cell|crosshair|text|vertical-text|alias|copy|move|no-drop|not-allowed|e-resize|n-resize|ne-resize|nw-resize|s-resize|se-resize|sw-resize|w-resize|ew-resize|ns-resize|nesw-resize|nwse-resize|col-resize|row-resize|all-scroll|zoom-in|zoom-out|grab|grabbing|hand|-webkit-grab|-webkit-grabbing|-webkit-zoom-in|-webkit-zoom-out|-moz-grab|-moz-grabbing|-moz-zoom-in|-moz-zoom-out]]",d:"none|path( <string> )",cx:"<length>|<percentage>",cy:"<length>|<percentage>",direction:"ltr|rtl",display:"[<display-outside>||<display-inside>]|<display-listitem>|<display-internal>|<display-box>|<display-legacy>|<-non-standard-display>","dominant-baseline":"auto|use-script|no-change|reset-size|ideographic|alphabetic|hanging|mathematical|central|middle|text-after-edge|text-before-edge","empty-cells":"show|hide","field-sizing":"content|fixed",fill:"<paint>","fill-opacity":"<number-zero-one>","fill-rule":"nonzero|evenodd",filter:"none|<filter-function-list>|<-ms-filter-function-list>",flex:"none|[<'flex-grow'> <'flex-shrink'>?||<'flex-basis'>]","flex-basis":"content|<'width'>","flex-direction":"row|row-reverse|column|column-reverse","flex-flow":"<'flex-direction'>||<'flex-wrap'>","flex-grow":"<number>","flex-shrink":"<number>","flex-wrap":"nowrap|wrap|wrap-reverse",float:"left|right|none|inline-start|inline-end",font:"[[<'font-style'>||<font-variant-css2>||<'font-weight'>||<font-width-css3>]? <'font-size'> [/ <'line-height'>]? <'font-family'>#]|<system-family-name>|<-non-standard-font>","font-family":"[<family-name>|<generic-family>]#","font-feature-settings":"normal|<feature-tag-value>#","font-kerning":"auto|normal|none","font-language-override":"normal|<string>","font-optical-sizing":"auto|none","font-palette":"normal|light|dark|<palette-identifier>","font-variation-settings":"normal|[<string> <number>]#","font-size":"<absolute-size>|<relative-size>|<length-percentage>","font-size-adjust":"none|[ex-height|cap-height|ch-width|ic-width|ic-height]? [from-font|<number>]","font-smooth":"auto|never|always|<absolute-size>|<length>","font-stretch":"<font-stretch-absolute>","font-style":"normal|italic|oblique <angle>?","font-synthesis":"none|[weight||style||small-caps||position]","font-synthesis-position":"auto|none","font-synthesis-small-caps":"auto|none","font-synthesis-style":"auto|none","font-synthesis-weight":"auto|none","font-variant":"normal|none|[<common-lig-values>||<discretionary-lig-values>||<historical-lig-values>||<contextual-alt-values>||stylistic( <feature-value-name> )||historical-forms||styleset( <feature-value-name># )||character-variant( <feature-value-name># )||swash( <feature-value-name> )||ornaments( <feature-value-name> )||annotation( <feature-value-name> )||[small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps]||<numeric-figure-values>||<numeric-spacing-values>||<numeric-fraction-values>||ordinal||slashed-zero||<east-asian-variant-values>||<east-asian-width-values>||ruby]","font-variant-alternates":"normal|[stylistic( <feature-value-name> )||historical-forms||styleset( <feature-value-name># )||character-variant( <feature-value-name># )||swash( <feature-value-name> )||ornaments( <feature-value-name> )||annotation( <feature-value-name> )]","font-variant-caps":"normal|small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps","font-variant-east-asian":"normal|[<east-asian-variant-values>||<east-asian-width-values>||ruby]","font-variant-emoji":"normal|text|emoji|unicode","font-variant-ligatures":"normal|none|[<common-lig-values>||<discretionary-lig-values>||<historical-lig-values>||<contextual-alt-values>]","font-variant-numeric":"normal|[<numeric-figure-values>||<numeric-spacing-values>||<numeric-fraction-values>||ordinal||slashed-zero]","font-variant-position":"normal|sub|super","font-weight":"<font-weight-absolute>|bolder|lighter","forced-color-adjust":"auto|none|preserve-parent-color",gap:"<'row-gap'> <'column-gap'>?",grid:"<'grid-template'>|<'grid-template-rows'> / [auto-flow&&dense?] <'grid-auto-columns'>?|[auto-flow&&dense?] <'grid-auto-rows'>? / <'grid-template-columns'>","grid-area":"<grid-line> [/ <grid-line>]{0,3}","grid-auto-columns":"<track-size>+","grid-auto-flow":"[row|column]||dense","grid-auto-rows":"<track-size>+","grid-column":"<grid-line> [/ <grid-line>]?","grid-column-end":"<grid-line>","grid-column-gap":"<length-percentage>","grid-column-start":"<grid-line>","grid-gap":"<'grid-row-gap'> <'grid-column-gap'>?","grid-row":"<grid-line> [/ <grid-line>]?","grid-row-end":"<grid-line>","grid-row-gap":"<length-percentage>","grid-row-start":"<grid-line>","grid-template":"none|[<'grid-template-rows'> / <'grid-template-columns'>]|[<line-names>? <string> <track-size>? <line-names>?]+ [/ <explicit-track-list>]?","grid-template-areas":"none|<string>+","grid-template-columns":"none|<track-list>|<auto-track-list>|subgrid <line-name-list>?","grid-template-rows":"none|<track-list>|<auto-track-list>|subgrid <line-name-list>?","hanging-punctuation":"none|[first||[force-end|allow-end]||last]",height:"auto|<length>|<percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )|stretch|<-non-standard-size>","hyphenate-character":"auto|<string>","hyphenate-limit-chars":"[auto|<integer>]{1,3}",hyphens:"none|manual|auto","image-orientation":"from-image|<angle>|[<angle>? flip]","image-rendering":"auto|crisp-edges|pixelated|optimizeSpeed|optimizeQuality|<-non-standard-image-rendering>","image-resolution":"[from-image||<resolution>]&&snap?","ime-mode":"auto|normal|active|inactive|disabled","initial-letter":"normal|[<number> <integer>?]","initial-letter-align":"[auto|alphabetic|hanging|ideographic]","inline-size":"<'width'>","input-security":"auto|none",inset:"<'top'>{1,4}","inset-block":"<'top'>{1,2}","inset-block-end":"<'top'>","inset-block-start":"<'top'>","inset-inline":"<'top'>{1,2}","inset-inline-end":"<'top'>","inset-inline-start":"<'top'>","interpolate-size":"numeric-only|allow-keywords",isolation:"auto|isolate","justify-content":"normal|<content-distribution>|<overflow-position>? [<content-position>|left|right]","justify-items":"normal|stretch|<baseline-position>|<overflow-position>? [<self-position>|left|right]|legacy|legacy&&[left|right|center]","justify-self":"auto|normal|stretch|<baseline-position>|<overflow-position>? [<self-position>|left|right]","justify-tracks":"[normal|<content-distribution>|<overflow-position>? [<content-position>|left|right]]#",left:"<length>|<percentage>|auto","letter-spacing":"normal|<length-percentage>","line-break":"auto|loose|normal|strict|anywhere","line-clamp":"none|<integer>","line-height":"normal|<number>|<length>|<percentage>","line-height-step":"<length>","list-style":"<'list-style-type'>||<'list-style-position'>||<'list-style-image'>","list-style-image":"<image>|none","list-style-position":"inside|outside","list-style-type":"<counter-style>|<string>|none",margin:"[<length>|<percentage>|auto]{1,4}","margin-block":"<'margin-left'>{1,2}","margin-block-end":"<'margin-left'>","margin-block-start":"<'margin-left'>","margin-bottom":"<length>|<percentage>|auto","margin-inline":"<'margin-left'>{1,2}","margin-inline-end":"<'margin-left'>","margin-inline-start":"<'margin-left'>","margin-left":"<length>|<percentage>|auto","margin-right":"<length>|<percentage>|auto","margin-top":"<length>|<percentage>|auto","margin-trim":"none|in-flow|all",marker:"none|<url>","marker-end":"none|<url>","marker-mid":"none|<url>","marker-start":"none|<url>",mask:"<mask-layer>#","mask-border":"<'mask-border-source'>||<'mask-border-slice'> [/ <'mask-border-width'>? [/ <'mask-border-outset'>]?]?||<'mask-border-repeat'>||<'mask-border-mode'>","mask-border-mode":"luminance|alpha","mask-border-outset":"[<length>|<number>]{1,4}","mask-border-repeat":"[stretch|repeat|round|space]{1,2}","mask-border-slice":"<number-percentage>{1,4} fill?","mask-border-source":"none|<image>","mask-border-width":"[<length-percentage>|<number>|auto]{1,4}","mask-clip":"[<geometry-box>|no-clip]#","mask-composite":"<compositing-operator>#","mask-image":"<mask-reference>#","mask-mode":"<masking-mode>#","mask-origin":"<geometry-box>#","mask-position":"<position>#","mask-repeat":"<repeat-style>#","mask-size":"<bg-size>#","mask-type":"luminance|alpha","masonry-auto-flow":"[pack|next]||[definite-first|ordered]","math-depth":"auto-add|add( <integer> )|<integer>","math-shift":"normal|compact","math-style":"normal|compact","max-block-size":"<'max-width'>","max-height":"none|<length-percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )|stretch|<-non-standard-size>","max-inline-size":"<'max-width'>","max-lines":"none|<integer>","max-width":"none|<length-percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )|stretch|<-non-standard-size>","min-block-size":"<'min-width'>","min-height":"auto|<length>|<percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )|stretch|<-non-standard-size>","min-inline-size":"<'min-width'>","min-width":"auto|<length>|<percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )|stretch|<-non-standard-size>","mix-blend-mode":"<blend-mode>|plus-lighter","object-fit":"fill|contain|cover|none|scale-down","object-position":"<position>",offset:"[<'offset-position'>? [<'offset-path'> [<'offset-distance'>||<'offset-rotate'>]?]?]! [/ <'offset-anchor'>]?","offset-anchor":"auto|<position>","offset-distance":"<length-percentage>","offset-path":"none|<offset-path>||<coord-box>","offset-position":"normal|auto|<position>","offset-rotate":"[auto|reverse]||<angle>",opacity:"<alpha-value>",order:"<integer>",orphans:"<integer>",outline:"[<'outline-width'>||<'outline-style'>||<'outline-color'>]","outline-color":"auto|<color>","outline-offset":"<length>","outline-style":"auto|<'border-style'>","outline-width":"<line-width>",overflow:"[visible|hidden|clip|scroll|auto]{1,2}|<-non-standard-overflow>","overflow-anchor":"auto|none","overflow-block":"visible|hidden|clip|scroll|auto","overflow-clip-box":"padding-box|content-box","overflow-clip-margin":"<visual-box>||<length [0,∞]>","overflow-inline":"visible|hidden|clip|scroll|auto","overflow-wrap":"normal|break-word|anywhere","overflow-x":"visible|hidden|clip|scroll|auto","overflow-y":"visible|hidden|clip|scroll|auto",overlay:"none|auto","overscroll-behavior":"[contain|none|auto]{1,2}","overscroll-behavior-block":"contain|none|auto","overscroll-behavior-inline":"contain|none|auto","overscroll-behavior-x":"contain|none|auto","overscroll-behavior-y":"contain|none|auto",padding:"[<length>|<percentage>]{1,4}","padding-block":"<'padding-left'>{1,2}","padding-block-end":"<'padding-left'>","padding-block-start":"<'padding-left'>","padding-bottom":"<length>|<percentage>","padding-inline":"<'padding-left'>{1,2}","padding-inline-end":"<'padding-left'>","padding-inline-start":"<'padding-left'>","padding-left":"<length>|<percentage>","padding-right":"<length>|<percentage>","padding-top":"<length>|<percentage>",page:"auto|<custom-ident>","page-break-after":"auto|always|avoid|left|right|recto|verso","page-break-before":"auto|always|avoid|left|right|recto|verso","page-break-inside":"auto|avoid","paint-order":"normal|[fill||stroke||markers]",perspective:"none|<length>","perspective-origin":"<position>","place-content":"<'align-content'> <'justify-content'>?","place-items":"<'align-items'> <'justify-items'>?","place-self":"<'align-self'> <'justify-self'>?","pointer-events":"auto|none|visiblePainted|visibleFill|visibleStroke|visible|painted|fill|stroke|all|inherit",position:"static|relative|absolute|sticky|fixed|-webkit-sticky","position-anchor":"auto|<anchor-name>","position-area":"none|<position-area>","position-try":"<'position-try-order'>? <'position-try-fallbacks'>","position-try-fallbacks":"none|[[<dashed-ident>||<try-tactic>]|<'position-area'>]#","position-try-order":"normal|<try-size>","position-visibility":"always|[anchors-valid||anchors-visible||no-overflow]","print-color-adjust":"economy|exact",quotes:"none|auto|[<string> <string>]+",r:"<length>|<percentage>",resize:"none|both|horizontal|vertical|block|inline",right:"<length>|<percentage>|auto",rotate:"none|<angle>|[x|y|z|<number>{3}]&&<angle>","row-gap":"normal|<length-percentage>","ruby-align":"start|center|space-between|space-around","ruby-merge":"separate|collapse|auto","ruby-position":"[alternate||[over|under]]|inter-character",rx:"<length>|<percentage>",ry:"<length>|<percentage>",scale:"none|[<number>|<percentage>]{1,3}","scrollbar-color":"auto|<color>{2}","scrollbar-gutter":"auto|stable&&both-edges?","scrollbar-width":"auto|thin|none","scroll-behavior":"auto|smooth","scroll-margin":"<length>{1,4}","scroll-margin-block":"<length>{1,2}","scroll-margin-block-start":"<length>","scroll-margin-block-end":"<length>","scroll-margin-bottom":"<length>","scroll-margin-inline":"<length>{1,2}","scroll-margin-inline-start":"<length>","scroll-margin-inline-end":"<length>","scroll-margin-left":"<length>","scroll-margin-right":"<length>","scroll-margin-top":"<length>","scroll-padding":"[auto|<length-percentage>]{1,4}","scroll-padding-block":"[auto|<length-percentage>]{1,2}","scroll-padding-block-start":"auto|<length-percentage>","scroll-padding-block-end":"auto|<length-percentage>","scroll-padding-bottom":"auto|<length-percentage>","scroll-padding-inline":"[auto|<length-percentage>]{1,2}","scroll-padding-inline-start":"auto|<length-percentage>","scroll-padding-inline-end":"auto|<length-percentage>","scroll-padding-left":"auto|<length-percentage>","scroll-padding-right":"auto|<length-percentage>","scroll-padding-top":"auto|<length-percentage>","scroll-snap-align":"[none|start|end|center]{1,2}","scroll-snap-coordinate":"none|<position>#","scroll-snap-destination":"<position>","scroll-snap-points-x":"none|repeat( <length-percentage> )","scroll-snap-points-y":"none|repeat( <length-percentage> )","scroll-snap-stop":"normal|always","scroll-snap-type":"none|[x|y|block|inline|both] [mandatory|proximity]?","scroll-snap-type-x":"none|mandatory|proximity","scroll-snap-type-y":"none|mandatory|proximity","scroll-timeline":"[<'scroll-timeline-name'>||<'scroll-timeline-axis'>]#","scroll-timeline-axis":"[block|inline|x|y]#","scroll-timeline-name":"[none|<dashed-ident>]#","shape-image-threshold":"<alpha-value>","shape-margin":"<length-percentage>","shape-outside":"none|[<shape-box>||<basic-shape>]|<image>","shape-rendering":"auto|optimizeSpeed|crispEdges|geometricPrecision",stroke:"<paint>","stroke-dasharray":"none|[<svg-length>+]#","stroke-dashoffset":"<svg-length>","stroke-linecap":"butt|round|square","stroke-linejoin":"miter|round|bevel","stroke-miterlimit":"<number-one-or-greater>","stroke-opacity":"<'opacity'>","stroke-width":"<svg-length>","tab-size":"<integer>|<length>","table-layout":"auto|fixed","text-align":"start|end|left|right|center|justify|match-parent","text-align-last":"auto|start|end|left|right|center|justify","text-anchor":"start|middle|end","text-combine-upright":"none|all|[digits <integer>?]","text-decoration":"<'text-decoration-line'>||<'text-decoration-style'>||<'text-decoration-color'>||<'text-decoration-thickness'>","text-decoration-color":"<color>","text-decoration-line":"none|[underline||overline||line-through||blink]|spelling-error|grammar-error","text-decoration-skip":"none|[objects||[spaces|[leading-spaces||trailing-spaces]]||edges||box-decoration]","text-decoration-skip-ink":"auto|all|none","text-decoration-style":"solid|double|dotted|dashed|wavy","text-decoration-thickness":"auto|from-font|<length>|<percentage>","text-emphasis":"<'text-emphasis-style'>||<'text-emphasis-color'>","text-emphasis-color":"<color>","text-emphasis-position":"auto|[over|under]&&[right|left]?","text-emphasis-style":"none|[[filled|open]||[dot|circle|double-circle|triangle|sesame]]|<string>","text-indent":"<length-percentage>&&hanging?&&each-line?","text-justify":"auto|inter-character|inter-word|none","text-orientation":"mixed|upright|sideways","text-overflow":"[clip|ellipsis|<string>]{1,2}","text-rendering":"auto|optimizeSpeed|optimizeLegibility|geometricPrecision","text-shadow":"none|<shadow-t>#","text-size-adjust":"none|auto|<percentage>","text-spacing-trim":"space-all|normal|space-first|trim-start|trim-both|trim-all|auto","text-transform":"none|capitalize|uppercase|lowercase|full-width|full-size-kana","text-underline-offset":"auto|<length>|<percentage>","text-underline-position":"auto|from-font|[under||[left|right]]","text-wrap":"<'text-wrap-mode'>||<'text-wrap-style'>","text-wrap-mode":"auto|wrap|nowrap","text-wrap-style":"auto|balance|stable|pretty","timeline-scope":"none|<dashed-ident>#",top:"<length>|<percentage>|auto","touch-action":"auto|none|[[pan-x|pan-left|pan-right]||[pan-y|pan-up|pan-down]||pinch-zoom]|manipulation",transform:"none|<transform-list>","transform-box":"content-box|border-box|fill-box|stroke-box|view-box","transform-origin":"[<length-percentage>|left|center|right|top|bottom]|[[<length-percentage>|left|center|right]&&[<length-percentage>|top|center|bottom]] <length>?","transform-style":"flat|preserve-3d",transition:"<single-transition>#","transition-behavior":"<transition-behavior-value>#","transition-delay":"<time>#","transition-duration":"<time>#","transition-property":"none|<single-transition-property>#","transition-timing-function":"<easing-function>#",translate:"none|<length-percentage> [<length-percentage> <length>?]?","unicode-bidi":"normal|embed|isolate|bidi-override|isolate-override|plaintext|-moz-isolate|-moz-isolate-override|-moz-plaintext|-webkit-isolate|-webkit-isolate-override|-webkit-plaintext","user-select":"auto|text|none|contain|all","vector-effect":"none|non-scaling-stroke|non-scaling-size|non-rotation|fixed-position","vertical-align":"baseline|sub|super|text-top|text-bottom|middle|top|bottom|<percentage>|<length>","view-timeline":"[<'view-timeline-name'> <'view-timeline-axis'>?]#","view-timeline-axis":"[block|inline|x|y]#","view-timeline-inset":"[[auto|<length-percentage>]{1,2}]#","view-timeline-name":"none|<dashed-ident>#","view-transition-name":"none|<custom-ident>",visibility:"visible|hidden|collapse","white-space":"normal|pre|nowrap|pre-wrap|pre-line|break-spaces|[<'white-space-collapse'>||<'text-wrap'>||<'white-space-trim'>]","white-space-collapse":"collapse|discard|preserve|preserve-breaks|preserve-spaces|break-spaces",widows:"<integer>",width:"auto|<length>|<percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )|stretch|<-non-standard-size>","will-change":"auto|<animateable-feature>#","word-break":"normal|break-all|keep-all|break-word|auto-phrase","word-spacing":"normal|<length>","word-wrap":"normal|break-word","writing-mode":"horizontal-tb|vertical-rl|vertical-lr|sideways-rl|sideways-lr|<svg-writing-mode>",x:"<length>|<percentage>",y:"<length>|<percentage>","z-index":"auto|<integer>",zoom:"normal|reset|<number>|<percentage>","-moz-background-clip":"padding|border","-moz-border-radius-bottomleft":"<'border-bottom-left-radius'>","-moz-border-radius-bottomright":"<'border-bottom-right-radius'>","-moz-border-radius-topleft":"<'border-top-left-radius'>","-moz-border-radius-topright":"<'border-bottom-right-radius'>","-moz-control-character-visibility":"visible|hidden","-moz-osx-font-smoothing":"auto|grayscale","-moz-user-select":"none|text|all|-moz-none","-ms-flex-align":"start|end|center|baseline|stretch","-ms-flex-item-align":"auto|start|end|center|baseline|stretch","-ms-flex-line-pack":"start|end|center|justify|distribute|stretch","-ms-flex-negative":"<'flex-shrink'>","-ms-flex-pack":"start|end|center|justify|distribute","-ms-flex-order":"<integer>","-ms-flex-positive":"<'flex-grow'>","-ms-flex-preferred-size":"<'flex-basis'>","-ms-interpolation-mode":"nearest-neighbor|bicubic","-ms-grid-column-align":"start|end|center|stretch","-ms-grid-row-align":"start|end|center|stretch","-ms-hyphenate-limit-last":"none|always|column|page|spread","-webkit-background-clip":"[<box>|border|padding|content|text]#","-webkit-column-break-after":"always|auto|avoid","-webkit-column-break-before":"always|auto|avoid","-webkit-column-break-inside":"always|auto|avoid","-webkit-font-smoothing":"auto|none|antialiased|subpixel-antialiased","-webkit-mask-box-image":"[<url>|<gradient>|none] [<length-percentage>{4} <-webkit-mask-box-repeat>{2}]?","-webkit-print-color-adjust":"economy|exact","-webkit-text-security":"none|circle|disc|square","-webkit-user-drag":"none|element|auto","-webkit-user-select":"auto|none|text|all","alignment-baseline":"auto|baseline|before-edge|text-before-edge|middle|central|after-edge|text-after-edge|ideographic|alphabetic|hanging|mathematical","baseline-shift":"baseline|sub|super|<svg-length>",behavior:"<url>+",cue:"<'cue-before'> <'cue-after'>?","cue-after":"<url> <decibel>?|none","cue-before":"<url> <decibel>?|none","glyph-orientation-horizontal":"<angle>","glyph-orientation-vertical":"<angle>",kerning:"auto|<svg-length>",pause:"<'pause-before'> <'pause-after'>?","pause-after":"<time>|none|x-weak|weak|medium|strong|x-strong","pause-before":"<time>|none|x-weak|weak|medium|strong|x-strong",rest:"<'rest-before'> <'rest-after'>?","rest-after":"<time>|none|x-weak|weak|medium|strong|x-strong","rest-before":"<time>|none|x-weak|weak|medium|strong|x-strong",src:"[<url> [format( <string># )]?|local( <family-name> )]#",speak:"auto|never|always","speak-as":"normal|spell-out||digits||[literal-punctuation|no-punctuation]","unicode-range":"<urange>#","voice-balance":"<number>|left|center|right|leftwards|rightwards","voice-duration":"auto|<time>","voice-family":"[[<family-name>|<generic-voice>] ,]* [<family-name>|<generic-voice>]|preserve","voice-pitch":"<frequency>&&absolute|[[x-low|low|medium|high|x-high]||[<frequency>|<semitones>|<percentage>]]","voice-range":"<frequency>&&absolute|[[x-low|low|medium|high|x-high]||[<frequency>|<semitones>|<percentage>]]","voice-rate":"[normal|x-slow|slow|medium|fast|x-fast]||<percentage>","voice-stress":"normal|strong|moderate|none|reduced","voice-volume":"silent|[[x-soft|soft|medium|loud|x-loud]||<decibel>]","white-space-trim":"none|discard-before||discard-after||discard-inner"},atrules:{charset:{prelude:"<string>",descriptors:null},"counter-style":{prelude:"<counter-style-name>",descriptors:{"additive-symbols":"[<integer>&&<symbol>]#",fallback:"<counter-style-name>",negative:"<symbol> <symbol>?",pad:"<integer>&&<symbol>",prefix:"<symbol>",range:"[[<integer>|infinite]{2}]#|auto","speak-as":"auto|bullets|numbers|words|spell-out|<counter-style-name>",suffix:"<symbol>",symbols:"<symbol>+",system:"cyclic|numeric|alphabetic|symbolic|additive|[fixed <integer>?]|[extends <counter-style-name>]"}},document:{prelude:"[<url>|url-prefix( <string> )|domain( <string> )|media-document( <string> )|regexp( <string> )]#",descriptors:null},"font-palette-values":{prelude:"<dashed-ident>",descriptors:{"base-palette":"light|dark|<integer [0,∞]>","font-family":"<family-name>#","override-colors":"[<integer [0,∞]> <absolute-color-base>]#"}},"font-face":{prelude:null,descriptors:{"ascent-override":"normal|<percentage>","descent-override":"normal|<percentage>","font-display":"[auto|block|swap|fallback|optional]","font-family":"<family-name>","font-feature-settings":"normal|<feature-tag-value>#","font-variation-settings":"normal|[<string> <number>]#","font-stretch":"<font-stretch-absolute>{1,2}","font-style":"normal|italic|oblique <angle>{0,2}","font-weight":"<font-weight-absolute>{1,2}","line-gap-override":"normal|<percentage>","size-adjust":"<percentage>",src:"[<url> [format( <string># )]?|local( <family-name> )]#","unicode-range":"<urange>#"}},"font-feature-values":{prelude:"<family-name>#",descriptors:null},import:{prelude:"[<string>|<url>] [layer|layer( <layer-name> )]? [supports( [<supports-condition>|<declaration>] )]? <media-query-list>?",descriptors:null},keyframes:{prelude:"<keyframes-name>",descriptors:null},layer:{prelude:"[<layer-name>#|<layer-name>?]",descriptors:null},media:{prelude:"<media-query-list>",descriptors:null},namespace:{prelude:"<namespace-prefix>? [<string>|<url>]",descriptors:null},page:{prelude:"<page-selector-list>",descriptors:{bleed:"auto|<length>",marks:"none|[crop||cross]","page-orientation":"upright|rotate-left|rotate-right",size:"<length>{1,2}|auto|[<page-size>||[portrait|landscape]]"}},"position-try":{prelude:"<dashed-ident>",descriptors:{top:"<'top'>",left:"<'left'>",bottom:"<'bottom'>",right:"<'right'>","inset-block-start":"<'inset-block-start'>","inset-block-end":"<'inset-block-end'>","inset-inline-start":"<'inset-inline-start'>","inset-inline-end":"<'inset-inline-end'>","inset-block":"<'inset-block'>","inset-inline":"<'inset-inline'>",inset:"<'inset'>","margin-top":"<'margin-top'>","margin-left":"<'margin-left'>","margin-bottom":"<'margin-bottom'>","margin-right":"<'margin-right'>","margin-block-start":"<'margin-block-start'>","margin-block-end":"<'margin-block-end'>","margin-inline-start":"<'margin-inline-start'>","margin-inline-end":"<'margin-inline-end'>",margin:"<'margin'>","margin-block":"<'margin-block'>","margin-inline":"<'margin-inline'>",width:"<'width'>",height:"<'height'>","min-width":"<'min-width'>","min-height":"<'min-height'>","max-width":"<'max-width'>","max-height":"<'max-height'>","block-size":"<'block-size'>","inline-size":"<'inline-size'>","min-block-size":"<'min-block-size'>","min-inline-size":"<'min-inline-size'>","max-block-size":"<'max-block-size'>","max-inline-size":"<'max-inline-size'>","align-self":"<'align-self'>|anchor-center","justify-self":"<'justify-self'>|anchor-center"}},property:{prelude:"<custom-property-name>",descriptors:{syntax:"<string>",inherits:"true|false","initial-value":"<declaration-value>?"}},scope:{prelude:"[( <scope-start> )]? [to ( <scope-end> )]?",descriptors:null},"starting-style":{prelude:null,descriptors:null},supports:{prelude:"<supports-condition>",descriptors:null},container:{prelude:"[<container-name>]? <container-condition>",descriptors:null},nest:{prelude:"<complex-selector-list>",descriptors:null}},node:Af};function Of(e){switch(this.tokenType){case 4:return this.Hash();case Qs:return this.Operator();case tl:return this.Parentheses(this.readSequence,e.recognizer);case Js:return this.Brackets(this.readSequence,e.recognizer);case 5:return this.String();case Xs:return this.Dimension();case Hs:return this.Percentage();case Vs:return this.Number();case 2:return this.cmpStr(this.tokenStart,this.tokenEnd,"url(")?this.Url():this.Function(this.readSequence,e.recognizer);case 7:return this.Url();case 1:return this.cmpChar(this.tokenStart,117)&&this.cmpChar(this.tokenStart+1,43)?this.UnicodeRange():this.Identifier();case 9:{const e=this.charCodeAt(this.tokenStart);if(47===e||42===e||43===e||45===e)return this.Operator();35===e&&this.error("Hex or identifier is expected",this.tokenStart+1);break}}}const _f={getNode:Of};const Lf={onWhiteSpace:function(e,t){null!==t.last&&"Combinator"!==t.last.type&&null!==e&&"Combinator"!==e.type&&t.push({type:"Combinator",loc:null,name:" "})},getNode:function(){switch(this.tokenType){case Js:return this.AttributeSelector();case 4:return this.IdSelector();case Ks:return this.lookupType(1)===Ks?this.PseudoElementSelector():this.PseudoClassSelector();case 1:return this.TypeSelector();case Vs:case Hs:return this.Percentage();case Xs:46===this.charCodeAt(this.tokenStart)&&this.error("Identifier is expected",this.tokenStart+1);break;case 9:switch(this.charCodeAt(this.tokenStart)){case 43:case 62:case 126:case 47:return this.Combinator();case 46:return this.ClassSelector();case 42:case 124:return this.TypeSelector();case 35:return this.IdSelector();case 38:return this.NestingSelector()}break}}};function Tf(e){return null!==e&&"Operator"===e.type&&("-"===e.value[e.value.length-1]||"+"===e.value[e.value.length-1])}const Mf={getNode:Of,onWhiteSpace(e,t){Tf(e)&&(e.value=" "+e.value),Tf(t.last)&&(t.last.value+=" ")},expression:function(){return this.createSingleNodeList(this.Raw(null,!1))},var:function(){const e=this.createList();if(this.skipSC(),e.push(this.Identifier()),this.skipSC(),this.tokenType===Qs){e.push(this.Operator());const t=this.tokenIndex,n=this.parseCustomProperty?this.Value(null):this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!1);if("Value"===n.type&&n.children.isEmpty)for(let e=t-this.tokenIndex;e<=0;e++)if(this.lookupType(e)===Ys){n.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}e.push(n)}return e}},Pf=Object.freeze(Object.defineProperty({__proto__:null,AtrulePrelude:_f,Selector:Lf,Value:Mf},Symbol.toStringTag,{value:"Module"})),Bf=new Set(["none","and","not","or"]),Rf={parse:{prelude(){const e=this.createList();if(1===this.tokenType){const t=this.substring(this.tokenStart,this.tokenEnd);Bf.has(t.toLowerCase())||e.push(this.Identifier())}return e.push(this.Condition("container")),e},block(e=!1){return this.Block(e)}}},Ff={parse:{prelude:null,block(){return this.Block(!0)}}};function If(e,t){return this.parseWithFallback(()=>{try{return e.call(this)}finally{this.skipSC(),this.lookupNonWSType(0)!==nl&&this.error()}},t||(()=>this.Raw(null,!0)))}const Nf={layer(){this.skipSC();const e=this.createList(),t=If.call(this,this.Layer);return"Raw"===t.type&&""===t.value||e.push(t),e},supports(){this.skipSC();const e=this.createList(),t=If.call(this,this.Declaration,()=>If.call(this,()=>this.Condition("supports")));return"Raw"===t.type&&""===t.value||e.push(t),e}},Uf={container:Rf,"font-face":Ff,import:{parse:{prelude(){const e=this.createList();switch(this.tokenType){case 5:e.push(this.String());break;case 7:case 2:e.push(this.Url());break;default:this.error("String or url() is expected")}return this.skipSC(),1===this.tokenType&&this.cmpStr(this.tokenStart,this.tokenEnd,"layer")?e.push(this.Identifier()):2===this.tokenType&&this.cmpStr(this.tokenStart,this.tokenEnd,"layer(")&&e.push(this.Function(null,Nf)),this.skipSC(),2===this.tokenType&&this.cmpStr(this.tokenStart,this.tokenEnd,"supports(")&&e.push(this.Function(null,Nf)),1!==this.lookupNonWSType(0)&&this.lookupNonWSType(0)!==tl||e.push(this.MediaQueryList()),e},block:null}},layer:{parse:{prelude(){return this.createSingleNodeList(this.LayerList())},block(){return this.Block(!1)}}},media:{parse:{prelude(){return this.createSingleNodeList(this.MediaQueryList())},block(e=!1){return this.Block(e)}}},nest:{parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}},page:{parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}},scope:{parse:{prelude(){return this.createSingleNodeList(this.Scope())},block(e=!1){return this.Block(e)}}},"starting-style":{parse:{prelude:null,block(e=!1){return this.Block(e)}}},supports:{parse:{prelude(){return this.createSingleNodeList(this.Condition("supports"))},block(e=!1){return this.Block(e)}}}};const Df={parse(){return this.createSingleNodeList(this.SelectorList())}},Wf={parse(){return this.createSingleNodeList(this.Selector())}},qf={parse(){return this.createSingleNodeList(this.Identifier())}},Vf={parse:function(){const e=this.createList();this.skipSC();e:for(;!this.eof;){switch(this.tokenType){case 1:e.push(this.Identifier());break;case 5:e.push(this.String());break;case Qs:e.push(this.Operator());break;case nl:break e;default:this.error("Identifier, string or comma is expected")}this.skipSC()}return e}},Hf={parse(){return this.createSingleNodeList(this.Nth())}},Xf={dir:qf,has:Df,lang:Vf,matches:Df,is:Df,"-moz-any":Df,"-webkit-any":Df,where:Df,not:Df,"nth-child":Hf,"nth-last-child":Hf,"nth-last-of-type":Hf,"nth-of-type":Hf,slotted:Wf,host:Wf,"host-context":Wf},Yf=Object.freeze(Object.defineProperty({__proto__:null,AnPlusB:Op,Atrule:Pp,AtrulePrelude:Rp,AttributeSelector:Dp,Block:Yp,Brackets:Kp,CDC:Qp,CDO:ed,ClassSelector:rd,Combinator:ad,Comment:cd,Condition:md,Declaration:vd,DeclarationList:Cd,Dimension:Ed,Feature:Ld,FeatureFunction:Bd,FeatureRange:Ud,Function:qd,GeneralEnclosed:Xd,Hash:Kd,IdSelector:nh,Identifier:Jd,Layer:ih,LayerList:sh,MediaQuery:uh,MediaQueryList:dh,NestingSelector:fh,Nth:gh,Number:kh,Operator:xh,Parentheses:Sh,Percentage:jh,PseudoClassSelector:Oh,PseudoElementSelector:Th,Ratio:Bh,Raw:Nh,Rule:qh,Scope:Hh,Selector:Yh,SelectorList:Kh,String:ef,StyleSheet:rf,SupportsDeclaration:af,TypeSelector:uf,UnicodeRange:bf,Url:wf,Value:xf,WhiteSpace:Cf},Symbol.toStringTag,{value:"Module"})),Gf=wp(kp({},{...Ef,...{parseContext:{default:"StyleSheet",stylesheet:"StyleSheet",atrule:"Atrule",atrulePrelude(e){return this.AtrulePrelude(e.atrule?String(e.atrule):null)},mediaQueryList:"MediaQueryList",mediaQuery:"MediaQuery",condition(e){return this.Condition(e.kind)},rule:"Rule",selectorList:"SelectorList",selector:"Selector",block(){return this.Block(!0)},declarationList:"DeclarationList",declaration:"Declaration",value:"Value"},features:{supports:{selector(){return this.Selector()}},container:{style(){return this.Declaration()}}},scope:Pf,atrule:Uf,pseudo:Xf,node:Yf},...{node:Af}}));function Kf(e){const t={};for(const n of Object.keys(e)){let r=e[n];r&&(Array.isArray(r)||r instanceof Wl?r=r.map(Kf):r.constructor===Object&&(r=Kf(r))),t[n]=r}return t}const{tokenize:Zf,parse:Qf,generate:Jf,lexer:em,createLexer:tm,walk:nm,find:rm,findLast:om,findAll:im,toPlainObject:am,fromPlainObject:sm,fork:lm}=Gf;async function cm(e,t){const{code:n,uno:r,options:o,filename:i}=e;await Promise.all(t.block.children.map(async a=>{if("Raw"===a.type)return hm(n,r,o,i,a.value,a.loc.start.offset);await async function({code:e,uno:t,applyVariable:n},r,o){const i=e.original;let a;if("Atrule"===o.type&&"apply"===o.name&&o.prelude&&"Raw"===o.prelude.type)a=um(o.prelude.value.trim());else if("Declaration"===o.type&&n.includes(o.property)&&("Value"===o.value.type||"Raw"===o.value.type)){let e=i.slice(o.value.loc.start.offset,o.value.loc.end.offset).trim();e=um(e),a=e.split(/\s+/g).filter(Boolean).map(e=>um(e)).join(" ")}if(!a)return;s=a,a=s.replace(/(\/\*(?:.|\n)*?\*\/)|(\/\/.*)/g,"");var s;const l=V(a).split(/\s+/g).map(e=>e.trim().replace(/\\/,"")),c=(await Promise.all(l.map(e=>t.parseToken(e,"-")))).filter(_).flat().sort((e,t)=>e[0]-t[0]).sort((e,n)=>(e[3]?t.parentOrders.get(e[3])??0:0)-(n[3]?t.parentOrders.get(n[3])??0:0)).reduce((e,t)=>{const n=e.find(e=>e[1]===t[1]&&e[3]===t[3]);return n?n[2]+=t[2]:e.push([...t]),e},[]);if(!c.length)return;let u=";"===i[o.loc.end.offset]?1:"@"===i[o.loc.end.offset]?-1:0;for(const p of c){const[,t,n,a,s]=p,l=t?.replace(ne," ")||t;if(a||l&&".\\-"!==l||s?.noMerge){let t=Jf(r.prelude);const o=e.slice(r.prelude.loc.start.offset,r.prelude.loc.end.offset);if(s?.noMerge)t=l;else if(l&&".\\-"!==l){const e=Qf(`${l}{}`,{context:"rule"}),n=Kf(r.prelude);n.children?.forEach(t=>{const n=Kf(e.prelude),r=new Wl;n?.children?.forEach(e=>{r.appendList(e?.children?.filter(e=>"ClassSelector"===e.type&&"\\-"===e.name))}),r.forEach(e=>Object.assign(e,Kf(t))),Object.assign(t,n)}),t=Jf(n)}let i=`${t.includes(".\\-")?o.split(",").map(e=>t.replace(/.\\-/g,e.trim())).join(","):t}{${n}}`;if(a)if(a.includes(" $$ ")){const[e,...t]=a.split(" $$ ").reverse();i=`${t.reduce((e,n,r)=>r===t.length-1?`${e}{${n}{${i}}}${"}".repeat(r)}`:`${e}{${n}`,e)}`}else i=".\\-"===a?`${o}{${i}}`:`${a}{${i}}`;u=0,e.appendLeft(r.loc.end.offset,i)}else n.includes("@")?e.appendRight(i.length,n):e.appendRight(o.loc.end.offset+u,n)}e.remove(o.loc.start.offset,o.loc.end.offset+u)}(e,t,a)}).toArray())}function um(e){return e.replace(/^(['"])(.*)\1$/,"$2")}async function pm({code:e,uno:t,options:n},r){const{throwOnMissing:o=!0}=n;switch(r.name){case"theme":{if(!r.children.size)throw new Error("theme() expect exact one argument");if("String"!==r.children.first.type)throw new Error("theme() expect a string argument");let n;if(r.children.size>1){const e=r.children.toArray().slice(1);if("Operator"!==e[0].type||","!==e[0].value)throw new Error("theme() expect a comma between expression string and default value");e.length>1&&(n=[e[1].loc.start.offset,r.children.last.loc.end.offset])}let i=Nt(r.children.first.value,t.config.theme,!n&&o);!i&&n&&(i=e.slice(n[0],n[1])),i&&e.overwrite(r.loc.start.offset,r.loc.end.offset,i);break}case"icon":{const n=r.children.toArray().filter(e=>"String"===e.type).map(e=>e.value);if(0===n.length)throw new Error("icon() expects at least one argument");let[i,a]=n;a&&(a=encodeURIComponent(It(a,t.config.theme,o)));const s=await async function(e,t,n){const r=e.config.presets?.flat()?.find(e=>"@unocss/preset-icons"===e.name);if(!r)return void console.warn("@unocss/preset-icons not found, icon() directive will be keep as-is");const{scale:o=1,prefix:i="i-",collections:a,customizations:s={},autoInstall:l=!1,iconifyCollectionsNames:c,collectionsNodeResolvePath:u,unit:p}=r.options,d=r.api,h={addXmlNs:!0,scale:o,customCollections:a,autoInstall:l,cwd:u,warn:void 0,customizations:{...s,trimCustomSvg:!0,async iconCustomizer(e,t,n){await(s.iconCustomizer?.(e,t,n)),p&&(n.width||(n.width=`${o}${p}`),n.height||(n.height=`${o}${p}`))}}},f=await(d.createNodeLoader?.())||(async()=>{});for(const m of g(i))if(t.startsWith(m)){t=t.slice(m.length);const e=await d.parseIconWithLoader(t,f,h,c);if(e)return`url("data:image/svg+xml;utf8,${n?d.encodeSvgForCss(e.svg).replace(/currentcolor/gi,n):d.encodeSvgForCss(e.svg)}")`}}(t,i,a);s&&e.overwrite(r.loc.start.offset,r.loc.end.offset,s);break}}}const dm=/(@screen [^{]+)(.+)/g;async function hm(e,t,n,r,o,i){let{applyVariable:a}=n;const s=n.varStyle;void 0===a&&(void 0!==s&&(a=s?[`${s}apply`]:[]),a=["--at-apply","--uno-apply","--uno"]),a=g(a||[]);const l=e=>e.includes("@apply")||a.some(t=>e.includes(t)),c=o||e.original,u=l(c),p=c.includes("@screen"),d=Ft(c)||(h=c).includes("icon(")&&h.includes(")");var h;if(!u&&!d&&!p)return;const f=Qf(c,{parseCustomProperty:!0,parseAtrulePrelude:!1,positions:!0,filename:r,offset:i});if("StyleSheet"!==f.type)return;const m=[],b={options:n,applyVariable:a,uno:t,code:e,filename:r},y=async(e,t,n)=>{p&&"Atrule"===e.type&&"screen"===e.name?function({code:e,uno:t},n){let r="",o="";if("Raw"===n.prelude?.type&&(r=n.prelude.value.trim()),!r)return;const i=r.match(/^(?:(lt|at)-)?(\w+)$/);i&&(o=i[1],r=i[2]);const a=((()=>{const e=t.config.presets.some(e=>"@unocss/preset-wind4"===e.name)?"breakpoint":"breakpoints",n=t.config.theme[e];return n?Object.entries(n).sort((e,t)=>Number.parseInt(e[1].replace(/[a-z]+/gi,""))-Number.parseInt(t[1].replace(/[a-z]+/gi,""))).map(([e,t])=>({point:e,size:t})):void 0})()??[]).map(({point:e,size:t},n)=>[e,t,n]),s=(e,t)=>{const[,n,r]=a.find(t=>t[0]===e);if(t){if("lt"===t)return`@media (max-width: ${Ut(n)})`;if("at"===t)return`@media (min-width: ${n})${a[r+1]?` and (max-width: ${Ut(a[r+1][1])})`:""}`;throw new Error(`breakpoint variant not supported: ${t}`)}return`@media (min-width: ${n})`};if(!a.find(e=>e[0]===r))throw new Error(`breakpoint ${r} not found`);const l=n.loc.start.offset,c=e.original.slice(l,n.loc.end.offset),u=Array.from(c.matchAll(dm));if(u.length)for(const p of u)e.overwrite(l+p.index,l+p.index+p[1].length,`${s(r,o)}`)}(b,e):"Function"===e.type?await pm(b,e):u&&"Rule"===e.type&&await cm(b,e)};nm(f,(...e)=>m.push(y(...e))),await Promise.all(m);const k=e.toString();if(!l(k)){const t=k.replace(/([^{}]+)\{\s*\}\s*/g,(e,t)=>/^[\s\w\-.,#:[\]=*"'>~+^$|()\\]+$/.test(t.trim())?"":e);t!==k&&e.update(0,e.original.length,t)}}function fm(e={}){return{name:"@unocss/transformer-directives",enforce:e?.enforce,idFilter:e=>C.test(e),transform:(t,n,r)=>hm(t,r.uno,e,n)}}export{xt as M,t as a,l as b,ke as c,et as d,ct as e,Ye as f,e as g,An as h,gn as i,qs as j,Is as p,fm as t};