@unocss/runtime 66.5.12 → 66.6.0
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 +11 -11
- package/core.global.js +2 -2
- package/full.global.js +11 -11
- package/mini.global.js +11 -11
- package/package.json +4 -4
- package/preset-attributify.global.js +1 -1
- package/preset-icons.global.js +1 -1
- package/preset-mini.global.js +10 -10
- package/preset-rem-to-px.global.js +1 -1
- package/preset-tagify.global.js +1 -1
- package/preset-typography.global.js +1 -1
- package/preset-uno.global.js +10 -10
- package/preset-web-fonts.global.js +6 -6
- package/preset-wind.global.js +10 -10
- package/preset-wind3.global.js +10 -10
- package/preset-wind4.global.js +14 -14
- package/uno.global.js +11 -11
package/uno.global.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
"use strict";(()=>{var Qs=Object.defineProperty;var ea=(e,t)=>{for(var r in t)Qs(e,r,{get:t[r],enumerable:!0})};var Oe="default",Qe="preflights",ta="shortcuts",ra="imports",yn={[ra]:-200,[Qe]:-100,[ta]:-10,[Oe]:0};var et=/[\\:]?[\s'"`;{}]+/g;function na(e){return e.split(et)}var tt={name:"@unocss/core/extractor-split",order:0,extract({code:e}){return na(e)}};function T(e=[]){return Array.isArray(e)?e:[e]}function ee(e){return Array.from(new Set(e))}function Er(e,t){return e.reduce((r,n)=>(r.findIndex(i=>t(n,i))===-1&&r.push(n),r),[])}function A(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 rt(e){return e instanceof ze}function G(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Y(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 nt=Y;function vn(){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 oa=/[\w\u00A0-\uFFFF%-?]/;function wn(e=""){return oa.test(e)}function kn(e){return typeof e=="function"?{match:e}:e}function jr(e){return e.length===3}function Ve(e){return e!=null}function $n(){}var ot=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)))}},it=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 Me(e){return A(e)?e:(Array.isArray(e)?e:Object.entries(e)).filter(t=>t[1]!=null)}function Sn(e){return Array.isArray(e)?e.find(t=>!Array.isArray(t)||Array.isArray(t[0]))?e.map(t=>Me(t)):[e]:[Me(e)]}function ia(e){return e.filter(([t,r],n)=>{if(t.startsWith("$$"))return!1;for(let o=n-1;o>=0;o--)if(e[o][0]===t&&e[o][1]===r)return!1;return!0})}var Pr="__virtual_key__";function ve(e){return e==null?"":ia(e).map(([t,r])=>r!=null&&typeof r!="function"?t!==Pr?`${t}:${r};`:r:void 0).filter(Boolean).join("")}function st(e){return e&&typeof e=="object"&&!Array.isArray(e)}function Or(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 st(n)&&st(o)&&Object.keys(o).forEach(s=>{st(n[s])&&st(o[s])||Array.isArray(n[s])&&Array.isArray(o[s])?i[s]=Or(n[s],o[s],r):Object.assign(i,{[s]:o[s]})}),i}function Ae(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"?Ae(n):n;return r}if(Object.prototype.toString.call(e)==="[object Object]"){r={};for(t in e)t==="__proto__"?Object.defineProperty(r,t,{value:Ae(e[t]),configurable:!0,enumerable:!0,writable:!0}):r[t]=(n=e[t])&&typeof n=="object"?Ae(n):n;return r}return e}function Cn(e){return A(e[0])}function Rn(e){return A(e[0])}var at={};function sa(e=["-",":"]){let t=e.join("|");return at[t]||(at[t]=new RegExp(`((?:[!@<~\\w+:_-]|\\[&?>?:?\\S*\\])+?)(${t})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[[^\\]]*?\\])+?)\\)(?!\\s*?=>)`,"gm")),at[t].lastIndex=0,at[t]}function aa(e,t=["-",":"],r=5){let n=sa(t),o,i=e.toString(),s=new Set,a=new Map;do o=!1,i=i.replace(n,(u,f,p,d,m)=>{if(!t.includes(p))return u;o=!0,s.add(f+p);let h=m+f.length+p.length+1,x={length:u.length,items:[]};a.set(m,x);for(let k of[...d.matchAll(/\S+/g)]){let E=h+k.index,y=a.get(E)?.items;y?a.delete(E):y=[{offset:E,length:k[0].length,className:k[0]}];for(let b of y)b.className=b.className==="~"?f:b.className.replace(/^(!?)(.*)/,`$1${f}${p}$2`),x.items.push(b)}return"$".repeat(u.length)}),r-=1;while(o&&r);let l;if(typeof e=="string"){l="";let u=0;for(let[f,p]of a)l+=e.slice(u,f),l+=p.items.map(d=>d.className).join(" "),u=f+p.length;l+=e.slice(u)}else{l=e;for(let[u,f]of a)l.overwrite(u,u+f.length,f.items.map(p=>p.className).join(" "))}return{prefixes:Array.from(s),hasChanged:o,groupsByOffset:a,get expanded(){return l.toString()}}}function Tn(e,t=["-",":"],r=5){let n=aa(e,t,r);return typeof e=="string"?n.expanded:e}var En=new Set;function jn(e){En.has(e)||(console.warn("[unocss]",e),En.add(e))}function zn(e){return T(e).flatMap(t=>Array.isArray(t)?[t]:Object.entries(t))}var Pn="_uno_resolved";async function la(e){let t=typeof e=="function"?await e():await e;if(Pn in t)return t;t={...t},Object.defineProperty(t,Pn,{value:!0,enumerable:!1});let r=t.shortcuts?zn(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=T(t.prefix)),i.layer==null&&t.layer&&(i.layer=t.layer)};r?.forEach(n),t.rules?.forEach(n)}return t}async function Vn(e){let t=await la(e);if(!t.presets)return[t];let r=(await Promise.all((t.presets||[]).flatMap(T).flatMap(Vn))).flat();return[t,...r]}function ca(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:ee(On(...t)),exclude:ee(On(...r))}};return o.length&&(s.filesystem=ee(o.flat())),i.length&&(s.inline=ee(i.flat())),s}async function zr(e={},t={}){let r=Object.assign({},t,e),n=Er((await Promise.all((r.presets||[]).flatMap(T).flatMap(Vn))).flat(),(g,R)=>g.name===R.name),o=[...n.filter(g=>g.enforce==="pre"),...n.filter(g=>!g.enforce),...n.filter(g=>g.enforce==="post")],i=[...o,r],s=[...i].reverse(),a=Object.assign({},yn,...i.map(g=>g.layers));function l(g){return ee(i.flatMap(R=>T(R[g]||[])))}let u=l("extractors"),f=s.find(g=>g.extractorDefault!==void 0)?.extractorDefault;f===void 0&&(f=tt),f&&!u.includes(f)&&u.unshift(f),u.sort((g,R)=>(g.order||0)-(R.order||0));let p=l("rules"),d=p.length,m={},h=[];for(let[g,R]of p.entries()){let w=R[2]??(R[2]={});w.__index=g,Cn(R)?T(w.prefix??"").forEach(z=>{m[z+R[0]]=R}):h.unshift(R)}let x={templates:ee(i.flatMap(g=>T(g.autocomplete?.templates))),extractors:i.flatMap(g=>T(g.autocomplete?.extractors)).sort((g,R)=>(g.order||0)-(R.order||0)),shorthands:fa(i.map(g=>g.autocomplete?.shorthands||{}))},k=l("separators");k.length||(k=[":","-"]);let E=l("content"),y=ca(E),b={mergeSelectors:!0,warn:!0,sortLayers:g=>g,...r,blocklist:l("blocklist"),presets:o,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:a,theme:ua(i.map(g=>g.theme)),rules:p,rulesSize:d,rulesDynamic:h,rulesStaticMap:m,preprocess:l("preprocess"),postprocess:l("postprocess"),preflights:l("preflights"),autocomplete:x,variants:l("variants").map(kn).sort((g,R)=>(g.order||0)-(R.order||0)),shortcuts:zn(l("shortcuts")).reverse(),extractors:u,safelist:l("safelist"),separators:k,details:r.details??r.envMode==="dev",content:y,transformers:Er(l("transformers"),(g,R)=>g.name===R.name)},O=l("extendTheme");for(let g of O)b.theme=g(b.theme,b)||b.theme;for(let g of i)g?.configResolved?.(b);return b}function ua(e){return e.map(t=>t?Ae(t):{}).reduce((t,r)=>Or(t,r),{})}function fa(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 On(...e){return e.flatMap(pa)}function pa(e){return Array.isArray(e)?e:e?[e]:[]}var An="66.5.12";var te={shortcutsNoMerge:"$$symbol-shortcut-no-merge",noMerge:"$$symbol-no-merge",variants:"$$symbol-variants",parent:"$$symbol-parent",selector:"$$symbol-selector",layer:"$$symbol-layer",sort:"$$symbol-sort",body:"$$symbol-body"},Vr=class e{constructor(t={},r={}){this.userConfig=t;this.defaults=r}version=An;events=vn();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 zr(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 zr(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(rt(s)&&rt(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:te,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((l,u)=>u(l)??l,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(l=>!l||this.isBlocked(l[1]))){this.blocked.add(t),this.cache.set(n,null);return}let s=async l=>{let u=this.makeContext(t,[r||l[0],l[1],l[2],l[3]]);this.config.details&&(u.variants=[...l[3]]);let f=await this.expandShortcut(u.currentSelector,u);return f?await this.stringifyShortcuts(u.variantMatch,u,f[0],f[1]):(await this.parseUtil(u.variantMatch,u))?.flatMap(d=>this.stringifyUtil(d,u)).filter(Ve)},a=(await Promise.all(i.map(l=>s(l)))).flat().filter(l=>!!l);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:l=!1}=r,u=A(t)?await this.applyExtractors(t,n,l?new ze:new Set):Array.isArray(t)?new Set(t):t;if(s){let w={generator:this,theme:this.config.theme};this.config.safelist.flatMap($=>typeof $=="function"?$(w):$).forEach($=>{let z=$.trim();z&&!u.has(z)&&u.add(z)})}let f=a?"":`
|
|
2
|
-
`,p=new Set([Oe]),d=l?new Map:new Set,m=new Map,h={},x=Array.from(u).map(async w=>{if(d.has(w))return;let $=await this.parseToken(w);if($!=null){d instanceof Map?d.set(w,{data:$,count:rt(u)?u.getCount(w):-1}):d.add(w);for(let z of $){let H=z[3]||"",q=z[4]?.layer;m.has(H)||m.set(H,[]),m.get(H).push(z),q&&p.add(q)}}});await Promise.all(x),await(async()=>{if(!i)return;let w={generator:this,theme:this.config.theme},$=new Set([]);this.config.preflights.forEach(({layer:z=Qe})=>{p.add(z),$.add(z)}),h=Object.fromEntries(await Promise.all(Array.from($).map(async z=>{let q=(await Promise.all(this.config.preflights.filter(J=>(J.layer||Qe)===z).map(async J=>await J.getCSS(w)))).filter(Boolean).join(f);return[z,q]})))})();let k=this.config.sortLayers(Array.from(p).sort((w,$)=>(this.config.layers[w]??0)-(this.config.layers[$]??0)||w.localeCompare($))),E={},y=this.config.outputToCssLayers,b=w=>{let $=w;return typeof y=="object"&&($=y.cssLayerName?.(w)),$===null?null:$??w},O=(w=Oe)=>{if(E[w])return E[w];let $=Array.from(m).sort((q,J)=>(this.parentOrders.get(q[0])??0)-(this.parentOrders.get(J[0])??0)||q[0]?.localeCompare(J[0]||"")||0).map(([q,J])=>{let S=J.length,P=J.filter(F=>(F[4]?.layer||Oe)===w).sort((F,Q)=>F[0]-Q[0]||(F[4]?.sort||0)-(Q[4]?.sort||0)||F[5]?.currentSelector?.localeCompare(Q[5]?.currentSelector??"")||F[1]?.localeCompare(Q[1]||"")||F[2]?.localeCompare(Q[2]||"")||0).map(([,F,Q,,Je,,Rr])=>[[[(F&&ha(F,o))??"",Je?.sort??0]],Q,!!(Rr??Je?.noMerge)]);if(!P.length)return;let _=P.reverse().map(([F,Q,Je],Rr)=>{if(!Je&&this.config.mergeSelectors)for(let fe=Rr+1;fe<S;fe++){let oe=P[fe];if(oe&&!oe[2]&&(F&&oe[0]||F==null&&oe[0]==null)&&oe[1]===Q)return F&&oe[0]&&oe[0].push(...F),null}let Tr=F?ee(F.sort((fe,oe)=>fe[1]-oe[1]||fe[0]?.localeCompare(oe[0]||"")||0).map(fe=>fe[0]).filter(Boolean)):[];return Tr.length?`${Tr.join(`,${f}`)}{${Q}}`:Q}).filter(Boolean),L=Array.from(new Set(_)).reverse().join(f);if(!q)return L;let D=q.split(" $$ ");return`${D.join("{")}{${f}${L}${f}${"}".repeat(D.length)}`}).filter(Boolean).join(f);i&&($=[h[w],$].filter(Boolean).join(f));let z;y&&$&&(z=b(w),z!==null&&($=`@layer ${z}{${f}${$}${f}}`));let H=a?"":`/* layer: ${w}${z&&z!==w?`, alias: ${z}`:""} */${f}`;return E[w]=$?H+$:""},g=(w=k,$)=>{let z=w.filter(H=>!$?.includes(H));return[y&&z.length>0?`@layer ${z.map(b).filter(Ve).join(", ")};`:void 0,...z.map(H=>O(H)||"")].filter(Boolean).join(f)};return{get css(){return g()},layers:k,matched:d,getLayers:g,getLayer:O,setLayer:async(w,$)=>{let z=await $(O(w));return E[w]=z,z}}}async matchVariants(t,r){let n={rawSelector:t,theme:this.config.theme,generator:this},o=async i=>{let s=!0,[,,a,l]=i;for(;s;){s=!1;let u=i[1];for(let f of this.config.variants){if(!f.multiPass&&l.has(f))continue;let p=await f.match(u,n);if(p){if(A(p)){if(p===u)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 d=p.map(m=>{let h=m.matcher??u,x=[m,...a],k=new Set(l);return k.add(f),[i[0],h,x,k]});return(await Promise.all(d.map(m=>o(m)))).flat()}}i[1]=p.matcher??u,a.unshift(p),l.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((u,f)=>(u.order||0)-(f.order||0)).reduceRight((u,f)=>p=>{let d=f.body?.(p.entries)||p.entries,m=Array.isArray(f.parent)?f.parent:[f.parent,void 0],h=f.selector?.(p.selector,d);return(f.handle??ba)({...p,entries:d,selector:h||p.selector,parent:m[0]||p.parent,parentOrder:m[1]||p.parentOrder,layer:f.layer||p.layer,sort:f.sort||p.sort},u)},u=>u)({prefix:"",selector:ga(n),pseudo:"",entries:t[2]}),{parent:s,parentOrder:a}=i;s!=null&&a!=null&&this.parentOrders.set(s,a);let l={selector:[i.prefix,i.selector,i.pseudo].join(""),entries:i.entries,parent:s,layer:i.layer,sort:i.sort,noMerge:i.noMerge};return this.config.postprocess.reduce((u,f)=>{let p=[];for(let d of u){let m=f(d);Array.isArray(m)?p.push(...m.filter(Ve)):p.push(m||d)}return p},[l])}constructCustomCSS(t,r,n){let o=Me(r);return A(o)?o:this.applyVariants([0,n||t.rawSelector,o,void 0,t.variantHandlers]).map(({selector:i,entries:s,parent:a})=>{let l=`${i}{${ve(s)}}`;return a?`${a}{${l}}`:l}).join("")}async parseUtil(t,r,n=!1,o){let i=A(t)?await this.matchVariants(t):[t],s=async([l,u,f])=>{this.config.details&&(r.rules=r.rules??[]);let p={...r,variantHandlers:f},d=this.config.rulesStaticMap[u];if(d&&d[1]&&(n||!d[2]?.internal))return this.resolveCSSResult(l,d[1],d,p);for(let m of this.config.rulesDynamic){let[h,x,k]=m;if(k?.internal&&!n)continue;let E=u;if(k?.prefix){let g=T(k.prefix);if(o){let R=T(o);if(!g.some(w=>R.includes(w)))continue}else{let R=g.find(w=>u.startsWith(w));if(R==null)continue;E=u.slice(R.length)}}let y=E.match(h);if(!y)continue;let b=await x(y,p);if(!b)continue;if(typeof b!="string")if(Symbol.asyncIterator in b){let g=[];for await(let R of b)R&&g.push(R);b=g}else Symbol.iterator in b&&!Array.isArray(b)&&(b=Array.from(b).filter(Ve));let O=this.resolveCSSResult(l,b,m,p);if(O)return O}},a=(await Promise.all(i.map(l=>s(l)))).flat().filter(l=>!!l);if(a.length)return a}resolveCSSResult=(t,r,n,o)=>{let i=Sn(r).filter(s=>s.length);if(i.length){this.config.details&&o.rules.push(n),o.generator.activatedRules.add(n);let s=n[2];return i.map(a=>{if(A(a))return[s.__index,a,s];let l=o.variantHandlers,u=s;for(let f of a)f[0]===te.variants?typeof f[1]=="function"?l=f[1](l)||l:l=[...T(f[1]),...l]:f[0]===te.parent?l=[{parent:f[1]},...l]:f[0]===te.selector?l=[{selector:f[1]},...l]:f[0]===te.layer?l=[{layer:f[1]},...l]:f[0]===te.sort?u={...u,sort:f[1]}:f[0]===te.noMerge?u={...u,noMerge:f[1]}:f[0]===te.body&&(f[0]=Pr);return[s.__index,t,a,u,l]})}};stringifyUtil(t,r){if(!t)return;if(jr(t))return[[t[0],void 0,t[1],void 0,t[2],this.config.details?r:void 0,void 0]];let n=this.applyVariants(t),o=[];for(let i of n){let{selector:s,entries:a,parent:l,layer:u,sort:f,noMerge:p}=i,d=ve(a);if(!d)continue;let{layer:m,sort:h,...x}=t[3]??{},k={...x,layer:u??m,sort:f??h};o.push([t[0],s,d,l,k,this.config.details?r:void 0,p])}return o}async expandShortcut(t,r,n=5){if(n===0)return;let o=this.config.details?u=>{r.shortcuts=r.shortcuts??[],r.shortcuts.push(u)}:$n,i,s,a,l;for(let u of this.config.shortcuts){let f=t;if(u[2]?.prefix){let d=T(u[2].prefix).find(m=>t.startsWith(m));if(d==null)continue;f=t.slice(d.length)}if(Rn(u)){if(u[0]===f){i=i||u[2],s=u[1],o(u);break}}else{let p=f.match(u[0]);if(p&&(s=u[1](p,r)),s){i=i||u[2],o(u);break}}}if(s&&(a=ee(T(s).filter(A).map(u=>Tn(u.trim()).split(/\s+/g)).flat()),l=T(s).filter(u=>!A(u)).map(u=>({handles:[],value:u}))),!s){let u=A(t)?await this.matchVariants(t):[t];for(let f of u){let[p,d,m]=f;if(p!==d){let h=await this.expandShortcut(d,r,n-1);h&&(a=h[0].filter(A).map(x=>p.replace(d,x)),l=h[0].filter(x=>!A(x)).map(x=>({handles:[...x.handles,...m],value:x.value})))}}}if(!(!a?.length&&!l?.length))return[[await Promise.all(T(a).map(async u=>(await this.expandShortcut(u,r,n-1))?.[0]||[u])),l].flat(2).filter(u=>!!u),i]}async stringifyShortcuts(t,r,n,o={layer:this.config.shortcutsLayer}){let i=new it,s=(await Promise.all(ee(n).map(async f=>{let p=A(f)?await this.parseUtil(f,r,!0,o.prefix):[[Number.POSITIVE_INFINITY,"{inline}",Me(f.value),void 0,f.handles]];return!p&&this.config.warn&&jn(`unmatched utility "${f}" in shortcut "${t[1]}"`),p||[]}))).flat(1).filter(Boolean).sort((f,p)=>f[0]-p[0]),[a,,l]=t,u=[];for(let f of s){if(jr(f)){u.push([f[0],void 0,f[1],void 0,f[2],r,void 0]);continue}let p=Object.fromEntries(f[2])[te.shortcutsNoMerge],d=[...f[4],...p?[]:l];for(let{selector:m,entries:h,parent:x,sort:k,noMerge:E,layer:y}of this.applyVariants(f,d,a))i.getFallback(y??o.layer,new ot).getFallback(m,x,[[],f[0]])[0].push([h,!!(E??f[3]?.noMerge),k??0])}return u.concat(i.flatMap((f,p)=>f.map(([d,m],h,x)=>{let k=(y,b,O)=>{let g=Math.max(...O.map(w=>w[1])),R=O.map(w=>w[0]);return(y?[R.flat(1)]:R).map(w=>{let $=ve(w);if($)return[m,h,$,x,{...o,noMerge:b,sort:g,layer:p},r,void 0]})};return[[d.filter(([,y])=>y).map(([y,,b])=>[y,b]),!0],[d.filter(([,y])=>!y).map(([y,,b])=>[y,b]),!1]].map(([y,b])=>[...k(!1,b,y.filter(([O])=>O.some(g=>g[0]===te.shortcutsNoMerge))),...k(!0,b,y.filter(([O])=>O.every(g=>g[0]!==te.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):A(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):A(o)?o===t:o.test(t)});return r?Array.isArray(r)?r:[r,void 0]:void 0}};async function _n(e,t){return await Vr.create(e,t)}var Fn=/\s\$\$\s+/g;function ma(e){return Fn.test(e)}function ha(e,t){return ma(e)?e.replace(Fn,t?` ${t} `:" "):t?`${t} ${e}`:e}var Mn=/^\[(.+?)(~?=)"(.*)"\]$/;function ga(e){return Mn.test(e)?e.replace(Mn,(t,r,n,o)=>`[${nt(r)}${n}"${nt(o)}"]`):`.${nt(e)}`}function ba(e,t){return t(e)}function xa(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 Ln(e,t,r,n){for(let o of Array.from(e.matchAll(r)))if(o!=null){let i=o[0],s=`${n}${xa(i)}`;t.set(s,i),e=e.replace(i,s)}return e}function Un(e,t){for(let[r,n]of t.entries())e=e.replaceAll(r,n);return e}var ya=/\/\/#\s*sourceMappingURL=.*\n?/g;function Bn(e){return e.includes("sourceMappingURL=")?e.replace(ya,""):e}var va=/(?:[\w&:[\]-]|\[\S{1,64}=\S{1,64}\]){1,64}\[\\?['"]?\S{1,64}?['"]\]\]?[\w:-]{0,64}/g,wa=/\[(\\\W|[\w-]){1,64}:[^\s:]{0,64}?("\S{1,64}?"|'\S{1,64}?'|`\S{1,64}?`|[^\s:]{1,64}?)[^\s:]{0,64}?\)?\]/g,ka=/^\[(?:\\\W|[\w-]){1,64}:['"]?\S{1,64}?['"]?\]$/;function $a(e){let t=[];for(let o of e.matchAll(wa))o.index!==0&&!/^[\s'"`]/.test(e[o.index-1]??"")||t.push(o[0]);for(let o of e.matchAll(va))t.push(o[0]);let r=new Map,n="@unocss-skip-arbitrary-brackets";return e=Ln(e,r,/-\[(?!&.+?;)[^\]]*\]/g,n),e&&e.split(et).forEach(o=>{o.includes(n)&&(o=Un(o,r)),wn(o)&&!ka.test(o)&&t.push(o)}),t}function Wn(){return{name:"@unocss/extractor-arbitrary-variants",order:0,extract({code:e}){return $a(Bn(e))}}}function In(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=ve(n);return e.variablePrefix!=="un-"&&(o=o.replace(/--un-/g,`--${e.variablePrefix}`)),T(t.preflightRoot??["*,::before,::after","::backdrop"]).map(s=>`${s}{${o}}`).join("")}}}}]}function pe(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 we(e,t,r,n){if(e===""||(A(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 l=a.length;if(l&&a===e.slice(s,s+l)&&i===0)return s===0||s===o-l?void 0:[e.slice(0,s),e.slice(s+l)]}}return[e,""]}function ke(e,t,r,n="(",o=")"){r=r??10;let i=[],s=0;for(;e!=="";){if(++s>r)return;let a=we(e,n,o,t);if(!a)return;let[l,u]=a;i.push(l),e=u}if(i.length>0)return i}var Ar=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"];var Dn=["%alpha","<alpha-value>"],Sa=new RegExp(Dn.map(e=>G(e)).join("|"),"g");function re(e=""){let t=Ca(e);if(t==null||t===!1)return;let{type:r,components:n,alpha:o}=t,i=r.toLowerCase();if(n.length!==0&&!(Ar.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 he(e){let t=e.alpha??1;return typeof t=="string"&&Dn.includes(t)?1:t}function U(e,t){if(typeof e=="string")return e.replace(Sa,`${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}`,Ar.includes(o)?`${o}(${r.join(" ")}${n})`:`color(${o} ${r.join(" ")}${n})`)}function Ca(e){if(!e)return;let t=Ra(e);if(t!=null||(t=Ta(e),t!=null)||(t=Ea(e),t!=null)||(t=Pa(e),t!=null)||(t=Oa(e),t!=null))return t}function Ra(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 Ta(e){let t={rebeccapurple:[102,51,153,1]}[e];if(t!=null)return{type:"rgb",components:t.slice(0,3),alpha:t[3]}}function Ea(e){let t=e.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!t)return;let[,r,n]=t,o=ke(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 ja=new RegExp(`^(${Ar.join("|")})\\((.+)\\)$`,"i");function Pa(e){let t=e.match(ja);if(!t)return;let[,r,n]=t,o=Nn(`${r} ${n}`);if(o){let{alpha:i,components:[s,...a]}=o;return{type:s,components:a,alpha:i}}}function Oa(e){let t=e.match(/^color\((.+)\)$/);if(!t)return;let r=Nn(t[1]);if(r){let{alpha:n,components:[o,...i]}=r;return{type:o,components:i,alpha:n}}}function Nn(e){let t=ke(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=ke(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 za=44,Va=59,Kn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",qn=new Uint8Array(64),Aa=new Uint8Array(128);for(let e=0;e<Kn.length;e++){let t=Kn.charCodeAt(e);qn[e]=t,Aa[t]=e}function _e(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(qn[o])}while(n>0);return t}var Gn=1024*16,Hn=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}},Ma=class{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(Gn)}write(e){let{buffer:t}=this;t[this.pos++]=e,this.pos===Gn&&(this.out+=Hn.decode(t),this.pos=0)}flush(){let{buffer:e,out:t,pos:r}=this;return r>0?t+Hn.decode(e.subarray(0,r)):t}};function Yn(e){let t=new Ma,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(Va),a.length===0)continue;let l=0;for(let u=0;u<a.length;u++){let f=a[u];u>0&&t.write(za),l=_e(t,f[0],l),f.length!==1&&(r=_e(t,f[1],r),n=_e(t,f[2],n),o=_e(t,f[3],o),f.length!==4&&(i=_e(t,f[4],i)))}}return t.flush()}var lt=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))}},ct=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 _a(){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 Fa=_a(),Mr=class{constructor(t){this.version=3,this.file=t.file,this.sources=t.sources,this.sourcesContent=t.sourcesContent,this.names=t.names,this.mappings=Yn(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,"+Fa(this.toString())}};function La(e){let t=e.split(`
|
|
3
|
-
`),r=
|
|
4
|
-
`),r=[];for(let n=0,o=0;n<
|
|
5
|
-
`,0),
|
|
6
|
-
`,
|
|
7
|
-
`)o.line+=1,o.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,
|
|
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}},
|
|
9
|
-
|
|
10
|
-
`));else for(
|
|
11
|
-
`?i=!0:f!=="\r"&&i&&(i=!1,a===l.start||(this._splitChunk(l,a),l=l.next),l.prependRight(t))}a+=1}a=l.end,l=l.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 $e.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),$e.insertLeft=!0),this.appendLeft(t,r)}insertRight(t,r){return $e.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),$e.insertRight=!0),this.prependRight(t,r)}move(t,r,n){if(t=t+this.offset,r=r+this.offset,n=n+this.offset,n>=t&&n<=r)throw new Error("Cannot move a selection inside itself");this._split(t),this._split(r),this._split(n);let o=this.byStart[t],i=this.byEnd[r],s=o.previous,a=i.next,l=this.byStart[n];if(!l&&i===this.lastChunk)return this;let u=l?l.previous:this.lastChunk;return s&&(s.next=a),a&&(a.previous=s),u&&(u.next=o),l&&(l.previous=i),o.previous||(this.firstChunk=i.next),i.next||(this.lastChunk=o.previous,this.lastChunk.next=null),o.previous=u,i.next=l||null,u||(this.firstChunk=o),l||(this.lastChunk=i),this}overwrite(t,r,n,o){return o=o||{},this.update(t,r,n,{...o,overwrite:!o.contentOnly})}update(t,r,n,o){if(t=t+this.offset,r=r+this.offset,typeof n!="string")throw new TypeError("replacement content must be a string");if(this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}if(r>this.original.length)throw new Error("end is out of bounds");if(t===r)throw new Error("Cannot overwrite a zero-length range \u2013 use appendLeft or prependRight instead");this._split(t),this._split(r),o===!0&&($e.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),$e.storeName=!0),o={storeName:!0});let i=o!==void 0?o.storeName:!1,s=o!==void 0?o.overwrite:!1;if(i){let u=this.original.slice(t,r);Object.defineProperty(this.storedNames,u,{writable:!0,value:!0,enumerable:!0})}let a=this.byStart[t],l=this.byEnd[r];if(a){let u=a;for(;u!==l;){if(u.next!==this.byStart[u.end])throw new Error("Cannot overwrite across a split point");u=u.next,u.edit("",!1)}a.edit(n,i,!s)}else{let u=new ct(t,r,"").edit(n,i);l.next=u,u.previous=l}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(Fe);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(Fe),t!==-1)return n.outro.substr(t+1)+r;r=n.outro+r}if(n.content.length>0){if(t=n.content.lastIndexOf(Fe),t!==-1)return n.content.substr(t+1)+r;r=n.content+r}if(n.intro.length>0){if(t=n.intro.lastIndexOf(Fe),t!==-1)return n.intro.substr(t+1)+r;r=n.intro+r}}while(n=n.previous);return t=this.intro.lastIndexOf(Fe),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,l=s?o.content.length+r-o.end:o.content.length;if(n+=o.content.slice(a,l),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=r,o=t>r.end;for(;r;){if(r.contains(t))return this._splitChunk(r,t);if(r=o?this.byStart[r.end]:this.byEnd[r.start],r===n)return;n=r}}_splitChunk(t,r){if(t.edited&&t.content.length){let o=Xn(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,l)=>l==="$"?"$":l==="&"?i[0]:+l<i.length?i[+l]:`$${l}`):r(...i,i.index,s,i.groups)}function o(i,s){let a,l=[];for(;a=i.exec(s);)l.push(a);return l}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&&(typeof r=="function"&&(r=r(t,o,n)),t!==r&&this.overwrite(o,o+t.length,r)),this}replace(t,r){return typeof t=="string"?this._replaceString(t,r):this._replaceRegexp(t,r)}_replaceAllString(t,r){let{original:n}=this,o=t.length;for(let i=n.indexOf(t);i!==-1;i=n.indexOf(t,i+o)){let s=n.slice(i,i+o),a=r;typeof r=="function"&&(a=r(s,i,n)),s!==a&&this.overwrite(i,i+o,a)}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 Da=/theme\(\s*(['"])?(.*?)\1?\s*\)/g;function Zn(e){return e.includes("theme(")&&e.includes(")")}function Jn(e,t,r=!0){let n=Array.from(e.toString().matchAll(Da));if(!n.length)return e;let o=new ut(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=Na(s,t,r);a&&o.overwrite(i.index,i.index+i[0].length,a)}return o.toString()}function Na(e,t,r=!0){let[n,o]=e.split("/"),s=n.trim().split(".").reduce((a,l)=>a?.[l],t);if(typeof s=="object"&&(s=s.DEFAULT),typeof s=="string"){if(o){let a=re(s);a&&(s=U(a,o))}return s}else if(r)throw new Error(`theme of "${e}" did not found`)}function Fr(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 Qn(e){let t=function(n,o){let i=this.__options?.sequence||[];this.__options.sequence=[];for(let s of i){let a=e[s](n,o);if(a!=null)return a}};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 Le="__pseudo_placeholder__",Se=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(${Le})`],["nth-last",`:nth-last-child(${Le})`],["nth-last-of-type",`:nth-last-of-type(${Le})`],["nth-of-type",`:nth-of-type(${Le})`],"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}`])),no=Object.keys(Se),Ce=Object.fromEntries([["backdrop","::backdrop"]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),oo=Object.keys(Ce),Ka=["not","is","where","has"],io=Object.fromEntries([["selection",["::selection"," *::selection"]],["marker",["::marker"," *::marker"]]]),Lr=Object.entries(Se).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),Ur=Object.entries(Ce).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),ge=Ka.join("|"),eo=Object.keys(io).sort((e,t)=>t.length-e.length).join("|"),Ga=["::-webkit-resizer","::-webkit-scrollbar","::-webkit-scrollbar-button","::-webkit-scrollbar-corner","::-webkit-scrollbar-thumb","::-webkit-scrollbar-track","::-webkit-scrollbar-track-piece","::file-selector-button"],to=Object.entries(Se).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),ro=Object.entries(Ce).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|");function Ha(e,t,r,n){let{h:o,variantGetBracket:i}=n,s=new RegExp(`^(${G(t)}:)(\\S+)${G(r)}\\1`),a,l,u,f,p=h=>{let x=i(`${e}-`,h,[]);if(!x)return;let[k,E]=x,y=o.bracket(k);if(y==null)return;let b=E.split(a,1)?.[0]??"",O=`${t}${Y(b)}`;return[b,h.slice(h.length-(E.length-b.length-1)),y.includes("&")?y.replace(/&/g,O):`${O}${y}`]},d=h=>{let x=h.match(l)||h.match(u);if(!x)return;let[k,E,y]=x,b=x[3]??"",O=Se[y]||Ce[y]||`:${y}`;return E&&(O=`:${E}(${O})`),[b,h.slice(k.length),`${t}${Y(b)}${O}`,y]},m=h=>{let x=h.match(f);if(!x)return;let[k,E,y]=x,b=x[3]??"",O=`:${E}(${y})`;return[b,h.slice(k.length),`${t}${Y(b)}${O}`]};return{name:`pseudo:${e}`,match(h,x){if(a&&l&&u||(a=new RegExp(`(?:${x.generator.config.separators.join("|")})`),l=new RegExp(`^${e}-(?:(?:(${ge})-)?(${Lr}))(?:(/[\\w-]+))?(?:${x.generator.config.separators.join("|")})`),u=new RegExp(`^${e}-(?:(?:(${ge})-)?(${Ur}))(?:(/[\\w-]+))?(?:${x.generator.config.separators.filter(g=>g!=="-").join("|")})`),f=new RegExp(`^${e}-(?:(${ge})-)?\\[(.+)\\](?:(/[\\w-]+))?(?:${x.generator.config.separators.filter(g=>g!=="-").join("|")})`)),!h.startsWith(e))return;let k=p(h)||d(h)||m(h);if(!k)return;let[E,y,b,O=""]=k;return{matcher:y,handle:(g,R)=>R({...g,prefix:`${b}${r}${g.prefix}`.replace(s,"$1$2:"),sort:no.indexOf(O)??oo.indexOf(O)})}},multiPass:!0}}function so(e){let{h:t}=e,r,n,o;return[{name:"pseudo",match(i,s){r&&n||(r=new RegExp(`^(${to})(?:-(\\d+|\\[(\\w|[+-.])+\\]))?(?:${s.generator.config.separators.join("|")})`),n=new RegExp(`^(${ro})(?:${s.generator.config.separators.filter(l=>l!=="-").join("|")})`));let a=i.match(r)||i.match(n);if(a){let l=Se[a[1]]||Ce[a[1]]||`:${a[1]}`;if(a[2]){let f;a[2].startsWith("[")&&a[2].endsWith("]")?f=t.bracket(a[2]):f=a[2],f&&(l=l.replace(Le,f))}let u=no.indexOf(a[1]);return u===-1&&(u=oo.indexOf(a[1])),u===-1&&(u=void 0),{matcher:i.slice(a[0].length),handle:(f,p)=>{let d=l.includes("::")&&!Ga.includes(l)?{pseudo:`${f.pseudo}${l}`}:{selector:`${f.selector}${l}`};return p({...f,...d,sort:u,noMerge:!0})}}}},multiPass:!0,autocomplete:`(${to}|${ro}):`},{name:"pseudo:multi",match(i,s){o||(o=new RegExp(`^(${eo})(?:${s.generator.config.separators.join("|")})`));let a=i.match(o);if(a)return io[a[1]].map(u=>({matcher:i.slice(a[0].length),handle:(f,p)=>p({...f,pseudo:`${f.pseudo}${u}`})}))},multiPass:!1,autocomplete:`(${eo}):`}]}function ao(e){let{getBracket:t,h:r}=e,n,o,i;return{match(s,a){n&&o||(n=new RegExp(`^(${ge})-(${Lr})(?:${a.generator.config.separators.join("|")})`),o=new RegExp(`^(${ge})-(${Ur})(?:${a.generator.config.separators.filter(u=>u!=="-").join("|")})`),i=new RegExp(`^(${ge})-(\\[.+\\])(?:${a.generator.config.separators.filter(u=>u!=="-").join("|")})`));let l=s.match(n)||s.match(o)||s.match(i);if(l){let u=l[1],p=t(l[2],"[","]")?r.bracket(l[2]):Se[l[2]]||Ce[l[2]]||`:${l[2]}`;return{matcher:s.slice(l[0].length),selector:d=>`${d}:${u}(${p})`}}},multiPass:!0,autocomplete:`(${ge})-(${Lr}|${Ur}):`}}function lo(e,t){let r=!!e?.attributifyPseudo,n=e?.prefix??"";n=Y((Array.isArray(n)?n:[n]).filter(Boolean)[0]??"");let o=(i,s)=>Ha(i,r?`[${n}${i}=""]`:`.${n}${i}`,s,t);return[o("group"," "),o("peer","~"),o("parent",">"),o("previous","+")]}var qa=/(part-\[(.+)\]:)(.+)/;function co(){return{match(e){let t=e.match(qa);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(`^${G(e)}(?:${i.generator.config.separators.join("|")})`));let s=o.match(n);if(s){let a=o.slice(s[0].length),l=T(t).map(u=>({matcher:a,handle:(f,p)=>p({...f,...u(f)}),...r}));return l.length===1?l[0]:l}},autocomplete:`${e}:`}}function K(e,t){let r;return{name:e,match(n,o){r||(r=new RegExp(`^${G(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 ie(e,t,r){if(t.startsWith(`${e}[`)){let[n,o]=pe(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 B(e,t,r){for(let n of T(e))if(t.startsWith(n)){let o=ie(n,t,r);if(o){let[i="",s=o[1]]=B("/",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),l=a===-1||s<=a;return[t.slice(n.length,l?s:a),t.slice(s+i.length),l?"":t.slice(a+1,s)]}}}}var Kr={};ea(Kr,{auto:()=>Za,bracket:()=>nl,bracketOfColor:()=>ol,bracketOfLength:()=>il,bracketOfPosition:()=>sl,cssvar:()=>al,degree:()=>cl,fraction:()=>rl,global:()=>ul,number:()=>el,numberWithUnit:()=>Xa,percent:()=>tl,position:()=>pl,properties:()=>fl,px:()=>Qa,rem:()=>Ja,time:()=>ll});var I={l:["-left"],r:["-right"],t:["-top"],b:["-bottom"],s:["-inline-start"],e:["-inline-end"],x:["-left","-right"],y:["-top","-bottom"],"":[""],bs:["-block-start"],be:["-block-end"],is:["-inline-start"],ie:["-inline-end"],block:["-block-start","-block-end"],inline:["-inline-start","-inline-end"]},Br={...I,s:["-inset-inline-start"],start:["-inset-inline-start"],e:["-inset-inline-end"],end:["-inset-inline-end"],bs:["-inset-block-start"],be:["-inset-block-end"],is:["-inset-inline-start"],ie:["-inset-inline-end"],block:["-inset-block-start","-inset-block-end"],inline:["-inset-inline-start","-inset-inline-end"]},Wr={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"]},fo={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},po=["x","y","z"],uo=["top","top center","top left","top right","bottom","bottom center","bottom left","bottom right","left","left center","left top","left bottom","right","right center","right top","right bottom","center","center top","center bottom","center left","center right","center center"],W=Object.assign({},...uo.map(e=>({[e.replace(/ /,"-")]:e})),...uo.map(e=>({[e.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:e}))),C=["inherit","initial","revert","revert-layer","unset"],Ue=/^(calc|clamp|min|max)\s*\((.+)\)(.*)/,mo=/^(var)\s*\((.+)\)(.*)/;var Re=/^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i,Ir=/^(-?\d*(?:\.\d+)?)$/,Dr=/^(px|[sld]?v[wh])$/i,Nr={px:1,vw:100,vh:100,svw:100,svh:100,dvw:100,dvh:100,lvh:100,lvw:100},ft=/^\[(color|image|length|size|position|quoted|string):/i,ho=/,(?![^()]*\))/g;var Ya=["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 X(e){return+e.toFixed(10)}function Xa(e){let t=e.match(Re);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(n&&!Number.isNaN(o))return`${X(o)}${n}`}function Za(e){if(e==="auto"||e==="a")return"auto"}function Ja(e){if(!e)return;if(Dr.test(e))return`${Nr[e]}${e}`;let t=e.match(Re);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0":n?`${X(o)}${n}`:`${X(o/4)}rem`}function Qa(e){if(Dr.test(e))return`${Nr[e]}${e}`;let t=e.match(Re);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return n?`${X(o)}${n}`:`${X(o)}px`}function el(e){if(!Ir.test(e))return;let t=Number.parseFloat(e);if(!Number.isNaN(t))return X(t)}function tl(e){if(e.endsWith("%")&&(e=e.slice(0,-1)),!Ir.test(e))return;let t=Number.parseFloat(e);if(!Number.isNaN(t))return`${X(t/100)}`}function rl(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":`${X(n*100)}%`}function pt(e,t){if(e&&e.startsWith("[")&&e.endsWith("]")){let r,n,o=e.match(ft);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,(l,u)=>(a.push(u),l.replace(u,"--un-calc"))).replace(/(-?\d*\.?\d(?!-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 ").replace(/--un-calc/g,()=>a.shift())})}}function nl(e){return pt(e)}function ol(e){return pt(e,"color")}function il(e){return pt(e,"length")}function sl(e){return pt(e,"position")}function al(e){if(/^\$[^\s'"`;{}]/.test(e)){let[t,r]=e.slice(1).split(",");return`var(--${Y(t)}${r?`, ${r}`:""})`}}function ll(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?`${X(o)}${n}`:`${X(o)}ms`}function cl(e){let t=e.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0deg":n?`${X(o)}${n}`:`${X(o)}deg`}function ul(e){if(C.includes(e))return e}function fl(e){if(e.split(",").every(t=>Ya.includes(t)))return e}function pl(e){if(["top","left","right","bottom","center"].includes(e))return e}var dl=Qn(Kr),c=dl;var go={mid:"middle",base:"baseline",btm:"bottom",baseline:"baseline",top:"top",start:"top",middle:"middle",bottom:"bottom",end:"bottom","text-top":"text-top","text-bottom":"text-bottom",sub:"sub",super:"super",...Object.fromEntries(C.map(e=>[e,e]))},dt=[[/^(?:vertical|align|v)-(.+)$/,([,e])=>({"vertical-align":go[e]??c.bracket.cssvar.numberWithUnit(e)}),{autocomplete:[`(vertical|align|v)-(${Object.keys(go).join("|")})`,"(vertical|align|v)-<percentage>"]}]],bo=["center","left","right","justify","start","end"],mt=[...bo.map(e=>[`text-${e}`,{"text-align":e}]),...[...C,...bo].map(e=>[`text-align-${e}`,{"text-align":e}])];var wo="$$mini-no-negative";function M(e){return([t,r,n],{theme:o})=>{let i=o.spacing?.[n||"DEFAULT"]??c.bracket.cssvar.global.auto.fraction.rem(n);if(i!=null)return I[r].map(s=>[`${e}${s}`,i]);if(n?.startsWith("-")){let s=o.spacing?.[n.slice(1)];if(s!=null)return I[r].map(a=>[`${e}${a}`,`calc(${s} * -1)`])}}}function xo(e,t,r="colors"){let n=e[r];function o(i,s){if(s.length===0)return i;if(!(!i||typeof i!="object"))for(let a=s.length;a>0;a--){let l=s.slice(0,a).join("-"),u=l.replace(/(-[a-z])/g,p=>p.slice(1).toUpperCase()),f=i[u]??i[l];if(f!=null)return a===s.length?f:o(f,s.slice(a))}}return o(n,t)}function yo(e,t,r){return xo(e,t,r)||xo(e,t,"colors")}function Hr(e,t){let[r,n]=we(e,"[","]",["/",":"])??[];if(r!=null){let o=(r.match(ft)??[])[1];if(o==null||o===t)return[r,n]}}function Te(e,t,r){let n=Hr(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 l,u=c.bracketOfColor(o),f=u||o;if(c.numberWithUnit(f))return;if(/^#[\da-f]+$/i.test(f)?l=f:/^hex-[\da-fA-F]+$/.test(f)?l=`#${f.slice(4)}`:o.startsWith("$")&&(l=c.cssvar(o)),l=l||u,!l){let d=yo(t,[o],r);typeof d=="string"&&(l=d)}let p="DEFAULT";if(!l){let d=s,m,[h]=s.slice(-1);/^\d+$/.test(h)&&(p=m=h,d=s.slice(0,-1));let x=yo(t,d,r);typeof x=="object"?l=x[m??p]:typeof x=="string"&&!m&&(l=x)}return{opacity:i,name:a,no:p,color:l,cssColor:re(l),alpha:c.bracket.cssvar.percent(i??"")}}function V(e,t,r,n){return([,o],{theme:i,generator:s})=>{let a=Te(o??"",i,r);if(!a)return;let{alpha:l,color:u,cssColor:f}=a,d=s.config.envMode==="dev"&&u?` /* ${u} */`:"",m={};if(f)if(l!=null)m[e]=U(f,l)+d;else{let h=`--un-${t}-opacity`,x=U(f,`var(${h})`);x.includes(h)&&(m[h]=he(f)),m[e]=x+d}else if(u)if(l!=null)m[e]=U(u,l)+d;else{let h=`--un-${t}-opacity`,x=U(u,`var(${h})`);x.includes(h)&&(m[h]=1),m[e]=x+d}if(n?.(m)!==!1)return m}}function Ee(e,t){let r=[];e=T(e);for(let n=0;n<e.length;n++){let o=ke(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="",l=o.at(-1);if(re(o.at(0))){let u=re(o.shift());u&&(a=`, ${U(u)}`)}else if(re(l)){let u=re(o.pop());u&&(a=`, ${U(u)}`)}else l&&l.startsWith("var(")&&(a=`, ${o.pop()}`);r.push(`${i?"inset ":""}${o.join(" ")} var(${t}${a})`)}return r}function je(e,t,r){return e!=null&&!!Te(e,t,r)?.color}var vo=/[a-z]+/gi,Gr=new WeakMap;function be({theme:e,generator:t},r="breakpoints"){let n=t?.userConfig?.theme?.[r]||e[r];if(!n)return;if(Gr.has(e))return Gr.get(e);let o=Object.entries(n).sort((i,s)=>Number.parseInt(i[1].replace(vo,""))-Number.parseInt(s[1].replace(vo,""))).map(([i,s])=>({point:i,size:s}));return Gr.set(e,o),o}function v(e,t){return C.map(r=>[`${e}-${r}`,{[t??e]:r}])}function Z(e){return e!=null&&Ue.test(e)}function ko(e){return e[0]==="["&&e.slice(-1)==="]"&&(e=e.slice(1,-1)),Ue.test(e)||Re.test(e)}function ht(e,t,r){let n=t.split(ho);return e||!e&&n.length===1?fo[e].map(o=>[`--un-${r}${o}`,t]):n.map((o,i)=>[`--un-${r}-${po[i]}`,o])}var gt=[[/^outline-(?:width-|size-)?(.+)$/,$o,{autocomplete:"outline-(width|size)-<num>"}],[/^outline-(?:color-)?(.+)$/,ml,{autocomplete:"outline-$colors"}],[/^outline-offset-(.+)$/,([,e],{theme:t})=>({"outline-offset":t.lineWidth?.[e]??c.bracket.cssvar.global.px(e)}),{autocomplete:"outline-(offset)-<num>"}],["outline",{"outline-style":"solid"}],...["auto","dashed","dotted","double","hidden","solid","groove","ridge","inset","outset",...C].map(e=>[`outline-${e}`,{"outline-style":e}]),["outline-none",{outline:"2px solid transparent","outline-offset":"2px"}]];function $o([,e],{theme:t}){return{"outline-width":t.lineWidth?.[e]??c.bracket.cssvar.global.px(e)}}function ml(e,t){return Z(c.bracket(e[1]))?$o(e,t):V("outline-color","outline-color","borderColor")(e,t)}var bt=[["appearance-auto",{"-webkit-appearance":"auto",appearance:"auto"}],["appearance-none",{"-webkit-appearance":"none",appearance:"none"}]];function hl(e){return c.properties.auto.global(e)??{contents:"contents",scroll:"scroll-position"}[e]}var xt=[[/^will-change-(.+)/,([,e])=>({"will-change":hl(e)})]];var xe=["solid","dashed","dotted","double","hidden","none","groove","ridge","inset","outset",...C],yt=[[/^(?:border|b)()(?:-(.+))?$/,ne,{autocomplete:"(border|b)-<directions>"}],[/^(?:border|b)-([xy])(?:-(.+))?$/,ne],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,ne],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,ne],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,ne],[/^(?:border|b)-()(?:width|size)-(.+)$/,ne,{autocomplete:["(border|b)-<num>","(border|b)-<directions>-<num>"]}],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,ne],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,ne],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,ne],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,ne],[/^(?:border|b)-()(?:color-)?(.+)$/,Be,{autocomplete:["(border|b)-$colors","(border|b)-<directions>-$colors"]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,Be],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,Be],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,Be],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,Be],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,We,{autocomplete:"(border|b)-(op|opacity)-<percent>"}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,We],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,We],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,We],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,We],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,Ie,{autocomplete:["(border|b)-(rounded|rd)","(border|b)-(rounded|rd)-$borderRadius","(rounded|rd)","(rounded|rd)-$borderRadius"]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltbse])(?:-(.+))?$/,Ie],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,Ie],[/^(?:border-|b-)?(?:rounded|rd)-([bise][se])(?:-(.+))?$/,Ie],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,Ie],[/^(?:border|b)-(?:style-)?()(.+)$/,De,{autocomplete:["(border|b)-style",`(border|b)-(${xe.join("|")})`,"(border|b)-<directions>-style",`(border|b)-<directions>-(${xe.join("|")})`,`(border|b)-<directions>-style-(${xe.join("|")})`,`(border|b)-style-(${xe.join("|")})`]}],[/^(?:border|b)-([xy])-(?:style-)?(.+)$/,De],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,De],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,De],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,De]];function So(e,t,r){if(t!=null)return{[`border${r}-color`]:U(e,t)};if(r===""){let n={},o="--un-border-opacity",i=U(e,`var(${o})`);return i.includes(o)&&(n[o]=typeof e=="string"?1:he(e)),n["border-color"]=i,n}else{let n={},o="--un-border-opacity",i=`--un-border${r}-opacity`,s=U(e,`var(${i})`);return s.includes(i)&&(n[o]=typeof e=="string"?1:he(e),n[i]=`var(${o})`),n[`border${r}-color`]=s,n}}function gl(e){return([,t],r)=>{let n=Te(t,r,"borderColor");if(!n)return;let{alpha:o,color:i,cssColor:s}=n;if(s)return So(s,o,e);if(i)return So(i,o,e)}}function ne([,e="",t],{theme:r}){let n=r.lineWidth?.[t||"DEFAULT"]??c.bracket.cssvar.global.px(t||"1");if(e in I&&n!=null)return I[e].map(o=>[`border${o}-width`,n])}function Be([,e="",t],r){if(e in I){if(Z(c.bracket(t)))return ne(["",e,t],r);if(je(t,r.theme,"borderColor"))return Object.assign({},...I[e].map(n=>gl(n)(["",t],r.theme)))}}function We([,e="",t]){let r=c.bracket.percent.cssvar(t);if(e in I&&r!=null)return I[e].map(n=>[`--un-border${n}-opacity`,r])}function Ie([,e="",t],{theme:r}){let n=r.borderRadius?.[t||"DEFAULT"]||c.bracket.cssvar.global.fraction.rem(t||"1");if(e in Wr&&n!=null)return Wr[e].map(o=>[`border${o}-radius`,n])}function De([,e="",t]){if(xe.includes(t)&&e in I)return I[e].map(r=>[`border${r}-style`,t])}var vt=[[/^op(?:acity)?-?(.+)$/,([,e])=>({opacity:c.bracket.percent.cssvar(e)})]],bl=/^\[url\(.+\)\]$/,xl=/^\[(?:length|size):.+\]$/,yl=/^\[position:.+\]$/,vl=/^\[(?:linear|conic|radial)-gradient\(.+\)\]$/,wl=/^\[image:.+\]$/,wt=[[/^bg-(.+)$/,(...e)=>{let t=e[0][1];if(bl.test(t))return{"--un-url":c.bracket(t),"background-image":"var(--un-url)"};if(xl.test(t)&&c.bracketOfLength(t)!=null)return{"background-size":c.bracketOfLength(t).split(" ").map(r=>c.fraction.auto.px.cssvar(r)??r).join(" ")};if((ko(t)||yl.test(t))&&c.bracketOfPosition(t)!=null)return{"background-position":c.bracketOfPosition(t).split(" ").map(r=>c.position.fraction.auto.px.cssvar(r)??r).join(" ")};if(vl.test(t)||wl.test(t)){let r=c.bracket(t);if(r)return{"background-image":(r.startsWith("http")?`url(${r})`:c.cssvar(r))??r}}return V("background-color","bg","backgroundColor")(...e)},{autocomplete:"bg-$colors"}],[/^bg-op(?:acity)?-?(.+)$/,([,e])=>({"--un-bg-opacity":c.bracket.percent.cssvar(e)}),{autocomplete:"bg-(op|opacity)-<percent>"}]],kt=[[/^color-scheme-(\w+)$/,([,e])=>({"color-scheme":e})]];var $t=[[/^@container(?:\/(\w+))?(?:-(normal|inline-size|size))?$/,([,e,t])=>({"container-type":t??"inline-size","container-name":e})]];var Co=["solid","double","dotted","dashed","wavy",...C],St=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,e])=>({"text-decoration-line":e}),{autocomplete:"decoration-(underline|overline|line-through)"}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,Ro,{autocomplete:"(underline|decoration)-<num>"}],[/^(?:underline|decoration)-(auto|from-font)$/,([,e])=>({"text-decoration-thickness":e}),{autocomplete:"(underline|decoration)-(auto|from-font)"}],[/^(?:underline|decoration)-(.+)$/,kl,{autocomplete:"(underline|decoration)-$colors"}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-line-opacity":c.bracket.percent.cssvar(e)}),{autocomplete:"(underline|decoration)-(op|opacity)-<percent>"}],[/^(?:underline|decoration)-offset-(.+)$/,([,e],{theme:t})=>({"text-underline-offset":t.lineWidth?.[e]??c.auto.bracket.cssvar.global.px(e)}),{autocomplete:"(underline|decoration)-(offset)-<num>"}],...Co.map(e=>[`underline-${e}`,{"text-decoration-style":e}]),...Co.map(e=>[`decoration-${e}`,{"text-decoration-style":e}]),["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];function Ro([,e],{theme:t}){return{"text-decoration-thickness":t.lineWidth?.[e]??c.bracket.cssvar.global.px(e)}}function kl(e,t){if(Z(c.bracket(e[1])))return Ro(e,t);let r=V("text-decoration-color","line","borderColor")(e,t);if(r)return{"-webkit-text-decoration-color":r["text-decoration-color"],...r}}var Ct=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],[/^flex-(.*)$/,([,e])=>({flex:c.bracket(e)!=null?c.bracket(e).split(" ").map(t=>c.cssvar.fraction(t)??t).join(" "):c.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":c.bracket.cssvar.number(e)??1}),{autocomplete:["flex-shrink-<num>","shrink-<num>"]}],[/^(?:flex-)?grow(?:-(.*))?$/,([,e=""])=>({"flex-grow":c.bracket.cssvar.number(e)??1}),{autocomplete:["flex-grow-<num>","grow-<num>"]}],[/^(?:flex-)?basis-(.+)$/,([,e],{theme:t})=>({"flex-basis":t.spacing?.[e]??c.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 $l={"":"",x:"column-",y:"row-",col:"column-",row:"row-"};function qr([,e="",t],{theme:r}){let n=r.spacing?.[t]??c.bracket.cssvar.global.rem(t);if(n!=null)return{[`${$l[e]}gap`]:n}}var Rt=[[/^(?:flex-|grid-)?gap-?()(.+)$/,qr,{autocomplete:["gap-$spacing","gap-<num>"]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,qr,{autocomplete:["gap-(x|y)-$spacing","gap-(x|y)-<num>"]}],[/^(?:flex-|grid-)?gap-(col|row)-?(.+)$/,qr,{autocomplete:["gap-(col|row)-$spacing","gap-(col|row)-<num>"]}]];function se(e){return e.replace("col","column")}function Yr(e){return e[0]==="r"?"Row":"Column"}function Sl(e,t,r){let n=t[`gridAuto${Yr(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 c.bracket.cssvar.auto.rem(r)}var Tt=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,e,t],{theme:r})=>({[`grid-${se(e)}`]:r[`grid${Yr(e)}`]?.[t]??c.bracket.cssvar.auto(t)})],[/^(?:grid-)?(row|col)-span-(.+)$/,([,e,t])=>{if(t==="full")return{[`grid-${se(e)}`]:"1/-1"};let r=c.bracket.number(t);if(r!=null)return{[`grid-${se(e)}`]:`span ${r}/span ${r}`}},{autocomplete:"(grid-row|grid-col|row|col)-span-<num>"}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,e,t])=>({[`grid-${se(e)}-start`]:c.bracket.cssvar(t)??t})],[/^(?:grid-)?(row|col)-end-(.+)$/,([,e,t])=>({[`grid-${se(e)}-end`]:c.bracket.cssvar(t)??t}),{autocomplete:"(grid-row|grid-col|row|col)-(start|end)-<num>"}],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,e,t],{theme:r})=>({[`grid-auto-${se(e)}`]:Sl(e,r,t)}),{autocomplete:"(grid-auto|auto)-(rows|cols)-<num>"}],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,e])=>({"grid-auto-flow":c.bracket.cssvar(e)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)$/,([,e])=>({"grid-auto-flow":se(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-${se(e)}`]:r[`gridTemplate${Yr(e)}`]?.[t]??c.bracket.cssvar(t)})],[/^(?:grid-)?(rows|cols)-minmax-([\w.-]+)$/,([,e,t])=>({[`grid-template-${se(e)}`]:`repeat(auto-fill,minmax(${t},1fr))`})],[/^(?:grid-)?(rows|cols)-(\d+)$/,([,e,t])=>({[`grid-template-${se(e)}`]:`repeat(${t},minmax(0,1fr))`}),{autocomplete:"(grid-rows|grid-cols|rows|cols)-<num>"}],[/^grid-area(s)?-(.+)$/,([,e,t])=>e!=null?{"grid-template-areas":c.cssvar(t)??t.split("-").map(r=>`"${c.bracket(r)}"`).join(" ")}:{"grid-area":c.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 Et=["auto","hidden","clip","visible","scroll","overlay",...C],jt=[[/^(?:overflow|of)-(.+)$/,([,e])=>Et.includes(e)?{overflow:e}:void 0,{autocomplete:[`(overflow|of)-(${Et.join("|")})`,`(overflow|of)-(x|y)-(${Et.join("|")})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,e,t])=>Et.includes(t)?{[`overflow-${e}`]:t}:void 0]];var Pt=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,e])=>({position:e}),{autocomplete:["(position|pos)-<position>","(position|pos)-<globalKeyword>","<position>"]}],[/^(?:position-|pos-)([-\w]+)$/,([,e])=>C.includes(e)?{position:e}:void 0],[/^(?:position-|pos-)?(static)$/,([,e])=>({position:e})]],Ke=[["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"}],...v("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"}],...v("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"}],...v("justify-self")],Ot=[[/^order-(.+)$/,([,e])=>({order:c.bracket.cssvar.number(e)})],["order-first",{order:"-9999"}],["order-last",{order:"9999"}],["order-none",{order:"0"}]],Ge=[["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"}],...v("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"}],...v("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"}],...v("self","align-self")],He=[["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"}],...v("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"}],...v("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"}],...v("place-self")],zt=[...Ke,...Ge,...He].flatMap(([e,t])=>[[`flex-${e}`,t],[`grid-${e}`,t]]);function Xr(e,{theme:t}){return t.spacing?.[e]??c.bracket.cssvar.global.auto.fraction.rem(e)}function Ne([,e,t],r){let n=Xr(t,r);if(n!=null&&e in Br)return Br[e].map(o=>[o.slice(1),n])}var Vt=[[/^(?:position-|pos-)?inset-(.+)$/,([,e],t)=>({inset:Xr(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)-(.+)$/,Ne],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,Ne],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,Ne],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,Ne],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,Ne],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,e,t],r)=>({[e]:Xr(t,r)})]],At=[["float-left",{float:"left"}],["float-right",{float:"right"}],["float-start",{float:"inline-start"}],["float-end",{float:"inline-end"}],["float-none",{float:"none"}],...v("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"}],...v("clear")],Mt=[[/^(?:position-|pos-)?z([\d.]+)$/,([,e])=>({"z-index":c.number(e)})],[/^(?:position-|pos-)?z-(.+)$/,([,e],{theme:t})=>({"z-index":t.zIndex?.[e]??c.bracket.cssvar.global.auto.number(e)}),{autocomplete:"z-<num>"}]],_t=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}],...v("box","box-sizing")];var Ft=[[/^(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 Cl=["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"],Rl=["none","strict","content","size","inline-size","layout","style","paint"],j=" ",Lt=[["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:c.bracket.cssvar.global(e)})]],Ut=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}],...v("backface","backface-visibility")],Bt=[[/^cursor-(.+)$/,([,e])=>({cursor:c.bracket.cssvar.global(e)})],...Cl.map(e=>[`cursor-${e}`,{cursor:e}])],Wt=[[/^contain-(.*)$/,([,e])=>c.bracket(e)!=null?{contain:c.bracket(e).split(" ").map(t=>c.cssvar.fraction(t)??t).join(" ")}:Rl.includes(e)?{contain:e}:void 0]],It=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}],...v("pointer-events")],Dt=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}],...v("resize")],Nt=[["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"}],...v("select","user-select")],Kt=[[/^(?:whitespace-|ws-)([-\w]+)$/,([,e])=>["normal","nowrap","pre","pre-line","pre-wrap","break-spaces",...C].includes(e)?{"white-space":e}:void 0,{autocomplete:"(whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)"}]],Gt=[[/^intrinsic-size-(.+)$/,([,e])=>({"contain-intrinsic-size":c.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"}],...v("content-visibility")],Ht=[[/^content-(.+)$/,([,e])=>({content:c.bracket.cssvar(e)})],["content-empty",{content:'""'}],["content-none",{content:"none"}]],qt=[["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"}]],Yt=[["text-wrap",{"text-wrap":"wrap"}],["text-nowrap",{"text-wrap":"nowrap"}],["text-balance",{"text-wrap":"balance"}],["text-pretty",{"text-wrap":"pretty"}]],Xt=[["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"}]],Zt=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}],...v("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"}]],Qt=[["antialiased",{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"}],["subpixel-antialiased",{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"}]],er=[["field-sizing-fixed",{"field-sizing":"fixed"}],["field-sizing-content",{"field-sizing":"content"}]];var qe={"--un-ring-inset":j,"--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)"},Tl=Object.keys(qe),tr=[[/^ring(?:-(.+))?$/,([,e],{theme:t})=>{let r=t.ringWidth?.[e||"DEFAULT"]??c.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:Tl},autocomplete:"ring-$ringWidth"}],[/^ring-(?:width-|size-)(.+)$/,To,{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]??c.bracket.cssvar.px(e)}),{autocomplete:"ring-offset-(width|size)-$lineWidth"}],[/^ring-(.+)$/,El,{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-opacity":c.bracket.percent.cssvar(e)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^ring-offset-(.+)$/,V("--un-ring-offset-color","ring-offset","borderColor"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-offset-opacity":c.bracket.percent.cssvar(e)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]];function To([,e],{theme:t}){return{"--un-ring-width":t.ringWidth?.[e]??c.bracket.cssvar.px(e)}}function El(e,t){return Z(c.bracket(e[1]))?To(e,t):V("--un-ring-color","ring","borderColor")(e,t)}var Ye={"--un-ring-offset-shadow":"0 0 rgb(0 0 0 / 0)","--un-ring-shadow":"0 0 rgb(0 0 0 / 0)","--un-shadow-inset":j,"--un-shadow":"0 0 rgb(0 0 0 / 0)"},jl=Object.keys(Ye),rr=[[/^shadow(?:-(.+))?$/,(e,t)=>{let[,r]=e,{theme:n}=t,o=n.boxShadow?.[r||"DEFAULT"],i=r?c.bracket.cssvar(r):void 0;return(o!=null||i!=null)&&!je(i,n,"shadowColor")?{"--un-shadow":Ee(o||i,"--un-shadow-color").join(","),"box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"}:V("--un-shadow-color","shadow","shadowColor")(e,t)},{custom:{preflightKeys:jl},autocomplete:["shadow-$colors","shadow-$boxShadow"]}],[/^shadow-op(?:acity)?-?(.+)$/,([,e])=>({"--un-shadow-opacity":c.bracket.percent.cssvar(e)}),{autocomplete:"shadow-(op|opacity)-<percent>"}],["shadow-inset",{"--un-shadow-inset":"inset"}]];var Pl={h:"height",w:"width",inline:"inline-size",block:"block-size"};function ye(e,t){return`${e||""}${Pl[t]}`}function nr(e,t,r,n){let o=ye(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 c.bracket.cssvar.global.auto.fraction.rem(n)}var or=[[/^size-(min-|max-)?(.+)$/,([,e,t],{theme:r})=>({[ye(e,"w")]:nr(e,"w",r,t),[ye(e,"h")]:nr(e,"h",r,t)})],[/^(?:size-)?(min-|max-)?([wh])-?(.+)$/,([,e,t,r],{theme:n})=>({[ye(e,t)]:nr(e,t,n,r)})],[/^(?:size-)?(min-|max-)?(block|inline)-(.+)$/,([,e,t,r],{theme:n})=>({[ye(e,t)]:nr(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)=>({[ye(e,t)]:Eo(n,r,"verticalBreakpoints")})],[/^(?:size-)?(min-|max-)?(w)-screen-(.+)$/,([,e,t,r],n)=>({[ye(e,t)]:Eo(n,r)}),{autocomplete:["(w|h)-screen","(min|max)-(w|h)-screen","h-screen-$verticalBreakpoints","(min|max)-h-screen-$verticalBreakpoints","w-screen-$breakpoints","(min|max)-w-screen-$breakpoints"]}]];function Eo(e,t,r="breakpoints"){let n=be(e,r);if(n)return n.find(o=>o.point===t)?.size}function Ol(e){if(/^\d+\/\d+$/.test(e))return e;switch(e){case"square":return"1/1";case"video":return"16/9"}return c.bracket.cssvar.global.auto.number(e)}var ir=[[/^(?:size-)?aspect-(?:ratio-)?(.+)$/,([,e])=>({"aspect-ratio":Ol(e)}),{autocomplete:["aspect-(square|video|ratio)","aspect-ratio-(square|video)"]}]];var sr=[[/^pa?()-?(.+)$/,M("padding"),{autocomplete:["(m|p)<num>","(m|p)-<num>"]}],[/^p-?xy()()$/,M("padding"),{autocomplete:"(m|p)-(xy)"}],[/^p-?([xy])(?:-?(.+))?$/,M("padding")],[/^p-?([rltbse])(?:-?(.+))?$/,M("padding"),{autocomplete:"(m|p)<directions>-<num>"}],[/^p-(block|inline)(?:-(.+))?$/,M("padding"),{autocomplete:"(m|p)-(block|inline)-<num>"}],[/^p-?([bi][se])(?:-?(.+))?$/,M("padding"),{autocomplete:"(m|p)-(bs|be|is|ie)-<num>"}]],ar=[[/^ma?()-?(.+)$/,M("margin")],[/^m-?xy()()$/,M("margin")],[/^m-?([xy])(?:-?(.+))?$/,M("margin")],[/^m-?([rltbse])(?:-?(.+))?$/,M("margin")],[/^m-(block|inline)(?:-(.+))?$/,M("margin")],[/^m-?([bi][se])(?:-?(.+))?$/,M("margin")]];var lr=[[/^fill-(.+)$/,V("fill","fill","backgroundColor"),{autocomplete:"fill-$colors"}],[/^fill-op(?:acity)?-?(.+)$/,([,e])=>({"--un-fill-opacity":c.bracket.percent.cssvar(e)}),{autocomplete:"fill-(op|opacity)-<percent>"}],["fill-none",{fill:"none"}],[/^stroke-(?:width-|size-)?(.+)$/,jo,{autocomplete:["stroke-width-$lineWidth","stroke-size-$lineWidth"]}],[/^stroke-dash-(.+)$/,([,e])=>({"stroke-dasharray":c.bracket.cssvar.number(e)}),{autocomplete:"stroke-dash-<num>"}],[/^stroke-offset-(.+)$/,([,e],{theme:t})=>({"stroke-dashoffset":t.lineWidth?.[e]??c.bracket.cssvar.px.numberWithUnit(e)}),{autocomplete:"stroke-offset-$lineWidth"}],[/^stroke-(.+)$/,zl,{autocomplete:"stroke-$colors"}],[/^stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-stroke-opacity":c.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 jo([,e],{theme:t}){return{"stroke-width":t.lineWidth?.[e]??c.bracket.cssvar.fraction.px.number(e)}}function zl(e,t){return Z(c.bracket(e[1]))?jo(e,t):V("stroke","stroke","borderColor")(e,t)}var cr=["translate","rotate","scale"],Vl=["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(" "),Pe=["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(" "),Al=["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(" "),Xe={"--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},ae=Object.keys(Xe),ur=[[/^(?:transform-)?origin-(.+)$/,([,e])=>({"transform-origin":W[e]??c.bracket.cssvar(e)}),{autocomplete:[`transform-origin-(${Object.keys(W).join("|")})`,`origin-(${Object.keys(W).join("|")})`]}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,e])=>{let t=c.bracket.cssvar.px.numberWithUnit(e);if(t!=null)return{"-webkit-perspective":t,perspective:t}}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,e])=>{let t=c.bracket.cssvar(e)??(e.length>=3?W[e]:void 0);if(t!=null)return{"-webkit-perspective-origin":t,"perspective-origin":t}}],[/^(?:transform-)?translate-()(.+)$/,Po,{custom:{preflightKeys:ae}}],[/^(?:transform-)?translate-([xyz])-(.+)$/,Po,{custom:{preflightKeys:ae}}],[/^(?:transform-)?rotate-()(.+)$/,zo,{custom:{preflightKeys:ae}}],[/^(?:transform-)?rotate-([xyz])-(.+)$/,zo,{custom:{preflightKeys:ae}}],[/^(?:transform-)?skew-()(.+)$/,Vo,{custom:{preflightKeys:ae}}],[/^(?:transform-)?skew-([xy])-(.+)$/,Vo,{custom:{preflightKeys:ae},autocomplete:["transform-skew-(x|y)-<percent>","skew-(x|y)-<percent>"]}],[/^(?:transform-)?scale-()(.+)$/,Oo,{custom:{preflightKeys:ae}}],[/^(?:transform-)?scale-([xyz])-(.+)$/,Oo,{custom:{preflightKeys:ae},autocomplete:[`transform-(${cr.join("|")})-<percent>`,`transform-(${cr.join("|")})-(x|y|z)-<percent>`,`(${cr.join("|")})-<percent>`,`(${cr.join("|")})-(x|y|z)-<percent>`]}],[/^(?:transform-)?preserve-3d$/,()=>({"transform-style":"preserve-3d"})],[/^(?:transform-)?preserve-flat$/,()=>({"transform-style":"flat"})],["transform",{transform:Pe},{custom:{preflightKeys:ae}}],["transform-cpu",{transform:Vl},{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:Al},{custom:{preflightKeys:ae}}],["transform-none",{transform:"none"}],...v("transform")];function Po([,e,t],{theme:r}){let n=r.spacing?.[t]??c.bracket.cssvar.fraction.rem(t);if(n!=null)return[...ht(e,n,"translate"),["transform",Pe]]}function Oo([,e,t]){let r=c.bracket.cssvar.fraction.percent(t);if(r!=null)return[...ht(e,r,"scale"),["transform",Pe]]}function zo([,e="",t]){let r=c.bracket.cssvar.degree(t);if(r!=null)return e?{"--un-rotate":0,[`--un-rotate-${e}`]:r,transform:Pe}:{"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-rotate":r,transform:Pe}}function Vo([,e,t]){let r=c.bracket.cssvar.degree(t);if(r!=null)return[...ht(e,r,"skew"),["transform",Pe]]}function Ao(e,t){let r;if(c.cssvar(e)!=null)r=c.cssvar(e);else{e.startsWith("[")&&e.endsWith("]")&&(e=e.slice(1,-1));let n=e.split(",").map(o=>t.transitionProperty?.[o]??c.properties(o));n.every(Boolean)&&(r=n.join(","))}return r}var fr=[[/^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??c.time("150")};if(e!=null){let n=Ao(e,r),o=r.duration?.[t||"DEFAULT"]??c.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]??c.time(t)}},{autocomplete:"transition-$transitionProperty-$duration"}],[/^(?:transition-)?duration-(.+)$/,([,e],{theme:t})=>({"transition-duration":t.duration?.[e||"DEFAULT"]??c.bracket.cssvar.time(e)}),{autocomplete:["transition-duration-$duration","duration-$duration"]}],[/^(?:transition-)?delay-(.+)$/,([,e],{theme:t})=>({"transition-delay":t.duration?.[e||"DEFAULT"]??c.bracket.cssvar.time(e)}),{autocomplete:["transition-delay-$duration","delay-$duration"]}],[/^(?:transition-)?ease(?:-(.+))?$/,([,e],{theme:t})=>({"transition-timing-function":t.easing?.[e||"DEFAULT"]??c.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=c.global(e)||Ao(e,t);if(r)return{"transition-property":r}},{autocomplete:[`transition-property-(${[...C].join("|")})`,"transition-property-$transitionProperty","property-$transitionProperty"]}],["transition-none",{transition:"none"}],...v("transition"),["transition-discrete",{"transition-behavior":"allow-discrete"}],["transition-normal",{"transition-behavior":"normal"}]];var pr=[[/^text-(.+)$/,_l,{autocomplete:"text-$fontSize"}],[/^(?:text|font)-size-(.+)$/,Mo,{autocomplete:"text-size-$fontSize"}],[/^text-(?:color-)?(.+)$/,Ml,{autocomplete:"text-$colors"}],[/^(?:color|c)-(.+)$/,V("color","text","textColor"),{autocomplete:"(color|c)-$colors"}],[/^(?:text|color|c)-(.+)$/,([,e])=>C.includes(e)?{color:e}:void 0,{autocomplete:`(text|color|c)-(${C.join("|")})`}],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-opacity":c.bracket.percent.cssvar(e)}),{autocomplete:"(text|color|c)-(op|opacity)-<percent>"}],[/^(?:font|fw)-?([^-]+)$/,([,e],{theme:t})=>({"font-weight":t.fontWeight?.[e]||c.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":Zr(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":c.bracket.cssvar.global(e)})],[/^(?:font-)?tracking-(.+)$/,([,e],{theme:t})=>({"letter-spacing":t.letterSpacing?.[e]||c.bracket.cssvar.global.rem(e)}),{autocomplete:"tracking-$letterSpacing"}],[/^(?:font-)?word-spacing-(.+)$/,([,e],{theme:t})=>({"word-spacing":t.wordSpacing?.[e]||c.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":c.bracket.cssvar.fraction.global(e)}),{autocomplete:"font-stretch-<percentage>"}],[/^font-(.+)$/,([,e],{theme:t})=>({"font-family":t.fontFamily?.[e]||c.bracket.cssvar.global(e)}),{autocomplete:"font-$fontFamily"}]],dr=[[/^tab(?:-(.+))?$/,([,e])=>{let t=c.bracket.cssvar.global.number(e||"4");if(t!=null)return{"-moz-tab-size":t,"-o-tab-size":t,"tab-size":t}}]],mr=[[/^indent(?:-(.+))?$/,([,e],{theme:t})=>({"text-indent":t.textIndent?.[e||"DEFAULT"]||c.bracket.cssvar.global.fraction.rem(e)}),{autocomplete:"indent-$textIndent"}]],hr=[[/^text-stroke(?:-(.+))?$/,([,e],{theme:t})=>({"-webkit-text-stroke-width":t.textStrokeWidth?.[e||"DEFAULT"]||c.bracket.cssvar.px(e)}),{autocomplete:"text-stroke-$textStrokeWidth"}],[/^text-stroke-(.+)$/,V("-webkit-text-stroke-color","text-stroke","borderColor"),{autocomplete:"text-stroke-$colors"}],[/^text-stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-stroke-opacity":c.bracket.percent.cssvar(e)}),{autocomplete:"text-stroke-(op|opacity)-<percent>"}]],gr=[[/^text-shadow(?:-(.+))?$/,([,e],{theme:t})=>{let r=t.textShadow?.[e||"DEFAULT"];return r!=null?{"--un-text-shadow":Ee(r,"--un-text-shadow-color").join(","),"text-shadow":"var(--un-text-shadow)"}:{"text-shadow":c.bracket.cssvar.global(e)}},{autocomplete:"text-shadow-$textShadow"}],[/^text-shadow-color-(.+)$/,V("--un-text-shadow-color","text-shadow","shadowColor"),{autocomplete:"text-shadow-color-$colors"}],[/^text-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-shadow-opacity":c.bracket.percent.cssvar(e)}),{autocomplete:"text-shadow-color-(op|opacity)-<percent>"}]];function Zr(e,t,r){return t[r]?.[e]||c.bracket.cssvar.global.rem(e)}function Mo([,e],{theme:t}){let n=T(t.fontSize?.[e])?.[0]??c.bracket.cssvar.global.rem(e);if(n!=null)return{"font-size":n}}function Ml(e,t){return Z(c.bracket(e[1]))?Mo(e,t):V("color","text","textColor")(e,t)}function _l([,e="base"],{theme:t}){let r=Hr(e,"length");if(!r)return;let[n,o]=r,i=T(t.fontSize?.[n]),s=o?Zr(o,t,"lineHeight"):void 0;if(i?.[0]){let[l,u,f]=i;return typeof u=="object"?{"font-size":l,...u}:{"font-size":l,"line-height":s??u??"1","letter-spacing":f?Zr(f,t,"letterSpacing"):void 0}}let a=c.bracketOfLength.rem(n);return s&&a?{"font-size":a,"line-height":s}:{"font-size":c.bracketOfLength.rem(e)}}var Fl={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"},br=[[/^(.+?)-(\$.+)$/,([,e,t])=>{let r=Fl[e];if(r)return{[r]:c.cssvar(t)}}]],xr=[[/^\[(.*)\]$/,([e,t])=>{if(!t.includes(":"))return;let[r,...n]=t.split(":"),o=n.join(":");if(!Ul(t)&&/^[\w-]+$/.test(r)&&Ll(o)){let i=c.bracket(`[${o}]`);if(i)return{[r]:i}}}]];function Ll(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 Ul(e){if(!e.includes("://"))return!1;try{return new URL(e).host!==""}catch{return!1}}var _o=[br,xr,Wt,It,Ut,Pt,Vt,Mt,Ot,Tt,At,ar,_t,Lt,ir,or,Ct,ur,Bt,Nt,Dt,bt,He,Ge,Ke,Rt,zt,jt,Xt,Kt,qt,yt,wt,kt,lr,sr,mt,mr,Yt,dt,pr,Zt,Jt,St,Qt,dr,hr,gr,vt,rr,gt,tr,fr,xt,Gt,Ht,$t,er,Ft].flat(1);var Fo={position:["relative","absolute","fixed","sticky","static"],globalKeyword:C};var Jr={inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"},light:{50:"#fdfdfd",100:"#fcfcfc",200:"#fafafa",300:"#f8f9fa",400:"#f6f6f6",500:"#f2f2f2",600:"#f1f3f5",700:"#e9ecef",800:"#dee2e6",900:"#dde1e3",950:"#d8dcdf"},dark:{50:"#4a4a4a",100:"#3c3c3c",200:"#323232",300:"#2d2d2d",400:"#222222",500:"#1f1f1f",600:"#1c1c1e",700:"#1b1b1b",800:"#181818",900:"#0f0f0f",950:"#080808"},get lightblue(){return this.sky},get lightBlue(){return this.sky},get warmgray(){return this.stone},get warmGray(){return this.stone},get truegray(){return this.neutral},get trueGray(){return this.neutral},get coolgray(){return this.gray},get coolGray(){return this.gray},get bluegray(){return this.slate},get blueGray(){return this.slate}};Object.values(Jr).forEach(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 Lo={DEFAULT:"8px",0:"0",sm:"4px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},Uo={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 Bo={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(",")},Wo={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"]},Io={DEFAULT:"1.5rem",xs:"0.5rem",sm:"1rem",md:"1.5rem",lg:"2rem",xl:"2.5rem","2xl":"3rem","3xl":"4rem"},Do={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},No={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)"]},Ko={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},Qr={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},Go={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},Ho=Qr;var en={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},qo={...en},Yo={DEFAULT:"1px",none:"0"},Xo={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"},Zo={DEFAULT:"150ms",none:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},Jo={DEFAULT:"0.25rem",none:"0",sm:"0.125rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},Qo={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)"},ei={DEFAULT:"3px",none:"0"},ti={auto:"auto"},ri={mouse:"(hover) and (pointer: fine)"};var ni={...Xe,...Ye,...qe};var le={xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",prose:"65ch"},oi={auto:"auto",...le,screen:"100vw"},tn={none:"none",...le,screen:"100vw"},ii={auto:"auto",...le,screen:"100vb"},si={auto:"auto",...le,screen:"100vi"},ai={auto:"auto",...le,screen:"100vh"},rn={none:"none",...le,screen:"100vh"},nn={none:"none",...le,screen:"100vb"},on={none:"none",...le,screen:"100vi"},li={...le};var ci={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)"},ui={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 yr={width:oi,height:ai,maxWidth:tn,maxHeight:rn,minWidth:tn,minHeight:rn,inlineSize:si,blockSize:ii,maxInlineSize:on,maxBlockSize:nn,minInlineSize:on,minBlockSize:nn,colors:Jr,fontFamily:Bo,fontSize:Wo,fontWeight:Go,breakpoints:en,verticalBreakpoints:qo,borderRadius:Jo,lineHeight:Ko,letterSpacing:Qr,wordSpacing:Ho,boxShadow:Qo,textIndent:Io,textShadow:No,textStrokeWidth:Do,blur:Lo,dropShadow:Uo,easing:ci,transitionProperty:ui,lineWidth:Yo,spacing:Xo,duration:Zo,ringWidth:ei,preflightBase:ni,containers:li,zIndex:ti,media:ri};var fi={name:"aria",match(e,t){let r=B("aria-",e,t.generator.config.separators);if(r){let[n,o]=r,i=c.bracket(n)??t.theme.aria?.[n]??"";if(i)return{matcher:o,selector:s=>`${s}[aria-${i}]`}}},multiPass:!0};function vr(e,t,r={}){return{name:`${e}-aria`,match(n,o){let i=B(`${e}-aria-`,n,o.generator.config.separators);if(i){let[s,a,l]=i,u=c.bracket(s)??o.theme.aria?.[s]??"";if(u){let f=!!r?.attributifyPseudo,p=r?.prefix??"";p=(Array.isArray(p)?p:[p]).filter(Boolean)[0]??"";let d=`${f?`[${p}${e}=""]`:`.${p}${e}`}`,m=Y(l?`/${l}`:"");return{matcher:a,handle:(h,x)=>{let k=new RegExp(`${G(d)}${G(m)}(?:\\[.+?\\])+`),E=h.prefix.match(k),y;if(E){let b=(E.index??0)+d.length+m.length;y=[h.prefix.slice(0,b),`[aria-${u}]`,h.prefix.slice(b)].join("")}else{let b=Math.max(h.prefix.indexOf(d),0);y=[h.prefix.slice(0,b),d,m,`[aria-${u}]`,t,h.prefix.slice(b)].join("")}return x({...h,prefix:y})}}}}},multiPass:!0}}function Bl(){return{name:"has-aria",match(e,t){let r=B("has-aria-",e,t.generator.config.separators);if(r){let[n,o]=r,i=c.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 pi(e={}){return[vr("group"," ",e),vr("peer","~",e),vr("parent",">",e),vr("previous","+",e),Bl()]}var di=/(max|min)-\[([^\]]*)\]:/;function mi(){let e={};return{name:"breakpoints",match(t,r){if(di.test(t)){let o=t.match(di);return{matcher:t.replace(o[0],""),handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@media (${o[1]}-width: ${o[2]})`})}}let n=(be(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[,l]=a,u=t.slice(l.length);if(u==="container")continue;let f=l.startsWith("lt-")||l.startsWith("<")||l.startsWith("max-"),p=l.startsWith("at-")||l.startsWith("~"),d=3e3;return f?(d-=s+1,{matcher:u,handle:(m,h)=>h({...m,parent:`${m.parent?`${m.parent} $$ `:""}@media (max-width: ${Fr(i)})`,parentOrder:d})}):(d+=s+1,p&&s<n.length-1?{matcher:u,handle:(m,h)=>h({...m,parent:`${m.parent?`${m.parent} $$ `:""}@media (min-width: ${i}) and (max-width: ${Fr(n[s+1][1])})`,parentOrder:d})}:{matcher:u,handle:(m,h)=>h({...m,parent:`${m.parent?`${m.parent} $$ `:""}@media (min-width: ${i})`,parentOrder:d})})}},multiPass:!0,autocomplete:"(at-|lt-|max-|)$breakpoints:"}}var hi=[N("*",e=>({selector:`${e.selector} > *`}),{order:-1})];function Ze(e,t){return{name:`combinator:${e}`,match(r,n){if(!r.startsWith(e))return;let o=n.generator.config.separators,i=ie(`${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=c.bracket(i[0])??"";return s===""&&(s="*"),{matcher:i[1],selector:a=>`${a}${t}${s}`}},multiPass:!0}}var gi=[Ze("all"," "),Ze("children",">"),Ze("next","+"),Ze("sibling","+"),Ze("siblings","~")];var bi={name:"@",match(e,t){if(e.startsWith("@container"))return;let r=B("@",e,t.generator.config.separators);if(r){let[n,o,i]=r,s=c.bracket(n),a;if(s?a=c.numberWithUnit(s):a=t.theme.containers?.[n]??"",a){let l=1e3+Object.keys(t.theme.containers??{}).indexOf(n);return i&&(l+=1e3),{matcher:o,handle:(u,f)=>f({...u,parent:`${u.parent?`${u.parent} $$ `:""}@container${i?` ${i} `:" "}(min-width: ${a})`,parentOrder:l})}}}},multiPass:!0};function xi(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",T(t).map(n=>o=>({prefix:`${n} $$ ${o.prefix}`}))),N("light",T(r).map(n=>o=>({prefix:`${n} $$ ${o.prefix}`})))]}return[K("dark","@media (prefers-color-scheme: dark)"),K("light","@media (prefers-color-scheme: light)")]}var yi={name:"data",match(e,t){let r=B("data-",e,t.generator.config.separators);if(r){let[n,o]=r,i=c.bracket(n)??t.theme.data?.[n]??"";if(i)return{matcher:o,selector:s=>`${s}[data-${i}]`}}},multiPass:!0};function wr(e,t,r={}){return{name:`${e}-data`,match(n,o){let i=B(`${e}-data-`,n,o.generator.config.separators);if(i){let[s,a,l]=i,u=c.bracket(s)??o.theme.data?.[s]??"";if(u){let f=!!r?.attributifyPseudo,p=r?.prefix??"";p=(Array.isArray(p)?p:[p]).filter(Boolean)[0]??"";let d=`${f?`[${p}${e}=""]`:`.${p}${e}`}`,m=Y(l?`/${l}`:"");return{matcher:a,handle:(h,x)=>{let k=new RegExp(`${G(d)}${G(m)}(?:\\[.+?\\])+`),E=h.prefix.match(k),y;if(E){let b=(E.index??0)+d.length+m.length;y=[h.prefix.slice(0,b),`[data-${u}]`,h.prefix.slice(b)].join("")}else{let b=Math.max(h.prefix.indexOf(d),0);y=[h.prefix.slice(0,b),d,m,`[data-${u}]`,t,h.prefix.slice(b)].join("")}return x({...h,prefix:y})}}}}},multiPass:!0}}function Wl(){return{name:"has-data",match(e,t){let r=B("has-data-",e,t.generator.config.separators);if(r){let[n,o]=r,i=c.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 vi(e={}){return[wr("group"," ",e),wr("peer","~",e),wr("parent",">",e),wr("previous","+",e),Wl()]}var wi=[N("rtl",e=>({prefix:`[dir="rtl"] $$ ${e.prefix}`})),N("ltr",e=>({prefix:`[dir="ltr"] $$ ${e.prefix}`}))];function ki(){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 $i=K("print","@media print"),Si={name:"media",match(e,t){let r=B("media-",e,t.generator.config.separators);if(r){let[n,o]=r,i=c.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 Ci={name:"selector",match(e,t){let r=ie("selector-",e,t.generator.config.separators);if(r){let[n,o]=r,i=c.bracket(n);if(i)return{matcher:o,selector:()=>i}}}},Ri={name:"layer",match(e,t){let r=B("layer-",e,t.generator.config.separators);if(r){let[n,o]=r,i=c.bracket(n)??n;if(i)return{matcher:o,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@layer ${i}`})}}}},Ti={name:"uno-layer",match(e,t){let r=B("uno-layer-",e,t.generator.config.separators);if(r){let[n,o]=r,i=c.bracket(n)??n;if(i)return{matcher:o,layer:i}}}},Ei={name:"scope",match(e,t){let r=ie("scope-",e,t.generator.config.separators);if(r){let[n,o]=r,i=c.bracket(n);if(i)return{matcher:o,selector:s=>`${i} $$ ${s}`}}}},ji={name:"variables",match(e,t){if(!e.startsWith("["))return;let[r,n]=pe(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=c.bracket(r)??"",s=i.startsWith("@");if(s||i.includes("&"))return{matcher:o,handle(a,l){let u=s?{parent:`${a.parent?`${a.parent} $$ `:""}${i}`}:{selector:i.replace(/&/g,a.selector)};return l({...a,...u})}}},multiPass:!0},Pi={name:"theme-variables",match(e,t){if(Zn(e))return{matcher:e,handle(r,n){return n({...r,entries:JSON.parse(Jn(JSON.stringify(r.entries),t.theme))})}}}};var Oi=/^-?[0-9.]+(?:[a-z]+|%)?$/,zi=/-?[0-9.]+(?:[a-z]+|%)?/,Il=[/\b(opacity|color|flex|backdrop-filter|^filter|transform)\b/];function Dl(e){let t=e.match(Ue)||e.match(mo);if(t){let[r,n]=we(`(${t[2]})${t[3]}`,"(",")"," ")??[];if(r)return`calc(${t[1]}${r} * -1)${n?` ${n}`:""}`}}var Nl=/\b(hue-rotate)\s*(\(.*)/;function Kl(e){let t=e.match(Nl);if(t){let[r,n]=we(t[2],"(",")"," ")??[];if(r){let o=Oi.test(r.slice(1,-1))?r.replace(zi,i=>i.startsWith("-")?i.slice(1):`-${i}`):`(calc(${r} * -1))`;return`${t[1]}${o}${n?` ${n}`:""}`}}}var Vi={name:"negative",match(e){if(e.startsWith("-"))return{matcher:e.slice(1),body:t=>{if(t.find(n=>n[0]===wo))return;let r=!1;return t.forEach(n=>{let o=n[1]?.toString();if(!o||o==="0"||Il.some(a=>a.test(n[0])))return;let i=Dl(o);if(i){n[1]=i,r=!0;return}let s=Kl(o);if(s){n[1]=s,r=!0;return}Oi.test(o)&&(n[1]=o.replace(zi,a=>a.startsWith("-")?a.slice(1):`-${a}`),r=!0)}),r?t:[]}}}};function Ai(){return so({getBracket:pe,h:c,variantGetBracket:ie})}function Mi(){return ao({getBracket:pe,h:c,variantGetBracket:ie})}function _i(e={}){return lo(e,{getBracket:pe,h:c,variantGetBracket:ie})}var Fi=co();var Li={name:"starting",match(e){if(e.startsWith("starting:"))return{matcher:e.slice(9),handle:(t,r)=>r({...t,parent:"@starting-style"})}}};var Ui={name:"supports",match(e,t){let r=B("supports-",e,t.generator.config.separators);if(r){let[n,o]=r,i=c.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 kr(e){return[fi,yi,Ri,Ci,Ti,Vi,Li,ki(),Ui,$i,Si,mi(),...gi,...Ai(),Mi(),..._i(e),Fi,...xi(e),...wi,Ei,...hi,bi,ji,...vi(e),...pi(e),Pi]}var sn=(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:yr,rules:_o,variants:kr(e),options:e,prefix:e.prefix,postprocess:Gl(e.variablePrefix),preflights:In(e),extractorDefault:e.arbitraryVariants===!1?void 0:Wn(),autocomplete:{shorthands:Fo}}),Bi=sn;function Gl(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 Wi(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 Ii(e){return[...T(Bi(e).postprocess),...Wi(e.important)]}var Di=[[/^(?: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:c.bracket.cssvar(e)}},{autocomplete:"animate-$animation.keyframes"}],[/^animate-name-(.+)/,([,e])=>({"animation-name":c.bracket.cssvar(e)??e})],[/^animate-duration-(.+)$/,([,e],{theme:t})=>({"animation-duration":t.duration?.[e||"DEFAULT"]??c.bracket.cssvar.time(e)}),{autocomplete:["animate-duration","animate-duration-$duration"]}],[/^animate-delay-(.+)$/,([,e],{theme:t})=>({"animation-delay":t.duration?.[e||"DEFAULT"]??c.bracket.cssvar.time(e)}),{autocomplete:["animate-delay","animate-delay-$duration"]}],[/^animate-ease(?:-(.+))?$/,([,e],{theme:t})=>({"animation-timing-function":t.easing?.[e||"DEFAULT"]??c.bracket.cssvar(e)}),{autocomplete:["animate-ease","animate-ease-$easing"]}],[/^animate-(fill-mode-|fill-|mode-)?(.+)$/,([,e,t])=>["none","forwards","backwards","both",e?C:[]].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?C:[]].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":c.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?C:[]].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"}],...v("animate","animation")];function Ni(e){return e?U(e,0):"rgb(255 255 255 / 0)"}function Hl(e,t,r,n){return t?n!=null?U(t,n):U(t,`var(--un-${e}-opacity, ${he(t)})`):U(r,n)}function an(){return([,e,t],{theme:r})=>{let n=Te(t,r,"backgroundColor");if(!n)return;let{alpha:o,color:i,cssColor:s}=n;if(!i)return;let a=Hl(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":`${Ni(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":Ni(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 ql(){return([,e,t])=>({[`--un-gradient-${e}-position`]:`${Number(c.bracket.cssvar.percent(t))*100}%`})}var Ki=[[/^bg-gradient-(.+)$/,([,e])=>({"--un-gradient":c.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":c.bracket(e)})],[/^(?:bg-gradient-)?(from)-(.+)$/,an()],[/^(?:bg-gradient-)?(via)-(.+)$/,an()],[/^(?:bg-gradient-)?(to)-(.+)$/,an()],[/^(?:bg-gradient-)?(from|via|to)-op(?:acity)?-?(.+)$/,([,e,t])=>({[`--un-${e}-opacity`]:c.bracket.percent(t)})],[/^(from|via|to)-([\d.]+)%$/,ql()],[/^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 W)return{"--un-gradient-shape":`to ${W[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(W).filter(e=>e.length<=2&&Array.from(e).every(t=>"rltb".includes(t))).join("|")})`}],[/^(?:bg-gradient-)?shape-(.+)$/,([,e])=>{let t=e in W?`to ${W[e]}`:c.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(W).join("|")})`,`shape-(${Object.keys(W).join("|")})`]}],["bg-none",{"background-image":"none"}],["box-decoration-slice",{"box-decoration-break":"slice"}],["box-decoration-clone",{"box-decoration-break":"clone"}],...v("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"}],...C.map(e=>[`bg-clip-${e}`,{"-webkit-background-clip":e,"background-clip":e}]),[/^bg-([-\w]{3,})$/,([,e])=>({"background-position":W[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"}],...v("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"}],...v("bg-origin","background-origin")];var ln={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"},Gi=[[/^list-(.+?)(?:-(outside|inside))?$/,([,e,t])=>{let r=ln[e];if(r)return t?{"list-style-position":t,"list-style-type":r}:{"list-style-type":r}},{autocomplete:[`list-(${Object.keys(ln).join("|")})`,`list-(${Object.keys(ln).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":c.bracket(e)}}],["list-image-none",{"list-style-image":"none"}],...v("list","list-style-type")],Hi=[[/^accent-(.+)$/,V("accent-color","accent","accentColor"),{autocomplete:"accent-$colors"}],[/^accent-op(?:acity)?-?(.+)$/,([,e])=>({"--un-accent-opacity":c.bracket.percent(e)}),{autocomplete:["accent-(op|opacity)","accent-(op|opacity)-<percent>"]}]],qi=[[/^caret-(.+)$/,V("caret-color","caret","textColor"),{autocomplete:"caret-$colors"}],[/^caret-op(?:acity)?-?(.+)$/,([,e])=>({"--un-caret-opacity":c.bracket.percent(e)}),{autocomplete:["caret-(op|opacity)","caret-(op|opacity)-<percent>"]}]],Yi=[["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"]]]],Xi=[["overscroll-auto",{"overscroll-behavior":"auto"}],["overscroll-contain",{"overscroll-behavior":"contain"}],["overscroll-none",{"overscroll-behavior":"none"}],...v("overscroll","overscroll-behavior"),["overscroll-x-auto",{"overscroll-behavior-x":"auto"}],["overscroll-x-contain",{"overscroll-behavior-x":"contain"}],["overscroll-x-none",{"overscroll-behavior-x":"none"}],...v("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"}],...v("overscroll-y","overscroll-behavior-y")],Zi=[["scroll-auto",{"scroll-behavior":"auto"}],["scroll-smooth",{"scroll-behavior":"smooth"}],...v("scroll","scroll-behavior")];var Ji=[[/^columns-(.+)$/,([,e],{theme:t})=>t.containers&&e in t.containers?{columns:t.containers[e]}:{columns:c.bracket.numberWithUnit.number.cssvar(e)},{autocomplete:["columns-<num>","columns-$containers"]}],["columns-auto",{columns:"auto"}],["break-before-auto",{"break-before":"auto"}],["break-before-avoid",{"break-before":"avoid"}],["break-before-all",{"break-before":"all"}],["break-before-avoid-page",{"break-before":"avoid-page"}],["break-before-page",{"break-before":"page"}],["break-before-left",{"break-before":"left"}],["break-before-right",{"break-before":"right"}],["break-before-column",{"break-before":"column"}],...v("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"}],...v("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"}],...v("break-after")];var Yl=/@media \(min-width: (.+)\)/,Qi=[[/^__container$/,(e,t)=>{let{theme:r,variantHandlers:n}=t,o=r.container?.padding,i;A(o)?i=o:i=o?.DEFAULT;let s=r.container?.maxWidth,a;for(let u of n){let f=u.handle?.({},p=>p)?.parent;if(A(f)){let p=f.match(Yl)?.[1];if(p){let m=(be(t)??[]).find(h=>h.size===p)?.point;s?m&&(a=s?.[m]):a=p,m&&!A(o)&&(i=o?.[m]??i)}}}let l={"max-width":a};return n.length||(l.width="100%"),r.container?.center&&(l["margin-left"]="auto",l["margin-right"]="auto"),o&&(l["padding-left"]=i,l["padding-right"]=i),l},{internal:!0}]],es=[[/^(?:(\w+)[:-])?container$/,([,e],t)=>{let r=(be(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 ts=[[/^divide-?([xy])$/,$r,{autocomplete:["divide-(x|y|block|inline)","divide-(x|y|block|inline)-reverse","divide-(x|y|block|inline)-$lineWidth"]}],[/^divide-?([xy])-?(.+)$/,$r],[/^divide-?([xy])-reverse$/,([,e])=>({[`--un-divide-${e}-reverse`]:1})],[/^divide-(block|inline)$/,$r],[/^divide-(block|inline)-(.+)$/,$r],[/^divide-(block|inline)-reverse$/,([,e])=>({[`--un-divide-${e}-reverse`]:1})],[/^divide-(.+)$/,V("border-color","divide","borderColor"),{autocomplete:"divide-$colors"}],[/^divide-op(?:acity)?-?(.+)$/,([,e])=>({"--un-divide-opacity":c.bracket.percent(e)}),{autocomplete:["divide-(op|opacity)","divide-(op|opacity)-<percent>"]}],...xe.map(e=>[`divide-${e}`,{"border-style":e}])];function $r([,e,t],{theme:r}){let n=r.lineWidth?.[t||"DEFAULT"]??c.bracket.cssvar.px(t||"1");if(n!=null){n==="0"&&(n="0px");let o=I[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 un={"--un-blur":j,"--un-brightness":j,"--un-contrast":j,"--un-drop-shadow":j,"--un-grayscale":j,"--un-hue-rotate":j,"--un-invert":j,"--un-saturate":j,"--un-sepia":j},ns=Object.keys(un),rs={preflightKeys:ns},Sr="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)",fn={"--un-backdrop-blur":j,"--un-backdrop-brightness":j,"--un-backdrop-contrast":j,"--un-backdrop-grayscale":j,"--un-backdrop-hue-rotate":j,"--un-backdrop-invert":j,"--un-backdrop-opacity":j,"--un-backdrop-saturate":j,"--un-backdrop-sepia":j},os=Object.keys(fn),Xl={preflightKeys:os},Cr="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)",ce={preflightKeys:[...ns,...os]};function cn(e){let t=c.bracket.cssvar(e||"");if(t!=null||(t=e?c.percent(e):"1",t!=null&&Number.parseFloat(t)<=1))return t}function ue(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":Cr,"backdrop-filter":Cr}:{[`--un-${e}`]:`${e}(${i})`,filter:Sr}}}function Zl([,e],{theme:t}){let r=t.dropShadow?.[e||"DEFAULT"];if(r!=null)return{"--un-drop-shadow":`drop-shadow(${Ee(r,"--un-drop-shadow-color").join(") drop-shadow(")})`,filter:Sr};if(r=c.bracket.cssvar(e),r!=null)return{"--un-drop-shadow":`drop-shadow(${r})`,filter:Sr}}var is=[[/^(?:(backdrop-)|filter-)?blur(?:-(.+))?$/,ue("blur",(e,t)=>t.blur?.[e||"DEFAULT"]||c.bracket.cssvar.px(e)),{custom:ce,autocomplete:["(backdrop|filter)-blur-$blur","blur-$blur","filter-blur"]}],[/^(?:(backdrop-)|filter-)?brightness-(.+)$/,ue("brightness",e=>c.bracket.cssvar.percent(e)),{custom:ce,autocomplete:["(backdrop|filter)-brightness-<percent>","brightness-<percent>"]}],[/^(?:(backdrop-)|filter-)?contrast-(.+)$/,ue("contrast",e=>c.bracket.cssvar.percent(e)),{custom:ce,autocomplete:["(backdrop|filter)-contrast-<percent>","contrast-<percent>"]}],[/^(?:filter-)?drop-shadow(?:-(.+))?$/,Zl,{custom:rs,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-(.+)$/,V("--un-drop-shadow-color","drop-shadow","shadowColor")],[/^(?:filter-)?drop-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-drop-shadow-opacity":c.bracket.percent(e)})],[/^(?:(backdrop-)|filter-)?grayscale(?:-(.+))?$/,ue("grayscale",cn),{custom:ce,autocomplete:["(backdrop|filter)-grayscale","(backdrop|filter)-grayscale-<percent>","grayscale-<percent>"]}],[/^(?:(backdrop-)|filter-)?hue-rotate-(.+)$/,ue("hue-rotate",e=>c.bracket.cssvar.degree(e)),{custom:ce}],[/^(?:(backdrop-)|filter-)?invert(?:-(.+))?$/,ue("invert",cn),{custom:ce,autocomplete:["(backdrop|filter)-invert","(backdrop|filter)-invert-<percent>","invert-<percent>"]}],[/^(backdrop-)op(?:acity)?-(.+)$/,ue("opacity",e=>c.bracket.cssvar.percent(e)),{custom:ce,autocomplete:["backdrop-(op|opacity)","backdrop-(op|opacity)-<percent>"]}],[/^(?:(backdrop-)|filter-)?saturate-(.+)$/,ue("saturate",e=>c.bracket.cssvar.percent(e)),{custom:ce,autocomplete:["(backdrop|filter)-saturate","(backdrop|filter)-saturate-<percent>","saturate-<percent>"]}],[/^(?:(backdrop-)|filter-)?sepia(?:-(.+))?$/,ue("sepia",cn),{custom:ce,autocomplete:["(backdrop|filter)-sepia","(backdrop|filter)-sepia-<percent>","sepia-<percent>"]}],["filter",{filter:Sr},{custom:rs}],["backdrop-filter",{"-webkit-backdrop-filter":Cr,"backdrop-filter":Cr},{custom:Xl}],["filter-none",{filter:"none"}],["backdrop-filter-none",{"-webkit-backdrop-filter":"none","backdrop-filter":"none"}],...C.map(e=>[`filter-${e}`,{filter:e}]),...C.map(e=>[`backdrop-filter-${e}`,{"-webkit-backdrop-filter":e,"backdrop-filter":e}])];var ss=[[/^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",...C].map(e=>[`line-clamp-${e}`,{overflow:"visible",display:"block","-webkit-box-orient":"horizontal","-webkit-line-clamp":e,"line-clamp":e}])];var as=[[/^\$ placeholder-(.+)$/,V("color","placeholder","accentColor"),{autocomplete:"placeholder-$colors"}],[/^\$ placeholder-op(?:acity)?-?(.+)$/,([,e])=>({"--un-placeholder-opacity":c.bracket.percent(e)}),{autocomplete:["placeholder-(op|opacity)","placeholder-(op|opacity)-<percent>"]}]];var pn={"--un-scroll-snap-strictness":"proximity"},ls={preflightKeys:Object.keys(pn)},cs=[[/^snap-(x|y)$/,([,e])=>({"scroll-snap-type":`${e} var(--un-scroll-snap-strictness)`}),{custom:ls,autocomplete:"snap-(x|y|both)"}],[/^snap-both$/,()=>({"scroll-snap-type":"both var(--un-scroll-snap-strictness)"}),{custom:ls}],["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?()-?(.+)$/,M("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])-?(.+)$/,M("scroll-margin")],[/^scroll-m-?([rltb])-?(.+)$/,M("scroll-margin")],[/^scroll-m-(block|inline)-(.+)$/,M("scroll-margin")],[/^scroll-m-?([bi][se])-?(.+)$/,M("scroll-margin")],[/^scroll-pa?()-?(.+)$/,M("scroll-padding")],[/^scroll-p-?([xy])-?(.+)$/,M("scroll-padding")],[/^scroll-p-?([rltb])-?(.+)$/,M("scroll-padding")],[/^scroll-p-(block|inline)-(.+)$/,M("scroll-padding")],[/^scroll-p-?([bi][se])-?(.+)$/,M("scroll-padding")]];var fs=[[/^space-([xy])-(.+)$/,us,{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)-(.+)$/,us],[/^space-(block|inline)-reverse$/,([,e])=>({[`--un-space-${e}-reverse`]:1})]];function us([,e,t],{theme:r}){let n=r.spacing?.[t||"DEFAULT"]??c.bracket.cssvar.auto.fraction.rem(t||"1");if(n!=null){n==="0"&&(n="0px");let o=I[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 ps=[["uppercase",{"text-transform":"uppercase"}],["lowercase",{"text-transform":"lowercase"}],["capitalize",{"text-transform":"capitalize"}],["normal-case",{"text-transform":"none"}]],ds=[...["manual","auto","none",...C].map(e=>[`hyphens-${e}`,{"-webkit-hyphens":e,"-ms-hyphens":e,hyphens:e}])],ms=[["write-vertical-right",{"writing-mode":"vertical-rl"}],["write-vertical-left",{"writing-mode":"vertical-lr"}],["write-normal",{"writing-mode":"horizontal-tb"}],...v("write","writing-mode")],hs=[["write-orient-mixed",{"text-orientation":"mixed"}],["write-orient-sideways",{"text-orientation":"sideways"}],["write-orient-upright",{"text-orientation":"upright"}],...v("write-orient","text-orientation")],gs=[["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"}]],bs=[["isolate",{isolation:"isolate"}],["isolate-auto",{isolation:"auto"}],["isolation-auto",{isolation:"auto"}]],xs=[["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(W[e])return{"object-position":W[e]};if(c.bracketOfPosition(e)!=null)return{"object-position":c.bracketOfPosition(e).split(" ").map(t=>c.position.fraction.auto.px.cssvar(t)??t).join(" ")}},{autocomplete:`object-(${Object.keys(W).join("|")})`}]],ys=[["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"}],...v("bg-blend","background-blend")],vs=[["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"}],...v("mix-blend")],ws=[["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 dn={"--un-border-spacing-x":0,"--un-border-spacing-y":0},ks={preflightKeys:Object.keys(dn)},$s="var(--un-border-spacing-x) var(--un-border-spacing-y)",Ss=[["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]??c.bracket.cssvar.global.auto.fraction.rem(e);if(r!=null)return{"--un-border-spacing-x":r,"--un-border-spacing-y":r,"border-spacing":$s}},{custom:ks,autocomplete:["border-spacing","border-spacing-$spacing"]}],[/^border-spacing-([xy])-(.+)$/,([,e,t],{theme:r})=>{let n=r.spacing?.[t]??c.bracket.cssvar.global.auto.fraction.rem(t);if(n!=null)return{[`--un-border-spacing-${e}`]:n,"border-spacing":$s}},{custom:ks,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 gn={"--un-pan-x":j,"--un-pan-y":j,"--un-pinch-zoom":j},mn={preflightKeys:Object.keys(gn)},hn="var(--un-pan-x) var(--un-pan-y) var(--un-pinch-zoom)",Cs=[[/^touch-pan-(x|left|right)$/,([,e])=>({"--un-pan-x":`pan-${e}`,"touch-action":hn}),{custom:mn,autocomplete:["touch-pan","touch-pan-(x|left|right|y|up|down)"]}],[/^touch-pan-(y|up|down)$/,([,e])=>({"--un-pan-y":`pan-${e}`,"touch-action":hn}),{custom:mn}],["touch-pinch-zoom",{"--un-pinch-zoom":"pinch-zoom","touch-action":hn},{custom:mn}],["touch-auto",{"touch-action":"auto"}],["touch-manipulation",{"touch-action":"manipulation"}],["touch-none",{"touch-action":"none"}],...v("touch","touch-action")];var bn={"--un-ordinal":j,"--un-slashed-zero":j,"--un-numeric-figure":j,"--un-numeric-spacing":j,"--un-numeric-fraction":j},de={preflightKeys:Object.keys(bn)};function me(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 Rs=[[/^ordinal$/,()=>me({"--un-ordinal":"ordinal"}),{custom:de,autocomplete:"ordinal"}],[/^slashed-zero$/,()=>me({"--un-slashed-zero":"slashed-zero"}),{custom:de,autocomplete:"slashed-zero"}],[/^lining-nums$/,()=>me({"--un-numeric-figure":"lining-nums"}),{custom:de,autocomplete:"lining-nums"}],[/^oldstyle-nums$/,()=>me({"--un-numeric-figure":"oldstyle-nums"}),{custom:de,autocomplete:"oldstyle-nums"}],[/^proportional-nums$/,()=>me({"--un-numeric-spacing":"proportional-nums"}),{custom:de,autocomplete:"proportional-nums"}],[/^tabular-nums$/,()=>me({"--un-numeric-spacing":"tabular-nums"}),{custom:de,autocomplete:"tabular-nums"}],[/^diagonal-fractions$/,()=>me({"--un-numeric-fraction":"diagonal-fractions"}),{custom:de,autocomplete:"diagonal-fractions"}],[/^stacked-fractions$/,()=>me({"--un-numeric-fraction":"stacked-fractions"}),{custom:de,autocomplete:"stacked-fractions"}],["normal-nums",{"font-variant-numeric":"normal"}]];var Jl={"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"},Ts=[[/^(.+?)-(\$.+)$/,([,e,t])=>{let r=Jl[e];if(r)return{[r]:c.cssvar(t)}}]];var Es=[[/^view-transition-([\w-]+)$/,([,e])=>({"view-transition-name":e})]];var js=[br,Ts,xr,Qi,Wt,gs,It,Ut,Pt,Vt,ss,bs,Mt,Ot,Tt,At,ar,_t,Lt,ir,or,Ct,Ss,ur,Di,Bt,Cs,Nt,Dt,cs,Gi,bt,Ji,He,Ge,Ke,Rt,zt,fs,ts,jt,Xi,Zi,Xt,Kt,qt,yt,wt,Ki,kt,lr,xs,sr,mt,mr,Yt,dt,pr,Zt,ps,Jt,Rs,St,Qt,dr,hr,gr,ds,ms,hs,qi,Hi,vt,ys,vs,rr,gt,tr,Yi,is,fr,xt,Gt,Ht,as,$t,Es,ws,er,Ft].flat(1);var Ps=[...es];var Os={...yr,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:{...Xe,...gn,...pn,...bn,...dn,...Ye,...qe,...un,...fn}};var zs=[N("svg",e=>({selector:`${e.selector} svg`}))];var Vs=[N(".dark",e=>({prefix:`.dark $$ ${e.prefix}`})),N(".light",e=>({prefix:`.light $$ ${e.prefix}`})),K("@dark","@media (prefers-color-scheme: dark)"),K("@light","@media (prefers-color-scheme: light)")];var As=[K("contrast-more","@media (prefers-contrast: more)"),K("contrast-less","@media (prefers-contrast: less)")],Ms=[K("motion-reduce","@media (prefers-reduced-motion: reduce)"),K("motion-safe","@media (prefers-reduced-motion: no-preference)")],_s=[K("landscape","@media (orientation: landscape)"),K("portrait","@media (orientation: portrait)")];var Fs=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}`}}},Ls=[N("@hover",e=>({parent:`${e.parent?`${e.parent} $$ `:""}@media (hover: hover) and (pointer: fine)`,selector:`${e.selector||""}:hover`}))];function Us(e,t,r){return`calc(${t} + (${e} - ${t}) * ${r} / 100)`}function Bs(e,t,r){let n=[e,t],o=[];for(let s=0;s<2;s++){let a=typeof n[s]=="string"?re(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(Us(o[0].components[s],o[1].components[s],r));return{type:"rgb",components:i,alpha:Us(o[0].alpha??1,o[1].alpha??1,r)}}function Ws(e,t){return Bs("#fff",e,t)}function Is(e,t){return Bs("#000",e,t)}function Ql(e,t){let r=Number.parseFloat(`${t}`);if(!Number.isNaN(r))return r>0?Is(e,t):Ws(e,-r)}var ec={tint:Ws,shade:Is,shift:Ql};function Ds(){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=re(`${i[1]}`);if(s){let a=ec[n[1]](s,n[2]);a&&(i[1]=U(a))}}}),o)}}}}var Ns=(e,{theme:t})=>{let r=e.match(/^(.*)\b(placeholder-)(.+)$/);if(r){let[,n="",o,i]=r;if(je(i,t,"accentColor")||tc(i))return{matcher:`${n}placeholder-$ ${o}${i}`}}};function tc(e){let t=e.match(/^op(?:acity)?-?(.+)$/);return t&&t[1]!=null?c.bracket.percent(t[1])!=null:!1}function Ks(e){return[Ns,Fs,...kr(e),...As,..._s,...Ms,...zs,...Vs,...Ls,Ds()]}var Gs=(e={})=>(e.important=e.important??!1,{...sn(e),name:"@unocss/preset-wind3",theme:Os,rules:js,shortcuts:Ps,variants:Ks(e),postprocess:Ii(e)});var rc=(e={})=>({...Gs(e),name:"@unocss/preset-uno"}),Hs=rc;function nc(e){return e.replace(/-(\w)/g,(t,r)=>r?r.toUpperCase():"")}function qs(e){return e.charAt(0).toUpperCase()+e.slice(1)}function Ys(e){return e.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}var Xs=["Webkit","Moz","ms"];function Zs(e){let t={};function r(n){let o=t[n];if(o)return o;let i=nc(n);if(i!=="filter"&&i in e)return t[n]=Ys(i);i=qs(i);for(let s=0;s<Xs.length;s++){let a=`${Xs[s]}${i}`;if(a in e)return t[n]=Ys(qs(a))}return n}return({entries:n})=>n.forEach(o=>{o[0].startsWith("--")||(o[0]=r(o[0]))})}function Js(e){return e.replace(/&/g,"&").replace(/>/g,">").replace(/</g,"<")}async function xn(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=T(s.postprocess)).unshift(Zs(r.createElement("div").style)),i.configResolved?.(o,s);let l=await _n(o,s),u=S=>{let P=e.rootElement?.();if(P){P.appendChild(S);return}i.inject?i.inject(S):n().prepend(S)},f=()=>i.rootElement?i.rootElement():r.body,p=new Map,d=!0,m=new Set,h,x,k=[],E=()=>new Promise(S=>{k.push(S),x!=null&&clearTimeout(x),x=setTimeout(()=>O().then(()=>{let P=k;k=[],P.forEach(_=>_())}),0)});function y(S,P=!1){if(S.nodeType!==1)return;let _=S;_.hasAttribute(a)&&_.removeAttribute(a),P&&_.querySelectorAll(`[${a}]`).forEach(L=>{L.removeAttribute(a)})}function b(S,P){let _=p.get(S);if(!_)if(_=r.createElement("style"),_.setAttribute("data-unocss-runtime-layer",S),p.set(S,_),P==null)u(_);else{let L=b(P),D=L.parentNode;D?D.insertBefore(_,L.nextSibling):u(_)}return _}async function O(){let S=[...m],P=await l.generate(S);return P.layers.reduce((L,D)=>(b(D,L).innerHTML=P.getLayer(D)??"",D),void 0),S.filter(L=>!P.matched.has(L)).forEach(L=>m.delete(L)),{...P,getStyleElement:L=>p.get(L),getStyleElements:()=>p}}async function g(S){let P=m.size;await l.applyExtractors(S,void 0,m),P!==m.size&&await E()}async function R(S=f()){let P=S&&S.outerHTML;P&&(await g(`${P} ${Js(P)}`),y(n()),y(S,!0))}let w=new MutationObserver(S=>{d||S.forEach(async P=>{if(P.target.nodeType!==1)return;let _=P.target;for(let L of p)if(_===L[1])return;if(P.type==="childList")P.addedNodes.forEach(async L=>{if(L.nodeType!==1)return;let D=L;h&&!h(D)||(await g(D.outerHTML),y(D))});else{if(h&&!h(_))return;if(P.attributeName!==a){let L=Array.from(_.attributes).map(F=>F.value?`${F.name}="${F.value}"`:F.name).join(" "),D=`<${_.tagName.toLowerCase()} ${L}>`;await g(D)}y(_)}})}),$=!1;function z(){if($)return;let S=i.observer?.target?i.observer.target():f();S&&(w.observe(S,{childList:!0,subtree:!0,attributes:!0,attributeFilter:i.observer?.attributeFilter}),$=!0)}function H(){i.bypassDefined&&oc(l.blocked),R(),z()}function q(){r.readyState==="loading"?t.addEventListener("DOMContentLoaded",H):H()}let J=t.__unocss_runtime=t.__unocss_runtime={version:l.version,uno:l,async extract(S){A(S)||(S.forEach(P=>m.add(P)),S=""),await g(S)},extractAll:R,inspect(S){h=S},toggleObserver(S){S===void 0?d=!d:d=!!S,!$&&!d&&q()},update:O,presets:t.__unocss_runtime?.presets??{}};i.ready?.(J)!==!1&&(d=!1,q())}function oc(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}xn({defaults:{presets:[Hs()]}});})();
|
|
1
|
+
"use strict";(()=>{var Bi=Object.defineProperty;var Ti=(t,e)=>{for(var r in e)Bi(t,r,{get:e[r],enumerable:!0})};var oe="default",Lr="preflights",Wi="shortcuts",Ni="imports",Ii={[Ni]:-200,[Lr]:-100,[Wi]:-10,[oe]:0},Fr=/[\\:]?[\s'"`;{}]+/g;function Ui(t){return t.split(Fr)}var Di={name:"@unocss/core/extractor-split",order:0,extract({code:t}){return Ui(t)}};function j(t=[]){return Array.isArray(t)?t:[t]}function ct(t){return Array.from(new Set(t))}function _n(t,e){return t.reduce((r,n)=>(r.findIndex(o=>e(n,o))===-1&&r.push(n),r),[])}function F(t){return typeof t=="string"}var Fn=class extends Set{constructor(t){if(super(),this._map=new Map,t)for(let e of t)this.add(e)}add(t){return this._map.set(t,(this._map.get(t)??0)+1),super.add(t)}delete(t){return this._map.has(t)?(this._map.delete(t),super.delete(t)):!1}clear(){this._map.clear(),super.clear()}getCount(t){return this._map.get(t)??0}setCount(t,e){return this._map.set(t,e),super.add(t)}};function Or(t){return t instanceof Fn}function K(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Z(t){let e=t.length,r=-1,n,o="",i=t.charCodeAt(0);for(;++r<e;){if(n=t.charCodeAt(r),n===0){o+="\uFFFD";continue}if(n===37){o+="\\%";continue}if(n===44){o+="\\,";continue}if(n>=1&&n<=31||n===127||r===0&&n>=48&&n<=57||r===1&&n>=48&&n<=57&&i===45){o+=`\\${n.toString(16)} `;continue}if(r===0&&e===1&&n===45){o+=`\\${t.charAt(r)}`;continue}if(n>=128||n===45||n===95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){o+=t.charAt(r);continue}o+=`\\${t.charAt(r)}`}return o}var Pr=Z;function Vi(){return{events:{},emit(t,...e){(this.events[t]||[]).forEach(r=>r(...e))},on(t,e){return(this.events[t]=this.events[t]||[]).push(e),()=>this.events[t]=(this.events[t]||[]).filter(r=>r!==e)}}}var Gi=/[\w\u00A0-\uFFFF%-?]/;function Bn(t=""){return Gi.test(t)}function qi(t){return typeof t=="function"?{match:t}:t}function An(t){return t.length===3}function ee(t){return t!=null}function Hi(){}var Yi=class{constructor(){this._map=new Map}get(t,e){let r=this._map.get(t);if(r)return r.get(e)}getFallback(t,e,r){let n=this._map.get(t);return n||(n=new Map,this._map.set(t,n)),n.has(e)||n.set(e,r),n.get(e)}set(t,e,r){let n=this._map.get(t);return n||(n=new Map,this._map.set(t,n)),n.set(e,r),this}has(t,e){return this._map.get(t)?.has(e)}delete(t,e){return this._map.get(t)?.delete(e)||!1}deleteTop(t){return this._map.delete(t)}map(t){return Array.from(this._map.entries()).flatMap(([e,r])=>Array.from(r.entries()).map(([n,o])=>t(o,e,n)))}},Xi=class extends Map{getFallback(t,e){let r=this.get(t);return r===void 0?(this.set(t,e),e):r}map(t){let e=[];return this.forEach((r,n)=>{e.push(t(r,n))}),e}flatMap(t){let e=[];return this.forEach((r,n)=>{e.push(...t(r,n))}),e}};function ae(t){return F(t)?t:(Array.isArray(t)?t:Object.entries(t)).filter(e=>e[1]!=null)}function Ki(t){return Array.isArray(t)?t.find(e=>!Array.isArray(e)||Array.isArray(e[0]))?t.map(e=>ae(e)):[t]:[ae(t)]}function Zi(t){return t.filter(([e,r],n)=>{if(e.startsWith("$$"))return!1;for(let o=n-1;o>=0;o--)if(t[o][0]===e&&t[o][1]===r)return!1;return!0})}var Tn="__virtual_key__";function Tt(t){return t==null?"":Zi(t).map(([e,r])=>r!=null&&typeof r!="function"?e!==Tn?`${e}:${r};`:r:void 0).filter(Boolean).join("")}function re(t){return t&&typeof t=="object"&&!Array.isArray(t)}function Wn(t,e,r=!1){let n=t,o=e;if(Array.isArray(o))return r&&Array.isArray(o)?[...n,...o]:[...o];let i={...n};return re(n)&&re(o)&&Object.keys(o).forEach(a=>{re(n[a])&&re(o[a])||Array.isArray(n[a])&&Array.isArray(o[a])?i[a]=Wn(n[a],o[a],r):Object.assign(i,{[a]:o[a]})}),i}function ie(t){let e,r,n;if(Array.isArray(t)){for(r=Array.from({length:e=t.length});e--;)r[e]=(n=t[e])&&typeof n=="object"?ie(n):n;return r}if(Object.prototype.toString.call(t)==="[object Object]"){r={};for(e in t)e==="__proto__"?Object.defineProperty(r,e,{value:ie(t[e]),configurable:!0,enumerable:!0,writable:!0}):r[e]=(n=t[e])&&typeof n=="object"?ie(n):n;return r}return t}function Ji(t){return F(t[0])}function Qi(t){return F(t[0])}var ne={};function ta(t=["-",":"]){let e=t.join("|");return ne[e]||(ne[e]=new RegExp(`((?:[!@<~\\w+:_-]|\\[&?>?:?\\S*\\])+?)(${e})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[[^\\]]*?\\])+?)\\)(?!\\s*?=>)`,"gm")),ne[e].lastIndex=0,ne[e]}function ea(t,e=["-",":"],r=5){let n=ta(e),o,i=t.toString(),a=new Set,s=new Map;do o=!1,i=i.replace(n,(l,u,d,p,h)=>{if(!e.includes(d))return l;o=!0,a.add(u+d);let m=h+u.length+d.length+1,x={length:l.length,items:[]};s.set(h,x);for(let w of[...p.matchAll(/\S+/g)]){let k=m+w.index,y=s.get(k)?.items;y?s.delete(k):y=[{offset:k,length:w[0].length,className:w[0]}];for(let b of y)b.className=b.className==="~"?u:b.className.replace(/^(!?)(.*)/,`$1${u}${d}$2`),x.items.push(b)}return"$".repeat(l.length)}),r-=1;while(o&&r);let c;if(typeof t=="string"){c="";let l=0;for(let[u,d]of s)c+=t.slice(l,u),c+=d.items.map(p=>p.className).join(" "),l=u+d.length;c+=t.slice(l)}else{c=t;for(let[l,u]of s)c.overwrite(l,l+u.length,u.items.map(d=>d.className).join(" "))}return{prefixes:Array.from(a),hasChanged:o,groupsByOffset:s,get expanded(){return c.toString()}}}function ra(t,e=["-",":"],r=5){let n=ea(t,e,r);return typeof t=="string"?n.expanded:t}var Rn=new Set;function na(t){Rn.has(t)||(console.warn("[unocss]",t),Rn.add(t))}function Nn(t){return j(t).flatMap(e=>Array.isArray(e)?[e]:Object.entries(e))}var Mn="_uno_resolved";async function oa(t){let e=typeof t=="function"?await t():await t;if(Mn in e)return e;e={...e},Object.defineProperty(e,Mn,{value:!0,enumerable:!1});let r=e.shortcuts?Nn(e.shortcuts):void 0;if(e.shortcuts=r,e.prefix||e.layer){let n=o=>{o[2]||(o[2]={});let i=o[2];i.prefix==null&&e.prefix&&(i.prefix=j(e.prefix)),i.layer==null&&e.layer&&(i.layer=e.layer)};r?.forEach(n),e.rules?.forEach(n)}return e}async function In(t){let e=await oa(t);return e.presets?[e,...(await Promise.all((e.presets||[]).flatMap(j).flatMap(In))).flat()]:[e]}function ia(t){if(t.length===0)return{};let e=[],r=[],n=!1,o=[],i=[];for(let s of t){if(s.pipeline===!1){n=!0;break}else s.pipeline?.include&&e.push(s.pipeline.include),s.pipeline?.exclude&&r.push(s.pipeline.exclude);s.filesystem&&o.push(s.filesystem),s.inline&&i.push(s.inline)}let a={pipeline:n?!1:{include:ct(Pn(...e)),exclude:ct(Pn(...r))}};return o.length&&(a.filesystem=ct(o.flat())),i.length&&(a.inline=ct(i.flat())),a}async function On(t={},e={}){let r=Object.assign({},e,t),n=_n((await Promise.all((r.presets||[]).flatMap(j).flatMap(In))).flat(),(g,v)=>g.name===v.name),o=[...n.filter(g=>g.enforce==="pre"),...n.filter(g=>!g.enforce),...n.filter(g=>g.enforce==="post")],i=[...o,r],a=[...i].reverse(),s=Object.assign({},Ii,...i.map(g=>g.layers));function c(g){return ct(i.flatMap(v=>j(v[g]||[])))}let l=c("extractors"),u=a.find(g=>g.extractorDefault!==void 0)?.extractorDefault;u===void 0&&(u=Di),u&&!l.includes(u)&&l.unshift(u),l.sort((g,v)=>(g.order||0)-(v.order||0));let d=c("rules"),p=d.length,h={},m=[];for(let[g,v]of d.entries()){let L=v[2]??(v[2]={});L.__index=g,Ji(v)?j(L.prefix??"").forEach(H=>{h[H+v[0]]=v}):m.unshift(v)}let x={templates:ct(i.flatMap(g=>j(g.autocomplete?.templates))),extractors:i.flatMap(g=>j(g.autocomplete?.extractors)).sort((g,v)=>(g.order||0)-(v.order||0)),shorthands:sa(i.map(g=>g.autocomplete?.shorthands||{}))},w=c("separators");w.length||(w=[":","-"]);let k=ia(c("content")),y={mergeSelectors:!0,warn:!0,sortLayers:g=>g,...r,blocklist:c("blocklist"),presets:o,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:s,theme:aa(i.map(g=>g.theme)),rules:d,rulesSize:p,rulesDynamic:m,rulesStaticMap:h,preprocess:c("preprocess"),postprocess:c("postprocess"),preflights:c("preflights"),autocomplete:x,variants:c("variants").map(qi).sort((g,v)=>(g.order||0)-(v.order||0)),shortcuts:Nn(c("shortcuts")).reverse(),extractors:l,safelist:c("safelist"),separators:w,details:r.details??r.envMode==="dev",content:k,transformers:_n(c("transformers"),(g,v)=>g.name===v.name)},b=c("extendTheme");for(let g of b)y.theme=g(y.theme,y)||y.theme;for(let g of i)g?.configResolved?.(y);return y}function aa(t){return t.map(e=>e?ie(e):{}).reduce((e,r)=>Wn(e,r),{})}function sa(t){return t.reduce((e,r)=>{let n={};for(let o in r){let i=r[o];Array.isArray(i)?n[o]=`(${i.join("|")})`:n[o]=i}return{...e,...n}},{})}function Pn(...t){return t.flatMap(ca)}function ca(t){return Array.isArray(t)?t:t?[t]:[]}var la="66.6.0",X={shortcutsNoMerge:"$$symbol-shortcut-no-merge",noMerge:"$$symbol-no-merge",variants:"$$symbol-variants",parent:"$$symbol-parent",selector:"$$symbol-selector",layer:"$$symbol-layer",sort:"$$symbol-sort",body:"$$symbol-body"},fa=class Un{constructor(e={},r={}){this.userConfig=e,this.defaults=r,this.version=la,this.events=Vi(),this.config=void 0,this.cache=new Map,this.blocked=new Set,this.parentOrders=new Map,this.activatedRules=new Set,this.resolveCSSResult=(n,o,i,a)=>{let s=Ki(o).filter(c=>c.length);if(s.length){this.config.details&&a.rules.push(i),a.generator.activatedRules.add(i);let c=i[2];return s.map(l=>{if(F(l))return[c.__index,l,c];let u=a.variantHandlers,d=c;for(let p of l)p[0]===X.variants?typeof p[1]=="function"?u=p[1](u)||u:u=[...j(p[1]),...u]:p[0]===X.parent?u=[{parent:p[1]},...u]:p[0]===X.selector?u=[{selector:p[1]},...u]:p[0]===X.layer?u=[{layer:p[1]},...u]:p[0]===X.sort?d={...d,sort:p[1]}:p[0]===X.noMerge?d={...d,noMerge:p[1]}:p[0]===X.body&&(p[0]=Tn);return[c.__index,n,l,d,u]})}}}static async create(e={},r={}){let n=new Un(e,r);return n.config=await On(n.userConfig,n.defaults),n.events.emit("config",n.config),n}async setConfig(e,r){e&&(r&&(this.defaults=r),this.userConfig=e,this.blocked.clear(),this.parentOrders.clear(),this.activatedRules.clear(),this.cache.clear(),this.config=await On(e,this.defaults),this.events.emit("config",this.config))}async applyExtractors(e,r,n=new Set){let o={original:e,code:e,id:r,extracted:n,envMode:this.config.envMode};for(let i of this.config.extractors){let a=await i.extract?.(o);if(a)if(Or(a)&&Or(n))for(let s of a)n.setCount(s,n.getCount(s)+a.getCount(s));else for(let s of a)n.add(s)}return n}makeContext(e,r){let n={rawSelector:e,currentSelector:r[1],theme:this.config.theme,generator:this,symbols:X,variantHandlers:r[2],constructCSS:(...o)=>this.constructCustomCSS(n,...o),variantMatch:r};return n}async parseToken(e,r){if(this.blocked.has(e))return;let n=`${e}${r?` ${r}`:""}`;if(this.cache.has(n))return this.cache.get(n);let o=this.config.preprocess.reduce((c,l)=>l(c)??c,e);if(this.isBlocked(o)){this.blocked.add(e),this.cache.set(n,null);return}let i=await this.matchVariants(e,o);if(i.every(c=>!c||this.isBlocked(c[1]))){this.blocked.add(e),this.cache.set(n,null);return}let a=async c=>{let l=this.makeContext(e,[r||c[0],c[1],c[2],c[3]]);this.config.details&&(l.variants=[...c[3]]);let u=await this.expandShortcut(l.currentSelector,l);return u?await this.stringifyShortcuts(l.variantMatch,l,u[0],u[1]):(await this.parseUtil(l.variantMatch,l))?.flatMap(d=>this.stringifyUtil(d,l)).filter(ee)},s=(await Promise.all(i.map(c=>a(c)))).flat().filter(c=>!!c);if(s?.length)return this.cache.set(n,s),s;this.cache.set(n,null)}async generate(e,r={}){let{id:n,scope:o,preflights:i=!0,safelist:a=!0,minify:s=!1,extendedInfo:c=!1}=r,l=F(e)?await this.applyExtractors(e,n,c?new Fn:new Set):Array.isArray(e)?new Set(e):e;if(a){let C={generator:this,theme:this.config.theme};this.config.safelist.flatMap(E=>typeof E=="function"?E(C):E).forEach(E=>{let z=E.trim();z&&!l.has(z)&&l.add(z)})}let u=s?"":`
|
|
2
|
+
`,d=new Set([oe]),p=c?new Map:new Set,h=new Map,m={},x=Array.from(l).map(async C=>{if(p.has(C))return;let E=await this.parseToken(C);if(E!=null){p instanceof Map?p.set(C,{data:E,count:Or(l)?l.getCount(C):-1}):p.add(C);for(let z of E){let V=z[3]||"",D=z[4]?.layer;h.has(V)||h.set(V,[]),h.get(V).push(z),D&&d.add(D)}}});await Promise.all(x),await(async()=>{if(!i)return;let C={generator:this,theme:this.config.theme},E=new Set([]);this.config.preflights.forEach(({layer:z=Lr})=>{d.add(z),E.add(z)}),m=Object.fromEntries(await Promise.all(Array.from(E).map(async z=>[z,(await Promise.all(this.config.preflights.filter(V=>(V.layer||Lr)===z).map(async V=>await V.getCSS(C)))).filter(Boolean).join(u)])))})();let w=C=>this.config.sortLayers(C.sort((E,z)=>(this.config.layers[E]??0)-(this.config.layers[z]??0)||E.localeCompare(z))),k=w(Array.from(d)),y={},b=this.config.outputToCssLayers,g=C=>{let E=C;return typeof b=="object"&&(E=b.cssLayerName?.(C)),E===null?null:E??C},v=(C=oe)=>{if(y[C])return y[C];let E=Array.from(h).sort((D,$)=>(this.parentOrders.get(D[0])??0)-(this.parentOrders.get($[0])??0)||D[0]?.localeCompare($[0]||"")||0).map(([D,$])=>{let _=$.length,P=$.filter(I=>(I[4]?.layer||oe)===C).sort((I,Y)=>I[0]-Y[0]||(I[4]?.sort||0)-(Y[4]?.sort||0)||I[5]?.currentSelector?.localeCompare(Y[5]?.currentSelector??"")||I[1]?.localeCompare(Y[1]||"")||I[2]?.localeCompare(Y[2]||"")||0).map(([,I,Y,,te,,Mr])=>[[[(I&&da(I,o))??"",te?.sort??0]],Y,!!(Mr??te?.noMerge)]);if(!P.length)return;let T=P.reverse().map(([I,Y,te],Mr)=>{if(!te&&this.config.mergeSelectors)for(let dt=Mr+1;dt<_;dt++){let et=P[dt];if(et&&!et[2]&&(I&&et[0]||I==null&&et[0]==null)&&et[1]===Y)return I&&et[0]&&et[0].push(...I),null}let jn=I?ct(I.sort((dt,et)=>dt[1]-et[1]||dt[0]?.localeCompare(et[0]||"")||0).map(dt=>dt[0]).filter(Boolean)):[];return jn.length?`${jn.join(`,${u}`)}{${Y}}`:Y}).filter(Boolean),G=Array.from(new Set(T)).reverse().join(u);if(!D)return G;let vt=D.split(" $$ ");return`${vt.join("{")}{${u}${G}${u}${"}".repeat(vt.length)}`}).filter(Boolean).join(u);i&&(E=[m[C],E].filter(Boolean).join(u));let z;b&&E&&(z=g(C),z!==null&&(E=`@layer ${z}{${u}${E}${u}}`));let V=s?"":`/* layer: ${C}${z&&z!==C?`, alias: ${z}`:""} */${u}`;return y[C]=E?V+E:""},L=(C=k,E)=>{let z=C.filter(D=>!E?.includes(D)),V=z.map(v).filter(Boolean);if(b){let D=z;typeof b=="object"&&b.allLayers&&(D=w(Object.keys(this.config.layers))),D.length>0&&V.unshift(`@layer ${D.map(g).filter(ee).join(", ")};`)}return V.join(u)};return{get css(){return L()},layers:k,matched:p,getLayers:L,getLayer:v,setLayer:async(C,E)=>{let z=await E(v(C));return y[C]=z,z}}}async matchVariants(e,r){let n={rawSelector:e,theme:this.config.theme,generator:this},o=async i=>{let a=!0,[,,s,c]=i;for(;a;){a=!1;let l=i[1];for(let u of this.config.variants){if(!u.multiPass&&c.has(u))continue;let d=await u.match(l,n);if(d){if(F(d)){if(d===l)continue;d={matcher:d}}if(Array.isArray(d)){if(!d.length)continue;if(d.length===1)d=d[0];else{if(u.multiPass)throw new Error("multiPass can not be used together with array return variants");let p=d.map(h=>{let m=h.matcher??l,x=[h,...s],w=new Set(c);return w.add(u),[i[0],m,x,w]});return(await Promise.all(p.map(h=>o(h)))).flat()}}i[1]=d.matcher??l,s.unshift(d),c.add(u),a=!0;break}}if(!a)break;if(s.length>500)throw new Error(`Too many variants applied to "${e}"`)}return[i]};return await o([e,r||e,[],new Set])}applyVariants(e,r=e[4],n=e[1]){let o=r.slice().sort((c,l)=>(c.order||0)-(l.order||0)).reduceRight((c,l)=>u=>{let d=l.body?.(u.entries)||u.entries,p=Array.isArray(l.parent)?l.parent:[l.parent,void 0],h=l.selector?.(u.selector,d);return(l.handle??ma)({...u,entries:d,selector:h||u.selector,parent:p[0]||u.parent,parentOrder:p[1]||u.parentOrder,layer:l.layer||u.layer,sort:l.sort||u.sort},c)},c=>c)({prefix:"",selector:pa(n),pseudo:"",entries:e[2]}),{parent:i,parentOrder:a}=o;i!=null&&a!=null&&this.parentOrders.set(i,a);let s={selector:[o.prefix,o.selector,o.pseudo].join(""),entries:o.entries,parent:i,layer:o.layer,sort:o.sort,noMerge:o.noMerge};return this.config.postprocess.reduce((c,l)=>{let u=[];for(let d of c){let p=l(d);Array.isArray(p)?u.push(...p.filter(ee)):u.push(p||d)}return u},[s])}constructCustomCSS(e,r,n){let o=ae(r);return F(o)?o:this.applyVariants([0,n||e.rawSelector,o,void 0,e.variantHandlers]).map(({selector:i,entries:a,parent:s})=>{let c=`${i}{${Tt(a)}}`;return s?`${s}{${c}}`:c}).join("")}async parseUtil(e,r,n=!1,o){let i=F(e)?await this.matchVariants(e):[e],a=async([c,l,u])=>{this.config.details&&(r.rules=r.rules??[]);let d={...r,variantHandlers:u},p=this.config.rulesStaticMap[l];if(p&&p[1]&&(n||!p[2]?.internal))return this.resolveCSSResult(c,p[1],p,d);for(let h of this.config.rulesDynamic){let[m,x,w]=h;if(w?.internal&&!n)continue;let k=l;if(w?.prefix){let v=j(w.prefix);if(o){let L=j(o);if(!v.some(H=>L.includes(H)))continue}else{let L=v.find(H=>l.startsWith(H));if(L==null)continue;k=l.slice(L.length)}}let y=k.match(m);if(!y)continue;let b=await x(y,d);if(!b)continue;if(typeof b!="string")if(Symbol.asyncIterator in b){let v=[];for await(let L of b)L&&v.push(L);b=v}else Symbol.iterator in b&&!Array.isArray(b)&&(b=Array.from(b).filter(ee));let g=this.resolveCSSResult(c,b,h,d);if(g)return g}},s=(await Promise.all(i.map(c=>a(c)))).flat().filter(c=>!!c);if(s.length)return s}stringifyUtil(e,r){if(!e)return;if(An(e))return[[e[0],void 0,e[1],void 0,e[2],this.config.details?r:void 0,void 0]];let n=this.applyVariants(e),o=[];for(let i of n){let{selector:a,entries:s,parent:c,layer:l,sort:u,noMerge:d}=i,p=Tt(s);if(!p)continue;let{layer:h,sort:m,...x}=e[3]??{},w={...x,layer:l??h,sort:u??m};o.push([e[0],a,p,c,w,this.config.details?r:void 0,d])}return o}async expandShortcut(e,r,n=5){if(n===0)return;let o=this.config.details?l=>{r.shortcuts=r.shortcuts??[],r.shortcuts.push(l)}:Hi,i,a,s,c;for(let l of this.config.shortcuts){let u=e;if(l[2]?.prefix){let d=j(l[2].prefix).find(p=>e.startsWith(p));if(d==null)continue;u=e.slice(d.length)}if(Qi(l)){if(l[0]===u){i=i||l[2],a=l[1],o(l);break}}else{let d=u.match(l[0]);if(d&&(a=l[1](d,r)),a){i=i||l[2],o(l);break}}}if(a&&(s=ct(j(a).filter(F).map(l=>ra(l.trim()).split(/\s+/g)).flat()),c=j(a).filter(l=>!F(l)).map(l=>({handles:[],value:l}))),!a){let l=F(e)?await this.matchVariants(e):[e];for(let u of l){let[d,p,h]=u;if(d!==p){let m=await this.expandShortcut(p,r,n-1);m&&(s=m[0].filter(F).map(x=>d.replace(p,x)),c=m[0].filter(x=>!F(x)).map(x=>({handles:[...x.handles,...h],value:x.value})))}}}if(!(!s?.length&&!c?.length))return[[await Promise.all(j(s).map(async l=>(await this.expandShortcut(l,r,n-1))?.[0]||[l])),c].flat(2).filter(l=>!!l),i]}async stringifyShortcuts(e,r,n,o={layer:this.config.shortcutsLayer}){let i=new Xi,a=(await Promise.all(ct(n).map(async u=>{let d=F(u)?await this.parseUtil(u,r,!0,o.prefix):[[Number.POSITIVE_INFINITY,"{inline}",ae(u.value),void 0,u.handles]];return!d&&this.config.warn&&na(`unmatched utility "${u}" in shortcut "${e[1]}"`),d||[]}))).flat(1).filter(Boolean).sort((u,d)=>u[0]-d[0]),[s,,c]=e,l=[];for(let u of a){if(An(u)){l.push([u[0],void 0,u[1],void 0,u[2],r,void 0]);continue}let d=Object.fromEntries(u[2])[X.shortcutsNoMerge],p=[...u[4],...d?[]:c];for(let{selector:h,entries:m,parent:x,sort:w,noMerge:k,layer:y}of this.applyVariants(u,p,s))i.getFallback(y??o.layer,new Yi).getFallback(h,x,[[],u[0]])[0].push([m,!!(k??u[3]?.noMerge),w??0])}return l.concat(i.flatMap((u,d)=>u.map(([p,h],m,x)=>{let w=(k,y,b)=>{let g=Math.max(...b.map(L=>L[1])),v=b.map(L=>L[0]);return(k?[v.flat(1)]:v).map(L=>{let H=Tt(L);if(H)return[h,m,H,x,{...o,noMerge:y,sort:g,layer:d},r,void 0]})};return[[p.filter(([,k])=>k).map(([k,,y])=>[k,y]),!0],[p.filter(([,k])=>!k).map(([k,,y])=>[k,y]),!1]].map(([k,y])=>[...w(!1,y,k.filter(([b])=>b.some(g=>g[0]===X.shortcutsNoMerge))),...w(!0,y,k.filter(([b])=>b.every(g=>g[0]!==X.shortcutsNoMerge)))])}).flat(2).filter(Boolean)))}isBlocked(e){return!e||this.config.blocklist.map(r=>Array.isArray(r)?r[0]:r).some(r=>typeof r=="function"?r(e):F(r)?r===e:r.test(e))}getBlocked(e){let r=this.config.blocklist.find(n=>{let o=Array.isArray(n)?n[0]:n;return typeof o=="function"?o(e):F(o)?o===e:o.test(e)});return r?Array.isArray(r)?r:[r,void 0]:void 0}};async function Dn(t,e){return await fa.create(t,e)}var Vn=/\s\$\$\s+/g;function ua(t){return Vn.test(t)}function da(t,e){return ua(t)?t.replace(Vn,e?` ${e} `:" "):e?`${e} ${t}`:t}var Ln=/^\[(.+?)(~?=)"(.*)"\]$/;function pa(t){return Ln.test(t)?t.replace(Ln,(e,r,n,o)=>`[${Pr(r)}${n}"${Pr(o)}"]`):`.${Pr(t)}`}function ma(t,e){return e(t)}var Br=Object.defineProperty,ha=Object.getOwnPropertyDescriptor,ga=Object.getOwnPropertyNames,ba=Object.prototype.hasOwnProperty,se=(t,e)=>{let r={};for(var n in t)Br(r,n,{get:t[n],enumerable:!0});return e&&Br(r,Symbol.toStringTag,{value:"Module"}),r},Gn=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(var o=ga(e),i=0,a=o.length,s;i<a;i++)s=o[i],!ba.call(t,s)&&s!==r&&Br(t,s,{get:(c=>e[c]).bind(null,s),enumerable:!(n=ha(e,s))||n.enumerable});return t},Tr=(t,e,r)=>(Gn(t,e,"default"),r&&Gn(r,e,"default"));var Qr={};Ti(Qr,{PseudoClassFunctions:()=>so,PseudoClassFunctionsStr:()=>pt,PseudoClasses:()=>wt,PseudoClassesAndElementsColonStr:()=>Dr,PseudoClassesAndElementsStr:()=>Ur,PseudoClassesColon:()=>kt,PseudoClassesColonKeys:()=>Hr,PseudoClassesColonStr:()=>de,PseudoClassesKeys:()=>qr,PseudoClassesMulti:()=>Yr,PseudoClassesMultiStr:()=>Ir,PseudoClassesStr:()=>ue,alphaPlaceholders:()=>Vr,alphaPlaceholdersRE:()=>ro,calcMaxWidthBySize:()=>Wa,colorOpacityToString:()=>mt,colorToString:()=>W,createPartClasses:()=>Jr,createPseudoClassFunctions:()=>Kr,createPseudoClassesAndElements:()=>Xr,createTaggedPseudoClassMatcher:()=>lo,createTaggedPseudoClasses:()=>Zr,createValueHandler:()=>Gr,cssColorFunctions:()=>pe,excludedPseudo:()=>co,getBracket:()=>Jn,getStringComponent:()=>$t,getStringComponents:()=>_t,hasIconFn:()=>Ia,hasThemeFn:()=>Ba,hex2rgba:()=>Aa,hueInterpolationMethods:()=>eo,iconFnRE:()=>Na,isInterpolatedMethod:()=>_a,parseCssColor:()=>J,polarColorSpace:()=>to,rectangularColorSpace:()=>Qn,themeFnRE:()=>io,transformThemeFn:()=>Ta,transformThemeString:()=>ao,variantGetBracket:()=>fo,variantGetParameter:()=>uo,variantMatcher:()=>St,variantParentMatcher:()=>rt});var ya=44,xa=59,qn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Xn=new Uint8Array(64),va=new Uint8Array(128);for(let t=0;t<qn.length;t++){let e=qn.charCodeAt(t);Xn[t]=e,va[e]=t}function Wt(t,e,r){let n=e-r;n=n<0?-n<<1|1:n<<1;do{let o=n&31;n>>>=5,n>0&&(o|=32),t.write(Xn[o])}while(n>0);return e}var Hn=1024*16,Yn=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(t){return Buffer.from(t.buffer,t.byteOffset,t.byteLength).toString()}}:{decode(t){let e="";for(let r=0;r<t.length;r++)e+=String.fromCharCode(t[r]);return e}},$a=class{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(Hn)}write(t){let{buffer:e}=this;e[this.pos++]=t,this.pos===Hn&&(this.out+=Yn.decode(e),this.pos=0)}flush(){let{buffer:t,out:e,pos:r}=this;return r>0?e+Yn.decode(t.subarray(0,r)):e}};function Kn(t){let e=new $a,r=0,n=0,o=0,i=0;for(let a=0;a<t.length;a++){let s=t[a];if(a>0&&e.write(xa),s.length===0)continue;let c=0;for(let l=0;l<s.length;l++){let u=s[l];l>0&&e.write(ya),c=Wt(e,u[0],c),u.length!==1&&(r=Wt(e,u[1],r),n=Wt(e,u[2],n),o=Wt(e,u[3],o),u.length!==4&&(i=Wt(e,u[4],i)))}}return e.flush()}var ce=class t{constructor(e){this.bits=e instanceof t?e.bits.slice():[]}add(e){this.bits[e>>5]|=1<<(e&31)}has(e){return!!(this.bits[e>>5]&1<<(e&31))}},le=class t{constructor(e,r,n){this.start=e,this.end=r,this.original=n,this.intro="",this.outro="",this.content=n,this.storeName=!1,this.edited=!1,this.previous=null,this.next=null}appendLeft(e){this.outro+=e}appendRight(e){this.intro=this.intro+e}clone(){let e=new t(this.start,this.end,this.original);return e.intro=this.intro,e.outro=this.outro,e.content=this.content,e.storeName=this.storeName,e.edited=this.edited,e}contains(e){return this.start<e&&e<this.end}eachNext(e){let r=this;for(;r;)e(r),r=r.next}eachPrevious(e){let r=this;for(;r;)e(r),r=r.previous}edit(e,r,n){return this.content=e,n||(this.intro="",this.outro=""),this.storeName=r,this.edited=!0,this}prependLeft(e){this.outro=e+this.outro}prependRight(e){this.intro=e+this.intro}reset(){this.intro="",this.outro="",this.edited&&(this.content=this.original,this.storeName=!1,this.edited=!1)}split(e){let r=e-this.start,n=this.original.slice(0,r),o=this.original.slice(r);this.original=n;let i=new t(e,this.end,o);return i.outro=this.outro,this.outro="",this.end=e,this.edited?(i.edit("",!1),this.content=""):this.content=n,i.next=this.next,i.next&&(i.next.previous=i),i.previous=this,this.next=i,i}toString(){return this.intro+this.content+this.outro}trimEnd(e){if(this.outro=this.outro.replace(e,""),this.outro.length)return!0;let r=this.content.replace(e,"");if(r.length)return r!==this.content&&(this.split(this.start+r.length).edit("",void 0,!0),this.edited&&this.edit(r,this.storeName,!0)),!0;if(this.edit("",void 0,!0),this.intro=this.intro.replace(e,""),this.intro.length)return!0}trimStart(e){if(this.intro=this.intro.replace(e,""),this.intro.length)return!0;let r=this.content.replace(e,"");if(r.length){if(r!==this.content){let n=this.split(this.end-r.length);this.edited&&n.edit(r,this.storeName,!0),this.edit("",void 0,!0)}return!0}else if(this.edit("",void 0,!0),this.outro=this.outro.replace(e,""),this.outro.length)return!0}};function wa(){return typeof globalThis<"u"&&typeof globalThis.btoa=="function"?t=>globalThis.btoa(unescape(encodeURIComponent(t))):typeof Buffer=="function"?t=>Buffer.from(t,"utf-8").toString("base64"):()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}var ka=wa(),Wr=class{constructor(e){this.version=3,this.file=e.file,this.sources=e.sources,this.sourcesContent=e.sourcesContent,this.names=e.names,this.mappings=Kn(e.mappings),typeof e.x_google_ignoreList<"u"&&(this.x_google_ignoreList=e.x_google_ignoreList),typeof e.debugId<"u"&&(this.debugId=e.debugId)}toString(){return JSON.stringify(this)}toUrl(){return"data:application/json;charset=utf-8;base64,"+ka(this.toString())}};function Sa(t){let e=t.split(`
|
|
3
|
+
`),r=e.filter(i=>/^\t+/.test(i)),n=e.filter(i=>/^ {2,}/.test(i));if(r.length===0&&n.length===0)return null;if(r.length>=n.length)return" ";let o=n.reduce((i,a)=>{let s=/^ +/.exec(a)[0].length;return Math.min(s,i)},1/0);return new Array(o+1).join(" ")}function Ca(t,e){let r=t.split(/[/\\]/),n=e.split(/[/\\]/);for(r.pop();r[0]===n[0];)r.shift(),n.shift();if(r.length){let o=r.length;for(;o--;)r[o]=".."}return r.concat(n).join("/")}var Ea=Object.prototype.toString;function za(t){return Ea.call(t)==="[object Object]"}function Zn(t){let e=t.split(`
|
|
4
|
+
`),r=[];for(let n=0,o=0;n<e.length;n++)r.push(o),o+=e[n].length+1;return function(o){let i=0,a=r.length;for(;i<a;){let l=i+a>>1;o<r[l]?a=l:i=l+1}let s=i-1,c=o-r[s];return{line:s,column:c}}}var ja=/\w/,Nr=class{constructor(e){this.hires=e,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null}addEdit(e,r,n,o){if(r.length){let i=r.length-1,a=r.indexOf(`
|
|
5
|
+
`,0),s=-1;for(;a>=0&&i>a;){let l=[this.generatedCodeColumn,e,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,s=a,a=r.indexOf(`
|
|
6
|
+
`,a+1)}let c=[this.generatedCodeColumn,e,n.line,n.column];o>=0&&c.push(o),this.rawSegments.push(c),this.advance(r.slice(s+1))}else this.pending&&(this.rawSegments.push(this.pending),this.advance(r));this.pending=null}addUneditedChunk(e,r,n,o,i){let a=r.start,s=!0,c=!1;for(;a<r.end;){if(n[a]===`
|
|
7
|
+
`)o.line+=1,o.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,s=!0,c=!1;else{if(this.hires||s||i.has(a)){let l=[this.generatedCodeColumn,e,o.line,o.column];this.hires==="boundary"?ja.test(n[a])?c||(this.rawSegments.push(l),c=!0):(this.rawSegments.push(l),c=!1):this.rawSegments.push(l)}o.column+=1,this.generatedCodeColumn+=1,s=!1}a+=1}this.pending=null}advance(e){if(!e)return;let r=e.split(`
|
|
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
|
+
`,jt={insertLeft:!1,insertRight:!1,storeName:!1},fe=class t{constructor(e,r={}){let n=new le(0,e.length,e);Object.defineProperties(this,{original:{writable:!0,value:e},outro:{writable:!0,value:""},intro:{writable:!0,value:""},firstChunk:{writable:!0,value:n},lastChunk:{writable:!0,value:n},lastSearchedChunk:{writable:!0,value:n},byStart:{writable:!0,value:{}},byEnd:{writable:!0,value:{}},filename:{writable:!0,value:r.filename},indentExclusionRanges:{writable:!0,value:r.indentExclusionRanges},sourcemapLocations:{writable:!0,value:new ce},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:void 0},ignoreList:{writable:!0,value:r.ignoreList},offset:{writable:!0,value:r.offset||0}}),this.byStart[0]=n,this.byEnd[e.length]=n}addSourcemapLocation(e){this.sourcemapLocations.add(e)}append(e){if(typeof e!="string")throw new TypeError("outro content must be a string");return this.outro+=e,this}appendLeft(e,r){if(e=e+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(e);let n=this.byEnd[e];return n?n.appendLeft(r):this.intro+=r,this}appendRight(e,r){if(e=e+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(e);let n=this.byStart[e];return n?n.appendRight(r):this.outro+=r,this}clone(){let e=new t(this.original,{filename:this.filename,offset:this.offset}),r=this.firstChunk,n=e.firstChunk=e.lastSearchedChunk=r.clone();for(;r;){e.byStart[n.start]=n,e.byEnd[n.end]=n;let o=r.next,i=o&&o.clone();i&&(n.next=i,i.previous=n,n=i),r=o}return e.lastChunk=n,this.indentExclusionRanges&&(e.indentExclusionRanges=this.indentExclusionRanges.slice()),e.sourcemapLocations=new ce(this.sourcemapLocations),e.intro=this.intro,e.outro=this.outro,e}generateDecodedMap(e){e=e||{};let r=0,n=Object.keys(this.storedNames),o=new Nr(e.hires),i=Zn(this.original);return this.intro&&o.advance(this.intro),this.firstChunk.eachNext(a=>{let s=i(a.start);a.intro.length&&o.advance(a.intro),a.edited?o.addEdit(r,a.content,s,a.storeName?n.indexOf(a.original):-1):o.addUneditedChunk(r,a,this.original,s,this.sourcemapLocations),a.outro.length&&o.advance(a.outro)}),this.outro&&o.advance(this.outro),{file:e.file?e.file.split(/[/\\]/).pop():void 0,sources:[e.source?Ca(e.file||"",e.source):e.file||""],sourcesContent:e.includeContent?[this.original]:void 0,names:n,mappings:o.raw,x_google_ignoreList:this.ignoreList?[r]:void 0}}generateMap(e){return new Wr(this.generateDecodedMap(e))}_ensureindentStr(){this.indentStr===void 0&&(this.indentStr=Sa(this.original))}_getRawIndentString(){return this._ensureindentStr(),this.indentStr}getIndentString(){return this._ensureindentStr(),this.indentStr===null?" ":this.indentStr}indent(e,r){let n=/^[^\r\n]/gm;if(za(e)&&(r=e,e=void 0),e===void 0&&(this._ensureindentStr(),e=this.indentStr||" "),e==="")return this;r=r||{};let o={};r.exclude&&(typeof r.exclude[0]=="number"?[r.exclude]:r.exclude).forEach(u=>{for(let d=u[0];d<u[1];d+=1)o[d]=!0});let i=r.indentStart!==!1,a=l=>i?`${e}${l}`:(i=!0,l);this.intro=this.intro.replace(n,a);let s=0,c=this.firstChunk;for(;c;){let l=c.end;if(c.edited)o[s]||(c.content=c.content.replace(n,a),c.content.length&&(i=c.content[c.content.length-1]===`
|
|
10
|
+
`));else for(s=c.start;s<l;){if(!o[s]){let u=this.original[s];u===`
|
|
11
|
+
`?i=!0:u!=="\r"&&i&&(i=!1,s===c.start||(this._splitChunk(c,s),c=c.next),c.prependRight(e))}s+=1}s=c.end,c=c.next}return this.outro=this.outro.replace(n,a),this}insert(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")}insertLeft(e,r){return jt.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),jt.insertLeft=!0),this.appendLeft(e,r)}insertRight(e,r){return jt.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),jt.insertRight=!0),this.prependRight(e,r)}move(e,r,n){if(e=e+this.offset,r=r+this.offset,n=n+this.offset,n>=e&&n<=r)throw new Error("Cannot move a selection inside itself");this._split(e),this._split(r),this._split(n);let o=this.byStart[e],i=this.byEnd[r],a=o.previous,s=i.next,c=this.byStart[n];if(!c&&i===this.lastChunk)return this;let l=c?c.previous:this.lastChunk;return a&&(a.next=s),s&&(s.previous=a),l&&(l.next=o),c&&(c.previous=i),o.previous||(this.firstChunk=i.next),i.next||(this.lastChunk=o.previous,this.lastChunk.next=null),o.previous=l,i.next=c||null,l||(this.firstChunk=o),c||(this.lastChunk=i),this}overwrite(e,r,n,o){return o=o||{},this.update(e,r,n,{...o,overwrite:!o.contentOnly})}update(e,r,n,o){if(e=e+this.offset,r=r+this.offset,typeof n!="string")throw new TypeError("replacement content must be a string");if(this.original.length!==0){for(;e<0;)e+=this.original.length;for(;r<0;)r+=this.original.length}if(r>this.original.length)throw new Error("end is out of bounds");if(e===r)throw new Error("Cannot overwrite a zero-length range \u2013 use appendLeft or prependRight instead");this._split(e),this._split(r),o===!0&&(jt.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),jt.storeName=!0),o={storeName:!0});let i=o!==void 0?o.storeName:!1,a=o!==void 0?o.overwrite:!1;if(i){let l=this.original.slice(e,r);Object.defineProperty(this.storedNames,l,{writable:!0,value:!0,enumerable:!0})}let s=this.byStart[e],c=this.byEnd[r];if(s){let l=s;for(;l!==c;){if(l.next!==this.byStart[l.end])throw new Error("Cannot overwrite across a split point");l=l.next,l.edit("",!1)}s.edit(n,i,!a)}else{let l=new le(e,r,"").edit(n,i);c.next=l,l.previous=c}return this}prepend(e){if(typeof e!="string")throw new TypeError("outro content must be a string");return this.intro=e+this.intro,this}prependLeft(e,r){if(e=e+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(e);let n=this.byEnd[e];return n?n.prependLeft(r):this.intro=r+this.intro,this}prependRight(e,r){if(e=e+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(e);let n=this.byStart[e];return n?n.prependRight(r):this.outro=r+this.outro,this}remove(e,r){if(e=e+this.offset,r=r+this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;r<0;)r+=this.original.length}if(e===r)return this;if(e<0||r>this.original.length)throw new Error("Character is out of bounds");if(e>r)throw new Error("end must be greater than start");this._split(e),this._split(r);let n=this.byStart[e];for(;n;)n.intro="",n.outro="",n.edit(""),n=r>n.end?this.byStart[n.end]:null;return this}reset(e,r){if(e=e+this.offset,r=r+this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;r<0;)r+=this.original.length}if(e===r)return this;if(e<0||r>this.original.length)throw new Error("Character is out of bounds");if(e>r)throw new Error("end must be greater than start");this._split(e),this._split(r);let n=this.byStart[e];for(;n;)n.reset(),n=r>n.end?this.byStart[n.end]:null;return this}lastChar(){if(this.outro.length)return this.outro[this.outro.length-1];let e=this.lastChunk;do{if(e.outro.length)return e.outro[e.outro.length-1];if(e.content.length)return e.content[e.content.length-1];if(e.intro.length)return e.intro[e.intro.length-1]}while(e=e.previous);return this.intro.length?this.intro[this.intro.length-1]:""}lastLine(){let e=this.outro.lastIndexOf(Nt);if(e!==-1)return this.outro.substr(e+1);let r=this.outro,n=this.lastChunk;do{if(n.outro.length>0){if(e=n.outro.lastIndexOf(Nt),e!==-1)return n.outro.substr(e+1)+r;r=n.outro+r}if(n.content.length>0){if(e=n.content.lastIndexOf(Nt),e!==-1)return n.content.substr(e+1)+r;r=n.content+r}if(n.intro.length>0){if(e=n.intro.lastIndexOf(Nt),e!==-1)return n.intro.substr(e+1)+r;r=n.intro+r}}while(n=n.previous);return e=this.intro.lastIndexOf(Nt),e!==-1?this.intro.substr(e+1)+r:this.intro+r}slice(e=0,r=this.original.length-this.offset){if(e=e+this.offset,r=r+this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;r<0;)r+=this.original.length}let n="",o=this.firstChunk;for(;o&&(o.start>e||o.end<=e);){if(o.start<r&&o.end>=r)return n;o=o.next}if(o&&o.edited&&o.start!==e)throw new Error(`Cannot use replaced character ${e} as slice start anchor.`);let i=o;for(;o;){o.intro&&(i!==o||o.start===e)&&(n+=o.intro);let a=o.start<r&&o.end>=r;if(a&&o.edited&&o.end!==r)throw new Error(`Cannot use replaced character ${r} as slice end anchor.`);let s=i===o?e-o.start:0,c=a?o.content.length+r-o.end:o.content.length;if(n+=o.content.slice(s,c),o.outro&&(!a||o.end===r)&&(n+=o.outro),a)break;o=o.next}return n}snip(e,r){let n=this.clone();return n.remove(0,e),n.remove(r,n.original.length),n}_split(e){if(this.byStart[e]||this.byEnd[e])return;let r=this.lastSearchedChunk,n=r,o=e>r.end;for(;r;){if(r.contains(e))return this._splitChunk(r,e);if(r=o?this.byStart[r.end]:this.byEnd[r.start],r===n)return;n=r}}_splitChunk(e,r){if(e.edited&&e.content.length){let o=Zn(this.original)(r);throw new Error(`Cannot split a chunk that has already been edited (${o.line}:${o.column} \u2013 "${e.original}")`)}let n=e.split(r);return this.byEnd[r]=e,this.byStart[r]=n,this.byEnd[n.end]=n,e===this.lastChunk&&(this.lastChunk=n),this.lastSearchedChunk=e,!0}toString(){let e=this.intro,r=this.firstChunk;for(;r;)e+=r.toString(),r=r.next;return e+this.outro}isEmpty(){let e=this.firstChunk;do if(e.intro.length&&e.intro.trim()||e.content.length&&e.content.trim()||e.outro.length&&e.outro.trim())return!1;while(e=e.next);return!0}length(){let e=this.firstChunk,r=0;do r+=e.intro.length+e.content.length+e.outro.length;while(e=e.next);return r}trimLines(){return this.trim("[\\r\\n]")}trim(e){return this.trimStart(e).trimEnd(e)}trimEndAborted(e){let r=new RegExp((e||"\\s")+"+$");if(this.outro=this.outro.replace(r,""),this.outro.length)return!0;let n=this.lastChunk;do{let o=n.end,i=n.trimEnd(r);if(n.end!==o&&(this.lastChunk===n&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return!0;n=n.previous}while(n);return!1}trimEnd(e){return this.trimEndAborted(e),this}trimStartAborted(e){let r=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(r,""),this.intro.length)return!0;let n=this.firstChunk;do{let o=n.end,i=n.trimStart(r);if(n.end!==o&&(n===this.lastChunk&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return!0;n=n.next}while(n);return!1}trimStart(e){return this.trimStartAborted(e),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(e,r){function n(i,a){return typeof r=="string"?r.replace(/\$(\$|&|\d+)/g,(s,c)=>c==="$"?"$":c==="&"?i[0]:+c<i.length?i[+c]:`$${c}`):r(...i,i.index,a,i.groups)}function o(i,a){let s,c=[];for(;s=i.exec(a);)c.push(s);return c}if(e.global)o(e,this.original).forEach(a=>{if(a.index!=null){let s=n(a,this.original);s!==a[0]&&this.overwrite(a.index,a.index+a[0].length,s)}});else{let i=this.original.match(e);if(i&&i.index!=null){let a=n(i,this.original);a!==i[0]&&this.overwrite(i.index,i.index+i[0].length,a)}}return this}_replaceString(e,r){let{original:n}=this,o=n.indexOf(e);return o!==-1&&(typeof r=="function"&&(r=r(e,o,n)),e!==r&&this.overwrite(o,o+e.length,r)),this}replace(e,r){return typeof e=="string"?this._replaceString(e,r):this._replaceRegexp(e,r)}_replaceAllString(e,r){let{original:n}=this,o=e.length;for(let i=n.indexOf(e);i!==-1;i=n.indexOf(e,i+o)){let a=n.slice(i,i+o),s=r;typeof r=="function"&&(s=r(a,i,n)),a!==s&&this.overwrite(i,i+o,s)}return this}replaceAll(e,r){if(typeof e=="string")return this._replaceAllString(e,r);if(!e.global)throw new TypeError("MagicString.prototype.replaceAll called with a non-global RegExp argument");return this._replaceRegexp(e,r)}};function Jn(t,e,r){if(t==="")return;let n=t.length,o=0,i=!1,a=0;for(let s=0;s<n;s++)switch(t[s]){case e:i||(i=!0,a=s),o++;break;case r:if(--o,o<0)return;if(o===0)return[t.slice(a,s+1),t.slice(s+1),t.slice(0,a)];break}}function $t(t,e,r,n){if(t===""||(F(n)&&(n=[n]),n.length===0))return;let o=t.length,i=0;for(let a=0;a<o;a++)switch(t[a]){case e:i++;break;case r:if(--i<0)return;break;default:for(let s of n){let c=s.length;if(c&&s===t.slice(a,a+c)&&i===0)return a===0||a===o-c?void 0:[t.slice(0,a),t.slice(a+c)]}}return[t,""]}function _t(t,e,r,n="(",o=")"){r=r??10;let i=[],a=0;for(;t!=="";){if(++a>r)return;let s=$t(t,n,o,e);if(!s)return;let[c,l]=s;i.push(c),t=l}if(i.length>0)return i}var pe=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"],Qn=["srgb","srgb-linear","display-p3","a98-rgb","prophoto-rgb","rec2020","lab","oklab","xyz","xyz-d50","xyz-d65"],to=["hsl","hwb","lch","oklch"],eo=["shorter","longer","increasing","decreasing"],Vr=["%alpha","<alpha-value>"],ro=new RegExp(Vr.map(t=>K(t)).join("|"),"g");function _a(t){return t?Qn.some(e=>t.includes(e))||to.some(e=>t.includes(e))||eo.some(e=>t.includes(e)):!1}function Aa(t=""){let e=no(t);if(e!=null){let{components:r,alpha:n}=e;return n==null?r:[...r,n]}}function J(t=""){let e=Ra(t);if(e==null||e===!1)return;let{type:r,components:n,alpha:o}=e,i=r.toLowerCase();if(n.length!==0&&!(pe.includes(i)&&![1,3].includes(n.length)))return{type:i,components:n.map(a=>typeof a=="string"?a.trim():a),alpha:typeof o=="string"?o.trim():o}}function mt(t){let e=t.alpha??1;return typeof e=="string"&&Vr.includes(e)?1:e}function W(t,e){if(typeof t=="string")return t.replace(ro,`${e??1}`);let{components:r}=t,{alpha:n,type:o}=t;return n=e??n,o=o.toLowerCase(),["hsla","rgba"].includes(o)?`${o}(${r.join(", ")}${n==null?"":`, ${n}`})`:(n=n==null?"":` / ${n}`,pe.includes(o)?`${o}(${r.join(" ")}${n})`:`color(${o} ${r.join(" ")}${n})`)}function Ra(t){if(!t)return;let e=no(t);if(e!=null||(e=Ma(t),e!=null)||(e=Oa(t),e!=null)||(e=La(t),e!=null)||(e=Fa(t),e!=null))return e}function no(t){let[,e]=t.match(/^#([\da-f]+)$/i)||[];if(e)switch(e.length){case 3:case 4:{let r=Array.from(e,n=>Number.parseInt(n,16)).map(n=>n<<4|n);return{type:"rgb",components:r.slice(0,3),alpha:e.length===3?void 0:Math.round(r[3]/255*100)/100}}case 6:case 8:{let r=Number.parseInt(e,16);return{type:"rgb",components:e.length===6?[r>>16&255,r>>8&255,r&255]:[r>>24&255,r>>16&255,r>>8&255],alpha:e.length===6?void 0:Math.round((r&255)/255*100)/100}}}}function Ma(t){let e={rebeccapurple:[102,51,153,1]}[t];if(e!=null)return{type:"rgb",components:e.slice(0,3),alpha:e[3]}}function Oa(t){let e=t.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!e)return;let[,r,n]=e,o=_t(n,",",5);if(o){if([3,4].includes(o.length))return{type:r,components:o.slice(0,3),alpha:o[3]};if(o.length!==1)return!1}}var Pa=new RegExp(`^(${pe.join("|")})\\((.+)\\)$`,"i");function La(t){let e=t.match(Pa);if(!e)return;let[,r,n]=e,o=oo(`${r} ${n}`);if(o){let{alpha:i,components:[a,...s]}=o;return{type:a,components:s,alpha:i}}}function Fa(t){let e=t.match(/^color\((.+)\)$/);if(!e)return;let r=oo(e[1]);if(r){let{alpha:n,components:[o,...i]}=r;return{type:o,components:i,alpha:n}}}function oo(t){let e=_t(t," ");if(!e)return;let r=e.length;if(e[r-2]==="/")return{components:e.slice(0,r-2),alpha:e[r-1]};if(e[r-2]!=null&&(e[r-2].endsWith("/")||e[r-1].startsWith("/"))){let i=e.splice(r-2);e.push(i.join(" ")),--r}let n=_t(e[r-1],"/",2);if(!n)return;if(n.length===1||n[n.length-1]==="")return{components:e};let o=n.pop();return e[r-1]=n.join("/"),{components:e,alpha:o}}var io=/theme\(\s*(['"])?(.*?)\1?\s*\)/g;function Ba(t){return t.includes("theme(")&&t.includes(")")}function Ta(t,e,r=!0){let n=Array.from(t.toString().matchAll(io));if(!n.length)return t;let o=new fe(t);for(let i of n){let a=i[2];if(!a)throw new Error("theme() expect exact one argument, but got 0");let s=ao(a,e,r);s&&o.overwrite(i.index,i.index+i[0].length,s)}return o.toString()}function ao(t,e,r=!0){let[n,o]=t.split("/"),i=n.trim().split(".").reduce((a,s)=>a?.[s],e);if(typeof i=="object"&&(i=i.DEFAULT),typeof i=="string"){if(o){let a=J(i);a&&(i=W(a,o))}return i}else if(r)throw new Error(`theme of "${t}" did not found`)}function Wa(t){var e;let r=((e=t.match(/^-?\d+\.?\d*/))===null||e===void 0?void 0:e[0])||"",n=t.slice(r.length);if(n==="px"){let o=Number.parseFloat(r)-.1;return Number.isNaN(o)?t:`${o}${n}`}return`calc(${t} - 0.1px)`}function Gr(t){let e=function(n,o){var i;let a=((i=this.__options)===null||i===void 0?void 0:i.sequence)||[];this.__options.sequence=[];for(let s of a){let c=t[s](n,o);if(c!=null)return c}};function r(n,o){return n.__options||(n.__options={sequence:[]}),n.__options.sequence.push(o),n}for(let n of Object.keys(t))Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get(){return r(this,n)}});return e}var Na=/icon\(\s*(['"])?(.*?)\1?\s*\)/g;function Ia(t){return t.includes("icon(")&&t.includes(")")}var It="__pseudo_placeholder__",wt=Object.fromEntries([["first-letter","::first-letter"],["first-line","::first-line"],"any-link","link","visited","target",["open","[open]"],"default","checked","indeterminate","placeholder-shown","autofill","optional","required","valid","invalid","user-valid","user-invalid","in-range","out-of-range","read-only","read-write","empty","focus-within","hover","focus","focus-visible","active","enabled","disabled","popover-open","root","empty",["even-of-type",":nth-of-type(even)"],["even",":nth-child(even)"],["odd-of-type",":nth-of-type(odd)"],["odd",":nth-child(odd)"],["nth",`:nth-child(${It})`],["nth-last",`:nth-last-child(${It})`],["nth-last-of-type",`:nth-last-of-type(${It})`],["nth-of-type",`:nth-of-type(${It})`],"first-of-type",["first",":first-child"],"last-of-type",["last",":last-child"],"only-child","only-of-type",["backdrop-element","::backdrop"],["placeholder","::placeholder"],["before","::before"],["after","::after"],["file","::file-selector-button"]].map(t=>Array.isArray(t)?t:[t,`:${t}`])),qr=Object.keys(wt),kt=Object.fromEntries([["backdrop","::backdrop"]].map(t=>Array.isArray(t)?t:[t,`:${t}`])),Hr=Object.keys(kt),so=["not","is","where","has"],Yr=Object.fromEntries([["selection",["::selection"," *::selection"]],["marker",["::marker"," *::marker"]]]),ue=Object.entries(wt).filter(([,t])=>!t.startsWith("::")).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|"),de=Object.entries(kt).filter(([,t])=>!t.startsWith("::")).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|"),pt=so.join("|"),Ir=Object.keys(Yr).sort((t,e)=>e.length-t.length).join("|"),co=["::-webkit-resizer","::-webkit-scrollbar","::-webkit-scrollbar-button","::-webkit-scrollbar-corner","::-webkit-scrollbar-thumb","::-webkit-scrollbar-track","::-webkit-scrollbar-track-piece","::file-selector-button"],Ur=Object.entries(wt).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|"),Dr=Object.entries(kt).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|");function lo(t,e,r,n){let{h:o,variantGetBracket:i}=n,a=new RegExp(`^(${K(e)}:)(\\S+)${K(r)}\\1`),s,c,l,u,d=m=>{var x;let w=i(`${t}-`,m,[]);if(!w)return;let[k,y]=w,b=o.bracket(k);if(b==null)return;let g=((x=y.split(s,1))===null||x===void 0?void 0:x[0])??"",v=`${e}${Z(g)}`;return[g,m.slice(m.length-(y.length-g.length-1)),b.includes("&")?b.replace(/&/g,v):`${v}${b}`]},p=m=>{let x=m.match(c)||m.match(l);if(!x)return;let[w,k,y]=x,b=x[3]??"",g=wt[y]||kt[y]||`:${y}`;return k&&(g=`:${k}(${g})`),[b,m.slice(w.length),`${e}${Z(b)}${g}`,y]},h=m=>{let x=m.match(u);if(!x)return;let[w,k,y]=x,b=x[3]??"",g=`:${k}(${y})`;return[b,m.slice(w.length),`${e}${Z(b)}${g}`]};return{name:`pseudo:${t}`,match(m,x){if(s&&c&&l||(s=new RegExp(`(?:${x.generator.config.separators.join("|")})`),c=new RegExp(`^${t}-(?:(?:(${pt})-)?(${ue}))(?:(/[\\w-]+))?(?:${x.generator.config.separators.join("|")})`),l=new RegExp(`^${t}-(?:(?:(${pt})-)?(${de}))(?:(/[\\w-]+))?(?:${x.generator.config.separators.filter(v=>v!=="-").join("|")})`),u=new RegExp(`^${t}-(?:(${pt})-)?\\[(.+)\\](?:(/[\\w-]+))?(?:${x.generator.config.separators.filter(v=>v!=="-").join("|")})`)),!m.startsWith(t))return;let w=d(m)||p(m)||h(m);if(!w)return;let[k,y,b,g=""]=w;return{matcher:y,handle:(v,L)=>L({...v,prefix:`${b}${r}${v.prefix}`.replace(a,"$1$2:"),sort:qr.indexOf(g)??Hr.indexOf(g)})}},multiPass:!0}}function Xr(t){let{h:e}=t,r,n,o;return[{name:"pseudo",match(i,a){r&&n||(r=new RegExp(`^(${Ur})(?:-(\\d+|\\[(\\w|[+-.])+\\]))?(?:${a.generator.config.separators.join("|")})`),n=new RegExp(`^(${Dr})(?:${a.generator.config.separators.filter(c=>c!=="-").join("|")})`));let s=i.match(r)||i.match(n);if(s){let c=wt[s[1]]||kt[s[1]]||`:${s[1]}`;if(s[2]){let u;s[2].startsWith("[")&&s[2].endsWith("]")?u=e.bracket(s[2]):u=s[2],u&&(c=c.replace(It,u))}let l=qr.indexOf(s[1]);return l===-1&&(l=Hr.indexOf(s[1])),l===-1&&(l=void 0),{matcher:i.slice(s[0].length),handle:(u,d)=>{let p=c.includes("::")&&!co.includes(c)?{pseudo:`${u.pseudo}${c}`}:{selector:`${u.selector}${c}`};return d({...u,...p,sort:l,noMerge:!0})}}}},multiPass:!0,autocomplete:`(${Ur}|${Dr}):`},{name:"pseudo:multi",match(i,a){o||(o=new RegExp(`^(${Ir})(?:${a.generator.config.separators.join("|")})`));let s=i.match(o);if(s)return Yr[s[1]].map(c=>({matcher:i.slice(s[0].length),handle:(l,u)=>u({...l,pseudo:`${l.pseudo}${c}`})}))},multiPass:!1,autocomplete:`(${Ir}):`}]}function Kr(t){let{getBracket:e,h:r}=t,n,o,i;return{match(a,s){n&&o||(n=new RegExp(`^(${pt})-(${ue})(?:${s.generator.config.separators.join("|")})`),o=new RegExp(`^(${pt})-(${de})(?:${s.generator.config.separators.filter(l=>l!=="-").join("|")})`),i=new RegExp(`^(${pt})-(\\[.+\\])(?:${s.generator.config.separators.filter(l=>l!=="-").join("|")})`));let c=a.match(n)||a.match(o)||a.match(i);if(c){let l=c[1],u=e(c[2],"[","]")?r.bracket(c[2]):wt[c[2]]||kt[c[2]]||`:${c[2]}`;return{matcher:a.slice(c[0].length),selector:d=>`${d}:${l}(${u})`}}},multiPass:!0,autocomplete:`(${pt})-(${ue}|${de}):`}}function Zr(t,e){let r=!!t?.attributifyPseudo,n=t?.prefix??"";n=Z((Array.isArray(n)?n:[n]).filter(Boolean)[0]??"");let o=(i,a)=>lo(i,r?`[${n}${i}=""]`:`.${n}${i}`,a,e);return[o("group"," "),o("peer","~"),o("parent",">"),o("previous","+")]}var Ua=/(part-\[(.+)\]:)(.+)/;function Jr(){return{match(t){let e=t.match(Ua);if(e){let r=`part(${e[2]})`;return{matcher:t.slice(e[1].length),selector:n=>`${n}::${r}`}}},multiPass:!0}}function St(t,e,r={}){let n;return{name:t,match(o,i){n||(n=new RegExp(`^${K(t)}(?:${i.generator.config.separators.join("|")})`));let a=o.match(n);if(a){let s=o.slice(a[0].length),c=j(e).map(l=>({matcher:s,handle:(u,d)=>d({...u,...l(u)}),...r}));return c.length===1?c[0]:c}},autocomplete:`${t}:`}}function rt(t,e){let r;return{name:t,match(n,o){r||(r=new RegExp(`^${K(t)}(?:${o.generator.config.separators.join("|")})`));let i=n.match(r);if(i)return{matcher:n.slice(i[0].length),handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}${e}`})}},autocomplete:`${t}:`}}function fo(t,e,r){if(e.startsWith(`${t}[`)){let[n,o]=Jn(e.slice(t.length),"[","]")??[];if(n&&o){for(let i of r)if(o.startsWith(i))return[n,o.slice(i.length),i];return[n,o,""]}}}function uo(t,e,r){for(let n of j(t))if(e.startsWith(n)){let o=fo(n,e,r);if(o){let[i="",a=o[1]]=uo("/",o[1],r)??[];return[o[0],a,i]}for(let i of r.filter(a=>a!=="/")){let a=e.indexOf(i,n.length);if(a!==-1){let s=e.indexOf("/",n.length),c=s===-1||a<=s;return[e.slice(n.length,c?a:s),e.slice(a+i.length),c?"":e.slice(s+1,a)]}}}}var U={l:["-left"],r:["-right"],t:["-top"],b:["-bottom"],s:["-inline-start"],e:["-inline-end"],x:["-left","-right"],y:["-top","-bottom"],"":[""],bs:["-block-start"],be:["-block-end"],is:["-inline-start"],ie:["-inline-end"],block:["-block-start","-block-end"],inline:["-inline-start","-inline-end"]},At={...U,s:["-inset-inline-start"],start:["-inset-inline-start"],e:["-inset-inline-end"],end:["-inset-inline-end"],bs:["-inset-block-start"],be:["-inset-block-end"],is:["-inset-inline-start"],ie:["-inset-inline-end"],block:["-inset-block-start","-inset-block-end"],inline:["-inset-inline-start","-inset-inline-end"]},Rt={l:["-top-left","-bottom-left"],r:["-top-right","-bottom-right"],t:["-top-left","-top-right"],b:["-bottom-left","-bottom-right"],tl:["-top-left"],lt:["-top-left"],tr:["-top-right"],rt:["-top-right"],bl:["-bottom-left"],lb:["-bottom-left"],br:["-bottom-right"],rb:["-bottom-right"],"":[""],bs:["-start-start","-start-end"],be:["-end-start","-end-end"],s:["-end-start","-start-start"],is:["-end-start","-start-start"],e:["-start-end","-end-end"],ie:["-start-end","-end-end"],ss:["-start-start"],"bs-is":["-start-start"],"is-bs":["-start-start"],se:["-start-end"],"bs-ie":["-start-end"],"ie-bs":["-start-end"],es:["-end-start"],"be-is":["-end-start"],"is-be":["-end-start"],ee:["-end-end"],"be-ie":["-end-end"],"ie-be":["-end-end"]},me={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},he=["x","y","z"],po=["top","top center","top left","top right","bottom","bottom center","bottom left","bottom right","left","left center","left top","left bottom","right","right center","right top","right bottom","center","center top","center bottom","center left","center right","center center"],N=Object.assign({},...po.map(t=>({[t.replace(/ /,"-")]:t})),...po.map(t=>({[t.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:t}))),M=["inherit","initial","revert","revert-layer","unset"],Ct=/^(calc|clamp|min|max)\s*\((.+)\)(.*)/,Ut=/^(var)\s*\((.+)\)(.*)/,ge=/^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i,bo=/^(-?\d*(?:\.\d+)?)$/,yo=/^(px|[sld]?v[wh])$/i,xo={px:1,vw:100,vh:100,svw:100,svh:100,dvw:100,dvh:100,lvh:100,lvw:100},vo=/^\[(color|image|length|size|position|quoted|string):/i,Da=/,(?![^()]*\))/g,be=se({auto:()=>qa,bracket:()=>Ja,bracketOfColor:()=>Qa,bracketOfLength:()=>ts,bracketOfPosition:()=>es,cssvar:()=>rs,degree:()=>os,fraction:()=>Za,global:()=>is,number:()=>Xa,numberWithUnit:()=>Ga,percent:()=>Ka,position:()=>ss,properties:()=>as,px:()=>Ya,rem:()=>Ha,time:()=>ns}),Va=["color","border-color","background-color","outline-color","text-decoration-color","flex-grow","flex","flex-shrink","caret-color","font","gap","opacity","visibility","z-index","font-weight","zoom","text-shadow","transform","box-shadow","border","background-position","left","right","top","bottom","object-position","max-height","min-height","max-width","min-width","height","width","border-width","margin","padding","outline-width","outline-offset","font-size","line-height","text-indent","vertical-align","border-spacing","letter-spacing","word-spacing","stroke","filter","backdrop-filter","fill","mask","mask-size","mask-border","clip-path","clip","border-radius"];function q(t){return+t.toFixed(10)}function Ga(t){let e=t.match(ge);if(!e)return;let[,r,n]=e,o=Number.parseFloat(r);if(n&&!Number.isNaN(o))return`${q(o)}${n}`}function qa(t){if(t==="auto"||t==="a")return"auto"}function Ha(t){if(!t)return;if(yo.test(t))return`${xo[t]}${t}`;let e=t.match(ge);if(!e)return;let[,r,n]=e,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0":n?`${q(o)}${n}`:`${q(o/4)}rem`}function Ya(t){if(yo.test(t))return`${xo[t]}${t}`;let e=t.match(ge);if(!e)return;let[,r,n]=e,o=Number.parseFloat(r);if(!Number.isNaN(o))return n?`${q(o)}${n}`:`${q(o)}px`}function Xa(t){if(!bo.test(t))return;let e=Number.parseFloat(t);if(!Number.isNaN(e))return q(e)}function Ka(t){if(t.endsWith("%")&&(t=t.slice(0,-1)),!bo.test(t))return;let e=Number.parseFloat(t);if(!Number.isNaN(e))return`${q(e/100)}`}function Za(t){if(!t)return;if(t==="full")return"100%";let[e,r]=t.split("/"),n=Number.parseFloat(e)/Number.parseFloat(r);if(!Number.isNaN(n))return n===0?"0":`${q(n*100)}%`}function ye(t,e){if(t&&t.startsWith("[")&&t.endsWith("]")){let r,n,o=t.match(vo);if(o?(e||(n=o[1]),r=t.slice(o[0].length,-1)):r=t.slice(1,-1),!r||r==='=""')return;r.startsWith("--")&&(r=`var(${r})`);let i=0;for(let a of r)if(a==="[")i+=1;else if(a==="]"&&(i-=1,i<0))return;if(i)return;switch(n){case"string":return r.replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_");case"quoted":return r.replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_").replace(/(["\\])/g,"\\$1").replace(/^(.+)$/,'"$1"')}return r.replace(/(url\(.*?\))/g,a=>a.replace(/_/g,"\\_")).replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_").replace(/(?:calc|clamp|max|min)\((.*)/g,a=>{let s=[];return a.replace(/var\((--.+?)[,)]/g,(c,l)=>(s.push(l),c.replace(l,"--un-calc"))).replace(/(-?\d*\.?\d(?!-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 ").replace(/--un-calc/g,()=>s.shift())})}}function Ja(t){return ye(t)}function Qa(t){return ye(t,"color")}function ts(t){return ye(t,"length")}function es(t){return ye(t,"position")}function rs(t){if(/^\$[^\s'"`;{}]/.test(t)){let[e,r]=t.slice(1).split(",");return`var(--${Z(e)}${r?`, ${r}`:""})`}}function ns(t){let e=t.match(/^(-?[0-9.]+)(s|ms)?$/i);if(!e)return;let[,r,n]=e,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0&&!n?"0s":n?`${q(o)}${n}`:`${q(o)}ms`}function os(t){let e=t.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);if(!e)return;let[,r,n]=e,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0deg":n?`${q(o)}${n}`:`${q(o)}deg`}function is(t){if(M.includes(t))return t}function as(t){if(t.split(",").every(e=>Va.includes(e)))return t}function ss(t){if(["top","left","right","bottom","center"].includes(t))return t}var xe=Gr(be),f=xe,Dt="$$mini-no-negative";function O(t){return([e,r,n],{theme:o})=>{let i=o.spacing?.[n||"DEFAULT"]??f.bracket.cssvar.global.auto.fraction.rem(n);if(i!=null)return U[r].map(a=>[`${t}${a}`,i]);if(n?.startsWith("-")){let a=o.spacing?.[n.slice(1)];if(a!=null)return U[r].map(s=>[`${t}${s}`,`calc(${a} * -1)`])}}}function mo(t,e,r="colors"){let n=t[r];function o(i,a){if(a.length===0)return i;if(!(!i||typeof i!="object"))for(let s=a.length;s>0;s--){let c=a.slice(0,s).join("-"),l=i[c.replace(/(-[a-z])/g,u=>u.slice(1).toUpperCase())]??i[c];if(l!=null)return s===a.length?l:o(l,a.slice(s))}}return o(n,e)}function ho(t,e,r){return mo(t,e,r)||mo(t,e,"colors")}function Mt(t,e){let[r,n]=$t(t,"[","]",["/",":"])??[];if(r!=null){let o=(r.match(vo)??[])[1];if(o==null||o===e)return[r,n]}}function nt(t,e,r){let n=Mt(t,"color");if(!n)return;let[o,i]=n,a=o.replace(/([a-z])(\d)/g,"$1-$2").split(/-/g),[s]=a;if(!s)return;let c,l=f.bracketOfColor(o),u=l||o;if(f.numberWithUnit(u))return;if(/^#[\da-f]+$/i.test(u)?c=u:/^hex-[\da-fA-F]+$/.test(u)?c=`#${u.slice(4)}`:o.startsWith("$")&&(c=f.cssvar(o)),c=c||l,!c){let p=ho(e,[o],r);typeof p=="string"&&(c=p)}let d="DEFAULT";if(!c){let p=a,h,[m]=a.slice(-1);/^\d+$/.test(m)&&(d=h=m,p=a.slice(0,-1));let x=ho(e,p,r);typeof x=="object"?c=x[h??d]:typeof x=="string"&&!h&&(c=x)}return{opacity:i,name:s,no:d,color:c,cssColor:J(c),alpha:f.bracket.cssvar.percent(i??"")}}function B(t,e,r,n){return([,o],{theme:i,generator:a})=>{let s=nt(o??"",i,r);if(!s)return;let{alpha:c,color:l,cssColor:u}=s,d=a.config.envMode==="dev"&&l?` /* ${l} */`:"",p={};if(u)if(c!=null)p[t]=W(u,c)+d;else{let h=`--un-${e}-opacity`,m=W(u,`var(${h})`);m.includes(h)&&(p[h]=mt(u)),p[t]=m+d}else if(l)if(c!=null)p[t]=W(l,c)+d;else{let h=`--un-${e}-opacity`,m=W(l,`var(${h})`);m.includes(h)&&(p[h]=1),p[t]=m+d}if(n?.(p)!==!1)return p}}function ht(t,e){let r=[];t=j(t);for(let n=0;n<t.length;n++){let o=_t(t[n]," ",6);if(!o||o.length<3)return t;let i=!1,a=o.indexOf("inset");a!==-1&&(o.splice(a,1),i=!0);let s="",c=o.at(-1);if(J(o.at(0))){let l=J(o.shift());l&&(s=`, ${W(l)}`)}else if(J(c)){let l=J(o.pop());l&&(s=`, ${W(l)}`)}else c&&c.startsWith("var(")&&(s=`, ${o.pop()}`);r.push(`${i?"inset ":""}${o.join(" ")} var(${e}${s})`)}return r}function gt(t,e,r){return t!=null&&!!nt(t,e,r)?.color}var go=/[a-z]+/gi,tn=new WeakMap;function Q({theme:t,generator:e},r="breakpoints"){let n=e?.userConfig?.theme?.[r]||t[r];if(!n)return;if(tn.has(t))return tn.get(t);let o=Object.entries(n).sort((i,a)=>Number.parseInt(i[1].replace(go,""))-Number.parseInt(a[1].replace(go,""))).map(([i,a])=>({point:i,size:a}));return tn.set(t,o),o}function en(t){return Q(t,"verticalBreakpoints")}function S(t,e){return M.map(r=>[`${t}-${r}`,{[e??t]:r}])}function ot(t){return t!=null&&Ct.test(t)}function Vt(t){return t[0]==="["&&t.slice(-1)==="]"&&(t=t.slice(1,-1)),Ct.test(t)||ge.test(t)}function Et(t,e,r){let n=e.split(Da);return t||!t&&n.length===1?me[t].map(o=>[`--un-${r}${o}`,e]):n.map((o,i)=>[`--un-${r}-${he[i]}`,o])}var lt=se({CONTROL_MINI_NO_NEGATIVE:()=>Dt,colorResolver:()=>B,colorableShadows:()=>ht,cornerMap:()=>Rt,cssMathFnRE:()=>Ct,cssVarFnRE:()=>Ut,directionMap:()=>U,directionSize:()=>O,globalKeywords:()=>M,h:()=>f,handler:()=>xe,hasParseableColor:()=>gt,insetMap:()=>At,isCSSMathFn:()=>ot,isSize:()=>Vt,makeGlobalStaticRules:()=>S,parseColor:()=>nt,positionMap:()=>N,resolveBreakpoints:()=>Q,resolveVerticalBreakpoints:()=>en,splitShorthand:()=>Mt,transformXYZ:()=>Et,valueHandlers:()=>be,xyzArray:()=>he,xyzMap:()=>me});Tr(lt,Qr);var R=se({CONTROL_MINI_NO_NEGATIVE:()=>Dt,colorResolver:()=>B,colorableShadows:()=>ht,cornerMap:()=>Rt,cssMathFnRE:()=>Ct,cssVarFnRE:()=>Ut,directionMap:()=>U,directionSize:()=>O,globalKeywords:()=>M,h:()=>f,handler:()=>xe,hasParseableColor:()=>gt,insetMap:()=>At,isCSSMathFn:()=>ot,isSize:()=>Vt,makeGlobalStaticRules:()=>S,parseColor:()=>nt,positionMap:()=>N,resolveBreakpoints:()=>Q,resolveVerticalBreakpoints:()=>en,splitShorthand:()=>Mt,transformXYZ:()=>Et,valueHandlers:()=>be,xyzArray:()=>he,xyzMap:()=>me});Tr(R,lt);var cs=/@media \(min-width: (.+)\)/,$o=[[/^__container$/,(t,e)=>{let{theme:r,variantHandlers:n}=e,o=r.container?.padding,i;F(o)?i=o:i=o?.DEFAULT;let a=r.container?.maxWidth,s;for(let l of n){let u=l.handle?.({},d=>d)?.parent;if(F(u)){let d=u.match(cs)?.[1];if(d){let p=(Q(e)??[]).find(h=>h.size===d)?.point;a?p&&(s=a?.[p]):s=d,p&&!F(o)&&(i=o?.[p]??i)}}}let c={"max-width":s};return n.length||(c.width="100%"),r.container?.center&&(c["margin-left"]="auto",c["margin-right"]="auto"),o&&(c["padding-left"]=i,c["padding-right"]=i),c},{internal:!0}]],rn=[[/^(?:(\w+)[:-])?container$/,([,t],e)=>{let r=(Q(e)??[]).map(o=>o.point);if(t){if(!r.includes(t))return;r=r.slice(r.indexOf(t))}let n=r.map(o=>`${o}:__container`);return t||n.unshift("__container"),n}]];var wo={mid:"middle",base:"baseline",btm:"bottom",baseline:"baseline",top:"top",start:"top",middle:"middle",bottom:"bottom",end:"bottom","text-top":"text-top","text-bottom":"text-bottom",sub:"sub",super:"super",...Object.fromEntries(M.map(t=>[t,t]))},ke=[[/^(?:vertical|align|v)-(.+)$/,([,t])=>({"vertical-align":wo[t]??f.bracket.cssvar.numberWithUnit(t)}),{autocomplete:[`(vertical|align|v)-(${Object.keys(wo).join("|")})`,"(vertical|align|v)-<percentage>"]}]],ko=["center","left","right","justify","start","end"],Se=[...ko.map(t=>[`text-${t}`,{"text-align":t}]),...[...M,...ko].map(t=>[`text-align-${t}`,{"text-align":t}])],Ce=[[/^outline-(?:width-|size-)?(.+)$/,Mo,{autocomplete:"outline-(width|size)-<num>"}],[/^outline-(?:color-)?(.+)$/,ls,{autocomplete:"outline-$colors"}],[/^outline-offset-(.+)$/,([,t],{theme:e})=>({"outline-offset":e.lineWidth?.[t]??f.bracket.cssvar.global.px(t)}),{autocomplete:"outline-(offset)-<num>"}],["outline",{"outline-style":"solid"}],...["auto","dashed","dotted","double","hidden","solid","groove","ridge","inset","outset",...M].map(t=>[`outline-${t}`,{"outline-style":t}]),["outline-none",{outline:"2px solid transparent","outline-offset":"2px"}]];function Mo([,t],{theme:e}){return{"outline-width":e.lineWidth?.[t]??f.bracket.cssvar.global.px(t)}}function ls(t,e){return ot(f.bracket(t[1]))?Mo(t,e):B("outline-color","outline-color","borderColor")(t,e)}var Ee=[["appearance-auto",{"-webkit-appearance":"auto",appearance:"auto"}],["appearance-none",{"-webkit-appearance":"none",appearance:"none"}]];function fs(t){return f.properties.auto.global(t)??{contents:"contents",scroll:"scroll-position"}[t]}var ze=[[/^will-change-(.+)/,([,t])=>({"will-change":fs(t)})]],bt=["solid","dashed","dotted","double","hidden","none","groove","ridge","inset","outset",...M],je=[[/^(?:border|b)()(?:-(.+))?$/,tt,{autocomplete:"(border|b)-<directions>"}],[/^(?:border|b)-([xy])(?:-(.+))?$/,tt],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,tt],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,tt],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,tt],[/^(?:border|b)-()(?:width|size)-(.+)$/,tt,{autocomplete:["(border|b)-<num>","(border|b)-<directions>-<num>"]}],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,tt],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,tt],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,tt],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,tt],[/^(?:border|b)-()(?:color-)?(.+)$/,Gt,{autocomplete:["(border|b)-$colors","(border|b)-<directions>-$colors"]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,Gt],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,Gt],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,Gt],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,Gt],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,qt,{autocomplete:"(border|b)-(op|opacity)-<percent>"}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,qt],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,qt],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,qt],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,qt],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,Ht,{autocomplete:["(border|b)-(rounded|rd)","(border|b)-(rounded|rd)-$borderRadius","(rounded|rd)","(rounded|rd)-$borderRadius"]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltbse])(?:-(.+))?$/,Ht],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,Ht],[/^(?:border-|b-)?(?:rounded|rd)-([bise][se])(?:-(.+))?$/,Ht],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,Ht],[/^(?:border|b)-(?:style-)?()(.+)$/,Ot,{autocomplete:["(border|b)-style",`(border|b)-(${bt.join("|")})`,"(border|b)-<directions>-style",`(border|b)-<directions>-(${bt.join("|")})`,`(border|b)-<directions>-style-(${bt.join("|")})`,`(border|b)-style-(${bt.join("|")})`]}],[/^(?:border|b)-([xy])-(?:style-)?(.+)$/,Ot],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,Ot],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,Ot],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,Ot]];function So(t,e,r){if(e!=null)return{[`border${r}-color`]:W(t,e)};if(r===""){let n={},o="--un-border-opacity",i=W(t,`var(${o})`);return i.includes(o)&&(n[o]=typeof t=="string"?1:mt(t)),n["border-color"]=i,n}else{let n={},o="--un-border-opacity",i=`--un-border${r}-opacity`,a=W(t,`var(${i})`);return a.includes(i)&&(n[o]=typeof t=="string"?1:mt(t),n[i]=`var(${o})`),n[`border${r}-color`]=a,n}}function us(t){return([,e],r)=>{let n=nt(e,r,"borderColor");if(!n)return;let{alpha:o,color:i,cssColor:a}=n;if(a)return So(a,o,t);if(i)return So(i,o,t)}}function tt([,t="",e],{theme:r}){let n=r.lineWidth?.[e||"DEFAULT"]??f.bracket.cssvar.global.px(e||"1");if(t in U&&n!=null)return U[t].map(o=>[`border${o}-width`,n])}function Gt([,t="",e],r){if(t in U){if(ot(f.bracket(e)))return tt(["",t,e],r);if(gt(e,r.theme,"borderColor"))return Object.assign({},...U[t].map(n=>us(n)(["",e],r.theme)))}}function qt([,t="",e]){let r=f.bracket.percent.cssvar(e);if(t in U&&r!=null)return U[t].map(n=>[`--un-border${n}-opacity`,r])}function Ht([,t="",e],{theme:r}){let n=r.borderRadius?.[e||"DEFAULT"]||f.bracket.cssvar.global.fraction.rem(e||"1");if(t in Rt&&n!=null)return Rt[t].map(o=>[`border${o}-radius`,n])}function Ot([,t="",e]){if(bt.includes(e)&&t in U)return U[t].map(r=>[`border${r}-style`,e])}var _e=[[/^op(?:acity)?-?(.+)$/,([,t])=>({opacity:f.bracket.percent.cssvar(t)})]],ds=/^\[url\(.+\)\]$/,ps=/^\[(?:length|size):.+\]$/,ms=/^\[position:.+\]$/,hs=/^\[(?:linear|conic|radial)-gradient\(.+\)\]$/,gs=/^\[image:.+\]$/,Ae=[[/^bg-(.+)$/,(...t)=>{let e=t[0][1];if(ds.test(e))return{"--un-url":f.bracket(e),"background-image":"var(--un-url)"};if(ps.test(e)&&f.bracketOfLength(e)!=null)return{"background-size":f.bracketOfLength(e).split(" ").map(r=>f.fraction.auto.px.cssvar(r)??r).join(" ")};if((Vt(e)||ms.test(e))&&f.bracketOfPosition(e)!=null)return{"background-position":f.bracketOfPosition(e).split(" ").map(r=>f.position.fraction.auto.px.cssvar(r)??r).join(" ")};if(hs.test(e)||gs.test(e)){let r=f.bracket(e);if(r)return{"background-image":(r.startsWith("http")?`url(${r})`:f.cssvar(r))??r}}return B("background-color","bg","backgroundColor")(...t)},{autocomplete:"bg-$colors"}],[/^bg-op(?:acity)?-?(.+)$/,([,t])=>({"--un-bg-opacity":f.bracket.percent.cssvar(t)}),{autocomplete:"bg-(op|opacity)-<percent>"}]],Re=[[/^color-scheme-(\w+)$/,([,t])=>({"color-scheme":t})]],Me=[[/^@container(?:\/(\w+))?(?:-(normal|inline-size|size))?$/,([,t,e])=>({"container-type":e??"inline-size","container-name":t})]],Co=["solid","double","dotted","dashed","wavy",...M],Oe=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,t])=>({"text-decoration-line":t}),{autocomplete:"decoration-(underline|overline|line-through)"}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,Oo,{autocomplete:"(underline|decoration)-<num>"}],[/^(?:underline|decoration)-(auto|from-font)$/,([,t])=>({"text-decoration-thickness":t}),{autocomplete:"(underline|decoration)-(auto|from-font)"}],[/^(?:underline|decoration)-(.+)$/,bs,{autocomplete:"(underline|decoration)-$colors"}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,t])=>({"--un-line-opacity":f.bracket.percent.cssvar(t)}),{autocomplete:"(underline|decoration)-(op|opacity)-<percent>"}],[/^(?:underline|decoration)-offset-(.+)$/,([,t],{theme:e})=>({"text-underline-offset":e.lineWidth?.[t]??f.auto.bracket.cssvar.global.px(t)}),{autocomplete:"(underline|decoration)-(offset)-<num>"}],...Co.map(t=>[`underline-${t}`,{"text-decoration-style":t}]),...Co.map(t=>[`decoration-${t}`,{"text-decoration-style":t}]),["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];function Oo([,t],{theme:e}){return{"text-decoration-thickness":e.lineWidth?.[t]??f.bracket.cssvar.global.px(t)}}function bs(t,e){if(ot(f.bracket(t[1])))return Oo(t,e);let r=B("text-decoration-color","line","borderColor")(t,e);if(r)return{"-webkit-text-decoration-color":r["text-decoration-color"],...r}}var Pe=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],[/^flex-(.*)$/,([,t])=>({flex:f.bracket(t)!=null?f.bracket(t).split(" ").map(e=>f.cssvar.fraction(e)??e).join(" "):f.cssvar.fraction(t)})],["flex-1",{flex:"1 1 0%"}],["flex-auto",{flex:"1 1 auto"}],["flex-initial",{flex:"0 1 auto"}],["flex-none",{flex:"none"}],[/^(?:flex-)?shrink(?:-(.*))?$/,([,t=""])=>({"flex-shrink":f.bracket.cssvar.number(t)??1}),{autocomplete:["flex-shrink-<num>","shrink-<num>"]}],[/^(?:flex-)?grow(?:-(.*))?$/,([,t=""])=>({"flex-grow":f.bracket.cssvar.number(t)??1}),{autocomplete:["flex-grow-<num>","grow-<num>"]}],[/^(?:flex-)?basis-(.+)$/,([,t],{theme:e})=>({"flex-basis":e.spacing?.[t]??f.bracket.cssvar.auto.fraction.rem(t)}),{autocomplete:["flex-basis-$spacing","basis-$spacing"]}],["flex-row",{"flex-direction":"row"}],["flex-row-reverse",{"flex-direction":"row-reverse"}],["flex-col",{"flex-direction":"column"}],["flex-col-reverse",{"flex-direction":"column-reverse"}],["flex-wrap",{"flex-wrap":"wrap"}],["flex-wrap-reverse",{"flex-wrap":"wrap-reverse"}],["flex-nowrap",{"flex-wrap":"nowrap"}]],ys={"":"",x:"column-",y:"row-",col:"column-",row:"row-"};function nn([,t="",e],{theme:r}){let n=r.spacing?.[e]??f.bracket.cssvar.global.rem(e);if(n!=null)return{[`${ys[t]}gap`]:n}}var Le=[[/^(?:flex-|grid-)?gap-?()(.+)$/,nn,{autocomplete:["gap-$spacing","gap-<num>"]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,nn,{autocomplete:["gap-(x|y)-$spacing","gap-(x|y)-<num>"]}],[/^(?:flex-|grid-)?gap-(col|row)-?(.+)$/,nn,{autocomplete:["gap-(col|row)-$spacing","gap-(col|row)-<num>"]}]];function it(t){return t.replace("col","column")}function on(t){return t[0]==="r"?"Row":"Column"}function xs(t,e,r){let n=e[`gridAuto${on(t)}`]?.[r];if(n!=null)return n;switch(r){case"min":return"min-content";case"max":return"max-content";case"fr":return"minmax(0,1fr)"}return f.bracket.cssvar.auto.rem(r)}var Fe=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,t,e],{theme:r})=>({[`grid-${it(t)}`]:r[`grid${on(t)}`]?.[e]??f.bracket.cssvar.auto(e)})],[/^(?:grid-)?(row|col)-span-(.+)$/,([,t,e])=>{if(e==="full")return{[`grid-${it(t)}`]:"1/-1"};let r=f.bracket.number(e);if(r!=null)return{[`grid-${it(t)}`]:`span ${r}/span ${r}`}},{autocomplete:"(grid-row|grid-col|row|col)-span-<num>"}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,t,e])=>({[`grid-${it(t)}-start`]:f.bracket.cssvar(e)??e})],[/^(?:grid-)?(row|col)-end-(.+)$/,([,t,e])=>({[`grid-${it(t)}-end`]:f.bracket.cssvar(e)??e}),{autocomplete:"(grid-row|grid-col|row|col)-(start|end)-<num>"}],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,t,e],{theme:r})=>({[`grid-auto-${it(t)}`]:xs(t,r,e)}),{autocomplete:"(grid-auto|auto)-(rows|cols)-<num>"}],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,t])=>({"grid-auto-flow":f.bracket.cssvar(t)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)$/,([,t])=>({"grid-auto-flow":it(t).replace("-"," ")}),{autocomplete:["(grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)"]}],[/^(?:grid-)?(rows|cols)-(.+)$/,([,t,e],{theme:r})=>({[`grid-template-${it(t)}`]:r[`gridTemplate${on(t)}`]?.[e]??f.bracket.cssvar(e)})],[/^(?:grid-)?(rows|cols)-minmax-([\w.-]+)$/,([,t,e])=>({[`grid-template-${it(t)}`]:`repeat(auto-fill,minmax(${e},1fr))`})],[/^(?:grid-)?(rows|cols)-(\d+)$/,([,t,e])=>({[`grid-template-${it(t)}`]:`repeat(${e},minmax(0,1fr))`}),{autocomplete:"(grid-rows|grid-cols|rows|cols)-<num>"}],[/^grid-area(s)?-(.+)$/,([,t,e])=>t!=null?{"grid-template-areas":f.cssvar(e)??e.split("-").map(r=>`"${f.bracket(r)}"`).join(" ")}:{"grid-area":f.bracket.cssvar(e)}],["grid-rows-none",{"grid-template-rows":"none"}],["grid-cols-none",{"grid-template-columns":"none"}],["grid-rows-subgrid",{"grid-template-rows":"subgrid"}],["grid-cols-subgrid",{"grid-template-columns":"subgrid"}]],ve=["auto","hidden","clip","visible","scroll","overlay",...M],Be=[[/^(?:overflow|of)-(.+)$/,([,t])=>ve.includes(t)?{overflow:t}:void 0,{autocomplete:[`(overflow|of)-(${ve.join("|")})`,`(overflow|of)-(x|y)-(${ve.join("|")})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,t,e])=>ve.includes(e)?{[`overflow-${t}`]:e}:void 0]],Te=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,t])=>({position:t}),{autocomplete:["(position|pos)-<position>","(position|pos)-<globalKeyword>","<position>"]}],[/^(?:position-|pos-)([-\w]+)$/,([,t])=>M.includes(t)?{position:t}:void 0],[/^(?:position-|pos-)?(static)$/,([,t])=>({position:t})]],Xt=[["justify-start",{"justify-content":"flex-start"}],["justify-end",{"justify-content":"flex-end"}],["justify-center",{"justify-content":"center"}],["justify-between",{"justify-content":"space-between"}],["justify-around",{"justify-content":"space-around"}],["justify-evenly",{"justify-content":"space-evenly"}],["justify-stretch",{"justify-content":"stretch"}],["justify-left",{"justify-content":"left"}],["justify-right",{"justify-content":"right"}],["justify-center-safe",{"justify-content":"safe center"}],["justify-end-safe",{"justify-content":"safe flex-end"}],["justify-normal",{"justify-content":"normal"}],...S("justify","justify-content"),["justify-items-start",{"justify-items":"start"}],["justify-items-end",{"justify-items":"end"}],["justify-items-center",{"justify-items":"center"}],["justify-items-stretch",{"justify-items":"stretch"}],["justify-items-center-safe",{"justify-items":"safe center"}],["justify-items-end-safe",{"justify-items":"safe flex-end"}],...S("justify-items"),["justify-self-auto",{"justify-self":"auto"}],["justify-self-start",{"justify-self":"start"}],["justify-self-end",{"justify-self":"end"}],["justify-self-center",{"justify-self":"center"}],["justify-self-stretch",{"justify-self":"stretch"}],["justify-self-baseline",{"justify-self":"baseline"}],["justify-self-center-safe",{"justify-self":"safe center"}],["justify-self-end-safe",{"justify-self":"safe flex-end"}],...S("justify-self")],We=[[/^order-(.+)$/,([,t])=>({order:f.bracket.cssvar.number(t)})],["order-first",{order:"-9999"}],["order-last",{order:"9999"}],["order-none",{order:"0"}]],Kt=[["content-center",{"align-content":"center"}],["content-start",{"align-content":"flex-start"}],["content-end",{"align-content":"flex-end"}],["content-between",{"align-content":"space-between"}],["content-around",{"align-content":"space-around"}],["content-evenly",{"align-content":"space-evenly"}],["content-baseline",{"align-content":"baseline"}],["content-center-safe",{"align-content":"safe center"}],["content-end-safe",{"align-content":"safe flex-end"}],["content-stretch",{"align-content":"stretch"}],["content-normal",{"align-content":"normal"}],...S("content","align-content"),["items-start",{"align-items":"flex-start"}],["items-end",{"align-items":"flex-end"}],["items-center",{"align-items":"center"}],["items-baseline",{"align-items":"baseline"}],["items-stretch",{"align-items":"stretch"}],["items-baseline-last",{"align-items":"last baseline"}],["items-center-safe",{"align-items":"safe center"}],["items-end-safe",{"align-items":"safe flex-end"}],...S("items","align-items"),["self-auto",{"align-self":"auto"}],["self-start",{"align-self":"flex-start"}],["self-end",{"align-self":"flex-end"}],["self-center",{"align-self":"center"}],["self-stretch",{"align-self":"stretch"}],["self-baseline",{"align-self":"baseline"}],["self-baseline-last",{"align-self":"last baseline"}],["self-center-safe",{"align-self":"safe center"}],["self-end-safe",{"align-self":"safe flex-end"}],...S("self","align-self")],Zt=[["place-content-center",{"place-content":"center"}],["place-content-start",{"place-content":"start"}],["place-content-end",{"place-content":"end"}],["place-content-between",{"place-content":"space-between"}],["place-content-around",{"place-content":"space-around"}],["place-content-evenly",{"place-content":"space-evenly"}],["place-content-stretch",{"place-content":"stretch"}],["place-content-baseline",{"place-content":"baseline"}],["place-content-center-safe",{"place-content":"safe center"}],["place-content-end-safe",{"place-content":"safe flex-end"}],...S("place-content"),["place-items-start",{"place-items":"start"}],["place-items-end",{"place-items":"end"}],["place-items-center",{"place-items":"center"}],["place-items-stretch",{"place-items":"stretch"}],["place-items-baseline",{"place-items":"baseline"}],["place-items-center-safe",{"place-items":"safe center"}],["place-items-end-safe",{"place-items":"safe flex-end"}],...S("place-items"),["place-self-auto",{"place-self":"auto"}],["place-self-start",{"place-self":"start"}],["place-self-end",{"place-self":"end"}],["place-self-center",{"place-self":"center"}],["place-self-stretch",{"place-self":"stretch"}],["place-self-center-safe",{"place-self":"safe center"}],["place-self-end-safe",{"place-self":"safe flex-end"}],...S("place-self")],Ne=[...Xt,...Kt,...Zt].flatMap(([t,e])=>[[`flex-${t}`,e],[`grid-${t}`,e]]);function an(t,{theme:e}){return e.spacing?.[t]??f.bracket.cssvar.global.auto.fraction.rem(t)}function Yt([,t,e],r){let n=an(e,r);if(n!=null&&t in At)return At[t].map(o=>[o.slice(1),n])}var Ie=[[/^(?:position-|pos-)?inset-(.+)$/,([,t],e)=>({inset:an(t,e)}),{autocomplete:["(position|pos)-inset-<directions>-$spacing","(position|pos)-inset-(block|inline)-$spacing","(position|pos)-inset-(bs|be|is|ie)-$spacing","(position|pos)-(top|left|right|bottom)-$spacing"]}],[/^(?:position-|pos-)?(start|end)-(.+)$/,Yt],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,Yt],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,Yt],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,Yt],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,Yt],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,t,e],r)=>({[t]:an(e,r)})]],Ue=[["float-left",{float:"left"}],["float-right",{float:"right"}],["float-start",{float:"inline-start"}],["float-end",{float:"inline-end"}],["float-none",{float:"none"}],...S("float"),["clear-left",{clear:"left"}],["clear-right",{clear:"right"}],["clear-both",{clear:"both"}],["clear-start",{clear:"inline-start"}],["clear-end",{clear:"inline-end"}],["clear-none",{clear:"none"}],...S("clear")],De=[[/^(?:position-|pos-)?z([\d.]+)$/,([,t])=>({"z-index":f.number(t)})],[/^(?:position-|pos-)?z-(.+)$/,([,t],{theme:e})=>({"z-index":e.zIndex?.[t]??f.bracket.cssvar.global.auto.number(t)}),{autocomplete:"z-<num>"}]],Ve=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}],...S("box","box-sizing")],Ge=[[/^(where|\?)$/,(t,{constructCSS:e,generator:r})=>{if(r.userConfig.envMode==="dev")return`@keyframes __un_qm{0%{box-shadow:inset 4px 4px #ff1e90, inset -4px -4px #ff1e90}100%{box-shadow:inset 8px 8px #3399ff, inset -8px -8px #3399ff}} ${e({animation:"__un_qm 0.5s ease-in-out alternate infinite"})}`}]],vs=["auto","default","none","context-menu","help","pointer","progress","wait","cell","crosshair","text","vertical-text","alias","copy","move","no-drop","not-allowed","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out"],$s=["none","strict","content","size","inline-size","layout","style","paint"],A=" ",qe=[["inline",{display:"inline"}],["block",{display:"block"}],["inline-block",{display:"inline-block"}],["contents",{display:"contents"}],["flow-root",{display:"flow-root"}],["list-item",{display:"list-item"}],["hidden",{display:"none"}],[/^display-(.+)$/,([,t])=>({display:f.bracket.cssvar.global(t)})]],He=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}],...S("backface","backface-visibility")],Ye=[[/^cursor-(.+)$/,([,t])=>({cursor:f.bracket.cssvar.global(t)})],...vs.map(t=>[`cursor-${t}`,{cursor:t}])],Xe=[[/^contain-(.*)$/,([,t])=>f.bracket(t)!=null?{contain:f.bracket(t).split(" ").map(e=>f.cssvar.fraction(e)??e).join(" ")}:$s.includes(t)?{contain:t}:void 0]],Ke=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}],...S("pointer-events")],Ze=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}],...S("resize")],Je=[["select-auto",{"-webkit-user-select":"auto","user-select":"auto"}],["select-all",{"-webkit-user-select":"all","user-select":"all"}],["select-text",{"-webkit-user-select":"text","user-select":"text"}],["select-none",{"-webkit-user-select":"none","user-select":"none"}],...S("select","user-select")],Qe=[[/^(?:whitespace-|ws-)([-\w]+)$/,([,t])=>["normal","nowrap","pre","pre-line","pre-wrap","break-spaces",...M].includes(t)?{"white-space":t}:void 0,{autocomplete:"(whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)"}]],tr=[[/^intrinsic(?:-(block|inline|w|h))?(?:-size)?-(.+)$/,([,t,e])=>({[`contain-intrinsic-${{block:"block-size",inline:"inline-size",w:"width",h:"height"}[t]??"size"}`]:f.bracket.cssvar.global.fraction.rem(e)}),{autocomplete:["intrinsic-size-<num>","intrinsic-<num>","intrinsic-(block|inline|w|h)-<num>"]}],["content-visibility-visible",{"content-visibility":"visible"}],["content-visibility-hidden",{"content-visibility":"hidden"}],["content-visibility-auto",{"content-visibility":"auto"}],...S("content-visibility")],er=[[/^content-(.+)$/,([,t])=>({content:f.bracket.cssvar(t)})],["content-empty",{content:'""'}],["content-none",{content:"none"}]],rr=[["break-normal",{"overflow-wrap":"normal","word-break":"normal"}],["break-words",{"overflow-wrap":"break-word"}],["break-all",{"word-break":"break-all"}],["break-keep",{"word-break":"keep-all"}],["break-anywhere",{"overflow-wrap":"anywhere"}]],nr=[["text-wrap",{"text-wrap":"wrap"}],["text-nowrap",{"text-wrap":"nowrap"}],["text-balance",{"text-wrap":"balance"}],["text-pretty",{"text-wrap":"pretty"}]],or=[["truncate",{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}],["text-truncate",{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}],["text-ellipsis",{"text-overflow":"ellipsis"}],["text-clip",{"text-overflow":"clip"}]],ir=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}],...S("case","text-transform")],ar=[["italic",{"font-style":"italic"}],["not-italic",{"font-style":"normal"}],["font-italic",{"font-style":"italic"}],["font-not-italic",{"font-style":"normal"}],["oblique",{"font-style":"oblique"}],["not-oblique",{"font-style":"normal"}],["font-oblique",{"font-style":"oblique"}],["font-not-oblique",{"font-style":"normal"}]],sr=[["antialiased",{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"}],["subpixel-antialiased",{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"}]],cr=[["field-sizing-fixed",{"field-sizing":"fixed"}],["field-sizing-content",{"field-sizing":"content"}]],Lt={"--un-ring-inset":A,"--un-ring-offset-width":"0px","--un-ring-offset-color":"#fff","--un-ring-width":"0px","--un-ring-color":"rgb(147 197 253 / 0.5)","--un-shadow":"0 0 rgb(0 0 0 / 0)"},ws=Object.keys(Lt),lr=[[/^ring(?:-(.+))?$/,([,t],{theme:e})=>{let r=e.ringWidth?.[t||"DEFAULT"]??f.px(t||"1");if(r)return{"--un-ring-width":r,"--un-ring-offset-shadow":"var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color)","--un-ring-shadow":"var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color)","box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"}},{custom:{preflightKeys:ws},autocomplete:"ring-$ringWidth"}],[/^ring-(?:width-|size-)(.+)$/,Po,{autocomplete:"ring-(width|size)-$lineWidth"}],["ring-offset",{"--un-ring-offset-width":"1px"}],[/^ring-offset-(?:width-|size-)?(.+)$/,([,t],{theme:e})=>({"--un-ring-offset-width":e.lineWidth?.[t]??f.bracket.cssvar.px(t)}),{autocomplete:"ring-offset-(width|size)-$lineWidth"}],[/^ring-(.+)$/,ks,{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,t])=>({"--un-ring-opacity":f.bracket.percent.cssvar(t)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^ring-offset-(.+)$/,B("--un-ring-offset-color","ring-offset","borderColor"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,t])=>({"--un-ring-offset-opacity":f.bracket.percent.cssvar(t)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]];function Po([,t],{theme:e}){return{"--un-ring-width":e.ringWidth?.[t]??f.bracket.cssvar.px(t)}}function ks(t,e){return ot(f.bracket(t[1]))?Po(t,e):B("--un-ring-color","ring","borderColor")(t,e)}var Ft={"--un-ring-offset-shadow":"0 0 rgb(0 0 0 / 0)","--un-ring-shadow":"0 0 rgb(0 0 0 / 0)","--un-shadow-inset":A,"--un-shadow":"0 0 rgb(0 0 0 / 0)"},Ss=Object.keys(Ft),fr=[[/^shadow(?:-(.+))?$/,(t,e)=>{let[,r]=t,{theme:n}=e,o=n.boxShadow?.[r||"DEFAULT"],i=r?f.bracket.cssvar(r):void 0;return(o!=null||i!=null)&&!gt(i,n,"shadowColor")?{"--un-shadow":ht(o||i,"--un-shadow-color").join(","),"box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"}:B("--un-shadow-color","shadow","shadowColor")(t,e)},{custom:{preflightKeys:Ss},autocomplete:["shadow-$colors","shadow-$boxShadow"]}],[/^shadow-op(?:acity)?-?(.+)$/,([,t])=>({"--un-shadow-opacity":f.bracket.percent.cssvar(t)}),{autocomplete:"shadow-(op|opacity)-<percent>"}],["shadow-inset",{"--un-shadow-inset":"inset"}]],Cs={h:"height",w:"width",inline:"inline-size",block:"block-size"};function zt(t,e){return`${t||""}${Cs[e]}`}function $e(t,e,r,n){let o=r[zt(t,e).replace(/-(\w)/g,(i,a)=>a.toUpperCase())]?.[n];if(o!=null)return o;switch(n){case"fit":case"max":case"min":return`${n}-content`;case"stretch":return"stretch"}return f.bracket.cssvar.global.auto.fraction.rem(n)}var ur=[[/^size-(min-|max-)?(.+)$/,([,t,e],{theme:r})=>({[zt(t,"w")]:$e(t,"w",r,e),[zt(t,"h")]:$e(t,"h",r,e)})],[/^(?:size-)?(min-|max-)?([wh])-?(.+)$/,([,t,e,r],{theme:n})=>({[zt(t,e)]:$e(t,e,n,r)})],[/^(?:size-)?(min-|max-)?(block|inline)-(.+)$/,([,t,e,r],{theme:n})=>({[zt(t,e)]:$e(t,e,n,r)}),{autocomplete:["(w|h)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(max|min)-(w|h|block|inline)","(max|min)-(w|h|block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(w|h)-full","(max|min)-(w|h)-full"]}],[/^(?:size-)?(min-|max-)?(h)-screen-(.+)$/,([,t,e,r],n)=>({[zt(t,e)]:Eo(n,r,"verticalBreakpoints")})],[/^(?:size-)?(min-|max-)?(w)-screen-(.+)$/,([,t,e,r],n)=>({[zt(t,e)]:Eo(n,r)}),{autocomplete:["(w|h)-screen","(min|max)-(w|h)-screen","h-screen-$verticalBreakpoints","(min|max)-h-screen-$verticalBreakpoints","w-screen-$breakpoints","(min|max)-w-screen-$breakpoints"]}]];function Eo(t,e,r="breakpoints"){let n=Q(t,r);if(n)return n.find(o=>o.point===e)?.size}function Es(t){if(/^\d+\/\d+$/.test(t))return t;switch(t){case"square":return"1/1";case"video":return"16/9"}return f.bracket.cssvar.global.auto.number(t)}var dr=[[/^(?:size-)?aspect-(?:ratio-)?(.+)$/,([,t])=>({"aspect-ratio":Es(t)}),{autocomplete:["aspect-(square|video|ratio)","aspect-ratio-(square|video)"]}]],pr=[[/^pa?()-?(.+)$/,O("padding"),{autocomplete:["(m|p)<num>","(m|p)-<num>"]}],[/^p-?xy()()$/,O("padding"),{autocomplete:"(m|p)-(xy)"}],[/^p-?([xy])(?:-?(.+))?$/,O("padding")],[/^p-?([rltbse])(?:-?(.+))?$/,O("padding"),{autocomplete:"(m|p)<directions>-<num>"}],[/^p-(block|inline)(?:-(.+))?$/,O("padding"),{autocomplete:"(m|p)-(block|inline)-<num>"}],[/^p-?([bi][se])(?:-?(.+))?$/,O("padding"),{autocomplete:"(m|p)-(bs|be|is|ie)-<num>"}]],mr=[[/^ma?()-?(.+)$/,O("margin")],[/^m-?xy()()$/,O("margin")],[/^m-?([xy])(?:-?(.+))?$/,O("margin")],[/^m-?([rltbse])(?:-?(.+))?$/,O("margin")],[/^m-(block|inline)(?:-(.+))?$/,O("margin")],[/^m-?([bi][se])(?:-?(.+))?$/,O("margin")]],hr=[[/^fill-(.+)$/,B("fill","fill","backgroundColor"),{autocomplete:"fill-$colors"}],[/^fill-op(?:acity)?-?(.+)$/,([,t])=>({"--un-fill-opacity":f.bracket.percent.cssvar(t)}),{autocomplete:"fill-(op|opacity)-<percent>"}],["fill-none",{fill:"none"}],[/^stroke-(?:width-|size-)?(.+)$/,Lo,{autocomplete:["stroke-width-$lineWidth","stroke-size-$lineWidth"]}],[/^stroke-dash-(.+)$/,([,t])=>({"stroke-dasharray":f.bracket.cssvar.number(t)}),{autocomplete:"stroke-dash-<num>"}],[/^stroke-offset-(.+)$/,([,t],{theme:e})=>({"stroke-dashoffset":e.lineWidth?.[t]??f.bracket.cssvar.px.numberWithUnit(t)}),{autocomplete:"stroke-offset-$lineWidth"}],[/^stroke-(.+)$/,zs,{autocomplete:"stroke-$colors"}],[/^stroke-op(?:acity)?-?(.+)$/,([,t])=>({"--un-stroke-opacity":f.bracket.percent.cssvar(t)}),{autocomplete:"stroke-(op|opacity)-<percent>"}],["stroke-cap-square",{"stroke-linecap":"square"}],["stroke-cap-round",{"stroke-linecap":"round"}],["stroke-cap-auto",{"stroke-linecap":"butt"}],["stroke-join-arcs",{"stroke-linejoin":"arcs"}],["stroke-join-bevel",{"stroke-linejoin":"bevel"}],["stroke-join-clip",{"stroke-linejoin":"miter-clip"}],["stroke-join-round",{"stroke-linejoin":"round"}],["stroke-join-auto",{"stroke-linejoin":"miter"}],["stroke-none",{stroke:"none"}]];function Lo([,t],{theme:e}){return{"stroke-width":e.lineWidth?.[t]??f.bracket.cssvar.fraction.px.number(t)}}function zs(t,e){return ot(f.bracket(t[1]))?Lo(t,e):B("stroke","stroke","borderColor")(t,e)}var we=["translate","rotate","scale"],js=["translateX(var(--un-translate-x))","translateY(var(--un-translate-y))","rotate(var(--un-rotate))","rotateZ(var(--un-rotate-z))","skewX(var(--un-skew-x))","skewY(var(--un-skew-y))","scaleX(var(--un-scale-x))","scaleY(var(--un-scale-y))"].join(" "),Pt=["translateX(var(--un-translate-x))","translateY(var(--un-translate-y))","translateZ(var(--un-translate-z))","rotate(var(--un-rotate))","rotateX(var(--un-rotate-x))","rotateY(var(--un-rotate-y))","rotateZ(var(--un-rotate-z))","skewX(var(--un-skew-x))","skewY(var(--un-skew-y))","scaleX(var(--un-scale-x))","scaleY(var(--un-scale-y))","scaleZ(var(--un-scale-z))"].join(" "),_s=["translate3d(var(--un-translate-x), var(--un-translate-y), var(--un-translate-z))","rotate(var(--un-rotate))","rotateX(var(--un-rotate-x))","rotateY(var(--un-rotate-y))","rotateZ(var(--un-rotate-z))","skewX(var(--un-skew-x))","skewY(var(--un-skew-y))","scaleX(var(--un-scale-x))","scaleY(var(--un-scale-y))","scaleZ(var(--un-scale-z))"].join(" "),Bt={"--un-rotate":0,"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-scale-x":1,"--un-scale-y":1,"--un-scale-z":1,"--un-skew-x":0,"--un-skew-y":0,"--un-translate-x":0,"--un-translate-y":0,"--un-translate-z":0},at=Object.keys(Bt),gr=[[/^(?:transform-)?origin-(.+)$/,([,t])=>({"transform-origin":N[t]??f.bracket.cssvar(t)}),{autocomplete:[`transform-origin-(${Object.keys(N).join("|")})`,`origin-(${Object.keys(N).join("|")})`]}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,t])=>{let e=f.bracket.cssvar.px.numberWithUnit(t);if(e!=null)return{"-webkit-perspective":e,perspective:e}}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,t])=>{let e=f.bracket.cssvar(t)??(t.length>=3?N[t]:void 0);if(e!=null)return{"-webkit-perspective-origin":e,"perspective-origin":e}}],[/^(?:transform-)?translate-()(.+)$/,zo,{custom:{preflightKeys:at}}],[/^(?:transform-)?translate-([xyz])-(.+)$/,zo,{custom:{preflightKeys:at}}],[/^(?:transform-)?rotate-()(.+)$/,_o,{custom:{preflightKeys:at}}],[/^(?:transform-)?rotate-([xyz])-(.+)$/,_o,{custom:{preflightKeys:at}}],[/^(?:transform-)?skew-()(.+)$/,Ao,{custom:{preflightKeys:at}}],[/^(?:transform-)?skew-([xy])-(.+)$/,Ao,{custom:{preflightKeys:at},autocomplete:["transform-skew-(x|y)-<percent>","skew-(x|y)-<percent>"]}],[/^(?:transform-)?scale-()(.+)$/,jo,{custom:{preflightKeys:at}}],[/^(?:transform-)?scale-([xyz])-(.+)$/,jo,{custom:{preflightKeys:at},autocomplete:[`transform-(${we.join("|")})-<percent>`,`transform-(${we.join("|")})-(x|y|z)-<percent>`,`(${we.join("|")})-<percent>`,`(${we.join("|")})-(x|y|z)-<percent>`]}],[/^(?:transform-)?preserve-3d$/,()=>({"transform-style":"preserve-3d"})],[/^(?:transform-)?preserve-flat$/,()=>({"transform-style":"flat"})],["transform",{transform:Pt},{custom:{preflightKeys:at}}],["transform-cpu",{transform:js},{custom:{preflightKeys:["--un-translate-x","--un-translate-y","--un-rotate","--un-rotate-z","--un-skew-x","--un-skew-y","--un-scale-x","--un-scale-y"]}}],["transform-gpu",{transform:_s},{custom:{preflightKeys:at}}],["transform-none",{transform:"none"}],...S("transform")];function zo([,t,e],{theme:r}){let n=r.spacing?.[e]??f.bracket.cssvar.fraction.rem(e);if(n!=null)return[...Et(t,n,"translate"),["transform",Pt]]}function jo([,t,e]){let r=f.bracket.cssvar.fraction.percent(e);if(r!=null)return[...Et(t,r,"scale"),["transform",Pt]]}function _o([,t="",e]){let r=f.bracket.cssvar.degree(e);if(r!=null)return t?{"--un-rotate":0,[`--un-rotate-${t}`]:r,transform:Pt}:{"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-rotate":r,transform:Pt}}function Ao([,t,e]){let r=f.bracket.cssvar.degree(e);if(r!=null)return[...Et(t,r,"skew"),["transform",Pt]]}function Ro(t,e){let r;if(f.cssvar(t)!=null)r=f.cssvar(t);else{t.startsWith("[")&&t.endsWith("]")&&(t=t.slice(1,-1));let n=t.split(",").map(o=>e.transitionProperty?.[o]??f.properties(o));n.every(Boolean)&&(r=n.join(","))}return r}var br=[[/^transition(?:-(\D+?))?(?:-(\d+))?$/,([,t,e],{theme:r})=>{if(!t&&!e)return{"transition-property":r.transitionProperty?.DEFAULT,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":r.duration?.DEFAULT??f.time("150")};if(t!=null){let n=Ro(t,r),o=r.duration?.[e||"DEFAULT"]??f.time(e||"150");if(n)return{"transition-property":n,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":o}}else if(e!=null)return{"transition-property":r.transitionProperty?.DEFAULT,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":r.duration?.[e]??f.time(e)}},{autocomplete:"transition-$transitionProperty-$duration"}],[/^(?:transition-)?duration-(.+)$/,([,t],{theme:e})=>({"transition-duration":e.duration?.[t||"DEFAULT"]??f.bracket.cssvar.time(t)}),{autocomplete:["transition-duration-$duration","duration-$duration"]}],[/^(?:transition-)?delay-(.+)$/,([,t],{theme:e})=>({"transition-delay":e.duration?.[t||"DEFAULT"]??f.bracket.cssvar.time(t)}),{autocomplete:["transition-delay-$duration","delay-$duration"]}],[/^(?:transition-)?ease(?:-(.+))?$/,([,t],{theme:e})=>({"transition-timing-function":e.easing?.[t||"DEFAULT"]??f.bracket.cssvar(t)}),{autocomplete:["transition-ease-(linear|in|out|in-out|DEFAULT)","ease-(linear|in|out|in-out|DEFAULT)"]}],[/^(?:transition-)?property-(.+)$/,([,t],{theme:e})=>{let r=f.global(t)||Ro(t,e);if(r)return{"transition-property":r}},{autocomplete:[`transition-property-(${[...M].join("|")})`,"transition-property-$transitionProperty","property-$transitionProperty"]}],["transition-none",{transition:"none"}],...S("transition"),["transition-discrete",{"transition-behavior":"allow-discrete"}],["transition-normal",{"transition-behavior":"normal"}]],yr=[[/^text-(.+)$/,Rs,{autocomplete:"text-$fontSize"}],[/^(?:text|font)-size-(.+)$/,Fo,{autocomplete:"text-size-$fontSize"}],[/^text-(?:color-)?(.+)$/,As,{autocomplete:"text-$colors"}],[/^(?:color|c)-(.+)$/,B("color","text","textColor"),{autocomplete:"(color|c)-$colors"}],[/^(?:text|color|c)-(.+)$/,([,t])=>M.includes(t)?{color:t}:void 0,{autocomplete:`(text|color|c)-(${M.join("|")})`}],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,t])=>({"--un-text-opacity":f.bracket.percent.cssvar(t)}),{autocomplete:"(text|color|c)-(op|opacity)-<percent>"}],[/^(?:font|fw)-?([^-]+)$/,([,t],{theme:e})=>({"font-weight":e.fontWeight?.[t]||f.bracket.global.number(t)}),{autocomplete:["(font|fw)-(100|200|300|400|500|600|700|800|900)","(font|fw)-$fontWeight"]}],[/^(?:font-)?(?:leading|lh|line-height)-(.+)$/,([,t],{theme:e})=>({"line-height":sn(t,e,"lineHeight")}),{autocomplete:"(leading|lh|line-height)-$lineHeight"}],["font-synthesis-weight",{"font-synthesis":"weight"}],["font-synthesis-style",{"font-synthesis":"style"}],["font-synthesis-small-caps",{"font-synthesis":"small-caps"}],["font-synthesis-none",{"font-synthesis":"none"}],[/^font-synthesis-(.+)$/,([,t])=>({"font-synthesis":f.bracket.cssvar.global(t)})],[/^(?:font-)?tracking-(.+)$/,([,t],{theme:e})=>({"letter-spacing":e.letterSpacing?.[t]||f.bracket.cssvar.global.rem(t)}),{autocomplete:"tracking-$letterSpacing"}],[/^(?:font-)?word-spacing-(.+)$/,([,t],{theme:e})=>({"word-spacing":e.wordSpacing?.[t]||f.bracket.cssvar.global.rem(t)}),{autocomplete:"word-spacing-$wordSpacing"}],["font-stretch-normal",{"font-stretch":"normal"}],["font-stretch-ultra-condensed",{"font-stretch":"ultra-condensed"}],["font-stretch-extra-condensed",{"font-stretch":"extra-condensed"}],["font-stretch-condensed",{"font-stretch":"condensed"}],["font-stretch-semi-condensed",{"font-stretch":"semi-condensed"}],["font-stretch-semi-expanded",{"font-stretch":"semi-expanded"}],["font-stretch-expanded",{"font-stretch":"expanded"}],["font-stretch-extra-expanded",{"font-stretch":"extra-expanded"}],["font-stretch-ultra-expanded",{"font-stretch":"ultra-expanded"}],[/^font-stretch-(.+)$/,([,t])=>({"font-stretch":f.bracket.cssvar.fraction.global(t)}),{autocomplete:"font-stretch-<percentage>"}],[/^font-(.+)$/,([,t],{theme:e})=>({"font-family":e.fontFamily?.[t]||f.bracket.cssvar.global(t)}),{autocomplete:"font-$fontFamily"}]],xr=[[/^tab(?:-(.+))?$/,([,t])=>{let e=f.bracket.cssvar.global.number(t||"4");if(e!=null)return{"-moz-tab-size":e,"-o-tab-size":e,"tab-size":e}}]],vr=[[/^indent(?:-(.+))?$/,([,t],{theme:e})=>({"text-indent":e.textIndent?.[t||"DEFAULT"]||f.bracket.cssvar.global.fraction.rem(t)}),{autocomplete:"indent-$textIndent"}]],$r=[[/^text-stroke(?:-(.+))?$/,([,t],{theme:e})=>({"-webkit-text-stroke-width":e.textStrokeWidth?.[t||"DEFAULT"]||f.bracket.cssvar.px(t)}),{autocomplete:"text-stroke-$textStrokeWidth"}],[/^text-stroke-(.+)$/,B("-webkit-text-stroke-color","text-stroke","borderColor"),{autocomplete:"text-stroke-$colors"}],[/^text-stroke-op(?:acity)?-?(.+)$/,([,t])=>({"--un-text-stroke-opacity":f.bracket.percent.cssvar(t)}),{autocomplete:"text-stroke-(op|opacity)-<percent>"}]],wr=[[/^text-shadow(?:-(.+))?$/,([,t],{theme:e})=>{let r=e.textShadow?.[t||"DEFAULT"];return r!=null?{"--un-text-shadow":ht(r,"--un-text-shadow-color").join(","),"text-shadow":"var(--un-text-shadow)"}:{"text-shadow":f.bracket.cssvar.global(t)}},{autocomplete:"text-shadow-$textShadow"}],[/^text-shadow-color-(.+)$/,B("--un-text-shadow-color","text-shadow","shadowColor"),{autocomplete:"text-shadow-color-$colors"}],[/^text-shadow-color-op(?:acity)?-?(.+)$/,([,t])=>({"--un-text-shadow-opacity":f.bracket.percent.cssvar(t)}),{autocomplete:"text-shadow-color-(op|opacity)-<percent>"}]];function sn(t,e,r){return e[r]?.[t]||f.bracket.cssvar.global.rem(t)}function Fo([,t],{theme:e}){let r=j(e.fontSize?.[t])?.[0]??f.bracket.cssvar.global.rem(t);if(r!=null)return{"font-size":r}}function As(t,e){return ot(f.bracket(t[1]))?Fo(t,e):B("color","text","textColor")(t,e)}function Rs([,t="base"],{theme:e}){let r=Mt(t,"length");if(!r)return;let[n,o]=r,i=j(e.fontSize?.[n]),a=o?sn(o,e,"lineHeight"):void 0;if(i?.[0]){let[c,l,u]=i;return typeof l=="object"?{"font-size":c,...l}:{"font-size":c,"line-height":a??l??"1","letter-spacing":u?sn(u,e,"letterSpacing"):void 0}}let s=f.bracketOfLength.rem(n);return a&&s?{"font-size":s,"line-height":a}:{"font-size":f.bracketOfLength.rem(t)}}var Ms={backface:"backface-visibility",break:"word-break",case:"text-transform",content:"align-content",fw:"font-weight",items:"align-items",justify:"justify-content",select:"user-select",self:"align-self",vertical:"vertical-align",visible:"visibility",whitespace:"white-space",ws:"white-space"},kr=[[/^(.+?)-(\$.+)$/,([,t,e])=>{let r=Ms[t];if(r)return{[r]:f.cssvar(e)}}]],Sr=[[/^\[(.*)\]$/,([t,e])=>{if(!e.includes(":"))return;let[r,...n]=e.split(":"),o=n.join(":");if(!Ps(e)&&/^[\w-]+$/.test(r)&&Os(o)){let i=f.bracket(`[${o}]`);if(i)return{[r]:i}}}]];function Os(t){let e=0;function r(n){for(;e<t.length;)if(e+=1,t[e]===n)return!0;return!1}for(e=0;e<t.length;e++){let n=t[e];if("\"`'".includes(n)){if(!r(n))return!1}else if(n==="("){if(!r(")"))return!1}else if("[]{}:".includes(n))return!1}return!0}function Ps(t){if(!t.includes("://"))return!1;try{return new URL(t).host!==""}catch{return!1}}var cn=[kr,Sr,Xe,Ke,He,Te,Ie,De,We,Fe,Ue,mr,Ve,qe,dr,ur,Pe,gr,Ye,Je,Ze,Ee,Zt,Kt,Xt,Le,Ne,Be,or,Qe,rr,je,Ae,Re,hr,pr,Se,vr,nr,ke,yr,ir,ar,Oe,sr,xr,$r,wr,_e,fr,Ce,lr,br,ze,tr,er,Me,cr,Ge].flat(1);var Fs=[[/^(?:animate-)?keyframes-(.+)$/,([,t],{theme:e})=>{let r=e.animation?.keyframes?.[t];if(r)return[`@keyframes ${t}${r}`,{animation:t}]},{autocomplete:["animate-keyframes-$animation.keyframes","keyframes-$animation.keyframes"]}],[/^animate-(.+)$/,([,t],{theme:e})=>{let r=e.animation?.keyframes?.[t];if(r){let n=e.animation?.durations?.[t]??"1s",o=e.animation?.timingFns?.[t]??"linear",i=e.animation?.counts?.[t]??1,a=e.animation?.properties?.[t];return[`@keyframes ${t}${r}`,{animation:`${t} ${n} ${o} ${i}`,...a}]}return{animation:f.bracket.cssvar(t)}},{autocomplete:"animate-$animation.keyframes"}],[/^animate-name-(.+)/,([,t])=>({"animation-name":f.bracket.cssvar(t)??t})],[/^animate-duration-(.+)$/,([,t],{theme:e})=>({"animation-duration":e.duration?.[t||"DEFAULT"]??f.bracket.cssvar.time(t)}),{autocomplete:["animate-duration","animate-duration-$duration"]}],[/^animate-delay-(.+)$/,([,t],{theme:e})=>({"animation-delay":e.duration?.[t||"DEFAULT"]??f.bracket.cssvar.time(t)}),{autocomplete:["animate-delay","animate-delay-$duration"]}],[/^animate-ease(?:-(.+))?$/,([,t],{theme:e})=>({"animation-timing-function":e.easing?.[t||"DEFAULT"]??f.bracket.cssvar(t)}),{autocomplete:["animate-ease","animate-ease-$easing"]}],[/^animate-(fill-mode-|fill-|mode-)?(.+)$/,([,t,e])=>["none","forwards","backwards","both",t?M:[]].includes(e)?{"animation-fill-mode":e}:void 0,{autocomplete:["animate-(fill|mode|fill-mode)","animate-(fill|mode|fill-mode)-(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)","animate-(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)"]}],[/^animate-(direction-)?(.+)$/,([,t,e])=>["normal","reverse","alternate","alternate-reverse",t?M:[]].includes(e)?{"animation-direction":e}:void 0,{autocomplete:["animate-direction","animate-direction-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)","animate-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)"]}],[/^animate-(?:iteration-count-|iteration-|count-)(.+)$/,([,t])=>({"animation-iteration-count":f.bracket.cssvar(t)??t.replace(/-/g,",")}),{autocomplete:["animate-(iteration|count|iteration-count)","animate-(iteration|count|iteration-count)-<num>"]}],[/^animate-(play-state-|play-|state-)?(.+)$/,([,t,e])=>["paused","running",t?M:[]].includes(e)?{"animation-play-state":e}:void 0,{autocomplete:["animate-(play|state|play-state)","animate-(play|state|play-state)-(paused|running|inherit|initial|revert|revert-layer|unset)","animate-(paused|running|inherit|initial|revert|revert-layer|unset)"]}],["animate-none",{animation:"none"}],...S("animate","animation")];function Bo(t){return t?W(t,0):"rgb(255 255 255 / 0)"}function Bs(t,e,r,n){return e?n!=null?W(e,n):W(e,`var(--un-${t}-opacity, ${mt(e)})`):W(r,n)}function ln(){return([,t,e],{theme:r})=>{let n=nt(e,r,"backgroundColor");if(!n)return;let{alpha:o,color:i,cssColor:a}=n;if(!i)return;let s=Bs(t,a,i,o);switch(t){case"from":return{"--un-gradient-from-position":"0%","--un-gradient-from":`${s} var(--un-gradient-from-position)`,"--un-gradient-to-position":"100%","--un-gradient-to":`${Bo(a)} var(--un-gradient-to-position)`,"--un-gradient-stops":"var(--un-gradient-from), var(--un-gradient-to)"};case"via":return{"--un-gradient-via-position":"50%","--un-gradient-to":Bo(a),"--un-gradient-stops":`var(--un-gradient-from), ${s} var(--un-gradient-via-position), var(--un-gradient-to)`};case"to":return{"--un-gradient-to-position":"100%","--un-gradient-to":`${s} var(--un-gradient-to-position)`}}}}function Ts(){return([,t,e])=>({[`--un-gradient-${t}-position`]:`${Number(f.bracket.cssvar.percent(e))*100}%`})}var Ws=[[/^bg-gradient-(.+)$/,([,t])=>({"--un-gradient":f.bracket(t)}),{autocomplete:["bg-gradient","bg-gradient-(from|to|via)","bg-gradient-(from|to|via)-$colors","bg-gradient-(from|to|via)-(op|opacity)","bg-gradient-(from|to|via)-(op|opacity)-<percent>"]}],[/^(?:bg-gradient-)?stops-(\[.+\])$/,([,t])=>({"--un-gradient-stops":f.bracket(t)})],[/^(?:bg-gradient-)?(from)-(.+)$/,ln()],[/^(?:bg-gradient-)?(via)-(.+)$/,ln()],[/^(?:bg-gradient-)?(to)-(.+)$/,ln()],[/^(?:bg-gradient-)?(from|via|to)-op(?:acity)?-?(.+)$/,([,t,e])=>({[`--un-${t}-opacity`]:f.bracket.percent(e)})],[/^(from|via|to)-([\d.]+)%$/,Ts()],[/^bg-gradient-((?:repeating-)?(?:linear|radial|conic))$/,([,t])=>({"background-image":`${t}-gradient(var(--un-gradient, var(--un-gradient-stops, rgb(255 255 255 / 0))))`}),{autocomplete:["bg-gradient-repeating","bg-gradient-(linear|radial|conic)","bg-gradient-repeating-(linear|radial|conic)"]}],[/^bg-gradient-to-([rltb]{1,2})$/,([,t])=>{if(t in N)return{"--un-gradient-shape":`to ${N[t]} in oklch`,"--un-gradient":"var(--un-gradient-shape), var(--un-gradient-stops)","background-image":"linear-gradient(var(--un-gradient))"}},{autocomplete:`bg-gradient-to-(${Object.keys(N).filter(t=>t.length<=2&&Array.from(t).every(e=>"rltb".includes(e))).join("|")})`}],[/^(?:bg-gradient-)?shape-(.+)$/,([,t])=>{let e=t in N?`to ${N[t]}`:f.bracket(t);if(e!=null)return{"--un-gradient-shape":`${e} in oklch`,"--un-gradient":"var(--un-gradient-shape), var(--un-gradient-stops)"}},{autocomplete:["bg-gradient-shape",`bg-gradient-shape-(${Object.keys(N).join("|")})`,`shape-(${Object.keys(N).join("|")})`]}],["bg-none",{"background-image":"none"}],["box-decoration-slice",{"box-decoration-break":"slice"}],["box-decoration-clone",{"box-decoration-break":"clone"}],...S("box-decoration","box-decoration-break"),["bg-auto",{"background-size":"auto"}],["bg-cover",{"background-size":"cover"}],["bg-contain",{"background-size":"contain"}],["bg-fixed",{"background-attachment":"fixed"}],["bg-local",{"background-attachment":"local"}],["bg-scroll",{"background-attachment":"scroll"}],["bg-clip-border",{"-webkit-background-clip":"border-box","background-clip":"border-box"}],["bg-clip-content",{"-webkit-background-clip":"content-box","background-clip":"content-box"}],["bg-clip-padding",{"-webkit-background-clip":"padding-box","background-clip":"padding-box"}],["bg-clip-text",{"-webkit-background-clip":"text","background-clip":"text"}],...M.map(t=>[`bg-clip-${t}`,{"-webkit-background-clip":t,"background-clip":t}]),[/^bg-([-\w]{3,})$/,([,t])=>({"background-position":N[t]})],["bg-repeat",{"background-repeat":"repeat"}],["bg-no-repeat",{"background-repeat":"no-repeat"}],["bg-repeat-x",{"background-repeat":"repeat-x"}],["bg-repeat-y",{"background-repeat":"repeat-y"}],["bg-repeat-round",{"background-repeat":"round"}],["bg-repeat-space",{"background-repeat":"space"}],...S("bg-repeat","background-repeat"),["bg-origin-border",{"background-origin":"border-box"}],["bg-origin-padding",{"background-origin":"padding-box"}],["bg-origin-content",{"background-origin":"content-box"}],...S("bg-origin","background-origin")],fn={disc:"disc",circle:"circle",square:"square",decimal:"decimal","zero-decimal":"decimal-leading-zero",greek:"lower-greek",roman:"lower-roman","upper-roman":"upper-roman",alpha:"lower-alpha","upper-alpha":"upper-alpha",latin:"lower-latin","upper-latin":"upper-latin"},Ns=[[/^list-(.+?)(?:-(outside|inside))?$/,([,t,e])=>{let r=fn[t];if(r)return e?{"list-style-position":e,"list-style-type":r}:{"list-style-type":r}},{autocomplete:[`list-(${Object.keys(fn).join("|")})`,`list-(${Object.keys(fn).join("|")})-(outside|inside)`]}],["list-outside",{"list-style-position":"outside"}],["list-inside",{"list-style-position":"inside"}],["list-none",{"list-style-type":"none"}],[/^list-image-(.+)$/,([,t])=>{if(/^\[url\(.+\)\]$/.test(t))return{"list-style-image":f.bracket(t)}}],["list-image-none",{"list-style-image":"none"}],...S("list","list-style-type")],Is=[[/^accent-(.+)$/,B("accent-color","accent","accentColor"),{autocomplete:"accent-$colors"}],[/^accent-op(?:acity)?-?(.+)$/,([,t])=>({"--un-accent-opacity":f.bracket.percent(t)}),{autocomplete:["accent-(op|opacity)","accent-(op|opacity)-<percent>"]}]],Us=[[/^caret-(.+)$/,B("caret-color","caret","textColor"),{autocomplete:"caret-$colors"}],[/^caret-op(?:acity)?-?(.+)$/,([,t])=>({"--un-caret-opacity":f.bracket.percent(t)}),{autocomplete:["caret-(op|opacity)","caret-(op|opacity)-<percent>"]}]],Ds=[["image-render-auto",{"image-rendering":"auto"}],["image-render-edge",{"image-rendering":"crisp-edges"}],["image-render-pixel",[["-ms-interpolation-mode","nearest-neighbor"],["image-rendering","-webkit-optimize-contrast"],["image-rendering","-moz-crisp-edges"],["image-rendering","-o-pixelated"],["image-rendering","pixelated"]]]],Vs=[["overscroll-auto",{"overscroll-behavior":"auto"}],["overscroll-contain",{"overscroll-behavior":"contain"}],["overscroll-none",{"overscroll-behavior":"none"}],...S("overscroll","overscroll-behavior"),["overscroll-x-auto",{"overscroll-behavior-x":"auto"}],["overscroll-x-contain",{"overscroll-behavior-x":"contain"}],["overscroll-x-none",{"overscroll-behavior-x":"none"}],...S("overscroll-x","overscroll-behavior-x"),["overscroll-y-auto",{"overscroll-behavior-y":"auto"}],["overscroll-y-contain",{"overscroll-behavior-y":"contain"}],["overscroll-y-none",{"overscroll-behavior-y":"none"}],...S("overscroll-y","overscroll-behavior-y")],Gs=[["scroll-auto",{"scroll-behavior":"auto"}],["scroll-smooth",{"scroll-behavior":"smooth"}],...S("scroll","scroll-behavior")],qs=[[/^columns-(.+)$/,([,t],{theme:e})=>e.containers&&t in e.containers?{columns:e.containers[t]}:{columns:f.bracket.numberWithUnit.number.cssvar(t)},{autocomplete:["columns-<num>","columns-$containers"]}],["columns-auto",{columns:"auto"}],["break-before-auto",{"break-before":"auto"}],["break-before-avoid",{"break-before":"avoid"}],["break-before-all",{"break-before":"all"}],["break-before-avoid-page",{"break-before":"avoid-page"}],["break-before-page",{"break-before":"page"}],["break-before-left",{"break-before":"left"}],["break-before-right",{"break-before":"right"}],["break-before-column",{"break-before":"column"}],...S("break-before"),["break-inside-auto",{"break-inside":"auto"}],["break-inside-avoid",{"break-inside":"avoid"}],["break-inside-avoid-page",{"break-inside":"avoid-page"}],["break-inside-avoid-column",{"break-inside":"avoid-column"}],...S("break-inside"),["break-after-auto",{"break-after":"auto"}],["break-after-avoid",{"break-after":"avoid"}],["break-after-all",{"break-after":"all"}],["break-after-avoid-page",{"break-after":"avoid-page"}],["break-after-page",{"break-after":"page"}],["break-after-left",{"break-after":"left"}],["break-after-right",{"break-after":"right"}],["break-after-column",{"break-after":"column"}],...S("break-after")],Hs=[[/^divide-?([xy])$/,Cr,{autocomplete:["divide-(x|y|block|inline)","divide-(x|y|block|inline)-reverse","divide-(x|y|block|inline)-$lineWidth"]}],[/^divide-?([xy])-?(.+)$/,Cr],[/^divide-?([xy])-reverse$/,([,t])=>({[`--un-divide-${t}-reverse`]:1})],[/^divide-(block|inline)$/,Cr],[/^divide-(block|inline)-(.+)$/,Cr],[/^divide-(block|inline)-reverse$/,([,t])=>({[`--un-divide-${t}-reverse`]:1})],[/^divide-(.+)$/,B("border-color","divide","borderColor"),{autocomplete:"divide-$colors"}],[/^divide-op(?:acity)?-?(.+)$/,([,t])=>({"--un-divide-opacity":f.bracket.percent(t)}),{autocomplete:["divide-(op|opacity)","divide-(op|opacity)-<percent>"]}],...bt.map(t=>[`divide-${t}`,{"border-style":t}])];function Cr([,t,e],{theme:r}){let n=r.lineWidth?.[e||"DEFAULT"]??f.bracket.cssvar.px(e||"1");if(n!=null){n==="0"&&(n="0px");let o=U[t].map(i=>[`border${i}-width`,i.endsWith("right")||i.endsWith("bottom")?`calc(${n} * var(--un-divide-${t}-reverse))`:`calc(${n} * calc(1 - var(--un-divide-${t}-reverse)))`]);if(o)return[[`--un-divide-${t}-reverse`,0],...o]}}var mn={"--un-blur":A,"--un-brightness":A,"--un-contrast":A,"--un-drop-shadow":A,"--un-grayscale":A,"--un-hue-rotate":A,"--un-invert":A,"--un-saturate":A,"--un-sepia":A},Do=Object.keys(mn),To={preflightKeys:Do},Er="var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)",hn={"--un-backdrop-blur":A,"--un-backdrop-brightness":A,"--un-backdrop-contrast":A,"--un-backdrop-grayscale":A,"--un-backdrop-hue-rotate":A,"--un-backdrop-invert":A,"--un-backdrop-opacity":A,"--un-backdrop-saturate":A,"--un-backdrop-sepia":A},Vo=Object.keys(hn),Ys={preflightKeys:Vo},zr="var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia)",ft={preflightKeys:[...Do,...Vo]};function un(t){let e=f.bracket.cssvar(t||"");if(e!=null||(e=t?f.percent(t):"1",e!=null&&Number.parseFloat(e)<=1))return e}function ut(t,e){return([,r,n],{theme:o})=>{let i=e(n,o)??(n==="none"?"0":"");if(i!=="")return r?{[`--un-${r}${t}`]:`${t}(${i})`,"-webkit-backdrop-filter":zr,"backdrop-filter":zr}:{[`--un-${t}`]:`${t}(${i})`,filter:Er}}}function Xs([,t],{theme:e}){let r=e.dropShadow?.[t||"DEFAULT"];if(r!=null)return{"--un-drop-shadow":`drop-shadow(${ht(r,"--un-drop-shadow-color").join(") drop-shadow(")})`,filter:Er};if(r=f.bracket.cssvar(t),r!=null)return{"--un-drop-shadow":`drop-shadow(${r})`,filter:Er}}var Ks=[[/^(?:(backdrop-)|filter-)?blur(?:-(.+))?$/,ut("blur",(t,e)=>e.blur?.[t||"DEFAULT"]||f.bracket.cssvar.px(t)),{custom:ft,autocomplete:["(backdrop|filter)-blur-$blur","blur-$blur","filter-blur"]}],[/^(?:(backdrop-)|filter-)?brightness-(.+)$/,ut("brightness",t=>f.bracket.cssvar.percent(t)),{custom:ft,autocomplete:["(backdrop|filter)-brightness-<percent>","brightness-<percent>"]}],[/^(?:(backdrop-)|filter-)?contrast-(.+)$/,ut("contrast",t=>f.bracket.cssvar.percent(t)),{custom:ft,autocomplete:["(backdrop|filter)-contrast-<percent>","contrast-<percent>"]}],[/^(?:filter-)?drop-shadow(?:-(.+))?$/,Xs,{custom:To,autocomplete:["filter-drop","filter-drop-shadow","filter-drop-shadow-color","drop-shadow","drop-shadow-color","filter-drop-shadow-$dropShadow","drop-shadow-$dropShadow","filter-drop-shadow-color-$colors","drop-shadow-color-$colors","filter-drop-shadow-color-(op|opacity)","drop-shadow-color-(op|opacity)","filter-drop-shadow-color-(op|opacity)-<percent>","drop-shadow-color-(op|opacity)-<percent>"]}],[/^(?:filter-)?drop-shadow-color-(.+)$/,B("--un-drop-shadow-color","drop-shadow","shadowColor")],[/^(?:filter-)?drop-shadow-color-op(?:acity)?-?(.+)$/,([,t])=>({"--un-drop-shadow-opacity":f.bracket.percent(t)})],[/^(?:(backdrop-)|filter-)?grayscale(?:-(.+))?$/,ut("grayscale",un),{custom:ft,autocomplete:["(backdrop|filter)-grayscale","(backdrop|filter)-grayscale-<percent>","grayscale-<percent>"]}],[/^(?:(backdrop-)|filter-)?hue-rotate-(.+)$/,ut("hue-rotate",t=>f.bracket.cssvar.degree(t)),{custom:ft}],[/^(?:(backdrop-)|filter-)?invert(?:-(.+))?$/,ut("invert",un),{custom:ft,autocomplete:["(backdrop|filter)-invert","(backdrop|filter)-invert-<percent>","invert-<percent>"]}],[/^(backdrop-)op(?:acity)?-(.+)$/,ut("opacity",t=>f.bracket.cssvar.percent(t)),{custom:ft,autocomplete:["backdrop-(op|opacity)","backdrop-(op|opacity)-<percent>"]}],[/^(?:(backdrop-)|filter-)?saturate-(.+)$/,ut("saturate",t=>f.bracket.cssvar.percent(t)),{custom:ft,autocomplete:["(backdrop|filter)-saturate","(backdrop|filter)-saturate-<percent>","saturate-<percent>"]}],[/^(?:(backdrop-)|filter-)?sepia(?:-(.+))?$/,ut("sepia",un),{custom:ft,autocomplete:["(backdrop|filter)-sepia","(backdrop|filter)-sepia-<percent>","sepia-<percent>"]}],["filter",{filter:Er},{custom:To}],["backdrop-filter",{"-webkit-backdrop-filter":zr,"backdrop-filter":zr},{custom:Ys}],["filter-none",{filter:"none"}],["backdrop-filter-none",{"-webkit-backdrop-filter":"none","backdrop-filter":"none"}],...M.map(t=>[`filter-${t}`,{filter:t}]),...M.map(t=>[`backdrop-filter-${t}`,{"-webkit-backdrop-filter":t,"backdrop-filter":t}])],Zs=[[/^line-clamp-(\d+)$/,([,t])=>({overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":t,"line-clamp":t}),{autocomplete:["line-clamp","line-clamp-<num>"]}],...["none",...M].map(t=>[`line-clamp-${t}`,{overflow:"visible",display:"block","-webkit-box-orient":"horizontal","-webkit-line-clamp":t,"line-clamp":t}])],Js=[[/^\$ placeholder-(.+)$/,B("color","placeholder","accentColor"),{autocomplete:"placeholder-$colors"}],[/^\$ placeholder-op(?:acity)?-?(.+)$/,([,t])=>({"--un-placeholder-opacity":f.bracket.percent(t)}),{autocomplete:["placeholder-(op|opacity)","placeholder-(op|opacity)-<percent>"]}]],gn={"--un-scroll-snap-strictness":"proximity"},Wo={preflightKeys:Object.keys(gn)},Qs=[[/^snap-(x|y)$/,([,t])=>({"scroll-snap-type":`${t} var(--un-scroll-snap-strictness)`}),{custom:Wo,autocomplete:"snap-(x|y|both)"}],[/^snap-both$/,()=>({"scroll-snap-type":"both var(--un-scroll-snap-strictness)"}),{custom:Wo}],["snap-mandatory",{"--un-scroll-snap-strictness":"mandatory"}],["snap-proximity",{"--un-scroll-snap-strictness":"proximity"}],["snap-none",{"scroll-snap-type":"none"}],["snap-start",{"scroll-snap-align":"start"}],["snap-end",{"scroll-snap-align":"end"}],["snap-center",{"scroll-snap-align":"center"}],["snap-align-none",{"scroll-snap-align":"none"}],["snap-normal",{"scroll-snap-stop":"normal"}],["snap-always",{"scroll-snap-stop":"always"}],[/^scroll-ma?()-?(.+)$/,O("scroll-margin"),{autocomplete:["scroll-(m|p|ma|pa|block|inline)","scroll-(m|p|ma|pa|block|inline)-$spacing","scroll-(m|p|ma|pa|block|inline)-(x|y|r|l|t|b|bs|be|is|ie)","scroll-(m|p|ma|pa|block|inline)-(x|y|r|l|t|b|bs|be|is|ie)-$spacing"]}],[/^scroll-m-?([xy])-?(.+)$/,O("scroll-margin")],[/^scroll-m-?([rltb])-?(.+)$/,O("scroll-margin")],[/^scroll-m-(block|inline)-(.+)$/,O("scroll-margin")],[/^scroll-m-?([bi][se])-?(.+)$/,O("scroll-margin")],[/^scroll-pa?()-?(.+)$/,O("scroll-padding")],[/^scroll-p-?([xy])-?(.+)$/,O("scroll-padding")],[/^scroll-p-?([rltb])-?(.+)$/,O("scroll-padding")],[/^scroll-p-(block|inline)-(.+)$/,O("scroll-padding")],[/^scroll-p-?([bi][se])-?(.+)$/,O("scroll-padding")]],tc=[[/^space-([xy])-(.+)$/,No,{autocomplete:["space-(x|y|block|inline)","space-(x|y|block|inline)-reverse","space-(x|y|block|inline)-$spacing"]}],[/^space-([xy])-reverse$/,([,t])=>({[`--un-space-${t}-reverse`]:1})],[/^space-(block|inline)-(.+)$/,No],[/^space-(block|inline)-reverse$/,([,t])=>({[`--un-space-${t}-reverse`]:1})]];function No([,t,e],{theme:r}){let n=r.spacing?.[e||"DEFAULT"]??f.bracket.cssvar.auto.fraction.rem(e||"1");if(n!=null){n==="0"&&(n="0px");let o=U[t].map(i=>[`margin${i}`,i.endsWith("right")||i.endsWith("bottom")?`calc(${n} * var(--un-space-${t}-reverse))`:`calc(${n} * calc(1 - var(--un-space-${t}-reverse)))`]);if(o)return[[`--un-space-${t}-reverse`,0],...o]}}var ec=[["uppercase",{"text-transform":"uppercase"}],["lowercase",{"text-transform":"lowercase"}],["capitalize",{"text-transform":"capitalize"}],["normal-case",{"text-transform":"none"}]],rc=[...["manual","auto","none",...M].map(t=>[`hyphens-${t}`,{"-webkit-hyphens":t,"-ms-hyphens":t,hyphens:t}])],nc=[["write-vertical-right",{"writing-mode":"vertical-rl"}],["write-vertical-left",{"writing-mode":"vertical-lr"}],["write-normal",{"writing-mode":"horizontal-tb"}],...S("write","writing-mode")],oc=[["write-orient-mixed",{"text-orientation":"mixed"}],["write-orient-sideways",{"text-orientation":"sideways"}],["write-orient-upright",{"text-orientation":"upright"}],...S("write-orient","text-orientation")],ic=[["sr-only",{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0,0,0,0)","white-space":"nowrap","border-width":0}],["not-sr-only",{position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",clip:"auto","white-space":"normal"}]],ac=[["isolate",{isolation:"isolate"}],["isolate-auto",{isolation:"auto"}],["isolation-auto",{isolation:"auto"}]],sc=[["object-cover",{"object-fit":"cover"}],["object-contain",{"object-fit":"contain"}],["object-fill",{"object-fit":"fill"}],["object-scale-down",{"object-fit":"scale-down"}],["object-none",{"object-fit":"none"}],[/^object-(.+)$/,([,t])=>{if(N[t])return{"object-position":N[t]};if(f.bracketOfPosition(t)!=null)return{"object-position":f.bracketOfPosition(t).split(" ").map(e=>f.position.fraction.auto.px.cssvar(e)??e).join(" ")}},{autocomplete:`object-(${Object.keys(N).join("|")})`}]],cc=[["bg-blend-multiply",{"background-blend-mode":"multiply"}],["bg-blend-screen",{"background-blend-mode":"screen"}],["bg-blend-overlay",{"background-blend-mode":"overlay"}],["bg-blend-darken",{"background-blend-mode":"darken"}],["bg-blend-lighten",{"background-blend-mode":"lighten"}],["bg-blend-color-dodge",{"background-blend-mode":"color-dodge"}],["bg-blend-color-burn",{"background-blend-mode":"color-burn"}],["bg-blend-hard-light",{"background-blend-mode":"hard-light"}],["bg-blend-soft-light",{"background-blend-mode":"soft-light"}],["bg-blend-difference",{"background-blend-mode":"difference"}],["bg-blend-exclusion",{"background-blend-mode":"exclusion"}],["bg-blend-hue",{"background-blend-mode":"hue"}],["bg-blend-saturation",{"background-blend-mode":"saturation"}],["bg-blend-color",{"background-blend-mode":"color"}],["bg-blend-luminosity",{"background-blend-mode":"luminosity"}],["bg-blend-normal",{"background-blend-mode":"normal"}],...S("bg-blend","background-blend")],lc=[["mix-blend-multiply",{"mix-blend-mode":"multiply"}],["mix-blend-screen",{"mix-blend-mode":"screen"}],["mix-blend-overlay",{"mix-blend-mode":"overlay"}],["mix-blend-darken",{"mix-blend-mode":"darken"}],["mix-blend-lighten",{"mix-blend-mode":"lighten"}],["mix-blend-color-dodge",{"mix-blend-mode":"color-dodge"}],["mix-blend-color-burn",{"mix-blend-mode":"color-burn"}],["mix-blend-hard-light",{"mix-blend-mode":"hard-light"}],["mix-blend-soft-light",{"mix-blend-mode":"soft-light"}],["mix-blend-difference",{"mix-blend-mode":"difference"}],["mix-blend-exclusion",{"mix-blend-mode":"exclusion"}],["mix-blend-hue",{"mix-blend-mode":"hue"}],["mix-blend-saturation",{"mix-blend-mode":"saturation"}],["mix-blend-color",{"mix-blend-mode":"color"}],["mix-blend-luminosity",{"mix-blend-mode":"luminosity"}],["mix-blend-plus-lighter",{"mix-blend-mode":"plus-lighter"}],["mix-blend-normal",{"mix-blend-mode":"normal"}],...S("mix-blend")],fc=[["min-h-dvh",{"min-height":"100dvh"}],["min-h-svh",{"min-height":"100svh"}],["min-h-lvh",{"min-height":"100lvh"}],["h-dvh",{height:"100dvh"}],["h-svh",{height:"100svh"}],["h-lvh",{height:"100lvh"}],["max-h-dvh",{"max-height":"100dvh"}],["max-h-svh",{"max-height":"100svh"}],["max-h-lvh",{"max-height":"100lvh"}]],bn={"--un-border-spacing-x":0,"--un-border-spacing-y":0},Io={preflightKeys:Object.keys(bn)},Uo="var(--un-border-spacing-x) var(--un-border-spacing-y)",uc=[["inline-table",{display:"inline-table"}],["table",{display:"table"}],["table-caption",{display:"table-caption"}],["table-cell",{display:"table-cell"}],["table-column",{display:"table-column"}],["table-column-group",{display:"table-column-group"}],["table-footer-group",{display:"table-footer-group"}],["table-header-group",{display:"table-header-group"}],["table-row",{display:"table-row"}],["table-row-group",{display:"table-row-group"}],["border-collapse",{"border-collapse":"collapse"}],["border-separate",{"border-collapse":"separate"}],[/^border-spacing-(.+)$/,([,t],{theme:e})=>{let r=e.spacing?.[t]??f.bracket.cssvar.global.auto.fraction.rem(t);if(r!=null)return{"--un-border-spacing-x":r,"--un-border-spacing-y":r,"border-spacing":Uo}},{custom:Io,autocomplete:["border-spacing","border-spacing-$spacing"]}],[/^border-spacing-([xy])-(.+)$/,([,t,e],{theme:r})=>{let n=r.spacing?.[e]??f.bracket.cssvar.global.auto.fraction.rem(e);if(n!=null)return{[`--un-border-spacing-${t}`]:n,"border-spacing":Uo}},{custom:Io,autocomplete:["border-spacing-(x|y)","border-spacing-(x|y)-$spacing"]}],["caption-top",{"caption-side":"top"}],["caption-bottom",{"caption-side":"bottom"}],["table-auto",{"table-layout":"auto"}],["table-fixed",{"table-layout":"fixed"}],["table-empty-cells-visible",{"empty-cells":"show"}],["table-empty-cells-hidden",{"empty-cells":"hide"}]],yn={"--un-pan-x":A,"--un-pan-y":A,"--un-pinch-zoom":A},dn={preflightKeys:Object.keys(yn)},pn="var(--un-pan-x) var(--un-pan-y) var(--un-pinch-zoom)",dc=[[/^touch-pan-(x|left|right)$/,([,t])=>({"--un-pan-x":`pan-${t}`,"touch-action":pn}),{custom:dn,autocomplete:["touch-pan","touch-pan-(x|left|right|y|up|down)"]}],[/^touch-pan-(y|up|down)$/,([,t])=>({"--un-pan-y":`pan-${t}`,"touch-action":pn}),{custom:dn}],["touch-pinch-zoom",{"--un-pinch-zoom":"pinch-zoom","touch-action":pn},{custom:dn}],["touch-auto",{"touch-action":"auto"}],["touch-manipulation",{"touch-action":"manipulation"}],["touch-none",{"touch-action":"none"}],...S("touch","touch-action")],xn={"--un-ordinal":A,"--un-slashed-zero":A,"--un-numeric-figure":A,"--un-numeric-spacing":A,"--un-numeric-fraction":A},yt={preflightKeys:Object.keys(xn)};function xt(t){return{...t,"font-variant-numeric":"var(--un-ordinal) var(--un-slashed-zero) var(--un-numeric-figure) var(--un-numeric-spacing) var(--un-numeric-fraction)"}}var pc=[[/^ordinal$/,()=>xt({"--un-ordinal":"ordinal"}),{custom:yt,autocomplete:"ordinal"}],[/^slashed-zero$/,()=>xt({"--un-slashed-zero":"slashed-zero"}),{custom:yt,autocomplete:"slashed-zero"}],[/^lining-nums$/,()=>xt({"--un-numeric-figure":"lining-nums"}),{custom:yt,autocomplete:"lining-nums"}],[/^oldstyle-nums$/,()=>xt({"--un-numeric-figure":"oldstyle-nums"}),{custom:yt,autocomplete:"oldstyle-nums"}],[/^proportional-nums$/,()=>xt({"--un-numeric-spacing":"proportional-nums"}),{custom:yt,autocomplete:"proportional-nums"}],[/^tabular-nums$/,()=>xt({"--un-numeric-spacing":"tabular-nums"}),{custom:yt,autocomplete:"tabular-nums"}],[/^diagonal-fractions$/,()=>xt({"--un-numeric-fraction":"diagonal-fractions"}),{custom:yt,autocomplete:"diagonal-fractions"}],[/^stacked-fractions$/,()=>xt({"--un-numeric-fraction":"stacked-fractions"}),{custom:yt,autocomplete:"stacked-fractions"}],["normal-nums",{"font-variant-numeric":"normal"}]],mc={"bg-blend":"background-blend-mode","bg-clip":"-webkit-background-clip","bg-gradient":"linear-gradient","bg-image":"background-image","bg-origin":"background-origin","bg-position":"background-position","bg-repeat":"background-repeat","bg-size":"background-size","mix-blend":"mix-blend-mode",object:"object-fit","object-position":"object-position",write:"writing-mode","write-orient":"text-orientation"},hc=[[/^(.+?)-(\$.+)$/,([,t,e])=>{let r=mc[t];if(r)return{[r]:f.cssvar(e)}}]],gc=[[/^view-transition-([\w-]+)$/,([,t])=>({"view-transition-name":t})]],Go=[kr,hc,Sr,$o,Xe,ic,Ke,He,Te,Ie,Zs,ac,De,We,Fe,Ue,mr,Ve,qe,dr,ur,Pe,uc,gr,Fs,Ye,dc,Je,Ze,Qs,Ns,Ee,qs,Zt,Kt,Xt,Le,Ne,tc,Hs,Be,Vs,Gs,or,Qe,rr,je,Ae,Ws,Re,hr,sc,pr,Se,vr,nr,ke,yr,ir,ec,ar,pc,Oe,sr,xr,$r,wr,rc,nc,oc,Us,Is,_e,cc,lc,fr,Ce,lr,Ds,Ks,br,ze,tr,er,Js,Me,gc,fc,cr,Ge].flat(1);var qo=[...rn];var jr={inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"},light:{50:"#fdfdfd",100:"#fcfcfc",200:"#fafafa",300:"#f8f9fa",400:"#f6f6f6",500:"#f2f2f2",600:"#f1f3f5",700:"#e9ecef",800:"#dee2e6",900:"#dde1e3",950:"#d8dcdf"},dark:{50:"#4a4a4a",100:"#3c3c3c",200:"#323232",300:"#2d2d2d",400:"#222222",500:"#1f1f1f",600:"#1c1c1e",700:"#1b1b1b",800:"#181818",900:"#0f0f0f",950:"#080808"},get lightblue(){return this.sky},get lightBlue(){return this.sky},get warmgray(){return this.stone},get warmGray(){return this.stone},get truegray(){return this.neutral},get trueGray(){return this.neutral},get coolgray(){return this.gray},get coolGray(){return this.gray},get bluegray(){return this.slate},get blueGray(){return this.slate}};Object.values(jr).forEach(t=>{typeof t!="string"&&t!==void 0&&(t.DEFAULT=t.DEFAULT||t[400],Object.keys(t).forEach(e=>{let r=+e/100;r===Math.round(r)&&(t[r]=t[e])}))});var Ho={DEFAULT:"8px",0:"0",sm:"4px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},Yo={DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],sm:"0 1px 1px rgb(0 0 0 / 0.05)",md:["0 4px 3px rgb(0 0 0 / 0.07)","0 2px 2px rgb(0 0 0 / 0.06)"],lg:["0 10px 8px rgb(0 0 0 / 0.04)","0 4px 3px rgb(0 0 0 / 0.1)"],xl:["0 20px 13px rgb(0 0 0 / 0.03)","0 8px 5px rgb(0 0 0 / 0.08)"],"2xl":"0 25px 25px rgb(0 0 0 / 0.15)",none:"0 0 rgb(0 0 0 / 0)"},Xo={sans:["ui-sans-serif","system-ui","-apple-system","BlinkMacSystemFont",'"Segoe UI"',"Roboto",'"Helvetica Neue"',"Arial",'"Noto Sans"',"sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"','"Noto Color Emoji"'].join(","),serif:["ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"].join(","),mono:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"].join(",")},Ko={xs:["0.75rem","1rem"],sm:["0.875rem","1.25rem"],base:["1rem","1.5rem"],lg:["1.125rem","1.75rem"],xl:["1.25rem","1.75rem"],"2xl":["1.5rem","2rem"],"3xl":["1.875rem","2.25rem"],"4xl":["2.25rem","2.5rem"],"5xl":["3rem","1"],"6xl":["3.75rem","1"],"7xl":["4.5rem","1"],"8xl":["6rem","1"],"9xl":["8rem","1"]},Zo={DEFAULT:"1.5rem",xs:"0.5rem",sm:"1rem",md:"1.5rem",lg:"2rem",xl:"2.5rem","2xl":"3rem","3xl":"4rem"},Jo={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},Qo={DEFAULT:["0 0 1px rgb(0 0 0 / 0.2)","0 0 1px rgb(1 0 5 / 0.1)"],none:"0 0 rgb(0 0 0 / 0)",sm:"1px 1px 3px rgb(36 37 47 / 0.25)",md:["0 1px 2px rgb(30 29 39 / 0.19)","1px 2px 4px rgb(54 64 147 / 0.18)"],lg:["3px 3px 6px rgb(0 0 0 / 0.26)","0 0 5px rgb(15 3 86 / 0.22)"],xl:["1px 1px 3px rgb(0 0 0 / 0.29)","2px 4px 7px rgb(73 64 125 / 0.35)"]},ti={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},Sn={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},ei={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},ri=Sn,Cn={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},ni={...Cn},oi={DEFAULT:"1px",none:"0"},ii={DEFAULT:"1rem",none:"0",xs:"0.75rem",sm:"0.875rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"},ai={DEFAULT:"150ms",none:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},si={DEFAULT:"0.25rem",none:"0",sm:"0.125rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},ci={DEFAULT:["var(--un-shadow-inset) 0 1px 3px 0 rgb(0 0 0 / 0.1)","var(--un-shadow-inset) 0 1px 2px -1px rgb(0 0 0 / 0.1)"],none:"0 0 rgb(0 0 0 / 0)",sm:"var(--un-shadow-inset) 0 1px 2px 0 rgb(0 0 0 / 0.05)",md:["var(--un-shadow-inset) 0 4px 6px -1px rgb(0 0 0 / 0.1)","var(--un-shadow-inset) 0 2px 4px -2px rgb(0 0 0 / 0.1)"],lg:["var(--un-shadow-inset) 0 10px 15px -3px rgb(0 0 0 / 0.1)","var(--un-shadow-inset) 0 4px 6px -4px rgb(0 0 0 / 0.1)"],xl:["var(--un-shadow-inset) 0 20px 25px -5px rgb(0 0 0 / 0.1)","var(--un-shadow-inset) 0 8px 10px -6px rgb(0 0 0 / 0.1)"],"2xl":"var(--un-shadow-inset) 0 25px 50px -12px rgb(0 0 0 / 0.25)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)"},li={DEFAULT:"3px",none:"0"},fi={auto:"auto"},ui={mouse:"(hover) and (pointer: fine)"},di={...Bt,...Ft,...Lt},st={xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",prose:"65ch"},pi={auto:"auto",...st,screen:"100vw"},vn={none:"none",...st,screen:"100vw"},mi={auto:"auto",...st,screen:"100vb"},hi={auto:"auto",...st,screen:"100vi"},gi={auto:"auto",...st,screen:"100vh"},$n={none:"none",...st,screen:"100vh"},wn={none:"none",...st,screen:"100vb"},kn={none:"none",...st,screen:"100vi"},bi={...st},bc={DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)",linear:"linear",in:"cubic-bezier(0.4, 0, 1, 1)",out:"cubic-bezier(0, 0, 0.2, 1)","in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},yc={none:"none",all:"all",colors:["color","background-color","border-color","text-decoration-color","fill","stroke"].join(","),opacity:"opacity",shadow:"box-shadow",transform:"transform",get DEFAULT(){return[this.colors,"opacity","box-shadow","transform","filter","backdrop-filter"].join(",")}},Jt={width:pi,height:gi,maxWidth:vn,maxHeight:$n,minWidth:vn,minHeight:$n,inlineSize:hi,blockSize:mi,maxInlineSize:kn,maxBlockSize:wn,minInlineSize:kn,minBlockSize:wn,colors:jr,fontFamily:Xo,fontSize:Ko,fontWeight:ei,breakpoints:Cn,verticalBreakpoints:ni,borderRadius:si,lineHeight:ti,letterSpacing:Sn,wordSpacing:ri,boxShadow:ci,textIndent:Zo,textShadow:Qo,textStrokeWidth:Jo,blur:Ho,dropShadow:Yo,easing:bc,transitionProperty:yc,lineWidth:oi,spacing:ii,duration:ai,ringWidth:li,preflightBase:di,containers:bi,zIndex:fi,media:ui};var yi={...Jt,aria:{busy:'busy="true"',checked:'checked="true"',disabled:'disabled="true"',expanded:'expanded="true"',hidden:'hidden="true"',pressed:'pressed="true"',readonly:'readonly="true"',required:'required="true"',selected:'selected="true"'},animation:{keyframes:{pulse:"{0%, 100% {opacity:1} 50% {opacity:.5}}",bounce:"{0%, 100% {transform:translateY(-25%);animation-timing-function:cubic-bezier(0.8,0,1,1)} 50% {transform:translateY(0);animation-timing-function:cubic-bezier(0,0,0.2,1)}}",spin:"{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}",ping:"{0%{transform:scale(1);opacity:1}75%,100%{transform:scale(2);opacity:0}}","bounce-alt":"{from,20%,53%,80%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1);transform:translate3d(0,0,0)}40%,43%{animation-timing-function:cubic-bezier(0.755,0.05,0.855,0.06);transform:translate3d(0,-30px,0)}70%{animation-timing-function:cubic-bezier(0.755,0.05,0.855,0.06);transform:translate3d(0,-15px,0)}90%{transform:translate3d(0,-4px,0)}}",flash:"{from,50%,to{opacity:1}25%,75%{opacity:0}}","pulse-alt":"{from{transform:scale3d(1,1,1)}50%{transform:scale3d(1.05,1.05,1.05)}to{transform:scale3d(1,1,1)}}","rubber-band":"{from{transform:scale3d(1,1,1)}30%{transform:scale3d(1.25,0.75,1)}40%{transform:scale3d(0.75,1.25,1)}50%{transform:scale3d(1.15,0.85,1)}65%{transform:scale3d(0.95,1.05,1)}75%{transform:scale3d(1.05,0.95,1)}to{transform:scale3d(1,1,1)}}","shake-x":"{from,to{transform:translate3d(0,0,0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}","shake-y":"{from,to{transform:translate3d(0,0,0)}10%,30%,50%,70%,90%{transform:translate3d(0,-10px,0)}20%,40%,60%,80%{transform:translate3d(0,10px,0)}}","head-shake":"{0%{transform:translateX(0)}6.5%{transform:translateX(-6px) rotateY(-9deg)}18.5%{transform:translateX(5px) rotateY(7deg)}31.5%{transform:translateX(-3px) rotateY(-5deg)}43.5%{transform:translateX(2px) rotateY(3deg)}50%{transform:translateX(0)}}",swing:"{20%{transform:rotate3d(0,0,1,15deg)}40%{transform:rotate3d(0,0,1,-10deg)}60%{transform:rotate3d(0,0,1,5deg)}80%{transform:rotate3d(0,0,1,-5deg)}to{transform:rotate3d(0,0,1,0deg)}}",tada:"{from{transform:scale3d(1,1,1)}10%,20%{transform:scale3d(0.9,0.9,0.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}to{transform:scale3d(1,1,1)}}",wobble:"{from{transform:translate3d(0,0,0)}15%{transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}to{transform:translate3d(0,0,0)}}",jello:"{from,11.1%,to{transform:translate3d(0,0,0)}22.2%{transform:skewX(-12.5deg) skewY(-12.5deg)}33.3%{transform:skewX(6.25deg) skewY(6.25deg)}44.4%{transform:skewX(-3.125deg)skewY(-3.125deg)}55.5%{transform:skewX(1.5625deg) skewY(1.5625deg)}66.6%{transform:skewX(-0.78125deg) skewY(-0.78125deg)}77.7%{transform:skewX(0.390625deg) skewY(0.390625deg)}88.8%{transform:skewX(-0.1953125deg) skewY(-0.1953125deg)}}","heart-beat":"{0%{transform:scale(1)}14%{transform:scale(1.3)}28%{transform:scale(1)}42%{transform:scale(1.3)}70%{transform:scale(1)}}",hinge:"{0%{transform-origin:top left;animation-timing-function:ease-in-out}20%,60%{transform:rotate3d(0,0,1,80deg);transform-origin:top left;animation-timing-function:ease-in-out}40%,80%{transform:rotate3d(0,0,1,60deg);transform-origin:top left;animation-timing-function:ease-in-out}to{transform:translate3d(0,700px,0);opacity:0}}","jack-in-the-box":"{from{opacity:0;transform-origin:center bottom;transform:scale(0.1) rotate(30deg)}50%{transform:rotate(-10deg)}70%{transform:rotate(3deg)}to{transform:scale(1)}}","light-speed-in-left":"{from{opacity:0;transform:translate3d(-100%,0,0) skewX(-30deg)}60%{opacity:1;transform:skewX(20deg)}80%{transform:skewX(-5deg)}to{transform:translate3d(0,0,0)}}","light-speed-in-right":"{from{opacity:0;transform:translate3d(100%,0,0) skewX(-30deg)}60%{opacity:1;transform:skewX(20deg)}80%{transform:skewX(-5deg)}to{transform:translate3d(0,0,0)}}","light-speed-out-left":"{from{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0) skewX(30deg)}}","light-speed-out-right":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0) skewX(30deg)}}",flip:"{from{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,-360deg);animation-timing-function:ease-out}40%{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);animation-timing-function:ease-out}50%{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);animation-timing-function:ease-in}80%{transform:perspective(400px) scale3d(0.95,0.95,0.95) translate3d(0,0,0) rotate3d(0,1,0,0deg);animation-timing-function:ease-in}to{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,0deg);animation-timing-function:ease-in}}","flip-in-x":"{from{transform:perspective(400px) rotate3d(1,0,0,90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotate3d(1,0,0,-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotate3d(1,0,0,10deg);opacity:1}80%{transform:perspective(400px) rotate3d(1,0,0,-5deg)}to{transform:perspective(400px)}}","flip-in-y":"{from{transform:perspective(400px) rotate3d(0,1,0,90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotate3d(0,1,0,-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotate3d(0,1,0,10deg);opacity:1}80%{transform:perspective(400px) rotate3d(0,1,0,-5deg)}to{transform:perspective(400px)}}","flip-out-x":"{from{transform:perspective(400px)}30%{transform:perspective(400px) rotate3d(1,0,0,-20deg);opacity:1}to{transform:perspective(400px) rotate3d(1,0,0,90deg);opacity:0}}","flip-out-y":"{from{transform:perspective(400px)}30%{transform:perspective(400px) rotate3d(0,1,0,-15deg);opacity:1}to{transform:perspective(400px) rotate3d(0,1,0,90deg);opacity:0}}","rotate-in":"{from{transform-origin:center;transform:rotate3d(0,0,1,-200deg);opacity:0}to{transform-origin:center;transform:translate3d(0,0,0);opacity:1}}","rotate-in-down-left":"{from{transform-origin:left bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}to{transform-origin:left bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-in-down-right":"{from{transform-origin:right bottom;transform:rotate3d(0,0,1,45deg);opacity:0}to{transform-origin:right bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-in-up-left":"{from{transform-origin:left top;transform:rotate3d(0,0,1,45deg);opacity:0}to{transform-origin:left top;transform:translate3d(0,0,0);opacity:1}}","rotate-in-up-right":"{from{transform-origin:right bottom;transform:rotate3d(0,0,1,-90deg);opacity:0}to{transform-origin:right bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-out":"{from{transform-origin:center;opacity:1}to{transform-origin:center;transform:rotate3d(0,0,1,200deg);opacity:0}}","rotate-out-down-left":"{from{transform-origin:left bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,45deg);opacity:0}}","rotate-out-down-right":"{from{transform-origin:right bottom;opacity:1}to{transform-origin:right bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}}","rotate-out-up-left":"{from{transform-origin:left bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}}","rotate-out-up-right":"{from{transform-origin:right bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,90deg);opacity:0}}","roll-in":"{from{opacity:0;transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;transform:translate3d(0,0,0)}}","roll-out":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}","zoom-in":"{from{opacity:0;transform:scale3d(0.3,0.3,0.3)}50%{opacity:1}}","zoom-in-down":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,-1000px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-left":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(-1000px,0,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(10px,0,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-right":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(1000px,0,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(-10px,0,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-up":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,1000px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-out":"{from{opacity:1}50%{opacity:0;transform:scale3d(0.3,0.3,0.3)}to{opacity:0}}","zoom-out-down":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}to{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,2000px,0);transform-origin:center bottom;animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-out-left":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(42px,0,0)}to{opacity:0;transform:scale(0.1) translate3d(-2000px,0,0);transform-origin:left center}}","zoom-out-right":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(-42px,0,0)}to{opacity:0;transform:scale(0.1) translate3d(2000px,0,0);transform-origin:right center}}","zoom-out-up":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}to{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,-2000px,0);transform-origin:center bottom;animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","bounce-in":"{from,20%,40%,60%,80%,to{animation-timing-function:ease-in-out}0%{opacity:0;transform:scale3d(0.3,0.3,0.3)}20%{transform:scale3d(1.1,1.1,1.1)}40%{transform:scale3d(0.9,0.9,0.9)}60%{transform:scale3d(1.03,1.03,1.03);opacity:1}80%{transform:scale3d(0.97,0.97,0.97)}to{opacity:1;transform:scale3d(1,1,1)}}","bounce-in-down":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:translate3d(0,0,0)}}","bounce-in-left":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:translate3d(0,0,0)}}","bounce-in-right":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:translate3d(0,0,0)}}","bounce-in-up":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translate3d(0,0,0)}}","bounce-out":"{20%{transform:scale3d(0.9,0.9,0.9)}50%,55%{opacity:1;transform:scale3d(1.1,1.1,1.1)}to{opacity:0;transform:scale3d(0.3,0.3,0.3)}}","bounce-out-down":"{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}","bounce-out-left":"{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}","bounce-out-right":"{20%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(2000px,0,0)}}","bounce-out-up":"{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}","slide-in-down":"{from{transform:translate3d(0,-100%,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-left":"{from{transform:translate3d(-100%,0,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-right":"{from{transform:translate3d(100%,0,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-up":"{from{transform:translate3d(0,100%,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-out-down":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(0,100%,0)}}","slide-out-left":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(-100%,0,0)}}","slide-out-right":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(100%,0,0)}}","slide-out-up":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(0,-100%,0)}}","fade-in":"{from{opacity:0}to{opacity:1}}","fade-in-down":"{from{opacity:0;transform:translate3d(0,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-down-big":"{from{opacity:0;transform:translate3d(0,-2000px,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-left":"{from{opacity:0;transform:translate3d(-100%,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-left-big":"{from{opacity:0;transform:translate3d(-2000px,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-right":"{from{opacity:0;transform:translate3d(100%,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-right-big":"{from{opacity:0;transform:translate3d(2000px,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-up":"{from{opacity:0;transform:translate3d(0,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-up-big":"{from{opacity:0;transform:translate3d(0,2000px,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-top-left":"{from{opacity:0;transform:translate3d(-100%,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-top-right":"{from{opacity:0;transform:translate3d(100%,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-bottom-left":"{from{opacity:0;transform:translate3d(-100%,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-bottom-right":"{from{opacity:0;transform:translate3d(100%,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-out":"{from{opacity:1}to{opacity:0}}","fade-out-down":"{from{opacity:1}to{opacity:0;transform:translate3d(0,100%,0)}}","fade-out-down-big":"{from{opacity:1}to{opacity:0;transform:translate3d(0,2000px,0)}}","fade-out-left":"{from{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0)}}","fade-out-left-big":"{from{opacity:1}to{opacity:0;transform:translate3d(-2000px,0,0)}}","fade-out-right":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0)}}","fade-out-right-big":"{from{opacity:1}to{opacity:0;transform:translate3d(2000px,0,0)}}","fade-out-up":"{from{opacity:1}to{opacity:0;transform:translate3d(0,-100%,0)}}","fade-out-up-big":"{from{opacity:1}to{opacity:0;transform:translate3d(0,-2000px,0)}}","fade-out-top-left":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(-100%,-100%,0)}}","fade-out-top-right":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(100%,-100%,0)}}","fade-out-bottom-left":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(-100%,100%,0)}}","fade-out-bottom-right":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(100%,100%,0)}}","back-in-up":"{0%{opacity:0.7;transform:translateY(1200px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-down":"{0%{opacity:0.7;transform:translateY(-1200px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-right":"{0%{opacity:0.7;transform:translateX(2000px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-left":"{0%{opacity:0.7;transform:translateX(-2000px) scale(0.7)}80%{opacity:0.7;transform:translateX(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-out-up":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateY(-700px) scale(0.7)}}","back-out-down":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateY(700px) scale(0.7)}}","back-out-right":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateX(2000px) scale(0.7)}}","back-out-left":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateX(-2000px) scale(0.7)}100%{opacity:0.7;transform:translateY(-700px) scale(0.7)}}"},durations:{pulse:"2s","heart-beat":"1.3s","bounce-in":"0.75s","bounce-out":"0.75s","flip-out-x":"0.75s","flip-out-y":"0.75s",hinge:"2s"},timingFns:{pulse:"cubic-bezier(0.4,0,.6,1)",ping:"cubic-bezier(0,0,.2,1)","head-shake":"ease-in-out","heart-beat":"ease-in-out","pulse-alt":"ease-in-out","light-speed-in-left":"ease-out","light-speed-in-right":"ease-out","light-speed-out-left":"ease-in","light-speed-out-right":"ease-in"},properties:{"bounce-alt":{"transform-origin":"center bottom"},jello:{"transform-origin":"center"},swing:{"transform-origin":"top center"},flip:{"backface-visibility":"visible"},"flip-in-x":{"backface-visibility":"visible !important"},"flip-in-y":{"backface-visibility":"visible !important"},"flip-out-x":{"backface-visibility":"visible !important"},"flip-out-y":{"backface-visibility":"visible !important"},"rotate-in":{"transform-origin":"center"},"rotate-in-down-left":{"transform-origin":"left bottom"},"rotate-in-down-right":{"transform-origin":"right bottom"},"rotate-in-up-left":{"transform-origin":"left bottom"},"rotate-in-up-right":{"transform-origin":"right bottom"},"rotate-out":{"transform-origin":"center"},"rotate-out-down-left":{"transform-origin":"left bottom"},"rotate-out-down-right":{"transform-origin":"right bottom"},"rotate-out-up-left":{"transform-origin":"left bottom"},"rotate-out-up-right":{"transform-origin":"right bottom"},hinge:{"transform-origin":"top left"},"zoom-out-down":{"transform-origin":"center bottom"},"zoom-out-left":{"transform-origin":"left center"},"zoom-out-right":{"transform-origin":"right center"},"zoom-out-up":{"transform-origin":"center bottom"}},counts:{spin:"infinite",ping:"infinite",pulse:"infinite","pulse-alt":"infinite",bounce:"infinite","bounce-alt":"infinite"},category:{pulse:"Attention Seekers",bounce:"Attention Seekers",spin:"Attention Seekers",ping:"Attention Seekers","bounce-alt":"Attention Seekers",flash:"Attention Seekers","pulse-alt":"Attention Seekers","rubber-band":"Attention Seekers","shake-x":"Attention Seekers","shake-y":"Attention Seekers","head-shake":"Attention Seekers",swing:"Attention Seekers",tada:"Attention Seekers",wobble:"Attention Seekers",jello:"Attention Seekers","heart-beat":"Attention Seekers",hinge:"Specials","jack-in-the-box":"Specials","light-speed-in-left":"Lightspeed","light-speed-in-right":"Lightspeed","light-speed-out-left":"Lightspeed","light-speed-out-right":"Lightspeed",flip:"Flippers","flip-in-x":"Flippers","flip-in-y":"Flippers","flip-out-x":"Flippers","flip-out-y":"Flippers","rotate-in":"Rotating Entrances","rotate-in-down-left":"Rotating Entrances","rotate-in-down-right":"Rotating Entrances","rotate-in-up-left":"Rotating Entrances","rotate-in-up-right":"Rotating Entrances","rotate-out":"Rotating Exits","rotate-out-down-left":"Rotating Exits","rotate-out-down-right":"Rotating Exits","rotate-out-up-left":"Rotating Exits","rotate-out-up-right":"Rotating Exits","roll-in":"Specials","roll-out":"Specials","zoom-in":"Zooming Entrances","zoom-in-down":"Zooming Entrances","zoom-in-left":"Zooming Entrances","zoom-in-right":"Zooming Entrances","zoom-in-up":"Zooming Entrances","zoom-out":"Zooming Exits","zoom-out-down":"Zooming Exits","zoom-out-left":"Zooming Exits","zoom-out-right":"Zooming Exits","zoom-out-up":"Zooming Exits","bounce-in":"Bouncing Entrances","bounce-in-down":"Bouncing Entrances","bounce-in-left":"Bouncing Entrances","bounce-in-right":"Bouncing Entrances","bounce-in-up":"Bouncing Entrances","bounce-out":"Bouncing Exits","bounce-out-down":"Bouncing Exits","bounce-out-left":"Bouncing Exits","bounce-out-right":"Bouncing Exits","bounce-out-up":"Bouncing Exits","slide-in-down":"Sliding Entrances","slide-in-left":"Sliding Entrances","slide-in-right":"Sliding Entrances","slide-in-up":"Sliding Entrances","slide-out-down":"Sliding Exits","slide-out-left":"Sliding Exits","slide-out-right":"Sliding Exits","slide-out-up":"Sliding Exits","fade-in":"Fading Entrances","fade-in-down":"Fading Entrances","fade-in-down-big":"Fading Entrances","fade-in-left":"Fading Entrances","fade-in-left-big":"Fading Entrances","fade-in-right":"Fading Entrances","fade-in-right-big":"Fading Entrances","fade-in-up":"Fading Entrances","fade-in-up-big":"Fading Entrances","fade-in-top-left":"Fading Entrances","fade-in-top-right":"Fading Entrances","fade-in-bottom-left":"Fading Entrances","fade-in-bottom-right":"Fading Entrances","fade-out":"Fading Exits","fade-out-down":"Fading Exits","fade-out-down-big":"Fading Exits","fade-out-left":"Fading Exits","fade-out-left-big":"Fading Exits","fade-out-right":"Fading Exits","fade-out-right-big":"Fading Exits","fade-out-up":"Fading Exits","fade-out-up-big":"Fading Exits","fade-out-top-left":"Fading Exits","fade-out-top-right":"Fading Exits","fade-out-bottom-left":"Fading Exits","fade-out-bottom-right":"Fading Exits","back-in-up":"Back Entrances","back-in-down":"Back Entrances","back-in-right":"Back Entrances","back-in-left":"Back Entrances","back-out-up":"Back Exits","back-out-down":"Back Exits","back-out-right":"Back Exits","back-out-left":"Back Exits"}},media:{portrait:"(orientation: portrait)",landscape:"(orientation: landscape)",os_dark:"(prefers-color-scheme: dark)",os_light:"(prefers-color-scheme: light)",motion_ok:"(prefers-reduced-motion: no-preference)",motion_not_ok:"(prefers-reduced-motion: reduce)",high_contrast:"(prefers-contrast: high)",low_contrast:"(prefers-contrast: low)",opacity_ok:"(prefers-reduced-transparency: no-preference)",opacity_not_ok:"(prefers-reduced-transparency: reduce)",use_data_ok:"(prefers-reduced-data: no-preference)",use_data_not_ok:"(prefers-reduced-data: reduce)",touch:"(hover: none) and (pointer: coarse)",stylus:"(hover: none) and (pointer: fine)",pointer:"(hover) and (pointer: coarse)",mouse:"(hover) and (pointer: fine)",hd_color:"(dynamic-range: high)"},supports:{grid:"(display: grid)"},preflightBase:{...Bt,...yn,...gn,...xn,...bn,...Ft,...Lt,...mn,...hn}};var xc={name:"aria",match(t,e){let r=(0,R.variantGetParameter)("aria-",t,e.generator.config.separators);if(r){let[n,o]=r,i=f.bracket(n)??e.theme.aria?.[n]??"";if(i)return{matcher:o,selector:a=>`${a}[aria-${i}]`}}},multiPass:!0};function _r(t,e,r={}){return{name:`${t}-aria`,match(n,o){let i=(0,R.variantGetParameter)(`${t}-aria-`,n,o.generator.config.separators);if(i){let[a,s,c]=i,l=f.bracket(a)??o.theme.aria?.[a]??"";if(l){let u=!!r?.attributifyPseudo,d=r?.prefix??"";d=(Array.isArray(d)?d:[d]).filter(Boolean)[0]??"";let p=`${u?`[${d}${t}=""]`:`.${d}${t}`}`,h=Z(c?`/${c}`:"");return{matcher:s,handle:(m,x)=>{let w=new RegExp(`${K(p)}${K(h)}(?:\\[.+?\\])+`),k=m.prefix.match(w),y;if(k){let b=(k.index??0)+p.length+h.length;y=[m.prefix.slice(0,b),`[aria-${l}]`,m.prefix.slice(b)].join("")}else{let b=Math.max(m.prefix.indexOf(p),0);y=[m.prefix.slice(0,b),p,h,`[aria-${l}]`,e,m.prefix.slice(b)].join("")}return x({...m,prefix:y})}}}}},multiPass:!0}}function vc(){return{name:"has-aria",match(t,e){let r=(0,R.variantGetParameter)("has-aria-",t,e.generator.config.separators);if(r){let[n,o]=r,i=f.bracket(n)??e.theme.aria?.[n]??"";if(i)return{matcher:o,handle:(a,s)=>s({...a,pseudo:`${a.pseudo}:has([aria-${i}])`})}}},multiPass:!0}}function $c(t={}){return[_r("group"," ",t),_r("peer","~",t),_r("parent",">",t),_r("previous","+",t),vc()]}var xi=/(max|min)-\[([^\]]*)\]:/;function wc(){let t={};return{name:"breakpoints",match(e,r){if(xi.test(e)){let o=e.match(xi);return{matcher:e.replace(o[0],""),handle:(i,a)=>a({...i,parent:`${i.parent?`${i.parent} $$ `:""}@media (${o[1]}-width: ${o[2]})`})}}let n=(Q(r)??[]).map(({point:o,size:i},a)=>[o,i,a]);for(let[o,i,a]of n){t[o]||(t[o]=new RegExp(`^((?:([al]t-|[<~]|max-))?${o}(?:${r.generator.config.separators.join("|")}))`));let s=e.match(t[o]);if(!s)continue;let[,c]=s,l=e.slice(c.length);if(l==="container")continue;let u=c.startsWith("lt-")||c.startsWith("<")||c.startsWith("max-"),d=c.startsWith("at-")||c.startsWith("~"),p=3e3;return u?(p-=a+1,{matcher:l,handle:(h,m)=>m({...h,parent:`${h.parent?`${h.parent} $$ `:""}@media (max-width: ${(0,R.calcMaxWidthBySize)(i)})`,parentOrder:p})}):(p+=a+1,d&&a<n.length-1?{matcher:l,handle:(h,m)=>m({...h,parent:`${h.parent?`${h.parent} $$ `:""}@media (min-width: ${i}) and (max-width: ${(0,R.calcMaxWidthBySize)(n[a+1][1])})`,parentOrder:p})}:{matcher:l,handle:(h,m)=>m({...h,parent:`${h.parent?`${h.parent} $$ `:""}@media (min-width: ${i})`,parentOrder:p})})}},multiPass:!0,autocomplete:"(at-|lt-|max-|)$breakpoints:"}}var kc=[(0,R.variantMatcher)("*",t=>({selector:`${t.selector} > *`}),{order:-1})];function Qt(t,e){return{name:`combinator:${t}`,match(r,n){if(!r.startsWith(t))return;let o=n.generator.config.separators,i=(0,R.variantGetBracket)(`${t}-`,r,o);if(!i){for(let s of o)if(r.startsWith(`${t}${s}`)){i=["",r.slice(t.length+s.length)];break}if(!i)return}let a=f.bracket(i[0])??"";return a===""&&(a="*"),{matcher:i[1],selector:s=>`${s}${e}${a}`}},multiPass:!0}}var Sc=[Qt("all"," "),Qt("children",">"),Qt("next","+"),Qt("sibling","+"),Qt("siblings","~")],Cc={name:"@",match(t,e){if(t.startsWith("@container"))return;let r=(0,R.variantGetParameter)("@",t,e.generator.config.separators);if(r){let[n,o,i]=r,a=f.bracket(n),s;if(a?s=f.numberWithUnit(a):s=e.theme.containers?.[n]??"",s){let c=1e3+Object.keys(e.theme.containers??{}).indexOf(n);return i&&(c+=1e3),{matcher:o,handle:(l,u)=>u({...l,parent:`${l.parent?`${l.parent} $$ `:""}@container${i?` ${i} `:" "}(min-width: ${s})`,parentOrder:c})}}}},multiPass:!0};function Ec(t={}){if(t?.dark==="class"||typeof t.dark=="object"){let{dark:e=".dark",light:r=".light"}=typeof t.dark=="string"?{}:t.dark;return[(0,R.variantMatcher)("dark",j(e).map(n=>o=>({prefix:`${n} $$ ${o.prefix}`}))),(0,R.variantMatcher)("light",j(r).map(n=>o=>({prefix:`${n} $$ ${o.prefix}`})))]}return[(0,R.variantParentMatcher)("dark","@media (prefers-color-scheme: dark)"),(0,R.variantParentMatcher)("light","@media (prefers-color-scheme: light)")]}var zc={name:"data",match(t,e){let r=(0,R.variantGetParameter)("data-",t,e.generator.config.separators);if(r){let[n,o]=r,i=f.bracket(n)??e.theme.data?.[n]??"";if(i)return{matcher:o,selector:a=>`${a}[data-${i}]`}}},multiPass:!0};function Ar(t,e,r={}){return{name:`${t}-data`,match(n,o){let i=(0,R.variantGetParameter)(`${t}-data-`,n,o.generator.config.separators);if(i){let[a,s,c]=i,l=f.bracket(a)??o.theme.data?.[a]??"";if(l){let u=!!r?.attributifyPseudo,d=r?.prefix??"";d=(Array.isArray(d)?d:[d]).filter(Boolean)[0]??"";let p=`${u?`[${d}${t}=""]`:`.${d}${t}`}`,h=Z(c?`/${c}`:"");return{matcher:s,handle:(m,x)=>{let w=new RegExp(`${K(p)}${K(h)}(?:\\[.+?\\])+`),k=m.prefix.match(w),y;if(k){let b=(k.index??0)+p.length+h.length;y=[m.prefix.slice(0,b),`[data-${l}]`,m.prefix.slice(b)].join("")}else{let b=Math.max(m.prefix.indexOf(p),0);y=[m.prefix.slice(0,b),p,h,`[data-${l}]`,e,m.prefix.slice(b)].join("")}return x({...m,prefix:y})}}}}},multiPass:!0}}function jc(){return{name:"has-data",match(t,e){let r=(0,R.variantGetParameter)("has-data-",t,e.generator.config.separators);if(r){let[n,o]=r,i=f.bracket(n)??e.theme.data?.[n]??"";if(i)return{matcher:o,handle:(a,s)=>s({...a,pseudo:`${a.pseudo}:has([data-${i}])`})}}},multiPass:!0}}function _c(t={}){return[Ar("group"," ",t),Ar("peer","~",t),Ar("parent",">",t),Ar("previous","+",t),jc()]}var Ac=[(0,R.variantMatcher)("rtl",t=>({prefix:`[dir="rtl"] $$ ${t.prefix}`})),(0,R.variantMatcher)("ltr",t=>({prefix:`[dir="ltr"] $$ ${t.prefix}`}))];function Rc(){let t;return{name:"important",match(e,r){t||(t=new RegExp(`^(important(?:${r.generator.config.separators.join("|")})|!)`));let n,o=e.match(t);if(o?n=e.slice(o[0].length):e.endsWith("!")&&(n=e.slice(0,-1)),n)return{matcher:n,body:i=>(i.forEach(a=>{a[1]!=null&&(a[1]+=" !important")}),i)}}}}var Mc=(0,R.variantParentMatcher)("print","@media print"),Oc={name:"media",match(t,e){let r=(0,R.variantGetParameter)("media-",t,e.generator.config.separators);if(r){let[n,o]=r,i=f.bracket(n)??"";if(i===""&&(i=e.theme.media?.[n]??""),i)return{matcher:o,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@media ${i}`})}}},multiPass:!0},Pc={name:"selector",match(t,e){let r=(0,R.variantGetBracket)("selector-",t,e.generator.config.separators);if(r){let[n,o]=r,i=f.bracket(n);if(i)return{matcher:o,selector:()=>i}}}},Lc={name:"layer",match(t,e){let r=(0,R.variantGetParameter)("layer-",t,e.generator.config.separators);if(r){let[n,o]=r,i=f.bracket(n)??n;if(i)return{matcher:o,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@layer ${i}`})}}}},Fc={name:"uno-layer",match(t,e){let r=(0,R.variantGetParameter)("uno-layer-",t,e.generator.config.separators);if(r){let[n,o]=r,i=f.bracket(n)??n;if(i)return{matcher:o,layer:i}}}},Bc={name:"scope",match(t,e){let r=(0,R.variantGetBracket)("scope-",t,e.generator.config.separators);if(r){let[n,o]=r,i=f.bracket(n);if(i)return{matcher:o,selector:a=>`${i} $$ ${a}`}}}},Tc={name:"variables",match(t,e){if(!t.startsWith("["))return;let[r,n]=(0,R.getBracket)(t,"[","]")??[];if(!(r&&n))return;let o;for(let s of e.generator.config.separators)if(n.startsWith(s)){o=n.slice(s.length);break}if(o==null)return;let i=f.bracket(r)??"",a=i.startsWith("@");if(a||i.includes("&"))return{matcher:o,handle(s,c){let l=a?{parent:`${s.parent?`${s.parent} $$ `:""}${i}`}:{selector:i.replace(/&/g,s.selector)};return c({...s,...l})}}},multiPass:!0},Wc={name:"theme-variables",match(t,e){if((0,R.hasThemeFn)(t))return{matcher:t,handle(r,n){return n({...r,entries:JSON.parse((0,R.transformThemeFn)(JSON.stringify(r.entries),e.theme))})}}}},vi=/^-?[0-9.]+(?:[a-z]+|%)?$/,$i=/-?[0-9.]+(?:[a-z]+|%)?/,Nc=[/\b(opacity|color|flex|backdrop-filter|^filter|transform)\b/];function Ic(t){let e=t.match(Ct)||t.match(Ut);if(e){let[r,n]=$t(`(${e[2]})${e[3]}`,"(",")"," ")??[];if(r)return`calc(${e[1]}${r} * -1)${n?` ${n}`:""}`}}var Uc=/\b(hue-rotate)\s*(\(.*)/;function Dc(t){let e=t.match(Uc);if(e){let[r,n]=$t(e[2],"(",")"," ")??[];if(r){let o=vi.test(r.slice(1,-1))?r.replace($i,i=>i.startsWith("-")?i.slice(1):`-${i}`):`(calc(${r} * -1))`;return`${e[1]}${o}${n?` ${n}`:""}`}}}var Vc={name:"negative",match(t){if(t.startsWith("-"))return{matcher:t.slice(1),body:e=>{if(e.find(n=>n[0]===Dt))return;let r=!1;return e.forEach(n=>{let o=n[1]?.toString();if(!o||o==="0"||Nc.some(s=>s.test(n[0])))return;let i=Ic(o);if(i){n[1]=i,r=!0;return}let a=Dc(o);if(a){n[1]=a,r=!0;return}vi.test(o)&&(n[1]=o.replace($i,s=>s.startsWith("-")?s.slice(1):`-${s}`),r=!0)}),r?e:[]}}}};function Gc(){return Xr({getBracket:lt.getBracket,h:f,variantGetBracket:lt.variantGetBracket})}function qc(){return Kr({getBracket:lt.getBracket,h:f,variantGetBracket:lt.variantGetBracket})}function Hc(t={}){return Zr(t,{getBracket:lt.getBracket,h:f,variantGetBracket:lt.variantGetBracket})}var Yc=Jr(),Xc={name:"starting",match(t){if(t.startsWith("starting:"))return{matcher:t.slice(9),handle:(e,r)=>r({...e,parent:"@starting-style"})}}},Kc={name:"supports",match(t,e){let r=(0,R.variantGetParameter)("supports-",t,e.generator.config.separators);if(r){let[n,o]=r,i=f.bracket(n)??"";if(i===""&&(i=e.theme.supports?.[n]??""),i)return i.startsWith("(")&&i.endsWith(")")||(i=`(${i})`),{matcher:o,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@supports ${i}`})}}},multiPass:!0};function Rr(t){return[xc,zc,Lc,Pc,Fc,Vc,Xc,Rc(),Kc,Mc,Oc,wc(),...Sc,...Gc(),qc(),...Hc(t),Yc,...Ec(t),...Ac,Bc,...kc,Cc,Tc,..._c(t),...$c(t),Wc]}var Zc=[St("svg",t=>({selector:`${t.selector} svg`}))],Jc=[St(".dark",t=>({prefix:`.dark $$ ${t.prefix}`})),St(".light",t=>({prefix:`.light $$ ${t.prefix}`})),rt("@dark","@media (prefers-color-scheme: dark)"),rt("@light","@media (prefers-color-scheme: light)")],Qc=[rt("contrast-more","@media (prefers-contrast: more)"),rt("contrast-less","@media (prefers-contrast: less)")],tl=[rt("motion-reduce","@media (prefers-reduced-motion: reduce)"),rt("motion-safe","@media (prefers-reduced-motion: no-preference)")],el=[rt("landscape","@media (orientation: landscape)"),rt("portrait","@media (orientation: portrait)")],rl=t=>{if(!t.startsWith("_")&&(/space-[xy]-.+$/.test(t)||/divide-/.test(t)))return{matcher:t,selector:e=>{let r=">:not([hidden])~:not([hidden])";return e.includes(r)?e:`${e}${r}`}}},nl=[St("@hover",t=>({parent:`${t.parent?`${t.parent} $$ `:""}@media (hover: hover) and (pointer: fine)`,selector:`${t.selector||""}:hover`}))];function wi(t,e,r){return`calc(${e} + (${t} - ${e}) * ${r} / 100)`}function ki(t,e,r){let n=[t,e],o=[];for(let a=0;a<2;a++){let s=typeof n[a]=="string"?J(n[a]):n[a];if(!s||!["rgb","rgba"].includes(s.type))return;o.push(s)}let i=[];for(let a=0;a<3;a++)i.push(wi(o[0].components[a],o[1].components[a],r));return{type:"rgb",components:i,alpha:wi(o[0].alpha??1,o[1].alpha??1,r)}}function Si(t,e){return ki("#fff",t,e)}function Ci(t,e){return ki("#000",t,e)}function ol(t,e){let r=Number.parseFloat(`${e}`);if(!Number.isNaN(r))return r>0?Ci(t,e):Si(t,-r)}var il={tint:Si,shade:Ci,shift:ol};function al(){let t;return{name:"mix",match(e,r){t||(t=new RegExp(`^mix-(tint|shade|shift)-(-?\\d{1,3})(?:${r.generator.config.separators.join("|")})`));let n=e.match(t);if(n)return{matcher:e.slice(n[0].length),body:o=>(o.forEach(i=>{if(i[1]){let a=J(`${i[1]}`);if(a){let s=il[n[1]](a,n[2]);s&&(i[1]=W(s))}}}),o)}}}}var sl=(t,{theme:e})=>{let r=t.match(/^(.*)\b(placeholder-)(.+)$/);if(r){let[,n="",o,i]=r;if(gt(i,e,"accentColor")||cl(i))return{matcher:`${n}placeholder-$ ${o}${i}`}}};function cl(t){let e=t.match(/^op(?:acity)?-?(.+)$/);return e&&e[1]!=null?f.bracket.percent(e[1])!=null:!1}function Ei(t){return[sl,rl,...Rr(t),...Qc,...el,...tl,...Zc,...Jc,...nl,al()]}function ll(t){let e,r,n=2166136261;for(e=0,r=t.length;e<r;e++)n^=t.charCodeAt(e),n+=(n<<1)+(n<<4)+(n<<7)+(n<<8)+(n<<24);return`00000${(n>>>0).toString(36)}`.slice(-6)}function fl(t,e,r,n){for(let o of Array.from(t.matchAll(r)))if(o!=null){let i=o[0],a=`${n}${ll(i)}`;e.set(a,i),t=t.replace(i,a)}return t}function ul(t,e){for(let[r,n]of e.entries())t=t.replaceAll(r,n);return t}var dl=/\/\/#\s*sourceMappingURL=.*\n?/g;function pl(t){return t.includes("sourceMappingURL=")?t.replace(dl,""):t}var ml=/(?:[\w&:[\]-]|\[\S{1,64}=\S{1,64}\]){1,64}\[\\?['"]?\S{1,64}?['"]\]\]?[\w:-]{0,64}/g,hl=/\[(\\\W|[\w-]){1,64}:[^\s:]{0,64}?("\S{1,64}?"|'\S{1,64}?'|`\S{1,64}?`|[^\s:]{1,64}?)[^\s:]{0,64}?\)?\]/g,gl=/^\[(?:\\\W|[\w-]){1,64}:['"]?\S{1,64}?['"]?\]$/;function bl(t){let e=[];for(let o of t.matchAll(hl))o.index!==0&&!/^[\s'"`]/.test(t[o.index-1]??"")||e.push(o[0]);for(let o of t.matchAll(ml))e.push(o[0]);let r=new Map,n="@unocss-skip-arbitrary-brackets";return t=fl(t,r,/-\[(?!&.+?;)[^\]]*\]/g,n),t&&t.split(Fr).forEach(o=>{o.includes(n)&&(o=ul(o,r)),Bn(o)&&!gl.test(o)&&e.push(o)}),e}function zi(){return{name:"@unocss/extractor-arbitrary-variants",order:0,extract({code:t}){return bl(pl(t))}}}function ji(t){if(t.preflight)return[{layer:"preflights",getCSS({theme:e,generator:r}){if(e.preflightBase){let n=Object.entries(e.preflightBase);if(t.preflight==="on-demand"){let o=new Set(Array.from(r.activatedRules).map(i=>i[2]?.custom?.preflightKeys).filter(Boolean).flat());n=n.filter(([i])=>o.has(i))}if(n.length>0){let o=Tt(n);return t.variablePrefix!=="un-"&&(o=o.replace(/--un-/g,`--${t.variablePrefix}`)),j(e.preflightRoot??["*,::before,::after","::backdrop"]).map(i=>`${i}{${o}}`).join("")}}}}]}var xl={position:["relative","absolute","fixed","sticky","static"],globalKeyword:M},En=(t={})=>(t.dark=t.dark??"class",t.attributifyPseudo=t.attributifyPseudo??!1,t.preflight=t.preflight??!0,t.variablePrefix=t.variablePrefix??"un-",{name:"@unocss/preset-mini",theme:Jt,rules:cn,variants:Rr(t),options:t,prefix:t.prefix,postprocess:vl(t.variablePrefix),preflights:ji(t),extractorDefault:t.arbitraryVariants===!1?void 0:zi(),autocomplete:{shorthands:xl}}),_i=En;function vl(t){if(t!=="un-")return e=>{e.entries.forEach(r=>{r[0]=r[0].replace(/^--un-/,`--${t}`),typeof r[1]=="string"&&(r[1]=r[1].replace(/var\(--un-/g,`var(--${t}`))})}}function $l(t){if(t==null||t===!1)return[];let e=r=>r.startsWith(":is(")&&r.endsWith(")")?r:r.includes("::")?r.replace(/(.*?)((?:\s\*)?::.*)/,":is($1)$2"):`:is(${r})`;return[t===!0?r=>{r.entries.forEach(n=>{n[1]!=null&&!String(n[1]).endsWith("!important")&&(n[1]+=" !important")})}:r=>{r.selector.startsWith(t)||(r.selector=`${t} ${e(r.selector)}`)}]}function wl(t){return[...j(_i(t).postprocess),...$l(t.important)]}var Ai=(t={})=>(t.important=t.important??!1,{...En(t),name:"@unocss/preset-wind3",theme:yi,rules:Go,shortcuts:qo,variants:Ei(t),postprocess:wl(t)});var kl=(t={})=>({...Ai(t),name:"@unocss/preset-uno"}),Ri=kl;function Sl(t){return t.replace(/-(\w)/g,(e,r)=>r?r.toUpperCase():"")}function Mi(t){return t.charAt(0).toUpperCase()+t.slice(1)}function Oi(t){return t.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}var Pi=["Webkit","Moz","ms"];function Li(t){let e={};function r(n){let o=e[n];if(o)return o;let i=Sl(n);if(i!=="filter"&&i in t)return e[n]=Oi(i);i=Mi(i);for(let a=0;a<Pi.length;a++){let s=`${Pi[a]}${i}`;if(s in t)return e[n]=Oi(Mi(s))}return n}return({entries:n})=>n.forEach(o=>{o[0].startsWith("--")||(o[0]=r(o[0]))})}function Fi(t){return t.replace(/&/g,"&").replace(/>/g,">").replace(/</g,"<")}async function zn(t={}){if(typeof window>"u"){console.warn("@unocss/runtime been used in non-browser environment, skipped.");return}let e=window,r=window.document,n=()=>r.documentElement,o=e.__unocss||{},i=Object.assign({},t,o.runtime),a=i.defaults||{},s=i.cloakAttribute??"un-cloak";i.autoPrefix&&(a.postprocess=j(a.postprocess)).unshift(Li(r.createElement("div").style)),i.configResolved?.(o,a);let c=await Dn(o,a),l=$=>{let _=t.rootElement?.();if(_){_.appendChild($);return}i.inject?i.inject($):n().prepend($)},u=()=>i.rootElement?i.rootElement():r.body,d=new Map,p=!0,h=new Set,m,x,w=[],k=()=>new Promise($=>{w.push($),x!=null&&clearTimeout(x),x=setTimeout(()=>g().then(()=>{let _=w;w=[],_.forEach(P=>P())}),0)});function y($,_=!1){if($.nodeType!==1)return;let P=$;P.hasAttribute(s)&&P.removeAttribute(s),_&&P.querySelectorAll(`[${s}]`).forEach(T=>{T.removeAttribute(s)})}function b($,_){let P=d.get($);if(!P)if(P=r.createElement("style"),P.setAttribute("data-unocss-runtime-layer",$),d.set($,P),_==null)l(P);else{let T=b(_),G=T.parentNode;G?G.insertBefore(P,T.nextSibling):l(P)}return P}async function g(){let $=[...h],_=await c.generate($);return _.layers.reduce((T,G)=>(b(G,T).innerHTML=_.getLayer(G)??"",G),void 0),$.filter(T=>!_.matched.has(T)).forEach(T=>h.delete(T)),{..._,getStyleElement:T=>d.get(T),getStyleElements:()=>d}}async function v($){let _=h.size;await c.applyExtractors($,void 0,h),_!==h.size&&await k()}async function L($=u()){let _=$&&$.outerHTML;_&&(await v(`${_} ${Fi(_)}`),y(n()),y($,!0))}let H=new MutationObserver($=>{p||$.forEach(async _=>{if(_.target.nodeType!==1)return;let P=_.target;for(let T of d)if(P===T[1])return;if(_.type==="childList")_.addedNodes.forEach(async T=>{if(T.nodeType!==1)return;let G=T;m&&!m(G)||(await v(G.outerHTML),y(G))});else{if(m&&!m(P))return;if(_.attributeName!==s){let T=Array.from(P.attributes).map(vt=>vt.value?`${vt.name}="${vt.value}"`:vt.name).join(" "),G=`<${P.tagName.toLowerCase()} ${T}>`;await v(G)}y(P)}})}),C=!1;function E(){if(C)return;let $=i.observer?.target?i.observer.target():u();$&&(H.observe($,{childList:!0,subtree:!0,attributes:!0,attributeFilter:i.observer?.attributeFilter}),C=!0)}function z(){i.bypassDefined&&Cl(c.blocked),L(),E()}function V(){r.readyState==="loading"?e.addEventListener("DOMContentLoaded",z):z()}let D=e.__unocss_runtime=e.__unocss_runtime={version:c.version,uno:c,async extract($){F($)||($.forEach(_=>h.add(_)),$=""),await v($)},extractAll:L,inspect($){m=$},toggleObserver($){$===void 0?p=!p:p=!!$,!C&&!p&&V()},update:g,presets:e.__unocss_runtime?.presets??{}};i.ready?.(D)!==!1&&(p=!1,V())}function Cl(t=new Set){for(let e=0;e<document.styleSheets.length;e++){let r=document.styleSheets[e],n;try{if(n=r.cssRules||r.rules,!n)continue;Array.from(n).flatMap(o=>o.selectorText?.split(/,/g)||[]).forEach(o=>{o&&(o=o.trim(),o.startsWith(".")&&(o=o.slice(1)),t.add(o))})}catch{continue}}return t}zn({defaults:{presets:[Ri()]}});})();
|