@unocss/runtime 66.6.0-beta.1 → 66.6.1
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 +4 -4
- package/core.global.js +1 -1
- package/full.global.js +4 -4
- package/mini.global.js +4 -4
- package/package.json +4 -4
- package/preset-icons.global.js +1 -1
- package/preset-mini.global.js +3 -3
- package/preset-typography.global.js +1 -1
- package/preset-uno.global.js +3 -3
- package/preset-wind.global.js +3 -3
- package/preset-wind3.global.js +3 -3
- package/preset-wind4.global.js +6 -6
- package/uno.global.js +4 -4
package/attributify.global.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
"use strict";(()=>{var Gi=Object.defineProperty;var qi=(t,e)=>{for(var r in e)Gi(t,r,{get:e[r],enumerable:!0})};var ie="default",Fr="preflights",Hi="shortcuts",Yi="imports",Xi={[Yi]:-200,[Fr]:-100,[Hi]:-10,[ie]:0},Br=/[\\:]?[\s'"`;{}]+/g;function Ki(t){return t.split(Br)}var Zi={name:"@unocss/core/extractor-split",order:0,extract({code:t}){return Ki(t)}};function j(t=[]){return Array.isArray(t)?t:[t]}function ct(t){return Array.from(new Set(t))}function Rn(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 Tn=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 Mr(t){return t instanceof Tn}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 Lr=Z;function Ji(){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 Qi=/^\[(.+?)~?="(.*)"\]$/;var ta=/[\w\u00A0-\uFFFF%-?]/;function Wn(t){return t.match(Qi)}function Wt(t=""){return ta.test(t)}function ea(t){return typeof t=="function"?{match:t}:t}function Pn(t){return t.length===3}function re(t){return t!=null}function ra(){}var na=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)))}},oa=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 se(t){return F(t)?t:(Array.isArray(t)?t:Object.entries(t)).filter(e=>e[1]!=null)}function ia(t){return Array.isArray(t)?t.find(e=>!Array.isArray(e)||Array.isArray(e[0]))?t.map(e=>se(e)):[t]:[se(t)]}function aa(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 Nn="__virtual_key__";function Tt(t){return t==null?"":aa(t).map(([e,r])=>r!=null&&typeof r!="function"?e!==Nn?`${e}:${r};`:r:void 0).filter(Boolean).join("")}function ne(t){return t&&typeof t=="object"&&!Array.isArray(t)}function In(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 ne(n)&&ne(o)&&Object.keys(o).forEach(a=>{ne(n[a])&&ne(o[a])||Array.isArray(n[a])&&Array.isArray(o[a])?i[a]=In(n[a],o[a],r):Object.assign(i,{[a]:o[a]})}),i}function ae(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"?ae(n):n;return r}if(Object.prototype.toString.call(t)==="[object Object]"){r={};for(e in t)e==="__proto__"?Object.defineProperty(r,e,{value:ae(t[e]),configurable:!0,enumerable:!0,writable:!0}):r[e]=(n=t[e])&&typeof n=="object"?ae(n):n;return r}return t}function sa(t){return F(t[0])}function ca(t){return F(t[0])}var oe={};function la(t=["-",":"]){let e=t.join("|");return oe[e]||(oe[e]=new RegExp(`((?:[!@<~\\w+:_-]|\\[&?>?:?\\S*\\])+?)(${e})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[[^\\]]*?\\])+?)\\)(?!\\s*?=>)`,"gm")),oe[e].lastIndex=0,oe[e]}function fa(t,e=["-",":"],r=5){let n=la(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 $ of[...p.matchAll(/\S+/g)]){let w=m+$.index,y=s.get(w)?.items;y?s.delete(w):y=[{offset:w,length:$[0].length,className:$[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 ua(t,e=["-",":"],r=5){let n=fa(t,e,r);return typeof t=="string"?n.expanded:t}var On=new Set;function da(t){On.has(t)||(console.warn("[unocss]",t),On.add(t))}function Un(t){return j(t).flatMap(e=>Array.isArray(e)?[e]:Object.entries(e))}var Mn="_uno_resolved";async function pa(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?Un(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 Dn(t){let e=await pa(t);return e.presets?[e,...(await Promise.all((e.presets||[]).flatMap(j).flatMap(Dn))).flat()]:[e]}function ma(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(Fn(...e)),exclude:ct(Fn(...r))}};return o.length&&(a.filesystem=ct(o.flat())),i.length&&(a.inline=ct(i.flat())),a}async function Ln(t={},e={}){let r=Object.assign({},e,t),n=Rn((await Promise.all((r.presets||[]).flatMap(j).flatMap(Dn))).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({},Xi,...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=Zi),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 P=v[2]??(v[2]={});P.__index=g,sa(v)?j(P.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:ga(i.map(g=>g.autocomplete?.shorthands||{}))},$=c("separators");$.length||($=[":","-"]);let w=ma(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:ha(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(ea).sort((g,v)=>(g.order||0)-(v.order||0)),shortcuts:Un(c("shortcuts")).reverse(),extractors:l,safelist:c("safelist"),separators:$,details:r.details??r.envMode==="dev",content:w,transformers:Rn(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 ha(t){return t.map(e=>e?ae(e):{}).reduce((e,r)=>In(e,r),{})}function ga(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 Fn(...t){return t.flatMap(ba)}function ba(t){return Array.isArray(t)?t:t?[t]:[]}var ya="66.6.0-beta.1",X={shortcutsNoMerge:"$$symbol-shortcut-no-merge",noMerge:"$$symbol-no-merge",variants:"$$symbol-variants",parent:"$$symbol-parent",selector:"$$symbol-selector",layer:"$$symbol-layer",sort:"$$symbol-sort",body:"$$symbol-body"},xa=class Vn{constructor(e={},r={}){this.userConfig=e,this.defaults=r,this.version=ya,this.events=Ji(),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=ia(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]=Nn);return[c.__index,n,l,d,u]})}}}static async create(e={},r={}){let n=new Vn(e,r);return n.config=await Ln(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 Ln(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(Mr(a)&&Mr(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(re)},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 Tn:new Set):Array.isArray(e)?new Set(e):e;if(a){let E={generator:this,theme:this.config.theme};this.config.safelist.flatMap(C=>typeof C=="function"?C(E):C).forEach(C=>{let z=C.trim();z&&!l.has(z)&&l.add(z)})}let u=s?"":`
|
|
2
|
-
`,d=new Set([ie]),p=c?new Map:new Set,h=new Map,m={},x=Array.from(l).map(async E=>{if(p.has(E))return;let C=await this.parseToken(E);if(C!=null){p instanceof Map?p.set(E,{data:C,count:Mr(l)?l.getCount(E):-1}):p.add(E);for(let z of C){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 E={generator:this,theme:this.config.theme},C=new Set([]);this.config.preflights.forEach(({layer:z=Fr})=>{d.add(z),C.add(z)}),m=Object.fromEntries(await Promise.all(Array.from(C).map(async z=>[z,(await Promise.all(this.config.preflights.filter(V=>(V.layer||Fr)===z).map(async V=>await V.getCSS(E)))).filter(Boolean).join(u)])))})();let $=E=>this.config.sortLayers(E.sort((C,z)=>(this.config.layers[C]??0)-(this.config.layers[z]??0)||C.localeCompare(z))),w=$(Array.from(d)),y={},b=this.config.outputToCssLayers,g=E=>{let C=E;return typeof b=="object"&&(C=b.cssLayerName?.(E)),C===null?null:C??E},v=(E=ie)=>{if(y[E])return y[E];let C=Array.from(h).sort((D,k)=>(this.parentOrders.get(D[0])??0)-(this.parentOrders.get(k[0])??0)||D[0]?.localeCompare(k[0]||"")||0).map(([D,k])=>{let A=k.length,L=k.filter(I=>(I[4]?.layer||ie)===E).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,,ee,,Or])=>[[[(I&&$a(I,o))??"",ee?.sort??0]],Y,!!(Or??ee?.noMerge)]);if(!L.length)return;let T=L.reverse().map(([I,Y,ee],Or)=>{if(!ee&&this.config.mergeSelectors)for(let dt=Or+1;dt<A;dt++){let et=L[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 _n=I?ct(I.sort((dt,et)=>dt[1]-et[1]||dt[0]?.localeCompare(et[0]||"")||0).map(dt=>dt[0]).filter(Boolean)):[];return _n.length?`${_n.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&&(C=[m[E],C].filter(Boolean).join(u));let z;b&&C&&(z=g(E),z!==null&&(C=`@layer ${z}{${u}${C}${u}}`));let V=s?"":`/* layer: ${E}${z&&z!==E?`, alias: ${z}`:""} */${u}`;return y[E]=C?V+C:""},P=(E=w,C)=>{let z=E.filter(D=>!C?.includes(D)),V=z.map(v).filter(Boolean);if(b){let D=z;typeof b=="object"&&b.allLayers&&(D=$(Object.keys(this.config.layers))),D.length>0&&V.unshift(`@layer ${D.map(g).filter(re).join(", ")};`)}return V.join(u)};return{get css(){return P()},layers:w,matched:p,getLayers:P,getLayer:v,setLayer:async(E,C)=>{let z=await C(v(E));return y[E]=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],$=new Set(c);return $.add(u),[i[0],m,x,$]});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??ka)({...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:wa(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(re)):u.push(p||d)}return u},[s])}constructCustomCSS(e,r,n){let o=se(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,$]=h;if($?.internal&&!n)continue;let w=l;if($?.prefix){let v=j($.prefix);if(o){let P=j(o);if(!v.some(H=>P.includes(H)))continue}else{let P=v.find(H=>l.startsWith(H));if(P==null)continue;w=l.slice(P.length)}}let y=w.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 P of b)P&&v.push(P);b=v}else Symbol.iterator in b&&!Array.isArray(b)&&(b=Array.from(b).filter(re));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(Pn(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]??{},$={...x,layer:l??h,sort:u??m};o.push([e[0],a,p,c,$,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)}:ra,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(ca(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=>ua(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 oa,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}",se(u.value),void 0,u.handles]];return!d&&this.config.warn&&da(`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(Pn(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:$,noMerge:w,layer:y}of this.applyVariants(u,p,s))i.getFallback(y??o.layer,new na).getFallback(h,x,[[],u[0]])[0].push([m,!!(w??u[3]?.noMerge),$??0])}return l.concat(i.flatMap((u,d)=>u.map(([p,h],m,x)=>{let $=(w,y,b)=>{let g=Math.max(...b.map(P=>P[1])),v=b.map(P=>P[0]);return(w?[v.flat(1)]:v).map(P=>{let H=Tt(P);if(H)return[h,m,H,x,{...o,noMerge:y,sort:g,layer:d},r,void 0]})};return[[p.filter(([,w])=>w).map(([w,,y])=>[w,y]),!0],[p.filter(([,w])=>!w).map(([w,,y])=>[w,y]),!1]].map(([w,y])=>[...$(!1,y,w.filter(([b])=>b.some(g=>g[0]===X.shortcutsNoMerge))),...$(!0,y,w.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 Gn(t,e){return await xa.create(t,e)}var qn=/\s\$\$\s+/g;function va(t){return qn.test(t)}function $a(t,e){return va(t)?t.replace(qn,e?` ${e} `:" "):e?`${e} ${t}`:t}var Bn=/^\[(.+?)(~?=)"(.*)"\]$/;function wa(t){return Bn.test(t)?t.replace(Bn,(e,r,n,o)=>`[${Lr(r)}${n}"${Lr(o)}"]`):`.${Lr(t)}`}function ka(t,e){return e(t)}var Kn=/^(?!.*\[[^:]+:.+\]$)((?:.+:)?!?)(.*)$/;function Sa(t={}){let e=t.prefix??"un-",r=t.prefixedOnly??!1,n=t.trueToNonValued??!1,o;return{name:"attributify",match(i,{generator:a}){let s=Wn(i);if(!s)return;let c=s[1];if(c.startsWith(e))c=c.slice(e.length);else if(r)return;let l=s[2],[,u="",d=l]=l.match(Kn)||[];if(d==="~"||n&&d==="true"||!d)return`${u}${c}`;if(o==null){let p=a?.config?.separators?.join("|");p?o=new RegExp(`^(.*\\](?:${p}))(\\[[^\\]]+?\\])$`):o=!1}if(o){let[,p,h]=l.match(o)||[];if(h)return`${p}${u}${c}-${h}`}if(u&&d.match(/^[\d.]+$/)){let p=u.split(/([^:]*:)/g).filter(Boolean),h=p.pop()+d,m=p.join("");return[{matcher:`${u}${c}-${d}`},{matcher:`${m}${c}-${h}`}]}return`${u}${c}-${d}`}}}var Ea=/(<\w[\w:.$-]*\s)((?:'[^>']*'|"[^>"]*"|`[^>`]*`|\{[^>}]*\}|[^>]*?)*)/g,Ca=/(\?|(?!\d|-{2}|-\d)[\w\u00A0-\uFFFF-:%]+)(?:=("[^"]*|'[^']*))?/g,Hn=/[\s'"`;>]+/;function za(t){return{name:"attributify",extract:({content:e,cursor:r})=>{let n=e.matchAll(Ea),o,i=0;for(let y of n){let[,b,g]=y,v=y.index+b.length;if(r>v&&r<=v+g.length){i=v,o=g;break}}if(!o)return null;let a=o.matchAll(Ca),s=0,c,l;for(let y of a){let[b,g,v]=y,P=i+y.index;if(r>P&&r<=P+b.length){s=P,c=g,l=v?.slice(1);break}}if(!c||c==="class"||c==="className"||c===":class")return null;let u=!!t?.prefix&&c.startsWith(t.prefix);if(t?.prefixedOnly&&!u)return null;let d=u?c.slice(t.prefix.length):c;if(l===void 0)return{extracted:d,resolveReplacement(y){let b=u?t.prefix.length:0;return{start:s+b,end:s+c.length,replacement:y}}};let p=s+c.length+2,h=Hn.exec(l),m=0,x;for(;h;){let[y]=h;if(r>p+m&&r<=p+m+h.index){x=l.slice(m,m+h.index);break}m+=h.index+y.length,h=Hn.exec(l.slice(m))}x===void 0&&(x=l.slice(m));let[,$="",w]=x.match(Kn)||[];return{extracted:`${$}${d}-${w}`,transformSuggestions(y){return y.filter(b=>b.startsWith(`${$}${d}-`)).map(b=>$+b.slice($.length+d.length+1))},resolveReplacement(y){return{start:m+p,end:m+p+x.length,replacement:$+y.slice($.length+d.length+1)}}}}}}var ja=["v-bind:",":"],Yn=/[\s'"`;]+/g,Tr=/<[^>\s]*\s((?:'[^']*'|"[^"]*"|`[^`]*`|\{[^}]*\}|=>|[^>]*?)*)/g,Aa=/(\?|(?!\d|-{2}|-\d)[\w\u00A0-\uFFFF:!%.~<-]+)=?(?:"([^"]*)"|'([^']*)'|\{([^}]*)\})?/g,Zn=["placeholder","fill","opacity","stroke-opacity"];function _a(t){let e=t?.ignoreAttributes??Zn,r=t?.nonValuedAttribute??!0,n=t?.trueToNonValued??!1;return{name:"@unocss/preset-attributify/extractor",extract({code:o}){return Array.from(o.matchAll(Tr)).flatMap(i=>Array.from((i[1]||"").matchAll(Aa))).flatMap(([,i,...a])=>{let s=a.filter(Boolean).join("");if(e.includes(i))return[];for(let c of ja)if(i.startsWith(c)){i=i.slice(c.length);break}if(!s){if(Wt(i)&&r!==!1){let c=[`[${i}=""]`];return n&&c.push(`[${i}="true"]`),c}return[]}return["class","className"].includes(i)?s.split(Yn).filter(Wt):Tr.test(s)?(Tr.lastIndex=0,this.extract({code:s})):t?.prefixedOnly&&t.prefix&&!i.startsWith(t.prefix)?[]:s.split(Yn).filter(c=>!!c&&c!==":").map(c=>`[${i}~="${c}"]`)})}}}var Ra=(t={})=>(t.strict=t.strict??!1,t.prefix=t.prefix??"un-",t.prefixedOnly=t.prefixedOnly??!1,t.nonValuedAttribute=t.nonValuedAttribute??!0,t.ignoreAttributes=t.ignoreAttributes??Zn,{name:"@unocss/preset-attributify",enforce:"post",variants:[Sa(t)],extractors:[_a(t)],options:t,autocomplete:{extractors:[za(t)]},extractorDefault:t.strict?!1:void 0}),Jn=Ra;var Wr=Object.defineProperty,Pa=Object.getOwnPropertyDescriptor,Oa=Object.getOwnPropertyNames,Ma=Object.prototype.hasOwnProperty,ce=(t,e)=>{let r={};for(var n in t)Wr(r,n,{get:t[n],enumerable:!0});return e&&Wr(r,Symbol.toStringTag,{value:"Module"}),r},Qn=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(var o=Oa(e),i=0,a=o.length,s;i<a;i++)s=o[i],!Ma.call(t,s)&&s!==r&&Wr(t,s,{get:(c=>e[c]).bind(null,s),enumerable:!(n=Pa(e,s))||n.enumerable});return t},Nr=(t,e,r)=>(Qn(t,e,"default"),r&&Qn(r,e,"default"));var en={};qi(en,{PseudoClassFunctions:()=>go,PseudoClassFunctionsStr:()=>pt,PseudoClasses:()=>wt,PseudoClassesAndElementsColonStr:()=>Gr,PseudoClassesAndElementsStr:()=>Vr,PseudoClassesColon:()=>kt,PseudoClassesColonKeys:()=>Xr,PseudoClassesColonStr:()=>pe,PseudoClassesKeys:()=>Yr,PseudoClassesMulti:()=>Kr,PseudoClassesMultiStr:()=>Dr,PseudoClassesStr:()=>de,alphaPlaceholders:()=>qr,alphaPlaceholdersRE:()=>fo,calcMaxWidthBySize:()=>rs,colorOpacityToString:()=>mt,colorToString:()=>W,createPartClasses:()=>tn,createPseudoClassFunctions:()=>Jr,createPseudoClassesAndElements:()=>Zr,createTaggedPseudoClassMatcher:()=>yo,createTaggedPseudoClasses:()=>Qr,createValueHandler:()=>Hr,cssColorFunctions:()=>me,excludedPseudo:()=>bo,getBracket:()=>ao,getStringComponent:()=>$t,getStringComponents:()=>At,hasIconFn:()=>os,hasThemeFn:()=>ts,hex2rgba:()=>Ha,hueInterpolationMethods:()=>lo,iconFnRE:()=>ns,isInterpolatedMethod:()=>qa,parseCssColor:()=>J,polarColorSpace:()=>co,rectangularColorSpace:()=>so,themeFnRE:()=>mo,transformThemeFn:()=>es,transformThemeString:()=>ho,variantGetBracket:()=>xo,variantGetParameter:()=>vo,variantMatcher:()=>St,variantParentMatcher:()=>rt});var La=44,Fa=59,to="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",no=new Uint8Array(64),Ba=new Uint8Array(128);for(let t=0;t<to.length;t++){let e=to.charCodeAt(t);no[t]=e,Ba[e]=t}function Nt(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(no[o])}while(n>0);return e}var eo=1024*16,ro=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}},Ta=class{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(eo)}write(t){let{buffer:e}=this;e[this.pos++]=t,this.pos===eo&&(this.out+=ro.decode(e),this.pos=0)}flush(){let{buffer:t,out:e,pos:r}=this;return r>0?e+ro.decode(t.subarray(0,r)):e}};function oo(t){let e=new Ta,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(Fa),s.length===0)continue;let c=0;for(let l=0;l<s.length;l++){let u=s[l];l>0&&e.write(La),c=Nt(e,u[0],c),u.length!==1&&(r=Nt(e,u[1],r),n=Nt(e,u[2],n),o=Nt(e,u[3],o),u.length!==4&&(i=Nt(e,u[4],i)))}}return e.flush()}var le=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))}},fe=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 Na=Wa(),Ir=class{constructor(e){this.version=3,this.file=e.file,this.sources=e.sources,this.sourcesContent=e.sourcesContent,this.names=e.names,this.mappings=oo(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,"+Na(this.toString())}};function Ia(t){let e=t.split(`
|
|
1
|
+
"use strict";(()=>{var Gi=Object.defineProperty;var qi=(t,e)=>{for(var r in e)Gi(t,r,{get:e[r],enumerable:!0})};var ie="default",Fr="preflights",Hi="shortcuts",Yi="imports",Xi={[Yi]:-200,[Fr]:-100,[Hi]:-10,[ie]:0},Br=/[\\:]?[\s'"`;{}]+/g;function Ki(t){return t.split(Br)}var Zi={name:"@unocss/core/extractor-split",order:0,extract({code:t}){return Ki(t)}};function j(t=[]){return Array.isArray(t)?t:[t]}function ct(t){return Array.from(new Set(t))}function Rn(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 Tn=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 Mr(t){return t instanceof Tn}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 Lr=Z;function Ji(){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 Qi=/^\[(.+?)~?="(.*)"\]$/;var ta=/[\w\u00A0-\uFFFF%-?]/;function Wn(t){return t.match(Qi)}function Wt(t=""){return ta.test(t)}function ea(t){return typeof t=="function"?{match:t}:t}function Pn(t){return t.length===3}function re(t){return t!=null}function ra(){}var na=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)))}},oa=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 se(t){return F(t)?t:(Array.isArray(t)?t:Object.entries(t)).filter(e=>e[1]!=null)}function ia(t){return Array.isArray(t)?t.find(e=>!Array.isArray(e)||Array.isArray(e[0]))?t.map(e=>se(e)):[t]:[se(t)]}function aa(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 Nn="__virtual_key__";function Tt(t){return t==null?"":aa(t).map(([e,r])=>r!=null&&typeof r!="function"?e!==Nn?`${e}:${r};`:r:void 0).filter(Boolean).join("")}function ne(t){return t&&typeof t=="object"&&!Array.isArray(t)}function In(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 ne(n)&&ne(o)&&Object.keys(o).forEach(a=>{ne(n[a])&&ne(o[a])||Array.isArray(n[a])&&Array.isArray(o[a])?i[a]=In(n[a],o[a],r):Object.assign(i,{[a]:o[a]})}),i}function ae(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"?ae(n):n;return r}if(Object.prototype.toString.call(t)==="[object Object]"){r={};for(e in t)e==="__proto__"?Object.defineProperty(r,e,{value:ae(t[e]),configurable:!0,enumerable:!0,writable:!0}):r[e]=(n=t[e])&&typeof n=="object"?ae(n):n;return r}return t}function sa(t){return F(t[0])}function ca(t){return F(t[0])}var oe={};function la(t=["-",":"]){let e=t.join("|");return oe[e]||(oe[e]=new RegExp(`((?:[!@<~\\w+:_-]|\\[&?>?:?\\S*\\])+?)(${e})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[[^\\]]*?\\])+?)\\)(?!\\s*?=>)`,"gm")),oe[e].lastIndex=0,oe[e]}function fa(t,e=["-",":"],r=5){let n=la(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 $ of[...p.matchAll(/\S+/g)]){let w=m+$.index,y=s.get(w)?.items;y?s.delete(w):y=[{offset:w,length:$[0].length,className:$[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 ua(t,e=["-",":"],r=5){let n=fa(t,e,r);return typeof t=="string"?n.expanded:t}var On=new Set;function da(t){On.has(t)||(console.warn("[unocss]",t),On.add(t))}function Un(t){return j(t).flatMap(e=>Array.isArray(e)?[e]:Object.entries(e))}var Mn="_uno_resolved";async function pa(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?Un(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 Dn(t){let e=await pa(t);return e.presets?[e,...(await Promise.all((e.presets||[]).flatMap(j).flatMap(Dn))).flat()]:[e]}function ma(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(Fn(...e)),exclude:ct(Fn(...r))}};return o.length&&(a.filesystem=ct(o.flat())),i.length&&(a.inline=ct(i.flat())),a}async function Ln(t={},e={}){let r=Object.assign({},e,t),n=Rn((await Promise.all((r.presets||[]).flatMap(j).flatMap(Dn))).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({},Xi,...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=Zi),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 P=v[2]??(v[2]={});P.__index=g,sa(v)?j(P.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:ga(i.map(g=>g.autocomplete?.shorthands||{}))},$=c("separators");$.length||($=[":","-"]);let w=ma(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:ha(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(ea).sort((g,v)=>(g.order||0)-(v.order||0)),shortcuts:Un(c("shortcuts")).reverse(),extractors:l,safelist:c("safelist"),separators:$,details:r.details??r.envMode==="dev",content:w,transformers:Rn(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 ha(t){return t.map(e=>e?ae(e):{}).reduce((e,r)=>In(e,r),{})}function ga(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 Fn(...t){return t.flatMap(ba)}function ba(t){return Array.isArray(t)?t:t?[t]:[]}var ya="66.6.1",X={shortcutsNoMerge:"$$symbol-shortcut-no-merge",noMerge:"$$symbol-no-merge",variants:"$$symbol-variants",parent:"$$symbol-parent",selector:"$$symbol-selector",layer:"$$symbol-layer",sort:"$$symbol-sort",body:"$$symbol-body"},xa=class Vn{constructor(e={},r={}){this.userConfig=e,this.defaults=r,this.version=ya,this.events=Ji(),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=ia(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]=Nn);return[c.__index,n,l,d,u]})}}}static async create(e={},r={}){let n=new Vn(e,r);return n.config=await Ln(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 Ln(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(Mr(a)&&Mr(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(re)},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 Tn:new Set):Array.isArray(e)?new Set(e):e;if(a){let E={generator:this,theme:this.config.theme};this.config.safelist.flatMap(C=>typeof C=="function"?C(E):C).forEach(C=>{let z=C.trim();z&&!l.has(z)&&l.add(z)})}let u=s?"":`
|
|
2
|
+
`,d=new Set([ie]),p=c?new Map:new Set,h=new Map,m={},x=Array.from(l).map(async E=>{if(p.has(E))return;let C=await this.parseToken(E);if(C!=null){p instanceof Map?p.set(E,{data:C,count:Mr(l)?l.getCount(E):-1}):p.add(E);for(let z of C){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 E={generator:this,theme:this.config.theme},C=new Set([]);this.config.preflights.forEach(({layer:z=Fr})=>{d.add(z),C.add(z)}),m=Object.fromEntries(await Promise.all(Array.from(C).map(async z=>[z,(await Promise.all(this.config.preflights.filter(V=>(V.layer||Fr)===z).map(async V=>await V.getCSS(E)))).filter(Boolean).join(u)])))})();let $=E=>this.config.sortLayers(E.sort((C,z)=>(this.config.layers[C]??0)-(this.config.layers[z]??0)||C.localeCompare(z))),w=$(Array.from(d)),y={},b=this.config.outputToCssLayers,g=E=>{let C=E;return typeof b=="object"&&(C=b.cssLayerName?.(E)),C===null?null:C??E},v=(E=ie)=>{if(y[E])return y[E];let C=Array.from(h).sort((D,k)=>(this.parentOrders.get(D[0])??0)-(this.parentOrders.get(k[0])??0)||D[0]?.localeCompare(k[0]||"")||0).map(([D,k])=>{let A=k.length,L=k.filter(I=>(I[4]?.layer||ie)===E).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,,ee,,Or])=>[[[(I&&$a(I,o))??"",ee?.sort??0]],Y,!!(Or??ee?.noMerge)]);if(!L.length)return;let T=L.reverse().map(([I,Y,ee],Or)=>{if(!ee&&this.config.mergeSelectors)for(let dt=Or+1;dt<A;dt++){let et=L[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 _n=I?ct(I.sort((dt,et)=>dt[1]-et[1]||dt[0]?.localeCompare(et[0]||"")||0).map(dt=>dt[0]).filter(Boolean)):[];return _n.length?`${_n.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&&(C=[m[E],C].filter(Boolean).join(u));let z;b&&C&&(z=g(E),z!==null&&(C=`@layer ${z}{${u}${C}${u}}`));let V=s?"":`/* layer: ${E}${z&&z!==E?`, alias: ${z}`:""} */${u}`;return y[E]=C?V+C:""},P=(E=w,C)=>{let z=E.filter(D=>!C?.includes(D)),V=z.map(v).filter(Boolean);if(b){let D=z;typeof b=="object"&&b.allLayers&&(D=$(Object.keys(this.config.layers))),D.length>0&&V.unshift(`@layer ${D.map(g).filter(re).join(", ")};`)}return V.join(u)};return{get css(){return P()},layers:w,matched:p,getLayers:P,getLayer:v,setLayer:async(E,C)=>{let z=await C(v(E));return y[E]=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],$=new Set(c);return $.add(u),[i[0],m,x,$]});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??ka)({...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:wa(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(re)):u.push(p||d)}return u},[s])}constructCustomCSS(e,r,n){let o=se(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,$]=h;if($?.internal&&!n)continue;let w=l;if($?.prefix){let v=j($.prefix);if(o){let P=j(o);if(!v.some(H=>P.includes(H)))continue}else{let P=v.find(H=>l.startsWith(H));if(P==null)continue;w=l.slice(P.length)}}let y=w.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 P of b)P&&v.push(P);b=v}else Symbol.iterator in b&&!Array.isArray(b)&&(b=Array.from(b).filter(re));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(Pn(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]??{},$={...x,layer:l??h,sort:u??m};o.push([e[0],a,p,c,$,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)}:ra,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(ca(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=>ua(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 oa,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}",se(u.value),void 0,u.handles]];return!d&&this.config.warn&&da(`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(Pn(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:$,noMerge:w,layer:y}of this.applyVariants(u,p,s))i.getFallback(y??o.layer,new na).getFallback(h,x,[[],u[0]])[0].push([m,!!(w??u[3]?.noMerge),$??0])}return l.concat(i.flatMap((u,d)=>u.map(([p,h],m,x)=>{let $=(w,y,b)=>{let g=Math.max(...b.map(P=>P[1])),v=b.map(P=>P[0]);return(w?[v.flat(1)]:v).map(P=>{let H=Tt(P);if(H)return[h,m,H,x,{...o,noMerge:y,sort:g,layer:d},r,void 0]})};return[[p.filter(([,w])=>w).map(([w,,y])=>[w,y]),!0],[p.filter(([,w])=>!w).map(([w,,y])=>[w,y]),!1]].map(([w,y])=>[...$(!1,y,w.filter(([b])=>b.some(g=>g[0]===X.shortcutsNoMerge))),...$(!0,y,w.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 Gn(t,e){return await xa.create(t,e)}var qn=/\s\$\$\s+/g;function va(t){return qn.test(t)}function $a(t,e){return va(t)?t.replace(qn,e?` ${e} `:" "):e?`${e} ${t}`:t}var Bn=/^\[(.+?)(~?=)"(.*)"\]$/;function wa(t){return Bn.test(t)?t.replace(Bn,(e,r,n,o)=>`[${Lr(r)}${n}"${Lr(o)}"]`):`.${Lr(t)}`}function ka(t,e){return e(t)}var Kn=/^(?!.*\[[^:]+:.+\]$)((?:.+:)?!?)(.*)$/;function Sa(t={}){let e=t.prefix??"un-",r=t.prefixedOnly??!1,n=t.trueToNonValued??!1,o;return{name:"attributify",match(i,{generator:a}){let s=Wn(i);if(!s)return;let c=s[1];if(c.startsWith(e))c=c.slice(e.length);else if(r)return;let l=s[2],[,u="",d=l]=l.match(Kn)||[];if(d==="~"||n&&d==="true"||!d)return`${u}${c}`;if(o==null){let p=a?.config?.separators?.join("|");p?o=new RegExp(`^(.*\\](?:${p}))(\\[[^\\]]+?\\])$`):o=!1}if(o){let[,p,h]=l.match(o)||[];if(h)return`${p}${u}${c}-${h}`}if(u&&d.match(/^[\d.]+$/)){let p=u.split(/([^:]*:)/g).filter(Boolean),h=p.pop()+d,m=p.join("");return[{matcher:`${u}${c}-${d}`},{matcher:`${m}${c}-${h}`}]}return`${u}${c}-${d}`}}}var Ea=/(<\w[\w:.$-]*\s)((?:'[^>']*'|"[^>"]*"|`[^>`]*`|\{[^>}]*\}|[^>]*?)*)/g,Ca=/(\?|(?!\d|-{2}|-\d)[\w\u00A0-\uFFFF-:%]+)(?:=("[^"]*|'[^']*))?/g,Hn=/[\s'"`;>]+/;function za(t){return{name:"attributify",extract:({content:e,cursor:r})=>{let n=e.matchAll(Ea),o,i=0;for(let y of n){let[,b,g]=y,v=y.index+b.length;if(r>v&&r<=v+g.length){i=v,o=g;break}}if(!o)return null;let a=o.matchAll(Ca),s=0,c,l;for(let y of a){let[b,g,v]=y,P=i+y.index;if(r>P&&r<=P+b.length){s=P,c=g,l=v?.slice(1);break}}if(!c||c==="class"||c==="className"||c===":class")return null;let u=!!t?.prefix&&c.startsWith(t.prefix);if(t?.prefixedOnly&&!u)return null;let d=u?c.slice(t.prefix.length):c;if(l===void 0)return{extracted:d,resolveReplacement(y){let b=u?t.prefix.length:0;return{start:s+b,end:s+c.length,replacement:y}}};let p=s+c.length+2,h=Hn.exec(l),m=0,x;for(;h;){let[y]=h;if(r>p+m&&r<=p+m+h.index){x=l.slice(m,m+h.index);break}m+=h.index+y.length,h=Hn.exec(l.slice(m))}x===void 0&&(x=l.slice(m));let[,$="",w]=x.match(Kn)||[];return{extracted:`${$}${d}-${w}`,transformSuggestions(y){return y.filter(b=>b.startsWith(`${$}${d}-`)).map(b=>$+b.slice($.length+d.length+1))},resolveReplacement(y){return{start:m+p,end:m+p+x.length,replacement:$+y.slice($.length+d.length+1)}}}}}}var ja=["v-bind:",":"],Yn=/[\s'"`;]+/g,Tr=/<[^>\s]*\s((?:'[^']*'|"[^"]*"|`[^`]*`|\{[^}]*\}|=>|[^>]*?)*)/g,Aa=/(\?|(?!\d|-{2}|-\d)[\w\u00A0-\uFFFF:!%.~<-]+)=?(?:"([^"]*)"|'([^']*)'|\{([^}]*)\})?/g,Zn=["placeholder","fill","opacity","stroke-opacity"];function _a(t){let e=t?.ignoreAttributes??Zn,r=t?.nonValuedAttribute??!0,n=t?.trueToNonValued??!1;return{name:"@unocss/preset-attributify/extractor",extract({code:o}){return Array.from(o.matchAll(Tr)).flatMap(i=>Array.from((i[1]||"").matchAll(Aa))).flatMap(([,i,...a])=>{let s=a.filter(Boolean).join("");if(e.includes(i))return[];for(let c of ja)if(i.startsWith(c)){i=i.slice(c.length);break}if(!s){if(Wt(i)&&r!==!1){let c=[`[${i}=""]`];return n&&c.push(`[${i}="true"]`),c}return[]}return["class","className"].includes(i)?s.split(Yn).filter(Wt):Tr.test(s)?(Tr.lastIndex=0,this.extract({code:s})):t?.prefixedOnly&&t.prefix&&!i.startsWith(t.prefix)?[]:s.split(Yn).filter(c=>!!c&&c!==":").map(c=>`[${i}~="${c}"]`)})}}}var Ra=(t={})=>(t.strict=t.strict??!1,t.prefix=t.prefix??"un-",t.prefixedOnly=t.prefixedOnly??!1,t.nonValuedAttribute=t.nonValuedAttribute??!0,t.ignoreAttributes=t.ignoreAttributes??Zn,{name:"@unocss/preset-attributify",enforce:"post",variants:[Sa(t)],extractors:[_a(t)],options:t,autocomplete:{extractors:[za(t)]},extractorDefault:t.strict?!1:void 0}),Jn=Ra;var Wr=Object.defineProperty,Pa=Object.getOwnPropertyDescriptor,Oa=Object.getOwnPropertyNames,Ma=Object.prototype.hasOwnProperty,ce=(t,e)=>{let r={};for(var n in t)Wr(r,n,{get:t[n],enumerable:!0});return e&&Wr(r,Symbol.toStringTag,{value:"Module"}),r},Qn=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(var o=Oa(e),i=0,a=o.length,s;i<a;i++)s=o[i],!Ma.call(t,s)&&s!==r&&Wr(t,s,{get:(c=>e[c]).bind(null,s),enumerable:!(n=Pa(e,s))||n.enumerable});return t},Nr=(t,e,r)=>(Qn(t,e,"default"),r&&Qn(r,e,"default"));var en={};qi(en,{PseudoClassFunctions:()=>go,PseudoClassFunctionsStr:()=>pt,PseudoClasses:()=>wt,PseudoClassesAndElementsColonStr:()=>Gr,PseudoClassesAndElementsStr:()=>Vr,PseudoClassesColon:()=>kt,PseudoClassesColonKeys:()=>Xr,PseudoClassesColonStr:()=>pe,PseudoClassesKeys:()=>Yr,PseudoClassesMulti:()=>Kr,PseudoClassesMultiStr:()=>Dr,PseudoClassesStr:()=>de,alphaPlaceholders:()=>qr,alphaPlaceholdersRE:()=>fo,calcMaxWidthBySize:()=>rs,colorOpacityToString:()=>mt,colorToString:()=>W,createPartClasses:()=>tn,createPseudoClassFunctions:()=>Jr,createPseudoClassesAndElements:()=>Zr,createTaggedPseudoClassMatcher:()=>yo,createTaggedPseudoClasses:()=>Qr,createValueHandler:()=>Hr,cssColorFunctions:()=>me,excludedPseudo:()=>bo,getBracket:()=>ao,getStringComponent:()=>$t,getStringComponents:()=>_t,hasIconFn:()=>os,hasThemeFn:()=>ts,hex2rgba:()=>Ha,hueInterpolationMethods:()=>lo,iconFnRE:()=>ns,isInterpolatedMethod:()=>qa,parseCssColor:()=>J,polarColorSpace:()=>co,rectangularColorSpace:()=>so,themeFnRE:()=>mo,transformThemeFn:()=>es,transformThemeString:()=>ho,variantGetBracket:()=>xo,variantGetParameter:()=>vo,variantMatcher:()=>St,variantParentMatcher:()=>rt});var La=44,Fa=59,to="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",no=new Uint8Array(64),Ba=new Uint8Array(128);for(let t=0;t<to.length;t++){let e=to.charCodeAt(t);no[t]=e,Ba[e]=t}function Nt(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(no[o])}while(n>0);return e}var eo=1024*16,ro=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}},Ta=class{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(eo)}write(t){let{buffer:e}=this;e[this.pos++]=t,this.pos===eo&&(this.out+=ro.decode(e),this.pos=0)}flush(){let{buffer:t,out:e,pos:r}=this;return r>0?e+ro.decode(t.subarray(0,r)):e}};function oo(t){let e=new Ta,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(Fa),s.length===0)continue;let c=0;for(let l=0;l<s.length;l++){let u=s[l];l>0&&e.write(La),c=Nt(e,u[0],c),u.length!==1&&(r=Nt(e,u[1],r),n=Nt(e,u[2],n),o=Nt(e,u[3],o),u.length!==4&&(i=Nt(e,u[4],i)))}}return e.flush()}var le=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))}},fe=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 Na=Wa(),Ir=class{constructor(e){this.version=3,this.file=e.file,this.sources=e.sources,this.sourcesContent=e.sourcesContent,this.names=e.names,this.mappings=oo(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,"+Na(this.toString())}};function Ia(t){let e=t.split(`
|
|
3
3
|
`),r=e.filter(i=>/^\t+/.test(i)),n=e.filter(i=>/^ {2,}/.test(i));if(r.length===0&&n.length===0)return null;if(r.length>=n.length)return" ";let o=n.reduce((i,a)=>{let s=/^ +/.exec(a)[0].length;return Math.min(s,i)},1/0);return new Array(o+1).join(" ")}function Ua(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 Da=Object.prototype.toString;function Va(t){return Da.call(t)==="[object Object]"}function io(t){let e=t.split(`
|
|
4
4
|
`),r=[];for(let n=0,o=0;n<e.length;n++)r.push(o),o+=e[n].length+1;return function(o){let i=0,a=r.length;for(;i<a;){let l=i+a>>1;o<r[l]?a=l:i=l+1}let s=i-1,c=o-r[s];return{line:s,column:c}}}var Ga=/\w/,Ur=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
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
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
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"?Ga.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
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}},It=`
|
|
9
|
-
`,
|
|
9
|
+
`,At={insertLeft:!1,insertRight:!1,storeName:!1},ue=class t{constructor(e,r={}){let n=new fe(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 le},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 le(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 Ur(e.hires),i=io(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?Ua(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 Ir(this.generateDecodedMap(e))}_ensureindentStr(){this.indentStr===void 0&&(this.indentStr=Ia(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(Va(e)&&(r=e,e=void 0),e===void 0&&(this._ensureindentStr(),e=this.indentStr||" "),e==="")return this;r=r||{};let o={};r.exclude&&(typeof r.exclude[0]=="number"?[r.exclude]:r.exclude).forEach(u=>{for(let d=u[0];d<u[1];d+=1)o[d]=!0});let i=r.indentStart!==!1,a=l=>i?`${e}${l}`:(i=!0,l);this.intro=this.intro.replace(n,a);let s=0,c=this.firstChunk;for(;c;){let l=c.end;if(c.edited)o[s]||(c.content=c.content.replace(n,a),c.content.length&&(i=c.content[c.content.length-1]===`
|
|
10
10
|
`));else for(s=c.start;s<l;){if(!o[s]){let u=this.original[s];u===`
|
|
11
|
-
`?i=!0:u!=="\r"&&i&&(i=!1,s===c.start||(this._splitChunk(c,s),c=c.next),c.prependRight(e))}s+=1}s=c.end,c=c.next}return this.outro=this.outro.replace(n,a),this}insert(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")}insertLeft(e,r){return 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 fe(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(It);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(It),e!==-1)return n.outro.substr(e+1)+r;r=n.outro+r}if(n.content.length>0){if(e=n.content.lastIndexOf(It),e!==-1)return n.content.substr(e+1)+r;r=n.content+r}if(n.intro.length>0){if(e=n.intro.lastIndexOf(It),e!==-1)return n.intro.substr(e+1)+r;r=n.intro+r}}while(n=n.previous);return e=this.intro.lastIndexOf(It),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=io(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 ao(t,e,r){if(t==="")return;let n=t.length,o=0,i=!1,a=0;for(let s=0;s<n;s++)switch(t[s]){case e:i||(i=!0,a=s),o++;break;case r:if(--o,o<0)return;if(o===0)return[t.slice(a,s+1),t.slice(s+1),t.slice(0,a)];break}}function $t(t,e,r,n){if(t===""||(F(n)&&(n=[n]),n.length===0))return;let o=t.length,i=0;for(let a=0;a<o;a++)switch(t[a]){case e:i++;break;case r:if(--i<0)return;break;default:for(let s of n){let c=s.length;if(c&&s===t.slice(a,a+c)&&i===0)return a===0||a===o-c?void 0:[t.slice(0,a),t.slice(a+c)]}}return[t,""]}function At(t,e,r,n="(",o=")"){r=r??10;let i=[],a=0;for(;t!=="";){if(++a>r)return;let s=$t(t,n,o,e);if(!s)return;let[c,l]=s;i.push(c),t=l}if(i.length>0)return i}var me=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"],so=["srgb","srgb-linear","display-p3","a98-rgb","prophoto-rgb","rec2020","lab","oklab","xyz","xyz-d50","xyz-d65"],co=["hsl","hwb","lch","oklch"],lo=["shorter","longer","increasing","decreasing"],qr=["%alpha","<alpha-value>"],fo=new RegExp(qr.map(t=>K(t)).join("|"),"g");function qa(t){return t?so.some(e=>t.includes(e))||co.some(e=>t.includes(e))||lo.some(e=>t.includes(e)):!1}function Ha(t=""){let e=uo(t);if(e!=null){let{components:r,alpha:n}=e;return n==null?r:[...r,n]}}function J(t=""){let e=Ya(t);if(e==null||e===!1)return;let{type:r,components:n,alpha:o}=e,i=r.toLowerCase();if(n.length!==0&&!(me.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"&&qr.includes(e)?1:e}function W(t,e){if(typeof t=="string")return t.replace(fo,`${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}`,me.includes(o)?`${o}(${r.join(" ")}${n})`:`color(${o} ${r.join(" ")}${n})`)}function Ya(t){if(!t)return;let e=uo(t);if(e!=null||(e=Xa(t),e!=null)||(e=Ka(t),e!=null)||(e=Ja(t),e!=null)||(e=Qa(t),e!=null))return e}function uo(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 Xa(t){let e={rebeccapurple:[102,51,153,1]}[t];if(e!=null)return{type:"rgb",components:e.slice(0,3),alpha:e[3]}}function Ka(t){let e=t.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!e)return;let[,r,n]=e,o=At(n,",",5);if(o){if([3,4].includes(o.length))return{type:r,components:o.slice(0,3),alpha:o[3]};if(o.length!==1)return!1}}var Za=new RegExp(`^(${me.join("|")})\\((.+)\\)$`,"i");function Ja(t){let e=t.match(Za);if(!e)return;let[,r,n]=e,o=po(`${r} ${n}`);if(o){let{alpha:i,components:[a,...s]}=o;return{type:a,components:s,alpha:i}}}function Qa(t){let e=t.match(/^color\((.+)\)$/);if(!e)return;let r=po(e[1]);if(r){let{alpha:n,components:[o,...i]}=r;return{type:o,components:i,alpha:n}}}function po(t){let e=At(t," ");if(!e)return;let r=e.length;if(e[r-2]==="/")return{components:e.slice(0,r-2),alpha:e[r-1]};if(e[r-2]!=null&&(e[r-2].endsWith("/")||e[r-1].startsWith("/"))){let i=e.splice(r-2);e.push(i.join(" ")),--r}let n=At(e[r-1],"/",2);if(!n)return;if(n.length===1||n[n.length-1]==="")return{components:e};let o=n.pop();return e[r-1]=n.join("/"),{components:e,alpha:o}}var mo=/theme\(\s*(['"])?(.*?)\1?\s*\)/g;function ts(t){return t.includes("theme(")&&t.includes(")")}function es(t,e,r=!0){let n=Array.from(t.toString().matchAll(mo));if(!n.length)return t;let o=new ue(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=ho(a,e,r);s&&o.overwrite(i.index,i.index+i[0].length,s)}return o.toString()}function ho(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 rs(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 Hr(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 ns=/icon\(\s*(['"])?(.*?)\1?\s*\)/g;function os(t){return t.includes("icon(")&&t.includes(")")}var Ut="__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(${Ut})`],["nth-last",`:nth-last-child(${Ut})`],["nth-last-of-type",`:nth-last-of-type(${Ut})`],["nth-of-type",`:nth-of-type(${Ut})`],"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}`])),Yr=Object.keys(wt),kt=Object.fromEntries([["backdrop","::backdrop"]].map(t=>Array.isArray(t)?t:[t,`:${t}`])),Xr=Object.keys(kt),go=["not","is","where","has"],Kr=Object.fromEntries([["selection",["::selection"," *::selection"]],["marker",["::marker"," *::marker"]]]),de=Object.entries(wt).filter(([,t])=>!t.startsWith("::")).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|"),pe=Object.entries(kt).filter(([,t])=>!t.startsWith("::")).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|"),pt=go.join("|"),Dr=Object.keys(Kr).sort((t,e)=>e.length-t.length).join("|"),bo=["::-webkit-resizer","::-webkit-scrollbar","::-webkit-scrollbar-button","::-webkit-scrollbar-corner","::-webkit-scrollbar-thumb","::-webkit-scrollbar-track","::-webkit-scrollbar-track-piece","::file-selector-button"],Vr=Object.entries(wt).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|"),Gr=Object.entries(kt).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|");function yo(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 $=i(`${t}-`,m,[]);if(!$)return;let[w,y]=$,b=o.bracket(w);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,y]=x,b=x[3]??"",g=wt[y]||kt[y]||`:${y}`;return w&&(g=`:${w}(${g})`),[b,m.slice($.length),`${e}${Z(b)}${g}`,y]},h=m=>{let x=m.match(u);if(!x)return;let[$,w,y]=x,b=x[3]??"",g=`:${w}(${y})`;return[b,m.slice($.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})-)?(${de}))(?:(/[\\w-]+))?(?:${x.generator.config.separators.join("|")})`),l=new RegExp(`^${t}-(?:(?:(${pt})-)?(${pe}))(?:(/[\\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 $=d(m)||p(m)||h(m);if(!$)return;let[w,y,b,g=""]=$;return{matcher:y,handle:(v,P)=>P({...v,prefix:`${b}${r}${v.prefix}`.replace(a,"$1$2:"),sort:Yr.indexOf(g)??Xr.indexOf(g)})}},multiPass:!0}}function Zr(t){let{h:e}=t,r,n,o;return[{name:"pseudo",match(i,a){r&&n||(r=new RegExp(`^(${Vr})(?:-(\\d+|\\[(\\w|[+-.])+\\]))?(?:${a.generator.config.separators.join("|")})`),n=new RegExp(`^(${Gr})(?:${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(Ut,u))}let l=Yr.indexOf(s[1]);return l===-1&&(l=Xr.indexOf(s[1])),l===-1&&(l=void 0),{matcher:i.slice(s[0].length),handle:(u,d)=>{let p=c.includes("::")&&!bo.includes(c)?{pseudo:`${u.pseudo}${c}`}:{selector:`${u.selector}${c}`};return d({...u,...p,sort:l,noMerge:!0})}}}},multiPass:!0,autocomplete:`(${Vr}|${Gr}):`},{name:"pseudo:multi",match(i,a){o||(o=new RegExp(`^(${Dr})(?:${a.generator.config.separators.join("|")})`));let s=i.match(o);if(s)return Kr[s[1]].map(c=>({matcher:i.slice(s[0].length),handle:(l,u)=>u({...l,pseudo:`${l.pseudo}${c}`})}))},multiPass:!1,autocomplete:`(${Dr}):`}]}function Jr(t){let{getBracket:e,h:r}=t,n,o,i;return{match(a,s){n&&o||(n=new RegExp(`^(${pt})-(${de})(?:${s.generator.config.separators.join("|")})`),o=new RegExp(`^(${pt})-(${pe})(?:${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})-(${de}|${pe}):`}}function Qr(t,e){let r=!!t?.attributifyPseudo,n=t?.prefix??"";n=Z((Array.isArray(n)?n:[n]).filter(Boolean)[0]??"");let o=(i,a)=>yo(i,r?`[${n}${i}=""]`:`.${n}${i}`,a,e);return[o("group"," "),o("peer","~"),o("parent",">"),o("previous","+")]}var is=/(part-\[(.+)\]:)(.+)/;function tn(){return{match(t){let e=t.match(is);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 xo(t,e,r){if(e.startsWith(`${t}[`)){let[n,o]=ao(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 vo(t,e,r){for(let n of j(t))if(e.startsWith(n)){let o=xo(n,e,r);if(o){let[i="",a=o[1]]=vo("/",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"]},_t={...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"]},he={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},ge=["x","y","z"],$o=["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({},...$o.map(t=>({[t.replace(/ /,"-")]:t})),...$o.map(t=>({[t.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:t}))),O=["inherit","initial","revert","revert-layer","unset"],Et=/^(calc|clamp|min|max)\s*\((.+)\)(.*)/,Dt=/^(var)\s*\((.+)\)(.*)/,be=/^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i,Eo=/^(-?\d*(?:\.\d+)?)$/,Co=/^(px|[sld]?v[wh])$/i,zo={px:1,vw:100,vh:100,svw:100,svh:100,dvw:100,dvh:100,lvh:100,lvw:100},jo=/^\[(color|image|length|size|position|quoted|string):/i,as=/,(?![^()]*\))/g,ye=ce({auto:()=>ls,bracket:()=>hs,bracketOfColor:()=>gs,bracketOfLength:()=>bs,bracketOfPosition:()=>ys,cssvar:()=>xs,degree:()=>$s,fraction:()=>ms,global:()=>ws,number:()=>ds,numberWithUnit:()=>cs,percent:()=>ps,position:()=>Ss,properties:()=>ks,px:()=>us,rem:()=>fs,time:()=>vs}),ss=["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 cs(t){let e=t.match(be);if(!e)return;let[,r,n]=e,o=Number.parseFloat(r);if(n&&!Number.isNaN(o))return`${q(o)}${n}`}function ls(t){if(t==="auto"||t==="a")return"auto"}function fs(t){if(!t)return;if(Co.test(t))return`${zo[t]}${t}`;let e=t.match(be);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 us(t){if(Co.test(t))return`${zo[t]}${t}`;let e=t.match(be);if(!e)return;let[,r,n]=e,o=Number.parseFloat(r);if(!Number.isNaN(o))return n?`${q(o)}${n}`:`${q(o)}px`}function ds(t){if(!Eo.test(t))return;let e=Number.parseFloat(t);if(!Number.isNaN(e))return q(e)}function ps(t){if(t.endsWith("%")&&(t=t.slice(0,-1)),!Eo.test(t))return;let e=Number.parseFloat(t);if(!Number.isNaN(e))return`${q(e/100)}`}function ms(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 xe(t,e){if(t&&t.startsWith("[")&&t.endsWith("]")){let r,n,o=t.match(jo);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 hs(t){return xe(t)}function gs(t){return xe(t,"color")}function bs(t){return xe(t,"length")}function ys(t){return xe(t,"position")}function xs(t){if(/^\$[^\s'"`;{}]/.test(t)){let[e,r]=t.slice(1).split(",");return`var(--${Z(e)}${r?`, ${r}`:""})`}}function vs(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 $s(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 ws(t){if(O.includes(t))return t}function ks(t){if(t.split(",").every(e=>ss.includes(e)))return t}function Ss(t){if(["top","left","right","bottom","center"].includes(t))return t}var ve=Hr(ye),f=ve,Vt="$$mini-no-negative";function M(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 wo(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 ko(t,e,r){return wo(t,e,r)||wo(t,e,"colors")}function Pt(t,e){let[r,n]=$t(t,"[","]",["/",":"])??[];if(r!=null){let o=(r.match(jo)??[])[1];if(o==null||o===e)return[r,n]}}function nt(t,e,r){let n=Pt(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=ko(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=ko(e,p,r);typeof x=="object"?c=x[h??d]:typeof x=="string"&&!h&&(c=x)}return{opacity:i,name:s,no:d,color:c,cssColor:J(c),alpha:f.bracket.cssvar.percent(i??"")}}function B(t,e,r,n){return([,o],{theme:i,generator:a})=>{let s=nt(o??"",i,r);if(!s)return;let{alpha:c,color:l,cssColor:u}=s,d=a.config.envMode==="dev"&&l?` /* ${l} */`:"",p={};if(u)if(c!=null)p[t]=W(u,c)+d;else{let h=`--un-${e}-opacity`,m=W(u,`var(${h})`);m.includes(h)&&(p[h]=mt(u)),p[t]=m+d}else if(l)if(c!=null)p[t]=W(l,c)+d;else{let h=`--un-${e}-opacity`,m=W(l,`var(${h})`);m.includes(h)&&(p[h]=1),p[t]=m+d}if(n?.(p)!==!1)return p}}function ht(t,e){let r=[];t=j(t);for(let n=0;n<t.length;n++){let o=At(t[n]," ",6);if(!o||o.length<3)return t;let i=!1,a=o.indexOf("inset");a!==-1&&(o.splice(a,1),i=!0);let s="",c=o.at(-1);if(J(o.at(0))){let l=J(o.shift());l&&(s=`, ${W(l)}`)}else if(J(c)){let l=J(o.pop());l&&(s=`, ${W(l)}`)}else c&&c.startsWith("var(")&&(s=`, ${o.pop()}`);r.push(`${i?"inset ":""}${o.join(" ")} var(${e}${s})`)}return r}function gt(t,e,r){return t!=null&&!!nt(t,e,r)?.color}var So=/[a-z]+/gi,rn=new WeakMap;function Q({theme:t,generator:e},r="breakpoints"){let n=e?.userConfig?.theme?.[r]||t[r];if(!n)return;if(rn.has(t))return rn.get(t);let o=Object.entries(n).sort((i,a)=>Number.parseInt(i[1].replace(So,""))-Number.parseInt(a[1].replace(So,""))).map(([i,a])=>({point:i,size:a}));return rn.set(t,o),o}function nn(t){return Q(t,"verticalBreakpoints")}function S(t,e){return O.map(r=>[`${t}-${r}`,{[e??t]:r}])}function ot(t){return t!=null&&Et.test(t)}function Gt(t){return t[0]==="["&&t.slice(-1)==="]"&&(t=t.slice(1,-1)),Et.test(t)||be.test(t)}function Ct(t,e,r){let n=e.split(as);return t||!t&&n.length===1?he[t].map(o=>[`--un-${r}${o}`,e]):n.map((o,i)=>[`--un-${r}-${ge[i]}`,o])}var lt=ce({CONTROL_MINI_NO_NEGATIVE:()=>Vt,colorResolver:()=>B,colorableShadows:()=>ht,cornerMap:()=>Rt,cssMathFnRE:()=>Et,cssVarFnRE:()=>Dt,directionMap:()=>U,directionSize:()=>M,globalKeywords:()=>O,h:()=>f,handler:()=>ve,hasParseableColor:()=>gt,insetMap:()=>_t,isCSSMathFn:()=>ot,isSize:()=>Gt,makeGlobalStaticRules:()=>S,parseColor:()=>nt,positionMap:()=>N,resolveBreakpoints:()=>Q,resolveVerticalBreakpoints:()=>nn,splitShorthand:()=>Pt,transformXYZ:()=>Ct,valueHandlers:()=>ye,xyzArray:()=>ge,xyzMap:()=>he});Nr(lt,en);var R=ce({CONTROL_MINI_NO_NEGATIVE:()=>Vt,colorResolver:()=>B,colorableShadows:()=>ht,cornerMap:()=>Rt,cssMathFnRE:()=>Et,cssVarFnRE:()=>Dt,directionMap:()=>U,directionSize:()=>M,globalKeywords:()=>O,h:()=>f,handler:()=>ve,hasParseableColor:()=>gt,insetMap:()=>_t,isCSSMathFn:()=>ot,isSize:()=>Gt,makeGlobalStaticRules:()=>S,parseColor:()=>nt,positionMap:()=>N,resolveBreakpoints:()=>Q,resolveVerticalBreakpoints:()=>nn,splitShorthand:()=>Pt,transformXYZ:()=>Ct,valueHandlers:()=>ye,xyzArray:()=>ge,xyzMap:()=>he});Nr(R,lt);var Es=/@media \(min-width: (.+)\)/,Ao=[[/^__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(Es)?.[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}]],on=[[/^(?:(\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 _o={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(O.map(t=>[t,t]))},Se=[[/^(?:vertical|align|v)-(.+)$/,([,t])=>({"vertical-align":_o[t]??f.bracket.cssvar.numberWithUnit(t)}),{autocomplete:[`(vertical|align|v)-(${Object.keys(_o).join("|")})`,"(vertical|align|v)-<percentage>"]}]],Ro=["center","left","right","justify","start","end"],Ee=[...Ro.map(t=>[`text-${t}`,{"text-align":t}]),...[...O,...Ro].map(t=>[`text-align-${t}`,{"text-align":t}])],Ce=[[/^outline-(?:width-|size-)?(.+)$/,No,{autocomplete:"outline-(width|size)-<num>"}],[/^outline-(?:color-)?(.+)$/,Cs,{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",...O].map(t=>[`outline-${t}`,{"outline-style":t}]),["outline-none",{outline:"2px solid transparent","outline-offset":"2px"}]];function No([,t],{theme:e}){return{"outline-width":e.lineWidth?.[t]??f.bracket.cssvar.global.px(t)}}function Cs(t,e){return ot(f.bracket(t[1]))?No(t,e):B("outline-color","outline-color","borderColor")(t,e)}var ze=[["appearance-auto",{"-webkit-appearance":"auto",appearance:"auto"}],["appearance-none",{"-webkit-appearance":"none",appearance:"none"}]];function zs(t){return f.properties.auto.global(t)??{contents:"contents",scroll:"scroll-position"}[t]}var je=[[/^will-change-(.+)/,([,t])=>({"will-change":zs(t)})]],bt=["solid","dashed","dotted","double","hidden","none","groove","ridge","inset","outset",...O],Ae=[[/^(?: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-)?(.+)$/,qt,{autocomplete:["(border|b)-$colors","(border|b)-<directions>-$colors"]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,qt],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,qt],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,qt],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,qt],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,Ht,{autocomplete:"(border|b)-(op|opacity)-<percent>"}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,Ht],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,Ht],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,Ht],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,Ht],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,Yt,{autocomplete:["(border|b)-(rounded|rd)","(border|b)-(rounded|rd)-$borderRadius","(rounded|rd)","(rounded|rd)-$borderRadius"]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltbse])(?:-(.+))?$/,Yt],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,Yt],[/^(?:border-|b-)?(?:rounded|rd)-([bise][se])(?:-(.+))?$/,Yt],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,Yt],[/^(?: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 Po(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 js(t){return([,e],r)=>{let n=nt(e,r,"borderColor");if(!n)return;let{alpha:o,color:i,cssColor:a}=n;if(a)return Po(a,o,t);if(i)return Po(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 qt([,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=>js(n)(["",e],r.theme)))}}function Ht([,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 Yt([,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)})]],As=/^\[url\(.+\)\]$/,_s=/^\[(?:length|size):.+\]$/,Rs=/^\[position:.+\]$/,Ps=/^\[(?:linear|conic|radial)-gradient\(.+\)\]$/,Os=/^\[image:.+\]$/,Re=[[/^bg-(.+)$/,(...t)=>{let e=t[0][1];if(As.test(e))return{"--un-url":f.bracket(e),"background-image":"var(--un-url)"};if(_s.test(e)&&f.bracketOfLength(e)!=null)return{"background-size":f.bracketOfLength(e).split(" ").map(r=>f.fraction.auto.px.cssvar(r)??r).join(" ")};if((Gt(e)||Rs.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(Ps.test(e)||Os.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>"}]],Pe=[[/^color-scheme-(\w+)$/,([,t])=>({"color-scheme":t})]],Oe=[[/^@container(?:\/(\w+))?(?:-(normal|inline-size|size))?$/,([,t,e])=>({"container-type":e??"inline-size","container-name":t})]],Oo=["solid","double","dotted","dashed","wavy",...O],Me=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,t])=>({"text-decoration-line":t}),{autocomplete:"decoration-(underline|overline|line-through)"}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,Io,{autocomplete:"(underline|decoration)-<num>"}],[/^(?:underline|decoration)-(auto|from-font)$/,([,t])=>({"text-decoration-thickness":t}),{autocomplete:"(underline|decoration)-(auto|from-font)"}],[/^(?:underline|decoration)-(.+)$/,Ms,{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>"}],...Oo.map(t=>[`underline-${t}`,{"text-decoration-style":t}]),...Oo.map(t=>[`decoration-${t}`,{"text-decoration-style":t}]),["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];function Io([,t],{theme:e}){return{"text-decoration-thickness":e.lineWidth?.[t]??f.bracket.cssvar.global.px(t)}}function Ms(t,e){if(ot(f.bracket(t[1])))return Io(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 Le=[["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"}]],Ls={"":"",x:"column-",y:"row-",col:"column-",row:"row-"};function an([,t="",e],{theme:r}){let n=r.spacing?.[e]??f.bracket.cssvar.global.rem(e);if(n!=null)return{[`${Ls[t]}gap`]:n}}var Fe=[[/^(?:flex-|grid-)?gap-?()(.+)$/,an,{autocomplete:["gap-$spacing","gap-<num>"]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,an,{autocomplete:["gap-(x|y)-$spacing","gap-(x|y)-<num>"]}],[/^(?:flex-|grid-)?gap-(col|row)-?(.+)$/,an,{autocomplete:["gap-(col|row)-$spacing","gap-(col|row)-<num>"]}]];function it(t){return t.replace("col","column")}function sn(t){return t[0]==="r"?"Row":"Column"}function Fs(t,e,r){let n=e[`gridAuto${sn(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 Be=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,t,e],{theme:r})=>({[`grid-${it(t)}`]:r[`grid${sn(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)}`]:Fs(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${sn(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"}]],$e=["auto","hidden","clip","visible","scroll","overlay",...O],Te=[[/^(?:overflow|of)-(.+)$/,([,t])=>$e.includes(t)?{overflow:t}:void 0,{autocomplete:[`(overflow|of)-(${$e.join("|")})`,`(overflow|of)-(x|y)-(${$e.join("|")})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,t,e])=>$e.includes(e)?{[`overflow-${t}`]:e}:void 0]],We=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,t])=>({position:t}),{autocomplete:["(position|pos)-<position>","(position|pos)-<globalKeyword>","<position>"]}],[/^(?:position-|pos-)([-\w]+)$/,([,t])=>O.includes(t)?{position:t}:void 0],[/^(?:position-|pos-)?(static)$/,([,t])=>({position:t})]],Kt=[["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")],Ne=[[/^order-(.+)$/,([,t])=>({order:f.bracket.cssvar.number(t)})],["order-first",{order:"-9999"}],["order-last",{order:"9999"}],["order-none",{order:"0"}]],Zt=[["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")],Jt=[["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")],Ie=[...Kt,...Zt,...Jt].flatMap(([t,e])=>[[`flex-${t}`,e],[`grid-${t}`,e]]);function cn(t,{theme:e}){return e.spacing?.[t]??f.bracket.cssvar.global.auto.fraction.rem(t)}function Xt([,t,e],r){let n=cn(e,r);if(n!=null&&t in _t)return _t[t].map(o=>[o.slice(1),n])}var Ue=[[/^(?:position-|pos-)?inset-(.+)$/,([,t],e)=>({inset:cn(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)-(.+)$/,Xt],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,Xt],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,Xt],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,Xt],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,Xt],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,t,e],r)=>({[t]:cn(e,r)})]],De=[["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")],Ve=[[/^(?: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>"}]],Ge=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}],...S("box","box-sizing")],qe=[[/^(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"})}`}]],Bs=["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"],Ts=["none","strict","content","size","inline-size","layout","style","paint"],_=" ",He=[["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)})]],Ye=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}],...S("backface","backface-visibility")],Xe=[[/^cursor-(.+)$/,([,t])=>({cursor:f.bracket.cssvar.global(t)})],...Bs.map(t=>[`cursor-${t}`,{cursor:t}])],Ke=[[/^contain-(.*)$/,([,t])=>f.bracket(t)!=null?{contain:f.bracket(t).split(" ").map(e=>f.cssvar.fraction(e)??e).join(" ")}:Ts.includes(t)?{contain:t}:void 0]],Ze=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}],...S("pointer-events")],Je=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}],...S("resize")],Qe=[["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")],tr=[[/^(?:whitespace-|ws-)([-\w]+)$/,([,t])=>["normal","nowrap","pre","pre-line","pre-wrap","break-spaces",...O].includes(t)?{"white-space":t}:void 0,{autocomplete:"(whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)"}]],er=[[/^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")],rr=[[/^content-(.+)$/,([,t])=>({content:f.bracket.cssvar(t)})],["content-empty",{content:'""'}],["content-none",{content:"none"}]],nr=[["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"}]],or=[["text-wrap",{"text-wrap":"wrap"}],["text-nowrap",{"text-wrap":"nowrap"}],["text-balance",{"text-wrap":"balance"}],["text-pretty",{"text-wrap":"pretty"}]],ir=[["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"}]],ar=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}],...S("case","text-transform")],sr=[["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"}]],cr=[["antialiased",{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"}],["subpixel-antialiased",{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"}]],lr=[["field-sizing-fixed",{"field-sizing":"fixed"}],["field-sizing-content",{"field-sizing":"content"}]],Lt={"--un-ring-inset":_,"--un-ring-offset-width":"0px","--un-ring-offset-color":"#fff","--un-ring-width":"0px","--un-ring-color":"rgb(147 197 253 / 0.5)","--un-shadow":"0 0 rgb(0 0 0 / 0)"},Ws=Object.keys(Lt),fr=[[/^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-)(.+)$/,Uo,{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-(.+)$/,Ns,{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 Uo([,t],{theme:e}){return{"--un-ring-width":e.ringWidth?.[t]??f.bracket.cssvar.px(t)}}function Ns(t,e){return ot(f.bracket(t[1]))?Uo(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":_,"--un-shadow":"0 0 rgb(0 0 0 / 0)"},Is=Object.keys(Ft),ur=[[/^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:Is},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"}]],Us={h:"height",w:"width",inline:"inline-size",block:"block-size"};function zt(t,e){return`${t||""}${Us[e]}`}function we(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 dr=[[/^size-(min-|max-)?(.+)$/,([,t,e],{theme:r})=>({[zt(t,"w")]:we(t,"w",r,e),[zt(t,"h")]:we(t,"h",r,e)})],[/^(?:size-)?(min-|max-)?([wh])-?(.+)$/,([,t,e,r],{theme:n})=>({[zt(t,e)]:we(t,e,n,r)})],[/^(?:size-)?(min-|max-)?(block|inline)-(.+)$/,([,t,e,r],{theme:n})=>({[zt(t,e)]:we(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)]:Mo(n,r,"verticalBreakpoints")})],[/^(?:size-)?(min-|max-)?(w)-screen-(.+)$/,([,t,e,r],n)=>({[zt(t,e)]:Mo(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 Mo(t,e,r="breakpoints"){let n=Q(t,r);if(n)return n.find(o=>o.point===e)?.size}function Ds(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 pr=[[/^(?:size-)?aspect-(?:ratio-)?(.+)$/,([,t])=>({"aspect-ratio":Ds(t)}),{autocomplete:["aspect-(square|video|ratio)","aspect-ratio-(square|video)"]}]],mr=[[/^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>"}]],hr=[[/^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")]],gr=[[/^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-)?(.+)$/,Do,{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-(.+)$/,Vs,{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 Do([,t],{theme:e}){return{"stroke-width":e.lineWidth?.[t]??f.bracket.cssvar.fraction.px.number(t)}}function Vs(t,e){return ot(f.bracket(t[1]))?Do(t,e):B("stroke","stroke","borderColor")(t,e)}var ke=["translate","rotate","scale"],Gs=["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(" "),Mt=["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(" "),qs=["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),br=[[/^(?: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-()(.+)$/,Lo,{custom:{preflightKeys:at}}],[/^(?:transform-)?translate-([xyz])-(.+)$/,Lo,{custom:{preflightKeys:at}}],[/^(?:transform-)?rotate-()(.+)$/,Bo,{custom:{preflightKeys:at}}],[/^(?:transform-)?rotate-([xyz])-(.+)$/,Bo,{custom:{preflightKeys:at}}],[/^(?:transform-)?skew-()(.+)$/,To,{custom:{preflightKeys:at}}],[/^(?:transform-)?skew-([xy])-(.+)$/,To,{custom:{preflightKeys:at},autocomplete:["transform-skew-(x|y)-<percent>","skew-(x|y)-<percent>"]}],[/^(?:transform-)?scale-()(.+)$/,Fo,{custom:{preflightKeys:at}}],[/^(?:transform-)?scale-([xyz])-(.+)$/,Fo,{custom:{preflightKeys:at},autocomplete:[`transform-(${ke.join("|")})-<percent>`,`transform-(${ke.join("|")})-(x|y|z)-<percent>`,`(${ke.join("|")})-<percent>`,`(${ke.join("|")})-(x|y|z)-<percent>`]}],[/^(?:transform-)?preserve-3d$/,()=>({"transform-style":"preserve-3d"})],[/^(?:transform-)?preserve-flat$/,()=>({"transform-style":"flat"})],["transform",{transform:Mt},{custom:{preflightKeys:at}}],["transform-cpu",{transform:Gs},{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:qs},{custom:{preflightKeys:at}}],["transform-none",{transform:"none"}],...S("transform")];function Lo([,t,e],{theme:r}){let n=r.spacing?.[e]??f.bracket.cssvar.fraction.rem(e);if(n!=null)return[...Ct(t,n,"translate"),["transform",Mt]]}function Fo([,t,e]){let r=f.bracket.cssvar.fraction.percent(e);if(r!=null)return[...Ct(t,r,"scale"),["transform",Mt]]}function Bo([,t="",e]){let r=f.bracket.cssvar.degree(e);if(r!=null)return t?{"--un-rotate":0,[`--un-rotate-${t}`]:r,transform:Mt}:{"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-rotate":r,transform:Mt}}function To([,t,e]){let r=f.bracket.cssvar.degree(e);if(r!=null)return[...Ct(t,r,"skew"),["transform",Mt]]}function Wo(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 yr=[[/^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=Wo(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)||Wo(t,e);if(r)return{"transition-property":r}},{autocomplete:[`transition-property-(${[...O].join("|")})`,"transition-property-$transitionProperty","property-$transitionProperty"]}],["transition-none",{transition:"none"}],...S("transition"),["transition-discrete",{"transition-behavior":"allow-discrete"}],["transition-normal",{"transition-behavior":"normal"}]],xr=[[/^text-(.+)$/,Ys,{autocomplete:"text-$fontSize"}],[/^(?:text|font)-size-(.+)$/,Vo,{autocomplete:"text-size-$fontSize"}],[/^text-(?:color-)?(.+)$/,Hs,{autocomplete:"text-$colors"}],[/^(?:color|c)-(.+)$/,B("color","text","textColor"),{autocomplete:"(color|c)-$colors"}],[/^(?:text|color|c)-(.+)$/,([,t])=>O.includes(t)?{color:t}:void 0,{autocomplete:`(text|color|c)-(${O.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":ln(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"}]],vr=[[/^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}}]],$r=[[/^indent(?:-(.+))?$/,([,t],{theme:e})=>({"text-indent":e.textIndent?.[t||"DEFAULT"]||f.bracket.cssvar.global.fraction.rem(t)}),{autocomplete:"indent-$textIndent"}]],wr=[[/^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>"}]],kr=[[/^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 ln(t,e,r){return e[r]?.[t]||f.bracket.cssvar.global.rem(t)}function Vo([,t],{theme:e}){let r=j(e.fontSize?.[t])?.[0]??f.bracket.cssvar.global.rem(t);if(r!=null)return{"font-size":r}}function Hs(t,e){return ot(f.bracket(t[1]))?Vo(t,e):B("color","text","textColor")(t,e)}function Ys([,t="base"],{theme:e}){let r=Pt(t,"length");if(!r)return;let[n,o]=r,i=j(e.fontSize?.[n]),a=o?ln(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?ln(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 Xs={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"},Sr=[[/^(.+?)-(\$.+)$/,([,t,e])=>{let r=Xs[t];if(r)return{[r]:f.cssvar(e)}}]],Er=[[/^\[(.*)\]$/,([t,e])=>{if(!e.includes(":"))return;let[r,...n]=e.split(":"),o=n.join(":");if(!Zs(e)&&/^[\w-]+$/.test(r)&&Ks(o)){let i=f.bracket(`[${o}]`);if(i)return{[r]:i}}}]];function Ks(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 Zs(t){if(!t.includes("://"))return!1;try{return new URL(t).host!==""}catch{return!1}}var fn=[Sr,Er,Ke,Ze,Ye,We,Ue,Ve,Ne,Be,De,hr,Ge,He,pr,dr,Le,br,Xe,Qe,Je,ze,Jt,Zt,Kt,Fe,Ie,Te,ir,tr,nr,Ae,Re,Pe,gr,mr,Ee,$r,or,Se,xr,ar,sr,Me,cr,vr,wr,kr,_e,ur,Ce,fr,yr,je,er,rr,Oe,lr,qe].flat(1);var Qs=[[/^(?: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?O:[]].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?O:[]].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?O:[]].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 Go(t){return t?W(t,0):"rgb(255 255 255 / 0)"}function tc(t,e,r,n){return e?n!=null?W(e,n):W(e,`var(--un-${t}-opacity, ${mt(e)})`):W(r,n)}function un(){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=tc(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":`${Go(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":Go(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 ec(){return([,t,e])=>({[`--un-gradient-${t}-position`]:`${Number(f.bracket.cssvar.percent(e))*100}%`})}var rc=[[/^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)-(.+)$/,un()],[/^(?:bg-gradient-)?(via)-(.+)$/,un()],[/^(?:bg-gradient-)?(to)-(.+)$/,un()],[/^(?:bg-gradient-)?(from|via|to)-op(?:acity)?-?(.+)$/,([,t,e])=>({[`--un-${t}-opacity`]:f.bracket.percent(e)})],[/^(from|via|to)-([\d.]+)%$/,ec()],[/^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"}],...O.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")],dn={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"},nc=[[/^list-(.+?)(?:-(outside|inside))?$/,([,t,e])=>{let r=dn[t];if(r)return e?{"list-style-position":e,"list-style-type":r}:{"list-style-type":r}},{autocomplete:[`list-(${Object.keys(dn).join("|")})`,`list-(${Object.keys(dn).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")],oc=[[/^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>"]}]],ic=[[/^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>"]}]],ac=[["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"]]]],sc=[["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")],cc=[["scroll-auto",{"scroll-behavior":"auto"}],["scroll-smooth",{"scroll-behavior":"smooth"}],...S("scroll","scroll-behavior")],lc=[[/^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")],fc=[[/^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 gn={"--un-blur":_,"--un-brightness":_,"--un-contrast":_,"--un-drop-shadow":_,"--un-grayscale":_,"--un-hue-rotate":_,"--un-invert":_,"--un-saturate":_,"--un-sepia":_},Zo=Object.keys(gn),qo={preflightKeys:Zo},zr="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)",bn={"--un-backdrop-blur":_,"--un-backdrop-brightness":_,"--un-backdrop-contrast":_,"--un-backdrop-grayscale":_,"--un-backdrop-hue-rotate":_,"--un-backdrop-invert":_,"--un-backdrop-opacity":_,"--un-backdrop-saturate":_,"--un-backdrop-sepia":_},Jo=Object.keys(bn),uc={preflightKeys:Jo},jr="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:[...Zo,...Jo]};function pn(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":jr,"backdrop-filter":jr}:{[`--un-${t}`]:`${t}(${i})`,filter:zr}}}function dc([,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:zr};if(r=f.bracket.cssvar(t),r!=null)return{"--un-drop-shadow":`drop-shadow(${r})`,filter:zr}}var pc=[[/^(?:(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(?:-(.+))?$/,dc,{custom:qo,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",pn),{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",pn),{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",pn),{custom:ft,autocomplete:["(backdrop|filter)-sepia","(backdrop|filter)-sepia-<percent>","sepia-<percent>"]}],["filter",{filter:zr},{custom:qo}],["backdrop-filter",{"-webkit-backdrop-filter":jr,"backdrop-filter":jr},{custom:uc}],["filter-none",{filter:"none"}],["backdrop-filter-none",{"-webkit-backdrop-filter":"none","backdrop-filter":"none"}],...O.map(t=>[`filter-${t}`,{filter:t}]),...O.map(t=>[`backdrop-filter-${t}`,{"-webkit-backdrop-filter":t,"backdrop-filter":t}])],mc=[[/^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",...O].map(t=>[`line-clamp-${t}`,{overflow:"visible",display:"block","-webkit-box-orient":"horizontal","-webkit-line-clamp":t,"line-clamp":t}])],hc=[[/^\$ 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>"]}]],yn={"--un-scroll-snap-strictness":"proximity"},Ho={preflightKeys:Object.keys(yn)},gc=[[/^snap-(x|y)$/,([,t])=>({"scroll-snap-type":`${t} var(--un-scroll-snap-strictness)`}),{custom:Ho,autocomplete:"snap-(x|y|both)"}],[/^snap-both$/,()=>({"scroll-snap-type":"both var(--un-scroll-snap-strictness)"}),{custom:Ho}],["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")]],bc=[[/^space-([xy])-(.+)$/,Yo,{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)-(.+)$/,Yo],[/^space-(block|inline)-reverse$/,([,t])=>({[`--un-space-${t}-reverse`]:1})]];function Yo([,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 yc=[["uppercase",{"text-transform":"uppercase"}],["lowercase",{"text-transform":"lowercase"}],["capitalize",{"text-transform":"capitalize"}],["normal-case",{"text-transform":"none"}]],xc=[...["manual","auto","none",...O].map(t=>[`hyphens-${t}`,{"-webkit-hyphens":t,"-ms-hyphens":t,hyphens:t}])],vc=[["write-vertical-right",{"writing-mode":"vertical-rl"}],["write-vertical-left",{"writing-mode":"vertical-lr"}],["write-normal",{"writing-mode":"horizontal-tb"}],...S("write","writing-mode")],$c=[["write-orient-mixed",{"text-orientation":"mixed"}],["write-orient-sideways",{"text-orientation":"sideways"}],["write-orient-upright",{"text-orientation":"upright"}],...S("write-orient","text-orientation")],wc=[["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"}]],kc=[["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("|")})`}]],Ec=[["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")],Cc=[["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")],zc=[["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"}]],xn={"--un-border-spacing-x":0,"--un-border-spacing-y":0},Xo={preflightKeys:Object.keys(xn)},Ko="var(--un-border-spacing-x) var(--un-border-spacing-y)",jc=[["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":Ko}},{custom:Xo,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":Ko}},{custom:Xo,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"}]],vn={"--un-pan-x":_,"--un-pan-y":_,"--un-pinch-zoom":_},mn={preflightKeys:Object.keys(vn)},hn="var(--un-pan-x) var(--un-pan-y) var(--un-pinch-zoom)",Ac=[[/^touch-pan-(x|left|right)$/,([,t])=>({"--un-pan-x":`pan-${t}`,"touch-action":hn}),{custom:mn,autocomplete:["touch-pan","touch-pan-(x|left|right|y|up|down)"]}],[/^touch-pan-(y|up|down)$/,([,t])=>({"--un-pan-y":`pan-${t}`,"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"}],...S("touch","touch-action")],$n={"--un-ordinal":_,"--un-slashed-zero":_,"--un-numeric-figure":_,"--un-numeric-spacing":_,"--un-numeric-fraction":_},yt={preflightKeys:Object.keys($n)};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 _c=[[/^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"}]],Rc={"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"},Pc=[[/^(.+?)-(\$.+)$/,([,t,e])=>{let r=Rc[t];if(r)return{[r]:f.cssvar(e)}}]],Oc=[[/^view-transition-([\w-]+)$/,([,t])=>({"view-transition-name":t})]],Qo=[Sr,Pc,Er,Ao,Ke,wc,Ze,Ye,We,Ue,mc,kc,Ve,Ne,Be,De,hr,Ge,He,pr,dr,Le,jc,br,Qs,Xe,Ac,Qe,Je,gc,nc,ze,lc,Jt,Zt,Kt,Fe,Ie,bc,fc,Te,sc,cc,ir,tr,nr,Ae,Re,rc,Pe,gr,Sc,mr,Ee,$r,or,Se,xr,ar,yc,sr,_c,Me,cr,vr,wr,kr,xc,vc,$c,ic,oc,_e,Ec,Cc,ur,Ce,fr,ac,pc,yr,je,er,rr,hc,Oe,Oc,zc,lr,qe].flat(1);var ti=[...on];var Ar={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(Ar).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 ei={DEFAULT:"8px",0:"0",sm:"4px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},ri={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)"},ni={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(",")},oi={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"]},ii={DEFAULT:"1.5rem",xs:"0.5rem",sm:"1rem",md:"1.5rem",lg:"2rem",xl:"2.5rem","2xl":"3rem","3xl":"4rem"},ai={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},si={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)"]},ci={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},Cn={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},li={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},fi=Cn,zn={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},ui={...zn},di={DEFAULT:"1px",none:"0"},pi={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"},mi={DEFAULT:"150ms",none:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},hi={DEFAULT:"0.25rem",none:"0",sm:"0.125rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},gi={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)"},bi={DEFAULT:"3px",none:"0"},yi={auto:"auto"},xi={mouse:"(hover) and (pointer: fine)"},vi={...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"},$i={auto:"auto",...st,screen:"100vw"},wn={none:"none",...st,screen:"100vw"},wi={auto:"auto",...st,screen:"100vb"},ki={auto:"auto",...st,screen:"100vi"},Si={auto:"auto",...st,screen:"100vh"},kn={none:"none",...st,screen:"100vh"},Sn={none:"none",...st,screen:"100vb"},En={none:"none",...st,screen:"100vi"},Ei={...st},Mc={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)"},Lc={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(",")}},Qt={width:$i,height:Si,maxWidth:wn,maxHeight:kn,minWidth:wn,minHeight:kn,inlineSize:ki,blockSize:wi,maxInlineSize:En,maxBlockSize:Sn,minInlineSize:En,minBlockSize:Sn,colors:Ar,fontFamily:ni,fontSize:oi,fontWeight:li,breakpoints:zn,verticalBreakpoints:ui,borderRadius:hi,lineHeight:ci,letterSpacing:Cn,wordSpacing:fi,boxShadow:gi,textIndent:ii,textShadow:si,textStrokeWidth:ai,blur:ei,dropShadow:ri,easing:Mc,transitionProperty:Lc,lineWidth:di,spacing:pi,duration:mi,ringWidth:bi,preflightBase:vi,containers:Ei,zIndex:yi,media:xi};var Ci={...Qt,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,...vn,...yn,...$n,...xn,...Ft,...Lt,...gn,...bn}};var Fc={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 $=new RegExp(`${K(p)}${K(h)}(?:\\[.+?\\])+`),w=m.prefix.match($),y;if(w){let b=(w.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 Bc(){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 Tc(t={}){return[_r("group"," ",t),_r("peer","~",t),_r("parent",">",t),_r("previous","+",t),Bc()]}var zi=/(max|min)-\[([^\]]*)\]:/;function Wc(){let t={};return{name:"breakpoints",match(e,r){if(zi.test(e)){let o=e.match(zi);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 Nc=[(0,R.variantMatcher)("*",t=>({selector:`${t.selector} > *`}),{order:-1})];function te(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 Ic=[te("all"," "),te("children",">"),te("next","+"),te("sibling","+"),te("siblings","~")],Uc={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 Dc(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 Vc={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 Rr(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 $=new RegExp(`${K(p)}${K(h)}(?:\\[.+?\\])+`),w=m.prefix.match($),y;if(w){let b=(w.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 Gc(){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 qc(t={}){return[Rr("group"," ",t),Rr("peer","~",t),Rr("parent",">",t),Rr("previous","+",t),Gc()]}var Hc=[(0,R.variantMatcher)("rtl",t=>({prefix:`[dir="rtl"] $$ ${t.prefix}`})),(0,R.variantMatcher)("ltr",t=>({prefix:`[dir="ltr"] $$ ${t.prefix}`}))];function Yc(){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 Xc=(0,R.variantParentMatcher)("print","@media print"),Kc={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},Zc={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}}}},Jc={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}`})}}}},Qc={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}}}},tl={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}`}}}},el={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},rl={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))})}}}},ji=/^-?[0-9.]+(?:[a-z]+|%)?$/,Ai=/-?[0-9.]+(?:[a-z]+|%)?/,nl=[/\b(opacity|color|flex|backdrop-filter|^filter|transform)\b/];function ol(t){let e=t.match(Et)||t.match(Dt);if(e){let[r,n]=$t(`(${e[2]})${e[3]}`,"(",")"," ")??[];if(r)return`calc(${e[1]}${r} * -1)${n?` ${n}`:""}`}}var il=/\b(hue-rotate)\s*(\(.*)/;function al(t){let e=t.match(il);if(e){let[r,n]=$t(e[2],"(",")"," ")??[];if(r){let o=ji.test(r.slice(1,-1))?r.replace(Ai,i=>i.startsWith("-")?i.slice(1):`-${i}`):`(calc(${r} * -1))`;return`${e[1]}${o}${n?` ${n}`:""}`}}}var sl={name:"negative",match(t){if(t.startsWith("-"))return{matcher:t.slice(1),body:e=>{if(e.find(n=>n[0]===Vt))return;let r=!1;return e.forEach(n=>{let o=n[1]?.toString();if(!o||o==="0"||nl.some(s=>s.test(n[0])))return;let i=ol(o);if(i){n[1]=i,r=!0;return}let a=al(o);if(a){n[1]=a,r=!0;return}ji.test(o)&&(n[1]=o.replace(Ai,s=>s.startsWith("-")?s.slice(1):`-${s}`),r=!0)}),r?e:[]}}}};function cl(){return Zr({getBracket:lt.getBracket,h:f,variantGetBracket:lt.variantGetBracket})}function ll(){return Jr({getBracket:lt.getBracket,h:f,variantGetBracket:lt.variantGetBracket})}function fl(t={}){return Qr(t,{getBracket:lt.getBracket,h:f,variantGetBracket:lt.variantGetBracket})}var ul=tn(),dl={name:"starting",match(t){if(t.startsWith("starting:"))return{matcher:t.slice(9),handle:(e,r)=>r({...e,parent:"@starting-style"})}}},pl={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 Pr(t){return[Fc,Vc,Jc,Zc,Qc,sl,dl,Yc(),pl,Xc,Kc,Wc(),...Ic,...cl(),ll(),...fl(t),ul,...Dc(t),...Hc,tl,...Nc,Uc,el,...qc(t),...Tc(t),rl]}var ml=[St("svg",t=>({selector:`${t.selector} svg`}))],hl=[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)")],gl=[rt("contrast-more","@media (prefers-contrast: more)"),rt("contrast-less","@media (prefers-contrast: less)")],bl=[rt("motion-reduce","@media (prefers-reduced-motion: reduce)"),rt("motion-safe","@media (prefers-reduced-motion: no-preference)")],yl=[rt("landscape","@media (orientation: landscape)"),rt("portrait","@media (orientation: portrait)")],xl=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}`}}},vl=[St("@hover",t=>({parent:`${t.parent?`${t.parent} $$ `:""}@media (hover: hover) and (pointer: fine)`,selector:`${t.selector||""}:hover`}))];function _i(t,e,r){return`calc(${e} + (${t} - ${e}) * ${r} / 100)`}function Ri(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(_i(o[0].components[a],o[1].components[a],r));return{type:"rgb",components:i,alpha:_i(o[0].alpha??1,o[1].alpha??1,r)}}function Pi(t,e){return Ri("#fff",t,e)}function Oi(t,e){return Ri("#000",t,e)}function $l(t,e){let r=Number.parseFloat(`${e}`);if(!Number.isNaN(r))return r>0?Oi(t,e):Pi(t,-r)}var wl={tint:Pi,shade:Oi,shift:$l};function kl(){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=wl[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")||El(i))return{matcher:`${n}placeholder-$ ${o}${i}`}}};function El(t){let e=t.match(/^op(?:acity)?-?(.+)$/);return e&&e[1]!=null?f.bracket.percent(e[1])!=null:!1}function Mi(t){return[Sl,xl,...Pr(t),...gl,...yl,...bl,...ml,...hl,...vl,kl()]}function Cl(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 zl(t,e,r,n){for(let o of Array.from(t.matchAll(r)))if(o!=null){let i=o[0],a=`${n}${Cl(i)}`;e.set(a,i),t=t.replace(i,a)}return t}function jl(t,e){for(let[r,n]of e.entries())t=t.replaceAll(r,n);return t}var Al=/\/\/#\s*sourceMappingURL=.*\n?/g;function _l(t){return t.includes("sourceMappingURL=")?t.replace(Al,""):t}var Rl=/(?:[\w&:[\]-]|\[\S{1,64}=\S{1,64}\]){1,64}\[\\?['"]?\S{1,64}?['"]\]\]?[\w:-]{0,64}/g,Pl=/\[(\\\W|[\w-]){1,64}:[^\s:]{0,64}?("\S{1,64}?"|'\S{1,64}?'|`\S{1,64}?`|[^\s:]{1,64}?)[^\s:]{0,64}?\)?\]/g,Ol=/^\[(?:\\\W|[\w-]){1,64}:['"]?\S{1,64}?['"]?\]$/;function Ml(t){let e=[];for(let o of t.matchAll(Pl))o.index!==0&&!/^[\s'"`]/.test(t[o.index-1]??"")||e.push(o[0]);for(let o of t.matchAll(Rl))e.push(o[0]);let r=new Map,n="@unocss-skip-arbitrary-brackets";return t=zl(t,r,/-\[(?!&.+?;)[^\]]*\]/g,n),t&&t.split(Br).forEach(o=>{o.includes(n)&&(o=jl(o,r)),Wt(o)&&!Ol.test(o)&&e.push(o)}),e}function Li(){return{name:"@unocss/extractor-arbitrary-variants",order:0,extract({code:t}){return Ml(_l(t))}}}function Fi(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 Ll={position:["relative","absolute","fixed","sticky","static"],globalKeyword:O},jn=(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:Qt,rules:fn,variants:Pr(t),options:t,prefix:t.prefix,postprocess:Fl(t.variablePrefix),preflights:Fi(t),extractorDefault:t.arbitraryVariants===!1?void 0:Li(),autocomplete:{shorthands:Ll}}),Bi=jn;function Fl(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 Bl(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 Tl(t){return[...j(Bi(t).postprocess),...Bl(t.important)]}var Ti=(t={})=>(t.important=t.important??!1,{...jn(t),name:"@unocss/preset-wind3",theme:Ci,rules:Qo,shortcuts:ti,variants:Mi(t),postprocess:Tl(t)});var Wl=(t={})=>({...Ti(t),name:"@unocss/preset-uno"}),Wi=Wl;function Nl(t){return t.replace(/-(\w)/g,(e,r)=>r?r.toUpperCase():"")}function Ni(t){return t.charAt(0).toUpperCase()+t.slice(1)}function Ii(t){return t.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}var Ui=["Webkit","Moz","ms"];function Di(t){let e={};function r(n){let o=e[n];if(o)return o;let i=Nl(n);if(i!=="filter"&&i in t)return e[n]=Ii(i);i=Ni(i);for(let a=0;a<Ui.length;a++){let s=`${Ui[a]}${i}`;if(s in t)return e[n]=Ii(Ni(s))}return n}return({entries:n})=>n.forEach(o=>{o[0].startsWith("--")||(o[0]=r(o[0]))})}function Vi(t){return t.replace(/&/g,"&").replace(/>/g,">").replace(/</g,"<")}async function An(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(Di(r.createElement("div").style)),i.configResolved?.(o,a);let c=await Gn(o,a),l=k=>{let A=t.rootElement?.();if(A){A.appendChild(k);return}i.inject?i.inject(k):n().prepend(k)},u=()=>i.rootElement?i.rootElement():r.body,d=new Map,p=!0,h=new Set,m,x,$=[],w=()=>new Promise(k=>{$.push(k),x!=null&&clearTimeout(x),x=setTimeout(()=>g().then(()=>{let A=$;$=[],A.forEach(L=>L())}),0)});function y(k,A=!1){if(k.nodeType!==1)return;let L=k;L.hasAttribute(s)&&L.removeAttribute(s),A&&L.querySelectorAll(`[${s}]`).forEach(T=>{T.removeAttribute(s)})}function b(k,A){let L=d.get(k);if(!L)if(L=r.createElement("style"),L.setAttribute("data-unocss-runtime-layer",k),d.set(k,L),A==null)l(L);else{let T=b(A),G=T.parentNode;G?G.insertBefore(L,T.nextSibling):l(L)}return L}async function g(){let k=[...h],A=await c.generate(k);return A.layers.reduce((T,G)=>(b(G,T).innerHTML=A.getLayer(G)??"",G),void 0),k.filter(T=>!A.matched.has(T)).forEach(T=>h.delete(T)),{...A,getStyleElement:T=>d.get(T),getStyleElements:()=>d}}async function v(k){let A=h.size;await c.applyExtractors(k,void 0,h),A!==h.size&&await w()}async function P(k=u()){let A=k&&k.outerHTML;A&&(await v(`${A} ${Vi(A)}`),y(n()),y(k,!0))}let H=new MutationObserver(k=>{p||k.forEach(async A=>{if(A.target.nodeType!==1)return;let L=A.target;for(let T of d)if(L===T[1])return;if(A.type==="childList")A.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(L))return;if(A.attributeName!==s){let T=Array.from(L.attributes).map(vt=>vt.value?`${vt.name}="${vt.value}"`:vt.name).join(" "),G=`<${L.tagName.toLowerCase()} ${T}>`;await v(G)}y(L)}})}),E=!1;function C(){if(E)return;let k=i.observer?.target?i.observer.target():u();k&&(H.observe(k,{childList:!0,subtree:!0,attributes:!0,attributeFilter:i.observer?.attributeFilter}),E=!0)}function z(){i.bypassDefined&&Il(c.blocked),P(),C()}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(k){F(k)||(k.forEach(A=>h.add(A)),k=""),await v(k)},extractAll:P,inspect(k){m=k},toggleObserver(k){k===void 0?p=!p:p=!!k,!E&&!p&&V()},update:g,presets:e.__unocss_runtime?.presets??{}};i.ready?.(D)!==!1&&(p=!1,V())}function Il(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}An({defaults:{presets:[Wi(),Jn()]}});})();
|
|
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 At.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),At.insertLeft=!0),this.appendLeft(e,r)}insertRight(e,r){return At.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),At.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&&(At.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),At.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 fe(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(It);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(It),e!==-1)return n.outro.substr(e+1)+r;r=n.outro+r}if(n.content.length>0){if(e=n.content.lastIndexOf(It),e!==-1)return n.content.substr(e+1)+r;r=n.content+r}if(n.intro.length>0){if(e=n.intro.lastIndexOf(It),e!==-1)return n.intro.substr(e+1)+r;r=n.intro+r}}while(n=n.previous);return e=this.intro.lastIndexOf(It),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=io(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 ao(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 me=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"],so=["srgb","srgb-linear","display-p3","a98-rgb","prophoto-rgb","rec2020","lab","oklab","xyz","xyz-d50","xyz-d65"],co=["hsl","hwb","lch","oklch"],lo=["shorter","longer","increasing","decreasing"],qr=["%alpha","<alpha-value>"],fo=new RegExp(qr.map(t=>K(t)).join("|"),"g");function qa(t){return t?so.some(e=>t.includes(e))||co.some(e=>t.includes(e))||lo.some(e=>t.includes(e)):!1}function Ha(t=""){let e=uo(t);if(e!=null){let{components:r,alpha:n}=e;return n==null?r:[...r,n]}}function J(t=""){let e=Ya(t);if(e==null||e===!1)return;let{type:r,components:n,alpha:o}=e,i=r.toLowerCase();if(n.length!==0&&!(me.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"&&qr.includes(e)?1:e}function W(t,e){if(typeof t=="string")return t.replace(fo,`${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}`,me.includes(o)?`${o}(${r.join(" ")}${n})`:`color(${o} ${r.join(" ")}${n})`)}function Ya(t){if(!t)return;let e=uo(t);if(e!=null||(e=Xa(t),e!=null)||(e=Ka(t),e!=null)||(e=Ja(t),e!=null)||(e=Qa(t),e!=null))return e}function uo(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 Xa(t){let e={rebeccapurple:[102,51,153,1]}[t];if(e!=null)return{type:"rgb",components:e.slice(0,3),alpha:e[3]}}function Ka(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 Za=new RegExp(`^(${me.join("|")})\\((.+)\\)$`,"i");function Ja(t){let e=t.match(Za);if(!e)return;let[,r,n]=e,o=po(`${r} ${n}`);if(o){let{alpha:i,components:[a,...s]}=o;return{type:a,components:s,alpha:i}}}function Qa(t){let e=t.match(/^color\((.+)\)$/);if(!e)return;let r=po(e[1]);if(r){let{alpha:n,components:[o,...i]}=r;return{type:o,components:i,alpha:n}}}function po(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 mo=/theme\(\s*(['"])?(.*?)\1?\s*\)/g;function ts(t){return t.includes("theme(")&&t.includes(")")}function es(t,e,r=!0){let n=Array.from(t.toString().matchAll(mo));if(!n.length)return t;let o=new ue(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=ho(a,e,r);s&&o.overwrite(i.index,i.index+i[0].length,s)}return o.toString()}function ho(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 rs(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 Hr(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 ns=/icon\(\s*(['"])?(.*?)\1?\s*\)/g;function os(t){return t.includes("icon(")&&t.includes(")")}var Ut="__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(${Ut})`],["nth-last",`:nth-last-child(${Ut})`],["nth-last-of-type",`:nth-last-of-type(${Ut})`],["nth-of-type",`:nth-of-type(${Ut})`],"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}`])),Yr=Object.keys(wt),kt=Object.fromEntries([["backdrop","::backdrop"]].map(t=>Array.isArray(t)?t:[t,`:${t}`])),Xr=Object.keys(kt),go=["not","is","where","has"],Kr=Object.fromEntries([["selection",["::selection"," *::selection"]],["marker",["::marker"," *::marker"]]]),de=Object.entries(wt).filter(([,t])=>!t.startsWith("::")).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|"),pe=Object.entries(kt).filter(([,t])=>!t.startsWith("::")).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|"),pt=go.join("|"),Dr=Object.keys(Kr).sort((t,e)=>e.length-t.length).join("|"),bo=["::-webkit-resizer","::-webkit-scrollbar","::-webkit-scrollbar-button","::-webkit-scrollbar-corner","::-webkit-scrollbar-thumb","::-webkit-scrollbar-track","::-webkit-scrollbar-track-piece","::file-selector-button"],Vr=Object.entries(wt).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|"),Gr=Object.entries(kt).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|");function yo(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 $=i(`${t}-`,m,[]);if(!$)return;let[w,y]=$,b=o.bracket(w);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,y]=x,b=x[3]??"",g=wt[y]||kt[y]||`:${y}`;return w&&(g=`:${w}(${g})`),[b,m.slice($.length),`${e}${Z(b)}${g}`,y]},h=m=>{let x=m.match(u);if(!x)return;let[$,w,y]=x,b=x[3]??"",g=`:${w}(${y})`;return[b,m.slice($.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})-)?(${de}))(?:(/[\\w-]+))?(?:${x.generator.config.separators.join("|")})`),l=new RegExp(`^${t}-(?:(?:(${pt})-)?(${pe}))(?:(/[\\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 $=d(m)||p(m)||h(m);if(!$)return;let[w,y,b,g=""]=$;return{matcher:y,handle:(v,P)=>P({...v,prefix:`${b}${r}${v.prefix}`.replace(a,"$1$2:"),sort:Yr.indexOf(g)??Xr.indexOf(g)})}},multiPass:!0}}function Zr(t){let{h:e}=t,r,n,o;return[{name:"pseudo",match(i,a){r&&n||(r=new RegExp(`^(${Vr})(?:-(\\d+|\\[(\\w|[+-.])+\\]))?(?:${a.generator.config.separators.join("|")})`),n=new RegExp(`^(${Gr})(?:${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(Ut,u))}let l=Yr.indexOf(s[1]);return l===-1&&(l=Xr.indexOf(s[1])),l===-1&&(l=void 0),{matcher:i.slice(s[0].length),handle:(u,d)=>{let p=c.includes("::")&&!bo.includes(c)?{pseudo:`${u.pseudo}${c}`}:{selector:`${u.selector}${c}`};return d({...u,...p,sort:l,noMerge:!0})}}}},multiPass:!0,autocomplete:`(${Vr}|${Gr}):`},{name:"pseudo:multi",match(i,a){o||(o=new RegExp(`^(${Dr})(?:${a.generator.config.separators.join("|")})`));let s=i.match(o);if(s)return Kr[s[1]].map(c=>({matcher:i.slice(s[0].length),handle:(l,u)=>u({...l,pseudo:`${l.pseudo}${c}`})}))},multiPass:!1,autocomplete:`(${Dr}):`}]}function Jr(t){let{getBracket:e,h:r}=t,n,o,i;return{match(a,s){n&&o||(n=new RegExp(`^(${pt})-(${de})(?:${s.generator.config.separators.join("|")})`),o=new RegExp(`^(${pt})-(${pe})(?:${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})-(${de}|${pe}):`}}function Qr(t,e){let r=!!t?.attributifyPseudo,n=t?.prefix??"";n=Z((Array.isArray(n)?n:[n]).filter(Boolean)[0]??"");let o=(i,a)=>yo(i,r?`[${n}${i}=""]`:`.${n}${i}`,a,e);return[o("group"," "),o("peer","~"),o("parent",">"),o("previous","+")]}var is=/(part-\[(.+)\]:)(.+)/;function tn(){return{match(t){let e=t.match(is);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 xo(t,e,r){if(e.startsWith(`${t}[`)){let[n,o]=ao(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 vo(t,e,r){for(let n of j(t))if(e.startsWith(n)){let o=xo(n,e,r);if(o){let[i="",a=o[1]]=vo("/",o[1],r)??[];return[o[0],a,i]}for(let i of r.filter(a=>a!=="/")){let a=e.indexOf(i,n.length);if(a!==-1){let s=e.indexOf("/",n.length),c=s===-1||a<=s;return[e.slice(n.length,c?a:s),e.slice(a+i.length),c?"":e.slice(s+1,a)]}}}}var U={l:["-left"],r:["-right"],t:["-top"],b:["-bottom"],s:["-inline-start"],e:["-inline-end"],x:["-left","-right"],y:["-top","-bottom"],"":[""],bs:["-block-start"],be:["-block-end"],is:["-inline-start"],ie:["-inline-end"],block:["-block-start","-block-end"],inline:["-inline-start","-inline-end"]},Rt={...U,s:["-inset-inline-start"],start:["-inset-inline-start"],e:["-inset-inline-end"],end:["-inset-inline-end"],bs:["-inset-block-start"],be:["-inset-block-end"],is:["-inset-inline-start"],ie:["-inset-inline-end"],block:["-inset-block-start","-inset-block-end"],inline:["-inset-inline-start","-inset-inline-end"]},Pt={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"]},he={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},ge=["x","y","z"],$o=["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({},...$o.map(t=>({[t.replace(/ /,"-")]:t})),...$o.map(t=>({[t.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:t}))),O=["inherit","initial","revert","revert-layer","unset"],Et=/^(calc|clamp|min|max)\s*\((.+)\)(.*)/,Dt=/^(var)\s*\((.+)\)(.*)/,be=/^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i,Eo=/^(-?\d*(?:\.\d+)?)$/,Co=/^(px|[sld]?v[wh])$/i,zo={px:1,vw:100,vh:100,svw:100,svh:100,dvw:100,dvh:100,lvh:100,lvw:100},jo=/^\[(color|image|length|size|position|quoted|string):/i,as=/,(?![^()]*\))/g,ye=ce({auto:()=>ls,bracket:()=>hs,bracketOfColor:()=>gs,bracketOfLength:()=>bs,bracketOfPosition:()=>ys,cssvar:()=>xs,degree:()=>$s,fraction:()=>ms,global:()=>ws,number:()=>ds,numberWithUnit:()=>cs,percent:()=>ps,position:()=>Ss,properties:()=>ks,px:()=>us,rem:()=>fs,time:()=>vs}),ss=["color","border-color","background-color","outline-color","text-decoration-color","flex-grow","flex","flex-shrink","grid","grid-template-columns","grid-template-rows","caret-color","font","gap","opacity","visibility","z-index","font-weight","zoom","text-shadow","transform","box-shadow","border","background-position","left","right","top","bottom","object-position","max-height","min-height","max-width","min-width","height","width","border-width","margin","padding","outline-width","outline-offset","font-size","line-height","text-indent","vertical-align","border-spacing","letter-spacing","word-spacing","stroke","filter","backdrop-filter","fill","mask","mask-size","mask-border","clip-path","clip","border-radius"];function q(t){return+t.toFixed(10)}function cs(t){let e=t.match(be);if(!e)return;let[,r,n]=e,o=Number.parseFloat(r);if(n&&!Number.isNaN(o))return`${q(o)}${n}`}function ls(t){if(t==="auto"||t==="a")return"auto"}function fs(t){if(!t)return;if(Co.test(t))return`${zo[t]}${t}`;let e=t.match(be);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 us(t){if(Co.test(t))return`${zo[t]}${t}`;let e=t.match(be);if(!e)return;let[,r,n]=e,o=Number.parseFloat(r);if(!Number.isNaN(o))return n?`${q(o)}${n}`:`${q(o)}px`}function ds(t){if(!Eo.test(t))return;let e=Number.parseFloat(t);if(!Number.isNaN(e))return q(e)}function ps(t){if(t.endsWith("%")&&(t=t.slice(0,-1)),!Eo.test(t))return;let e=Number.parseFloat(t);if(!Number.isNaN(e))return`${q(e/100)}`}function ms(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 xe(t,e){if(t&&t.startsWith("[")&&t.endsWith("]")){let r,n,o=t.match(jo);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 hs(t){return xe(t)}function gs(t){return xe(t,"color")}function bs(t){return xe(t,"length")}function ys(t){return xe(t,"position")}function xs(t){if(/^\$[^\s'"`;{}]/.test(t)){let[e,r]=t.slice(1).split(",");return`var(--${Z(e)}${r?`, ${r}`:""})`}}function vs(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 $s(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 ws(t){if(O.includes(t))return t}function ks(t){if(t.split(",").every(e=>ss.includes(e)))return t}function Ss(t){if(["top","left","right","bottom","center"].includes(t))return t}var ve=Hr(ye),f=ve,Vt="$$mini-no-negative";function M(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 wo(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 ko(t,e,r){return wo(t,e,r)||wo(t,e,"colors")}function Ot(t,e){let[r,n]=$t(t,"[","]",["/",":"])??[];if(r!=null){let o=(r.match(jo)??[])[1];if(o==null||o===e)return[r,n]}}function nt(t,e,r){let n=Ot(t,"color");if(!n)return;let[o,i]=n,a=o.replace(/([a-z])(\d)/g,"$1-$2").split(/-/g),[s]=a;if(!s)return;let c,l=f.bracketOfColor(o),u=l||o;if(f.numberWithUnit(u))return;if(/^#[\da-f]+$/i.test(u)?c=u:/^hex-[\da-fA-F]+$/.test(u)?c=`#${u.slice(4)}`:o.startsWith("$")&&(c=f.cssvar(o)),c=c||l,!c){let p=ko(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=ko(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 So=/[a-z]+/gi,rn=new WeakMap;function Q({theme:t,generator:e},r="breakpoints"){let n=e?.userConfig?.theme?.[r]||t[r];if(!n)return;if(rn.has(t))return rn.get(t);let o=Object.entries(n).sort((i,a)=>Number.parseInt(i[1].replace(So,""))-Number.parseInt(a[1].replace(So,""))).map(([i,a])=>({point:i,size:a}));return rn.set(t,o),o}function nn(t){return Q(t,"verticalBreakpoints")}function S(t,e){return O.map(r=>[`${t}-${r}`,{[e??t]:r}])}function ot(t){return t!=null&&Et.test(t)}function Gt(t){return t[0]==="["&&t.slice(-1)==="]"&&(t=t.slice(1,-1)),Et.test(t)||be.test(t)}function Ct(t,e,r){let n=e.split(as);return t||!t&&n.length===1?he[t].map(o=>[`--un-${r}${o}`,e]):n.map((o,i)=>[`--un-${r}-${ge[i]}`,o])}var lt=ce({CONTROL_MINI_NO_NEGATIVE:()=>Vt,colorResolver:()=>B,colorableShadows:()=>ht,cornerMap:()=>Pt,cssMathFnRE:()=>Et,cssVarFnRE:()=>Dt,directionMap:()=>U,directionSize:()=>M,globalKeywords:()=>O,h:()=>f,handler:()=>ve,hasParseableColor:()=>gt,insetMap:()=>Rt,isCSSMathFn:()=>ot,isSize:()=>Gt,makeGlobalStaticRules:()=>S,parseColor:()=>nt,positionMap:()=>N,resolveBreakpoints:()=>Q,resolveVerticalBreakpoints:()=>nn,splitShorthand:()=>Ot,transformXYZ:()=>Ct,valueHandlers:()=>ye,xyzArray:()=>ge,xyzMap:()=>he});Nr(lt,en);var R=ce({CONTROL_MINI_NO_NEGATIVE:()=>Vt,colorResolver:()=>B,colorableShadows:()=>ht,cornerMap:()=>Pt,cssMathFnRE:()=>Et,cssVarFnRE:()=>Dt,directionMap:()=>U,directionSize:()=>M,globalKeywords:()=>O,h:()=>f,handler:()=>ve,hasParseableColor:()=>gt,insetMap:()=>Rt,isCSSMathFn:()=>ot,isSize:()=>Gt,makeGlobalStaticRules:()=>S,parseColor:()=>nt,positionMap:()=>N,resolveBreakpoints:()=>Q,resolveVerticalBreakpoints:()=>nn,splitShorthand:()=>Ot,transformXYZ:()=>Ct,valueHandlers:()=>ye,xyzArray:()=>ge,xyzMap:()=>he});Nr(R,lt);var Es=/@media \(min-width: (.+)\)/,Ao=[[/^__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(Es)?.[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}]],on=[[/^(?:(\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 _o={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(O.map(t=>[t,t]))},Se=[[/^(?:vertical|align|v)-(.+)$/,([,t])=>({"vertical-align":_o[t]??f.bracket.cssvar.numberWithUnit(t)}),{autocomplete:[`(vertical|align|v)-(${Object.keys(_o).join("|")})`,"(vertical|align|v)-<percentage>"]}]],Ro=["center","left","right","justify","start","end"],Ee=[...Ro.map(t=>[`text-${t}`,{"text-align":t}]),...[...O,...Ro].map(t=>[`text-align-${t}`,{"text-align":t}])],Ce=[[/^outline-(?:width-|size-)?(.+)$/,No,{autocomplete:"outline-(width|size)-<num>"}],[/^outline-(?:color-)?(.+)$/,Cs,{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",...O].map(t=>[`outline-${t}`,{"outline-style":t}]),["outline-none",{outline:"2px solid transparent","outline-offset":"2px"}]];function No([,t],{theme:e}){return{"outline-width":e.lineWidth?.[t]??f.bracket.cssvar.global.px(t)}}function Cs(t,e){return ot(f.bracket(t[1]))?No(t,e):B("outline-color","outline-color","borderColor")(t,e)}var ze=[["appearance-auto",{"-webkit-appearance":"auto",appearance:"auto"}],["appearance-none",{"-webkit-appearance":"none",appearance:"none"}]];function zs(t){return f.properties.auto.global(t)??{contents:"contents",scroll:"scroll-position"}[t]}var je=[[/^will-change-(.+)/,([,t])=>({"will-change":zs(t)})]],bt=["solid","dashed","dotted","double","hidden","none","groove","ridge","inset","outset",...O],Ae=[[/^(?: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-)?(.+)$/,qt,{autocomplete:["(border|b)-$colors","(border|b)-<directions>-$colors"]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,qt],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,qt],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,qt],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,qt],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,Ht,{autocomplete:"(border|b)-(op|opacity)-<percent>"}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,Ht],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,Ht],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,Ht],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,Ht],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,Yt,{autocomplete:["(border|b)-(rounded|rd)","(border|b)-(rounded|rd)-$borderRadius","(rounded|rd)","(rounded|rd)-$borderRadius"]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltbse])(?:-(.+))?$/,Yt],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,Yt],[/^(?:border-|b-)?(?:rounded|rd)-([bise][se])(?:-(.+))?$/,Yt],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,Yt],[/^(?:border|b)-(?:style-)?()(.+)$/,Mt,{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-)?(.+)$/,Mt],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,Mt],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,Mt],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,Mt]];function Po(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 js(t){return([,e],r)=>{let n=nt(e,r,"borderColor");if(!n)return;let{alpha:o,color:i,cssColor:a}=n;if(a)return Po(a,o,t);if(i)return Po(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 qt([,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=>js(n)(["",e],r.theme)))}}function Ht([,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 Yt([,t="",e],{theme:r}){let n=r.borderRadius?.[e||"DEFAULT"]||f.bracket.cssvar.global.fraction.rem(e||"1");if(t in Pt&&n!=null)return Pt[t].map(o=>[`border${o}-radius`,n])}function Mt([,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)})]],As=/^\[url\(.+\)\]$/,_s=/^\[(?:length|size):.+\]$/,Rs=/^\[position:.+\]$/,Ps=/^\[(?:linear|conic|radial)-gradient\(.+\)\]$/,Os=/^\[image:.+\]$/,Re=[[/^bg-(.+)$/,(...t)=>{let e=t[0][1];if(As.test(e))return{"--un-url":f.bracket(e),"background-image":"var(--un-url)"};if(_s.test(e)&&f.bracketOfLength(e)!=null)return{"background-size":f.bracketOfLength(e).split(" ").map(r=>f.fraction.auto.px.cssvar(r)??r).join(" ")};if((Gt(e)||Rs.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(Ps.test(e)||Os.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>"}]],Pe=[[/^color-scheme-(\w+)$/,([,t])=>({"color-scheme":t})]],Oe=[[/^@container(?:\/(\w+))?(?:-(normal|inline-size|size))?$/,([,t,e])=>({"container-type":e??"inline-size","container-name":t})]],Oo=["solid","double","dotted","dashed","wavy",...O],Me=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,t])=>({"text-decoration-line":t}),{autocomplete:"decoration-(underline|overline|line-through)"}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,Io,{autocomplete:"(underline|decoration)-<num>"}],[/^(?:underline|decoration)-(auto|from-font)$/,([,t])=>({"text-decoration-thickness":t}),{autocomplete:"(underline|decoration)-(auto|from-font)"}],[/^(?:underline|decoration)-(.+)$/,Ms,{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>"}],...Oo.map(t=>[`underline-${t}`,{"text-decoration-style":t}]),...Oo.map(t=>[`decoration-${t}`,{"text-decoration-style":t}]),["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];function Io([,t],{theme:e}){return{"text-decoration-thickness":e.lineWidth?.[t]??f.bracket.cssvar.global.px(t)}}function Ms(t,e){if(ot(f.bracket(t[1])))return Io(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 Le=[["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"}]],Ls={"":"",x:"column-",y:"row-",col:"column-",row:"row-"};function an([,t="",e],{theme:r}){let n=r.spacing?.[e]??f.bracket.cssvar.global.rem(e);if(n!=null)return{[`${Ls[t]}gap`]:n}}var Fe=[[/^(?:flex-|grid-)?gap-?()(.+)$/,an,{autocomplete:["gap-$spacing","gap-<num>"]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,an,{autocomplete:["gap-(x|y)-$spacing","gap-(x|y)-<num>"]}],[/^(?:flex-|grid-)?gap-(col|row)-?(.+)$/,an,{autocomplete:["gap-(col|row)-$spacing","gap-(col|row)-<num>"]}]];function it(t){return t.replace("col","column")}function sn(t){return t[0]==="r"?"Row":"Column"}function Fs(t,e,r){let n=e[`gridAuto${sn(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 Be=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,t,e],{theme:r})=>({[`grid-${it(t)}`]:r[`grid${sn(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)}`]:Fs(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${sn(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"}]],$e=["auto","hidden","clip","visible","scroll","overlay",...O],Te=[[/^(?:overflow|of)-(.+)$/,([,t])=>$e.includes(t)?{overflow:t}:void 0,{autocomplete:[`(overflow|of)-(${$e.join("|")})`,`(overflow|of)-(x|y)-(${$e.join("|")})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,t,e])=>$e.includes(e)?{[`overflow-${t}`]:e}:void 0]],We=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,t])=>({position:t}),{autocomplete:["(position|pos)-<position>","(position|pos)-<globalKeyword>","<position>"]}],[/^(?:position-|pos-)([-\w]+)$/,([,t])=>O.includes(t)?{position:t}:void 0],[/^(?:position-|pos-)?(static)$/,([,t])=>({position:t})]],Kt=[["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")],Ne=[[/^order-(.+)$/,([,t])=>({order:f.bracket.cssvar.number(t)})],["order-first",{order:"-9999"}],["order-last",{order:"9999"}],["order-none",{order:"0"}]],Zt=[["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")],Jt=[["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")],Ie=[...Kt,...Zt,...Jt].flatMap(([t,e])=>[[`flex-${t}`,e],[`grid-${t}`,e]]);function cn(t,{theme:e}){return e.spacing?.[t]??f.bracket.cssvar.global.auto.fraction.rem(t)}function Xt([,t,e],r){let n=cn(e,r);if(n!=null&&t in Rt)return Rt[t].map(o=>[o.slice(1),n])}var Ue=[[/^(?:position-|pos-)?inset-(.+)$/,([,t],e)=>({inset:cn(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)-(.+)$/,Xt],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,Xt],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,Xt],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,Xt],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,Xt],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,t,e],r)=>({[t]:cn(e,r)})]],De=[["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")],Ve=[[/^(?: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>"}]],Ge=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}],...S("box","box-sizing")],qe=[[/^(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"})}`}]],Bs=["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"],Ts=["none","strict","content","size","inline-size","layout","style","paint"],_=" ",He=[["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)})]],Ye=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}],...S("backface","backface-visibility")],Xe=[[/^cursor-(.+)$/,([,t])=>({cursor:f.bracket.cssvar.global(t)})],...Bs.map(t=>[`cursor-${t}`,{cursor:t}])],Ke=[[/^contain-(.*)$/,([,t])=>f.bracket(t)!=null?{contain:f.bracket(t).split(" ").map(e=>f.cssvar.fraction(e)??e).join(" ")}:Ts.includes(t)?{contain:t}:void 0]],Ze=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}],...S("pointer-events")],Je=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}],...S("resize")],Qe=[["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")],tr=[[/^(?:whitespace-|ws-)([-\w]+)$/,([,t])=>["normal","nowrap","pre","pre-line","pre-wrap","break-spaces",...O].includes(t)?{"white-space":t}:void 0,{autocomplete:"(whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)"}]],er=[[/^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")],rr=[[/^content-(.+)$/,([,t])=>({content:f.bracket.cssvar(t)})],["content-empty",{content:'""'}],["content-none",{content:"none"}]],nr=[["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"}]],or=[["text-wrap",{"text-wrap":"wrap"}],["text-nowrap",{"text-wrap":"nowrap"}],["text-balance",{"text-wrap":"balance"}],["text-pretty",{"text-wrap":"pretty"}]],ir=[["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"}]],ar=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}],...S("case","text-transform")],sr=[["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"}]],cr=[["antialiased",{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"}],["subpixel-antialiased",{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"}]],lr=[["field-sizing-fixed",{"field-sizing":"fixed"}],["field-sizing-content",{"field-sizing":"content"}]],Lt={"--un-ring-inset":_,"--un-ring-offset-width":"0px","--un-ring-offset-color":"#fff","--un-ring-width":"0px","--un-ring-color":"rgb(147 197 253 / 0.5)","--un-shadow":"0 0 rgb(0 0 0 / 0)"},Ws=Object.keys(Lt),fr=[[/^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-)(.+)$/,Uo,{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-(.+)$/,Ns,{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 Uo([,t],{theme:e}){return{"--un-ring-width":e.ringWidth?.[t]??f.bracket.cssvar.px(t)}}function Ns(t,e){return ot(f.bracket(t[1]))?Uo(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":_,"--un-shadow":"0 0 rgb(0 0 0 / 0)"},Is=Object.keys(Ft),ur=[[/^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:Is},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"}]],Us={h:"height",w:"width",inline:"inline-size",block:"block-size"};function zt(t,e){return`${t||""}${Us[e]}`}function we(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 dr=[[/^size-(min-|max-)?(.+)$/,([,t,e],{theme:r})=>({[zt(t,"w")]:we(t,"w",r,e),[zt(t,"h")]:we(t,"h",r,e)})],[/^(?:size-)?(min-|max-)?([wh])-?(.+)$/,([,t,e,r],{theme:n})=>({[zt(t,e)]:we(t,e,n,r)})],[/^(?:size-)?(min-|max-)?(block|inline)-(.+)$/,([,t,e,r],{theme:n})=>({[zt(t,e)]:we(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)]:Mo(n,r,"verticalBreakpoints")})],[/^(?:size-)?(min-|max-)?(w)-screen-(.+)$/,([,t,e,r],n)=>({[zt(t,e)]:Mo(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 Mo(t,e,r="breakpoints"){let n=Q(t,r);if(n)return n.find(o=>o.point===e)?.size}function Ds(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 pr=[[/^(?:size-)?aspect-(?:ratio-)?(.+)$/,([,t])=>({"aspect-ratio":Ds(t)}),{autocomplete:["aspect-(square|video|ratio)","aspect-ratio-(square|video)"]}]],mr=[[/^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>"}]],hr=[[/^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")]],gr=[[/^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-)?(.+)$/,Do,{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-(.+)$/,Vs,{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 Do([,t],{theme:e}){return{"stroke-width":e.lineWidth?.[t]??f.bracket.cssvar.fraction.px.number(t)}}function Vs(t,e){return ot(f.bracket(t[1]))?Do(t,e):B("stroke","stroke","borderColor")(t,e)}var ke=["translate","rotate","scale"],Gs=["translateX(var(--un-translate-x))","translateY(var(--un-translate-y))","rotate(var(--un-rotate))","rotateZ(var(--un-rotate-z))","skewX(var(--un-skew-x))","skewY(var(--un-skew-y))","scaleX(var(--un-scale-x))","scaleY(var(--un-scale-y))"].join(" "),jt=["perspective(var(--un-perspective))","translateX(var(--un-translate-x))","translateY(var(--un-translate-y))","translateZ(var(--un-translate-z))","rotate(var(--un-rotate))","rotateX(var(--un-rotate-x))","rotateY(var(--un-rotate-y))","rotateZ(var(--un-rotate-z))","skewX(var(--un-skew-x))","skewY(var(--un-skew-y))","scaleX(var(--un-scale-x))","scaleY(var(--un-scale-y))","scaleZ(var(--un-scale-z))"].join(" "),qs=["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),br=[[/^(?:transform-)?origin-(.+)$/,([,t])=>({"transform-origin":N[t]??f.bracket.cssvar(t)}),{autocomplete:[`transform-origin-(${Object.keys(N).join("|")})`,`origin-(${Object.keys(N).join("|")})`]}],[/^(transform-)?perspect(?:ive)?-(.+)$/,([,t,e])=>{let r=f.bracket.cssvar.px.numberWithUnit(e);if(r!=null)return t?{"--un-perspective":`perspective(${r})`,transform:jt}:{"-webkit-perspective":r,perspective:r}}],[/^perspect(?:ive)?-origin-(.+)$/,([,t])=>{let e=f.bracket.cssvar(t)??(t.length>=3?N[t]:void 0);if(e!=null)return{"-webkit-perspective-origin":e,"perspective-origin":e}}],[/^(?:transform-)?translate-()(.+)$/,Lo,{custom:{preflightKeys:at}}],[/^(?:transform-)?translate-([xyz])-(.+)$/,Lo,{custom:{preflightKeys:at}}],[/^(?:transform-)?rotate-()(.+)$/,Bo,{custom:{preflightKeys:at}}],[/^(?:transform-)?rotate-([xyz])-(.+)$/,Bo,{custom:{preflightKeys:at}}],[/^(?:transform-)?skew-()(.+)$/,To,{custom:{preflightKeys:at}}],[/^(?:transform-)?skew-([xy])-(.+)$/,To,{custom:{preflightKeys:at},autocomplete:["transform-skew-(x|y)-<percent>","skew-(x|y)-<percent>"]}],[/^(?:transform-)?scale-()(.+)$/,Fo,{custom:{preflightKeys:at}}],[/^(?:transform-)?scale-([xyz])-(.+)$/,Fo,{custom:{preflightKeys:at},autocomplete:[`transform-(${ke.join("|")})-<percent>`,`transform-(${ke.join("|")})-(x|y|z)-<percent>`,`(${ke.join("|")})-<percent>`,`(${ke.join("|")})-(x|y|z)-<percent>`]}],[/^(?:transform-)?preserve-3d$/,()=>({"transform-style":"preserve-3d"})],[/^(?:transform-)?preserve-flat$/,()=>({"transform-style":"flat"})],["transform",{transform:jt},{custom:{preflightKeys:at}}],["transform-cpu",{transform:Gs},{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:qs},{custom:{preflightKeys:at}}],["transform-none",{transform:"none"}],...S("transform")];function Lo([,t,e],{theme:r}){let n=r.spacing?.[e]??f.bracket.cssvar.fraction.rem(e);if(n!=null)return[...Ct(t,n,"translate"),["transform",jt]]}function Fo([,t,e]){let r=f.bracket.cssvar.fraction.percent(e);if(r!=null)return[...Ct(t,r,"scale"),["transform",jt]]}function Bo([,t="",e]){let r=f.bracket.cssvar.degree(e);if(r!=null)return t?{"--un-rotate":0,[`--un-rotate-${t}`]:r,transform:jt}:{"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-rotate":r,transform:jt}}function To([,t,e]){let r=f.bracket.cssvar.degree(e);if(r!=null)return[...Ct(t,r,"skew"),["transform",jt]]}function Wo(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 yr=[[/^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=Wo(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)||Wo(t,e);if(r)return{"transition-property":r}},{autocomplete:[`transition-property-(${[...O].join("|")})`,"transition-property-$transitionProperty","property-$transitionProperty"]}],["transition-none",{transition:"none"}],...S("transition"),["transition-discrete",{"transition-behavior":"allow-discrete"}],["transition-normal",{"transition-behavior":"normal"}]],xr=[[/^text-(.+)$/,Ys,{autocomplete:"text-$fontSize"}],[/^(?:text|font)-size-(.+)$/,Vo,{autocomplete:"text-size-$fontSize"}],[/^text-(?:color-)?(.+)$/,Hs,{autocomplete:"text-$colors"}],[/^(?:color|c)-(.+)$/,B("color","text","textColor"),{autocomplete:"(color|c)-$colors"}],[/^(?:text|color|c)-(.+)$/,([,t])=>O.includes(t)?{color:t}:void 0,{autocomplete:`(text|color|c)-(${O.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":ln(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"}]],vr=[[/^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}}]],$r=[[/^indent(?:-(.+))?$/,([,t],{theme:e})=>({"text-indent":e.textIndent?.[t||"DEFAULT"]||f.bracket.cssvar.global.fraction.rem(t)}),{autocomplete:"indent-$textIndent"}]],wr=[[/^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>"}]],kr=[[/^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 ln(t,e,r){return e[r]?.[t]||f.bracket.cssvar.global.rem(t)}function Vo([,t],{theme:e}){let r=j(e.fontSize?.[t])?.[0]??f.bracket.cssvar.global.rem(t);if(r!=null)return{"font-size":r}}function Hs(t,e){return ot(f.bracket(t[1]))?Vo(t,e):B("color","text","textColor")(t,e)}function Ys([,t="base"],{theme:e}){let r=Ot(t,"length");if(!r)return;let[n,o]=r,i=j(e.fontSize?.[n]),a=o?ln(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?ln(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 Xs={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"},Sr=[[/^(.+?)-(\$.+)$/,([,t,e])=>{let r=Xs[t];if(r)return{[r]:f.cssvar(e)}}]],Er=[[/^\[(.*)\]$/,([t,e])=>{if(!e.includes(":"))return;let[r,...n]=e.split(":"),o=n.join(":");if(!Zs(e)&&/^[\w-]+$/.test(r)&&Ks(o)){let i=f.bracket(`[${o}]`);if(i)return{[r]:i}}}]];function Ks(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 Zs(t){if(!t.includes("://"))return!1;try{return new URL(t).host!==""}catch{return!1}}var fn=[Sr,Er,Ke,Ze,Ye,We,Ue,Ve,Ne,Be,De,hr,Ge,He,pr,dr,Le,br,Xe,Qe,Je,ze,Jt,Zt,Kt,Fe,Ie,Te,ir,tr,nr,Ae,Re,Pe,gr,mr,Ee,$r,or,Se,xr,ar,sr,Me,cr,vr,wr,kr,_e,ur,Ce,fr,yr,je,er,rr,Oe,lr,qe].flat(1);var Qs=[[/^(?: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?O:[]].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?O:[]].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?O:[]].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 Go(t){return t?W(t,0):"rgb(255 255 255 / 0)"}function tc(t,e,r,n){return e?n!=null?W(e,n):W(e,`var(--un-${t}-opacity, ${mt(e)})`):W(r,n)}function un(){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=tc(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":`${Go(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":Go(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 ec(){return([,t,e])=>({[`--un-gradient-${t}-position`]:`${Number(f.bracket.cssvar.percent(e))*100}%`})}var rc=[[/^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)-(.+)$/,un()],[/^(?:bg-gradient-)?(via)-(.+)$/,un()],[/^(?:bg-gradient-)?(to)-(.+)$/,un()],[/^(?:bg-gradient-)?(from|via|to)-op(?:acity)?-?(.+)$/,([,t,e])=>({[`--un-${t}-opacity`]:f.bracket.percent(e)})],[/^(from|via|to)-([\d.]+)%$/,ec()],[/^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"}],...O.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")],dn={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"},nc=[[/^list-(.+?)(?:-(outside|inside))?$/,([,t,e])=>{let r=dn[t];if(r)return e?{"list-style-position":e,"list-style-type":r}:{"list-style-type":r}},{autocomplete:[`list-(${Object.keys(dn).join("|")})`,`list-(${Object.keys(dn).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")],oc=[[/^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>"]}]],ic=[[/^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>"]}]],ac=[["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"]]]],sc=[["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")],cc=[["scroll-auto",{"scroll-behavior":"auto"}],["scroll-smooth",{"scroll-behavior":"smooth"}],...S("scroll","scroll-behavior")],lc=[[/^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")],fc=[[/^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 gn={"--un-blur":_,"--un-brightness":_,"--un-contrast":_,"--un-drop-shadow":_,"--un-grayscale":_,"--un-hue-rotate":_,"--un-invert":_,"--un-saturate":_,"--un-sepia":_},Zo=Object.keys(gn),qo={preflightKeys:Zo},zr="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)",bn={"--un-backdrop-blur":_,"--un-backdrop-brightness":_,"--un-backdrop-contrast":_,"--un-backdrop-grayscale":_,"--un-backdrop-hue-rotate":_,"--un-backdrop-invert":_,"--un-backdrop-opacity":_,"--un-backdrop-saturate":_,"--un-backdrop-sepia":_},Jo=Object.keys(bn),uc={preflightKeys:Jo},jr="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:[...Zo,...Jo]};function pn(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":jr,"backdrop-filter":jr}:{[`--un-${t}`]:`${t}(${i})`,filter:zr}}}function dc([,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:zr};if(r=f.bracket.cssvar(t),r!=null)return{"--un-drop-shadow":`drop-shadow(${r})`,filter:zr}}var pc=[[/^(?:(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(?:-(.+))?$/,dc,{custom:qo,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",pn),{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",pn),{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",pn),{custom:ft,autocomplete:["(backdrop|filter)-sepia","(backdrop|filter)-sepia-<percent>","sepia-<percent>"]}],["filter",{filter:zr},{custom:qo}],["backdrop-filter",{"-webkit-backdrop-filter":jr,"backdrop-filter":jr},{custom:uc}],["filter-none",{filter:"none"}],["backdrop-filter-none",{"-webkit-backdrop-filter":"none","backdrop-filter":"none"}],...O.map(t=>[`filter-${t}`,{filter:t}]),...O.map(t=>[`backdrop-filter-${t}`,{"-webkit-backdrop-filter":t,"backdrop-filter":t}])],mc=[[/^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",...O].map(t=>[`line-clamp-${t}`,{overflow:"visible",display:"block","-webkit-box-orient":"horizontal","-webkit-line-clamp":t,"line-clamp":t}])],hc=[[/^\$ 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>"]}]],yn={"--un-scroll-snap-strictness":"proximity"},Ho={preflightKeys:Object.keys(yn)},gc=[[/^snap-(x|y)$/,([,t])=>({"scroll-snap-type":`${t} var(--un-scroll-snap-strictness)`}),{custom:Ho,autocomplete:"snap-(x|y|both)"}],[/^snap-both$/,()=>({"scroll-snap-type":"both var(--un-scroll-snap-strictness)"}),{custom:Ho}],["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")]],bc=[[/^space-([xy])-(.+)$/,Yo,{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)-(.+)$/,Yo],[/^space-(block|inline)-reverse$/,([,t])=>({[`--un-space-${t}-reverse`]:1})]];function Yo([,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 yc=[["uppercase",{"text-transform":"uppercase"}],["lowercase",{"text-transform":"lowercase"}],["capitalize",{"text-transform":"capitalize"}],["normal-case",{"text-transform":"none"}]],xc=[...["manual","auto","none",...O].map(t=>[`hyphens-${t}`,{"-webkit-hyphens":t,"-ms-hyphens":t,hyphens:t}])],vc=[["write-vertical-right",{"writing-mode":"vertical-rl"}],["write-vertical-left",{"writing-mode":"vertical-lr"}],["write-normal",{"writing-mode":"horizontal-tb"}],...S("write","writing-mode")],$c=[["write-orient-mixed",{"text-orientation":"mixed"}],["write-orient-sideways",{"text-orientation":"sideways"}],["write-orient-upright",{"text-orientation":"upright"}],...S("write-orient","text-orientation")],wc=[["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"}]],kc=[["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("|")})`}]],Ec=[["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")],Cc=[["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")],zc=[["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"}]],xn={"--un-border-spacing-x":0,"--un-border-spacing-y":0},Xo={preflightKeys:Object.keys(xn)},Ko="var(--un-border-spacing-x) var(--un-border-spacing-y)",jc=[["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":Ko}},{custom:Xo,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":Ko}},{custom:Xo,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"}]],vn={"--un-pan-x":_,"--un-pan-y":_,"--un-pinch-zoom":_},mn={preflightKeys:Object.keys(vn)},hn="var(--un-pan-x) var(--un-pan-y) var(--un-pinch-zoom)",Ac=[[/^touch-pan-(x|left|right)$/,([,t])=>({"--un-pan-x":`pan-${t}`,"touch-action":hn}),{custom:mn,autocomplete:["touch-pan","touch-pan-(x|left|right|y|up|down)"]}],[/^touch-pan-(y|up|down)$/,([,t])=>({"--un-pan-y":`pan-${t}`,"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"}],...S("touch","touch-action")],$n={"--un-ordinal":_,"--un-slashed-zero":_,"--un-numeric-figure":_,"--un-numeric-spacing":_,"--un-numeric-fraction":_},yt={preflightKeys:Object.keys($n)};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 _c=[[/^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"}]],Rc={"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"},Pc=[[/^(.+?)-(\$.+)$/,([,t,e])=>{let r=Rc[t];if(r)return{[r]:f.cssvar(e)}}]],Oc=[[/^view-transition-([\w-]+)$/,([,t])=>({"view-transition-name":t})]],Qo=[Sr,Pc,Er,Ao,Ke,wc,Ze,Ye,We,Ue,mc,kc,Ve,Ne,Be,De,hr,Ge,He,pr,dr,Le,jc,br,Qs,Xe,Ac,Qe,Je,gc,nc,ze,lc,Jt,Zt,Kt,Fe,Ie,bc,fc,Te,sc,cc,ir,tr,nr,Ae,Re,rc,Pe,gr,Sc,mr,Ee,$r,or,Se,xr,ar,yc,sr,_c,Me,cr,vr,wr,kr,xc,vc,$c,ic,oc,_e,Ec,Cc,ur,Ce,fr,ac,pc,yr,je,er,rr,hc,Oe,Oc,zc,lr,qe].flat(1);var ti=[...on];var Ar={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(Ar).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 ei={DEFAULT:"8px",0:"0",sm:"4px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},ri={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)"},ni={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(",")},oi={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"]},ii={DEFAULT:"1.5rem",xs:"0.5rem",sm:"1rem",md:"1.5rem",lg:"2rem",xl:"2.5rem","2xl":"3rem","3xl":"4rem"},ai={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},si={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)"]},ci={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},Cn={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},li={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},fi=Cn,zn={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},ui={...zn},di={DEFAULT:"1px",none:"0"},pi={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"},mi={DEFAULT:"150ms",none:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},hi={DEFAULT:"0.25rem",none:"0",sm:"0.125rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},gi={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)"},bi={DEFAULT:"3px",none:"0"},yi={auto:"auto"},xi={mouse:"(hover) and (pointer: fine)"},vi={...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"},$i={auto:"auto",...st,screen:"100vw"},wn={none:"none",...st,screen:"100vw"},wi={auto:"auto",...st,screen:"100vb"},ki={auto:"auto",...st,screen:"100vi"},Si={auto:"auto",...st,screen:"100vh"},kn={none:"none",...st,screen:"100vh"},Sn={none:"none",...st,screen:"100vb"},En={none:"none",...st,screen:"100vi"},Ei={...st},Mc={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)"},Lc={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(",")}},Qt={width:$i,height:Si,maxWidth:wn,maxHeight:kn,minWidth:wn,minHeight:kn,inlineSize:ki,blockSize:wi,maxInlineSize:En,maxBlockSize:Sn,minInlineSize:En,minBlockSize:Sn,colors:Ar,fontFamily:ni,fontSize:oi,fontWeight:li,breakpoints:zn,verticalBreakpoints:ui,borderRadius:hi,lineHeight:ci,letterSpacing:Cn,wordSpacing:fi,boxShadow:gi,textIndent:ii,textShadow:si,textStrokeWidth:ai,blur:ei,dropShadow:ri,easing:Mc,transitionProperty:Lc,lineWidth:di,spacing:pi,duration:mi,ringWidth:bi,preflightBase:vi,containers:Ei,zIndex:yi,media:xi};var Ci={...Qt,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,...vn,...yn,...$n,...xn,...Ft,...Lt,...gn,...bn}};var Fc={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 $=new RegExp(`${K(p)}${K(h)}(?:\\[.+?\\])+`),w=m.prefix.match($),y;if(w){let b=(w.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 Bc(){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 Tc(t={}){return[_r("group"," ",t),_r("peer","~",t),_r("parent",">",t),_r("previous","+",t),Bc()]}var zi=/(max|min)-\[([^\]]*)\]:/;function Wc(){let t={};return{name:"breakpoints",match(e,r){if(zi.test(e)){let o=e.match(zi);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 Nc=[(0,R.variantMatcher)("*",t=>({selector:`${t.selector} > *`}),{order:-1})];function te(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 Ic=[te("all"," "),te("children",">"),te("next","+"),te("sibling","+"),te("siblings","~")],Uc={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 Dc(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 Vc={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 Rr(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 $=new RegExp(`${K(p)}${K(h)}(?:\\[.+?\\])+`),w=m.prefix.match($),y;if(w){let b=(w.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 Gc(){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 qc(t={}){return[Rr("group"," ",t),Rr("peer","~",t),Rr("parent",">",t),Rr("previous","+",t),Gc()]}var Hc=[(0,R.variantMatcher)("rtl",t=>({prefix:`[dir="rtl"] $$ ${t.prefix}`})),(0,R.variantMatcher)("ltr",t=>({prefix:`[dir="ltr"] $$ ${t.prefix}`}))];function Yc(){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 Xc=(0,R.variantParentMatcher)("print","@media print"),Kc={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},Zc={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}}}},Jc={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}`})}}}},Qc={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}}}},tl={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}`}}}},el={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},rl={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))})}}}},ji=/^-?[0-9.]+(?:[a-z]+|%)?$/,Ai=/-?[0-9.]+(?:[a-z]+|%)?/,nl=[/\b(opacity|color|flex|backdrop-filter|^filter|transform)\b/];function ol(t){let e=t.match(Et)||t.match(Dt);if(e){let[r,n]=$t(`(${e[2]})${e[3]}`,"(",")"," ")??[];if(r)return`calc(${e[1]}${r} * -1)${n?` ${n}`:""}`}}var il=/\b(hue-rotate)\s*(\(.*)/;function al(t){let e=t.match(il);if(e){let[r,n]=$t(e[2],"(",")"," ")??[];if(r){let o=ji.test(r.slice(1,-1))?r.replace(Ai,i=>i.startsWith("-")?i.slice(1):`-${i}`):`(calc(${r} * -1))`;return`${e[1]}${o}${n?` ${n}`:""}`}}}var sl={name:"negative",match(t){if(t.startsWith("-"))return{matcher:t.slice(1),body:e=>{if(e.find(n=>n[0]===Vt))return;let r=!1;return e.forEach(n=>{let o=n[1]?.toString();if(!o||o==="0"||nl.some(s=>s.test(n[0])))return;let i=ol(o);if(i){n[1]=i,r=!0;return}let a=al(o);if(a){n[1]=a,r=!0;return}ji.test(o)&&(n[1]=o.replace(Ai,s=>s.startsWith("-")?s.slice(1):`-${s}`),r=!0)}),r?e:[]}}}};function cl(){return Zr({getBracket:lt.getBracket,h:f,variantGetBracket:lt.variantGetBracket})}function ll(){return Jr({getBracket:lt.getBracket,h:f,variantGetBracket:lt.variantGetBracket})}function fl(t={}){return Qr(t,{getBracket:lt.getBracket,h:f,variantGetBracket:lt.variantGetBracket})}var ul=tn(),dl={name:"starting",match(t){if(t.startsWith("starting:"))return{matcher:t.slice(9),handle:(e,r)=>r({...e,parent:"@starting-style"})}}},pl={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 Pr(t){return[Fc,Vc,Jc,Zc,Qc,sl,dl,Yc(),pl,Xc,Kc,Wc(),...Ic,...cl(),ll(),...fl(t),ul,...Dc(t),...Hc,tl,...Nc,Uc,el,...qc(t),...Tc(t),rl]}var ml=[St("svg",t=>({selector:`${t.selector} svg`}))],hl=[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)")],gl=[rt("contrast-more","@media (prefers-contrast: more)"),rt("contrast-less","@media (prefers-contrast: less)")],bl=[rt("motion-reduce","@media (prefers-reduced-motion: reduce)"),rt("motion-safe","@media (prefers-reduced-motion: no-preference)")],yl=[rt("landscape","@media (orientation: landscape)"),rt("portrait","@media (orientation: portrait)")],xl=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}`}}},vl=[St("@hover",t=>({parent:`${t.parent?`${t.parent} $$ `:""}@media (hover: hover) and (pointer: fine)`,selector:`${t.selector||""}:hover`}))];function _i(t,e,r){return`calc(${e} + (${t} - ${e}) * ${r} / 100)`}function Ri(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(_i(o[0].components[a],o[1].components[a],r));return{type:"rgb",components:i,alpha:_i(o[0].alpha??1,o[1].alpha??1,r)}}function Pi(t,e){return Ri("#fff",t,e)}function Oi(t,e){return Ri("#000",t,e)}function $l(t,e){let r=Number.parseFloat(`${e}`);if(!Number.isNaN(r))return r>0?Oi(t,e):Pi(t,-r)}var wl={tint:Pi,shade:Oi,shift:$l};function kl(){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=wl[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")||El(i))return{matcher:`${n}placeholder-$ ${o}${i}`}}};function El(t){let e=t.match(/^op(?:acity)?-?(.+)$/);return e&&e[1]!=null?f.bracket.percent(e[1])!=null:!1}function Mi(t){return[Sl,xl,...Pr(t),...gl,...yl,...bl,...ml,...hl,...vl,kl()]}function Cl(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 zl(t,e,r,n){for(let o of Array.from(t.matchAll(r)))if(o!=null){let i=o[0],a=`${n}${Cl(i)}`;e.set(a,i),t=t.replace(i,a)}return t}function jl(t,e){for(let[r,n]of e.entries())t=t.replaceAll(r,n);return t}var Al=/\/\/#\s*sourceMappingURL=.*\n?/g;function _l(t){return t.includes("sourceMappingURL=")?t.replace(Al,""):t}var Rl=/(?:[\w&:[\]-]|\[\S{1,64}=\S{1,64}\]){1,64}\[\\?['"]?\S{1,64}?['"]\]\]?[\w:-]{0,64}/g,Pl=/\[(\\\W|[\w-]){1,64}:[^\s:]{0,64}?("\S{1,64}?"|'\S{1,64}?'|`\S{1,64}?`|[^\s:]{1,64}?)[^\s:]{0,64}?\)?\]/g,Ol=/^\[(?:\\\W|[\w-]){1,64}:['"]?\S{1,64}?['"]?\]$/;function Ml(t){let e=[];for(let o of t.matchAll(Pl))o.index!==0&&!/^[\s'"`]/.test(t[o.index-1]??"")||e.push(o[0]);for(let o of t.matchAll(Rl))e.push(o[0]);let r=new Map,n="@unocss-skip-arbitrary-brackets";return t=zl(t,r,/-\[(?!&.+?;)[^\]]*\]/g,n),t&&t.split(Br).forEach(o=>{o.includes(n)&&(o=jl(o,r)),Wt(o)&&!Ol.test(o)&&e.push(o)}),e}function Li(){return{name:"@unocss/extractor-arbitrary-variants",order:0,extract({code:t}){return Ml(_l(t))}}}function Fi(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 Ll={position:["relative","absolute","fixed","sticky","static"],globalKeyword:O},jn=(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:Qt,rules:fn,variants:Pr(t),options:t,prefix:t.prefix,postprocess:Fl(t.variablePrefix),preflights:Fi(t),extractorDefault:t.arbitraryVariants===!1?void 0:Li(),autocomplete:{shorthands:Ll}}),Bi=jn;function Fl(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 Bl(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 Tl(t){return[...j(Bi(t).postprocess),...Bl(t.important)]}var Ti=(t={})=>(t.important=t.important??!1,{...jn(t),name:"@unocss/preset-wind3",theme:Ci,rules:Qo,shortcuts:ti,variants:Mi(t),postprocess:Tl(t)});var Wl=(t={})=>({...Ti(t),name:"@unocss/preset-uno"}),Wi=Wl;function Nl(t){return t.replace(/-(\w)/g,(e,r)=>r?r.toUpperCase():"")}function Ni(t){return t.charAt(0).toUpperCase()+t.slice(1)}function Ii(t){return t.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}var Ui=["Webkit","Moz","ms"];function Di(t){let e={};function r(n){let o=e[n];if(o)return o;let i=Nl(n);if(i!=="filter"&&i in t)return e[n]=Ii(i);i=Ni(i);for(let a=0;a<Ui.length;a++){let s=`${Ui[a]}${i}`;if(s in t)return e[n]=Ii(Ni(s))}return n}return({entries:n})=>n.forEach(o=>{o[0].startsWith("--")||(o[0]=r(o[0]))})}function Vi(t){return t.replace(/&/g,"&").replace(/>/g,">").replace(/</g,"<")}async function An(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(Di(r.createElement("div").style)),i.configResolved?.(o,a);let c=await Gn(o,a),l=k=>{let A=t.rootElement?.();if(A){A.appendChild(k);return}i.inject?i.inject(k):n().prepend(k)},u=()=>i.rootElement?i.rootElement():r.body,d=new Map,p=!0,h=new Set,m,x,$=[],w=()=>new Promise(k=>{$.push(k),x!=null&&clearTimeout(x),x=setTimeout(()=>g().then(()=>{let A=$;$=[],A.forEach(L=>L())}),0)});function y(k,A=!1){if(k.nodeType!==1)return;let L=k;L.hasAttribute(s)&&L.removeAttribute(s),A&&L.querySelectorAll(`[${s}]`).forEach(T=>{T.removeAttribute(s)})}function b(k,A){let L=d.get(k);if(!L)if(L=r.createElement("style"),L.setAttribute("data-unocss-runtime-layer",k),d.set(k,L),A==null)l(L);else{let T=b(A),G=T.parentNode;G?G.insertBefore(L,T.nextSibling):l(L)}return L}async function g(){let k=[...h],A=await c.generate(k);return A.layers.reduce((T,G)=>(b(G,T).innerHTML=A.getLayer(G)??"",G),void 0),k.filter(T=>!A.matched.has(T)).forEach(T=>h.delete(T)),{...A,getStyleElement:T=>d.get(T),getStyleElements:()=>d}}async function v(k){let A=h.size;await c.applyExtractors(k,void 0,h),A!==h.size&&await w()}async function P(k=u()){let A=k&&k.outerHTML;A&&(await v(`${A} ${Vi(A)}`),y(n()),y(k,!0))}let H=new MutationObserver(k=>{p||k.forEach(async A=>{if(A.target.nodeType!==1)return;let L=A.target;for(let T of d)if(L===T[1])return;if(A.type==="childList")A.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(L))return;if(A.attributeName!==s){let T=Array.from(L.attributes).map(vt=>vt.value?`${vt.name}="${vt.value}"`:vt.name).join(" "),G=`<${L.tagName.toLowerCase()} ${T}>`;await v(G)}y(L)}})}),E=!1;function C(){if(E)return;let k=i.observer?.target?i.observer.target():u();k&&(H.observe(k,{childList:!0,subtree:!0,attributes:!0,attributeFilter:i.observer?.attributeFilter}),E=!0)}function z(){i.bypassDefined&&Il(c.blocked),P(),C()}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(k){F(k)||(k.forEach(A=>h.add(A)),k=""),await v(k)},extractAll:P,inspect(k){m=k},toggleObserver(k){k===void 0?p=!p:p=!!k,!E&&!p&&V()},update:g,presets:e.__unocss_runtime?.presets??{}};i.ready?.(D)!==!1&&(p=!1,V())}function Il(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}An({defaults:{presets:[Wi(),Jn()]}});})();
|