@skaldapp/runtime 3.0.31 → 3.0.32

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,2 +0,0 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./ofetch-D6MCZ1Yg.js","./vue-x-to-nK5.js"])))=>i.map(i=>d[i]);
2
- for(var e={},t={byteLength:function(e){var t=s(e),n=t[0],r=t[1];return 3*(n+r)/4-r},toByteArray:function(e){var t,n,i=s(e),a=i[0],l=i[1],c=new o(function(e,t,n){return 3*(t+n)/4-n}(0,a,l)),u=0,p=l>0?a-4:a;for(n=0;n<p;n+=4)t=r[e.charCodeAt(n)]<<18|r[e.charCodeAt(n+1)]<<12|r[e.charCodeAt(n+2)]<<6|r[e.charCodeAt(n+3)],c[u++]=t>>16&255,c[u++]=t>>8&255,c[u++]=255&t;2===l&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,c[u++]=255&t);1===l&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,c[u++]=t>>8&255,c[u++]=255&t);return c},fromByteArray:function(e){for(var t,r=e.length,o=r%3,i=[],a=16383,s=0,l=r-o;s<l;s+=a)i.push(c(e,s,s+a>l?l:s+a));1===o?(t=e[r-1],i.push(n[t>>2]+n[t<<4&63]+"==")):2===o&&(t=(e[r-2]<<8)+e[r-1],i.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return i.join("")}},n=[],r=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0;a<64;++a)n[a]=i[a],r[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(e){return n[e>>18&63]+n[e>>12&63]+n[e>>6&63]+n[63&e]}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("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63;var u={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)},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}};!function(e){const n=t,r=u,o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=p,e.SlowBuffer=function(e){+e!=e&&(e=0);return p.alloc(+e)},e.INSPECT_MAX_BYTES=50;const i=2147483647;e.kMaxLength=i;const{Uint8Array:a,ArrayBuffer:s,SharedArrayBuffer:l}=globalThis;function c(e){if(e>i)throw new RangeError('The value "'+e+'" is invalid for option "size"');const t=new a(e);return Object.setPrototypeOf(t,p.prototype),t}function p(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 f(e)}return d(e,t,n)}function d(e,t,n){if("string"==typeof e)return function(e,t){"string"==typeof t&&""!==t||(t="utf8");if(!p.isEncoding(t))throw new TypeError("Unknown encoding: "+t);const n=0|y(e,t);let r=c(n);const o=r.write(e,t);o!==n&&(r=r.slice(0,o));return r}(e,t);if(s.isView(e))return function(e){if(Q(e,a)){const t=new a(e);return g(t.buffer,t.byteOffset,t.byteLength)}return m(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(Q(e,s)||e&&Q(e.buffer,s))return g(e,t,n);if(void 0!==l&&(Q(e,l)||e&&Q(e.buffer,l)))return g(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 p.from(r,t,n);const o=function(e){if(p.isBuffer(e)){const t=0|b(e.length),n=c(t);return 0===n.length||e.copy(n,0,0,t),n}if(void 0!==e.length)return"number"!=typeof e.length||J(e.length)?c(0):m(e);if("Buffer"===e.type&&Array.isArray(e.data))return m(e.data)}(e);if(o)return o;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return p.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 h(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 f(e){return h(e),c(e<0?0:0|b(e))}function m(e){const t=e.length<0?0:0|b(e.length),n=c(t);for(let r=0;r<t;r+=1)n[r]=255&e[r];return n}function g(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 a(e):void 0===n?new a(e,t):new a(e,t,n),Object.setPrototypeOf(r,p.prototype),r}function b(e){if(e>=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return 0|e}function y(e,t){if(p.isBuffer(e))return e.length;if(s.isView(e)||Q(e,s))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 G(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return K(e).length;default:if(o)return r?-1:G(e).length;t=(""+t).toLowerCase(),o=!0}}function k(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 E(this,t,n);case"ascii":return O(this,t,n);case"latin1":case"binary":return T(this,t,n);case"base64":return A(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function w(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function v(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),J(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=p.from(t,r)),p.isBuffer(t))return 0===t.length?-1:x(e,t,n,r,o);if("number"==typeof t)return t&=255,"function"==typeof a.prototype.indexOf?o?a.prototype.indexOf.call(e,t,n):a.prototype.lastIndexOf.call(e,t,n):x(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function x(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 $(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(J(r))return a;e[n+a]=r}return a}function S(e,t,n,r){return Z(G(t,e.length-n),e,n,r)}function z(e,t,n,r){return Z(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 C(e,t,n,r){return Z(K(t),e,n,r)}function j(e,t,n,r){return Z(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 A(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function E(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<=_)return String.fromCharCode.apply(String,e);let n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=_));return n}(r)}p.TYPED_ARRAY_SUPPORT=function(){try{const e=new a(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,a.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),p.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(p.prototype,"parent",{enumerable:!0,get:function(){if(p.isBuffer(this))return this.buffer}}),Object.defineProperty(p.prototype,"offset",{enumerable:!0,get:function(){if(p.isBuffer(this))return this.byteOffset}}),p.poolSize=8192,p.from=function(e,t,n){return d(e,t,n)},Object.setPrototypeOf(p.prototype,a.prototype),Object.setPrototypeOf(p,a),p.alloc=function(e,t,n){return function(e,t,n){return h(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)},p.allocUnsafe=function(e){return f(e)},p.allocUnsafeSlow=function(e){return f(e)},p.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==p.prototype},p.compare=function(e,t){if(Q(e,a)&&(e=p.from(e,e.offset,e.byteLength)),Q(t,a)&&(t=p.from(t,t.offset,t.byteLength)),!p.isBuffer(e)||!p.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},p.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}},p.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return p.alloc(0);let n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;const r=p.allocUnsafe(t);let o=0;for(n=0;n<e.length;++n){let t=e[n];if(Q(t,a))o+t.length>r.length?(p.isBuffer(t)||(t=p.from(t)),t.copy(r,o)):a.prototype.set.call(r,t,o);else{if(!p.isBuffer(t))throw new TypeError('"list" argument must be an Array of Buffers');t.copy(r,o)}o+=t.length}return r},p.byteLength=y,p.prototype._isBuffer=!0,p.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)w(this,t,t+1);return this},p.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)w(this,t,t+3),w(this,t+1,t+2);return this},p.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)w(this,t,t+7),w(this,t+1,t+6),w(this,t+2,t+5),w(this,t+3,t+4);return this},p.prototype.toString=function(){const e=this.length;return 0===e?"":0===arguments.length?E(this,0,e):k.apply(this,arguments)},p.prototype.toLocaleString=p.prototype.toString,p.prototype.equals=function(e){if(!p.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===p.compare(this,e)},p.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+">"},o&&(p.prototype[o]=p.prototype.inspect),p.prototype.compare=function(e,t,n,r,o){if(Q(e,a)&&(e=p.from(e,e.offset,e.byteLength)),!p.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),s=(n>>>=0)-(t>>>=0);const l=Math.min(i,s),c=this.slice(r,o),u=e.slice(t,n);for(let a=0;a<l;++a)if(c[a]!==u[a]){i=c[a],s=u[a];break}return i<s?-1:s<i?1:0},p.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},p.prototype.indexOf=function(e,t,n){return v(this,e,t,n,!0)},p.prototype.lastIndexOf=function(e,t,n){return v(this,e,t,n,!1)},p.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 $(this,e,t,n);case"utf8":case"utf-8":return S(this,e,t,n);case"ascii":case"latin1":case"binary":return z(this,e,t,n);case"base64":return C(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return j(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},p.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const _=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 T(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+=ee[e[i]];return o}function M(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 P(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 B(e,t,n,r,o,i){if(!p.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 R(e,t,n,r,o){V(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 F(e,t,n,r,o){V(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 I(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 N(e,t,n,o,i){return t=+t,n>>>=0,i||I(e,0,n,4),r.write(e,t,n,o,23,4),n+4}function U(e,t,n,o,i){return t=+t,n>>>=0,i||I(e,0,n,8),r.write(e,t,n,o,52,8),n+8}p.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,p.prototype),r},p.prototype.readUintLE=p.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||P(e,t,this.length);let r=this[e],o=1,i=0;for(;++i<t&&(o*=256);)r+=this[e+i]*o;return r},p.prototype.readUintBE=p.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||P(e,t,this.length);let r=this[e+--t],o=1;for(;t>0&&(o*=256);)r+=this[e+--t]*o;return r},p.prototype.readUint8=p.prototype.readUInt8=function(e,t){return e>>>=0,t||P(e,1,this.length),this[e]},p.prototype.readUint16LE=p.prototype.readUInt16LE=function(e,t){return e>>>=0,t||P(e,2,this.length),this[e]|this[e+1]<<8},p.prototype.readUint16BE=p.prototype.readUInt16BE=function(e,t){return e>>>=0,t||P(e,2,this.length),this[e]<<8|this[e+1]},p.prototype.readUint32LE=p.prototype.readUInt32LE=function(e,t){return e>>>=0,t||P(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},p.prototype.readUint32BE=p.prototype.readUInt32BE=function(e,t){return e>>>=0,t||P(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},p.prototype.readBigUInt64LE=te(function(e){H(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||X(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))}),p.prototype.readBigUInt64BE=te(function(e){H(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||X(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)}),p.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||P(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},p.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||P(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},p.prototype.readInt8=function(e,t){return e>>>=0,t||P(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},p.prototype.readInt16LE=function(e,t){e>>>=0,t||P(e,2,this.length);const n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},p.prototype.readInt16BE=function(e,t){e>>>=0,t||P(e,2,this.length);const n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},p.prototype.readInt32LE=function(e,t){return e>>>=0,t||P(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},p.prototype.readInt32BE=function(e,t){return e>>>=0,t||P(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},p.prototype.readBigInt64LE=te(function(e){H(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||X(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)}),p.prototype.readBigInt64BE=te(function(e){H(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||X(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)}),p.prototype.readFloatLE=function(e,t){return e>>>=0,t||P(e,4,this.length),r.read(this,e,!0,23,4)},p.prototype.readFloatBE=function(e,t){return e>>>=0,t||P(e,4,this.length),r.read(this,e,!1,23,4)},p.prototype.readDoubleLE=function(e,t){return e>>>=0,t||P(e,8,this.length),r.read(this,e,!0,52,8)},p.prototype.readDoubleBE=function(e,t){return e>>>=0,t||P(e,8,this.length),r.read(this,e,!1,52,8)},p.prototype.writeUintLE=p.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){B(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},p.prototype.writeUintBE=p.prototype.writeUIntBE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){B(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},p.prototype.writeUint8=p.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||B(this,e,t,1,255,0),this[t]=255&e,t+1},p.prototype.writeUint16LE=p.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||B(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},p.prototype.writeUint16BE=p.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||B(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},p.prototype.writeUint32LE=p.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||B(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},p.prototype.writeUint32BE=p.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||B(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},p.prototype.writeBigUInt64LE=te(function(e,t=0){return R(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),p.prototype.writeBigUInt64BE=te(function(e,t=0){return F(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),p.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){const r=Math.pow(2,8*n-1);B(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},p.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){const r=Math.pow(2,8*n-1);B(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},p.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||B(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},p.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||B(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},p.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||B(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},p.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||B(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},p.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||B(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},p.prototype.writeBigInt64LE=te(function(e,t=0){return R(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),p.prototype.writeBigInt64BE=te(function(e,t=0){return F(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),p.prototype.writeFloatLE=function(e,t,n){return N(this,e,t,!0,n)},p.prototype.writeFloatBE=function(e,t,n){return N(this,e,t,!1,n)},p.prototype.writeDoubleLE=function(e,t,n){return U(this,e,t,!0,n)},p.prototype.writeDoubleBE=function(e,t,n){return U(this,e,t,!1,n)},p.prototype.copy=function(e,t,n,r){if(!p.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 a.prototype.copyWithin?this.copyWithin(t,n,r):a.prototype.set.call(e,this.subarray(n,r),t),o},p.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&&!p.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=p.isBuffer(e)?e:p.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 D={};function W(e,t,n){D[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 q(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 V(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 D.ERR_OUT_OF_RANGE("value",r,e)}!function(e,t,n){H(t,"offset"),void 0!==e[t]&&void 0!==e[t+n]||X(t,e.length-(n+1))}(r,o,i)}function H(e,t){if("number"!=typeof e)throw new D.ERR_INVALID_ARG_TYPE(t,"number",e)}function X(e,t,n){if(Math.floor(e)!==e)throw H(e,n),new D.ERR_OUT_OF_RANGE("offset","an integer",e);if(t<0)throw new D.ERR_BUFFER_OUT_OF_BOUNDS;throw new D.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${t}`,e)}W("ERR_BUFFER_OUT_OF_BOUNDS",function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),W("ERR_INVALID_ARG_TYPE",function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`},TypeError),W("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=q(String(n)):"bigint"==typeof n&&(o=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(o=q(o)),o+="n"),r+=` It must be ${t}. Received ${o}`,r},RangeError);const Y=/[^+/0-9A-Za-z-_]/g;function G(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 K(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(Y,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function Z(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 Q(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function J(e){return e!=e}const ee=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 te(e){return"undefined"==typeof BigInt?ne:e}function ne(){throw new Error("BigInt not supported")}}(e);const p=e.Buffer,d="default",h="preflights",f="shortcuts",m="imports",g={[m]:-200,[h]:-100,[f]:-10,[d]:0},b=/[\\:]?[\s'"`;{}]+/g;const y={name:"@unocss/core/extractor-split",order:0,extract:({code:e})=>function(e){return e.split(b)}(e)};function k(e=[]){return Array.isArray(e)?e:[e]}function w(e){return Array.from(new Set(e))}function v(e,t){return e.reduce((e,n)=>(-1===e.findIndex(e=>t(n,e))&&e.push(n),e),[])}function x(e){return"string"==typeof e}var $=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 S(e){return e instanceof $}function z(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function C(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 j=C;const A=/^\[(.+?)~?="(.*)"\]$/,E=/\.(css|postcss|sass|scss|less|stylus|styl)($|\?)/,_=/[\w\u00A0-\uFFFF%-?]/;function O(e=""){return _.test(e)}function T(e){return"function"==typeof e?{match:e}:e}function L(e){return 3===e.length}function M(e){return null!=e}function P(){}var B=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)))}},R=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 F(e){return x(e)?e:(Array.isArray(e)?e:Object.entries(e)).filter(e=>null!=e[1])}const I="__virtual_key__";function N(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!==I?`${e}:${t};`:t:void 0).filter(Boolean).join("");var t}function U(e){return e&&"object"==typeof e&&!Array.isArray(e)}function D(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 U(r)&&U(o)&&Object.keys(o).forEach(e=>{U(r[e])&&U(o[e])||Array.isArray(r[e])&&Array.isArray(o[e])?i[e]=D(r[e],o[e],n):Object.assign(i,{[e]:o[e]})}),i}function W(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?W(r):r;return n}if("[object Object]"===Object.prototype.toString.call(e)){for(t in n={},e)"__proto__"===t?Object.defineProperty(n,t,{value:W(e[t]),configurable:!0,enumerable:!0,writable:!0}):n[t]=(r=e[t])&&"object"==typeof r?W(r):r;return n}return e}function q(e){return x(e[0])}function V(e){return x(e[0])}const H={};function X(e,t=["-",":"],n=5){const r=function(e=["-",":"]){const t=e.join("|");return H[t]||(H[t]=new RegExp(`((?:[!@<~\\w+:_-]|\\[&?>?:?\\S*\\])+?)(${t})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[[^\\]]*?\\])+?)\\)(?!\\s*?=>)`,"gm")),H[t].lastIndex=0,H[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 Y(e,t=["-",":"],n=5){const r=X(e,t,n);return"string"==typeof e?r.expanded:e}const G=new Set;function K(e){G.has(e)||(console.warn("[unocss]",e),G.add(e))}function Z(e){return k(e).flatMap(e=>Array.isArray(e)?[e]:Object.entries(e))}const Q="_uno_resolved";async function J(e){const t=await async function(e){let t="function"==typeof e?await e():await e;if(Q in t)return t;t={...t},Object.defineProperty(t,Q,{value:!0,enumerable:!1});const n=t.shortcuts?Z(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=k(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(k).flatMap(J))).flat()]:[t]}async function ee(e={},t={}){const n=Object.assign({},t,e),r=v((await Promise.all((n.presets||[]).flatMap(k).flatMap(J))).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({},g,...i.map(e=>e.layers));function l(e){return w(i.flatMap(t=>k(t[e]||[])))}const c=l("extractors");let u=a.find(e=>void 0!==e.extractorDefault)?.extractorDefault;void 0===u&&(u=y),u&&!c.includes(u)&&c.unshift(u),c.sort((e,t)=>(e.order||0)-(t.order||0));const p=l("rules"),d=p.length,h={},f=[];for(const[g,y]of p.entries()){const e=y[2]??(y[2]={});e.__index=g,q(y)?k(e.prefix??"").forEach(e=>{h[e+y[0]]=y}):f.unshift(y)}const m={templates:w(i.flatMap(e=>k(e.autocomplete?.templates))),extractors:i.flatMap(e=>k(e.autocomplete?.extractors)).sort((e,t)=>(e.order||0)-(t.order||0)),shorthands:(b=i.map(e=>e.autocomplete?.shorthands||{}),b.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 b;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:w(te(...t)),exclude:w(te(...n))}};return o.length&&(a.filesystem=w(o.flat())),i.length&&(a.inline=w(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?W(e):{}).reduce((e,t)=>D(e,t),{})),rules:p,rulesSize:d,rulesDynamic:f,rulesStaticMap:h,preprocess:l("preprocess"),postprocess:l("postprocess"),preflights:l("preflights"),autocomplete:m,variants:l("variants").map(T).sort((e,t)=>(e.order||0)-(t.order||0)),shortcuts:Z(l("shortcuts")).reverse(),extractors:c,safelist:l("safelist"),separators:x,details:n.details??"dev"===n.envMode,content:$,transformers:v(l("transformers"),(e,t)=>e.name===t.name)};var z;const C=l("extendTheme");for(const g of C)S.theme=g(S.theme,S)||S.theme;for(const g of i)g?.configResolved?.(S);return S}function te(...e){return e.flatMap(ne)}function ne(e){return Array.isArray(e)?e:e?[e]:[]}const re={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 oe=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=>F(e)):[i]:[F(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(x(n))return[t.__index,n,t];let o=r.variantHandlers,i=t;for(const e of n)e[0]===re.variants?o="function"==typeof e[1]?e[1](o)||o:[...k(e[1]),...o]:e[0]===re.parent?o=[{parent:e[1]},...o]:e[0]===re.selector?o=[{selector:e[1]},...o]:e[0]===re.layer?o=[{layer:e[1]},...o]:e[0]===re.sort?i={...i,sort:e[1]}:e[0]===re.noMerge?i={...i,noMerge:e[1]}:e[0]===re.body&&(e[0]=I);return[t.__index,e,n,i,o]})}}}static async create(t={},n={}){const r=new e(t,n);return r.config=await ee(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 ee(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(S(e)&&S(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:re,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(M)},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=x(e)?await this.applyExtractors(e,n,s?new $: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 c=a?"":"\n",u=new Set([d]),p=s?new Map:new Set,f=new Map;let m={};const g=Array.from(l).map(async e=>{if(p.has(e))return;const t=await this.parseToken(e);if(null!=t){p instanceof Map?p.set(e,{data:t,count:S(l)?l.getCount(e):-1}):p.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&&u.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=h})=>{u.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||h)===t).map(async t=>await t.getCSS(e)))).filter(Boolean).join(c)])))})();const b=e=>this.config.sortLayers(e.sort((e,t)=>(this.config.layers[e]??0)-(this.config.layers[t]??0)||e.localeCompare(t))),y=b(Array.from(u)),k={},v=this.config.outputToCssLayers,z=e=>{let t=e;return"object"==typeof v&&(t=v.cssLayerName?.(e)),null===t?null:t??e},C=(e=d)=>{if(k[e])return k[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||d)===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?ae(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?w(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(`,${c}`)}{${t}}`:t}).filter(Boolean),s=Array.from(new Set(a)).reverse().join(c);if(!t)return s;const l=t.split(" $$ ");return`${l.join("{")}{${c}${s}${c}${"}".repeat(l.length)}`}).filter(Boolean).join(c);o&&(n=[m[e],n].filter(Boolean).join(c)),v&&n&&(t=z(e),null!==t&&(n=`@layer ${t}{${c}${n}${c}}`));const i=a?"":`/* layer: ${e}${t&&t!==e?`, alias: ${t}`:""} */${c}`;return k[e]=n?i+n:""},j=(e=y,t)=>{const n=e.filter(e=>!t?.includes(e)),r=n.map(C).filter(Boolean);if(v){let e=n;"object"==typeof v&&v.allLayers&&(e=b(Object.keys(this.config.layers))),e.length>0&&r.unshift(`@layer ${e.map(z).filter(M).join(", ")};`)}return r.join(c)};return{get css(){return j()},layers:y,matched:p,getLayers:j,getLayer:C,setLayer:async(e,t)=>{const n=await t(C(e));return k[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(x(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??ce)({...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:le(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(M)):n.push(e||r)}return n},[a])}constructCustomCSS(e,t,n){const r=F(t);return x(r)?r:this.applyVariants([0,n||e.rawSelector,r,void 0,e.variantHandlers]).map(({selector:e,entries:t,parent:n})=>{const r=`${e}{${N(t)}}`;return n?`${n}{${r}}`:r}).join("")}async parseUtil(e,t,n=!1,r){const o=x(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=k(l.prefix);if(r){const t=k(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(M));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(L(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=N(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)}:P;let o,i,a,s;for(const l of this.config.shortcuts){let n=e;if(l[2]?.prefix){const t=k(l[2].prefix).find(t=>e.startsWith(t));if(null==t)continue;n=e.slice(t.length)}if(V(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=w(k(i).filter(x).map(e=>Y(e.trim()).split(/\s+/g)).flat()),s=k(i).filter(e=>!x(e)).map(e=>({handles:[],value:e}))),!i){const r=x(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(x).map(e=>r.replace(o,e)),s=e[0].filter(e=>!x(e)).map(e=>({handles:[...e.handles,...i],value:e.value})))}}}return a?.length||s?.length?[[await Promise.all(k(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 R,i=(await Promise.all(w(n).map(async n=>{const o=x(n)?await this.parseUtil(n,t,!0,r.prefix):[[Number.POSITIVE_INFINITY,"{inline}",F(n.value),void 0,n.handles]];return!o&&this.config.warn&&K(`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(L(c)){l.push([c[0],void 0,c[1],void 0,c[2],t,void 0]);continue}const e=Object.fromEntries(c[2])[re.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 B).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=N(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]===re.shortcutsNoMerge))),...s(!0,t,e.filter(([e])=>e.every(e=>e[0]!==re.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):x(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):x(n)?n===e:n.test(e)});return t?Array.isArray(t)?t:[t,void 0]:void 0}};const ie=/\s\$\$\s+/g;function ae(e,t){return function(e){return ie.test(e)}(e)?e.replace(ie,t?` ${t} `:" "):t?`${t} ${e}`:e}const se=/^\[(.+?)(~?=)"(.*)"\]$/;function le(e){return se.test(e)?e.replace(se,(e,t,n,r)=>`[${j(t)}${n}"${j(r)}"]`):`.${j(e)}`}function ce(e,t){return t(e)}const ue=/^(?!.*\[[^:]+:.+\]$)((?:.+:)?!?)(.*)$/;function pe(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(A);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(ue)||[];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 de=/(<\w[\w:.$-]*\s)((?:'[^>']*'|"[^>"]*"|`[^>`]*`|\{[^>}]*\}|[^>]*?)*)/g,he=/(\?|(?!\d|-{2}|-\d)[\w\u00A0-\uFFFF-:%]+)(?:=("[^"]*|'[^']*))?/g,fe=/[\s'"`;>]+/;function me(e){return{name:"attributify",extract:({content:t,cursor:n})=>{const r=t.matchAll(de);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(he);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=fe.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=fe.exec(l.slice(m))}void 0===h&&(h=l.slice(m));const[,g="",b]=h.match(ue)||[];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 ge=["v-bind:",":"],be=/[\s'"`;]+/g,ye=/<[^>\s]*\s((?:'[^']*'|"[^"]*"|`[^`]*`|\{[^}]*\}|=>|[^>]*?)*)/g,ke=/(\?|(?!\d|-{2}|-\d)[\w\u00A0-\uFFFF:!%.~<-]+)=?(?:"([^"]*)"|'([^']*)'|\{([^}]*)\})?/g,we=["placeholder","fill","opacity","stroke-opacity"];function ve(e){const t=e?.ignoreAttributes??we,n=e?.nonValuedAttribute??!0,r=e?.trueToNonValued??!1;return{name:"@unocss/preset-attributify/extractor",extract({code:o}){return Array.from(o.matchAll(ye)).flatMap(e=>Array.from((e[1]||"").matchAll(ke))).flatMap(([,o,...i])=>{const a=i.filter(Boolean).join("");if(t.includes(o))return[];for(const e of ge)if(o.startsWith(e)){o=o.slice(e.length);break}if(!a){if(O(o)&&!1!==n){const e=[`[${o}=""]`];return r&&e.push(`[${o}="true"]`),e}return[]}return["class","className"].includes(o)?a.split(be).filter(O):ye.test(a)?(ye.lastIndex=0,this.extract({code:a})):e?.prefixedOnly&&e.prefix&&!o.startsWith(e.prefix)?[]:a.split(be).filter(e=>Boolean(e)&&":"!==e).map(e=>`[${o}~="${e}"]`)})}}}const xe=(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??we,{name:"@unocss/preset-attributify",enforce:"post",variants:[pe(e)],extractors:[ve(e)],options:e,autocomplete:{extractors:[me(e)]},extractorDefault:!e.strict&&void 0});function $e(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Se,ze,Ce={exports:{}},je=Ce.exports={};function Ae(){throw new Error("setTimeout has not been defined")}function Ee(){throw new Error("clearTimeout has not been defined")}function _e(e){if(Se===setTimeout)return setTimeout(e,0);if((Se===Ae||!Se)&&setTimeout)return Se=setTimeout,setTimeout(e,0);try{return Se(e,0)}catch(t){try{return Se.call(null,e,0)}catch(n){return Se.call(this,e,0)}}}!function(){try{Se="function"==typeof setTimeout?setTimeout:Ae}catch(e){Se=Ae}try{ze="function"==typeof clearTimeout?clearTimeout:Ee}catch(e){ze=Ee}}();var Oe,Te=[],Le=!1,Me=-1;function Pe(){Le&&Oe&&(Le=!1,Oe.length?Te=Oe.concat(Te):Me=-1,Te.length&&Be())}function Be(){if(!Le){var e=_e(Pe);Le=!0;for(var t=Te.length;t;){for(Oe=Te,Te=[];++Me<t;)Oe&&Oe[Me].run();Me=-1,t=Te.length}Oe=null,Le=!1,function(e){if(ze===clearTimeout)return clearTimeout(e);if((ze===Ee||!ze)&&clearTimeout)return ze=clearTimeout,clearTimeout(e);try{return ze(e)}catch(t){try{return ze.call(null,e)}catch(n){return ze.call(this,e)}}}(e)}}function Re(e,t){this.fun=e,this.array=t}function Fe(){}je.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];Te.push(new Re(e,t)),1!==Te.length||Le||_e(Be)},Re.prototype.run=function(){this.fun.apply(null,this.array)},je.title="browser",je.browser=!0,je.env={},je.argv=[],je.version="",je.versions={},je.on=Fe,je.addListener=Fe,je.once=Fe,je.off=Fe,je.removeListener=Fe,je.removeAllListeners=Fe,je.emit=Fe,je.prependListener=Fe,je.prependOnceListener=Fe,je.listeners=function(e){return[]},je.binding=function(e){throw new Error("process.binding is not supported")},je.cwd=function(){return"/"},je.chdir=function(e){throw new Error("process.chdir is not supported")},je.umask=function(){return 0};const Ie=$e(Ce.exports);const Ne=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Ue=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function De(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(Ne);if(null===r||!r.length)return e;const o=[];let i=r.shift(),a=Ue.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 We=Object.freeze({left:0,top:0,width:16,height:16}),qe=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Ve=Object.freeze({...We,...qe}),He=Object.freeze({...Ve,body:"",hidden:!1}),Xe=Object.freeze({width:null,height:null}),Ye=Object.freeze({...Xe,...qe});const Ge=e=>"unset"===e||"undefined"===e||"none"===e;function Ke(e,t){const n={...Ve,...e},r={...Ye,...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=De(p,l/c)):(u="auto"===a?l:a,p=null===s?De(u,c/l):"auto"===s?c:s);const d={},h=(e,t)=>{Ge(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 Ze=/\swidth\s*=\s*["']([\w.]+)["']/,Qe=/\sheight\s*=\s*["']([\w.]+)["']/,Je=/<svg\s+/;async function et(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||Ge(s)||("number"==typeof n?n>0&&(t[e]=De(i?.[1]??"1em",n)):i&&(t[e]=i[1])),a};return[o("width",Ze),o("height",Qe)]}(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(Je,`<svg ${h.join(" ")} `)),r){const{defaultStyle:t,defaultClass:n}=r;n&&!e.includes("class=")&&(e=e.replace(Je,`<svg class="${n}" `)),t&&!e.includes("style=")&&(e=e.replace(Je,`<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 tt(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 et(!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 nt(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 He)r in qe?r in e&&!(r in n)&&(n[r]=qe[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function rt(e,t,n){const r=e.icons,o=e.aliases||Object.create(null);let i={};function a(e){i=nt(r[e]||o[e],i)}return a(t),n.forEach(a),nt(e,i)}function ot(e,t){if(e.icons[t])return rt(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?rt(e,t,n):null}async function it(e,t,n,r){let o;const{customize:i}=r?.customizations??{};for(const a of n)if(o=ot(e,a),o){let e={...Ye};"function"==typeof i&&(o=Object.assign({},o),e=i(e,o,`${t}:${a}`)??e);const{attributes:{width:n,height:s,...l},body:c}=Ke(o,e),u=r?.scale;return await et(`<svg >${c}</svg>`,t,a,r,()=>({...l}),e=>{const t=(t,n)=>{const r=e[t];let o;if(!Ge(r)){if(r)return;"number"==typeof u?u&&(o=De(n??"1em",u)):o=n}o?e[t]=o:delete e[t]};t("width",n),t("height",s)})}}const at=async(e,t,n)=>{const r=n?.customCollections?.[e];if(r){if("function"!=typeof r)return await tt(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 tt(()=>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 it(i,e,r,n)}}}}};function st(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 lt={};var ct=["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 ut(e,t,n=new Map){return async(r,o,i)=>{let a=await at(r,o,i);if(a)return a;const s=await function(r){if(ct.includes(r))return n.has(r)||n.set(r,e(`${t}@iconify-json/${r}/icons.json`)),n.get(r)}(r);return s&&(a=await it(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 pt(e,t,n={},r=[]){let o,i="",a="";const s=new Set([...ct,...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 dt={},ht=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 dt)return;dt[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 ft=(mt=async e=>{const t=e?.customFetch,n=e?.cdn;return t&&n?ut(t,n):n?await async function(e){const{$fetch:t}=await ht(async()=>{const{$fetch:e}=await import("./ofetch-D6MCZ1Yg.js");return{$fetch:e}},__vite__mapDeps([0,1]),import.meta.url);return ut(t,e)}(n):at},(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=void 0!==Ie&&Ie.stdout;return{isNode:e,isVSCode:e&&!!lt.VSCODE_CWD,isESLint:e&&!!lt.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:st,parseIconWithLoader:pt},rules:[[/^([\w:-]+)(?:\?(mask|bg|auto))?$/,async t=>{let[r,a,s=n]=t;g=g||await mt(e);const l={},c=await pt(a,g,{...m,usedProps:l},i);if(!c)return void(o&&!f.isESLint&&K(`failed to load icon "${r}"`));let u;const p=`url("data:image/svg+xml;utf8,${st(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 mt;const gt="__TAGIFY__",bt=/<([\w:-]+)/g;function yt(e){const{prefix:t="",excludedTags:n=["b",/^h\d+$/,"table"]}=e;return{name:"tagify",extract:({code:e})=>Array.from(e.matchAll(bt)).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])=>`${gt}${e}`)}}function kt(e){const{extraProperties:t}=e,n=`${gt}${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 wt=(e={})=>{const{defaultExtractor:t=!0}=e;return{name:"@unocss/preset-tagify",variants:[kt(e)],extractors:[yt(e)],extractorDefault:!!t&&void 0}};var vt=",".charCodeAt(0),xt=";".charCodeAt(0),$t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",St=new Uint8Array(64),zt=new Uint8Array(128);for(let Bm=0;Bm<64;Bm++){const e=$t.charCodeAt(Bm);St[Bm]=e,zt[e]=Bm}function Ct(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(St[t])}while(r>0);return t}var jt="undefined"!=typeof TextDecoder?new TextDecoder:void 0!==p?{decode:e=>p.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}},At=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+=jt.decode(t),this.pos=0)}flush(){const{buffer:e,out:t,pos:n}=this;return n>0?t+jt.decode(e.subarray(0,n)):t}};function Et(e){const t=new At;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(xt),0===s.length)continue;let l=0;for(let e=0;e<s.length;e++){const a=s[e];e>0&&t.write(vt),l=Ct(t,a[0],l),1!==a.length&&(n=Ct(t,a[1],n),r=Ct(t,a[2],r),o=Ct(t,a[3],o),4!==a.length&&(i=Ct(t,a[4],i)))}}return t.flush()}class _t{constructor(e){this.bits=e instanceof _t?e.bits.slice():[]}add(e){this.bits[e>>5]|=1<<(31&e)}has(e){return!!(this.bits[e>>5]&1<<(31&e))}}class Ot{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 Ot(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 Ot(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 Tt(){return"undefined"!=typeof globalThis&&"function"==typeof globalThis.btoa?e=>globalThis.btoa(unescape(encodeURIComponent(e))):"function"==typeof p?e=>p.from(e,"utf-8").toString("base64"):()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}const Lt=Tt();class Mt{constructor(e){this.version=3,this.file=e.file,this.sources=e.sources,this.sourcesContent=e.sourcesContent,this.names=e.names,this.mappings=Et(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,"+Lt(this.toString())}}function Pt(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 Bt=Object.prototype.toString;function Rt(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 Ft=/\w/;class It{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?Ft.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 Nt="\n",Ut={insertLeft:!1,insertRight:!1,storeName:!1};class Dt{constructor(e,t={}){const n=new Ot(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 _t},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 Dt(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 _t(this.sourcemapLocations),e.intro=this.intro,e.outro=this.outro,e}generateDecodedMap(e){e=e||{};const t=Object.keys(this.storedNames),n=new It(e.hires),r=Rt(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?Pt(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 Mt(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]"===Bt.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 Ut.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),Ut.insertLeft=!0),this.appendLeft(e,t)}insertRight(e,t){return Ut.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),Ut.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&&(Ut.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),Ut.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 Ot(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(Nt);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(Nt),-1!==e)return n.outro.substr(e+1)+t;t=n.outro+t}if(n.content.length>0){if(e=n.content.lastIndexOf(Nt),-1!==e)return n.content.substr(e+1)+t;t=n.content+t}if(n.intro.length>0){if(e=n.intro.lastIndexOf(Nt),-1!==e)return n.intro.substr(e+1)+t;t=n.intro+t}}while(n=n.previous);return e=this.intro.lastIndexOf(Nt),-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=Rt(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 Wt(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 qt(e,t,n,r){if(""===e)return;if(x(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 Vt(e,t,n,r="(",o=")"){n=n??10;const i=[];let a=0;for(;""!==e;){if(++a>n)return;const s=qt(e,r,o,t);if(!s)return;const[l,c]=s;i.push(l),e=c}if(i.length>0)return i}const Ht=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"],Xt=["srgb","srgb-linear","display-p3","a98-rgb","prophoto-rgb","rec2020","lab","oklab","xyz","xyz-d50","xyz-d65"],Yt=["hsl","hwb","lch","oklch"],Gt=["shorter","longer","increasing","decreasing"],Kt=["%alpha","<alpha-value>"],Zt=new RegExp(Kt.map(e=>z(e)).join("|"),"g");function Qt(e){return!!e&&(Xt.some(t=>e.includes(t))||Yt.some(t=>e.includes(t))||Gt.some(t=>e.includes(t)))}function Jt(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=Vt(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(tn);if(!t)return;const[,n,r]=t,o=nn(`${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=nn(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||Ht.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 en(e,t){if("string"==typeof e)return e.replace(Zt,`${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}`,Ht.includes(o)?`${o}(${n.join(" ")}${r})`:`color(${o} ${n.join(" ")}${r})`)}const tn=new RegExp(`^(${Ht.join("|")})\\((.+)\\)$`,"i");function nn(e){const t=Vt(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=Vt(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 rn=/theme\(\s*(['"])?(.*?)\1?\s*\)/g;function on(e){return e.includes("theme(")&&e.includes(")")}function an(e,t,n=!0){const r=Array.from(e.toString().matchAll(rn));if(!r.length)return e;const o=new Dt(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=sn(e,t,n);r&&o.overwrite(i.index,i.index+i[0].length,r)}return o.toString()}function sn(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=Jt(i);e&&(i=en(e,o))}return i}if(n)throw new Error(`theme of "${e}" did not found`)}function ln(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 cn="__pseudo_placeholder__",un=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(${cn})`],["nth-last",`:nth-last-child(${cn})`],["nth-last-of-type",`:nth-last-of-type(${cn})`],["nth-of-type",`:nth-of-type(${cn})`],"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}`])),pn=Object.keys(un),dn=Object.fromEntries([["backdrop","::backdrop"]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),hn=Object.keys(dn),fn=Object.fromEntries([["selection",["::selection"," *::selection"]],["marker",["::marker"," *::marker"]]]),mn=Object.entries(un).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),gn=Object.entries(dn).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),bn=["not","is","where","has"].join("|"),yn=Object.keys(fn).sort((e,t)=>t.length-e.length).join("|"),kn=["::-webkit-resizer","::-webkit-scrollbar","::-webkit-scrollbar-button","::-webkit-scrollbar-corner","::-webkit-scrollbar-thumb","::-webkit-scrollbar-track","::-webkit-scrollbar-track-piece","::file-selector-button"],wn=Object.entries(un).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),vn=Object.entries(dn).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|");function xn(e,t,n,r){const{h:o,variantGetBracket:i}=r,a=new RegExp(`^(${z(t)}:)(\\S+)${z(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}-(?:(?:(${bn})-)?(${mn}))(?:(/[\\w-]+))?(?:${p.generator.config.separators.join("|")})`),c=new RegExp(`^${e}-(?:(?:(${bn})-)?(${gn}))(?:(/[\\w-]+))?(?:${p.generator.config.separators.filter(e=>"-"!==e).join("|")})`),u=new RegExp(`^${e}-(?:(${bn})-)?\\[(.+)\\](?:(/[\\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}${C(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=un[i]||dn[i]||`:${i}`;return o&&(s=`:${o}(${s})`),[a,e.slice(r.length),`${t}${C(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}${C(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:pn.indexOf(g)??hn.indexOf(g)})}},multiPass:!0}}const $n=/(part-\[(.+)\]:)(.+)/;function Sn(e,t,n={}){let r;return{name:e,match(o,i){r||(r=new RegExp(`^${z(e)}(?:${i.generator.config.separators.join("|")})`));const a=o.match(r);if(a){const e=o.slice(a[0].length),r=k(t).map(t=>({matcher:e,handle:(e,n)=>n({...e,...t(e)}),...n}));return 1===r.length?r[0]:r}},autocomplete:`${e}:`}}function zn(e,t){let n;return{name:e,match(r,o){n||(n=new RegExp(`^${z(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 Cn(e,t,n){if(t.startsWith(`${e}[`)){const[r,o]=Wt(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 jn(e,t,n){for(const r of k(e))if(t.startsWith(r)){const e=Cn(r,t,n);if(e){const[t="",r=e[1]]=jn("/",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 An=[["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"]],En={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]},_n=e=>e.toFixed(7).replace(/0+$/,"").replace(/\.$/,""),On=e=>`${_n(e/16)}rem`,Tn=(e,t)=>`${_n(e/t)}em`,Ln={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":Tn(32,16),"margin-bottom":Tn(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)"}},Mn={sm:{"font-size":On(14),"line-height":_n(24/14),p:{"margin-top":Tn(16,14),"margin-bottom":Tn(16,14)},'[class~="lead"]':{"font-size":Tn(18,14),"line-height":_n(28/18),"margin-top":Tn(16,18),"margin-bottom":Tn(16,18)},blockquote:{"margin-top":Tn(24,18),"margin-bottom":Tn(24,18),"padding-inline-start":Tn(20,18)},h1:{"font-size":Tn(30,14),"margin-top":"0","margin-bottom":Tn(24,30),"line-height":_n(1.2)},h2:{"font-size":Tn(20,14),"margin-top":Tn(32,20),"margin-bottom":Tn(16,20),"line-height":_n(1.4)},h3:{"font-size":Tn(18,14),"margin-top":Tn(28,18),"margin-bottom":Tn(8,18),"line-height":_n(28/18)},h4:{"margin-top":Tn(20,14),"margin-bottom":Tn(8,14),"line-height":_n(20/14)},img:{"margin-top":Tn(24,14),"margin-bottom":Tn(24,14)},picture:{"margin-top":Tn(24,14),"margin-bottom":Tn(24,14)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":Tn(24,14),"margin-bottom":Tn(24,14)},kbd:{"font-size":Tn(12,14),"border-radius":On(5),"padding-top":Tn(2,14),"padding-inline-end":Tn(5,14),"padding-bottom":Tn(2,14),"padding-inline-start":Tn(5,14)},code:{"font-size":Tn(12,14)},"h2 code":{"font-size":Tn(18,20)},"h3 code":{"font-size":Tn(16,18)},pre:{"font-size":Tn(12,14),"line-height":_n(20/12),"margin-top":Tn(20,12),"margin-bottom":Tn(20,12),"border-radius":On(4),"padding-top":Tn(8,12),"padding-inline-end":Tn(12,12),"padding-bottom":Tn(8,12),"padding-inline-start":Tn(12,12)},ol:{"margin-top":Tn(16,14),"margin-bottom":Tn(16,14),"padding-inline-start":Tn(22,14)},ul:{"margin-top":Tn(16,14),"margin-bottom":Tn(16,14),"padding-inline-start":Tn(22,14)},li:{"margin-top":Tn(4,14),"margin-bottom":Tn(4,14)},"ol > li":{"padding-inline-start":Tn(6,14)},"ul > li":{"padding-inline-start":Tn(6,14)},"> ul > li p":{"margin-top":Tn(8,14),"margin-bottom":Tn(8,14)},"> ul > li > p:first-child":{"margin-top":Tn(16,14)},"> ul > li > p:last-child":{"margin-bottom":Tn(16,14)},"> ol > li > p:first-child":{"margin-top":Tn(16,14)},"> ol > li > p:last-child":{"margin-bottom":Tn(16,14)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":Tn(8,14),"margin-bottom":Tn(8,14)},dl:{"margin-top":Tn(16,14),"margin-bottom":Tn(16,14)},dt:{"margin-top":Tn(16,14)},dd:{"margin-top":Tn(4,14),"padding-inline-start":Tn(22,14)},hr:{"margin-top":Tn(40,14),"margin-bottom":Tn(40,14)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":Tn(12,14),"line-height":_n(1.5)},"thead th":{"padding-inline-end":Tn(12,12),"padding-bottom":Tn(8,12),"padding-inline-start":Tn(12,12)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":Tn(8,12),"padding-inline-end":Tn(12,12),"padding-bottom":Tn(8,12),"padding-inline-start":Tn(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":Tn(24,14),"margin-bottom":Tn(24,14)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":Tn(12,14),"line-height":_n(16/12),"margin-top":Tn(8,12)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}},base:{"font-size":On(16),"line-height":_n(1.75),p:{"margin-top":Tn(20,16),"margin-bottom":Tn(20,16)},'[class~="lead"]':{"font-size":Tn(20,16),"line-height":_n(1.6),"margin-top":Tn(24,20),"margin-bottom":Tn(24,20)},blockquote:{"margin-top":Tn(32,20),"margin-bottom":Tn(32,20),"padding-inline-start":Tn(20,20)},h1:{"font-size":Tn(36,16),"margin-top":"0","margin-bottom":Tn(32,36),"line-height":_n(40/36)},h2:{"font-size":Tn(24,16),"margin-top":Tn(48,24),"margin-bottom":Tn(24,24),"line-height":_n(32/24)},h3:{"font-size":Tn(20,16),"margin-top":Tn(32,20),"margin-bottom":Tn(12,20),"line-height":_n(1.6)},h4:{"margin-top":Tn(24,16),"margin-bottom":Tn(8,16),"line-height":_n(1.5)},img:{"margin-top":Tn(32,16),"margin-bottom":Tn(32,16)},picture:{"margin-top":Tn(32,16),"margin-bottom":Tn(32,16)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":Tn(32,16),"margin-bottom":Tn(32,16)},kbd:{"font-size":Tn(14,16),"border-radius":On(5),"padding-top":Tn(3,16),"padding-inline-end":Tn(6,16),"padding-bottom":Tn(3,16),"padding-inline-start":Tn(6,16)},code:{"font-size":Tn(14,16)},"h2 code":{"font-size":Tn(21,24)},"h3 code":{"font-size":Tn(18,20)},pre:{"font-size":Tn(14,16),"line-height":_n(24/14),"margin-top":Tn(24,14),"margin-bottom":Tn(24,14),"border-radius":On(6),"padding-top":Tn(12,14),"padding-inline-end":Tn(16,14),"padding-bottom":Tn(12,14),"padding-inline-start":Tn(16,14)},ol:{"margin-top":Tn(20,16),"margin-bottom":Tn(20,16),"padding-inline-start":Tn(26,16)},ul:{"margin-top":Tn(20,16),"margin-bottom":Tn(20,16),"padding-inline-start":Tn(26,16)},li:{"margin-top":Tn(8,16),"margin-bottom":Tn(8,16)},"ol > li":{"padding-inline-start":Tn(6,16)},"ul > li":{"padding-inline-start":Tn(6,16)},"> ul > li p":{"margin-top":Tn(12,16),"margin-bottom":Tn(12,16)},"> ul > li > p:first-child":{"margin-top":Tn(20,16)},"> ul > li > p:last-child":{"margin-bottom":Tn(20,16)},"> ol > li > p:first-child":{"margin-top":Tn(20,16)},"> ol > li > p:last-child":{"margin-bottom":Tn(20,16)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":Tn(12,16),"margin-bottom":Tn(12,16)},dl:{"margin-top":Tn(20,16),"margin-bottom":Tn(20,16)},dt:{"margin-top":Tn(20,16)},dd:{"margin-top":Tn(8,16),"padding-inline-start":Tn(26,16)},hr:{"margin-top":Tn(48,16),"margin-bottom":Tn(48,16)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":Tn(14,16),"line-height":_n(24/14)},"thead th":{"padding-inline-end":Tn(8,14),"padding-bottom":Tn(8,14),"padding-inline-start":Tn(8,14)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":Tn(8,14),"padding-inline-end":Tn(8,14),"padding-bottom":Tn(8,14),"padding-inline-start":Tn(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":Tn(32,16),"margin-bottom":Tn(32,16)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":Tn(14,16),"line-height":_n(20/14),"margin-top":Tn(12,14)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}},lg:{"font-size":On(18),"line-height":_n(32/18),p:{"margin-top":Tn(24,18),"margin-bottom":Tn(24,18)},'[class~="lead"]':{"font-size":Tn(22,18),"line-height":_n(32/22),"margin-top":Tn(24,22),"margin-bottom":Tn(24,22)},blockquote:{"margin-top":Tn(40,24),"margin-bottom":Tn(40,24),"padding-inline-start":Tn(24,24)},h1:{"font-size":Tn(48,18),"margin-top":"0","margin-bottom":Tn(40,48),"line-height":_n(1)},h2:{"font-size":Tn(30,18),"margin-top":Tn(56,30),"margin-bottom":Tn(32,30),"line-height":_n(40/30)},h3:{"font-size":Tn(24,18),"margin-top":Tn(40,24),"margin-bottom":Tn(16,24),"line-height":_n(1.5)},h4:{"margin-top":Tn(32,18),"margin-bottom":Tn(8,18),"line-height":_n(28/18)},img:{"margin-top":Tn(32,18),"margin-bottom":Tn(32,18)},picture:{"margin-top":Tn(32,18),"margin-bottom":Tn(32,18)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":Tn(32,18),"margin-bottom":Tn(32,18)},kbd:{"font-size":Tn(16,18),"border-radius":On(5),"padding-top":Tn(4,18),"padding-inline-end":Tn(8,18),"padding-bottom":Tn(4,18),"padding-inline-start":Tn(8,18)},code:{"font-size":Tn(16,18)},"h2 code":{"font-size":Tn(26,30)},"h3 code":{"font-size":Tn(21,24)},pre:{"font-size":Tn(16,18),"line-height":_n(1.75),"margin-top":Tn(32,16),"margin-bottom":Tn(32,16),"border-radius":On(6),"padding-top":Tn(16,16),"padding-inline-end":Tn(24,16),"padding-bottom":Tn(16,16),"padding-inline-start":Tn(24,16)},ol:{"margin-top":Tn(24,18),"margin-bottom":Tn(24,18),"padding-inline-start":Tn(28,18)},ul:{"margin-top":Tn(24,18),"margin-bottom":Tn(24,18),"padding-inline-start":Tn(28,18)},li:{"margin-top":Tn(12,18),"margin-bottom":Tn(12,18)},"ol > li":{"padding-inline-start":Tn(8,18)},"ul > li":{"padding-inline-start":Tn(8,18)},"> ul > li p":{"margin-top":Tn(16,18),"margin-bottom":Tn(16,18)},"> ul > li > p:first-child":{"margin-top":Tn(24,18)},"> ul > li > p:last-child":{"margin-bottom":Tn(24,18)},"> ol > li > p:first-child":{"margin-top":Tn(24,18)},"> ol > li > p:last-child":{"margin-bottom":Tn(24,18)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":Tn(16,18),"margin-bottom":Tn(16,18)},dl:{"margin-top":Tn(24,18),"margin-bottom":Tn(24,18)},dt:{"margin-top":Tn(24,18)},dd:{"margin-top":Tn(12,18),"padding-inline-start":Tn(28,18)},hr:{"margin-top":Tn(56,18),"margin-bottom":Tn(56,18)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":Tn(16,18),"line-height":_n(1.5)},"thead th":{"padding-inline-end":Tn(12,16),"padding-bottom":Tn(12,16),"padding-inline-start":Tn(12,16)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":Tn(12,16),"padding-inline-end":Tn(12,16),"padding-bottom":Tn(12,16),"padding-inline-start":Tn(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":Tn(32,18),"margin-bottom":Tn(32,18)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":Tn(16,18),"line-height":_n(1.5),"margin-top":Tn(16,16)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}},xl:{"font-size":On(20),"line-height":_n(1.8),p:{"margin-top":Tn(24,20),"margin-bottom":Tn(24,20)},'[class~="lead"]':{"font-size":Tn(24,20),"line-height":_n(1.5),"margin-top":Tn(24,24),"margin-bottom":Tn(24,24)},blockquote:{"margin-top":Tn(48,30),"margin-bottom":Tn(48,30),"padding-inline-start":Tn(32,30)},h1:{"font-size":Tn(56,20),"margin-top":"0","margin-bottom":Tn(48,56),"line-height":_n(1)},h2:{"font-size":Tn(36,20),"margin-top":Tn(56,36),"margin-bottom":Tn(32,36),"line-height":_n(40/36)},h3:{"font-size":Tn(30,20),"margin-top":Tn(48,30),"margin-bottom":Tn(20,30),"line-height":_n(40/30)},h4:{"margin-top":Tn(36,20),"margin-bottom":Tn(12,20),"line-height":_n(1.6)},img:{"margin-top":Tn(40,20),"margin-bottom":Tn(40,20)},picture:{"margin-top":Tn(40,20),"margin-bottom":Tn(40,20)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":Tn(40,20),"margin-bottom":Tn(40,20)},kbd:{"font-size":Tn(18,20),"border-radius":On(5),"padding-top":Tn(5,20),"padding-inline-end":Tn(8,20),"padding-bottom":Tn(5,20),"padding-inline-start":Tn(8,20)},code:{"font-size":Tn(18,20)},"h2 code":{"font-size":Tn(31,36)},"h3 code":{"font-size":Tn(27,30)},pre:{"font-size":Tn(18,20),"line-height":_n(32/18),"margin-top":Tn(36,18),"margin-bottom":Tn(36,18),"border-radius":On(8),"padding-top":Tn(20,18),"padding-inline-end":Tn(24,18),"padding-bottom":Tn(20,18),"padding-inline-start":Tn(24,18)},ol:{"margin-top":Tn(24,20),"margin-bottom":Tn(24,20),"padding-inline-start":Tn(32,20)},ul:{"margin-top":Tn(24,20),"margin-bottom":Tn(24,20),"padding-inline-start":Tn(32,20)},li:{"margin-top":Tn(12,20),"margin-bottom":Tn(12,20)},"ol > li":{"padding-inline-start":Tn(8,20)},"ul > li":{"padding-inline-start":Tn(8,20)},"> ul > li p":{"margin-top":Tn(16,20),"margin-bottom":Tn(16,20)},"> ul > li > p:first-child":{"margin-top":Tn(24,20)},"> ul > li > p:last-child":{"margin-bottom":Tn(24,20)},"> ol > li > p:first-child":{"margin-top":Tn(24,20)},"> ol > li > p:last-child":{"margin-bottom":Tn(24,20)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":Tn(16,20),"margin-bottom":Tn(16,20)},dl:{"margin-top":Tn(24,20),"margin-bottom":Tn(24,20)},dt:{"margin-top":Tn(24,20)},dd:{"margin-top":Tn(12,20),"padding-inline-start":Tn(32,20)},hr:{"margin-top":Tn(56,20),"margin-bottom":Tn(56,20)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":Tn(18,20),"line-height":_n(28/18)},"thead th":{"padding-inline-end":Tn(12,18),"padding-bottom":Tn(16,18),"padding-inline-start":Tn(12,18)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":Tn(16,18),"padding-inline-end":Tn(12,18),"padding-bottom":Tn(16,18),"padding-inline-start":Tn(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":Tn(40,20),"margin-bottom":Tn(40,20)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":Tn(18,20),"line-height":_n(28/18),"margin-top":Tn(18,18)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}},"2xl":{"font-size":On(24),"line-height":_n(40/24),p:{"margin-top":Tn(32,24),"margin-bottom":Tn(32,24)},'[class~="lead"]':{"font-size":Tn(30,24),"line-height":_n(44/30),"margin-top":Tn(32,30),"margin-bottom":Tn(32,30)},blockquote:{"margin-top":Tn(64,36),"margin-bottom":Tn(64,36),"padding-inline-start":Tn(40,36)},h1:{"font-size":Tn(64,24),"margin-top":"0","margin-bottom":Tn(56,64),"line-height":_n(1)},h2:{"font-size":Tn(48,24),"margin-top":Tn(72,48),"margin-bottom":Tn(40,48),"line-height":_n(52/48)},h3:{"font-size":Tn(36,24),"margin-top":Tn(56,36),"margin-bottom":Tn(24,36),"line-height":_n(44/36)},h4:{"margin-top":Tn(40,24),"margin-bottom":Tn(16,24),"line-height":_n(1.5)},img:{"margin-top":Tn(48,24),"margin-bottom":Tn(48,24)},picture:{"margin-top":Tn(48,24),"margin-bottom":Tn(48,24)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":Tn(48,24),"margin-bottom":Tn(48,24)},kbd:{"font-size":Tn(20,24),"border-radius":On(6),"padding-top":Tn(6,24),"padding-inline-end":Tn(8,24),"padding-bottom":Tn(6,24),"padding-inline-start":Tn(8,24)},code:{"font-size":Tn(20,24)},"h2 code":{"font-size":Tn(42,48)},"h3 code":{"font-size":Tn(32,36)},pre:{"font-size":Tn(20,24),"line-height":_n(1.8),"margin-top":Tn(40,20),"margin-bottom":Tn(40,20),"border-radius":On(8),"padding-top":Tn(24,20),"padding-inline-end":Tn(32,20),"padding-bottom":Tn(24,20),"padding-inline-start":Tn(32,20)},ol:{"margin-top":Tn(32,24),"margin-bottom":Tn(32,24),"padding-inline-start":Tn(38,24)},ul:{"margin-top":Tn(32,24),"margin-bottom":Tn(32,24),"padding-inline-start":Tn(38,24)},li:{"margin-top":Tn(12,24),"margin-bottom":Tn(12,24)},"ol > li":{"padding-inline-start":Tn(10,24)},"ul > li":{"padding-inline-start":Tn(10,24)},"> ul > li p":{"margin-top":Tn(20,24),"margin-bottom":Tn(20,24)},"> ul > li > p:first-child":{"margin-top":Tn(32,24)},"> ul > li > p:last-child":{"margin-bottom":Tn(32,24)},"> ol > li > p:first-child":{"margin-top":Tn(32,24)},"> ol > li > p:last-child":{"margin-bottom":Tn(32,24)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":Tn(16,24),"margin-bottom":Tn(16,24)},dl:{"margin-top":Tn(32,24),"margin-bottom":Tn(32,24)},dt:{"margin-top":Tn(32,24)},dd:{"margin-top":Tn(12,24),"padding-inline-start":Tn(38,24)},hr:{"margin-top":Tn(72,24),"margin-bottom":Tn(72,24)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":Tn(20,24),"line-height":_n(1.4)},"thead th":{"padding-inline-end":Tn(12,20),"padding-bottom":Tn(16,20),"padding-inline-start":Tn(12,20)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":Tn(16,20),"padding-inline-end":Tn(12,20),"padding-bottom":Tn(16,20),"padding-inline-start":Tn(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":Tn(48,24),"margin-bottom":Tn(48,24)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":Tn(20,24),"line-height":_n(1.6),"margin-top":Tn(20,20)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}}};function Pn(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 Bn=e=>{const t=e?.selectorName??"prose",n=e?.compatibility?.noColonNot||e?.compatibility?.noColonWhere,r=e?.cssVarPrefix??"--un-prose",o=function(e){const t=W(En);if(e)for(const n in e){const[r,o]=k(e[n]),[i,a]=t[n];t[n]=[r??i,o??a]}return t}(e?.colorScheme),i=(a=e?.sizeScheme,a?D(Mn,a):Mn);var a;const s=(t,n)=>D(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=Pn(s(D(Ln,Mn.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]=en(c,`var(${p}-opacity)`),e[d]=en(u,`var(${d}-opacity)`);for(const[t,r]of[[c,`${p}-opacity`],[u,`${d}-opacity`]])Kt.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=Pn(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)`,[re.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 An)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}-(${An.map(e=>`${e[0]}:`).join("|")})`}]}};var Rn={};const Fn=(In="https://fonts.bunny.net",{name:"bunny",getImportUrl:e=>`${In}/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 In;function Nn(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 Un=Nn("google","https://fonts.googleapis.com"),Dn=Nn("coollabs","https://api.fonts.coollabs.io"),Wn=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 qn=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=D(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(Vn(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(Vn(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(Vn(r))}}return i}))).flat().join("\n\n")}}("fontsource","https://cdn.jsdelivr.net");function Vn(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 Hn={google:Un,bunny:Fn,fontshare:Wn,fontsource:qn,coollabs:Dn,none:{name:"none",getPreflight:()=>"",getFontName:e=>e.name}};function Xn(e){return"string"==typeof e?Hn[e]:e}const Yn=(Gn=async e=>(await ht(async()=>{const{$fetch:e}=await import("./ofetch-D6MCZ1Yg.js");return{$fetch:e}},__vite__mapDeps([0,1]),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=Gn,timeouts:i={}}=e,a="fonts",s=r?a:m,l=k(e.processors||[]),c=Object.fromEntries(Object.entries(e.fonts||{}).map(([e,n])=>[e,k(n).map(e=>function(e,t){if("string"!=typeof e)return e.provider=Xn(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:Xn(t)}}(e,t))])),u=Object.values(c).flatMap(e=>e),p={};async function d(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 h(e){return r?(p[e]||(p[e]=d(e).catch(t=>{if(console.error(`[unocss] Failed to fetch web fonts: ${e}`),console.error(t),void 0!==Ie&&Rn.CI)throw t})),await p[e]):`@import url('${e}');`}const f=Array.from(new Set(u.map(e=>e.provider)));async function g(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 h(e))}try{n.push(await(o.getPreflight?.(t,d)))}catch(r){console.warn("[unocss] Web fonts preflight fetch failed.",r)}}return n.filter(Boolean).join("\n")}const b={name:"@unocss/preset-web-fonts",preflights:[{async getCSS(){let e;for(const t of l){const n=await(t.getCSS?.(u,f,g));if(n){e=n;break}}e||(e=await g(u,f));for(const t of l)e=await(t.transformCSS?.(e))||e;return e},layer:s}],layers:{[a]:-200}};return n&&(b.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(",")}),b});var Gn;function Kn({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 Zn({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 Qn(e){return[Kn,Zn].flatMap(t=>t(e))}var Jn=Object.defineProperty,er=(e,t)=>{let n={};for(var r in e)Jn(n,r,{get:e[r],enumerable:!0});return n};const tr="$$mini-no-negative",nr={transparent:"transparent",current:"currentColor",inherit:"inherit"},rr={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"]},or={...rr,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"]},ir={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"]},ar={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},sr=["x","y","z"],lr=["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"],cr=Object.assign({},...lr.map(e=>({[e.replace(/ /,"-")]:e})),...lr.map(e=>({[e.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:e}))),ur=["inherit","initial","revert","revert-layer","unset"],pr=/^(calc|clamp|min|max)\s*\((.+)\)(.*)/,dr=/^(var)\s*\((.+)\)(.*)/,hr=/^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i,fr=/^(-?\d*(?:\.\d+)?)$/,mr=/^(px|[sld]?v[wh])$/i,gr={px:1,vw:100,vh:100,svw:100,svh:100,dvw:100,dvh:100,lvh:100,lvw:100},br=/^\[(color|image|length|size|position|quoted|string|number|family):/i,yr=/,(?![^()]*\))/g;const kr=["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 wr(e){return+e.toFixed(10)}function vr(e){const t=e.match(hr);if(!t)return;const[,n,r]=t,o=Number.parseFloat(n);return r&&!Number.isNaN(o)?`${wr(o)}${r}`:void 0}function xr(e){if("auto"===e||"a"===e)return"auto"}function $r(e){if(!e)return;if(mr.test(e))return`${gr[e]}${e}`;const t=e.match(hr);if(!t)return;const[,n,r]=t,o=Number.parseFloat(n);return Number.isNaN(o)?void 0:0===o?"0":r?`${wr(o)}${r}`:`${wr(o/4)}rem`}function Sr(e){if(mr.test(e))return`${gr[e]}${e}`;const t=e.match(hr);if(!t)return;const[,n,r]=t,o=Number.parseFloat(n);return Number.isNaN(o)?void 0:r?`${wr(o)}${r}`:`${wr(o)}px`}function zr(e){if(!fr.test(e))return;const t=Number.parseFloat(e);return Number.isNaN(t)?void 0:wr(t)}function Cr(e){e.endsWith("%")&&(e=e.slice(0,-1));const t=zr(e);if(null!=t)return`${t}%`}function jr(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":`${wr(100*r)}%`}function Ar(e,t,n,r){const o=Gr(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&&co(t,n.length?n:void 0),{val:a,varKey:s}}function Er(e,t,n){if(e&&e.startsWith("[")&&e.endsWith("]")){let r,o;const i=e.match(br);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}=Ar(t,i,a,n);null!=s&&(r=`calc(var(--${C(l.replaceAll(".","-"))}) * ${o})`)}else{const[e,t]=r.slice(2).split(","),o=t?`, ${t}`:"",i=C(e);if(n){const[t,...a]=e.split("."),{val:s,varKey:l}=Ar(e,t,a,n);r=null!=s?`var(--${C(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 _r(e,t){return Er(e,void 0,t)}function Or(e,t){return Er(e,"color",t)}function Tr(e,t){return Er(e,"length",t)||Er(e,"size",t)}function Lr(e,t){return Er(e,"position",t)}function Mr(e,t){return Er(e,"family",t)}function Pr(e,t){return Er(e,"number",t)}function Br(e){if(e.startsWith("var("))return e;const t=e.match(/^(?:\$|--)([^\s'"`;{}]+)$/);if(t){const[e,n]=t[1].split(",");return`var(--${C(e)}${n?`, ${n}`:""})`}}function Rr(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?`${wr(o)}${r}`:`${wr(o)}ms`:"0s"}function Fr(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?`${wr(o)}${r}`:`${wr(o)}deg`}function Ir(e){if(ur.includes(e))return e}function Nr(e){if(e.split(",").every(e=>kr.includes(e)))return e}function Ur(e){if(["top","left","right","bottom","center"].includes(e))return e}function Dr(e){if("none"===e)return"none"}const Wr=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}(er({auto:()=>xr,bracket:()=>_r,bracketOfColor:()=>Or,bracketOfFamily:()=>Mr,bracketOfLength:()=>Tr,bracketOfNumber:()=>Pr,bracketOfPosition:()=>Lr,cssvar:()=>Br,degree:()=>Fr,fraction:()=>jr,global:()=>Ir,none:()=>Dr,number:()=>zr,numberWithUnit:()=>vr,percent:()=>Cr,position:()=>Ur,properties:()=>Nr,px:()=>Sr,rem:()=>$r,time:()=>Rr})),qr=Wr;function Vr(e,t){const n=qr.number(e)??t;if(null!=n){let e=Number(n);return String(n).endsWith("%")&&(e=Number(String(n).slice(0,-1))/100),e}}function Hr(e,t=rr,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=Vr(i),null!=r&&!Number.isNaN(r))return co("spacing"),t[o].map(t=>[n(e,t),`calc(var(--spacing) * ${s?"-":""}${r})`]);if(a.spacing&&i in a.spacing)return co("spacing",i),t[o].map(t=>[n(e,t),s?`calc(var(--${C(`spacing-${i}`)}) * -1)`:`var(--${C(`spacing-${i}`)})`]);if(r=qr.bracket.cssvar.global.auto.fraction.rem(s?`-${i}`:i,a),null!=r)return t[o].map(t=>[n(e,t),r])}}}function Xr(e,t){let n;const[r,...o]=Vt(e,["/",":"],3)??[];if(null!=r){const e=(r.match(br)??[])[1];null!=e&&"color"!==e||(n=[r,...o])}if(!n)return;let i,[a,s,l]=n;Qt(s)||Qt(qr.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=Yr(t,c);if(!p&&c.length>=2){const e=c.at(-1),n=c.at(-2);/^\d+$/.test(e)&&(p=Yr(t,c.slice(0,-2).concat([`${n}${e}`])))}let{no:d,keys:h,color:f}=p??{};if(!f){const e=qr.bracketOfColor(a,t),n=e||a;if(qr.numberWithUnit(n))return;/^#[\da-f]+$/i.test(n)?f=n:/^hex-[\da-fA-F]+$/.test(n)?f=`#${n.slice(4)}`:a.startsWith("$")&&(f=qr.cssvar(a)),f=f||e}return{opacity:i,modifier:l&&qr.bracket.cssvar(l)||l,name:u,no:d,color:f??nr[u],alpha:qr.bracket.cssvar.percent(i??""),keys:h,get cssColor(){return Jt(this.color)}}}function Yr(e,t){let n,r,o;const i=Gr(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 Gr(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 Kr(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(nr).includes(o);if(p&&!a)return c[t]=o,e;const d=`--un-${n}-opacity`,h=!i||u||p?o:uo("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(oo(d,{syntax:"<percentage>",initialValue:"100%"})),!p){if(i&&!u&&(co("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({[re.parent]:"@supports (color: color-mix(in lab, red, red))",[re.noMerge]:!0,[t]:`color-mix(in oklab, ${r}, transparent)${l}`})}r?.theme&&po(o,r.theme)}return e}}function Zr(e,t){return([,n],r)=>{const o=Xr(n??"",r.theme);if(o)return Kr(o,e,t,r)}}function Qr(e,t,n){const r=[];e=k(e);for(let o=0;o<e.length;o++){const i=Vt(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(Jt(i.at(0))){const e=Jt(i.shift());e&&(l=en(e))}else if(Jt(c)){const e=Jt(i.pop());e&&(l=en(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 Jr(e,t){return null!=e&&!!Xr(e,t)?.color}const eo=/[a-z]+/gi,to=new WeakMap;function no({theme:e,generator:t},n="breakpoint"){const r=t?.userConfig?.theme?.[n]||e[n];if(!r)return;if(to.has(e))return to.get(e);const o=Object.entries(r).sort((e,t)=>Number.parseInt(e[1].replace(eo,""))-Number.parseInt(t[1].replace(eo,""))).map(([e,t])=>({point:e,size:t}));return to.set(e,o),o}function ro(e,t){return ur.map(n=>[`${e}-${n}`,{[t??e]:n}])}function oo(e,t={}){const{syntax:n="*",inherits:r=!1,initialValue:o}=t,i={[re.shortcutsNoMerge]:!0,[re.noMerge]:!0,[re.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){ho.has(e)||ho.set(e,t)}(e,o?String(o):"initial"),i}function io(e){return null!=e&&pr.test(e)}function ao(e){return e.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}function so(e,t=!1){return t?e.trim():e.trim().replace(/\s+/g," ").replace(/\/\*[\s\S]*?\*\//g,"")}const lo=new Set([]);function co(e,t="DEFAULT"){const n=`${e}:${k(t).join("-")}`;lo.has(n)||lo.add(n)}function uo(e,t){return`var(--${e}-${k(t).join("-")})`}function po(e,t){if(e.startsWith("var(")){const n=e.match(/var\(--([\w-]+)(?:,.*)?\)/)?.[1];if(n){const[e,...r]=n.split("-"),o=Gr(t,e,r);"string"==typeof o&&(co(e,r),po(o,t))}}}const ho=new Map;const fo=/@media \(min-width: (.+)\)/,mo=[[/^__container$/,(e,t)=>{const{theme:n,variantHandlers:r}=t,o=n.containers?.padding;let i;i=x(o)?o:o?.DEFAULT;const a=n.containers?.maxWidth;let s;for(const c of r){const e=c.handle?.({},e=>e)?.parent;if(x(e)){const n=e.match(fo)?.[1];if(n){const e=(no(t)??[]).find(e=>e.size===n)?.point;a?e&&(s=a?.[e]):s=n,e&&!x(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}]],go=[[/^(?:(\w+)[:-])?container$/,([,e],t)=>{let n=(no(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}]],bo={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(ur.map(e=>[e,e]))},yo=[[/^(?:vertical|align|v)-(.+)$/,([,e])=>({"vertical-align":bo[e]??qr.bracket.cssvar.numberWithUnit(e)}),{autocomplete:[`(vertical|align|v)-(${Object.keys(bo).join("|")})`,"(vertical|align|v)-<percentage>"]}]],ko=["center","left","right","justify","start","end"],wo=[...ko.map(e=>[`text-${e}`,{"text-align":e}]),...[...ur,...ko].map(e=>[`text-align-${e}`,{"text-align":e}])],vo=[[/^(?: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:qr.bracket.cssvar(e)}},{autocomplete:"animate-$animation.keyframes"}],[/^animate-name-(.+)/,([,e])=>({"animation-name":qr.bracket.cssvar(e)??e})],[/^animate-duration-(.+)$/,([,e],{theme:t})=>({"animation-duration":t.duration?.[e||"DEFAULT"]??qr.bracket.cssvar.time(e)}),{autocomplete:["animate-duration"]}],[/^animate-delay-(.+)$/,([,e],{theme:t})=>({"animation-delay":t.duration?.[e||"DEFAULT"]??qr.bracket.cssvar.time(e)}),{autocomplete:["animate-delay"]}],[/^animate-ease(?:-(.+))?$/,([,e],{theme:t})=>({"animation-timing-function":t.ease?.[e||"DEFAULT"]??qr.bracket.cssvar(e)}),{autocomplete:["animate-ease","animate-ease-$ease"]}],[/^animate-(fill-mode-|fill-|mode-)?(.+)$/,([,e,t])=>["none","forwards","backwards","both",e?ur:[]].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?ur:[]].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":qr.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?ur:[]].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"}],...ro("animate","animation")],xo={"gradient-position":oo("--un-gradient-position"),"gradient-from":oo("--un-gradient-from",{syntax:"<color>",initialValue:"#0000"}),"gradient-via":oo("--un-gradient-via",{syntax:"<color>",initialValue:"#0000"}),"gradient-to":oo("--un-gradient-to",{syntax:"<color>",initialValue:"#0000"}),"gradient-stops":oo("--un-gradient-stops"),"gradient-via-stops":oo("--un-gradient-via-stops"),"gradient-from-position":oo("--un-gradient-from-position",{syntax:"<length-percentage>",initialValue:"0%"}),"gradient-via-position":oo("--un-gradient-via-position",{syntax:"<length-percentage>",initialValue:"50%"}),"gradient-to-position":oo("--un-gradient-to-position",{syntax:"<length-percentage>",initialValue:"100%"})};function $o(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 So=[[/^bg-(linear|radial|conic)-([^/]+)(?:\/(.+))?$/,([,e,t,n])=>{let r;if(r=null!=qr.number(t)?`from ${qr.number(t)}deg ${$o(n)};`:qr.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=Xr(t,n);if(o){const{color:t,keys:i,alpha:a}=o;if(t){if(Object.values(nr).includes(t))r[`--un-gradient-${e}`]=t;else{r[`--un-${e}-opacity`]=a;const n=i?uo("colors",i):t;r[`--un-gradient-${e}`]=`color-mix(in oklab, ${n} var(--un-${e}-opacity), transparent)`,yield oo(`--un-${e}-opacity`,{syntax:"<percentage>",initialValue:"100%"})}i&&co("colors",i),n&&po(t,n)}}else r[`--un-gradient-${e}`]=qr.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(xo))yield e}}],[/^(from|via|to)-op(?:acity)?-?(.+)$/,([,e,t])=>({[`--un-${e}-opacity`]:qr.bracket.percent(t)})],[/^(from|via|to)-([\d.]+%)$/,function*([,e,t]){yield{[`--un-gradient-${e}-position`]:`${qr.bracket.cssvar.percent(t)}`};for(const n of Object.values(xo))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 cr?`to ${cr[t]} `:" "}${$o(n)}`,"background-image":`${"gradient"===e?"linear":e}-gradient(var(--un-gradient-stops))`}),{autocomplete:["gradient","linear","radial","conic"].map(e=>`bg-${e}-to-(${Object.keys(cr).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"}],...ro("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":qr.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"}],...ur.map(e=>[`bg-clip-${e}`,{"-webkit-background-clip":e,"background-clip":e}]),[/^bg-([-\w]{3,})$/,([,e])=>({"background-position":cr[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"}],...ro("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"}],...ro("bg-origin","background-origin")],zo=[[/^outline-(?:width-|size-)?(.+)$/,Co,{autocomplete:"outline-(width|size)-<num>"}],[/^outline-(?:color-)?(.+)$/,function*(e,t){if(io(qr.bracket(e[1])))yield*Co(e);else{const n=Zr("outline-color","outline")(e,t);if(n)for(const e of n)yield e}},{autocomplete:"outline-$colors"}],[/^outline-op(?:acity)?-?(.+)$/,([,e])=>({"--un-outline-opacity":qr.bracket.percent.cssvar(e)}),{autocomplete:"outline-(op|opacity)-<percent>"}],[/^outline-offset-(.+)$/,([,e])=>({"outline-offset":qr.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"},oo("--un-outline-style",{initialValue:"solid"})]],["outline-hidden",[{"outline-style":"none"},{[re.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",...ur].map(e=>[`outline-${e}`,{"--un-outline-style":e,"outline-style":e}])];function*Co([,e]){const t=qr.bracket.cssvar.global.px(e);null!=t&&(yield{"outline-style":"var(--un-outline-style)","outline-width":t},yield oo("--un-outline-style",{initialValue:"solid"}))}function jo(e){const t=qr.bracket(e);return t&&qr.properties(t)?t:qr.properties.auto.cssvar.global(e)??{contents:"contents",scroll:"scroll-position"}[e]}const Ao=[[/^will-change-(.+)/,([,e])=>({"will-change":jo(e)})]],Eo={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"},_o=[[/^list-(.+?)(?:-(outside|inside))?$/,([,e,t])=>{const n=Eo[e];if(n)return t?{"list-style-position":t,"list-style-type":n}:{"list-style-type":n}},{autocomplete:[`list-(${Object.keys(Eo).join("|")})`,`list-(${Object.keys(Eo).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":qr.bracket(e)}}],["list-image-none",{"list-style-image":"none"}],...ro("list","list-style-type")],Oo=[[/^accent-(.+)$/,Zr("accent-color","accent"),{autocomplete:"accent-$colors"}],[/^accent-op(?:acity)?-?(.+)$/,([,e])=>({"--un-accent-opacity":qr.bracket.percent(e)}),{autocomplete:["accent-(op|opacity)","accent-(op|opacity)-<percent>"]}]],To=[[/^caret-(.+)$/,Zr("caret-color","caret"),{autocomplete:"caret-$colors"}],[/^caret-op(?:acity)?-?(.+)$/,([,e])=>({"--un-caret-opacity":qr.bracket.percent(e)}),{autocomplete:["caret-(op|opacity)","caret-(op|opacity)-<percent>"]}]],Lo=[["overscroll-auto",{"overscroll-behavior":"auto"}],["overscroll-contain",{"overscroll-behavior":"contain"}],["overscroll-none",{"overscroll-behavior":"none"}],...ro("overscroll","overscroll-behavior"),["overscroll-x-auto",{"overscroll-behavior-x":"auto"}],["overscroll-x-contain",{"overscroll-behavior-x":"contain"}],["overscroll-x-none",{"overscroll-behavior-x":"none"}],...ro("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"}],...ro("overscroll-y","overscroll-behavior-y")],Mo=[["scroll-auto",{"scroll-behavior":"auto"}],["scroll-smooth",{"scroll-behavior":"smooth"}],...ro("scroll","scroll-behavior")],Po=["solid","dashed","dotted","double","hidden","none","groove","ridge","inset","outset",...ur],Bo=[[/^(?:border|b)()(?:-(.+))?$/,Ro,{autocomplete:"(border|b)-<directions>"}],[/^(?:border|b)-([xy])(?:-(.+))?$/,Ro],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,Ro],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,Ro],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,Ro],[/^(?:border|b)-()(?:width|size)-(.+)$/,Ro,{autocomplete:["(border|b)-<num>","(border|b)-<directions>-<num>"]}],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,Ro],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,Ro],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,Ro],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,Ro],[/^(?:border|b)-()(?:color-)?(.+)$/,Fo,{autocomplete:["(border|b)-$colors","(border|b)-<directions>-$colors"]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,Fo],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,Fo],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,Fo],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,Fo],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,Io,{autocomplete:"(border|b)-(op|opacity)-<percent>"}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,Io],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,Io],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,Io],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,Io],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,No,{autocomplete:["(border|b)-(rounded|rd)","(border|b)-(rounded|rd)-$radius","(rounded|rd)","(rounded|rd)-$radius"]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltbse])(?:-(.+))?$/,No],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,No],[/^(?:border-|b-)?(?:rounded|rd)-([bise][se])(?:-(.+))?$/,No],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,No],[/^(?:border|b)-(?:style-)?()(.+)$/,Uo,{autocomplete:["(border|b)-style",`(border|b)-(${Po.join("|")})`,"(border|b)-<directions>-style",`(border|b)-<directions>-(${Po.join("|")})`,`(border|b)-<directions>-style-(${Po.join("|")})`,`(border|b)-style-(${Po.join("|")})`]}],[/^(?:border|b)-([xy])-(?:style-)?(.+)$/,Uo],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,Uo],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,Uo],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,Uo]];function Ro([,e="",t="1"]){const n=qr.bracket.cssvar.global.px(t);if(e in rr&&null!=n)return rr[e].map(e=>[`border${e}-width`,n])}function Fo([,e="",t],n){if(e in rr){if(io(qr.bracket(t)))return Ro(["",e,t]);if(Jr(t,n.theme)){const r=rr[e].map(e=>{return(r=e,([,e],t)=>{const n=Xr(e,t.theme),o=Kr(n,`border${r}-color`,`border${r}`,t);if(o){const e=o[0];return n?.color&&!Object.values(nr).includes(n.color)&&!n.alpha&&r&&""!==r&&(e[`--un-border${r}-opacity`]="var(--un-border-opacity)"),o}})(["",t],n);var r}).filter(M);return[r.map(e=>e[0]).reduce((e,t)=>(Object.assign(e,t),e),{}),...r.flatMap(e=>e.slice(1))]}}}function Io([,e="",t]){const n=qr.bracket.percent.cssvar(t);if(e in rr&&null!=n)return rr[e].map(e=>[`--un-border${e}-opacity`,n])}function No([,e="",t="DEFAULT"],{theme:n}){if(e in ir){if("full"===t)return ir[e].map(e=>[`border${e}-radius`,"calc(infinity * 1px)"]);const r=n.radius?.[t]??qr.bracket.cssvar.global.fraction.rem(t);if(null!=r){const o=n.radius&&t in n.radius;return o&&co("radius",t),ir[e].map(e=>[`border${e}-radius`,o?uo("radius",t):r])}}}function Uo([,e="",t]){if(Po.includes(t)&&e in rr)return[["--un-border-style",t],...rr[e].map(e=>[`border${e}-style`,t])]}const Do=[[/^op(?:acity)?-?(.+)$/,([,e])=>({opacity:qr.bracket.percent.cssvar(e)})]],Wo=/^\[url\(.+\)\]$/,qo=/^\[(?:length|size):.+\]$/,Vo=/^\[position:.+\]$/,Ho=/^\[(?:linear|conic|radial)-gradient\(.+\)\]$/,Xo=/^\[image:.+\]$/,Yo=[[/^bg-(.+)$/,(...e)=>{const t=e[0][1];if(Wo.test(t))return{"--un-url":qr.bracket(t),"background-image":"var(--un-url)"};if(qo.test(t)&&null!=qr.bracketOfLength(t))return{"background-size":qr.bracketOfLength(t).split(" ").map(e=>qr.fraction.auto.px.cssvar(e)??e).join(" ")};if("["===(n=t)[0]&&"]"===n.slice(-1)&&(n=n.slice(1,-1)),(pr.test(n)||hr.test(n)||Vo.test(t))&&null!=qr.bracketOfPosition(t))return{"background-position":qr.bracketOfPosition(t).split(" ").map(e=>qr.position.fraction.auto.px.cssvar(e)??e).join(" ")};var n;if(Ho.test(t)||Xo.test(t)){const e=qr.bracket(t);if(e){return{"background-image":(e.startsWith("http")?`url(${e})`:qr.cssvar(e))??e}}}return Zr("background-color","bg")(...e)},{autocomplete:"bg-$colors"}],[/^bg-op(?:acity)?-?(.+)$/,([,e])=>({"--un-bg-opacity":qr.bracket.percent.cssvar(e)}),{autocomplete:"bg-(op|opacity)-<percent>"}]],Go=[[/^columns-(.+)$/,([,e],{theme:t})=>t.container&&e in t.container?(co("container",e),{columns:uo("container",e)}):{columns:qr.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"}],...ro("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"}],...ro("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"}],...ro("break-after")],Ko=["solid","double","dotted","dashed","wavy",...ur],Zo=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,e])=>({"text-decoration-line":e}),{autocomplete:"decoration-(underline|overline|line-through)"}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,Qo,{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(io(qr.bracket(e[1])))return Qo(e);const n=Zr("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":qr.bracket.percent.cssvar(e)}),{autocomplete:"(underline|decoration)-(op|opacity)-<percent>"}],[/^(?:underline|decoration)-offset-(.+)$/,([,e])=>({"text-underline-offset":qr.auto.bracket.cssvar.global.px(e)}),{autocomplete:"(underline|decoration)-(offset)-<num>"}],...Ko.map(e=>[`underline-${e}`,{"text-decoration-style":e}]),...Ko.map(e=>[`decoration-${e}`,{"text-decoration-style":e}]),["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];function Qo([,e]){return{"text-decoration-thickness":qr.bracket.cssvar.global.px(e)}}const Jo=[[/^pa?()-?(.+)$/,Hr("padding"),{autocomplete:["(m|p)<num>","(m|p)-<num>"]}],[/^p-?xy()()$/,Hr("padding"),{autocomplete:"(m|p)-(xy)"}],[/^p-?([xy])(?:-?(.+))?$/,Hr("padding")],[/^p-?([rltbse])(?:-?(.+))?$/,Hr("padding"),{autocomplete:"(m|p)<directions>-<num>"}],[/^p-(block|inline)(?:-(.+))?$/,Hr("padding"),{autocomplete:"(m|p)-(block|inline)-<num>"}],[/^p-?([bi][se])(?:-?(.+))?$/,Hr("padding"),{autocomplete:"(m|p)-(bs|be|is|ie)-<num>"}]],ei=[[/^ma?()-?(.+)$/,Hr("margin")],[/^m-?xy()()$/,Hr("margin")],[/^m-?([xy])(?:-?(.+))?$/,Hr("margin")],[/^m-?([rltbse])(?:-?(.+))?$/,Hr("margin")],[/^m-(block|inline)(?:-(.+))?$/,Hr("margin")],[/^m-?([bi][se])(?:-?(.+))?$/,Hr("margin")]],ti=[[/^space-([xy])-(.+)$/,function*([e,t,n],{theme:r,symbols:o}){let i;const a=Vr(n);null!=a?(co("spacing"),i=`calc(var(--spacing) * ${a})`):i=r.spacing?.[n]??qr.bracket.cssvar.auto.fraction.rem(n||"1");if(null!=i){const n=rr["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]:[ni(e)],[`--un-space-${t}-reverse`]:"0",...Object.fromEntries(n)},yield oo(`--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]:[ni(e)],[`--un-space-${t}-reverse`]:"1"},yield oo(`--un-space-${t}-reverse`,{initialValue:0})}]];function ni(e){return{matcher:e,handle:(e,t)=>t({...e,parent:`${e.parent?`${e.parent} $$ `:""}${e.selector}`,selector:":where(&>:not(:last-child))"})}}const ri=[[/^divide-(.+)$/,function*(e,t){const n=Zr("border-color","divide")(e,t);n&&(yield{[t.symbols.variants]:[ni(e[0])],...n[0]},yield n[1])},{autocomplete:"divide-$colors"}],[/^divide-op(?:acity)?-?(.+)$/,function*([e,t],{symbols:n}){yield{[n.variants]:[ni(e)],"--un-divide-opacity":qr.bracket.percent(t)}},{autocomplete:["divide-(op|opacity)","divide-(op|opacity)-<percent>"]}],[/^divide-?([xy])$/,oi,{autocomplete:["divide-(x|y)","divide-(x|y)-reverse"]}],[/^divide-?([xy])-?(.+)$/,oi],[/^divide-?([xy])-reverse$/,function*([e,t],{symbols:n}){yield{[n.variants]:[ni(e)],[`--un-divide-${t}-reverse`]:"1"},yield oo(`--un-divide-${t}-reverse`,{initialValue:0})}],[new RegExp(`^divide-(${Po.join("|")})$`),function*([e,t],{symbols:n}){yield{[n.variants]:[ni(e)],"border-style":t}},{autocomplete:Po.map(e=>`divide-${e}`)}]];function*oi([e,t,n],{symbols:r}){let o=qr.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]:[ni(e)],[`--un-divide-${t}-reverse`]:0,...Object.fromEntries(n.flat())},yield oo(`--un-divide-${t}-reverse`,{initialValue:0}),yield oo("--un-border-style",{initialValue:"solid"}))}}const ii=["blur","brightness","contrast","grayscale","hue-rotate","invert","saturate","sepia","drop-shadow"],ai=ii.map(e=>oo(`--un-${e}`)),si=ii.map(e=>`var(--un-${e},)`).join(" "),li=["backdrop-blur","backdrop-brightness","backdrop-contrast","backdrop-grayscale","backdrop-hue-rotate","backdrop-invert","backdrop-opacity","backdrop-saturate","backdrop-sepia"],ci=li.map(e=>oo(`--un-${e}`)),ui=li.map(e=>`var(--un-${e},)`).join(" ");function pi(e){let t=qr.bracket.cssvar(e||"");return null!=t?t:(t=e?qr.percent(e):"100%",null!=t&&Number.parseFloat(t.slice(0,-1))<=100?t:void 0)}function di(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":ui,"backdrop-filter":ui},...ci]:[{[`--un-${e}`]:`${e}(${i})`,filter:si},...ai]}}const hi=[[/^(?:(backdrop-)|filter-)?blur(?:-(.+))?$/,di("blur",(e,t)=>t.blur?.[e||"DEFAULT"]||qr.bracket.cssvar.px(e)),{autocomplete:["(backdrop|filter)-blur-$blur","blur-$blur","filter-blur"]}],[/^(?:(backdrop-)|filter-)?brightness-(.+)$/,di("brightness",e=>qr.bracket.cssvar.percent(e)),{autocomplete:["(backdrop|filter)-brightness-<percent>","brightness-<percent>"]}],[/^(?:(backdrop-)|filter-)?contrast-(.+)$/,di("contrast",e=>qr.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=Vt(n,"/",2)??[],n.startsWith("/")&&(o=["",n.slice(1)]));let i=r.dropShadow?.[o[0]||"DEFAULT"];const a=n?qr.bracket.cssvar(n):void 0;if((null!=i||null!=a)&&!Jr(a,r)){const e=o[1]?qr.bracket.percent.cssvar(o[1]):void 0;return[{"--un-drop-shadow-opacity":e,"--un-drop-shadow":`drop-shadow(${Qr(i||a,"--un-drop-shadow-color",e).join(") drop-shadow(")})`,filter:si},...ai]}return Jr(n,r)?Zr("--un-drop-shadow-color","drop-shadow")(e,t):(i=qr.bracket.cssvar(n)??("none"===n?"":void 0),null!=i?[{"--un-drop-shadow":i?`drop-shadow(${i})`:i,filter:si},...ai]: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-(.+)$/,Zr("--un-drop-shadow-color","drop-shadow")],[/^(?:filter-)?drop-shadow(?:-color)?-op(?:acity)?-?(.+)$/,([,e])=>({"--un-drop-shadow-opacity":qr.bracket.percent(e)})],[/^(?:(backdrop-)|filter-)?grayscale(?:-(.+))?$/,di("grayscale",pi),{autocomplete:["(backdrop|filter)-grayscale","(backdrop|filter)-grayscale-<percent>","grayscale-<percent>"]}],[/^(?:(backdrop-)|filter-)?hue-rotate-(.+)$/,di("hue-rotate",e=>qr.bracket.cssvar.degree(e))],[/^(?:(backdrop-)|filter-)?invert(?:-(.+))?$/,di("invert",pi),{autocomplete:["(backdrop|filter)-invert","(backdrop|filter)-invert-<percent>","invert-<percent>"]}],[/^(backdrop-)op(?:acity)?-(.+)$/,di("opacity",e=>qr.bracket.cssvar.percent(e)),{autocomplete:["backdrop-(op|opacity)","backdrop-(op|opacity)-<percent>"]}],[/^(?:(backdrop-)|filter-)?saturate-(.+)$/,di("saturate",e=>qr.bracket.cssvar.percent(e)),{autocomplete:["(backdrop|filter)-saturate","(backdrop|filter)-saturate-<percent>","saturate-<percent>"]}],[/^(?:(backdrop-)|filter-)?sepia(?:-(.+))?$/,di("sepia",pi),{autocomplete:["(backdrop|filter)-sepia","(backdrop|filter)-sepia-<percent>","sepia-<percent>"]}],["filter",{filter:si}],["backdrop-filter",{"-webkit-backdrop-filter":ui,"backdrop-filter":ui}],["filter-none",{filter:"none"}],["backdrop-filter-none",{"-webkit-backdrop-filter":"none","backdrop-filter":"none"}],...ur.map(e=>[`filter-${e}`,{filter:e}]),...ur.map(e=>[`backdrop-filter-${e}`,{"-webkit-backdrop-filter":e,"backdrop-filter":e}])],fi=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],[/^flex-(.*)$/,([,e])=>({flex:null!=qr.bracket(e)?qr.bracket(e).split(" ").map(e=>qr.cssvar.fraction(e)??e).join(" "):qr.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":qr.bracket.cssvar.number(e)??1}),{autocomplete:["flex-shrink-<num>","shrink-<num>"]}],[/^(?:flex-)?grow(?:-(.*))?$/,([,e=""])=>({"flex-grow":qr.bracket.cssvar.number(e)??1}),{autocomplete:["flex-grow-<num>","grow-<num>"]}],[/^(?:flex-)?basis-(.+)$/,([,e])=>{const t=Vr(e);return null!=t?(co("spacing"),{"flex-basis":`calc(var(--spacing) * ${t})`}):{"flex-basis":qr.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"}]],mi={"":[""],x:["column-"],y:["row-"],col:["column-"],row:["row-"]},gi=[[/^(?:flex-|grid-)?gap-?()(.+)$/,Hr("gap",mi,(e,t)=>`${t}${e}`),{autocomplete:["gap-$spacing","gap-<num>"]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,Hr("gap",mi,(e,t)=>`${t}${e}`),{autocomplete:["gap-(x|y)-$spacing","gap-(x|y)-<num>"]}],[/^(?:flex-|grid-)?gap-(col|row)-?(.+)$/,Hr("gap",mi,(e,t)=>`${t}${e}`),{autocomplete:["gap-(col|row)-$spacing","gap-(col|row)-<num>"]}]];function bi(e){return e.replace("col","column")}function yi(e){switch(e){case"min":return"min-content";case"max":return"max-content";case"fr":return"minmax(0,1fr)"}return qr.bracket.cssvar.auto.rem(e)}const ki=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,e,t])=>({[`grid-${bi(e)}`]:qr.bracket.number.cssvar.auto(t)})],[/^(?:grid-)?(row|col)-span-(.+)$/,([,e,t])=>{if("full"===t)return{[`grid-${bi(e)}`]:"1/-1"};const n=qr.bracket.number.cssvar(t);return null!=n?{[`grid-${bi(e)}`]:`span ${n}/span ${n}`}:void 0},{autocomplete:"(grid-row|grid-col|row|col)-span-<num>"}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,e,t])=>({[`grid-${bi(e)}-start`]:qr.bracket.cssvar(t)??t})],[/^(?:grid-)?(row|col)-end-(.+)$/,([,e,t])=>({[`grid-${bi(e)}-end`]:qr.bracket.cssvar(t)??t}),{autocomplete:"(grid-row|grid-col|row|col)-(start|end)-<num>"}],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,e,t])=>({[`grid-auto-${bi(e)}`]:yi(t)}),{autocomplete:"(grid-auto|auto)-(rows|cols)-<num>"}],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,e])=>({"grid-auto-flow":qr.bracket.cssvar(e)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)$/,([,e])=>({"grid-auto-flow":bi(e).replace("-"," ")}),{autocomplete:["(grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)"]}],[/^(?:grid-)?(rows|cols)-(.+)$/,([,e,t])=>({[`grid-template-${bi(e)}`]:qr.bracket.cssvar(t)})],[/^(?:grid-)?(rows|cols)-minmax-([\w.-]+)$/,([,e,t])=>({[`grid-template-${bi(e)}`]:`repeat(auto-fill,minmax(${t},1fr))`})],[/^(?:grid-)?(rows|cols)-(\d+)$/,([,e,t])=>({[`grid-template-${bi(e)}`]:`repeat(${t},minmax(0,1fr))`}),{autocomplete:"(grid-rows|grid-cols|rows|cols)-<num>"}],[/^grid-area(s)?-(.+)$/,([,e,t])=>null!=e?{"grid-template-areas":qr.cssvar(t)??t.split("-").map(e=>`"${qr.bracket(e)}"`).join(" ")}:{"grid-area":qr.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"}]],wi=["auto","hidden","clip","visible","scroll","overlay",...ur],vi=[[/^(?:overflow|of)-(.+)$/,([,e])=>wi.includes(e)?{overflow:e}:void 0,{autocomplete:[`(overflow|of)-(${wi.join("|")})`,`(overflow|of)-(x|y)-(${wi.join("|")})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,e,t])=>wi.includes(t)?{[`overflow-${e}`]:t}:void 0]],xi={t:["top"],b:["bottom"],l:["left"],r:["right"],x:["left","right"],y:["top","bottom"]},$i="linear-gradient(#fff, #fff)",Si={"mask-image":"var(--un-mask-linear), var(--un-mask-radial), var(--un-mask-conic)","mask-composite":"intersect"};function zi([,e=""]){if(e in ir){return{"mask-position":e.split("").flatMap(e=>xi[e]).join(" ")}}const t=qr.bracket.cssvar.global.position(e);if(null!==t)return{"mask-position":t}}function Ci([e,t="",n,r],o){const i={...Si},a=[];if(a.push(...["linear","radial","conic"].map(e=>oo(`--un-mask-${e}`,{initialValue:$i}))),t in xi){i["--un-mask-linear"]="var(--un-mask-left), var(--un-mask-right), var(--un-mask-bottom), var(--un-mask-top)";for(const s of xi[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!=Vr(r)?(co("spacing"),i[`--un-mask-${s}-${n}-position`]=`calc(var(--spacing) * ${qr.bracket.cssvar.fraction.number(r)})`):i[`--un-mask-${s}-${n}-position`]=qr.bracket.cssvar.fraction.rem(r),Jr(r,o.theme)){const t=Zr(`--un-mask-${s}-${n}-color`,ao("colors"))([e,r],o);if(t){const[e,...n]=t;Object.assign(i,e),a.push(...n)}}a.push(...["from","to"].flatMap(e=>[oo(`--un-mask-${s}-${e}-position`,{syntax:"<length-percentage>",initialValue:"from"===e?"0%":"100%"}),oo(`--un-mask-${s}-${e}-color`,{syntax:"<color>",initialValue:"from"===e?"black":"transparent"})]))}a.push(...["top","right","bottom","left"].map(e=>oo(`--un-mask-${e}`,{initialValue:$i})))}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"]=qr.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`]=Vr(r)?`calc(1deg * ${qr.bracket.cssvar.number(r)})`:qr.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))`,Jr(r,o.theme)){const s=Zr(`--un-mask-${t}-${n}-color`,ao("colors"))([e,r],o);if(s){const[e,...t]=s;Object.assign(i,e),a.push(...t)}}else null!=Vr(r)?(co("spacing"),i[`--un-mask-${t}-${n}-position`]=`calc(var(--spacing) * ${qr.bracket.cssvar.fraction.number(r)})`):i[`--un-mask-${t}-${n}-position`]=qr.bracket.cssvar.fraction.rem(r)}"radial"===t&&a.push(oo("--un-mask-radial-shape",{initialValue:"ellipse"}),oo("--un-mask-radial-size",{initialValue:"farthest-corner"})),a.push(...["from","to"].flatMap(e=>[oo(`--un-mask-${t}-position`,{initialValue:"radial"===t?"center":"0deg"}),oo(`--un-mask-${t}-${e}-position`,{syntax:"<length-percentage>",initialValue:"from"===e?"0%":"100%"}),oo(`--un-mask-${t}-${e}-color`,{syntax:"<color>",initialValue:"from"===e?"black":"transparent"})]))}return[i,...a]}const ji=[["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":qr.bracket.cssvar(e)})],[/^mask-(linear|radial|conic|[xytblr])-(from|to)()(?:-(.+))?$/,Ci,{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)?-?(.*)$/,Ci],[/^mask-([trblxy])-(from|to)-(.*)$/,Ci],["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":cr[e]}),{autocomplete:[`mask-radial-at-(${Object.keys(cr).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})$/,zi],[/^mask-([-\w]{3,})$/,([,e])=>({"mask-position":cr[e]})],[/^mask-(?:position-|pos-)(.+)$/,zi],["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=qr.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"}]],Ai=[[/^\$ placeholder-(.+)$/,Zr("color","placeholder"),{autocomplete:"placeholder-$colors"}],[/^\$ placeholder-op(?:acity)?-?(.+)$/,([,e])=>({"--un-placeholder-opacity":qr.bracket.percent(e)}),{autocomplete:["placeholder-(op|opacity)","placeholder-(op|opacity)-<percent>"]}]],Ei=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,e])=>({position:e}),{autocomplete:["(position|pos)-<position>","(position|pos)-<globalKeyword>","<position>"]}],[/^(?:position-|pos-)([-\w]+)$/,([,e])=>ur.includes(e)?{position:e}:void 0],[/^(?:position-|pos-)?(static)$/,([,e])=>({position:e})]],_i=[["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"}],...ro("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"}],...ro("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"}],...ro("justify-self")],Oi=[[/^order-(.+)$/,([,e])=>({order:qr.bracket.cssvar.number(e)})],["order-first",{order:"calc(-infinity)"}],["order-last",{order:"calc(infinity)"}],["order-none",{order:"0"}]],Ti=[["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"}],...ro("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"}],...ro("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"}],...ro("self","align-self")],Li=[["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"}],...ro("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"}],...ro("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"}],...ro("place-self")],Mi=[..._i,...Ti,...Li].flatMap(([e,t])=>[[`flex-${e}`,t],[`grid-${e}`,t]]);function Pi(e){const t=Vr(e);return null!=t?(co("spacing"),`calc(var(--spacing) * ${t})`):qr.bracket.cssvar.global.auto.fraction.rem(e)}function Bi([,e,t]){const n=Pi(t);if(null!=n&&e in or)return or[e].map(e=>[e.slice(1),n])}const Ri=[[/^(?:position-|pos-)?inset-(.+)$/,([,e])=>({inset:Pi(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)-(.+)$/,Bi],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,Bi],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,Bi],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,Bi],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,Bi],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,e,t])=>({[e]:Pi(t)})]],Fi=[["float-left",{float:"left"}],["float-right",{float:"right"}],["float-start",{float:"inline-start"}],["float-end",{float:"inline-end"}],["float-none",{float:"none"}],...ro("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"}],...ro("clear")],Ii=[[/^(?:position-|pos-)?z([\d.]+)$/,([,e])=>({"z-index":qr.number(e)})],[/^(?:position-|pos-)?z-(.+)$/,([,e])=>({"z-index":qr.bracket.cssvar.global.auto.number(e)}),{autocomplete:"z-<num>"}]],Ni=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}],...ro("box","box-sizing")],Ui={shadow:oo("--un-shadow",{initialValue:"0 0 #0000"}),shadowColor:oo("--un-shadow-color"),insetShadow:oo("--un-inset-shadow",{initialValue:"0 0 #0000"}),insetShadowColor:oo("--un-inset-shadow-color"),ringColor:oo("--un-ring-color"),ringShadow:oo("--un-ring-shadow",{initialValue:"0 0 #0000"}),insetRingColor:oo("--un-inset-ring-color"),insetRingShadow:oo("--un-inset-ring-shadow",{initialValue:"0 0 #0000"}),ringInset:oo("--un-ring-inset"),ringOffsetWidth:oo("--un-ring-offset-width",{syntax:"<length>",initialValue:"0px"}),ringOffsetColor:oo("--un-ring-offset-color"),ringOffsetShadow:oo("--un-ring-offset-shadow",{initialValue:"0 0 #0000"})},Di=[[/^shadow(?:-?(.+))?$/,Wi("shadow"),{autocomplete:["shadow-$colors","shadow-$shadow"]}],[/^shadow-op(?:acity)?-?(.+)$/,([,e])=>({"--un-shadow-opacity":qr.bracket.percent.cssvar(e)}),{autocomplete:"shadow-(op|opacity)-<percent>"}],[/^inset-shadow(?:-(.+))?$/,Wi("insetShadow"),{autocomplete:["inset-shadow-$colors","inset-shadow-$insetShadow"]}],[/^inset-shadow-op(?:acity)?-?(.+)$/,([,e])=>({"--un-inset-shadow-opacity":qr.bracket.percent.cssvar(e)}),{autocomplete:"shadow-(op|opacity)-<percent>"}]];function Wi(e){return(t,n)=>{const[,r]=t,{theme:o}=n;let i=[];r&&(i=Vt(r,"/",2)??[],r.startsWith("/")&&(i=["",r.slice(1)]));const a=o[e]?.[i[0]||"DEFAULT"],s=r?qr.bracket.cssvar(r):void 0,l=ao(e);if((null!=a||null!=s)&&!Jr(s,o)){const e=i[1]?qr.bracket.percent.cssvar(i[1]):void 0;return[{[`--un-${l}-opacity`]:e,[`--un-${l}`]:Qr(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(Ui)]}return Zr(`--un-${l}-color`,l)(t,n)}}const qi=[[/^ring(?:-(.+))?$/,([,e])=>{const t=qr.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(Ui)]}],[/^ring-(.+)$/,Zr("--un-ring-color","ring"),{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-opacity":qr.bracket.percent.cssvar(e)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^inset-ring(?:-(.+))?$/,([,e])=>{const t=qr.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(Ui)]}],[/^inset-ring-(.+)$/,Zr("--un-inset-ring-color","inset-ring"),{autocomplete:"inset-ring-$colors"}],[/^inset-ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-inset-ring-opacity":qr.bracket.percent.cssvar(e)}),{autocomplete:"inset-ring-(op|opacity)-<percent>"}],[/^ring-offset(?:-(?:width-|size-)?(.+))?$/,([,e])=>{const t=qr.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-(.+)$/,Zr("--un-ring-offset-color","ring-offset"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-offset-opacity":qr.bracket.percent.cssvar(e)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]],Vi=[...["x","y","both"].map(e=>[`snap-${e}`,[{"scroll-snap-type":`${e} var(--un-scroll-snap-strictness)`},oo("--un-scroll-snap-strictness",{initialValue:"proximity"})]]),...["mandatory","proximity"].map(e=>[`snap-${e}`,[{"--un-scroll-snap-strictness":e},oo("--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?()-?(.+)$/,Hr("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])-?(.+)$/,Hr("scroll-margin")],[/^scroll-m-?([rltb])-?(.+)$/,Hr("scroll-margin")],[/^scroll-m-(block|inline)-(.+)$/,Hr("scroll-margin")],[/^scroll-m-?([bi][se])-?(.+)$/,Hr("scroll-margin")],[/^scroll-pa?()-?(.+)$/,Hr("scroll-padding")],[/^scroll-p-?([xy])-?(.+)$/,Hr("scroll-padding")],[/^scroll-p-?([rltb])-?(.+)$/,Hr("scroll-padding")],[/^scroll-p-(block|inline)-(.+)$/,Hr("scroll-padding")],[/^scroll-p-?([bi][se])-?(.+)$/,Hr("scroll-padding")]],Hi={h:"height",w:"width",inline:"inline-size",block:"block-size"};function Xi(e,t){return`${e||""}${Hi[t]}`}function Yi(e,t,n){let r;for(const o of["container","spacing"])if(e[o]?.[n]){co(o,n),r=uo(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==qr.number(n)||(co("spacing"),r=`calc(var(--spacing) * ${qr.number(n)})`),r??qr.bracket.cssvar.global.auto.none.fraction.rem(n)}const Gi=[[/^size-(min-|max-)?(.+)$/,([,e,t],{theme:n})=>({[Xi(e,"w")]:Yi(n,"w",t),[Xi(e,"h")]:Yi(n,"h",t)})],[/^(?:size-)?(min-|max-)?([wh])-?(.+)$/,([,e,t,n],{theme:r})=>({[Xi(e,t)]:Yi(r,t,n)})],[/^(?:size-)?(min-|max-)?(block|inline)-(.+)$/,([,e,t,n],{theme:r})=>({[Xi(e,t)]:Yi(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)=>({[Xi(e,t)]:Ki(r,n,"verticalBreakpoint")})],[/^(?:size-)?(min-|max-)?(w)-screen-(.+)$/,([,e,t,n],r)=>({[Xi(e,t)]:Ki(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 Ki(e,t,n="breakpoint"){const r=no(e,n);if(r)return r.find(e=>e.point===t)?.size}function Zi(e){if(/^\d+\/\d+$/.test(e))return e;switch(e){case"square":return"1/1";case"video":return"16/9"}return qr.bracket.cssvar.global.auto.number(e)}const Qi=[[/^(?:size-)?aspect-(?:ratio-)?(.+)$/,([,e])=>({"aspect-ratio":Zi(e)}),{autocomplete:["aspect-(square|video|ratio)","aspect-ratio-(square|video)"]}]],Ji=["size","layout","paint","style"],ea=[["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:qr.bracket.cssvar.global(e)})]],ta=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["collapse",{visibility:"collapse"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}],...ro("backface","backface-visibility")],na=[[/^cursor-(.+)$/,([,e])=>({cursor:qr.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}])],ra=[[/^contain-(.*)$/,([,e])=>null!=qr.bracket(e)?{contain:qr.bracket(e).split(" ").map(e=>qr.cssvar.fraction(e)??e).join(" ")}:Ji.includes(e)?[{"--un-contain-size":e,contain:Ji.map(e=>`var(--un-contain-${e})`).join(" ")},...Ji.map(e=>oo(`--un-contain-${e}`))]:void 0],["contain-strict",{contain:"strict"}],["contain-content",{contain:"content"}],["contain-none",{contain:"none"}]],oa=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}],...ro("pointer-events")],ia=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}],...ro("resize")],aa=[["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"}],...ro("select","user-select")],sa=[[/^(?:whitespace-|ws-)([-\w]+)$/,([,e])=>["normal","nowrap","pre","pre-line","pre-wrap","break-spaces",...ur].includes(e)?{"white-space":e}:void 0,{autocomplete:"(whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)"}]],la=[[/^intrinsic(?:-(block|inline|w|h))?(?:-size)?-(.+)$/,([,e,t])=>({[`contain-intrinsic-${{block:"block-size",inline:"inline-size",w:"width",h:"height"}[e]??"size"}`]:qr.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"}],...ro("content-visibility")],ca=[[/^content-(.+)$/,([,e])=>{if(null!=qr.bracket.cssvar(e))return[{"--un-content":qr.bracket.cssvar(e),content:"var(--un-content)"},oo("--un-content",{initialValue:'""'})]}],["content-empty",{content:'""'}],["content-none",{content:"none"}]],ua=[["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"}],...ro("case","text-transform")],pa=[...["manual","auto","none",...ur].map(e=>[`hyphens-${e}`,{"-webkit-hyphens":e,"-ms-hyphens":e,hyphens:e}])],da=[["write-vertical-right",{"writing-mode":"vertical-rl"}],["write-vertical-left",{"writing-mode":"vertical-lr"}],["write-normal",{"writing-mode":"horizontal-tb"}],...ro("write","writing-mode")],ha=[["write-orient-mixed",{"text-orientation":"mixed"}],["write-orient-sideways",{"text-orientation":"sideways"}],["write-orient-upright",{"text-orientation":"upright"}],...ro("write-orient","text-orientation")],fa=[["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])=>cr[e]?{"object-position":cr[e]}:null!=qr.bracketOfPosition(e)?{"object-position":qr.bracketOfPosition(e).split(" ").map(e=>qr.position.fraction.auto.px.cssvar(e)??e).join(" ")}:void 0,{autocomplete:`object-(${Object.keys(cr).join("|")})`}]],ma=[["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"}],...ro("bg-blend","background-blend")],ga=[["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"}],...ro("mix-blend")],ba=[[/^fill-(.+)$/,Zr("fill","fill"),{autocomplete:"fill-$colors"}],[/^fill-op(?:acity)?-?(.+)$/,([,e])=>({"--un-fill-opacity":qr.bracket.percent.cssvar(e)}),{autocomplete:"fill-(op|opacity)-<percent>"}],["fill-none",{fill:"none"}],[/^stroke-(?:width-|size-)?(.+)$/,ya],[/^stroke-dash-(.+)$/,([,e])=>({"stroke-dasharray":qr.bracket.cssvar.number(e)}),{autocomplete:"stroke-dash-<num>"}],[/^stroke-offset-(.+)$/,([,e])=>({"stroke-dashoffset":qr.bracket.cssvar.px.numberWithUnit(e)})],[/^stroke-(.+)$/,function(e,t){return io(qr.bracket(e[1]))?ya(e):Zr("stroke","stroke")(e,t)},{autocomplete:"stroke-$colors"}],[/^stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-stroke-opacity":qr.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 ya([,e]){return{"stroke-width":qr.bracket.cssvar.fraction.px.number(e)}}const ka=[["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=wa(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 oo(`--un-border-spacing-${e}`,{syntax:"<length>",initialValue:"0"})}},{autocomplete:["border-spacing","border-spacing-$spacing"]}],[/^border-spacing-([xy])-(.+)$/,function*([,e,t],{theme:n}){const r=wa(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 oo(`--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 wa(e,t){let n=t.spacing?.[e];if(!n){const t=Vr(e);null!=t?(co("spacing"),n=`calc(var(--spacing) * ${t})`):n=qr.bracket.cssvar.global.auto.fraction.rem(e)}return n}const va="var(--un-pan-x) var(--un-pan-y) var(--un-pinch-zoom)",xa=["pan-x","pan-y","pinch-zoom"].map(e=>oo(`--un-${e}`)),$a=[[/^touch-pan-(x|left|right)$/,function*([,e]){yield{"--un-pan-x":`pan-${e}`,"touch-action":va};for(const t of xa)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":va};for(const t of xa)yield t}],[/^touch-pinch-zoom$/,function*(){yield{"--un-pinch-zoom":"pinch-zoom","touch-action":va};for(const e of xa)yield e}],["touch-auto",{"touch-action":"auto"}],["touch-manipulation",{"touch-action":"manipulation"}],["touch-none",{"touch-action":"none"}],...ro("touch","touch-action")],Sa=["translate","rotate","scale"],za=["var(--un-rotate-x)","var(--un-rotate-y)","var(--un-rotate-z)","var(--un-skew-x)","var(--un-skew-y)"].join(" "),Ca=za,ja=["translateZ(0)",za].join(" "),Aa=[[/^(?:transform-)?origin-(.+)$/,([,e])=>({"transform-origin":cr[e]??qr.bracket.cssvar(e)}),{autocomplete:[`transform-origin-(${Object.keys(cr).join("|")})`,`origin-(${Object.keys(cr).join("|")})`]}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,e],{theme:t})=>{let n;if(t.perspective?.[e]?(co("perspective",e),n=uo("perspective",e)):n=qr.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=qr.bracket.cssvar(e)??(e.length>=3?cr[e]:void 0);if(null!=t)return{"perspective-origin":t}}],[/^(?:transform-)?translate-()(.+)$/,Ea],[/^(?:transform-)?translate-([xyz])-(.+)$/,Ea],[/^(?:transform-)?rotate-()(.+)$/,Oa],[/^(?:transform-)?rotate-([xyz])-(.+)$/,Oa],[/^(?:transform-)?skew-()(.+)$/,Ta],[/^(?:transform-)?skew-([xy])-(.+)$/,Ta,{autocomplete:["transform-skew-(x|y)-<percent>","skew-(x|y)-<percent>"]}],[/^(?:transform-)?scale-()(.+)$/,_a],[/^(?:transform-)?scale-([xyz])-(.+)$/,_a,{autocomplete:[`transform-(${Sa.join("|")})-<percent>`,`transform-(${Sa.join("|")})-(x|y|z)-<percent>`,`(${Sa.join("|")})-<percent>`,`(${Sa.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:Ca}],["transform-cpu",{transform:za}],["transform-gpu",{transform:ja}],["transform-none",{transform:"none"}],...ro("transform")];function Ea([,e,t]){const n=Vr(t)??qr.bracket.cssvar.none.fraction.rem(t);if(null!=n)return"none"===n?{translate:"none"}:(co("spacing"),[[...La(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)":""),tr]],...["x","y","z"].map(e=>oo(`--un-translate-${e}`,{initialValue:0}))])}function _a([,e,t]){const n=qr.bracket.cssvar.none.fraction.percent(t);if(null!=n)return"none"===n?{scale:"none"}:[[...La(e,n,"scale"),["scale","var(--un-scale-x) var(--un-scale-y)"+("z"===e?" var(--un-scale-z)":"")]],...["x","y","z"].map(e=>oo(`--un-scale-${e}`,{initialValue:1}))]}function Oa([,e="",t]){const n=qr.bracket.cssvar.none.degree(t);if(null!=n)return"none"===n?{rotate:"none"}:e?[[...La(e,n.endsWith("deg")?`rotate${e.toUpperCase()}(${n})`:n,"rotate"),["transform",Ca]],...["x","y","z"].map(e=>oo(`--un-rotate-${e}`,{initialValue:`rotate${e.toUpperCase()}(0)`})),...["x","y"].map(e=>oo(`--un-skew-${e}`,{initialValue:`skew${e.toUpperCase()}(0)`}))]:{rotate:qr.bracket.cssvar.degree(t)}}function Ta([,e,t]){const n=qr.bracket.cssvar.degree(t),r=ar[e];if(null!=n&&r)return[[...r.map(e=>[`--un-skew${e}`,n.endsWith("deg")?`skew${e.slice(1).toUpperCase()}(${n})`:n]),["transform",Ca]],...["x","y","z"].map(e=>oo(`--un-rotate-${e}`,{initialValue:`rotate${e.toUpperCase()}(0)`})),...["x","y"].map(e=>oo(`--un-skew-${e}`,{initialValue:`skew${e.toUpperCase()}(0)`}))]}function La(e,t,n){const r=t.split(yr);return e||!e&&1===r.length?ar[e].map(e=>[`--un-${n}${e}`,t]):r.map((e,t)=>[`--un-${n}-${sr[t]}`,e])}function Ma(e,t){let n;if(null!=qr.cssvar(e))n=qr.cssvar(e);else{e.startsWith("[")&&e.endsWith("]")&&(e=e.slice(1,-1));const r=e.split(",").map(e=>t.property?.[e]??qr.properties(e));r.every(Boolean)&&(n=r.join(","))}return n}const Pa=[[/^transition(?:-(\D+?))?(?:-(\d+))?$/,([,e,t],{theme:n})=>{co("default",["transition","timingFunction"]),co("default",["transition","duration"]);const r={"transition-property":n.property?.DEFAULT,"transition-timing-function":`var(--un-ease, ${uo("default",["transition","timingFunction"])})`,"transition-duration":`var(--un-duration, ${uo("default",["transition","duration"])})`};if(!e&&!t)return{...r};if(null!=e){const o=Ma(e,n);if(o)return{"--un-duration":t&&qr.time(t),...r,"transition-property":o}}else if(null!=t)return{"--un-duration":qr.time(t),...r}}],[/^(?:transition-)?duration-(.+)$/,([,e])=>({"--un-duration":qr.bracket.cssvar.time(e),"transition-duration":qr.bracket.cssvar.time(e)})],[/^(?:transition-)?delay-(.+)$/,([,e])=>({"transition-delay":qr.bracket.cssvar.time(e)})],[/^(?:transition-)?ease(?:-(.+))?$/,([,e="DEFAULT"],{theme:t})=>{let n;return t.ease?.[e]?(co("ease",e),n=uo("ease",e)):n=qr.bracket.cssvar(e),[{"--un-ease":n,"transition-timing-function":n},oo("--un-ease")]},{autocomplete:["transition-ease-(linear|in|out|in-out)","ease-(linear|in|out|in-out)"]}],[/^(?:transition-)?property-(.+)$/,([,e],{theme:t})=>{const n=qr.global(e)||Ma(e,t);if(n)return{"transition-property":n}},{autocomplete:[`transition-property-(${[...ur].join("|")})`]}],["transition-none",{transition:"none"}],...ro("transition"),["transition-discrete",{"transition-behavior":"allow-discrete"}],["transition-normal",{"transition-behavior":"normal"}]],Ba=[[/^text-(.+)$/,function([,e="base"],{theme:t}){const n=function(e,t){const[n,r]=qt(e,"[","]",["/",":"])??[];if(null!=n){const e=(n.match(br)??[])[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]?(co("leading",o),a=uo("leading",o)):a=qr.bracket.cssvar.global.rem(o));if(i)return co("text",[r,"fontSize"]),co("text",[r,"lineHeight"]),i.letterSpacing&&co("text",[r,"letterSpacing"]),{"font-size":uo("text",[r,"fontSize"]),"line-height":a??`var(--un-leading, ${uo("text",[r,"lineHeight"])})`,"letter-spacing":i.letterSpacing?uo("text",[r,"letterSpacing"]):void 0};const s=qr.bracketOfLength.rem(r);return a&&s?{"font-size":s,"line-height":a}:{"font-size":qr.bracketOfLength.rem(e)}},{autocomplete:"text-$text"}],[/^(?:text|font)-size-(.+)$/,qa,{autocomplete:"text-size-$text"}],[/^text-(?:color-)?(.+)$/,function(e,t){return io(qr.bracket(e[1]))?qa(e,t):Zr("color","text")(e,t)},{autocomplete:"text-$colors"}],[/^(?:color|c)-(.+)$/,Zr("color","text")],[/^(?:text|color|c)-(.+)$/,([,e])=>ur.includes(e)?{color:e}:void 0,{autocomplete:`(text|color|c)-(${ur.join("|")})`}],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-opacity":qr.bracket.percent.cssvar(e)}),{autocomplete:"(text|color|c)-(op|opacity)-<percent>"}],[/^fw-?([^-]+)$/,([,e],{theme:t})=>{let n;return t.fontWeight?.[e]?(co("fontWeight",e),n=uo("fontWeight",e)):n=qr.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]?(co("leading",e),n=uo("leading",e)):Vr(e)?(co("spacing"),n=`calc(var(--spacing) * ${Vr(e)})`):n=qr.bracket.cssvar.global.rem(e),null!=n)return[{"--un-leading":n,"line-height":n},oo("--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":qr.bracket.cssvar.global(e)})],[/^(?:font-)?tracking-(.+)$/,([,e],{theme:t})=>{let n;return t.tracking?.[e]?(co("tracking",e),n=uo("tracking",e)):n=qr.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]?uo("tracking",e):qr.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":qr.bracket.cssvar.fraction.global(e)}),{autocomplete:"font-stretch-<percentage>"}],[/^font-(.+)$/,([,e],{theme:t})=>{let n;if(t.font?.[e])return co("font",e),n=uo("font",e),{"font-family":n};if(t.fontWeight?.[e])return co("fontWeight",e),n=uo("fontWeight",e),{"--un-font-weight":n,"font-weight":n};if(n=qr.number(e),null!=n)return{"--un-font-weight":n,"font-weight":n};if(n=qr.bracketOfFamily(e),null!=n&&null==qr.number(n))return n=qr.cssvar(n)??n,{"font-family":n};if(n=qr.bracketOfNumber(e),null!=n)return n=qr.cssvar.number(n),{"--un-font-weight":n,"font-weight":n};if(n=qr.bracket(e),null!=n&&null!=qr.number(n)){const e=qr.number(n);return{"--un-font-weight":e,"font-weight":e}}return n=qr.bracket.cssvar.global(e),null!=n?{"font-family":n}:void 0},{autocomplete:["font-$font","font-$fontWeight"]}]],Ra=[[/^tab(?:-(.+))?$/,([,e])=>{const t=qr.bracket.cssvar.global.number(e||"4");if(null!=t)return{"-moz-tab-size":t,"-o-tab-size":t,"tab-size":t}}]],Fa=[[/^indent-(.+)$/,([,e])=>{let t=Vr(e);return null!=t?(co("spacing"),{"text-indent":`calc(var(--spacing) * ${t})`}):(t=qr.bracket.cssvar.auto.global.rem(e),null!=t?{"text-indent":t}:void 0)}]],Ia=[[/^text-stroke(?:-(.+))?$/,([,e="DEFAULT"],{theme:t})=>(t.textStrokeWidth?.[e]&&co("textStrokeWidth",e),{"-webkit-text-stroke-width":t.textStrokeWidth?.[e]?uo("textStrokeWidth",e):qr.bracket.cssvar.px(e)}),{autocomplete:"text-stroke-$textStrokeWidth"}],[/^text-stroke-(.+)$/,Zr("-webkit-text-stroke-color","text-stroke"),{autocomplete:"text-stroke-$colors"}],[/^text-stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-stroke-opacity":qr.bracket.percent.cssvar(e)}),{autocomplete:"text-stroke-(op|opacity)-<percent>"}]];const Na=[[/^text-shadow-(.+)$/,function(e,t){const[,n]=e,{theme:r}=t;let o=[];n&&(o=Vt(n,"/",2)??[]);const i=r.textShadow?.[o[0]],a=n?qr.bracket.cssvar(n):void 0;if((null!=i||null!=a)&&!Jr(a,r)){const e=o[1]?qr.bracket.percent.cssvar(o[1]):void 0;return{"--un-text-shadow-opacity":e,"--un-text-shadow":Qr(i||a,"--un-text-shadow-color",e).join(","),"text-shadow":"var(--un-text-shadow)"}}return Zr("--un-text-shadow-color","text-shadow")(e,t)??{"text-shadow":qr.bracket.cssvar.global(n)}},{autocomplete:["text-shadow-$textShadow","text-shadow(-color)?-$colors","text-shadow(-color)?-(op|opacity)-<percent>"]}],[/^text-shadow-color-(.+)$/,Zr("--un-text-shadow-color","text-shadow"),{autocomplete:"text-shadow-color-$colors"}],[/^text-shadow(?:-color)?-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-shadow-opacity":qr.bracket.percent.cssvar(e)}),{autocomplete:"text-shadow(-color)?-(op|opacity)-<percent>"}]],Ua=[oo("--un-ordinal"),oo("--un-slashed-zero"),oo("--un-numeric-figure"),oo("--un-numeric-spacing"),oo("--un-numeric-fraction")],Da={"font-variant-numeric":"var(--un-ordinal,) var(--un-slashed-zero,) var(--un-numeric-figure,) var(--un-numeric-spacing,) var(--un-numeric-fraction,)"},Wa=[["ordinal",[{"--un-ordinal":"ordinal",...Da},...Ua]],["slashed-zero",[{"--un-slashed-zero":"slashed-zero",...Da},...Ua]],["lining-nums",[{"--un-numeric-figure":"lining-nums",...Da},...Ua]],["oldstyle-nums",[{"--un-numeric-figure":"oldstyle-nums",...Da},...Ua]],["proportional-nums",[{"--un-numeric-spacing":"proportional-nums",...Da},...Ua]],["tabular-nums",[{"--un-numeric-spacing":"tabular-nums",...Da},...Ua]],["diagonal-fractions",[{"--un-numeric-fraction":"diagonal-fractions",...Da},...Ua]],["stacked-fractions",[{"--un-numeric-fraction":"stacked-fractions",...Da},...Ua]],["normal-nums",[{"font-variant-numeric":"normal"}]]];function qa([,e],{theme:t}){if(null!=t.text?.[e])return co("text",[e,"fontSize"]),co("text",[e,"lineHeight"]),{"font-size":uo("text",[e,"fontSize"]),"line-height":`var(--un-leading, ${uo("text",[e,"lineHeight"])})`};{const t=qr.bracket.cssvar.global.rem(e);if(t)return{"font-size":t}}}const Va={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"},Ha=[[/^(.+?)-(\$.+)$/,([,e,t])=>{const n=Va[e];if(n)return{[n]:qr.cssvar(t)}}]],Xa=[[/^\[(.*)\]$/,([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=qr.bracket(`[${i}]`,n);if(e)return{[r]:e}}}]];const Ya=[Ba,Ra,Fa,Ia,Na,ei,Jo,wo,yo,[["appearance-auto",{"-webkit-appearance":"auto",appearance:"auto"}],["appearance-none",{"-webkit-appearance":"none",appearance:"none"}]],zo,Ao,_o,Oo,To,[["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"]]]],Lo,zo,Mo,Ao,Bo,Yo,Do,[[/^(?:color-)?scheme-(.+)$/,([,e])=>({"color-scheme":e.split("-").join(" ")})]],mo,[[/^@container(?:\/(\w+))?(?:-(normal))?$/,([,e,t])=>({"container-type":t??"inline-size","container-name":e})]],Zo,fi,gi,ki,Gi,Qi,ea,ta,na,ra,oa,ia,aa,sa,la,ca,[["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"}]],ua,[["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"}]],qi,Di,Aa,Pa,Ha,Xa,Ti,Ni,Mi,Fi,Ri,_i,Oi,Li,Ei,Ii,vi,ba,vo,So,pa,da,ha,[["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"}]],fa,ma,ga,[["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"}]],ji,Go,hi,[[/^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"}]],Ai,Vi,ka,$a,Wa,[[/^view-transition-([\w-]+)$/,([,e])=>({"view-transition-name":e})]],ti,ri,[["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(),Ga=[...go],Ka={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(Ka).forEach(e=>{"string"!=typeof e&&void 0!==e&&(e.DEFAULT=e.DEFAULT||e[400])});const Za={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)"},Qa={sm:"40rem",md:"48rem",lg:"64rem",xl:"80rem","2xl":"96rem"},Ja={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:Ka,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:Qa,verticalBreakpoint:{...Qa},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:Za,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)"}},es={name:"aria",match(e,t){const n=jn("aria-",e,t.generator.config.separators);if(n){const[e,r]=n,o=qr.bracket(e)??t.theme.aria?.[e]??"";if(o)return{matcher:r,selector:e=>`${e}[aria-${o}]`}}},multiPass:!0,autocomplete:"aria-$aria"};function ts(e){return{name:`${e}-aria`,match(t,n){const r=jn(`${e}-aria-`,t,n.generator.config.separators);if(r){const[t,o,i]=r,a=qr.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 ns=[ts("group"),ts("peer"),ts("parent"),ts("previous"),ts("has"),ts("in")],rs=/(max|min)-\[([^\]]*)\]:/;function os(){const e={};return{name:"breakpoints",match(t,n){if(rs.test(t)){const e=t.match(rs);return{matcher:t.replace(e[0],""),handle:(t,n)=>n({...t,parent:`${t.parent?`${t.parent} $$ `:""}@media (${e[1]}-width: ${e[2]})`})}}const r=(no(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: ${ln(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: ${ln(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 is=[Sn("*",e=>({selector:`${e.selector} > *`}),{order:-1}),Sn("**",e=>({selector:`${e.selector} *`}),{order:-1})];function as(e,t){return{name:`combinator:${e}`,match(n,r){if(!n.startsWith(e))return;const o=r.generator.config.separators;let i=Cn(`${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=qr.bracket(i[0])??"";return""===a&&(a="*"),{matcher:i[1],selector:e=>`${e}${t}${a}`}},multiPass:!0}}const ss=[as("all"," "),as("children",">"),as("next","+"),as("sibling","+"),as("siblings","~")],ls=[Sn("svg",e=>({selector:`${e.selector} svg`}))],cs={name:"@",match(e,t){if(e.startsWith("@container"))return;const n=jn("@",e,t.generator.config.separators);if(n){const[e,r,o]=n,i=qr.bracket(e);let a;if(a=i?qr.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 us(e={}){if("class"===e?.dark||"object"==typeof e.dark){const{dark:t=".dark",light:n=".light"}="string"==typeof e.dark?{}:e.dark;return[Sn("dark",e=>({prefix:`${t} $$ ${e.prefix}`})),Sn("light",e=>({prefix:`${n} $$ ${e.prefix}`}))]}return[zn("dark","@media (prefers-color-scheme: dark)"),zn("light","@media (prefers-color-scheme: light)")]}const ps=[Sn(".dark",e=>({prefix:`.dark $$ ${e.prefix}`})),Sn(".light",e=>({prefix:`.light $$ ${e.prefix}`})),zn("@dark","@media (prefers-color-scheme: dark)"),zn("@light","@media (prefers-color-scheme: light)"),zn("not-dark","@media not (prefers-color-scheme: dark)")],ds={name:"data",match(e,t){const n=jn("data-",e,t.generator.config.separators);if(n){const[e,r]=n,o=qr.bracket(e)??t.theme.data?.[e]??"";if(o)return{matcher:r,selector:e=>`${e}[data-${o}]`}}},multiPass:!0};function hs(e){return{name:`${e}-data`,match(t,n){const r=jn(`${e}-data-`,t,n.generator.config.separators);if(r){const[t,o,i]=r,a=qr.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 fs=[hs("group"),hs("peer"),hs("parent"),hs("previous"),hs("has"),hs("in")],ms=[Sn("rtl",e=>({prefix:`[dir="rtl"] $$ ${e.prefix}`})),Sn("ltr",e=>({prefix:`[dir="ltr"] $$ ${e.prefix}`}))];function gs(){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 bs=Sn("inert",e=>({parent:`${e.parent?`${e.parent} $$ `:""}${e.selector}`,selector:"&:is([inert],[inert] *)"})),ys=zn("noscript","@media (scripting: none)"),ks={name:"scripting",match(e,t){const n=jn(["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)"]},ws=zn("print","@media print"),vs={name:"media",match(e,t){const n=jn("media-",e,t.generator.config.separators);if(n){const[e,r]=n;let o=qr.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"},xs=[zn("contrast-more","@media (prefers-contrast: more)"),zn("contrast-less","@media (prefers-contrast: less)")],$s=[zn("motion-reduce","@media (prefers-reduced-motion: reduce)"),zn("motion-safe","@media (prefers-reduced-motion: no-preference)")],Ss=[zn("landscape","@media (orientation: landscape)"),zn("portrait","@media (orientation: portrait)")],zs=[zn("forced-colors","@media (forced-colors: active)")],Cs={name:"selector",match(e,t){const n=Cn("selector-",e,t.generator.config.separators);if(n){const[e,t]=n,r=qr.bracket(e);if(r)return{matcher:t,selector:()=>r}}}},js={name:"layer",match(e,t){const n=jn("layer-",e,t.generator.config.separators);if(n){const[e,t]=n,r=qr.bracket(e)??e;if(r)return{matcher:t,handle:(e,t)=>t({...e,parent:`${e.parent?`${e.parent} $$ `:""}@layer ${r}`})}}}},As={name:"uno-layer",match(e,t){const n=jn("uno-layer-",e,t.generator.config.separators);if(n){const[e,t]=n,r=qr.bracket(e)??e;if(r)return{matcher:t,layer:r}}}},Es={name:"scope",match(e,t){const n=Cn("scope-",e,t.generator.config.separators);if(n){const[e,t]=n,r=qr.bracket(e);if(r)return{matcher:t,selector:e=>`${r} $$ ${e}`}}}},_s={name:"variables",match(e,t){if(!e.startsWith("["))return;const[n,r]=Wt(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=qr.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},Os={name:"theme-variables",match(e,t){if(on(e))return{matcher:e,handle:(e,n)=>n({...e,entries:JSON.parse(an(JSON.stringify(e.entries),t.theme))})}}},Ts=[Sn("@hover",e=>({parent:(e.parent?`${e.parent} $$ `:"")+"@media (hover: hover) and (pointer: fine)",selector:`${e.selector||""}:hover`}))],Ls={name:"implicit-group",match(e,t){const n=jn("in-",e,t.generator.config.separators);if(n){const[e,t]=n,r=qr.bracket(e)??e;if(r)return{matcher:t,handle:(e,t)=>t({...e,parent:`${e.parent?`${e.parent} $$ `:""}${e.selector}`,selector:`:where(*:is(${r})) &`})}}}},Ms=/^-?[0-9.]+(?:[a-z]+|%)?$/,Ps=/-?[0-9.]+(?:[a-z]+|%)?/,Bs=[/\b(opacity|color|flex|backdrop-filter|^filter|^scale|transform|mask-image)\b/];const Rs=/\b(hue-rotate)\s*(\(.*)/;const Fs={name:"negative",match(e){if(e.startsWith("-"))return{matcher:e.slice(1),body:e=>{if(e.find(e=>e[0]===tr))return;let t=!1;return e.forEach(e=>{if(k(e[2]).includes(tr))return;const n=e[1]?.toString();if(!n||"0"===n)return;if(Bs.some(t=>t.test(e[0])))return;const r=function(e){const t=e.match(pr)||e.match(dr);if(t){const[e,n]=qt(`(${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(Rs);if(t){const[e,n]=qt(t[2],"(",")"," ")??[];if(e){const r=Ms.test(e.slice(1,-1))?e.replace(Ps,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);Ms.test(n)&&(e[1]=n.replace(Ps,e=>e.startsWith("-")?e.slice(1):`-${e}`),t=!0)}),t?e:[]}}}},Is=(e,{theme:t})=>{const n=e.match(/^(.*)\b(placeholder-)(.+)$/);if(n){const[,e="",r,o]=n;if(Jr(o,t)||function(e){const t=e.match(/^op(?:acity)?-?(.+)$/);return!(!t||null==t[1])&&null!=qr.bracket.percent(t[1])}(o))return{matcher:`${e}placeholder-$ ${r}${o}`}}};function Ns(){return function(e){const{h:t}=e;let n,r,o;return[{name:"pseudo",match(e,o){n&&r||(n=new RegExp(`^(${wn})(?:-(\\d+|\\[(\\w|[+-.])+\\]))?(?:${o.generator.config.separators.join("|")})`),r=new RegExp(`^(${vn})(?:${o.generator.config.separators.filter(e=>"-"!==e).join("|")})`));const i=e.match(n)||e.match(r);if(i){let n=un[i[1]]||dn[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(cn,e))}let r=pn.indexOf(i[1]);return-1===r&&(r=hn.indexOf(i[1])),-1===r&&(r=void 0),{matcher:e.slice(i[0].length),handle:(e,t)=>{const o=n.includes("::")&&!kn.includes(n)?{pseudo:`${e.pseudo}${n}`}:{selector:`${e.selector}${n}`};return t({...e,...o,sort:r,noMerge:!0})}}}},multiPass:!0,autocomplete:`(${wn}|${vn}):`},{name:"pseudo:multi",match(e,t){o||(o=new RegExp(`^(${yn})(?:${t.generator.config.separators.join("|")})`));const n=e.match(o);if(n)return fn[n[1]].map(t=>({matcher:e.slice(n[0].length),handle:(e,n)=>n({...e,pseudo:`${e.pseudo}${t}`})}))},multiPass:!1,autocomplete:`(${yn}):`}]}({h:qr})}function Us(){return function(e){const{getBracket:t,h:n}=e;let r,o,i;return{match(e,a){r&&o||(r=new RegExp(`^(${bn})-(${mn})(?:${a.generator.config.separators.join("|")})`),o=new RegExp(`^(${bn})-(${gn})(?:${a.generator.config.separators.filter(e=>"-"!==e).join("|")})`),i=new RegExp(`^(${bn})-(\\[.+\\])(?:${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]):un[s[2]]||dn[s[2]]||`:${s[2]}`;return{matcher:e.slice(s[0].length),selector:e=>`${e}:${r}(${o})`}}},multiPass:!0,autocomplete:`(${bn})-(${mn}|${gn}):`}}({getBracket:Wt,h:qr})}function Ds(e={}){return function(e,t){const n=!!(null==e?void 0:e.attributifyPseudo);let r=(null==e?void 0:e.prefix)??"";r=C((Array.isArray(r)?r:[r]).filter(Boolean)[0]??"");const o=(e,o)=>xn(e,n?`[${r}${e}=""]`:`.${r}${e}`,o,t);return[o("group"," "),o("peer","~"),o("parent",">"),o("previous","+")]}(e,{h:qr,variantGetBracket:Cn})}const Ws={match(e){const t=e.match($n);if(t){const n=`part(${t[2]})`;return{matcher:e.slice(t[1].length),selector:e=>`${e}::${n}`}}},multiPass:!0},qs={name:"starting",match(e){if(e.startsWith("starting:"))return{matcher:e.slice(9),handle:(e,t)=>t({...e,parent:"@starting-style"})}}},Vs={name:"supports",match(e,t){const n=jn("supports-",e,t.generator.config.separators);if(n){const[e,r]=n;let o=qr.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 Hs(e){return[es,ds,js,Cs,As,Fs,qs,gs(),Vs,ys,ks,ws,vs,...xs,...$s,...Ss,...zs,os(),...ss,...ls,Is,...Ns(),Us(),...Ds(e),Ws,...us(e),...ps,...ms,Es,...is,bs,cs,_s,...fs,...ns,Os,...Ts,Ls].flat()}function Xs(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 Ys=/\/\/#\s*sourceMappingURL=.*\n?/g;const Gs=/(?:[\w&:[\]-]|\[\S{1,64}=\S{1,64}\]){1,64}\[\\?['"]?\S{1,64}?['"]\]\]?[\w:-]{0,64}/g,Ks=/\[(\\\W|[\w-]){1,64}:[^\s:]{0,64}?("\S{1,64}?"|'\S{1,64}?'|`\S{1,64}?`|[^\s:]{1,64}?)[^\s:]{0,64}?\)?\]/g,Zs=/^\[(?:\\\W|[\w-]){1,64}:['"]?\S{1,64}?['"]?\]$/;function Qs(e){const t=[];for(const o of e.matchAll(Ks))(0===o.index||/^[\s'"`]/.test(e[o.index-1]??""))&&t.push(o[0]);for(const o of e.matchAll(Gs))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}${Xs(n)}`;t.set(i,n),e=e.replace(n,i)}return e}(e,n,/-\[(?!&.+?;)[^\]]*\]/g,r))?(e.split(b).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)),O(e)&&!Zs.test(e)&&t.push(e)}),t):t}function Js(){return{name:"@unocss/extractor-arbitrary-variants",order:0,extract:({code:e})=>Qs(function(e){return e.includes("sourceMappingURL=")?e.replace(Ys,""):e}(e))}}function el(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===ho.size)return;const e=Array.from(ho.entries()).map(([e,t])=>`${e}:${t};`).join("");return!1===n?`${r}{${e}}`:`${n}{${r}{${e}}}`},layer:"properties"}}function tl(e){if(!1!==e.preflights?.reset)return{getCSS:({generator:e})=>(co("font","sans"),co("font","mono"),co("default",["font","family"]),co("default",["monoFont","family"]),so("\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 nl=["spacing","breakpoint","verticalBreakpoint","shadow","insetShadow","dropShadow","textShadow","animation","property","aria","media","supports","containers"];function rl(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=w(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=Gr(n,e,t);"string"==typeof o&&(co(e,t),po(o,n))}}let s;if("on-demand"===i){if(0===lo.size)return;s=Array.from(lo).map(e=>{const[t,r]=e.split(":"),o=Gr(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=>!nl.includes(e));s=Array.from(function(e,t){const n=new Map([["--spacing",e.spacing.DEFAULT]]),r=e=>e.replace(Zt,"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 k(a))t(r,e);const n=t.map(([e,t])=>e&&t?`${C(e)}: ${t};`:void 0).filter(Boolean);if(0!==n.length)return so(`\n:root, :host {\n${n.join("\n")}\n}`,"dev"===r.config.envMode)})(s)}}}const ol=e=>[tl(e),rl(e),el(e)].filter(Boolean),il={position:["relative","absolute","fixed","sticky","static"],globalKeyword:ur},al=(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:Ya,shortcuts:Ga,theme:Ja,layers:{properties:-200,theme:-150,base:-100},preflights:ol(e),variants:Hs(e),prefix:e.prefix,postprocess:Qn(e),extractorDefault:!1===e.arbitraryVariants?void 0:Js(),autocomplete:{shorthands:il},options:e,configResolved(){lo.clear(),ho.clear()},meta:{themeDeps:lo,propertyDeps:ho}});function sl(e){return e.charAt(0).toUpperCase()+e.slice(1)}function ll(e){return e.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}var cl=["Webkit","Moz","ms"];function ul(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]=ll(o);o=sl(o);for(let i=0;i<cl.length;i++){const r=`${cl[i]}${o}`;if(r in e)return t[n]=ll(sl(r))}return n}(n[0]))})}async function pl(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=k(a.postprocess)).unshift(ul(n.createElement("div").style))}i.configResolved?.(o,a);const l=await async function(e,t){return await oe.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,g=[];function b(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 y(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=y(t),n=e.parentNode;n?n.insertBefore(r,e.nextSibling):c(r)}return r}async function w(){const e=[...h],t=await l.generate(e);t.layers.reduce((e,n)=>(y(n,e).innerHTML=t.getLayer(n)??"",n),void 0);const n=e.filter(e=>!t.matched.has(e));return n.forEach(e=>h.delete(e)),{...t,getStyleElement:e=>p.get(e),getStyleElements:()=>p}}async function v(e){const t=h.size;await l.applyExtractors(e,void 0,h),t!==h.size&&await new Promise(e=>{g.push(e),null!=m&&clearTimeout(m),m=setTimeout(()=>w().then(()=>{const e=g;g=[],e.forEach(e=>e())}),0)})}async function $(e=u()){const t=e&&e.outerHTML;t&&(await v(`${t} ${function(e){return e.replace(/&amp;/g,"&").replace(/&gt;/g,">").replace(/&lt;/g,"<")}(t)}`),b(r()),b(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 v(t.outerHTML),b(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 v(n)}b(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){x(e)||(e.forEach(e=>h.add(e)),e=""),await v(e)},extractAll:$,inspect(e){f=e},toggleObserver(e){d=void 0===e?!d:!!e,z||d||j()},update:w,presets:t.__unocss_runtime?.presets??{}};!1!==i.ready?.(A)&&(d=!1,j())}const dl=10,hl=11,fl=12,ml=13,gl=15,bl=16,yl=17,kl=18,wl=19,vl=20,xl=21,$l=22,Sl=23,zl=24,Cl=25;function jl(e){return e>=48&&e<=57}function Al(e){return jl(e)||e>=65&&e<=70||e>=97&&e<=102}function El(e){return e>=65&&e<=90}function _l(e){return function(e){return El(e)||function(e){return e>=97&&e<=122}(e)}(e)||function(e){return e>=128}(e)||95===e}function Ol(e){return _l(e)||jl(e)||45===e}function Tl(e){return e>=0&&e<=8||11===e||e>=14&&e<=31||127===e}function Ll(e){return 10===e||13===e||12===e}function Ml(e){return Ll(e)||32===e||9===e}function Pl(e,t){return 92===e&&(!Ll(t)&&0!==t)}function Bl(e,t,n){return 45===e?_l(t)||45===t||Pl(t,n):!!_l(e)||92===e&&Pl(e,t)}function Rl(e,t,n){return 43===e||45===e?jl(t)?2:46===t&&jl(n)?3:0:46===e?jl(t)?2:0:jl(e)?1:0}function Fl(e){return 65279===e||65534===e?1:0}const Il=new Array(128),Nl=130;for(let Bm=0;Bm<Il.length;Bm++)Il[Bm]=(Ml(Bm)?Nl:jl(Bm)&&131)||_l(Bm)&&132||Tl(Bm)&&133||Bm||128;function Ul(e){return e<128?Il[e]:132}function Dl(e,t){return t<e.length?e.charCodeAt(t):0}function Wl(e,t,n){return 13===n&&10===Dl(e,t+1)?2:1}function ql(e,t,n){let r=e.charCodeAt(t);return El(r)&&(r|=32),r===n}function Vl(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(El(i)&&(i|=32),i!==n)return!1}return!0}function Hl(e,t){for(;t<e.length&&Ml(e.charCodeAt(t));t++);return t}function Xl(e,t){for(;t<e.length&&jl(e.charCodeAt(t));t++);return t}function Yl(e,t){if(Al(Dl(e,(t+=2)-1))){for(const r=Math.min(e.length,t+5);t<r&&Al(Dl(e,t));t++);const n=Dl(e,t);Ml(n)&&(t+=Wl(e,t,n))}return t}function Gl(e,t){for(;t<e.length;t++){const n=e.charCodeAt(t);if(!Ol(n)){if(!Pl(n,Dl(e,t+1)))break;t=Yl(e,t)-1}}return t}function Kl(e,t){let n=e.charCodeAt(t);if(43!==n&&45!==n||(n=e.charCodeAt(t+=1)),jl(n)&&(t=Xl(e,t+1),n=e.charCodeAt(t)),46===n&&jl(e.charCodeAt(t+1))&&(t=Xl(e,t+=2)),ql(e,t,101)){let r=0;n=e.charCodeAt(t+1),45!==n&&43!==n||(r=1,n=e.charCodeAt(t+2)),jl(n)&&(t=Xl(e,t+1+r+1))}return t}function Zl(e,t){for(;t<e.length;t++){const n=e.charCodeAt(t);if(41===n){t++;break}Pl(n,Dl(e,t+1))&&(t=Yl(e,t))}return t}function Ql(e){if(1===e.length&&!Al(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 Jl=["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 ec(e=null,t){return null===e||e.length<t?new Uint32Array(Math.max(t+1024,16384)):e}function tc(e){const t=e.source,n=t.length,r=t.length>0?Fl(t.charCodeAt(0)):0,o=ec(e.lines,n),i=ec(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 nc{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||tc(this),{source:t,offset:this.startOffset+e,line:this.lines[e],column:this.columns[e]}}getLocationRange(e,t,n){return this.computed||tc(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 rc=16777215,oc=24,ic=new Uint8Array(32);function ac(e){return 0!==ic[e]}ic[2]=$l,ic[21]=$l,ic[19]=vl,ic[23]=zl;class sc{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=ec(this.offsetAndType,e.length+1),o=ec(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<<oc|n,-1===a&&(a=t),o[c]=l,e===s){const e=o[l];o[l]=c,l=e,s=ic[r[e]>>oc]}else ac(e)&&(l=c,s=ic[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]>>oc:0}lookupTypeNonSC(e){for(let t=this.tokenIndex;t<this.tokenCount;t++){const n=this.offsetAndType[t]>>oc;if(n!==ml&&n!==Cl&&0===e--)return n}return 0}lookupOffset(e){return(e+=this.tokenIndex)<this.tokenCount?this.offsetAndType[e-1]&rc:this.source.length}lookupOffsetNonSC(e){for(let t=this.tokenIndex;t<this.tokenCount;t++){const n=this.offsetAndType[t]>>oc;if(n!==ml&&n!==Cl&&0===e--)return t-this.tokenIndex}return 0}lookupValue(e,t){return(e+=this.tokenIndex)<this.tokenCount&&Vl(this.source,this.offsetAndType[e-1]&rc,this.offsetAndType[e]&rc,t)}getTokenStart(e){return e===this.tokenIndex?this.tokenStart:e>0?e<this.tokenCount?this.offsetAndType[e-1]&rc:this.offsetAndType[this.tokenCount]&rc: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]&rc,t=this.offsetAndType[t],this.tokenType=t>>oc,this.tokenEnd=t&rc):(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>>oc,this.tokenEnd=e&rc):(this.eof=!0,this.tokenIndex=this.tokenCount,this.tokenType=0,this.tokenStart=this.tokenEnd=this.source.length)}skipSC(){for(;this.tokenType===ml||this.tokenType===Cl;)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]&rc:this.firstCharOffset,t(this.source.charCodeAt(o))){case 1:break e;case 2:n++;break e;default:ac(this.offsetAndType[n]>>oc)&&(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&rc;n=i,e(o>>oc,r,i,t)}}dump(){const e=new Array(this.tokenCount);return this.forEachToken((t,n,r,o)=>{e[o]={idx:o,type:Jl[t],chunk:this.source.substring(n,r),balance:this.balance[o]}}),e}}function lc(e,t){function n(t){return t<a?e.charCodeAt(t):0}function r(){return c=Kl(e,c),Bl(n(c),n(c+1),n(c+2))?(s=fl,void(c=Gl(e,c))):37===n(c)?(s=hl,void c++):void(s=dl)}function o(){const t=c;return c=Gl(e,c),Vl(e,t,c,"url")&&40===n(c)?(c=Hl(e,c+1),34===n(c)||39===n(c)?(s=2,void(c=t+4)):void function(){for(s=7,c=Hl(e,c);c<e.length;c++){const t=e.charCodeAt(c);switch(Ul(t)){case 41:return void c++;case Nl:return c=Hl(e,c),41===n(c)||c>=e.length?void(c<e.length&&c++):(c=Zl(e,c),void(s=8));case 34:case 39:case 40:case 133:return c=Zl(e,c),void(s=8);case 92:if(Pl(t,n(c+1))){c=Yl(e,c)-1;break}return c=Zl(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(Ul(r)){case t:return void c++;case Nl:if(Ll(r))return c+=Wl(e,c,r),void(s=6);break;case 92:if(c===e.length-1)break;const o=n(c+1);Ll(o)?c+=Wl(e,c+1,o):Pl(r,o)&&(c=Yl(e,c)-1)}}}const a=(e=String(e||"")).length;let s,l=Fl(n(0)),c=l;for(;c<a;){const a=e.charCodeAt(c);switch(Ul(a)){case Nl:s=ml,c=Hl(e,c+1);break;case 34:i();break;case 35:Ol(n(c+1))||Pl(n(c+1),n(c+2))?(s=4,c=Gl(e,c+1)):(s=9,c++);break;case 39:i();break;case 40:s=xl,c++;break;case 41:s=$l,c++;break;case 43:Rl(a,n(c+1),n(c+2))?r():(s=9,c++);break;case 44:s=kl,c++;break;case 45:Rl(a,n(c+1),n(c+2))?r():45===n(c+1)&&62===n(c+2)?(s=gl,c+=3):Bl(a,n(c+1),n(c+2))?o():(s=9,c++);break;case 46:Rl(a,n(c+1),n(c+2))?r():(s=9,c++);break;case 47:42===n(c+1)?(s=Cl,c=e.indexOf("*/",c+2),c=-1===c?e.length:c+2):(s=9,c++);break;case 58:s=bl,c++;break;case 59:s=yl,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:Bl(n(c+1),n(c+2),n(c+3))?(s=3,c=Gl(e,c+1)):(s=9,c++);break;case 91:s=wl,c++;break;case 92:Pl(a,n(c+1))?o():(s=9,c++);break;case 93:s=vl,c++;break;case 123:s=Sl,c++;break;case 125:s=zl,c++;break;case 131:r();break;case 132:o();break;default:s=9,c++}t(s,l,l=c)}}let cc=null;class uc{static createItem(e){return{prev:null,next:null,data:e}}constructor(){this.head=null,this.tail=null,this.cursor=null}createItem(e){return uc.createItem(e)}allocateCursor(e,t){let n;return null!==cc?(n=cc,cc=cc.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=cc,cc=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=uc.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 uc;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 uc;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 uc;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(uc.createItem(e))}append(e){return this.insert(e)}appendData(e){return this.insert(uc.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(uc.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(uc.createItem(e))}pop(){return null!==this.tail?this.remove(this.tail):null}unshift(e){this.prepend(uc.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 pc(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 dc=" ";function hc({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,dc),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 fc(e,t,n,r,o,i=1,a=1){return Object.assign(pc("SyntaxError",e),{source:t,offset:n,line:r,column:o,sourceFragment:e=>hc({source:t,line:r,column:o,baseLine:i,baseColumn:a},isNaN(e)?0:e),get formattedMessage(){return`Parse error: ${e}\n`+hc({source:t,line:r,column:o,baseLine:i,baseColumn:a},2)}})}function mc(e){const t=this.createList();let n=!1;const r={recognizer:e};for(;!this.eof;){switch(this.tokenType){case Cl:this.next();continue;case ml: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 gc=()=>{};function bc(e){return function(){return this[e]()}}function yc(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 kc(e){let t="",n="<unknown>",r=!1,o=gc,i=!1;const a=new nc,s=Object.assign(new sc,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:yc(e.atrule),pseudo:yc(e.pseudo),node:yc(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]=bc(r)}return{config:t,...t,...t.node}}(e||{}),{parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:mc,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 uc,createSingleNodeList:e=>(new uc).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!==ml&&t!==Cl)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)=>ql(t,e,n),cmpStr:(e,n,r)=>Vl(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,Kl(t,this.tokenStart));return this.eat(e),n},eat(e){if(this.tokenType!==e){const t=Jl[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 hl:this.tokenType===dl&&(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&&Ml(e.charCodeAt(t));t--);return t+1}(t,t.length-1)):a.getLocation(this.tokenStart);throw new fc(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,lc),a.setSource(t,l.offset,l.line,l.column),n=l.filename||"<unknown>",r=Boolean(l.positions),o="function"==typeof l.onParseError?l.onParseError:gc,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===Cl){const e=s.getLocation(n,r),o=Vl(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:fc,config:s.config})}var wc,vc,xc={},$c={},Sc={};function zc(){if(vc)return $c;vc=1;var e=function(){if(wc)return Sc;wc=1;var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");return Sc.encode=function(t){if(0<=t&&t<e.length)return e[t];throw new TypeError("Must be between 0 and 63: "+t)},Sc.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},Sc}();return $c.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},$c.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},$c}var Cc,jc={};function Ac(){return Cc||(Cc=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)}}(jc)),jc}var Ec,_c={};var Oc,Tc,Lc={};function Mc(){if(Oc)return Lc;Oc=1;var e=Ac();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},Lc.MappingList=t,Lc}var Pc=function(){if(Tc)return xc;Tc=1;var e=zc(),t=Ac(),n=function(){if(Ec)return _c;Ec=1;var e=Ac(),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()},_c.ArraySet=r,_c}().ArraySet,r=Mc().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())},xc.SourceMapGenerator=o,xc}();const Bc=new Set(["Atrule","Selector","Declaration"]);const Rc=(e,t)=>{if(9===e&&(e=t),"string"==typeof e){const t=e.charCodeAt(0);return t>127?32768:t<<8}return e},Fc=[[1,1],[1,2],[1,7],[1,8],[1,"-"],[1,dl],[1,hl],[1,fl],[1,gl],[1,xl],[3,1],[3,2],[3,7],[3,8],[3,"-"],[3,dl],[3,hl],[3,fl],[3,gl],[4,1],[4,2],[4,7],[4,8],[4,"-"],[4,dl],[4,hl],[4,fl],[4,gl],[fl,1],[fl,2],[fl,7],[fl,8],[fl,"-"],[fl,dl],[fl,hl],[fl,fl],[fl,gl],["#",1],["#",2],["#",7],["#",8],["#","-"],["#",dl],["#",hl],["#",fl],["#",gl],["-",1],["-",2],["-",7],["-",8],["-","-"],["-",dl],["-",hl],["-",fl],["-",gl],[dl,1],[dl,2],[dl,7],[dl,8],[dl,dl],[dl,hl],[dl,fl],[dl,"%"],[dl,gl],["@",1],["@",2],["@",7],["@",8],["@","-"],["@",gl],[".",dl],[".",hl],[".",fl],["+",dl],["+",hl],["+",fl],["/","*"]],Ic=Fc.concat([[1,4],[fl,4],[4,4],[3,xl],[3,5],[3,bl],[hl,hl],[hl,fl],[hl,2],[hl,"-"],[$l,1],[$l,2],[$l,hl],[$l,fl],[$l,4],[$l,"-"]]);function Nc(e){const t=new Set(e.map(([e,t])=>Rc(e)<<16|Rc(t)));return function(e,n,r){const o=Rc(n,r),i=r.charCodeAt(0);return(45===i&&1!==n&&2!==n&&n!==gl||43===i?t.has(e<<16|i<<8):t.has(e<<16|o))&&this.emit(" ",ml,!0),o}}const Uc=Nc(Fc),Dc=Nc(Ic),Wc=Object.freeze(Object.defineProperty({__proto__:null,safe:Dc,spec:Uc},Symbol.toStringTag,{value:"Module"}));function qc(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 Vc(e){lc(e,(t,n,r)=>{this.token(t,e.slice(n,r))})}function Hc(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:Dc,token(e,t){o=this.tokenBefore(o,e,t),this.emit(t,e,!1),9===e&&92===t.charCodeAt(0)&&this.emit("\n",ml,!0)},emit(e){r+=e},result:()=>r};n&&("function"==typeof n.decorator&&(i=n.decorator(i)),n.sourceMap&&(i=function(e){const t=new Pc.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&&Bc.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&&Bc.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 Wc&&(i.tokenBefore=Wc[n.mode]));const a={node:e=>i.node(e),children:qc,token:(e,t)=>i.token(e,t),tokenize:Vc};return i.node(e),i.result()}}const{hasOwnProperty:Xc}=Object.prototype,Yc=function(){};function Gc(e){return"function"==typeof e?e:Yc}function Kc(e,t){return function(n,r,o){n.type===t&&e.call(this,n,r,o)}}function Zc(e,t){const n=t.structure,r=[];for(const o in n){if(!1===Xc.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 Qc(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 Jc({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 eu(e){const t=function(e){const t={};for(const n in e.node)if(Xc.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]=Zc(0,r)}return t}(e),n={},r={},o=Symbol("break-walk"),i=Symbol("skip-node");for(const c in t)Xc.call(t,c)&&null!==t[c]&&(n[c]=Qc(t[c],!1),r[c]=Qc(t[c],!0));const a=Jc(n),s=Jc(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=Yc,p=Yc,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=Gc(l.enter),p=Gc(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=Kc(u,l.visit),p=Kc(p,l.visit)}if(u===Yc&&p===Yc)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 tu(e){return e}function nu(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=>nu(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 nu(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["+nu(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 ru(e,t){let n=tu,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)),nu(e,n,r,o)}const ou={offset:0,line:1,column:1};function iu(e,t){const n=e&&e.loc&&e.loc[t];return n?"line"in n?au(n):n:null}function au({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 su=function(e,t){const n=pc("SyntaxReferenceError",e+(t?" `"+t+"`":""));return n.reference=t,n},lu=function(e,t,n,r){const o=pc("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=iu(i||t,"end")||au(ou,p),s=au(a)):(a=iu(i,"start")||au(iu(t,"start")||ou,p.slice(0,l)),s=iu(i,"end")||au(a,p.substr(l,c))),{css:p,mismatchOffset:l,mismatchLength:c,start:a,end:s}}(r,n);return o.rawMessage=e,o.syntax=t?ru(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},cu=new Map,uu=new Map,pu=function(e){if(cu.has(e))return cu.get(e);const t=e.toLowerCase();let n=cu.get(t);if(void 0===n){const e=hu(t,0),r=e?"":fu(t,0);n=Object.freeze({basename:t.substr(r.length),name:t,prefix:r,vendor:r,custom:e})}return cu.set(e,n),n},du=function(e){if(uu.has(e))return uu.get(e);let t=e,n=e[0];"/"===n?n="/"===e[1]?"//":"/":"_"!==n&&"*"!==n&&"$"!==n&&"#"!==n&&"+"!==n&&"&"!==n&&(n="");const r=hu(t,n.length);if(!r&&(t=t.toLowerCase(),uu.has(t))){const n=uu.get(t);return uu.set(e,n),n}const o=r?"":fu(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 uu.set(e,a),a};function hu(e,t){return t=t||0,e.length-t>=2&&45===e.charCodeAt(t)&&45===e.charCodeAt(t+1)}function fu(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 mu=["initial","inherit","unset","revert","revert-layer"],gu=45,bu=!0;function yu(e,t){return null!==e&&9===e.type&&e.value.charCodeAt(0)===t}function ku(e,t,n){for(;null!==e&&(e.type===ml||e.type===Cl);)e=n(++t);return t}function wu(e,t,n,r){if(!e)return 0;const o=e.value.charCodeAt(t);if(43===o||o===gu){if(n)return 0;t++}for(;t<e.value.length;t++)if(!jl(e.value.charCodeAt(t)))return 0;return r+1}function vu(e,t,n){let r=!1,o=ku(e,t,n);if(null===(e=n(o)))return t;if(e.type!==dl){if(!yu(e,43)&&!yu(e,gu))return t;if(r=!0,o=ku(n(++o),o,n),null===(e=n(o))||e.type!==dl)return 0}if(!r){const t=e.value.charCodeAt(0);if(43!==t&&t!==gu)return 0}return wu(e,r?0:1,r,o)}function xu(e,t){return null!==e&&9===e.type&&e.value.charCodeAt(0)===t}function $u(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 $u(e,t+r+1,!1),6;if(!Al(i))return 0;if(++r>6)return 0}return r}function Su(e,t,n){if(!e)return 0;for(;xu(n(t),63);){if(++e>6)return 0;t++}return t}const zu=["calc(","-moz-calc(","-webkit-calc("],Cu=new Map([[2,$l],[xl,$l],[wl,vl],[Sl,zl]]);function ju(e,t){return t<e.length?e.charCodeAt(t):0}function Au(e,t){return Vl(e,0,e.length,t)}function Eu(e,t){for(let n=0;n<t.length;n++)if(Au(e,t[n]))return!0;return!1}function _u(e,t){return t===e.length-2&&(92===ju(e,t)&&jl(ju(e,t+1)))}function Ou(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 Tu(e){return function(t,n,r){return null===t?0:2===t.type&&Eu(t.value,zu)?function(e,t){let n=0,r=[],o=0;e:do{switch(e.type){case zl:case $l:case vl:if(e.type!==n)break e;if(n=r.pop(),0===r.length){o++;break e}break;case 2:case xl:case wl:case Sl:r.push(n),n=Cu.get(e.type)}o++}while(e=t(o));return o}(t,n):e(t,n,r)}}function Lu(e){return function(t){return null===t||t.type!==e?0:1}}function Mu(e){return null===e||1!==e.type||45!==ju(e.value,0)||45!==ju(e.value,1)?0:1}function Pu(e){return e&&(e=new Set(e)),function(t,n,r){if(null===t||t.type!==fl)return 0;const o=Kl(t.value,0);if(null!==e){const n=t.value.indexOf("\\",o),r=-1!==n&&_u(t.value,n)?t.value.substring(o,n):t.value.substr(o);if(!1===e.has(r.toLowerCase()))return 0}return Ou(r,t.value,o)?0:1}}function Bu(e){return"function"!=typeof e&&(e=function(){return 0}),function(t,n,r){return null!==t&&t.type===dl&&0===Number(t.value)?1:e(t,n,r)}}const Ru={"ident-token":Lu(1),"function-token":Lu(2),"at-keyword-token":Lu(3),"hash-token":Lu(4),"string-token":Lu(5),"bad-string-token":Lu(6),"url-token":Lu(7),"bad-url-token":Lu(8),"delim-token":Lu(9),"number-token":Lu(dl),"percentage-token":Lu(hl),"dimension-token":Lu(fl),"whitespace-token":Lu(ml),"CDO-token":Lu(14),"CDC-token":Lu(gl),"colon-token":Lu(bl),"semicolon-token":Lu(yl),"comma-token":Lu(kl),"[-token":Lu(wl),"]-token":Lu(vl),"(-token":Lu(xl),")-token":Lu($l),"{-token":Lu(Sl),"}-token":Lu(zl)},Fu={string:Lu(5),ident:Lu(1),percentage:Tu(function(e,t,n){return null===e||e.type!==hl||Ou(n,e.value,e.value.length-1)?0:1}),zero:Bu(),number:Tu(function(e,t,n){if(null===e)return 0;const r=Kl(e.value,0);return r===e.value.length||_u(e.value,r)?Ou(n,e.value,r)?0:1:0}),integer:Tu(function(e,t,n){if(null===e||e.type!==dl)return 0;let r=43===ju(e.value,0)||45===ju(e.value,0)?1:0;for(;r<e.value.length;r++)if(!jl(ju(e.value,r)))return 0;return Ou(n,e.value,r)?0:1}),"custom-ident":function(e){if(null===e||1!==e.type)return 0;const t=e.value.toLowerCase();return Eu(t,mu)||Au(t,"default")?0:1},"dashed-ident":Mu,"custom-property-name":function(e){return Mu(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(!Al(ju(e.value,n)))return 0;return 1},"id-selector":function(e){return null===e||4!==e.type?0:Bl(ju(e.value,1),ju(e.value,2),ju(e.value,3))?1:0},"an-plus-b":function(e,t){let n=0;if(!e)return 0;if(e.type===dl)return wu(e,0,false,n);if(1===e.type&&e.value.charCodeAt(0)===gu){if(!ql(e.value,1,110))return 0;switch(e.value.length){case 2:return vu(t(++n),n,t);case 3:return e.value.charCodeAt(2)!==gu?0:(n=ku(t(++n),n,t),wu(e=t(n),0,bu,n));default:return e.value.charCodeAt(2)!==gu?0:wu(e,3,bu,n)}}else if(1===e.type||yu(e,43)&&1===t(n+1).type){if(1!==e.type&&(e=t(++n)),null===e||!ql(e.value,0,110))return 0;switch(e.value.length){case 1:return vu(t(++n),n,t);case 2:return e.value.charCodeAt(1)!==gu?0:(n=ku(t(++n),n,t),wu(e=t(n),0,bu,n));default:return e.value.charCodeAt(1)!==gu?0:wu(e,2,bu,n)}}else if(e.type===fl){let r=e.value.charCodeAt(0),o=43===r||r===gu?1:0,i=o;for(;i<e.value.length&&jl(e.value.charCodeAt(i));i++);return i===o?0:ql(e.value,i,110)?i+1===e.value.length?vu(t(++n),n,t):e.value.charCodeAt(i+1)!==gu?0:i+2===e.value.length?(n=ku(t(++n),n,t),wu(e=t(n),0,bu,n)):wu(e,i+2,bu,n):0}return 0},urange:function(e,t){let n=0;if(null===e||1!==e.type||!ql(e.value,0,117))return 0;if(null===(e=t(++n)))return 0;if(xu(e,43))return null===(e=t(++n))?0:1===e.type?Su($u(e,0,!0),++n,t):xu(e,63)?Su(1,++n,t):0;if(e.type===dl){const r=$u(e,1,!0);return 0===r?0:null===(e=t(++n))?n:e.type===fl||e.type===dl?function(e,t){return e.value.charCodeAt(0)===t}(e,45)&&$u(e,1,!1)?n+1:0:Su(r,n,t)}return e.type===fl?Su($u(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 zl:case $l:case vl:if(e.type!==n)break e;n=r.pop();break;case yl:if(0===n)break e;break;case 9:if(0===n&&"!"===e.value)break e;break;case 2:case xl:case wl:case Sl:r.push(n),n=Cu.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 zl:case $l:case vl:if(e.type!==n)break e;n=r.pop();break;case 2:case xl:case wl:case Sl:r.push(n),n=Cu.get(e.type)}o++}while(e=t(o));return o}};function Iu(e){const{angle:t,decibel:n,frequency:r,flex:o,length:i,resolution:a,semitones:s,time:l}=e||{};return{dimension:Tu(Pu(null)),angle:Tu(Pu(t)),decibel:Tu(Pu(n)),frequency:Tu(Pu(r)),flex:Tu(Pu(o)),length:Tu(Bu(Pu(i))),resolution:Tu(Pu(a)),semitones:Tu(Pu(s)),time:Tu(Pu(l))}}const Nu=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 Uu(e,t,n){return Object.assign(pc("SyntaxError",e),{input:t,offset:n,rawMessage:e,message:e+"\n "+t+"\n--"+new Array((n||t.length)+1).join("-")+"^"})}const Du=new Uint8Array(128).map((e,t)=>/[a-zA-Z0-9\-]/.test(String.fromCharCode(t))?1:0);class Wu{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===Du[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 Uu(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===Du[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 qu=123,Vu={" ":1,"&&":2,"||":3,"|":4};function Hu(e){let t=null,n=null;return e.eat(qu),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 Xu(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()===qu?t=Hu(e):63===e.charCode()?(e.pos++,t={min:0,max:0}):t={min:1,max:0};break;case qu:t=Hu(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)?Xu(e,n):n):t}function Yu(e){const t=e.peek();return""===t?null:Xu(e,{type:"Token",value:t})}function Gu(e){let t,n=null;if(e.eat(60),t=e.scanWord(),"boolean-expr"===t){e.eat(91);const t=Zu(e,93);return e.eat(93),e.eat(62),Xu(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),Xu(e,{type:"Type",name:t,opts:n})}function Ku(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)=>Vu[e]-Vu[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 Zu(e,t){const n=Object.create(null),r=[];let o,i=null,a=e.pos;for(;e.charCode()!==t&&(o=Qu(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:Ku(r,n)||" ",disallowEmpty:!1,explicit:!1}}function Qu(e,t){let n=e.charCode();switch(n){case 93:break;case 91:return Xu(e,function(e,t){let n;return e.eat(91),n=Zu(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),Xu(e,{type:"Property",name:t})}(e):Gu(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 Xu(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()}):Yu(e);case 42:case 43:case 63:case 35:case 33:break;case qu:if(n=e.nextCharCode(),n<48||n>57)return Yu(e);break;default:return e.isNameCharCode(n)?function(e){const t=e.scanWord();return 40===e.charCode()?(e.pos++,{type:"Function",name:t}):Xu(e,{type:"Keyword",name:t})}(e):Yu(e)}}function Ju(e){const t=new Wu(e),n=Zu(t);return t.pos!==e.length&&t.error("Unexpected input"),1===n.terms.length&&"Group"===n.terms[0].type?n.terms[0]:n}const ep=function(){};function tp(e){return"function"==typeof e?e:ep}const np={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 rp(e,t){return"string"==typeof e?function(e){const t=[];return lc(e,(n,r,o)=>t.push({type:n,value:e.slice(r,o),node:null})),t}(e):t.generate(e,np)}const op={type:"Match"},ip={type:"Mismatch"},ap={type:"DisallowEmpty"};function sp(e,t,n){return t===op&&n===ip||e===op&&t===op&&n===op?e:("If"===e.type&&e.else===ip&&t===op&&(t=e.then,e=e.match),{type:"If",match:e,then:t,else:n})}function lp(e){return e.length>2&&40===e.charCodeAt(e.length-2)&&41===e.charCodeAt(e.length-1)}function cp(e){return"Keyword"===e.type||"AtKeyword"===e.type||"Function"===e.type||"Type"===e.type&&lp(e.name)}function up(e,t=" ",n=!1){return{type:"Group",terms:e,combinator:t,disallowEmpty:!1,explicit:n}}function pp(e,t,n=new Set){if(!n.has(e))switch(n.add(e),e.type){case"If":e.match=pp(e.match,t,n),e.then=pp(e.then,t,n),e.else=pp(e.else,t,n);break;case"Type":return t[e.name]||e}return e}function dp(e,t,n){switch(e){case" ":{let e=op;for(let n=t.length-1;n>=0;n--){e=sp(t[n],e,ip)}return e}case"|":{let e=ip,n=null;for(let r=t.length-1;r>=0;r--){let o=t[r];if(cp(o)&&(null===n&&r>0&&cp(t[r-1])&&(n=Object.create(null),e=sp({type:"Enum",map:n},op,e)),null!==n)){const e=(lp(o.name)?o.name.slice(0,-1):o.name).toLowerCase();if(e in n==!1){n[e]=o;continue}}n=null,e=sp(o,op,e)}return e}case"&&":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!0};let n=ip;for(let r=t.length-1;r>=0;r--){const o=t[r];let i;i=t.length>1?dp(e,t.filter(function(e){return e!==o}),!1):op,n=sp(o,i,n)}return n}case"||":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!1};let r=n?op:ip;for(let n=t.length-1;n>=0;n--){const o=t[n];let i;i=t.length>1?dp(e,t.filter(function(e){return e!==o}),!0):op,r=sp(o,i,r)}return r}}}function hp(e){if("function"==typeof e)return{type:"Generic",fn:e};switch(e.type){case"Group":{let t=dp(e.combinator,e.terms.map(hp),!1);return e.disallowEmpty&&(t=sp(t,ap,ip)),t}case"Multiplier":return function(e){let t=op,n=hp(e.term);if(0===e.max)n=sp(n,ap,ip),t=sp(n,null,ip),t.then=sp(op,op,t),e.comma&&(t.then.else=sp({type:"Comma",syntax:e},t,ip));else for(let r=e.min||1;r<=e.max;r++)e.comma&&t!==op&&(t=sp({type:"Comma",syntax:e},t,ip)),t=sp(n,sp(op,op,t),ip);if(0===e.min)t=sp(op,op,t);else for(let r=0;r<e.min-1;r++)e.comma&&t!==op&&(t=sp({type:"Comma",syntax:e},t,ip)),t=sp(n,t,ip);return t}(e);case"Boolean":{const t=hp(e.term),n=hp(up([up([{type:"Keyword",name:"not"},{type:"Type",name:"!boolean-group"}]),up([{type:"Type",name:"!boolean-group"},up([{type:"Multiplier",comma:!1,min:0,max:0,term:up([{type:"Keyword",name:"and"},{type:"Type",name:"!boolean-group"}])},{type:"Multiplier",comma:!1,min:0,max:0,term:up([{type:"Keyword",name:"or"},{type:"Type",name:"!boolean-group"}])}],"|")])],"|")),r=hp(up([{type:"Type",name:"!term"},up([{type:"Token",value:"("},{type:"Type",name:"!self"},{type:"Token",value:")"}]),{type:"Type",name:"general-enclosed"}],"|"));return pp(r,{"!term":t,"!self":n}),pp(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 fp(e,t){return"string"==typeof e&&(e=Ju(e)),{type:"MatchGraph",match:hp(e),syntax:t||null,source:e}}const{hasOwnProperty:mp}=Object.prototype,gp="Match";function bp(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 yp(e){return null===e||(e.type===kl||2===e.type||e.type===xl||e.type===wl||e.type===Sl||function(e){return 9===e.type&&"?"!==e.value}(e))}function kp(e){return null===e||(e.type===$l||e.type===vl||e.type===zl||9===e.type&&"/"===e.value)}function wp(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===ml||b.type===Cl))}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=ip;break}g=gp;break}if((t=d.nextState)===ap){if(d.matchStack===w){t=ip;break}t=op}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!==ip&&s(t.else),t.then!==op&&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=ip;break}t=op;break}if(t.mask===(1<<e.length)-1){t=op;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].*$/,"")),mp.call(t.map,e)){t=t.map[e];break}}t=ip;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=op}else t=ip;break}case"Type":case"Property":{const e="Type"===t.type?"types":"properties",r=mp.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=ip;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].*$/,"")),bp(n,e)){l(),t=op;break}}t=ip;break}case"AtKeyword":case"Function":if(null!==b&&bp(b.value,t.name)){l(),t=op;break}t=ip;break;case"Token":if(null!==b&&b.value===t.value){l(),t=op;break}t=ip;break;case"Comma":null!==b&&b.type===kl?yp(w.token)?t=ip:(l(),t=kp(b)?ip:op):t=yp(w.token)||kp(b)?op:ip;break;case"String":let r="",m=y;for(;m<e.length&&r.length<t.value.length;m++)r+=e[m].value;if(bp(r,t.value)){for(;y<m;)l();t=op}else t=ip;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 gp: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 vp(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 xp(e,t,n){const r=vp.call(e,t);return null!==r&&r.some(n)}const $p=Object.freeze(Object.defineProperty({__proto__:null,getTrace:vp,isKeyword:function(e){return xp(this,e,e=>"Keyword"===e.type)},isProperty:function(e,t){return xp(this,e,e=>"Property"===e.type&&e.name===t)},isType:function(e,t){return xp(this,e,e=>"Type"===e.type&&e.name===t)}},Symbol.toStringTag,{value:"Module"}));function Sp(e){return"node"in e?e.node:Sp(e.match[0])}function zp(e){return"node"in e?e.node:zp(e.match[e.match.length-1])}function Cp(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=Sp(a),r=zp(a);e.syntax.walk(t,function(e,t,o){if(e===n){const e=new uc;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:jp}=Object.prototype;function Ap(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&e>=0}function Ep(e){return Boolean(e)&&Ap(e.offset)&&Ap(e.line)&&Ap(e.column)}function _p(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!==jp.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(Ep(n.loc.start)){if(Ep(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 uc)}}}else r(n,"Unknown field `"+o+"` for "+e+" node type");i||r(n,"Bad value for `"+e+"."+o+"`")}}for(const o in t)jp.call(t,o)&&!1===jp.call(n,o)&&r(n,"Field `"+e+"."+o+"` is missed")}}function Op(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<"+(Op(o,t)||"any")+">")}}return n.join(" | ")}function Tp(e,t){const n=t.structure,r={type:String,loc:!0},o={type:'"'+e+'"'};for(const i in n){if(!1===jp.call(n,i))continue;const t=r[i]=Array.isArray(n[i])?n[i].slice():[n[i]];o[i]=Op(t,e+"."+i)}return{docs:o,check:_p(e,r)}}function Lp(e,t,n){const r={};for(const o in e)e[o].syntax&&(r[o]=n?e[o].syntax:ru(e[o].syntax,{compact:t}));return r}function Mp(e,t,n){const r={};for(const[o,i]of Object.entries(e))r[o]={prelude:i.prelude&&(n?i.prelude.syntax:ru(i.prelude.syntax,{compact:t})),descriptors:i.descriptors&&Lp(i.descriptors,t,n)};return r}function Pp(e,t,n){return{matched:e,iterations:n,error:t,...$p}}function Bp(e,t,n,r){const o=rp(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)?Pp(null,new Error("Matching for a tree with var() is not supported")):(r&&(i=wp(o,e.cssWideKeywordsSyntax,e)),r&&i.match||(i=wp(o,t.match,e),i.match)?Pp(i.match,null,i.iterations):Pp(null,new lu(i.reason,t.syntax,n,i),i.iterations))}class Rp{constructor(e,t,n){if(this.cssWideKeywords=mu,this.syntax=t,this.generic=!1,this.units={...Nu},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(jp.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]=Tp(n,r)}return t}(e),e){if(e.cssWideKeywords&&(this.cssWideKeywords=e.cssWideKeywords),e.units)for(const t of Object.keys(Nu))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,{...Ru,...Fu,...Iu(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=fp(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=fp(e,o):("string"==typeof e?Object.defineProperty(i,"syntax",{get:()=>(Object.defineProperty(i,"syntax",{value:Ju(e)}),i.syntax)}):i.syntax=e,Object.defineProperty(i,"match",{get:()=>(Object.defineProperty(i,"match",{value:fp(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)?fp({...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 su("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||Bp(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=pu(t);return r.descriptors?r.descriptors[o.name]||r.descriptors[o.basename]?void 0:new su("Unknown at-rule descriptor",t):new SyntaxError("At-rule `@"+e+"` has no known descriptors")}checkPropertyName(e){if(!this.getProperty(e))return new su("Unknown property",e)}matchAtrulePrelude(e,t){const n=this.checkAtrulePrelude(e,t);if(n)return Pp(null,n);const r=this.getAtrule(e);return r.prelude?Bp(this,r.prelude,t||"",!1):Pp(null,null)}matchAtruleDescriptor(e,t,n){const r=this.checkAtruleDescriptorName(e,t);if(r)return Pp(null,r);const o=this.getAtrule(e),i=pu(t);return Bp(this,o.descriptors[i.name]||o.descriptors[i.basename],n,!1)}matchDeclaration(e){return"Declaration"!==e.type?Pp(null,new Error("Not a Declaration node")):this.matchProperty(e.property,e.value)}matchProperty(e,t){if(du(e).custom)return Pp(null,new Error("Lexer matching doesn't applicable for custom properties"));const n=this.checkPropertyName(e);return n?Pp(null,n):Bp(this,this.getProperty(e),t,!0)}matchType(e,t){const n=this.getType(e);return n?Bp(this,n,t,!1):Pp(null,new su("Unknown type",e))}match(e,t){return"string"==typeof e||e&&e.type?("string"!=typeof e&&e.match||(e=this.createDescriptor(e,"Type","anonymous")),Bp(this,e,t,!1)):Pp(null,new su("Bad syntax"))}findValueFragments(e,t,n,r){return Cp(this,t,this.matchProperty(e,t),n,r)}findDeclarationValueFragments(e,t,n){return Cp(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=pu(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=du(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=ep,o=ep;if("function"==typeof t?r=t:t&&(r=tp(t.enter),o=tp(t.leave)),r===ep&&o===ep)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:Lp(this.types,!t,e),properties:Lp(this.properties,!t,e),atrules:Mp(this.atrules,!t,e)}}toString(){return JSON.stringify(this.dump())}}function Fp(e,t){return"string"==typeof t&&/^\s*\|/.test(t)?"string"==typeof e?e+t:t.replace(/^\s*\|\s*/,""):t||null}function Ip(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 Np(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?Fp(i.prelude,t.prelude):i.prelude||null;for(const[e,n]of Object.entries(t.descriptors||{}))i.descriptors[e]=n?Fp(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]=Fp(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],...Ip(o,["parse"])};break;case"node":n[r]={...e[r],...Ip(o,["name","structure","parse","generate","walkContext"])}}return n}function Up(e){const t=kc(e),n=eu(e),r=Hc(e),{fromPlainObject:o,toPlainObject:i}=function(e){return{fromPlainObject:t=>(e(t,{enter(e){e.children&&e.children instanceof uc==0&&(e.children=(new uc).fromArray(e.children))}}),t),toPlainObject:t=>(e(t,{leave(e){e.children&&e.children instanceof uc&&(e.children=e.children.toArray())}}),t)}}(n),a={lexer:null,createLexer:e=>new Rp(e,a,a.lexer.structure),tokenize:lc,parse:t,generate:r,walk:n,find:n.find,findLast:n.findLast,findAll:n.findAll,fromPlainObject:o,toPlainObject:i,fork(t){const n=Np({},e);return Up("function"==typeof t?t(n):Np(n,t))}};return a.lexer=new Rp({generic:e.generic,cssWideKeywords:e.cssWideKeywords,units:e.units,types:e.types,atrules:e.atrules,properties:e.properties,node:e.node},a),a}const Dp=43,Wp=45,qp=110,Vp=!0;function Hp(e,t){let n=this.tokenStart+e;const r=this.charCodeAt(n);for(r!==Dp&&r!==Wp||(t&&this.error("Number sign is not allowed"),n++);n<this.tokenEnd;n++)jl(this.charCodeAt(n))||this.error("Integer is expected",n)}function Xp(e){return Hp.call(this,0,e)}function Yp(e,t){if(!this.cmpChar(this.tokenStart+e,t)){let n="";switch(t){case qp:n="N is expected";break;case Wp:n="HyphenMinus is expected"}this.error(n,this.tokenStart+e)}}function Gp(){let e=0,t=0,n=this.tokenType;for(;n===ml||n===Cl;)n=this.lookupType(++e);if(n!==dl){if(!this.isDelim(Dp,e)&&!this.isDelim(Wp,e))return null;t=this.isDelim(Dp,e)?Dp:Wp;do{n=this.lookupType(++e)}while(n===ml||n===Cl);n!==dl&&(this.skip(e),Xp.call(this,Vp))}return e>0&&this.skip(e),0===t&&(n=this.charCodeAt(this.tokenStart),n!==Dp&&n!==Wp&&this.error("Number sign is expected")),Xp.call(this,0!==t),t===Wp?"-"+this.consume(dl):this.consume(dl)}const Kp={a:[String,null],b:[String,null]};function Zp(){const e=this.tokenStart;let t=null,n=null;if(this.tokenType===dl)Xp.call(this,false),n=this.consume(dl);else if(1===this.tokenType&&this.cmpChar(this.tokenStart,Wp))switch(t="-1",Yp.call(this,1,qp),this.tokenEnd-this.tokenStart){case 2:this.next(),n=Gp.call(this);break;case 3:Yp.call(this,2,Wp),this.next(),this.skipSC(),Xp.call(this,Vp),n="-"+this.consume(dl);break;default:Yp.call(this,2,Wp),Hp.call(this,3,Vp),this.next(),n=this.substrToCursor(e+2)}else if(1===this.tokenType||this.isDelim(Dp)&&1===this.lookupType(1)){let r=0;switch(t="1",this.isDelim(Dp)&&(r=1,this.next()),Yp.call(this,0,qp),this.tokenEnd-this.tokenStart){case 1:this.next(),n=Gp.call(this);break;case 2:Yp.call(this,1,Wp),this.next(),this.skipSC(),Xp.call(this,Vp),n="-"+this.consume(dl);break;default:Yp.call(this,1,Wp),Hp.call(this,2,Vp),this.next(),n=this.substrToCursor(e+r+1)}}else if(this.tokenType===fl){const r=this.charCodeAt(this.tokenStart),o=r===Dp||r===Wp;let i=this.tokenStart+o;for(;i<this.tokenEnd&&jl(this.charCodeAt(i));i++);i===this.tokenStart+o&&this.error("Integer is expected",this.tokenStart+o),Yp.call(this,i-this.tokenStart,qp),t=this.substring(e,i),i+1===this.tokenEnd?(this.next(),n=Gp.call(this)):(Yp.call(this,i-this.tokenStart+1,Wp),i+2===this.tokenEnd?(this.next(),this.skipSC(),Xp.call(this,Vp),n="-"+this.consume(dl)):(Hp.call(this,i-this.tokenStart+2,Vp),this.next(),n=this.substrToCursor(i+1)))}else this.error();return null!==t&&t.charCodeAt(0)===Dp&&(t=t.substr(1)),null!==n&&n.charCodeAt(0)===Dp&&(n=n.substr(1)),{type:"AnPlusB",loc:this.getLocation(e,this.tokenStart),a:t,b:n}}const Qp=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:Zp,structure:Kp},Symbol.toStringTag,{value:"Module"}));function Jp(){return this.Raw(this.consumeUntilLeftCurlyBracketOrSemicolon,!0)}function ed(){for(let e,t=1;e=this.lookupType(t);t++){if(e===zl)return!0;if(e===Sl||3===e)return!1}return!1}const td={name:String,prelude:["AtrulePrelude","Raw",null],block:["Block",null]};function nd(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!==Sl&&this.tokenType!==yl&&(o=this.parseAtrulePrelude?this.parseWithFallback(this.AtrulePrelude.bind(this,n,e),Jp):Jp.call(this,this.tokenIndex),this.skipSC()),this.tokenType){case yl:this.next();break;case Sl:i=hasOwnProperty.call(this.atrule,r)&&"function"==typeof this.atrule[r].block?this.atrule[r].block.call(this,e):this.Block(ed.call(this))}return{type:"Atrule",loc:this.getLocation(t,this.tokenStart),name:n,prelude:o,block:i}}const rd=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(yl,";")},name:"Atrule",parse:nd,structure:td,walkContext:"atrule"},Symbol.toStringTag,{value:"Module"}));function od(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!==Sl&&this.tokenType!==yl&&this.error("Semicolon or block is expected"),{type:"AtrulePrelude",loc:this.getLocationFromList(t),children:t}}const id=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.children(e)},name:"AtrulePrelude",parse:od,structure:{children:[[]]},walkContext:"atrulePrelude"},Symbol.toStringTag,{value:"Module"}));function ad(){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 sd(){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 ld={name:"Identifier",matcher:[String,null],value:["String","Identifier",null],flags:[String,null]};function cd(){const e=this.tokenStart;let t,n=null,r=null,o=null;return this.eat(wl),this.skipSC(),t=ad.call(this),this.skipSC(),this.tokenType!==vl&&(1!==this.tokenType&&(n=sd.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(vl),{type:"AttributeSelector",loc:this.getLocation(e,this.tokenStart),name:t,matcher:n,value:r,flags:o}}const ud=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:cd,structure:ld},Symbol.toStringTag,{value:"Module"}));function pd(){return this.Raw(null,!0)}function dd(){return this.parseWithFallback(this.Rule,pd)}function hd(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}function fd(){if(this.tokenType===yl)return hd.call(this,this.tokenIndex);const e=this.parseWithFallback(this.Declaration,hd);return this.tokenType===yl&&this.next(),e}function md(e){const t=e?fd:dd,n=this.tokenStart;let r=this.createList();this.eat(Sl);e:for(;!this.eof;)switch(this.tokenType){case zl:break e;case ml:case Cl:this.next();break;case 3:r.push(this.parseWithFallback(this.Atrule.bind(this,e),pd));break;default:e&&this.isDelim(38)?r.push(dd.call(this)):r.push(t.call(this))}return this.eof||this.eat(zl),{type:"Block",loc:this.getLocation(n,this.tokenStart),children:r}}const gd=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(Sl,"{"),this.children(e,e=>{"Declaration"===e.type&&this.token(yl,";")}),this.token(zl,"}")},name:"Block",parse:md,structure:{children:[["Atrule","Rule","Declaration"]]},walkContext:"block"},Symbol.toStringTag,{value:"Module"}));function bd(e,t){const n=this.tokenStart;let r=null;return this.eat(wl),r=e.call(this,t),this.eof||this.eat(vl),{type:"Brackets",loc:this.getLocation(n,this.tokenStart),children:r}}const yd=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(9,"["),this.children(e),this.token(9,"]")},name:"Brackets",parse:bd,structure:{children:[[]]}},Symbol.toStringTag,{value:"Module"}));function kd(){const e=this.tokenStart;return this.eat(gl),{type:"CDC",loc:this.getLocation(e,this.tokenStart)}}const wd=Object.freeze(Object.defineProperty({__proto__:null,generate:function(){this.token(gl,"--\x3e")},name:"CDC",parse:kd,structure:[]},Symbol.toStringTag,{value:"Module"}));function vd(){const e=this.tokenStart;return this.eat(14),{type:"CDO",loc:this.getLocation(e,this.tokenStart)}}const xd=Object.freeze(Object.defineProperty({__proto__:null,generate:function(){this.token(14,"\x3c!--")},name:"CDO",parse:vd,structure:[]},Symbol.toStringTag,{value:"Module"})),$d={name:String};function Sd(){return this.eatDelim(46),{type:"ClassSelector",loc:this.getLocation(this.tokenStart-1,this.tokenEnd),name:this.consume(1)}}const zd=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(9,"."),this.token(1,e.name)},name:"ClassSelector",parse:Sd,structure:$d},Symbol.toStringTag,{value:"Module"})),Cd={name:String};function jd(){const e=this.tokenStart;let t;switch(this.tokenType){case ml: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 Ad=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.tokenize(e.name)},name:"Combinator",parse:jd,structure:Cd},Symbol.toStringTag,{value:"Module"})),Ed={value:String};function _d(){const e=this.tokenStart;let t=this.tokenEnd;return this.eat(Cl),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 Od=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(Cl,"/*"+e.value+"*/")},name:"Comment",parse:_d,structure:Ed},Symbol.toStringTag,{value:"Module"})),Td=new Set([bl,$l,0]),Ld={kind:String,children:[["Identifier","Feature","FeatureFunction","FeatureRange","SupportsDeclaration"]]};function Md(e){return 1===this.lookupTypeNonSC(1)&&Td.has(this.lookupTypeNonSC(2))?this.Feature(e):this.FeatureRange(e)}const Pd={media:Md,container:Md,supports(){return this.SupportsDeclaration()}};function Bd(e="media"){const t=this.createList();e:for(;!this.eof;)switch(this.tokenType){case Cl:case ml:this.next();continue;case 1:t.push(this.Identifier());break;case xl:{let n=this.parseWithFallback(()=>Pd[e].call(this,e),()=>null);n||(n=this.parseWithFallback(()=>{this.eat(xl);const t=this.Condition(e);return this.eat($l),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 Rd=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){e.children.forEach(e=>{"Condition"===e.type?(this.token(xl,"("),this.node(e),this.token($l,")")):this.node(e)})},name:"Condition",parse:Bd,structure:Ld},Symbol.toStringTag,{value:"Module"}));function Fd(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!0)}function Id(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!1)}function Nd(){const e=this.tokenIndex,t=this.Value();return"Raw"!==t.type&&!1===this.eof&&this.tokenType!==yl&&!1===this.isDelim(33)&&!1===this.isBalanceEdge(e)&&this.error(),t}const Ud={important:[Boolean,String],property:String,value:["Value","Raw"]};function Dd(){const e=this.tokenStart,t=this.tokenIndex,n=Wd.call(this),r=hu(n),o=r?this.parseCustomProperty:this.parseValue,i=r?Id:Fd;let a,s=!1;this.skipSC(),this.eat(bl);const l=this.tokenIndex;if(r||this.skipSC(),a=o?this.parseWithFallback(Nd,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)===ml){a.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}return this.isDelim(33)&&(s=qd.call(this),this.skipSC()),!1===this.eof&&this.tokenType!==yl&&!1===this.isBalanceEdge(t)&&this.error(),{type:"Declaration",loc:this.getLocation(e,this.tokenStart),important:s,property:n,value:a}}function Wd(){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 qd(){this.eat(9),this.skipSC();const e=this.consume(1);return"important"===e||e}const Vd=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(1,e.property),this.token(bl,":"),this.node(e.value),e.important&&(this.token(9,"!"),this.token(1,!0===e.important?"important":e.important))},name:"Declaration",parse:Dd,structure:Ud,walkContext:"declaration"},Symbol.toStringTag,{value:"Module"}));function Hd(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}function Xd(){const e=this.createList();for(;!this.eof;)switch(this.tokenType){case ml:case Cl:case yl:this.next();break;case 3:e.push(this.parseWithFallback(this.Atrule.bind(this,!0),Hd));break;default:this.isDelim(38)?e.push(this.parseWithFallback(this.Rule,Hd)):e.push(this.parseWithFallback(this.Declaration,Hd))}return{type:"DeclarationList",loc:this.getLocationFromList(e),children:e}}const Yd=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.children(e,e=>{"Declaration"===e.type&&this.token(yl,";")})},name:"DeclarationList",parse:Xd,structure:{children:[["Declaration","Atrule","Rule"]]}},Symbol.toStringTag,{value:"Module"})),Gd={value:String,unit:String};function Kd(){const e=this.tokenStart,t=this.consumeNumber(fl);return{type:"Dimension",loc:this.getLocation(e,this.tokenStart),value:t,unit:this.substring(e+t.length,this.tokenStart)}}const Zd=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(fl,e.value+e.unit)},name:"Dimension",parse:Kd,structure:Gd},Symbol.toStringTag,{value:"Module"})),Qd={kind:String,name:String,value:["Identifier","Number","Dimension","Ratio","Function",null]};function Jd(e){const t=this.tokenStart;let n,r=null;if(this.eat(xl),this.skipSC(),n=this.consume(1),this.skipSC(),this.tokenType!==$l){switch(this.eat(bl),this.skipSC(),this.tokenType){case dl:r=9===this.lookupNonWSType(1)?this.Ratio():this.Number();break;case fl: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($l),{type:"Feature",loc:this.getLocation(t,this.tokenStart),kind:e,name:n,value:r}}const eh=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(xl,"("),this.token(1,e.name),null!==e.value&&(this.token(bl,":"),this.node(e.value)),this.token($l,")")},name:"Feature",parse:Jd,structure:Qd},Symbol.toStringTag,{value:"Module"})),th={kind:String,feature:String,value:["Declaration","Selector"]};function nh(e,t){const n=(this.features[e]||{})[t];return"function"!=typeof n&&this.error(`Unknown feature ${t}()`),n}function rh(e="unknown"){const t=this.tokenStart,n=this.consumeFunctionName(),r=nh.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($l),{type:"FeatureFunction",loc:this.getLocation(t,this.tokenStart),kind:e,feature:n,value:o}}const oh=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(2,e.feature+"("),this.node(e.value),this.token($l,")")},name:"FeatureFunction",parse:rh,structure:th},Symbol.toStringTag,{value:"Module"})),ih={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 ah(){switch(this.skipSC(),this.tokenType){case dl:return this.isDelim(47,this.lookupOffsetNonSC(1))?this.Ratio():this.Number();case fl: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 sh(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 lh(e="unknown"){const t=this.tokenStart;this.skipSC(),this.eat(xl);const n=ah.call(this),r=sh.call(this,"Identifier"===n.type),o=ah.call(this);let i=null,a=null;return this.lookupNonWSType(0)!==$l&&(i=sh.call(this),a=ah.call(this)),this.skipSC(),this.eat($l),{type:"FeatureRange",loc:this.getLocation(t,this.tokenStart),kind:e,left:n,leftComparison:r,middle:o,rightComparison:i,right:a}}const ch=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(xl,"("),this.node(e.left),this.tokenize(e.leftComparison),this.node(e.middle),e.right&&(this.tokenize(e.rightComparison),this.node(e.right)),this.token($l,")")},name:"FeatureRange",parse:lh,structure:ih},Symbol.toStringTag,{value:"Module"})),uh={name:String,children:[[]]};function ph(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($l),{type:"Function",loc:this.getLocation(n,this.tokenStart),name:r,children:i}}const dh=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(2,e.name+"("),this.children(e),this.token($l,")")},name:"Function",parse:ph,structure:uh,walkContext:"function"},Symbol.toStringTag,{value:"Module"})),hh={kind:String,function:[String,null],children:[[]]};function fh(e){const t=this.tokenStart;let n=null;2===this.tokenType?n=this.consumeFunctionName():this.eat(xl);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($l),{type:"GeneralEnclosed",loc:this.getLocation(t,this.tokenStart),kind:e,function:n,children:r}}const mh=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){e.function?this.token(2,e.function+"("):this.token(xl,"("),this.children(e),this.token($l,")")},name:"GeneralEnclosed",parse:fh,structure:hh},Symbol.toStringTag,{value:"Module"})),gh={value:String};function bh(){const e=this.tokenStart;return this.eat(4),{type:"Hash",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e+1)}}const yh=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(4,"#"+e.value)},name:"Hash",parse:bh,structure:gh,xxx:"XXX"},Symbol.toStringTag,{value:"Module"})),kh={name:String};function wh(){return{type:"Identifier",loc:this.getLocation(this.tokenStart,this.tokenEnd),name:this.consume(1)}}const vh=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(1,e.name)},name:"Identifier",parse:wh,structure:kh},Symbol.toStringTag,{value:"Module"})),xh={name:String};function $h(){const e=this.tokenStart;return this.eat(4),{type:"IdSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e+1)}}const Sh=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(9,"#"+e.name)},name:"IdSelector",parse:$h,structure:xh},Symbol.toStringTag,{value:"Module"})),zh={name:String};function Ch(){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 jh=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.tokenize(e.name)},name:"Layer",parse:Ch,structure:zh},Symbol.toStringTag,{value:"Module"}));function Ah(){const e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.Layer()),this.lookupTypeNonSC(0)===kl);)this.skipSC(),this.next(),this.skipSC();return{type:"LayerList",loc:this.getLocationFromList(e),children:e}}const Eh=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.children(e,()=>this.token(kl,","))},name:"LayerList",parse:Ah,structure:{children:[["Layer"]]}},Symbol.toStringTag,{value:"Module"})),_h={modifier:[String,null],mediaType:[String,null],condition:["Condition",null]};function Oh(){const e=this.tokenStart;let t=null,n=null,r=null;if(this.skipSC(),1===this.tokenType&&this.lookupTypeNonSC(1)!==xl){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 Sl:case yl:case kl:case 0:break;default:this.error("Identifier or parenthesis is expected")}}else switch(this.tokenType){case 1:case xl:case 2:r=this.Condition("media");break;case Sl:case yl: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 Th=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:Oh,structure:_h},Symbol.toStringTag,{value:"Module"}));function Lh(){const e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.MediaQuery()),this.tokenType===kl);)this.next();return{type:"MediaQueryList",loc:this.getLocationFromList(e),children:e}}const Mh=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.children(e,()=>this.token(kl,","))},name:"MediaQueryList",parse:Lh,structure:{children:[["MediaQuery"]]}},Symbol.toStringTag,{value:"Module"}));function Ph(){const e=this.tokenStart;return this.eatDelim(38),{type:"NestingSelector",loc:this.getLocation(e,this.tokenStart)}}const Bh=Object.freeze(Object.defineProperty({__proto__:null,generate:function(){this.token(9,"&")},name:"NestingSelector",parse:Ph,structure:{}},Symbol.toStringTag,{value:"Module"}));function Rh(){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 Fh=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:Rh,structure:{nth:["AnPlusB","Identifier"],selector:["SelectorList",null]}},Symbol.toStringTag,{value:"Module"})),Ih={value:String};function Nh(){return{type:"Number",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consume(dl)}}const Uh=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(dl,e.value)},name:"Number",parse:Nh,structure:Ih},Symbol.toStringTag,{value:"Module"})),Dh={value:String};function Wh(){const e=this.tokenStart;return this.next(),{type:"Operator",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}const qh=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.tokenize(e.value)},name:"Operator",parse:Wh,structure:Dh},Symbol.toStringTag,{value:"Module"}));function Vh(e,t){const n=this.tokenStart;let r=null;return this.eat(xl),r=e.call(this,t),this.eof||this.eat($l),{type:"Parentheses",loc:this.getLocation(n,this.tokenStart),children:r}}const Hh=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(xl,"("),this.children(e),this.token($l,")")},name:"Parentheses",parse:Vh,structure:{children:[[]]}},Symbol.toStringTag,{value:"Module"})),Xh={value:String};function Yh(){return{type:"Percentage",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consumeNumber(hl)}}const Gh=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(hl,e.value+"%")},name:"Percentage",parse:Yh,structure:Xh},Symbol.toStringTag,{value:"Module"})),Kh={name:String,children:[["Raw"],null]};function Zh(){const e=this.tokenStart;let t,n,r=null;return this.eat(bl),2===this.tokenType?(t=this.consumeFunctionName(),n=t.toLowerCase(),this.lookupNonWSType(0)==$l?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($l)):t=this.consume(1),{type:"PseudoClassSelector",loc:this.getLocation(e,this.tokenStart),name:t,children:r}}const Qh=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(bl,":"),null===e.children?this.token(1,e.name):(this.token(2,e.name+"("),this.children(e),this.token($l,")"))},name:"PseudoClassSelector",parse:Zh,structure:Kh,walkContext:"function"},Symbol.toStringTag,{value:"Module"})),Jh={name:String,children:[["Raw"],null]};function ef(){const e=this.tokenStart;let t,n,r=null;return this.eat(bl),this.eat(bl),2===this.tokenType?(t=this.consumeFunctionName(),n=t.toLowerCase(),this.lookupNonWSType(0)==$l?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($l)):t=this.consume(1),{type:"PseudoElementSelector",loc:this.getLocation(e,this.tokenStart),name:t,children:r}}const tf=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(bl,":"),this.token(bl,":"),null===e.children?this.token(1,e.name):(this.token(2,e.name+"("),this.children(e),this.token($l,")"))},name:"PseudoElementSelector",parse:ef,structure:Jh,walkContext:"function"},Symbol.toStringTag,{value:"Module"}));function nf(){switch(this.skipSC(),this.tokenType){case dl:return this.Number();case 2:return this.Function(this.readSequence,this.scope.Value);default:this.error("Number of function is expected")}}function rf(){const e=this.tokenStart,t=nf.call(this);let n=null;return this.skipSC(),this.isDelim(47)&&(this.eatDelim(47),n=nf.call(this)),{type:"Ratio",loc:this.getLocation(e,this.tokenStart),left:t,right:n}}const of=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.node(e.left),this.token(9,"/"),e.right?this.node(e.right):this.node(dl,1)},name:"Ratio",parse:rf,structure:{left:["Number","Function"],right:["Number","Function",null]}},Symbol.toStringTag,{value:"Module"}));function af(){return this.tokenIndex>0&&this.lookupType(-1)===ml?this.tokenIndex>1?this.getTokenStart(this.tokenIndex-1):this.firstCharOffset:this.tokenStart}const sf={value:String};function lf(e,t){const n=this.getTokenStart(this.tokenIndex);let r;return this.skipUntilBalanced(this.tokenIndex,e||this.consumeUntilBalanceEnd),r=t&&this.tokenStart>n?af.call(this):this.tokenStart,{type:"Raw",loc:this.getLocation(n,r),value:this.substring(n,r)}}const cf=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.tokenize(e.value)},name:"Raw",parse:lf,structure:sf},Symbol.toStringTag,{value:"Module"}));function uf(){return this.Raw(this.consumeUntilLeftCurlyBracket,!0)}function pf(){const e=this.SelectorList();return"Raw"!==e.type&&!1===this.eof&&this.tokenType!==Sl&&this.error(),e}function df(){const e=this.tokenIndex,t=this.tokenStart;let n,r;return n=this.parseRulePrelude?this.parseWithFallback(pf,uf):uf.call(this,e),r=this.Block(!0),{type:"Rule",loc:this.getLocation(t,this.tokenStart),prelude:n,block:r}}const hf=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.node(e.prelude),this.node(e.block)},name:"Rule",parse:df,structure:{prelude:["SelectorList","Raw"],block:["Block"]},walkContext:"rule"},Symbol.toStringTag,{value:"Module"}));function ff(){let e=null,t=null;this.skipSC();const n=this.tokenStart;return this.tokenType===xl&&(this.next(),this.skipSC(),e=this.parseWithFallback(this.SelectorList,()=>this.Raw(!1,!0)),this.skipSC(),this.eat($l)),1===this.lookupNonWSType(0)&&(this.skipSC(),this.eatIdent("to"),this.skipSC(),this.eat(xl),this.skipSC(),t=this.parseWithFallback(this.SelectorList,()=>this.Raw(!1,!0)),this.skipSC(),this.eat($l)),{type:"Scope",loc:this.getLocation(n,this.tokenStart),root:e,limit:t}}const mf=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){e.root&&(this.token(xl,"("),this.node(e.root),this.token($l,")")),e.limit&&(this.token(1,"to"),this.token(xl,"("),this.node(e.limit),this.token($l,")"))},name:"Scope",parse:ff,structure:{root:["SelectorList","Raw",null],limit:["SelectorList","Raw",null]}},Symbol.toStringTag,{value:"Module"}));function gf(){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 bf=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.children(e)},name:"Selector",parse:gf,structure:{children:[["TypeSelector","IdSelector","ClassSelector","AttributeSelector","PseudoClassSelector","PseudoElementSelector","Combinator"]]}},Symbol.toStringTag,{value:"Module"}));function yf(){const e=this.createList();for(;!this.eof&&(e.push(this.Selector()),this.tokenType===kl);)this.next();return{type:"SelectorList",loc:this.getLocationFromList(e),children:e}}const kf=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.children(e,()=>this.token(kl,","))},name:"SelectorList",parse:yf,structure:{children:[["Selector","Raw"]]},walkContext:"selector"},Symbol.toStringTag,{value:"Module"}));function wf(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),Pl(92,n)){const t=a-1,n=Yl(e,t);a=n-1,i+=Ql(e.substring(t+1,n))}else 13===n&&10===e.charCodeAt(a+1)&&a++}else i+=e[a]}return i}const vf={value:String};function xf(){return{type:"String",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:wf(this.consume(5))}}const $f=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&&(Al(o)||Ml(o))&&(t+=" "),t+=e.charAt(r),n=!1):t+="�"}return'"'+t+'"'}(e.value))},name:"String",parse:xf,structure:vf},Symbol.toStringTag,{value:"Module"}));function Sf(){return this.Raw(null,!1)}function zf(){const e=this.tokenStart,t=this.createList();let n;for(;!this.eof;){switch(this.tokenType){case ml:this.next();continue;case Cl:if(33!==this.charCodeAt(this.tokenStart+2)){this.next();continue}n=this.Comment();break;case 14:n=this.CDO();break;case gl:n=this.CDC();break;case 3:n=this.parseWithFallback(this.Atrule,Sf);break;default:n=this.parseWithFallback(this.Rule,Sf)}t.push(n)}return{type:"StyleSheet",loc:this.getLocation(e,this.tokenStart),children:t}}const Cf=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.children(e)},name:"StyleSheet",parse:zf,structure:{children:[["Comment","CDO","CDC","Atrule","Rule","Raw"]]},walkContext:"stylesheet"},Symbol.toStringTag,{value:"Module"}));function jf(){const e=this.tokenStart;this.eat(xl),this.skipSC();const t=this.Declaration();return this.eof||this.eat($l),{type:"SupportsDeclaration",loc:this.getLocation(e,this.tokenStart),declaration:t}}const Af=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(xl,"("),this.node(e.declaration),this.token($l,")")},name:"SupportsDeclaration",parse:jf,structure:{declaration:"Declaration"}},Symbol.toStringTag,{value:"Module"}));function Ef(){1!==this.tokenType&&!1===this.isDelim(42)&&this.error("Identifier or asterisk is expected"),this.next()}const _f={name:String};function Of(){const e=this.tokenStart;return this.isDelim(124)?(this.next(),Ef.call(this)):(Ef.call(this),this.isDelim(124)&&(this.next(),Ef.call(this))),{type:"TypeSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}const Tf=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.tokenize(e.name)},name:"TypeSelector",parse:Of,structure:_f},Symbol.toStringTag,{value:"Module"}));function Lf(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 Lf.call(this,e+n+1,!1),-1;Al(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 Mf(e){let t=0;for(;this.isDelim(63);)++t>e&&this.error("Too many question marks"),this.next()}function Pf(e){this.charCodeAt(this.tokenStart)!==e&&this.error((43===e?"Plus sign":"Hyphen minus")+" is expected")}function Bf(){let e=0;switch(this.tokenType){case dl:if(e=Lf.call(this,1,!0),this.isDelim(63)){Mf.call(this,6-e);break}if(this.tokenType===fl||this.tokenType===dl){Pf.call(this,45),Lf.call(this,1,!1);break}break;case fl:e=Lf.call(this,1,!0),e>0&&Mf.call(this,6-e);break;default:if(this.eatDelim(43),1===this.tokenType){e=Lf.call(this,0,!0),e>0&&Mf.call(this,6-e);break}if(this.isDelim(63)){this.next(),Mf.call(this,5);break}this.error("Hex digit or question mark is expected")}}const Rf={value:String};function Ff(){const e=this.tokenStart;return this.eatIdent("u"),Bf.call(this),{type:"UnicodeRange",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}const If=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.tokenize(e.value)},name:"UnicodeRange",parse:Ff,structure:Rf},Symbol.toStringTag,{value:"Module"}));const Nf={value:String};function Uf(){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&&Ml(e.charCodeAt(n));)n++;for(;n<r&&Ml(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),Pl(92,n)){const t=i-1,n=Yl(e,t);i=n-1,o+=Ql(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=wf(this.consume(5)),this.skipSC(),this.eof||this.eat($l);break;default:this.error("Url or Function is expected")}return{type:"Url",loc:this.getLocation(e,this.tokenStart),value:t}}const Df=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&&Al(o)&&(t+=" "),t+=e.charAt(r),n=!1):t+="�"}return"url("+t+")"}(e.value))},name:"Url",parse:Uf,structure:Nf},Symbol.toStringTag,{value:"Module"}));function Wf(){const e=this.tokenStart,t=this.readSequence(this.scope.Value);return{type:"Value",loc:this.getLocation(e,this.tokenStart),children:t}}const qf=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.children(e)},name:"Value",parse:Wf,structure:{children:[[]]}},Symbol.toStringTag,{value:"Module"})),Vf=Object.freeze({type:"WhiteSpace",loc:null,value:" "}),Hf={value:String};function Xf(){return this.eat(ml),Vf}const Yf=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(ml,e.value)},name:"WhiteSpace",parse:Xf,structure:Hf},Symbol.toStringTag,{value:"Module"})),Gf=Object.freeze(Object.defineProperty({__proto__:null,AnPlusB:Qp,Atrule:rd,AtrulePrelude:id,AttributeSelector:ud,Block:gd,Brackets:yd,CDC:wd,CDO:xd,ClassSelector:zd,Combinator:Ad,Comment:Od,Condition:Rd,Declaration:Vd,DeclarationList:Yd,Dimension:Zd,Feature:eh,FeatureFunction:oh,FeatureRange:ch,Function:dh,GeneralEnclosed:mh,Hash:yh,IdSelector:Sh,Identifier:vh,Layer:jh,LayerList:Eh,MediaQuery:Th,MediaQueryList:Mh,NestingSelector:Bh,Nth:Fh,Number:Uh,Operator:qh,Parentheses:Hh,Percentage:Gh,PseudoClassSelector:Qh,PseudoElementSelector:tf,Ratio:of,Raw:cf,Rule:hf,Scope:mf,Selector:bf,SelectorList:kf,String:$f,StyleSheet:Cf,SupportsDeclaration:Af,TypeSelector:Tf,UnicodeRange:If,Url:Df,Value:qf,WhiteSpace:Yf},Symbol.toStringTag,{value:"Module"})),Kf={generic:!0,cssWideKeywords:mu,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:Gf};function Zf(e){switch(this.tokenType){case 4:return this.Hash();case kl:return this.Operator();case xl:return this.Parentheses(this.readSequence,e.recognizer);case wl:return this.Brackets(this.readSequence,e.recognizer);case 5:return this.String();case fl:return this.Dimension();case hl:return this.Percentage();case dl: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 Qf={getNode:Zf};const Jf={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 wl:return this.AttributeSelector();case 4:return this.IdSelector();case bl:return this.lookupType(1)===bl?this.PseudoElementSelector():this.PseudoClassSelector();case 1:return this.TypeSelector();case dl:case hl:return this.Percentage();case fl: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 em(e){return null!==e&&"Operator"===e.type&&("-"===e.value[e.value.length-1]||"+"===e.value[e.value.length-1])}const tm={getNode:Zf,onWhiteSpace(e,t){em(e)&&(e.value=" "+e.value),em(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===kl){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)===ml){n.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}e.push(n)}return e}},nm=Object.freeze(Object.defineProperty({__proto__:null,AtrulePrelude:Qf,Selector:Jf,Value:tm},Symbol.toStringTag,{value:"Module"})),rm=new Set(["none","and","not","or"]),om={parse:{prelude(){const e=this.createList();if(1===this.tokenType){const t=this.substring(this.tokenStart,this.tokenEnd);rm.has(t.toLowerCase())||e.push(this.Identifier())}return e.push(this.Condition("container")),e},block(e=!1){return this.Block(e)}}},im={parse:{prelude:null,block(){return this.Block(!0)}}};function am(e,t){return this.parseWithFallback(()=>{try{return e.call(this)}finally{this.skipSC(),this.lookupNonWSType(0)!==$l&&this.error()}},t||(()=>this.Raw(null,!0)))}const sm={layer(){this.skipSC();const e=this.createList(),t=am.call(this,this.Layer);return"Raw"===t.type&&""===t.value||e.push(t),e},supports(){this.skipSC();const e=this.createList(),t=am.call(this,this.Declaration,()=>am.call(this,()=>this.Condition("supports")));return"Raw"===t.type&&""===t.value||e.push(t),e}},lm={container:om,"font-face":im,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,sm)),this.skipSC(),2===this.tokenType&&this.cmpStr(this.tokenStart,this.tokenEnd,"supports(")&&e.push(this.Function(null,sm)),1!==this.lookupNonWSType(0)&&this.lookupNonWSType(0)!==xl||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 cm={parse(){return this.createSingleNodeList(this.SelectorList())}},um={parse(){return this.createSingleNodeList(this.Selector())}},pm={parse(){return this.createSingleNodeList(this.Identifier())}},dm={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 kl:e.push(this.Operator());break;case $l:break e;default:this.error("Identifier, string or comma is expected")}this.skipSC()}return e}},hm={parse(){return this.createSingleNodeList(this.Nth())}},fm={dir:pm,has:cm,lang:dm,matches:cm,is:cm,"-moz-any":cm,"-webkit-any":cm,where:cm,not:cm,"nth-child":hm,"nth-last-child":hm,"nth-last-of-type":hm,"nth-of-type":hm,slotted:um,host:um,"host-context":um},mm=Object.freeze(Object.defineProperty({__proto__:null,AnPlusB:Zp,Atrule:nd,AtrulePrelude:od,AttributeSelector:cd,Block:md,Brackets:bd,CDC:kd,CDO:vd,ClassSelector:Sd,Combinator:jd,Comment:_d,Condition:Bd,Declaration:Dd,DeclarationList:Xd,Dimension:Kd,Feature:Jd,FeatureFunction:rh,FeatureRange:lh,Function:ph,GeneralEnclosed:fh,Hash:bh,IdSelector:$h,Identifier:wh,Layer:Ch,LayerList:Ah,MediaQuery:Oh,MediaQueryList:Lh,NestingSelector:Ph,Nth:Rh,Number:Nh,Operator:Wh,Parentheses:Vh,Percentage:Yh,PseudoClassSelector:Zh,PseudoElementSelector:ef,Ratio:rf,Raw:lf,Rule:df,Scope:ff,Selector:gf,SelectorList:yf,String:xf,StyleSheet:zf,SupportsDeclaration:jf,TypeSelector:Of,UnicodeRange:Ff,Url:Uf,Value:Wf,WhiteSpace:Xf},Symbol.toStringTag,{value:"Module"})),gm=Up(Np({},{...Kf,...{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:nm,atrule:lm,pseudo:fm,node:mm},...{node:Gf}}));function bm(e){const t={};for(const n of Object.keys(e)){let r=e[n];r&&(Array.isArray(r)||r instanceof uc?r=r.map(bm):r.constructor===Object&&(r=bm(r))),t[n]=r}return t}const{tokenize:ym,parse:km,generate:wm,lexer:vm,createLexer:xm,walk:$m,find:Sm,findLast:zm,findAll:Cm,toPlainObject:jm,fromPlainObject:Am,fork:Em}=gm;async function _m(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 Mm(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=Om(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=Om(e),a=e.split(/\s+/g).filter(Boolean).map(e=>Om(e)).join(" ")}if(!a)return;s=a,a=s.replace(/(\/\*(?:.|\n)*?\*\/)|(\/\/.*)/g,"");var s;const l=Y(a).split(/\s+/g).map(e=>e.trim().replace(/\\/,"")),c=(await Promise.all(l.map(e=>t.parseToken(e,"-")))).filter(M).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(ie," ")||t;if(a||l&&".\\-"!==l||s?.noMerge){let t=wm(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=km(`${l}{}`,{context:"rule"}),n=bm(r.prelude);n.children?.forEach(t=>{const n=bm(e.prelude),r=new uc;n?.children?.forEach(e=>{r.appendList(e?.children?.filter(e=>"ClassSelector"===e.type&&"\\-"===e.name))}),r.forEach(e=>Object.assign(e,bm(t))),Object.assign(t,n)}),t=wm(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 Om(e){return e.replace(/^(['"])(.*)\1$/,"$2")}async function Tm({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=sn(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(an(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 k(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 Lm=/(@screen [^{]+)(.+)/g;async function Mm(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=k(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=on(c)||(h=c).includes("icon(")&&h.includes(")");var h;if(!u&&!d&&!p)return;const f=km(c,{parseCustomProperty:!0,parseAtrulePrelude:!1,positions:!0,filename:r,offset:i});if("StyleSheet"!==f.type)return;const m=[],g={options:n,applyVariable:a,uno:t,code:e,filename:r},b=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: ${ln(n)})`;if("at"===t)return`@media (min-width: ${n})${a[r+1]?` and (max-width: ${ln(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(Lm));if(u.length)for(const p of u)e.overwrite(l+p.index,l+p.index+p[1].length,`${s(r,o)}`)}(g,e):"Function"===e.type?await Tm(g,e):u&&"Rule"===e.type&&await _m(g,e)};$m(f,(...e)=>m.push(b(...e))),await Promise.all(m);const y=e.toString();if(!l(y)){const t=y.replace(/([^{}]+)\{\s*\}\s*/g,(e,t)=>/^[\s\w\-.,#:[\]=*"'>~+^$|()\\]+$/.test(t.trim())?"":e);t!==y&&e.update(0,e.original.length,t)}}function Pm(e={}){return{name:"@unocss/transformer-directives",enforce:e?.enforce,idFilter:e=>E.test(e),transform:(t,n,r)=>Mm(t,r.uno,e,n)}}export{p as B,Dt as M,al as a,xe as b,wt as c,ft as d,Et as e,Yn as f,Bn as g,pl as i,Ie as p,Pm as t};