@unocss/runtime 66.5.6 → 66.5.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/attributify.global.js +6 -6
- package/core.global.js +1 -1
- package/full.global.js +6 -6
- package/mini.global.js +6 -6
- package/package.json +4 -4
- package/preset-mini.global.js +5 -5
- package/preset-uno.global.js +5 -5
- package/preset-wind.global.js +5 -5
- package/preset-wind3.global.js +5 -5
- package/preset-wind4.global.js +8 -8
- package/uno.global.js +6 -6
package/preset-uno.global.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
"use strict";(()=>{var zl=Object.defineProperty;var jl=(e,t)=>{for(var r in t)zl(e,r,{get:t[r],enumerable:!0})};var
|
|
2
|
-
`),r=t.filter(i=>/^\t+/.test(i)),n=t.filter(i=>/^ {2,}/.test(i));if(r.length===0&&n.length===0)return null;if(r.length>=n.length)return" ";let o=n.reduce((i,a)=>{let s=/^ +/.exec(a)[0].length;return Math.min(s,i)},1/0);return new Array(o+1).join(" ")}function ef(e,t){let r=e.split(/[/\\]/),n=t.split(/[/\\]/);for(r.pop();r[0]===n[0];)r.shift(),n.shift();if(r.length){let o=r.length;for(;o--;)r[o]=".."}return r.concat(n).join("/")}var tf=Object.prototype.toString;function rf(e){return tf.call(e)==="[object Object]"}function
|
|
3
|
-
`),r=[];for(let n=0,o=0;n<t.length;n++)r.push(o),o+=t[n].length+1;return function(o){let i=0,a=r.length;for(;i<a;){let u=i+a>>1;o<r[u]?a=u:i=u+1}let s=i-1,c=o-r[s];return{line:s,column:c}}}var nf=/\w/,
|
|
1
|
+
"use strict";(()=>{var zl=Object.defineProperty;var jl=(e,t)=>{for(var r in t)zl(e,r,{get:t[r],enumerable:!0})};var _r=/[\\:]?[\s'"`;{}]+/g;function E(e=[]){return Array.isArray(e)?e:[e]}function ye(e){return typeof e=="string"}function A(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function B(e){let t=e.length,r=-1,n,o="",i=e.charCodeAt(0);for(;++r<t;){if(n=e.charCodeAt(r),n===0){o+="\uFFFD";continue}if(n===37){o+="\\%";continue}if(n===44){o+="\\,";continue}if(n>=1&&n<=31||n===127||r===0&&n>=48&&n<=57||r===1&&n>=48&&n<=57&&i===45){o+=`\\${n.toString(16)} `;continue}if(r===0&&t===1&&n===45){o+=`\\${e.charAt(r)}`;continue}if(n>=128||n===45||n===95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){o+=e.charAt(r);continue}o+=`\\${e.charAt(r)}`}return o}var Tl=/[\w\u00A0-\uFFFF%-?]/;function Nn(e=""){return Tl.test(e)}function Ol(e){return e.filter(([t,r],n)=>{if(t.startsWith("$$"))return!1;for(let o=n-1;o>=0;o--)if(e[o][0]===t&&e[o][1]===r)return!1;return!0})}var Al="__virtual_key__";function qn(e){return e==null?"":Ol(e).map(([t,r])=>r!=null&&typeof r!="function"?t!==Al?`${t}:${r};`:r:void 0).filter(Boolean).join("")}function Pl(e){let t,r,n=2166136261;for(t=0,r=e.length;t<r;t++)n^=e.charCodeAt(t),n+=(n<<1)+(n<<4)+(n<<7)+(n<<8)+(n<<24);return`00000${(n>>>0).toString(36)}`.slice(-6)}function Kn(e,t,r,n){for(let o of Array.from(e.matchAll(r)))if(o!=null){let i=o[0],a=`${n}${Pl(i)}`;t.set(a,i),e=e.replace(i,a)}return e}function Gn(e,t){for(let[r,n]of t.entries())e=e.replaceAll(r,n);return e}var Vl=/\/\/#\s*sourceMappingURL=.*\n?/g;function Hn(e){return e.includes("sourceMappingURL=")?e.replace(Vl,""):e}var Fl=/(?:[\w&:[\]-]|\[\S{1,64}=\S{1,64}\]){1,64}\[\\?['"]?\S{1,64}?['"]\]\]?[\w:-]{0,64}/g,Wl=/\[(\\\W|[\w-]){1,64}:[^\s:]{0,64}?("\S{1,64}?"|'\S{1,64}?'|`\S{1,64}?`|[^\s:]{1,64}?)[^\s:]{0,64}?\)?\]/g,_l=/^\[(?:\\\W|[\w-]){1,64}:['"]?\S{1,64}?['"]?\]$/;function Ml(e){let t=[];for(let o of e.matchAll(Wl))o.index!==0&&!/^[\s'"`]/.test(e[o.index-1]??"")||t.push(o[0]);for(let o of e.matchAll(Fl))t.push(o[0]);let r=new Map,n="@unocss-skip-arbitrary-brackets";return e=Kn(e,r,/-\[(?!&.+?;)[^\]]*\]/g,n),e&&e.split(_r).forEach(o=>{o.includes(n)&&(o=Gn(o,r)),Nn(o)&&!_l.test(o)&&t.push(o)}),t}function Xn(){return{name:"@unocss/extractor-arbitrary-variants",order:0,extract({code:e}){return Ml(Hn(e))}}}function Yn(e){if(e.preflight)return[{layer:"preflights",getCSS({theme:t,generator:r}){if(t.preflightBase){let n=Object.entries(t.preflightBase);if(e.preflight==="on-demand"){let o=new Set(Array.from(r.activatedRules).map(i=>i[2]?.custom?.preflightKeys).filter(Boolean).flat());n=n.filter(([i])=>o.has(i))}if(n.length>0){let o=qn(n);return e.variablePrefix!=="un-"&&(o=o.replace(/--un-/g,`--${e.variablePrefix}`)),E(t.preflightRoot??["*,::before,::after","::backdrop"]).map(a=>`${a}{${o}}`).join("")}}}}]}function U(e,t,r){if(e==="")return;let n=e.length,o=0,i=!1,a=0;for(let s=0;s<n;s++)switch(e[s]){case t:i||(i=!0,a=s),o++;break;case r:if(--o,o<0)return;if(o===0)return[e.slice(a,s+1),e.slice(s+1),e.slice(0,a)];break}}function X(e,t,r,n){if(e===""||(ye(n)&&(n=[n]),n.length===0))return;let o=e.length,i=0;for(let a=0;a<o;a++)switch(e[a]){case t:i++;break;case r:if(--i<0)return;break;default:for(let s of n){let c=s.length;if(c&&s===e.slice(a,a+c)&&i===0)return a===0||a===o-c?void 0:[e.slice(0,a),e.slice(a+c)]}}return[e,""]}function se(e,t,r,n="(",o=")"){r=r??10;let i=[],a=0;for(;e!=="";){if(++a>r)return;let s=X(e,n,o,t);if(!s)return;let[c,u]=s;i.push(c),e=u}if(i.length>0)return i}var Mr=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"];var Zn=["%alpha","<alpha-value>"],Ll=new RegExp(Zn.map(e=>A(e)).join("|"),"g");function W(e=""){let t=Bl(e);if(t==null||t===!1)return;let{type:r,components:n,alpha:o}=t,i=r.toLowerCase();if(n.length!==0&&!(Mr.includes(i)&&![1,3].includes(n.length)))return{type:i,components:n.map(a=>typeof a=="string"?a.trim():a),alpha:typeof o=="string"?o.trim():o}}function N(e){let t=e.alpha??1;return typeof t=="string"&&Zn.includes(t)?1:t}function v(e,t){if(typeof e=="string")return e.replace(Ll,`${t??1}`);let{components:r}=e,{alpha:n,type:o}=e;return n=t??n,o=o.toLowerCase(),["hsla","rgba"].includes(o)?`${o}(${r.join(", ")}${n==null?"":`, ${n}`})`:(n=n==null?"":` / ${n}`,Mr.includes(o)?`${o}(${r.join(" ")}${n})`:`color(${o} ${r.join(" ")}${n})`)}function Bl(e){if(!e)return;let t=Ul(e);if(t!=null||(t=Il(e),t!=null)||(t=Dl(e),t!=null)||(t=ql(e),t!=null)||(t=Kl(e),t!=null))return t}function Ul(e){let[,t]=e.match(/^#([\da-f]+)$/i)||[];if(t)switch(t.length){case 3:case 4:{let r=Array.from(t,n=>Number.parseInt(n,16)).map(n=>n<<4|n);return{type:"rgb",components:r.slice(0,3),alpha:t.length===3?void 0:Math.round(r[3]/255*100)/100}}case 6:case 8:{let r=Number.parseInt(t,16);return{type:"rgb",components:t.length===6?[r>>16&255,r>>8&255,r&255]:[r>>24&255,r>>16&255,r>>8&255],alpha:t.length===6?void 0:Math.round((r&255)/255*100)/100}}}}function Il(e){let t={rebeccapurple:[102,51,153,1]}[e];if(t!=null)return{type:"rgb",components:t.slice(0,3),alpha:t[3]}}function Dl(e){let t=e.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!t)return;let[,r,n]=t,o=se(n,",",5);if(o){if([3,4].includes(o.length))return{type:r,components:o.slice(0,3),alpha:o[3]};if(o.length!==1)return!1}}var Nl=new RegExp(`^(${Mr.join("|")})\\((.+)\\)$`,"i");function ql(e){let t=e.match(Nl);if(!t)return;let[,r,n]=t,o=Jn(`${r} ${n}`);if(o){let{alpha:i,components:[a,...s]}=o;return{type:a,components:s,alpha:i}}}function Kl(e){let t=e.match(/^color\((.+)\)$/);if(!t)return;let r=Jn(t[1]);if(r){let{alpha:n,components:[o,...i]}=r;return{type:o,components:i,alpha:n}}}function Jn(e){let t=se(e," ");if(!t)return;let r=t.length;if(t[r-2]==="/")return{components:t.slice(0,r-2),alpha:t[r-1]};if(t[r-2]!=null&&(t[r-2].endsWith("/")||t[r-1].startsWith("/"))){let i=t.splice(r-2);t.push(i.join(" ")),--r}let n=se(t[r-1],"/",2);if(!n)return;if(n.length===1||n[n.length-1]==="")return{components:t};let o=n.pop();return t[r-1]=n.join("/"),{components:t,alpha:o}}var Gl=44,Hl=59,Qn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ro=new Uint8Array(64),Xl=new Uint8Array(128);for(let e=0;e<Qn.length;e++){let t=Qn.charCodeAt(e);ro[e]=t,Xl[t]=e}function Oe(e,t,r){let n=t-r;n=n<0?-n<<1|1:n<<1;do{let o=n&31;n>>>=5,n>0&&(o|=32),e.write(ro[o])}while(n>0);return t}var eo=1024*16,to=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(e){return Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString()}}:{decode(e){let t="";for(let r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t}},Yl=class{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(eo)}write(e){let{buffer:t}=this;t[this.pos++]=e,this.pos===eo&&(this.out+=to.decode(t),this.pos=0)}flush(){let{buffer:e,out:t,pos:r}=this;return r>0?t+to.decode(e.subarray(0,r)):t}};function no(e){let t=new Yl,r=0,n=0,o=0,i=0;for(let a=0;a<e.length;a++){let s=e[a];if(a>0&&t.write(Hl),s.length===0)continue;let c=0;for(let u=0;u<s.length;u++){let d=s[u];u>0&&t.write(Gl),c=Oe(t,d[0],c),d.length!==1&&(r=Oe(t,d[1],r),n=Oe(t,d[2],n),o=Oe(t,d[3],o),d.length!==4&&(i=Oe(t,d[4],i)))}}return t.flush()}var yt=class e{constructor(t){this.bits=t instanceof e?t.bits.slice():[]}add(t){this.bits[t>>5]|=1<<(t&31)}has(t){return!!(this.bits[t>>5]&1<<(t&31))}},$t=class e{constructor(t,r,n){this.start=t,this.end=r,this.original=n,this.intro="",this.outro="",this.content=n,this.storeName=!1,this.edited=!1,this.previous=null,this.next=null}appendLeft(t){this.outro+=t}appendRight(t){this.intro=this.intro+t}clone(){let t=new e(this.start,this.end,this.original);return t.intro=this.intro,t.outro=this.outro,t.content=this.content,t.storeName=this.storeName,t.edited=this.edited,t}contains(t){return this.start<t&&t<this.end}eachNext(t){let r=this;for(;r;)t(r),r=r.next}eachPrevious(t){let r=this;for(;r;)t(r),r=r.previous}edit(t,r,n){return this.content=t,n||(this.intro="",this.outro=""),this.storeName=r,this.edited=!0,this}prependLeft(t){this.outro=t+this.outro}prependRight(t){this.intro=t+this.intro}reset(){this.intro="",this.outro="",this.edited&&(this.content=this.original,this.storeName=!1,this.edited=!1)}split(t){let r=t-this.start,n=this.original.slice(0,r),o=this.original.slice(r);this.original=n;let i=new e(t,this.end,o);return i.outro=this.outro,this.outro="",this.end=t,this.edited?(i.edit("",!1),this.content=""):this.content=n,i.next=this.next,i.next&&(i.next.previous=i),i.previous=this,this.next=i,i}toString(){return this.intro+this.content+this.outro}trimEnd(t){if(this.outro=this.outro.replace(t,""),this.outro.length)return!0;let r=this.content.replace(t,"");if(r.length)return r!==this.content&&(this.split(this.start+r.length).edit("",void 0,!0),this.edited&&this.edit(r,this.storeName,!0)),!0;if(this.edit("",void 0,!0),this.intro=this.intro.replace(t,""),this.intro.length)return!0}trimStart(t){if(this.intro=this.intro.replace(t,""),this.intro.length)return!0;let r=this.content.replace(t,"");if(r.length){if(r!==this.content){let n=this.split(this.end-r.length);this.edited&&n.edit(r,this.storeName,!0),this.edit("",void 0,!0)}return!0}else if(this.edit("",void 0,!0),this.outro=this.outro.replace(t,""),this.outro.length)return!0}};function Zl(){return typeof globalThis<"u"&&typeof globalThis.btoa=="function"?e=>globalThis.btoa(unescape(encodeURIComponent(e))):typeof Buffer=="function"?e=>Buffer.from(e,"utf-8").toString("base64"):()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}var Jl=Zl(),Lr=class{constructor(t){this.version=3,this.file=t.file,this.sources=t.sources,this.sourcesContent=t.sourcesContent,this.names=t.names,this.mappings=no(t.mappings),typeof t.x_google_ignoreList<"u"&&(this.x_google_ignoreList=t.x_google_ignoreList),typeof t.debugId<"u"&&(this.debugId=t.debugId)}toString(){return JSON.stringify(this)}toUrl(){return"data:application/json;charset=utf-8;base64,"+Jl(this.toString())}};function Ql(e){let t=e.split(`
|
|
2
|
+
`),r=t.filter(i=>/^\t+/.test(i)),n=t.filter(i=>/^ {2,}/.test(i));if(r.length===0&&n.length===0)return null;if(r.length>=n.length)return" ";let o=n.reduce((i,a)=>{let s=/^ +/.exec(a)[0].length;return Math.min(s,i)},1/0);return new Array(o+1).join(" ")}function ef(e,t){let r=e.split(/[/\\]/),n=t.split(/[/\\]/);for(r.pop();r[0]===n[0];)r.shift(),n.shift();if(r.length){let o=r.length;for(;o--;)r[o]=".."}return r.concat(n).join("/")}var tf=Object.prototype.toString;function rf(e){return tf.call(e)==="[object Object]"}function oo(e){let t=e.split(`
|
|
3
|
+
`),r=[];for(let n=0,o=0;n<t.length;n++)r.push(o),o+=t[n].length+1;return function(o){let i=0,a=r.length;for(;i<a;){let u=i+a>>1;o<r[u]?a=u:i=u+1}let s=i-1,c=o-r[s];return{line:s,column:c}}}var nf=/\w/,Br=class{constructor(t){this.hires=t,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null}addEdit(t,r,n,o){if(r.length){let i=r.length-1,a=r.indexOf(`
|
|
4
4
|
`,0),s=-1;for(;a>=0&&i>a;){let u=[this.generatedCodeColumn,t,n.line,n.column];o>=0&&u.push(o),this.rawSegments.push(u),this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,s=a,a=r.indexOf(`
|
|
5
5
|
`,a+1)}let c=[this.generatedCodeColumn,t,n.line,n.column];o>=0&&c.push(o),this.rawSegments.push(c),this.advance(r.slice(s+1))}else this.pending&&(this.rawSegments.push(this.pending),this.advance(r));this.pending=null}addUneditedChunk(t,r,n,o,i){let a=r.start,s=!0,c=!1;for(;a<r.end;){if(n[a]===`
|
|
6
6
|
`)o.line+=1,o.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,s=!0,c=!1;else{if(this.hires||s||i.has(a)){let u=[this.generatedCodeColumn,t,o.line,o.column];this.hires==="boundary"?nf.test(n[a])?c||(this.rawSegments.push(u),c=!0):(this.rawSegments.push(u),c=!1):this.rawSegments.push(u)}o.column+=1,this.generatedCodeColumn+=1,s=!1}a+=1}this.pending=null}advance(t){if(!t)return;let r=t.split(`
|
|
7
7
|
`);if(r.length>1){for(let n=0;n<r.length-1;n++)this.generatedCodeLine++,this.raw[this.generatedCodeLine]=this.rawSegments=[];this.generatedCodeColumn=0}this.generatedCodeColumn+=r[r.length-1].length}},Ae=`
|
|
8
|
-
`,$e={insertLeft:!1,insertRight:!1,storeName:!1},vt=class e{constructor(t,r={}){let n=new $t(0,t.length,t);Object.defineProperties(this,{original:{writable:!0,value:t},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:r.filename},indentExclusionRanges:{writable:!0,value:r.indentExclusionRanges},sourcemapLocations:{writable:!0,value:new yt},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:void 0},ignoreList:{writable:!0,value:r.ignoreList},offset:{writable:!0,value:r.offset||0}}),this.byStart[0]=n,this.byEnd[t.length]=n}addSourcemapLocation(t){this.sourcemapLocations.add(t)}append(t){if(typeof t!="string")throw new TypeError("outro content must be a string");return this.outro+=t,this}appendLeft(t,r){if(t=t+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);let n=this.byEnd[t];return n?n.appendLeft(r):this.intro+=r,this}appendRight(t,r){if(t=t+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);let n=this.byStart[t];return n?n.appendRight(r):this.outro+=r,this}clone(){let t=new e(this.original,{filename:this.filename,offset:this.offset}),r=this.firstChunk,n=t.firstChunk=t.lastSearchedChunk=r.clone();for(;r;){t.byStart[n.start]=n,t.byEnd[n.end]=n;let o=r.next,i=o&&o.clone();i&&(n.next=i,i.previous=n,n=i),r=o}return t.lastChunk=n,this.indentExclusionRanges&&(t.indentExclusionRanges=this.indentExclusionRanges.slice()),t.sourcemapLocations=new yt(this.sourcemapLocations),t.intro=this.intro,t.outro=this.outro,t}generateDecodedMap(t){t=t||{};let r=0,n=Object.keys(this.storedNames),o=new
|
|
8
|
+
`,$e={insertLeft:!1,insertRight:!1,storeName:!1},vt=class e{constructor(t,r={}){let n=new $t(0,t.length,t);Object.defineProperties(this,{original:{writable:!0,value:t},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:r.filename},indentExclusionRanges:{writable:!0,value:r.indentExclusionRanges},sourcemapLocations:{writable:!0,value:new yt},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:void 0},ignoreList:{writable:!0,value:r.ignoreList},offset:{writable:!0,value:r.offset||0}}),this.byStart[0]=n,this.byEnd[t.length]=n}addSourcemapLocation(t){this.sourcemapLocations.add(t)}append(t){if(typeof t!="string")throw new TypeError("outro content must be a string");return this.outro+=t,this}appendLeft(t,r){if(t=t+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);let n=this.byEnd[t];return n?n.appendLeft(r):this.intro+=r,this}appendRight(t,r){if(t=t+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);let n=this.byStart[t];return n?n.appendRight(r):this.outro+=r,this}clone(){let t=new e(this.original,{filename:this.filename,offset:this.offset}),r=this.firstChunk,n=t.firstChunk=t.lastSearchedChunk=r.clone();for(;r;){t.byStart[n.start]=n,t.byEnd[n.end]=n;let o=r.next,i=o&&o.clone();i&&(n.next=i,i.previous=n,n=i),r=o}return t.lastChunk=n,this.indentExclusionRanges&&(t.indentExclusionRanges=this.indentExclusionRanges.slice()),t.sourcemapLocations=new yt(this.sourcemapLocations),t.intro=this.intro,t.outro=this.outro,t}generateDecodedMap(t){t=t||{};let r=0,n=Object.keys(this.storedNames),o=new Br(t.hires),i=oo(this.original);return this.intro&&o.advance(this.intro),this.firstChunk.eachNext(a=>{let s=i(a.start);a.intro.length&&o.advance(a.intro),a.edited?o.addEdit(r,a.content,s,a.storeName?n.indexOf(a.original):-1):o.addUneditedChunk(r,a,this.original,s,this.sourcemapLocations),a.outro.length&&o.advance(a.outro)}),this.outro&&o.advance(this.outro),{file:t.file?t.file.split(/[/\\]/).pop():void 0,sources:[t.source?ef(t.file||"",t.source):t.file||""],sourcesContent:t.includeContent?[this.original]:void 0,names:n,mappings:o.raw,x_google_ignoreList:this.ignoreList?[r]:void 0}}generateMap(t){return new Lr(this.generateDecodedMap(t))}_ensureindentStr(){this.indentStr===void 0&&(this.indentStr=Ql(this.original))}_getRawIndentString(){return this._ensureindentStr(),this.indentStr}getIndentString(){return this._ensureindentStr(),this.indentStr===null?" ":this.indentStr}indent(t,r){let n=/^[^\r\n]/gm;if(rf(t)&&(r=t,t=void 0),t===void 0&&(this._ensureindentStr(),t=this.indentStr||" "),t==="")return this;r=r||{};let o={};r.exclude&&(typeof r.exclude[0]=="number"?[r.exclude]:r.exclude).forEach(d=>{for(let h=d[0];h<d[1];h+=1)o[h]=!0});let i=r.indentStart!==!1,a=u=>i?`${t}${u}`:(i=!0,u);this.intro=this.intro.replace(n,a);let s=0,c=this.firstChunk;for(;c;){let u=c.end;if(c.edited)o[s]||(c.content=c.content.replace(n,a),c.content.length&&(i=c.content[c.content.length-1]===`
|
|
9
9
|
`));else for(s=c.start;s<u;){if(!o[s]){let d=this.original[s];d===`
|
|
10
|
-
`?i=!0:d!=="\r"&&i&&(i=!1,s===c.start||(this._splitChunk(c,s),c=c.next),c.prependRight(t))}s+=1}s=c.end,c=c.next}return this.outro=this.outro.replace(n,a),this}insert(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")}insertLeft(t,r){return $e.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),$e.insertLeft=!0),this.appendLeft(t,r)}insertRight(t,r){return $e.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),$e.insertRight=!0),this.prependRight(t,r)}move(t,r,n){if(t=t+this.offset,r=r+this.offset,n=n+this.offset,n>=t&&n<=r)throw new Error("Cannot move a selection inside itself");this._split(t),this._split(r),this._split(n);let o=this.byStart[t],i=this.byEnd[r],a=o.previous,s=i.next,c=this.byStart[n];if(!c&&i===this.lastChunk)return this;let u=c?c.previous:this.lastChunk;return a&&(a.next=s),s&&(s.previous=a),u&&(u.next=o),c&&(c.previous=i),o.previous||(this.firstChunk=i.next),i.next||(this.lastChunk=o.previous,this.lastChunk.next=null),o.previous=u,i.next=c||null,u||(this.firstChunk=o),c||(this.lastChunk=i),this}overwrite(t,r,n,o){return o=o||{},this.update(t,r,n,{...o,overwrite:!o.contentOnly})}update(t,r,n,o){if(t=t+this.offset,r=r+this.offset,typeof n!="string")throw new TypeError("replacement content must be a string");if(this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}if(r>this.original.length)throw new Error("end is out of bounds");if(t===r)throw new Error("Cannot overwrite a zero-length range \u2013 use appendLeft or prependRight instead");this._split(t),this._split(r),o===!0&&($e.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),$e.storeName=!0),o={storeName:!0});let i=o!==void 0?o.storeName:!1,a=o!==void 0?o.overwrite:!1;if(i){let u=this.original.slice(t,r);Object.defineProperty(this.storedNames,u,{writable:!0,value:!0,enumerable:!0})}let s=this.byStart[t],c=this.byEnd[r];if(s){let u=s;for(;u!==c;){if(u.next!==this.byStart[u.end])throw new Error("Cannot overwrite across a split point");u=u.next,u.edit("",!1)}s.edit(n,i,!a)}else{let u=new $t(t,r,"").edit(n,i);c.next=u,u.previous=c}return this}prepend(t){if(typeof t!="string")throw new TypeError("outro content must be a string");return this.intro=t+this.intro,this}prependLeft(t,r){if(t=t+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);let n=this.byEnd[t];return n?n.prependLeft(r):this.intro=r+this.intro,this}prependRight(t,r){if(t=t+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);let n=this.byStart[t];return n?n.prependRight(r):this.outro=r+this.outro,this}remove(t,r){if(t=t+this.offset,r=r+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}if(t===r)return this;if(t<0||r>this.original.length)throw new Error("Character is out of bounds");if(t>r)throw new Error("end must be greater than start");this._split(t),this._split(r);let n=this.byStart[t];for(;n;)n.intro="",n.outro="",n.edit(""),n=r>n.end?this.byStart[n.end]:null;return this}reset(t,r){if(t=t+this.offset,r=r+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}if(t===r)return this;if(t<0||r>this.original.length)throw new Error("Character is out of bounds");if(t>r)throw new Error("end must be greater than start");this._split(t),this._split(r);let n=this.byStart[t];for(;n;)n.reset(),n=r>n.end?this.byStart[n.end]:null;return this}lastChar(){if(this.outro.length)return this.outro[this.outro.length-1];let t=this.lastChunk;do{if(t.outro.length)return t.outro[t.outro.length-1];if(t.content.length)return t.content[t.content.length-1];if(t.intro.length)return t.intro[t.intro.length-1]}while(t=t.previous);return this.intro.length?this.intro[this.intro.length-1]:""}lastLine(){let t=this.outro.lastIndexOf(Ae);if(t!==-1)return this.outro.substr(t+1);let r=this.outro,n=this.lastChunk;do{if(n.outro.length>0){if(t=n.outro.lastIndexOf(Ae),t!==-1)return n.outro.substr(t+1)+r;r=n.outro+r}if(n.content.length>0){if(t=n.content.lastIndexOf(Ae),t!==-1)return n.content.substr(t+1)+r;r=n.content+r}if(n.intro.length>0){if(t=n.intro.lastIndexOf(Ae),t!==-1)return n.intro.substr(t+1)+r;r=n.intro+r}}while(n=n.previous);return t=this.intro.lastIndexOf(Ae),t!==-1?this.intro.substr(t+1)+r:this.intro+r}slice(t=0,r=this.original.length-this.offset){if(t=t+this.offset,r=r+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}let n="",o=this.firstChunk;for(;o&&(o.start>t||o.end<=t);){if(o.start<r&&o.end>=r)return n;o=o.next}if(o&&o.edited&&o.start!==t)throw new Error(`Cannot use replaced character ${t} as slice start anchor.`);let i=o;for(;o;){o.intro&&(i!==o||o.start===t)&&(n+=o.intro);let a=o.start<r&&o.end>=r;if(a&&o.edited&&o.end!==r)throw new Error(`Cannot use replaced character ${r} as slice end anchor.`);let s=i===o?t-o.start:0,c=a?o.content.length+r-o.end:o.content.length;if(n+=o.content.slice(s,c),o.outro&&(!a||o.end===r)&&(n+=o.outro),a)break;o=o.next}return n}snip(t,r){let n=this.clone();return n.remove(0,t),n.remove(r,n.original.length),n}_split(t){if(this.byStart[t]||this.byEnd[t])return;let r=this.lastSearchedChunk,n=r,o=t>r.end;for(;r;){if(r.contains(t))return this._splitChunk(r,t);if(r=o?this.byStart[r.end]:this.byEnd[r.start],r===n)return;n=r}}_splitChunk(t,r){if(t.edited&&t.content.length){let o=io(this.original)(r);throw new Error(`Cannot split a chunk that has already been edited (${o.line}:${o.column} \u2013 "${t.original}")`)}let n=t.split(r);return this.byEnd[r]=t,this.byStart[r]=n,this.byEnd[n.end]=n,t===this.lastChunk&&(this.lastChunk=n),this.lastSearchedChunk=t,!0}toString(){let t=this.intro,r=this.firstChunk;for(;r;)t+=r.toString(),r=r.next;return t+this.outro}isEmpty(){let t=this.firstChunk;do if(t.intro.length&&t.intro.trim()||t.content.length&&t.content.trim()||t.outro.length&&t.outro.trim())return!1;while(t=t.next);return!0}length(){let t=this.firstChunk,r=0;do r+=t.intro.length+t.content.length+t.outro.length;while(t=t.next);return r}trimLines(){return this.trim("[\\r\\n]")}trim(t){return this.trimStart(t).trimEnd(t)}trimEndAborted(t){let r=new RegExp((t||"\\s")+"+$");if(this.outro=this.outro.replace(r,""),this.outro.length)return!0;let n=this.lastChunk;do{let o=n.end,i=n.trimEnd(r);if(n.end!==o&&(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),i)return!0;n=n.previous}while(n);return!1}trimEnd(t){return this.trimEndAborted(t),this}trimStartAborted(t){let r=new RegExp("^"+(t||"\\s")+"+");if(this.intro=this.intro.replace(r,""),this.intro.length)return!0;let n=this.firstChunk;do{let o=n.end,i=n.trimStart(r);if(n.end!==o&&(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),i)return!0;n=n.next}while(n);return!1}trimStart(t){return this.trimStartAborted(t),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(t,r){function n(i,a){return typeof r=="string"?r.replace(/\$(\$|&|\d+)/g,(s,c)=>c==="$"?"$":c==="&"?i[0]:+c<i.length?i[+c]:`$${c}`):r(...i,i.index,a,i.groups)}function o(i,a){let s,c=[];for(;s=i.exec(a);)c.push(s);return c}if(t.global)o(t,this.original).forEach(a=>{if(a.index!=null){let s=n(a,this.original);s!==a[0]&&this.overwrite(a.index,a.index+a[0].length,s)}});else{let i=this.original.match(t);if(i&&i.index!=null){let a=n(i,this.original);a!==i[0]&&this.overwrite(i.index,i.index+i[0].length,a)}}return this}_replaceString(t,r){let{original:n}=this,o=n.indexOf(t);return o!==-1&&(typeof r=="function"&&(r=r(t,o,n)),t!==r&&this.overwrite(o,o+t.length,r)),this}replace(t,r){return typeof t=="string"?this._replaceString(t,r):this._replaceRegexp(t,r)}_replaceAllString(t,r){let{original:n}=this,o=t.length;for(let i=n.indexOf(t);i!==-1;i=n.indexOf(t,i+o)){let a=n.slice(i,i+o),s=r;typeof r=="function"&&(s=r(a,i,n)),a!==s&&this.overwrite(i,i+o,s)}return this}replaceAll(t,r){if(typeof t=="string")return this._replaceAllString(t,r);if(!t.global)throw new TypeError("MagicString.prototype.replaceAll called with a non-global RegExp argument");return this._replaceRegexp(t,r)}};var of=/theme\(\s*(['"])?(.*?)\1?\s*\)/g;function kt(e){return e.includes("theme(")&&e.includes(")")}function wt(e,t,r=!0){let n=Array.from(e.toString().matchAll(of));if(!n.length)return e;let o=new vt(e);for(let i of n){let a=i[2];if(!a)throw new Error("theme() expect exact one argument, but got 0");let s=af(a,t,r);s&&o.overwrite(i.index,i.index+i[0].length,s)}return o.toString()}function af(e,t,r=!0){let[n,o]=e.split("/"),a=n.trim().split(".").reduce((s,c)=>s?.[c],t);if(typeof a=="object"&&(a=a.DEFAULT),typeof a=="string"){if(o){let s=W(a);s&&(a=v(s,o))}return a}else if(r)throw new Error(`theme of "${e}" did not found`)}function ve(e){let t=e.match(/^-?\d+\.?\d*/)?.[0]||"",r=e.slice(t.length);if(r==="px"){let n=Number.parseFloat(t)-.1;return Number.isNaN(n)?e:`${n}${r}`}return`calc(${e} - 0.1px)`}function St(e){let t=function(n,o){let i=this.__options?.sequence||[];this.__options.sequence=[];for(let a of i){let s=e[a](n,o);if(s!=null)return s}};function r(n,o){return n.__options||(n.__options={sequence:[]}),n.__options.sequence.push(o),n}for(let n of Object.keys(e))Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get(){return r(this,n)}});return t}var Pe="__pseudo_placeholder__",ke=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(${Pe})`],["nth-last",`:nth-last-child(${Pe})`],["nth-last-of-type",`:nth-last-of-type(${Pe})`],["nth-of-type",`:nth-of-type(${Pe})`],"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}`])),lo=Object.keys(ke),we=Object.fromEntries([["backdrop","::backdrop"]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),fo=Object.keys(we),sf=["not","is","where","has"],uo=Object.fromEntries([["selection",["::selection"," *::selection"]],["marker",["::marker"," *::marker"]]]),Dr=Object.entries(ke).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),Nr=Object.entries(we).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),pe=sf.join("|"),ao=Object.keys(uo).sort((e,t)=>t.length-e.length).join("|"),cf=["::-webkit-resizer","::-webkit-scrollbar","::-webkit-scrollbar-button","::-webkit-scrollbar-corner","::-webkit-scrollbar-thumb","::-webkit-scrollbar-track","::-webkit-scrollbar-track-piece","::file-selector-button"],so=Object.entries(ke).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),co=Object.entries(we).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|");function lf(e,t,r,n){let{h:o,variantGetBracket:i}=n,a=new RegExp(`^(${A(t)}:)(\\S+)${A(r)}\\1`),s,c,u,d,h=p=>{let x=i(`${e}-`,p,[]);if(!x)return;let[L,O]=x,w=o.bracket(L);if(w==null)return;let y=O.split(s,1)?.[0]??"",H=`${t}${B(y)}`;return[y,p.slice(p.length-(O.length-y.length-1)),w.includes("&")?w.replace(/&/g,H):`${H}${w}`]},g=p=>{let x=p.match(c)||p.match(u);if(!x)return;let[L,O,w]=x,y=x[3]??"",H=ke[w]||we[w]||`:${w}`;return O&&(H=`:${O}(${H})`),[y,p.slice(L.length),`${t}${B(y)}${H}`,w]},m=p=>{let x=p.match(d);if(!x)return;let[L,O,w]=x,y=x[3]??"",H=`:${O}(${w})`;return[y,p.slice(L.length),`${t}${B(y)}${H}`]};return{name:`pseudo:${e}`,match(p,x){if(s&&c&&u||(s=new RegExp(`(?:${x.generator.config.separators.join("|")})`),c=new RegExp(`^${e}-(?:(?:(${pe})-)?(${Dr}))(?:(/[\\w-]+))?(?:${x.generator.config.separators.join("|")})`),u=new RegExp(`^${e}-(?:(?:(${pe})-)?(${Nr}))(?:(/[\\w-]+))?(?:${x.generator.config.separators.filter(xe=>xe!=="-").join("|")})`),d=new RegExp(`^${e}-(?:(${pe})-)?\\[(.+)\\](?:(/[\\w-]+))?(?:${x.generator.config.separators.filter(xe=>xe!=="-").join("|")})`)),!p.startsWith(e))return;let L=h(p)||g(p)||m(p);if(!L)return;let[O,w,y,H=""]=L;return{matcher:w,handle:(xe,Rl)=>Rl({...xe,prefix:`${y}${r}${xe.prefix}`.replace(a,"$1$2:"),sort:lo.indexOf(H)??fo.indexOf(H)})}},multiPass:!0}}function Ct(e){let{h:t}=e,r,n,o;return[{name:"pseudo",match(i,a){r&&n||(r=new RegExp(`^(${so})(?:-(\\d+|\\[(\\w|[+-.])+\\]))?(?:${a.generator.config.separators.join("|")})`),n=new RegExp(`^(${co})(?:${a.generator.config.separators.filter(c=>c!=="-").join("|")})`));let s=i.match(r)||i.match(n);if(s){let c=ke[s[1]]||we[s[1]]||`:${s[1]}`;if(s[2]){let d;s[2].startsWith("[")&&s[2].endsWith("]")?d=t.bracket(s[2]):d=s[2],d&&(c=c.replace(Pe,d))}let u=lo.indexOf(s[1]);return u===-1&&(u=fo.indexOf(s[1])),u===-1&&(u=void 0),{matcher:i.slice(s[0].length),handle:(d,h)=>{let g=c.includes("::")&&!cf.includes(c)?{pseudo:`${d.pseudo}${c}`}:{selector:`${d.selector}${c}`};return h({...d,...g,sort:u,noMerge:!0})}}}},multiPass:!0,autocomplete:`(${so}|${co}):`},{name:"pseudo:multi",match(i,a){o||(o=new RegExp(`^(${ao})(?:${a.generator.config.separators.join("|")})`));let s=i.match(o);if(s)return uo[s[1]].map(u=>({matcher:i.slice(s[0].length),handle:(d,h)=>h({...d,pseudo:`${d.pseudo}${u}`})}))},multiPass:!1,autocomplete:`(${ao}):`}]}function Rt(e){let{getBracket:t,h:r}=e,n,o,i;return{match(a,s){n&&o||(n=new RegExp(`^(${pe})-(${Dr})(?:${s.generator.config.separators.join("|")})`),o=new RegExp(`^(${pe})-(${Nr})(?:${s.generator.config.separators.filter(u=>u!=="-").join("|")})`),i=new RegExp(`^(${pe})-(\\[.+\\])(?:${s.generator.config.separators.filter(u=>u!=="-").join("|")})`));let c=a.match(n)||a.match(o)||a.match(i);if(c){let u=c[1],h=t(c[2],"[","]")?r.bracket(c[2]):ke[c[2]]||we[c[2]]||`:${c[2]}`;return{matcher:a.slice(c[0].length),selector:g=>`${g}:${u}(${h})`}}},multiPass:!0,autocomplete:`(${pe})-(${Dr}|${Nr}):`}}function zt(e,t){let r=!!e?.attributifyPseudo,n=e?.prefix??"";n=(Array.isArray(n)?n:[n]).filter(Boolean)[0]??"";let o=(i,a)=>lf(i,r?`[${n}${i}=""]`:`.${n}${i}`,a,t);return[o("group"," "),o("peer","~"),o("parent",">"),o("previous","+")]}var ff=/(part-\[(.+)\]:)(.+)/;function jt(){return{match(e){let t=e.match(ff);if(t){let r=`part(${t[2]})`;return{matcher:e.slice(t[1].length),selector:n=>`${n}::${r}`}}},multiPass:!0}}function T(e,t,r={}){let n;return{name:e,match(o,i){n||(n=new RegExp(`^${A(e)}(?:${i.generator.config.separators.join("|")})`));let a=o.match(n);if(a){let s=o.slice(a[0].length),c=E(t).map(u=>({matcher:s,handle:(d,h)=>h({...d,...u(d)}),...r}));return c.length===1?c[0]:c}},autocomplete:`${e}:`}}function P(e,t){let r;return{name:e,match(n,o){r||(r=new RegExp(`^${A(e)}(?:${o.generator.config.separators.join("|")})`));let i=n.match(r);if(i)return{matcher:n.slice(i[0].length),handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}${t}`})}},autocomplete:`${e}:`}}function _(e,t,r){if(t.startsWith(`${e}[`)){let[n,o]=U(t.slice(e.length),"[","]")??[];if(n&&o){for(let i of r)if(o.startsWith(i))return[n,o.slice(i.length),i];return[n,o,""]}}}function k(e,t,r){for(let n of E(e))if(t.startsWith(n)){let o=_(n,t,r);if(o){let[i="",a=o[1]]=k("/",o[1],r)??[];return[o[0],a,i]}for(let i of r.filter(a=>a!=="/")){let a=t.indexOf(i,n.length);if(a!==-1){let s=t.indexOf("/",n.length),c=s===-1||a<=s;return[t.slice(n.length,c?a:s),t.slice(a+i.length),c?"":t.slice(s+1,a)]}}}}var Yr={};jl(Yr,{auto:()=>df,bracket:()=>yf,bracketOfColor:()=>$f,bracketOfLength:()=>vf,bracketOfPosition:()=>kf,cssvar:()=>wf,degree:()=>Cf,fraction:()=>xf,global:()=>Rf,number:()=>gf,numberWithUnit:()=>pf,percent:()=>bf,position:()=>jf,properties:()=>zf,px:()=>hf,rem:()=>mf,time:()=>Sf});var I={l:["-left"],r:["-right"],t:["-top"],b:["-bottom"],s:["-inline-start"],e:["-inline-end"],x:["-left","-right"],y:["-top","-bottom"],"":[""],bs:["-block-start"],be:["-block-end"],is:["-inline-start"],ie:["-inline-end"],block:["-block-start","-block-end"],inline:["-inline-start","-inline-end"]},qr={...I,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"]},Kr={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"]},mo={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},ho=["x","y","z"],po=["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"],Ve=Object.assign({},...po.map(e=>({[e.replace(/ /,"-")]:e})),...po.map(e=>({[e.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:e}))),C=["inherit","initial","revert","revert-layer","unset"],Fe=/^(calc|clamp|min|max)\s*\((.+)\)(.*)/,Et=/^(var)\s*\((.+)\)(.*)/;var Se=/^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i,Gr=/^(-?\d*(?:\.\d+)?)$/,Hr=/^(px|[sld]?v[wh])$/i,Xr={px:1,vw:100,vh:100,svw:100,svh:100,dvw:100,dvh:100,lvh:100,lvw:100},Tt=/^\[(color|image|length|size|position|quoted|string):/i,go=/,(?![^()]*\))/g;var uf=["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 q(e){return+e.toFixed(10)}function pf(e){let t=e.match(Se);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(n&&!Number.isNaN(o))return`${q(o)}${n}`}function df(e){if(e==="auto"||e==="a")return"auto"}function mf(e){if(!e)return;if(Hr.test(e))return`${Xr[e]}${e}`;let t=e.match(Se);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0":n?`${q(o)}${n}`:`${q(o/4)}rem`}function hf(e){if(Hr.test(e))return`${Xr[e]}${e}`;let t=e.match(Se);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return n?`${q(o)}${n}`:`${q(o)}px`}function gf(e){if(!Gr.test(e))return;let t=Number.parseFloat(e);if(!Number.isNaN(t))return q(t)}function bf(e){if(e.endsWith("%")&&(e=e.slice(0,-1)),!Gr.test(e))return;let t=Number.parseFloat(e);if(!Number.isNaN(t))return`${q(t/100)}`}function xf(e){if(!e)return;if(e==="full")return"100%";let[t,r]=e.split("/"),n=Number.parseFloat(t)/Number.parseFloat(r);if(!Number.isNaN(n))return n===0?"0":`${q(n*100)}%`}function Ot(e,t){if(e&&e.startsWith("[")&&e.endsWith("]")){let r,n,o=e.match(Tt);if(o?(t||(n=o[1]),r=e.slice(o[0].length,-1)):r=e.slice(1,-1),!r||r==='=""')return;r.startsWith("--")&&(r=`var(${r})`);let i=0;for(let a of r)if(a==="[")i+=1;else if(a==="]"&&(i-=1,i<0))return;if(i)return;switch(n){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,a=>a.replace(/_/g,"\\_")).replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_").replace(/(?:calc|clamp|max|min)\((.*)/g,a=>{let s=[];return a.replace(/var\((--.+?)[,)]/g,(c,u)=>(s.push(u),c.replace(u,"--un-calc"))).replace(/(-?\d*\.?\d(?!-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 ").replace(/--un-calc/g,()=>s.shift())})}}function yf(e){return Ot(e)}function $f(e){return Ot(e,"color")}function vf(e){return Ot(e,"length")}function kf(e){return Ot(e,"position")}function wf(e){if(/^\$[^\s'"`;{}]/.test(e)){let[t,r]=e.slice(1).split(",");return`var(--${B(t)}${r?`, ${r}`:""})`}}function Sf(e){let t=e.match(/^(-?[0-9.]+)(s|ms)?$/i);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0&&!n?"0s":n?`${q(o)}${n}`:`${q(o)}ms`}function Cf(e){let t=e.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0deg":n?`${q(o)}${n}`:`${q(o)}deg`}function Rf(e){if(C.includes(e))return e}function zf(e){if(e.split(",").every(t=>uf.includes(t)))return e}function jf(e){if(["top","left","right","bottom","center"].includes(e))return e}var Ef=St(Yr),f=Ef;var 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(C.map(e=>[e,e]))},yo=[[/^(?:vertical|align|v)-(.+)$/,([,e])=>({"vertical-align":bo[e]??f.bracket.cssvar.numberWithUnit(e)}),{autocomplete:[`(vertical|align|v)-(${Object.keys(bo).join("|")})`,"(vertical|align|v)-<percentage>"]}]],xo=["center","left","right","justify","start","end"],$o=[...xo.map(e=>[`text-${e}`,{"text-align":e}]),...[...C,...xo].map(e=>[`text-align-${e}`,{"text-align":e}])];var So="$$mini-no-negative";function D(e){return([t,r,n],{theme:o})=>{let i=o.spacing?.[n||"DEFAULT"]??f.bracket.cssvar.global.auto.fraction.rem(n);if(i!=null)return I[r].map(a=>[`${e}${a}`,i]);if(n?.startsWith("-")){let a=o.spacing?.[n.slice(1)];if(a!=null)return I[r].map(s=>[`${e}${s}`,`calc(${a} * -1)`])}}}function vo(e,t,r="colors"){let n=e[r],o=-1;for(let i of t){if(o+=1,n&&typeof n!="string"){let a=t.slice(o).join("-").replace(/(-[a-z])/g,s=>s.slice(1).toUpperCase());if(n[a])return n[a];if(n[i]){n=n[i];continue}}return}return n}function ko(e,t,r){return vo(e,t,r)||vo(e,t,"colors")}function Jr(e,t){let[r,n]=X(e,"[","]",["/",":"])??[];if(r!=null){let o=(r.match(Tt)??[])[1];if(o==null||o===t)return[r,n]}}function At(e,t,r){let n=Jr(e,"color");if(!n)return;let[o,i]=n,a=o.replace(/([a-z])(\d)/g,"$1-$2").split(/-/g),[s]=a;if(!s)return;let c,u=f.bracketOfColor(o),d=u||o;if(f.numberWithUnit(d))return;if(/^#[\da-f]+$/i.test(d)?c=d:/^hex-[\da-fA-F]+$/.test(d)?c=`#${d.slice(4)}`:o.startsWith("$")&&(c=f.cssvar(o)),c=c||u,!c){let g=ko(t,[o],r);typeof g=="string"&&(c=g)}let h="DEFAULT";if(!c){let g=a,m,[p]=a.slice(-1);/^\d+$/.test(p)&&(h=m=p,g=a.slice(0,-1));let x=ko(t,g,r);typeof x=="object"?c=x[m??h]:typeof x=="string"&&!m&&(c=x)}return{opacity:i,name:s,no:h,color:c,cssColor:W(c),alpha:f.bracket.cssvar.percent(i??"")}}function V(e,t,r,n){return([,o],{theme:i,generator:a})=>{let s=At(o??"",i,r);if(!s)return;let{alpha:c,color:u,cssColor:d}=s,g=a.config.envMode==="dev"&&u?` /* ${u} */`:"",m={};if(d)if(c!=null)m[e]=v(d,c)+g;else{let p=`--un-${t}-opacity`,x=v(d,`var(${p})`);x.includes(p)&&(m[p]=N(d)),m[e]=x+g}else if(u)if(c!=null)m[e]=v(u,c)+g;else{let p=`--un-${t}-opacity`,x=v(u,`var(${p})`);x.includes(p)&&(m[p]=1),m[e]=x+g}if(n?.(m)!==!1)return m}}function Pt(e,t){let r=[];e=E(e);for(let n=0;n<e.length;n++){let o=se(e[n]," ",6);if(!o||o.length<3)return e;let i=!1,a=o.indexOf("inset");a!==-1&&(o.splice(a,1),i=!0);let s="",c=o.at(-1);if(W(o.at(0))){let u=W(o.shift());u&&(s=`, ${v(u)}`)}else if(W(c)){let u=W(o.pop());u&&(s=`, ${v(u)}`)}else c&&Et.test(c)&&(s=`, ${o.pop()}`);r.push(`${i?"inset ":""}${o.join(" ")} var(${t}${s})`)}return r}function Vt(e,t,r){return e!=null&&!!At(e,t,r)?.color}var wo=/[a-z]+/gi,Zr=new WeakMap;function Ft({theme:e,generator:t},r="breakpoints"){let n=t?.userConfig?.theme?.[r]||e[r];if(!n)return;if(Zr.has(e))return Zr.get(e);let o=Object.entries(n).sort((i,a)=>Number.parseInt(i[1].replace(wo,""))-Number.parseInt(a[1].replace(wo,""))).map(([i,a])=>({point:i,size:a}));return Zr.set(e,o),o}function z(e,t){return C.map(r=>[`${e}-${r}`,{[t??e]:r}])}function K(e){return e!=null&&Fe.test(e)}function Co(e){return e[0]==="["&&e.slice(-1)==="]"&&(e=e.slice(1,-1)),Fe.test(e)||Se.test(e)}function Wt(e,t,r){let n=t.split(go);return e||!e&&n.length===1?mo[e].map(o=>[`--un-${r}${o}`,t]):n.map((o,i)=>[`--un-${r}-${ho[i]}`,o])}var Ro=[[/^outline-(?:width-|size-)?(.+)$/,zo,{autocomplete:"outline-(width|size)-<num>"}],[/^outline-(?:color-)?(.+)$/,Tf,{autocomplete:"outline-$colors"}],[/^outline-offset-(.+)$/,([,e],{theme:t})=>({"outline-offset":t.lineWidth?.[e]??f.bracket.cssvar.global.px(e)}),{autocomplete:"outline-(offset)-<num>"}],["outline",{"outline-style":"solid"}],...["auto","dashed","dotted","double","hidden","solid","groove","ridge","inset","outset",...C].map(e=>[`outline-${e}`,{"outline-style":e}]),["outline-none",{outline:"2px solid transparent","outline-offset":"2px"}]];function zo([,e],{theme:t}){return{"outline-width":t.lineWidth?.[e]??f.bracket.cssvar.global.px(e)}}function Tf(e,t){return K(f.bracket(e[1]))?zo(e,t):V("outline-color","outline-color","borderColor")(e,t)}var jo=[["appearance-auto",{"-webkit-appearance":"auto",appearance:"auto"}],["appearance-none",{"-webkit-appearance":"none",appearance:"none"}]];function Of(e){return f.properties.auto.global(e)??{contents:"contents",scroll:"scroll-position"}[e]}var Eo=[[/^will-change-(.+)/,([,e])=>({"will-change":Of(e)})]];var Be=["solid","dashed","dotted","double","hidden","none","groove","ridge","inset","outset",...C],Oo=[[/^(?:border|b)()(?:-(.+))?$/,Y,{autocomplete:"(border|b)-<directions>"}],[/^(?:border|b)-([xy])(?:-(.+))?$/,Y],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,Y],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,Y],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,Y],[/^(?:border|b)-()(?:width|size)-(.+)$/,Y,{autocomplete:["(border|b)-<num>","(border|b)-<directions>-<num>"]}],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,Y],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,Y],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,Y],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,Y],[/^(?:border|b)-()(?:color-)?(.+)$/,We,{autocomplete:["(border|b)-$colors","(border|b)-<directions>-$colors"]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,We],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,We],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,We],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,We],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,_e,{autocomplete:"(border|b)-(op|opacity)-<percent>"}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,_e],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,_e],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,_e],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,_e],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,Me,{autocomplete:["(border|b)-(rounded|rd)","(border|b)-(rounded|rd)-$borderRadius","(rounded|rd)","(rounded|rd)-$borderRadius"]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltbse])(?:-(.+))?$/,Me],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,Me],[/^(?:border-|b-)?(?:rounded|rd)-([bise][se])(?:-(.+))?$/,Me],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,Me],[/^(?:border|b)-(?:style-)?()(.+)$/,Le,{autocomplete:["(border|b)-style",`(border|b)-(${Be.join("|")})`,"(border|b)-<directions>-style",`(border|b)-<directions>-(${Be.join("|")})`,`(border|b)-<directions>-style-(${Be.join("|")})`,`(border|b)-style-(${Be.join("|")})`]}],[/^(?:border|b)-([xy])-(?:style-)?(.+)$/,Le],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,Le],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,Le],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,Le]];function To(e,t,r){if(t!=null)return{[`border${r}-color`]:v(e,t)};if(r===""){let n={},o="--un-border-opacity",i=v(e,`var(${o})`);return i.includes(o)&&(n[o]=typeof e=="string"?1:N(e)),n["border-color"]=i,n}else{let n={},o="--un-border-opacity",i=`--un-border${r}-opacity`,a=v(e,`var(${i})`);return a.includes(i)&&(n[o]=typeof e=="string"?1:N(e),n[i]=`var(${o})`),n[`border${r}-color`]=a,n}}function Af(e){return([,t],r)=>{let n=At(t,r,"borderColor");if(!n)return;let{alpha:o,color:i,cssColor:a}=n;if(a)return To(a,o,e);if(i)return To(i,o,e)}}function Y([,e="",t],{theme:r}){let n=r.lineWidth?.[t||"DEFAULT"]??f.bracket.cssvar.global.px(t||"1");if(e in I&&n!=null)return I[e].map(o=>[`border${o}-width`,n])}function We([,e="",t],r){if(e in I){if(K(f.bracket(t)))return Y(["",e,t],r);if(Vt(t,r.theme,"borderColor"))return Object.assign({},...I[e].map(n=>Af(n)(["",t],r.theme)))}}function _e([,e="",t]){let r=f.bracket.percent.cssvar(t);if(e in I&&r!=null)return I[e].map(n=>[`--un-border${n}-opacity`,r])}function Me([,e="",t],{theme:r}){let n=r.borderRadius?.[t||"DEFAULT"]||f.bracket.cssvar.global.fraction.rem(t||"1");if(e in Kr&&n!=null)return Kr[e].map(o=>[`border${o}-radius`,n])}function Le([,e="",t]){if(Be.includes(t)&&e in I)return I[e].map(r=>[`border${r}-style`,t])}var Ao=[[/^op(?:acity)?-?(.+)$/,([,e])=>({opacity:f.bracket.percent.cssvar(e)})]],Pf=/^\[url\(.+\)\]$/,Vf=/^\[(?:length|size):.+\]$/,Ff=/^\[position:.+\]$/,Wf=/^\[(?:linear|conic|radial)-gradient\(.+\)\]$/,_f=/^\[image:.+\]$/,Po=[[/^bg-(.+)$/,(...e)=>{let t=e[0][1];if(Pf.test(t))return{"--un-url":f.bracket(t),"background-image":"var(--un-url)"};if(Vf.test(t)&&f.bracketOfLength(t)!=null)return{"background-size":f.bracketOfLength(t).split(" ").map(r=>f.fraction.auto.px.cssvar(r)??r).join(" ")};if((Co(t)||Ff.test(t))&&f.bracketOfPosition(t)!=null)return{"background-position":f.bracketOfPosition(t).split(" ").map(r=>f.position.fraction.auto.px.cssvar(r)??r).join(" ")};if(Wf.test(t)||_f.test(t)){let r=f.bracket(t);if(r)return{"background-image":(r.startsWith("http")?`url(${r})`:f.cssvar(r))??r}}return V("background-color","bg","backgroundColor")(...e)},{autocomplete:"bg-$colors"}],[/^bg-op(?:acity)?-?(.+)$/,([,e])=>({"--un-bg-opacity":f.bracket.percent.cssvar(e)}),{autocomplete:"bg-(op|opacity)-<percent>"}]],Vo=[[/^color-scheme-(\w+)$/,([,e])=>({"color-scheme":e})]];var Fo=[[/^@container(?:\/(\w+))?(?:-(normal|inline-size|size))?$/,([,e,t])=>({"container-type":t??"inline-size","container-name":e})]];var Wo=["solid","double","dotted","dashed","wavy",...C],_o=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,e])=>({"text-decoration-line":e}),{autocomplete:"decoration-(underline|overline|line-through)"}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,Mo,{autocomplete:"(underline|decoration)-<num>"}],[/^(?:underline|decoration)-(auto|from-font)$/,([,e])=>({"text-decoration-thickness":e}),{autocomplete:"(underline|decoration)-(auto|from-font)"}],[/^(?:underline|decoration)-(.+)$/,Mf,{autocomplete:"(underline|decoration)-$colors"}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-line-opacity":f.bracket.percent.cssvar(e)}),{autocomplete:"(underline|decoration)-(op|opacity)-<percent>"}],[/^(?:underline|decoration)-offset-(.+)$/,([,e],{theme:t})=>({"text-underline-offset":t.lineWidth?.[e]??f.auto.bracket.cssvar.global.px(e)}),{autocomplete:"(underline|decoration)-(offset)-<num>"}],...Wo.map(e=>[`underline-${e}`,{"text-decoration-style":e}]),...Wo.map(e=>[`decoration-${e}`,{"text-decoration-style":e}]),["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];function Mo([,e],{theme:t}){return{"text-decoration-thickness":t.lineWidth?.[e]??f.bracket.cssvar.global.px(e)}}function Mf(e,t){if(K(f.bracket(e[1])))return Mo(e,t);let r=V("text-decoration-color","line","borderColor")(e,t);if(r)return{"-webkit-text-decoration-color":r["text-decoration-color"],...r}}var Lo=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],[/^flex-(.*)$/,([,e])=>({flex:f.bracket(e)!=null?f.bracket(e).split(" ").map(t=>f.cssvar.fraction(t)??t).join(" "):f.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":f.bracket.cssvar.number(e)??1}),{autocomplete:["flex-shrink-<num>","shrink-<num>"]}],[/^(?:flex-)?grow(?:-(.*))?$/,([,e=""])=>({"flex-grow":f.bracket.cssvar.number(e)??1}),{autocomplete:["flex-grow-<num>","grow-<num>"]}],[/^(?:flex-)?basis-(.+)$/,([,e],{theme:t})=>({"flex-basis":t.spacing?.[e]??f.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"}]];var Lf={"":"",x:"column-",y:"row-",col:"column-",row:"row-"};function Qr([,e="",t],{theme:r}){let n=r.spacing?.[t]??f.bracket.cssvar.global.rem(t);if(n!=null)return{[`${Lf[e]}gap`]:n}}var Bo=[[/^(?:flex-|grid-)?gap-?()(.+)$/,Qr,{autocomplete:["gap-$spacing","gap-<num>"]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,Qr,{autocomplete:["gap-(x|y)-$spacing","gap-(x|y)-<num>"]}],[/^(?:flex-|grid-)?gap-(col|row)-?(.+)$/,Qr,{autocomplete:["gap-(col|row)-$spacing","gap-(col|row)-<num>"]}]];function J(e){return e.replace("col","column")}function en(e){return e[0]==="r"?"Row":"Column"}function Bf(e,t,r){let n=t[`gridAuto${en(e)}`]?.[r];if(n!=null)return n;switch(r){case"min":return"min-content";case"max":return"max-content";case"fr":return"minmax(0,1fr)"}return f.bracket.cssvar.auto.rem(r)}var Uo=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,e,t],{theme:r})=>({[`grid-${J(e)}`]:r[`grid${en(e)}`]?.[t]??f.bracket.cssvar.auto(t)})],[/^(?:grid-)?(row|col)-span-(.+)$/,([,e,t])=>{if(t==="full")return{[`grid-${J(e)}`]:"1/-1"};let r=f.bracket.number(t);if(r!=null)return{[`grid-${J(e)}`]:`span ${r}/span ${r}`}},{autocomplete:"(grid-row|grid-col|row|col)-span-<num>"}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,e,t])=>({[`grid-${J(e)}-start`]:f.bracket.cssvar(t)??t})],[/^(?:grid-)?(row|col)-end-(.+)$/,([,e,t])=>({[`grid-${J(e)}-end`]:f.bracket.cssvar(t)??t}),{autocomplete:"(grid-row|grid-col|row|col)-(start|end)-<num>"}],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,e,t],{theme:r})=>({[`grid-auto-${J(e)}`]:Bf(e,r,t)}),{autocomplete:"(grid-auto|auto)-(rows|cols)-<num>"}],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,e])=>({"grid-auto-flow":f.bracket.cssvar(e)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)$/,([,e])=>({"grid-auto-flow":J(e).replace("-"," ")}),{autocomplete:["(grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)"]}],[/^(?:grid-)?(rows|cols)-(.+)$/,([,e,t],{theme:r})=>({[`grid-template-${J(e)}`]:r[`gridTemplate${en(e)}`]?.[t]??f.bracket.cssvar(t)})],[/^(?:grid-)?(rows|cols)-minmax-([\w.-]+)$/,([,e,t])=>({[`grid-template-${J(e)}`]:`repeat(auto-fill,minmax(${t},1fr))`})],[/^(?:grid-)?(rows|cols)-(\d+)$/,([,e,t])=>({[`grid-template-${J(e)}`]:`repeat(${t},minmax(0,1fr))`}),{autocomplete:"(grid-rows|grid-cols|rows|cols)-<num>"}],[/^grid-area(s)?-(.+)$/,([,e,t])=>e!=null?{"grid-template-areas":f.cssvar(t)??t.split("-").map(r=>`"${f.bracket(r)}"`).join(" ")}:{"grid-area":f.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"}]];var _t=["auto","hidden","clip","visible","scroll","overlay",...C],Io=[[/^(?:overflow|of)-(.+)$/,([,e])=>_t.includes(e)?{overflow:e}:void 0,{autocomplete:[`(overflow|of)-(${_t.join("|")})`,`(overflow|of)-(x|y)-(${_t.join("|")})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,e,t])=>_t.includes(t)?{[`overflow-${e}`]:t}:void 0]];var Do=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,e])=>({position:e}),{autocomplete:["(position|pos)-<position>","(position|pos)-<globalKeyword>","<position>"]}],[/^(?:position-|pos-)([-\w]+)$/,([,e])=>C.includes(e)?{position:e}:void 0],[/^(?:position-|pos-)?(static)$/,([,e])=>({position:e})]],rn=[["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"}],...z("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"}],...z("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"}],...z("justify-self")],No=[[/^order-(.+)$/,([,e])=>({order:f.bracket.cssvar.number(e)})],["order-first",{order:"-9999"}],["order-last",{order:"9999"}],["order-none",{order:"0"}]],nn=[["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"}],...z("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"}],...z("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"}],...z("self","align-self")],on=[["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"}],...z("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"}],...z("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"}],...z("place-self")],qo=[...rn,...nn,...on].flatMap(([e,t])=>[[`flex-${e}`,t],[`grid-${e}`,t]]);function tn(e,{theme:t}){return t.spacing?.[e]??f.bracket.cssvar.global.auto.fraction.rem(e)}function Ue([,e,t],r){let n=tn(t,r);if(n!=null&&e in qr)return qr[e].map(o=>[o.slice(1),n])}var Ko=[[/^(?:position-|pos-)?inset-(.+)$/,([,e],t)=>({inset:tn(e,t)}),{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)-(.+)$/,Ue],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,Ue],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,Ue],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,Ue],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,Ue],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,e,t],r)=>({[e]:tn(t,r)})]],Go=[["float-left",{float:"left"}],["float-right",{float:"right"}],["float-start",{float:"inline-start"}],["float-end",{float:"inline-end"}],["float-none",{float:"none"}],...z("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"}],...z("clear")],Ho=[[/^(?:position-|pos-)?z([\d.]+)$/,([,e])=>({"z-index":f.number(e)})],[/^(?:position-|pos-)?z-(.+)$/,([,e],{theme:t})=>({"z-index":t.zIndex?.[e]??f.bracket.cssvar.global.auto.number(e)}),{autocomplete:"z-<num>"}]],Xo=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}],...z("box","box-sizing")];var Yo=[[/^(where|\?)$/,(e,{constructCSS:t,generator:r})=>{if(r.userConfig.envMode==="dev")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"})}`}]];var Uf=["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"],If=["none","strict","content","size","inline-size","layout","style","paint"],Mt=" ",Zo=[["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:f.bracket.cssvar.global(e)})]],Jo=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}],...z("backface","backface-visibility")],Qo=[[/^cursor-(.+)$/,([,e])=>({cursor:f.bracket.cssvar.global(e)})],...Uf.map(e=>[`cursor-${e}`,{cursor:e}])],ei=[[/^contain-(.*)$/,([,e])=>f.bracket(e)!=null?{contain:f.bracket(e).split(" ").map(t=>f.cssvar.fraction(t)??t).join(" ")}:If.includes(e)?{contain:e}:void 0]],ti=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}],...z("pointer-events")],ri=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}],...z("resize")],ni=[["select-auto",{"-webkit-user-select":"auto","user-select":"auto"}],["select-all",{"-webkit-user-select":"all","user-select":"all"}],["select-text",{"-webkit-user-select":"text","user-select":"text"}],["select-none",{"-webkit-user-select":"none","user-select":"none"}],...z("select","user-select")],oi=[[/^(?:whitespace-|ws-)([-\w]+)$/,([,e])=>["normal","nowrap","pre","pre-line","pre-wrap","break-spaces",...C].includes(e)?{"white-space":e}:void 0,{autocomplete:"(whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)"}]],ii=[[/^intrinsic-size-(.+)$/,([,e])=>({"contain-intrinsic-size":f.bracket.cssvar.global.fraction.rem(e)}),{autocomplete:"intrinsic-size-<num>"}],["content-visibility-visible",{"content-visibility":"visible"}],["content-visibility-hidden",{"content-visibility":"hidden"}],["content-visibility-auto",{"content-visibility":"auto"}],...z("content-visibility")],ai=[[/^content-(.+)$/,([,e])=>({content:f.bracket.cssvar(e)})],["content-empty",{content:'""'}],["content-none",{content:"none"}]],si=[["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"}]],ci=[["text-wrap",{"text-wrap":"wrap"}],["text-nowrap",{"text-wrap":"nowrap"}],["text-balance",{"text-wrap":"balance"}],["text-pretty",{"text-wrap":"pretty"}]],li=[["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"}]],fi=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}],...z("case","text-transform")],ui=[["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"}]],pi=[["antialiased",{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"}],["subpixel-antialiased",{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"}]],di=[["field-sizing-fixed",{"field-sizing":"fixed"}],["field-sizing-content",{"field-sizing":"content"}]];var an={"--un-ring-inset":Mt,"--un-ring-offset-width":"0px","--un-ring-offset-color":"#fff","--un-ring-width":"0px","--un-ring-color":"rgb(147 197 253 / 0.5)","--un-shadow":"0 0 rgb(0 0 0 / 0)"},Df=Object.keys(an),mi=[[/^ring(?:-(.+))?$/,([,e],{theme:t})=>{let r=t.ringWidth?.[e||"DEFAULT"]??f.px(e||"1");if(r)return{"--un-ring-width":r,"--un-ring-offset-shadow":"var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color)","--un-ring-shadow":"var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color)","box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"}},{custom:{preflightKeys:Df},autocomplete:"ring-$ringWidth"}],[/^ring-(?:width-|size-)(.+)$/,hi,{autocomplete:"ring-(width|size)-$lineWidth"}],["ring-offset",{"--un-ring-offset-width":"1px"}],[/^ring-offset-(?:width-|size-)?(.+)$/,([,e],{theme:t})=>({"--un-ring-offset-width":t.lineWidth?.[e]??f.bracket.cssvar.px(e)}),{autocomplete:"ring-offset-(width|size)-$lineWidth"}],[/^ring-(.+)$/,Nf,{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-opacity":f.bracket.percent.cssvar(e)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^ring-offset-(.+)$/,V("--un-ring-offset-color","ring-offset","borderColor"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-offset-opacity":f.bracket.percent.cssvar(e)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]];function hi([,e],{theme:t}){return{"--un-ring-width":t.ringWidth?.[e]??f.bracket.cssvar.px(e)}}function Nf(e,t){return K(f.bracket(e[1]))?hi(e,t):V("--un-ring-color","ring","borderColor")(e,t)}var sn={"--un-ring-offset-shadow":"0 0 rgb(0 0 0 / 0)","--un-ring-shadow":"0 0 rgb(0 0 0 / 0)","--un-shadow-inset":Mt,"--un-shadow":"0 0 rgb(0 0 0 / 0)"},qf=Object.keys(sn),gi=[[/^shadow(?:-(.+))?$/,(e,t)=>{let[,r]=e,{theme:n}=t,o=n.boxShadow?.[r||"DEFAULT"],i=r?f.bracket.cssvar(r):void 0;return(o!=null||i!=null)&&!Vt(i,n,"shadowColor")?{"--un-shadow":Pt(o||i,"--un-shadow-color").join(","),"box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"}:V("--un-shadow-color","shadow","shadowColor")(e,t)},{custom:{preflightKeys:qf},autocomplete:["shadow-$colors","shadow-$boxShadow"]}],[/^shadow-op(?:acity)?-?(.+)$/,([,e])=>({"--un-shadow-opacity":f.bracket.percent.cssvar(e)}),{autocomplete:"shadow-(op|opacity)-<percent>"}],["shadow-inset",{"--un-shadow-inset":"inset"}]];var Kf={h:"height",w:"width",inline:"inline-size",block:"block-size"};function de(e,t){return`${e||""}${Kf[t]}`}function Lt(e,t,r,n){let o=de(e,t).replace(/-(\w)/g,(a,s)=>s.toUpperCase()),i=r[o]?.[n];if(i!=null)return i;switch(n){case"fit":case"max":case"min":return`${n}-content`}return f.bracket.cssvar.global.auto.fraction.rem(n)}var xi=[[/^size-(min-|max-)?(.+)$/,([,e,t],{theme:r})=>({[de(e,"w")]:Lt(e,"w",r,t),[de(e,"h")]:Lt(e,"h",r,t)})],[/^(?:size-)?(min-|max-)?([wh])-?(.+)$/,([,e,t,r],{theme:n})=>({[de(e,t)]:Lt(e,t,n,r)})],[/^(?:size-)?(min-|max-)?(block|inline)-(.+)$/,([,e,t,r],{theme:n})=>({[de(e,t)]:Lt(e,t,n,r)}),{autocomplete:["(w|h)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(max|min)-(w|h|block|inline)","(max|min)-(w|h|block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(w|h)-full","(max|min)-(w|h)-full"]}],[/^(?:size-)?(min-|max-)?(h)-screen-(.+)$/,([,e,t,r],n)=>({[de(e,t)]:bi(n,r,"verticalBreakpoints")})],[/^(?:size-)?(min-|max-)?(w)-screen-(.+)$/,([,e,t,r],n)=>({[de(e,t)]:bi(n,r)}),{autocomplete:["(w|h)-screen","(min|max)-(w|h)-screen","h-screen-$verticalBreakpoints","(min|max)-h-screen-$verticalBreakpoints","w-screen-$breakpoints","(min|max)-w-screen-$breakpoints"]}]];function bi(e,t,r="breakpoints"){let n=Ft(e,r);if(n)return n.find(o=>o.point===t)?.size}function Gf(e){if(/^\d+\/\d+$/.test(e))return e;switch(e){case"square":return"1/1";case"video":return"16/9"}return f.bracket.cssvar.global.auto.number(e)}var yi=[[/^(?:size-)?aspect-(?:ratio-)?(.+)$/,([,e])=>({"aspect-ratio":Gf(e)}),{autocomplete:["aspect-(square|video|ratio)","aspect-ratio-(square|video)"]}]];var $i=[[/^pa?()-?(.+)$/,D("padding"),{autocomplete:["(m|p)<num>","(m|p)-<num>"]}],[/^p-?xy()()$/,D("padding"),{autocomplete:"(m|p)-(xy)"}],[/^p-?([xy])(?:-?(.+))?$/,D("padding")],[/^p-?([rltbse])(?:-?(.+))?$/,D("padding"),{autocomplete:"(m|p)<directions>-<num>"}],[/^p-(block|inline)(?:-(.+))?$/,D("padding"),{autocomplete:"(m|p)-(block|inline)-<num>"}],[/^p-?([bi][se])(?:-?(.+))?$/,D("padding"),{autocomplete:"(m|p)-(bs|be|is|ie)-<num>"}]],vi=[[/^ma?()-?(.+)$/,D("margin")],[/^m-?xy()()$/,D("margin")],[/^m-?([xy])(?:-?(.+))?$/,D("margin")],[/^m-?([rltbse])(?:-?(.+))?$/,D("margin")],[/^m-(block|inline)(?:-(.+))?$/,D("margin")],[/^m-?([bi][se])(?:-?(.+))?$/,D("margin")]];var ki=[[/^fill-(.+)$/,V("fill","fill","backgroundColor"),{autocomplete:"fill-$colors"}],[/^fill-op(?:acity)?-?(.+)$/,([,e])=>({"--un-fill-opacity":f.bracket.percent.cssvar(e)}),{autocomplete:"fill-(op|opacity)-<percent>"}],["fill-none",{fill:"none"}],[/^stroke-(?:width-|size-)?(.+)$/,wi,{autocomplete:["stroke-width-$lineWidth","stroke-size-$lineWidth"]}],[/^stroke-dash-(.+)$/,([,e])=>({"stroke-dasharray":f.bracket.cssvar.number(e)}),{autocomplete:"stroke-dash-<num>"}],[/^stroke-offset-(.+)$/,([,e],{theme:t})=>({"stroke-dashoffset":t.lineWidth?.[e]??f.bracket.cssvar.px.numberWithUnit(e)}),{autocomplete:"stroke-offset-$lineWidth"}],[/^stroke-(.+)$/,Hf,{autocomplete:"stroke-$colors"}],[/^stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-stroke-opacity":f.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 wi([,e],{theme:t}){return{"stroke-width":t.lineWidth?.[e]??f.bracket.cssvar.fraction.px.number(e)}}function Hf(e,t){return K(f.bracket(e[1]))?wi(e,t):V("stroke","stroke","borderColor")(e,t)}var Bt=["translate","rotate","scale"],Xf=["translateX(var(--un-translate-x))","translateY(var(--un-translate-y))","rotate(var(--un-rotate))","rotateZ(var(--un-rotate-z))","skewX(var(--un-skew-x))","skewY(var(--un-skew-y))","scaleX(var(--un-scale-x))","scaleY(var(--un-scale-y))"].join(" "),Ce=["translateX(var(--un-translate-x))","translateY(var(--un-translate-y))","translateZ(var(--un-translate-z))","rotate(var(--un-rotate))","rotateX(var(--un-rotate-x))","rotateY(var(--un-rotate-y))","rotateZ(var(--un-rotate-z))","skewX(var(--un-skew-x))","skewY(var(--un-skew-y))","scaleX(var(--un-scale-x))","scaleY(var(--un-scale-y))","scaleZ(var(--un-scale-z))"].join(" "),Yf=["translate3d(var(--un-translate-x), var(--un-translate-y), var(--un-translate-z))","rotate(var(--un-rotate))","rotateX(var(--un-rotate-x))","rotateY(var(--un-rotate-y))","rotateZ(var(--un-rotate-z))","skewX(var(--un-skew-x))","skewY(var(--un-skew-y))","scaleX(var(--un-scale-x))","scaleY(var(--un-scale-y))","scaleZ(var(--un-scale-z))"].join(" "),cn={"--un-rotate":0,"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-scale-x":1,"--un-scale-y":1,"--un-scale-z":1,"--un-skew-x":0,"--un-skew-y":0,"--un-translate-x":0,"--un-translate-y":0,"--un-translate-z":0},Q=Object.keys(cn),ji=[[/^(?:transform-)?origin-(.+)$/,([,e])=>({"transform-origin":Ve[e]??f.bracket.cssvar(e)}),{autocomplete:[`transform-origin-(${Object.keys(Ve).join("|")})`,`origin-(${Object.keys(Ve).join("|")})`]}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,e])=>{let t=f.bracket.cssvar.px.numberWithUnit(e);if(t!=null)return{"-webkit-perspective":t,perspective:t}}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,e])=>{let t=f.bracket.cssvar(e)??(e.length>=3?Ve[e]:void 0);if(t!=null)return{"-webkit-perspective-origin":t,"perspective-origin":t}}],[/^(?:transform-)?translate-()(.+)$/,Si,{custom:{preflightKeys:Q}}],[/^(?:transform-)?translate-([xyz])-(.+)$/,Si,{custom:{preflightKeys:Q}}],[/^(?:transform-)?rotate-()(.+)$/,Ri,{custom:{preflightKeys:Q}}],[/^(?:transform-)?rotate-([xyz])-(.+)$/,Ri,{custom:{preflightKeys:Q}}],[/^(?:transform-)?skew-()(.+)$/,zi,{custom:{preflightKeys:Q}}],[/^(?:transform-)?skew-([xy])-(.+)$/,zi,{custom:{preflightKeys:Q},autocomplete:["transform-skew-(x|y)-<percent>","skew-(x|y)-<percent>"]}],[/^(?:transform-)?scale-()(.+)$/,Ci,{custom:{preflightKeys:Q}}],[/^(?:transform-)?scale-([xyz])-(.+)$/,Ci,{custom:{preflightKeys:Q},autocomplete:[`transform-(${Bt.join("|")})-<percent>`,`transform-(${Bt.join("|")})-(x|y|z)-<percent>`,`(${Bt.join("|")})-<percent>`,`(${Bt.join("|")})-(x|y|z)-<percent>`]}],[/^(?:transform-)?preserve-3d$/,()=>({"transform-style":"preserve-3d"})],[/^(?:transform-)?preserve-flat$/,()=>({"transform-style":"flat"})],["transform",{transform:Ce},{custom:{preflightKeys:Q}}],["transform-cpu",{transform:Xf},{custom:{preflightKeys:["--un-translate-x","--un-translate-y","--un-rotate","--un-rotate-z","--un-skew-x","--un-skew-y","--un-scale-x","--un-scale-y"]}}],["transform-gpu",{transform:Yf},{custom:{preflightKeys:Q}}],["transform-none",{transform:"none"}],...z("transform")];function Si([,e,t],{theme:r}){let n=r.spacing?.[t]??f.bracket.cssvar.fraction.rem(t);if(n!=null)return[...Wt(e,n,"translate"),["transform",Ce]]}function Ci([,e,t]){let r=f.bracket.cssvar.fraction.percent(t);if(r!=null)return[...Wt(e,r,"scale"),["transform",Ce]]}function Ri([,e="",t]){let r=f.bracket.cssvar.degree(t);if(r!=null)return e?{"--un-rotate":0,[`--un-rotate-${e}`]:r,transform:Ce}:{"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-rotate":r,transform:Ce}}function zi([,e,t]){let r=f.bracket.cssvar.degree(t);if(r!=null)return[...Wt(e,r,"skew"),["transform",Ce]]}function Ei(e,t){let r;if(f.cssvar(e)!=null)r=f.cssvar(e);else{e.startsWith("[")&&e.endsWith("]")&&(e=e.slice(1,-1));let n=e.split(",").map(o=>t.transitionProperty?.[o]??f.properties(o));n.every(Boolean)&&(r=n.join(","))}return r}var Ti=[[/^transition(?:-(\D+?))?(?:-(\d+))?$/,([,e,t],{theme:r})=>{if(!e&&!t)return{"transition-property":r.transitionProperty?.DEFAULT,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":r.duration?.DEFAULT??f.time("150")};if(e!=null){let n=Ei(e,r),o=r.duration?.[t||"DEFAULT"]??f.time(t||"150");if(n)return{"transition-property":n,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":o}}else if(t!=null)return{"transition-property":r.transitionProperty?.DEFAULT,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":r.duration?.[t]??f.time(t)}},{autocomplete:"transition-$transitionProperty-$duration"}],[/^(?:transition-)?duration-(.+)$/,([,e],{theme:t})=>({"transition-duration":t.duration?.[e||"DEFAULT"]??f.bracket.cssvar.time(e)}),{autocomplete:["transition-duration-$duration","duration-$duration"]}],[/^(?:transition-)?delay-(.+)$/,([,e],{theme:t})=>({"transition-delay":t.duration?.[e||"DEFAULT"]??f.bracket.cssvar.time(e)}),{autocomplete:["transition-delay-$duration","delay-$duration"]}],[/^(?:transition-)?ease(?:-(.+))?$/,([,e],{theme:t})=>({"transition-timing-function":t.easing?.[e||"DEFAULT"]??f.bracket.cssvar(e)}),{autocomplete:["transition-ease-(linear|in|out|in-out|DEFAULT)","ease-(linear|in|out|in-out|DEFAULT)"]}],[/^(?:transition-)?property-(.+)$/,([,e],{theme:t})=>{let r=f.global(e)||Ei(e,t);if(r)return{"transition-property":r}},{autocomplete:[`transition-property-(${[...C].join("|")})`,"transition-property-$transitionProperty","property-$transitionProperty"]}],["transition-none",{transition:"none"}],...z("transition"),["transition-discrete",{"transition-behavior":"allow-discrete"}],["transition-normal",{"transition-behavior":"normal"}]];var Oi=[[/^text-(.+)$/,Jf,{autocomplete:"text-$fontSize"}],[/^(?:text|font)-size-(.+)$/,Wi,{autocomplete:"text-size-$fontSize"}],[/^text-(?:color-)?(.+)$/,Zf,{autocomplete:"text-$colors"}],[/^(?:color|c)-(.+)$/,V("color","text","textColor"),{autocomplete:"(color|c)-$colors"}],[/^(?:text|color|c)-(.+)$/,([,e])=>C.includes(e)?{color:e}:void 0,{autocomplete:`(text|color|c)-(${C.join("|")})`}],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-opacity":f.bracket.percent.cssvar(e)}),{autocomplete:"(text|color|c)-(op|opacity)-<percent>"}],[/^(?:font|fw)-?([^-]+)$/,([,e],{theme:t})=>({"font-weight":t.fontWeight?.[e]||f.bracket.global.number(e)}),{autocomplete:["(font|fw)-(100|200|300|400|500|600|700|800|900)","(font|fw)-$fontWeight"]}],[/^(?:font-)?(?:leading|lh|line-height)-(.+)$/,([,e],{theme:t})=>({"line-height":ln(e,t,"lineHeight")}),{autocomplete:"(leading|lh|line-height)-$lineHeight"}],["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":f.bracket.cssvar.global(e)})],[/^(?:font-)?tracking-(.+)$/,([,e],{theme:t})=>({"letter-spacing":t.letterSpacing?.[e]||f.bracket.cssvar.global.rem(e)}),{autocomplete:"tracking-$letterSpacing"}],[/^(?:font-)?word-spacing-(.+)$/,([,e],{theme:t})=>({"word-spacing":t.wordSpacing?.[e]||f.bracket.cssvar.global.rem(e)}),{autocomplete:"word-spacing-$wordSpacing"}],["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":f.bracket.cssvar.fraction.global(e)}),{autocomplete:"font-stretch-<percentage>"}],[/^font-(.+)$/,([,e],{theme:t})=>({"font-family":t.fontFamily?.[e]||f.bracket.cssvar.global(e)}),{autocomplete:"font-$fontFamily"}]],Ai=[[/^tab(?:-(.+))?$/,([,e])=>{let t=f.bracket.cssvar.global.number(e||"4");if(t!=null)return{"-moz-tab-size":t,"-o-tab-size":t,"tab-size":t}}]],Pi=[[/^indent(?:-(.+))?$/,([,e],{theme:t})=>({"text-indent":t.textIndent?.[e||"DEFAULT"]||f.bracket.cssvar.global.fraction.rem(e)}),{autocomplete:"indent-$textIndent"}]],Vi=[[/^text-stroke(?:-(.+))?$/,([,e],{theme:t})=>({"-webkit-text-stroke-width":t.textStrokeWidth?.[e||"DEFAULT"]||f.bracket.cssvar.px(e)}),{autocomplete:"text-stroke-$textStrokeWidth"}],[/^text-stroke-(.+)$/,V("-webkit-text-stroke-color","text-stroke","borderColor"),{autocomplete:"text-stroke-$colors"}],[/^text-stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-stroke-opacity":f.bracket.percent.cssvar(e)}),{autocomplete:"text-stroke-(op|opacity)-<percent>"}]],Fi=[[/^text-shadow(?:-(.+))?$/,([,e],{theme:t})=>{let r=t.textShadow?.[e||"DEFAULT"];return r!=null?{"--un-text-shadow":Pt(r,"--un-text-shadow-color").join(","),"text-shadow":"var(--un-text-shadow)"}:{"text-shadow":f.bracket.cssvar.global(e)}},{autocomplete:"text-shadow-$textShadow"}],[/^text-shadow-color-(.+)$/,V("--un-text-shadow-color","text-shadow","shadowColor"),{autocomplete:"text-shadow-color-$colors"}],[/^text-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-shadow-opacity":f.bracket.percent.cssvar(e)}),{autocomplete:"text-shadow-color-(op|opacity)-<percent>"}]];function ln(e,t,r){return t[r]?.[e]||f.bracket.cssvar.global.rem(e)}function Wi([,e],{theme:t}){let n=E(t.fontSize?.[e])?.[0]??f.bracket.cssvar.global.rem(e);if(n!=null)return{"font-size":n}}function Zf(e,t){return K(f.bracket(e[1]))?Wi(e,t):V("color","text","textColor")(e,t)}function Jf([,e="base"],{theme:t}){let r=Jr(e,"length");if(!r)return;let[n,o]=r,i=E(t.fontSize?.[n]),a=o?ln(o,t,"lineHeight"):void 0;if(i?.[0]){let[c,u,d]=i;return typeof u=="object"?{"font-size":c,...u}:{"font-size":c,"line-height":a??u??"1","letter-spacing":d?ln(d,t,"letterSpacing"):void 0}}let s=f.bracketOfLength.rem(n);return a&&s?{"font-size":s,"line-height":a}:{"font-size":f.bracketOfLength.rem(e)}}var Qf={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"},_i=[[/^(.+?)-(\$.+)$/,([,e,t])=>{let r=Qf[e];if(r)return{[r]:f.cssvar(t)}}]],Mi=[[/^\[(.*)\]$/,([e,t])=>{if(!t.includes(":"))return;let[r,...n]=t.split(":"),o=n.join(":");if(!tu(t)&&/^[\w-]+$/.test(r)&&eu(o)){let i=f.bracket(`[${o}]`);if(i)return{[r]:i}}}]];function eu(e){let t=0;function r(n){for(;t<e.length;)if(t+=1,e[t]===n)return!0;return!1}for(t=0;t<e.length;t++){let n=e[t];if("\"`'".includes(n)){if(!r(n))return!1}else if(n==="("){if(!r(")"))return!1}else if("[]{}:".includes(n))return!1}return!0}function tu(e){if(!e.includes("://"))return!1;try{return new URL(e).host!==""}catch{return!1}}var Li=[_i,Mi,ei,ti,Jo,Do,Ko,Ho,No,Uo,Go,vi,Xo,Zo,yi,xi,Lo,ji,Qo,ni,ri,jo,on,nn,rn,Bo,qo,Io,li,oi,si,Oo,Po,Vo,ki,$i,$o,Pi,ci,yo,Oi,fi,ui,_o,pi,Ai,Vi,Fi,Ao,gi,Ro,mi,Ti,Eo,ii,ai,Fo,di,Yo].flat(1);var Bi={position:["relative","absolute","fixed","sticky","static"],globalKeyword:C};var fn={inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"},light:{50:"#fdfdfd",100:"#fcfcfc",200:"#fafafa",300:"#f8f9fa",400:"#f6f6f6",500:"#f2f2f2",600:"#f1f3f5",700:"#e9ecef",800:"#dee2e6",900:"#dde1e3",950:"#d8dcdf"},dark:{50:"#4a4a4a",100:"#3c3c3c",200:"#323232",300:"#2d2d2d",400:"#222222",500:"#1f1f1f",600:"#1c1c1e",700:"#1b1b1b",800:"#181818",900:"#0f0f0f",950:"#080808"},get lightblue(){return this.sky},get lightBlue(){return this.sky},get warmgray(){return this.stone},get warmGray(){return this.stone},get truegray(){return this.neutral},get trueGray(){return this.neutral},get coolgray(){return this.gray},get coolGray(){return this.gray},get bluegray(){return this.slate},get blueGray(){return this.slate}};Object.values(fn).forEach(e=>{typeof e!="string"&&e!==void 0&&(e.DEFAULT=e.DEFAULT||e[400],Object.keys(e).forEach(t=>{let r=+t/100;r===Math.round(r)&&(e[r]=e[t])}))});var Ui={DEFAULT:"8px",0:"0",sm:"4px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},Ii={DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],sm:"0 1px 1px rgb(0 0 0 / 0.05)",md:["0 4px 3px rgb(0 0 0 / 0.07)","0 2px 2px rgb(0 0 0 / 0.06)"],lg:["0 10px 8px rgb(0 0 0 / 0.04)","0 4px 3px rgb(0 0 0 / 0.1)"],xl:["0 20px 13px rgb(0 0 0 / 0.03)","0 8px 5px rgb(0 0 0 / 0.08)"],"2xl":"0 25px 25px rgb(0 0 0 / 0.15)",none:"0 0 rgb(0 0 0 / 0)"};var Di={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(",")},Ni={xs:["0.75rem","1rem"],sm:["0.875rem","1.25rem"],base:["1rem","1.5rem"],lg:["1.125rem","1.75rem"],xl:["1.25rem","1.75rem"],"2xl":["1.5rem","2rem"],"3xl":["1.875rem","2.25rem"],"4xl":["2.25rem","2.5rem"],"5xl":["3rem","1"],"6xl":["3.75rem","1"],"7xl":["4.5rem","1"],"8xl":["6rem","1"],"9xl":["8rem","1"]},qi={DEFAULT:"1.5rem",xs:"0.5rem",sm:"1rem",md:"1.5rem",lg:"2rem",xl:"2.5rem","2xl":"3rem","3xl":"4rem"},Ki={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},Gi={DEFAULT:["0 0 1px rgb(0 0 0 / 0.2)","0 0 1px rgb(1 0 5 / 0.1)"],none:"0 0 rgb(0 0 0 / 0)",sm:"1px 1px 3px rgb(36 37 47 / 0.25)",md:["0 1px 2px rgb(30 29 39 / 0.19)","1px 2px 4px rgb(54 64 147 / 0.18)"],lg:["3px 3px 6px rgb(0 0 0 / 0.26)","0 0 5px rgb(15 3 86 / 0.22)"],xl:["1px 1px 3px rgb(0 0 0 / 0.29)","2px 4px 7px rgb(73 64 125 / 0.35)"]},Hi={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},un={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},Xi={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},Yi=un;var pn={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},Zi={...pn},Ji={DEFAULT:"1px",none:"0"},Qi={DEFAULT:"1rem",none:"0",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"},ea={DEFAULT:"150ms",none:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},ta={DEFAULT:"0.25rem",none:"0",sm:"0.125rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},ra={DEFAULT:["var(--un-shadow-inset) 0 1px 3px 0 rgb(0 0 0 / 0.1)","var(--un-shadow-inset) 0 1px 2px -1px rgb(0 0 0 / 0.1)"],none:"0 0 rgb(0 0 0 / 0)",sm:"var(--un-shadow-inset) 0 1px 2px 0 rgb(0 0 0 / 0.05)",md:["var(--un-shadow-inset) 0 4px 6px -1px rgb(0 0 0 / 0.1)","var(--un-shadow-inset) 0 2px 4px -2px rgb(0 0 0 / 0.1)"],lg:["var(--un-shadow-inset) 0 10px 15px -3px rgb(0 0 0 / 0.1)","var(--un-shadow-inset) 0 4px 6px -4px rgb(0 0 0 / 0.1)"],xl:["var(--un-shadow-inset) 0 20px 25px -5px rgb(0 0 0 / 0.1)","var(--un-shadow-inset) 0 8px 10px -6px rgb(0 0 0 / 0.1)"],"2xl":"var(--un-shadow-inset) 0 25px 50px -12px rgb(0 0 0 / 0.25)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)"},na={DEFAULT:"3px",none:"0"},oa={auto:"auto"},ia={mouse:"(hover) and (pointer: fine)"};var aa={...cn,...sn,...an};var ne={xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",prose:"65ch"},sa={auto:"auto",...ne,screen:"100vw"},dn={none:"none",...ne,screen:"100vw"},ca={auto:"auto",...ne,screen:"100vb"},la={auto:"auto",...ne,screen:"100vi"},fa={auto:"auto",...ne,screen:"100vh"},mn={none:"none",...ne,screen:"100vh"},hn={none:"none",...ne,screen:"100vb"},gn={none:"none",...ne,screen:"100vi"},ua={...ne};var pa={DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)",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)"},da={none:"none",all:"all",colors:["color","background-color","border-color","text-decoration-color","fill","stroke"].join(","),opacity:"opacity",shadow:"box-shadow",transform:"transform",get DEFAULT(){return[this.colors,"opacity","box-shadow","transform","filter","backdrop-filter"].join(",")}};var ma={width:sa,height:fa,maxWidth:dn,maxHeight:mn,minWidth:dn,minHeight:mn,inlineSize:la,blockSize:ca,maxInlineSize:gn,maxBlockSize:hn,minInlineSize:gn,minBlockSize:hn,colors:fn,fontFamily:Di,fontSize:Ni,fontWeight:Xi,breakpoints:pn,verticalBreakpoints:Zi,borderRadius:ta,lineHeight:Hi,letterSpacing:un,wordSpacing:Yi,boxShadow:ra,textIndent:qi,textShadow:Gi,textStrokeWidth:Ki,blur:Ui,dropShadow:Ii,easing:pa,transitionProperty:da,lineWidth:Ji,spacing:Qi,duration:ea,ringWidth:na,preflightBase:aa,containers:ua,zIndex:oa,media:ia};var ha={name:"aria",match(e,t){let r=k("aria-",e,t.generator.config.separators);if(r){let[n,o]=r,i=f.bracket(n)??t.theme.aria?.[n]??"";if(i)return{matcher:o,selector:a=>`${a}[aria-${i}]`}}},multiPass:!0};function Ut(e,t,r={}){return{name:`${e}-aria`,match(n,o){let i=k(`${e}-aria-`,n,o.generator.config.separators);if(i){let[a,s,c]=i,u=f.bracket(a)??o.theme.aria?.[a]??"";if(u){let d=!!r?.attributifyPseudo,h=r?.prefix??"";h=(Array.isArray(h)?h:[h]).filter(Boolean)[0]??"";let g=`${d?`[${h}${e}=""]`:`.${h}${e}`}`,m=B(c?`/${c}`:"");return{matcher:s,handle:(p,x)=>{let L=new RegExp(`${A(g)}${A(m)}(?:\\[.+?\\])+`),O=p.prefix.match(L),w;if(O){let y=(O.index??0)+g.length+m.length;w=[p.prefix.slice(0,y),`[aria-${u}]`,p.prefix.slice(y)].join("")}else{let y=Math.max(p.prefix.indexOf(g),0);w=[p.prefix.slice(0,y),g,m,`[aria-${u}]`,t,p.prefix.slice(y)].join("")}return x({...p,prefix:w})}}}}},multiPass:!0}}function ru(){return{name:"has-aria",match(e,t){let r=k("has-aria-",e,t.generator.config.separators);if(r){let[n,o]=r,i=f.bracket(n)??t.theme.aria?.[n]??"";if(i)return{matcher:o,handle:(a,s)=>s({...a,pseudo:`${a.pseudo}:has([aria-${i}])`})}}},multiPass:!0}}function ga(e={}){return[Ut("group"," ",e),Ut("peer","~",e),Ut("parent",">",e),Ut("previous","+",e),ru()]}var ba=/(max|min)-\[([^\]]*)\]:/;function xa(){let e={};return{name:"breakpoints",match(t,r){if(ba.test(t)){let o=t.match(ba);return{matcher:t.replace(o[0],""),handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@media (${o[1]}-width: ${o[2]})`})}}let n=(Ft(r)??[]).map(({point:o,size:i},a)=>[o,i,a]);for(let[o,i,a]of n){e[o]||(e[o]=new RegExp(`^((?:([al]t-|[<~]|max-))?${o}(?:${r.generator.config.separators.join("|")}))`));let s=t.match(e[o]);if(!s)continue;let[,c]=s,u=t.slice(c.length);if(u==="container")continue;let d=c.startsWith("lt-")||c.startsWith("<")||c.startsWith("max-"),h=c.startsWith("at-")||c.startsWith("~"),g=3e3;return d?(g-=a+1,{matcher:u,handle:(m,p)=>p({...m,parent:`${m.parent?`${m.parent} $$ `:""}@media (max-width: ${ve(i)})`,parentOrder:g})}):(g+=a+1,h&&a<n.length-1?{matcher:u,handle:(m,p)=>p({...m,parent:`${m.parent?`${m.parent} $$ `:""}@media (min-width: ${i}) and (max-width: ${ve(n[a+1][1])})`,parentOrder:g})}:{matcher:u,handle:(m,p)=>p({...m,parent:`${m.parent?`${m.parent} $$ `:""}@media (min-width: ${i})`,parentOrder:g})})}},multiPass:!0,autocomplete:"(at-|lt-|max-|)$breakpoints:"}}var ya=[T("*",e=>({selector:`${e.selector} > *`}),{order:-1})];function Ie(e,t){return{name:`combinator:${e}`,match(r,n){if(!r.startsWith(e))return;let o=n.generator.config.separators,i=_(`${e}-`,r,o);if(!i){for(let s of o)if(r.startsWith(`${e}${s}`)){i=["",r.slice(e.length+s.length)];break}if(!i)return}let a=f.bracket(i[0])??"";return a===""&&(a="*"),{matcher:i[1],selector:s=>`${s}${t}${a}`}},multiPass:!0}}var $a=[Ie("all"," "),Ie("children",">"),Ie("next","+"),Ie("sibling","+"),Ie("siblings","~")];var va={name:"@",match(e,t){if(e.startsWith("@container"))return;let r=k("@",e,t.generator.config.separators);if(r){let[n,o,i]=r,a=f.bracket(n),s;if(a?s=f.numberWithUnit(a):s=t.theme.containers?.[n]??"",s){let c=1e3+Object.keys(t.theme.containers??{}).indexOf(n);return i&&(c+=1e3),{matcher:o,handle:(u,d)=>d({...u,parent:`${u.parent?`${u.parent} $$ `:""}@container${i?` ${i} `:" "}(min-width: ${s})`,parentOrder:c})}}}},multiPass:!0};function ka(e={}){if(e?.dark==="class"||typeof e.dark=="object"){let{dark:t=".dark",light:r=".light"}=typeof e.dark=="string"?{}:e.dark;return[T("dark",E(t).map(n=>o=>({prefix:`${n} $$ ${o.prefix}`}))),T("light",E(r).map(n=>o=>({prefix:`${n} $$ ${o.prefix}`})))]}return[P("dark","@media (prefers-color-scheme: dark)"),P("light","@media (prefers-color-scheme: light)")]}var wa={name:"data",match(e,t){let r=k("data-",e,t.generator.config.separators);if(r){let[n,o]=r,i=f.bracket(n)??t.theme.data?.[n]??"";if(i)return{matcher:o,selector:a=>`${a}[data-${i}]`}}},multiPass:!0};function It(e,t,r={}){return{name:`${e}-data`,match(n,o){let i=k(`${e}-data-`,n,o.generator.config.separators);if(i){let[a,s,c]=i,u=f.bracket(a)??o.theme.data?.[a]??"";if(u){let d=!!r?.attributifyPseudo,h=r?.prefix??"";h=(Array.isArray(h)?h:[h]).filter(Boolean)[0]??"";let g=`${d?`[${h}${e}=""]`:`.${h}${e}`}`,m=B(c?`/${c}`:"");return{matcher:s,handle:(p,x)=>{let L=new RegExp(`${A(g)}${A(m)}(?:\\[.+?\\])+`),O=p.prefix.match(L),w;if(O){let y=(O.index??0)+g.length+m.length;w=[p.prefix.slice(0,y),`[data-${u}]`,p.prefix.slice(y)].join("")}else{let y=Math.max(p.prefix.indexOf(g),0);w=[p.prefix.slice(0,y),g,m,`[data-${u}]`,t,p.prefix.slice(y)].join("")}return x({...p,prefix:w})}}}}},multiPass:!0}}function nu(){return{name:"has-data",match(e,t){let r=k("has-data-",e,t.generator.config.separators);if(r){let[n,o]=r,i=f.bracket(n)??t.theme.data?.[n]??"";if(i)return{matcher:o,handle:(a,s)=>s({...a,pseudo:`${a.pseudo}:has([data-${i}])`})}}},multiPass:!0}}function Sa(e={}){return[It("group"," ",e),It("peer","~",e),It("parent",">",e),It("previous","+",e),nu()]}var Ca=[T("rtl",e=>({prefix:`[dir="rtl"] $$ ${e.prefix}`})),T("ltr",e=>({prefix:`[dir="ltr"] $$ ${e.prefix}`}))];function Ra(){let e;return{name:"important",match(t,r){e||(e=new RegExp(`^(important(?:${r.generator.config.separators.join("|")})|!)`));let n,o=t.match(e);if(o?n=t.slice(o[0].length):t.endsWith("!")&&(n=t.slice(0,-1)),n)return{matcher:n,body:i=>(i.forEach(a=>{a[1]!=null&&(a[1]+=" !important")}),i)}}}}var za=P("print","@media print"),ja={name:"media",match(e,t){let r=k("media-",e,t.generator.config.separators);if(r){let[n,o]=r,i=f.bracket(n)??"";if(i===""&&(i=t.theme.media?.[n]??""),i)return{matcher:o,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@media ${i}`})}}},multiPass:!0};var Ea={name:"selector",match(e,t){let r=_("selector-",e,t.generator.config.separators);if(r){let[n,o]=r,i=f.bracket(n);if(i)return{matcher:o,selector:()=>i}}}},Ta={name:"layer",match(e,t){let r=k("layer-",e,t.generator.config.separators);if(r){let[n,o]=r,i=f.bracket(n)??n;if(i)return{matcher:o,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@layer ${i}`})}}}},Oa={name:"uno-layer",match(e,t){let r=k("uno-layer-",e,t.generator.config.separators);if(r){let[n,o]=r,i=f.bracket(n)??n;if(i)return{matcher:o,layer:i}}}},Aa={name:"scope",match(e,t){let r=_("scope-",e,t.generator.config.separators);if(r){let[n,o]=r,i=f.bracket(n);if(i)return{matcher:o,selector:a=>`${i} $$ ${a}`}}}},Pa={name:"variables",match(e,t){if(!e.startsWith("["))return;let[r,n]=U(e,"[","]")??[];if(!(r&&n))return;let o;for(let s of t.generator.config.separators)if(n.startsWith(s)){o=n.slice(s.length);break}if(o==null)return;let i=f.bracket(r)??"",a=i.startsWith("@");if(a||i.includes("&"))return{matcher:o,handle(s,c){let u=a?{parent:`${s.parent?`${s.parent} $$ `:""}${i}`}:{selector:i.replace(/&/g,s.selector)};return c({...s,...u})}}},multiPass:!0},Va={name:"theme-variables",match(e,t){if(kt(e))return{matcher:e,handle(r,n){return n({...r,entries:JSON.parse(wt(JSON.stringify(r.entries),t.theme))})}}}};var Fa=/^-?[0-9.]+(?:[a-z]+|%)?$/,Wa=/-?[0-9.]+(?:[a-z]+|%)?/,ou=[/\b(opacity|color|flex|backdrop-filter|^filter|transform)\b/];function iu(e){let t=e.match(Fe)||e.match(Et);if(t){let[r,n]=X(`(${t[2]})${t[3]}`,"(",")"," ")??[];if(r)return`calc(${t[1]}${r} * -1)${n?` ${n}`:""}`}}var au=/\b(hue-rotate)\s*(\(.*)/;function su(e){let t=e.match(au);if(t){let[r,n]=X(t[2],"(",")"," ")??[];if(r){let o=Fa.test(r.slice(1,-1))?r.replace(Wa,i=>i.startsWith("-")?i.slice(1):`-${i}`):`(calc(${r} * -1))`;return`${t[1]}${o}${n?` ${n}`:""}`}}}var _a={name:"negative",match(e){if(e.startsWith("-"))return{matcher:e.slice(1),body:t=>{if(t.find(n=>n[0]===So))return;let r=!1;return t.forEach(n=>{let o=n[1]?.toString();if(!o||o==="0"||ou.some(s=>s.test(n[0])))return;let i=iu(o);if(i){n[1]=i,r=!0;return}let a=su(o);if(a){n[1]=a,r=!0;return}Fa.test(o)&&(n[1]=o.replace(Wa,s=>s.startsWith("-")?s.slice(1):`-${s}`),r=!0)}),r?t:[]}}}};function Ma(){return Ct({getBracket:U,h:f,variantGetBracket:_})}function La(){return Rt({getBracket:U,h:f,variantGetBracket:_})}function Ba(e={}){return zt(e,{getBracket:U,h:f,variantGetBracket:_})}var Ua=jt();var Ia={name:"starting",match(e){if(e.startsWith("starting:"))return{matcher:e.slice(9),handle:(t,r)=>r({...t,parent:"@starting-style"})}}};var Da={name:"supports",match(e,t){let r=k("supports-",e,t.generator.config.separators);if(r){let[n,o]=r,i=f.bracket(n)??"";if(i===""&&(i=t.theme.supports?.[n]??""),i)return i.startsWith("(")&&i.endsWith(")")||(i=`(${i})`),{matcher:o,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@supports ${i}`})}}},multiPass:!0};function Na(e){return[ha,wa,Ta,Ea,Oa,_a,Ia,Ra(),Da,za,ja,xa(),...$a,...Ma(),La(),...Ba(e),Ua,...ka(e),...Ca,Aa,...ya,va,Pa,...Sa(e),...ga(e),Va]}var bn=(e={})=>(e.dark=e.dark??"class",e.attributifyPseudo=e.attributifyPseudo??!1,e.preflight=e.preflight??!0,e.variablePrefix=e.variablePrefix??"un-",{name:"@unocss/preset-mini",theme:ma,rules:Li,variants:Na(e),options:e,prefix:e.prefix,postprocess:cu(e.variablePrefix),preflights:Zn(e),extractorDefault:e.arbitraryVariants===!1?void 0:Yn(),autocomplete:{shorthands:Bi}}),qa=bn;function cu(e){if(e!=="un-")return t=>{t.entries.forEach(r=>{r[0]=r[0].replace(/^--un-/,`--${e}`),typeof r[1]=="string"&&(r[1]=r[1].replace(/var\(--un-/g,`var(--${e}`))})}}function Ka(e){if(e==null||e===!1)return[];let t=r=>r.startsWith(":is(")&&r.endsWith(")")?r:r.includes("::")?r.replace(/(.*?)((?:\s\*)?::.*)/,":is($1)$2"):`:is(${r})`;return[e===!0?r=>{r.entries.forEach(n=>{n[1]!=null&&!String(n[1]).endsWith("!important")&&(n[1]+=" !important")})}:r=>{r.selector.startsWith(e)||(r.selector=`${e} ${t(r.selector)}`)}]}function Ga(e){return[...E(qa(e).postprocess),...Ka(e.important)]}var M={l:["-left"],r:["-right"],t:["-top"],b:["-bottom"],s:["-inline-start"],e:["-inline-end"],x:["-left","-right"],y:["-top","-bottom"],"":[""],bs:["-block-start"],be:["-block-end"],is:["-inline-start"],ie:["-inline-end"],block:["-block-start","-block-end"],inline:["-inline-start","-inline-end"]},Dt={...M,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"]},Nt={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"]},Ja={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},Qa=["x","y","z"],Ha=["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"],F=Object.assign({},...Ha.map(e=>({[e.replace(/ /,"-")]:e})),...Ha.map(e=>({[e.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:e}))),S=["inherit","initial","revert","revert-layer","unset"],De=/^(calc|clamp|min|max)\s*\((.+)\)(.*)/,qt=/^(var)\s*\((.+)\)(.*)/,Kt=/^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i,es=/^(-?\d*(?:\.\d+)?)$/,ts=/^(px|[sld]?v[wh])$/i,rs={px:1,vw:100,vh:100,svw:100,svh:100,dvw:100,dvh:100,lvh:100,lvw:100},ns=/^\[(color|image|length|size|position|quoted|string):/i,lu=/,(?![^()]*\))/g,fu=["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 G(e){return+e.toFixed(10)}function uu(e){let t=e.match(Kt);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(n&&!Number.isNaN(o))return`${G(o)}${n}`}function pu(e){if(e==="auto"||e==="a")return"auto"}function du(e){if(!e)return;if(ts.test(e))return`${rs[e]}${e}`;let t=e.match(Kt);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0":n?`${G(o)}${n}`:`${G(o/4)}rem`}function mu(e){if(ts.test(e))return`${rs[e]}${e}`;let t=e.match(Kt);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return n?`${G(o)}${n}`:`${G(o)}px`}function hu(e){if(!es.test(e))return;let t=Number.parseFloat(e);if(!Number.isNaN(t))return G(t)}function gu(e){if(e.endsWith("%")&&(e=e.slice(0,-1)),!es.test(e))return;let t=Number.parseFloat(e);if(!Number.isNaN(t))return`${G(t/100)}`}function bu(e){if(!e)return;if(e==="full")return"100%";let[t,r]=e.split("/"),n=Number.parseFloat(t)/Number.parseFloat(r);if(!Number.isNaN(n))return n===0?"0":`${G(n*100)}%`}function Gt(e,t){if(e&&e.startsWith("[")&&e.endsWith("]")){let r,n,o=e.match(ns);if(o?(t||(n=o[1]),r=e.slice(o[0].length,-1)):r=e.slice(1,-1),!r||r==='=""')return;r.startsWith("--")&&(r=`var(${r})`);let i=0;for(let a of r)if(a==="[")i+=1;else if(a==="]"&&(i-=1,i<0))return;if(i)return;switch(n){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,a=>a.replace(/_/g,"\\_")).replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_").replace(/(?:calc|clamp|max|min)\((.*)/g,a=>{let s=[];return a.replace(/var\((--.+?)[,)]/g,(c,u)=>(s.push(u),c.replace(u,"--un-calc"))).replace(/(-?\d*\.?\d(?!-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 ").replace(/--un-calc/g,()=>s.shift())})}}function xu(e){return Gt(e)}function yu(e){return Gt(e,"color")}function $u(e){return Gt(e,"length")}function vu(e){return Gt(e,"position")}function ku(e){if(/^\$[^\s'"`;{}]/.test(e)){let[t,r]=e.slice(1).split(",");return`var(--${B(t)}${r?`, ${r}`:""})`}}function wu(e){let t=e.match(/^(-?[0-9.]+)(s|ms)?$/i);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0&&!n?"0s":n?`${G(o)}${n}`:`${G(o)}ms`}function Su(e){let t=e.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0deg":n?`${G(o)}${n}`:`${G(o)}deg`}function Cu(e){if(S.includes(e))return e}function Ru(e){if(e.split(",").every(t=>fu.includes(t)))return e}function zu(e){if(["top","left","right","bottom","center"].includes(e))return e}var os={__proto__:null,auto:pu,bracket:xu,bracketOfColor:yu,bracketOfLength:$u,bracketOfPosition:vu,cssvar:ku,degree:Su,fraction:bu,global:Cu,number:hu,numberWithUnit:uu,percent:gu,position:zu,properties:Ru,px:mu,rem:du,time:wu},is=St(os),l=is,yn="$$mini-no-negative";function R(e){return([t,r,n],{theme:o})=>{let i=o.spacing?.[n||"DEFAULT"]??l.bracket.cssvar.global.auto.fraction.rem(n);if(i!=null)return M[r].map(a=>[`${e}${a}`,i]);if(n?.startsWith("-")){let a=o.spacing?.[n.slice(1)];if(a!=null)return M[r].map(s=>[`${e}${s}`,`calc(${a} * -1)`])}}}function Xa(e,t,r="colors"){let n=e[r],o=-1;for(let i of t){if(o+=1,n&&typeof n!="string"){let a=t.slice(o).join("-").replace(/(-[a-z])/g,s=>s.slice(1).toUpperCase());if(n[a])return n[a];if(n[i]){n=n[i];continue}}return}return n}function Ya(e,t,r){return Xa(e,t,r)||Xa(e,t,"colors")}function Ht(e,t){let[r,n]=X(e,"[","]",["/",":"])??[];if(r!=null){let o=(r.match(ns)??[])[1];if(o==null||o===t)return[r,n]}}function me(e,t,r){let n=Ht(e,"color");if(!n)return;let[o,i]=n,a=o.replace(/([a-z])(\d)/g,"$1-$2").split(/-/g),[s]=a;if(!s)return;let c,u=l.bracketOfColor(o),d=u||o;if(l.numberWithUnit(d))return;if(/^#[\da-f]+$/i.test(d)?c=d:/^hex-[\da-fA-F]+$/.test(d)?c=`#${d.slice(4)}`:o.startsWith("$")&&(c=l.cssvar(o)),c=c||u,!c){let g=Ya(t,[o],r);typeof g=="string"&&(c=g)}let h="DEFAULT";if(!c){let g=a,m,[p]=a.slice(-1);/^\d+$/.test(p)&&(h=m=p,g=a.slice(0,-1));let x=Ya(t,g,r);typeof x=="object"?c=x[m??h]:typeof x=="string"&&!m&&(c=x)}return{opacity:i,name:s,no:h,color:c,cssColor:W(c),alpha:l.bracket.cssvar.percent(i??"")}}function j(e,t,r,n){return([,o],{theme:i,generator:a})=>{let s=me(o??"",i,r);if(!s)return;let{alpha:c,color:u,cssColor:d}=s,g=a.config.envMode==="dev"&&u?` /* ${u} */`:"",m={};if(d)if(c!=null)m[e]=v(d,c)+g;else{let p=`--un-${t}-opacity`,x=v(d,`var(${p})`);x.includes(p)&&(m[p]=N(d)),m[e]=x+g}else if(u)if(c!=null)m[e]=v(u,c)+g;else{let p=`--un-${t}-opacity`,x=v(u,`var(${p})`);x.includes(p)&&(m[p]=1),m[e]=x+g}if(n?.(m)!==!1)return m}}function he(e,t){let r=[];e=E(e);for(let n=0;n<e.length;n++){let o=se(e[n]," ",6);if(!o||o.length<3)return e;let i=!1,a=o.indexOf("inset");a!==-1&&(o.splice(a,1),i=!0);let s="",c=o.at(-1);if(W(o.at(0))){let u=W(o.shift());u&&(s=`, ${v(u)}`)}else if(W(c)){let u=W(o.pop());u&&(s=`, ${v(u)}`)}else c&&qt.test(c)&&(s=`, ${o.pop()}`);r.push(`${i?"inset ":""}${o.join(" ")} var(${t}${s})`)}return r}function ge(e,t,r){return e!=null&&!!me(e,t,r)?.color}var Za=/[a-z]+/gi,xn=new WeakMap;function ce({theme:e,generator:t},r="breakpoints"){let n=t?.userConfig?.theme?.[r]||e[r];if(!n)return;if(xn.has(e))return xn.get(e);let o=Object.entries(n).sort((i,a)=>Number.parseInt(i[1].replace(Za,""))-Number.parseInt(a[1].replace(Za,""))).map(([i,a])=>({point:i,size:a}));return xn.set(e,o),o}function b(e,t){return S.map(r=>[`${e}-${r}`,{[t??e]:r}])}function oe(e){return e!=null&&De.test(e)}function $n(e){return e[0]==="["&&e.slice(-1)==="]"&&(e=e.slice(1,-1)),De.test(e)||Kt.test(e)}function Ne(e,t,r){let n=t.split(lu);return e||!e&&n.length===1?Ja[e].map(o=>[`--un-${r}${o}`,t]):n.map((o,i)=>[`--un-${r}-${Qa[i]}`,o])}var as=[[/^(?:animate-)?keyframes-(.+)$/,([,e],{theme:t})=>{let r=t.animation?.keyframes?.[e];if(r)return[`@keyframes ${e}${r}`,{animation:e}]},{autocomplete:["animate-keyframes-$animation.keyframes","keyframes-$animation.keyframes"]}],[/^animate-(.+)$/,([,e],{theme:t})=>{let r=t.animation?.keyframes?.[e];if(r){let n=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}${r}`,{animation:`${e} ${n} ${o} ${i}`,...a}]}return{animation:l.bracket.cssvar(e)}},{autocomplete:"animate-$animation.keyframes"}],[/^animate-name-(.+)/,([,e])=>({"animation-name":l.bracket.cssvar(e)??e})],[/^animate-duration-(.+)$/,([,e],{theme:t})=>({"animation-duration":t.duration?.[e||"DEFAULT"]??l.bracket.cssvar.time(e)}),{autocomplete:["animate-duration","animate-duration-$duration"]}],[/^animate-delay-(.+)$/,([,e],{theme:t})=>({"animation-delay":t.duration?.[e||"DEFAULT"]??l.bracket.cssvar.time(e)}),{autocomplete:["animate-delay","animate-delay-$duration"]}],[/^animate-ease(?:-(.+))?$/,([,e],{theme:t})=>({"animation-timing-function":t.easing?.[e||"DEFAULT"]??l.bracket.cssvar(e)}),{autocomplete:["animate-ease","animate-ease-$easing"]}],[/^animate-(fill-mode-|fill-|mode-)?(.+)$/,([,e,t])=>["none","forwards","backwards","both",e?S:[]].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?S:[]].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":l.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?S:[]].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"}],...b("animate","animation")];function ss(e){return e?v(e,0):"rgb(255 255 255 / 0)"}function ju(e,t,r,n){return t?n!=null?v(t,n):v(t,`var(--un-${e}-opacity, ${N(t)})`):v(r,n)}function vn(){return([,e,t],{theme:r})=>{let n=me(t,r,"backgroundColor");if(!n)return;let{alpha:o,color:i,cssColor:a}=n;if(!i)return;let s=ju(e,a,i,o);switch(e){case"from":return{"--un-gradient-from-position":"0%","--un-gradient-from":`${s} var(--un-gradient-from-position)`,"--un-gradient-to-position":"100%","--un-gradient-to":`${ss(a)} var(--un-gradient-to-position)`,"--un-gradient-stops":"var(--un-gradient-from), var(--un-gradient-to)"};case"via":return{"--un-gradient-via-position":"50%","--un-gradient-to":ss(a),"--un-gradient-stops":`var(--un-gradient-from), ${s} var(--un-gradient-via-position), var(--un-gradient-to)`};case"to":return{"--un-gradient-to-position":"100%","--un-gradient-to":`${s} var(--un-gradient-to-position)`}}}}function Eu(){return([,e,t])=>({[`--un-gradient-${e}-position`]:`${Number(l.bracket.cssvar.percent(t))*100}%`})}var cs=[[/^bg-gradient-(.+)$/,([,e])=>({"--un-gradient":l.bracket(e)}),{autocomplete:["bg-gradient","bg-gradient-(from|to|via)","bg-gradient-(from|to|via)-$colors","bg-gradient-(from|to|via)-(op|opacity)","bg-gradient-(from|to|via)-(op|opacity)-<percent>"]}],[/^(?:bg-gradient-)?stops-(\[.+\])$/,([,e])=>({"--un-gradient-stops":l.bracket(e)})],[/^(?:bg-gradient-)?(from)-(.+)$/,vn()],[/^(?:bg-gradient-)?(via)-(.+)$/,vn()],[/^(?:bg-gradient-)?(to)-(.+)$/,vn()],[/^(?:bg-gradient-)?(from|via|to)-op(?:acity)?-?(.+)$/,([,e,t])=>({[`--un-${e}-opacity`]:l.bracket.percent(t)})],[/^(from|via|to)-([\d.]+)%$/,Eu()],[/^bg-gradient-((?: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-to-([rltb]{1,2})$/,([,e])=>{if(e in F)return{"--un-gradient-shape":`to ${F[e]} in oklch`,"--un-gradient":"var(--un-gradient-shape), var(--un-gradient-stops)","background-image":"linear-gradient(var(--un-gradient))"}},{autocomplete:`bg-gradient-to-(${Object.keys(F).filter(e=>e.length<=2&&Array.from(e).every(t=>"rltb".includes(t))).join("|")})`}],[/^(?:bg-gradient-)?shape-(.+)$/,([,e])=>{let t=e in F?`to ${F[e]}`:l.bracket(e);if(t!=null)return{"--un-gradient-shape":`${t} in oklch`,"--un-gradient":"var(--un-gradient-shape), var(--un-gradient-stops)"}},{autocomplete:["bg-gradient-shape",`bg-gradient-shape-(${Object.keys(F).join("|")})`,`shape-(${Object.keys(F).join("|")})`]}],["bg-none",{"background-image":"none"}],["box-decoration-slice",{"box-decoration-break":"slice"}],["box-decoration-clone",{"box-decoration-break":"clone"}],...b("box-decoration","box-decoration-break"),["bg-auto",{"background-size":"auto"}],["bg-cover",{"background-size":"cover"}],["bg-contain",{"background-size":"contain"}],["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"}],...S.map(e=>[`bg-clip-${e}`,{"-webkit-background-clip":e,"background-clip":e}]),[/^bg-([-\w]{3,})$/,([,e])=>({"background-position":F[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"}],...b("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"}],...b("bg-origin","background-origin")];var kn={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"},ls=[[/^list-(.+?)(?:-(outside|inside))?$/,([,e,t])=>{let r=kn[e];if(r)return t?{"list-style-position":t,"list-style-type":r}:{"list-style-type":r}},{autocomplete:[`list-(${Object.keys(kn).join("|")})`,`list-(${Object.keys(kn).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":l.bracket(e)}}],["list-image-none",{"list-style-image":"none"}],...b("list","list-style-type")],fs=[[/^accent-(.+)$/,j("accent-color","accent","accentColor"),{autocomplete:"accent-$colors"}],[/^accent-op(?:acity)?-?(.+)$/,([,e])=>({"--un-accent-opacity":l.bracket.percent(e)}),{autocomplete:["accent-(op|opacity)","accent-(op|opacity)-<percent>"]}]],us=[[/^caret-(.+)$/,j("caret-color","caret","textColor"),{autocomplete:"caret-$colors"}],[/^caret-op(?:acity)?-?(.+)$/,([,e])=>({"--un-caret-opacity":l.bracket.percent(e)}),{autocomplete:["caret-(op|opacity)","caret-(op|opacity)-<percent>"]}]],ps=[["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"]]]],ds=[["overscroll-auto",{"overscroll-behavior":"auto"}],["overscroll-contain",{"overscroll-behavior":"contain"}],["overscroll-none",{"overscroll-behavior":"none"}],...b("overscroll","overscroll-behavior"),["overscroll-x-auto",{"overscroll-behavior-x":"auto"}],["overscroll-x-contain",{"overscroll-behavior-x":"contain"}],["overscroll-x-none",{"overscroll-behavior-x":"none"}],...b("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"}],...b("overscroll-y","overscroll-behavior-y")],ms=[["scroll-auto",{"scroll-behavior":"auto"}],["scroll-smooth",{"scroll-behavior":"smooth"}],...b("scroll","scroll-behavior")];var hs=[[/^columns-(.+)$/,([,e])=>({columns:l.bracket.global.number.auto.numberWithUnit(e)}),{autocomplete:"columns-<num>"}],["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"}],...b("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"}],...b("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"}],...b("break-after")];var Tu=/@media \(min-width: (.+)\)/,gs=[[/^__container$/,(e,t)=>{let{theme:r,variantHandlers:n}=t,o=r.container?.padding,i;ye(o)?i=o:i=o?.DEFAULT;let a=r.container?.maxWidth,s;for(let u of n){let d=u.handle?.({},h=>h)?.parent;if(ye(d)){let h=d.match(Tu)?.[1];if(h){let m=(ce(t)??[]).find(p=>p.size===h)?.point;a?m&&(s=a?.[m]):s=h,m&&!ye(o)&&(i=o?.[m]??i)}}}let c={"max-width":s};return n.length||(c.width="100%"),r.container?.center&&(c["margin-left"]="auto",c["margin-right"]="auto"),o&&(c["padding-left"]=i,c["padding-right"]=i),c},{internal:!0}]],bs=[[/^(?:(\w+)[:-])?container$/,([,e],t)=>{let r=(ce(t)??[]).map(o=>o.point);if(e){if(!r.includes(e))return;r=r.slice(r.indexOf(e))}let n=r.map(o=>`${o}:__container`);return e||n.unshift("__container"),n}]];var Ou=["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"],Au=["none","strict","content","size","inline-size","layout","style","paint"],$=" ",qe=[["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:l.bracket.cssvar.global(e)})]],Ke=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}],...b("backface","backface-visibility")],Ge=[[/^cursor-(.+)$/,([,e])=>({cursor:l.bracket.cssvar.global(e)})],...Ou.map(e=>[`cursor-${e}`,{cursor:e}])],He=[[/^contain-(.*)$/,([,e])=>l.bracket(e)!=null?{contain:l.bracket(e).split(" ").map(t=>l.cssvar.fraction(t)??t).join(" ")}:Au.includes(e)?{contain:e}:void 0]],Xe=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}],...b("pointer-events")],Ye=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}],...b("resize")],Ze=[["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"}],...b("select","user-select")],Je=[[/^(?:whitespace-|ws-)([-\w]+)$/,([,e])=>["normal","nowrap","pre","pre-line","pre-wrap","break-spaces",...S].includes(e)?{"white-space":e}:void 0,{autocomplete:"(whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)"}]],Qe=[[/^intrinsic-size-(.+)$/,([,e])=>({"contain-intrinsic-size":l.bracket.cssvar.global.fraction.rem(e)}),{autocomplete:"intrinsic-size-<num>"}],["content-visibility-visible",{"content-visibility":"visible"}],["content-visibility-hidden",{"content-visibility":"hidden"}],["content-visibility-auto",{"content-visibility":"auto"}],...b("content-visibility")],et=[[/^content-(.+)$/,([,e])=>({content:l.bracket.cssvar(e)})],["content-empty",{content:'""'}],["content-none",{content:"none"}]],tt=[["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"}]],rt=[["text-wrap",{"text-wrap":"wrap"}],["text-nowrap",{"text-wrap":"nowrap"}],["text-balance",{"text-wrap":"balance"}],["text-pretty",{"text-wrap":"pretty"}]],nt=[["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"}]],ot=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}],...b("case","text-transform")],it=[["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"}]],at=[["antialiased",{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"}],["subpixel-antialiased",{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"}]],st=[["field-sizing-fixed",{"field-sizing":"fixed"}],["field-sizing-content",{"field-sizing":"content"}]],ze={"--un-ring-inset":$,"--un-ring-offset-width":"0px","--un-ring-offset-color":"#fff","--un-ring-width":"0px","--un-ring-color":"rgb(147 197 253 / 0.5)","--un-shadow":"0 0 rgb(0 0 0 / 0)"},Pu=Object.keys(ze),ct=[[/^ring(?:-(.+))?$/,([,e],{theme:t})=>{let r=t.ringWidth?.[e||"DEFAULT"]??l.px(e||"1");if(r)return{"--un-ring-width":r,"--un-ring-offset-shadow":"var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color)","--un-ring-shadow":"var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color)","box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"}},{custom:{preflightKeys:Pu},autocomplete:"ring-$ringWidth"}],[/^ring-(?:width-|size-)(.+)$/,ks,{autocomplete:"ring-(width|size)-$lineWidth"}],["ring-offset",{"--un-ring-offset-width":"1px"}],[/^ring-offset-(?:width-|size-)?(.+)$/,([,e],{theme:t})=>({"--un-ring-offset-width":t.lineWidth?.[e]??l.bracket.cssvar.px(e)}),{autocomplete:"ring-offset-(width|size)-$lineWidth"}],[/^ring-(.+)$/,Vu,{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-opacity":l.bracket.percent.cssvar(e)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^ring-offset-(.+)$/,j("--un-ring-offset-color","ring-offset","borderColor"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-offset-opacity":l.bracket.percent.cssvar(e)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]];function ks([,e],{theme:t}){return{"--un-ring-width":t.ringWidth?.[e]??l.bracket.cssvar.px(e)}}function Vu(e,t){return oe(l.bracket(e[1]))?ks(e,t):j("--un-ring-color","ring","borderColor")(e,t)}var je={"--un-ring-offset-shadow":"0 0 rgb(0 0 0 / 0)","--un-ring-shadow":"0 0 rgb(0 0 0 / 0)","--un-shadow-inset":$,"--un-shadow":"0 0 rgb(0 0 0 / 0)"},Fu=Object.keys(je),lt=[[/^shadow(?:-(.+))?$/,(e,t)=>{let[,r]=e,{theme:n}=t,o=n.boxShadow?.[r||"DEFAULT"],i=r?l.bracket.cssvar(r):void 0;return(o!=null||i!=null)&&!ge(i,n,"shadowColor")?{"--un-shadow":he(o||i,"--un-shadow-color").join(","),"box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"}:j("--un-shadow-color","shadow","shadowColor")(e,t)},{custom:{preflightKeys:Fu},autocomplete:["shadow-$colors","shadow-$boxShadow"]}],[/^shadow-op(?:acity)?-?(.+)$/,([,e])=>({"--un-shadow-opacity":l.bracket.percent.cssvar(e)}),{autocomplete:"shadow-(op|opacity)-<percent>"}],["shadow-inset",{"--un-shadow-inset":"inset"}]],Xt=["translate","rotate","scale"],Wu=["translateX(var(--un-translate-x))","translateY(var(--un-translate-y))","rotate(var(--un-rotate))","rotateZ(var(--un-rotate-z))","skewX(var(--un-skew-x))","skewY(var(--un-skew-y))","scaleX(var(--un-scale-x))","scaleY(var(--un-scale-y))"].join(" "),Re=["translateX(var(--un-translate-x))","translateY(var(--un-translate-y))","translateZ(var(--un-translate-z))","rotate(var(--un-rotate))","rotateX(var(--un-rotate-x))","rotateY(var(--un-rotate-y))","rotateZ(var(--un-rotate-z))","skewX(var(--un-skew-x))","skewY(var(--un-skew-y))","scaleX(var(--un-scale-x))","scaleY(var(--un-scale-y))","scaleZ(var(--un-scale-z))"].join(" "),_u=["translate3d(var(--un-translate-x), var(--un-translate-y), var(--un-translate-z))","rotate(var(--un-rotate))","rotateX(var(--un-rotate-x))","rotateY(var(--un-rotate-y))","rotateZ(var(--un-rotate-z))","skewX(var(--un-skew-x))","skewY(var(--un-skew-y))","scaleX(var(--un-scale-x))","scaleY(var(--un-scale-y))","scaleZ(var(--un-scale-z))"].join(" "),Ee={"--un-rotate":0,"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-scale-x":1,"--un-scale-y":1,"--un-scale-z":1,"--un-skew-x":0,"--un-skew-y":0,"--un-translate-x":0,"--un-translate-y":0,"--un-translate-z":0},ee=Object.keys(Ee),ft=[[/^(?:transform-)?origin-(.+)$/,([,e])=>({"transform-origin":F[e]??l.bracket.cssvar(e)}),{autocomplete:[`transform-origin-(${Object.keys(F).join("|")})`,`origin-(${Object.keys(F).join("|")})`]}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,e])=>{let t=l.bracket.cssvar.px.numberWithUnit(e);if(t!=null)return{"-webkit-perspective":t,perspective:t}}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,e])=>{let t=l.bracket.cssvar(e)??(e.length>=3?F[e]:void 0);if(t!=null)return{"-webkit-perspective-origin":t,"perspective-origin":t}}],[/^(?:transform-)?translate-()(.+)$/,xs,{custom:{preflightKeys:ee}}],[/^(?:transform-)?translate-([xyz])-(.+)$/,xs,{custom:{preflightKeys:ee}}],[/^(?:transform-)?rotate-()(.+)$/,$s,{custom:{preflightKeys:ee}}],[/^(?:transform-)?rotate-([xyz])-(.+)$/,$s,{custom:{preflightKeys:ee}}],[/^(?:transform-)?skew-()(.+)$/,vs,{custom:{preflightKeys:ee}}],[/^(?:transform-)?skew-([xy])-(.+)$/,vs,{custom:{preflightKeys:ee},autocomplete:["transform-skew-(x|y)-<percent>","skew-(x|y)-<percent>"]}],[/^(?:transform-)?scale-()(.+)$/,ys,{custom:{preflightKeys:ee}}],[/^(?:transform-)?scale-([xyz])-(.+)$/,ys,{custom:{preflightKeys:ee},autocomplete:[`transform-(${Xt.join("|")})-<percent>`,`transform-(${Xt.join("|")})-(x|y|z)-<percent>`,`(${Xt.join("|")})-<percent>`,`(${Xt.join("|")})-(x|y|z)-<percent>`]}],[/^(?:transform-)?preserve-3d$/,()=>({"transform-style":"preserve-3d"})],[/^(?:transform-)?preserve-flat$/,()=>({"transform-style":"flat"})],["transform",{transform:Re},{custom:{preflightKeys:ee}}],["transform-cpu",{transform:Wu},{custom:{preflightKeys:["--un-translate-x","--un-translate-y","--un-rotate","--un-rotate-z","--un-skew-x","--un-skew-y","--un-scale-x","--un-scale-y"]}}],["transform-gpu",{transform:_u},{custom:{preflightKeys:ee}}],["transform-none",{transform:"none"}],...b("transform")];function xs([,e,t],{theme:r}){let n=r.spacing?.[t]??l.bracket.cssvar.fraction.rem(t);if(n!=null)return[...Ne(e,n,"translate"),["transform",Re]]}function ys([,e,t]){let r=l.bracket.cssvar.fraction.percent(t);if(r!=null)return[...Ne(e,r,"scale"),["transform",Re]]}function $s([,e="",t]){let r=l.bracket.cssvar.degree(t);if(r!=null)return e?{"--un-rotate":0,[`--un-rotate-${e}`]:r,transform:Re}:{"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-rotate":r,transform:Re}}function vs([,e,t]){let r=l.bracket.cssvar.degree(t);if(r!=null)return[...Ne(e,r,"skew"),["transform",Re]]}var ws={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(S.map(e=>[e,e]))},Jt=[[/^(?:vertical|align|v)-(.+)$/,([,e])=>({"vertical-align":ws[e]??l.bracket.cssvar.numberWithUnit(e)}),{autocomplete:[`(vertical|align|v)-(${Object.keys(ws).join("|")})`,"(vertical|align|v)-<percentage>"]}]],Ss=["center","left","right","justify","start","end"],Qt=[...Ss.map(e=>[`text-${e}`,{"text-align":e}]),...[...S,...Ss].map(e=>[`text-align-${e}`,{"text-align":e}])],er=[[/^outline-(?:width-|size-)?(.+)$/,Es,{autocomplete:"outline-(width|size)-<num>"}],[/^outline-(?:color-)?(.+)$/,Mu,{autocomplete:"outline-$colors"}],[/^outline-offset-(.+)$/,([,e],{theme:t})=>({"outline-offset":t.lineWidth?.[e]??l.bracket.cssvar.global.px(e)}),{autocomplete:"outline-(offset)-<num>"}],["outline",{"outline-style":"solid"}],...["auto","dashed","dotted","double","hidden","solid","groove","ridge","inset","outset",...S].map(e=>[`outline-${e}`,{"outline-style":e}]),["outline-none",{outline:"2px solid transparent","outline-offset":"2px"}]];function Es([,e],{theme:t}){return{"outline-width":t.lineWidth?.[e]??l.bracket.cssvar.global.px(e)}}function Mu(e,t){return oe(l.bracket(e[1]))?Es(e,t):j("outline-color","outline-color","borderColor")(e,t)}var tr=[["appearance-auto",{"-webkit-appearance":"auto",appearance:"auto"}],["appearance-none",{"-webkit-appearance":"none",appearance:"none"}]];function Lu(e){return l.properties.auto.global(e)??{contents:"contents",scroll:"scroll-position"}[e]}var rr=[[/^will-change-(.+)/,([,e])=>({"will-change":Lu(e)})]],le=["solid","dashed","dotted","double","hidden","none","groove","ridge","inset","outset",...S],nr=[[/^(?:border|b)()(?:-(.+))?$/,Z,{autocomplete:"(border|b)-<directions>"}],[/^(?:border|b)-([xy])(?:-(.+))?$/,Z],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,Z],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,Z],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,Z],[/^(?:border|b)-()(?:width|size)-(.+)$/,Z,{autocomplete:["(border|b)-<num>","(border|b)-<directions>-<num>"]}],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,Z],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,Z],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,Z],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,Z],[/^(?:border|b)-()(?:color-)?(.+)$/,ut,{autocomplete:["(border|b)-$colors","(border|b)-<directions>-$colors"]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,ut],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,ut],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,ut],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,ut],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,pt,{autocomplete:"(border|b)-(op|opacity)-<percent>"}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,pt],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,pt],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,pt],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,pt],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,dt,{autocomplete:["(border|b)-(rounded|rd)","(border|b)-(rounded|rd)-$borderRadius","(rounded|rd)","(rounded|rd)-$borderRadius"]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltbse])(?:-(.+))?$/,dt],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,dt],[/^(?:border-|b-)?(?:rounded|rd)-([bise][se])(?:-(.+))?$/,dt],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,dt],[/^(?:border|b)-(?:style-)?()(.+)$/,Te,{autocomplete:["(border|b)-style",`(border|b)-(${le.join("|")})`,"(border|b)-<directions>-style",`(border|b)-<directions>-(${le.join("|")})`,`(border|b)-<directions>-style-(${le.join("|")})`,`(border|b)-style-(${le.join("|")})`]}],[/^(?:border|b)-([xy])-(?:style-)?(.+)$/,Te],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,Te],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,Te],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,Te]];function Cs(e,t,r){if(t!=null)return{[`border${r}-color`]:v(e,t)};if(r===""){let n={},o="--un-border-opacity",i=v(e,`var(${o})`);return i.includes(o)&&(n[o]=typeof e=="string"?1:N(e)),n["border-color"]=i,n}else{let n={},o="--un-border-opacity",i=`--un-border${r}-opacity`,a=v(e,`var(${i})`);return a.includes(i)&&(n[o]=typeof e=="string"?1:N(e),n[i]=`var(${o})`),n[`border${r}-color`]=a,n}}function Bu(e){return([,t],r)=>{let n=me(t,r,"borderColor");if(!n)return;let{alpha:o,color:i,cssColor:a}=n;if(a)return Cs(a,o,e);if(i)return Cs(i,o,e)}}function Z([,e="",t],{theme:r}){let n=r.lineWidth?.[t||"DEFAULT"]??l.bracket.cssvar.global.px(t||"1");if(e in M&&n!=null)return M[e].map(o=>[`border${o}-width`,n])}function ut([,e="",t],r){if(e in M){if(oe(l.bracket(t)))return Z(["",e,t],r);if(ge(t,r.theme,"borderColor"))return Object.assign({},...M[e].map(n=>Bu(n)(["",t],r.theme)))}}function pt([,e="",t]){let r=l.bracket.percent.cssvar(t);if(e in M&&r!=null)return M[e].map(n=>[`--un-border${n}-opacity`,r])}function dt([,e="",t],{theme:r}){let n=r.borderRadius?.[t||"DEFAULT"]||l.bracket.cssvar.global.fraction.rem(t||"1");if(e in Nt&&n!=null)return Nt[e].map(o=>[`border${o}-radius`,n])}function Te([,e="",t]){if(le.includes(t)&&e in M)return M[e].map(r=>[`border${r}-style`,t])}var or=[[/^op(?:acity)?-?(.+)$/,([,e])=>({opacity:l.bracket.percent.cssvar(e)})]],Uu=/^\[url\(.+\)\]$/,Iu=/^\[(?:length|size):.+\]$/,Du=/^\[position:.+\]$/,Nu=/^\[(?:linear|conic|radial)-gradient\(.+\)\]$/,qu=/^\[image:.+\]$/,ir=[[/^bg-(.+)$/,(...e)=>{let t=e[0][1];if(Uu.test(t))return{"--un-url":l.bracket(t),"background-image":"var(--un-url)"};if(Iu.test(t)&&l.bracketOfLength(t)!=null)return{"background-size":l.bracketOfLength(t).split(" ").map(r=>l.fraction.auto.px.cssvar(r)??r).join(" ")};if(($n(t)||Du.test(t))&&l.bracketOfPosition(t)!=null)return{"background-position":l.bracketOfPosition(t).split(" ").map(r=>l.position.fraction.auto.px.cssvar(r)??r).join(" ")};if(Nu.test(t)||qu.test(t)){let r=l.bracket(t);if(r)return{"background-image":(r.startsWith("http")?`url(${r})`:l.cssvar(r))??r}}return j("background-color","bg","backgroundColor")(...e)},{autocomplete:"bg-$colors"}],[/^bg-op(?:acity)?-?(.+)$/,([,e])=>({"--un-bg-opacity":l.bracket.percent.cssvar(e)}),{autocomplete:"bg-(op|opacity)-<percent>"}]],ar=[[/^color-scheme-(\w+)$/,([,e])=>({"color-scheme":e})]],sr=[[/^@container(?:\/(\w+))?(?:-(normal|inline-size|size))?$/,([,e,t])=>({"container-type":t??"inline-size","container-name":e})]],Rs=["solid","double","dotted","dashed","wavy",...S],cr=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,e])=>({"text-decoration-line":e}),{autocomplete:"decoration-(underline|overline|line-through)"}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,Ts,{autocomplete:"(underline|decoration)-<num>"}],[/^(?:underline|decoration)-(auto|from-font)$/,([,e])=>({"text-decoration-thickness":e}),{autocomplete:"(underline|decoration)-(auto|from-font)"}],[/^(?:underline|decoration)-(.+)$/,Ku,{autocomplete:"(underline|decoration)-$colors"}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-line-opacity":l.bracket.percent.cssvar(e)}),{autocomplete:"(underline|decoration)-(op|opacity)-<percent>"}],[/^(?:underline|decoration)-offset-(.+)$/,([,e],{theme:t})=>({"text-underline-offset":t.lineWidth?.[e]??l.auto.bracket.cssvar.global.px(e)}),{autocomplete:"(underline|decoration)-(offset)-<num>"}],...Rs.map(e=>[`underline-${e}`,{"text-decoration-style":e}]),...Rs.map(e=>[`decoration-${e}`,{"text-decoration-style":e}]),["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];function Ts([,e],{theme:t}){return{"text-decoration-thickness":t.lineWidth?.[e]??l.bracket.cssvar.global.px(e)}}function Ku(e,t){if(oe(l.bracket(e[1])))return Ts(e,t);let r=j("text-decoration-color","line","borderColor")(e,t);if(r)return{"-webkit-text-decoration-color":r["text-decoration-color"],...r}}var lr=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],[/^flex-(.*)$/,([,e])=>({flex:l.bracket(e)!=null?l.bracket(e).split(" ").map(t=>l.cssvar.fraction(t)??t).join(" "):l.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":l.bracket.cssvar.number(e)??1}),{autocomplete:["flex-shrink-<num>","shrink-<num>"]}],[/^(?:flex-)?grow(?:-(.*))?$/,([,e=""])=>({"flex-grow":l.bracket.cssvar.number(e)??1}),{autocomplete:["flex-grow-<num>","grow-<num>"]}],[/^(?:flex-)?basis-(.+)$/,([,e],{theme:t})=>({"flex-basis":t.spacing?.[e]??l.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"}]],Gu={"":"",x:"column-",y:"row-",col:"column-",row:"row-"};function wn([,e="",t],{theme:r}){let n=r.spacing?.[t]??l.bracket.cssvar.global.rem(t);if(n!=null)return{[`${Gu[e]}gap`]:n}}var fr=[[/^(?:flex-|grid-)?gap-?()(.+)$/,wn,{autocomplete:["gap-$spacing","gap-<num>"]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,wn,{autocomplete:["gap-(x|y)-$spacing","gap-(x|y)-<num>"]}],[/^(?:flex-|grid-)?gap-(col|row)-?(.+)$/,wn,{autocomplete:["gap-(col|row)-$spacing","gap-(col|row)-<num>"]}]];function te(e){return e.replace("col","column")}function Sn(e){return e[0]==="r"?"Row":"Column"}function Hu(e,t,r){let n=t[`gridAuto${Sn(e)}`]?.[r];if(n!=null)return n;switch(r){case"min":return"min-content";case"max":return"max-content";case"fr":return"minmax(0,1fr)"}return l.bracket.cssvar.auto.rem(r)}var ur=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,e,t],{theme:r})=>({[`grid-${te(e)}`]:r[`grid${Sn(e)}`]?.[t]??l.bracket.cssvar.auto(t)})],[/^(?:grid-)?(row|col)-span-(.+)$/,([,e,t])=>{if(t==="full")return{[`grid-${te(e)}`]:"1/-1"};let r=l.bracket.number(t);if(r!=null)return{[`grid-${te(e)}`]:`span ${r}/span ${r}`}},{autocomplete:"(grid-row|grid-col|row|col)-span-<num>"}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,e,t])=>({[`grid-${te(e)}-start`]:l.bracket.cssvar(t)??t})],[/^(?:grid-)?(row|col)-end-(.+)$/,([,e,t])=>({[`grid-${te(e)}-end`]:l.bracket.cssvar(t)??t}),{autocomplete:"(grid-row|grid-col|row|col)-(start|end)-<num>"}],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,e,t],{theme:r})=>({[`grid-auto-${te(e)}`]:Hu(e,r,t)}),{autocomplete:"(grid-auto|auto)-(rows|cols)-<num>"}],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,e])=>({"grid-auto-flow":l.bracket.cssvar(e)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)$/,([,e])=>({"grid-auto-flow":te(e).replace("-"," ")}),{autocomplete:["(grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)"]}],[/^(?:grid-)?(rows|cols)-(.+)$/,([,e,t],{theme:r})=>({[`grid-template-${te(e)}`]:r[`gridTemplate${Sn(e)}`]?.[t]??l.bracket.cssvar(t)})],[/^(?:grid-)?(rows|cols)-minmax-([\w.-]+)$/,([,e,t])=>({[`grid-template-${te(e)}`]:`repeat(auto-fill,minmax(${t},1fr))`})],[/^(?:grid-)?(rows|cols)-(\d+)$/,([,e,t])=>({[`grid-template-${te(e)}`]:`repeat(${t},minmax(0,1fr))`}),{autocomplete:"(grid-rows|grid-cols|rows|cols)-<num>"}],[/^grid-area(s)?-(.+)$/,([,e,t])=>e!=null?{"grid-template-areas":l.cssvar(t)??t.split("-").map(r=>`"${l.bracket(r)}"`).join(" ")}:{"grid-area":l.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"}]],Yt=["auto","hidden","clip","visible","scroll","overlay",...S],pr=[[/^(?:overflow|of)-(.+)$/,([,e])=>Yt.includes(e)?{overflow:e}:void 0,{autocomplete:[`(overflow|of)-(${Yt.join("|")})`,`(overflow|of)-(x|y)-(${Yt.join("|")})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,e,t])=>Yt.includes(t)?{[`overflow-${e}`]:t}:void 0]],dr=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,e])=>({position:e}),{autocomplete:["(position|pos)-<position>","(position|pos)-<globalKeyword>","<position>"]}],[/^(?:position-|pos-)([-\w]+)$/,([,e])=>S.includes(e)?{position:e}:void 0],[/^(?:position-|pos-)?(static)$/,([,e])=>({position:e})]],ht=[["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"}],...b("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"}],...b("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"}],...b("justify-self")],mr=[[/^order-(.+)$/,([,e])=>({order:l.bracket.cssvar.number(e)})],["order-first",{order:"-9999"}],["order-last",{order:"9999"}],["order-none",{order:"0"}]],gt=[["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"}],...b("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"}],...b("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"}],...b("self","align-self")],bt=[["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"}],...b("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"}],...b("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"}],...b("place-self")],hr=[...ht,...gt,...bt].flatMap(([e,t])=>[[`flex-${e}`,t],[`grid-${e}`,t]]);function Cn(e,{theme:t}){return t.spacing?.[e]??l.bracket.cssvar.global.auto.fraction.rem(e)}function mt([,e,t],r){let n=Cn(t,r);if(n!=null&&e in Dt)return Dt[e].map(o=>[o.slice(1),n])}var gr=[[/^(?:position-|pos-)?inset-(.+)$/,([,e],t)=>({inset:Cn(e,t)}),{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)-(.+)$/,mt],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,mt],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,mt],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,mt],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,mt],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,e,t],r)=>({[e]:Cn(t,r)})]],br=[["float-left",{float:"left"}],["float-right",{float:"right"}],["float-start",{float:"inline-start"}],["float-end",{float:"inline-end"}],["float-none",{float:"none"}],...b("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"}],...b("clear")],xr=[[/^(?:position-|pos-)?z([\d.]+)$/,([,e])=>({"z-index":l.number(e)})],[/^(?:position-|pos-)?z-(.+)$/,([,e],{theme:t})=>({"z-index":t.zIndex?.[e]??l.bracket.cssvar.global.auto.number(e)}),{autocomplete:"z-<num>"}]],yr=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}],...b("box","box-sizing")],$r=[[/^(where|\?)$/,(e,{constructCSS:t,generator:r})=>{if(r.userConfig.envMode==="dev")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"})}`}]],Xu={h:"height",w:"width",inline:"inline-size",block:"block-size"};function be(e,t){return`${e||""}${Xu[t]}`}function Zt(e,t,r,n){let o=be(e,t).replace(/-(\w)/g,(a,s)=>s.toUpperCase()),i=r[o]?.[n];if(i!=null)return i;switch(n){case"fit":case"max":case"min":return`${n}-content`}return l.bracket.cssvar.global.auto.fraction.rem(n)}var vr=[[/^size-(min-|max-)?(.+)$/,([,e,t],{theme:r})=>({[be(e,"w")]:Zt(e,"w",r,t),[be(e,"h")]:Zt(e,"h",r,t)})],[/^(?:size-)?(min-|max-)?([wh])-?(.+)$/,([,e,t,r],{theme:n})=>({[be(e,t)]:Zt(e,t,n,r)})],[/^(?:size-)?(min-|max-)?(block|inline)-(.+)$/,([,e,t,r],{theme:n})=>({[be(e,t)]:Zt(e,t,n,r)}),{autocomplete:["(w|h)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(max|min)-(w|h|block|inline)","(max|min)-(w|h|block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(w|h)-full","(max|min)-(w|h)-full"]}],[/^(?:size-)?(min-|max-)?(h)-screen-(.+)$/,([,e,t,r],n)=>({[be(e,t)]:zs(n,r,"verticalBreakpoints")})],[/^(?:size-)?(min-|max-)?(w)-screen-(.+)$/,([,e,t,r],n)=>({[be(e,t)]:zs(n,r)}),{autocomplete:["(w|h)-screen","(min|max)-(w|h)-screen","h-screen-$verticalBreakpoints","(min|max)-h-screen-$verticalBreakpoints","w-screen-$breakpoints","(min|max)-w-screen-$breakpoints"]}]];function zs(e,t,r="breakpoints"){let n=ce(e,r);if(n)return n.find(o=>o.point===t)?.size}function Yu(e){if(/^\d+\/\d+$/.test(e))return e;switch(e){case"square":return"1/1";case"video":return"16/9"}return l.bracket.cssvar.global.auto.number(e)}var kr=[[/^(?:size-)?aspect-(?:ratio-)?(.+)$/,([,e])=>({"aspect-ratio":Yu(e)}),{autocomplete:["aspect-(square|video|ratio)","aspect-ratio-(square|video)"]}]],wr=[[/^pa?()-?(.+)$/,R("padding"),{autocomplete:["(m|p)<num>","(m|p)-<num>"]}],[/^p-?xy()()$/,R("padding"),{autocomplete:"(m|p)-(xy)"}],[/^p-?([xy])(?:-?(.+))?$/,R("padding")],[/^p-?([rltbse])(?:-?(.+))?$/,R("padding"),{autocomplete:"(m|p)<directions>-<num>"}],[/^p-(block|inline)(?:-(.+))?$/,R("padding"),{autocomplete:"(m|p)-(block|inline)-<num>"}],[/^p-?([bi][se])(?:-?(.+))?$/,R("padding"),{autocomplete:"(m|p)-(bs|be|is|ie)-<num>"}]],Sr=[[/^ma?()-?(.+)$/,R("margin")],[/^m-?xy()()$/,R("margin")],[/^m-?([xy])(?:-?(.+))?$/,R("margin")],[/^m-?([rltbse])(?:-?(.+))?$/,R("margin")],[/^m-(block|inline)(?:-(.+))?$/,R("margin")],[/^m-?([bi][se])(?:-?(.+))?$/,R("margin")]],Cr=[[/^fill-(.+)$/,j("fill","fill","backgroundColor"),{autocomplete:"fill-$colors"}],[/^fill-op(?:acity)?-?(.+)$/,([,e])=>({"--un-fill-opacity":l.bracket.percent.cssvar(e)}),{autocomplete:"fill-(op|opacity)-<percent>"}],["fill-none",{fill:"none"}],[/^stroke-(?:width-|size-)?(.+)$/,Os,{autocomplete:["stroke-width-$lineWidth","stroke-size-$lineWidth"]}],[/^stroke-dash-(.+)$/,([,e])=>({"stroke-dasharray":l.bracket.cssvar.number(e)}),{autocomplete:"stroke-dash-<num>"}],[/^stroke-offset-(.+)$/,([,e],{theme:t})=>({"stroke-dashoffset":t.lineWidth?.[e]??l.bracket.cssvar.px.numberWithUnit(e)}),{autocomplete:"stroke-offset-$lineWidth"}],[/^stroke-(.+)$/,Zu,{autocomplete:"stroke-$colors"}],[/^stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-stroke-opacity":l.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 Os([,e],{theme:t}){return{"stroke-width":t.lineWidth?.[e]??l.bracket.cssvar.fraction.px.number(e)}}function Zu(e,t){return oe(l.bracket(e[1]))?Os(e,t):j("stroke","stroke","borderColor")(e,t)}function js(e,t){let r;if(l.cssvar(e)!=null)r=l.cssvar(e);else{e.startsWith("[")&&e.endsWith("]")&&(e=e.slice(1,-1));let n=e.split(",").map(o=>t.transitionProperty?.[o]??l.properties(o));n.every(Boolean)&&(r=n.join(","))}return r}var Rr=[[/^transition(?:-(\D+?))?(?:-(\d+))?$/,([,e,t],{theme:r})=>{if(!e&&!t)return{"transition-property":r.transitionProperty?.DEFAULT,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":r.duration?.DEFAULT??l.time("150")};if(e!=null){let n=js(e,r),o=r.duration?.[t||"DEFAULT"]??l.time(t||"150");if(n)return{"transition-property":n,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":o}}else if(t!=null)return{"transition-property":r.transitionProperty?.DEFAULT,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":r.duration?.[t]??l.time(t)}},{autocomplete:"transition-$transitionProperty-$duration"}],[/^(?:transition-)?duration-(.+)$/,([,e],{theme:t})=>({"transition-duration":t.duration?.[e||"DEFAULT"]??l.bracket.cssvar.time(e)}),{autocomplete:["transition-duration-$duration","duration-$duration"]}],[/^(?:transition-)?delay-(.+)$/,([,e],{theme:t})=>({"transition-delay":t.duration?.[e||"DEFAULT"]??l.bracket.cssvar.time(e)}),{autocomplete:["transition-delay-$duration","delay-$duration"]}],[/^(?:transition-)?ease(?:-(.+))?$/,([,e],{theme:t})=>({"transition-timing-function":t.easing?.[e||"DEFAULT"]??l.bracket.cssvar(e)}),{autocomplete:["transition-ease-(linear|in|out|in-out|DEFAULT)","ease-(linear|in|out|in-out|DEFAULT)"]}],[/^(?:transition-)?property-(.+)$/,([,e],{theme:t})=>{let r=l.global(e)||js(e,t);if(r)return{"transition-property":r}},{autocomplete:[`transition-property-(${[...S].join("|")})`,"transition-property-$transitionProperty","property-$transitionProperty"]}],["transition-none",{transition:"none"}],...b("transition"),["transition-discrete",{"transition-behavior":"allow-discrete"}],["transition-normal",{"transition-behavior":"normal"}]],zr=[[/^text-(.+)$/,Qu,{autocomplete:"text-$fontSize"}],[/^(?:text|font)-size-(.+)$/,As,{autocomplete:"text-size-$fontSize"}],[/^text-(?:color-)?(.+)$/,Ju,{autocomplete:"text-$colors"}],[/^(?:color|c)-(.+)$/,j("color","text","textColor"),{autocomplete:"(color|c)-$colors"}],[/^(?:text|color|c)-(.+)$/,([,e])=>S.includes(e)?{color:e}:void 0,{autocomplete:`(text|color|c)-(${S.join("|")})`}],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-opacity":l.bracket.percent.cssvar(e)}),{autocomplete:"(text|color|c)-(op|opacity)-<percent>"}],[/^(?:font|fw)-?([^-]+)$/,([,e],{theme:t})=>({"font-weight":t.fontWeight?.[e]||l.bracket.global.number(e)}),{autocomplete:["(font|fw)-(100|200|300|400|500|600|700|800|900)","(font|fw)-$fontWeight"]}],[/^(?:font-)?(?:leading|lh|line-height)-(.+)$/,([,e],{theme:t})=>({"line-height":Rn(e,t,"lineHeight")}),{autocomplete:"(leading|lh|line-height)-$lineHeight"}],["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":l.bracket.cssvar.global(e)})],[/^(?:font-)?tracking-(.+)$/,([,e],{theme:t})=>({"letter-spacing":t.letterSpacing?.[e]||l.bracket.cssvar.global.rem(e)}),{autocomplete:"tracking-$letterSpacing"}],[/^(?:font-)?word-spacing-(.+)$/,([,e],{theme:t})=>({"word-spacing":t.wordSpacing?.[e]||l.bracket.cssvar.global.rem(e)}),{autocomplete:"word-spacing-$wordSpacing"}],["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":l.bracket.cssvar.fraction.global(e)}),{autocomplete:"font-stretch-<percentage>"}],[/^font-(.+)$/,([,e],{theme:t})=>({"font-family":t.fontFamily?.[e]||l.bracket.cssvar.global(e)}),{autocomplete:"font-$fontFamily"}]],jr=[[/^tab(?:-(.+))?$/,([,e])=>{let t=l.bracket.cssvar.global.number(e||"4");if(t!=null)return{"-moz-tab-size":t,"-o-tab-size":t,"tab-size":t}}]],Er=[[/^indent(?:-(.+))?$/,([,e],{theme:t})=>({"text-indent":t.textIndent?.[e||"DEFAULT"]||l.bracket.cssvar.global.fraction.rem(e)}),{autocomplete:"indent-$textIndent"}]],Tr=[[/^text-stroke(?:-(.+))?$/,([,e],{theme:t})=>({"-webkit-text-stroke-width":t.textStrokeWidth?.[e||"DEFAULT"]||l.bracket.cssvar.px(e)}),{autocomplete:"text-stroke-$textStrokeWidth"}],[/^text-stroke-(.+)$/,j("-webkit-text-stroke-color","text-stroke","borderColor"),{autocomplete:"text-stroke-$colors"}],[/^text-stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-stroke-opacity":l.bracket.percent.cssvar(e)}),{autocomplete:"text-stroke-(op|opacity)-<percent>"}]],Or=[[/^text-shadow(?:-(.+))?$/,([,e],{theme:t})=>{let r=t.textShadow?.[e||"DEFAULT"];return r!=null?{"--un-text-shadow":he(r,"--un-text-shadow-color").join(","),"text-shadow":"var(--un-text-shadow)"}:{"text-shadow":l.bracket.cssvar.global(e)}},{autocomplete:"text-shadow-$textShadow"}],[/^text-shadow-color-(.+)$/,j("--un-text-shadow-color","text-shadow","shadowColor"),{autocomplete:"text-shadow-color-$colors"}],[/^text-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-shadow-opacity":l.bracket.percent.cssvar(e)}),{autocomplete:"text-shadow-color-(op|opacity)-<percent>"}]];function Rn(e,t,r){return t[r]?.[e]||l.bracket.cssvar.global.rem(e)}function As([,e],{theme:t}){let n=E(t.fontSize?.[e])?.[0]??l.bracket.cssvar.global.rem(e);if(n!=null)return{"font-size":n}}function Ju(e,t){return oe(l.bracket(e[1]))?As(e,t):j("color","text","textColor")(e,t)}function Qu([,e="base"],{theme:t}){let r=Ht(e,"length");if(!r)return;let[n,o]=r,i=E(t.fontSize?.[n]),a=o?Rn(o,t,"lineHeight"):void 0;if(i?.[0]){let[c,u,d]=i;return typeof u=="object"?{"font-size":c,...u}:{"font-size":c,"line-height":a??u??"1","letter-spacing":d?Rn(d,t,"letterSpacing"):void 0}}let s=l.bracketOfLength.rem(n);return a&&s?{"font-size":s,"line-height":a}:{"font-size":l.bracketOfLength.rem(e)}}var ep={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"},Ar=[[/^(.+?)-(\$.+)$/,([,e,t])=>{let r=ep[e];if(r)return{[r]:l.cssvar(t)}}]],Pr=[[/^\[(.*)\]$/,([e,t])=>{if(!t.includes(":"))return;let[r,...n]=t.split(":"),o=n.join(":");if(!rp(t)&&/^[\w-]+$/.test(r)&&tp(o)){let i=l.bracket(`[${o}]`);if(i)return{[r]:i}}}]];function tp(e){let t=0;function r(n){for(;t<e.length;)if(t+=1,e[t]===n)return!0;return!1}for(t=0;t<e.length;t++){let n=e[t];if("\"`'".includes(n)){if(!r(n))return!1}else if(n==="("){if(!r(")"))return!1}else if("[]{}:".includes(n))return!1}return!0}function rp(e){if(!e.includes("://"))return!1;try{return new URL(e).host!==""}catch{return!1}}var np=[Ar,Pr,He,Xe,Ke,dr,gr,xr,mr,ur,br,Sr,yr,qe,kr,vr,lr,ft,Ge,Ze,Ye,tr,bt,gt,ht,fr,hr,pr,nt,Je,tt,nr,ir,ar,Cr,wr,Qt,Er,rt,Jt,zr,ot,it,cr,at,jr,Tr,Or,or,lt,er,ct,Rr,rr,Qe,et,sr,st,$r].flat(1);var Ps=[[/^divide-?([xy])$/,Vr,{autocomplete:["divide-(x|y|block|inline)","divide-(x|y|block|inline)-reverse","divide-(x|y|block|inline)-$lineWidth"]}],[/^divide-?([xy])-?(.+)$/,Vr],[/^divide-?([xy])-reverse$/,([,e])=>({[`--un-divide-${e}-reverse`]:1})],[/^divide-(block|inline)$/,Vr],[/^divide-(block|inline)-(.+)$/,Vr],[/^divide-(block|inline)-reverse$/,([,e])=>({[`--un-divide-${e}-reverse`]:1})],[/^divide-(.+)$/,j("border-color","divide","borderColor"),{autocomplete:"divide-$colors"}],[/^divide-op(?:acity)?-?(.+)$/,([,e])=>({"--un-divide-opacity":l.bracket.percent(e)}),{autocomplete:["divide-(op|opacity)","divide-(op|opacity)-<percent>"]}],...le.map(e=>[`divide-${e}`,{"border-style":e}])];function Vr([,e,t],{theme:r}){let n=r.lineWidth?.[t||"DEFAULT"]??l.bracket.cssvar.px(t||"1");if(n!=null){n==="0"&&(n="0px");let o=M[e].map(i=>{let a=`border${i}-width`,s=i.endsWith("right")||i.endsWith("bottom")?`calc(${n} * var(--un-divide-${e}-reverse))`:`calc(${n} * calc(1 - var(--un-divide-${e}-reverse)))`;return[a,s]});if(o)return[[`--un-divide-${e}-reverse`,0],...o]}}var jn={"--un-blur":$,"--un-brightness":$,"--un-contrast":$,"--un-drop-shadow":$,"--un-grayscale":$,"--un-hue-rotate":$,"--un-invert":$,"--un-saturate":$,"--un-sepia":$},Fs=Object.keys(jn),Vs={preflightKeys:Fs},Fr="var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)",En={"--un-backdrop-blur":$,"--un-backdrop-brightness":$,"--un-backdrop-contrast":$,"--un-backdrop-grayscale":$,"--un-backdrop-hue-rotate":$,"--un-backdrop-invert":$,"--un-backdrop-opacity":$,"--un-backdrop-saturate":$,"--un-backdrop-sepia":$},Ws=Object.keys(En),ip={preflightKeys:Ws},Wr="var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia)",ie={preflightKeys:[...Fs,...Ws]};function zn(e){let t=l.bracket.cssvar(e||"");if(t!=null||(t=e?l.percent(e):"1",t!=null&&Number.parseFloat(t)<=1))return t}function ae(e,t){return([,r,n],{theme:o})=>{let i=t(n,o)??(n==="none"?"0":"");if(i!=="")return r?{[`--un-${r}${e}`]:`${e}(${i})`,"-webkit-backdrop-filter":Wr,"backdrop-filter":Wr}:{[`--un-${e}`]:`${e}(${i})`,filter:Fr}}}function ap([,e],{theme:t}){let r=t.dropShadow?.[e||"DEFAULT"];if(r!=null)return{"--un-drop-shadow":`drop-shadow(${he(r,"--un-drop-shadow-color").join(") drop-shadow(")})`,filter:Fr};if(r=l.bracket.cssvar(e),r!=null)return{"--un-drop-shadow":`drop-shadow(${r})`,filter:Fr}}var _s=[[/^(?:(backdrop-)|filter-)?blur(?:-(.+))?$/,ae("blur",(e,t)=>t.blur?.[e||"DEFAULT"]||l.bracket.cssvar.px(e)),{custom:ie,autocomplete:["(backdrop|filter)-blur-$blur","blur-$blur","filter-blur"]}],[/^(?:(backdrop-)|filter-)?brightness-(.+)$/,ae("brightness",e=>l.bracket.cssvar.percent(e)),{custom:ie,autocomplete:["(backdrop|filter)-brightness-<percent>","brightness-<percent>"]}],[/^(?:(backdrop-)|filter-)?contrast-(.+)$/,ae("contrast",e=>l.bracket.cssvar.percent(e)),{custom:ie,autocomplete:["(backdrop|filter)-contrast-<percent>","contrast-<percent>"]}],[/^(?:filter-)?drop-shadow(?:-(.+))?$/,ap,{custom:Vs,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-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-(.+)$/,j("--un-drop-shadow-color","drop-shadow","shadowColor")],[/^(?:filter-)?drop-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-drop-shadow-opacity":l.bracket.percent(e)})],[/^(?:(backdrop-)|filter-)?grayscale(?:-(.+))?$/,ae("grayscale",zn),{custom:ie,autocomplete:["(backdrop|filter)-grayscale","(backdrop|filter)-grayscale-<percent>","grayscale-<percent>"]}],[/^(?:(backdrop-)|filter-)?hue-rotate-(.+)$/,ae("hue-rotate",e=>l.bracket.cssvar.degree(e)),{custom:ie}],[/^(?:(backdrop-)|filter-)?invert(?:-(.+))?$/,ae("invert",zn),{custom:ie,autocomplete:["(backdrop|filter)-invert","(backdrop|filter)-invert-<percent>","invert-<percent>"]}],[/^(backdrop-)op(?:acity)?-(.+)$/,ae("opacity",e=>l.bracket.cssvar.percent(e)),{custom:ie,autocomplete:["backdrop-(op|opacity)","backdrop-(op|opacity)-<percent>"]}],[/^(?:(backdrop-)|filter-)?saturate-(.+)$/,ae("saturate",e=>l.bracket.cssvar.percent(e)),{custom:ie,autocomplete:["(backdrop|filter)-saturate","(backdrop|filter)-saturate-<percent>","saturate-<percent>"]}],[/^(?:(backdrop-)|filter-)?sepia(?:-(.+))?$/,ae("sepia",zn),{custom:ie,autocomplete:["(backdrop|filter)-sepia","(backdrop|filter)-sepia-<percent>","sepia-<percent>"]}],["filter",{filter:Fr},{custom:Vs}],["backdrop-filter",{"-webkit-backdrop-filter":Wr,"backdrop-filter":Wr},{custom:ip}],["filter-none",{filter:"none"}],["backdrop-filter-none",{"-webkit-backdrop-filter":"none","backdrop-filter":"none"}],...S.map(e=>[`filter-${e}`,{filter:e}]),...S.map(e=>[`backdrop-filter-${e}`,{"-webkit-backdrop-filter":e,"backdrop-filter":e}])];var Ms=[[/^line-clamp-(\d+)$/,([,e])=>({overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":e,"line-clamp":e}),{autocomplete:["line-clamp","line-clamp-<num>"]}],...["none",...S].map(e=>[`line-clamp-${e}`,{overflow:"visible",display:"block","-webkit-box-orient":"horizontal","-webkit-line-clamp":e,"line-clamp":e}])];var Ls=[[/^\$ placeholder-(.+)$/,j("color","placeholder","accentColor"),{autocomplete:"placeholder-$colors"}],[/^\$ placeholder-op(?:acity)?-?(.+)$/,([,e])=>({"--un-placeholder-opacity":l.bracket.percent(e)}),{autocomplete:["placeholder-(op|opacity)","placeholder-(op|opacity)-<percent>"]}]];var Tn={"--un-scroll-snap-strictness":"proximity"},Bs={preflightKeys:Object.keys(Tn)},Us=[[/^snap-(x|y)$/,([,e])=>({"scroll-snap-type":`${e} var(--un-scroll-snap-strictness)`}),{custom:Bs,autocomplete:"snap-(x|y|both)"}],[/^snap-both$/,()=>({"scroll-snap-type":"both var(--un-scroll-snap-strictness)"}),{custom:Bs}],["snap-mandatory",{"--un-scroll-snap-strictness":"mandatory"}],["snap-proximity",{"--un-scroll-snap-strictness":"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?()-?(.+)$/,R("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])-?(.+)$/,R("scroll-margin")],[/^scroll-m-?([rltb])-?(.+)$/,R("scroll-margin")],[/^scroll-m-(block|inline)-(.+)$/,R("scroll-margin")],[/^scroll-m-?([bi][se])-?(.+)$/,R("scroll-margin")],[/^scroll-pa?()-?(.+)$/,R("scroll-padding")],[/^scroll-p-?([xy])-?(.+)$/,R("scroll-padding")],[/^scroll-p-?([rltb])-?(.+)$/,R("scroll-padding")],[/^scroll-p-(block|inline)-(.+)$/,R("scroll-padding")],[/^scroll-p-?([bi][se])-?(.+)$/,R("scroll-padding")]];var Ds=[[/^space-([xy])-(.+)$/,Is,{autocomplete:["space-(x|y|block|inline)","space-(x|y|block|inline)-reverse","space-(x|y|block|inline)-$spacing"]}],[/^space-([xy])-reverse$/,([,e])=>({[`--un-space-${e}-reverse`]:1})],[/^space-(block|inline)-(.+)$/,Is],[/^space-(block|inline)-reverse$/,([,e])=>({[`--un-space-${e}-reverse`]:1})]];function Is([,e,t],{theme:r}){let n=r.spacing?.[t||"DEFAULT"]??l.bracket.cssvar.auto.fraction.rem(t||"1");if(n!=null){n==="0"&&(n="0px");let o=M[e].map(i=>{let a=`margin${i}`,s=i.endsWith("right")||i.endsWith("bottom")?`calc(${n} * var(--un-space-${e}-reverse))`:`calc(${n} * calc(1 - var(--un-space-${e}-reverse)))`;return[a,s]});if(o)return[[`--un-space-${e}-reverse`,0],...o]}}var Ns=[["uppercase",{"text-transform":"uppercase"}],["lowercase",{"text-transform":"lowercase"}],["capitalize",{"text-transform":"capitalize"}],["normal-case",{"text-transform":"none"}]],qs=[...["manual","auto","none",...S].map(e=>[`hyphens-${e}`,{"-webkit-hyphens":e,"-ms-hyphens":e,hyphens:e}])],Ks=[["write-vertical-right",{"writing-mode":"vertical-rl"}],["write-vertical-left",{"writing-mode":"vertical-lr"}],["write-normal",{"writing-mode":"horizontal-tb"}],...b("write","writing-mode")],Gs=[["write-orient-mixed",{"text-orientation":"mixed"}],["write-orient-sideways",{"text-orientation":"sideways"}],["write-orient-upright",{"text-orientation":"upright"}],...b("write-orient","text-orientation")],Hs=[["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"}]],Xs=[["isolate",{isolation:"isolate"}],["isolate-auto",{isolation:"auto"}],["isolation-auto",{isolation:"auto"}]],Ys=[["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])=>{if(F[e])return{"object-position":F[e]};if(l.bracketOfPosition(e)!=null)return{"object-position":l.bracketOfPosition(e).split(" ").map(t=>l.position.fraction.auto.px.cssvar(t)??t).join(" ")}},{autocomplete:`object-(${Object.keys(F).join("|")})`}]],Zs=[["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"}],...b("bg-blend","background-blend")],Js=[["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"}],...b("mix-blend")],Qs=[["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"}]];var On={"--un-border-spacing-x":0,"--un-border-spacing-y":0},ec={preflightKeys:Object.keys(On)},tc="var(--un-border-spacing-x) var(--un-border-spacing-y)",rc=[["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-(.+)$/,([,e],{theme:t})=>{let r=t.spacing?.[e]??l.bracket.cssvar.global.auto.fraction.rem(e);if(r!=null)return{"--un-border-spacing-x":r,"--un-border-spacing-y":r,"border-spacing":tc}},{custom:ec,autocomplete:["border-spacing","border-spacing-$spacing"]}],[/^border-spacing-([xy])-(.+)$/,([,e,t],{theme:r})=>{let n=r.spacing?.[t]??l.bracket.cssvar.global.auto.fraction.rem(t);if(n!=null)return{[`--un-border-spacing-${e}`]:n,"border-spacing":tc}},{custom:ec,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"}]];var Vn={"--un-pan-x":$,"--un-pan-y":$,"--un-pinch-zoom":$},An={preflightKeys:Object.keys(Vn)},Pn="var(--un-pan-x) var(--un-pan-y) var(--un-pinch-zoom)",nc=[[/^touch-pan-(x|left|right)$/,([,e])=>({"--un-pan-x":`pan-${e}`,"touch-action":Pn}),{custom:An,autocomplete:["touch-pan","touch-pan-(x|left|right|y|up|down)"]}],[/^touch-pan-(y|up|down)$/,([,e])=>({"--un-pan-y":`pan-${e}`,"touch-action":Pn}),{custom:An}],["touch-pinch-zoom",{"--un-pinch-zoom":"pinch-zoom","touch-action":Pn},{custom:An}],["touch-auto",{"touch-action":"auto"}],["touch-manipulation",{"touch-action":"manipulation"}],["touch-none",{"touch-action":"none"}],...b("touch","touch-action")];var Fn={"--un-ordinal":$,"--un-slashed-zero":$,"--un-numeric-figure":$,"--un-numeric-spacing":$,"--un-numeric-fraction":$},fe={preflightKeys:Object.keys(Fn)};function ue(e){return{...e,"font-variant-numeric":"var(--un-ordinal) var(--un-slashed-zero) var(--un-numeric-figure) var(--un-numeric-spacing) var(--un-numeric-fraction)"}}var oc=[[/^ordinal$/,()=>ue({"--un-ordinal":"ordinal"}),{custom:fe,autocomplete:"ordinal"}],[/^slashed-zero$/,()=>ue({"--un-slashed-zero":"slashed-zero"}),{custom:fe,autocomplete:"slashed-zero"}],[/^lining-nums$/,()=>ue({"--un-numeric-figure":"lining-nums"}),{custom:fe,autocomplete:"lining-nums"}],[/^oldstyle-nums$/,()=>ue({"--un-numeric-figure":"oldstyle-nums"}),{custom:fe,autocomplete:"oldstyle-nums"}],[/^proportional-nums$/,()=>ue({"--un-numeric-spacing":"proportional-nums"}),{custom:fe,autocomplete:"proportional-nums"}],[/^tabular-nums$/,()=>ue({"--un-numeric-spacing":"tabular-nums"}),{custom:fe,autocomplete:"tabular-nums"}],[/^diagonal-fractions$/,()=>ue({"--un-numeric-fraction":"diagonal-fractions"}),{custom:fe,autocomplete:"diagonal-fractions"}],[/^stacked-fractions$/,()=>ue({"--un-numeric-fraction":"stacked-fractions"}),{custom:fe,autocomplete:"stacked-fractions"}],["normal-nums",{"font-variant-numeric":"normal"}]];var sp={"bg-blend":"background-blend-mode","bg-clip":"-webkit-background-clip","bg-gradient":"linear-gradient","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"},ic=[[/^(.+?)-(\$.+)$/,([,e,t])=>{let r=sp[e];if(r)return{[r]:l.cssvar(t)}}]];var ac=[[/^view-transition-([\w-]+)$/,([,e])=>({"view-transition-name":e})]];var sc=[Ar,ic,Pr,gs,He,Hs,Xe,Ke,dr,gr,Ms,Xs,xr,mr,ur,br,Sr,yr,qe,kr,vr,lr,rc,ft,as,Ge,nc,Ze,Ye,Us,ls,tr,hs,bt,gt,ht,fr,hr,Ds,Ps,pr,ds,ms,nt,Je,tt,nr,ir,cs,ar,Cr,Ys,wr,Qt,Er,rt,Jt,zr,ot,Ns,it,oc,cr,at,jr,Tr,Or,qs,Ks,Gs,us,fs,or,Zs,Js,lt,er,ct,ps,_s,Rr,rr,Qe,et,Ls,sr,ac,Qs,st,$r].flat(1);var cc=[...bs];var Wn={inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"},light:{50:"#fdfdfd",100:"#fcfcfc",200:"#fafafa",300:"#f8f9fa",400:"#f6f6f6",500:"#f2f2f2",600:"#f1f3f5",700:"#e9ecef",800:"#dee2e6",900:"#dde1e3",950:"#d8dcdf"},dark:{50:"#4a4a4a",100:"#3c3c3c",200:"#323232",300:"#2d2d2d",400:"#222222",500:"#1f1f1f",600:"#1c1c1e",700:"#1b1b1b",800:"#181818",900:"#0f0f0f",950:"#080808"},get lightblue(){return this.sky},get lightBlue(){return this.sky},get warmgray(){return this.stone},get warmGray(){return this.stone},get truegray(){return this.neutral},get trueGray(){return this.neutral},get coolgray(){return this.gray},get coolGray(){return this.gray},get bluegray(){return this.slate},get blueGray(){return this.slate}};Object.values(Wn).forEach(e=>{typeof e!="string"&&e!==void 0&&(e.DEFAULT=e.DEFAULT||e[400],Object.keys(e).forEach(t=>{let r=+t/100;r===Math.round(r)&&(e[r]=e[t])}))});var lc={DEFAULT:"8px",0:"0",sm:"4px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},fc={DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],sm:"0 1px 1px rgb(0 0 0 / 0.05)",md:["0 4px 3px rgb(0 0 0 / 0.07)","0 2px 2px rgb(0 0 0 / 0.06)"],lg:["0 10px 8px rgb(0 0 0 / 0.04)","0 4px 3px rgb(0 0 0 / 0.1)"],xl:["0 20px 13px rgb(0 0 0 / 0.03)","0 8px 5px rgb(0 0 0 / 0.08)"],"2xl":"0 25px 25px rgb(0 0 0 / 0.15)",none:"0 0 rgb(0 0 0 / 0)"},uc={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(",")},pc={xs:["0.75rem","1rem"],sm:["0.875rem","1.25rem"],base:["1rem","1.5rem"],lg:["1.125rem","1.75rem"],xl:["1.25rem","1.75rem"],"2xl":["1.5rem","2rem"],"3xl":["1.875rem","2.25rem"],"4xl":["2.25rem","2.5rem"],"5xl":["3rem","1"],"6xl":["3.75rem","1"],"7xl":["4.5rem","1"],"8xl":["6rem","1"],"9xl":["8rem","1"]},dc={DEFAULT:"1.5rem",xs:"0.5rem",sm:"1rem",md:"1.5rem",lg:"2rem",xl:"2.5rem","2xl":"3rem","3xl":"4rem"},mc={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},hc={DEFAULT:["0 0 1px rgb(0 0 0 / 0.2)","0 0 1px rgb(1 0 5 / 0.1)"],none:"0 0 rgb(0 0 0 / 0)",sm:"1px 1px 3px rgb(36 37 47 / 0.25)",md:["0 1px 2px rgb(30 29 39 / 0.19)","1px 2px 4px rgb(54 64 147 / 0.18)"],lg:["3px 3px 6px rgb(0 0 0 / 0.26)","0 0 5px rgb(15 3 86 / 0.22)"],xl:["1px 1px 3px rgb(0 0 0 / 0.29)","2px 4px 7px rgb(73 64 125 / 0.35)"]},gc={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},Un={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},bc={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},xc=Un,In={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},yc={...In},$c={DEFAULT:"1px",none:"0"},vc={DEFAULT:"1rem",none:"0",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"},kc={DEFAULT:"150ms",none:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},wc={DEFAULT:"0.25rem",none:"0",sm:"0.125rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},Sc={DEFAULT:["var(--un-shadow-inset) 0 1px 3px 0 rgb(0 0 0 / 0.1)","var(--un-shadow-inset) 0 1px 2px -1px rgb(0 0 0 / 0.1)"],none:"0 0 rgb(0 0 0 / 0)",sm:"var(--un-shadow-inset) 0 1px 2px 0 rgb(0 0 0 / 0.05)",md:["var(--un-shadow-inset) 0 4px 6px -1px rgb(0 0 0 / 0.1)","var(--un-shadow-inset) 0 2px 4px -2px rgb(0 0 0 / 0.1)"],lg:["var(--un-shadow-inset) 0 10px 15px -3px rgb(0 0 0 / 0.1)","var(--un-shadow-inset) 0 4px 6px -4px rgb(0 0 0 / 0.1)"],xl:["var(--un-shadow-inset) 0 20px 25px -5px rgb(0 0 0 / 0.1)","var(--un-shadow-inset) 0 8px 10px -6px rgb(0 0 0 / 0.1)"],"2xl":"var(--un-shadow-inset) 0 25px 50px -12px rgb(0 0 0 / 0.25)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)"},Cc={DEFAULT:"3px",none:"0"},Rc={auto:"auto"},zc={mouse:"(hover) and (pointer: fine)"},jc={...Ee,...je,...ze},re={xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",prose:"65ch"},Ec={auto:"auto",...re,screen:"100vw"},_n={none:"none",...re,screen:"100vw"},Tc={auto:"auto",...re,screen:"100vb"},Oc={auto:"auto",...re,screen:"100vi"},Ac={auto:"auto",...re,screen:"100vh"},Mn={none:"none",...re,screen:"100vh"},Ln={none:"none",...re,screen:"100vb"},Bn={none:"none",...re,screen:"100vi"},Pc={...re},cp={DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)",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)"},lp={none:"none",all:"all",colors:["color","background-color","border-color","text-decoration-color","fill","stroke"].join(","),opacity:"opacity",shadow:"box-shadow",transform:"transform",get DEFAULT(){return[this.colors,"opacity","box-shadow","transform","filter","backdrop-filter"].join(",")}},Dn={width:Ec,height:Ac,maxWidth:_n,maxHeight:Mn,minWidth:_n,minHeight:Mn,inlineSize:Oc,blockSize:Tc,maxInlineSize:Bn,maxBlockSize:Ln,minInlineSize:Bn,minBlockSize:Ln,colors:Wn,fontFamily:uc,fontSize:pc,fontWeight:bc,breakpoints:In,verticalBreakpoints:yc,borderRadius:wc,lineHeight:gc,letterSpacing:Un,wordSpacing:xc,boxShadow:Sc,textIndent:dc,textShadow:hc,textStrokeWidth:mc,blur:lc,dropShadow:fc,easing:cp,transitionProperty:lp,lineWidth:$c,spacing:vc,duration:kc,ringWidth:Cc,preflightBase:jc,containers:Pc,zIndex:Rc,media:zc};var Vc={...Dn,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"'},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"}},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)"},preflightBase:{...Ee,...Vn,...Tn,...Fn,...On,...je,...ze,...jn,...En}};var Fc=[T("svg",e=>({selector:`${e.selector} svg`}))];var Wc=[T(".dark",e=>({prefix:`.dark $$ ${e.prefix}`})),T(".light",e=>({prefix:`.light $$ ${e.prefix}`})),P("@dark","@media (prefers-color-scheme: dark)"),P("@light","@media (prefers-color-scheme: light)")];var Mc={name:"aria",match(e,t){let r=k("aria-",e,t.generator.config.separators);if(r){let[n,o]=r,i=l.bracket(n)??t.theme.aria?.[n]??"";if(i)return{matcher:o,selector:a=>`${a}[aria-${i}]`}}},multiPass:!0};function _r(e,t,r={}){return{name:`${e}-aria`,match(n,o){let i=k(`${e}-aria-`,n,o.generator.config.separators);if(i){let[a,s,c]=i,u=l.bracket(a)??o.theme.aria?.[a]??"";if(u){let d=!!r?.attributifyPseudo,h=r?.prefix??"";h=(Array.isArray(h)?h:[h]).filter(Boolean)[0]??"";let g=`${d?`[${h}${e}=""]`:`.${h}${e}`}`,m=B(c?`/${c}`:"");return{matcher:s,handle:(p,x)=>{let L=new RegExp(`${A(g)}${A(m)}(?:\\[.+?\\])+`),O=p.prefix.match(L),w;if(O){let y=(O.index??0)+g.length+m.length;w=[p.prefix.slice(0,y),`[aria-${u}]`,p.prefix.slice(y)].join("")}else{let y=Math.max(p.prefix.indexOf(g),0);w=[p.prefix.slice(0,y),g,m,`[aria-${u}]`,t,p.prefix.slice(y)].join("")}return x({...p,prefix:w})}}}}},multiPass:!0}}function fp(){return{name:"has-aria",match(e,t){let r=k("has-aria-",e,t.generator.config.separators);if(r){let[n,o]=r,i=l.bracket(n)??t.theme.aria?.[n]??"";if(i)return{matcher:o,handle:(a,s)=>s({...a,pseudo:`${a.pseudo}:has([aria-${i}])`})}}},multiPass:!0}}function Lc(e={}){return[_r("group"," ",e),_r("peer","~",e),_r("parent",">",e),_r("previous","+",e),fp()]}var _c=/(max|min)-\[([^\]]*)\]:/;function Bc(){let e={};return{name:"breakpoints",match(t,r){if(_c.test(t)){let o=t.match(_c);return{matcher:t.replace(o[0],""),handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@media (${o[1]}-width: ${o[2]})`})}}let n=(ce(r)??[]).map(({point:o,size:i},a)=>[o,i,a]);for(let[o,i,a]of n){e[o]||(e[o]=new RegExp(`^((?:([al]t-|[<~]|max-))?${o}(?:${r.generator.config.separators.join("|")}))`));let s=t.match(e[o]);if(!s)continue;let[,c]=s,u=t.slice(c.length);if(u==="container")continue;let d=c.startsWith("lt-")||c.startsWith("<")||c.startsWith("max-"),h=c.startsWith("at-")||c.startsWith("~"),g=3e3;return d?(g-=a+1,{matcher:u,handle:(m,p)=>p({...m,parent:`${m.parent?`${m.parent} $$ `:""}@media (max-width: ${ve(i)})`,parentOrder:g})}):(g+=a+1,h&&a<n.length-1?{matcher:u,handle:(m,p)=>p({...m,parent:`${m.parent?`${m.parent} $$ `:""}@media (min-width: ${i}) and (max-width: ${ve(n[a+1][1])})`,parentOrder:g})}:{matcher:u,handle:(m,p)=>p({...m,parent:`${m.parent?`${m.parent} $$ `:""}@media (min-width: ${i})`,parentOrder:g})})}},multiPass:!0,autocomplete:"(at-|lt-|max-|)$breakpoints:"}}var Uc=[T("*",e=>({selector:`${e.selector} > *`}),{order:-1})];function xt(e,t){return{name:`combinator:${e}`,match(r,n){if(!r.startsWith(e))return;let o=n.generator.config.separators,i=_(`${e}-`,r,o);if(!i){for(let s of o)if(r.startsWith(`${e}${s}`)){i=["",r.slice(e.length+s.length)];break}if(!i)return}let a=l.bracket(i[0])??"";return a===""&&(a="*"),{matcher:i[1],selector:s=>`${s}${t}${a}`}},multiPass:!0}}var Ic=[xt("all"," "),xt("children",">"),xt("next","+"),xt("sibling","+"),xt("siblings","~")],Dc={name:"@",match(e,t){if(e.startsWith("@container"))return;let r=k("@",e,t.generator.config.separators);if(r){let[n,o,i]=r,a=l.bracket(n),s;if(a?s=l.numberWithUnit(a):s=t.theme.containers?.[n]??"",s){let c=1e3+Object.keys(t.theme.containers??{}).indexOf(n);return i&&(c+=1e3),{matcher:o,handle:(u,d)=>d({...u,parent:`${u.parent?`${u.parent} $$ `:""}@container${i?` ${i} `:" "}(min-width: ${s})`,parentOrder:c})}}}},multiPass:!0};function Nc(e={}){if(e?.dark==="class"||typeof e.dark=="object"){let{dark:t=".dark",light:r=".light"}=typeof e.dark=="string"?{}:e.dark;return[T("dark",E(t).map(n=>o=>({prefix:`${n} $$ ${o.prefix}`}))),T("light",E(r).map(n=>o=>({prefix:`${n} $$ ${o.prefix}`})))]}return[P("dark","@media (prefers-color-scheme: dark)"),P("light","@media (prefers-color-scheme: light)")]}var qc={name:"data",match(e,t){let r=k("data-",e,t.generator.config.separators);if(r){let[n,o]=r,i=l.bracket(n)??t.theme.data?.[n]??"";if(i)return{matcher:o,selector:a=>`${a}[data-${i}]`}}},multiPass:!0};function Mr(e,t,r={}){return{name:`${e}-data`,match(n,o){let i=k(`${e}-data-`,n,o.generator.config.separators);if(i){let[a,s,c]=i,u=l.bracket(a)??o.theme.data?.[a]??"";if(u){let d=!!r?.attributifyPseudo,h=r?.prefix??"";h=(Array.isArray(h)?h:[h]).filter(Boolean)[0]??"";let g=`${d?`[${h}${e}=""]`:`.${h}${e}`}`,m=B(c?`/${c}`:"");return{matcher:s,handle:(p,x)=>{let L=new RegExp(`${A(g)}${A(m)}(?:\\[.+?\\])+`),O=p.prefix.match(L),w;if(O){let y=(O.index??0)+g.length+m.length;w=[p.prefix.slice(0,y),`[data-${u}]`,p.prefix.slice(y)].join("")}else{let y=Math.max(p.prefix.indexOf(g),0);w=[p.prefix.slice(0,y),g,m,`[data-${u}]`,t,p.prefix.slice(y)].join("")}return x({...p,prefix:w})}}}}},multiPass:!0}}function up(){return{name:"has-data",match(e,t){let r=k("has-data-",e,t.generator.config.separators);if(r){let[n,o]=r,i=l.bracket(n)??t.theme.data?.[n]??"";if(i)return{matcher:o,handle:(a,s)=>s({...a,pseudo:`${a.pseudo}:has([data-${i}])`})}}},multiPass:!0}}function Kc(e={}){return[Mr("group"," ",e),Mr("peer","~",e),Mr("parent",">",e),Mr("previous","+",e),up()]}var Gc=[T("rtl",e=>({prefix:`[dir="rtl"] $$ ${e.prefix}`})),T("ltr",e=>({prefix:`[dir="ltr"] $$ ${e.prefix}`}))];function Hc(){let e;return{name:"important",match(t,r){e||(e=new RegExp(`^(important(?:${r.generator.config.separators.join("|")})|!)`));let n,o=t.match(e);if(o?n=t.slice(o[0].length):t.endsWith("!")&&(n=t.slice(0,-1)),n)return{matcher:n,body:i=>(i.forEach(a=>{a[1]!=null&&(a[1]+=" !important")}),i)}}}}var Xc=P("print","@media print"),Yc={name:"media",match(e,t){let r=k("media-",e,t.generator.config.separators);if(r){let[n,o]=r,i=l.bracket(n)??"";if(i===""&&(i=t.theme.media?.[n]??""),i)return{matcher:o,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@media ${i}`})}}},multiPass:!0},Zc={name:"selector",match(e,t){let r=_("selector-",e,t.generator.config.separators);if(r){let[n,o]=r,i=l.bracket(n);if(i)return{matcher:o,selector:()=>i}}}},Jc={name:"layer",match(e,t){let r=k("layer-",e,t.generator.config.separators);if(r){let[n,o]=r,i=l.bracket(n)??n;if(i)return{matcher:o,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@layer ${i}`})}}}},Qc={name:"uno-layer",match(e,t){let r=k("uno-layer-",e,t.generator.config.separators);if(r){let[n,o]=r,i=l.bracket(n)??n;if(i)return{matcher:o,layer:i}}}},el={name:"scope",match(e,t){let r=_("scope-",e,t.generator.config.separators);if(r){let[n,o]=r,i=l.bracket(n);if(i)return{matcher:o,selector:a=>`${i} $$ ${a}`}}}},tl={name:"variables",match(e,t){if(!e.startsWith("["))return;let[r,n]=U(e,"[","]")??[];if(!(r&&n))return;let o;for(let s of t.generator.config.separators)if(n.startsWith(s)){o=n.slice(s.length);break}if(o==null)return;let i=l.bracket(r)??"",a=i.startsWith("@");if(a||i.includes("&"))return{matcher:o,handle(s,c){let u=a?{parent:`${s.parent?`${s.parent} $$ `:""}${i}`}:{selector:i.replace(/&/g,s.selector)};return c({...s,...u})}}},multiPass:!0},rl={name:"theme-variables",match(e,t){if(kt(e))return{matcher:e,handle(r,n){return n({...r,entries:JSON.parse(wt(JSON.stringify(r.entries),t.theme))})}}}},nl=/^-?[0-9.]+(?:[a-z]+|%)?$/,ol=/-?[0-9.]+(?:[a-z]+|%)?/,pp=[/\b(opacity|color|flex|backdrop-filter|^filter|transform)\b/];function dp(e){let t=e.match(De)||e.match(qt);if(t){let[r,n]=X(`(${t[2]})${t[3]}`,"(",")"," ")??[];if(r)return`calc(${t[1]}${r} * -1)${n?` ${n}`:""}`}}var mp=/\b(hue-rotate)\s*(\(.*)/;function hp(e){let t=e.match(mp);if(t){let[r,n]=X(t[2],"(",")"," ")??[];if(r){let o=nl.test(r.slice(1,-1))?r.replace(ol,i=>i.startsWith("-")?i.slice(1):`-${i}`):`(calc(${r} * -1))`;return`${t[1]}${o}${n?` ${n}`:""}`}}}var il={name:"negative",match(e){if(e.startsWith("-"))return{matcher:e.slice(1),body:t=>{if(t.find(n=>n[0]===yn))return;let r=!1;return t.forEach(n=>{let o=n[1]?.toString();if(!o||o==="0"||pp.some(s=>s.test(n[0])))return;let i=dp(o);if(i){n[1]=i,r=!0;return}let a=hp(o);if(a){n[1]=a,r=!0;return}nl.test(o)&&(n[1]=o.replace(ol,s=>s.startsWith("-")?s.slice(1):`-${s}`),r=!0)}),r?t:[]}}}};function al(){return Ct({getBracket:U,h:l,variantGetBracket:_})}function sl(){return Rt({getBracket:U,h:l,variantGetBracket:_})}function cl(e={}){return zt(e,{getBracket:U,h:l,variantGetBracket:_})}var ll=jt(),fl={name:"starting",match(e){if(e.startsWith("starting:"))return{matcher:e.slice(9),handle:(t,r)=>r({...t,parent:"@starting-style"})}}},ul={name:"supports",match(e,t){let r=k("supports-",e,t.generator.config.separators);if(r){let[n,o]=r,i=l.bracket(n)??"";if(i===""&&(i=t.theme.supports?.[n]??""),i)return i.startsWith("(")&&i.endsWith(")")||(i=`(${i})`),{matcher:o,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@supports ${i}`})}}},multiPass:!0};function Nn(e){return[Mc,qc,Jc,Zc,Qc,il,fl,Hc(),ul,Xc,Yc,Bc(),...Ic,...al(),sl(),...cl(e),ll,...Nc(e),...Gc,el,...Uc,Dc,tl,...Kc(e),...Lc(e),rl]}var pl=[P("contrast-more","@media (prefers-contrast: more)"),P("contrast-less","@media (prefers-contrast: less)")],dl=[P("motion-reduce","@media (prefers-reduced-motion: reduce)"),P("motion-safe","@media (prefers-reduced-motion: no-preference)")],ml=[P("landscape","@media (orientation: landscape)"),P("portrait","@media (orientation: portrait)")];var hl=e=>{if(!e.startsWith("_")&&(/space-[xy]-.+$/.test(e)||/divide-/.test(e)))return{matcher:e,selector:t=>{let r=">:not([hidden])~:not([hidden])";return t.includes(r)?t:`${t}${r}`}}},gl=[T("@hover",e=>({parent:`${e.parent?`${e.parent} $$ `:""}@media (hover: hover) and (pointer: fine)`,selector:`${e.selector||""}:hover`}))];function bl(e,t,r){return`calc(${t} + (${e} - ${t}) * ${r} / 100)`}function xl(e,t,r){let n=[e,t],o=[];for(let a=0;a<2;a++){let s=typeof n[a]=="string"?W(n[a]):n[a];if(!s||!["rgb","rgba"].includes(s.type))return;o.push(s)}let i=[];for(let a=0;a<3;a++)i.push(bl(o[0].components[a],o[1].components[a],r));return{type:"rgb",components:i,alpha:bl(o[0].alpha??1,o[1].alpha??1,r)}}function yl(e,t){return xl("#fff",e,t)}function $l(e,t){return xl("#000",e,t)}function gp(e,t){let r=Number.parseFloat(`${t}`);if(!Number.isNaN(r))return r>0?$l(e,t):yl(e,-r)}var bp={tint:yl,shade:$l,shift:gp};function vl(){let e;return{name:"mix",match(t,r){e||(e=new RegExp(`^mix-(tint|shade|shift)-(-?\\d{1,3})(?:${r.generator.config.separators.join("|")})`));let n=t.match(e);if(n)return{matcher:t.slice(n[0].length),body:o=>(o.forEach(i=>{if(i[1]){let a=W(`${i[1]}`);if(a){let s=bp[n[1]](a,n[2]);s&&(i[1]=v(s))}}}),o)}}}}var kl=(e,{theme:t})=>{let r=e.match(/^(.*)\b(placeholder-)(.+)$/);if(r){let[,n="",o,i]=r;if(ge(i,t,"accentColor")||xp(i))return{matcher:`${n}placeholder-$ ${o}${i}`}}};function xp(e){let t=e.match(/^op(?:acity)?-?(.+)$/);return t&&t[1]!=null?l.bracket.percent(t[1])!=null:!1}function wl(e){return[kl,hl,...Nn(e),...pl,...ml,...dl,...Fc,...Wc,...gl,vl()]}var Sl=(e={})=>(e.important=e.important??!1,{...bn(e),name:"@unocss/preset-wind3",theme:Vc,rules:sc,shortcuts:cc,variants:wl(e),postprocess:Ga(e)});var yp=(e={})=>({...Sl(e),name:"@unocss/preset-uno"}),Cl=yp;window.__unocss_runtime=window.__unocss_runtime??{};window.__unocss_runtime.presets=Object.assign(window.__unocss_runtime?.presets??{},{presetUno:e=>Cl(e)});})();
|
|
10
|
+
`?i=!0:d!=="\r"&&i&&(i=!1,s===c.start||(this._splitChunk(c,s),c=c.next),c.prependRight(t))}s+=1}s=c.end,c=c.next}return this.outro=this.outro.replace(n,a),this}insert(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")}insertLeft(t,r){return $e.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),$e.insertLeft=!0),this.appendLeft(t,r)}insertRight(t,r){return $e.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),$e.insertRight=!0),this.prependRight(t,r)}move(t,r,n){if(t=t+this.offset,r=r+this.offset,n=n+this.offset,n>=t&&n<=r)throw new Error("Cannot move a selection inside itself");this._split(t),this._split(r),this._split(n);let o=this.byStart[t],i=this.byEnd[r],a=o.previous,s=i.next,c=this.byStart[n];if(!c&&i===this.lastChunk)return this;let u=c?c.previous:this.lastChunk;return a&&(a.next=s),s&&(s.previous=a),u&&(u.next=o),c&&(c.previous=i),o.previous||(this.firstChunk=i.next),i.next||(this.lastChunk=o.previous,this.lastChunk.next=null),o.previous=u,i.next=c||null,u||(this.firstChunk=o),c||(this.lastChunk=i),this}overwrite(t,r,n,o){return o=o||{},this.update(t,r,n,{...o,overwrite:!o.contentOnly})}update(t,r,n,o){if(t=t+this.offset,r=r+this.offset,typeof n!="string")throw new TypeError("replacement content must be a string");if(this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}if(r>this.original.length)throw new Error("end is out of bounds");if(t===r)throw new Error("Cannot overwrite a zero-length range \u2013 use appendLeft or prependRight instead");this._split(t),this._split(r),o===!0&&($e.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),$e.storeName=!0),o={storeName:!0});let i=o!==void 0?o.storeName:!1,a=o!==void 0?o.overwrite:!1;if(i){let u=this.original.slice(t,r);Object.defineProperty(this.storedNames,u,{writable:!0,value:!0,enumerable:!0})}let s=this.byStart[t],c=this.byEnd[r];if(s){let u=s;for(;u!==c;){if(u.next!==this.byStart[u.end])throw new Error("Cannot overwrite across a split point");u=u.next,u.edit("",!1)}s.edit(n,i,!a)}else{let u=new $t(t,r,"").edit(n,i);c.next=u,u.previous=c}return this}prepend(t){if(typeof t!="string")throw new TypeError("outro content must be a string");return this.intro=t+this.intro,this}prependLeft(t,r){if(t=t+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);let n=this.byEnd[t];return n?n.prependLeft(r):this.intro=r+this.intro,this}prependRight(t,r){if(t=t+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);let n=this.byStart[t];return n?n.prependRight(r):this.outro=r+this.outro,this}remove(t,r){if(t=t+this.offset,r=r+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}if(t===r)return this;if(t<0||r>this.original.length)throw new Error("Character is out of bounds");if(t>r)throw new Error("end must be greater than start");this._split(t),this._split(r);let n=this.byStart[t];for(;n;)n.intro="",n.outro="",n.edit(""),n=r>n.end?this.byStart[n.end]:null;return this}reset(t,r){if(t=t+this.offset,r=r+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}if(t===r)return this;if(t<0||r>this.original.length)throw new Error("Character is out of bounds");if(t>r)throw new Error("end must be greater than start");this._split(t),this._split(r);let n=this.byStart[t];for(;n;)n.reset(),n=r>n.end?this.byStart[n.end]:null;return this}lastChar(){if(this.outro.length)return this.outro[this.outro.length-1];let t=this.lastChunk;do{if(t.outro.length)return t.outro[t.outro.length-1];if(t.content.length)return t.content[t.content.length-1];if(t.intro.length)return t.intro[t.intro.length-1]}while(t=t.previous);return this.intro.length?this.intro[this.intro.length-1]:""}lastLine(){let t=this.outro.lastIndexOf(Ae);if(t!==-1)return this.outro.substr(t+1);let r=this.outro,n=this.lastChunk;do{if(n.outro.length>0){if(t=n.outro.lastIndexOf(Ae),t!==-1)return n.outro.substr(t+1)+r;r=n.outro+r}if(n.content.length>0){if(t=n.content.lastIndexOf(Ae),t!==-1)return n.content.substr(t+1)+r;r=n.content+r}if(n.intro.length>0){if(t=n.intro.lastIndexOf(Ae),t!==-1)return n.intro.substr(t+1)+r;r=n.intro+r}}while(n=n.previous);return t=this.intro.lastIndexOf(Ae),t!==-1?this.intro.substr(t+1)+r:this.intro+r}slice(t=0,r=this.original.length-this.offset){if(t=t+this.offset,r=r+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}let n="",o=this.firstChunk;for(;o&&(o.start>t||o.end<=t);){if(o.start<r&&o.end>=r)return n;o=o.next}if(o&&o.edited&&o.start!==t)throw new Error(`Cannot use replaced character ${t} as slice start anchor.`);let i=o;for(;o;){o.intro&&(i!==o||o.start===t)&&(n+=o.intro);let a=o.start<r&&o.end>=r;if(a&&o.edited&&o.end!==r)throw new Error(`Cannot use replaced character ${r} as slice end anchor.`);let s=i===o?t-o.start:0,c=a?o.content.length+r-o.end:o.content.length;if(n+=o.content.slice(s,c),o.outro&&(!a||o.end===r)&&(n+=o.outro),a)break;o=o.next}return n}snip(t,r){let n=this.clone();return n.remove(0,t),n.remove(r,n.original.length),n}_split(t){if(this.byStart[t]||this.byEnd[t])return;let r=this.lastSearchedChunk,n=r,o=t>r.end;for(;r;){if(r.contains(t))return this._splitChunk(r,t);if(r=o?this.byStart[r.end]:this.byEnd[r.start],r===n)return;n=r}}_splitChunk(t,r){if(t.edited&&t.content.length){let o=oo(this.original)(r);throw new Error(`Cannot split a chunk that has already been edited (${o.line}:${o.column} \u2013 "${t.original}")`)}let n=t.split(r);return this.byEnd[r]=t,this.byStart[r]=n,this.byEnd[n.end]=n,t===this.lastChunk&&(this.lastChunk=n),this.lastSearchedChunk=t,!0}toString(){let t=this.intro,r=this.firstChunk;for(;r;)t+=r.toString(),r=r.next;return t+this.outro}isEmpty(){let t=this.firstChunk;do if(t.intro.length&&t.intro.trim()||t.content.length&&t.content.trim()||t.outro.length&&t.outro.trim())return!1;while(t=t.next);return!0}length(){let t=this.firstChunk,r=0;do r+=t.intro.length+t.content.length+t.outro.length;while(t=t.next);return r}trimLines(){return this.trim("[\\r\\n]")}trim(t){return this.trimStart(t).trimEnd(t)}trimEndAborted(t){let r=new RegExp((t||"\\s")+"+$");if(this.outro=this.outro.replace(r,""),this.outro.length)return!0;let n=this.lastChunk;do{let o=n.end,i=n.trimEnd(r);if(n.end!==o&&(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),i)return!0;n=n.previous}while(n);return!1}trimEnd(t){return this.trimEndAborted(t),this}trimStartAborted(t){let r=new RegExp("^"+(t||"\\s")+"+");if(this.intro=this.intro.replace(r,""),this.intro.length)return!0;let n=this.firstChunk;do{let o=n.end,i=n.trimStart(r);if(n.end!==o&&(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),i)return!0;n=n.next}while(n);return!1}trimStart(t){return this.trimStartAborted(t),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(t,r){function n(i,a){return typeof r=="string"?r.replace(/\$(\$|&|\d+)/g,(s,c)=>c==="$"?"$":c==="&"?i[0]:+c<i.length?i[+c]:`$${c}`):r(...i,i.index,a,i.groups)}function o(i,a){let s,c=[];for(;s=i.exec(a);)c.push(s);return c}if(t.global)o(t,this.original).forEach(a=>{if(a.index!=null){let s=n(a,this.original);s!==a[0]&&this.overwrite(a.index,a.index+a[0].length,s)}});else{let i=this.original.match(t);if(i&&i.index!=null){let a=n(i,this.original);a!==i[0]&&this.overwrite(i.index,i.index+i[0].length,a)}}return this}_replaceString(t,r){let{original:n}=this,o=n.indexOf(t);return o!==-1&&(typeof r=="function"&&(r=r(t,o,n)),t!==r&&this.overwrite(o,o+t.length,r)),this}replace(t,r){return typeof t=="string"?this._replaceString(t,r):this._replaceRegexp(t,r)}_replaceAllString(t,r){let{original:n}=this,o=t.length;for(let i=n.indexOf(t);i!==-1;i=n.indexOf(t,i+o)){let a=n.slice(i,i+o),s=r;typeof r=="function"&&(s=r(a,i,n)),a!==s&&this.overwrite(i,i+o,s)}return this}replaceAll(t,r){if(typeof t=="string")return this._replaceAllString(t,r);if(!t.global)throw new TypeError("MagicString.prototype.replaceAll called with a non-global RegExp argument");return this._replaceRegexp(t,r)}};var of=/theme\(\s*(['"])?(.*?)\1?\s*\)/g;function kt(e){return e.includes("theme(")&&e.includes(")")}function wt(e,t,r=!0){let n=Array.from(e.toString().matchAll(of));if(!n.length)return e;let o=new vt(e);for(let i of n){let a=i[2];if(!a)throw new Error("theme() expect exact one argument, but got 0");let s=af(a,t,r);s&&o.overwrite(i.index,i.index+i[0].length,s)}return o.toString()}function af(e,t,r=!0){let[n,o]=e.split("/"),a=n.trim().split(".").reduce((s,c)=>s?.[c],t);if(typeof a=="object"&&(a=a.DEFAULT),typeof a=="string"){if(o){let s=W(a);s&&(a=v(s,o))}return a}else if(r)throw new Error(`theme of "${e}" did not found`)}function ve(e){let t=e.match(/^-?\d+\.?\d*/)?.[0]||"",r=e.slice(t.length);if(r==="px"){let n=Number.parseFloat(t)-.1;return Number.isNaN(n)?e:`${n}${r}`}return`calc(${e} - 0.1px)`}function St(e){let t=function(n,o){let i=this.__options?.sequence||[];this.__options.sequence=[];for(let a of i){let s=e[a](n,o);if(s!=null)return s}};function r(n,o){return n.__options||(n.__options={sequence:[]}),n.__options.sequence.push(o),n}for(let n of Object.keys(e))Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get(){return r(this,n)}});return t}var Pe="__pseudo_placeholder__",ke=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(${Pe})`],["nth-last",`:nth-last-child(${Pe})`],["nth-last-of-type",`:nth-last-of-type(${Pe})`],["nth-of-type",`:nth-of-type(${Pe})`],"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}`])),co=Object.keys(ke),we=Object.fromEntries([["backdrop","::backdrop"]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),lo=Object.keys(we),sf=["not","is","where","has"],fo=Object.fromEntries([["selection",["::selection"," *::selection"]],["marker",["::marker"," *::marker"]]]),Ur=Object.entries(ke).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),Ir=Object.entries(we).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),pe=sf.join("|"),io=Object.keys(fo).sort((e,t)=>t.length-e.length).join("|"),cf=["::-webkit-resizer","::-webkit-scrollbar","::-webkit-scrollbar-button","::-webkit-scrollbar-corner","::-webkit-scrollbar-thumb","::-webkit-scrollbar-track","::-webkit-scrollbar-track-piece","::file-selector-button"],ao=Object.entries(ke).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),so=Object.entries(we).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|");function lf(e,t,r,n){let{h:o,variantGetBracket:i}=n,a=new RegExp(`^(${A(t)}:)(\\S+)${A(r)}\\1`),s,c,u,d,h=p=>{let x=i(`${e}-`,p,[]);if(!x)return;let[L,O]=x,w=o.bracket(L);if(w==null)return;let y=O.split(s,1)?.[0]??"",H=`${t}${B(y)}`;return[y,p.slice(p.length-(O.length-y.length-1)),w.includes("&")?w.replace(/&/g,H):`${H}${w}`]},g=p=>{let x=p.match(c)||p.match(u);if(!x)return;let[L,O,w]=x,y=x[3]??"",H=ke[w]||we[w]||`:${w}`;return O&&(H=`:${O}(${H})`),[y,p.slice(L.length),`${t}${B(y)}${H}`,w]},m=p=>{let x=p.match(d);if(!x)return;let[L,O,w]=x,y=x[3]??"",H=`:${O}(${w})`;return[y,p.slice(L.length),`${t}${B(y)}${H}`]};return{name:`pseudo:${e}`,match(p,x){if(s&&c&&u||(s=new RegExp(`(?:${x.generator.config.separators.join("|")})`),c=new RegExp(`^${e}-(?:(?:(${pe})-)?(${Ur}))(?:(/[\\w-]+))?(?:${x.generator.config.separators.join("|")})`),u=new RegExp(`^${e}-(?:(?:(${pe})-)?(${Ir}))(?:(/[\\w-]+))?(?:${x.generator.config.separators.filter(xe=>xe!=="-").join("|")})`),d=new RegExp(`^${e}-(?:(${pe})-)?\\[(.+)\\](?:(/[\\w-]+))?(?:${x.generator.config.separators.filter(xe=>xe!=="-").join("|")})`)),!p.startsWith(e))return;let L=h(p)||g(p)||m(p);if(!L)return;let[O,w,y,H=""]=L;return{matcher:w,handle:(xe,Rl)=>Rl({...xe,prefix:`${y}${r}${xe.prefix}`.replace(a,"$1$2:"),sort:co.indexOf(H)??lo.indexOf(H)})}},multiPass:!0}}function Ct(e){let{h:t}=e,r,n,o;return[{name:"pseudo",match(i,a){r&&n||(r=new RegExp(`^(${ao})(?:-(\\d+|\\[(\\w|[+-.])+\\]))?(?:${a.generator.config.separators.join("|")})`),n=new RegExp(`^(${so})(?:${a.generator.config.separators.filter(c=>c!=="-").join("|")})`));let s=i.match(r)||i.match(n);if(s){let c=ke[s[1]]||we[s[1]]||`:${s[1]}`;if(s[2]){let d;s[2].startsWith("[")&&s[2].endsWith("]")?d=t.bracket(s[2]):d=s[2],d&&(c=c.replace(Pe,d))}let u=co.indexOf(s[1]);return u===-1&&(u=lo.indexOf(s[1])),u===-1&&(u=void 0),{matcher:i.slice(s[0].length),handle:(d,h)=>{let g=c.includes("::")&&!cf.includes(c)?{pseudo:`${d.pseudo}${c}`}:{selector:`${d.selector}${c}`};return h({...d,...g,sort:u,noMerge:!0})}}}},multiPass:!0,autocomplete:`(${ao}|${so}):`},{name:"pseudo:multi",match(i,a){o||(o=new RegExp(`^(${io})(?:${a.generator.config.separators.join("|")})`));let s=i.match(o);if(s)return fo[s[1]].map(u=>({matcher:i.slice(s[0].length),handle:(d,h)=>h({...d,pseudo:`${d.pseudo}${u}`})}))},multiPass:!1,autocomplete:`(${io}):`}]}function Rt(e){let{getBracket:t,h:r}=e,n,o,i;return{match(a,s){n&&o||(n=new RegExp(`^(${pe})-(${Ur})(?:${s.generator.config.separators.join("|")})`),o=new RegExp(`^(${pe})-(${Ir})(?:${s.generator.config.separators.filter(u=>u!=="-").join("|")})`),i=new RegExp(`^(${pe})-(\\[.+\\])(?:${s.generator.config.separators.filter(u=>u!=="-").join("|")})`));let c=a.match(n)||a.match(o)||a.match(i);if(c){let u=c[1],h=t(c[2],"[","]")?r.bracket(c[2]):ke[c[2]]||we[c[2]]||`:${c[2]}`;return{matcher:a.slice(c[0].length),selector:g=>`${g}:${u}(${h})`}}},multiPass:!0,autocomplete:`(${pe})-(${Ur}|${Ir}):`}}function zt(e,t){let r=!!e?.attributifyPseudo,n=e?.prefix??"";n=(Array.isArray(n)?n:[n]).filter(Boolean)[0]??"";let o=(i,a)=>lf(i,r?`[${n}${i}=""]`:`.${n}${i}`,a,t);return[o("group"," "),o("peer","~"),o("parent",">"),o("previous","+")]}var ff=/(part-\[(.+)\]:)(.+)/;function jt(){return{match(e){let t=e.match(ff);if(t){let r=`part(${t[2]})`;return{matcher:e.slice(t[1].length),selector:n=>`${n}::${r}`}}},multiPass:!0}}function T(e,t,r={}){let n;return{name:e,match(o,i){n||(n=new RegExp(`^${A(e)}(?:${i.generator.config.separators.join("|")})`));let a=o.match(n);if(a){let s=o.slice(a[0].length),c=E(t).map(u=>({matcher:s,handle:(d,h)=>h({...d,...u(d)}),...r}));return c.length===1?c[0]:c}},autocomplete:`${e}:`}}function P(e,t){let r;return{name:e,match(n,o){r||(r=new RegExp(`^${A(e)}(?:${o.generator.config.separators.join("|")})`));let i=n.match(r);if(i)return{matcher:n.slice(i[0].length),handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}${t}`})}},autocomplete:`${e}:`}}function _(e,t,r){if(t.startsWith(`${e}[`)){let[n,o]=U(t.slice(e.length),"[","]")??[];if(n&&o){for(let i of r)if(o.startsWith(i))return[n,o.slice(i.length),i];return[n,o,""]}}}function k(e,t,r){for(let n of E(e))if(t.startsWith(n)){let o=_(n,t,r);if(o){let[i="",a=o[1]]=k("/",o[1],r)??[];return[o[0],a,i]}for(let i of r.filter(a=>a!=="/")){let a=t.indexOf(i,n.length);if(a!==-1){let s=t.indexOf("/",n.length),c=s===-1||a<=s;return[t.slice(n.length,c?a:s),t.slice(a+i.length),c?"":t.slice(s+1,a)]}}}}var Hr={};jl(Hr,{auto:()=>df,bracket:()=>yf,bracketOfColor:()=>$f,bracketOfLength:()=>vf,bracketOfPosition:()=>kf,cssvar:()=>wf,degree:()=>Cf,fraction:()=>xf,global:()=>Rf,number:()=>gf,numberWithUnit:()=>pf,percent:()=>bf,position:()=>jf,properties:()=>zf,px:()=>hf,rem:()=>mf,time:()=>Sf});var I={l:["-left"],r:["-right"],t:["-top"],b:["-bottom"],s:["-inline-start"],e:["-inline-end"],x:["-left","-right"],y:["-top","-bottom"],"":[""],bs:["-block-start"],be:["-block-end"],is:["-inline-start"],ie:["-inline-end"],block:["-block-start","-block-end"],inline:["-inline-start","-inline-end"]},Dr={...I,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"]},Nr={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"]},po={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},mo=["x","y","z"],uo=["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"],Ve=Object.assign({},...uo.map(e=>({[e.replace(/ /,"-")]:e})),...uo.map(e=>({[e.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:e}))),C=["inherit","initial","revert","revert-layer","unset"],Fe=/^(calc|clamp|min|max)\s*\((.+)\)(.*)/,ho=/^(var)\s*\((.+)\)(.*)/;var Se=/^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i,qr=/^(-?\d*(?:\.\d+)?)$/,Kr=/^(px|[sld]?v[wh])$/i,Gr={px:1,vw:100,vh:100,svw:100,svh:100,dvw:100,dvh:100,lvh:100,lvw:100},Et=/^\[(color|image|length|size|position|quoted|string):/i,go=/,(?![^()]*\))/g;var uf=["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 q(e){return+e.toFixed(10)}function pf(e){let t=e.match(Se);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(n&&!Number.isNaN(o))return`${q(o)}${n}`}function df(e){if(e==="auto"||e==="a")return"auto"}function mf(e){if(!e)return;if(Kr.test(e))return`${Gr[e]}${e}`;let t=e.match(Se);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0":n?`${q(o)}${n}`:`${q(o/4)}rem`}function hf(e){if(Kr.test(e))return`${Gr[e]}${e}`;let t=e.match(Se);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return n?`${q(o)}${n}`:`${q(o)}px`}function gf(e){if(!qr.test(e))return;let t=Number.parseFloat(e);if(!Number.isNaN(t))return q(t)}function bf(e){if(e.endsWith("%")&&(e=e.slice(0,-1)),!qr.test(e))return;let t=Number.parseFloat(e);if(!Number.isNaN(t))return`${q(t/100)}`}function xf(e){if(!e)return;if(e==="full")return"100%";let[t,r]=e.split("/"),n=Number.parseFloat(t)/Number.parseFloat(r);if(!Number.isNaN(n))return n===0?"0":`${q(n*100)}%`}function Tt(e,t){if(e&&e.startsWith("[")&&e.endsWith("]")){let r,n,o=e.match(Et);if(o?(t||(n=o[1]),r=e.slice(o[0].length,-1)):r=e.slice(1,-1),!r||r==='=""')return;r.startsWith("--")&&(r=`var(${r})`);let i=0;for(let a of r)if(a==="[")i+=1;else if(a==="]"&&(i-=1,i<0))return;if(i)return;switch(n){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,a=>a.replace(/_/g,"\\_")).replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_").replace(/(?:calc|clamp|max|min)\((.*)/g,a=>{let s=[];return a.replace(/var\((--.+?)[,)]/g,(c,u)=>(s.push(u),c.replace(u,"--un-calc"))).replace(/(-?\d*\.?\d(?!-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 ").replace(/--un-calc/g,()=>s.shift())})}}function yf(e){return Tt(e)}function $f(e){return Tt(e,"color")}function vf(e){return Tt(e,"length")}function kf(e){return Tt(e,"position")}function wf(e){if(/^\$[^\s'"`;{}]/.test(e)){let[t,r]=e.slice(1).split(",");return`var(--${B(t)}${r?`, ${r}`:""})`}}function Sf(e){let t=e.match(/^(-?[0-9.]+)(s|ms)?$/i);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0&&!n?"0s":n?`${q(o)}${n}`:`${q(o)}ms`}function Cf(e){let t=e.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0deg":n?`${q(o)}${n}`:`${q(o)}deg`}function Rf(e){if(C.includes(e))return e}function zf(e){if(e.split(",").every(t=>uf.includes(t)))return e}function jf(e){if(["top","left","right","bottom","center"].includes(e))return e}var Ef=St(Hr),f=Ef;var 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(C.map(e=>[e,e]))},yo=[[/^(?:vertical|align|v)-(.+)$/,([,e])=>({"vertical-align":bo[e]??f.bracket.cssvar.numberWithUnit(e)}),{autocomplete:[`(vertical|align|v)-(${Object.keys(bo).join("|")})`,"(vertical|align|v)-<percentage>"]}]],xo=["center","left","right","justify","start","end"],$o=[...xo.map(e=>[`text-${e}`,{"text-align":e}]),...[...C,...xo].map(e=>[`text-align-${e}`,{"text-align":e}])];var So="$$mini-no-negative";function D(e){return([t,r,n],{theme:o})=>{let i=o.spacing?.[n||"DEFAULT"]??f.bracket.cssvar.global.auto.fraction.rem(n);if(i!=null)return I[r].map(a=>[`${e}${a}`,i]);if(n?.startsWith("-")){let a=o.spacing?.[n.slice(1)];if(a!=null)return I[r].map(s=>[`${e}${s}`,`calc(${a} * -1)`])}}}function vo(e,t,r="colors"){let n=e[r],o=-1;for(let i of t){if(o+=1,n&&typeof n!="string"){let a=t.slice(o).join("-").replace(/(-[a-z])/g,s=>s.slice(1).toUpperCase());if(n[a])return n[a];if(n[i]){n=n[i];continue}}return}return n}function ko(e,t,r){return vo(e,t,r)||vo(e,t,"colors")}function Yr(e,t){let[r,n]=X(e,"[","]",["/",":"])??[];if(r!=null){let o=(r.match(Et)??[])[1];if(o==null||o===t)return[r,n]}}function Ot(e,t,r){let n=Yr(e,"color");if(!n)return;let[o,i]=n,a=o.replace(/([a-z])(\d)/g,"$1-$2").split(/-/g),[s]=a;if(!s)return;let c,u=f.bracketOfColor(o),d=u||o;if(f.numberWithUnit(d))return;if(/^#[\da-f]+$/i.test(d)?c=d:/^hex-[\da-fA-F]+$/.test(d)?c=`#${d.slice(4)}`:o.startsWith("$")&&(c=f.cssvar(o)),c=c||u,!c){let g=ko(t,[o],r);typeof g=="string"&&(c=g)}let h="DEFAULT";if(!c){let g=a,m,[p]=a.slice(-1);/^\d+$/.test(p)&&(h=m=p,g=a.slice(0,-1));let x=ko(t,g,r);typeof x=="object"?c=x[m??h]:typeof x=="string"&&!m&&(c=x)}return{opacity:i,name:s,no:h,color:c,cssColor:W(c),alpha:f.bracket.cssvar.percent(i??"")}}function V(e,t,r,n){return([,o],{theme:i,generator:a})=>{let s=Ot(o??"",i,r);if(!s)return;let{alpha:c,color:u,cssColor:d}=s,g=a.config.envMode==="dev"&&u?` /* ${u} */`:"",m={};if(d)if(c!=null)m[e]=v(d,c)+g;else{let p=`--un-${t}-opacity`,x=v(d,`var(${p})`);x.includes(p)&&(m[p]=N(d)),m[e]=x+g}else if(u)if(c!=null)m[e]=v(u,c)+g;else{let p=`--un-${t}-opacity`,x=v(u,`var(${p})`);x.includes(p)&&(m[p]=1),m[e]=x+g}if(n?.(m)!==!1)return m}}function At(e,t){let r=[];e=E(e);for(let n=0;n<e.length;n++){let o=se(e[n]," ",6);if(!o||o.length<3)return e;let i=!1,a=o.indexOf("inset");a!==-1&&(o.splice(a,1),i=!0);let s="",c=o.at(-1);if(W(o.at(0))){let u=W(o.shift());u&&(s=`, ${v(u)}`)}else if(W(c)){let u=W(o.pop());u&&(s=`, ${v(u)}`)}else c&&c.startsWith("var(")&&(s=`, ${o.pop()}`);r.push(`${i?"inset ":""}${o.join(" ")} var(${t}${s})`)}return r}function Pt(e,t,r){return e!=null&&!!Ot(e,t,r)?.color}var wo=/[a-z]+/gi,Xr=new WeakMap;function Vt({theme:e,generator:t},r="breakpoints"){let n=t?.userConfig?.theme?.[r]||e[r];if(!n)return;if(Xr.has(e))return Xr.get(e);let o=Object.entries(n).sort((i,a)=>Number.parseInt(i[1].replace(wo,""))-Number.parseInt(a[1].replace(wo,""))).map(([i,a])=>({point:i,size:a}));return Xr.set(e,o),o}function z(e,t){return C.map(r=>[`${e}-${r}`,{[t??e]:r}])}function K(e){return e!=null&&Fe.test(e)}function Co(e){return e[0]==="["&&e.slice(-1)==="]"&&(e=e.slice(1,-1)),Fe.test(e)||Se.test(e)}function Ft(e,t,r){let n=t.split(go);return e||!e&&n.length===1?po[e].map(o=>[`--un-${r}${o}`,t]):n.map((o,i)=>[`--un-${r}-${mo[i]}`,o])}var Ro=[[/^outline-(?:width-|size-)?(.+)$/,zo,{autocomplete:"outline-(width|size)-<num>"}],[/^outline-(?:color-)?(.+)$/,Tf,{autocomplete:"outline-$colors"}],[/^outline-offset-(.+)$/,([,e],{theme:t})=>({"outline-offset":t.lineWidth?.[e]??f.bracket.cssvar.global.px(e)}),{autocomplete:"outline-(offset)-<num>"}],["outline",{"outline-style":"solid"}],...["auto","dashed","dotted","double","hidden","solid","groove","ridge","inset","outset",...C].map(e=>[`outline-${e}`,{"outline-style":e}]),["outline-none",{outline:"2px solid transparent","outline-offset":"2px"}]];function zo([,e],{theme:t}){return{"outline-width":t.lineWidth?.[e]??f.bracket.cssvar.global.px(e)}}function Tf(e,t){return K(f.bracket(e[1]))?zo(e,t):V("outline-color","outline-color","borderColor")(e,t)}var jo=[["appearance-auto",{"-webkit-appearance":"auto",appearance:"auto"}],["appearance-none",{"-webkit-appearance":"none",appearance:"none"}]];function Of(e){return f.properties.auto.global(e)??{contents:"contents",scroll:"scroll-position"}[e]}var Eo=[[/^will-change-(.+)/,([,e])=>({"will-change":Of(e)})]];var Be=["solid","dashed","dotted","double","hidden","none","groove","ridge","inset","outset",...C],Oo=[[/^(?:border|b)()(?:-(.+))?$/,Y,{autocomplete:"(border|b)-<directions>"}],[/^(?:border|b)-([xy])(?:-(.+))?$/,Y],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,Y],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,Y],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,Y],[/^(?:border|b)-()(?:width|size)-(.+)$/,Y,{autocomplete:["(border|b)-<num>","(border|b)-<directions>-<num>"]}],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,Y],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,Y],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,Y],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,Y],[/^(?:border|b)-()(?:color-)?(.+)$/,We,{autocomplete:["(border|b)-$colors","(border|b)-<directions>-$colors"]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,We],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,We],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,We],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,We],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,_e,{autocomplete:"(border|b)-(op|opacity)-<percent>"}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,_e],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,_e],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,_e],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,_e],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,Me,{autocomplete:["(border|b)-(rounded|rd)","(border|b)-(rounded|rd)-$borderRadius","(rounded|rd)","(rounded|rd)-$borderRadius"]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltbse])(?:-(.+))?$/,Me],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,Me],[/^(?:border-|b-)?(?:rounded|rd)-([bise][se])(?:-(.+))?$/,Me],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,Me],[/^(?:border|b)-(?:style-)?()(.+)$/,Le,{autocomplete:["(border|b)-style",`(border|b)-(${Be.join("|")})`,"(border|b)-<directions>-style",`(border|b)-<directions>-(${Be.join("|")})`,`(border|b)-<directions>-style-(${Be.join("|")})`,`(border|b)-style-(${Be.join("|")})`]}],[/^(?:border|b)-([xy])-(?:style-)?(.+)$/,Le],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,Le],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,Le],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,Le]];function To(e,t,r){if(t!=null)return{[`border${r}-color`]:v(e,t)};if(r===""){let n={},o="--un-border-opacity",i=v(e,`var(${o})`);return i.includes(o)&&(n[o]=typeof e=="string"?1:N(e)),n["border-color"]=i,n}else{let n={},o="--un-border-opacity",i=`--un-border${r}-opacity`,a=v(e,`var(${i})`);return a.includes(i)&&(n[o]=typeof e=="string"?1:N(e),n[i]=`var(${o})`),n[`border${r}-color`]=a,n}}function Af(e){return([,t],r)=>{let n=Ot(t,r,"borderColor");if(!n)return;let{alpha:o,color:i,cssColor:a}=n;if(a)return To(a,o,e);if(i)return To(i,o,e)}}function Y([,e="",t],{theme:r}){let n=r.lineWidth?.[t||"DEFAULT"]??f.bracket.cssvar.global.px(t||"1");if(e in I&&n!=null)return I[e].map(o=>[`border${o}-width`,n])}function We([,e="",t],r){if(e in I){if(K(f.bracket(t)))return Y(["",e,t],r);if(Pt(t,r.theme,"borderColor"))return Object.assign({},...I[e].map(n=>Af(n)(["",t],r.theme)))}}function _e([,e="",t]){let r=f.bracket.percent.cssvar(t);if(e in I&&r!=null)return I[e].map(n=>[`--un-border${n}-opacity`,r])}function Me([,e="",t],{theme:r}){let n=r.borderRadius?.[t||"DEFAULT"]||f.bracket.cssvar.global.fraction.rem(t||"1");if(e in Nr&&n!=null)return Nr[e].map(o=>[`border${o}-radius`,n])}function Le([,e="",t]){if(Be.includes(t)&&e in I)return I[e].map(r=>[`border${r}-style`,t])}var Ao=[[/^op(?:acity)?-?(.+)$/,([,e])=>({opacity:f.bracket.percent.cssvar(e)})]],Pf=/^\[url\(.+\)\]$/,Vf=/^\[(?:length|size):.+\]$/,Ff=/^\[position:.+\]$/,Wf=/^\[(?:linear|conic|radial)-gradient\(.+\)\]$/,_f=/^\[image:.+\]$/,Po=[[/^bg-(.+)$/,(...e)=>{let t=e[0][1];if(Pf.test(t))return{"--un-url":f.bracket(t),"background-image":"var(--un-url)"};if(Vf.test(t)&&f.bracketOfLength(t)!=null)return{"background-size":f.bracketOfLength(t).split(" ").map(r=>f.fraction.auto.px.cssvar(r)??r).join(" ")};if((Co(t)||Ff.test(t))&&f.bracketOfPosition(t)!=null)return{"background-position":f.bracketOfPosition(t).split(" ").map(r=>f.position.fraction.auto.px.cssvar(r)??r).join(" ")};if(Wf.test(t)||_f.test(t)){let r=f.bracket(t);if(r)return{"background-image":(r.startsWith("http")?`url(${r})`:f.cssvar(r))??r}}return V("background-color","bg","backgroundColor")(...e)},{autocomplete:"bg-$colors"}],[/^bg-op(?:acity)?-?(.+)$/,([,e])=>({"--un-bg-opacity":f.bracket.percent.cssvar(e)}),{autocomplete:"bg-(op|opacity)-<percent>"}]],Vo=[[/^color-scheme-(\w+)$/,([,e])=>({"color-scheme":e})]];var Fo=[[/^@container(?:\/(\w+))?(?:-(normal|inline-size|size))?$/,([,e,t])=>({"container-type":t??"inline-size","container-name":e})]];var Wo=["solid","double","dotted","dashed","wavy",...C],_o=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,e])=>({"text-decoration-line":e}),{autocomplete:"decoration-(underline|overline|line-through)"}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,Mo,{autocomplete:"(underline|decoration)-<num>"}],[/^(?:underline|decoration)-(auto|from-font)$/,([,e])=>({"text-decoration-thickness":e}),{autocomplete:"(underline|decoration)-(auto|from-font)"}],[/^(?:underline|decoration)-(.+)$/,Mf,{autocomplete:"(underline|decoration)-$colors"}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-line-opacity":f.bracket.percent.cssvar(e)}),{autocomplete:"(underline|decoration)-(op|opacity)-<percent>"}],[/^(?:underline|decoration)-offset-(.+)$/,([,e],{theme:t})=>({"text-underline-offset":t.lineWidth?.[e]??f.auto.bracket.cssvar.global.px(e)}),{autocomplete:"(underline|decoration)-(offset)-<num>"}],...Wo.map(e=>[`underline-${e}`,{"text-decoration-style":e}]),...Wo.map(e=>[`decoration-${e}`,{"text-decoration-style":e}]),["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];function Mo([,e],{theme:t}){return{"text-decoration-thickness":t.lineWidth?.[e]??f.bracket.cssvar.global.px(e)}}function Mf(e,t){if(K(f.bracket(e[1])))return Mo(e,t);let r=V("text-decoration-color","line","borderColor")(e,t);if(r)return{"-webkit-text-decoration-color":r["text-decoration-color"],...r}}var Lo=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],[/^flex-(.*)$/,([,e])=>({flex:f.bracket(e)!=null?f.bracket(e).split(" ").map(t=>f.cssvar.fraction(t)??t).join(" "):f.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":f.bracket.cssvar.number(e)??1}),{autocomplete:["flex-shrink-<num>","shrink-<num>"]}],[/^(?:flex-)?grow(?:-(.*))?$/,([,e=""])=>({"flex-grow":f.bracket.cssvar.number(e)??1}),{autocomplete:["flex-grow-<num>","grow-<num>"]}],[/^(?:flex-)?basis-(.+)$/,([,e],{theme:t})=>({"flex-basis":t.spacing?.[e]??f.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"}]];var Lf={"":"",x:"column-",y:"row-",col:"column-",row:"row-"};function Zr([,e="",t],{theme:r}){let n=r.spacing?.[t]??f.bracket.cssvar.global.rem(t);if(n!=null)return{[`${Lf[e]}gap`]:n}}var Bo=[[/^(?:flex-|grid-)?gap-?()(.+)$/,Zr,{autocomplete:["gap-$spacing","gap-<num>"]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,Zr,{autocomplete:["gap-(x|y)-$spacing","gap-(x|y)-<num>"]}],[/^(?:flex-|grid-)?gap-(col|row)-?(.+)$/,Zr,{autocomplete:["gap-(col|row)-$spacing","gap-(col|row)-<num>"]}]];function J(e){return e.replace("col","column")}function Jr(e){return e[0]==="r"?"Row":"Column"}function Bf(e,t,r){let n=t[`gridAuto${Jr(e)}`]?.[r];if(n!=null)return n;switch(r){case"min":return"min-content";case"max":return"max-content";case"fr":return"minmax(0,1fr)"}return f.bracket.cssvar.auto.rem(r)}var Uo=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,e,t],{theme:r})=>({[`grid-${J(e)}`]:r[`grid${Jr(e)}`]?.[t]??f.bracket.cssvar.auto(t)})],[/^(?:grid-)?(row|col)-span-(.+)$/,([,e,t])=>{if(t==="full")return{[`grid-${J(e)}`]:"1/-1"};let r=f.bracket.number(t);if(r!=null)return{[`grid-${J(e)}`]:`span ${r}/span ${r}`}},{autocomplete:"(grid-row|grid-col|row|col)-span-<num>"}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,e,t])=>({[`grid-${J(e)}-start`]:f.bracket.cssvar(t)??t})],[/^(?:grid-)?(row|col)-end-(.+)$/,([,e,t])=>({[`grid-${J(e)}-end`]:f.bracket.cssvar(t)??t}),{autocomplete:"(grid-row|grid-col|row|col)-(start|end)-<num>"}],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,e,t],{theme:r})=>({[`grid-auto-${J(e)}`]:Bf(e,r,t)}),{autocomplete:"(grid-auto|auto)-(rows|cols)-<num>"}],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,e])=>({"grid-auto-flow":f.bracket.cssvar(e)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)$/,([,e])=>({"grid-auto-flow":J(e).replace("-"," ")}),{autocomplete:["(grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)"]}],[/^(?:grid-)?(rows|cols)-(.+)$/,([,e,t],{theme:r})=>({[`grid-template-${J(e)}`]:r[`gridTemplate${Jr(e)}`]?.[t]??f.bracket.cssvar(t)})],[/^(?:grid-)?(rows|cols)-minmax-([\w.-]+)$/,([,e,t])=>({[`grid-template-${J(e)}`]:`repeat(auto-fill,minmax(${t},1fr))`})],[/^(?:grid-)?(rows|cols)-(\d+)$/,([,e,t])=>({[`grid-template-${J(e)}`]:`repeat(${t},minmax(0,1fr))`}),{autocomplete:"(grid-rows|grid-cols|rows|cols)-<num>"}],[/^grid-area(s)?-(.+)$/,([,e,t])=>e!=null?{"grid-template-areas":f.cssvar(t)??t.split("-").map(r=>`"${f.bracket(r)}"`).join(" ")}:{"grid-area":f.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"}]];var Wt=["auto","hidden","clip","visible","scroll","overlay",...C],Io=[[/^(?:overflow|of)-(.+)$/,([,e])=>Wt.includes(e)?{overflow:e}:void 0,{autocomplete:[`(overflow|of)-(${Wt.join("|")})`,`(overflow|of)-(x|y)-(${Wt.join("|")})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,e,t])=>Wt.includes(t)?{[`overflow-${e}`]:t}:void 0]];var Do=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,e])=>({position:e}),{autocomplete:["(position|pos)-<position>","(position|pos)-<globalKeyword>","<position>"]}],[/^(?:position-|pos-)([-\w]+)$/,([,e])=>C.includes(e)?{position:e}:void 0],[/^(?:position-|pos-)?(static)$/,([,e])=>({position:e})]],en=[["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"}],...z("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"}],...z("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"}],...z("justify-self")],No=[[/^order-(.+)$/,([,e])=>({order:f.bracket.cssvar.number(e)})],["order-first",{order:"-9999"}],["order-last",{order:"9999"}],["order-none",{order:"0"}]],tn=[["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"}],...z("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"}],...z("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"}],...z("self","align-self")],rn=[["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"}],...z("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"}],...z("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"}],...z("place-self")],qo=[...en,...tn,...rn].flatMap(([e,t])=>[[`flex-${e}`,t],[`grid-${e}`,t]]);function Qr(e,{theme:t}){return t.spacing?.[e]??f.bracket.cssvar.global.auto.fraction.rem(e)}function Ue([,e,t],r){let n=Qr(t,r);if(n!=null&&e in Dr)return Dr[e].map(o=>[o.slice(1),n])}var Ko=[[/^(?:position-|pos-)?inset-(.+)$/,([,e],t)=>({inset:Qr(e,t)}),{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)-(.+)$/,Ue],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,Ue],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,Ue],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,Ue],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,Ue],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,e,t],r)=>({[e]:Qr(t,r)})]],Go=[["float-left",{float:"left"}],["float-right",{float:"right"}],["float-start",{float:"inline-start"}],["float-end",{float:"inline-end"}],["float-none",{float:"none"}],...z("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"}],...z("clear")],Ho=[[/^(?:position-|pos-)?z([\d.]+)$/,([,e])=>({"z-index":f.number(e)})],[/^(?:position-|pos-)?z-(.+)$/,([,e],{theme:t})=>({"z-index":t.zIndex?.[e]??f.bracket.cssvar.global.auto.number(e)}),{autocomplete:"z-<num>"}]],Xo=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}],...z("box","box-sizing")];var Yo=[[/^(where|\?)$/,(e,{constructCSS:t,generator:r})=>{if(r.userConfig.envMode==="dev")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"})}`}]];var Uf=["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"],If=["none","strict","content","size","inline-size","layout","style","paint"],_t=" ",Zo=[["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:f.bracket.cssvar.global(e)})]],Jo=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}],...z("backface","backface-visibility")],Qo=[[/^cursor-(.+)$/,([,e])=>({cursor:f.bracket.cssvar.global(e)})],...Uf.map(e=>[`cursor-${e}`,{cursor:e}])],ei=[[/^contain-(.*)$/,([,e])=>f.bracket(e)!=null?{contain:f.bracket(e).split(" ").map(t=>f.cssvar.fraction(t)??t).join(" ")}:If.includes(e)?{contain:e}:void 0]],ti=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}],...z("pointer-events")],ri=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}],...z("resize")],ni=[["select-auto",{"-webkit-user-select":"auto","user-select":"auto"}],["select-all",{"-webkit-user-select":"all","user-select":"all"}],["select-text",{"-webkit-user-select":"text","user-select":"text"}],["select-none",{"-webkit-user-select":"none","user-select":"none"}],...z("select","user-select")],oi=[[/^(?:whitespace-|ws-)([-\w]+)$/,([,e])=>["normal","nowrap","pre","pre-line","pre-wrap","break-spaces",...C].includes(e)?{"white-space":e}:void 0,{autocomplete:"(whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)"}]],ii=[[/^intrinsic-size-(.+)$/,([,e])=>({"contain-intrinsic-size":f.bracket.cssvar.global.fraction.rem(e)}),{autocomplete:"intrinsic-size-<num>"}],["content-visibility-visible",{"content-visibility":"visible"}],["content-visibility-hidden",{"content-visibility":"hidden"}],["content-visibility-auto",{"content-visibility":"auto"}],...z("content-visibility")],ai=[[/^content-(.+)$/,([,e])=>({content:f.bracket.cssvar(e)})],["content-empty",{content:'""'}],["content-none",{content:"none"}]],si=[["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"}]],ci=[["text-wrap",{"text-wrap":"wrap"}],["text-nowrap",{"text-wrap":"nowrap"}],["text-balance",{"text-wrap":"balance"}],["text-pretty",{"text-wrap":"pretty"}]],li=[["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"}]],fi=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}],...z("case","text-transform")],ui=[["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"}]],pi=[["antialiased",{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"}],["subpixel-antialiased",{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"}]],di=[["field-sizing-fixed",{"field-sizing":"fixed"}],["field-sizing-content",{"field-sizing":"content"}]];var nn={"--un-ring-inset":_t,"--un-ring-offset-width":"0px","--un-ring-offset-color":"#fff","--un-ring-width":"0px","--un-ring-color":"rgb(147 197 253 / 0.5)","--un-shadow":"0 0 rgb(0 0 0 / 0)"},Df=Object.keys(nn),mi=[[/^ring(?:-(.+))?$/,([,e],{theme:t})=>{let r=t.ringWidth?.[e||"DEFAULT"]??f.px(e||"1");if(r)return{"--un-ring-width":r,"--un-ring-offset-shadow":"var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color)","--un-ring-shadow":"var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color)","box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"}},{custom:{preflightKeys:Df},autocomplete:"ring-$ringWidth"}],[/^ring-(?:width-|size-)(.+)$/,hi,{autocomplete:"ring-(width|size)-$lineWidth"}],["ring-offset",{"--un-ring-offset-width":"1px"}],[/^ring-offset-(?:width-|size-)?(.+)$/,([,e],{theme:t})=>({"--un-ring-offset-width":t.lineWidth?.[e]??f.bracket.cssvar.px(e)}),{autocomplete:"ring-offset-(width|size)-$lineWidth"}],[/^ring-(.+)$/,Nf,{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-opacity":f.bracket.percent.cssvar(e)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^ring-offset-(.+)$/,V("--un-ring-offset-color","ring-offset","borderColor"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-offset-opacity":f.bracket.percent.cssvar(e)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]];function hi([,e],{theme:t}){return{"--un-ring-width":t.ringWidth?.[e]??f.bracket.cssvar.px(e)}}function Nf(e,t){return K(f.bracket(e[1]))?hi(e,t):V("--un-ring-color","ring","borderColor")(e,t)}var on={"--un-ring-offset-shadow":"0 0 rgb(0 0 0 / 0)","--un-ring-shadow":"0 0 rgb(0 0 0 / 0)","--un-shadow-inset":_t,"--un-shadow":"0 0 rgb(0 0 0 / 0)"},qf=Object.keys(on),gi=[[/^shadow(?:-(.+))?$/,(e,t)=>{let[,r]=e,{theme:n}=t,o=n.boxShadow?.[r||"DEFAULT"],i=r?f.bracket.cssvar(r):void 0;return(o!=null||i!=null)&&!Pt(i,n,"shadowColor")?{"--un-shadow":At(o||i,"--un-shadow-color").join(","),"box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"}:V("--un-shadow-color","shadow","shadowColor")(e,t)},{custom:{preflightKeys:qf},autocomplete:["shadow-$colors","shadow-$boxShadow"]}],[/^shadow-op(?:acity)?-?(.+)$/,([,e])=>({"--un-shadow-opacity":f.bracket.percent.cssvar(e)}),{autocomplete:"shadow-(op|opacity)-<percent>"}],["shadow-inset",{"--un-shadow-inset":"inset"}]];var Kf={h:"height",w:"width",inline:"inline-size",block:"block-size"};function de(e,t){return`${e||""}${Kf[t]}`}function Mt(e,t,r,n){let o=de(e,t).replace(/-(\w)/g,(a,s)=>s.toUpperCase()),i=r[o]?.[n];if(i!=null)return i;switch(n){case"fit":case"max":case"min":return`${n}-content`}return f.bracket.cssvar.global.auto.fraction.rem(n)}var xi=[[/^size-(min-|max-)?(.+)$/,([,e,t],{theme:r})=>({[de(e,"w")]:Mt(e,"w",r,t),[de(e,"h")]:Mt(e,"h",r,t)})],[/^(?:size-)?(min-|max-)?([wh])-?(.+)$/,([,e,t,r],{theme:n})=>({[de(e,t)]:Mt(e,t,n,r)})],[/^(?:size-)?(min-|max-)?(block|inline)-(.+)$/,([,e,t,r],{theme:n})=>({[de(e,t)]:Mt(e,t,n,r)}),{autocomplete:["(w|h)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(max|min)-(w|h|block|inline)","(max|min)-(w|h|block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(w|h)-full","(max|min)-(w|h)-full"]}],[/^(?:size-)?(min-|max-)?(h)-screen-(.+)$/,([,e,t,r],n)=>({[de(e,t)]:bi(n,r,"verticalBreakpoints")})],[/^(?:size-)?(min-|max-)?(w)-screen-(.+)$/,([,e,t,r],n)=>({[de(e,t)]:bi(n,r)}),{autocomplete:["(w|h)-screen","(min|max)-(w|h)-screen","h-screen-$verticalBreakpoints","(min|max)-h-screen-$verticalBreakpoints","w-screen-$breakpoints","(min|max)-w-screen-$breakpoints"]}]];function bi(e,t,r="breakpoints"){let n=Vt(e,r);if(n)return n.find(o=>o.point===t)?.size}function Gf(e){if(/^\d+\/\d+$/.test(e))return e;switch(e){case"square":return"1/1";case"video":return"16/9"}return f.bracket.cssvar.global.auto.number(e)}var yi=[[/^(?:size-)?aspect-(?:ratio-)?(.+)$/,([,e])=>({"aspect-ratio":Gf(e)}),{autocomplete:["aspect-(square|video|ratio)","aspect-ratio-(square|video)"]}]];var $i=[[/^pa?()-?(.+)$/,D("padding"),{autocomplete:["(m|p)<num>","(m|p)-<num>"]}],[/^p-?xy()()$/,D("padding"),{autocomplete:"(m|p)-(xy)"}],[/^p-?([xy])(?:-?(.+))?$/,D("padding")],[/^p-?([rltbse])(?:-?(.+))?$/,D("padding"),{autocomplete:"(m|p)<directions>-<num>"}],[/^p-(block|inline)(?:-(.+))?$/,D("padding"),{autocomplete:"(m|p)-(block|inline)-<num>"}],[/^p-?([bi][se])(?:-?(.+))?$/,D("padding"),{autocomplete:"(m|p)-(bs|be|is|ie)-<num>"}]],vi=[[/^ma?()-?(.+)$/,D("margin")],[/^m-?xy()()$/,D("margin")],[/^m-?([xy])(?:-?(.+))?$/,D("margin")],[/^m-?([rltbse])(?:-?(.+))?$/,D("margin")],[/^m-(block|inline)(?:-(.+))?$/,D("margin")],[/^m-?([bi][se])(?:-?(.+))?$/,D("margin")]];var ki=[[/^fill-(.+)$/,V("fill","fill","backgroundColor"),{autocomplete:"fill-$colors"}],[/^fill-op(?:acity)?-?(.+)$/,([,e])=>({"--un-fill-opacity":f.bracket.percent.cssvar(e)}),{autocomplete:"fill-(op|opacity)-<percent>"}],["fill-none",{fill:"none"}],[/^stroke-(?:width-|size-)?(.+)$/,wi,{autocomplete:["stroke-width-$lineWidth","stroke-size-$lineWidth"]}],[/^stroke-dash-(.+)$/,([,e])=>({"stroke-dasharray":f.bracket.cssvar.number(e)}),{autocomplete:"stroke-dash-<num>"}],[/^stroke-offset-(.+)$/,([,e],{theme:t})=>({"stroke-dashoffset":t.lineWidth?.[e]??f.bracket.cssvar.px.numberWithUnit(e)}),{autocomplete:"stroke-offset-$lineWidth"}],[/^stroke-(.+)$/,Hf,{autocomplete:"stroke-$colors"}],[/^stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-stroke-opacity":f.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 wi([,e],{theme:t}){return{"stroke-width":t.lineWidth?.[e]??f.bracket.cssvar.fraction.px.number(e)}}function Hf(e,t){return K(f.bracket(e[1]))?wi(e,t):V("stroke","stroke","borderColor")(e,t)}var Lt=["translate","rotate","scale"],Xf=["translateX(var(--un-translate-x))","translateY(var(--un-translate-y))","rotate(var(--un-rotate))","rotateZ(var(--un-rotate-z))","skewX(var(--un-skew-x))","skewY(var(--un-skew-y))","scaleX(var(--un-scale-x))","scaleY(var(--un-scale-y))"].join(" "),Ce=["translateX(var(--un-translate-x))","translateY(var(--un-translate-y))","translateZ(var(--un-translate-z))","rotate(var(--un-rotate))","rotateX(var(--un-rotate-x))","rotateY(var(--un-rotate-y))","rotateZ(var(--un-rotate-z))","skewX(var(--un-skew-x))","skewY(var(--un-skew-y))","scaleX(var(--un-scale-x))","scaleY(var(--un-scale-y))","scaleZ(var(--un-scale-z))"].join(" "),Yf=["translate3d(var(--un-translate-x), var(--un-translate-y), var(--un-translate-z))","rotate(var(--un-rotate))","rotateX(var(--un-rotate-x))","rotateY(var(--un-rotate-y))","rotateZ(var(--un-rotate-z))","skewX(var(--un-skew-x))","skewY(var(--un-skew-y))","scaleX(var(--un-scale-x))","scaleY(var(--un-scale-y))","scaleZ(var(--un-scale-z))"].join(" "),an={"--un-rotate":0,"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-scale-x":1,"--un-scale-y":1,"--un-scale-z":1,"--un-skew-x":0,"--un-skew-y":0,"--un-translate-x":0,"--un-translate-y":0,"--un-translate-z":0},Q=Object.keys(an),ji=[[/^(?:transform-)?origin-(.+)$/,([,e])=>({"transform-origin":Ve[e]??f.bracket.cssvar(e)}),{autocomplete:[`transform-origin-(${Object.keys(Ve).join("|")})`,`origin-(${Object.keys(Ve).join("|")})`]}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,e])=>{let t=f.bracket.cssvar.px.numberWithUnit(e);if(t!=null)return{"-webkit-perspective":t,perspective:t}}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,e])=>{let t=f.bracket.cssvar(e)??(e.length>=3?Ve[e]:void 0);if(t!=null)return{"-webkit-perspective-origin":t,"perspective-origin":t}}],[/^(?:transform-)?translate-()(.+)$/,Si,{custom:{preflightKeys:Q}}],[/^(?:transform-)?translate-([xyz])-(.+)$/,Si,{custom:{preflightKeys:Q}}],[/^(?:transform-)?rotate-()(.+)$/,Ri,{custom:{preflightKeys:Q}}],[/^(?:transform-)?rotate-([xyz])-(.+)$/,Ri,{custom:{preflightKeys:Q}}],[/^(?:transform-)?skew-()(.+)$/,zi,{custom:{preflightKeys:Q}}],[/^(?:transform-)?skew-([xy])-(.+)$/,zi,{custom:{preflightKeys:Q},autocomplete:["transform-skew-(x|y)-<percent>","skew-(x|y)-<percent>"]}],[/^(?:transform-)?scale-()(.+)$/,Ci,{custom:{preflightKeys:Q}}],[/^(?:transform-)?scale-([xyz])-(.+)$/,Ci,{custom:{preflightKeys:Q},autocomplete:[`transform-(${Lt.join("|")})-<percent>`,`transform-(${Lt.join("|")})-(x|y|z)-<percent>`,`(${Lt.join("|")})-<percent>`,`(${Lt.join("|")})-(x|y|z)-<percent>`]}],[/^(?:transform-)?preserve-3d$/,()=>({"transform-style":"preserve-3d"})],[/^(?:transform-)?preserve-flat$/,()=>({"transform-style":"flat"})],["transform",{transform:Ce},{custom:{preflightKeys:Q}}],["transform-cpu",{transform:Xf},{custom:{preflightKeys:["--un-translate-x","--un-translate-y","--un-rotate","--un-rotate-z","--un-skew-x","--un-skew-y","--un-scale-x","--un-scale-y"]}}],["transform-gpu",{transform:Yf},{custom:{preflightKeys:Q}}],["transform-none",{transform:"none"}],...z("transform")];function Si([,e,t],{theme:r}){let n=r.spacing?.[t]??f.bracket.cssvar.fraction.rem(t);if(n!=null)return[...Ft(e,n,"translate"),["transform",Ce]]}function Ci([,e,t]){let r=f.bracket.cssvar.fraction.percent(t);if(r!=null)return[...Ft(e,r,"scale"),["transform",Ce]]}function Ri([,e="",t]){let r=f.bracket.cssvar.degree(t);if(r!=null)return e?{"--un-rotate":0,[`--un-rotate-${e}`]:r,transform:Ce}:{"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-rotate":r,transform:Ce}}function zi([,e,t]){let r=f.bracket.cssvar.degree(t);if(r!=null)return[...Ft(e,r,"skew"),["transform",Ce]]}function Ei(e,t){let r;if(f.cssvar(e)!=null)r=f.cssvar(e);else{e.startsWith("[")&&e.endsWith("]")&&(e=e.slice(1,-1));let n=e.split(",").map(o=>t.transitionProperty?.[o]??f.properties(o));n.every(Boolean)&&(r=n.join(","))}return r}var Ti=[[/^transition(?:-(\D+?))?(?:-(\d+))?$/,([,e,t],{theme:r})=>{if(!e&&!t)return{"transition-property":r.transitionProperty?.DEFAULT,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":r.duration?.DEFAULT??f.time("150")};if(e!=null){let n=Ei(e,r),o=r.duration?.[t||"DEFAULT"]??f.time(t||"150");if(n)return{"transition-property":n,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":o}}else if(t!=null)return{"transition-property":r.transitionProperty?.DEFAULT,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":r.duration?.[t]??f.time(t)}},{autocomplete:"transition-$transitionProperty-$duration"}],[/^(?:transition-)?duration-(.+)$/,([,e],{theme:t})=>({"transition-duration":t.duration?.[e||"DEFAULT"]??f.bracket.cssvar.time(e)}),{autocomplete:["transition-duration-$duration","duration-$duration"]}],[/^(?:transition-)?delay-(.+)$/,([,e],{theme:t})=>({"transition-delay":t.duration?.[e||"DEFAULT"]??f.bracket.cssvar.time(e)}),{autocomplete:["transition-delay-$duration","delay-$duration"]}],[/^(?:transition-)?ease(?:-(.+))?$/,([,e],{theme:t})=>({"transition-timing-function":t.easing?.[e||"DEFAULT"]??f.bracket.cssvar(e)}),{autocomplete:["transition-ease-(linear|in|out|in-out|DEFAULT)","ease-(linear|in|out|in-out|DEFAULT)"]}],[/^(?:transition-)?property-(.+)$/,([,e],{theme:t})=>{let r=f.global(e)||Ei(e,t);if(r)return{"transition-property":r}},{autocomplete:[`transition-property-(${[...C].join("|")})`,"transition-property-$transitionProperty","property-$transitionProperty"]}],["transition-none",{transition:"none"}],...z("transition"),["transition-discrete",{"transition-behavior":"allow-discrete"}],["transition-normal",{"transition-behavior":"normal"}]];var Oi=[[/^text-(.+)$/,Jf,{autocomplete:"text-$fontSize"}],[/^(?:text|font)-size-(.+)$/,Wi,{autocomplete:"text-size-$fontSize"}],[/^text-(?:color-)?(.+)$/,Zf,{autocomplete:"text-$colors"}],[/^(?:color|c)-(.+)$/,V("color","text","textColor"),{autocomplete:"(color|c)-$colors"}],[/^(?:text|color|c)-(.+)$/,([,e])=>C.includes(e)?{color:e}:void 0,{autocomplete:`(text|color|c)-(${C.join("|")})`}],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-opacity":f.bracket.percent.cssvar(e)}),{autocomplete:"(text|color|c)-(op|opacity)-<percent>"}],[/^(?:font|fw)-?([^-]+)$/,([,e],{theme:t})=>({"font-weight":t.fontWeight?.[e]||f.bracket.global.number(e)}),{autocomplete:["(font|fw)-(100|200|300|400|500|600|700|800|900)","(font|fw)-$fontWeight"]}],[/^(?:font-)?(?:leading|lh|line-height)-(.+)$/,([,e],{theme:t})=>({"line-height":sn(e,t,"lineHeight")}),{autocomplete:"(leading|lh|line-height)-$lineHeight"}],["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":f.bracket.cssvar.global(e)})],[/^(?:font-)?tracking-(.+)$/,([,e],{theme:t})=>({"letter-spacing":t.letterSpacing?.[e]||f.bracket.cssvar.global.rem(e)}),{autocomplete:"tracking-$letterSpacing"}],[/^(?:font-)?word-spacing-(.+)$/,([,e],{theme:t})=>({"word-spacing":t.wordSpacing?.[e]||f.bracket.cssvar.global.rem(e)}),{autocomplete:"word-spacing-$wordSpacing"}],["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":f.bracket.cssvar.fraction.global(e)}),{autocomplete:"font-stretch-<percentage>"}],[/^font-(.+)$/,([,e],{theme:t})=>({"font-family":t.fontFamily?.[e]||f.bracket.cssvar.global(e)}),{autocomplete:"font-$fontFamily"}]],Ai=[[/^tab(?:-(.+))?$/,([,e])=>{let t=f.bracket.cssvar.global.number(e||"4");if(t!=null)return{"-moz-tab-size":t,"-o-tab-size":t,"tab-size":t}}]],Pi=[[/^indent(?:-(.+))?$/,([,e],{theme:t})=>({"text-indent":t.textIndent?.[e||"DEFAULT"]||f.bracket.cssvar.global.fraction.rem(e)}),{autocomplete:"indent-$textIndent"}]],Vi=[[/^text-stroke(?:-(.+))?$/,([,e],{theme:t})=>({"-webkit-text-stroke-width":t.textStrokeWidth?.[e||"DEFAULT"]||f.bracket.cssvar.px(e)}),{autocomplete:"text-stroke-$textStrokeWidth"}],[/^text-stroke-(.+)$/,V("-webkit-text-stroke-color","text-stroke","borderColor"),{autocomplete:"text-stroke-$colors"}],[/^text-stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-stroke-opacity":f.bracket.percent.cssvar(e)}),{autocomplete:"text-stroke-(op|opacity)-<percent>"}]],Fi=[[/^text-shadow(?:-(.+))?$/,([,e],{theme:t})=>{let r=t.textShadow?.[e||"DEFAULT"];return r!=null?{"--un-text-shadow":At(r,"--un-text-shadow-color").join(","),"text-shadow":"var(--un-text-shadow)"}:{"text-shadow":f.bracket.cssvar.global(e)}},{autocomplete:"text-shadow-$textShadow"}],[/^text-shadow-color-(.+)$/,V("--un-text-shadow-color","text-shadow","shadowColor"),{autocomplete:"text-shadow-color-$colors"}],[/^text-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-shadow-opacity":f.bracket.percent.cssvar(e)}),{autocomplete:"text-shadow-color-(op|opacity)-<percent>"}]];function sn(e,t,r){return t[r]?.[e]||f.bracket.cssvar.global.rem(e)}function Wi([,e],{theme:t}){let n=E(t.fontSize?.[e])?.[0]??f.bracket.cssvar.global.rem(e);if(n!=null)return{"font-size":n}}function Zf(e,t){return K(f.bracket(e[1]))?Wi(e,t):V("color","text","textColor")(e,t)}function Jf([,e="base"],{theme:t}){let r=Yr(e,"length");if(!r)return;let[n,o]=r,i=E(t.fontSize?.[n]),a=o?sn(o,t,"lineHeight"):void 0;if(i?.[0]){let[c,u,d]=i;return typeof u=="object"?{"font-size":c,...u}:{"font-size":c,"line-height":a??u??"1","letter-spacing":d?sn(d,t,"letterSpacing"):void 0}}let s=f.bracketOfLength.rem(n);return a&&s?{"font-size":s,"line-height":a}:{"font-size":f.bracketOfLength.rem(e)}}var Qf={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"},_i=[[/^(.+?)-(\$.+)$/,([,e,t])=>{let r=Qf[e];if(r)return{[r]:f.cssvar(t)}}]],Mi=[[/^\[(.*)\]$/,([e,t])=>{if(!t.includes(":"))return;let[r,...n]=t.split(":"),o=n.join(":");if(!tu(t)&&/^[\w-]+$/.test(r)&&eu(o)){let i=f.bracket(`[${o}]`);if(i)return{[r]:i}}}]];function eu(e){let t=0;function r(n){for(;t<e.length;)if(t+=1,e[t]===n)return!0;return!1}for(t=0;t<e.length;t++){let n=e[t];if("\"`'".includes(n)){if(!r(n))return!1}else if(n==="("){if(!r(")"))return!1}else if("[]{}:".includes(n))return!1}return!0}function tu(e){if(!e.includes("://"))return!1;try{return new URL(e).host!==""}catch{return!1}}var Li=[_i,Mi,ei,ti,Jo,Do,Ko,Ho,No,Uo,Go,vi,Xo,Zo,yi,xi,Lo,ji,Qo,ni,ri,jo,rn,tn,en,Bo,qo,Io,li,oi,si,Oo,Po,Vo,ki,$i,$o,Pi,ci,yo,Oi,fi,ui,_o,pi,Ai,Vi,Fi,Ao,gi,Ro,mi,Ti,Eo,ii,ai,Fo,di,Yo].flat(1);var Bi={position:["relative","absolute","fixed","sticky","static"],globalKeyword:C};var cn={inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"},light:{50:"#fdfdfd",100:"#fcfcfc",200:"#fafafa",300:"#f8f9fa",400:"#f6f6f6",500:"#f2f2f2",600:"#f1f3f5",700:"#e9ecef",800:"#dee2e6",900:"#dde1e3",950:"#d8dcdf"},dark:{50:"#4a4a4a",100:"#3c3c3c",200:"#323232",300:"#2d2d2d",400:"#222222",500:"#1f1f1f",600:"#1c1c1e",700:"#1b1b1b",800:"#181818",900:"#0f0f0f",950:"#080808"},get lightblue(){return this.sky},get lightBlue(){return this.sky},get warmgray(){return this.stone},get warmGray(){return this.stone},get truegray(){return this.neutral},get trueGray(){return this.neutral},get coolgray(){return this.gray},get coolGray(){return this.gray},get bluegray(){return this.slate},get blueGray(){return this.slate}};Object.values(cn).forEach(e=>{typeof e!="string"&&e!==void 0&&(e.DEFAULT=e.DEFAULT||e[400],Object.keys(e).forEach(t=>{let r=+t/100;r===Math.round(r)&&(e[r]=e[t])}))});var Ui={DEFAULT:"8px",0:"0",sm:"4px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},Ii={DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],sm:"0 1px 1px rgb(0 0 0 / 0.05)",md:["0 4px 3px rgb(0 0 0 / 0.07)","0 2px 2px rgb(0 0 0 / 0.06)"],lg:["0 10px 8px rgb(0 0 0 / 0.04)","0 4px 3px rgb(0 0 0 / 0.1)"],xl:["0 20px 13px rgb(0 0 0 / 0.03)","0 8px 5px rgb(0 0 0 / 0.08)"],"2xl":"0 25px 25px rgb(0 0 0 / 0.15)",none:"0 0 rgb(0 0 0 / 0)"};var Di={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(",")},Ni={xs:["0.75rem","1rem"],sm:["0.875rem","1.25rem"],base:["1rem","1.5rem"],lg:["1.125rem","1.75rem"],xl:["1.25rem","1.75rem"],"2xl":["1.5rem","2rem"],"3xl":["1.875rem","2.25rem"],"4xl":["2.25rem","2.5rem"],"5xl":["3rem","1"],"6xl":["3.75rem","1"],"7xl":["4.5rem","1"],"8xl":["6rem","1"],"9xl":["8rem","1"]},qi={DEFAULT:"1.5rem",xs:"0.5rem",sm:"1rem",md:"1.5rem",lg:"2rem",xl:"2.5rem","2xl":"3rem","3xl":"4rem"},Ki={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},Gi={DEFAULT:["0 0 1px rgb(0 0 0 / 0.2)","0 0 1px rgb(1 0 5 / 0.1)"],none:"0 0 rgb(0 0 0 / 0)",sm:"1px 1px 3px rgb(36 37 47 / 0.25)",md:["0 1px 2px rgb(30 29 39 / 0.19)","1px 2px 4px rgb(54 64 147 / 0.18)"],lg:["3px 3px 6px rgb(0 0 0 / 0.26)","0 0 5px rgb(15 3 86 / 0.22)"],xl:["1px 1px 3px rgb(0 0 0 / 0.29)","2px 4px 7px rgb(73 64 125 / 0.35)"]},Hi={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},ln={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},Xi={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},Yi=ln;var fn={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},Zi={...fn},Ji={DEFAULT:"1px",none:"0"},Qi={DEFAULT:"1rem",none:"0",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"},ea={DEFAULT:"150ms",none:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},ta={DEFAULT:"0.25rem",none:"0",sm:"0.125rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},ra={DEFAULT:["var(--un-shadow-inset) 0 1px 3px 0 rgb(0 0 0 / 0.1)","var(--un-shadow-inset) 0 1px 2px -1px rgb(0 0 0 / 0.1)"],none:"0 0 rgb(0 0 0 / 0)",sm:"var(--un-shadow-inset) 0 1px 2px 0 rgb(0 0 0 / 0.05)",md:["var(--un-shadow-inset) 0 4px 6px -1px rgb(0 0 0 / 0.1)","var(--un-shadow-inset) 0 2px 4px -2px rgb(0 0 0 / 0.1)"],lg:["var(--un-shadow-inset) 0 10px 15px -3px rgb(0 0 0 / 0.1)","var(--un-shadow-inset) 0 4px 6px -4px rgb(0 0 0 / 0.1)"],xl:["var(--un-shadow-inset) 0 20px 25px -5px rgb(0 0 0 / 0.1)","var(--un-shadow-inset) 0 8px 10px -6px rgb(0 0 0 / 0.1)"],"2xl":"var(--un-shadow-inset) 0 25px 50px -12px rgb(0 0 0 / 0.25)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)"},na={DEFAULT:"3px",none:"0"},oa={auto:"auto"},ia={mouse:"(hover) and (pointer: fine)"};var aa={...an,...on,...nn};var ne={xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",prose:"65ch"},sa={auto:"auto",...ne,screen:"100vw"},un={none:"none",...ne,screen:"100vw"},ca={auto:"auto",...ne,screen:"100vb"},la={auto:"auto",...ne,screen:"100vi"},fa={auto:"auto",...ne,screen:"100vh"},pn={none:"none",...ne,screen:"100vh"},dn={none:"none",...ne,screen:"100vb"},mn={none:"none",...ne,screen:"100vi"},ua={...ne};var pa={DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)",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)"},da={none:"none",all:"all",colors:["color","background-color","border-color","text-decoration-color","fill","stroke"].join(","),opacity:"opacity",shadow:"box-shadow",transform:"transform",get DEFAULT(){return[this.colors,"opacity","box-shadow","transform","filter","backdrop-filter"].join(",")}};var ma={width:sa,height:fa,maxWidth:un,maxHeight:pn,minWidth:un,minHeight:pn,inlineSize:la,blockSize:ca,maxInlineSize:mn,maxBlockSize:dn,minInlineSize:mn,minBlockSize:dn,colors:cn,fontFamily:Di,fontSize:Ni,fontWeight:Xi,breakpoints:fn,verticalBreakpoints:Zi,borderRadius:ta,lineHeight:Hi,letterSpacing:ln,wordSpacing:Yi,boxShadow:ra,textIndent:qi,textShadow:Gi,textStrokeWidth:Ki,blur:Ui,dropShadow:Ii,easing:pa,transitionProperty:da,lineWidth:Ji,spacing:Qi,duration:ea,ringWidth:na,preflightBase:aa,containers:ua,zIndex:oa,media:ia};var ha={name:"aria",match(e,t){let r=k("aria-",e,t.generator.config.separators);if(r){let[n,o]=r,i=f.bracket(n)??t.theme.aria?.[n]??"";if(i)return{matcher:o,selector:a=>`${a}[aria-${i}]`}}},multiPass:!0};function Bt(e,t,r={}){return{name:`${e}-aria`,match(n,o){let i=k(`${e}-aria-`,n,o.generator.config.separators);if(i){let[a,s,c]=i,u=f.bracket(a)??o.theme.aria?.[a]??"";if(u){let d=!!r?.attributifyPseudo,h=r?.prefix??"";h=(Array.isArray(h)?h:[h]).filter(Boolean)[0]??"";let g=`${d?`[${h}${e}=""]`:`.${h}${e}`}`,m=B(c?`/${c}`:"");return{matcher:s,handle:(p,x)=>{let L=new RegExp(`${A(g)}${A(m)}(?:\\[.+?\\])+`),O=p.prefix.match(L),w;if(O){let y=(O.index??0)+g.length+m.length;w=[p.prefix.slice(0,y),`[aria-${u}]`,p.prefix.slice(y)].join("")}else{let y=Math.max(p.prefix.indexOf(g),0);w=[p.prefix.slice(0,y),g,m,`[aria-${u}]`,t,p.prefix.slice(y)].join("")}return x({...p,prefix:w})}}}}},multiPass:!0}}function ru(){return{name:"has-aria",match(e,t){let r=k("has-aria-",e,t.generator.config.separators);if(r){let[n,o]=r,i=f.bracket(n)??t.theme.aria?.[n]??"";if(i)return{matcher:o,handle:(a,s)=>s({...a,pseudo:`${a.pseudo}:has([aria-${i}])`})}}},multiPass:!0}}function ga(e={}){return[Bt("group"," ",e),Bt("peer","~",e),Bt("parent",">",e),Bt("previous","+",e),ru()]}var ba=/(max|min)-\[([^\]]*)\]:/;function xa(){let e={};return{name:"breakpoints",match(t,r){if(ba.test(t)){let o=t.match(ba);return{matcher:t.replace(o[0],""),handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@media (${o[1]}-width: ${o[2]})`})}}let n=(Vt(r)??[]).map(({point:o,size:i},a)=>[o,i,a]);for(let[o,i,a]of n){e[o]||(e[o]=new RegExp(`^((?:([al]t-|[<~]|max-))?${o}(?:${r.generator.config.separators.join("|")}))`));let s=t.match(e[o]);if(!s)continue;let[,c]=s,u=t.slice(c.length);if(u==="container")continue;let d=c.startsWith("lt-")||c.startsWith("<")||c.startsWith("max-"),h=c.startsWith("at-")||c.startsWith("~"),g=3e3;return d?(g-=a+1,{matcher:u,handle:(m,p)=>p({...m,parent:`${m.parent?`${m.parent} $$ `:""}@media (max-width: ${ve(i)})`,parentOrder:g})}):(g+=a+1,h&&a<n.length-1?{matcher:u,handle:(m,p)=>p({...m,parent:`${m.parent?`${m.parent} $$ `:""}@media (min-width: ${i}) and (max-width: ${ve(n[a+1][1])})`,parentOrder:g})}:{matcher:u,handle:(m,p)=>p({...m,parent:`${m.parent?`${m.parent} $$ `:""}@media (min-width: ${i})`,parentOrder:g})})}},multiPass:!0,autocomplete:"(at-|lt-|max-|)$breakpoints:"}}var ya=[T("*",e=>({selector:`${e.selector} > *`}),{order:-1})];function Ie(e,t){return{name:`combinator:${e}`,match(r,n){if(!r.startsWith(e))return;let o=n.generator.config.separators,i=_(`${e}-`,r,o);if(!i){for(let s of o)if(r.startsWith(`${e}${s}`)){i=["",r.slice(e.length+s.length)];break}if(!i)return}let a=f.bracket(i[0])??"";return a===""&&(a="*"),{matcher:i[1],selector:s=>`${s}${t}${a}`}},multiPass:!0}}var $a=[Ie("all"," "),Ie("children",">"),Ie("next","+"),Ie("sibling","+"),Ie("siblings","~")];var va={name:"@",match(e,t){if(e.startsWith("@container"))return;let r=k("@",e,t.generator.config.separators);if(r){let[n,o,i]=r,a=f.bracket(n),s;if(a?s=f.numberWithUnit(a):s=t.theme.containers?.[n]??"",s){let c=1e3+Object.keys(t.theme.containers??{}).indexOf(n);return i&&(c+=1e3),{matcher:o,handle:(u,d)=>d({...u,parent:`${u.parent?`${u.parent} $$ `:""}@container${i?` ${i} `:" "}(min-width: ${s})`,parentOrder:c})}}}},multiPass:!0};function ka(e={}){if(e?.dark==="class"||typeof e.dark=="object"){let{dark:t=".dark",light:r=".light"}=typeof e.dark=="string"?{}:e.dark;return[T("dark",E(t).map(n=>o=>({prefix:`${n} $$ ${o.prefix}`}))),T("light",E(r).map(n=>o=>({prefix:`${n} $$ ${o.prefix}`})))]}return[P("dark","@media (prefers-color-scheme: dark)"),P("light","@media (prefers-color-scheme: light)")]}var wa={name:"data",match(e,t){let r=k("data-",e,t.generator.config.separators);if(r){let[n,o]=r,i=f.bracket(n)??t.theme.data?.[n]??"";if(i)return{matcher:o,selector:a=>`${a}[data-${i}]`}}},multiPass:!0};function Ut(e,t,r={}){return{name:`${e}-data`,match(n,o){let i=k(`${e}-data-`,n,o.generator.config.separators);if(i){let[a,s,c]=i,u=f.bracket(a)??o.theme.data?.[a]??"";if(u){let d=!!r?.attributifyPseudo,h=r?.prefix??"";h=(Array.isArray(h)?h:[h]).filter(Boolean)[0]??"";let g=`${d?`[${h}${e}=""]`:`.${h}${e}`}`,m=B(c?`/${c}`:"");return{matcher:s,handle:(p,x)=>{let L=new RegExp(`${A(g)}${A(m)}(?:\\[.+?\\])+`),O=p.prefix.match(L),w;if(O){let y=(O.index??0)+g.length+m.length;w=[p.prefix.slice(0,y),`[data-${u}]`,p.prefix.slice(y)].join("")}else{let y=Math.max(p.prefix.indexOf(g),0);w=[p.prefix.slice(0,y),g,m,`[data-${u}]`,t,p.prefix.slice(y)].join("")}return x({...p,prefix:w})}}}}},multiPass:!0}}function nu(){return{name:"has-data",match(e,t){let r=k("has-data-",e,t.generator.config.separators);if(r){let[n,o]=r,i=f.bracket(n)??t.theme.data?.[n]??"";if(i)return{matcher:o,handle:(a,s)=>s({...a,pseudo:`${a.pseudo}:has([data-${i}])`})}}},multiPass:!0}}function Sa(e={}){return[Ut("group"," ",e),Ut("peer","~",e),Ut("parent",">",e),Ut("previous","+",e),nu()]}var Ca=[T("rtl",e=>({prefix:`[dir="rtl"] $$ ${e.prefix}`})),T("ltr",e=>({prefix:`[dir="ltr"] $$ ${e.prefix}`}))];function Ra(){let e;return{name:"important",match(t,r){e||(e=new RegExp(`^(important(?:${r.generator.config.separators.join("|")})|!)`));let n,o=t.match(e);if(o?n=t.slice(o[0].length):t.endsWith("!")&&(n=t.slice(0,-1)),n)return{matcher:n,body:i=>(i.forEach(a=>{a[1]!=null&&(a[1]+=" !important")}),i)}}}}var za=P("print","@media print"),ja={name:"media",match(e,t){let r=k("media-",e,t.generator.config.separators);if(r){let[n,o]=r,i=f.bracket(n)??"";if(i===""&&(i=t.theme.media?.[n]??""),i)return{matcher:o,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@media ${i}`})}}},multiPass:!0};var Ea={name:"selector",match(e,t){let r=_("selector-",e,t.generator.config.separators);if(r){let[n,o]=r,i=f.bracket(n);if(i)return{matcher:o,selector:()=>i}}}},Ta={name:"layer",match(e,t){let r=k("layer-",e,t.generator.config.separators);if(r){let[n,o]=r,i=f.bracket(n)??n;if(i)return{matcher:o,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@layer ${i}`})}}}},Oa={name:"uno-layer",match(e,t){let r=k("uno-layer-",e,t.generator.config.separators);if(r){let[n,o]=r,i=f.bracket(n)??n;if(i)return{matcher:o,layer:i}}}},Aa={name:"scope",match(e,t){let r=_("scope-",e,t.generator.config.separators);if(r){let[n,o]=r,i=f.bracket(n);if(i)return{matcher:o,selector:a=>`${i} $$ ${a}`}}}},Pa={name:"variables",match(e,t){if(!e.startsWith("["))return;let[r,n]=U(e,"[","]")??[];if(!(r&&n))return;let o;for(let s of t.generator.config.separators)if(n.startsWith(s)){o=n.slice(s.length);break}if(o==null)return;let i=f.bracket(r)??"",a=i.startsWith("@");if(a||i.includes("&"))return{matcher:o,handle(s,c){let u=a?{parent:`${s.parent?`${s.parent} $$ `:""}${i}`}:{selector:i.replace(/&/g,s.selector)};return c({...s,...u})}}},multiPass:!0},Va={name:"theme-variables",match(e,t){if(kt(e))return{matcher:e,handle(r,n){return n({...r,entries:JSON.parse(wt(JSON.stringify(r.entries),t.theme))})}}}};var Fa=/^-?[0-9.]+(?:[a-z]+|%)?$/,Wa=/-?[0-9.]+(?:[a-z]+|%)?/,ou=[/\b(opacity|color|flex|backdrop-filter|^filter|transform)\b/];function iu(e){let t=e.match(Fe)||e.match(ho);if(t){let[r,n]=X(`(${t[2]})${t[3]}`,"(",")"," ")??[];if(r)return`calc(${t[1]}${r} * -1)${n?` ${n}`:""}`}}var au=/\b(hue-rotate)\s*(\(.*)/;function su(e){let t=e.match(au);if(t){let[r,n]=X(t[2],"(",")"," ")??[];if(r){let o=Fa.test(r.slice(1,-1))?r.replace(Wa,i=>i.startsWith("-")?i.slice(1):`-${i}`):`(calc(${r} * -1))`;return`${t[1]}${o}${n?` ${n}`:""}`}}}var _a={name:"negative",match(e){if(e.startsWith("-"))return{matcher:e.slice(1),body:t=>{if(t.find(n=>n[0]===So))return;let r=!1;return t.forEach(n=>{let o=n[1]?.toString();if(!o||o==="0"||ou.some(s=>s.test(n[0])))return;let i=iu(o);if(i){n[1]=i,r=!0;return}let a=su(o);if(a){n[1]=a,r=!0;return}Fa.test(o)&&(n[1]=o.replace(Wa,s=>s.startsWith("-")?s.slice(1):`-${s}`),r=!0)}),r?t:[]}}}};function Ma(){return Ct({getBracket:U,h:f,variantGetBracket:_})}function La(){return Rt({getBracket:U,h:f,variantGetBracket:_})}function Ba(e={}){return zt(e,{getBracket:U,h:f,variantGetBracket:_})}var Ua=jt();var Ia={name:"starting",match(e){if(e.startsWith("starting:"))return{matcher:e.slice(9),handle:(t,r)=>r({...t,parent:"@starting-style"})}}};var Da={name:"supports",match(e,t){let r=k("supports-",e,t.generator.config.separators);if(r){let[n,o]=r,i=f.bracket(n)??"";if(i===""&&(i=t.theme.supports?.[n]??""),i)return i.startsWith("(")&&i.endsWith(")")||(i=`(${i})`),{matcher:o,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@supports ${i}`})}}},multiPass:!0};function Na(e){return[ha,wa,Ta,Ea,Oa,_a,Ia,Ra(),Da,za,ja,xa(),...$a,...Ma(),La(),...Ba(e),Ua,...ka(e),...Ca,Aa,...ya,va,Pa,...Sa(e),...ga(e),Va]}var hn=(e={})=>(e.dark=e.dark??"class",e.attributifyPseudo=e.attributifyPseudo??!1,e.preflight=e.preflight??!0,e.variablePrefix=e.variablePrefix??"un-",{name:"@unocss/preset-mini",theme:ma,rules:Li,variants:Na(e),options:e,prefix:e.prefix,postprocess:cu(e.variablePrefix),preflights:Yn(e),extractorDefault:e.arbitraryVariants===!1?void 0:Xn(),autocomplete:{shorthands:Bi}}),qa=hn;function cu(e){if(e!=="un-")return t=>{t.entries.forEach(r=>{r[0]=r[0].replace(/^--un-/,`--${e}`),typeof r[1]=="string"&&(r[1]=r[1].replace(/var\(--un-/g,`var(--${e}`))})}}function Ka(e){if(e==null||e===!1)return[];let t=r=>r.startsWith(":is(")&&r.endsWith(")")?r:r.includes("::")?r.replace(/(.*?)((?:\s\*)?::.*)/,":is($1)$2"):`:is(${r})`;return[e===!0?r=>{r.entries.forEach(n=>{n[1]!=null&&!String(n[1]).endsWith("!important")&&(n[1]+=" !important")})}:r=>{r.selector.startsWith(e)||(r.selector=`${e} ${t(r.selector)}`)}]}function Ga(e){return[...E(qa(e).postprocess),...Ka(e.important)]}var M={l:["-left"],r:["-right"],t:["-top"],b:["-bottom"],s:["-inline-start"],e:["-inline-end"],x:["-left","-right"],y:["-top","-bottom"],"":[""],bs:["-block-start"],be:["-block-end"],is:["-inline-start"],ie:["-inline-end"],block:["-block-start","-block-end"],inline:["-inline-start","-inline-end"]},It={...M,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"]},Dt={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"]},Ja={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},Qa=["x","y","z"],Ha=["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"],F=Object.assign({},...Ha.map(e=>({[e.replace(/ /,"-")]:e})),...Ha.map(e=>({[e.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:e}))),S=["inherit","initial","revert","revert-layer","unset"],De=/^(calc|clamp|min|max)\s*\((.+)\)(.*)/,bn=/^(var)\s*\((.+)\)(.*)/,Nt=/^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i,es=/^(-?\d*(?:\.\d+)?)$/,ts=/^(px|[sld]?v[wh])$/i,rs={px:1,vw:100,vh:100,svw:100,svh:100,dvw:100,dvh:100,lvh:100,lvw:100},ns=/^\[(color|image|length|size|position|quoted|string):/i,lu=/,(?![^()]*\))/g,fu=["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 G(e){return+e.toFixed(10)}function uu(e){let t=e.match(Nt);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(n&&!Number.isNaN(o))return`${G(o)}${n}`}function pu(e){if(e==="auto"||e==="a")return"auto"}function du(e){if(!e)return;if(ts.test(e))return`${rs[e]}${e}`;let t=e.match(Nt);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0":n?`${G(o)}${n}`:`${G(o/4)}rem`}function mu(e){if(ts.test(e))return`${rs[e]}${e}`;let t=e.match(Nt);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return n?`${G(o)}${n}`:`${G(o)}px`}function hu(e){if(!es.test(e))return;let t=Number.parseFloat(e);if(!Number.isNaN(t))return G(t)}function gu(e){if(e.endsWith("%")&&(e=e.slice(0,-1)),!es.test(e))return;let t=Number.parseFloat(e);if(!Number.isNaN(t))return`${G(t/100)}`}function bu(e){if(!e)return;if(e==="full")return"100%";let[t,r]=e.split("/"),n=Number.parseFloat(t)/Number.parseFloat(r);if(!Number.isNaN(n))return n===0?"0":`${G(n*100)}%`}function qt(e,t){if(e&&e.startsWith("[")&&e.endsWith("]")){let r,n,o=e.match(ns);if(o?(t||(n=o[1]),r=e.slice(o[0].length,-1)):r=e.slice(1,-1),!r||r==='=""')return;r.startsWith("--")&&(r=`var(${r})`);let i=0;for(let a of r)if(a==="[")i+=1;else if(a==="]"&&(i-=1,i<0))return;if(i)return;switch(n){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,a=>a.replace(/_/g,"\\_")).replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_").replace(/(?:calc|clamp|max|min)\((.*)/g,a=>{let s=[];return a.replace(/var\((--.+?)[,)]/g,(c,u)=>(s.push(u),c.replace(u,"--un-calc"))).replace(/(-?\d*\.?\d(?!-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 ").replace(/--un-calc/g,()=>s.shift())})}}function xu(e){return qt(e)}function yu(e){return qt(e,"color")}function $u(e){return qt(e,"length")}function vu(e){return qt(e,"position")}function ku(e){if(/^\$[^\s'"`;{}]/.test(e)){let[t,r]=e.slice(1).split(",");return`var(--${B(t)}${r?`, ${r}`:""})`}}function wu(e){let t=e.match(/^(-?[0-9.]+)(s|ms)?$/i);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0&&!n?"0s":n?`${G(o)}${n}`:`${G(o)}ms`}function Su(e){let t=e.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0deg":n?`${G(o)}${n}`:`${G(o)}deg`}function Cu(e){if(S.includes(e))return e}function Ru(e){if(e.split(",").every(t=>fu.includes(t)))return e}function zu(e){if(["top","left","right","bottom","center"].includes(e))return e}var os={__proto__:null,auto:pu,bracket:xu,bracketOfColor:yu,bracketOfLength:$u,bracketOfPosition:vu,cssvar:ku,degree:Su,fraction:bu,global:Cu,number:hu,numberWithUnit:uu,percent:gu,position:zu,properties:Ru,px:mu,rem:du,time:wu},is=St(os),l=is,xn="$$mini-no-negative";function R(e){return([t,r,n],{theme:o})=>{let i=o.spacing?.[n||"DEFAULT"]??l.bracket.cssvar.global.auto.fraction.rem(n);if(i!=null)return M[r].map(a=>[`${e}${a}`,i]);if(n?.startsWith("-")){let a=o.spacing?.[n.slice(1)];if(a!=null)return M[r].map(s=>[`${e}${s}`,`calc(${a} * -1)`])}}}function Xa(e,t,r="colors"){let n=e[r],o=-1;for(let i of t){if(o+=1,n&&typeof n!="string"){let a=t.slice(o).join("-").replace(/(-[a-z])/g,s=>s.slice(1).toUpperCase());if(n[a])return n[a];if(n[i]){n=n[i];continue}}return}return n}function Ya(e,t,r){return Xa(e,t,r)||Xa(e,t,"colors")}function Kt(e,t){let[r,n]=X(e,"[","]",["/",":"])??[];if(r!=null){let o=(r.match(ns)??[])[1];if(o==null||o===t)return[r,n]}}function me(e,t,r){let n=Kt(e,"color");if(!n)return;let[o,i]=n,a=o.replace(/([a-z])(\d)/g,"$1-$2").split(/-/g),[s]=a;if(!s)return;let c,u=l.bracketOfColor(o),d=u||o;if(l.numberWithUnit(d))return;if(/^#[\da-f]+$/i.test(d)?c=d:/^hex-[\da-fA-F]+$/.test(d)?c=`#${d.slice(4)}`:o.startsWith("$")&&(c=l.cssvar(o)),c=c||u,!c){let g=Ya(t,[o],r);typeof g=="string"&&(c=g)}let h="DEFAULT";if(!c){let g=a,m,[p]=a.slice(-1);/^\d+$/.test(p)&&(h=m=p,g=a.slice(0,-1));let x=Ya(t,g,r);typeof x=="object"?c=x[m??h]:typeof x=="string"&&!m&&(c=x)}return{opacity:i,name:s,no:h,color:c,cssColor:W(c),alpha:l.bracket.cssvar.percent(i??"")}}function j(e,t,r,n){return([,o],{theme:i,generator:a})=>{let s=me(o??"",i,r);if(!s)return;let{alpha:c,color:u,cssColor:d}=s,g=a.config.envMode==="dev"&&u?` /* ${u} */`:"",m={};if(d)if(c!=null)m[e]=v(d,c)+g;else{let p=`--un-${t}-opacity`,x=v(d,`var(${p})`);x.includes(p)&&(m[p]=N(d)),m[e]=x+g}else if(u)if(c!=null)m[e]=v(u,c)+g;else{let p=`--un-${t}-opacity`,x=v(u,`var(${p})`);x.includes(p)&&(m[p]=1),m[e]=x+g}if(n?.(m)!==!1)return m}}function he(e,t){let r=[];e=E(e);for(let n=0;n<e.length;n++){let o=se(e[n]," ",6);if(!o||o.length<3)return e;let i=!1,a=o.indexOf("inset");a!==-1&&(o.splice(a,1),i=!0);let s="",c=o.at(-1);if(W(o.at(0))){let u=W(o.shift());u&&(s=`, ${v(u)}`)}else if(W(c)){let u=W(o.pop());u&&(s=`, ${v(u)}`)}else c&&c.startsWith("var(")&&(s=`, ${o.pop()}`);r.push(`${i?"inset ":""}${o.join(" ")} var(${t}${s})`)}return r}function ge(e,t,r){return e!=null&&!!me(e,t,r)?.color}var Za=/[a-z]+/gi,gn=new WeakMap;function ce({theme:e,generator:t},r="breakpoints"){let n=t?.userConfig?.theme?.[r]||e[r];if(!n)return;if(gn.has(e))return gn.get(e);let o=Object.entries(n).sort((i,a)=>Number.parseInt(i[1].replace(Za,""))-Number.parseInt(a[1].replace(Za,""))).map(([i,a])=>({point:i,size:a}));return gn.set(e,o),o}function b(e,t){return S.map(r=>[`${e}-${r}`,{[t??e]:r}])}function oe(e){return e!=null&&De.test(e)}function yn(e){return e[0]==="["&&e.slice(-1)==="]"&&(e=e.slice(1,-1)),De.test(e)||Nt.test(e)}function Ne(e,t,r){let n=t.split(lu);return e||!e&&n.length===1?Ja[e].map(o=>[`--un-${r}${o}`,t]):n.map((o,i)=>[`--un-${r}-${Qa[i]}`,o])}var as=[[/^(?:animate-)?keyframes-(.+)$/,([,e],{theme:t})=>{let r=t.animation?.keyframes?.[e];if(r)return[`@keyframes ${e}${r}`,{animation:e}]},{autocomplete:["animate-keyframes-$animation.keyframes","keyframes-$animation.keyframes"]}],[/^animate-(.+)$/,([,e],{theme:t})=>{let r=t.animation?.keyframes?.[e];if(r){let n=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}${r}`,{animation:`${e} ${n} ${o} ${i}`,...a}]}return{animation:l.bracket.cssvar(e)}},{autocomplete:"animate-$animation.keyframes"}],[/^animate-name-(.+)/,([,e])=>({"animation-name":l.bracket.cssvar(e)??e})],[/^animate-duration-(.+)$/,([,e],{theme:t})=>({"animation-duration":t.duration?.[e||"DEFAULT"]??l.bracket.cssvar.time(e)}),{autocomplete:["animate-duration","animate-duration-$duration"]}],[/^animate-delay-(.+)$/,([,e],{theme:t})=>({"animation-delay":t.duration?.[e||"DEFAULT"]??l.bracket.cssvar.time(e)}),{autocomplete:["animate-delay","animate-delay-$duration"]}],[/^animate-ease(?:-(.+))?$/,([,e],{theme:t})=>({"animation-timing-function":t.easing?.[e||"DEFAULT"]??l.bracket.cssvar(e)}),{autocomplete:["animate-ease","animate-ease-$easing"]}],[/^animate-(fill-mode-|fill-|mode-)?(.+)$/,([,e,t])=>["none","forwards","backwards","both",e?S:[]].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?S:[]].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":l.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?S:[]].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"}],...b("animate","animation")];function ss(e){return e?v(e,0):"rgb(255 255 255 / 0)"}function ju(e,t,r,n){return t?n!=null?v(t,n):v(t,`var(--un-${e}-opacity, ${N(t)})`):v(r,n)}function $n(){return([,e,t],{theme:r})=>{let n=me(t,r,"backgroundColor");if(!n)return;let{alpha:o,color:i,cssColor:a}=n;if(!i)return;let s=ju(e,a,i,o);switch(e){case"from":return{"--un-gradient-from-position":"0%","--un-gradient-from":`${s} var(--un-gradient-from-position)`,"--un-gradient-to-position":"100%","--un-gradient-to":`${ss(a)} var(--un-gradient-to-position)`,"--un-gradient-stops":"var(--un-gradient-from), var(--un-gradient-to)"};case"via":return{"--un-gradient-via-position":"50%","--un-gradient-to":ss(a),"--un-gradient-stops":`var(--un-gradient-from), ${s} var(--un-gradient-via-position), var(--un-gradient-to)`};case"to":return{"--un-gradient-to-position":"100%","--un-gradient-to":`${s} var(--un-gradient-to-position)`}}}}function Eu(){return([,e,t])=>({[`--un-gradient-${e}-position`]:`${Number(l.bracket.cssvar.percent(t))*100}%`})}var cs=[[/^bg-gradient-(.+)$/,([,e])=>({"--un-gradient":l.bracket(e)}),{autocomplete:["bg-gradient","bg-gradient-(from|to|via)","bg-gradient-(from|to|via)-$colors","bg-gradient-(from|to|via)-(op|opacity)","bg-gradient-(from|to|via)-(op|opacity)-<percent>"]}],[/^(?:bg-gradient-)?stops-(\[.+\])$/,([,e])=>({"--un-gradient-stops":l.bracket(e)})],[/^(?:bg-gradient-)?(from)-(.+)$/,$n()],[/^(?:bg-gradient-)?(via)-(.+)$/,$n()],[/^(?:bg-gradient-)?(to)-(.+)$/,$n()],[/^(?:bg-gradient-)?(from|via|to)-op(?:acity)?-?(.+)$/,([,e,t])=>({[`--un-${e}-opacity`]:l.bracket.percent(t)})],[/^(from|via|to)-([\d.]+)%$/,Eu()],[/^bg-gradient-((?: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-to-([rltb]{1,2})$/,([,e])=>{if(e in F)return{"--un-gradient-shape":`to ${F[e]} in oklch`,"--un-gradient":"var(--un-gradient-shape), var(--un-gradient-stops)","background-image":"linear-gradient(var(--un-gradient))"}},{autocomplete:`bg-gradient-to-(${Object.keys(F).filter(e=>e.length<=2&&Array.from(e).every(t=>"rltb".includes(t))).join("|")})`}],[/^(?:bg-gradient-)?shape-(.+)$/,([,e])=>{let t=e in F?`to ${F[e]}`:l.bracket(e);if(t!=null)return{"--un-gradient-shape":`${t} in oklch`,"--un-gradient":"var(--un-gradient-shape), var(--un-gradient-stops)"}},{autocomplete:["bg-gradient-shape",`bg-gradient-shape-(${Object.keys(F).join("|")})`,`shape-(${Object.keys(F).join("|")})`]}],["bg-none",{"background-image":"none"}],["box-decoration-slice",{"box-decoration-break":"slice"}],["box-decoration-clone",{"box-decoration-break":"clone"}],...b("box-decoration","box-decoration-break"),["bg-auto",{"background-size":"auto"}],["bg-cover",{"background-size":"cover"}],["bg-contain",{"background-size":"contain"}],["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"}],...S.map(e=>[`bg-clip-${e}`,{"-webkit-background-clip":e,"background-clip":e}]),[/^bg-([-\w]{3,})$/,([,e])=>({"background-position":F[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"}],...b("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"}],...b("bg-origin","background-origin")];var vn={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"},ls=[[/^list-(.+?)(?:-(outside|inside))?$/,([,e,t])=>{let r=vn[e];if(r)return t?{"list-style-position":t,"list-style-type":r}:{"list-style-type":r}},{autocomplete:[`list-(${Object.keys(vn).join("|")})`,`list-(${Object.keys(vn).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":l.bracket(e)}}],["list-image-none",{"list-style-image":"none"}],...b("list","list-style-type")],fs=[[/^accent-(.+)$/,j("accent-color","accent","accentColor"),{autocomplete:"accent-$colors"}],[/^accent-op(?:acity)?-?(.+)$/,([,e])=>({"--un-accent-opacity":l.bracket.percent(e)}),{autocomplete:["accent-(op|opacity)","accent-(op|opacity)-<percent>"]}]],us=[[/^caret-(.+)$/,j("caret-color","caret","textColor"),{autocomplete:"caret-$colors"}],[/^caret-op(?:acity)?-?(.+)$/,([,e])=>({"--un-caret-opacity":l.bracket.percent(e)}),{autocomplete:["caret-(op|opacity)","caret-(op|opacity)-<percent>"]}]],ps=[["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"]]]],ds=[["overscroll-auto",{"overscroll-behavior":"auto"}],["overscroll-contain",{"overscroll-behavior":"contain"}],["overscroll-none",{"overscroll-behavior":"none"}],...b("overscroll","overscroll-behavior"),["overscroll-x-auto",{"overscroll-behavior-x":"auto"}],["overscroll-x-contain",{"overscroll-behavior-x":"contain"}],["overscroll-x-none",{"overscroll-behavior-x":"none"}],...b("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"}],...b("overscroll-y","overscroll-behavior-y")],ms=[["scroll-auto",{"scroll-behavior":"auto"}],["scroll-smooth",{"scroll-behavior":"smooth"}],...b("scroll","scroll-behavior")];var hs=[[/^columns-(.+)$/,([,e])=>({columns:l.bracket.global.number.auto.numberWithUnit(e)}),{autocomplete:"columns-<num>"}],["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"}],...b("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"}],...b("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"}],...b("break-after")];var Tu=/@media \(min-width: (.+)\)/,gs=[[/^__container$/,(e,t)=>{let{theme:r,variantHandlers:n}=t,o=r.container?.padding,i;ye(o)?i=o:i=o?.DEFAULT;let a=r.container?.maxWidth,s;for(let u of n){let d=u.handle?.({},h=>h)?.parent;if(ye(d)){let h=d.match(Tu)?.[1];if(h){let m=(ce(t)??[]).find(p=>p.size===h)?.point;a?m&&(s=a?.[m]):s=h,m&&!ye(o)&&(i=o?.[m]??i)}}}let c={"max-width":s};return n.length||(c.width="100%"),r.container?.center&&(c["margin-left"]="auto",c["margin-right"]="auto"),o&&(c["padding-left"]=i,c["padding-right"]=i),c},{internal:!0}]],bs=[[/^(?:(\w+)[:-])?container$/,([,e],t)=>{let r=(ce(t)??[]).map(o=>o.point);if(e){if(!r.includes(e))return;r=r.slice(r.indexOf(e))}let n=r.map(o=>`${o}:__container`);return e||n.unshift("__container"),n}]];var Ou=["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"],Au=["none","strict","content","size","inline-size","layout","style","paint"],$=" ",qe=[["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:l.bracket.cssvar.global(e)})]],Ke=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}],...b("backface","backface-visibility")],Ge=[[/^cursor-(.+)$/,([,e])=>({cursor:l.bracket.cssvar.global(e)})],...Ou.map(e=>[`cursor-${e}`,{cursor:e}])],He=[[/^contain-(.*)$/,([,e])=>l.bracket(e)!=null?{contain:l.bracket(e).split(" ").map(t=>l.cssvar.fraction(t)??t).join(" ")}:Au.includes(e)?{contain:e}:void 0]],Xe=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}],...b("pointer-events")],Ye=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}],...b("resize")],Ze=[["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"}],...b("select","user-select")],Je=[[/^(?:whitespace-|ws-)([-\w]+)$/,([,e])=>["normal","nowrap","pre","pre-line","pre-wrap","break-spaces",...S].includes(e)?{"white-space":e}:void 0,{autocomplete:"(whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)"}]],Qe=[[/^intrinsic-size-(.+)$/,([,e])=>({"contain-intrinsic-size":l.bracket.cssvar.global.fraction.rem(e)}),{autocomplete:"intrinsic-size-<num>"}],["content-visibility-visible",{"content-visibility":"visible"}],["content-visibility-hidden",{"content-visibility":"hidden"}],["content-visibility-auto",{"content-visibility":"auto"}],...b("content-visibility")],et=[[/^content-(.+)$/,([,e])=>({content:l.bracket.cssvar(e)})],["content-empty",{content:'""'}],["content-none",{content:"none"}]],tt=[["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"}]],rt=[["text-wrap",{"text-wrap":"wrap"}],["text-nowrap",{"text-wrap":"nowrap"}],["text-balance",{"text-wrap":"balance"}],["text-pretty",{"text-wrap":"pretty"}]],nt=[["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"}]],ot=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}],...b("case","text-transform")],it=[["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"}]],at=[["antialiased",{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"}],["subpixel-antialiased",{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"}]],st=[["field-sizing-fixed",{"field-sizing":"fixed"}],["field-sizing-content",{"field-sizing":"content"}]],ze={"--un-ring-inset":$,"--un-ring-offset-width":"0px","--un-ring-offset-color":"#fff","--un-ring-width":"0px","--un-ring-color":"rgb(147 197 253 / 0.5)","--un-shadow":"0 0 rgb(0 0 0 / 0)"},Pu=Object.keys(ze),ct=[[/^ring(?:-(.+))?$/,([,e],{theme:t})=>{let r=t.ringWidth?.[e||"DEFAULT"]??l.px(e||"1");if(r)return{"--un-ring-width":r,"--un-ring-offset-shadow":"var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color)","--un-ring-shadow":"var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color)","box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"}},{custom:{preflightKeys:Pu},autocomplete:"ring-$ringWidth"}],[/^ring-(?:width-|size-)(.+)$/,ks,{autocomplete:"ring-(width|size)-$lineWidth"}],["ring-offset",{"--un-ring-offset-width":"1px"}],[/^ring-offset-(?:width-|size-)?(.+)$/,([,e],{theme:t})=>({"--un-ring-offset-width":t.lineWidth?.[e]??l.bracket.cssvar.px(e)}),{autocomplete:"ring-offset-(width|size)-$lineWidth"}],[/^ring-(.+)$/,Vu,{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-opacity":l.bracket.percent.cssvar(e)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^ring-offset-(.+)$/,j("--un-ring-offset-color","ring-offset","borderColor"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-offset-opacity":l.bracket.percent.cssvar(e)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]];function ks([,e],{theme:t}){return{"--un-ring-width":t.ringWidth?.[e]??l.bracket.cssvar.px(e)}}function Vu(e,t){return oe(l.bracket(e[1]))?ks(e,t):j("--un-ring-color","ring","borderColor")(e,t)}var je={"--un-ring-offset-shadow":"0 0 rgb(0 0 0 / 0)","--un-ring-shadow":"0 0 rgb(0 0 0 / 0)","--un-shadow-inset":$,"--un-shadow":"0 0 rgb(0 0 0 / 0)"},Fu=Object.keys(je),lt=[[/^shadow(?:-(.+))?$/,(e,t)=>{let[,r]=e,{theme:n}=t,o=n.boxShadow?.[r||"DEFAULT"],i=r?l.bracket.cssvar(r):void 0;return(o!=null||i!=null)&&!ge(i,n,"shadowColor")?{"--un-shadow":he(o||i,"--un-shadow-color").join(","),"box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"}:j("--un-shadow-color","shadow","shadowColor")(e,t)},{custom:{preflightKeys:Fu},autocomplete:["shadow-$colors","shadow-$boxShadow"]}],[/^shadow-op(?:acity)?-?(.+)$/,([,e])=>({"--un-shadow-opacity":l.bracket.percent.cssvar(e)}),{autocomplete:"shadow-(op|opacity)-<percent>"}],["shadow-inset",{"--un-shadow-inset":"inset"}]],Gt=["translate","rotate","scale"],Wu=["translateX(var(--un-translate-x))","translateY(var(--un-translate-y))","rotate(var(--un-rotate))","rotateZ(var(--un-rotate-z))","skewX(var(--un-skew-x))","skewY(var(--un-skew-y))","scaleX(var(--un-scale-x))","scaleY(var(--un-scale-y))"].join(" "),Re=["translateX(var(--un-translate-x))","translateY(var(--un-translate-y))","translateZ(var(--un-translate-z))","rotate(var(--un-rotate))","rotateX(var(--un-rotate-x))","rotateY(var(--un-rotate-y))","rotateZ(var(--un-rotate-z))","skewX(var(--un-skew-x))","skewY(var(--un-skew-y))","scaleX(var(--un-scale-x))","scaleY(var(--un-scale-y))","scaleZ(var(--un-scale-z))"].join(" "),_u=["translate3d(var(--un-translate-x), var(--un-translate-y), var(--un-translate-z))","rotate(var(--un-rotate))","rotateX(var(--un-rotate-x))","rotateY(var(--un-rotate-y))","rotateZ(var(--un-rotate-z))","skewX(var(--un-skew-x))","skewY(var(--un-skew-y))","scaleX(var(--un-scale-x))","scaleY(var(--un-scale-y))","scaleZ(var(--un-scale-z))"].join(" "),Ee={"--un-rotate":0,"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-scale-x":1,"--un-scale-y":1,"--un-scale-z":1,"--un-skew-x":0,"--un-skew-y":0,"--un-translate-x":0,"--un-translate-y":0,"--un-translate-z":0},ee=Object.keys(Ee),ft=[[/^(?:transform-)?origin-(.+)$/,([,e])=>({"transform-origin":F[e]??l.bracket.cssvar(e)}),{autocomplete:[`transform-origin-(${Object.keys(F).join("|")})`,`origin-(${Object.keys(F).join("|")})`]}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,e])=>{let t=l.bracket.cssvar.px.numberWithUnit(e);if(t!=null)return{"-webkit-perspective":t,perspective:t}}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,e])=>{let t=l.bracket.cssvar(e)??(e.length>=3?F[e]:void 0);if(t!=null)return{"-webkit-perspective-origin":t,"perspective-origin":t}}],[/^(?:transform-)?translate-()(.+)$/,xs,{custom:{preflightKeys:ee}}],[/^(?:transform-)?translate-([xyz])-(.+)$/,xs,{custom:{preflightKeys:ee}}],[/^(?:transform-)?rotate-()(.+)$/,$s,{custom:{preflightKeys:ee}}],[/^(?:transform-)?rotate-([xyz])-(.+)$/,$s,{custom:{preflightKeys:ee}}],[/^(?:transform-)?skew-()(.+)$/,vs,{custom:{preflightKeys:ee}}],[/^(?:transform-)?skew-([xy])-(.+)$/,vs,{custom:{preflightKeys:ee},autocomplete:["transform-skew-(x|y)-<percent>","skew-(x|y)-<percent>"]}],[/^(?:transform-)?scale-()(.+)$/,ys,{custom:{preflightKeys:ee}}],[/^(?:transform-)?scale-([xyz])-(.+)$/,ys,{custom:{preflightKeys:ee},autocomplete:[`transform-(${Gt.join("|")})-<percent>`,`transform-(${Gt.join("|")})-(x|y|z)-<percent>`,`(${Gt.join("|")})-<percent>`,`(${Gt.join("|")})-(x|y|z)-<percent>`]}],[/^(?:transform-)?preserve-3d$/,()=>({"transform-style":"preserve-3d"})],[/^(?:transform-)?preserve-flat$/,()=>({"transform-style":"flat"})],["transform",{transform:Re},{custom:{preflightKeys:ee}}],["transform-cpu",{transform:Wu},{custom:{preflightKeys:["--un-translate-x","--un-translate-y","--un-rotate","--un-rotate-z","--un-skew-x","--un-skew-y","--un-scale-x","--un-scale-y"]}}],["transform-gpu",{transform:_u},{custom:{preflightKeys:ee}}],["transform-none",{transform:"none"}],...b("transform")];function xs([,e,t],{theme:r}){let n=r.spacing?.[t]??l.bracket.cssvar.fraction.rem(t);if(n!=null)return[...Ne(e,n,"translate"),["transform",Re]]}function ys([,e,t]){let r=l.bracket.cssvar.fraction.percent(t);if(r!=null)return[...Ne(e,r,"scale"),["transform",Re]]}function $s([,e="",t]){let r=l.bracket.cssvar.degree(t);if(r!=null)return e?{"--un-rotate":0,[`--un-rotate-${e}`]:r,transform:Re}:{"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-rotate":r,transform:Re}}function vs([,e,t]){let r=l.bracket.cssvar.degree(t);if(r!=null)return[...Ne(e,r,"skew"),["transform",Re]]}var ws={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(S.map(e=>[e,e]))},Yt=[[/^(?:vertical|align|v)-(.+)$/,([,e])=>({"vertical-align":ws[e]??l.bracket.cssvar.numberWithUnit(e)}),{autocomplete:[`(vertical|align|v)-(${Object.keys(ws).join("|")})`,"(vertical|align|v)-<percentage>"]}]],Ss=["center","left","right","justify","start","end"],Zt=[...Ss.map(e=>[`text-${e}`,{"text-align":e}]),...[...S,...Ss].map(e=>[`text-align-${e}`,{"text-align":e}])],Jt=[[/^outline-(?:width-|size-)?(.+)$/,Es,{autocomplete:"outline-(width|size)-<num>"}],[/^outline-(?:color-)?(.+)$/,Mu,{autocomplete:"outline-$colors"}],[/^outline-offset-(.+)$/,([,e],{theme:t})=>({"outline-offset":t.lineWidth?.[e]??l.bracket.cssvar.global.px(e)}),{autocomplete:"outline-(offset)-<num>"}],["outline",{"outline-style":"solid"}],...["auto","dashed","dotted","double","hidden","solid","groove","ridge","inset","outset",...S].map(e=>[`outline-${e}`,{"outline-style":e}]),["outline-none",{outline:"2px solid transparent","outline-offset":"2px"}]];function Es([,e],{theme:t}){return{"outline-width":t.lineWidth?.[e]??l.bracket.cssvar.global.px(e)}}function Mu(e,t){return oe(l.bracket(e[1]))?Es(e,t):j("outline-color","outline-color","borderColor")(e,t)}var Qt=[["appearance-auto",{"-webkit-appearance":"auto",appearance:"auto"}],["appearance-none",{"-webkit-appearance":"none",appearance:"none"}]];function Lu(e){return l.properties.auto.global(e)??{contents:"contents",scroll:"scroll-position"}[e]}var er=[[/^will-change-(.+)/,([,e])=>({"will-change":Lu(e)})]],le=["solid","dashed","dotted","double","hidden","none","groove","ridge","inset","outset",...S],tr=[[/^(?:border|b)()(?:-(.+))?$/,Z,{autocomplete:"(border|b)-<directions>"}],[/^(?:border|b)-([xy])(?:-(.+))?$/,Z],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,Z],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,Z],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,Z],[/^(?:border|b)-()(?:width|size)-(.+)$/,Z,{autocomplete:["(border|b)-<num>","(border|b)-<directions>-<num>"]}],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,Z],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,Z],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,Z],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,Z],[/^(?:border|b)-()(?:color-)?(.+)$/,ut,{autocomplete:["(border|b)-$colors","(border|b)-<directions>-$colors"]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,ut],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,ut],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,ut],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,ut],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,pt,{autocomplete:"(border|b)-(op|opacity)-<percent>"}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,pt],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,pt],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,pt],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,pt],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,dt,{autocomplete:["(border|b)-(rounded|rd)","(border|b)-(rounded|rd)-$borderRadius","(rounded|rd)","(rounded|rd)-$borderRadius"]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltbse])(?:-(.+))?$/,dt],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,dt],[/^(?:border-|b-)?(?:rounded|rd)-([bise][se])(?:-(.+))?$/,dt],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,dt],[/^(?:border|b)-(?:style-)?()(.+)$/,Te,{autocomplete:["(border|b)-style",`(border|b)-(${le.join("|")})`,"(border|b)-<directions>-style",`(border|b)-<directions>-(${le.join("|")})`,`(border|b)-<directions>-style-(${le.join("|")})`,`(border|b)-style-(${le.join("|")})`]}],[/^(?:border|b)-([xy])-(?:style-)?(.+)$/,Te],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,Te],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,Te],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,Te]];function Cs(e,t,r){if(t!=null)return{[`border${r}-color`]:v(e,t)};if(r===""){let n={},o="--un-border-opacity",i=v(e,`var(${o})`);return i.includes(o)&&(n[o]=typeof e=="string"?1:N(e)),n["border-color"]=i,n}else{let n={},o="--un-border-opacity",i=`--un-border${r}-opacity`,a=v(e,`var(${i})`);return a.includes(i)&&(n[o]=typeof e=="string"?1:N(e),n[i]=`var(${o})`),n[`border${r}-color`]=a,n}}function Bu(e){return([,t],r)=>{let n=me(t,r,"borderColor");if(!n)return;let{alpha:o,color:i,cssColor:a}=n;if(a)return Cs(a,o,e);if(i)return Cs(i,o,e)}}function Z([,e="",t],{theme:r}){let n=r.lineWidth?.[t||"DEFAULT"]??l.bracket.cssvar.global.px(t||"1");if(e in M&&n!=null)return M[e].map(o=>[`border${o}-width`,n])}function ut([,e="",t],r){if(e in M){if(oe(l.bracket(t)))return Z(["",e,t],r);if(ge(t,r.theme,"borderColor"))return Object.assign({},...M[e].map(n=>Bu(n)(["",t],r.theme)))}}function pt([,e="",t]){let r=l.bracket.percent.cssvar(t);if(e in M&&r!=null)return M[e].map(n=>[`--un-border${n}-opacity`,r])}function dt([,e="",t],{theme:r}){let n=r.borderRadius?.[t||"DEFAULT"]||l.bracket.cssvar.global.fraction.rem(t||"1");if(e in Dt&&n!=null)return Dt[e].map(o=>[`border${o}-radius`,n])}function Te([,e="",t]){if(le.includes(t)&&e in M)return M[e].map(r=>[`border${r}-style`,t])}var rr=[[/^op(?:acity)?-?(.+)$/,([,e])=>({opacity:l.bracket.percent.cssvar(e)})]],Uu=/^\[url\(.+\)\]$/,Iu=/^\[(?:length|size):.+\]$/,Du=/^\[position:.+\]$/,Nu=/^\[(?:linear|conic|radial)-gradient\(.+\)\]$/,qu=/^\[image:.+\]$/,nr=[[/^bg-(.+)$/,(...e)=>{let t=e[0][1];if(Uu.test(t))return{"--un-url":l.bracket(t),"background-image":"var(--un-url)"};if(Iu.test(t)&&l.bracketOfLength(t)!=null)return{"background-size":l.bracketOfLength(t).split(" ").map(r=>l.fraction.auto.px.cssvar(r)??r).join(" ")};if((yn(t)||Du.test(t))&&l.bracketOfPosition(t)!=null)return{"background-position":l.bracketOfPosition(t).split(" ").map(r=>l.position.fraction.auto.px.cssvar(r)??r).join(" ")};if(Nu.test(t)||qu.test(t)){let r=l.bracket(t);if(r)return{"background-image":(r.startsWith("http")?`url(${r})`:l.cssvar(r))??r}}return j("background-color","bg","backgroundColor")(...e)},{autocomplete:"bg-$colors"}],[/^bg-op(?:acity)?-?(.+)$/,([,e])=>({"--un-bg-opacity":l.bracket.percent.cssvar(e)}),{autocomplete:"bg-(op|opacity)-<percent>"}]],or=[[/^color-scheme-(\w+)$/,([,e])=>({"color-scheme":e})]],ir=[[/^@container(?:\/(\w+))?(?:-(normal|inline-size|size))?$/,([,e,t])=>({"container-type":t??"inline-size","container-name":e})]],Rs=["solid","double","dotted","dashed","wavy",...S],ar=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,e])=>({"text-decoration-line":e}),{autocomplete:"decoration-(underline|overline|line-through)"}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,Ts,{autocomplete:"(underline|decoration)-<num>"}],[/^(?:underline|decoration)-(auto|from-font)$/,([,e])=>({"text-decoration-thickness":e}),{autocomplete:"(underline|decoration)-(auto|from-font)"}],[/^(?:underline|decoration)-(.+)$/,Ku,{autocomplete:"(underline|decoration)-$colors"}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-line-opacity":l.bracket.percent.cssvar(e)}),{autocomplete:"(underline|decoration)-(op|opacity)-<percent>"}],[/^(?:underline|decoration)-offset-(.+)$/,([,e],{theme:t})=>({"text-underline-offset":t.lineWidth?.[e]??l.auto.bracket.cssvar.global.px(e)}),{autocomplete:"(underline|decoration)-(offset)-<num>"}],...Rs.map(e=>[`underline-${e}`,{"text-decoration-style":e}]),...Rs.map(e=>[`decoration-${e}`,{"text-decoration-style":e}]),["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];function Ts([,e],{theme:t}){return{"text-decoration-thickness":t.lineWidth?.[e]??l.bracket.cssvar.global.px(e)}}function Ku(e,t){if(oe(l.bracket(e[1])))return Ts(e,t);let r=j("text-decoration-color","line","borderColor")(e,t);if(r)return{"-webkit-text-decoration-color":r["text-decoration-color"],...r}}var sr=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],[/^flex-(.*)$/,([,e])=>({flex:l.bracket(e)!=null?l.bracket(e).split(" ").map(t=>l.cssvar.fraction(t)??t).join(" "):l.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":l.bracket.cssvar.number(e)??1}),{autocomplete:["flex-shrink-<num>","shrink-<num>"]}],[/^(?:flex-)?grow(?:-(.*))?$/,([,e=""])=>({"flex-grow":l.bracket.cssvar.number(e)??1}),{autocomplete:["flex-grow-<num>","grow-<num>"]}],[/^(?:flex-)?basis-(.+)$/,([,e],{theme:t})=>({"flex-basis":t.spacing?.[e]??l.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"}]],Gu={"":"",x:"column-",y:"row-",col:"column-",row:"row-"};function kn([,e="",t],{theme:r}){let n=r.spacing?.[t]??l.bracket.cssvar.global.rem(t);if(n!=null)return{[`${Gu[e]}gap`]:n}}var cr=[[/^(?:flex-|grid-)?gap-?()(.+)$/,kn,{autocomplete:["gap-$spacing","gap-<num>"]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,kn,{autocomplete:["gap-(x|y)-$spacing","gap-(x|y)-<num>"]}],[/^(?:flex-|grid-)?gap-(col|row)-?(.+)$/,kn,{autocomplete:["gap-(col|row)-$spacing","gap-(col|row)-<num>"]}]];function te(e){return e.replace("col","column")}function wn(e){return e[0]==="r"?"Row":"Column"}function Hu(e,t,r){let n=t[`gridAuto${wn(e)}`]?.[r];if(n!=null)return n;switch(r){case"min":return"min-content";case"max":return"max-content";case"fr":return"minmax(0,1fr)"}return l.bracket.cssvar.auto.rem(r)}var lr=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,e,t],{theme:r})=>({[`grid-${te(e)}`]:r[`grid${wn(e)}`]?.[t]??l.bracket.cssvar.auto(t)})],[/^(?:grid-)?(row|col)-span-(.+)$/,([,e,t])=>{if(t==="full")return{[`grid-${te(e)}`]:"1/-1"};let r=l.bracket.number(t);if(r!=null)return{[`grid-${te(e)}`]:`span ${r}/span ${r}`}},{autocomplete:"(grid-row|grid-col|row|col)-span-<num>"}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,e,t])=>({[`grid-${te(e)}-start`]:l.bracket.cssvar(t)??t})],[/^(?:grid-)?(row|col)-end-(.+)$/,([,e,t])=>({[`grid-${te(e)}-end`]:l.bracket.cssvar(t)??t}),{autocomplete:"(grid-row|grid-col|row|col)-(start|end)-<num>"}],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,e,t],{theme:r})=>({[`grid-auto-${te(e)}`]:Hu(e,r,t)}),{autocomplete:"(grid-auto|auto)-(rows|cols)-<num>"}],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,e])=>({"grid-auto-flow":l.bracket.cssvar(e)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)$/,([,e])=>({"grid-auto-flow":te(e).replace("-"," ")}),{autocomplete:["(grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)"]}],[/^(?:grid-)?(rows|cols)-(.+)$/,([,e,t],{theme:r})=>({[`grid-template-${te(e)}`]:r[`gridTemplate${wn(e)}`]?.[t]??l.bracket.cssvar(t)})],[/^(?:grid-)?(rows|cols)-minmax-([\w.-]+)$/,([,e,t])=>({[`grid-template-${te(e)}`]:`repeat(auto-fill,minmax(${t},1fr))`})],[/^(?:grid-)?(rows|cols)-(\d+)$/,([,e,t])=>({[`grid-template-${te(e)}`]:`repeat(${t},minmax(0,1fr))`}),{autocomplete:"(grid-rows|grid-cols|rows|cols)-<num>"}],[/^grid-area(s)?-(.+)$/,([,e,t])=>e!=null?{"grid-template-areas":l.cssvar(t)??t.split("-").map(r=>`"${l.bracket(r)}"`).join(" ")}:{"grid-area":l.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"}]],Ht=["auto","hidden","clip","visible","scroll","overlay",...S],fr=[[/^(?:overflow|of)-(.+)$/,([,e])=>Ht.includes(e)?{overflow:e}:void 0,{autocomplete:[`(overflow|of)-(${Ht.join("|")})`,`(overflow|of)-(x|y)-(${Ht.join("|")})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,e,t])=>Ht.includes(t)?{[`overflow-${e}`]:t}:void 0]],ur=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,e])=>({position:e}),{autocomplete:["(position|pos)-<position>","(position|pos)-<globalKeyword>","<position>"]}],[/^(?:position-|pos-)([-\w]+)$/,([,e])=>S.includes(e)?{position:e}:void 0],[/^(?:position-|pos-)?(static)$/,([,e])=>({position:e})]],ht=[["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"}],...b("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"}],...b("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"}],...b("justify-self")],pr=[[/^order-(.+)$/,([,e])=>({order:l.bracket.cssvar.number(e)})],["order-first",{order:"-9999"}],["order-last",{order:"9999"}],["order-none",{order:"0"}]],gt=[["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"}],...b("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"}],...b("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"}],...b("self","align-self")],bt=[["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"}],...b("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"}],...b("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"}],...b("place-self")],dr=[...ht,...gt,...bt].flatMap(([e,t])=>[[`flex-${e}`,t],[`grid-${e}`,t]]);function Sn(e,{theme:t}){return t.spacing?.[e]??l.bracket.cssvar.global.auto.fraction.rem(e)}function mt([,e,t],r){let n=Sn(t,r);if(n!=null&&e in It)return It[e].map(o=>[o.slice(1),n])}var mr=[[/^(?:position-|pos-)?inset-(.+)$/,([,e],t)=>({inset:Sn(e,t)}),{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)-(.+)$/,mt],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,mt],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,mt],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,mt],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,mt],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,e,t],r)=>({[e]:Sn(t,r)})]],hr=[["float-left",{float:"left"}],["float-right",{float:"right"}],["float-start",{float:"inline-start"}],["float-end",{float:"inline-end"}],["float-none",{float:"none"}],...b("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"}],...b("clear")],gr=[[/^(?:position-|pos-)?z([\d.]+)$/,([,e])=>({"z-index":l.number(e)})],[/^(?:position-|pos-)?z-(.+)$/,([,e],{theme:t})=>({"z-index":t.zIndex?.[e]??l.bracket.cssvar.global.auto.number(e)}),{autocomplete:"z-<num>"}]],br=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}],...b("box","box-sizing")],xr=[[/^(where|\?)$/,(e,{constructCSS:t,generator:r})=>{if(r.userConfig.envMode==="dev")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"})}`}]],Xu={h:"height",w:"width",inline:"inline-size",block:"block-size"};function be(e,t){return`${e||""}${Xu[t]}`}function Xt(e,t,r,n){let o=be(e,t).replace(/-(\w)/g,(a,s)=>s.toUpperCase()),i=r[o]?.[n];if(i!=null)return i;switch(n){case"fit":case"max":case"min":return`${n}-content`}return l.bracket.cssvar.global.auto.fraction.rem(n)}var yr=[[/^size-(min-|max-)?(.+)$/,([,e,t],{theme:r})=>({[be(e,"w")]:Xt(e,"w",r,t),[be(e,"h")]:Xt(e,"h",r,t)})],[/^(?:size-)?(min-|max-)?([wh])-?(.+)$/,([,e,t,r],{theme:n})=>({[be(e,t)]:Xt(e,t,n,r)})],[/^(?:size-)?(min-|max-)?(block|inline)-(.+)$/,([,e,t,r],{theme:n})=>({[be(e,t)]:Xt(e,t,n,r)}),{autocomplete:["(w|h)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(max|min)-(w|h|block|inline)","(max|min)-(w|h|block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(w|h)-full","(max|min)-(w|h)-full"]}],[/^(?:size-)?(min-|max-)?(h)-screen-(.+)$/,([,e,t,r],n)=>({[be(e,t)]:zs(n,r,"verticalBreakpoints")})],[/^(?:size-)?(min-|max-)?(w)-screen-(.+)$/,([,e,t,r],n)=>({[be(e,t)]:zs(n,r)}),{autocomplete:["(w|h)-screen","(min|max)-(w|h)-screen","h-screen-$verticalBreakpoints","(min|max)-h-screen-$verticalBreakpoints","w-screen-$breakpoints","(min|max)-w-screen-$breakpoints"]}]];function zs(e,t,r="breakpoints"){let n=ce(e,r);if(n)return n.find(o=>o.point===t)?.size}function Yu(e){if(/^\d+\/\d+$/.test(e))return e;switch(e){case"square":return"1/1";case"video":return"16/9"}return l.bracket.cssvar.global.auto.number(e)}var $r=[[/^(?:size-)?aspect-(?:ratio-)?(.+)$/,([,e])=>({"aspect-ratio":Yu(e)}),{autocomplete:["aspect-(square|video|ratio)","aspect-ratio-(square|video)"]}]],vr=[[/^pa?()-?(.+)$/,R("padding"),{autocomplete:["(m|p)<num>","(m|p)-<num>"]}],[/^p-?xy()()$/,R("padding"),{autocomplete:"(m|p)-(xy)"}],[/^p-?([xy])(?:-?(.+))?$/,R("padding")],[/^p-?([rltbse])(?:-?(.+))?$/,R("padding"),{autocomplete:"(m|p)<directions>-<num>"}],[/^p-(block|inline)(?:-(.+))?$/,R("padding"),{autocomplete:"(m|p)-(block|inline)-<num>"}],[/^p-?([bi][se])(?:-?(.+))?$/,R("padding"),{autocomplete:"(m|p)-(bs|be|is|ie)-<num>"}]],kr=[[/^ma?()-?(.+)$/,R("margin")],[/^m-?xy()()$/,R("margin")],[/^m-?([xy])(?:-?(.+))?$/,R("margin")],[/^m-?([rltbse])(?:-?(.+))?$/,R("margin")],[/^m-(block|inline)(?:-(.+))?$/,R("margin")],[/^m-?([bi][se])(?:-?(.+))?$/,R("margin")]],wr=[[/^fill-(.+)$/,j("fill","fill","backgroundColor"),{autocomplete:"fill-$colors"}],[/^fill-op(?:acity)?-?(.+)$/,([,e])=>({"--un-fill-opacity":l.bracket.percent.cssvar(e)}),{autocomplete:"fill-(op|opacity)-<percent>"}],["fill-none",{fill:"none"}],[/^stroke-(?:width-|size-)?(.+)$/,Os,{autocomplete:["stroke-width-$lineWidth","stroke-size-$lineWidth"]}],[/^stroke-dash-(.+)$/,([,e])=>({"stroke-dasharray":l.bracket.cssvar.number(e)}),{autocomplete:"stroke-dash-<num>"}],[/^stroke-offset-(.+)$/,([,e],{theme:t})=>({"stroke-dashoffset":t.lineWidth?.[e]??l.bracket.cssvar.px.numberWithUnit(e)}),{autocomplete:"stroke-offset-$lineWidth"}],[/^stroke-(.+)$/,Zu,{autocomplete:"stroke-$colors"}],[/^stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-stroke-opacity":l.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 Os([,e],{theme:t}){return{"stroke-width":t.lineWidth?.[e]??l.bracket.cssvar.fraction.px.number(e)}}function Zu(e,t){return oe(l.bracket(e[1]))?Os(e,t):j("stroke","stroke","borderColor")(e,t)}function js(e,t){let r;if(l.cssvar(e)!=null)r=l.cssvar(e);else{e.startsWith("[")&&e.endsWith("]")&&(e=e.slice(1,-1));let n=e.split(",").map(o=>t.transitionProperty?.[o]??l.properties(o));n.every(Boolean)&&(r=n.join(","))}return r}var Sr=[[/^transition(?:-(\D+?))?(?:-(\d+))?$/,([,e,t],{theme:r})=>{if(!e&&!t)return{"transition-property":r.transitionProperty?.DEFAULT,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":r.duration?.DEFAULT??l.time("150")};if(e!=null){let n=js(e,r),o=r.duration?.[t||"DEFAULT"]??l.time(t||"150");if(n)return{"transition-property":n,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":o}}else if(t!=null)return{"transition-property":r.transitionProperty?.DEFAULT,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":r.duration?.[t]??l.time(t)}},{autocomplete:"transition-$transitionProperty-$duration"}],[/^(?:transition-)?duration-(.+)$/,([,e],{theme:t})=>({"transition-duration":t.duration?.[e||"DEFAULT"]??l.bracket.cssvar.time(e)}),{autocomplete:["transition-duration-$duration","duration-$duration"]}],[/^(?:transition-)?delay-(.+)$/,([,e],{theme:t})=>({"transition-delay":t.duration?.[e||"DEFAULT"]??l.bracket.cssvar.time(e)}),{autocomplete:["transition-delay-$duration","delay-$duration"]}],[/^(?:transition-)?ease(?:-(.+))?$/,([,e],{theme:t})=>({"transition-timing-function":t.easing?.[e||"DEFAULT"]??l.bracket.cssvar(e)}),{autocomplete:["transition-ease-(linear|in|out|in-out|DEFAULT)","ease-(linear|in|out|in-out|DEFAULT)"]}],[/^(?:transition-)?property-(.+)$/,([,e],{theme:t})=>{let r=l.global(e)||js(e,t);if(r)return{"transition-property":r}},{autocomplete:[`transition-property-(${[...S].join("|")})`,"transition-property-$transitionProperty","property-$transitionProperty"]}],["transition-none",{transition:"none"}],...b("transition"),["transition-discrete",{"transition-behavior":"allow-discrete"}],["transition-normal",{"transition-behavior":"normal"}]],Cr=[[/^text-(.+)$/,Qu,{autocomplete:"text-$fontSize"}],[/^(?:text|font)-size-(.+)$/,As,{autocomplete:"text-size-$fontSize"}],[/^text-(?:color-)?(.+)$/,Ju,{autocomplete:"text-$colors"}],[/^(?:color|c)-(.+)$/,j("color","text","textColor"),{autocomplete:"(color|c)-$colors"}],[/^(?:text|color|c)-(.+)$/,([,e])=>S.includes(e)?{color:e}:void 0,{autocomplete:`(text|color|c)-(${S.join("|")})`}],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-opacity":l.bracket.percent.cssvar(e)}),{autocomplete:"(text|color|c)-(op|opacity)-<percent>"}],[/^(?:font|fw)-?([^-]+)$/,([,e],{theme:t})=>({"font-weight":t.fontWeight?.[e]||l.bracket.global.number(e)}),{autocomplete:["(font|fw)-(100|200|300|400|500|600|700|800|900)","(font|fw)-$fontWeight"]}],[/^(?:font-)?(?:leading|lh|line-height)-(.+)$/,([,e],{theme:t})=>({"line-height":Cn(e,t,"lineHeight")}),{autocomplete:"(leading|lh|line-height)-$lineHeight"}],["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":l.bracket.cssvar.global(e)})],[/^(?:font-)?tracking-(.+)$/,([,e],{theme:t})=>({"letter-spacing":t.letterSpacing?.[e]||l.bracket.cssvar.global.rem(e)}),{autocomplete:"tracking-$letterSpacing"}],[/^(?:font-)?word-spacing-(.+)$/,([,e],{theme:t})=>({"word-spacing":t.wordSpacing?.[e]||l.bracket.cssvar.global.rem(e)}),{autocomplete:"word-spacing-$wordSpacing"}],["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":l.bracket.cssvar.fraction.global(e)}),{autocomplete:"font-stretch-<percentage>"}],[/^font-(.+)$/,([,e],{theme:t})=>({"font-family":t.fontFamily?.[e]||l.bracket.cssvar.global(e)}),{autocomplete:"font-$fontFamily"}]],Rr=[[/^tab(?:-(.+))?$/,([,e])=>{let t=l.bracket.cssvar.global.number(e||"4");if(t!=null)return{"-moz-tab-size":t,"-o-tab-size":t,"tab-size":t}}]],zr=[[/^indent(?:-(.+))?$/,([,e],{theme:t})=>({"text-indent":t.textIndent?.[e||"DEFAULT"]||l.bracket.cssvar.global.fraction.rem(e)}),{autocomplete:"indent-$textIndent"}]],jr=[[/^text-stroke(?:-(.+))?$/,([,e],{theme:t})=>({"-webkit-text-stroke-width":t.textStrokeWidth?.[e||"DEFAULT"]||l.bracket.cssvar.px(e)}),{autocomplete:"text-stroke-$textStrokeWidth"}],[/^text-stroke-(.+)$/,j("-webkit-text-stroke-color","text-stroke","borderColor"),{autocomplete:"text-stroke-$colors"}],[/^text-stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-stroke-opacity":l.bracket.percent.cssvar(e)}),{autocomplete:"text-stroke-(op|opacity)-<percent>"}]],Er=[[/^text-shadow(?:-(.+))?$/,([,e],{theme:t})=>{let r=t.textShadow?.[e||"DEFAULT"];return r!=null?{"--un-text-shadow":he(r,"--un-text-shadow-color").join(","),"text-shadow":"var(--un-text-shadow)"}:{"text-shadow":l.bracket.cssvar.global(e)}},{autocomplete:"text-shadow-$textShadow"}],[/^text-shadow-color-(.+)$/,j("--un-text-shadow-color","text-shadow","shadowColor"),{autocomplete:"text-shadow-color-$colors"}],[/^text-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-shadow-opacity":l.bracket.percent.cssvar(e)}),{autocomplete:"text-shadow-color-(op|opacity)-<percent>"}]];function Cn(e,t,r){return t[r]?.[e]||l.bracket.cssvar.global.rem(e)}function As([,e],{theme:t}){let n=E(t.fontSize?.[e])?.[0]??l.bracket.cssvar.global.rem(e);if(n!=null)return{"font-size":n}}function Ju(e,t){return oe(l.bracket(e[1]))?As(e,t):j("color","text","textColor")(e,t)}function Qu([,e="base"],{theme:t}){let r=Kt(e,"length");if(!r)return;let[n,o]=r,i=E(t.fontSize?.[n]),a=o?Cn(o,t,"lineHeight"):void 0;if(i?.[0]){let[c,u,d]=i;return typeof u=="object"?{"font-size":c,...u}:{"font-size":c,"line-height":a??u??"1","letter-spacing":d?Cn(d,t,"letterSpacing"):void 0}}let s=l.bracketOfLength.rem(n);return a&&s?{"font-size":s,"line-height":a}:{"font-size":l.bracketOfLength.rem(e)}}var ep={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"},Tr=[[/^(.+?)-(\$.+)$/,([,e,t])=>{let r=ep[e];if(r)return{[r]:l.cssvar(t)}}]],Or=[[/^\[(.*)\]$/,([e,t])=>{if(!t.includes(":"))return;let[r,...n]=t.split(":"),o=n.join(":");if(!rp(t)&&/^[\w-]+$/.test(r)&&tp(o)){let i=l.bracket(`[${o}]`);if(i)return{[r]:i}}}]];function tp(e){let t=0;function r(n){for(;t<e.length;)if(t+=1,e[t]===n)return!0;return!1}for(t=0;t<e.length;t++){let n=e[t];if("\"`'".includes(n)){if(!r(n))return!1}else if(n==="("){if(!r(")"))return!1}else if("[]{}:".includes(n))return!1}return!0}function rp(e){if(!e.includes("://"))return!1;try{return new URL(e).host!==""}catch{return!1}}var np=[Tr,Or,He,Xe,Ke,ur,mr,gr,pr,lr,hr,kr,br,qe,$r,yr,sr,ft,Ge,Ze,Ye,Qt,bt,gt,ht,cr,dr,fr,nt,Je,tt,tr,nr,or,wr,vr,Zt,zr,rt,Yt,Cr,ot,it,ar,at,Rr,jr,Er,rr,lt,Jt,ct,Sr,er,Qe,et,ir,st,xr].flat(1);var Ps=[[/^divide-?([xy])$/,Ar,{autocomplete:["divide-(x|y|block|inline)","divide-(x|y|block|inline)-reverse","divide-(x|y|block|inline)-$lineWidth"]}],[/^divide-?([xy])-?(.+)$/,Ar],[/^divide-?([xy])-reverse$/,([,e])=>({[`--un-divide-${e}-reverse`]:1})],[/^divide-(block|inline)$/,Ar],[/^divide-(block|inline)-(.+)$/,Ar],[/^divide-(block|inline)-reverse$/,([,e])=>({[`--un-divide-${e}-reverse`]:1})],[/^divide-(.+)$/,j("border-color","divide","borderColor"),{autocomplete:"divide-$colors"}],[/^divide-op(?:acity)?-?(.+)$/,([,e])=>({"--un-divide-opacity":l.bracket.percent(e)}),{autocomplete:["divide-(op|opacity)","divide-(op|opacity)-<percent>"]}],...le.map(e=>[`divide-${e}`,{"border-style":e}])];function Ar([,e,t],{theme:r}){let n=r.lineWidth?.[t||"DEFAULT"]??l.bracket.cssvar.px(t||"1");if(n!=null){n==="0"&&(n="0px");let o=M[e].map(i=>{let a=`border${i}-width`,s=i.endsWith("right")||i.endsWith("bottom")?`calc(${n} * var(--un-divide-${e}-reverse))`:`calc(${n} * calc(1 - var(--un-divide-${e}-reverse)))`;return[a,s]});if(o)return[[`--un-divide-${e}-reverse`,0],...o]}}var zn={"--un-blur":$,"--un-brightness":$,"--un-contrast":$,"--un-drop-shadow":$,"--un-grayscale":$,"--un-hue-rotate":$,"--un-invert":$,"--un-saturate":$,"--un-sepia":$},Fs=Object.keys(zn),Vs={preflightKeys:Fs},Pr="var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)",jn={"--un-backdrop-blur":$,"--un-backdrop-brightness":$,"--un-backdrop-contrast":$,"--un-backdrop-grayscale":$,"--un-backdrop-hue-rotate":$,"--un-backdrop-invert":$,"--un-backdrop-opacity":$,"--un-backdrop-saturate":$,"--un-backdrop-sepia":$},Ws=Object.keys(jn),ip={preflightKeys:Ws},Vr="var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia)",ie={preflightKeys:[...Fs,...Ws]};function Rn(e){let t=l.bracket.cssvar(e||"");if(t!=null||(t=e?l.percent(e):"1",t!=null&&Number.parseFloat(t)<=1))return t}function ae(e,t){return([,r,n],{theme:o})=>{let i=t(n,o)??(n==="none"?"0":"");if(i!=="")return r?{[`--un-${r}${e}`]:`${e}(${i})`,"-webkit-backdrop-filter":Vr,"backdrop-filter":Vr}:{[`--un-${e}`]:`${e}(${i})`,filter:Pr}}}function ap([,e],{theme:t}){let r=t.dropShadow?.[e||"DEFAULT"];if(r!=null)return{"--un-drop-shadow":`drop-shadow(${he(r,"--un-drop-shadow-color").join(") drop-shadow(")})`,filter:Pr};if(r=l.bracket.cssvar(e),r!=null)return{"--un-drop-shadow":`drop-shadow(${r})`,filter:Pr}}var _s=[[/^(?:(backdrop-)|filter-)?blur(?:-(.+))?$/,ae("blur",(e,t)=>t.blur?.[e||"DEFAULT"]||l.bracket.cssvar.px(e)),{custom:ie,autocomplete:["(backdrop|filter)-blur-$blur","blur-$blur","filter-blur"]}],[/^(?:(backdrop-)|filter-)?brightness-(.+)$/,ae("brightness",e=>l.bracket.cssvar.percent(e)),{custom:ie,autocomplete:["(backdrop|filter)-brightness-<percent>","brightness-<percent>"]}],[/^(?:(backdrop-)|filter-)?contrast-(.+)$/,ae("contrast",e=>l.bracket.cssvar.percent(e)),{custom:ie,autocomplete:["(backdrop|filter)-contrast-<percent>","contrast-<percent>"]}],[/^(?:filter-)?drop-shadow(?:-(.+))?$/,ap,{custom:Vs,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-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-(.+)$/,j("--un-drop-shadow-color","drop-shadow","shadowColor")],[/^(?:filter-)?drop-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-drop-shadow-opacity":l.bracket.percent(e)})],[/^(?:(backdrop-)|filter-)?grayscale(?:-(.+))?$/,ae("grayscale",Rn),{custom:ie,autocomplete:["(backdrop|filter)-grayscale","(backdrop|filter)-grayscale-<percent>","grayscale-<percent>"]}],[/^(?:(backdrop-)|filter-)?hue-rotate-(.+)$/,ae("hue-rotate",e=>l.bracket.cssvar.degree(e)),{custom:ie}],[/^(?:(backdrop-)|filter-)?invert(?:-(.+))?$/,ae("invert",Rn),{custom:ie,autocomplete:["(backdrop|filter)-invert","(backdrop|filter)-invert-<percent>","invert-<percent>"]}],[/^(backdrop-)op(?:acity)?-(.+)$/,ae("opacity",e=>l.bracket.cssvar.percent(e)),{custom:ie,autocomplete:["backdrop-(op|opacity)","backdrop-(op|opacity)-<percent>"]}],[/^(?:(backdrop-)|filter-)?saturate-(.+)$/,ae("saturate",e=>l.bracket.cssvar.percent(e)),{custom:ie,autocomplete:["(backdrop|filter)-saturate","(backdrop|filter)-saturate-<percent>","saturate-<percent>"]}],[/^(?:(backdrop-)|filter-)?sepia(?:-(.+))?$/,ae("sepia",Rn),{custom:ie,autocomplete:["(backdrop|filter)-sepia","(backdrop|filter)-sepia-<percent>","sepia-<percent>"]}],["filter",{filter:Pr},{custom:Vs}],["backdrop-filter",{"-webkit-backdrop-filter":Vr,"backdrop-filter":Vr},{custom:ip}],["filter-none",{filter:"none"}],["backdrop-filter-none",{"-webkit-backdrop-filter":"none","backdrop-filter":"none"}],...S.map(e=>[`filter-${e}`,{filter:e}]),...S.map(e=>[`backdrop-filter-${e}`,{"-webkit-backdrop-filter":e,"backdrop-filter":e}])];var Ms=[[/^line-clamp-(\d+)$/,([,e])=>({overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":e,"line-clamp":e}),{autocomplete:["line-clamp","line-clamp-<num>"]}],...["none",...S].map(e=>[`line-clamp-${e}`,{overflow:"visible",display:"block","-webkit-box-orient":"horizontal","-webkit-line-clamp":e,"line-clamp":e}])];var Ls=[[/^\$ placeholder-(.+)$/,j("color","placeholder","accentColor"),{autocomplete:"placeholder-$colors"}],[/^\$ placeholder-op(?:acity)?-?(.+)$/,([,e])=>({"--un-placeholder-opacity":l.bracket.percent(e)}),{autocomplete:["placeholder-(op|opacity)","placeholder-(op|opacity)-<percent>"]}]];var En={"--un-scroll-snap-strictness":"proximity"},Bs={preflightKeys:Object.keys(En)},Us=[[/^snap-(x|y)$/,([,e])=>({"scroll-snap-type":`${e} var(--un-scroll-snap-strictness)`}),{custom:Bs,autocomplete:"snap-(x|y|both)"}],[/^snap-both$/,()=>({"scroll-snap-type":"both var(--un-scroll-snap-strictness)"}),{custom:Bs}],["snap-mandatory",{"--un-scroll-snap-strictness":"mandatory"}],["snap-proximity",{"--un-scroll-snap-strictness":"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?()-?(.+)$/,R("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])-?(.+)$/,R("scroll-margin")],[/^scroll-m-?([rltb])-?(.+)$/,R("scroll-margin")],[/^scroll-m-(block|inline)-(.+)$/,R("scroll-margin")],[/^scroll-m-?([bi][se])-?(.+)$/,R("scroll-margin")],[/^scroll-pa?()-?(.+)$/,R("scroll-padding")],[/^scroll-p-?([xy])-?(.+)$/,R("scroll-padding")],[/^scroll-p-?([rltb])-?(.+)$/,R("scroll-padding")],[/^scroll-p-(block|inline)-(.+)$/,R("scroll-padding")],[/^scroll-p-?([bi][se])-?(.+)$/,R("scroll-padding")]];var Ds=[[/^space-([xy])-(.+)$/,Is,{autocomplete:["space-(x|y|block|inline)","space-(x|y|block|inline)-reverse","space-(x|y|block|inline)-$spacing"]}],[/^space-([xy])-reverse$/,([,e])=>({[`--un-space-${e}-reverse`]:1})],[/^space-(block|inline)-(.+)$/,Is],[/^space-(block|inline)-reverse$/,([,e])=>({[`--un-space-${e}-reverse`]:1})]];function Is([,e,t],{theme:r}){let n=r.spacing?.[t||"DEFAULT"]??l.bracket.cssvar.auto.fraction.rem(t||"1");if(n!=null){n==="0"&&(n="0px");let o=M[e].map(i=>{let a=`margin${i}`,s=i.endsWith("right")||i.endsWith("bottom")?`calc(${n} * var(--un-space-${e}-reverse))`:`calc(${n} * calc(1 - var(--un-space-${e}-reverse)))`;return[a,s]});if(o)return[[`--un-space-${e}-reverse`,0],...o]}}var Ns=[["uppercase",{"text-transform":"uppercase"}],["lowercase",{"text-transform":"lowercase"}],["capitalize",{"text-transform":"capitalize"}],["normal-case",{"text-transform":"none"}]],qs=[...["manual","auto","none",...S].map(e=>[`hyphens-${e}`,{"-webkit-hyphens":e,"-ms-hyphens":e,hyphens:e}])],Ks=[["write-vertical-right",{"writing-mode":"vertical-rl"}],["write-vertical-left",{"writing-mode":"vertical-lr"}],["write-normal",{"writing-mode":"horizontal-tb"}],...b("write","writing-mode")],Gs=[["write-orient-mixed",{"text-orientation":"mixed"}],["write-orient-sideways",{"text-orientation":"sideways"}],["write-orient-upright",{"text-orientation":"upright"}],...b("write-orient","text-orientation")],Hs=[["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"}]],Xs=[["isolate",{isolation:"isolate"}],["isolate-auto",{isolation:"auto"}],["isolation-auto",{isolation:"auto"}]],Ys=[["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])=>{if(F[e])return{"object-position":F[e]};if(l.bracketOfPosition(e)!=null)return{"object-position":l.bracketOfPosition(e).split(" ").map(t=>l.position.fraction.auto.px.cssvar(t)??t).join(" ")}},{autocomplete:`object-(${Object.keys(F).join("|")})`}]],Zs=[["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"}],...b("bg-blend","background-blend")],Js=[["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"}],...b("mix-blend")],Qs=[["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"}]];var Tn={"--un-border-spacing-x":0,"--un-border-spacing-y":0},ec={preflightKeys:Object.keys(Tn)},tc="var(--un-border-spacing-x) var(--un-border-spacing-y)",rc=[["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-(.+)$/,([,e],{theme:t})=>{let r=t.spacing?.[e]??l.bracket.cssvar.global.auto.fraction.rem(e);if(r!=null)return{"--un-border-spacing-x":r,"--un-border-spacing-y":r,"border-spacing":tc}},{custom:ec,autocomplete:["border-spacing","border-spacing-$spacing"]}],[/^border-spacing-([xy])-(.+)$/,([,e,t],{theme:r})=>{let n=r.spacing?.[t]??l.bracket.cssvar.global.auto.fraction.rem(t);if(n!=null)return{[`--un-border-spacing-${e}`]:n,"border-spacing":tc}},{custom:ec,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"}]];var Pn={"--un-pan-x":$,"--un-pan-y":$,"--un-pinch-zoom":$},On={preflightKeys:Object.keys(Pn)},An="var(--un-pan-x) var(--un-pan-y) var(--un-pinch-zoom)",nc=[[/^touch-pan-(x|left|right)$/,([,e])=>({"--un-pan-x":`pan-${e}`,"touch-action":An}),{custom:On,autocomplete:["touch-pan","touch-pan-(x|left|right|y|up|down)"]}],[/^touch-pan-(y|up|down)$/,([,e])=>({"--un-pan-y":`pan-${e}`,"touch-action":An}),{custom:On}],["touch-pinch-zoom",{"--un-pinch-zoom":"pinch-zoom","touch-action":An},{custom:On}],["touch-auto",{"touch-action":"auto"}],["touch-manipulation",{"touch-action":"manipulation"}],["touch-none",{"touch-action":"none"}],...b("touch","touch-action")];var Vn={"--un-ordinal":$,"--un-slashed-zero":$,"--un-numeric-figure":$,"--un-numeric-spacing":$,"--un-numeric-fraction":$},fe={preflightKeys:Object.keys(Vn)};function ue(e){return{...e,"font-variant-numeric":"var(--un-ordinal) var(--un-slashed-zero) var(--un-numeric-figure) var(--un-numeric-spacing) var(--un-numeric-fraction)"}}var oc=[[/^ordinal$/,()=>ue({"--un-ordinal":"ordinal"}),{custom:fe,autocomplete:"ordinal"}],[/^slashed-zero$/,()=>ue({"--un-slashed-zero":"slashed-zero"}),{custom:fe,autocomplete:"slashed-zero"}],[/^lining-nums$/,()=>ue({"--un-numeric-figure":"lining-nums"}),{custom:fe,autocomplete:"lining-nums"}],[/^oldstyle-nums$/,()=>ue({"--un-numeric-figure":"oldstyle-nums"}),{custom:fe,autocomplete:"oldstyle-nums"}],[/^proportional-nums$/,()=>ue({"--un-numeric-spacing":"proportional-nums"}),{custom:fe,autocomplete:"proportional-nums"}],[/^tabular-nums$/,()=>ue({"--un-numeric-spacing":"tabular-nums"}),{custom:fe,autocomplete:"tabular-nums"}],[/^diagonal-fractions$/,()=>ue({"--un-numeric-fraction":"diagonal-fractions"}),{custom:fe,autocomplete:"diagonal-fractions"}],[/^stacked-fractions$/,()=>ue({"--un-numeric-fraction":"stacked-fractions"}),{custom:fe,autocomplete:"stacked-fractions"}],["normal-nums",{"font-variant-numeric":"normal"}]];var sp={"bg-blend":"background-blend-mode","bg-clip":"-webkit-background-clip","bg-gradient":"linear-gradient","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"},ic=[[/^(.+?)-(\$.+)$/,([,e,t])=>{let r=sp[e];if(r)return{[r]:l.cssvar(t)}}]];var ac=[[/^view-transition-([\w-]+)$/,([,e])=>({"view-transition-name":e})]];var sc=[Tr,ic,Or,gs,He,Hs,Xe,Ke,ur,mr,Ms,Xs,gr,pr,lr,hr,kr,br,qe,$r,yr,sr,rc,ft,as,Ge,nc,Ze,Ye,Us,ls,Qt,hs,bt,gt,ht,cr,dr,Ds,Ps,fr,ds,ms,nt,Je,tt,tr,nr,cs,or,wr,Ys,vr,Zt,zr,rt,Yt,Cr,ot,Ns,it,oc,ar,at,Rr,jr,Er,qs,Ks,Gs,us,fs,rr,Zs,Js,lt,Jt,ct,ps,_s,Sr,er,Qe,et,Ls,ir,ac,Qs,st,xr].flat(1);var cc=[...bs];var Fn={inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"},light:{50:"#fdfdfd",100:"#fcfcfc",200:"#fafafa",300:"#f8f9fa",400:"#f6f6f6",500:"#f2f2f2",600:"#f1f3f5",700:"#e9ecef",800:"#dee2e6",900:"#dde1e3",950:"#d8dcdf"},dark:{50:"#4a4a4a",100:"#3c3c3c",200:"#323232",300:"#2d2d2d",400:"#222222",500:"#1f1f1f",600:"#1c1c1e",700:"#1b1b1b",800:"#181818",900:"#0f0f0f",950:"#080808"},get lightblue(){return this.sky},get lightBlue(){return this.sky},get warmgray(){return this.stone},get warmGray(){return this.stone},get truegray(){return this.neutral},get trueGray(){return this.neutral},get coolgray(){return this.gray},get coolGray(){return this.gray},get bluegray(){return this.slate},get blueGray(){return this.slate}};Object.values(Fn).forEach(e=>{typeof e!="string"&&e!==void 0&&(e.DEFAULT=e.DEFAULT||e[400],Object.keys(e).forEach(t=>{let r=+t/100;r===Math.round(r)&&(e[r]=e[t])}))});var lc={DEFAULT:"8px",0:"0",sm:"4px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},fc={DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],sm:"0 1px 1px rgb(0 0 0 / 0.05)",md:["0 4px 3px rgb(0 0 0 / 0.07)","0 2px 2px rgb(0 0 0 / 0.06)"],lg:["0 10px 8px rgb(0 0 0 / 0.04)","0 4px 3px rgb(0 0 0 / 0.1)"],xl:["0 20px 13px rgb(0 0 0 / 0.03)","0 8px 5px rgb(0 0 0 / 0.08)"],"2xl":"0 25px 25px rgb(0 0 0 / 0.15)",none:"0 0 rgb(0 0 0 / 0)"},uc={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(",")},pc={xs:["0.75rem","1rem"],sm:["0.875rem","1.25rem"],base:["1rem","1.5rem"],lg:["1.125rem","1.75rem"],xl:["1.25rem","1.75rem"],"2xl":["1.5rem","2rem"],"3xl":["1.875rem","2.25rem"],"4xl":["2.25rem","2.5rem"],"5xl":["3rem","1"],"6xl":["3.75rem","1"],"7xl":["4.5rem","1"],"8xl":["6rem","1"],"9xl":["8rem","1"]},dc={DEFAULT:"1.5rem",xs:"0.5rem",sm:"1rem",md:"1.5rem",lg:"2rem",xl:"2.5rem","2xl":"3rem","3xl":"4rem"},mc={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},hc={DEFAULT:["0 0 1px rgb(0 0 0 / 0.2)","0 0 1px rgb(1 0 5 / 0.1)"],none:"0 0 rgb(0 0 0 / 0)",sm:"1px 1px 3px rgb(36 37 47 / 0.25)",md:["0 1px 2px rgb(30 29 39 / 0.19)","1px 2px 4px rgb(54 64 147 / 0.18)"],lg:["3px 3px 6px rgb(0 0 0 / 0.26)","0 0 5px rgb(15 3 86 / 0.22)"],xl:["1px 1px 3px rgb(0 0 0 / 0.29)","2px 4px 7px rgb(73 64 125 / 0.35)"]},gc={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},Bn={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},bc={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},xc=Bn,Un={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},yc={...Un},$c={DEFAULT:"1px",none:"0"},vc={DEFAULT:"1rem",none:"0",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"},kc={DEFAULT:"150ms",none:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},wc={DEFAULT:"0.25rem",none:"0",sm:"0.125rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},Sc={DEFAULT:["var(--un-shadow-inset) 0 1px 3px 0 rgb(0 0 0 / 0.1)","var(--un-shadow-inset) 0 1px 2px -1px rgb(0 0 0 / 0.1)"],none:"0 0 rgb(0 0 0 / 0)",sm:"var(--un-shadow-inset) 0 1px 2px 0 rgb(0 0 0 / 0.05)",md:["var(--un-shadow-inset) 0 4px 6px -1px rgb(0 0 0 / 0.1)","var(--un-shadow-inset) 0 2px 4px -2px rgb(0 0 0 / 0.1)"],lg:["var(--un-shadow-inset) 0 10px 15px -3px rgb(0 0 0 / 0.1)","var(--un-shadow-inset) 0 4px 6px -4px rgb(0 0 0 / 0.1)"],xl:["var(--un-shadow-inset) 0 20px 25px -5px rgb(0 0 0 / 0.1)","var(--un-shadow-inset) 0 8px 10px -6px rgb(0 0 0 / 0.1)"],"2xl":"var(--un-shadow-inset) 0 25px 50px -12px rgb(0 0 0 / 0.25)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)"},Cc={DEFAULT:"3px",none:"0"},Rc={auto:"auto"},zc={mouse:"(hover) and (pointer: fine)"},jc={...Ee,...je,...ze},re={xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",prose:"65ch"},Ec={auto:"auto",...re,screen:"100vw"},Wn={none:"none",...re,screen:"100vw"},Tc={auto:"auto",...re,screen:"100vb"},Oc={auto:"auto",...re,screen:"100vi"},Ac={auto:"auto",...re,screen:"100vh"},_n={none:"none",...re,screen:"100vh"},Mn={none:"none",...re,screen:"100vb"},Ln={none:"none",...re,screen:"100vi"},Pc={...re},cp={DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)",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)"},lp={none:"none",all:"all",colors:["color","background-color","border-color","text-decoration-color","fill","stroke"].join(","),opacity:"opacity",shadow:"box-shadow",transform:"transform",get DEFAULT(){return[this.colors,"opacity","box-shadow","transform","filter","backdrop-filter"].join(",")}},In={width:Ec,height:Ac,maxWidth:Wn,maxHeight:_n,minWidth:Wn,minHeight:_n,inlineSize:Oc,blockSize:Tc,maxInlineSize:Ln,maxBlockSize:Mn,minInlineSize:Ln,minBlockSize:Mn,colors:Fn,fontFamily:uc,fontSize:pc,fontWeight:bc,breakpoints:Un,verticalBreakpoints:yc,borderRadius:wc,lineHeight:gc,letterSpacing:Bn,wordSpacing:xc,boxShadow:Sc,textIndent:dc,textShadow:hc,textStrokeWidth:mc,blur:lc,dropShadow:fc,easing:cp,transitionProperty:lp,lineWidth:$c,spacing:vc,duration:kc,ringWidth:Cc,preflightBase:jc,containers:Pc,zIndex:Rc,media:zc};var Vc={...In,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"'},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"}},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)"},preflightBase:{...Ee,...Pn,...En,...Vn,...Tn,...je,...ze,...zn,...jn}};var Fc=[T("svg",e=>({selector:`${e.selector} svg`}))];var Wc=[T(".dark",e=>({prefix:`.dark $$ ${e.prefix}`})),T(".light",e=>({prefix:`.light $$ ${e.prefix}`})),P("@dark","@media (prefers-color-scheme: dark)"),P("@light","@media (prefers-color-scheme: light)")];var Mc={name:"aria",match(e,t){let r=k("aria-",e,t.generator.config.separators);if(r){let[n,o]=r,i=l.bracket(n)??t.theme.aria?.[n]??"";if(i)return{matcher:o,selector:a=>`${a}[aria-${i}]`}}},multiPass:!0};function Fr(e,t,r={}){return{name:`${e}-aria`,match(n,o){let i=k(`${e}-aria-`,n,o.generator.config.separators);if(i){let[a,s,c]=i,u=l.bracket(a)??o.theme.aria?.[a]??"";if(u){let d=!!r?.attributifyPseudo,h=r?.prefix??"";h=(Array.isArray(h)?h:[h]).filter(Boolean)[0]??"";let g=`${d?`[${h}${e}=""]`:`.${h}${e}`}`,m=B(c?`/${c}`:"");return{matcher:s,handle:(p,x)=>{let L=new RegExp(`${A(g)}${A(m)}(?:\\[.+?\\])+`),O=p.prefix.match(L),w;if(O){let y=(O.index??0)+g.length+m.length;w=[p.prefix.slice(0,y),`[aria-${u}]`,p.prefix.slice(y)].join("")}else{let y=Math.max(p.prefix.indexOf(g),0);w=[p.prefix.slice(0,y),g,m,`[aria-${u}]`,t,p.prefix.slice(y)].join("")}return x({...p,prefix:w})}}}}},multiPass:!0}}function fp(){return{name:"has-aria",match(e,t){let r=k("has-aria-",e,t.generator.config.separators);if(r){let[n,o]=r,i=l.bracket(n)??t.theme.aria?.[n]??"";if(i)return{matcher:o,handle:(a,s)=>s({...a,pseudo:`${a.pseudo}:has([aria-${i}])`})}}},multiPass:!0}}function Lc(e={}){return[Fr("group"," ",e),Fr("peer","~",e),Fr("parent",">",e),Fr("previous","+",e),fp()]}var _c=/(max|min)-\[([^\]]*)\]:/;function Bc(){let e={};return{name:"breakpoints",match(t,r){if(_c.test(t)){let o=t.match(_c);return{matcher:t.replace(o[0],""),handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@media (${o[1]}-width: ${o[2]})`})}}let n=(ce(r)??[]).map(({point:o,size:i},a)=>[o,i,a]);for(let[o,i,a]of n){e[o]||(e[o]=new RegExp(`^((?:([al]t-|[<~]|max-))?${o}(?:${r.generator.config.separators.join("|")}))`));let s=t.match(e[o]);if(!s)continue;let[,c]=s,u=t.slice(c.length);if(u==="container")continue;let d=c.startsWith("lt-")||c.startsWith("<")||c.startsWith("max-"),h=c.startsWith("at-")||c.startsWith("~"),g=3e3;return d?(g-=a+1,{matcher:u,handle:(m,p)=>p({...m,parent:`${m.parent?`${m.parent} $$ `:""}@media (max-width: ${ve(i)})`,parentOrder:g})}):(g+=a+1,h&&a<n.length-1?{matcher:u,handle:(m,p)=>p({...m,parent:`${m.parent?`${m.parent} $$ `:""}@media (min-width: ${i}) and (max-width: ${ve(n[a+1][1])})`,parentOrder:g})}:{matcher:u,handle:(m,p)=>p({...m,parent:`${m.parent?`${m.parent} $$ `:""}@media (min-width: ${i})`,parentOrder:g})})}},multiPass:!0,autocomplete:"(at-|lt-|max-|)$breakpoints:"}}var Uc=[T("*",e=>({selector:`${e.selector} > *`}),{order:-1})];function xt(e,t){return{name:`combinator:${e}`,match(r,n){if(!r.startsWith(e))return;let o=n.generator.config.separators,i=_(`${e}-`,r,o);if(!i){for(let s of o)if(r.startsWith(`${e}${s}`)){i=["",r.slice(e.length+s.length)];break}if(!i)return}let a=l.bracket(i[0])??"";return a===""&&(a="*"),{matcher:i[1],selector:s=>`${s}${t}${a}`}},multiPass:!0}}var Ic=[xt("all"," "),xt("children",">"),xt("next","+"),xt("sibling","+"),xt("siblings","~")],Dc={name:"@",match(e,t){if(e.startsWith("@container"))return;let r=k("@",e,t.generator.config.separators);if(r){let[n,o,i]=r,a=l.bracket(n),s;if(a?s=l.numberWithUnit(a):s=t.theme.containers?.[n]??"",s){let c=1e3+Object.keys(t.theme.containers??{}).indexOf(n);return i&&(c+=1e3),{matcher:o,handle:(u,d)=>d({...u,parent:`${u.parent?`${u.parent} $$ `:""}@container${i?` ${i} `:" "}(min-width: ${s})`,parentOrder:c})}}}},multiPass:!0};function Nc(e={}){if(e?.dark==="class"||typeof e.dark=="object"){let{dark:t=".dark",light:r=".light"}=typeof e.dark=="string"?{}:e.dark;return[T("dark",E(t).map(n=>o=>({prefix:`${n} $$ ${o.prefix}`}))),T("light",E(r).map(n=>o=>({prefix:`${n} $$ ${o.prefix}`})))]}return[P("dark","@media (prefers-color-scheme: dark)"),P("light","@media (prefers-color-scheme: light)")]}var qc={name:"data",match(e,t){let r=k("data-",e,t.generator.config.separators);if(r){let[n,o]=r,i=l.bracket(n)??t.theme.data?.[n]??"";if(i)return{matcher:o,selector:a=>`${a}[data-${i}]`}}},multiPass:!0};function Wr(e,t,r={}){return{name:`${e}-data`,match(n,o){let i=k(`${e}-data-`,n,o.generator.config.separators);if(i){let[a,s,c]=i,u=l.bracket(a)??o.theme.data?.[a]??"";if(u){let d=!!r?.attributifyPseudo,h=r?.prefix??"";h=(Array.isArray(h)?h:[h]).filter(Boolean)[0]??"";let g=`${d?`[${h}${e}=""]`:`.${h}${e}`}`,m=B(c?`/${c}`:"");return{matcher:s,handle:(p,x)=>{let L=new RegExp(`${A(g)}${A(m)}(?:\\[.+?\\])+`),O=p.prefix.match(L),w;if(O){let y=(O.index??0)+g.length+m.length;w=[p.prefix.slice(0,y),`[data-${u}]`,p.prefix.slice(y)].join("")}else{let y=Math.max(p.prefix.indexOf(g),0);w=[p.prefix.slice(0,y),g,m,`[data-${u}]`,t,p.prefix.slice(y)].join("")}return x({...p,prefix:w})}}}}},multiPass:!0}}function up(){return{name:"has-data",match(e,t){let r=k("has-data-",e,t.generator.config.separators);if(r){let[n,o]=r,i=l.bracket(n)??t.theme.data?.[n]??"";if(i)return{matcher:o,handle:(a,s)=>s({...a,pseudo:`${a.pseudo}:has([data-${i}])`})}}},multiPass:!0}}function Kc(e={}){return[Wr("group"," ",e),Wr("peer","~",e),Wr("parent",">",e),Wr("previous","+",e),up()]}var Gc=[T("rtl",e=>({prefix:`[dir="rtl"] $$ ${e.prefix}`})),T("ltr",e=>({prefix:`[dir="ltr"] $$ ${e.prefix}`}))];function Hc(){let e;return{name:"important",match(t,r){e||(e=new RegExp(`^(important(?:${r.generator.config.separators.join("|")})|!)`));let n,o=t.match(e);if(o?n=t.slice(o[0].length):t.endsWith("!")&&(n=t.slice(0,-1)),n)return{matcher:n,body:i=>(i.forEach(a=>{a[1]!=null&&(a[1]+=" !important")}),i)}}}}var Xc=P("print","@media print"),Yc={name:"media",match(e,t){let r=k("media-",e,t.generator.config.separators);if(r){let[n,o]=r,i=l.bracket(n)??"";if(i===""&&(i=t.theme.media?.[n]??""),i)return{matcher:o,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@media ${i}`})}}},multiPass:!0},Zc={name:"selector",match(e,t){let r=_("selector-",e,t.generator.config.separators);if(r){let[n,o]=r,i=l.bracket(n);if(i)return{matcher:o,selector:()=>i}}}},Jc={name:"layer",match(e,t){let r=k("layer-",e,t.generator.config.separators);if(r){let[n,o]=r,i=l.bracket(n)??n;if(i)return{matcher:o,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@layer ${i}`})}}}},Qc={name:"uno-layer",match(e,t){let r=k("uno-layer-",e,t.generator.config.separators);if(r){let[n,o]=r,i=l.bracket(n)??n;if(i)return{matcher:o,layer:i}}}},el={name:"scope",match(e,t){let r=_("scope-",e,t.generator.config.separators);if(r){let[n,o]=r,i=l.bracket(n);if(i)return{matcher:o,selector:a=>`${i} $$ ${a}`}}}},tl={name:"variables",match(e,t){if(!e.startsWith("["))return;let[r,n]=U(e,"[","]")??[];if(!(r&&n))return;let o;for(let s of t.generator.config.separators)if(n.startsWith(s)){o=n.slice(s.length);break}if(o==null)return;let i=l.bracket(r)??"",a=i.startsWith("@");if(a||i.includes("&"))return{matcher:o,handle(s,c){let u=a?{parent:`${s.parent?`${s.parent} $$ `:""}${i}`}:{selector:i.replace(/&/g,s.selector)};return c({...s,...u})}}},multiPass:!0},rl={name:"theme-variables",match(e,t){if(kt(e))return{matcher:e,handle(r,n){return n({...r,entries:JSON.parse(wt(JSON.stringify(r.entries),t.theme))})}}}},nl=/^-?[0-9.]+(?:[a-z]+|%)?$/,ol=/-?[0-9.]+(?:[a-z]+|%)?/,pp=[/\b(opacity|color|flex|backdrop-filter|^filter|transform)\b/];function dp(e){let t=e.match(De)||e.match(bn);if(t){let[r,n]=X(`(${t[2]})${t[3]}`,"(",")"," ")??[];if(r)return`calc(${t[1]}${r} * -1)${n?` ${n}`:""}`}}var mp=/\b(hue-rotate)\s*(\(.*)/;function hp(e){let t=e.match(mp);if(t){let[r,n]=X(t[2],"(",")"," ")??[];if(r){let o=nl.test(r.slice(1,-1))?r.replace(ol,i=>i.startsWith("-")?i.slice(1):`-${i}`):`(calc(${r} * -1))`;return`${t[1]}${o}${n?` ${n}`:""}`}}}var il={name:"negative",match(e){if(e.startsWith("-"))return{matcher:e.slice(1),body:t=>{if(t.find(n=>n[0]===xn))return;let r=!1;return t.forEach(n=>{let o=n[1]?.toString();if(!o||o==="0"||pp.some(s=>s.test(n[0])))return;let i=dp(o);if(i){n[1]=i,r=!0;return}let a=hp(o);if(a){n[1]=a,r=!0;return}nl.test(o)&&(n[1]=o.replace(ol,s=>s.startsWith("-")?s.slice(1):`-${s}`),r=!0)}),r?t:[]}}}};function al(){return Ct({getBracket:U,h:l,variantGetBracket:_})}function sl(){return Rt({getBracket:U,h:l,variantGetBracket:_})}function cl(e={}){return zt(e,{getBracket:U,h:l,variantGetBracket:_})}var ll=jt(),fl={name:"starting",match(e){if(e.startsWith("starting:"))return{matcher:e.slice(9),handle:(t,r)=>r({...t,parent:"@starting-style"})}}},ul={name:"supports",match(e,t){let r=k("supports-",e,t.generator.config.separators);if(r){let[n,o]=r,i=l.bracket(n)??"";if(i===""&&(i=t.theme.supports?.[n]??""),i)return i.startsWith("(")&&i.endsWith(")")||(i=`(${i})`),{matcher:o,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@supports ${i}`})}}},multiPass:!0};function Dn(e){return[Mc,qc,Jc,Zc,Qc,il,fl,Hc(),ul,Xc,Yc,Bc(),...Ic,...al(),sl(),...cl(e),ll,...Nc(e),...Gc,el,...Uc,Dc,tl,...Kc(e),...Lc(e),rl]}var pl=[P("contrast-more","@media (prefers-contrast: more)"),P("contrast-less","@media (prefers-contrast: less)")],dl=[P("motion-reduce","@media (prefers-reduced-motion: reduce)"),P("motion-safe","@media (prefers-reduced-motion: no-preference)")],ml=[P("landscape","@media (orientation: landscape)"),P("portrait","@media (orientation: portrait)")];var hl=e=>{if(!e.startsWith("_")&&(/space-[xy]-.+$/.test(e)||/divide-/.test(e)))return{matcher:e,selector:t=>{let r=">:not([hidden])~:not([hidden])";return t.includes(r)?t:`${t}${r}`}}},gl=[T("@hover",e=>({parent:`${e.parent?`${e.parent} $$ `:""}@media (hover: hover) and (pointer: fine)`,selector:`${e.selector||""}:hover`}))];function bl(e,t,r){return`calc(${t} + (${e} - ${t}) * ${r} / 100)`}function xl(e,t,r){let n=[e,t],o=[];for(let a=0;a<2;a++){let s=typeof n[a]=="string"?W(n[a]):n[a];if(!s||!["rgb","rgba"].includes(s.type))return;o.push(s)}let i=[];for(let a=0;a<3;a++)i.push(bl(o[0].components[a],o[1].components[a],r));return{type:"rgb",components:i,alpha:bl(o[0].alpha??1,o[1].alpha??1,r)}}function yl(e,t){return xl("#fff",e,t)}function $l(e,t){return xl("#000",e,t)}function gp(e,t){let r=Number.parseFloat(`${t}`);if(!Number.isNaN(r))return r>0?$l(e,t):yl(e,-r)}var bp={tint:yl,shade:$l,shift:gp};function vl(){let e;return{name:"mix",match(t,r){e||(e=new RegExp(`^mix-(tint|shade|shift)-(-?\\d{1,3})(?:${r.generator.config.separators.join("|")})`));let n=t.match(e);if(n)return{matcher:t.slice(n[0].length),body:o=>(o.forEach(i=>{if(i[1]){let a=W(`${i[1]}`);if(a){let s=bp[n[1]](a,n[2]);s&&(i[1]=v(s))}}}),o)}}}}var kl=(e,{theme:t})=>{let r=e.match(/^(.*)\b(placeholder-)(.+)$/);if(r){let[,n="",o,i]=r;if(ge(i,t,"accentColor")||xp(i))return{matcher:`${n}placeholder-$ ${o}${i}`}}};function xp(e){let t=e.match(/^op(?:acity)?-?(.+)$/);return t&&t[1]!=null?l.bracket.percent(t[1])!=null:!1}function wl(e){return[kl,hl,...Dn(e),...pl,...ml,...dl,...Fc,...Wc,...gl,vl()]}var Sl=(e={})=>(e.important=e.important??!1,{...hn(e),name:"@unocss/preset-wind3",theme:Vc,rules:sc,shortcuts:cc,variants:wl(e),postprocess:Ga(e)});var yp=(e={})=>({...Sl(e),name:"@unocss/preset-uno"}),Cl=yp;window.__unocss_runtime=window.__unocss_runtime??{};window.__unocss_runtime.presets=Object.assign(window.__unocss_runtime?.presets??{},{presetUno:e=>Cl(e)});})();
|