@unocss/runtime 0.23.0 → 0.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/attributify.global.js +5 -5
- package/core.global.js +1 -1
- package/mini.global.js +3 -3
- package/package.json +7 -7
- package/uno.global.js +5 -5
package/core.global.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(()=>{var gt=Object.defineProperty,mt=Object.defineProperties;var yt=Object.getOwnPropertyDescriptors;var v=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(v)for(var e of v(t))Z.call(t,e)&&W(n,e,t[e]);return n},O=(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&&v)for(var r of v(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 j=St;function M(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=>M(t)):[n]:[M(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 D(n){return n==null?"":xt(n).map(([t,e])=>e!=null?`${t}:${e};`:void 0).filter(Boolean).join("")}function L(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 L(e)&&L(r)&&Object.keys(r).forEach(o=>{L(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 V(n){let t,e,r;if(Array.isArray(n)){for(e=Array(t=n.length);t--;)e[t]=(r=n[t])&&typeof r=="object"?V(r):r;return e}if(Object.prototype.toString.call(n)==="[object Object]"){e={};for(t in n)t==="__proto__"?Object.defineProperty(e,t,{value:V(n[t]),configurable:!0,enumerable:!0,writable:!0}):e[t]=(r=n[t])&&typeof r=="object"?V(r):r;return e}return n}function X(n){return typeof n[0]=="string"}function Y(n){return typeof n[0]=="string"}function P(n=[]){return Array.isArray(n)?n:[n]}function K(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,u=c.split(/\s/g).map(d=>d.replace(/^(!?)(.*)/,`$1${a}${i}$2`)).join(" ");t.unshift([s,o,u])}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 P(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(P),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 K([...s.flatMap(S=>P(S[l]||[])),...P(e[l]||[])])}let i=a("extractors");i.length||i.push(H),i.sort((l,S)=>(l.order||0)-(S.order||0));let c=a("rules"),u={},d=c.length;c.forEach((l,S)=>{X(l)&&(u[l[0]]=[S,l[1],l[2]],delete c[S])});let C=V([...s.map(l=>l.theme||{}),e.theme||{}].reduce((l,S)=>F(l,S),{}));return a("extendTheme").forEach(l=>l(C)),O($({mergeSelectors:!0,warn:!0,blocklist:[],safelist:[],sortLayers:l=>l},e),{presets:s,envMode:e.envMode||"build",shortcutsLayer:e.shortcutsLayer||"shortcuts",layers:o,theme:C,rulesSize:d,rulesDynamic:c,rulesStaticMap:u,preprocess:a("preprocess"),postprocess:a("postprocess"),preflights:a("preflights"),variants:a("variants").map(et),shortcuts:Ut(a("shortcuts")),extractors:i})}var ot="0.
|
|
1
|
+
(()=>{var gt=Object.defineProperty,mt=Object.defineProperties;var yt=Object.getOwnPropertyDescriptors;var v=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(v)for(var e of v(t))Z.call(t,e)&&W(n,e,t[e]);return n},O=(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&&v)for(var r of v(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 j=St;function M(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=>M(t)):[n]:[M(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 D(n){return n==null?"":xt(n).map(([t,e])=>e!=null?`${t}:${e};`:void 0).filter(Boolean).join("")}function L(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 L(e)&&L(r)&&Object.keys(r).forEach(o=>{L(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 V(n){let t,e,r;if(Array.isArray(n)){for(e=Array(t=n.length);t--;)e[t]=(r=n[t])&&typeof r=="object"?V(r):r;return e}if(Object.prototype.toString.call(n)==="[object Object]"){e={};for(t in n)t==="__proto__"?Object.defineProperty(e,t,{value:V(n[t]),configurable:!0,enumerable:!0,writable:!0}):e[t]=(r=n[t])&&typeof r=="object"?V(r):r;return e}return n}function X(n){return typeof n[0]=="string"}function Y(n){return typeof n[0]=="string"}function P(n=[]){return Array.isArray(n)?n:[n]}function K(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,u=c.split(/\s/g).map(d=>d.replace(/^(!?)(.*)/,`$1${a}${i}$2`)).join(" ");t.unshift([s,o,u])}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 P(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(P),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 K([...s.flatMap(S=>P(S[l]||[])),...P(e[l]||[])])}let i=a("extractors");i.length||i.push(H),i.sort((l,S)=>(l.order||0)-(S.order||0));let c=a("rules"),u={},d=c.length;c.forEach((l,S)=>{X(l)&&(u[l[0]]=[S,l[1],l[2]],delete c[S])});let C=V([...s.map(l=>l.theme||{}),e.theme||{}].reduce((l,S)=>F(l,S),{}));return a("extendTheme").forEach(l=>l(C)),O($({mergeSelectors:!0,warn:!0,blocklist:[],safelist:[],sortLayers:l=>l},e),{presets:s,envMode:e.envMode||"build",shortcutsLayer:e.shortcutsLayer||"shortcuts",layers:o,theme:C,rulesSize:d,rulesDynamic:c,rulesStaticMap:u,preprocess:a("preprocess"),postprocess:a("postprocess"),preflights:a("preflights"),variants:a("variants").map(et),shortcuts:Ut(a("shortcuts")),extractors:i})}var ot="0.24.0";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(p=>i.add(p));let c=a?"":`
|
|
2
2
|
`,u=new Set(["default"]),d=new Set,C=new Map;await Promise.all(Array.from(i).map(async p=>{var y;if(d.has(p))return;let h=await this.parseToken(p);if(h!=null){d.add(p);for(let g of h){let R=g[3]||"";C.has(R)||C.set(R,[]),C.get(R).push(g),((y=g[4])==null?void 0:y.layer)&&u.add(g[4].layer)}}})),s&&this.config.preflights.forEach(p=>{p.layer&&u.add(p.layer)});let l={},S=this.config.sortLayers(Array.from(u).sort((p,h)=>{var y,g;return((y=this.config.layers[p])!=null?y:0)-((g=this.config.layers[h])!=null?g:0)||p.localeCompare(h)})),U={};s&&(U=Object.fromEntries(await Promise.all(S.map(async p=>{let y=(await Promise.all(this.config.preflights.filter(g=>(g.layer||"default")===p).map(async g=>await g.getCSS()))).filter(Boolean).join(c);return[p,y]}))));let A=p=>{if(l[p])return l[p];let h=Array.from(C).sort((y,g)=>{var R,w,f;return((R=this.parentOrders.get(y[0]))!=null?R:0)-((w=this.parentOrders.get(g[0]))!=null?w:0)||((f=y[0])==null?void 0:f.localeCompare(g[0]||""))||0}).map(([y,g])=>{let R=g.length,w=g.filter(m=>{var b;return(((b=m[4])==null?void 0:b.layer)||"default")===p}).sort((m,b)=>{var T;return m[0]-b[0]||((T=m[1])==null?void 0:T.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 f=w.reverse().map(([m,b,T],k)=>{if(!T&&m&&this.config.mergeSelectors)for(let E=k+1;E<R;E++){let _=w[E];if(_&&!_[2]&&_[0]&&_[1]===b)return _[0].push(...m),null}return m?`${[...new Set(m)].join(`,${c}`)}{${b}}`:b}).filter(Boolean).reverse().join(c);return y?`${y}{${c}${f}${c}}`:f}).filter(Boolean).join(c);return s&&(h=[U[p],h].filter(Boolean).join(c)),l[p]=!a&&h?`/* layer: ${p} */${c}${h}`:h},x=(p=S,h)=>p.filter(y=>!(h==null?void 0:h.includes(y))).map(y=>A(y)||"").filter(Boolean).join(c);return{get css(){return x()},layers:S,getLayers:x,getLayer:A,matched:d}}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 u=c.match(o,i);if(!!u&&(typeof u=="string"&&(u={matcher:u}),u)){o=u.matcher,Array.isArray(u.parent)&&this.parentOrders.set(u.parent[0],u.parent[1]),s.push(u),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 u;return((u=c.body)==null?void 0:u.call(c,i))||i},t[2]),a={selector:s.reduce((i,c)=>{var u;return((u=c.selector)==null?void 0:u.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)};for(let i of this.config.postprocess)i(a);return a}constructCustomCSS(t,e,r){e=M(e);let{selector:s,entries:o,parent:a}=this.applyVariants([0,r||t.rawSelector,e,void 0,t.variantHandlers]),i=`${s}{${D(o)}}`;return a?`${a}{${i}}`:i}async parseUtil(t,e,r=!1){var d,C;let[s,o,a]=typeof t=="string"?this.matchVariants(t):t,i=this.config.rulesStaticMap[o];if(i&&i[1]&&(r||!((d=i[2])==null?void 0:d.internal)))return[[i[0],s,M(i[1]),i[2],a]];e.variantHandlers=a;let{rulesDynamic:c,rulesSize:u}=this.config;for(let l=u;l>=0;l--){let S=c[l];if(!S||((C=S[2])==null?void 0:C.internal)&&!r)continue;let[U,A,x]=S,p=o.match(U);if(!p)continue;let h=await A(p,e);if(!h)continue;if(typeof h=="string")return[[l,h,x]];let y=Q(h).filter(g=>g.length);if(y.length)return y.map(g=>[l,s,g,x,a])}}stringifyUtil(t){var u;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}=this.applyVariants(t),a=D(r);if(!a)return;let d=(u=t[3])!=null?u:{},{layer:i}=d,c=J(d,["layer"]);return[t[0],e,a,s,O($({},c),{layer:o!=null?o:i})]}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 u;let o=new G,a=(await Promise.all(K(r).map(async d=>{let C=await this.parseUtil(d,e,!0);return C||it(`unmatched utility "${d}" in shortcut "${t[1]}"`),C||[]}))).flat(1).filter(Boolean).sort((d,C)=>d[0]-C[0]),[i,,c]=t;for(let d of a){if(B(d))continue;let{selector:C,entries:l,parent:S}=this.applyVariants(d,[...d[4],...c],i);o.getFallback(C,S,[[],d[0]])[0].push([l,!!((u=d[3])==null?void 0:u.noMerge)])}return o.map(([d,C],l,S)=>{let U=x=>p=>{let h=D(p);if(h)return[C,l,h,S,O($({},s),{noMerge:x})]};return[[d.filter(([,x])=>x).map(([x])=>x),!0],[d.filter(([,x])=>!x).map(([x])=>x),!1]].map(([x,p])=>{let h=x.filter(g=>g.some(R=>R[0]===z)),y=x.filter(g=>g.every(R=>R[0]!==z));return[...h.map(U(p)),...[y.flat(1)].map(U(p))]})}).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)=>`[${j(e)}${r}"${j(s)}"]`):`.${j(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 f=r.postprocess;f||(f=[]),Array.isArray(f)||(f=[f]),f.unshift(ht(document.createElement("div").style)),r.postprocess=f}(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,u,d=[],C=()=>new Promise(f=>{d.push(f),u!=null&&clearTimeout(u),u=setTimeout(()=>l().then(()=>{let m=d;d=[],m.forEach(b=>b())}),0)});async function l(){let f=await i.generate(c);s||(s=document.createElement("style"),document.documentElement.prepend(s)),s.innerHTML=f.css}async function S(f){await i.applyExtractors(f,void 0,c),await C()}async function U(){let f=document.body&&document.body.outerHTML;f&&await S(f)}let A=new MutationObserver(f=>{o||f.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(" "),k=`<${b.tagName.toLowerCase()} ${T}>`;S(k)})}),x=!1;function p(){if(!x)return;let f=document.documentElement||document.body;!f||(A.observe(f,{childList:!0,subtree:!0,attributes:!0}),x=!0)}function h(){U(),p()}function y(){h(),window.addEventListener("load",h),window.addEventListener("DOMContentLoaded",h)}let g=window.__unocss_runtime=window.__unocss_runtime={version:i.version,uno:i,async extract(f){if(typeof f=="string")return await S(f);f.forEach(m=>c.add(m)),await l()},extractAll:U,inspect(f){a=f},toggleObserver(f){f===void 0?o=!o:o=!!f,!x&&!o&&y()}};((w=e==null?void 0:e.ready)==null?void 0:w.call(e,g))!==!1&&(o=!1,y())}q();})();
|
package/mini.global.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
(()=>{var _e=Object.defineProperty,rn=Object.defineProperties;var nn=Object.getOwnPropertyDescriptors;var te=Object.getOwnPropertySymbols;var De=Object.prototype.hasOwnProperty,Le=Object.prototype.propertyIsEnumerable;var Fe=(e,t,r)=>t in e?_e(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,v=(e,t)=>{for(var r in t||(t={}))De.call(t,r)&&Fe(e,r,t[r]);if(te)for(var r of te(t))Le.call(t,r)&&Fe(e,r,t[r]);return e},R=(e,t)=>rn(e,nn(t));var Ne=(e,t)=>{var r={};for(var n in e)De.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&te)for(var n of te(e))t.indexOf(n)<0&&Le.call(e,n)&&(r[n]=e[n]);return r};var on=(e,t)=>{for(var r in t)_e(e,r,{get:t[r],enumerable:!0})};var sn={mid:"middle",base:"baseline",btm:"bottom"},He=[[/^(?:vertical|align|v)-(baseline|top|middle|bottom|text-top|text-bottom|sub|super|mid|base|btm)$/,([,e])=>({"vertical-align":sn[e]||e})]],Ke=[["text-center",{"text-align":"center"}],["text-left",{"text-align":"left"}],["text-right",{"text-align":"right"}],["text-justify",{"text-align":"justify"}]];function Be(e=""){let t=an(e);if(t!=null){let{components:r,alpha:n}=t;return n===void 0?r:[...r,n]}}function an(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}}}var A={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"]},de=R(v({},A),{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"]}),me={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"]},he={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},We=["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"],ge=Object.assign({},...We.map(e=>({[e.replace(/ /,"-")]:e})),...We.map(e=>({[e.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:e})));function B(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function be(e){let t=e.length,r=-1,n,o="",i=e.charCodeAt(0);for(;++r<t;){if(n=e.charCodeAt(r),n===0){o+="\uFFFD";continue}if(n===44){o+="\\2c ";continue}if(n>=1&&n<=31||n===127||r===0&&n>=48&&n<=57||r===1&&n>=48&&n<=57&&i===45){o+=`\\${n.toString(16)} `;continue}if(r===0&&t===1&&n===45){o+=`\\${e.charAt(r)}`;continue}if(n>=128||n===45||n===95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){o+=e.charAt(r);continue}o+=`\\${e.charAt(r)}`}return o}var re=be;function I(e){return(Array.isArray(e)?e:Object.entries(e)).filter(t=>t[1]!=null)}function Ie(e){return Array.isArray(e)?e.find(t=>!Array.isArray(t)||Array.isArray(t[0]))?e.map(t=>I(t)):[e]:[I(e)]}function cn(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 ne(e){return e==null?"":cn(e).map(([t,r])=>r!=null?`${t}:${r};`:void 0).filter(Boolean).join("")}function xe(e){return e&&typeof e=="object"&&!Array.isArray(e)}function ye(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 xe(r)&&xe(n)&&Object.keys(n).forEach(i=>{xe(n[i])?i in r?o[i]=ye(r[i],n[i]):Object.assign(o,{[i]:n[i]}):Object.assign(o,{[i]:n[i]})}),o}function W(e){let t,r,n;if(Array.isArray(e)){for(r=Array(t=e.length);t--;)r[t]=(n=e[t])&&typeof n=="object"?W(n):n;return r}if(Object.prototype.toString.call(e)==="[object Object]"){r={};for(t in e)t==="__proto__"?Object.defineProperty(r,t,{value:W(e[t]),configurable:!0,enumerable:!0,writable:!0}):r[t]=(n=e[t])&&typeof n=="object"?W(n):n;return r}return e}function Ge(e){return typeof e[0]=="string"}function qe(e){return typeof e[0]=="string"}function j(e=[]){return Array.isArray(e)?e:[e]}function oe(e){return Array.from(new Set(e))}var ln=/^\[(.+?)~?="(.*)"\]$/,fn=/(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:%-?]/,D="$$shortcut-no-merge";function Ze(e){return e.match(ln)}function G(e=""){return fn.test(e)}function Xe(e){return typeof e=="function"?{match:e}:e}function $e(e){return e.length===3}function Ye(e){return e!=null}var we=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,i])=>t(i,r,o)))}};var un=/([!\w+:_/-]+?)([:-])\(((?:[!\w\s:/\\,%#.$-]|\[.*?\])*?)\)/gm;function Je(e){let t=[],r;for(;r=un.exec(e);){let o=r.index,i=o+r[0].length,[,a,s,l]=r,f=l.split(/\s/g).map(u=>u.replace(/^(!?)(.*)/,`$1${a}${s}$2`)).join(" ");t.unshift([o,i,f])}let n=e;return t.forEach(([o,i,a])=>{n=n.slice(0,o)+a+n.slice(i)}),n}var Qe=new Set;function et(e){Qe.has(e)||(console.warn("[unocss]",e),Qe.add(e))}function tt(e){let t=function(n){var i;let o=((i=this.__options)==null?void 0:i.sequence)||[];this.__options.sequence=[];for(let a of o){let s=e[a](n);if(s!=null)return s}};function r(n,o){return n.__options||(n.__options={sequence:[]}),n.__options.sequence.push(o),n}for(let n of Object.keys(e))Object.defineProperty(t,n,{enumerable:!0,get(){return r(this,n)}});return t}var pn=e=>e.split(/[\s'"`;>=]+/g).filter(G),q={name:"split",order:0,extract({code:e}){return new Set(pn(e))}};function dn(e){return j(e).flatMap(t=>Array.isArray(t)?[t]:Object.entries(t))}var mn={shortcuts:-1,default:0};function ve(e={},t={}){let r=Object.assign({},t,e),n=(r.presets||[]).flatMap(j),o=[...n.filter(p=>p.enforce==="pre"),...n.filter(p=>!p.enforce),...n.filter(p=>p.enforce==="post")],i=Object.assign(mn,...n.map(p=>p.layers),e.layers);function a(p){return oe([...o.flatMap(m=>j(m[p]||[])),...j(r[p]||[])])}let s=a("extractors");s.length||s.push(q),s.sort((p,m)=>(p.order||0)-(m.order||0));let l=a("rules"),f={},u=l.length;l.forEach((p,m)=>{Ge(p)&&(f[p[0]]=[m,p[1],p[2]],delete l[m])});let b=W([...o.map(p=>p.theme||{}),r.theme||{}].reduce((p,m)=>ye(p,m),{}));return a("extendTheme").forEach(p=>p(b)),R(v({mergeSelectors:!0,warn:!0,blocklist:[],safelist:[],sortLayers:p=>p},r),{presets:o,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:i,theme:b,rulesSize:u,rulesDynamic:l,rulesStaticMap:f,preprocess:a("preprocess"),postprocess:a("postprocess"),preflights:a("preflights"),variants:a("variants").map(Xe),shortcuts:dn(a("shortcuts")),extractors:s})}var rt="0.23.0";var ot=class{constructor(t={},r={}){this.userConfig=t;this.defaults=r;this.config=ve(t,r)}version=rt;_cache=new Map;config;blocked=new Set;parentOrders=new Map;setConfig(t,r){!t||(r&&(this.defaults=r),this.userConfig=t,this.config=ve(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 i of this.config.extractors){let a=await i.extract(o);a==null||a.forEach(s=>n.add(s))}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 s of this.config.preprocess)r=s(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:(...s)=>this.constructCustomCSS(o,...s)},i=this.expandShortcut(n[1],o);if(i){let s=await this.stringifyShortcuts(n,o,i[0],i[1]);if(s==null?void 0:s.length)return this._cache.set(t,s),s}else{let s=(a=await this.parseUtil(n,o))==null?void 0:a.map(l=>this.stringifyUtil(l)).filter(Ye);if(s==null?void 0:s.length)return this._cache.set(t,s),s}this._cache.set(t,null)}async generate(t,{id:r,scope:n,preflights:o=!0,safelist:i=!0,minify:a=!1}={}){let s=typeof t=="string"?await this.applyExtractors(t,r):t;i&&this.config.safelist.forEach(h=>s.add(h));let l=a?"":`
|
|
2
|
-
`,f=new Set(["default"]),u=new Set,b=new Map;await Promise.all(Array.from(s).map(async h=>{var $;if(u.has(h))return;let g=await this.parseToken(h);if(g!=null){u.add(h);for(let x of g){let C=x[3]||"";b.has(C)||b.set(C,[]),b.get(C).push(x),(($=x[4])==null?void 0:$.layer)&&f.add(x[4].layer)}}})),o&&this.config.preflights.forEach(h=>{h.layer&&f.add(h.layer)});let p={},m=this.config.sortLayers(Array.from(f).sort((h,g)=>{var $,x;return(($=this.config.layers[h])!=null?$:0)-((x=this.config.layers[g])!=null?x:0)||h.localeCompare(g)})),E={};o&&(E=Object.fromEntries(await Promise.all(m.map(async h=>{let $=(await Promise.all(this.config.preflights.filter(x=>(x.layer||"default")===h).map(async x=>await x.getCSS()))).filter(Boolean).join(l);return[h,$]}))));let _=h=>{if(p[h])return p[h];let g=Array.from(b).sort(($,x)=>{var C,P,d;return((C=this.parentOrders.get($[0]))!=null?C:0)-((P=this.parentOrders.get(x[0]))!=null?P:0)||((d=$[0])==null?void 0:d.localeCompare(x[0]||""))||0}).map(([$,x])=>{let C=x.length,P=x.filter(y=>{var S;return(((S=y[4])==null?void 0:S.layer)||"default")===h}).sort((y,S)=>{var L;return y[0]-S[0]||((L=y[1])==null?void 0:L.localeCompare(S[1]||""))||0}).map(y=>{var S;return[y[1]?bn(y[1],n):y[1],y[2],!!((S=y[4])==null?void 0:S.noMerge)]}).map(y=>[y[0]==null?y[0]:[y[0]],y[1],y[2]]);if(!P.length)return;let d=P.reverse().map(([y,S,L],pe)=>{if(!L&&y&&this.config.mergeSelectors)for(let U=pe+1;U<C;U++){let K=P[U];if(K&&!K[2]&&K[0]&&K[1]===S)return K[0].push(...y),null}return y?`${[...new Set(y)].join(`,${l}`)}{${S}}`:S}).filter(Boolean).reverse().join(l);return $?`${$}{${l}${d}${l}}`:d}).filter(Boolean).join(l);return o&&(g=[E[h],g].filter(Boolean).join(l)),p[h]=!a&&g?`/* layer: ${h} */${l}${g}`:g},w=(h=m,g)=>h.filter($=>!(g==null?void 0:g.includes($))).map($=>_($)||"").filter(Boolean).join(l);return{get css(){return w()},layers:m,getLayers:w,getLayer:_,matched:u}}matchVariants(t,r){let n=new Set,o=[],i=r||t,a=!1,s={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(i,s);if(!!f&&(typeof f=="string"&&(f={matcher:f}),f)){i=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,i,o]}applyVariants(t,r=t[4],n=t[1]){let o=[...r].sort((s,l)=>(s.order||0)-(l.order||0)),i=o.reduce((s,l)=>{var f;return((f=l.body)==null?void 0:f.call(l,s))||s},t[2]),a={selector:o.reduce((s,l)=>{var f;return((f=l.selector)==null?void 0:f.call(l,s,i))||s},xn(n)),entries:i,parent:o.reduce((s,l)=>Array.isArray(l.parent)?l.parent[0]:l.parent||s,void 0),layer:o.reduce((s,l)=>l.layer||s,void 0)};for(let s of this.config.postprocess)s(a);return a}constructCustomCSS(t,r,n){r=I(r);let{selector:o,entries:i,parent:a}=this.applyVariants([0,n||t.rawSelector,r,void 0,t.variantHandlers]),s=`${o}{${ne(i)}}`;return a?`${a}{${s}}`:s}async parseUtil(t,r,n=!1){var u,b;let[o,i,a]=typeof t=="string"?this.matchVariants(t):t,s=this.config.rulesStaticMap[i];if(s&&s[1]&&(n||!((u=s[2])==null?void 0:u.internal)))return[[s[0],o,I(s[1]),s[2],a]];r.variantHandlers=a;let{rulesDynamic:l,rulesSize:f}=this.config;for(let p=f;p>=0;p--){let m=l[p];if(!m||((b=m[2])==null?void 0:b.internal)&&!n)continue;let[E,_,w]=m,h=i.match(E);if(!h)continue;let g=await _(h,r);if(!g)continue;if(typeof g=="string")return[[p,g,w]];let $=Ie(g).filter(x=>x.length);if($.length)return $.map(x=>[p,o,x,w,a])}}stringifyUtil(t){var f;if(!t)return;if($e(t))return[t[0],void 0,t[1],void 0,t[2]];let{selector:r,entries:n,parent:o,layer:i}=this.applyVariants(t),a=ne(n);if(!a)return;let u=(f=t[3])!=null?f:{},{layer:s}=u,l=Ne(u,["layer"]);return[t[0],r,a,o,R(v({},l),{layer:i!=null?i:s})]}expandShortcut(t,r,n=3){if(n===0)return;let o,i;for(let a of this.config.shortcuts)if(qe(a)){if(a[0]===t){o=o||a[2],i=a[1];break}}else{let s=t.match(a[0]);if(s&&(i=a[1](s,r)),i){o=o||a[2];break}}if(typeof i=="string"&&(i=Je(i).split(/\s+/g)),!!i)return[i.flatMap(a=>{var s;return((s=this.expandShortcut(a,r,n-1))==null?void 0:s[0])||[a]}).filter(a=>a!==""),o]}async stringifyShortcuts(t,r,n,o={layer:this.config.shortcutsLayer}){var f;let i=new we,a=(await Promise.all(oe(n).map(async u=>{let b=await this.parseUtil(u,r,!0);return b||et(`unmatched utility "${u}" in shortcut "${t[1]}"`),b||[]}))).flat(1).filter(Boolean).sort((u,b)=>u[0]-b[0]),[s,,l]=t;for(let u of a){if($e(u))continue;let{selector:b,entries:p,parent:m}=this.applyVariants(u,[...u[4],...l],s);i.getFallback(b,m,[[],u[0]])[0].push([p,!!((f=u[3])==null?void 0:f.noMerge)])}return i.map(([u,b],p,m)=>{let E=w=>h=>{let g=ne(h);if(g)return[b,p,g,m,R(v({},o),{noMerge:w})]};return[[u.filter(([,w])=>w).map(([w])=>w),!0],[u.filter(([,w])=>!w).map(([w])=>w),!1]].map(([w,h])=>{let g=w.filter(x=>x.some(C=>C[0]===D)),$=w.filter(x=>x.every(C=>C[0]!==D));return[...g.map(E(h)),...[$.flat(1)].map(E(h))]})}).flat(2).filter(Boolean)}isBlocked(t){return!t||this.config.blocklist.some(r=>typeof r=="string"?r===t:r.test(t))}};function it(e,t){return new ot(e,t)}var st=/ \$\$ /,gn=e=>e.match(st);function bn(e,t){return gn(e)?e.replace(st,t?` ${t} `:" "):t?`${t} ${e}`:e}var nt=/^\[(.+?)(~?=)"(.*)"\]$/;function xn(e){return nt.test(e)?e.replace(nt,(t,r,n,o)=>`[${re(r)}${n}"${re(o)}"]`):`.${re(e)}`}var ke={};on(ke,{auto:()=>vn,bracket:()=>jn,cssvar:()=>Tn,degree:()=>An,fraction:()=>En,global:()=>Vn,number:()=>Rn,numberWithUnit:()=>wn,percent:()=>Cn,properties:()=>Pn,px:()=>kn,rem:()=>Sn,time:()=>zn});var yn=["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"],Se=/^(-?[0-9.]+)(px|pt|pc|rem|em|%|vh|vw|in|cm|mm|ex|ch|vmin|vmax|rpx)?$/i,$n=/^(-?[0-9.]+)$/i,at=/^(px)$/i;function T(e){return e.toFixed(10).replace(/\.0+$/,"").replace(/(\.\d+?)0+$/,"$1")}function wn(e){let t=e.match(Se);if(!t)return;let[,r,n]=t,o=parseFloat(r);if(n&&!Number.isNaN(o))return`${T(o)}${n}`}function vn(e){if(e==="auto"||e==="a")return"auto"}function Sn(e){if(e.match(at))return`1${e}`;let t=e.match(Se);if(!t)return;let[,r,n]=t,o=parseFloat(r);if(!Number.isNaN(o))return n?`${T(o)}${n}`:`${T(o/4)}rem`}function kn(e){if(e.match(at))return`1${e}`;let t=e.match(Se);if(!t)return;let[,r,n]=t,o=parseFloat(r);if(!Number.isNaN(o))return n?`${T(o)}${n}`:`${T(o)}px`}function Rn(e){if(!$n.test(e))return;let t=parseFloat(e);if(!Number.isNaN(t))return T(t)}function Cn(e){e.endsWith("%")&&(e=e.slice(0,-1));let t=parseFloat(e);if(!Number.isNaN(t))return`${T(t/100)}`}function En(e){if(e==="full")return"100%";let[t,r]=e.split("/"),n=parseFloat(t)/parseFloat(r);if(!Number.isNaN(n))return`${T(n*100)}%`}function jn(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 Tn(e){if(e.match(/^\$\S/))return`var(--${be(e.slice(1))})`}function zn(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?`${T(o)}${n}`:`${T(o)}ms`}function An(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?`${T(o)}${n}`:`${T(o)}deg`}function Vn(e){if(["inherit","initial","revert","unset"].includes(e))return e}function Pn(e){for(let t of e.split(","))if(!yn.includes(t))return;return e}var c=tt(ke);var F=(e,t)=>{let r=new RegExp(`^${B(e)}[:-]`);return n=>{let o=n.match(r);if(o)return{matcher:n.slice(o[0].length),selector:t}}},O=(e,t)=>{let r=new RegExp(`^${B(e)}[:-]`);return n=>{let o=n.match(r);if(o)return{matcher:n.slice(o[0].length),parent:t}}};var z=e=>([t,r,n])=>{let o=c.bracket.cssvar.auto.fraction.rem(n);if(o!==void 0)return A[r].map(i=>[`${e}${i}`,o])},Re=(e,t)=>{var r;return(r=e.colors)==null?void 0:r[t.join("-").replace(/(-[a-z])/g,n=>n.slice(1).toUpperCase())]},ie=(e,t)=>{let[r,n]=e.split(/(?:\/|:)/),o=r.replace(/([a-z])([0-9])/g,"$1-$2").split(/-/g),[i]=o;if(!i)return;let a,s=c.bracket(r),l=s||r;l.startsWith("#")?a=l.slice(1):l.startsWith("hex-")?a=l.slice(4):r.startsWith("$")&&(a=c.cssvar(r)),a=a||s;let f="DEFAULT";if(!a){let m,[E]=o.slice(-1);E.match(/^\d+$/)?(f=E,m=Re(t,o.slice(0,-1))):(m=Re(t,o),!m&&o.length<=2&&([,f=f]=o,m=Re(t,[i]))),typeof m=="string"?a=m:f&&m&&(a=m[f])}let u=Be(a),b=n?n[0]==="["?c.bracket.percent(n):parseFloat(n)/100:u==null?void 0:u[3],p=b!=null&&!Number.isNaN(b);return u&&(p?u[3]=typeof b=="string"&&!b.includes("%")?parseFloat(b):b:u.splice(3)),{opacity:n,name:i,no:f,color:a,rgba:u,alpha:p?b:void 0}},k=(e,t)=>([,r],{theme:n})=>{var f;let o=ie(r,n);if(!o)return;let{alpha:i,opacity:a,color:s,rgba:l}=o;if(!!s)return l?i!=null?{[e]:`rgba(${l.join(",")})`}:{[`--un-${t}-opacity`]:(f=a&&c.cssvar(a))!=null?f:1,[e]:`rgba(${l.join(",")},var(--un-${t}-opacity))`}:{[e]:s.replace("%alpha",`${i||1}`)}};var ct=[[/^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"}]],lt=[["appearance-none",{appearance:"none","-webkit-appearance":"none"}]],On=e=>{var t;return(t=c.properties.auto.global(e))!=null?t:{contents:"contents",scroll:"scroll-position"}[e]},ft=[[/^will-change-(.+)/,([,e])=>({"will-change":On(e)})]];var ut=[[/^(?:border|b)()(?:-(.+))?$/,Z],[/^(?:border|b)-([xy])(?:-(.+))?$/,Z],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,Z],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,Z],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,Z],[/^(?: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-)?(.+)$/,X],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,X],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,X],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,X],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,X],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,Y],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,Y],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,Y],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,Y],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,Y],[/^(?:border-)?(?:rounded|rd)()(?:-(.+))?$/,J],[/^(?:border-)?(?:rounded|rd)-([rltb])(?:-(.+))?$/,J],[/^(?:border-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,J],[/^(?:border-)?(?:rounded|rd)-([bi][se])(?:-(.+))?$/,J],[/^(?:border-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,J],["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"}]],Mn=(e,{theme:t})=>{var r;return e!==void 0&&!!((r=ie(e,t))==null?void 0:r.color)},Un=e=>([,t],{theme:r})=>{var l,f;let n=ie(t,r);if(!n)return;let{alpha:o,opacity:i,color:a,rgba:s}=n;if(!!a)return s?o!=null?{[`border${e}-color`]:`rgba(${s.join(",")})`}:e===""?{"--un-border-opacity":(l=i&&c.cssvar(i))!=null?l:1,[`border${e}-color`]:`rgba(${s.join(",")},var(--un-border${e}-opacity))`}:{"--un-border-opacity":(f=i&&c.cssvar(i))!=null?f:1,[`--un-border${e}-opacity`]:"var(--un-border-opacity)",[`border${e}-color`]:`rgba(${s.join(",")},var(--un-border${e}-opacity))`}:{[`border${e}-color`]:a.replace("%alpha",`${o||1}`)}};function Z(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 A&&r!=null)return A[e].map(n=>[`border${n}-width`,r])}function X([,e="",t],r){if(e in A&&Mn(t,r))return Object.assign({},...A[e].map(n=>Un(n)(["",t],r)))}function Y([,e="",t]){let r=c.bracket.percent(t);if(e in A&&r!=null)return A[e].map(n=>[`--un-border${n}-opacity`,r])}function J([,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 me&&n!=null)return me[e].map(i=>[`border${i}-radius`,n])}var pt=[[/^op(?:acity)?-?(.+)$/,([,e])=>({opacity:c.bracket.percent.cssvar(e)})]],dt=[[/^(?:text|color|c)-(.+)$/,k("color","text")],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-opacity":c.bracket.percent(e)})]],mt=[[/^bg-(.+)$/,k("background-color","bg")],[/^bg-op(?:acity)?-?(.+)$/,([,e])=>({"--un-bg-opacity":c.bracket.percent(e)})]];var gt={all:"all",colors:["color","background-color","border-color","text-decoration-color","fill","stroke"].join(","),none:"none",opacity:"opacity",shadow:"box-shadow",transform:"transform"},ht=e=>{var t;return(t=c.properties(e))!=null?t:gt[e]},bt=[[/^transition(?:-([a-z-]+(?:,[a-z-]+)*))?(?:-(\d+))?$/,([,e,t="150"])=>{let r=e!=null?ht(e):[gt.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)||ht(e)})],["transition-none",{transition:"none"}]];var xt=[["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 se="var(--un-empty,/*!*/ /*!*/)",yt=[["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})]],$t=[["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})]],vt=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}]],St=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}]],kt=[["select-auto",{"user-select":"auto"}],["select-all",{"user-select":"all"}],["select-text",{"user-select":"text"}],["select-none",{"user-select":"none"}]],Rt=[[/^(?:whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap)$/,([,e])=>({"white-space":e})]],Ct=[["content-empty",{content:'""'}],["content-none",{content:'""'}]],Et=[["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"}]],Tt=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}]],zt=[["italic",{"font-style":"italic"}],["not-italic",{"font-style":"normal"}]],At=[["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 Ce={[D]:"","--un-ring-offset-shadow":"0 0 #0000","--un-ring-shadow":"0 0 #0000","--un-shadow-inset":se,"--un-shadow":"0 0 #0000"},Ee=(e,t)=>{let r=[];e=j(e);for(let n=0;n<e.length;n++){let[o,i]=e[n].split(/\s(\S+)$/);if(i.split("(").length!==i.split(")").length)return e;r.push(`${o} var(${t}, ${i})`)}return r},Vt=[[/^shadow(?:-(.+))?$/,([,e],{theme:t})=>{var n;let r=(n=t.boxShadow)==null?void 0:n[e||"DEFAULT"];if(r)return[Ce,{"--un-shadow":Ee(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 Fn={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},Pt=[[/^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=j((n=t.fontSize)==null?void 0:n[e]);if(r==null?void 0:r[0]){let[o,i="1"]=r;return{"font-size":o,"line-height":i}}return{"font-size":c.bracket.rem(e)}}],[/^text-size-(.+)$/,([,e])=>({"font-size":c.bracket.cssvar.rem(e)})],[/^(?:font|fw)-?([^-]+)$/,([,e])=>({"font-weight":Fn[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)}}]],Ot=[[/^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}}]],Mt=[[/^indent(?:-(.+))?$/,([,e],{theme:t})=>{var r;return{"text-indent":((r=t.textIndent)==null?void 0:r[e||"DEFAULT"])||c.bracket.cssvar.fraction.rem(e)}}]],Ut=[[/^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)})]],Ft=[[/^text-shadow(?:-(.+))?$/,([,e],{theme:t})=>{var n;let r=(n=t.textShadow)==null?void 0:n[e||"DEFAULT"];return r!=null?{"--un-text-shadow":Ee(r,"--un-text-shadow-color").join(","),"text-shadow":"var(--un-text-shadow)"}:{"text-shadow":c.bracket.cssvar(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 _t={"":"",x:"column-",y:"row-"},Dt=([,e="",t])=>{let r=c.bracket.cssvar.rem(t);if(r!=null)return{[`grid-${_t[e]}gap`]:r,[`${_t[e]}gap`]:r}},Lt=[[/^(?:flex-|grid-)?gap-()([^-]+)$/,Dt],[/^(?:flex-|grid-)?gap-([xy])-([^-]+)$/,Dt]];var V=e=>e.replace("col","column"),_n=(e,t)=>{var n;let r=(n=t.fontSize)==null?void 0:n[e];if(r!=null)return j(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)},Nt=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,e,t])=>({[`grid-${V(e)}`]:c.bracket.cssvar.auto(t)})],[/^(?:grid-)?(row|col)-span-(.+)$/,([,e,t])=>{if(t==="full")return{[`grid-${V(e)}`]:"1/-1"};let r=c.bracket.number(t);if(r!=null)return{[`grid-${V(e)}`]:`span ${r}/span ${r}`}}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,e,t])=>{var r;return{[`grid-${V(e)}-start`]:(r=c.bracket.cssvar(t))!=null?r:t}}],[/^(?:grid-)?(row|col)-end-(.+)$/,([,e,t])=>{var r;return{[`grid-${V(e)}-end`]:(r=c.bracket.cssvar(t))!=null?r:t}}],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,e,t],{theme:r})=>({[`grid-auto-${V(e)}`]:_n(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":V(e).replace("-"," ")})],[/^grid-(rows|cols)-(.+)$/,([,e,t])=>({[`grid-template-${V(e)}`]:c.bracket.cssvar(t)})],[/^grid-(rows|cols)-minmax-([\w.-]+)$/,([,e,t])=>({[`grid-template-${V(e)}`]:`repeat(auto-fill,minmax(${t},1fr))`})],[/^grid-(rows|cols)-(\d+)$/,([,e,t])=>({[`grid-template-${V(e)}`]:`repeat(${t},minmax(0,1fr))`})],["grid-rows-none",{"grid-template-rows":"none"}],["grid-cols-none",{"grid-template-columns":"none"}]];var Ht=["auto","hidden","clip","visible","scroll"],Kt=[[/^(?:overflow|of)-(.+)$/,([,e])=>Ht.includes(e)?{overflow:e}:void 0],[/^(?:overflow|of)-([xy])-(.+)$/,([,e,t])=>Ht.includes(t)?{[`overflow-${e}`]:t}:void 0]];var Te=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,e])=>({position:e})],[/^(?:position-|pos-)?(static)$/,([,e])=>({position:e})]],Bt=[["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"}]],Wt=[[/^order-(.+)$/,([,e])=>({order:c.bracket.cssvar.number(e)})],["order-first",{order:"-9999"}],["order-last",{order:"9999"}],["order-none",{order:"0"}]],It=[["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"}]],Gt=[["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 je(e){return c.bracket.cssvar.auto.fraction.rem(e)}function ae([,e,t]){let r=je(t);if(r!=null&&e in de)return de[e].map(n=>[n.slice(1),r])}var qt=[[/^(?:position-|pos-)?inset-(.+)$/,([,e])=>({inset:je(e)})],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,ae],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,ae],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,ae],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,ae],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,e,t])=>({[e]:je(t)})]],Zt=[["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"}]],Xt=[[/^z-(.+)$/,([,e])=>({"z-index":c.bracket.cssvar.auto.number(e)})]],Yt=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}]];var Dn=R(v({},Ce),{"--un-ring-inset":se,"--un-ring-offset-width":"0px","--un-ring-offset-color":"#fff","--un-ring-width":"0px","--un-ring-color":"rgba(147,197,253,0.5)"}),Jt=[[/^ring(?:-(.+))?$/,([,e])=>{let t=c.px(e||"1");if(t)return[Dn,{"--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 Ln={h:"height",w:"width",inline:"inline-size",block:"block-size"};function ce(e,t){return`${e||""}${Ln[t]}`}function Qt(e,t,r,n){var a;let o=ce(e,t).replace(/-(\w)/g,(s,l)=>l.toUpperCase()),i=(a=r[o])==null?void 0:a[n];if(i!=null)return i;switch(n){case"fit":case"max":case"min":return`${n}-content`}return c.bracket.cssvar.auto.fraction.rem(n)}var er=[[/^(min-|max-)?([wh])-(.+)$/,([,e,t,r],{theme:n})=>({[ce(e,t)]:Qt(e,t,n,r)})],[/^(min-|max-)?(block|inline)-(.+)$/,([,e,t,r],{theme:n})=>({[ce(e,t)]:Qt(e,t,n,r)})],[/^(min-|max-)?(w)-screen-(.+)$/,([,e,t,r],{theme:n})=>{var o;return{[ce(e,t)]:(o=n.breakpoints)==null?void 0:o[r]}}]];function Nn(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 tr=[[/^aspect-(?:ratio-)?(.+)$/,([,e])=>({"aspect-ratio":Nn(e)})]];var rr=[[/^pa?()-?(-?.+)$/,z("padding")],[/^p-?([xy])-?(-?.+)$/,z("padding")],[/^p-?([rltbse])-?(-?.+)$/,z("padding")],[/^p-(block|inline)-(-?.+)$/,z("padding")],[/^p-?([bi][se])-?(-?.+)$/,z("padding")]],nr=[[/^ma?()-?(-?.+)$/,z("margin")],[/^m-?([xy])-?(-?.+)$/,z("margin")],[/^m-?([rltbse])-?(-?.+)$/,z("margin")],[/^m-(block|inline)-(-?.+)$/,z("margin")],[/^m-?([bi][se])-?(-?.+)$/,z("margin")]];var Hn={"--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(" ")},ar={"--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(" ")},H=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},ar),{[D]:""}),cr=[[/^(?:transform-)?origin-(.+)$/,([,e])=>{var t;return{"transform-origin":(t=ge[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?ge[e]:void 0;if(t!=null)return{"-webkit-perspective-origin":t,"perspective-origin":t}}],[/^(?:transform-)?translate-()(.+)$/,or],[/^(?:transform-)?translate-([xyz])-(.+)$/,or],[/^(?:transform-)?rotate-()(.+)$/,sr],[/^(?:transform-)?rotate-([xyz])-(.+)$/,sr],[/^(?:transform-)?skew-([xy])-(.+)$/,Kn],[/^(?:transform-)?scale-()(.+)$/,ir],[/^(?:transform-)?scale-([xyz])-(.+)$/,ir],[/^(?:transform-)?preserve-3d$/,()=>({"transform-style":"preserve-3d"})],[/^(?:transform-)?preserve-flat$/,()=>({"transform-style":"flat"})],[/^transform$/,()=>[H,{transform:"var(--un-transform)"}]],["transform-gpu",Hn],["transform-cpu",ar],["transform-none",{transform:"none"}]];function or([,e,t]){let r=c.bracket.cssvar.fraction.rem(t);if(r!=null)return[H,[...he[e].map(n=>[`--un-translate${n}`,r]),["transform","var(--un-transform)"]]]}function ir([,e,t]){let r=c.bracket.cssvar.fraction.percent(t);if(r!=null)return[H,[...he[e].map(n=>[`--un-scale${n}`,r]),["transform","var(--un-transform)"]]]}function sr([,e="",t]){let r=c.bracket.cssvar.degree(t);if(r!=null)return e?[H,{"--un-rotate":0,[`--un-rotate-${e}`]:r,transform:"var(--un-transform)"}]:[H,{"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-rotate":r,transform:"var(--un-transform)"}]}function Kn([,e,t]){let r=c.bracket.cssvar.degree(t);if(r!=null)return[H,{[`--un-skew-${e}`]:r,transform:"var(--un-transform)"}]}var Bn={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"},lr=[[/^(.+?)-(\$.+)$/,([,e,t])=>{let r=Bn[e];if(r)return{[r]:c.cssvar(t)}}]],fr=[[/^\[([^:]+):(.+)\]$/,([,e,t])=>({[e]:c.bracket(`[${t}]`)})]];var ur=[[/^(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
|
-
${t({animation:"__un_qm 0.5s ease-in-out alternate infinite"})}`}]];var pr=[[/^(?: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 dr=[[/^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 mr=[lr,fr,rr,nr,yt,pt,mt,dr,ut,Ct,Pt,Ot,Mt,jt,pr,Ut,Ft,Tt,Ke,dt,zt,At,Vt,Jt,xt,Nt,Lt,Te,er,tr,wt,$t,vt,St,He,kt,Rt,Et,Kt,ct,lt,Te,Wt,Bt,It,Gt,qt,Zt,Xt,Yt,bt,cr,ft,ur].flat(1);var ze={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(ze).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 hr={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(",")},gr={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"]},br={DEFAULT:"1.5rem",xs:"0.5rem",sm:"1rem",md:"1.5rem",lg:"2rem",xl:"2.5rem","2xl":"3rem","3xl":"4rem"},xr={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},yr={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"},$r={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},Ae={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},wr=Ae;var vr={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},Sr={DEFAULT:"0.25rem",none:"0px",sm:"0.125rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},kr={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"},Rr={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 Cr={DEFAULT:"8px","0":"0",sm:"4px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},Er={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 le={xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",prose:"65ch"},Ve=R(v({auto:"auto"},le),{screen:"100vw"}),Q=R(v({none:"none"},le),{screen:"100vw"}),Pe=R(v({auto:"auto"},le),{screen:"100vh"}),ee=R(v({none:"none"},le),{screen:"100vh"});var jr={width:Ve,height:Pe,maxWidth:Q,maxHeight:ee,minWidth:Q,minHeight:ee,inlineSize:Ve,blockSize:Pe,maxInlineSize:Q,maxBlockSize:ee,minInlineSize:Q,minBlockSize:ee,colors:ze,fontFamily:hr,fontSize:gr,breakpoints:vr,borderRadius:Sr,lineHeight:$r,letterSpacing:Ae,wordSpacing:wr,boxShadow:kr,textIndent:br,textShadow:yr,textStrokeWidth:xr,blur:Cr,dropShadow:Er,easing:Rr};var Oe={},Tr=(e,{theme:t})=>{let r=Object.entries(t.breakpoints||{}).map(([n,o],i)=>[n,o,i]);for(let[n,o,i]of r){Oe[n]||(Oe[n]=new RegExp(`^((?:[al]t-)?${n}[:-])`));let a=e.match(Oe[n]);if(!a)continue;let[,s]=a,l=e.slice(s.length);if(l==="container")continue;let f="min",u=1e3;return s.startsWith("lt-")?(f="max",u-=i+1):u+=i+1,s.startsWith("at-")&&i<r.length-1?{matcher:l,parent:[`@media (min-width: ${o}) and (max-width: ${r[i+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 i=o.match(n);if(i)return{matcher:o.slice(i[0].length),selector:a=>{var s;return r.replace("&&-s",a).replace("&&-c",(s=i[1])!=null?s:"*")}}}},zr=[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"),F("svg",e=>`${e} svg`)];var Ar=[O("motion-reduce","@media (prefers-reduced-motion: reduce)"),O("motion-safe","@media (prefers-reduced-motion: no-preference)")],Vr=[O("landscape","@media (orientation: landscape)"),O("portrait","@media (orientation: portrait)")],Pr=O("print","@media print");var Or=(e={})=>(e==null?void 0:e.dark)==="class"?[F("dark",t=>`.dark $$ ${t}`),F("light",t=>`.light $$ ${t}`)]:[O("dark","@media (prefers-color-scheme: dark)"),O("light","@media (prefers-color-scheme: light)")];var Mr=[F("rtl",e=>`[dir="rtl"] $$ ${e}`),F("ltr",e=>`[dir="ltr"] $$ ${e}`)];var Ur={match(e){let t=e.match(/layer-([\d\w]+)[:-]/);if(t)return{matcher:e.slice(t[0].length),layer:t[1]}}},Fr={match(e){if(e.startsWith("!"))return{matcher:e.slice(1),body:t=>(t.forEach(r=>{r[1]&&(r[1]+=" !important")}),t)}}},_r={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]+|%)?/,i=>`-${i}`))}),t)}}};var ue=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(j)),Dr=Object.fromEntries(["placeholder","before","after","first-letter","first-line","selection","marker",["file","::file-selector-button"]].map(j)),Wn=["not","is","where","has"],In=Object.keys(Dr).join("|"),Me=Object.keys(ue).join("|"),Lr=Wn.join("|"),Gn=/(part-\[(.+)]:)(.+)/,qn=new RegExp(`^(${In})[:-]`),Zn=new RegExp(`^(${Me})[:-]`),Xn=new RegExp(`^(${Lr})-(${Me})[:-]`),fe=(e,t,r)=>{let n=new RegExp(`^${e}-((?:(${Lr})-)?(${Me}))[:-]`),o=new RegExp(`^${B(t)}:`);return i=>{let a=i.match(n);if(a){let s=ue[a[3]]||`:${a[3]}`;return a[2]&&(s=`:${a[2]}(${s})`),{matcher:i.slice(a[0].length),selector:l=>o.test(l)?l.replace(o,`${t}${s}:`):`${t}${s}${r}${l}`}}}},Nr=e=>{let t=e.match(qn);if(t){let r=Dr[t[1]]||`::${t[1]}`;return{matcher:e.slice(t[0].length),selector:n=>`${n}${r}`}}},Hr={match:e=>{let t=e.match(Zn);if(t){let r=ue[t[1]]||`:${t[1]}`;return{matcher:e.slice(t[0].length),selector:n=>`${n}${r}`}}},multiPass:!0},Kr={match:e=>{let t=e.match(Xn);if(t){let r=t[1],n=ue[t[2]]||`:${t[2]}`;return{matcher:e.slice(t[0].length),selector:o=>`${o}:${r}(${n})`}}},multiPass:!0},Br=(e={})=>{let t=!!(e==null?void 0:e.attributifyPseudo);return[{match:fe("group",t?'[group=""]':".group"," "),multiPass:!0},{match:fe("peer",t?'[peer=""]':".peer","~"),multiPass:!0},{match:fe("parent",t?'[parent=""]':".parent",">"),multiPass:!0},{match:fe("previous",t?'[previous=""]':".previous","+"),multiPass:!0}]},Wr={match:e=>{let t=e.match(Gn);if(t){let r=`part(${t[2]})`;return{matcher:e.slice(t[1].length),selector:n=>`${n}::${r}`}}},multiPass:!0};var Ir=e=>[Ur,_r,Fr,Pr,...Vr,...Ar,Tr,...zr,Hr,Kr,...Br(e),Nr,Wr,...Or(e),...Mr];var Yn=(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:jr,rules:mr,variants:Ir(e),options:e,postprocess:e.variablePrefix&&e.variablePrefix!=="un-"?Jn(e.variablePrefix):void 0}},Gr=Yn;function Jn(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 Qn=["v-bind:",":"],qr=/[\s'"`;]+/g,eo=/<\w[\w:\.$-]*\s((?:'[\s\S]*?'|"[\s\S]*?"|`[\s\S]*?`|\{[\s\S]*?\}|[\s\S]*?)*?)>/g,to=/([?]|(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:%-]+)(?:=(["'])([^\2]*?)\2)?/g,Zr=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:i}){let a=Array.from(i.matchAll(eo)).flatMap(s=>Array.from((s[1]||"").matchAll(to))).flatMap(([,s,l,f])=>{if(t.includes(s))return[];for(let u of Qn)if(s.startsWith(u)){s=s.slice(u.length);break}return f?["class","className"].includes(s)?f.split(qr).filter(G):f.split(qr).filter(Boolean).map(u=>`[${s}~="${u}"]`):G(s)&&r!==!1?[`[${s}=""]`]:[]});return new Set(a)}}};var ro=/^(?!\[(?:[^:]+):(?:.+)\]$)(.+:!?)?(.*)$/,Xr=(e={})=>{var n,o;let t=(n=e.prefix)!=null?n:"un-",r=(o=e.prefixedOnly)!=null?o:!1;return i=>{let a=Ze(i);if(!a)return;let s=a[1];if(s.startsWith(t))s=s.slice(t.length);else if(r)return;let l=a[2],[,f="",u=l]=l.match(ro)||[];return u==="~"||!u?`${f}${s}`:`${f}${s}-${u}`}};var no=(e={})=>{var n,o,i,a,s;e.strict=(n=e.strict)!=null?n:!1,e.prefix=(o=e.prefix)!=null?o:"un-",e.prefixedOnly=(i=e.prefixedOnly)!=null?i:!1,e.nonValuedAttribute=(a=e.nonValuedAttribute)!=null?a:!0,e.ignoreAttributes=(s=e.ignoreAttributes)!=null?s:[];let t=[Xr(e)],r=[Zr(e)];return e.strict||r.unshift(q),{name:"@unocss/preset-attributify",variants:t,extractors:r,options:e}},Yr=no;var oo=e=>e.replace(/-(\w)/g,(t,r)=>r?r.toUpperCase():""),Jr=e=>e.charAt(0).toUpperCase()+e.slice(1),Qr=e=>e.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase(),en=["Webkit","Moz","ms"];function tn(e){let t={};function r(n){let o=t[n];if(o)return o;let i=oo(n);if(i!=="filter"&&i in e)return t[n]=Qr(i);i=Jr(i);for(let a=0;a<en.length;a++){let s=`${en[a]}${i}`;if(s in e)return t[n]=Qr(Jr(s))}return n}return({entries:n})=>n.forEach(o=>{o[0].startsWith("--")||(o[0]=r(o[0]))})}function Ue(e={}){var C,P;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 d=n.postprocess;d||(d=[]),Array.isArray(d)||(d=[d]),d.unshift(tn(document.createElement("div").style)),n.postprocess=d}(C=r==null?void 0:r.configResolved)==null||C.call(r,t,n);let o,i=!0,a,s=it(t,n),l=new Set,f,u=[],b=()=>new Promise(d=>{u.push(d),f!=null&&clearTimeout(f),f=setTimeout(()=>p().then(()=>{let y=u;u=[],y.forEach(S=>S())}),0)});async function p(){let d=await s.generate(l);o||(o=document.createElement("style"),document.documentElement.prepend(o)),o.innerHTML=d.css}async function m(d){await s.applyExtractors(d,void 0,l),await b()}async function E(){let d=document.body&&document.body.outerHTML;d&&await m(d)}let _=new MutationObserver(d=>{i||d.forEach(y=>{let S=y.target;if(S===o||a&&!a(S))return;let L=Array.from(S.attributes).map(U=>U.value?`${U.name}="${U.value}"`:U.name).join(" "),pe=`<${S.tagName.toLowerCase()} ${L}>`;m(pe)})}),w=!1;function h(){if(!w)return;let d=document.documentElement||document.body;!d||(_.observe(d,{childList:!0,subtree:!0,attributes:!0}),w=!0)}function g(){E(),h()}function $(){g(),window.addEventListener("load",g),window.addEventListener("DOMContentLoaded",g)}let x=window.__unocss_runtime=window.__unocss_runtime={version:s.version,uno:s,async extract(d){if(typeof d=="string")return await m(d);d.forEach(y=>l.add(y)),await p()},extractAll:E,inspect(d){a=d},toggleObserver(d){d===void 0?i=!i:i=!!d,!w&&!i&&$()}};((P=r==null?void 0:r.ready)==null?void 0:P.call(r,x))!==!1&&(i=!1,$())}Ue({defaults:{presets:[Gr(),Yr()]}});})();
|
|
1
|
+
(()=>{var Ne=Object.defineProperty,an=Object.defineProperties;var cn=Object.getOwnPropertyDescriptors;var ne=Object.getOwnPropertySymbols;var Ke=Object.prototype.hasOwnProperty,Be=Object.prototype.propertyIsEnumerable;var He=(e,t,r)=>t in e?Ne(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)&&He(e,r,t[r]);if(ne)for(var r of ne(t))Be.call(t,r)&&He(e,r,t[r]);return e},C=(e,t)=>an(e,cn(t));var We=(e,t)=>{var r={};for(var n in e)Ke.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&ne)for(var n of ne(e))t.indexOf(n)<0&&Be.call(e,n)&&(r[n]=e[n]);return r};var ln=(e,t)=>{for(var r in t)Ne(e,r,{get:t[r],enumerable:!0})};var fn={mid:"middle",base:"baseline",btm:"bottom"},Ie=[[/^(?:vertical|align|v)-(baseline|top|middle|bottom|text-top|text-bottom|sub|super|mid|base|btm)$/,([,e])=>({"vertical-align":fn[e]||e})]],Ge=[["text-center",{"text-align":"center"}],["text-left",{"text-align":"left"}],["text-right",{"text-align":"right"}],["text-justify",{"text-align":"justify"}]];var he=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"];function xe(e=""){let t=un(e);if(t==null)return;let{type:r,components:n,alpha:o}=t,i=r.toLowerCase();if(n.length!==0&&!(["rgba","hsla"].includes(i)&&o===void 0)&&!(he.includes(i)&&n.length!==3))return{type:i,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}`,he.includes(o)?`${o}(${r.join(" ")}${n})`:`color(${o} ${r.join(" ")}${n})`)}function un(e){if(!e)return;let t=pn(e);if(t!=null||(t=dn(e),t!=null)||(t=mn(e),t!=null)||(t=hn(e),t!=null)||(t=xn(e),t!=null))return t}function pn(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 dn(e){let t={rebeccapurple:[102,51,153,1]}[e];if(t!=null)return{type:"rgb",components:t.slice(0,3),alpha:t[3]}}function mn(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 gn=new RegExp(`^(${he.join("|")})\\((.+)\\)$`,"i");function hn(e){let t=e.match(gn);if(!t)return;let[,r,n]=t,o=qe(`${r} ${n}`);if(o){let{alpha:i,components:[a,...s]}=o;return{type:a,components:s,alpha:i}}}function xn(e){let t=e.match(/^color\((.+)\)$/);if(!t)return;let r=qe(t[1]);if(r){let{alpha:n,components:[o,...i]}=r;return{type:o,components:i,alpha:n}}}function qe(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 i=t.splice(r-2);t.push(i.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 bn(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 i=e.slice(0,o).trim();return i===""?void 0:[i,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 i=bn(e,t);if(!i)return;let[a,s]=i;n.push(a),e=s}if(n.length>0)return n}var A={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=C(v({},A),{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"]},Ze=["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({},...Ze.map(e=>({[e.replace(/ /,"-")]:e})),...Ze.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="",i=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&&i===45){o+=`\\${n.toString(16)} `;continue}if(r===0&&t===1&&n===45){o+=`\\${e.charAt(r)}`;continue}if(n>=128||n===45||n===95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){o+=e.charAt(r);continue}o+=`\\${e.charAt(r)}`}return o}var oe=ve;function q(e){return(Array.isArray(e)?e:Object.entries(e)).filter(t=>t[1]!=null)}function Xe(e){return Array.isArray(e)?e.find(t=>!Array.isArray(t)||Array.isArray(t[0]))?e.map(t=>q(t)):[e]:[q(e)]}function yn(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 ie(e){return e==null?"":yn(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(i=>{Se(n[i])?i in r?o[i]=ke(r[i],n[i]):Object.assign(o,{[i]:n[i]}):Object.assign(o,{[i]:n[i]})}),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 Ye(e){return typeof e[0]=="string"}function Je(e){return typeof e[0]=="string"}function E(e=[]){return Array.isArray(e)?e:[e]}function se(e){return Array.from(new Set(e))}var $n=/^\[(.+?)~?="(.*)"\]$/,wn=/(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:%-?]/,L="$$shortcut-no-merge";function Qe(e){return e.match($n)}function Z(e=""){return wn.test(e)}function et(e){return typeof e=="function"?{match:e}:e}function Ce(e){return e.length===3}function tt(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,i])=>t(i,r,o)))}};var vn=/([!\w+:_/-]+?)([:-])\(((?:[!\w\s:/\\,%#.$-]|\[.*?\])*?)\)/gm;function rt(e){let t=[],r;for(;r=vn.exec(e);){let o=r.index,i=o+r[0].length,[,a,s,l]=r,f=l.split(/\s/g).map(u=>u.replace(/^(!?)(.*)/,`$1${a}${s}$2`)).join(" ");t.unshift([o,i,f])}let n=e;return t.forEach(([o,i,a])=>{n=n.slice(0,o)+a+n.slice(i)}),n}var nt=new Set;function ot(e){nt.has(e)||(console.warn("[unocss]",e),nt.add(e))}function it(e){let t=function(n){var i;let o=((i=this.__options)==null?void 0:i.sequence)||[];this.__options.sequence=[];for(let a of o){let s=e[a](n);if(s!=null)return s}};function r(n,o){return n.__options||(n.__options={sequence:[]}),n.__options.sequence.push(o),n}for(let n of Object.keys(e))Object.defineProperty(t,n,{enumerable:!0,get(){return r(this,n)}});return t}var Sn=e=>e.split(/[\s'"`;>=]+/g).filter(Z),X={name:"split",order:0,extract({code:e}){return new Set(Sn(e))}};function kn(e){return E(e).flatMap(t=>Array.isArray(t)?[t]:Object.entries(t))}var Cn={shortcuts:-1,default:0};function Ee(e={},t={}){let r=Object.assign({},t,e),n=(r.presets||[]).flatMap(E),o=[...n.filter(p=>p.enforce==="pre"),...n.filter(p=>!p.enforce),...n.filter(p=>p.enforce==="post")],i=Object.assign(Cn,...n.map(p=>p.layers),e.layers);function a(p){return se([...o.flatMap($=>E($[p]||[])),...E(r[p]||[])])}let s=a("extractors");s.length||s.push(X),s.sort((p,$)=>(p.order||0)-($.order||0));let l=a("rules"),f={},u=l.length;l.forEach((p,$)=>{Ye(p)&&(f[p[0]]=[$,p[1],p[2]],delete l[$])});let y=G([...o.map(p=>p.theme||{}),r.theme||{}].reduce((p,$)=>ke(p,$),{}));return a("extendTheme").forEach(p=>p(y)),C(v({mergeSelectors:!0,warn:!0,blocklist:[],safelist:[],sortLayers:p=>p},r),{presets:o,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:i,theme:y,rulesSize:u,rulesDynamic:l,rulesStaticMap:f,preprocess:a("preprocess"),postprocess:a("postprocess"),preflights:a("preflights"),variants:a("variants").map(et),shortcuts:kn(a("shortcuts")),extractors:s})}var st="0.24.0";var ct=class{constructor(t={},r={}){this.userConfig=t;this.defaults=r;this.config=Ee(t,r)}version=st;_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 i of this.config.extractors){let a=await i.extract(o);a==null||a.forEach(s=>n.add(s))}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 s of this.config.preprocess)r=s(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:(...s)=>this.constructCustomCSS(o,...s)},i=this.expandShortcut(n[1],o);if(i){let s=await this.stringifyShortcuts(n,o,i[0],i[1]);if(s==null?void 0:s.length)return this._cache.set(t,s),s}else{let s=(a=await this.parseUtil(n,o))==null?void 0:a.map(l=>this.stringifyUtil(l)).filter(tt);if(s==null?void 0:s.length)return this._cache.set(t,s),s}this._cache.set(t,null)}async generate(t,{id:r,scope:n,preflights:o=!0,safelist:i=!0,minify:a=!1}={}){let s=typeof t=="string"?await this.applyExtractors(t,r):t;i&&this.config.safelist.forEach(m=>s.add(m));let l=a?"":`
|
|
2
|
+
`,f=new Set(["default"]),u=new Set,y=new Map;await Promise.all(Array.from(s).map(async m=>{var b;if(u.has(m))return;let g=await this.parseToken(m);if(g!=null){u.add(m);for(let h of g){let R=h[3]||"";y.has(R)||y.set(R,[]),y.get(R).push(h),((b=h[4])==null?void 0:b.layer)&&f.add(h[4].layer)}}})),o&&this.config.preflights.forEach(m=>{m.layer&&f.add(m.layer)});let p={},$=this.config.sortLayers(Array.from(f).sort((m,g)=>{var b,h;return((b=this.config.layers[m])!=null?b:0)-((h=this.config.layers[g])!=null?h:0)||m.localeCompare(g)})),j={};o&&(j=Object.fromEntries(await Promise.all($.map(async m=>{let b=(await Promise.all(this.config.preflights.filter(h=>(h.layer||"default")===m).map(async h=>await h.getCSS()))).filter(Boolean).join(l);return[m,b]}))));let D=m=>{if(p[m])return p[m];let g=Array.from(y).sort((b,h)=>{var R,P,d;return((R=this.parentOrders.get(b[0]))!=null?R:0)-((P=this.parentOrders.get(h[0]))!=null?P:0)||((d=b[0])==null?void 0:d.localeCompare(h[0]||""))||0}).map(([b,h])=>{let R=h.length,P=h.filter(x=>{var S;return(((S=x[4])==null?void 0:S.layer)||"default")===m}).sort((x,S)=>{var H;return x[0]-S[0]||((H=x[1])==null?void 0:H.localeCompare(S[1]||""))||0}).map(x=>{var S;return[x[1]?Tn(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(!P.length)return;let d=P.reverse().map(([x,S,H],ge)=>{if(!H&&x&&this.config.mergeSelectors)for(let U=ge+1;U<R;U++){let B=P[U];if(B&&!B[2]&&B[0]&&B[1]===S)return B[0].push(...x),null}return x?`${[...new Set(x)].join(`,${l}`)}{${S}}`:S}).filter(Boolean).reverse().join(l);return b?`${b}{${l}${d}${l}}`:d}).filter(Boolean).join(l);return o&&(g=[j[m],g].filter(Boolean).join(l)),p[m]=!a&&g?`/* layer: ${m} */${l}${g}`:g},w=(m=$,g)=>m.filter(b=>!(g==null?void 0:g.includes(b))).map(b=>D(b)||"").filter(Boolean).join(l);return{get css(){return w()},layers:$,getLayers:w,getLayer:D,matched:u}}matchVariants(t,r){let n=new Set,o=[],i=r||t,a=!1,s={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(i,s);if(!!f&&(typeof f=="string"&&(f={matcher:f}),f)){i=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,i,o]}applyVariants(t,r=t[4],n=t[1]){let o=[...r].sort((s,l)=>(s.order||0)-(l.order||0)),i=o.reduce((s,l)=>{var f;return((f=l.body)==null?void 0:f.call(l,s))||s},t[2]),a={selector:o.reduce((s,l)=>{var f;return((f=l.selector)==null?void 0:f.call(l,s,i))||s},jn(n)),entries:i,parent:o.reduce((s,l)=>Array.isArray(l.parent)?l.parent[0]:l.parent||s,void 0),layer:o.reduce((s,l)=>l.layer||s,void 0)};for(let s of this.config.postprocess)s(a);return a}constructCustomCSS(t,r,n){r=q(r);let{selector:o,entries:i,parent:a}=this.applyVariants([0,n||t.rawSelector,r,void 0,t.variantHandlers]),s=`${o}{${ie(i)}}`;return a?`${a}{${s}}`:s}async parseUtil(t,r,n=!1){var u,y;let[o,i,a]=typeof t=="string"?this.matchVariants(t):t,s=this.config.rulesStaticMap[i];if(s&&s[1]&&(n||!((u=s[2])==null?void 0:u.internal)))return[[s[0],o,q(s[1]),s[2],a]];r.variantHandlers=a;let{rulesDynamic:l,rulesSize:f}=this.config;for(let p=f;p>=0;p--){let $=l[p];if(!$||((y=$[2])==null?void 0:y.internal)&&!n)continue;let[j,D,w]=$,m=i.match(j);if(!m)continue;let g=await D(m,r);if(!g)continue;if(typeof g=="string")return[[p,g,w]];let b=Xe(g).filter(h=>h.length);if(b.length)return b.map(h=>[p,o,h,w,a])}}stringifyUtil(t){var f;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:i}=this.applyVariants(t),a=ie(n);if(!a)return;let u=(f=t[3])!=null?f:{},{layer:s}=u,l=We(u,["layer"]);return[t[0],r,a,o,C(v({},l),{layer:i!=null?i:s})]}expandShortcut(t,r,n=3){if(n===0)return;let o,i;for(let a of this.config.shortcuts)if(Je(a)){if(a[0]===t){o=o||a[2],i=a[1];break}}else{let s=t.match(a[0]);if(s&&(i=a[1](s,r)),i){o=o||a[2];break}}if(typeof i=="string"&&(i=rt(i).split(/\s+/g)),!!i)return[i.flatMap(a=>{var s;return((s=this.expandShortcut(a,r,n-1))==null?void 0:s[0])||[a]}).filter(a=>a!==""),o]}async stringifyShortcuts(t,r,n,o={layer:this.config.shortcutsLayer}){var f;let i=new Re,a=(await Promise.all(se(n).map(async u=>{let y=await this.parseUtil(u,r,!0);return y||ot(`unmatched utility "${u}" in shortcut "${t[1]}"`),y||[]}))).flat(1).filter(Boolean).sort((u,y)=>u[0]-y[0]),[s,,l]=t;for(let u of a){if(Ce(u))continue;let{selector:y,entries:p,parent:$}=this.applyVariants(u,[...u[4],...l],s);i.getFallback(y,$,[[],u[0]])[0].push([p,!!((f=u[3])==null?void 0:f.noMerge)])}return i.map(([u,y],p,$)=>{let j=w=>m=>{let g=ie(m);if(g)return[y,p,g,$,C(v({},o),{noMerge:w})]};return[[u.filter(([,w])=>w).map(([w])=>w),!0],[u.filter(([,w])=>!w).map(([w])=>w),!1]].map(([w,m])=>{let g=w.filter(h=>h.some(R=>R[0]===L)),b=w.filter(h=>h.every(R=>R[0]!==L));return[...g.map(j(m)),...[b.flat(1)].map(j(m))]})}).flat(2).filter(Boolean)}isBlocked(t){return!t||this.config.blocklist.some(r=>typeof r=="string"?r===t:r.test(t))}};function lt(e,t){return new ct(e,t)}var ft=/ \$\$ /,En=e=>e.match(ft);function Tn(e,t){return En(e)?e.replace(ft,t?` ${t} `:" "):t?`${t} ${e}`:e}var at=/^\[(.+?)(~?=)"(.*)"\]$/;function jn(e){return at.test(e)?e.replace(at,(t,r,n,o)=>`[${oe(r)}${n}"${oe(o)}"]`):`.${oe(e)}`}var je={};ln(je,{auto:()=>Pn,bracket:()=>Dn,cssvar:()=>Ln,degree:()=>Nn,fraction:()=>_n,global:()=>Kn,number:()=>Un,numberWithUnit:()=>Vn,percent:()=>Fn,properties:()=>Bn,px:()=>Mn,rem:()=>On,time:()=>Hn});var zn=["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"],Te=/^(-?[0-9.]+)(px|pt|pc|rem|em|%|vh|vw|in|cm|mm|ex|ch|vmin|vmax|rpx)?$/i,An=/^(-?[0-9.]+)$/i,ut=/^(px)$/i;function T(e){return e.toFixed(10).replace(/\.0+$/,"").replace(/(\.\d+?)0+$/,"$1")}function Vn(e){let t=e.match(Te);if(!t)return;let[,r,n]=t,o=parseFloat(r);if(n&&!Number.isNaN(o))return`${T(o)}${n}`}function Pn(e){if(e==="auto"||e==="a")return"auto"}function On(e){if(e.match(ut))return`1${e}`;let t=e.match(Te);if(!t)return;let[,r,n]=t,o=parseFloat(r);if(!Number.isNaN(o))return n?`${T(o)}${n}`:`${T(o/4)}rem`}function Mn(e){if(e.match(ut))return`1${e}`;let t=e.match(Te);if(!t)return;let[,r,n]=t,o=parseFloat(r);if(!Number.isNaN(o))return n?`${T(o)}${n}`:`${T(o)}px`}function Un(e){if(!An.test(e))return;let t=parseFloat(e);if(!Number.isNaN(t))return T(t)}function Fn(e){e.endsWith("%")&&(e=e.slice(0,-1));let t=parseFloat(e);if(!Number.isNaN(t))return`${T(t/100)}`}function _n(e){if(e==="full")return"100%";let[t,r]=e.split("/"),n=parseFloat(t)/parseFloat(r);if(!Number.isNaN(n))return`${T(n*100)}%`}function Dn(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 Ln(e){if(e.match(/^\$\S/))return`var(--${ve(e.slice(1))})`}function Hn(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?`${T(o)}${n}`:`${T(o)}ms`}function Nn(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?`${T(o)}${n}`:`${T(o)}deg`}function Kn(e){if(["inherit","initial","revert","unset"].includes(e))return e}function Bn(e){for(let t of e.split(","))if(!zn.includes(t))return;return e}var c=it(je);var _=(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}}},O=(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 z=e=>([t,r,n])=>{let o=c.bracket.cssvar.auto.fraction.rem(n);if(o!==void 0)return A[r].map(i=>[`${e}${i}`,o])},ze=(e,t)=>{var r;return(r=e.colors)==null?void 0:r[t.join("-").replace(/(-[a-z])/g,n=>n.slice(1).toUpperCase())]},ae=(e,t)=>{let[r,n]=e.split(/(?:\/|:)/),o=r.replace(/([a-z])([0-9])/g,"$1-$2").split(/-/g),[i]=o;if(!i)return;let a,s=c.bracket(r),l=s||r;l.startsWith("#")?a=l.slice(1):l.startsWith("hex-")?a=l.slice(4):r.startsWith("$")&&(a=c.cssvar(r)),a=a||s;let f="DEFAULT";if(!a){let u,[y]=o.slice(-1);y.match(/^\d+$/)?(f=y,u=ze(t,o.slice(0,-1))):(u=ze(t,o),!u&&o.length<=2&&([,f=f]=o,u=ze(t,[i]))),typeof u=="string"?a=u:f&&u&&(a=u[f])}return{opacity:n,name:i,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=ae(r,n);if(!o)return;let{alpha:i,color:a,cssColor:s}=o;if(s)return i!=null?{[e]:F(s,i)}:{[`--un-${t}-opacity`]:(l=s.alpha)!=null?l:1,[e]:F(s,`var(--un-${t}-opacity)`)};if(a)return{[e]:a.replace("%alpha",`${i!=null?i:1}`)}},ce=(e,t)=>{let r=[];e=E(e);for(let n=0;n<e.length;n++){let o=W(e[n]);if(!o)return e;let[i,...a]=o.reverse(),s=xe(i);if(s==null)return e;r.push(`${a.reverse().join(" ")} var(${t}, ${F(s)})`)}return r};var pt=[[/^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"}]],dt=[["appearance-none",{appearance:"none","-webkit-appearance":"none"}]],Wn=e=>{var t;return(t=c.properties.auto.global(e))!=null?t:{contents:"contents",scroll:"scroll-position"}[e]},mt=[[/^will-change-(.+)/,([,e])=>({"will-change":Wn(e)})]];var gt=[[/^(?:border|b)()(?:-(.+))?$/,Y],[/^(?:border|b)-([xy])(?:-(.+))?$/,Y],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,Y],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,Y],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,Y],[/^(?: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-)?(.+)$/,J],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,J],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,J],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,J],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,J],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,Q],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,Q],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,Q],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,Q],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,Q],[/^(?:border-)?(?:rounded|rd)()(?:-(.+))?$/,ee],[/^(?:border-)?(?:rounded|rd)-([rltb])(?:-(.+))?$/,ee],[/^(?:border-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,ee],[/^(?:border-)?(?:rounded|rd)-([bi][se])(?:-(.+))?$/,ee],[/^(?:border-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,ee],["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"}]],In=(e,{theme:t})=>{var r;return e!==void 0&&!!((r=ae(e,t))==null?void 0:r.color)},Gn=e=>([,t],{theme:r})=>{var s,l;let n=ae(t,r);if(!n)return;let{alpha:o,color:i,cssColor:a}=n;if(a)return o!=null?{[`border${e}-color`]:F(a,o)}:e===""?{"--un-border-opacity":(s=a.alpha)!=null?s: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(i)return{[`border${e}-color`]:i.replace("%alpha",`${o!=null?o:1}`)}};function Y(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 A&&r!=null)return A[e].map(n=>[`border${n}-width`,r])}function J([,e="",t],r){if(e in A&&In(t,r))return Object.assign({},...A[e].map(n=>Gn(n)(["",t],r)))}function Q([,e="",t]){let r=c.bracket.percent(t);if(e in A&&r!=null)return A[e].map(n=>[`--un-border${n}-opacity`,r])}function ee([,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(i=>[`border${i}-radius`,n])}var ht=[[/^op(?:acity)?-?(.+)$/,([,e])=>({opacity:c.bracket.percent.cssvar(e)})]],xt=[[/^(?:text|color|c)-(.+)$/,k("color","text")],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-opacity":c.bracket.percent(e)})]],bt=[[/^bg-(.+)$/,k("background-color","bg")],[/^bg-op(?:acity)?-?(.+)$/,([,e])=>({"--un-bg-opacity":c.bracket.percent(e)})]];var $t={all:"all",colors:["color","background-color","border-color","text-decoration-color","fill","stroke"].join(","),none:"none",opacity:"opacity",shadow:"box-shadow",transform:"transform"},yt=e=>{var t;return(t=c.properties(e))!=null?t:$t[e]},wt=[[/^transition(?:-([a-z-]+(?:,[a-z-]+)*))?(?:-(\d+))?$/,([,e,t="150"])=>{let r=e!=null?yt(e):[$t.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)||yt(e)})],["transition-none",{transition:"none"}]];var vt=[["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 qn={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},St=[[/^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=E((n=t.fontSize)==null?void 0:n[e]);if(r==null?void 0:r[0]){let[o,i="1"]=r;return{"font-size":o,"line-height":i}}return{"font-size":c.bracket.rem(e)}}],[/^text-size-(.+)$/,([,e])=>({"font-size":c.bracket.cssvar.rem(e)})],[/^(?:font|fw)-?([^-]+)$/,([,e])=>({"font-weight":qn[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)}}]],kt=[[/^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}}]],Ct=[[/^indent(?:-(.+))?$/,([,e],{theme:t})=>{var r;return{"text-indent":((r=t.textIndent)==null?void 0:r[e||"DEFAULT"])||c.bracket.cssvar.fraction.rem(e)}}]],Rt=[[/^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)})]],Et=[[/^text-shadow(?:-(.+))?$/,([,e],{theme:t})=>{var n;let r=(n=t.textShadow)==null?void 0:n[e||"DEFAULT"];return r!=null?{"--un-text-shadow":ce(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 Tt={"":"",x:"column-",y:"row-"},jt=([,e="",t])=>{let r=c.bracket.cssvar.rem(t);if(r!=null)return{[`grid-${Tt[e]}gap`]:r,[`${Tt[e]}gap`]:r}},zt=[[/^(?:flex-|grid-)?gap-()([^-]+)$/,jt],[/^(?:flex-|grid-)?gap-([xy])-([^-]+)$/,jt]];var V=e=>e.replace("col","column"),Zn=(e,t)=>{var n;let r=(n=t.fontSize)==null?void 0:n[e];if(r!=null)return E(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-${V(e)}`]:c.bracket.cssvar.auto(t)})],[/^(?:grid-)?(row|col)-span-(.+)$/,([,e,t])=>{if(t==="full")return{[`grid-${V(e)}`]:"1/-1"};let r=c.bracket.number(t);if(r!=null)return{[`grid-${V(e)}`]:`span ${r}/span ${r}`}}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,e,t])=>{var r;return{[`grid-${V(e)}-start`]:(r=c.bracket.cssvar(t))!=null?r:t}}],[/^(?:grid-)?(row|col)-end-(.+)$/,([,e,t])=>{var r;return{[`grid-${V(e)}-end`]:(r=c.bracket.cssvar(t))!=null?r:t}}],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,e,t],{theme:r})=>({[`grid-auto-${V(e)}`]:Zn(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":V(e).replace("-"," ")})],[/^grid-(rows|cols)-(.+)$/,([,e,t])=>({[`grid-template-${V(e)}`]:c.bracket.cssvar(t)})],[/^grid-(rows|cols)-minmax-([\w.-]+)$/,([,e,t])=>({[`grid-template-${V(e)}`]:`repeat(auto-fill,minmax(${t},1fr))`})],[/^grid-(rows|cols)-(\d+)$/,([,e,t])=>({[`grid-template-${V(e)}`]:`repeat(${t},minmax(0,1fr))`})],["grid-rows-none",{"grid-template-rows":"none"}],["grid-cols-none",{"grid-template-columns":"none"}]];var Vt=["auto","hidden","clip","visible","scroll"],Pt=[[/^(?:overflow|of)-(.+)$/,([,e])=>Vt.includes(e)?{overflow:e}:void 0],[/^(?:overflow|of)-([xy])-(.+)$/,([,e,t])=>Vt.includes(t)?{[`overflow-${e}`]:t}:void 0]];var Ve=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,e])=>({position:e})],[/^(?:position-|pos-)?(static)$/,([,e])=>({position:e})]],Ot=[["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"}]],Mt=[[/^order-(.+)$/,([,e])=>({order:c.bracket.cssvar.number(e)})],["order-first",{order:"-9999"}],["order-last",{order:"9999"}],["order-none",{order:"0"}]],Ut=[["content-center",{"align-content":"center"}],["content-start",{"align-content":"flex-start"}],["content-end",{"align-content":"flex-end"}],["content-between",{"align-content":"space-between"}],["content-around",{"align-content":"space-around"}],["content-evenly",{"align-content":"space-evenly"}],["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"}]],Ft=[["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 Ae(e){return c.bracket.cssvar.auto.fraction.rem(e)}function le([,e,t]){let r=Ae(t);if(r!=null&&e in be)return be[e].map(n=>[n.slice(1),r])}var _t=[[/^(?:position-|pos-)?inset-(.+)$/,([,e])=>({inset:Ae(e)})],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,le],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,le],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,le],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,le],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,e,t])=>({[e]:Ae(t)})]],Dt=[["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"}]],Lt=[[/^z-(.+)$/,([,e])=>({"z-index":c.bracket.cssvar.auto.number(e)})]],Ht=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}]];var fe="var(--un-empty,/*!*/ /*!*/)",Nt=[["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"}]],Bt=[[/^cursor-(.+)$/,([,e])=>({cursor:c.bracket.cssvar(e)||e})]],Wt=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}]],It=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}]],Gt=[["select-auto",{"user-select":"auto"}],["select-all",{"user-select":"all"}],["select-text",{"user-select":"text"}],["select-none",{"user-select":"none"}]],qt=[[/^(?:whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap)$/,([,e])=>({"white-space":e})]],Zt=[["content-empty",{content:'""'}],["content-none",{content:'""'}]],Xt=[["break-normal",{"overflow-wrap":"normal","word-break":"normal"}],["break-words",{"overflow-wrap":"break-word"}],["break-all",{"word-break":"break-all"}]],Yt=[["truncate",{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}],["text-ellipsis",{"text-overflow":"ellipsis"}],["text-clip",{"text-overflow":"clip"}]],Jt=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}]],Qt=[["italic",{"font-style":"italic"}],["not-italic",{"font-style":"normal"}]],er=[["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={[L]:"","--un-ring-offset-shadow":"0 0 #0000","--un-ring-shadow":"0 0 #0000","--un-shadow-inset":fe,"--un-shadow":"0 0 #0000"},tr=[[/^shadow(?:-(.+))?$/,([,e],{theme:t})=>{var n;let r=(n=t.boxShadow)==null?void 0:n[e||"DEFAULT"];if(r)return[Pe,{"--un-shadow":ce(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 Xn=C(v({},Pe),{"--un-ring-inset":fe,"--un-ring-offset-width":"0px","--un-ring-offset-color":"#fff","--un-ring-width":"0px","--un-ring-color":"rgba(147,197,253,0.5)"}),rr=[[/^ring(?:-(.+))?$/,([,e])=>{let t=c.px(e||"1");if(t)return[Xn,{"--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 Yn={h:"height",w:"width",inline:"inline-size",block:"block-size"};function ue(e,t){return`${e||""}${Yn[t]}`}function nr(e,t,r,n){var a;let o=ue(e,t).replace(/-(\w)/g,(s,l)=>l.toUpperCase()),i=(a=r[o])==null?void 0:a[n];if(i!=null)return i;switch(n){case"fit":case"max":case"min":return`${n}-content`}return c.bracket.cssvar.auto.fraction.rem(n)}var or=[[/^(min-|max-)?([wh])-(.+)$/,([,e,t,r],{theme:n})=>({[ue(e,t)]:nr(e,t,n,r)})],[/^(min-|max-)?(block|inline)-(.+)$/,([,e,t,r],{theme:n})=>({[ue(e,t)]:nr(e,t,n,r)})],[/^(min-|max-)?(w)-screen-(.+)$/,([,e,t,r],{theme:n})=>{var o;return{[ue(e,t)]:(o=n.breakpoints)==null?void 0:o[r]}}]];function Jn(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":Jn(e)})]];var sr=[[/^pa?()-?(-?.+)$/,z("padding")],[/^p-?([xy])-?(-?.+)$/,z("padding")],[/^p-?([rltbse])-?(-?.+)$/,z("padding")],[/^p-(block|inline)-(-?.+)$/,z("padding")],[/^p-?([bi][se])-?(-?.+)$/,z("padding")]],ar=[[/^ma?()-?(-?.+)$/,z("margin")],[/^m-?([xy])-?(-?.+)$/,z("margin")],[/^m-?([rltbse])-?(-?.+)$/,z("margin")],[/^m-(block|inline)-(-?.+)$/,z("margin")],[/^m-?([bi][se])-?(-?.+)$/,z("margin")]];var Qn={"--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(" ")},ur={"--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(" ")},K=C(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},ur),{[L]:""}),pr=[[/^(?: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-()(.+)$/,cr],[/^(?:transform-)?translate-([xyz])-(.+)$/,cr],[/^(?:transform-)?rotate-()(.+)$/,fr],[/^(?:transform-)?rotate-([xyz])-(.+)$/,fr],[/^(?:transform-)?skew-([xy])-(.+)$/,eo],[/^(?:transform-)?scale-()(.+)$/,lr],[/^(?:transform-)?scale-([xyz])-(.+)$/,lr],[/^(?:transform-)?preserve-3d$/,()=>({"transform-style":"preserve-3d"})],[/^(?:transform-)?preserve-flat$/,()=>({"transform-style":"flat"})],[/^transform$/,()=>[K,{transform:"var(--un-transform)"}]],["transform-gpu",Qn],["transform-cpu",ur],["transform-none",{transform:"none"}]];function cr([,e,t]){let r=c.bracket.cssvar.fraction.rem(t);if(r!=null)return[K,[...$e[e].map(n=>[`--un-translate${n}`,r]),["transform","var(--un-transform)"]]]}function lr([,e,t]){let r=c.bracket.cssvar.fraction.percent(t);if(r!=null)return[K,[...$e[e].map(n=>[`--un-scale${n}`,r]),["transform","var(--un-transform)"]]]}function fr([,e="",t]){let r=c.bracket.cssvar.degree(t);if(r!=null)return e?[K,{"--un-rotate":0,[`--un-rotate-${e}`]:r,transform:"var(--un-transform)"}]:[K,{"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-rotate":r,transform:"var(--un-transform)"}]}function eo([,e,t]){let r=c.bracket.cssvar.degree(t);if(r!=null)return[K,{[`--un-skew-${e}`]:r,transform:"var(--un-transform)"}]}var to={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=[[/^(.+?)-(\$.+)$/,([,e,t])=>{let r=to[e];if(r)return{[r]:c.cssvar(t)}}]],mr=[[/^\[([^:]+):(.+)\]$/,([,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
|
+
${t({animation:"__un_qm 0.5s ease-in-out alternate infinite"})}`}]];var hr=[[/^(?: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 xr=[[/^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 br=[dr,mr,sr,ar,Nt,ht,bt,xr,gt,Zt,St,kt,Ct,Yt,hr,Rt,Et,Jt,Ge,xt,Qt,er,tr,rr,vt,At,zt,Ve,or,ir,Bt,Kt,Wt,It,Ie,Gt,qt,Xt,Pt,pt,dt,Ve,Mt,Ot,Ut,Ft,_t,Dt,Lt,Ht,wt,pr,mt,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 yr={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(",")},$r={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"]},wr={DEFAULT:"1.5rem",xs:"0.5rem",sm:"1rem",md:"1.5rem",lg:"2rem",xl:"2.5rem","2xl":"3rem","3xl":"4rem"},vr={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},Sr={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"},kr={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"},Cr=Me;var Rr={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},Er={DEFAULT:"0.25rem",none:"0px",sm:"0.125rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},Tr={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"},jr={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 pe={xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",prose:"65ch"},Ue=C(v({auto:"auto"},pe),{screen:"100vw"}),te=C(v({none:"none"},pe),{screen:"100vw"}),Fe=C(v({auto:"auto"},pe),{screen:"100vh"}),re=C(v({none:"none"},pe),{screen:"100vh"});var Vr={width:Ue,height:Fe,maxWidth:te,maxHeight:re,minWidth:te,minHeight:re,inlineSize:Ue,blockSize:Fe,maxInlineSize:te,maxBlockSize:re,minInlineSize:te,minBlockSize:re,colors:Oe,fontFamily:yr,fontSize:$r,breakpoints:Rr,borderRadius:Er,lineHeight:kr,letterSpacing:Me,wordSpacing:Cr,boxShadow:Tr,textIndent:wr,textShadow:Sr,textStrokeWidth:vr,blur:zr,dropShadow:Ar,easing:jr};var _e={},Pr=(e,{theme:t})=>{let r=Object.entries(t.breakpoints||{}).map(([n,o],i)=>[n,o,i]);for(let[n,o,i]of r){_e[n]||(_e[n]=new RegExp(`^((?:[al]t-)?${n}[:-])`));let a=e.match(_e[n]);if(!a)continue;let[,s]=a,l=e.slice(s.length);if(l==="container")continue;let f="min",u=1e3;return s.startsWith("lt-")?(f="max",u-=i+1):u+=i+1,s.startsWith("at-")&&i<r.length-1?{matcher:l,parent:[`@media (min-width: ${o}) and (max-width: ${r[i+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 i=o.match(n);if(i)return{matcher:o.slice(i[0].length),selector:a=>{var s;return r.replace("&&-s",a).replace("&&-c",(s=i[1])!=null?s:"*")}}}},Or=[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"),_("svg",e=>`${e} svg`)];var Mr=[O("motion-reduce","@media (prefers-reduced-motion: reduce)"),O("motion-safe","@media (prefers-reduced-motion: no-preference)")],Ur=[O("landscape","@media (orientation: landscape)"),O("portrait","@media (orientation: portrait)")],Fr=O("print","@media print");var _r=(e={})=>(e==null?void 0:e.dark)==="class"?[_("dark",t=>`.dark $$ ${t}`),_("light",t=>`.light $$ ${t}`)]:[O("dark","@media (prefers-color-scheme: dark)"),O("light","@media (prefers-color-scheme: light)")];var Dr=[_("rtl",e=>`[dir="rtl"] $$ ${e}`),_("ltr",e=>`[dir="ltr"] $$ ${e}`)];var Lr={match(e){let t=e.match(/layer-([\d\w]+)[:-]/);if(t)return{matcher:e.slice(t[0].length),layer:t[1]}}},Hr={match(e){if(e.startsWith("!"))return{matcher:e.slice(1),body:t=>(t.forEach(r=>{r[1]&&(r[1]+=" !important")}),t)}}},Nr={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]+|%)?/,i=>`-${i}`))}),t)}}};var me=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(E)),Kr=Object.fromEntries(["placeholder","before","after","first-letter","first-line","selection","marker",["file","::file-selector-button"]].map(E)),ro=["not","is","where","has"],no=Object.keys(Kr).join("|"),De=Object.keys(me).join("|"),Br=ro.join("|"),oo=/(part-\[(.+)]:)(.+)/,io=new RegExp(`^(${no})[:-]`),so=new RegExp(`^(${De})[:-]`),ao=new RegExp(`^(${Br})-(${De})[:-]`),de=(e,t,r)=>{let n=new RegExp(`^${e}-((?:(${Br})-)?(${De}))[:-]`),o=new RegExp(`^${I(t)}:`);return i=>{let a=i.match(n);if(a){let s=me[a[3]]||`:${a[3]}`;return a[2]&&(s=`:${a[2]}(${s})`),{matcher:i.slice(a[0].length),selector:l=>o.test(l)?l.replace(o,`${t}${s}:`):`${t}${s}${r}${l}`}}}},Wr=e=>{let t=e.match(io);if(t){let r=Kr[t[1]]||`::${t[1]}`;return{matcher:e.slice(t[0].length),selector:n=>`${n}${r}`}}},Ir={match:e=>{let t=e.match(so);if(t){let r=me[t[1]]||`:${t[1]}`;return{matcher:e.slice(t[0].length),selector:n=>`${n}${r}`}}},multiPass:!0},Gr={match:e=>{let t=e.match(ao);if(t){let r=t[1],n=me[t[2]]||`:${t[2]}`;return{matcher:e.slice(t[0].length),selector:o=>`${o}:${r}(${n})`}}},multiPass:!0},qr=(e={})=>{let t=!!(e==null?void 0:e.attributifyPseudo);return[{match:de("group",t?'[group=""]':".group"," "),multiPass:!0},{match:de("peer",t?'[peer=""]':".peer","~"),multiPass:!0},{match:de("parent",t?'[parent=""]':".parent",">"),multiPass:!0},{match:de("previous",t?'[previous=""]':".previous","+"),multiPass:!0}]},Zr={match:e=>{let t=e.match(oo);if(t){let r=`part(${t[2]})`;return{matcher:e.slice(t[1].length),selector:n=>`${n}::${r}`}}},multiPass:!0};var Xr=e=>[Lr,Nr,Hr,Fr,...Ur,...Mr,Pr,...Or,Ir,Gr,...qr(e),Wr,Zr,..._r(e),...Dr];var co=(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:Vr,rules:br,variants:Xr(e),options:e,postprocess:e.variablePrefix&&e.variablePrefix!=="un-"?lo(e.variablePrefix):void 0}},Yr=co;function lo(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 fo=["v-bind:",":"],Jr=/[\s'"`;]+/g,uo=/<\w[\w:\.$-]*\s((?:'[\s\S]*?'|"[\s\S]*?"|`[\s\S]*?`|\{[\s\S]*?\}|[\s\S]*?)*?)>/g,po=/([?]|(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:%-]+)(?:=(["'])([^\2]*?)\2)?/g,Qr=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:i}){let a=Array.from(i.matchAll(uo)).flatMap(s=>Array.from((s[1]||"").matchAll(po))).flatMap(([,s,l,f])=>{if(t.includes(s))return[];for(let u of fo)if(s.startsWith(u)){s=s.slice(u.length);break}return f?["class","className"].includes(s)?f.split(Jr).filter(Z):f.split(Jr).filter(Boolean).map(u=>`[${s}~="${u}"]`):Z(s)&&r!==!1?[`[${s}=""]`]:[]});return new Set(a)}}};var mo=/^(?!\[(?:[^:]+):(?:.+)\]$)(.+:!?)?(.*)$/,en=(e={})=>{var n,o;let t=(n=e.prefix)!=null?n:"un-",r=(o=e.prefixedOnly)!=null?o:!1;return i=>{let a=Qe(i);if(!a)return;let s=a[1];if(s.startsWith(t))s=s.slice(t.length);else if(r)return;let l=a[2],[,f="",u=l]=l.match(mo)||[];return u==="~"||!u?`${f}${s}`:`${f}${s}-${u}`}};var go=(e={})=>{var n,o,i,a,s;e.strict=(n=e.strict)!=null?n:!1,e.prefix=(o=e.prefix)!=null?o:"un-",e.prefixedOnly=(i=e.prefixedOnly)!=null?i:!1,e.nonValuedAttribute=(a=e.nonValuedAttribute)!=null?a:!0,e.ignoreAttributes=(s=e.ignoreAttributes)!=null?s:[];let t=[en(e)],r=[Qr(e)];return e.strict||r.unshift(X),{name:"@unocss/preset-attributify",variants:t,extractors:r,options:e}},tn=go;var ho=e=>e.replace(/-(\w)/g,(t,r)=>r?r.toUpperCase():""),rn=e=>e.charAt(0).toUpperCase()+e.slice(1),nn=e=>e.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase(),on=["Webkit","Moz","ms"];function sn(e){let t={};function r(n){let o=t[n];if(o)return o;let i=ho(n);if(i!=="filter"&&i in e)return t[n]=nn(i);i=rn(i);for(let a=0;a<on.length;a++){let s=`${on[a]}${i}`;if(s in e)return t[n]=nn(rn(s))}return n}return({entries:n})=>n.forEach(o=>{o[0].startsWith("--")||(o[0]=r(o[0]))})}function Le(e={}){var R,P;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 d=n.postprocess;d||(d=[]),Array.isArray(d)||(d=[d]),d.unshift(sn(document.createElement("div").style)),n.postprocess=d}(R=r==null?void 0:r.configResolved)==null||R.call(r,t,n);let o,i=!0,a,s=lt(t,n),l=new Set,f,u=[],y=()=>new Promise(d=>{u.push(d),f!=null&&clearTimeout(f),f=setTimeout(()=>p().then(()=>{let x=u;u=[],x.forEach(S=>S())}),0)});async function p(){let d=await s.generate(l);o||(o=document.createElement("style"),document.documentElement.prepend(o)),o.innerHTML=d.css}async function $(d){await s.applyExtractors(d,void 0,l),await y()}async function j(){let d=document.body&&document.body.outerHTML;d&&await $(d)}let D=new MutationObserver(d=>{i||d.forEach(x=>{let S=x.target;if(S===o||a&&!a(S))return;let H=Array.from(S.attributes).map(U=>U.value?`${U.name}="${U.value}"`:U.name).join(" "),ge=`<${S.tagName.toLowerCase()} ${H}>`;$(ge)})}),w=!1;function m(){if(!w)return;let d=document.documentElement||document.body;!d||(D.observe(d,{childList:!0,subtree:!0,attributes:!0}),w=!0)}function g(){j(),m()}function b(){g(),window.addEventListener("load",g),window.addEventListener("DOMContentLoaded",g)}let h=window.__unocss_runtime=window.__unocss_runtime={version:s.version,uno:s,async extract(d){if(typeof d=="string")return await $(d);d.forEach(x=>l.add(x)),await p()},extractAll:j,inspect(d){a=d},toggleObserver(d){d===void 0?i=!i:i=!!d,!w&&!i&&b()}};((P=r==null?void 0:r.ready)==null?void 0:P.call(r,h))!==!1&&(i=!1,b())}Le({defaults:{presets:[Yr(),tn()]}});})();
|
package/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/runtime",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.24.0",
|
|
4
4
|
"description": "CSS-in-JS Runtime for UnoCSS",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"unocss",
|
|
7
7
|
"css-in-js"
|
|
8
8
|
],
|
|
9
|
-
"homepage": "https://github.com/
|
|
9
|
+
"homepage": "https://github.com/unocss/unocss/tree/main/packages/runtime#readme",
|
|
10
10
|
"bugs": {
|
|
11
|
-
"url": "https://github.com/
|
|
11
|
+
"url": "https://github.com/unocss/unocss/issues"
|
|
12
12
|
},
|
|
13
13
|
"repository": {
|
|
14
14
|
"type": "git",
|
|
15
|
-
"url": "git+https://github.com/
|
|
15
|
+
"url": "git+https://github.com/unocss/unocss.git",
|
|
16
16
|
"directory": "packages/runtime"
|
|
17
17
|
},
|
|
18
18
|
"funding": "https://github.com/sponsors/antfu",
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
"dist"
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@unocss/core": "0.
|
|
38
|
-
"@unocss/preset-attributify": "0.
|
|
39
|
-
"@unocss/preset-uno": "0.
|
|
37
|
+
"@unocss/core": "0.24.0",
|
|
38
|
+
"@unocss/preset-attributify": "0.24.0",
|
|
39
|
+
"@unocss/preset-uno": "0.24.0"
|
|
40
40
|
},
|
|
41
41
|
"scripts": {
|
|
42
42
|
"build": "pnpm run build:node && pnpm run build:cdn",
|