@unocss/runtime 66.6.1 → 66.6.2

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/uno.global.js CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";(()=>{var Bi=Object.defineProperty;var Ti=(t,e)=>{for(var r in e)Bi(t,r,{get:e[r],enumerable:!0})};var oe="default",Lr="preflights",Wi="shortcuts",Ni="imports",Ii={[Ni]:-200,[Lr]:-100,[Wi]:-10,[oe]:0},Fr=/[\\:]?[\s'"`;{}]+/g;function Ui(t){return t.split(Fr)}var Di={name:"@unocss/core/extractor-split",order:0,extract({code:t}){return Ui(t)}};function j(t=[]){return Array.isArray(t)?t:[t]}function ct(t){return Array.from(new Set(t))}function _n(t,e){return t.reduce((r,n)=>(r.findIndex(o=>e(n,o))===-1&&r.push(n),r),[])}function F(t){return typeof t=="string"}var Fn=class extends Set{constructor(t){if(super(),this._map=new Map,t)for(let e of t)this.add(e)}add(t){return this._map.set(t,(this._map.get(t)??0)+1),super.add(t)}delete(t){return this._map.has(t)?(this._map.delete(t),super.delete(t)):!1}clear(){this._map.clear(),super.clear()}getCount(t){return this._map.get(t)??0}setCount(t,e){return this._map.set(t,e),super.add(t)}};function Or(t){return t instanceof Fn}function K(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Z(t){let e=t.length,r=-1,n,o="",i=t.charCodeAt(0);for(;++r<e;){if(n=t.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&&e===1&&n===45){o+=`\\${t.charAt(r)}`;continue}if(n>=128||n===45||n===95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){o+=t.charAt(r);continue}o+=`\\${t.charAt(r)}`}return o}var Pr=Z;function Vi(){return{events:{},emit(t,...e){(this.events[t]||[]).forEach(r=>r(...e))},on(t,e){return(this.events[t]=this.events[t]||[]).push(e),()=>this.events[t]=(this.events[t]||[]).filter(r=>r!==e)}}}var Gi=/[\w\u00A0-\uFFFF%-?]/;function Bn(t=""){return Gi.test(t)}function qi(t){return typeof t=="function"?{match:t}:t}function An(t){return t.length===3}function ee(t){return t!=null}function Hi(){}var Yi=class{constructor(){this._map=new Map}get(t,e){let r=this._map.get(t);if(r)return r.get(e)}getFallback(t,e,r){let n=this._map.get(t);return n||(n=new Map,this._map.set(t,n)),n.has(e)||n.set(e,r),n.get(e)}set(t,e,r){let n=this._map.get(t);return n||(n=new Map,this._map.set(t,n)),n.set(e,r),this}has(t,e){return this._map.get(t)?.has(e)}delete(t,e){return this._map.get(t)?.delete(e)||!1}deleteTop(t){return this._map.delete(t)}map(t){return Array.from(this._map.entries()).flatMap(([e,r])=>Array.from(r.entries()).map(([n,o])=>t(o,e,n)))}},Xi=class extends Map{getFallback(t,e){let r=this.get(t);return r===void 0?(this.set(t,e),e):r}map(t){let e=[];return this.forEach((r,n)=>{e.push(t(r,n))}),e}flatMap(t){let e=[];return this.forEach((r,n)=>{e.push(...t(r,n))}),e}};function ae(t){return F(t)?t:(Array.isArray(t)?t:Object.entries(t)).filter(e=>e[1]!=null)}function Ki(t){return Array.isArray(t)?t.find(e=>!Array.isArray(e)||Array.isArray(e[0]))?t.map(e=>ae(e)):[t]:[ae(t)]}function Zi(t){return t.filter(([e,r],n)=>{if(e.startsWith("$$"))return!1;for(let o=n-1;o>=0;o--)if(t[o][0]===e&&t[o][1]===r)return!1;return!0})}var Tn="__virtual_key__";function Tt(t){return t==null?"":Zi(t).map(([e,r])=>r!=null&&typeof r!="function"?e!==Tn?`${e}:${r};`:r:void 0).filter(Boolean).join("")}function re(t){return t&&typeof t=="object"&&!Array.isArray(t)}function Wn(t,e,r=!1){let n=t,o=e;if(Array.isArray(o))return r&&Array.isArray(o)?[...n,...o]:[...o];let i={...n};return re(n)&&re(o)&&Object.keys(o).forEach(a=>{re(n[a])&&re(o[a])||Array.isArray(n[a])&&Array.isArray(o[a])?i[a]=Wn(n[a],o[a],r):Object.assign(i,{[a]:o[a]})}),i}function ie(t){let e,r,n;if(Array.isArray(t)){for(r=Array.from({length:e=t.length});e--;)r[e]=(n=t[e])&&typeof n=="object"?ie(n):n;return r}if(Object.prototype.toString.call(t)==="[object Object]"){r={};for(e in t)e==="__proto__"?Object.defineProperty(r,e,{value:ie(t[e]),configurable:!0,enumerable:!0,writable:!0}):r[e]=(n=t[e])&&typeof n=="object"?ie(n):n;return r}return t}function Ji(t){return F(t[0])}function Qi(t){return F(t[0])}var ne={};function ta(t=["-",":"]){let e=t.join("|");return ne[e]||(ne[e]=new RegExp(`((?:[!@<~\\w+:_-]|\\[&?>?:?\\S*\\])+?)(${e})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[[^\\]]*?\\])+?)\\)(?!\\s*?=>)`,"gm")),ne[e].lastIndex=0,ne[e]}function ea(t,e=["-",":"],r=5){let n=ta(e),o,i=t.toString(),a=new Set,s=new Map;do o=!1,i=i.replace(n,(l,u,d,p,h)=>{if(!e.includes(d))return l;o=!0,a.add(u+d);let m=h+u.length+d.length+1,x={length:l.length,items:[]};s.set(h,x);for(let w of[...p.matchAll(/\S+/g)]){let k=m+w.index,y=s.get(k)?.items;y?s.delete(k):y=[{offset:k,length:w[0].length,className:w[0]}];for(let b of y)b.className=b.className==="~"?u:b.className.replace(/^(!?)(.*)/,`$1${u}${d}$2`),x.items.push(b)}return"$".repeat(l.length)}),r-=1;while(o&&r);let c;if(typeof t=="string"){c="";let l=0;for(let[u,d]of s)c+=t.slice(l,u),c+=d.items.map(p=>p.className).join(" "),l=u+d.length;c+=t.slice(l)}else{c=t;for(let[l,u]of s)c.overwrite(l,l+u.length,u.items.map(d=>d.className).join(" "))}return{prefixes:Array.from(a),hasChanged:o,groupsByOffset:s,get expanded(){return c.toString()}}}function ra(t,e=["-",":"],r=5){let n=ea(t,e,r);return typeof t=="string"?n.expanded:t}var Rn=new Set;function na(t){Rn.has(t)||(console.warn("[unocss]",t),Rn.add(t))}function Nn(t){return j(t).flatMap(e=>Array.isArray(e)?[e]:Object.entries(e))}var Mn="_uno_resolved";async function oa(t){let e=typeof t=="function"?await t():await t;if(Mn in e)return e;e={...e},Object.defineProperty(e,Mn,{value:!0,enumerable:!1});let r=e.shortcuts?Nn(e.shortcuts):void 0;if(e.shortcuts=r,e.prefix||e.layer){let n=o=>{o[2]||(o[2]={});let i=o[2];i.prefix==null&&e.prefix&&(i.prefix=j(e.prefix)),i.layer==null&&e.layer&&(i.layer=e.layer)};r?.forEach(n),e.rules?.forEach(n)}return e}async function In(t){let e=await oa(t);return e.presets?[e,...(await Promise.all((e.presets||[]).flatMap(j).flatMap(In))).flat()]:[e]}function ia(t){if(t.length===0)return{};let e=[],r=[],n=!1,o=[],i=[];for(let s of t){if(s.pipeline===!1){n=!0;break}else s.pipeline?.include&&e.push(s.pipeline.include),s.pipeline?.exclude&&r.push(s.pipeline.exclude);s.filesystem&&o.push(s.filesystem),s.inline&&i.push(s.inline)}let a={pipeline:n?!1:{include:ct(Pn(...e)),exclude:ct(Pn(...r))}};return o.length&&(a.filesystem=ct(o.flat())),i.length&&(a.inline=ct(i.flat())),a}async function On(t={},e={}){let r=Object.assign({},e,t),n=_n((await Promise.all((r.presets||[]).flatMap(j).flatMap(In))).flat(),(g,v)=>g.name===v.name),o=[...n.filter(g=>g.enforce==="pre"),...n.filter(g=>!g.enforce),...n.filter(g=>g.enforce==="post")],i=[...o,r],a=[...i].reverse(),s=Object.assign({},Ii,...i.map(g=>g.layers));function c(g){return ct(i.flatMap(v=>j(v[g]||[])))}let l=c("extractors"),u=a.find(g=>g.extractorDefault!==void 0)?.extractorDefault;u===void 0&&(u=Di),u&&!l.includes(u)&&l.unshift(u),l.sort((g,v)=>(g.order||0)-(v.order||0));let d=c("rules"),p=d.length,h={},m=[];for(let[g,v]of d.entries()){let L=v[2]??(v[2]={});L.__index=g,Ji(v)?j(L.prefix??"").forEach(H=>{h[H+v[0]]=v}):m.unshift(v)}let x={templates:ct(i.flatMap(g=>j(g.autocomplete?.templates))),extractors:i.flatMap(g=>j(g.autocomplete?.extractors)).sort((g,v)=>(g.order||0)-(v.order||0)),shorthands:sa(i.map(g=>g.autocomplete?.shorthands||{}))},w=c("separators");w.length||(w=[":","-"]);let k=ia(c("content")),y={mergeSelectors:!0,warn:!0,sortLayers:g=>g,...r,blocklist:c("blocklist"),presets:o,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:s,theme:aa(i.map(g=>g.theme)),rules:d,rulesSize:p,rulesDynamic:m,rulesStaticMap:h,preprocess:c("preprocess"),postprocess:c("postprocess"),preflights:c("preflights"),autocomplete:x,variants:c("variants").map(qi).sort((g,v)=>(g.order||0)-(v.order||0)),shortcuts:Nn(c("shortcuts")).reverse(),extractors:l,safelist:c("safelist"),separators:w,details:r.details??r.envMode==="dev",content:k,transformers:_n(c("transformers"),(g,v)=>g.name===v.name)},b=c("extendTheme");for(let g of b)y.theme=g(y.theme,y)||y.theme;for(let g of i)g?.configResolved?.(y);return y}function aa(t){return t.map(e=>e?ie(e):{}).reduce((e,r)=>Wn(e,r),{})}function sa(t){return t.reduce((e,r)=>{let n={};for(let o in r){let i=r[o];Array.isArray(i)?n[o]=`(${i.join("|")})`:n[o]=i}return{...e,...n}},{})}function Pn(...t){return t.flatMap(ca)}function ca(t){return Array.isArray(t)?t:t?[t]:[]}var la="66.6.1",X={shortcutsNoMerge:"$$symbol-shortcut-no-merge",noMerge:"$$symbol-no-merge",variants:"$$symbol-variants",parent:"$$symbol-parent",selector:"$$symbol-selector",layer:"$$symbol-layer",sort:"$$symbol-sort",body:"$$symbol-body"},fa=class Un{constructor(e={},r={}){this.userConfig=e,this.defaults=r,this.version=la,this.events=Vi(),this.config=void 0,this.cache=new Map,this.blocked=new Set,this.parentOrders=new Map,this.activatedRules=new Set,this.resolveCSSResult=(n,o,i,a)=>{let s=Ki(o).filter(c=>c.length);if(s.length){this.config.details&&a.rules.push(i),a.generator.activatedRules.add(i);let c=i[2];return s.map(l=>{if(F(l))return[c.__index,l,c];let u=a.variantHandlers,d=c;for(let p of l)p[0]===X.variants?typeof p[1]=="function"?u=p[1](u)||u:u=[...j(p[1]),...u]:p[0]===X.parent?u=[{parent:p[1]},...u]:p[0]===X.selector?u=[{selector:p[1]},...u]:p[0]===X.layer?u=[{layer:p[1]},...u]:p[0]===X.sort?d={...d,sort:p[1]}:p[0]===X.noMerge?d={...d,noMerge:p[1]}:p[0]===X.body&&(p[0]=Tn);return[c.__index,n,l,d,u]})}}}static async create(e={},r={}){let n=new Un(e,r);return n.config=await On(n.userConfig,n.defaults),n.events.emit("config",n.config),n}async setConfig(e,r){e&&(r&&(this.defaults=r),this.userConfig=e,this.blocked.clear(),this.parentOrders.clear(),this.activatedRules.clear(),this.cache.clear(),this.config=await On(e,this.defaults),this.events.emit("config",this.config))}async applyExtractors(e,r,n=new Set){let o={original:e,code:e,id:r,extracted:n,envMode:this.config.envMode};for(let i of this.config.extractors){let a=await i.extract?.(o);if(a)if(Or(a)&&Or(n))for(let s of a)n.setCount(s,n.getCount(s)+a.getCount(s));else for(let s of a)n.add(s)}return n}makeContext(e,r){let n={rawSelector:e,currentSelector:r[1],theme:this.config.theme,generator:this,symbols:X,variantHandlers:r[2],constructCSS:(...o)=>this.constructCustomCSS(n,...o),variantMatch:r};return n}async parseToken(e,r){if(this.blocked.has(e))return;let n=`${e}${r?` ${r}`:""}`;if(this.cache.has(n))return this.cache.get(n);let o=this.config.preprocess.reduce((c,l)=>l(c)??c,e);if(this.isBlocked(o)){this.blocked.add(e),this.cache.set(n,null);return}let i=await this.matchVariants(e,o);if(i.every(c=>!c||this.isBlocked(c[1]))){this.blocked.add(e),this.cache.set(n,null);return}let a=async c=>{let l=this.makeContext(e,[r||c[0],c[1],c[2],c[3]]);this.config.details&&(l.variants=[...c[3]]);let u=await this.expandShortcut(l.currentSelector,l);return u?await this.stringifyShortcuts(l.variantMatch,l,u[0],u[1]):(await this.parseUtil(l.variantMatch,l))?.flatMap(d=>this.stringifyUtil(d,l)).filter(ee)},s=(await Promise.all(i.map(c=>a(c)))).flat().filter(c=>!!c);if(s?.length)return this.cache.set(n,s),s;this.cache.set(n,null)}async generate(e,r={}){let{id:n,scope:o,preflights:i=!0,safelist:a=!0,minify:s=!1,extendedInfo:c=!1}=r,l=F(e)?await this.applyExtractors(e,n,c?new Fn:new Set):Array.isArray(e)?new Set(e):e;if(a){let C={generator:this,theme:this.config.theme};this.config.safelist.flatMap(E=>typeof E=="function"?E(C):E).forEach(E=>{let z=E.trim();z&&!l.has(z)&&l.add(z)})}let u=s?"":`
1
+ "use strict";(()=>{var Bi=Object.defineProperty;var Ti=(t,e)=>{for(var r in e)Bi(t,r,{get:e[r],enumerable:!0})};var oe="default",Lr="preflights",Wi="shortcuts",Ni="imports",Ii={[Ni]:-200,[Lr]:-100,[Wi]:-10,[oe]:0},Fr=/[\\:]?[\s'"`;{}]+/g;function Ui(t){return t.split(Fr)}var Di={name:"@unocss/core/extractor-split",order:0,extract({code:t}){return Ui(t)}};function j(t=[]){return Array.isArray(t)?t:[t]}function ct(t){return Array.from(new Set(t))}function _n(t,e){return t.reduce((r,n)=>(r.findIndex(o=>e(n,o))===-1&&r.push(n),r),[])}function F(t){return typeof t=="string"}var Fn=class extends Set{constructor(t){if(super(),this._map=new Map,t)for(let e of t)this.add(e)}add(t){return this._map.set(t,(this._map.get(t)??0)+1),super.add(t)}delete(t){return this._map.has(t)?(this._map.delete(t),super.delete(t)):!1}clear(){this._map.clear(),super.clear()}getCount(t){return this._map.get(t)??0}setCount(t,e){return this._map.set(t,e),super.add(t)}};function Or(t){return t instanceof Fn}function K(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Z(t){let e=t.length,r=-1,n,o="",i=t.charCodeAt(0);for(;++r<e;){if(n=t.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&&e===1&&n===45){o+=`\\${t.charAt(r)}`;continue}if(n>=128||n===45||n===95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){o+=t.charAt(r);continue}o+=`\\${t.charAt(r)}`}return o}var Pr=Z;function Vi(){return{events:{},emit(t,...e){(this.events[t]||[]).forEach(r=>r(...e))},on(t,e){return(this.events[t]=this.events[t]||[]).push(e),()=>this.events[t]=(this.events[t]||[]).filter(r=>r!==e)}}}var Gi=/[\w\u00A0-\uFFFF%-?]/;function Bn(t=""){return Gi.test(t)}function qi(t){return typeof t=="function"?{match:t}:t}function An(t){return t.length===3}function ee(t){return t!=null}function Hi(){}var Yi=class{constructor(){this._map=new Map}get(t,e){let r=this._map.get(t);if(r)return r.get(e)}getFallback(t,e,r){let n=this._map.get(t);return n||(n=new Map,this._map.set(t,n)),n.has(e)||n.set(e,r),n.get(e)}set(t,e,r){let n=this._map.get(t);return n||(n=new Map,this._map.set(t,n)),n.set(e,r),this}has(t,e){return this._map.get(t)?.has(e)}delete(t,e){return this._map.get(t)?.delete(e)||!1}deleteTop(t){return this._map.delete(t)}map(t){return Array.from(this._map.entries()).flatMap(([e,r])=>Array.from(r.entries()).map(([n,o])=>t(o,e,n)))}},Xi=class extends Map{getFallback(t,e){let r=this.get(t);return r===void 0?(this.set(t,e),e):r}map(t){let e=[];return this.forEach((r,n)=>{e.push(t(r,n))}),e}flatMap(t){let e=[];return this.forEach((r,n)=>{e.push(...t(r,n))}),e}};function ae(t){return F(t)?t:(Array.isArray(t)?t:Object.entries(t)).filter(e=>e[1]!=null)}function Ki(t){return Array.isArray(t)?t.find(e=>!Array.isArray(e)||Array.isArray(e[0]))?t.map(e=>ae(e)):[t]:[ae(t)]}function Zi(t){return t.filter(([e,r],n)=>{if(e.startsWith("$$"))return!1;for(let o=n-1;o>=0;o--)if(t[o][0]===e&&t[o][1]===r)return!1;return!0})}var Tn="__virtual_key__";function Tt(t){return t==null?"":Zi(t).map(([e,r])=>r!=null&&typeof r!="function"?e!==Tn?`${e}:${r};`:r:void 0).filter(Boolean).join("")}function re(t){return t&&typeof t=="object"&&!Array.isArray(t)}function Wn(t,e,r=!1){let n=t,o=e;if(Array.isArray(o))return r&&Array.isArray(o)?[...n,...o]:[...o];let i={...n};return re(n)&&re(o)&&Object.keys(o).forEach(a=>{re(n[a])&&re(o[a])||Array.isArray(n[a])&&Array.isArray(o[a])?i[a]=Wn(n[a],o[a],r):Object.assign(i,{[a]:o[a]})}),i}function ie(t){let e,r,n;if(Array.isArray(t)){for(r=Array.from({length:e=t.length});e--;)r[e]=(n=t[e])&&typeof n=="object"?ie(n):n;return r}if(Object.prototype.toString.call(t)==="[object Object]"){r={};for(e in t)e==="__proto__"?Object.defineProperty(r,e,{value:ie(t[e]),configurable:!0,enumerable:!0,writable:!0}):r[e]=(n=t[e])&&typeof n=="object"?ie(n):n;return r}return t}function Ji(t){return F(t[0])}function Qi(t){return F(t[0])}var ne={};function ta(t=["-",":"]){let e=t.join("|");return ne[e]||(ne[e]=new RegExp(`((?:[!@<~\\w+:_-]|\\[&?>?:?\\S*\\])+?)(${e})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[[^\\]]*?\\])+?)\\)(?!\\s*?=>)`,"gm")),ne[e].lastIndex=0,ne[e]}function ea(t,e=["-",":"],r=5){let n=ta(e),o,i=t.toString(),a=new Set,s=new Map;do o=!1,i=i.replace(n,(l,u,d,p,h)=>{if(!e.includes(d))return l;o=!0,a.add(u+d);let m=h+u.length+d.length+1,x={length:l.length,items:[]};s.set(h,x);for(let w of[...p.matchAll(/\S+/g)]){let k=m+w.index,y=s.get(k)?.items;y?s.delete(k):y=[{offset:k,length:w[0].length,className:w[0]}];for(let b of y)b.className=b.className==="~"?u:b.className.replace(/^(!?)(.*)/,`$1${u}${d}$2`),x.items.push(b)}return"$".repeat(l.length)}),r-=1;while(o&&r);let c;if(typeof t=="string"){c="";let l=0;for(let[u,d]of s)c+=t.slice(l,u),c+=d.items.map(p=>p.className).join(" "),l=u+d.length;c+=t.slice(l)}else{c=t;for(let[l,u]of s)c.overwrite(l,l+u.length,u.items.map(d=>d.className).join(" "))}return{prefixes:Array.from(a),hasChanged:o,groupsByOffset:s,get expanded(){return c.toString()}}}function ra(t,e=["-",":"],r=5){let n=ea(t,e,r);return typeof t=="string"?n.expanded:t}var Rn=new Set;function na(t){Rn.has(t)||(console.warn("[unocss]",t),Rn.add(t))}function Nn(t){return j(t).flatMap(e=>Array.isArray(e)?[e]:Object.entries(e))}var Mn="_uno_resolved";async function oa(t){let e=typeof t=="function"?await t():await t;if(Mn in e)return e;e={...e},Object.defineProperty(e,Mn,{value:!0,enumerable:!1});let r=e.shortcuts?Nn(e.shortcuts):void 0;if(e.shortcuts=r,e.prefix||e.layer){let n=o=>{o[2]||(o[2]={});let i=o[2];i.prefix==null&&e.prefix&&(i.prefix=j(e.prefix)),i.layer==null&&e.layer&&(i.layer=e.layer)};r?.forEach(n),e.rules?.forEach(n)}return e}async function In(t){let e=await oa(t);return e.presets?[e,...(await Promise.all((e.presets||[]).flatMap(j).flatMap(In))).flat()]:[e]}function ia(t){if(t.length===0)return{};let e=[],r=[],n=!1,o=[],i=[];for(let s of t){if(s.pipeline===!1){n=!0;break}else s.pipeline?.include&&e.push(s.pipeline.include),s.pipeline?.exclude&&r.push(s.pipeline.exclude);s.filesystem&&o.push(s.filesystem),s.inline&&i.push(s.inline)}let a={pipeline:n?!1:{include:ct(Pn(...e)),exclude:ct(Pn(...r))}};return o.length&&(a.filesystem=ct(o.flat())),i.length&&(a.inline=ct(i.flat())),a}async function On(t={},e={}){let r=Object.assign({},e,t),n=_n((await Promise.all((r.presets||[]).flatMap(j).flatMap(In))).flat(),(g,v)=>g.name===v.name),o=[...n.filter(g=>g.enforce==="pre"),...n.filter(g=>!g.enforce),...n.filter(g=>g.enforce==="post")],i=[...o,r],a=[...i].reverse(),s=Object.assign({},Ii,...i.map(g=>g.layers));function c(g){return ct(i.flatMap(v=>j(v[g]||[])))}let l=c("extractors"),u=a.find(g=>g.extractorDefault!==void 0)?.extractorDefault;u===void 0&&(u=Di),u&&!l.includes(u)&&l.unshift(u),l.sort((g,v)=>(g.order||0)-(v.order||0));let d=c("rules"),p=d.length,h={},m=[];for(let[g,v]of d.entries()){let L=v[2]??(v[2]={});L.__index=g,Ji(v)?j(L.prefix??"").forEach(H=>{h[H+v[0]]=v}):m.unshift(v)}let x={templates:ct(i.flatMap(g=>j(g.autocomplete?.templates))),extractors:i.flatMap(g=>j(g.autocomplete?.extractors)).sort((g,v)=>(g.order||0)-(v.order||0)),shorthands:sa(i.map(g=>g.autocomplete?.shorthands||{}))},w=c("separators");w.length||(w=[":","-"]);let k=ia(c("content")),y={mergeSelectors:!0,warn:!0,sortLayers:g=>g,...r,blocklist:c("blocklist"),presets:o,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:s,theme:aa(i.map(g=>g.theme)),rules:d,rulesSize:p,rulesDynamic:m,rulesStaticMap:h,preprocess:c("preprocess"),postprocess:c("postprocess"),preflights:c("preflights"),autocomplete:x,variants:c("variants").map(qi).sort((g,v)=>(g.order||0)-(v.order||0)),shortcuts:Nn(c("shortcuts")).reverse(),extractors:l,safelist:c("safelist"),separators:w,details:r.details??r.envMode==="dev",content:k,transformers:_n(c("transformers"),(g,v)=>g.name===v.name)},b=c("extendTheme");for(let g of b)y.theme=g(y.theme,y)||y.theme;for(let g of i)g?.configResolved?.(y);return y}function aa(t){return t.map(e=>e?ie(e):{}).reduce((e,r)=>Wn(e,r),{})}function sa(t){return t.reduce((e,r)=>{let n={};for(let o in r){let i=r[o];Array.isArray(i)?n[o]=`(${i.join("|")})`:n[o]=i}return{...e,...n}},{})}function Pn(...t){return t.flatMap(ca)}function ca(t){return Array.isArray(t)?t:t?[t]:[]}var la="66.6.2",X={shortcutsNoMerge:"$$symbol-shortcut-no-merge",noMerge:"$$symbol-no-merge",variants:"$$symbol-variants",parent:"$$symbol-parent",selector:"$$symbol-selector",layer:"$$symbol-layer",sort:"$$symbol-sort",body:"$$symbol-body"},fa=class Un{constructor(e={},r={}){this.userConfig=e,this.defaults=r,this.version=la,this.events=Vi(),this.config=void 0,this.cache=new Map,this.blocked=new Set,this.parentOrders=new Map,this.activatedRules=new Set,this.resolveCSSResult=(n,o,i,a)=>{let s=Ki(o).filter(c=>c.length);if(s.length){this.config.details&&a.rules.push(i),a.generator.activatedRules.add(i);let c=i[2];return s.map(l=>{if(F(l))return[c.__index,l,c];let u=a.variantHandlers,d=c;for(let p of l)p[0]===X.variants?typeof p[1]=="function"?u=p[1](u)||u:u=[...j(p[1]),...u]:p[0]===X.parent?u=[{parent:p[1]},...u]:p[0]===X.selector?u=[{selector:p[1]},...u]:p[0]===X.layer?u=[{layer:p[1]},...u]:p[0]===X.sort?d={...d,sort:p[1]}:p[0]===X.noMerge?d={...d,noMerge:p[1]}:p[0]===X.body&&(p[0]=Tn);return[c.__index,n,l,d,u]})}}}static async create(e={},r={}){let n=new Un(e,r);return n.config=await On(n.userConfig,n.defaults),n.events.emit("config",n.config),n}async setConfig(e,r){e&&(r&&(this.defaults=r),this.userConfig=e,this.blocked.clear(),this.parentOrders.clear(),this.activatedRules.clear(),this.cache.clear(),this.config=await On(e,this.defaults),this.events.emit("config",this.config))}async applyExtractors(e,r,n=new Set){let o={original:e,code:e,id:r,extracted:n,envMode:this.config.envMode};for(let i of this.config.extractors){let a=await i.extract?.(o);if(a)if(Or(a)&&Or(n))for(let s of a)n.setCount(s,n.getCount(s)+a.getCount(s));else for(let s of a)n.add(s)}return n}makeContext(e,r){let n={rawSelector:e,currentSelector:r[1],theme:this.config.theme,generator:this,symbols:X,variantHandlers:r[2],constructCSS:(...o)=>this.constructCustomCSS(n,...o),variantMatch:r};return n}async parseToken(e,r){if(this.blocked.has(e))return;let n=`${e}${r?` ${r}`:""}`;if(this.cache.has(n))return this.cache.get(n);let o=this.config.preprocess.reduce((c,l)=>l(c)??c,e);if(this.isBlocked(o)){this.blocked.add(e),this.cache.set(n,null);return}let i=await this.matchVariants(e,o);if(i.every(c=>!c||this.isBlocked(c[1]))){this.blocked.add(e),this.cache.set(n,null);return}let a=async c=>{let l=this.makeContext(e,[r||c[0],c[1],c[2],c[3]]);this.config.details&&(l.variants=[...c[3]]);let u=await this.expandShortcut(l.currentSelector,l);return u?await this.stringifyShortcuts(l.variantMatch,l,u[0],u[1]):(await this.parseUtil(l.variantMatch,l))?.flatMap(d=>this.stringifyUtil(d,l)).filter(ee)},s=(await Promise.all(i.map(c=>a(c)))).flat().filter(c=>!!c);if(s?.length)return this.cache.set(n,s),s;this.cache.set(n,null)}async generate(e,r={}){let{id:n,scope:o,preflights:i=!0,safelist:a=!0,minify:s=!1,extendedInfo:c=!1}=r,l=F(e)?await this.applyExtractors(e,n,c?new Fn:new Set):Array.isArray(e)?new Set(e):e;if(a){let C={generator:this,theme:this.config.theme};this.config.safelist.flatMap(E=>typeof E=="function"?E(C):E).forEach(E=>{let z=E.trim();z&&!l.has(z)&&l.add(z)})}let u=s?"":`
2
2
  `,d=new Set([oe]),p=c?new Map:new Set,h=new Map,m={},x=Array.from(l).map(async C=>{if(p.has(C))return;let E=await this.parseToken(C);if(E!=null){p instanceof Map?p.set(C,{data:E,count:Or(l)?l.getCount(C):-1}):p.add(C);for(let z of E){let V=z[3]||"",D=z[4]?.layer;h.has(V)||h.set(V,[]),h.get(V).push(z),D&&d.add(D)}}});await Promise.all(x),await(async()=>{if(!i)return;let C={generator:this,theme:this.config.theme},E=new Set([]);this.config.preflights.forEach(({layer:z=Lr})=>{d.add(z),E.add(z)}),m=Object.fromEntries(await Promise.all(Array.from(E).map(async z=>[z,(await Promise.all(this.config.preflights.filter(V=>(V.layer||Lr)===z).map(async V=>await V.getCSS(C)))).filter(Boolean).join(u)])))})();let w=C=>this.config.sortLayers(C.sort((E,z)=>(this.config.layers[E]??0)-(this.config.layers[z]??0)||E.localeCompare(z))),k=w(Array.from(d)),y={},b=this.config.outputToCssLayers,g=C=>{let E=C;return typeof b=="object"&&(E=b.cssLayerName?.(C)),E===null?null:E??C},v=(C=oe)=>{if(y[C])return y[C];let E=Array.from(h).sort((D,$)=>(this.parentOrders.get(D[0])??0)-(this.parentOrders.get($[0])??0)||D[0]?.localeCompare($[0]||"")||0).map(([D,$])=>{let _=$.length,P=$.filter(I=>(I[4]?.layer||oe)===C).sort((I,Y)=>I[0]-Y[0]||(I[4]?.sort||0)-(Y[4]?.sort||0)||I[5]?.currentSelector?.localeCompare(Y[5]?.currentSelector??"")||I[1]?.localeCompare(Y[1]||"")||I[2]?.localeCompare(Y[2]||"")||0).map(([,I,Y,,te,,Mr])=>[[[(I&&da(I,o))??"",te?.sort??0]],Y,!!(Mr??te?.noMerge)]);if(!P.length)return;let T=P.reverse().map(([I,Y,te],Mr)=>{if(!te&&this.config.mergeSelectors)for(let dt=Mr+1;dt<_;dt++){let et=P[dt];if(et&&!et[2]&&(I&&et[0]||I==null&&et[0]==null)&&et[1]===Y)return I&&et[0]&&et[0].push(...I),null}let jn=I?ct(I.sort((dt,et)=>dt[1]-et[1]||dt[0]?.localeCompare(et[0]||"")||0).map(dt=>dt[0]).filter(Boolean)):[];return jn.length?`${jn.join(`,${u}`)}{${Y}}`:Y}).filter(Boolean),G=Array.from(new Set(T)).reverse().join(u);if(!D)return G;let vt=D.split(" $$ ");return`${vt.join("{")}{${u}${G}${u}${"}".repeat(vt.length)}`}).filter(Boolean).join(u);i&&(E=[m[C],E].filter(Boolean).join(u));let z;b&&E&&(z=g(C),z!==null&&(E=`@layer ${z}{${u}${E}${u}}`));let V=s?"":`/* layer: ${C}${z&&z!==C?`, alias: ${z}`:""} */${u}`;return y[C]=E?V+E:""},L=(C=k,E)=>{let z=C.filter(D=>!E?.includes(D)),V=z.map(v).filter(Boolean);if(b){let D=z;typeof b=="object"&&b.allLayers&&(D=w(Object.keys(this.config.layers))),D.length>0&&V.unshift(`@layer ${D.map(g).filter(ee).join(", ")};`)}return V.join(u)};return{get css(){return L()},layers:k,matched:p,getLayers:L,getLayer:v,setLayer:async(C,E)=>{let z=await E(v(C));return y[C]=z,z}}}async matchVariants(e,r){let n={rawSelector:e,theme:this.config.theme,generator:this},o=async i=>{let a=!0,[,,s,c]=i;for(;a;){a=!1;let l=i[1];for(let u of this.config.variants){if(!u.multiPass&&c.has(u))continue;let d=await u.match(l,n);if(d){if(F(d)){if(d===l)continue;d={matcher:d}}if(Array.isArray(d)){if(!d.length)continue;if(d.length===1)d=d[0];else{if(u.multiPass)throw new Error("multiPass can not be used together with array return variants");let p=d.map(h=>{let m=h.matcher??l,x=[h,...s],w=new Set(c);return w.add(u),[i[0],m,x,w]});return(await Promise.all(p.map(h=>o(h)))).flat()}}i[1]=d.matcher??l,s.unshift(d),c.add(u),a=!0;break}}if(!a)break;if(s.length>500)throw new Error(`Too many variants applied to "${e}"`)}return[i]};return await o([e,r||e,[],new Set])}applyVariants(e,r=e[4],n=e[1]){let o=r.slice().sort((c,l)=>(c.order||0)-(l.order||0)).reduceRight((c,l)=>u=>{let d=l.body?.(u.entries)||u.entries,p=Array.isArray(l.parent)?l.parent:[l.parent,void 0],h=l.selector?.(u.selector,d);return(l.handle??ma)({...u,entries:d,selector:h||u.selector,parent:p[0]||u.parent,parentOrder:p[1]||u.parentOrder,layer:l.layer||u.layer,sort:l.sort||u.sort},c)},c=>c)({prefix:"",selector:pa(n),pseudo:"",entries:e[2]}),{parent:i,parentOrder:a}=o;i!=null&&a!=null&&this.parentOrders.set(i,a);let s={selector:[o.prefix,o.selector,o.pseudo].join(""),entries:o.entries,parent:i,layer:o.layer,sort:o.sort,noMerge:o.noMerge};return this.config.postprocess.reduce((c,l)=>{let u=[];for(let d of c){let p=l(d);Array.isArray(p)?u.push(...p.filter(ee)):u.push(p||d)}return u},[s])}constructCustomCSS(e,r,n){let o=ae(r);return F(o)?o:this.applyVariants([0,n||e.rawSelector,o,void 0,e.variantHandlers]).map(({selector:i,entries:a,parent:s})=>{let c=`${i}{${Tt(a)}}`;return s?`${s}{${c}}`:c}).join("")}async parseUtil(e,r,n=!1,o){let i=F(e)?await this.matchVariants(e):[e],a=async([c,l,u])=>{this.config.details&&(r.rules=r.rules??[]);let d={...r,variantHandlers:u},p=this.config.rulesStaticMap[l];if(p&&p[1]&&(n||!p[2]?.internal))return this.resolveCSSResult(c,p[1],p,d);for(let h of this.config.rulesDynamic){let[m,x,w]=h;if(w?.internal&&!n)continue;let k=l;if(w?.prefix){let v=j(w.prefix);if(o){let L=j(o);if(!v.some(H=>L.includes(H)))continue}else{let L=v.find(H=>l.startsWith(H));if(L==null)continue;k=l.slice(L.length)}}let y=k.match(m);if(!y)continue;let b=await x(y,d);if(!b)continue;if(typeof b!="string")if(Symbol.asyncIterator in b){let v=[];for await(let L of b)L&&v.push(L);b=v}else Symbol.iterator in b&&!Array.isArray(b)&&(b=Array.from(b).filter(ee));let g=this.resolveCSSResult(c,b,h,d);if(g)return g}},s=(await Promise.all(i.map(c=>a(c)))).flat().filter(c=>!!c);if(s.length)return s}stringifyUtil(e,r){if(!e)return;if(An(e))return[[e[0],void 0,e[1],void 0,e[2],this.config.details?r:void 0,void 0]];let n=this.applyVariants(e),o=[];for(let i of n){let{selector:a,entries:s,parent:c,layer:l,sort:u,noMerge:d}=i,p=Tt(s);if(!p)continue;let{layer:h,sort:m,...x}=e[3]??{},w={...x,layer:l??h,sort:u??m};o.push([e[0],a,p,c,w,this.config.details?r:void 0,d])}return o}async expandShortcut(e,r,n=5){if(n===0)return;let o=this.config.details?l=>{r.shortcuts=r.shortcuts??[],r.shortcuts.push(l)}:Hi,i,a,s,c;for(let l of this.config.shortcuts){let u=e;if(l[2]?.prefix){let d=j(l[2].prefix).find(p=>e.startsWith(p));if(d==null)continue;u=e.slice(d.length)}if(Qi(l)){if(l[0]===u){i=i||l[2],a=l[1],o(l);break}}else{let d=u.match(l[0]);if(d&&(a=l[1](d,r)),a){i=i||l[2],o(l);break}}}if(a&&(s=ct(j(a).filter(F).map(l=>ra(l.trim()).split(/\s+/g)).flat()),c=j(a).filter(l=>!F(l)).map(l=>({handles:[],value:l}))),!a){let l=F(e)?await this.matchVariants(e):[e];for(let u of l){let[d,p,h]=u;if(d!==p){let m=await this.expandShortcut(p,r,n-1);m&&(s=m[0].filter(F).map(x=>d.replace(p,x)),c=m[0].filter(x=>!F(x)).map(x=>({handles:[...x.handles,...h],value:x.value})))}}}if(!(!s?.length&&!c?.length))return[[await Promise.all(j(s).map(async l=>(await this.expandShortcut(l,r,n-1))?.[0]||[l])),c].flat(2).filter(l=>!!l),i]}async stringifyShortcuts(e,r,n,o={layer:this.config.shortcutsLayer}){let i=new Xi,a=(await Promise.all(ct(n).map(async u=>{let d=F(u)?await this.parseUtil(u,r,!0,o.prefix):[[Number.POSITIVE_INFINITY,"{inline}",ae(u.value),void 0,u.handles]];return!d&&this.config.warn&&na(`unmatched utility "${u}" in shortcut "${e[1]}"`),d||[]}))).flat(1).filter(Boolean).sort((u,d)=>u[0]-d[0]),[s,,c]=e,l=[];for(let u of a){if(An(u)){l.push([u[0],void 0,u[1],void 0,u[2],r,void 0]);continue}let d=Object.fromEntries(u[2])[X.shortcutsNoMerge],p=[...u[4],...d?[]:c];for(let{selector:h,entries:m,parent:x,sort:w,noMerge:k,layer:y}of this.applyVariants(u,p,s))i.getFallback(y??o.layer,new Yi).getFallback(h,x,[[],u[0]])[0].push([m,!!(k??u[3]?.noMerge),w??0])}return l.concat(i.flatMap((u,d)=>u.map(([p,h],m,x)=>{let w=(k,y,b)=>{let g=Math.max(...b.map(L=>L[1])),v=b.map(L=>L[0]);return(k?[v.flat(1)]:v).map(L=>{let H=Tt(L);if(H)return[h,m,H,x,{...o,noMerge:y,sort:g,layer:d},r,void 0]})};return[[p.filter(([,k])=>k).map(([k,,y])=>[k,y]),!0],[p.filter(([,k])=>!k).map(([k,,y])=>[k,y]),!1]].map(([k,y])=>[...w(!1,y,k.filter(([b])=>b.some(g=>g[0]===X.shortcutsNoMerge))),...w(!0,y,k.filter(([b])=>b.every(g=>g[0]!==X.shortcutsNoMerge)))])}).flat(2).filter(Boolean)))}isBlocked(e){return!e||this.config.blocklist.map(r=>Array.isArray(r)?r[0]:r).some(r=>typeof r=="function"?r(e):F(r)?r===e:r.test(e))}getBlocked(e){let r=this.config.blocklist.find(n=>{let o=Array.isArray(n)?n[0]:n;return typeof o=="function"?o(e):F(o)?o===e:o.test(e)});return r?Array.isArray(r)?r:[r,void 0]:void 0}};async function Dn(t,e){return await fa.create(t,e)}var Vn=/\s\$\$\s+/g;function ua(t){return Vn.test(t)}function da(t,e){return ua(t)?t.replace(Vn,e?` ${e} `:" "):e?`${e} ${t}`:t}var Ln=/^\[(.+?)(~?=)"(.*)"\]$/;function pa(t){return Ln.test(t)?t.replace(Ln,(e,r,n,o)=>`[${Pr(r)}${n}"${Pr(o)}"]`):`.${Pr(t)}`}function ma(t,e){return e(t)}var Br=Object.defineProperty,ha=Object.getOwnPropertyDescriptor,ga=Object.getOwnPropertyNames,ba=Object.prototype.hasOwnProperty,se=(t,e)=>{let r={};for(var n in t)Br(r,n,{get:t[n],enumerable:!0});return e&&Br(r,Symbol.toStringTag,{value:"Module"}),r},Gn=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(var o=ga(e),i=0,a=o.length,s;i<a;i++)s=o[i],!ba.call(t,s)&&s!==r&&Br(t,s,{get:(c=>e[c]).bind(null,s),enumerable:!(n=ha(e,s))||n.enumerable});return t},Tr=(t,e,r)=>(Gn(t,e,"default"),r&&Gn(r,e,"default"));var Qr={};Ti(Qr,{PseudoClassFunctions:()=>so,PseudoClassFunctionsStr:()=>pt,PseudoClasses:()=>wt,PseudoClassesAndElementsColonStr:()=>Dr,PseudoClassesAndElementsStr:()=>Ur,PseudoClassesColon:()=>kt,PseudoClassesColonKeys:()=>Hr,PseudoClassesColonStr:()=>de,PseudoClassesKeys:()=>qr,PseudoClassesMulti:()=>Yr,PseudoClassesMultiStr:()=>Ir,PseudoClassesStr:()=>ue,alphaPlaceholders:()=>Vr,alphaPlaceholdersRE:()=>ro,calcMaxWidthBySize:()=>Wa,colorOpacityToString:()=>mt,colorToString:()=>W,createPartClasses:()=>Jr,createPseudoClassFunctions:()=>Kr,createPseudoClassesAndElements:()=>Xr,createTaggedPseudoClassMatcher:()=>lo,createTaggedPseudoClasses:()=>Zr,createValueHandler:()=>Gr,cssColorFunctions:()=>pe,excludedPseudo:()=>co,getBracket:()=>Jn,getStringComponent:()=>$t,getStringComponents:()=>At,hasIconFn:()=>Ia,hasThemeFn:()=>Ba,hex2rgba:()=>Aa,hueInterpolationMethods:()=>eo,iconFnRE:()=>Na,isInterpolatedMethod:()=>_a,parseCssColor:()=>J,polarColorSpace:()=>to,rectangularColorSpace:()=>Qn,themeFnRE:()=>io,transformThemeFn:()=>Ta,transformThemeString:()=>ao,variantGetBracket:()=>fo,variantGetParameter:()=>uo,variantMatcher:()=>St,variantParentMatcher:()=>rt});var ya=44,xa=59,qn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Xn=new Uint8Array(64),va=new Uint8Array(128);for(let t=0;t<qn.length;t++){let e=qn.charCodeAt(t);Xn[t]=e,va[e]=t}function Wt(t,e,r){let n=e-r;n=n<0?-n<<1|1:n<<1;do{let o=n&31;n>>>=5,n>0&&(o|=32),t.write(Xn[o])}while(n>0);return e}var Hn=1024*16,Yn=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(t){return Buffer.from(t.buffer,t.byteOffset,t.byteLength).toString()}}:{decode(t){let e="";for(let r=0;r<t.length;r++)e+=String.fromCharCode(t[r]);return e}},$a=class{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(Hn)}write(t){let{buffer:e}=this;e[this.pos++]=t,this.pos===Hn&&(this.out+=Yn.decode(e),this.pos=0)}flush(){let{buffer:t,out:e,pos:r}=this;return r>0?e+Yn.decode(t.subarray(0,r)):e}};function Kn(t){let e=new $a,r=0,n=0,o=0,i=0;for(let a=0;a<t.length;a++){let s=t[a];if(a>0&&e.write(xa),s.length===0)continue;let c=0;for(let l=0;l<s.length;l++){let u=s[l];l>0&&e.write(ya),c=Wt(e,u[0],c),u.length!==1&&(r=Wt(e,u[1],r),n=Wt(e,u[2],n),o=Wt(e,u[3],o),u.length!==4&&(i=Wt(e,u[4],i)))}}return e.flush()}var ce=class t{constructor(e){this.bits=e instanceof t?e.bits.slice():[]}add(e){this.bits[e>>5]|=1<<(e&31)}has(e){return!!(this.bits[e>>5]&1<<(e&31))}},le=class t{constructor(e,r,n){this.start=e,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(e){this.outro+=e}appendRight(e){this.intro=this.intro+e}clone(){let e=new t(this.start,this.end,this.original);return e.intro=this.intro,e.outro=this.outro,e.content=this.content,e.storeName=this.storeName,e.edited=this.edited,e}contains(e){return this.start<e&&e<this.end}eachNext(e){let r=this;for(;r;)e(r),r=r.next}eachPrevious(e){let r=this;for(;r;)e(r),r=r.previous}edit(e,r,n){return this.content=e,n||(this.intro="",this.outro=""),this.storeName=r,this.edited=!0,this}prependLeft(e){this.outro=e+this.outro}prependRight(e){this.intro=e+this.intro}reset(){this.intro="",this.outro="",this.edited&&(this.content=this.original,this.storeName=!1,this.edited=!1)}split(e){let r=e-this.start,n=this.original.slice(0,r),o=this.original.slice(r);this.original=n;let i=new t(e,this.end,o);return i.outro=this.outro,this.outro="",this.end=e,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(e){if(this.outro=this.outro.replace(e,""),this.outro.length)return!0;let r=this.content.replace(e,"");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(e,""),this.intro.length)return!0}trimStart(e){if(this.intro=this.intro.replace(e,""),this.intro.length)return!0;let r=this.content.replace(e,"");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(e,""),this.outro.length)return!0}};function wa(){return typeof globalThis<"u"&&typeof globalThis.btoa=="function"?t=>globalThis.btoa(unescape(encodeURIComponent(t))):typeof Buffer=="function"?t=>Buffer.from(t,"utf-8").toString("base64"):()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}var ka=wa(),Wr=class{constructor(e){this.version=3,this.file=e.file,this.sources=e.sources,this.sourcesContent=e.sourcesContent,this.names=e.names,this.mappings=Kn(e.mappings),typeof e.x_google_ignoreList<"u"&&(this.x_google_ignoreList=e.x_google_ignoreList),typeof e.debugId<"u"&&(this.debugId=e.debugId)}toString(){return JSON.stringify(this)}toUrl(){return"data:application/json;charset=utf-8;base64,"+ka(this.toString())}};function Sa(t){let e=t.split(`
3
3
  `),r=e.filter(i=>/^\t+/.test(i)),n=e.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 Ca(t,e){let r=t.split(/[/\\]/),n=e.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 Ea=Object.prototype.toString;function za(t){return Ea.call(t)==="[object Object]"}function Zn(t){let e=t.split(`
4
4
  `),r=[];for(let n=0,o=0;n<e.length;n++)r.push(o),o+=e[n].length+1;return function(o){let i=0,a=r.length;for(;i<a;){let l=i+a>>1;o<r[l]?a=l:i=l+1}let s=i-1,c=o-r[s];return{line:s,column:c}}}var ja=/\w/,Nr=class{constructor(e){this.hires=e,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null}addEdit(e,r,n,o){if(r.length){let i=r.length-1,a=r.indexOf(`
@@ -8,4 +8,4 @@
8
8
  `);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}},Nt=`
9
9
  `,_t={insertLeft:!1,insertRight:!1,storeName:!1},fe=class t{constructor(e,r={}){let n=new le(0,e.length,e);Object.defineProperties(this,{original:{writable:!0,value:e},outro:{writable:!0,value:""},intro:{writable:!0,value:""},firstChunk:{writable:!0,value:n},lastChunk:{writable:!0,value:n},lastSearchedChunk:{writable:!0,value:n},byStart:{writable:!0,value:{}},byEnd:{writable:!0,value:{}},filename:{writable:!0,value:r.filename},indentExclusionRanges:{writable:!0,value:r.indentExclusionRanges},sourcemapLocations:{writable:!0,value:new ce},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[e.length]=n}addSourcemapLocation(e){this.sourcemapLocations.add(e)}append(e){if(typeof e!="string")throw new TypeError("outro content must be a string");return this.outro+=e,this}appendLeft(e,r){if(e=e+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(e);let n=this.byEnd[e];return n?n.appendLeft(r):this.intro+=r,this}appendRight(e,r){if(e=e+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(e);let n=this.byStart[e];return n?n.appendRight(r):this.outro+=r,this}clone(){let e=new t(this.original,{filename:this.filename,offset:this.offset}),r=this.firstChunk,n=e.firstChunk=e.lastSearchedChunk=r.clone();for(;r;){e.byStart[n.start]=n,e.byEnd[n.end]=n;let o=r.next,i=o&&o.clone();i&&(n.next=i,i.previous=n,n=i),r=o}return e.lastChunk=n,this.indentExclusionRanges&&(e.indentExclusionRanges=this.indentExclusionRanges.slice()),e.sourcemapLocations=new ce(this.sourcemapLocations),e.intro=this.intro,e.outro=this.outro,e}generateDecodedMap(e){e=e||{};let r=0,n=Object.keys(this.storedNames),o=new Nr(e.hires),i=Zn(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:e.file?e.file.split(/[/\\]/).pop():void 0,sources:[e.source?Ca(e.file||"",e.source):e.file||""],sourcesContent:e.includeContent?[this.original]:void 0,names:n,mappings:o.raw,x_google_ignoreList:this.ignoreList?[r]:void 0}}generateMap(e){return new Wr(this.generateDecodedMap(e))}_ensureindentStr(){this.indentStr===void 0&&(this.indentStr=Sa(this.original))}_getRawIndentString(){return this._ensureindentStr(),this.indentStr}getIndentString(){return this._ensureindentStr(),this.indentStr===null?" ":this.indentStr}indent(e,r){let n=/^[^\r\n]/gm;if(za(e)&&(r=e,e=void 0),e===void 0&&(this._ensureindentStr(),e=this.indentStr||" "),e==="")return this;r=r||{};let o={};r.exclude&&(typeof r.exclude[0]=="number"?[r.exclude]:r.exclude).forEach(u=>{for(let d=u[0];d<u[1];d+=1)o[d]=!0});let i=r.indentStart!==!1,a=l=>i?`${e}${l}`:(i=!0,l);this.intro=this.intro.replace(n,a);let s=0,c=this.firstChunk;for(;c;){let l=c.end;if(c.edited)o[s]||(c.content=c.content.replace(n,a),c.content.length&&(i=c.content[c.content.length-1]===`
10
10
  `));else for(s=c.start;s<l;){if(!o[s]){let u=this.original[s];u===`
11
- `?i=!0:u!=="\r"&&i&&(i=!1,s===c.start||(this._splitChunk(c,s),c=c.next),c.prependRight(e))}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(e,r){return _t.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),_t.insertLeft=!0),this.appendLeft(e,r)}insertRight(e,r){return _t.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),_t.insertRight=!0),this.prependRight(e,r)}move(e,r,n){if(e=e+this.offset,r=r+this.offset,n=n+this.offset,n>=e&&n<=r)throw new Error("Cannot move a selection inside itself");this._split(e),this._split(r),this._split(n);let o=this.byStart[e],i=this.byEnd[r],a=o.previous,s=i.next,c=this.byStart[n];if(!c&&i===this.lastChunk)return this;let l=c?c.previous:this.lastChunk;return a&&(a.next=s),s&&(s.previous=a),l&&(l.next=o),c&&(c.previous=i),o.previous||(this.firstChunk=i.next),i.next||(this.lastChunk=o.previous,this.lastChunk.next=null),o.previous=l,i.next=c||null,l||(this.firstChunk=o),c||(this.lastChunk=i),this}overwrite(e,r,n,o){return o=o||{},this.update(e,r,n,{...o,overwrite:!o.contentOnly})}update(e,r,n,o){if(e=e+this.offset,r=r+this.offset,typeof n!="string")throw new TypeError("replacement content must be a string");if(this.original.length!==0){for(;e<0;)e+=this.original.length;for(;r<0;)r+=this.original.length}if(r>this.original.length)throw new Error("end is out of bounds");if(e===r)throw new Error("Cannot overwrite a zero-length range \u2013 use appendLeft or prependRight instead");this._split(e),this._split(r),o===!0&&(_t.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),_t.storeName=!0),o={storeName:!0});let i=o!==void 0?o.storeName:!1,a=o!==void 0?o.overwrite:!1;if(i){let l=this.original.slice(e,r);Object.defineProperty(this.storedNames,l,{writable:!0,value:!0,enumerable:!0})}let s=this.byStart[e],c=this.byEnd[r];if(s){let l=s;for(;l!==c;){if(l.next!==this.byStart[l.end])throw new Error("Cannot overwrite across a split point");l=l.next,l.edit("",!1)}s.edit(n,i,!a)}else{let l=new le(e,r,"").edit(n,i);c.next=l,l.previous=c}return this}prepend(e){if(typeof e!="string")throw new TypeError("outro content must be a string");return this.intro=e+this.intro,this}prependLeft(e,r){if(e=e+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(e);let n=this.byEnd[e];return n?n.prependLeft(r):this.intro=r+this.intro,this}prependRight(e,r){if(e=e+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(e);let n=this.byStart[e];return n?n.prependRight(r):this.outro=r+this.outro,this}remove(e,r){if(e=e+this.offset,r=r+this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;r<0;)r+=this.original.length}if(e===r)return this;if(e<0||r>this.original.length)throw new Error("Character is out of bounds");if(e>r)throw new Error("end must be greater than start");this._split(e),this._split(r);let n=this.byStart[e];for(;n;)n.intro="",n.outro="",n.edit(""),n=r>n.end?this.byStart[n.end]:null;return this}reset(e,r){if(e=e+this.offset,r=r+this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;r<0;)r+=this.original.length}if(e===r)return this;if(e<0||r>this.original.length)throw new Error("Character is out of bounds");if(e>r)throw new Error("end must be greater than start");this._split(e),this._split(r);let n=this.byStart[e];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 e=this.lastChunk;do{if(e.outro.length)return e.outro[e.outro.length-1];if(e.content.length)return e.content[e.content.length-1];if(e.intro.length)return e.intro[e.intro.length-1]}while(e=e.previous);return this.intro.length?this.intro[this.intro.length-1]:""}lastLine(){let e=this.outro.lastIndexOf(Nt);if(e!==-1)return this.outro.substr(e+1);let r=this.outro,n=this.lastChunk;do{if(n.outro.length>0){if(e=n.outro.lastIndexOf(Nt),e!==-1)return n.outro.substr(e+1)+r;r=n.outro+r}if(n.content.length>0){if(e=n.content.lastIndexOf(Nt),e!==-1)return n.content.substr(e+1)+r;r=n.content+r}if(n.intro.length>0){if(e=n.intro.lastIndexOf(Nt),e!==-1)return n.intro.substr(e+1)+r;r=n.intro+r}}while(n=n.previous);return e=this.intro.lastIndexOf(Nt),e!==-1?this.intro.substr(e+1)+r:this.intro+r}slice(e=0,r=this.original.length-this.offset){if(e=e+this.offset,r=r+this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;r<0;)r+=this.original.length}let n="",o=this.firstChunk;for(;o&&(o.start>e||o.end<=e);){if(o.start<r&&o.end>=r)return n;o=o.next}if(o&&o.edited&&o.start!==e)throw new Error(`Cannot use replaced character ${e} as slice start anchor.`);let i=o;for(;o;){o.intro&&(i!==o||o.start===e)&&(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?e-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(e,r){let n=this.clone();return n.remove(0,e),n.remove(r,n.original.length),n}_split(e){if(this.byStart[e]||this.byEnd[e])return;let r=this.lastSearchedChunk,n=r,o=e>r.end;for(;r;){if(r.contains(e))return this._splitChunk(r,e);if(r=o?this.byStart[r.end]:this.byEnd[r.start],r===n)return;n=r}}_splitChunk(e,r){if(e.edited&&e.content.length){let o=Zn(this.original)(r);throw new Error(`Cannot split a chunk that has already been edited (${o.line}:${o.column} \u2013 "${e.original}")`)}let n=e.split(r);return this.byEnd[r]=e,this.byStart[r]=n,this.byEnd[n.end]=n,e===this.lastChunk&&(this.lastChunk=n),this.lastSearchedChunk=e,!0}toString(){let e=this.intro,r=this.firstChunk;for(;r;)e+=r.toString(),r=r.next;return e+this.outro}isEmpty(){let e=this.firstChunk;do if(e.intro.length&&e.intro.trim()||e.content.length&&e.content.trim()||e.outro.length&&e.outro.trim())return!1;while(e=e.next);return!0}length(){let e=this.firstChunk,r=0;do r+=e.intro.length+e.content.length+e.outro.length;while(e=e.next);return r}trimLines(){return this.trim("[\\r\\n]")}trim(e){return this.trimStart(e).trimEnd(e)}trimEndAborted(e){let r=new RegExp((e||"\\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(e){return this.trimEndAborted(e),this}trimStartAborted(e){let r=new RegExp("^"+(e||"\\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(e){return this.trimStartAborted(e),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(e,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(e.global)o(e,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(e);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(e,r){let{original:n}=this,o=n.indexOf(e);return o!==-1&&(typeof r=="function"&&(r=r(e,o,n)),e!==r&&this.overwrite(o,o+e.length,r)),this}replace(e,r){return typeof e=="string"?this._replaceString(e,r):this._replaceRegexp(e,r)}_replaceAllString(e,r){let{original:n}=this,o=e.length;for(let i=n.indexOf(e);i!==-1;i=n.indexOf(e,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(e,r){if(typeof e=="string")return this._replaceAllString(e,r);if(!e.global)throw new TypeError("MagicString.prototype.replaceAll called with a non-global RegExp argument");return this._replaceRegexp(e,r)}};function Jn(t,e,r){if(t==="")return;let n=t.length,o=0,i=!1,a=0;for(let s=0;s<n;s++)switch(t[s]){case e:i||(i=!0,a=s),o++;break;case r:if(--o,o<0)return;if(o===0)return[t.slice(a,s+1),t.slice(s+1),t.slice(0,a)];break}}function $t(t,e,r,n){if(t===""||(F(n)&&(n=[n]),n.length===0))return;let o=t.length,i=0;for(let a=0;a<o;a++)switch(t[a]){case e:i++;break;case r:if(--i<0)return;break;default:for(let s of n){let c=s.length;if(c&&s===t.slice(a,a+c)&&i===0)return a===0||a===o-c?void 0:[t.slice(0,a),t.slice(a+c)]}}return[t,""]}function At(t,e,r,n="(",o=")"){r=r??10;let i=[],a=0;for(;t!=="";){if(++a>r)return;let s=$t(t,n,o,e);if(!s)return;let[c,l]=s;i.push(c),t=l}if(i.length>0)return i}var pe=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"],Qn=["srgb","srgb-linear","display-p3","a98-rgb","prophoto-rgb","rec2020","lab","oklab","xyz","xyz-d50","xyz-d65"],to=["hsl","hwb","lch","oklch"],eo=["shorter","longer","increasing","decreasing"],Vr=["%alpha","<alpha-value>"],ro=new RegExp(Vr.map(t=>K(t)).join("|"),"g");function _a(t){return t?Qn.some(e=>t.includes(e))||to.some(e=>t.includes(e))||eo.some(e=>t.includes(e)):!1}function Aa(t=""){let e=no(t);if(e!=null){let{components:r,alpha:n}=e;return n==null?r:[...r,n]}}function J(t=""){let e=Ra(t);if(e==null||e===!1)return;let{type:r,components:n,alpha:o}=e,i=r.toLowerCase();if(n.length!==0&&!(pe.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 mt(t){let e=t.alpha??1;return typeof e=="string"&&Vr.includes(e)?1:e}function W(t,e){if(typeof t=="string")return t.replace(ro,`${e??1}`);let{components:r}=t,{alpha:n,type:o}=t;return n=e??n,o=o.toLowerCase(),["hsla","rgba"].includes(o)?`${o}(${r.join(", ")}${n==null?"":`, ${n}`})`:(n=n==null?"":` / ${n}`,pe.includes(o)?`${o}(${r.join(" ")}${n})`:`color(${o} ${r.join(" ")}${n})`)}function Ra(t){if(!t)return;let e=no(t);if(e!=null||(e=Ma(t),e!=null)||(e=Oa(t),e!=null)||(e=La(t),e!=null)||(e=Fa(t),e!=null))return e}function no(t){let[,e]=t.match(/^#([\da-f]+)$/i)||[];if(e)switch(e.length){case 3:case 4:{let r=Array.from(e,n=>Number.parseInt(n,16)).map(n=>n<<4|n);return{type:"rgb",components:r.slice(0,3),alpha:e.length===3?void 0:Math.round(r[3]/255*100)/100}}case 6:case 8:{let r=Number.parseInt(e,16);return{type:"rgb",components:e.length===6?[r>>16&255,r>>8&255,r&255]:[r>>24&255,r>>16&255,r>>8&255],alpha:e.length===6?void 0:Math.round((r&255)/255*100)/100}}}}function Ma(t){let e={rebeccapurple:[102,51,153,1]}[t];if(e!=null)return{type:"rgb",components:e.slice(0,3),alpha:e[3]}}function Oa(t){let e=t.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!e)return;let[,r,n]=e,o=At(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 Pa=new RegExp(`^(${pe.join("|")})\\((.+)\\)$`,"i");function La(t){let e=t.match(Pa);if(!e)return;let[,r,n]=e,o=oo(`${r} ${n}`);if(o){let{alpha:i,components:[a,...s]}=o;return{type:a,components:s,alpha:i}}}function Fa(t){let e=t.match(/^color\((.+)\)$/);if(!e)return;let r=oo(e[1]);if(r){let{alpha:n,components:[o,...i]}=r;return{type:o,components:i,alpha:n}}}function oo(t){let e=At(t," ");if(!e)return;let r=e.length;if(e[r-2]==="/")return{components:e.slice(0,r-2),alpha:e[r-1]};if(e[r-2]!=null&&(e[r-2].endsWith("/")||e[r-1].startsWith("/"))){let i=e.splice(r-2);e.push(i.join(" ")),--r}let n=At(e[r-1],"/",2);if(!n)return;if(n.length===1||n[n.length-1]==="")return{components:e};let o=n.pop();return e[r-1]=n.join("/"),{components:e,alpha:o}}var io=/theme\(\s*(['"])?(.*?)\1?\s*\)/g;function Ba(t){return t.includes("theme(")&&t.includes(")")}function Ta(t,e,r=!0){let n=Array.from(t.toString().matchAll(io));if(!n.length)return t;let o=new fe(t);for(let i of n){let a=i[2];if(!a)throw new Error("theme() expect exact one argument, but got 0");let s=ao(a,e,r);s&&o.overwrite(i.index,i.index+i[0].length,s)}return o.toString()}function ao(t,e,r=!0){let[n,o]=t.split("/"),i=n.trim().split(".").reduce((a,s)=>a?.[s],e);if(typeof i=="object"&&(i=i.DEFAULT),typeof i=="string"){if(o){let a=J(i);a&&(i=W(a,o))}return i}else if(r)throw new Error(`theme of "${t}" did not found`)}function Wa(t){var e;let r=((e=t.match(/^-?\d+\.?\d*/))===null||e===void 0?void 0:e[0])||"",n=t.slice(r.length);if(n==="px"){let o=Number.parseFloat(r)-.1;return Number.isNaN(o)?t:`${o}${n}`}return`calc(${t} - 0.1px)`}function Gr(t){let e=function(n,o){var i;let a=((i=this.__options)===null||i===void 0?void 0:i.sequence)||[];this.__options.sequence=[];for(let s of a){let c=t[s](n,o);if(c!=null)return c}};function r(n,o){return n.__options||(n.__options={sequence:[]}),n.__options.sequence.push(o),n}for(let n of Object.keys(t))Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get(){return r(this,n)}});return e}var Na=/icon\(\s*(['"])?(.*?)\1?\s*\)/g;function Ia(t){return t.includes("icon(")&&t.includes(")")}var It="__pseudo_placeholder__",wt=Object.fromEntries([["first-letter","::first-letter"],["first-line","::first-line"],"any-link","link","visited","target",["open","[open]"],"default","checked","indeterminate","placeholder-shown","autofill","optional","required","valid","invalid","user-valid","user-invalid","in-range","out-of-range","read-only","read-write","empty","focus-within","hover","focus","focus-visible","active","enabled","disabled","popover-open","root","empty",["even-of-type",":nth-of-type(even)"],["even",":nth-child(even)"],["odd-of-type",":nth-of-type(odd)"],["odd",":nth-child(odd)"],["nth",`:nth-child(${It})`],["nth-last",`:nth-last-child(${It})`],["nth-last-of-type",`:nth-last-of-type(${It})`],["nth-of-type",`:nth-of-type(${It})`],"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(t=>Array.isArray(t)?t:[t,`:${t}`])),qr=Object.keys(wt),kt=Object.fromEntries([["backdrop","::backdrop"]].map(t=>Array.isArray(t)?t:[t,`:${t}`])),Hr=Object.keys(kt),so=["not","is","where","has"],Yr=Object.fromEntries([["selection",["::selection"," *::selection"]],["marker",["::marker"," *::marker"]]]),ue=Object.entries(wt).filter(([,t])=>!t.startsWith("::")).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|"),de=Object.entries(kt).filter(([,t])=>!t.startsWith("::")).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|"),pt=so.join("|"),Ir=Object.keys(Yr).sort((t,e)=>e.length-t.length).join("|"),co=["::-webkit-resizer","::-webkit-scrollbar","::-webkit-scrollbar-button","::-webkit-scrollbar-corner","::-webkit-scrollbar-thumb","::-webkit-scrollbar-track","::-webkit-scrollbar-track-piece","::file-selector-button"],Ur=Object.entries(wt).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|"),Dr=Object.entries(kt).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|");function lo(t,e,r,n){let{h:o,variantGetBracket:i}=n,a=new RegExp(`^(${K(e)}:)(\\S+)${K(r)}\\1`),s,c,l,u,d=m=>{var x;let w=i(`${t}-`,m,[]);if(!w)return;let[k,y]=w,b=o.bracket(k);if(b==null)return;let g=((x=y.split(s,1))===null||x===void 0?void 0:x[0])??"",v=`${e}${Z(g)}`;return[g,m.slice(m.length-(y.length-g.length-1)),b.includes("&")?b.replace(/&/g,v):`${v}${b}`]},p=m=>{let x=m.match(c)||m.match(l);if(!x)return;let[w,k,y]=x,b=x[3]??"",g=wt[y]||kt[y]||`:${y}`;return k&&(g=`:${k}(${g})`),[b,m.slice(w.length),`${e}${Z(b)}${g}`,y]},h=m=>{let x=m.match(u);if(!x)return;let[w,k,y]=x,b=x[3]??"",g=`:${k}(${y})`;return[b,m.slice(w.length),`${e}${Z(b)}${g}`]};return{name:`pseudo:${t}`,match(m,x){if(s&&c&&l||(s=new RegExp(`(?:${x.generator.config.separators.join("|")})`),c=new RegExp(`^${t}-(?:(?:(${pt})-)?(${ue}))(?:(/[\\w-]+))?(?:${x.generator.config.separators.join("|")})`),l=new RegExp(`^${t}-(?:(?:(${pt})-)?(${de}))(?:(/[\\w-]+))?(?:${x.generator.config.separators.filter(v=>v!=="-").join("|")})`),u=new RegExp(`^${t}-(?:(${pt})-)?\\[(.+)\\](?:(/[\\w-]+))?(?:${x.generator.config.separators.filter(v=>v!=="-").join("|")})`)),!m.startsWith(t))return;let w=d(m)||p(m)||h(m);if(!w)return;let[k,y,b,g=""]=w;return{matcher:y,handle:(v,L)=>L({...v,prefix:`${b}${r}${v.prefix}`.replace(a,"$1$2:"),sort:qr.indexOf(g)??Hr.indexOf(g)})}},multiPass:!0}}function Xr(t){let{h:e}=t,r,n,o;return[{name:"pseudo",match(i,a){r&&n||(r=new RegExp(`^(${Ur})(?:-(\\d+|\\[(\\w|[+-.])+\\]))?(?:${a.generator.config.separators.join("|")})`),n=new RegExp(`^(${Dr})(?:${a.generator.config.separators.filter(c=>c!=="-").join("|")})`));let s=i.match(r)||i.match(n);if(s){let c=wt[s[1]]||kt[s[1]]||`:${s[1]}`;if(s[2]){let u;s[2].startsWith("[")&&s[2].endsWith("]")?u=e.bracket(s[2]):u=s[2],u&&(c=c.replace(It,u))}let l=qr.indexOf(s[1]);return l===-1&&(l=Hr.indexOf(s[1])),l===-1&&(l=void 0),{matcher:i.slice(s[0].length),handle:(u,d)=>{let p=c.includes("::")&&!co.includes(c)?{pseudo:`${u.pseudo}${c}`}:{selector:`${u.selector}${c}`};return d({...u,...p,sort:l,noMerge:!0})}}}},multiPass:!0,autocomplete:`(${Ur}|${Dr}):`},{name:"pseudo:multi",match(i,a){o||(o=new RegExp(`^(${Ir})(?:${a.generator.config.separators.join("|")})`));let s=i.match(o);if(s)return Yr[s[1]].map(c=>({matcher:i.slice(s[0].length),handle:(l,u)=>u({...l,pseudo:`${l.pseudo}${c}`})}))},multiPass:!1,autocomplete:`(${Ir}):`}]}function Kr(t){let{getBracket:e,h:r}=t,n,o,i;return{match(a,s){n&&o||(n=new RegExp(`^(${pt})-(${ue})(?:${s.generator.config.separators.join("|")})`),o=new RegExp(`^(${pt})-(${de})(?:${s.generator.config.separators.filter(l=>l!=="-").join("|")})`),i=new RegExp(`^(${pt})-(\\[.+\\])(?:${s.generator.config.separators.filter(l=>l!=="-").join("|")})`));let c=a.match(n)||a.match(o)||a.match(i);if(c){let l=c[1],u=e(c[2],"[","]")?r.bracket(c[2]):wt[c[2]]||kt[c[2]]||`:${c[2]}`;return{matcher:a.slice(c[0].length),selector:d=>`${d}:${l}(${u})`}}},multiPass:!0,autocomplete:`(${pt})-(${ue}|${de}):`}}function Zr(t,e){let r=!!t?.attributifyPseudo,n=t?.prefix??"";n=Z((Array.isArray(n)?n:[n]).filter(Boolean)[0]??"");let o=(i,a)=>lo(i,r?`[${n}${i}=""]`:`.${n}${i}`,a,e);return[o("group"," "),o("peer","~"),o("parent",">"),o("previous","+")]}var Ua=/(part-\[(.+)\]:)(.+)/;function Jr(){return{match(t){let e=t.match(Ua);if(e){let r=`part(${e[2]})`;return{matcher:t.slice(e[1].length),selector:n=>`${n}::${r}`}}},multiPass:!0}}function St(t,e,r={}){let n;return{name:t,match(o,i){n||(n=new RegExp(`^${K(t)}(?:${i.generator.config.separators.join("|")})`));let a=o.match(n);if(a){let s=o.slice(a[0].length),c=j(e).map(l=>({matcher:s,handle:(u,d)=>d({...u,...l(u)}),...r}));return c.length===1?c[0]:c}},autocomplete:`${t}:`}}function rt(t,e){let r;return{name:t,match(n,o){r||(r=new RegExp(`^${K(t)}(?:${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} $$ `:""}${e}`})}},autocomplete:`${t}:`}}function fo(t,e,r){if(e.startsWith(`${t}[`)){let[n,o]=Jn(e.slice(t.length),"[","]")??[];if(n&&o){for(let i of r)if(o.startsWith(i))return[n,o.slice(i.length),i];return[n,o,""]}}}function uo(t,e,r){for(let n of j(t))if(e.startsWith(n)){let o=fo(n,e,r);if(o){let[i="",a=o[1]]=uo("/",o[1],r)??[];return[o[0],a,i]}for(let i of r.filter(a=>a!=="/")){let a=e.indexOf(i,n.length);if(a!==-1){let s=e.indexOf("/",n.length),c=s===-1||a<=s;return[e.slice(n.length,c?a:s),e.slice(a+i.length),c?"":e.slice(s+1,a)]}}}}var U={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"]},Rt={...U,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"]},Mt={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"]},me={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},he=["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"],N=Object.assign({},...po.map(t=>({[t.replace(/ /,"-")]:t})),...po.map(t=>({[t.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:t}))),M=["inherit","initial","revert","revert-layer","unset"],Ct=/^(calc|clamp|min|max)\s*\((.+)\)(.*)/,Ut=/^(var)\s*\((.+)\)(.*)/,ge=/^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i,bo=/^(-?\d*(?:\.\d+)?)$/,yo=/^(px|[sld]?v[wh])$/i,xo={px:1,vw:100,vh:100,svw:100,svh:100,dvw:100,dvh:100,lvh:100,lvw:100},vo=/^\[(color|image|length|size|position|quoted|string):/i,Da=/,(?![^()]*\))/g,be=se({auto:()=>qa,bracket:()=>Ja,bracketOfColor:()=>Qa,bracketOfLength:()=>ts,bracketOfPosition:()=>es,cssvar:()=>rs,degree:()=>os,fraction:()=>Za,global:()=>is,number:()=>Xa,numberWithUnit:()=>Ga,percent:()=>Ka,position:()=>ss,properties:()=>as,px:()=>Ya,rem:()=>Ha,time:()=>ns}),Va=["color","border-color","background-color","outline-color","text-decoration-color","flex-grow","flex","flex-shrink","grid","grid-template-columns","grid-template-rows","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(t){return+t.toFixed(10)}function Ga(t){let e=t.match(ge);if(!e)return;let[,r,n]=e,o=Number.parseFloat(r);if(n&&!Number.isNaN(o))return`${q(o)}${n}`}function qa(t){if(t==="auto"||t==="a")return"auto"}function Ha(t){if(!t)return;if(yo.test(t))return`${xo[t]}${t}`;let e=t.match(ge);if(!e)return;let[,r,n]=e,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0":n?`${q(o)}${n}`:`${q(o/4)}rem`}function Ya(t){if(yo.test(t))return`${xo[t]}${t}`;let e=t.match(ge);if(!e)return;let[,r,n]=e,o=Number.parseFloat(r);if(!Number.isNaN(o))return n?`${q(o)}${n}`:`${q(o)}px`}function Xa(t){if(!bo.test(t))return;let e=Number.parseFloat(t);if(!Number.isNaN(e))return q(e)}function Ka(t){if(t.endsWith("%")&&(t=t.slice(0,-1)),!bo.test(t))return;let e=Number.parseFloat(t);if(!Number.isNaN(e))return`${q(e/100)}`}function Za(t){if(!t)return;if(t==="full")return"100%";let[e,r]=t.split("/"),n=Number.parseFloat(e)/Number.parseFloat(r);if(!Number.isNaN(n))return n===0?"0":`${q(n*100)}%`}function ye(t,e){if(t&&t.startsWith("[")&&t.endsWith("]")){let r,n,o=t.match(vo);if(o?(e||(n=o[1]),r=t.slice(o[0].length,-1)):r=t.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,l)=>(s.push(l),c.replace(l,"--un-calc"))).replace(/(-?\d*\.?\d(?!-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 ").replace(/--un-calc/g,()=>s.shift())})}}function Ja(t){return ye(t)}function Qa(t){return ye(t,"color")}function ts(t){return ye(t,"length")}function es(t){return ye(t,"position")}function rs(t){if(/^\$[^\s'"`;{}]/.test(t)){let[e,r]=t.slice(1).split(",");return`var(--${Z(e)}${r?`, ${r}`:""})`}}function ns(t){let e=t.match(/^(-?[0-9.]+)(s|ms)?$/i);if(!e)return;let[,r,n]=e,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0&&!n?"0s":n?`${q(o)}${n}`:`${q(o)}ms`}function os(t){let e=t.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);if(!e)return;let[,r,n]=e,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0deg":n?`${q(o)}${n}`:`${q(o)}deg`}function is(t){if(M.includes(t))return t}function as(t){if(t.split(",").every(e=>Va.includes(e)))return t}function ss(t){if(["top","left","right","bottom","center"].includes(t))return t}var xe=Gr(be),f=xe,Dt="$$mini-no-negative";function O(t){return([e,r,n],{theme:o})=>{let i=o.spacing?.[n||"DEFAULT"]??f.bracket.cssvar.global.auto.fraction.rem(n);if(i!=null)return U[r].map(a=>[`${t}${a}`,i]);if(n?.startsWith("-")){let a=o.spacing?.[n.slice(1)];if(a!=null)return U[r].map(s=>[`${t}${s}`,`calc(${a} * -1)`])}}}function mo(t,e,r="colors"){let n=t[r];function o(i,a){if(a.length===0)return i;if(!(!i||typeof i!="object"))for(let s=a.length;s>0;s--){let c=a.slice(0,s).join("-"),l=i[c.replace(/(-[a-z])/g,u=>u.slice(1).toUpperCase())]??i[c];if(l!=null)return s===a.length?l:o(l,a.slice(s))}}return o(n,e)}function ho(t,e,r){return mo(t,e,r)||mo(t,e,"colors")}function Ot(t,e){let[r,n]=$t(t,"[","]",["/",":"])??[];if(r!=null){let o=(r.match(vo)??[])[1];if(o==null||o===e)return[r,n]}}function nt(t,e,r){let n=Ot(t,"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,l=f.bracketOfColor(o),u=l||o;if(f.numberWithUnit(u))return;if(/^#[\da-f]+$/i.test(u)?c=u:/^hex-[\da-fA-F]+$/.test(u)?c=`#${u.slice(4)}`:o.startsWith("$")&&(c=f.cssvar(o)),c=c||l,!c){let p=ho(e,[o],r);typeof p=="string"&&(c=p)}let d="DEFAULT";if(!c){let p=a,h,[m]=a.slice(-1);/^\d+$/.test(m)&&(d=h=m,p=a.slice(0,-1));let x=ho(e,p,r);typeof x=="object"?c=x[h??d]:typeof x=="string"&&!h&&(c=x)}return{opacity:i,name:s,no:d,color:c,cssColor:J(c),alpha:f.bracket.cssvar.percent(i??"")}}function B(t,e,r,n){return([,o],{theme:i,generator:a})=>{let s=nt(o??"",i,r);if(!s)return;let{alpha:c,color:l,cssColor:u}=s,d=a.config.envMode==="dev"&&l?` /* ${l} */`:"",p={};if(u)if(c!=null)p[t]=W(u,c)+d;else{let h=`--un-${e}-opacity`,m=W(u,`var(${h})`);m.includes(h)&&(p[h]=mt(u)),p[t]=m+d}else if(l)if(c!=null)p[t]=W(l,c)+d;else{let h=`--un-${e}-opacity`,m=W(l,`var(${h})`);m.includes(h)&&(p[h]=1),p[t]=m+d}if(n?.(p)!==!1)return p}}function ht(t,e){let r=[];t=j(t);for(let n=0;n<t.length;n++){let o=At(t[n]," ",6);if(!o||o.length<3)return t;let i=!1,a=o.indexOf("inset");a!==-1&&(o.splice(a,1),i=!0);let s="",c=o.at(-1);if(J(o.at(0))){let l=J(o.shift());l&&(s=`, ${W(l)}`)}else if(J(c)){let l=J(o.pop());l&&(s=`, ${W(l)}`)}else c&&c.startsWith("var(")&&(s=`, ${o.pop()}`);r.push(`${i?"inset ":""}${o.join(" ")} var(${e}${s})`)}return r}function gt(t,e,r){return t!=null&&!!nt(t,e,r)?.color}var go=/[a-z]+/gi,tn=new WeakMap;function Q({theme:t,generator:e},r="breakpoints"){let n=e?.userConfig?.theme?.[r]||t[r];if(!n)return;if(tn.has(t))return tn.get(t);let o=Object.entries(n).sort((i,a)=>Number.parseInt(i[1].replace(go,""))-Number.parseInt(a[1].replace(go,""))).map(([i,a])=>({point:i,size:a}));return tn.set(t,o),o}function en(t){return Q(t,"verticalBreakpoints")}function S(t,e){return M.map(r=>[`${t}-${r}`,{[e??t]:r}])}function ot(t){return t!=null&&Ct.test(t)}function Vt(t){return t[0]==="["&&t.slice(-1)==="]"&&(t=t.slice(1,-1)),Ct.test(t)||ge.test(t)}function Et(t,e,r){let n=e.split(Da);return t||!t&&n.length===1?me[t].map(o=>[`--un-${r}${o}`,e]):n.map((o,i)=>[`--un-${r}-${he[i]}`,o])}var lt=se({CONTROL_MINI_NO_NEGATIVE:()=>Dt,colorResolver:()=>B,colorableShadows:()=>ht,cornerMap:()=>Mt,cssMathFnRE:()=>Ct,cssVarFnRE:()=>Ut,directionMap:()=>U,directionSize:()=>O,globalKeywords:()=>M,h:()=>f,handler:()=>xe,hasParseableColor:()=>gt,insetMap:()=>Rt,isCSSMathFn:()=>ot,isSize:()=>Vt,makeGlobalStaticRules:()=>S,parseColor:()=>nt,positionMap:()=>N,resolveBreakpoints:()=>Q,resolveVerticalBreakpoints:()=>en,splitShorthand:()=>Ot,transformXYZ:()=>Et,valueHandlers:()=>be,xyzArray:()=>he,xyzMap:()=>me});Tr(lt,Qr);var R=se({CONTROL_MINI_NO_NEGATIVE:()=>Dt,colorResolver:()=>B,colorableShadows:()=>ht,cornerMap:()=>Mt,cssMathFnRE:()=>Ct,cssVarFnRE:()=>Ut,directionMap:()=>U,directionSize:()=>O,globalKeywords:()=>M,h:()=>f,handler:()=>xe,hasParseableColor:()=>gt,insetMap:()=>Rt,isCSSMathFn:()=>ot,isSize:()=>Vt,makeGlobalStaticRules:()=>S,parseColor:()=>nt,positionMap:()=>N,resolveBreakpoints:()=>Q,resolveVerticalBreakpoints:()=>en,splitShorthand:()=>Ot,transformXYZ:()=>Et,valueHandlers:()=>be,xyzArray:()=>he,xyzMap:()=>me});Tr(R,lt);var cs=/@media \(min-width: (.+)\)/,$o=[[/^__container$/,(t,e)=>{let{theme:r,variantHandlers:n}=e,o=r.container?.padding,i;F(o)?i=o:i=o?.DEFAULT;let a=r.container?.maxWidth,s;for(let l of n){let u=l.handle?.({},d=>d)?.parent;if(F(u)){let d=u.match(cs)?.[1];if(d){let p=(Q(e)??[]).find(h=>h.size===d)?.point;a?p&&(s=a?.[p]):s=d,p&&!F(o)&&(i=o?.[p]??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}]],rn=[[/^(?:(\w+)[:-])?container$/,([,t],e)=>{let r=(Q(e)??[]).map(o=>o.point);if(t){if(!r.includes(t))return;r=r.slice(r.indexOf(t))}let n=r.map(o=>`${o}:__container`);return t||n.unshift("__container"),n}]];var wo={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(M.map(t=>[t,t]))},ke=[[/^(?:vertical|align|v)-(.+)$/,([,t])=>({"vertical-align":wo[t]??f.bracket.cssvar.numberWithUnit(t)}),{autocomplete:[`(vertical|align|v)-(${Object.keys(wo).join("|")})`,"(vertical|align|v)-<percentage>"]}]],ko=["center","left","right","justify","start","end"],Se=[...ko.map(t=>[`text-${t}`,{"text-align":t}]),...[...M,...ko].map(t=>[`text-align-${t}`,{"text-align":t}])],Ce=[[/^outline-(?:width-|size-)?(.+)$/,Mo,{autocomplete:"outline-(width|size)-<num>"}],[/^outline-(?:color-)?(.+)$/,ls,{autocomplete:"outline-$colors"}],[/^outline-offset-(.+)$/,([,t],{theme:e})=>({"outline-offset":e.lineWidth?.[t]??f.bracket.cssvar.global.px(t)}),{autocomplete:"outline-(offset)-<num>"}],["outline",{"outline-style":"solid"}],...["auto","dashed","dotted","double","hidden","solid","groove","ridge","inset","outset",...M].map(t=>[`outline-${t}`,{"outline-style":t}]),["outline-none",{outline:"2px solid transparent","outline-offset":"2px"}]];function Mo([,t],{theme:e}){return{"outline-width":e.lineWidth?.[t]??f.bracket.cssvar.global.px(t)}}function ls(t,e){return ot(f.bracket(t[1]))?Mo(t,e):B("outline-color","outline-color","borderColor")(t,e)}var Ee=[["appearance-auto",{"-webkit-appearance":"auto",appearance:"auto"}],["appearance-none",{"-webkit-appearance":"none",appearance:"none"}]];function fs(t){return f.properties.auto.global(t)??{contents:"contents",scroll:"scroll-position"}[t]}var ze=[[/^will-change-(.+)/,([,t])=>({"will-change":fs(t)})]],bt=["solid","dashed","dotted","double","hidden","none","groove","ridge","inset","outset",...M],je=[[/^(?:border|b)()(?:-(.+))?$/,tt,{autocomplete:"(border|b)-<directions>"}],[/^(?:border|b)-([xy])(?:-(.+))?$/,tt],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,tt],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,tt],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,tt],[/^(?:border|b)-()(?:width|size)-(.+)$/,tt,{autocomplete:["(border|b)-<num>","(border|b)-<directions>-<num>"]}],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,tt],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,tt],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,tt],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,tt],[/^(?:border|b)-()(?:color-)?(.+)$/,Gt,{autocomplete:["(border|b)-$colors","(border|b)-<directions>-$colors"]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,Gt],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,Gt],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,Gt],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,Gt],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,qt,{autocomplete:"(border|b)-(op|opacity)-<percent>"}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,qt],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,qt],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,qt],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,qt],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,Ht,{autocomplete:["(border|b)-(rounded|rd)","(border|b)-(rounded|rd)-$borderRadius","(rounded|rd)","(rounded|rd)-$borderRadius"]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltbse])(?:-(.+))?$/,Ht],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,Ht],[/^(?:border-|b-)?(?:rounded|rd)-([bise][se])(?:-(.+))?$/,Ht],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,Ht],[/^(?:border|b)-(?:style-)?()(.+)$/,Pt,{autocomplete:["(border|b)-style",`(border|b)-(${bt.join("|")})`,"(border|b)-<directions>-style",`(border|b)-<directions>-(${bt.join("|")})`,`(border|b)-<directions>-style-(${bt.join("|")})`,`(border|b)-style-(${bt.join("|")})`]}],[/^(?:border|b)-([xy])-(?:style-)?(.+)$/,Pt],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,Pt],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,Pt],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,Pt]];function So(t,e,r){if(e!=null)return{[`border${r}-color`]:W(t,e)};if(r===""){let n={},o="--un-border-opacity",i=W(t,`var(${o})`);return i.includes(o)&&(n[o]=typeof t=="string"?1:mt(t)),n["border-color"]=i,n}else{let n={},o="--un-border-opacity",i=`--un-border${r}-opacity`,a=W(t,`var(${i})`);return a.includes(i)&&(n[o]=typeof t=="string"?1:mt(t),n[i]=`var(${o})`),n[`border${r}-color`]=a,n}}function us(t){return([,e],r)=>{let n=nt(e,r,"borderColor");if(!n)return;let{alpha:o,color:i,cssColor:a}=n;if(a)return So(a,o,t);if(i)return So(i,o,t)}}function tt([,t="",e],{theme:r}){let n=r.lineWidth?.[e||"DEFAULT"]??f.bracket.cssvar.global.px(e||"1");if(t in U&&n!=null)return U[t].map(o=>[`border${o}-width`,n])}function Gt([,t="",e],r){if(t in U){if(ot(f.bracket(e)))return tt(["",t,e],r);if(gt(e,r.theme,"borderColor"))return Object.assign({},...U[t].map(n=>us(n)(["",e],r.theme)))}}function qt([,t="",e]){let r=f.bracket.percent.cssvar(e);if(t in U&&r!=null)return U[t].map(n=>[`--un-border${n}-opacity`,r])}function Ht([,t="",e],{theme:r}){let n=r.borderRadius?.[e||"DEFAULT"]||f.bracket.cssvar.global.fraction.rem(e||"1");if(t in Mt&&n!=null)return Mt[t].map(o=>[`border${o}-radius`,n])}function Pt([,t="",e]){if(bt.includes(e)&&t in U)return U[t].map(r=>[`border${r}-style`,e])}var _e=[[/^op(?:acity)?-?(.+)$/,([,t])=>({opacity:f.bracket.percent.cssvar(t)})]],ds=/^\[url\(.+\)\]$/,ps=/^\[(?:length|size):.+\]$/,ms=/^\[position:.+\]$/,hs=/^\[(?:linear|conic|radial)-gradient\(.+\)\]$/,gs=/^\[image:.+\]$/,Ae=[[/^bg-(.+)$/,(...t)=>{let e=t[0][1];if(ds.test(e))return{"--un-url":f.bracket(e),"background-image":"var(--un-url)"};if(ps.test(e)&&f.bracketOfLength(e)!=null)return{"background-size":f.bracketOfLength(e).split(" ").map(r=>f.fraction.auto.px.cssvar(r)??r).join(" ")};if((Vt(e)||ms.test(e))&&f.bracketOfPosition(e)!=null)return{"background-position":f.bracketOfPosition(e).split(" ").map(r=>f.position.fraction.auto.px.cssvar(r)??r).join(" ")};if(hs.test(e)||gs.test(e)){let r=f.bracket(e);if(r)return{"background-image":(r.startsWith("http")?`url(${r})`:f.cssvar(r))??r}}return B("background-color","bg","backgroundColor")(...t)},{autocomplete:"bg-$colors"}],[/^bg-op(?:acity)?-?(.+)$/,([,t])=>({"--un-bg-opacity":f.bracket.percent.cssvar(t)}),{autocomplete:"bg-(op|opacity)-<percent>"}]],Re=[[/^color-scheme-(\w+)$/,([,t])=>({"color-scheme":t})]],Me=[[/^@container(?:\/(\w+))?(?:-(normal|inline-size|size))?$/,([,t,e])=>({"container-type":e??"inline-size","container-name":t})]],Co=["solid","double","dotted","dashed","wavy",...M],Oe=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,t])=>({"text-decoration-line":t}),{autocomplete:"decoration-(underline|overline|line-through)"}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,Oo,{autocomplete:"(underline|decoration)-<num>"}],[/^(?:underline|decoration)-(auto|from-font)$/,([,t])=>({"text-decoration-thickness":t}),{autocomplete:"(underline|decoration)-(auto|from-font)"}],[/^(?:underline|decoration)-(.+)$/,bs,{autocomplete:"(underline|decoration)-$colors"}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,t])=>({"--un-line-opacity":f.bracket.percent.cssvar(t)}),{autocomplete:"(underline|decoration)-(op|opacity)-<percent>"}],[/^(?:underline|decoration)-offset-(.+)$/,([,t],{theme:e})=>({"text-underline-offset":e.lineWidth?.[t]??f.auto.bracket.cssvar.global.px(t)}),{autocomplete:"(underline|decoration)-(offset)-<num>"}],...Co.map(t=>[`underline-${t}`,{"text-decoration-style":t}]),...Co.map(t=>[`decoration-${t}`,{"text-decoration-style":t}]),["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];function Oo([,t],{theme:e}){return{"text-decoration-thickness":e.lineWidth?.[t]??f.bracket.cssvar.global.px(t)}}function bs(t,e){if(ot(f.bracket(t[1])))return Oo(t,e);let r=B("text-decoration-color","line","borderColor")(t,e);if(r)return{"-webkit-text-decoration-color":r["text-decoration-color"],...r}}var Pe=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],[/^flex-(.*)$/,([,t])=>({flex:f.bracket(t)!=null?f.bracket(t).split(" ").map(e=>f.cssvar.fraction(e)??e).join(" "):f.cssvar.fraction(t)})],["flex-1",{flex:"1 1 0%"}],["flex-auto",{flex:"1 1 auto"}],["flex-initial",{flex:"0 1 auto"}],["flex-none",{flex:"none"}],[/^(?:flex-)?shrink(?:-(.*))?$/,([,t=""])=>({"flex-shrink":f.bracket.cssvar.number(t)??1}),{autocomplete:["flex-shrink-<num>","shrink-<num>"]}],[/^(?:flex-)?grow(?:-(.*))?$/,([,t=""])=>({"flex-grow":f.bracket.cssvar.number(t)??1}),{autocomplete:["flex-grow-<num>","grow-<num>"]}],[/^(?:flex-)?basis-(.+)$/,([,t],{theme:e})=>({"flex-basis":e.spacing?.[t]??f.bracket.cssvar.auto.fraction.rem(t)}),{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"}]],ys={"":"",x:"column-",y:"row-",col:"column-",row:"row-"};function nn([,t="",e],{theme:r}){let n=r.spacing?.[e]??f.bracket.cssvar.global.rem(e);if(n!=null)return{[`${ys[t]}gap`]:n}}var Le=[[/^(?:flex-|grid-)?gap-?()(.+)$/,nn,{autocomplete:["gap-$spacing","gap-<num>"]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,nn,{autocomplete:["gap-(x|y)-$spacing","gap-(x|y)-<num>"]}],[/^(?:flex-|grid-)?gap-(col|row)-?(.+)$/,nn,{autocomplete:["gap-(col|row)-$spacing","gap-(col|row)-<num>"]}]];function it(t){return t.replace("col","column")}function on(t){return t[0]==="r"?"Row":"Column"}function xs(t,e,r){let n=e[`gridAuto${on(t)}`]?.[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 Fe=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,t,e],{theme:r})=>({[`grid-${it(t)}`]:r[`grid${on(t)}`]?.[e]??f.bracket.cssvar.auto(e)})],[/^(?:grid-)?(row|col)-span-(.+)$/,([,t,e])=>{if(e==="full")return{[`grid-${it(t)}`]:"1/-1"};let r=f.bracket.number(e);if(r!=null)return{[`grid-${it(t)}`]:`span ${r}/span ${r}`}},{autocomplete:"(grid-row|grid-col|row|col)-span-<num>"}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,t,e])=>({[`grid-${it(t)}-start`]:f.bracket.cssvar(e)??e})],[/^(?:grid-)?(row|col)-end-(.+)$/,([,t,e])=>({[`grid-${it(t)}-end`]:f.bracket.cssvar(e)??e}),{autocomplete:"(grid-row|grid-col|row|col)-(start|end)-<num>"}],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,t,e],{theme:r})=>({[`grid-auto-${it(t)}`]:xs(t,r,e)}),{autocomplete:"(grid-auto|auto)-(rows|cols)-<num>"}],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,t])=>({"grid-auto-flow":f.bracket.cssvar(t)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)$/,([,t])=>({"grid-auto-flow":it(t).replace("-"," ")}),{autocomplete:["(grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)"]}],[/^(?:grid-)?(rows|cols)-(.+)$/,([,t,e],{theme:r})=>({[`grid-template-${it(t)}`]:r[`gridTemplate${on(t)}`]?.[e]??f.bracket.cssvar(e)})],[/^(?:grid-)?(rows|cols)-minmax-([\w.-]+)$/,([,t,e])=>({[`grid-template-${it(t)}`]:`repeat(auto-fill,minmax(${e},1fr))`})],[/^(?:grid-)?(rows|cols)-(\d+)$/,([,t,e])=>({[`grid-template-${it(t)}`]:`repeat(${e},minmax(0,1fr))`}),{autocomplete:"(grid-rows|grid-cols|rows|cols)-<num>"}],[/^grid-area(s)?-(.+)$/,([,t,e])=>t!=null?{"grid-template-areas":f.cssvar(e)??e.split("-").map(r=>`"${f.bracket(r)}"`).join(" ")}:{"grid-area":f.bracket.cssvar(e)}],["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"}]],ve=["auto","hidden","clip","visible","scroll","overlay",...M],Be=[[/^(?:overflow|of)-(.+)$/,([,t])=>ve.includes(t)?{overflow:t}:void 0,{autocomplete:[`(overflow|of)-(${ve.join("|")})`,`(overflow|of)-(x|y)-(${ve.join("|")})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,t,e])=>ve.includes(e)?{[`overflow-${t}`]:e}:void 0]],Te=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,t])=>({position:t}),{autocomplete:["(position|pos)-<position>","(position|pos)-<globalKeyword>","<position>"]}],[/^(?:position-|pos-)([-\w]+)$/,([,t])=>M.includes(t)?{position:t}:void 0],[/^(?:position-|pos-)?(static)$/,([,t])=>({position:t})]],Xt=[["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"}],...S("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"}],...S("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"}],...S("justify-self")],We=[[/^order-(.+)$/,([,t])=>({order:f.bracket.cssvar.number(t)})],["order-first",{order:"-9999"}],["order-last",{order:"9999"}],["order-none",{order:"0"}]],Kt=[["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"}],...S("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"}],...S("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"}],...S("self","align-self")],Zt=[["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"}],...S("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"}],...S("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"}],...S("place-self")],Ne=[...Xt,...Kt,...Zt].flatMap(([t,e])=>[[`flex-${t}`,e],[`grid-${t}`,e]]);function an(t,{theme:e}){return e.spacing?.[t]??f.bracket.cssvar.global.auto.fraction.rem(t)}function Yt([,t,e],r){let n=an(e,r);if(n!=null&&t in Rt)return Rt[t].map(o=>[o.slice(1),n])}var Ie=[[/^(?:position-|pos-)?inset-(.+)$/,([,t],e)=>({inset:an(t,e)}),{autocomplete:["(position|pos)-inset-<directions>-$spacing","(position|pos)-inset-(block|inline)-$spacing","(position|pos)-inset-(bs|be|is|ie)-$spacing","(position|pos)-(top|left|right|bottom)-$spacing"]}],[/^(?:position-|pos-)?(start|end)-(.+)$/,Yt],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,Yt],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,Yt],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,Yt],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,Yt],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,t,e],r)=>({[t]:an(e,r)})]],Ue=[["float-left",{float:"left"}],["float-right",{float:"right"}],["float-start",{float:"inline-start"}],["float-end",{float:"inline-end"}],["float-none",{float:"none"}],...S("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"}],...S("clear")],De=[[/^(?:position-|pos-)?z([\d.]+)$/,([,t])=>({"z-index":f.number(t)})],[/^(?:position-|pos-)?z-(.+)$/,([,t],{theme:e})=>({"z-index":e.zIndex?.[t]??f.bracket.cssvar.global.auto.number(t)}),{autocomplete:"z-<num>"}]],Ve=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}],...S("box","box-sizing")],Ge=[[/^(where|\?)$/,(t,{constructCSS:e,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}} ${e({animation:"__un_qm 0.5s ease-in-out alternate infinite"})}`}]],vs=["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"],$s=["none","strict","content","size","inline-size","layout","style","paint"],A=" ",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-(.+)$/,([,t])=>({display:f.bracket.cssvar.global(t)})]],He=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}],...S("backface","backface-visibility")],Ye=[[/^cursor-(.+)$/,([,t])=>({cursor:f.bracket.cssvar.global(t)})],...vs.map(t=>[`cursor-${t}`,{cursor:t}])],Xe=[[/^contain-(.*)$/,([,t])=>f.bracket(t)!=null?{contain:f.bracket(t).split(" ").map(e=>f.cssvar.fraction(e)??e).join(" ")}:$s.includes(t)?{contain:t}:void 0]],Ke=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}],...S("pointer-events")],Ze=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}],...S("resize")],Je=[["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"}],...S("select","user-select")],Qe=[[/^(?:whitespace-|ws-)([-\w]+)$/,([,t])=>["normal","nowrap","pre","pre-line","pre-wrap","break-spaces",...M].includes(t)?{"white-space":t}:void 0,{autocomplete:"(whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)"}]],tr=[[/^intrinsic(?:-(block|inline|w|h))?(?:-size)?-(.+)$/,([,t,e])=>({[`contain-intrinsic-${{block:"block-size",inline:"inline-size",w:"width",h:"height"}[t]??"size"}`]:f.bracket.cssvar.global.fraction.rem(e)}),{autocomplete:["intrinsic-size-<num>","intrinsic-<num>","intrinsic-(block|inline|w|h)-<num>"]}],["content-visibility-visible",{"content-visibility":"visible"}],["content-visibility-hidden",{"content-visibility":"hidden"}],["content-visibility-auto",{"content-visibility":"auto"}],...S("content-visibility")],er=[[/^content-(.+)$/,([,t])=>({content:f.bracket.cssvar(t)})],["content-empty",{content:'""'}],["content-none",{content:"none"}]],rr=[["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"}]],nr=[["text-wrap",{"text-wrap":"wrap"}],["text-nowrap",{"text-wrap":"nowrap"}],["text-balance",{"text-wrap":"balance"}],["text-pretty",{"text-wrap":"pretty"}]],or=[["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"}]],ir=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}],...S("case","text-transform")],ar=[["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"}]],sr=[["antialiased",{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"}],["subpixel-antialiased",{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"}]],cr=[["field-sizing-fixed",{"field-sizing":"fixed"}],["field-sizing-content",{"field-sizing":"content"}]],Lt={"--un-ring-inset":A,"--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)"},ws=Object.keys(Lt),lr=[[/^ring(?:-(.+))?$/,([,t],{theme:e})=>{let r=e.ringWidth?.[t||"DEFAULT"]??f.px(t||"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:ws},autocomplete:"ring-$ringWidth"}],[/^ring-(?:width-|size-)(.+)$/,Po,{autocomplete:"ring-(width|size)-$lineWidth"}],["ring-offset",{"--un-ring-offset-width":"1px"}],[/^ring-offset-(?:width-|size-)?(.+)$/,([,t],{theme:e})=>({"--un-ring-offset-width":e.lineWidth?.[t]??f.bracket.cssvar.px(t)}),{autocomplete:"ring-offset-(width|size)-$lineWidth"}],[/^ring-(.+)$/,ks,{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,t])=>({"--un-ring-opacity":f.bracket.percent.cssvar(t)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^ring-offset-(.+)$/,B("--un-ring-offset-color","ring-offset","borderColor"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,t])=>({"--un-ring-offset-opacity":f.bracket.percent.cssvar(t)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]];function Po([,t],{theme:e}){return{"--un-ring-width":e.ringWidth?.[t]??f.bracket.cssvar.px(t)}}function ks(t,e){return ot(f.bracket(t[1]))?Po(t,e):B("--un-ring-color","ring","borderColor")(t,e)}var Ft={"--un-ring-offset-shadow":"0 0 rgb(0 0 0 / 0)","--un-ring-shadow":"0 0 rgb(0 0 0 / 0)","--un-shadow-inset":A,"--un-shadow":"0 0 rgb(0 0 0 / 0)"},Ss=Object.keys(Ft),fr=[[/^shadow(?:-(.+))?$/,(t,e)=>{let[,r]=t,{theme:n}=e,o=n.boxShadow?.[r||"DEFAULT"],i=r?f.bracket.cssvar(r):void 0;return(o!=null||i!=null)&&!gt(i,n,"shadowColor")?{"--un-shadow":ht(o||i,"--un-shadow-color").join(","),"box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"}:B("--un-shadow-color","shadow","shadowColor")(t,e)},{custom:{preflightKeys:Ss},autocomplete:["shadow-$colors","shadow-$boxShadow"]}],[/^shadow-op(?:acity)?-?(.+)$/,([,t])=>({"--un-shadow-opacity":f.bracket.percent.cssvar(t)}),{autocomplete:"shadow-(op|opacity)-<percent>"}],["shadow-inset",{"--un-shadow-inset":"inset"}]],Cs={h:"height",w:"width",inline:"inline-size",block:"block-size"};function zt(t,e){return`${t||""}${Cs[e]}`}function $e(t,e,r,n){let o=r[zt(t,e).replace(/-(\w)/g,(i,a)=>a.toUpperCase())]?.[n];if(o!=null)return o;switch(n){case"fit":case"max":case"min":return`${n}-content`;case"stretch":return"stretch"}return f.bracket.cssvar.global.auto.fraction.rem(n)}var ur=[[/^size-(min-|max-)?(.+)$/,([,t,e],{theme:r})=>({[zt(t,"w")]:$e(t,"w",r,e),[zt(t,"h")]:$e(t,"h",r,e)})],[/^(?:size-)?(min-|max-)?([wh])-?(.+)$/,([,t,e,r],{theme:n})=>({[zt(t,e)]:$e(t,e,n,r)})],[/^(?:size-)?(min-|max-)?(block|inline)-(.+)$/,([,t,e,r],{theme:n})=>({[zt(t,e)]:$e(t,e,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-(.+)$/,([,t,e,r],n)=>({[zt(t,e)]:Eo(n,r,"verticalBreakpoints")})],[/^(?:size-)?(min-|max-)?(w)-screen-(.+)$/,([,t,e,r],n)=>({[zt(t,e)]:Eo(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 Eo(t,e,r="breakpoints"){let n=Q(t,r);if(n)return n.find(o=>o.point===e)?.size}function Es(t){if(/^\d+\/\d+$/.test(t))return t;switch(t){case"square":return"1/1";case"video":return"16/9"}return f.bracket.cssvar.global.auto.number(t)}var dr=[[/^(?:size-)?aspect-(?:ratio-)?(.+)$/,([,t])=>({"aspect-ratio":Es(t)}),{autocomplete:["aspect-(square|video|ratio)","aspect-ratio-(square|video)"]}]],pr=[[/^pa?()-?(.+)$/,O("padding"),{autocomplete:["(m|p)<num>","(m|p)-<num>"]}],[/^p-?xy()()$/,O("padding"),{autocomplete:"(m|p)-(xy)"}],[/^p-?([xy])(?:-?(.+))?$/,O("padding")],[/^p-?([rltbse])(?:-?(.+))?$/,O("padding"),{autocomplete:"(m|p)<directions>-<num>"}],[/^p-(block|inline)(?:-(.+))?$/,O("padding"),{autocomplete:"(m|p)-(block|inline)-<num>"}],[/^p-?([bi][se])(?:-?(.+))?$/,O("padding"),{autocomplete:"(m|p)-(bs|be|is|ie)-<num>"}]],mr=[[/^ma?()-?(.+)$/,O("margin")],[/^m-?xy()()$/,O("margin")],[/^m-?([xy])(?:-?(.+))?$/,O("margin")],[/^m-?([rltbse])(?:-?(.+))?$/,O("margin")],[/^m-(block|inline)(?:-(.+))?$/,O("margin")],[/^m-?([bi][se])(?:-?(.+))?$/,O("margin")]],hr=[[/^fill-(.+)$/,B("fill","fill","backgroundColor"),{autocomplete:"fill-$colors"}],[/^fill-op(?:acity)?-?(.+)$/,([,t])=>({"--un-fill-opacity":f.bracket.percent.cssvar(t)}),{autocomplete:"fill-(op|opacity)-<percent>"}],["fill-none",{fill:"none"}],[/^stroke-(?:width-|size-)?(.+)$/,Lo,{autocomplete:["stroke-width-$lineWidth","stroke-size-$lineWidth"]}],[/^stroke-dash-(.+)$/,([,t])=>({"stroke-dasharray":f.bracket.cssvar.number(t)}),{autocomplete:"stroke-dash-<num>"}],[/^stroke-offset-(.+)$/,([,t],{theme:e})=>({"stroke-dashoffset":e.lineWidth?.[t]??f.bracket.cssvar.px.numberWithUnit(t)}),{autocomplete:"stroke-offset-$lineWidth"}],[/^stroke-(.+)$/,zs,{autocomplete:"stroke-$colors"}],[/^stroke-op(?:acity)?-?(.+)$/,([,t])=>({"--un-stroke-opacity":f.bracket.percent.cssvar(t)}),{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 Lo([,t],{theme:e}){return{"stroke-width":e.lineWidth?.[t]??f.bracket.cssvar.fraction.px.number(t)}}function zs(t,e){return ot(f.bracket(t[1]))?Lo(t,e):B("stroke","stroke","borderColor")(t,e)}var we=["translate","rotate","scale"],js=["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(" "),jt=["perspective(var(--un-perspective))","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(" "),_s=["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(" "),Bt={"--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},at=Object.keys(Bt),gr=[[/^(?:transform-)?origin-(.+)$/,([,t])=>({"transform-origin":N[t]??f.bracket.cssvar(t)}),{autocomplete:[`transform-origin-(${Object.keys(N).join("|")})`,`origin-(${Object.keys(N).join("|")})`]}],[/^(transform-)?perspect(?:ive)?-(.+)$/,([,t,e])=>{let r=f.bracket.cssvar.px.numberWithUnit(e);if(r!=null)return t?{"--un-perspective":`perspective(${r})`,transform:jt}:{"-webkit-perspective":r,perspective:r}}],[/^perspect(?:ive)?-origin-(.+)$/,([,t])=>{let e=f.bracket.cssvar(t)??(t.length>=3?N[t]:void 0);if(e!=null)return{"-webkit-perspective-origin":e,"perspective-origin":e}}],[/^(?:transform-)?translate-()(.+)$/,zo,{custom:{preflightKeys:at}}],[/^(?:transform-)?translate-([xyz])-(.+)$/,zo,{custom:{preflightKeys:at}}],[/^(?:transform-)?rotate-()(.+)$/,_o,{custom:{preflightKeys:at}}],[/^(?:transform-)?rotate-([xyz])-(.+)$/,_o,{custom:{preflightKeys:at}}],[/^(?:transform-)?skew-()(.+)$/,Ao,{custom:{preflightKeys:at}}],[/^(?:transform-)?skew-([xy])-(.+)$/,Ao,{custom:{preflightKeys:at},autocomplete:["transform-skew-(x|y)-<percent>","skew-(x|y)-<percent>"]}],[/^(?:transform-)?scale-()(.+)$/,jo,{custom:{preflightKeys:at}}],[/^(?:transform-)?scale-([xyz])-(.+)$/,jo,{custom:{preflightKeys:at},autocomplete:[`transform-(${we.join("|")})-<percent>`,`transform-(${we.join("|")})-(x|y|z)-<percent>`,`(${we.join("|")})-<percent>`,`(${we.join("|")})-(x|y|z)-<percent>`]}],[/^(?:transform-)?preserve-3d$/,()=>({"transform-style":"preserve-3d"})],[/^(?:transform-)?preserve-flat$/,()=>({"transform-style":"flat"})],["transform",{transform:jt},{custom:{preflightKeys:at}}],["transform-cpu",{transform:js},{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:_s},{custom:{preflightKeys:at}}],["transform-none",{transform:"none"}],...S("transform")];function zo([,t,e],{theme:r}){let n=r.spacing?.[e]??f.bracket.cssvar.fraction.rem(e);if(n!=null)return[...Et(t,n,"translate"),["transform",jt]]}function jo([,t,e]){let r=f.bracket.cssvar.fraction.percent(e);if(r!=null)return[...Et(t,r,"scale"),["transform",jt]]}function _o([,t="",e]){let r=f.bracket.cssvar.degree(e);if(r!=null)return t?{"--un-rotate":0,[`--un-rotate-${t}`]:r,transform:jt}:{"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-rotate":r,transform:jt}}function Ao([,t,e]){let r=f.bracket.cssvar.degree(e);if(r!=null)return[...Et(t,r,"skew"),["transform",jt]]}function Ro(t,e){let r;if(f.cssvar(t)!=null)r=f.cssvar(t);else{t.startsWith("[")&&t.endsWith("]")&&(t=t.slice(1,-1));let n=t.split(",").map(o=>e.transitionProperty?.[o]??f.properties(o));n.every(Boolean)&&(r=n.join(","))}return r}var br=[[/^transition(?:-(\D+?))?(?:-(\d+))?$/,([,t,e],{theme:r})=>{if(!t&&!e)return{"transition-property":r.transitionProperty?.DEFAULT,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":r.duration?.DEFAULT??f.time("150")};if(t!=null){let n=Ro(t,r),o=r.duration?.[e||"DEFAULT"]??f.time(e||"150");if(n)return{"transition-property":n,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":o}}else if(e!=null)return{"transition-property":r.transitionProperty?.DEFAULT,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":r.duration?.[e]??f.time(e)}},{autocomplete:"transition-$transitionProperty-$duration"}],[/^(?:transition-)?duration-(.+)$/,([,t],{theme:e})=>({"transition-duration":e.duration?.[t||"DEFAULT"]??f.bracket.cssvar.time(t)}),{autocomplete:["transition-duration-$duration","duration-$duration"]}],[/^(?:transition-)?delay-(.+)$/,([,t],{theme:e})=>({"transition-delay":e.duration?.[t||"DEFAULT"]??f.bracket.cssvar.time(t)}),{autocomplete:["transition-delay-$duration","delay-$duration"]}],[/^(?:transition-)?ease(?:-(.+))?$/,([,t],{theme:e})=>({"transition-timing-function":e.easing?.[t||"DEFAULT"]??f.bracket.cssvar(t)}),{autocomplete:["transition-ease-(linear|in|out|in-out|DEFAULT)","ease-(linear|in|out|in-out|DEFAULT)"]}],[/^(?:transition-)?property-(.+)$/,([,t],{theme:e})=>{let r=f.global(t)||Ro(t,e);if(r)return{"transition-property":r}},{autocomplete:[`transition-property-(${[...M].join("|")})`,"transition-property-$transitionProperty","property-$transitionProperty"]}],["transition-none",{transition:"none"}],...S("transition"),["transition-discrete",{"transition-behavior":"allow-discrete"}],["transition-normal",{"transition-behavior":"normal"}]],yr=[[/^text-(.+)$/,Rs,{autocomplete:"text-$fontSize"}],[/^(?:text|font)-size-(.+)$/,Fo,{autocomplete:"text-size-$fontSize"}],[/^text-(?:color-)?(.+)$/,As,{autocomplete:"text-$colors"}],[/^(?:color|c)-(.+)$/,B("color","text","textColor"),{autocomplete:"(color|c)-$colors"}],[/^(?:text|color|c)-(.+)$/,([,t])=>M.includes(t)?{color:t}:void 0,{autocomplete:`(text|color|c)-(${M.join("|")})`}],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,t])=>({"--un-text-opacity":f.bracket.percent.cssvar(t)}),{autocomplete:"(text|color|c)-(op|opacity)-<percent>"}],[/^(?:font|fw)-?([^-]+)$/,([,t],{theme:e})=>({"font-weight":e.fontWeight?.[t]||f.bracket.global.number(t)}),{autocomplete:["(font|fw)-(100|200|300|400|500|600|700|800|900)","(font|fw)-$fontWeight"]}],[/^(?:font-)?(?:leading|lh|line-height)-(.+)$/,([,t],{theme:e})=>({"line-height":sn(t,e,"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-(.+)$/,([,t])=>({"font-synthesis":f.bracket.cssvar.global(t)})],[/^(?:font-)?tracking-(.+)$/,([,t],{theme:e})=>({"letter-spacing":e.letterSpacing?.[t]||f.bracket.cssvar.global.rem(t)}),{autocomplete:"tracking-$letterSpacing"}],[/^(?:font-)?word-spacing-(.+)$/,([,t],{theme:e})=>({"word-spacing":e.wordSpacing?.[t]||f.bracket.cssvar.global.rem(t)}),{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-(.+)$/,([,t])=>({"font-stretch":f.bracket.cssvar.fraction.global(t)}),{autocomplete:"font-stretch-<percentage>"}],[/^font-(.+)$/,([,t],{theme:e})=>({"font-family":e.fontFamily?.[t]||f.bracket.cssvar.global(t)}),{autocomplete:"font-$fontFamily"}]],xr=[[/^tab(?:-(.+))?$/,([,t])=>{let e=f.bracket.cssvar.global.number(t||"4");if(e!=null)return{"-moz-tab-size":e,"-o-tab-size":e,"tab-size":e}}]],vr=[[/^indent(?:-(.+))?$/,([,t],{theme:e})=>({"text-indent":e.textIndent?.[t||"DEFAULT"]||f.bracket.cssvar.global.fraction.rem(t)}),{autocomplete:"indent-$textIndent"}]],$r=[[/^text-stroke(?:-(.+))?$/,([,t],{theme:e})=>({"-webkit-text-stroke-width":e.textStrokeWidth?.[t||"DEFAULT"]||f.bracket.cssvar.px(t)}),{autocomplete:"text-stroke-$textStrokeWidth"}],[/^text-stroke-(.+)$/,B("-webkit-text-stroke-color","text-stroke","borderColor"),{autocomplete:"text-stroke-$colors"}],[/^text-stroke-op(?:acity)?-?(.+)$/,([,t])=>({"--un-text-stroke-opacity":f.bracket.percent.cssvar(t)}),{autocomplete:"text-stroke-(op|opacity)-<percent>"}]],wr=[[/^text-shadow(?:-(.+))?$/,([,t],{theme:e})=>{let r=e.textShadow?.[t||"DEFAULT"];return r!=null?{"--un-text-shadow":ht(r,"--un-text-shadow-color").join(","),"text-shadow":"var(--un-text-shadow)"}:{"text-shadow":f.bracket.cssvar.global(t)}},{autocomplete:"text-shadow-$textShadow"}],[/^text-shadow-color-(.+)$/,B("--un-text-shadow-color","text-shadow","shadowColor"),{autocomplete:"text-shadow-color-$colors"}],[/^text-shadow-color-op(?:acity)?-?(.+)$/,([,t])=>({"--un-text-shadow-opacity":f.bracket.percent.cssvar(t)}),{autocomplete:"text-shadow-color-(op|opacity)-<percent>"}]];function sn(t,e,r){return e[r]?.[t]||f.bracket.cssvar.global.rem(t)}function Fo([,t],{theme:e}){let r=j(e.fontSize?.[t])?.[0]??f.bracket.cssvar.global.rem(t);if(r!=null)return{"font-size":r}}function As(t,e){return ot(f.bracket(t[1]))?Fo(t,e):B("color","text","textColor")(t,e)}function Rs([,t="base"],{theme:e}){let r=Ot(t,"length");if(!r)return;let[n,o]=r,i=j(e.fontSize?.[n]),a=o?sn(o,e,"lineHeight"):void 0;if(i?.[0]){let[c,l,u]=i;return typeof l=="object"?{"font-size":c,...l}:{"font-size":c,"line-height":a??l??"1","letter-spacing":u?sn(u,e,"letterSpacing"):void 0}}let s=f.bracketOfLength.rem(n);return a&&s?{"font-size":s,"line-height":a}:{"font-size":f.bracketOfLength.rem(t)}}var Ms={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"},kr=[[/^(.+?)-(\$.+)$/,([,t,e])=>{let r=Ms[t];if(r)return{[r]:f.cssvar(e)}}]],Sr=[[/^\[(.*)\]$/,([t,e])=>{if(!e.includes(":"))return;let[r,...n]=e.split(":"),o=n.join(":");if(!Ps(e)&&/^[\w-]+$/.test(r)&&Os(o)){let i=f.bracket(`[${o}]`);if(i)return{[r]:i}}}]];function Os(t){let e=0;function r(n){for(;e<t.length;)if(e+=1,t[e]===n)return!0;return!1}for(e=0;e<t.length;e++){let n=t[e];if("\"`'".includes(n)){if(!r(n))return!1}else if(n==="("){if(!r(")"))return!1}else if("[]{}:".includes(n))return!1}return!0}function Ps(t){if(!t.includes("://"))return!1;try{return new URL(t).host!==""}catch{return!1}}var cn=[kr,Sr,Xe,Ke,He,Te,Ie,De,We,Fe,Ue,mr,Ve,qe,dr,ur,Pe,gr,Ye,Je,Ze,Ee,Zt,Kt,Xt,Le,Ne,Be,or,Qe,rr,je,Ae,Re,hr,pr,Se,vr,nr,ke,yr,ir,ar,Oe,sr,xr,$r,wr,_e,fr,Ce,lr,br,ze,tr,er,Me,cr,Ge].flat(1);var Fs=[[/^(?:animate-)?keyframes-(.+)$/,([,t],{theme:e})=>{let r=e.animation?.keyframes?.[t];if(r)return[`@keyframes ${t}${r}`,{animation:t}]},{autocomplete:["animate-keyframes-$animation.keyframes","keyframes-$animation.keyframes"]}],[/^animate-(.+)$/,([,t],{theme:e})=>{let r=e.animation?.keyframes?.[t];if(r){let n=e.animation?.durations?.[t]??"1s",o=e.animation?.timingFns?.[t]??"linear",i=e.animation?.counts?.[t]??1,a=e.animation?.properties?.[t];return[`@keyframes ${t}${r}`,{animation:`${t} ${n} ${o} ${i}`,...a}]}return{animation:f.bracket.cssvar(t)}},{autocomplete:"animate-$animation.keyframes"}],[/^animate-name-(.+)/,([,t])=>({"animation-name":f.bracket.cssvar(t)??t})],[/^animate-duration-(.+)$/,([,t],{theme:e})=>({"animation-duration":e.duration?.[t||"DEFAULT"]??f.bracket.cssvar.time(t)}),{autocomplete:["animate-duration","animate-duration-$duration"]}],[/^animate-delay-(.+)$/,([,t],{theme:e})=>({"animation-delay":e.duration?.[t||"DEFAULT"]??f.bracket.cssvar.time(t)}),{autocomplete:["animate-delay","animate-delay-$duration"]}],[/^animate-ease(?:-(.+))?$/,([,t],{theme:e})=>({"animation-timing-function":e.easing?.[t||"DEFAULT"]??f.bracket.cssvar(t)}),{autocomplete:["animate-ease","animate-ease-$easing"]}],[/^animate-(fill-mode-|fill-|mode-)?(.+)$/,([,t,e])=>["none","forwards","backwards","both",t?M:[]].includes(e)?{"animation-fill-mode":e}: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-)?(.+)$/,([,t,e])=>["normal","reverse","alternate","alternate-reverse",t?M:[]].includes(e)?{"animation-direction":e}: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-)(.+)$/,([,t])=>({"animation-iteration-count":f.bracket.cssvar(t)??t.replace(/-/g,",")}),{autocomplete:["animate-(iteration|count|iteration-count)","animate-(iteration|count|iteration-count)-<num>"]}],[/^animate-(play-state-|play-|state-)?(.+)$/,([,t,e])=>["paused","running",t?M:[]].includes(e)?{"animation-play-state":e}: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"}],...S("animate","animation")];function Bo(t){return t?W(t,0):"rgb(255 255 255 / 0)"}function Bs(t,e,r,n){return e?n!=null?W(e,n):W(e,`var(--un-${t}-opacity, ${mt(e)})`):W(r,n)}function ln(){return([,t,e],{theme:r})=>{let n=nt(e,r,"backgroundColor");if(!n)return;let{alpha:o,color:i,cssColor:a}=n;if(!i)return;let s=Bs(t,a,i,o);switch(t){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":`${Bo(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":Bo(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 Ts(){return([,t,e])=>({[`--un-gradient-${t}-position`]:`${Number(f.bracket.cssvar.percent(e))*100}%`})}var Ws=[[/^bg-gradient-(.+)$/,([,t])=>({"--un-gradient":f.bracket(t)}),{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-(\[.+\])$/,([,t])=>({"--un-gradient-stops":f.bracket(t)})],[/^(?:bg-gradient-)?(from)-(.+)$/,ln()],[/^(?:bg-gradient-)?(via)-(.+)$/,ln()],[/^(?:bg-gradient-)?(to)-(.+)$/,ln()],[/^(?:bg-gradient-)?(from|via|to)-op(?:acity)?-?(.+)$/,([,t,e])=>({[`--un-${t}-opacity`]:f.bracket.percent(e)})],[/^(from|via|to)-([\d.]+)%$/,Ts()],[/^bg-gradient-((?:repeating-)?(?:linear|radial|conic))$/,([,t])=>({"background-image":`${t}-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})$/,([,t])=>{if(t in N)return{"--un-gradient-shape":`to ${N[t]} 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(N).filter(t=>t.length<=2&&Array.from(t).every(e=>"rltb".includes(e))).join("|")})`}],[/^(?:bg-gradient-)?shape-(.+)$/,([,t])=>{let e=t in N?`to ${N[t]}`:f.bracket(t);if(e!=null)return{"--un-gradient-shape":`${e} in oklch`,"--un-gradient":"var(--un-gradient-shape), var(--un-gradient-stops)"}},{autocomplete:["bg-gradient-shape",`bg-gradient-shape-(${Object.keys(N).join("|")})`,`shape-(${Object.keys(N).join("|")})`]}],["bg-none",{"background-image":"none"}],["box-decoration-slice",{"box-decoration-break":"slice"}],["box-decoration-clone",{"box-decoration-break":"clone"}],...S("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"}],...M.map(t=>[`bg-clip-${t}`,{"-webkit-background-clip":t,"background-clip":t}]),[/^bg-([-\w]{3,})$/,([,t])=>({"background-position":N[t]})],["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"}],...S("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"}],...S("bg-origin","background-origin")],fn={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"},Ns=[[/^list-(.+?)(?:-(outside|inside))?$/,([,t,e])=>{let r=fn[t];if(r)return e?{"list-style-position":e,"list-style-type":r}:{"list-style-type":r}},{autocomplete:[`list-(${Object.keys(fn).join("|")})`,`list-(${Object.keys(fn).join("|")})-(outside|inside)`]}],["list-outside",{"list-style-position":"outside"}],["list-inside",{"list-style-position":"inside"}],["list-none",{"list-style-type":"none"}],[/^list-image-(.+)$/,([,t])=>{if(/^\[url\(.+\)\]$/.test(t))return{"list-style-image":f.bracket(t)}}],["list-image-none",{"list-style-image":"none"}],...S("list","list-style-type")],Is=[[/^accent-(.+)$/,B("accent-color","accent","accentColor"),{autocomplete:"accent-$colors"}],[/^accent-op(?:acity)?-?(.+)$/,([,t])=>({"--un-accent-opacity":f.bracket.percent(t)}),{autocomplete:["accent-(op|opacity)","accent-(op|opacity)-<percent>"]}]],Us=[[/^caret-(.+)$/,B("caret-color","caret","textColor"),{autocomplete:"caret-$colors"}],[/^caret-op(?:acity)?-?(.+)$/,([,t])=>({"--un-caret-opacity":f.bracket.percent(t)}),{autocomplete:["caret-(op|opacity)","caret-(op|opacity)-<percent>"]}]],Ds=[["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"]]]],Vs=[["overscroll-auto",{"overscroll-behavior":"auto"}],["overscroll-contain",{"overscroll-behavior":"contain"}],["overscroll-none",{"overscroll-behavior":"none"}],...S("overscroll","overscroll-behavior"),["overscroll-x-auto",{"overscroll-behavior-x":"auto"}],["overscroll-x-contain",{"overscroll-behavior-x":"contain"}],["overscroll-x-none",{"overscroll-behavior-x":"none"}],...S("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"}],...S("overscroll-y","overscroll-behavior-y")],Gs=[["scroll-auto",{"scroll-behavior":"auto"}],["scroll-smooth",{"scroll-behavior":"smooth"}],...S("scroll","scroll-behavior")],qs=[[/^columns-(.+)$/,([,t],{theme:e})=>e.containers&&t in e.containers?{columns:e.containers[t]}:{columns:f.bracket.numberWithUnit.number.cssvar(t)},{autocomplete:["columns-<num>","columns-$containers"]}],["columns-auto",{columns:"auto"}],["break-before-auto",{"break-before":"auto"}],["break-before-avoid",{"break-before":"avoid"}],["break-before-all",{"break-before":"all"}],["break-before-avoid-page",{"break-before":"avoid-page"}],["break-before-page",{"break-before":"page"}],["break-before-left",{"break-before":"left"}],["break-before-right",{"break-before":"right"}],["break-before-column",{"break-before":"column"}],...S("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"}],...S("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"}],...S("break-after")],Hs=[[/^divide-?([xy])$/,Cr,{autocomplete:["divide-(x|y|block|inline)","divide-(x|y|block|inline)-reverse","divide-(x|y|block|inline)-$lineWidth"]}],[/^divide-?([xy])-?(.+)$/,Cr],[/^divide-?([xy])-reverse$/,([,t])=>({[`--un-divide-${t}-reverse`]:1})],[/^divide-(block|inline)$/,Cr],[/^divide-(block|inline)-(.+)$/,Cr],[/^divide-(block|inline)-reverse$/,([,t])=>({[`--un-divide-${t}-reverse`]:1})],[/^divide-(.+)$/,B("border-color","divide","borderColor"),{autocomplete:"divide-$colors"}],[/^divide-op(?:acity)?-?(.+)$/,([,t])=>({"--un-divide-opacity":f.bracket.percent(t)}),{autocomplete:["divide-(op|opacity)","divide-(op|opacity)-<percent>"]}],...bt.map(t=>[`divide-${t}`,{"border-style":t}])];function Cr([,t,e],{theme:r}){let n=r.lineWidth?.[e||"DEFAULT"]??f.bracket.cssvar.px(e||"1");if(n!=null){n==="0"&&(n="0px");let o=U[t].map(i=>[`border${i}-width`,i.endsWith("right")||i.endsWith("bottom")?`calc(${n} * var(--un-divide-${t}-reverse))`:`calc(${n} * calc(1 - var(--un-divide-${t}-reverse)))`]);if(o)return[[`--un-divide-${t}-reverse`,0],...o]}}var mn={"--un-blur":A,"--un-brightness":A,"--un-contrast":A,"--un-drop-shadow":A,"--un-grayscale":A,"--un-hue-rotate":A,"--un-invert":A,"--un-saturate":A,"--un-sepia":A},Do=Object.keys(mn),To={preflightKeys:Do},Er="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)",hn={"--un-backdrop-blur":A,"--un-backdrop-brightness":A,"--un-backdrop-contrast":A,"--un-backdrop-grayscale":A,"--un-backdrop-hue-rotate":A,"--un-backdrop-invert":A,"--un-backdrop-opacity":A,"--un-backdrop-saturate":A,"--un-backdrop-sepia":A},Vo=Object.keys(hn),Ys={preflightKeys:Vo},zr="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)",ft={preflightKeys:[...Do,...Vo]};function un(t){let e=f.bracket.cssvar(t||"");if(e!=null||(e=t?f.percent(t):"1",e!=null&&Number.parseFloat(e)<=1))return e}function ut(t,e){return([,r,n],{theme:o})=>{let i=e(n,o)??(n==="none"?"0":"");if(i!=="")return r?{[`--un-${r}${t}`]:`${t}(${i})`,"-webkit-backdrop-filter":zr,"backdrop-filter":zr}:{[`--un-${t}`]:`${t}(${i})`,filter:Er}}}function Xs([,t],{theme:e}){let r=e.dropShadow?.[t||"DEFAULT"];if(r!=null)return{"--un-drop-shadow":`drop-shadow(${ht(r,"--un-drop-shadow-color").join(") drop-shadow(")})`,filter:Er};if(r=f.bracket.cssvar(t),r!=null)return{"--un-drop-shadow":`drop-shadow(${r})`,filter:Er}}var Ks=[[/^(?:(backdrop-)|filter-)?blur(?:-(.+))?$/,ut("blur",(t,e)=>e.blur?.[t||"DEFAULT"]||f.bracket.cssvar.px(t)),{custom:ft,autocomplete:["(backdrop|filter)-blur-$blur","blur-$blur","filter-blur"]}],[/^(?:(backdrop-)|filter-)?brightness-(.+)$/,ut("brightness",t=>f.bracket.cssvar.percent(t)),{custom:ft,autocomplete:["(backdrop|filter)-brightness-<percent>","brightness-<percent>"]}],[/^(?:(backdrop-)|filter-)?contrast-(.+)$/,ut("contrast",t=>f.bracket.cssvar.percent(t)),{custom:ft,autocomplete:["(backdrop|filter)-contrast-<percent>","contrast-<percent>"]}],[/^(?:filter-)?drop-shadow(?:-(.+))?$/,Xs,{custom:To,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-(.+)$/,B("--un-drop-shadow-color","drop-shadow","shadowColor")],[/^(?:filter-)?drop-shadow-color-op(?:acity)?-?(.+)$/,([,t])=>({"--un-drop-shadow-opacity":f.bracket.percent(t)})],[/^(?:(backdrop-)|filter-)?grayscale(?:-(.+))?$/,ut("grayscale",un),{custom:ft,autocomplete:["(backdrop|filter)-grayscale","(backdrop|filter)-grayscale-<percent>","grayscale-<percent>"]}],[/^(?:(backdrop-)|filter-)?hue-rotate-(.+)$/,ut("hue-rotate",t=>f.bracket.cssvar.degree(t)),{custom:ft}],[/^(?:(backdrop-)|filter-)?invert(?:-(.+))?$/,ut("invert",un),{custom:ft,autocomplete:["(backdrop|filter)-invert","(backdrop|filter)-invert-<percent>","invert-<percent>"]}],[/^(backdrop-)op(?:acity)?-(.+)$/,ut("opacity",t=>f.bracket.cssvar.percent(t)),{custom:ft,autocomplete:["backdrop-(op|opacity)","backdrop-(op|opacity)-<percent>"]}],[/^(?:(backdrop-)|filter-)?saturate-(.+)$/,ut("saturate",t=>f.bracket.cssvar.percent(t)),{custom:ft,autocomplete:["(backdrop|filter)-saturate","(backdrop|filter)-saturate-<percent>","saturate-<percent>"]}],[/^(?:(backdrop-)|filter-)?sepia(?:-(.+))?$/,ut("sepia",un),{custom:ft,autocomplete:["(backdrop|filter)-sepia","(backdrop|filter)-sepia-<percent>","sepia-<percent>"]}],["filter",{filter:Er},{custom:To}],["backdrop-filter",{"-webkit-backdrop-filter":zr,"backdrop-filter":zr},{custom:Ys}],["filter-none",{filter:"none"}],["backdrop-filter-none",{"-webkit-backdrop-filter":"none","backdrop-filter":"none"}],...M.map(t=>[`filter-${t}`,{filter:t}]),...M.map(t=>[`backdrop-filter-${t}`,{"-webkit-backdrop-filter":t,"backdrop-filter":t}])],Zs=[[/^line-clamp-(\d+)$/,([,t])=>({overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":t,"line-clamp":t}),{autocomplete:["line-clamp","line-clamp-<num>"]}],...["none",...M].map(t=>[`line-clamp-${t}`,{overflow:"visible",display:"block","-webkit-box-orient":"horizontal","-webkit-line-clamp":t,"line-clamp":t}])],Js=[[/^\$ placeholder-(.+)$/,B("color","placeholder","accentColor"),{autocomplete:"placeholder-$colors"}],[/^\$ placeholder-op(?:acity)?-?(.+)$/,([,t])=>({"--un-placeholder-opacity":f.bracket.percent(t)}),{autocomplete:["placeholder-(op|opacity)","placeholder-(op|opacity)-<percent>"]}]],gn={"--un-scroll-snap-strictness":"proximity"},Wo={preflightKeys:Object.keys(gn)},Qs=[[/^snap-(x|y)$/,([,t])=>({"scroll-snap-type":`${t} var(--un-scroll-snap-strictness)`}),{custom:Wo,autocomplete:"snap-(x|y|both)"}],[/^snap-both$/,()=>({"scroll-snap-type":"both var(--un-scroll-snap-strictness)"}),{custom:Wo}],["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?()-?(.+)$/,O("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])-?(.+)$/,O("scroll-margin")],[/^scroll-m-?([rltb])-?(.+)$/,O("scroll-margin")],[/^scroll-m-(block|inline)-(.+)$/,O("scroll-margin")],[/^scroll-m-?([bi][se])-?(.+)$/,O("scroll-margin")],[/^scroll-pa?()-?(.+)$/,O("scroll-padding")],[/^scroll-p-?([xy])-?(.+)$/,O("scroll-padding")],[/^scroll-p-?([rltb])-?(.+)$/,O("scroll-padding")],[/^scroll-p-(block|inline)-(.+)$/,O("scroll-padding")],[/^scroll-p-?([bi][se])-?(.+)$/,O("scroll-padding")]],tc=[[/^space-([xy])-(.+)$/,No,{autocomplete:["space-(x|y|block|inline)","space-(x|y|block|inline)-reverse","space-(x|y|block|inline)-$spacing"]}],[/^space-([xy])-reverse$/,([,t])=>({[`--un-space-${t}-reverse`]:1})],[/^space-(block|inline)-(.+)$/,No],[/^space-(block|inline)-reverse$/,([,t])=>({[`--un-space-${t}-reverse`]:1})]];function No([,t,e],{theme:r}){let n=r.spacing?.[e||"DEFAULT"]??f.bracket.cssvar.auto.fraction.rem(e||"1");if(n!=null){n==="0"&&(n="0px");let o=U[t].map(i=>[`margin${i}`,i.endsWith("right")||i.endsWith("bottom")?`calc(${n} * var(--un-space-${t}-reverse))`:`calc(${n} * calc(1 - var(--un-space-${t}-reverse)))`]);if(o)return[[`--un-space-${t}-reverse`,0],...o]}}var ec=[["uppercase",{"text-transform":"uppercase"}],["lowercase",{"text-transform":"lowercase"}],["capitalize",{"text-transform":"capitalize"}],["normal-case",{"text-transform":"none"}]],rc=[...["manual","auto","none",...M].map(t=>[`hyphens-${t}`,{"-webkit-hyphens":t,"-ms-hyphens":t,hyphens:t}])],nc=[["write-vertical-right",{"writing-mode":"vertical-rl"}],["write-vertical-left",{"writing-mode":"vertical-lr"}],["write-normal",{"writing-mode":"horizontal-tb"}],...S("write","writing-mode")],oc=[["write-orient-mixed",{"text-orientation":"mixed"}],["write-orient-sideways",{"text-orientation":"sideways"}],["write-orient-upright",{"text-orientation":"upright"}],...S("write-orient","text-orientation")],ic=[["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"}]],ac=[["isolate",{isolation:"isolate"}],["isolate-auto",{isolation:"auto"}],["isolation-auto",{isolation:"auto"}]],sc=[["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-(.+)$/,([,t])=>{if(N[t])return{"object-position":N[t]};if(f.bracketOfPosition(t)!=null)return{"object-position":f.bracketOfPosition(t).split(" ").map(e=>f.position.fraction.auto.px.cssvar(e)??e).join(" ")}},{autocomplete:`object-(${Object.keys(N).join("|")})`}]],cc=[["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"}],...S("bg-blend","background-blend")],lc=[["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"}],...S("mix-blend")],fc=[["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"}]],bn={"--un-border-spacing-x":0,"--un-border-spacing-y":0},Io={preflightKeys:Object.keys(bn)},Uo="var(--un-border-spacing-x) var(--un-border-spacing-y)",uc=[["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-(.+)$/,([,t],{theme:e})=>{let r=e.spacing?.[t]??f.bracket.cssvar.global.auto.fraction.rem(t);if(r!=null)return{"--un-border-spacing-x":r,"--un-border-spacing-y":r,"border-spacing":Uo}},{custom:Io,autocomplete:["border-spacing","border-spacing-$spacing"]}],[/^border-spacing-([xy])-(.+)$/,([,t,e],{theme:r})=>{let n=r.spacing?.[e]??f.bracket.cssvar.global.auto.fraction.rem(e);if(n!=null)return{[`--un-border-spacing-${t}`]:n,"border-spacing":Uo}},{custom:Io,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"}]],yn={"--un-pan-x":A,"--un-pan-y":A,"--un-pinch-zoom":A},dn={preflightKeys:Object.keys(yn)},pn="var(--un-pan-x) var(--un-pan-y) var(--un-pinch-zoom)",dc=[[/^touch-pan-(x|left|right)$/,([,t])=>({"--un-pan-x":`pan-${t}`,"touch-action":pn}),{custom:dn,autocomplete:["touch-pan","touch-pan-(x|left|right|y|up|down)"]}],[/^touch-pan-(y|up|down)$/,([,t])=>({"--un-pan-y":`pan-${t}`,"touch-action":pn}),{custom:dn}],["touch-pinch-zoom",{"--un-pinch-zoom":"pinch-zoom","touch-action":pn},{custom:dn}],["touch-auto",{"touch-action":"auto"}],["touch-manipulation",{"touch-action":"manipulation"}],["touch-none",{"touch-action":"none"}],...S("touch","touch-action")],xn={"--un-ordinal":A,"--un-slashed-zero":A,"--un-numeric-figure":A,"--un-numeric-spacing":A,"--un-numeric-fraction":A},yt={preflightKeys:Object.keys(xn)};function xt(t){return{...t,"font-variant-numeric":"var(--un-ordinal) var(--un-slashed-zero) var(--un-numeric-figure) var(--un-numeric-spacing) var(--un-numeric-fraction)"}}var pc=[[/^ordinal$/,()=>xt({"--un-ordinal":"ordinal"}),{custom:yt,autocomplete:"ordinal"}],[/^slashed-zero$/,()=>xt({"--un-slashed-zero":"slashed-zero"}),{custom:yt,autocomplete:"slashed-zero"}],[/^lining-nums$/,()=>xt({"--un-numeric-figure":"lining-nums"}),{custom:yt,autocomplete:"lining-nums"}],[/^oldstyle-nums$/,()=>xt({"--un-numeric-figure":"oldstyle-nums"}),{custom:yt,autocomplete:"oldstyle-nums"}],[/^proportional-nums$/,()=>xt({"--un-numeric-spacing":"proportional-nums"}),{custom:yt,autocomplete:"proportional-nums"}],[/^tabular-nums$/,()=>xt({"--un-numeric-spacing":"tabular-nums"}),{custom:yt,autocomplete:"tabular-nums"}],[/^diagonal-fractions$/,()=>xt({"--un-numeric-fraction":"diagonal-fractions"}),{custom:yt,autocomplete:"diagonal-fractions"}],[/^stacked-fractions$/,()=>xt({"--un-numeric-fraction":"stacked-fractions"}),{custom:yt,autocomplete:"stacked-fractions"}],["normal-nums",{"font-variant-numeric":"normal"}]],mc={"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"},hc=[[/^(.+?)-(\$.+)$/,([,t,e])=>{let r=mc[t];if(r)return{[r]:f.cssvar(e)}}]],gc=[[/^view-transition-([\w-]+)$/,([,t])=>({"view-transition-name":t})]],Go=[kr,hc,Sr,$o,Xe,ic,Ke,He,Te,Ie,Zs,ac,De,We,Fe,Ue,mr,Ve,qe,dr,ur,Pe,uc,gr,Fs,Ye,dc,Je,Ze,Qs,Ns,Ee,qs,Zt,Kt,Xt,Le,Ne,tc,Hs,Be,Vs,Gs,or,Qe,rr,je,Ae,Ws,Re,hr,sc,pr,Se,vr,nr,ke,yr,ir,ec,ar,pc,Oe,sr,xr,$r,wr,rc,nc,oc,Us,Is,_e,cc,lc,fr,Ce,lr,Ds,Ks,br,ze,tr,er,Js,Me,gc,fc,cr,Ge].flat(1);var qo=[...rn];var jr={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(jr).forEach(t=>{typeof t!="string"&&t!==void 0&&(t.DEFAULT=t.DEFAULT||t[400],Object.keys(t).forEach(e=>{let r=+e/100;r===Math.round(r)&&(t[r]=t[e])}))});var Ho={DEFAULT:"8px",0:"0",sm:"4px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},Yo={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)"},Xo={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(",")},Ko={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"]},Zo={DEFAULT:"1.5rem",xs:"0.5rem",sm:"1rem",md:"1.5rem",lg:"2rem",xl:"2.5rem","2xl":"3rem","3xl":"4rem"},Jo={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},Qo={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)"]},ti={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},Sn={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},ei={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},ri=Sn,Cn={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},ni={...Cn},oi={DEFAULT:"1px",none:"0"},ii={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"},ai={DEFAULT:"150ms",none:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},si={DEFAULT:"0.25rem",none:"0",sm:"0.125rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},ci={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)"},li={DEFAULT:"3px",none:"0"},fi={auto:"auto"},ui={mouse:"(hover) and (pointer: fine)"},di={...Bt,...Ft,...Lt},st={xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",prose:"65ch"},pi={auto:"auto",...st,screen:"100vw"},vn={none:"none",...st,screen:"100vw"},mi={auto:"auto",...st,screen:"100vb"},hi={auto:"auto",...st,screen:"100vi"},gi={auto:"auto",...st,screen:"100vh"},$n={none:"none",...st,screen:"100vh"},wn={none:"none",...st,screen:"100vb"},kn={none:"none",...st,screen:"100vi"},bi={...st},bc={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)"},yc={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(",")}},Jt={width:pi,height:gi,maxWidth:vn,maxHeight:$n,minWidth:vn,minHeight:$n,inlineSize:hi,blockSize:mi,maxInlineSize:kn,maxBlockSize:wn,minInlineSize:kn,minBlockSize:wn,colors:jr,fontFamily:Xo,fontSize:Ko,fontWeight:ei,breakpoints:Cn,verticalBreakpoints:ni,borderRadius:si,lineHeight:ti,letterSpacing:Sn,wordSpacing:ri,boxShadow:ci,textIndent:Zo,textShadow:Qo,textStrokeWidth:Jo,blur:Ho,dropShadow:Yo,easing:bc,transitionProperty:yc,lineWidth:oi,spacing:ii,duration:ai,ringWidth:li,preflightBase:di,containers:bi,zIndex:fi,media:ui};var yi={...Jt,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:{...Bt,...yn,...gn,...xn,...bn,...Ft,...Lt,...mn,...hn}};var xc={name:"aria",match(t,e){let r=(0,R.variantGetParameter)("aria-",t,e.generator.config.separators);if(r){let[n,o]=r,i=f.bracket(n)??e.theme.aria?.[n]??"";if(i)return{matcher:o,selector:a=>`${a}[aria-${i}]`}}},multiPass:!0};function _r(t,e,r={}){return{name:`${t}-aria`,match(n,o){let i=(0,R.variantGetParameter)(`${t}-aria-`,n,o.generator.config.separators);if(i){let[a,s,c]=i,l=f.bracket(a)??o.theme.aria?.[a]??"";if(l){let u=!!r?.attributifyPseudo,d=r?.prefix??"";d=(Array.isArray(d)?d:[d]).filter(Boolean)[0]??"";let p=`${u?`[${d}${t}=""]`:`.${d}${t}`}`,h=Z(c?`/${c}`:"");return{matcher:s,handle:(m,x)=>{let w=new RegExp(`${K(p)}${K(h)}(?:\\[.+?\\])+`),k=m.prefix.match(w),y;if(k){let b=(k.index??0)+p.length+h.length;y=[m.prefix.slice(0,b),`[aria-${l}]`,m.prefix.slice(b)].join("")}else{let b=Math.max(m.prefix.indexOf(p),0);y=[m.prefix.slice(0,b),p,h,`[aria-${l}]`,e,m.prefix.slice(b)].join("")}return x({...m,prefix:y})}}}}},multiPass:!0}}function vc(){return{name:"has-aria",match(t,e){let r=(0,R.variantGetParameter)("has-aria-",t,e.generator.config.separators);if(r){let[n,o]=r,i=f.bracket(n)??e.theme.aria?.[n]??"";if(i)return{matcher:o,handle:(a,s)=>s({...a,pseudo:`${a.pseudo}:has([aria-${i}])`})}}},multiPass:!0}}function $c(t={}){return[_r("group"," ",t),_r("peer","~",t),_r("parent",">",t),_r("previous","+",t),vc()]}var xi=/(max|min)-\[([^\]]*)\]:/;function wc(){let t={};return{name:"breakpoints",match(e,r){if(xi.test(e)){let o=e.match(xi);return{matcher:e.replace(o[0],""),handle:(i,a)=>a({...i,parent:`${i.parent?`${i.parent} $$ `:""}@media (${o[1]}-width: ${o[2]})`})}}let n=(Q(r)??[]).map(({point:o,size:i},a)=>[o,i,a]);for(let[o,i,a]of n){t[o]||(t[o]=new RegExp(`^((?:([al]t-|[<~]|max-))?${o}(?:${r.generator.config.separators.join("|")}))`));let s=e.match(t[o]);if(!s)continue;let[,c]=s,l=e.slice(c.length);if(l==="container")continue;let u=c.startsWith("lt-")||c.startsWith("<")||c.startsWith("max-"),d=c.startsWith("at-")||c.startsWith("~"),p=3e3;return u?(p-=a+1,{matcher:l,handle:(h,m)=>m({...h,parent:`${h.parent?`${h.parent} $$ `:""}@media (max-width: ${(0,R.calcMaxWidthBySize)(i)})`,parentOrder:p})}):(p+=a+1,d&&a<n.length-1?{matcher:l,handle:(h,m)=>m({...h,parent:`${h.parent?`${h.parent} $$ `:""}@media (min-width: ${i}) and (max-width: ${(0,R.calcMaxWidthBySize)(n[a+1][1])})`,parentOrder:p})}:{matcher:l,handle:(h,m)=>m({...h,parent:`${h.parent?`${h.parent} $$ `:""}@media (min-width: ${i})`,parentOrder:p})})}},multiPass:!0,autocomplete:"(at-|lt-|max-|)$breakpoints:"}}var kc=[(0,R.variantMatcher)("*",t=>({selector:`${t.selector} > *`}),{order:-1})];function Qt(t,e){return{name:`combinator:${t}`,match(r,n){if(!r.startsWith(t))return;let o=n.generator.config.separators,i=(0,R.variantGetBracket)(`${t}-`,r,o);if(!i){for(let s of o)if(r.startsWith(`${t}${s}`)){i=["",r.slice(t.length+s.length)];break}if(!i)return}let a=f.bracket(i[0])??"";return a===""&&(a="*"),{matcher:i[1],selector:s=>`${s}${e}${a}`}},multiPass:!0}}var Sc=[Qt("all"," "),Qt("children",">"),Qt("next","+"),Qt("sibling","+"),Qt("siblings","~")],Cc={name:"@",match(t,e){if(t.startsWith("@container"))return;let r=(0,R.variantGetParameter)("@",t,e.generator.config.separators);if(r){let[n,o,i]=r,a=f.bracket(n),s;if(a?s=f.numberWithUnit(a):s=e.theme.containers?.[n]??"",s){let c=1e3+Object.keys(e.theme.containers??{}).indexOf(n);return i&&(c+=1e3),{matcher:o,handle:(l,u)=>u({...l,parent:`${l.parent?`${l.parent} $$ `:""}@container${i?` ${i} `:" "}(min-width: ${s})`,parentOrder:c})}}}},multiPass:!0};function Ec(t={}){if(t?.dark==="class"||typeof t.dark=="object"){let{dark:e=".dark",light:r=".light"}=typeof t.dark=="string"?{}:t.dark;return[(0,R.variantMatcher)("dark",j(e).map(n=>o=>({prefix:`${n} $$ ${o.prefix}`}))),(0,R.variantMatcher)("light",j(r).map(n=>o=>({prefix:`${n} $$ ${o.prefix}`})))]}return[(0,R.variantParentMatcher)("dark","@media (prefers-color-scheme: dark)"),(0,R.variantParentMatcher)("light","@media (prefers-color-scheme: light)")]}var zc={name:"data",match(t,e){let r=(0,R.variantGetParameter)("data-",t,e.generator.config.separators);if(r){let[n,o]=r,i=f.bracket(n)??e.theme.data?.[n]??"";if(i)return{matcher:o,selector:a=>`${a}[data-${i}]`}}},multiPass:!0};function Ar(t,e,r={}){return{name:`${t}-data`,match(n,o){let i=(0,R.variantGetParameter)(`${t}-data-`,n,o.generator.config.separators);if(i){let[a,s,c]=i,l=f.bracket(a)??o.theme.data?.[a]??"";if(l){let u=!!r?.attributifyPseudo,d=r?.prefix??"";d=(Array.isArray(d)?d:[d]).filter(Boolean)[0]??"";let p=`${u?`[${d}${t}=""]`:`.${d}${t}`}`,h=Z(c?`/${c}`:"");return{matcher:s,handle:(m,x)=>{let w=new RegExp(`${K(p)}${K(h)}(?:\\[.+?\\])+`),k=m.prefix.match(w),y;if(k){let b=(k.index??0)+p.length+h.length;y=[m.prefix.slice(0,b),`[data-${l}]`,m.prefix.slice(b)].join("")}else{let b=Math.max(m.prefix.indexOf(p),0);y=[m.prefix.slice(0,b),p,h,`[data-${l}]`,e,m.prefix.slice(b)].join("")}return x({...m,prefix:y})}}}}},multiPass:!0}}function jc(){return{name:"has-data",match(t,e){let r=(0,R.variantGetParameter)("has-data-",t,e.generator.config.separators);if(r){let[n,o]=r,i=f.bracket(n)??e.theme.data?.[n]??"";if(i)return{matcher:o,handle:(a,s)=>s({...a,pseudo:`${a.pseudo}:has([data-${i}])`})}}},multiPass:!0}}function _c(t={}){return[Ar("group"," ",t),Ar("peer","~",t),Ar("parent",">",t),Ar("previous","+",t),jc()]}var Ac=[(0,R.variantMatcher)("rtl",t=>({prefix:`[dir="rtl"] $$ ${t.prefix}`})),(0,R.variantMatcher)("ltr",t=>({prefix:`[dir="ltr"] $$ ${t.prefix}`}))];function Rc(){let t;return{name:"important",match(e,r){t||(t=new RegExp(`^(important(?:${r.generator.config.separators.join("|")})|!)`));let n,o=e.match(t);if(o?n=e.slice(o[0].length):e.endsWith("!")&&(n=e.slice(0,-1)),n)return{matcher:n,body:i=>(i.forEach(a=>{a[1]!=null&&(a[1]+=" !important")}),i)}}}}var Mc=(0,R.variantParentMatcher)("print","@media print"),Oc={name:"media",match(t,e){let r=(0,R.variantGetParameter)("media-",t,e.generator.config.separators);if(r){let[n,o]=r,i=f.bracket(n)??"";if(i===""&&(i=e.theme.media?.[n]??""),i)return{matcher:o,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@media ${i}`})}}},multiPass:!0},Pc={name:"selector",match(t,e){let r=(0,R.variantGetBracket)("selector-",t,e.generator.config.separators);if(r){let[n,o]=r,i=f.bracket(n);if(i)return{matcher:o,selector:()=>i}}}},Lc={name:"layer",match(t,e){let r=(0,R.variantGetParameter)("layer-",t,e.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}`})}}}},Fc={name:"uno-layer",match(t,e){let r=(0,R.variantGetParameter)("uno-layer-",t,e.generator.config.separators);if(r){let[n,o]=r,i=f.bracket(n)??n;if(i)return{matcher:o,layer:i}}}},Bc={name:"scope",match(t,e){let r=(0,R.variantGetBracket)("scope-",t,e.generator.config.separators);if(r){let[n,o]=r,i=f.bracket(n);if(i)return{matcher:o,selector:a=>`${i} $$ ${a}`}}}},Tc={name:"variables",match(t,e){if(!t.startsWith("["))return;let[r,n]=(0,R.getBracket)(t,"[","]")??[];if(!(r&&n))return;let o;for(let s of e.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 l=a?{parent:`${s.parent?`${s.parent} $$ `:""}${i}`}:{selector:i.replace(/&/g,s.selector)};return c({...s,...l})}}},multiPass:!0},Wc={name:"theme-variables",match(t,e){if((0,R.hasThemeFn)(t))return{matcher:t,handle(r,n){return n({...r,entries:JSON.parse((0,R.transformThemeFn)(JSON.stringify(r.entries),e.theme))})}}}},vi=/^-?[0-9.]+(?:[a-z]+|%)?$/,$i=/-?[0-9.]+(?:[a-z]+|%)?/,Nc=[/\b(opacity|color|flex|backdrop-filter|^filter|transform)\b/];function Ic(t){let e=t.match(Ct)||t.match(Ut);if(e){let[r,n]=$t(`(${e[2]})${e[3]}`,"(",")"," ")??[];if(r)return`calc(${e[1]}${r} * -1)${n?` ${n}`:""}`}}var Uc=/\b(hue-rotate)\s*(\(.*)/;function Dc(t){let e=t.match(Uc);if(e){let[r,n]=$t(e[2],"(",")"," ")??[];if(r){let o=vi.test(r.slice(1,-1))?r.replace($i,i=>i.startsWith("-")?i.slice(1):`-${i}`):`(calc(${r} * -1))`;return`${e[1]}${o}${n?` ${n}`:""}`}}}var Vc={name:"negative",match(t){if(t.startsWith("-"))return{matcher:t.slice(1),body:e=>{if(e.find(n=>n[0]===Dt))return;let r=!1;return e.forEach(n=>{let o=n[1]?.toString();if(!o||o==="0"||Nc.some(s=>s.test(n[0])))return;let i=Ic(o);if(i){n[1]=i,r=!0;return}let a=Dc(o);if(a){n[1]=a,r=!0;return}vi.test(o)&&(n[1]=o.replace($i,s=>s.startsWith("-")?s.slice(1):`-${s}`),r=!0)}),r?e:[]}}}};function Gc(){return Xr({getBracket:lt.getBracket,h:f,variantGetBracket:lt.variantGetBracket})}function qc(){return Kr({getBracket:lt.getBracket,h:f,variantGetBracket:lt.variantGetBracket})}function Hc(t={}){return Zr(t,{getBracket:lt.getBracket,h:f,variantGetBracket:lt.variantGetBracket})}var Yc=Jr(),Xc={name:"starting",match(t){if(t.startsWith("starting:"))return{matcher:t.slice(9),handle:(e,r)=>r({...e,parent:"@starting-style"})}}},Kc={name:"supports",match(t,e){let r=(0,R.variantGetParameter)("supports-",t,e.generator.config.separators);if(r){let[n,o]=r,i=f.bracket(n)??"";if(i===""&&(i=e.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 Rr(t){return[xc,zc,Lc,Pc,Fc,Vc,Xc,Rc(),Kc,Mc,Oc,wc(),...Sc,...Gc(),qc(),...Hc(t),Yc,...Ec(t),...Ac,Bc,...kc,Cc,Tc,..._c(t),...$c(t),Wc]}var Zc=[St("svg",t=>({selector:`${t.selector} svg`}))],Jc=[St(".dark",t=>({prefix:`.dark $$ ${t.prefix}`})),St(".light",t=>({prefix:`.light $$ ${t.prefix}`})),rt("@dark","@media (prefers-color-scheme: dark)"),rt("@light","@media (prefers-color-scheme: light)")],Qc=[rt("contrast-more","@media (prefers-contrast: more)"),rt("contrast-less","@media (prefers-contrast: less)")],tl=[rt("motion-reduce","@media (prefers-reduced-motion: reduce)"),rt("motion-safe","@media (prefers-reduced-motion: no-preference)")],el=[rt("landscape","@media (orientation: landscape)"),rt("portrait","@media (orientation: portrait)")],rl=t=>{if(!t.startsWith("_")&&(/space-[xy]-.+$/.test(t)||/divide-/.test(t)))return{matcher:t,selector:e=>{let r=">:not([hidden])~:not([hidden])";return e.includes(r)?e:`${e}${r}`}}},nl=[St("@hover",t=>({parent:`${t.parent?`${t.parent} $$ `:""}@media (hover: hover) and (pointer: fine)`,selector:`${t.selector||""}:hover`}))];function wi(t,e,r){return`calc(${e} + (${t} - ${e}) * ${r} / 100)`}function ki(t,e,r){let n=[t,e],o=[];for(let a=0;a<2;a++){let s=typeof n[a]=="string"?J(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(wi(o[0].components[a],o[1].components[a],r));return{type:"rgb",components:i,alpha:wi(o[0].alpha??1,o[1].alpha??1,r)}}function Si(t,e){return ki("#fff",t,e)}function Ci(t,e){return ki("#000",t,e)}function ol(t,e){let r=Number.parseFloat(`${e}`);if(!Number.isNaN(r))return r>0?Ci(t,e):Si(t,-r)}var il={tint:Si,shade:Ci,shift:ol};function al(){let t;return{name:"mix",match(e,r){t||(t=new RegExp(`^mix-(tint|shade|shift)-(-?\\d{1,3})(?:${r.generator.config.separators.join("|")})`));let n=e.match(t);if(n)return{matcher:e.slice(n[0].length),body:o=>(o.forEach(i=>{if(i[1]){let a=J(`${i[1]}`);if(a){let s=il[n[1]](a,n[2]);s&&(i[1]=W(s))}}}),o)}}}}var sl=(t,{theme:e})=>{let r=t.match(/^(.*)\b(placeholder-)(.+)$/);if(r){let[,n="",o,i]=r;if(gt(i,e,"accentColor")||cl(i))return{matcher:`${n}placeholder-$ ${o}${i}`}}};function cl(t){let e=t.match(/^op(?:acity)?-?(.+)$/);return e&&e[1]!=null?f.bracket.percent(e[1])!=null:!1}function Ei(t){return[sl,rl,...Rr(t),...Qc,...el,...tl,...Zc,...Jc,...nl,al()]}function ll(t){let e,r,n=2166136261;for(e=0,r=t.length;e<r;e++)n^=t.charCodeAt(e),n+=(n<<1)+(n<<4)+(n<<7)+(n<<8)+(n<<24);return`00000${(n>>>0).toString(36)}`.slice(-6)}function fl(t,e,r,n){for(let o of Array.from(t.matchAll(r)))if(o!=null){let i=o[0],a=`${n}${ll(i)}`;e.set(a,i),t=t.replace(i,a)}return t}function ul(t,e){for(let[r,n]of e.entries())t=t.replaceAll(r,n);return t}var dl=/\/\/#\s*sourceMappingURL=.*\n?/g;function pl(t){return t.includes("sourceMappingURL=")?t.replace(dl,""):t}var ml=/(?:[\w&:[\]-]|\[\S{1,64}=\S{1,64}\]){1,64}\[\\?['"]?\S{1,64}?['"]\]\]?[\w:-]{0,64}/g,hl=/\[(\\\W|[\w-]){1,64}:[^\s:]{0,64}?("\S{1,64}?"|'\S{1,64}?'|`\S{1,64}?`|[^\s:]{1,64}?)[^\s:]{0,64}?\)?\]/g,gl=/^\[(?:\\\W|[\w-]){1,64}:['"]?\S{1,64}?['"]?\]$/;function bl(t){let e=[];for(let o of t.matchAll(hl))o.index!==0&&!/^[\s'"`]/.test(t[o.index-1]??"")||e.push(o[0]);for(let o of t.matchAll(ml))e.push(o[0]);let r=new Map,n="@unocss-skip-arbitrary-brackets";return t=fl(t,r,/-\[(?!&.+?;)[^\]]*\]/g,n),t&&t.split(Fr).forEach(o=>{o.includes(n)&&(o=ul(o,r)),Bn(o)&&!gl.test(o)&&e.push(o)}),e}function zi(){return{name:"@unocss/extractor-arbitrary-variants",order:0,extract({code:t}){return bl(pl(t))}}}function ji(t){if(t.preflight)return[{layer:"preflights",getCSS({theme:e,generator:r}){if(e.preflightBase){let n=Object.entries(e.preflightBase);if(t.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=Tt(n);return t.variablePrefix!=="un-"&&(o=o.replace(/--un-/g,`--${t.variablePrefix}`)),j(e.preflightRoot??["*,::before,::after","::backdrop"]).map(i=>`${i}{${o}}`).join("")}}}}]}var xl={position:["relative","absolute","fixed","sticky","static"],globalKeyword:M},En=(t={})=>(t.dark=t.dark??"class",t.attributifyPseudo=t.attributifyPseudo??!1,t.preflight=t.preflight??!0,t.variablePrefix=t.variablePrefix??"un-",{name:"@unocss/preset-mini",theme:Jt,rules:cn,variants:Rr(t),options:t,prefix:t.prefix,postprocess:vl(t.variablePrefix),preflights:ji(t),extractorDefault:t.arbitraryVariants===!1?void 0:zi(),autocomplete:{shorthands:xl}}),_i=En;function vl(t){if(t!=="un-")return e=>{e.entries.forEach(r=>{r[0]=r[0].replace(/^--un-/,`--${t}`),typeof r[1]=="string"&&(r[1]=r[1].replace(/var\(--un-/g,`var(--${t}`))})}}function $l(t){if(t==null||t===!1)return[];let e=r=>r.startsWith(":is(")&&r.endsWith(")")?r:r.includes("::")?r.replace(/(.*?)((?:\s\*)?::.*)/,":is($1)$2"):`:is(${r})`;return[t===!0?r=>{r.entries.forEach(n=>{n[1]!=null&&!String(n[1]).endsWith("!important")&&(n[1]+=" !important")})}:r=>{r.selector.startsWith(t)||(r.selector=`${t} ${e(r.selector)}`)}]}function wl(t){return[...j(_i(t).postprocess),...$l(t.important)]}var Ai=(t={})=>(t.important=t.important??!1,{...En(t),name:"@unocss/preset-wind3",theme:yi,rules:Go,shortcuts:qo,variants:Ei(t),postprocess:wl(t)});var kl=(t={})=>({...Ai(t),name:"@unocss/preset-uno"}),Ri=kl;function Sl(t){return t.replace(/-(\w)/g,(e,r)=>r?r.toUpperCase():"")}function Mi(t){return t.charAt(0).toUpperCase()+t.slice(1)}function Oi(t){return t.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}var Pi=["Webkit","Moz","ms"];function Li(t){let e={};function r(n){let o=e[n];if(o)return o;let i=Sl(n);if(i!=="filter"&&i in t)return e[n]=Oi(i);i=Mi(i);for(let a=0;a<Pi.length;a++){let s=`${Pi[a]}${i}`;if(s in t)return e[n]=Oi(Mi(s))}return n}return({entries:n})=>n.forEach(o=>{o[0].startsWith("--")||(o[0]=r(o[0]))})}function Fi(t){return t.replace(/&amp;/g,"&").replace(/&gt;/g,">").replace(/&lt;/g,"<")}async function zn(t={}){if(typeof window>"u"){console.warn("@unocss/runtime been used in non-browser environment, skipped.");return}let e=window,r=window.document,n=()=>r.documentElement,o=e.__unocss||{},i=Object.assign({},t,o.runtime),a=i.defaults||{},s=i.cloakAttribute??"un-cloak";i.autoPrefix&&(a.postprocess=j(a.postprocess)).unshift(Li(r.createElement("div").style)),i.configResolved?.(o,a);let c=await Dn(o,a),l=$=>{let _=t.rootElement?.();if(_){_.appendChild($);return}i.inject?i.inject($):n().prepend($)},u=()=>i.rootElement?i.rootElement():r.body,d=new Map,p=!0,h=new Set,m,x,w=[],k=()=>new Promise($=>{w.push($),x!=null&&clearTimeout(x),x=setTimeout(()=>g().then(()=>{let _=w;w=[],_.forEach(P=>P())}),0)});function y($,_=!1){if($.nodeType!==1)return;let P=$;P.hasAttribute(s)&&P.removeAttribute(s),_&&P.querySelectorAll(`[${s}]`).forEach(T=>{T.removeAttribute(s)})}function b($,_){let P=d.get($);if(!P)if(P=r.createElement("style"),P.setAttribute("data-unocss-runtime-layer",$),d.set($,P),_==null)l(P);else{let T=b(_),G=T.parentNode;G?G.insertBefore(P,T.nextSibling):l(P)}return P}async function g(){let $=[...h],_=await c.generate($);return _.layers.reduce((T,G)=>(b(G,T).innerHTML=_.getLayer(G)??"",G),void 0),$.filter(T=>!_.matched.has(T)).forEach(T=>h.delete(T)),{..._,getStyleElement:T=>d.get(T),getStyleElements:()=>d}}async function v($){let _=h.size;await c.applyExtractors($,void 0,h),_!==h.size&&await k()}async function L($=u()){let _=$&&$.outerHTML;_&&(await v(`${_} ${Fi(_)}`),y(n()),y($,!0))}let H=new MutationObserver($=>{p||$.forEach(async _=>{if(_.target.nodeType!==1)return;let P=_.target;for(let T of d)if(P===T[1])return;if(_.type==="childList")_.addedNodes.forEach(async T=>{if(T.nodeType!==1)return;let G=T;m&&!m(G)||(await v(G.outerHTML),y(G))});else{if(m&&!m(P))return;if(_.attributeName!==s){let T=Array.from(P.attributes).map(vt=>vt.value?`${vt.name}="${vt.value}"`:vt.name).join(" "),G=`<${P.tagName.toLowerCase()} ${T}>`;await v(G)}y(P)}})}),C=!1;function E(){if(C)return;let $=i.observer?.target?i.observer.target():u();$&&(H.observe($,{childList:!0,subtree:!0,attributes:!0,attributeFilter:i.observer?.attributeFilter}),C=!0)}function z(){i.bypassDefined&&Cl(c.blocked),L(),E()}function V(){r.readyState==="loading"?e.addEventListener("DOMContentLoaded",z):z()}let D=e.__unocss_runtime=e.__unocss_runtime={version:c.version,uno:c,async extract($){F($)||($.forEach(_=>h.add(_)),$=""),await v($)},extractAll:L,inspect($){m=$},toggleObserver($){$===void 0?p=!p:p=!!$,!C&&!p&&V()},update:g,presets:e.__unocss_runtime?.presets??{}};i.ready?.(D)!==!1&&(p=!1,V())}function Cl(t=new Set){for(let e=0;e<document.styleSheets.length;e++){let r=document.styleSheets[e],n;try{if(n=r.cssRules||r.rules,!n)continue;Array.from(n).flatMap(o=>o.selectorText?.split(/,/g)||[]).forEach(o=>{o&&(o=o.trim(),o.startsWith(".")&&(o=o.slice(1)),t.add(o))})}catch{continue}}return t}zn({defaults:{presets:[Ri()]}});})();
11
+ `?i=!0:u!=="\r"&&i&&(i=!1,s===c.start||(this._splitChunk(c,s),c=c.next),c.prependRight(e))}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(e,r){return _t.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),_t.insertLeft=!0),this.appendLeft(e,r)}insertRight(e,r){return _t.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),_t.insertRight=!0),this.prependRight(e,r)}move(e,r,n){if(e=e+this.offset,r=r+this.offset,n=n+this.offset,n>=e&&n<=r)throw new Error("Cannot move a selection inside itself");this._split(e),this._split(r),this._split(n);let o=this.byStart[e],i=this.byEnd[r],a=o.previous,s=i.next,c=this.byStart[n];if(!c&&i===this.lastChunk)return this;let l=c?c.previous:this.lastChunk;return a&&(a.next=s),s&&(s.previous=a),l&&(l.next=o),c&&(c.previous=i),o.previous||(this.firstChunk=i.next),i.next||(this.lastChunk=o.previous,this.lastChunk.next=null),o.previous=l,i.next=c||null,l||(this.firstChunk=o),c||(this.lastChunk=i),this}overwrite(e,r,n,o){return o=o||{},this.update(e,r,n,{...o,overwrite:!o.contentOnly})}update(e,r,n,o){if(e=e+this.offset,r=r+this.offset,typeof n!="string")throw new TypeError("replacement content must be a string");if(this.original.length!==0){for(;e<0;)e+=this.original.length;for(;r<0;)r+=this.original.length}if(r>this.original.length)throw new Error("end is out of bounds");if(e===r)throw new Error("Cannot overwrite a zero-length range \u2013 use appendLeft or prependRight instead");this._split(e),this._split(r),o===!0&&(_t.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),_t.storeName=!0),o={storeName:!0});let i=o!==void 0?o.storeName:!1,a=o!==void 0?o.overwrite:!1;if(i){let l=this.original.slice(e,r);Object.defineProperty(this.storedNames,l,{writable:!0,value:!0,enumerable:!0})}let s=this.byStart[e],c=this.byEnd[r];if(s){let l=s;for(;l!==c;){if(l.next!==this.byStart[l.end])throw new Error("Cannot overwrite across a split point");l=l.next,l.edit("",!1)}s.edit(n,i,!a)}else{let l=new le(e,r,"").edit(n,i);c.next=l,l.previous=c}return this}prepend(e){if(typeof e!="string")throw new TypeError("outro content must be a string");return this.intro=e+this.intro,this}prependLeft(e,r){if(e=e+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(e);let n=this.byEnd[e];return n?n.prependLeft(r):this.intro=r+this.intro,this}prependRight(e,r){if(e=e+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(e);let n=this.byStart[e];return n?n.prependRight(r):this.outro=r+this.outro,this}remove(e,r){if(e=e+this.offset,r=r+this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;r<0;)r+=this.original.length}if(e===r)return this;if(e<0||r>this.original.length)throw new Error("Character is out of bounds");if(e>r)throw new Error("end must be greater than start");this._split(e),this._split(r);let n=this.byStart[e];for(;n;)n.intro="",n.outro="",n.edit(""),n=r>n.end?this.byStart[n.end]:null;return this}reset(e,r){if(e=e+this.offset,r=r+this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;r<0;)r+=this.original.length}if(e===r)return this;if(e<0||r>this.original.length)throw new Error("Character is out of bounds");if(e>r)throw new Error("end must be greater than start");this._split(e),this._split(r);let n=this.byStart[e];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 e=this.lastChunk;do{if(e.outro.length)return e.outro[e.outro.length-1];if(e.content.length)return e.content[e.content.length-1];if(e.intro.length)return e.intro[e.intro.length-1]}while(e=e.previous);return this.intro.length?this.intro[this.intro.length-1]:""}lastLine(){let e=this.outro.lastIndexOf(Nt);if(e!==-1)return this.outro.substr(e+1);let r=this.outro,n=this.lastChunk;do{if(n.outro.length>0){if(e=n.outro.lastIndexOf(Nt),e!==-1)return n.outro.substr(e+1)+r;r=n.outro+r}if(n.content.length>0){if(e=n.content.lastIndexOf(Nt),e!==-1)return n.content.substr(e+1)+r;r=n.content+r}if(n.intro.length>0){if(e=n.intro.lastIndexOf(Nt),e!==-1)return n.intro.substr(e+1)+r;r=n.intro+r}}while(n=n.previous);return e=this.intro.lastIndexOf(Nt),e!==-1?this.intro.substr(e+1)+r:this.intro+r}slice(e=0,r=this.original.length-this.offset){if(e=e+this.offset,r=r+this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;r<0;)r+=this.original.length}let n="",o=this.firstChunk;for(;o&&(o.start>e||o.end<=e);){if(o.start<r&&o.end>=r)return n;o=o.next}if(o&&o.edited&&o.start!==e)throw new Error(`Cannot use replaced character ${e} as slice start anchor.`);let i=o;for(;o;){o.intro&&(i!==o||o.start===e)&&(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?e-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(e,r){let n=this.clone();return n.remove(0,e),n.remove(r,n.original.length),n}_split(e){if(this.byStart[e]||this.byEnd[e])return;let r=this.lastSearchedChunk,n=r,o=e>r.end;for(;r;){if(r.contains(e))return this._splitChunk(r,e);if(r=o?this.byStart[r.end]:this.byEnd[r.start],r===n)return;n=r}}_splitChunk(e,r){if(e.edited&&e.content.length){let o=Zn(this.original)(r);throw new Error(`Cannot split a chunk that has already been edited (${o.line}:${o.column} \u2013 "${e.original}")`)}let n=e.split(r);return this.byEnd[r]=e,this.byStart[r]=n,this.byEnd[n.end]=n,e===this.lastChunk&&(this.lastChunk=n),this.lastSearchedChunk=e,!0}toString(){let e=this.intro,r=this.firstChunk;for(;r;)e+=r.toString(),r=r.next;return e+this.outro}isEmpty(){let e=this.firstChunk;do if(e.intro.length&&e.intro.trim()||e.content.length&&e.content.trim()||e.outro.length&&e.outro.trim())return!1;while(e=e.next);return!0}length(){let e=this.firstChunk,r=0;do r+=e.intro.length+e.content.length+e.outro.length;while(e=e.next);return r}trimLines(){return this.trim("[\\r\\n]")}trim(e){return this.trimStart(e).trimEnd(e)}trimEndAborted(e){let r=new RegExp((e||"\\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(e){return this.trimEndAborted(e),this}trimStartAborted(e){let r=new RegExp("^"+(e||"\\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(e){return this.trimStartAborted(e),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(e,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(e.global)o(e,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(e);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(e,r){let{original:n}=this,o=n.indexOf(e);return o!==-1&&(typeof r=="function"&&(r=r(e,o,n)),e!==r&&this.overwrite(o,o+e.length,r)),this}replace(e,r){return typeof e=="string"?this._replaceString(e,r):this._replaceRegexp(e,r)}_replaceAllString(e,r){let{original:n}=this,o=e.length;for(let i=n.indexOf(e);i!==-1;i=n.indexOf(e,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(e,r){if(typeof e=="string")return this._replaceAllString(e,r);if(!e.global)throw new TypeError("MagicString.prototype.replaceAll called with a non-global RegExp argument");return this._replaceRegexp(e,r)}};function Jn(t,e,r){if(t==="")return;let n=t.length,o=0,i=!1,a=0;for(let s=0;s<n;s++)switch(t[s]){case e:i||(i=!0,a=s),o++;break;case r:if(--o,o<0)return;if(o===0)return[t.slice(a,s+1),t.slice(s+1),t.slice(0,a)];break}}function $t(t,e,r,n){if(t===""||(F(n)&&(n=[n]),n.length===0))return;let o=t.length,i=0;for(let a=0;a<o;a++)switch(t[a]){case e:i++;break;case r:if(--i<0)return;break;default:for(let s of n){let c=s.length;if(c&&s===t.slice(a,a+c)&&i===0)return a===0||a===o-c?void 0:[t.slice(0,a),t.slice(a+c)]}}return[t,""]}function At(t,e,r,n="(",o=")"){r=r??10;let i=[],a=0;for(;t!=="";){if(++a>r)return;let s=$t(t,n,o,e);if(!s)return;let[c,l]=s;i.push(c),t=l}if(i.length>0)return i}var pe=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"],Qn=["srgb","srgb-linear","display-p3","a98-rgb","prophoto-rgb","rec2020","lab","oklab","xyz","xyz-d50","xyz-d65"],to=["hsl","hwb","lch","oklch"],eo=["shorter","longer","increasing","decreasing"],Vr=["%alpha","<alpha-value>"],ro=new RegExp(Vr.map(t=>K(t)).join("|"),"g");function _a(t){return t?Qn.some(e=>t.includes(e))||to.some(e=>t.includes(e))||eo.some(e=>t.includes(e)):!1}function Aa(t=""){let e=no(t);if(e!=null){let{components:r,alpha:n}=e;return n==null?r:[...r,n]}}function J(t=""){let e=Ra(t);if(e==null||e===!1)return;let{type:r,components:n,alpha:o}=e,i=r.toLowerCase();if(n.length!==0&&!(pe.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 mt(t){let e=t.alpha??1;return typeof e=="string"&&Vr.includes(e)?1:e}function W(t,e){if(typeof t=="string")return t.replace(ro,`${e??1}`);let{components:r}=t,{alpha:n,type:o}=t;return n=e??n,o=o.toLowerCase(),["hsla","rgba"].includes(o)?`${o}(${r.join(", ")}${n==null?"":`, ${n}`})`:(n=n==null?"":` / ${n}`,pe.includes(o)?`${o}(${r.join(" ")}${n})`:`color(${o} ${r.join(" ")}${n})`)}function Ra(t){if(!t)return;let e=no(t);if(e!=null||(e=Ma(t),e!=null)||(e=Oa(t),e!=null)||(e=La(t),e!=null)||(e=Fa(t),e!=null))return e}function no(t){let[,e]=t.match(/^#([\da-f]+)$/i)||[];if(e)switch(e.length){case 3:case 4:{let r=Array.from(e,n=>Number.parseInt(n,16)).map(n=>n<<4|n);return{type:"rgb",components:r.slice(0,3),alpha:e.length===3?void 0:Math.round(r[3]/255*100)/100}}case 6:case 8:{let r=Number.parseInt(e,16);return{type:"rgb",components:e.length===6?[r>>16&255,r>>8&255,r&255]:[r>>24&255,r>>16&255,r>>8&255],alpha:e.length===6?void 0:Math.round((r&255)/255*100)/100}}}}function Ma(t){let e={rebeccapurple:[102,51,153,1]}[t];if(e!=null)return{type:"rgb",components:e.slice(0,3),alpha:e[3]}}function Oa(t){let e=t.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!e)return;let[,r,n]=e,o=At(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 Pa=new RegExp(`^(${pe.join("|")})\\((.+)\\)$`,"i");function La(t){let e=t.match(Pa);if(!e)return;let[,r,n]=e,o=oo(`${r} ${n}`);if(o){let{alpha:i,components:[a,...s]}=o;return{type:a,components:s,alpha:i}}}function Fa(t){let e=t.match(/^color\((.+)\)$/);if(!e)return;let r=oo(e[1]);if(r){let{alpha:n,components:[o,...i]}=r;return{type:o,components:i,alpha:n}}}function oo(t){let e=At(t," ");if(!e)return;let r=e.length;if(e[r-2]==="/")return{components:e.slice(0,r-2),alpha:e[r-1]};if(e[r-2]!=null&&(e[r-2].endsWith("/")||e[r-1].startsWith("/"))){let i=e.splice(r-2);e.push(i.join(" ")),--r}let n=At(e[r-1],"/",2);if(!n)return;if(n.length===1||n[n.length-1]==="")return{components:e};let o=n.pop();return e[r-1]=n.join("/"),{components:e,alpha:o}}var io=/theme\(\s*(['"])?(.*?)\1?\s*\)/g;function Ba(t){return t.includes("theme(")&&t.includes(")")}function Ta(t,e,r=!0){let n=Array.from(t.toString().matchAll(io));if(!n.length)return t;let o=new fe(t);for(let i of n){let a=i[2];if(!a)throw new Error("theme() expect exact one argument, but got 0");let s=ao(a,e,r);s&&o.overwrite(i.index,i.index+i[0].length,s)}return o.toString()}function ao(t,e,r=!0){let[n,o]=t.split("/"),i=n.trim().split(".").reduce((a,s)=>a?.[s],e);if(typeof i=="object"&&(i=i.DEFAULT),typeof i=="string"){if(o){let a=J(i);a&&(i=W(a,o))}return i}else if(r)throw new Error(`theme of "${t}" did not found`)}function Wa(t){var e;let r=((e=t.match(/^-?\d+\.?\d*/))===null||e===void 0?void 0:e[0])||"",n=t.slice(r.length);if(n==="px"){let o=Number.parseFloat(r)-.1;return Number.isNaN(o)?t:`${o}${n}`}return`calc(${t} - 0.1px)`}function Gr(t){let e=function(n,o){var i;let a=((i=this.__options)===null||i===void 0?void 0:i.sequence)||[];this.__options.sequence=[];for(let s of a){let c=t[s](n,o);if(c!=null)return c}};function r(n,o){return n.__options||(n.__options={sequence:[]}),n.__options.sequence.push(o),n}for(let n of Object.keys(t))Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get(){return r(this,n)}});return e}var Na=/icon\(\s*(['"])?(.*?)\1?\s*\)/g;function Ia(t){return t.includes("icon(")&&t.includes(")")}var It="__pseudo_placeholder__",wt=Object.fromEntries([["first-letter","::first-letter"],["first-line","::first-line"],"any-link","link","visited","target",["open","[open]"],"default","checked","indeterminate","placeholder-shown","autofill","optional","required","valid","invalid","user-valid","user-invalid","in-range","out-of-range","read-only","read-write","empty","focus-within","hover","focus","focus-visible","active","enabled","disabled","popover-open","root","empty",["even-of-type",":nth-of-type(even)"],["even",":nth-child(even)"],["odd-of-type",":nth-of-type(odd)"],["odd",":nth-child(odd)"],["nth",`:nth-child(${It})`],["nth-last",`:nth-last-child(${It})`],["nth-last-of-type",`:nth-last-of-type(${It})`],["nth-of-type",`:nth-of-type(${It})`],"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(t=>Array.isArray(t)?t:[t,`:${t}`])),qr=Object.keys(wt),kt=Object.fromEntries([["backdrop","::backdrop"]].map(t=>Array.isArray(t)?t:[t,`:${t}`])),Hr=Object.keys(kt),so=["not","is","where","has"],Yr=Object.fromEntries([["selection",["::selection"," *::selection"]],["marker",["::marker"," *::marker"]]]),ue=Object.entries(wt).filter(([,t])=>!t.startsWith("::")).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|"),de=Object.entries(kt).filter(([,t])=>!t.startsWith("::")).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|"),pt=so.join("|"),Ir=Object.keys(Yr).sort((t,e)=>e.length-t.length).join("|"),co=["::-webkit-resizer","::-webkit-scrollbar","::-webkit-scrollbar-button","::-webkit-scrollbar-corner","::-webkit-scrollbar-thumb","::-webkit-scrollbar-track","::-webkit-scrollbar-track-piece","::file-selector-button"],Ur=Object.entries(wt).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|"),Dr=Object.entries(kt).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|");function lo(t,e,r,n){let{h:o,variantGetBracket:i}=n,a=new RegExp(`^(${K(e)}:)(\\S+)${K(r)}\\1`),s,c,l,u,d=m=>{var x;let w=i(`${t}-`,m,[]);if(!w)return;let[k,y]=w,b=o.bracket(k);if(b==null)return;let g=((x=y.split(s,1))===null||x===void 0?void 0:x[0])??"",v=`${e}${Z(g)}`;return[g,m.slice(m.length-(y.length-g.length-1)),b.includes("&")?b.replace(/&/g,v):`${v}${b}`]},p=m=>{let x=m.match(c)||m.match(l);if(!x)return;let[w,k,y]=x,b=x[3]??"",g=wt[y]||kt[y]||`:${y}`;return k&&(g=`:${k}(${g})`),[b,m.slice(w.length),`${e}${Z(b)}${g}`,y]},h=m=>{let x=m.match(u);if(!x)return;let[w,k,y]=x,b=x[3]??"",g=`:${k}(${y})`;return[b,m.slice(w.length),`${e}${Z(b)}${g}`]};return{name:`pseudo:${t}`,match(m,x){if(s&&c&&l||(s=new RegExp(`(?:${x.generator.config.separators.join("|")})`),c=new RegExp(`^${t}-(?:(?:(${pt})-)?(${ue}))(?:(/[\\w-]+))?(?:${x.generator.config.separators.join("|")})`),l=new RegExp(`^${t}-(?:(?:(${pt})-)?(${de}))(?:(/[\\w-]+))?(?:${x.generator.config.separators.filter(v=>v!=="-").join("|")})`),u=new RegExp(`^${t}-(?:(${pt})-)?\\[(.+)\\](?:(/[\\w-]+))?(?:${x.generator.config.separators.filter(v=>v!=="-").join("|")})`)),!m.startsWith(t))return;let w=d(m)||p(m)||h(m);if(!w)return;let[k,y,b,g=""]=w;return{matcher:y,handle:(v,L)=>L({...v,prefix:`${b}${r}${v.prefix}`.replace(a,"$1$2:"),sort:qr.indexOf(g)??Hr.indexOf(g)})}},multiPass:!0}}function Xr(t){let{h:e}=t,r,n,o;return[{name:"pseudo",match(i,a){r&&n||(r=new RegExp(`^(${Ur})(?:-(\\d+|\\[(\\w|[+-.])+\\]))?(?:${a.generator.config.separators.join("|")})`),n=new RegExp(`^(${Dr})(?:${a.generator.config.separators.filter(c=>c!=="-").join("|")})`));let s=i.match(r)||i.match(n);if(s){let c=wt[s[1]]||kt[s[1]]||`:${s[1]}`;if(s[2]){let u;s[2].startsWith("[")&&s[2].endsWith("]")?u=e.bracket(s[2]):u=s[2],u&&(c=c.replace(It,u))}let l=qr.indexOf(s[1]);return l===-1&&(l=Hr.indexOf(s[1])),l===-1&&(l=void 0),{matcher:i.slice(s[0].length),handle:(u,d)=>{let p=c.includes("::")&&!co.includes(c)?{pseudo:`${u.pseudo}${c}`}:{selector:`${u.selector}${c}`};return d({...u,...p,sort:l,noMerge:!0})}}}},multiPass:!0,autocomplete:`(${Ur}|${Dr}):`},{name:"pseudo:multi",match(i,a){o||(o=new RegExp(`^(${Ir})(?:${a.generator.config.separators.join("|")})`));let s=i.match(o);if(s)return Yr[s[1]].map(c=>({matcher:i.slice(s[0].length),handle:(l,u)=>u({...l,pseudo:`${l.pseudo}${c}`})}))},multiPass:!1,autocomplete:`(${Ir}):`}]}function Kr(t){let{getBracket:e,h:r}=t,n,o,i;return{match(a,s){n&&o||(n=new RegExp(`^(${pt})-(${ue})(?:${s.generator.config.separators.join("|")})`),o=new RegExp(`^(${pt})-(${de})(?:${s.generator.config.separators.filter(l=>l!=="-").join("|")})`),i=new RegExp(`^(${pt})-(\\[.+\\])(?:${s.generator.config.separators.filter(l=>l!=="-").join("|")})`));let c=a.match(n)||a.match(o)||a.match(i);if(c){let l=c[1],u=e(c[2],"[","]")?r.bracket(c[2]):wt[c[2]]||kt[c[2]]||`:${c[2]}`;return{matcher:a.slice(c[0].length),selector:d=>`${d}:${l}(${u})`}}},multiPass:!0,autocomplete:`(${pt})-(${ue}|${de}):`}}function Zr(t,e){let r=!!t?.attributifyPseudo,n=t?.prefix??"";n=Z((Array.isArray(n)?n:[n]).filter(Boolean)[0]??"");let o=(i,a)=>lo(i,r?`[${n}${i}=""]`:`.${n}${i}`,a,e);return[o("group"," "),o("peer","~"),o("parent",">"),o("previous","+")]}var Ua=/(part-\[(.+)\]:)(.+)/;function Jr(){return{match(t){let e=t.match(Ua);if(e){let r=`part(${e[2]})`;return{matcher:t.slice(e[1].length),selector:n=>`${n}::${r}`}}},multiPass:!0}}function St(t,e,r={}){let n;return{name:t,match(o,i){n||(n=new RegExp(`^${K(t)}(?:${i.generator.config.separators.join("|")})`));let a=o.match(n);if(a){let s=o.slice(a[0].length),c=j(e).map(l=>({matcher:s,handle:(u,d)=>d({...u,...l(u)}),...r}));return c.length===1?c[0]:c}},autocomplete:`${t}:`}}function rt(t,e){let r;return{name:t,match(n,o){r||(r=new RegExp(`^${K(t)}(?:${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} $$ `:""}${e}`})}},autocomplete:`${t}:`}}function fo(t,e,r){if(e.startsWith(`${t}[`)){let[n,o]=Jn(e.slice(t.length),"[","]")??[];if(n&&o){for(let i of r)if(o.startsWith(i))return[n,o.slice(i.length),i];return[n,o,""]}}}function uo(t,e,r){for(let n of j(t))if(e.startsWith(n)){let o=fo(n,e,r);if(o){let[i="",a=o[1]]=uo("/",o[1],r)??[];return[o[0],a,i]}for(let i of r.filter(a=>a!=="/")){let a=e.indexOf(i,n.length);if(a!==-1){let s=e.indexOf("/",n.length),c=s===-1||a<=s;return[e.slice(n.length,c?a:s),e.slice(a+i.length),c?"":e.slice(s+1,a)]}}}}var U={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"]},Rt={...U,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"]},Mt={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"]},me={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},he=["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"],N=Object.assign({},...po.map(t=>({[t.replace(/ /,"-")]:t})),...po.map(t=>({[t.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:t}))),M=["inherit","initial","revert","revert-layer","unset"],Ct=/^(calc|clamp|min|max)\s*\((.+)\)(.*)/,Ut=/^(var)\s*\((.+)\)(.*)/,ge=/^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i,bo=/^(-?\d*(?:\.\d+)?)$/,yo=/^(px|[sld]?v[wh])$/i,xo={px:1,vw:100,vh:100,svw:100,svh:100,dvw:100,dvh:100,lvh:100,lvw:100},vo=/^\[(color|image|length|size|position|quoted|string):/i,Da=/,(?![^()]*\))/g,be=se({auto:()=>qa,bracket:()=>Ja,bracketOfColor:()=>Qa,bracketOfLength:()=>ts,bracketOfPosition:()=>es,cssvar:()=>rs,degree:()=>os,fraction:()=>Za,global:()=>is,number:()=>Xa,numberWithUnit:()=>Ga,percent:()=>Ka,position:()=>ss,properties:()=>as,px:()=>Ya,rem:()=>Ha,time:()=>ns}),Va=["color","border-color","background-color","outline-color","text-decoration-color","flex-grow","flex","flex-shrink","grid","grid-template-columns","grid-template-rows","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(t){return+t.toFixed(10)}function Ga(t){let e=t.match(ge);if(!e)return;let[,r,n]=e,o=Number.parseFloat(r);if(n&&!Number.isNaN(o))return`${q(o)}${n}`}function qa(t){if(t==="auto"||t==="a")return"auto"}function Ha(t){if(!t)return;if(yo.test(t))return`${xo[t]}${t}`;let e=t.match(ge);if(!e)return;let[,r,n]=e,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0":n?`${q(o)}${n}`:`${q(o/4)}rem`}function Ya(t){if(yo.test(t))return`${xo[t]}${t}`;let e=t.match(ge);if(!e)return;let[,r,n]=e,o=Number.parseFloat(r);if(!Number.isNaN(o))return n?`${q(o)}${n}`:`${q(o)}px`}function Xa(t){if(!bo.test(t))return;let e=Number.parseFloat(t);if(!Number.isNaN(e))return q(e)}function Ka(t){if(t.endsWith("%")&&(t=t.slice(0,-1)),!bo.test(t))return;let e=Number.parseFloat(t);if(!Number.isNaN(e))return`${q(e/100)}`}function Za(t){if(!t)return;if(t==="full")return"100%";let[e,r]=t.split("/"),n=Number.parseFloat(e)/Number.parseFloat(r);if(!Number.isNaN(n))return n===0?"0":`${q(n*100)}%`}function ye(t,e){if(t&&t.startsWith("[")&&t.endsWith("]")){let r,n,o=t.match(vo);if(o?(e||(n=o[1]),r=t.slice(o[0].length,-1)):r=t.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,l)=>(s.push(l),c.replace(l,"--un-calc"))).replace(/(-?\d*\.?\d(?!-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 ").replace(/--un-calc/g,()=>s.shift())})}}function Ja(t){return ye(t)}function Qa(t){return ye(t,"color")}function ts(t){return ye(t,"length")}function es(t){return ye(t,"position")}function rs(t){if(/^\$[^\s'"`;{}]/.test(t)){let[e,r]=t.slice(1).split(",");return`var(--${Z(e)}${r?`, ${r}`:""})`}}function ns(t){let e=t.match(/^(-?[0-9.]+)(s|ms)?$/i);if(!e)return;let[,r,n]=e,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0&&!n?"0s":n?`${q(o)}${n}`:`${q(o)}ms`}function os(t){let e=t.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);if(!e)return;let[,r,n]=e,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0deg":n?`${q(o)}${n}`:`${q(o)}deg`}function is(t){if(M.includes(t))return t}function as(t){if(t.split(",").every(e=>Va.includes(e)))return t}function ss(t){if(["top","left","right","bottom","center"].includes(t))return t}var xe=Gr(be),f=xe,Dt="$$mini-no-negative";function O(t){return([e,r,n],{theme:o})=>{let i=o.spacing?.[n||"DEFAULT"]??f.bracket.cssvar.global.auto.fraction.rem(n);if(i!=null)return U[r].map(a=>[`${t}${a}`,i]);if(n?.startsWith("-")){let a=o.spacing?.[n.slice(1)];if(a!=null)return U[r].map(s=>[`${t}${s}`,`calc(${a} * -1)`])}}}function mo(t,e,r="colors"){let n=t[r];function o(i,a){if(a.length===0)return i;if(!(!i||typeof i!="object"))for(let s=a.length;s>0;s--){let c=a.slice(0,s).join("-"),l=i[c.replace(/(-[a-z])/g,u=>u.slice(1).toUpperCase())]??i[c];if(l!=null)return s===a.length?l:o(l,a.slice(s))}}return o(n,e)}function ho(t,e,r){return mo(t,e,r)||mo(t,e,"colors")}function Ot(t,e){let[r,n]=$t(t,"[","]",["/",":"])??[];if(r!=null){let o=(r.match(vo)??[])[1];if(o==null||o===e)return[r,n]}}function nt(t,e,r){let n=Ot(t,"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,l=f.bracketOfColor(o),u=l||o;if(f.numberWithUnit(u))return;if(/^#[\da-f]+$/i.test(u)?c=u:/^hex-[\da-fA-F]+$/.test(u)?c=`#${u.slice(4)}`:o.startsWith("$")&&(c=f.cssvar(o)),c=c||l,!c){let p=ho(e,[o],r);typeof p=="string"&&(c=p)}let d="DEFAULT";if(!c){let p=a,h,[m]=a.slice(-1);/^\d+$/.test(m)&&(d=h=m,p=a.slice(0,-1));let x=ho(e,p,r);typeof x=="object"?c=x[h??d]:typeof x=="string"&&!h&&(c=x)}return{opacity:i,name:s,no:d,color:c,cssColor:J(c),alpha:f.bracket.cssvar.percent(i??"")}}function B(t,e,r,n){return([,o],{theme:i,generator:a})=>{let s=nt(o??"",i,r);if(!s)return;let{alpha:c,color:l,cssColor:u}=s,d=a.config.envMode==="dev"&&l?` /* ${l} */`:"",p={};if(u)if(c!=null)p[t]=W(u,c)+d;else{let h=`--un-${e}-opacity`,m=W(u,`var(${h})`);m.includes(h)&&(p[h]=mt(u)),p[t]=m+d}else if(l)if(c!=null)p[t]=W(l,c)+d;else{let h=`--un-${e}-opacity`,m=W(l,`var(${h})`);m.includes(h)&&(p[h]=1),p[t]=m+d}if(n?.(p)!==!1)return p}}function ht(t,e){let r=[];t=j(t);for(let n=0;n<t.length;n++){let o=At(t[n]," ",6);if(!o||o.length<3)return t;let i=!1,a=o.indexOf("inset");a!==-1&&(o.splice(a,1),i=!0);let s="",c=o.at(-1);if(J(o.at(0))){let l=J(o.shift());l&&(s=`, ${W(l)}`)}else if(J(c)){let l=J(o.pop());l&&(s=`, ${W(l)}`)}else c&&c.startsWith("var(")&&(s=`, ${o.pop()}`);r.push(`${i?"inset ":""}${o.join(" ")} var(${e}${s})`)}return r}function gt(t,e,r){return t!=null&&!!nt(t,e,r)?.color}var go=/[a-z]+/gi,tn=new WeakMap;function Q({theme:t,generator:e},r="breakpoints"){let n=e?.userConfig?.theme?.[r]||t[r];if(!n)return;if(tn.has(t))return tn.get(t);let o=Object.entries(n).sort((i,a)=>Number.parseInt(i[1].replace(go,""))-Number.parseInt(a[1].replace(go,""))).map(([i,a])=>({point:i,size:a}));return tn.set(t,o),o}function en(t){return Q(t,"verticalBreakpoints")}function S(t,e){return M.map(r=>[`${t}-${r}`,{[e??t]:r}])}function ot(t){return t!=null&&Ct.test(t)}function Vt(t){return t[0]==="["&&t.slice(-1)==="]"&&(t=t.slice(1,-1)),Ct.test(t)||ge.test(t)}function Et(t,e,r){let n=e.split(Da);return t||!t&&n.length===1?me[t].map(o=>[`--un-${r}${o}`,e]):n.map((o,i)=>[`--un-${r}-${he[i]}`,o])}var lt=se({CONTROL_MINI_NO_NEGATIVE:()=>Dt,colorResolver:()=>B,colorableShadows:()=>ht,cornerMap:()=>Mt,cssMathFnRE:()=>Ct,cssVarFnRE:()=>Ut,directionMap:()=>U,directionSize:()=>O,globalKeywords:()=>M,h:()=>f,handler:()=>xe,hasParseableColor:()=>gt,insetMap:()=>Rt,isCSSMathFn:()=>ot,isSize:()=>Vt,makeGlobalStaticRules:()=>S,parseColor:()=>nt,positionMap:()=>N,resolveBreakpoints:()=>Q,resolveVerticalBreakpoints:()=>en,splitShorthand:()=>Ot,transformXYZ:()=>Et,valueHandlers:()=>be,xyzArray:()=>he,xyzMap:()=>me});Tr(lt,Qr);var R=se({CONTROL_MINI_NO_NEGATIVE:()=>Dt,colorResolver:()=>B,colorableShadows:()=>ht,cornerMap:()=>Mt,cssMathFnRE:()=>Ct,cssVarFnRE:()=>Ut,directionMap:()=>U,directionSize:()=>O,globalKeywords:()=>M,h:()=>f,handler:()=>xe,hasParseableColor:()=>gt,insetMap:()=>Rt,isCSSMathFn:()=>ot,isSize:()=>Vt,makeGlobalStaticRules:()=>S,parseColor:()=>nt,positionMap:()=>N,resolveBreakpoints:()=>Q,resolveVerticalBreakpoints:()=>en,splitShorthand:()=>Ot,transformXYZ:()=>Et,valueHandlers:()=>be,xyzArray:()=>he,xyzMap:()=>me});Tr(R,lt);var cs=/@media \(min-width: (.+)\)/,$o=[[/^__container$/,(t,e)=>{let{theme:r,variantHandlers:n}=e,o=r.container?.padding,i;F(o)?i=o:i=o?.DEFAULT;let a=r.container?.maxWidth,s;for(let l of n){let u=l.handle?.({},d=>d)?.parent;if(F(u)){let d=u.match(cs)?.[1];if(d){let p=(Q(e)??[]).find(h=>h.size===d)?.point;a?p&&(s=a?.[p]):s=d,p&&!F(o)&&(i=o?.[p]??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}]],rn=[[/^(?:(\w+)[:-])?container$/,([,t],e)=>{let r=(Q(e)??[]).map(o=>o.point);if(t){if(!r.includes(t))return;r=r.slice(r.indexOf(t))}let n=r.map(o=>`${o}:__container`);return t||n.unshift("__container"),n}]];var wo={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(M.map(t=>[t,t]))},ke=[[/^(?:vertical|align|v)-(.+)$/,([,t])=>({"vertical-align":wo[t]??f.bracket.cssvar.numberWithUnit(t)}),{autocomplete:[`(vertical|align|v)-(${Object.keys(wo).join("|")})`,"(vertical|align|v)-<percentage>"]}]],ko=["center","left","right","justify","start","end"],Se=[...ko.map(t=>[`text-${t}`,{"text-align":t}]),...[...M,...ko].map(t=>[`text-align-${t}`,{"text-align":t}])],Ce=[[/^outline-(?:width-|size-)?(.+)$/,Mo,{autocomplete:"outline-(width|size)-<num>"}],[/^outline-(?:color-)?(.+)$/,ls,{autocomplete:"outline-$colors"}],[/^outline-offset-(.+)$/,([,t],{theme:e})=>({"outline-offset":e.lineWidth?.[t]??f.bracket.cssvar.global.px(t)}),{autocomplete:"outline-(offset)-<num>"}],["outline",{"outline-style":"solid"}],...["auto","dashed","dotted","double","hidden","solid","groove","ridge","inset","outset",...M].map(t=>[`outline-${t}`,{"outline-style":t}]),["outline-none",{outline:"2px solid transparent","outline-offset":"2px"}]];function Mo([,t],{theme:e}){return{"outline-width":e.lineWidth?.[t]??f.bracket.cssvar.global.px(t)}}function ls(t,e){return ot(f.bracket(t[1]))?Mo(t,e):B("outline-color","outline-color","borderColor")(t,e)}var Ee=[["appearance-auto",{"-webkit-appearance":"auto",appearance:"auto"}],["appearance-none",{"-webkit-appearance":"none",appearance:"none"}]];function fs(t){return f.properties.auto.global(t)??{contents:"contents",scroll:"scroll-position"}[t]}var ze=[[/^will-change-(.+)/,([,t])=>({"will-change":fs(t)})]],bt=["solid","dashed","dotted","double","hidden","none","groove","ridge","inset","outset",...M],je=[[/^(?:border|b)()(?:-(.+))?$/,tt,{autocomplete:"(border|b)-<directions>"}],[/^(?:border|b)-([xy])(?:-(.+))?$/,tt],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,tt],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,tt],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,tt],[/^(?:border|b)-()(?:width|size)-(.+)$/,tt,{autocomplete:["(border|b)-<num>","(border|b)-<directions>-<num>"]}],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,tt],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,tt],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,tt],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,tt],[/^(?:border|b)-()(?:color-)?(.+)$/,Gt,{autocomplete:["(border|b)-$colors","(border|b)-<directions>-$colors"]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,Gt],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,Gt],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,Gt],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,Gt],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,qt,{autocomplete:"(border|b)-(op|opacity)-<percent>"}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,qt],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,qt],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,qt],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,qt],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,Ht,{autocomplete:["(border|b)-(rounded|rd)","(border|b)-(rounded|rd)-$borderRadius","(rounded|rd)","(rounded|rd)-$borderRadius"]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltbse])(?:-(.+))?$/,Ht],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,Ht],[/^(?:border-|b-)?(?:rounded|rd)-([bise][se])(?:-(.+))?$/,Ht],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,Ht],[/^(?:border|b)-(?:style-)?()(.+)$/,Pt,{autocomplete:["(border|b)-style",`(border|b)-(${bt.join("|")})`,"(border|b)-<directions>-style",`(border|b)-<directions>-(${bt.join("|")})`,`(border|b)-<directions>-style-(${bt.join("|")})`,`(border|b)-style-(${bt.join("|")})`]}],[/^(?:border|b)-([xy])-(?:style-)?(.+)$/,Pt],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,Pt],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,Pt],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,Pt]];function So(t,e,r){if(e!=null)return{[`border${r}-color`]:W(t,e)};if(r===""){let n={},o="--un-border-opacity",i=W(t,`var(${o})`);return i.includes(o)&&(n[o]=typeof t=="string"?1:mt(t)),n["border-color"]=i,n}else{let n={},o="--un-border-opacity",i=`--un-border${r}-opacity`,a=W(t,`var(${i})`);return a.includes(i)&&(n[o]=typeof t=="string"?1:mt(t),n[i]=`var(${o})`),n[`border${r}-color`]=a,n}}function us(t){return([,e],r)=>{let n=nt(e,r,"borderColor");if(!n)return;let{alpha:o,color:i,cssColor:a}=n;if(a)return So(a,o,t);if(i)return So(i,o,t)}}function tt([,t="",e],{theme:r}){let n=r.lineWidth?.[e||"DEFAULT"]??f.bracket.cssvar.global.px(e||"1");if(t in U&&n!=null)return U[t].map(o=>[`border${o}-width`,n])}function Gt([,t="",e],r){if(t in U){if(ot(f.bracket(e)))return tt(["",t,e],r);if(gt(e,r.theme,"borderColor"))return Object.assign({},...U[t].map(n=>us(n)(["",e],r.theme)))}}function qt([,t="",e]){let r=f.bracket.percent.cssvar(e);if(t in U&&r!=null)return U[t].map(n=>[`--un-border${n}-opacity`,r])}function Ht([,t="",e],{theme:r}){let n=r.borderRadius?.[e||"DEFAULT"]||f.bracket.cssvar.global.fraction.rem(e||"1");if(t in Mt&&n!=null)return Mt[t].map(o=>[`border${o}-radius`,n])}function Pt([,t="",e]){if(bt.includes(e)&&t in U)return U[t].map(r=>[`border${r}-style`,e])}var _e=[[/^op(?:acity)?-?(.+)$/,([,t])=>({opacity:f.bracket.percent.cssvar(t)})]],ds=/^\[url\(.+\)\]$/,ps=/^\[(?:length|size):.+\]$/,ms=/^\[position:.+\]$/,hs=/^\[(?:linear|conic|radial)-gradient\(.+\)\]$/,gs=/^\[image:.+\]$/,Ae=[[/^bg-(.+)$/,(...t)=>{let e=t[0][1];if(ds.test(e))return{"--un-url":f.bracket(e),"background-image":"var(--un-url)"};if(ps.test(e)&&f.bracketOfLength(e)!=null)return{"background-size":f.bracketOfLength(e).split(" ").map(r=>f.fraction.auto.px.cssvar(r)??r).join(" ")};if((Vt(e)||ms.test(e))&&f.bracketOfPosition(e)!=null)return{"background-position":f.bracketOfPosition(e).split(" ").map(r=>f.position.fraction.auto.px.cssvar(r)??r).join(" ")};if(hs.test(e)||gs.test(e)){let r=f.bracket(e);if(r)return{"background-image":(r.startsWith("http")?`url(${r})`:f.cssvar(r))??r}}return B("background-color","bg","backgroundColor")(...t)},{autocomplete:"bg-$colors"}],[/^bg-op(?:acity)?-?(.+)$/,([,t])=>({"--un-bg-opacity":f.bracket.percent.cssvar(t)}),{autocomplete:"bg-(op|opacity)-<percent>"}]],Re=[[/^color-scheme-(\w+)$/,([,t])=>({"color-scheme":t})]],Me=[[/^@container(?:\/(\w+))?(?:-(normal|inline-size|size))?$/,([,t,e])=>({"container-type":e??"inline-size","container-name":t})]],Co=["solid","double","dotted","dashed","wavy",...M],Oe=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,t])=>({"text-decoration-line":t}),{autocomplete:"decoration-(underline|overline|line-through)"}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,Oo,{autocomplete:"(underline|decoration)-<num>"}],[/^(?:underline|decoration)-(auto|from-font)$/,([,t])=>({"text-decoration-thickness":t}),{autocomplete:"(underline|decoration)-(auto|from-font)"}],[/^(?:underline|decoration)-(.+)$/,bs,{autocomplete:"(underline|decoration)-$colors"}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,t])=>({"--un-line-opacity":f.bracket.percent.cssvar(t)}),{autocomplete:"(underline|decoration)-(op|opacity)-<percent>"}],[/^(?:underline|decoration)-offset-(.+)$/,([,t],{theme:e})=>({"text-underline-offset":e.lineWidth?.[t]??f.auto.bracket.cssvar.global.px(t)}),{autocomplete:"(underline|decoration)-(offset)-<num>"}],...Co.map(t=>[`underline-${t}`,{"text-decoration-style":t}]),...Co.map(t=>[`decoration-${t}`,{"text-decoration-style":t}]),["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];function Oo([,t],{theme:e}){return{"text-decoration-thickness":e.lineWidth?.[t]??f.bracket.cssvar.global.px(t)}}function bs(t,e){if(ot(f.bracket(t[1])))return Oo(t,e);let r=B("text-decoration-color","line","borderColor")(t,e);if(r)return{"-webkit-text-decoration-color":r["text-decoration-color"],...r}}var Pe=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],[/^flex-(.*)$/,([,t])=>({flex:f.bracket(t)!=null?f.bracket(t).split(" ").map(e=>f.cssvar.fraction(e)??e).join(" "):f.cssvar.fraction(t)})],["flex-1",{flex:"1 1 0%"}],["flex-auto",{flex:"1 1 auto"}],["flex-initial",{flex:"0 1 auto"}],["flex-none",{flex:"none"}],[/^(?:flex-)?shrink(?:-(.*))?$/,([,t=""])=>({"flex-shrink":f.bracket.cssvar.number(t)??1}),{autocomplete:["flex-shrink-<num>","shrink-<num>"]}],[/^(?:flex-)?grow(?:-(.*))?$/,([,t=""])=>({"flex-grow":f.bracket.cssvar.number(t)??1}),{autocomplete:["flex-grow-<num>","grow-<num>"]}],[/^(?:flex-)?basis-(.+)$/,([,t],{theme:e})=>({"flex-basis":e.spacing?.[t]??f.bracket.cssvar.auto.fraction.rem(t)}),{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"}]],ys={"":"",x:"column-",y:"row-",col:"column-",row:"row-"};function nn([,t="",e],{theme:r}){let n=r.spacing?.[e]??f.bracket.cssvar.global.rem(e);if(n!=null)return{[`${ys[t]}gap`]:n}}var Le=[[/^(?:flex-|grid-)?gap-?()(.+)$/,nn,{autocomplete:["gap-$spacing","gap-<num>"]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,nn,{autocomplete:["gap-(x|y)-$spacing","gap-(x|y)-<num>"]}],[/^(?:flex-|grid-)?gap-(col|row)-?(.+)$/,nn,{autocomplete:["gap-(col|row)-$spacing","gap-(col|row)-<num>"]}]];function it(t){return t.replace("col","column")}function on(t){return t[0]==="r"?"Row":"Column"}function xs(t,e,r){let n=e[`gridAuto${on(t)}`]?.[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 Fe=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,t,e],{theme:r})=>({[`grid-${it(t)}`]:r[`grid${on(t)}`]?.[e]??f.bracket.cssvar.auto(e)})],[/^(?:grid-)?(row|col)-span-(.+)$/,([,t,e])=>{if(e==="full")return{[`grid-${it(t)}`]:"1/-1"};let r=f.bracket.number(e);if(r!=null)return{[`grid-${it(t)}`]:`span ${r}/span ${r}`}},{autocomplete:"(grid-row|grid-col|row|col)-span-<num>"}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,t,e])=>({[`grid-${it(t)}-start`]:f.bracket.cssvar(e)??e})],[/^(?:grid-)?(row|col)-end-(.+)$/,([,t,e])=>({[`grid-${it(t)}-end`]:f.bracket.cssvar(e)??e}),{autocomplete:"(grid-row|grid-col|row|col)-(start|end)-<num>"}],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,t,e],{theme:r})=>({[`grid-auto-${it(t)}`]:xs(t,r,e)}),{autocomplete:"(grid-auto|auto)-(rows|cols)-<num>"}],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,t])=>({"grid-auto-flow":f.bracket.cssvar(t)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)$/,([,t])=>({"grid-auto-flow":it(t).replace("-"," ")}),{autocomplete:["(grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)"]}],[/^(?:grid-)?(rows|cols)-(.+)$/,([,t,e],{theme:r})=>({[`grid-template-${it(t)}`]:r[`gridTemplate${on(t)}`]?.[e]??f.bracket.cssvar(e)})],[/^(?:grid-)?(rows|cols)-minmax-([\w.-]+)$/,([,t,e])=>({[`grid-template-${it(t)}`]:`repeat(auto-fill,minmax(${e},1fr))`})],[/^(?:grid-)?(rows|cols)-(\d+)$/,([,t,e])=>({[`grid-template-${it(t)}`]:`repeat(${e},minmax(0,1fr))`}),{autocomplete:"(grid-rows|grid-cols|rows|cols)-<num>"}],[/^grid-area(s)?-(.+)$/,([,t,e])=>t!=null?{"grid-template-areas":f.cssvar(e)??e.split("-").map(r=>`"${f.bracket(r)}"`).join(" ")}:{"grid-area":f.bracket.cssvar(e)}],["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"}]],ve=["auto","hidden","clip","visible","scroll","overlay",...M],Be=[[/^(?:overflow|of)-(.+)$/,([,t])=>ve.includes(t)?{overflow:t}:void 0,{autocomplete:[`(overflow|of)-(${ve.join("|")})`,`(overflow|of)-(x|y)-(${ve.join("|")})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,t,e])=>ve.includes(e)?{[`overflow-${t}`]:e}:void 0]],Te=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,t])=>({position:t}),{autocomplete:["(position|pos)-<position>","(position|pos)-<globalKeyword>","<position>"]}],[/^(?:position-|pos-)([-\w]+)$/,([,t])=>M.includes(t)?{position:t}:void 0],[/^(?:position-|pos-)?(static)$/,([,t])=>({position:t})]],Xt=[["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"}],...S("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"}],...S("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"}],...S("justify-self")],We=[[/^order-(.+)$/,([,t])=>({order:f.bracket.cssvar.number(t)})],["order-first",{order:"-9999"}],["order-last",{order:"9999"}],["order-none",{order:"0"}]],Kt=[["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"}],...S("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"}],...S("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"}],...S("self","align-self")],Zt=[["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"}],...S("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"}],...S("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"}],...S("place-self")],Ne=[...Xt,...Kt,...Zt].flatMap(([t,e])=>[[`flex-${t}`,e],[`grid-${t}`,e]]);function an(t,{theme:e}){return e.spacing?.[t]??f.bracket.cssvar.global.auto.fraction.rem(t)}function Yt([,t,e],r){let n=an(e,r);if(n!=null&&t in Rt)return Rt[t].map(o=>[o.slice(1),n])}var Ie=[[/^(?:position-|pos-)?inset-(.+)$/,([,t],e)=>({inset:an(t,e)}),{autocomplete:["(position|pos)-inset-<directions>-$spacing","(position|pos)-inset-(block|inline)-$spacing","(position|pos)-inset-(bs|be|is|ie)-$spacing","(position|pos)-(top|left|right|bottom)-$spacing"]}],[/^(?:position-|pos-)?(start|end)-(.+)$/,Yt],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,Yt],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,Yt],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,Yt],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,Yt],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,t,e],r)=>({[t]:an(e,r)})]],Ue=[["float-left",{float:"left"}],["float-right",{float:"right"}],["float-start",{float:"inline-start"}],["float-end",{float:"inline-end"}],["float-none",{float:"none"}],...S("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"}],...S("clear")],De=[[/^(?:position-|pos-)?z([\d.]+)$/,([,t])=>({"z-index":f.number(t)})],[/^(?:position-|pos-)?z-(.+)$/,([,t],{theme:e})=>({"z-index":e.zIndex?.[t]??f.bracket.cssvar.global.auto.number(t)}),{autocomplete:"z-<num>"}]],Ve=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}],...S("box","box-sizing")],Ge=[[/^(where|\?)$/,(t,{constructCSS:e,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}} ${e({animation:"__un_qm 0.5s ease-in-out alternate infinite"})}`}]],vs=["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"],$s=["none","strict","content","size","inline-size","layout","style","paint"],A=" ",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-(.+)$/,([,t])=>({display:f.bracket.cssvar.global(t)})]],He=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}],...S("backface","backface-visibility")],Ye=[[/^cursor-(.+)$/,([,t])=>({cursor:f.bracket.cssvar.global(t)})],...vs.map(t=>[`cursor-${t}`,{cursor:t}])],Xe=[[/^contain-(.*)$/,([,t])=>f.bracket(t)!=null?{contain:f.bracket(t).split(" ").map(e=>f.cssvar.fraction(e)??e).join(" ")}:$s.includes(t)?{contain:t}:void 0]],Ke=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}],...S("pointer-events")],Ze=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}],...S("resize")],Je=[["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"}],...S("select","user-select")],Qe=[[/^(?:whitespace-|ws-)([-\w]+)$/,([,t])=>["normal","nowrap","pre","pre-line","pre-wrap","break-spaces",...M].includes(t)?{"white-space":t}:void 0,{autocomplete:"(whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)"}]],tr=[[/^intrinsic(?:-(block|inline|w|h))?(?:-size)?-(.+)$/,([,t,e])=>({[`contain-intrinsic-${{block:"block-size",inline:"inline-size",w:"width",h:"height"}[t]??"size"}`]:f.bracket.cssvar.global.fraction.rem(e)}),{autocomplete:["intrinsic-size-<num>","intrinsic-<num>","intrinsic-(block|inline|w|h)-<num>"]}],["content-visibility-visible",{"content-visibility":"visible"}],["content-visibility-hidden",{"content-visibility":"hidden"}],["content-visibility-auto",{"content-visibility":"auto"}],...S("content-visibility")],er=[[/^content-(.+)$/,([,t])=>({content:f.bracket.cssvar(t)})],["content-empty",{content:'""'}],["content-none",{content:"none"}]],rr=[["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"}]],nr=[["text-wrap",{"text-wrap":"wrap"}],["text-nowrap",{"text-wrap":"nowrap"}],["text-balance",{"text-wrap":"balance"}],["text-pretty",{"text-wrap":"pretty"}]],or=[["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"}]],ir=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}],...S("case","text-transform")],ar=[["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"}]],sr=[["antialiased",{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"}],["subpixel-antialiased",{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"}]],cr=[["field-sizing-fixed",{"field-sizing":"fixed"}],["field-sizing-content",{"field-sizing":"content"}]],Lt={"--un-ring-inset":A,"--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)"},ws=Object.keys(Lt),lr=[[/^ring(?:-(.+))?$/,([,t],{theme:e})=>{let r=e.ringWidth?.[t||"DEFAULT"]??f.px(t||"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:ws},autocomplete:"ring-$ringWidth"}],[/^ring-(?:width-|size-)(.+)$/,Po,{autocomplete:"ring-(width|size)-$lineWidth"}],["ring-offset",{"--un-ring-offset-width":"1px"}],[/^ring-offset-(?:width-|size-)?(.+)$/,([,t],{theme:e})=>({"--un-ring-offset-width":e.lineWidth?.[t]??f.bracket.cssvar.px(t)}),{autocomplete:"ring-offset-(width|size)-$lineWidth"}],[/^ring-(.+)$/,ks,{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,t])=>({"--un-ring-opacity":f.bracket.percent.cssvar(t)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^ring-offset-(.+)$/,B("--un-ring-offset-color","ring-offset","borderColor"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,t])=>({"--un-ring-offset-opacity":f.bracket.percent.cssvar(t)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]];function Po([,t],{theme:e}){return{"--un-ring-width":e.ringWidth?.[t]??f.bracket.cssvar.px(t)}}function ks(t,e){return ot(f.bracket(t[1]))?Po(t,e):B("--un-ring-color","ring","borderColor")(t,e)}var Ft={"--un-ring-offset-shadow":"0 0 rgb(0 0 0 / 0)","--un-ring-shadow":"0 0 rgb(0 0 0 / 0)","--un-shadow-inset":A,"--un-shadow":"0 0 rgb(0 0 0 / 0)"},Ss=Object.keys(Ft),fr=[[/^shadow(?:-(.+))?$/,(t,e)=>{let[,r]=t,{theme:n}=e,o=n.boxShadow?.[r||"DEFAULT"],i=r?f.bracket.cssvar(r):void 0;return(o!=null||i!=null)&&!gt(i,n,"shadowColor")?{"--un-shadow":ht(o||i,"--un-shadow-color").join(","),"box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"}:B("--un-shadow-color","shadow","shadowColor")(t,e)},{custom:{preflightKeys:Ss},autocomplete:["shadow-$colors","shadow-$boxShadow"]}],[/^shadow-op(?:acity)?-?(.+)$/,([,t])=>({"--un-shadow-opacity":f.bracket.percent.cssvar(t)}),{autocomplete:"shadow-(op|opacity)-<percent>"}],["shadow-inset",{"--un-shadow-inset":"inset"}]],Cs={h:"height",w:"width",inline:"inline-size",block:"block-size"};function zt(t,e){return`${t||""}${Cs[e]}`}function $e(t,e,r,n){let o=r[zt(t,e).replace(/-(\w)/g,(i,a)=>a.toUpperCase())]?.[n];if(o!=null)return o;switch(n){case"fit":case"max":case"min":return`${n}-content`;case"stretch":return"stretch"}return f.bracket.cssvar.global.auto.fraction.rem(n)}var ur=[[/^size-(min-|max-)?(.+)$/,([,t,e],{theme:r})=>({[zt(t,"w")]:$e(t,"w",r,e),[zt(t,"h")]:$e(t,"h",r,e)})],[/^(?:size-)?(min-|max-)?([wh])-?(.+)$/,([,t,e,r],{theme:n})=>({[zt(t,e)]:$e(t,e,n,r)})],[/^(?:size-)?(min-|max-)?(block|inline)-(.+)$/,([,t,e,r],{theme:n})=>({[zt(t,e)]:$e(t,e,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-(.+)$/,([,t,e,r],n)=>({[zt(t,e)]:Eo(n,r,"verticalBreakpoints")})],[/^(?:size-)?(min-|max-)?(w)-screen-(.+)$/,([,t,e,r],n)=>({[zt(t,e)]:Eo(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 Eo(t,e,r="breakpoints"){let n=Q(t,r);if(n)return n.find(o=>o.point===e)?.size}function Es(t){if(/^\d+\/\d+$/.test(t))return t;switch(t){case"square":return"1/1";case"video":return"16/9"}return f.bracket.cssvar.global.auto.number(t)}var dr=[[/^(?:size-)?aspect-(?:ratio-)?(.+)$/,([,t])=>({"aspect-ratio":Es(t)}),{autocomplete:["aspect-(square|video|ratio)","aspect-ratio-(square|video)"]}]],pr=[[/^pa?()-?(.+)$/,O("padding"),{autocomplete:["(m|p)<num>","(m|p)-<num>"]}],[/^p-?xy()()$/,O("padding"),{autocomplete:"(m|p)-(xy)"}],[/^p-?([xy])(?:-?(.+))?$/,O("padding")],[/^p-?([rltbse])(?:-?(.+))?$/,O("padding"),{autocomplete:"(m|p)<directions>-<num>"}],[/^p-(block|inline)(?:-(.+))?$/,O("padding"),{autocomplete:"(m|p)-(block|inline)-<num>"}],[/^p-?([bi][se])(?:-?(.+))?$/,O("padding"),{autocomplete:"(m|p)-(bs|be|is|ie)-<num>"}]],mr=[[/^ma?()-?(.+)$/,O("margin")],[/^m-?xy()()$/,O("margin")],[/^m-?([xy])(?:-?(.+))?$/,O("margin")],[/^m-?([rltbse])(?:-?(.+))?$/,O("margin")],[/^m-(block|inline)(?:-(.+))?$/,O("margin")],[/^m-?([bi][se])(?:-?(.+))?$/,O("margin")]],hr=[[/^fill-(.+)$/,B("fill","fill","backgroundColor"),{autocomplete:"fill-$colors"}],[/^fill-op(?:acity)?-?(.+)$/,([,t])=>({"--un-fill-opacity":f.bracket.percent.cssvar(t)}),{autocomplete:"fill-(op|opacity)-<percent>"}],["fill-none",{fill:"none"}],[/^stroke-(?:width-|size-)?(.+)$/,Lo,{autocomplete:["stroke-width-$lineWidth","stroke-size-$lineWidth"]}],[/^stroke-dash-(.+)$/,([,t])=>({"stroke-dasharray":f.bracket.cssvar.number(t)}),{autocomplete:"stroke-dash-<num>"}],[/^stroke-offset-(.+)$/,([,t],{theme:e})=>({"stroke-dashoffset":e.lineWidth?.[t]??f.bracket.cssvar.px.numberWithUnit(t)}),{autocomplete:"stroke-offset-$lineWidth"}],[/^stroke-(.+)$/,zs,{autocomplete:"stroke-$colors"}],[/^stroke-op(?:acity)?-?(.+)$/,([,t])=>({"--un-stroke-opacity":f.bracket.percent.cssvar(t)}),{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 Lo([,t],{theme:e}){return{"stroke-width":e.lineWidth?.[t]??f.bracket.cssvar.fraction.px.number(t)}}function zs(t,e){return ot(f.bracket(t[1]))?Lo(t,e):B("stroke","stroke","borderColor")(t,e)}var we=["translate","rotate","scale"],js=["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(" "),jt=["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(" "),_s=["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(" "),Bt={"--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},at=Object.keys(Bt),gr=[[/^(?:transform-)?origin-(.+)$/,([,t])=>({"transform-origin":N[t]??f.bracket.cssvar(t)}),{autocomplete:[`transform-origin-(${Object.keys(N).join("|")})`,`origin-(${Object.keys(N).join("|")})`]}],[/^(transform-)?perspect(?:ive)?-(.+)$/,([,t,e])=>{let r=f.bracket.cssvar.px.numberWithUnit(e);if(r!=null)return t?{"--un-perspective":`perspective(${r})`,transform:`var(--un-perspective) ${jt}`}:{"-webkit-perspective":r,perspective:r}}],[/^perspect(?:ive)?-origin-(.+)$/,([,t])=>{let e=f.bracket.cssvar(t)??(t.length>=3?N[t]:void 0);if(e!=null)return{"-webkit-perspective-origin":e,"perspective-origin":e}}],[/^(?:transform-)?translate-()(.+)$/,zo,{custom:{preflightKeys:at}}],[/^(?:transform-)?translate-([xyz])-(.+)$/,zo,{custom:{preflightKeys:at}}],[/^(?:transform-)?rotate-()(.+)$/,_o,{custom:{preflightKeys:at}}],[/^(?:transform-)?rotate-([xyz])-(.+)$/,_o,{custom:{preflightKeys:at}}],[/^(?:transform-)?skew-()(.+)$/,Ao,{custom:{preflightKeys:at}}],[/^(?:transform-)?skew-([xy])-(.+)$/,Ao,{custom:{preflightKeys:at},autocomplete:["transform-skew-(x|y)-<percent>","skew-(x|y)-<percent>"]}],[/^(?:transform-)?scale-()(.+)$/,jo,{custom:{preflightKeys:at}}],[/^(?:transform-)?scale-([xyz])-(.+)$/,jo,{custom:{preflightKeys:at},autocomplete:[`transform-(${we.join("|")})-<percent>`,`transform-(${we.join("|")})-(x|y|z)-<percent>`,`(${we.join("|")})-<percent>`,`(${we.join("|")})-(x|y|z)-<percent>`]}],[/^(?:transform-)?preserve-3d$/,()=>({"transform-style":"preserve-3d"})],[/^(?:transform-)?preserve-flat$/,()=>({"transform-style":"flat"})],["transform",{transform:jt},{custom:{preflightKeys:at}}],["transform-cpu",{transform:js},{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:_s},{custom:{preflightKeys:at}}],["transform-none",{transform:"none"}],...S("transform")];function zo([,t,e],{theme:r}){let n=r.spacing?.[e]??f.bracket.cssvar.fraction.rem(e);if(n!=null)return[...Et(t,n,"translate"),["transform",jt]]}function jo([,t,e]){let r=f.bracket.cssvar.fraction.percent(e);if(r!=null)return[...Et(t,r,"scale"),["transform",jt]]}function _o([,t="",e]){let r=f.bracket.cssvar.degree(e);if(r!=null)return t?{"--un-rotate":0,[`--un-rotate-${t}`]:r,transform:jt}:{"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-rotate":r,transform:jt}}function Ao([,t,e]){let r=f.bracket.cssvar.degree(e);if(r!=null)return[...Et(t,r,"skew"),["transform",jt]]}function Ro(t,e){let r;if(f.cssvar(t)!=null)r=f.cssvar(t);else{t.startsWith("[")&&t.endsWith("]")&&(t=t.slice(1,-1));let n=t.split(",").map(o=>e.transitionProperty?.[o]??f.properties(o));n.every(Boolean)&&(r=n.join(","))}return r}var br=[[/^transition(?:-(\D+?))?(?:-(\d+))?$/,([,t,e],{theme:r})=>{if(!t&&!e)return{"transition-property":r.transitionProperty?.DEFAULT,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":r.duration?.DEFAULT??f.time("150")};if(t!=null){let n=Ro(t,r),o=r.duration?.[e||"DEFAULT"]??f.time(e||"150");if(n)return{"transition-property":n,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":o}}else if(e!=null)return{"transition-property":r.transitionProperty?.DEFAULT,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":r.duration?.[e]??f.time(e)}},{autocomplete:"transition-$transitionProperty-$duration"}],[/^(?:transition-)?duration-(.+)$/,([,t],{theme:e})=>({"transition-duration":e.duration?.[t||"DEFAULT"]??f.bracket.cssvar.time(t)}),{autocomplete:["transition-duration-$duration","duration-$duration"]}],[/^(?:transition-)?delay-(.+)$/,([,t],{theme:e})=>({"transition-delay":e.duration?.[t||"DEFAULT"]??f.bracket.cssvar.time(t)}),{autocomplete:["transition-delay-$duration","delay-$duration"]}],[/^(?:transition-)?ease(?:-(.+))?$/,([,t],{theme:e})=>({"transition-timing-function":e.easing?.[t||"DEFAULT"]??f.bracket.cssvar(t)}),{autocomplete:["transition-ease-(linear|in|out|in-out|DEFAULT)","ease-(linear|in|out|in-out|DEFAULT)"]}],[/^(?:transition-)?property-(.+)$/,([,t],{theme:e})=>{let r=f.global(t)||Ro(t,e);if(r)return{"transition-property":r}},{autocomplete:[`transition-property-(${[...M].join("|")})`,"transition-property-$transitionProperty","property-$transitionProperty"]}],["transition-none",{transition:"none"}],...S("transition"),["transition-discrete",{"transition-behavior":"allow-discrete"}],["transition-normal",{"transition-behavior":"normal"}]],yr=[[/^text-(.+)$/,Rs,{autocomplete:"text-$fontSize"}],[/^(?:text|font)-size-(.+)$/,Fo,{autocomplete:"text-size-$fontSize"}],[/^text-(?:color-)?(.+)$/,As,{autocomplete:"text-$colors"}],[/^(?:color|c)-(.+)$/,B("color","text","textColor"),{autocomplete:"(color|c)-$colors"}],[/^(?:text|color|c)-(.+)$/,([,t])=>M.includes(t)?{color:t}:void 0,{autocomplete:`(text|color|c)-(${M.join("|")})`}],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,t])=>({"--un-text-opacity":f.bracket.percent.cssvar(t)}),{autocomplete:"(text|color|c)-(op|opacity)-<percent>"}],[/^(?:font|fw)-?([^-]+)$/,([,t],{theme:e})=>({"font-weight":e.fontWeight?.[t]||f.bracket.global.number(t)}),{autocomplete:["(font|fw)-(100|200|300|400|500|600|700|800|900)","(font|fw)-$fontWeight"]}],[/^(?:font-)?(?:leading|lh|line-height)-(.+)$/,([,t],{theme:e})=>({"line-height":sn(t,e,"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-(.+)$/,([,t])=>({"font-synthesis":f.bracket.cssvar.global(t)})],[/^(?:font-)?tracking-(.+)$/,([,t],{theme:e})=>({"letter-spacing":e.letterSpacing?.[t]||f.bracket.cssvar.global.rem(t)}),{autocomplete:"tracking-$letterSpacing"}],[/^(?:font-)?word-spacing-(.+)$/,([,t],{theme:e})=>({"word-spacing":e.wordSpacing?.[t]||f.bracket.cssvar.global.rem(t)}),{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-(.+)$/,([,t])=>({"font-stretch":f.bracket.cssvar.fraction.global(t)}),{autocomplete:"font-stretch-<percentage>"}],[/^font-(.+)$/,([,t],{theme:e})=>({"font-family":e.fontFamily?.[t]||f.bracket.cssvar.global(t)}),{autocomplete:"font-$fontFamily"}]],xr=[[/^tab(?:-(.+))?$/,([,t])=>{let e=f.bracket.cssvar.global.number(t||"4");if(e!=null)return{"-moz-tab-size":e,"-o-tab-size":e,"tab-size":e}}]],vr=[[/^indent(?:-(.+))?$/,([,t],{theme:e})=>({"text-indent":e.textIndent?.[t||"DEFAULT"]||f.bracket.cssvar.global.fraction.rem(t)}),{autocomplete:"indent-$textIndent"}]],$r=[[/^text-stroke(?:-(.+))?$/,([,t],{theme:e})=>({"-webkit-text-stroke-width":e.textStrokeWidth?.[t||"DEFAULT"]||f.bracket.cssvar.px(t)}),{autocomplete:"text-stroke-$textStrokeWidth"}],[/^text-stroke-(.+)$/,B("-webkit-text-stroke-color","text-stroke","borderColor"),{autocomplete:"text-stroke-$colors"}],[/^text-stroke-op(?:acity)?-?(.+)$/,([,t])=>({"--un-text-stroke-opacity":f.bracket.percent.cssvar(t)}),{autocomplete:"text-stroke-(op|opacity)-<percent>"}]],wr=[[/^text-shadow(?:-(.+))?$/,([,t],{theme:e})=>{let r=e.textShadow?.[t||"DEFAULT"];return r!=null?{"--un-text-shadow":ht(r,"--un-text-shadow-color").join(","),"text-shadow":"var(--un-text-shadow)"}:{"text-shadow":f.bracket.cssvar.global(t)}},{autocomplete:"text-shadow-$textShadow"}],[/^text-shadow-color-(.+)$/,B("--un-text-shadow-color","text-shadow","shadowColor"),{autocomplete:"text-shadow-color-$colors"}],[/^text-shadow-color-op(?:acity)?-?(.+)$/,([,t])=>({"--un-text-shadow-opacity":f.bracket.percent.cssvar(t)}),{autocomplete:"text-shadow-color-(op|opacity)-<percent>"}]];function sn(t,e,r){return e[r]?.[t]||f.bracket.cssvar.global.rem(t)}function Fo([,t],{theme:e}){let r=j(e.fontSize?.[t])?.[0]??f.bracket.cssvar.global.rem(t);if(r!=null)return{"font-size":r}}function As(t,e){return ot(f.bracket(t[1]))?Fo(t,e):B("color","text","textColor")(t,e)}function Rs([,t="base"],{theme:e}){let r=Ot(t,"length");if(!r)return;let[n,o]=r,i=j(e.fontSize?.[n]),a=o?sn(o,e,"lineHeight"):void 0;if(i?.[0]){let[c,l,u]=i;return typeof l=="object"?{"font-size":c,...l}:{"font-size":c,"line-height":a??l??"1","letter-spacing":u?sn(u,e,"letterSpacing"):void 0}}let s=f.bracketOfLength.rem(n);return a&&s?{"font-size":s,"line-height":a}:{"font-size":f.bracketOfLength.rem(t)}}var Ms={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"},kr=[[/^(.+?)-(\$.+)$/,([,t,e])=>{let r=Ms[t];if(r)return{[r]:f.cssvar(e)}}]],Sr=[[/^\[(.*)\]$/,([t,e])=>{if(!e.includes(":"))return;let[r,...n]=e.split(":"),o=n.join(":");if(!Ps(e)&&/^[\w-]+$/.test(r)&&Os(o)){let i=f.bracket(`[${o}]`);if(i)return{[r]:i}}}]];function Os(t){let e=0;function r(n){for(;e<t.length;)if(e+=1,t[e]===n)return!0;return!1}for(e=0;e<t.length;e++){let n=t[e];if("\"`'".includes(n)){if(!r(n))return!1}else if(n==="("){if(!r(")"))return!1}else if("[]{}:".includes(n))return!1}return!0}function Ps(t){if(!t.includes("://"))return!1;try{return new URL(t).host!==""}catch{return!1}}var cn=[kr,Sr,Xe,Ke,He,Te,Ie,De,We,Fe,Ue,mr,Ve,qe,dr,ur,Pe,gr,Ye,Je,Ze,Ee,Zt,Kt,Xt,Le,Ne,Be,or,Qe,rr,je,Ae,Re,hr,pr,Se,vr,nr,ke,yr,ir,ar,Oe,sr,xr,$r,wr,_e,fr,Ce,lr,br,ze,tr,er,Me,cr,Ge].flat(1);var Fs=[[/^(?:animate-)?keyframes-(.+)$/,([,t],{theme:e})=>{let r=e.animation?.keyframes?.[t];if(r)return[`@keyframes ${t}${r}`,{animation:t}]},{autocomplete:["animate-keyframes-$animation.keyframes","keyframes-$animation.keyframes"]}],[/^animate-(.+)$/,([,t],{theme:e})=>{let r=e.animation?.keyframes?.[t];if(r){let n=e.animation?.durations?.[t]??"1s",o=e.animation?.timingFns?.[t]??"linear",i=e.animation?.counts?.[t]??1,a=e.animation?.properties?.[t];return[`@keyframes ${t}${r}`,{animation:`${t} ${n} ${o} ${i}`,...a}]}return{animation:f.bracket.cssvar(t)}},{autocomplete:"animate-$animation.keyframes"}],[/^animate-name-(.+)/,([,t])=>({"animation-name":f.bracket.cssvar(t)??t})],[/^animate-duration-(.+)$/,([,t],{theme:e})=>({"animation-duration":e.duration?.[t||"DEFAULT"]??f.bracket.cssvar.time(t)}),{autocomplete:["animate-duration","animate-duration-$duration"]}],[/^animate-delay-(.+)$/,([,t],{theme:e})=>({"animation-delay":e.duration?.[t||"DEFAULT"]??f.bracket.cssvar.time(t)}),{autocomplete:["animate-delay","animate-delay-$duration"]}],[/^animate-ease(?:-(.+))?$/,([,t],{theme:e})=>({"animation-timing-function":e.easing?.[t||"DEFAULT"]??f.bracket.cssvar(t)}),{autocomplete:["animate-ease","animate-ease-$easing"]}],[/^animate-(fill-mode-|fill-|mode-)?(.+)$/,([,t,e])=>["none","forwards","backwards","both",t?M:[]].includes(e)?{"animation-fill-mode":e}: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-)?(.+)$/,([,t,e])=>["normal","reverse","alternate","alternate-reverse",t?M:[]].includes(e)?{"animation-direction":e}: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-)(.+)$/,([,t])=>({"animation-iteration-count":f.bracket.cssvar(t)??t.replace(/-/g,",")}),{autocomplete:["animate-(iteration|count|iteration-count)","animate-(iteration|count|iteration-count)-<num>"]}],[/^animate-(play-state-|play-|state-)?(.+)$/,([,t,e])=>["paused","running",t?M:[]].includes(e)?{"animation-play-state":e}: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"}],...S("animate","animation")];function Bo(t){return t?W(t,0):"rgb(255 255 255 / 0)"}function Bs(t,e,r,n){return e?n!=null?W(e,n):W(e,`var(--un-${t}-opacity, ${mt(e)})`):W(r,n)}function ln(){return([,t,e],{theme:r})=>{let n=nt(e,r,"backgroundColor");if(!n)return;let{alpha:o,color:i,cssColor:a}=n;if(!i)return;let s=Bs(t,a,i,o);switch(t){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":`${Bo(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":Bo(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 Ts(){return([,t,e])=>({[`--un-gradient-${t}-position`]:`${Number(f.bracket.cssvar.percent(e))*100}%`})}var Ws=[[/^bg-gradient-(.+)$/,([,t])=>({"--un-gradient":f.bracket(t)}),{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-(\[.+\])$/,([,t])=>({"--un-gradient-stops":f.bracket(t)})],[/^(?:bg-gradient-)?(from)-(.+)$/,ln()],[/^(?:bg-gradient-)?(via)-(.+)$/,ln()],[/^(?:bg-gradient-)?(to)-(.+)$/,ln()],[/^(?:bg-gradient-)?(from|via|to)-op(?:acity)?-?(.+)$/,([,t,e])=>({[`--un-${t}-opacity`]:f.bracket.percent(e)})],[/^(from|via|to)-([\d.]+)%$/,Ts()],[/^bg-gradient-((?:repeating-)?(?:linear|radial|conic))$/,([,t])=>({"background-image":`${t}-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})$/,([,t])=>{if(t in N)return{"--un-gradient-shape":`to ${N[t]} 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(N).filter(t=>t.length<=2&&Array.from(t).every(e=>"rltb".includes(e))).join("|")})`}],[/^(?:bg-gradient-)?shape-(.+)$/,([,t])=>{let e=t in N?`to ${N[t]}`:f.bracket(t);if(e!=null)return{"--un-gradient-shape":`${e} in oklch`,"--un-gradient":"var(--un-gradient-shape), var(--un-gradient-stops)"}},{autocomplete:["bg-gradient-shape",`bg-gradient-shape-(${Object.keys(N).join("|")})`,`shape-(${Object.keys(N).join("|")})`]}],["bg-none",{"background-image":"none"}],["box-decoration-slice",{"box-decoration-break":"slice"}],["box-decoration-clone",{"box-decoration-break":"clone"}],...S("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"}],...M.map(t=>[`bg-clip-${t}`,{"-webkit-background-clip":t,"background-clip":t}]),[/^bg-([-\w]{3,})$/,([,t])=>({"background-position":N[t]})],["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"}],...S("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"}],...S("bg-origin","background-origin")],fn={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"},Ns=[[/^list-(.+?)(?:-(outside|inside))?$/,([,t,e])=>{let r=fn[t];if(r)return e?{"list-style-position":e,"list-style-type":r}:{"list-style-type":r}},{autocomplete:[`list-(${Object.keys(fn).join("|")})`,`list-(${Object.keys(fn).join("|")})-(outside|inside)`]}],["list-outside",{"list-style-position":"outside"}],["list-inside",{"list-style-position":"inside"}],["list-none",{"list-style-type":"none"}],[/^list-image-(.+)$/,([,t])=>{if(/^\[url\(.+\)\]$/.test(t))return{"list-style-image":f.bracket(t)}}],["list-image-none",{"list-style-image":"none"}],...S("list","list-style-type")],Is=[[/^accent-(.+)$/,B("accent-color","accent","accentColor"),{autocomplete:"accent-$colors"}],[/^accent-op(?:acity)?-?(.+)$/,([,t])=>({"--un-accent-opacity":f.bracket.percent(t)}),{autocomplete:["accent-(op|opacity)","accent-(op|opacity)-<percent>"]}]],Us=[[/^caret-(.+)$/,B("caret-color","caret","textColor"),{autocomplete:"caret-$colors"}],[/^caret-op(?:acity)?-?(.+)$/,([,t])=>({"--un-caret-opacity":f.bracket.percent(t)}),{autocomplete:["caret-(op|opacity)","caret-(op|opacity)-<percent>"]}]],Ds=[["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"]]]],Vs=[["overscroll-auto",{"overscroll-behavior":"auto"}],["overscroll-contain",{"overscroll-behavior":"contain"}],["overscroll-none",{"overscroll-behavior":"none"}],...S("overscroll","overscroll-behavior"),["overscroll-x-auto",{"overscroll-behavior-x":"auto"}],["overscroll-x-contain",{"overscroll-behavior-x":"contain"}],["overscroll-x-none",{"overscroll-behavior-x":"none"}],...S("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"}],...S("overscroll-y","overscroll-behavior-y")],Gs=[["scroll-auto",{"scroll-behavior":"auto"}],["scroll-smooth",{"scroll-behavior":"smooth"}],...S("scroll","scroll-behavior")],qs=[[/^columns-(.+)$/,([,t],{theme:e})=>e.containers&&t in e.containers?{columns:e.containers[t]}:{columns:f.bracket.numberWithUnit.number.cssvar(t)},{autocomplete:["columns-<num>","columns-$containers"]}],["columns-auto",{columns:"auto"}],["break-before-auto",{"break-before":"auto"}],["break-before-avoid",{"break-before":"avoid"}],["break-before-all",{"break-before":"all"}],["break-before-avoid-page",{"break-before":"avoid-page"}],["break-before-page",{"break-before":"page"}],["break-before-left",{"break-before":"left"}],["break-before-right",{"break-before":"right"}],["break-before-column",{"break-before":"column"}],...S("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"}],...S("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"}],...S("break-after")],Hs=[[/^divide-?([xy])$/,Cr,{autocomplete:["divide-(x|y|block|inline)","divide-(x|y|block|inline)-reverse","divide-(x|y|block|inline)-$lineWidth"]}],[/^divide-?([xy])-?(.+)$/,Cr],[/^divide-?([xy])-reverse$/,([,t])=>({[`--un-divide-${t}-reverse`]:1})],[/^divide-(block|inline)$/,Cr],[/^divide-(block|inline)-(.+)$/,Cr],[/^divide-(block|inline)-reverse$/,([,t])=>({[`--un-divide-${t}-reverse`]:1})],[/^divide-(.+)$/,B("border-color","divide","borderColor"),{autocomplete:"divide-$colors"}],[/^divide-op(?:acity)?-?(.+)$/,([,t])=>({"--un-divide-opacity":f.bracket.percent(t)}),{autocomplete:["divide-(op|opacity)","divide-(op|opacity)-<percent>"]}],...bt.map(t=>[`divide-${t}`,{"border-style":t}])];function Cr([,t,e],{theme:r}){let n=r.lineWidth?.[e||"DEFAULT"]??f.bracket.cssvar.px(e||"1");if(n!=null){n==="0"&&(n="0px");let o=U[t].map(i=>[`border${i}-width`,i.endsWith("right")||i.endsWith("bottom")?`calc(${n} * var(--un-divide-${t}-reverse))`:`calc(${n} * calc(1 - var(--un-divide-${t}-reverse)))`]);if(o)return[[`--un-divide-${t}-reverse`,0],...o]}}var mn={"--un-blur":A,"--un-brightness":A,"--un-contrast":A,"--un-drop-shadow":A,"--un-grayscale":A,"--un-hue-rotate":A,"--un-invert":A,"--un-saturate":A,"--un-sepia":A},Do=Object.keys(mn),To={preflightKeys:Do},Er="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)",hn={"--un-backdrop-blur":A,"--un-backdrop-brightness":A,"--un-backdrop-contrast":A,"--un-backdrop-grayscale":A,"--un-backdrop-hue-rotate":A,"--un-backdrop-invert":A,"--un-backdrop-opacity":A,"--un-backdrop-saturate":A,"--un-backdrop-sepia":A},Vo=Object.keys(hn),Ys={preflightKeys:Vo},zr="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)",ft={preflightKeys:[...Do,...Vo]};function un(t){let e=f.bracket.cssvar(t||"");if(e!=null||(e=t?f.percent(t):"1",e!=null&&Number.parseFloat(e)<=1))return e}function ut(t,e){return([,r,n],{theme:o})=>{let i=e(n,o)??(n==="none"?"0":"");if(i!=="")return r?{[`--un-${r}${t}`]:`${t}(${i})`,"-webkit-backdrop-filter":zr,"backdrop-filter":zr}:{[`--un-${t}`]:`${t}(${i})`,filter:Er}}}function Xs([,t],{theme:e}){let r=e.dropShadow?.[t||"DEFAULT"];if(r!=null)return{"--un-drop-shadow":`drop-shadow(${ht(r,"--un-drop-shadow-color").join(") drop-shadow(")})`,filter:Er};if(r=f.bracket.cssvar(t),r!=null)return{"--un-drop-shadow":`drop-shadow(${r})`,filter:Er}}var Ks=[[/^(?:(backdrop-)|filter-)?blur(?:-(.+))?$/,ut("blur",(t,e)=>e.blur?.[t||"DEFAULT"]||f.bracket.cssvar.px(t)),{custom:ft,autocomplete:["(backdrop|filter)-blur-$blur","blur-$blur","filter-blur"]}],[/^(?:(backdrop-)|filter-)?brightness-(.+)$/,ut("brightness",t=>f.bracket.cssvar.percent(t)),{custom:ft,autocomplete:["(backdrop|filter)-brightness-<percent>","brightness-<percent>"]}],[/^(?:(backdrop-)|filter-)?contrast-(.+)$/,ut("contrast",t=>f.bracket.cssvar.percent(t)),{custom:ft,autocomplete:["(backdrop|filter)-contrast-<percent>","contrast-<percent>"]}],[/^(?:filter-)?drop-shadow(?:-(.+))?$/,Xs,{custom:To,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-(.+)$/,B("--un-drop-shadow-color","drop-shadow","shadowColor")],[/^(?:filter-)?drop-shadow-color-op(?:acity)?-?(.+)$/,([,t])=>({"--un-drop-shadow-opacity":f.bracket.percent(t)})],[/^(?:(backdrop-)|filter-)?grayscale(?:-(.+))?$/,ut("grayscale",un),{custom:ft,autocomplete:["(backdrop|filter)-grayscale","(backdrop|filter)-grayscale-<percent>","grayscale-<percent>"]}],[/^(?:(backdrop-)|filter-)?hue-rotate-(.+)$/,ut("hue-rotate",t=>f.bracket.cssvar.degree(t)),{custom:ft}],[/^(?:(backdrop-)|filter-)?invert(?:-(.+))?$/,ut("invert",un),{custom:ft,autocomplete:["(backdrop|filter)-invert","(backdrop|filter)-invert-<percent>","invert-<percent>"]}],[/^(backdrop-)op(?:acity)?-(.+)$/,ut("opacity",t=>f.bracket.cssvar.percent(t)),{custom:ft,autocomplete:["backdrop-(op|opacity)","backdrop-(op|opacity)-<percent>"]}],[/^(?:(backdrop-)|filter-)?saturate-(.+)$/,ut("saturate",t=>f.bracket.cssvar.percent(t)),{custom:ft,autocomplete:["(backdrop|filter)-saturate","(backdrop|filter)-saturate-<percent>","saturate-<percent>"]}],[/^(?:(backdrop-)|filter-)?sepia(?:-(.+))?$/,ut("sepia",un),{custom:ft,autocomplete:["(backdrop|filter)-sepia","(backdrop|filter)-sepia-<percent>","sepia-<percent>"]}],["filter",{filter:Er},{custom:To}],["backdrop-filter",{"-webkit-backdrop-filter":zr,"backdrop-filter":zr},{custom:Ys}],["filter-none",{filter:"none"}],["backdrop-filter-none",{"-webkit-backdrop-filter":"none","backdrop-filter":"none"}],...M.map(t=>[`filter-${t}`,{filter:t}]),...M.map(t=>[`backdrop-filter-${t}`,{"-webkit-backdrop-filter":t,"backdrop-filter":t}])],Zs=[[/^line-clamp-(\d+)$/,([,t])=>({overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":t,"line-clamp":t}),{autocomplete:["line-clamp","line-clamp-<num>"]}],...["none",...M].map(t=>[`line-clamp-${t}`,{overflow:"visible",display:"block","-webkit-box-orient":"horizontal","-webkit-line-clamp":t,"line-clamp":t}])],Js=[[/^\$ placeholder-(.+)$/,B("color","placeholder","accentColor"),{autocomplete:"placeholder-$colors"}],[/^\$ placeholder-op(?:acity)?-?(.+)$/,([,t])=>({"--un-placeholder-opacity":f.bracket.percent(t)}),{autocomplete:["placeholder-(op|opacity)","placeholder-(op|opacity)-<percent>"]}]],gn={"--un-scroll-snap-strictness":"proximity"},Wo={preflightKeys:Object.keys(gn)},Qs=[[/^snap-(x|y)$/,([,t])=>({"scroll-snap-type":`${t} var(--un-scroll-snap-strictness)`}),{custom:Wo,autocomplete:"snap-(x|y|both)"}],[/^snap-both$/,()=>({"scroll-snap-type":"both var(--un-scroll-snap-strictness)"}),{custom:Wo}],["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?()-?(.+)$/,O("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])-?(.+)$/,O("scroll-margin")],[/^scroll-m-?([rltb])-?(.+)$/,O("scroll-margin")],[/^scroll-m-(block|inline)-(.+)$/,O("scroll-margin")],[/^scroll-m-?([bi][se])-?(.+)$/,O("scroll-margin")],[/^scroll-pa?()-?(.+)$/,O("scroll-padding")],[/^scroll-p-?([xy])-?(.+)$/,O("scroll-padding")],[/^scroll-p-?([rltb])-?(.+)$/,O("scroll-padding")],[/^scroll-p-(block|inline)-(.+)$/,O("scroll-padding")],[/^scroll-p-?([bi][se])-?(.+)$/,O("scroll-padding")]],tc=[[/^space-([xy])-(.+)$/,No,{autocomplete:["space-(x|y|block|inline)","space-(x|y|block|inline)-reverse","space-(x|y|block|inline)-$spacing"]}],[/^space-([xy])-reverse$/,([,t])=>({[`--un-space-${t}-reverse`]:1})],[/^space-(block|inline)-(.+)$/,No],[/^space-(block|inline)-reverse$/,([,t])=>({[`--un-space-${t}-reverse`]:1})]];function No([,t,e],{theme:r}){let n=r.spacing?.[e||"DEFAULT"]??f.bracket.cssvar.auto.fraction.rem(e||"1");if(n!=null){n==="0"&&(n="0px");let o=U[t].map(i=>[`margin${i}`,i.endsWith("right")||i.endsWith("bottom")?`calc(${n} * var(--un-space-${t}-reverse))`:`calc(${n} * calc(1 - var(--un-space-${t}-reverse)))`]);if(o)return[[`--un-space-${t}-reverse`,0],...o]}}var ec=[["uppercase",{"text-transform":"uppercase"}],["lowercase",{"text-transform":"lowercase"}],["capitalize",{"text-transform":"capitalize"}],["normal-case",{"text-transform":"none"}]],rc=[...["manual","auto","none",...M].map(t=>[`hyphens-${t}`,{"-webkit-hyphens":t,"-ms-hyphens":t,hyphens:t}])],nc=[["write-vertical-right",{"writing-mode":"vertical-rl"}],["write-vertical-left",{"writing-mode":"vertical-lr"}],["write-normal",{"writing-mode":"horizontal-tb"}],...S("write","writing-mode")],oc=[["write-orient-mixed",{"text-orientation":"mixed"}],["write-orient-sideways",{"text-orientation":"sideways"}],["write-orient-upright",{"text-orientation":"upright"}],...S("write-orient","text-orientation")],ic=[["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"}]],ac=[["isolate",{isolation:"isolate"}],["isolate-auto",{isolation:"auto"}],["isolation-auto",{isolation:"auto"}]],sc=[["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-(.+)$/,([,t])=>{if(N[t])return{"object-position":N[t]};if(f.bracketOfPosition(t)!=null)return{"object-position":f.bracketOfPosition(t).split(" ").map(e=>f.position.fraction.auto.px.cssvar(e)??e).join(" ")}},{autocomplete:`object-(${Object.keys(N).join("|")})`}]],cc=[["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"}],...S("bg-blend","background-blend")],lc=[["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"}],...S("mix-blend")],fc=[["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"}]],bn={"--un-border-spacing-x":0,"--un-border-spacing-y":0},Io={preflightKeys:Object.keys(bn)},Uo="var(--un-border-spacing-x) var(--un-border-spacing-y)",uc=[["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-(.+)$/,([,t],{theme:e})=>{let r=e.spacing?.[t]??f.bracket.cssvar.global.auto.fraction.rem(t);if(r!=null)return{"--un-border-spacing-x":r,"--un-border-spacing-y":r,"border-spacing":Uo}},{custom:Io,autocomplete:["border-spacing","border-spacing-$spacing"]}],[/^border-spacing-([xy])-(.+)$/,([,t,e],{theme:r})=>{let n=r.spacing?.[e]??f.bracket.cssvar.global.auto.fraction.rem(e);if(n!=null)return{[`--un-border-spacing-${t}`]:n,"border-spacing":Uo}},{custom:Io,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"}]],yn={"--un-pan-x":A,"--un-pan-y":A,"--un-pinch-zoom":A},dn={preflightKeys:Object.keys(yn)},pn="var(--un-pan-x) var(--un-pan-y) var(--un-pinch-zoom)",dc=[[/^touch-pan-(x|left|right)$/,([,t])=>({"--un-pan-x":`pan-${t}`,"touch-action":pn}),{custom:dn,autocomplete:["touch-pan","touch-pan-(x|left|right|y|up|down)"]}],[/^touch-pan-(y|up|down)$/,([,t])=>({"--un-pan-y":`pan-${t}`,"touch-action":pn}),{custom:dn}],["touch-pinch-zoom",{"--un-pinch-zoom":"pinch-zoom","touch-action":pn},{custom:dn}],["touch-auto",{"touch-action":"auto"}],["touch-manipulation",{"touch-action":"manipulation"}],["touch-none",{"touch-action":"none"}],...S("touch","touch-action")],xn={"--un-ordinal":A,"--un-slashed-zero":A,"--un-numeric-figure":A,"--un-numeric-spacing":A,"--un-numeric-fraction":A},yt={preflightKeys:Object.keys(xn)};function xt(t){return{...t,"font-variant-numeric":"var(--un-ordinal) var(--un-slashed-zero) var(--un-numeric-figure) var(--un-numeric-spacing) var(--un-numeric-fraction)"}}var pc=[[/^ordinal$/,()=>xt({"--un-ordinal":"ordinal"}),{custom:yt,autocomplete:"ordinal"}],[/^slashed-zero$/,()=>xt({"--un-slashed-zero":"slashed-zero"}),{custom:yt,autocomplete:"slashed-zero"}],[/^lining-nums$/,()=>xt({"--un-numeric-figure":"lining-nums"}),{custom:yt,autocomplete:"lining-nums"}],[/^oldstyle-nums$/,()=>xt({"--un-numeric-figure":"oldstyle-nums"}),{custom:yt,autocomplete:"oldstyle-nums"}],[/^proportional-nums$/,()=>xt({"--un-numeric-spacing":"proportional-nums"}),{custom:yt,autocomplete:"proportional-nums"}],[/^tabular-nums$/,()=>xt({"--un-numeric-spacing":"tabular-nums"}),{custom:yt,autocomplete:"tabular-nums"}],[/^diagonal-fractions$/,()=>xt({"--un-numeric-fraction":"diagonal-fractions"}),{custom:yt,autocomplete:"diagonal-fractions"}],[/^stacked-fractions$/,()=>xt({"--un-numeric-fraction":"stacked-fractions"}),{custom:yt,autocomplete:"stacked-fractions"}],["normal-nums",{"font-variant-numeric":"normal"}]],mc={"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"},hc=[[/^(.+?)-(\$.+)$/,([,t,e])=>{let r=mc[t];if(r)return{[r]:f.cssvar(e)}}]],gc=[[/^view-transition-([\w-]+)$/,([,t])=>({"view-transition-name":t})]],Go=[kr,hc,Sr,$o,Xe,ic,Ke,He,Te,Ie,Zs,ac,De,We,Fe,Ue,mr,Ve,qe,dr,ur,Pe,uc,gr,Fs,Ye,dc,Je,Ze,Qs,Ns,Ee,qs,Zt,Kt,Xt,Le,Ne,tc,Hs,Be,Vs,Gs,or,Qe,rr,je,Ae,Ws,Re,hr,sc,pr,Se,vr,nr,ke,yr,ir,ec,ar,pc,Oe,sr,xr,$r,wr,rc,nc,oc,Us,Is,_e,cc,lc,fr,Ce,lr,Ds,Ks,br,ze,tr,er,Js,Me,gc,fc,cr,Ge].flat(1);var qo=[...rn];var jr={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(jr).forEach(t=>{typeof t!="string"&&t!==void 0&&(t.DEFAULT=t.DEFAULT||t[400],Object.keys(t).forEach(e=>{let r=+e/100;r===Math.round(r)&&(t[r]=t[e])}))});var Ho={DEFAULT:"8px",0:"0",sm:"4px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},Yo={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)"},Xo={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(",")},Ko={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"]},Zo={DEFAULT:"1.5rem",xs:"0.5rem",sm:"1rem",md:"1.5rem",lg:"2rem",xl:"2.5rem","2xl":"3rem","3xl":"4rem"},Jo={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},Qo={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)"]},ti={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},Sn={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},ei={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},ri=Sn,Cn={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},ni={...Cn},oi={DEFAULT:"1px",none:"0"},ii={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"},ai={DEFAULT:"150ms",none:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},si={DEFAULT:"0.25rem",none:"0",sm:"0.125rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},ci={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)"},li={DEFAULT:"3px",none:"0"},fi={auto:"auto"},ui={mouse:"(hover) and (pointer: fine)"},di={...Bt,...Ft,...Lt},st={xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",prose:"65ch"},pi={auto:"auto",...st,screen:"100vw"},vn={none:"none",...st,screen:"100vw"},mi={auto:"auto",...st,screen:"100vb"},hi={auto:"auto",...st,screen:"100vi"},gi={auto:"auto",...st,screen:"100vh"},$n={none:"none",...st,screen:"100vh"},wn={none:"none",...st,screen:"100vb"},kn={none:"none",...st,screen:"100vi"},bi={...st},bc={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)"},yc={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(",")}},Jt={width:pi,height:gi,maxWidth:vn,maxHeight:$n,minWidth:vn,minHeight:$n,inlineSize:hi,blockSize:mi,maxInlineSize:kn,maxBlockSize:wn,minInlineSize:kn,minBlockSize:wn,colors:jr,fontFamily:Xo,fontSize:Ko,fontWeight:ei,breakpoints:Cn,verticalBreakpoints:ni,borderRadius:si,lineHeight:ti,letterSpacing:Sn,wordSpacing:ri,boxShadow:ci,textIndent:Zo,textShadow:Qo,textStrokeWidth:Jo,blur:Ho,dropShadow:Yo,easing:bc,transitionProperty:yc,lineWidth:oi,spacing:ii,duration:ai,ringWidth:li,preflightBase:di,containers:bi,zIndex:fi,media:ui};var yi={...Jt,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:{...Bt,...yn,...gn,...xn,...bn,...Ft,...Lt,...mn,...hn}};var xc={name:"aria",match(t,e){let r=(0,R.variantGetParameter)("aria-",t,e.generator.config.separators);if(r){let[n,o]=r,i=f.bracket(n)??e.theme.aria?.[n]??"";if(i)return{matcher:o,selector:a=>`${a}[aria-${i}]`}}},multiPass:!0};function _r(t,e,r={}){return{name:`${t}-aria`,match(n,o){let i=(0,R.variantGetParameter)(`${t}-aria-`,n,o.generator.config.separators);if(i){let[a,s,c]=i,l=f.bracket(a)??o.theme.aria?.[a]??"";if(l){let u=!!r?.attributifyPseudo,d=r?.prefix??"";d=(Array.isArray(d)?d:[d]).filter(Boolean)[0]??"";let p=`${u?`[${d}${t}=""]`:`.${d}${t}`}`,h=Z(c?`/${c}`:"");return{matcher:s,handle:(m,x)=>{let w=new RegExp(`${K(p)}${K(h)}(?:\\[.+?\\])+`),k=m.prefix.match(w),y;if(k){let b=(k.index??0)+p.length+h.length;y=[m.prefix.slice(0,b),`[aria-${l}]`,m.prefix.slice(b)].join("")}else{let b=Math.max(m.prefix.indexOf(p),0);y=[m.prefix.slice(0,b),p,h,`[aria-${l}]`,e,m.prefix.slice(b)].join("")}return x({...m,prefix:y})}}}}},multiPass:!0}}function vc(){return{name:"has-aria",match(t,e){let r=(0,R.variantGetParameter)("has-aria-",t,e.generator.config.separators);if(r){let[n,o]=r,i=f.bracket(n)??e.theme.aria?.[n]??"";if(i)return{matcher:o,handle:(a,s)=>s({...a,pseudo:`${a.pseudo}:has([aria-${i}])`})}}},multiPass:!0}}function $c(t={}){return[_r("group"," ",t),_r("peer","~",t),_r("parent",">",t),_r("previous","+",t),vc()]}var xi=/(max|min)-\[([^\]]*)\]:/;function wc(){let t={};return{name:"breakpoints",match(e,r){if(xi.test(e)){let o=e.match(xi);return{matcher:e.replace(o[0],""),handle:(i,a)=>a({...i,parent:`${i.parent?`${i.parent} $$ `:""}@media (${o[1]}-width: ${o[2]})`})}}let n=(Q(r)??[]).map(({point:o,size:i},a)=>[o,i,a]);for(let[o,i,a]of n){t[o]||(t[o]=new RegExp(`^((?:([al]t-|[<~]|max-))?${o}(?:${r.generator.config.separators.join("|")}))`));let s=e.match(t[o]);if(!s)continue;let[,c]=s,l=e.slice(c.length);if(l==="container")continue;let u=c.startsWith("lt-")||c.startsWith("<")||c.startsWith("max-"),d=c.startsWith("at-")||c.startsWith("~"),p=3e3;return u?(p-=a+1,{matcher:l,handle:(h,m)=>m({...h,parent:`${h.parent?`${h.parent} $$ `:""}@media (max-width: ${(0,R.calcMaxWidthBySize)(i)})`,parentOrder:p})}):(p+=a+1,d&&a<n.length-1?{matcher:l,handle:(h,m)=>m({...h,parent:`${h.parent?`${h.parent} $$ `:""}@media (min-width: ${i}) and (max-width: ${(0,R.calcMaxWidthBySize)(n[a+1][1])})`,parentOrder:p})}:{matcher:l,handle:(h,m)=>m({...h,parent:`${h.parent?`${h.parent} $$ `:""}@media (min-width: ${i})`,parentOrder:p})})}},multiPass:!0,autocomplete:"(at-|lt-|max-|)$breakpoints:"}}var kc=[(0,R.variantMatcher)("*",t=>({selector:`${t.selector} > *`}),{order:-1})];function Qt(t,e){return{name:`combinator:${t}`,match(r,n){if(!r.startsWith(t))return;let o=n.generator.config.separators,i=(0,R.variantGetBracket)(`${t}-`,r,o);if(!i){for(let s of o)if(r.startsWith(`${t}${s}`)){i=["",r.slice(t.length+s.length)];break}if(!i)return}let a=f.bracket(i[0])??"";return a===""&&(a="*"),{matcher:i[1],selector:s=>`${s}${e}${a}`}},multiPass:!0}}var Sc=[Qt("all"," "),Qt("children",">"),Qt("next","+"),Qt("sibling","+"),Qt("siblings","~")],Cc={name:"@",match(t,e){if(t.startsWith("@container"))return;let r=(0,R.variantGetParameter)("@",t,e.generator.config.separators);if(r){let[n,o,i]=r,a=f.bracket(n),s;if(a?s=f.numberWithUnit(a):s=e.theme.containers?.[n]??"",s){let c=1e3+Object.keys(e.theme.containers??{}).indexOf(n);return i&&(c+=1e3),{matcher:o,handle:(l,u)=>u({...l,parent:`${l.parent?`${l.parent} $$ `:""}@container${i?` ${i} `:" "}(min-width: ${s})`,parentOrder:c})}}}},multiPass:!0};function Ec(t={}){if(t?.dark==="class"||typeof t.dark=="object"){let{dark:e=".dark",light:r=".light"}=typeof t.dark=="string"?{}:t.dark;return[(0,R.variantMatcher)("dark",j(e).map(n=>o=>({prefix:`${n} $$ ${o.prefix}`}))),(0,R.variantMatcher)("light",j(r).map(n=>o=>({prefix:`${n} $$ ${o.prefix}`})))]}return[(0,R.variantParentMatcher)("dark","@media (prefers-color-scheme: dark)"),(0,R.variantParentMatcher)("light","@media (prefers-color-scheme: light)")]}var zc={name:"data",match(t,e){let r=(0,R.variantGetParameter)("data-",t,e.generator.config.separators);if(r){let[n,o]=r,i=f.bracket(n)??e.theme.data?.[n]??"";if(i)return{matcher:o,selector:a=>`${a}[data-${i}]`}}},multiPass:!0};function Ar(t,e,r={}){return{name:`${t}-data`,match(n,o){let i=(0,R.variantGetParameter)(`${t}-data-`,n,o.generator.config.separators);if(i){let[a,s,c]=i,l=f.bracket(a)??o.theme.data?.[a]??"";if(l){let u=!!r?.attributifyPseudo,d=r?.prefix??"";d=(Array.isArray(d)?d:[d]).filter(Boolean)[0]??"";let p=`${u?`[${d}${t}=""]`:`.${d}${t}`}`,h=Z(c?`/${c}`:"");return{matcher:s,handle:(m,x)=>{let w=new RegExp(`${K(p)}${K(h)}(?:\\[.+?\\])+`),k=m.prefix.match(w),y;if(k){let b=(k.index??0)+p.length+h.length;y=[m.prefix.slice(0,b),`[data-${l}]`,m.prefix.slice(b)].join("")}else{let b=Math.max(m.prefix.indexOf(p),0);y=[m.prefix.slice(0,b),p,h,`[data-${l}]`,e,m.prefix.slice(b)].join("")}return x({...m,prefix:y})}}}}},multiPass:!0}}function jc(){return{name:"has-data",match(t,e){let r=(0,R.variantGetParameter)("has-data-",t,e.generator.config.separators);if(r){let[n,o]=r,i=f.bracket(n)??e.theme.data?.[n]??"";if(i)return{matcher:o,handle:(a,s)=>s({...a,pseudo:`${a.pseudo}:has([data-${i}])`})}}},multiPass:!0}}function _c(t={}){return[Ar("group"," ",t),Ar("peer","~",t),Ar("parent",">",t),Ar("previous","+",t),jc()]}var Ac=[(0,R.variantMatcher)("rtl",t=>({prefix:`[dir="rtl"] $$ ${t.prefix}`})),(0,R.variantMatcher)("ltr",t=>({prefix:`[dir="ltr"] $$ ${t.prefix}`}))];function Rc(){let t;return{name:"important",match(e,r){t||(t=new RegExp(`^(important(?:${r.generator.config.separators.join("|")})|!)`));let n,o=e.match(t);if(o?n=e.slice(o[0].length):e.endsWith("!")&&(n=e.slice(0,-1)),n)return{matcher:n,body:i=>(i.forEach(a=>{a[1]!=null&&(a[1]+=" !important")}),i)}}}}var Mc=(0,R.variantParentMatcher)("print","@media print"),Oc={name:"media",match(t,e){let r=(0,R.variantGetParameter)("media-",t,e.generator.config.separators);if(r){let[n,o]=r,i=f.bracket(n)??"";if(i===""&&(i=e.theme.media?.[n]??""),i)return{matcher:o,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@media ${i}`})}}},multiPass:!0},Pc={name:"selector",match(t,e){let r=(0,R.variantGetBracket)("selector-",t,e.generator.config.separators);if(r){let[n,o]=r,i=f.bracket(n);if(i)return{matcher:o,selector:()=>i}}}},Lc={name:"layer",match(t,e){let r=(0,R.variantGetParameter)("layer-",t,e.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}`})}}}},Fc={name:"uno-layer",match(t,e){let r=(0,R.variantGetParameter)("uno-layer-",t,e.generator.config.separators);if(r){let[n,o]=r,i=f.bracket(n)??n;if(i)return{matcher:o,layer:i}}}},Bc={name:"scope",match(t,e){let r=(0,R.variantGetBracket)("scope-",t,e.generator.config.separators);if(r){let[n,o]=r,i=f.bracket(n);if(i)return{matcher:o,selector:a=>`${i} $$ ${a}`}}}},Tc={name:"variables",match(t,e){if(!t.startsWith("["))return;let[r,n]=(0,R.getBracket)(t,"[","]")??[];if(!(r&&n))return;let o;for(let s of e.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 l=a?{parent:`${s.parent?`${s.parent} $$ `:""}${i}`}:{selector:i.replace(/&/g,s.selector)};return c({...s,...l})}}},multiPass:!0},Wc={name:"theme-variables",match(t,e){if((0,R.hasThemeFn)(t))return{matcher:t,handle(r,n){return n({...r,entries:JSON.parse((0,R.transformThemeFn)(JSON.stringify(r.entries),e.theme))})}}}},vi=/^-?[0-9.]+(?:[a-z]+|%)?$/,$i=/-?[0-9.]+(?:[a-z]+|%)?/,Nc=[/\b(opacity|color|flex|backdrop-filter|^filter|transform)\b/];function Ic(t){let e=t.match(Ct)||t.match(Ut);if(e){let[r,n]=$t(`(${e[2]})${e[3]}`,"(",")"," ")??[];if(r)return`calc(${e[1]}${r} * -1)${n?` ${n}`:""}`}}var Uc=/\b(hue-rotate)\s*(\(.*)/;function Dc(t){let e=t.match(Uc);if(e){let[r,n]=$t(e[2],"(",")"," ")??[];if(r){let o=vi.test(r.slice(1,-1))?r.replace($i,i=>i.startsWith("-")?i.slice(1):`-${i}`):`(calc(${r} * -1))`;return`${e[1]}${o}${n?` ${n}`:""}`}}}var Vc={name:"negative",match(t){if(t.startsWith("-"))return{matcher:t.slice(1),body:e=>{if(e.find(n=>n[0]===Dt))return;let r=!1;return e.forEach(n=>{let o=n[1]?.toString();if(!o||o==="0"||Nc.some(s=>s.test(n[0])))return;let i=Ic(o);if(i){n[1]=i,r=!0;return}let a=Dc(o);if(a){n[1]=a,r=!0;return}vi.test(o)&&(n[1]=o.replace($i,s=>s.startsWith("-")?s.slice(1):`-${s}`),r=!0)}),r?e:[]}}}};function Gc(){return Xr({getBracket:lt.getBracket,h:f,variantGetBracket:lt.variantGetBracket})}function qc(){return Kr({getBracket:lt.getBracket,h:f,variantGetBracket:lt.variantGetBracket})}function Hc(t={}){return Zr(t,{getBracket:lt.getBracket,h:f,variantGetBracket:lt.variantGetBracket})}var Yc=Jr(),Xc={name:"starting",match(t){if(t.startsWith("starting:"))return{matcher:t.slice(9),handle:(e,r)=>r({...e,parent:"@starting-style"})}}},Kc={name:"supports",match(t,e){let r=(0,R.variantGetParameter)("supports-",t,e.generator.config.separators);if(r){let[n,o]=r,i=f.bracket(n)??"";if(i===""&&(i=e.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 Rr(t){return[xc,zc,Lc,Pc,Fc,Vc,Xc,Rc(),Kc,Mc,Oc,wc(),...Sc,...Gc(),qc(),...Hc(t),Yc,...Ec(t),...Ac,Bc,...kc,Cc,Tc,..._c(t),...$c(t),Wc]}var Zc=[St("svg",t=>({selector:`${t.selector} svg`}))],Jc=[St(".dark",t=>({prefix:`.dark $$ ${t.prefix}`})),St(".light",t=>({prefix:`.light $$ ${t.prefix}`})),rt("@dark","@media (prefers-color-scheme: dark)"),rt("@light","@media (prefers-color-scheme: light)")],Qc=[rt("contrast-more","@media (prefers-contrast: more)"),rt("contrast-less","@media (prefers-contrast: less)")],tl=[rt("motion-reduce","@media (prefers-reduced-motion: reduce)"),rt("motion-safe","@media (prefers-reduced-motion: no-preference)")],el=[rt("landscape","@media (orientation: landscape)"),rt("portrait","@media (orientation: portrait)")],rl=t=>{if(!t.startsWith("_")&&(/space-[xy]-.+$/.test(t)||/divide-/.test(t)))return{matcher:t,selector:e=>{let r=">:not([hidden])~:not([hidden])";return e.includes(r)?e:`${e}${r}`}}},nl=[St("@hover",t=>({parent:`${t.parent?`${t.parent} $$ `:""}@media (hover: hover) and (pointer: fine)`,selector:`${t.selector||""}:hover`}))];function wi(t,e,r){return`calc(${e} + (${t} - ${e}) * ${r} / 100)`}function ki(t,e,r){let n=[t,e],o=[];for(let a=0;a<2;a++){let s=typeof n[a]=="string"?J(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(wi(o[0].components[a],o[1].components[a],r));return{type:"rgb",components:i,alpha:wi(o[0].alpha??1,o[1].alpha??1,r)}}function Si(t,e){return ki("#fff",t,e)}function Ci(t,e){return ki("#000",t,e)}function ol(t,e){let r=Number.parseFloat(`${e}`);if(!Number.isNaN(r))return r>0?Ci(t,e):Si(t,-r)}var il={tint:Si,shade:Ci,shift:ol};function al(){let t;return{name:"mix",match(e,r){t||(t=new RegExp(`^mix-(tint|shade|shift)-(-?\\d{1,3})(?:${r.generator.config.separators.join("|")})`));let n=e.match(t);if(n)return{matcher:e.slice(n[0].length),body:o=>(o.forEach(i=>{if(i[1]){let a=J(`${i[1]}`);if(a){let s=il[n[1]](a,n[2]);s&&(i[1]=W(s))}}}),o)}}}}var sl=(t,{theme:e})=>{let r=t.match(/^(.*)\b(placeholder-)(.+)$/);if(r){let[,n="",o,i]=r;if(gt(i,e,"accentColor")||cl(i))return{matcher:`${n}placeholder-$ ${o}${i}`}}};function cl(t){let e=t.match(/^op(?:acity)?-?(.+)$/);return e&&e[1]!=null?f.bracket.percent(e[1])!=null:!1}function Ei(t){return[sl,rl,...Rr(t),...Qc,...el,...tl,...Zc,...Jc,...nl,al()]}function ll(t){let e,r,n=2166136261;for(e=0,r=t.length;e<r;e++)n^=t.charCodeAt(e),n+=(n<<1)+(n<<4)+(n<<7)+(n<<8)+(n<<24);return`00000${(n>>>0).toString(36)}`.slice(-6)}function fl(t,e,r,n){for(let o of Array.from(t.matchAll(r)))if(o!=null){let i=o[0],a=`${n}${ll(i)}`;e.set(a,i),t=t.replace(i,a)}return t}function ul(t,e){for(let[r,n]of e.entries())t=t.replaceAll(r,n);return t}var dl=/\/\/#\s*sourceMappingURL=.*\n?/g;function pl(t){return t.includes("sourceMappingURL=")?t.replace(dl,""):t}var ml=/(?:[\w&:[\]-]|\[\S{1,64}=\S{1,64}\]){1,64}\[\\?['"]?\S{1,64}?['"]\]\]?[\w:-]{0,64}/g,hl=/\[(\\\W|[\w-]){1,64}:[^\s:]{0,64}?("\S{1,64}?"|'\S{1,64}?'|`\S{1,64}?`|[^\s:]{1,64}?)[^\s:]{0,64}?\)?\]/g,gl=/^\[(?:\\\W|[\w-]){1,64}:['"]?\S{1,64}?['"]?\]$/;function bl(t){let e=[];for(let o of t.matchAll(hl))o.index!==0&&!/^[\s'"`]/.test(t[o.index-1]??"")||e.push(o[0]);for(let o of t.matchAll(ml))e.push(o[0]);let r=new Map,n="@unocss-skip-arbitrary-brackets";return t=fl(t,r,/-\[(?!&.+?;)[^\]]*\]/g,n),t&&t.split(Fr).forEach(o=>{o.includes(n)&&(o=ul(o,r)),Bn(o)&&!gl.test(o)&&e.push(o)}),e}function zi(){return{name:"@unocss/extractor-arbitrary-variants",order:0,extract({code:t}){return bl(pl(t))}}}function ji(t){if(t.preflight)return[{layer:"preflights",getCSS({theme:e,generator:r}){if(e.preflightBase){let n=Object.entries(e.preflightBase);if(t.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=Tt(n);return t.variablePrefix!=="un-"&&(o=o.replace(/--un-/g,`--${t.variablePrefix}`)),j(e.preflightRoot??["*,::before,::after","::backdrop"]).map(i=>`${i}{${o}}`).join("")}}}}]}var xl={position:["relative","absolute","fixed","sticky","static"],globalKeyword:M},En=(t={})=>(t.dark=t.dark??"class",t.attributifyPseudo=t.attributifyPseudo??!1,t.preflight=t.preflight??!0,t.variablePrefix=t.variablePrefix??"un-",{name:"@unocss/preset-mini",theme:Jt,rules:cn,variants:Rr(t),options:t,prefix:t.prefix,postprocess:vl(t.variablePrefix),preflights:ji(t),extractorDefault:t.arbitraryVariants===!1?void 0:zi(),autocomplete:{shorthands:xl}}),_i=En;function vl(t){if(t!=="un-")return e=>{e.entries.forEach(r=>{r[0]=r[0].replace(/^--un-/,`--${t}`),typeof r[1]=="string"&&(r[1]=r[1].replace(/var\(--un-/g,`var(--${t}`))})}}function $l(t){if(t==null||t===!1)return[];let e=r=>r.startsWith(":is(")&&r.endsWith(")")?r:r.includes("::")?r.replace(/(.*?)((?:\s\*)?::.*)/,":is($1)$2"):`:is(${r})`;return[t===!0?r=>{r.entries.forEach(n=>{n[1]!=null&&!String(n[1]).endsWith("!important")&&(n[1]+=" !important")})}:r=>{r.selector.startsWith(t)||(r.selector=`${t} ${e(r.selector)}`)}]}function wl(t){return[...j(_i(t).postprocess),...$l(t.important)]}var Ai=(t={})=>(t.important=t.important??!1,{...En(t),name:"@unocss/preset-wind3",theme:yi,rules:Go,shortcuts:qo,variants:Ei(t),postprocess:wl(t)});var kl=(t={})=>({...Ai(t),name:"@unocss/preset-uno"}),Ri=kl;function Sl(t){return t.replace(/-(\w)/g,(e,r)=>r?r.toUpperCase():"")}function Mi(t){return t.charAt(0).toUpperCase()+t.slice(1)}function Oi(t){return t.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}var Pi=["Webkit","Moz","ms"];function Li(t){let e={};function r(n){let o=e[n];if(o)return o;let i=Sl(n);if(i!=="filter"&&i in t)return e[n]=Oi(i);i=Mi(i);for(let a=0;a<Pi.length;a++){let s=`${Pi[a]}${i}`;if(s in t)return e[n]=Oi(Mi(s))}return n}return({entries:n})=>n.forEach(o=>{o[0].startsWith("--")||(o[0]=r(o[0]))})}function Fi(t){return t.replace(/&amp;/g,"&").replace(/&gt;/g,">").replace(/&lt;/g,"<")}async function zn(t={}){if(typeof window>"u"){console.warn("@unocss/runtime been used in non-browser environment, skipped.");return}let e=window,r=window.document,n=()=>r.documentElement,o=e.__unocss||{},i=Object.assign({},t,o.runtime),a=i.defaults||{},s=i.cloakAttribute??"un-cloak";i.autoPrefix&&(a.postprocess=j(a.postprocess)).unshift(Li(r.createElement("div").style)),i.configResolved?.(o,a);let c=await Dn(o,a),l=$=>{let _=t.rootElement?.();if(_){_.appendChild($);return}i.inject?i.inject($):n().prepend($)},u=()=>i.rootElement?i.rootElement():r.body,d=new Map,p=!0,h=new Set,m,x,w=[],k=()=>new Promise($=>{w.push($),x!=null&&clearTimeout(x),x=setTimeout(()=>g().then(()=>{let _=w;w=[],_.forEach(P=>P())}),0)});function y($,_=!1){if($.nodeType!==1)return;let P=$;P.hasAttribute(s)&&P.removeAttribute(s),_&&P.querySelectorAll(`[${s}]`).forEach(T=>{T.removeAttribute(s)})}function b($,_){let P=d.get($);if(!P)if(P=r.createElement("style"),P.setAttribute("data-unocss-runtime-layer",$),d.set($,P),_==null)l(P);else{let T=b(_),G=T.parentNode;G?G.insertBefore(P,T.nextSibling):l(P)}return P}async function g(){let $=[...h],_=await c.generate($);return _.layers.reduce((T,G)=>(b(G,T).innerHTML=_.getLayer(G)??"",G),void 0),$.filter(T=>!_.matched.has(T)).forEach(T=>h.delete(T)),{..._,getStyleElement:T=>d.get(T),getStyleElements:()=>d}}async function v($){let _=h.size;await c.applyExtractors($,void 0,h),_!==h.size&&await k()}async function L($=u()){let _=$&&$.outerHTML;_&&(await v(`${_} ${Fi(_)}`),y(n()),y($,!0))}let H=new MutationObserver($=>{p||$.forEach(async _=>{if(_.target.nodeType!==1)return;let P=_.target;for(let T of d)if(P===T[1])return;if(_.type==="childList")_.addedNodes.forEach(async T=>{if(T.nodeType!==1)return;let G=T;m&&!m(G)||(await v(G.outerHTML),y(G))});else{if(m&&!m(P))return;if(_.attributeName!==s){let T=Array.from(P.attributes).map(vt=>vt.value?`${vt.name}="${vt.value}"`:vt.name).join(" "),G=`<${P.tagName.toLowerCase()} ${T}>`;await v(G)}y(P)}})}),C=!1;function E(){if(C)return;let $=i.observer?.target?i.observer.target():u();$&&(H.observe($,{childList:!0,subtree:!0,attributes:!0,attributeFilter:i.observer?.attributeFilter}),C=!0)}function z(){i.bypassDefined&&Cl(c.blocked),L(),E()}function V(){r.readyState==="loading"?e.addEventListener("DOMContentLoaded",z):z()}let D=e.__unocss_runtime=e.__unocss_runtime={version:c.version,uno:c,async extract($){F($)||($.forEach(_=>h.add(_)),$=""),await v($)},extractAll:L,inspect($){m=$},toggleObserver($){$===void 0?p=!p:p=!!$,!C&&!p&&V()},update:g,presets:e.__unocss_runtime?.presets??{}};i.ready?.(D)!==!1&&(p=!1,V())}function Cl(t=new Set){for(let e=0;e<document.styleSheets.length;e++){let r=document.styleSheets[e],n;try{if(n=r.cssRules||r.rules,!n)continue;Array.from(n).flatMap(o=>o.selectorText?.split(/,/g)||[]).forEach(o=>{o&&(o=o.trim(),o.startsWith(".")&&(o=o.slice(1)),t.add(o))})}catch{continue}}return t}zn({defaults:{presets:[Ri()]}});})();