@unocss/runtime 0.20.1 → 0.20.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/attributify.global.js +4 -4
- package/core.global.js +1 -1
- package/mini.global.js +3 -3
- package/package.json +4 -4
- package/uno.global.js +4 -4
package/mini.global.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
(()=>{var $e=Object.defineProperty,
|
|
2
|
-
`,f=new Set(["default"]),d=new Set,w=new Map,$=(u,g)=>{var m;this._cache.set(u,g),d.add(u);for(let h of g){let C=h[3]||"";w.has(C)||w.set(C,[]),w.get(C).push(h),((m=h[4])==null?void 0:m.layer)&&f.add(h[4].layer)}},v=u=>{this.blocked.add(u),this._cache.set(u,null)};await Promise.all(Array.from(a).map(async u=>{var z;if(d.has(u)||this.blocked.has(u))return;if(this._cache.has(u)){let b=this._cache.get(u);b&&$(u,b);return}let g=u;for(let b of this.config.preprocess)g=b(u);if(this.isBlocked(g))return v(g);let m=this.matchVariants(u,g);if(!m||this.isBlocked(m[1]))return v(u);let h={rawSelector:u,currentSelector:m[1],theme:this.config.theme,generator:this,variantHandlers:m[2],constructCSS:(...b)=>this.constructCustomCSS(h,...b),options:this.config.options},C=this.expandShortcut(m[1],h);if(C){let b=await this.stringifyShortcuts(m,h,C[0],C[1]);if(b==null?void 0:b.length)return $(u,b)}else{let b=(z=await this.parseUtil(m,h))==null?void 0:z.map(S=>this.stringifyUtil(S)).filter(Pe);if(b==null?void 0:b.length)return $(u,b)}this._cache.set(u,null)})),o&&this.config.preflights.forEach(u=>{u.layer&&f.add(u.layer)});let p={},y=this.config.sortLayers(Array.from(f).sort((u,g)=>{var m,h;return((m=this.config.layers[u])!=null?m:0)-((h=this.config.layers[g])!=null?h:0)||u.localeCompare(g)})),x=u=>{if(p[u])return p[u];let g=Array.from(w).sort((m,h)=>{var b;let C=this.parentOrders.get(m[0]),z=this.parentOrders.get(h[0]);return C!==void 0&&z!==void 0?C-z:(b=m[0])==null?void 0:b.localeCompare(h[0]||"")}).map(([m,h])=>{let C=h.length,z=h.filter(S=>{var V;return(((V=S[4])==null?void 0:V.layer)||"default")===u}).sort((S,V)=>{var K;return S[0]-V[0]||((K=S[1])==null?void 0:K.localeCompare(V[1]||""))||0}).map(S=>[S[1]?Gr(S[1],n):S[1],S[2]]);if(!z.length)return;let b=z.reverse().map(([S,V],K)=>{if(S&&this.config.mergeSelectors)for(let Q=K+1;Q<C;Q++){let F=z[Q];if(F&&F[0]&&F[1]===V)return F[0]=`${F[0]},${S}`,null}return S?`${S}{${V}}`:V}).filter(Boolean).reverse().join(l);return m?`${m}{${l}${b}${l}}`:b}).filter(Boolean).join(l);return o&&(g=[...this.config.preflights.filter(m=>(m.layer||"default")===u).map(m=>m.getCSS()).filter(Boolean),g].join(l)),p[u]=!s&&g?`/* layer: ${u} */${l}${g}`:g},P=(u=y,g)=>u.filter(m=>!(g==null?void 0:g.includes(m))).map(m=>x(m)||"").filter(Boolean).join(l);return{get css(){return P()},layers:y,getLayers:P,getLayer:x,matched:d}}matchVariants(t,r){let n=new Set,o=[],i=r||t,s=!1,a={rawSelector:t,theme:this.config.theme,generator:this,options:this.config.options};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}),f)){i=f.matcher,Array.isArray(f.parent)&&this.parentOrders.set(f.parent[0],f.parent[1]),o.push(f),n.add(l),s=!0;break}}if(!s)break;if(o.length>500)throw new Error(`Too many variants applied to "${t}"`)}return[t,i,o]}applyVariants(t,r=t[4],n=t[1]){let o=[...r].sort((a,l)=>(a.order||0)-(l.order||0)),i=o.reduce((a,l)=>{var f;return((f=l.body)==null?void 0:f.call(l,a))||a},t[2]),s={selector:o.reduce((a,l)=>{var f;return((f=l.selector)==null?void 0:f.call(l,a,i))||a},qr(n)),entries:i,parent:o.reduce((a,l)=>Array.isArray(l.parent)?l.parent[0]:l.parent||a,void 0)};for(let a of this.config.postprocess)a(s);return s}constructCustomCSS(t,r,n){r=D(r);let{selector:o,entries:i,parent:s}=this.applyVariants([0,n||t.rawSelector,r,void 0,t.variantHandlers]),a=`${o}{${B(i)}}`;return s?`${s}{${a}}`:a}async parseUtil(t,r,n=!1){var d,w;let[o,i,s]=typeof t=="string"?this.matchVariants(t):t,a=this.config.rulesStaticMap[i];if(a&&a[1]&&(n||!((d=a[2])==null?void 0:d.internal)))return[[a[0],o,D(a[1]),a[2],s]];r.variantHandlers=s;let{rulesDynamic:l,rulesSize:f}=this.config;for(let $=f;$>=0;$--){let v=l[$];if(!v||((w=v[2])==null?void 0:w.internal)&&!n)continue;let[p,y,x]=v,P=i.match(p);if(!P)continue;let u=await y(P,r);if(!u)continue;if(typeof u=="string")return[[$,u,x]];let g=Ce(u).filter(m=>m.length);if(g.length)return g.map(m=>[$,o,m,x,s])}}stringifyUtil(t){if(!t)return;if(oe(t))return[t[0],void 0,t[1],void 0,t[2]];let{selector:r,entries:n,parent:o}=this.applyVariants(t),i=B(n);if(!!i)return[t[0],r,i,o,t[3]]}expandShortcut(t,r,n=3){if(n===0)return;let o,i;for(let s of this.config.shortcuts)if(Te(s)){if(s[0]===t){o=o||s[2],i=s[1];break}}else{let a=t.match(s[0]);if(a&&(i=s[1](a,r)),i){o=o||s[2];break}}if(typeof i=="string"&&(i=je(i).split(/\s+/g)),!!i)return[i.flatMap(s=>{var a;return((a=this.expandShortcut(s,r,n-1))==null?void 0:a[0])||[s]}).filter(s=>s!==""),o]}async stringifyShortcuts(t,r,n,o={layer:this.config.shortcutsLayer}){let i=new ie,s=(await Promise.all(I(n).map(async f=>{let d=await this.parseUtil(f,r,!0);return d||Oe(`unmatched utility "${f}" in shortcut "${t[1]}"`),d||[]}))).flat(1).filter(Boolean).sort((f,d)=>f[0]-d[0]),[a,,l]=t;for(let f of s){if(oe(f))continue;let{selector:d,entries:w,parent:$}=this.applyVariants(f,[...f[4],...l],a),v=i.getFallback(d,$,[[],f[0]]);v[0].push(...w),f[0]>v[1]&&(v[1]=f[0])}return i.map(([f,d],w,$)=>{let v=B(f);if(v)return[d,w,v,$,o]}).filter(Boolean)}isBlocked(t){return!t||this.config.blocklist.some(r=>typeof r=="string"?r===t:r.test(t))}};function De(e,t){return new _e(e,t)}var Ne=/ \$\$ /,Ir=e=>e.match(Ne);function Gr(e,t){return Ir(e)?e.replace(Ne,t?` ${t} `:" "):t?`${t} ${e}`:e}function qr(e){return e.startsWith("[")?e.replace(/^\[(.+?)(~?=)"(.*)"\]$/,(t,r,n,o)=>`[${W(r)}${n}"${W(o)}"]`):`.${W(e)}`}var ce={};Ur(ce,{auto:()=>rn,bracket:()=>ln,cssvar:()=>fn,fraction:()=>cn,global:()=>pn,number:()=>sn,numberWithUnit:()=>tn,percent:()=>an,properties:()=>dn,px:()=>on,rem:()=>nn,time:()=>un});var Yr=["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"],Xr=["backround-position","left","right","top","bottom","object-position"],Zr=["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"],Jr=["stroke","filter","backdrop-filter","fill","mask","mask-size","mask-border","clip-path","clip"],Qr=[...Yr,...Xr,...Zr,...Jr],ae=/^(-?[0-9.]+)(px|pt|pc|rem|em|%|vh|vw|in|cm|mm|ex|ch|vmin|vmax)?$/i,en=/^(-?[0-9.]+)$/i,He=/^(px)$/i;function tn(e){let t=e.match(ae);if(!t)return;let[,,r]=t;if(r)return e}function rn(e){if(e==="auto"||e==="a")return"auto"}function nn(e){if(e.match(He))return`1${e}`;let t=e.match(ae);if(!t)return;let[,r,n]=t;if(n)return e;let o=parseFloat(r);if(!Number.isNaN(o))return`${o/4}rem`}function on(e){if(e.match(He))return`1${e}`;let t=e.match(ae);if(!t)return;let[,r,n]=t;if(n)return e;let o=parseFloat(r);if(!Number.isNaN(o))return`${o}px`}function sn(e){if(!en.test(e))return;let t=parseFloat(e);if(!Number.isNaN(t))return t}function an(e){e.endsWith("%")&&(e=e.slice(0,-1));let t=parseFloat(e);if(!Number.isNaN(t))return`${t/100}`}function cn(e){if(e==="full")return"100%";let[t,r]=e.split("/"),n=parseFloat(t)/parseFloat(r);if(!Number.isNaN(n))return`${n*100}%`}function ln(e){if(e&&e[0]==="["&&e[e.length-1]==="]")return e.slice(1,-1).replace(/_/g," ").replace(/calc\((.*)/g,t=>t.replace(/(-?\d*\.?\d(?!\b-.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 "))}function fn(e){if(e.startsWith("$"))return`var(--${e.slice(1)})`}function un(e){let t=Number(e.replace(/(s|ms)$/,""));if(!isNaN(t))return/(s|ms)$/.test(e)?e:`${e}ms`}function pn(e){if(["inherit","initial","revert","unset"].includes(e))return e}function dn(e){if(e!==void 0){for(let t of e.split(","))if(!Qr.includes(t))return;return e}}var c=Me(ce);var A=(e,t)=>{let r=new RegExp(`^${_(e)}[:-]`);return n=>{let o=n.match(r);if(o)return{matcher:n.slice(o[0].length),selector:t}}},L=(e,t)=>{let r=new RegExp(`^${_(e)}[:-]`);return n=>{let o=n.match(r);if(o)return{matcher:n.slice(o[0].length),parent:t}}};function Le(e){return e.charAt(0).toUpperCase()+e.slice(1)}var U=e=>([t,r,n])=>{let o=c.bracket.auto.rem.fraction.cssvar(n);if(o!==void 0)return E[r].map(i=>[`${e}${i}`,o])},le=(e,t)=>{var r;return(r=e.colors)==null?void 0:r[t.join("-").replace(/(-[a-z])/g,n=>n.slice(1).toUpperCase())]},M=(e,t)=>{let[r,n]=e.split(/(?:\/|:)/),o=r.replace(/([a-z])([0-9])/g,"$1-$2").split(/-/g),[i]=o;if(!i)return;let s,a=c.bracket(r),l=a||r;l.startsWith("#")?s=l.slice(1):l.startsWith("hex-")?s=l.slice(4):r.startsWith("$")&&(s=c.cssvar(r)),s=s||a;let f="DEFAULT";if(!s){let d,[w]=o.slice(-1);w.match(/^\d+$/)?(f=w,d=le(t,o.slice(0,-1))):(d=le(t,o),d||([,f=f]=o,d=le(t,[i]))),typeof d=="string"?s=d:f&&d&&(s=d[f])}return{opacity:n,name:i,no:f,color:s,rgba:Ae(s)}},R=(e,t)=>([,r],{theme:n})=>{var f;let o=M(r,n);if(!o)return;let{opacity:i,color:s,rgba:a}=o;if(!s)return;let l=i?i[0]==="["?c.bracket.percent(i):parseFloat(i)/100:a==null?void 0:a[3];return a?l!=null&&!Number.isNaN(l)?(a[3]=typeof l=="string"&&!l.includes("%")?parseFloat(l):l,{[e]:`rgba(${a.join(",")})`}):{[`--un-${t}-opacity`]:(f=i&&c.cssvar(i))!=null?f:1,[e]:`rgba(${a.slice(0,3).join(",")},var(--un-${t}-opacity))`}:{[e]:s.replace("%alpha",`${l||1}`)}};var Ke=[[/^outline-(?:width-|size-)?(.+)$/,([,e])=>({"outline-width":c.bracket.fraction.auto.rem(e)})],[/^outline-(?:color-)?(.+)$/,R("outline-color","outline-color")],[/^outline-offset-(.+)$/,([,e])=>({"outline-offset":c.bracket.fraction.auto.rem(e)})],["outline",{"outline-style":"solid"}],[/^outline-(auto|dotted|dashed|solid|double|groove|ridge|inset|outset|inherit|initial|revert|unset)$/,([,e])=>({"outline-style":e})],["outline-none",{outline:"2px solid transparent","outline-offset":"2px"}]],We=[["appearance-none",{appearance:"none","-webkit-appearance":"none"}]],Be=[[/^will-change-(.+)/,([,e])=>({"will-change":c.properties.global(e)})]];var Ie=[[/^border$/,fe],[/^(?:border|b)()-(.+)$/,fe],[/^(?:border|b)-([^-]+)(?:-(.+))?$/,fe],[/^(?:border|b)()-size-(.+)$/,ue],[/^(?:border|b)-([^-]+)-size-(.+)$/,ue],[/^(?:border|b)()-(.+)$/,Ge],[/^(?:border|b)-([^-]+)(?:-(.+))?$/,Ge],[/^(?:border|b)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-border-opacity":c.bracket.percent(e)})],[/^(?:border|b)-([^-]+)-op(?:acity)?-?(.+)$/,([,e,t])=>{let r=c.bracket.percent(t),n=E[e];if(r!==void 0&&n)return n.map(o=>[`--un-border${o}-opacity`,r])}],[/^(?:border-)?(?:rounded|rd)$/,pe],[/^(?:border-)?(?:rounded|rd)(?:-(.+))?$/,pe],[/^(?:border-)?(?:rounded|rd)(?:-([^-]+))?(?:-(.+))?$/,pe],["border-solid",{"border-style":"solid"}],["border-dashed",{"border-style":"dashed"}],["border-dotted",{"border-style":"dotted"}],["border-double",{"border-style":"double"}],["border-none",{"border-style":"none"}]],mn=(e,{theme:t})=>{var r;return e!==void 0&&!!((r=M(e,t))==null?void 0:r.color)},gn=e=>([,t],{theme:r})=>{var l,f;let n=M(t,r);if(!n)return;let{opacity:o,color:i,rgba:s}=n;if(!i)return;let a=o?o[0]==="["?c.bracket.percent(o):parseFloat(o)/100:s==null?void 0:s[3];return s?a!=null&&!Number.isNaN(a)?(s[3]=typeof a=="string"&&!a.includes("%")?parseFloat(a):a,{[`border${e}-color`]:`rgba(${s.join(",")})`}):e===""?{"--un-border-opacity":(l=o&&c.cssvar(o))!=null?l:1,[`border${e}-color`]:`rgba(${s.slice(0,3).join(",")},var(--un-border${e}-opacity))`}:{"--un-border-opacity":(f=o&&c.cssvar(o))!=null?f:1,[`--un-border${e}-opacity`]:"var(--un-border-opacity)",[`border${e}-color`]:`rgba(${s.slice(0,3).join(",")},var(--un-border${e}-opacity))`}:{[`border${e}-color`]:i.replace("%alpha",`${a||1}`)}};function fe(e){let t=ue(e);if(t)return[...t,["border-style","solid"]]}function ue([,e,t]){let[r,n="1"]=E[e]?[e,t]:["",e],o=c.bracket.px(n);if(o!==void 0)return E[r].map(i=>[`border${i}-width`,o])}function Ge([,e,t],r){if(mn(t,r))return Object.assign({},...E[E[e]?e:""].map(n=>gn(n)(["",t],r)))}function pe([,e,t],{theme:r}){var s;let[n,o="DEFAULT"]=ee[e]?[e,t]:["",e],i=((s=r.borderRadius)==null?void 0:s[o])||c.auto.rem.fraction.bracket.cssvar(o);if(i!==void 0)return ee[n].map(a=>[`border${a}-radius`,i])}var qe=[[/^op(?:acity)?-?(.+)$/,([,e])=>({opacity:c.bracket.percent.cssvar(e)})]],Ye=[[/^(?:text|color|c)-(.+)$/,R("color","text")],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-opacity":c.bracket.percent.cssvar(e)})]],Xe=[[/^bg-(.+)$/,R("background-color","bg")],[/^bg-op(?:acity)?-?(.+)$/,([,e])=>({"--un-bg-opacity":c.bracket.percent(e)})]];var Ze=e=>c.properties(e)||(e==="all"?e:void 0),Je=[[/^transition(?:-([a-z-]+(?:,[a-z-]+)*))?(?:-(\d+))?$/,([,e="all",t="150"])=>{let r=Ze(e);if(r)return{"transition-property":r,"transition-timing-function":"cubic-bezier(0.4,0,0.2,1)","transition-duration":`${t}ms`}}],[/^duration-(\d+)$/,([,e="150"])=>({"transition-duration":`${e}ms`})],["ease",{"transition-timing-function":"cubic-bezier(0.4, 0, 0.2, 1)"}],["ease-linear",{"transition-timing-function":"linear"}],["ease-in",{"transition-timing-function":"cubic-bezier(0.4, 0, 1, 1)"}],["ease-out",{"transition-timing-function":"cubic-bezier(0, 0, 0.2, 1)"}],["ease-in-out",{"transition-timing-function":"cubic-bezier(0.4, 0, 0.2, 1)"}],[/^transition-delay-(\d+)$/,([,e])=>({"transition-delay":`${e}ms`})],[/^transition-duration-(\d+)$/,([,e])=>({"transition-duration":`${e}ms`})],[/^(?:transition-)?property-(.+)$/,([,e])=>({"transition-property":c.global(e)||Ze(e)})],["transition-property-none",{"transition-property":"none"}],["property-none",{"transition-property":"none"}],["transition-none",{transition:"none"}]];var Qe=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],["flex-1",{flex:"1 1 0%"}],["flex-auto",{flex:"1 1 auto"}],["flex-initial",{flex:"0 1 auto"}],["flex-none",{flex:"none"}],[/^flex-(\[.+\])$/,([,e])=>({flex:c.bracket(e).replace(/\d+\/\d+/,t=>c.fraction(t))})],["flex-shrink",{"flex-shrink":1}],["flex-shrink-0",{"flex-shrink":0}],["flex-grow",{"flex-grow":1}],["flex-grow-0",{"flex-grow":0}],["flex-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 hn={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},et=[[/^font-(\w+)$/,([,e],{theme:t})=>{var r;return{"font-family":(r=t.fontFamily)==null?void 0:r[e]}}],[/^text-(.+)$/,([,e="base"],{theme:t})=>{var o;let r=c.bracket.auto.rem(e);if(r)return{"font-size":r};let n=T((o=t.fontSize)==null?void 0:o[e]);if(n==null?void 0:n[0]){let[i,s]=n;return{"font-size":i,"line-height":s}}}],[/^text-size-(.+)$/,([,e])=>({"font-size":c.bracket.auto.rem(e)})],[/^(?:font|fw)-?([^-]+)$/,([,e])=>({"font-weight":hn[e]||c.number(e)})],[/^(?:leading|lh)-([^-]+)$/,([,e],{theme:t})=>{var r;return{"line-height":((r=t.lineHeight)==null?void 0:r[e])||c.bracket.auto.rem(e)}}],[/^tracking-([^-]+)$/,([,e],{theme:t})=>{var r;return{"letter-spacing":((r=t.letterSpacing)==null?void 0:r[e])||c.bracket.auto.rem(e)}}],[/^word-spacing-([^-]+)$/,([,e],{theme:t})=>{var r;return{"word-spacing":((r=t.wordSpacing)==null?void 0:r[e])||c.bracket.auto.rem(e)}}]],tt=[[/^tab-?([^-]*)$/,([,e])=>{let t=c.bracket.global.number(e||"4");if(t!=null)return{"-moz-tab-size":t,"-o-tab-size":t,"tab-size":t}}]],rt=[[/^indent(?:-(.+))?$/,([,e],{theme:t})=>{var r;return{"text-indent":((r=t.textIndent)==null?void 0:r[e||"DEFAULT"])||c.bracket.cssvar.fraction.auto.rem(e)}}]],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)}}],[/^text-stroke-(.+)$/,R("-webkit-text-stroke-color","text-stroke")],[/^text-stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-stroke-opacity":c.bracket.percent(e)})]],ot=[[/^text-shadow(?:-(.+))?$/,([,e],{theme:t})=>{var r;return{"text-shadow":((r=t.textShadow)==null?void 0:r[e||"DEFAULT"])||c.bracket.cssvar(e)}}]];var it={"":"","x-":"column-","y-":"row-"},st=[[/^(?:flex-|grid-)?gap-(x-|y-)?([^-]+)$/,([,e="",t])=>{let r=c.bracket.auto.rem(t);if(r!=null)return{[`grid-${it[e]}gap`]:r,[`${it[e]}gap`]:r}}]];var xn=(e,t)=>{var r;return T(((r=t.fontSize)==null?void 0:r[e])||c.bracket.auto.rem(e))[0]},at=(e,t)=>e==="min"?"min-content":e==="max"?"max-content":e==="fr"?"minmax(0,1fr)":xn(e,t),ct=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?col-start-([\w.-]+)$/,([,e])=>({"grid-column-start":e})],[/^(?:grid-)?col-end-([\w.]+)$/,([,e])=>({"grid-column-end":e})],[/^(?:grid-)?row-start-([\w.-]+)$/,([,e])=>({"grid-row-start":e})],[/^(?:grid-)?row-end-([\w.-]+)$/,([,e])=>({"grid-row-end":e})],[/^(?:grid-)?(row|col)-(.+)$/,([,e,t])=>{let r=e==="row"?"grid-row":"grid-column",n=c.bracket(t);if(n)return{[r]:n};let o=t.split("-");if(o.length===1&&o[0]==="auto")return{[r]:o[0]};if(o[0]==="span"){if(o[1]==="full")return{[r]:"1/-1"};if(n=c.number.bracket(o[1]),n)return{[r]:`span ${n}/span ${n}`}}}],[/^(?:grid-)?auto-cols-([\w.-]+)$/,([,e],{theme:t})=>({"grid-auto-columns":at(e,t)})],[/^(?:grid-)?auto-flow-([\w.-]+)$/,([,e])=>({"grid-auto-flow":e.replace("col","column").split("-").join(" ")})],[/^(?:grid-)?auto-rows-([\w.-]+)$/,([,e],{theme:t})=>({"grid-auto-rows":at(e,t)})],[/^grid-cols-(.+)$/,([,e])=>({"grid-template-columns":c.bracket(e)})],[/^grid-rows-(.+)$/,([,e])=>({"grid-template-rows":c.bracket(e)})],[/^grid-cols-minmax-([\w.-]+)$/,([,e])=>({"grid-template-columns":`repeat(auto-fill,minmax(${e},1fr))`})],[/^grid-rows-minmax-([\w.-]+)$/,([,e])=>({"grid-template-rows":`repeat(auto-fill,minmax(${e},1fr))`})],[/^grid-cols-(\d+)$/,([,e])=>({"grid-template-columns":`repeat(${e},minmax(0,1fr))`})],[/^grid-rows-(\d+)$/,([,e])=>({"grid-template-rows":`repeat(${e},minmax(0,1fr))`})]];var lt=["auto","hidden","visible","scroll"],ft=[[/^(?:overflow|of)-(.+)$/,([,e])=>lt.includes(e)?{overflow:e}:void 0],[/^(?:overflow|of)-([xy])-(.+)$/,([,e,t])=>lt.includes(t)?{[`overflow-${e}`]:t}:void 0]];var G=["auto","start","end","center","stretch"],de=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,e])=>({position:e})],[/^(?:position-|pos-)?(static)$/,([,e])=>({position:e})]],ut=[["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"}],...G.map(e=>[`justify-items-${e}`,{"justify-items":e}]),...G.map(e=>[`justify-self-${e}`,{"justify-self":e}])],pt=[[/^order-(.+)$/,([,e])=>({order:c.bracket.number(e)})],["order-first",{order:"-9999"}],["order-last",{order:"9999"}],["order-none",{order:"0"}]],dt=[["content-start",{"align-content":"flex-start"}],["content-end",{"align-content":"flex-end"}],["content-center",{"align-content":"center"}],["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"}]],mt=[["place-content-start",{"place-content":"start"}],["place-content-end",{"place-content":"end"}],["place-content-center",{"place-content":"center"}],["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"}],...G.map(e=>[`place-items-${e}`,{"place-items":e}]),...G.map(e=>[`place-self-${e}`,{"place-self":e}])];function gt(e){var t;return(t={auto:"auto",full:"100%"}[e])!=null?t:c.bracket.fraction.cssvar.auto.rem(e)}var ht=[[/^(?:position-|pos-)?(top|left|right|bottom|inset)-(.+)$/,([,e,t])=>({[e]:gt(t)})],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,([,e,t])=>{let r=gt(t);if(r!=null&&e in E)return E[e].map(n=>[n.slice(1),r])}]],xt=[["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"}]],bt=[["z-auto",{"z-index":"auto"}],[/^z-([^-]+)$/,([,e])=>({"z-index":c.number(e)})]],yt=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}]];var q="var(--un-empty,/*!*/ /*!*/)",wt=[["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"}]],$t=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}]],vt=[[/^cursor-(.+)$/,([,e])=>({cursor:e})]],St=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}]],Rt=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}]],kt=[["select-auto",{"user-select":"auto"}],["select-all",{"user-select":"all"}],["select-text",{"user-select":"text"}],["select-none",{"user-select":"none"}]],Ct=[[/^(?:whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap)$/,([,e])=>({"white-space":e})]],Et=[["content-empty",{content:'""'}]],Tt=[["break-normal",{"overflow-wrap":"normal","word-break":"normal"}],["break-word",{"overflow-wrap":"break-word"}],["break-all",{"word-break":"break-all"}]],At=[["truncate",{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}],["text-ellipsis",{"text-overflow":"ellipsis"}],["text-clip",{"text-overflow":"clip"}]],zt=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}]],Vt=[["italic",{"font-style":"italic"}],["not-italic",{"font-style":"normal"}]],Pt=[["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 jt=[[/^ring-?(.*)$/,([,e])=>{let t=c.px(e||"1");if(t)return{"--un-ring-inset":q,"--un-ring-offset-width":"0px","--un-ring-offset-color":"#fff","--un-ring-color":"rgba(59, 130, 246, .5)","--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(${t} + var(--un-ring-offset-width)) var(--un-ring-color)`,"box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow, 0 0 #0000)"}}],["ring-offset",{"--un-ring-offset-width":"1px"}],[/^ring-offset-(.+)$/,([,e])=>({"--un-ring-offset-width":c.px(e||"1")})],[/^ring-(.+)$/,R("--un-ring-color","ring")],[/^ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-opacity":c.bracket.percent(e)})],[/^ring-offset-(.+)$/,R("--un-ring-offset-color","ring-offset")],[/^ring-offset-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-offset-opacity":c.bracket.percent(e)})],["ring-inset",{"--un-ring-inset":"inset"}]];var bn=(e,t)=>{let r=M(e,t);if(!r)return;let{color:n,rgba:o}=r;if(!!n)return o?{"--un-shadow-color":`${o.slice(0,3).join(",")}`}:{"--un-shadow-color":n}},Ut=[[/^shadow-?(.*)$/,([,e],{theme:t})=>{var n;let r=(n=t.boxShadow)==null?void 0:n[e||"DEFAULT"];if(r)return{"--un-shadow-inset":q,"--un-shadow-color":"0,0,0","--un-shadow":r,"box-shadow":"var(--un-ring-offset-shadow, 0 0 #0000), var(--un-ring-shadow, 0 0 #0000), var(--un-shadow)"}}],[/^shadow-(.+)$/,([,e],{theme:t})=>bn(e,t)],["shadow-inset",{"--un-shadow-inset":"inset"}]];function Ot(e,t){return`${e?`${e}-`:""}${t==="h"?"height":"width"}`}function yn(e,t,r,n){var i;let o=`${t==="h"?"height":"width"}`;return e&&(o=`${e}${Le(o)}`),(i=r[o])==null?void 0:i[n]}var Mt=[[/^(?:(min|max)-)?(w|h)-(.+)$/,([,e,t,r],{theme:n})=>{let o=yn(e,t,n,r)||c.bracket.cssvar.fraction.auto.rem(r);if(o!=null)return{[Ot(e,t)]:o}}],[/^(?:(min|max)-)?(w)-screen-(.+)$/,([,e,t,r],{theme:n})=>{var i;let o=(i=n.breakpoints)==null?void 0:i[r];if(o!=null)return{[Ot(e,t)]:o}}]],Ft=[["aspect-ratio-auto",{"aspect-ratio":"auto"}],[/^aspect-ratio-(.+)$/,([,e])=>({"aspect-ratio":(/^\d+\/\d+$/.test(e)?e:null)||c.bracket.cssvar.number(e)})]];var _t=[[/^pa?()-?(-?.+)$/,U("padding")],[/^p-?([xy])-?(-?.+)$/,U("padding")],[/^p-?([rltbse])-?(-?.+)$/,U("padding")]],Dt=[[/^ma?()-?(-?.+)$/,U("margin")],[/^m-?([xy])-?(-?.+)$/,U("margin")],[/^m-?([rltbse])-?(-?.+)$/,U("margin")]];var Y="$$no-pseudo",X=Object.fromEntries(["any-link","link","visited","target","hover","active","focus-visible","focus-within","focus","autofill","enabled","disabled","read-only","read-write","placeholder-shown","default","checked","indeterminate","valid","invalid","required","optional","root","empty",["even-of-type","nth-of-type(even)"],["even","nth-child(even)"],["odd-of-type","nth-of-type(odd)"],["odd","nth-child(odd)"],"first-of-type",["first","first-child"],"last-of-type",["last","last-child"],"only-child","only-of-type"].map(T)),wn=["placeholder","before","after","first-letter","first-line","selection"],$n=["not","is","where","has"],vn=/(part-\[(.+)]:)(.+)/,Sn=new RegExp(`^(${wn.join("|")})[:-]`),me=Object.keys(X).join("|"),Nt=$n.join("|"),Rn=new RegExp(`^(${me})[:-]`),kn=new RegExp(`^(${Nt})-(${me})[:-]`);function Z(e){return!e.find(t=>t[0]===Y)||void 0}var Ht=(e,t,r)=>{let n=new RegExp(`^${e}-((?:(${Nt})-)?(${me}))[:-]`),o=new RegExp(`^${_(t)}:`);return i=>{let s=i.match(n);if(s){let a=X[s[3]]||s[3];return s[2]&&(a=`${s[2]}(:${a})`),{matcher:i.slice(s[1].length+e.length+2),selector:(l,f)=>Z(f)&&o.test(l)?l.replace(o,`${t}:${a}:`):`${t}:${a}${r}${l}`}}}},Lt=e=>{let t=e.match(Sn);if(t)return{matcher:e.slice(t[1].length+1),selector:r=>`${r}::${t[1]}`}},Kt={match:e=>{let t=e.match(Rn);if(t){let r=X[t[1]]||t[1];return{matcher:e.slice(t[1].length+1),selector:(n,o)=>Z(o)&&`${n}:${r}`}}},multiPass:!0},Wt={match:e=>{let t=e.match(kn);if(t){let r=t[1],n=X[t[2]]||t[2];return{matcher:e.slice(t[1].length+t[2].length+2),selector:(o,i)=>Z(i)&&`${o}:${r}(:${n})`}}},multiPass:!0},Bt={match:(e,{options:{attributifyPseudo:t}})=>{let r=Ht("group",t?'[group=""]':".group"," ")(e);if(r)return r;let n=Ht("peer",t?'[peer=""]':".peer","~")(e);if(n)return n},multiPass:!0},It={match:e=>{let t=e.match(vn);if(t){let r=`part(${t[2]})`;return{matcher:e.slice(t[1].length),selector:(n,o)=>Z(o)&&`${n}::${r}`}}},multiPass:!0};var Cn={transform:"rotate(var(--un-rotate)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z)) skewX(var(--un-skew-x)) skewY(var(--un-skew-y)) translate3d(var(--un-translate-x), var(--un-translate-y), var(--un-translate-z))",[Y]:""},Gt={transform:"rotate(var(--un-rotate)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z)) skewX(var(--un-skew-x)) skewY(var(--un-skew-y)) translateX(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z))",[Y]:""},O=k({"--un-rotate":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},Gt),qt=[["transform",O],[/^preserve-(3d|flat)$/,([,e])=>({"transform-style":e==="3d"?`preserve-${e}`:e})],[/^translate()-(.+)$/,Yt],[/^translate-([xyz])-(.+)$/,Yt],[/^scale()-(.+)$/,Xt],[/^scale-([xyz])-(.+)$/,Xt],[/^rotate-(.+)$/,Tn],[/^rotate-((?!\[)[^-]+?)(?:deg)?$/,En],[/^skew-([xy])-(.+)$/,zn],[/^skew-([xy])-((?!\[)[^-]+?)(?:deg)?$/,An],["transform-gpu",Cn],["transform-cpu",Gt],["transform-none",{transform:"none"}],["origin-center",{"transform-origin":"center"}],["origin-top",{"transform-origin":"top"}],["origin-top-right",{"transform-origin":"top right"}],["origin-right",{"transform-origin":"right"}],["origin-bottom-right",{"transform-origin":"bottom right"}],["origin-bottom",{"transform-origin":"bottom"}],["origin-bottom-left",{"transform-origin":"bottom left"}],["origin-left",{"transform-origin":"left"}],["origin-top-left",{"transform-origin":"top left"}]];function Yt([,e,t]){let r=c.bracket.fraction.auto.rem(t);if(r!=null)return[O,te[e].map(n=>[`--un-translate${n}`,r])]}function Xt([,e,t]){let r=c.bracket.fraction.percent(t);if(r!=null)return[O,te[e].map(n=>[`--un-scale${n}`,r])]}function En([,e]){let t=c.bracket.number(e);if(t!=null)return[O,{"--un-rotate":`${t}deg`}]}function Tn([,e]){let t=c.bracket(e);if(t!=null)return[O,{"--un-rotate":t}]}function An([,e,t]){let r=c.bracket.number(t);if(r!=null)return[O,{[`--un-skew-${e}`]:`${r}deg`}]}function zn([,e,t]){let r=c.bracket(t);if(r!=null)return[O,{[`--un-skew-${e}`]:r}]}var Vn={visible:"visibility",select:"user-select",vertical:"vertical-align",backface:"backface-visibility",whitespace:"white-space",break:"word-break",case:"text-transform",origin:"transform-origin","bg-opacity":"background-opacity",tab:"tab-size",underline:"text-decoration-thickness","underline-offset":"text-underline-offset","grid-cols":"grid-template-columns","grid-rows":"grid-template-rows","auto-flow":"grid-auto-flow","row-start":"grid-row-start","row-end":"grid-row-end",justify:"justify-content",content:"align-content",items:"align-items",self:"align-self",object:"object-fit"},Zt=[[/^(.+)-\$(.+)$/,([,e,t])=>{let r=Vn[e];if(r)return{[r]:`var(--${t})`}}]];var Jt=[[/^(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 Qt=[["underline",{"text-decoration":"underline"}],["line-through",{"text-decoration":"line-through"}],["decoration-underline",{"text-decoration":"underline"}],["decoration-line-through",{"text-decoration":"line-through"}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,([,e])=>({"text-decoration-thickness":c.bracket.px(e)})],[/^(?:underline|decoration)-(auto|from-font)$/,([,e])=>({"text-decoration-thickness":e})],[/^(?:underline|decoration)-(.+)$/,(e,t)=>{let r=R("text-decoration-color","line")(e,t);if(r)return k({"-webkit-text-decoration-color":r["text-decoration-color"]},r)}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-line-opacity":c.bracket.percent(e)})],[/^underline-offset-(.+)$/,([,e])=>({"text-underline-offset":c.auto.bracket.px(e)})],[/^(?:underline|decoration)-(solid|double|dotted|dashed|wavy|inherit|initial|revert|unset)$/,([,e])=>({"text-decoration-style":e})],["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];var er=[[/^fill-(.+)$/,R("fill","fill")],[/^fill-op(?:acity)?-?(.+)$/,([,e])=>({"--un-fill-opacity":c.bracket.percent(e)})],["fill-none",{fill:"none"}],[/^stroke-(?:size-|width-)?(.+)$/,([,e])=>({"stroke-width":c.bracket.fraction.px.number(e)})],[/^stroke-(.+)$/,R("stroke","stroke")],[/^stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-stroke-opacity":c.bracket.percent(e)})],["stroke-none",{stroke:"none"}]];var tr=[Zt,_t,Dt,wt,qe,Xe,er,Ie,Et,et,tt,rt,At,Qt,nt,ot,zt,ke,Ye,Vt,Pt,Ut,jt,Qe,ct,st,de,Mt,Ft,vt,$t,St,Rt,Re,kt,Ct,Tt,ft,Ke,We,de,pt,ut,dt,mt,ht,xt,bt,yt,Je,qt,Be,Jt].flat(1);var ge={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(ge).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 rr={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(",")},nr={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"]},or={DEFAULT:"1.5rem",xs:"0.5rem",sm:"1rem",md:"1.5rem",lg:"2rem",xl:"2.5rem","2xl":"3rem","3xl":"4rem"},ir={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},sr={DEFAULT:"0px 0px 1px rgb(0 0 0/20%), 0px 0px 1px rgb(1 0 5/10%)",sm:"1px 1px 3px rgb(36 37 47 / 25%)",md:"0px 1px 2px rgb(30 29 39 / 19%), 1px 2px 4px rgb(54 64 147 / 18%)",lg:"3px 3px 6px rgb(0 0 0 / 26%), 0 0 5px rgb(15 3 86 / 22%)",xl:"1px 1px 3px rgb(0 0 0 / 29%), 2px 4px 7px rgb(73 64 125 / 35%)",none:"none"},ar={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},he={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},cr=he;var lr={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},fr={DEFAULT:"0.25rem",none:"0px",sm:"0.125rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},ur={DEFAULT:"var(--un-shadow-inset) 0 1px 3px 0 rgba(var(--un-shadow-color), 0.1), var(--un-shadow-inset) 0 1px 2px 0 rgba(var(--un-shadow-color), 0.06)",sm:"var(--un-shadow-inset) 0 1px 2px 0 rgba(var(--un-shadow-color), 0.05)",md:"var(--un-shadow-inset) 0 4px 6px -1px rgba(var(--un-shadow-color), 0.1), var(--un-shadow-inset) 0 2px 4px -1px rgba(var(--un-shadow-color), 0.06)",lg:"var(--un-shadow-inset) 0 10px 15px -3px rgba(var(--un-shadow-color), 0.1), var(--un-shadow-inset) 0 4px 6px -2px rgba(var(--un-shadow-color), 0.05)",xl:"var(--un-shadow-inset) 0 20px 25px -5px rgba(var(--un-shadow-color), 0.1), var(--un-shadow-inset) 0 10px 10px -5px rgba(var(--un-shadow-color), 0.04)","2xl":"var(--un-shadow-inset) 0 25px 50px -12px rgba(var(--un-shadow-color), 0.25)",inner:"inset 0 2px 4px 0 rgba(var(--un-shadow-color), 0.06)",none:"none"};var pr={DEFAULT:"8px","0":"0",sm:"4px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},dr={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 J={xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",min:"min-content",max:"max-content",prose:"65ch"},mr=j(k({auto:"auto"},J),{screen:"100vw"}),xe=j(k({none:"none"},J),{screen:"100vw"}),gr=j(k({auto:"auto"},J),{screen:"100vh"}),be=j(k({none:"none"},J),{screen:"100vh"});var hr={width:mr,height:gr,maxWidth:xe,maxHeight:be,minWidth:xe,minHeight:be,colors:ge,fontFamily:rr,fontSize:nr,breakpoints:lr,borderRadius:fr,lineHeight:ar,letterSpacing:he,wordSpacing:cr,boxShadow:ur,textIndent:or,textShadow:sr,textStrokeWidth:ir,blur:pr,dropShadow:dr};var ye={},xr=(e,{theme:t})=>{let r=Object.entries(t.breakpoints||{}).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="min",d=1e3;return a.startsWith("lt-")?(f="max",d-=i+1):d+=i+1,a.startsWith("at-")&&i<r.length-1?{matcher:l,parent:[`@media (min-width: ${o}) and (max-width: ${r[i+1][1]})`,d]}:{matcher:l,parent:[`@media (${f}-width: ${o})`,d]}}};var br=[A("all",e=>`${e} *`),A("children",e=>`${e}>*`),A("next",e=>`${e}+*`),A("sibling",e=>`${e}+*`),A("siblings",e=>`${e}~*`),A("svg",e=>`${e} svg *`)];var yr=[(e,{options:{dark:t}})=>{if(t==="class")return A("dark",r=>`.dark $$ ${r}`)(e)},(e,{options:{dark:t}})=>{if(t==="class")return A("light",r=>`.light $$ ${r}`)(e)},(e,{options:{dark:t}})=>{if(t==="media")return L("dark","@media (prefers-color-scheme: dark)")(e)},(e,{options:{dark:t}})=>{if(t==="media")return L("light","@media (prefers-color-scheme: light)")(e)}];var wr={match(e){if(e.startsWith("!"))return{matcher:e.slice(1),body:t=>(t.forEach(r=>{r[1]&&(r[1]+=" !important")}),t)}}},$r={match(e){if(e.startsWith("-"))return{matcher:e.slice(1),body:t=>(t.forEach(r=>{var n,o;r[0].startsWith("--un-scale")||((n=r[1])==null?void 0:n.toString())==="0"||(r[1]=(o=r[1])==null?void 0:o.toString().replace(/[0-9.]+(?:[a-z]+|%)?/,i=>`-${i}`))}),t)}}},vr=e=>{if(/^space-?([xy])-?(-?.+)$/.test(e)||/^divide-/.test(e))return{matcher:e,selector:t=>`${t}>:not([hidden])~:not([hidden])`}};var Sr=L("print","@media print");var Rr=[vr,$r,wr,Sr,xr,...br,Kt,Wt,Bt,Lt,It,...yr];var Pn=(e={})=>{var t,r;return e.dark=(t=e.dark)!=null?t:"class",e.attributifyPseudo=(r=e.attributifyPseudo)!=null?r:!1,{name:"@unocss/preset-mini",theme:hr,rules:tr,variants:Rr,options:e,postprocess:e.variablePrefix&&e.variablePrefix!=="un-"?jn(e.variablePrefix):void 0}},kr=Pn;function jn(e){return t=>{t.entries.forEach(r=>{r[0]=r[0].replace(/^--un-/,`--${e}`),typeof r[1]=="string"&&(r[1]=r[1].replace(/var\(--un-/g,`var(--${e}`))})}}var Un=["v-bind:",":"],Cr=/[\s'"`;]+/g,On=/<\w[\w:\.$-]*\s((?:'[\s\S]*?'|"[\s\S]*?"|`[\s\S]*?`|\{[\s\S]*?\}|[\s\S]*?)*?)>/g,Mn=/([?]|(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:%-]+)(?:=(["'])([^\2]*?)\2)?/g,Er={name:"attributify",extract({code:e,options:{ignoreAttributes:t,nonValuedAttribute:r}}){let n=Array.from(e.matchAll(On)).flatMap(o=>Array.from((o[1]||"").matchAll(Mn))).flatMap(([,o,i,s])=>{if(t==null?void 0:t.includes(o))return[];for(let a of Un)if(o.startsWith(a)){o=o.slice(a.length);break}return s?["class","className"].includes(o)?s.split(Cr).filter(N):s.split(Cr).filter(Boolean).map(a=>`[${o}~="${a}"]`):N(o)&&r!==!1?[`[${o}=""]`]:[]});return new Set(n)}};var Fn=/^(.+\:\!?)?(.*?)$/,Tr=(e,{options:{prefix:t,prefixedOnly:r}})=>{let n=ze(e);if(!n)return;let o=n[1];if(o.startsWith(t))o=o.slice(t.length);else if(r)return;let i=n[2],[,s="",a=i]=i.match(Fn)||[];return a==="~"||!a?`${s}${o}`:`${s}${o}-${a}`};var _n=(e={})=>{var n,o,i,s,a;e.strict=(n=e.strict)!=null?n:!1,e.prefix=(o=e.prefix)!=null?o:"un-",e.prefixedOnly=(i=e.prefixedOnly)!=null?i:!1,e.nonValuedAttribute=(s=e.nonValuedAttribute)!=null?s:!0,e.ignoreAttributes=(a=e.ignoreAttributes)!=null?a:[];let t=[Tr],r=[Er];return e.strict||r.unshift(H),{name:"@unocss/preset-attributify",variants:t,extractors:r,options:e}},Ar=_n;function we(e={}){var y;if(typeof window=="undefined"){console.warn("@unocss/runtime been used in non-browser environment, skipped.");return}Object.assign(e,(y=window.__unocss)==null?void 0:y.runtime);let t,r=!1,n,o=De(window.__unocss||{},e.defaults),i=new Set,s;function a(){s!=null&&clearTimeout(s),s=setTimeout(l,0)}async function l(){let x=await o.generate(i);t||(t=document.createElement("style"),document.head.appendChild(t)),t.innerHTML=x.css}async function f(x){await o.applyExtractors(x,void 0,i),a()}async function d(){let x=document.body&&document.body.outerHTML;x&&await f(x)}let w=new MutationObserver(x=>{r||x.forEach(P=>{let u=P.target;if(u===t||n&&!n(u))return;let g=Array.from(u.attributes).map(h=>h.value?`${h.name}="${h.value}"`:h.name).join(" "),m=`<${u.tagName.toLowerCase()} ${g}>`;f(m)})}),$=!1;function v(){if(!$)return;let x=document.documentElement||document.body;!x||(w.observe(x,{childList:!0,subtree:!0,attributes:!0}),$=!0)}function p(){d(),v()}window.__unocss_runtime=window.__unocss_runtime={version:o.version,uno:o,extractAll:d,inspect(x){n=x},toggleObserver(x){x===void 0?r=!r:r=!!x}},p(),window.addEventListener("load",p),window.addEventListener("DOMContentLoaded",p)}we({defaults:{presets:[kr(),Ar()]}});})();
|
|
1
|
+
(()=>{var $e=Object.defineProperty,jr=Object.defineProperties;var Ur=Object.getOwnPropertyDescriptors;var ve=Object.getOwnPropertySymbols;var Mr=Object.prototype.hasOwnProperty,Or=Object.prototype.propertyIsEnumerable;var Se=(e,t,r)=>t in e?$e(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,k=(e,t)=>{for(var r in t||(t={}))Mr.call(t,r)&&Se(e,r,t[r]);if(ve)for(var r of ve(t))Or.call(t,r)&&Se(e,r,t[r]);return e},U=(e,t)=>jr(e,Ur(t));var Fr=(e,t)=>{for(var r in t)$e(e,r,{get:t[r],enumerable:!0})};var _r={mid:"middle",base:"baseline",btm:"bottom"},Re=[[/^(?:vertical|align|v)-(baseline|top|bottom|middle|text-top|text-bottom|mid|base|btm)$/,([,e])=>({"vertical-align":_r[e]||e})]],ke=[["text-center",{"text-align":"center"}],["text-left",{"text-align":"left"}],["text-right",{"text-align":"right"}],["text-justify",{"text-align":"justify"}]];var T={l:["-left"],r:["-right"],t:["-top"],b:["-bottom"],s:["-inline-start"],e:["-inline-end"],x:["-left","-right"],y:["-top","-bottom"],"":[""],a:[""]},ee={t:["-top-left","-top-right"],r:["-top-right","-bottom-right"],b:["-bottom-left","-bottom-right"],l:["-bottom-left","-top-left"],tl:["-top-left"],lt:["-top-left"],tr:["-top-right"],rt:["-top-right"],bl:["-bottom-left"],lb:["-bottom-left"],br:["-bottom-right"],rb:["-bottom-right"],"":[""]},te={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]};function D(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Dr(e){let t=e.length,r=-1,n,o="",i=e.charCodeAt(0);for(;++r<t;){if(n=e.charCodeAt(r),n===0){o+="\uFFFD";continue}if(n===44){o+="\\2c ";continue}if(n>=1&&n<=31||n===127||r===0&&n>=48&&n<=57||r===1&&n>=48&&n<=57&&i===45){o+=`\\${n.toString(16)} `;continue}if(r===0&&t===1&&n===45){o+=`\\${e.charAt(r)}`;continue}if(n>=128||n===45||n===95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){o+=e.charAt(r);continue}o+=`\\${e.charAt(r)}`}return o}var W=Dr;function L(e){return(Array.isArray(e)?e:Object.entries(e)).filter(t=>t[1]!=null)}function Ce(e){return Array.isArray(e)?e.find(t=>!Array.isArray(t)||Array.isArray(t[0]))?e.map(t=>L(t)):[e]:[L(e)]}function Lr(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 B(e){return e==null?"":Lr(e).map(([t,r])=>r!=null?`${t}:${r};`:void 0).filter(Boolean).join("")}function re(e){return e&&typeof e=="object"&&!Array.isArray(e)}function ne(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=k({},r);return re(r)&&re(n)&&Object.keys(n).forEach(i=>{re(n[i])?i in r?o[i]=ne(r[i],n[i]):Object.assign(o,{[i]:n[i]}):Object.assign(o,{[i]:n[i]})}),o}function Ee(e){return typeof e[0]=="string"}function Te(e){return typeof e[0]=="string"}function V(e=[]){return Array.isArray(e)?e:[e]}function I(e){return Array.from(new Set(e))}var Hr=/^#?([\da-f]+)$/i;function Ve(e=""){let[,t]=e.match(Hr)||[];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 t.length===3||(r[3]=Math.round(r[3]/255*100)/100),r;case 6:case 8:let n=Number.parseInt(t,16);return t.length===6?[n>>16&255,n>>8&255,n&255]:[n>>24&255,n>>16&255,n>>8&255,Math.round((n&255)/255*100)/100]}}var Nr=/^\[(.+?)~?="(.*)"\]$/,Kr=/(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:%-?]/;function Ae(e){return e.match(Nr)}function H(e=""){return Kr.test(e)}function ze(e){return typeof e=="function"?{match:e}:e}function oe(e){return e.length===3}function Pe(e){return e!=null}var ie=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 Wr=/([!\w+:_/-]+?)([:-])\(((?:[!\w\s:/\\,%#.$-]|\[.*?\])*?)\)/gm;function je(e){let t=[],r;for(;r=Wr.exec(e);){let o=r.index,i=o+r[0].length,[,s,a,f]=r,l=f.split(/\s/g).map(d=>d.replace(/^(!?)(.*)/,`$1${s}${a}$2`)).join(" ");t.unshift([o,i,l])}let n=e;return t.forEach(([o,i,s])=>{n=n.slice(0,o)+s+n.slice(i)}),n}var Ue=new Set;function Me(e){Ue.has(e)||(console.warn("[unocss]",e),Ue.add(e))}function Oe(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 Br=e=>e.split(/[\s'"`;>=]+/g).filter(H),N={name:"split",order:0,extract({code:e}){return new Set(Br(e))}};function Ir(e){return V(e).flatMap(t=>Array.isArray(t)?[t]:Object.entries(t))}var Gr={shortcuts:-1,default:0};function se(e={},t={}){var g;let r=Object.assign({},t,e),n=(r.presets||[]).flatMap(V),o=[...n.filter(p=>p.enforce==="pre"),...n.filter(p=>!p.enforce),...n.filter(p=>p.enforce==="post")],i=Object.assign(Gr,...n.map(p=>p.layers),e.layers);function s(p){return I([...o.flatMap(v=>V(v[p]||[])),...V(r[p]||[])])}let a=s("extractors");a.length||a.push(N),a.sort((p,v)=>(p.order||0)-(v.order||0));let f=s("rules"),l={},d=f.length;f.forEach((p,v)=>{Ee(p)&&(l[p[0]]=[v,p[1],p[2]],delete f[v])});let x=[...o.map(p=>p.theme||{}),r.theme||{}].reduce((p,v)=>ne(p,v),{}),$=Object.assign({},...((g=r.presets)==null?void 0:g.map(p=>Array.isArray(p)?p:[p]).flat(1).map(p=>{var v;return(v=p.options)!=null?v:{}}))||[]);return U(k({mergeSelectors:!0,warn:!0,blocklist:[],safelist:[],sortLayers:p=>p},r),{presets:o,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:i,theme:x,rulesSize:d,rulesDynamic:f,rulesStaticMap:l,preprocess:s("preprocess"),postprocess:s("postprocess"),preflights:s("preflights"),variants:s("variants").map(ze),shortcuts:Ir(s("shortcuts")),extractors:a,options:$})}var Fe="0.20.2";var _e=class{constructor(t={},r={}){this.userConfig=t;this.defaults=r;this.config=se(t,r)}version=Fe;_cache=new Map;config;blocked=new Set;parentOrders=new Map;setConfig(t,r){!t||(r&&(this.defaults=r),this.userConfig=t,this.config=se(t,this.defaults),this.blocked.clear(),this.parentOrders.clear(),this._cache.clear())}async applyExtractors(t,r,n=new Set){let o={get original(){return t},code:t,id:r,options:this.config.options};for(let i of this.config.extractors){let s=await i.extract(o);s==null||s.forEach(a=>n.add(a))}return n}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(u=>a.add(u));let f=s?"":`
|
|
2
|
+
`,l=new Set(["default"]),d=new Set,x=new Map,$=(u,h)=>{var m;this._cache.set(u,h),d.add(u);for(let b of h){let E=b[3]||"";x.has(E)||x.set(E,[]),x.get(E).push(b),((m=b[4])==null?void 0:m.layer)&&l.add(b[4].layer)}},g=u=>{this.blocked.add(u),this._cache.set(u,null)};await Promise.all(Array.from(a).map(async u=>{var z;if(d.has(u)||this.blocked.has(u))return;if(this._cache.has(u)){let w=this._cache.get(u);w&&$(u,w);return}let h=u;for(let w of this.config.preprocess)h=w(u);if(this.isBlocked(h))return g(h);let m=this.matchVariants(u,h);if(!m||this.isBlocked(m[1]))return g(u);let b={rawSelector:u,currentSelector:m[1],theme:this.config.theme,generator:this,variantHandlers:m[2],constructCSS:(...w)=>this.constructCustomCSS(b,...w),options:this.config.options},E=this.expandShortcut(m[1],b);if(E){let w=await this.stringifyShortcuts(m,b,E[0],E[1]);if(w==null?void 0:w.length)return $(u,w)}else{let w=(z=await this.parseUtil(m,b))==null?void 0:z.map(S=>this.stringifyUtil(S)).filter(Pe);if(w==null?void 0:w.length)return $(u,w)}this._cache.set(u,null)})),o&&this.config.preflights.forEach(u=>{u.layer&&l.add(u.layer)});let p={},v=this.config.sortLayers(Array.from(l).sort((u,h)=>{var m,b;return((m=this.config.layers[u])!=null?m:0)-((b=this.config.layers[h])!=null?b:0)||u.localeCompare(h)})),y=u=>{if(p[u])return p[u];let h=Array.from(x).sort((m,b)=>{var w;let E=this.parentOrders.get(m[0]),z=this.parentOrders.get(b[0]);return E!==void 0&&z!==void 0?E-z:(w=m[0])==null?void 0:w.localeCompare(b[0]||"")}).map(([m,b])=>{let E=b.length,z=b.filter(S=>{var P;return(((P=S[4])==null?void 0:P.layer)||"default")===u}).sort((S,P)=>{var K;return S[0]-P[0]||((K=S[1])==null?void 0:K.localeCompare(P[1]||""))||0}).map(S=>[S[1]?Xr(S[1],n):S[1],S[2]]);if(!z.length)return;let w=z.reverse().map(([S,P],K)=>{if(S&&this.config.mergeSelectors)for(let Q=K+1;Q<E;Q++){let _=z[Q];if(_&&_[0]&&_[1]===P)return _[0]=`${_[0]},${S}`,null}return S?`${S}{${P}}`:P}).filter(Boolean).reverse().join(f);return m?`${m}{${f}${w}${f}}`:w}).filter(Boolean).join(f);return o&&(h=[...this.config.preflights.filter(m=>(m.layer||"default")===u).map(m=>m.getCSS()).filter(Boolean),h].join(f)),p[u]=!s&&h?`/* layer: ${u} */${f}${h}`:h},j=(u=v,h)=>u.filter(m=>!(h==null?void 0:h.includes(m))).map(m=>y(m)||"").filter(Boolean).join(f);return{get css(){return j()},layers:v,getLayers:j,getLayer:y,matched:d}}matchVariants(t,r){let n=new Set,o=[],i=r||t,s=!1,a={rawSelector:t,theme:this.config.theme,generator:this,options:this.config.options};for(;;){s=!1;for(let f of this.config.variants){if(!f.multiPass&&n.has(f))continue;let l=f.match(i,a);if(!!l&&(typeof l=="string"&&(l={matcher:l}),l)){i=l.matcher,Array.isArray(l.parent)&&this.parentOrders.set(l.parent[0],l.parent[1]),o.push(l),n.add(f),s=!0;break}}if(!s)break;if(o.length>500)throw new Error(`Too many variants applied to "${t}"`)}return[t,i,o]}applyVariants(t,r=t[4],n=t[1]){let o=[...r].sort((a,f)=>(a.order||0)-(f.order||0)),i=o.reduce((a,f)=>{var l;return((l=f.body)==null?void 0:l.call(f,a))||a},t[2]),s={selector:o.reduce((a,f)=>{var l;return((l=f.selector)==null?void 0:l.call(f,a,i))||a},Zr(n)),entries:i,parent:o.reduce((a,f)=>Array.isArray(f.parent)?f.parent[0]:f.parent||a,void 0)};for(let a of this.config.postprocess)a(s);return s}constructCustomCSS(t,r,n){r=L(r);let{selector:o,entries:i,parent:s}=this.applyVariants([0,n||t.rawSelector,r,void 0,t.variantHandlers]),a=`${o}{${B(i)}}`;return s?`${s}{${a}}`:a}async parseUtil(t,r,n=!1){var d,x;let[o,i,s]=typeof t=="string"?this.matchVariants(t):t,a=this.config.rulesStaticMap[i];if(a&&a[1]&&(n||!((d=a[2])==null?void 0:d.internal)))return[[a[0],o,L(a[1]),a[2],s]];r.variantHandlers=s;let{rulesDynamic:f,rulesSize:l}=this.config;for(let $=l;$>=0;$--){let g=f[$];if(!g||((x=g[2])==null?void 0:x.internal)&&!n)continue;let[p,v,y]=g,j=i.match(p);if(!j)continue;let u=await v(j,r);if(!u)continue;if(typeof u=="string")return[[$,u,y]];let h=Ce(u).filter(m=>m.length);if(h.length)return h.map(m=>[$,o,m,y,s])}}stringifyUtil(t){if(!t)return;if(oe(t))return[t[0],void 0,t[1],void 0,t[2]];let{selector:r,entries:n,parent:o}=this.applyVariants(t),i=B(n);if(!!i)return[t[0],r,i,o,t[3]]}expandShortcut(t,r,n=3){if(n===0)return;let o,i;for(let s of this.config.shortcuts)if(Te(s)){if(s[0]===t){o=o||s[2],i=s[1];break}}else{let a=t.match(s[0]);if(a&&(i=s[1](a,r)),i){o=o||s[2];break}}if(typeof i=="string"&&(i=je(i).split(/\s+/g)),!!i)return[i.flatMap(s=>{var a;return((a=this.expandShortcut(s,r,n-1))==null?void 0:a[0])||[s]}).filter(s=>s!==""),o]}async stringifyShortcuts(t,r,n,o={layer:this.config.shortcutsLayer}){let i=new ie,s=(await Promise.all(I(n).map(async l=>{let d=await this.parseUtil(l,r,!0);return d||Me(`unmatched utility "${l}" in shortcut "${t[1]}"`),d||[]}))).flat(1).filter(Boolean).sort((l,d)=>l[0]-d[0]),[a,,f]=t;for(let l of s){if(oe(l))continue;let{selector:d,entries:x,parent:$}=this.applyVariants(l,[...l[4],...f],a),g=i.getFallback(d,$,[[],l[0]]);g[0].push(...x),l[0]>g[1]&&(g[1]=l[0])}return i.map(([l,d],x,$)=>{let g=B(l);if(g)return[d,x,g,$,o]}).filter(Boolean)}isBlocked(t){return!t||this.config.blocklist.some(r=>typeof r=="string"?r===t:r.test(t))}};function De(e,t){return new _e(e,t)}var Le=/ \$\$ /,Yr=e=>e.match(Le);function Xr(e,t){return Yr(e)?e.replace(Le,t?` ${t} `:" "):t?`${t} ${e}`:e}function Zr(e){return e.startsWith("[")?e.replace(/^\[(.+?)(~?=)"(.*)"\]$/,(t,r,n,o)=>`[${W(r)}${n}"${W(o)}"]`):`.${W(e)}`}var ce={};Fr(ce,{auto:()=>sn,bracket:()=>pn,cssvar:()=>dn,fraction:()=>un,global:()=>gn,number:()=>ln,numberWithUnit:()=>on,percent:()=>fn,properties:()=>hn,px:()=>cn,rem:()=>an,time:()=>mn});var Jr=["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"],Qr=["backround-position","left","right","top","bottom","object-position"],en=["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"],tn=["stroke","filter","backdrop-filter","fill","mask","mask-size","mask-border","clip-path","clip"],rn=[...Jr,...Qr,...en,...tn],ae=/^(-?[0-9.]+)(px|pt|pc|rem|em|%|vh|vw|in|cm|mm|ex|ch|vmin|vmax)?$/i,nn=/^(-?[0-9.]+)$/i,He=/^(px)$/i;function on(e){let t=e.match(ae);if(!t)return;let[,,r]=t;if(r)return e}function sn(e){if(e==="auto"||e==="a")return"auto"}function an(e){if(e.match(He))return`1${e}`;let t=e.match(ae);if(!t)return;let[,r,n]=t;if(n)return e;let o=parseFloat(r);if(!Number.isNaN(o))return`${o/4}rem`}function cn(e){if(e.match(He))return`1${e}`;let t=e.match(ae);if(!t)return;let[,r,n]=t;if(n)return e;let o=parseFloat(r);if(!Number.isNaN(o))return`${o}px`}function ln(e){if(!nn.test(e))return;let t=parseFloat(e);if(!Number.isNaN(t))return t}function fn(e){e.endsWith("%")&&(e=e.slice(0,-1));let t=parseFloat(e);if(!Number.isNaN(t))return`${t/100}`}function un(e){if(e==="full")return"100%";let[t,r]=e.split("/"),n=parseFloat(t)/parseFloat(r);if(!Number.isNaN(n))return`${n*100}%`}function pn(e){if(e&&e[0]==="["&&e[e.length-1]==="]")return e.slice(1,-1).replace(/_/g," ").replace(/calc\((.*)/g,t=>t.replace(/(-?\d*\.?\d(?!\b-.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 "))}function dn(e){if(e.startsWith("$"))return`var(--${e.slice(1)})`}function mn(e){let t=Number(e.replace(/(s|ms)$/,""));if(!isNaN(t))return/(s|ms)$/.test(e)?e:`${e}ms`}function gn(e){if(["inherit","initial","revert","unset"].includes(e))return e}function hn(e){if(e!==void 0){for(let t of e.split(","))if(!rn.includes(t))return;return e}}var c=Oe(ce);var C=(e,t)=>{let r=new RegExp(`^${D(e)}[:-]`);return n=>{let o=n.match(r);if(o)return{matcher:n.slice(o[0].length),selector:t}}},A=(e,t)=>{let r=new RegExp(`^${D(e)}[:-]`);return n=>{let o=n.match(r);if(o)return{matcher:n.slice(o[0].length),parent:t}}};function Ne(e){return e.charAt(0).toUpperCase()+e.slice(1)}var M=e=>([t,r,n])=>{let o=c.bracket.auto.rem.fraction.cssvar(n);if(o!==void 0)return T[r].map(i=>[`${e}${i}`,o])},le=(e,t)=>{var r;return(r=e.colors)==null?void 0:r[t.join("-").replace(/(-[a-z])/g,n=>n.slice(1).toUpperCase())]},F=(e,t)=>{let[r,n]=e.split(/(?:\/|:)/),o=r.replace(/([a-z])([0-9])/g,"$1-$2").split(/-/g),[i]=o;if(!i)return;let s,a=c.bracket(r),f=a||r;f.startsWith("#")?s=f.slice(1):f.startsWith("hex-")?s=f.slice(4):r.startsWith("$")&&(s=c.cssvar(r)),s=s||a;let l="DEFAULT";if(!s){let g,[p]=o.slice(-1);p.match(/^\d+$/)?(l=p,g=le(t,o.slice(0,-1))):(g=le(t,o),g||([,l=l]=o,g=le(t,[i]))),typeof g=="string"?s=g:l&&g&&(s=g[l])}let d=Ve(s),x=n?n[0]==="["?c.bracket.percent(n):parseFloat(n)/100:d==null?void 0:d[3],$=x!=null&&!Number.isNaN(x);return d&&($?d[3]=typeof x=="string"&&!x.includes("%")?parseFloat(x):x:d.splice(3)),{opacity:n,name:i,no:l,color:s,rgba:d,alpha:$?x:void 0}},R=(e,t)=>([,r],{theme:n})=>{var l;let o=F(r,n);if(!o)return;let{alpha:i,opacity:s,color:a,rgba:f}=o;if(!!a)return f?i!=null?{[e]:`rgba(${f.join(",")})`}:{[`--un-${t}-opacity`]:(l=s&&c.cssvar(s))!=null?l:1,[e]:`rgba(${f.join(",")},var(--un-${t}-opacity))`}:{[e]:a.replace("%alpha",`${i||1}`)}};var Ke=[[/^outline-(?:width-|size-)?(.+)$/,([,e])=>({"outline-width":c.bracket.fraction.auto.rem(e)})],[/^outline-(?:color-)?(.+)$/,R("outline-color","outline-color")],[/^outline-offset-(.+)$/,([,e])=>({"outline-offset":c.bracket.fraction.auto.rem(e)})],["outline",{"outline-style":"solid"}],[/^outline-(auto|dotted|dashed|solid|double|groove|ridge|inset|outset|inherit|initial|revert|unset)$/,([,e])=>({"outline-style":e})],["outline-none",{outline:"2px solid transparent","outline-offset":"2px"}]],We=[["appearance-none",{appearance:"none","-webkit-appearance":"none"}]],Be=[[/^will-change-(.+)/,([,e])=>({"will-change":c.properties.global(e)})]];var Ie=[[/^border$/,fe],[/^(?:border|b)()-(.+)$/,fe],[/^(?:border|b)-([^-]+)(?:-(.+))?$/,fe],[/^(?:border|b)()-size-(.+)$/,ue],[/^(?:border|b)-([^-]+)-size-(.+)$/,ue],[/^(?:border|b)()-(.+)$/,Ge],[/^(?:border|b)-([^-]+)(?:-(.+))?$/,Ge],[/^(?:border|b)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-border-opacity":c.bracket.percent(e)})],[/^(?:border|b)-([^-]+)-op(?:acity)?-?(.+)$/,([,e,t])=>{let r=c.bracket.percent(t),n=T[e];if(r!==void 0&&n)return n.map(o=>[`--un-border${o}-opacity`,r])}],[/^(?:border-)?(?:rounded|rd)$/,pe],[/^(?:border-)?(?:rounded|rd)(?:-(.+))?$/,pe],[/^(?:border-)?(?:rounded|rd)(?:-([^-]+))?(?:-(.+))?$/,pe],["border-solid",{"border-style":"solid"}],["border-dashed",{"border-style":"dashed"}],["border-dotted",{"border-style":"dotted"}],["border-double",{"border-style":"double"}],["border-none",{"border-style":"none"}]],xn=(e,{theme:t})=>{var r;return e!==void 0&&!!((r=F(e,t))==null?void 0:r.color)},bn=e=>([,t],{theme:r})=>{var f,l;let n=F(t,r);if(!n)return;let{alpha:o,opacity:i,color:s,rgba:a}=n;if(!!s)return a?o!=null?{[`border${e}-color`]:`rgba(${a.join(",")})`}:e===""?{"--un-border-opacity":(f=i&&c.cssvar(i))!=null?f:1,[`border${e}-color`]:`rgba(${a.join(",")},var(--un-border${e}-opacity))`}:{"--un-border-opacity":(l=i&&c.cssvar(i))!=null?l:1,[`--un-border${e}-opacity`]:"var(--un-border-opacity)",[`border${e}-color`]:`rgba(${a.join(",")},var(--un-border${e}-opacity))`}:{[`border${e}-color`]:s.replace("%alpha",`${o||1}`)}};function fe(e){let t=ue(e);if(t)return[...t,["border-style","solid"]]}function ue([,e,t]){let[r,n="1"]=T[e]?[e,t]:["",e],o=c.bracket.px(n);if(o!==void 0)return T[r].map(i=>[`border${i}-width`,o])}function Ge([,e,t],r){if(xn(t,r))return Object.assign({},...T[T[e]?e:""].map(n=>bn(n)(["",t],r)))}function pe([,e,t],{theme:r}){var s;let[n,o="DEFAULT"]=ee[e]?[e,t]:["",e],i=((s=r.borderRadius)==null?void 0:s[o])||c.auto.rem.fraction.bracket.cssvar(o);if(i!==void 0)return ee[n].map(a=>[`border${a}-radius`,i])}var qe=[[/^op(?:acity)?-?(.+)$/,([,e])=>({opacity:c.bracket.percent.cssvar(e)})]],Ye=[[/^(?:text|color|c)-(.+)$/,R("color","text")],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-opacity":c.bracket.percent.cssvar(e)})]],Xe=[[/^bg-(.+)$/,R("background-color","bg")],[/^bg-op(?:acity)?-?(.+)$/,([,e])=>({"--un-bg-opacity":c.bracket.percent(e)})]];var Ze=e=>c.properties(e)||(e==="all"?e:void 0),Je=[[/^transition(?:-([a-z-]+(?:,[a-z-]+)*))?(?:-(\d+))?$/,([,e="all",t="150"])=>{let r=Ze(e);if(r)return{"transition-property":r,"transition-timing-function":"cubic-bezier(0.4,0,0.2,1)","transition-duration":`${t}ms`}}],[/^duration-(\d+)$/,([,e="150"])=>({"transition-duration":`${e}ms`})],["ease",{"transition-timing-function":"cubic-bezier(0.4, 0, 0.2, 1)"}],["ease-linear",{"transition-timing-function":"linear"}],["ease-in",{"transition-timing-function":"cubic-bezier(0.4, 0, 1, 1)"}],["ease-out",{"transition-timing-function":"cubic-bezier(0, 0, 0.2, 1)"}],["ease-in-out",{"transition-timing-function":"cubic-bezier(0.4, 0, 0.2, 1)"}],[/^transition-delay-(\d+)$/,([,e])=>({"transition-delay":`${e}ms`})],[/^transition-duration-(\d+)$/,([,e])=>({"transition-duration":`${e}ms`})],[/^(?:transition-)?property-(.+)$/,([,e])=>({"transition-property":c.global(e)||Ze(e)})],["transition-property-none",{"transition-property":"none"}],["property-none",{"transition-property":"none"}],["transition-none",{transition:"none"}]];var Qe=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],["flex-1",{flex:"1 1 0%"}],["flex-auto",{flex:"1 1 auto"}],["flex-initial",{flex:"0 1 auto"}],["flex-none",{flex:"none"}],[/^flex-(\[.+\])$/,([,e])=>({flex:c.bracket(e).replace(/\d+\/\d+/,t=>c.fraction(t))})],["flex-shrink",{"flex-shrink":1}],["flex-shrink-0",{"flex-shrink":0}],["flex-grow",{"flex-grow":1}],["flex-grow-0",{"flex-grow":0}],["flex-row",{"flex-direction":"row"}],["flex-row-reverse",{"flex-direction":"row-reverse"}],["flex-col",{"flex-direction":"column"}],["flex-col-reverse",{"flex-direction":"column-reverse"}],["flex-wrap",{"flex-wrap":"wrap"}],["flex-wrap-reverse",{"flex-wrap":"wrap-reverse"}],["flex-nowrap",{"flex-wrap":"nowrap"}]];var yn={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},et=[[/^font-(\w+)$/,([,e],{theme:t})=>{var r;return{"font-family":(r=t.fontFamily)==null?void 0:r[e]}}],[/^text-(.+)$/,([,e="base"],{theme:t})=>{var o;let r=c.bracket.auto.rem(e);if(r)return{"font-size":r};let n=V((o=t.fontSize)==null?void 0:o[e]);if(n==null?void 0:n[0]){let[i,s]=n;return{"font-size":i,"line-height":s}}}],[/^text-size-(.+)$/,([,e])=>({"font-size":c.bracket.auto.rem(e)})],[/^(?:font|fw)-?([^-]+)$/,([,e])=>({"font-weight":yn[e]||c.number(e)})],[/^(?:leading|lh)-([^-]+)$/,([,e],{theme:t})=>{var r;return{"line-height":((r=t.lineHeight)==null?void 0:r[e])||c.bracket.auto.rem(e)}}],[/^tracking-([^-]+)$/,([,e],{theme:t})=>{var r;return{"letter-spacing":((r=t.letterSpacing)==null?void 0:r[e])||c.bracket.auto.rem(e)}}],[/^word-spacing-([^-]+)$/,([,e],{theme:t})=>{var r;return{"word-spacing":((r=t.wordSpacing)==null?void 0:r[e])||c.bracket.auto.rem(e)}}]],tt=[[/^tab-?([^-]*)$/,([,e])=>{let t=c.bracket.global.number(e||"4");if(t!=null)return{"-moz-tab-size":t,"-o-tab-size":t,"tab-size":t}}]],rt=[[/^indent(?:-(.+))?$/,([,e],{theme:t})=>{var r;return{"text-indent":((r=t.textIndent)==null?void 0:r[e||"DEFAULT"])||c.bracket.cssvar.fraction.auto.rem(e)}}]],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)}}],[/^text-stroke-(.+)$/,R("-webkit-text-stroke-color","text-stroke")],[/^text-stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-stroke-opacity":c.bracket.percent(e)})]],ot=[[/^text-shadow(?:-(.+))?$/,([,e],{theme:t})=>{var r;return{"text-shadow":((r=t.textShadow)==null?void 0:r[e||"DEFAULT"])||c.bracket.cssvar(e)}}]];var it={"":"","x-":"column-","y-":"row-"},st=[[/^(?:flex-|grid-)?gap-(x-|y-)?([^-]+)$/,([,e="",t])=>{let r=c.bracket.auto.rem(t);if(r!=null)return{[`grid-${it[e]}gap`]:r,[`${it[e]}gap`]:r}}]];var wn=(e,t)=>{var r;return V(((r=t.fontSize)==null?void 0:r[e])||c.bracket.auto.rem(e))[0]},at=(e,t)=>e==="min"?"min-content":e==="max"?"max-content":e==="fr"?"minmax(0,1fr)":wn(e,t),ct=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?col-start-([\w.-]+)$/,([,e])=>({"grid-column-start":e})],[/^(?:grid-)?col-end-([\w.]+)$/,([,e])=>({"grid-column-end":e})],[/^(?:grid-)?row-start-([\w.-]+)$/,([,e])=>({"grid-row-start":e})],[/^(?:grid-)?row-end-([\w.-]+)$/,([,e])=>({"grid-row-end":e})],[/^(?:grid-)?(row|col)-(.+)$/,([,e,t])=>{let r=e==="row"?"grid-row":"grid-column",n=c.bracket(t);if(n)return{[r]:n};let o=t.split("-");if(o.length===1&&o[0]==="auto")return{[r]:o[0]};if(o[0]==="span"){if(o[1]==="full")return{[r]:"1/-1"};if(n=c.number.bracket(o[1]),n)return{[r]:`span ${n}/span ${n}`}}}],[/^(?:grid-)?auto-cols-([\w.-]+)$/,([,e],{theme:t})=>({"grid-auto-columns":at(e,t)})],[/^(?:grid-)?auto-flow-([\w.-]+)$/,([,e])=>({"grid-auto-flow":e.replace("col","column").split("-").join(" ")})],[/^(?:grid-)?auto-rows-([\w.-]+)$/,([,e],{theme:t})=>({"grid-auto-rows":at(e,t)})],[/^grid-cols-(.+)$/,([,e])=>({"grid-template-columns":c.bracket(e)})],[/^grid-rows-(.+)$/,([,e])=>({"grid-template-rows":c.bracket(e)})],[/^grid-cols-minmax-([\w.-]+)$/,([,e])=>({"grid-template-columns":`repeat(auto-fill,minmax(${e},1fr))`})],[/^grid-rows-minmax-([\w.-]+)$/,([,e])=>({"grid-template-rows":`repeat(auto-fill,minmax(${e},1fr))`})],[/^grid-cols-(\d+)$/,([,e])=>({"grid-template-columns":`repeat(${e},minmax(0,1fr))`})],[/^grid-rows-(\d+)$/,([,e])=>({"grid-template-rows":`repeat(${e},minmax(0,1fr))`})]];var lt=["auto","hidden","visible","scroll"],ft=[[/^(?:overflow|of)-(.+)$/,([,e])=>lt.includes(e)?{overflow:e}:void 0],[/^(?:overflow|of)-([xy])-(.+)$/,([,e,t])=>lt.includes(t)?{[`overflow-${e}`]:t}:void 0]];var G=["auto","start","end","center","stretch"],de=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,e])=>({position:e})],[/^(?:position-|pos-)?(static)$/,([,e])=>({position:e})]],ut=[["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"}],...G.map(e=>[`justify-items-${e}`,{"justify-items":e}]),...G.map(e=>[`justify-self-${e}`,{"justify-self":e}])],pt=[[/^order-(.+)$/,([,e])=>({order:c.bracket.number(e)})],["order-first",{order:"-9999"}],["order-last",{order:"9999"}],["order-none",{order:"0"}]],dt=[["content-start",{"align-content":"flex-start"}],["content-end",{"align-content":"flex-end"}],["content-center",{"align-content":"center"}],["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"}]],mt=[["place-content-start",{"place-content":"start"}],["place-content-end",{"place-content":"end"}],["place-content-center",{"place-content":"center"}],["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"}],...G.map(e=>[`place-items-${e}`,{"place-items":e}]),...G.map(e=>[`place-self-${e}`,{"place-self":e}])];function gt(e){var t;return(t={auto:"auto",full:"100%"}[e])!=null?t:c.bracket.fraction.cssvar.auto.rem(e)}var ht=[[/^(?:position-|pos-)?(top|left|right|bottom|inset)-(.+)$/,([,e,t])=>({[e]:gt(t)})],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,([,e,t])=>{let r=gt(t);if(r!=null&&e in T)return T[e].map(n=>[n.slice(1),r])}]],xt=[["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"}]],bt=[["z-auto",{"z-index":"auto"}],[/^z-([^-]+)$/,([,e])=>({"z-index":c.number(e)})]],yt=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}]];var q="var(--un-empty,/*!*/ /*!*/)",wt=[["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"}]],$t=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}]],vt=[[/^cursor-(.+)$/,([,e])=>({cursor:e})]],St=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}]],Rt=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}]],kt=[["select-auto",{"user-select":"auto"}],["select-all",{"user-select":"all"}],["select-text",{"user-select":"text"}],["select-none",{"user-select":"none"}]],Ct=[[/^(?:whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap)$/,([,e])=>({"white-space":e})]],Et=[["content-empty",{content:'""'}]],Tt=[["break-normal",{"overflow-wrap":"normal","word-break":"normal"}],["break-word",{"overflow-wrap":"break-word"}],["break-all",{"word-break":"break-all"}]],Vt=[["truncate",{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}],["text-ellipsis",{"text-overflow":"ellipsis"}],["text-clip",{"text-overflow":"clip"}]],At=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}]],zt=[["italic",{"font-style":"italic"}],["not-italic",{"font-style":"normal"}]],Pt=[["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 jt=[[/^ring-?(.*)$/,([,e])=>{let t=c.px(e||"1");if(t)return{"--un-ring-inset":q,"--un-ring-offset-width":"0px","--un-ring-offset-color":"#fff","--un-ring-color":"rgba(59, 130, 246, .5)","--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(${t} + var(--un-ring-offset-width)) var(--un-ring-color)`,"box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow, 0 0 #0000)"}}],["ring-offset",{"--un-ring-offset-width":"1px"}],[/^ring-offset-(.+)$/,([,e])=>({"--un-ring-offset-width":c.px(e||"1")})],[/^ring-(.+)$/,R("--un-ring-color","ring")],[/^ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-opacity":c.bracket.percent(e)})],[/^ring-offset-(.+)$/,R("--un-ring-offset-color","ring-offset")],[/^ring-offset-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-offset-opacity":c.bracket.percent(e)})],["ring-inset",{"--un-ring-inset":"inset"}]];var $n=(e,t)=>{let r=F(e,t);if(!r)return;let{color:n,rgba:o}=r;if(!!n)return o?{"--un-shadow-color":`${o.slice(0,3).join(",")}`}:{"--un-shadow-color":n}},Ut=[[/^shadow-?(.*)$/,([,e],{theme:t})=>{var n;let r=(n=t.boxShadow)==null?void 0:n[e||"DEFAULT"];if(r)return{"--un-shadow-inset":q,"--un-shadow-color":"0,0,0","--un-shadow":r,"box-shadow":"var(--un-ring-offset-shadow, 0 0 #0000), var(--un-ring-shadow, 0 0 #0000), var(--un-shadow)"}}],[/^shadow-(.+)$/,([,e],{theme:t})=>$n(e,t)],["shadow-inset",{"--un-shadow-inset":"inset"}]];function Mt(e,t){return`${e?`${e}-`:""}${t==="h"?"height":"width"}`}function vn(e,t,r,n){var i;let o=`${t==="h"?"height":"width"}`;return e&&(o=`${e}${Ne(o)}`),(i=r[o])==null?void 0:i[n]}var Ot=[[/^(?:(min|max)-)?(w|h)-(.+)$/,([,e,t,r],{theme:n})=>{let o=vn(e,t,n,r)||c.bracket.cssvar.fraction.auto.rem(r);if(o!=null)return{[Mt(e,t)]:o}}],[/^(?:(min|max)-)?(w)-screen-(.+)$/,([,e,t,r],{theme:n})=>{var i;let o=(i=n.breakpoints)==null?void 0:i[r];if(o!=null)return{[Mt(e,t)]:o}}]],Ft=[["aspect-ratio-auto",{"aspect-ratio":"auto"}],[/^aspect-ratio-(.+)$/,([,e])=>({"aspect-ratio":(/^\d+\/\d+$/.test(e)?e:null)||c.bracket.cssvar.number(e)})]];var _t=[[/^pa?()-?(-?.+)$/,M("padding")],[/^p-?([xy])-?(-?.+)$/,M("padding")],[/^p-?([rltbse])-?(-?.+)$/,M("padding")]],Dt=[[/^ma?()-?(-?.+)$/,M("margin")],[/^m-?([xy])-?(-?.+)$/,M("margin")],[/^m-?([rltbse])-?(-?.+)$/,M("margin")]];var Y="$$no-pseudo",X=Object.fromEntries(["any-link","link","visited","target",["open","[open]"],"hover","active","focus-visible","focus-within","focus","autofill","enabled","disabled","read-only","read-write","placeholder-shown","default","checked","indeterminate","valid","invalid","in-range","out-of-range","required","optional","root","empty",["even-of-type",":nth-of-type(even)"],["even",":nth-child(even)"],["odd-of-type",":nth-of-type(odd)"],["odd",":nth-child(odd)"],"first-of-type",["first",":first-child"],"last-of-type",["last",":last-child"],"only-child","only-of-type"].map(V)),Sn=["placeholder","before","after","first-letter","first-line","selection","marker"],Rn=["not","is","where","has"],kn=/(part-\[(.+)]:)(.+)/,Cn=new RegExp(`^(${Sn.join("|")})[:-]`),me=Object.keys(X).join("|"),Lt=Rn.join("|"),En=new RegExp(`^(${me})[:-]`),Tn=new RegExp(`^(${Lt})-(${me})[:-]`);function Z(e){return!e.find(t=>t[0]===Y)||void 0}var Ht=(e,t,r)=>{let n=new RegExp(`^${e}-((?:(${Lt})-)?(${me}))[:-]`),o=new RegExp(`^${D(t)}:`);return i=>{let s=i.match(n);if(s){let a=X[s[3]]||`:${s[3]}`;return s[2]&&(a=`:${s[2]}(${a})`),{matcher:i.slice(s[1].length+e.length+2),selector:(f,l)=>Z(l)&&o.test(f)?f.replace(o,`${t}${a}:`):`${t}${a}${r}${f}`}}}},Nt=e=>{let t=e.match(Cn);if(t)return{matcher:e.slice(t[1].length+1),selector:r=>`${r}::${t[1]}`}},Kt={match:e=>{let t=e.match(En);if(t){let r=X[t[1]]||`:${t[1]}`;return{matcher:e.slice(t[1].length+1),selector:(n,o)=>Z(o)&&`${n}${r}`}}},multiPass:!0},Wt={match:e=>{let t=e.match(Tn);if(t){let r=t[1],n=X[t[2]]||`:${t[2]}`;return{matcher:e.slice(t[1].length+t[2].length+2),selector:(o,i)=>Z(i)&&`${o}:${r}(${n})`}}},multiPass:!0},Bt={match:(e,{options:{attributifyPseudo:t}})=>{let r=Ht("group",t?'[group=""]':".group"," ")(e);if(r)return r;let n=Ht("peer",t?'[peer=""]':".peer","~")(e);if(n)return n},multiPass:!0},It={match:e=>{let t=e.match(kn);if(t){let r=`part(${t[2]})`;return{matcher:e.slice(t[1].length),selector:(n,o)=>Z(o)&&`${n}::${r}`}}},multiPass:!0};var Vn={transform:"rotate(var(--un-rotate)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z)) skewX(var(--un-skew-x)) skewY(var(--un-skew-y)) translate3d(var(--un-translate-x), var(--un-translate-y), var(--un-translate-z))",[Y]:""},Gt={transform:"rotate(var(--un-rotate)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z)) skewX(var(--un-skew-x)) skewY(var(--un-skew-y)) translateX(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z))",[Y]:""},O=k({"--un-rotate":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},Gt),qt=[["transform",O],[/^preserve-(3d|flat)$/,([,e])=>({"transform-style":e==="3d"?`preserve-${e}`:e})],[/^translate()-(.+)$/,Yt],[/^translate-([xyz])-(.+)$/,Yt],[/^scale()-(.+)$/,Xt],[/^scale-([xyz])-(.+)$/,Xt],[/^rotate-(.+)$/,zn],[/^rotate-((?!\[)[^-]+?)(?:deg)?$/,An],[/^skew-([xy])-(.+)$/,jn],[/^skew-([xy])-((?!\[)[^-]+?)(?:deg)?$/,Pn],["transform-gpu",Vn],["transform-cpu",Gt],["transform-none",{transform:"none"}],["origin-center",{"transform-origin":"center"}],["origin-top",{"transform-origin":"top"}],["origin-top-right",{"transform-origin":"top right"}],["origin-right",{"transform-origin":"right"}],["origin-bottom-right",{"transform-origin":"bottom right"}],["origin-bottom",{"transform-origin":"bottom"}],["origin-bottom-left",{"transform-origin":"bottom left"}],["origin-left",{"transform-origin":"left"}],["origin-top-left",{"transform-origin":"top left"}]];function Yt([,e,t]){let r=c.bracket.fraction.auto.rem(t);if(r!=null)return[O,te[e].map(n=>[`--un-translate${n}`,r])]}function Xt([,e,t]){let r=c.bracket.fraction.percent(t);if(r!=null)return[O,te[e].map(n=>[`--un-scale${n}`,r])]}function An([,e]){let t=c.bracket.number(e);if(t!=null)return[O,{"--un-rotate":`${t}deg`}]}function zn([,e]){let t=c.bracket(e);if(t!=null)return[O,{"--un-rotate":t}]}function Pn([,e,t]){let r=c.bracket.number(t);if(r!=null)return[O,{[`--un-skew-${e}`]:`${r}deg`}]}function jn([,e,t]){let r=c.bracket(t);if(r!=null)return[O,{[`--un-skew-${e}`]:r}]}var Un={visible:"visibility",select:"user-select",vertical:"vertical-align",backface:"backface-visibility",whitespace:"white-space",break:"word-break",case:"text-transform",origin:"transform-origin","bg-opacity":"background-opacity",tab:"tab-size",underline:"text-decoration-thickness","underline-offset":"text-underline-offset","grid-cols":"grid-template-columns","grid-rows":"grid-template-rows","auto-flow":"grid-auto-flow","row-start":"grid-row-start","row-end":"grid-row-end",justify:"justify-content",content:"align-content",items:"align-items",self:"align-self",object:"object-fit"},Zt=[[/^(.+)-\$(.+)$/,([,e,t])=>{let r=Un[e];if(r)return{[r]:`var(--${t})`}}]];var Jt=[[/^(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 Qt=[["underline",{"text-decoration":"underline"}],["line-through",{"text-decoration":"line-through"}],["decoration-underline",{"text-decoration":"underline"}],["decoration-line-through",{"text-decoration":"line-through"}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,([,e])=>({"text-decoration-thickness":c.bracket.px(e)})],[/^(?:underline|decoration)-(auto|from-font)$/,([,e])=>({"text-decoration-thickness":e})],[/^(?:underline|decoration)-(.+)$/,(e,t)=>{let r=R("text-decoration-color","line")(e,t);if(r)return k({"-webkit-text-decoration-color":r["text-decoration-color"]},r)}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-line-opacity":c.bracket.percent(e)})],[/^underline-offset-(.+)$/,([,e])=>({"text-underline-offset":c.auto.bracket.px(e)})],[/^(?:underline|decoration)-(solid|double|dotted|dashed|wavy|inherit|initial|revert|unset)$/,([,e])=>({"text-decoration-style":e})],["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];var er=[[/^fill-(.+)$/,R("fill","fill")],[/^fill-op(?:acity)?-?(.+)$/,([,e])=>({"--un-fill-opacity":c.bracket.percent(e)})],["fill-none",{fill:"none"}],[/^stroke-(?:size-|width-)?(.+)$/,([,e])=>({"stroke-width":c.bracket.fraction.px.number(e)})],[/^stroke-(.+)$/,R("stroke","stroke")],[/^stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-stroke-opacity":c.bracket.percent(e)})],["stroke-none",{stroke:"none"}]];var tr=[Zt,_t,Dt,wt,qe,Xe,er,Ie,Et,et,tt,rt,Vt,Qt,nt,ot,At,ke,Ye,zt,Pt,Ut,jt,Qe,ct,st,de,Ot,Ft,vt,$t,St,Rt,Re,kt,Ct,Tt,ft,Ke,We,de,pt,ut,dt,mt,ht,xt,bt,yt,Je,qt,Be,Jt].flat(1);var ge={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(ge).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 rr={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(",")},nr={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"]},or={DEFAULT:"1.5rem",xs:"0.5rem",sm:"1rem",md:"1.5rem",lg:"2rem",xl:"2.5rem","2xl":"3rem","3xl":"4rem"},ir={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},sr={DEFAULT:"0px 0px 1px rgb(0 0 0/20%), 0px 0px 1px rgb(1 0 5/10%)",sm:"1px 1px 3px rgb(36 37 47 / 25%)",md:"0px 1px 2px rgb(30 29 39 / 19%), 1px 2px 4px rgb(54 64 147 / 18%)",lg:"3px 3px 6px rgb(0 0 0 / 26%), 0 0 5px rgb(15 3 86 / 22%)",xl:"1px 1px 3px rgb(0 0 0 / 29%), 2px 4px 7px rgb(73 64 125 / 35%)",none:"none"},ar={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},he={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},cr=he;var lr={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},fr={DEFAULT:"0.25rem",none:"0px",sm:"0.125rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},ur={DEFAULT:"var(--un-shadow-inset) 0 1px 3px 0 rgba(var(--un-shadow-color), 0.1), var(--un-shadow-inset) 0 1px 2px 0 rgba(var(--un-shadow-color), 0.06)",sm:"var(--un-shadow-inset) 0 1px 2px 0 rgba(var(--un-shadow-color), 0.05)",md:"var(--un-shadow-inset) 0 4px 6px -1px rgba(var(--un-shadow-color), 0.1), var(--un-shadow-inset) 0 2px 4px -1px rgba(var(--un-shadow-color), 0.06)",lg:"var(--un-shadow-inset) 0 10px 15px -3px rgba(var(--un-shadow-color), 0.1), var(--un-shadow-inset) 0 4px 6px -2px rgba(var(--un-shadow-color), 0.05)",xl:"var(--un-shadow-inset) 0 20px 25px -5px rgba(var(--un-shadow-color), 0.1), var(--un-shadow-inset) 0 10px 10px -5px rgba(var(--un-shadow-color), 0.04)","2xl":"var(--un-shadow-inset) 0 25px 50px -12px rgba(var(--un-shadow-color), 0.25)",inner:"inset 0 2px 4px 0 rgba(var(--un-shadow-color), 0.06)",none:"none"};var pr={DEFAULT:"8px","0":"0",sm:"4px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},dr={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 J={xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",min:"min-content",max:"max-content",prose:"65ch"},mr=U(k({auto:"auto"},J),{screen:"100vw"}),xe=U(k({none:"none"},J),{screen:"100vw"}),gr=U(k({auto:"auto"},J),{screen:"100vh"}),be=U(k({none:"none"},J),{screen:"100vh"});var hr={width:mr,height:gr,maxWidth:xe,maxHeight:be,minWidth:xe,minHeight:be,colors:ge,fontFamily:rr,fontSize:nr,breakpoints:lr,borderRadius:fr,lineHeight:ar,letterSpacing:he,wordSpacing:cr,boxShadow:ur,textIndent:or,textShadow:sr,textStrokeWidth:ir,blur:pr,dropShadow:dr};var ye={},xr=(e,{theme:t})=>{let r=Object.entries(t.breakpoints||{}).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,f=e.slice(a.length);if(f==="container")continue;let l="min",d=1e3;return a.startsWith("lt-")?(l="max",d-=i+1):d+=i+1,a.startsWith("at-")&&i<r.length-1?{matcher:f,parent:[`@media (min-width: ${o}) and (max-width: ${r[i+1][1]})`,d]}:{matcher:f,parent:[`@media (${l}-width: ${o})`,d]}}};var br=[C("all",e=>`${e} *`),C("children",e=>`${e}>*`),C("next",e=>`${e}+*`),C("sibling",e=>`${e}+*`),C("siblings",e=>`${e}~*`),C("svg",e=>`${e} svg *`)];var yr=[(e,{options:{dark:t}})=>{if(t==="class")return C("dark",r=>`.dark $$ ${r}`)(e)},(e,{options:{dark:t}})=>{if(t==="class")return C("light",r=>`.light $$ ${r}`)(e)},(e,{options:{dark:t}})=>{if(t==="media")return A("dark","@media (prefers-color-scheme: dark)")(e)},(e,{options:{dark:t}})=>{if(t==="media")return A("light","@media (prefers-color-scheme: light)")(e)}];var wr=[C("rtl",e=>`[dir="rtl"] $$ ${e}`),C("ltr",e=>`[dir="ltr"] $$ ${e}`)];var $r={match(e){if(e.startsWith("!"))return{matcher:e.slice(1),body:t=>(t.forEach(r=>{r[1]&&(r[1]+=" !important")}),t)}}},vr={match(e){if(e.startsWith("-"))return{matcher:e.slice(1),body:t=>(t.forEach(r=>{var n,o;r[0].startsWith("--un-scale")||((n=r[1])==null?void 0:n.toString())==="0"||(r[1]=(o=r[1])==null?void 0:o.toString().replace(/[0-9.]+(?:[a-z]+|%)?/,i=>`-${i}`))}),t)}}},Sr=e=>{if(/^space-?([xy])-?(-?.+)$/.test(e)||/^divide-/.test(e))return{matcher:e,selector:t=>`${t}>:not([hidden])~:not([hidden])`}};var Rr=[A("motion-reduce","@media (prefers-reduced-motion: reduce)"),A("motion-safe","@media (prefers-reduced-motion: no-preference)")];var kr=[A("landscape","@media (orientation: landscape)"),A("portrait","@media (orientation: portrait)")];var Cr=A("print","@media print");var Er=[Sr,vr,$r,Cr,...kr,...Rr,xr,...br,Kt,Wt,Bt,Nt,It,...yr,...wr];var Mn=(e={})=>{var t,r;return e.dark=(t=e.dark)!=null?t:"class",e.attributifyPseudo=(r=e.attributifyPseudo)!=null?r:!1,{name:"@unocss/preset-mini",theme:hr,rules:tr,variants:Er,options:e,postprocess:e.variablePrefix&&e.variablePrefix!=="un-"?On(e.variablePrefix):void 0}},Tr=Mn;function On(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 Fn=["v-bind:",":"],Vr=/[\s'"`;]+/g,_n=/<\w[\w:\.$-]*\s((?:'[\s\S]*?'|"[\s\S]*?"|`[\s\S]*?`|\{[\s\S]*?\}|[\s\S]*?)*?)>/g,Dn=/([?]|(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:%-]+)(?:=(["'])([^\2]*?)\2)?/g,Ar={name:"attributify",extract({code:e,options:{ignoreAttributes:t,nonValuedAttribute:r}}){let n=Array.from(e.matchAll(_n)).flatMap(o=>Array.from((o[1]||"").matchAll(Dn))).flatMap(([,o,i,s])=>{if(t==null?void 0:t.includes(o))return[];for(let a of Fn)if(o.startsWith(a)){o=o.slice(a.length);break}return s?["class","className"].includes(o)?s.split(Vr).filter(H):s.split(Vr).filter(Boolean).map(a=>`[${o}~="${a}"]`):H(o)&&r!==!1?[`[${o}=""]`]:[]});return new Set(n)}};var Ln=/^(.+\:\!?)?(.*?)$/,zr=(e,{options:{prefix:t,prefixedOnly:r}})=>{let n=Ae(e);if(!n)return;let o=n[1];if(o.startsWith(t))o=o.slice(t.length);else if(r)return;let i=n[2],[,s="",a=i]=i.match(Ln)||[];return a==="~"||!a?`${s}${o}`:`${s}${o}-${a}`};var Hn=(e={})=>{var n,o,i,s,a;e.strict=(n=e.strict)!=null?n:!1,e.prefix=(o=e.prefix)!=null?o:"un-",e.prefixedOnly=(i=e.prefixedOnly)!=null?i:!1,e.nonValuedAttribute=(s=e.nonValuedAttribute)!=null?s:!0,e.ignoreAttributes=(a=e.ignoreAttributes)!=null?a:[];let t=[zr],r=[Ar];return e.strict||r.unshift(N),{name:"@unocss/preset-attributify",variants:t,extractors:r,options:e}},Pr=Hn;function we(e={}){var v;if(typeof window=="undefined"){console.warn("@unocss/runtime been used in non-browser environment, skipped.");return}Object.assign(e,(v=window.__unocss)==null?void 0:v.runtime);let t,r=!1,n,o=De(window.__unocss||{},e.defaults),i=new Set,s;function a(){s!=null&&clearTimeout(s),s=setTimeout(f,0)}async function f(){let y=await o.generate(i);t||(t=document.createElement("style"),document.head.appendChild(t)),t.innerHTML=y.css}async function l(y){await o.applyExtractors(y,void 0,i),a()}async function d(){let y=document.body&&document.body.outerHTML;y&&await l(y)}let x=new MutationObserver(y=>{r||y.forEach(j=>{let u=j.target;if(u===t||n&&!n(u))return;let h=Array.from(u.attributes).map(b=>b.value?`${b.name}="${b.value}"`:b.name).join(" "),m=`<${u.tagName.toLowerCase()} ${h}>`;l(m)})}),$=!1;function g(){if(!$)return;let y=document.documentElement||document.body;!y||(x.observe(y,{childList:!0,subtree:!0,attributes:!0}),$=!0)}function p(){d(),g()}window.__unocss_runtime=window.__unocss_runtime={version:o.version,uno:o,extractAll:d,inspect(y){n=y},toggleObserver(y){y===void 0?r=!r:r=!!y}},p(),window.addEventListener("load",p),window.addEventListener("DOMContentLoaded",p)}we({defaults:{presets:[Tr(),Pr()]}});})();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/runtime",
|
|
3
|
-
"version": "0.20.
|
|
3
|
+
"version": "0.20.2",
|
|
4
4
|
"description": "CSS-in-JS Runtime for UnoCSS",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"unocss",
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
"dist"
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@unocss/core": "0.20.
|
|
38
|
-
"@unocss/preset-attributify": "0.20.
|
|
39
|
-
"@unocss/preset-uno": "0.20.
|
|
37
|
+
"@unocss/core": "0.20.2",
|
|
38
|
+
"@unocss/preset-attributify": "0.20.2",
|
|
39
|
+
"@unocss/preset-uno": "0.20.2"
|
|
40
40
|
},
|
|
41
41
|
"scripts": {
|
|
42
42
|
"build": "pnpm run build:node && pnpm run build:cdn",
|