@unocss/runtime 66.4.0 → 66.4.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/attributify.global.js +6 -6
- package/core.global.js +1 -1
- package/full.global.js +6 -6
- package/mini.global.js +6 -6
- package/package.json +4 -4
- package/preset-icons.global.js +4 -4
- package/preset-mini.global.js +5 -5
- package/preset-uno.global.js +5 -5
- package/preset-wind.global.js +5 -5
- package/uno.global.js +6 -6
package/full.global.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
"use strict";(()=>{var nu=Object.defineProperty;var ou=(e,t)=>{for(var r in t)nu(e,r,{get:t[r],enumerable:!0})};var Xe="default",Nt="preflights",iu="shortcuts",su="imports",Io={[su]:-200,[Nt]:-100,[iu]:-10,[Xe]:0};var Kt=/[\\:]?[\s'"`;{}]+/g;function au(e){return e.split(Kt)}var Gt={name:"@unocss/core/extractor-split",order:0,extract({code:e}){return au(e)}};function C(e=[]){return Array.isArray(e)?e:[e]}function ue(e){return Array.from(new Set(e))}function Cn(e,t){return e.reduce((r,n)=>(r.findIndex(i=>t(n,i))===-1&&r.push(n),r),[])}function F(e){return typeof e=="string"}var Ze=class extends Set{_map=new Map;constructor(t){if(super(),t)for(let r of t)this.add(r)}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,r){return this._map.set(t,r),super.add(t)}};function Ht(e){return e instanceof Ze}function K(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function J(e){let t=e.length,r=-1,n,o="",i=e.charCodeAt(0);for(;++r<t;){if(n=e.charCodeAt(r),n===0){o+="\uFFFD";continue}if(n===37){o+="\\%";continue}if(n===44){o+="\\,";continue}if(n>=1&&n<=31||n===127||r===0&&n>=48&&n<=57||r===1&&n>=48&&n<=57&&i===45){o+=`\\${n.toString(16)} `;continue}if(r===0&&t===1&&n===45){o+=`\\${e.charAt(r)}`;continue}if(n>=128||n===45||n===95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){o+=e.charAt(r);continue}o+=`\\${e.charAt(r)}`}return o}var qt=J;function Do(){return{events:{},emit(e,...t){(this.events[e]||[]).forEach(r=>r(...t))},on(e,t){return(this.events[e]=this.events[e]||[]).push(t),()=>this.events[e]=(this.events[e]||[]).filter(r=>r!==t)}}}var cu=/^\[(.+?)~?="(.*)"\]$/;var lu=/[\w\u00A0-\uFFFF%-?]/;function No(e){return e.match(cu)}function Je(e=""){return lu.test(e)}function Ko(e){return typeof e=="function"?{match:e}:e}function Rn(e){return e.length===3}function Yt(e){return e!=null}function Go(){}var Xt=class{_map=new Map;get(t,r){let n=this._map.get(t);if(n)return n.get(r)}getFallback(t,r,n){let o=this._map.get(t);return o||(o=new Map,this._map.set(t,o)),o.has(r)||o.set(r,n),o.get(r)}set(t,r,n){let o=this._map.get(t);return o||(o=new Map,this._map.set(t,o)),o.set(r,n),this}has(t,r){return this._map.get(t)?.has(r)}delete(t,r){return this._map.get(t)?.delete(r)||!1}deleteTop(t){return this._map.delete(t)}map(t){return Array.from(this._map.entries()).flatMap(([r,n])=>Array.from(n.entries()).map(([o,i])=>t(i,r,o)))}},Zt=class extends Map{getFallback(t,r){let n=this.get(t);return n===void 0?(this.set(t,r),r):n}map(t){let r=[];return this.forEach((n,o)=>{r.push(t(n,o))}),r}flatMap(t){let r=[];return this.forEach((n,o)=>{r.push(...t(n,o))}),r}};function et(e){return F(e)?e:(Array.isArray(e)?e:Object.entries(e)).filter(t=>t[1]!=null)}function Ho(e){return Array.isArray(e)?e.find(t=>!Array.isArray(t)||Array.isArray(t[0]))?e.map(t=>et(t)):[e]:[et(e)]}function fu(e){return e.filter(([t,r],n)=>{if(t.startsWith("$$"))return!1;for(let o=n-1;o>=0;o--)if(e[o][0]===t&&e[o][1]===r)return!1;return!0})}function Le(e){return e==null?"":fu(e).map(([t,r])=>r!=null&&typeof r!="function"?`${t}:${r};`:void 0).filter(Boolean).join("")}function Jt(e){return e&&typeof e=="object"&&!Array.isArray(e)}function tt(e,t,r=!1){let n=e,o=t;if(Array.isArray(o))return r&&Array.isArray(o)?[...n,...o]:[...o];let i={...n};return Jt(n)&&Jt(o)&&Object.keys(o).forEach(s=>{Jt(n[s])&&Jt(o[s])||Array.isArray(n[s])&&Array.isArray(o[s])?i[s]=tt(n[s],o[s],r):Object.assign(i,{[s]:o[s]})}),i}function Qe(e){let t,r,n;if(Array.isArray(e)){for(r=Array.from({length:t=e.length});t--;)r[t]=(n=e[t])&&typeof n=="object"?Qe(n):n;return r}if(Object.prototype.toString.call(e)==="[object Object]"){r={};for(t in e)t==="__proto__"?Object.defineProperty(r,t,{value:Qe(e[t]),configurable:!0,enumerable:!0,writable:!0}):r[t]=(n=e[t])&&typeof n=="object"?Qe(n):n;return r}return e}function qo(e){return F(e[0])}function Yo(e){return F(e[0])}var Qt={};function uu(e=["-",":"]){let t=e.join("|");return Qt[t]||(Qt[t]=new RegExp(`((?:[!@<~\\w+:_-]|\\[&?>?:?\\S*\\])+?)(${t})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[[^\\]]*?\\])+?)\\)(?!\\s*?=>)`,"gm")),Qt[t].lastIndex=0,Qt[t]}function pu(e,t=["-",":"],r=5){let n=uu(t),o,i=e.toString(),s=new Set,a=new Map;do o=!1,i=i.replace(n,(l,f,p,m,h)=>{if(!t.includes(p))return l;o=!0,s.add(f+p);let g=h+f.length+p.length+1,b={length:l.length,items:[]};a.set(h,b);for(let $ of[...m.matchAll(/\S+/g)]){let S=g+$.index,y=a.get(S)?.items;y?a.delete(S):y=[{offset:S,length:$[0].length,className:$[0]}];for(let x of y)x.className=x.className==="~"?f:x.className.replace(/^(!?)(.*)/,`$1${f}${p}$2`),b.items.push(x)}return"$".repeat(l.length)}),r-=1;while(o&&r);let c;if(typeof e=="string"){c="";let l=0;for(let[f,p]of a)c+=e.slice(l,f),c+=p.items.map(m=>m.className).join(" "),l=f+p.length;c+=e.slice(l)}else{c=e;for(let[l,f]of a)c.overwrite(l,l+f.length,f.items.map(p=>p.className).join(" "))}return{prefixes:Array.from(s),hasChanged:o,groupsByOffset:a,get expanded(){return c.toString()}}}function Xo(e,t=["-",":"],r=5){let n=pu(e,t,r);return typeof e=="string"?n.expanded:e}var Zo=new Set;function Jo(e){Zo.has(e)||(console.warn("[unocss]",e),Zo.add(e))}function ti(e){return C(e).flatMap(t=>Array.isArray(t)?[t]:Object.entries(t))}var Qo="_uno_resolved";async function du(e){let t=typeof e=="function"?await e():await e;if(Qo in t)return t;t={...t},Object.defineProperty(t,Qo,{value:!0,enumerable:!1});let r=t.shortcuts?ti(t.shortcuts):void 0;if(t.shortcuts=r,t.prefix||t.layer){let n=o=>{o[2]||(o[2]={});let i=o[2];i.prefix==null&&t.prefix&&(i.prefix=C(t.prefix)),i.layer==null&&t.layer&&(i.layer=t.layer)};r?.forEach(n),t.rules?.forEach(n)}return t}async function ri(e){let t=await du(e);if(!t.presets)return[t];let r=(await Promise.all((t.presets||[]).flatMap(C).flatMap(ri))).flat();return[t,...r]}function mu(e){if(e.length===0)return{};let t=[],r=[],n=!1,o=[],i=[];for(let a of e){if(a.pipeline===!1){n=!0;break}else a.pipeline?.include&&t.push(a.pipeline.include),a.pipeline?.exclude&&r.push(a.pipeline.exclude);a.filesystem&&o.push(a.filesystem),a.inline&&i.push(a.inline)}let s={pipeline:n?!1:{include:ue(ei(...t)),exclude:ue(ei(...r))}};return o.length&&(s.filesystem=ue(o.flat())),i.length&&(s.inline=ue(i.flat())),s}async function En(e={},t={}){let r=Object.assign({},t,e),n=Cn((await Promise.all((r.presets||[]).flatMap(C).flatMap(ri))).flat(),(v,j)=>v.name===j.name),o=[...n.filter(v=>v.enforce==="pre"),...n.filter(v=>!v.enforce),...n.filter(v=>v.enforce==="post")],i=[...o,r],s=[...i].reverse(),a=Object.assign({},Io,...i.map(v=>v.layers));function c(v){return ue(i.flatMap(j=>C(j[v]||[])))}let l=c("extractors"),f=s.find(v=>v.extractorDefault!==void 0)?.extractorDefault;f===void 0&&(f=Gt),f&&!l.includes(f)&&l.unshift(f),l.sort((v,j)=>(v.order||0)-(j.order||0));let p=c("rules"),m={},h=p.length,g=p.filter(v=>qo(v)?(C(v[2]?.prefix||"").forEach(k=>{m[k+v[0]]=v}),!1):!0).reverse(),b={templates:ue(i.flatMap(v=>C(v.autocomplete?.templates))),extractors:i.flatMap(v=>C(v.autocomplete?.extractors)).sort((v,j)=>(v.order||0)-(j.order||0)),shorthands:gu(i.map(v=>v.autocomplete?.shorthands||{}))},$=c("separators");$.length||($=[":","-"]);let S=c("content"),y=mu(S),x={mergeSelectors:!0,warn:!0,sortLayers:v=>v,...r,blocklist:c("blocklist"),presets:o,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:a,theme:hu(i.map(v=>v.theme)),rules:p,rulesSize:h,rulesDynamic:g,rulesStaticMap:m,preprocess:c("preprocess"),postprocess:c("postprocess"),preflights:c("preflights"),autocomplete:b,variants:c("variants").map(Ko).sort((v,j)=>(v.order||0)-(j.order||0)),shortcuts:ti(c("shortcuts")).reverse(),extractors:l,safelist:c("safelist"),separators:$,details:r.details??r.envMode==="dev",content:y,transformers:Cn(c("transformers"),(v,j)=>v.name===j.name)},T=c("extendTheme");for(let v of T)x.theme=v(x.theme,x)||x.theme;for(let v of i)v?.configResolved?.(x);return x}function hu(e){return e.map(t=>t?Qe(t):{}).reduce((t,r)=>tt(t,r),{})}function gu(e){return e.reduce((t,r)=>{let n={};for(let o in r){let i=r[o];Array.isArray(i)?n[o]=`(${i.join("|")})`:n[o]=i}return{...t,...n}},{})}function ei(...e){return e.flatMap(bu)}function bu(e){return Array.isArray(e)?e:e?[e]:[]}var ni="66.4.0";var $e={shortcutsNoMerge:"$$symbol-shortcut-no-merge",noMerge:"$$symbol-no-merge",variants:"$$symbol-variants",parent:"$$symbol-parent",selector:"$$symbol-selector",layer:"$$symbol-layer",sort:"$$symbol-sort"},Tn=class e{constructor(t={},r={}){this.userConfig=t;this.defaults=r}version=ni;events=Do();config=void 0;cache=new Map;blocked=new Set;parentOrders=new Map;activatedRules=new Set;static async create(t={},r={}){let n=new e(t,r);return n.config=await En(n.userConfig,n.defaults),n.events.emit("config",n.config),n}async setConfig(t,r){t&&(r&&(this.defaults=r),this.userConfig=t,this.blocked.clear(),this.parentOrders.clear(),this.activatedRules.clear(),this.cache.clear(),this.config=await En(t,this.defaults),this.events.emit("config",this.config))}async applyExtractors(t,r,n=new Set){let o={original:t,code:t,id:r,extracted:n,envMode:this.config.envMode};for(let i of this.config.extractors){let s=await i.extract?.(o);if(s)if(Ht(s)&&Ht(n))for(let a of s)n.setCount(a,n.getCount(a)+s.getCount(a));else for(let a of s)n.add(a)}return n}makeContext(t,r){let n={rawSelector:t,currentSelector:r[1],theme:this.config.theme,generator:this,symbols:$e,variantHandlers:r[2],constructCSS:(...o)=>this.constructCustomCSS(n,...o),variantMatch:r};return n}async parseToken(t,r){if(this.blocked.has(t))return;let n=`${t}${r?` ${r}`:""}`;if(this.cache.has(n))return this.cache.get(n);let o=this.config.preprocess.reduce((c,l)=>l(c)??c,t);if(this.isBlocked(o)){this.blocked.add(t),this.cache.set(n,null);return}let i=await this.matchVariants(t,o);if(i.every(c=>!c||this.isBlocked(c[1]))){this.blocked.add(t),this.cache.set(n,null);return}let s=async c=>{let l=this.makeContext(t,[r||c[0],c[1],c[2],c[3]]);this.config.details&&(l.variants=[...c[3]]);let f=await this.expandShortcut(l.currentSelector,l);return f?await this.stringifyShortcuts(l.variantMatch,l,f[0],f[1]):(await this.parseUtil(l.variantMatch,l))?.map(m=>this.stringifyUtil(m,l)).filter(Yt)},a=(await Promise.all(i.map(c=>s(c)))).flat().filter(c=>!!c);if(a?.length)return this.cache.set(n,a),a;this.cache.set(n,null)}async generate(t,r={}){let{id:n,scope:o,preflights:i=!0,safelist:s=!0,minify:a=!1,extendedInfo:c=!1}=r,l=F(t)?await this.applyExtractors(t,n,c?new Ze:new Set):Array.isArray(t)?new Set(t):t;if(s){let k={generator:this,theme:this.config.theme};this.config.safelist.flatMap(R=>typeof R=="function"?R(k):R).forEach(R=>{let P=R.trim();P&&!l.has(P)&&l.add(P)})}let f=a?"":`
|
|
2
|
-
`,p=new Set([Xe]),m=c?new Map:new Set,h=new Map,g={},b=Array.from(l).map(async k=>{if(m.has(k))return;let R=await this.parseToken(k);if(R!=null){m instanceof Map?m.set(k,{data:R,count:Ht(l)?l.getCount(k):-1}):m.add(k);for(let P of R){let ee=P[3]||"",te=P[4]?.layer;h.has(ee)||h.set(ee,[]),h.get(ee).push(P),te&&p.add(te)}}});await Promise.all(b),await(async()=>{if(!i)return;let k={generator:this,theme:this.config.theme},R=new Set([]);this.config.preflights.forEach(({layer:P=Nt})=>{p.add(P),R.add(P)}),g=Object.fromEntries(await Promise.all(Array.from(R).map(async P=>{let te=(await Promise.all(this.config.preflights.filter(le=>(le.layer||Nt)===P).map(async le=>await le.getCSS(k)))).filter(Boolean).join(f);return[P,te]})))})();let $=this.config.sortLayers(Array.from(p).sort((k,R)=>(this.config.layers[k]??0)-(this.config.layers[R]??0)||k.localeCompare(R))),S={},y=this.config.outputToCssLayers,x=k=>{let R=k;return typeof y=="object"&&(R=y.cssLayerName?.(k)),R===null?null:R??k},T=(k=Xe)=>{if(S[k])return S[k];let R=Array.from(h).sort((te,le)=>(this.parentOrders.get(te[0])??0)-(this.parentOrders.get(le[0])??0)||te[0]?.localeCompare(le[0]||"")||0).map(([te,le])=>{let E=le.length,V=le.filter(I=>(I[4]?.layer||Xe)===k).sort((I,fe)=>I[0]-fe[0]||(I[4]?.sort||0)-(fe[4]?.sort||0)||I[5]?.currentSelector?.localeCompare(fe[5]?.currentSelector??"")||I[1]?.localeCompare(fe[1]||"")||I[2]?.localeCompare(fe[2]||"")||0).map(([,I,fe,,Dt,,kn])=>[[[(I&&vu(I,o))??"",Dt?.sort??0]],fe,!!(kn??Dt?.noMerge)]);if(!V.length)return;let B=V.reverse().map(([I,fe,Dt],kn)=>{if(!Dt&&this.config.mergeSelectors)for(let Re=kn+1;Re<E;Re++){let he=V[Re];if(he&&!he[2]&&(I&&he[0]||I==null&&he[0]==null)&&he[1]===fe)return I&&he[0]&&he[0].push(...I),null}let Sn=I?ue(I.sort((Re,he)=>Re[1]-he[1]||Re[0]?.localeCompare(he[0]||"")||0).map(Re=>Re[0]).filter(Boolean)):[];return Sn.length?`${Sn.join(`,${f}`)}{${fe}}`:fe}).filter(Boolean),D=Array.from(new Set(B)).reverse().join(f);if(!te)return D;let Q=te.split(" $$ ");return`${Q.join("{")}{${f}${D}${f}${"}".repeat(Q.length)}`}).filter(Boolean).join(f);i&&(R=[g[k],R].filter(Boolean).join(f));let P;y&&R&&(P=x(k),P!==null&&(R=`@layer ${P}{${f}${R}${f}}`));let ee=a?"":`/* layer: ${k}${P&&P!==k?`, alias: ${P}`:""} */${f}`;return S[k]=R?ee+R:""},v=(k=$,R)=>{let P=k.filter(ee=>!R?.includes(ee));return[y&&P.length>0?`@layer ${P.map(x).filter(Yt).join(", ")};`:void 0,...P.map(ee=>T(ee)||"")].filter(Boolean).join(f)};return{get css(){return v()},layers:$,matched:m,getLayers:v,getLayer:T,setLayer:async(k,R)=>{let P=await R(T(k));return S[k]=P,P}}}async matchVariants(t,r){let n={rawSelector:t,theme:this.config.theme,generator:this},o=async i=>{let s=!0,[,,a,c]=i;for(;s;){s=!1;let l=i[1];for(let f of this.config.variants){if(!f.multiPass&&c.has(f))continue;let p=await f.match(l,n);if(p){if(F(p)){if(p===l)continue;p={matcher:p}}if(Array.isArray(p)){if(!p.length)continue;if(p.length===1)p=p[0];else{if(f.multiPass)throw new Error("multiPass can not be used together with array return variants");let m=p.map(h=>{let g=h.matcher??l,b=[h,...a],$=new Set(c);return $.add(f),[i[0],g,b,$]});return(await Promise.all(m.map(h=>o(h)))).flat()}}i[1]=p.matcher??l,a.unshift(p),c.add(f),s=!0;break}}if(!s)break;if(a.length>500)throw new Error(`Too many variants applied to "${t}"`)}return[i]};return await o([t,r||t,[],new Set])}applyVariants(t,r=t[4],n=t[1]){let i=r.slice().sort((l,f)=>(l.order||0)-(f.order||0)).reduceRight((l,f)=>p=>{let m=f.body?.(p.entries)||p.entries,h=Array.isArray(f.parent)?f.parent:[f.parent,void 0],g=f.selector?.(p.selector,m);return(f.handle??$u)({...p,entries:m,selector:g||p.selector,parent:h[0]||p.parent,parentOrder:h[1]||p.parentOrder,layer:f.layer||p.layer,sort:f.sort||p.sort},l)},l=>l)({prefix:"",selector:jn(n),pseudo:"",entries:t[2]}),{parent:s,parentOrder:a}=i;s!=null&&a!=null&&this.parentOrders.set(s,a);let c={selector:[i.prefix,i.selector,i.pseudo].join(""),entries:i.entries,parent:s,layer:i.layer,sort:i.sort,noMerge:i.noMerge};for(let l of this.config.postprocess)l(c);return c}constructCustomCSS(t,r,n){let o=et(r);if(F(o))return o;let{selector:i,entries:s,parent:a}=this.applyVariants([0,n||t.rawSelector,o,void 0,t.variantHandlers]),c=`${i}{${Le(s)}}`;return a?`${a}{${c}}`:c}async parseUtil(t,r,n=!1,o){let i=F(t)?await this.matchVariants(t):[t],s=async([c,l,f])=>{this.config.details&&(r.rules=r.rules??[]);let p={...r,variantHandlers:f},m=this.config.rulesStaticMap[l];if(m&&m[1]&&(n||!m[2]?.internal))return this.resolveCSSResult(c,m[1],m,p);for(let h of this.config.rulesDynamic){let[g,b,$]=h;if($?.internal&&!n)continue;let S=l;if($?.prefix){let v=C($.prefix);if(o){let j=C(o);if(!v.some(k=>j.includes(k)))continue}else{let j=v.find(k=>l.startsWith(k));if(j==null)continue;S=l.slice(j.length)}}let y=S.match(g);if(!y)continue;let x=await b(y,p);if(!x)continue;if(typeof x!="string")if(Symbol.asyncIterator in x){let v=[];for await(let j of x)j&&v.push(j);x=v}else Symbol.iterator in x&&!Array.isArray(x)&&(x=Array.from(x).filter(Yt));let T=this.resolveCSSResult(c,x,h,p);if(T)return T}},a=(await Promise.all(i.map(c=>s(c)))).flat().filter(c=>!!c);if(a.length)return a}resolveCSSResult=(t,r,n,o)=>{let i=Ho(r).filter(s=>s.length);if(i.length){this.config.details&&o.rules.push(n),o.generator.activatedRules.add(n);let s=o.generator.config.rules.indexOf(n),a=n[2];return i.map(c=>{if(F(c))return[s,c,a];let l=o.variantHandlers,f=a;for(let p of c)p[0]===$e.variants?typeof p[1]=="function"?l=p[1](l)||l:l=[...C(p[1]),...l]:p[0]===$e.parent?l=[{parent:p[1]},...l]:p[0]===$e.selector?l=[{selector:p[1]},...l]:p[0]===$e.layer?l=[{layer:p[1]},...l]:p[0]===$e.sort?f={...f,sort:p[1]}:p[0]===$e.noMerge&&(f={...f,noMerge:p[1]});return[s,t,c,f,l]})}};stringifyUtil(t,r){if(!t)return;if(Rn(t))return[t[0],void 0,t[1],void 0,t[2],this.config.details?r:void 0,void 0];let{selector:n,entries:o,parent:i,layer:s,sort:a,noMerge:c}=this.applyVariants(t),l=Le(o);if(!l)return;let{layer:f,sort:p,...m}=t[3]??{},h={...m,layer:s??f,sort:a??p};return[t[0],n,l,i,h,this.config.details?r:void 0,c]}async expandShortcut(t,r,n=5){if(n===0)return;let o=this.config.details?l=>{r.shortcuts=r.shortcuts??[],r.shortcuts.push(l)}:Go,i,s,a,c;for(let l of this.config.shortcuts){let f=t;if(l[2]?.prefix){let m=C(l[2].prefix).find(h=>t.startsWith(h));if(m==null)continue;f=t.slice(m.length)}if(Yo(l)){if(l[0]===f){i=i||l[2],s=l[1],o(l);break}}else{let p=f.match(l[0]);if(p&&(s=l[1](p,r)),s){i=i||l[2],o(l);break}}}if(s&&(a=ue(C(s).filter(F).map(l=>Xo(l.trim()).split(/\s+/g)).flat()),c=C(s).filter(l=>!F(l)).map(l=>({handles:[],value:l}))),!s){let l=F(t)?await this.matchVariants(t):[t];for(let f of l){let[p,m,h]=f;if(p!==m){let g=await this.expandShortcut(m,r,n-1);g&&(a=g[0].filter(F).map(b=>p.replace(m,b)),c=g[0].filter(b=>!F(b)).map(b=>({handles:[...b.handles,...h],value:b.value})))}}}if(!(!a?.length&&!c?.length))return[[await Promise.all(C(a).map(async l=>(await this.expandShortcut(l,r,n-1))?.[0]||[l])),c].flat(2).filter(l=>!!l),i]}async stringifyShortcuts(t,r,n,o={layer:this.config.shortcutsLayer}){let i=new Zt,s=(await Promise.all(ue(n).map(async f=>{let p=F(f)?await this.parseUtil(f,r,!0,o.prefix):[[Number.POSITIVE_INFINITY,"{inline}",et(f.value),void 0,f.handles]];return!p&&this.config.warn&&Jo(`unmatched utility "${f}" in shortcut "${t[1]}"`),p||[]}))).flat(1).filter(Boolean).sort((f,p)=>f[0]-p[0]),[a,,c]=t,l=[];for(let f of s){if(Rn(f)){l.push([f[0],void 0,f[1],void 0,f[2],r,void 0]);continue}let{selector:p,entries:m,parent:h,sort:g,noMerge:b,layer:$}=this.applyVariants(f,[...f[4],...c],a);i.getFallback($??o.layer,new Xt).getFallback(p,h,[[],f[0]])[0].push([m,!!(b??f[3]?.noMerge),g??0])}return l.concat(i.flatMap((f,p)=>f.map(([m,h],g,b)=>{let $=(y,x,T)=>{let v=Math.max(...T.map(k=>k[1])),j=T.map(k=>k[0]);return(y?[j.flat(1)]:j).map(k=>{let R=Le(k);if(R)return[h,g,R,b,{...o,noMerge:x,sort:v,layer:p},r,void 0]})};return[[m.filter(([,y])=>y).map(([y,,x])=>[y,x]),!0],[m.filter(([,y])=>!y).map(([y,,x])=>[y,x]),!1]].map(([y,x])=>[...$(!1,x,y.filter(([T])=>T.some(v=>v[0]===$e.shortcutsNoMerge))),...$(!0,x,y.filter(([T])=>T.every(v=>v[0]!==$e.shortcutsNoMerge)))])}).flat(2).filter(Boolean)))}isBlocked(t){return!t||this.config.blocklist.map(r=>Array.isArray(r)?r[0]:r).some(r=>typeof r=="function"?r(t):F(r)?r===t:r.test(t))}getBlocked(t){let r=this.config.blocklist.find(n=>{let o=Array.isArray(n)?n[0]:n;return typeof o=="function"?o(t):F(o)?o===t:o.test(t)});return r?Array.isArray(r)?r:[r,void 0]:void 0}};async function ii(e,t){return await Tn.create(e,t)}var si=/\s\$\$\s+/g;function yu(e){return si.test(e)}function vu(e,t){return yu(e)?e.replace(si,t?` ${t} `:" "):t?`${t} ${e}`:e}var oi=/^\[(.+?)(~?=)"(.*)"\]$/;function jn(e){return oi.test(e)?e.replace(oi,(t,r,n,o)=>`[${qt(r)}${n}"${qt(o)}"]`):`.${qt(e)}`}function $u(e,t){return t(e)}var zn=/^(?!.*\[[^:]+:.+\]$)((?:.+:)?!?)(.*)$/;function ai(e={}){let t=e.prefix??"un-",r=e.prefixedOnly??!1,n=e.trueToNonValued??!1,o;return{name:"attributify",match(i,{generator:s}){let a=No(i);if(!a)return;let c=a[1];if(c.startsWith(t))c=c.slice(t.length);else if(r)return;let l=a[2],[,f="",p=l]=l.match(zn)||[];if(p==="~"||n&&p==="true"||!p)return`${f}${c}`;if(o==null){let m=s?.config?.separators?.join("|");m?o=new RegExp(`^(.*\\](?:${m}))(\\[[^\\]]+?\\])$`):o=!1}if(o){let[,m,h]=l.match(o)||[];if(h)return`${m}${f}${c}-${h}`}if(f&&p.match(/^[\d.]+$/)){let m=f.split(/([^:]*:)/g).filter(Boolean),h=m.pop()+p,g=m.join("");return[{matcher:`${f}${c}-${p}`},{matcher:`${g}${c}-${h}`}]}return`${f}${c}-${p}`}}}var wu=/(<\w[\w:.$-]*\s)((?:'[^>']*'|"[^>"]*"|`[^>`]*`|\{[^>}]*\}|[^>]*?)*)/g,ku=/(\?|(?!\d|-{2}|-\d)[\w\u00A0-\uFFFF-:%]+)(?:=("[^"]*|'[^']*))?/g,ci=/[\s'"`;>]+/;function li(e){return{name:"attributify",extract:({content:t,cursor:r})=>{let n=t.matchAll(wu),o,i=0;for(let y of n){let[,x,T]=y,v=y.index+x.length;if(r>v&&r<=v+T.length){i=v,o=T;break}}if(!o)return null;let s=o.matchAll(ku),a=0,c,l;for(let y of s){let[x,T,v]=y,j=i+y.index;if(r>j&&r<=j+x.length){a=j,c=T,l=v?.slice(1);break}}if(!c||c==="class"||c==="className"||c===":class")return null;let f=!!e?.prefix&&c.startsWith(e.prefix);if(e?.prefixedOnly&&!f)return null;let p=f?c.slice(e.prefix.length):c;if(l===void 0)return{extracted:p,resolveReplacement(y){let x=f?e.prefix.length:0;return{start:a+x,end:a+c.length,replacement:y}}};let m=a+c.length+2,h=ci.exec(l),g=0,b;for(;h;){let[y]=h;if(r>m+g&&r<=m+g+h.index){b=l.slice(g,g+h.index);break}g+=h.index+y.length,h=ci.exec(l.slice(g))}b===void 0&&(b=l.slice(g));let[,$="",S]=b.match(zn)||[];return{extracted:`${$}${p}-${S}`,transformSuggestions(y){return y.filter(x=>x.startsWith(`${$}${p}-`)).map(x=>$+x.slice($.length+p.length+1))},resolveReplacement(y){return{start:g+m,end:g+m+b.length,replacement:$+y.slice($.length+p.length+1)}}}}}}var Su=["v-bind:",":"],fi=/[\s'"`;]+/g,An=/<[^>\s]*\s((?:'[^']*'|"[^"]*"|`[^`]*`|\{[^}]*\}|=>|[^>]*?)*)/g,Cu=/(\?|(?!\d|-{2}|-\d)[\w\u00A0-\uFFFF:!%.~<-]+)=?(?:"([^"]*)"|'([^']*)'|\{([^}]*)\})?/g,On=["placeholder","fill","opacity","stroke-opacity"];function ui(e){let t=e?.ignoreAttributes??On,r=e?.nonValuedAttribute??!0,n=e?.trueToNonValued??!1;return{name:"@unocss/preset-attributify/extractor",extract({code:o}){return Array.from(o.matchAll(An)).flatMap(i=>Array.from((i[1]||"").matchAll(Cu))).flatMap(([,i,...s])=>{let a=s.filter(Boolean).join("");if(t.includes(i))return[];for(let c of Su)if(i.startsWith(c)){i=i.slice(c.length);break}if(!a){if(Je(i)&&r!==!1){let c=[`[${i}=""]`];return n&&c.push(`[${i}="true"]`),c}return[]}return["class","className"].includes(i)?a.split(fi).filter(Je):An.test(a)?(An.lastIndex=0,this.extract({code:a})):e?.prefixedOnly&&e.prefix&&!i.startsWith(e.prefix)?[]:a.split(fi).filter(c=>!!c&&c!==":").map(c=>`[${i}~="${c}"]`)})}}}var Ru=(e={})=>{e.strict=e.strict??!1,e.prefix=e.prefix??"un-",e.prefixedOnly=e.prefixedOnly??!1,e.nonValuedAttribute=e.nonValuedAttribute??!0,e.ignoreAttributes=e.ignoreAttributes??On;let t=[ai(e)],r=[ui(e)],n=[li(e)];return{name:"@unocss/preset-attributify",enforce:"post",variants:t,extractors:r,options:e,autocomplete:{extractors:n},extractorDefault:e.strict?!1:void 0}},pi=Ru;var er="__TAGIFY__",Eu=/<([\w:-]+)/g;function di(e){let{prefix:t="",excludedTags:r=["b",/^h\d+$/,"table"]}=e;return{name:"tagify",extract({code:n}){return Array.from(n.matchAll(Eu)).filter(({1:o})=>{for(let i of r)if(typeof i=="string"){if(o===i)return!1}else if(i.lastIndex=0,i.test(o))return!1;return o.startsWith(t)}).map(([,o])=>`${er}${o}`)}}}function mi(e){let{extraProperties:t}=e,r=`${er}${e.prefix??""}`;return{name:"tagify",match(n){if(!n.startsWith(r))return;let o=n.slice(r.length),i={matcher:o,selector:s=>s.slice(er.length+1)};return t&&(typeof t=="function"?i.body=s=>[...s,...Object.entries(t(o)??{})]:i.body=s=>[...s,...Object.entries(t)]),i}}}var Tu=(e={})=>{let{defaultExtractor:t=!0}=e,r=[mi(e)],n=[di(e)];return{name:"@unocss/preset-tagify",variants:r,extractors:n,extractorDefault:t?void 0:!1}},hi=Tu;function re(e,t,r){if(e==="")return;let n=e.length,o=0,i=!1,s=0;for(let a=0;a<n;a++)switch(e[a]){case t:i||(i=!0,s=a),o++;break;case r:if(--o,o<0)return;if(o===0)return[e.slice(s,a+1),e.slice(a+1),e.slice(0,s)];break}}function pe(e,t,r,n){if(e===""||(F(n)&&(n=[n]),n.length===0))return;let o=e.length,i=0;for(let s=0;s<o;s++)switch(e[s]){case t:i++;break;case r:if(--i<0)return;break;default:for(let a of n){let c=a.length;if(c&&a===e.slice(s,s+c)&&i===0)return s===0||s===o-c?void 0:[e.slice(0,s),e.slice(s+c)]}}return[e,""]}function Ee(e,t,r,n="(",o=")"){r=r??10;let i=[],s=0;for(;e!=="";){if(++s>r)return;let a=pe(e,n,o,t);if(!a)return;let[c,l]=a;i.push(c),e=l}if(i.length>0)return i}var Pn=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"];var tr=["%alpha","<alpha-value>"],ju=new RegExp(tr.map(e=>K(e)).join("|"),"g");function Y(e=""){let t=zu(e);if(t==null||t===!1)return;let{type:r,components:n,alpha:o}=t,i=r.toLowerCase();if(n.length!==0&&!(Pn.includes(i)&&![1,3].includes(n.length)))return{type:i,components:n.map(s=>typeof s=="string"?s.trim():s),alpha:typeof o=="string"?o.trim():o}}function ie(e){let t=e.alpha??1;return typeof t=="string"&&tr.includes(t)?1:t}function A(e,t){if(typeof e=="string")return e.replace(ju,`${t??1}`);let{components:r}=e,{alpha:n,type:o}=e;return n=t??n,o=o.toLowerCase(),["hsla","rgba"].includes(o)?`${o}(${r.join(", ")}${n==null?"":`, ${n}`})`:(n=n==null?"":` / ${n}`,Pn.includes(o)?`${o}(${r.join(" ")}${n})`:`color(${o} ${r.join(" ")}${n})`)}function zu(e){if(!e)return;let t=Au(e);if(t!=null||(t=Ou(e),t!=null)||(t=Pu(e),t!=null)||(t=Mu(e),t!=null)||(t=Fu(e),t!=null))return t}function Au(e){let[,t]=e.match(/^#([\da-f]+)$/i)||[];if(t)switch(t.length){case 3:case 4:{let r=Array.from(t,n=>Number.parseInt(n,16)).map(n=>n<<4|n);return{type:"rgb",components:r.slice(0,3),alpha:t.length===3?void 0:Math.round(r[3]/255*100)/100}}case 6:case 8:{let r=Number.parseInt(t,16);return{type:"rgb",components:t.length===6?[r>>16&255,r>>8&255,r&255]:[r>>24&255,r>>16&255,r>>8&255],alpha:t.length===6?void 0:Math.round((r&255)/255*100)/100}}}}function Ou(e){let t={rebeccapurple:[102,51,153,1]}[e];if(t!=null)return{type:"rgb",components:t.slice(0,3),alpha:t[3]}}function Pu(e){let t=e.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!t)return;let[,r,n]=t,o=Ee(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 Vu=new RegExp(`^(${Pn.join("|")})\\((.+)\\)$`,"i");function Mu(e){let t=e.match(Vu);if(!t)return;let[,r,n]=t,o=gi(`${r} ${n}`);if(o){let{alpha:i,components:[s,...a]}=o;return{type:s,components:a,alpha:i}}}function Fu(e){let t=e.match(/^color\((.+)\)$/);if(!t)return;let r=gi(t[1]);if(r){let{alpha:n,components:[o,...i]}=r;return{type:o,components:i,alpha:n}}}function gi(e){let t=Ee(e," ");if(!t)return;let r=t.length;if(t[r-2]==="/")return{components:t.slice(0,r-2),alpha:t[r-1]};if(t[r-2]!=null&&(t[r-2].endsWith("/")||t[r-1].startsWith("/"))){let i=t.splice(r-2);t.push(i.join(" ")),--r}let n=Ee(t[r-1],"/",2);if(!n)return;if(n.length===1||n[n.length-1]==="")return{components:t};let o=n.pop();return t[r-1]=n.join("/"),{components:t,alpha:o}}var bi="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",vi=new Uint8Array(64),_u=new Uint8Array(128);for(let e=0;e<bi.length;e++){let t=bi.charCodeAt(e);vi[e]=t,_u[t]=e}function rt(e,t,r){let n=t-r;n=n<0?-n<<1|1:n<<1;do{let o=n&31;n>>>=5,n>0&&(o|=32),e.write(vi[o])}while(n>0);return t}var xi=1024*16,yi=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(e){return Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString()}}:{decode(e){let t="";for(let r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t}},Vn=class{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(xi)}write(t){let{buffer:r}=this;r[this.pos++]=t,this.pos===xi&&(this.out+=yi.decode(r),this.pos=0)}flush(){let{buffer:t,out:r,pos:n}=this;return n>0?r+yi.decode(t.subarray(0,n)):r}};function $i(e){let t=new Vn,r=0,n=0,o=0,i=0;for(let s=0;s<e.length;s++){let a=e[s];if(s>0&&t.write(59),a.length===0)continue;let c=0;for(let l=0;l<a.length;l++){let f=a[l];l>0&&t.write(44),c=rt(t,f[0],c),f.length!==1&&(r=rt(t,f[1],r),n=rt(t,f[2],n),o=rt(t,f[3],o),f.length!==4&&(i=rt(t,f[4],i)))}}return t.flush()}var rr=class e{constructor(t){this.bits=t instanceof e?t.bits.slice():[]}add(t){this.bits[t>>5]|=1<<(t&31)}has(t){return!!(this.bits[t>>5]&1<<(t&31))}},nr=class e{constructor(t,r,n){this.start=t,this.end=r,this.original=n,this.intro="",this.outro="",this.content=n,this.storeName=!1,this.edited=!1,this.previous=null,this.next=null}appendLeft(t){this.outro+=t}appendRight(t){this.intro=this.intro+t}clone(){let t=new e(this.start,this.end,this.original);return t.intro=this.intro,t.outro=this.outro,t.content=this.content,t.storeName=this.storeName,t.edited=this.edited,t}contains(t){return this.start<t&&t<this.end}eachNext(t){let r=this;for(;r;)t(r),r=r.next}eachPrevious(t){let r=this;for(;r;)t(r),r=r.previous}edit(t,r,n){return this.content=t,n||(this.intro="",this.outro=""),this.storeName=r,this.edited=!0,this}prependLeft(t){this.outro=t+this.outro}prependRight(t){this.intro=t+this.intro}reset(){this.intro="",this.outro="",this.edited&&(this.content=this.original,this.storeName=!1,this.edited=!1)}split(t){let r=t-this.start,n=this.original.slice(0,r),o=this.original.slice(r);this.original=n;let i=new e(t,this.end,o);return i.outro=this.outro,this.outro="",this.end=t,this.edited?(i.edit("",!1),this.content=""):this.content=n,i.next=this.next,i.next&&(i.next.previous=i),i.previous=this,this.next=i,i}toString(){return this.intro+this.content+this.outro}trimEnd(t){if(this.outro=this.outro.replace(t,""),this.outro.length)return!0;let r=this.content.replace(t,"");if(r.length)return r!==this.content&&(this.split(this.start+r.length).edit("",void 0,!0),this.edited&&this.edit(r,this.storeName,!0)),!0;if(this.edit("",void 0,!0),this.intro=this.intro.replace(t,""),this.intro.length)return!0}trimStart(t){if(this.intro=this.intro.replace(t,""),this.intro.length)return!0;let r=this.content.replace(t,"");if(r.length){if(r!==this.content){let n=this.split(this.end-r.length);this.edited&&n.edit(r,this.storeName,!0),this.edit("",void 0,!0)}return!0}else if(this.edit("",void 0,!0),this.outro=this.outro.replace(t,""),this.outro.length)return!0}};function Lu(){return typeof globalThis<"u"&&typeof globalThis.btoa=="function"?e=>globalThis.btoa(unescape(encodeURIComponent(e))):typeof Buffer=="function"?e=>Buffer.from(e,"utf-8").toString("base64"):()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}var Wu=Lu(),Mn=class{constructor(t){this.version=3,this.file=t.file,this.sources=t.sources,this.sourcesContent=t.sourcesContent,this.names=t.names,this.mappings=$i(t.mappings),typeof t.x_google_ignoreList<"u"&&(this.x_google_ignoreList=t.x_google_ignoreList),typeof t.debugId<"u"&&(this.debugId=t.debugId)}toString(){return JSON.stringify(this)}toUrl(){return"data:application/json;charset=utf-8;base64,"+Wu(this.toString())}};function Uu(e){let t=e.split(`
|
|
3
|
-
`),r=t.filter(i=>/^\t+/.test(i)),n=t.filter(i=>/^ {2,}/.test(i));if(r.length===0&&n.length===0)return null;if(r.length>=n.length)return" ";let o=n.reduce((i,s)=>{let a=/^ +/.exec(s)[0].length;return Math.min(a,i)},1/0);return new Array(o+1).join(" ")}function Bu(e,t){let r=e.split(/[/\\]/),n=t.split(/[/\\]/);for(r.pop();r[0]===n[0];)r.shift(),n.shift();if(r.length){let o=r.length;for(;o--;)r[o]=".."}return r.concat(n).join("/")}var Iu=Object.prototype.toString;function Du(e){return Iu.call(e)==="[object Object]"}function
|
|
4
|
-
`),r=[];for(let n=0,o=0;n<t.length;n++)r.push(o),o+=t[n].length+1;return function(o){let i=0,s=r.length;for(;i<s;){let l=i+s>>1;o<r[l]?s=l:i=l+1}let a=i-1,c=o-r[a];return{line:a,column:c}}}var Nu=/\w/,
|
|
1
|
+
"use strict";(()=>{var nu=Object.defineProperty;var ou=(e,t)=>{for(var r in t)nu(e,r,{get:t[r],enumerable:!0})};var Xe="default",Kt="preflights",iu="shortcuts",su="imports",Do={[su]:-200,[Kt]:-100,[iu]:-10,[Xe]:0};var Gt=/[\\:]?[\s'"`;{}]+/g;function au(e){return e.split(Gt)}var Ht={name:"@unocss/core/extractor-split",order:0,extract({code:e}){return au(e)}};function C(e=[]){return Array.isArray(e)?e:[e]}function ue(e){return Array.from(new Set(e))}function Rn(e,t){return e.reduce((r,n)=>(r.findIndex(i=>t(n,i))===-1&&r.push(n),r),[])}function F(e){return typeof e=="string"}var Ze=class extends Set{_map=new Map;constructor(t){if(super(),t)for(let r of t)this.add(r)}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,r){return this._map.set(t,r),super.add(t)}};function qt(e){return e instanceof Ze}function K(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function J(e){let t=e.length,r=-1,n,o="",i=e.charCodeAt(0);for(;++r<t;){if(n=e.charCodeAt(r),n===0){o+="\uFFFD";continue}if(n===37){o+="\\%";continue}if(n===44){o+="\\,";continue}if(n>=1&&n<=31||n===127||r===0&&n>=48&&n<=57||r===1&&n>=48&&n<=57&&i===45){o+=`\\${n.toString(16)} `;continue}if(r===0&&t===1&&n===45){o+=`\\${e.charAt(r)}`;continue}if(n>=128||n===45||n===95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){o+=e.charAt(r);continue}o+=`\\${e.charAt(r)}`}return o}var Yt=J;function No(){return{events:{},emit(e,...t){(this.events[e]||[]).forEach(r=>r(...t))},on(e,t){return(this.events[e]=this.events[e]||[]).push(t),()=>this.events[e]=(this.events[e]||[]).filter(r=>r!==t)}}}var cu=/^\[(.+?)~?="(.*)"\]$/;var lu=/[\w\u00A0-\uFFFF%-?]/;function Ko(e){return e.match(cu)}function Je(e=""){return lu.test(e)}function Go(e){return typeof e=="function"?{match:e}:e}function En(e){return e.length===3}function Xt(e){return e!=null}function Ho(){}var Zt=class{_map=new Map;get(t,r){let n=this._map.get(t);if(n)return n.get(r)}getFallback(t,r,n){let o=this._map.get(t);return o||(o=new Map,this._map.set(t,o)),o.has(r)||o.set(r,n),o.get(r)}set(t,r,n){let o=this._map.get(t);return o||(o=new Map,this._map.set(t,o)),o.set(r,n),this}has(t,r){return this._map.get(t)?.has(r)}delete(t,r){return this._map.get(t)?.delete(r)||!1}deleteTop(t){return this._map.delete(t)}map(t){return Array.from(this._map.entries()).flatMap(([r,n])=>Array.from(n.entries()).map(([o,i])=>t(i,r,o)))}},Jt=class extends Map{getFallback(t,r){let n=this.get(t);return n===void 0?(this.set(t,r),r):n}map(t){let r=[];return this.forEach((n,o)=>{r.push(t(n,o))}),r}flatMap(t){let r=[];return this.forEach((n,o)=>{r.push(...t(n,o))}),r}};function et(e){return F(e)?e:(Array.isArray(e)?e:Object.entries(e)).filter(t=>t[1]!=null)}function qo(e){return Array.isArray(e)?e.find(t=>!Array.isArray(t)||Array.isArray(t[0]))?e.map(t=>et(t)):[e]:[et(e)]}function fu(e){return e.filter(([t,r],n)=>{if(t.startsWith("$$"))return!1;for(let o=n-1;o>=0;o--)if(e[o][0]===t&&e[o][1]===r)return!1;return!0})}function Le(e){return e==null?"":fu(e).map(([t,r])=>r!=null&&typeof r!="function"?`${t}:${r};`:void 0).filter(Boolean).join("")}function Qt(e){return e&&typeof e=="object"&&!Array.isArray(e)}function tt(e,t,r=!1){let n=e,o=t;if(Array.isArray(o))return r&&Array.isArray(o)?[...n,...o]:[...o];let i={...n};return Qt(n)&&Qt(o)&&Object.keys(o).forEach(s=>{Qt(n[s])&&Qt(o[s])||Array.isArray(n[s])&&Array.isArray(o[s])?i[s]=tt(n[s],o[s],r):Object.assign(i,{[s]:o[s]})}),i}function Qe(e){let t,r,n;if(Array.isArray(e)){for(r=Array.from({length:t=e.length});t--;)r[t]=(n=e[t])&&typeof n=="object"?Qe(n):n;return r}if(Object.prototype.toString.call(e)==="[object Object]"){r={};for(t in e)t==="__proto__"?Object.defineProperty(r,t,{value:Qe(e[t]),configurable:!0,enumerable:!0,writable:!0}):r[t]=(n=e[t])&&typeof n=="object"?Qe(n):n;return r}return e}function Yo(e){return F(e[0])}function Xo(e){return F(e[0])}var er={};function uu(e=["-",":"]){let t=e.join("|");return er[t]||(er[t]=new RegExp(`((?:[!@<~\\w+:_-]|\\[&?>?:?\\S*\\])+?)(${t})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[[^\\]]*?\\])+?)\\)(?!\\s*?=>)`,"gm")),er[t].lastIndex=0,er[t]}function pu(e,t=["-",":"],r=5){let n=uu(t),o,i=e.toString(),s=new Set,a=new Map;do o=!1,i=i.replace(n,(l,f,p,m,h)=>{if(!t.includes(p))return l;o=!0,s.add(f+p);let g=h+f.length+p.length+1,b={length:l.length,items:[]};a.set(h,b);for(let $ of[...m.matchAll(/\S+/g)]){let S=g+$.index,y=a.get(S)?.items;y?a.delete(S):y=[{offset:S,length:$[0].length,className:$[0]}];for(let x of y)x.className=x.className==="~"?f:x.className.replace(/^(!?)(.*)/,`$1${f}${p}$2`),b.items.push(x)}return"$".repeat(l.length)}),r-=1;while(o&&r);let c;if(typeof e=="string"){c="";let l=0;for(let[f,p]of a)c+=e.slice(l,f),c+=p.items.map(m=>m.className).join(" "),l=f+p.length;c+=e.slice(l)}else{c=e;for(let[l,f]of a)c.overwrite(l,l+f.length,f.items.map(p=>p.className).join(" "))}return{prefixes:Array.from(s),hasChanged:o,groupsByOffset:a,get expanded(){return c.toString()}}}function Zo(e,t=["-",":"],r=5){let n=pu(e,t,r);return typeof e=="string"?n.expanded:e}var Jo=new Set;function Qo(e){Jo.has(e)||(console.warn("[unocss]",e),Jo.add(e))}function ri(e){return C(e).flatMap(t=>Array.isArray(t)?[t]:Object.entries(t))}var ei="_uno_resolved";async function du(e){let t=typeof e=="function"?await e():await e;if(ei in t)return t;t={...t},Object.defineProperty(t,ei,{value:!0,enumerable:!1});let r=t.shortcuts?ri(t.shortcuts):void 0;if(t.shortcuts=r,t.prefix||t.layer){let n=o=>{o[2]||(o[2]={});let i=o[2];i.prefix==null&&t.prefix&&(i.prefix=C(t.prefix)),i.layer==null&&t.layer&&(i.layer=t.layer)};r?.forEach(n),t.rules?.forEach(n)}return t}async function ni(e){let t=await du(e);if(!t.presets)return[t];let r=(await Promise.all((t.presets||[]).flatMap(C).flatMap(ni))).flat();return[t,...r]}function mu(e){if(e.length===0)return{};let t=[],r=[],n=!1,o=[],i=[];for(let a of e){if(a.pipeline===!1){n=!0;break}else a.pipeline?.include&&t.push(a.pipeline.include),a.pipeline?.exclude&&r.push(a.pipeline.exclude);a.filesystem&&o.push(a.filesystem),a.inline&&i.push(a.inline)}let s={pipeline:n?!1:{include:ue(ti(...t)),exclude:ue(ti(...r))}};return o.length&&(s.filesystem=ue(o.flat())),i.length&&(s.inline=ue(i.flat())),s}async function Tn(e={},t={}){let r=Object.assign({},t,e),n=Rn((await Promise.all((r.presets||[]).flatMap(C).flatMap(ni))).flat(),(v,j)=>v.name===j.name),o=[...n.filter(v=>v.enforce==="pre"),...n.filter(v=>!v.enforce),...n.filter(v=>v.enforce==="post")],i=[...o,r],s=[...i].reverse(),a=Object.assign({},Do,...i.map(v=>v.layers));function c(v){return ue(i.flatMap(j=>C(j[v]||[])))}let l=c("extractors"),f=s.find(v=>v.extractorDefault!==void 0)?.extractorDefault;f===void 0&&(f=Ht),f&&!l.includes(f)&&l.unshift(f),l.sort((v,j)=>(v.order||0)-(j.order||0));let p=c("rules"),m={},h=p.length,g=p.filter(v=>Yo(v)?(C(v[2]?.prefix||"").forEach(k=>{m[k+v[0]]=v}),!1):!0).reverse(),b={templates:ue(i.flatMap(v=>C(v.autocomplete?.templates))),extractors:i.flatMap(v=>C(v.autocomplete?.extractors)).sort((v,j)=>(v.order||0)-(j.order||0)),shorthands:gu(i.map(v=>v.autocomplete?.shorthands||{}))},$=c("separators");$.length||($=[":","-"]);let S=c("content"),y=mu(S),x={mergeSelectors:!0,warn:!0,sortLayers:v=>v,...r,blocklist:c("blocklist"),presets:o,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:a,theme:hu(i.map(v=>v.theme)),rules:p,rulesSize:h,rulesDynamic:g,rulesStaticMap:m,preprocess:c("preprocess"),postprocess:c("postprocess"),preflights:c("preflights"),autocomplete:b,variants:c("variants").map(Go).sort((v,j)=>(v.order||0)-(j.order||0)),shortcuts:ri(c("shortcuts")).reverse(),extractors:l,safelist:c("safelist"),separators:$,details:r.details??r.envMode==="dev",content:y,transformers:Rn(c("transformers"),(v,j)=>v.name===j.name)},T=c("extendTheme");for(let v of T)x.theme=v(x.theme,x)||x.theme;for(let v of i)v?.configResolved?.(x);return x}function hu(e){return e.map(t=>t?Qe(t):{}).reduce((t,r)=>tt(t,r),{})}function gu(e){return e.reduce((t,r)=>{let n={};for(let o in r){let i=r[o];Array.isArray(i)?n[o]=`(${i.join("|")})`:n[o]=i}return{...t,...n}},{})}function ti(...e){return e.flatMap(bu)}function bu(e){return Array.isArray(e)?e:e?[e]:[]}var oi="66.4.2";var $e={shortcutsNoMerge:"$$symbol-shortcut-no-merge",noMerge:"$$symbol-no-merge",variants:"$$symbol-variants",parent:"$$symbol-parent",selector:"$$symbol-selector",layer:"$$symbol-layer",sort:"$$symbol-sort"},jn=class e{constructor(t={},r={}){this.userConfig=t;this.defaults=r}version=oi;events=No();config=void 0;cache=new Map;blocked=new Set;parentOrders=new Map;activatedRules=new Set;static async create(t={},r={}){let n=new e(t,r);return n.config=await Tn(n.userConfig,n.defaults),n.events.emit("config",n.config),n}async setConfig(t,r){t&&(r&&(this.defaults=r),this.userConfig=t,this.blocked.clear(),this.parentOrders.clear(),this.activatedRules.clear(),this.cache.clear(),this.config=await Tn(t,this.defaults),this.events.emit("config",this.config))}async applyExtractors(t,r,n=new Set){let o={original:t,code:t,id:r,extracted:n,envMode:this.config.envMode};for(let i of this.config.extractors){let s=await i.extract?.(o);if(s)if(qt(s)&&qt(n))for(let a of s)n.setCount(a,n.getCount(a)+s.getCount(a));else for(let a of s)n.add(a)}return n}makeContext(t,r){let n={rawSelector:t,currentSelector:r[1],theme:this.config.theme,generator:this,symbols:$e,variantHandlers:r[2],constructCSS:(...o)=>this.constructCustomCSS(n,...o),variantMatch:r};return n}async parseToken(t,r){if(this.blocked.has(t))return;let n=`${t}${r?` ${r}`:""}`;if(this.cache.has(n))return this.cache.get(n);let o=this.config.preprocess.reduce((c,l)=>l(c)??c,t);if(this.isBlocked(o)){this.blocked.add(t),this.cache.set(n,null);return}let i=await this.matchVariants(t,o);if(i.every(c=>!c||this.isBlocked(c[1]))){this.blocked.add(t),this.cache.set(n,null);return}let s=async c=>{let l=this.makeContext(t,[r||c[0],c[1],c[2],c[3]]);this.config.details&&(l.variants=[...c[3]]);let f=await this.expandShortcut(l.currentSelector,l);return f?await this.stringifyShortcuts(l.variantMatch,l,f[0],f[1]):(await this.parseUtil(l.variantMatch,l))?.map(m=>this.stringifyUtil(m,l)).filter(Xt)},a=(await Promise.all(i.map(c=>s(c)))).flat().filter(c=>!!c);if(a?.length)return this.cache.set(n,a),a;this.cache.set(n,null)}async generate(t,r={}){let{id:n,scope:o,preflights:i=!0,safelist:s=!0,minify:a=!1,extendedInfo:c=!1}=r,l=F(t)?await this.applyExtractors(t,n,c?new Ze:new Set):Array.isArray(t)?new Set(t):t;if(s){let k={generator:this,theme:this.config.theme};this.config.safelist.flatMap(R=>typeof R=="function"?R(k):R).forEach(R=>{let P=R.trim();P&&!l.has(P)&&l.add(P)})}let f=a?"":`
|
|
2
|
+
`,p=new Set([Xe]),m=c?new Map:new Set,h=new Map,g={},b=Array.from(l).map(async k=>{if(m.has(k))return;let R=await this.parseToken(k);if(R!=null){m instanceof Map?m.set(k,{data:R,count:qt(l)?l.getCount(k):-1}):m.add(k);for(let P of R){let ee=P[3]||"",te=P[4]?.layer;h.has(ee)||h.set(ee,[]),h.get(ee).push(P),te&&p.add(te)}}});await Promise.all(b),await(async()=>{if(!i)return;let k={generator:this,theme:this.config.theme},R=new Set([]);this.config.preflights.forEach(({layer:P=Kt})=>{p.add(P),R.add(P)}),g=Object.fromEntries(await Promise.all(Array.from(R).map(async P=>{let te=(await Promise.all(this.config.preflights.filter(le=>(le.layer||Kt)===P).map(async le=>await le.getCSS(k)))).filter(Boolean).join(f);return[P,te]})))})();let $=this.config.sortLayers(Array.from(p).sort((k,R)=>(this.config.layers[k]??0)-(this.config.layers[R]??0)||k.localeCompare(R))),S={},y=this.config.outputToCssLayers,x=k=>{let R=k;return typeof y=="object"&&(R=y.cssLayerName?.(k)),R===null?null:R??k},T=(k=Xe)=>{if(S[k])return S[k];let R=Array.from(h).sort((te,le)=>(this.parentOrders.get(te[0])??0)-(this.parentOrders.get(le[0])??0)||te[0]?.localeCompare(le[0]||"")||0).map(([te,le])=>{let E=le.length,V=le.filter(I=>(I[4]?.layer||Xe)===k).sort((I,fe)=>I[0]-fe[0]||(I[4]?.sort||0)-(fe[4]?.sort||0)||I[5]?.currentSelector?.localeCompare(fe[5]?.currentSelector??"")||I[1]?.localeCompare(fe[1]||"")||I[2]?.localeCompare(fe[2]||"")||0).map(([,I,fe,,Nt,,Sn])=>[[[(I&&vu(I,o))??"",Nt?.sort??0]],fe,!!(Sn??Nt?.noMerge)]);if(!V.length)return;let B=V.reverse().map(([I,fe,Nt],Sn)=>{if(!Nt&&this.config.mergeSelectors)for(let Re=Sn+1;Re<E;Re++){let he=V[Re];if(he&&!he[2]&&(I&&he[0]||I==null&&he[0]==null)&&he[1]===fe)return I&&he[0]&&he[0].push(...I),null}let Cn=I?ue(I.sort((Re,he)=>Re[1]-he[1]||Re[0]?.localeCompare(he[0]||"")||0).map(Re=>Re[0]).filter(Boolean)):[];return Cn.length?`${Cn.join(`,${f}`)}{${fe}}`:fe}).filter(Boolean),D=Array.from(new Set(B)).reverse().join(f);if(!te)return D;let Q=te.split(" $$ ");return`${Q.join("{")}{${f}${D}${f}${"}".repeat(Q.length)}`}).filter(Boolean).join(f);i&&(R=[g[k],R].filter(Boolean).join(f));let P;y&&R&&(P=x(k),P!==null&&(R=`@layer ${P}{${f}${R}${f}}`));let ee=a?"":`/* layer: ${k}${P&&P!==k?`, alias: ${P}`:""} */${f}`;return S[k]=R?ee+R:""},v=(k=$,R)=>{let P=k.filter(ee=>!R?.includes(ee));return[y&&P.length>0?`@layer ${P.map(x).filter(Xt).join(", ")};`:void 0,...P.map(ee=>T(ee)||"")].filter(Boolean).join(f)};return{get css(){return v()},layers:$,matched:m,getLayers:v,getLayer:T,setLayer:async(k,R)=>{let P=await R(T(k));return S[k]=P,P}}}async matchVariants(t,r){let n={rawSelector:t,theme:this.config.theme,generator:this},o=async i=>{let s=!0,[,,a,c]=i;for(;s;){s=!1;let l=i[1];for(let f of this.config.variants){if(!f.multiPass&&c.has(f))continue;let p=await f.match(l,n);if(p){if(F(p)){if(p===l)continue;p={matcher:p}}if(Array.isArray(p)){if(!p.length)continue;if(p.length===1)p=p[0];else{if(f.multiPass)throw new Error("multiPass can not be used together with array return variants");let m=p.map(h=>{let g=h.matcher??l,b=[h,...a],$=new Set(c);return $.add(f),[i[0],g,b,$]});return(await Promise.all(m.map(h=>o(h)))).flat()}}i[1]=p.matcher??l,a.unshift(p),c.add(f),s=!0;break}}if(!s)break;if(a.length>500)throw new Error(`Too many variants applied to "${t}"`)}return[i]};return await o([t,r||t,[],new Set])}applyVariants(t,r=t[4],n=t[1]){let i=r.slice().sort((l,f)=>(l.order||0)-(f.order||0)).reduceRight((l,f)=>p=>{let m=f.body?.(p.entries)||p.entries,h=Array.isArray(f.parent)?f.parent:[f.parent,void 0],g=f.selector?.(p.selector,m);return(f.handle??$u)({...p,entries:m,selector:g||p.selector,parent:h[0]||p.parent,parentOrder:h[1]||p.parentOrder,layer:f.layer||p.layer,sort:f.sort||p.sort},l)},l=>l)({prefix:"",selector:zn(n),pseudo:"",entries:t[2]}),{parent:s,parentOrder:a}=i;s!=null&&a!=null&&this.parentOrders.set(s,a);let c={selector:[i.prefix,i.selector,i.pseudo].join(""),entries:i.entries,parent:s,layer:i.layer,sort:i.sort,noMerge:i.noMerge};for(let l of this.config.postprocess)l(c);return c}constructCustomCSS(t,r,n){let o=et(r);if(F(o))return o;let{selector:i,entries:s,parent:a}=this.applyVariants([0,n||t.rawSelector,o,void 0,t.variantHandlers]),c=`${i}{${Le(s)}}`;return a?`${a}{${c}}`:c}async parseUtil(t,r,n=!1,o){let i=F(t)?await this.matchVariants(t):[t],s=async([c,l,f])=>{this.config.details&&(r.rules=r.rules??[]);let p={...r,variantHandlers:f},m=this.config.rulesStaticMap[l];if(m&&m[1]&&(n||!m[2]?.internal))return this.resolveCSSResult(c,m[1],m,p);for(let h of this.config.rulesDynamic){let[g,b,$]=h;if($?.internal&&!n)continue;let S=l;if($?.prefix){let v=C($.prefix);if(o){let j=C(o);if(!v.some(k=>j.includes(k)))continue}else{let j=v.find(k=>l.startsWith(k));if(j==null)continue;S=l.slice(j.length)}}let y=S.match(g);if(!y)continue;let x=await b(y,p);if(!x)continue;if(typeof x!="string")if(Symbol.asyncIterator in x){let v=[];for await(let j of x)j&&v.push(j);x=v}else Symbol.iterator in x&&!Array.isArray(x)&&(x=Array.from(x).filter(Xt));let T=this.resolveCSSResult(c,x,h,p);if(T)return T}},a=(await Promise.all(i.map(c=>s(c)))).flat().filter(c=>!!c);if(a.length)return a}resolveCSSResult=(t,r,n,o)=>{let i=qo(r).filter(s=>s.length);if(i.length){this.config.details&&o.rules.push(n),o.generator.activatedRules.add(n);let s=o.generator.config.rules.indexOf(n),a=n[2];return i.map(c=>{if(F(c))return[s,c,a];let l=o.variantHandlers,f=a;for(let p of c)p[0]===$e.variants?typeof p[1]=="function"?l=p[1](l)||l:l=[...C(p[1]),...l]:p[0]===$e.parent?l=[{parent:p[1]},...l]:p[0]===$e.selector?l=[{selector:p[1]},...l]:p[0]===$e.layer?l=[{layer:p[1]},...l]:p[0]===$e.sort?f={...f,sort:p[1]}:p[0]===$e.noMerge&&(f={...f,noMerge:p[1]});return[s,t,c,f,l]})}};stringifyUtil(t,r){if(!t)return;if(En(t))return[t[0],void 0,t[1],void 0,t[2],this.config.details?r:void 0,void 0];let{selector:n,entries:o,parent:i,layer:s,sort:a,noMerge:c}=this.applyVariants(t),l=Le(o);if(!l)return;let{layer:f,sort:p,...m}=t[3]??{},h={...m,layer:s??f,sort:a??p};return[t[0],n,l,i,h,this.config.details?r:void 0,c]}async expandShortcut(t,r,n=5){if(n===0)return;let o=this.config.details?l=>{r.shortcuts=r.shortcuts??[],r.shortcuts.push(l)}:Ho,i,s,a,c;for(let l of this.config.shortcuts){let f=t;if(l[2]?.prefix){let m=C(l[2].prefix).find(h=>t.startsWith(h));if(m==null)continue;f=t.slice(m.length)}if(Xo(l)){if(l[0]===f){i=i||l[2],s=l[1],o(l);break}}else{let p=f.match(l[0]);if(p&&(s=l[1](p,r)),s){i=i||l[2],o(l);break}}}if(s&&(a=ue(C(s).filter(F).map(l=>Zo(l.trim()).split(/\s+/g)).flat()),c=C(s).filter(l=>!F(l)).map(l=>({handles:[],value:l}))),!s){let l=F(t)?await this.matchVariants(t):[t];for(let f of l){let[p,m,h]=f;if(p!==m){let g=await this.expandShortcut(m,r,n-1);g&&(a=g[0].filter(F).map(b=>p.replace(m,b)),c=g[0].filter(b=>!F(b)).map(b=>({handles:[...b.handles,...h],value:b.value})))}}}if(!(!a?.length&&!c?.length))return[[await Promise.all(C(a).map(async l=>(await this.expandShortcut(l,r,n-1))?.[0]||[l])),c].flat(2).filter(l=>!!l),i]}async stringifyShortcuts(t,r,n,o={layer:this.config.shortcutsLayer}){let i=new Jt,s=(await Promise.all(ue(n).map(async f=>{let p=F(f)?await this.parseUtil(f,r,!0,o.prefix):[[Number.POSITIVE_INFINITY,"{inline}",et(f.value),void 0,f.handles]];return!p&&this.config.warn&&Qo(`unmatched utility "${f}" in shortcut "${t[1]}"`),p||[]}))).flat(1).filter(Boolean).sort((f,p)=>f[0]-p[0]),[a,,c]=t,l=[];for(let f of s){if(En(f)){l.push([f[0],void 0,f[1],void 0,f[2],r,void 0]);continue}let{selector:p,entries:m,parent:h,sort:g,noMerge:b,layer:$}=this.applyVariants(f,[...f[4],...c],a);i.getFallback($??o.layer,new Zt).getFallback(p,h,[[],f[0]])[0].push([m,!!(b??f[3]?.noMerge),g??0])}return l.concat(i.flatMap((f,p)=>f.map(([m,h],g,b)=>{let $=(y,x,T)=>{let v=Math.max(...T.map(k=>k[1])),j=T.map(k=>k[0]);return(y?[j.flat(1)]:j).map(k=>{let R=Le(k);if(R)return[h,g,R,b,{...o,noMerge:x,sort:v,layer:p},r,void 0]})};return[[m.filter(([,y])=>y).map(([y,,x])=>[y,x]),!0],[m.filter(([,y])=>!y).map(([y,,x])=>[y,x]),!1]].map(([y,x])=>[...$(!1,x,y.filter(([T])=>T.some(v=>v[0]===$e.shortcutsNoMerge))),...$(!0,x,y.filter(([T])=>T.every(v=>v[0]!==$e.shortcutsNoMerge)))])}).flat(2).filter(Boolean)))}isBlocked(t){return!t||this.config.blocklist.map(r=>Array.isArray(r)?r[0]:r).some(r=>typeof r=="function"?r(t):F(r)?r===t:r.test(t))}getBlocked(t){let r=this.config.blocklist.find(n=>{let o=Array.isArray(n)?n[0]:n;return typeof o=="function"?o(t):F(o)?o===t:o.test(t)});return r?Array.isArray(r)?r:[r,void 0]:void 0}};async function si(e,t){return await jn.create(e,t)}var ai=/\s\$\$\s+/g;function yu(e){return ai.test(e)}function vu(e,t){return yu(e)?e.replace(ai,t?` ${t} `:" "):t?`${t} ${e}`:e}var ii=/^\[(.+?)(~?=)"(.*)"\]$/;function zn(e){return ii.test(e)?e.replace(ii,(t,r,n,o)=>`[${Yt(r)}${n}"${Yt(o)}"]`):`.${Yt(e)}`}function $u(e,t){return t(e)}var An=/^(?!.*\[[^:]+:.+\]$)((?:.+:)?!?)(.*)$/;function ci(e={}){let t=e.prefix??"un-",r=e.prefixedOnly??!1,n=e.trueToNonValued??!1,o;return{name:"attributify",match(i,{generator:s}){let a=Ko(i);if(!a)return;let c=a[1];if(c.startsWith(t))c=c.slice(t.length);else if(r)return;let l=a[2],[,f="",p=l]=l.match(An)||[];if(p==="~"||n&&p==="true"||!p)return`${f}${c}`;if(o==null){let m=s?.config?.separators?.join("|");m?o=new RegExp(`^(.*\\](?:${m}))(\\[[^\\]]+?\\])$`):o=!1}if(o){let[,m,h]=l.match(o)||[];if(h)return`${m}${f}${c}-${h}`}if(f&&p.match(/^[\d.]+$/)){let m=f.split(/([^:]*:)/g).filter(Boolean),h=m.pop()+p,g=m.join("");return[{matcher:`${f}${c}-${p}`},{matcher:`${g}${c}-${h}`}]}return`${f}${c}-${p}`}}}var wu=/(<\w[\w:.$-]*\s)((?:'[^>']*'|"[^>"]*"|`[^>`]*`|\{[^>}]*\}|[^>]*?)*)/g,ku=/(\?|(?!\d|-{2}|-\d)[\w\u00A0-\uFFFF-:%]+)(?:=("[^"]*|'[^']*))?/g,li=/[\s'"`;>]+/;function fi(e){return{name:"attributify",extract:({content:t,cursor:r})=>{let n=t.matchAll(wu),o,i=0;for(let y of n){let[,x,T]=y,v=y.index+x.length;if(r>v&&r<=v+T.length){i=v,o=T;break}}if(!o)return null;let s=o.matchAll(ku),a=0,c,l;for(let y of s){let[x,T,v]=y,j=i+y.index;if(r>j&&r<=j+x.length){a=j,c=T,l=v?.slice(1);break}}if(!c||c==="class"||c==="className"||c===":class")return null;let f=!!e?.prefix&&c.startsWith(e.prefix);if(e?.prefixedOnly&&!f)return null;let p=f?c.slice(e.prefix.length):c;if(l===void 0)return{extracted:p,resolveReplacement(y){let x=f?e.prefix.length:0;return{start:a+x,end:a+c.length,replacement:y}}};let m=a+c.length+2,h=li.exec(l),g=0,b;for(;h;){let[y]=h;if(r>m+g&&r<=m+g+h.index){b=l.slice(g,g+h.index);break}g+=h.index+y.length,h=li.exec(l.slice(g))}b===void 0&&(b=l.slice(g));let[,$="",S]=b.match(An)||[];return{extracted:`${$}${p}-${S}`,transformSuggestions(y){return y.filter(x=>x.startsWith(`${$}${p}-`)).map(x=>$+x.slice($.length+p.length+1))},resolveReplacement(y){return{start:g+m,end:g+m+b.length,replacement:$+y.slice($.length+p.length+1)}}}}}}var Su=["v-bind:",":"],ui=/[\s'"`;]+/g,On=/<[^>\s]*\s((?:'[^']*'|"[^"]*"|`[^`]*`|\{[^}]*\}|=>|[^>]*?)*)/g,Cu=/(\?|(?!\d|-{2}|-\d)[\w\u00A0-\uFFFF:!%.~<-]+)=?(?:"([^"]*)"|'([^']*)'|\{([^}]*)\})?/g,Pn=["placeholder","fill","opacity","stroke-opacity"];function pi(e){let t=e?.ignoreAttributes??Pn,r=e?.nonValuedAttribute??!0,n=e?.trueToNonValued??!1;return{name:"@unocss/preset-attributify/extractor",extract({code:o}){return Array.from(o.matchAll(On)).flatMap(i=>Array.from((i[1]||"").matchAll(Cu))).flatMap(([,i,...s])=>{let a=s.filter(Boolean).join("");if(t.includes(i))return[];for(let c of Su)if(i.startsWith(c)){i=i.slice(c.length);break}if(!a){if(Je(i)&&r!==!1){let c=[`[${i}=""]`];return n&&c.push(`[${i}="true"]`),c}return[]}return["class","className"].includes(i)?a.split(ui).filter(Je):On.test(a)?(On.lastIndex=0,this.extract({code:a})):e?.prefixedOnly&&e.prefix&&!i.startsWith(e.prefix)?[]:a.split(ui).filter(c=>!!c&&c!==":").map(c=>`[${i}~="${c}"]`)})}}}var Ru=(e={})=>{e.strict=e.strict??!1,e.prefix=e.prefix??"un-",e.prefixedOnly=e.prefixedOnly??!1,e.nonValuedAttribute=e.nonValuedAttribute??!0,e.ignoreAttributes=e.ignoreAttributes??Pn;let t=[ci(e)],r=[pi(e)],n=[fi(e)];return{name:"@unocss/preset-attributify",enforce:"post",variants:t,extractors:r,options:e,autocomplete:{extractors:n},extractorDefault:e.strict?!1:void 0}},di=Ru;var tr="__TAGIFY__",Eu=/<([\w:-]+)/g;function mi(e){let{prefix:t="",excludedTags:r=["b",/^h\d+$/,"table"]}=e;return{name:"tagify",extract({code:n}){return Array.from(n.matchAll(Eu)).filter(({1:o})=>{for(let i of r)if(typeof i=="string"){if(o===i)return!1}else if(i.lastIndex=0,i.test(o))return!1;return o.startsWith(t)}).map(([,o])=>`${tr}${o}`)}}}function hi(e){let{extraProperties:t}=e,r=`${tr}${e.prefix??""}`;return{name:"tagify",match(n){if(!n.startsWith(r))return;let o=n.slice(r.length),i={matcher:o,selector:s=>s.slice(tr.length+1)};return t&&(typeof t=="function"?i.body=s=>[...s,...Object.entries(t(o)??{})]:i.body=s=>[...s,...Object.entries(t)]),i}}}var Tu=(e={})=>{let{defaultExtractor:t=!0}=e,r=[hi(e)],n=[mi(e)];return{name:"@unocss/preset-tagify",variants:r,extractors:n,extractorDefault:t?void 0:!1}},gi=Tu;function re(e,t,r){if(e==="")return;let n=e.length,o=0,i=!1,s=0;for(let a=0;a<n;a++)switch(e[a]){case t:i||(i=!0,s=a),o++;break;case r:if(--o,o<0)return;if(o===0)return[e.slice(s,a+1),e.slice(a+1),e.slice(0,s)];break}}function pe(e,t,r,n){if(e===""||(F(n)&&(n=[n]),n.length===0))return;let o=e.length,i=0;for(let s=0;s<o;s++)switch(e[s]){case t:i++;break;case r:if(--i<0)return;break;default:for(let a of n){let c=a.length;if(c&&a===e.slice(s,s+c)&&i===0)return s===0||s===o-c?void 0:[e.slice(0,s),e.slice(s+c)]}}return[e,""]}function Ee(e,t,r,n="(",o=")"){r=r??10;let i=[],s=0;for(;e!=="";){if(++s>r)return;let a=pe(e,n,o,t);if(!a)return;let[c,l]=a;i.push(c),e=l}if(i.length>0)return i}var Vn=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"];var rr=["%alpha","<alpha-value>"],ju=new RegExp(rr.map(e=>K(e)).join("|"),"g");function Y(e=""){let t=zu(e);if(t==null||t===!1)return;let{type:r,components:n,alpha:o}=t,i=r.toLowerCase();if(n.length!==0&&!(Vn.includes(i)&&![1,3].includes(n.length)))return{type:i,components:n.map(s=>typeof s=="string"?s.trim():s),alpha:typeof o=="string"?o.trim():o}}function ie(e){let t=e.alpha??1;return typeof t=="string"&&rr.includes(t)?1:t}function A(e,t){if(typeof e=="string")return e.replace(ju,`${t??1}`);let{components:r}=e,{alpha:n,type:o}=e;return n=t??n,o=o.toLowerCase(),["hsla","rgba"].includes(o)?`${o}(${r.join(", ")}${n==null?"":`, ${n}`})`:(n=n==null?"":` / ${n}`,Vn.includes(o)?`${o}(${r.join(" ")}${n})`:`color(${o} ${r.join(" ")}${n})`)}function zu(e){if(!e)return;let t=Au(e);if(t!=null||(t=Ou(e),t!=null)||(t=Pu(e),t!=null)||(t=Mu(e),t!=null)||(t=Fu(e),t!=null))return t}function Au(e){let[,t]=e.match(/^#([\da-f]+)$/i)||[];if(t)switch(t.length){case 3:case 4:{let r=Array.from(t,n=>Number.parseInt(n,16)).map(n=>n<<4|n);return{type:"rgb",components:r.slice(0,3),alpha:t.length===3?void 0:Math.round(r[3]/255*100)/100}}case 6:case 8:{let r=Number.parseInt(t,16);return{type:"rgb",components:t.length===6?[r>>16&255,r>>8&255,r&255]:[r>>24&255,r>>16&255,r>>8&255],alpha:t.length===6?void 0:Math.round((r&255)/255*100)/100}}}}function Ou(e){let t={rebeccapurple:[102,51,153,1]}[e];if(t!=null)return{type:"rgb",components:t.slice(0,3),alpha:t[3]}}function Pu(e){let t=e.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!t)return;let[,r,n]=t,o=Ee(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 Vu=new RegExp(`^(${Vn.join("|")})\\((.+)\\)$`,"i");function Mu(e){let t=e.match(Vu);if(!t)return;let[,r,n]=t,o=bi(`${r} ${n}`);if(o){let{alpha:i,components:[s,...a]}=o;return{type:s,components:a,alpha:i}}}function Fu(e){let t=e.match(/^color\((.+)\)$/);if(!t)return;let r=bi(t[1]);if(r){let{alpha:n,components:[o,...i]}=r;return{type:o,components:i,alpha:n}}}function bi(e){let t=Ee(e," ");if(!t)return;let r=t.length;if(t[r-2]==="/")return{components:t.slice(0,r-2),alpha:t[r-1]};if(t[r-2]!=null&&(t[r-2].endsWith("/")||t[r-1].startsWith("/"))){let i=t.splice(r-2);t.push(i.join(" ")),--r}let n=Ee(t[r-1],"/",2);if(!n)return;if(n.length===1||n[n.length-1]==="")return{components:t};let o=n.pop();return t[r-1]=n.join("/"),{components:t,alpha:o}}var xi="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",$i=new Uint8Array(64),_u=new Uint8Array(128);for(let e=0;e<xi.length;e++){let t=xi.charCodeAt(e);$i[e]=t,_u[t]=e}function rt(e,t,r){let n=t-r;n=n<0?-n<<1|1:n<<1;do{let o=n&31;n>>>=5,n>0&&(o|=32),e.write($i[o])}while(n>0);return t}var yi=1024*16,vi=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(e){return Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString()}}:{decode(e){let t="";for(let r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t}},Mn=class{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(yi)}write(t){let{buffer:r}=this;r[this.pos++]=t,this.pos===yi&&(this.out+=vi.decode(r),this.pos=0)}flush(){let{buffer:t,out:r,pos:n}=this;return n>0?r+vi.decode(t.subarray(0,n)):r}};function wi(e){let t=new Mn,r=0,n=0,o=0,i=0;for(let s=0;s<e.length;s++){let a=e[s];if(s>0&&t.write(59),a.length===0)continue;let c=0;for(let l=0;l<a.length;l++){let f=a[l];l>0&&t.write(44),c=rt(t,f[0],c),f.length!==1&&(r=rt(t,f[1],r),n=rt(t,f[2],n),o=rt(t,f[3],o),f.length!==4&&(i=rt(t,f[4],i)))}}return t.flush()}var nr=class e{constructor(t){this.bits=t instanceof e?t.bits.slice():[]}add(t){this.bits[t>>5]|=1<<(t&31)}has(t){return!!(this.bits[t>>5]&1<<(t&31))}},or=class e{constructor(t,r,n){this.start=t,this.end=r,this.original=n,this.intro="",this.outro="",this.content=n,this.storeName=!1,this.edited=!1,this.previous=null,this.next=null}appendLeft(t){this.outro+=t}appendRight(t){this.intro=this.intro+t}clone(){let t=new e(this.start,this.end,this.original);return t.intro=this.intro,t.outro=this.outro,t.content=this.content,t.storeName=this.storeName,t.edited=this.edited,t}contains(t){return this.start<t&&t<this.end}eachNext(t){let r=this;for(;r;)t(r),r=r.next}eachPrevious(t){let r=this;for(;r;)t(r),r=r.previous}edit(t,r,n){return this.content=t,n||(this.intro="",this.outro=""),this.storeName=r,this.edited=!0,this}prependLeft(t){this.outro=t+this.outro}prependRight(t){this.intro=t+this.intro}reset(){this.intro="",this.outro="",this.edited&&(this.content=this.original,this.storeName=!1,this.edited=!1)}split(t){let r=t-this.start,n=this.original.slice(0,r),o=this.original.slice(r);this.original=n;let i=new e(t,this.end,o);return i.outro=this.outro,this.outro="",this.end=t,this.edited?(i.edit("",!1),this.content=""):this.content=n,i.next=this.next,i.next&&(i.next.previous=i),i.previous=this,this.next=i,i}toString(){return this.intro+this.content+this.outro}trimEnd(t){if(this.outro=this.outro.replace(t,""),this.outro.length)return!0;let r=this.content.replace(t,"");if(r.length)return r!==this.content&&(this.split(this.start+r.length).edit("",void 0,!0),this.edited&&this.edit(r,this.storeName,!0)),!0;if(this.edit("",void 0,!0),this.intro=this.intro.replace(t,""),this.intro.length)return!0}trimStart(t){if(this.intro=this.intro.replace(t,""),this.intro.length)return!0;let r=this.content.replace(t,"");if(r.length){if(r!==this.content){let n=this.split(this.end-r.length);this.edited&&n.edit(r,this.storeName,!0),this.edit("",void 0,!0)}return!0}else if(this.edit("",void 0,!0),this.outro=this.outro.replace(t,""),this.outro.length)return!0}};function Lu(){return typeof globalThis<"u"&&typeof globalThis.btoa=="function"?e=>globalThis.btoa(unescape(encodeURIComponent(e))):typeof Buffer=="function"?e=>Buffer.from(e,"utf-8").toString("base64"):()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}var Wu=Lu(),Fn=class{constructor(t){this.version=3,this.file=t.file,this.sources=t.sources,this.sourcesContent=t.sourcesContent,this.names=t.names,this.mappings=wi(t.mappings),typeof t.x_google_ignoreList<"u"&&(this.x_google_ignoreList=t.x_google_ignoreList),typeof t.debugId<"u"&&(this.debugId=t.debugId)}toString(){return JSON.stringify(this)}toUrl(){return"data:application/json;charset=utf-8;base64,"+Wu(this.toString())}};function Uu(e){let t=e.split(`
|
|
3
|
+
`),r=t.filter(i=>/^\t+/.test(i)),n=t.filter(i=>/^ {2,}/.test(i));if(r.length===0&&n.length===0)return null;if(r.length>=n.length)return" ";let o=n.reduce((i,s)=>{let a=/^ +/.exec(s)[0].length;return Math.min(a,i)},1/0);return new Array(o+1).join(" ")}function Bu(e,t){let r=e.split(/[/\\]/),n=t.split(/[/\\]/);for(r.pop();r[0]===n[0];)r.shift(),n.shift();if(r.length){let o=r.length;for(;o--;)r[o]=".."}return r.concat(n).join("/")}var Iu=Object.prototype.toString;function Du(e){return Iu.call(e)==="[object Object]"}function ki(e){let t=e.split(`
|
|
4
|
+
`),r=[];for(let n=0,o=0;n<t.length;n++)r.push(o),o+=t[n].length+1;return function(o){let i=0,s=r.length;for(;i<s;){let l=i+s>>1;o<r[l]?s=l:i=l+1}let a=i-1,c=o-r[a];return{line:a,column:c}}}var Nu=/\w/,_n=class{constructor(t){this.hires=t,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null}addEdit(t,r,n,o){if(r.length){let i=r.length-1,s=r.indexOf(`
|
|
5
5
|
`,0),a=-1;for(;s>=0&&i>s;){let l=[this.generatedCodeColumn,t,n.line,n.column];o>=0&&l.push(o),this.rawSegments.push(l),this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,a=s,s=r.indexOf(`
|
|
6
6
|
`,s+1)}let c=[this.generatedCodeColumn,t,n.line,n.column];o>=0&&c.push(o),this.rawSegments.push(c),this.advance(r.slice(a+1))}else this.pending&&(this.rawSegments.push(this.pending),this.advance(r));this.pending=null}addUneditedChunk(t,r,n,o,i){let s=r.start,a=!0,c=!1;for(;s<r.end;){if(n[s]===`
|
|
7
7
|
`)o.line+=1,o.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,a=!0,c=!1;else{if(this.hires||a||i.has(s)){let l=[this.generatedCodeColumn,t,o.line,o.column];this.hires==="boundary"?Nu.test(n[s])?c||(this.rawSegments.push(l),c=!0):(this.rawSegments.push(l),c=!1):this.rawSegments.push(l)}o.column+=1,this.generatedCodeColumn+=1,a=!1}s+=1}this.pending=null}advance(t){if(!t)return;let r=t.split(`
|
|
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
|
-
`,We={insertLeft:!1,insertRight:!1,storeName:!1},
|
|
9
|
+
`,We={insertLeft:!1,insertRight:!1,storeName:!1},ir=class e{constructor(t,r={}){let n=new or(0,t.length,t);Object.defineProperties(this,{original:{writable:!0,value:t},outro:{writable:!0,value:""},intro:{writable:!0,value:""},firstChunk:{writable:!0,value:n},lastChunk:{writable:!0,value:n},lastSearchedChunk:{writable:!0,value:n},byStart:{writable:!0,value:{}},byEnd:{writable:!0,value:{}},filename:{writable:!0,value:r.filename},indentExclusionRanges:{writable:!0,value:r.indentExclusionRanges},sourcemapLocations:{writable:!0,value:new nr},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:void 0},ignoreList:{writable:!0,value:r.ignoreList},offset:{writable:!0,value:r.offset||0}}),this.byStart[0]=n,this.byEnd[t.length]=n}addSourcemapLocation(t){this.sourcemapLocations.add(t)}append(t){if(typeof t!="string")throw new TypeError("outro content must be a string");return this.outro+=t,this}appendLeft(t,r){if(t=t+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);let n=this.byEnd[t];return n?n.appendLeft(r):this.intro+=r,this}appendRight(t,r){if(t=t+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);let n=this.byStart[t];return n?n.appendRight(r):this.outro+=r,this}clone(){let t=new e(this.original,{filename:this.filename,offset:this.offset}),r=this.firstChunk,n=t.firstChunk=t.lastSearchedChunk=r.clone();for(;r;){t.byStart[n.start]=n,t.byEnd[n.end]=n;let o=r.next,i=o&&o.clone();i&&(n.next=i,i.previous=n,n=i),r=o}return t.lastChunk=n,this.indentExclusionRanges&&(t.indentExclusionRanges=this.indentExclusionRanges.slice()),t.sourcemapLocations=new nr(this.sourcemapLocations),t.intro=this.intro,t.outro=this.outro,t}generateDecodedMap(t){t=t||{};let r=0,n=Object.keys(this.storedNames),o=new _n(t.hires),i=ki(this.original);return this.intro&&o.advance(this.intro),this.firstChunk.eachNext(s=>{let a=i(s.start);s.intro.length&&o.advance(s.intro),s.edited?o.addEdit(r,s.content,a,s.storeName?n.indexOf(s.original):-1):o.addUneditedChunk(r,s,this.original,a,this.sourcemapLocations),s.outro.length&&o.advance(s.outro)}),{file:t.file?t.file.split(/[/\\]/).pop():void 0,sources:[t.source?Bu(t.file||"",t.source):t.file||""],sourcesContent:t.includeContent?[this.original]:void 0,names:n,mappings:o.raw,x_google_ignoreList:this.ignoreList?[r]:void 0}}generateMap(t){return new Fn(this.generateDecodedMap(t))}_ensureindentStr(){this.indentStr===void 0&&(this.indentStr=Uu(this.original))}_getRawIndentString(){return this._ensureindentStr(),this.indentStr}getIndentString(){return this._ensureindentStr(),this.indentStr===null?" ":this.indentStr}indent(t,r){let n=/^[^\r\n]/gm;if(Du(t)&&(r=t,t=void 0),t===void 0&&(this._ensureindentStr(),t=this.indentStr||" "),t==="")return this;r=r||{};let o={};r.exclude&&(typeof r.exclude[0]=="number"?[r.exclude]:r.exclude).forEach(f=>{for(let p=f[0];p<f[1];p+=1)o[p]=!0});let i=r.indentStart!==!1,s=l=>i?`${t}${l}`:(i=!0,l);this.intro=this.intro.replace(n,s);let a=0,c=this.firstChunk;for(;c;){let l=c.end;if(c.edited)o[a]||(c.content=c.content.replace(n,s),c.content.length&&(i=c.content[c.content.length-1]===`
|
|
10
10
|
`));else for(a=c.start;a<l;){if(!o[a]){let f=this.original[a];f===`
|
|
11
|
-
`?i=!0:f!=="\r"&&i&&(i=!1,a===c.start||(this._splitChunk(c,a),c=c.next),c.prependRight(t))}a+=1}a=c.end,c=c.next}return this.outro=this.outro.replace(n,s),this}insert(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")}insertLeft(t,r){return We.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),We.insertLeft=!0),this.appendLeft(t,r)}insertRight(t,r){return We.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),We.insertRight=!0),this.prependRight(t,r)}move(t,r,n){if(t=t+this.offset,r=r+this.offset,n=n+this.offset,n>=t&&n<=r)throw new Error("Cannot move a selection inside itself");this._split(t),this._split(r),this._split(n);let o=this.byStart[t],i=this.byEnd[r],s=o.previous,a=i.next,c=this.byStart[n];if(!c&&i===this.lastChunk)return this;let l=c?c.previous:this.lastChunk;return s&&(s.next=a),a&&(a.previous=s),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(t,r,n,o){return o=o||{},this.update(t,r,n,{...o,overwrite:!o.contentOnly})}update(t,r,n,o){if(t=t+this.offset,r=r+this.offset,typeof n!="string")throw new TypeError("replacement content must be a string");if(this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}if(r>this.original.length)throw new Error("end is out of bounds");if(t===r)throw new Error("Cannot overwrite a zero-length range \u2013 use appendLeft or prependRight instead");this._split(t),this._split(r),o===!0&&(We.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),We.storeName=!0),o={storeName:!0});let i=o!==void 0?o.storeName:!1,s=o!==void 0?o.overwrite:!1;if(i){let l=this.original.slice(t,r);Object.defineProperty(this.storedNames,l,{writable:!0,value:!0,enumerable:!0})}let a=this.byStart[t],c=this.byEnd[r];if(a){let l=a;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)}a.edit(n,i,!s)}else{let l=new nr(t,r,"").edit(n,i);c.next=l,l.previous=c}return this}prepend(t){if(typeof t!="string")throw new TypeError("outro content must be a string");return this.intro=t+this.intro,this}prependLeft(t,r){if(t=t+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);let n=this.byEnd[t];return n?n.prependLeft(r):this.intro=r+this.intro,this}prependRight(t,r){if(t=t+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);let n=this.byStart[t];return n?n.prependRight(r):this.outro=r+this.outro,this}remove(t,r){if(t=t+this.offset,r=r+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}if(t===r)return this;if(t<0||r>this.original.length)throw new Error("Character is out of bounds");if(t>r)throw new Error("end must be greater than start");this._split(t),this._split(r);let n=this.byStart[t];for(;n;)n.intro="",n.outro="",n.edit(""),n=r>n.end?this.byStart[n.end]:null;return this}reset(t,r){if(t=t+this.offset,r=r+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}if(t===r)return this;if(t<0||r>this.original.length)throw new Error("Character is out of bounds");if(t>r)throw new Error("end must be greater than start");this._split(t),this._split(r);let n=this.byStart[t];for(;n;)n.reset(),n=r>n.end?this.byStart[n.end]:null;return this}lastChar(){if(this.outro.length)return this.outro[this.outro.length-1];let t=this.lastChunk;do{if(t.outro.length)return t.outro[t.outro.length-1];if(t.content.length)return t.content[t.content.length-1];if(t.intro.length)return t.intro[t.intro.length-1]}while(t=t.previous);return this.intro.length?this.intro[this.intro.length-1]:""}lastLine(){let t=this.outro.lastIndexOf(nt);if(t!==-1)return this.outro.substr(t+1);let r=this.outro,n=this.lastChunk;do{if(n.outro.length>0){if(t=n.outro.lastIndexOf(nt),t!==-1)return n.outro.substr(t+1)+r;r=n.outro+r}if(n.content.length>0){if(t=n.content.lastIndexOf(nt),t!==-1)return n.content.substr(t+1)+r;r=n.content+r}if(n.intro.length>0){if(t=n.intro.lastIndexOf(nt),t!==-1)return n.intro.substr(t+1)+r;r=n.intro+r}}while(n=n.previous);return t=this.intro.lastIndexOf(nt),t!==-1?this.intro.substr(t+1)+r:this.intro+r}slice(t=0,r=this.original.length-this.offset){if(t=t+this.offset,r=r+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}let n="",o=this.firstChunk;for(;o&&(o.start>t||o.end<=t);){if(o.start<r&&o.end>=r)return n;o=o.next}if(o&&o.edited&&o.start!==t)throw new Error(`Cannot use replaced character ${t} as slice start anchor.`);let i=o;for(;o;){o.intro&&(i!==o||o.start===t)&&(n+=o.intro);let s=o.start<r&&o.end>=r;if(s&&o.edited&&o.end!==r)throw new Error(`Cannot use replaced character ${r} as slice end anchor.`);let a=i===o?t-o.start:0,c=s?o.content.length+r-o.end:o.content.length;if(n+=o.content.slice(a,c),o.outro&&(!s||o.end===r)&&(n+=o.outro),s)break;o=o.next}return n}snip(t,r){let n=this.clone();return n.remove(0,t),n.remove(r,n.original.length),n}_split(t){if(this.byStart[t]||this.byEnd[t])return;let r=this.lastSearchedChunk,n=t>r.end;for(;r;){if(r.contains(t))return this._splitChunk(r,t);r=n?this.byStart[r.end]:this.byEnd[r.start]}}_splitChunk(t,r){if(t.edited&&t.content.length){let o=wi(this.original)(r);throw new Error(`Cannot split a chunk that has already been edited (${o.line}:${o.column} \u2013 "${t.original}")`)}let n=t.split(r);return this.byEnd[r]=t,this.byStart[r]=n,this.byEnd[n.end]=n,t===this.lastChunk&&(this.lastChunk=n),this.lastSearchedChunk=t,!0}toString(){let t=this.intro,r=this.firstChunk;for(;r;)t+=r.toString(),r=r.next;return t+this.outro}isEmpty(){let t=this.firstChunk;do if(t.intro.length&&t.intro.trim()||t.content.length&&t.content.trim()||t.outro.length&&t.outro.trim())return!1;while(t=t.next);return!0}length(){let t=this.firstChunk,r=0;do r+=t.intro.length+t.content.length+t.outro.length;while(t=t.next);return r}trimLines(){return this.trim("[\\r\\n]")}trim(t){return this.trimStart(t).trimEnd(t)}trimEndAborted(t){let r=new RegExp((t||"\\s")+"+$");if(this.outro=this.outro.replace(r,""),this.outro.length)return!0;let n=this.lastChunk;do{let o=n.end,i=n.trimEnd(r);if(n.end!==o&&(this.lastChunk===n&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return!0;n=n.previous}while(n);return!1}trimEnd(t){return this.trimEndAborted(t),this}trimStartAborted(t){let r=new RegExp("^"+(t||"\\s")+"+");if(this.intro=this.intro.replace(r,""),this.intro.length)return!0;let n=this.firstChunk;do{let o=n.end,i=n.trimStart(r);if(n.end!==o&&(n===this.lastChunk&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return!0;n=n.next}while(n);return!1}trimStart(t){return this.trimStartAborted(t),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(t,r){function n(i,s){return typeof r=="string"?r.replace(/\$(\$|&|\d+)/g,(a,c)=>c==="$"?"$":c==="&"?i[0]:+c<i.length?i[+c]:`$${c}`):r(...i,i.index,s,i.groups)}function o(i,s){let a,c=[];for(;a=i.exec(s);)c.push(a);return c}if(t.global)o(t,this.original).forEach(s=>{if(s.index!=null){let a=n(s,this.original);a!==s[0]&&this.overwrite(s.index,s.index+s[0].length,a)}});else{let i=this.original.match(t);if(i&&i.index!=null){let s=n(i,this.original);s!==i[0]&&this.overwrite(i.index,i.index+i[0].length,s)}}return this}_replaceString(t,r){let{original:n}=this,o=n.indexOf(t);return o!==-1&&this.overwrite(o,o+t.length,r),this}replace(t,r){return typeof t=="string"?this._replaceString(t,r):this._replaceRegexp(t,r)}_replaceAllString(t,r){let{original:n}=this,o=t.length;for(let i=n.indexOf(t);i!==-1;i=n.indexOf(t,i+o))n.slice(i,i+o)!==r&&this.overwrite(i,i+o,r);return this}replaceAll(t,r){if(typeof t=="string")return this._replaceAllString(t,r);if(!t.global)throw new TypeError("MagicString.prototype.replaceAll called with a non-global RegExp argument");return this._replaceRegexp(t,r)}};var Ku=/theme\(\s*(['"])?(.*?)\1?\s*\)/g;function ir(e){return e.includes("theme(")&&e.includes(")")}function sr(e,t,r=!0){let n=Array.from(e.toString().matchAll(Ku));if(!n.length)return e;let o=new or(e);for(let i of n){let s=i[2];if(!s)throw new Error("theme() expect exact one argument, but got 0");let a=Gu(s,t,r);a&&o.overwrite(i.index,i.index+i[0].length,a)}return o.toString()}function Gu(e,t,r=!0){let[n,o]=e.split("/"),s=n.trim().split(".").reduce((a,c)=>a?.[c],t);if(typeof s=="object"&&(s=s.DEFAULT),typeof s=="string"){if(o){let a=Y(s);a&&(s=A(a,o))}return s}else if(r)throw new Error(`theme of "${e}" did not found`)}function Ue(e){let t=e.match(/^-?\d+\.?\d*/)?.[0]||"",r=e.slice(t.length);if(r==="px"){let n=Number.parseFloat(t)-.1;return Number.isNaN(n)?e:`${n}${r}`}return`calc(${e} - 0.1px)`}function ar(e){let t=function(n){let o=this.__options?.sequence||[];this.__options.sequence=[];for(let i of o){let s=e[i](n);if(s!=null)return s}};function r(n,o){return n.__options||(n.__options={sequence:[]}),n.__options.sequence.push(o),n}for(let n of Object.keys(e))Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get(){return r(this,n)}});return t}var Ri="__pseudo_placeholder__",Be=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(${Ri})`],"first-of-type",["first",":first-child"],"last-of-type",["last",":last-child"],"only-child","only-of-type",["backdrop-element","::backdrop"],["placeholder","::placeholder"],["before","::before"],["after","::after"],["file","::file-selector-button"]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),Ei=Object.keys(Be),Ie=Object.fromEntries([["backdrop","::backdrop"]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),Ti=Object.keys(Ie),Hu=["not","is","where","has"],ji=Object.fromEntries([["selection",["::selection"," *::selection"]],["marker",["::marker"," *::marker"]]]),_n=Object.entries(Be).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),Ln=Object.entries(Ie).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),Oe=Hu.join("|"),ki=Object.keys(ji).sort((e,t)=>t.length-e.length).join("|"),qu=["::-webkit-resizer","::-webkit-scrollbar","::-webkit-scrollbar-button","::-webkit-scrollbar-corner","::-webkit-scrollbar-thumb","::-webkit-scrollbar-track","::-webkit-scrollbar-track-piece","::file-selector-button"],Si=Object.entries(Be).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),Ci=Object.entries(Ie).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|");function Yu(e,t,r,n){let{h:o,variantGetBracket:i}=n,s=new RegExp(`^(${K(t)}:)(\\S+)${K(r)}\\1`),a,c,l,f,p=g=>{let b=i(`${e}-`,g,[]);if(!b)return;let[$,S]=b,y=o.bracket($);if(y==null)return;let x=S.split(a,1)?.[0]??"",T=`${t}${J(x)}`;return[x,g.slice(g.length-(S.length-x.length-1)),y.includes("&")?y.replace(/&/g,T):`${T}${y}`]},m=g=>{let b=g.match(c)||g.match(l);if(!b)return;let[$,S,y]=b,x=b[3]??"",T=Be[y]||Ie[y]||`:${y}`;return S&&(T=`:${S}(${T})`),[x,g.slice($.length),`${t}${J(x)}${T}`,y]},h=g=>{let b=g.match(f);if(!b)return;let[$,S,y]=b,x=b[3]??"",T=`:${S}(${y})`;return[x,g.slice($.length),`${t}${J(x)}${T}`]};return{name:`pseudo:${e}`,match(g,b){if(a&&c&&l||(a=new RegExp(`(?:${b.generator.config.separators.join("|")})`),c=new RegExp(`^${e}-(?:(?:(${Oe})-)?(${_n}))(?:(/[\\w-]+))?(?:${b.generator.config.separators.join("|")})`),l=new RegExp(`^${e}-(?:(?:(${Oe})-)?(${Ln}))(?:(/[\\w-]+))?(?:${b.generator.config.separators.filter(v=>v!=="-").join("|")})`),f=new RegExp(`^${e}-(?:(${Oe})-)?\\[(.+)\\](?:(/[\\w-]+))?(?:${b.generator.config.separators.filter(v=>v!=="-").join("|")})`)),!g.startsWith(e))return;let $=p(g)||m(g)||h(g);if(!$)return;let[S,y,x,T=""]=$;return{matcher:y,handle:(v,j)=>j({...v,prefix:`${x}${r}${v.prefix}`.replace(s,"$1$2:"),sort:Ei.indexOf(T)??Ti.indexOf(T)})}},multiPass:!0}}function cr(e){let{h:t}=e,r,n,o;return[{name:"pseudo",match(i,s){r&&n||(r=new RegExp(`^(${Si})(?:-(\\d+|\\[\\w+\\]))?(?:${s.generator.config.separators.join("|")})`),n=new RegExp(`^(${Ci})(?:${s.generator.config.separators.filter(c=>c!=="-").join("|")})`));let a=i.match(r)||i.match(n);if(a){let c=Be[a[1]]||Ie[a[1]]||`:${a[1]}`;if(a[2]){let f;a[2].startsWith("[")&&a[2].endsWith("]")?f=t.bracket(a[2]):f=a[2],f&&(c=c.replace(Ri,f))}let l=Ei.indexOf(a[1]);return l===-1&&(l=Ti.indexOf(a[1])),l===-1&&(l=void 0),{matcher:i.slice(a[0].length),handle:(f,p)=>{let m=c.includes("::")&&!qu.includes(c)?{pseudo:`${f.pseudo}${c}`}:{selector:`${f.selector}${c}`};return p({...f,...m,sort:l,noMerge:!0})}}}},multiPass:!0,autocomplete:`(${Si}|${Ci}):`},{name:"pseudo:multi",match(i,s){o||(o=new RegExp(`^(${ki})(?:${s.generator.config.separators.join("|")})`));let a=i.match(o);if(a)return ji[a[1]].map(l=>({matcher:i.slice(a[0].length),handle:(f,p)=>p({...f,pseudo:`${f.pseudo}${l}`})}))},multiPass:!1,autocomplete:`(${ki}):`}]}function lr(e){let{getBracket:t,h:r}=e,n,o,i;return{match(s,a){n&&o||(n=new RegExp(`^(${Oe})-(${_n})(?:${a.generator.config.separators.join("|")})`),o=new RegExp(`^(${Oe})-(${Ln})(?:${a.generator.config.separators.filter(l=>l!=="-").join("|")})`),i=new RegExp(`^(${Oe})-(\\[.+\\])(?:${a.generator.config.separators.filter(l=>l!=="-").join("|")})`));let c=s.match(n)||s.match(o)||s.match(i);if(c){let l=c[1],p=t(c[2],"[","]")?r.bracket(c[2]):Be[c[2]]||Ie[c[2]]||`:${c[2]}`;return{matcher:s.slice(c[0].length),selector:m=>`${m}:${l}(${p})`}}},multiPass:!0,autocomplete:`(${Oe})-(${_n}|${Ln}):`}}function fr(e,t){let r=!!e?.attributifyPseudo,n=e?.prefix??"";n=(Array.isArray(n)?n:[n]).filter(Boolean)[0]??"";let o=(i,s)=>Yu(i,r?`[${n}${i}=""]`:`.${n}${i}`,s,t);return[o("group"," "),o("peer","~"),o("parent",">"),o("previous","+")]}var Xu=/(part-\[(.+)\]:)(.+)/;function ur(){return{match(e){let t=e.match(Xu);if(t){let r=`part(${t[2]})`;return{matcher:e.slice(t[1].length),selector:n=>`${n}::${r}`}}},multiPass:!0}}function N(e,t,r={}){let n;return{name:e,match(o,i){n||(n=new RegExp(`^${K(e)}(?:${i.generator.config.separators.join("|")})`));let s=o.match(n);if(s){let a=o.slice(s[0].length),c=C(t).map(l=>({matcher:a,handle:(f,p)=>p({...f,...l(f)}),...r}));return c.length===1?c[0]:c}},autocomplete:`${e}:`}}function G(e,t){let r;return{name:e,match(n,o){r||(r=new RegExp(`^${K(e)}(?:${o.generator.config.separators.join("|")})`));let i=n.match(r);if(i)return{matcher:n.slice(i[0].length),handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}${t}`})}},autocomplete:`${e}:`}}function X(e,t,r){if(t.startsWith(`${e}[`)){let[n,o]=re(t.slice(e.length),"[","]")??[];if(n&&o){for(let i of r)if(o.startsWith(i))return[n,o.slice(i.length),i];return[n,o,""]}}}function O(e,t,r){for(let n of C(e))if(t.startsWith(n)){let o=X(n,t,r);if(o){let[i="",s=o[1]]=O("/",o[1],r)??[];return[o[0],s,i]}for(let i of r.filter(s=>s!=="/")){let s=t.indexOf(i,n.length);if(s!==-1){let a=t.indexOf("/",n.length),c=a===-1||s<=a;return[t.slice(n.length,c?s:a),t.slice(s+i.length),c?"":t.slice(a+1,s)]}}}}function Wn(e){let{theme:t,generator:r}=e,o=r.config.presets.some(i=>i.name==="@unocss/preset-wind4")?"font":"fontFamily";return{"h1,h2,h3,h4,h5,h6":{color:"var(--un-prose-headings)","font-weight":"600","line-height":1.25},a:{color:"var(--un-prose-links)","text-decoration":"underline","font-weight":"500"},"a code":{color:"var(--un-prose-links)"},"p,ul,ol,pre":{margin:"1em 0","line-height":1.75},blockquote:{margin:"1em 0","padding-left":"1em","font-style":"italic","border-left":".25em solid var(--un-prose-borders)"},h1:{margin:"1rem 0","font-size":"2.25em"},h2:{margin:"1.75em 0 .5em","font-size":"1.75em"},h3:{margin:"1.5em 0 .5em","font-size":"1.375em"},h4:{margin:"1em 0","font-size":"1.125em"},"img,video":{"max-width":"100%"},"figure,picture":{margin:"1em 0"},figcaption:{color:"var(--un-prose-captions)","font-size":".875em"},code:{color:"var(--un-prose-code)","font-size":".875em","font-weight":600,"font-family":t[o]?.mono},":not(pre) > code::before,:not(pre) > code::after":{content:'"`"'},pre:{padding:"1.25rem 1.5rem","overflow-x":"auto","border-radius":".375rem"},"pre,code":{"white-space":"pre","word-spacing":"normal","word-break":"normal","word-wrap":"normal","-moz-tab-size":4,"-o-tab-size":4,"tab-size":4,"-webkit-hyphens":"none","-moz-hyphens":"none",hyphens:"none",background:"transparent"},"pre code":{"font-weight":"inherit"},"ol,ul":{"padding-left":"1.25em"},ol:{"list-style-type":"decimal"},'ol[type="A"]':{"list-style-type":"upper-alpha"},'ol[type="a"]':{"list-style-type":"lower-alpha"},'ol[type="A" s]':{"list-style-type":"upper-alpha"},'ol[type="a" s]':{"list-style-type":"lower-alpha"},'ol[type="I"]':{"list-style-type":"upper-roman"},'ol[type="i"]':{"list-style-type":"lower-roman"},'ol[type="I" s]':{"list-style-type":"upper-roman"},'ol[type="i" s]':{"list-style-type":"lower-roman"},'ol[type="1"]':{"list-style-type":"decimal"},ul:{"list-style-type":"disc"},"ol > li::marker,ul > li::marker,summary::marker":{color:"var(--un-prose-lists)"},hr:{margin:"2em 0",border:"1px solid var(--un-prose-hr)"},table:{display:"block",margin:"1em 0","border-collapse":"collapse","overflow-x":"auto"},"tr:nth-child(2n)":{background:"var(--un-prose-bg-soft)"},"td,th":{border:"1px solid var(--un-prose-borders)",padding:".625em 1em"},abbr:{cursor:"help"},kbd:{color:"var(--un-prose-code)",border:"1px solid",padding:".25rem .5rem","font-size":".875em","border-radius":".25rem"},details:{margin:"1em 0",padding:"1.25rem 1.5rem",background:"var(--un-prose-bg-soft)"},summary:{cursor:"pointer","font-weight":"600"}}}var Zu=[["headings","h1","h2","h3","h4","h5","h6","th"],["h1"],["h2"],["h3"],["h4"],["h5"],["h6"],["p"],["a"],["blockquote"],["figure"],["figcaption"],["strong"],["em"],["kbd"],["code"],["pre"],["ol"],["ul"],["li"],["table"],["thead"],["tr"],["th"],["td"],["img"],["video"],["hr"]];function Un(e){for(let[t,...r]of Zu)if(t===e)return r.length>0?r:[t]}function zi(e){let t="",{escapedSelector:r,selectorName:n,preflights:o,compatibility:i,important:s}=e,a=i?.noColonNot||i?.noColonWhere;for(let c in o){let l=o[c],f=`:not(:where(.not-${n},.not-${n} *))`,p=c.split(",").map(m=>{let h=m.match(/:[():\-\w]+$/g);if(h){let g=h[0];return m=m.replace(g,""),r.map(b=>a?`${b} ${m}${g}`:`${b} :where(${m})${f}${g}`).join(",")}return null}).filter(m=>m);p.length?t+=p.join(","):t+=r.map(m=>a?c.split(",").map(h=>`${m} ${h}`).join(","):`${m} :where(${c})${f}`).join(","),t+="{";for(let m in l){let h=l[m];t+=`${m}:${h}${s?" !important":""};`}t+="}"}return t}function Ai(e,t){let{compatibility:r,selectorName:n,important:o=!1}=t,i=typeof t?.cssExtend=="function"?t.cssExtend(e.theme):t?.cssExtend,s=Array.from(t.escapedSelectors);return!s[s.length-1].startsWith(".")&&!r?.noColonIs&&(s=[`:is(${s[s.length-1]},.${t.selectorName})`]),typeof o=="string"&&(s=s.map(a=>r?.noColonIs?`${o} ${a}`:`:is(${o}) ${a}`)),zi(i?{escapedSelector:s,selectorName:n,preflights:tt(Wn(e),i),compatibility:r,important:o===!0}:{escapedSelector:s,selectorName:n,preflights:Wn(e),compatibility:r,important:o===!0})}var Ju=e=>{e?.className&&console.warn('[unocss:preset-typography] "className" is deprecated. Please use "selectorName" instead.');let t=new Set,r=e?.selectorName||e?.className||"prose",n=new RegExp(`^${r}$`),o=new RegExp(`^${r}-([-\\w]+)$`),i=new RegExp(`^${r}-invert$`),s=e?.compatibility?.noColonNot||e?.compatibility?.noColonWhere;return{name:"@unocss/preset-typography",enforce:"post",layers:{typography:-20},rules:[[n,(a,{rawSelector:c})=>(t.add(jn(c)),{color:"var(--un-prose-body)","max-width":"65ch"}),{layer:"typography"}],[o,([,a],{theme:c})=>{let l=c.colors?.[a];if(l==null)return;let f=typeof l=="object"?l:{},p={body:700,headings:900,links:900,lists:400,hr:200,captions:500,code:900,borders:200,"bg-soft":100,"invert-body":200,"invert-headings":100,"invert-links":100,"invert-lists":500,"invert-hr":700,"invert-captions":400,"invert-code":100,"invert-borders":700,"invert-bg-soft":800},m={};for(let h in p){let g=p[h],b=f[g]??l,$=!1;for(let S of tr)if(b.includes(S)){$=!0,m[`--un-prose-${h}-opacity`]=1,m[`--un-prose-${h}`]=b.replace(S,`var(--un-prose-${h}-opacity)`);break}$||(m[`--un-prose-${h}`]=b)}return m},{layer:"typography"}],[i,()=>({"--un-prose-body":"var(--un-prose-invert-body)","--un-prose-headings":"var(--un-prose-invert-headings)","--un-prose-links":"var(--un-prose-invert-links)","--un-prose-lists":"var(--un-prose-invert-lists)","--un-prose-hr":"var(--un-prose-invert-hr)","--un-prose-captions":"var(--un-prose-invert-captions)","--un-prose-code":"var(--un-prose-invert-code)","--un-prose-borders":"var(--un-prose-invert-borders)","--un-prose-bg-soft":"var(--un-prose-invert-bg-soft)"}),{layer:"typography"}]],variants:[{name:"typography element modifiers",match:a=>{if(a.startsWith(`${r}-`)){let c=new RegExp(`^${r}-(\\w+)[:-].+$`),l=a.match(c)?.[1];if(l){let f=Un(l);if(f?.length)return{matcher:a.slice(r.length+l.length+2),selector:p=>{let m=`:not(:where(.not-${r},.not-${r} *))`;return s?f.map(g=>`${p} ${g}`).join(","):`${p} :is(:where(${f})${m})`}}}}}}],preflights:[{layer:"typography",getCSS:a=>{if(t.size>0)return Ai(a,{escapedSelectors:t,...e,selectorName:r})}}]}},Oi=Ju;function Qu(e){let t,r,n=2166136261;for(t=0,r=e.length;t<r;t++)n^=e.charCodeAt(t),n+=(n<<1)+(n<<4)+(n<<7)+(n<<8)+(n<<24);return`00000${(n>>>0).toString(36)}`.slice(-6)}function Pi(e,t,r,n){for(let o of Array.from(e.matchAll(r)))if(o!=null){let i=o[0],s=`${n}${Qu(i)}`;t.set(s,i),e=e.replace(i,s)}return e}function Vi(e,t){for(let[r,n]of t.entries())e=e.replaceAll(r,n);return e}var ep=/\/\/#\s*sourceMappingURL=.*\n?/g;function Mi(e){return e.includes("sourceMappingURL=")?e.replace(ep,""):e}var tp=/(?:[\w&:[\]-]|\[\S{1,64}=\S{1,64}\]){1,64}\[\\?['"]?\S{1,64}?['"]\]\]?[\w:-]{0,64}/g,rp=/\[(\\\W|[\w-]){1,64}:[^\s:]{0,64}?("\S{1,64}?"|'\S{1,64}?'|`\S{1,64}?`|[^\s:]{1,64}?)[^\s:]{0,64}?\)?\]/g,np=/^\[(?:\\\W|[\w-]){1,64}:['"]?\S{1,64}?['"]?\]$/;function op(e){let t=[];for(let o of e.matchAll(rp))o.index!==0&&!/^[\s'"`]/.test(e[o.index-1]??"")||t.push(o[0]);for(let o of e.matchAll(tp))t.push(o[0]);let r=new Map,n="@unocss-skip-arbitrary-brackets";return e=Pi(e,r,/-\[(?!&.+?;)[^\]]*\]/g,n),e&&e.split(Kt).forEach(o=>{o.includes(n)&&(o=Vi(o,r)),Je(o)&&!np.test(o)&&t.push(o)}),t}function Fi(){return{name:"@unocss/extractor-arbitrary-variants",order:0,extract({code:e}){return op(Mi(e))}}}function _i(e){if(e.preflight)return[{layer:"preflights",getCSS({theme:t,generator:r}){if(t.preflightBase){let n=Object.entries(t.preflightBase);if(e.preflight==="on-demand"){let o=new Set(Array.from(r.activatedRules).map(i=>i[2]?.custom?.preflightKeys).filter(Boolean).flat());n=n.filter(([i])=>o.has(i))}if(n.length>0){let o=Le(n);return e.variablePrefix!=="un-"&&(o=o.replace(/--un-/g,`--${e.variablePrefix}`)),C(t.preflightRoot??["*,::before,::after","::backdrop"]).map(s=>`${s}{${o}}`).join("")}}}}]}var Gn={};ou(Gn,{auto:()=>ap,bracket:()=>dp,bracketOfColor:()=>mp,bracketOfLength:()=>hp,bracketOfPosition:()=>gp,cssvar:()=>bp,degree:()=>yp,fraction:()=>pp,global:()=>vp,number:()=>fp,numberWithUnit:()=>sp,percent:()=>up,position:()=>wp,properties:()=>$p,px:()=>lp,rem:()=>cp,time:()=>xp});var ne={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"]},Bn={...ne,s:["-inset-inline-start"],start:["-inset-inline-start"],e:["-inset-inline-end"],end:["-inset-inline-end"],bs:["-inset-block-start"],be:["-inset-block-end"],is:["-inset-inline-start"],ie:["-inset-inline-end"],block:["-inset-block-start","-inset-block-end"],inline:["-inset-inline-start","-inset-inline-end"]},In={l:["-top-left","-bottom-left"],r:["-top-right","-bottom-right"],t:["-top-left","-top-right"],b:["-bottom-left","-bottom-right"],tl:["-top-left"],lt:["-top-left"],tr:["-top-right"],rt:["-top-right"],bl:["-bottom-left"],lb:["-bottom-left"],br:["-bottom-right"],rb:["-bottom-right"],"":[""],bs:["-start-start","-start-end"],be:["-end-start","-end-end"],s:["-end-start","-start-start"],is:["-end-start","-start-start"],e:["-start-end","-end-end"],ie:["-start-end","-end-end"],ss:["-start-start"],"bs-is":["-start-start"],"is-bs":["-start-start"],se:["-start-end"],"bs-ie":["-start-end"],"ie-bs":["-start-end"],es:["-end-start"],"be-is":["-end-start"],"is-be":["-end-start"],ee:["-end-end"],"be-ie":["-end-end"],"ie-be":["-end-end"]},Wi={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},Ui=["x","y","z"],Li=["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"],ot=Object.assign({},...Li.map(e=>({[e.replace(/ /,"-")]:e})),...Li.map(e=>({[e.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:e}))),_=["inherit","initial","revert","revert-layer","unset"],it=/^(calc|clamp|min|max)\s*\((.+)\)(.*)/,pr=/^(var)\s*\((.+)\)(.*)/;var De=/^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i,Dn=/^(-?\d*(?:\.\d+)?)$/,Nn=/^(px|[sld]?v[wh])$/i,Kn={px:1,vw:100,vh:100,svw:100,svh:100,dvw:100,dvh:100,lvh:100,lvw:100},dr=/^\[(color|image|length|size|position|quoted|string):/i,Bi=/,(?![^()]*\))/g;var ip=["color","border-color","background-color","outline-color","text-decoration-color","flex-grow","flex","flex-shrink","caret-color","font","gap","opacity","visibility","z-index","font-weight","zoom","text-shadow","transform","box-shadow","border","background-position","left","right","top","bottom","object-position","max-height","min-height","max-width","min-width","height","width","border-width","margin","padding","outline-width","outline-offset","font-size","line-height","text-indent","vertical-align","border-spacing","letter-spacing","word-spacing","stroke","filter","backdrop-filter","fill","mask","mask-size","mask-border","clip-path","clip","border-radius"];function se(e){return+e.toFixed(10)}function sp(e){let t=e.match(De);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(n&&!Number.isNaN(o))return`${se(o)}${n}`}function ap(e){if(e==="auto"||e==="a")return"auto"}function cp(e){if(!e)return;if(Nn.test(e))return`${Kn[e]}${e}`;let t=e.match(De);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0":n?`${se(o)}${n}`:`${se(o/4)}rem`}function lp(e){if(Nn.test(e))return`${Kn[e]}${e}`;let t=e.match(De);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return n?`${se(o)}${n}`:`${se(o)}px`}function fp(e){if(!Dn.test(e))return;let t=Number.parseFloat(e);if(!Number.isNaN(t))return se(t)}function up(e){if(e.endsWith("%")&&(e=e.slice(0,-1)),!Dn.test(e))return;let t=Number.parseFloat(e);if(!Number.isNaN(t))return`${se(t/100)}`}function pp(e){if(!e)return;if(e==="full")return"100%";let[t,r]=e.split("/"),n=Number.parseFloat(t)/Number.parseFloat(r);if(!Number.isNaN(n))return n===0?"0":`${se(n*100)}%`}function mr(e,t){if(e&&e.startsWith("[")&&e.endsWith("]")){let r,n,o=e.match(dr);if(o?(t||(n=o[1]),r=e.slice(o[0].length,-1)):r=e.slice(1,-1),!r||r==='=""')return;r.startsWith("--")&&(r=`var(${r})`);let i=0;for(let s of r)if(s==="[")i+=1;else if(s==="]"&&(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,s=>s.replace(/_/g,"\\_")).replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_").replace(/(?:calc|clamp|max|min)\((.*)/g,s=>{let a=[];return s.replace(/var\((--.+?)[,)]/g,(c,l)=>(a.push(l),c.replace(l,"--un-calc"))).replace(/(-?\d*\.?\d(?!-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 ").replace(/--un-calc/g,()=>a.shift())})}}function dp(e){return mr(e)}function mp(e){return mr(e,"color")}function hp(e){return mr(e,"length")}function gp(e){return mr(e,"position")}function bp(e){if(/^\$[^\s'"`;{}]/.test(e)){let[t,r]=e.slice(1).split(",");return`var(--${J(t)}${r?`, ${r}`:""})`}}function xp(e){let t=e.match(/^(-?[0-9.]+)(s|ms)?$/i);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0&&!n?"0s":n?`${se(o)}${n}`:`${se(o)}ms`}function yp(e){let t=e.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0":n?`${se(o)}${n}`:`${se(o)}deg`}function vp(e){if(_.includes(e))return e}function $p(e){if(e.split(",").every(t=>ip.includes(t)))return e}function wp(e){if(["top","left","right","bottom","center"].includes(e))return e}var kp=ar(Gn),d=kp;var Ii={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(_.map(e=>[e,e]))},Ni=[[/^(?:vertical|align|v)-(.+)$/,([,e])=>({"vertical-align":Ii[e]??d.bracket.cssvar.numberWithUnit(e)}),{autocomplete:[`(vertical|align|v)-(${Object.keys(Ii).join("|")})`,"(vertical|align|v)-<percentage>"]}]],Di=["center","left","right","justify","start","end"],Ki=[...Di.map(e=>[`text-${e}`,{"text-align":e}]),...[..._,...Di].map(e=>[`text-align-${e}`,{"text-align":e}])];var Yi="$$mini-no-negative";function oe(e){return([t,r,n],{theme:o})=>{let i=o.spacing?.[n||"DEFAULT"]??d.bracket.cssvar.global.auto.fraction.rem(n);if(i!=null)return ne[r].map(s=>[`${e}${s}`,i]);if(n?.startsWith("-")){let s=o.spacing?.[n.slice(1)];if(s!=null)return ne[r].map(a=>[`${e}${a}`,`calc(${s} * -1)`])}}}function Gi(e,t,r="colors"){let n=e[r],o=-1;for(let i of t){if(o+=1,n&&typeof n!="string"){let s=t.slice(o).join("-").replace(/(-[a-z])/g,a=>a.slice(1).toUpperCase());if(n[s])return n[s];if(n[i]){n=n[i];continue}}return}return n}function Hi(e,t,r){return Gi(e,t,r)||Gi(e,t,"colors")}function qn(e,t){let[r,n]=pe(e,"[","]",["/",":"])??[];if(r!=null){let o=(r.match(dr)??[])[1];if(o==null||o===t)return[r,n]}}function hr(e,t,r){let n=qn(e,"color");if(!n)return;let[o,i]=n,s=o.replace(/([a-z])(\d)/g,"$1-$2").split(/-/g),[a]=s;if(!a)return;let c,l=d.bracketOfColor(o),f=l||o;if(d.numberWithUnit(f))return;if(/^#[\da-f]+$/i.test(f)?c=f:/^hex-[\da-fA-F]+$/.test(f)?c=`#${f.slice(4)}`:o.startsWith("$")&&(c=d.cssvar(o)),c=c||l,!c){let m=Hi(t,[o],r);typeof m=="string"&&(c=m)}let p="DEFAULT";if(!c){let m=s,h,[g]=s.slice(-1);/^\d+$/.test(g)&&(p=h=g,m=s.slice(0,-1));let b=Hi(t,m,r);typeof b=="object"?c=b[h??p]:typeof b=="string"&&!h&&(c=b)}return{opacity:i,name:a,no:p,color:c,cssColor:Y(c),alpha:d.bracket.cssvar.percent(i??"")}}function H(e,t,r,n){return([,o],{theme:i,generator:s})=>{let a=hr(o??"",i,r);if(!a)return;let{alpha:c,color:l,cssColor:f}=a,m=s.config.envMode==="dev"&&l?` /* ${l} */`:"",h={};if(f)if(c!=null)h[e]=A(f,c)+m;else{let g=`--un-${t}-opacity`,b=A(f,`var(${g})`);b.includes(g)&&(h[g]=ie(f)),h[e]=b+m}else if(l)if(c!=null)h[e]=A(l,c)+m;else{let g=`--un-${t}-opacity`,b=A(l,`var(${g})`);b.includes(g)&&(h[g]=1),h[e]=b+m}if(n?.(h)!==!1)return h}}function gr(e,t){let r=[];e=C(e);for(let n=0;n<e.length;n++){let o=Ee(e[n]," ",6);if(!o||o.length<3)return e;let i=!1,s=o.indexOf("inset");s!==-1&&(o.splice(s,1),i=!0);let a="",c=o.at(-1);if(Y(o.at(0))){let l=Y(o.shift());l&&(a=`, ${A(l)}`)}else if(Y(c)){let l=Y(o.pop());l&&(a=`, ${A(l)}`)}else c&&pr.test(c)&&(a=`, ${o.pop()}`);r.push(`${i?"inset ":""}${o.join(" ")} var(${t}${a})`)}return r}function br(e,t,r){return e!=null&&!!hr(e,t,r)?.color}var qi=/[a-z]+/gi,Hn=new WeakMap;function xr({theme:e,generator:t},r="breakpoints"){let n=t?.userConfig?.theme?.[r]||e[r];if(!n)return;if(Hn.has(e))return Hn.get(e);let o=Object.entries(n).sort((i,s)=>Number.parseInt(i[1].replace(qi,""))-Number.parseInt(s[1].replace(qi,""))).map(([i,s])=>({point:i,size:s}));return Hn.set(e,o),o}function W(e,t){return _.map(r=>[`${e}-${r}`,{[t??e]:r}])}function ae(e){return e!=null&&it.test(e)}function Xi(e){return e[0]==="["&&e.slice(-1)==="]"&&(e=e.slice(1,-1)),it.test(e)||De.test(e)}function yr(e,t,r){let n=t.split(Bi);return e||!e&&n.length===1?Wi[e].map(o=>[`--un-${r}${o}`,t]):n.map((o,i)=>[`--un-${r}-${Ui[i]}`,o])}var Zi=[[/^outline-(?:width-|size-)?(.+)$/,Ji,{autocomplete:"outline-(width|size)-<num>"}],[/^outline-(?:color-)?(.+)$/,Sp,{autocomplete:"outline-$colors"}],[/^outline-offset-(.+)$/,([,e],{theme:t})=>({"outline-offset":t.lineWidth?.[e]??d.bracket.cssvar.global.px(e)}),{autocomplete:"outline-(offset)-<num>"}],["outline",{"outline-style":"solid"}],...["auto","dashed","dotted","double","hidden","solid","groove","ridge","inset","outset",..._].map(e=>[`outline-${e}`,{"outline-style":e}]),["outline-none",{outline:"2px solid transparent","outline-offset":"2px"}]];function Ji([,e],{theme:t}){return{"outline-width":t.lineWidth?.[e]??d.bracket.cssvar.global.px(e)}}function Sp(e,t){return ae(d.bracket(e[1]))?Ji(e,t):H("outline-color","outline-color","borderColor")(e,t)}var Qi=[["appearance-auto",{"-webkit-appearance":"auto",appearance:"auto"}],["appearance-none",{"-webkit-appearance":"none",appearance:"none"}]];function Cp(e){return d.properties.auto.global(e)??{contents:"contents",scroll:"scroll-position"}[e]}var es=[[/^will-change-(.+)/,([,e])=>({"will-change":Cp(e)})]];var ft=["solid","dashed","dotted","double","hidden","none","groove","ridge","inset","outset",..._],rs=[[/^(?:border|b)()(?:-(.+))?$/,de,{autocomplete:"(border|b)-<directions>"}],[/^(?:border|b)-([xy])(?:-(.+))?$/,de],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,de],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,de],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,de],[/^(?:border|b)-()(?:width|size)-(.+)$/,de,{autocomplete:["(border|b)-<num>","(border|b)-<directions>-<num>"]}],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,de],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,de],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,de],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,de],[/^(?:border|b)-()(?:color-)?(.+)$/,st,{autocomplete:["(border|b)-$colors","(border|b)-<directions>-$colors"]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,st],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,st],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,st],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,st],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,at,{autocomplete:"(border|b)-(op|opacity)-<percent>"}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,at],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,at],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,at],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,at],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,ct,{autocomplete:["(border|b)-(rounded|rd)","(border|b)-(rounded|rd)-$borderRadius","(rounded|rd)","(rounded|rd)-$borderRadius"]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltbse])(?:-(.+))?$/,ct],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,ct],[/^(?:border-|b-)?(?:rounded|rd)-([bise][se])(?:-(.+))?$/,ct],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,ct],[/^(?:border|b)-(?:style-)?()(.+)$/,lt,{autocomplete:["(border|b)-style",`(border|b)-(${ft.join("|")})`,"(border|b)-<directions>-style",`(border|b)-<directions>-(${ft.join("|")})`,`(border|b)-<directions>-style-(${ft.join("|")})`,`(border|b)-style-(${ft.join("|")})`]}],[/^(?:border|b)-([xy])-(?:style-)?(.+)$/,lt],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,lt],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,lt],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,lt]];function ts(e,t,r){if(t!=null)return{[`border${r}-color`]:A(e,t)};if(r===""){let n={},o="--un-border-opacity",i=A(e,`var(${o})`);return i.includes(o)&&(n[o]=typeof e=="string"?1:ie(e)),n["border-color"]=i,n}else{let n={},o="--un-border-opacity",i=`--un-border${r}-opacity`,s=A(e,`var(${i})`);return s.includes(i)&&(n[o]=typeof e=="string"?1:ie(e),n[i]=`var(${o})`),n[`border${r}-color`]=s,n}}function Rp(e){return([,t],r)=>{let n=hr(t,r,"borderColor");if(!n)return;let{alpha:o,color:i,cssColor:s}=n;if(s)return ts(s,o,e);if(i)return ts(i,o,e)}}function de([,e="",t],{theme:r}){let n=r.lineWidth?.[t||"DEFAULT"]??d.bracket.cssvar.global.px(t||"1");if(e in ne&&n!=null)return ne[e].map(o=>[`border${o}-width`,n])}function st([,e="",t],r){if(e in ne){if(ae(d.bracket(t)))return de(["",e,t],r);if(br(t,r.theme,"borderColor"))return Object.assign({},...ne[e].map(n=>Rp(n)(["",t],r.theme)))}}function at([,e="",t]){let r=d.bracket.percent.cssvar(t);if(e in ne&&r!=null)return ne[e].map(n=>[`--un-border${n}-opacity`,r])}function ct([,e="",t],{theme:r}){let n=r.borderRadius?.[t||"DEFAULT"]||d.bracket.cssvar.global.fraction.rem(t||"1");if(e in In&&n!=null)return In[e].map(o=>[`border${o}-radius`,n])}function lt([,e="",t]){if(ft.includes(t)&&e in ne)return ne[e].map(r=>[`border${r}-style`,t])}var ns=[[/^op(?:acity)?-?(.+)$/,([,e])=>({opacity:d.bracket.percent.cssvar(e)})]],Ep=/^\[url\(.+\)\]$/,Tp=/^\[(?:length|size):.+\]$/,jp=/^\[position:.+\]$/,zp=/^\[(?:linear|conic|radial)-gradient\(.+\)\]$/,Ap=/^\[image:.+\]$/,os=[[/^bg-(.+)$/,(...e)=>{let t=e[0][1];if(Ep.test(t))return{"--un-url":d.bracket(t),"background-image":"var(--un-url)"};if(Tp.test(t)&&d.bracketOfLength(t)!=null)return{"background-size":d.bracketOfLength(t).split(" ").map(r=>d.fraction.auto.px.cssvar(r)??r).join(" ")};if((Xi(t)||jp.test(t))&&d.bracketOfPosition(t)!=null)return{"background-position":d.bracketOfPosition(t).split(" ").map(r=>d.position.fraction.auto.px.cssvar(r)??r).join(" ")};if(zp.test(t)||Ap.test(t)){let r=d.bracket(t);if(r)return{"background-image":(r.startsWith("http")?`url(${r})`:d.cssvar(r))??r}}return H("background-color","bg","backgroundColor")(...e)},{autocomplete:"bg-$colors"}],[/^bg-op(?:acity)?-?(.+)$/,([,e])=>({"--un-bg-opacity":d.bracket.percent.cssvar(e)}),{autocomplete:"bg-(op|opacity)-<percent>"}]],is=[[/^color-scheme-(\w+)$/,([,e])=>({"color-scheme":e})]];var ss=[[/^@container(?:\/(\w+))?(?:-(normal|inline-size|size))?$/,([,e,t])=>({"container-type":t??"inline-size","container-name":e})]];var as=["solid","double","dotted","dashed","wavy",..._],cs=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,e])=>({"text-decoration-line":e}),{autocomplete:"decoration-(underline|overline|line-through)"}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,ls,{autocomplete:"(underline|decoration)-<num>"}],[/^(?:underline|decoration)-(auto|from-font)$/,([,e])=>({"text-decoration-thickness":e}),{autocomplete:"(underline|decoration)-(auto|from-font)"}],[/^(?:underline|decoration)-(.+)$/,Op,{autocomplete:"(underline|decoration)-$colors"}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-line-opacity":d.bracket.percent.cssvar(e)}),{autocomplete:"(underline|decoration)-(op|opacity)-<percent>"}],[/^(?:underline|decoration)-offset-(.+)$/,([,e],{theme:t})=>({"text-underline-offset":t.lineWidth?.[e]??d.auto.bracket.cssvar.global.px(e)}),{autocomplete:"(underline|decoration)-(offset)-<num>"}],...as.map(e=>[`underline-${e}`,{"text-decoration-style":e}]),...as.map(e=>[`decoration-${e}`,{"text-decoration-style":e}]),["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];function ls([,e],{theme:t}){return{"text-decoration-thickness":t.lineWidth?.[e]??d.bracket.cssvar.global.px(e)}}function Op(e,t){if(ae(d.bracket(e[1])))return ls(e,t);let r=H("text-decoration-color","line","borderColor")(e,t);if(r)return{"-webkit-text-decoration-color":r["text-decoration-color"],...r}}var fs=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],[/^flex-(.*)$/,([,e])=>({flex:d.bracket(e)!=null?d.bracket(e).split(" ").map(t=>d.cssvar.fraction(t)??t).join(" "):d.cssvar.fraction(e)})],["flex-1",{flex:"1 1 0%"}],["flex-auto",{flex:"1 1 auto"}],["flex-initial",{flex:"0 1 auto"}],["flex-none",{flex:"none"}],[/^(?:flex-)?shrink(?:-(.*))?$/,([,e=""])=>({"flex-shrink":d.bracket.cssvar.number(e)??1}),{autocomplete:["flex-shrink-<num>","shrink-<num>"]}],[/^(?:flex-)?grow(?:-(.*))?$/,([,e=""])=>({"flex-grow":d.bracket.cssvar.number(e)??1}),{autocomplete:["flex-grow-<num>","grow-<num>"]}],[/^(?:flex-)?basis-(.+)$/,([,e],{theme:t})=>({"flex-basis":t.spacing?.[e]??d.bracket.cssvar.auto.fraction.rem(e)}),{autocomplete:["flex-basis-$spacing","basis-$spacing"]}],["flex-row",{"flex-direction":"row"}],["flex-row-reverse",{"flex-direction":"row-reverse"}],["flex-col",{"flex-direction":"column"}],["flex-col-reverse",{"flex-direction":"column-reverse"}],["flex-wrap",{"flex-wrap":"wrap"}],["flex-wrap-reverse",{"flex-wrap":"wrap-reverse"}],["flex-nowrap",{"flex-wrap":"nowrap"}]];var Pp={"":"",x:"column-",y:"row-",col:"column-",row:"row-"};function Yn([,e="",t],{theme:r}){let n=r.spacing?.[t]??d.bracket.cssvar.global.rem(t);if(n!=null)return{[`${Pp[e]}gap`]:n}}var us=[[/^(?:flex-|grid-)?gap-?()(.+)$/,Yn,{autocomplete:["gap-$spacing","gap-<num>"]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,Yn,{autocomplete:["gap-(x|y)-$spacing","gap-(x|y)-<num>"]}],[/^(?:flex-|grid-)?gap-(col|row)-?(.+)$/,Yn,{autocomplete:["gap-(col|row)-$spacing","gap-(col|row)-<num>"]}]];function ge(e){return e.replace("col","column")}function Xn(e){return e[0]==="r"?"Row":"Column"}function Vp(e,t,r){let n=t[`gridAuto${Xn(e)}`]?.[r];if(n!=null)return n;switch(r){case"min":return"min-content";case"max":return"max-content";case"fr":return"minmax(0,1fr)"}return d.bracket.cssvar.auto.rem(r)}var ps=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,e,t],{theme:r})=>({[`grid-${ge(e)}`]:r[`grid${Xn(e)}`]?.[t]??d.bracket.cssvar.auto(t)})],[/^(?:grid-)?(row|col)-span-(.+)$/,([,e,t])=>{if(t==="full")return{[`grid-${ge(e)}`]:"1/-1"};let r=d.bracket.number(t);if(r!=null)return{[`grid-${ge(e)}`]:`span ${r}/span ${r}`}},{autocomplete:"(grid-row|grid-col|row|col)-span-<num>"}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,e,t])=>({[`grid-${ge(e)}-start`]:d.bracket.cssvar(t)??t})],[/^(?:grid-)?(row|col)-end-(.+)$/,([,e,t])=>({[`grid-${ge(e)}-end`]:d.bracket.cssvar(t)??t}),{autocomplete:"(grid-row|grid-col|row|col)-(start|end)-<num>"}],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,e,t],{theme:r})=>({[`grid-auto-${ge(e)}`]:Vp(e,r,t)}),{autocomplete:"(grid-auto|auto)-(rows|cols)-<num>"}],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,e])=>({"grid-auto-flow":d.bracket.cssvar(e)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)$/,([,e])=>({"grid-auto-flow":ge(e).replace("-"," ")}),{autocomplete:["(grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)"]}],[/^(?:grid-)?(rows|cols)-(.+)$/,([,e,t],{theme:r})=>({[`grid-template-${ge(e)}`]:r[`gridTemplate${Xn(e)}`]?.[t]??d.bracket.cssvar(t)})],[/^(?:grid-)?(rows|cols)-minmax-([\w.-]+)$/,([,e,t])=>({[`grid-template-${ge(e)}`]:`repeat(auto-fill,minmax(${t},1fr))`})],[/^(?:grid-)?(rows|cols)-(\d+)$/,([,e,t])=>({[`grid-template-${ge(e)}`]:`repeat(${t},minmax(0,1fr))`}),{autocomplete:"(grid-rows|grid-cols|rows|cols)-<num>"}],[/^grid-area(s)?-(.+)$/,([,e,t])=>e!=null?{"grid-template-areas":d.cssvar(t)??t.split("-").map(r=>`"${d.bracket(r)}"`).join(" ")}:{"grid-area":d.bracket.cssvar(t)}],["grid-rows-none",{"grid-template-rows":"none"}],["grid-cols-none",{"grid-template-columns":"none"}],["grid-rows-subgrid",{"grid-template-rows":"subgrid"}],["grid-cols-subgrid",{"grid-template-columns":"subgrid"}]];var vr=["auto","hidden","clip","visible","scroll","overlay",..._],ds=[[/^(?:overflow|of)-(.+)$/,([,e])=>vr.includes(e)?{overflow:e}:void 0,{autocomplete:[`(overflow|of)-(${vr.join("|")})`,`(overflow|of)-(x|y)-(${vr.join("|")})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,e,t])=>vr.includes(t)?{[`overflow-${e}`]:t}:void 0]];var ms=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,e])=>({position:e}),{autocomplete:["(position|pos)-<position>","(position|pos)-<globalKeyword>","<position>"]}],[/^(?:position-|pos-)([-\w]+)$/,([,e])=>_.includes(e)?{position:e}:void 0],[/^(?:position-|pos-)?(static)$/,([,e])=>({position:e})]],Jn=[["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"}],...W("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"}],...W("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"}],...W("justify-self")],hs=[[/^order-(.+)$/,([,e])=>({order:d.bracket.cssvar.number(e)})],["order-first",{order:"-9999"}],["order-last",{order:"9999"}],["order-none",{order:"0"}]],Qn=[["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"}],...W("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"}],...W("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"}],...W("self","align-self")],eo=[["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"}],...W("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"}],...W("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"}],...W("place-self")],gs=[...Jn,...Qn,...eo].flatMap(([e,t])=>[[`flex-${e}`,t],[`grid-${e}`,t]]);function Zn(e,{theme:t}){return t.spacing?.[e]??d.bracket.cssvar.global.auto.fraction.rem(e)}function ut([,e,t],r){let n=Zn(t,r);if(n!=null&&e in Bn)return Bn[e].map(o=>[o.slice(1),n])}var bs=[[/^(?:position-|pos-)?inset-(.+)$/,([,e],t)=>({inset:Zn(e,t)}),{autocomplete:["(position|pos)-inset-<directions>-$spacing","(position|pos)-inset-(block|inline)-$spacing","(position|pos)-inset-(bs|be|is|ie)-$spacing","(position|pos)-(top|left|right|bottom)-$spacing"]}],[/^(?:position-|pos-)?(start|end)-(.+)$/,ut],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,ut],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,ut],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,ut],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,ut],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,e,t],r)=>({[e]:Zn(t,r)})]],xs=[["float-left",{float:"left"}],["float-right",{float:"right"}],["float-start",{float:"inline-start"}],["float-end",{float:"inline-end"}],["float-none",{float:"none"}],...W("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"}],...W("clear")],ys=[[/^(?:position-|pos-)?z([\d.]+)$/,([,e])=>({"z-index":d.number(e)})],[/^(?:position-|pos-)?z-(.+)$/,([,e],{theme:t})=>({"z-index":t.zIndex?.[e]??d.bracket.cssvar.global.auto.number(e)}),{autocomplete:"z-<num>"}]],vs=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}],...W("box","box-sizing")];var $s=[[/^(where|\?)$/,(e,{constructCSS:t,generator:r})=>{if(r.userConfig.envMode==="dev")return`@keyframes __un_qm{0%{box-shadow:inset 4px 4px #ff1e90, inset -4px -4px #ff1e90}100%{box-shadow:inset 8px 8px #3399ff, inset -8px -8px #3399ff}} ${t({animation:"__un_qm 0.5s ease-in-out alternate infinite"})}`}]];var Mp=["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"],Fp=["none","strict","content","size","inline-size","layout","style","paint"],$r=" ",ws=[["inline",{display:"inline"}],["block",{display:"block"}],["inline-block",{display:"inline-block"}],["contents",{display:"contents"}],["flow-root",{display:"flow-root"}],["list-item",{display:"list-item"}],["hidden",{display:"none"}],[/^display-(.+)$/,([,e])=>({display:d.bracket.cssvar.global(e)})]],ks=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}],...W("backface","backface-visibility")],Ss=[[/^cursor-(.+)$/,([,e])=>({cursor:d.bracket.cssvar.global(e)})],...Mp.map(e=>[`cursor-${e}`,{cursor:e}])],Cs=[[/^contain-(.*)$/,([,e])=>d.bracket(e)!=null?{contain:d.bracket(e).split(" ").map(t=>d.cssvar.fraction(t)??t).join(" ")}:Fp.includes(e)?{contain:e}:void 0]],Rs=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}],...W("pointer-events")],Es=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}],...W("resize")],Ts=[["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"}],...W("select","user-select")],js=[[/^(?:whitespace-|ws-)([-\w]+)$/,([,e])=>["normal","nowrap","pre","pre-line","pre-wrap","break-spaces",..._].includes(e)?{"white-space":e}:void 0,{autocomplete:"(whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)"}]],zs=[[/^intrinsic-size-(.+)$/,([,e])=>({"contain-intrinsic-size":d.bracket.cssvar.global.fraction.rem(e)}),{autocomplete:"intrinsic-size-<num>"}],["content-visibility-visible",{"content-visibility":"visible"}],["content-visibility-hidden",{"content-visibility":"hidden"}],["content-visibility-auto",{"content-visibility":"auto"}],...W("content-visibility")],As=[[/^content-(.+)$/,([,e])=>({content:d.bracket.cssvar(e)})],["content-empty",{content:'""'}],["content-none",{content:"none"}]],Os=[["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"}]],Ps=[["text-wrap",{"text-wrap":"wrap"}],["text-nowrap",{"text-wrap":"nowrap"}],["text-balance",{"text-wrap":"balance"}],["text-pretty",{"text-wrap":"pretty"}]],Vs=[["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"}]],Ms=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}],...W("case","text-transform")],Fs=[["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"}]],_s=[["antialiased",{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"}],["subpixel-antialiased",{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"}]],Ls=[["field-sizing-fixed",{"field-sizing":"fixed"}],["field-sizing-content",{"field-sizing":"content"}]];var to={"--un-ring-inset":$r,"--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)"},_p=Object.keys(to),Ws=[[/^ring(?:-(.+))?$/,([,e],{theme:t})=>{let r=t.ringWidth?.[e||"DEFAULT"]??d.px(e||"1");if(r)return{"--un-ring-width":r,"--un-ring-offset-shadow":"var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color)","--un-ring-shadow":"var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color)","box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"}},{custom:{preflightKeys:_p},autocomplete:"ring-$ringWidth"}],[/^ring-(?:width-|size-)(.+)$/,Us,{autocomplete:"ring-(width|size)-$lineWidth"}],["ring-offset",{"--un-ring-offset-width":"1px"}],[/^ring-offset-(?:width-|size-)?(.+)$/,([,e],{theme:t})=>({"--un-ring-offset-width":t.lineWidth?.[e]??d.bracket.cssvar.px(e)}),{autocomplete:"ring-offset-(width|size)-$lineWidth"}],[/^ring-(.+)$/,Lp,{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-opacity":d.bracket.percent.cssvar(e)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^ring-offset-(.+)$/,H("--un-ring-offset-color","ring-offset","borderColor"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-offset-opacity":d.bracket.percent.cssvar(e)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]];function Us([,e],{theme:t}){return{"--un-ring-width":t.ringWidth?.[e]??d.bracket.cssvar.px(e)}}function Lp(e,t){return ae(d.bracket(e[1]))?Us(e,t):H("--un-ring-color","ring","borderColor")(e,t)}var ro={"--un-ring-offset-shadow":"0 0 rgb(0 0 0 / 0)","--un-ring-shadow":"0 0 rgb(0 0 0 / 0)","--un-shadow-inset":$r,"--un-shadow":"0 0 rgb(0 0 0 / 0)"},Wp=Object.keys(ro),Bs=[[/^shadow(?:-(.+))?$/,(e,t)=>{let[,r]=e,{theme:n}=t,o=n.boxShadow?.[r||"DEFAULT"],i=r?d.bracket.cssvar(r):void 0;return(o!=null||i!=null)&&!br(i,n,"shadowColor")?{"--un-shadow":gr(o||i,"--un-shadow-color").join(","),"box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"}:H("--un-shadow-color","shadow","shadowColor")(e,t)},{custom:{preflightKeys:Wp},autocomplete:["shadow-$colors","shadow-$boxShadow"]}],[/^shadow-op(?:acity)?-?(.+)$/,([,e])=>({"--un-shadow-opacity":d.bracket.percent.cssvar(e)}),{autocomplete:"shadow-(op|opacity)-<percent>"}],["shadow-inset",{"--un-shadow-inset":"inset"}]];var Up={h:"height",w:"width",inline:"inline-size",block:"block-size"};function Pe(e,t){return`${e||""}${Up[t]}`}function wr(e,t,r,n){let o=Pe(e,t).replace(/-(\w)/g,(s,a)=>a.toUpperCase()),i=r[o]?.[n];if(i!=null)return i;switch(n){case"fit":case"max":case"min":return`${n}-content`}return d.bracket.cssvar.global.auto.fraction.rem(n)}var Ds=[[/^size-(min-|max-)?(.+)$/,([,e,t],{theme:r})=>({[Pe(e,"w")]:wr(e,"w",r,t),[Pe(e,"h")]:wr(e,"h",r,t)})],[/^(?:size-)?(min-|max-)?([wh])-?(.+)$/,([,e,t,r],{theme:n})=>({[Pe(e,t)]:wr(e,t,n,r)})],[/^(?:size-)?(min-|max-)?(block|inline)-(.+)$/,([,e,t,r],{theme:n})=>({[Pe(e,t)]:wr(e,t,n,r)}),{autocomplete:["(w|h)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(max|min)-(w|h|block|inline)","(max|min)-(w|h|block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(w|h)-full","(max|min)-(w|h)-full"]}],[/^(?:size-)?(min-|max-)?(h)-screen-(.+)$/,([,e,t,r],n)=>({[Pe(e,t)]:Is(n,r,"verticalBreakpoints")})],[/^(?:size-)?(min-|max-)?(w)-screen-(.+)$/,([,e,t,r],n)=>({[Pe(e,t)]:Is(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 Is(e,t,r="breakpoints"){let n=xr(e,r);if(n)return n.find(o=>o.point===t)?.size}function Bp(e){if(/^\d+\/\d+$/.test(e))return e;switch(e){case"square":return"1/1";case"video":return"16/9"}return d.bracket.cssvar.global.auto.number(e)}var Ns=[[/^(?:size-)?aspect-(?:ratio-)?(.+)$/,([,e])=>({"aspect-ratio":Bp(e)}),{autocomplete:["aspect-(square|video|ratio)","aspect-ratio-(square|video)"]}]];var Ks=[[/^pa?()-?(.+)$/,oe("padding"),{autocomplete:["(m|p)<num>","(m|p)-<num>"]}],[/^p-?xy()()$/,oe("padding"),{autocomplete:"(m|p)-(xy)"}],[/^p-?([xy])(?:-?(.+))?$/,oe("padding")],[/^p-?([rltbse])(?:-?(.+))?$/,oe("padding"),{autocomplete:"(m|p)<directions>-<num>"}],[/^p-(block|inline)(?:-(.+))?$/,oe("padding"),{autocomplete:"(m|p)-(block|inline)-<num>"}],[/^p-?([bi][se])(?:-?(.+))?$/,oe("padding"),{autocomplete:"(m|p)-(bs|be|is|ie)-<num>"}]],Gs=[[/^ma?()-?(.+)$/,oe("margin")],[/^m-?xy()()$/,oe("margin")],[/^m-?([xy])(?:-?(.+))?$/,oe("margin")],[/^m-?([rltbse])(?:-?(.+))?$/,oe("margin")],[/^m-(block|inline)(?:-(.+))?$/,oe("margin")],[/^m-?([bi][se])(?:-?(.+))?$/,oe("margin")]];var Hs=[[/^fill-(.+)$/,H("fill","fill","backgroundColor"),{autocomplete:"fill-$colors"}],[/^fill-op(?:acity)?-?(.+)$/,([,e])=>({"--un-fill-opacity":d.bracket.percent.cssvar(e)}),{autocomplete:"fill-(op|opacity)-<percent>"}],["fill-none",{fill:"none"}],[/^stroke-(?:width-|size-)?(.+)$/,qs,{autocomplete:["stroke-width-$lineWidth","stroke-size-$lineWidth"]}],[/^stroke-dash-(.+)$/,([,e])=>({"stroke-dasharray":d.bracket.cssvar.number(e)}),{autocomplete:"stroke-dash-<num>"}],[/^stroke-offset-(.+)$/,([,e],{theme:t})=>({"stroke-dashoffset":t.lineWidth?.[e]??d.bracket.cssvar.px.numberWithUnit(e)}),{autocomplete:"stroke-offset-$lineWidth"}],[/^stroke-(.+)$/,Ip,{autocomplete:"stroke-$colors"}],[/^stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-stroke-opacity":d.bracket.percent.cssvar(e)}),{autocomplete:"stroke-(op|opacity)-<percent>"}],["stroke-cap-square",{"stroke-linecap":"square"}],["stroke-cap-round",{"stroke-linecap":"round"}],["stroke-cap-auto",{"stroke-linecap":"butt"}],["stroke-join-arcs",{"stroke-linejoin":"arcs"}],["stroke-join-bevel",{"stroke-linejoin":"bevel"}],["stroke-join-clip",{"stroke-linejoin":"miter-clip"}],["stroke-join-round",{"stroke-linejoin":"round"}],["stroke-join-auto",{"stroke-linejoin":"miter"}],["stroke-none",{stroke:"none"}]];function qs([,e],{theme:t}){return{"stroke-width":t.lineWidth?.[e]??d.bracket.cssvar.fraction.px.number(e)}}function Ip(e,t){return ae(d.bracket(e[1]))?qs(e,t):H("stroke","stroke","borderColor")(e,t)}var kr=["translate","rotate","scale"],Dp=["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(" "),Ne=["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(" "),Np=["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(" "),no={"--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},be=Object.keys(no),Qs=[[/^(?:transform-)?origin-(.+)$/,([,e])=>({"transform-origin":ot[e]??d.bracket.cssvar(e)}),{autocomplete:[`transform-origin-(${Object.keys(ot).join("|")})`,`origin-(${Object.keys(ot).join("|")})`]}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,e])=>{let t=d.bracket.cssvar.px.numberWithUnit(e);if(t!=null)return{"-webkit-perspective":t,perspective:t}}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,e])=>{let t=d.bracket.cssvar(e)??(e.length>=3?ot[e]:void 0);if(t!=null)return{"-webkit-perspective-origin":t,"perspective-origin":t}}],[/^(?:transform-)?translate-()(.+)$/,Ys,{custom:{preflightKeys:be}}],[/^(?:transform-)?translate-([xyz])-(.+)$/,Ys,{custom:{preflightKeys:be}}],[/^(?:transform-)?rotate-()(.+)$/,Zs,{custom:{preflightKeys:be}}],[/^(?:transform-)?rotate-([xyz])-(.+)$/,Zs,{custom:{preflightKeys:be}}],[/^(?:transform-)?skew-()(.+)$/,Js,{custom:{preflightKeys:be}}],[/^(?:transform-)?skew-([xy])-(.+)$/,Js,{custom:{preflightKeys:be},autocomplete:["transform-skew-(x|y)-<percent>","skew-(x|y)-<percent>"]}],[/^(?:transform-)?scale-()(.+)$/,Xs,{custom:{preflightKeys:be}}],[/^(?:transform-)?scale-([xyz])-(.+)$/,Xs,{custom:{preflightKeys:be},autocomplete:[`transform-(${kr.join("|")})-<percent>`,`transform-(${kr.join("|")})-(x|y|z)-<percent>`,`(${kr.join("|")})-<percent>`,`(${kr.join("|")})-(x|y|z)-<percent>`]}],[/^(?:transform-)?preserve-3d$/,()=>({"transform-style":"preserve-3d"})],[/^(?:transform-)?preserve-flat$/,()=>({"transform-style":"flat"})],["transform",{transform:Ne},{custom:{preflightKeys:be}}],["transform-cpu",{transform:Dp},{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:Np},{custom:{preflightKeys:be}}],["transform-none",{transform:"none"}],...W("transform")];function Ys([,e,t],{theme:r}){let n=r.spacing?.[t]??d.bracket.cssvar.fraction.rem(t);if(n!=null)return[...yr(e,n,"translate"),["transform",Ne]]}function Xs([,e,t]){let r=d.bracket.cssvar.fraction.percent(t);if(r!=null)return[...yr(e,r,"scale"),["transform",Ne]]}function Zs([,e="",t]){let r=d.bracket.cssvar.degree(t);if(r!=null)return e?{"--un-rotate":0,[`--un-rotate-${e}`]:r,transform:Ne}:{"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-rotate":r,transform:Ne}}function Js([,e,t]){let r=d.bracket.cssvar.degree(t);if(r!=null)return[...yr(e,r,"skew"),["transform",Ne]]}function ea(e,t){let r;if(d.cssvar(e)!=null)r=d.cssvar(e);else{e.startsWith("[")&&e.endsWith("]")&&(e=e.slice(1,-1));let n=e.split(",").map(o=>t.transitionProperty?.[o]??d.properties(o));n.every(Boolean)&&(r=n.join(","))}return r}var ta=[[/^transition(?:-(\D+?))?(?:-(\d+))?$/,([,e,t],{theme:r})=>{if(!e&&!t)return{"transition-property":r.transitionProperty?.DEFAULT,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":r.duration?.DEFAULT??d.time("150")};if(e!=null){let n=ea(e,r),o=r.duration?.[t||"DEFAULT"]??d.time(t||"150");if(n)return{"transition-property":n,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":o}}else if(t!=null)return{"transition-property":r.transitionProperty?.DEFAULT,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":r.duration?.[t]??d.time(t)}},{autocomplete:"transition-$transitionProperty-$duration"}],[/^(?:transition-)?duration-(.+)$/,([,e],{theme:t})=>({"transition-duration":t.duration?.[e||"DEFAULT"]??d.bracket.cssvar.time(e)}),{autocomplete:["transition-duration-$duration","duration-$duration"]}],[/^(?:transition-)?delay-(.+)$/,([,e],{theme:t})=>({"transition-delay":t.duration?.[e||"DEFAULT"]??d.bracket.cssvar.time(e)}),{autocomplete:["transition-delay-$duration","delay-$duration"]}],[/^(?:transition-)?ease(?:-(.+))?$/,([,e],{theme:t})=>({"transition-timing-function":t.easing?.[e||"DEFAULT"]??d.bracket.cssvar(e)}),{autocomplete:["transition-ease-(linear|in|out|in-out|DEFAULT)","ease-(linear|in|out|in-out|DEFAULT)"]}],[/^(?:transition-)?property-(.+)$/,([,e],{theme:t})=>{let r=d.global(e)||ea(e,t);if(r)return{"transition-property":r}},{autocomplete:[`transition-property-(${[..._].join("|")})`,"transition-property-$transitionProperty","property-$transitionProperty"]}],["transition-none",{transition:"none"}],...W("transition"),["transition-discrete",{"transition-behavior":"allow-discrete"}],["transition-normal",{"transition-behavior":"normal"}]];var ra=[[/^text-(.+)$/,Gp,{autocomplete:"text-$fontSize"}],[/^(?:text|font)-size-(.+)$/,aa,{autocomplete:"text-size-$fontSize"}],[/^text-(?:color-)?(.+)$/,Kp,{autocomplete:"text-$colors"}],[/^(?:color|c)-(.+)$/,H("color","text","textColor"),{autocomplete:"(color|c)-$colors"}],[/^(?:text|color|c)-(.+)$/,([,e])=>_.includes(e)?{color:e}:void 0,{autocomplete:`(text|color|c)-(${_.join("|")})`}],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-opacity":d.bracket.percent.cssvar(e)}),{autocomplete:"(text|color|c)-(op|opacity)-<percent>"}],[/^(?:font|fw)-?([^-]+)$/,([,e],{theme:t})=>({"font-weight":t.fontWeight?.[e]||d.bracket.global.number(e)}),{autocomplete:["(font|fw)-(100|200|300|400|500|600|700|800|900)","(font|fw)-$fontWeight"]}],[/^(?:font-)?(?:leading|lh|line-height)-(.+)$/,([,e],{theme:t})=>({"line-height":oo(e,t,"lineHeight")}),{autocomplete:"(leading|lh|line-height)-$lineHeight"}],["font-synthesis-weight",{"font-synthesis":"weight"}],["font-synthesis-style",{"font-synthesis":"style"}],["font-synthesis-small-caps",{"font-synthesis":"small-caps"}],["font-synthesis-none",{"font-synthesis":"none"}],[/^font-synthesis-(.+)$/,([,e])=>({"font-synthesis":d.bracket.cssvar.global(e)})],[/^(?:font-)?tracking-(.+)$/,([,e],{theme:t})=>({"letter-spacing":t.letterSpacing?.[e]||d.bracket.cssvar.global.rem(e)}),{autocomplete:"tracking-$letterSpacing"}],[/^(?:font-)?word-spacing-(.+)$/,([,e],{theme:t})=>({"word-spacing":t.wordSpacing?.[e]||d.bracket.cssvar.global.rem(e)}),{autocomplete:"word-spacing-$wordSpacing"}],["font-stretch-normal",{"font-stretch":"normal"}],["font-stretch-ultra-condensed",{"font-stretch":"ultra-condensed"}],["font-stretch-extra-condensed",{"font-stretch":"extra-condensed"}],["font-stretch-condensed",{"font-stretch":"condensed"}],["font-stretch-semi-condensed",{"font-stretch":"semi-condensed"}],["font-stretch-semi-expanded",{"font-stretch":"semi-expanded"}],["font-stretch-expanded",{"font-stretch":"expanded"}],["font-stretch-extra-expanded",{"font-stretch":"extra-expanded"}],["font-stretch-ultra-expanded",{"font-stretch":"ultra-expanded"}],[/^font-stretch-(.+)$/,([,e])=>({"font-stretch":d.bracket.cssvar.fraction.global(e)}),{autocomplete:"font-stretch-<percentage>"}],[/^font-(.+)$/,([,e],{theme:t})=>({"font-family":t.fontFamily?.[e]||d.bracket.cssvar.global(e)}),{autocomplete:"font-$fontFamily"}]],na=[[/^tab(?:-(.+))?$/,([,e])=>{let t=d.bracket.cssvar.global.number(e||"4");if(t!=null)return{"-moz-tab-size":t,"-o-tab-size":t,"tab-size":t}}]],oa=[[/^indent(?:-(.+))?$/,([,e],{theme:t})=>({"text-indent":t.textIndent?.[e||"DEFAULT"]||d.bracket.cssvar.global.fraction.rem(e)}),{autocomplete:"indent-$textIndent"}]],ia=[[/^text-stroke(?:-(.+))?$/,([,e],{theme:t})=>({"-webkit-text-stroke-width":t.textStrokeWidth?.[e||"DEFAULT"]||d.bracket.cssvar.px(e)}),{autocomplete:"text-stroke-$textStrokeWidth"}],[/^text-stroke-(.+)$/,H("-webkit-text-stroke-color","text-stroke","borderColor"),{autocomplete:"text-stroke-$colors"}],[/^text-stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-stroke-opacity":d.bracket.percent.cssvar(e)}),{autocomplete:"text-stroke-(op|opacity)-<percent>"}]],sa=[[/^text-shadow(?:-(.+))?$/,([,e],{theme:t})=>{let r=t.textShadow?.[e||"DEFAULT"];return r!=null?{"--un-text-shadow":gr(r,"--un-text-shadow-color").join(","),"text-shadow":"var(--un-text-shadow)"}:{"text-shadow":d.bracket.cssvar.global(e)}},{autocomplete:"text-shadow-$textShadow"}],[/^text-shadow-color-(.+)$/,H("--un-text-shadow-color","text-shadow","shadowColor"),{autocomplete:"text-shadow-color-$colors"}],[/^text-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-shadow-opacity":d.bracket.percent.cssvar(e)}),{autocomplete:"text-shadow-color-(op|opacity)-<percent>"}]];function oo(e,t,r){return t[r]?.[e]||d.bracket.cssvar.global.rem(e)}function aa([,e],{theme:t}){let n=C(t.fontSize?.[e])?.[0]??d.bracket.cssvar.global.rem(e);if(n!=null)return{"font-size":n}}function Kp(e,t){return ae(d.bracket(e[1]))?aa(e,t):H("color","text","textColor")(e,t)}function Gp([,e="base"],{theme:t}){let r=qn(e,"length");if(!r)return;let[n,o]=r,i=C(t.fontSize?.[n]),s=o?oo(o,t,"lineHeight"):void 0;if(i?.[0]){let[c,l,f]=i;return typeof l=="object"?{"font-size":c,...l}:{"font-size":c,"line-height":s??l??"1","letter-spacing":f?oo(f,t,"letterSpacing"):void 0}}let a=d.bracketOfLength.rem(n);return s&&a?{"font-size":a,"line-height":s}:{"font-size":d.bracketOfLength.rem(e)}}var Hp={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"},ca=[[/^(.+?)-(\$.+)$/,([,e,t])=>{let r=Hp[e];if(r)return{[r]:d.cssvar(t)}}]],la=[[/^\[(.*)\]$/,([e,t])=>{if(!t.includes(":"))return;let[r,...n]=t.split(":"),o=n.join(":");if(!Yp(t)&&/^[\w-]+$/.test(r)&&qp(o)){let i=d.bracket(`[${o}]`);if(i)return{[r]:i}}}]];function qp(e){let t=0;function r(n){for(;t<e.length;)if(t+=1,e[t]===n)return!0;return!1}for(t=0;t<e.length;t++){let n=e[t];if("\"`'".includes(n)){if(!r(n))return!1}else if(n==="("){if(!r(")"))return!1}else if("[]{}:".includes(n))return!1}return!0}function Yp(e){if(!e.includes("://"))return!1;try{return new URL(e).host!==""}catch{return!1}}var fa=[ca,la,Cs,Rs,ks,ms,bs,ys,hs,ps,xs,Gs,vs,ws,Ns,Ds,fs,Qs,Ss,Ts,Es,Qi,eo,Qn,Jn,us,gs,ds,Vs,js,Os,rs,os,is,Hs,Ks,Ki,oa,Ps,Ni,ra,Ms,Fs,cs,_s,na,ia,sa,ns,Bs,Zi,Ws,ta,es,zs,As,ss,Ls,$s].flat(1);var ua={position:["relative","absolute","fixed","sticky","static"],globalKeyword:_};var io={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(io).forEach(e=>{typeof e!="string"&&e!==void 0&&(e.DEFAULT=e.DEFAULT||e[400],Object.keys(e).forEach(t=>{let r=+t/100;r===Math.round(r)&&(e[r]=e[t])}))});var pa={DEFAULT:"8px",0:"0",sm:"4px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},da={DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],sm:"0 1px 1px rgb(0 0 0 / 0.05)",md:["0 4px 3px rgb(0 0 0 / 0.07)","0 2px 2px rgb(0 0 0 / 0.06)"],lg:["0 10px 8px rgb(0 0 0 / 0.04)","0 4px 3px rgb(0 0 0 / 0.1)"],xl:["0 20px 13px rgb(0 0 0 / 0.03)","0 8px 5px rgb(0 0 0 / 0.08)"],"2xl":"0 25px 25px rgb(0 0 0 / 0.15)",none:"0 0 rgb(0 0 0 / 0)"};var ma={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(",")},ha={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"]},ga={DEFAULT:"1.5rem",xs:"0.5rem",sm:"1rem",md:"1.5rem",lg:"2rem",xl:"2.5rem","2xl":"3rem","3xl":"4rem"},ba={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},xa={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)"]},ya={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},so={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},va={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},$a=so;var ao={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},wa={...ao},ka={DEFAULT:"1px",none:"0"},Sa={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"},Ca={DEFAULT:"150ms",none:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},Ra={DEFAULT:"0.25rem",none:"0",sm:"0.125rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},Ea={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)"},Ta={DEFAULT:"3px",none:"0"},ja={auto:"auto"},za={mouse:"(hover) and (pointer: fine)"};var Aa={...no,...ro,...to};var we={xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",prose:"65ch"},Oa={auto:"auto",...we,screen:"100vw"},co={none:"none",...we,screen:"100vw"},Pa={auto:"auto",...we,screen:"100vb"},Va={auto:"auto",...we,screen:"100vi"},Ma={auto:"auto",...we,screen:"100vh"},lo={none:"none",...we,screen:"100vh"},fo={none:"none",...we,screen:"100vb"},uo={none:"none",...we,screen:"100vi"},Fa={...we};var _a={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)"},La={none:"none",all:"all",colors:["color","background-color","border-color","text-decoration-color","fill","stroke"].join(","),opacity:"opacity",shadow:"box-shadow",transform:"transform",get DEFAULT(){return[this.colors,"opacity","box-shadow","transform","filter","backdrop-filter"].join(",")}};var Wa={width:Oa,height:Ma,maxWidth:co,maxHeight:lo,minWidth:co,minHeight:lo,inlineSize:Va,blockSize:Pa,maxInlineSize:uo,maxBlockSize:fo,minInlineSize:uo,minBlockSize:fo,colors:io,fontFamily:ma,fontSize:ha,fontWeight:va,breakpoints:ao,verticalBreakpoints:wa,borderRadius:Ra,lineHeight:ya,letterSpacing:so,wordSpacing:$a,boxShadow:Ea,textIndent:ga,textShadow:xa,textStrokeWidth:ba,blur:pa,dropShadow:da,easing:_a,transitionProperty:La,lineWidth:ka,spacing:Sa,duration:Ca,ringWidth:Ta,preflightBase:Aa,containers:Fa,zIndex:ja,media:za};var Ua={name:"aria",match(e,t){let r=O("aria-",e,t.generator.config.separators);if(r){let[n,o]=r,i=d.bracket(n)??t.theme.aria?.[n]??"";if(i)return{matcher:o,selector:s=>`${s}[aria-${i}]`}}},multiPass:!0};function Sr(e,t,r={}){return{name:`${e}-aria`,match(n,o){let i=O(`${e}-aria-`,n,o.generator.config.separators);if(i){let[s,a,c]=i,l=d.bracket(s)??o.theme.aria?.[s]??"";if(l){let f=!!r?.attributifyPseudo,p=r?.prefix??"";p=(Array.isArray(p)?p:[p]).filter(Boolean)[0]??"";let m=`${f?`[${p}${e}=""]`:`.${p}${e}`}`,h=J(c?`/${c}`:"");return{matcher:a,handle:(g,b)=>{let $=new RegExp(`${K(m)}${K(h)}(?:\\[.+?\\])+`),S=g.prefix.match($),y;if(S){let x=(S.index??0)+m.length+h.length;y=[g.prefix.slice(0,x),`[aria-${l}]`,g.prefix.slice(x)].join("")}else{let x=Math.max(g.prefix.indexOf(m),0);y=[g.prefix.slice(0,x),m,h,`[aria-${l}]`,t,g.prefix.slice(x)].join("")}return b({...g,prefix:y})}}}}},multiPass:!0}}function Xp(){return{name:"has-aria",match(e,t){let r=O("has-aria-",e,t.generator.config.separators);if(r){let[n,o]=r,i=d.bracket(n)??t.theme.aria?.[n]??"";if(i)return{matcher:o,handle:(s,a)=>a({...s,pseudo:`${s.pseudo}:has([aria-${i}])`})}}},multiPass:!0}}function Ba(e={}){return[Sr("group"," ",e),Sr("peer","~",e),Sr("parent",">",e),Sr("previous","+",e),Xp()]}var Ia=/(max|min)-\[([^\]]*)\]:/;function Da(){let e={};return{name:"breakpoints",match(t,r){if(Ia.test(t)){let o=t.match(Ia);return{matcher:t.replace(o[0],""),handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@media (${o[1]}-width: ${o[2]})`})}}let n=(xr(r)??[]).map(({point:o,size:i},s)=>[o,i,s]);for(let[o,i,s]of n){e[o]||(e[o]=new RegExp(`^((?:([al]t-|[<~]|max-))?${o}(?:${r.generator.config.separators.join("|")}))`));let a=t.match(e[o]);if(!a)continue;let[,c]=a,l=t.slice(c.length);if(l==="container")continue;let f=c.startsWith("lt-")||c.startsWith("<")||c.startsWith("max-"),p=c.startsWith("at-")||c.startsWith("~"),m=3e3;return f?(m-=s+1,{matcher:l,handle:(h,g)=>g({...h,parent:`${h.parent?`${h.parent} $$ `:""}@media (max-width: ${Ue(i)})`,parentOrder:m})}):(m+=s+1,p&&s<n.length-1?{matcher:l,handle:(h,g)=>g({...h,parent:`${h.parent?`${h.parent} $$ `:""}@media (min-width: ${i}) and (max-width: ${Ue(n[s+1][1])})`,parentOrder:m})}:{matcher:l,handle:(h,g)=>g({...h,parent:`${h.parent?`${h.parent} $$ `:""}@media (min-width: ${i})`,parentOrder:m})})}},multiPass:!0,autocomplete:"(at-|lt-|max-|)$breakpoints:"}}var Na=[N("*",e=>({selector:`${e.selector} > *`}),{order:-1})];function pt(e,t){return{name:`combinator:${e}`,match(r,n){if(!r.startsWith(e))return;let o=n.generator.config.separators,i=X(`${e}-`,r,o);if(!i){for(let a of o)if(r.startsWith(`${e}${a}`)){i=["",r.slice(e.length+a.length)];break}if(!i)return}let s=d.bracket(i[0])??"";return s===""&&(s="*"),{matcher:i[1],selector:a=>`${a}${t}${s}`}},multiPass:!0}}var Ka=[pt("all"," "),pt("children",">"),pt("next","+"),pt("sibling","+"),pt("siblings","~")];var Ga={name:"@",match(e,t){if(e.startsWith("@container"))return;let r=O("@",e,t.generator.config.separators);if(r){let[n,o,i]=r,s=d.bracket(n),a;if(s?a=d.numberWithUnit(s):a=t.theme.containers?.[n]??"",a){let c=1e3+Object.keys(t.theme.containers??{}).indexOf(n);return i&&(c+=1e3),{matcher:o,handle:(l,f)=>f({...l,parent:`${l.parent?`${l.parent} $$ `:""}@container${i?` ${i} `:" "}(min-width: ${a})`,parentOrder:c})}}}},multiPass:!0};function Ha(e={}){if(e?.dark==="class"||typeof e.dark=="object"){let{dark:t=".dark",light:r=".light"}=typeof e.dark=="string"?{}:e.dark;return[N("dark",C(t).map(n=>o=>({prefix:`${n} $$ ${o.prefix}`}))),N("light",C(r).map(n=>o=>({prefix:`${n} $$ ${o.prefix}`})))]}return[G("dark","@media (prefers-color-scheme: dark)"),G("light","@media (prefers-color-scheme: light)")]}var qa={name:"data",match(e,t){let r=O("data-",e,t.generator.config.separators);if(r){let[n,o]=r,i=d.bracket(n)??t.theme.data?.[n]??"";if(i)return{matcher:o,selector:s=>`${s}[data-${i}]`}}},multiPass:!0};function Cr(e,t,r={}){return{name:`${e}-data`,match(n,o){let i=O(`${e}-data-`,n,o.generator.config.separators);if(i){let[s,a,c]=i,l=d.bracket(s)??o.theme.data?.[s]??"";if(l){let f=!!r?.attributifyPseudo,p=r?.prefix??"";p=(Array.isArray(p)?p:[p]).filter(Boolean)[0]??"";let m=`${f?`[${p}${e}=""]`:`.${p}${e}`}`,h=J(c?`/${c}`:"");return{matcher:a,handle:(g,b)=>{let $=new RegExp(`${K(m)}${K(h)}(?:\\[.+?\\])+`),S=g.prefix.match($),y;if(S){let x=(S.index??0)+m.length+h.length;y=[g.prefix.slice(0,x),`[data-${l}]`,g.prefix.slice(x)].join("")}else{let x=Math.max(g.prefix.indexOf(m),0);y=[g.prefix.slice(0,x),m,h,`[data-${l}]`,t,g.prefix.slice(x)].join("")}return b({...g,prefix:y})}}}}},multiPass:!0}}function Zp(){return{name:"has-data",match(e,t){let r=O("has-data-",e,t.generator.config.separators);if(r){let[n,o]=r,i=d.bracket(n)??t.theme.data?.[n]??"";if(i)return{matcher:o,handle:(s,a)=>a({...s,pseudo:`${s.pseudo}:has([data-${i}])`})}}},multiPass:!0}}function Ya(e={}){return[Cr("group"," ",e),Cr("peer","~",e),Cr("parent",">",e),Cr("previous","+",e),Zp()]}var Xa=[N("rtl",e=>({prefix:`[dir="rtl"] $$ ${e.prefix}`})),N("ltr",e=>({prefix:`[dir="ltr"] $$ ${e.prefix}`}))];function Za(){let e;return{name:"important",match(t,r){e||(e=new RegExp(`^(important(?:${r.generator.config.separators.join("|")})|!)`));let n,o=t.match(e);if(o?n=t.slice(o[0].length):t.endsWith("!")&&(n=t.slice(0,-1)),n)return{matcher:n,body:i=>(i.forEach(s=>{s[1]!=null&&(s[1]+=" !important")}),i)}}}}var Ja=G("print","@media print"),Qa={name:"media",match(e,t){let r=O("media-",e,t.generator.config.separators);if(r){let[n,o]=r,i=d.bracket(n)??"";if(i===""&&(i=t.theme.media?.[n]??""),i)return{matcher:o,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@media ${i}`})}}},multiPass:!0};var ec={name:"selector",match(e,t){let r=X("selector-",e,t.generator.config.separators);if(r){let[n,o]=r,i=d.bracket(n);if(i)return{matcher:o,selector:()=>i}}}},tc={name:"layer",match(e,t){let r=O("layer-",e,t.generator.config.separators);if(r){let[n,o]=r,i=d.bracket(n)??n;if(i)return{matcher:o,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@layer ${i}`})}}}},rc={name:"uno-layer",match(e,t){let r=O("uno-layer-",e,t.generator.config.separators);if(r){let[n,o]=r,i=d.bracket(n)??n;if(i)return{matcher:o,layer:i}}}},nc={name:"scope",match(e,t){let r=X("scope-",e,t.generator.config.separators);if(r){let[n,o]=r,i=d.bracket(n);if(i)return{matcher:o,selector:s=>`${i} $$ ${s}`}}}},oc={name:"variables",match(e,t){if(!e.startsWith("["))return;let[r,n]=re(e,"[","]")??[];if(!(r&&n))return;let o;for(let a of t.generator.config.separators)if(n.startsWith(a)){o=n.slice(a.length);break}if(o==null)return;let i=d.bracket(r)??"",s=i.startsWith("@");if(s||i.includes("&"))return{matcher:o,handle(a,c){let l=s?{parent:`${a.parent?`${a.parent} $$ `:""}${i}`}:{selector:i.replace(/&/g,a.selector)};return c({...a,...l})}}},multiPass:!0},ic={name:"theme-variables",match(e,t){if(ir(e))return{matcher:e,handle(r,n){return n({...r,entries:JSON.parse(sr(JSON.stringify(r.entries),t.theme))})}}}};var sc=/^-?[0-9.]+(?:[a-z]+|%)?$/,ac=/-?[0-9.]+(?:[a-z]+|%)?/,Jp=[/\b(opacity|color|flex|backdrop-filter|^filter|transform)\b/];function Qp(e){let t=e.match(it)||e.match(pr);if(t){let[r,n]=pe(`(${t[2]})${t[3]}`,"(",")"," ")??[];if(r)return`calc(${t[1]}${r} * -1)${n?` ${n}`:""}`}}var ed=/\b(hue-rotate)\s*(\(.*)/;function td(e){let t=e.match(ed);if(t){let[r,n]=pe(t[2],"(",")"," ")??[];if(r){let o=sc.test(r.slice(1,-1))?r.replace(ac,i=>i.startsWith("-")?i.slice(1):`-${i}`):`(calc(${r} * -1))`;return`${t[1]}${o}${n?` ${n}`:""}`}}}var cc={name:"negative",match(e){if(e.startsWith("-"))return{matcher:e.slice(1),body:t=>{if(t.find(n=>n[0]===Yi))return;let r=!1;return t.forEach(n=>{let o=n[1]?.toString();if(!o||o==="0"||Jp.some(a=>a.test(n[0])))return;let i=Qp(o);if(i){n[1]=i,r=!0;return}let s=td(o);if(s){n[1]=s,r=!0;return}sc.test(o)&&(n[1]=o.replace(ac,a=>a.startsWith("-")?a.slice(1):`-${a}`),r=!0)}),r?t:[]}}}};function lc(){return cr({getBracket:re,h:d,variantGetBracket:X})}function fc(){return lr({getBracket:re,h:d,variantGetBracket:X})}function uc(e={}){return fr(e,{getBracket:re,h:d,variantGetBracket:X})}var pc=ur();var dc={name:"starting",match(e){if(e.startsWith("starting:"))return{matcher:e.slice(9),handle:(t,r)=>r({...t,parent:"@starting-style"})}}};var mc={name:"supports",match(e,t){let r=O("supports-",e,t.generator.config.separators);if(r){let[n,o]=r,i=d.bracket(n)??"";if(i===""&&(i=t.theme.supports?.[n]??""),i)return i.startsWith("(")&&i.endsWith(")")||(i=`(${i})`),{matcher:o,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@supports ${i}`})}}},multiPass:!0};function hc(e){return[Ua,qa,tc,ec,rc,cc,dc,Za(),mc,Ja,Qa,Da(),...Ka,...lc(),fc(),...uc(e),pc,...Ha(e),...Xa,nc,...Na,Ga,oc,...Ya(e),...Ba(e),ic]}var po=(e={})=>(e.dark=e.dark??"class",e.attributifyPseudo=e.attributifyPseudo??!1,e.preflight=e.preflight??!0,e.variablePrefix=e.variablePrefix??"un-",{name:"@unocss/preset-mini",theme:Wa,rules:fa,variants:hc(e),options:e,prefix:e.prefix,postprocess:rd(e.variablePrefix),preflights:_i(e),extractorDefault:e.arbitraryVariants===!1?void 0:Fi(),autocomplete:{shorthands:ua}}),gc=po;function rd(e){if(e!=="un-")return t=>{t.entries.forEach(r=>{r[0]=r[0].replace(/^--un-/,`--${e}`),typeof r[1]=="string"&&(r[1]=r[1].replace(/var\(--un-/g,`var(--${e}`))})}}function bc(e){if(e==null||e===!1)return[];let t=r=>r.startsWith(":is(")&&r.endsWith(")")?r:r.includes("::")?r.replace(/(.*?)((?:\s\*)?::.*)/,":is($1)$2"):`:is(${r})`;return[e===!0?r=>{r.entries.forEach(n=>{n[1]!=null&&!String(n[1]).endsWith("!important")&&(n[1]+=" !important")})}:r=>{r.selector.startsWith(e)||(r.selector=`${e} ${t(r.selector)}`)}]}function xc(e){return[...C(gc(e).postprocess),...bc(e.important)]}var Z={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"]},Rr={...Z,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"]},Er={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"]},kc={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},Sc=["x","y","z"],yc=["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"],q=Object.assign({},...yc.map(e=>({[e.replace(/ /,"-")]:e})),...yc.map(e=>({[e.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:e}))),M=["inherit","initial","revert","revert-layer","unset"],dt=/^(calc|clamp|min|max)\s*\((.+)\)(.*)/,Tr=/^(var)\s*\((.+)\)(.*)/,jr=/^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i,Cc=/^(-?\d*(?:\.\d+)?)$/,Rc=/^(px|[sld]?v[wh])$/i,Ec={px:1,vw:100,vh:100,svw:100,svh:100,dvw:100,dvh:100,lvh:100,lvw:100},Tc=/^\[(color|image|length|size|position|quoted|string):/i,nd=/,(?![^()]*\))/g,od=["color","border-color","background-color","outline-color","text-decoration-color","flex-grow","flex","flex-shrink","caret-color","font","gap","opacity","visibility","z-index","font-weight","zoom","text-shadow","transform","box-shadow","border","background-position","left","right","top","bottom","object-position","max-height","min-height","max-width","min-width","height","width","border-width","margin","padding","outline-width","outline-offset","font-size","line-height","text-indent","vertical-align","border-spacing","letter-spacing","word-spacing","stroke","filter","backdrop-filter","fill","mask","mask-size","mask-border","clip-path","clip","border-radius"];function ce(e){return+e.toFixed(10)}function id(e){let t=e.match(jr);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(n&&!Number.isNaN(o))return`${ce(o)}${n}`}function sd(e){if(e==="auto"||e==="a")return"auto"}function ad(e){if(!e)return;if(Rc.test(e))return`${Ec[e]}${e}`;let t=e.match(jr);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0":n?`${ce(o)}${n}`:`${ce(o/4)}rem`}function cd(e){if(Rc.test(e))return`${Ec[e]}${e}`;let t=e.match(jr);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return n?`${ce(o)}${n}`:`${ce(o)}px`}function ld(e){if(!Cc.test(e))return;let t=Number.parseFloat(e);if(!Number.isNaN(t))return ce(t)}function fd(e){if(e.endsWith("%")&&(e=e.slice(0,-1)),!Cc.test(e))return;let t=Number.parseFloat(e);if(!Number.isNaN(t))return`${ce(t/100)}`}function ud(e){if(!e)return;if(e==="full")return"100%";let[t,r]=e.split("/"),n=Number.parseFloat(t)/Number.parseFloat(r);if(!Number.isNaN(n))return n===0?"0":`${ce(n*100)}%`}function zr(e,t){if(e&&e.startsWith("[")&&e.endsWith("]")){let r,n,o=e.match(Tc);if(o?(t||(n=o[1]),r=e.slice(o[0].length,-1)):r=e.slice(1,-1),!r||r==='=""')return;r.startsWith("--")&&(r=`var(${r})`);let i=0;for(let s of r)if(s==="[")i+=1;else if(s==="]"&&(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,s=>s.replace(/_/g,"\\_")).replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_").replace(/(?:calc|clamp|max|min)\((.*)/g,s=>{let a=[];return s.replace(/var\((--.+?)[,)]/g,(c,l)=>(a.push(l),c.replace(l,"--un-calc"))).replace(/(-?\d*\.?\d(?!-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 ").replace(/--un-calc/g,()=>a.shift())})}}function pd(e){return zr(e)}function dd(e){return zr(e,"color")}function md(e){return zr(e,"length")}function hd(e){return zr(e,"position")}function gd(e){if(/^\$[^\s'"`;{}]/.test(e)){let[t,r]=e.slice(1).split(",");return`var(--${J(t)}${r?`, ${r}`:""})`}}function bd(e){let t=e.match(/^(-?[0-9.]+)(s|ms)?$/i);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0&&!n?"0s":n?`${ce(o)}${n}`:`${ce(o)}ms`}function xd(e){let t=e.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0":n?`${ce(o)}${n}`:`${ce(o)}deg`}function yd(e){if(M.includes(e))return e}function vd(e){if(e.split(",").every(t=>od.includes(t)))return e}function $d(e){if(["top","left","right","bottom","center"].includes(e))return e}var jc={__proto__:null,auto:sd,bracket:pd,bracketOfColor:dd,bracketOfLength:md,bracketOfPosition:hd,cssvar:gd,degree:xd,fraction:ud,global:yd,number:ld,numberWithUnit:id,percent:fd,position:$d,properties:vd,px:cd,rem:ad,time:bd},zc=ar(jc),u=zc,ho="$$mini-no-negative";function L(e){return([t,r,n],{theme:o})=>{let i=o.spacing?.[n||"DEFAULT"]??u.bracket.cssvar.global.auto.fraction.rem(n);if(i!=null)return Z[r].map(s=>[`${e}${s}`,i]);if(n?.startsWith("-")){let s=o.spacing?.[n.slice(1)];if(s!=null)return Z[r].map(a=>[`${e}${a}`,`calc(${s} * -1)`])}}}function vc(e,t,r="colors"){let n=e[r],o=-1;for(let i of t){if(o+=1,n&&typeof n!="string"){let s=t.slice(o).join("-").replace(/(-[a-z])/g,a=>a.slice(1).toUpperCase());if(n[s])return n[s];if(n[i]){n=n[i];continue}}return}return n}function $c(e,t,r){return vc(e,t,r)||vc(e,t,"colors")}function Ar(e,t){let[r,n]=pe(e,"[","]",["/",":"])??[];if(r!=null){let o=(r.match(Tc)??[])[1];if(o==null||o===t)return[r,n]}}function Ve(e,t,r){let n=Ar(e,"color");if(!n)return;let[o,i]=n,s=o.replace(/([a-z])(\d)/g,"$1-$2").split(/-/g),[a]=s;if(!a)return;let c,l=u.bracketOfColor(o),f=l||o;if(u.numberWithUnit(f))return;if(/^#[\da-f]+$/i.test(f)?c=f:/^hex-[\da-fA-F]+$/.test(f)?c=`#${f.slice(4)}`:o.startsWith("$")&&(c=u.cssvar(o)),c=c||l,!c){let m=$c(t,[o],r);typeof m=="string"&&(c=m)}let p="DEFAULT";if(!c){let m=s,h,[g]=s.slice(-1);/^\d+$/.test(g)&&(p=h=g,m=s.slice(0,-1));let b=$c(t,m,r);typeof b=="object"?c=b[h??p]:typeof b=="string"&&!h&&(c=b)}return{opacity:i,name:a,no:p,color:c,cssColor:Y(c),alpha:u.bracket.cssvar.percent(i??"")}}function U(e,t,r,n){return([,o],{theme:i,generator:s})=>{let a=Ve(o??"",i,r);if(!a)return;let{alpha:c,color:l,cssColor:f}=a,m=s.config.envMode==="dev"&&l?` /* ${l} */`:"",h={};if(f)if(c!=null)h[e]=A(f,c)+m;else{let g=`--un-${t}-opacity`,b=A(f,`var(${g})`);b.includes(g)&&(h[g]=ie(f)),h[e]=b+m}else if(l)if(c!=null)h[e]=A(l,c)+m;else{let g=`--un-${t}-opacity`,b=A(l,`var(${g})`);b.includes(g)&&(h[g]=1),h[e]=b+m}if(n?.(h)!==!1)return h}}function Me(e,t){let r=[];e=C(e);for(let n=0;n<e.length;n++){let o=Ee(e[n]," ",6);if(!o||o.length<3)return e;let i=!1,s=o.indexOf("inset");s!==-1&&(o.splice(s,1),i=!0);let a="",c=o.at(-1);if(Y(o.at(0))){let l=Y(o.shift());l&&(a=`, ${A(l)}`)}else if(Y(c)){let l=Y(o.pop());l&&(a=`, ${A(l)}`)}else c&&Tr.test(c)&&(a=`, ${o.pop()}`);r.push(`${i?"inset ":""}${o.join(" ")} var(${t}${a})`)}return r}function Fe(e,t,r){return e!=null&&!!Ve(e,t,r)?.color}var wc=/[a-z]+/gi,mo=new WeakMap;function Te({theme:e,generator:t},r="breakpoints"){let n=t?.userConfig?.theme?.[r]||e[r];if(!n)return;if(mo.has(e))return mo.get(e);let o=Object.entries(n).sort((i,s)=>Number.parseInt(i[1].replace(wc,""))-Number.parseInt(s[1].replace(wc,""))).map(([i,s])=>({point:i,size:s}));return mo.set(e,o),o}function w(e,t){return M.map(r=>[`${e}-${r}`,{[t??e]:r}])}function ke(e){return e!=null&&dt.test(e)}function go(e){return e[0]==="["&&e.slice(-1)==="]"&&(e=e.slice(1,-1)),dt.test(e)||jr.test(e)}function mt(e,t,r){let n=t.split(nd);return e||!e&&n.length===1?kc[e].map(o=>[`--un-${r}${o}`,t]):n.map((o,i)=>[`--un-${r}-${Sc[i]}`,o])}var Ac=[[/^(?:animate-)?keyframes-(.+)$/,([,e],{theme:t})=>{let r=t.animation?.keyframes?.[e];if(r)return[`@keyframes ${e}${r}`,{animation:e}]},{autocomplete:["animate-keyframes-$animation.keyframes","keyframes-$animation.keyframes"]}],[/^animate-(.+)$/,([,e],{theme:t})=>{let r=t.animation?.keyframes?.[e];if(r){let n=t.animation?.durations?.[e]??"1s",o=t.animation?.timingFns?.[e]??"linear",i=t.animation?.counts?.[e]??1,s=t.animation?.properties?.[e];return[`@keyframes ${e}${r}`,{animation:`${e} ${n} ${o} ${i}`,...s}]}return{animation:u.bracket.cssvar(e)}},{autocomplete:"animate-$animation.keyframes"}],[/^animate-name-(.+)/,([,e])=>({"animation-name":u.bracket.cssvar(e)??e})],[/^animate-duration-(.+)$/,([,e],{theme:t})=>({"animation-duration":t.duration?.[e||"DEFAULT"]??u.bracket.cssvar.time(e)}),{autocomplete:["animate-duration","animate-duration-$duration"]}],[/^animate-delay-(.+)$/,([,e],{theme:t})=>({"animation-delay":t.duration?.[e||"DEFAULT"]??u.bracket.cssvar.time(e)}),{autocomplete:["animate-delay","animate-delay-$duration"]}],[/^animate-ease(?:-(.+))?$/,([,e],{theme:t})=>({"animation-timing-function":t.easing?.[e||"DEFAULT"]??u.bracket.cssvar(e)}),{autocomplete:["animate-ease","animate-ease-$easing"]}],[/^animate-(fill-mode-|fill-|mode-)?(.+)$/,([,e,t])=>["none","forwards","backwards","both",e?M:[]].includes(t)?{"animation-fill-mode":t}:void 0,{autocomplete:["animate-(fill|mode|fill-mode)","animate-(fill|mode|fill-mode)-(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)","animate-(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)"]}],[/^animate-(direction-)?(.+)$/,([,e,t])=>["normal","reverse","alternate","alternate-reverse",e?M:[]].includes(t)?{"animation-direction":t}:void 0,{autocomplete:["animate-direction","animate-direction-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)","animate-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)"]}],[/^animate-(?:iteration-count-|iteration-|count-)(.+)$/,([,e])=>({"animation-iteration-count":u.bracket.cssvar(e)??e.replace(/-/g,",")}),{autocomplete:["animate-(iteration|count|iteration-count)","animate-(iteration|count|iteration-count)-<num>"]}],[/^animate-(play-state-|play-|state-)?(.+)$/,([,e,t])=>["paused","running",e?M:[]].includes(t)?{"animation-play-state":t}:void 0,{autocomplete:["animate-(play|state|play-state)","animate-(play|state|play-state)-(paused|running|inherit|initial|revert|revert-layer|unset)","animate-(paused|running|inherit|initial|revert|revert-layer|unset)"]}],["animate-none",{animation:"none"}],...w("animate","animation")];function Oc(e){return e?A(e,0):"rgb(255 255 255 / 0)"}function wd(e,t,r,n){return t?n!=null?A(t,n):A(t,`var(--un-${e}-opacity, ${ie(t)})`):A(r,n)}function bo(){return([,e,t],{theme:r})=>{let n=Ve(t,r,"backgroundColor");if(!n)return;let{alpha:o,color:i,cssColor:s}=n;if(!i)return;let a=wd(e,s,i,o);switch(e){case"from":return{"--un-gradient-from-position":"0%","--un-gradient-from":`${a} var(--un-gradient-from-position)`,"--un-gradient-to-position":"100%","--un-gradient-to":`${Oc(s)} 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":Oc(s),"--un-gradient-stops":`var(--un-gradient-from), ${a} var(--un-gradient-via-position), var(--un-gradient-to)`};case"to":return{"--un-gradient-to-position":"100%","--un-gradient-to":`${a} var(--un-gradient-to-position)`}}}}function kd(){return([,e,t])=>({[`--un-gradient-${e}-position`]:`${Number(u.bracket.cssvar.percent(t))*100}%`})}var Pc=[[/^bg-gradient-(.+)$/,([,e])=>({"--un-gradient":u.bracket(e)}),{autocomplete:["bg-gradient","bg-gradient-(from|to|via)","bg-gradient-(from|to|via)-$colors","bg-gradient-(from|to|via)-(op|opacity)","bg-gradient-(from|to|via)-(op|opacity)-<percent>"]}],[/^(?:bg-gradient-)?stops-(\[.+\])$/,([,e])=>({"--un-gradient-stops":u.bracket(e)})],[/^(?:bg-gradient-)?(from)-(.+)$/,bo()],[/^(?:bg-gradient-)?(via)-(.+)$/,bo()],[/^(?:bg-gradient-)?(to)-(.+)$/,bo()],[/^(?:bg-gradient-)?(from|via|to)-op(?:acity)?-?(.+)$/,([,e,t])=>({[`--un-${e}-opacity`]:u.bracket.percent(t)})],[/^(from|via|to)-([\d.]+)%$/,kd()],[/^bg-gradient-((?:repeating-)?(?:linear|radial|conic))$/,([,e])=>({"background-image":`${e}-gradient(var(--un-gradient, var(--un-gradient-stops, rgb(255 255 255 / 0))))`}),{autocomplete:["bg-gradient-repeating","bg-gradient-(linear|radial|conic)","bg-gradient-repeating-(linear|radial|conic)"]}],[/^bg-gradient-to-([rltb]{1,2})$/,([,e])=>{if(e in q)return{"--un-gradient-shape":`to ${q[e]} in oklch`,"--un-gradient":"var(--un-gradient-shape), var(--un-gradient-stops)","background-image":"linear-gradient(var(--un-gradient))"}},{autocomplete:`bg-gradient-to-(${Object.keys(q).filter(e=>e.length<=2&&Array.from(e).every(t=>"rltb".includes(t))).join("|")})`}],[/^(?:bg-gradient-)?shape-(.+)$/,([,e])=>{let t=e in q?`to ${q[e]}`:u.bracket(e);if(t!=null)return{"--un-gradient-shape":`${t} in oklch`,"--un-gradient":"var(--un-gradient-shape), var(--un-gradient-stops)"}},{autocomplete:["bg-gradient-shape",`bg-gradient-shape-(${Object.keys(q).join("|")})`,`shape-(${Object.keys(q).join("|")})`]}],["bg-none",{"background-image":"none"}],["box-decoration-slice",{"box-decoration-break":"slice"}],["box-decoration-clone",{"box-decoration-break":"clone"}],...w("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(e=>[`bg-clip-${e}`,{"-webkit-background-clip":e,"background-clip":e}]),[/^bg-([-\w]{3,})$/,([,e])=>({"background-position":q[e]})],["bg-repeat",{"background-repeat":"repeat"}],["bg-no-repeat",{"background-repeat":"no-repeat"}],["bg-repeat-x",{"background-repeat":"repeat-x"}],["bg-repeat-y",{"background-repeat":"repeat-y"}],["bg-repeat-round",{"background-repeat":"round"}],["bg-repeat-space",{"background-repeat":"space"}],...w("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"}],...w("bg-origin","background-origin")];var xo={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"},Vc=[[/^list-(.+?)(?:-(outside|inside))?$/,([,e,t])=>{let r=xo[e];if(r)return t?{"list-style-position":t,"list-style-type":r}:{"list-style-type":r}},{autocomplete:[`list-(${Object.keys(xo).join("|")})`,`list-(${Object.keys(xo).join("|")})-(outside|inside)`]}],["list-outside",{"list-style-position":"outside"}],["list-inside",{"list-style-position":"inside"}],["list-none",{"list-style-type":"none"}],[/^list-image-(.+)$/,([,e])=>{if(/^\[url\(.+\)\]$/.test(e))return{"list-style-image":u.bracket(e)}}],["list-image-none",{"list-style-image":"none"}],...w("list","list-style-type")],Mc=[[/^accent-(.+)$/,U("accent-color","accent","accentColor"),{autocomplete:"accent-$colors"}],[/^accent-op(?:acity)?-?(.+)$/,([,e])=>({"--un-accent-opacity":u.bracket.percent(e)}),{autocomplete:["accent-(op|opacity)","accent-(op|opacity)-<percent>"]}]],Fc=[[/^caret-(.+)$/,U("caret-color","caret","textColor"),{autocomplete:"caret-$colors"}],[/^caret-op(?:acity)?-?(.+)$/,([,e])=>({"--un-caret-opacity":u.bracket.percent(e)}),{autocomplete:["caret-(op|opacity)","caret-(op|opacity)-<percent>"]}]],_c=[["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"]]]],Lc=[["overscroll-auto",{"overscroll-behavior":"auto"}],["overscroll-contain",{"overscroll-behavior":"contain"}],["overscroll-none",{"overscroll-behavior":"none"}],...w("overscroll","overscroll-behavior"),["overscroll-x-auto",{"overscroll-behavior-x":"auto"}],["overscroll-x-contain",{"overscroll-behavior-x":"contain"}],["overscroll-x-none",{"overscroll-behavior-x":"none"}],...w("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"}],...w("overscroll-y","overscroll-behavior-y")],Wc=[["scroll-auto",{"scroll-behavior":"auto"}],["scroll-smooth",{"scroll-behavior":"smooth"}],...w("scroll","scroll-behavior")];var Uc=[[/^columns-(.+)$/,([,e])=>({columns:u.bracket.global.number.auto.numberWithUnit(e)}),{autocomplete:"columns-<num>"}],["break-before-auto",{"break-before":"auto"}],["break-before-avoid",{"break-before":"avoid"}],["break-before-all",{"break-before":"all"}],["break-before-avoid-page",{"break-before":"avoid-page"}],["break-before-page",{"break-before":"page"}],["break-before-left",{"break-before":"left"}],["break-before-right",{"break-before":"right"}],["break-before-column",{"break-before":"column"}],...w("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"}],...w("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"}],...w("break-after")];var Sd=/@media \(min-width: (.+)\)/,Bc=[[/^__container$/,(e,t)=>{let{theme:r,variantHandlers:n}=t,o=r.container?.padding,i;F(o)?i=o:i=o?.DEFAULT;let s=r.container?.maxWidth,a;for(let l of n){let f=l.handle?.({},p=>p)?.parent;if(F(f)){let p=f.match(Sd)?.[1];if(p){let h=(Te(t)??[]).find(g=>g.size===p)?.point;s?h&&(a=s?.[h]):a=p,h&&!F(o)&&(i=o?.[h]??i)}}}let c={"max-width":a};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}]],Ic=[[/^(?:(\w+)[:-])?container$/,([,e],t)=>{let r=(Te(t)??[]).map(o=>o.point);if(e){if(!r.includes(e))return;r=r.slice(r.indexOf(e))}let n=r.map(o=>`${o}:__container`);return e||n.unshift("__container"),n}]];var Cd=["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"],Rd=["none","strict","content","size","inline-size","layout","style","paint"],z=" ",ht=[["inline",{display:"inline"}],["block",{display:"block"}],["inline-block",{display:"inline-block"}],["contents",{display:"contents"}],["flow-root",{display:"flow-root"}],["list-item",{display:"list-item"}],["hidden",{display:"none"}],[/^display-(.+)$/,([,e])=>({display:u.bracket.cssvar.global(e)})]],gt=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}],...w("backface","backface-visibility")],bt=[[/^cursor-(.+)$/,([,e])=>({cursor:u.bracket.cssvar.global(e)})],...Cd.map(e=>[`cursor-${e}`,{cursor:e}])],xt=[[/^contain-(.*)$/,([,e])=>u.bracket(e)!=null?{contain:u.bracket(e).split(" ").map(t=>u.cssvar.fraction(t)??t).join(" ")}:Rd.includes(e)?{contain:e}:void 0]],yt=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}],...w("pointer-events")],vt=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}],...w("resize")],$t=[["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"}],...w("select","user-select")],wt=[[/^(?:whitespace-|ws-)([-\w]+)$/,([,e])=>["normal","nowrap","pre","pre-line","pre-wrap","break-spaces",...M].includes(e)?{"white-space":e}:void 0,{autocomplete:"(whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)"}]],kt=[[/^intrinsic-size-(.+)$/,([,e])=>({"contain-intrinsic-size":u.bracket.cssvar.global.fraction.rem(e)}),{autocomplete:"intrinsic-size-<num>"}],["content-visibility-visible",{"content-visibility":"visible"}],["content-visibility-hidden",{"content-visibility":"hidden"}],["content-visibility-auto",{"content-visibility":"auto"}],...w("content-visibility")],St=[[/^content-(.+)$/,([,e])=>({content:u.bracket.cssvar(e)})],["content-empty",{content:'""'}],["content-none",{content:"none"}]],Ct=[["break-normal",{"overflow-wrap":"normal","word-break":"normal"}],["break-words",{"overflow-wrap":"break-word"}],["break-all",{"word-break":"break-all"}],["break-keep",{"word-break":"keep-all"}],["break-anywhere",{"overflow-wrap":"anywhere"}]],Rt=[["text-wrap",{"text-wrap":"wrap"}],["text-nowrap",{"text-wrap":"nowrap"}],["text-balance",{"text-wrap":"balance"}],["text-pretty",{"text-wrap":"pretty"}]],Et=[["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"}]],Tt=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}],...w("case","text-transform")],jt=[["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"}]],zt=[["antialiased",{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"}],["subpixel-antialiased",{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"}]],At=[["field-sizing-fixed",{"field-sizing":"fixed"}],["field-sizing-content",{"field-sizing":"content"}]],Ge={"--un-ring-inset":z,"--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)"},Ed=Object.keys(Ge),Ot=[[/^ring(?:-(.+))?$/,([,e],{theme:t})=>{let r=t.ringWidth?.[e||"DEFAULT"]??u.px(e||"1");if(r)return{"--un-ring-width":r,"--un-ring-offset-shadow":"var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color)","--un-ring-shadow":"var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color)","box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"}},{custom:{preflightKeys:Ed},autocomplete:"ring-$ringWidth"}],[/^ring-(?:width-|size-)(.+)$/,Hc,{autocomplete:"ring-(width|size)-$lineWidth"}],["ring-offset",{"--un-ring-offset-width":"1px"}],[/^ring-offset-(?:width-|size-)?(.+)$/,([,e],{theme:t})=>({"--un-ring-offset-width":t.lineWidth?.[e]??u.bracket.cssvar.px(e)}),{autocomplete:"ring-offset-(width|size)-$lineWidth"}],[/^ring-(.+)$/,Td,{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-opacity":u.bracket.percent.cssvar(e)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^ring-offset-(.+)$/,U("--un-ring-offset-color","ring-offset","borderColor"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-offset-opacity":u.bracket.percent.cssvar(e)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]];function Hc([,e],{theme:t}){return{"--un-ring-width":t.ringWidth?.[e]??u.bracket.cssvar.px(e)}}function Td(e,t){return ke(u.bracket(e[1]))?Hc(e,t):U("--un-ring-color","ring","borderColor")(e,t)}var He={"--un-ring-offset-shadow":"0 0 rgb(0 0 0 / 0)","--un-ring-shadow":"0 0 rgb(0 0 0 / 0)","--un-shadow-inset":z,"--un-shadow":"0 0 rgb(0 0 0 / 0)"},jd=Object.keys(He),Pt=[[/^shadow(?:-(.+))?$/,(e,t)=>{let[,r]=e,{theme:n}=t,o=n.boxShadow?.[r||"DEFAULT"],i=r?u.bracket.cssvar(r):void 0;return(o!=null||i!=null)&&!Fe(i,n,"shadowColor")?{"--un-shadow":Me(o||i,"--un-shadow-color").join(","),"box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"}:U("--un-shadow-color","shadow","shadowColor")(e,t)},{custom:{preflightKeys:jd},autocomplete:["shadow-$colors","shadow-$boxShadow"]}],[/^shadow-op(?:acity)?-?(.+)$/,([,e])=>({"--un-shadow-opacity":u.bracket.percent.cssvar(e)}),{autocomplete:"shadow-(op|opacity)-<percent>"}],["shadow-inset",{"--un-shadow-inset":"inset"}]],Or=["translate","rotate","scale"],zd=["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(" "),Ke=["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(" "),Ad=["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(" "),qe={"--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},xe=Object.keys(qe),Vt=[[/^(?:transform-)?origin-(.+)$/,([,e])=>({"transform-origin":q[e]??u.bracket.cssvar(e)}),{autocomplete:[`transform-origin-(${Object.keys(q).join("|")})`,`origin-(${Object.keys(q).join("|")})`]}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,e])=>{let t=u.bracket.cssvar.px.numberWithUnit(e);if(t!=null)return{"-webkit-perspective":t,perspective:t}}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,e])=>{let t=u.bracket.cssvar(e)??(e.length>=3?q[e]:void 0);if(t!=null)return{"-webkit-perspective-origin":t,"perspective-origin":t}}],[/^(?:transform-)?translate-()(.+)$/,Dc,{custom:{preflightKeys:xe}}],[/^(?:transform-)?translate-([xyz])-(.+)$/,Dc,{custom:{preflightKeys:xe}}],[/^(?:transform-)?rotate-()(.+)$/,Kc,{custom:{preflightKeys:xe}}],[/^(?:transform-)?rotate-([xyz])-(.+)$/,Kc,{custom:{preflightKeys:xe}}],[/^(?:transform-)?skew-()(.+)$/,Gc,{custom:{preflightKeys:xe}}],[/^(?:transform-)?skew-([xy])-(.+)$/,Gc,{custom:{preflightKeys:xe},autocomplete:["transform-skew-(x|y)-<percent>","skew-(x|y)-<percent>"]}],[/^(?:transform-)?scale-()(.+)$/,Nc,{custom:{preflightKeys:xe}}],[/^(?:transform-)?scale-([xyz])-(.+)$/,Nc,{custom:{preflightKeys:xe},autocomplete:[`transform-(${Or.join("|")})-<percent>`,`transform-(${Or.join("|")})-(x|y|z)-<percent>`,`(${Or.join("|")})-<percent>`,`(${Or.join("|")})-(x|y|z)-<percent>`]}],[/^(?:transform-)?preserve-3d$/,()=>({"transform-style":"preserve-3d"})],[/^(?:transform-)?preserve-flat$/,()=>({"transform-style":"flat"})],["transform",{transform:Ke},{custom:{preflightKeys:xe}}],["transform-cpu",{transform:zd},{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:Ad},{custom:{preflightKeys:xe}}],["transform-none",{transform:"none"}],...w("transform")];function Dc([,e,t],{theme:r}){let n=r.spacing?.[t]??u.bracket.cssvar.fraction.rem(t);if(n!=null)return[...mt(e,n,"translate"),["transform",Ke]]}function Nc([,e,t]){let r=u.bracket.cssvar.fraction.percent(t);if(r!=null)return[...mt(e,r,"scale"),["transform",Ke]]}function Kc([,e="",t]){let r=u.bracket.cssvar.degree(t);if(r!=null)return e?{"--un-rotate":0,[`--un-rotate-${e}`]:r,transform:Ke}:{"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-rotate":r,transform:Ke}}function Gc([,e,t]){let r=u.bracket.cssvar.degree(t);if(r!=null)return[...mt(e,r,"skew"),["transform",Ke]]}var qc={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(e=>[e,e]))},Mr=[[/^(?:vertical|align|v)-(.+)$/,([,e])=>({"vertical-align":qc[e]??u.bracket.cssvar.numberWithUnit(e)}),{autocomplete:[`(vertical|align|v)-(${Object.keys(qc).join("|")})`,"(vertical|align|v)-<percentage>"]}]],Yc=["center","left","right","justify","start","end"],Fr=[...Yc.map(e=>[`text-${e}`,{"text-align":e}]),...[...M,...Yc].map(e=>[`text-align-${e}`,{"text-align":e}])],_r=[[/^outline-(?:width-|size-)?(.+)$/,el,{autocomplete:"outline-(width|size)-<num>"}],[/^outline-(?:color-)?(.+)$/,Od,{autocomplete:"outline-$colors"}],[/^outline-offset-(.+)$/,([,e],{theme:t})=>({"outline-offset":t.lineWidth?.[e]??u.bracket.cssvar.global.px(e)}),{autocomplete:"outline-(offset)-<num>"}],["outline",{"outline-style":"solid"}],...["auto","dashed","dotted","double","hidden","solid","groove","ridge","inset","outset",...M].map(e=>[`outline-${e}`,{"outline-style":e}]),["outline-none",{outline:"2px solid transparent","outline-offset":"2px"}]];function el([,e],{theme:t}){return{"outline-width":t.lineWidth?.[e]??u.bracket.cssvar.global.px(e)}}function Od(e,t){return ke(u.bracket(e[1]))?el(e,t):U("outline-color","outline-color","borderColor")(e,t)}var Lr=[["appearance-auto",{"-webkit-appearance":"auto",appearance:"auto"}],["appearance-none",{"-webkit-appearance":"none",appearance:"none"}]];function Pd(e){return u.properties.auto.global(e)??{contents:"contents",scroll:"scroll-position"}[e]}var Wr=[[/^will-change-(.+)/,([,e])=>({"will-change":Pd(e)})]],je=["solid","dashed","dotted","double","hidden","none","groove","ridge","inset","outset",...M],Ur=[[/^(?:border|b)()(?:-(.+))?$/,me,{autocomplete:"(border|b)-<directions>"}],[/^(?:border|b)-([xy])(?:-(.+))?$/,me],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,me],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,me],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,me],[/^(?:border|b)-()(?:width|size)-(.+)$/,me,{autocomplete:["(border|b)-<num>","(border|b)-<directions>-<num>"]}],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,me],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,me],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,me],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,me],[/^(?:border|b)-()(?:color-)?(.+)$/,Mt,{autocomplete:["(border|b)-$colors","(border|b)-<directions>-$colors"]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,Mt],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,Mt],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,Mt],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,Mt],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,Ft,{autocomplete:"(border|b)-(op|opacity)-<percent>"}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,Ft],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,Ft],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,Ft],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,Ft],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,_t,{autocomplete:["(border|b)-(rounded|rd)","(border|b)-(rounded|rd)-$borderRadius","(rounded|rd)","(rounded|rd)-$borderRadius"]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltbse])(?:-(.+))?$/,_t],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,_t],[/^(?:border-|b-)?(?:rounded|rd)-([bise][se])(?:-(.+))?$/,_t],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,_t],[/^(?:border|b)-(?:style-)?()(.+)$/,Ye,{autocomplete:["(border|b)-style",`(border|b)-(${je.join("|")})`,"(border|b)-<directions>-style",`(border|b)-<directions>-(${je.join("|")})`,`(border|b)-<directions>-style-(${je.join("|")})`,`(border|b)-style-(${je.join("|")})`]}],[/^(?:border|b)-([xy])-(?:style-)?(.+)$/,Ye],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,Ye],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,Ye],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,Ye]];function Xc(e,t,r){if(t!=null)return{[`border${r}-color`]:A(e,t)};if(r===""){let n={},o="--un-border-opacity",i=A(e,`var(${o})`);return i.includes(o)&&(n[o]=typeof e=="string"?1:ie(e)),n["border-color"]=i,n}else{let n={},o="--un-border-opacity",i=`--un-border${r}-opacity`,s=A(e,`var(${i})`);return s.includes(i)&&(n[o]=typeof e=="string"?1:ie(e),n[i]=`var(${o})`),n[`border${r}-color`]=s,n}}function Vd(e){return([,t],r)=>{let n=Ve(t,r,"borderColor");if(!n)return;let{alpha:o,color:i,cssColor:s}=n;if(s)return Xc(s,o,e);if(i)return Xc(i,o,e)}}function me([,e="",t],{theme:r}){let n=r.lineWidth?.[t||"DEFAULT"]??u.bracket.cssvar.global.px(t||"1");if(e in Z&&n!=null)return Z[e].map(o=>[`border${o}-width`,n])}function Mt([,e="",t],r){if(e in Z){if(ke(u.bracket(t)))return me(["",e,t],r);if(Fe(t,r.theme,"borderColor"))return Object.assign({},...Z[e].map(n=>Vd(n)(["",t],r.theme)))}}function Ft([,e="",t]){let r=u.bracket.percent.cssvar(t);if(e in Z&&r!=null)return Z[e].map(n=>[`--un-border${n}-opacity`,r])}function _t([,e="",t],{theme:r}){let n=r.borderRadius?.[t||"DEFAULT"]||u.bracket.cssvar.global.fraction.rem(t||"1");if(e in Er&&n!=null)return Er[e].map(o=>[`border${o}-radius`,n])}function Ye([,e="",t]){if(je.includes(t)&&e in Z)return Z[e].map(r=>[`border${r}-style`,t])}var Br=[[/^op(?:acity)?-?(.+)$/,([,e])=>({opacity:u.bracket.percent.cssvar(e)})]],Md=/^\[url\(.+\)\]$/,Fd=/^\[(?:length|size):.+\]$/,_d=/^\[position:.+\]$/,Ld=/^\[(?:linear|conic|radial)-gradient\(.+\)\]$/,Wd=/^\[image:.+\]$/,Ir=[[/^bg-(.+)$/,(...e)=>{let t=e[0][1];if(Md.test(t))return{"--un-url":u.bracket(t),"background-image":"var(--un-url)"};if(Fd.test(t)&&u.bracketOfLength(t)!=null)return{"background-size":u.bracketOfLength(t).split(" ").map(r=>u.fraction.auto.px.cssvar(r)??r).join(" ")};if((go(t)||_d.test(t))&&u.bracketOfPosition(t)!=null)return{"background-position":u.bracketOfPosition(t).split(" ").map(r=>u.position.fraction.auto.px.cssvar(r)??r).join(" ")};if(Ld.test(t)||Wd.test(t)){let r=u.bracket(t);if(r)return{"background-image":(r.startsWith("http")?`url(${r})`:u.cssvar(r))??r}}return U("background-color","bg","backgroundColor")(...e)},{autocomplete:"bg-$colors"}],[/^bg-op(?:acity)?-?(.+)$/,([,e])=>({"--un-bg-opacity":u.bracket.percent.cssvar(e)}),{autocomplete:"bg-(op|opacity)-<percent>"}]],Dr=[[/^color-scheme-(\w+)$/,([,e])=>({"color-scheme":e})]],Nr=[[/^@container(?:\/(\w+))?(?:-(normal|inline-size|size))?$/,([,e,t])=>({"container-type":t??"inline-size","container-name":e})]],Zc=["solid","double","dotted","dashed","wavy",...M],Kr=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,e])=>({"text-decoration-line":e}),{autocomplete:"decoration-(underline|overline|line-through)"}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,tl,{autocomplete:"(underline|decoration)-<num>"}],[/^(?:underline|decoration)-(auto|from-font)$/,([,e])=>({"text-decoration-thickness":e}),{autocomplete:"(underline|decoration)-(auto|from-font)"}],[/^(?:underline|decoration)-(.+)$/,Ud,{autocomplete:"(underline|decoration)-$colors"}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-line-opacity":u.bracket.percent.cssvar(e)}),{autocomplete:"(underline|decoration)-(op|opacity)-<percent>"}],[/^(?:underline|decoration)-offset-(.+)$/,([,e],{theme:t})=>({"text-underline-offset":t.lineWidth?.[e]??u.auto.bracket.cssvar.global.px(e)}),{autocomplete:"(underline|decoration)-(offset)-<num>"}],...Zc.map(e=>[`underline-${e}`,{"text-decoration-style":e}]),...Zc.map(e=>[`decoration-${e}`,{"text-decoration-style":e}]),["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];function tl([,e],{theme:t}){return{"text-decoration-thickness":t.lineWidth?.[e]??u.bracket.cssvar.global.px(e)}}function Ud(e,t){if(ke(u.bracket(e[1])))return tl(e,t);let r=U("text-decoration-color","line","borderColor")(e,t);if(r)return{"-webkit-text-decoration-color":r["text-decoration-color"],...r}}var Gr=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],[/^flex-(.*)$/,([,e])=>({flex:u.bracket(e)!=null?u.bracket(e).split(" ").map(t=>u.cssvar.fraction(t)??t).join(" "):u.cssvar.fraction(e)})],["flex-1",{flex:"1 1 0%"}],["flex-auto",{flex:"1 1 auto"}],["flex-initial",{flex:"0 1 auto"}],["flex-none",{flex:"none"}],[/^(?:flex-)?shrink(?:-(.*))?$/,([,e=""])=>({"flex-shrink":u.bracket.cssvar.number(e)??1}),{autocomplete:["flex-shrink-<num>","shrink-<num>"]}],[/^(?:flex-)?grow(?:-(.*))?$/,([,e=""])=>({"flex-grow":u.bracket.cssvar.number(e)??1}),{autocomplete:["flex-grow-<num>","grow-<num>"]}],[/^(?:flex-)?basis-(.+)$/,([,e],{theme:t})=>({"flex-basis":t.spacing?.[e]??u.bracket.cssvar.auto.fraction.rem(e)}),{autocomplete:["flex-basis-$spacing","basis-$spacing"]}],["flex-row",{"flex-direction":"row"}],["flex-row-reverse",{"flex-direction":"row-reverse"}],["flex-col",{"flex-direction":"column"}],["flex-col-reverse",{"flex-direction":"column-reverse"}],["flex-wrap",{"flex-wrap":"wrap"}],["flex-wrap-reverse",{"flex-wrap":"wrap-reverse"}],["flex-nowrap",{"flex-wrap":"nowrap"}]],Bd={"":"",x:"column-",y:"row-",col:"column-",row:"row-"};function yo([,e="",t],{theme:r}){let n=r.spacing?.[t]??u.bracket.cssvar.global.rem(t);if(n!=null)return{[`${Bd[e]}gap`]:n}}var Hr=[[/^(?:flex-|grid-)?gap-?()(.+)$/,yo,{autocomplete:["gap-$spacing","gap-<num>"]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,yo,{autocomplete:["gap-(x|y)-$spacing","gap-(x|y)-<num>"]}],[/^(?:flex-|grid-)?gap-(col|row)-?(.+)$/,yo,{autocomplete:["gap-(col|row)-$spacing","gap-(col|row)-<num>"]}]];function ye(e){return e.replace("col","column")}function vo(e){return e[0]==="r"?"Row":"Column"}function Id(e,t,r){let n=t[`gridAuto${vo(e)}`]?.[r];if(n!=null)return n;switch(r){case"min":return"min-content";case"max":return"max-content";case"fr":return"minmax(0,1fr)"}return u.bracket.cssvar.auto.rem(r)}var qr=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,e,t],{theme:r})=>({[`grid-${ye(e)}`]:r[`grid${vo(e)}`]?.[t]??u.bracket.cssvar.auto(t)})],[/^(?:grid-)?(row|col)-span-(.+)$/,([,e,t])=>{if(t==="full")return{[`grid-${ye(e)}`]:"1/-1"};let r=u.bracket.number(t);if(r!=null)return{[`grid-${ye(e)}`]:`span ${r}/span ${r}`}},{autocomplete:"(grid-row|grid-col|row|col)-span-<num>"}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,e,t])=>({[`grid-${ye(e)}-start`]:u.bracket.cssvar(t)??t})],[/^(?:grid-)?(row|col)-end-(.+)$/,([,e,t])=>({[`grid-${ye(e)}-end`]:u.bracket.cssvar(t)??t}),{autocomplete:"(grid-row|grid-col|row|col)-(start|end)-<num>"}],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,e,t],{theme:r})=>({[`grid-auto-${ye(e)}`]:Id(e,r,t)}),{autocomplete:"(grid-auto|auto)-(rows|cols)-<num>"}],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,e])=>({"grid-auto-flow":u.bracket.cssvar(e)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)$/,([,e])=>({"grid-auto-flow":ye(e).replace("-"," ")}),{autocomplete:["(grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)"]}],[/^(?:grid-)?(rows|cols)-(.+)$/,([,e,t],{theme:r})=>({[`grid-template-${ye(e)}`]:r[`gridTemplate${vo(e)}`]?.[t]??u.bracket.cssvar(t)})],[/^(?:grid-)?(rows|cols)-minmax-([\w.-]+)$/,([,e,t])=>({[`grid-template-${ye(e)}`]:`repeat(auto-fill,minmax(${t},1fr))`})],[/^(?:grid-)?(rows|cols)-(\d+)$/,([,e,t])=>({[`grid-template-${ye(e)}`]:`repeat(${t},minmax(0,1fr))`}),{autocomplete:"(grid-rows|grid-cols|rows|cols)-<num>"}],[/^grid-area(s)?-(.+)$/,([,e,t])=>e!=null?{"grid-template-areas":u.cssvar(t)??t.split("-").map(r=>`"${u.bracket(r)}"`).join(" ")}:{"grid-area":u.bracket.cssvar(t)}],["grid-rows-none",{"grid-template-rows":"none"}],["grid-cols-none",{"grid-template-columns":"none"}],["grid-rows-subgrid",{"grid-template-rows":"subgrid"}],["grid-cols-subgrid",{"grid-template-columns":"subgrid"}]],Pr=["auto","hidden","clip","visible","scroll","overlay",...M],Yr=[[/^(?:overflow|of)-(.+)$/,([,e])=>Pr.includes(e)?{overflow:e}:void 0,{autocomplete:[`(overflow|of)-(${Pr.join("|")})`,`(overflow|of)-(x|y)-(${Pr.join("|")})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,e,t])=>Pr.includes(t)?{[`overflow-${e}`]:t}:void 0]],Xr=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,e])=>({position:e}),{autocomplete:["(position|pos)-<position>","(position|pos)-<globalKeyword>","<position>"]}],[/^(?:position-|pos-)([-\w]+)$/,([,e])=>M.includes(e)?{position:e}:void 0],[/^(?:position-|pos-)?(static)$/,([,e])=>({position:e})]],Wt=[["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"}],...w("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"}],...w("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"}],...w("justify-self")],Zr=[[/^order-(.+)$/,([,e])=>({order:u.bracket.cssvar.number(e)})],["order-first",{order:"-9999"}],["order-last",{order:"9999"}],["order-none",{order:"0"}]],Ut=[["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"}],...w("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"}],...w("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"}],...w("self","align-self")],Bt=[["place-content-center",{"place-content":"center"}],["place-content-start",{"place-content":"start"}],["place-content-end",{"place-content":"end"}],["place-content-between",{"place-content":"space-between"}],["place-content-around",{"place-content":"space-around"}],["place-content-evenly",{"place-content":"space-evenly"}],["place-content-stretch",{"place-content":"stretch"}],["place-content-baseline",{"place-content":"baseline"}],["place-content-center-safe",{"place-content":"safe center"}],["place-content-end-safe",{"place-content":"safe flex-end"}],...w("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"}],...w("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"}],...w("place-self")],Jr=[...Wt,...Ut,...Bt].flatMap(([e,t])=>[[`flex-${e}`,t],[`grid-${e}`,t]]);function $o(e,{theme:t}){return t.spacing?.[e]??u.bracket.cssvar.global.auto.fraction.rem(e)}function Lt([,e,t],r){let n=$o(t,r);if(n!=null&&e in Rr)return Rr[e].map(o=>[o.slice(1),n])}var Qr=[[/^(?:position-|pos-)?inset-(.+)$/,([,e],t)=>({inset:$o(e,t)}),{autocomplete:["(position|pos)-inset-<directions>-$spacing","(position|pos)-inset-(block|inline)-$spacing","(position|pos)-inset-(bs|be|is|ie)-$spacing","(position|pos)-(top|left|right|bottom)-$spacing"]}],[/^(?:position-|pos-)?(start|end)-(.+)$/,Lt],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,Lt],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,Lt],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,Lt],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,Lt],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,e,t],r)=>({[e]:$o(t,r)})]],en=[["float-left",{float:"left"}],["float-right",{float:"right"}],["float-start",{float:"inline-start"}],["float-end",{float:"inline-end"}],["float-none",{float:"none"}],...w("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"}],...w("clear")],tn=[[/^(?:position-|pos-)?z([\d.]+)$/,([,e])=>({"z-index":u.number(e)})],[/^(?:position-|pos-)?z-(.+)$/,([,e],{theme:t})=>({"z-index":t.zIndex?.[e]??u.bracket.cssvar.global.auto.number(e)}),{autocomplete:"z-<num>"}]],rn=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}],...w("box","box-sizing")],nn=[[/^(where|\?)$/,(e,{constructCSS:t,generator:r})=>{if(r.userConfig.envMode==="dev")return`@keyframes __un_qm{0%{box-shadow:inset 4px 4px #ff1e90, inset -4px -4px #ff1e90}100%{box-shadow:inset 8px 8px #3399ff, inset -8px -8px #3399ff}} ${t({animation:"__un_qm 0.5s ease-in-out alternate infinite"})}`}]],Dd={h:"height",w:"width",inline:"inline-size",block:"block-size"};function _e(e,t){return`${e||""}${Dd[t]}`}function Vr(e,t,r,n){let o=_e(e,t).replace(/-(\w)/g,(s,a)=>a.toUpperCase()),i=r[o]?.[n];if(i!=null)return i;switch(n){case"fit":case"max":case"min":return`${n}-content`}return u.bracket.cssvar.global.auto.fraction.rem(n)}var on=[[/^size-(min-|max-)?(.+)$/,([,e,t],{theme:r})=>({[_e(e,"w")]:Vr(e,"w",r,t),[_e(e,"h")]:Vr(e,"h",r,t)})],[/^(?:size-)?(min-|max-)?([wh])-?(.+)$/,([,e,t,r],{theme:n})=>({[_e(e,t)]:Vr(e,t,n,r)})],[/^(?:size-)?(min-|max-)?(block|inline)-(.+)$/,([,e,t,r],{theme:n})=>({[_e(e,t)]:Vr(e,t,n,r)}),{autocomplete:["(w|h)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(max|min)-(w|h|block|inline)","(max|min)-(w|h|block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(w|h)-full","(max|min)-(w|h)-full"]}],[/^(?:size-)?(min-|max-)?(h)-screen-(.+)$/,([,e,t,r],n)=>({[_e(e,t)]:Jc(n,r,"verticalBreakpoints")})],[/^(?:size-)?(min-|max-)?(w)-screen-(.+)$/,([,e,t,r],n)=>({[_e(e,t)]:Jc(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 Jc(e,t,r="breakpoints"){let n=Te(e,r);if(n)return n.find(o=>o.point===t)?.size}function Nd(e){if(/^\d+\/\d+$/.test(e))return e;switch(e){case"square":return"1/1";case"video":return"16/9"}return u.bracket.cssvar.global.auto.number(e)}var sn=[[/^(?:size-)?aspect-(?:ratio-)?(.+)$/,([,e])=>({"aspect-ratio":Nd(e)}),{autocomplete:["aspect-(square|video|ratio)","aspect-ratio-(square|video)"]}]],an=[[/^pa?()-?(.+)$/,L("padding"),{autocomplete:["(m|p)<num>","(m|p)-<num>"]}],[/^p-?xy()()$/,L("padding"),{autocomplete:"(m|p)-(xy)"}],[/^p-?([xy])(?:-?(.+))?$/,L("padding")],[/^p-?([rltbse])(?:-?(.+))?$/,L("padding"),{autocomplete:"(m|p)<directions>-<num>"}],[/^p-(block|inline)(?:-(.+))?$/,L("padding"),{autocomplete:"(m|p)-(block|inline)-<num>"}],[/^p-?([bi][se])(?:-?(.+))?$/,L("padding"),{autocomplete:"(m|p)-(bs|be|is|ie)-<num>"}]],cn=[[/^ma?()-?(.+)$/,L("margin")],[/^m-?xy()()$/,L("margin")],[/^m-?([xy])(?:-?(.+))?$/,L("margin")],[/^m-?([rltbse])(?:-?(.+))?$/,L("margin")],[/^m-(block|inline)(?:-(.+))?$/,L("margin")],[/^m-?([bi][se])(?:-?(.+))?$/,L("margin")]],ln=[[/^fill-(.+)$/,U("fill","fill","backgroundColor"),{autocomplete:"fill-$colors"}],[/^fill-op(?:acity)?-?(.+)$/,([,e])=>({"--un-fill-opacity":u.bracket.percent.cssvar(e)}),{autocomplete:"fill-(op|opacity)-<percent>"}],["fill-none",{fill:"none"}],[/^stroke-(?:width-|size-)?(.+)$/,rl,{autocomplete:["stroke-width-$lineWidth","stroke-size-$lineWidth"]}],[/^stroke-dash-(.+)$/,([,e])=>({"stroke-dasharray":u.bracket.cssvar.number(e)}),{autocomplete:"stroke-dash-<num>"}],[/^stroke-offset-(.+)$/,([,e],{theme:t})=>({"stroke-dashoffset":t.lineWidth?.[e]??u.bracket.cssvar.px.numberWithUnit(e)}),{autocomplete:"stroke-offset-$lineWidth"}],[/^stroke-(.+)$/,Kd,{autocomplete:"stroke-$colors"}],[/^stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-stroke-opacity":u.bracket.percent.cssvar(e)}),{autocomplete:"stroke-(op|opacity)-<percent>"}],["stroke-cap-square",{"stroke-linecap":"square"}],["stroke-cap-round",{"stroke-linecap":"round"}],["stroke-cap-auto",{"stroke-linecap":"butt"}],["stroke-join-arcs",{"stroke-linejoin":"arcs"}],["stroke-join-bevel",{"stroke-linejoin":"bevel"}],["stroke-join-clip",{"stroke-linejoin":"miter-clip"}],["stroke-join-round",{"stroke-linejoin":"round"}],["stroke-join-auto",{"stroke-linejoin":"miter"}],["stroke-none",{stroke:"none"}]];function rl([,e],{theme:t}){return{"stroke-width":t.lineWidth?.[e]??u.bracket.cssvar.fraction.px.number(e)}}function Kd(e,t){return ke(u.bracket(e[1]))?rl(e,t):U("stroke","stroke","borderColor")(e,t)}function Qc(e,t){let r;if(u.cssvar(e)!=null)r=u.cssvar(e);else{e.startsWith("[")&&e.endsWith("]")&&(e=e.slice(1,-1));let n=e.split(",").map(o=>t.transitionProperty?.[o]??u.properties(o));n.every(Boolean)&&(r=n.join(","))}return r}var fn=[[/^transition(?:-(\D+?))?(?:-(\d+))?$/,([,e,t],{theme:r})=>{if(!e&&!t)return{"transition-property":r.transitionProperty?.DEFAULT,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":r.duration?.DEFAULT??u.time("150")};if(e!=null){let n=Qc(e,r),o=r.duration?.[t||"DEFAULT"]??u.time(t||"150");if(n)return{"transition-property":n,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":o}}else if(t!=null)return{"transition-property":r.transitionProperty?.DEFAULT,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":r.duration?.[t]??u.time(t)}},{autocomplete:"transition-$transitionProperty-$duration"}],[/^(?:transition-)?duration-(.+)$/,([,e],{theme:t})=>({"transition-duration":t.duration?.[e||"DEFAULT"]??u.bracket.cssvar.time(e)}),{autocomplete:["transition-duration-$duration","duration-$duration"]}],[/^(?:transition-)?delay-(.+)$/,([,e],{theme:t})=>({"transition-delay":t.duration?.[e||"DEFAULT"]??u.bracket.cssvar.time(e)}),{autocomplete:["transition-delay-$duration","delay-$duration"]}],[/^(?:transition-)?ease(?:-(.+))?$/,([,e],{theme:t})=>({"transition-timing-function":t.easing?.[e||"DEFAULT"]??u.bracket.cssvar(e)}),{autocomplete:["transition-ease-(linear|in|out|in-out|DEFAULT)","ease-(linear|in|out|in-out|DEFAULT)"]}],[/^(?:transition-)?property-(.+)$/,([,e],{theme:t})=>{let r=u.global(e)||Qc(e,t);if(r)return{"transition-property":r}},{autocomplete:[`transition-property-(${[...M].join("|")})`,"transition-property-$transitionProperty","property-$transitionProperty"]}],["transition-none",{transition:"none"}],...w("transition"),["transition-discrete",{"transition-behavior":"allow-discrete"}],["transition-normal",{"transition-behavior":"normal"}]],un=[[/^text-(.+)$/,Hd,{autocomplete:"text-$fontSize"}],[/^(?:text|font)-size-(.+)$/,nl,{autocomplete:"text-size-$fontSize"}],[/^text-(?:color-)?(.+)$/,Gd,{autocomplete:"text-$colors"}],[/^(?:color|c)-(.+)$/,U("color","text","textColor"),{autocomplete:"(color|c)-$colors"}],[/^(?:text|color|c)-(.+)$/,([,e])=>M.includes(e)?{color:e}:void 0,{autocomplete:`(text|color|c)-(${M.join("|")})`}],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-opacity":u.bracket.percent.cssvar(e)}),{autocomplete:"(text|color|c)-(op|opacity)-<percent>"}],[/^(?:font|fw)-?([^-]+)$/,([,e],{theme:t})=>({"font-weight":t.fontWeight?.[e]||u.bracket.global.number(e)}),{autocomplete:["(font|fw)-(100|200|300|400|500|600|700|800|900)","(font|fw)-$fontWeight"]}],[/^(?:font-)?(?:leading|lh|line-height)-(.+)$/,([,e],{theme:t})=>({"line-height":wo(e,t,"lineHeight")}),{autocomplete:"(leading|lh|line-height)-$lineHeight"}],["font-synthesis-weight",{"font-synthesis":"weight"}],["font-synthesis-style",{"font-synthesis":"style"}],["font-synthesis-small-caps",{"font-synthesis":"small-caps"}],["font-synthesis-none",{"font-synthesis":"none"}],[/^font-synthesis-(.+)$/,([,e])=>({"font-synthesis":u.bracket.cssvar.global(e)})],[/^(?:font-)?tracking-(.+)$/,([,e],{theme:t})=>({"letter-spacing":t.letterSpacing?.[e]||u.bracket.cssvar.global.rem(e)}),{autocomplete:"tracking-$letterSpacing"}],[/^(?:font-)?word-spacing-(.+)$/,([,e],{theme:t})=>({"word-spacing":t.wordSpacing?.[e]||u.bracket.cssvar.global.rem(e)}),{autocomplete:"word-spacing-$wordSpacing"}],["font-stretch-normal",{"font-stretch":"normal"}],["font-stretch-ultra-condensed",{"font-stretch":"ultra-condensed"}],["font-stretch-extra-condensed",{"font-stretch":"extra-condensed"}],["font-stretch-condensed",{"font-stretch":"condensed"}],["font-stretch-semi-condensed",{"font-stretch":"semi-condensed"}],["font-stretch-semi-expanded",{"font-stretch":"semi-expanded"}],["font-stretch-expanded",{"font-stretch":"expanded"}],["font-stretch-extra-expanded",{"font-stretch":"extra-expanded"}],["font-stretch-ultra-expanded",{"font-stretch":"ultra-expanded"}],[/^font-stretch-(.+)$/,([,e])=>({"font-stretch":u.bracket.cssvar.fraction.global(e)}),{autocomplete:"font-stretch-<percentage>"}],[/^font-(.+)$/,([,e],{theme:t})=>({"font-family":t.fontFamily?.[e]||u.bracket.cssvar.global(e)}),{autocomplete:"font-$fontFamily"}]],pn=[[/^tab(?:-(.+))?$/,([,e])=>{let t=u.bracket.cssvar.global.number(e||"4");if(t!=null)return{"-moz-tab-size":t,"-o-tab-size":t,"tab-size":t}}]],dn=[[/^indent(?:-(.+))?$/,([,e],{theme:t})=>({"text-indent":t.textIndent?.[e||"DEFAULT"]||u.bracket.cssvar.global.fraction.rem(e)}),{autocomplete:"indent-$textIndent"}]],mn=[[/^text-stroke(?:-(.+))?$/,([,e],{theme:t})=>({"-webkit-text-stroke-width":t.textStrokeWidth?.[e||"DEFAULT"]||u.bracket.cssvar.px(e)}),{autocomplete:"text-stroke-$textStrokeWidth"}],[/^text-stroke-(.+)$/,U("-webkit-text-stroke-color","text-stroke","borderColor"),{autocomplete:"text-stroke-$colors"}],[/^text-stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-stroke-opacity":u.bracket.percent.cssvar(e)}),{autocomplete:"text-stroke-(op|opacity)-<percent>"}]],hn=[[/^text-shadow(?:-(.+))?$/,([,e],{theme:t})=>{let r=t.textShadow?.[e||"DEFAULT"];return r!=null?{"--un-text-shadow":Me(r,"--un-text-shadow-color").join(","),"text-shadow":"var(--un-text-shadow)"}:{"text-shadow":u.bracket.cssvar.global(e)}},{autocomplete:"text-shadow-$textShadow"}],[/^text-shadow-color-(.+)$/,U("--un-text-shadow-color","text-shadow","shadowColor"),{autocomplete:"text-shadow-color-$colors"}],[/^text-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-shadow-opacity":u.bracket.percent.cssvar(e)}),{autocomplete:"text-shadow-color-(op|opacity)-<percent>"}]];function wo(e,t,r){return t[r]?.[e]||u.bracket.cssvar.global.rem(e)}function nl([,e],{theme:t}){let n=C(t.fontSize?.[e])?.[0]??u.bracket.cssvar.global.rem(e);if(n!=null)return{"font-size":n}}function Gd(e,t){return ke(u.bracket(e[1]))?nl(e,t):U("color","text","textColor")(e,t)}function Hd([,e="base"],{theme:t}){let r=Ar(e,"length");if(!r)return;let[n,o]=r,i=C(t.fontSize?.[n]),s=o?wo(o,t,"lineHeight"):void 0;if(i?.[0]){let[c,l,f]=i;return typeof l=="object"?{"font-size":c,...l}:{"font-size":c,"line-height":s??l??"1","letter-spacing":f?wo(f,t,"letterSpacing"):void 0}}let a=u.bracketOfLength.rem(n);return s&&a?{"font-size":a,"line-height":s}:{"font-size":u.bracketOfLength.rem(e)}}var qd={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"},gn=[[/^(.+?)-(\$.+)$/,([,e,t])=>{let r=qd[e];if(r)return{[r]:u.cssvar(t)}}]],bn=[[/^\[(.*)\]$/,([e,t])=>{if(!t.includes(":"))return;let[r,...n]=t.split(":"),o=n.join(":");if(!Xd(t)&&/^[\w-]+$/.test(r)&&Yd(o)){let i=u.bracket(`[${o}]`);if(i)return{[r]:i}}}]];function Yd(e){let t=0;function r(n){for(;t<e.length;)if(t+=1,e[t]===n)return!0;return!1}for(t=0;t<e.length;t++){let n=e[t];if("\"`'".includes(n)){if(!r(n))return!1}else if(n==="("){if(!r(")"))return!1}else if("[]{}:".includes(n))return!1}return!0}function Xd(e){if(!e.includes("://"))return!1;try{return new URL(e).host!==""}catch{return!1}}var Zd=[gn,bn,xt,yt,gt,Xr,Qr,tn,Zr,qr,en,cn,rn,ht,sn,on,Gr,Vt,bt,$t,vt,Lr,Bt,Ut,Wt,Hr,Jr,Yr,Et,wt,Ct,Ur,Ir,Dr,ln,an,Fr,dn,Rt,Mr,un,Tt,jt,Kr,zt,pn,mn,hn,Br,Pt,_r,Ot,fn,Wr,kt,St,Nr,At,nn].flat(1);var ol=[[/^divide-?([xy])$/,xn,{autocomplete:["divide-(x|y|block|inline)","divide-(x|y|block|inline)-reverse","divide-(x|y|block|inline)-$lineWidth"]}],[/^divide-?([xy])-?(.+)$/,xn],[/^divide-?([xy])-reverse$/,([,e])=>({[`--un-divide-${e}-reverse`]:1})],[/^divide-(block|inline)$/,xn],[/^divide-(block|inline)-(.+)$/,xn],[/^divide-(block|inline)-reverse$/,([,e])=>({[`--un-divide-${e}-reverse`]:1})],[/^divide-(.+)$/,U("border-color","divide","borderColor"),{autocomplete:"divide-$colors"}],[/^divide-op(?:acity)?-?(.+)$/,([,e])=>({"--un-divide-opacity":u.bracket.percent(e)}),{autocomplete:["divide-(op|opacity)","divide-(op|opacity)-<percent>"]}],...je.map(e=>[`divide-${e}`,{"border-style":e}])];function xn([,e,t],{theme:r}){let n=r.lineWidth?.[t||"DEFAULT"]??u.bracket.cssvar.px(t||"1");if(n!=null){n==="0"&&(n="0px");let o=Z[e].map(i=>{let s=`border${i}-width`,a=i.endsWith("right")||i.endsWith("bottom")?`calc(${n} * var(--un-divide-${e}-reverse))`:`calc(${n} * calc(1 - var(--un-divide-${e}-reverse)))`;return[s,a]});if(o)return[[`--un-divide-${e}-reverse`,0],...o]}}var So={"--un-blur":z,"--un-brightness":z,"--un-contrast":z,"--un-drop-shadow":z,"--un-grayscale":z,"--un-hue-rotate":z,"--un-invert":z,"--un-saturate":z,"--un-sepia":z},sl=Object.keys(So),il={preflightKeys:sl},yn="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)",Co={"--un-backdrop-blur":z,"--un-backdrop-brightness":z,"--un-backdrop-contrast":z,"--un-backdrop-grayscale":z,"--un-backdrop-hue-rotate":z,"--un-backdrop-invert":z,"--un-backdrop-opacity":z,"--un-backdrop-saturate":z,"--un-backdrop-sepia":z},al=Object.keys(Co),Qd={preflightKeys:al},vn="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)",Se={preflightKeys:[...sl,...al]};function ko(e){let t=u.bracket.cssvar(e||"");if(t!=null||(t=e?u.percent(e):"1",t!=null&&Number.parseFloat(t)<=1))return t}function Ce(e,t){return([,r,n],{theme:o})=>{let i=t(n,o)??(n==="none"?"0":"");if(i!=="")return r?{[`--un-${r}${e}`]:`${e}(${i})`,"-webkit-backdrop-filter":vn,"backdrop-filter":vn}:{[`--un-${e}`]:`${e}(${i})`,filter:yn}}}function em([,e],{theme:t}){let r=t.dropShadow?.[e||"DEFAULT"];if(r!=null)return{"--un-drop-shadow":`drop-shadow(${Me(r,"--un-drop-shadow-color").join(") drop-shadow(")})`,filter:yn};if(r=u.bracket.cssvar(e),r!=null)return{"--un-drop-shadow":`drop-shadow(${r})`,filter:yn}}var cl=[[/^(?:(backdrop-)|filter-)?blur(?:-(.+))?$/,Ce("blur",(e,t)=>t.blur?.[e||"DEFAULT"]||u.bracket.cssvar.px(e)),{custom:Se,autocomplete:["(backdrop|filter)-blur-$blur","blur-$blur","filter-blur"]}],[/^(?:(backdrop-)|filter-)?brightness-(.+)$/,Ce("brightness",e=>u.bracket.cssvar.percent(e)),{custom:Se,autocomplete:["(backdrop|filter)-brightness-<percent>","brightness-<percent>"]}],[/^(?:(backdrop-)|filter-)?contrast-(.+)$/,Ce("contrast",e=>u.bracket.cssvar.percent(e)),{custom:Se,autocomplete:["(backdrop|filter)-contrast-<percent>","contrast-<percent>"]}],[/^(?:filter-)?drop-shadow(?:-(.+))?$/,em,{custom:il,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-(.+)$/,U("--un-drop-shadow-color","drop-shadow","shadowColor")],[/^(?:filter-)?drop-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-drop-shadow-opacity":u.bracket.percent(e)})],[/^(?:(backdrop-)|filter-)?grayscale(?:-(.+))?$/,Ce("grayscale",ko),{custom:Se,autocomplete:["(backdrop|filter)-grayscale","(backdrop|filter)-grayscale-<percent>","grayscale-<percent>"]}],[/^(?:(backdrop-)|filter-)?hue-rotate-(.+)$/,Ce("hue-rotate",e=>u.bracket.cssvar.degree(e)),{custom:Se}],[/^(?:(backdrop-)|filter-)?invert(?:-(.+))?$/,Ce("invert",ko),{custom:Se,autocomplete:["(backdrop|filter)-invert","(backdrop|filter)-invert-<percent>","invert-<percent>"]}],[/^(backdrop-)op(?:acity)?-(.+)$/,Ce("opacity",e=>u.bracket.cssvar.percent(e)),{custom:Se,autocomplete:["backdrop-(op|opacity)","backdrop-(op|opacity)-<percent>"]}],[/^(?:(backdrop-)|filter-)?saturate-(.+)$/,Ce("saturate",e=>u.bracket.cssvar.percent(e)),{custom:Se,autocomplete:["(backdrop|filter)-saturate","(backdrop|filter)-saturate-<percent>","saturate-<percent>"]}],[/^(?:(backdrop-)|filter-)?sepia(?:-(.+))?$/,Ce("sepia",ko),{custom:Se,autocomplete:["(backdrop|filter)-sepia","(backdrop|filter)-sepia-<percent>","sepia-<percent>"]}],["filter",{filter:yn},{custom:il}],["backdrop-filter",{"-webkit-backdrop-filter":vn,"backdrop-filter":vn},{custom:Qd}],["filter-none",{filter:"none"}],["backdrop-filter-none",{"-webkit-backdrop-filter":"none","backdrop-filter":"none"}],...M.map(e=>[`filter-${e}`,{filter:e}]),...M.map(e=>[`backdrop-filter-${e}`,{"-webkit-backdrop-filter":e,"backdrop-filter":e}])];var ll=[[/^line-clamp-(\d+)$/,([,e])=>({overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":e,"line-clamp":e}),{autocomplete:["line-clamp","line-clamp-<num>"]}],...["none",...M].map(e=>[`line-clamp-${e}`,{overflow:"visible",display:"block","-webkit-box-orient":"horizontal","-webkit-line-clamp":e,"line-clamp":e}])];var fl=[[/^\$ placeholder-(.+)$/,U("color","placeholder","accentColor"),{autocomplete:"placeholder-$colors"}],[/^\$ placeholder-op(?:acity)?-?(.+)$/,([,e])=>({"--un-placeholder-opacity":u.bracket.percent(e)}),{autocomplete:["placeholder-(op|opacity)","placeholder-(op|opacity)-<percent>"]}]];var Ro={"--un-scroll-snap-strictness":"proximity"},ul={preflightKeys:Object.keys(Ro)},pl=[[/^snap-(x|y)$/,([,e])=>({"scroll-snap-type":`${e} var(--un-scroll-snap-strictness)`}),{custom:ul,autocomplete:"snap-(x|y|both)"}],[/^snap-both$/,()=>({"scroll-snap-type":"both var(--un-scroll-snap-strictness)"}),{custom:ul}],["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?()-?(.+)$/,L("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])-?(.+)$/,L("scroll-margin")],[/^scroll-m-?([rltb])-?(.+)$/,L("scroll-margin")],[/^scroll-m-(block|inline)-(.+)$/,L("scroll-margin")],[/^scroll-m-?([bi][se])-?(.+)$/,L("scroll-margin")],[/^scroll-pa?()-?(.+)$/,L("scroll-padding")],[/^scroll-p-?([xy])-?(.+)$/,L("scroll-padding")],[/^scroll-p-?([rltb])-?(.+)$/,L("scroll-padding")],[/^scroll-p-(block|inline)-(.+)$/,L("scroll-padding")],[/^scroll-p-?([bi][se])-?(.+)$/,L("scroll-padding")]];var ml=[[/^space-([xy])-(.+)$/,dl,{autocomplete:["space-(x|y|block|inline)","space-(x|y|block|inline)-reverse","space-(x|y|block|inline)-$spacing"]}],[/^space-([xy])-reverse$/,([,e])=>({[`--un-space-${e}-reverse`]:1})],[/^space-(block|inline)-(.+)$/,dl],[/^space-(block|inline)-reverse$/,([,e])=>({[`--un-space-${e}-reverse`]:1})]];function dl([,e,t],{theme:r}){let n=r.spacing?.[t||"DEFAULT"]??u.bracket.cssvar.auto.fraction.rem(t||"1");if(n!=null){n==="0"&&(n="0px");let o=Z[e].map(i=>{let s=`margin${i}`,a=i.endsWith("right")||i.endsWith("bottom")?`calc(${n} * var(--un-space-${e}-reverse))`:`calc(${n} * calc(1 - var(--un-space-${e}-reverse)))`;return[s,a]});if(o)return[[`--un-space-${e}-reverse`,0],...o]}}var hl=[["uppercase",{"text-transform":"uppercase"}],["lowercase",{"text-transform":"lowercase"}],["capitalize",{"text-transform":"capitalize"}],["normal-case",{"text-transform":"none"}]],gl=[...["manual","auto","none",...M].map(e=>[`hyphens-${e}`,{"-webkit-hyphens":e,"-ms-hyphens":e,hyphens:e}])],bl=[["write-vertical-right",{"writing-mode":"vertical-rl"}],["write-vertical-left",{"writing-mode":"vertical-lr"}],["write-normal",{"writing-mode":"horizontal-tb"}],...w("write","writing-mode")],xl=[["write-orient-mixed",{"text-orientation":"mixed"}],["write-orient-sideways",{"text-orientation":"sideways"}],["write-orient-upright",{"text-orientation":"upright"}],...w("write-orient","text-orientation")],yl=[["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"}]],vl=[["isolate",{isolation:"isolate"}],["isolate-auto",{isolation:"auto"}],["isolation-auto",{isolation:"auto"}]],$l=[["object-cover",{"object-fit":"cover"}],["object-contain",{"object-fit":"contain"}],["object-fill",{"object-fit":"fill"}],["object-scale-down",{"object-fit":"scale-down"}],["object-none",{"object-fit":"none"}],[/^object-(.+)$/,([,e])=>{if(q[e])return{"object-position":q[e]};if(u.bracketOfPosition(e)!=null)return{"object-position":u.bracketOfPosition(e).split(" ").map(t=>u.position.fraction.auto.px.cssvar(t)??t).join(" ")}},{autocomplete:`object-(${Object.keys(q).join("|")})`}]],wl=[["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"}],...w("bg-blend","background-blend")],kl=[["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"}],...w("mix-blend")],Sl=[["min-h-dvh",{"min-height":"100dvh"}],["min-h-svh",{"min-height":"100svh"}],["min-h-lvh",{"min-height":"100lvh"}],["h-dvh",{height:"100dvh"}],["h-svh",{height:"100svh"}],["h-lvh",{height:"100lvh"}],["max-h-dvh",{"max-height":"100dvh"}],["max-h-svh",{"max-height":"100svh"}],["max-h-lvh",{"max-height":"100lvh"}]];var Eo={"--un-border-spacing-x":0,"--un-border-spacing-y":0},Cl={preflightKeys:Object.keys(Eo)},Rl="var(--un-border-spacing-x) var(--un-border-spacing-y)",El=[["inline-table",{display:"inline-table"}],["table",{display:"table"}],["table-caption",{display:"table-caption"}],["table-cell",{display:"table-cell"}],["table-column",{display:"table-column"}],["table-column-group",{display:"table-column-group"}],["table-footer-group",{display:"table-footer-group"}],["table-header-group",{display:"table-header-group"}],["table-row",{display:"table-row"}],["table-row-group",{display:"table-row-group"}],["border-collapse",{"border-collapse":"collapse"}],["border-separate",{"border-collapse":"separate"}],[/^border-spacing-(.+)$/,([,e],{theme:t})=>{let r=t.spacing?.[e]??u.bracket.cssvar.global.auto.fraction.rem(e);if(r!=null)return{"--un-border-spacing-x":r,"--un-border-spacing-y":r,"border-spacing":Rl}},{custom:Cl,autocomplete:["border-spacing","border-spacing-$spacing"]}],[/^border-spacing-([xy])-(.+)$/,([,e,t],{theme:r})=>{let n=r.spacing?.[t]??u.bracket.cssvar.global.auto.fraction.rem(t);if(n!=null)return{[`--un-border-spacing-${e}`]:n,"border-spacing":Rl}},{custom:Cl,autocomplete:["border-spacing-(x|y)","border-spacing-(x|y)-$spacing"]}],["caption-top",{"caption-side":"top"}],["caption-bottom",{"caption-side":"bottom"}],["table-auto",{"table-layout":"auto"}],["table-fixed",{"table-layout":"fixed"}],["table-empty-cells-visible",{"empty-cells":"show"}],["table-empty-cells-hidden",{"empty-cells":"hide"}]];var zo={"--un-pan-x":z,"--un-pan-y":z,"--un-pinch-zoom":z},To={preflightKeys:Object.keys(zo)},jo="var(--un-pan-x) var(--un-pan-y) var(--un-pinch-zoom)",Tl=[[/^touch-pan-(x|left|right)$/,([,e])=>({"--un-pan-x":`pan-${e}`,"touch-action":jo}),{custom:To,autocomplete:["touch-pan","touch-pan-(x|left|right|y|up|down)"]}],[/^touch-pan-(y|up|down)$/,([,e])=>({"--un-pan-y":`pan-${e}`,"touch-action":jo}),{custom:To}],["touch-pinch-zoom",{"--un-pinch-zoom":"pinch-zoom","touch-action":jo},{custom:To}],["touch-auto",{"touch-action":"auto"}],["touch-manipulation",{"touch-action":"manipulation"}],["touch-none",{"touch-action":"none"}],...w("touch","touch-action")];var Ao={"--un-ordinal":z,"--un-slashed-zero":z,"--un-numeric-figure":z,"--un-numeric-spacing":z,"--un-numeric-fraction":z},ze={preflightKeys:Object.keys(Ao)};function Ae(e){return{...e,"font-variant-numeric":"var(--un-ordinal) var(--un-slashed-zero) var(--un-numeric-figure) var(--un-numeric-spacing) var(--un-numeric-fraction)"}}var jl=[[/^ordinal$/,()=>Ae({"--un-ordinal":"ordinal"}),{custom:ze,autocomplete:"ordinal"}],[/^slashed-zero$/,()=>Ae({"--un-slashed-zero":"slashed-zero"}),{custom:ze,autocomplete:"slashed-zero"}],[/^lining-nums$/,()=>Ae({"--un-numeric-figure":"lining-nums"}),{custom:ze,autocomplete:"lining-nums"}],[/^oldstyle-nums$/,()=>Ae({"--un-numeric-figure":"oldstyle-nums"}),{custom:ze,autocomplete:"oldstyle-nums"}],[/^proportional-nums$/,()=>Ae({"--un-numeric-spacing":"proportional-nums"}),{custom:ze,autocomplete:"proportional-nums"}],[/^tabular-nums$/,()=>Ae({"--un-numeric-spacing":"tabular-nums"}),{custom:ze,autocomplete:"tabular-nums"}],[/^diagonal-fractions$/,()=>Ae({"--un-numeric-fraction":"diagonal-fractions"}),{custom:ze,autocomplete:"diagonal-fractions"}],[/^stacked-fractions$/,()=>Ae({"--un-numeric-fraction":"stacked-fractions"}),{custom:ze,autocomplete:"stacked-fractions"}],["normal-nums",{"font-variant-numeric":"normal"}]];var tm={"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"},zl=[[/^(.+?)-(\$.+)$/,([,e,t])=>{let r=tm[e];if(r)return{[r]:u.cssvar(t)}}]];var Al=[[/^view-transition-([\w-]+)$/,([,e])=>({"view-transition-name":e})]];var Ol=[gn,zl,bn,Bc,xt,yl,yt,gt,Xr,Qr,ll,vl,tn,Zr,qr,en,cn,rn,ht,sn,on,Gr,El,Vt,Ac,bt,Tl,$t,vt,pl,Vc,Lr,Uc,Bt,Ut,Wt,Hr,Jr,ml,ol,Yr,Lc,Wc,Et,wt,Ct,Ur,Ir,Pc,Dr,ln,$l,an,Fr,dn,Rt,Mr,un,Tt,hl,jt,jl,Kr,zt,pn,mn,hn,gl,bl,xl,Fc,Mc,Br,wl,kl,Pt,_r,Ot,_c,cl,fn,Wr,kt,St,fl,Nr,Al,Sl,At,nn].flat(1);var Pl=[...Ic];var Oo={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(Oo).forEach(e=>{typeof e!="string"&&e!==void 0&&(e.DEFAULT=e.DEFAULT||e[400],Object.keys(e).forEach(t=>{let r=+t/100;r===Math.round(r)&&(e[r]=e[t])}))});var Vl={DEFAULT:"8px",0:"0",sm:"4px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},Ml={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)"},Fl={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(",")},_l={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"]},Ll={DEFAULT:"1.5rem",xs:"0.5rem",sm:"1rem",md:"1.5rem",lg:"2rem",xl:"2.5rem","2xl":"3rem","3xl":"4rem"},Wl={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},Ul={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)"]},Bl={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},_o={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},Il={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},Dl=_o,Lo={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},Nl={...Lo},Kl={DEFAULT:"1px",none:"0"},Gl={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"},Hl={DEFAULT:"150ms",none:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},ql={DEFAULT:"0.25rem",none:"0",sm:"0.125rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},Yl={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)"},Xl={DEFAULT:"3px",none:"0"},Zl={auto:"auto"},Jl={mouse:"(hover) and (pointer: fine)"},Ql={...qe,...He,...Ge},ve={xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",prose:"65ch"},ef={auto:"auto",...ve,screen:"100vw"},Po={none:"none",...ve,screen:"100vw"},tf={auto:"auto",...ve,screen:"100vb"},rf={auto:"auto",...ve,screen:"100vi"},nf={auto:"auto",...ve,screen:"100vh"},Vo={none:"none",...ve,screen:"100vh"},Mo={none:"none",...ve,screen:"100vb"},Fo={none:"none",...ve,screen:"100vi"},of={...ve},rm={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)"},nm={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(",")}},Wo={width:ef,height:nf,maxWidth:Po,maxHeight:Vo,minWidth:Po,minHeight:Vo,inlineSize:rf,blockSize:tf,maxInlineSize:Fo,maxBlockSize:Mo,minInlineSize:Fo,minBlockSize:Mo,colors:Oo,fontFamily:Fl,fontSize:_l,fontWeight:Il,breakpoints:Lo,verticalBreakpoints:Nl,borderRadius:ql,lineHeight:Bl,letterSpacing:_o,wordSpacing:Dl,boxShadow:Yl,textIndent:Ll,textShadow:Ul,textStrokeWidth:Wl,blur:Vl,dropShadow:Ml,easing:rm,transitionProperty:nm,lineWidth:Kl,spacing:Gl,duration:Hl,ringWidth:Xl,preflightBase:Ql,containers:of,zIndex:Zl,media:Jl};var sf={...Wo,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:{...qe,...zo,...Ro,...Ao,...Eo,...He,...Ge,...So,...Co}};var af=[N("svg",e=>({selector:`${e.selector} svg`}))];var cf=[N(".dark",e=>({prefix:`.dark $$ ${e.prefix}`})),N(".light",e=>({prefix:`.light $$ ${e.prefix}`})),G("@dark","@media (prefers-color-scheme: dark)"),G("@light","@media (prefers-color-scheme: light)")];var ff={name:"aria",match(e,t){let r=O("aria-",e,t.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n)??t.theme.aria?.[n]??"";if(i)return{matcher:o,selector:s=>`${s}[aria-${i}]`}}},multiPass:!0};function $n(e,t,r={}){return{name:`${e}-aria`,match(n,o){let i=O(`${e}-aria-`,n,o.generator.config.separators);if(i){let[s,a,c]=i,l=u.bracket(s)??o.theme.aria?.[s]??"";if(l){let f=!!r?.attributifyPseudo,p=r?.prefix??"";p=(Array.isArray(p)?p:[p]).filter(Boolean)[0]??"";let m=`${f?`[${p}${e}=""]`:`.${p}${e}`}`,h=J(c?`/${c}`:"");return{matcher:a,handle:(g,b)=>{let $=new RegExp(`${K(m)}${K(h)}(?:\\[.+?\\])+`),S=g.prefix.match($),y;if(S){let x=(S.index??0)+m.length+h.length;y=[g.prefix.slice(0,x),`[aria-${l}]`,g.prefix.slice(x)].join("")}else{let x=Math.max(g.prefix.indexOf(m),0);y=[g.prefix.slice(0,x),m,h,`[aria-${l}]`,t,g.prefix.slice(x)].join("")}return b({...g,prefix:y})}}}}},multiPass:!0}}function om(){return{name:"has-aria",match(e,t){let r=O("has-aria-",e,t.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n)??t.theme.aria?.[n]??"";if(i)return{matcher:o,handle:(s,a)=>a({...s,pseudo:`${s.pseudo}:has([aria-${i}])`})}}},multiPass:!0}}function uf(e={}){return[$n("group"," ",e),$n("peer","~",e),$n("parent",">",e),$n("previous","+",e),om()]}var lf=/(max|min)-\[([^\]]*)\]:/;function pf(){let e={};return{name:"breakpoints",match(t,r){if(lf.test(t)){let o=t.match(lf);return{matcher:t.replace(o[0],""),handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@media (${o[1]}-width: ${o[2]})`})}}let n=(Te(r)??[]).map(({point:o,size:i},s)=>[o,i,s]);for(let[o,i,s]of n){e[o]||(e[o]=new RegExp(`^((?:([al]t-|[<~]|max-))?${o}(?:${r.generator.config.separators.join("|")}))`));let a=t.match(e[o]);if(!a)continue;let[,c]=a,l=t.slice(c.length);if(l==="container")continue;let f=c.startsWith("lt-")||c.startsWith("<")||c.startsWith("max-"),p=c.startsWith("at-")||c.startsWith("~"),m=3e3;return f?(m-=s+1,{matcher:l,handle:(h,g)=>g({...h,parent:`${h.parent?`${h.parent} $$ `:""}@media (max-width: ${Ue(i)})`,parentOrder:m})}):(m+=s+1,p&&s<n.length-1?{matcher:l,handle:(h,g)=>g({...h,parent:`${h.parent?`${h.parent} $$ `:""}@media (min-width: ${i}) and (max-width: ${Ue(n[s+1][1])})`,parentOrder:m})}:{matcher:l,handle:(h,g)=>g({...h,parent:`${h.parent?`${h.parent} $$ `:""}@media (min-width: ${i})`,parentOrder:m})})}},multiPass:!0,autocomplete:"(at-|lt-|max-|)$breakpoints:"}}var df=[N("*",e=>({selector:`${e.selector} > *`}),{order:-1})];function It(e,t){return{name:`combinator:${e}`,match(r,n){if(!r.startsWith(e))return;let o=n.generator.config.separators,i=X(`${e}-`,r,o);if(!i){for(let a of o)if(r.startsWith(`${e}${a}`)){i=["",r.slice(e.length+a.length)];break}if(!i)return}let s=u.bracket(i[0])??"";return s===""&&(s="*"),{matcher:i[1],selector:a=>`${a}${t}${s}`}},multiPass:!0}}var mf=[It("all"," "),It("children",">"),It("next","+"),It("sibling","+"),It("siblings","~")],hf={name:"@",match(e,t){if(e.startsWith("@container"))return;let r=O("@",e,t.generator.config.separators);if(r){let[n,o,i]=r,s=u.bracket(n),a;if(s?a=u.numberWithUnit(s):a=t.theme.containers?.[n]??"",a){let c=1e3+Object.keys(t.theme.containers??{}).indexOf(n);return i&&(c+=1e3),{matcher:o,handle:(l,f)=>f({...l,parent:`${l.parent?`${l.parent} $$ `:""}@container${i?` ${i} `:" "}(min-width: ${a})`,parentOrder:c})}}}},multiPass:!0};function gf(e={}){if(e?.dark==="class"||typeof e.dark=="object"){let{dark:t=".dark",light:r=".light"}=typeof e.dark=="string"?{}:e.dark;return[N("dark",C(t).map(n=>o=>({prefix:`${n} $$ ${o.prefix}`}))),N("light",C(r).map(n=>o=>({prefix:`${n} $$ ${o.prefix}`})))]}return[G("dark","@media (prefers-color-scheme: dark)"),G("light","@media (prefers-color-scheme: light)")]}var bf={name:"data",match(e,t){let r=O("data-",e,t.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n)??t.theme.data?.[n]??"";if(i)return{matcher:o,selector:s=>`${s}[data-${i}]`}}},multiPass:!0};function wn(e,t,r={}){return{name:`${e}-data`,match(n,o){let i=O(`${e}-data-`,n,o.generator.config.separators);if(i){let[s,a,c]=i,l=u.bracket(s)??o.theme.data?.[s]??"";if(l){let f=!!r?.attributifyPseudo,p=r?.prefix??"";p=(Array.isArray(p)?p:[p]).filter(Boolean)[0]??"";let m=`${f?`[${p}${e}=""]`:`.${p}${e}`}`,h=J(c?`/${c}`:"");return{matcher:a,handle:(g,b)=>{let $=new RegExp(`${K(m)}${K(h)}(?:\\[.+?\\])+`),S=g.prefix.match($),y;if(S){let x=(S.index??0)+m.length+h.length;y=[g.prefix.slice(0,x),`[data-${l}]`,g.prefix.slice(x)].join("")}else{let x=Math.max(g.prefix.indexOf(m),0);y=[g.prefix.slice(0,x),m,h,`[data-${l}]`,t,g.prefix.slice(x)].join("")}return b({...g,prefix:y})}}}}},multiPass:!0}}function im(){return{name:"has-data",match(e,t){let r=O("has-data-",e,t.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n)??t.theme.data?.[n]??"";if(i)return{matcher:o,handle:(s,a)=>a({...s,pseudo:`${s.pseudo}:has([data-${i}])`})}}},multiPass:!0}}function xf(e={}){return[wn("group"," ",e),wn("peer","~",e),wn("parent",">",e),wn("previous","+",e),im()]}var yf=[N("rtl",e=>({prefix:`[dir="rtl"] $$ ${e.prefix}`})),N("ltr",e=>({prefix:`[dir="ltr"] $$ ${e.prefix}`}))];function vf(){let e;return{name:"important",match(t,r){e||(e=new RegExp(`^(important(?:${r.generator.config.separators.join("|")})|!)`));let n,o=t.match(e);if(o?n=t.slice(o[0].length):t.endsWith("!")&&(n=t.slice(0,-1)),n)return{matcher:n,body:i=>(i.forEach(s=>{s[1]!=null&&(s[1]+=" !important")}),i)}}}}var $f=G("print","@media print"),wf={name:"media",match(e,t){let r=O("media-",e,t.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n)??"";if(i===""&&(i=t.theme.media?.[n]??""),i)return{matcher:o,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@media ${i}`})}}},multiPass:!0},kf={name:"selector",match(e,t){let r=X("selector-",e,t.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n);if(i)return{matcher:o,selector:()=>i}}}},Sf={name:"layer",match(e,t){let r=O("layer-",e,t.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n)??n;if(i)return{matcher:o,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@layer ${i}`})}}}},Cf={name:"uno-layer",match(e,t){let r=O("uno-layer-",e,t.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n)??n;if(i)return{matcher:o,layer:i}}}},Rf={name:"scope",match(e,t){let r=X("scope-",e,t.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n);if(i)return{matcher:o,selector:s=>`${i} $$ ${s}`}}}},Ef={name:"variables",match(e,t){if(!e.startsWith("["))return;let[r,n]=re(e,"[","]")??[];if(!(r&&n))return;let o;for(let a of t.generator.config.separators)if(n.startsWith(a)){o=n.slice(a.length);break}if(o==null)return;let i=u.bracket(r)??"",s=i.startsWith("@");if(s||i.includes("&"))return{matcher:o,handle(a,c){let l=s?{parent:`${a.parent?`${a.parent} $$ `:""}${i}`}:{selector:i.replace(/&/g,a.selector)};return c({...a,...l})}}},multiPass:!0},Tf={name:"theme-variables",match(e,t){if(ir(e))return{matcher:e,handle(r,n){return n({...r,entries:JSON.parse(sr(JSON.stringify(r.entries),t.theme))})}}}},jf=/^-?[0-9.]+(?:[a-z]+|%)?$/,zf=/-?[0-9.]+(?:[a-z]+|%)?/,sm=[/\b(opacity|color|flex|backdrop-filter|^filter|transform)\b/];function am(e){let t=e.match(dt)||e.match(Tr);if(t){let[r,n]=pe(`(${t[2]})${t[3]}`,"(",")"," ")??[];if(r)return`calc(${t[1]}${r} * -1)${n?` ${n}`:""}`}}var cm=/\b(hue-rotate)\s*(\(.*)/;function lm(e){let t=e.match(cm);if(t){let[r,n]=pe(t[2],"(",")"," ")??[];if(r){let o=jf.test(r.slice(1,-1))?r.replace(zf,i=>i.startsWith("-")?i.slice(1):`-${i}`):`(calc(${r} * -1))`;return`${t[1]}${o}${n?` ${n}`:""}`}}}var Af={name:"negative",match(e){if(e.startsWith("-"))return{matcher:e.slice(1),body:t=>{if(t.find(n=>n[0]===ho))return;let r=!1;return t.forEach(n=>{let o=n[1]?.toString();if(!o||o==="0"||sm.some(a=>a.test(n[0])))return;let i=am(o);if(i){n[1]=i,r=!0;return}let s=lm(o);if(s){n[1]=s,r=!0;return}jf.test(o)&&(n[1]=o.replace(zf,a=>a.startsWith("-")?a.slice(1):`-${a}`),r=!0)}),r?t:[]}}}};function Of(){return cr({getBracket:re,h:u,variantGetBracket:X})}function Pf(){return lr({getBracket:re,h:u,variantGetBracket:X})}function Vf(e={}){return fr(e,{getBracket:re,h:u,variantGetBracket:X})}var Mf=ur(),Ff={name:"starting",match(e){if(e.startsWith("starting:"))return{matcher:e.slice(9),handle:(t,r)=>r({...t,parent:"@starting-style"})}}},_f={name:"supports",match(e,t){let r=O("supports-",e,t.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n)??"";if(i===""&&(i=t.theme.supports?.[n]??""),i)return i.startsWith("(")&&i.endsWith(")")||(i=`(${i})`),{matcher:o,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@supports ${i}`})}}},multiPass:!0};function Uo(e){return[ff,bf,Sf,kf,Cf,Af,Ff,vf(),_f,$f,wf,pf(),...mf,...Of(),Pf(),...Vf(e),Mf,...gf(e),...yf,Rf,...df,hf,Ef,...xf(e),...uf(e),Tf]}var Lf=[G("contrast-more","@media (prefers-contrast: more)"),G("contrast-less","@media (prefers-contrast: less)")],Wf=[G("motion-reduce","@media (prefers-reduced-motion: reduce)"),G("motion-safe","@media (prefers-reduced-motion: no-preference)")],Uf=[G("landscape","@media (orientation: landscape)"),G("portrait","@media (orientation: portrait)")];var Bf=e=>{if(!e.startsWith("_")&&(/space-[xy]-.+$/.test(e)||/divide-/.test(e)))return{matcher:e,selector:t=>{let r=">:not([hidden])~:not([hidden])";return t.includes(r)?t:`${t}${r}`}}},If=[N("@hover",e=>({parent:`${e.parent?`${e.parent} $$ `:""}@media (hover: hover) and (pointer: fine)`,selector:`${e.selector||""}:hover`}))];function Df(e,t,r){return`calc(${t} + (${e} - ${t}) * ${r} / 100)`}function Nf(e,t,r){let n=[e,t],o=[];for(let s=0;s<2;s++){let a=typeof n[s]=="string"?Y(n[s]):n[s];if(!a||!["rgb","rgba"].includes(a.type))return;o.push(a)}let i=[];for(let s=0;s<3;s++)i.push(Df(o[0].components[s],o[1].components[s],r));return{type:"rgb",components:i,alpha:Df(o[0].alpha??1,o[1].alpha??1,r)}}function Kf(e,t){return Nf("#fff",e,t)}function Gf(e,t){return Nf("#000",e,t)}function fm(e,t){let r=Number.parseFloat(`${t}`);if(!Number.isNaN(r))return r>0?Gf(e,t):Kf(e,-r)}var um={tint:Kf,shade:Gf,shift:fm};function Hf(){let e;return{name:"mix",match(t,r){e||(e=new RegExp(`^mix-(tint|shade|shift)-(-?\\d{1,3})(?:${r.generator.config.separators.join("|")})`));let n=t.match(e);if(n)return{matcher:t.slice(n[0].length),body:o=>(o.forEach(i=>{if(i[1]){let s=Y(`${i[1]}`);if(s){let a=um[n[1]](s,n[2]);a&&(i[1]=A(a))}}}),o)}}}}var qf=(e,{theme:t})=>{let r=e.match(/^(.*)\b(placeholder-)(.+)$/);if(r){let[,n="",o,i]=r;if(Fe(i,t,"accentColor")||pm(i))return{matcher:`${n}placeholder-$ ${o}${i}`}}};function pm(e){let t=e.match(/^op(?:acity)?-?(.+)$/);return t&&t[1]!=null?u.bracket.percent(t[1])!=null:!1}function Yf(e){return[qf,Bf,...Uo(e),...Lf,...Uf,...Wf,...af,...cf,...If,Hf()]}var Xf=(e={})=>(e.important=e.important??!1,{...po(e),name:"@unocss/preset-wind3",theme:sf,rules:Ol,shortcuts:Pl,variants:Yf(e),postprocess:xc(e)});var dm=(e={})=>({...Xf(e),name:"@unocss/preset-uno"}),Zf=dm;function mm(e){return e.replace(/-(\w)/g,(t,r)=>r?r.toUpperCase():"")}function Jf(e){return e.charAt(0).toUpperCase()+e.slice(1)}function Qf(e){return e.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}var eu=["Webkit","Moz","ms"];function tu(e){let t={};function r(n){let o=t[n];if(o)return o;let i=mm(n);if(i!=="filter"&&i in e)return t[n]=Qf(i);i=Jf(i);for(let s=0;s<eu.length;s++){let a=`${eu[s]}${i}`;if(a in e)return t[n]=Qf(Jf(a))}return n}return({entries:n})=>n.forEach(o=>{o[0].startsWith("--")||(o[0]=r(o[0]))})}function ru(e){return e.replace(/&/g,"&").replace(/>/g,">").replace(/</g,"<")}async function Bo(e={}){if(typeof window>"u"){console.warn("@unocss/runtime been used in non-browser environment, skipped.");return}let t=window,r=window.document,n=()=>r.documentElement,o=t.__unocss||{},i=Object.assign({},e,o.runtime),s=i.defaults||{},a=i.cloakAttribute??"un-cloak";i.autoPrefix&&(s.postprocess=C(s.postprocess)).unshift(tu(r.createElement("div").style)),i.configResolved?.(o,s);let c=await ii(o,s),l=E=>i.inject?i.inject(E):n().prepend(E),f=()=>i.rootElement?i.rootElement():r.body,p=new Map,m=!0,h=new Set,g,b,$=[],S=()=>new Promise(E=>{$.push(E),b!=null&&clearTimeout(b),b=setTimeout(()=>T().then(()=>{let V=$;$=[],V.forEach(B=>B())}),0)});function y(E,V=!1){if(E.nodeType!==1)return;let B=E;B.hasAttribute(a)&&B.removeAttribute(a),V&&B.querySelectorAll(`[${a}]`).forEach(D=>{D.removeAttribute(a)})}function x(E,V){let B=p.get(E);if(!B)if(B=r.createElement("style"),B.setAttribute("data-unocss-runtime-layer",E),p.set(E,B),V==null)l(B);else{let D=x(V),Q=D.parentNode;Q?Q.insertBefore(B,D.nextSibling):l(B)}return B}async function T(){let E=[...h],V=await c.generate(E);return V.layers.reduce((D,Q)=>(x(Q,D).innerHTML=V.getLayer(Q)??"",Q),void 0),E.filter(D=>!V.matched.has(D)).forEach(D=>h.delete(D)),{...V,getStyleElement:D=>p.get(D),getStyleElements:()=>p}}async function v(E){let V=h.size;await c.applyExtractors(E,void 0,h),V!==h.size&&await S()}async function j(E=f()){let V=E&&E.outerHTML;V&&(await v(`${V} ${ru(V)}`),y(n()),y(E,!0))}let k=new MutationObserver(E=>{m||E.forEach(async V=>{if(V.target.nodeType!==1)return;let B=V.target;for(let D of p)if(B===D[1])return;if(V.type==="childList")V.addedNodes.forEach(async D=>{if(D.nodeType!==1)return;let Q=D;g&&!g(Q)||(await v(Q.outerHTML),y(Q))});else{if(g&&!g(B))return;if(V.attributeName!==a){let D=Array.from(B.attributes).map(I=>I.value?`${I.name}="${I.value}"`:I.name).join(" "),Q=`<${B.tagName.toLowerCase()} ${D}>`;await v(Q)}y(B)}})}),R=!1;function P(){if(R)return;let E=i.observer?.target?i.observer.target():f();E&&(k.observe(E,{childList:!0,subtree:!0,attributes:!0,attributeFilter:i.observer?.attributeFilter}),R=!0)}function ee(){i.bypassDefined&&hm(c.blocked),j(),P()}function te(){r.readyState==="loading"?t.addEventListener("DOMContentLoaded",ee):ee()}let le=t.__unocss_runtime=t.__unocss_runtime={version:c.version,uno:c,async extract(E){F(E)||(E.forEach(V=>h.add(V)),E=""),await v(E)},extractAll:j,inspect(E){g=E},toggleObserver(E){E===void 0?m=!m:m=!!E,!R&&!m&&te()},update:T,presets:t.__unocss_runtime?.presets??{}};i.ready?.(le)!==!1&&(m=!1,te())}function hm(e=new Set){for(let t=0;t<document.styleSheets.length;t++){let r=document.styleSheets[t],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)),e.add(o))})}catch{continue}}return e}Bo({defaults:{presets:[pi(),Zf(),Oi(),hi()]}});})();
|
|
11
|
+
`?i=!0:f!=="\r"&&i&&(i=!1,a===c.start||(this._splitChunk(c,a),c=c.next),c.prependRight(t))}a+=1}a=c.end,c=c.next}return this.outro=this.outro.replace(n,s),this}insert(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")}insertLeft(t,r){return We.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),We.insertLeft=!0),this.appendLeft(t,r)}insertRight(t,r){return We.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),We.insertRight=!0),this.prependRight(t,r)}move(t,r,n){if(t=t+this.offset,r=r+this.offset,n=n+this.offset,n>=t&&n<=r)throw new Error("Cannot move a selection inside itself");this._split(t),this._split(r),this._split(n);let o=this.byStart[t],i=this.byEnd[r],s=o.previous,a=i.next,c=this.byStart[n];if(!c&&i===this.lastChunk)return this;let l=c?c.previous:this.lastChunk;return s&&(s.next=a),a&&(a.previous=s),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(t,r,n,o){return o=o||{},this.update(t,r,n,{...o,overwrite:!o.contentOnly})}update(t,r,n,o){if(t=t+this.offset,r=r+this.offset,typeof n!="string")throw new TypeError("replacement content must be a string");if(this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}if(r>this.original.length)throw new Error("end is out of bounds");if(t===r)throw new Error("Cannot overwrite a zero-length range \u2013 use appendLeft or prependRight instead");this._split(t),this._split(r),o===!0&&(We.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),We.storeName=!0),o={storeName:!0});let i=o!==void 0?o.storeName:!1,s=o!==void 0?o.overwrite:!1;if(i){let l=this.original.slice(t,r);Object.defineProperty(this.storedNames,l,{writable:!0,value:!0,enumerable:!0})}let a=this.byStart[t],c=this.byEnd[r];if(a){let l=a;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)}a.edit(n,i,!s)}else{let l=new or(t,r,"").edit(n,i);c.next=l,l.previous=c}return this}prepend(t){if(typeof t!="string")throw new TypeError("outro content must be a string");return this.intro=t+this.intro,this}prependLeft(t,r){if(t=t+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);let n=this.byEnd[t];return n?n.prependLeft(r):this.intro=r+this.intro,this}prependRight(t,r){if(t=t+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);let n=this.byStart[t];return n?n.prependRight(r):this.outro=r+this.outro,this}remove(t,r){if(t=t+this.offset,r=r+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}if(t===r)return this;if(t<0||r>this.original.length)throw new Error("Character is out of bounds");if(t>r)throw new Error("end must be greater than start");this._split(t),this._split(r);let n=this.byStart[t];for(;n;)n.intro="",n.outro="",n.edit(""),n=r>n.end?this.byStart[n.end]:null;return this}reset(t,r){if(t=t+this.offset,r=r+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}if(t===r)return this;if(t<0||r>this.original.length)throw new Error("Character is out of bounds");if(t>r)throw new Error("end must be greater than start");this._split(t),this._split(r);let n=this.byStart[t];for(;n;)n.reset(),n=r>n.end?this.byStart[n.end]:null;return this}lastChar(){if(this.outro.length)return this.outro[this.outro.length-1];let t=this.lastChunk;do{if(t.outro.length)return t.outro[t.outro.length-1];if(t.content.length)return t.content[t.content.length-1];if(t.intro.length)return t.intro[t.intro.length-1]}while(t=t.previous);return this.intro.length?this.intro[this.intro.length-1]:""}lastLine(){let t=this.outro.lastIndexOf(nt);if(t!==-1)return this.outro.substr(t+1);let r=this.outro,n=this.lastChunk;do{if(n.outro.length>0){if(t=n.outro.lastIndexOf(nt),t!==-1)return n.outro.substr(t+1)+r;r=n.outro+r}if(n.content.length>0){if(t=n.content.lastIndexOf(nt),t!==-1)return n.content.substr(t+1)+r;r=n.content+r}if(n.intro.length>0){if(t=n.intro.lastIndexOf(nt),t!==-1)return n.intro.substr(t+1)+r;r=n.intro+r}}while(n=n.previous);return t=this.intro.lastIndexOf(nt),t!==-1?this.intro.substr(t+1)+r:this.intro+r}slice(t=0,r=this.original.length-this.offset){if(t=t+this.offset,r=r+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}let n="",o=this.firstChunk;for(;o&&(o.start>t||o.end<=t);){if(o.start<r&&o.end>=r)return n;o=o.next}if(o&&o.edited&&o.start!==t)throw new Error(`Cannot use replaced character ${t} as slice start anchor.`);let i=o;for(;o;){o.intro&&(i!==o||o.start===t)&&(n+=o.intro);let s=o.start<r&&o.end>=r;if(s&&o.edited&&o.end!==r)throw new Error(`Cannot use replaced character ${r} as slice end anchor.`);let a=i===o?t-o.start:0,c=s?o.content.length+r-o.end:o.content.length;if(n+=o.content.slice(a,c),o.outro&&(!s||o.end===r)&&(n+=o.outro),s)break;o=o.next}return n}snip(t,r){let n=this.clone();return n.remove(0,t),n.remove(r,n.original.length),n}_split(t){if(this.byStart[t]||this.byEnd[t])return;let r=this.lastSearchedChunk,n=t>r.end;for(;r;){if(r.contains(t))return this._splitChunk(r,t);r=n?this.byStart[r.end]:this.byEnd[r.start]}}_splitChunk(t,r){if(t.edited&&t.content.length){let o=ki(this.original)(r);throw new Error(`Cannot split a chunk that has already been edited (${o.line}:${o.column} \u2013 "${t.original}")`)}let n=t.split(r);return this.byEnd[r]=t,this.byStart[r]=n,this.byEnd[n.end]=n,t===this.lastChunk&&(this.lastChunk=n),this.lastSearchedChunk=t,!0}toString(){let t=this.intro,r=this.firstChunk;for(;r;)t+=r.toString(),r=r.next;return t+this.outro}isEmpty(){let t=this.firstChunk;do if(t.intro.length&&t.intro.trim()||t.content.length&&t.content.trim()||t.outro.length&&t.outro.trim())return!1;while(t=t.next);return!0}length(){let t=this.firstChunk,r=0;do r+=t.intro.length+t.content.length+t.outro.length;while(t=t.next);return r}trimLines(){return this.trim("[\\r\\n]")}trim(t){return this.trimStart(t).trimEnd(t)}trimEndAborted(t){let r=new RegExp((t||"\\s")+"+$");if(this.outro=this.outro.replace(r,""),this.outro.length)return!0;let n=this.lastChunk;do{let o=n.end,i=n.trimEnd(r);if(n.end!==o&&(this.lastChunk===n&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return!0;n=n.previous}while(n);return!1}trimEnd(t){return this.trimEndAborted(t),this}trimStartAborted(t){let r=new RegExp("^"+(t||"\\s")+"+");if(this.intro=this.intro.replace(r,""),this.intro.length)return!0;let n=this.firstChunk;do{let o=n.end,i=n.trimStart(r);if(n.end!==o&&(n===this.lastChunk&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return!0;n=n.next}while(n);return!1}trimStart(t){return this.trimStartAborted(t),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(t,r){function n(i,s){return typeof r=="string"?r.replace(/\$(\$|&|\d+)/g,(a,c)=>c==="$"?"$":c==="&"?i[0]:+c<i.length?i[+c]:`$${c}`):r(...i,i.index,s,i.groups)}function o(i,s){let a,c=[];for(;a=i.exec(s);)c.push(a);return c}if(t.global)o(t,this.original).forEach(s=>{if(s.index!=null){let a=n(s,this.original);a!==s[0]&&this.overwrite(s.index,s.index+s[0].length,a)}});else{let i=this.original.match(t);if(i&&i.index!=null){let s=n(i,this.original);s!==i[0]&&this.overwrite(i.index,i.index+i[0].length,s)}}return this}_replaceString(t,r){let{original:n}=this,o=n.indexOf(t);return o!==-1&&this.overwrite(o,o+t.length,r),this}replace(t,r){return typeof t=="string"?this._replaceString(t,r):this._replaceRegexp(t,r)}_replaceAllString(t,r){let{original:n}=this,o=t.length;for(let i=n.indexOf(t);i!==-1;i=n.indexOf(t,i+o))n.slice(i,i+o)!==r&&this.overwrite(i,i+o,r);return this}replaceAll(t,r){if(typeof t=="string")return this._replaceAllString(t,r);if(!t.global)throw new TypeError("MagicString.prototype.replaceAll called with a non-global RegExp argument");return this._replaceRegexp(t,r)}};var Ku=/theme\(\s*(['"])?(.*?)\1?\s*\)/g;function sr(e){return e.includes("theme(")&&e.includes(")")}function ar(e,t,r=!0){let n=Array.from(e.toString().matchAll(Ku));if(!n.length)return e;let o=new ir(e);for(let i of n){let s=i[2];if(!s)throw new Error("theme() expect exact one argument, but got 0");let a=Gu(s,t,r);a&&o.overwrite(i.index,i.index+i[0].length,a)}return o.toString()}function Gu(e,t,r=!0){let[n,o]=e.split("/"),s=n.trim().split(".").reduce((a,c)=>a?.[c],t);if(typeof s=="object"&&(s=s.DEFAULT),typeof s=="string"){if(o){let a=Y(s);a&&(s=A(a,o))}return s}else if(r)throw new Error(`theme of "${e}" did not found`)}function Ue(e){let t=e.match(/^-?\d+\.?\d*/)?.[0]||"",r=e.slice(t.length);if(r==="px"){let n=Number.parseFloat(t)-.1;return Number.isNaN(n)?e:`${n}${r}`}return`calc(${e} - 0.1px)`}function cr(e){let t=function(n){let o=this.__options?.sequence||[];this.__options.sequence=[];for(let i of o){let s=e[i](n);if(s!=null)return s}};function r(n,o){return n.__options||(n.__options={sequence:[]}),n.__options.sequence.push(o),n}for(let n of Object.keys(e))Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get(){return r(this,n)}});return t}var ot="__pseudo_placeholder__",Be=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(${ot})`],["nth-last",`:nth-last-child(${ot})`],["nth-last-of-type",`:nth-last-of-type(${ot})`],["nth-of-type",`:nth-of-type(${ot})`],"first-of-type",["first",":first-child"],"last-of-type",["last",":last-child"],"only-child","only-of-type",["backdrop-element","::backdrop"],["placeholder","::placeholder"],["before","::before"],["after","::after"],["file","::file-selector-button"]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),Ei=Object.keys(Be),Ie=Object.fromEntries([["backdrop","::backdrop"]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),Ti=Object.keys(Ie),Hu=["not","is","where","has"],ji=Object.fromEntries([["selection",["::selection"," *::selection"]],["marker",["::marker"," *::marker"]]]),Ln=Object.entries(Be).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),Wn=Object.entries(Ie).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),Oe=Hu.join("|"),Si=Object.keys(ji).sort((e,t)=>t.length-e.length).join("|"),qu=["::-webkit-resizer","::-webkit-scrollbar","::-webkit-scrollbar-button","::-webkit-scrollbar-corner","::-webkit-scrollbar-thumb","::-webkit-scrollbar-track","::-webkit-scrollbar-track-piece","::file-selector-button"],Ci=Object.entries(Be).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),Ri=Object.entries(Ie).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|");function Yu(e,t,r,n){let{h:o,variantGetBracket:i}=n,s=new RegExp(`^(${K(t)}:)(\\S+)${K(r)}\\1`),a,c,l,f,p=g=>{let b=i(`${e}-`,g,[]);if(!b)return;let[$,S]=b,y=o.bracket($);if(y==null)return;let x=S.split(a,1)?.[0]??"",T=`${t}${J(x)}`;return[x,g.slice(g.length-(S.length-x.length-1)),y.includes("&")?y.replace(/&/g,T):`${T}${y}`]},m=g=>{let b=g.match(c)||g.match(l);if(!b)return;let[$,S,y]=b,x=b[3]??"",T=Be[y]||Ie[y]||`:${y}`;return S&&(T=`:${S}(${T})`),[x,g.slice($.length),`${t}${J(x)}${T}`,y]},h=g=>{let b=g.match(f);if(!b)return;let[$,S,y]=b,x=b[3]??"",T=`:${S}(${y})`;return[x,g.slice($.length),`${t}${J(x)}${T}`]};return{name:`pseudo:${e}`,match(g,b){if(a&&c&&l||(a=new RegExp(`(?:${b.generator.config.separators.join("|")})`),c=new RegExp(`^${e}-(?:(?:(${Oe})-)?(${Ln}))(?:(/[\\w-]+))?(?:${b.generator.config.separators.join("|")})`),l=new RegExp(`^${e}-(?:(?:(${Oe})-)?(${Wn}))(?:(/[\\w-]+))?(?:${b.generator.config.separators.filter(v=>v!=="-").join("|")})`),f=new RegExp(`^${e}-(?:(${Oe})-)?\\[(.+)\\](?:(/[\\w-]+))?(?:${b.generator.config.separators.filter(v=>v!=="-").join("|")})`)),!g.startsWith(e))return;let $=p(g)||m(g)||h(g);if(!$)return;let[S,y,x,T=""]=$;return{matcher:y,handle:(v,j)=>j({...v,prefix:`${x}${r}${v.prefix}`.replace(s,"$1$2:"),sort:Ei.indexOf(T)??Ti.indexOf(T)})}},multiPass:!0}}function lr(e){let{h:t}=e,r,n,o;return[{name:"pseudo",match(i,s){r&&n||(r=new RegExp(`^(${Ci})(?:-(\\d+|\\[(\\w|[+-.])+\\]))?(?:${s.generator.config.separators.join("|")})`),n=new RegExp(`^(${Ri})(?:${s.generator.config.separators.filter(c=>c!=="-").join("|")})`));let a=i.match(r)||i.match(n);if(a){let c=Be[a[1]]||Ie[a[1]]||`:${a[1]}`;if(a[2]){let f;a[2].startsWith("[")&&a[2].endsWith("]")?f=t.bracket(a[2]):f=a[2],f&&(c=c.replace(ot,f))}let l=Ei.indexOf(a[1]);return l===-1&&(l=Ti.indexOf(a[1])),l===-1&&(l=void 0),{matcher:i.slice(a[0].length),handle:(f,p)=>{let m=c.includes("::")&&!qu.includes(c)?{pseudo:`${f.pseudo}${c}`}:{selector:`${f.selector}${c}`};return p({...f,...m,sort:l,noMerge:!0})}}}},multiPass:!0,autocomplete:`(${Ci}|${Ri}):`},{name:"pseudo:multi",match(i,s){o||(o=new RegExp(`^(${Si})(?:${s.generator.config.separators.join("|")})`));let a=i.match(o);if(a)return ji[a[1]].map(l=>({matcher:i.slice(a[0].length),handle:(f,p)=>p({...f,pseudo:`${f.pseudo}${l}`})}))},multiPass:!1,autocomplete:`(${Si}):`}]}function fr(e){let{getBracket:t,h:r}=e,n,o,i;return{match(s,a){n&&o||(n=new RegExp(`^(${Oe})-(${Ln})(?:${a.generator.config.separators.join("|")})`),o=new RegExp(`^(${Oe})-(${Wn})(?:${a.generator.config.separators.filter(l=>l!=="-").join("|")})`),i=new RegExp(`^(${Oe})-(\\[.+\\])(?:${a.generator.config.separators.filter(l=>l!=="-").join("|")})`));let c=s.match(n)||s.match(o)||s.match(i);if(c){let l=c[1],p=t(c[2],"[","]")?r.bracket(c[2]):Be[c[2]]||Ie[c[2]]||`:${c[2]}`;return{matcher:s.slice(c[0].length),selector:m=>`${m}:${l}(${p})`}}},multiPass:!0,autocomplete:`(${Oe})-(${Ln}|${Wn}):`}}function ur(e,t){let r=!!e?.attributifyPseudo,n=e?.prefix??"";n=(Array.isArray(n)?n:[n]).filter(Boolean)[0]??"";let o=(i,s)=>Yu(i,r?`[${n}${i}=""]`:`.${n}${i}`,s,t);return[o("group"," "),o("peer","~"),o("parent",">"),o("previous","+")]}var Xu=/(part-\[(.+)\]:)(.+)/;function pr(){return{match(e){let t=e.match(Xu);if(t){let r=`part(${t[2]})`;return{matcher:e.slice(t[1].length),selector:n=>`${n}::${r}`}}},multiPass:!0}}function N(e,t,r={}){let n;return{name:e,match(o,i){n||(n=new RegExp(`^${K(e)}(?:${i.generator.config.separators.join("|")})`));let s=o.match(n);if(s){let a=o.slice(s[0].length),c=C(t).map(l=>({matcher:a,handle:(f,p)=>p({...f,...l(f)}),...r}));return c.length===1?c[0]:c}},autocomplete:`${e}:`}}function G(e,t){let r;return{name:e,match(n,o){r||(r=new RegExp(`^${K(e)}(?:${o.generator.config.separators.join("|")})`));let i=n.match(r);if(i)return{matcher:n.slice(i[0].length),handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}${t}`})}},autocomplete:`${e}:`}}function X(e,t,r){if(t.startsWith(`${e}[`)){let[n,o]=re(t.slice(e.length),"[","]")??[];if(n&&o){for(let i of r)if(o.startsWith(i))return[n,o.slice(i.length),i];return[n,o,""]}}}function O(e,t,r){for(let n of C(e))if(t.startsWith(n)){let o=X(n,t,r);if(o){let[i="",s=o[1]]=O("/",o[1],r)??[];return[o[0],s,i]}for(let i of r.filter(s=>s!=="/")){let s=t.indexOf(i,n.length);if(s!==-1){let a=t.indexOf("/",n.length),c=a===-1||s<=a;return[t.slice(n.length,c?s:a),t.slice(s+i.length),c?"":t.slice(a+1,s)]}}}}function Un(e){let{theme:t,generator:r}=e,o=r.config.presets.some(i=>i.name==="@unocss/preset-wind4")?"font":"fontFamily";return{"h1,h2,h3,h4,h5,h6":{color:"var(--un-prose-headings)","font-weight":"600","line-height":1.25},a:{color:"var(--un-prose-links)","text-decoration":"underline","font-weight":"500"},"a code":{color:"var(--un-prose-links)"},"p,ul,ol,pre":{margin:"1em 0","line-height":1.75},blockquote:{margin:"1em 0","padding-left":"1em","font-style":"italic","border-left":".25em solid var(--un-prose-borders)"},h1:{margin:"1rem 0","font-size":"2.25em"},h2:{margin:"1.75em 0 .5em","font-size":"1.75em"},h3:{margin:"1.5em 0 .5em","font-size":"1.375em"},h4:{margin:"1em 0","font-size":"1.125em"},"img,video":{"max-width":"100%"},"figure,picture":{margin:"1em 0"},figcaption:{color:"var(--un-prose-captions)","font-size":".875em"},code:{color:"var(--un-prose-code)","font-size":".875em","font-weight":600,"font-family":t[o]?.mono},":not(pre) > code::before,:not(pre) > code::after":{content:'"`"'},pre:{padding:"1.25rem 1.5rem","overflow-x":"auto","border-radius":".375rem"},"pre,code":{"white-space":"pre","word-spacing":"normal","word-break":"normal","word-wrap":"normal","-moz-tab-size":4,"-o-tab-size":4,"tab-size":4,"-webkit-hyphens":"none","-moz-hyphens":"none",hyphens:"none",background:"transparent"},"pre code":{"font-weight":"inherit"},"ol,ul":{"padding-left":"1.25em"},ol:{"list-style-type":"decimal"},'ol[type="A"]':{"list-style-type":"upper-alpha"},'ol[type="a"]':{"list-style-type":"lower-alpha"},'ol[type="A" s]':{"list-style-type":"upper-alpha"},'ol[type="a" s]':{"list-style-type":"lower-alpha"},'ol[type="I"]':{"list-style-type":"upper-roman"},'ol[type="i"]':{"list-style-type":"lower-roman"},'ol[type="I" s]':{"list-style-type":"upper-roman"},'ol[type="i" s]':{"list-style-type":"lower-roman"},'ol[type="1"]':{"list-style-type":"decimal"},ul:{"list-style-type":"disc"},"ol > li::marker,ul > li::marker,summary::marker":{color:"var(--un-prose-lists)"},hr:{margin:"2em 0",border:"1px solid var(--un-prose-hr)"},table:{display:"block",margin:"1em 0","border-collapse":"collapse","overflow-x":"auto"},"tr:nth-child(2n)":{background:"var(--un-prose-bg-soft)"},"td,th":{border:"1px solid var(--un-prose-borders)",padding:".625em 1em"},abbr:{cursor:"help"},kbd:{color:"var(--un-prose-code)",border:"1px solid",padding:".25rem .5rem","font-size":".875em","border-radius":".25rem"},details:{margin:"1em 0",padding:"1.25rem 1.5rem",background:"var(--un-prose-bg-soft)"},summary:{cursor:"pointer","font-weight":"600"}}}var Zu=[["headings","h1","h2","h3","h4","h5","h6","th"],["h1"],["h2"],["h3"],["h4"],["h5"],["h6"],["p"],["a"],["blockquote"],["figure"],["figcaption"],["strong"],["em"],["kbd"],["code"],["pre"],["ol"],["ul"],["li"],["table"],["thead"],["tr"],["th"],["td"],["img"],["video"],["hr"]];function Bn(e){for(let[t,...r]of Zu)if(t===e)return r.length>0?r:[t]}function zi(e){let t="",{escapedSelector:r,selectorName:n,preflights:o,compatibility:i,important:s}=e,a=i?.noColonNot||i?.noColonWhere;for(let c in o){let l=o[c],f=`:not(:where(.not-${n},.not-${n} *))`,p=c.split(",").map(m=>{let h=m.match(/:[():\-\w]+$/g);if(h){let g=h[0];return m=m.replace(g,""),r.map(b=>a?`${b} ${m}${g}`:`${b} :where(${m})${f}${g}`).join(",")}return null}).filter(m=>m);p.length?t+=p.join(","):t+=r.map(m=>a?c.split(",").map(h=>`${m} ${h}`).join(","):`${m} :where(${c})${f}`).join(","),t+="{";for(let m in l){let h=l[m];t+=`${m}:${h}${s?" !important":""};`}t+="}"}return t}function Ai(e,t){let{compatibility:r,selectorName:n,important:o=!1}=t,i=typeof t?.cssExtend=="function"?t.cssExtend(e.theme):t?.cssExtend,s=Array.from(t.escapedSelectors);return!s[s.length-1].startsWith(".")&&!r?.noColonIs&&(s=[`:is(${s[s.length-1]},.${t.selectorName})`]),typeof o=="string"&&(s=s.map(a=>r?.noColonIs?`${o} ${a}`:`:is(${o}) ${a}`)),zi(i?{escapedSelector:s,selectorName:n,preflights:tt(Un(e),i),compatibility:r,important:o===!0}:{escapedSelector:s,selectorName:n,preflights:Un(e),compatibility:r,important:o===!0})}var Ju=e=>{e?.className&&console.warn('[unocss:preset-typography] "className" is deprecated. Please use "selectorName" instead.');let t=new Set,r=e?.selectorName||e?.className||"prose",n=new RegExp(`^${r}$`),o=new RegExp(`^${r}-([-\\w]+)$`),i=new RegExp(`^${r}-invert$`),s=e?.compatibility?.noColonNot||e?.compatibility?.noColonWhere;return{name:"@unocss/preset-typography",enforce:"post",layers:{typography:-20},rules:[[n,(a,{rawSelector:c})=>(t.add(zn(c)),{color:"var(--un-prose-body)","max-width":"65ch"}),{layer:"typography"}],[o,([,a],{theme:c})=>{let l=c.colors?.[a];if(l==null)return;let f=typeof l=="object"?l:{},p={body:700,headings:900,links:900,lists:400,hr:200,captions:500,code:900,borders:200,"bg-soft":100,"invert-body":200,"invert-headings":100,"invert-links":100,"invert-lists":500,"invert-hr":700,"invert-captions":400,"invert-code":100,"invert-borders":700,"invert-bg-soft":800},m={};for(let h in p){let g=p[h],b=f[g]??l,$=!1;for(let S of rr)if(b.includes(S)){$=!0,m[`--un-prose-${h}-opacity`]=1,m[`--un-prose-${h}`]=b.replace(S,`var(--un-prose-${h}-opacity)`);break}$||(m[`--un-prose-${h}`]=b)}return m},{layer:"typography"}],[i,()=>({"--un-prose-body":"var(--un-prose-invert-body)","--un-prose-headings":"var(--un-prose-invert-headings)","--un-prose-links":"var(--un-prose-invert-links)","--un-prose-lists":"var(--un-prose-invert-lists)","--un-prose-hr":"var(--un-prose-invert-hr)","--un-prose-captions":"var(--un-prose-invert-captions)","--un-prose-code":"var(--un-prose-invert-code)","--un-prose-borders":"var(--un-prose-invert-borders)","--un-prose-bg-soft":"var(--un-prose-invert-bg-soft)"}),{layer:"typography"}]],variants:[{name:"typography element modifiers",match:a=>{if(a.startsWith(`${r}-`)){let c=new RegExp(`^${r}-(\\w+)[:-].+$`),l=a.match(c)?.[1];if(l){let f=Bn(l);if(f?.length)return{matcher:a.slice(r.length+l.length+2),selector:p=>{let m=`:not(:where(.not-${r},.not-${r} *))`;return s?f.map(g=>`${p} ${g}`).join(","):`${p} :is(:where(${f})${m})`}}}}}}],preflights:[{layer:"typography",getCSS:a=>{if(t.size>0)return Ai(a,{escapedSelectors:t,...e,selectorName:r})}}]}},Oi=Ju;function Qu(e){let t,r,n=2166136261;for(t=0,r=e.length;t<r;t++)n^=e.charCodeAt(t),n+=(n<<1)+(n<<4)+(n<<7)+(n<<8)+(n<<24);return`00000${(n>>>0).toString(36)}`.slice(-6)}function Pi(e,t,r,n){for(let o of Array.from(e.matchAll(r)))if(o!=null){let i=o[0],s=`${n}${Qu(i)}`;t.set(s,i),e=e.replace(i,s)}return e}function Vi(e,t){for(let[r,n]of t.entries())e=e.replaceAll(r,n);return e}var ep=/\/\/#\s*sourceMappingURL=.*\n?/g;function Mi(e){return e.includes("sourceMappingURL=")?e.replace(ep,""):e}var tp=/(?:[\w&:[\]-]|\[\S{1,64}=\S{1,64}\]){1,64}\[\\?['"]?\S{1,64}?['"]\]\]?[\w:-]{0,64}/g,rp=/\[(\\\W|[\w-]){1,64}:[^\s:]{0,64}?("\S{1,64}?"|'\S{1,64}?'|`\S{1,64}?`|[^\s:]{1,64}?)[^\s:]{0,64}?\)?\]/g,np=/^\[(?:\\\W|[\w-]){1,64}:['"]?\S{1,64}?['"]?\]$/;function op(e){let t=[];for(let o of e.matchAll(rp))o.index!==0&&!/^[\s'"`]/.test(e[o.index-1]??"")||t.push(o[0]);for(let o of e.matchAll(tp))t.push(o[0]);let r=new Map,n="@unocss-skip-arbitrary-brackets";return e=Pi(e,r,/-\[(?!&.+?;)[^\]]*\]/g,n),e&&e.split(Gt).forEach(o=>{o.includes(n)&&(o=Vi(o,r)),Je(o)&&!np.test(o)&&t.push(o)}),t}function Fi(){return{name:"@unocss/extractor-arbitrary-variants",order:0,extract({code:e}){return op(Mi(e))}}}function _i(e){if(e.preflight)return[{layer:"preflights",getCSS({theme:t,generator:r}){if(t.preflightBase){let n=Object.entries(t.preflightBase);if(e.preflight==="on-demand"){let o=new Set(Array.from(r.activatedRules).map(i=>i[2]?.custom?.preflightKeys).filter(Boolean).flat());n=n.filter(([i])=>o.has(i))}if(n.length>0){let o=Le(n);return e.variablePrefix!=="un-"&&(o=o.replace(/--un-/g,`--${e.variablePrefix}`)),C(t.preflightRoot??["*,::before,::after","::backdrop"]).map(s=>`${s}{${o}}`).join("")}}}}]}var Hn={};ou(Hn,{auto:()=>ap,bracket:()=>dp,bracketOfColor:()=>mp,bracketOfLength:()=>hp,bracketOfPosition:()=>gp,cssvar:()=>bp,degree:()=>yp,fraction:()=>pp,global:()=>vp,number:()=>fp,numberWithUnit:()=>sp,percent:()=>up,position:()=>wp,properties:()=>$p,px:()=>lp,rem:()=>cp,time:()=>xp});var ne={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"]},In={...ne,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"]},Dn={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"]},Wi={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},Ui=["x","y","z"],Li=["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"],it=Object.assign({},...Li.map(e=>({[e.replace(/ /,"-")]:e})),...Li.map(e=>({[e.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:e}))),_=["inherit","initial","revert","revert-layer","unset"],st=/^(calc|clamp|min|max)\s*\((.+)\)(.*)/,dr=/^(var)\s*\((.+)\)(.*)/;var De=/^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i,Nn=/^(-?\d*(?:\.\d+)?)$/,Kn=/^(px|[sld]?v[wh])$/i,Gn={px:1,vw:100,vh:100,svw:100,svh:100,dvw:100,dvh:100,lvh:100,lvw:100},mr=/^\[(color|image|length|size|position|quoted|string):/i,Bi=/,(?![^()]*\))/g;var ip=["color","border-color","background-color","outline-color","text-decoration-color","flex-grow","flex","flex-shrink","caret-color","font","gap","opacity","visibility","z-index","font-weight","zoom","text-shadow","transform","box-shadow","border","background-position","left","right","top","bottom","object-position","max-height","min-height","max-width","min-width","height","width","border-width","margin","padding","outline-width","outline-offset","font-size","line-height","text-indent","vertical-align","border-spacing","letter-spacing","word-spacing","stroke","filter","backdrop-filter","fill","mask","mask-size","mask-border","clip-path","clip","border-radius"];function se(e){return+e.toFixed(10)}function sp(e){let t=e.match(De);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(n&&!Number.isNaN(o))return`${se(o)}${n}`}function ap(e){if(e==="auto"||e==="a")return"auto"}function cp(e){if(!e)return;if(Kn.test(e))return`${Gn[e]}${e}`;let t=e.match(De);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0":n?`${se(o)}${n}`:`${se(o/4)}rem`}function lp(e){if(Kn.test(e))return`${Gn[e]}${e}`;let t=e.match(De);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return n?`${se(o)}${n}`:`${se(o)}px`}function fp(e){if(!Nn.test(e))return;let t=Number.parseFloat(e);if(!Number.isNaN(t))return se(t)}function up(e){if(e.endsWith("%")&&(e=e.slice(0,-1)),!Nn.test(e))return;let t=Number.parseFloat(e);if(!Number.isNaN(t))return`${se(t/100)}`}function pp(e){if(!e)return;if(e==="full")return"100%";let[t,r]=e.split("/"),n=Number.parseFloat(t)/Number.parseFloat(r);if(!Number.isNaN(n))return n===0?"0":`${se(n*100)}%`}function hr(e,t){if(e&&e.startsWith("[")&&e.endsWith("]")){let r,n,o=e.match(mr);if(o?(t||(n=o[1]),r=e.slice(o[0].length,-1)):r=e.slice(1,-1),!r||r==='=""')return;r.startsWith("--")&&(r=`var(${r})`);let i=0;for(let s of r)if(s==="[")i+=1;else if(s==="]"&&(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,s=>s.replace(/_/g,"\\_")).replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_").replace(/(?:calc|clamp|max|min)\((.*)/g,s=>{let a=[];return s.replace(/var\((--.+?)[,)]/g,(c,l)=>(a.push(l),c.replace(l,"--un-calc"))).replace(/(-?\d*\.?\d(?!-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 ").replace(/--un-calc/g,()=>a.shift())})}}function dp(e){return hr(e)}function mp(e){return hr(e,"color")}function hp(e){return hr(e,"length")}function gp(e){return hr(e,"position")}function bp(e){if(/^\$[^\s'"`;{}]/.test(e)){let[t,r]=e.slice(1).split(",");return`var(--${J(t)}${r?`, ${r}`:""})`}}function xp(e){let t=e.match(/^(-?[0-9.]+)(s|ms)?$/i);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0&&!n?"0s":n?`${se(o)}${n}`:`${se(o)}ms`}function yp(e){let t=e.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0":n?`${se(o)}${n}`:`${se(o)}deg`}function vp(e){if(_.includes(e))return e}function $p(e){if(e.split(",").every(t=>ip.includes(t)))return e}function wp(e){if(["top","left","right","bottom","center"].includes(e))return e}var kp=cr(Hn),d=kp;var Ii={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(_.map(e=>[e,e]))},Ni=[[/^(?:vertical|align|v)-(.+)$/,([,e])=>({"vertical-align":Ii[e]??d.bracket.cssvar.numberWithUnit(e)}),{autocomplete:[`(vertical|align|v)-(${Object.keys(Ii).join("|")})`,"(vertical|align|v)-<percentage>"]}]],Di=["center","left","right","justify","start","end"],Ki=[...Di.map(e=>[`text-${e}`,{"text-align":e}]),...[..._,...Di].map(e=>[`text-align-${e}`,{"text-align":e}])];var Yi="$$mini-no-negative";function oe(e){return([t,r,n],{theme:o})=>{let i=o.spacing?.[n||"DEFAULT"]??d.bracket.cssvar.global.auto.fraction.rem(n);if(i!=null)return ne[r].map(s=>[`${e}${s}`,i]);if(n?.startsWith("-")){let s=o.spacing?.[n.slice(1)];if(s!=null)return ne[r].map(a=>[`${e}${a}`,`calc(${s} * -1)`])}}}function Gi(e,t,r="colors"){let n=e[r],o=-1;for(let i of t){if(o+=1,n&&typeof n!="string"){let s=t.slice(o).join("-").replace(/(-[a-z])/g,a=>a.slice(1).toUpperCase());if(n[s])return n[s];if(n[i]){n=n[i];continue}}return}return n}function Hi(e,t,r){return Gi(e,t,r)||Gi(e,t,"colors")}function Yn(e,t){let[r,n]=pe(e,"[","]",["/",":"])??[];if(r!=null){let o=(r.match(mr)??[])[1];if(o==null||o===t)return[r,n]}}function gr(e,t,r){let n=Yn(e,"color");if(!n)return;let[o,i]=n,s=o.replace(/([a-z])(\d)/g,"$1-$2").split(/-/g),[a]=s;if(!a)return;let c,l=d.bracketOfColor(o),f=l||o;if(d.numberWithUnit(f))return;if(/^#[\da-f]+$/i.test(f)?c=f:/^hex-[\da-fA-F]+$/.test(f)?c=`#${f.slice(4)}`:o.startsWith("$")&&(c=d.cssvar(o)),c=c||l,!c){let m=Hi(t,[o],r);typeof m=="string"&&(c=m)}let p="DEFAULT";if(!c){let m=s,h,[g]=s.slice(-1);/^\d+$/.test(g)&&(p=h=g,m=s.slice(0,-1));let b=Hi(t,m,r);typeof b=="object"?c=b[h??p]:typeof b=="string"&&!h&&(c=b)}return{opacity:i,name:a,no:p,color:c,cssColor:Y(c),alpha:d.bracket.cssvar.percent(i??"")}}function H(e,t,r,n){return([,o],{theme:i,generator:s})=>{let a=gr(o??"",i,r);if(!a)return;let{alpha:c,color:l,cssColor:f}=a,m=s.config.envMode==="dev"&&l?` /* ${l} */`:"",h={};if(f)if(c!=null)h[e]=A(f,c)+m;else{let g=`--un-${t}-opacity`,b=A(f,`var(${g})`);b.includes(g)&&(h[g]=ie(f)),h[e]=b+m}else if(l)if(c!=null)h[e]=A(l,c)+m;else{let g=`--un-${t}-opacity`,b=A(l,`var(${g})`);b.includes(g)&&(h[g]=1),h[e]=b+m}if(n?.(h)!==!1)return h}}function br(e,t){let r=[];e=C(e);for(let n=0;n<e.length;n++){let o=Ee(e[n]," ",6);if(!o||o.length<3)return e;let i=!1,s=o.indexOf("inset");s!==-1&&(o.splice(s,1),i=!0);let a="",c=o.at(-1);if(Y(o.at(0))){let l=Y(o.shift());l&&(a=`, ${A(l)}`)}else if(Y(c)){let l=Y(o.pop());l&&(a=`, ${A(l)}`)}else c&&dr.test(c)&&(a=`, ${o.pop()}`);r.push(`${i?"inset ":""}${o.join(" ")} var(${t}${a})`)}return r}function xr(e,t,r){return e!=null&&!!gr(e,t,r)?.color}var qi=/[a-z]+/gi,qn=new WeakMap;function yr({theme:e,generator:t},r="breakpoints"){let n=t?.userConfig?.theme?.[r]||e[r];if(!n)return;if(qn.has(e))return qn.get(e);let o=Object.entries(n).sort((i,s)=>Number.parseInt(i[1].replace(qi,""))-Number.parseInt(s[1].replace(qi,""))).map(([i,s])=>({point:i,size:s}));return qn.set(e,o),o}function W(e,t){return _.map(r=>[`${e}-${r}`,{[t??e]:r}])}function ae(e){return e!=null&&st.test(e)}function Xi(e){return e[0]==="["&&e.slice(-1)==="]"&&(e=e.slice(1,-1)),st.test(e)||De.test(e)}function vr(e,t,r){let n=t.split(Bi);return e||!e&&n.length===1?Wi[e].map(o=>[`--un-${r}${o}`,t]):n.map((o,i)=>[`--un-${r}-${Ui[i]}`,o])}var Zi=[[/^outline-(?:width-|size-)?(.+)$/,Ji,{autocomplete:"outline-(width|size)-<num>"}],[/^outline-(?:color-)?(.+)$/,Sp,{autocomplete:"outline-$colors"}],[/^outline-offset-(.+)$/,([,e],{theme:t})=>({"outline-offset":t.lineWidth?.[e]??d.bracket.cssvar.global.px(e)}),{autocomplete:"outline-(offset)-<num>"}],["outline",{"outline-style":"solid"}],...["auto","dashed","dotted","double","hidden","solid","groove","ridge","inset","outset",..._].map(e=>[`outline-${e}`,{"outline-style":e}]),["outline-none",{outline:"2px solid transparent","outline-offset":"2px"}]];function Ji([,e],{theme:t}){return{"outline-width":t.lineWidth?.[e]??d.bracket.cssvar.global.px(e)}}function Sp(e,t){return ae(d.bracket(e[1]))?Ji(e,t):H("outline-color","outline-color","borderColor")(e,t)}var Qi=[["appearance-auto",{"-webkit-appearance":"auto",appearance:"auto"}],["appearance-none",{"-webkit-appearance":"none",appearance:"none"}]];function Cp(e){return d.properties.auto.global(e)??{contents:"contents",scroll:"scroll-position"}[e]}var es=[[/^will-change-(.+)/,([,e])=>({"will-change":Cp(e)})]];var ut=["solid","dashed","dotted","double","hidden","none","groove","ridge","inset","outset",..._],rs=[[/^(?:border|b)()(?:-(.+))?$/,de,{autocomplete:"(border|b)-<directions>"}],[/^(?:border|b)-([xy])(?:-(.+))?$/,de],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,de],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,de],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,de],[/^(?:border|b)-()(?:width|size)-(.+)$/,de,{autocomplete:["(border|b)-<num>","(border|b)-<directions>-<num>"]}],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,de],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,de],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,de],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,de],[/^(?:border|b)-()(?:color-)?(.+)$/,at,{autocomplete:["(border|b)-$colors","(border|b)-<directions>-$colors"]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,at],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,at],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,at],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,at],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,ct,{autocomplete:"(border|b)-(op|opacity)-<percent>"}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,ct],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,ct],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,ct],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,ct],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,lt,{autocomplete:["(border|b)-(rounded|rd)","(border|b)-(rounded|rd)-$borderRadius","(rounded|rd)","(rounded|rd)-$borderRadius"]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltbse])(?:-(.+))?$/,lt],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,lt],[/^(?:border-|b-)?(?:rounded|rd)-([bise][se])(?:-(.+))?$/,lt],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,lt],[/^(?:border|b)-(?:style-)?()(.+)$/,ft,{autocomplete:["(border|b)-style",`(border|b)-(${ut.join("|")})`,"(border|b)-<directions>-style",`(border|b)-<directions>-(${ut.join("|")})`,`(border|b)-<directions>-style-(${ut.join("|")})`,`(border|b)-style-(${ut.join("|")})`]}],[/^(?:border|b)-([xy])-(?:style-)?(.+)$/,ft],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,ft],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,ft],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,ft]];function ts(e,t,r){if(t!=null)return{[`border${r}-color`]:A(e,t)};if(r===""){let n={},o="--un-border-opacity",i=A(e,`var(${o})`);return i.includes(o)&&(n[o]=typeof e=="string"?1:ie(e)),n["border-color"]=i,n}else{let n={},o="--un-border-opacity",i=`--un-border${r}-opacity`,s=A(e,`var(${i})`);return s.includes(i)&&(n[o]=typeof e=="string"?1:ie(e),n[i]=`var(${o})`),n[`border${r}-color`]=s,n}}function Rp(e){return([,t],r)=>{let n=gr(t,r,"borderColor");if(!n)return;let{alpha:o,color:i,cssColor:s}=n;if(s)return ts(s,o,e);if(i)return ts(i,o,e)}}function de([,e="",t],{theme:r}){let n=r.lineWidth?.[t||"DEFAULT"]??d.bracket.cssvar.global.px(t||"1");if(e in ne&&n!=null)return ne[e].map(o=>[`border${o}-width`,n])}function at([,e="",t],r){if(e in ne){if(ae(d.bracket(t)))return de(["",e,t],r);if(xr(t,r.theme,"borderColor"))return Object.assign({},...ne[e].map(n=>Rp(n)(["",t],r.theme)))}}function ct([,e="",t]){let r=d.bracket.percent.cssvar(t);if(e in ne&&r!=null)return ne[e].map(n=>[`--un-border${n}-opacity`,r])}function lt([,e="",t],{theme:r}){let n=r.borderRadius?.[t||"DEFAULT"]||d.bracket.cssvar.global.fraction.rem(t||"1");if(e in Dn&&n!=null)return Dn[e].map(o=>[`border${o}-radius`,n])}function ft([,e="",t]){if(ut.includes(t)&&e in ne)return ne[e].map(r=>[`border${r}-style`,t])}var ns=[[/^op(?:acity)?-?(.+)$/,([,e])=>({opacity:d.bracket.percent.cssvar(e)})]],Ep=/^\[url\(.+\)\]$/,Tp=/^\[(?:length|size):.+\]$/,jp=/^\[position:.+\]$/,zp=/^\[(?:linear|conic|radial)-gradient\(.+\)\]$/,Ap=/^\[image:.+\]$/,os=[[/^bg-(.+)$/,(...e)=>{let t=e[0][1];if(Ep.test(t))return{"--un-url":d.bracket(t),"background-image":"var(--un-url)"};if(Tp.test(t)&&d.bracketOfLength(t)!=null)return{"background-size":d.bracketOfLength(t).split(" ").map(r=>d.fraction.auto.px.cssvar(r)??r).join(" ")};if((Xi(t)||jp.test(t))&&d.bracketOfPosition(t)!=null)return{"background-position":d.bracketOfPosition(t).split(" ").map(r=>d.position.fraction.auto.px.cssvar(r)??r).join(" ")};if(zp.test(t)||Ap.test(t)){let r=d.bracket(t);if(r)return{"background-image":(r.startsWith("http")?`url(${r})`:d.cssvar(r))??r}}return H("background-color","bg","backgroundColor")(...e)},{autocomplete:"bg-$colors"}],[/^bg-op(?:acity)?-?(.+)$/,([,e])=>({"--un-bg-opacity":d.bracket.percent.cssvar(e)}),{autocomplete:"bg-(op|opacity)-<percent>"}]],is=[[/^color-scheme-(\w+)$/,([,e])=>({"color-scheme":e})]];var ss=[[/^@container(?:\/(\w+))?(?:-(normal|inline-size|size))?$/,([,e,t])=>({"container-type":t??"inline-size","container-name":e})]];var as=["solid","double","dotted","dashed","wavy",..._],cs=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,e])=>({"text-decoration-line":e}),{autocomplete:"decoration-(underline|overline|line-through)"}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,ls,{autocomplete:"(underline|decoration)-<num>"}],[/^(?:underline|decoration)-(auto|from-font)$/,([,e])=>({"text-decoration-thickness":e}),{autocomplete:"(underline|decoration)-(auto|from-font)"}],[/^(?:underline|decoration)-(.+)$/,Op,{autocomplete:"(underline|decoration)-$colors"}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-line-opacity":d.bracket.percent.cssvar(e)}),{autocomplete:"(underline|decoration)-(op|opacity)-<percent>"}],[/^(?:underline|decoration)-offset-(.+)$/,([,e],{theme:t})=>({"text-underline-offset":t.lineWidth?.[e]??d.auto.bracket.cssvar.global.px(e)}),{autocomplete:"(underline|decoration)-(offset)-<num>"}],...as.map(e=>[`underline-${e}`,{"text-decoration-style":e}]),...as.map(e=>[`decoration-${e}`,{"text-decoration-style":e}]),["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];function ls([,e],{theme:t}){return{"text-decoration-thickness":t.lineWidth?.[e]??d.bracket.cssvar.global.px(e)}}function Op(e,t){if(ae(d.bracket(e[1])))return ls(e,t);let r=H("text-decoration-color","line","borderColor")(e,t);if(r)return{"-webkit-text-decoration-color":r["text-decoration-color"],...r}}var fs=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],[/^flex-(.*)$/,([,e])=>({flex:d.bracket(e)!=null?d.bracket(e).split(" ").map(t=>d.cssvar.fraction(t)??t).join(" "):d.cssvar.fraction(e)})],["flex-1",{flex:"1 1 0%"}],["flex-auto",{flex:"1 1 auto"}],["flex-initial",{flex:"0 1 auto"}],["flex-none",{flex:"none"}],[/^(?:flex-)?shrink(?:-(.*))?$/,([,e=""])=>({"flex-shrink":d.bracket.cssvar.number(e)??1}),{autocomplete:["flex-shrink-<num>","shrink-<num>"]}],[/^(?:flex-)?grow(?:-(.*))?$/,([,e=""])=>({"flex-grow":d.bracket.cssvar.number(e)??1}),{autocomplete:["flex-grow-<num>","grow-<num>"]}],[/^(?:flex-)?basis-(.+)$/,([,e],{theme:t})=>({"flex-basis":t.spacing?.[e]??d.bracket.cssvar.auto.fraction.rem(e)}),{autocomplete:["flex-basis-$spacing","basis-$spacing"]}],["flex-row",{"flex-direction":"row"}],["flex-row-reverse",{"flex-direction":"row-reverse"}],["flex-col",{"flex-direction":"column"}],["flex-col-reverse",{"flex-direction":"column-reverse"}],["flex-wrap",{"flex-wrap":"wrap"}],["flex-wrap-reverse",{"flex-wrap":"wrap-reverse"}],["flex-nowrap",{"flex-wrap":"nowrap"}]];var Pp={"":"",x:"column-",y:"row-",col:"column-",row:"row-"};function Xn([,e="",t],{theme:r}){let n=r.spacing?.[t]??d.bracket.cssvar.global.rem(t);if(n!=null)return{[`${Pp[e]}gap`]:n}}var us=[[/^(?:flex-|grid-)?gap-?()(.+)$/,Xn,{autocomplete:["gap-$spacing","gap-<num>"]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,Xn,{autocomplete:["gap-(x|y)-$spacing","gap-(x|y)-<num>"]}],[/^(?:flex-|grid-)?gap-(col|row)-?(.+)$/,Xn,{autocomplete:["gap-(col|row)-$spacing","gap-(col|row)-<num>"]}]];function ge(e){return e.replace("col","column")}function Zn(e){return e[0]==="r"?"Row":"Column"}function Vp(e,t,r){let n=t[`gridAuto${Zn(e)}`]?.[r];if(n!=null)return n;switch(r){case"min":return"min-content";case"max":return"max-content";case"fr":return"minmax(0,1fr)"}return d.bracket.cssvar.auto.rem(r)}var ps=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,e,t],{theme:r})=>({[`grid-${ge(e)}`]:r[`grid${Zn(e)}`]?.[t]??d.bracket.cssvar.auto(t)})],[/^(?:grid-)?(row|col)-span-(.+)$/,([,e,t])=>{if(t==="full")return{[`grid-${ge(e)}`]:"1/-1"};let r=d.bracket.number(t);if(r!=null)return{[`grid-${ge(e)}`]:`span ${r}/span ${r}`}},{autocomplete:"(grid-row|grid-col|row|col)-span-<num>"}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,e,t])=>({[`grid-${ge(e)}-start`]:d.bracket.cssvar(t)??t})],[/^(?:grid-)?(row|col)-end-(.+)$/,([,e,t])=>({[`grid-${ge(e)}-end`]:d.bracket.cssvar(t)??t}),{autocomplete:"(grid-row|grid-col|row|col)-(start|end)-<num>"}],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,e,t],{theme:r})=>({[`grid-auto-${ge(e)}`]:Vp(e,r,t)}),{autocomplete:"(grid-auto|auto)-(rows|cols)-<num>"}],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,e])=>({"grid-auto-flow":d.bracket.cssvar(e)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)$/,([,e])=>({"grid-auto-flow":ge(e).replace("-"," ")}),{autocomplete:["(grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)"]}],[/^(?:grid-)?(rows|cols)-(.+)$/,([,e,t],{theme:r})=>({[`grid-template-${ge(e)}`]:r[`gridTemplate${Zn(e)}`]?.[t]??d.bracket.cssvar(t)})],[/^(?:grid-)?(rows|cols)-minmax-([\w.-]+)$/,([,e,t])=>({[`grid-template-${ge(e)}`]:`repeat(auto-fill,minmax(${t},1fr))`})],[/^(?:grid-)?(rows|cols)-(\d+)$/,([,e,t])=>({[`grid-template-${ge(e)}`]:`repeat(${t},minmax(0,1fr))`}),{autocomplete:"(grid-rows|grid-cols|rows|cols)-<num>"}],[/^grid-area(s)?-(.+)$/,([,e,t])=>e!=null?{"grid-template-areas":d.cssvar(t)??t.split("-").map(r=>`"${d.bracket(r)}"`).join(" ")}:{"grid-area":d.bracket.cssvar(t)}],["grid-rows-none",{"grid-template-rows":"none"}],["grid-cols-none",{"grid-template-columns":"none"}],["grid-rows-subgrid",{"grid-template-rows":"subgrid"}],["grid-cols-subgrid",{"grid-template-columns":"subgrid"}]];var $r=["auto","hidden","clip","visible","scroll","overlay",..._],ds=[[/^(?:overflow|of)-(.+)$/,([,e])=>$r.includes(e)?{overflow:e}:void 0,{autocomplete:[`(overflow|of)-(${$r.join("|")})`,`(overflow|of)-(x|y)-(${$r.join("|")})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,e,t])=>$r.includes(t)?{[`overflow-${e}`]:t}:void 0]];var ms=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,e])=>({position:e}),{autocomplete:["(position|pos)-<position>","(position|pos)-<globalKeyword>","<position>"]}],[/^(?:position-|pos-)([-\w]+)$/,([,e])=>_.includes(e)?{position:e}:void 0],[/^(?:position-|pos-)?(static)$/,([,e])=>({position:e})]],Qn=[["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"}],...W("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"}],...W("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"}],...W("justify-self")],hs=[[/^order-(.+)$/,([,e])=>({order:d.bracket.cssvar.number(e)})],["order-first",{order:"-9999"}],["order-last",{order:"9999"}],["order-none",{order:"0"}]],eo=[["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"}],...W("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"}],...W("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"}],...W("self","align-self")],to=[["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"}],...W("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"}],...W("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"}],...W("place-self")],gs=[...Qn,...eo,...to].flatMap(([e,t])=>[[`flex-${e}`,t],[`grid-${e}`,t]]);function Jn(e,{theme:t}){return t.spacing?.[e]??d.bracket.cssvar.global.auto.fraction.rem(e)}function pt([,e,t],r){let n=Jn(t,r);if(n!=null&&e in In)return In[e].map(o=>[o.slice(1),n])}var bs=[[/^(?:position-|pos-)?inset-(.+)$/,([,e],t)=>({inset:Jn(e,t)}),{autocomplete:["(position|pos)-inset-<directions>-$spacing","(position|pos)-inset-(block|inline)-$spacing","(position|pos)-inset-(bs|be|is|ie)-$spacing","(position|pos)-(top|left|right|bottom)-$spacing"]}],[/^(?:position-|pos-)?(start|end)-(.+)$/,pt],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,pt],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,pt],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,pt],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,pt],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,e,t],r)=>({[e]:Jn(t,r)})]],xs=[["float-left",{float:"left"}],["float-right",{float:"right"}],["float-start",{float:"inline-start"}],["float-end",{float:"inline-end"}],["float-none",{float:"none"}],...W("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"}],...W("clear")],ys=[[/^(?:position-|pos-)?z([\d.]+)$/,([,e])=>({"z-index":d.number(e)})],[/^(?:position-|pos-)?z-(.+)$/,([,e],{theme:t})=>({"z-index":t.zIndex?.[e]??d.bracket.cssvar.global.auto.number(e)}),{autocomplete:"z-<num>"}]],vs=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}],...W("box","box-sizing")];var $s=[[/^(where|\?)$/,(e,{constructCSS:t,generator:r})=>{if(r.userConfig.envMode==="dev")return`@keyframes __un_qm{0%{box-shadow:inset 4px 4px #ff1e90, inset -4px -4px #ff1e90}100%{box-shadow:inset 8px 8px #3399ff, inset -8px -8px #3399ff}} ${t({animation:"__un_qm 0.5s ease-in-out alternate infinite"})}`}]];var Mp=["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"],Fp=["none","strict","content","size","inline-size","layout","style","paint"],wr=" ",ws=[["inline",{display:"inline"}],["block",{display:"block"}],["inline-block",{display:"inline-block"}],["contents",{display:"contents"}],["flow-root",{display:"flow-root"}],["list-item",{display:"list-item"}],["hidden",{display:"none"}],[/^display-(.+)$/,([,e])=>({display:d.bracket.cssvar.global(e)})]],ks=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}],...W("backface","backface-visibility")],Ss=[[/^cursor-(.+)$/,([,e])=>({cursor:d.bracket.cssvar.global(e)})],...Mp.map(e=>[`cursor-${e}`,{cursor:e}])],Cs=[[/^contain-(.*)$/,([,e])=>d.bracket(e)!=null?{contain:d.bracket(e).split(" ").map(t=>d.cssvar.fraction(t)??t).join(" ")}:Fp.includes(e)?{contain:e}:void 0]],Rs=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}],...W("pointer-events")],Es=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}],...W("resize")],Ts=[["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"}],...W("select","user-select")],js=[[/^(?:whitespace-|ws-)([-\w]+)$/,([,e])=>["normal","nowrap","pre","pre-line","pre-wrap","break-spaces",..._].includes(e)?{"white-space":e}:void 0,{autocomplete:"(whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)"}]],zs=[[/^intrinsic-size-(.+)$/,([,e])=>({"contain-intrinsic-size":d.bracket.cssvar.global.fraction.rem(e)}),{autocomplete:"intrinsic-size-<num>"}],["content-visibility-visible",{"content-visibility":"visible"}],["content-visibility-hidden",{"content-visibility":"hidden"}],["content-visibility-auto",{"content-visibility":"auto"}],...W("content-visibility")],As=[[/^content-(.+)$/,([,e])=>({content:d.bracket.cssvar(e)})],["content-empty",{content:'""'}],["content-none",{content:"none"}]],Os=[["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"}]],Ps=[["text-wrap",{"text-wrap":"wrap"}],["text-nowrap",{"text-wrap":"nowrap"}],["text-balance",{"text-wrap":"balance"}],["text-pretty",{"text-wrap":"pretty"}]],Vs=[["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"}]],Ms=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}],...W("case","text-transform")],Fs=[["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"}]],_s=[["antialiased",{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"}],["subpixel-antialiased",{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"}]],Ls=[["field-sizing-fixed",{"field-sizing":"fixed"}],["field-sizing-content",{"field-sizing":"content"}]];var ro={"--un-ring-inset":wr,"--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)"},_p=Object.keys(ro),Ws=[[/^ring(?:-(.+))?$/,([,e],{theme:t})=>{let r=t.ringWidth?.[e||"DEFAULT"]??d.px(e||"1");if(r)return{"--un-ring-width":r,"--un-ring-offset-shadow":"var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color)","--un-ring-shadow":"var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color)","box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"}},{custom:{preflightKeys:_p},autocomplete:"ring-$ringWidth"}],[/^ring-(?:width-|size-)(.+)$/,Us,{autocomplete:"ring-(width|size)-$lineWidth"}],["ring-offset",{"--un-ring-offset-width":"1px"}],[/^ring-offset-(?:width-|size-)?(.+)$/,([,e],{theme:t})=>({"--un-ring-offset-width":t.lineWidth?.[e]??d.bracket.cssvar.px(e)}),{autocomplete:"ring-offset-(width|size)-$lineWidth"}],[/^ring-(.+)$/,Lp,{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-opacity":d.bracket.percent.cssvar(e)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^ring-offset-(.+)$/,H("--un-ring-offset-color","ring-offset","borderColor"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-offset-opacity":d.bracket.percent.cssvar(e)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]];function Us([,e],{theme:t}){return{"--un-ring-width":t.ringWidth?.[e]??d.bracket.cssvar.px(e)}}function Lp(e,t){return ae(d.bracket(e[1]))?Us(e,t):H("--un-ring-color","ring","borderColor")(e,t)}var no={"--un-ring-offset-shadow":"0 0 rgb(0 0 0 / 0)","--un-ring-shadow":"0 0 rgb(0 0 0 / 0)","--un-shadow-inset":wr,"--un-shadow":"0 0 rgb(0 0 0 / 0)"},Wp=Object.keys(no),Bs=[[/^shadow(?:-(.+))?$/,(e,t)=>{let[,r]=e,{theme:n}=t,o=n.boxShadow?.[r||"DEFAULT"],i=r?d.bracket.cssvar(r):void 0;return(o!=null||i!=null)&&!xr(i,n,"shadowColor")?{"--un-shadow":br(o||i,"--un-shadow-color").join(","),"box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"}:H("--un-shadow-color","shadow","shadowColor")(e,t)},{custom:{preflightKeys:Wp},autocomplete:["shadow-$colors","shadow-$boxShadow"]}],[/^shadow-op(?:acity)?-?(.+)$/,([,e])=>({"--un-shadow-opacity":d.bracket.percent.cssvar(e)}),{autocomplete:"shadow-(op|opacity)-<percent>"}],["shadow-inset",{"--un-shadow-inset":"inset"}]];var Up={h:"height",w:"width",inline:"inline-size",block:"block-size"};function Pe(e,t){return`${e||""}${Up[t]}`}function kr(e,t,r,n){let o=Pe(e,t).replace(/-(\w)/g,(s,a)=>a.toUpperCase()),i=r[o]?.[n];if(i!=null)return i;switch(n){case"fit":case"max":case"min":return`${n}-content`}return d.bracket.cssvar.global.auto.fraction.rem(n)}var Ds=[[/^size-(min-|max-)?(.+)$/,([,e,t],{theme:r})=>({[Pe(e,"w")]:kr(e,"w",r,t),[Pe(e,"h")]:kr(e,"h",r,t)})],[/^(?:size-)?(min-|max-)?([wh])-?(.+)$/,([,e,t,r],{theme:n})=>({[Pe(e,t)]:kr(e,t,n,r)})],[/^(?:size-)?(min-|max-)?(block|inline)-(.+)$/,([,e,t,r],{theme:n})=>({[Pe(e,t)]:kr(e,t,n,r)}),{autocomplete:["(w|h)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(max|min)-(w|h|block|inline)","(max|min)-(w|h|block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(w|h)-full","(max|min)-(w|h)-full"]}],[/^(?:size-)?(min-|max-)?(h)-screen-(.+)$/,([,e,t,r],n)=>({[Pe(e,t)]:Is(n,r,"verticalBreakpoints")})],[/^(?:size-)?(min-|max-)?(w)-screen-(.+)$/,([,e,t,r],n)=>({[Pe(e,t)]:Is(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 Is(e,t,r="breakpoints"){let n=yr(e,r);if(n)return n.find(o=>o.point===t)?.size}function Bp(e){if(/^\d+\/\d+$/.test(e))return e;switch(e){case"square":return"1/1";case"video":return"16/9"}return d.bracket.cssvar.global.auto.number(e)}var Ns=[[/^(?:size-)?aspect-(?:ratio-)?(.+)$/,([,e])=>({"aspect-ratio":Bp(e)}),{autocomplete:["aspect-(square|video|ratio)","aspect-ratio-(square|video)"]}]];var Ks=[[/^pa?()-?(.+)$/,oe("padding"),{autocomplete:["(m|p)<num>","(m|p)-<num>"]}],[/^p-?xy()()$/,oe("padding"),{autocomplete:"(m|p)-(xy)"}],[/^p-?([xy])(?:-?(.+))?$/,oe("padding")],[/^p-?([rltbse])(?:-?(.+))?$/,oe("padding"),{autocomplete:"(m|p)<directions>-<num>"}],[/^p-(block|inline)(?:-(.+))?$/,oe("padding"),{autocomplete:"(m|p)-(block|inline)-<num>"}],[/^p-?([bi][se])(?:-?(.+))?$/,oe("padding"),{autocomplete:"(m|p)-(bs|be|is|ie)-<num>"}]],Gs=[[/^ma?()-?(.+)$/,oe("margin")],[/^m-?xy()()$/,oe("margin")],[/^m-?([xy])(?:-?(.+))?$/,oe("margin")],[/^m-?([rltbse])(?:-?(.+))?$/,oe("margin")],[/^m-(block|inline)(?:-(.+))?$/,oe("margin")],[/^m-?([bi][se])(?:-?(.+))?$/,oe("margin")]];var Hs=[[/^fill-(.+)$/,H("fill","fill","backgroundColor"),{autocomplete:"fill-$colors"}],[/^fill-op(?:acity)?-?(.+)$/,([,e])=>({"--un-fill-opacity":d.bracket.percent.cssvar(e)}),{autocomplete:"fill-(op|opacity)-<percent>"}],["fill-none",{fill:"none"}],[/^stroke-(?:width-|size-)?(.+)$/,qs,{autocomplete:["stroke-width-$lineWidth","stroke-size-$lineWidth"]}],[/^stroke-dash-(.+)$/,([,e])=>({"stroke-dasharray":d.bracket.cssvar.number(e)}),{autocomplete:"stroke-dash-<num>"}],[/^stroke-offset-(.+)$/,([,e],{theme:t})=>({"stroke-dashoffset":t.lineWidth?.[e]??d.bracket.cssvar.px.numberWithUnit(e)}),{autocomplete:"stroke-offset-$lineWidth"}],[/^stroke-(.+)$/,Ip,{autocomplete:"stroke-$colors"}],[/^stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-stroke-opacity":d.bracket.percent.cssvar(e)}),{autocomplete:"stroke-(op|opacity)-<percent>"}],["stroke-cap-square",{"stroke-linecap":"square"}],["stroke-cap-round",{"stroke-linecap":"round"}],["stroke-cap-auto",{"stroke-linecap":"butt"}],["stroke-join-arcs",{"stroke-linejoin":"arcs"}],["stroke-join-bevel",{"stroke-linejoin":"bevel"}],["stroke-join-clip",{"stroke-linejoin":"miter-clip"}],["stroke-join-round",{"stroke-linejoin":"round"}],["stroke-join-auto",{"stroke-linejoin":"miter"}],["stroke-none",{stroke:"none"}]];function qs([,e],{theme:t}){return{"stroke-width":t.lineWidth?.[e]??d.bracket.cssvar.fraction.px.number(e)}}function Ip(e,t){return ae(d.bracket(e[1]))?qs(e,t):H("stroke","stroke","borderColor")(e,t)}var Sr=["translate","rotate","scale"],Dp=["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(" "),Ne=["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(" "),Np=["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(" "),oo={"--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},be=Object.keys(oo),Qs=[[/^(?:transform-)?origin-(.+)$/,([,e])=>({"transform-origin":it[e]??d.bracket.cssvar(e)}),{autocomplete:[`transform-origin-(${Object.keys(it).join("|")})`,`origin-(${Object.keys(it).join("|")})`]}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,e])=>{let t=d.bracket.cssvar.px.numberWithUnit(e);if(t!=null)return{"-webkit-perspective":t,perspective:t}}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,e])=>{let t=d.bracket.cssvar(e)??(e.length>=3?it[e]:void 0);if(t!=null)return{"-webkit-perspective-origin":t,"perspective-origin":t}}],[/^(?:transform-)?translate-()(.+)$/,Ys,{custom:{preflightKeys:be}}],[/^(?:transform-)?translate-([xyz])-(.+)$/,Ys,{custom:{preflightKeys:be}}],[/^(?:transform-)?rotate-()(.+)$/,Zs,{custom:{preflightKeys:be}}],[/^(?:transform-)?rotate-([xyz])-(.+)$/,Zs,{custom:{preflightKeys:be}}],[/^(?:transform-)?skew-()(.+)$/,Js,{custom:{preflightKeys:be}}],[/^(?:transform-)?skew-([xy])-(.+)$/,Js,{custom:{preflightKeys:be},autocomplete:["transform-skew-(x|y)-<percent>","skew-(x|y)-<percent>"]}],[/^(?:transform-)?scale-()(.+)$/,Xs,{custom:{preflightKeys:be}}],[/^(?:transform-)?scale-([xyz])-(.+)$/,Xs,{custom:{preflightKeys:be},autocomplete:[`transform-(${Sr.join("|")})-<percent>`,`transform-(${Sr.join("|")})-(x|y|z)-<percent>`,`(${Sr.join("|")})-<percent>`,`(${Sr.join("|")})-(x|y|z)-<percent>`]}],[/^(?:transform-)?preserve-3d$/,()=>({"transform-style":"preserve-3d"})],[/^(?:transform-)?preserve-flat$/,()=>({"transform-style":"flat"})],["transform",{transform:Ne},{custom:{preflightKeys:be}}],["transform-cpu",{transform:Dp},{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:Np},{custom:{preflightKeys:be}}],["transform-none",{transform:"none"}],...W("transform")];function Ys([,e,t],{theme:r}){let n=r.spacing?.[t]??d.bracket.cssvar.fraction.rem(t);if(n!=null)return[...vr(e,n,"translate"),["transform",Ne]]}function Xs([,e,t]){let r=d.bracket.cssvar.fraction.percent(t);if(r!=null)return[...vr(e,r,"scale"),["transform",Ne]]}function Zs([,e="",t]){let r=d.bracket.cssvar.degree(t);if(r!=null)return e?{"--un-rotate":0,[`--un-rotate-${e}`]:r,transform:Ne}:{"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-rotate":r,transform:Ne}}function Js([,e,t]){let r=d.bracket.cssvar.degree(t);if(r!=null)return[...vr(e,r,"skew"),["transform",Ne]]}function ea(e,t){let r;if(d.cssvar(e)!=null)r=d.cssvar(e);else{e.startsWith("[")&&e.endsWith("]")&&(e=e.slice(1,-1));let n=e.split(",").map(o=>t.transitionProperty?.[o]??d.properties(o));n.every(Boolean)&&(r=n.join(","))}return r}var ta=[[/^transition(?:-(\D+?))?(?:-(\d+))?$/,([,e,t],{theme:r})=>{if(!e&&!t)return{"transition-property":r.transitionProperty?.DEFAULT,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":r.duration?.DEFAULT??d.time("150")};if(e!=null){let n=ea(e,r),o=r.duration?.[t||"DEFAULT"]??d.time(t||"150");if(n)return{"transition-property":n,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":o}}else if(t!=null)return{"transition-property":r.transitionProperty?.DEFAULT,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":r.duration?.[t]??d.time(t)}},{autocomplete:"transition-$transitionProperty-$duration"}],[/^(?:transition-)?duration-(.+)$/,([,e],{theme:t})=>({"transition-duration":t.duration?.[e||"DEFAULT"]??d.bracket.cssvar.time(e)}),{autocomplete:["transition-duration-$duration","duration-$duration"]}],[/^(?:transition-)?delay-(.+)$/,([,e],{theme:t})=>({"transition-delay":t.duration?.[e||"DEFAULT"]??d.bracket.cssvar.time(e)}),{autocomplete:["transition-delay-$duration","delay-$duration"]}],[/^(?:transition-)?ease(?:-(.+))?$/,([,e],{theme:t})=>({"transition-timing-function":t.easing?.[e||"DEFAULT"]??d.bracket.cssvar(e)}),{autocomplete:["transition-ease-(linear|in|out|in-out|DEFAULT)","ease-(linear|in|out|in-out|DEFAULT)"]}],[/^(?:transition-)?property-(.+)$/,([,e],{theme:t})=>{let r=d.global(e)||ea(e,t);if(r)return{"transition-property":r}},{autocomplete:[`transition-property-(${[..._].join("|")})`,"transition-property-$transitionProperty","property-$transitionProperty"]}],["transition-none",{transition:"none"}],...W("transition"),["transition-discrete",{"transition-behavior":"allow-discrete"}],["transition-normal",{"transition-behavior":"normal"}]];var ra=[[/^text-(.+)$/,Gp,{autocomplete:"text-$fontSize"}],[/^(?:text|font)-size-(.+)$/,aa,{autocomplete:"text-size-$fontSize"}],[/^text-(?:color-)?(.+)$/,Kp,{autocomplete:"text-$colors"}],[/^(?:color|c)-(.+)$/,H("color","text","textColor"),{autocomplete:"(color|c)-$colors"}],[/^(?:text|color|c)-(.+)$/,([,e])=>_.includes(e)?{color:e}:void 0,{autocomplete:`(text|color|c)-(${_.join("|")})`}],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-opacity":d.bracket.percent.cssvar(e)}),{autocomplete:"(text|color|c)-(op|opacity)-<percent>"}],[/^(?:font|fw)-?([^-]+)$/,([,e],{theme:t})=>({"font-weight":t.fontWeight?.[e]||d.bracket.global.number(e)}),{autocomplete:["(font|fw)-(100|200|300|400|500|600|700|800|900)","(font|fw)-$fontWeight"]}],[/^(?:font-)?(?:leading|lh|line-height)-(.+)$/,([,e],{theme:t})=>({"line-height":io(e,t,"lineHeight")}),{autocomplete:"(leading|lh|line-height)-$lineHeight"}],["font-synthesis-weight",{"font-synthesis":"weight"}],["font-synthesis-style",{"font-synthesis":"style"}],["font-synthesis-small-caps",{"font-synthesis":"small-caps"}],["font-synthesis-none",{"font-synthesis":"none"}],[/^font-synthesis-(.+)$/,([,e])=>({"font-synthesis":d.bracket.cssvar.global(e)})],[/^(?:font-)?tracking-(.+)$/,([,e],{theme:t})=>({"letter-spacing":t.letterSpacing?.[e]||d.bracket.cssvar.global.rem(e)}),{autocomplete:"tracking-$letterSpacing"}],[/^(?:font-)?word-spacing-(.+)$/,([,e],{theme:t})=>({"word-spacing":t.wordSpacing?.[e]||d.bracket.cssvar.global.rem(e)}),{autocomplete:"word-spacing-$wordSpacing"}],["font-stretch-normal",{"font-stretch":"normal"}],["font-stretch-ultra-condensed",{"font-stretch":"ultra-condensed"}],["font-stretch-extra-condensed",{"font-stretch":"extra-condensed"}],["font-stretch-condensed",{"font-stretch":"condensed"}],["font-stretch-semi-condensed",{"font-stretch":"semi-condensed"}],["font-stretch-semi-expanded",{"font-stretch":"semi-expanded"}],["font-stretch-expanded",{"font-stretch":"expanded"}],["font-stretch-extra-expanded",{"font-stretch":"extra-expanded"}],["font-stretch-ultra-expanded",{"font-stretch":"ultra-expanded"}],[/^font-stretch-(.+)$/,([,e])=>({"font-stretch":d.bracket.cssvar.fraction.global(e)}),{autocomplete:"font-stretch-<percentage>"}],[/^font-(.+)$/,([,e],{theme:t})=>({"font-family":t.fontFamily?.[e]||d.bracket.cssvar.global(e)}),{autocomplete:"font-$fontFamily"}]],na=[[/^tab(?:-(.+))?$/,([,e])=>{let t=d.bracket.cssvar.global.number(e||"4");if(t!=null)return{"-moz-tab-size":t,"-o-tab-size":t,"tab-size":t}}]],oa=[[/^indent(?:-(.+))?$/,([,e],{theme:t})=>({"text-indent":t.textIndent?.[e||"DEFAULT"]||d.bracket.cssvar.global.fraction.rem(e)}),{autocomplete:"indent-$textIndent"}]],ia=[[/^text-stroke(?:-(.+))?$/,([,e],{theme:t})=>({"-webkit-text-stroke-width":t.textStrokeWidth?.[e||"DEFAULT"]||d.bracket.cssvar.px(e)}),{autocomplete:"text-stroke-$textStrokeWidth"}],[/^text-stroke-(.+)$/,H("-webkit-text-stroke-color","text-stroke","borderColor"),{autocomplete:"text-stroke-$colors"}],[/^text-stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-stroke-opacity":d.bracket.percent.cssvar(e)}),{autocomplete:"text-stroke-(op|opacity)-<percent>"}]],sa=[[/^text-shadow(?:-(.+))?$/,([,e],{theme:t})=>{let r=t.textShadow?.[e||"DEFAULT"];return r!=null?{"--un-text-shadow":br(r,"--un-text-shadow-color").join(","),"text-shadow":"var(--un-text-shadow)"}:{"text-shadow":d.bracket.cssvar.global(e)}},{autocomplete:"text-shadow-$textShadow"}],[/^text-shadow-color-(.+)$/,H("--un-text-shadow-color","text-shadow","shadowColor"),{autocomplete:"text-shadow-color-$colors"}],[/^text-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-shadow-opacity":d.bracket.percent.cssvar(e)}),{autocomplete:"text-shadow-color-(op|opacity)-<percent>"}]];function io(e,t,r){return t[r]?.[e]||d.bracket.cssvar.global.rem(e)}function aa([,e],{theme:t}){let n=C(t.fontSize?.[e])?.[0]??d.bracket.cssvar.global.rem(e);if(n!=null)return{"font-size":n}}function Kp(e,t){return ae(d.bracket(e[1]))?aa(e,t):H("color","text","textColor")(e,t)}function Gp([,e="base"],{theme:t}){let r=Yn(e,"length");if(!r)return;let[n,o]=r,i=C(t.fontSize?.[n]),s=o?io(o,t,"lineHeight"):void 0;if(i?.[0]){let[c,l,f]=i;return typeof l=="object"?{"font-size":c,...l}:{"font-size":c,"line-height":s??l??"1","letter-spacing":f?io(f,t,"letterSpacing"):void 0}}let a=d.bracketOfLength.rem(n);return s&&a?{"font-size":a,"line-height":s}:{"font-size":d.bracketOfLength.rem(e)}}var Hp={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"},ca=[[/^(.+?)-(\$.+)$/,([,e,t])=>{let r=Hp[e];if(r)return{[r]:d.cssvar(t)}}]],la=[[/^\[(.*)\]$/,([e,t])=>{if(!t.includes(":"))return;let[r,...n]=t.split(":"),o=n.join(":");if(!Yp(t)&&/^[\w-]+$/.test(r)&&qp(o)){let i=d.bracket(`[${o}]`);if(i)return{[r]:i}}}]];function qp(e){let t=0;function r(n){for(;t<e.length;)if(t+=1,e[t]===n)return!0;return!1}for(t=0;t<e.length;t++){let n=e[t];if("\"`'".includes(n)){if(!r(n))return!1}else if(n==="("){if(!r(")"))return!1}else if("[]{}:".includes(n))return!1}return!0}function Yp(e){if(!e.includes("://"))return!1;try{return new URL(e).host!==""}catch{return!1}}var fa=[ca,la,Cs,Rs,ks,ms,bs,ys,hs,ps,xs,Gs,vs,ws,Ns,Ds,fs,Qs,Ss,Ts,Es,Qi,to,eo,Qn,us,gs,ds,Vs,js,Os,rs,os,is,Hs,Ks,Ki,oa,Ps,Ni,ra,Ms,Fs,cs,_s,na,ia,sa,ns,Bs,Zi,Ws,ta,es,zs,As,ss,Ls,$s].flat(1);var ua={position:["relative","absolute","fixed","sticky","static"],globalKeyword:_};var so={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(so).forEach(e=>{typeof e!="string"&&e!==void 0&&(e.DEFAULT=e.DEFAULT||e[400],Object.keys(e).forEach(t=>{let r=+t/100;r===Math.round(r)&&(e[r]=e[t])}))});var pa={DEFAULT:"8px",0:"0",sm:"4px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},da={DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],sm:"0 1px 1px rgb(0 0 0 / 0.05)",md:["0 4px 3px rgb(0 0 0 / 0.07)","0 2px 2px rgb(0 0 0 / 0.06)"],lg:["0 10px 8px rgb(0 0 0 / 0.04)","0 4px 3px rgb(0 0 0 / 0.1)"],xl:["0 20px 13px rgb(0 0 0 / 0.03)","0 8px 5px rgb(0 0 0 / 0.08)"],"2xl":"0 25px 25px rgb(0 0 0 / 0.15)",none:"0 0 rgb(0 0 0 / 0)"};var ma={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(",")},ha={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"]},ga={DEFAULT:"1.5rem",xs:"0.5rem",sm:"1rem",md:"1.5rem",lg:"2rem",xl:"2.5rem","2xl":"3rem","3xl":"4rem"},ba={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},xa={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)"]},ya={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},ao={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},va={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},$a=ao;var co={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},wa={...co},ka={DEFAULT:"1px",none:"0"},Sa={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"},Ca={DEFAULT:"150ms",none:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},Ra={DEFAULT:"0.25rem",none:"0",sm:"0.125rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},Ea={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)"},Ta={DEFAULT:"3px",none:"0"},ja={auto:"auto"},za={mouse:"(hover) and (pointer: fine)"};var Aa={...oo,...no,...ro};var we={xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",prose:"65ch"},Oa={auto:"auto",...we,screen:"100vw"},lo={none:"none",...we,screen:"100vw"},Pa={auto:"auto",...we,screen:"100vb"},Va={auto:"auto",...we,screen:"100vi"},Ma={auto:"auto",...we,screen:"100vh"},fo={none:"none",...we,screen:"100vh"},uo={none:"none",...we,screen:"100vb"},po={none:"none",...we,screen:"100vi"},Fa={...we};var _a={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)"},La={none:"none",all:"all",colors:["color","background-color","border-color","text-decoration-color","fill","stroke"].join(","),opacity:"opacity",shadow:"box-shadow",transform:"transform",get DEFAULT(){return[this.colors,"opacity","box-shadow","transform","filter","backdrop-filter"].join(",")}};var Wa={width:Oa,height:Ma,maxWidth:lo,maxHeight:fo,minWidth:lo,minHeight:fo,inlineSize:Va,blockSize:Pa,maxInlineSize:po,maxBlockSize:uo,minInlineSize:po,minBlockSize:uo,colors:so,fontFamily:ma,fontSize:ha,fontWeight:va,breakpoints:co,verticalBreakpoints:wa,borderRadius:Ra,lineHeight:ya,letterSpacing:ao,wordSpacing:$a,boxShadow:Ea,textIndent:ga,textShadow:xa,textStrokeWidth:ba,blur:pa,dropShadow:da,easing:_a,transitionProperty:La,lineWidth:ka,spacing:Sa,duration:Ca,ringWidth:Ta,preflightBase:Aa,containers:Fa,zIndex:ja,media:za};var Ua={name:"aria",match(e,t){let r=O("aria-",e,t.generator.config.separators);if(r){let[n,o]=r,i=d.bracket(n)??t.theme.aria?.[n]??"";if(i)return{matcher:o,selector:s=>`${s}[aria-${i}]`}}},multiPass:!0};function Cr(e,t,r={}){return{name:`${e}-aria`,match(n,o){let i=O(`${e}-aria-`,n,o.generator.config.separators);if(i){let[s,a,c]=i,l=d.bracket(s)??o.theme.aria?.[s]??"";if(l){let f=!!r?.attributifyPseudo,p=r?.prefix??"";p=(Array.isArray(p)?p:[p]).filter(Boolean)[0]??"";let m=`${f?`[${p}${e}=""]`:`.${p}${e}`}`,h=J(c?`/${c}`:"");return{matcher:a,handle:(g,b)=>{let $=new RegExp(`${K(m)}${K(h)}(?:\\[.+?\\])+`),S=g.prefix.match($),y;if(S){let x=(S.index??0)+m.length+h.length;y=[g.prefix.slice(0,x),`[aria-${l}]`,g.prefix.slice(x)].join("")}else{let x=Math.max(g.prefix.indexOf(m),0);y=[g.prefix.slice(0,x),m,h,`[aria-${l}]`,t,g.prefix.slice(x)].join("")}return b({...g,prefix:y})}}}}},multiPass:!0}}function Xp(){return{name:"has-aria",match(e,t){let r=O("has-aria-",e,t.generator.config.separators);if(r){let[n,o]=r,i=d.bracket(n)??t.theme.aria?.[n]??"";if(i)return{matcher:o,handle:(s,a)=>a({...s,pseudo:`${s.pseudo}:has([aria-${i}])`})}}},multiPass:!0}}function Ba(e={}){return[Cr("group"," ",e),Cr("peer","~",e),Cr("parent",">",e),Cr("previous","+",e),Xp()]}var Ia=/(max|min)-\[([^\]]*)\]:/;function Da(){let e={};return{name:"breakpoints",match(t,r){if(Ia.test(t)){let o=t.match(Ia);return{matcher:t.replace(o[0],""),handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@media (${o[1]}-width: ${o[2]})`})}}let n=(yr(r)??[]).map(({point:o,size:i},s)=>[o,i,s]);for(let[o,i,s]of n){e[o]||(e[o]=new RegExp(`^((?:([al]t-|[<~]|max-))?${o}(?:${r.generator.config.separators.join("|")}))`));let a=t.match(e[o]);if(!a)continue;let[,c]=a,l=t.slice(c.length);if(l==="container")continue;let f=c.startsWith("lt-")||c.startsWith("<")||c.startsWith("max-"),p=c.startsWith("at-")||c.startsWith("~"),m=3e3;return f?(m-=s+1,{matcher:l,handle:(h,g)=>g({...h,parent:`${h.parent?`${h.parent} $$ `:""}@media (max-width: ${Ue(i)})`,parentOrder:m})}):(m+=s+1,p&&s<n.length-1?{matcher:l,handle:(h,g)=>g({...h,parent:`${h.parent?`${h.parent} $$ `:""}@media (min-width: ${i}) and (max-width: ${Ue(n[s+1][1])})`,parentOrder:m})}:{matcher:l,handle:(h,g)=>g({...h,parent:`${h.parent?`${h.parent} $$ `:""}@media (min-width: ${i})`,parentOrder:m})})}},multiPass:!0,autocomplete:"(at-|lt-|max-|)$breakpoints:"}}var Na=[N("*",e=>({selector:`${e.selector} > *`}),{order:-1})];function dt(e,t){return{name:`combinator:${e}`,match(r,n){if(!r.startsWith(e))return;let o=n.generator.config.separators,i=X(`${e}-`,r,o);if(!i){for(let a of o)if(r.startsWith(`${e}${a}`)){i=["",r.slice(e.length+a.length)];break}if(!i)return}let s=d.bracket(i[0])??"";return s===""&&(s="*"),{matcher:i[1],selector:a=>`${a}${t}${s}`}},multiPass:!0}}var Ka=[dt("all"," "),dt("children",">"),dt("next","+"),dt("sibling","+"),dt("siblings","~")];var Ga={name:"@",match(e,t){if(e.startsWith("@container"))return;let r=O("@",e,t.generator.config.separators);if(r){let[n,o,i]=r,s=d.bracket(n),a;if(s?a=d.numberWithUnit(s):a=t.theme.containers?.[n]??"",a){let c=1e3+Object.keys(t.theme.containers??{}).indexOf(n);return i&&(c+=1e3),{matcher:o,handle:(l,f)=>f({...l,parent:`${l.parent?`${l.parent} $$ `:""}@container${i?` ${i} `:" "}(min-width: ${a})`,parentOrder:c})}}}},multiPass:!0};function Ha(e={}){if(e?.dark==="class"||typeof e.dark=="object"){let{dark:t=".dark",light:r=".light"}=typeof e.dark=="string"?{}:e.dark;return[N("dark",C(t).map(n=>o=>({prefix:`${n} $$ ${o.prefix}`}))),N("light",C(r).map(n=>o=>({prefix:`${n} $$ ${o.prefix}`})))]}return[G("dark","@media (prefers-color-scheme: dark)"),G("light","@media (prefers-color-scheme: light)")]}var qa={name:"data",match(e,t){let r=O("data-",e,t.generator.config.separators);if(r){let[n,o]=r,i=d.bracket(n)??t.theme.data?.[n]??"";if(i)return{matcher:o,selector:s=>`${s}[data-${i}]`}}},multiPass:!0};function Rr(e,t,r={}){return{name:`${e}-data`,match(n,o){let i=O(`${e}-data-`,n,o.generator.config.separators);if(i){let[s,a,c]=i,l=d.bracket(s)??o.theme.data?.[s]??"";if(l){let f=!!r?.attributifyPseudo,p=r?.prefix??"";p=(Array.isArray(p)?p:[p]).filter(Boolean)[0]??"";let m=`${f?`[${p}${e}=""]`:`.${p}${e}`}`,h=J(c?`/${c}`:"");return{matcher:a,handle:(g,b)=>{let $=new RegExp(`${K(m)}${K(h)}(?:\\[.+?\\])+`),S=g.prefix.match($),y;if(S){let x=(S.index??0)+m.length+h.length;y=[g.prefix.slice(0,x),`[data-${l}]`,g.prefix.slice(x)].join("")}else{let x=Math.max(g.prefix.indexOf(m),0);y=[g.prefix.slice(0,x),m,h,`[data-${l}]`,t,g.prefix.slice(x)].join("")}return b({...g,prefix:y})}}}}},multiPass:!0}}function Zp(){return{name:"has-data",match(e,t){let r=O("has-data-",e,t.generator.config.separators);if(r){let[n,o]=r,i=d.bracket(n)??t.theme.data?.[n]??"";if(i)return{matcher:o,handle:(s,a)=>a({...s,pseudo:`${s.pseudo}:has([data-${i}])`})}}},multiPass:!0}}function Ya(e={}){return[Rr("group"," ",e),Rr("peer","~",e),Rr("parent",">",e),Rr("previous","+",e),Zp()]}var Xa=[N("rtl",e=>({prefix:`[dir="rtl"] $$ ${e.prefix}`})),N("ltr",e=>({prefix:`[dir="ltr"] $$ ${e.prefix}`}))];function Za(){let e;return{name:"important",match(t,r){e||(e=new RegExp(`^(important(?:${r.generator.config.separators.join("|")})|!)`));let n,o=t.match(e);if(o?n=t.slice(o[0].length):t.endsWith("!")&&(n=t.slice(0,-1)),n)return{matcher:n,body:i=>(i.forEach(s=>{s[1]!=null&&(s[1]+=" !important")}),i)}}}}var Ja=G("print","@media print"),Qa={name:"media",match(e,t){let r=O("media-",e,t.generator.config.separators);if(r){let[n,o]=r,i=d.bracket(n)??"";if(i===""&&(i=t.theme.media?.[n]??""),i)return{matcher:o,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@media ${i}`})}}},multiPass:!0};var ec={name:"selector",match(e,t){let r=X("selector-",e,t.generator.config.separators);if(r){let[n,o]=r,i=d.bracket(n);if(i)return{matcher:o,selector:()=>i}}}},tc={name:"layer",match(e,t){let r=O("layer-",e,t.generator.config.separators);if(r){let[n,o]=r,i=d.bracket(n)??n;if(i)return{matcher:o,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@layer ${i}`})}}}},rc={name:"uno-layer",match(e,t){let r=O("uno-layer-",e,t.generator.config.separators);if(r){let[n,o]=r,i=d.bracket(n)??n;if(i)return{matcher:o,layer:i}}}},nc={name:"scope",match(e,t){let r=X("scope-",e,t.generator.config.separators);if(r){let[n,o]=r,i=d.bracket(n);if(i)return{matcher:o,selector:s=>`${i} $$ ${s}`}}}},oc={name:"variables",match(e,t){if(!e.startsWith("["))return;let[r,n]=re(e,"[","]")??[];if(!(r&&n))return;let o;for(let a of t.generator.config.separators)if(n.startsWith(a)){o=n.slice(a.length);break}if(o==null)return;let i=d.bracket(r)??"",s=i.startsWith("@");if(s||i.includes("&"))return{matcher:o,handle(a,c){let l=s?{parent:`${a.parent?`${a.parent} $$ `:""}${i}`}:{selector:i.replace(/&/g,a.selector)};return c({...a,...l})}}},multiPass:!0},ic={name:"theme-variables",match(e,t){if(sr(e))return{matcher:e,handle(r,n){return n({...r,entries:JSON.parse(ar(JSON.stringify(r.entries),t.theme))})}}}};var sc=/^-?[0-9.]+(?:[a-z]+|%)?$/,ac=/-?[0-9.]+(?:[a-z]+|%)?/,Jp=[/\b(opacity|color|flex|backdrop-filter|^filter|transform)\b/];function Qp(e){let t=e.match(st)||e.match(dr);if(t){let[r,n]=pe(`(${t[2]})${t[3]}`,"(",")"," ")??[];if(r)return`calc(${t[1]}${r} * -1)${n?` ${n}`:""}`}}var ed=/\b(hue-rotate)\s*(\(.*)/;function td(e){let t=e.match(ed);if(t){let[r,n]=pe(t[2],"(",")"," ")??[];if(r){let o=sc.test(r.slice(1,-1))?r.replace(ac,i=>i.startsWith("-")?i.slice(1):`-${i}`):`(calc(${r} * -1))`;return`${t[1]}${o}${n?` ${n}`:""}`}}}var cc={name:"negative",match(e){if(e.startsWith("-"))return{matcher:e.slice(1),body:t=>{if(t.find(n=>n[0]===Yi))return;let r=!1;return t.forEach(n=>{let o=n[1]?.toString();if(!o||o==="0"||Jp.some(a=>a.test(n[0])))return;let i=Qp(o);if(i){n[1]=i,r=!0;return}let s=td(o);if(s){n[1]=s,r=!0;return}sc.test(o)&&(n[1]=o.replace(ac,a=>a.startsWith("-")?a.slice(1):`-${a}`),r=!0)}),r?t:[]}}}};function lc(){return lr({getBracket:re,h:d,variantGetBracket:X})}function fc(){return fr({getBracket:re,h:d,variantGetBracket:X})}function uc(e={}){return ur(e,{getBracket:re,h:d,variantGetBracket:X})}var pc=pr();var dc={name:"starting",match(e){if(e.startsWith("starting:"))return{matcher:e.slice(9),handle:(t,r)=>r({...t,parent:"@starting-style"})}}};var mc={name:"supports",match(e,t){let r=O("supports-",e,t.generator.config.separators);if(r){let[n,o]=r,i=d.bracket(n)??"";if(i===""&&(i=t.theme.supports?.[n]??""),i)return i.startsWith("(")&&i.endsWith(")")||(i=`(${i})`),{matcher:o,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@supports ${i}`})}}},multiPass:!0};function hc(e){return[Ua,qa,tc,ec,rc,cc,dc,Za(),mc,Ja,Qa,Da(),...Ka,...lc(),fc(),...uc(e),pc,...Ha(e),...Xa,nc,...Na,Ga,oc,...Ya(e),...Ba(e),ic]}var mo=(e={})=>(e.dark=e.dark??"class",e.attributifyPseudo=e.attributifyPseudo??!1,e.preflight=e.preflight??!0,e.variablePrefix=e.variablePrefix??"un-",{name:"@unocss/preset-mini",theme:Wa,rules:fa,variants:hc(e),options:e,prefix:e.prefix,postprocess:rd(e.variablePrefix),preflights:_i(e),extractorDefault:e.arbitraryVariants===!1?void 0:Fi(),autocomplete:{shorthands:ua}}),gc=mo;function rd(e){if(e!=="un-")return t=>{t.entries.forEach(r=>{r[0]=r[0].replace(/^--un-/,`--${e}`),typeof r[1]=="string"&&(r[1]=r[1].replace(/var\(--un-/g,`var(--${e}`))})}}function bc(e){if(e==null||e===!1)return[];let t=r=>r.startsWith(":is(")&&r.endsWith(")")?r:r.includes("::")?r.replace(/(.*?)((?:\s\*)?::.*)/,":is($1)$2"):`:is(${r})`;return[e===!0?r=>{r.entries.forEach(n=>{n[1]!=null&&!String(n[1]).endsWith("!important")&&(n[1]+=" !important")})}:r=>{r.selector.startsWith(e)||(r.selector=`${e} ${t(r.selector)}`)}]}function xc(e){return[...C(gc(e).postprocess),...bc(e.important)]}var Z={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"]},Er={...Z,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"]},Tr={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"]},kc={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},Sc=["x","y","z"],yc=["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"],q=Object.assign({},...yc.map(e=>({[e.replace(/ /,"-")]:e})),...yc.map(e=>({[e.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:e}))),M=["inherit","initial","revert","revert-layer","unset"],mt=/^(calc|clamp|min|max)\s*\((.+)\)(.*)/,jr=/^(var)\s*\((.+)\)(.*)/,zr=/^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i,Cc=/^(-?\d*(?:\.\d+)?)$/,Rc=/^(px|[sld]?v[wh])$/i,Ec={px:1,vw:100,vh:100,svw:100,svh:100,dvw:100,dvh:100,lvh:100,lvw:100},Tc=/^\[(color|image|length|size|position|quoted|string):/i,nd=/,(?![^()]*\))/g,od=["color","border-color","background-color","outline-color","text-decoration-color","flex-grow","flex","flex-shrink","caret-color","font","gap","opacity","visibility","z-index","font-weight","zoom","text-shadow","transform","box-shadow","border","background-position","left","right","top","bottom","object-position","max-height","min-height","max-width","min-width","height","width","border-width","margin","padding","outline-width","outline-offset","font-size","line-height","text-indent","vertical-align","border-spacing","letter-spacing","word-spacing","stroke","filter","backdrop-filter","fill","mask","mask-size","mask-border","clip-path","clip","border-radius"];function ce(e){return+e.toFixed(10)}function id(e){let t=e.match(zr);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(n&&!Number.isNaN(o))return`${ce(o)}${n}`}function sd(e){if(e==="auto"||e==="a")return"auto"}function ad(e){if(!e)return;if(Rc.test(e))return`${Ec[e]}${e}`;let t=e.match(zr);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0":n?`${ce(o)}${n}`:`${ce(o/4)}rem`}function cd(e){if(Rc.test(e))return`${Ec[e]}${e}`;let t=e.match(zr);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return n?`${ce(o)}${n}`:`${ce(o)}px`}function ld(e){if(!Cc.test(e))return;let t=Number.parseFloat(e);if(!Number.isNaN(t))return ce(t)}function fd(e){if(e.endsWith("%")&&(e=e.slice(0,-1)),!Cc.test(e))return;let t=Number.parseFloat(e);if(!Number.isNaN(t))return`${ce(t/100)}`}function ud(e){if(!e)return;if(e==="full")return"100%";let[t,r]=e.split("/"),n=Number.parseFloat(t)/Number.parseFloat(r);if(!Number.isNaN(n))return n===0?"0":`${ce(n*100)}%`}function Ar(e,t){if(e&&e.startsWith("[")&&e.endsWith("]")){let r,n,o=e.match(Tc);if(o?(t||(n=o[1]),r=e.slice(o[0].length,-1)):r=e.slice(1,-1),!r||r==='=""')return;r.startsWith("--")&&(r=`var(${r})`);let i=0;for(let s of r)if(s==="[")i+=1;else if(s==="]"&&(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,s=>s.replace(/_/g,"\\_")).replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_").replace(/(?:calc|clamp|max|min)\((.*)/g,s=>{let a=[];return s.replace(/var\((--.+?)[,)]/g,(c,l)=>(a.push(l),c.replace(l,"--un-calc"))).replace(/(-?\d*\.?\d(?!-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 ").replace(/--un-calc/g,()=>a.shift())})}}function pd(e){return Ar(e)}function dd(e){return Ar(e,"color")}function md(e){return Ar(e,"length")}function hd(e){return Ar(e,"position")}function gd(e){if(/^\$[^\s'"`;{}]/.test(e)){let[t,r]=e.slice(1).split(",");return`var(--${J(t)}${r?`, ${r}`:""})`}}function bd(e){let t=e.match(/^(-?[0-9.]+)(s|ms)?$/i);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0&&!n?"0s":n?`${ce(o)}${n}`:`${ce(o)}ms`}function xd(e){let t=e.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0":n?`${ce(o)}${n}`:`${ce(o)}deg`}function yd(e){if(M.includes(e))return e}function vd(e){if(e.split(",").every(t=>od.includes(t)))return e}function $d(e){if(["top","left","right","bottom","center"].includes(e))return e}var jc={__proto__:null,auto:sd,bracket:pd,bracketOfColor:dd,bracketOfLength:md,bracketOfPosition:hd,cssvar:gd,degree:xd,fraction:ud,global:yd,number:ld,numberWithUnit:id,percent:fd,position:$d,properties:vd,px:cd,rem:ad,time:bd},zc=cr(jc),u=zc,go="$$mini-no-negative";function L(e){return([t,r,n],{theme:o})=>{let i=o.spacing?.[n||"DEFAULT"]??u.bracket.cssvar.global.auto.fraction.rem(n);if(i!=null)return Z[r].map(s=>[`${e}${s}`,i]);if(n?.startsWith("-")){let s=o.spacing?.[n.slice(1)];if(s!=null)return Z[r].map(a=>[`${e}${a}`,`calc(${s} * -1)`])}}}function vc(e,t,r="colors"){let n=e[r],o=-1;for(let i of t){if(o+=1,n&&typeof n!="string"){let s=t.slice(o).join("-").replace(/(-[a-z])/g,a=>a.slice(1).toUpperCase());if(n[s])return n[s];if(n[i]){n=n[i];continue}}return}return n}function $c(e,t,r){return vc(e,t,r)||vc(e,t,"colors")}function Or(e,t){let[r,n]=pe(e,"[","]",["/",":"])??[];if(r!=null){let o=(r.match(Tc)??[])[1];if(o==null||o===t)return[r,n]}}function Ve(e,t,r){let n=Or(e,"color");if(!n)return;let[o,i]=n,s=o.replace(/([a-z])(\d)/g,"$1-$2").split(/-/g),[a]=s;if(!a)return;let c,l=u.bracketOfColor(o),f=l||o;if(u.numberWithUnit(f))return;if(/^#[\da-f]+$/i.test(f)?c=f:/^hex-[\da-fA-F]+$/.test(f)?c=`#${f.slice(4)}`:o.startsWith("$")&&(c=u.cssvar(o)),c=c||l,!c){let m=$c(t,[o],r);typeof m=="string"&&(c=m)}let p="DEFAULT";if(!c){let m=s,h,[g]=s.slice(-1);/^\d+$/.test(g)&&(p=h=g,m=s.slice(0,-1));let b=$c(t,m,r);typeof b=="object"?c=b[h??p]:typeof b=="string"&&!h&&(c=b)}return{opacity:i,name:a,no:p,color:c,cssColor:Y(c),alpha:u.bracket.cssvar.percent(i??"")}}function U(e,t,r,n){return([,o],{theme:i,generator:s})=>{let a=Ve(o??"",i,r);if(!a)return;let{alpha:c,color:l,cssColor:f}=a,m=s.config.envMode==="dev"&&l?` /* ${l} */`:"",h={};if(f)if(c!=null)h[e]=A(f,c)+m;else{let g=`--un-${t}-opacity`,b=A(f,`var(${g})`);b.includes(g)&&(h[g]=ie(f)),h[e]=b+m}else if(l)if(c!=null)h[e]=A(l,c)+m;else{let g=`--un-${t}-opacity`,b=A(l,`var(${g})`);b.includes(g)&&(h[g]=1),h[e]=b+m}if(n?.(h)!==!1)return h}}function Me(e,t){let r=[];e=C(e);for(let n=0;n<e.length;n++){let o=Ee(e[n]," ",6);if(!o||o.length<3)return e;let i=!1,s=o.indexOf("inset");s!==-1&&(o.splice(s,1),i=!0);let a="",c=o.at(-1);if(Y(o.at(0))){let l=Y(o.shift());l&&(a=`, ${A(l)}`)}else if(Y(c)){let l=Y(o.pop());l&&(a=`, ${A(l)}`)}else c&&jr.test(c)&&(a=`, ${o.pop()}`);r.push(`${i?"inset ":""}${o.join(" ")} var(${t}${a})`)}return r}function Fe(e,t,r){return e!=null&&!!Ve(e,t,r)?.color}var wc=/[a-z]+/gi,ho=new WeakMap;function Te({theme:e,generator:t},r="breakpoints"){let n=t?.userConfig?.theme?.[r]||e[r];if(!n)return;if(ho.has(e))return ho.get(e);let o=Object.entries(n).sort((i,s)=>Number.parseInt(i[1].replace(wc,""))-Number.parseInt(s[1].replace(wc,""))).map(([i,s])=>({point:i,size:s}));return ho.set(e,o),o}function w(e,t){return M.map(r=>[`${e}-${r}`,{[t??e]:r}])}function ke(e){return e!=null&&mt.test(e)}function bo(e){return e[0]==="["&&e.slice(-1)==="]"&&(e=e.slice(1,-1)),mt.test(e)||zr.test(e)}function ht(e,t,r){let n=t.split(nd);return e||!e&&n.length===1?kc[e].map(o=>[`--un-${r}${o}`,t]):n.map((o,i)=>[`--un-${r}-${Sc[i]}`,o])}var Ac=[[/^(?:animate-)?keyframes-(.+)$/,([,e],{theme:t})=>{let r=t.animation?.keyframes?.[e];if(r)return[`@keyframes ${e}${r}`,{animation:e}]},{autocomplete:["animate-keyframes-$animation.keyframes","keyframes-$animation.keyframes"]}],[/^animate-(.+)$/,([,e],{theme:t})=>{let r=t.animation?.keyframes?.[e];if(r){let n=t.animation?.durations?.[e]??"1s",o=t.animation?.timingFns?.[e]??"linear",i=t.animation?.counts?.[e]??1,s=t.animation?.properties?.[e];return[`@keyframes ${e}${r}`,{animation:`${e} ${n} ${o} ${i}`,...s}]}return{animation:u.bracket.cssvar(e)}},{autocomplete:"animate-$animation.keyframes"}],[/^animate-name-(.+)/,([,e])=>({"animation-name":u.bracket.cssvar(e)??e})],[/^animate-duration-(.+)$/,([,e],{theme:t})=>({"animation-duration":t.duration?.[e||"DEFAULT"]??u.bracket.cssvar.time(e)}),{autocomplete:["animate-duration","animate-duration-$duration"]}],[/^animate-delay-(.+)$/,([,e],{theme:t})=>({"animation-delay":t.duration?.[e||"DEFAULT"]??u.bracket.cssvar.time(e)}),{autocomplete:["animate-delay","animate-delay-$duration"]}],[/^animate-ease(?:-(.+))?$/,([,e],{theme:t})=>({"animation-timing-function":t.easing?.[e||"DEFAULT"]??u.bracket.cssvar(e)}),{autocomplete:["animate-ease","animate-ease-$easing"]}],[/^animate-(fill-mode-|fill-|mode-)?(.+)$/,([,e,t])=>["none","forwards","backwards","both",e?M:[]].includes(t)?{"animation-fill-mode":t}:void 0,{autocomplete:["animate-(fill|mode|fill-mode)","animate-(fill|mode|fill-mode)-(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)","animate-(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)"]}],[/^animate-(direction-)?(.+)$/,([,e,t])=>["normal","reverse","alternate","alternate-reverse",e?M:[]].includes(t)?{"animation-direction":t}:void 0,{autocomplete:["animate-direction","animate-direction-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)","animate-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)"]}],[/^animate-(?:iteration-count-|iteration-|count-)(.+)$/,([,e])=>({"animation-iteration-count":u.bracket.cssvar(e)??e.replace(/-/g,",")}),{autocomplete:["animate-(iteration|count|iteration-count)","animate-(iteration|count|iteration-count)-<num>"]}],[/^animate-(play-state-|play-|state-)?(.+)$/,([,e,t])=>["paused","running",e?M:[]].includes(t)?{"animation-play-state":t}:void 0,{autocomplete:["animate-(play|state|play-state)","animate-(play|state|play-state)-(paused|running|inherit|initial|revert|revert-layer|unset)","animate-(paused|running|inherit|initial|revert|revert-layer|unset)"]}],["animate-none",{animation:"none"}],...w("animate","animation")];function Oc(e){return e?A(e,0):"rgb(255 255 255 / 0)"}function wd(e,t,r,n){return t?n!=null?A(t,n):A(t,`var(--un-${e}-opacity, ${ie(t)})`):A(r,n)}function xo(){return([,e,t],{theme:r})=>{let n=Ve(t,r,"backgroundColor");if(!n)return;let{alpha:o,color:i,cssColor:s}=n;if(!i)return;let a=wd(e,s,i,o);switch(e){case"from":return{"--un-gradient-from-position":"0%","--un-gradient-from":`${a} var(--un-gradient-from-position)`,"--un-gradient-to-position":"100%","--un-gradient-to":`${Oc(s)} 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":Oc(s),"--un-gradient-stops":`var(--un-gradient-from), ${a} var(--un-gradient-via-position), var(--un-gradient-to)`};case"to":return{"--un-gradient-to-position":"100%","--un-gradient-to":`${a} var(--un-gradient-to-position)`}}}}function kd(){return([,e,t])=>({[`--un-gradient-${e}-position`]:`${Number(u.bracket.cssvar.percent(t))*100}%`})}var Pc=[[/^bg-gradient-(.+)$/,([,e])=>({"--un-gradient":u.bracket(e)}),{autocomplete:["bg-gradient","bg-gradient-(from|to|via)","bg-gradient-(from|to|via)-$colors","bg-gradient-(from|to|via)-(op|opacity)","bg-gradient-(from|to|via)-(op|opacity)-<percent>"]}],[/^(?:bg-gradient-)?stops-(\[.+\])$/,([,e])=>({"--un-gradient-stops":u.bracket(e)})],[/^(?:bg-gradient-)?(from)-(.+)$/,xo()],[/^(?:bg-gradient-)?(via)-(.+)$/,xo()],[/^(?:bg-gradient-)?(to)-(.+)$/,xo()],[/^(?:bg-gradient-)?(from|via|to)-op(?:acity)?-?(.+)$/,([,e,t])=>({[`--un-${e}-opacity`]:u.bracket.percent(t)})],[/^(from|via|to)-([\d.]+)%$/,kd()],[/^bg-gradient-((?:repeating-)?(?:linear|radial|conic))$/,([,e])=>({"background-image":`${e}-gradient(var(--un-gradient, var(--un-gradient-stops, rgb(255 255 255 / 0))))`}),{autocomplete:["bg-gradient-repeating","bg-gradient-(linear|radial|conic)","bg-gradient-repeating-(linear|radial|conic)"]}],[/^bg-gradient-to-([rltb]{1,2})$/,([,e])=>{if(e in q)return{"--un-gradient-shape":`to ${q[e]} in oklch`,"--un-gradient":"var(--un-gradient-shape), var(--un-gradient-stops)","background-image":"linear-gradient(var(--un-gradient))"}},{autocomplete:`bg-gradient-to-(${Object.keys(q).filter(e=>e.length<=2&&Array.from(e).every(t=>"rltb".includes(t))).join("|")})`}],[/^(?:bg-gradient-)?shape-(.+)$/,([,e])=>{let t=e in q?`to ${q[e]}`:u.bracket(e);if(t!=null)return{"--un-gradient-shape":`${t} in oklch`,"--un-gradient":"var(--un-gradient-shape), var(--un-gradient-stops)"}},{autocomplete:["bg-gradient-shape",`bg-gradient-shape-(${Object.keys(q).join("|")})`,`shape-(${Object.keys(q).join("|")})`]}],["bg-none",{"background-image":"none"}],["box-decoration-slice",{"box-decoration-break":"slice"}],["box-decoration-clone",{"box-decoration-break":"clone"}],...w("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(e=>[`bg-clip-${e}`,{"-webkit-background-clip":e,"background-clip":e}]),[/^bg-([-\w]{3,})$/,([,e])=>({"background-position":q[e]})],["bg-repeat",{"background-repeat":"repeat"}],["bg-no-repeat",{"background-repeat":"no-repeat"}],["bg-repeat-x",{"background-repeat":"repeat-x"}],["bg-repeat-y",{"background-repeat":"repeat-y"}],["bg-repeat-round",{"background-repeat":"round"}],["bg-repeat-space",{"background-repeat":"space"}],...w("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"}],...w("bg-origin","background-origin")];var yo={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"},Vc=[[/^list-(.+?)(?:-(outside|inside))?$/,([,e,t])=>{let r=yo[e];if(r)return t?{"list-style-position":t,"list-style-type":r}:{"list-style-type":r}},{autocomplete:[`list-(${Object.keys(yo).join("|")})`,`list-(${Object.keys(yo).join("|")})-(outside|inside)`]}],["list-outside",{"list-style-position":"outside"}],["list-inside",{"list-style-position":"inside"}],["list-none",{"list-style-type":"none"}],[/^list-image-(.+)$/,([,e])=>{if(/^\[url\(.+\)\]$/.test(e))return{"list-style-image":u.bracket(e)}}],["list-image-none",{"list-style-image":"none"}],...w("list","list-style-type")],Mc=[[/^accent-(.+)$/,U("accent-color","accent","accentColor"),{autocomplete:"accent-$colors"}],[/^accent-op(?:acity)?-?(.+)$/,([,e])=>({"--un-accent-opacity":u.bracket.percent(e)}),{autocomplete:["accent-(op|opacity)","accent-(op|opacity)-<percent>"]}]],Fc=[[/^caret-(.+)$/,U("caret-color","caret","textColor"),{autocomplete:"caret-$colors"}],[/^caret-op(?:acity)?-?(.+)$/,([,e])=>({"--un-caret-opacity":u.bracket.percent(e)}),{autocomplete:["caret-(op|opacity)","caret-(op|opacity)-<percent>"]}]],_c=[["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"]]]],Lc=[["overscroll-auto",{"overscroll-behavior":"auto"}],["overscroll-contain",{"overscroll-behavior":"contain"}],["overscroll-none",{"overscroll-behavior":"none"}],...w("overscroll","overscroll-behavior"),["overscroll-x-auto",{"overscroll-behavior-x":"auto"}],["overscroll-x-contain",{"overscroll-behavior-x":"contain"}],["overscroll-x-none",{"overscroll-behavior-x":"none"}],...w("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"}],...w("overscroll-y","overscroll-behavior-y")],Wc=[["scroll-auto",{"scroll-behavior":"auto"}],["scroll-smooth",{"scroll-behavior":"smooth"}],...w("scroll","scroll-behavior")];var Uc=[[/^columns-(.+)$/,([,e])=>({columns:u.bracket.global.number.auto.numberWithUnit(e)}),{autocomplete:"columns-<num>"}],["break-before-auto",{"break-before":"auto"}],["break-before-avoid",{"break-before":"avoid"}],["break-before-all",{"break-before":"all"}],["break-before-avoid-page",{"break-before":"avoid-page"}],["break-before-page",{"break-before":"page"}],["break-before-left",{"break-before":"left"}],["break-before-right",{"break-before":"right"}],["break-before-column",{"break-before":"column"}],...w("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"}],...w("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"}],...w("break-after")];var Sd=/@media \(min-width: (.+)\)/,Bc=[[/^__container$/,(e,t)=>{let{theme:r,variantHandlers:n}=t,o=r.container?.padding,i;F(o)?i=o:i=o?.DEFAULT;let s=r.container?.maxWidth,a;for(let l of n){let f=l.handle?.({},p=>p)?.parent;if(F(f)){let p=f.match(Sd)?.[1];if(p){let h=(Te(t)??[]).find(g=>g.size===p)?.point;s?h&&(a=s?.[h]):a=p,h&&!F(o)&&(i=o?.[h]??i)}}}let c={"max-width":a};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}]],Ic=[[/^(?:(\w+)[:-])?container$/,([,e],t)=>{let r=(Te(t)??[]).map(o=>o.point);if(e){if(!r.includes(e))return;r=r.slice(r.indexOf(e))}let n=r.map(o=>`${o}:__container`);return e||n.unshift("__container"),n}]];var Cd=["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"],Rd=["none","strict","content","size","inline-size","layout","style","paint"],z=" ",gt=[["inline",{display:"inline"}],["block",{display:"block"}],["inline-block",{display:"inline-block"}],["contents",{display:"contents"}],["flow-root",{display:"flow-root"}],["list-item",{display:"list-item"}],["hidden",{display:"none"}],[/^display-(.+)$/,([,e])=>({display:u.bracket.cssvar.global(e)})]],bt=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}],...w("backface","backface-visibility")],xt=[[/^cursor-(.+)$/,([,e])=>({cursor:u.bracket.cssvar.global(e)})],...Cd.map(e=>[`cursor-${e}`,{cursor:e}])],yt=[[/^contain-(.*)$/,([,e])=>u.bracket(e)!=null?{contain:u.bracket(e).split(" ").map(t=>u.cssvar.fraction(t)??t).join(" ")}:Rd.includes(e)?{contain:e}:void 0]],vt=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}],...w("pointer-events")],$t=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}],...w("resize")],wt=[["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"}],...w("select","user-select")],kt=[[/^(?:whitespace-|ws-)([-\w]+)$/,([,e])=>["normal","nowrap","pre","pre-line","pre-wrap","break-spaces",...M].includes(e)?{"white-space":e}:void 0,{autocomplete:"(whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)"}]],St=[[/^intrinsic-size-(.+)$/,([,e])=>({"contain-intrinsic-size":u.bracket.cssvar.global.fraction.rem(e)}),{autocomplete:"intrinsic-size-<num>"}],["content-visibility-visible",{"content-visibility":"visible"}],["content-visibility-hidden",{"content-visibility":"hidden"}],["content-visibility-auto",{"content-visibility":"auto"}],...w("content-visibility")],Ct=[[/^content-(.+)$/,([,e])=>({content:u.bracket.cssvar(e)})],["content-empty",{content:'""'}],["content-none",{content:"none"}]],Rt=[["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"}]],Et=[["text-wrap",{"text-wrap":"wrap"}],["text-nowrap",{"text-wrap":"nowrap"}],["text-balance",{"text-wrap":"balance"}],["text-pretty",{"text-wrap":"pretty"}]],Tt=[["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"}]],jt=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}],...w("case","text-transform")],zt=[["italic",{"font-style":"italic"}],["not-italic",{"font-style":"normal"}],["font-italic",{"font-style":"italic"}],["font-not-italic",{"font-style":"normal"}],["oblique",{"font-style":"oblique"}],["not-oblique",{"font-style":"normal"}],["font-oblique",{"font-style":"oblique"}],["font-not-oblique",{"font-style":"normal"}]],At=[["antialiased",{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"}],["subpixel-antialiased",{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"}]],Ot=[["field-sizing-fixed",{"field-sizing":"fixed"}],["field-sizing-content",{"field-sizing":"content"}]],Ge={"--un-ring-inset":z,"--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)"},Ed=Object.keys(Ge),Pt=[[/^ring(?:-(.+))?$/,([,e],{theme:t})=>{let r=t.ringWidth?.[e||"DEFAULT"]??u.px(e||"1");if(r)return{"--un-ring-width":r,"--un-ring-offset-shadow":"var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color)","--un-ring-shadow":"var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color)","box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"}},{custom:{preflightKeys:Ed},autocomplete:"ring-$ringWidth"}],[/^ring-(?:width-|size-)(.+)$/,Hc,{autocomplete:"ring-(width|size)-$lineWidth"}],["ring-offset",{"--un-ring-offset-width":"1px"}],[/^ring-offset-(?:width-|size-)?(.+)$/,([,e],{theme:t})=>({"--un-ring-offset-width":t.lineWidth?.[e]??u.bracket.cssvar.px(e)}),{autocomplete:"ring-offset-(width|size)-$lineWidth"}],[/^ring-(.+)$/,Td,{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-opacity":u.bracket.percent.cssvar(e)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^ring-offset-(.+)$/,U("--un-ring-offset-color","ring-offset","borderColor"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-offset-opacity":u.bracket.percent.cssvar(e)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]];function Hc([,e],{theme:t}){return{"--un-ring-width":t.ringWidth?.[e]??u.bracket.cssvar.px(e)}}function Td(e,t){return ke(u.bracket(e[1]))?Hc(e,t):U("--un-ring-color","ring","borderColor")(e,t)}var He={"--un-ring-offset-shadow":"0 0 rgb(0 0 0 / 0)","--un-ring-shadow":"0 0 rgb(0 0 0 / 0)","--un-shadow-inset":z,"--un-shadow":"0 0 rgb(0 0 0 / 0)"},jd=Object.keys(He),Vt=[[/^shadow(?:-(.+))?$/,(e,t)=>{let[,r]=e,{theme:n}=t,o=n.boxShadow?.[r||"DEFAULT"],i=r?u.bracket.cssvar(r):void 0;return(o!=null||i!=null)&&!Fe(i,n,"shadowColor")?{"--un-shadow":Me(o||i,"--un-shadow-color").join(","),"box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"}:U("--un-shadow-color","shadow","shadowColor")(e,t)},{custom:{preflightKeys:jd},autocomplete:["shadow-$colors","shadow-$boxShadow"]}],[/^shadow-op(?:acity)?-?(.+)$/,([,e])=>({"--un-shadow-opacity":u.bracket.percent.cssvar(e)}),{autocomplete:"shadow-(op|opacity)-<percent>"}],["shadow-inset",{"--un-shadow-inset":"inset"}]],Pr=["translate","rotate","scale"],zd=["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(" "),Ke=["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(" "),Ad=["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(" "),qe={"--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},xe=Object.keys(qe),Mt=[[/^(?:transform-)?origin-(.+)$/,([,e])=>({"transform-origin":q[e]??u.bracket.cssvar(e)}),{autocomplete:[`transform-origin-(${Object.keys(q).join("|")})`,`origin-(${Object.keys(q).join("|")})`]}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,e])=>{let t=u.bracket.cssvar.px.numberWithUnit(e);if(t!=null)return{"-webkit-perspective":t,perspective:t}}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,e])=>{let t=u.bracket.cssvar(e)??(e.length>=3?q[e]:void 0);if(t!=null)return{"-webkit-perspective-origin":t,"perspective-origin":t}}],[/^(?:transform-)?translate-()(.+)$/,Dc,{custom:{preflightKeys:xe}}],[/^(?:transform-)?translate-([xyz])-(.+)$/,Dc,{custom:{preflightKeys:xe}}],[/^(?:transform-)?rotate-()(.+)$/,Kc,{custom:{preflightKeys:xe}}],[/^(?:transform-)?rotate-([xyz])-(.+)$/,Kc,{custom:{preflightKeys:xe}}],[/^(?:transform-)?skew-()(.+)$/,Gc,{custom:{preflightKeys:xe}}],[/^(?:transform-)?skew-([xy])-(.+)$/,Gc,{custom:{preflightKeys:xe},autocomplete:["transform-skew-(x|y)-<percent>","skew-(x|y)-<percent>"]}],[/^(?:transform-)?scale-()(.+)$/,Nc,{custom:{preflightKeys:xe}}],[/^(?:transform-)?scale-([xyz])-(.+)$/,Nc,{custom:{preflightKeys:xe},autocomplete:[`transform-(${Pr.join("|")})-<percent>`,`transform-(${Pr.join("|")})-(x|y|z)-<percent>`,`(${Pr.join("|")})-<percent>`,`(${Pr.join("|")})-(x|y|z)-<percent>`]}],[/^(?:transform-)?preserve-3d$/,()=>({"transform-style":"preserve-3d"})],[/^(?:transform-)?preserve-flat$/,()=>({"transform-style":"flat"})],["transform",{transform:Ke},{custom:{preflightKeys:xe}}],["transform-cpu",{transform:zd},{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:Ad},{custom:{preflightKeys:xe}}],["transform-none",{transform:"none"}],...w("transform")];function Dc([,e,t],{theme:r}){let n=r.spacing?.[t]??u.bracket.cssvar.fraction.rem(t);if(n!=null)return[...ht(e,n,"translate"),["transform",Ke]]}function Nc([,e,t]){let r=u.bracket.cssvar.fraction.percent(t);if(r!=null)return[...ht(e,r,"scale"),["transform",Ke]]}function Kc([,e="",t]){let r=u.bracket.cssvar.degree(t);if(r!=null)return e?{"--un-rotate":0,[`--un-rotate-${e}`]:r,transform:Ke}:{"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-rotate":r,transform:Ke}}function Gc([,e,t]){let r=u.bracket.cssvar.degree(t);if(r!=null)return[...ht(e,r,"skew"),["transform",Ke]]}var qc={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(e=>[e,e]))},Fr=[[/^(?:vertical|align|v)-(.+)$/,([,e])=>({"vertical-align":qc[e]??u.bracket.cssvar.numberWithUnit(e)}),{autocomplete:[`(vertical|align|v)-(${Object.keys(qc).join("|")})`,"(vertical|align|v)-<percentage>"]}]],Yc=["center","left","right","justify","start","end"],_r=[...Yc.map(e=>[`text-${e}`,{"text-align":e}]),...[...M,...Yc].map(e=>[`text-align-${e}`,{"text-align":e}])],Lr=[[/^outline-(?:width-|size-)?(.+)$/,el,{autocomplete:"outline-(width|size)-<num>"}],[/^outline-(?:color-)?(.+)$/,Od,{autocomplete:"outline-$colors"}],[/^outline-offset-(.+)$/,([,e],{theme:t})=>({"outline-offset":t.lineWidth?.[e]??u.bracket.cssvar.global.px(e)}),{autocomplete:"outline-(offset)-<num>"}],["outline",{"outline-style":"solid"}],...["auto","dashed","dotted","double","hidden","solid","groove","ridge","inset","outset",...M].map(e=>[`outline-${e}`,{"outline-style":e}]),["outline-none",{outline:"2px solid transparent","outline-offset":"2px"}]];function el([,e],{theme:t}){return{"outline-width":t.lineWidth?.[e]??u.bracket.cssvar.global.px(e)}}function Od(e,t){return ke(u.bracket(e[1]))?el(e,t):U("outline-color","outline-color","borderColor")(e,t)}var Wr=[["appearance-auto",{"-webkit-appearance":"auto",appearance:"auto"}],["appearance-none",{"-webkit-appearance":"none",appearance:"none"}]];function Pd(e){return u.properties.auto.global(e)??{contents:"contents",scroll:"scroll-position"}[e]}var Ur=[[/^will-change-(.+)/,([,e])=>({"will-change":Pd(e)})]],je=["solid","dashed","dotted","double","hidden","none","groove","ridge","inset","outset",...M],Br=[[/^(?:border|b)()(?:-(.+))?$/,me,{autocomplete:"(border|b)-<directions>"}],[/^(?:border|b)-([xy])(?:-(.+))?$/,me],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,me],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,me],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,me],[/^(?:border|b)-()(?:width|size)-(.+)$/,me,{autocomplete:["(border|b)-<num>","(border|b)-<directions>-<num>"]}],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,me],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,me],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,me],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,me],[/^(?:border|b)-()(?:color-)?(.+)$/,Ft,{autocomplete:["(border|b)-$colors","(border|b)-<directions>-$colors"]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,Ft],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,Ft],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,Ft],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,Ft],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,_t,{autocomplete:"(border|b)-(op|opacity)-<percent>"}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,_t],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,_t],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,_t],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,_t],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,Lt,{autocomplete:["(border|b)-(rounded|rd)","(border|b)-(rounded|rd)-$borderRadius","(rounded|rd)","(rounded|rd)-$borderRadius"]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltbse])(?:-(.+))?$/,Lt],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,Lt],[/^(?:border-|b-)?(?:rounded|rd)-([bise][se])(?:-(.+))?$/,Lt],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,Lt],[/^(?:border|b)-(?:style-)?()(.+)$/,Ye,{autocomplete:["(border|b)-style",`(border|b)-(${je.join("|")})`,"(border|b)-<directions>-style",`(border|b)-<directions>-(${je.join("|")})`,`(border|b)-<directions>-style-(${je.join("|")})`,`(border|b)-style-(${je.join("|")})`]}],[/^(?:border|b)-([xy])-(?:style-)?(.+)$/,Ye],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,Ye],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,Ye],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,Ye]];function Xc(e,t,r){if(t!=null)return{[`border${r}-color`]:A(e,t)};if(r===""){let n={},o="--un-border-opacity",i=A(e,`var(${o})`);return i.includes(o)&&(n[o]=typeof e=="string"?1:ie(e)),n["border-color"]=i,n}else{let n={},o="--un-border-opacity",i=`--un-border${r}-opacity`,s=A(e,`var(${i})`);return s.includes(i)&&(n[o]=typeof e=="string"?1:ie(e),n[i]=`var(${o})`),n[`border${r}-color`]=s,n}}function Vd(e){return([,t],r)=>{let n=Ve(t,r,"borderColor");if(!n)return;let{alpha:o,color:i,cssColor:s}=n;if(s)return Xc(s,o,e);if(i)return Xc(i,o,e)}}function me([,e="",t],{theme:r}){let n=r.lineWidth?.[t||"DEFAULT"]??u.bracket.cssvar.global.px(t||"1");if(e in Z&&n!=null)return Z[e].map(o=>[`border${o}-width`,n])}function Ft([,e="",t],r){if(e in Z){if(ke(u.bracket(t)))return me(["",e,t],r);if(Fe(t,r.theme,"borderColor"))return Object.assign({},...Z[e].map(n=>Vd(n)(["",t],r.theme)))}}function _t([,e="",t]){let r=u.bracket.percent.cssvar(t);if(e in Z&&r!=null)return Z[e].map(n=>[`--un-border${n}-opacity`,r])}function Lt([,e="",t],{theme:r}){let n=r.borderRadius?.[t||"DEFAULT"]||u.bracket.cssvar.global.fraction.rem(t||"1");if(e in Tr&&n!=null)return Tr[e].map(o=>[`border${o}-radius`,n])}function Ye([,e="",t]){if(je.includes(t)&&e in Z)return Z[e].map(r=>[`border${r}-style`,t])}var Ir=[[/^op(?:acity)?-?(.+)$/,([,e])=>({opacity:u.bracket.percent.cssvar(e)})]],Md=/^\[url\(.+\)\]$/,Fd=/^\[(?:length|size):.+\]$/,_d=/^\[position:.+\]$/,Ld=/^\[(?:linear|conic|radial)-gradient\(.+\)\]$/,Wd=/^\[image:.+\]$/,Dr=[[/^bg-(.+)$/,(...e)=>{let t=e[0][1];if(Md.test(t))return{"--un-url":u.bracket(t),"background-image":"var(--un-url)"};if(Fd.test(t)&&u.bracketOfLength(t)!=null)return{"background-size":u.bracketOfLength(t).split(" ").map(r=>u.fraction.auto.px.cssvar(r)??r).join(" ")};if((bo(t)||_d.test(t))&&u.bracketOfPosition(t)!=null)return{"background-position":u.bracketOfPosition(t).split(" ").map(r=>u.position.fraction.auto.px.cssvar(r)??r).join(" ")};if(Ld.test(t)||Wd.test(t)){let r=u.bracket(t);if(r)return{"background-image":(r.startsWith("http")?`url(${r})`:u.cssvar(r))??r}}return U("background-color","bg","backgroundColor")(...e)},{autocomplete:"bg-$colors"}],[/^bg-op(?:acity)?-?(.+)$/,([,e])=>({"--un-bg-opacity":u.bracket.percent.cssvar(e)}),{autocomplete:"bg-(op|opacity)-<percent>"}]],Nr=[[/^color-scheme-(\w+)$/,([,e])=>({"color-scheme":e})]],Kr=[[/^@container(?:\/(\w+))?(?:-(normal|inline-size|size))?$/,([,e,t])=>({"container-type":t??"inline-size","container-name":e})]],Zc=["solid","double","dotted","dashed","wavy",...M],Gr=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,e])=>({"text-decoration-line":e}),{autocomplete:"decoration-(underline|overline|line-through)"}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,tl,{autocomplete:"(underline|decoration)-<num>"}],[/^(?:underline|decoration)-(auto|from-font)$/,([,e])=>({"text-decoration-thickness":e}),{autocomplete:"(underline|decoration)-(auto|from-font)"}],[/^(?:underline|decoration)-(.+)$/,Ud,{autocomplete:"(underline|decoration)-$colors"}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-line-opacity":u.bracket.percent.cssvar(e)}),{autocomplete:"(underline|decoration)-(op|opacity)-<percent>"}],[/^(?:underline|decoration)-offset-(.+)$/,([,e],{theme:t})=>({"text-underline-offset":t.lineWidth?.[e]??u.auto.bracket.cssvar.global.px(e)}),{autocomplete:"(underline|decoration)-(offset)-<num>"}],...Zc.map(e=>[`underline-${e}`,{"text-decoration-style":e}]),...Zc.map(e=>[`decoration-${e}`,{"text-decoration-style":e}]),["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];function tl([,e],{theme:t}){return{"text-decoration-thickness":t.lineWidth?.[e]??u.bracket.cssvar.global.px(e)}}function Ud(e,t){if(ke(u.bracket(e[1])))return tl(e,t);let r=U("text-decoration-color","line","borderColor")(e,t);if(r)return{"-webkit-text-decoration-color":r["text-decoration-color"],...r}}var Hr=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],[/^flex-(.*)$/,([,e])=>({flex:u.bracket(e)!=null?u.bracket(e).split(" ").map(t=>u.cssvar.fraction(t)??t).join(" "):u.cssvar.fraction(e)})],["flex-1",{flex:"1 1 0%"}],["flex-auto",{flex:"1 1 auto"}],["flex-initial",{flex:"0 1 auto"}],["flex-none",{flex:"none"}],[/^(?:flex-)?shrink(?:-(.*))?$/,([,e=""])=>({"flex-shrink":u.bracket.cssvar.number(e)??1}),{autocomplete:["flex-shrink-<num>","shrink-<num>"]}],[/^(?:flex-)?grow(?:-(.*))?$/,([,e=""])=>({"flex-grow":u.bracket.cssvar.number(e)??1}),{autocomplete:["flex-grow-<num>","grow-<num>"]}],[/^(?:flex-)?basis-(.+)$/,([,e],{theme:t})=>({"flex-basis":t.spacing?.[e]??u.bracket.cssvar.auto.fraction.rem(e)}),{autocomplete:["flex-basis-$spacing","basis-$spacing"]}],["flex-row",{"flex-direction":"row"}],["flex-row-reverse",{"flex-direction":"row-reverse"}],["flex-col",{"flex-direction":"column"}],["flex-col-reverse",{"flex-direction":"column-reverse"}],["flex-wrap",{"flex-wrap":"wrap"}],["flex-wrap-reverse",{"flex-wrap":"wrap-reverse"}],["flex-nowrap",{"flex-wrap":"nowrap"}]],Bd={"":"",x:"column-",y:"row-",col:"column-",row:"row-"};function vo([,e="",t],{theme:r}){let n=r.spacing?.[t]??u.bracket.cssvar.global.rem(t);if(n!=null)return{[`${Bd[e]}gap`]:n}}var qr=[[/^(?:flex-|grid-)?gap-?()(.+)$/,vo,{autocomplete:["gap-$spacing","gap-<num>"]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,vo,{autocomplete:["gap-(x|y)-$spacing","gap-(x|y)-<num>"]}],[/^(?:flex-|grid-)?gap-(col|row)-?(.+)$/,vo,{autocomplete:["gap-(col|row)-$spacing","gap-(col|row)-<num>"]}]];function ye(e){return e.replace("col","column")}function $o(e){return e[0]==="r"?"Row":"Column"}function Id(e,t,r){let n=t[`gridAuto${$o(e)}`]?.[r];if(n!=null)return n;switch(r){case"min":return"min-content";case"max":return"max-content";case"fr":return"minmax(0,1fr)"}return u.bracket.cssvar.auto.rem(r)}var Yr=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,e,t],{theme:r})=>({[`grid-${ye(e)}`]:r[`grid${$o(e)}`]?.[t]??u.bracket.cssvar.auto(t)})],[/^(?:grid-)?(row|col)-span-(.+)$/,([,e,t])=>{if(t==="full")return{[`grid-${ye(e)}`]:"1/-1"};let r=u.bracket.number(t);if(r!=null)return{[`grid-${ye(e)}`]:`span ${r}/span ${r}`}},{autocomplete:"(grid-row|grid-col|row|col)-span-<num>"}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,e,t])=>({[`grid-${ye(e)}-start`]:u.bracket.cssvar(t)??t})],[/^(?:grid-)?(row|col)-end-(.+)$/,([,e,t])=>({[`grid-${ye(e)}-end`]:u.bracket.cssvar(t)??t}),{autocomplete:"(grid-row|grid-col|row|col)-(start|end)-<num>"}],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,e,t],{theme:r})=>({[`grid-auto-${ye(e)}`]:Id(e,r,t)}),{autocomplete:"(grid-auto|auto)-(rows|cols)-<num>"}],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,e])=>({"grid-auto-flow":u.bracket.cssvar(e)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)$/,([,e])=>({"grid-auto-flow":ye(e).replace("-"," ")}),{autocomplete:["(grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)"]}],[/^(?:grid-)?(rows|cols)-(.+)$/,([,e,t],{theme:r})=>({[`grid-template-${ye(e)}`]:r[`gridTemplate${$o(e)}`]?.[t]??u.bracket.cssvar(t)})],[/^(?:grid-)?(rows|cols)-minmax-([\w.-]+)$/,([,e,t])=>({[`grid-template-${ye(e)}`]:`repeat(auto-fill,minmax(${t},1fr))`})],[/^(?:grid-)?(rows|cols)-(\d+)$/,([,e,t])=>({[`grid-template-${ye(e)}`]:`repeat(${t},minmax(0,1fr))`}),{autocomplete:"(grid-rows|grid-cols|rows|cols)-<num>"}],[/^grid-area(s)?-(.+)$/,([,e,t])=>e!=null?{"grid-template-areas":u.cssvar(t)??t.split("-").map(r=>`"${u.bracket(r)}"`).join(" ")}:{"grid-area":u.bracket.cssvar(t)}],["grid-rows-none",{"grid-template-rows":"none"}],["grid-cols-none",{"grid-template-columns":"none"}],["grid-rows-subgrid",{"grid-template-rows":"subgrid"}],["grid-cols-subgrid",{"grid-template-columns":"subgrid"}]],Vr=["auto","hidden","clip","visible","scroll","overlay",...M],Xr=[[/^(?:overflow|of)-(.+)$/,([,e])=>Vr.includes(e)?{overflow:e}:void 0,{autocomplete:[`(overflow|of)-(${Vr.join("|")})`,`(overflow|of)-(x|y)-(${Vr.join("|")})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,e,t])=>Vr.includes(t)?{[`overflow-${e}`]:t}:void 0]],Zr=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,e])=>({position:e}),{autocomplete:["(position|pos)-<position>","(position|pos)-<globalKeyword>","<position>"]}],[/^(?:position-|pos-)([-\w]+)$/,([,e])=>M.includes(e)?{position:e}:void 0],[/^(?:position-|pos-)?(static)$/,([,e])=>({position:e})]],Ut=[["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"}],...w("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"}],...w("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"}],...w("justify-self")],Jr=[[/^order-(.+)$/,([,e])=>({order:u.bracket.cssvar.number(e)})],["order-first",{order:"-9999"}],["order-last",{order:"9999"}],["order-none",{order:"0"}]],Bt=[["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"}],...w("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"}],...w("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"}],...w("self","align-self")],It=[["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"}],...w("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"}],...w("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"}],...w("place-self")],Qr=[...Ut,...Bt,...It].flatMap(([e,t])=>[[`flex-${e}`,t],[`grid-${e}`,t]]);function wo(e,{theme:t}){return t.spacing?.[e]??u.bracket.cssvar.global.auto.fraction.rem(e)}function Wt([,e,t],r){let n=wo(t,r);if(n!=null&&e in Er)return Er[e].map(o=>[o.slice(1),n])}var en=[[/^(?:position-|pos-)?inset-(.+)$/,([,e],t)=>({inset:wo(e,t)}),{autocomplete:["(position|pos)-inset-<directions>-$spacing","(position|pos)-inset-(block|inline)-$spacing","(position|pos)-inset-(bs|be|is|ie)-$spacing","(position|pos)-(top|left|right|bottom)-$spacing"]}],[/^(?:position-|pos-)?(start|end)-(.+)$/,Wt],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,Wt],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,Wt],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,Wt],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,Wt],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,e,t],r)=>({[e]:wo(t,r)})]],tn=[["float-left",{float:"left"}],["float-right",{float:"right"}],["float-start",{float:"inline-start"}],["float-end",{float:"inline-end"}],["float-none",{float:"none"}],...w("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"}],...w("clear")],rn=[[/^(?:position-|pos-)?z([\d.]+)$/,([,e])=>({"z-index":u.number(e)})],[/^(?:position-|pos-)?z-(.+)$/,([,e],{theme:t})=>({"z-index":t.zIndex?.[e]??u.bracket.cssvar.global.auto.number(e)}),{autocomplete:"z-<num>"}]],nn=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}],...w("box","box-sizing")],on=[[/^(where|\?)$/,(e,{constructCSS:t,generator:r})=>{if(r.userConfig.envMode==="dev")return`@keyframes __un_qm{0%{box-shadow:inset 4px 4px #ff1e90, inset -4px -4px #ff1e90}100%{box-shadow:inset 8px 8px #3399ff, inset -8px -8px #3399ff}} ${t({animation:"__un_qm 0.5s ease-in-out alternate infinite"})}`}]],Dd={h:"height",w:"width",inline:"inline-size",block:"block-size"};function _e(e,t){return`${e||""}${Dd[t]}`}function Mr(e,t,r,n){let o=_e(e,t).replace(/-(\w)/g,(s,a)=>a.toUpperCase()),i=r[o]?.[n];if(i!=null)return i;switch(n){case"fit":case"max":case"min":return`${n}-content`}return u.bracket.cssvar.global.auto.fraction.rem(n)}var sn=[[/^size-(min-|max-)?(.+)$/,([,e,t],{theme:r})=>({[_e(e,"w")]:Mr(e,"w",r,t),[_e(e,"h")]:Mr(e,"h",r,t)})],[/^(?:size-)?(min-|max-)?([wh])-?(.+)$/,([,e,t,r],{theme:n})=>({[_e(e,t)]:Mr(e,t,n,r)})],[/^(?:size-)?(min-|max-)?(block|inline)-(.+)$/,([,e,t,r],{theme:n})=>({[_e(e,t)]:Mr(e,t,n,r)}),{autocomplete:["(w|h)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(max|min)-(w|h|block|inline)","(max|min)-(w|h|block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(w|h)-full","(max|min)-(w|h)-full"]}],[/^(?:size-)?(min-|max-)?(h)-screen-(.+)$/,([,e,t,r],n)=>({[_e(e,t)]:Jc(n,r,"verticalBreakpoints")})],[/^(?:size-)?(min-|max-)?(w)-screen-(.+)$/,([,e,t,r],n)=>({[_e(e,t)]:Jc(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 Jc(e,t,r="breakpoints"){let n=Te(e,r);if(n)return n.find(o=>o.point===t)?.size}function Nd(e){if(/^\d+\/\d+$/.test(e))return e;switch(e){case"square":return"1/1";case"video":return"16/9"}return u.bracket.cssvar.global.auto.number(e)}var an=[[/^(?:size-)?aspect-(?:ratio-)?(.+)$/,([,e])=>({"aspect-ratio":Nd(e)}),{autocomplete:["aspect-(square|video|ratio)","aspect-ratio-(square|video)"]}]],cn=[[/^pa?()-?(.+)$/,L("padding"),{autocomplete:["(m|p)<num>","(m|p)-<num>"]}],[/^p-?xy()()$/,L("padding"),{autocomplete:"(m|p)-(xy)"}],[/^p-?([xy])(?:-?(.+))?$/,L("padding")],[/^p-?([rltbse])(?:-?(.+))?$/,L("padding"),{autocomplete:"(m|p)<directions>-<num>"}],[/^p-(block|inline)(?:-(.+))?$/,L("padding"),{autocomplete:"(m|p)-(block|inline)-<num>"}],[/^p-?([bi][se])(?:-?(.+))?$/,L("padding"),{autocomplete:"(m|p)-(bs|be|is|ie)-<num>"}]],ln=[[/^ma?()-?(.+)$/,L("margin")],[/^m-?xy()()$/,L("margin")],[/^m-?([xy])(?:-?(.+))?$/,L("margin")],[/^m-?([rltbse])(?:-?(.+))?$/,L("margin")],[/^m-(block|inline)(?:-(.+))?$/,L("margin")],[/^m-?([bi][se])(?:-?(.+))?$/,L("margin")]],fn=[[/^fill-(.+)$/,U("fill","fill","backgroundColor"),{autocomplete:"fill-$colors"}],[/^fill-op(?:acity)?-?(.+)$/,([,e])=>({"--un-fill-opacity":u.bracket.percent.cssvar(e)}),{autocomplete:"fill-(op|opacity)-<percent>"}],["fill-none",{fill:"none"}],[/^stroke-(?:width-|size-)?(.+)$/,rl,{autocomplete:["stroke-width-$lineWidth","stroke-size-$lineWidth"]}],[/^stroke-dash-(.+)$/,([,e])=>({"stroke-dasharray":u.bracket.cssvar.number(e)}),{autocomplete:"stroke-dash-<num>"}],[/^stroke-offset-(.+)$/,([,e],{theme:t})=>({"stroke-dashoffset":t.lineWidth?.[e]??u.bracket.cssvar.px.numberWithUnit(e)}),{autocomplete:"stroke-offset-$lineWidth"}],[/^stroke-(.+)$/,Kd,{autocomplete:"stroke-$colors"}],[/^stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-stroke-opacity":u.bracket.percent.cssvar(e)}),{autocomplete:"stroke-(op|opacity)-<percent>"}],["stroke-cap-square",{"stroke-linecap":"square"}],["stroke-cap-round",{"stroke-linecap":"round"}],["stroke-cap-auto",{"stroke-linecap":"butt"}],["stroke-join-arcs",{"stroke-linejoin":"arcs"}],["stroke-join-bevel",{"stroke-linejoin":"bevel"}],["stroke-join-clip",{"stroke-linejoin":"miter-clip"}],["stroke-join-round",{"stroke-linejoin":"round"}],["stroke-join-auto",{"stroke-linejoin":"miter"}],["stroke-none",{stroke:"none"}]];function rl([,e],{theme:t}){return{"stroke-width":t.lineWidth?.[e]??u.bracket.cssvar.fraction.px.number(e)}}function Kd(e,t){return ke(u.bracket(e[1]))?rl(e,t):U("stroke","stroke","borderColor")(e,t)}function Qc(e,t){let r;if(u.cssvar(e)!=null)r=u.cssvar(e);else{e.startsWith("[")&&e.endsWith("]")&&(e=e.slice(1,-1));let n=e.split(",").map(o=>t.transitionProperty?.[o]??u.properties(o));n.every(Boolean)&&(r=n.join(","))}return r}var un=[[/^transition(?:-(\D+?))?(?:-(\d+))?$/,([,e,t],{theme:r})=>{if(!e&&!t)return{"transition-property":r.transitionProperty?.DEFAULT,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":r.duration?.DEFAULT??u.time("150")};if(e!=null){let n=Qc(e,r),o=r.duration?.[t||"DEFAULT"]??u.time(t||"150");if(n)return{"transition-property":n,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":o}}else if(t!=null)return{"transition-property":r.transitionProperty?.DEFAULT,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":r.duration?.[t]??u.time(t)}},{autocomplete:"transition-$transitionProperty-$duration"}],[/^(?:transition-)?duration-(.+)$/,([,e],{theme:t})=>({"transition-duration":t.duration?.[e||"DEFAULT"]??u.bracket.cssvar.time(e)}),{autocomplete:["transition-duration-$duration","duration-$duration"]}],[/^(?:transition-)?delay-(.+)$/,([,e],{theme:t})=>({"transition-delay":t.duration?.[e||"DEFAULT"]??u.bracket.cssvar.time(e)}),{autocomplete:["transition-delay-$duration","delay-$duration"]}],[/^(?:transition-)?ease(?:-(.+))?$/,([,e],{theme:t})=>({"transition-timing-function":t.easing?.[e||"DEFAULT"]??u.bracket.cssvar(e)}),{autocomplete:["transition-ease-(linear|in|out|in-out|DEFAULT)","ease-(linear|in|out|in-out|DEFAULT)"]}],[/^(?:transition-)?property-(.+)$/,([,e],{theme:t})=>{let r=u.global(e)||Qc(e,t);if(r)return{"transition-property":r}},{autocomplete:[`transition-property-(${[...M].join("|")})`,"transition-property-$transitionProperty","property-$transitionProperty"]}],["transition-none",{transition:"none"}],...w("transition"),["transition-discrete",{"transition-behavior":"allow-discrete"}],["transition-normal",{"transition-behavior":"normal"}]],pn=[[/^text-(.+)$/,Hd,{autocomplete:"text-$fontSize"}],[/^(?:text|font)-size-(.+)$/,nl,{autocomplete:"text-size-$fontSize"}],[/^text-(?:color-)?(.+)$/,Gd,{autocomplete:"text-$colors"}],[/^(?:color|c)-(.+)$/,U("color","text","textColor"),{autocomplete:"(color|c)-$colors"}],[/^(?:text|color|c)-(.+)$/,([,e])=>M.includes(e)?{color:e}:void 0,{autocomplete:`(text|color|c)-(${M.join("|")})`}],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-opacity":u.bracket.percent.cssvar(e)}),{autocomplete:"(text|color|c)-(op|opacity)-<percent>"}],[/^(?:font|fw)-?([^-]+)$/,([,e],{theme:t})=>({"font-weight":t.fontWeight?.[e]||u.bracket.global.number(e)}),{autocomplete:["(font|fw)-(100|200|300|400|500|600|700|800|900)","(font|fw)-$fontWeight"]}],[/^(?:font-)?(?:leading|lh|line-height)-(.+)$/,([,e],{theme:t})=>({"line-height":ko(e,t,"lineHeight")}),{autocomplete:"(leading|lh|line-height)-$lineHeight"}],["font-synthesis-weight",{"font-synthesis":"weight"}],["font-synthesis-style",{"font-synthesis":"style"}],["font-synthesis-small-caps",{"font-synthesis":"small-caps"}],["font-synthesis-none",{"font-synthesis":"none"}],[/^font-synthesis-(.+)$/,([,e])=>({"font-synthesis":u.bracket.cssvar.global(e)})],[/^(?:font-)?tracking-(.+)$/,([,e],{theme:t})=>({"letter-spacing":t.letterSpacing?.[e]||u.bracket.cssvar.global.rem(e)}),{autocomplete:"tracking-$letterSpacing"}],[/^(?:font-)?word-spacing-(.+)$/,([,e],{theme:t})=>({"word-spacing":t.wordSpacing?.[e]||u.bracket.cssvar.global.rem(e)}),{autocomplete:"word-spacing-$wordSpacing"}],["font-stretch-normal",{"font-stretch":"normal"}],["font-stretch-ultra-condensed",{"font-stretch":"ultra-condensed"}],["font-stretch-extra-condensed",{"font-stretch":"extra-condensed"}],["font-stretch-condensed",{"font-stretch":"condensed"}],["font-stretch-semi-condensed",{"font-stretch":"semi-condensed"}],["font-stretch-semi-expanded",{"font-stretch":"semi-expanded"}],["font-stretch-expanded",{"font-stretch":"expanded"}],["font-stretch-extra-expanded",{"font-stretch":"extra-expanded"}],["font-stretch-ultra-expanded",{"font-stretch":"ultra-expanded"}],[/^font-stretch-(.+)$/,([,e])=>({"font-stretch":u.bracket.cssvar.fraction.global(e)}),{autocomplete:"font-stretch-<percentage>"}],[/^font-(.+)$/,([,e],{theme:t})=>({"font-family":t.fontFamily?.[e]||u.bracket.cssvar.global(e)}),{autocomplete:"font-$fontFamily"}]],dn=[[/^tab(?:-(.+))?$/,([,e])=>{let t=u.bracket.cssvar.global.number(e||"4");if(t!=null)return{"-moz-tab-size":t,"-o-tab-size":t,"tab-size":t}}]],mn=[[/^indent(?:-(.+))?$/,([,e],{theme:t})=>({"text-indent":t.textIndent?.[e||"DEFAULT"]||u.bracket.cssvar.global.fraction.rem(e)}),{autocomplete:"indent-$textIndent"}]],hn=[[/^text-stroke(?:-(.+))?$/,([,e],{theme:t})=>({"-webkit-text-stroke-width":t.textStrokeWidth?.[e||"DEFAULT"]||u.bracket.cssvar.px(e)}),{autocomplete:"text-stroke-$textStrokeWidth"}],[/^text-stroke-(.+)$/,U("-webkit-text-stroke-color","text-stroke","borderColor"),{autocomplete:"text-stroke-$colors"}],[/^text-stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-stroke-opacity":u.bracket.percent.cssvar(e)}),{autocomplete:"text-stroke-(op|opacity)-<percent>"}]],gn=[[/^text-shadow(?:-(.+))?$/,([,e],{theme:t})=>{let r=t.textShadow?.[e||"DEFAULT"];return r!=null?{"--un-text-shadow":Me(r,"--un-text-shadow-color").join(","),"text-shadow":"var(--un-text-shadow)"}:{"text-shadow":u.bracket.cssvar.global(e)}},{autocomplete:"text-shadow-$textShadow"}],[/^text-shadow-color-(.+)$/,U("--un-text-shadow-color","text-shadow","shadowColor"),{autocomplete:"text-shadow-color-$colors"}],[/^text-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-shadow-opacity":u.bracket.percent.cssvar(e)}),{autocomplete:"text-shadow-color-(op|opacity)-<percent>"}]];function ko(e,t,r){return t[r]?.[e]||u.bracket.cssvar.global.rem(e)}function nl([,e],{theme:t}){let n=C(t.fontSize?.[e])?.[0]??u.bracket.cssvar.global.rem(e);if(n!=null)return{"font-size":n}}function Gd(e,t){return ke(u.bracket(e[1]))?nl(e,t):U("color","text","textColor")(e,t)}function Hd([,e="base"],{theme:t}){let r=Or(e,"length");if(!r)return;let[n,o]=r,i=C(t.fontSize?.[n]),s=o?ko(o,t,"lineHeight"):void 0;if(i?.[0]){let[c,l,f]=i;return typeof l=="object"?{"font-size":c,...l}:{"font-size":c,"line-height":s??l??"1","letter-spacing":f?ko(f,t,"letterSpacing"):void 0}}let a=u.bracketOfLength.rem(n);return s&&a?{"font-size":a,"line-height":s}:{"font-size":u.bracketOfLength.rem(e)}}var qd={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"},bn=[[/^(.+?)-(\$.+)$/,([,e,t])=>{let r=qd[e];if(r)return{[r]:u.cssvar(t)}}]],xn=[[/^\[(.*)\]$/,([e,t])=>{if(!t.includes(":"))return;let[r,...n]=t.split(":"),o=n.join(":");if(!Xd(t)&&/^[\w-]+$/.test(r)&&Yd(o)){let i=u.bracket(`[${o}]`);if(i)return{[r]:i}}}]];function Yd(e){let t=0;function r(n){for(;t<e.length;)if(t+=1,e[t]===n)return!0;return!1}for(t=0;t<e.length;t++){let n=e[t];if("\"`'".includes(n)){if(!r(n))return!1}else if(n==="("){if(!r(")"))return!1}else if("[]{}:".includes(n))return!1}return!0}function Xd(e){if(!e.includes("://"))return!1;try{return new URL(e).host!==""}catch{return!1}}var Zd=[bn,xn,yt,vt,bt,Zr,en,rn,Jr,Yr,tn,ln,nn,gt,an,sn,Hr,Mt,xt,wt,$t,Wr,It,Bt,Ut,qr,Qr,Xr,Tt,kt,Rt,Br,Dr,Nr,fn,cn,_r,mn,Et,Fr,pn,jt,zt,Gr,At,dn,hn,gn,Ir,Vt,Lr,Pt,un,Ur,St,Ct,Kr,Ot,on].flat(1);var ol=[[/^divide-?([xy])$/,yn,{autocomplete:["divide-(x|y|block|inline)","divide-(x|y|block|inline)-reverse","divide-(x|y|block|inline)-$lineWidth"]}],[/^divide-?([xy])-?(.+)$/,yn],[/^divide-?([xy])-reverse$/,([,e])=>({[`--un-divide-${e}-reverse`]:1})],[/^divide-(block|inline)$/,yn],[/^divide-(block|inline)-(.+)$/,yn],[/^divide-(block|inline)-reverse$/,([,e])=>({[`--un-divide-${e}-reverse`]:1})],[/^divide-(.+)$/,U("border-color","divide","borderColor"),{autocomplete:"divide-$colors"}],[/^divide-op(?:acity)?-?(.+)$/,([,e])=>({"--un-divide-opacity":u.bracket.percent(e)}),{autocomplete:["divide-(op|opacity)","divide-(op|opacity)-<percent>"]}],...je.map(e=>[`divide-${e}`,{"border-style":e}])];function yn([,e,t],{theme:r}){let n=r.lineWidth?.[t||"DEFAULT"]??u.bracket.cssvar.px(t||"1");if(n!=null){n==="0"&&(n="0px");let o=Z[e].map(i=>{let s=`border${i}-width`,a=i.endsWith("right")||i.endsWith("bottom")?`calc(${n} * var(--un-divide-${e}-reverse))`:`calc(${n} * calc(1 - var(--un-divide-${e}-reverse)))`;return[s,a]});if(o)return[[`--un-divide-${e}-reverse`,0],...o]}}var Co={"--un-blur":z,"--un-brightness":z,"--un-contrast":z,"--un-drop-shadow":z,"--un-grayscale":z,"--un-hue-rotate":z,"--un-invert":z,"--un-saturate":z,"--un-sepia":z},sl=Object.keys(Co),il={preflightKeys:sl},vn="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)",Ro={"--un-backdrop-blur":z,"--un-backdrop-brightness":z,"--un-backdrop-contrast":z,"--un-backdrop-grayscale":z,"--un-backdrop-hue-rotate":z,"--un-backdrop-invert":z,"--un-backdrop-opacity":z,"--un-backdrop-saturate":z,"--un-backdrop-sepia":z},al=Object.keys(Ro),Qd={preflightKeys:al},$n="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)",Se={preflightKeys:[...sl,...al]};function So(e){let t=u.bracket.cssvar(e||"");if(t!=null||(t=e?u.percent(e):"1",t!=null&&Number.parseFloat(t)<=1))return t}function Ce(e,t){return([,r,n],{theme:o})=>{let i=t(n,o)??(n==="none"?"0":"");if(i!=="")return r?{[`--un-${r}${e}`]:`${e}(${i})`,"-webkit-backdrop-filter":$n,"backdrop-filter":$n}:{[`--un-${e}`]:`${e}(${i})`,filter:vn}}}function em([,e],{theme:t}){let r=t.dropShadow?.[e||"DEFAULT"];if(r!=null)return{"--un-drop-shadow":`drop-shadow(${Me(r,"--un-drop-shadow-color").join(") drop-shadow(")})`,filter:vn};if(r=u.bracket.cssvar(e),r!=null)return{"--un-drop-shadow":`drop-shadow(${r})`,filter:vn}}var cl=[[/^(?:(backdrop-)|filter-)?blur(?:-(.+))?$/,Ce("blur",(e,t)=>t.blur?.[e||"DEFAULT"]||u.bracket.cssvar.px(e)),{custom:Se,autocomplete:["(backdrop|filter)-blur-$blur","blur-$blur","filter-blur"]}],[/^(?:(backdrop-)|filter-)?brightness-(.+)$/,Ce("brightness",e=>u.bracket.cssvar.percent(e)),{custom:Se,autocomplete:["(backdrop|filter)-brightness-<percent>","brightness-<percent>"]}],[/^(?:(backdrop-)|filter-)?contrast-(.+)$/,Ce("contrast",e=>u.bracket.cssvar.percent(e)),{custom:Se,autocomplete:["(backdrop|filter)-contrast-<percent>","contrast-<percent>"]}],[/^(?:filter-)?drop-shadow(?:-(.+))?$/,em,{custom:il,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-(.+)$/,U("--un-drop-shadow-color","drop-shadow","shadowColor")],[/^(?:filter-)?drop-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-drop-shadow-opacity":u.bracket.percent(e)})],[/^(?:(backdrop-)|filter-)?grayscale(?:-(.+))?$/,Ce("grayscale",So),{custom:Se,autocomplete:["(backdrop|filter)-grayscale","(backdrop|filter)-grayscale-<percent>","grayscale-<percent>"]}],[/^(?:(backdrop-)|filter-)?hue-rotate-(.+)$/,Ce("hue-rotate",e=>u.bracket.cssvar.degree(e)),{custom:Se}],[/^(?:(backdrop-)|filter-)?invert(?:-(.+))?$/,Ce("invert",So),{custom:Se,autocomplete:["(backdrop|filter)-invert","(backdrop|filter)-invert-<percent>","invert-<percent>"]}],[/^(backdrop-)op(?:acity)?-(.+)$/,Ce("opacity",e=>u.bracket.cssvar.percent(e)),{custom:Se,autocomplete:["backdrop-(op|opacity)","backdrop-(op|opacity)-<percent>"]}],[/^(?:(backdrop-)|filter-)?saturate-(.+)$/,Ce("saturate",e=>u.bracket.cssvar.percent(e)),{custom:Se,autocomplete:["(backdrop|filter)-saturate","(backdrop|filter)-saturate-<percent>","saturate-<percent>"]}],[/^(?:(backdrop-)|filter-)?sepia(?:-(.+))?$/,Ce("sepia",So),{custom:Se,autocomplete:["(backdrop|filter)-sepia","(backdrop|filter)-sepia-<percent>","sepia-<percent>"]}],["filter",{filter:vn},{custom:il}],["backdrop-filter",{"-webkit-backdrop-filter":$n,"backdrop-filter":$n},{custom:Qd}],["filter-none",{filter:"none"}],["backdrop-filter-none",{"-webkit-backdrop-filter":"none","backdrop-filter":"none"}],...M.map(e=>[`filter-${e}`,{filter:e}]),...M.map(e=>[`backdrop-filter-${e}`,{"-webkit-backdrop-filter":e,"backdrop-filter":e}])];var ll=[[/^line-clamp-(\d+)$/,([,e])=>({overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":e,"line-clamp":e}),{autocomplete:["line-clamp","line-clamp-<num>"]}],...["none",...M].map(e=>[`line-clamp-${e}`,{overflow:"visible",display:"block","-webkit-box-orient":"horizontal","-webkit-line-clamp":e,"line-clamp":e}])];var fl=[[/^\$ placeholder-(.+)$/,U("color","placeholder","accentColor"),{autocomplete:"placeholder-$colors"}],[/^\$ placeholder-op(?:acity)?-?(.+)$/,([,e])=>({"--un-placeholder-opacity":u.bracket.percent(e)}),{autocomplete:["placeholder-(op|opacity)","placeholder-(op|opacity)-<percent>"]}]];var Eo={"--un-scroll-snap-strictness":"proximity"},ul={preflightKeys:Object.keys(Eo)},pl=[[/^snap-(x|y)$/,([,e])=>({"scroll-snap-type":`${e} var(--un-scroll-snap-strictness)`}),{custom:ul,autocomplete:"snap-(x|y|both)"}],[/^snap-both$/,()=>({"scroll-snap-type":"both var(--un-scroll-snap-strictness)"}),{custom:ul}],["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?()-?(.+)$/,L("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])-?(.+)$/,L("scroll-margin")],[/^scroll-m-?([rltb])-?(.+)$/,L("scroll-margin")],[/^scroll-m-(block|inline)-(.+)$/,L("scroll-margin")],[/^scroll-m-?([bi][se])-?(.+)$/,L("scroll-margin")],[/^scroll-pa?()-?(.+)$/,L("scroll-padding")],[/^scroll-p-?([xy])-?(.+)$/,L("scroll-padding")],[/^scroll-p-?([rltb])-?(.+)$/,L("scroll-padding")],[/^scroll-p-(block|inline)-(.+)$/,L("scroll-padding")],[/^scroll-p-?([bi][se])-?(.+)$/,L("scroll-padding")]];var ml=[[/^space-([xy])-(.+)$/,dl,{autocomplete:["space-(x|y|block|inline)","space-(x|y|block|inline)-reverse","space-(x|y|block|inline)-$spacing"]}],[/^space-([xy])-reverse$/,([,e])=>({[`--un-space-${e}-reverse`]:1})],[/^space-(block|inline)-(.+)$/,dl],[/^space-(block|inline)-reverse$/,([,e])=>({[`--un-space-${e}-reverse`]:1})]];function dl([,e,t],{theme:r}){let n=r.spacing?.[t||"DEFAULT"]??u.bracket.cssvar.auto.fraction.rem(t||"1");if(n!=null){n==="0"&&(n="0px");let o=Z[e].map(i=>{let s=`margin${i}`,a=i.endsWith("right")||i.endsWith("bottom")?`calc(${n} * var(--un-space-${e}-reverse))`:`calc(${n} * calc(1 - var(--un-space-${e}-reverse)))`;return[s,a]});if(o)return[[`--un-space-${e}-reverse`,0],...o]}}var hl=[["uppercase",{"text-transform":"uppercase"}],["lowercase",{"text-transform":"lowercase"}],["capitalize",{"text-transform":"capitalize"}],["normal-case",{"text-transform":"none"}]],gl=[...["manual","auto","none",...M].map(e=>[`hyphens-${e}`,{"-webkit-hyphens":e,"-ms-hyphens":e,hyphens:e}])],bl=[["write-vertical-right",{"writing-mode":"vertical-rl"}],["write-vertical-left",{"writing-mode":"vertical-lr"}],["write-normal",{"writing-mode":"horizontal-tb"}],...w("write","writing-mode")],xl=[["write-orient-mixed",{"text-orientation":"mixed"}],["write-orient-sideways",{"text-orientation":"sideways"}],["write-orient-upright",{"text-orientation":"upright"}],...w("write-orient","text-orientation")],yl=[["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"}]],vl=[["isolate",{isolation:"isolate"}],["isolate-auto",{isolation:"auto"}],["isolation-auto",{isolation:"auto"}]],$l=[["object-cover",{"object-fit":"cover"}],["object-contain",{"object-fit":"contain"}],["object-fill",{"object-fit":"fill"}],["object-scale-down",{"object-fit":"scale-down"}],["object-none",{"object-fit":"none"}],[/^object-(.+)$/,([,e])=>{if(q[e])return{"object-position":q[e]};if(u.bracketOfPosition(e)!=null)return{"object-position":u.bracketOfPosition(e).split(" ").map(t=>u.position.fraction.auto.px.cssvar(t)??t).join(" ")}},{autocomplete:`object-(${Object.keys(q).join("|")})`}]],wl=[["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"}],...w("bg-blend","background-blend")],kl=[["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"}],...w("mix-blend")],Sl=[["min-h-dvh",{"min-height":"100dvh"}],["min-h-svh",{"min-height":"100svh"}],["min-h-lvh",{"min-height":"100lvh"}],["h-dvh",{height:"100dvh"}],["h-svh",{height:"100svh"}],["h-lvh",{height:"100lvh"}],["max-h-dvh",{"max-height":"100dvh"}],["max-h-svh",{"max-height":"100svh"}],["max-h-lvh",{"max-height":"100lvh"}]];var To={"--un-border-spacing-x":0,"--un-border-spacing-y":0},Cl={preflightKeys:Object.keys(To)},Rl="var(--un-border-spacing-x) var(--un-border-spacing-y)",El=[["inline-table",{display:"inline-table"}],["table",{display:"table"}],["table-caption",{display:"table-caption"}],["table-cell",{display:"table-cell"}],["table-column",{display:"table-column"}],["table-column-group",{display:"table-column-group"}],["table-footer-group",{display:"table-footer-group"}],["table-header-group",{display:"table-header-group"}],["table-row",{display:"table-row"}],["table-row-group",{display:"table-row-group"}],["border-collapse",{"border-collapse":"collapse"}],["border-separate",{"border-collapse":"separate"}],[/^border-spacing-(.+)$/,([,e],{theme:t})=>{let r=t.spacing?.[e]??u.bracket.cssvar.global.auto.fraction.rem(e);if(r!=null)return{"--un-border-spacing-x":r,"--un-border-spacing-y":r,"border-spacing":Rl}},{custom:Cl,autocomplete:["border-spacing","border-spacing-$spacing"]}],[/^border-spacing-([xy])-(.+)$/,([,e,t],{theme:r})=>{let n=r.spacing?.[t]??u.bracket.cssvar.global.auto.fraction.rem(t);if(n!=null)return{[`--un-border-spacing-${e}`]:n,"border-spacing":Rl}},{custom:Cl,autocomplete:["border-spacing-(x|y)","border-spacing-(x|y)-$spacing"]}],["caption-top",{"caption-side":"top"}],["caption-bottom",{"caption-side":"bottom"}],["table-auto",{"table-layout":"auto"}],["table-fixed",{"table-layout":"fixed"}],["table-empty-cells-visible",{"empty-cells":"show"}],["table-empty-cells-hidden",{"empty-cells":"hide"}]];var Ao={"--un-pan-x":z,"--un-pan-y":z,"--un-pinch-zoom":z},jo={preflightKeys:Object.keys(Ao)},zo="var(--un-pan-x) var(--un-pan-y) var(--un-pinch-zoom)",Tl=[[/^touch-pan-(x|left|right)$/,([,e])=>({"--un-pan-x":`pan-${e}`,"touch-action":zo}),{custom:jo,autocomplete:["touch-pan","touch-pan-(x|left|right|y|up|down)"]}],[/^touch-pan-(y|up|down)$/,([,e])=>({"--un-pan-y":`pan-${e}`,"touch-action":zo}),{custom:jo}],["touch-pinch-zoom",{"--un-pinch-zoom":"pinch-zoom","touch-action":zo},{custom:jo}],["touch-auto",{"touch-action":"auto"}],["touch-manipulation",{"touch-action":"manipulation"}],["touch-none",{"touch-action":"none"}],...w("touch","touch-action")];var Oo={"--un-ordinal":z,"--un-slashed-zero":z,"--un-numeric-figure":z,"--un-numeric-spacing":z,"--un-numeric-fraction":z},ze={preflightKeys:Object.keys(Oo)};function Ae(e){return{...e,"font-variant-numeric":"var(--un-ordinal) var(--un-slashed-zero) var(--un-numeric-figure) var(--un-numeric-spacing) var(--un-numeric-fraction)"}}var jl=[[/^ordinal$/,()=>Ae({"--un-ordinal":"ordinal"}),{custom:ze,autocomplete:"ordinal"}],[/^slashed-zero$/,()=>Ae({"--un-slashed-zero":"slashed-zero"}),{custom:ze,autocomplete:"slashed-zero"}],[/^lining-nums$/,()=>Ae({"--un-numeric-figure":"lining-nums"}),{custom:ze,autocomplete:"lining-nums"}],[/^oldstyle-nums$/,()=>Ae({"--un-numeric-figure":"oldstyle-nums"}),{custom:ze,autocomplete:"oldstyle-nums"}],[/^proportional-nums$/,()=>Ae({"--un-numeric-spacing":"proportional-nums"}),{custom:ze,autocomplete:"proportional-nums"}],[/^tabular-nums$/,()=>Ae({"--un-numeric-spacing":"tabular-nums"}),{custom:ze,autocomplete:"tabular-nums"}],[/^diagonal-fractions$/,()=>Ae({"--un-numeric-fraction":"diagonal-fractions"}),{custom:ze,autocomplete:"diagonal-fractions"}],[/^stacked-fractions$/,()=>Ae({"--un-numeric-fraction":"stacked-fractions"}),{custom:ze,autocomplete:"stacked-fractions"}],["normal-nums",{"font-variant-numeric":"normal"}]];var tm={"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"},zl=[[/^(.+?)-(\$.+)$/,([,e,t])=>{let r=tm[e];if(r)return{[r]:u.cssvar(t)}}]];var Al=[[/^view-transition-([\w-]+)$/,([,e])=>({"view-transition-name":e})]];var Ol=[bn,zl,xn,Bc,yt,yl,vt,bt,Zr,en,ll,vl,rn,Jr,Yr,tn,ln,nn,gt,an,sn,Hr,El,Mt,Ac,xt,Tl,wt,$t,pl,Vc,Wr,Uc,It,Bt,Ut,qr,Qr,ml,ol,Xr,Lc,Wc,Tt,kt,Rt,Br,Dr,Pc,Nr,fn,$l,cn,_r,mn,Et,Fr,pn,jt,hl,zt,jl,Gr,At,dn,hn,gn,gl,bl,xl,Fc,Mc,Ir,wl,kl,Vt,Lr,Pt,_c,cl,un,Ur,St,Ct,fl,Kr,Al,Sl,Ot,on].flat(1);var Pl=[...Ic];var Po={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(Po).forEach(e=>{typeof e!="string"&&e!==void 0&&(e.DEFAULT=e.DEFAULT||e[400],Object.keys(e).forEach(t=>{let r=+t/100;r===Math.round(r)&&(e[r]=e[t])}))});var Vl={DEFAULT:"8px",0:"0",sm:"4px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},Ml={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)"},Fl={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(",")},_l={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"]},Ll={DEFAULT:"1.5rem",xs:"0.5rem",sm:"1rem",md:"1.5rem",lg:"2rem",xl:"2.5rem","2xl":"3rem","3xl":"4rem"},Wl={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},Ul={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)"]},Bl={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},Lo={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},Il={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},Dl=Lo,Wo={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},Nl={...Wo},Kl={DEFAULT:"1px",none:"0"},Gl={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"},Hl={DEFAULT:"150ms",none:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},ql={DEFAULT:"0.25rem",none:"0",sm:"0.125rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},Yl={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)"},Xl={DEFAULT:"3px",none:"0"},Zl={auto:"auto"},Jl={mouse:"(hover) and (pointer: fine)"},Ql={...qe,...He,...Ge},ve={xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",prose:"65ch"},ef={auto:"auto",...ve,screen:"100vw"},Vo={none:"none",...ve,screen:"100vw"},tf={auto:"auto",...ve,screen:"100vb"},rf={auto:"auto",...ve,screen:"100vi"},nf={auto:"auto",...ve,screen:"100vh"},Mo={none:"none",...ve,screen:"100vh"},Fo={none:"none",...ve,screen:"100vb"},_o={none:"none",...ve,screen:"100vi"},of={...ve},rm={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)"},nm={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(",")}},Uo={width:ef,height:nf,maxWidth:Vo,maxHeight:Mo,minWidth:Vo,minHeight:Mo,inlineSize:rf,blockSize:tf,maxInlineSize:_o,maxBlockSize:Fo,minInlineSize:_o,minBlockSize:Fo,colors:Po,fontFamily:Fl,fontSize:_l,fontWeight:Il,breakpoints:Wo,verticalBreakpoints:Nl,borderRadius:ql,lineHeight:Bl,letterSpacing:Lo,wordSpacing:Dl,boxShadow:Yl,textIndent:Ll,textShadow:Ul,textStrokeWidth:Wl,blur:Vl,dropShadow:Ml,easing:rm,transitionProperty:nm,lineWidth:Kl,spacing:Gl,duration:Hl,ringWidth:Xl,preflightBase:Ql,containers:of,zIndex:Zl,media:Jl};var sf={...Uo,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:{...qe,...Ao,...Eo,...Oo,...To,...He,...Ge,...Co,...Ro}};var af=[N("svg",e=>({selector:`${e.selector} svg`}))];var cf=[N(".dark",e=>({prefix:`.dark $$ ${e.prefix}`})),N(".light",e=>({prefix:`.light $$ ${e.prefix}`})),G("@dark","@media (prefers-color-scheme: dark)"),G("@light","@media (prefers-color-scheme: light)")];var ff={name:"aria",match(e,t){let r=O("aria-",e,t.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n)??t.theme.aria?.[n]??"";if(i)return{matcher:o,selector:s=>`${s}[aria-${i}]`}}},multiPass:!0};function wn(e,t,r={}){return{name:`${e}-aria`,match(n,o){let i=O(`${e}-aria-`,n,o.generator.config.separators);if(i){let[s,a,c]=i,l=u.bracket(s)??o.theme.aria?.[s]??"";if(l){let f=!!r?.attributifyPseudo,p=r?.prefix??"";p=(Array.isArray(p)?p:[p]).filter(Boolean)[0]??"";let m=`${f?`[${p}${e}=""]`:`.${p}${e}`}`,h=J(c?`/${c}`:"");return{matcher:a,handle:(g,b)=>{let $=new RegExp(`${K(m)}${K(h)}(?:\\[.+?\\])+`),S=g.prefix.match($),y;if(S){let x=(S.index??0)+m.length+h.length;y=[g.prefix.slice(0,x),`[aria-${l}]`,g.prefix.slice(x)].join("")}else{let x=Math.max(g.prefix.indexOf(m),0);y=[g.prefix.slice(0,x),m,h,`[aria-${l}]`,t,g.prefix.slice(x)].join("")}return b({...g,prefix:y})}}}}},multiPass:!0}}function om(){return{name:"has-aria",match(e,t){let r=O("has-aria-",e,t.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n)??t.theme.aria?.[n]??"";if(i)return{matcher:o,handle:(s,a)=>a({...s,pseudo:`${s.pseudo}:has([aria-${i}])`})}}},multiPass:!0}}function uf(e={}){return[wn("group"," ",e),wn("peer","~",e),wn("parent",">",e),wn("previous","+",e),om()]}var lf=/(max|min)-\[([^\]]*)\]:/;function pf(){let e={};return{name:"breakpoints",match(t,r){if(lf.test(t)){let o=t.match(lf);return{matcher:t.replace(o[0],""),handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@media (${o[1]}-width: ${o[2]})`})}}let n=(Te(r)??[]).map(({point:o,size:i},s)=>[o,i,s]);for(let[o,i,s]of n){e[o]||(e[o]=new RegExp(`^((?:([al]t-|[<~]|max-))?${o}(?:${r.generator.config.separators.join("|")}))`));let a=t.match(e[o]);if(!a)continue;let[,c]=a,l=t.slice(c.length);if(l==="container")continue;let f=c.startsWith("lt-")||c.startsWith("<")||c.startsWith("max-"),p=c.startsWith("at-")||c.startsWith("~"),m=3e3;return f?(m-=s+1,{matcher:l,handle:(h,g)=>g({...h,parent:`${h.parent?`${h.parent} $$ `:""}@media (max-width: ${Ue(i)})`,parentOrder:m})}):(m+=s+1,p&&s<n.length-1?{matcher:l,handle:(h,g)=>g({...h,parent:`${h.parent?`${h.parent} $$ `:""}@media (min-width: ${i}) and (max-width: ${Ue(n[s+1][1])})`,parentOrder:m})}:{matcher:l,handle:(h,g)=>g({...h,parent:`${h.parent?`${h.parent} $$ `:""}@media (min-width: ${i})`,parentOrder:m})})}},multiPass:!0,autocomplete:"(at-|lt-|max-|)$breakpoints:"}}var df=[N("*",e=>({selector:`${e.selector} > *`}),{order:-1})];function Dt(e,t){return{name:`combinator:${e}`,match(r,n){if(!r.startsWith(e))return;let o=n.generator.config.separators,i=X(`${e}-`,r,o);if(!i){for(let a of o)if(r.startsWith(`${e}${a}`)){i=["",r.slice(e.length+a.length)];break}if(!i)return}let s=u.bracket(i[0])??"";return s===""&&(s="*"),{matcher:i[1],selector:a=>`${a}${t}${s}`}},multiPass:!0}}var mf=[Dt("all"," "),Dt("children",">"),Dt("next","+"),Dt("sibling","+"),Dt("siblings","~")],hf={name:"@",match(e,t){if(e.startsWith("@container"))return;let r=O("@",e,t.generator.config.separators);if(r){let[n,o,i]=r,s=u.bracket(n),a;if(s?a=u.numberWithUnit(s):a=t.theme.containers?.[n]??"",a){let c=1e3+Object.keys(t.theme.containers??{}).indexOf(n);return i&&(c+=1e3),{matcher:o,handle:(l,f)=>f({...l,parent:`${l.parent?`${l.parent} $$ `:""}@container${i?` ${i} `:" "}(min-width: ${a})`,parentOrder:c})}}}},multiPass:!0};function gf(e={}){if(e?.dark==="class"||typeof e.dark=="object"){let{dark:t=".dark",light:r=".light"}=typeof e.dark=="string"?{}:e.dark;return[N("dark",C(t).map(n=>o=>({prefix:`${n} $$ ${o.prefix}`}))),N("light",C(r).map(n=>o=>({prefix:`${n} $$ ${o.prefix}`})))]}return[G("dark","@media (prefers-color-scheme: dark)"),G("light","@media (prefers-color-scheme: light)")]}var bf={name:"data",match(e,t){let r=O("data-",e,t.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n)??t.theme.data?.[n]??"";if(i)return{matcher:o,selector:s=>`${s}[data-${i}]`}}},multiPass:!0};function kn(e,t,r={}){return{name:`${e}-data`,match(n,o){let i=O(`${e}-data-`,n,o.generator.config.separators);if(i){let[s,a,c]=i,l=u.bracket(s)??o.theme.data?.[s]??"";if(l){let f=!!r?.attributifyPseudo,p=r?.prefix??"";p=(Array.isArray(p)?p:[p]).filter(Boolean)[0]??"";let m=`${f?`[${p}${e}=""]`:`.${p}${e}`}`,h=J(c?`/${c}`:"");return{matcher:a,handle:(g,b)=>{let $=new RegExp(`${K(m)}${K(h)}(?:\\[.+?\\])+`),S=g.prefix.match($),y;if(S){let x=(S.index??0)+m.length+h.length;y=[g.prefix.slice(0,x),`[data-${l}]`,g.prefix.slice(x)].join("")}else{let x=Math.max(g.prefix.indexOf(m),0);y=[g.prefix.slice(0,x),m,h,`[data-${l}]`,t,g.prefix.slice(x)].join("")}return b({...g,prefix:y})}}}}},multiPass:!0}}function im(){return{name:"has-data",match(e,t){let r=O("has-data-",e,t.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n)??t.theme.data?.[n]??"";if(i)return{matcher:o,handle:(s,a)=>a({...s,pseudo:`${s.pseudo}:has([data-${i}])`})}}},multiPass:!0}}function xf(e={}){return[kn("group"," ",e),kn("peer","~",e),kn("parent",">",e),kn("previous","+",e),im()]}var yf=[N("rtl",e=>({prefix:`[dir="rtl"] $$ ${e.prefix}`})),N("ltr",e=>({prefix:`[dir="ltr"] $$ ${e.prefix}`}))];function vf(){let e;return{name:"important",match(t,r){e||(e=new RegExp(`^(important(?:${r.generator.config.separators.join("|")})|!)`));let n,o=t.match(e);if(o?n=t.slice(o[0].length):t.endsWith("!")&&(n=t.slice(0,-1)),n)return{matcher:n,body:i=>(i.forEach(s=>{s[1]!=null&&(s[1]+=" !important")}),i)}}}}var $f=G("print","@media print"),wf={name:"media",match(e,t){let r=O("media-",e,t.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n)??"";if(i===""&&(i=t.theme.media?.[n]??""),i)return{matcher:o,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@media ${i}`})}}},multiPass:!0},kf={name:"selector",match(e,t){let r=X("selector-",e,t.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n);if(i)return{matcher:o,selector:()=>i}}}},Sf={name:"layer",match(e,t){let r=O("layer-",e,t.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n)??n;if(i)return{matcher:o,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@layer ${i}`})}}}},Cf={name:"uno-layer",match(e,t){let r=O("uno-layer-",e,t.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n)??n;if(i)return{matcher:o,layer:i}}}},Rf={name:"scope",match(e,t){let r=X("scope-",e,t.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n);if(i)return{matcher:o,selector:s=>`${i} $$ ${s}`}}}},Ef={name:"variables",match(e,t){if(!e.startsWith("["))return;let[r,n]=re(e,"[","]")??[];if(!(r&&n))return;let o;for(let a of t.generator.config.separators)if(n.startsWith(a)){o=n.slice(a.length);break}if(o==null)return;let i=u.bracket(r)??"",s=i.startsWith("@");if(s||i.includes("&"))return{matcher:o,handle(a,c){let l=s?{parent:`${a.parent?`${a.parent} $$ `:""}${i}`}:{selector:i.replace(/&/g,a.selector)};return c({...a,...l})}}},multiPass:!0},Tf={name:"theme-variables",match(e,t){if(sr(e))return{matcher:e,handle(r,n){return n({...r,entries:JSON.parse(ar(JSON.stringify(r.entries),t.theme))})}}}},jf=/^-?[0-9.]+(?:[a-z]+|%)?$/,zf=/-?[0-9.]+(?:[a-z]+|%)?/,sm=[/\b(opacity|color|flex|backdrop-filter|^filter|transform)\b/];function am(e){let t=e.match(mt)||e.match(jr);if(t){let[r,n]=pe(`(${t[2]})${t[3]}`,"(",")"," ")??[];if(r)return`calc(${t[1]}${r} * -1)${n?` ${n}`:""}`}}var cm=/\b(hue-rotate)\s*(\(.*)/;function lm(e){let t=e.match(cm);if(t){let[r,n]=pe(t[2],"(",")"," ")??[];if(r){let o=jf.test(r.slice(1,-1))?r.replace(zf,i=>i.startsWith("-")?i.slice(1):`-${i}`):`(calc(${r} * -1))`;return`${t[1]}${o}${n?` ${n}`:""}`}}}var Af={name:"negative",match(e){if(e.startsWith("-"))return{matcher:e.slice(1),body:t=>{if(t.find(n=>n[0]===go))return;let r=!1;return t.forEach(n=>{let o=n[1]?.toString();if(!o||o==="0"||sm.some(a=>a.test(n[0])))return;let i=am(o);if(i){n[1]=i,r=!0;return}let s=lm(o);if(s){n[1]=s,r=!0;return}jf.test(o)&&(n[1]=o.replace(zf,a=>a.startsWith("-")?a.slice(1):`-${a}`),r=!0)}),r?t:[]}}}};function Of(){return lr({getBracket:re,h:u,variantGetBracket:X})}function Pf(){return fr({getBracket:re,h:u,variantGetBracket:X})}function Vf(e={}){return ur(e,{getBracket:re,h:u,variantGetBracket:X})}var Mf=pr(),Ff={name:"starting",match(e){if(e.startsWith("starting:"))return{matcher:e.slice(9),handle:(t,r)=>r({...t,parent:"@starting-style"})}}},_f={name:"supports",match(e,t){let r=O("supports-",e,t.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n)??"";if(i===""&&(i=t.theme.supports?.[n]??""),i)return i.startsWith("(")&&i.endsWith(")")||(i=`(${i})`),{matcher:o,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@supports ${i}`})}}},multiPass:!0};function Bo(e){return[ff,bf,Sf,kf,Cf,Af,Ff,vf(),_f,$f,wf,pf(),...mf,...Of(),Pf(),...Vf(e),Mf,...gf(e),...yf,Rf,...df,hf,Ef,...xf(e),...uf(e),Tf]}var Lf=[G("contrast-more","@media (prefers-contrast: more)"),G("contrast-less","@media (prefers-contrast: less)")],Wf=[G("motion-reduce","@media (prefers-reduced-motion: reduce)"),G("motion-safe","@media (prefers-reduced-motion: no-preference)")],Uf=[G("landscape","@media (orientation: landscape)"),G("portrait","@media (orientation: portrait)")];var Bf=e=>{if(!e.startsWith("_")&&(/space-[xy]-.+$/.test(e)||/divide-/.test(e)))return{matcher:e,selector:t=>{let r=">:not([hidden])~:not([hidden])";return t.includes(r)?t:`${t}${r}`}}},If=[N("@hover",e=>({parent:`${e.parent?`${e.parent} $$ `:""}@media (hover: hover) and (pointer: fine)`,selector:`${e.selector||""}:hover`}))];function Df(e,t,r){return`calc(${t} + (${e} - ${t}) * ${r} / 100)`}function Nf(e,t,r){let n=[e,t],o=[];for(let s=0;s<2;s++){let a=typeof n[s]=="string"?Y(n[s]):n[s];if(!a||!["rgb","rgba"].includes(a.type))return;o.push(a)}let i=[];for(let s=0;s<3;s++)i.push(Df(o[0].components[s],o[1].components[s],r));return{type:"rgb",components:i,alpha:Df(o[0].alpha??1,o[1].alpha??1,r)}}function Kf(e,t){return Nf("#fff",e,t)}function Gf(e,t){return Nf("#000",e,t)}function fm(e,t){let r=Number.parseFloat(`${t}`);if(!Number.isNaN(r))return r>0?Gf(e,t):Kf(e,-r)}var um={tint:Kf,shade:Gf,shift:fm};function Hf(){let e;return{name:"mix",match(t,r){e||(e=new RegExp(`^mix-(tint|shade|shift)-(-?\\d{1,3})(?:${r.generator.config.separators.join("|")})`));let n=t.match(e);if(n)return{matcher:t.slice(n[0].length),body:o=>(o.forEach(i=>{if(i[1]){let s=Y(`${i[1]}`);if(s){let a=um[n[1]](s,n[2]);a&&(i[1]=A(a))}}}),o)}}}}var qf=(e,{theme:t})=>{let r=e.match(/^(.*)\b(placeholder-)(.+)$/);if(r){let[,n="",o,i]=r;if(Fe(i,t,"accentColor")||pm(i))return{matcher:`${n}placeholder-$ ${o}${i}`}}};function pm(e){let t=e.match(/^op(?:acity)?-?(.+)$/);return t&&t[1]!=null?u.bracket.percent(t[1])!=null:!1}function Yf(e){return[qf,Bf,...Bo(e),...Lf,...Uf,...Wf,...af,...cf,...If,Hf()]}var Xf=(e={})=>(e.important=e.important??!1,{...mo(e),name:"@unocss/preset-wind3",theme:sf,rules:Ol,shortcuts:Pl,variants:Yf(e),postprocess:xc(e)});var dm=(e={})=>({...Xf(e),name:"@unocss/preset-uno"}),Zf=dm;function mm(e){return e.replace(/-(\w)/g,(t,r)=>r?r.toUpperCase():"")}function Jf(e){return e.charAt(0).toUpperCase()+e.slice(1)}function Qf(e){return e.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}var eu=["Webkit","Moz","ms"];function tu(e){let t={};function r(n){let o=t[n];if(o)return o;let i=mm(n);if(i!=="filter"&&i in e)return t[n]=Qf(i);i=Jf(i);for(let s=0;s<eu.length;s++){let a=`${eu[s]}${i}`;if(a in e)return t[n]=Qf(Jf(a))}return n}return({entries:n})=>n.forEach(o=>{o[0].startsWith("--")||(o[0]=r(o[0]))})}function ru(e){return e.replace(/&/g,"&").replace(/>/g,">").replace(/</g,"<")}async function Io(e={}){if(typeof window>"u"){console.warn("@unocss/runtime been used in non-browser environment, skipped.");return}let t=window,r=window.document,n=()=>r.documentElement,o=t.__unocss||{},i=Object.assign({},e,o.runtime),s=i.defaults||{},a=i.cloakAttribute??"un-cloak";i.autoPrefix&&(s.postprocess=C(s.postprocess)).unshift(tu(r.createElement("div").style)),i.configResolved?.(o,s);let c=await si(o,s),l=E=>i.inject?i.inject(E):n().prepend(E),f=()=>i.rootElement?i.rootElement():r.body,p=new Map,m=!0,h=new Set,g,b,$=[],S=()=>new Promise(E=>{$.push(E),b!=null&&clearTimeout(b),b=setTimeout(()=>T().then(()=>{let V=$;$=[],V.forEach(B=>B())}),0)});function y(E,V=!1){if(E.nodeType!==1)return;let B=E;B.hasAttribute(a)&&B.removeAttribute(a),V&&B.querySelectorAll(`[${a}]`).forEach(D=>{D.removeAttribute(a)})}function x(E,V){let B=p.get(E);if(!B)if(B=r.createElement("style"),B.setAttribute("data-unocss-runtime-layer",E),p.set(E,B),V==null)l(B);else{let D=x(V),Q=D.parentNode;Q?Q.insertBefore(B,D.nextSibling):l(B)}return B}async function T(){let E=[...h],V=await c.generate(E);return V.layers.reduce((D,Q)=>(x(Q,D).innerHTML=V.getLayer(Q)??"",Q),void 0),E.filter(D=>!V.matched.has(D)).forEach(D=>h.delete(D)),{...V,getStyleElement:D=>p.get(D),getStyleElements:()=>p}}async function v(E){let V=h.size;await c.applyExtractors(E,void 0,h),V!==h.size&&await S()}async function j(E=f()){let V=E&&E.outerHTML;V&&(await v(`${V} ${ru(V)}`),y(n()),y(E,!0))}let k=new MutationObserver(E=>{m||E.forEach(async V=>{if(V.target.nodeType!==1)return;let B=V.target;for(let D of p)if(B===D[1])return;if(V.type==="childList")V.addedNodes.forEach(async D=>{if(D.nodeType!==1)return;let Q=D;g&&!g(Q)||(await v(Q.outerHTML),y(Q))});else{if(g&&!g(B))return;if(V.attributeName!==a){let D=Array.from(B.attributes).map(I=>I.value?`${I.name}="${I.value}"`:I.name).join(" "),Q=`<${B.tagName.toLowerCase()} ${D}>`;await v(Q)}y(B)}})}),R=!1;function P(){if(R)return;let E=i.observer?.target?i.observer.target():f();E&&(k.observe(E,{childList:!0,subtree:!0,attributes:!0,attributeFilter:i.observer?.attributeFilter}),R=!0)}function ee(){i.bypassDefined&&hm(c.blocked),j(),P()}function te(){r.readyState==="loading"?t.addEventListener("DOMContentLoaded",ee):ee()}let le=t.__unocss_runtime=t.__unocss_runtime={version:c.version,uno:c,async extract(E){F(E)||(E.forEach(V=>h.add(V)),E=""),await v(E)},extractAll:j,inspect(E){g=E},toggleObserver(E){E===void 0?m=!m:m=!!E,!R&&!m&&te()},update:T,presets:t.__unocss_runtime?.presets??{}};i.ready?.(le)!==!1&&(m=!1,te())}function hm(e=new Set){for(let t=0;t<document.styleSheets.length;t++){let r=document.styleSheets[t],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)),e.add(o))})}catch{continue}}return e}Io({defaults:{presets:[di(),Zf(),Oi(),gi()]}});})();
|