@unocss/runtime 0.40.0 → 0.41.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/attributify.global.js +3 -3
- package/core.global.js +2 -2
- package/full.global.js +3 -3
- package/mini.global.js +3 -3
- package/package.json +4 -4
- package/uno.global.js +3 -3
package/mini.global.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";(()=>{var
|
|
2
|
-
`,u=new Set(["default"]),m=new Set,f=new Map,x={},p=Array.from(a).map(async g=>{var $;if(m.has(g))return;let y=await this.parseToken(g);if(y!=null){m.add(g);for(let k of y){let j=k[3]||"",d=($=k[4])==null?void 0:$.layer;f.has(j)||f.set(j,[]),f.get(j).push(k),d&&u.add(d)}}}),h=(async()=>{if(!o)return;let g={generator:this,theme:this.config.theme},y=new Set(["default"]);this.config.preflights.forEach(({layer:$})=>{$&&(u.add($),y.add($))}),x=Object.fromEntries(await Promise.all(Array.from(y).map(async $=>{let j=(await Promise.all(this.config.preflights.filter(d=>(d.layer||"default")===$).map(async d=>await d.getCSS(g)))).filter(Boolean).join(l);return[$,j]})))})();await Promise.all([...p,h]);let b=this.config.sortLayers(Array.from(u).sort((g,y)=>(this.config.layers[g]??0)-(this.config.layers[y]??0)||g.localeCompare(y))),T={},w=g=>{if(T[g])return T[g];let y=Array.from(f).sort(($,k)=>{var j;return(this.parentOrders.get($[0])??0)-(this.parentOrders.get(k[0])??0)||((j=$[0])==null?void 0:j.localeCompare(k[0]||""))||0}).map(([$,k])=>{let j=k.length,d=k.filter(v=>{var R;return(((R=v[4])==null?void 0:R.layer)||"default")===g}).sort((v,R)=>{var A,F,G,U;return v[0]-R[0]||(((A=v[4])==null?void 0:A.sort)||0)-(((F=R[4])==null?void 0:F.sort)||0)||((G=v[1])==null?void 0:G.localeCompare(R[1]||""))||((U=v[2])==null?void 0:U.localeCompare(R[2]||""))||0}).map(([,v,R,,A])=>[[[(v&&Gn(v,n))??"",(A==null?void 0:A.sort)??0]],R,!!(A!=null&&A.noMerge)]);if(!d.length)return;let C=d.reverse().map(([v,R,A],F)=>{if(!A&&this.config.mergeSelectors)for(let U=F+1;U<j;U++){let _=d[U];if(_&&!_[2]&&(v&&_[0]||v==null&&_[0]==null)&&_[1]===R)return v&&_[0]&&_[0].push(...v),null}let G=v?[...new Set(v.sort((U,_)=>{var tt;return U[1]-_[1]||((tt=U[0])==null?void 0:tt.localeCompare(_[0]||""))||0}).map(U=>U[0]).filter(Boolean))]:[];return G.length?`${G.join(`,${l}`)}{${R}}`:R}).filter(Boolean).reverse().join(l);return $?`${$}{${l}${C}${l}}`:C}).filter(Boolean).join(l);return o&&(y=[x[g],y].filter(Boolean).join(l)),T[g]=!s&&y?`/* layer: ${g} */${l}${y}`:y},S=(g=b,y)=>g.filter($=>!(y!=null&&y.includes($))).map($=>w($)||"").filter(Boolean).join(l);return{get css(){return S()},layers:b,getLayers:S,getLayer:w,matched:m}}matchVariants(t,r){let n=new Set,o=[],i=r||t,s=!1,a={rawSelector:t,theme:this.config.theme,generator:this};for(;;){s=!1;for(let l of this.config.variants){if(!l.multiPass&&n.has(l))continue;let u=l.match(i,a);if(!!u){typeof u=="string"&&(u={matcher:u}),i=u.matcher,o.push(u),n.add(l),s=!0;break}}if(!s)break;if(o.length>500)throw new Error(`Too many variants applied to "${t}"`)}return[t,i,o,n]}applyVariants(t,r=t[4],n=t[1]){let i=[...r].sort((u,m)=>(u.order||0)-(m.order||0)).reverse().reduce((u,m)=>f=>{var h,b;let x=((h=m.body)==null?void 0:h.call(m,f.entries))||f.entries,p=Array.isArray(m.parent)?m.parent:[m.parent,void 0];return(m.handle??Yn)({...f,entries:x,selector:((b=m.selector)==null?void 0:b.call(m,f.selector,x))||f.selector,parent:p[0]||f.parent,parentOrder:p[1]||f.parentOrder,layer:m.layer||f.layer,sort:m.sort||f.sort},u)},u=>u)({prefix:"",selector:Xn(n),pseudo:"",entries:t[2]}),{parent:s,parentOrder:a}=i;s!=null&&a!=null&&this.parentOrders.set(s,a);let l={selector:Zn([i.prefix,i.selector,i.pseudo].join("")),entries:i.entries,parent:s,layer:i.layer,sort:i.sort};for(let u of this.config.postprocess)u(l);return l}constructCustomCSS(t,r,n){let o=X(r);if(typeof o=="string")return o;let{selector:i,entries:s,parent:a}=this.applyVariants([0,n||t.rawSelector,o,void 0,t.variantHandlers]),l=`${i}{${H(s)}}`;return a?`${a}{${l}}`:l}async parseUtil(t,r,n=!1){var f,x;let[o,i,s]=typeof t=="string"?this.matchVariants(t):t,a=this.config.details?p=>{r.rules=r.rules??[],r.rules.push(p)}:Ve,l=this.config.rulesStaticMap[i];if(l&&l[1]&&(n||!((f=l[2])!=null&&f.internal))){a(l[3]);let p=l[0],h=X(l[1]),b=l[2];return typeof h=="string"?[[p,h,b]]:[[p,o,h,b,s]]}r.variantHandlers=s;let{rulesDynamic:u,rulesSize:m}=this.config;for(let p=m-1;p>=0;p--){let h=u[p];if(!h||((x=h[2])==null?void 0:x.internal)&&!n)continue;let[b,T,w]=h,S=i.match(b);if(!S)continue;let g=await T(S,r);if(!g)continue;a(h);let y=rt(g).filter($=>$.length);if(y.length)return y.map($=>typeof $=="string"?[p,$,w]:[p,o,$,w,s])}}stringifyUtil(t,r){if(!t)return;if(ze(t))return[t[0],void 0,t[1],void 0,t[2],this.config.details?r:void 0];let{selector:n,entries:o,parent:i,layer:s,sort:a}=this.applyVariants(t),l=H(o);if(!l)return;let{layer:u,sort:m,...f}=t[3]??{},x={...f,layer:s??u,sort:a??m};return[t[0],n,l,i,x,this.config.details?r:void 0]}expandShortcut(t,r,n=3){if(n===0)return;let o=this.config.details?a=>{r.shortcuts=r.shortcuts??[],r.shortcuts.push(a)}:Ve,i,s;for(let a of this.config.shortcuts)if(ot(a)){if(a[0]===t){i=i||a[2],s=a[1],o(a);break}}else{let l=t.match(a[0]);if(l&&(s=a[1](l,r)),s){i=i||a[2],o(a);break}}if(typeof s=="string"&&(s=lt(s).split(/\s+/g)),!!s)return[s.flatMap(a=>{var l;return((l=this.expandShortcut(a,r,n-1))==null?void 0:l[0])||[a]}).filter(a=>a!==""),i]}async stringifyShortcuts(t,r,n,o={layer:this.config.shortcutsLayer}){var m;let i=new xe,s=(await Promise.all(Y(n).map(async f=>{let x=await this.parseUtil(f,r,!0);return x||ft(`unmatched utility "${f}" in shortcut "${t[1]}"`),x||[]}))).flat(1).filter(Boolean).sort((f,x)=>f[0]-x[0]),[a,,l]=t,u=[];for(let f of s){if(ze(f)){u.push([f[0],void 0,f[1],void 0,f[2],r]);continue}let{selector:x,entries:p,parent:h,sort:b}=this.applyVariants(f,[...f[4],...l],a);i.getFallback(x,h,[[],f[0]])[0].push([p,!!((m=f[3])!=null&&m.noMerge),b??0])}return u.concat(i.map(([f,x],p,h)=>{let b=(w,S,g)=>{let y=Math.max(...g.map(k=>k[1])),$=g.map(k=>k[0]);return(w?[$.flat(1)]:$).map(k=>{let j=H(k);if(j)return[x,p,j,h,{...o,noMerge:S,sort:y},r]})};return[[f.filter(([,w])=>w).map(([w,,S])=>[w,S]),!0],[f.filter(([,w])=>!w).map(([w,,S])=>[w,S]),!1]].map(([w,S])=>[...b(!1,S,w.filter(([g])=>g.some(y=>y[0]===je))),...b(!0,S,w.filter(([g])=>g.every(y=>y[0]!==je)))])}).flat(2).filter(Boolean))}isBlocked(t){return!t||this.config.blocklist.some(r=>typeof r=="string"?r===t:r.test(t))}};function gt(e,t){return new Oe(e,t)}var xt=/ \$\$ /,qn=e=>e.match(xt);function Gn(e,t){return qn(e)?e.replace(xt,t?` ${t} `:" "):t?`${t} ${e}`:e}function Zn(e){let t=e.match(/::[\w-]+/g);return t&&(t.forEach(r=>e=e.replace(r,"")),e+=t.join("")),e}var ht=/^\[(.+?)(~?=)"(.*)"\]$/;function Xn(e){return ht.test(e)?e.replace(ht,(t,r,n,o)=>`[${he(r)}${n}"${he(o)}"]`):`.${he(e)}`}function Yn(e,t){return t(e)}var bt=[{layer:"preflights",getCSS(e){if(e.theme.preflightBase)return`*,::before,::after{${H(Object.entries(e.theme.preflightBase))}}`}}];var P={l:["-left"],r:["-right"],t:["-top"],b:["-bottom"],s:["-inline-start"],e:["-inline-end"],x:["-left","-right"],y:["-top","-bottom"],"":[""],bs:["-block-start"],be:["-block-end"],is:["-inline-start"],ie:["-inline-end"],block:["-block-start","-block-end"],inline:["-inline-start","-inline-end"]},Me={...P,s:["-inset-inline-start"],e:["-inset-inline-end"],bs:["-inset-block-start"],be:["-inset-block-end"],is:["-inset-inline-start"],ie:["-inset-inline-end"],block:["-inset-block-start","-inset-block-end"],inline:["-inset-inline-start","-inset-inline-end"]},Ue={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"]},Fe={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},yt=["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"],ee=Object.assign({},...yt.map(e=>({[e.replace(/ /,"-")]:e})),...yt.map(e=>({[e.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:e}))),O=["inherit","initial","revert","revert-layer","unset"];var $t={mid:"middle",base:"baseline",btm:"bottom",baseline:"baseline",top:"top",middle:"middle",bottom:"bottom","text-top":"text-top","text-bottom":"text-bottom",sub:"sub",super:"super"},vt=[[/^(?:vertical|align|v)-(.+)$/,([,e])=>({"vertical-align":$t[e]}),{autocomplete:`(vertical|align|v)-(${Object.keys($t).join("|")})`}]],wt=["center","left","right","justify","start","end",...O].map(e=>[`text-${e}`,{"text-align":e}]);var _e=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"],St=["%alpha","<alpha-value>"],Jn=new RegExp(St.map(e=>B(e)).join("|"));function We(e=""){let t=Qn(e);if(t==null||t===!1)return;let{type:r,components:n,alpha:o}=t,i=r.toLowerCase();if(n.length!==0&&!(["rgba","hsla"].includes(i)&&o==null)&&!(_e.includes(i)&&![1,3].includes(n.length)))return{type:i,components:n,alpha:o}}function re(e){let t=e.alpha??1;return typeof t=="string"&&St.includes(t)?1:t}function W(e,t){if(typeof e=="string")return e.replace(Jn,`${t??1}`);let{components:r}=e,{alpha:n,type:o}=e;return n=t??n,o=o.toLowerCase(),["hsla","hsl","rgba","rgb"].includes(o)?`${o.replace("a","")}a(${r.join(",")}${n==null?"":`,${n}`})`:(n=n==null?"":` / ${n}`,_e.includes(o)?`${o}(${r.join(" ")}${n})`:`color(${o} ${r.join(" ")}${n})`)}function Qn(e){if(!e)return;let t=eo(e);if(t!=null||(t=to(e),t!=null)||(t=ro(e),t!=null)||(t=oo(e),t!=null)||(t=io(e),t!=null))return t}function eo(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 to(e){let t={rebeccapurple:[102,51,153,1]}[e];if(t!=null)return{type:"rgb",components:t.slice(0,3),alpha:t[3]}}function ro(e){let t=e.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!t)return;let[,r,n]=t,o=te(n,",",5);if(o){if([3,4].includes(o.length))return{type:r,components:o.slice(0,3),alpha:o[3]};if(o.length!==1)return!1}}var no=new RegExp(`^(${_e.join("|")})\\((.+)\\)$`,"i");function oo(e){let t=e.match(no);if(!t)return;let[,r,n]=t,o=kt(`${r} ${n}`);if(o){let{alpha:i,components:[s,...a]}=o;return{type:s,components:a,alpha:i}}}function io(e){let t=e.match(/^color\((.+)\)$/);if(!t)return;let r=kt(t[1]);if(r){let{alpha:n,components:[o,...i]}=r;return{type:o,components:i,alpha:n}}}function kt(e){let t=te(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=te(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 so(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 te(e,t,r){if(t=t??" ",t.length!==1)return;r=r??10;let n=[],o=0;for(;e!=="";){if(++o>r)return;let i=so(e,t);if(!i)return;let[s,a]=i;n.push(s),e=a}if(n.length>0)return n}var De={};Wn(De,{auto:()=>uo,bracket:()=>bo,bracketOfColor:()=>yo,bracketOfLength:()=>$o,bracketOfPosition:()=>vo,cssvar:()=>wo,degree:()=>ko,fraction:()=>go,global:()=>Co,number:()=>mo,numberWithUnit:()=>lo,percent:()=>ho,position:()=>Eo,properties:()=>Ro,px:()=>po,rem:()=>fo,time:()=>So});var ao=["color","border-color","background-color","flex-grow","flex","flex-shrink","caret-color","font","gap","opacity","visibility","z-index","font-weight","zoom","text-shadow","transform","box-shadow","backround-position","left","right","top","bottom","object-position","max-height","min-height","max-width","min-width","height","width","border-width","margin","padding","outline-width","outline-offset","font-size","line-height","text-indent","vertical-align","border-spacing","letter-spacing","word-spacing","stroke","filter","backdrop-filter","fill","mask","mask-size","mask-border","clip-path","clip","border-radius"],Le=/^(-?[0-9.]+)(px|pt|pc|rem|em|%|vh|vw|in|cm|mm|ex|ch|vmin|vmax|cqw|cqh|cqi|cqb|cqmin|cqmax|rpx)?$/i,co=/^(-?[0-9.]+)$/i,Ct=/^(px)$/i;function M(e){return e.toFixed(10).replace(/\.0+$/,"").replace(/(\.\d+?)0+$/,"$1")}function lo(e){let t=e.match(Le);if(!t)return;let[,r,n]=t,o=parseFloat(r);if(n&&!Number.isNaN(o))return`${M(o)}${n}`}function uo(e){if(e==="auto"||e==="a")return"auto"}function fo(e){if(e.match(Ct))return`1${e}`;let t=e.match(Le);if(!t)return;let[,r,n]=t,o=parseFloat(r);if(!Number.isNaN(o))return n?`${M(o)}${n}`:`${M(o/4)}rem`}function po(e){if(e.match(Ct))return`1${e}`;let t=e.match(Le);if(!t)return;let[,r,n]=t,o=parseFloat(r);if(!Number.isNaN(o))return n?`${M(o)}${n}`:`${M(o)}px`}function mo(e){if(!co.test(e))return;let t=parseFloat(e);if(!Number.isNaN(t))return M(t)}function ho(e){e.endsWith("%")&&(e=e.slice(0,-1));let t=parseFloat(e);if(!Number.isNaN(t))return`${M(t/100)}`}function go(e){if(e==="full")return"100%";let[t,r]=e.split("/"),n=parseFloat(t)/parseFloat(r);if(!Number.isNaN(n))return`${M(n*100)}%`}var xo=/^\[(color|length|position):/i;function be(e,t){if(e&&e.startsWith("[")&&e.endsWith("]")){let r,n=e.match(xo);if(n?t&&n[1]===t&&(r=e.slice(n[0].length,-1)):r=e.slice(1,-1),r!==void 0)return r.replace(/(url\(.*?\))/g,o=>o.replace(/_/g,"\\_")).replace(/([^\\])_/g,"$1 ").replace(/calc\((.*)/g,o=>o.replace(/(-?\d*\.?\d(?!\b-.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 "))}}function bo(e){return be(e)}function yo(e){return be(e,"color")}function $o(e){return be(e,"length")}function vo(e){return be(e,"position")}function wo(e){if(e.match(/^\$\S/))return`var(--${Te(e.slice(1))})`}function So(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?`${M(o)}${n}`:`${M(o)}ms`}function ko(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?`${M(o)}${n}`:`${M(o)}deg`}function Co(e){if(O.includes(e))return e}function Ro(e){if(e.split(",").every(t=>ao.includes(t)))return e}function Eo(e){if(["top","left","right","bottom","center"].includes(e))return e}var c=pt(De);var K=(e,t)=>{let r=new RegExp(`^${B(e)}[:-]`);return{name:e,match:n=>{let o=n.match(r);if(o)return{matcher:n.slice(o[0].length),handle:(i,s)=>s({...i,...t(i)})}},autocomplete:`${e}:`}},ne=(e,t)=>{let r=new RegExp(`^${B(e)}[:-]`);return{name:e,match:n=>{let o=n.match(r);if(o)return{matcher:n.slice(o[0].length),parent:t}},autocomplete:`${e}:`}};var Rt="$$mini-no-negative",z=e=>([t,r,n],{theme:o})=>{var s;let i=((s=o.spacing)==null?void 0:s[n||"DEFAULT"])??c.bracket.cssvar.auto.fraction.rem(n);if(i!=null)return P[r].map(a=>[`${e}${a}`,i])},Be=(e,t)=>{var r;return(r=e.colors)==null?void 0:r[t.join("-").replace(/(-[a-z])/g,n=>n.slice(1).toUpperCase())]},ye=(e,t)=>{let r=e.split(/(?:\/|:)/),n,o;r[0]==="[color"?(n=r.slice(0,2).join(":"),o=r[2]):[n,o]=r;let i=n.replace(/([a-z])([0-9])/g,"$1-$2").split(/-/g),[s]=i;if(!s)return;let a,l=c.bracketOfColor(n),u=l||n;u.startsWith("#")?a=u:u.startsWith("hex-")?a=`#${u.slice(4)}`:n.startsWith("$")&&(a=c.cssvar(n)),a=a||l;let m="DEFAULT";if(!a){let f,[x]=i.slice(-1);x.match(/^\d+$/)?(m=x,f=Be(t,i.slice(0,-1))):(f=Be(t,i),!f&&i.length<=2&&([,m=m]=i,f=Be(t,[s]))),typeof f=="string"?a=f:m&&f&&(a=f[m])}return{opacity:o,name:s,no:m,color:a,cssColor:We(a),alpha:c.bracket.cssvar.percent(o??"")}},E=(e,t)=>([,r],{theme:n})=>{let o=ye(r,n);if(!o)return;let{alpha:i,color:s,cssColor:a}=o;if(a)return i!=null?{[e]:W(a,i)}:{[`--un-${t}-opacity`]:re(a),[e]:W(a,`var(--un-${t}-opacity)`)};if(s)return{[e]:W(s,i)}},$e=(e,t)=>{let r=[];e=V(e);for(let n=0;n<e.length;n++){let o=te(e[n]," ",6);if(!o||o.length<3)return e;let i=We(o.pop());if(i==null)return e;r.push(`${o.join(" ")} var(${t}, ${W(i)})`)}return r},Et=(e,t)=>{var r;return e!=null&&!!((r=ye(e,t))!=null&&r.color)},ve=({theme:e,generator:t})=>{let r;return t.userConfig&&t.userConfig.theme&&(r=t.userConfig.theme.breakpoints),r||(r=e.breakpoints),r},Tt=({theme:e,generator:t})=>{let r;return t.userConfig&&t.userConfig.theme&&(r=t.userConfig.theme.verticalBreakpoints),r||(r=e.verticalBreakpoints),r};var At=[[/^outline-(?:width-|size-)?(.+)$/,([,e],{theme:t})=>{var r;return{"outline-width":((r=t.lineWidth)==null?void 0:r[e])??c.bracket.cssvar.px(e)}},{autocomplete:"outline-(width|size)-<num>"}],[/^outline-(?:color-)?(.+)$/,E("outline-color","outline-color"),{autocomplete:"outline-$colors"}],[/^outline-offset-(.+)$/,([,e],{theme:t})=>{var r;return{"outline-offset":((r=t.lineWidth)==null?void 0:r[e])??c.bracket.cssvar.px(e)}},{autocomplete:"outline-(offset)-<num>"}],["outline",{"outline-style":"solid"}],...["auto","dashed","dotted","double","hidden","solid","groove","ridge","inset","outset",...O].map(e=>[`outline-${e}`,{"outline-style":e}]),["outline-none",{outline:"2px solid transparent","outline-offset":"2px"}]],jt=[["appearance-none",{appearance:"none","-webkit-appearance":"none"}]],To=e=>c.properties.auto.global(e)??{contents:"contents",scroll:"scroll-position"}[e],zt=[[/^will-change-(.+)/,([,e])=>({"will-change":To(e)})]];var ce=["solid","dashed","dotted","double","hidden","none","groove","ridge","inset","outset",...O],Vt=[[/^(?:border|b)()(?:-(.+))?$/,oe,{autocomplete:"(border|b)-<directions>"}],[/^(?:border|b)-([xy])(?:-(.+))?$/,oe],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,oe],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,oe],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,oe],[/^(?:border|b)-()(?:width|size)-(.+)$/,I,{autocomplete:["(border|b)-<num>","(border|b)-<directions>-<num>"]}],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,I],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,I],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,I],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,I],[/^(?:border|b)-()(?:color-)?(.+)$/,ie,{autocomplete:["(border|b)-$colors","(border|b)-<directions>-$colors"]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,ie],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,ie],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,ie],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,ie],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,se,{autocomplete:"(border|b)-(op|opacity)-<percent>"}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,se],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,se],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,se],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,se],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,ae,{autocomplete:["(border|b)-(rounded|rd)","(border|b)-(rounded|rd)-<num>","(rounded|rd)","(rounded|rd)-<num>"]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltb])(?:-(.+))?$/,ae],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,ae],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se])(?:-(.+))?$/,ae],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,ae],[/^(?:border|b)-(?:style-)?()(.+)$/,q,{autocomplete:["(border|b)-style",`(border|b)-(${ce.join("|")})`,"(border|b)-<directions>-style",`(border|b)-<directions>-(${ce.join("|")})`,`(border|b)-<directions>-style-(${ce.join("|")})`,`(border|b)-style-(${ce.join("|")})`]}],[/^(?:border|b)-([xy])-(?:style-)?(.+)$/,q],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,q],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,q],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,q]],Ao=e=>([,t],r)=>{let n=ye(t,r);if(!n)return;let{alpha:o,color:i,cssColor:s}=n;if(s)return o!=null?{[`border${e}-color`]:W(s,o)}:e===""?{"--un-border-opacity":re(s),"border-color":W(s,"var(--un-border-opacity)")}:{"--un-border-opacity":re(s),[`--un-border${e}-opacity`]:"var(--un-border-opacity)",[`border${e}-color`]:W(s,`var(--un-border${e}-opacity)`)};if(i)return{[`border${e}-color`]:W(i,o)}};function oe(e,t){let r=I(e,t),n=q(["",e[1],"solid"]);if(r&&n)return[...r,...n]}function I([,e="",t],{theme:r}){var o;let n=((o=r.lineWidth)==null?void 0:o[t||"DEFAULT"])??c.bracket.cssvar.px(t||"1");if(e in P&&n!=null)return P[e].map(i=>[`border${i}-width`,n])}function ie([,e="",t],{theme:r}){if(e in P&&Et(t,r))return Object.assign({},...P[e].map(n=>Ao(n)(["",t],r)))}function se([,e="",t]){let r=c.bracket.percent(t);if(e in P&&r!=null)return P[e].map(n=>[`--un-border${n}-opacity`,r])}function ae([,e="",t],{theme:r}){var o;let n=((o=r.borderRadius)==null?void 0:o[t||"DEFAULT"])||c.bracket.cssvar.fraction.rem(t||"1");if(e in Ue&&n!=null)return Ue[e].map(i=>[`border${i}-radius`,n])}function q([,e="",t]){if(ce.includes(t)&&e in P)return P[e].map(r=>[`border${r}-style`,t])}var Pt=[[/^op(?:acity)?-?(.+)$/,([,e])=>({opacity:c.bracket.percent.cssvar(e)})]],Ot=[[/^(?:text|color|c)-(.+)$/,E("color","text"),{autocomplete:"(text|color|c)-$colors"}],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-opacity":c.bracket.percent(e)}),{autocomplete:"(text|color|c)-(op|opacity)-<percent>"}]],Mt=[[/^bg-(.+)$/,E("background-color","bg"),{autocomplete:"bg-$colors"}],[/^bg-op(?:acity)?-?(.+)$/,([,e])=>({"--un-bg-opacity":c.bracket.percent(e)}),{autocomplete:"bg-(op|opacity)-<percent>"}]];var we={all:"all",colors:["color","background-color","border-color","text-decoration-color","fill","stroke"].join(","),none:"none",opacity:"opacity",shadow:"box-shadow",transform:"transform"},Ut=e=>c.properties(e)??we[e],Ft=[[/^transition(?:-([a-z-]+(?:,[a-z-]+)*))?(?:-(\d+))?$/,([,e,t],{theme:r})=>{var o;let n=e!=null?Ut(e):[we.colors,"opacity","box-shadow","transform","filter","backdrop-filter"].join(",");if(n){let i=((o=r.duration)==null?void 0:o[t||"DEFAULT"])??c.time(t||"150");return{"transition-property":n,"transition-timing-function":"cubic-bezier(0.4, 0, 0.2, 1)","transition-duration":i}}},{autocomplete:`transition-(${Object.keys(we).join("|")})`}],[/^(?:transition-)?duration-(.+)$/,([,e],{theme:t})=>{var r;return{"transition-duration":((r=t.duration)==null?void 0:r[e||"DEFAULT"])??c.bracket.cssvar.time(e)}},{autocomplete:["transition-duration-$duration","duration-$duration"]}],[/^(?:transition-)?delay-(.+)$/,([,e],{theme:t})=>{var r;return{"transition-delay":((r=t.duration)==null?void 0:r[e||"DEFAULT"])??c.bracket.cssvar.time(e)}},{autocomplete:["transition-delay-$duration","delay-$duration"]}],[/^(?:transition-)?ease(?:-(.+))?$/,([,e],{theme:t})=>{var r;return{"transition-timing-function":((r=t.easing)==null?void 0:r[e||"DEFAULT"])??c.bracket.cssvar(e)}},{autocomplete:["transition-ease-(linear|in|out|in-out|DEFAULT)","ease-(linear|in|out|in-out|DEFAULT)"]}],[/^(?:transition-)?property-(.+)$/,([,e])=>({"transition-property":c.global(e)||Ut(e)}),{autocomplete:[`transition-property-(${[...O,...Object.keys(we)].join("|")})`]}],["transition-none",{transition:"none"}]];var _t=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],[/^flex-(.*)$/,([,e])=>({flex:c.bracket(e)!=null?c.bracket(e).split(" ").map(t=>c.cssvar.fraction(t)??t).join(" "):c.cssvar.fraction(e)})],["flex-1",{flex:"1 1 0%"}],["flex-auto",{flex:"1 1 auto"}],["flex-initial",{flex:"0 1 auto"}],["flex-none",{flex:"none"}],[/^(?:flex-)?shrink$/,()=>({"flex-shrink":1})],[/^(?:flex-)?shrink-0$/,()=>({"flex-shrink":0})],[/^(?:flex-)?grow$/,()=>({"flex-grow":1})],[/^(?:flex-)?grow-0$/,()=>({"flex-grow":0})],[/^(?:flex-)?basis-(.+)$/,([,e],{theme:t})=>{var r;return{"flex-basis":((r=t.spacing)==null?void 0:r[e])??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 Wt={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},Lt=[[/^font-(.+)$/,([,e],{theme:t})=>{var r;return{"font-family":((r=t.fontFamily)==null?void 0:r[e])||c.bracket.cssvar.global(e)}},{autocomplete:"font-$fontFamily"}],[/^text-(.+)$/,([,e="base"],{theme:t})=>{var n;let r=V((n=t.fontSize)==null?void 0:n[e]);if(r!=null&&r[0]){let[o,i="1"]=r;return{"font-size":o,"line-height":i}}return{"font-size":c.bracketOfLength.rem(e)}},{autocomplete:"text-$fontSize"}],[/^text-size-(.+)$/,([,e],{theme:t})=>{var o;let r=V((o=t.fontSize)==null?void 0:o[e]),n=(r==null?void 0:r[0])??c.bracket.cssvar.rem(e);if(n!=null)return{"font-size":n}},{autocomplete:"text-size-$fontSize"}],[/^(?:font|fw)-?([^-]+)$/,([,e])=>({"font-weight":Wt[e]||c.global.number(e)}),{autocomplete:`(font|fw)-(100|200|300|400|500|600|700|800|900|${Object.keys(Wt).join("|")})`}],[/^(?:font-)?(?:leading|lh)-(.+)$/,([,e],{theme:t})=>{var r;return{"line-height":((r=t.lineHeight)==null?void 0:r[e])||c.bracket.cssvar.global.rem(e)}},{autocomplete:"(leading|lh)-$lineHeight"}],[/^font-synthesis-(.+)$/,([,e])=>({"font-synthesis":e}),{autocomplete:"font-synthesis-(none|weight|style|small-caps)"}],[/^(?:font-)?tracking-(.+)$/,([,e],{theme:t})=>{var r;return{"letter-spacing":((r=t.letterSpacing)==null?void 0:r[e])||c.bracket.cssvar.global.rem(e)}},{autocomplete:"tracking-$letterSpacing"}],[/^(?:font-)?word-spacing-(.+)$/,([,e],{theme:t})=>{var r;return{"word-spacing":((r=t.wordSpacing)==null?void 0:r[e])||c.bracket.cssvar.global.rem(e)}},{autocomplete:"word-spacing-$wordSpacing"}]],Dt=[[/^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}}]],Bt=[[/^indent(?:-(.+))?$/,([,e],{theme:t})=>{var r;return{"text-indent":((r=t.textIndent)==null?void 0:r[e||"DEFAULT"])||c.bracket.cssvar.global.fraction.rem(e)}},{autocomplete:"indent-$textIndent"}]],Nt=[[/^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)}},{autocomplete:"text-stroke-$textStrokeWidth"}],[/^text-stroke-(.+)$/,E("-webkit-text-stroke-color","text-stroke"),{autocomplete:"text-stroke-$colors"}],[/^text-stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-stroke-opacity":c.bracket.percent(e)}),{autocomplete:"text-stroke-(op|opacity)-<percent>"}]],Ht=[[/^text-shadow(?:-(.+))?$/,([,e],{theme:t})=>{var n;let r=(n=t.textShadow)==null?void 0:n[e||"DEFAULT"];return r!=null?{"--un-text-shadow":$e(r,"--un-text-shadow-color").join(","),"text-shadow":"var(--un-text-shadow)"}:{"text-shadow":c.bracket.cssvar(e)}},{autocomplete:"text-shadow-$textShadow"}],[/^text-shadow-color-(.+)$/,E("--un-text-shadow-color","text-shadow"),{autocomplete:"text-shadow-color-$colors"}],[/^text-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-shadow-opacity":c.bracket.percent(e)}),{autocomplete:"text-shadow-color-(op|opacity)-<percent>"}]];var Kt={"":"",x:"column-",y:"row-"},It=([,e="",t],{theme:r})=>{var o;let n=((o=r.spacing)==null?void 0:o[t])??c.bracket.cssvar.rem(t);if(n!=null)return{[`grid-${Kt[e]}gap`]:n,[`${Kt[e]}gap`]:n}},qt=[[/^(?:flex-|grid-)?gap-?()(.+)$/,It,{autocomplete:["gap-$spacing","gap-<num>"]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,It,{autocomplete:["gap-(x|y)-$spacing","gap-(x|y)-<num>"]}]];var L=e=>e.replace("col","column"),Ne=e=>e[0]==="r"?"Row":"Column",jo=(e,t,r)=>{var o;let n=(o=t[`gridAuto${Ne(e)}`])==null?void 0:o[r];if(n!=null)return n;switch(r){case"min":return"min-content";case"max":return"max-content";case"fr":return"minmax(0,1fr)"}return c.bracket.cssvar.auto.rem(r)},Gt=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,e,t],{theme:r})=>{var n;return{[`grid-${L(e)}`]:((n=r[`grid${Ne(e)}`])==null?void 0:n[t])??c.bracket.cssvar.auto(t)}}],[/^(?:grid-)?(row|col)-span-(.+)$/,([,e,t])=>{if(t==="full")return{[`grid-${L(e)}`]:"1/-1"};let r=c.bracket.number(t);if(r!=null)return{[`grid-${L(e)}`]:`span ${r}/span ${r}`}},{autocomplete:["grid-(row|col)-span-<num>","(row|col)-span-<num>"]}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,e,t])=>({[`grid-${L(e)}-start`]:c.bracket.cssvar(t)??t})],[/^(?:grid-)?(row|col)-end-(.+)$/,([,e,t])=>({[`grid-${L(e)}-end`]:c.bracket.cssvar(t)??t})],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,e,t],{theme:r})=>({[`grid-auto-${L(e)}`]:jo(e,r,t)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,e])=>({"grid-auto-flow":c.bracket.cssvar(e)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)$/,([,e])=>({"grid-auto-flow":L(e).replace("-"," ")})],[/^grid-(rows|cols)-(.+)$/,([,e,t],{theme:r})=>{var n;return{[`grid-template-${L(e)}`]:((n=r[`gridTemplate${Ne(e)}`])==null?void 0:n[t])??c.bracket.cssvar(t)}}],[/^grid-(rows|cols)-minmax-([\w.-]+)$/,([,e,t])=>({[`grid-template-${L(e)}`]:`repeat(auto-fill,minmax(${t},1fr))`})],[/^grid-(rows|cols)-(\d+)$/,([,e,t])=>({[`grid-template-${L(e)}`]:`repeat(${t},minmax(0,1fr))`})],["grid-rows-none",{"grid-template-rows":"none"}],["grid-cols-none",{"grid-template-columns":"none"}]];var Se=["auto","hidden","clip","visible","scroll"],Zt=[[/^(?:overflow|of)-(.+)$/,([,e])=>Se.includes(e)?{overflow:e}:void 0,{autocomplete:[`(overflow|of)-(${Se.join("|")})`,`(overflow|of)-(x|y)-(${Se.join("|")})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,e,t])=>Se.includes(t)?{[`overflow-${e}`]:t}:void 0]];var Xt=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,e])=>({position:e})],[/^(?:position-|pos-)?(static)$/,([,e])=>({position:e})]],Yt=[["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"}]],Jt=[[/^order-(.+)$/,([,e])=>({order:c.bracket.cssvar.number(e)})],["order-first",{order:"-9999"}],["order-last",{order:"9999"}],["order-none",{order:"0"}]],Qt=[["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"}]],er=[["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 He(e,{theme:t}){var r;return((r=t.spacing)==null?void 0:r[e])??c.bracket.cssvar.auto.fraction.rem(e)}function ke([,e,t],r){let n=He(t,r);if(n!=null&&e in Me)return Me[e].map(o=>[o.slice(1),n])}var tr=[[/^(?:position-|pos-)?inset-(.+)$/,([,e],t)=>({inset:He(e,t)}),{autocomplete:["(position|pos)-inset-<directions>-$spacing","(position|pos)-inset-(block|inline)-$spacing","(position|pos)-inset-(bs|be|is|ie)-$spacing","(position|pos)-(top|left|right|bottom)-$spacing"]}],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,ke],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,ke],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,ke],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,ke],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,e,t],r)=>({[e]:He(t,r)})]],rr=[["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"}]],nr=[[/^z([\d.]+)$/,([,e])=>({"z-index":c.number(e)})],[/^z-(.+)$/,([,e])=>({"z-index":c.bracket.cssvar.auto.number(e)}),{autocomplete:"z-<num>"}]],or=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}]];var Ce="var(--un-empty,/*!*/ /*!*/)",ir=[["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})]],sr=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}]],ar=[[/^cursor-(.+)$/,([,e])=>({cursor:c.bracket.cssvar(e)||e})]],cr=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}]],lr=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}]],ur=[["select-auto",{"user-select":"auto"}],["select-all",{"user-select":"all"}],["select-text",{"user-select":"text"}],["select-none",{"user-select":"none"}]],fr=[[/^(?:whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)$/,([,e])=>({"white-space":e}),{autocomplete:"(whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)"}]],pr=[[/^content-\[(.+)\]$/,([,e])=>({content:`"${e}"`})],[/^content-(\$.+)]$/,([,e])=>({content:c.cssvar(e)})],["content-empty",{content:'""'}],["content-none",{content:'""'}]],mr=[["break-normal",{"overflow-wrap":"normal","word-break":"normal"}],["break-words",{"overflow-wrap":"break-word"}],["break-all",{"word-break":"break-all"}]],dr=[["truncate",{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}],["text-ellipsis",{"text-overflow":"ellipsis"}],["text-clip",{"text-overflow":"clip"}]],hr=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}]],gr=[["italic",{"font-style":"italic"}],["not-italic",{"font-style":"normal"}],["font-italic",{"font-style":"italic"}],["font-not-italic",{"font-style":"normal"}],["oblique",{"font-style":"oblique"}],["not-oblique",{"font-style":"normal"}],["font-oblique",{"font-style":"oblique"}],["font-not-oblique",{"font-style":"normal"}]],xr=[["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 br={"--un-ring-inset":Ce,"--un-ring-offset-width":"0px","--un-ring-offset-color":"#fff","--un-ring-width":"0px","--un-ring-color":"rgba(147,197,253,0.5)","--un-shadow":"0 0 #0000"},yr=[[/^ring(?:-(.+))?$/,([,e],{theme:t})=>{var n;let r=((n=t.ringWidth)==null?void 0:n[e||"DEFAULT"])??c.px(e||"1");if(r)return{"--un-ring-width":r,"--un-ring-offset-shadow":"var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color)","--un-ring-shadow":"var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color)","box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow, 0 0 #0000)"}},{autocomplete:"ring-$ringWidth"}],[/^ring-(?:width-|size-)(.+)$/,([,e],{theme:t})=>{var r;return{"--un-ring-width":((r=t.lineWidth)==null?void 0:r[e])??c.bracket.cssvar.px(e)}},{autocomplete:"ring-(width|size)-$lineWidth"}],["ring-offset",{"--un-ring-offset-width":"1px"}],[/^ring-offset-(?:width-|size-)?(.+)$/,([,e],{theme:t})=>{var r;return{"--un-ring-offset-width":((r=t.lineWidth)==null?void 0:r[e])??c.bracket.cssvar.px(e)}},{autocomplete:"ring-offset-(width|size)-$lineWidth"}],[/^ring-(.+)$/,E("--un-ring-color","ring"),{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-opacity":c.bracket.percent(e)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^ring-offset-(.+)$/,E("--un-ring-offset-color","ring-offset"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-offset-opacity":c.bracket.percent(e)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]];var $r={"--un-ring-offset-shadow":"0 0 #0000","--un-ring-shadow":"0 0 #0000","--un-shadow-inset":Ce,"--un-shadow":"0 0 #0000"},vr=[[/^shadow(?:-(.+))?$/,([,e],{theme:t})=>{var n;let r=(n=t.boxShadow)==null?void 0:n[e||"DEFAULT"];if(r)return{"--un-shadow":$e(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)"}},{autocomplete:"shadow-$boxShadow"}],[/^shadow-(.+)$/,E("--un-shadow-color","shadow"),{autocomplete:"shadow-$colors"}],[/^shadow-op(?:acity)?-?(.+)$/,([,e])=>({"--un-shadow-opacity":c.bracket.percent(e)}),{autocomplete:"shadow-(op|opacity)-<percent>"}],["shadow-inset",{"--un-shadow-inset":"inset"}]];var zo={h:"height",w:"width",inline:"inline-size",block:"block-size"};function le(e,t){return`${e||""}${zo[t]}`}function wr(e,t,r,n){var s;let o=le(e,t).replace(/-(\w)/g,(a,l)=>l.toUpperCase()),i=(s=r[o])==null?void 0:s[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 Sr=[[/^(min-|max-)?([wh])-?(.+)$/,([,e,t,r],{theme:n})=>({[le(e,t)]:wr(e,t,n,r)}),{autocomplete:["(w|h)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(max|min)-(w|h)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize"]}],[/^(min-|max-)?(block|inline)-(.+)$/,([,e,t,r],{theme:n})=>({[le(e,t)]:wr(e,t,n,r)}),{autocomplete:["(w|h)-(block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(max|min)-(w|h)-(block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize"]}],[/^(min-|max-)?(h)-screen-(.+)$/,([,e,t,r],n)=>{var o;return{[le(e,t)]:(o=Tt(n))==null?void 0:o[r]}},{autocomplete:["h-screen-$verticalBreakpoints","(min|max)-h-screen-$verticalBreakpoints"]}],[/^(min-|max-)?(w)-screen-(.+)$/,([,e,t,r],n)=>{var o;return{[le(e,t)]:(o=ve(n))==null?void 0:o[r]}},{autocomplete:["w-screen-$breakpoints","(min|max)-w-screen-$breakpoints"]}]];function Vo(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 kr=[[/^aspect-(?:ratio-)?(.+)$/,([,e])=>({"aspect-ratio":Vo(e)}),{autocomplete:["aspect-(square|video)","aspect-ratio-(square|video)"]}]];var Cr=[[/^pa?()-?(-?.+)$/,z("padding"),{autocomplete:["(m|p)<num>","(m|p)-<num>"]}],[/^p-?xy()()$/,z("padding"),{autocomplete:"(m|p)-(xy)"}],[/^p-?([xy])(?:-?(-?.+))?$/,z("padding")],[/^p-?([rltbse])(?:-?(-?.+))?$/,z("padding"),{autocomplete:"(m|p)<directions>-<num>"}],[/^p-(block|inline)(?:-(-?.+))?$/,z("padding"),{autocomplete:"(m|p)-(block|inline)-<num>"}],[/^p-?([bi][se])(?:-?(-?.+))?$/,z("padding"),{autocomplete:"(m|p)-(bs|be|is|ie)-<num>"}]],Rr=[[/^ma?()-?(-?.+)$/,z("margin")],[/^m-?xy()()$/,z("margin")],[/^m-?([xy])(?:-?(-?.+))?$/,z("margin")],[/^m-?([rltbse])(?:-?(-?.+))?$/,z("margin")],[/^m-(block|inline)(?:-(-?.+))?$/,z("margin")],[/^m-?([bi][se])(?:-?(-?.+))?$/,z("margin")]];var N=["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(" "),Po=["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(" "),jr={"--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},zr=[[/^(?:transform-)?origin-(.+)$/,([,e])=>({"transform-origin":ee[e]??c.bracket.cssvar(e)}),{autocomplete:[`transform-origin-(${Object.keys(ee).join("|")})`,`origin-(${Object.keys(ee).join("|")})`]}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,e])=>{let t=c.bracket.cssvar.px.numberWithUnit(e);if(t!=null)return{"-webkit-perspective":t,perspective:t}}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,e])=>{let t=c.bracket.cssvar(e)??(e.length>=3?ee[e]:void 0);if(t!=null)return{"-webkit-perspective-origin":t,"perspective-origin":t}}],[/^(?:transform-)?translate-()(.+)$/,Er],[/^(?:transform-)?translate-([xyz])-(.+)$/,Er],[/^(?:transform-)?rotate-()(.+)$/,Ar],[/^(?:transform-)?rotate-([xyz])-(.+)$/,Ar],[/^(?:transform-)?skew-([xy])-(.+)$/,Oo],[/^(?:transform-)?scale-()(.+)$/,Tr],[/^(?:transform-)?scale-([xyz])-(.+)$/,Tr],[/^(?:transform-)?preserve-3d$/,()=>({"transform-style":"preserve-3d"})],[/^(?:transform-)?preserve-flat$/,()=>({"transform-style":"flat"})],["transform",{transform:N}],["transform-cpu",{transform:N}],["transform-gpu",{transform:Po}],["transform-none",{transform:"none"}]];function Er([,e,t],{theme:r}){var o;let n=((o=r.spacing)==null?void 0:o[t])??c.bracket.cssvar.fraction.rem(t);if(n!=null)return[...Fe[e].map(i=>[`--un-translate${i}`,n]),["transform",N]]}function Tr([,e,t]){let r=c.bracket.cssvar.fraction.percent(t);if(r!=null)return[...Fe[e].map(n=>[`--un-scale${n}`,r]),["transform",N]]}function Ar([,e="",t]){let r=c.bracket.cssvar.degree(t);if(r!=null)return e?{"--un-rotate":0,[`--un-rotate-${e}`]:r,transform:N}:{"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-rotate":r,transform:N}}function Oo([,e,t]){let r=c.bracket.cssvar.degree(t);if(r!=null)return{[`--un-skew-${e}`]:r,transform:N}}var Mo={backface:"backface-visibility",break:"word-break",case:"text-transform",content:"align-content",fw:"font-weight",items:"align-items",justify:"justify-content",select:"user-select",self:"align-self",vertical:"vertical-align",visible:"visibility",whitespace:"white-space",ws:"white-space"},Vr=[[/^(.+?)-(\$.+)$/,([,e,t])=>{let r=Mo[e];if(r)return{[r]:c.cssvar(t)}}]],Pr=[[/^\[([\w_-]+):([^'"]+)\]$/,([,e,t])=>({[e]:c.bracket(`[${t}]`)})]];var Or=[[/^(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 Mr=["solid","double","dotted","dashed","wavy",...O],Ur=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,e])=>({"text-decoration-line":e}),{autocomplete:"decoration-(underline|overline|line-through)"}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,([,e],{theme:t})=>{var r;return{"text-decoration-thickness":((r=t.lineWidth)==null?void 0:r[e])??c.bracket.cssvar.px(e)}},{autocomplete:"(underline|decoration)-<num>"}],[/^(?:underline|decoration)-(auto|from-font)$/,([,e])=>({"text-decoration-thickness":e}),{autocomplete:"(underline|decoration)-(auto|from-font)"}],[/^(?:underline|decoration)-(.+)$/,(e,t)=>{let r=E("text-decoration-color","line")(e,t);if(r)return{"-webkit-text-decoration-color":r["text-decoration-color"],...r}},{autocomplete:"(underline|decoration)-$colors"}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-line-opacity":c.bracket.percent(e)}),{autocomplete:"(underline|decoration)-(op|opacity)-<percent>"}],[/^(?:underline|decoration)-offset-(.+)$/,([,e],{theme:t})=>{var r;return{"text-underline-offset":((r=t.lineWidth)==null?void 0:r[e])??c.auto.bracket.cssvar.px(e)}},{autocomplete:"(underline|decoration)-(offset)-<num>"}],...Mr.map(e=>[`underline-${e}`,{"text-decoration-style":e}]),...Mr.map(e=>[`decoration-${e}`,{"text-decoration-style":e}]),["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];var Fr=[[/^fill-(.+)$/,E("fill","fill"),{autocomplete:"fill-$colors"}],[/^fill-op(?:acity)?-?(.+)$/,([,e])=>({"--un-fill-opacity":c.bracket.percent(e)}),{autocomplete:"fill-(op|opacity)-<percent>"}],["fill-none",{fill:"none"}],[/^stroke-(?:width-|size-)?(.+)$/,([,e],{theme:t})=>{var r;return{"stroke-width":((r=t.lineWidth)==null?void 0:r[e])??c.bracket.cssvar.fraction.px.number(e)}},{autocomplete:["stroke-width-$lineWidth","stroke-size-$lineWidth"]}],[/^stroke-dash-(.+)$/,([,e])=>({"stroke-dasharray":c.bracket.cssvar.number(e)}),{autocomplete:"stroke-dash-<num>"}],[/^stroke-offset-(.+)$/,([,e],{theme:t})=>{var r;return{"stroke-dashoffset":((r=t.lineWidth)==null?void 0:r[e])??c.bracket.cssvar.px.numberWithUnit(e)}},{autocomplete:"stroke-offset-$lineWidth"}],[/^stroke-(.+)$/,E("stroke","stroke"),{autocomplete:"stroke-$colors"}],[/^stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-stroke-opacity":c.bracket.percent(e)}),{autocomplete:"stroke-(op|opacity)-<percent>"}],["stroke-cap-square",{"stroke-linecap":"square"}],["stroke-cap-round",{"stroke-linecap":"round"}],["stroke-cap-auto",{"stroke-linecap":"butt"}],["stroke-join-arcs",{"stroke-linejoin":"arcs"}],["stroke-join-bevel",{"stroke-linejoin":"bevel"}],["stroke-join-clip",{"stroke-linejoin":"miter-clip"}],["stroke-join-round",{"stroke-linejoin":"round"}],["stroke-join-auto",{"stroke-linejoin":"miter"}],["stroke-none",{stroke:"none"}]];var _r=[Vr,Pr,Cr,Rr,ir,Pt,Mt,Fr,Vt,pr,Lt,Dt,Bt,dr,Ur,Nt,Ht,hr,wt,Ot,gr,xr,vr,yr,_t,Gt,qt,Xt,Sr,kr,ar,sr,cr,lr,vt,ur,fr,mr,Zt,At,jt,Jt,Yt,Qt,er,tr,rr,nr,or,Ft,zr,zt,Or].flat(1);var Ke={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(Ke).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 Wr={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(",")},Lr={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"]},Dr={DEFAULT:"1.5rem",xs:"0.5rem",sm:"1rem",md:"1.5rem",lg:"2rem",xl:"2.5rem","2xl":"3rem","3xl":"4rem"},Br={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},Nr={DEFAULT:["0 0 1px rgba(0,0,0,0.2)","0 0 1px rgba(1,0,5,0.1)"],none:"0 0 #0000",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)"]},Hr={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},Ie={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},Kr=Ie;var qe={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},Ir={...qe},qr={DEFAULT:"1px",none:"0px"},Gr={DEFAULT:"1rem",none:"0rem",xs:"0.75rem",sm:"0.875rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"},Zr={DEFAULT:"150ms",none:"0ms",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},Xr={DEFAULT:"0.25rem",none:"0rem",sm:"0.125rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},Yr={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)"],none:"0 0 #0000",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)"},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)"},Qr={DEFAULT:"1px",none:"0px"};var en={DEFAULT:"8px",0:"0",sm:"4px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},tn={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 Re={xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",prose:"65ch"},Ge={auto:"auto",...Re,screen:"100vw"},ue={none:"none",...Re,screen:"100vw"},Ze={auto:"auto",...Re,screen:"100vh"},fe={none:"none",...Re,screen:"100vh"};var rn={...jr,...$r,...br};var nn={width:Ge,height:Ze,maxWidth:ue,maxHeight:fe,minWidth:ue,minHeight:fe,inlineSize:Ge,blockSize:Ze,maxInlineSize:ue,maxBlockSize:fe,minInlineSize:ue,minBlockSize:fe,colors:Ke,fontFamily:Wr,fontSize:Lr,breakpoints:qe,verticalBreakpoints:Ir,borderRadius:Xr,lineHeight:Hr,letterSpacing:Ie,wordSpacing:Kr,boxShadow:Yr,textIndent:Dr,textShadow:Nr,textStrokeWidth:Br,blur:en,dropShadow:tn,easing:Jr,lineWidth:qr,spacing:Gr,duration:Zr,ringWidth:Qr,preflightBase:rn};var Xe={},on=e=>{var o;let t=((o=e.match(/^-?[0-9]+\.?[0-9]*/))==null?void 0:o[0])||"",r=e.slice(t.length),n=parseFloat(t)-.1;return Number.isNaN(n)?e:`${n}${r}`},sn={name:"breakpoints",match(e,t){let r=Object.entries(ve(t)??{}).map(([n,o],i)=>[n,o,i]);for(let[n,o,i]of r){Xe[n]||(Xe[n]=new RegExp(`^((?:[al]t-)?${n}[:-])`));let s=e.match(Xe[n]);if(!s)continue;let[,a]=s,l=e.slice(a.length);if(l==="container")continue;let u=a.startsWith("lt-"),m=a.startsWith("at-"),f=1e3;return u?(f-=i+1,{matcher:l,parent:[`@media (max-width: ${on(o)})`,f]}):(f+=i+1,m&&i<r.length-1?{matcher:l,parent:[`@media (min-width: ${o}) and (max-width: ${on(r[i+1][1])})`,f]}:{matcher:l,parent:[`@media (min-width: ${o})`,f]})}},autocomplete:"(at-|lt-|)$breakpoints:"};var D=(e,t,r)=>{let n=e?new RegExp(`^${t}(?:-\\[(.+?)\\])[:-]`):new RegExp(`^${t}(?:-\\[(.+?)\\])?[:-]`);return{name:`combinator:${t}`,match:o=>{let i=o.match(n);if(i)return{matcher:o.slice(i[0].length),selector:s=>r.replace("&&-s",s).replace("&&-c",i[1]??"*")}}}},an=[D(!1,"all","&&-s &&-c"),D(!1,"children","&&-s>&&-c"),D(!1,"next","&&-s+&&-c"),D(!1,"sibling","&&-s+&&-c"),D(!1,"siblings","&&-s~&&-c"),D(!0,"group","&&-c &&-s"),D(!0,"parent","&&-c>&&-s"),D(!0,"previous","&&-c+&&-s"),D(!0,"peer","&&-c~&&-s")];var cn=ne("print","@media print"),ln={name:"media",match(e,{theme:t}){var n;let r=e.match(/^media-([_\d\w]+)[:-]/);if(r){let o=((n=t.media)==null?void 0:n[r[1]])??`(--${r[1]})`;return{matcher:e.slice(r[0].length),parent:`@media ${o}`}}}};var un=(e={})=>(e==null?void 0:e.dark)==="class"?[K("dark",t=>({prefix:`${t.prefix}.dark $$ `})),K("light",t=>({prefix:`${t.prefix}.light $$ `}))]:[ne("dark","@media (prefers-color-scheme: dark)"),ne("light","@media (prefers-color-scheme: light)")];var fn=[K("rtl",e=>({prefix:`${e.prefix}[dir="rtl"] $$ `})),K("ltr",e=>({prefix:`${e.prefix}[dir="ltr"] $$ `}))];var pn={name:"selector",match(e){let t=e.match(/^selector-\[(.+?)\][:-]/);if(t)return{matcher:e.slice(t[0].length),selector:()=>t[1]}}},mn={name:"layer",match(e){let t=e.match(/^layer-([_\d\w]+)[:-]/);if(t)return{matcher:e.slice(t[0].length),parent:`@layer ${t[1]}`}}},dn={name:"uno-layer",match(e){let t=e.match(/^uno-layer-([_\d\w]+)[:-]/);if(t)return{matcher:e.slice(t[0].length),layer:t[1]}}},hn={name:"scope",match(e){let t=e.match(/^scope-([_\d\w]+)[:-]/);if(t)return{matcher:e.slice(t[0].length),selector:r=>`.${t[1]} $$ ${r}`}}},gn={name:"variables",match(e){let t=e.match(/^(\[[^\]]+\]):/);if(t){let r=c.bracket(t[1])??"",n=r.startsWith("@")?{parent:r}:{selector:o=>r.replace(/&/g,o)};return{matcher:e.slice(t[0].length),...n}}},multiPass:!0};var xn=/[0-9.]+(?:[a-z]+|%)?/,Uo=[/opacity|color|flex/],bn={name:"negative",match(e){if(!!e.startsWith("-"))return{matcher:e.slice(1),body:t=>{if(t.find(n=>n[0]===Rt))return;let r=!1;return t.forEach(n=>{var i;let o=(i=n[1])==null?void 0:i.toString();!o||o==="0"||Uo.some(s=>n[0].match(s))||xn.test(o)&&(n[1]=o.replace(xn,s=>`-${s}`),r=!0)}),r?t:[]}}}};var yn={name:"important",match(e){let t,r=e.match(/^(important[:-]|!)/);if(r?t=e.slice(r[0].length):e.endsWith("!")&&(t=e.slice(0,-1)),t)return{matcher:t,body:n=>(n.forEach(o=>{o[1]&&(o[1]+=" !important")}),n)}}};var me=Object.fromEntries([["first-letter","::first-letter"],["first-line","::first-line"],"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",["placeholder","::placeholder"],["before","::before"],["after","::after"],["selection","::selection"],["marker","::marker"],["file","::file-selector-button"]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),de=Object.fromEntries([["backdrop","::backdrop"]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),Fo=["not","is","where","has"],Ye=Object.entries(me).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).join("|"),Je=Object.entries(de).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).join("|"),pe=Fo.join("|"),$n=e=>{if(e==="active")return 1},Ee=(e,t,r)=>{let n=new RegExp(`${B(t)}:`),o=new RegExp(`^${e}-((?:(${pe})-)?(${Ye}))[:-]`),i=new RegExp(`^${e}-((?:(${pe})-)?(${Je}))[:]`);return{name:`pseudo:${e}`,match(s){let a=s.match(o)||s.match(i);if(a){let l=me[a[3]]||de[a[3]]||`:${a[3]}`;return a[2]&&(l=`:${a[2]}(${l})`),{matcher:s.slice(a[0].length),handle:(u,m)=>m({...u,prefix:n.test(u.prefix)?u.prefix.replace(n,`${t}${l}:`):`${u.prefix}${t}${l}${r}`,sort:$n(a[3])})}}}}},vn=Object.entries(me).map(([e])=>e).join("|"),_o=Object.entries(de).map(([e])=>e).join("|"),Wo=new RegExp(`^(${vn})[:-]`),Lo=new RegExp(`^(${_o})[:]`),wn={name:"pseudo",match:e=>{let t=e.match(Wo)||e.match(Lo);if(t){let r=me[t[1]]||de[t[1]]||`:${t[1]}`;return{matcher:e.slice(t[0].length),handle:(n,o)=>{let i=r.startsWith("::")?{pseudo:`${n.pseudo}${r}`}:{selector:`${n.selector}${r}`};return o({...n,...i,sort:$n(t[1])})}}}},multiPass:!0,autocomplete:`(${vn}):`},Do=new RegExp(`^(${pe})-(${Ye})[:-]`),Bo=new RegExp(`^(${pe})-(${Je})[:]`),Sn={match:e=>{let t=e.match(Do)||e.match(Bo);if(t){let r=t[1],n=me[t[2]]||de[t[2]]||`:${t[2]}`;return{matcher:e.slice(t[0].length),selector:o=>`${o}:${r}(${n})`}}},multiPass:!0,autocomplete:`(${pe})-(${Ye}|${Je}):`},kn=(e={})=>{let t=!!(e!=null&&e.attributifyPseudo);return[{...Ee("group",t?'[group=""]':".group"," "),multiPass:!0},{...Ee("peer",t?'[peer=""]':".peer","~"),multiPass:!0},{...Ee("parent",t?'[parent=""]':".parent",">"),multiPass:!0},{...Ee("previous",t?'[previous=""]':".previous","+"),multiPass:!0}]},No=/(part-\[(.+)]:)(.+)/,Cn={match:e=>{let t=e.match(No);if(t){let r=`part(${t[2]})`;return{matcher:e.slice(t[1].length),selector:n=>`${n}::${r}`}}},multiPass:!0};var Rn=e=>[gn,mn,pn,dn,bn,yn,cn,ln,sn,...an,wn,Sn,...kn(e),Cn,...un(e),...fn,hn];var Ho=(e={})=>(e.dark=e.dark??"class",e.attributifyPseudo=e.attributifyPseudo??!1,{name:"@unocss/preset-mini",theme:nn,rules:_r,variants:Rn(e),options:e,postprocess:e.variablePrefix&&e.variablePrefix!=="un-"?Ko(e.variablePrefix):void 0,preflights:bt}),En=Ho;function Ko(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 Qe=/^(?!\[(?:[^:]+):(?:.+)\]$)((?:.+:)?!?)?(.*)$/,Tn=(e={})=>{let t=e.prefix??"un-",r=e.prefixedOnly??!1,n=e.trueToNonValued??!1;return{name:"attributify",match(o){let i=it(o);if(!i)return;let s=i[1];if(s.startsWith(t))s=s.slice(t.length);else if(r)return;let a=i[2],[,l="",u=a]=a.match(Qe)||[];return u==="~"||n&&u==="true"||!u?`${l}${s}`:`${l}${s}-${u}`}}};var Io=/(<\w[\w:\.$-]*\s)((?:'[^>]*?'|"[^>]*?"|`[^>]*?`|\{[^>]*?\}|[^>]*?)*)/g,qo=/([?]|(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:%-]+)(?:=("[^"]*|'[^']*))?/g,An=/[\s'"`;>]+/,jn={name:"attributify",extract:({content:e,cursor:t})=>{let r=e.matchAll(Io),n,o=0;for(let b of r){let[,T,w]=b,S=b.index+T.length;if(t>S&&t<=S+w.length){o=S,n=w;break}}if(!n)return null;let i=n.matchAll(qo),s=0,a,l;for(let b of i){let[T,w,S]=b,g=o+b.index;if(t>g&&t<=g+T.length){s=g,a=w,l=S==null?void 0:S.slice(1);break}}if(!a||a==="class"||a==="className"||a===":class")return null;if(l===void 0)return{extracted:a,resolveReplacement(b){return{start:s,end:s+a.length,replacement:b}}};let u=s+a.length+2,m=An.exec(l),f=0,x;for(;m;){let[b]=m;if(t>u+f&&t<=u+f+m.index){x=l.slice(f,f+m.index);break}f+=m.index+b.length,m=An.exec(l.slice(f))}x===void 0&&(x=l.slice(f));let[,p="",h]=x.match(Qe)||[];return{extracted:`${p}${a}-${h}`,transformSuggestions(b){return b.filter(T=>T.startsWith(`${p}${a}-`)).map(T=>p+T.slice(p.length+a.length+1))},resolveReplacement(b){return{start:f+u,end:f+u+x.length,replacement:p+b.slice(p.length+a.length+1)}}}}};var Go=["v-bind:",":"],zn=/[\s'"`;]+/g,Zo=/<\w(?=.*>)[\w:\.$-]*\s((?:['"`\{].*?['"`\}]|.*?)*?)>/gs,Xo=/([?]|(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:!%-]+)(?:=(["'])([^\2]*?)\2)?/g,Vn=e=>{let t=(e==null?void 0:e.ignoreAttributes)??[],r=(e==null?void 0:e.nonValuedAttribute)??!0,n=(e==null?void 0:e.trueToNonValued)??!1;return{name:"attributify",extract({code:o}){let i=Array.from(o.matchAll(Zo)).flatMap(s=>Array.from((s[1]||"").matchAll(Xo))).flatMap(([,s,a,l])=>{if(t.includes(s))return[];for(let u of Go)if(s.startsWith(u)){s=s.slice(u.length);break}if(!l){if(J(s)&&r!==!1){let u=[`[${s}=""]`];return n&&u.push(`[${s}="true"]`),u}return[]}return["class","className"].includes(s)?l.split(zn).filter(J):l.split(zn).filter(Boolean).map(u=>`[${s}~="${u}"]`)});return new Set(i)}}};var Yo=(e={})=>{e.strict=e.strict??!1,e.prefix=e.prefix??"un-",e.prefixedOnly=e.prefixedOnly??!1,e.nonValuedAttribute=e.nonValuedAttribute??!0,e.ignoreAttributes=e.ignoreAttributes??[];let t=[Tn(e)],r=[Vn(e)],n=[jn];return e.strict||r.unshift(Q),{name:"@unocss/preset-attributify",variants:t,extractors:r,options:e,autocomplete:{extractors:n}}},Pn=Yo;var Jo=e=>e.replace(/-(\w)/g,(t,r)=>r?r.toUpperCase():""),On=e=>e.charAt(0).toUpperCase()+e.slice(1),Mn=e=>e.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase(),Un=["Webkit","Moz","ms"];function Fn(e){let t={};function r(n){let o=t[n];if(o)return o;let i=Jo(n);if(i!=="filter"&&i in e)return t[n]=Mn(i);i=On(i);for(let s=0;s<Un.length;s++){let a=`${Un[s]}${i}`;if(a in e)return t[n]=Mn(On(a))}return n}return({entries:n})=>n.forEach(o=>{o[0].startsWith("--")||(o[0]=r(o[0]))})}function et(e={}){var k,j;if(typeof window>"u"){console.warn("@unocss/runtime been used in non-browser environment, skipped.");return}let t=window.__unocss||{},r=t==null?void 0:t.runtime,n=Object.assign(e.defaults||{},r);if(r!=null&&r.autoPrefix){let d=n.postprocess;d||(d=[]),Array.isArray(d)||(d=[d]),d.unshift(Fn(document.createElement("div").style)),n.postprocess=d}(k=r==null?void 0:r.configResolved)==null||k.call(r,t,n);let o,i=!0,s,a=gt(t,n),l=new Set,u,m=[],f=()=>new Promise(d=>{m.push(d),u!=null&&clearTimeout(u),u=setTimeout(()=>p().then(()=>{let C=m;m=[],C.forEach(v=>v())}),0)});function x(d=document.body){if(d.nodeType!==1)return;let C=d;C.hasAttribute("un-cloak")&&C.removeAttribute("un-cloak"),C.querySelectorAll("[un-cloak]").forEach(v=>{v.removeAttribute("un-cloak")})}async function p(){let d=await a.generate(l);o||(o=document.createElement("style"),document.documentElement.prepend(o)),o.innerHTML=d.css,l=d.matched}async function h(d){let C=l.size;await a.applyExtractors(d,void 0,l),C!==l.size&&await f()}async function b(){let d=document.body&&document.body.outerHTML;d&&(await h(d),x())}let T=new MutationObserver(d=>{i||d.forEach(async C=>{if(C.target.nodeType!==1)return;let v=C.target;if(v!==o)if(C.type==="childList")C.addedNodes.forEach(async R=>{if(R.nodeType!==1)return;let A=R;s&&!s(A)||(await h(A.outerHTML),x(A))});else{if(s&&!s(v))return;if(C.attributeName!=="un-cloak"){let R=Array.from(v.attributes).map(F=>F.value?`${F.name}="${F.value}"`:F.name).join(" "),A=`<${v.tagName.toLowerCase()} ${R}>`;await h(A)}v.hasAttribute("un-cloak")&&v.removeAttribute("un-cloak")}})}),w=!1;function S(){if(w)return;let d=document.documentElement||document.body;!d||(T.observe(d,{childList:!0,subtree:!0,attributes:!0}),w=!0)}function g(){b(),S()}function y(){document.readyState==="loading"?window.addEventListener("DOMContentLoaded",g):g()}let $=window.__unocss_runtime=window.__unocss_runtime={version:a.version,uno:a,async extract(d){typeof d!="string"&&(d.forEach(C=>l.add(C)),d=""),await h(d)},extractAll:b,inspect(d){s=d},toggleObserver(d){d===void 0?i=!i:i=!!d,!w&&!i&&y()}};((j=r==null?void 0:r.ready)==null?void 0:j.call(r,$))!==!1&&(i=!1,y())}et({defaults:{presets:[En(),Pn()]}});})();
|
|
1
|
+
"use strict";(()=>{var Wn=Object.defineProperty;var Ln=(e,t)=>{for(var r in t)Wn(e,r,{get:t[r],enumerable:!0})};function B(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function je(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+="\\,";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 ge=je;function Y(e){return typeof e=="string"?e:(Array.isArray(e)?e:Object.entries(e)).filter(t=>t[1]!=null)}function nt(e){return Array.isArray(e)?e.find(t=>!Array.isArray(t)||Array.isArray(t[0]))?e.map(t=>Y(t)):[e]:[Y(e)]}function Dn(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 H(e){return e==null?"":Dn(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 Ae(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={...r};return xe(r)&&xe(n)&&Object.keys(n).forEach(i=>{xe(r[i])&&xe(n[i])||Array.isArray(r[i])&&Array.isArray(n[i])?o[i]=Ae(r[i],n[i]):Object.assign(o,{[i]:n[i]})}),o}function X(e){let t,r,n;if(Array.isArray(e)){for(r=Array(t=e.length);t--;)r[t]=(n=e[t])&&typeof n=="object"?X(n):n;return r}if(Object.prototype.toString.call(e)==="[object Object]"){r={};for(t in e)t==="__proto__"?Object.defineProperty(r,t,{value:X(e[t]),configurable:!0,enumerable:!0,writable:!0}):r[t]=(n=e[t])&&typeof n=="object"?X(n):n;return r}return e}function ot(e){return typeof e[0]=="string"}function it(e){return typeof e[0]=="string"}function P(e=[]){return Array.isArray(e)?e:[e]}function J(e){return Array.from(new Set(e))}var Bn=/^\[(.+?)~?="(.*)"\]$/;var Nn=/(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:%-?]/,ze="$$shortcut-no-merge";function st(e){return e.match(Bn)}function Q(e=""){return Nn.test(e)}function at(e){return typeof e=="function"?{match:e}:e}function Ve(e){return e.length===3}function ct(e){return e!=null}function Pe(){}var be=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 lt=/([!\w+:_/-]+?)([:-])\(((?:[~!\w\s:/\\,%#.$-]|\[.*?\])*?)\)/gm;function ft(e){lt.lastIndex=0;let t=!1;do{let r=e.toString();e=e.replace(lt,(n,o,i,s)=>s.split(/\s/g).map(a=>a==="~"?o:a.replace(/^(!?)(.*)/,`$1${o}${i}$2`)).join(" ")),t=e.toString()!==r}while(t);return e}var ut=new Set;function pt(e){ut.has(e)||(console.warn("[unocss]",e),ut.add(e))}function mt(e){let t=function(n){var i;let o=((i=this.__options)==null?void 0:i.sequence)||[];this.__options.sequence=[];for(let s of o){let a=e[s](n);if(a!=null)return a}};function r(n,o){return n.__options||(n.__options={sequence:[]}),n.__options.sequence.push(o),n}for(let n of Object.keys(e))Object.defineProperty(t,n,{enumerable:!0,get(){return r(this,n)}});return t}var Hn=e=>e.split(/[\s'"`;=]+/g).filter(Q),ee={name:"split",order:0,extract({code:e}){return new Set(Hn(e))}};function dt(){return{events:{},emit(e,...t){(this.events[e]||[]).forEach(r=>r(...t))},on(e,t){return(this.events[e]=this.events[e]||[]).push(t),()=>this.events[e]=(this.events[e]||[]).filter(r=>r!==t)}}}function Kn(e){return P(e).flatMap(t=>Array.isArray(t)?[t]:Object.entries(t))}var In={preflights:-100,shortcuts:-10,default:0};function Oe(e={},t={}){let r=Object.assign({},t,e),n=(r.presets||[]).flatMap(P),o=[...n.filter(u=>u.enforce==="pre"),...n.filter(u=>!u.enforce),...n.filter(u=>u.enforce==="post")],i=Object.assign(In,...n.map(u=>u.layers),e.layers);function s(u){return J([...o.flatMap(g=>P(g[u]||[])),...P(r[u]||[])])}let a=s("extractors");a.length||a.push(ee),a.sort((u,g)=>(u.order||0)-(g.order||0));let l=s("rules"),f={},m=l.length;l.forEach((u,g)=>{ot(u)&&(f[u[0]]=[g,u[1],u[2],u],delete l[g])});let p=X([...o.map(u=>u.theme||{}),r.theme||{}].reduce((u,g)=>Ae(u,g),{}));s("extendTheme").forEach(u=>u(p));let h={templates:J(o.map(u=>{var g;return P((g=u.autocomplete)==null?void 0:g.templates)}).flat()),extractors:o.map(u=>{var g;return P((g=u.autocomplete)==null?void 0:g.extractors)}).flat().sort((u,g)=>(u.order||0)-(g.order||0))};return{mergeSelectors:!0,warn:!0,blocklist:[],sortLayers:u=>u,...r,presets:o,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:i,theme:p,rulesSize:m,rulesDynamic:l,rulesStaticMap:f,preprocess:s("preprocess"),postprocess:s("postprocess"),preflights:s("preflights"),autocomplete:h,variants:s("variants").map(at),shortcuts:Kn(s("shortcuts")),extractors:a,safelist:s("safelist")}}var ht="0.41.0";var Me=class{constructor(t={},r={}){this.userConfig=t;this.defaults=r;this.config=Oe(t,r),this.events.emit("config",this.config)}version=ht;_cache=new Map;config;blocked=new Set;parentOrders=new Map;events=dt();setConfig(t,r){!t||(r&&(this.defaults=r),this.userConfig=t,this.blocked.clear(),this.parentOrders.clear(),this._cache.clear(),this.config=Oe(t,this.defaults),this.events.emit("config",this.config))}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 s=await i.extract(o);s==null||s.forEach(a=>n.add(a))}return n}makeContext(t,r){let n={rawSelector:t,currentSelector:r[1],theme:this.config.theme,generator:this,variantHandlers:r[2],constructCSS:(...o)=>this.constructCustomCSS(n,...o),variantMatch:r};return n}async parseToken(t,r){var l;if(this.blocked.has(t))return;let n=`${t}${r?` ${r}`:""}`;if(this._cache.has(n))return this._cache.get(n);let o=t;for(let f of this.config.preprocess)o=f(t);if(this.isBlocked(o)){this.blocked.add(t),this._cache.set(n,null);return}let i=this.matchVariants(t,o);if(!i||this.isBlocked(i[1])){this.blocked.add(t),this._cache.set(n,null);return}let s=this.makeContext(t,[r||i[0],i[1],i[2],i[3]]);this.config.details&&(s.variants=[...i[3]]);let a=this.expandShortcut(s.currentSelector,s);if(a){let f=await this.stringifyShortcuts(s.variantMatch,s,a[0],a[1]);if(f!=null&&f.length)return this._cache.set(n,f),f}else{let f=(l=await this.parseUtil(s.variantMatch,s))==null?void 0:l.map(m=>this.stringifyUtil(m,s)).filter(ct);if(f!=null&&f.length)return this._cache.set(n,f),f}this._cache.set(n,null)}async generate(t="",{id:r,scope:n,preflights:o=!0,safelist:i=!0,minify:s=!1}={}){let a=typeof t=="string"?await this.applyExtractors(t,r):t;i&&this.config.safelist.forEach(x=>a.add(x));let l=s?"":`
|
|
2
|
+
`,f=new Set(["default"]),m=new Set,p=new Map,h={},u=Array.from(a).map(async x=>{var $;if(m.has(x))return;let y=await this.parseToken(x);if(y!=null){m.add(x);for(let k of y){let j=k[3]||"",d=($=k[4])==null?void 0:$.layer;p.has(j)||p.set(j,[]),p.get(j).push(k),d&&f.add(d)}}}),g=(async()=>{if(!o)return;let x={generator:this,theme:this.config.theme},y=new Set(["default"]);this.config.preflights.forEach(({layer:$})=>{$&&(f.add($),y.add($))}),h=Object.fromEntries(await Promise.all(Array.from(y).map(async $=>{let j=(await Promise.all(this.config.preflights.filter(d=>(d.layer||"default")===$).map(async d=>await d.getCSS(x)))).filter(Boolean).join(l);return[$,j]})))})();await Promise.all([...u,g]);let b=this.config.sortLayers(Array.from(f).sort((x,y)=>(this.config.layers[x]??0)-(this.config.layers[y]??0)||x.localeCompare(y))),T={},v=x=>{if(T[x])return T[x];let y=Array.from(p).sort(($,k)=>{var j;return(this.parentOrders.get($[0])??0)-(this.parentOrders.get(k[0])??0)||((j=$[0])==null?void 0:j.localeCompare(k[0]||""))||0}).map(([$,k])=>{let j=k.length,d=k.filter(S=>{var C;return(((C=S[4])==null?void 0:C.layer)||"default")===x}).sort((S,C)=>{var A,G,Z,F;return S[0]-C[0]||(((A=S[4])==null?void 0:A.sort)||0)-(((G=C[4])==null?void 0:G.sort)||0)||((Z=S[1])==null?void 0:Z.localeCompare(C[1]||""))||((F=S[2])==null?void 0:F.localeCompare(C[2]||""))||0}).map(([,S,C,,A])=>[[[(S&&Zn(S,n))??"",(A==null?void 0:A.sort)??0]],C,!!(A!=null&&A.noMerge)]);if(!d.length)return;let R=d.reverse().map(([S,C,A],G)=>{if(!A&&this.config.mergeSelectors)for(let F=G+1;F<j;F++){let _=d[F];if(_&&!_[2]&&(S&&_[0]||S==null&&_[0]==null)&&_[1]===C)return S&&_[0]&&_[0].push(...S),null}let Z=S?[...new Set(S.sort((F,_)=>{var rt;return F[1]-_[1]||((rt=F[0])==null?void 0:rt.localeCompare(_[0]||""))||0}).map(F=>F[0]).filter(Boolean))]:[];return Z.length?`${Z.join(`,${l}`)}{${C}}`:C}).filter(Boolean).reverse().join(l);if(!$)return R;let z=$.split(" $$ ");return`${z.join("{")}{${l}${R}${l}}${z.map(S=>"").join("}")}`}).filter(Boolean).join(l);return o&&(y=[h[x],y].filter(Boolean).join(l)),T[x]=!s&&y?`/* layer: ${x} */${l}${y}`:y},w=(x=b,y)=>x.filter($=>!(y!=null&&y.includes($))).map($=>v($)||"").filter(Boolean).join(l);return{get css(){return w()},layers:b,getLayers:w,getLayer:v,matched:m}}matchVariants(t,r){let n=new Set,o=[],i=r||t,s=!1,a={rawSelector:t,theme:this.config.theme,generator:this};for(;;){s=!1;for(let l of this.config.variants){if(!l.multiPass&&n.has(l))continue;let f=l.match(i,a);if(!!f){typeof f=="string"&&(f={matcher:f}),i=f.matcher,o.unshift(f),n.add(l),s=!0;break}}if(!s)break;if(o.length>500)throw new Error(`Too many variants applied to "${t}"`)}return[t,i,o,n]}applyVariants(t,r=t[4],n=t[1]){let i=[...r].sort((f,m)=>(f.order||0)-(m.order||0)).reverse().reduce((f,m)=>p=>{var g,b;let h=((g=m.body)==null?void 0:g.call(m,p.entries))||p.entries,u=Array.isArray(m.parent)?m.parent:[m.parent,void 0];return(m.handle??Jn)({...p,entries:h,selector:((b=m.selector)==null?void 0:b.call(m,p.selector,h))||p.selector,parent:u[0]||p.parent,parentOrder:u[1]||p.parentOrder,layer:m.layer||p.layer,sort:m.sort||p.sort},f)},f=>f)({prefix:"",selector:Yn(n),pseudo:"",entries:t[2]}),{parent:s,parentOrder:a}=i;s!=null&&a!=null&&this.parentOrders.set(s,a);let l={selector:Xn([i.prefix,i.selector,i.pseudo].join("")),entries:i.entries,parent:s,layer:i.layer,sort:i.sort};for(let f of this.config.postprocess)f(l);return l}constructCustomCSS(t,r,n){let o=Y(r);if(typeof o=="string")return o;let{selector:i,entries:s,parent:a}=this.applyVariants([0,n||t.rawSelector,o,void 0,t.variantHandlers]),l=`${i}{${H(s)}}`;return a?`${a}{${l}}`:l}async parseUtil(t,r,n=!1){var p,h;let[o,i,s]=typeof t=="string"?this.matchVariants(t):t,a=this.config.details?u=>{r.rules=r.rules??[],r.rules.push(u)}:Pe,l=this.config.rulesStaticMap[i];if(l&&l[1]&&(n||!((p=l[2])!=null&&p.internal))){a(l[3]);let u=l[0],g=Y(l[1]),b=l[2];return typeof g=="string"?[[u,g,b]]:[[u,o,g,b,s]]}r.variantHandlers=s;let{rulesDynamic:f,rulesSize:m}=this.config;for(let u=m-1;u>=0;u--){let g=f[u];if(!g||((h=g[2])==null?void 0:h.internal)&&!n)continue;let[b,T,v]=g,w=i.match(b);if(!w)continue;let x=await T(w,r);if(!x)continue;a(g);let y=nt(x).filter($=>$.length);if(y.length)return y.map($=>typeof $=="string"?[u,$,v]:[u,o,$,v,s])}}stringifyUtil(t,r){if(!t)return;if(Ve(t))return[t[0],void 0,t[1],void 0,t[2],this.config.details?r:void 0];let{selector:n,entries:o,parent:i,layer:s,sort:a}=this.applyVariants(t),l=H(o);if(!l)return;let{layer:f,sort:m,...p}=t[3]??{},h={...p,layer:s??f,sort:a??m};return[t[0],n,l,i,h,this.config.details?r:void 0]}expandShortcut(t,r,n=3){if(n===0)return;let o=this.config.details?a=>{r.shortcuts=r.shortcuts??[],r.shortcuts.push(a)}:Pe,i,s;for(let a of this.config.shortcuts)if(it(a)){if(a[0]===t){i=i||a[2],s=a[1],o(a);break}}else{let l=t.match(a[0]);if(l&&(s=a[1](l,r)),s){i=i||a[2],o(a);break}}if(typeof s=="string"&&(s=ft(s).split(/\s+/g)),!!s)return[s.flatMap(a=>{var l;return((l=this.expandShortcut(a,r,n-1))==null?void 0:l[0])||[a]}).filter(a=>a!==""),i]}async stringifyShortcuts(t,r,n,o={layer:this.config.shortcutsLayer}){var m;let i=new be,s=(await Promise.all(J(n).map(async p=>{let h=await this.parseUtil(p,r,!0);return h||pt(`unmatched utility "${p}" in shortcut "${t[1]}"`),h||[]}))).flat(1).filter(Boolean).sort((p,h)=>p[0]-h[0]),[a,,l]=t,f=[];for(let p of s){if(Ve(p)){f.push([p[0],void 0,p[1],void 0,p[2],r]);continue}let{selector:h,entries:u,parent:g,sort:b}=this.applyVariants(p,[...p[4],...l],a);i.getFallback(h,g,[[],p[0]])[0].push([u,!!((m=p[3])!=null&&m.noMerge),b??0])}return f.concat(i.map(([p,h],u,g)=>{let b=(v,w,x)=>{let y=Math.max(...x.map(k=>k[1])),$=x.map(k=>k[0]);return(v?[$.flat(1)]:$).map(k=>{let j=H(k);if(j)return[h,u,j,g,{...o,noMerge:w,sort:y},r]})};return[[p.filter(([,v])=>v).map(([v,,w])=>[v,w]),!0],[p.filter(([,v])=>!v).map(([v,,w])=>[v,w]),!1]].map(([v,w])=>[...b(!1,w,v.filter(([x])=>x.some(y=>y[0]===ze))),...b(!0,w,v.filter(([x])=>x.every(y=>y[0]!==ze)))])}).flat(2).filter(Boolean))}isBlocked(t){return!t||this.config.blocklist.some(r=>typeof r=="string"?r===t:r.test(t))}};function xt(e,t){return new Me(e,t)}var bt=/ \$\$ /,Gn=e=>e.match(bt);function Zn(e,t){return Gn(e)?e.replace(bt,t?` ${t} `:" "):t?`${t} ${e}`:e}function Xn(e){let t=e.match(/::[\w-]+/g);return t&&(t.forEach(r=>e=e.replace(r,"")),e+=t.join("")),e}var gt=/^\[(.+?)(~?=)"(.*)"\]$/;function Yn(e){return gt.test(e)?e.replace(gt,(t,r,n,o)=>`[${ge(r)}${n}"${ge(o)}"]`):`.${ge(e)}`}function Jn(e,t){return t(e)}var yt=[{layer:"preflights",getCSS(e){if(e.theme.preflightBase){let t=H(Object.entries(e.theme.preflightBase));return`*,::before,::after{${t}}::backdrop{${t}}`}}}];var O={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"]},Ue={...O,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"]},Fe={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"]},$t=["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"],te=Object.assign({},...$t.map(e=>({[e.replace(/ /,"-")]:e})),...$t.map(e=>({[e.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:e}))),M=["inherit","initial","revert","revert-layer","unset"];var vt={mid:"middle",base:"baseline",btm:"bottom",baseline:"baseline",top:"top",middle:"middle",bottom:"bottom","text-top":"text-top","text-bottom":"text-bottom",sub:"sub",super:"super"},wt=[[/^(?:vertical|align|v)-(.+)$/,([,e])=>({"vertical-align":vt[e]}),{autocomplete:`(vertical|align|v)-(${Object.keys(vt).join("|")})`}]],St=["center","left","right","justify","start","end",...M].map(e=>[`text-${e}`,{"text-align":e}]);var We=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"],kt=["%alpha","<alpha-value>"],Qn=new RegExp(kt.map(e=>B(e)).join("|"));function Le(e=""){let t=eo(e);if(t==null||t===!1)return;let{type:r,components:n,alpha:o}=t,i=r.toLowerCase();if(n.length!==0&&!(["rgba","hsla"].includes(i)&&o==null)&&!(We.includes(i)&&![1,3].includes(n.length)))return{type:i,components:n,alpha:o}}function ne(e){let t=e.alpha??1;return typeof t=="string"&&kt.includes(t)?1:t}function W(e,t){if(typeof e=="string")return e.replace(Qn,`${t??1}`);let{components:r}=e,{alpha:n,type:o}=e;return n=t??n,o=o.toLowerCase(),["hsla","hsl","rgba","rgb"].includes(o)?`${o.replace("a","")}a(${r.join(",")}${n==null?"":`,${n}`})`:(n=n==null?"":` / ${n}`,We.includes(o)?`${o}(${r.join(" ")}${n})`:`color(${o} ${r.join(" ")}${n})`)}function eo(e){if(!e)return;let t=to(e);if(t!=null||(t=ro(e),t!=null)||(t=no(e),t!=null)||(t=io(e),t!=null)||(t=so(e),t!=null))return t}function to(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 ro(e){let t={rebeccapurple:[102,51,153,1]}[e];if(t!=null)return{type:"rgb",components:t.slice(0,3),alpha:t[3]}}function no(e){let t=e.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!t)return;let[,r,n]=t,o=re(n,",",5);if(o){if([3,4].includes(o.length))return{type:r,components:o.slice(0,3),alpha:o[3]};if(o.length!==1)return!1}}var oo=new RegExp(`^(${We.join("|")})\\((.+)\\)$`,"i");function io(e){let t=e.match(oo);if(!t)return;let[,r,n]=t,o=Ct(`${r} ${n}`);if(o){let{alpha:i,components:[s,...a]}=o;return{type:s,components:a,alpha:i}}}function so(e){let t=e.match(/^color\((.+)\)$/);if(!t)return;let r=Ct(t[1]);if(r){let{alpha:n,components:[o,...i]}=r;return{type:o,components:i,alpha:n}}}function Ct(e){let t=re(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=re(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 ao(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 re(e,t,r){if(t=t??" ",t.length!==1)return;r=r??10;let n=[],o=0;for(;e!=="";){if(++o>r)return;let i=ao(e,t);if(!i)return;let[s,a]=i;n.push(s),e=a}if(n.length>0)return n}var Be={};Ln(Be,{auto:()=>uo,bracket:()=>yo,bracketOfColor:()=>$o,bracketOfLength:()=>vo,bracketOfPosition:()=>wo,cssvar:()=>So,degree:()=>Co,fraction:()=>xo,global:()=>Ro,number:()=>ho,numberWithUnit:()=>fo,percent:()=>go,position:()=>To,properties:()=>Eo,px:()=>mo,rem:()=>po,time:()=>ko});var co=["color","border-color","background-color","flex-grow","flex","flex-shrink","caret-color","font","gap","opacity","visibility","z-index","font-weight","zoom","text-shadow","transform","box-shadow","backround-position","left","right","top","bottom","object-position","max-height","min-height","max-width","min-width","height","width","border-width","margin","padding","outline-width","outline-offset","font-size","line-height","text-indent","vertical-align","border-spacing","letter-spacing","word-spacing","stroke","filter","backdrop-filter","fill","mask","mask-size","mask-border","clip-path","clip","border-radius"],De=/^(-?[0-9.]+)(px|pt|pc|rem|em|%|vh|vw|in|cm|mm|ex|ch|vmin|vmax|cqw|cqh|cqi|cqb|cqmin|cqmax|rpx)?$/i,lo=/^(-?[0-9.]+)$/i,Rt=/^(px)$/i;function U(e){return e.toFixed(10).replace(/\.0+$/,"").replace(/(\.\d+?)0+$/,"$1")}function fo(e){let t=e.match(De);if(!t)return;let[,r,n]=t,o=parseFloat(r);if(n&&!Number.isNaN(o))return`${U(o)}${n}`}function uo(e){if(e==="auto"||e==="a")return"auto"}function po(e){if(e.match(Rt))return`1${e}`;let t=e.match(De);if(!t)return;let[,r,n]=t,o=parseFloat(r);if(!Number.isNaN(o))return n?`${U(o)}${n}`:`${U(o/4)}rem`}function mo(e){if(e.match(Rt))return`1${e}`;let t=e.match(De);if(!t)return;let[,r,n]=t,o=parseFloat(r);if(!Number.isNaN(o))return n?`${U(o)}${n}`:`${U(o)}px`}function ho(e){if(!lo.test(e))return;let t=parseFloat(e);if(!Number.isNaN(t))return U(t)}function go(e){e.endsWith("%")&&(e=e.slice(0,-1));let t=parseFloat(e);if(!Number.isNaN(t))return`${U(t/100)}`}function xo(e){if(e==="full")return"100%";let[t,r]=e.split("/"),n=parseFloat(t)/parseFloat(r);if(!Number.isNaN(n))return`${U(n*100)}%`}var bo=/^\[(color|length|position):/i;function ye(e,t){if(e&&e.startsWith("[")&&e.endsWith("]")){let r,n=e.match(bo);if(n?t&&n[1]===t&&(r=e.slice(n[0].length,-1)):r=e.slice(1,-1),r!==void 0)return r.replace(/(url\(.*?\))/g,o=>o.replace(/_/g,"\\_")).replace(/([^\\])_/g,"$1 ").replace(/(?:calc|clamp|max|min)\((.*)/g,o=>o.replace(/(-?\d*\.?\d(?!\b-.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 "))}}function yo(e){return ye(e)}function $o(e){return ye(e,"color")}function vo(e){return ye(e,"length")}function wo(e){return ye(e,"position")}function So(e){if(e.match(/^\$\S/))return`var(--${je(e.slice(1))})`}function ko(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?`${U(o)}${n}`:`${U(o)}ms`}function Co(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?`${U(o)}${n}`:`${U(o)}deg`}function Ro(e){if(M.includes(e))return e}function Eo(e){if(e.split(",").every(t=>co.includes(t)))return e}function To(e){if(["top","left","right","bottom","center"].includes(e))return e}var c=mt(Be);var K=(e,t)=>{let r=new RegExp(`^${B(e)}[:-]`);return{name:e,match:n=>{let o=n.match(r);if(o)return{matcher:n.slice(o[0].length),handle:(i,s)=>s({...i,...t(i)})}},autocomplete:`${e}:`}},oe=(e,t)=>{let r=new RegExp(`^${B(e)}[:-]`);return{name:e,match:n=>{let o=n.match(r);if(o)return{matcher:n.slice(o[0].length),parent:t}},autocomplete:`${e}:`}};var Et="$$mini-no-negative",V=e=>([t,r,n],{theme:o})=>{var s;let i=((s=o.spacing)==null?void 0:s[n||"DEFAULT"])??c.bracket.cssvar.auto.fraction.rem(n);if(i!=null)return O[r].map(a=>[`${e}${a}`,i])},Ne=(e,t)=>{var r;return(r=e.colors)==null?void 0:r[t.join("-").replace(/(-[a-z])/g,n=>n.slice(1).toUpperCase())]},$e=(e,t)=>{let r=e.split(/(?:\/|:)/),n,o;r[0]==="[color"?(n=r.slice(0,2).join(":"),o=r[2]):[n,o]=r;let i=n.replace(/([a-z])([0-9])/g,"$1-$2").split(/-/g),[s]=i;if(!s)return;let a,l=c.bracketOfColor(n),f=l||n;f.startsWith("#")?a=f:f.startsWith("hex-")?a=`#${f.slice(4)}`:n.startsWith("$")&&(a=c.cssvar(n)),a=a||l;let m="DEFAULT";if(!a){let p,[h]=i.slice(-1);h.match(/^\d+$/)?(m=h,p=Ne(t,i.slice(0,-1))):(p=Ne(t,i),!p&&i.length<=2&&([,m=m]=i,p=Ne(t,[s]))),typeof p=="string"?a=p:m&&p&&(a=p[m])}return{opacity:o,name:s,no:m,color:a,cssColor:Le(a),alpha:c.bracket.cssvar.percent(o??"")}},E=(e,t)=>([,r],{theme:n})=>{let o=$e(r,n);if(!o)return;let{alpha:i,color:s,cssColor:a}=o;if(a)return i!=null?{[e]:W(a,i)}:{[`--un-${t}-opacity`]:ne(a),[e]:W(a,`var(--un-${t}-opacity)`)};if(s)return{[e]:W(s,i)}},ve=(e,t)=>{let r=[];e=P(e);for(let n=0;n<e.length;n++){let o=re(e[n]," ",6);if(!o||o.length<3)return e;let i=Le(o.pop());if(i==null)return e;r.push(`${o.join(" ")} var(${t}, ${W(i)})`)}return r},Tt=(e,t)=>{var r;return e!=null&&!!((r=$e(e,t))!=null&&r.color)},we=({theme:e,generator:t})=>{let r;return t.userConfig&&t.userConfig.theme&&(r=t.userConfig.theme.breakpoints),r||(r=e.breakpoints),r},jt=({theme:e,generator:t})=>{let r;return t.userConfig&&t.userConfig.theme&&(r=t.userConfig.theme.verticalBreakpoints),r||(r=e.verticalBreakpoints),r};var At=[[/^outline-(?:width-|size-)?(.+)$/,([,e],{theme:t})=>{var r;return{"outline-width":((r=t.lineWidth)==null?void 0:r[e])??c.bracket.cssvar.px(e)}},{autocomplete:"outline-(width|size)-<num>"}],[/^outline-(?:color-)?(.+)$/,E("outline-color","outline-color"),{autocomplete:"outline-$colors"}],[/^outline-offset-(.+)$/,([,e],{theme:t})=>{var r;return{"outline-offset":((r=t.lineWidth)==null?void 0:r[e])??c.bracket.cssvar.px(e)}},{autocomplete:"outline-(offset)-<num>"}],["outline",{"outline-style":"solid"}],...["auto","dashed","dotted","double","hidden","solid","groove","ridge","inset","outset",...M].map(e=>[`outline-${e}`,{"outline-style":e}]),["outline-none",{outline:"2px solid transparent","outline-offset":"2px"}]],zt=[["appearance-none",{appearance:"none","-webkit-appearance":"none"}]],jo=e=>c.properties.auto.global(e)??{contents:"contents",scroll:"scroll-position"}[e],Vt=[[/^will-change-(.+)/,([,e])=>({"will-change":jo(e)})]];var le=["solid","dashed","dotted","double","hidden","none","groove","ridge","inset","outset",...M],Pt=[[/^(?:border|b)()(?:-(.+))?$/,ie,{autocomplete:"(border|b)-<directions>"}],[/^(?:border|b)-([xy])(?:-(.+))?$/,ie],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,ie],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,ie],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,ie],[/^(?:border|b)-()(?:width|size)-(.+)$/,I,{autocomplete:["(border|b)-<num>","(border|b)-<directions>-<num>"]}],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,I],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,I],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,I],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,I],[/^(?:border|b)-()(?:color-)?(.+)$/,se,{autocomplete:["(border|b)-$colors","(border|b)-<directions>-$colors"]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,se],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,se],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,se],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,se],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,ae,{autocomplete:"(border|b)-(op|opacity)-<percent>"}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,ae],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,ae],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,ae],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,ae],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,ce,{autocomplete:["(border|b)-(rounded|rd)","(border|b)-(rounded|rd)-<num>","(rounded|rd)","(rounded|rd)-<num>"]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltb])(?:-(.+))?$/,ce],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,ce],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se])(?:-(.+))?$/,ce],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,ce],[/^(?:border|b)-(?:style-)?()(.+)$/,q,{autocomplete:["(border|b)-style",`(border|b)-(${le.join("|")})`,"(border|b)-<directions>-style",`(border|b)-<directions>-(${le.join("|")})`,`(border|b)-<directions>-style-(${le.join("|")})`,`(border|b)-style-(${le.join("|")})`]}],[/^(?:border|b)-([xy])-(?:style-)?(.+)$/,q],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,q],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,q],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,q]],Ao=e=>([,t],r)=>{let n=$e(t,r);if(!n)return;let{alpha:o,color:i,cssColor:s}=n;if(s)return o!=null?{[`border${e}-color`]:W(s,o)}:e===""?{"--un-border-opacity":ne(s),"border-color":W(s,"var(--un-border-opacity)")}:{"--un-border-opacity":ne(s),[`--un-border${e}-opacity`]:"var(--un-border-opacity)",[`border${e}-color`]:W(s,`var(--un-border${e}-opacity)`)};if(i)return{[`border${e}-color`]:W(i,o)}};function ie(e,t){let r=I(e,t),n=q(["",e[1],"solid"]);if(r&&n)return[...r,...n]}function I([,e="",t],{theme:r}){var o;let n=((o=r.lineWidth)==null?void 0:o[t||"DEFAULT"])??c.bracket.cssvar.px(t||"1");if(e in O&&n!=null)return O[e].map(i=>[`border${i}-width`,n])}function se([,e="",t],{theme:r}){if(e in O&&Tt(t,r))return Object.assign({},...O[e].map(n=>Ao(n)(["",t],r)))}function ae([,e="",t]){let r=c.bracket.percent(t);if(e in O&&r!=null)return O[e].map(n=>[`--un-border${n}-opacity`,r])}function ce([,e="",t],{theme:r}){var o;let n=((o=r.borderRadius)==null?void 0:o[t||"DEFAULT"])||c.bracket.cssvar.fraction.rem(t||"1");if(e in Fe&&n!=null)return Fe[e].map(i=>[`border${i}-radius`,n])}function q([,e="",t]){if(le.includes(t)&&e in O)return O[e].map(r=>[`border${r}-style`,t])}var Ot=[[/^op(?:acity)?-?(.+)$/,([,e])=>({opacity:c.bracket.percent.cssvar(e)})]],Mt=[[/^(?:text|color|c)-(.+)$/,E("color","text"),{autocomplete:"(text|color|c)-$colors"}],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-opacity":c.bracket.percent(e)}),{autocomplete:"(text|color|c)-(op|opacity)-<percent>"}]],Ut=[[/^bg-(.+)$/,E("background-color","bg"),{autocomplete:"bg-$colors"}],[/^bg-op(?:acity)?-?(.+)$/,([,e])=>({"--un-bg-opacity":c.bracket.percent(e)}),{autocomplete:"bg-(op|opacity)-<percent>"}]];var Se={all:"all",colors:["color","background-color","border-color","text-decoration-color","fill","stroke"].join(","),none:"none",opacity:"opacity",shadow:"box-shadow",transform:"transform"},Ft=e=>c.properties(e)??Se[e],_t=[[/^transition(?:-([a-z-]+(?:,[a-z-]+)*))?(?:-(\d+))?$/,([,e,t],{theme:r})=>{var o;let n=e!=null?Ft(e):[Se.colors,"opacity","box-shadow","transform","filter","backdrop-filter"].join(",");if(n){let i=((o=r.duration)==null?void 0:o[t||"DEFAULT"])??c.time(t||"150");return{"transition-property":n,"transition-timing-function":"cubic-bezier(0.4, 0, 0.2, 1)","transition-duration":i}}},{autocomplete:`transition-(${Object.keys(Se).join("|")})`}],[/^(?:transition-)?duration-(.+)$/,([,e],{theme:t})=>{var r;return{"transition-duration":((r=t.duration)==null?void 0:r[e||"DEFAULT"])??c.bracket.cssvar.time(e)}},{autocomplete:["transition-duration-$duration","duration-$duration"]}],[/^(?:transition-)?delay-(.+)$/,([,e],{theme:t})=>{var r;return{"transition-delay":((r=t.duration)==null?void 0:r[e||"DEFAULT"])??c.bracket.cssvar.time(e)}},{autocomplete:["transition-delay-$duration","delay-$duration"]}],[/^(?:transition-)?ease(?:-(.+))?$/,([,e],{theme:t})=>{var r;return{"transition-timing-function":((r=t.easing)==null?void 0:r[e||"DEFAULT"])??c.bracket.cssvar(e)}},{autocomplete:["transition-ease-(linear|in|out|in-out|DEFAULT)","ease-(linear|in|out|in-out|DEFAULT)"]}],[/^(?:transition-)?property-(.+)$/,([,e])=>({"transition-property":c.global(e)||Ft(e)}),{autocomplete:[`transition-property-(${[...M,...Object.keys(Se)].join("|")})`]}],["transition-none",{transition:"none"}]];var Wt=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],[/^flex-(.*)$/,([,e])=>({flex:c.bracket(e)!=null?c.bracket(e).split(" ").map(t=>c.cssvar.fraction(t)??t).join(" "):c.cssvar.fraction(e)})],["flex-1",{flex:"1 1 0%"}],["flex-auto",{flex:"1 1 auto"}],["flex-initial",{flex:"0 1 auto"}],["flex-none",{flex:"none"}],[/^(?:flex-)?shrink$/,()=>({"flex-shrink":1})],[/^(?:flex-)?shrink-0$/,()=>({"flex-shrink":0})],[/^(?:flex-)?grow$/,()=>({"flex-grow":1})],[/^(?:flex-)?grow-0$/,()=>({"flex-grow":0})],[/^(?:flex-)?basis-(.+)$/,([,e],{theme:t})=>{var r;return{"flex-basis":((r=t.spacing)==null?void 0:r[e])??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 Lt={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},Dt=[[/^font-(.+)$/,([,e],{theme:t})=>{var r;return{"font-family":((r=t.fontFamily)==null?void 0:r[e])||c.bracket.cssvar.global(e)}},{autocomplete:"font-$fontFamily"}],[/^text-(.+)$/,([,e="base"],{theme:t})=>{var n;let r=P((n=t.fontSize)==null?void 0:n[e]);if(r!=null&&r[0]){let[o,i="1"]=r;return{"font-size":o,"line-height":i}}return{"font-size":c.bracketOfLength.rem(e)}},{autocomplete:"text-$fontSize"}],[/^text-size-(.+)$/,([,e],{theme:t})=>{var o;let r=P((o=t.fontSize)==null?void 0:o[e]),n=(r==null?void 0:r[0])??c.bracket.cssvar.rem(e);if(n!=null)return{"font-size":n}},{autocomplete:"text-size-$fontSize"}],[/^(?:font|fw)-?([^-]+)$/,([,e])=>({"font-weight":Lt[e]||c.global.number(e)}),{autocomplete:`(font|fw)-(100|200|300|400|500|600|700|800|900|${Object.keys(Lt).join("|")})`}],[/^(?:font-)?(?:leading|lh)-(.+)$/,([,e],{theme:t})=>{var r;return{"line-height":((r=t.lineHeight)==null?void 0:r[e])||c.bracket.cssvar.global.rem(e)}},{autocomplete:"(leading|lh)-$lineHeight"}],[/^font-synthesis-(.+)$/,([,e])=>({"font-synthesis":e}),{autocomplete:"font-synthesis-(none|weight|style|small-caps)"}],[/^(?:font-)?tracking-(.+)$/,([,e],{theme:t})=>{var r;return{"letter-spacing":((r=t.letterSpacing)==null?void 0:r[e])||c.bracket.cssvar.global.rem(e)}},{autocomplete:"tracking-$letterSpacing"}],[/^(?:font-)?word-spacing-(.+)$/,([,e],{theme:t})=>{var r;return{"word-spacing":((r=t.wordSpacing)==null?void 0:r[e])||c.bracket.cssvar.global.rem(e)}},{autocomplete:"word-spacing-$wordSpacing"}]],Bt=[[/^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}}]],Nt=[[/^indent(?:-(.+))?$/,([,e],{theme:t})=>{var r;return{"text-indent":((r=t.textIndent)==null?void 0:r[e||"DEFAULT"])||c.bracket.cssvar.global.fraction.rem(e)}},{autocomplete:"indent-$textIndent"}]],Ht=[[/^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)}},{autocomplete:"text-stroke-$textStrokeWidth"}],[/^text-stroke-(.+)$/,E("-webkit-text-stroke-color","text-stroke"),{autocomplete:"text-stroke-$colors"}],[/^text-stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-stroke-opacity":c.bracket.percent(e)}),{autocomplete:"text-stroke-(op|opacity)-<percent>"}]],Kt=[[/^text-shadow(?:-(.+))?$/,([,e],{theme:t})=>{var n;let r=(n=t.textShadow)==null?void 0:n[e||"DEFAULT"];return r!=null?{"--un-text-shadow":ve(r,"--un-text-shadow-color").join(","),"text-shadow":"var(--un-text-shadow)"}:{"text-shadow":c.bracket.cssvar(e)}},{autocomplete:"text-shadow-$textShadow"}],[/^text-shadow-color-(.+)$/,E("--un-text-shadow-color","text-shadow"),{autocomplete:"text-shadow-color-$colors"}],[/^text-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-shadow-opacity":c.bracket.percent(e)}),{autocomplete:"text-shadow-color-(op|opacity)-<percent>"}]];var It={"":"",x:"column-",y:"row-"},qt=([,e="",t],{theme:r})=>{var o;let n=((o=r.spacing)==null?void 0:o[t])??c.bracket.cssvar.rem(t);if(n!=null)return{[`grid-${It[e]}gap`]:n,[`${It[e]}gap`]:n}},Gt=[[/^(?:flex-|grid-)?gap-?()(.+)$/,qt,{autocomplete:["gap-$spacing","gap-<num>"]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,qt,{autocomplete:["gap-(x|y)-$spacing","gap-(x|y)-<num>"]}]];var L=e=>e.replace("col","column"),He=e=>e[0]==="r"?"Row":"Column",zo=(e,t,r)=>{var o;let n=(o=t[`gridAuto${He(e)}`])==null?void 0:o[r];if(n!=null)return n;switch(r){case"min":return"min-content";case"max":return"max-content";case"fr":return"minmax(0,1fr)"}return c.bracket.cssvar.auto.rem(r)},Zt=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,e,t],{theme:r})=>{var n;return{[`grid-${L(e)}`]:((n=r[`grid${He(e)}`])==null?void 0:n[t])??c.bracket.cssvar.auto(t)}}],[/^(?:grid-)?(row|col)-span-(.+)$/,([,e,t])=>{if(t==="full")return{[`grid-${L(e)}`]:"1/-1"};let r=c.bracket.number(t);if(r!=null)return{[`grid-${L(e)}`]:`span ${r}/span ${r}`}},{autocomplete:["grid-(row|col)-span-<num>","(row|col)-span-<num>"]}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,e,t])=>({[`grid-${L(e)}-start`]:c.bracket.cssvar(t)??t})],[/^(?:grid-)?(row|col)-end-(.+)$/,([,e,t])=>({[`grid-${L(e)}-end`]:c.bracket.cssvar(t)??t})],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,e,t],{theme:r})=>({[`grid-auto-${L(e)}`]:zo(e,r,t)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,e])=>({"grid-auto-flow":c.bracket.cssvar(e)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)$/,([,e])=>({"grid-auto-flow":L(e).replace("-"," ")})],[/^grid-(rows|cols)-(.+)$/,([,e,t],{theme:r})=>{var n;return{[`grid-template-${L(e)}`]:((n=r[`gridTemplate${He(e)}`])==null?void 0:n[t])??c.bracket.cssvar(t)}}],[/^grid-(rows|cols)-minmax-([\w.-]+)$/,([,e,t])=>({[`grid-template-${L(e)}`]:`repeat(auto-fill,minmax(${t},1fr))`})],[/^grid-(rows|cols)-(\d+)$/,([,e,t])=>({[`grid-template-${L(e)}`]:`repeat(${t},minmax(0,1fr))`})],["grid-rows-none",{"grid-template-rows":"none"}],["grid-cols-none",{"grid-template-columns":"none"}]];var ke=["auto","hidden","clip","visible","scroll"],Xt=[[/^(?:overflow|of)-(.+)$/,([,e])=>ke.includes(e)?{overflow:e}:void 0,{autocomplete:[`(overflow|of)-(${ke.join("|")})`,`(overflow|of)-(x|y)-(${ke.join("|")})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,e,t])=>ke.includes(t)?{[`overflow-${e}`]:t}:void 0]];var Yt=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,e])=>({position:e})],[/^(?:position-|pos-)?(static)$/,([,e])=>({position:e})]],Jt=[["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"}]],Qt=[[/^order-(.+)$/,([,e])=>({order:c.bracket.cssvar.number(e)})],["order-first",{order:"-9999"}],["order-last",{order:"9999"}],["order-none",{order:"0"}]],er=[["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"}]],tr=[["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 Ke(e,{theme:t}){var r;return((r=t.spacing)==null?void 0:r[e])??c.bracket.cssvar.auto.fraction.rem(e)}function Ce([,e,t],r){let n=Ke(t,r);if(n!=null&&e in Ue)return Ue[e].map(o=>[o.slice(1),n])}var rr=[[/^(?:position-|pos-)?inset-(.+)$/,([,e],t)=>({inset:Ke(e,t)}),{autocomplete:["(position|pos)-inset-<directions>-$spacing","(position|pos)-inset-(block|inline)-$spacing","(position|pos)-inset-(bs|be|is|ie)-$spacing","(position|pos)-(top|left|right|bottom)-$spacing"]}],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,Ce],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,Ce],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,Ce],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,Ce],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,e,t],r)=>({[e]:Ke(t,r)})]],nr=[["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"}]],or=[[/^z([\d.]+)$/,([,e])=>({"z-index":c.number(e)})],[/^z-(.+)$/,([,e])=>({"z-index":c.bracket.cssvar.auto.number(e)}),{autocomplete:"z-<num>"}]],ir=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}]];var Re="var(--un-empty,/*!*/ /*!*/)",sr=[["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})]],ar=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}]],cr=[[/^cursor-(.+)$/,([,e])=>({cursor:c.bracket.cssvar(e)||e})]],lr=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}]],fr=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}]],ur=[["select-auto",{"user-select":"auto"}],["select-all",{"user-select":"all"}],["select-text",{"user-select":"text"}],["select-none",{"user-select":"none"}]],pr=[[/^(?:whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)$/,([,e])=>({"white-space":e}),{autocomplete:"(whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)"}]],mr=[[/^content-\[(.+)\]$/,([,e])=>({content:`"${e}"`})],[/^content-(\$.+)]$/,([,e])=>({content:c.cssvar(e)})],["content-empty",{content:'""'}],["content-none",{content:'""'}]],dr=[["break-normal",{"overflow-wrap":"normal","word-break":"normal"}],["break-words",{"overflow-wrap":"break-word"}],["break-all",{"word-break":"break-all"}]],hr=[["truncate",{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}],["text-ellipsis",{"text-overflow":"ellipsis"}],["text-clip",{"text-overflow":"clip"}]],gr=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}]],xr=[["italic",{"font-style":"italic"}],["not-italic",{"font-style":"normal"}],["font-italic",{"font-style":"italic"}],["font-not-italic",{"font-style":"normal"}],["oblique",{"font-style":"oblique"}],["not-oblique",{"font-style":"normal"}],["font-oblique",{"font-style":"oblique"}],["font-not-oblique",{"font-style":"normal"}]],br=[["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 yr={"--un-ring-inset":Re,"--un-ring-offset-width":"0px","--un-ring-offset-color":"#fff","--un-ring-width":"0px","--un-ring-color":"rgba(147,197,253,0.5)","--un-shadow":"0 0 #0000"},$r=[[/^ring(?:-(.+))?$/,([,e],{theme:t})=>{var n;let r=((n=t.ringWidth)==null?void 0:n[e||"DEFAULT"])??c.px(e||"1");if(r)return{"--un-ring-width":r,"--un-ring-offset-shadow":"var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color)","--un-ring-shadow":"var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color)","box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow, 0 0 #0000)"}},{autocomplete:"ring-$ringWidth"}],[/^ring-(?:width-|size-)(.+)$/,([,e],{theme:t})=>{var r;return{"--un-ring-width":((r=t.lineWidth)==null?void 0:r[e])??c.bracket.cssvar.px(e)}},{autocomplete:"ring-(width|size)-$lineWidth"}],["ring-offset",{"--un-ring-offset-width":"1px"}],[/^ring-offset-(?:width-|size-)?(.+)$/,([,e],{theme:t})=>{var r;return{"--un-ring-offset-width":((r=t.lineWidth)==null?void 0:r[e])??c.bracket.cssvar.px(e)}},{autocomplete:"ring-offset-(width|size)-$lineWidth"}],[/^ring-(.+)$/,E("--un-ring-color","ring"),{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-opacity":c.bracket.percent(e)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^ring-offset-(.+)$/,E("--un-ring-offset-color","ring-offset"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-offset-opacity":c.bracket.percent(e)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]];var vr={"--un-ring-offset-shadow":"0 0 #0000","--un-ring-shadow":"0 0 #0000","--un-shadow-inset":Re,"--un-shadow":"0 0 #0000"},wr=[[/^shadow(?:-(.+))?$/,([,e],{theme:t})=>{var n;let r=(n=t.boxShadow)==null?void 0:n[e||"DEFAULT"];if(r)return{"--un-shadow":ve(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)"}},{autocomplete:"shadow-$boxShadow"}],[/^shadow-(.+)$/,E("--un-shadow-color","shadow"),{autocomplete:"shadow-$colors"}],[/^shadow-op(?:acity)?-?(.+)$/,([,e])=>({"--un-shadow-opacity":c.bracket.percent(e)}),{autocomplete:"shadow-(op|opacity)-<percent>"}],["shadow-inset",{"--un-shadow-inset":"inset"}]];var Vo={h:"height",w:"width",inline:"inline-size",block:"block-size"};function fe(e,t){return`${e||""}${Vo[t]}`}function Sr(e,t,r,n){var s;let o=fe(e,t).replace(/-(\w)/g,(a,l)=>l.toUpperCase()),i=(s=r[o])==null?void 0:s[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 kr=[[/^(min-|max-)?([wh])-?(.+)$/,([,e,t,r],{theme:n})=>({[fe(e,t)]:Sr(e,t,n,r)}),{autocomplete:["(w|h)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(max|min)-(w|h)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize"]}],[/^(min-|max-)?(block|inline)-(.+)$/,([,e,t,r],{theme:n})=>({[fe(e,t)]:Sr(e,t,n,r)}),{autocomplete:["(w|h)-(block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(max|min)-(w|h)-(block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize"]}],[/^(min-|max-)?(h)-screen-(.+)$/,([,e,t,r],n)=>{var o;return{[fe(e,t)]:(o=jt(n))==null?void 0:o[r]}},{autocomplete:["h-screen-$verticalBreakpoints","(min|max)-h-screen-$verticalBreakpoints"]}],[/^(min-|max-)?(w)-screen-(.+)$/,([,e,t,r],n)=>{var o;return{[fe(e,t)]:(o=we(n))==null?void 0:o[r]}},{autocomplete:["w-screen-$breakpoints","(min|max)-w-screen-$breakpoints"]}]];function Po(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 Cr=[[/^aspect-(?:ratio-)?(.+)$/,([,e])=>({"aspect-ratio":Po(e)}),{autocomplete:["aspect-(square|video)","aspect-ratio-(square|video)"]}]];var Rr=[[/^pa?()-?(-?.+)$/,V("padding"),{autocomplete:["(m|p)<num>","(m|p)-<num>"]}],[/^p-?xy()()$/,V("padding"),{autocomplete:"(m|p)-(xy)"}],[/^p-?([xy])(?:-?(-?.+))?$/,V("padding")],[/^p-?([rltbse])(?:-?(-?.+))?$/,V("padding"),{autocomplete:"(m|p)<directions>-<num>"}],[/^p-(block|inline)(?:-(-?.+))?$/,V("padding"),{autocomplete:"(m|p)-(block|inline)-<num>"}],[/^p-?([bi][se])(?:-?(-?.+))?$/,V("padding"),{autocomplete:"(m|p)-(bs|be|is|ie)-<num>"}]],Er=[[/^ma?()-?(-?.+)$/,V("margin")],[/^m-?xy()()$/,V("margin")],[/^m-?([xy])(?:-?(-?.+))?$/,V("margin")],[/^m-?([rltbse])(?:-?(-?.+))?$/,V("margin")],[/^m-(block|inline)(?:-(-?.+))?$/,V("margin")],[/^m-?([bi][se])(?:-?(-?.+))?$/,V("margin")]];var N=["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(" "),Oo=["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(" "),zr={"--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},Vr=[[/^(?:transform-)?origin-(.+)$/,([,e])=>({"transform-origin":te[e]??c.bracket.cssvar(e)}),{autocomplete:[`transform-origin-(${Object.keys(te).join("|")})`,`origin-(${Object.keys(te).join("|")})`]}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,e])=>{let t=c.bracket.cssvar.px.numberWithUnit(e);if(t!=null)return{"-webkit-perspective":t,perspective:t}}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,e])=>{let t=c.bracket.cssvar(e)??(e.length>=3?te[e]:void 0);if(t!=null)return{"-webkit-perspective-origin":t,"perspective-origin":t}}],[/^(?:transform-)?translate-()(.+)$/,Tr],[/^(?:transform-)?translate-([xyz])-(.+)$/,Tr],[/^(?:transform-)?rotate-()(.+)$/,Ar],[/^(?:transform-)?rotate-([xyz])-(.+)$/,Ar],[/^(?:transform-)?skew-([xy])-(.+)$/,Mo],[/^(?:transform-)?scale-()(.+)$/,jr],[/^(?:transform-)?scale-([xyz])-(.+)$/,jr],[/^(?:transform-)?preserve-3d$/,()=>({"transform-style":"preserve-3d"})],[/^(?:transform-)?preserve-flat$/,()=>({"transform-style":"flat"})],["transform",{transform:N}],["transform-cpu",{transform:N}],["transform-gpu",{transform:Oo}],["transform-none",{transform:"none"}]];function Tr([,e,t],{theme:r}){var o;let n=((o=r.spacing)==null?void 0:o[t])??c.bracket.cssvar.fraction.rem(t);if(n!=null)return[..._e[e].map(i=>[`--un-translate${i}`,n]),["transform",N]]}function jr([,e,t]){let r=c.bracket.cssvar.fraction.percent(t);if(r!=null)return[..._e[e].map(n=>[`--un-scale${n}`,r]),["transform",N]]}function Ar([,e="",t]){let r=c.bracket.cssvar.degree(t);if(r!=null)return e?{"--un-rotate":0,[`--un-rotate-${e}`]:r,transform:N}:{"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-rotate":r,transform:N}}function Mo([,e,t]){let r=c.bracket.cssvar.degree(t);if(r!=null)return{[`--un-skew-${e}`]:r,transform:N}}var Uo={backface:"backface-visibility",break:"word-break",case:"text-transform",content:"align-content",fw:"font-weight",items:"align-items",justify:"justify-content",select:"user-select",self:"align-self",vertical:"vertical-align",visible:"visibility",whitespace:"white-space",ws:"white-space"},Pr=[[/^(.+?)-(\$.+)$/,([,e,t])=>{let r=Uo[e];if(r)return{[r]:c.cssvar(t)}}]],Or=[[/^\[([\w_-]+):([^'"]+)\]$/,([,e,t])=>({[e]:c.bracket(`[${t}]`)})]];var Mr=[[/^(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 Ur=["solid","double","dotted","dashed","wavy",...M],Fr=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,e])=>({"text-decoration-line":e}),{autocomplete:"decoration-(underline|overline|line-through)"}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,([,e],{theme:t})=>{var r;return{"text-decoration-thickness":((r=t.lineWidth)==null?void 0:r[e])??c.bracket.cssvar.px(e)}},{autocomplete:"(underline|decoration)-<num>"}],[/^(?:underline|decoration)-(auto|from-font)$/,([,e])=>({"text-decoration-thickness":e}),{autocomplete:"(underline|decoration)-(auto|from-font)"}],[/^(?:underline|decoration)-(.+)$/,(e,t)=>{let r=E("text-decoration-color","line")(e,t);if(r)return{"-webkit-text-decoration-color":r["text-decoration-color"],...r}},{autocomplete:"(underline|decoration)-$colors"}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-line-opacity":c.bracket.percent(e)}),{autocomplete:"(underline|decoration)-(op|opacity)-<percent>"}],[/^(?:underline|decoration)-offset-(.+)$/,([,e],{theme:t})=>{var r;return{"text-underline-offset":((r=t.lineWidth)==null?void 0:r[e])??c.auto.bracket.cssvar.px(e)}},{autocomplete:"(underline|decoration)-(offset)-<num>"}],...Ur.map(e=>[`underline-${e}`,{"text-decoration-style":e}]),...Ur.map(e=>[`decoration-${e}`,{"text-decoration-style":e}]),["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];var _r=[[/^fill-(.+)$/,E("fill","fill"),{autocomplete:"fill-$colors"}],[/^fill-op(?:acity)?-?(.+)$/,([,e])=>({"--un-fill-opacity":c.bracket.percent(e)}),{autocomplete:"fill-(op|opacity)-<percent>"}],["fill-none",{fill:"none"}],[/^stroke-(?:width-|size-)?(.+)$/,([,e],{theme:t})=>{var r;return{"stroke-width":((r=t.lineWidth)==null?void 0:r[e])??c.bracket.cssvar.fraction.px.number(e)}},{autocomplete:["stroke-width-$lineWidth","stroke-size-$lineWidth"]}],[/^stroke-dash-(.+)$/,([,e])=>({"stroke-dasharray":c.bracket.cssvar.number(e)}),{autocomplete:"stroke-dash-<num>"}],[/^stroke-offset-(.+)$/,([,e],{theme:t})=>{var r;return{"stroke-dashoffset":((r=t.lineWidth)==null?void 0:r[e])??c.bracket.cssvar.px.numberWithUnit(e)}},{autocomplete:"stroke-offset-$lineWidth"}],[/^stroke-(.+)$/,E("stroke","stroke"),{autocomplete:"stroke-$colors"}],[/^stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-stroke-opacity":c.bracket.percent(e)}),{autocomplete:"stroke-(op|opacity)-<percent>"}],["stroke-cap-square",{"stroke-linecap":"square"}],["stroke-cap-round",{"stroke-linecap":"round"}],["stroke-cap-auto",{"stroke-linecap":"butt"}],["stroke-join-arcs",{"stroke-linejoin":"arcs"}],["stroke-join-bevel",{"stroke-linejoin":"bevel"}],["stroke-join-clip",{"stroke-linejoin":"miter-clip"}],["stroke-join-round",{"stroke-linejoin":"round"}],["stroke-join-auto",{"stroke-linejoin":"miter"}],["stroke-none",{stroke:"none"}]];var Wr=[Pr,Or,Rr,Er,sr,Ot,Ut,_r,Pt,mr,Dt,Bt,Nt,hr,Fr,Ht,Kt,gr,St,Mt,xr,br,wr,$r,Wt,Zt,Gt,Yt,kr,Cr,cr,ar,lr,fr,wt,ur,pr,dr,Xt,At,zt,Qt,Jt,er,tr,rr,nr,or,ir,_t,Vr,Vt,Mr].flat(1);var Ie={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(Ie).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 Lr={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(",")},Dr={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"},Nr={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},Hr={DEFAULT:["0 0 1px rgba(0,0,0,0.2)","0 0 1px rgba(1,0,5,0.1)"],none:"0 0 #0000",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)"]},Kr={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},qe={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},Ir=qe;var Ge={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},qr={...Ge},Gr={DEFAULT:"1px",none:"0px"},Zr={DEFAULT:"1rem",none:"0rem",xs:"0.75rem",sm:"0.875rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"},Xr={DEFAULT:"150ms",none:"0ms",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},Yr={DEFAULT:"0.25rem",none:"0rem",sm:"0.125rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},Jr={DEFAULT:["var(--un-shadow-inset) 0 1px 3px 0 rgba(0,0,0,0.1)","var(--un-shadow-inset) 0 1px 2px -1px rgba(0,0,0,0.1)"],none:"0 0 #0000",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)"},Qr={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)"},en={DEFAULT:"1px",none:"0px"};var tn={DEFAULT:"8px",0:"0",sm:"4px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},rn={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 Ee={xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",prose:"65ch"},Ze={auto:"auto",...Ee,screen:"100vw"},ue={none:"none",...Ee,screen:"100vw"},Xe={auto:"auto",...Ee,screen:"100vh"},pe={none:"none",...Ee,screen:"100vh"};var nn={...zr,...vr,...yr};var on={width:Ze,height:Xe,maxWidth:ue,maxHeight:pe,minWidth:ue,minHeight:pe,inlineSize:Ze,blockSize:Xe,maxInlineSize:ue,maxBlockSize:pe,minInlineSize:ue,minBlockSize:pe,colors:Ie,fontFamily:Lr,fontSize:Dr,breakpoints:Ge,verticalBreakpoints:qr,borderRadius:Yr,lineHeight:Kr,letterSpacing:qe,wordSpacing:Ir,boxShadow:Jr,textIndent:Br,textShadow:Hr,textStrokeWidth:Nr,blur:tn,dropShadow:rn,easing:Qr,lineWidth:Gr,spacing:Zr,duration:Xr,ringWidth:en,preflightBase:nn};var Ye={},sn=e=>{var o;let t=((o=e.match(/^-?[0-9]+\.?[0-9]*/))==null?void 0:o[0])||"",r=e.slice(t.length),n=parseFloat(t)-.1;return Number.isNaN(n)?e:`${n}${r}`},an={name:"breakpoints",match(e,t){let r=Object.entries(we(t)??{}).map(([n,o],i)=>[n,o,i]);for(let[n,o,i]of r){Ye[n]||(Ye[n]=new RegExp(`^((?:[al]t-)?${n}[:-])`));let s=e.match(Ye[n]);if(!s)continue;let[,a]=s,l=e.slice(a.length);if(l==="container")continue;let f=a.startsWith("lt-"),m=a.startsWith("at-"),p=1e3;return f?(p-=i+1,{matcher:l,handle:(h,u)=>u({...h,parent:`${h.parent?`${h.parent} $$ `:""}@media (max-width: ${sn(o)})`,parentOrder:p})}):(p+=i+1,m&&i<r.length-1?{matcher:l,handle:(h,u)=>u({...h,parent:`${h.parent?`${h.parent} $$ `:""}@media (min-width: ${o}) and (max-width: ${sn(r[i+1][1])})`,parentOrder:p})}:{matcher:l,handle:(h,u)=>u({...h,parent:`${h.parent?`${h.parent} $$ `:""}@media (min-width: ${o})`,parentOrder:p})})}},multiPass:!0,autocomplete:"(at-|lt-|)$breakpoints:"};var D=(e,t,r)=>{let n=e?new RegExp(`^${t}(?:-\\[(.+?)\\])[:-]`):new RegExp(`^${t}(?:-\\[(.+?)\\])?[:-]`);return{name:`combinator:${t}`,match:o=>{let i=o.match(n);if(i)return{matcher:o.slice(i[0].length),selector:s=>r.replace("&&-s",s).replace("&&-c",i[1]??"*")}}}},cn=[D(!1,"all","&&-s &&-c"),D(!1,"children","&&-s>&&-c"),D(!1,"next","&&-s+&&-c"),D(!1,"sibling","&&-s+&&-c"),D(!1,"siblings","&&-s~&&-c"),D(!0,"group","&&-c &&-s"),D(!0,"parent","&&-c>&&-s"),D(!0,"previous","&&-c+&&-s"),D(!0,"peer","&&-c~&&-s")];var ln=oe("print","@media print"),fn={name:"media",match(e,{theme:t}){var n;let r=e.match(/^media-([_\d\w]+)[:-]/);if(r){let o=((n=t.media)==null?void 0:n[r[1]])??`(--${r[1]})`;return{matcher:e.slice(r[0].length),handle:(i,s)=>s({...i,parent:`${i.parent?`${i.parent} $$ `:""}@media ${o}`})}}},multiPass:!0};var un=(e={})=>(e==null?void 0:e.dark)==="class"?[K("dark",t=>({prefix:`.dark $$ ${t.prefix}`})),K("light",t=>({prefix:`.light $$ ${t.prefix}`}))]:[oe("dark","@media (prefers-color-scheme: dark)"),oe("light","@media (prefers-color-scheme: light)")];var pn=[K("rtl",e=>({prefix:`[dir="rtl"] $$ ${e.prefix}`})),K("ltr",e=>({prefix:`[dir="ltr"] $$ ${e.prefix}`}))];var mn={name:"selector",match(e){let t=e.match(/^selector-\[(.+?)\][:-]/);if(t)return{matcher:e.slice(t[0].length),selector:()=>t[1]}}},dn={name:"layer",match(e){let t=e.match(/^layer-([_\d\w]+)[:-]/);if(t)return{matcher:e.slice(t[0].length),handle:(r,n)=>n({...r,parent:`${r.parent?`${r.parent} $$ `:""}@layer ${t[1]}`})}}},hn={name:"uno-layer",match(e){let t=e.match(/^uno-layer-([_\d\w]+)[:-]/);if(t)return{matcher:e.slice(t[0].length),layer:t[1]}}},gn={name:"scope",match(e){let t=e.match(/^scope-([_\d\w]+)[:-]/);if(t)return{matcher:e.slice(t[0].length),selector:r=>`.${t[1]} $$ ${r}`}}},xn={name:"variables",match(e){let t=e.match(/^(\[.+?\]):/);if(t){let r=c.bracket(t[1])??"";return{matcher:e.slice(t[0].length),handle(n,o){let i=r.startsWith("@")?{parent:`${n.parent?`${n.parent} $$ `:""}${r}`}:{selector:r.replace(/&/g,n.selector)};return o({...n,...i})}}}},multiPass:!0};var bn=/[0-9.]+(?:[a-z]+|%)?/,Fo=[/opacity|color|flex/],yn={name:"negative",match(e){if(!!e.startsWith("-"))return{matcher:e.slice(1),body:t=>{if(t.find(n=>n[0]===Et))return;let r=!1;return t.forEach(n=>{var i;let o=(i=n[1])==null?void 0:i.toString();!o||o==="0"||Fo.some(s=>n[0].match(s))||bn.test(o)&&(n[1]=o.replace(bn,s=>`-${s}`),r=!0)}),r?t:[]}}}};var $n={name:"important",match(e){let t,r=e.match(/^(important[:-]|!)/);if(r?t=e.slice(r[0].length):e.endsWith("!")&&(t=e.slice(0,-1)),t)return{matcher:t,body:n=>(n.forEach(o=>{o[1]&&(o[1]+=" !important")}),n)}}};var de=Object.fromEntries([["first-letter","::first-letter"],["first-line","::first-line"],"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",["placeholder","::placeholder"],["before","::before"],["after","::after"],["selection","::selection"],["marker","::marker"],["file","::file-selector-button"]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),he=Object.fromEntries([["backdrop","::backdrop"]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),_o=["not","is","where","has"],Je=Object.entries(de).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).join("|"),Qe=Object.entries(he).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).join("|"),me=_o.join("|"),vn=e=>{if(e==="active")return 1},Te=(e,t,r)=>{let n=new RegExp(`${B(t)}:`),o=new RegExp(`^${e}-((?:(${me})-)?(${Je}))[:-]`),i=new RegExp(`^${e}-((?:(${me})-)?(${Qe}))[:]`);return{name:`pseudo:${e}`,match(s){let a=s.match(o)||s.match(i);if(a){let l=de[a[3]]||he[a[3]]||`:${a[3]}`;return a[2]&&(l=`:${a[2]}(${l})`),{matcher:s.slice(a[0].length),handle:(f,m)=>m({...f,prefix:n.test(f.prefix)?f.prefix.replace(n,`${t}${l}:`):`${t}${l}${r}${f.prefix}`,sort:vn(a[3])})}}}}},wn=Object.entries(de).map(([e])=>e).join("|"),Wo=Object.entries(he).map(([e])=>e).join("|"),Lo=new RegExp(`^(${wn})[:-]`),Do=new RegExp(`^(${Wo})[:]`),Sn={name:"pseudo",match:e=>{let t=e.match(Lo)||e.match(Do);if(t){let r=de[t[1]]||he[t[1]]||`:${t[1]}`;return{matcher:e.slice(t[0].length),handle:(n,o)=>{let i=r.startsWith("::")?{pseudo:`${n.pseudo}${r}`}:{selector:`${n.selector}${r}`};return o({...n,...i,sort:vn(t[1])})}}}},multiPass:!0,autocomplete:`(${wn}):`},Bo=new RegExp(`^(${me})-(${Je})[:-]`),No=new RegExp(`^(${me})-(${Qe})[:]`),kn={match:e=>{let t=e.match(Bo)||e.match(No);if(t){let r=t[1],n=de[t[2]]||he[t[2]]||`:${t[2]}`;return{matcher:e.slice(t[0].length),selector:o=>`${o}:${r}(${n})`}}},multiPass:!0,autocomplete:`(${me})-(${Je}|${Qe}):`},Cn=(e={})=>{let t=!!(e!=null&&e.attributifyPseudo);return[{...Te("group",t?'[group=""]':".group"," "),multiPass:!0},{...Te("peer",t?'[peer=""]':".peer","~"),multiPass:!0},{...Te("parent",t?'[parent=""]':".parent",">"),multiPass:!0},{...Te("previous",t?'[previous=""]':".previous","+"),multiPass:!0}]},Ho=/(part-\[(.+)]:)(.+)/,Rn={match:e=>{let t=e.match(Ho);if(t){let r=`part(${t[2]})`;return{matcher:e.slice(t[1].length),selector:n=>`${n}::${r}`}}},multiPass:!0};var En=e=>[xn,dn,mn,hn,yn,$n,ln,fn,an,...cn,Sn,kn,...Cn(e),Rn,...un(e),...pn,gn];var Ko=(e={})=>(e.dark=e.dark??"class",e.attributifyPseudo=e.attributifyPseudo??!1,{name:"@unocss/preset-mini",theme:on,rules:Wr,variants:En(e),options:e,postprocess:e.variablePrefix&&e.variablePrefix!=="un-"?Io(e.variablePrefix):void 0,preflights:yt}),Tn=Ko;function Io(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 et=/^(?!\[(?:[^:]+):(?:.+)\]$)((?:.+:)?!?)?(.*)$/,jn=(e={})=>{let t=e.prefix??"un-",r=e.prefixedOnly??!1,n=e.trueToNonValued??!1;return{name:"attributify",match(o){let i=st(o);if(!i)return;let s=i[1];if(s.startsWith(t))s=s.slice(t.length);else if(r)return;let a=i[2],[,l="",f=a]=a.match(et)||[];return f==="~"||n&&f==="true"||!f?`${l}${s}`:`${l}${s}-${f}`}}};var qo=/(<\w[\w:\.$-]*\s)((?:'[^>]*?'|"[^>]*?"|`[^>]*?`|\{[^>]*?\}|[^>]*?)*)/g,Go=/([?]|(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:%-]+)(?:=("[^"]*|'[^']*))?/g,An=/[\s'"`;>]+/,zn={name:"attributify",extract:({content:e,cursor:t})=>{let r=e.matchAll(qo),n,o=0;for(let b of r){let[,T,v]=b,w=b.index+T.length;if(t>w&&t<=w+v.length){o=w,n=v;break}}if(!n)return null;let i=n.matchAll(Go),s=0,a,l;for(let b of i){let[T,v,w]=b,x=o+b.index;if(t>x&&t<=x+T.length){s=x,a=v,l=w==null?void 0:w.slice(1);break}}if(!a||a==="class"||a==="className"||a===":class")return null;if(l===void 0)return{extracted:a,resolveReplacement(b){return{start:s,end:s+a.length,replacement:b}}};let f=s+a.length+2,m=An.exec(l),p=0,h;for(;m;){let[b]=m;if(t>f+p&&t<=f+p+m.index){h=l.slice(p,p+m.index);break}p+=m.index+b.length,m=An.exec(l.slice(p))}h===void 0&&(h=l.slice(p));let[,u="",g]=h.match(et)||[];return{extracted:`${u}${a}-${g}`,transformSuggestions(b){return b.filter(T=>T.startsWith(`${u}${a}-`)).map(T=>u+T.slice(u.length+a.length+1))},resolveReplacement(b){return{start:p+f,end:p+f+h.length,replacement:u+b.slice(u.length+a.length+1)}}}}};var Zo=["v-bind:",":"],Vn=/[\s'"`;]+/g,Xo=/<\w(?=.*>)[\w:\.$-]*\s((?:['"`\{].*?['"`\}]|.*?)*?)>/gs,Yo=/([?]|(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:!%-]+)(?:=(["'])([^\2]*?)\2)?/g,Pn=e=>{let t=(e==null?void 0:e.ignoreAttributes)??[],r=(e==null?void 0:e.nonValuedAttribute)??!0,n=(e==null?void 0:e.trueToNonValued)??!1;return{name:"attributify",extract({code:o}){let i=Array.from(o.matchAll(Xo)).flatMap(s=>Array.from((s[1]||"").matchAll(Yo))).flatMap(([,s,a,l])=>{if(t.includes(s))return[];for(let f of Zo)if(s.startsWith(f)){s=s.slice(f.length);break}if(!l){if(Q(s)&&r!==!1){let f=[`[${s}=""]`];return n&&f.push(`[${s}="true"]`),f}return[]}return["class","className"].includes(s)?l.split(Vn).filter(Q):l.split(Vn).filter(Boolean).map(f=>`[${s}~="${f}"]`)});return new Set(i)}}};var Jo=(e={})=>{e.strict=e.strict??!1,e.prefix=e.prefix??"un-",e.prefixedOnly=e.prefixedOnly??!1,e.nonValuedAttribute=e.nonValuedAttribute??!0,e.ignoreAttributes=e.ignoreAttributes??[];let t=[jn(e)],r=[Pn(e)],n=[zn];return e.strict||r.unshift(ee),{name:"@unocss/preset-attributify",variants:t,extractors:r,options:e,autocomplete:{extractors:n}}},On=Jo;var Qo=e=>e.replace(/-(\w)/g,(t,r)=>r?r.toUpperCase():""),Mn=e=>e.charAt(0).toUpperCase()+e.slice(1),Un=e=>e.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase(),Fn=["Webkit","Moz","ms"];function _n(e){let t={};function r(n){let o=t[n];if(o)return o;let i=Qo(n);if(i!=="filter"&&i in e)return t[n]=Un(i);i=Mn(i);for(let s=0;s<Fn.length;s++){let a=`${Fn[s]}${i}`;if(a in e)return t[n]=Un(Mn(a))}return n}return({entries:n})=>n.forEach(o=>{o[0].startsWith("--")||(o[0]=r(o[0]))})}function tt(e={}){var k,j;if(typeof window>"u"){console.warn("@unocss/runtime been used in non-browser environment, skipped.");return}let t=window.__unocss||{},r=t==null?void 0:t.runtime,n=Object.assign(e.defaults||{},r);if(r!=null&&r.autoPrefix){let d=n.postprocess;d||(d=[]),Array.isArray(d)||(d=[d]),d.unshift(_n(document.createElement("div").style)),n.postprocess=d}(k=r==null?void 0:r.configResolved)==null||k.call(r,t,n);let o,i=!0,s,a=xt(t,n),l=new Set,f,m=[],p=()=>new Promise(d=>{m.push(d),f!=null&&clearTimeout(f),f=setTimeout(()=>u().then(()=>{let R=m;m=[],R.forEach(z=>z())}),0)});function h(d=document.body){if(d.nodeType!==1)return;let R=d;R.hasAttribute("un-cloak")&&R.removeAttribute("un-cloak"),R.querySelectorAll("[un-cloak]").forEach(z=>{z.removeAttribute("un-cloak")})}async function u(){let d=await a.generate(l);o||(o=document.createElement("style"),document.documentElement.prepend(o)),o.innerHTML=d.css,l=d.matched}async function g(d){let R=l.size;await a.applyExtractors(d,void 0,l),R!==l.size&&await p()}async function b(){let d=document.body&&document.body.outerHTML;d&&(await g(d),h())}let T=new MutationObserver(d=>{i||d.forEach(async R=>{if(R.target.nodeType!==1)return;let z=R.target;if(z!==o)if(R.type==="childList")R.addedNodes.forEach(async S=>{if(S.nodeType!==1)return;let C=S;s&&!s(C)||(await g(C.outerHTML),h(C))});else{if(s&&!s(z))return;if(R.attributeName!=="un-cloak"){let S=Array.from(z.attributes).map(A=>A.value?`${A.name}="${A.value}"`:A.name).join(" "),C=`<${z.tagName.toLowerCase()} ${S}>`;await g(C)}z.hasAttribute("un-cloak")&&z.removeAttribute("un-cloak")}})}),v=!1;function w(){if(v)return;let d=document.documentElement||document.body;!d||(T.observe(d,{childList:!0,subtree:!0,attributes:!0}),v=!0)}function x(){b(),w()}function y(){document.readyState==="loading"?window.addEventListener("DOMContentLoaded",x):x()}let $=window.__unocss_runtime=window.__unocss_runtime={version:a.version,uno:a,async extract(d){typeof d!="string"&&(d.forEach(R=>l.add(R)),d=""),await g(d)},extractAll:b,inspect(d){s=d},toggleObserver(d){d===void 0?i=!i:i=!!d,!v&&!i&&y()}};((j=r==null?void 0:r.ready)==null?void 0:j.call(r,$))!==!1&&(i=!1,y())}tt({defaults:{presets:[Tn(),On()]}});})();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/runtime",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.41.0",
|
|
4
4
|
"description": "CSS-in-JS Runtime for UnoCSS",
|
|
5
5
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -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.41.0",
|
|
38
|
+
"@unocss/preset-attributify": "0.41.0",
|
|
39
|
+
"@unocss/preset-uno": "0.41.0"
|
|
40
40
|
},
|
|
41
41
|
"scripts": {
|
|
42
42
|
"build": "pnpm run build:node && pnpm run build:cdn",
|