@unocss/runtime 0.25.0 → 0.25.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 +1 -1
- package/core.global.js +1 -1
- package/full.global.js +1 -1
- package/mini.global.js +1 -1
- package/package.json +4 -4
- package/uno.global.js +1 -1
package/attributify.global.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(()=>{var qt=Object.defineProperty,Rn=Object.defineProperties;var zn=Object.getOwnPropertyDescriptors;var pt=Object.getOwnPropertySymbols;var Zt=Object.prototype.hasOwnProperty,Jt=Object.prototype.propertyIsEnumerable;var It=(t,e,r)=>e in t?qt(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,w=(t,e)=>{for(var r in e||(e={}))Zt.call(e,r)&&It(t,r,e[r]);if(pt)for(var r of pt(e))Jt.call(e,r)&&It(t,r,e[r]);return t},z=(t,e)=>Rn(t,zn(e));var Qt=(t,e)=>{var r={};for(var n in t)Zt.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&pt)for(var n of pt(t))e.indexOf(n)<0&&Jt.call(t,n)&&(r[n]=t[n]);return r};var jn=(t,e)=>{for(var r in e)qt(t,r,{get:e[r],enumerable:!0})};function Q(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function kt(t){let e=t.length,r=-1,n,o="",a=t.charCodeAt(0);for(;++r<e;){if(n=t.charCodeAt(r),n===0){o+="\uFFFD";continue}if(n===44){o+="\\2c ";continue}if(n>=1&&n<=31||n===127||r===0&&n>=48&&n<=57||r===1&&n>=48&&n<=57&&a===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 mt=kt;function et(t){return(Array.isArray(t)?t:Object.entries(t)).filter(e=>e[1]!=null)}function te(t){return Array.isArray(t)?t.find(e=>!Array.isArray(e)||Array.isArray(e[0]))?t.map(e=>et(e)):[t]:[et(t)]}function En(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})}function gt(t){return t==null?"":En(t).map(([e,r])=>r!=null?`${e}:${r};`:void 0).filter(Boolean).join("")}function wt(t){return t&&typeof t=="object"&&!Array.isArray(t)}function St(t,e){let r=t,n=e;if(Array.isArray(r)&&Array.isArray(n))return[...r,...n];if(Array.isArray(r))return[...r];let o=w({},r);return wt(r)&&wt(n)&&Object.keys(n).forEach(a=>{wt(n[a])?a in r?o[a]=St(r[a],n[a]):Object.assign(o,{[a]:n[a]}):Object.assign(o,{[a]:n[a]})}),o}function tt(t){let e,r,n;if(Array.isArray(t)){for(r=Array(e=t.length);e--;)r[e]=(n=t[e])&&typeof n=="object"?tt(n):n;return r}if(Object.prototype.toString.call(t)==="[object Object]"){r={};for(e in t)e==="__proto__"?Object.defineProperty(r,e,{value:tt(t[e]),configurable:!0,enumerable:!0,writable:!0}):r[e]=(n=t[e])&&typeof n=="object"?tt(n):n;return r}return t}function ee(t){return typeof t[0]=="string"}function re(t){return typeof t[0]=="string"}function V(t=[]){return Array.isArray(t)?t:[t]}function bt(t){return Array.from(new Set(t))}var Vn=/^\[(.+?)~?="(.*)"\]$/,An=/(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:%-?]/,A="$$shortcut-no-merge";function ne(t){return t.match(Vn)}function rt(t=""){return An.test(t)}function oe(t){return typeof t=="function"?{match:t}:t}function Ct(t){return t.length===3}function ae(t){return t!=null}var Rt=class{_map=new Map;get(e,r){let n=this._map.get(e);if(n)return n.get(r)}getFallback(e,r,n){let o=this._map.get(e);return o||(o=new Map,this._map.set(e,o)),o.has(r)||o.set(r,n),o.get(r)}set(e,r,n){let o=this._map.get(e);return o||(o=new Map,this._map.set(e,o)),o.set(r,n),this}has(e,r){var n;return(n=this._map.get(e))==null?void 0:n.has(r)}delete(e,r){var n;return((n=this._map.get(e))==null?void 0:n.delete(r))||!1}deleteTop(e){return this._map.delete(e)}map(e){return Array.from(this._map.entries()).flatMap(([r,n])=>Array.from(n.entries()).map(([o,a])=>e(a,r,o)))}};var Tn=/([!\w+:_/-]+?)([:-])\(((?:[!\w\s:/\\,%#.$-]|\[.*?\])*?)\)/gm;function ie(t){let e=[],r;for(;r=Tn.exec(t);){let o=r.index,a=o+r[0].length,[,s,i,l]=r,f=l.split(/\s/g).map(d=>d.replace(/^(!?)(.*)/,`$1${s}${i}$2`)).join(" ");e.unshift([o,a,f])}let n=t;return e.forEach(([o,a,s])=>{n=n.slice(0,o)+s+n.slice(a)}),n}var se=new Set;function ce(t){se.has(t)||(console.warn("[unocss]",t),se.add(t))}function le(t){let e=function(n){var a;let o=((a=this.__options)==null?void 0:a.sequence)||[];this.__options.sequence=[];for(let s of o){let i=t[s](n);if(i!=null)return i}};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,get(){return r(this,n)}});return e}var Mn=t=>t.split(/[\s'"`;>=]+/g).filter(rt),nt={name:"split",order:0,extract({code:t}){return new Set(Mn(t))}};function On(t){return V(t).flatMap(e=>Array.isArray(e)?[e]:Object.entries(e))}var _n={shortcuts:-1,default:0};function zt(t={},e={}){let r=Object.assign({},e,t),n=(r.presets||[]).flatMap(V),o=[...n.filter(u=>u.enforce==="pre"),...n.filter(u=>!u.enforce),...n.filter(u=>u.enforce==="post")],a=Object.assign(_n,...n.map(u=>u.layers),t.layers);function s(u){return bt([...o.flatMap(h=>V(h[u]||[])),...V(r[u]||[])])}let i=s("extractors");i.length||i.push(nt),i.sort((u,h)=>(u.order||0)-(h.order||0));let l=s("rules"),f={},d=l.length;l.forEach((u,h)=>{ee(u)&&(f[u[0]]=[h,u[1],u[2]],delete l[h])});let x=tt([...o.map(u=>u.theme||{}),r.theme||{}].reduce((u,h)=>St(u,h),{}));return s("extendTheme").forEach(u=>u(x)),z(w({mergeSelectors:!0,warn:!0,blocklist:[],safelist:[],sortLayers:u=>u},r),{presets:o,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:a,theme:x,rulesSize:d,rulesDynamic:l,rulesStaticMap:f,preprocess:s("preprocess"),postprocess:s("postprocess"),preflights:s("preflights"),variants:s("variants").map(oe),shortcuts:On(s("shortcuts")),extractors:i})}var fe="0.25.
|
|
1
|
+
(()=>{var qt=Object.defineProperty,Rn=Object.defineProperties;var zn=Object.getOwnPropertyDescriptors;var pt=Object.getOwnPropertySymbols;var Zt=Object.prototype.hasOwnProperty,Jt=Object.prototype.propertyIsEnumerable;var It=(t,e,r)=>e in t?qt(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,w=(t,e)=>{for(var r in e||(e={}))Zt.call(e,r)&&It(t,r,e[r]);if(pt)for(var r of pt(e))Jt.call(e,r)&&It(t,r,e[r]);return t},z=(t,e)=>Rn(t,zn(e));var Qt=(t,e)=>{var r={};for(var n in t)Zt.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&pt)for(var n of pt(t))e.indexOf(n)<0&&Jt.call(t,n)&&(r[n]=t[n]);return r};var jn=(t,e)=>{for(var r in e)qt(t,r,{get:e[r],enumerable:!0})};function Q(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function kt(t){let e=t.length,r=-1,n,o="",a=t.charCodeAt(0);for(;++r<e;){if(n=t.charCodeAt(r),n===0){o+="\uFFFD";continue}if(n===44){o+="\\2c ";continue}if(n>=1&&n<=31||n===127||r===0&&n>=48&&n<=57||r===1&&n>=48&&n<=57&&a===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 mt=kt;function et(t){return(Array.isArray(t)?t:Object.entries(t)).filter(e=>e[1]!=null)}function te(t){return Array.isArray(t)?t.find(e=>!Array.isArray(e)||Array.isArray(e[0]))?t.map(e=>et(e)):[t]:[et(t)]}function En(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})}function gt(t){return t==null?"":En(t).map(([e,r])=>r!=null?`${e}:${r};`:void 0).filter(Boolean).join("")}function wt(t){return t&&typeof t=="object"&&!Array.isArray(t)}function St(t,e){let r=t,n=e;if(Array.isArray(r)&&Array.isArray(n))return[...r,...n];if(Array.isArray(r))return[...r];let o=w({},r);return wt(r)&&wt(n)&&Object.keys(n).forEach(a=>{wt(n[a])?a in r?o[a]=St(r[a],n[a]):Object.assign(o,{[a]:n[a]}):Object.assign(o,{[a]:n[a]})}),o}function tt(t){let e,r,n;if(Array.isArray(t)){for(r=Array(e=t.length);e--;)r[e]=(n=t[e])&&typeof n=="object"?tt(n):n;return r}if(Object.prototype.toString.call(t)==="[object Object]"){r={};for(e in t)e==="__proto__"?Object.defineProperty(r,e,{value:tt(t[e]),configurable:!0,enumerable:!0,writable:!0}):r[e]=(n=t[e])&&typeof n=="object"?tt(n):n;return r}return t}function ee(t){return typeof t[0]=="string"}function re(t){return typeof t[0]=="string"}function V(t=[]){return Array.isArray(t)?t:[t]}function bt(t){return Array.from(new Set(t))}var Vn=/^\[(.+?)~?="(.*)"\]$/,An=/(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:%-?]/,A="$$shortcut-no-merge";function ne(t){return t.match(Vn)}function rt(t=""){return An.test(t)}function oe(t){return typeof t=="function"?{match:t}:t}function Ct(t){return t.length===3}function ae(t){return t!=null}var Rt=class{_map=new Map;get(e,r){let n=this._map.get(e);if(n)return n.get(r)}getFallback(e,r,n){let o=this._map.get(e);return o||(o=new Map,this._map.set(e,o)),o.has(r)||o.set(r,n),o.get(r)}set(e,r,n){let o=this._map.get(e);return o||(o=new Map,this._map.set(e,o)),o.set(r,n),this}has(e,r){var n;return(n=this._map.get(e))==null?void 0:n.has(r)}delete(e,r){var n;return((n=this._map.get(e))==null?void 0:n.delete(r))||!1}deleteTop(e){return this._map.delete(e)}map(e){return Array.from(this._map.entries()).flatMap(([r,n])=>Array.from(n.entries()).map(([o,a])=>e(a,r,o)))}};var Tn=/([!\w+:_/-]+?)([:-])\(((?:[!\w\s:/\\,%#.$-]|\[.*?\])*?)\)/gm;function ie(t){let e=[],r;for(;r=Tn.exec(t);){let o=r.index,a=o+r[0].length,[,s,i,l]=r,f=l.split(/\s/g).map(d=>d.replace(/^(!?)(.*)/,`$1${s}${i}$2`)).join(" ");e.unshift([o,a,f])}let n=t;return e.forEach(([o,a,s])=>{n=n.slice(0,o)+s+n.slice(a)}),n}var se=new Set;function ce(t){se.has(t)||(console.warn("[unocss]",t),se.add(t))}function le(t){let e=function(n){var a;let o=((a=this.__options)==null?void 0:a.sequence)||[];this.__options.sequence=[];for(let s of o){let i=t[s](n);if(i!=null)return i}};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,get(){return r(this,n)}});return e}var Mn=t=>t.split(/[\s'"`;>=]+/g).filter(rt),nt={name:"split",order:0,extract({code:t}){return new Set(Mn(t))}};function On(t){return V(t).flatMap(e=>Array.isArray(e)?[e]:Object.entries(e))}var _n={shortcuts:-1,default:0};function zt(t={},e={}){let r=Object.assign({},e,t),n=(r.presets||[]).flatMap(V),o=[...n.filter(u=>u.enforce==="pre"),...n.filter(u=>!u.enforce),...n.filter(u=>u.enforce==="post")],a=Object.assign(_n,...n.map(u=>u.layers),t.layers);function s(u){return bt([...o.flatMap(h=>V(h[u]||[])),...V(r[u]||[])])}let i=s("extractors");i.length||i.push(nt),i.sort((u,h)=>(u.order||0)-(h.order||0));let l=s("rules"),f={},d=l.length;l.forEach((u,h)=>{ee(u)&&(f[u[0]]=[h,u[1],u[2]],delete l[h])});let x=tt([...o.map(u=>u.theme||{}),r.theme||{}].reduce((u,h)=>St(u,h),{}));return s("extendTheme").forEach(u=>u(x)),z(w({mergeSelectors:!0,warn:!0,blocklist:[],safelist:[],sortLayers:u=>u},r),{presets:o,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:a,theme:x,rulesSize:d,rulesDynamic:l,rulesStaticMap:f,preprocess:s("preprocess"),postprocess:s("postprocess"),preflights:s("preflights"),variants:s("variants").map(oe),shortcuts:On(s("shortcuts")),extractors:i})}var fe="0.25.1";var ue=class{constructor(e={},r={}){this.userConfig=e;this.defaults=r;this.config=zt(e,r)}version=fe;_cache=new Map;config;blocked=new Set;parentOrders=new Map;setConfig(e,r){!e||(r&&(this.defaults=r),this.userConfig=e,this.config=zt(e,this.defaults),this.blocked.clear(),this.parentOrders.clear(),this._cache.clear())}async applyExtractors(e,r,n=new Set){let o={get original(){return e},code:e,id:r};for(let a of this.config.extractors){let s=await a.extract(o);s==null||s.forEach(i=>n.add(i))}return n}async parseToken(e){var s;if(this.blocked.has(e))return;if(this._cache.has(e))return this._cache.get(e);let r=e;for(let i of this.config.preprocess)r=i(e);if(this.isBlocked(r)){this.blocked.add(e),this._cache.set(e,null);return}let n=this.matchVariants(e,r);if(!n||this.isBlocked(n[1])){this.blocked.add(e),this._cache.set(e,null);return}let o={rawSelector:e,currentSelector:n[1],theme:this.config.theme,generator:this,variantHandlers:n[2],constructCSS:(...i)=>this.constructCustomCSS(o,...i)},a=this.expandShortcut(n[1],o);if(a){let i=await this.stringifyShortcuts(n,o,a[0],a[1]);if(i==null?void 0:i.length)return this._cache.set(e,i),i}else{let i=(s=await this.parseUtil(n,o))==null?void 0:s.map(l=>this.stringifyUtil(l)).filter(ae);if(i==null?void 0:i.length)return this._cache.set(e,i),i}this._cache.set(e,null)}async generate(e,{id:r,scope:n,preflights:o=!0,safelist:a=!0,minify:s=!1}={}){let i=typeof e=="string"?await this.applyExtractors(e,r):e;a&&this.config.safelist.forEach(p=>i.add(p));let l=s?"":`
|
|
2
2
|
`,f=new Set(["default"]),d=new Set,x=new Map;await Promise.all(Array.from(i).map(async p=>{var y;if(d.has(p))return;let g=await this.parseToken(p);if(g!=null){d.add(p);for(let $ of g){let j=$[3]||"";x.has(j)||x.set(j,[]),x.get(j).push($),((y=$[4])==null?void 0:y.layer)&&f.add($[4].layer)}}})),o&&this.config.preflights.forEach(p=>{p.layer&&f.add(p.layer)});let u={},h=this.config.sortLayers(Array.from(f).sort((p,g)=>{var y,$;return((y=this.config.layers[p])!=null?y:0)-(($=this.config.layers[g])!=null?$:0)||p.localeCompare(g)})),E={};o&&(E=Object.fromEntries(await Promise.all(h.map(async p=>{let y=(await Promise.all(this.config.preflights.filter($=>($.layer||"default")===p).map(async $=>await $.getCSS()))).filter(Boolean).join(l);return[p,y]}))));let F=p=>{if(u[p])return u[p];let g=Array.from(x).sort((y,$)=>{var j,O,m;return((j=this.parentOrders.get(y[0]))!=null?j:0)-((O=this.parentOrders.get($[0]))!=null?O:0)||((m=y[0])==null?void 0:m.localeCompare($[0]||""))||0}).map(([y,$])=>{let j=$.length,O=$.filter(v=>{var R;return(((R=v[4])==null?void 0:R.layer)||"default")===p}).sort((v,R)=>{var X,Y,U;return v[0]-R[0]||(((X=v[4])==null?void 0:X.sort)||0)-(((Y=R[4])==null?void 0:Y.sort)||0)||((U=v[1])==null?void 0:U.localeCompare(R[1]||""))||0}).map(v=>{var R;return[v[1]?Fn(v[1],n):v[1],v[2],!!((R=v[4])==null?void 0:R.noMerge)]}).map(v=>[v[0]==null?v[0]:[v[0]],v[1],v[2]]);if(!O.length)return;let m=O.reverse().map(([v,R,X],Y)=>{if(!X&&v&&this.config.mergeSelectors)for(let U=Y+1;U<j;U++){let J=O[U];if(J&&!J[2]&&J[0]&&J[1]===R)return J[0].push(...v),null}return v?`${[...new Set(v)].join(`,${l}`)}{${R}}`:R}).filter(Boolean).reverse().join(l);return y?`${y}{${l}${m}${l}}`:m}).filter(Boolean).join(l);return o&&(g=[E[p],g].filter(Boolean).join(l)),u[p]=!s&&g?`/* layer: ${p} */${l}${g}`:g},k=(p=h,g)=>p.filter(y=>!(g==null?void 0:g.includes(y))).map(y=>F(y)||"").filter(Boolean).join(l);return{get css(){return k()},layers:h,getLayers:k,getLayer:F,matched:d}}matchVariants(e,r){let n=new Set,o=[],a=r||e,s=!1,i={rawSelector:e,theme:this.config.theme,generator:this};for(;;){s=!1;for(let l of this.config.variants){if(!l.multiPass&&n.has(l))continue;let f=l.match(a,i);if(!!f&&(typeof f=="string"&&(f={matcher:f}),f)){a=f.matcher,Array.isArray(f.parent)&&this.parentOrders.set(f.parent[0],f.parent[1]),o.push(f),n.add(l),s=!0;break}}if(!s)break;if(o.length>500)throw new Error(`Too many variants applied to "${e}"`)}return[e,a,o]}applyVariants(e,r=e[4],n=e[1]){let o=[...r].sort((i,l)=>(i.order||0)-(l.order||0)),a=o.reduce((i,l)=>{var f;return((f=l.body)==null?void 0:f.call(l,i))||i},e[2]),s={selector:o.reduce((i,l)=>{var f;return((f=l.selector)==null?void 0:f.call(l,i,a))||i},Dn(n)),entries:a,parent:o.reduce((i,l)=>Array.isArray(l.parent)?l.parent[0]:l.parent||i,void 0),layer:o.reduce((i,l)=>l.layer||i,void 0),sort:o.reduce((i,l)=>l.sort||i,void 0)};for(let i of this.config.postprocess)i(s);return s}constructCustomCSS(e,r,n){r=et(r);let{selector:o,entries:a,parent:s}=this.applyVariants([0,n||e.rawSelector,r,void 0,e.variantHandlers]),i=`${o}{${gt(a)}}`;return s?`${s}{${i}}`:i}async parseUtil(e,r,n=!1){var d,x;let[o,a,s]=typeof e=="string"?this.matchVariants(e):e,i=this.config.rulesStaticMap[a];if(i&&i[1]&&(n||!((d=i[2])==null?void 0:d.internal)))return[[i[0],o,et(i[1]),i[2],s]];r.variantHandlers=s;let{rulesDynamic:l,rulesSize:f}=this.config;for(let u=f;u>=0;u--){let h=l[u];if(!h||((x=h[2])==null?void 0:x.internal)&&!n)continue;let[E,F,k]=h,p=a.match(E);if(!p)continue;let g=await F(p,r);if(!g)continue;if(typeof g=="string")return[[u,g,k]];let y=te(g).filter($=>$.length);if(y.length)return y.map($=>[u,o,$,k,s])}}stringifyUtil(e){var u;if(!e)return;if(Ct(e))return[e[0],void 0,e[1],void 0,e[2]];let{selector:r,entries:n,parent:o,layer:a,sort:s}=this.applyVariants(e),i=gt(n);if(!i)return;let h=(u=e[3])!=null?u:{},{layer:l,sort:f}=h,d=Qt(h,["layer","sort"]),x=z(w({},d),{layer:a!=null?a:l,sort:s!=null?s:f});return[e[0],r,i,o,x]}expandShortcut(e,r,n=3){if(n===0)return;let o,a;for(let s of this.config.shortcuts)if(re(s)){if(s[0]===e){o=o||s[2],a=s[1];break}}else{let i=e.match(s[0]);if(i&&(a=s[1](i,r)),a){o=o||s[2];break}}if(typeof a=="string"&&(a=ie(a).split(/\s+/g)),!!a)return[a.flatMap(s=>{var i;return((i=this.expandShortcut(s,r,n-1))==null?void 0:i[0])||[s]}).filter(s=>s!==""),o]}async stringifyShortcuts(e,r,n,o={layer:this.config.shortcutsLayer}){var f;let a=new Rt,s=(await Promise.all(bt(n).map(async d=>{let x=await this.parseUtil(d,r,!0);return x||ce(`unmatched utility "${d}" in shortcut "${e[1]}"`),x||[]}))).flat(1).filter(Boolean).sort((d,x)=>d[0]-x[0]),[i,,l]=e;for(let d of s){if(Ct(d))continue;let{selector:x,entries:u,parent:h,sort:E}=this.applyVariants(d,[...d[4],...l],i);a.getFallback(x,h,[[],d[0]])[0].push([u,!!((f=d[3])==null?void 0:f.noMerge),E!=null?E:0])}return a.map(([d,x],u,h)=>{let E=(k,p,g)=>{let y=Math.max(...g.map(j=>j[1])),$=g.map(j=>j[0]);return(k?[$.flat(1)]:$).map(j=>{let O=gt(j);if(O)return[x,u,O,h,z(w({},o),{noMerge:p,sort:y})]})};return[[d.filter(([,k])=>k).map(([k,,p])=>[k,p]),!0],[d.filter(([,k])=>!k).map(([k,,p])=>[k,p]),!1]].map(([k,p])=>[...E(!1,p,k.filter(([g])=>g.some(y=>y[0]===A))),...E(!0,p,k.filter(([g])=>g.every(y=>y[0]!==A)))])}).flat(2).filter(Boolean)}isBlocked(e){return!e||this.config.blocklist.some(r=>typeof r=="string"?r===e:r.test(e))}};function pe(t,e){return new ue(t,e)}var me=/ \$\$ /,Un=t=>t.match(me);function Fn(t,e){return Un(t)?t.replace(me,e?` ${e} `:" "):e?`${e} ${t}`:t}var de=/^\[(.+?)(~?=)"(.*)"\]$/;function Dn(t){return de.test(t)?t.replace(de,(e,r,n,o)=>`[${mt(r)}${n}"${mt(o)}"]`):`.${mt(t)}`}var jt={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"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827"},slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917"},light:{50:"#fdfdfd",100:"#fcfcfc",200:"#fafafa",300:"#f8f9fa",400:"#f6f6f6",500:"#f2f2f2",600:"#f1f3f5",700:"#e9ecef",800:"#dee2e6",900:"#dde1e3"},dark:{50:"#4a4a4a",100:"#3c3c3c",200:"#323232",300:"#2d2d2d",400:"#222222",500:"#1f1f1f",600:"#1c1c1e",700:"#1b1b1b",800:"#181818",900:"#0f0f0f"},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(jt).forEach(t=>{typeof t!="string"&&(t.DEFAULT=t.DEFAULT||t[400],Object.keys(t).forEach(e=>{let r=+e/100;r===Math.round(r)&&(t[r]=t[e])}))});var ge={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(",")},be={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"]},he={DEFAULT:"1.5rem",xs:"0.5rem",sm:"1rem",md:"1.5rem",lg:"2rem",xl:"2.5rem","2xl":"3rem","3xl":"4rem"},xe={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},ye={DEFAULT:["0 0 1px rgba(0,0,0,0.2)","0 0 1px rgba(1,0,5,0.1)"],sm:"1px 1px 3px rgba(36,37,47,0.25)",md:["0 1px 2px rgba(30,29,39,0.19)","1px 2px 4px rgba(54,64,147,0.18)"],lg:["3px 3px 6px rgba(0,0,0,0.26)","0 0 5px rgba(15,3,86,0.22)"],xl:["1px 1px 3px rgba(0,0,0,0.29)","2px 4px 7px rgba(73,64,125,0.35)"],none:"0 0 #0000"},ve={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},At={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},$e=At,Tt={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},ke=w({},Tt),we={DEFAULT:"0.25rem",none:"0px",sm:"0.125rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},Se={DEFAULT:["var(--un-shadow-inset) 0 1px 3px 0 rgba(0,0,0,0.1)","var(--un-shadow-inset) 0 1px 2px -1px rgba(0,0,0,0.1)"],sm:"var(--un-shadow-inset) 0 1px 2px 0 rgba(0,0,0,0.05)",md:["var(--un-shadow-inset) 0 4px 6px -1px rgba(0,0,0,0.1)","var(--un-shadow-inset) 0 2px 4px -2px rgba(0,0,0,0.1)"],lg:["var(--un-shadow-inset) 0 10px 15px -3px rgba(0,0,0,0.1)","var(--un-shadow-inset) 0 4px 6px -4px rgba(0,0,0,0.1)"],xl:["var(--un-shadow-inset) 0 20px 25px -5px rgba(0,0,0,0.1)","var(--un-shadow-inset) 0 8px 10px -6px rgba(0,0,0,0.1)"],"2xl":"var(--un-shadow-inset) 0 25px 50px -12px rgba(0,0,0,0.25)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.05)",none:"0 0 #0000"},Ce={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)"},Re={DEFAULT:"8px","0":"0",sm:"4px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},ze={DEFAULT:["0 1px 2px rgba(0,0,0,0.1)","0 1px 1px rgba(0,0,0,0.06)"],sm:"0 1px 1px rgba(0,0,0,0.05)",md:["0 4px 3px rgba(0,0,0,0.07)","0 2px 2px rgba(0,0,0,0.06)"],lg:["0 10px 8px rgba(0,0,0,0.04)","0 4px 3px rgba(0,0,0,0.1)"],xl:["0 20px 13px rgba(0,0,0,0.03)","0 8px 5px rgba(0,0,0,0.08)"],"2xl":"0 25px 25px rgba(0,0,0,0.15)",none:"0 0 #0000"},it={xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",prose:"65ch"},Et=z(w({auto:"auto"},it),{screen:"100vw"}),ot=z(w({none:"none"},it),{screen:"100vw"}),Vt=z(w({auto:"auto"},it),{screen:"100vh"}),at=z(w({none:"none"},it),{screen:"100vh"}),Mt={width:Et,height:Vt,maxWidth:ot,maxHeight:at,minWidth:ot,minHeight:at,inlineSize:Et,blockSize:Vt,maxInlineSize:ot,maxBlockSize:at,minInlineSize:ot,minBlockSize:at,colors:jt,fontFamily:ge,fontSize:be,breakpoints:Tt,verticalBreakpoints:ke,borderRadius:we,lineHeight:ve,letterSpacing:At,wordSpacing:$e,boxShadow:Se,textIndent:he,textShadow:ye,textStrokeWidth:xe,blur:Re,dropShadow:ze,easing:Ce};var Ln={mid:"middle",base:"baseline",btm:"bottom"},je=[[/^(?:vertical|align|v)-(baseline|top|middle|bottom|text-top|text-bottom|sub|super|mid|base|btm)$/,([,t])=>({"vertical-align":Ln[t]||t})]],Ee=[["text-center",{"text-align":"center"}],["text-left",{"text-align":"left"}],["text-right",{"text-align":"right"}],["text-justify",{"text-align":"justify"}]];var Ot=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"];function G(t=""){let e=Nn(t);if(e==null)return;let{type:r,components:n,alpha:o}=e,a=r.toLowerCase();if(n.length!==0&&!(["rgba","hsla"].includes(a)&&o===void 0)&&!(Ot.includes(a)&&n.length!==3))return{type:a,components:n,alpha:o}}function T(t,e){let{components:r}=t,{alpha:n,type:o}=t;return n=e!=null?e:n,o=o.toLowerCase(),["hsla","hsl","rgba","rgb"].includes(o)?`${o.replace("a","")}a(${r.join(",")}${n==null?"":`,${n}`})`:(n=n==null?"":` / ${n}`,Ot.includes(o)?`${o}(${r.join(" ")}${n})`:`color(${o} ${r.join(" ")}${n})`)}function Nn(t){if(!t)return;let e=Hn(t);if(e!=null||(e=Bn(t),e!=null)||(e=Wn(t),e!=null)||(e=Xn(t),e!=null)||(e=Yn(t),e!=null))return e}function Hn(t){let[,e]=t.match(/^#([\da-f]+)$/i)||[];if(!!e)switch(e.length){case 3:case 4:let r=Array.from(e,o=>Number.parseInt(o,16)).map(o=>o<<4|o);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 n=Number.parseInt(e,16);return{type:"rgb",components:e.length===6?[n>>16&255,n>>8&255,n&255]:[n>>24&255,n>>16&255,n>>8&255],alpha:e.length===6?void 0:Math.round((n&255)/255*100)/100}}}function Bn(t){let e={rebeccapurple:[102,51,153,1]}[t];if(e!=null)return{type:"rgb",components:e.slice(0,3),alpha:e[3]}}function Wn(t){let e=t.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!e)return;let[,r,n]=e,o=st(n,",",5);if(o&&[3,4].includes(o.length))return{type:r,components:o.slice(0,3),alpha:o[3]}}var Kn=new RegExp(`^(${Ot.join("|")})\\((.+)\\)$`,"i");function Xn(t){let e=t.match(Kn);if(!e)return;let[,r,n]=e,o=Ve(`${r} ${n}`);if(o){let{alpha:a,components:[s,...i]}=o;return{type:s,components:i,alpha:a}}}function Yn(t){let e=t.match(/^color\((.+)\)$/);if(!e)return;let r=Ve(e[1]);if(r){let{alpha:n,components:[o,...a]}=r;return{type:o,components:a,alpha:n}}}function Ve(t){let e=st(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 a=e.splice(r-2);e.push(a.join(" ")),--r}let n=st(e[r-1],"/",3);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}}function Gn(t,e){if(t=t.trim(),t==="")return;let r=t.length,n=0;for(let o=0;o<r;o++)switch(t[o]){case"(":n++;break;case")":if(--n<0)return;break;case e:if(n===0){let a=t.slice(0,o).trim();return a===""?void 0:[a,t.slice(o+1).trim()]}}return[t,""]}function st(t,e,r){if(e=e!=null?e:" ",e.length!==1)return;r=r!=null?r:10;let n=[],o=0;for(;t!=="";){if(++o>r)return;let a=Gn(t,e);if(!a)return;let[s,i]=a;n.push(s),t=i}if(n.length>0)return n}var M={l:["-left"],r:["-right"],t:["-top"],b:["-bottom"],s:["-inline-start"],e:["-inline-end"],x:["-left","-right"],y:["-top","-bottom"],"":[""],bs:["-block-start"],be:["-block-end"],is:["-inline-start"],ie:["-inline-end"],block:["-block-start","-block-end"],inline:["-inline-start","-inline-end"]},_t=z(w({},M),{s:["-inset-inline-start"],e:["-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"],is:["-end-start","-start-start"],ie:["-start-end","-end-end"],"bs-is":["-start-start"],"is-bs":["-start-start"],"bs-ie":["-start-end"],"ie-bs":["-start-end"],"be-is":["-end-start"],"is-be":["-end-start"],"be-ie":["-end-end"],"ie-be":["-end-end"]},Ut={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},Ae=["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"],D=Object.assign({},...Ae.map(t=>({[t.replace(/ /,"-")]:t})),...Ae.map(t=>({[t.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:t})));var Dt={};jn(Dt,{auto:()=>Jn,bracket:()=>oo,cssvar:()=>ao,degree:()=>so,fraction:()=>no,global:()=>co,number:()=>eo,numberWithUnit:()=>Zn,percent:()=>ro,properties:()=>lo,px:()=>to,rem:()=>Qn,time:()=>io});var In=["color","border-color","background-color","flex-grow","flex","flex-shrink","caret-color","font","gap","opacity","visibility","z-index","font-weight","zoom","text-shadow","transform","box-shadow","backround-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"],Ft=/^(-?[0-9.]+)(px|pt|pc|rem|em|%|vh|vw|in|cm|mm|ex|ch|vmin|vmax|rpx)?$/i,qn=/^(-?[0-9.]+)$/i,Te=/^(px)$/i;function _(t){return t.toFixed(10).replace(/\.0+$/,"").replace(/(\.\d+?)0+$/,"$1")}function Zn(t){let e=t.match(Ft);if(!e)return;let[,r,n]=e,o=parseFloat(r);if(n&&!Number.isNaN(o))return`${_(o)}${n}`}function Jn(t){if(t==="auto"||t==="a")return"auto"}function Qn(t){if(t.match(Te))return`1${t}`;let e=t.match(Ft);if(!e)return;let[,r,n]=e,o=parseFloat(r);if(!Number.isNaN(o))return n?`${_(o)}${n}`:`${_(o/4)}rem`}function to(t){if(t.match(Te))return`1${t}`;let e=t.match(Ft);if(!e)return;let[,r,n]=e,o=parseFloat(r);if(!Number.isNaN(o))return n?`${_(o)}${n}`:`${_(o)}px`}function eo(t){if(!qn.test(t))return;let e=parseFloat(t);if(!Number.isNaN(e))return _(e)}function ro(t){t.endsWith("%")&&(t=t.slice(0,-1));let e=parseFloat(t);if(!Number.isNaN(e))return`${_(e/100)}`}function no(t){if(t==="full")return"100%";let[e,r]=t.split("/"),n=parseFloat(e)/parseFloat(r);if(!Number.isNaN(n))return`${_(n*100)}%`}function oo(t){if(t&&t[0]==="["&&t[t.length-1]==="]")return t.slice(1,-1).replace(/(url\(.*?\))/g,e=>e.replace(/_/g,"\\_")).replace(/([^\\])_/g,"$1 ").replace(/calc\((.*)/g,e=>e.replace(/(-?\d*\.?\d(?!\b-.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 "))}function ao(t){if(t.match(/^\$\S/))return`var(--${kt(t.slice(1))})`}function io(t){let e=t.match(/^(-?[0-9.]+)(s|ms)?$/i);if(!e)return;let[,r,n]=e,o=parseFloat(r);if(!Number.isNaN(o))return n?`${_(o)}${n}`:`${_(o)}ms`}function so(t){let e=t.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);if(!e)return;let[,r,n]=e,o=parseFloat(r);if(!Number.isNaN(o))return n?`${_(o)}${n}`:`${_(o)}deg`}function co(t){if(["inherit","initial","revert","unset"].includes(t))return t}function lo(t){for(let e of t.split(","))if(!In.includes(e))return;return t}var c=le(Dt);var L=(t,e)=>{let r=new RegExp(`^${Q(t)}[:-]`);return n=>{let o=n.match(r);if(o)return{matcher:n.slice(o[0].length),selector:e}}},P=(t,e)=>{let r=new RegExp(`^${Q(t)}[:-]`);return n=>{let o=n.match(r);if(o)return{matcher:n.slice(o[0].length),parent:e}}};var C=t=>([e,r,n])=>{let o=c.bracket.cssvar.auto.fraction.rem(n);if(o!==void 0)return M[r].map(a=>[`${t}${a}`,o])},Lt=(t,e)=>{var r;return(r=t.colors)==null?void 0:r[e.join("-").replace(/(-[a-z])/g,n=>n.slice(1).toUpperCase())]},K=(t,e)=>{let[r,n]=t.split(/(?:\/|:)/),o=r.replace(/([a-z])([0-9])/g,"$1-$2").split(/-/g),[a]=o;if(!a)return;let s,i=c.bracket(r),l=i||r;l.startsWith("#")?s=l:l.startsWith("hex-")?s=`#${l.slice(4)}`:r.startsWith("$")&&(s=c.cssvar(r)),s=s||i;let f="DEFAULT";if(!s){let d,[x]=o.slice(-1);x.match(/^\d+$/)?(f=x,d=Lt(e,o.slice(0,-1))):(d=Lt(e,o),!d&&o.length<=2&&([,f=f]=o,d=Lt(e,[a]))),typeof d=="string"?s=d:f&&d&&(s=d[f])}return{opacity:n,name:a,no:f,color:s,cssColor:G(s),alpha:c.bracket.cssvar.percent(n!=null?n:"")}},S=(t,e)=>([,r],{theme:n})=>{var l;let o=K(r,n);if(!o)return;let{alpha:a,color:s,cssColor:i}=o;if(i)return a!=null?{[t]:T(i,a)}:{[`--un-${e}-opacity`]:(l=i.alpha)!=null?l:1,[t]:T(i,`var(--un-${e}-opacity)`)};if(s)return{[t]:s.replace("%alpha",`${a!=null?a:1}`)}},I=(t,e)=>{let r=[];t=V(t);for(let n=0;n<t.length;n++){let o=st(t[n]," ",6);if(!o||o.length<3)return t;let a=G(o.pop());if(a==null)return t;r.push(`${o.join(" ")} var(${e}, ${T(a)})`)}return r};var Me=[[/^outline-(?:width-|size-)?(.+)$/,([,t])=>({"outline-width":c.bracket.cssvar.px(t)})],[/^outline-(?:color-)?(.+)$/,S("outline-color","outline-color")],[/^outline-offset-(.+)$/,([,t])=>({"outline-offset":c.bracket.cssvar.px(t)})],["outline",{"outline-style":"solid"}],[/^outline-(auto|dashed|dotted|double|hidden|solid|groove|ridge|inset|outset|inherit|initial|revert|unset)$/,([,t])=>({"outline-style":t})],["outline-none",{outline:"2px solid transparent","outline-offset":"2px"}]],Oe=[["appearance-none",{appearance:"none","-webkit-appearance":"none"}]],fo=t=>{var e;return(e=c.properties.auto.global(t))!=null?e:{contents:"contents",scroll:"scroll-position"}[t]},_e=[[/^will-change-(.+)/,([,t])=>({"will-change":fo(t)})]];var Pe=[[/^(?:border|b)()(?:-(.+))?$/,ct],[/^(?:border|b)-([xy])(?:-(.+))?$/,ct],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,ct],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,ct],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,ct],[/^(?:border|b)-()(?:width|size)-(.+)$/,q],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,q],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,q],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,q],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,q],[/^(?:border|b)-()(?:color-)?(.+)$/,lt],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,lt],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,lt],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,lt],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,lt],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,ft],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,ft],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,ft],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,ft],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,ft],[/^(?:border-)?(?:rounded|rd)()(?:-(.+))?$/,dt],[/^(?:border-)?(?:rounded|rd)-([rltb])(?:-(.+))?$/,dt],[/^(?:border-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,dt],[/^(?:border-)?(?:rounded|rd)-([bi][se])(?:-(.+))?$/,dt],[/^(?:border-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,dt],["border-solid",{"border-style":"solid"}],["border-dashed",{"border-style":"dashed"}],["border-dotted",{"border-style":"dotted"}],["border-double",{"border-style":"double"}],["border-hidden",{"border-style":"hidden"}],["border-none",{"border-style":"none"}]],uo=(t,{theme:e})=>{var r;return t!==void 0&&!!((r=K(t,e))==null?void 0:r.color)},po=t=>([,e],{theme:r})=>{var i,l;let n=K(e,r);if(!n)return;let{alpha:o,color:a,cssColor:s}=n;if(s)return o!=null?{[`border${t}-color`]:T(s,o)}:t===""?{"--un-border-opacity":(i=s.alpha)!=null?i:1,[`border${t}-color`]:T(s,`var(--un-border${t}-opacity)`)}:{"--un-border-opacity":(l=s.alpha)!=null?l:1,[`--un-border${t}-opacity`]:"var(--un-border-opacity)",[`border${t}-color`]:T(s,`var(--un-border${t}-opacity)`)};if(a)return{[`border${t}-color`]:a.replace("%alpha",`${o!=null?o:1}`)}};function ct(t){let e=q(t);if(e)return[...e,["border-style","solid"]]}function q([,t="",e="1"]){let r=c.bracket.cssvar.px(e);if(t in M&&r!=null)return M[t].map(n=>[`border${n}-width`,r])}function lt([,t="",e],r){if(t in M&&uo(e,r))return Object.assign({},...M[t].map(n=>po(n)(["",e],r)))}function ft([,t="",e]){let r=c.bracket.percent(e);if(t in M&&r!=null)return M[t].map(n=>[`--un-border${n}-opacity`,r])}function dt([,t="",e="DEFAULT"],{theme:r}){var o;let n=((o=r.borderRadius)==null?void 0:o[e])||c.bracket.cssvar.fraction.rem(e);if(t in Pt&&n!=null)return Pt[t].map(a=>[`border${a}-radius`,n])}var Ue=[[/^op(?:acity)?-?(.+)$/,([,t])=>({opacity:c.bracket.percent.cssvar(t)})]],Fe=[[/^(?:text|color|c)-(.+)$/,S("color","text")],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,t])=>({"--un-text-opacity":c.bracket.percent(t)})]],De=[[/^bg-(.+)$/,S("background-color","bg")],[/^bg-op(?:acity)?-?(.+)$/,([,t])=>({"--un-bg-opacity":c.bracket.percent(t)})]];var Ne={all:"all",colors:["color","background-color","border-color","text-decoration-color","fill","stroke"].join(","),none:"none",opacity:"opacity",shadow:"box-shadow",transform:"transform"},Le=t=>{var e;return(e=c.properties(t))!=null?e:Ne[t]},He=[[/^transition(?:-([a-z-]+(?:,[a-z-]+)*))?(?:-(\d+))?$/,([,t,e="150"])=>{let r=t!=null?Le(t):[Ne.colors,"opacity","box-shadow","transform","filter","backdrop-filter"].join(",");if(r)return{"transition-property":r,"transition-timing-function":"cubic-bezier(0.4, 0, 0.2, 1)","transition-duration":`${e}ms`}}],[/^(?:transition-)?duration-(.+)$/,([,t])=>({"transition-duration":c.bracket.cssvar.time(t)})],[/^(?:transition-)?delay-(.+)$/,([,t])=>({"transition-delay":c.bracket.cssvar.time(t)})],[/^(?:transition-)?ease(?:-(.+))?$/,([,t],{theme:e})=>{var r,n;return{"transition-timing-function":(n=(r=e.easing)==null?void 0:r[t||"DEFAULT"])!=null?n:c.bracket.cssvar(t)}}],[/^(?:transition-)?property-(.+)$/,([,t])=>({"transition-property":c.global(t)||Le(t)})],["transition-none",{transition:"none"}]];var Be=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],["flex-1",{flex:"1 1 0%"}],["flex-auto",{flex:"1 1 auto"}],["flex-initial",{flex:"0 1 auto"}],["flex-none",{flex:"none"}],[/^flex-(\[.+\])$/,([,t])=>({flex:c.bracket(t).replace(/\d+\/\d+/,e=>c.fraction(e))})],[/^(?:flex-)?shrink$/,()=>({"flex-shrink":1})],[/^(?:flex-)?shrink-0$/,()=>({"flex-shrink":0})],[/^(?:flex-)?grow$/,()=>({"flex-grow":1})],[/^(?:flex-)?grow-0$/,()=>({"flex-grow":0})],[/^(?:flex-)?basis-(.+)$/,([,t])=>({"flex-basis":c.bracket.cssvar.auto.fraction.rem(t)})],["flex-row",{"flex-direction":"row"}],["flex-row-reverse",{"flex-direction":"row-reverse"}],["flex-col",{"flex-direction":"column"}],["flex-col-reverse",{"flex-direction":"column-reverse"}],["flex-wrap",{"flex-wrap":"wrap"}],["flex-wrap-reverse",{"flex-wrap":"wrap-reverse"}],["flex-nowrap",{"flex-wrap":"nowrap"}]];var mo={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},We=[[/^font-(\w+)$/,([,t],{theme:e})=>{var r;return{"font-family":(r=e.fontFamily)==null?void 0:r[t]}}],[/^text-(.+)$/,([,t="base"],{theme:e})=>{var n;let r=V((n=e.fontSize)==null?void 0:n[t]);if(r==null?void 0:r[0]){let[o,a="1"]=r;return{"font-size":o,"line-height":a}}return{"font-size":c.bracket.rem(t)}}],[/^text-size-(.+)$/,([,t])=>({"font-size":c.bracket.cssvar.rem(t)})],[/^(?:font|fw)-?([^-]+)$/,([,t])=>({"font-weight":mo[t]||c.number(t)})],[/^(?:leading|lh)-(.+)$/,([,t],{theme:e})=>{var r;return{"line-height":((r=e.lineHeight)==null?void 0:r[t])||c.bracket.cssvar.rem(t)}}],[/^tracking-(.+)$/,([,t],{theme:e})=>{var r;return{"letter-spacing":((r=e.letterSpacing)==null?void 0:r[t])||c.bracket.cssvar.rem(t)}}],[/^word-spacing-(.+)$/,([,t],{theme:e})=>{var r;return{"word-spacing":((r=e.wordSpacing)==null?void 0:r[t])||c.bracket.cssvar.rem(t)}}]],Ke=[[/^tab(?:-(.+))?$/,([,t])=>{let e=c.bracket.cssvar.global.number(t||"4");if(e!=null)return{"-moz-tab-size":e,"-o-tab-size":e,"tab-size":e}}]],Xe=[[/^indent(?:-(.+))?$/,([,t],{theme:e})=>{var r;return{"text-indent":((r=e.textIndent)==null?void 0:r[t||"DEFAULT"])||c.bracket.cssvar.fraction.rem(t)}}]],Ye=[[/^text-stroke(?:-(.+))?$/,([,t],{theme:e})=>{var r;return{"-webkit-text-stroke-width":((r=e.textStrokeWidth)==null?void 0:r[t||"DEFAULT"])||c.bracket.cssvar.px(t)}}],[/^text-stroke-(.+)$/,S("-webkit-text-stroke-color","text-stroke")],[/^text-stroke-op(?:acity)?-?(.+)$/,([,t])=>({"--un-text-stroke-opacity":c.bracket.percent(t)})]],Ge=[[/^text-shadow(?:-(.+))?$/,([,t],{theme:e})=>{var n;let r=(n=e.textShadow)==null?void 0:n[t||"DEFAULT"];return r!=null?{"--un-text-shadow":I(r,"--un-text-shadow-color").join(","),"text-shadow":"var(--un-text-shadow)"}:{"text-shadow":c.bracket.cssvar(t)}}],[/^text-shadow-color-(.+)$/,S("--un-text-shadow-color","text-shadow")],[/^text-shadow-color-op(?:acity)?-?(.+)$/,([,t])=>({"--un-text-shadow-opacity":c.bracket.percent(t)})]];var Ie={"":"",x:"column-",y:"row-"},qe=([,t="",e])=>{let r=c.bracket.cssvar.rem(e);if(r!=null)return{[`grid-${Ie[t]}gap`]:r,[`${Ie[t]}gap`]:r}},Ze=[[/^(?:flex-|grid-)?gap-()([^-]+)$/,qe],[/^(?:flex-|grid-)?gap-([xy])-([^-]+)$/,qe]];var N=t=>t.replace("col","column"),go=(t,e)=>{var n;let r=(n=e.fontSize)==null?void 0:n[t];if(r!=null)return V(r)[0];switch(t){case"min":return"min-content";case"max":return"max-content";case"fr":return"minmax(0,1fr)"}return c.bracket.cssvar.auto.rem(t)},Je=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,t,e])=>({[`grid-${N(t)}`]:c.bracket.cssvar.auto(e)})],[/^(?:grid-)?(row|col)-span-(.+)$/,([,t,e])=>{if(e==="full")return{[`grid-${N(t)}`]:"1/-1"};let r=c.bracket.number(e);if(r!=null)return{[`grid-${N(t)}`]:`span ${r}/span ${r}`}}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,t,e])=>{var r;return{[`grid-${N(t)}-start`]:(r=c.bracket.cssvar(e))!=null?r:e}}],[/^(?:grid-)?(row|col)-end-(.+)$/,([,t,e])=>{var r;return{[`grid-${N(t)}-end`]:(r=c.bracket.cssvar(e))!=null?r:e}}],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,t,e],{theme:r})=>({[`grid-auto-${N(t)}`]:go(e,r)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,t])=>({"grid-auto-flow":c.bracket.cssvar(t)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-((?:row|col)(?:-dense)?)$/,([,t])=>({"grid-auto-flow":N(t).replace("-"," ")})],[/^grid-(rows|cols)-(.+)$/,([,t,e])=>({[`grid-template-${N(t)}`]:c.bracket.cssvar(e)})],[/^grid-(rows|cols)-minmax-([\w.-]+)$/,([,t,e])=>({[`grid-template-${N(t)}`]:`repeat(auto-fill,minmax(${e},1fr))`})],[/^grid-(rows|cols)-(\d+)$/,([,t,e])=>({[`grid-template-${N(t)}`]:`repeat(${e},minmax(0,1fr))`})],["grid-rows-none",{"grid-template-rows":"none"}],["grid-cols-none",{"grid-template-columns":"none"}]];var Qe=["auto","hidden","clip","visible","scroll"],tr=[[/^(?:overflow|of)-(.+)$/,([,t])=>Qe.includes(t)?{overflow:t}:void 0],[/^(?:overflow|of)-([xy])-(.+)$/,([,t,e])=>Qe.includes(e)?{[`overflow-${t}`]:e}:void 0]];var er=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,t])=>({position:t})],[/^(?:position-|pos-)?(static)$/,([,t])=>({position:t})]],rr=[["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-items-start",{"justify-items":"start"}],["justify-items-end",{"justify-items":"end"}],["justify-items-center",{"justify-items":"center"}],["justify-items-stretch",{"justify-items":"stretch"}],["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"}]],nr=[[/^order-(.+)$/,([,t])=>({order:c.bracket.cssvar.number(t)})],["order-first",{order:"-9999"}],["order-last",{order:"9999"}],["order-none",{order:"0"}]],or=[["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"}],["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"}],["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"}]],ar=[["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-items-start",{"place-items":"start"}],["place-items-end",{"place-items":"end"}],["place-items-center",{"place-items":"center"}],["place-items-stretch",{"place-items":"stretch"}],["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"}]];function Nt(t){return c.bracket.cssvar.auto.fraction.rem(t)}function ht([,t,e]){let r=Nt(e);if(r!=null&&t in _t)return _t[t].map(n=>[n.slice(1),r])}var ir=[[/^(?:position-|pos-)?inset-(.+)$/,([,t])=>({inset:Nt(t)})],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,ht],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,ht],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,ht],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,ht],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,t,e])=>({[t]:Nt(e)})]],sr=[["float-left",{float:"left"}],["float-right",{float:"right"}],["float-none",{float:"none"}],["clear-left",{clear:"left"}],["clear-right",{clear:"right"}],["clear-both",{clear:"both"}],["clear-none",{clear:"none"}]],cr=[[/^z-(.+)$/,([,t])=>({"z-index":c.bracket.cssvar.auto.number(t)})]],lr=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}]];var b="var(--un-empty,/*!*/ /*!*/)",fr=[["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:c.bracket.cssvar(t)||t})]],dr=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}]],ur=[[/^cursor-(.+)$/,([,t])=>({cursor:c.bracket.cssvar(t)||t})]],pr=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}]],mr=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}]],gr=[["select-auto",{"user-select":"auto"}],["select-all",{"user-select":"all"}],["select-text",{"user-select":"text"}],["select-none",{"user-select":"none"}]],br=[[/^(?:whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap)$/,([,t])=>({"white-space":t})]],hr=[[/^content-\[(.+)\]$/,([,t])=>({content:`"${t}"`})],["content-empty",{content:'""'}],["content-none",{content:'""'}]],xr=[["break-normal",{"overflow-wrap":"normal","word-break":"normal"}],["break-words",{"overflow-wrap":"break-word"}],["break-all",{"word-break":"break-all"}]],yr=[["truncate",{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}],["text-ellipsis",{"text-overflow":"ellipsis"}],["text-clip",{"text-overflow":"clip"}]];var vr=[["italic",{"font-style":"italic"}],["not-italic",{"font-style":"normal"}]],$r=[["antialiased",{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","font-smoothing":"grayscale"}],["subpixel-antialiased",{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto","font-smoothing":"auto"}]];var Ht={[A]:"","--un-ring-offset-shadow":"0 0 #0000","--un-ring-shadow":"0 0 #0000","--un-shadow-inset":b,"--un-shadow":"0 0 #0000"},kr=[[/^shadow(?:-(.+))?$/,([,t],{theme:e})=>{var n;let r=(n=e.boxShadow)==null?void 0:n[t||"DEFAULT"];if(r)return[Ht,{"--un-shadow":I(r,"--un-shadow-color").join(","),"box-shadow":"var(--un-ring-offset-shadow, 0 0 #0000), var(--un-ring-shadow, 0 0 #0000), var(--un-shadow)"}]}],[/^shadow-(.+)$/,S("--un-shadow-color","shadow")],[/^shadow-op(?:acity)?-?(.+)$/,([,t])=>({"--un-shadow-opacity":c.bracket.percent(t)})],["shadow-inset",{"--un-shadow-inset":"inset"}]];var bo=z(w({},Ht),{"--un-ring-inset":b,"--un-ring-offset-width":"0px","--un-ring-offset-color":"#fff","--un-ring-width":"0px","--un-ring-color":"rgba(147,197,253,0.5)"}),wr=[[/^ring(?:-(.+))?$/,([,t])=>{let e=c.px(t||"1");if(e)return[bo,{"--un-ring-width":e,"--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, 0 0 #0000)"}]}],[/^ring-(?:width-|size-)(.+)$/,([,t])=>({"--un-ring-width":c.bracket.cssvar.px(t)})],["ring-offset",{"--un-ring-offset-width":"1px"}],[/^ring-offset-(?:width-|size-)?(.+)$/,([,t])=>({"--un-ring-offset-width":c.bracket.cssvar.px(t)})],[/^ring-(.+)$/,S("--un-ring-color","ring")],[/^ring-op(?:acity)?-?(.+)$/,([,t])=>({"--un-ring-opacity":c.bracket.percent(t)})],[/^ring-offset-(.+)$/,S("--un-ring-offset-color","ring-offset")],[/^ring-offset-op(?:acity)?-?(.+)$/,([,t])=>({"--un-ring-offset-opacity":c.bracket.percent(t)})],["ring-inset",{"--un-ring-inset":"inset"}]];var ho={h:"height",w:"width",inline:"inline-size",block:"block-size"};function ut(t,e){return`${t||""}${ho[e]}`}function Sr(t,e,r,n){var s;let o=ut(t,e).replace(/-(\w)/g,(i,l)=>l.toUpperCase()),a=(s=r[o])==null?void 0:s[n];if(a!=null)return a;switch(n){case"fit":case"max":case"min":return`${n}-content`}return c.bracket.cssvar.auto.fraction.rem(n)}var Cr=[[/^(min-|max-)?([wh])-(.+)$/,([,t,e,r],{theme:n})=>({[ut(t,e)]:Sr(t,e,n,r)})],[/^(min-|max-)?(block|inline)-(.+)$/,([,t,e,r],{theme:n})=>({[ut(t,e)]:Sr(t,e,n,r)})],[/^(min-|max-)?(h)-screen-(.+)$/,([,t,e,r],{theme:n})=>{var o;return{[ut(t,e)]:(o=n.verticalBreakpoints)==null?void 0:o[r]}}],[/^(min-|max-)?(w)-screen-(.+)$/,([,t,e,r],{theme:n})=>{var o;return{[ut(t,e)]:(o=n.breakpoints)==null?void 0:o[r]}}]];function xo(t){if(/^\d+\/\d+$/.test(t))return t;switch(t){case"square":return"1/1";case"video":return"16/9"}return c.bracket.cssvar.auto.number(t)}var Rr=[[/^aspect-(?:ratio-)?(.+)$/,([,t])=>({"aspect-ratio":xo(t)})]];var zr=[[/^pa?()-?(-?.+)$/,C("padding")],[/^p-?([xy])-?(-?.+)$/,C("padding")],[/^p-?([rltbse])-?(-?.+)$/,C("padding")],[/^p-(block|inline)-(-?.+)$/,C("padding")],[/^p-?([bi][se])-?(-?.+)$/,C("padding")]],jr=[[/^ma?()-?(-?.+)$/,C("margin")],[/^m-?([xy])-?(-?.+)$/,C("margin")],[/^m-?([rltbse])-?(-?.+)$/,C("margin")],[/^m-(block|inline)-(-?.+)$/,C("margin")],[/^m-?([bi][se])-?(-?.+)$/,C("margin")]];var yo={"--un-transform":["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(" ")},Tr={"--un-transform":["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(" ")},Z=z(w({"--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},Tr),{[A]:""}),Mr=[[/^(?:transform-)?origin-(.+)$/,([,t])=>{var e;return{"transform-origin":(e=D[t])!=null?e:c.bracket.cssvar(t)}}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,t])=>{let e=c.bracket.cssvar.px.numberWithUnit(t);if(e!=null)return{"-webkit-perspective":e,perspective:e}}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,t])=>{var r;let e=(r=c.bracket.cssvar(t))!=null?r:t.length>=3?D[t]:void 0;if(e!=null)return{"-webkit-perspective-origin":e,"perspective-origin":e}}],[/^(?:transform-)?translate-()(.+)$/,Er],[/^(?:transform-)?translate-([xyz])-(.+)$/,Er],[/^(?:transform-)?rotate-()(.+)$/,Ar],[/^(?:transform-)?rotate-([xyz])-(.+)$/,Ar],[/^(?:transform-)?skew-([xy])-(.+)$/,vo],[/^(?:transform-)?scale-()(.+)$/,Vr],[/^(?:transform-)?scale-([xyz])-(.+)$/,Vr],[/^(?:transform-)?preserve-3d$/,()=>({"transform-style":"preserve-3d"})],[/^(?:transform-)?preserve-flat$/,()=>({"transform-style":"flat"})],[/^transform$/,()=>[Z,{transform:"var(--un-transform)"}]],["transform-gpu",yo],["transform-cpu",Tr],["transform-none",{transform:"none"}]];function Er([,t,e]){let r=c.bracket.cssvar.fraction.rem(e);if(r!=null)return[Z,[...Ut[t].map(n=>[`--un-translate${n}`,r]),["transform","var(--un-transform)"]]]}function Vr([,t,e]){let r=c.bracket.cssvar.fraction.percent(e);if(r!=null)return[Z,[...Ut[t].map(n=>[`--un-scale${n}`,r]),["transform","var(--un-transform)"]]]}function Ar([,t="",e]){let r=c.bracket.cssvar.degree(e);if(r!=null)return t?[Z,{"--un-rotate":0,[`--un-rotate-${t}`]:r,transform:"var(--un-transform)"}]:[Z,{"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-rotate":r,transform:"var(--un-transform)"}]}function vo([,t,e]){let r=c.bracket.cssvar.degree(e);if(r!=null)return[Z,{[`--un-skew-${t}`]:r,transform:"var(--un-transform)"}]}var $o={backface:"backface-visibility",break:"word-break",case:"text-transform",content:"align-content",flex:"flex",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"},Or=[[/^(.+?)-(\$.+)$/,([,t,e])=>{let r=$o[t];if(r)return{[r]:c.cssvar(e)}}]],_r=[[/^\[([^:]+):(.+)\]$/,([,t,e])=>({[t]:c.bracket(`[${e}]`)})]];var Pr=[[/^(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}}
|
|
3
3
|
${e({animation:"__un_qm 0.5s ease-in-out alternate infinite"})}`}]];var Ur=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,t])=>({"text-decoration-line":t})],[/^(?:underline|decoration)-(?:size-)?(.+)$/,([,t])=>({"text-decoration-thickness":c.bracket.cssvar.px(t)})],[/^(?:underline|decoration)-(auto|from-font)$/,([,t])=>({"text-decoration-thickness":t})],[/^(?:underline|decoration)-(.+)$/,(t,e)=>{let r=S("text-decoration-color","line")(t,e);if(r)return w({"-webkit-text-decoration-color":r["text-decoration-color"]},r)}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,t])=>({"--un-line-opacity":c.bracket.percent(t)})],[/^(?:underline|decoration)-offset-(.+)$/,([,t])=>({"text-underline-offset":c.auto.bracket.cssvar.px(t)})],[/^(?:underline|decoration)-(solid|double|dotted|dashed|wavy|inherit|initial|revert|unset)$/,([,t])=>({"text-decoration-style":t})],["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];var Fr=[[/^fill-(.+)$/,S("fill","fill")],[/^fill-op(?:acity)?-?(.+)$/,([,t])=>({"--un-fill-opacity":c.bracket.percent(t)})],["fill-none",{fill:"none"}],[/^stroke-(?:width-|size-)?(.+)$/,([,t])=>({"stroke-width":c.bracket.cssvar.fraction.px.number(t)})],[/^stroke-dash-(.+)$/,([,t])=>({"stroke-dasharray":c.bracket.cssvar.number(t)})],[/^stroke-offset-(.+)$/,([,t])=>({"stroke-dashoffset":c.bracket.cssvar.px.numberWithUnit(t)})],[/^stroke-(.+)$/,S("stroke","stroke")],[/^stroke-op(?:acity)?-?(.+)$/,([,t])=>({"--un-stroke-opacity":c.bracket.percent(t)})],["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"}]];var Bt={},Dr=(t,{theme:e})=>{let r=Object.entries(e.breakpoints||{}).map(([n,o],a)=>[n,o,a]);for(let[n,o,a]of r){Bt[n]||(Bt[n]=new RegExp(`^((?:[al]t-)?${n}[:-])`));let s=t.match(Bt[n]);if(!s)continue;let[,i]=s,l=t.slice(i.length);if(l==="container")continue;let f="min",d=1e3;return i.startsWith("lt-")?(f="max",d-=a+1):d+=a+1,i.startsWith("at-")&&a<r.length-1?{matcher:l,parent:[`@media (min-width: ${o}) and (max-width: ${r[a+1][1]})`,d]}:{matcher:l,parent:[`@media (${f}-width: ${o})`,d]}}};var H=(t,e,r)=>{let n=t?new RegExp(`^${e}(?:-\\[(.+?)\\])[:-]`):new RegExp(`^${e}(?:-\\[(.+?)\\])?[:-]`);return o=>{let a=o.match(n);if(a)return{matcher:o.slice(a[0].length),selector:s=>{var i;return r.replace("&&-s",s).replace("&&-c",(i=a[1])!=null?i:"*")}}}},Lr=[H(!1,"all","&&-s &&-c"),H(!1,"children","&&-s>&&-c"),H(!1,"next","&&-s+&&-c"),H(!1,"sibling","&&-s+&&-c"),H(!1,"siblings","&&-s~&&-c"),H(!0,"group","&&-c &&-s"),H(!0,"parent","&&-c>&&-s"),H(!0,"previous","&&-c+&&-s"),H(!0,"peer","&&-c~&&-s")];var Nr=P("print","@media print"),Hr=(t,{theme:e})=>{var n,o;let r=t.match(/^media-([_\d\w]+)[:-]/);if(r){let a=(o=(n=e.media)==null?void 0:n[r[1]])!=null?o:`(--${r[1]})`;return{matcher:t.slice(r[0].length),parent:`@media ${a}`}}};var Br=(t={})=>(t==null?void 0:t.dark)==="class"?[L("dark",e=>`.dark $$ ${e}`),L("light",e=>`.light $$ ${e}`)]:[P("dark","@media (prefers-color-scheme: dark)"),P("light","@media (prefers-color-scheme: light)")];var Wr=[L("rtl",t=>`[dir="rtl"] $$ ${t}`),L("ltr",t=>`[dir="ltr"] $$ ${t}`)];var Kr={match(t){let e=t.match(/^selector-\[(.+?)\][:-]/);if(e)return{matcher:t.slice(e[0].length),selector:()=>e[1]}}},Xr={match(t){let e=t.match(/^layer-([_\d\w]+)[:-]/);if(e)return{matcher:t.slice(e[0].length),layer:e[1]}}},Yr={match(t){let e=t.match(/^scope-([_\d\w]+)[:-]/);if(e)return{matcher:t.slice(e[0].length),selector:r=>`.${e[1]} $$ ${r}`}}},Gr={match(t){if(t.startsWith("!"))return{matcher:t.slice(1),body:e=>(e.forEach(r=>{r[1]&&(r[1]+=" !important")}),e)}}},Ir={match(t){if(t.startsWith("-"))return{matcher:t.slice(1),body:e=>(e.forEach(r=>{var n,o;r[0].startsWith("--un-scale")||((n=r[1])==null?void 0:n.toString())==="0"||(r[1]=(o=r[1])==null?void 0:o.toString().replace(/[0-9.]+(?:[a-z]+|%)?/,a=>`-${a}`))}),e)}}};var yt=Object.fromEntries(["any-link","link","visited","target",["open","[open]"],"hover","active","focus-visible","focus-within","focus","autofill","enabled","disabled","read-only","read-write","placeholder-shown","default","checked","indeterminate","valid","invalid","in-range","out-of-range","required","optional","root","empty",["even-of-type",":nth-of-type(even)"],["even",":nth-child(even)"],["odd-of-type",":nth-of-type(odd)"],["odd",":nth-child(odd)"],"first-of-type",["first",":first-child"],"last-of-type",["last",":last-child"],"only-child","only-of-type"].map(V)),qr=Object.fromEntries(["placeholder","before","after","first-letter","first-line","selection","marker",["file","::file-selector-button"]].map(V)),ko=["not","is","where","has"],wo=Object.keys(qr).join("|"),Wt=Object.keys(yt).join("|"),Zr=ko.join("|"),So=/(part-\[(.+)]:)(.+)/,Co=new RegExp(`^(${wo})[:-]`),Ro=new RegExp(`^(${Wt})[:-]`),zo=new RegExp(`^(${Zr})-(${Wt})[:-]`),Jr=t=>{if(t==="active")return 1},xt=(t,e,r)=>{let n=new RegExp(`^${t}-((?:(${Zr})-)?(${Wt}))[:-]`),o=new RegExp(`^${Q(e)}:`);return a=>{let s=a.match(n);if(s){let i=yt[s[3]]||`:${s[3]}`;return s[2]&&(i=`:${s[2]}(${i})`),{matcher:a.slice(s[0].length),selector:l=>o.test(l)?l.replace(o,`${e}${i}:`):`${e}${i}${r}${l}`,sort:Jr(s[3])}}}},Qr=t=>{let e=t.match(Co);if(e){let r=qr[e[1]]||`::${e[1]}`;return{matcher:t.slice(e[0].length),selector:n=>`${n}${r}`}}},tn={match:t=>{let e=t.match(Ro);if(e){let r=yt[e[1]]||`:${e[1]}`;return{matcher:t.slice(e[0].length),selector:n=>`${n}${r}`,sort:Jr(e[1])}}},multiPass:!0},en={match:t=>{let e=t.match(zo);if(e){let r=e[1],n=yt[e[2]]||`:${e[2]}`;return{matcher:t.slice(e[0].length),selector:o=>`${o}:${r}(${n})`}}},multiPass:!0},rn=(t={})=>{let e=!!(t==null?void 0:t.attributifyPseudo);return[{match:xt("group",e?'[group=""]':".group"," "),multiPass:!0},{match:xt("peer",e?'[peer=""]':".peer","~"),multiPass:!0},{match:xt("parent",e?'[parent=""]':".parent",">"),multiPass:!0},{match:xt("previous",e?'[previous=""]':".previous","+"),multiPass:!0}]},nn={match:t=>{let e=t.match(So);if(e){let r=`part(${e[2]})`;return{matcher:t.slice(e[1].length),selector:n=>`${n}::${r}`}}},multiPass:!0};var on=t=>[Kr,Xr,Ir,Gr,Nr,Hr,Dr,...Lr,tn,en,...rn(t),Qr,nn,...Br(t),...Wr,Yr];var jo=[[/^(?:animate-)?keyframes-(.+)$/,([,t],{theme:e,constructCSS:r})=>{var o,a;let n=(a=(o=e.animation)==null?void 0:o.keyframes)==null?void 0:a[t];if(n)return`@keyframes ${t}${n}
|
|
4
4
|
${r({animation:`${t}`})}`}],[/^animate-(.+)$/,([,t],{theme:e,constructCSS:r})=>{var o,a,s,i,l,f,d,x,u,h;let n=(a=(o=e.animation)==null?void 0:o.keyframes)==null?void 0:a[t];if(n){let E=(l=(i=(s=e.animation)==null?void 0:s.durations)==null?void 0:i[t])!=null?l:"1s",F=(x=(d=(f=e.animation)==null?void 0:f.timingFns)==null?void 0:d[t])!=null?x:"linear",k=(h=(u=e.animation)==null?void 0:u.properties)==null?void 0:h[t];return`@keyframes ${t}${n}
|
package/core.global.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(()=>{var gt=Object.defineProperty,mt=Object.defineProperties;var yt=Object.getOwnPropertyDescriptors;var j=Object.getOwnPropertySymbols;var N=Object.prototype.hasOwnProperty,Z=Object.prototype.propertyIsEnumerable;var W=(n,t,e)=>t in n?gt(n,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):n[t]=e,$=(n,t)=>{for(var e in t||(t={}))N.call(t,e)&&W(n,e,t[e]);if(j)for(var e of j(t))Z.call(t,e)&&W(n,e,t[e]);return n},V=(n,t)=>mt(n,yt(t));var J=(n,t)=>{var e={};for(var r in n)N.call(n,r)&&t.indexOf(r)<0&&(e[r]=n[r]);if(n!=null&&j)for(var r of j(n))t.indexOf(r)<0&&Z.call(n,r)&&(e[r]=n[r]);return e};function St(n){let t=n.length,e=-1,r,s="",o=n.charCodeAt(0);for(;++e<t;){if(r=n.charCodeAt(e),r===0){s+="\uFFFD";continue}if(r===44){s+="\\2c ";continue}if(r>=1&&r<=31||r===127||e===0&&r>=48&&r<=57||e===1&&r>=48&&r<=57&&o===45){s+=`\\${r.toString(16)} `;continue}if(e===0&&t===1&&r===45){s+=`\\${n.charAt(e)}`;continue}if(r>=128||r===45||r===95||r>=48&&r<=57||r>=65&&r<=90||r>=97&&r<=122){s+=n.charAt(e);continue}s+=`\\${n.charAt(e)}`}return s}var D=St;function P(n){return(Array.isArray(n)?n:Object.entries(n)).filter(t=>t[1]!=null)}function Q(n){return Array.isArray(n)?n.find(t=>!Array.isArray(t)||Array.isArray(t[0]))?n.map(t=>P(t)):[n]:[P(n)]}function xt(n){return n.filter(([t,e],r)=>{if(t.startsWith("$$"))return!1;for(let s=r-1;s>=0;s--)if(n[s][0]===t&&n[s][1]===e)return!1;return!0})}function K(n){return n==null?"":xt(n).map(([t,e])=>e!=null?`${t}:${e};`:void 0).filter(Boolean).join("")}function k(n){return n&&typeof n=="object"&&!Array.isArray(n)}function F(n,t){let e=n,r=t;if(Array.isArray(e)&&Array.isArray(r))return[...e,...r];if(Array.isArray(e))return[...e];let s=$({},e);return k(e)&&k(r)&&Object.keys(r).forEach(o=>{k(r[o])?o in e?s[o]=F(e[o],r[o]):Object.assign(s,{[o]:r[o]}):Object.assign(s,{[o]:r[o]})}),s}function M(n){let t,e,r;if(Array.isArray(n)){for(e=Array(t=n.length);t--;)e[t]=(r=n[t])&&typeof r=="object"?M(r):r;return e}if(Object.prototype.toString.call(n)==="[object Object]"){e={};for(t in n)t==="__proto__"?Object.defineProperty(e,t,{value:M(n[t]),configurable:!0,enumerable:!0,writable:!0}):e[t]=(r=n[t])&&typeof r=="object"?M(r):r;return e}return n}function X(n){return typeof n[0]=="string"}function Y(n){return typeof n[0]=="string"}function v(n=[]){return Array.isArray(n)?n:[n]}function L(n){return Array.from(new Set(n))}var Ct=/(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:%-?]/,z="$$shortcut-no-merge";function tt(n=""){return Ct.test(n)}function et(n){return typeof n=="function"?{match:n}:n}function B(n){return n.length===3}function rt(n){return n!=null}var G=class{_map=new Map;get(t,e){let r=this._map.get(t);if(r)return r.get(e)}getFallback(t,e,r){let s=this._map.get(t);return s||(s=new Map,this._map.set(t,s)),s.has(e)||s.set(e,r),s.get(e)}set(t,e,r){let s=this._map.get(t);return s||(s=new Map,this._map.set(t,s)),s.set(e,r),this}has(t,e){var r;return(r=this._map.get(t))==null?void 0:r.has(e)}delete(t,e){var r;return((r=this._map.get(t))==null?void 0:r.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(([s,o])=>t(o,e,s)))}};var bt=/([!\w+:_/-]+?)([:-])\(((?:[!\w\s:/\\,%#.$-]|\[.*?\])*?)\)/gm;function nt(n){let t=[],e;for(;e=bt.exec(n);){let s=e.index,o=s+e[0].length,[,a,i,c]=e,f=c.split(/\s/g).map(h=>h.replace(/^(!?)(.*)/,`$1${a}${i}$2`)).join(" ");t.unshift([s,o,f])}let r=n;return t.forEach(([s,o,a])=>{r=r.slice(0,s)+a+r.slice(o)}),r}var st=new Set;function it(n){st.has(n)||(console.warn("[unocss]",n),st.add(n))}var Rt=n=>n.split(/[\s'"`;>=]+/g).filter(tt),H={name:"split",order:0,extract({code:n}){return new Set(Rt(n))}};function Ut(n){return v(n).flatMap(t=>Array.isArray(t)?[t]:Object.entries(t))}var wt={shortcuts:-1,default:0};function I(n={},t={}){let e=Object.assign({},t,n),r=(e.presets||[]).flatMap(v),s=[...r.filter(l=>l.enforce==="pre"),...r.filter(l=>!l.enforce),...r.filter(l=>l.enforce==="post")],o=Object.assign(wt,...r.map(l=>l.layers),n.layers);function a(l){return L([...s.flatMap(y=>v(y[l]||[])),...v(e[l]||[])])}let i=a("extractors");i.length||i.push(H),i.sort((l,y)=>(l.order||0)-(y.order||0));let c=a("rules"),f={},h=c.length;c.forEach((l,y)=>{X(l)&&(f[l[0]]=[y,l[1],l[2]],delete c[y])});let x=M([...s.map(l=>l.theme||{}),e.theme||{}].reduce((l,y)=>F(l,y),{}));return a("extendTheme").forEach(l=>l(x)),V($({mergeSelectors:!0,warn:!0,blocklist:[],safelist:[],sortLayers:l=>l},e),{presets:s,envMode:e.envMode||"build",shortcutsLayer:e.shortcutsLayer||"shortcuts",layers:o,theme:x,rulesSize:h,rulesDynamic:c,rulesStaticMap:f,preprocess:a("preprocess"),postprocess:a("postprocess"),preflights:a("preflights"),variants:a("variants").map(et),shortcuts:Ut(a("shortcuts")),extractors:i})}var ot="0.25.
|
|
1
|
+
(()=>{var gt=Object.defineProperty,mt=Object.defineProperties;var yt=Object.getOwnPropertyDescriptors;var j=Object.getOwnPropertySymbols;var N=Object.prototype.hasOwnProperty,Z=Object.prototype.propertyIsEnumerable;var W=(n,t,e)=>t in n?gt(n,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):n[t]=e,$=(n,t)=>{for(var e in t||(t={}))N.call(t,e)&&W(n,e,t[e]);if(j)for(var e of j(t))Z.call(t,e)&&W(n,e,t[e]);return n},V=(n,t)=>mt(n,yt(t));var J=(n,t)=>{var e={};for(var r in n)N.call(n,r)&&t.indexOf(r)<0&&(e[r]=n[r]);if(n!=null&&j)for(var r of j(n))t.indexOf(r)<0&&Z.call(n,r)&&(e[r]=n[r]);return e};function St(n){let t=n.length,e=-1,r,s="",o=n.charCodeAt(0);for(;++e<t;){if(r=n.charCodeAt(e),r===0){s+="\uFFFD";continue}if(r===44){s+="\\2c ";continue}if(r>=1&&r<=31||r===127||e===0&&r>=48&&r<=57||e===1&&r>=48&&r<=57&&o===45){s+=`\\${r.toString(16)} `;continue}if(e===0&&t===1&&r===45){s+=`\\${n.charAt(e)}`;continue}if(r>=128||r===45||r===95||r>=48&&r<=57||r>=65&&r<=90||r>=97&&r<=122){s+=n.charAt(e);continue}s+=`\\${n.charAt(e)}`}return s}var D=St;function P(n){return(Array.isArray(n)?n:Object.entries(n)).filter(t=>t[1]!=null)}function Q(n){return Array.isArray(n)?n.find(t=>!Array.isArray(t)||Array.isArray(t[0]))?n.map(t=>P(t)):[n]:[P(n)]}function xt(n){return n.filter(([t,e],r)=>{if(t.startsWith("$$"))return!1;for(let s=r-1;s>=0;s--)if(n[s][0]===t&&n[s][1]===e)return!1;return!0})}function K(n){return n==null?"":xt(n).map(([t,e])=>e!=null?`${t}:${e};`:void 0).filter(Boolean).join("")}function k(n){return n&&typeof n=="object"&&!Array.isArray(n)}function F(n,t){let e=n,r=t;if(Array.isArray(e)&&Array.isArray(r))return[...e,...r];if(Array.isArray(e))return[...e];let s=$({},e);return k(e)&&k(r)&&Object.keys(r).forEach(o=>{k(r[o])?o in e?s[o]=F(e[o],r[o]):Object.assign(s,{[o]:r[o]}):Object.assign(s,{[o]:r[o]})}),s}function M(n){let t,e,r;if(Array.isArray(n)){for(e=Array(t=n.length);t--;)e[t]=(r=n[t])&&typeof r=="object"?M(r):r;return e}if(Object.prototype.toString.call(n)==="[object Object]"){e={};for(t in n)t==="__proto__"?Object.defineProperty(e,t,{value:M(n[t]),configurable:!0,enumerable:!0,writable:!0}):e[t]=(r=n[t])&&typeof r=="object"?M(r):r;return e}return n}function X(n){return typeof n[0]=="string"}function Y(n){return typeof n[0]=="string"}function v(n=[]){return Array.isArray(n)?n:[n]}function L(n){return Array.from(new Set(n))}var Ct=/(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:%-?]/,z="$$shortcut-no-merge";function tt(n=""){return Ct.test(n)}function et(n){return typeof n=="function"?{match:n}:n}function B(n){return n.length===3}function rt(n){return n!=null}var G=class{_map=new Map;get(t,e){let r=this._map.get(t);if(r)return r.get(e)}getFallback(t,e,r){let s=this._map.get(t);return s||(s=new Map,this._map.set(t,s)),s.has(e)||s.set(e,r),s.get(e)}set(t,e,r){let s=this._map.get(t);return s||(s=new Map,this._map.set(t,s)),s.set(e,r),this}has(t,e){var r;return(r=this._map.get(t))==null?void 0:r.has(e)}delete(t,e){var r;return((r=this._map.get(t))==null?void 0:r.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(([s,o])=>t(o,e,s)))}};var bt=/([!\w+:_/-]+?)([:-])\(((?:[!\w\s:/\\,%#.$-]|\[.*?\])*?)\)/gm;function nt(n){let t=[],e;for(;e=bt.exec(n);){let s=e.index,o=s+e[0].length,[,a,i,c]=e,f=c.split(/\s/g).map(h=>h.replace(/^(!?)(.*)/,`$1${a}${i}$2`)).join(" ");t.unshift([s,o,f])}let r=n;return t.forEach(([s,o,a])=>{r=r.slice(0,s)+a+r.slice(o)}),r}var st=new Set;function it(n){st.has(n)||(console.warn("[unocss]",n),st.add(n))}var Rt=n=>n.split(/[\s'"`;>=]+/g).filter(tt),H={name:"split",order:0,extract({code:n}){return new Set(Rt(n))}};function Ut(n){return v(n).flatMap(t=>Array.isArray(t)?[t]:Object.entries(t))}var wt={shortcuts:-1,default:0};function I(n={},t={}){let e=Object.assign({},t,n),r=(e.presets||[]).flatMap(v),s=[...r.filter(l=>l.enforce==="pre"),...r.filter(l=>!l.enforce),...r.filter(l=>l.enforce==="post")],o=Object.assign(wt,...r.map(l=>l.layers),n.layers);function a(l){return L([...s.flatMap(y=>v(y[l]||[])),...v(e[l]||[])])}let i=a("extractors");i.length||i.push(H),i.sort((l,y)=>(l.order||0)-(y.order||0));let c=a("rules"),f={},h=c.length;c.forEach((l,y)=>{X(l)&&(f[l[0]]=[y,l[1],l[2]],delete c[y])});let x=M([...s.map(l=>l.theme||{}),e.theme||{}].reduce((l,y)=>F(l,y),{}));return a("extendTheme").forEach(l=>l(x)),V($({mergeSelectors:!0,warn:!0,blocklist:[],safelist:[],sortLayers:l=>l},e),{presets:s,envMode:e.envMode||"build",shortcutsLayer:e.shortcutsLayer||"shortcuts",layers:o,theme:x,rulesSize:h,rulesDynamic:c,rulesStaticMap:f,preprocess:a("preprocess"),postprocess:a("postprocess"),preflights:a("preflights"),variants:a("variants").map(et),shortcuts:Ut(a("shortcuts")),extractors:i})}var ot="0.25.1";var ct=class{constructor(t={},e={}){this.userConfig=t;this.defaults=e;this.config=I(t,e)}version=ot;_cache=new Map;config;blocked=new Set;parentOrders=new Map;setConfig(t,e){!t||(e&&(this.defaults=e),this.userConfig=t,this.config=I(t,this.defaults),this.blocked.clear(),this.parentOrders.clear(),this._cache.clear())}async applyExtractors(t,e,r=new Set){let s={get original(){return t},code:t,id:e};for(let o of this.config.extractors){let a=await o.extract(s);a==null||a.forEach(i=>r.add(i))}return r}async parseToken(t){var a;if(this.blocked.has(t))return;if(this._cache.has(t))return this._cache.get(t);let e=t;for(let i of this.config.preprocess)e=i(t);if(this.isBlocked(e)){this.blocked.add(t),this._cache.set(t,null);return}let r=this.matchVariants(t,e);if(!r||this.isBlocked(r[1])){this.blocked.add(t),this._cache.set(t,null);return}let s={rawSelector:t,currentSelector:r[1],theme:this.config.theme,generator:this,variantHandlers:r[2],constructCSS:(...i)=>this.constructCustomCSS(s,...i)},o=this.expandShortcut(r[1],s);if(o){let i=await this.stringifyShortcuts(r,s,o[0],o[1]);if(i==null?void 0:i.length)return this._cache.set(t,i),i}else{let i=(a=await this.parseUtil(r,s))==null?void 0:a.map(c=>this.stringifyUtil(c)).filter(rt);if(i==null?void 0:i.length)return this._cache.set(t,i),i}this._cache.set(t,null)}async generate(t,{id:e,scope:r,preflights:s=!0,safelist:o=!0,minify:a=!1}={}){let i=typeof t=="string"?await this.applyExtractors(t,e):t;o&&this.config.safelist.forEach(u=>i.add(u));let c=a?"":`
|
|
2
2
|
`,f=new Set(["default"]),h=new Set,x=new Map;await Promise.all(Array.from(i).map(async u=>{var g;if(h.has(u))return;let d=await this.parseToken(u);if(d!=null){h.add(u);for(let S of d){let R=S[3]||"";x.has(R)||x.set(R,[]),x.get(R).push(S),((g=S[4])==null?void 0:g.layer)&&f.add(S[4].layer)}}})),s&&this.config.preflights.forEach(u=>{u.layer&&f.add(u.layer)});let l={},y=this.config.sortLayers(Array.from(f).sort((u,d)=>{var g,S;return((g=this.config.layers[u])!=null?g:0)-((S=this.config.layers[d])!=null?S:0)||u.localeCompare(d)})),U={};s&&(U=Object.fromEntries(await Promise.all(y.map(async u=>{let g=(await Promise.all(this.config.preflights.filter(S=>(S.layer||"default")===u).map(async S=>await S.getCSS()))).filter(Boolean).join(c);return[u,g]}))));let A=u=>{if(l[u])return l[u];let d=Array.from(x).sort((g,S)=>{var R,w,p;return((R=this.parentOrders.get(g[0]))!=null?R:0)-((w=this.parentOrders.get(S[0]))!=null?w:0)||((p=g[0])==null?void 0:p.localeCompare(S[0]||""))||0}).map(([g,S])=>{let R=S.length,w=S.filter(m=>{var b;return(((b=m[4])==null?void 0:b.layer)||"default")===u}).sort((m,b)=>{var T,_,E;return m[0]-b[0]||(((T=m[4])==null?void 0:T.sort)||0)-(((_=b[4])==null?void 0:_.sort)||0)||((E=m[1])==null?void 0:E.localeCompare(b[1]||""))||0}).map(m=>{var b;return[m[1]?$t(m[1],r):m[1],m[2],!!((b=m[4])==null?void 0:b.noMerge)]}).map(m=>[m[0]==null?m[0]:[m[0]],m[1],m[2]]);if(!w.length)return;let p=w.reverse().map(([m,b,T],_)=>{if(!T&&m&&this.config.mergeSelectors)for(let E=_+1;E<R;E++){let O=w[E];if(O&&!O[2]&&O[0]&&O[1]===b)return O[0].push(...m),null}return m?`${[...new Set(m)].join(`,${c}`)}{${b}}`:b}).filter(Boolean).reverse().join(c);return g?`${g}{${c}${p}${c}}`:p}).filter(Boolean).join(c);return s&&(d=[U[u],d].filter(Boolean).join(c)),l[u]=!a&&d?`/* layer: ${u} */${c}${d}`:d},C=(u=y,d)=>u.filter(g=>!(d==null?void 0:d.includes(g))).map(g=>A(g)||"").filter(Boolean).join(c);return{get css(){return C()},layers:y,getLayers:C,getLayer:A,matched:h}}matchVariants(t,e){let r=new Set,s=[],o=e||t,a=!1,i={rawSelector:t,theme:this.config.theme,generator:this};for(;;){a=!1;for(let c of this.config.variants){if(!c.multiPass&&r.has(c))continue;let f=c.match(o,i);if(!!f&&(typeof f=="string"&&(f={matcher:f}),f)){o=f.matcher,Array.isArray(f.parent)&&this.parentOrders.set(f.parent[0],f.parent[1]),s.push(f),r.add(c),a=!0;break}}if(!a)break;if(s.length>500)throw new Error(`Too many variants applied to "${t}"`)}return[t,o,s]}applyVariants(t,e=t[4],r=t[1]){let s=[...e].sort((i,c)=>(i.order||0)-(c.order||0)),o=s.reduce((i,c)=>{var f;return((f=c.body)==null?void 0:f.call(c,i))||i},t[2]),a={selector:s.reduce((i,c)=>{var f;return((f=c.selector)==null?void 0:f.call(c,i,o))||i},Tt(r)),entries:o,parent:s.reduce((i,c)=>Array.isArray(c.parent)?c.parent[0]:c.parent||i,void 0),layer:s.reduce((i,c)=>c.layer||i,void 0),sort:s.reduce((i,c)=>c.sort||i,void 0)};for(let i of this.config.postprocess)i(a);return a}constructCustomCSS(t,e,r){e=P(e);let{selector:s,entries:o,parent:a}=this.applyVariants([0,r||t.rawSelector,e,void 0,t.variantHandlers]),i=`${s}{${K(o)}}`;return a?`${a}{${i}}`:i}async parseUtil(t,e,r=!1){var h,x;let[s,o,a]=typeof t=="string"?this.matchVariants(t):t,i=this.config.rulesStaticMap[o];if(i&&i[1]&&(r||!((h=i[2])==null?void 0:h.internal)))return[[i[0],s,P(i[1]),i[2],a]];e.variantHandlers=a;let{rulesDynamic:c,rulesSize:f}=this.config;for(let l=f;l>=0;l--){let y=c[l];if(!y||((x=y[2])==null?void 0:x.internal)&&!r)continue;let[U,A,C]=y,u=o.match(U);if(!u)continue;let d=await A(u,e);if(!d)continue;if(typeof d=="string")return[[l,d,C]];let g=Q(d).filter(S=>S.length);if(g.length)return g.map(S=>[l,s,S,C,a])}}stringifyUtil(t){var l;if(!t)return;if(B(t))return[t[0],void 0,t[1],void 0,t[2]];let{selector:e,entries:r,parent:s,layer:o,sort:a}=this.applyVariants(t),i=K(r);if(!i)return;let y=(l=t[3])!=null?l:{},{layer:c,sort:f}=y,h=J(y,["layer","sort"]),x=V($({},h),{layer:o!=null?o:c,sort:a!=null?a:f});return[t[0],e,i,s,x]}expandShortcut(t,e,r=3){if(r===0)return;let s,o;for(let a of this.config.shortcuts)if(Y(a)){if(a[0]===t){s=s||a[2],o=a[1];break}}else{let i=t.match(a[0]);if(i&&(o=a[1](i,e)),o){s=s||a[2];break}}if(typeof o=="string"&&(o=nt(o).split(/\s+/g)),!!o)return[o.flatMap(a=>{var i;return((i=this.expandShortcut(a,e,r-1))==null?void 0:i[0])||[a]}).filter(a=>a!==""),s]}async stringifyShortcuts(t,e,r,s={layer:this.config.shortcutsLayer}){var f;let o=new G,a=(await Promise.all(L(r).map(async h=>{let x=await this.parseUtil(h,e,!0);return x||it(`unmatched utility "${h}" in shortcut "${t[1]}"`),x||[]}))).flat(1).filter(Boolean).sort((h,x)=>h[0]-x[0]),[i,,c]=t;for(let h of a){if(B(h))continue;let{selector:x,entries:l,parent:y,sort:U}=this.applyVariants(h,[...h[4],...c],i);o.getFallback(x,y,[[],h[0]])[0].push([l,!!((f=h[3])==null?void 0:f.noMerge),U!=null?U:0])}return o.map(([h,x],l,y)=>{let U=(C,u,d)=>{let g=Math.max(...d.map(R=>R[1])),S=d.map(R=>R[0]);return(C?[S.flat(1)]:S).map(R=>{let w=K(R);if(w)return[x,l,w,y,V($({},s),{noMerge:u,sort:g})]})};return[[h.filter(([,C])=>C).map(([C,,u])=>[C,u]),!0],[h.filter(([,C])=>!C).map(([C,,u])=>[C,u]),!1]].map(([C,u])=>[...U(!1,u,C.filter(([d])=>d.some(g=>g[0]===z))),...U(!0,u,C.filter(([d])=>d.every(g=>g[0]!==z)))])}).flat(2).filter(Boolean)}isBlocked(t){return!t||this.config.blocklist.some(e=>typeof e=="string"?e===t:e.test(t))}};function lt(n,t){return new ct(n,t)}var ut=/ \$\$ /,At=n=>n.match(ut);function $t(n,t){return At(n)?n.replace(ut,t?` ${t} `:" "):t?`${t} ${n}`:n}var at=/^\[(.+?)(~?=)"(.*)"\]$/;function Tt(n){return at.test(n)?n.replace(at,(t,e,r,s)=>`[${D(e)}${r}"${D(s)}"]`):`.${D(n)}`}var _t=n=>n.replace(/-(\w)/g,(t,e)=>e?e.toUpperCase():""),ft=n=>n.charAt(0).toUpperCase()+n.slice(1),pt=n=>n.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase(),dt=["Webkit","Moz","ms"];function ht(n){let t={};function e(r){let s=t[r];if(s)return s;let o=_t(r);if(o!=="filter"&&o in n)return t[r]=pt(o);o=ft(o);for(let a=0;a<dt.length;a++){let i=`${dt[a]}${o}`;if(i in n)return t[r]=pt(ft(i))}return r}return({entries:r})=>r.forEach(s=>{s[0].startsWith("--")||(s[0]=e(s[0]))})}function q(n={}){var R,w;if(typeof window>"u"){console.warn("@unocss/runtime been used in non-browser environment, skipped.");return}let t=window.__unocss||{},e=t==null?void 0:t.runtime,r=Object.assign(n.defaults||{},e);if(e==null?void 0:e.autoPrefix){let p=r.postprocess;p||(p=[]),Array.isArray(p)||(p=[p]),p.unshift(ht(document.createElement("div").style)),r.postprocess=p}(R=e==null?void 0:e.configResolved)==null||R.call(e,t,r);let s,o=!0,a,i=lt(t,r),c=new Set,f,h=[],x=()=>new Promise(p=>{h.push(p),f!=null&&clearTimeout(f),f=setTimeout(()=>l().then(()=>{let m=h;h=[],m.forEach(b=>b())}),0)});async function l(){let p=await i.generate(c);s||(s=document.createElement("style"),document.documentElement.prepend(s)),s.innerHTML=p.css}async function y(p){await i.applyExtractors(p,void 0,c),await x()}async function U(){let p=document.body&&document.body.outerHTML;p&&await y(p)}let A=new MutationObserver(p=>{o||p.forEach(m=>{let b=m.target;if(b===s||a&&!a(b))return;let T=Array.from(b.attributes).map(E=>E.value?`${E.name}="${E.value}"`:E.name).join(" "),_=`<${b.tagName.toLowerCase()} ${T}>`;y(_)})}),C=!1;function u(){if(!C)return;let p=document.documentElement||document.body;!p||(A.observe(p,{childList:!0,subtree:!0,attributes:!0}),C=!0)}function d(){U(),u()}function g(){d(),window.addEventListener("load",d),window.addEventListener("DOMContentLoaded",d)}let S=window.__unocss_runtime=window.__unocss_runtime={version:i.version,uno:i,async extract(p){if(typeof p=="string")return await y(p);p.forEach(m=>c.add(m)),await l()},extractAll:U,inspect(p){a=p},toggleObserver(p){p===void 0?o=!o:o=!!p,!C&&!o&&g()}};((w=e==null?void 0:e.ready)==null?void 0:w.call(e,S))!==!1&&(o=!1,g())}q();})();
|
package/full.global.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(()=>{var Zt=Object.defineProperty,Vn=Object.defineProperties;var Tn=Object.getOwnPropertyDescriptors;var mt=Object.getOwnPropertySymbols;var Jt=Object.prototype.hasOwnProperty,Qt=Object.prototype.propertyIsEnumerable;var qt=(t,e,r)=>e in t?Zt(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,w=(t,e)=>{for(var r in e||(e={}))Jt.call(e,r)&&qt(t,r,e[r]);if(mt)for(var r of mt(e))Qt.call(e,r)&&qt(t,r,e[r]);return t},E=(t,e)=>Vn(t,Tn(e));var te=(t,e)=>{var r={};for(var n in t)Jt.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&mt)for(var n of mt(t))e.indexOf(n)<0&&Qt.call(t,n)&&(r[n]=t[n]);return r};var An=(t,e)=>{for(var r in e)Zt(t,r,{get:e[r],enumerable:!0})};function Q(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function wt(t){let e=t.length,r=-1,n,o="",a=t.charCodeAt(0);for(;++r<e;){if(n=t.charCodeAt(r),n===0){o+="\uFFFD";continue}if(n===44){o+="\\2c ";continue}if(n>=1&&n<=31||n===127||r===0&&n>=48&&n<=57||r===1&&n>=48&&n<=57&&a===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 gt=wt;function et(t){return(Array.isArray(t)?t:Object.entries(t)).filter(e=>e[1]!=null)}function ee(t){return Array.isArray(t)?t.find(e=>!Array.isArray(e)||Array.isArray(e[0]))?t.map(e=>et(e)):[t]:[et(t)]}function Mn(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})}function bt(t){return t==null?"":Mn(t).map(([e,r])=>r!=null?`${e}:${r};`:void 0).filter(Boolean).join("")}function St(t){return t&&typeof t=="object"&&!Array.isArray(t)}function rt(t,e){let r=t,n=e;if(Array.isArray(r)&&Array.isArray(n))return[...r,...n];if(Array.isArray(r))return[...r];let o=w({},r);return St(r)&&St(n)&&Object.keys(n).forEach(a=>{St(n[a])?a in r?o[a]=rt(r[a],n[a]):Object.assign(o,{[a]:n[a]}):Object.assign(o,{[a]:n[a]})}),o}function tt(t){let e,r,n;if(Array.isArray(t)){for(r=Array(e=t.length);e--;)r[e]=(n=t[e])&&typeof n=="object"?tt(n):n;return r}if(Object.prototype.toString.call(t)==="[object Object]"){r={};for(e in t)e==="__proto__"?Object.defineProperty(r,e,{value:tt(t[e]),configurable:!0,enumerable:!0,writable:!0}):r[e]=(n=t[e])&&typeof n=="object"?tt(n):n;return r}return t}function re(t){return typeof t[0]=="string"}function ne(t){return typeof t[0]=="string"}function V(t=[]){return Array.isArray(t)?t:[t]}function ht(t){return Array.from(new Set(t))}var On=/^\[(.+?)~?="(.*)"\]$/,_n=/(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:%-?]/,O="$$shortcut-no-merge";function oe(t){return t.match(On)}function nt(t=""){return _n.test(t)}function ae(t){return typeof t=="function"?{match:t}:t}function Ct(t){return t.length===3}function ie(t){return t!=null}var Rt=class{_map=new Map;get(e,r){let n=this._map.get(e);if(n)return n.get(r)}getFallback(e,r,n){let o=this._map.get(e);return o||(o=new Map,this._map.set(e,o)),o.has(r)||o.set(r,n),o.get(r)}set(e,r,n){let o=this._map.get(e);return o||(o=new Map,this._map.set(e,o)),o.set(r,n),this}has(e,r){var n;return(n=this._map.get(e))==null?void 0:n.has(r)}delete(e,r){var n;return((n=this._map.get(e))==null?void 0:n.delete(r))||!1}deleteTop(e){return this._map.delete(e)}map(e){return Array.from(this._map.entries()).flatMap(([r,n])=>Array.from(n.entries()).map(([o,a])=>e(a,r,o)))}};var Un=/([!\w+:_/-]+?)([:-])\(((?:[!\w\s:/\\,%#.$-]|\[.*?\])*?)\)/gm;function se(t){let e=[],r;for(;r=Un.exec(t);){let o=r.index,a=o+r[0].length,[,s,i,l]=r,d=l.split(/\s/g).map(f=>f.replace(/^(!?)(.*)/,`$1${s}${i}$2`)).join(" ");e.unshift([o,a,d])}let n=t;return e.forEach(([o,a,s])=>{n=n.slice(0,o)+s+n.slice(a)}),n}var ce=new Set;function le(t){ce.has(t)||(console.warn("[unocss]",t),ce.add(t))}function fe(t){let e=function(n){var a;let o=((a=this.__options)==null?void 0:a.sequence)||[];this.__options.sequence=[];for(let s of o){let i=t[s](n);if(i!=null)return i}};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,get(){return r(this,n)}});return e}var Pn=t=>t.split(/[\s'"`;>=]+/g).filter(nt),ot={name:"split",order:0,extract({code:t}){return new Set(Pn(t))}};function Fn(t){return V(t).flatMap(e=>Array.isArray(e)?[e]:Object.entries(e))}var Dn={shortcuts:-1,default:0};function zt(t={},e={}){let r=Object.assign({},e,t),n=(r.presets||[]).flatMap(V),o=[...n.filter(u=>u.enforce==="pre"),...n.filter(u=>!u.enforce),...n.filter(u=>u.enforce==="post")],a=Object.assign(Dn,...n.map(u=>u.layers),t.layers);function s(u){return ht([...o.flatMap(h=>V(h[u]||[])),...V(r[u]||[])])}let i=s("extractors");i.length||i.push(ot),i.sort((u,h)=>(u.order||0)-(h.order||0));let l=s("rules"),d={},f=l.length;l.forEach((u,h)=>{re(u)&&(d[u[0]]=[h,u[1],u[2]],delete l[h])});let p=tt([...o.map(u=>u.theme||{}),r.theme||{}].reduce((u,h)=>rt(u,h),{}));return s("extendTheme").forEach(u=>u(p)),E(w({mergeSelectors:!0,warn:!0,blocklist:[],safelist:[],sortLayers:u=>u},r),{presets:o,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:a,theme:p,rulesSize:f,rulesDynamic:l,rulesStaticMap:d,preprocess:s("preprocess"),postprocess:s("postprocess"),preflights:s("preflights"),variants:s("variants").map(ae),shortcuts:Fn(s("shortcuts")),extractors:i})}var de="0.25.
|
|
1
|
+
(()=>{var Zt=Object.defineProperty,Vn=Object.defineProperties;var Tn=Object.getOwnPropertyDescriptors;var mt=Object.getOwnPropertySymbols;var Jt=Object.prototype.hasOwnProperty,Qt=Object.prototype.propertyIsEnumerable;var qt=(t,e,r)=>e in t?Zt(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,w=(t,e)=>{for(var r in e||(e={}))Jt.call(e,r)&&qt(t,r,e[r]);if(mt)for(var r of mt(e))Qt.call(e,r)&&qt(t,r,e[r]);return t},E=(t,e)=>Vn(t,Tn(e));var te=(t,e)=>{var r={};for(var n in t)Jt.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&mt)for(var n of mt(t))e.indexOf(n)<0&&Qt.call(t,n)&&(r[n]=t[n]);return r};var An=(t,e)=>{for(var r in e)Zt(t,r,{get:e[r],enumerable:!0})};function Q(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function wt(t){let e=t.length,r=-1,n,o="",a=t.charCodeAt(0);for(;++r<e;){if(n=t.charCodeAt(r),n===0){o+="\uFFFD";continue}if(n===44){o+="\\2c ";continue}if(n>=1&&n<=31||n===127||r===0&&n>=48&&n<=57||r===1&&n>=48&&n<=57&&a===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 gt=wt;function et(t){return(Array.isArray(t)?t:Object.entries(t)).filter(e=>e[1]!=null)}function ee(t){return Array.isArray(t)?t.find(e=>!Array.isArray(e)||Array.isArray(e[0]))?t.map(e=>et(e)):[t]:[et(t)]}function Mn(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})}function bt(t){return t==null?"":Mn(t).map(([e,r])=>r!=null?`${e}:${r};`:void 0).filter(Boolean).join("")}function St(t){return t&&typeof t=="object"&&!Array.isArray(t)}function rt(t,e){let r=t,n=e;if(Array.isArray(r)&&Array.isArray(n))return[...r,...n];if(Array.isArray(r))return[...r];let o=w({},r);return St(r)&&St(n)&&Object.keys(n).forEach(a=>{St(n[a])?a in r?o[a]=rt(r[a],n[a]):Object.assign(o,{[a]:n[a]}):Object.assign(o,{[a]:n[a]})}),o}function tt(t){let e,r,n;if(Array.isArray(t)){for(r=Array(e=t.length);e--;)r[e]=(n=t[e])&&typeof n=="object"?tt(n):n;return r}if(Object.prototype.toString.call(t)==="[object Object]"){r={};for(e in t)e==="__proto__"?Object.defineProperty(r,e,{value:tt(t[e]),configurable:!0,enumerable:!0,writable:!0}):r[e]=(n=t[e])&&typeof n=="object"?tt(n):n;return r}return t}function re(t){return typeof t[0]=="string"}function ne(t){return typeof t[0]=="string"}function V(t=[]){return Array.isArray(t)?t:[t]}function ht(t){return Array.from(new Set(t))}var On=/^\[(.+?)~?="(.*)"\]$/,_n=/(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:%-?]/,O="$$shortcut-no-merge";function oe(t){return t.match(On)}function nt(t=""){return _n.test(t)}function ae(t){return typeof t=="function"?{match:t}:t}function Ct(t){return t.length===3}function ie(t){return t!=null}var Rt=class{_map=new Map;get(e,r){let n=this._map.get(e);if(n)return n.get(r)}getFallback(e,r,n){let o=this._map.get(e);return o||(o=new Map,this._map.set(e,o)),o.has(r)||o.set(r,n),o.get(r)}set(e,r,n){let o=this._map.get(e);return o||(o=new Map,this._map.set(e,o)),o.set(r,n),this}has(e,r){var n;return(n=this._map.get(e))==null?void 0:n.has(r)}delete(e,r){var n;return((n=this._map.get(e))==null?void 0:n.delete(r))||!1}deleteTop(e){return this._map.delete(e)}map(e){return Array.from(this._map.entries()).flatMap(([r,n])=>Array.from(n.entries()).map(([o,a])=>e(a,r,o)))}};var Un=/([!\w+:_/-]+?)([:-])\(((?:[!\w\s:/\\,%#.$-]|\[.*?\])*?)\)/gm;function se(t){let e=[],r;for(;r=Un.exec(t);){let o=r.index,a=o+r[0].length,[,s,i,l]=r,d=l.split(/\s/g).map(f=>f.replace(/^(!?)(.*)/,`$1${s}${i}$2`)).join(" ");e.unshift([o,a,d])}let n=t;return e.forEach(([o,a,s])=>{n=n.slice(0,o)+s+n.slice(a)}),n}var ce=new Set;function le(t){ce.has(t)||(console.warn("[unocss]",t),ce.add(t))}function fe(t){let e=function(n){var a;let o=((a=this.__options)==null?void 0:a.sequence)||[];this.__options.sequence=[];for(let s of o){let i=t[s](n);if(i!=null)return i}};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,get(){return r(this,n)}});return e}var Pn=t=>t.split(/[\s'"`;>=]+/g).filter(nt),ot={name:"split",order:0,extract({code:t}){return new Set(Pn(t))}};function Fn(t){return V(t).flatMap(e=>Array.isArray(e)?[e]:Object.entries(e))}var Dn={shortcuts:-1,default:0};function zt(t={},e={}){let r=Object.assign({},e,t),n=(r.presets||[]).flatMap(V),o=[...n.filter(u=>u.enforce==="pre"),...n.filter(u=>!u.enforce),...n.filter(u=>u.enforce==="post")],a=Object.assign(Dn,...n.map(u=>u.layers),t.layers);function s(u){return ht([...o.flatMap(h=>V(h[u]||[])),...V(r[u]||[])])}let i=s("extractors");i.length||i.push(ot),i.sort((u,h)=>(u.order||0)-(h.order||0));let l=s("rules"),d={},f=l.length;l.forEach((u,h)=>{re(u)&&(d[u[0]]=[h,u[1],u[2]],delete l[h])});let p=tt([...o.map(u=>u.theme||{}),r.theme||{}].reduce((u,h)=>rt(u,h),{}));return s("extendTheme").forEach(u=>u(p)),E(w({mergeSelectors:!0,warn:!0,blocklist:[],safelist:[],sortLayers:u=>u},r),{presets:o,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:a,theme:p,rulesSize:f,rulesDynamic:l,rulesStaticMap:d,preprocess:s("preprocess"),postprocess:s("postprocess"),preflights:s("preflights"),variants:s("variants").map(ae),shortcuts:Fn(s("shortcuts")),extractors:i})}var de="0.25.1";var pe=class{constructor(e={},r={}){this.userConfig=e;this.defaults=r;this.config=zt(e,r)}version=de;_cache=new Map;config;blocked=new Set;parentOrders=new Map;setConfig(e,r){!e||(r&&(this.defaults=r),this.userConfig=e,this.config=zt(e,this.defaults),this.blocked.clear(),this.parentOrders.clear(),this._cache.clear())}async applyExtractors(e,r,n=new Set){let o={get original(){return e},code:e,id:r};for(let a of this.config.extractors){let s=await a.extract(o);s==null||s.forEach(i=>n.add(i))}return n}async parseToken(e){var s;if(this.blocked.has(e))return;if(this._cache.has(e))return this._cache.get(e);let r=e;for(let i of this.config.preprocess)r=i(e);if(this.isBlocked(r)){this.blocked.add(e),this._cache.set(e,null);return}let n=this.matchVariants(e,r);if(!n||this.isBlocked(n[1])){this.blocked.add(e),this._cache.set(e,null);return}let o={rawSelector:e,currentSelector:n[1],theme:this.config.theme,generator:this,variantHandlers:n[2],constructCSS:(...i)=>this.constructCustomCSS(o,...i)},a=this.expandShortcut(n[1],o);if(a){let i=await this.stringifyShortcuts(n,o,a[0],a[1]);if(i==null?void 0:i.length)return this._cache.set(e,i),i}else{let i=(s=await this.parseUtil(n,o))==null?void 0:s.map(l=>this.stringifyUtil(l)).filter(ie);if(i==null?void 0:i.length)return this._cache.set(e,i),i}this._cache.set(e,null)}async generate(e,{id:r,scope:n,preflights:o=!0,safelist:a=!0,minify:s=!1}={}){let i=typeof e=="string"?await this.applyExtractors(e,r):e;a&&this.config.safelist.forEach(m=>i.add(m));let l=s?"":`
|
|
2
2
|
`,d=new Set(["default"]),f=new Set,p=new Map;await Promise.all(Array.from(i).map(async m=>{var x;if(f.has(m))return;let b=await this.parseToken(m);if(b!=null){f.add(m);for(let k of b){let z=k[3]||"";p.has(z)||p.set(z,[]),p.get(z).push(k),((x=k[4])==null?void 0:x.layer)&&d.add(k[4].layer)}}})),o&&this.config.preflights.forEach(m=>{m.layer&&d.add(m.layer)});let u={},h=this.config.sortLayers(Array.from(d).sort((m,b)=>{var x,k;return((x=this.config.layers[m])!=null?x:0)-((k=this.config.layers[b])!=null?k:0)||m.localeCompare(b)})),j={};o&&(j=Object.fromEntries(await Promise.all(h.map(async m=>{let x=(await Promise.all(this.config.preflights.filter(k=>(k.layer||"default")===m).map(async k=>await k.getCSS()))).filter(Boolean).join(l);return[m,x]}))));let M=m=>{if(u[m])return u[m];let b=Array.from(p).sort((x,k)=>{var z,T,g;return((z=this.parentOrders.get(x[0]))!=null?z:0)-((T=this.parentOrders.get(k[0]))!=null?T:0)||((g=x[0])==null?void 0:g.localeCompare(k[0]||""))||0}).map(([x,k])=>{let z=k.length,T=k.filter(y=>{var C;return(((C=y[4])==null?void 0:C.layer)||"default")===m}).sort((y,C)=>{var B,H,A;return y[0]-C[0]||(((B=y[4])==null?void 0:B.sort)||0)-(((H=C[4])==null?void 0:H.sort)||0)||((A=y[1])==null?void 0:A.localeCompare(C[1]||""))||0}).map(y=>{var C;return[y[1]?Bn(y[1],n):y[1],y[2],!!((C=y[4])==null?void 0:C.noMerge)]}).map(y=>[y[0]==null?y[0]:[y[0]],y[1],y[2]]);if(!T.length)return;let g=T.reverse().map(([y,C,B],H)=>{if(!B&&y&&this.config.mergeSelectors)for(let A=H+1;A<z;A++){let X=T[A];if(X&&!X[2]&&X[0]&&X[1]===C)return X[0].push(...y),null}return y?`${[...new Set(y)].join(`,${l}`)}{${C}}`:C}).filter(Boolean).reverse().join(l);return x?`${x}{${l}${g}${l}}`:g}).filter(Boolean).join(l);return o&&(b=[j[m],b].filter(Boolean).join(l)),u[m]=!s&&b?`/* layer: ${m} */${l}${b}`:b},$=(m=h,b)=>m.filter(x=>!(b==null?void 0:b.includes(x))).map(x=>M(x)||"").filter(Boolean).join(l);return{get css(){return $()},layers:h,getLayers:$,getLayer:M,matched:f}}matchVariants(e,r){let n=new Set,o=[],a=r||e,s=!1,i={rawSelector:e,theme:this.config.theme,generator:this};for(;;){s=!1;for(let l of this.config.variants){if(!l.multiPass&&n.has(l))continue;let d=l.match(a,i);if(!!d&&(typeof d=="string"&&(d={matcher:d}),d)){a=d.matcher,Array.isArray(d.parent)&&this.parentOrders.set(d.parent[0],d.parent[1]),o.push(d),n.add(l),s=!0;break}}if(!s)break;if(o.length>500)throw new Error(`Too many variants applied to "${e}"`)}return[e,a,o]}applyVariants(e,r=e[4],n=e[1]){let o=[...r].sort((i,l)=>(i.order||0)-(l.order||0)),a=o.reduce((i,l)=>{var d;return((d=l.body)==null?void 0:d.call(l,i))||i},e[2]),s={selector:o.reduce((i,l)=>{var d;return((d=l.selector)==null?void 0:d.call(l,i,a))||i},Hn(n)),entries:a,parent:o.reduce((i,l)=>Array.isArray(l.parent)?l.parent[0]:l.parent||i,void 0),layer:o.reduce((i,l)=>l.layer||i,void 0),sort:o.reduce((i,l)=>l.sort||i,void 0)};for(let i of this.config.postprocess)i(s);return s}constructCustomCSS(e,r,n){r=et(r);let{selector:o,entries:a,parent:s}=this.applyVariants([0,n||e.rawSelector,r,void 0,e.variantHandlers]),i=`${o}{${bt(a)}}`;return s?`${s}{${i}}`:i}async parseUtil(e,r,n=!1){var f,p;let[o,a,s]=typeof e=="string"?this.matchVariants(e):e,i=this.config.rulesStaticMap[a];if(i&&i[1]&&(n||!((f=i[2])==null?void 0:f.internal)))return[[i[0],o,et(i[1]),i[2],s]];r.variantHandlers=s;let{rulesDynamic:l,rulesSize:d}=this.config;for(let u=d;u>=0;u--){let h=l[u];if(!h||((p=h[2])==null?void 0:p.internal)&&!n)continue;let[j,M,$]=h,m=a.match(j);if(!m)continue;let b=await M(m,r);if(!b)continue;if(typeof b=="string")return[[u,b,$]];let x=ee(b).filter(k=>k.length);if(x.length)return x.map(k=>[u,o,k,$,s])}}stringifyUtil(e){var u;if(!e)return;if(Ct(e))return[e[0],void 0,e[1],void 0,e[2]];let{selector:r,entries:n,parent:o,layer:a,sort:s}=this.applyVariants(e),i=bt(n);if(!i)return;let h=(u=e[3])!=null?u:{},{layer:l,sort:d}=h,f=te(h,["layer","sort"]),p=E(w({},f),{layer:a!=null?a:l,sort:s!=null?s:d});return[e[0],r,i,o,p]}expandShortcut(e,r,n=3){if(n===0)return;let o,a;for(let s of this.config.shortcuts)if(ne(s)){if(s[0]===e){o=o||s[2],a=s[1];break}}else{let i=e.match(s[0]);if(i&&(a=s[1](i,r)),a){o=o||s[2];break}}if(typeof a=="string"&&(a=se(a).split(/\s+/g)),!!a)return[a.flatMap(s=>{var i;return((i=this.expandShortcut(s,r,n-1))==null?void 0:i[0])||[s]}).filter(s=>s!==""),o]}async stringifyShortcuts(e,r,n,o={layer:this.config.shortcutsLayer}){var d;let a=new Rt,s=(await Promise.all(ht(n).map(async f=>{let p=await this.parseUtil(f,r,!0);return p||le(`unmatched utility "${f}" in shortcut "${e[1]}"`),p||[]}))).flat(1).filter(Boolean).sort((f,p)=>f[0]-p[0]),[i,,l]=e;for(let f of s){if(Ct(f))continue;let{selector:p,entries:u,parent:h,sort:j}=this.applyVariants(f,[...f[4],...l],i);a.getFallback(p,h,[[],f[0]])[0].push([u,!!((d=f[3])==null?void 0:d.noMerge),j!=null?j:0])}return a.map(([f,p],u,h)=>{let j=($,m,b)=>{let x=Math.max(...b.map(z=>z[1])),k=b.map(z=>z[0]);return($?[k.flat(1)]:k).map(z=>{let T=bt(z);if(T)return[p,u,T,h,E(w({},o),{noMerge:m,sort:x})]})};return[[f.filter(([,$])=>$).map(([$,,m])=>[$,m]),!0],[f.filter(([,$])=>!$).map(([$,,m])=>[$,m]),!1]].map(([$,m])=>[...j(!1,m,$.filter(([b])=>b.some(x=>x[0]===O))),...j(!0,m,$.filter(([b])=>b.every(x=>x[0]!==O)))])}).flat(2).filter(Boolean)}isBlocked(e){return!e||this.config.blocklist.some(r=>typeof r=="string"?r===e:r.test(e))}};function me(t,e){return new pe(t,e)}var ge=/ \$\$ /,Nn=t=>t.match(ge);function Bn(t,e){return Nn(t)?t.replace(ge,e?` ${e} `:" "):e?`${e} ${t}`:t}var ue=/^\[(.+?)(~?=)"(.*)"\]$/;function Hn(t){return ue.test(t)?t.replace(ue,(e,r,n,o)=>`[${gt(r)}${n}"${gt(o)}"]`):`.${gt(t)}`}var Wn=["v-bind:",":"],be=/[\s'"`;]+/g,Kn=/<\w[\w:\.$-]*\s((?:'[\s\S]*?'|"[\s\S]*?"|`[\s\S]*?`|\{[\s\S]*?\}|[\s\S]*?)*?)>/g,Xn=/([?]|(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:%-]+)(?:=(["'])([^\2]*?)\2)?/g,he=t=>{var n,o;let e=(n=t==null?void 0:t.ignoreAttributes)!=null?n:[],r=(o=t==null?void 0:t.nonValuedAttribute)!=null?o:!0;return{name:"attributify",extract({code:a}){let s=Array.from(a.matchAll(Kn)).flatMap(i=>Array.from((i[1]||"").matchAll(Xn))).flatMap(([,i,l,d])=>{if(e.includes(i))return[];for(let f of Wn)if(i.startsWith(f)){i=i.slice(f.length);break}return d?["class","className"].includes(i)?d.split(be).filter(nt):d.split(be).filter(Boolean).map(f=>`[${i}~="${f}"]`):nt(i)&&r!==!1?[`[${i}=""]`]:[]});return new Set(s)}}};var Yn=/^(?!\[(?:[^:]+):(?:.+)\]$)(.+:!?)?(.*)$/,xe=(t={})=>{var n,o;let e=(n=t.prefix)!=null?n:"un-",r=(o=t.prefixedOnly)!=null?o:!1;return a=>{let s=oe(a);if(!s)return;let i=s[1];if(i.startsWith(e))i=i.slice(e.length);else if(r)return;let l=s[2],[,d="",f=l]=l.match(Yn)||[];return f==="~"||!f?`${d}${i}`:`${d}${i}-${f}`}};var Gn=(t={})=>{var n,o,a,s,i;t.strict=(n=t.strict)!=null?n:!1,t.prefix=(o=t.prefix)!=null?o:"un-",t.prefixedOnly=(a=t.prefixedOnly)!=null?a:!1,t.nonValuedAttribute=(s=t.nonValuedAttribute)!=null?s:!0,t.ignoreAttributes=(i=t.ignoreAttributes)!=null?i:[];let e=[xe(t)],r=[he(t)];return t.strict||r.unshift(ot),{name:"@unocss/preset-attributify",variants:e,extractors:r,options:t}},ye=Gn;var jt={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"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827"},slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917"},light:{50:"#fdfdfd",100:"#fcfcfc",200:"#fafafa",300:"#f8f9fa",400:"#f6f6f6",500:"#f2f2f2",600:"#f1f3f5",700:"#e9ecef",800:"#dee2e6",900:"#dde1e3"},dark:{50:"#4a4a4a",100:"#3c3c3c",200:"#323232",300:"#2d2d2d",400:"#222222",500:"#1f1f1f",600:"#1c1c1e",700:"#1b1b1b",800:"#181818",900:"#0f0f0f"},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(jt).forEach(t=>{typeof t!="string"&&(t.DEFAULT=t.DEFAULT||t[400],Object.keys(t).forEach(e=>{let r=+e/100;r===Math.round(r)&&(t[r]=t[e])}))});var ve={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(",")},ke={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"]},$e={DEFAULT:"1.5rem",xs:"0.5rem",sm:"1rem",md:"1.5rem",lg:"2rem",xl:"2.5rem","2xl":"3rem","3xl":"4rem"},we={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},Se={DEFAULT:["0 0 1px rgba(0,0,0,0.2)","0 0 1px rgba(1,0,5,0.1)"],sm:"1px 1px 3px rgba(36,37,47,0.25)",md:["0 1px 2px rgba(30,29,39,0.19)","1px 2px 4px rgba(54,64,147,0.18)"],lg:["3px 3px 6px rgba(0,0,0,0.26)","0 0 5px rgba(15,3,86,0.22)"],xl:["1px 1px 3px rgba(0,0,0,0.29)","2px 4px 7px rgba(73,64,125,0.35)"],none:"0 0 #0000"},Ce={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},Tt={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},Re=Tt,At={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},ze=w({},At),je={DEFAULT:"0.25rem",none:"0px",sm:"0.125rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},Ee={DEFAULT:["var(--un-shadow-inset) 0 1px 3px 0 rgba(0,0,0,0.1)","var(--un-shadow-inset) 0 1px 2px -1px rgba(0,0,0,0.1)"],sm:"var(--un-shadow-inset) 0 1px 2px 0 rgba(0,0,0,0.05)",md:["var(--un-shadow-inset) 0 4px 6px -1px rgba(0,0,0,0.1)","var(--un-shadow-inset) 0 2px 4px -2px rgba(0,0,0,0.1)"],lg:["var(--un-shadow-inset) 0 10px 15px -3px rgba(0,0,0,0.1)","var(--un-shadow-inset) 0 4px 6px -4px rgba(0,0,0,0.1)"],xl:["var(--un-shadow-inset) 0 20px 25px -5px rgba(0,0,0,0.1)","var(--un-shadow-inset) 0 8px 10px -6px rgba(0,0,0,0.1)"],"2xl":"var(--un-shadow-inset) 0 25px 50px -12px rgba(0,0,0,0.25)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.05)",none:"0 0 #0000"},Ve={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)"},Te={DEFAULT:"8px","0":"0",sm:"4px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},Ae={DEFAULT:["0 1px 2px rgba(0,0,0,0.1)","0 1px 1px rgba(0,0,0,0.06)"],sm:"0 1px 1px rgba(0,0,0,0.05)",md:["0 4px 3px rgba(0,0,0,0.07)","0 2px 2px rgba(0,0,0,0.06)"],lg:["0 10px 8px rgba(0,0,0,0.04)","0 4px 3px rgba(0,0,0,0.1)"],xl:["0 20px 13px rgba(0,0,0,0.03)","0 8px 5px rgba(0,0,0,0.08)"],"2xl":"0 25px 25px rgba(0,0,0,0.15)",none:"0 0 #0000"},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"},Et=E(w({auto:"auto"},st),{screen:"100vw"}),at=E(w({none:"none"},st),{screen:"100vw"}),Vt=E(w({auto:"auto"},st),{screen:"100vh"}),it=E(w({none:"none"},st),{screen:"100vh"}),Mt={width:Et,height:Vt,maxWidth:at,maxHeight:it,minWidth:at,minHeight:it,inlineSize:Et,blockSize:Vt,maxInlineSize:at,maxBlockSize:it,minInlineSize:at,minBlockSize:it,colors:jt,fontFamily:ve,fontSize:ke,breakpoints:At,verticalBreakpoints:ze,borderRadius:je,lineHeight:Ce,letterSpacing:Tt,wordSpacing:Re,boxShadow:Ee,textIndent:$e,textShadow:Se,textStrokeWidth:we,blur:Te,dropShadow:Ae,easing:Ve};var In={mid:"middle",base:"baseline",btm:"bottom"},Me=[[/^(?:vertical|align|v)-(baseline|top|middle|bottom|text-top|text-bottom|sub|super|mid|base|btm)$/,([,t])=>({"vertical-align":In[t]||t})]],Oe=[["text-center",{"text-align":"center"}],["text-left",{"text-align":"left"}],["text-right",{"text-align":"right"}],["text-justify",{"text-align":"justify"}]];var Ot=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"];function I(t=""){let e=qn(t);if(e==null)return;let{type:r,components:n,alpha:o}=e,a=r.toLowerCase();if(n.length!==0&&!(["rgba","hsla"].includes(a)&&o===void 0)&&!(Ot.includes(a)&&n.length!==3))return{type:a,components:n,alpha:o}}function _(t,e){let{components:r}=t,{alpha:n,type:o}=t;return n=e!=null?e:n,o=o.toLowerCase(),["hsla","hsl","rgba","rgb"].includes(o)?`${o.replace("a","")}a(${r.join(",")}${n==null?"":`,${n}`})`:(n=n==null?"":` / ${n}`,Ot.includes(o)?`${o}(${r.join(" ")}${n})`:`color(${o} ${r.join(" ")}${n})`)}function qn(t){if(!t)return;let e=Zn(t);if(e!=null||(e=Jn(t),e!=null)||(e=Qn(t),e!=null)||(e=eo(t),e!=null)||(e=ro(t),e!=null))return e}function Zn(t){let[,e]=t.match(/^#([\da-f]+)$/i)||[];if(!!e)switch(e.length){case 3:case 4:let r=Array.from(e,o=>Number.parseInt(o,16)).map(o=>o<<4|o);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 n=Number.parseInt(e,16);return{type:"rgb",components:e.length===6?[n>>16&255,n>>8&255,n&255]:[n>>24&255,n>>16&255,n>>8&255],alpha:e.length===6?void 0:Math.round((n&255)/255*100)/100}}}function Jn(t){let e={rebeccapurple:[102,51,153,1]}[t];if(e!=null)return{type:"rgb",components:e.slice(0,3),alpha:e[3]}}function Qn(t){let e=t.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!e)return;let[,r,n]=e,o=ct(n,",",5);if(o&&[3,4].includes(o.length))return{type:r,components:o.slice(0,3),alpha:o[3]}}var to=new RegExp(`^(${Ot.join("|")})\\((.+)\\)$`,"i");function eo(t){let e=t.match(to);if(!e)return;let[,r,n]=e,o=_e(`${r} ${n}`);if(o){let{alpha:a,components:[s,...i]}=o;return{type:s,components:i,alpha:a}}}function ro(t){let e=t.match(/^color\((.+)\)$/);if(!e)return;let r=_e(e[1]);if(r){let{alpha:n,components:[o,...a]}=r;return{type:o,components:a,alpha:n}}}function _e(t){let e=ct(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 a=e.splice(r-2);e.push(a.join(" ")),--r}let n=ct(e[r-1],"/",3);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}}function no(t,e){if(t=t.trim(),t==="")return;let r=t.length,n=0;for(let o=0;o<r;o++)switch(t[o]){case"(":n++;break;case")":if(--n<0)return;break;case e:if(n===0){let a=t.slice(0,o).trim();return a===""?void 0:[a,t.slice(o+1).trim()]}}return[t,""]}function ct(t,e,r){if(e=e!=null?e:" ",e.length!==1)return;r=r!=null?r:10;let n=[],o=0;for(;t!=="";){if(++o>r)return;let a=no(t,e);if(!a)return;let[s,i]=a;n.push(s),t=i}if(n.length>0)return n}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=E(w({},U),{s:["-inset-inline-start"],e:["-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"]}),Ut={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"],is:["-end-start","-start-start"],ie:["-start-end","-end-end"],"bs-is":["-start-start"],"is-bs":["-start-start"],"bs-ie":["-start-end"],"ie-bs":["-start-end"],"be-is":["-end-start"],"is-be":["-end-start"],"be-ie":["-end-end"],"ie-be":["-end-end"]},Pt={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},Ue=["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"],D=Object.assign({},...Ue.map(t=>({[t.replace(/ /,"-")]:t})),...Ue.map(t=>({[t.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:t})));var Dt={};An(Dt,{auto:()=>so,bracket:()=>mo,cssvar:()=>go,degree:()=>ho,fraction:()=>po,global:()=>xo,number:()=>fo,numberWithUnit:()=>io,percent:()=>uo,properties:()=>yo,px:()=>lo,rem:()=>co,time:()=>bo});var oo=["color","border-color","background-color","flex-grow","flex","flex-shrink","caret-color","font","gap","opacity","visibility","z-index","font-weight","zoom","text-shadow","transform","box-shadow","backround-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"],Ft=/^(-?[0-9.]+)(px|pt|pc|rem|em|%|vh|vw|in|cm|mm|ex|ch|vmin|vmax|rpx)?$/i,ao=/^(-?[0-9.]+)$/i,Pe=/^(px)$/i;function P(t){return t.toFixed(10).replace(/\.0+$/,"").replace(/(\.\d+?)0+$/,"$1")}function io(t){let e=t.match(Ft);if(!e)return;let[,r,n]=e,o=parseFloat(r);if(n&&!Number.isNaN(o))return`${P(o)}${n}`}function so(t){if(t==="auto"||t==="a")return"auto"}function co(t){if(t.match(Pe))return`1${t}`;let e=t.match(Ft);if(!e)return;let[,r,n]=e,o=parseFloat(r);if(!Number.isNaN(o))return n?`${P(o)}${n}`:`${P(o/4)}rem`}function lo(t){if(t.match(Pe))return`1${t}`;let e=t.match(Ft);if(!e)return;let[,r,n]=e,o=parseFloat(r);if(!Number.isNaN(o))return n?`${P(o)}${n}`:`${P(o)}px`}function fo(t){if(!ao.test(t))return;let e=parseFloat(t);if(!Number.isNaN(e))return P(e)}function uo(t){t.endsWith("%")&&(t=t.slice(0,-1));let e=parseFloat(t);if(!Number.isNaN(e))return`${P(e/100)}`}function po(t){if(t==="full")return"100%";let[e,r]=t.split("/"),n=parseFloat(e)/parseFloat(r);if(!Number.isNaN(n))return`${P(n*100)}%`}function mo(t){if(t&&t[0]==="["&&t[t.length-1]==="]")return t.slice(1,-1).replace(/(url\(.*?\))/g,e=>e.replace(/_/g,"\\_")).replace(/([^\\])_/g,"$1 ").replace(/calc\((.*)/g,e=>e.replace(/(-?\d*\.?\d(?!\b-.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 "))}function go(t){if(t.match(/^\$\S/))return`var(--${wt(t.slice(1))})`}function bo(t){let e=t.match(/^(-?[0-9.]+)(s|ms)?$/i);if(!e)return;let[,r,n]=e,o=parseFloat(r);if(!Number.isNaN(o))return n?`${P(o)}${n}`:`${P(o)}ms`}function ho(t){let e=t.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);if(!e)return;let[,r,n]=e,o=parseFloat(r);if(!Number.isNaN(o))return n?`${P(o)}${n}`:`${P(o)}deg`}function xo(t){if(["inherit","initial","revert","unset"].includes(t))return t}function yo(t){for(let e of t.split(","))if(!oo.includes(e))return;return t}var c=fe(Dt);var L=(t,e)=>{let r=new RegExp(`^${Q(t)}[:-]`);return n=>{let o=n.match(r);if(o)return{matcher:n.slice(o[0].length),selector:e}}},F=(t,e)=>{let r=new RegExp(`^${Q(t)}[:-]`);return n=>{let o=n.match(r);if(o)return{matcher:n.slice(o[0].length),parent:e}}};var R=t=>([e,r,n])=>{let o=c.bracket.cssvar.auto.fraction.rem(n);if(o!==void 0)return U[r].map(a=>[`${t}${a}`,o])},Lt=(t,e)=>{var r;return(r=t.colors)==null?void 0:r[e.join("-").replace(/(-[a-z])/g,n=>n.slice(1).toUpperCase())]},G=(t,e)=>{let[r,n]=t.split(/(?:\/|:)/),o=r.replace(/([a-z])([0-9])/g,"$1-$2").split(/-/g),[a]=o;if(!a)return;let s,i=c.bracket(r),l=i||r;l.startsWith("#")?s=l:l.startsWith("hex-")?s=`#${l.slice(4)}`:r.startsWith("$")&&(s=c.cssvar(r)),s=s||i;let d="DEFAULT";if(!s){let f,[p]=o.slice(-1);p.match(/^\d+$/)?(d=p,f=Lt(e,o.slice(0,-1))):(f=Lt(e,o),!f&&o.length<=2&&([,d=d]=o,f=Lt(e,[a]))),typeof f=="string"?s=f:d&&f&&(s=f[d])}return{opacity:n,name:a,no:d,color:s,cssColor:I(s),alpha:c.bracket.cssvar.percent(n!=null?n:"")}},S=(t,e)=>([,r],{theme:n})=>{var l;let o=G(r,n);if(!o)return;let{alpha:a,color:s,cssColor:i}=o;if(i)return a!=null?{[t]:_(i,a)}:{[`--un-${e}-opacity`]:(l=i.alpha)!=null?l:1,[t]:_(i,`var(--un-${e}-opacity)`)};if(s)return{[t]:s.replace("%alpha",`${a!=null?a:1}`)}},q=(t,e)=>{let r=[];t=V(t);for(let n=0;n<t.length;n++){let o=ct(t[n]," ",6);if(!o||o.length<3)return t;let a=I(o.pop());if(a==null)return t;r.push(`${o.join(" ")} var(${e}, ${_(a)})`)}return r};var Fe=[[/^outline-(?:width-|size-)?(.+)$/,([,t])=>({"outline-width":c.bracket.cssvar.px(t)})],[/^outline-(?:color-)?(.+)$/,S("outline-color","outline-color")],[/^outline-offset-(.+)$/,([,t])=>({"outline-offset":c.bracket.cssvar.px(t)})],["outline",{"outline-style":"solid"}],[/^outline-(auto|dashed|dotted|double|hidden|solid|groove|ridge|inset|outset|inherit|initial|revert|unset)$/,([,t])=>({"outline-style":t})],["outline-none",{outline:"2px solid transparent","outline-offset":"2px"}]],De=[["appearance-none",{appearance:"none","-webkit-appearance":"none"}]],vo=t=>{var e;return(e=c.properties.auto.global(t))!=null?e:{contents:"contents",scroll:"scroll-position"}[t]},Le=[[/^will-change-(.+)/,([,t])=>({"will-change":vo(t)})]];var Ne=[[/^(?:border|b)()(?:-(.+))?$/,lt],[/^(?:border|b)-([xy])(?:-(.+))?$/,lt],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,lt],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,lt],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,lt],[/^(?:border|b)-()(?:width|size)-(.+)$/,Z],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,Z],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,Z],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,Z],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,Z],[/^(?:border|b)-()(?:color-)?(.+)$/,ft],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,ft],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,ft],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,ft],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,ft],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,dt],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,dt],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,dt],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,dt],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,dt],[/^(?:border-)?(?:rounded|rd)()(?:-(.+))?$/,ut],[/^(?:border-)?(?:rounded|rd)-([rltb])(?:-(.+))?$/,ut],[/^(?:border-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,ut],[/^(?:border-)?(?:rounded|rd)-([bi][se])(?:-(.+))?$/,ut],[/^(?:border-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,ut],["border-solid",{"border-style":"solid"}],["border-dashed",{"border-style":"dashed"}],["border-dotted",{"border-style":"dotted"}],["border-double",{"border-style":"double"}],["border-hidden",{"border-style":"hidden"}],["border-none",{"border-style":"none"}]],ko=(t,{theme:e})=>{var r;return t!==void 0&&!!((r=G(t,e))==null?void 0:r.color)},$o=t=>([,e],{theme:r})=>{var i,l;let n=G(e,r);if(!n)return;let{alpha:o,color:a,cssColor:s}=n;if(s)return o!=null?{[`border${t}-color`]:_(s,o)}:t===""?{"--un-border-opacity":(i=s.alpha)!=null?i:1,[`border${t}-color`]:_(s,`var(--un-border${t}-opacity)`)}:{"--un-border-opacity":(l=s.alpha)!=null?l:1,[`--un-border${t}-opacity`]:"var(--un-border-opacity)",[`border${t}-color`]:_(s,`var(--un-border${t}-opacity)`)};if(a)return{[`border${t}-color`]:a.replace("%alpha",`${o!=null?o:1}`)}};function lt(t){let e=Z(t);if(e)return[...e,["border-style","solid"]]}function Z([,t="",e="1"]){let r=c.bracket.cssvar.px(e);if(t in U&&r!=null)return U[t].map(n=>[`border${n}-width`,r])}function ft([,t="",e],r){if(t in U&&ko(e,r))return Object.assign({},...U[t].map(n=>$o(n)(["",e],r)))}function dt([,t="",e]){let r=c.bracket.percent(e);if(t in U&&r!=null)return U[t].map(n=>[`--un-border${n}-opacity`,r])}function ut([,t="",e="DEFAULT"],{theme:r}){var o;let n=((o=r.borderRadius)==null?void 0:o[e])||c.bracket.cssvar.fraction.rem(e);if(t in Ut&&n!=null)return Ut[t].map(a=>[`border${a}-radius`,n])}var Be=[[/^op(?:acity)?-?(.+)$/,([,t])=>({opacity:c.bracket.percent.cssvar(t)})]],He=[[/^(?:text|color|c)-(.+)$/,S("color","text")],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,t])=>({"--un-text-opacity":c.bracket.percent(t)})]],We=[[/^bg-(.+)$/,S("background-color","bg")],[/^bg-op(?:acity)?-?(.+)$/,([,t])=>({"--un-bg-opacity":c.bracket.percent(t)})]];var Xe={all:"all",colors:["color","background-color","border-color","text-decoration-color","fill","stroke"].join(","),none:"none",opacity:"opacity",shadow:"box-shadow",transform:"transform"},Ke=t=>{var e;return(e=c.properties(t))!=null?e:Xe[t]},Ye=[[/^transition(?:-([a-z-]+(?:,[a-z-]+)*))?(?:-(\d+))?$/,([,t,e="150"])=>{let r=t!=null?Ke(t):[Xe.colors,"opacity","box-shadow","transform","filter","backdrop-filter"].join(",");if(r)return{"transition-property":r,"transition-timing-function":"cubic-bezier(0.4, 0, 0.2, 1)","transition-duration":`${e}ms`}}],[/^(?:transition-)?duration-(.+)$/,([,t])=>({"transition-duration":c.bracket.cssvar.time(t)})],[/^(?:transition-)?delay-(.+)$/,([,t])=>({"transition-delay":c.bracket.cssvar.time(t)})],[/^(?:transition-)?ease(?:-(.+))?$/,([,t],{theme:e})=>{var r,n;return{"transition-timing-function":(n=(r=e.easing)==null?void 0:r[t||"DEFAULT"])!=null?n:c.bracket.cssvar(t)}}],[/^(?:transition-)?property-(.+)$/,([,t])=>({"transition-property":c.global(t)||Ke(t)})],["transition-none",{transition:"none"}]];var Ge=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],["flex-1",{flex:"1 1 0%"}],["flex-auto",{flex:"1 1 auto"}],["flex-initial",{flex:"0 1 auto"}],["flex-none",{flex:"none"}],[/^flex-(\[.+\])$/,([,t])=>({flex:c.bracket(t).replace(/\d+\/\d+/,e=>c.fraction(e))})],[/^(?:flex-)?shrink$/,()=>({"flex-shrink":1})],[/^(?:flex-)?shrink-0$/,()=>({"flex-shrink":0})],[/^(?:flex-)?grow$/,()=>({"flex-grow":1})],[/^(?:flex-)?grow-0$/,()=>({"flex-grow":0})],[/^(?:flex-)?basis-(.+)$/,([,t])=>({"flex-basis":c.bracket.cssvar.auto.fraction.rem(t)})],["flex-row",{"flex-direction":"row"}],["flex-row-reverse",{"flex-direction":"row-reverse"}],["flex-col",{"flex-direction":"column"}],["flex-col-reverse",{"flex-direction":"column-reverse"}],["flex-wrap",{"flex-wrap":"wrap"}],["flex-wrap-reverse",{"flex-wrap":"wrap-reverse"}],["flex-nowrap",{"flex-wrap":"nowrap"}]];var wo={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},Ie=[[/^font-(\w+)$/,([,t],{theme:e})=>{var r;return{"font-family":(r=e.fontFamily)==null?void 0:r[t]}}],[/^text-(.+)$/,([,t="base"],{theme:e})=>{var n;let r=V((n=e.fontSize)==null?void 0:n[t]);if(r==null?void 0:r[0]){let[o,a="1"]=r;return{"font-size":o,"line-height":a}}return{"font-size":c.bracket.rem(t)}}],[/^text-size-(.+)$/,([,t])=>({"font-size":c.bracket.cssvar.rem(t)})],[/^(?:font|fw)-?([^-]+)$/,([,t])=>({"font-weight":wo[t]||c.number(t)})],[/^(?:leading|lh)-(.+)$/,([,t],{theme:e})=>{var r;return{"line-height":((r=e.lineHeight)==null?void 0:r[t])||c.bracket.cssvar.rem(t)}}],[/^tracking-(.+)$/,([,t],{theme:e})=>{var r;return{"letter-spacing":((r=e.letterSpacing)==null?void 0:r[t])||c.bracket.cssvar.rem(t)}}],[/^word-spacing-(.+)$/,([,t],{theme:e})=>{var r;return{"word-spacing":((r=e.wordSpacing)==null?void 0:r[t])||c.bracket.cssvar.rem(t)}}]],qe=[[/^tab(?:-(.+))?$/,([,t])=>{let e=c.bracket.cssvar.global.number(t||"4");if(e!=null)return{"-moz-tab-size":e,"-o-tab-size":e,"tab-size":e}}]],Ze=[[/^indent(?:-(.+))?$/,([,t],{theme:e})=>{var r;return{"text-indent":((r=e.textIndent)==null?void 0:r[t||"DEFAULT"])||c.bracket.cssvar.fraction.rem(t)}}]],Je=[[/^text-stroke(?:-(.+))?$/,([,t],{theme:e})=>{var r;return{"-webkit-text-stroke-width":((r=e.textStrokeWidth)==null?void 0:r[t||"DEFAULT"])||c.bracket.cssvar.px(t)}}],[/^text-stroke-(.+)$/,S("-webkit-text-stroke-color","text-stroke")],[/^text-stroke-op(?:acity)?-?(.+)$/,([,t])=>({"--un-text-stroke-opacity":c.bracket.percent(t)})]],Qe=[[/^text-shadow(?:-(.+))?$/,([,t],{theme:e})=>{var n;let r=(n=e.textShadow)==null?void 0:n[t||"DEFAULT"];return r!=null?{"--un-text-shadow":q(r,"--un-text-shadow-color").join(","),"text-shadow":"var(--un-text-shadow)"}:{"text-shadow":c.bracket.cssvar(t)}}],[/^text-shadow-color-(.+)$/,S("--un-text-shadow-color","text-shadow")],[/^text-shadow-color-op(?:acity)?-?(.+)$/,([,t])=>({"--un-text-shadow-opacity":c.bracket.percent(t)})]];var tr={"":"",x:"column-",y:"row-"},er=([,t="",e])=>{let r=c.bracket.cssvar.rem(e);if(r!=null)return{[`grid-${tr[t]}gap`]:r,[`${tr[t]}gap`]:r}},rr=[[/^(?:flex-|grid-)?gap-()([^-]+)$/,er],[/^(?:flex-|grid-)?gap-([xy])-([^-]+)$/,er]];var N=t=>t.replace("col","column"),So=(t,e)=>{var n;let r=(n=e.fontSize)==null?void 0:n[t];if(r!=null)return V(r)[0];switch(t){case"min":return"min-content";case"max":return"max-content";case"fr":return"minmax(0,1fr)"}return c.bracket.cssvar.auto.rem(t)},nr=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,t,e])=>({[`grid-${N(t)}`]:c.bracket.cssvar.auto(e)})],[/^(?:grid-)?(row|col)-span-(.+)$/,([,t,e])=>{if(e==="full")return{[`grid-${N(t)}`]:"1/-1"};let r=c.bracket.number(e);if(r!=null)return{[`grid-${N(t)}`]:`span ${r}/span ${r}`}}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,t,e])=>{var r;return{[`grid-${N(t)}-start`]:(r=c.bracket.cssvar(e))!=null?r:e}}],[/^(?:grid-)?(row|col)-end-(.+)$/,([,t,e])=>{var r;return{[`grid-${N(t)}-end`]:(r=c.bracket.cssvar(e))!=null?r:e}}],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,t,e],{theme:r})=>({[`grid-auto-${N(t)}`]:So(e,r)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,t])=>({"grid-auto-flow":c.bracket.cssvar(t)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-((?:row|col)(?:-dense)?)$/,([,t])=>({"grid-auto-flow":N(t).replace("-"," ")})],[/^grid-(rows|cols)-(.+)$/,([,t,e])=>({[`grid-template-${N(t)}`]:c.bracket.cssvar(e)})],[/^grid-(rows|cols)-minmax-([\w.-]+)$/,([,t,e])=>({[`grid-template-${N(t)}`]:`repeat(auto-fill,minmax(${e},1fr))`})],[/^grid-(rows|cols)-(\d+)$/,([,t,e])=>({[`grid-template-${N(t)}`]:`repeat(${e},minmax(0,1fr))`})],["grid-rows-none",{"grid-template-rows":"none"}],["grid-cols-none",{"grid-template-columns":"none"}]];var or=["auto","hidden","clip","visible","scroll"],ar=[[/^(?:overflow|of)-(.+)$/,([,t])=>or.includes(t)?{overflow:t}:void 0],[/^(?:overflow|of)-([xy])-(.+)$/,([,t,e])=>or.includes(e)?{[`overflow-${t}`]:e}:void 0]];var ir=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,t])=>({position:t})],[/^(?:position-|pos-)?(static)$/,([,t])=>({position:t})]],sr=[["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-items-start",{"justify-items":"start"}],["justify-items-end",{"justify-items":"end"}],["justify-items-center",{"justify-items":"center"}],["justify-items-stretch",{"justify-items":"stretch"}],["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"}]],cr=[[/^order-(.+)$/,([,t])=>({order:c.bracket.cssvar.number(t)})],["order-first",{order:"-9999"}],["order-last",{order:"9999"}],["order-none",{order:"0"}]],lr=[["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"}],["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"}],["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"}]],fr=[["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-items-start",{"place-items":"start"}],["place-items-end",{"place-items":"end"}],["place-items-center",{"place-items":"center"}],["place-items-stretch",{"place-items":"stretch"}],["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"}]];function Nt(t){return c.bracket.cssvar.auto.fraction.rem(t)}function xt([,t,e]){let r=Nt(e);if(r!=null&&t in _t)return _t[t].map(n=>[n.slice(1),r])}var dr=[[/^(?:position-|pos-)?inset-(.+)$/,([,t])=>({inset:Nt(t)})],[/^(?: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])=>({[t]:Nt(e)})]],ur=[["float-left",{float:"left"}],["float-right",{float:"right"}],["float-none",{float:"none"}],["clear-left",{clear:"left"}],["clear-right",{clear:"right"}],["clear-both",{clear:"both"}],["clear-none",{clear:"none"}]],pr=[[/^z-(.+)$/,([,t])=>({"z-index":c.bracket.cssvar.auto.number(t)})]],mr=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}]];var v="var(--un-empty,/*!*/ /*!*/)",gr=[["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:c.bracket.cssvar(t)||t})]],br=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}]],hr=[[/^cursor-(.+)$/,([,t])=>({cursor:c.bracket.cssvar(t)||t})]],xr=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}]],yr=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}]],vr=[["select-auto",{"user-select":"auto"}],["select-all",{"user-select":"all"}],["select-text",{"user-select":"text"}],["select-none",{"user-select":"none"}]],kr=[[/^(?:whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap)$/,([,t])=>({"white-space":t})]],$r=[[/^content-\[(.+)\]$/,([,t])=>({content:`"${t}"`})],["content-empty",{content:'""'}],["content-none",{content:'""'}]],wr=[["break-normal",{"overflow-wrap":"normal","word-break":"normal"}],["break-words",{"overflow-wrap":"break-word"}],["break-all",{"word-break":"break-all"}]],Sr=[["truncate",{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}],["text-ellipsis",{"text-overflow":"ellipsis"}],["text-clip",{"text-overflow":"clip"}]];var Cr=[["italic",{"font-style":"italic"}],["not-italic",{"font-style":"normal"}]],Rr=[["antialiased",{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","font-smoothing":"grayscale"}],["subpixel-antialiased",{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto","font-smoothing":"auto"}]];var Bt={[O]:"","--un-ring-offset-shadow":"0 0 #0000","--un-ring-shadow":"0 0 #0000","--un-shadow-inset":v,"--un-shadow":"0 0 #0000"},zr=[[/^shadow(?:-(.+))?$/,([,t],{theme:e})=>{var n;let r=(n=e.boxShadow)==null?void 0:n[t||"DEFAULT"];if(r)return[Bt,{"--un-shadow":q(r,"--un-shadow-color").join(","),"box-shadow":"var(--un-ring-offset-shadow, 0 0 #0000), var(--un-ring-shadow, 0 0 #0000), var(--un-shadow)"}]}],[/^shadow-(.+)$/,S("--un-shadow-color","shadow")],[/^shadow-op(?:acity)?-?(.+)$/,([,t])=>({"--un-shadow-opacity":c.bracket.percent(t)})],["shadow-inset",{"--un-shadow-inset":"inset"}]];var Co=E(w({},Bt),{"--un-ring-inset":v,"--un-ring-offset-width":"0px","--un-ring-offset-color":"#fff","--un-ring-width":"0px","--un-ring-color":"rgba(147,197,253,0.5)"}),jr=[[/^ring(?:-(.+))?$/,([,t])=>{let e=c.px(t||"1");if(e)return[Co,{"--un-ring-width":e,"--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, 0 0 #0000)"}]}],[/^ring-(?:width-|size-)(.+)$/,([,t])=>({"--un-ring-width":c.bracket.cssvar.px(t)})],["ring-offset",{"--un-ring-offset-width":"1px"}],[/^ring-offset-(?:width-|size-)?(.+)$/,([,t])=>({"--un-ring-offset-width":c.bracket.cssvar.px(t)})],[/^ring-(.+)$/,S("--un-ring-color","ring")],[/^ring-op(?:acity)?-?(.+)$/,([,t])=>({"--un-ring-opacity":c.bracket.percent(t)})],[/^ring-offset-(.+)$/,S("--un-ring-offset-color","ring-offset")],[/^ring-offset-op(?:acity)?-?(.+)$/,([,t])=>({"--un-ring-offset-opacity":c.bracket.percent(t)})],["ring-inset",{"--un-ring-inset":"inset"}]];var Ro={h:"height",w:"width",inline:"inline-size",block:"block-size"};function pt(t,e){return`${t||""}${Ro[e]}`}function Er(t,e,r,n){var s;let o=pt(t,e).replace(/-(\w)/g,(i,l)=>l.toUpperCase()),a=(s=r[o])==null?void 0:s[n];if(a!=null)return a;switch(n){case"fit":case"max":case"min":return`${n}-content`}return c.bracket.cssvar.auto.fraction.rem(n)}var Vr=[[/^(min-|max-)?([wh])-(.+)$/,([,t,e,r],{theme:n})=>({[pt(t,e)]:Er(t,e,n,r)})],[/^(min-|max-)?(block|inline)-(.+)$/,([,t,e,r],{theme:n})=>({[pt(t,e)]:Er(t,e,n,r)})],[/^(min-|max-)?(h)-screen-(.+)$/,([,t,e,r],{theme:n})=>{var o;return{[pt(t,e)]:(o=n.verticalBreakpoints)==null?void 0:o[r]}}],[/^(min-|max-)?(w)-screen-(.+)$/,([,t,e,r],{theme:n})=>{var o;return{[pt(t,e)]:(o=n.breakpoints)==null?void 0:o[r]}}]];function zo(t){if(/^\d+\/\d+$/.test(t))return t;switch(t){case"square":return"1/1";case"video":return"16/9"}return c.bracket.cssvar.auto.number(t)}var Tr=[[/^aspect-(?:ratio-)?(.+)$/,([,t])=>({"aspect-ratio":zo(t)})]];var Ar=[[/^pa?()-?(-?.+)$/,R("padding")],[/^p-?([xy])-?(-?.+)$/,R("padding")],[/^p-?([rltbse])-?(-?.+)$/,R("padding")],[/^p-(block|inline)-(-?.+)$/,R("padding")],[/^p-?([bi][se])-?(-?.+)$/,R("padding")]],Mr=[[/^ma?()-?(-?.+)$/,R("margin")],[/^m-?([xy])-?(-?.+)$/,R("margin")],[/^m-?([rltbse])-?(-?.+)$/,R("margin")],[/^m-(block|inline)-(-?.+)$/,R("margin")],[/^m-?([bi][se])-?(-?.+)$/,R("margin")]];var jo={"--un-transform":["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(" ")},Pr={"--un-transform":["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(" ")},J=E(w({"--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},Pr),{[O]:""}),Fr=[[/^(?:transform-)?origin-(.+)$/,([,t])=>{var e;return{"transform-origin":(e=D[t])!=null?e:c.bracket.cssvar(t)}}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,t])=>{let e=c.bracket.cssvar.px.numberWithUnit(t);if(e!=null)return{"-webkit-perspective":e,perspective:e}}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,t])=>{var r;let e=(r=c.bracket.cssvar(t))!=null?r:t.length>=3?D[t]:void 0;if(e!=null)return{"-webkit-perspective-origin":e,"perspective-origin":e}}],[/^(?:transform-)?translate-()(.+)$/,Or],[/^(?:transform-)?translate-([xyz])-(.+)$/,Or],[/^(?:transform-)?rotate-()(.+)$/,Ur],[/^(?:transform-)?rotate-([xyz])-(.+)$/,Ur],[/^(?:transform-)?skew-([xy])-(.+)$/,Eo],[/^(?:transform-)?scale-()(.+)$/,_r],[/^(?:transform-)?scale-([xyz])-(.+)$/,_r],[/^(?:transform-)?preserve-3d$/,()=>({"transform-style":"preserve-3d"})],[/^(?:transform-)?preserve-flat$/,()=>({"transform-style":"flat"})],[/^transform$/,()=>[J,{transform:"var(--un-transform)"}]],["transform-gpu",jo],["transform-cpu",Pr],["transform-none",{transform:"none"}]];function Or([,t,e]){let r=c.bracket.cssvar.fraction.rem(e);if(r!=null)return[J,[...Pt[t].map(n=>[`--un-translate${n}`,r]),["transform","var(--un-transform)"]]]}function _r([,t,e]){let r=c.bracket.cssvar.fraction.percent(e);if(r!=null)return[J,[...Pt[t].map(n=>[`--un-scale${n}`,r]),["transform","var(--un-transform)"]]]}function Ur([,t="",e]){let r=c.bracket.cssvar.degree(e);if(r!=null)return t?[J,{"--un-rotate":0,[`--un-rotate-${t}`]:r,transform:"var(--un-transform)"}]:[J,{"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-rotate":r,transform:"var(--un-transform)"}]}function Eo([,t,e]){let r=c.bracket.cssvar.degree(e);if(r!=null)return[J,{[`--un-skew-${t}`]:r,transform:"var(--un-transform)"}]}var Vo={backface:"backface-visibility",break:"word-break",case:"text-transform",content:"align-content",flex:"flex",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"},Dr=[[/^(.+?)-(\$.+)$/,([,t,e])=>{let r=Vo[t];if(r)return{[r]:c.cssvar(e)}}]],Lr=[[/^\[([^:]+):(.+)\]$/,([,t,e])=>({[t]:c.bracket(`[${e}]`)})]];var Nr=[[/^(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}}
|
|
3
3
|
${e({animation:"__un_qm 0.5s ease-in-out alternate infinite"})}`}]];var Br=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,t])=>({"text-decoration-line":t})],[/^(?:underline|decoration)-(?:size-)?(.+)$/,([,t])=>({"text-decoration-thickness":c.bracket.cssvar.px(t)})],[/^(?:underline|decoration)-(auto|from-font)$/,([,t])=>({"text-decoration-thickness":t})],[/^(?:underline|decoration)-(.+)$/,(t,e)=>{let r=S("text-decoration-color","line")(t,e);if(r)return w({"-webkit-text-decoration-color":r["text-decoration-color"]},r)}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,t])=>({"--un-line-opacity":c.bracket.percent(t)})],[/^(?:underline|decoration)-offset-(.+)$/,([,t])=>({"text-underline-offset":c.auto.bracket.cssvar.px(t)})],[/^(?:underline|decoration)-(solid|double|dotted|dashed|wavy|inherit|initial|revert|unset)$/,([,t])=>({"text-decoration-style":t})],["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];var Hr=[[/^fill-(.+)$/,S("fill","fill")],[/^fill-op(?:acity)?-?(.+)$/,([,t])=>({"--un-fill-opacity":c.bracket.percent(t)})],["fill-none",{fill:"none"}],[/^stroke-(?:width-|size-)?(.+)$/,([,t])=>({"stroke-width":c.bracket.cssvar.fraction.px.number(t)})],[/^stroke-dash-(.+)$/,([,t])=>({"stroke-dasharray":c.bracket.cssvar.number(t)})],[/^stroke-offset-(.+)$/,([,t])=>({"stroke-dashoffset":c.bracket.cssvar.px.numberWithUnit(t)})],[/^stroke-(.+)$/,S("stroke","stroke")],[/^stroke-op(?:acity)?-?(.+)$/,([,t])=>({"--un-stroke-opacity":c.bracket.percent(t)})],["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"}]];var Ht={},Wr=(t,{theme:e})=>{let r=Object.entries(e.breakpoints||{}).map(([n,o],a)=>[n,o,a]);for(let[n,o,a]of r){Ht[n]||(Ht[n]=new RegExp(`^((?:[al]t-)?${n}[:-])`));let s=t.match(Ht[n]);if(!s)continue;let[,i]=s,l=t.slice(i.length);if(l==="container")continue;let d="min",f=1e3;return i.startsWith("lt-")?(d="max",f-=a+1):f+=a+1,i.startsWith("at-")&&a<r.length-1?{matcher:l,parent:[`@media (min-width: ${o}) and (max-width: ${r[a+1][1]})`,f]}:{matcher:l,parent:[`@media (${d}-width: ${o})`,f]}}};var W=(t,e,r)=>{let n=t?new RegExp(`^${e}(?:-\\[(.+?)\\])[:-]`):new RegExp(`^${e}(?:-\\[(.+?)\\])?[:-]`);return o=>{let a=o.match(n);if(a)return{matcher:o.slice(a[0].length),selector:s=>{var i;return r.replace("&&-s",s).replace("&&-c",(i=a[1])!=null?i:"*")}}}},Kr=[W(!1,"all","&&-s &&-c"),W(!1,"children","&&-s>&&-c"),W(!1,"next","&&-s+&&-c"),W(!1,"sibling","&&-s+&&-c"),W(!1,"siblings","&&-s~&&-c"),W(!0,"group","&&-c &&-s"),W(!0,"parent","&&-c>&&-s"),W(!0,"previous","&&-c+&&-s"),W(!0,"peer","&&-c~&&-s")];var Xr=F("print","@media print"),Yr=(t,{theme:e})=>{var n,o;let r=t.match(/^media-([_\d\w]+)[:-]/);if(r){let a=(o=(n=e.media)==null?void 0:n[r[1]])!=null?o:`(--${r[1]})`;return{matcher:t.slice(r[0].length),parent:`@media ${a}`}}};var Gr=(t={})=>(t==null?void 0:t.dark)==="class"?[L("dark",e=>`.dark $$ ${e}`),L("light",e=>`.light $$ ${e}`)]:[F("dark","@media (prefers-color-scheme: dark)"),F("light","@media (prefers-color-scheme: light)")];var Ir=[L("rtl",t=>`[dir="rtl"] $$ ${t}`),L("ltr",t=>`[dir="ltr"] $$ ${t}`)];var qr={match(t){let e=t.match(/^selector-\[(.+?)\][:-]/);if(e)return{matcher:t.slice(e[0].length),selector:()=>e[1]}}},Zr={match(t){let e=t.match(/^layer-([_\d\w]+)[:-]/);if(e)return{matcher:t.slice(e[0].length),layer:e[1]}}},Jr={match(t){let e=t.match(/^scope-([_\d\w]+)[:-]/);if(e)return{matcher:t.slice(e[0].length),selector:r=>`.${e[1]} $$ ${r}`}}},Qr={match(t){if(t.startsWith("!"))return{matcher:t.slice(1),body:e=>(e.forEach(r=>{r[1]&&(r[1]+=" !important")}),e)}}},tn={match(t){if(t.startsWith("-"))return{matcher:t.slice(1),body:e=>(e.forEach(r=>{var n,o;r[0].startsWith("--un-scale")||((n=r[1])==null?void 0:n.toString())==="0"||(r[1]=(o=r[1])==null?void 0:o.toString().replace(/[0-9.]+(?:[a-z]+|%)?/,a=>`-${a}`))}),e)}}};var vt=Object.fromEntries(["any-link","link","visited","target",["open","[open]"],"hover","active","focus-visible","focus-within","focus","autofill","enabled","disabled","read-only","read-write","placeholder-shown","default","checked","indeterminate","valid","invalid","in-range","out-of-range","required","optional","root","empty",["even-of-type",":nth-of-type(even)"],["even",":nth-child(even)"],["odd-of-type",":nth-of-type(odd)"],["odd",":nth-child(odd)"],"first-of-type",["first",":first-child"],"last-of-type",["last",":last-child"],"only-child","only-of-type"].map(V)),en=Object.fromEntries(["placeholder","before","after","first-letter","first-line","selection","marker",["file","::file-selector-button"]].map(V)),To=["not","is","where","has"],Ao=Object.keys(en).join("|"),Wt=Object.keys(vt).join("|"),rn=To.join("|"),Mo=/(part-\[(.+)]:)(.+)/,Oo=new RegExp(`^(${Ao})[:-]`),_o=new RegExp(`^(${Wt})[:-]`),Uo=new RegExp(`^(${rn})-(${Wt})[:-]`),nn=t=>{if(t==="active")return 1},yt=(t,e,r)=>{let n=new RegExp(`^${t}-((?:(${rn})-)?(${Wt}))[:-]`),o=new RegExp(`^${Q(e)}:`);return a=>{let s=a.match(n);if(s){let i=vt[s[3]]||`:${s[3]}`;return s[2]&&(i=`:${s[2]}(${i})`),{matcher:a.slice(s[0].length),selector:l=>o.test(l)?l.replace(o,`${e}${i}:`):`${e}${i}${r}${l}`,sort:nn(s[3])}}}},on=t=>{let e=t.match(Oo);if(e){let r=en[e[1]]||`::${e[1]}`;return{matcher:t.slice(e[0].length),selector:n=>`${n}${r}`}}},an={match:t=>{let e=t.match(_o);if(e){let r=vt[e[1]]||`:${e[1]}`;return{matcher:t.slice(e[0].length),selector:n=>`${n}${r}`,sort:nn(e[1])}}},multiPass:!0},sn={match:t=>{let e=t.match(Uo);if(e){let r=e[1],n=vt[e[2]]||`:${e[2]}`;return{matcher:t.slice(e[0].length),selector:o=>`${o}:${r}(${n})`}}},multiPass:!0},cn=(t={})=>{let e=!!(t==null?void 0:t.attributifyPseudo);return[{match:yt("group",e?'[group=""]':".group"," "),multiPass:!0},{match:yt("peer",e?'[peer=""]':".peer","~"),multiPass:!0},{match:yt("parent",e?'[parent=""]':".parent",">"),multiPass:!0},{match:yt("previous",e?'[previous=""]':".previous","+"),multiPass:!0}]},ln={match:t=>{let e=t.match(Mo);if(e){let r=`part(${e[2]})`;return{matcher:t.slice(e[1].length),selector:n=>`${n}::${r}`}}},multiPass:!0};var fn=t=>[qr,Zr,tn,Qr,Xr,Yr,Wr,...Kr,an,sn,...cn(t),on,ln,...Gr(t),...Ir,Jr];var Po=[[/^(?:animate-)?keyframes-(.+)$/,([,t],{theme:e,constructCSS:r})=>{var o,a;let n=(a=(o=e.animation)==null?void 0:o.keyframes)==null?void 0:a[t];if(n)return`@keyframes ${t}${n}
|
|
4
4
|
${r({animation:`${t}`})}`}],[/^animate-(.+)$/,([,t],{theme:e,constructCSS:r})=>{var o,a,s,i,l,d,f,p,u,h;let n=(a=(o=e.animation)==null?void 0:o.keyframes)==null?void 0:a[t];if(n){let j=(l=(i=(s=e.animation)==null?void 0:s.durations)==null?void 0:i[t])!=null?l:"1s",M=(p=(f=(d=e.animation)==null?void 0:d.timingFns)==null?void 0:f[t])!=null?p:"linear",$=(h=(u=e.animation)==null?void 0:u.properties)==null?void 0:h[t];return`@keyframes ${t}${n}
|
package/mini.global.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
(()=>{var Be=Object.defineProperty,fn=Object.defineProperties;var un=Object.getOwnPropertyDescriptors;var se=Object.getOwnPropertySymbols;var Ke=Object.prototype.hasOwnProperty,We=Object.prototype.propertyIsEnumerable;var Ne=(e,t,r)=>t in e?Be(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,v=(e,t)=>{for(var r in t||(t={}))Ke.call(t,r)&&Ne(e,r,t[r]);if(se)for(var r of se(t))We.call(t,r)&&Ne(e,r,t[r]);return e},R=(e,t)=>fn(e,un(t));var Ie=(e,t)=>{var r={};for(var n in e)Ke.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&se)for(var n of se(e))t.indexOf(n)<0&&We.call(e,n)&&(r[n]=e[n]);return r};var pn=(e,t)=>{for(var r in t)Be(e,r,{get:t[r],enumerable:!0})};var dn={mid:"middle",base:"baseline",btm:"bottom"},Ge=[[/^(?:vertical|align|v)-(baseline|top|middle|bottom|text-top|text-bottom|sub|super|mid|base|btm)$/,([,e])=>({"vertical-align":dn[e]||e})]],qe=[["text-center",{"text-align":"center"}],["text-left",{"text-align":"left"}],["text-right",{"text-align":"right"}],["text-justify",{"text-align":"justify"}]];var ge=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"];function xe(e=""){let t=mn(e);if(t==null)return;let{type:r,components:n,alpha:o}=t,s=r.toLowerCase();if(n.length!==0&&!(["rgba","hsla"].includes(s)&&o===void 0)&&!(ge.includes(s)&&n.length!==3))return{type:s,components:n,alpha:o}}function F(e,t){let{components:r}=e,{alpha:n,type:o}=e;return n=t!=null?t:n,o=o.toLowerCase(),["hsla","hsl","rgba","rgb"].includes(o)?`${o.replace("a","")}a(${r.join(",")}${n==null?"":`,${n}`})`:(n=n==null?"":` / ${n}`,ge.includes(o)?`${o}(${r.join(" ")}${n})`:`color(${o} ${r.join(" ")}${n})`)}function mn(e){if(!e)return;let t=hn(e);if(t!=null||(t=gn(e),t!=null)||(t=xn(e),t!=null)||(t=yn(e),t!=null)||(t=$n(e),t!=null))return t}function hn(e){let[,t]=e.match(/^#([\da-f]+)$/i)||[];if(!!t)switch(t.length){case 3:case 4:let r=Array.from(t,o=>Number.parseInt(o,16)).map(o=>o<<4|o);return{type:"rgb",components:r.slice(0,3),alpha:t.length===3?void 0:Math.round(r[3]/255*100)/100};case 6:case 8:let n=Number.parseInt(t,16);return{type:"rgb",components:t.length===6?[n>>16&255,n>>8&255,n&255]:[n>>24&255,n>>16&255,n>>8&255],alpha:t.length===6?void 0:Math.round((n&255)/255*100)/100}}}function gn(e){let t={rebeccapurple:[102,51,153,1]}[e];if(t!=null)return{type:"rgb",components:t.slice(0,3),alpha:t[3]}}function xn(e){let t=e.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!t)return;let[,r,n]=t,o=W(n,",",5);if(o&&[3,4].includes(o.length))return{type:r,components:o.slice(0,3),alpha:o[3]}}var bn=new RegExp(`^(${ge.join("|")})\\((.+)\\)$`,"i");function yn(e){let t=e.match(bn);if(!t)return;let[,r,n]=t,o=Ze(`${r} ${n}`);if(o){let{alpha:s,components:[a,...i]}=o;return{type:a,components:i,alpha:s}}}function $n(e){let t=e.match(/^color\((.+)\)$/);if(!t)return;let r=Ze(t[1]);if(r){let{alpha:n,components:[o,...s]}=r;return{type:o,components:s,alpha:n}}}function Ze(e){let t=W(e);if(!t)return;let r=t.length;if(t[r-2]==="/")return{components:t.slice(0,r-2),alpha:t[r-1]};if(t[r-2]!=null&&(t[r-2].endsWith("/")||t[r-1].startsWith("/"))){let s=t.splice(r-2);t.push(s.join(" ")),--r}let n=W(t[r-1],"/",3);if(!n)return;if(n.length===1||n[n.length-1]==="")return{components:t};let o=n.pop();return t[r-1]=n.join("/"),{components:t,alpha:o}}function wn(e,t){if(e=e.trim(),e==="")return;let r=e.length,n=0;for(let o=0;o<r;o++)switch(e[o]){case"(":n++;break;case")":if(--n<0)return;break;case t:if(n===0){let s=e.slice(0,o).trim();return s===""?void 0:[s,e.slice(o+1).trim()]}}return[e,""]}function W(e,t,r){if(t=t!=null?t:" ",t.length!==1)return;r=r!=null?r:10;let n=[],o=0;for(;e!=="";){if(++o>r)return;let s=wn(e,t);if(!s)return;let[a,i]=s;n.push(a),e=i}if(n.length>0)return n}var P={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"]},be=R(v({},P),{s:["-inset-inline-start"],e:["-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"]}),ye={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"],is:["-end-start","-start-start"],ie:["-start-end","-end-end"],"bs-is":["-start-start"],"is-bs":["-start-start"],"bs-ie":["-start-end"],"ie-bs":["-start-end"],"be-is":["-end-start"],"is-be":["-end-start"],"be-ie":["-end-end"],"ie-be":["-end-end"]},$e={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},Xe=["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"],we=Object.assign({},...Xe.map(e=>({[e.replace(/ /,"-")]:e})),...Xe.map(e=>({[e.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:e})));function I(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function ve(e){let t=e.length,r=-1,n,o="",s=e.charCodeAt(0);for(;++r<t;){if(n=e.charCodeAt(r),n===0){o+="\uFFFD";continue}if(n===44){o+="\\2c ";continue}if(n>=1&&n<=31||n===127||r===0&&n>=48&&n<=57||r===1&&n>=48&&n<=57&&s===45){o+=`\\${n.toString(16)} `;continue}if(r===0&&t===1&&n===45){o+=`\\${e.charAt(r)}`;continue}if(n>=128||n===45||n===95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){o+=e.charAt(r);continue}o+=`\\${e.charAt(r)}`}return o}var ie=ve;function q(e){return(Array.isArray(e)?e:Object.entries(e)).filter(t=>t[1]!=null)}function Ye(e){return Array.isArray(e)?e.find(t=>!Array.isArray(t)||Array.isArray(t[0]))?e.map(t=>q(t)):[e]:[q(e)]}function vn(e){return e.filter(([t,r],n)=>{if(t.startsWith("$$"))return!1;for(let o=n-1;o>=0;o--)if(e[o][0]===t&&e[o][1]===r)return!1;return!0})}function ae(e){return e==null?"":vn(e).map(([t,r])=>r!=null?`${t}:${r};`:void 0).filter(Boolean).join("")}function Se(e){return e&&typeof e=="object"&&!Array.isArray(e)}function ke(e,t){let r=e,n=t;if(Array.isArray(r)&&Array.isArray(n))return[...r,...n];if(Array.isArray(r))return[...r];let o=v({},r);return Se(r)&&Se(n)&&Object.keys(n).forEach(s=>{Se(n[s])?s in r?o[s]=ke(r[s],n[s]):Object.assign(o,{[s]:n[s]}):Object.assign(o,{[s]:n[s]})}),o}function G(e){let t,r,n;if(Array.isArray(e)){for(r=Array(t=e.length);t--;)r[t]=(n=e[t])&&typeof n=="object"?G(n):n;return r}if(Object.prototype.toString.call(e)==="[object Object]"){r={};for(t in e)t==="__proto__"?Object.defineProperty(r,t,{value:G(e[t]),configurable:!0,enumerable:!0,writable:!0}):r[t]=(n=e[t])&&typeof n=="object"?G(n):n;return r}return e}function Je(e){return typeof e[0]=="string"}function Qe(e){return typeof e[0]=="string"}function T(e=[]){return Array.isArray(e)?e:[e]}function ce(e){return Array.from(new Set(e))}var Sn=/^\[(.+?)~?="(.*)"\]$/,kn=/(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:%-?]/,_="$$shortcut-no-merge";function et(e){return e.match(Sn)}function Z(e=""){return kn.test(e)}function tt(e){return typeof e=="function"?{match:e}:e}function Ce(e){return e.length===3}function rt(e){return e!=null}var Re=class{_map=new Map;get(t,r){let n=this._map.get(t);if(n)return n.get(r)}getFallback(t,r,n){let o=this._map.get(t);return o||(o=new Map,this._map.set(t,o)),o.has(r)||o.set(r,n),o.get(r)}set(t,r,n){let o=this._map.get(t);return o||(o=new Map,this._map.set(t,o)),o.set(r,n),this}has(t,r){var n;return(n=this._map.get(t))==null?void 0:n.has(r)}delete(t,r){var n;return((n=this._map.get(t))==null?void 0:n.delete(r))||!1}deleteTop(t){return this._map.delete(t)}map(t){return Array.from(this._map.entries()).flatMap(([r,n])=>Array.from(n.entries()).map(([o,s])=>t(s,r,o)))}};var Cn=/([!\w+:_/-]+?)([:-])\(((?:[!\w\s:/\\,%#.$-]|\[.*?\])*?)\)/gm;function nt(e){let t=[],r;for(;r=Cn.exec(e);){let o=r.index,s=o+r[0].length,[,a,i,l]=r,f=l.split(/\s/g).map(u=>u.replace(/^(!?)(.*)/,`$1${a}${i}$2`)).join(" ");t.unshift([o,s,f])}let n=e;return t.forEach(([o,s,a])=>{n=n.slice(0,o)+a+n.slice(s)}),n}var ot=new Set;function st(e){ot.has(e)||(console.warn("[unocss]",e),ot.add(e))}function it(e){let t=function(n){var s;let o=((s=this.__options)==null?void 0:s.sequence)||[];this.__options.sequence=[];for(let a of o){let i=e[a](n);if(i!=null)return i}};function r(n,o){return n.__options||(n.__options={sequence:[]}),n.__options.sequence.push(o),n}for(let n of Object.keys(e))Object.defineProperty(t,n,{enumerable:!0,get(){return r(this,n)}});return t}var Rn=e=>e.split(/[\s'"`;>=]+/g).filter(Z),X={name:"split",order:0,extract({code:e}){return new Set(Rn(e))}};function En(e){return T(e).flatMap(t=>Array.isArray(t)?[t]:Object.entries(t))}var Tn={shortcuts:-1,default:0};function Ee(e={},t={}){let r=Object.assign({},t,e),n=(r.presets||[]).flatMap(T),o=[...n.filter(p=>p.enforce==="pre"),...n.filter(p=>!p.enforce),...n.filter(p=>p.enforce==="post")],s=Object.assign(Tn,...n.map(p=>p.layers),e.layers);function a(p){return ce([...o.flatMap(b=>T(b[p]||[])),...T(r[p]||[])])}let i=a("extractors");i.length||i.push(X),i.sort((p,b)=>(p.order||0)-(b.order||0));let l=a("rules"),f={},u=l.length;l.forEach((p,b)=>{Je(p)&&(f[p[0]]=[b,p[1],p[2]],delete l[b])});let y=G([...o.map(p=>p.theme||{}),r.theme||{}].reduce((p,b)=>ke(p,b),{}));return a("extendTheme").forEach(p=>p(y)),R(v({mergeSelectors:!0,warn:!0,blocklist:[],safelist:[],sortLayers:p=>p},r),{presets:o,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:s,theme:y,rulesSize:u,rulesDynamic:l,rulesStaticMap:f,preprocess:a("preprocess"),postprocess:a("postprocess"),preflights:a("preflights"),variants:a("variants").map(tt),shortcuts:En(a("shortcuts")),extractors:i})}var at="0.25.0";var lt=class{constructor(t={},r={}){this.userConfig=t;this.defaults=r;this.config=Ee(t,r)}version=at;_cache=new Map;config;blocked=new Set;parentOrders=new Map;setConfig(t,r){!t||(r&&(this.defaults=r),this.userConfig=t,this.config=Ee(t,this.defaults),this.blocked.clear(),this.parentOrders.clear(),this._cache.clear())}async applyExtractors(t,r,n=new Set){let o={get original(){return t},code:t,id:r};for(let s of this.config.extractors){let a=await s.extract(o);a==null||a.forEach(i=>n.add(i))}return n}async parseToken(t){var a;if(this.blocked.has(t))return;if(this._cache.has(t))return this._cache.get(t);let r=t;for(let i of this.config.preprocess)r=i(t);if(this.isBlocked(r)){this.blocked.add(t),this._cache.set(t,null);return}let n=this.matchVariants(t,r);if(!n||this.isBlocked(n[1])){this.blocked.add(t),this._cache.set(t,null);return}let o={rawSelector:t,currentSelector:n[1],theme:this.config.theme,generator:this,variantHandlers:n[2],constructCSS:(...i)=>this.constructCustomCSS(o,...i)},s=this.expandShortcut(n[1],o);if(s){let i=await this.stringifyShortcuts(n,o,s[0],s[1]);if(i==null?void 0:i.length)return this._cache.set(t,i),i}else{let i=(a=await this.parseUtil(n,o))==null?void 0:a.map(l=>this.stringifyUtil(l)).filter(rt);if(i==null?void 0:i.length)return this._cache.set(t,i),i}this._cache.set(t,null)}async generate(t,{id:r,scope:n,preflights:o=!0,safelist:s=!0,minify:a=!1}={}){let i=typeof t=="string"?await this.applyExtractors(t,r):t;s&&this.config.safelist.forEach(d=>i.add(d));let l=a?"":`
|
|
1
|
+
(()=>{var Be=Object.defineProperty,fn=Object.defineProperties;var un=Object.getOwnPropertyDescriptors;var se=Object.getOwnPropertySymbols;var Ke=Object.prototype.hasOwnProperty,We=Object.prototype.propertyIsEnumerable;var Ne=(e,t,r)=>t in e?Be(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,v=(e,t)=>{for(var r in t||(t={}))Ke.call(t,r)&&Ne(e,r,t[r]);if(se)for(var r of se(t))We.call(t,r)&&Ne(e,r,t[r]);return e},R=(e,t)=>fn(e,un(t));var Ie=(e,t)=>{var r={};for(var n in e)Ke.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&se)for(var n of se(e))t.indexOf(n)<0&&We.call(e,n)&&(r[n]=e[n]);return r};var pn=(e,t)=>{for(var r in t)Be(e,r,{get:t[r],enumerable:!0})};var dn={mid:"middle",base:"baseline",btm:"bottom"},Ge=[[/^(?:vertical|align|v)-(baseline|top|middle|bottom|text-top|text-bottom|sub|super|mid|base|btm)$/,([,e])=>({"vertical-align":dn[e]||e})]],qe=[["text-center",{"text-align":"center"}],["text-left",{"text-align":"left"}],["text-right",{"text-align":"right"}],["text-justify",{"text-align":"justify"}]];var ge=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"];function xe(e=""){let t=mn(e);if(t==null)return;let{type:r,components:n,alpha:o}=t,s=r.toLowerCase();if(n.length!==0&&!(["rgba","hsla"].includes(s)&&o===void 0)&&!(ge.includes(s)&&n.length!==3))return{type:s,components:n,alpha:o}}function F(e,t){let{components:r}=e,{alpha:n,type:o}=e;return n=t!=null?t:n,o=o.toLowerCase(),["hsla","hsl","rgba","rgb"].includes(o)?`${o.replace("a","")}a(${r.join(",")}${n==null?"":`,${n}`})`:(n=n==null?"":` / ${n}`,ge.includes(o)?`${o}(${r.join(" ")}${n})`:`color(${o} ${r.join(" ")}${n})`)}function mn(e){if(!e)return;let t=hn(e);if(t!=null||(t=gn(e),t!=null)||(t=xn(e),t!=null)||(t=yn(e),t!=null)||(t=$n(e),t!=null))return t}function hn(e){let[,t]=e.match(/^#([\da-f]+)$/i)||[];if(!!t)switch(t.length){case 3:case 4:let r=Array.from(t,o=>Number.parseInt(o,16)).map(o=>o<<4|o);return{type:"rgb",components:r.slice(0,3),alpha:t.length===3?void 0:Math.round(r[3]/255*100)/100};case 6:case 8:let n=Number.parseInt(t,16);return{type:"rgb",components:t.length===6?[n>>16&255,n>>8&255,n&255]:[n>>24&255,n>>16&255,n>>8&255],alpha:t.length===6?void 0:Math.round((n&255)/255*100)/100}}}function gn(e){let t={rebeccapurple:[102,51,153,1]}[e];if(t!=null)return{type:"rgb",components:t.slice(0,3),alpha:t[3]}}function xn(e){let t=e.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!t)return;let[,r,n]=t,o=W(n,",",5);if(o&&[3,4].includes(o.length))return{type:r,components:o.slice(0,3),alpha:o[3]}}var bn=new RegExp(`^(${ge.join("|")})\\((.+)\\)$`,"i");function yn(e){let t=e.match(bn);if(!t)return;let[,r,n]=t,o=Ze(`${r} ${n}`);if(o){let{alpha:s,components:[a,...i]}=o;return{type:a,components:i,alpha:s}}}function $n(e){let t=e.match(/^color\((.+)\)$/);if(!t)return;let r=Ze(t[1]);if(r){let{alpha:n,components:[o,...s]}=r;return{type:o,components:s,alpha:n}}}function Ze(e){let t=W(e);if(!t)return;let r=t.length;if(t[r-2]==="/")return{components:t.slice(0,r-2),alpha:t[r-1]};if(t[r-2]!=null&&(t[r-2].endsWith("/")||t[r-1].startsWith("/"))){let s=t.splice(r-2);t.push(s.join(" ")),--r}let n=W(t[r-1],"/",3);if(!n)return;if(n.length===1||n[n.length-1]==="")return{components:t};let o=n.pop();return t[r-1]=n.join("/"),{components:t,alpha:o}}function wn(e,t){if(e=e.trim(),e==="")return;let r=e.length,n=0;for(let o=0;o<r;o++)switch(e[o]){case"(":n++;break;case")":if(--n<0)return;break;case t:if(n===0){let s=e.slice(0,o).trim();return s===""?void 0:[s,e.slice(o+1).trim()]}}return[e,""]}function W(e,t,r){if(t=t!=null?t:" ",t.length!==1)return;r=r!=null?r:10;let n=[],o=0;for(;e!=="";){if(++o>r)return;let s=wn(e,t);if(!s)return;let[a,i]=s;n.push(a),e=i}if(n.length>0)return n}var P={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"]},be=R(v({},P),{s:["-inset-inline-start"],e:["-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"]}),ye={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"],is:["-end-start","-start-start"],ie:["-start-end","-end-end"],"bs-is":["-start-start"],"is-bs":["-start-start"],"bs-ie":["-start-end"],"ie-bs":["-start-end"],"be-is":["-end-start"],"is-be":["-end-start"],"be-ie":["-end-end"],"ie-be":["-end-end"]},$e={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},Xe=["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"],we=Object.assign({},...Xe.map(e=>({[e.replace(/ /,"-")]:e})),...Xe.map(e=>({[e.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:e})));function I(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function ve(e){let t=e.length,r=-1,n,o="",s=e.charCodeAt(0);for(;++r<t;){if(n=e.charCodeAt(r),n===0){o+="\uFFFD";continue}if(n===44){o+="\\2c ";continue}if(n>=1&&n<=31||n===127||r===0&&n>=48&&n<=57||r===1&&n>=48&&n<=57&&s===45){o+=`\\${n.toString(16)} `;continue}if(r===0&&t===1&&n===45){o+=`\\${e.charAt(r)}`;continue}if(n>=128||n===45||n===95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){o+=e.charAt(r);continue}o+=`\\${e.charAt(r)}`}return o}var ie=ve;function q(e){return(Array.isArray(e)?e:Object.entries(e)).filter(t=>t[1]!=null)}function Ye(e){return Array.isArray(e)?e.find(t=>!Array.isArray(t)||Array.isArray(t[0]))?e.map(t=>q(t)):[e]:[q(e)]}function vn(e){return e.filter(([t,r],n)=>{if(t.startsWith("$$"))return!1;for(let o=n-1;o>=0;o--)if(e[o][0]===t&&e[o][1]===r)return!1;return!0})}function ae(e){return e==null?"":vn(e).map(([t,r])=>r!=null?`${t}:${r};`:void 0).filter(Boolean).join("")}function Se(e){return e&&typeof e=="object"&&!Array.isArray(e)}function ke(e,t){let r=e,n=t;if(Array.isArray(r)&&Array.isArray(n))return[...r,...n];if(Array.isArray(r))return[...r];let o=v({},r);return Se(r)&&Se(n)&&Object.keys(n).forEach(s=>{Se(n[s])?s in r?o[s]=ke(r[s],n[s]):Object.assign(o,{[s]:n[s]}):Object.assign(o,{[s]:n[s]})}),o}function G(e){let t,r,n;if(Array.isArray(e)){for(r=Array(t=e.length);t--;)r[t]=(n=e[t])&&typeof n=="object"?G(n):n;return r}if(Object.prototype.toString.call(e)==="[object Object]"){r={};for(t in e)t==="__proto__"?Object.defineProperty(r,t,{value:G(e[t]),configurable:!0,enumerable:!0,writable:!0}):r[t]=(n=e[t])&&typeof n=="object"?G(n):n;return r}return e}function Je(e){return typeof e[0]=="string"}function Qe(e){return typeof e[0]=="string"}function T(e=[]){return Array.isArray(e)?e:[e]}function ce(e){return Array.from(new Set(e))}var Sn=/^\[(.+?)~?="(.*)"\]$/,kn=/(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:%-?]/,_="$$shortcut-no-merge";function et(e){return e.match(Sn)}function Z(e=""){return kn.test(e)}function tt(e){return typeof e=="function"?{match:e}:e}function Ce(e){return e.length===3}function rt(e){return e!=null}var Re=class{_map=new Map;get(t,r){let n=this._map.get(t);if(n)return n.get(r)}getFallback(t,r,n){let o=this._map.get(t);return o||(o=new Map,this._map.set(t,o)),o.has(r)||o.set(r,n),o.get(r)}set(t,r,n){let o=this._map.get(t);return o||(o=new Map,this._map.set(t,o)),o.set(r,n),this}has(t,r){var n;return(n=this._map.get(t))==null?void 0:n.has(r)}delete(t,r){var n;return((n=this._map.get(t))==null?void 0:n.delete(r))||!1}deleteTop(t){return this._map.delete(t)}map(t){return Array.from(this._map.entries()).flatMap(([r,n])=>Array.from(n.entries()).map(([o,s])=>t(s,r,o)))}};var Cn=/([!\w+:_/-]+?)([:-])\(((?:[!\w\s:/\\,%#.$-]|\[.*?\])*?)\)/gm;function nt(e){let t=[],r;for(;r=Cn.exec(e);){let o=r.index,s=o+r[0].length,[,a,i,l]=r,f=l.split(/\s/g).map(u=>u.replace(/^(!?)(.*)/,`$1${a}${i}$2`)).join(" ");t.unshift([o,s,f])}let n=e;return t.forEach(([o,s,a])=>{n=n.slice(0,o)+a+n.slice(s)}),n}var ot=new Set;function st(e){ot.has(e)||(console.warn("[unocss]",e),ot.add(e))}function it(e){let t=function(n){var s;let o=((s=this.__options)==null?void 0:s.sequence)||[];this.__options.sequence=[];for(let a of o){let i=e[a](n);if(i!=null)return i}};function r(n,o){return n.__options||(n.__options={sequence:[]}),n.__options.sequence.push(o),n}for(let n of Object.keys(e))Object.defineProperty(t,n,{enumerable:!0,get(){return r(this,n)}});return t}var Rn=e=>e.split(/[\s'"`;>=]+/g).filter(Z),X={name:"split",order:0,extract({code:e}){return new Set(Rn(e))}};function En(e){return T(e).flatMap(t=>Array.isArray(t)?[t]:Object.entries(t))}var Tn={shortcuts:-1,default:0};function Ee(e={},t={}){let r=Object.assign({},t,e),n=(r.presets||[]).flatMap(T),o=[...n.filter(p=>p.enforce==="pre"),...n.filter(p=>!p.enforce),...n.filter(p=>p.enforce==="post")],s=Object.assign(Tn,...n.map(p=>p.layers),e.layers);function a(p){return ce([...o.flatMap(b=>T(b[p]||[])),...T(r[p]||[])])}let i=a("extractors");i.length||i.push(X),i.sort((p,b)=>(p.order||0)-(b.order||0));let l=a("rules"),f={},u=l.length;l.forEach((p,b)=>{Je(p)&&(f[p[0]]=[b,p[1],p[2]],delete l[b])});let y=G([...o.map(p=>p.theme||{}),r.theme||{}].reduce((p,b)=>ke(p,b),{}));return a("extendTheme").forEach(p=>p(y)),R(v({mergeSelectors:!0,warn:!0,blocklist:[],safelist:[],sortLayers:p=>p},r),{presets:o,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:s,theme:y,rulesSize:u,rulesDynamic:l,rulesStaticMap:f,preprocess:a("preprocess"),postprocess:a("postprocess"),preflights:a("preflights"),variants:a("variants").map(tt),shortcuts:En(a("shortcuts")),extractors:i})}var at="0.25.1";var lt=class{constructor(t={},r={}){this.userConfig=t;this.defaults=r;this.config=Ee(t,r)}version=at;_cache=new Map;config;blocked=new Set;parentOrders=new Map;setConfig(t,r){!t||(r&&(this.defaults=r),this.userConfig=t,this.config=Ee(t,this.defaults),this.blocked.clear(),this.parentOrders.clear(),this._cache.clear())}async applyExtractors(t,r,n=new Set){let o={get original(){return t},code:t,id:r};for(let s of this.config.extractors){let a=await s.extract(o);a==null||a.forEach(i=>n.add(i))}return n}async parseToken(t){var a;if(this.blocked.has(t))return;if(this._cache.has(t))return this._cache.get(t);let r=t;for(let i of this.config.preprocess)r=i(t);if(this.isBlocked(r)){this.blocked.add(t),this._cache.set(t,null);return}let n=this.matchVariants(t,r);if(!n||this.isBlocked(n[1])){this.blocked.add(t),this._cache.set(t,null);return}let o={rawSelector:t,currentSelector:n[1],theme:this.config.theme,generator:this,variantHandlers:n[2],constructCSS:(...i)=>this.constructCustomCSS(o,...i)},s=this.expandShortcut(n[1],o);if(s){let i=await this.stringifyShortcuts(n,o,s[0],s[1]);if(i==null?void 0:i.length)return this._cache.set(t,i),i}else{let i=(a=await this.parseUtil(n,o))==null?void 0:a.map(l=>this.stringifyUtil(l)).filter(rt);if(i==null?void 0:i.length)return this._cache.set(t,i),i}this._cache.set(t,null)}async generate(t,{id:r,scope:n,preflights:o=!0,safelist:s=!0,minify:a=!1}={}){let i=typeof t=="string"?await this.applyExtractors(t,r):t;s&&this.config.safelist.forEach(d=>i.add(d));let l=a?"":`
|
|
2
2
|
`,f=new Set(["default"]),u=new Set,y=new Map;await Promise.all(Array.from(i).map(async d=>{var g;if(u.has(d))return;let h=await this.parseToken(d);if(h!=null){u.add(d);for(let $ of h){let C=$[3]||"";y.has(C)||y.set(C,[]),y.get(C).push($),((g=$[4])==null?void 0:g.layer)&&f.add($[4].layer)}}})),o&&this.config.preflights.forEach(d=>{d.layer&&f.add(d.layer)});let p={},b=this.config.sortLayers(Array.from(f).sort((d,h)=>{var g,$;return((g=this.config.layers[d])!=null?g:0)-(($=this.config.layers[h])!=null?$:0)||d.localeCompare(h)})),E={};o&&(E=Object.fromEntries(await Promise.all(b.map(async d=>{let g=(await Promise.all(this.config.preflights.filter($=>($.layer||"default")===d).map(async $=>await $.getCSS()))).filter(Boolean).join(l);return[d,g]}))));let U=d=>{if(p[d])return p[d];let h=Array.from(y).sort((g,$)=>{var C,j,m;return((C=this.parentOrders.get(g[0]))!=null?C:0)-((j=this.parentOrders.get($[0]))!=null?j:0)||((m=g[0])==null?void 0:m.localeCompare($[0]||""))||0}).map(([g,$])=>{let C=$.length,j=$.filter(x=>{var S;return(((S=x[4])==null?void 0:S.layer)||"default")===d}).sort((x,S)=>{var D,L,z;return x[0]-S[0]||(((D=x[4])==null?void 0:D.sort)||0)-(((L=S[4])==null?void 0:L.sort)||0)||((z=x[1])==null?void 0:z.localeCompare(S[1]||""))||0}).map(x=>{var S;return[x[1]?zn(x[1],n):x[1],x[2],!!((S=x[4])==null?void 0:S.noMerge)]}).map(x=>[x[0]==null?x[0]:[x[0]],x[1],x[2]]);if(!j.length)return;let m=j.reverse().map(([x,S,D],L)=>{if(!D&&x&&this.config.mergeSelectors)for(let z=L+1;z<C;z++){let K=j[z];if(K&&!K[2]&&K[0]&&K[1]===S)return K[0].push(...x),null}return x?`${[...new Set(x)].join(`,${l}`)}{${S}}`:S}).filter(Boolean).reverse().join(l);return g?`${g}{${l}${m}${l}}`:m}).filter(Boolean).join(l);return o&&(h=[E[d],h].filter(Boolean).join(l)),p[d]=!a&&h?`/* layer: ${d} */${l}${h}`:h},w=(d=b,h)=>d.filter(g=>!(h==null?void 0:h.includes(g))).map(g=>U(g)||"").filter(Boolean).join(l);return{get css(){return w()},layers:b,getLayers:w,getLayer:U,matched:u}}matchVariants(t,r){let n=new Set,o=[],s=r||t,a=!1,i={rawSelector:t,theme:this.config.theme,generator:this};for(;;){a=!1;for(let l of this.config.variants){if(!l.multiPass&&n.has(l))continue;let f=l.match(s,i);if(!!f&&(typeof f=="string"&&(f={matcher:f}),f)){s=f.matcher,Array.isArray(f.parent)&&this.parentOrders.set(f.parent[0],f.parent[1]),o.push(f),n.add(l),a=!0;break}}if(!a)break;if(o.length>500)throw new Error(`Too many variants applied to "${t}"`)}return[t,s,o]}applyVariants(t,r=t[4],n=t[1]){let o=[...r].sort((i,l)=>(i.order||0)-(l.order||0)),s=o.reduce((i,l)=>{var f;return((f=l.body)==null?void 0:f.call(l,i))||i},t[2]),a={selector:o.reduce((i,l)=>{var f;return((f=l.selector)==null?void 0:f.call(l,i,s))||i},An(n)),entries:s,parent:o.reduce((i,l)=>Array.isArray(l.parent)?l.parent[0]:l.parent||i,void 0),layer:o.reduce((i,l)=>l.layer||i,void 0),sort:o.reduce((i,l)=>l.sort||i,void 0)};for(let i of this.config.postprocess)i(a);return a}constructCustomCSS(t,r,n){r=q(r);let{selector:o,entries:s,parent:a}=this.applyVariants([0,n||t.rawSelector,r,void 0,t.variantHandlers]),i=`${o}{${ae(s)}}`;return a?`${a}{${i}}`:i}async parseUtil(t,r,n=!1){var u,y;let[o,s,a]=typeof t=="string"?this.matchVariants(t):t,i=this.config.rulesStaticMap[s];if(i&&i[1]&&(n||!((u=i[2])==null?void 0:u.internal)))return[[i[0],o,q(i[1]),i[2],a]];r.variantHandlers=a;let{rulesDynamic:l,rulesSize:f}=this.config;for(let p=f;p>=0;p--){let b=l[p];if(!b||((y=b[2])==null?void 0:y.internal)&&!n)continue;let[E,U,w]=b,d=s.match(E);if(!d)continue;let h=await U(d,r);if(!h)continue;if(typeof h=="string")return[[p,h,w]];let g=Ye(h).filter($=>$.length);if(g.length)return g.map($=>[p,o,$,w,a])}}stringifyUtil(t){var p;if(!t)return;if(Ce(t))return[t[0],void 0,t[1],void 0,t[2]];let{selector:r,entries:n,parent:o,layer:s,sort:a}=this.applyVariants(t),i=ae(n);if(!i)return;let b=(p=t[3])!=null?p:{},{layer:l,sort:f}=b,u=Ie(b,["layer","sort"]),y=R(v({},u),{layer:s!=null?s:l,sort:a!=null?a:f});return[t[0],r,i,o,y]}expandShortcut(t,r,n=3){if(n===0)return;let o,s;for(let a of this.config.shortcuts)if(Qe(a)){if(a[0]===t){o=o||a[2],s=a[1];break}}else{let i=t.match(a[0]);if(i&&(s=a[1](i,r)),s){o=o||a[2];break}}if(typeof s=="string"&&(s=nt(s).split(/\s+/g)),!!s)return[s.flatMap(a=>{var i;return((i=this.expandShortcut(a,r,n-1))==null?void 0:i[0])||[a]}).filter(a=>a!==""),o]}async stringifyShortcuts(t,r,n,o={layer:this.config.shortcutsLayer}){var f;let s=new Re,a=(await Promise.all(ce(n).map(async u=>{let y=await this.parseUtil(u,r,!0);return y||st(`unmatched utility "${u}" in shortcut "${t[1]}"`),y||[]}))).flat(1).filter(Boolean).sort((u,y)=>u[0]-y[0]),[i,,l]=t;for(let u of a){if(Ce(u))continue;let{selector:y,entries:p,parent:b,sort:E}=this.applyVariants(u,[...u[4],...l],i);s.getFallback(y,b,[[],u[0]])[0].push([p,!!((f=u[3])==null?void 0:f.noMerge),E!=null?E:0])}return s.map(([u,y],p,b)=>{let E=(w,d,h)=>{let g=Math.max(...h.map(C=>C[1])),$=h.map(C=>C[0]);return(w?[$.flat(1)]:$).map(C=>{let j=ae(C);if(j)return[y,p,j,b,R(v({},o),{noMerge:d,sort:g})]})};return[[u.filter(([,w])=>w).map(([w,,d])=>[w,d]),!0],[u.filter(([,w])=>!w).map(([w,,d])=>[w,d]),!1]].map(([w,d])=>[...E(!1,d,w.filter(([h])=>h.some(g=>g[0]===_))),...E(!0,d,w.filter(([h])=>h.every(g=>g[0]!==_)))])}).flat(2).filter(Boolean)}isBlocked(t){return!t||this.config.blocklist.some(r=>typeof r=="string"?r===t:r.test(t))}};function ft(e,t){return new lt(e,t)}var ut=/ \$\$ /,Vn=e=>e.match(ut);function zn(e,t){return Vn(e)?e.replace(ut,t?` ${t} `:" "):t?`${t} ${e}`:e}var ct=/^\[(.+?)(~?=)"(.*)"\]$/;function An(e){return ct.test(e)?e.replace(ct,(t,r,n,o)=>`[${ie(r)}${n}"${ie(o)}"]`):`.${ie(e)}`}var je={};pn(je,{auto:()=>Un,bracket:()=>Nn,cssvar:()=>Bn,degree:()=>Wn,fraction:()=>Hn,global:()=>In,number:()=>Dn,numberWithUnit:()=>Mn,percent:()=>Ln,properties:()=>Gn,px:()=>_n,rem:()=>Fn,time:()=>Kn});var Pn=["color","border-color","background-color","flex-grow","flex","flex-shrink","caret-color","font","gap","opacity","visibility","z-index","font-weight","zoom","text-shadow","transform","box-shadow","backround-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"],Te=/^(-?[0-9.]+)(px|pt|pc|rem|em|%|vh|vw|in|cm|mm|ex|ch|vmin|vmax|rpx)?$/i,On=/^(-?[0-9.]+)$/i,pt=/^(px)$/i;function V(e){return e.toFixed(10).replace(/\.0+$/,"").replace(/(\.\d+?)0+$/,"$1")}function Mn(e){let t=e.match(Te);if(!t)return;let[,r,n]=t,o=parseFloat(r);if(n&&!Number.isNaN(o))return`${V(o)}${n}`}function Un(e){if(e==="auto"||e==="a")return"auto"}function Fn(e){if(e.match(pt))return`1${e}`;let t=e.match(Te);if(!t)return;let[,r,n]=t,o=parseFloat(r);if(!Number.isNaN(o))return n?`${V(o)}${n}`:`${V(o/4)}rem`}function _n(e){if(e.match(pt))return`1${e}`;let t=e.match(Te);if(!t)return;let[,r,n]=t,o=parseFloat(r);if(!Number.isNaN(o))return n?`${V(o)}${n}`:`${V(o)}px`}function Dn(e){if(!On.test(e))return;let t=parseFloat(e);if(!Number.isNaN(t))return V(t)}function Ln(e){e.endsWith("%")&&(e=e.slice(0,-1));let t=parseFloat(e);if(!Number.isNaN(t))return`${V(t/100)}`}function Hn(e){if(e==="full")return"100%";let[t,r]=e.split("/"),n=parseFloat(t)/parseFloat(r);if(!Number.isNaN(n))return`${V(n*100)}%`}function Nn(e){if(e&&e[0]==="["&&e[e.length-1]==="]")return e.slice(1,-1).replace(/(url\(.*?\))/g,t=>t.replace(/_/g,"\\_")).replace(/([^\\])_/g,"$1 ").replace(/calc\((.*)/g,t=>t.replace(/(-?\d*\.?\d(?!\b-.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 "))}function Bn(e){if(e.match(/^\$\S/))return`var(--${ve(e.slice(1))})`}function Kn(e){let t=e.match(/^(-?[0-9.]+)(s|ms)?$/i);if(!t)return;let[,r,n]=t,o=parseFloat(r);if(!Number.isNaN(o))return n?`${V(o)}${n}`:`${V(o)}ms`}function Wn(e){let t=e.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);if(!t)return;let[,r,n]=t,o=parseFloat(r);if(!Number.isNaN(o))return n?`${V(o)}${n}`:`${V(o)}deg`}function In(e){if(["inherit","initial","revert","unset"].includes(e))return e}function Gn(e){for(let t of e.split(","))if(!Pn.includes(t))return;return e}var c=it(je);var H=(e,t)=>{let r=new RegExp(`^${I(e)}[:-]`);return n=>{let o=n.match(r);if(o)return{matcher:n.slice(o[0].length),selector:t}}},Y=(e,t)=>{let r=new RegExp(`^${I(e)}[:-]`);return n=>{let o=n.match(r);if(o)return{matcher:n.slice(o[0].length),parent:t}}};var A=e=>([t,r,n])=>{let o=c.bracket.cssvar.auto.fraction.rem(n);if(o!==void 0)return P[r].map(s=>[`${e}${s}`,o])},Ve=(e,t)=>{var r;return(r=e.colors)==null?void 0:r[t.join("-").replace(/(-[a-z])/g,n=>n.slice(1).toUpperCase())]},le=(e,t)=>{let[r,n]=e.split(/(?:\/|:)/),o=r.replace(/([a-z])([0-9])/g,"$1-$2").split(/-/g),[s]=o;if(!s)return;let a,i=c.bracket(r),l=i||r;l.startsWith("#")?a=l:l.startsWith("hex-")?a=`#${l.slice(4)}`:r.startsWith("$")&&(a=c.cssvar(r)),a=a||i;let f="DEFAULT";if(!a){let u,[y]=o.slice(-1);y.match(/^\d+$/)?(f=y,u=Ve(t,o.slice(0,-1))):(u=Ve(t,o),!u&&o.length<=2&&([,f=f]=o,u=Ve(t,[s]))),typeof u=="string"?a=u:f&&u&&(a=u[f])}return{opacity:n,name:s,no:f,color:a,cssColor:xe(a),alpha:c.bracket.cssvar.percent(n!=null?n:"")}},k=(e,t)=>([,r],{theme:n})=>{var l;let o=le(r,n);if(!o)return;let{alpha:s,color:a,cssColor:i}=o;if(i)return s!=null?{[e]:F(i,s)}:{[`--un-${t}-opacity`]:(l=i.alpha)!=null?l:1,[e]:F(i,`var(--un-${t}-opacity)`)};if(a)return{[e]:a.replace("%alpha",`${s!=null?s:1}`)}},fe=(e,t)=>{let r=[];e=T(e);for(let n=0;n<e.length;n++){let o=W(e[n]," ",6);if(!o||o.length<3)return e;let s=xe(o.pop());if(s==null)return e;r.push(`${o.join(" ")} var(${t}, ${F(s)})`)}return r};var dt=[[/^outline-(?:width-|size-)?(.+)$/,([,e])=>({"outline-width":c.bracket.cssvar.px(e)})],[/^outline-(?:color-)?(.+)$/,k("outline-color","outline-color")],[/^outline-offset-(.+)$/,([,e])=>({"outline-offset":c.bracket.cssvar.px(e)})],["outline",{"outline-style":"solid"}],[/^outline-(auto|dashed|dotted|double|hidden|solid|groove|ridge|inset|outset|inherit|initial|revert|unset)$/,([,e])=>({"outline-style":e})],["outline-none",{outline:"2px solid transparent","outline-offset":"2px"}]],mt=[["appearance-none",{appearance:"none","-webkit-appearance":"none"}]],qn=e=>{var t;return(t=c.properties.auto.global(e))!=null?t:{contents:"contents",scroll:"scroll-position"}[e]},ht=[[/^will-change-(.+)/,([,e])=>({"will-change":qn(e)})]];var gt=[[/^(?:border|b)()(?:-(.+))?$/,J],[/^(?:border|b)-([xy])(?:-(.+))?$/,J],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,J],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,J],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,J],[/^(?:border|b)-()(?:width|size)-(.+)$/,N],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,N],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,N],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,N],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,N],[/^(?:border|b)-()(?:color-)?(.+)$/,Q],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,Q],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,Q],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,Q],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,Q],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,ee],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,ee],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,ee],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,ee],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,ee],[/^(?:border-)?(?:rounded|rd)()(?:-(.+))?$/,te],[/^(?:border-)?(?:rounded|rd)-([rltb])(?:-(.+))?$/,te],[/^(?:border-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,te],[/^(?:border-)?(?:rounded|rd)-([bi][se])(?:-(.+))?$/,te],[/^(?:border-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,te],["border-solid",{"border-style":"solid"}],["border-dashed",{"border-style":"dashed"}],["border-dotted",{"border-style":"dotted"}],["border-double",{"border-style":"double"}],["border-hidden",{"border-style":"hidden"}],["border-none",{"border-style":"none"}]],Zn=(e,{theme:t})=>{var r;return e!==void 0&&!!((r=le(e,t))==null?void 0:r.color)},Xn=e=>([,t],{theme:r})=>{var i,l;let n=le(t,r);if(!n)return;let{alpha:o,color:s,cssColor:a}=n;if(a)return o!=null?{[`border${e}-color`]:F(a,o)}:e===""?{"--un-border-opacity":(i=a.alpha)!=null?i:1,[`border${e}-color`]:F(a,`var(--un-border${e}-opacity)`)}:{"--un-border-opacity":(l=a.alpha)!=null?l:1,[`--un-border${e}-opacity`]:"var(--un-border-opacity)",[`border${e}-color`]:F(a,`var(--un-border${e}-opacity)`)};if(s)return{[`border${e}-color`]:s.replace("%alpha",`${o!=null?o:1}`)}};function J(e){let t=N(e);if(t)return[...t,["border-style","solid"]]}function N([,e="",t="1"]){let r=c.bracket.cssvar.px(t);if(e in P&&r!=null)return P[e].map(n=>[`border${n}-width`,r])}function Q([,e="",t],r){if(e in P&&Zn(t,r))return Object.assign({},...P[e].map(n=>Xn(n)(["",t],r)))}function ee([,e="",t]){let r=c.bracket.percent(t);if(e in P&&r!=null)return P[e].map(n=>[`--un-border${n}-opacity`,r])}function te([,e="",t="DEFAULT"],{theme:r}){var o;let n=((o=r.borderRadius)==null?void 0:o[t])||c.bracket.cssvar.fraction.rem(t);if(e in ye&&n!=null)return ye[e].map(s=>[`border${s}-radius`,n])}var xt=[[/^op(?:acity)?-?(.+)$/,([,e])=>({opacity:c.bracket.percent.cssvar(e)})]],bt=[[/^(?:text|color|c)-(.+)$/,k("color","text")],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-opacity":c.bracket.percent(e)})]],yt=[[/^bg-(.+)$/,k("background-color","bg")],[/^bg-op(?:acity)?-?(.+)$/,([,e])=>({"--un-bg-opacity":c.bracket.percent(e)})]];var wt={all:"all",colors:["color","background-color","border-color","text-decoration-color","fill","stroke"].join(","),none:"none",opacity:"opacity",shadow:"box-shadow",transform:"transform"},$t=e=>{var t;return(t=c.properties(e))!=null?t:wt[e]},vt=[[/^transition(?:-([a-z-]+(?:,[a-z-]+)*))?(?:-(\d+))?$/,([,e,t="150"])=>{let r=e!=null?$t(e):[wt.colors,"opacity","box-shadow","transform","filter","backdrop-filter"].join(",");if(r)return{"transition-property":r,"transition-timing-function":"cubic-bezier(0.4, 0, 0.2, 1)","transition-duration":`${t}ms`}}],[/^(?:transition-)?duration-(.+)$/,([,e])=>({"transition-duration":c.bracket.cssvar.time(e)})],[/^(?:transition-)?delay-(.+)$/,([,e])=>({"transition-delay":c.bracket.cssvar.time(e)})],[/^(?:transition-)?ease(?:-(.+))?$/,([,e],{theme:t})=>{var r,n;return{"transition-timing-function":(n=(r=t.easing)==null?void 0:r[e||"DEFAULT"])!=null?n:c.bracket.cssvar(e)}}],[/^(?:transition-)?property-(.+)$/,([,e])=>({"transition-property":c.global(e)||$t(e)})],["transition-none",{transition:"none"}]];var St=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],["flex-1",{flex:"1 1 0%"}],["flex-auto",{flex:"1 1 auto"}],["flex-initial",{flex:"0 1 auto"}],["flex-none",{flex:"none"}],[/^flex-(\[.+\])$/,([,e])=>({flex:c.bracket(e).replace(/\d+\/\d+/,t=>c.fraction(t))})],[/^(?:flex-)?shrink$/,()=>({"flex-shrink":1})],[/^(?:flex-)?shrink-0$/,()=>({"flex-shrink":0})],[/^(?:flex-)?grow$/,()=>({"flex-grow":1})],[/^(?:flex-)?grow-0$/,()=>({"flex-grow":0})],[/^(?:flex-)?basis-(.+)$/,([,e])=>({"flex-basis":c.bracket.cssvar.auto.fraction.rem(e)})],["flex-row",{"flex-direction":"row"}],["flex-row-reverse",{"flex-direction":"row-reverse"}],["flex-col",{"flex-direction":"column"}],["flex-col-reverse",{"flex-direction":"column-reverse"}],["flex-wrap",{"flex-wrap":"wrap"}],["flex-wrap-reverse",{"flex-wrap":"wrap-reverse"}],["flex-nowrap",{"flex-wrap":"nowrap"}]];var Yn={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},kt=[[/^font-(\w+)$/,([,e],{theme:t})=>{var r;return{"font-family":(r=t.fontFamily)==null?void 0:r[e]}}],[/^text-(.+)$/,([,e="base"],{theme:t})=>{var n;let r=T((n=t.fontSize)==null?void 0:n[e]);if(r==null?void 0:r[0]){let[o,s="1"]=r;return{"font-size":o,"line-height":s}}return{"font-size":c.bracket.rem(e)}}],[/^text-size-(.+)$/,([,e])=>({"font-size":c.bracket.cssvar.rem(e)})],[/^(?:font|fw)-?([^-]+)$/,([,e])=>({"font-weight":Yn[e]||c.number(e)})],[/^(?:leading|lh)-(.+)$/,([,e],{theme:t})=>{var r;return{"line-height":((r=t.lineHeight)==null?void 0:r[e])||c.bracket.cssvar.rem(e)}}],[/^tracking-(.+)$/,([,e],{theme:t})=>{var r;return{"letter-spacing":((r=t.letterSpacing)==null?void 0:r[e])||c.bracket.cssvar.rem(e)}}],[/^word-spacing-(.+)$/,([,e],{theme:t})=>{var r;return{"word-spacing":((r=t.wordSpacing)==null?void 0:r[e])||c.bracket.cssvar.rem(e)}}]],Ct=[[/^tab(?:-(.+))?$/,([,e])=>{let t=c.bracket.cssvar.global.number(e||"4");if(t!=null)return{"-moz-tab-size":t,"-o-tab-size":t,"tab-size":t}}]],Rt=[[/^indent(?:-(.+))?$/,([,e],{theme:t})=>{var r;return{"text-indent":((r=t.textIndent)==null?void 0:r[e||"DEFAULT"])||c.bracket.cssvar.fraction.rem(e)}}]],Et=[[/^text-stroke(?:-(.+))?$/,([,e],{theme:t})=>{var r;return{"-webkit-text-stroke-width":((r=t.textStrokeWidth)==null?void 0:r[e||"DEFAULT"])||c.bracket.cssvar.px(e)}}],[/^text-stroke-(.+)$/,k("-webkit-text-stroke-color","text-stroke")],[/^text-stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-stroke-opacity":c.bracket.percent(e)})]],Tt=[[/^text-shadow(?:-(.+))?$/,([,e],{theme:t})=>{var n;let r=(n=t.textShadow)==null?void 0:n[e||"DEFAULT"];return r!=null?{"--un-text-shadow":fe(r,"--un-text-shadow-color").join(","),"text-shadow":"var(--un-text-shadow)"}:{"text-shadow":c.bracket.cssvar(e)}}],[/^text-shadow-color-(.+)$/,k("--un-text-shadow-color","text-shadow")],[/^text-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-shadow-opacity":c.bracket.percent(e)})]];var jt={"":"",x:"column-",y:"row-"},Vt=([,e="",t])=>{let r=c.bracket.cssvar.rem(t);if(r!=null)return{[`grid-${jt[e]}gap`]:r,[`${jt[e]}gap`]:r}},zt=[[/^(?:flex-|grid-)?gap-()([^-]+)$/,Vt],[/^(?:flex-|grid-)?gap-([xy])-([^-]+)$/,Vt]];var O=e=>e.replace("col","column"),Jn=(e,t)=>{var n;let r=(n=t.fontSize)==null?void 0:n[e];if(r!=null)return T(r)[0];switch(e){case"min":return"min-content";case"max":return"max-content";case"fr":return"minmax(0,1fr)"}return c.bracket.cssvar.auto.rem(e)},At=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,e,t])=>({[`grid-${O(e)}`]:c.bracket.cssvar.auto(t)})],[/^(?:grid-)?(row|col)-span-(.+)$/,([,e,t])=>{if(t==="full")return{[`grid-${O(e)}`]:"1/-1"};let r=c.bracket.number(t);if(r!=null)return{[`grid-${O(e)}`]:`span ${r}/span ${r}`}}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,e,t])=>{var r;return{[`grid-${O(e)}-start`]:(r=c.bracket.cssvar(t))!=null?r:t}}],[/^(?:grid-)?(row|col)-end-(.+)$/,([,e,t])=>{var r;return{[`grid-${O(e)}-end`]:(r=c.bracket.cssvar(t))!=null?r:t}}],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,e,t],{theme:r})=>({[`grid-auto-${O(e)}`]:Jn(t,r)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,e])=>({"grid-auto-flow":c.bracket.cssvar(e)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-((?:row|col)(?:-dense)?)$/,([,e])=>({"grid-auto-flow":O(e).replace("-"," ")})],[/^grid-(rows|cols)-(.+)$/,([,e,t])=>({[`grid-template-${O(e)}`]:c.bracket.cssvar(t)})],[/^grid-(rows|cols)-minmax-([\w.-]+)$/,([,e,t])=>({[`grid-template-${O(e)}`]:`repeat(auto-fill,minmax(${t},1fr))`})],[/^grid-(rows|cols)-(\d+)$/,([,e,t])=>({[`grid-template-${O(e)}`]:`repeat(${t},minmax(0,1fr))`})],["grid-rows-none",{"grid-template-rows":"none"}],["grid-cols-none",{"grid-template-columns":"none"}]];var Pt=["auto","hidden","clip","visible","scroll"],Ot=[[/^(?:overflow|of)-(.+)$/,([,e])=>Pt.includes(e)?{overflow:e}:void 0],[/^(?:overflow|of)-([xy])-(.+)$/,([,e,t])=>Pt.includes(t)?{[`overflow-${e}`]:t}:void 0]];var Ae=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,e])=>({position:e})],[/^(?:position-|pos-)?(static)$/,([,e])=>({position:e})]],Mt=[["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-items-start",{"justify-items":"start"}],["justify-items-end",{"justify-items":"end"}],["justify-items-center",{"justify-items":"center"}],["justify-items-stretch",{"justify-items":"stretch"}],["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"}]],Ut=[[/^order-(.+)$/,([,e])=>({order:c.bracket.cssvar.number(e)})],["order-first",{order:"-9999"}],["order-last",{order:"9999"}],["order-none",{order:"0"}]],Ft=[["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"}],["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"}],["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"}]],_t=[["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-items-start",{"place-items":"start"}],["place-items-end",{"place-items":"end"}],["place-items-center",{"place-items":"center"}],["place-items-stretch",{"place-items":"stretch"}],["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"}]];function ze(e){return c.bracket.cssvar.auto.fraction.rem(e)}function ue([,e,t]){let r=ze(t);if(r!=null&&e in be)return be[e].map(n=>[n.slice(1),r])}var Dt=[[/^(?:position-|pos-)?inset-(.+)$/,([,e])=>({inset:ze(e)})],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,ue],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,ue],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,ue],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,ue],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,e,t])=>({[e]:ze(t)})]],Lt=[["float-left",{float:"left"}],["float-right",{float:"right"}],["float-none",{float:"none"}],["clear-left",{clear:"left"}],["clear-right",{clear:"right"}],["clear-both",{clear:"both"}],["clear-none",{clear:"none"}]],Ht=[[/^z-(.+)$/,([,e])=>({"z-index":c.bracket.cssvar.auto.number(e)})]],Nt=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}]];var pe="var(--un-empty,/*!*/ /*!*/)",Bt=[["inline",{display:"inline"}],["block",{display:"block"}],["inline-block",{display:"inline-block"}],["contents",{display:"contents"}],["flow-root",{display:"flow-root"}],["list-item",{display:"list-item"}],["hidden",{display:"none"}],[/^display-(.+)$/,([,e])=>({display:c.bracket.cssvar(e)||e})]],Kt=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}]],Wt=[[/^cursor-(.+)$/,([,e])=>({cursor:c.bracket.cssvar(e)||e})]],It=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}]],Gt=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}]],qt=[["select-auto",{"user-select":"auto"}],["select-all",{"user-select":"all"}],["select-text",{"user-select":"text"}],["select-none",{"user-select":"none"}]],Zt=[[/^(?:whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap)$/,([,e])=>({"white-space":e})]],Xt=[[/^content-\[(.+)\]$/,([,e])=>({content:`"${e}"`})],["content-empty",{content:'""'}],["content-none",{content:'""'}]],Yt=[["break-normal",{"overflow-wrap":"normal","word-break":"normal"}],["break-words",{"overflow-wrap":"break-word"}],["break-all",{"word-break":"break-all"}]],Jt=[["truncate",{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}],["text-ellipsis",{"text-overflow":"ellipsis"}],["text-clip",{"text-overflow":"clip"}]],Qt=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}]],er=[["italic",{"font-style":"italic"}],["not-italic",{"font-style":"normal"}]],tr=[["antialiased",{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","font-smoothing":"grayscale"}],["subpixel-antialiased",{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto","font-smoothing":"auto"}]];var Pe={[_]:"","--un-ring-offset-shadow":"0 0 #0000","--un-ring-shadow":"0 0 #0000","--un-shadow-inset":pe,"--un-shadow":"0 0 #0000"},rr=[[/^shadow(?:-(.+))?$/,([,e],{theme:t})=>{var n;let r=(n=t.boxShadow)==null?void 0:n[e||"DEFAULT"];if(r)return[Pe,{"--un-shadow":fe(r,"--un-shadow-color").join(","),"box-shadow":"var(--un-ring-offset-shadow, 0 0 #0000), var(--un-ring-shadow, 0 0 #0000), var(--un-shadow)"}]}],[/^shadow-(.+)$/,k("--un-shadow-color","shadow")],[/^shadow-op(?:acity)?-?(.+)$/,([,e])=>({"--un-shadow-opacity":c.bracket.percent(e)})],["shadow-inset",{"--un-shadow-inset":"inset"}]];var Qn=R(v({},Pe),{"--un-ring-inset":pe,"--un-ring-offset-width":"0px","--un-ring-offset-color":"#fff","--un-ring-width":"0px","--un-ring-color":"rgba(147,197,253,0.5)"}),nr=[[/^ring(?:-(.+))?$/,([,e])=>{let t=c.px(e||"1");if(t)return[Qn,{"--un-ring-width":t,"--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, 0 0 #0000)"}]}],[/^ring-(?:width-|size-)(.+)$/,([,e])=>({"--un-ring-width":c.bracket.cssvar.px(e)})],["ring-offset",{"--un-ring-offset-width":"1px"}],[/^ring-offset-(?:width-|size-)?(.+)$/,([,e])=>({"--un-ring-offset-width":c.bracket.cssvar.px(e)})],[/^ring-(.+)$/,k("--un-ring-color","ring")],[/^ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-opacity":c.bracket.percent(e)})],[/^ring-offset-(.+)$/,k("--un-ring-offset-color","ring-offset")],[/^ring-offset-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-offset-opacity":c.bracket.percent(e)})],["ring-inset",{"--un-ring-inset":"inset"}]];var eo={h:"height",w:"width",inline:"inline-size",block:"block-size"};function re(e,t){return`${e||""}${eo[t]}`}function or(e,t,r,n){var a;let o=re(e,t).replace(/-(\w)/g,(i,l)=>l.toUpperCase()),s=(a=r[o])==null?void 0:a[n];if(s!=null)return s;switch(n){case"fit":case"max":case"min":return`${n}-content`}return c.bracket.cssvar.auto.fraction.rem(n)}var sr=[[/^(min-|max-)?([wh])-(.+)$/,([,e,t,r],{theme:n})=>({[re(e,t)]:or(e,t,n,r)})],[/^(min-|max-)?(block|inline)-(.+)$/,([,e,t,r],{theme:n})=>({[re(e,t)]:or(e,t,n,r)})],[/^(min-|max-)?(h)-screen-(.+)$/,([,e,t,r],{theme:n})=>{var o;return{[re(e,t)]:(o=n.verticalBreakpoints)==null?void 0:o[r]}}],[/^(min-|max-)?(w)-screen-(.+)$/,([,e,t,r],{theme:n})=>{var o;return{[re(e,t)]:(o=n.breakpoints)==null?void 0:o[r]}}]];function to(e){if(/^\d+\/\d+$/.test(e))return e;switch(e){case"square":return"1/1";case"video":return"16/9"}return c.bracket.cssvar.auto.number(e)}var ir=[[/^aspect-(?:ratio-)?(.+)$/,([,e])=>({"aspect-ratio":to(e)})]];var ar=[[/^pa?()-?(-?.+)$/,A("padding")],[/^p-?([xy])-?(-?.+)$/,A("padding")],[/^p-?([rltbse])-?(-?.+)$/,A("padding")],[/^p-(block|inline)-(-?.+)$/,A("padding")],[/^p-?([bi][se])-?(-?.+)$/,A("padding")]],cr=[[/^ma?()-?(-?.+)$/,A("margin")],[/^m-?([xy])-?(-?.+)$/,A("margin")],[/^m-?([rltbse])-?(-?.+)$/,A("margin")],[/^m-(block|inline)-(-?.+)$/,A("margin")],[/^m-?([bi][se])-?(-?.+)$/,A("margin")]];var ro={"--un-transform":["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(" ")},pr={"--un-transform":["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(" ")},B=R(v({"--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},pr),{[_]:""}),dr=[[/^(?:transform-)?origin-(.+)$/,([,e])=>{var t;return{"transform-origin":(t=we[e])!=null?t:c.bracket.cssvar(e)}}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,e])=>{let t=c.bracket.cssvar.px.numberWithUnit(e);if(t!=null)return{"-webkit-perspective":t,perspective:t}}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,e])=>{var r;let t=(r=c.bracket.cssvar(e))!=null?r:e.length>=3?we[e]:void 0;if(t!=null)return{"-webkit-perspective-origin":t,"perspective-origin":t}}],[/^(?:transform-)?translate-()(.+)$/,lr],[/^(?:transform-)?translate-([xyz])-(.+)$/,lr],[/^(?:transform-)?rotate-()(.+)$/,ur],[/^(?:transform-)?rotate-([xyz])-(.+)$/,ur],[/^(?:transform-)?skew-([xy])-(.+)$/,no],[/^(?:transform-)?scale-()(.+)$/,fr],[/^(?:transform-)?scale-([xyz])-(.+)$/,fr],[/^(?:transform-)?preserve-3d$/,()=>({"transform-style":"preserve-3d"})],[/^(?:transform-)?preserve-flat$/,()=>({"transform-style":"flat"})],[/^transform$/,()=>[B,{transform:"var(--un-transform)"}]],["transform-gpu",ro],["transform-cpu",pr],["transform-none",{transform:"none"}]];function lr([,e,t]){let r=c.bracket.cssvar.fraction.rem(t);if(r!=null)return[B,[...$e[e].map(n=>[`--un-translate${n}`,r]),["transform","var(--un-transform)"]]]}function fr([,e,t]){let r=c.bracket.cssvar.fraction.percent(t);if(r!=null)return[B,[...$e[e].map(n=>[`--un-scale${n}`,r]),["transform","var(--un-transform)"]]]}function ur([,e="",t]){let r=c.bracket.cssvar.degree(t);if(r!=null)return e?[B,{"--un-rotate":0,[`--un-rotate-${e}`]:r,transform:"var(--un-transform)"}]:[B,{"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-rotate":r,transform:"var(--un-transform)"}]}function no([,e,t]){let r=c.bracket.cssvar.degree(t);if(r!=null)return[B,{[`--un-skew-${e}`]:r,transform:"var(--un-transform)"}]}var oo={backface:"backface-visibility",break:"word-break",case:"text-transform",content:"align-content",flex:"flex",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"},mr=[[/^(.+?)-(\$.+)$/,([,e,t])=>{let r=oo[e];if(r)return{[r]:c.cssvar(t)}}]],hr=[[/^\[([^:]+):(.+)\]$/,([,e,t])=>({[e]:c.bracket(`[${t}]`)})]];var gr=[[/^(where|\?)$/,(e,{constructCSS:t,generator:r})=>{if(r.userConfig.envMode==="dev")return`@keyframes __un_qm{0%{box-shadow:inset 4px 4px #ff1e90, inset -4px -4px #ff1e90}100%{box-shadow:inset 8px 8px #3399ff, inset -8px -8px #3399ff}}
|
|
3
3
|
${t({animation:"__un_qm 0.5s ease-in-out alternate infinite"})}`}]];var xr=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,e])=>({"text-decoration-line":e})],[/^(?:underline|decoration)-(?:size-)?(.+)$/,([,e])=>({"text-decoration-thickness":c.bracket.cssvar.px(e)})],[/^(?:underline|decoration)-(auto|from-font)$/,([,e])=>({"text-decoration-thickness":e})],[/^(?:underline|decoration)-(.+)$/,(e,t)=>{let r=k("text-decoration-color","line")(e,t);if(r)return v({"-webkit-text-decoration-color":r["text-decoration-color"]},r)}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-line-opacity":c.bracket.percent(e)})],[/^(?:underline|decoration)-offset-(.+)$/,([,e])=>({"text-underline-offset":c.auto.bracket.cssvar.px(e)})],[/^(?:underline|decoration)-(solid|double|dotted|dashed|wavy|inherit|initial|revert|unset)$/,([,e])=>({"text-decoration-style":e})],["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];var br=[[/^fill-(.+)$/,k("fill","fill")],[/^fill-op(?:acity)?-?(.+)$/,([,e])=>({"--un-fill-opacity":c.bracket.percent(e)})],["fill-none",{fill:"none"}],[/^stroke-(?:width-|size-)?(.+)$/,([,e])=>({"stroke-width":c.bracket.cssvar.fraction.px.number(e)})],[/^stroke-dash-(.+)$/,([,e])=>({"stroke-dasharray":c.bracket.cssvar.number(e)})],[/^stroke-offset-(.+)$/,([,e])=>({"stroke-dashoffset":c.bracket.cssvar.px.numberWithUnit(e)})],[/^stroke-(.+)$/,k("stroke","stroke")],[/^stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-stroke-opacity":c.bracket.percent(e)})],["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"}]];var yr=[mr,hr,ar,cr,Bt,xt,yt,br,gt,Xt,kt,Ct,Rt,Jt,xr,Et,Tt,Qt,qe,bt,er,tr,rr,nr,St,At,zt,Ae,sr,ir,Wt,Kt,It,Gt,Ge,qt,Zt,Yt,Ot,dt,mt,Ae,Ut,Mt,Ft,_t,Dt,Lt,Ht,Nt,vt,dr,ht,gr].flat(1);var Oe={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"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827"},slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917"},light:{50:"#fdfdfd",100:"#fcfcfc",200:"#fafafa",300:"#f8f9fa",400:"#f6f6f6",500:"#f2f2f2",600:"#f1f3f5",700:"#e9ecef",800:"#dee2e6",900:"#dde1e3"},dark:{50:"#4a4a4a",100:"#3c3c3c",200:"#323232",300:"#2d2d2d",400:"#222222",500:"#1f1f1f",600:"#1c1c1e",700:"#1b1b1b",800:"#181818",900:"#0f0f0f"},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(Oe).forEach(e=>{typeof e!="string"&&(e.DEFAULT=e.DEFAULT||e[400],Object.keys(e).forEach(t=>{let r=+t/100;r===Math.round(r)&&(e[r]=e[t])}))});var $r={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(",")},wr={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"]},vr={DEFAULT:"1.5rem",xs:"0.5rem",sm:"1rem",md:"1.5rem",lg:"2rem",xl:"2.5rem","2xl":"3rem","3xl":"4rem"},Sr={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},kr={DEFAULT:["0 0 1px rgba(0,0,0,0.2)","0 0 1px rgba(1,0,5,0.1)"],sm:"1px 1px 3px rgba(36,37,47,0.25)",md:["0 1px 2px rgba(30,29,39,0.19)","1px 2px 4px rgba(54,64,147,0.18)"],lg:["3px 3px 6px rgba(0,0,0,0.26)","0 0 5px rgba(15,3,86,0.22)"],xl:["1px 1px 3px rgba(0,0,0,0.29)","2px 4px 7px rgba(73,64,125,0.35)"],none:"0 0 #0000"},Cr={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},Me={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},Rr=Me;var Ue={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},Er=v({},Ue),Tr={DEFAULT:"0.25rem",none:"0px",sm:"0.125rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},jr={DEFAULT:["var(--un-shadow-inset) 0 1px 3px 0 rgba(0,0,0,0.1)","var(--un-shadow-inset) 0 1px 2px -1px rgba(0,0,0,0.1)"],sm:"var(--un-shadow-inset) 0 1px 2px 0 rgba(0,0,0,0.05)",md:["var(--un-shadow-inset) 0 4px 6px -1px rgba(0,0,0,0.1)","var(--un-shadow-inset) 0 2px 4px -2px rgba(0,0,0,0.1)"],lg:["var(--un-shadow-inset) 0 10px 15px -3px rgba(0,0,0,0.1)","var(--un-shadow-inset) 0 4px 6px -4px rgba(0,0,0,0.1)"],xl:["var(--un-shadow-inset) 0 20px 25px -5px rgba(0,0,0,0.1)","var(--un-shadow-inset) 0 8px 10px -6px rgba(0,0,0,0.1)"],"2xl":"var(--un-shadow-inset) 0 25px 50px -12px rgba(0,0,0,0.25)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.05)",none:"0 0 #0000"},Vr={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)"};var zr={DEFAULT:"8px","0":"0",sm:"4px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},Ar={DEFAULT:["0 1px 2px rgba(0,0,0,0.1)","0 1px 1px rgba(0,0,0,0.06)"],sm:"0 1px 1px rgba(0,0,0,0.05)",md:["0 4px 3px rgba(0,0,0,0.07)","0 2px 2px rgba(0,0,0,0.06)"],lg:["0 10px 8px rgba(0,0,0,0.04)","0 4px 3px rgba(0,0,0,0.1)"],xl:["0 20px 13px rgba(0,0,0,0.03)","0 8px 5px rgba(0,0,0,0.08)"],"2xl":"0 25px 25px rgba(0,0,0,0.15)",none:"0 0 #0000"};var de={xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",prose:"65ch"},Fe=R(v({auto:"auto"},de),{screen:"100vw"}),ne=R(v({none:"none"},de),{screen:"100vw"}),_e=R(v({auto:"auto"},de),{screen:"100vh"}),oe=R(v({none:"none"},de),{screen:"100vh"});var Pr={width:Fe,height:_e,maxWidth:ne,maxHeight:oe,minWidth:ne,minHeight:oe,inlineSize:Fe,blockSize:_e,maxInlineSize:ne,maxBlockSize:oe,minInlineSize:ne,minBlockSize:oe,colors:Oe,fontFamily:$r,fontSize:wr,breakpoints:Ue,verticalBreakpoints:Er,borderRadius:Tr,lineHeight:Cr,letterSpacing:Me,wordSpacing:Rr,boxShadow:jr,textIndent:vr,textShadow:kr,textStrokeWidth:Sr,blur:zr,dropShadow:Ar,easing:Vr};var De={},Or=(e,{theme:t})=>{let r=Object.entries(t.breakpoints||{}).map(([n,o],s)=>[n,o,s]);for(let[n,o,s]of r){De[n]||(De[n]=new RegExp(`^((?:[al]t-)?${n}[:-])`));let a=e.match(De[n]);if(!a)continue;let[,i]=a,l=e.slice(i.length);if(l==="container")continue;let f="min",u=1e3;return i.startsWith("lt-")?(f="max",u-=s+1):u+=s+1,i.startsWith("at-")&&s<r.length-1?{matcher:l,parent:[`@media (min-width: ${o}) and (max-width: ${r[s+1][1]})`,u]}:{matcher:l,parent:[`@media (${f}-width: ${o})`,u]}}};var M=(e,t,r)=>{let n=e?new RegExp(`^${t}(?:-\\[(.+?)\\])[:-]`):new RegExp(`^${t}(?:-\\[(.+?)\\])?[:-]`);return o=>{let s=o.match(n);if(s)return{matcher:o.slice(s[0].length),selector:a=>{var i;return r.replace("&&-s",a).replace("&&-c",(i=s[1])!=null?i:"*")}}}},Mr=[M(!1,"all","&&-s &&-c"),M(!1,"children","&&-s>&&-c"),M(!1,"next","&&-s+&&-c"),M(!1,"sibling","&&-s+&&-c"),M(!1,"siblings","&&-s~&&-c"),M(!0,"group","&&-c &&-s"),M(!0,"parent","&&-c>&&-s"),M(!0,"previous","&&-c+&&-s"),M(!0,"peer","&&-c~&&-s")];var Ur=Y("print","@media print"),Fr=(e,{theme:t})=>{var n,o;let r=e.match(/^media-([_\d\w]+)[:-]/);if(r){let s=(o=(n=t.media)==null?void 0:n[r[1]])!=null?o:`(--${r[1]})`;return{matcher:e.slice(r[0].length),parent:`@media ${s}`}}};var _r=(e={})=>(e==null?void 0:e.dark)==="class"?[H("dark",t=>`.dark $$ ${t}`),H("light",t=>`.light $$ ${t}`)]:[Y("dark","@media (prefers-color-scheme: dark)"),Y("light","@media (prefers-color-scheme: light)")];var Dr=[H("rtl",e=>`[dir="rtl"] $$ ${e}`),H("ltr",e=>`[dir="ltr"] $$ ${e}`)];var Lr={match(e){let t=e.match(/^selector-\[(.+?)\][:-]/);if(t)return{matcher:e.slice(t[0].length),selector:()=>t[1]}}},Hr={match(e){let t=e.match(/^layer-([_\d\w]+)[:-]/);if(t)return{matcher:e.slice(t[0].length),layer:t[1]}}},Nr={match(e){let t=e.match(/^scope-([_\d\w]+)[:-]/);if(t)return{matcher:e.slice(t[0].length),selector:r=>`.${t[1]} $$ ${r}`}}},Br={match(e){if(e.startsWith("!"))return{matcher:e.slice(1),body:t=>(t.forEach(r=>{r[1]&&(r[1]+=" !important")}),t)}}},Kr={match(e){if(e.startsWith("-"))return{matcher:e.slice(1),body:t=>(t.forEach(r=>{var n,o;r[0].startsWith("--un-scale")||((n=r[1])==null?void 0:n.toString())==="0"||(r[1]=(o=r[1])==null?void 0:o.toString().replace(/[0-9.]+(?:[a-z]+|%)?/,s=>`-${s}`))}),t)}}};var he=Object.fromEntries(["any-link","link","visited","target",["open","[open]"],"hover","active","focus-visible","focus-within","focus","autofill","enabled","disabled","read-only","read-write","placeholder-shown","default","checked","indeterminate","valid","invalid","in-range","out-of-range","required","optional","root","empty",["even-of-type",":nth-of-type(even)"],["even",":nth-child(even)"],["odd-of-type",":nth-of-type(odd)"],["odd",":nth-child(odd)"],"first-of-type",["first",":first-child"],"last-of-type",["last",":last-child"],"only-child","only-of-type"].map(T)),Wr=Object.fromEntries(["placeholder","before","after","first-letter","first-line","selection","marker",["file","::file-selector-button"]].map(T)),so=["not","is","where","has"],io=Object.keys(Wr).join("|"),Le=Object.keys(he).join("|"),Ir=so.join("|"),ao=/(part-\[(.+)]:)(.+)/,co=new RegExp(`^(${io})[:-]`),lo=new RegExp(`^(${Le})[:-]`),fo=new RegExp(`^(${Ir})-(${Le})[:-]`),Gr=e=>{if(e==="active")return 1},me=(e,t,r)=>{let n=new RegExp(`^${e}-((?:(${Ir})-)?(${Le}))[:-]`),o=new RegExp(`^${I(t)}:`);return s=>{let a=s.match(n);if(a){let i=he[a[3]]||`:${a[3]}`;return a[2]&&(i=`:${a[2]}(${i})`),{matcher:s.slice(a[0].length),selector:l=>o.test(l)?l.replace(o,`${t}${i}:`):`${t}${i}${r}${l}`,sort:Gr(a[3])}}}},qr=e=>{let t=e.match(co);if(t){let r=Wr[t[1]]||`::${t[1]}`;return{matcher:e.slice(t[0].length),selector:n=>`${n}${r}`}}},Zr={match:e=>{let t=e.match(lo);if(t){let r=he[t[1]]||`:${t[1]}`;return{matcher:e.slice(t[0].length),selector:n=>`${n}${r}`,sort:Gr(t[1])}}},multiPass:!0},Xr={match:e=>{let t=e.match(fo);if(t){let r=t[1],n=he[t[2]]||`:${t[2]}`;return{matcher:e.slice(t[0].length),selector:o=>`${o}:${r}(${n})`}}},multiPass:!0},Yr=(e={})=>{let t=!!(e==null?void 0:e.attributifyPseudo);return[{match:me("group",t?'[group=""]':".group"," "),multiPass:!0},{match:me("peer",t?'[peer=""]':".peer","~"),multiPass:!0},{match:me("parent",t?'[parent=""]':".parent",">"),multiPass:!0},{match:me("previous",t?'[previous=""]':".previous","+"),multiPass:!0}]},Jr={match:e=>{let t=e.match(ao);if(t){let r=`part(${t[2]})`;return{matcher:e.slice(t[1].length),selector:n=>`${n}::${r}`}}},multiPass:!0};var Qr=e=>[Lr,Hr,Kr,Br,Ur,Fr,Or,...Mr,Zr,Xr,...Yr(e),qr,Jr,..._r(e),...Dr,Nr];var uo=(e={})=>{var t,r;return e.dark=(t=e.dark)!=null?t:"class",e.attributifyPseudo=(r=e.attributifyPseudo)!=null?r:!1,{name:"@unocss/preset-mini",theme:Pr,rules:yr,variants:Qr(e),options:e,postprocess:e.variablePrefix&&e.variablePrefix!=="un-"?po(e.variablePrefix):void 0}},en=uo;function po(e){return t=>{t.entries.forEach(r=>{r[0]=r[0].replace(/^--un-/,`--${e}`),typeof r[1]=="string"&&(r[1]=r[1].replace(/var\(--un-/g,`var(--${e}`))})}}var mo=["v-bind:",":"],tn=/[\s'"`;]+/g,ho=/<\w[\w:\.$-]*\s((?:'[\s\S]*?'|"[\s\S]*?"|`[\s\S]*?`|\{[\s\S]*?\}|[\s\S]*?)*?)>/g,go=/([?]|(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:%-]+)(?:=(["'])([^\2]*?)\2)?/g,rn=e=>{var n,o;let t=(n=e==null?void 0:e.ignoreAttributes)!=null?n:[],r=(o=e==null?void 0:e.nonValuedAttribute)!=null?o:!0;return{name:"attributify",extract({code:s}){let a=Array.from(s.matchAll(ho)).flatMap(i=>Array.from((i[1]||"").matchAll(go))).flatMap(([,i,l,f])=>{if(t.includes(i))return[];for(let u of mo)if(i.startsWith(u)){i=i.slice(u.length);break}return f?["class","className"].includes(i)?f.split(tn).filter(Z):f.split(tn).filter(Boolean).map(u=>`[${i}~="${u}"]`):Z(i)&&r!==!1?[`[${i}=""]`]:[]});return new Set(a)}}};var xo=/^(?!\[(?:[^:]+):(?:.+)\]$)(.+:!?)?(.*)$/,nn=(e={})=>{var n,o;let t=(n=e.prefix)!=null?n:"un-",r=(o=e.prefixedOnly)!=null?o:!1;return s=>{let a=et(s);if(!a)return;let i=a[1];if(i.startsWith(t))i=i.slice(t.length);else if(r)return;let l=a[2],[,f="",u=l]=l.match(xo)||[];return u==="~"||!u?`${f}${i}`:`${f}${i}-${u}`}};var bo=(e={})=>{var n,o,s,a,i;e.strict=(n=e.strict)!=null?n:!1,e.prefix=(o=e.prefix)!=null?o:"un-",e.prefixedOnly=(s=e.prefixedOnly)!=null?s:!1,e.nonValuedAttribute=(a=e.nonValuedAttribute)!=null?a:!0,e.ignoreAttributes=(i=e.ignoreAttributes)!=null?i:[];let t=[nn(e)],r=[rn(e)];return e.strict||r.unshift(X),{name:"@unocss/preset-attributify",variants:t,extractors:r,options:e}},on=bo;var yo=e=>e.replace(/-(\w)/g,(t,r)=>r?r.toUpperCase():""),sn=e=>e.charAt(0).toUpperCase()+e.slice(1),an=e=>e.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase(),cn=["Webkit","Moz","ms"];function ln(e){let t={};function r(n){let o=t[n];if(o)return o;let s=yo(n);if(s!=="filter"&&s in e)return t[n]=an(s);s=sn(s);for(let a=0;a<cn.length;a++){let i=`${cn[a]}${s}`;if(i in e)return t[n]=an(sn(i))}return n}return({entries:n})=>n.forEach(o=>{o[0].startsWith("--")||(o[0]=r(o[0]))})}function He(e={}){var C,j;if(typeof window>"u"){console.warn("@unocss/runtime been used in non-browser environment, skipped.");return}let t=window.__unocss||{},r=t==null?void 0:t.runtime,n=Object.assign(e.defaults||{},r);if(r==null?void 0:r.autoPrefix){let m=n.postprocess;m||(m=[]),Array.isArray(m)||(m=[m]),m.unshift(ln(document.createElement("div").style)),n.postprocess=m}(C=r==null?void 0:r.configResolved)==null||C.call(r,t,n);let o,s=!0,a,i=ft(t,n),l=new Set,f,u=[],y=()=>new Promise(m=>{u.push(m),f!=null&&clearTimeout(f),f=setTimeout(()=>p().then(()=>{let x=u;u=[],x.forEach(S=>S())}),0)});async function p(){let m=await i.generate(l);o||(o=document.createElement("style"),document.documentElement.prepend(o)),o.innerHTML=m.css}async function b(m){await i.applyExtractors(m,void 0,l),await y()}async function E(){let m=document.body&&document.body.outerHTML;m&&await b(m)}let U=new MutationObserver(m=>{s||m.forEach(x=>{let S=x.target;if(S===o||a&&!a(S))return;let D=Array.from(S.attributes).map(z=>z.value?`${z.name}="${z.value}"`:z.name).join(" "),L=`<${S.tagName.toLowerCase()} ${D}>`;b(L)})}),w=!1;function d(){if(!w)return;let m=document.documentElement||document.body;!m||(U.observe(m,{childList:!0,subtree:!0,attributes:!0}),w=!0)}function h(){E(),d()}function g(){h(),window.addEventListener("load",h),window.addEventListener("DOMContentLoaded",h)}let $=window.__unocss_runtime=window.__unocss_runtime={version:i.version,uno:i,async extract(m){if(typeof m=="string")return await b(m);m.forEach(x=>l.add(x)),await p()},extractAll:E,inspect(m){a=m},toggleObserver(m){m===void 0?s=!s:s=!!m,!w&&!s&&g()}};((j=r==null?void 0:r.ready)==null?void 0:j.call(r,$))!==!1&&(s=!1,g())}He({defaults:{presets:[en(),on()]}});})();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/runtime",
|
|
3
|
-
"version": "0.25.
|
|
3
|
+
"version": "0.25.1",
|
|
4
4
|
"description": "CSS-in-JS Runtime for UnoCSS",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"unocss",
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
"dist"
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@unocss/core": "0.25.
|
|
38
|
-
"@unocss/preset-attributify": "0.25.
|
|
39
|
-
"@unocss/preset-uno": "0.25.
|
|
37
|
+
"@unocss/core": "0.25.1",
|
|
38
|
+
"@unocss/preset-attributify": "0.25.1",
|
|
39
|
+
"@unocss/preset-uno": "0.25.1"
|
|
40
40
|
},
|
|
41
41
|
"scripts": {
|
|
42
42
|
"build": "pnpm run build:node && pnpm run build:cdn",
|
package/uno.global.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(()=>{var It=Object.defineProperty,kn=Object.defineProperties;var $n=Object.getOwnPropertyDescriptors;var dt=Object.getOwnPropertySymbols;var qt=Object.prototype.hasOwnProperty,Zt=Object.prototype.propertyIsEnumerable;var Gt=(t,e,r)=>e in t?It(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,w=(t,e)=>{for(var r in e||(e={}))qt.call(e,r)&&Gt(t,r,e[r]);if(dt)for(var r of dt(e))Zt.call(e,r)&&Gt(t,r,e[r]);return t},z=(t,e)=>kn(t,$n(e));var Jt=(t,e)=>{var r={};for(var n in t)qt.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&dt)for(var n of dt(t))e.indexOf(n)<0&&Zt.call(t,n)&&(r[n]=t[n]);return r};var wn=(t,e)=>{for(var r in e)It(t,r,{get:e[r],enumerable:!0})};function Q(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function vt(t){let e=t.length,r=-1,n,o="",a=t.charCodeAt(0);for(;++r<e;){if(n=t.charCodeAt(r),n===0){o+="\uFFFD";continue}if(n===44){o+="\\2c ";continue}if(n>=1&&n<=31||n===127||r===0&&n>=48&&n<=57||r===1&&n>=48&&n<=57&&a===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 ut=vt;function et(t){return(Array.isArray(t)?t:Object.entries(t)).filter(e=>e[1]!=null)}function Qt(t){return Array.isArray(t)?t.find(e=>!Array.isArray(e)||Array.isArray(e[0]))?t.map(e=>et(e)):[t]:[et(t)]}function Sn(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})}function pt(t){return t==null?"":Sn(t).map(([e,r])=>r!=null?`${e}:${r};`:void 0).filter(Boolean).join("")}function kt(t){return t&&typeof t=="object"&&!Array.isArray(t)}function $t(t,e){let r=t,n=e;if(Array.isArray(r)&&Array.isArray(n))return[...r,...n];if(Array.isArray(r))return[...r];let o=w({},r);return kt(r)&&kt(n)&&Object.keys(n).forEach(a=>{kt(n[a])?a in r?o[a]=$t(r[a],n[a]):Object.assign(o,{[a]:n[a]}):Object.assign(o,{[a]:n[a]})}),o}function tt(t){let e,r,n;if(Array.isArray(t)){for(r=Array(e=t.length);e--;)r[e]=(n=t[e])&&typeof n=="object"?tt(n):n;return r}if(Object.prototype.toString.call(t)==="[object Object]"){r={};for(e in t)e==="__proto__"?Object.defineProperty(r,e,{value:tt(t[e]),configurable:!0,enumerable:!0,writable:!0}):r[e]=(n=t[e])&&typeof n=="object"?tt(n):n;return r}return t}function te(t){return typeof t[0]=="string"}function ee(t){return typeof t[0]=="string"}function V(t=[]){return Array.isArray(t)?t:[t]}function mt(t){return Array.from(new Set(t))}var Cn=/(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:%-?]/,T="$$shortcut-no-merge";function re(t=""){return Cn.test(t)}function ne(t){return typeof t=="function"?{match:t}:t}function wt(t){return t.length===3}function oe(t){return t!=null}var St=class{_map=new Map;get(e,r){let n=this._map.get(e);if(n)return n.get(r)}getFallback(e,r,n){let o=this._map.get(e);return o||(o=new Map,this._map.set(e,o)),o.has(r)||o.set(r,n),o.get(r)}set(e,r,n){let o=this._map.get(e);return o||(o=new Map,this._map.set(e,o)),o.set(r,n),this}has(e,r){var n;return(n=this._map.get(e))==null?void 0:n.has(r)}delete(e,r){var n;return((n=this._map.get(e))==null?void 0:n.delete(r))||!1}deleteTop(e){return this._map.delete(e)}map(e){return Array.from(this._map.entries()).flatMap(([r,n])=>Array.from(n.entries()).map(([o,a])=>e(a,r,o)))}};var Rn=/([!\w+:_/-]+?)([:-])\(((?:[!\w\s:/\\,%#.$-]|\[.*?\])*?)\)/gm;function ae(t){let e=[],r;for(;r=Rn.exec(t);){let o=r.index,a=o+r[0].length,[,i,c,l]=r,f=l.split(/\s/g).map(u=>u.replace(/^(!?)(.*)/,`$1${i}${c}$2`)).join(" ");e.unshift([o,a,f])}let n=t;return e.forEach(([o,a,i])=>{n=n.slice(0,o)+i+n.slice(a)}),n}var ie=new Set;function se(t){ie.has(t)||(console.warn("[unocss]",t),ie.add(t))}function ce(t){let e=function(n){var a;let o=((a=this.__options)==null?void 0:a.sequence)||[];this.__options.sequence=[];for(let i of o){let c=t[i](n);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,get(){return r(this,n)}});return e}var zn=t=>t.split(/[\s'"`;>=]+/g).filter(re),Ct={name:"split",order:0,extract({code:t}){return new Set(zn(t))}};function jn(t){return V(t).flatMap(e=>Array.isArray(e)?[e]:Object.entries(e))}var En={shortcuts:-1,default:0};function Rt(t={},e={}){let r=Object.assign({},e,t),n=(r.presets||[]).flatMap(V),o=[...n.filter(d=>d.enforce==="pre"),...n.filter(d=>!d.enforce),...n.filter(d=>d.enforce==="post")],a=Object.assign(En,...n.map(d=>d.layers),t.layers);function i(d){return mt([...o.flatMap(h=>V(h[d]||[])),...V(r[d]||[])])}let c=i("extractors");c.length||c.push(Ct),c.sort((d,h)=>(d.order||0)-(h.order||0));let l=i("rules"),f={},u=l.length;l.forEach((d,h)=>{te(d)&&(f[d[0]]=[h,d[1],d[2]],delete l[h])});let x=tt([...o.map(d=>d.theme||{}),r.theme||{}].reduce((d,h)=>$t(d,h),{}));return i("extendTheme").forEach(d=>d(x)),z(w({mergeSelectors:!0,warn:!0,blocklist:[],safelist:[],sortLayers:d=>d},r),{presets:o,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:a,theme:x,rulesSize:u,rulesDynamic:l,rulesStaticMap:f,preprocess:i("preprocess"),postprocess:i("postprocess"),preflights:i("preflights"),variants:i("variants").map(ne),shortcuts:jn(i("shortcuts")),extractors:c})}var le="0.25.
|
|
1
|
+
(()=>{var It=Object.defineProperty,kn=Object.defineProperties;var $n=Object.getOwnPropertyDescriptors;var dt=Object.getOwnPropertySymbols;var qt=Object.prototype.hasOwnProperty,Zt=Object.prototype.propertyIsEnumerable;var Gt=(t,e,r)=>e in t?It(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,w=(t,e)=>{for(var r in e||(e={}))qt.call(e,r)&&Gt(t,r,e[r]);if(dt)for(var r of dt(e))Zt.call(e,r)&&Gt(t,r,e[r]);return t},z=(t,e)=>kn(t,$n(e));var Jt=(t,e)=>{var r={};for(var n in t)qt.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&dt)for(var n of dt(t))e.indexOf(n)<0&&Zt.call(t,n)&&(r[n]=t[n]);return r};var wn=(t,e)=>{for(var r in e)It(t,r,{get:e[r],enumerable:!0})};function Q(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function vt(t){let e=t.length,r=-1,n,o="",a=t.charCodeAt(0);for(;++r<e;){if(n=t.charCodeAt(r),n===0){o+="\uFFFD";continue}if(n===44){o+="\\2c ";continue}if(n>=1&&n<=31||n===127||r===0&&n>=48&&n<=57||r===1&&n>=48&&n<=57&&a===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 ut=vt;function et(t){return(Array.isArray(t)?t:Object.entries(t)).filter(e=>e[1]!=null)}function Qt(t){return Array.isArray(t)?t.find(e=>!Array.isArray(e)||Array.isArray(e[0]))?t.map(e=>et(e)):[t]:[et(t)]}function Sn(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})}function pt(t){return t==null?"":Sn(t).map(([e,r])=>r!=null?`${e}:${r};`:void 0).filter(Boolean).join("")}function kt(t){return t&&typeof t=="object"&&!Array.isArray(t)}function $t(t,e){let r=t,n=e;if(Array.isArray(r)&&Array.isArray(n))return[...r,...n];if(Array.isArray(r))return[...r];let o=w({},r);return kt(r)&&kt(n)&&Object.keys(n).forEach(a=>{kt(n[a])?a in r?o[a]=$t(r[a],n[a]):Object.assign(o,{[a]:n[a]}):Object.assign(o,{[a]:n[a]})}),o}function tt(t){let e,r,n;if(Array.isArray(t)){for(r=Array(e=t.length);e--;)r[e]=(n=t[e])&&typeof n=="object"?tt(n):n;return r}if(Object.prototype.toString.call(t)==="[object Object]"){r={};for(e in t)e==="__proto__"?Object.defineProperty(r,e,{value:tt(t[e]),configurable:!0,enumerable:!0,writable:!0}):r[e]=(n=t[e])&&typeof n=="object"?tt(n):n;return r}return t}function te(t){return typeof t[0]=="string"}function ee(t){return typeof t[0]=="string"}function V(t=[]){return Array.isArray(t)?t:[t]}function mt(t){return Array.from(new Set(t))}var Cn=/(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:%-?]/,T="$$shortcut-no-merge";function re(t=""){return Cn.test(t)}function ne(t){return typeof t=="function"?{match:t}:t}function wt(t){return t.length===3}function oe(t){return t!=null}var St=class{_map=new Map;get(e,r){let n=this._map.get(e);if(n)return n.get(r)}getFallback(e,r,n){let o=this._map.get(e);return o||(o=new Map,this._map.set(e,o)),o.has(r)||o.set(r,n),o.get(r)}set(e,r,n){let o=this._map.get(e);return o||(o=new Map,this._map.set(e,o)),o.set(r,n),this}has(e,r){var n;return(n=this._map.get(e))==null?void 0:n.has(r)}delete(e,r){var n;return((n=this._map.get(e))==null?void 0:n.delete(r))||!1}deleteTop(e){return this._map.delete(e)}map(e){return Array.from(this._map.entries()).flatMap(([r,n])=>Array.from(n.entries()).map(([o,a])=>e(a,r,o)))}};var Rn=/([!\w+:_/-]+?)([:-])\(((?:[!\w\s:/\\,%#.$-]|\[.*?\])*?)\)/gm;function ae(t){let e=[],r;for(;r=Rn.exec(t);){let o=r.index,a=o+r[0].length,[,i,c,l]=r,f=l.split(/\s/g).map(u=>u.replace(/^(!?)(.*)/,`$1${i}${c}$2`)).join(" ");e.unshift([o,a,f])}let n=t;return e.forEach(([o,a,i])=>{n=n.slice(0,o)+i+n.slice(a)}),n}var ie=new Set;function se(t){ie.has(t)||(console.warn("[unocss]",t),ie.add(t))}function ce(t){let e=function(n){var a;let o=((a=this.__options)==null?void 0:a.sequence)||[];this.__options.sequence=[];for(let i of o){let c=t[i](n);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,get(){return r(this,n)}});return e}var zn=t=>t.split(/[\s'"`;>=]+/g).filter(re),Ct={name:"split",order:0,extract({code:t}){return new Set(zn(t))}};function jn(t){return V(t).flatMap(e=>Array.isArray(e)?[e]:Object.entries(e))}var En={shortcuts:-1,default:0};function Rt(t={},e={}){let r=Object.assign({},e,t),n=(r.presets||[]).flatMap(V),o=[...n.filter(d=>d.enforce==="pre"),...n.filter(d=>!d.enforce),...n.filter(d=>d.enforce==="post")],a=Object.assign(En,...n.map(d=>d.layers),t.layers);function i(d){return mt([...o.flatMap(h=>V(h[d]||[])),...V(r[d]||[])])}let c=i("extractors");c.length||c.push(Ct),c.sort((d,h)=>(d.order||0)-(h.order||0));let l=i("rules"),f={},u=l.length;l.forEach((d,h)=>{te(d)&&(f[d[0]]=[h,d[1],d[2]],delete l[h])});let x=tt([...o.map(d=>d.theme||{}),r.theme||{}].reduce((d,h)=>$t(d,h),{}));return i("extendTheme").forEach(d=>d(x)),z(w({mergeSelectors:!0,warn:!0,blocklist:[],safelist:[],sortLayers:d=>d},r),{presets:o,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:a,theme:x,rulesSize:u,rulesDynamic:l,rulesStaticMap:f,preprocess:i("preprocess"),postprocess:i("postprocess"),preflights:i("preflights"),variants:i("variants").map(ne),shortcuts:jn(i("shortcuts")),extractors:c})}var le="0.25.1";var de=class{constructor(e={},r={}){this.userConfig=e;this.defaults=r;this.config=Rt(e,r)}version=le;_cache=new Map;config;blocked=new Set;parentOrders=new Map;setConfig(e,r){!e||(r&&(this.defaults=r),this.userConfig=e,this.config=Rt(e,this.defaults),this.blocked.clear(),this.parentOrders.clear(),this._cache.clear())}async applyExtractors(e,r,n=new Set){let o={get original(){return e},code:e,id:r};for(let a of this.config.extractors){let i=await a.extract(o);i==null||i.forEach(c=>n.add(c))}return n}async parseToken(e){var i;if(this.blocked.has(e))return;if(this._cache.has(e))return this._cache.get(e);let r=e;for(let c of this.config.preprocess)r=c(e);if(this.isBlocked(r)){this.blocked.add(e),this._cache.set(e,null);return}let n=this.matchVariants(e,r);if(!n||this.isBlocked(n[1])){this.blocked.add(e),this._cache.set(e,null);return}let o={rawSelector:e,currentSelector:n[1],theme:this.config.theme,generator:this,variantHandlers:n[2],constructCSS:(...c)=>this.constructCustomCSS(o,...c)},a=this.expandShortcut(n[1],o);if(a){let c=await this.stringifyShortcuts(n,o,a[0],a[1]);if(c==null?void 0:c.length)return this._cache.set(e,c),c}else{let c=(i=await this.parseUtil(n,o))==null?void 0:i.map(l=>this.stringifyUtil(l)).filter(oe);if(c==null?void 0:c.length)return this._cache.set(e,c),c}this._cache.set(e,null)}async generate(e,{id:r,scope:n,preflights:o=!0,safelist:a=!0,minify:i=!1}={}){let c=typeof e=="string"?await this.applyExtractors(e,r):e;a&&this.config.safelist.forEach(p=>c.add(p));let l=i?"":`
|
|
2
2
|
`,f=new Set(["default"]),u=new Set,x=new Map;await Promise.all(Array.from(c).map(async p=>{var y;if(u.has(p))return;let g=await this.parseToken(p);if(g!=null){u.add(p);for(let k of g){let j=k[3]||"";x.has(j)||x.set(j,[]),x.get(j).push(k),((y=k[4])==null?void 0:y.layer)&&f.add(k[4].layer)}}})),o&&this.config.preflights.forEach(p=>{p.layer&&f.add(p.layer)});let d={},h=this.config.sortLayers(Array.from(f).sort((p,g)=>{var y,k;return((y=this.config.layers[p])!=null?y:0)-((k=this.config.layers[g])!=null?k:0)||p.localeCompare(g)})),E={};o&&(E=Object.fromEntries(await Promise.all(h.map(async p=>{let y=(await Promise.all(this.config.preflights.filter(k=>(k.layer||"default")===p).map(async k=>await k.getCSS()))).filter(Boolean).join(l);return[p,y]}))));let F=p=>{if(d[p])return d[p];let g=Array.from(x).sort((y,k)=>{var j,U,m;return((j=this.parentOrders.get(y[0]))!=null?j:0)-((U=this.parentOrders.get(k[0]))!=null?U:0)||((m=y[0])==null?void 0:m.localeCompare(k[0]||""))||0}).map(([y,k])=>{let j=k.length,U=k.filter(v=>{var R;return(((R=v[4])==null?void 0:R.layer)||"default")===p}).sort((v,R)=>{var X,Y,A;return v[0]-R[0]||(((X=v[4])==null?void 0:X.sort)||0)-(((Y=R[4])==null?void 0:Y.sort)||0)||((A=v[1])==null?void 0:A.localeCompare(R[1]||""))||0}).map(v=>{var R;return[v[1]?Mn(v[1],n):v[1],v[2],!!((R=v[4])==null?void 0:R.noMerge)]}).map(v=>[v[0]==null?v[0]:[v[0]],v[1],v[2]]);if(!U.length)return;let m=U.reverse().map(([v,R,X],Y)=>{if(!X&&v&&this.config.mergeSelectors)for(let A=Y+1;A<j;A++){let J=U[A];if(J&&!J[2]&&J[0]&&J[1]===R)return J[0].push(...v),null}return v?`${[...new Set(v)].join(`,${l}`)}{${R}}`:R}).filter(Boolean).reverse().join(l);return y?`${y}{${l}${m}${l}}`:m}).filter(Boolean).join(l);return o&&(g=[E[p],g].filter(Boolean).join(l)),d[p]=!i&&g?`/* layer: ${p} */${l}${g}`:g},$=(p=h,g)=>p.filter(y=>!(g==null?void 0:g.includes(y))).map(y=>F(y)||"").filter(Boolean).join(l);return{get css(){return $()},layers:h,getLayers:$,getLayer:F,matched:u}}matchVariants(e,r){let n=new Set,o=[],a=r||e,i=!1,c={rawSelector:e,theme:this.config.theme,generator:this};for(;;){i=!1;for(let l of this.config.variants){if(!l.multiPass&&n.has(l))continue;let f=l.match(a,c);if(!!f&&(typeof f=="string"&&(f={matcher:f}),f)){a=f.matcher,Array.isArray(f.parent)&&this.parentOrders.set(f.parent[0],f.parent[1]),o.push(f),n.add(l),i=!0;break}}if(!i)break;if(o.length>500)throw new Error(`Too many variants applied to "${e}"`)}return[e,a,o]}applyVariants(e,r=e[4],n=e[1]){let o=[...r].sort((c,l)=>(c.order||0)-(l.order||0)),a=o.reduce((c,l)=>{var f;return((f=l.body)==null?void 0:f.call(l,c))||c},e[2]),i={selector:o.reduce((c,l)=>{var f;return((f=l.selector)==null?void 0:f.call(l,c,a))||c},_n(n)),entries:a,parent:o.reduce((c,l)=>Array.isArray(l.parent)?l.parent[0]:l.parent||c,void 0),layer:o.reduce((c,l)=>l.layer||c,void 0),sort:o.reduce((c,l)=>l.sort||c,void 0)};for(let c of this.config.postprocess)c(i);return i}constructCustomCSS(e,r,n){r=et(r);let{selector:o,entries:a,parent:i}=this.applyVariants([0,n||e.rawSelector,r,void 0,e.variantHandlers]),c=`${o}{${pt(a)}}`;return i?`${i}{${c}}`:c}async parseUtil(e,r,n=!1){var u,x;let[o,a,i]=typeof e=="string"?this.matchVariants(e):e,c=this.config.rulesStaticMap[a];if(c&&c[1]&&(n||!((u=c[2])==null?void 0:u.internal)))return[[c[0],o,et(c[1]),c[2],i]];r.variantHandlers=i;let{rulesDynamic:l,rulesSize:f}=this.config;for(let d=f;d>=0;d--){let h=l[d];if(!h||((x=h[2])==null?void 0:x.internal)&&!n)continue;let[E,F,$]=h,p=a.match(E);if(!p)continue;let g=await F(p,r);if(!g)continue;if(typeof g=="string")return[[d,g,$]];let y=Qt(g).filter(k=>k.length);if(y.length)return y.map(k=>[d,o,k,$,i])}}stringifyUtil(e){var d;if(!e)return;if(wt(e))return[e[0],void 0,e[1],void 0,e[2]];let{selector:r,entries:n,parent:o,layer:a,sort:i}=this.applyVariants(e),c=pt(n);if(!c)return;let h=(d=e[3])!=null?d:{},{layer:l,sort:f}=h,u=Jt(h,["layer","sort"]),x=z(w({},u),{layer:a!=null?a:l,sort:i!=null?i:f});return[e[0],r,c,o,x]}expandShortcut(e,r,n=3){if(n===0)return;let o,a;for(let i of this.config.shortcuts)if(ee(i)){if(i[0]===e){o=o||i[2],a=i[1];break}}else{let c=e.match(i[0]);if(c&&(a=i[1](c,r)),a){o=o||i[2];break}}if(typeof a=="string"&&(a=ae(a).split(/\s+/g)),!!a)return[a.flatMap(i=>{var c;return((c=this.expandShortcut(i,r,n-1))==null?void 0:c[0])||[i]}).filter(i=>i!==""),o]}async stringifyShortcuts(e,r,n,o={layer:this.config.shortcutsLayer}){var f;let a=new St,i=(await Promise.all(mt(n).map(async u=>{let x=await this.parseUtil(u,r,!0);return x||se(`unmatched utility "${u}" in shortcut "${e[1]}"`),x||[]}))).flat(1).filter(Boolean).sort((u,x)=>u[0]-x[0]),[c,,l]=e;for(let u of i){if(wt(u))continue;let{selector:x,entries:d,parent:h,sort:E}=this.applyVariants(u,[...u[4],...l],c);a.getFallback(x,h,[[],u[0]])[0].push([d,!!((f=u[3])==null?void 0:f.noMerge),E!=null?E:0])}return a.map(([u,x],d,h)=>{let E=($,p,g)=>{let y=Math.max(...g.map(j=>j[1])),k=g.map(j=>j[0]);return($?[k.flat(1)]:k).map(j=>{let U=pt(j);if(U)return[x,d,U,h,z(w({},o),{noMerge:p,sort:y})]})};return[[u.filter(([,$])=>$).map(([$,,p])=>[$,p]),!0],[u.filter(([,$])=>!$).map(([$,,p])=>[$,p]),!1]].map(([$,p])=>[...E(!1,p,$.filter(([g])=>g.some(y=>y[0]===T))),...E(!0,p,$.filter(([g])=>g.every(y=>y[0]!==T)))])}).flat(2).filter(Boolean)}isBlocked(e){return!e||this.config.blocklist.some(r=>typeof r=="string"?r===e:r.test(e))}};function ue(t,e){return new de(t,e)}var pe=/ \$\$ /,Tn=t=>t.match(pe);function Mn(t,e){return Tn(t)?t.replace(pe,e?` ${e} `:" "):e?`${e} ${t}`:t}var fe=/^\[(.+?)(~?=)"(.*)"\]$/;function _n(t){return fe.test(t)?t.replace(fe,(e,r,n,o)=>`[${ut(r)}${n}"${ut(o)}"]`):`.${ut(t)}`}var zt={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"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827"},slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917"},light:{50:"#fdfdfd",100:"#fcfcfc",200:"#fafafa",300:"#f8f9fa",400:"#f6f6f6",500:"#f2f2f2",600:"#f1f3f5",700:"#e9ecef",800:"#dee2e6",900:"#dde1e3"},dark:{50:"#4a4a4a",100:"#3c3c3c",200:"#323232",300:"#2d2d2d",400:"#222222",500:"#1f1f1f",600:"#1c1c1e",700:"#1b1b1b",800:"#181818",900:"#0f0f0f"},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(zt).forEach(t=>{typeof t!="string"&&(t.DEFAULT=t.DEFAULT||t[400],Object.keys(t).forEach(e=>{let r=+e/100;r===Math.round(r)&&(t[r]=t[e])}))});var me={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(",")},ge={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"]},be={DEFAULT:"1.5rem",xs:"0.5rem",sm:"1rem",md:"1.5rem",lg:"2rem",xl:"2.5rem","2xl":"3rem","3xl":"4rem"},he={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},xe={DEFAULT:["0 0 1px rgba(0,0,0,0.2)","0 0 1px rgba(1,0,5,0.1)"],sm:"1px 1px 3px rgba(36,37,47,0.25)",md:["0 1px 2px rgba(30,29,39,0.19)","1px 2px 4px rgba(54,64,147,0.18)"],lg:["3px 3px 6px rgba(0,0,0,0.26)","0 0 5px rgba(15,3,86,0.22)"],xl:["1px 1px 3px rgba(0,0,0,0.29)","2px 4px 7px rgba(73,64,125,0.35)"],none:"0 0 #0000"},ye={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},Vt={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},ve=Vt,Tt={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},ke=w({},Tt),$e={DEFAULT:"0.25rem",none:"0px",sm:"0.125rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},we={DEFAULT:["var(--un-shadow-inset) 0 1px 3px 0 rgba(0,0,0,0.1)","var(--un-shadow-inset) 0 1px 2px -1px rgba(0,0,0,0.1)"],sm:"var(--un-shadow-inset) 0 1px 2px 0 rgba(0,0,0,0.05)",md:["var(--un-shadow-inset) 0 4px 6px -1px rgba(0,0,0,0.1)","var(--un-shadow-inset) 0 2px 4px -2px rgba(0,0,0,0.1)"],lg:["var(--un-shadow-inset) 0 10px 15px -3px rgba(0,0,0,0.1)","var(--un-shadow-inset) 0 4px 6px -4px rgba(0,0,0,0.1)"],xl:["var(--un-shadow-inset) 0 20px 25px -5px rgba(0,0,0,0.1)","var(--un-shadow-inset) 0 8px 10px -6px rgba(0,0,0,0.1)"],"2xl":"var(--un-shadow-inset) 0 25px 50px -12px rgba(0,0,0,0.25)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.05)",none:"0 0 #0000"},Se={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)"},Ce={DEFAULT:"8px","0":"0",sm:"4px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},Re={DEFAULT:["0 1px 2px rgba(0,0,0,0.1)","0 1px 1px rgba(0,0,0,0.06)"],sm:"0 1px 1px rgba(0,0,0,0.05)",md:["0 4px 3px rgba(0,0,0,0.07)","0 2px 2px rgba(0,0,0,0.06)"],lg:["0 10px 8px rgba(0,0,0,0.04)","0 4px 3px rgba(0,0,0,0.1)"],xl:["0 20px 13px rgba(0,0,0,0.03)","0 8px 5px rgba(0,0,0,0.08)"],"2xl":"0 25px 25px rgba(0,0,0,0.15)",none:"0 0 #0000"},ot={xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",prose:"65ch"},jt=z(w({auto:"auto"},ot),{screen:"100vw"}),rt=z(w({none:"none"},ot),{screen:"100vw"}),Et=z(w({auto:"auto"},ot),{screen:"100vh"}),nt=z(w({none:"none"},ot),{screen:"100vh"}),Mt={width:jt,height:Et,maxWidth:rt,maxHeight:nt,minWidth:rt,minHeight:nt,inlineSize:jt,blockSize:Et,maxInlineSize:rt,maxBlockSize:nt,minInlineSize:rt,minBlockSize:nt,colors:zt,fontFamily:me,fontSize:ge,breakpoints:Tt,verticalBreakpoints:ke,borderRadius:$e,lineHeight:ye,letterSpacing:Vt,wordSpacing:ve,boxShadow:we,textIndent:be,textShadow:xe,textStrokeWidth:he,blur:Ce,dropShadow:Re,easing:Se};var Un={mid:"middle",base:"baseline",btm:"bottom"},ze=[[/^(?:vertical|align|v)-(baseline|top|middle|bottom|text-top|text-bottom|sub|super|mid|base|btm)$/,([,t])=>({"vertical-align":Un[t]||t})]],je=[["text-center",{"text-align":"center"}],["text-left",{"text-align":"left"}],["text-right",{"text-align":"right"}],["text-justify",{"text-align":"justify"}]];var _t=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"];function G(t=""){let e=On(t);if(e==null)return;let{type:r,components:n,alpha:o}=e,a=r.toLowerCase();if(n.length!==0&&!(["rgba","hsla"].includes(a)&&o===void 0)&&!(_t.includes(a)&&n.length!==3))return{type:a,components:n,alpha:o}}function M(t,e){let{components:r}=t,{alpha:n,type:o}=t;return n=e!=null?e:n,o=o.toLowerCase(),["hsla","hsl","rgba","rgb"].includes(o)?`${o.replace("a","")}a(${r.join(",")}${n==null?"":`,${n}`})`:(n=n==null?"":` / ${n}`,_t.includes(o)?`${o}(${r.join(" ")}${n})`:`color(${o} ${r.join(" ")}${n})`)}function On(t){if(!t)return;let e=Pn(t);if(e!=null||(e=An(t),e!=null)||(e=Fn(t),e!=null)||(e=Ln(t),e!=null)||(e=Nn(t),e!=null))return e}function Pn(t){let[,e]=t.match(/^#([\da-f]+)$/i)||[];if(!!e)switch(e.length){case 3:case 4:let r=Array.from(e,o=>Number.parseInt(o,16)).map(o=>o<<4|o);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 n=Number.parseInt(e,16);return{type:"rgb",components:e.length===6?[n>>16&255,n>>8&255,n&255]:[n>>24&255,n>>16&255,n>>8&255],alpha:e.length===6?void 0:Math.round((n&255)/255*100)/100}}}function An(t){let e={rebeccapurple:[102,51,153,1]}[t];if(e!=null)return{type:"rgb",components:e.slice(0,3),alpha:e[3]}}function Fn(t){let e=t.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!e)return;let[,r,n]=e,o=at(n,",",5);if(o&&[3,4].includes(o.length))return{type:r,components:o.slice(0,3),alpha:o[3]}}var Dn=new RegExp(`^(${_t.join("|")})\\((.+)\\)$`,"i");function Ln(t){let e=t.match(Dn);if(!e)return;let[,r,n]=e,o=Ee(`${r} ${n}`);if(o){let{alpha:a,components:[i,...c]}=o;return{type:i,components:c,alpha:a}}}function Nn(t){let e=t.match(/^color\((.+)\)$/);if(!e)return;let r=Ee(e[1]);if(r){let{alpha:n,components:[o,...a]}=r;return{type:o,components:a,alpha:n}}}function Ee(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 a=e.splice(r-2);e.push(a.join(" ")),--r}let n=at(e[r-1],"/",3);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}}function Hn(t,e){if(t=t.trim(),t==="")return;let r=t.length,n=0;for(let o=0;o<r;o++)switch(t[o]){case"(":n++;break;case")":if(--n<0)return;break;case e:if(n===0){let a=t.slice(0,o).trim();return a===""?void 0:[a,t.slice(o+1).trim()]}}return[t,""]}function at(t,e,r){if(e=e!=null?e:" ",e.length!==1)return;r=r!=null?r:10;let n=[],o=0;for(;t!=="";){if(++o>r)return;let a=Hn(t,e);if(!a)return;let[i,c]=a;n.push(i),t=c}if(n.length>0)return n}var _={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"]},Ut=z(w({},_),{s:["-inset-inline-start"],e:["-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"]}),Ot={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"],is:["-end-start","-start-start"],ie:["-start-end","-end-end"],"bs-is":["-start-start"],"is-bs":["-start-start"],"bs-ie":["-start-end"],"ie-bs":["-start-end"],"be-is":["-end-start"],"is-be":["-end-start"],"be-ie":["-end-end"],"ie-be":["-end-end"]},Pt={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},Ve=["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"],D=Object.assign({},...Ve.map(t=>({[t.replace(/ /,"-")]:t})),...Ve.map(t=>({[t.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:t})));var Ft={};wn(Ft,{auto:()=>Xn,bracket:()=>Jn,cssvar:()=>Qn,degree:()=>eo,fraction:()=>Zn,global:()=>ro,number:()=>In,numberWithUnit:()=>Wn,percent:()=>qn,properties:()=>no,px:()=>Gn,rem:()=>Yn,time:()=>to});var Bn=["color","border-color","background-color","flex-grow","flex","flex-shrink","caret-color","font","gap","opacity","visibility","z-index","font-weight","zoom","text-shadow","transform","box-shadow","backround-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"],At=/^(-?[0-9.]+)(px|pt|pc|rem|em|%|vh|vw|in|cm|mm|ex|ch|vmin|vmax|rpx)?$/i,Kn=/^(-?[0-9.]+)$/i,Te=/^(px)$/i;function O(t){return t.toFixed(10).replace(/\.0+$/,"").replace(/(\.\d+?)0+$/,"$1")}function Wn(t){let e=t.match(At);if(!e)return;let[,r,n]=e,o=parseFloat(r);if(n&&!Number.isNaN(o))return`${O(o)}${n}`}function Xn(t){if(t==="auto"||t==="a")return"auto"}function Yn(t){if(t.match(Te))return`1${t}`;let e=t.match(At);if(!e)return;let[,r,n]=e,o=parseFloat(r);if(!Number.isNaN(o))return n?`${O(o)}${n}`:`${O(o/4)}rem`}function Gn(t){if(t.match(Te))return`1${t}`;let e=t.match(At);if(!e)return;let[,r,n]=e,o=parseFloat(r);if(!Number.isNaN(o))return n?`${O(o)}${n}`:`${O(o)}px`}function In(t){if(!Kn.test(t))return;let e=parseFloat(t);if(!Number.isNaN(e))return O(e)}function qn(t){t.endsWith("%")&&(t=t.slice(0,-1));let e=parseFloat(t);if(!Number.isNaN(e))return`${O(e/100)}`}function Zn(t){if(t==="full")return"100%";let[e,r]=t.split("/"),n=parseFloat(e)/parseFloat(r);if(!Number.isNaN(n))return`${O(n*100)}%`}function Jn(t){if(t&&t[0]==="["&&t[t.length-1]==="]")return t.slice(1,-1).replace(/(url\(.*?\))/g,e=>e.replace(/_/g,"\\_")).replace(/([^\\])_/g,"$1 ").replace(/calc\((.*)/g,e=>e.replace(/(-?\d*\.?\d(?!\b-.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 "))}function Qn(t){if(t.match(/^\$\S/))return`var(--${vt(t.slice(1))})`}function to(t){let e=t.match(/^(-?[0-9.]+)(s|ms)?$/i);if(!e)return;let[,r,n]=e,o=parseFloat(r);if(!Number.isNaN(o))return n?`${O(o)}${n}`:`${O(o)}ms`}function eo(t){let e=t.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);if(!e)return;let[,r,n]=e,o=parseFloat(r);if(!Number.isNaN(o))return n?`${O(o)}${n}`:`${O(o)}deg`}function ro(t){if(["inherit","initial","revert","unset"].includes(t))return t}function no(t){for(let e of t.split(","))if(!Bn.includes(e))return;return t}var s=ce(Ft);var L=(t,e)=>{let r=new RegExp(`^${Q(t)}[:-]`);return n=>{let o=n.match(r);if(o)return{matcher:n.slice(o[0].length),selector:e}}},P=(t,e)=>{let r=new RegExp(`^${Q(t)}[:-]`);return n=>{let o=n.match(r);if(o)return{matcher:n.slice(o[0].length),parent:e}}};var C=t=>([e,r,n])=>{let o=s.bracket.cssvar.auto.fraction.rem(n);if(o!==void 0)return _[r].map(a=>[`${t}${a}`,o])},Dt=(t,e)=>{var r;return(r=t.colors)==null?void 0:r[e.join("-").replace(/(-[a-z])/g,n=>n.slice(1).toUpperCase())]},W=(t,e)=>{let[r,n]=t.split(/(?:\/|:)/),o=r.replace(/([a-z])([0-9])/g,"$1-$2").split(/-/g),[a]=o;if(!a)return;let i,c=s.bracket(r),l=c||r;l.startsWith("#")?i=l:l.startsWith("hex-")?i=`#${l.slice(4)}`:r.startsWith("$")&&(i=s.cssvar(r)),i=i||c;let f="DEFAULT";if(!i){let u,[x]=o.slice(-1);x.match(/^\d+$/)?(f=x,u=Dt(e,o.slice(0,-1))):(u=Dt(e,o),!u&&o.length<=2&&([,f=f]=o,u=Dt(e,[a]))),typeof u=="string"?i=u:f&&u&&(i=u[f])}return{opacity:n,name:a,no:f,color:i,cssColor:G(i),alpha:s.bracket.cssvar.percent(n!=null?n:"")}},S=(t,e)=>([,r],{theme:n})=>{var l;let o=W(r,n);if(!o)return;let{alpha:a,color:i,cssColor:c}=o;if(c)return a!=null?{[t]:M(c,a)}:{[`--un-${e}-opacity`]:(l=c.alpha)!=null?l:1,[t]:M(c,`var(--un-${e}-opacity)`)};if(i)return{[t]:i.replace("%alpha",`${a!=null?a:1}`)}},I=(t,e)=>{let r=[];t=V(t);for(let n=0;n<t.length;n++){let o=at(t[n]," ",6);if(!o||o.length<3)return t;let a=G(o.pop());if(a==null)return t;r.push(`${o.join(" ")} var(${e}, ${M(a)})`)}return r};var Me=[[/^outline-(?:width-|size-)?(.+)$/,([,t])=>({"outline-width":s.bracket.cssvar.px(t)})],[/^outline-(?:color-)?(.+)$/,S("outline-color","outline-color")],[/^outline-offset-(.+)$/,([,t])=>({"outline-offset":s.bracket.cssvar.px(t)})],["outline",{"outline-style":"solid"}],[/^outline-(auto|dashed|dotted|double|hidden|solid|groove|ridge|inset|outset|inherit|initial|revert|unset)$/,([,t])=>({"outline-style":t})],["outline-none",{outline:"2px solid transparent","outline-offset":"2px"}]],_e=[["appearance-none",{appearance:"none","-webkit-appearance":"none"}]],oo=t=>{var e;return(e=s.properties.auto.global(t))!=null?e:{contents:"contents",scroll:"scroll-position"}[t]},Ue=[[/^will-change-(.+)/,([,t])=>({"will-change":oo(t)})]];var Oe=[[/^(?:border|b)()(?:-(.+))?$/,it],[/^(?:border|b)-([xy])(?:-(.+))?$/,it],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,it],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,it],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,it],[/^(?:border|b)-()(?:width|size)-(.+)$/,q],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,q],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,q],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,q],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,q],[/^(?:border|b)-()(?:color-)?(.+)$/,st],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,st],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,st],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,st],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,st],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,ct],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,ct],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,ct],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,ct],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,ct],[/^(?:border-)?(?:rounded|rd)()(?:-(.+))?$/,lt],[/^(?:border-)?(?:rounded|rd)-([rltb])(?:-(.+))?$/,lt],[/^(?:border-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,lt],[/^(?:border-)?(?:rounded|rd)-([bi][se])(?:-(.+))?$/,lt],[/^(?:border-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,lt],["border-solid",{"border-style":"solid"}],["border-dashed",{"border-style":"dashed"}],["border-dotted",{"border-style":"dotted"}],["border-double",{"border-style":"double"}],["border-hidden",{"border-style":"hidden"}],["border-none",{"border-style":"none"}]],ao=(t,{theme:e})=>{var r;return t!==void 0&&!!((r=W(t,e))==null?void 0:r.color)},io=t=>([,e],{theme:r})=>{var c,l;let n=W(e,r);if(!n)return;let{alpha:o,color:a,cssColor:i}=n;if(i)return o!=null?{[`border${t}-color`]:M(i,o)}:t===""?{"--un-border-opacity":(c=i.alpha)!=null?c:1,[`border${t}-color`]:M(i,`var(--un-border${t}-opacity)`)}:{"--un-border-opacity":(l=i.alpha)!=null?l:1,[`--un-border${t}-opacity`]:"var(--un-border-opacity)",[`border${t}-color`]:M(i,`var(--un-border${t}-opacity)`)};if(a)return{[`border${t}-color`]:a.replace("%alpha",`${o!=null?o:1}`)}};function it(t){let e=q(t);if(e)return[...e,["border-style","solid"]]}function q([,t="",e="1"]){let r=s.bracket.cssvar.px(e);if(t in _&&r!=null)return _[t].map(n=>[`border${n}-width`,r])}function st([,t="",e],r){if(t in _&&ao(e,r))return Object.assign({},..._[t].map(n=>io(n)(["",e],r)))}function ct([,t="",e]){let r=s.bracket.percent(e);if(t in _&&r!=null)return _[t].map(n=>[`--un-border${n}-opacity`,r])}function lt([,t="",e="DEFAULT"],{theme:r}){var o;let n=((o=r.borderRadius)==null?void 0:o[e])||s.bracket.cssvar.fraction.rem(e);if(t in Ot&&n!=null)return Ot[t].map(a=>[`border${a}-radius`,n])}var Pe=[[/^op(?:acity)?-?(.+)$/,([,t])=>({opacity:s.bracket.percent.cssvar(t)})]],Ae=[[/^(?:text|color|c)-(.+)$/,S("color","text")],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,t])=>({"--un-text-opacity":s.bracket.percent(t)})]],Fe=[[/^bg-(.+)$/,S("background-color","bg")],[/^bg-op(?:acity)?-?(.+)$/,([,t])=>({"--un-bg-opacity":s.bracket.percent(t)})]];var Le={all:"all",colors:["color","background-color","border-color","text-decoration-color","fill","stroke"].join(","),none:"none",opacity:"opacity",shadow:"box-shadow",transform:"transform"},De=t=>{var e;return(e=s.properties(t))!=null?e:Le[t]},Ne=[[/^transition(?:-([a-z-]+(?:,[a-z-]+)*))?(?:-(\d+))?$/,([,t,e="150"])=>{let r=t!=null?De(t):[Le.colors,"opacity","box-shadow","transform","filter","backdrop-filter"].join(",");if(r)return{"transition-property":r,"transition-timing-function":"cubic-bezier(0.4, 0, 0.2, 1)","transition-duration":`${e}ms`}}],[/^(?:transition-)?duration-(.+)$/,([,t])=>({"transition-duration":s.bracket.cssvar.time(t)})],[/^(?:transition-)?delay-(.+)$/,([,t])=>({"transition-delay":s.bracket.cssvar.time(t)})],[/^(?:transition-)?ease(?:-(.+))?$/,([,t],{theme:e})=>{var r,n;return{"transition-timing-function":(n=(r=e.easing)==null?void 0:r[t||"DEFAULT"])!=null?n:s.bracket.cssvar(t)}}],[/^(?:transition-)?property-(.+)$/,([,t])=>({"transition-property":s.global(t)||De(t)})],["transition-none",{transition:"none"}]];var He=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],["flex-1",{flex:"1 1 0%"}],["flex-auto",{flex:"1 1 auto"}],["flex-initial",{flex:"0 1 auto"}],["flex-none",{flex:"none"}],[/^flex-(\[.+\])$/,([,t])=>({flex:s.bracket(t).replace(/\d+\/\d+/,e=>s.fraction(e))})],[/^(?:flex-)?shrink$/,()=>({"flex-shrink":1})],[/^(?:flex-)?shrink-0$/,()=>({"flex-shrink":0})],[/^(?:flex-)?grow$/,()=>({"flex-grow":1})],[/^(?:flex-)?grow-0$/,()=>({"flex-grow":0})],[/^(?:flex-)?basis-(.+)$/,([,t])=>({"flex-basis":s.bracket.cssvar.auto.fraction.rem(t)})],["flex-row",{"flex-direction":"row"}],["flex-row-reverse",{"flex-direction":"row-reverse"}],["flex-col",{"flex-direction":"column"}],["flex-col-reverse",{"flex-direction":"column-reverse"}],["flex-wrap",{"flex-wrap":"wrap"}],["flex-wrap-reverse",{"flex-wrap":"wrap-reverse"}],["flex-nowrap",{"flex-wrap":"nowrap"}]];var so={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},Be=[[/^font-(\w+)$/,([,t],{theme:e})=>{var r;return{"font-family":(r=e.fontFamily)==null?void 0:r[t]}}],[/^text-(.+)$/,([,t="base"],{theme:e})=>{var n;let r=V((n=e.fontSize)==null?void 0:n[t]);if(r==null?void 0:r[0]){let[o,a="1"]=r;return{"font-size":o,"line-height":a}}return{"font-size":s.bracket.rem(t)}}],[/^text-size-(.+)$/,([,t])=>({"font-size":s.bracket.cssvar.rem(t)})],[/^(?:font|fw)-?([^-]+)$/,([,t])=>({"font-weight":so[t]||s.number(t)})],[/^(?:leading|lh)-(.+)$/,([,t],{theme:e})=>{var r;return{"line-height":((r=e.lineHeight)==null?void 0:r[t])||s.bracket.cssvar.rem(t)}}],[/^tracking-(.+)$/,([,t],{theme:e})=>{var r;return{"letter-spacing":((r=e.letterSpacing)==null?void 0:r[t])||s.bracket.cssvar.rem(t)}}],[/^word-spacing-(.+)$/,([,t],{theme:e})=>{var r;return{"word-spacing":((r=e.wordSpacing)==null?void 0:r[t])||s.bracket.cssvar.rem(t)}}]],Ke=[[/^tab(?:-(.+))?$/,([,t])=>{let e=s.bracket.cssvar.global.number(t||"4");if(e!=null)return{"-moz-tab-size":e,"-o-tab-size":e,"tab-size":e}}]],We=[[/^indent(?:-(.+))?$/,([,t],{theme:e})=>{var r;return{"text-indent":((r=e.textIndent)==null?void 0:r[t||"DEFAULT"])||s.bracket.cssvar.fraction.rem(t)}}]],Xe=[[/^text-stroke(?:-(.+))?$/,([,t],{theme:e})=>{var r;return{"-webkit-text-stroke-width":((r=e.textStrokeWidth)==null?void 0:r[t||"DEFAULT"])||s.bracket.cssvar.px(t)}}],[/^text-stroke-(.+)$/,S("-webkit-text-stroke-color","text-stroke")],[/^text-stroke-op(?:acity)?-?(.+)$/,([,t])=>({"--un-text-stroke-opacity":s.bracket.percent(t)})]],Ye=[[/^text-shadow(?:-(.+))?$/,([,t],{theme:e})=>{var n;let r=(n=e.textShadow)==null?void 0:n[t||"DEFAULT"];return r!=null?{"--un-text-shadow":I(r,"--un-text-shadow-color").join(","),"text-shadow":"var(--un-text-shadow)"}:{"text-shadow":s.bracket.cssvar(t)}}],[/^text-shadow-color-(.+)$/,S("--un-text-shadow-color","text-shadow")],[/^text-shadow-color-op(?:acity)?-?(.+)$/,([,t])=>({"--un-text-shadow-opacity":s.bracket.percent(t)})]];var Ge={"":"",x:"column-",y:"row-"},Ie=([,t="",e])=>{let r=s.bracket.cssvar.rem(e);if(r!=null)return{[`grid-${Ge[t]}gap`]:r,[`${Ge[t]}gap`]:r}},qe=[[/^(?:flex-|grid-)?gap-()([^-]+)$/,Ie],[/^(?:flex-|grid-)?gap-([xy])-([^-]+)$/,Ie]];var N=t=>t.replace("col","column"),co=(t,e)=>{var n;let r=(n=e.fontSize)==null?void 0:n[t];if(r!=null)return V(r)[0];switch(t){case"min":return"min-content";case"max":return"max-content";case"fr":return"minmax(0,1fr)"}return s.bracket.cssvar.auto.rem(t)},Ze=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,t,e])=>({[`grid-${N(t)}`]:s.bracket.cssvar.auto(e)})],[/^(?:grid-)?(row|col)-span-(.+)$/,([,t,e])=>{if(e==="full")return{[`grid-${N(t)}`]:"1/-1"};let r=s.bracket.number(e);if(r!=null)return{[`grid-${N(t)}`]:`span ${r}/span ${r}`}}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,t,e])=>{var r;return{[`grid-${N(t)}-start`]:(r=s.bracket.cssvar(e))!=null?r:e}}],[/^(?:grid-)?(row|col)-end-(.+)$/,([,t,e])=>{var r;return{[`grid-${N(t)}-end`]:(r=s.bracket.cssvar(e))!=null?r:e}}],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,t,e],{theme:r})=>({[`grid-auto-${N(t)}`]:co(e,r)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,t])=>({"grid-auto-flow":s.bracket.cssvar(t)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-((?:row|col)(?:-dense)?)$/,([,t])=>({"grid-auto-flow":N(t).replace("-"," ")})],[/^grid-(rows|cols)-(.+)$/,([,t,e])=>({[`grid-template-${N(t)}`]:s.bracket.cssvar(e)})],[/^grid-(rows|cols)-minmax-([\w.-]+)$/,([,t,e])=>({[`grid-template-${N(t)}`]:`repeat(auto-fill,minmax(${e},1fr))`})],[/^grid-(rows|cols)-(\d+)$/,([,t,e])=>({[`grid-template-${N(t)}`]:`repeat(${e},minmax(0,1fr))`})],["grid-rows-none",{"grid-template-rows":"none"}],["grid-cols-none",{"grid-template-columns":"none"}]];var Je=["auto","hidden","clip","visible","scroll"],Qe=[[/^(?:overflow|of)-(.+)$/,([,t])=>Je.includes(t)?{overflow:t}:void 0],[/^(?:overflow|of)-([xy])-(.+)$/,([,t,e])=>Je.includes(e)?{[`overflow-${t}`]:e}:void 0]];var tr=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,t])=>({position:t})],[/^(?:position-|pos-)?(static)$/,([,t])=>({position:t})]],er=[["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-items-start",{"justify-items":"start"}],["justify-items-end",{"justify-items":"end"}],["justify-items-center",{"justify-items":"center"}],["justify-items-stretch",{"justify-items":"stretch"}],["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"}]],rr=[[/^order-(.+)$/,([,t])=>({order:s.bracket.cssvar.number(t)})],["order-first",{order:"-9999"}],["order-last",{order:"9999"}],["order-none",{order:"0"}]],nr=[["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"}],["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"}],["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"}]],or=[["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-items-start",{"place-items":"start"}],["place-items-end",{"place-items":"end"}],["place-items-center",{"place-items":"center"}],["place-items-stretch",{"place-items":"stretch"}],["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"}]];function Lt(t){return s.bracket.cssvar.auto.fraction.rem(t)}function gt([,t,e]){let r=Lt(e);if(r!=null&&t in Ut)return Ut[t].map(n=>[n.slice(1),r])}var ar=[[/^(?:position-|pos-)?inset-(.+)$/,([,t])=>({inset:Lt(t)})],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,gt],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,gt],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,gt],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,gt],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,t,e])=>({[t]:Lt(e)})]],ir=[["float-left",{float:"left"}],["float-right",{float:"right"}],["float-none",{float:"none"}],["clear-left",{clear:"left"}],["clear-right",{clear:"right"}],["clear-both",{clear:"both"}],["clear-none",{clear:"none"}]],sr=[[/^z-(.+)$/,([,t])=>({"z-index":s.bracket.cssvar.auto.number(t)})]],cr=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}]];var b="var(--un-empty,/*!*/ /*!*/)",lr=[["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:s.bracket.cssvar(t)||t})]],fr=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}]],dr=[[/^cursor-(.+)$/,([,t])=>({cursor:s.bracket.cssvar(t)||t})]],ur=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}]],pr=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}]],mr=[["select-auto",{"user-select":"auto"}],["select-all",{"user-select":"all"}],["select-text",{"user-select":"text"}],["select-none",{"user-select":"none"}]],gr=[[/^(?:whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap)$/,([,t])=>({"white-space":t})]],br=[[/^content-\[(.+)\]$/,([,t])=>({content:`"${t}"`})],["content-empty",{content:'""'}],["content-none",{content:'""'}]],hr=[["break-normal",{"overflow-wrap":"normal","word-break":"normal"}],["break-words",{"overflow-wrap":"break-word"}],["break-all",{"word-break":"break-all"}]],xr=[["truncate",{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}],["text-ellipsis",{"text-overflow":"ellipsis"}],["text-clip",{"text-overflow":"clip"}]];var yr=[["italic",{"font-style":"italic"}],["not-italic",{"font-style":"normal"}]],vr=[["antialiased",{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","font-smoothing":"grayscale"}],["subpixel-antialiased",{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto","font-smoothing":"auto"}]];var Nt={[T]:"","--un-ring-offset-shadow":"0 0 #0000","--un-ring-shadow":"0 0 #0000","--un-shadow-inset":b,"--un-shadow":"0 0 #0000"},kr=[[/^shadow(?:-(.+))?$/,([,t],{theme:e})=>{var n;let r=(n=e.boxShadow)==null?void 0:n[t||"DEFAULT"];if(r)return[Nt,{"--un-shadow":I(r,"--un-shadow-color").join(","),"box-shadow":"var(--un-ring-offset-shadow, 0 0 #0000), var(--un-ring-shadow, 0 0 #0000), var(--un-shadow)"}]}],[/^shadow-(.+)$/,S("--un-shadow-color","shadow")],[/^shadow-op(?:acity)?-?(.+)$/,([,t])=>({"--un-shadow-opacity":s.bracket.percent(t)})],["shadow-inset",{"--un-shadow-inset":"inset"}]];var lo=z(w({},Nt),{"--un-ring-inset":b,"--un-ring-offset-width":"0px","--un-ring-offset-color":"#fff","--un-ring-width":"0px","--un-ring-color":"rgba(147,197,253,0.5)"}),$r=[[/^ring(?:-(.+))?$/,([,t])=>{let e=s.px(t||"1");if(e)return[lo,{"--un-ring-width":e,"--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, 0 0 #0000)"}]}],[/^ring-(?:width-|size-)(.+)$/,([,t])=>({"--un-ring-width":s.bracket.cssvar.px(t)})],["ring-offset",{"--un-ring-offset-width":"1px"}],[/^ring-offset-(?:width-|size-)?(.+)$/,([,t])=>({"--un-ring-offset-width":s.bracket.cssvar.px(t)})],[/^ring-(.+)$/,S("--un-ring-color","ring")],[/^ring-op(?:acity)?-?(.+)$/,([,t])=>({"--un-ring-opacity":s.bracket.percent(t)})],[/^ring-offset-(.+)$/,S("--un-ring-offset-color","ring-offset")],[/^ring-offset-op(?:acity)?-?(.+)$/,([,t])=>({"--un-ring-offset-opacity":s.bracket.percent(t)})],["ring-inset",{"--un-ring-inset":"inset"}]];var fo={h:"height",w:"width",inline:"inline-size",block:"block-size"};function ft(t,e){return`${t||""}${fo[e]}`}function wr(t,e,r,n){var i;let o=ft(t,e).replace(/-(\w)/g,(c,l)=>l.toUpperCase()),a=(i=r[o])==null?void 0:i[n];if(a!=null)return a;switch(n){case"fit":case"max":case"min":return`${n}-content`}return s.bracket.cssvar.auto.fraction.rem(n)}var Sr=[[/^(min-|max-)?([wh])-(.+)$/,([,t,e,r],{theme:n})=>({[ft(t,e)]:wr(t,e,n,r)})],[/^(min-|max-)?(block|inline)-(.+)$/,([,t,e,r],{theme:n})=>({[ft(t,e)]:wr(t,e,n,r)})],[/^(min-|max-)?(h)-screen-(.+)$/,([,t,e,r],{theme:n})=>{var o;return{[ft(t,e)]:(o=n.verticalBreakpoints)==null?void 0:o[r]}}],[/^(min-|max-)?(w)-screen-(.+)$/,([,t,e,r],{theme:n})=>{var o;return{[ft(t,e)]:(o=n.breakpoints)==null?void 0:o[r]}}]];function uo(t){if(/^\d+\/\d+$/.test(t))return t;switch(t){case"square":return"1/1";case"video":return"16/9"}return s.bracket.cssvar.auto.number(t)}var Cr=[[/^aspect-(?:ratio-)?(.+)$/,([,t])=>({"aspect-ratio":uo(t)})]];var Rr=[[/^pa?()-?(-?.+)$/,C("padding")],[/^p-?([xy])-?(-?.+)$/,C("padding")],[/^p-?([rltbse])-?(-?.+)$/,C("padding")],[/^p-(block|inline)-(-?.+)$/,C("padding")],[/^p-?([bi][se])-?(-?.+)$/,C("padding")]],zr=[[/^ma?()-?(-?.+)$/,C("margin")],[/^m-?([xy])-?(-?.+)$/,C("margin")],[/^m-?([rltbse])-?(-?.+)$/,C("margin")],[/^m-(block|inline)-(-?.+)$/,C("margin")],[/^m-?([bi][se])-?(-?.+)$/,C("margin")]];var po={"--un-transform":["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(" ")},Tr={"--un-transform":["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(" ")},Z=z(w({"--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},Tr),{[T]:""}),Mr=[[/^(?:transform-)?origin-(.+)$/,([,t])=>{var e;return{"transform-origin":(e=D[t])!=null?e:s.bracket.cssvar(t)}}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,t])=>{let e=s.bracket.cssvar.px.numberWithUnit(t);if(e!=null)return{"-webkit-perspective":e,perspective:e}}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,t])=>{var r;let e=(r=s.bracket.cssvar(t))!=null?r:t.length>=3?D[t]:void 0;if(e!=null)return{"-webkit-perspective-origin":e,"perspective-origin":e}}],[/^(?:transform-)?translate-()(.+)$/,jr],[/^(?:transform-)?translate-([xyz])-(.+)$/,jr],[/^(?:transform-)?rotate-()(.+)$/,Vr],[/^(?:transform-)?rotate-([xyz])-(.+)$/,Vr],[/^(?:transform-)?skew-([xy])-(.+)$/,mo],[/^(?:transform-)?scale-()(.+)$/,Er],[/^(?:transform-)?scale-([xyz])-(.+)$/,Er],[/^(?:transform-)?preserve-3d$/,()=>({"transform-style":"preserve-3d"})],[/^(?:transform-)?preserve-flat$/,()=>({"transform-style":"flat"})],[/^transform$/,()=>[Z,{transform:"var(--un-transform)"}]],["transform-gpu",po],["transform-cpu",Tr],["transform-none",{transform:"none"}]];function jr([,t,e]){let r=s.bracket.cssvar.fraction.rem(e);if(r!=null)return[Z,[...Pt[t].map(n=>[`--un-translate${n}`,r]),["transform","var(--un-transform)"]]]}function Er([,t,e]){let r=s.bracket.cssvar.fraction.percent(e);if(r!=null)return[Z,[...Pt[t].map(n=>[`--un-scale${n}`,r]),["transform","var(--un-transform)"]]]}function Vr([,t="",e]){let r=s.bracket.cssvar.degree(e);if(r!=null)return t?[Z,{"--un-rotate":0,[`--un-rotate-${t}`]:r,transform:"var(--un-transform)"}]:[Z,{"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-rotate":r,transform:"var(--un-transform)"}]}function mo([,t,e]){let r=s.bracket.cssvar.degree(e);if(r!=null)return[Z,{[`--un-skew-${t}`]:r,transform:"var(--un-transform)"}]}var go={backface:"backface-visibility",break:"word-break",case:"text-transform",content:"align-content",flex:"flex",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"},_r=[[/^(.+?)-(\$.+)$/,([,t,e])=>{let r=go[t];if(r)return{[r]:s.cssvar(e)}}]],Ur=[[/^\[([^:]+):(.+)\]$/,([,t,e])=>({[t]:s.bracket(`[${e}]`)})]];var Or=[[/^(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}}
|
|
3
3
|
${e({animation:"__un_qm 0.5s ease-in-out alternate infinite"})}`}]];var Pr=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,t])=>({"text-decoration-line":t})],[/^(?:underline|decoration)-(?:size-)?(.+)$/,([,t])=>({"text-decoration-thickness":s.bracket.cssvar.px(t)})],[/^(?:underline|decoration)-(auto|from-font)$/,([,t])=>({"text-decoration-thickness":t})],[/^(?:underline|decoration)-(.+)$/,(t,e)=>{let r=S("text-decoration-color","line")(t,e);if(r)return w({"-webkit-text-decoration-color":r["text-decoration-color"]},r)}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,t])=>({"--un-line-opacity":s.bracket.percent(t)})],[/^(?:underline|decoration)-offset-(.+)$/,([,t])=>({"text-underline-offset":s.auto.bracket.cssvar.px(t)})],[/^(?:underline|decoration)-(solid|double|dotted|dashed|wavy|inherit|initial|revert|unset)$/,([,t])=>({"text-decoration-style":t})],["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];var Ar=[[/^fill-(.+)$/,S("fill","fill")],[/^fill-op(?:acity)?-?(.+)$/,([,t])=>({"--un-fill-opacity":s.bracket.percent(t)})],["fill-none",{fill:"none"}],[/^stroke-(?:width-|size-)?(.+)$/,([,t])=>({"stroke-width":s.bracket.cssvar.fraction.px.number(t)})],[/^stroke-dash-(.+)$/,([,t])=>({"stroke-dasharray":s.bracket.cssvar.number(t)})],[/^stroke-offset-(.+)$/,([,t])=>({"stroke-dashoffset":s.bracket.cssvar.px.numberWithUnit(t)})],[/^stroke-(.+)$/,S("stroke","stroke")],[/^stroke-op(?:acity)?-?(.+)$/,([,t])=>({"--un-stroke-opacity":s.bracket.percent(t)})],["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"}]];var Ht={},Fr=(t,{theme:e})=>{let r=Object.entries(e.breakpoints||{}).map(([n,o],a)=>[n,o,a]);for(let[n,o,a]of r){Ht[n]||(Ht[n]=new RegExp(`^((?:[al]t-)?${n}[:-])`));let i=t.match(Ht[n]);if(!i)continue;let[,c]=i,l=t.slice(c.length);if(l==="container")continue;let f="min",u=1e3;return c.startsWith("lt-")?(f="max",u-=a+1):u+=a+1,c.startsWith("at-")&&a<r.length-1?{matcher:l,parent:[`@media (min-width: ${o}) and (max-width: ${r[a+1][1]})`,u]}:{matcher:l,parent:[`@media (${f}-width: ${o})`,u]}}};var H=(t,e,r)=>{let n=t?new RegExp(`^${e}(?:-\\[(.+?)\\])[:-]`):new RegExp(`^${e}(?:-\\[(.+?)\\])?[:-]`);return o=>{let a=o.match(n);if(a)return{matcher:o.slice(a[0].length),selector:i=>{var c;return r.replace("&&-s",i).replace("&&-c",(c=a[1])!=null?c:"*")}}}},Dr=[H(!1,"all","&&-s &&-c"),H(!1,"children","&&-s>&&-c"),H(!1,"next","&&-s+&&-c"),H(!1,"sibling","&&-s+&&-c"),H(!1,"siblings","&&-s~&&-c"),H(!0,"group","&&-c &&-s"),H(!0,"parent","&&-c>&&-s"),H(!0,"previous","&&-c+&&-s"),H(!0,"peer","&&-c~&&-s")];var Lr=P("print","@media print"),Nr=(t,{theme:e})=>{var n,o;let r=t.match(/^media-([_\d\w]+)[:-]/);if(r){let a=(o=(n=e.media)==null?void 0:n[r[1]])!=null?o:`(--${r[1]})`;return{matcher:t.slice(r[0].length),parent:`@media ${a}`}}};var Hr=(t={})=>(t==null?void 0:t.dark)==="class"?[L("dark",e=>`.dark $$ ${e}`),L("light",e=>`.light $$ ${e}`)]:[P("dark","@media (prefers-color-scheme: dark)"),P("light","@media (prefers-color-scheme: light)")];var Br=[L("rtl",t=>`[dir="rtl"] $$ ${t}`),L("ltr",t=>`[dir="ltr"] $$ ${t}`)];var Kr={match(t){let e=t.match(/^selector-\[(.+?)\][:-]/);if(e)return{matcher:t.slice(e[0].length),selector:()=>e[1]}}},Wr={match(t){let e=t.match(/^layer-([_\d\w]+)[:-]/);if(e)return{matcher:t.slice(e[0].length),layer:e[1]}}},Xr={match(t){let e=t.match(/^scope-([_\d\w]+)[:-]/);if(e)return{matcher:t.slice(e[0].length),selector:r=>`.${e[1]} $$ ${r}`}}},Yr={match(t){if(t.startsWith("!"))return{matcher:t.slice(1),body:e=>(e.forEach(r=>{r[1]&&(r[1]+=" !important")}),e)}}},Gr={match(t){if(t.startsWith("-"))return{matcher:t.slice(1),body:e=>(e.forEach(r=>{var n,o;r[0].startsWith("--un-scale")||((n=r[1])==null?void 0:n.toString())==="0"||(r[1]=(o=r[1])==null?void 0:o.toString().replace(/[0-9.]+(?:[a-z]+|%)?/,a=>`-${a}`))}),e)}}};var ht=Object.fromEntries(["any-link","link","visited","target",["open","[open]"],"hover","active","focus-visible","focus-within","focus","autofill","enabled","disabled","read-only","read-write","placeholder-shown","default","checked","indeterminate","valid","invalid","in-range","out-of-range","required","optional","root","empty",["even-of-type",":nth-of-type(even)"],["even",":nth-child(even)"],["odd-of-type",":nth-of-type(odd)"],["odd",":nth-child(odd)"],"first-of-type",["first",":first-child"],"last-of-type",["last",":last-child"],"only-child","only-of-type"].map(V)),Ir=Object.fromEntries(["placeholder","before","after","first-letter","first-line","selection","marker",["file","::file-selector-button"]].map(V)),bo=["not","is","where","has"],ho=Object.keys(Ir).join("|"),Bt=Object.keys(ht).join("|"),qr=bo.join("|"),xo=/(part-\[(.+)]:)(.+)/,yo=new RegExp(`^(${ho})[:-]`),vo=new RegExp(`^(${Bt})[:-]`),ko=new RegExp(`^(${qr})-(${Bt})[:-]`),Zr=t=>{if(t==="active")return 1},bt=(t,e,r)=>{let n=new RegExp(`^${t}-((?:(${qr})-)?(${Bt}))[:-]`),o=new RegExp(`^${Q(e)}:`);return a=>{let i=a.match(n);if(i){let c=ht[i[3]]||`:${i[3]}`;return i[2]&&(c=`:${i[2]}(${c})`),{matcher:a.slice(i[0].length),selector:l=>o.test(l)?l.replace(o,`${e}${c}:`):`${e}${c}${r}${l}`,sort:Zr(i[3])}}}},Jr=t=>{let e=t.match(yo);if(e){let r=Ir[e[1]]||`::${e[1]}`;return{matcher:t.slice(e[0].length),selector:n=>`${n}${r}`}}},Qr={match:t=>{let e=t.match(vo);if(e){let r=ht[e[1]]||`:${e[1]}`;return{matcher:t.slice(e[0].length),selector:n=>`${n}${r}`,sort:Zr(e[1])}}},multiPass:!0},tn={match:t=>{let e=t.match(ko);if(e){let r=e[1],n=ht[e[2]]||`:${e[2]}`;return{matcher:t.slice(e[0].length),selector:o=>`${o}:${r}(${n})`}}},multiPass:!0},en=(t={})=>{let e=!!(t==null?void 0:t.attributifyPseudo);return[{match:bt("group",e?'[group=""]':".group"," "),multiPass:!0},{match:bt("peer",e?'[peer=""]':".peer","~"),multiPass:!0},{match:bt("parent",e?'[parent=""]':".parent",">"),multiPass:!0},{match:bt("previous",e?'[previous=""]':".previous","+"),multiPass:!0}]},rn={match:t=>{let e=t.match(xo);if(e){let r=`part(${e[2]})`;return{matcher:t.slice(e[1].length),selector:n=>`${n}::${r}`}}},multiPass:!0};var nn=t=>[Kr,Wr,Gr,Yr,Lr,Nr,Fr,...Dr,Qr,tn,...en(t),Jr,rn,...Hr(t),...Br,Xr];var $o=[[/^(?:animate-)?keyframes-(.+)$/,([,t],{theme:e,constructCSS:r})=>{var o,a;let n=(a=(o=e.animation)==null?void 0:o.keyframes)==null?void 0:a[t];if(n)return`@keyframes ${t}${n}
|
|
4
4
|
${r({animation:`${t}`})}`}],[/^animate-(.+)$/,([,t],{theme:e,constructCSS:r})=>{var o,a,i,c,l,f,u,x,d,h;let n=(a=(o=e.animation)==null?void 0:o.keyframes)==null?void 0:a[t];if(n){let E=(l=(c=(i=e.animation)==null?void 0:i.durations)==null?void 0:c[t])!=null?l:"1s",F=(x=(u=(f=e.animation)==null?void 0:f.timingFns)==null?void 0:u[t])!=null?x:"linear",$=(h=(d=e.animation)==null?void 0:d.properties)==null?void 0:h[t];return`@keyframes ${t}${n}
|