@vuebro/runtime 1.1.22 → 1.1.23
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/dist/.vite/manifest.json +1 -71
- package/dist/assets/{NotFoundView-BVv0V8y2.js → NotFoundView-BGAEMJy-.js} +1 -1
- package/dist/assets/{PageView-BQFamo0k.js → PageView-DgUl2Tsz.js} +1 -1
- package/dist/assets/{RootView-CDfu-YiG.js → RootView-DD4jCgxE.js} +1 -1
- package/dist/assets/{index-3d_4pZub.js → index-BoJtmx-3.js} +2 -2
- package/dist/assets/unocss-CXIOlVgb.js +415 -0
- package/dist/index.html +2 -2
- package/package.json +1 -1
- package/dist/assets/index-BYrZTLvo.js +0 -1
- package/dist/assets/unocss-DiMZmLW3.js +0 -415
|
@@ -0,0 +1,415 @@
|
|
|
1
|
+
const Tn="modulepreload",Nn=function(e,t){return new URL(e,t).href},Xt={},Wn=function(t,r,n){let o=Promise.resolve();if(r&&r.length>0){let u=function(c){return Promise.all(c.map(p=>Promise.resolve(p).then(d=>({status:"fulfilled",value:d}),d=>({status:"rejected",reason:d}))))};const a=document.getElementsByTagName("link"),s=document.querySelector("meta[property=csp-nonce]"),l=s?.nonce||s?.getAttribute("nonce");o=u(r.map(c=>{if(c=Nn(c,n),c in Xt)return;Xt[c]=!0;const p=c.endsWith(".css"),d=p?'[rel="stylesheet"]':"";if(!!n)for(let k=a.length-1;k>=0;k--){const $=a[k];if($.href===c&&(!p||$.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${d}`))return;const m=document.createElement("link");if(m.rel=p?"stylesheet":Tn,p||(m.as="script"),m.crossOrigin="",m.href=c,l&&m.setAttribute("nonce",l),document.head.appendChild(m),p)return new Promise((k,$)=>{m.addEventListener("load",k),m.addEventListener("error",()=>$(new Error(`Unable to preload CSS for ${c}`)))})}))}function i(a){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=a,window.dispatchEvent(s),!s.defaultPrevented)throw a}return o.then(a=>{for(const s of a||[])s.status==="rejected"&&i(s.reason);return t().catch(i)})},De="default",xt="preflights",Vn="shortcuts",Dr="imports",Un={[Dr]:-200,[xt]:-100,[Vn]:-10,[De]:0},qr=/[\\:]?[\s'"`;{}]+/g;function In(e){return e.split(qr)}const Bn={name:"@unocss/core/extractor-split",order:0,extract({code:e}){return In(e)}};function O(e=[]){return Array.isArray(e)?e:[e]}function ne(e){return Array.from(new Set(e))}function Gt(e,t){return e.reduce((r,n)=>(r.findIndex(i=>t(n,i))===-1&&r.push(n),r),[])}function T(e){return typeof e=="string"}class Hr extends Set{_map=new Map;constructor(t){if(super(),t)for(const r of t)this.add(r)}add(t){return this._map.set(t,(this._map.get(t)??0)+1),super.add(t)}delete(t){return this._map.has(t)?(this._map.delete(t),super.delete(t)):!1}clear(){this._map.clear(),super.clear()}getCount(t){return this._map.get(t)??0}setCount(t,r){return this._map.set(t,r),super.add(t)}}function ct(e){return e instanceof Hr}function _e(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function be(e){const t=e.length;let r=-1,n,o="";const i=e.charCodeAt(0);for(;++r<t;){if(n=e.charCodeAt(r),n===0){o+="�";continue}if(n===37){o+="\\%";continue}if(n===44){o+="\\,";continue}if(n>=1&&n<=31||n===127||r===0&&n>=48&&n<=57||r===1&&n>=48&&n<=57&&i===45){o+=`\\${n.toString(16)} `;continue}if(r===0&&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}const ut=be;function Dn(){return{events:{},emit(e,...t){(this.events[e]||[]).forEach(r=>r(...t))},on(e,t){return(this.events[e]=this.events[e]||[]).push(t),()=>this.events[e]=(this.events[e]||[]).filter(r=>r!==t)}}}const qn=/^\[(.+?)~?="(.*)"\]$/,Hn=/[\w\u00A0-\uFFFF%-?]/;function Yn(e){return e.match(qn)}function St(e=""){return Hn.test(e)}function Xn(e){return typeof e=="function"?{match:e}:e}function Kt(e){return e.length===3}function qe(e){return e!=null}function Gn(){}class Kn{_map=new Map;get(t,r){const 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){return this._map.get(t)?.has(r)}delete(t,r){return this._map.get(t)?.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)))}}class Jn extends Map{getFallback(t,r){const n=this.get(t);return n===void 0?(this.set(t,r),r):n}map(t){const r=[];return this.forEach((n,o)=>{r.push(t(n,o))}),r}flatMap(t){const r=[];return this.forEach((n,o)=>{r.push(...t(n,o))}),r}}function Xe(e){return T(e)?e:(Array.isArray(e)?e:Object.entries(e)).filter(t=>t[1]!=null)}function Zn(e){return Array.isArray(e)?e.find(t=>!Array.isArray(t)||Array.isArray(t[0]))?e.map(t=>Xe(t)):[e]:[Xe(e)]}function Qn(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 ft(e){return e==null?"":Qn(e).map(([t,r])=>r!=null&&typeof r!="function"?`${t}:${r};`:void 0).filter(Boolean).join("")}function Ne(e){return e&&typeof e=="object"&&!Array.isArray(e)}function et(e,t,r=!1){const n=e,o=t;if(Array.isArray(o))return r&&Array.isArray(o)?[...n,...o]:[...o];const i={...n};return Ne(n)&&Ne(o)&&Object.keys(o).forEach(a=>{Ne(n[a])&&Ne(o[a])||Array.isArray(n[a])&&Array.isArray(o[a])?i[a]=et(n[a],o[a],r):Object.assign(i,{[a]:o[a]})}),i}function He(e){let t,r,n;if(Array.isArray(e)){for(r=Array.from({length:t=e.length});t--;)r[t]=(n=e[t])&&typeof n=="object"?He(n):n;return r}if(Object.prototype.toString.call(e)==="[object Object]"){r={};for(t in e)t==="__proto__"?Object.defineProperty(r,t,{value:He(e[t]),configurable:!0,enumerable:!0,writable:!0}):r[t]=(n=e[t])&&typeof n=="object"?He(n):n;return r}return e}function eo(e){return T(e[0])}function to(e){return T(e[0])}const We={};function ro(e=["-",":"]){const t=e.join("|");return We[t]||(We[t]=new RegExp(`((?:[!@<~\\w+:_-]|\\[&?>?:?\\S*\\])+?)(${t})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[[^\\]]*?\\])+?)\\)(?!\\s*?=>)`,"gm")),We[t].lastIndex=0,We[t]}function no(e,t=["-",":"],r=5){const n=ro(t);let o,i=e.toString();const a=new Set,s=new Map;do o=!1,i=i.replace(n,(u,c,p,d,h)=>{if(!t.includes(p))return u;o=!0,a.add(c+p);const m=h+c.length+p.length+1,k={length:u.length,items:[]};s.set(h,k);for(const $ of[...d.matchAll(/\S+/g)]){const C=m+$.index;let g=s.get(C)?.items;g?s.delete(C):g=[{offset:C,length:$[0].length,className:$[0]}];for(const y of g)y.className=y.className==="~"?c:y.className.replace(/^(!?)(.*)/,`$1${c}${p}$2`),k.items.push(y)}return"$".repeat(u.length)}),r-=1;while(o&&r);let l;if(typeof e=="string"){l="";let u=0;for(const[c,p]of s)l+=e.slice(u,c),l+=p.items.map(d=>d.className).join(" "),u=c+p.length;l+=e.slice(u)}else{l=e;for(const[u,c]of s)l.overwrite(u,u+c.length,c.items.map(p=>p.className).join(" "))}return{prefixes:Array.from(a),hasChanged:o,groupsByOffset:s,get expanded(){return l.toString()}}}function oo(e,t=["-",":"],r=5){const n=no(e,t,r);return typeof e=="string"?n.expanded:e}const Jt=new Set;function io(e){Jt.has(e)||(console.warn("[unocss]",e),Jt.add(e))}function Yr(e){return O(e).flatMap(t=>Array.isArray(t)?[t]:Object.entries(t))}const Zt="_uno_resolved";async function so(e){let t=typeof e=="function"?await e():await e;if(Zt in t)return t;t={...t},Object.defineProperty(t,Zt,{value:!0,enumerable:!1});const r=t.shortcuts?Yr(t.shortcuts):void 0;if(t.shortcuts=r,t.prefix||t.layer){const n=o=>{o[2]||(o[2]={});const i=o[2];i.prefix==null&&t.prefix&&(i.prefix=O(t.prefix)),i.layer==null&&t.layer&&(i.layer=t.layer)};r?.forEach(n),t.rules?.forEach(n)}return t}async function Xr(e){const t=await so(e);if(!t.presets)return[t];const r=(await Promise.all((t.presets||[]).flatMap(O).flatMap(Xr))).flat();return[t,...r]}function ao(e){if(e.length===0)return{};const t=[],r=[];let n=!1;const o=[],i=[];for(const s of e){if(s.pipeline===!1){n=!0;break}else s.pipeline?.include&&t.push(s.pipeline.include),s.pipeline?.exclude&&r.push(s.pipeline.exclude);s.filesystem&&o.push(s.filesystem),s.inline&&i.push(s.inline)}const a={pipeline:n?!1:{include:ne(er(...t)),exclude:ne(er(...r))}};return o.length&&(a.filesystem=ne(o.flat())),i.length&&(a.inline=ne(i.flat())),a}async function Qt(e={},t={}){const r=Object.assign({},t,e),n=Gt((await Promise.all((r.presets||[]).flatMap(O).flatMap(Xr))).flat(),(b,E)=>b.name===E.name),o=[...n.filter(b=>b.enforce==="pre"),...n.filter(b=>!b.enforce),...n.filter(b=>b.enforce==="post")],i=[...o,r],a=[...i].reverse(),s=Object.assign({},Un,...i.map(b=>b.layers));function l(b){return ne(i.flatMap(E=>O(E[b]||[])))}const u=l("extractors");let c=a.find(b=>b.extractorDefault!==void 0)?.extractorDefault;c===void 0&&(c=Bn),c&&!u.includes(c)&&u.unshift(c),u.sort((b,E)=>(b.order||0)-(E.order||0));const p=l("rules"),d={},h=p.length,m=p.filter(b=>eo(b)?(O(b[2]?.prefix||"").forEach(v=>{d[v+b[0]]=b}),!1):!0).reverse(),k={templates:ne(i.flatMap(b=>O(b.autocomplete?.templates))),extractors:i.flatMap(b=>O(b.autocomplete?.extractors)).sort((b,E)=>(b.order||0)-(E.order||0)),shorthands:co(i.map(b=>b.autocomplete?.shorthands||{}))};let $=l("separators");$.length||($=[":","-"]);const C=l("content"),g=ao(C),y={mergeSelectors:!0,warn:!0,sortLayers:b=>b,...r,blocklist:l("blocklist"),presets:o,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:s,theme:lo(i.map(b=>b.theme)),rules:p,rulesSize:h,rulesDynamic:m,rulesStaticMap:d,preprocess:l("preprocess"),postprocess:l("postprocess"),preflights:l("preflights"),autocomplete:k,variants:l("variants").map(Xn).sort((b,E)=>(b.order||0)-(E.order||0)),shortcuts:Yr(l("shortcuts")).reverse(),extractors:u,safelist:l("safelist"),separators:$,details:r.details??r.envMode==="dev",content:g,transformers:Gt(l("transformers"),(b,E)=>b.name===E.name)},x=l("extendTheme");for(const b of x)y.theme=b(y.theme,y)||y.theme;for(const b of i)b?.configResolved?.(y);return y}function lo(e){return e.map(t=>t?He(t):{}).reduce((t,r)=>et(t,r),{})}function co(e){return e.reduce((t,r)=>{const n={};for(const o in r){const i=r[o];Array.isArray(i)?n[o]=`(${i.join("|")})`:n[o]=i}return{...t,...n}},{})}function er(...e){return e.flatMap(uo)}function uo(e){return Array.isArray(e)?e:e?[e]:[]}function Du(e){return e}const fo="66.4.2",U={shortcutsNoMerge:"$$symbol-shortcut-no-merge",noMerge:"$$symbol-no-merge",variants:"$$symbol-variants",parent:"$$symbol-parent",selector:"$$symbol-selector",layer:"$$symbol-layer",sort:"$$symbol-sort"};class Lt{constructor(t={},r={}){this.userConfig=t,this.defaults=r}version=fo;events=Dn();config=void 0;cache=new Map;blocked=new Set;parentOrders=new Map;activatedRules=new Set;static async create(t={},r={}){const n=new Lt(t,r);return n.config=await Qt(n.userConfig,n.defaults),n.events.emit("config",n.config),n}async setConfig(t,r){t&&(r&&(this.defaults=r),this.userConfig=t,this.blocked.clear(),this.parentOrders.clear(),this.activatedRules.clear(),this.cache.clear(),this.config=await Qt(t,this.defaults),this.events.emit("config",this.config))}async applyExtractors(t,r,n=new Set){const o={original:t,code:t,id:r,extracted:n,envMode:this.config.envMode};for(const i of this.config.extractors){const a=await i.extract?.(o);if(a)if(ct(a)&&ct(n))for(const s of a)n.setCount(s,n.getCount(s)+a.getCount(s));else for(const s of a)n.add(s)}return n}makeContext(t,r){const n={rawSelector:t,currentSelector:r[1],theme:this.config.theme,generator:this,symbols:U,variantHandlers:r[2],constructCSS:(...o)=>this.constructCustomCSS(n,...o),variantMatch:r};return n}async parseToken(t,r){if(this.blocked.has(t))return;const n=`${t}${r?` ${r}`:""}`;if(this.cache.has(n))return this.cache.get(n);const o=this.config.preprocess.reduce((l,u)=>u(l)??l,t);if(this.isBlocked(o)){this.blocked.add(t),this.cache.set(n,null);return}const i=await this.matchVariants(t,o);if(i.every(l=>!l||this.isBlocked(l[1]))){this.blocked.add(t),this.cache.set(n,null);return}const a=async l=>{const u=this.makeContext(t,[r||l[0],l[1],l[2],l[3]]);this.config.details&&(u.variants=[...l[3]]);const c=await this.expandShortcut(u.currentSelector,u);return c?await this.stringifyShortcuts(u.variantMatch,u,c[0],c[1]):(await this.parseUtil(u.variantMatch,u))?.map(d=>this.stringifyUtil(d,u)).filter(qe)},s=(await Promise.all(i.map(l=>a(l)))).flat().filter(l=>!!l);if(s?.length)return this.cache.set(n,s),s;this.cache.set(n,null)}async generate(t,r={}){const{id:n,scope:o,preflights:i=!0,safelist:a=!0,minify:s=!1,extendedInfo:l=!1}=r,u=T(t)?await this.applyExtractors(t,n,l?new Hr:new Set):Array.isArray(t)?new Set(t):t;if(a){const v={generator:this,theme:this.config.theme};this.config.safelist.flatMap(S=>typeof S=="function"?S(v):S).forEach(S=>{const R=S.trim();R&&!u.has(R)&&u.add(R)})}const c=s?"":`
|
|
2
|
+
`,p=new Set([De]),d=l?new Map:new Set,h=new Map;let m={};const k=Array.from(u).map(async v=>{if(d.has(v))return;const S=await this.parseToken(v);if(S!=null){d instanceof Map?d.set(v,{data:S,count:ct(u)?u.getCount(v):-1}):d.add(v);for(const R of S){const q=R[3]||"",H=R[4]?.layer;h.has(q)||h.set(q,[]),h.get(q).push(R),H&&p.add(H)}}});await Promise.all(k),await(async()=>{if(!i)return;const v={generator:this,theme:this.config.theme},S=new Set([]);this.config.preflights.forEach(({layer:R=xt})=>{p.add(R),S.add(R)}),m=Object.fromEntries(await Promise.all(Array.from(S).map(async R=>{const H=(await Promise.all(this.config.preflights.filter(G=>(G.layer||xt)===R).map(async G=>await G.getCSS(v)))).filter(Boolean).join(c);return[R,H]})))})();const $=this.config.sortLayers(Array.from(p).sort((v,S)=>(this.config.layers[v]??0)-(this.config.layers[S]??0)||v.localeCompare(S))),C={},g=this.config.outputToCssLayers,y=v=>{let S=v;return typeof g=="object"&&(S=g.cssLayerName?.(v)),S===null?null:S??v},x=(v=De)=>{if(C[v])return C[v];let S=Array.from(h).sort((H,G)=>(this.parentOrders.get(H[0])??0)-(this.parentOrders.get(G[0])??0)||H[0]?.localeCompare(G[0]||"")||0).map(([H,G])=>{const j=G.length,_=G.filter(M=>(M[4]?.layer||De)===v).sort((M,K)=>M[0]-K[0]||(M[4]?.sort||0)-(K[4]?.sort||0)||M[5]?.currentSelector?.localeCompare(K[5]?.currentSelector??"")||M[1]?.localeCompare(K[1]||"")||M[2]?.localeCompare(K[2]||"")||0).map(([,M,K,,Te,,at])=>[[[(M&&mo(M,o))??"",Te?.sort??0]],K,!!(at??Te?.noMerge)]);if(!_.length)return;const F=_.reverse().map(([M,K,Te],at)=>{if(!Te&&this.config.mergeSelectors)for(let ie=at+1;ie<j;ie++){const te=_[ie];if(te&&!te[2]&&(M&&te[0]||M==null&&te[0]==null)&&te[1]===K)return M&&te[0]&&te[0].push(...M),null}const lt=M?ne(M.sort((ie,te)=>ie[1]-te[1]||ie[0]?.localeCompare(te[0]||"")||0).map(ie=>ie[0]).filter(Boolean)):[];return lt.length?`${lt.join(`,${c}`)}{${K}}`:K}).filter(Boolean),L=Array.from(new Set(F)).reverse().join(c);if(!H)return L;const I=H.split(" $$ ");return`${I.join("{")}{${c}${L}${c}${"}".repeat(I.length)}`}).filter(Boolean).join(c);i&&(S=[m[v],S].filter(Boolean).join(c));let R;g&&S&&(R=y(v),R!==null&&(S=`@layer ${R}{${c}${S}${c}}`));const q=s?"":`/* layer: ${v}${R&&R!==v?`, alias: ${R}`:""} */${c}`;return C[v]=S?q+S:""},b=(v=$,S)=>{const R=v.filter(q=>!S?.includes(q));return[g&&R.length>0?`@layer ${R.map(y).filter(qe).join(", ")};`:void 0,...R.map(q=>x(q)||"")].filter(Boolean).join(c)};return{get css(){return b()},layers:$,matched:d,getLayers:b,getLayer:x,setLayer:async(v,S)=>{const R=await S(x(v));return C[v]=R,R}}}async matchVariants(t,r){const n={rawSelector:t,theme:this.config.theme,generator:this},o=async i=>{let a=!0;const[,,s,l]=i;for(;a;){a=!1;const u=i[1];for(const c of this.config.variants){if(!c.multiPass&&l.has(c))continue;let p=await c.match(u,n);if(p){if(T(p)){if(p===u)continue;p={matcher:p}}if(Array.isArray(p)){if(!p.length)continue;if(p.length===1)p=p[0];else{if(c.multiPass)throw new Error("multiPass can not be used together with array return variants");const d=p.map(h=>{const m=h.matcher??u,k=[h,...s],$=new Set(l);return $.add(c),[i[0],m,k,$]});return(await Promise.all(d.map(h=>o(h)))).flat()}}i[1]=p.matcher??u,s.unshift(p),l.add(c),a=!0;break}}if(!a)break;if(s.length>500)throw new Error(`Too many variants applied to "${t}"`)}return[i]};return await o([t,r||t,[],new Set])}applyVariants(t,r=t[4],n=t[1]){const i=r.slice().sort((u,c)=>(u.order||0)-(c.order||0)).reduceRight((u,c)=>p=>{const d=c.body?.(p.entries)||p.entries,h=Array.isArray(c.parent)?c.parent:[c.parent,void 0],m=c.selector?.(p.selector,d);return(c.handle??go)({...p,entries:d,selector:m||p.selector,parent:h[0]||p.parent,parentOrder:h[1]||p.parentOrder,layer:c.layer||p.layer,sort:c.sort||p.sort},u)},u=>u)({prefix:"",selector:Kr(n),pseudo:"",entries:t[2]}),{parent:a,parentOrder:s}=i;a!=null&&s!=null&&this.parentOrders.set(a,s);const l={selector:[i.prefix,i.selector,i.pseudo].join(""),entries:i.entries,parent:a,layer:i.layer,sort:i.sort,noMerge:i.noMerge};for(const u of this.config.postprocess)u(l);return l}constructCustomCSS(t,r,n){const o=Xe(r);if(T(o))return o;const{selector:i,entries:a,parent:s}=this.applyVariants([0,n||t.rawSelector,o,void 0,t.variantHandlers]),l=`${i}{${ft(a)}}`;return s?`${s}{${l}}`:l}async parseUtil(t,r,n=!1,o){const i=T(t)?await this.matchVariants(t):[t],a=async([l,u,c])=>{this.config.details&&(r.rules=r.rules??[]);const p={...r,variantHandlers:c},d=this.config.rulesStaticMap[u];if(d&&d[1]&&(n||!d[2]?.internal))return this.resolveCSSResult(l,d[1],d,p);for(const h of this.config.rulesDynamic){const[m,k,$]=h;if($?.internal&&!n)continue;let C=u;if($?.prefix){const b=O($.prefix);if(o){const E=O(o);if(!b.some(v=>E.includes(v)))continue}else{const E=b.find(v=>u.startsWith(v));if(E==null)continue;C=u.slice(E.length)}}const g=C.match(m);if(!g)continue;let y=await k(g,p);if(!y)continue;if(typeof y!="string")if(Symbol.asyncIterator in y){const b=[];for await(const E of y)E&&b.push(E);y=b}else Symbol.iterator in y&&!Array.isArray(y)&&(y=Array.from(y).filter(qe));const x=this.resolveCSSResult(l,y,h,p);if(x)return x}},s=(await Promise.all(i.map(l=>a(l)))).flat().filter(l=>!!l);if(s.length)return s}resolveCSSResult=(t,r,n,o)=>{const i=Zn(r).filter(a=>a.length);if(i.length){this.config.details&&o.rules.push(n),o.generator.activatedRules.add(n);const a=o.generator.config.rules.indexOf(n),s=n[2];return i.map(l=>{if(T(l))return[a,l,s];let u=o.variantHandlers,c=s;for(const p of l)p[0]===U.variants?typeof p[1]=="function"?u=p[1](u)||u:u=[...O(p[1]),...u]:p[0]===U.parent?u=[{parent:p[1]},...u]:p[0]===U.selector?u=[{selector:p[1]},...u]:p[0]===U.layer?u=[{layer:p[1]},...u]:p[0]===U.sort?c={...c,sort:p[1]}:p[0]===U.noMerge&&(c={...c,noMerge:p[1]});return[a,t,l,c,u]})}};stringifyUtil(t,r){if(!t)return;if(Kt(t))return[t[0],void 0,t[1],void 0,t[2],this.config.details?r:void 0,void 0];const{selector:n,entries:o,parent:i,layer:a,sort:s,noMerge:l}=this.applyVariants(t),u=ft(o);if(!u)return;const{layer:c,sort:p,...d}=t[3]??{},h={...d,layer:a??c,sort:s??p};return[t[0],n,u,i,h,this.config.details?r:void 0,l]}async expandShortcut(t,r,n=5){if(n===0)return;const o=this.config.details?u=>{r.shortcuts=r.shortcuts??[],r.shortcuts.push(u)}:Gn;let i,a,s,l;for(const u of this.config.shortcuts){let c=t;if(u[2]?.prefix){const d=O(u[2].prefix).find(h=>t.startsWith(h));if(d==null)continue;c=t.slice(d.length)}if(to(u)){if(u[0]===c){i=i||u[2],a=u[1],o(u);break}}else{const p=c.match(u[0]);if(p&&(a=u[1](p,r)),a){i=i||u[2],o(u);break}}}if(a&&(s=ne(O(a).filter(T).map(u=>oo(u.trim()).split(/\s+/g)).flat()),l=O(a).filter(u=>!T(u)).map(u=>({handles:[],value:u}))),!a){const u=T(t)?await this.matchVariants(t):[t];for(const c of u){const[p,d,h]=c;if(p!==d){const m=await this.expandShortcut(d,r,n-1);m&&(s=m[0].filter(T).map(k=>p.replace(d,k)),l=m[0].filter(k=>!T(k)).map(k=>({handles:[...k.handles,...h],value:k.value})))}}}if(!(!s?.length&&!l?.length))return[[await Promise.all(O(s).map(async u=>(await this.expandShortcut(u,r,n-1))?.[0]||[u])),l].flat(2).filter(u=>!!u),i]}async stringifyShortcuts(t,r,n,o={layer:this.config.shortcutsLayer}){const i=new Jn,a=(await Promise.all(ne(n).map(async c=>{const p=T(c)?await this.parseUtil(c,r,!0,o.prefix):[[Number.POSITIVE_INFINITY,"{inline}",Xe(c.value),void 0,c.handles]];return!p&&this.config.warn&&io(`unmatched utility "${c}" in shortcut "${t[1]}"`),p||[]}))).flat(1).filter(Boolean).sort((c,p)=>c[0]-p[0]),[s,,l]=t,u=[];for(const c of a){if(Kt(c)){u.push([c[0],void 0,c[1],void 0,c[2],r,void 0]);continue}const{selector:p,entries:d,parent:h,sort:m,noMerge:k,layer:$}=this.applyVariants(c,[...c[4],...l],s);i.getFallback($??o.layer,new Kn).getFallback(p,h,[[],c[0]])[0].push([d,!!(k??c[3]?.noMerge),m??0])}return u.concat(i.flatMap((c,p)=>c.map(([d,h],m,k)=>{const $=(g,y,x)=>{const b=Math.max(...x.map(v=>v[1])),E=x.map(v=>v[0]);return(g?[E.flat(1)]:E).map(v=>{const S=ft(v);if(S)return[h,m,S,k,{...o,noMerge:y,sort:b,layer:p},r,void 0]})};return[[d.filter(([,g])=>g).map(([g,,y])=>[g,y]),!0],[d.filter(([,g])=>!g).map(([g,,y])=>[g,y]),!1]].map(([g,y])=>[...$(!1,y,g.filter(([x])=>x.some(b=>b[0]===U.shortcutsNoMerge))),...$(!0,y,g.filter(([x])=>x.every(b=>b[0]!==U.shortcutsNoMerge)))])}).flat(2).filter(Boolean)))}isBlocked(t){return!t||this.config.blocklist.map(r=>Array.isArray(r)?r[0]:r).some(r=>typeof r=="function"?r(t):T(r)?r===t:r.test(t))}getBlocked(t){const r=this.config.blocklist.find(n=>{const o=Array.isArray(n)?n[0]:n;return typeof o=="function"?o(t):T(o)?o===t:o.test(t)});return r?Array.isArray(r)?r:[r,void 0]:void 0}}async function po(e,t){return await Lt.create(e,t)}const Gr=/\s\$\$\s+/g;function ho(e){return Gr.test(e)}function mo(e,t){return ho(e)?e.replace(Gr,t?` ${t} `:" "):t?`${t} ${e}`:e}const tr=/^\[(.+?)(~?=)"(.*)"\]$/;function Kr(e){return tr.test(e)?e.replace(tr,(t,r,n,o)=>`[${ut(r)}${n}"${ut(o)}"]`):`.${ut(e)}`}function go(e,t){return t(e)}var bo={};function yo(e,t){return{name:e,getImportUrl(r){const n=r.map(o=>{const{name:i,weights:a,italic:s}=o,l=i.toLowerCase().replace(/\s/g,"-");if(!a?.length)return`${l}${s?":i":""}`;let u=a.map(p=>p.toString());return!u.some(p=>p.endsWith("i"))&&s&&(u=u.map(p=>p+="i")),`${l}:${u.join(",")}`});return`${t}/css?family=${n.join("|")}&display=swap`}}}const ko=yo("bunny","https://fonts.bunny.net");function $o(e,t){return{name:e,getImportUrl(r){const n=i=>{const a=i.map(l=>l[0]),s=i.map(l=>l[1]);return`${a.join(";")};${s.join(";")}`},o=r.map(i=>{let a=i.name.replace(/\s+/g,"+");return i.weights?.length&&(a+=i.italic?`:ital,wght@${n(i.weights.map(s=>[`0,${s}`,`1,${s}`]))}`:`:wght@${i.weights.join(";")}`),`family=${a}`}).join("&");return`${t}/css2?${o}&display=swap`}}}const vo=$o("coollabs","https://api.fonts.coollabs.io"),wo=xo("fontshare","https://api.fontshare.com");function xo(e,t){return{name:e,getImportUrl(r){const n=r.map(o=>{let i=o.name.replace(/\s+/g,"-").toLocaleLowerCase();return o.weights?.length?i+=`@${o.weights.flatMap(a=>o.italic?Number(a)+1:a).sort().join()}`:i+=`@${o.italic?2:1}`,`f[]=${i}`}).join("&");return`${t}/v2/css?${n}&display=swap`}}}function So(e,t){const r=new Map,n=new Map;return{name:e,async getPreflight(o,i){return(await Promise.all(o.map(async s=>{const l=[],u=s.name.toLowerCase().replace(/\s+/g,"-");let c=r.get(u);if(!c){const C=`https://api.fontsource.org/v1/fonts/${u}`;try{c=await i(C),r.set(u,c)}catch{throw new Error(`Failed to fetch font: ${s.name}`)}}const{weights:p,unicodeRange:d,variants:h,family:m}=c,k=c.subsets.filter(C=>s.subsets?s.subsets.includes(C):!0),$=s.italic?"italic":"normal";if(c.variable&&!s.preferStatic){let C=n.get(u);const g=`https://api.fontsource.org/v1/variable/${u}`;try{C=await i(g),n.set(u,C)}catch{throw new Error(`Failed to fetch font variable: ${s.name}`)}const y=et(C.axes,s.variable??{});for(const x of k)if(d[x]){const b=`${t}/fontsource/fonts/${c.id}:vf@latest/${x}-wght-${$}.woff2`,E={family:m,display:"swap",style:$,weight:400,src:[{url:b,format:"woff2-variations"}],variable:{wght:y.wght??void 0,wdth:y.wdth??void 0,slnt:y.slnt??void 0},unicodeRange:d[x],comment:`${c.id}-${x}-wght-normal`};l.push(pt(E))}else Object.entries(d).filter(([b])=>!c.subsets.includes(b)).forEach(([b,E])=>{const v=`${t}/fontsource/fonts/${c.id}:vf@latest/${b.slice(1,-1)}-wght-${$}.woff2`,S={family:m,display:"swap",style:$,weight:400,src:[{url:v,format:"woff2-variations"}],variable:{wght:y.wght??void 0,wdth:y.wdth??void 0,slnt:y.slnt??void 0},unicodeRange:E,comment:`${c.id}-${b}-wght-normal`};l.push(pt(S))})}else{const C=s.weights&&s.weights.length>0?s.weights:p;for(const g of k)for(const y of C){const x=h[y][$][g].url,b={family:m,display:"swap",style:$,weight:Number(y),src:[{url:x.woff2,format:"woff2"}],unicodeRange:d[g],comment:`${c.id}-${g}-${y}-${$}`};l.push(pt(b))}}return l}))).flat().join(`
|
|
3
|
+
|
|
4
|
+
`)}}}const Eo=So("fontsource","https://cdn.jsdelivr.net");function pt(e){const{family:t,style:r,display:n,weight:o,variable:i,src:a,unicodeRange:s,comment:l,spacer:u=`
|
|
5
|
+
`}=e,{wght:c,wdth:p,slnt:d}=i??{};let h="@font-face {";return h+=`${u}font-family: '${t}';`,h+=`${u}font-style: ${d?`oblique ${Number(d.max)*-1}deg ${Number(d.min)*-1}deg`:r};`,h+=`${u}font-display: ${n};`,h+=`${u}font-weight: ${c?Co(c):o};`,p&&(h+=`${u}font-stretch: ${p.min}% ${p.max}%;`),h+=`${u}src: ${a.map(({url:m,format:k})=>`url(${m}) format('${k}')`).join(", ")};`,s&&(h+=`${u}unicode-range: ${s};`),l&&(h=`/* ${l} */
|
|
6
|
+
${h}`),`${h}
|
|
7
|
+
}`}function Co(e){return e?e.min===e.max?`${e.min}`:`${e.min} ${e.max}`:"400"}function jo(e,t){return{name:e,getImportUrl(r){const n=i=>{const a=i.map(l=>l[0]),s=i.map(l=>l[1]);return`${a.join(";")};${s.join(";")}`},o=r.map(i=>{let a=i.name.replace(/\s+/g,"+");return i.weights?.length&&(a+=i.italic?`:ital,wght@${n(i.weights.map(s=>[`0,${s}`,`1,${s}`]))}`:`:wght@${i.weights.join(";")}`),`family=${a}`}).join("&");return`${t}/css2?${o}&display=swap`}}}const zo=jo("google","https://fonts.googleapis.com"),Ao={name:"none",getPreflight(){return""},getFontName(e){return e.name}},Ro={google:zo,bunny:ko,fontshare:wo,fontsource:Eo,coollabs:vo,none:Ao};function rr(e){return typeof e=="string"?Ro[e]:e}function _o(e,t){if(typeof e!="string")return e.provider=rr(e.provider||t),e.weights&&(e.weights=[...new Set(e.weights.sort((o,i)=>o.toString().localeCompare(i.toString(),"en",{numeric:!0})))]),e;const[r,n=""]=e.split(":");return{name:r,weights:[...new Set(n.split(/[,;]\s*/).filter(Boolean).sort((o,i)=>o.localeCompare(i,"en",{numeric:!0})))],provider:rr(t)}}function Po(e){return(t={})=>{const{provider:r="google",extendTheme:n=!0,inlineImports:o=!0,customFetch:i=e,timeouts:a={}}=t,s="fonts",l=o?s:Dr,u=O(t.processors||[]),c=Object.fromEntries(Object.entries(t.fonts||{}).map(([g,y])=>[g,O(y).map(x=>_o(x,r))])),p=Object.values(c).flatMap(g=>g),d={};async function h(g){if(a===!1)return i(g);const{warning:y=1e3,failure:x=2e3}=a;let b=!1;const E=setTimeout(()=>{console.warn(`[unocss] Fetching web fonts: ${g}`),b=!0},y);return await Promise.race([i(g),new Promise((v,S)=>{setTimeout(()=>S(new Error("[unocss] Fetch web fonts timeout.")),x)})]).then(v=>(b&&console.info("[unocss] Web fonts fetched."),v)).finally(()=>clearTimeout(E))}async function m(g){return o?(d[g]||(d[g]=h(g).catch(y=>{if(console.error(`[unocss] Failed to fetch web fonts: ${g}`),console.error(y),typeof process<"u"&&bo.CI)throw y})),await d[g]):`@import url('${g}');`}const k=Array.from(new Set(p.map(g=>g.provider)));async function $(g,y){const x=[];for(const E of y){const v=g.filter(S=>S.provider.name===E.name);if(E.getImportUrl){const S=E.getImportUrl(v);S&&x.push(await m(S))}x.push(await E.getPreflight?.(v,h))}return x.filter(Boolean).join(`
|
|
8
|
+
`)}const C={name:"@unocss/preset-web-fonts",preflights:[{async getCSS(){let g;for(const y of u){const x=await y.getCSS?.(p,k,$);if(x){g=x;break}}g||(g=await $(p,k));for(const y of u)g=await y.transformCSS?.(g)||g;return g},layer:l}],layers:{[s]:-200}};return n&&(C.extendTheme=(g,y)=>{const x=y.presets.some(v=>v.name==="@unocss/preset-wind4"),b=t.themeKey??(x?"font":"fontFamily");g[b]||(g[b]={});const E=Object.fromEntries(Object.entries(c).map(([v,S])=>[v,S.map(R=>R.provider.getFontName?.(R)??`"${R.name}"`)]));for(const v of Object.keys(E))typeof g[b][v]=="string"?g[b][v]=E[v].map(S=>`${S},`).join("")+g[b][v]:g[b][v]=E[v].join(",")}),C}}const Oo="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36",Fo=async e=>(await Wn(async()=>{const{$fetch:t}=await Promise.resolve().then(()=>Bu);return{$fetch:t}},void 0,import.meta.url)).$fetch(e,{headers:{"User-Agent":Oo},retry:3}),qu=Po(Fo);function Mo(e){return e.replace(/-(\w)/g,(t,r)=>r?r.toUpperCase():"")}function nr(e){return e.charAt(0).toUpperCase()+e.slice(1)}function or(e){return e.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}var ir=["Webkit","Moz","ms"];function Lo(e){const t={};function r(n){const o=t[n];if(o)return o;let i=Mo(n);if(i!=="filter"&&i in e)return t[n]=or(i);i=nr(i);for(let a=0;a<ir.length;a++){const s=`${ir[a]}${i}`;if(s in e)return t[n]=or(nr(s))}return n}return({entries:n})=>n.forEach(o=>{o[0].startsWith("--")||(o[0]=r(o[0]))})}function To(e){return e.replace(/&/g,"&").replace(/>/g,">").replace(/</g,"<")}async function Hu(e={}){if(typeof window>"u"){console.warn("@unocss/runtime been used in non-browser environment, skipped.");return}const t=window,r=window.document,n=()=>r.documentElement,o=t.__unocss||{},i=Object.assign({},e,o.runtime),a=i.defaults||{},s=i.cloakAttribute??"un-cloak";i.autoPrefix&&(a.postprocess=O(a.postprocess)).unshift(Lo(r.createElement("div").style)),i.configResolved?.(o,a);const l=await po(o,a),u=j=>i.inject?i.inject(j):n().prepend(j),c=()=>i.rootElement?i.rootElement():r.body,p=new Map;let d=!0;const h=new Set;let m,k,$=[];const C=()=>new Promise(j=>{$.push(j),k!=null&&clearTimeout(k),k=setTimeout(()=>x().then(()=>{const _=$;$=[],_.forEach(F=>F())}),0)});function g(j,_=!1){if(j.nodeType!==1)return;const F=j;F.hasAttribute(s)&&F.removeAttribute(s),_&&F.querySelectorAll(`[${s}]`).forEach(L=>{L.removeAttribute(s)})}function y(j,_){let F=p.get(j);if(!F)if(F=r.createElement("style"),F.setAttribute("data-unocss-runtime-layer",j),p.set(j,F),_==null)u(F);else{const L=y(_),I=L.parentNode;I?I.insertBefore(F,L.nextSibling):u(F)}return F}async function x(){const j=[...h],_=await l.generate(j);return _.layers.reduce((L,I)=>(y(I,L).innerHTML=_.getLayer(I)??"",I),void 0),j.filter(L=>!_.matched.has(L)).forEach(L=>h.delete(L)),{..._,getStyleElement:L=>p.get(L),getStyleElements:()=>p}}async function b(j){const _=h.size;await l.applyExtractors(j,void 0,h),_!==h.size&&await C()}async function E(j=c()){const _=j&&j.outerHTML;_&&(await b(`${_} ${To(_)}`),g(n()),g(j,!0))}const v=new MutationObserver(j=>{d||j.forEach(async _=>{if(_.target.nodeType!==1)return;const F=_.target;for(const L of p)if(F===L[1])return;if(_.type==="childList")_.addedNodes.forEach(async L=>{if(L.nodeType!==1)return;const I=L;m&&!m(I)||(await b(I.outerHTML),g(I))});else{if(m&&!m(F))return;if(_.attributeName!==s){const L=Array.from(F.attributes).map(M=>M.value?`${M.name}="${M.value}"`:M.name).join(" "),I=`<${F.tagName.toLowerCase()} ${L}>`;await b(I)}g(F)}})});let S=!1;function R(){if(S)return;const j=i.observer?.target?i.observer.target():c();j&&(v.observe(j,{childList:!0,subtree:!0,attributes:!0,attributeFilter:i.observer?.attributeFilter}),S=!0)}function q(){i.bypassDefined&&No(l.blocked),E(),R()}function H(){r.readyState==="loading"?t.addEventListener("DOMContentLoaded",q):q()}const G=t.__unocss_runtime=t.__unocss_runtime={version:l.version,uno:l,async extract(j){T(j)||(j.forEach(_=>h.add(_)),j=""),await b(j)},extractAll:E,inspect(j){m=j},toggleObserver(j){j===void 0?d=!d:d=!!j,!S&&!d&&H()},update:x,presets:t.__unocss_runtime?.presets??{}};i.ready?.(G)!==!1&&(d=!1,H())}function No(e=new Set){for(let t=0;t<document.styleSheets.length;t++){const r=document.styleSheets[t];let n;try{if(n=r.cssRules||r.rules,!n)continue;Array.from(n).flatMap(o=>o.selectorText?.split(/,/g)||[]).forEach(o=>{o&&(o=o.trim(),o.startsWith(".")&&(o=o.slice(1)),e.add(o))})}catch{continue}}return e}const Jr=/^(?!.*\[[^:]+:.+\]$)((?:.+:)?!?)(.*)$/;function Wo(e={}){const t=e.prefix??"un-",r=e.prefixedOnly??!1,n=e.trueToNonValued??!1;let o;return{name:"attributify",match(i,{generator:a}){const s=Yn(i);if(!s)return;let l=s[1];if(l.startsWith(t))l=l.slice(t.length);else if(r)return;const u=s[2],[,c="",p=u]=u.match(Jr)||[];if(p==="~"||n&&p==="true"||!p)return`${c}${l}`;if(o==null){const d=a?.config?.separators?.join("|");d?o=new RegExp(`^(.*\\](?:${d}))(\\[[^\\]]+?\\])$`):o=!1}if(o){const[,d,h]=u.match(o)||[];if(h)return`${d}${c}${l}-${h}`}if(c&&p.match(/^[\d.]+$/)){const d=c.split(/([^:]*:)/g).filter(Boolean),h=d.pop()+p,m=d.join("");return[{matcher:`${c}${l}-${p}`},{matcher:`${m}${l}-${h}`}]}return`${c}${l}-${p}`}}}const Vo=/(<\w[\w:.$-]*\s)((?:'[^>']*'|"[^>"]*"|`[^>`]*`|\{[^>}]*\}|[^>]*?)*)/g,Uo=/(\?|(?!\d|-{2}|-\d)[\w\u00A0-\uFFFF-:%]+)(?:=("[^"]*|'[^']*))?/g,sr=/[\s'"`;>]+/;function Io(e){return{name:"attributify",extract:({content:t,cursor:r})=>{const n=t.matchAll(Vo);let o,i=0;for(const g of n){const[,y,x]=g,b=g.index+y.length;if(r>b&&r<=b+x.length){i=b,o=x;break}}if(!o)return null;const a=o.matchAll(Uo);let s=0,l,u;for(const g of a){const[y,x,b]=g,E=i+g.index;if(r>E&&r<=E+y.length){s=E,l=x,u=b?.slice(1);break}}if(!l||l==="class"||l==="className"||l===":class")return null;const c=!!e?.prefix&&l.startsWith(e.prefix);if(e?.prefixedOnly&&!c)return null;const p=c?l.slice(e.prefix.length):l;if(u===void 0)return{extracted:p,resolveReplacement(g){const y=c?e.prefix.length:0;return{start:s+y,end:s+l.length,replacement:g}}};const d=s+l.length+2;let h=sr.exec(u),m=0,k;for(;h;){const[g]=h;if(r>d+m&&r<=d+m+h.index){k=u.slice(m,m+h.index);break}m+=h.index+g.length,h=sr.exec(u.slice(m))}k===void 0&&(k=u.slice(m));const[,$="",C]=k.match(Jr)||[];return{extracted:`${$}${p}-${C}`,transformSuggestions(g){return g.filter(y=>y.startsWith(`${$}${p}-`)).map(y=>$+y.slice($.length+p.length+1))},resolveReplacement(g){return{start:m+d,end:m+d+k.length,replacement:$+g.slice($.length+p.length+1)}}}}}}const Bo=["v-bind:",":"],ar=/[\s'"`;]+/g,dt=/<[^>\s]*\s((?:'[^']*'|"[^"]*"|`[^`]*`|\{[^}]*\}|=>|[^>]*?)*)/g,Do=/(\?|(?!\d|-{2}|-\d)[\w\u00A0-\uFFFF:!%.~<-]+)=?(?:"([^"]*)"|'([^']*)'|\{([^}]*)\})?/g,Zr=["placeholder","fill","opacity","stroke-opacity"];function qo(e){const t=e?.ignoreAttributes??Zr,r=e?.nonValuedAttribute??!0,n=e?.trueToNonValued??!1;return{name:"@unocss/preset-attributify/extractor",extract({code:o}){return Array.from(o.matchAll(dt)).flatMap(i=>Array.from((i[1]||"").matchAll(Do))).flatMap(([,i,...a])=>{const s=a.filter(Boolean).join("");if(t.includes(i))return[];for(const l of Bo)if(i.startsWith(l)){i=i.slice(l.length);break}if(!s){if(St(i)&&r!==!1){const l=[`[${i}=""]`];return n&&l.push(`[${i}="true"]`),l}return[]}return["class","className"].includes(i)?s.split(ar).filter(St):dt.test(s)?(dt.lastIndex=0,this.extract({code:s})):e?.prefixedOnly&&e.prefix&&!i.startsWith(e.prefix)?[]:s.split(ar).filter(l=>!!l&&l!==":").map(l=>`[${i}~="${l}"]`)})}}}const Yu=(e={})=>{e.strict=e.strict??!1,e.prefix=e.prefix??"un-",e.prefixedOnly=e.prefixedOnly??!1,e.nonValuedAttribute=e.nonValuedAttribute??!0,e.ignoreAttributes=e.ignoreAttributes??Zr;const t=[Wo(e)],r=[qo(e)],n=[Io(e)];return{name:"@unocss/preset-attributify",enforce:"post",variants:t,extractors:r,options:e,autocomplete:{extractors:n},extractorDefault:e.strict?!1:void 0}},Et="__TAGIFY__",Ho=/<([\w:-]+)/g;function Yo(e){const{prefix:t="",excludedTags:r=["b",/^h\d+$/,"table"]}=e;return{name:"tagify",extract({code:n}){return Array.from(n.matchAll(Ho)).filter(({1:o})=>{for(const i of r)if(typeof i=="string"){if(o===i)return!1}else if(i.lastIndex=0,i.test(o))return!1;return o.startsWith(t)}).map(([,o])=>`${Et}${o}`)}}}function Xo(e){const{extraProperties:t}=e,r=`${Et}${e.prefix??""}`;return{name:"tagify",match(n){if(!n.startsWith(r))return;const o=n.slice(r.length),i={matcher:o,selector:a=>a.slice(Et.length+1)};return t&&(typeof t=="function"?i.body=a=>[...a,...Object.entries(t(o)??{})]:i.body=a=>[...a,...Object.entries(t)]),i}}}const Xu=(e={})=>{const{defaultExtractor:t=!0}=e,r=[Xo(e)],n=[Yo(e)];return{name:"@unocss/preset-tagify",variants:r,extractors:n,extractorDefault:t?void 0:!1}};var Go=44,Ko=59,lr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Qr=new Uint8Array(64),Jo=new Uint8Array(128);for(let e=0;e<lr.length;e++){const t=lr.charCodeAt(e);Qr[e]=t,Jo[t]=e}function we(e,t,r){let n=t-r;n=n<0?-n<<1|1:n<<1;do{let o=n&31;n>>>=5,n>0&&(o|=32),e.write(Qr[o])}while(n>0);return t}var cr=1024*16,ur=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(e){return Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString()}}:{decode(e){let t="";for(let r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t}},Zo=class{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(cr)}write(e){const{buffer:t}=this;t[this.pos++]=e,this.pos===cr&&(this.out+=ur.decode(t),this.pos=0)}flush(){const{buffer:e,out:t,pos:r}=this;return r>0?t+ur.decode(e.subarray(0,r)):t}};function Qo(e){const t=new Zo;let r=0,n=0,o=0,i=0;for(let a=0;a<e.length;a++){const s=e[a];if(a>0&&t.write(Ko),s.length===0)continue;let l=0;for(let u=0;u<s.length;u++){const c=s[u];u>0&&t.write(Go),l=we(t,c[0],l),c.length!==1&&(r=we(t,c[1],r),n=we(t,c[2],n),o=we(t,c[3],o),c.length!==4&&(i=we(t,c[4],i)))}}return t.flush()}class Ge{constructor(t){this.bits=t instanceof Ge?t.bits.slice():[]}add(t){this.bits[t>>5]|=1<<(t&31)}has(t){return!!(this.bits[t>>5]&1<<(t&31))}}class Pe{constructor(t,r,n){this.start=t,this.end=r,this.original=n,this.intro="",this.outro="",this.content=n,this.storeName=!1,this.edited=!1,this.previous=null,this.next=null}appendLeft(t){this.outro+=t}appendRight(t){this.intro=this.intro+t}clone(){const t=new Pe(this.start,this.end,this.original);return t.intro=this.intro,t.outro=this.outro,t.content=this.content,t.storeName=this.storeName,t.edited=this.edited,t}contains(t){return this.start<t&&t<this.end}eachNext(t){let r=this;for(;r;)t(r),r=r.next}eachPrevious(t){let r=this;for(;r;)t(r),r=r.previous}edit(t,r,n){return this.content=t,n||(this.intro="",this.outro=""),this.storeName=r,this.edited=!0,this}prependLeft(t){this.outro=t+this.outro}prependRight(t){this.intro=t+this.intro}reset(){this.intro="",this.outro="",this.edited&&(this.content=this.original,this.storeName=!1,this.edited=!1)}split(t){const r=t-this.start,n=this.original.slice(0,r),o=this.original.slice(r);this.original=n;const i=new Pe(t,this.end,o);return i.outro=this.outro,this.outro="",this.end=t,this.edited?(i.edit("",!1),this.content=""):this.content=n,i.next=this.next,i.next&&(i.next.previous=i),i.previous=this,this.next=i,i}toString(){return this.intro+this.content+this.outro}trimEnd(t){if(this.outro=this.outro.replace(t,""),this.outro.length)return!0;const r=this.content.replace(t,"");if(r.length)return r!==this.content&&(this.split(this.start+r.length).edit("",void 0,!0),this.edited&&this.edit(r,this.storeName,!0)),!0;if(this.edit("",void 0,!0),this.intro=this.intro.replace(t,""),this.intro.length)return!0}trimStart(t){if(this.intro=this.intro.replace(t,""),this.intro.length)return!0;const r=this.content.replace(t,"");if(r.length){if(r!==this.content){const n=this.split(this.end-r.length);this.edited&&n.edit(r,this.storeName,!0),this.edit("",void 0,!0)}return!0}else if(this.edit("",void 0,!0),this.outro=this.outro.replace(t,""),this.outro.length)return!0}}function ei(){return typeof globalThis<"u"&&typeof globalThis.btoa=="function"?e=>globalThis.btoa(unescape(encodeURIComponent(e))):typeof Buffer=="function"?e=>Buffer.from(e,"utf-8").toString("base64"):()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}const ti=ei();class ri{constructor(t){this.version=3,this.file=t.file,this.sources=t.sources,this.sourcesContent=t.sourcesContent,this.names=t.names,this.mappings=Qo(t.mappings),typeof t.x_google_ignoreList<"u"&&(this.x_google_ignoreList=t.x_google_ignoreList),typeof t.debugId<"u"&&(this.debugId=t.debugId)}toString(){return JSON.stringify(this)}toUrl(){return"data:application/json;charset=utf-8;base64,"+ti(this.toString())}}function ni(e){const t=e.split(`
|
|
9
|
+
`),r=t.filter(i=>/^\t+/.test(i)),n=t.filter(i=>/^ {2,}/.test(i));if(r.length===0&&n.length===0)return null;if(r.length>=n.length)return" ";const o=n.reduce((i,a)=>{const s=/^ +/.exec(a)[0].length;return Math.min(s,i)},1/0);return new Array(o+1).join(" ")}function oi(e,t){const r=e.split(/[/\\]/),n=t.split(/[/\\]/);for(r.pop();r[0]===n[0];)r.shift(),n.shift();if(r.length){let o=r.length;for(;o--;)r[o]=".."}return r.concat(n).join("/")}const ii=Object.prototype.toString;function si(e){return ii.call(e)==="[object Object]"}function fr(e){const t=e.split(`
|
|
10
|
+
`),r=[];for(let n=0,o=0;n<t.length;n++)r.push(o),o+=t[n].length+1;return function(o){let i=0,a=r.length;for(;i<a;){const u=i+a>>1;o<r[u]?a=u:i=u+1}const s=i-1,l=o-r[s];return{line:s,column:l}}}const ai=/\w/;class li{constructor(t){this.hires=t,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null}addEdit(t,r,n,o){if(r.length){const i=r.length-1;let a=r.indexOf(`
|
|
11
|
+
`,0),s=-1;for(;a>=0&&i>a;){const u=[this.generatedCodeColumn,t,n.line,n.column];o>=0&&u.push(o),this.rawSegments.push(u),this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,s=a,a=r.indexOf(`
|
|
12
|
+
`,a+1)}const l=[this.generatedCodeColumn,t,n.line,n.column];o>=0&&l.push(o),this.rawSegments.push(l),this.advance(r.slice(s+1))}else this.pending&&(this.rawSegments.push(this.pending),this.advance(r));this.pending=null}addUneditedChunk(t,r,n,o,i){let a=r.start,s=!0,l=!1;for(;a<r.end;){if(n[a]===`
|
|
13
|
+
`)o.line+=1,o.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,s=!0,l=!1;else{if(this.hires||s||i.has(a)){const u=[this.generatedCodeColumn,t,o.line,o.column];this.hires==="boundary"?ai.test(n[a])?l||(this.rawSegments.push(u),l=!0):(this.rawSegments.push(u),l=!1):this.rawSegments.push(u)}o.column+=1,this.generatedCodeColumn+=1,s=!1}a+=1}this.pending=null}advance(t){if(!t)return;const r=t.split(`
|
|
14
|
+
`);if(r.length>1){for(let n=0;n<r.length-1;n++)this.generatedCodeLine++,this.raw[this.generatedCodeLine]=this.rawSegments=[];this.generatedCodeColumn=0}this.generatedCodeColumn+=r[r.length-1].length}}const xe=`
|
|
15
|
+
`,pe={insertLeft:!1,insertRight:!1,storeName:!1};class Tt{constructor(t,r={}){const n=new Pe(0,t.length,t);Object.defineProperties(this,{original:{writable:!0,value:t},outro:{writable:!0,value:""},intro:{writable:!0,value:""},firstChunk:{writable:!0,value:n},lastChunk:{writable:!0,value:n},lastSearchedChunk:{writable:!0,value:n},byStart:{writable:!0,value:{}},byEnd:{writable:!0,value:{}},filename:{writable:!0,value:r.filename},indentExclusionRanges:{writable:!0,value:r.indentExclusionRanges},sourcemapLocations:{writable:!0,value:new Ge},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:void 0},ignoreList:{writable:!0,value:r.ignoreList},offset:{writable:!0,value:r.offset||0}}),this.byStart[0]=n,this.byEnd[t.length]=n}addSourcemapLocation(t){this.sourcemapLocations.add(t)}append(t){if(typeof t!="string")throw new TypeError("outro content must be a string");return this.outro+=t,this}appendLeft(t,r){if(t=t+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);const n=this.byEnd[t];return n?n.appendLeft(r):this.intro+=r,this}appendRight(t,r){if(t=t+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);const n=this.byStart[t];return n?n.appendRight(r):this.outro+=r,this}clone(){const t=new Tt(this.original,{filename:this.filename,offset:this.offset});let r=this.firstChunk,n=t.firstChunk=t.lastSearchedChunk=r.clone();for(;r;){t.byStart[n.start]=n,t.byEnd[n.end]=n;const o=r.next,i=o&&o.clone();i&&(n.next=i,i.previous=n,n=i),r=o}return t.lastChunk=n,this.indentExclusionRanges&&(t.indentExclusionRanges=this.indentExclusionRanges.slice()),t.sourcemapLocations=new Ge(this.sourcemapLocations),t.intro=this.intro,t.outro=this.outro,t}generateDecodedMap(t){t=t||{};const r=0,n=Object.keys(this.storedNames),o=new li(t.hires),i=fr(this.original);return this.intro&&o.advance(this.intro),this.firstChunk.eachNext(a=>{const s=i(a.start);a.intro.length&&o.advance(a.intro),a.edited?o.addEdit(r,a.content,s,a.storeName?n.indexOf(a.original):-1):o.addUneditedChunk(r,a,this.original,s,this.sourcemapLocations),a.outro.length&&o.advance(a.outro)}),{file:t.file?t.file.split(/[/\\]/).pop():void 0,sources:[t.source?oi(t.file||"",t.source):t.file||""],sourcesContent:t.includeContent?[this.original]:void 0,names:n,mappings:o.raw,x_google_ignoreList:this.ignoreList?[r]:void 0}}generateMap(t){return new ri(this.generateDecodedMap(t))}_ensureindentStr(){this.indentStr===void 0&&(this.indentStr=ni(this.original))}_getRawIndentString(){return this._ensureindentStr(),this.indentStr}getIndentString(){return this._ensureindentStr(),this.indentStr===null?" ":this.indentStr}indent(t,r){const n=/^[^\r\n]/gm;if(si(t)&&(r=t,t=void 0),t===void 0&&(this._ensureindentStr(),t=this.indentStr||" "),t==="")return this;r=r||{};const o={};r.exclude&&(typeof r.exclude[0]=="number"?[r.exclude]:r.exclude).forEach(c=>{for(let p=c[0];p<c[1];p+=1)o[p]=!0});let i=r.indentStart!==!1;const a=u=>i?`${t}${u}`:(i=!0,u);this.intro=this.intro.replace(n,a);let s=0,l=this.firstChunk;for(;l;){const u=l.end;if(l.edited)o[s]||(l.content=l.content.replace(n,a),l.content.length&&(i=l.content[l.content.length-1]===`
|
|
16
|
+
`));else for(s=l.start;s<u;){if(!o[s]){const c=this.original[s];c===`
|
|
17
|
+
`?i=!0:c!=="\r"&&i&&(i=!1,s===l.start||(this._splitChunk(l,s),l=l.next),l.prependRight(t))}s+=1}s=l.end,l=l.next}return this.outro=this.outro.replace(n,a),this}insert(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")}insertLeft(t,r){return pe.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),pe.insertLeft=!0),this.appendLeft(t,r)}insertRight(t,r){return pe.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),pe.insertRight=!0),this.prependRight(t,r)}move(t,r,n){if(t=t+this.offset,r=r+this.offset,n=n+this.offset,n>=t&&n<=r)throw new Error("Cannot move a selection inside itself");this._split(t),this._split(r),this._split(n);const o=this.byStart[t],i=this.byEnd[r],a=o.previous,s=i.next,l=this.byStart[n];if(!l&&i===this.lastChunk)return this;const u=l?l.previous:this.lastChunk;return a&&(a.next=s),s&&(s.previous=a),u&&(u.next=o),l&&(l.previous=i),o.previous||(this.firstChunk=i.next),i.next||(this.lastChunk=o.previous,this.lastChunk.next=null),o.previous=u,i.next=l||null,u||(this.firstChunk=o),l||(this.lastChunk=i),this}overwrite(t,r,n,o){return o=o||{},this.update(t,r,n,{...o,overwrite:!o.contentOnly})}update(t,r,n,o){if(t=t+this.offset,r=r+this.offset,typeof n!="string")throw new TypeError("replacement content must be a string");if(this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}if(r>this.original.length)throw new Error("end is out of bounds");if(t===r)throw new Error("Cannot overwrite a zero-length range – use appendLeft or prependRight instead");this._split(t),this._split(r),o===!0&&(pe.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),pe.storeName=!0),o={storeName:!0});const i=o!==void 0?o.storeName:!1,a=o!==void 0?o.overwrite:!1;if(i){const u=this.original.slice(t,r);Object.defineProperty(this.storedNames,u,{writable:!0,value:!0,enumerable:!0})}const s=this.byStart[t],l=this.byEnd[r];if(s){let u=s;for(;u!==l;){if(u.next!==this.byStart[u.end])throw new Error("Cannot overwrite across a split point");u=u.next,u.edit("",!1)}s.edit(n,i,!a)}else{const u=new Pe(t,r,"").edit(n,i);l.next=u,u.previous=l}return this}prepend(t){if(typeof t!="string")throw new TypeError("outro content must be a string");return this.intro=t+this.intro,this}prependLeft(t,r){if(t=t+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);const n=this.byEnd[t];return n?n.prependLeft(r):this.intro=r+this.intro,this}prependRight(t,r){if(t=t+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);const n=this.byStart[t];return n?n.prependRight(r):this.outro=r+this.outro,this}remove(t,r){if(t=t+this.offset,r=r+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}if(t===r)return this;if(t<0||r>this.original.length)throw new Error("Character is out of bounds");if(t>r)throw new Error("end must be greater than start");this._split(t),this._split(r);let n=this.byStart[t];for(;n;)n.intro="",n.outro="",n.edit(""),n=r>n.end?this.byStart[n.end]:null;return this}reset(t,r){if(t=t+this.offset,r=r+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}if(t===r)return this;if(t<0||r>this.original.length)throw new Error("Character is out of bounds");if(t>r)throw new Error("end must be greater than start");this._split(t),this._split(r);let n=this.byStart[t];for(;n;)n.reset(),n=r>n.end?this.byStart[n.end]:null;return this}lastChar(){if(this.outro.length)return this.outro[this.outro.length-1];let t=this.lastChunk;do{if(t.outro.length)return t.outro[t.outro.length-1];if(t.content.length)return t.content[t.content.length-1];if(t.intro.length)return t.intro[t.intro.length-1]}while(t=t.previous);return this.intro.length?this.intro[this.intro.length-1]:""}lastLine(){let t=this.outro.lastIndexOf(xe);if(t!==-1)return this.outro.substr(t+1);let r=this.outro,n=this.lastChunk;do{if(n.outro.length>0){if(t=n.outro.lastIndexOf(xe),t!==-1)return n.outro.substr(t+1)+r;r=n.outro+r}if(n.content.length>0){if(t=n.content.lastIndexOf(xe),t!==-1)return n.content.substr(t+1)+r;r=n.content+r}if(n.intro.length>0){if(t=n.intro.lastIndexOf(xe),t!==-1)return n.intro.substr(t+1)+r;r=n.intro+r}}while(n=n.previous);return t=this.intro.lastIndexOf(xe),t!==-1?this.intro.substr(t+1)+r:this.intro+r}slice(t=0,r=this.original.length-this.offset){if(t=t+this.offset,r=r+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}let n="",o=this.firstChunk;for(;o&&(o.start>t||o.end<=t);){if(o.start<r&&o.end>=r)return n;o=o.next}if(o&&o.edited&&o.start!==t)throw new Error(`Cannot use replaced character ${t} as slice start anchor.`);const i=o;for(;o;){o.intro&&(i!==o||o.start===t)&&(n+=o.intro);const a=o.start<r&&o.end>=r;if(a&&o.edited&&o.end!==r)throw new Error(`Cannot use replaced character ${r} as slice end anchor.`);const s=i===o?t-o.start:0,l=a?o.content.length+r-o.end:o.content.length;if(n+=o.content.slice(s,l),o.outro&&(!a||o.end===r)&&(n+=o.outro),a)break;o=o.next}return n}snip(t,r){const n=this.clone();return n.remove(0,t),n.remove(r,n.original.length),n}_split(t){if(this.byStart[t]||this.byEnd[t])return;let r=this.lastSearchedChunk;const n=t>r.end;for(;r;){if(r.contains(t))return this._splitChunk(r,t);r=n?this.byStart[r.end]:this.byEnd[r.start]}}_splitChunk(t,r){if(t.edited&&t.content.length){const o=fr(this.original)(r);throw new Error(`Cannot split a chunk that has already been edited (${o.line}:${o.column} – "${t.original}")`)}const n=t.split(r);return this.byEnd[r]=t,this.byStart[r]=n,this.byEnd[n.end]=n,t===this.lastChunk&&(this.lastChunk=n),this.lastSearchedChunk=t,!0}toString(){let t=this.intro,r=this.firstChunk;for(;r;)t+=r.toString(),r=r.next;return t+this.outro}isEmpty(){let t=this.firstChunk;do if(t.intro.length&&t.intro.trim()||t.content.length&&t.content.trim()||t.outro.length&&t.outro.trim())return!1;while(t=t.next);return!0}length(){let t=this.firstChunk,r=0;do r+=t.intro.length+t.content.length+t.outro.length;while(t=t.next);return r}trimLines(){return this.trim("[\\r\\n]")}trim(t){return this.trimStart(t).trimEnd(t)}trimEndAborted(t){const r=new RegExp((t||"\\s")+"+$");if(this.outro=this.outro.replace(r,""),this.outro.length)return!0;let n=this.lastChunk;do{const o=n.end,i=n.trimEnd(r);if(n.end!==o&&(this.lastChunk===n&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return!0;n=n.previous}while(n);return!1}trimEnd(t){return this.trimEndAborted(t),this}trimStartAborted(t){const r=new RegExp("^"+(t||"\\s")+"+");if(this.intro=this.intro.replace(r,""),this.intro.length)return!0;let n=this.firstChunk;do{const o=n.end,i=n.trimStart(r);if(n.end!==o&&(n===this.lastChunk&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return!0;n=n.next}while(n);return!1}trimStart(t){return this.trimStartAborted(t),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(t,r){function n(i,a){return typeof r=="string"?r.replace(/\$(\$|&|\d+)/g,(s,l)=>l==="$"?"$":l==="&"?i[0]:+l<i.length?i[+l]:`$${l}`):r(...i,i.index,a,i.groups)}function o(i,a){let s;const l=[];for(;s=i.exec(a);)l.push(s);return l}if(t.global)o(t,this.original).forEach(a=>{if(a.index!=null){const s=n(a,this.original);s!==a[0]&&this.overwrite(a.index,a.index+a[0].length,s)}});else{const i=this.original.match(t);if(i&&i.index!=null){const a=n(i,this.original);a!==i[0]&&this.overwrite(i.index,i.index+i[0].length,a)}}return this}_replaceString(t,r){const{original:n}=this,o=n.indexOf(t);return o!==-1&&this.overwrite(o,o+t.length,r),this}replace(t,r){return typeof t=="string"?this._replaceString(t,r):this._replaceRegexp(t,r)}_replaceAllString(t,r){const{original:n}=this,o=t.length;for(let i=n.indexOf(t);i!==-1;i=n.indexOf(t,i+o))n.slice(i,i+o)!==r&&this.overwrite(i,i+o,r);return this}replaceAll(t,r){if(typeof t=="string")return this._replaceAllString(t,r);if(!t.global)throw new TypeError("MagicString.prototype.replaceAll called with a non-global RegExp argument");return this._replaceRegexp(t,r)}}function Nt(e,t,r){if(e==="")return;const n=e.length;let o=0,i=!1,a=0;for(let s=0;s<n;s++)switch(e[s]){case t:i||(i=!0,a=s),o++;break;case r:if(--o,o<0)return;if(o===0)return[e.slice(a,s+1),e.slice(s+1),e.slice(0,a)];break}}function tt(e,t,r,n){if(e===""||(T(n)&&(n=[n]),n.length===0))return;const o=e.length;let i=0;for(let a=0;a<o;a++)switch(e[a]){case t:i++;break;case r:if(--i<0)return;break;default:for(const s of n){const l=s.length;if(l&&s===e.slice(a,a+l)&&i===0)return a===0||a===o-l?void 0:[e.slice(0,a),e.slice(a+l)]}}return[e,""]}function Oe(e,t,r,n="(",o=")"){r=r??10;const i=[];let a=0;for(;e!=="";){if(++a>r)return;const s=tt(e,n,o,t);if(!s)return;const[l,u]=s;i.push(l),e=u}if(i.length>0)return i}const Wt=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"],ci=["srgb","srgb-linear","display-p3","a98-rgb","prophoto-rgb","rec2020","lab","oklab","xyz","xyz-d50","xyz-d65"],ui=["hsl","hwb","lch","oklch"],fi=["shorter","longer","increasing","decreasing"],en=["%alpha","<alpha-value>"],tn=new RegExp(en.map(e=>_e(e)).join("|"),"g");function pr(e){return e?ci.some(t=>e.includes(t))||ui.some(t=>e.includes(t))||fi.some(t=>e.includes(t)):!1}function ge(e=""){const t=pi(e);if(t==null||t===!1)return;const{type:r,components:n,alpha:o}=t,i=r.toLowerCase();if(n.length!==0&&!(Wt.includes(i)&&![1,3].includes(n.length)))return{type:i,components:n.map(a=>typeof a=="string"?a.trim():a),alpha:typeof o=="string"?o.trim():o}}function Ct(e,t){if(typeof e=="string")return e.replace(tn,`${t??1}`);const{components:r}=e;let{alpha:n,type:o}=e;return n=t??n,o=o.toLowerCase(),["hsla","rgba"].includes(o)?`${o}(${r.join(", ")}${n==null?"":`, ${n}`})`:(n=n==null?"":` / ${n}`,Wt.includes(o)?`${o}(${r.join(" ")}${n})`:`color(${o} ${r.join(" ")}${n})`)}function pi(e){if(!e)return;let t=di(e);if(t!=null||(t=hi(e),t!=null)||(t=mi(e),t!=null)||(t=bi(e),t!=null)||(t=yi(e),t!=null))return t}function di(e){const[,t]=e.match(/^#([\da-f]+)$/i)||[];if(t)switch(t.length){case 3:case 4:{const r=Array.from(t,n=>Number.parseInt(n,16)).map(n=>n<<4|n);return{type:"rgb",components:r.slice(0,3),alpha:t.length===3?void 0:Math.round(r[3]/255*100)/100}}case 6:case 8:{const r=Number.parseInt(t,16);return{type:"rgb",components:t.length===6?[r>>16&255,r>>8&255,r&255]:[r>>24&255,r>>16&255,r>>8&255],alpha:t.length===6?void 0:Math.round((r&255)/255*100)/100}}}}function hi(e){const t={rebeccapurple:[102,51,153,1]}[e];if(t!=null)return{type:"rgb",components:t.slice(0,3),alpha:t[3]}}function mi(e){const t=e.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!t)return;const[,r,n]=t,o=Oe(n,",",5);if(o){if([3,4].includes(o.length))return{type:r,components:o.slice(0,3),alpha:o[3]};if(o.length!==1)return!1}}const gi=new RegExp(`^(${Wt.join("|")})\\((.+)\\)$`,"i");function bi(e){const t=e.match(gi);if(!t)return;const[,r,n]=t,o=rn(`${r} ${n}`);if(o){const{alpha:i,components:[a,...s]}=o;return{type:a,components:s,alpha:i}}}function yi(e){const t=e.match(/^color\((.+)\)$/);if(!t)return;const r=rn(t[1]);if(r){const{alpha:n,components:[o,...i]}=r;return{type:o,components:i,alpha:n}}}function rn(e){const t=Oe(e," ");if(!t)return;let r=t.length;if(t[r-2]==="/")return{components:t.slice(0,r-2),alpha:t[r-1]};if(t[r-2]!=null&&(t[r-2].endsWith("/")||t[r-1].startsWith("/"))){const i=t.splice(r-2);t.push(i.join(" ")),--r}const n=Oe(t[r-1],"/",2);if(!n)return;if(n.length===1||n[n.length-1]==="")return{components:t};const o=n.pop();return t[r-1]=n.join("/"),{components:t,alpha:o}}const ki=/theme\(\s*(['"])?(.*?)\1?\s*\)/g;function $i(e){return e.includes("theme(")&&e.includes(")")}function vi(e,t,r=!0){const n=Array.from(e.toString().matchAll(ki));if(!n.length)return e;const o=new Tt(e);for(const i of n){const a=i[2];if(!a)throw new Error("theme() expect exact one argument, but got 0");const s=wi(a,t,r);s&&o.overwrite(i.index,i.index+i[0].length,s)}return o.toString()}function wi(e,t,r=!0){const[n,o]=e.split("/");let a=n.trim().split(".").reduce((s,l)=>s?.[l],t);if(typeof a=="object"&&(a=a.DEFAULT),typeof a=="string"){if(o){const s=ge(a);s&&(a=Ct(s,o))}return a}else if(r)throw new Error(`theme of "${e}" did not found`)}function dr(e){const t=e.match(/^-?\d+\.?\d*/)?.[0]||"",r=e.slice(t.length);if(r==="px"){const n=Number.parseFloat(t)-.1;return Number.isNaN(n)?e:`${n}${r}`}return`calc(${e} - 0.1px)`}function xi(e){const t=function(n){const o=this.__options?.sequence||[];this.__options.sequence=[];for(const i of o){const a=e[i](n);if(a!=null)return a}};function r(n,o){return n.__options||(n.__options={sequence:[]}),n.__options.sequence.push(o),n}for(const n of Object.keys(e))Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get(){return r(this,n)}});return t}const Re="__pseudo_placeholder__",$e=Object.fromEntries([["first-letter","::first-letter"],["first-line","::first-line"],"any-link","link","visited","target",["open","[open]"],"default","checked","indeterminate","placeholder-shown","autofill","optional","required","valid","invalid","user-valid","user-invalid","in-range","out-of-range","read-only","read-write","empty","focus-within","hover","focus","focus-visible","active","enabled","disabled","popover-open","root","empty",["even-of-type",":nth-of-type(even)"],["even",":nth-child(even)"],["odd-of-type",":nth-of-type(odd)"],["odd",":nth-child(odd)"],["nth",`:nth-child(${Re})`],["nth-last",`:nth-last-child(${Re})`],["nth-last-of-type",`:nth-last-of-type(${Re})`],["nth-of-type",`:nth-of-type(${Re})`],"first-of-type",["first",":first-child"],"last-of-type",["last",":last-child"],"only-child","only-of-type",["backdrop-element","::backdrop"],["placeholder","::placeholder"],["before","::before"],["after","::after"],["file","::file-selector-button"]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),nn=Object.keys($e),ve=Object.fromEntries([["backdrop","::backdrop"]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),on=Object.keys(ve),Si=["not","is","where","has"],sn=Object.fromEntries([["selection",["::selection"," *::selection"]],["marker",["::marker"," *::marker"]]]),jt=Object.entries($e).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),zt=Object.entries(ve).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),le=Si.join("|"),hr=Object.keys(sn).sort((e,t)=>t.length-e.length).join("|"),Ei=["::-webkit-resizer","::-webkit-scrollbar","::-webkit-scrollbar-button","::-webkit-scrollbar-corner","::-webkit-scrollbar-thumb","::-webkit-scrollbar-track","::-webkit-scrollbar-track-piece","::file-selector-button"],mr=Object.entries($e).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),gr=Object.entries(ve).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|");function Ci(e,t,r,n){const{h:o,variantGetBracket:i}=n,a=new RegExp(`^(${_e(t)}:)(\\S+)${_e(r)}\\1`);let s,l,u,c;const p=m=>{const k=i(`${e}-`,m,[]);if(!k)return;const[$,C]=k,g=o.bracket($);if(g==null)return;const y=C.split(s,1)?.[0]??"",x=`${t}${be(y)}`;return[y,m.slice(m.length-(C.length-y.length-1)),g.includes("&")?g.replace(/&/g,x):`${x}${g}`]},d=m=>{const k=m.match(l)||m.match(u);if(!k)return;const[$,C,g]=k,y=k[3]??"";let x=$e[g]||ve[g]||`:${g}`;return C&&(x=`:${C}(${x})`),[y,m.slice($.length),`${t}${be(y)}${x}`,g]},h=m=>{const k=m.match(c);if(!k)return;const[$,C,g]=k,y=k[3]??"",x=`:${C}(${g})`;return[y,m.slice($.length),`${t}${be(y)}${x}`]};return{name:`pseudo:${e}`,match(m,k){if(s&&l&&u||(s=new RegExp(`(?:${k.generator.config.separators.join("|")})`),l=new RegExp(`^${e}-(?:(?:(${le})-)?(${jt}))(?:(/[\\w-]+))?(?:${k.generator.config.separators.join("|")})`),u=new RegExp(`^${e}-(?:(?:(${le})-)?(${zt}))(?:(/[\\w-]+))?(?:${k.generator.config.separators.filter(b=>b!=="-").join("|")})`),c=new RegExp(`^${e}-(?:(${le})-)?\\[(.+)\\](?:(/[\\w-]+))?(?:${k.generator.config.separators.filter(b=>b!=="-").join("|")})`)),!m.startsWith(e))return;const $=p(m)||d(m)||h(m);if(!$)return;const[C,g,y,x=""]=$;return{matcher:g,handle:(b,E)=>E({...b,prefix:`${y}${r}${b.prefix}`.replace(a,"$1$2:"),sort:nn.indexOf(x)??on.indexOf(x)})}},multiPass:!0}}function ji(e){const{h:t}=e;let r,n,o;return[{name:"pseudo",match(i,a){r&&n||(r=new RegExp(`^(${mr})(?:-(\\d+|\\[(\\w|[+-.])+\\]))?(?:${a.generator.config.separators.join("|")})`),n=new RegExp(`^(${gr})(?:${a.generator.config.separators.filter(l=>l!=="-").join("|")})`));const s=i.match(r)||i.match(n);if(s){let l=$e[s[1]]||ve[s[1]]||`:${s[1]}`;if(s[2]){let c;s[2].startsWith("[")&&s[2].endsWith("]")?c=t.bracket(s[2]):c=s[2],c&&(l=l.replace(Re,c))}let u=nn.indexOf(s[1]);return u===-1&&(u=on.indexOf(s[1])),u===-1&&(u=void 0),{matcher:i.slice(s[0].length),handle:(c,p)=>{const d=l.includes("::")&&!Ei.includes(l)?{pseudo:`${c.pseudo}${l}`}:{selector:`${c.selector}${l}`};return p({...c,...d,sort:u,noMerge:!0})}}}},multiPass:!0,autocomplete:`(${mr}|${gr}):`},{name:"pseudo:multi",match(i,a){o||(o=new RegExp(`^(${hr})(?:${a.generator.config.separators.join("|")})`));const s=i.match(o);if(s)return sn[s[1]].map(u=>({matcher:i.slice(s[0].length),handle:(c,p)=>p({...c,pseudo:`${c.pseudo}${u}`})}))},multiPass:!1,autocomplete:`(${hr}):`}]}function zi(e){const{getBracket:t,h:r}=e;let n,o,i;return{match(a,s){n&&o||(n=new RegExp(`^(${le})-(${jt})(?:${s.generator.config.separators.join("|")})`),o=new RegExp(`^(${le})-(${zt})(?:${s.generator.config.separators.filter(u=>u!=="-").join("|")})`),i=new RegExp(`^(${le})-(\\[.+\\])(?:${s.generator.config.separators.filter(u=>u!=="-").join("|")})`));const l=a.match(n)||a.match(o)||a.match(i);if(l){const u=l[1],p=t(l[2],"[","]")?r.bracket(l[2]):$e[l[2]]||ve[l[2]]||`:${l[2]}`;return{matcher:a.slice(l[0].length),selector:d=>`${d}:${u}(${p})`}}},multiPass:!0,autocomplete:`(${le})-(${jt}|${zt}):`}}function Ai(e,t){const r=!!e?.attributifyPseudo;let n=e?.prefix??"";n=(Array.isArray(n)?n:[n]).filter(Boolean)[0]??"";const o=(i,a)=>Ci(i,r?`[${n}${i}=""]`:`.${n}${i}`,a,t);return[o("group"," "),o("peer","~"),o("parent",">"),o("previous","+")]}const Ri=/(part-\[(.+)\]:)(.+)/;function _i(){return{match(e){const t=e.match(Ri);if(t){const r=`part(${t[2]})`;return{matcher:e.slice(t[1].length),selector:n=>`${n}::${r}`}}},multiPass:!0}}function Z(e,t,r={}){let n;return{name:e,match(o,i){n||(n=new RegExp(`^${_e(e)}(?:${i.generator.config.separators.join("|")})`));const a=o.match(n);if(a){const s=o.slice(a[0].length),l=O(t).map(u=>({matcher:s,handle:(c,p)=>p({...c,...u(c)}),...r}));return l.length===1?l[0]:l}},autocomplete:`${e}:`}}function D(e,t){let r;return{name:e,match(n,o){r||(r=new RegExp(`^${_e(e)}(?:${o.generator.config.separators.join("|")})`));const i=n.match(r);if(i)return{matcher:n.slice(i[0].length),handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}${t}`})}},autocomplete:`${e}:`}}function Me(e,t,r){if(t.startsWith(`${e}[`)){const[n,o]=Nt(t.slice(e.length),"[","]")??[];if(n&&o){for(const i of r)if(o.startsWith(i))return[n,o.slice(i.length),i];return[n,o,""]}}}function X(e,t,r){for(const n of O(e))if(t.startsWith(n)){const o=Me(n,t,r);if(o){const[i="",a=o[1]]=X("/",o[1],r)??[];return[o[0],a,i]}for(const i of r.filter(a=>a!=="/")){const a=t.indexOf(i,n.length);if(a!==-1){const s=t.indexOf("/",n.length),l=s===-1||a<=s;return[t.slice(n.length,l?a:s),t.slice(a+i.length),l?"":t.slice(s+1,a)]}}}}function br(e){const{theme:t,generator:r}=e,o=r.config.presets.some(i=>i.name==="@unocss/preset-wind4")?"font":"fontFamily";return{"h1,h2,h3,h4,h5,h6":{color:"var(--un-prose-headings)","font-weight":"600","line-height":1.25},a:{color:"var(--un-prose-links)","text-decoration":"underline","font-weight":"500"},"a code":{color:"var(--un-prose-links)"},"p,ul,ol,pre":{margin:"1em 0","line-height":1.75},blockquote:{margin:"1em 0","padding-left":"1em","font-style":"italic","border-left":".25em solid var(--un-prose-borders)"},h1:{margin:"1rem 0","font-size":"2.25em"},h2:{margin:"1.75em 0 .5em","font-size":"1.75em"},h3:{margin:"1.5em 0 .5em","font-size":"1.375em"},h4:{margin:"1em 0","font-size":"1.125em"},"img,video":{"max-width":"100%"},"figure,picture":{margin:"1em 0"},figcaption:{color:"var(--un-prose-captions)","font-size":".875em"},code:{color:"var(--un-prose-code)","font-size":".875em","font-weight":600,"font-family":t[o]?.mono},":not(pre) > code::before,:not(pre) > code::after":{content:'"`"'},pre:{padding:"1.25rem 1.5rem","overflow-x":"auto","border-radius":".375rem"},"pre,code":{"white-space":"pre","word-spacing":"normal","word-break":"normal","word-wrap":"normal","-moz-tab-size":4,"-o-tab-size":4,"tab-size":4,"-webkit-hyphens":"none","-moz-hyphens":"none",hyphens:"none",background:"transparent"},"pre code":{"font-weight":"inherit"},"ol,ul":{"padding-left":"1.25em"},ol:{"list-style-type":"decimal"},'ol[type="A"]':{"list-style-type":"upper-alpha"},'ol[type="a"]':{"list-style-type":"lower-alpha"},'ol[type="A" s]':{"list-style-type":"upper-alpha"},'ol[type="a" s]':{"list-style-type":"lower-alpha"},'ol[type="I"]':{"list-style-type":"upper-roman"},'ol[type="i"]':{"list-style-type":"lower-roman"},'ol[type="I" s]':{"list-style-type":"upper-roman"},'ol[type="i" s]':{"list-style-type":"lower-roman"},'ol[type="1"]':{"list-style-type":"decimal"},ul:{"list-style-type":"disc"},"ol > li::marker,ul > li::marker,summary::marker":{color:"var(--un-prose-lists)"},hr:{margin:"2em 0",border:"1px solid var(--un-prose-hr)"},table:{display:"block",margin:"1em 0","border-collapse":"collapse","overflow-x":"auto"},"tr:nth-child(2n)":{background:"var(--un-prose-bg-soft)"},"td,th":{border:"1px solid var(--un-prose-borders)",padding:".625em 1em"},abbr:{cursor:"help"},kbd:{color:"var(--un-prose-code)",border:"1px solid",padding:".25rem .5rem","font-size":".875em","border-radius":".25rem"},details:{margin:"1em 0",padding:"1.25rem 1.5rem",background:"var(--un-prose-bg-soft)"},summary:{cursor:"pointer","font-weight":"600"}}}const Pi=[["headings","h1","h2","h3","h4","h5","h6","th"],["h1"],["h2"],["h3"],["h4"],["h5"],["h6"],["p"],["a"],["blockquote"],["figure"],["figcaption"],["strong"],["em"],["kbd"],["code"],["pre"],["ol"],["ul"],["li"],["table"],["thead"],["tr"],["th"],["td"],["img"],["video"],["hr"]];function Oi(e){for(const[t,...r]of Pi)if(t===e)return r.length>0?r:[t]}function yr(e){let t="";const{escapedSelector:r,selectorName:n,preflights:o,compatibility:i,important:a}=e,s=i?.noColonNot||i?.noColonWhere;for(const l in o){const u=o[l],c=`:not(:where(.not-${n},.not-${n} *))`,p=l.split(",").map(d=>{const h=d.match(/:[():\-\w]+$/g);if(h){const m=h[0];return d=d.replace(m,""),r.map(k=>s?`${k} ${d}${m}`:`${k} :where(${d})${c}${m}`).join(",")}return null}).filter(d=>d);p.length?t+=p.join(","):t+=r.map(d=>s?l.split(",").map(h=>`${d} ${h}`).join(","):`${d} :where(${l})${c}`).join(","),t+="{";for(const d in u){const h=u[d];t+=`${d}:${h}${a?" !important":""};`}t+="}"}return t}function Fi(e,t){const{compatibility:r,selectorName:n,important:o=!1}=t,i=typeof t?.cssExtend=="function"?t.cssExtend(e.theme):t?.cssExtend;let a=Array.from(t.escapedSelectors);return!a[a.length-1].startsWith(".")&&!r?.noColonIs&&(a=[`:is(${a[a.length-1]},.${t.selectorName})`]),typeof o=="string"&&(a=a.map(s=>r?.noColonIs?`${o} ${s}`:`:is(${o}) ${s}`)),yr(i?{escapedSelector:a,selectorName:n,preflights:et(br(e),i),compatibility:r,important:o===!0}:{escapedSelector:a,selectorName:n,preflights:br(e),compatibility:r,important:o===!0})}const Gu=e=>{e?.className&&console.warn('[unocss:preset-typography] "className" is deprecated. Please use "selectorName" instead.');const t=new Set,r=e?.selectorName||e?.className||"prose",n=new RegExp(`^${r}$`),o=new RegExp(`^${r}-([-\\w]+)$`),i=new RegExp(`^${r}-invert$`),a=e?.compatibility?.noColonNot||e?.compatibility?.noColonWhere;return{name:"@unocss/preset-typography",enforce:"post",layers:{typography:-20},rules:[[n,(s,{rawSelector:l})=>(t.add(Kr(l)),{color:"var(--un-prose-body)","max-width":"65ch"}),{layer:"typography"}],[o,([,s],{theme:l})=>{const u=l.colors?.[s];if(u==null)return;const c=typeof u=="object"?u:{},p={body:700,headings:900,links:900,lists:400,hr:200,captions:500,code:900,borders:200,"bg-soft":100,"invert-body":200,"invert-headings":100,"invert-links":100,"invert-lists":500,"invert-hr":700,"invert-captions":400,"invert-code":100,"invert-borders":700,"invert-bg-soft":800},d={};for(const h in p){const m=p[h],k=c[m]??u;let $=!1;for(const C of en)if(k.includes(C)){$=!0,d[`--un-prose-${h}-opacity`]=1,d[`--un-prose-${h}`]=k.replace(C,`var(--un-prose-${h}-opacity)`);break}$||(d[`--un-prose-${h}`]=k)}return d},{layer:"typography"}],[i,()=>({"--un-prose-body":"var(--un-prose-invert-body)","--un-prose-headings":"var(--un-prose-invert-headings)","--un-prose-links":"var(--un-prose-invert-links)","--un-prose-lists":"var(--un-prose-invert-lists)","--un-prose-hr":"var(--un-prose-invert-hr)","--un-prose-captions":"var(--un-prose-invert-captions)","--un-prose-code":"var(--un-prose-invert-code)","--un-prose-borders":"var(--un-prose-invert-borders)","--un-prose-bg-soft":"var(--un-prose-invert-bg-soft)"}),{layer:"typography"}]],variants:[{name:"typography element modifiers",match:s=>{if(s.startsWith(`${r}-`)){const l=new RegExp(`^${r}-(\\w+)[:-].+$`),u=s.match(l)?.[1];if(u){const c=Oi(u);if(c?.length)return{matcher:s.slice(r.length+u.length+2),selector:p=>{const d=`:not(:where(.not-${r},.not-${r} *))`;return a?c.map(m=>`${p} ${m}`).join(","):`${p} :is(:where(${c})${d})`}}}}}}],preflights:[{layer:"typography",getCSS:s=>{if(t.size>0)return Fi(s,{escapedSelectors:t,...e,selectorName:r})}}]}};function Mi(e){let t,r,n=2166136261;for(t=0,r=e.length;t<r;t++)n^=e.charCodeAt(t),n+=(n<<1)+(n<<4)+(n<<7)+(n<<8)+(n<<24);return`00000${(n>>>0).toString(36)}`.slice(-6)}function Li(e,t,r,n){for(const o of Array.from(e.matchAll(r)))if(o!=null){const i=o[0],a=`${n}${Mi(i)}`;t.set(a,i),e=e.replace(i,a)}return e}function Ti(e,t){for(const[r,n]of t.entries())e=e.replaceAll(r,n);return e}const Ni=/\/\/#\s*sourceMappingURL=.*\n?/g;function Wi(e){return e.includes("sourceMappingURL=")?e.replace(Ni,""):e}const Vi=/(?:[\w&:[\]-]|\[\S{1,64}=\S{1,64}\]){1,64}\[\\?['"]?\S{1,64}?['"]\]\]?[\w:-]{0,64}/g,Ui=/\[(\\\W|[\w-]){1,64}:[^\s:]{0,64}?("\S{1,64}?"|'\S{1,64}?'|`\S{1,64}?`|[^\s:]{1,64}?)[^\s:]{0,64}?\)?\]/g,Ii=/^\[(?:\\\W|[\w-]){1,64}:['"]?\S{1,64}?['"]?\]$/;function Bi(e){const t=[];for(const o of e.matchAll(Ui))o.index!==0&&!/^[\s'"`]/.test(e[o.index-1]??"")||t.push(o[0]);for(const o of e.matchAll(Vi))t.push(o[0]);const r=new Map,n="@unocss-skip-arbitrary-brackets";return e=Li(e,r,/-\[(?!&.+?;)[^\]]*\]/g,n),e&&e.split(qr).forEach(o=>{o.includes(n)&&(o=Ti(o,r)),St(o)&&!Ii.test(o)&&t.push(o)}),t}function Di(){return{name:"@unocss/extractor-arbitrary-variants",order:0,extract({code:e}){return Bi(Wi(e))}}}const qi="@unocss/preset-wind4",At="$$mini-no-negative",rt={transparent:"transparent",current:"currentColor",inherit:"inherit"},Q={l:["-left"],r:["-right"],t:["-top"],b:["-bottom"],s:["-inline-start"],e:["-inline-end"],x:["-inline"],y:["-block"],"":[""],bs:["-block-start"],be:["-block-end"],is:["-inline-start"],ie:["-inline-end"],block:["-block-start","-block-end"],inline:["-inline-start","-inline-end"]},kr={...Q,x:["-inset-inline"],y:["-inset-block"],s:["-inset-inline-start"],start:["-inset-inline-start"],e:["-inset-inline-end"],end:["-inset-inline-end"],bs:["-inset-block-start"],be:["-inset-block-end"],is:["-inset-inline-start"],ie:["-inset-inline-end"],block:["-inset-block-start","-inset-block-end"],inline:["-inset-inline-start","-inset-inline-end"]},Ye={l:["-top-left","-bottom-left"],r:["-top-right","-bottom-right"],t:["-top-left","-top-right"],b:["-bottom-left","-bottom-right"],tl:["-top-left"],lt:["-top-left"],tr:["-top-right"],rt:["-top-right"],bl:["-bottom-left"],lb:["-bottom-left"],br:["-bottom-right"],rb:["-bottom-right"],"":[""],bs:["-start-start","-start-end"],be:["-end-start","-end-end"],s:["-end-start","-start-start"],is:["-end-start","-start-start"],e:["-start-end","-end-end"],ie:["-start-end","-end-end"],ss:["-start-start"],"bs-is":["-start-start"],"is-bs":["-start-start"],se:["-start-end"],"bs-ie":["-start-end"],"ie-bs":["-start-end"],es:["-end-start"],"be-is":["-end-start"],"is-be":["-end-start"],ee:["-end-end"],"be-ie":["-end-end"],"ie-be":["-end-end"]},an={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},Hi=["x","y","z"],$r=["top","top center","top left","top right","bottom","bottom center","bottom left","bottom right","left","left center","left top","left bottom","right","right center","right top","right bottom","center","center top","center bottom","center left","center right","center center"],B=Object.assign({},...$r.map(e=>({[e.replace(/ /,"-")]:e})),...$r.map(e=>({[e.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:e}))),W=["inherit","initial","revert","revert-layer","unset"],Vt=/^(calc|clamp|min|max)\s*\((.+)\)(.*)/,ln=/^(var)\s*\((.+)\)(.*)/,nt=/^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i,Yi=/^(-?\d*(?:\.\d+)?)$/,cn=/^(px|[sld]?v[wh])$/i,un={px:1,vw:100,vh:100,svw:100,svh:100,dvw:100,dvh:100,lvh:100,lvw:100},Ut=/^\[(color|image|length|size|position|quoted|string|number|family):/i,Xi=/,(?![^()]*\))/g,Gi=["color","border-color","background-color","outline-color","text-decoration-color","flex-grow","flex","flex-shrink","caret-color","font","gap","opacity","visibility","z-index","font-weight","zoom","text-shadow","transform","box-shadow","border","background-position","left","right","top","bottom","object-position","max-height","min-height","max-width","min-width","height","width","border-width","margin","padding","outline-width","outline-offset","font-size","line-height","text-indent","vertical-align","border-spacing","letter-spacing","word-spacing","stroke","filter","backdrop-filter","fill","mask","mask-size","mask-border","clip-path","clip","border-radius"];function ee(e){return+e.toFixed(10)}function Ki(e){const t=e.match(nt);if(!t)return;const[,r,n]=t,o=Number.parseFloat(r);if(n&&!Number.isNaN(o))return`${ee(o)}${n}`}function Ji(e){if(e==="auto"||e==="a")return"auto"}function Zi(e){if(!e)return;if(cn.test(e))return`${un[e]}${e}`;const t=e.match(nt);if(!t)return;const[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0":n?`${ee(o)}${n}`:`${ee(o/4)}rem`}function Qi(e){if(cn.test(e))return`${un[e]}${e}`;const t=e.match(nt);if(!t)return;const[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return n?`${ee(o)}${n}`:`${ee(o)}px`}function fn(e){if(!Yi.test(e))return;const t=Number.parseFloat(e);if(!Number.isNaN(t))return ee(t)}function es(e){e.endsWith("%")&&(e=e.slice(0,-1));const t=fn(e);if(t!=null)return`${t}%`}function ts(e){if(!e)return;if(e==="full")return"100%";const[t,r]=e.split("/"),n=Number.parseFloat(t)/Number.parseFloat(r);if(!Number.isNaN(n))return n===0?"0":`${ee(n*100)}%`}function fe(e,t){if(e&&e.startsWith("[")&&e.endsWith("]")){let r,n;const o=e.match(Ut);if(!o)r=e.slice(1,-1);else{if(!t)n=o[1];else if(o[1]!==t)return;r=e.slice(o[0].length,-1)}if(!r||r==='=""')return;if(r.startsWith("--")){const[a,s]=r.slice(2).split(",");r=`var(--${be(a)}${s?`, ${s}`:""})`}let i=0;for(const a of r)if(a==="[")i+=1;else if(a==="]"&&(i-=1,i<0))return;if(i)return;switch(n){case"string":return r.replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_");case"quoted":return r.replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_").replace(/(["\\])/g,"\\$1").replace(/^(.+)$/,'"$1"')}return r.replace(/(url\(.*?\))/g,a=>a.replace(/_/g,"\\_")).replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_").replace(/(?:calc|clamp|max|min)\((.*)/g,a=>{const s=[];return a.replace(/var\((--.+?)[,)]/g,(l,u)=>(s.push(u),l.replace(u,"--un-calc"))).replace(/(-?\d*\.?\d(?!-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 ").replace(/--un-calc/g,()=>s.shift())})}}function rs(e){return fe(e)}function ns(e){return fe(e,"color")}function os(e){return fe(e,"length")||fe(e,"size")}function is(e){return fe(e,"position")}function ss(e){return fe(e,"family")}function as(e){return fe(e,"number")}function ls(e){if(e.startsWith("var("))return e;const t=e.match(/^(?:\$|--)([^\s'"`;{}]+)$/);if(t){const[r,n]=t[1].split(",");return`var(--${be(r)}${n?`, ${n}`:""})`}}function cs(e){const t=e.match(/^(-?[0-9.]+)(s|ms)?$/i);if(!t)return;const[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0&&!n?"0s":n?`${ee(o)}${n}`:`${ee(o)}ms`}function us(e){const t=e.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);if(!t)return;const[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0":n?`${ee(o)}${n}`:`${ee(o)}deg`}function fs(e){if(W.includes(e))return e}function ps(e){if(e.split(",").every(t=>Gi.includes(t)))return e}function ds(e){if(["top","left","right","bottom","center"].includes(e))return e}function hs(e){if(e==="none")return"none"}const ms={__proto__:null,auto:Ji,bracket:rs,bracketOfColor:ns,bracketOfFamily:ss,bracketOfLength:os,bracketOfNumber:as,bracketOfPosition:is,cssvar:ls,degree:us,fraction:ts,global:fs,none:hs,number:fn,numberWithUnit:Ki,percent:es,position:ds,properties:ps,px:Qi,rem:Zi,time:cs},gs=xi(ms),f=gs;function Y(e,t){const r=f.number(e)??t;if(r!=null){let n=Number(r);return String(r).endsWith("%")&&(n=Number(String(r).slice(0,-1))/100),n}}function P(e,t=Q,r=(n,o)=>`${n}${o}`){return([n,o,i],{theme:a})=>{if(i!=null&&o!=null){let s;const l=i.startsWith("-");if(l&&(i=i.slice(1)),s=Y(i),s!=null&&!Number.isNaN(s))return z("spacing"),t[o].map(u=>[r(e,u),`calc(var(--spacing) * ${l?"-":""}${s})`]);if(a.spacing&&i in a.spacing)return z("spacing",i),t[o].map(u=>[r(e,u),l?`calc(var(--spacing-${i}) * -1)`:`var(--spacing-${i})`]);if(s=f.bracket.cssvar.global.auto.fraction.rem(l?`-${i}`:i),s!=null)return t[o].map(u=>[r(e,u),s])}}}function ot(e,t){let r;const[n,...o]=Oe(e,["/",":"],3)??[];if(n!=null){const k=(n.match(Ut)??[])[1];(k==null||k==="color")&&(r=[n,...o])}if(!r)return;let i,[a,s,l]=r;pr(s)||pr(f.bracket(s??""))?l=s:i=s;const u=a.replace(/([a-z])(\d)(?![-_a-z])/g,"$1-$2").split(/-/g),[c]=u;if(!c)return;let p=vr(t,u);if(!p&&u.length>=2){const k=u.at(-1),$=u.at(-2);if(/^\d+$/.test(k)){const C=u.slice(0,-2).concat([`${$}${k}`]);p=vr(t,C)}}let{no:d,keys:h,color:m}=p??{};if(!m){const k=f.bracketOfColor(a),$=k||a;if(f.numberWithUnit($))return;/^#[\da-f]+$/i.test($)?m=$:/^hex-[\da-fA-F]+$/.test($)?m=`#${$.slice(4)}`:a.startsWith("$")&&(m=f.cssvar(a)),m=m||k}return{opacity:i,modifier:l&&f.bracket.cssvar(l)||l,name:c,no:d,color:m??rt[c],alpha:f.bracket.cssvar.percent(i??""),keys:h,get cssColor(){return ge(this.color)}}}function vr(e,t){let r,n,o;const i=Ke(e,"colors",t);if(typeof i=="object"?"DEFAULT"in i&&(r=i.DEFAULT,n="DEFAULT",o=[...t,n]):typeof i=="string"&&(r=i,o=t,n=t.at(-1)),!!r)return{color:r,no:n,keys:o}}function Ke(e,t,r){const n=e[t];function o(i,a){if(!(!i||typeof i!="object")){if(a.length===0)return i;for(let s=a.length;s>0;s--){const l=a.slice(0,s).join("-");if(l in i){const u=i[l];return s===a.length?u:o(u,a.slice(s))}}}}return o(n,r)}function pn(e,t,r,n){if(!e)return;const{color:o,keys:i,alpha:a,modifier:s}=e,l=n?.generator.config.envMode==="dev"&&o?` /* ${o} */`:"",u={};if(o){const c=[u];if(Object.values(rt).includes(o))u[t]=o;else{const p=`--un-${r}-opacity`,d=i?N("colors",i):o;let h=s??(i?"in srgb":"in oklab");!h.startsWith("in ")&&!h.startsWith("var(")&&(h=`in ${h}`),u[t]=`color-mix(${h}, ${d} ${a??`var(${p})`}, transparent)${l}`,c.push(w(p,{syntax:"<percentage>",initialValue:"100%"})),i&&(z("colors",i),s||c.push({[U.parent]:"@supports (color: color-mix(in lab, red, red))",[U.noMerge]:!0,[U.shortcutsNoMerge]:!0,[t]:`color-mix(in oklab, ${d} ${a??`var(${p})`}, transparent)${l}`})),n?.theme&&st(o,n.theme)}return c}}function V(e,t){return([,r],n)=>{const o=ot(r??"",n.theme);if(o)return pn(o,e,t,n)}}function It(e,t){const r=[];e=O(e);for(let n=0;n<e.length;n++){const o=Oe(e[n]," ",6);if(!o||o.length<3)return e;let i=!1;const a=o.indexOf("inset");a!==-1&&(o.splice(a,1),i=!0);let s="";const l=o.at(-1);if(ge(o.at(0))){const u=ge(o.shift());u&&(s=`, ${Ct(u)}`)}else if(ge(l)){const u=ge(o.pop());u&&(s=`, ${Ct(u)}`)}else l&&ln.test(l)&&(s=`, ${o.pop()}`);r.push(`${i?"inset ":""}${o.join(" ")} var(${t}${s})`)}return r}function Fe(e,t){return e!=null&&!!ot(e,t)?.color}const wr=/[a-z]+/gi,ht=new WeakMap;function it({theme:e,generator:t},r="breakpoint"){const n=t?.userConfig?.theme?.[r]||e[r];if(!n)return;if(ht.has(e))return ht.get(e);const o=Object.entries(n).sort((i,a)=>Number.parseInt(i[1].replace(wr,""))-Number.parseInt(a[1].replace(wr,""))).map(([i,a])=>({point:i,size:a}));return ht.set(e,o),o}function A(e,t){return W.map(r=>[`${e}-${r}`,{[t??e]:r}])}function w(e,t={}){const{syntax:r="*",inherits:n=!1,initialValue:o}=t,i={[U.shortcutsNoMerge]:!0,[U.noMerge]:!0,[U.variants]:()=>[{parent:"",layer:"properties",selector:()=>`@property ${e}`}],syntax:JSON.stringify(r),inherits:n?"true":"false"};return o!=null&&(i["initial-value"]=o),ys(e,o?String(o):"initial"),i}function Le(e){return e!=null&&Vt.test(e)}function bs(e){return e[0]==="["&&e.slice(-1)==="]"&&(e=e.slice(1,-1)),Vt.test(e)||nt.test(e)}function Rt(e){return e.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}function dn(e,t=!1){return t?e.trim():e.trim().replace(/\s+/g," ").replace(/\/\*[\s\S]*?\*\//g,"")}const ye=new Set([]);function z(e,t="DEFAULT"){const r=`${e}:${O(t).join("-")}`;ye.has(r)||ye.add(r)}function N(e,t){return`var(--${e}-${O(t).join("-")})`}function st(e,t){if(e.startsWith("var(")){const r=e.match(/var\(--([\w-]+)(?:,.*)?\)/)?.[1];if(r){const[n,...o]=r.split("-"),i=Ke(t,n,o);typeof i=="string"&&(z(n,o),st(i,t))}}}const ke=new Map;function ys(e,t){ke.has(e)||ke.set(e,t)}function ks({important:e}){if(e==null||e===!1)return[];const t=r=>r.startsWith(":is(")&&r.endsWith(")")?r:r.includes("::")?r.replace(/(.*?)((?:\s\*)?::.*)/,":is($1)$2"):`:is(${r})`;return[r=>{r.layer!=="properties"&&(e===!0?r.entries.forEach(n=>{n[1]!=null&&!String(n[1]).endsWith("!important")&&(n[1]+=" !important")}):r.selector.startsWith(e)||(r.selector=`${e} ${t(r.selector)}`))}]}function $s({variablePrefix:e}){return e!=="un-"?[r=>{r.entries.forEach(n=>{n[0]=n[0].replace(/^--un-/,`--${e}`),typeof n[1]=="string"&&(n[1]=n[1].replace(/var\(--un-/g,`var(--${e}`))})}]:[]}function vs(e){return[ks,$s].flatMap(t=>t(e))}const ws={name:"aria",match(e,t){const r=X("aria-",e,t.generator.config.separators);if(r){const[n,o]=r,i=f.bracket(n)??t.theme.aria?.[n]??"";if(i)return{matcher:o,selector:a=>`${a}[aria-${i}]`}}},multiPass:!0,autocomplete:"aria-$aria"};function de(e){return{name:`${e}-aria`,match(t,r){const n=X(`${e}-aria-`,t,r.generator.config.separators);if(n){const[o,i,a]=n,s=f.bracket(o)??r.theme.aria?.[o]??"";if(s){const l={group:`&:is(:where(.group${a?`\\/${a}`:""})[aria-${s}] *)`,peer:`&:is(:where(.peer${a?`\\/${a}`:""})[aria-${s}] ~ *)`,previous:`:where(*[aria-${s}] + &)`,parent:`:where(*[aria-${s}] > &)`,has:`&:has(*[aria-${s}])`,in:`:where(*[aria-${s}]) &`};return{matcher:i,handle:(u,c)=>c({...u,parent:`${u.parent?`${u.parent} $$ `:""}${u.selector}`,selector:l[e]})}}}},multiPass:!0}}const xs=[de("group"),de("peer"),de("parent"),de("previous"),de("has"),de("in")],xr=/(max|min)-\[([^\]]*)\]:/;function Ss(){const e={};return{name:"breakpoints",match(t,r){if(xr.test(t)){const o=t.match(xr);return{matcher:t.replace(o[0],""),handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@media (${o[1]}-width: ${o[2]})`})}}const n=(it(r)??[]).map(({point:o,size:i},a)=>[o,i,a]);for(const[o,i,a]of n){e[o]||(e[o]=new RegExp(`^((?:([al]t-|[<~]|max-))?${o}(?:${r.generator.config.separators.join("|")}))`));const s=t.match(e[o]);if(!s)continue;const[,l]=s,u=t.slice(l.length);if(u==="container")continue;const c=l.startsWith("lt-")||l.startsWith("<")||l.startsWith("max-"),p=l.startsWith("at-")||l.startsWith("~");let d=3e3;return c?(d-=a+1,{matcher:u,handle:(h,m)=>m({...h,parent:`${h.parent?`${h.parent} $$ `:""}@media (max-width: ${dr(i)})`,parentOrder:d})}):(d+=a+1,p&&a<n.length-1?{matcher:u,handle:(h,m)=>m({...h,parent:`${h.parent?`${h.parent} $$ `:""}@media (min-width: ${i}) and (max-width: ${dr(n[a+1][1])})`,parentOrder:d})}:{matcher:u,handle:(h,m)=>m({...h,parent:`${h.parent?`${h.parent} $$ `:""}@media (min-width: ${i})`,parentOrder:d})})}},multiPass:!0,autocomplete:"(at-|lt-|max-|)$breakpoint:"}}const Es=[Z("*",e=>({selector:`${e.selector} > *`}),{order:-1}),Z("**",e=>({selector:`${e.selector} *`}),{order:-1})];function Se(e,t){return{name:`combinator:${e}`,match(r,n){if(!r.startsWith(e))return;const o=n.generator.config.separators;let i=Me(`${e}-`,r,o);if(!i){for(const s of o)if(r.startsWith(`${e}${s}`)){i=["",r.slice(e.length+s.length)];break}if(!i)return}let a=f.bracket(i[0])??"";return a===""&&(a="*"),{matcher:i[1],selector:s=>`${s}${t}${a}`}},multiPass:!0}}const Cs=[Se("all"," "),Se("children",">"),Se("next","+"),Se("sibling","+"),Se("siblings","~")],js=[Z("svg",e=>({selector:`${e.selector} svg`}))],zs={name:"@",match(e,t){if(e.startsWith("@container"))return;const r=X("@",e,t.generator.config.separators);if(r){const[n,o,i]=r,a=f.bracket(n);let s;if(a?s=f.numberWithUnit(a):s=t.theme.container?.[n]??"",s){let l=1e3+Object.keys(t.theme.container??{}).indexOf(n);return i&&(l+=1e3),{matcher:o,handle:(u,c)=>c({...u,parent:`${u.parent?`${u.parent} $$ `:""}@container${i?` ${i} `:" "}(min-width: ${s})`,parentOrder:l})}}}},multiPass:!0};function As(e={}){if(e?.dark==="class"||typeof e.dark=="object"){const{dark:t=".dark",light:r=".light"}=typeof e.dark=="string"?{}:e.dark;return[Z("dark",n=>({prefix:`${t} $$ ${n.prefix}`})),Z("light",n=>({prefix:`${r} $$ ${n.prefix}`}))]}return[D("dark","@media (prefers-color-scheme: dark)"),D("light","@media (prefers-color-scheme: light)")]}const Rs=[Z(".dark",e=>({prefix:`.dark $$ ${e.prefix}`})),Z(".light",e=>({prefix:`.light $$ ${e.prefix}`})),D("@dark","@media (prefers-color-scheme: dark)"),D("@light","@media (prefers-color-scheme: light)"),D("not-dark","@media not (prefers-color-scheme: dark)")],_s={name:"data",match(e,t){const r=X("data-",e,t.generator.config.separators);if(r){const[n,o]=r,i=f.bracket(n)??t.theme.data?.[n]??"";if(i)return{matcher:o,selector:a=>`${a}[data-${i}]`}}},multiPass:!0};function he(e){return{name:`${e}-data`,match(t,r){const n=X(`${e}-data-`,t,r.generator.config.separators);if(n){const[o,i,a]=n,s=f.bracket(o)??r.theme.data?.[o]??"";if(s){const l={group:`&:is(:where(.group${a?`\\/${a}`:""})[data-${s}] *)`,peer:`&:is(:where(.peer${a?`\\/${a}`:""})[data-${s}] ~ *)`,previous:`:where(*[data-${s}] + &)`,parent:`:where(*[data-${s}] > &)`,has:`&:has(*[data-${s}])`,in:`:where(*[data-${s}]) &`};return{matcher:i,handle:(u,c)=>c({...u,parent:`${u.parent?`${u.parent} $$ `:""}${u.selector}`,selector:l[e]})}}}},multiPass:!0}}const Ps=[he("group"),he("peer"),he("parent"),he("previous"),he("has"),he("in")],Os=[Z("rtl",e=>({prefix:`[dir="rtl"] $$ ${e.prefix}`})),Z("ltr",e=>({prefix:`[dir="ltr"] $$ ${e.prefix}`}))];function Fs(){let e;return{name:"important",match(t,r){e||(e=new RegExp(`^(important(?:${r.generator.config.separators.join("|")})|!)`));let n;const o=t.match(e);if(o?n=t.slice(o[0].length):t.endsWith("!")&&(n=t.slice(0,-1)),n)return{matcher:n,body:i=>(i.forEach(a=>{a[1]!=null&&(a[1]+=" !important")}),i)}}}}const Ms=Z("inert",e=>({parent:`${e.parent?`${e.parent} $$ `:""}${e.selector}`,selector:"&:is([inert],[inert] *)"})),Ls=D("noscript","@media (scripting: none)"),Ts={name:"scripting",match(e,t){const r=X(["script-","scripting-"],e,t.generator.config.separators);if(r){const[n,o]=r;if(["none","initial-only","enabled"].includes(n))return{matcher:o,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@media (scripting: ${n})`})}}},multiPass:!0,autocomplete:["(scripting|script)-(none|initial-only|enabled)"]},Ns=D("print","@media print"),Ws={name:"media",match(e,t){const r=X("media-",e,t.generator.config.separators);if(r){const[n,o]=r;let i=f.bracket(n)??"";if(i===""&&(i=t.theme.media?.[n]??""),i)return{matcher:o,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@media ${i}`})}}},multiPass:!0,autocomplete:"media-$media"},Vs=[D("contrast-more","@media (prefers-contrast: more)"),D("contrast-less","@media (prefers-contrast: less)")],Us=[D("motion-reduce","@media (prefers-reduced-motion: reduce)"),D("motion-safe","@media (prefers-reduced-motion: no-preference)")],Is=[D("landscape","@media (orientation: landscape)"),D("portrait","@media (orientation: portrait)")],Bs=[D("forced-colors","@media (forced-colors: active)")],Ds={name:"selector",match(e,t){const r=Me("selector-",e,t.generator.config.separators);if(r){const[n,o]=r,i=f.bracket(n);if(i)return{matcher:o,selector:()=>i}}}},qs={name:"layer",match(e,t){const r=X("layer-",e,t.generator.config.separators);if(r){const[n,o]=r,i=f.bracket(n)??n;if(i)return{matcher:o,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@layer ${i}`})}}}},Hs={name:"uno-layer",match(e,t){const r=X("uno-layer-",e,t.generator.config.separators);if(r){const[n,o]=r,i=f.bracket(n)??n;if(i)return{matcher:o,layer:i}}}},Ys={name:"scope",match(e,t){const r=Me("scope-",e,t.generator.config.separators);if(r){const[n,o]=r,i=f.bracket(n);if(i)return{matcher:o,selector:a=>`${i} $$ ${a}`}}}},Xs={name:"variables",match(e,t){if(!e.startsWith("["))return;const[r,n]=Nt(e,"[","]")??[];if(!(r&&n))return;let o;for(const s of t.generator.config.separators)if(n.startsWith(s)){o=n.slice(s.length);break}if(o==null)return;const i=f.bracket(r)??"",a=i.startsWith("@");if(a||i.includes("&"))return{matcher:o,handle(s,l){const u=a?{parent:`${s.parent?`${s.parent} $$ `:""}${i}`}:{selector:i.replace(/&/g,s.selector)};return l({...s,...u})}}},multiPass:!0},Gs={name:"theme-variables",match(e,t){if($i(e))return{matcher:e,handle(r,n){return n({...r,entries:JSON.parse(vi(JSON.stringify(r.entries),t.theme))})}}}},Ks=[Z("@hover",e=>({parent:`${e.parent?`${e.parent} $$ `:""}@media (hover: hover) and (pointer: fine)`,selector:`${e.selector||""}:hover`}))],Js={name:"implicit-group",match(e,t){const r=X("in-",e,t.generator.config.separators);if(r){const[n,o]=r,i=f.bracket(n)??n;if(i)return{matcher:o,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}${a.selector}`,selector:`:where(*:is(${i})) &`})}}}},hn=/^-?[0-9.]+(?:[a-z]+|%)?$/,mn=/-?[0-9.]+(?:[a-z]+|%)?/,Zs=[/\b(opacity|color|flex|backdrop-filter|^filter|transform|mask-image)\b/];function Qs(e){const t=e.match(Vt)||e.match(ln);if(t){const[r,n]=tt(`(${t[2]})${t[3]}`,"(",")"," ")??[];if(r)return`calc(${t[1]}${r} * -1)${n?` ${n}`:""}`}}const ea=/\b(hue-rotate)\s*(\(.*)/;function ta(e){const t=e.match(ea);if(t){const[r,n]=tt(t[2],"(",")"," ")??[];if(r){const o=hn.test(r.slice(1,-1))?r.replace(mn,i=>i.startsWith("-")?i.slice(1):`-${i}`):`(calc(${r} * -1))`;return`${t[1]}${o}${n?` ${n}`:""}`}}}const ra={name:"negative",match(e){if(e.startsWith("-"))return{matcher:e.slice(1),body:t=>{if(t.find(n=>n[0]===At))return;let r=!1;return t.forEach(n=>{if(O(n[2]).includes(At))return;const o=n[1]?.toString();if(!o||o==="0"||Zs.some(s=>s.test(n[0])))return;const i=Qs(o);if(i){n[1]=i,r=!0;return}const a=ta(o);if(a){n[1]=a,r=!0;return}hn.test(o)&&(n[1]=o.replace(mn,s=>s.startsWith("-")?s.slice(1):`-${s}`),r=!0)}),r?t:[]}}}},na=(e,{theme:t})=>{const r=e.match(/^(.*)\b(placeholder-)(.+)$/);if(r){const[,n="",o,i]=r;if(Fe(i,t)||oa(i))return{matcher:`${n}placeholder-$ ${o}${i}`}}};function oa(e){const t=e.match(/^op(?:acity)?-?(.+)$/);return t&&t[1]!=null?f.bracket.percent(t[1])!=null:!1}function ia(){return ji({h:f})}function sa(){return zi({getBracket:Nt,h:f})}function aa(e={}){return Ai(e,{h:f,variantGetBracket:Me})}const la=_i(),ca={name:"starting",match(e){if(e.startsWith("starting:"))return{matcher:e.slice(9),handle:(t,r)=>r({...t,parent:"@starting-style"})}}},ua={name:"supports",match(e,t){const r=X("supports-",e,t.generator.config.separators);if(r){const[n,o]=r;let i=f.bracket(n)??"";if(i===""&&(i=t.theme.supports?.[n]??""),i)return i.startsWith("(")&&i.endsWith(")")||(i=`(${i})`),{matcher:o,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@supports ${i}`})}}},multiPass:!0};function fa(e){return[ws,_s,qs,Ds,Hs,ra,ca,Fs(),ua,Ls,Ts,Ns,Ws,...Vs,...Us,...Is,...Bs,Ss(),...Cs,...js,na,...ia(),sa(),...aa(e),la,...As(e),...Rs,...Os,Ys,...Es,Ms,zs,Xs,...Ps,...xs,Gs,...Ks,Js].flat()}const gn={black:"#000",white:"#fff",slate:{50:"oklch(98.4% 0.003 247.858)",100:"oklch(96.8% 0.007 247.896)",200:"oklch(92.9% 0.013 255.508)",300:"oklch(86.9% 0.022 252.894)",400:"oklch(70.4% 0.04 256.788)",500:"oklch(55.4% 0.046 257.417)",600:"oklch(44.6% 0.043 257.281)",700:"oklch(37.2% 0.044 257.287)",800:"oklch(27.9% 0.041 260.031)",900:"oklch(20.8% 0.042 265.755)",950:"oklch(12.9% 0.042 264.695)"},gray:{50:"oklch(98.5% 0.002 247.839)",100:"oklch(96.7% 0.003 264.542)",200:"oklch(92.8% 0.006 264.531)",300:"oklch(87.2% 0.01 258.338)",400:"oklch(70.7% 0.022 261.325)",500:"oklch(55.1% 0.027 264.364)",600:"oklch(44.6% 0.03 256.802)",700:"oklch(37.3% 0.034 259.733)",800:"oklch(27.8% 0.033 256.848)",900:"oklch(21% 0.034 264.665)",950:"oklch(13% 0.028 261.692)"},zinc:{50:"oklch(98.5% 0 0)",100:"oklch(96.7% 0.001 286.375)",200:"oklch(92% 0.004 286.32)",300:"oklch(87.1% 0.006 286.286)",400:"oklch(70.5% 0.015 286.067)",500:"oklch(55.2% 0.016 285.938)",600:"oklch(44.2% 0.017 285.786)",700:"oklch(37% 0.013 285.805)",800:"oklch(27.4% 0.006 286.033)",900:"oklch(21% 0.006 285.885)",950:"oklch(14.1% 0.005 285.823)"},neutral:{50:"oklch(98.5% 0 0)",100:"oklch(97% 0 0)",200:"oklch(92.2% 0 0)",300:"oklch(87% 0 0)",400:"oklch(70.8% 0 0)",500:"oklch(55.6% 0 0)",600:"oklch(43.9% 0 0)",700:"oklch(37.1% 0 0)",800:"oklch(26.9% 0 0)",900:"oklch(20.5% 0 0)",950:"oklch(14.5% 0 0)"},stone:{50:"oklch(98.5% 0.001 106.423)",100:"oklch(97% 0.001 106.424)",200:"oklch(92.3% 0.003 48.717)",300:"oklch(86.9% 0.005 56.366)",400:"oklch(70.9% 0.01 56.259)",500:"oklch(55.3% 0.013 58.071)",600:"oklch(44.4% 0.011 73.639)",700:"oklch(37.4% 0.01 67.558)",800:"oklch(26.8% 0.007 34.298)",900:"oklch(21.6% 0.006 56.043)",950:"oklch(14.7% 0.004 49.25)"},red:{50:"oklch(97.1% 0.013 17.38)",100:"oklch(93.6% 0.032 17.717)",200:"oklch(88.5% 0.062 18.334)",300:"oklch(80.8% 0.114 19.571)",400:"oklch(70.4% 0.191 22.216)",500:"oklch(63.7% 0.237 25.331)",600:"oklch(57.7% 0.245 27.325)",700:"oklch(50.5% 0.213 27.518)",800:"oklch(44.4% 0.177 26.899)",900:"oklch(39.6% 0.141 25.723)",950:"oklch(25.8% 0.092 26.042)"},orange:{50:"oklch(98% 0.016 73.684)",100:"oklch(95.4% 0.038 75.164)",200:"oklch(90.1% 0.076 70.697)",300:"oklch(83.7% 0.128 66.29)",400:"oklch(75% 0.183 55.934)",500:"oklch(70.5% 0.213 47.604)",600:"oklch(64.6% 0.222 41.116)",700:"oklch(55.3% 0.195 38.402)",800:"oklch(47% 0.157 37.304)",900:"oklch(40.8% 0.123 38.172)",950:"oklch(26.6% 0.079 36.259)"},amber:{50:"oklch(98.7% 0.022 95.277)",100:"oklch(96.2% 0.059 95.617)",200:"oklch(92.4% 0.12 95.746)",300:"oklch(87.9% 0.169 91.605)",400:"oklch(82.8% 0.189 84.429)",500:"oklch(76.9% 0.188 70.08)",600:"oklch(66.6% 0.179 58.318)",700:"oklch(55.5% 0.163 48.998)",800:"oklch(47.3% 0.137 46.201)",900:"oklch(41.4% 0.112 45.904)",950:"oklch(27.9% 0.077 45.635)"},yellow:{50:"oklch(98.7% 0.026 102.212)",100:"oklch(97.3% 0.071 103.193)",200:"oklch(94.5% 0.129 101.54)",300:"oklch(90.5% 0.182 98.111)",400:"oklch(85.2% 0.199 91.936)",500:"oklch(79.5% 0.184 86.047)",600:"oklch(68.1% 0.162 75.834)",700:"oklch(55.4% 0.135 66.442)",800:"oklch(47.6% 0.114 61.907)",900:"oklch(42.1% 0.095 57.708)",950:"oklch(28.6% 0.066 53.813)"},lime:{50:"oklch(98.6% 0.031 120.757)",100:"oklch(96.7% 0.067 122.328)",200:"oklch(93.8% 0.127 124.321)",300:"oklch(89.7% 0.196 126.665)",400:"oklch(84.1% 0.238 128.85)",500:"oklch(76.8% 0.233 130.85)",600:"oklch(64.8% 0.2 131.684)",700:"oklch(53.2% 0.157 131.589)",800:"oklch(45.3% 0.124 130.933)",900:"oklch(40.5% 0.101 131.063)",950:"oklch(27.4% 0.072 132.109)"},green:{50:"oklch(98.2% 0.018 155.826)",100:"oklch(96.2% 0.044 156.743)",200:"oklch(92.5% 0.084 155.995)",300:"oklch(87.1% 0.15 154.449)",400:"oklch(79.2% 0.209 151.711)",500:"oklch(72.3% 0.219 149.579)",600:"oklch(62.7% 0.194 149.214)",700:"oklch(52.7% 0.154 150.069)",800:"oklch(44.8% 0.119 151.328)",900:"oklch(39.3% 0.095 152.535)",950:"oklch(26.6% 0.065 152.934)"},emerald:{50:"oklch(97.9% 0.021 166.113)",100:"oklch(95% 0.052 163.051)",200:"oklch(90.5% 0.093 164.15)",300:"oklch(84.5% 0.143 164.978)",400:"oklch(76.5% 0.177 163.223)",500:"oklch(69.6% 0.17 162.48)",600:"oklch(59.6% 0.145 163.225)",700:"oklch(50.8% 0.118 165.612)",800:"oklch(43.2% 0.095 166.913)",900:"oklch(37.8% 0.077 168.94)",950:"oklch(26.2% 0.051 172.552)"},teal:{50:"oklch(98.4% 0.014 180.72)",100:"oklch(95.3% 0.051 180.801)",200:"oklch(91% 0.096 180.426)",300:"oklch(85.5% 0.138 181.071)",400:"oklch(77.7% 0.152 181.912)",500:"oklch(70.4% 0.14 182.503)",600:"oklch(60% 0.118 184.704)",700:"oklch(51.1% 0.096 186.391)",800:"oklch(43.7% 0.078 188.216)",900:"oklch(38.6% 0.063 188.416)",950:"oklch(27.7% 0.046 192.524)"},cyan:{50:"oklch(98.4% 0.019 200.873)",100:"oklch(95.6% 0.045 203.388)",200:"oklch(91.7% 0.08 205.041)",300:"oklch(86.5% 0.127 207.078)",400:"oklch(78.9% 0.154 211.53)",500:"oklch(71.5% 0.143 215.221)",600:"oklch(60.9% 0.126 221.723)",700:"oklch(52% 0.105 223.128)",800:"oklch(45% 0.085 224.283)",900:"oklch(39.8% 0.07 227.392)",950:"oklch(30.2% 0.056 229.695)"},sky:{50:"oklch(97.7% 0.013 236.62)",100:"oklch(95.1% 0.026 236.824)",200:"oklch(90.1% 0.058 230.902)",300:"oklch(82.8% 0.111 230.318)",400:"oklch(74.6% 0.16 232.661)",500:"oklch(68.5% 0.169 237.323)",600:"oklch(58.8% 0.158 241.966)",700:"oklch(50% 0.134 242.749)",800:"oklch(44.3% 0.11 240.79)",900:"oklch(39.1% 0.09 240.876)",950:"oklch(29.3% 0.066 243.157)"},blue:{50:"oklch(97% 0.014 254.604)",100:"oklch(93.2% 0.032 255.585)",200:"oklch(88.2% 0.059 254.128)",300:"oklch(80.9% 0.105 251.813)",400:"oklch(70.7% 0.165 254.624)",500:"oklch(62.3% 0.214 259.815)",600:"oklch(54.6% 0.245 262.881)",700:"oklch(48.8% 0.243 264.376)",800:"oklch(42.4% 0.199 265.638)",900:"oklch(37.9% 0.146 265.522)",950:"oklch(28.2% 0.091 267.935)"},indigo:{50:"oklch(96.2% 0.018 272.314)",100:"oklch(93% 0.034 272.788)",200:"oklch(87% 0.065 274.039)",300:"oklch(78.5% 0.115 274.713)",400:"oklch(67.3% 0.182 276.935)",500:"oklch(58.5% 0.233 277.117)",600:"oklch(51.1% 0.262 276.966)",700:"oklch(45.7% 0.24 277.023)",800:"oklch(39.8% 0.195 277.366)",900:"oklch(35.9% 0.144 278.697)",950:"oklch(25.7% 0.09 281.288)"},violet:{50:"oklch(96.9% 0.016 293.756)",100:"oklch(94.3% 0.029 294.588)",200:"oklch(89.4% 0.057 293.283)",300:"oklch(81.1% 0.111 293.571)",400:"oklch(70.2% 0.183 293.541)",500:"oklch(60.6% 0.25 292.717)",600:"oklch(54.1% 0.281 293.009)",700:"oklch(49.1% 0.27 292.581)",800:"oklch(43.2% 0.232 292.759)",900:"oklch(38% 0.189 293.745)",950:"oklch(28.3% 0.141 291.089)"},purple:{50:"oklch(97.7% 0.014 308.299)",100:"oklch(94.6% 0.033 307.174)",200:"oklch(90.2% 0.063 306.703)",300:"oklch(82.7% 0.119 306.383)",400:"oklch(71.4% 0.203 305.504)",500:"oklch(62.7% 0.265 303.9)",600:"oklch(55.8% 0.288 302.321)",700:"oklch(49.6% 0.265 301.924)",800:"oklch(43.8% 0.218 303.724)",900:"oklch(38.1% 0.176 304.987)",950:"oklch(29.1% 0.149 302.717)"},fuchsia:{50:"oklch(97.7% 0.017 320.058)",100:"oklch(95.2% 0.037 318.852)",200:"oklch(90.3% 0.076 319.62)",300:"oklch(83.3% 0.145 321.434)",400:"oklch(74% 0.238 322.16)",500:"oklch(66.7% 0.295 322.15)",600:"oklch(59.1% 0.293 322.896)",700:"oklch(51.8% 0.253 323.949)",800:"oklch(45.2% 0.211 324.591)",900:"oklch(40.1% 0.17 325.612)",950:"oklch(29.3% 0.136 325.661)"},pink:{50:"oklch(97.1% 0.014 343.198)",100:"oklch(94.8% 0.028 342.258)",200:"oklch(89.9% 0.061 343.231)",300:"oklch(82.3% 0.12 346.018)",400:"oklch(71.8% 0.202 349.761)",500:"oklch(65.6% 0.241 354.308)",600:"oklch(59.2% 0.249 0.584)",700:"oklch(52.5% 0.223 3.958)",800:"oklch(45.9% 0.187 3.815)",900:"oklch(40.8% 0.153 2.432)",950:"oklch(28.4% 0.109 3.907)"},rose:{50:"oklch(96.9% 0.015 12.422)",100:"oklch(94.1% 0.03 12.58)",200:"oklch(89.2% 0.058 10.001)",300:"oklch(81% 0.117 11.638)",400:"oklch(71.2% 0.194 13.428)",500:"oklch(64.5% 0.246 16.439)",600:"oklch(58.6% 0.253 17.585)",700:"oklch(51.4% 0.222 16.935)",800:"oklch(45.5% 0.188 13.697)",900:"oklch(41% 0.159 10.272)",950:"oklch(27.1% 0.105 12.094)"},light:{50:"oklch(99.4% 0 0)",100:"oklch(99.11% 0 0)",200:"oklch(98.51% 0 0)",300:"oklch(98.16% 0.0017 247.84)",400:"oklch(97.31% 0 0)",500:"oklch(96.12% 0 0)",600:"oklch(96.32% 0.0034 247.86)",700:"oklch(94.17% 0.0052 247.88)",800:"oklch(91.09% 0.007 247.9)",900:"oklch(90.72% 0.0051 228.82)",950:"oklch(89.23% 0.006 239.83)"},dark:{50:"oklch(40.91% 0 0)",100:"oklch(35.62% 0 0)",200:"oklch(31.71% 0 0)",300:"oklch(29.72% 0 0)",400:"oklch(25.2% 0 0)",500:"oklch(23.93% 0 0)",600:"oklch(22.73% 0.0038 286.09)",700:"oklch(22.21% 0 0)",800:"oklch(20.9% 0 0)",900:"oklch(16.84% 0 0)",950:"oklch(13.44% 0 0)"}};Object.values(gn).forEach(e=>{typeof e!="string"&&e!==void 0&&(e.DEFAULT=e.DEFAULT||e[400])});const pa={keyframes:{pulse:"{0%, 100% {opacity:1} 50% {opacity:.5}}",bounce:"{0%, 100% {transform:translateY(-25%);animation-timing-function:cubic-bezier(0.8,0,1,1)} 50% {transform:translateY(0);animation-timing-function:cubic-bezier(0,0,0.2,1)}}",spin:"{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}",ping:"{0%{transform:scale(1);opacity:1}75%,100%{transform:scale(2);opacity:0}}","bounce-alt":"{from,20%,53%,80%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1);transform:translate3d(0,0,0)}40%,43%{animation-timing-function:cubic-bezier(0.755,0.05,0.855,0.06);transform:translate3d(0,-30px,0)}70%{animation-timing-function:cubic-bezier(0.755,0.05,0.855,0.06);transform:translate3d(0,-15px,0)}90%{transform:translate3d(0,-4px,0)}}",flash:"{from,50%,to{opacity:1}25%,75%{opacity:0}}","pulse-alt":"{from{transform:scale3d(1,1,1)}50%{transform:scale3d(1.05,1.05,1.05)}to{transform:scale3d(1,1,1)}}","rubber-band":"{from{transform:scale3d(1,1,1)}30%{transform:scale3d(1.25,0.75,1)}40%{transform:scale3d(0.75,1.25,1)}50%{transform:scale3d(1.15,0.85,1)}65%{transform:scale3d(0.95,1.05,1)}75%{transform:scale3d(1.05,0.95,1)}to{transform:scale3d(1,1,1)}}","shake-x":"{from,to{transform:translate3d(0,0,0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}","shake-y":"{from,to{transform:translate3d(0,0,0)}10%,30%,50%,70%,90%{transform:translate3d(0,-10px,0)}20%,40%,60%,80%{transform:translate3d(0,10px,0)}}","head-shake":"{0%{transform:translateX(0)}6.5%{transform:translateX(-6px) rotateY(-9deg)}18.5%{transform:translateX(5px) rotateY(7deg)}31.5%{transform:translateX(-3px) rotateY(-5deg)}43.5%{transform:translateX(2px) rotateY(3deg)}50%{transform:translateX(0)}}",swing:"{20%{transform:rotate3d(0,0,1,15deg)}40%{transform:rotate3d(0,0,1,-10deg)}60%{transform:rotate3d(0,0,1,5deg)}80%{transform:rotate3d(0,0,1,-5deg)}to{transform:rotate3d(0,0,1,0deg)}}",tada:"{from{transform:scale3d(1,1,1)}10%,20%{transform:scale3d(0.9,0.9,0.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}to{transform:scale3d(1,1,1)}}",wobble:"{from{transform:translate3d(0,0,0)}15%{transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}to{transform:translate3d(0,0,0)}}",jello:"{from,11.1%,to{transform:translate3d(0,0,0)}22.2%{transform:skewX(-12.5deg) skewY(-12.5deg)}33.3%{transform:skewX(6.25deg) skewY(6.25deg)}44.4%{transform:skewX(-3.125deg)skewY(-3.125deg)}55.5%{transform:skewX(1.5625deg) skewY(1.5625deg)}66.6%{transform:skewX(-0.78125deg) skewY(-0.78125deg)}77.7%{transform:skewX(0.390625deg) skewY(0.390625deg)}88.8%{transform:skewX(-0.1953125deg) skewY(-0.1953125deg)}}","heart-beat":"{0%{transform:scale(1)}14%{transform:scale(1.3)}28%{transform:scale(1)}42%{transform:scale(1.3)}70%{transform:scale(1)}}",hinge:"{0%{transform-origin:top left;animation-timing-function:ease-in-out}20%,60%{transform:rotate3d(0,0,1,80deg);transform-origin:top left;animation-timing-function:ease-in-out}40%,80%{transform:rotate3d(0,0,1,60deg);transform-origin:top left;animation-timing-function:ease-in-out}to{transform:translate3d(0,700px,0);opacity:0}}","jack-in-the-box":"{from{opacity:0;transform-origin:center bottom;transform:scale(0.1) rotate(30deg)}50%{transform:rotate(-10deg)}70%{transform:rotate(3deg)}to{transform:scale(1)}}","light-speed-in-left":"{from{opacity:0;transform:translate3d(-100%,0,0) skewX(-30deg)}60%{opacity:1;transform:skewX(20deg)}80%{transform:skewX(-5deg)}to{transform:translate3d(0,0,0)}}","light-speed-in-right":"{from{opacity:0;transform:translate3d(100%,0,0) skewX(-30deg)}60%{opacity:1;transform:skewX(20deg)}80%{transform:skewX(-5deg)}to{transform:translate3d(0,0,0)}}","light-speed-out-left":"{from{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0) skewX(30deg)}}","light-speed-out-right":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0) skewX(30deg)}}",flip:"{from{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,-360deg);animation-timing-function:ease-out}40%{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);animation-timing-function:ease-out}50%{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);animation-timing-function:ease-in}80%{transform:perspective(400px) scale3d(0.95,0.95,0.95) translate3d(0,0,0) rotate3d(0,1,0,0deg);animation-timing-function:ease-in}to{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,0deg);animation-timing-function:ease-in}}","flip-in-x":"{from{transform:perspective(400px) rotate3d(1,0,0,90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotate3d(1,0,0,-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotate3d(1,0,0,10deg);opacity:1}80%{transform:perspective(400px) rotate3d(1,0,0,-5deg)}to{transform:perspective(400px)}}","flip-in-y":"{from{transform:perspective(400px) rotate3d(0,1,0,90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotate3d(0,1,0,-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotate3d(0,1,0,10deg);opacity:1}80%{transform:perspective(400px) rotate3d(0,1,0,-5deg)}to{transform:perspective(400px)}}","flip-out-x":"{from{transform:perspective(400px)}30%{transform:perspective(400px) rotate3d(1,0,0,-20deg);opacity:1}to{transform:perspective(400px) rotate3d(1,0,0,90deg);opacity:0}}","flip-out-y":"{from{transform:perspective(400px)}30%{transform:perspective(400px) rotate3d(0,1,0,-15deg);opacity:1}to{transform:perspective(400px) rotate3d(0,1,0,90deg);opacity:0}}","rotate-in":"{from{transform-origin:center;transform:rotate3d(0,0,1,-200deg);opacity:0}to{transform-origin:center;transform:translate3d(0,0,0);opacity:1}}","rotate-in-down-left":"{from{transform-origin:left bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}to{transform-origin:left bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-in-down-right":"{from{transform-origin:right bottom;transform:rotate3d(0,0,1,45deg);opacity:0}to{transform-origin:right bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-in-up-left":"{from{transform-origin:left top;transform:rotate3d(0,0,1,45deg);opacity:0}to{transform-origin:left top;transform:translate3d(0,0,0);opacity:1}}","rotate-in-up-right":"{from{transform-origin:right bottom;transform:rotate3d(0,0,1,-90deg);opacity:0}to{transform-origin:right bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-out":"{from{transform-origin:center;opacity:1}to{transform-origin:center;transform:rotate3d(0,0,1,200deg);opacity:0}}","rotate-out-down-left":"{from{transform-origin:left bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,45deg);opacity:0}}","rotate-out-down-right":"{from{transform-origin:right bottom;opacity:1}to{transform-origin:right bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}}","rotate-out-up-left":"{from{transform-origin:left bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}}","rotate-out-up-right":"{from{transform-origin:right bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,90deg);opacity:0}}","roll-in":"{from{opacity:0;transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;transform:translate3d(0,0,0)}}","roll-out":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}","zoom-in":"{from{opacity:0;transform:scale3d(0.3,0.3,0.3)}50%{opacity:1}}","zoom-in-down":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,-1000px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-left":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(-1000px,0,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(10px,0,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-right":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(1000px,0,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(-10px,0,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-up":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,1000px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-out":"{from{opacity:1}50%{opacity:0;transform:scale3d(0.3,0.3,0.3)}to{opacity:0}}","zoom-out-down":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}to{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,2000px,0);transform-origin:center bottom;animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-out-left":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(42px,0,0)}to{opacity:0;transform:scale(0.1) translate3d(-2000px,0,0);transform-origin:left center}}","zoom-out-right":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(-42px,0,0)}to{opacity:0;transform:scale(0.1) translate3d(2000px,0,0);transform-origin:right center}}","zoom-out-up":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}to{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,-2000px,0);transform-origin:center bottom;animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","bounce-in":"{from,20%,40%,60%,80%,to{animation-timing-function:ease-in-out}0%{opacity:0;transform:scale3d(0.3,0.3,0.3)}20%{transform:scale3d(1.1,1.1,1.1)}40%{transform:scale3d(0.9,0.9,0.9)}60%{transform:scale3d(1.03,1.03,1.03);opacity:1}80%{transform:scale3d(0.97,0.97,0.97)}to{opacity:1;transform:scale3d(1,1,1)}}","bounce-in-down":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:translate3d(0,0,0)}}","bounce-in-left":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:translate3d(0,0,0)}}","bounce-in-right":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:translate3d(0,0,0)}}","bounce-in-up":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translate3d(0,0,0)}}","bounce-out":"{20%{transform:scale3d(0.9,0.9,0.9)}50%,55%{opacity:1;transform:scale3d(1.1,1.1,1.1)}to{opacity:0;transform:scale3d(0.3,0.3,0.3)}}","bounce-out-down":"{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}","bounce-out-left":"{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}","bounce-out-right":"{20%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(2000px,0,0)}}","bounce-out-up":"{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}","slide-in-down":"{from{transform:translate3d(0,-100%,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-left":"{from{transform:translate3d(-100%,0,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-right":"{from{transform:translate3d(100%,0,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-up":"{from{transform:translate3d(0,100%,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-out-down":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(0,100%,0)}}","slide-out-left":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(-100%,0,0)}}","slide-out-right":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(100%,0,0)}}","slide-out-up":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(0,-100%,0)}}","fade-in":"{from{opacity:0}to{opacity:1}}","fade-in-down":"{from{opacity:0;transform:translate3d(0,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-down-big":"{from{opacity:0;transform:translate3d(0,-2000px,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-left":"{from{opacity:0;transform:translate3d(-100%,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-left-big":"{from{opacity:0;transform:translate3d(-2000px,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-right":"{from{opacity:0;transform:translate3d(100%,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-right-big":"{from{opacity:0;transform:translate3d(2000px,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-up":"{from{opacity:0;transform:translate3d(0,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-up-big":"{from{opacity:0;transform:translate3d(0,2000px,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-top-left":"{from{opacity:0;transform:translate3d(-100%,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-top-right":"{from{opacity:0;transform:translate3d(100%,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-bottom-left":"{from{opacity:0;transform:translate3d(-100%,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-bottom-right":"{from{opacity:0;transform:translate3d(100%,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-out":"{from{opacity:1}to{opacity:0}}","fade-out-down":"{from{opacity:1}to{opacity:0;transform:translate3d(0,100%,0)}}","fade-out-down-big":"{from{opacity:1}to{opacity:0;transform:translate3d(0,2000px,0)}}","fade-out-left":"{from{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0)}}","fade-out-left-big":"{from{opacity:1}to{opacity:0;transform:translate3d(-2000px,0,0)}}","fade-out-right":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0)}}","fade-out-right-big":"{from{opacity:1}to{opacity:0;transform:translate3d(2000px,0,0)}}","fade-out-up":"{from{opacity:1}to{opacity:0;transform:translate3d(0,-100%,0)}}","fade-out-up-big":"{from{opacity:1}to{opacity:0;transform:translate3d(0,-2000px,0)}}","fade-out-top-left":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(-100%,-100%,0)}}","fade-out-top-right":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(100%,-100%,0)}}","fade-out-bottom-left":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(-100%,100%,0)}}","fade-out-bottom-right":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(100%,100%,0)}}","back-in-up":"{0%{opacity:0.7;transform:translateY(1200px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-down":"{0%{opacity:0.7;transform:translateY(-1200px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-right":"{0%{opacity:0.7;transform:translateX(2000px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-left":"{0%{opacity:0.7;transform:translateX(-2000px) scale(0.7)}80%{opacity:0.7;transform:translateX(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-out-up":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateY(-700px) scale(0.7)}}","back-out-down":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateY(700px) scale(0.7)}}","back-out-right":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateX(2000px) scale(0.7)}}","back-out-left":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateX(-2000px) scale(0.7)}100%{opacity:0.7;transform:translateY(-700px) scale(0.7)}}"},durations:{pulse:"2s","heart-beat":"1.3s","bounce-in":"0.75s","bounce-out":"0.75s","flip-out-x":"0.75s","flip-out-y":"0.75s",hinge:"2s"},timingFns:{pulse:"cubic-bezier(0.4,0,.6,1)",ping:"cubic-bezier(0,0,.2,1)","head-shake":"ease-in-out","heart-beat":"ease-in-out","pulse-alt":"ease-in-out","light-speed-in-left":"ease-out","light-speed-in-right":"ease-out","light-speed-out-left":"ease-in","light-speed-out-right":"ease-in"},properties:{"bounce-alt":{"transform-origin":"center bottom"},jello:{"transform-origin":"center"},swing:{"transform-origin":"top center"},flip:{"backface-visibility":"visible"},"flip-in-x":{"backface-visibility":"visible !important"},"flip-in-y":{"backface-visibility":"visible !important"},"flip-out-x":{"backface-visibility":"visible !important"},"flip-out-y":{"backface-visibility":"visible !important"},"rotate-in":{"transform-origin":"center"},"rotate-in-down-left":{"transform-origin":"left bottom"},"rotate-in-down-right":{"transform-origin":"right bottom"},"rotate-in-up-left":{"transform-origin":"left bottom"},"rotate-in-up-right":{"transform-origin":"right bottom"},"rotate-out":{"transform-origin":"center"},"rotate-out-down-left":{"transform-origin":"left bottom"},"rotate-out-down-right":{"transform-origin":"right bottom"},"rotate-out-up-left":{"transform-origin":"left bottom"},"rotate-out-up-right":{"transform-origin":"right bottom"},hinge:{"transform-origin":"top left"},"zoom-out-down":{"transform-origin":"center bottom"},"zoom-out-left":{"transform-origin":"left center"},"zoom-out-right":{"transform-origin":"right center"},"zoom-out-up":{"transform-origin":"center bottom"}},counts:{spin:"infinite",ping:"infinite",pulse:"infinite","pulse-alt":"infinite",bounce:"infinite","bounce-alt":"infinite"},category:{pulse:"Attention Seekers",bounce:"Attention Seekers",spin:"Attention Seekers",ping:"Attention Seekers","bounce-alt":"Attention Seekers",flash:"Attention Seekers","pulse-alt":"Attention Seekers","rubber-band":"Attention Seekers","shake-x":"Attention Seekers","shake-y":"Attention Seekers","head-shake":"Attention Seekers",swing:"Attention Seekers",tada:"Attention Seekers",wobble:"Attention Seekers",jello:"Attention Seekers","heart-beat":"Attention Seekers",hinge:"Specials","jack-in-the-box":"Specials","light-speed-in-left":"Lightspeed","light-speed-in-right":"Lightspeed","light-speed-out-left":"Lightspeed","light-speed-out-right":"Lightspeed",flip:"Flippers","flip-in-x":"Flippers","flip-in-y":"Flippers","flip-out-x":"Flippers","flip-out-y":"Flippers","rotate-in":"Rotating Entrances","rotate-in-down-left":"Rotating Entrances","rotate-in-down-right":"Rotating Entrances","rotate-in-up-left":"Rotating Entrances","rotate-in-up-right":"Rotating Entrances","rotate-out":"Rotating Exits","rotate-out-down-left":"Rotating Exits","rotate-out-down-right":"Rotating Exits","rotate-out-up-left":"Rotating Exits","rotate-out-up-right":"Rotating Exits","roll-in":"Specials","roll-out":"Specials","zoom-in":"Zooming Entrances","zoom-in-down":"Zooming Entrances","zoom-in-left":"Zooming Entrances","zoom-in-right":"Zooming Entrances","zoom-in-up":"Zooming Entrances","zoom-out":"Zooming Exits","zoom-out-down":"Zooming Exits","zoom-out-left":"Zooming Exits","zoom-out-right":"Zooming Exits","zoom-out-up":"Zooming Exits","bounce-in":"Bouncing Entrances","bounce-in-down":"Bouncing Entrances","bounce-in-left":"Bouncing Entrances","bounce-in-right":"Bouncing Entrances","bounce-in-up":"Bouncing Entrances","bounce-out":"Bouncing Exits","bounce-out-down":"Bouncing Exits","bounce-out-left":"Bouncing Exits","bounce-out-right":"Bouncing Exits","bounce-out-up":"Bouncing Exits","slide-in-down":"Sliding Entrances","slide-in-left":"Sliding Entrances","slide-in-right":"Sliding Entrances","slide-in-up":"Sliding Entrances","slide-out-down":"Sliding Exits","slide-out-left":"Sliding Exits","slide-out-right":"Sliding Exits","slide-out-up":"Sliding Exits","fade-in":"Fading Entrances","fade-in-down":"Fading Entrances","fade-in-down-big":"Fading Entrances","fade-in-left":"Fading Entrances","fade-in-left-big":"Fading Entrances","fade-in-right":"Fading Entrances","fade-in-right-big":"Fading Entrances","fade-in-up":"Fading Entrances","fade-in-up-big":"Fading Entrances","fade-in-top-left":"Fading Entrances","fade-in-top-right":"Fading Entrances","fade-in-bottom-left":"Fading Entrances","fade-in-bottom-right":"Fading Entrances","fade-out":"Fading Exits","fade-out-down":"Fading Exits","fade-out-down-big":"Fading Exits","fade-out-left":"Fading Exits","fade-out-left-big":"Fading Exits","fade-out-right":"Fading Exits","fade-out-right-big":"Fading Exits","fade-out-up":"Fading Exits","fade-out-up-big":"Fading Exits","fade-out-top-left":"Fading Exits","fade-out-top-right":"Fading Exits","fade-out-bottom-left":"Fading Exits","fade-out-bottom-right":"Fading Exits","back-in-up":"Back Entrances","back-in-down":"Back Entrances","back-in-right":"Back Entrances","back-in-left":"Back Entrances","back-out-up":"Back Exits","back-out-down":"Back Exits","back-out-right":"Back Exits","back-out-left":"Back Exits"}},da={busy:'busy="true"',checked:'checked="true"',disabled:'disabled="true"',expanded:'expanded="true"',hidden:'hidden="true"',pressed:'pressed="true"',readonly:'readonly="true"',required:'required="true"',selected:'selected="true"'},ha={DEFAULT:"8px",xs:"4px",sm:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},ma={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(",")},ga={xs:{fontSize:"0.75rem",lineHeight:"1rem"},sm:{fontSize:"0.875rem",lineHeight:"1.25rem"},base:{fontSize:"1rem",lineHeight:"1.5rem"},lg:{fontSize:"1.125rem",lineHeight:"1.75rem"},xl:{fontSize:"1.25rem",lineHeight:"1.75rem"},"2xl":{fontSize:"1.5rem",lineHeight:"2rem"},"3xl":{fontSize:"1.875rem",lineHeight:"2.25rem"},"4xl":{fontSize:"2.25rem",lineHeight:"2.5rem"},"5xl":{fontSize:"3rem",lineHeight:"1"},"6xl":{fontSize:"3.75rem",lineHeight:"1"},"7xl":{fontSize:"4.5rem",lineHeight:"1"},"8xl":{fontSize:"6rem",lineHeight:"1"},"9xl":{fontSize:"8rem",lineHeight:"1"}},ba={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},ya={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},ka={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},$a={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},va={portrait:"(orientation: portrait)",landscape:"(orientation: landscape)",os_dark:"(prefers-color-scheme: dark)",os_light:"(prefers-color-scheme: light)",motion_ok:"(prefers-reduced-motion: no-preference)",motion_not_ok:"(prefers-reduced-motion: reduce)",high_contrast:"(prefers-contrast: high)",low_contrast:"(prefers-contrast: low)",opacity_ok:"(prefers-reduced-transparency: no-preference)",opacity_not_ok:"(prefers-reduced-transparency: reduce)",use_data_ok:"(prefers-reduced-data: no-preference)",use_data_not_ok:"(prefers-reduced-data: reduce)",touch:"(hover: none) and (pointer: coarse)",stylus:"(hover: none) and (pointer: fine)",pointer:"(hover) and (pointer: coarse)",mouse:"(hover) and (pointer: fine)",hd_color:"(dynamic-range: high)"},wa={DEFAULT:"0.25rem",xs:"0.75rem",sm:"0.875rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"},xa={DEFAULT:"0.25rem",none:"0",xs:"0.125rem",sm:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem","4xl":"2rem"},Sa={DEFAULT:["0 1px 3px 0 rgb(0 0 0 / 0.1)","0 1px 2px -1px rgb(0 0 0 / 0.1)"],"2xs":"0 1px rgb(0 0 0 / 0.05)",xs:"0 1px 2px 0 rgb(0 0 0 / 0.05)",sm:["0 1px 3px 0 rgb(0 0 0 / 0.1)","0 1px 2px -1px rgb(0 0 0 / 0.1)"],md:["0 4px 6px -1px rgb(0 0 0 / 0.1)","0 2px 4px -2px rgb(0 0 0 / 0.1)"],lg:["0 10px 15px -3px rgb(0 0 0 / 0.1)","0 4px 6px -4px rgb(0 0 0 / 0.1)"],xl:["0 20px 25px -5px rgb(0 0 0 / 0.1)","0 8px 10px -6px rgb(0 0 0 / 0.1)"],"2xl":"0 25px 50px -12px rgb(0 0 0 / 0.25)",none:"0 0 rgb(0 0 0 / 0)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)"},Ea={"2xs":"inset 0 1px rgb(0 0 0 / 0.05)",xs:"inset 0 1px 1px rgb(0 0 0 / 0.05)",sm:"inset 0 2px 4px rgb(0 0 0 / 0.05)",none:"0 0 rgb(0 0 0 / 0)"},Ca={DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],xs:"0 1px 1px rgb(0 0 0 / 0.05)",sm:"0 1px 2px rgb(0 0 0 / 0.15)",md:"0 3px 3px rgb(0 0 0 / 0.12)",lg:"0 4px 4px rgb(0 0 0 / 0.15)",xl:"0 9px 7px rgb(0 0 0 / 0.1)","2xl":"0 25px 25px rgb(0 0 0 / 0.15)"},ja={none:"0 0 rgb(0 0 0 / 0)","2xs":"0 1px 0 rgb(0 0 0 / 0.15)",xs:"0 1px 1px rgb(0 0 0 / 0.2)",sm:["0 1px 0 rgb(0 0 0 / 0.075)","0 1px 1px rgb(0 0 0 / 0.075)","0 2px 2px rgb(0 0 0 / 0.075)"],md:["0 1px 1px rgb(0 0 0 / 0.1)","0 1px 2px rgb(0 0 0 / 0.1)","0 2px 4px rgb(0 0 0 / 0.1)"],lg:["0 1px 2px rgb(0 0 0 / 0.1)","0 3px 2px rgb(0 0 0 / 0.1)","0 4px 8px rgb(0 0 0 / 0.1)"]},za={dramatic:"100px",near:"300px",normal:"500px",midrange:"800px",distant:"1200px"},Aa={transition:{duration:"150ms",timingFunction:"cubic-bezier(0.4, 0, 0.2, 1)"},font:{family:"var(--font-sans)",featureSettings:"var(--font-sans--font-feature-settings)",variationSettings:"var(--font-sans--font-variation-settings)"},monoFont:{family:"var(--font-mono)",featureSettings:"var(--font-mono--font-feature-settings)",variationSettings:"var(--font-mono--font-variation-settings)"}},Ra={"3xs":"16rem","2xs":"18rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",prose:"65ch"},bn={sm:"40rem",md:"48rem",lg:"64rem",xl:"80rem","2xl":"96rem"},_a={...bn},Pa={grid:"(display: grid)"},Oa={linear:"linear",in:"cubic-bezier(0.4, 0, 1, 1)",out:"cubic-bezier(0, 0, 0.2, 1)","in-out":"cubic-bezier(0.4, 0, 0.2, 1)",DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)"},Fa={none:"none",all:"all",colors:["color","background-color","border-color","text-decoration-color","fill","stroke","--un-gradient-from","--un-gradient-via","--un-gradient-to"].join(","),opacity:"opacity",shadow:"box-shadow",transform:["transform","translate","scale","rotate"].join(","),get DEFAULT(){return[this.colors,this.opacity,this.shadow,this.transform,"filter","-webkit-backdrop-filter","backdrop-filter"].join(",")}},Ma={font:ma,colors:gn,spacing:wa,breakpoint:bn,verticalBreakpoint:_a,text:ga,fontWeight:ba,tracking:ya,leading:ka,textStrokeWidth:$a,radius:xa,shadow:Sa,insetShadow:Ea,dropShadow:Ca,textShadow:ja,ease:Oa,animation:pa,blur:ha,perspective:za,property:Fa,default:Aa,container:Ra,aria:da,media:va,supports:Pa},La=[[/^@container(?:\/(\w+))?(?:-(normal))?$/,([,e,t])=>({"container-type":t??"inline-size","container-name":e})]],Ta=/@media \(min-width: (.+)\)/,Na=[[/^__container$/,(e,t)=>{const{theme:r,variantHandlers:n}=t,o=r.containers?.padding;let i;T(o)?i=o:i=o?.DEFAULT;const a=r.containers?.maxWidth;let s;for(const u of n){const c=u.handle?.({},p=>p)?.parent;if(T(c)){const p=c.match(Ta)?.[1];if(p){const h=(it(t)??[]).find(m=>m.size===p)?.point;a?h&&(s=a?.[h]):s=p,h&&!T(o)&&(i=o?.[h]??i)}}}const l={"max-width":s};return n.length||(l.width="100%"),r.containers?.center&&(l["margin-left"]="auto",l["margin-right"]="auto"),o&&(l["padding-left"]=i,l["padding-right"]=i),l},{internal:!0}]],Wa=[[/^(?:(\w+)[:-])?container$/,([,e],t)=>{let r=(it(t)??[]).map(o=>o.point);if(e){if(!r.includes(e))return;r=r.slice(r.indexOf(e))}const n=r.map(o=>`${o}:__container`);return e||n.unshift("__container"),n}]],Va=[...Wa],Sr={mid:"middle",base:"baseline",btm:"bottom",baseline:"baseline",top:"top",start:"top",middle:"middle",bottom:"bottom",end:"bottom","text-top":"text-top","text-bottom":"text-bottom",sub:"sub",super:"super",...Object.fromEntries(W.map(e=>[e,e]))},Ua=[[/^(?:vertical|align|v)-(.+)$/,([,e])=>({"vertical-align":Sr[e]??f.bracket.cssvar.numberWithUnit(e)}),{autocomplete:[`(vertical|align|v)-(${Object.keys(Sr).join("|")})`,"(vertical|align|v)-<percentage>"]}]],Er=["center","left","right","justify","start","end"],Ia=[...Er.map(e=>[`text-${e}`,{"text-align":e}]),...[...W,...Er].map(e=>[`text-align-${e}`,{"text-align":e}])],Ba=[[/^(?:animate-)?keyframes-(.+)$/,([,e],{theme:t})=>{const r=t.animation?.keyframes?.[e];if(r)return[`@keyframes ${e}${r}`,{animation:e}]},{autocomplete:["animate-keyframes-$animation.keyframes","keyframes-$animation.keyframes"]}],[/^animate-(.+)$/,([,e],{theme:t})=>{const r=t.animation?.keyframes?.[e];if(r){const n=t.animation?.durations?.[e]??"1s",o=t.animation?.timingFns?.[e]??"linear",i=t.animation?.counts?.[e]??1,a=t.animation?.properties?.[e];return[`@keyframes ${e}${r}`,{animation:`${e} ${n} ${o} ${i}`,...a}]}return{animation:f.bracket.cssvar(e)}},{autocomplete:"animate-$animation.keyframes"}],[/^animate-name-(.+)/,([,e])=>({"animation-name":f.bracket.cssvar(e)??e})],[/^animate-duration-(.+)$/,([,e],{theme:t})=>({"animation-duration":t.duration?.[e||"DEFAULT"]??f.bracket.cssvar.time(e)}),{autocomplete:["animate-duration"]}],[/^animate-delay-(.+)$/,([,e],{theme:t})=>({"animation-delay":t.duration?.[e||"DEFAULT"]??f.bracket.cssvar.time(e)}),{autocomplete:["animate-delay"]}],[/^animate-ease(?:-(.+))?$/,([,e],{theme:t})=>({"animation-timing-function":t.ease?.[e||"DEFAULT"]??f.bracket.cssvar(e)}),{autocomplete:["animate-ease","animate-ease-$ease"]}],[/^animate-(fill-mode-|fill-|mode-)?(.+)$/,([,e,t])=>["none","forwards","backwards","both",e?W:[]].includes(t)?{"animation-fill-mode":t}:void 0,{autocomplete:["animate-(fill|mode|fill-mode)","animate-(fill|mode|fill-mode)-(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)","animate-(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)"]}],[/^animate-(direction-)?(.+)$/,([,e,t])=>["normal","reverse","alternate","alternate-reverse",e?W:[]].includes(t)?{"animation-direction":t}:void 0,{autocomplete:["animate-direction","animate-direction-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)","animate-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)"]}],[/^animate-(?:iteration-count-|iteration-|count-)(.+)$/,([,e])=>({"animation-iteration-count":f.bracket.cssvar(e)??e.replace(/-/g,",")}),{autocomplete:["animate-(iteration|count|iteration-count)","animate-(iteration|count|iteration-count)-<num>"]}],[/^animate-(play-state-|play-|state-)?(.+)$/,([,e,t])=>["paused","running",e?W:[]].includes(t)?{"animation-play-state":t}:void 0,{autocomplete:["animate-(play|state|play-state)","animate-(play|state|play-state)-(paused|running|inherit|initial|revert|revert-layer|unset)","animate-(paused|running|inherit|initial|revert|revert-layer|unset)"]}],["animate-none",{animation:"none"}],...A("animate","animation")],yn={"gradient-position":w("--un-gradient-position"),"gradient-from":w("--un-gradient-from",{syntax:"<color>",initialValue:"#0000"}),"gradient-via":w("--un-gradient-via",{syntax:"<color>",initialValue:"#0000"}),"gradient-to":w("--un-gradient-to",{syntax:"<color>",initialValue:"#0000"}),"gradient-stops":w("--un-gradient-stops"),"gradient-via-stops":w("--un-gradient-via-stops"),"gradient-from-position":w("--un-gradient-from-position",{syntax:"<length-percentage>",initialValue:"0%"}),"gradient-via-position":w("--un-gradient-via-position",{syntax:"<length-percentage>",initialValue:"50%"}),"gradient-to-position":w("--un-gradient-to-position",{syntax:"<length-percentage>",initialValue:"100%"})};function Cr(e){let t="in oklab";if(e)if(e.startsWith("[")&&e.endsWith("]"))t=e.slice(1,-1);else switch(e){case"longer":case"shorter":case"increasing":case"decreasing":t=`in oklch ${e} hue`;break;default:t=`in ${e}`}return t}function Da(){return function*([,e,t],{theme:r}){const n={},o=ot(t,r);if(o){const{color:i,keys:a,alpha:s}=o;if(i){if(Object.values(rt).includes(i))n[`--un-gradient-${e}`]=i;else{n[`--un-${e}-opacity`]=s;const l=a?N("colors",a):i;n[`--un-gradient-${e}`]=`color-mix(in oklab, ${l} var(--un-${e}-opacity), transparent)`,yield w(`--un-${e}-opacity`,{syntax:"<percentage>",initialValue:"100%"})}a&&z("colors",a),r&&st(i,r)}}else n[`--un-gradient-${e}`]=f.bracket.cssvar(t);if(n[`--un-gradient-${e}`]){switch(e){case"from":yield{...n,"--un-gradient-stops":"var(--un-gradient-via-stops, var(--un-gradient-position), var(--un-gradient-from) var(--un-gradient-from-position), var(--un-gradient-to) var(--un-gradient-to-position))"};break;case"via":yield{...n,"--un-gradient-via-stops":"var(--un-gradient-position), var(--un-gradient-from) var(--un-gradient-from-position), var(--un-gradient-via) var(--un-gradient-via-position), var(--un-gradient-to) var(--un-gradient-to-position)","--un-gradient-stops":"var(--un-gradient-via-stops)"};break;case"to":yield{...n,"--un-gradient-stops":"var(--un-gradient-via-stops, var(--un-gradient-position), var(--un-gradient-from) var(--un-gradient-from-position), var(--un-gradient-to) var(--un-gradient-to-position))"};break;case"stops":yield{...n};break}for(const i of Object.values(yn))yield i}}}function qa(){return function*([,e,t]){yield{[`--un-gradient-${e}-position`]:`${f.bracket.cssvar.percent(t)}`};for(const r of Object.values(yn))yield r}}const Ha=[[/^bg-(linear|radial|conic)-([^/]+)(?:\/(.+))?$/,([,e,t,r])=>{let n;if(f.number(t)!=null?n=`from ${f.number(t)}deg ${Cr(r)};`:n=f.bracket(t),n)return{"--un-gradient-position":n,"background-image":`${e}-gradient(var(--un-gradient-stops))`}},{autocomplete:["bg-(linear|radial|conic)","(from|to|via)-$colors","(from|to|via)-(op|opacity)","(from|to|via)-(op|opacity)-<percent>"]}],[/^(from|via|to|stops)-(.+)$/,Da()],[/^(from|via|to)-op(?:acity)?-?(.+)$/,([,e,t])=>({[`--un-${e}-opacity`]:f.bracket.percent(t)})],[/^(from|via|to)-([\d.]+%)$/,qa()],[/^bg-((?:repeating-)?(?:linear|radial|conic))$/,([,e])=>({"background-image":`${e}-gradient(var(--un-gradient, var(--un-gradient-stops, rgb(255 255 255 / 0))))`}),{autocomplete:["bg-gradient-repeating","bg-gradient-(linear|radial|conic)","bg-gradient-repeating-(linear|radial|conic)"]}],[/^bg-(gradient|linear|radial|conic)(?:-to-([rltb]{1,2}))?(?:\/(.+))?$/,([,e,t,r])=>({"--un-gradient-position":`${t in B?`to ${B[t]} `:" "}${Cr(r)}`,"background-image":`${e==="gradient"?"linear":e}-gradient(var(--un-gradient-stops))`}),{autocomplete:["gradient","linear","radial","conic"].map(e=>`bg-${e}-to-(${Object.keys(B).filter(t=>t.length<=2&&Array.from(t).every(r=>"rltb".includes(r))).join("|")})`)}],["bg-none",{"background-image":"none"}],["box-decoration-slice",{"box-decoration-break":"slice"}],["box-decoration-clone",{"box-decoration-break":"clone"}],...A("box-decoration","box-decoration-break"),["bg-auto",{"background-size":"auto"}],["bg-cover",{"background-size":"cover"}],["bg-contain",{"background-size":"contain"}],[/^bg-size-(.+)$/,([,e])=>({"background-size":f.bracket.cssvar(e)})],["bg-fixed",{"background-attachment":"fixed"}],["bg-local",{"background-attachment":"local"}],["bg-scroll",{"background-attachment":"scroll"}],["bg-clip-border",{"-webkit-background-clip":"border-box","background-clip":"border-box"}],["bg-clip-content",{"-webkit-background-clip":"content-box","background-clip":"content-box"}],["bg-clip-padding",{"-webkit-background-clip":"padding-box","background-clip":"padding-box"}],["bg-clip-text",{"-webkit-background-clip":"text","background-clip":"text"}],...W.map(e=>[`bg-clip-${e}`,{"-webkit-background-clip":e,"background-clip":e}]),[/^bg-([-\w]{3,})$/,([,e])=>({"background-position":B[e]})],["bg-repeat",{"background-repeat":"repeat"}],["bg-no-repeat",{"background-repeat":"no-repeat"}],["bg-repeat-x",{"background-repeat":"repeat-x"}],["bg-repeat-y",{"background-repeat":"repeat-y"}],["bg-repeat-round",{"background-repeat":"round"}],["bg-repeat-space",{"background-repeat":"space"}],...A("bg-repeat","background-repeat"),["bg-origin-border",{"background-origin":"border-box"}],["bg-origin-padding",{"background-origin":"padding-box"}],["bg-origin-content",{"background-origin":"content-box"}],...A("bg-origin","background-origin")],jr=[[/^outline-(?:width-|size-)?(.+)$/,kn,{autocomplete:"outline-(width|size)-<num>"}],[/^outline-(?:color-)?(.+)$/,Ya,{autocomplete:"outline-$colors"}],[/^outline-op(?:acity)?-?(.+)$/,([,e])=>({"--un-outline-opacity":f.bracket.percent.cssvar(e)}),{autocomplete:"outline-(op|opacity)-<percent>"}],[/^outline-offset-(.+)$/,([,e])=>({"outline-offset":f.bracket.cssvar.global.px(e)}),{autocomplete:"outline-(offset)-<num>"}],["outline-offset-none",{"outline-offset":"0"}],["outline",[{"outline-style":"var(--un-outline-style)","outline-width":"1px"},w("--un-outline-style",{initialValue:"solid"})]],["outline-hidden",[{"outline-style":"none"},{[U.parent]:"@media (forced-colors: active)",outline:"2px solid transparent","outline-offset":"2px"}]],["outline-none",{"--un-outline-style":"none","outline-style":"none"}],...["auto","dashed","dotted","double","solid","groove","ridge","inset","outset",...W].map(e=>[`outline-${e}`,{"--un-outline-style":e,"outline-style":e}])];function*kn([,e]){const t=f.bracket.cssvar.global.px(e);t!=null&&(yield{"outline-style":"var(--un-outline-style)","outline-width":t},yield w("--un-outline-style",{initialValue:"solid"}))}function*Ya(e,t){if(Le(f.bracket(e[1])))yield*kn(e);else{const r=V("outline-color","outline")(e,t);if(r)for(const n of r)yield n}}const Xa=[["appearance-auto",{"-webkit-appearance":"auto",appearance:"auto"}],["appearance-none",{"-webkit-appearance":"none",appearance:"none"}]];function Ga(e){const t=f.bracket(e);return t&&f.properties(t)?t:f.properties.auto.cssvar.global(e)??{contents:"contents",scroll:"scroll-position"}[e]}const zr=[[/^will-change-(.+)/,([,e])=>({"will-change":Ga(e)})]],mt={disc:"disc",circle:"circle",square:"square",decimal:"decimal","zero-decimal":"decimal-leading-zero",greek:"lower-greek",roman:"lower-roman","upper-roman":"upper-roman",alpha:"lower-alpha","upper-alpha":"upper-alpha",latin:"lower-latin","upper-latin":"upper-latin"},Ka=[[/^list-(.+?)(?:-(outside|inside))?$/,([,e,t])=>{const r=mt[e];if(r)return t?{"list-style-position":t,"list-style-type":r}:{"list-style-type":r}},{autocomplete:[`list-(${Object.keys(mt).join("|")})`,`list-(${Object.keys(mt).join("|")})-(outside|inside)`]}],["list-outside",{"list-style-position":"outside"}],["list-inside",{"list-style-position":"inside"}],["list-none",{"list-style-type":"none"}],[/^list-image-(.+)$/,([,e])=>{if(/^\[url\(.+\)\]$/.test(e))return{"list-style-image":f.bracket(e)}}],["list-image-none",{"list-style-image":"none"}],...A("list","list-style-type")],Ja=[[/^accent-(.+)$/,V("accent-color","accent"),{autocomplete:"accent-$colors"}],[/^accent-op(?:acity)?-?(.+)$/,([,e])=>({"--un-accent-opacity":f.bracket.percent(e)}),{autocomplete:["accent-(op|opacity)","accent-(op|opacity)-<percent>"]}]],Za=[[/^caret-(.+)$/,V("caret-color","caret"),{autocomplete:"caret-$colors"}],[/^caret-op(?:acity)?-?(.+)$/,([,e])=>({"--un-caret-opacity":f.bracket.percent(e)}),{autocomplete:["caret-(op|opacity)","caret-(op|opacity)-<percent>"]}]],Qa=[["image-render-auto",{"image-rendering":"auto"}],["image-render-edge",{"image-rendering":"crisp-edges"}],["image-render-pixel",[["-ms-interpolation-mode","nearest-neighbor"],["image-rendering","-webkit-optimize-contrast"],["image-rendering","-moz-crisp-edges"],["image-rendering","-o-pixelated"],["image-rendering","pixelated"]]]],el=[["overscroll-auto",{"overscroll-behavior":"auto"}],["overscroll-contain",{"overscroll-behavior":"contain"}],["overscroll-none",{"overscroll-behavior":"none"}],...A("overscroll","overscroll-behavior"),["overscroll-x-auto",{"overscroll-behavior-x":"auto"}],["overscroll-x-contain",{"overscroll-behavior-x":"contain"}],["overscroll-x-none",{"overscroll-behavior-x":"none"}],...A("overscroll-x","overscroll-behavior-x"),["overscroll-y-auto",{"overscroll-behavior-y":"auto"}],["overscroll-y-contain",{"overscroll-behavior-y":"contain"}],["overscroll-y-none",{"overscroll-behavior-y":"none"}],...A("overscroll-y","overscroll-behavior-y")],tl=[["scroll-auto",{"scroll-behavior":"auto"}],["scroll-smooth",{"scroll-behavior":"smooth"}],...A("scroll","scroll-behavior")],ce=["solid","dashed","dotted","double","hidden","none","groove","ridge","inset","outset",...W],rl=[[/^(?:border|b)()(?:-(.+))?$/,J,{autocomplete:"(border|b)-<directions>"}],[/^(?:border|b)-([xy])(?:-(.+))?$/,J],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,J],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,J],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,J],[/^(?:border|b)-()(?:width|size)-(.+)$/,J,{autocomplete:["(border|b)-<num>","(border|b)-<directions>-<num>"]}],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,J],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,J],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,J],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,J],[/^(?:border|b)-()(?:color-)?(.+)$/,Ee,{autocomplete:["(border|b)-$colors","(border|b)-<directions>-$colors"]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,Ee],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,Ee],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,Ee],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,Ee],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,Ce,{autocomplete:"(border|b)-(op|opacity)-<percent>"}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,Ce],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,Ce],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,Ce],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,Ce],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,je,{autocomplete:["(border|b)-(rounded|rd)","(border|b)-(rounded|rd)-$radius","(rounded|rd)","(rounded|rd)-$radius"]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltbse])(?:-(.+))?$/,je],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,je],[/^(?:border-|b-)?(?:rounded|rd)-([bise][se])(?:-(.+))?$/,je],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,je],[/^(?:border|b)-(?:style-)?()(.+)$/,ze,{autocomplete:["(border|b)-style",`(border|b)-(${ce.join("|")})`,"(border|b)-<directions>-style",`(border|b)-<directions>-(${ce.join("|")})`,`(border|b)-<directions>-style-(${ce.join("|")})`,`(border|b)-style-(${ce.join("|")})`]}],[/^(?:border|b)-([xy])-(?:style-)?(.+)$/,ze],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,ze],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,ze],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,ze]];function nl(e){return([,t],r)=>{const n=ot(t,r.theme),o=pn(n,`border${e}-color`,`border${e}`,r);if(o){const i=o[0];return n?.color&&!Object.values(rt).includes(n.color)&&!n.alpha&&e&&e!==""&&(i[`--un-border${e}-opacity`]="var(--un-border-opacity)"),o}}}function J([,e="",t="1"]){const r=f.bracket.cssvar.global.px(t);if(e in Q&&r!=null)return Q[e].map(n=>[`border${n}-width`,r])}function Ee([,e="",t],r){if(e in Q){if(Le(f.bracket(t)))return J(["",e,t]);if(Fe(t,r.theme)){const n=Q[e].map(o=>nl(o)(["",t],r)).filter(qe);return[n.map(o=>o[0]).reduce((o,i)=>(Object.assign(o,i),o),{}),...n.flatMap(o=>o.slice(1))]}}}function Ce([,e="",t]){const r=f.bracket.percent.cssvar(t);if(e in Q&&r!=null)return Q[e].map(n=>[`--un-border${n}-opacity`,r])}function je([,e="",t="DEFAULT"],{theme:r}){if(e in Ye){if(t==="full")return Ye[e].map(o=>[`border${o}-radius`,"calc(infinity * 1px)"]);const n=r.radius?.[t]??f.bracket.cssvar.global.fraction.rem(t);if(n!=null){const o=r.radius&&t in r.radius;return o&&z("radius",t),Ye[e].map(i=>[`border${i}-radius`,o?N("radius",t):n])}}}function ze([,e="",t]){if(ce.includes(t)&&e in Q)return[["--un-border-style",t],...Q[e].map(r=>[`border${r}-style`,t])]}const ol=[[/^op(?:acity)?-?(.+)$/,([,e])=>({opacity:f.bracket.percent.cssvar(e)})]],il=/^\[url\(.+\)\]$/,sl=/^\[(?:length|size):.+\]$/,al=/^\[position:.+\]$/,ll=/^\[(?:linear|conic|radial)-gradient\(.+\)\]$/,cl=/^\[image:.+\]$/,ul=[[/^bg-(.+)$/,(...e)=>{const t=e[0][1];if(il.test(t))return{"--un-url":f.bracket(t),"background-image":"var(--un-url)"};if(sl.test(t)&&f.bracketOfLength(t)!=null)return{"background-size":f.bracketOfLength(t).split(" ").map(r=>f.fraction.auto.px.cssvar(r)??r).join(" ")};if((bs(t)||al.test(t))&&f.bracketOfPosition(t)!=null)return{"background-position":f.bracketOfPosition(t).split(" ").map(r=>f.position.fraction.auto.px.cssvar(r)??r).join(" ")};if(ll.test(t)||cl.test(t)){const r=f.bracket(t);if(r)return{"background-image":(r.startsWith("http")?`url(${r})`:f.cssvar(r))??r}}return V("background-color","bg")(...e)},{autocomplete:"bg-$colors"}],[/^bg-op(?:acity)?-?(.+)$/,([,e])=>({"--un-bg-opacity":f.bracket.percent.cssvar(e)}),{autocomplete:"bg-(op|opacity)-<percent>"}]],fl=[[/^(?:color-)?scheme-(.+)$/,([,e])=>({"color-scheme":e.split("-").join(" ")})]],pl=[[/^columns-(.+)$/,([,e])=>({columns:f.bracket.global.number.auto.numberWithUnit(e)}),{autocomplete:"columns-<num>"}],["break-before-auto",{"break-before":"auto"}],["break-before-avoid",{"break-before":"avoid"}],["break-before-all",{"break-before":"all"}],["break-before-avoid-page",{"break-before":"avoid-page"}],["break-before-page",{"break-before":"page"}],["break-before-left",{"break-before":"left"}],["break-before-right",{"break-before":"right"}],["break-before-column",{"break-before":"column"}],...A("break-before"),["break-inside-auto",{"break-inside":"auto"}],["break-inside-avoid",{"break-inside":"avoid"}],["break-inside-avoid-page",{"break-inside":"avoid-page"}],["break-inside-avoid-column",{"break-inside":"avoid-column"}],...A("break-inside"),["break-after-auto",{"break-after":"auto"}],["break-after-avoid",{"break-after":"avoid"}],["break-after-all",{"break-after":"all"}],["break-after-avoid-page",{"break-after":"avoid-page"}],["break-after-page",{"break-after":"page"}],["break-after-left",{"break-after":"left"}],["break-after-right",{"break-after":"right"}],["break-after-column",{"break-after":"column"}],...A("break-after")],Ar=["solid","double","dotted","dashed","wavy",...W],dl=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,e])=>({"text-decoration-line":e}),{autocomplete:"decoration-(underline|overline|line-through)"}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,$n,{autocomplete:"(underline|decoration)-<num>"}],[/^(?:underline|decoration)-(auto|from-font)$/,([,e])=>({"text-decoration-thickness":e}),{autocomplete:"(underline|decoration)-(auto|from-font)"}],[/^(?:underline|decoration)-(.+)$/,hl,{autocomplete:"(underline|decoration)-$colors"}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-line-opacity":f.bracket.percent.cssvar(e)}),{autocomplete:"(underline|decoration)-(op|opacity)-<percent>"}],[/^(?:underline|decoration)-offset-(.+)$/,([,e])=>({"text-underline-offset":f.auto.bracket.cssvar.global.px(e)}),{autocomplete:"(underline|decoration)-(offset)-<num>"}],...Ar.map(e=>[`underline-${e}`,{"text-decoration-style":e}]),...Ar.map(e=>[`decoration-${e}`,{"text-decoration-style":e}]),["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];function $n([,e]){return{"text-decoration-thickness":f.bracket.cssvar.global.px(e)}}function hl(e,t){if(Le(f.bracket(e[1])))return $n(e);const r=V("text-decoration-color","line")(e,t);if(r){const n=r[0];return n["-webkit-text-decoration-color"]=n["text-decoration-color"],r}}const ml=[[/^pa?()-?(.+)$/,P("padding"),{autocomplete:["(m|p)<num>","(m|p)-<num>"]}],[/^p-?xy()()$/,P("padding"),{autocomplete:"(m|p)-(xy)"}],[/^p-?([xy])(?:-?(.+))?$/,P("padding")],[/^p-?([rltbse])(?:-?(.+))?$/,P("padding"),{autocomplete:"(m|p)<directions>-<num>"}],[/^p-(block|inline)(?:-(.+))?$/,P("padding"),{autocomplete:"(m|p)-(block|inline)-<num>"}],[/^p-?([bi][se])(?:-?(.+))?$/,P("padding"),{autocomplete:"(m|p)-(bs|be|is|ie)-<num>"}]],gl=[[/^ma?()-?(.+)$/,P("margin")],[/^m-?xy()()$/,P("margin")],[/^m-?([xy])(?:-?(.+))?$/,P("margin")],[/^m-?([rltbse])(?:-?(.+))?$/,P("margin")],[/^m-(block|inline)(?:-(.+))?$/,P("margin")],[/^m-?([bi][se])(?:-?(.+))?$/,P("margin")]],bl=[[/^space-([xy])-(.+)$/,yl,{autocomplete:["space-(x|y)","space-(x|y)-reverse","space-(x|y)-$spacing"]}],[/^space-([xy])-reverse$/,function*([,e],{symbols:t}){yield{[t.selector]:ue,[`--un-space-${e}-reverse`]:"1"},yield w(`--un-space-${e}-reverse`,{initialValue:0})}]];function ue(e){const t=">:not(:last-child)";return e.includes(t)?e:`${e}${t}`}function*yl([,e,t],{theme:r,symbols:n}){let o;const i=Y(t);if(i!=null?(z("spacing"),o=`calc(var(--spacing) * ${i})`):o=r.spacing?.[t]??f.bracket.cssvar.auto.fraction.rem(t||"1"),o!=null){const a=Q[e==="x"?"inline":"block"].map((s,l)=>{const u=`margin${s}`,c=` calc(${o} * ${l===0?`var(--un-space-${e}-reverse)`:`calc(1 - var(--un-space-${e}-reverse))`})`;return[u,c]});a&&(yield{[n.selector]:ue,[`--un-space-${e}-reverse`]:"0",...Object.fromEntries(a)},yield w(`--un-space-${e}-reverse`,{initialValue:0}))}}const kl=[[/^divide-(.+)$/,function*(e,t){const r=V("border-color","divide")(e,t);r&&(yield{[t.symbols.selector]:ue,...r[0]},yield r[1])},{autocomplete:"divide-$colors"}],[/^divide-op(?:acity)?-?(.+)$/,function*([,e],{symbols:t}){yield{[t.selector]:ue,"--un-divide-opacity":f.bracket.percent(e)}},{autocomplete:["divide-(op|opacity)","divide-(op|opacity)-<percent>"]}],[/^divide-?([xy])$/,Rr,{autocomplete:["divide-(x|y)","divide-(x|y)-reverse"]}],[/^divide-?([xy])-?(.+)$/,Rr],[/^divide-?([xy])-reverse$/,function*([,e],{symbols:t}){yield{[t.selector]:ue,[`--un-divide-${e}-reverse`]:"1"},yield w(`--un-divide-${e}-reverse`,{initialValue:0})}],[new RegExp(`^divide-(${ce.join("|")})$`),function*([,e],{symbols:t}){yield{[t.selector]:ue,"border-style":e}},{autocomplete:ce.map(e=>`divide-${e}`)}]];function*Rr([,e,t],{symbols:r}){let n=f.bracket.cssvar.px(t||"1");if(n!=null){n==="0"&&(n="0px");const i={x:["-left","-right"],y:["-top","-bottom"]}[e].map(a=>{const s=a.endsWith("left")||a.endsWith("top")?`calc(${n} * var(--un-divide-${e}-reverse))`:`calc(${n} * calc(1 - var(--un-divide-${e}-reverse)))`;return[[`border${a}-width`,s],[`border${a}-style`,"var(--un-border-style)"]]});i&&(yield{[r.selector]:ue,[`--un-divide-${e}-reverse`]:0,...Object.fromEntries(i.flat())},yield w(`--un-divide-${e}-reverse`,{initialValue:0}),yield w("--un-border-style",{initialValue:"solid"}))}}const vn=["blur","brightness","contrast","grayscale","hue-rotate","invert","saturate","sepia","drop-shadow"],_t=vn.map(e=>w(`--un-${e}`)),Je=vn.map(e=>`var(--un-${e},)`).join(" "),wn=["backdrop-blur","backdrop-brightness","backdrop-contrast","backdrop-grayscale","backdrop-hue-rotate","backdrop-invert","backdrop-opacity","backdrop-saturate","backdrop-sepia"],$l=wn.map(e=>w(`--un-${e}`)),Ze=wn.map(e=>`var(--un-${e},)`).join(" ");function gt(e){let t=f.bracket.cssvar(e||"");if(t!=null||(t=e?f.percent(e):"100%",t!=null&&Number.parseFloat(t.slice(0,-1))<=100))return t}function oe(e,t){return([,r,n],{theme:o})=>{const i=t(n,o)??(n==="none"?"0":"");if(i!=="")return r?[{[`--un-${r}${e}`]:`${e}(${i})`,"-webkit-backdrop-filter":Ze,"backdrop-filter":Ze},...$l]:[{[`--un-${e}`]:`${e}(${i})`,filter:Je},..._t]}}function vl([,e],{theme:t}){let r=t.dropShadow?.[e||"DEFAULT"];if(r!=null)return[{"--un-drop-shadow":`drop-shadow(${It(r,"--un-drop-shadow-color").join(") drop-shadow(")})`,filter:Je},..._t];if(r=f.bracket.cssvar(e)??(e==="none"?"":void 0),r!=null)return[{"--un-drop-shadow":r&&`drop-shadow(${r})`,filter:Je},..._t]}const wl=[[/^(?:(backdrop-)|filter-)?blur(?:-(.+))?$/,oe("blur",(e,t)=>t.blur?.[e||"DEFAULT"]||f.bracket.cssvar.px(e)),{autocomplete:["(backdrop|filter)-blur-$blur","blur-$blur","filter-blur"]}],[/^(?:(backdrop-)|filter-)?brightness-(.+)$/,oe("brightness",e=>f.bracket.cssvar.percent(e)),{autocomplete:["(backdrop|filter)-brightness-<percent>","brightness-<percent>"]}],[/^(?:(backdrop-)|filter-)?contrast-(.+)$/,oe("contrast",e=>f.bracket.cssvar.percent(e)),{autocomplete:["(backdrop|filter)-contrast-<percent>","contrast-<percent>"]}],[/^(?:filter-)?drop-shadow(?:-(.+))?$/,vl,{autocomplete:["filter-drop","filter-drop-shadow","filter-drop-shadow-color","drop-shadow","drop-shadow-color","filter-drop-shadow-$dropShadow","drop-shadow-$dropShadow","filter-drop-shadow-color-$colors","drop-shadow-color-$colors","filter-drop-shadow-color-(op|opacity)","drop-shadow-color-(op|opacity)","filter-drop-shadow-color-(op|opacity)-<percent>","drop-shadow-color-(op|opacity)-<percent>"]}],[/^(?:filter-)?drop-shadow-color-(.+)$/,V("--un-drop-shadow-color","drop-shadow")],[/^(?:filter-)?drop-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-drop-shadow-opacity":f.bracket.percent(e)})],[/^(?:(backdrop-)|filter-)?grayscale(?:-(.+))?$/,oe("grayscale",gt),{autocomplete:["(backdrop|filter)-grayscale","(backdrop|filter)-grayscale-<percent>","grayscale-<percent>"]}],[/^(?:(backdrop-)|filter-)?hue-rotate-(.+)$/,oe("hue-rotate",e=>f.bracket.cssvar.degree(e))],[/^(?:(backdrop-)|filter-)?invert(?:-(.+))?$/,oe("invert",gt),{autocomplete:["(backdrop|filter)-invert","(backdrop|filter)-invert-<percent>","invert-<percent>"]}],[/^(backdrop-)op(?:acity)?-(.+)$/,oe("opacity",e=>f.bracket.cssvar.percent(e)),{autocomplete:["backdrop-(op|opacity)","backdrop-(op|opacity)-<percent>"]}],[/^(?:(backdrop-)|filter-)?saturate-(.+)$/,oe("saturate",e=>f.bracket.cssvar.percent(e)),{autocomplete:["(backdrop|filter)-saturate","(backdrop|filter)-saturate-<percent>","saturate-<percent>"]}],[/^(?:(backdrop-)|filter-)?sepia(?:-(.+))?$/,oe("sepia",gt),{autocomplete:["(backdrop|filter)-sepia","(backdrop|filter)-sepia-<percent>","sepia-<percent>"]}],["filter",{filter:Je}],["backdrop-filter",{"-webkit-backdrop-filter":Ze,"backdrop-filter":Ze}],["filter-none",{filter:"none"}],["backdrop-filter-none",{"-webkit-backdrop-filter":"none","backdrop-filter":"none"}],...W.map(e=>[`filter-${e}`,{filter:e}]),...W.map(e=>[`backdrop-filter-${e}`,{"-webkit-backdrop-filter":e,"backdrop-filter":e}])],xl=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],[/^flex-(.*)$/,([,e])=>({flex:f.bracket(e)!=null?f.bracket(e).split(" ").map(t=>f.cssvar.fraction(t)??t).join(" "):f.cssvar.fraction(e)})],["flex-1",{flex:"1 1 0%"}],["flex-auto",{flex:"1 1 auto"}],["flex-initial",{flex:"0 1 auto"}],["flex-none",{flex:"none"}],[/^(?:flex-)?shrink(?:-(.*))?$/,([,e=""])=>({"flex-shrink":f.bracket.cssvar.number(e)??1}),{autocomplete:["flex-shrink-<num>","shrink-<num>"]}],[/^(?:flex-)?grow(?:-(.*))?$/,([,e=""])=>({"flex-grow":f.bracket.cssvar.number(e)??1}),{autocomplete:["flex-grow-<num>","grow-<num>"]}],[/^(?:flex-)?basis-(.+)$/,([,e])=>{const t=Y(e);return t!=null?(z("spacing"),{"flex-basis":`calc(var(--spacing) * ${t})`}):{"flex-basis":f.bracket.cssvar.auto.fraction.rem(e)}},{autocomplete:["flex-basis-$spacing","basis-$spacing"]}],["flex-row",{"flex-direction":"row"}],["flex-row-reverse",{"flex-direction":"row-reverse"}],["flex-col",{"flex-direction":"column"}],["flex-col-reverse",{"flex-direction":"column-reverse"}],["flex-wrap",{"flex-wrap":"wrap"}],["flex-wrap-reverse",{"flex-wrap":"wrap-reverse"}],["flex-nowrap",{"flex-wrap":"nowrap"}]],bt={"":[""],x:["column-"],y:["row-"],col:["column-"],row:["row-"]},Sl=[[/^(?:flex-|grid-)?gap-?()(.+)$/,P("gap",bt,(e,t)=>`${t}${e}`),{autocomplete:["gap-$spacing","gap-<num>"]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,P("gap",bt,(e,t)=>`${t}${e}`),{autocomplete:["gap-(x|y)-$spacing","gap-(x|y)-<num>"]}],[/^(?:flex-|grid-)?gap-(col|row)-?(.+)$/,P("gap",bt,(e,t)=>`${t}${e}`),{autocomplete:["gap-(col|row)-$spacing","gap-(col|row)-<num>"]}]];function re(e){return e.replace("col","column")}function El(e){switch(e){case"min":return"min-content";case"max":return"max-content";case"fr":return"minmax(0,1fr)"}return f.bracket.cssvar.auto.rem(e)}const Cl=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,e,t])=>({[`grid-${re(e)}`]:f.bracket.number.cssvar.auto(t)})],[/^(?:grid-)?(row|col)-span-(.+)$/,([,e,t])=>{if(t==="full")return{[`grid-${re(e)}`]:"1/-1"};const r=f.bracket.number.cssvar(t);if(r!=null)return{[`grid-${re(e)}`]:`span ${r}/span ${r}`}},{autocomplete:"(grid-row|grid-col|row|col)-span-<num>"}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,e,t])=>({[`grid-${re(e)}-start`]:f.bracket.cssvar(t)??t})],[/^(?:grid-)?(row|col)-end-(.+)$/,([,e,t])=>({[`grid-${re(e)}-end`]:f.bracket.cssvar(t)??t}),{autocomplete:"(grid-row|grid-col|row|col)-(start|end)-<num>"}],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,e,t])=>({[`grid-auto-${re(e)}`]:El(t)}),{autocomplete:"(grid-auto|auto)-(rows|cols)-<num>"}],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,e])=>({"grid-auto-flow":f.bracket.cssvar(e)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)$/,([,e])=>({"grid-auto-flow":re(e).replace("-"," ")}),{autocomplete:["(grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)"]}],[/^(?:grid-)?(rows|cols)-(.+)$/,([,e,t])=>({[`grid-template-${re(e)}`]:f.bracket.cssvar(t)})],[/^(?:grid-)?(rows|cols)-minmax-([\w.-]+)$/,([,e,t])=>({[`grid-template-${re(e)}`]:`repeat(auto-fill,minmax(${t},1fr))`})],[/^(?:grid-)?(rows|cols)-(\d+)$/,([,e,t])=>({[`grid-template-${re(e)}`]:`repeat(${t},minmax(0,1fr))`}),{autocomplete:"(grid-rows|grid-cols|rows|cols)-<num>"}],[/^grid-area(s)?-(.+)$/,([,e,t])=>e!=null?{"grid-template-areas":f.cssvar(t)??t.split("-").map(r=>`"${f.bracket(r)}"`).join(" ")}:{"grid-area":f.bracket.cssvar(t)}],["grid-rows-none",{"grid-template-rows":"none"}],["grid-cols-none",{"grid-template-columns":"none"}],["grid-rows-subgrid",{"grid-template-rows":"subgrid"}],["grid-cols-subgrid",{"grid-template-columns":"subgrid"}]],Ve=["auto","hidden","clip","visible","scroll","overlay",...W],jl=[[/^(?:overflow|of)-(.+)$/,([,e])=>Ve.includes(e)?{overflow:e}:void 0,{autocomplete:[`(overflow|of)-(${Ve.join("|")})`,`(overflow|of)-(x|y)-(${Ve.join("|")})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,e,t])=>Ve.includes(t)?{[`overflow-${e}`]:t}:void 0]],zl=[[/^line-clamp-(\d+)$/,([,e])=>({overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":e}),{autocomplete:["line-clamp","line-clamp-(1|2|3|4|5|6|none)"]}],["line-clamp-none",{overflow:"visible",display:"block","-webkit-box-orient":"horizontal","-webkit-line-clamp":"unset"}]],Pt={t:["top"],b:["bottom"],l:["left"],r:["right"],x:["left","right"],y:["top","bottom"]},_r="linear-gradient(#fff, #fff)",Al={"mask-image":"var(--un-mask-linear), var(--un-mask-radial), var(--un-mask-conic)","mask-composite":"intersect"};function Pr([,e=""]){if(e in Ye)return{"mask-position":e.split("").flatMap(n=>Pt[n]).join(" ")};const t=f.bracket.cssvar.global.position(e);if(t!==null)return{"mask-position":t}}function yt([e,t="",r,n],o){const i={...Al},a=[];if(a.push(...["linear","radial","conic"].map(s=>w(`--un-mask-${s}`,{initialValue:_r}))),t in Pt){i["--un-mask-linear"]="var(--un-mask-left), var(--un-mask-right), var(--un-mask-bottom), var(--un-mask-top)";for(const s of Pt[t]){if(i[`--un-mask-${s}`]=`linear-gradient(to ${s}, var(--un-mask-${s}-from-color) var(--un-mask-${s}-from-position), var(--un-mask-${s}-to-color) var(--un-mask-${s}-to-position))`,Y(n)!=null?(z("spacing"),i[`--un-mask-${s}-${r}-position`]=`calc(var(--spacing) * ${f.bracket.cssvar.fraction.number(n)})`):i[`--un-mask-${s}-${r}-position`]=f.bracket.cssvar.fraction.rem(n),Fe(n,o.theme)){const l=V(`--un-mask-${s}-${r}-color`,Rt("colors"))([e,n],o);if(l){const[u,...c]=l;Object.assign(i,u),a.push(...c)}}a.push(...["from","to"].flatMap(l=>[w(`--un-mask-${s}-${l}-position`,{syntax:"<length-percentage>",initialValue:l==="from"?"0%":"100%"}),w(`--un-mask-${s}-${l}-color`,{syntax:"<color>",initialValue:l==="from"?"black":"transparent"})]))}a.push(...["top","right","bottom","left"].map(s=>w(`--un-mask-${s}`,{initialValue:_r})))}else{if(r==null)t==="radial"?(i["--un-mask-radial"]="radial-gradient(var(--un-mask-radial-stops, var(--un-mask-radial-size)))",i["--un-mask-radial-size"]=f.bracket.cssvar.rem(n)):(i[`--un-mask-${t}`]=`${t}-gradient(var(--un-mask-${t}-stops, var(--un-mask-${t}-position)))`,i[`--un-mask-${t}-position`]=Y(n)?`calc(1deg * ${f.bracket.cssvar.number(n)})`:f.bracket.cssvar.fraction(n));else{const s={linear:"",radial:"var(--un-mask-radial-shape) var(--un-mask-radial-size) at ",conic:"from "};if(i[`--un-mask-${t}-stops`]=`${s[t]}var(--un-mask-${t}-position), var(--un-mask-${t}-from-color) var(--un-mask-${t}-from-position), var(--un-mask-${t}-to-color) var(--un-mask-${t}-to-position)`,i[`--un-mask-${t}`]=`${t}-gradient(var(--un-mask-${t}-stops))`,Fe(n,o.theme)){const l=V(`--un-mask-${t}-${r}-color`,Rt("colors"))([e,n],o);if(l){const[u,...c]=l;Object.assign(i,u),a.push(...c)}}else Y(n)!=null?(z("spacing"),i[`--un-mask-${t}-${r}-position`]=`calc(var(--spacing) * ${f.bracket.cssvar.fraction.number(n)})`):i[`--un-mask-${t}-${r}-position`]=f.bracket.cssvar.fraction.rem(n)}t==="radial"&&a.push(w("--un-mask-radial-shape",{initialValue:"ellipse"}),w("--un-mask-radial-size",{initialValue:"farthest-corner"})),a.push(...["from","to"].flatMap(s=>[w(`--un-mask-${t}-position`,{initialValue:t==="radial"?"center":"0deg"}),w(`--un-mask-${t}-${s}-position`,{syntax:"<length-percentage>",initialValue:s==="from"?"0%":"100%"}),w(`--un-mask-${t}-${s}-color`,{syntax:"<color>",initialValue:s==="from"?"black":"transparent"})]))}return[i,...a]}function Rl([,e=""]){const t=f.bracket.cssvar.global.fraction.rem(e);if(t!==null)return{"mask-size":t}}const _l=[["mask-clip-border",{"mask-clip":"border-box"}],["mask-clip-padding",{"mask-clip":"padding-box"}],["mask-clip-content",{"mask-clip":"content-box"}],["mask-clip-fill",{"mask-clip":"fill-box"}],["mask-clip-stroke",{"mask-clip":"stroke-box"}],["mask-clip-view",{"mask-clip":"view-box"}],["mask-no-clip",{"mask-clip":"no-clip"}],["mask-add",{"mask-composite":"add"}],["mask-subtract",{"mask-composite":"subtract"}],["mask-intersect",{"mask-composite":"intersect"}],["mask-exclude",{"mask-composite":"exclude"}],[/^mask-(.+)$/,([,e])=>({"mask-image":f.bracket.cssvar(e)})],[/^mask-(linear|radial|conic|[xytblr])-(from|to)()(?:-(.+))?$/,yt,{autocomplete:["mask-(linear|radial|conic)-(from|to)-$colors","mask-(linear|radial|conic)-(from|to)-<percentage>","mask-(linear|radial|conic)-(from|to)","mask-(linear|radial|conic)-<percent>","mask-(x|y|t|b|l|r)-(from|to)-$colors","mask-(x|y|t|b|l|r)-(from|to)-<percentage>","mask-(x|y|t|b|l|r)-(from|to)","mask-(x|y|t|b|l|r)-<percent>"]}],[/^mask-(linear|radial|conic)-(from|to)?-?(.*)$/,yt],[/^mask-([trblxy])-(from|to)-(.*)$/,yt],["mask-none",{"mask-image":"none"}],["mask-radial-circle",{"--un-mask-radial-shape":"circle"}],["mask-radial-ellipse",{"--un-mask-radial-shape":"ellipse"}],["mask-radial-closest-side",{"--un-mask-radial-size":"closest-side"}],["mask-radial-closest-corner",{"--un-mask-radial-size":"closest-corner"}],["mask-radial-farthest-side",{"--un-mask-radial-size":"farthest-side"}],["mask-radial-farthest-corner",{"--un-mask-radial-size":"farthest-corner"}],[/^mask-radial-at-([-\w]{3,})$/,([,e])=>({"--un-mask-radial-position":B[e]}),{autocomplete:[`mask-radial-at-(${Object.keys(B).filter(e=>e.length>2).join("|")})`]}],["mask-alpha",{"mask-mode":"alpha"}],["mask-luminance",{"mask-mode":"luminance"}],["mask-match",{"mask-mode":"match-source"}],["mask-origin-border",{"mask-origin":"border-box"}],["mask-origin-padding",{"mask-origin":"padding-box"}],["mask-origin-content",{"mask-origin":"content-box"}],["mask-origin-fill",{"mask-origin":"fill-box"}],["mask-origin-stroke",{"mask-origin":"stroke-box"}],["mask-origin-view",{"mask-origin":"view-box"}],[/^mask-([rltb]{1,2})$/,Pr],[/^mask-([-\w]{3,})$/,([,e])=>({"mask-position":B[e]})],[/^mask-(?:position-|pos-)(.+)$/,Pr],["mask-repeat",{"mask-repeat":"repeat"}],["mask-no-repeat",{"mask-repeat":"no-repeat"}],["mask-repeat-x",{"mask-repeat":"repeat-x"}],["mask-repeat-y",{"mask-repeat":"repeat-y"}],["mask-repeat-space",{"mask-repeat":"space"}],["mask-repeat-round",{"mask-repeat":"round"}],["mask-auto",{"mask-size":"auto"}],["mask-cover",{"mask-size":"cover"}],["mask-contain",{"mask-size":"contain"}],[/^mask-size-(.+)$/,Rl],["mask-type-luminance",{"mask-type":"luminance"}],["mask-type-alpha",{"mask-type":"alpha"}]],Pl=[[/^\$ placeholder-(.+)$/,V("color","placeholder"),{autocomplete:"placeholder-$colors"}],[/^\$ placeholder-op(?:acity)?-?(.+)$/,([,e])=>({"--un-placeholder-opacity":f.bracket.percent(e)}),{autocomplete:["placeholder-(op|opacity)","placeholder-(op|opacity)-<percent>"]}]],Ol=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,e])=>({position:e}),{autocomplete:["(position|pos)-<position>","(position|pos)-<globalKeyword>","<position>"]}],[/^(?:position-|pos-)([-\w]+)$/,([,e])=>W.includes(e)?{position:e}:void 0],[/^(?:position-|pos-)?(static)$/,([,e])=>({position:e})]],xn=[["justify-start",{"justify-content":"flex-start"}],["justify-end",{"justify-content":"flex-end"}],["justify-center",{"justify-content":"center"}],["justify-between",{"justify-content":"space-between"}],["justify-around",{"justify-content":"space-around"}],["justify-evenly",{"justify-content":"space-evenly"}],["justify-stretch",{"justify-content":"stretch"}],["justify-left",{"justify-content":"left"}],["justify-right",{"justify-content":"right"}],["justify-center-safe",{"justify-content":"safe center"}],["justify-end-safe",{"justify-content":"safe flex-end"}],["justify-normal",{"justify-content":"normal"}],...A("justify","justify-content"),["justify-items-start",{"justify-items":"start"}],["justify-items-end",{"justify-items":"end"}],["justify-items-center",{"justify-items":"center"}],["justify-items-stretch",{"justify-items":"stretch"}],["justify-items-center-safe",{"justify-items":"safe center"}],["justify-items-end-safe",{"justify-items":"safe flex-end"}],...A("justify-items"),["justify-self-auto",{"justify-self":"auto"}],["justify-self-start",{"justify-self":"start"}],["justify-self-end",{"justify-self":"end"}],["justify-self-center",{"justify-self":"center"}],["justify-self-stretch",{"justify-self":"stretch"}],["justify-self-baseline",{"justify-self":"baseline"}],["justify-self-center-safe",{"justify-self":"safe center"}],["justify-self-end-safe",{"justify-self":"safe flex-end"}],...A("justify-self")],Fl=[[/^order-(.+)$/,([,e])=>({order:f.bracket.cssvar.number(e)})],["order-first",{order:"calc(-infinity)"}],["order-last",{order:"calc(infinity)"}],["order-none",{order:"0"}]],Sn=[["content-center",{"align-content":"center"}],["content-start",{"align-content":"flex-start"}],["content-end",{"align-content":"flex-end"}],["content-between",{"align-content":"space-between"}],["content-around",{"align-content":"space-around"}],["content-evenly",{"align-content":"space-evenly"}],["content-baseline",{"align-content":"baseline"}],["content-center-safe",{"align-content":"safe center"}],["content-end-safe",{"align-content":"safe flex-end"}],["content-stretch",{"align-content":"stretch"}],["content-normal",{"align-content":"normal"}],...A("content","align-content"),["items-start",{"align-items":"flex-start"}],["items-end",{"align-items":"flex-end"}],["items-center",{"align-items":"center"}],["items-baseline",{"align-items":"baseline"}],["items-stretch",{"align-items":"stretch"}],["items-baseline-last",{"align-items":"last baseline"}],["items-center-safe",{"align-items":"safe center"}],["items-end-safe",{"align-items":"safe flex-end"}],...A("items","align-items"),["self-auto",{"align-self":"auto"}],["self-start",{"align-self":"flex-start"}],["self-end",{"align-self":"flex-end"}],["self-center",{"align-self":"center"}],["self-stretch",{"align-self":"stretch"}],["self-baseline",{"align-self":"baseline"}],["self-baseline-last",{"align-self":"last baseline"}],["self-center-safe",{"align-self":"safe center"}],["self-end-safe",{"align-self":"safe flex-end"}],...A("self","align-self")],En=[["place-content-center",{"place-content":"center"}],["place-content-start",{"place-content":"start"}],["place-content-end",{"place-content":"end"}],["place-content-between",{"place-content":"space-between"}],["place-content-around",{"place-content":"space-around"}],["place-content-evenly",{"place-content":"space-evenly"}],["place-content-stretch",{"place-content":"stretch"}],["place-content-baseline",{"place-content":"baseline"}],["place-content-center-safe",{"place-content":"safe center"}],["place-content-end-safe",{"place-content":"safe flex-end"}],...A("place-content"),["place-items-start",{"place-items":"start"}],["place-items-end",{"place-items":"end"}],["place-items-center",{"place-items":"center"}],["place-items-stretch",{"place-items":"stretch"}],["place-items-baseline",{"place-items":"baseline"}],["place-items-center-safe",{"place-items":"safe center"}],["place-items-end-safe",{"place-items":"safe flex-end"}],...A("place-items"),["place-self-auto",{"place-self":"auto"}],["place-self-start",{"place-self":"start"}],["place-self-end",{"place-self":"end"}],["place-self-center",{"place-self":"center"}],["place-self-stretch",{"place-self":"stretch"}],["place-self-center-safe",{"place-self":"safe center"}],["place-self-end-safe",{"place-self":"safe flex-end"}],...A("place-self")],Ml=[...xn,...Sn,...En].flatMap(([e,t])=>[[`flex-${e}`,t],[`grid-${e}`,t]]);function Ot(e){const t=Y(e);return t!=null?(z("spacing"),`calc(var(--spacing) * ${t})`):f.bracket.cssvar.global.auto.fraction.rem(e)}function Ae([,e,t]){const r=Ot(t);if(r!=null&&e in kr)return kr[e].map(n=>[n.slice(1),r])}const Ll=[[/^(?:position-|pos-)?inset-(.+)$/,([,e])=>({inset:Ot(e)}),{autocomplete:["(position|pos)-inset-<directions>-$spacing","(position|pos)-inset-(block|inline)-$spacing","(position|pos)-inset-(bs|be|is|ie)-$spacing","(position|pos)-(top|left|right|bottom)-$spacing"]}],[/^(?:position-|pos-)?(start|end)-(.+)$/,Ae],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,Ae],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,Ae],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,Ae],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,Ae],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,e,t])=>({[e]:Ot(t)})]],Tl=[["float-left",{float:"left"}],["float-right",{float:"right"}],["float-start",{float:"inline-start"}],["float-end",{float:"inline-end"}],["float-none",{float:"none"}],...A("float"),["clear-left",{clear:"left"}],["clear-right",{clear:"right"}],["clear-both",{clear:"both"}],["clear-start",{clear:"inline-start"}],["clear-end",{clear:"inline-end"}],["clear-none",{clear:"none"}],...A("clear")],Nl=[[/^(?:position-|pos-)?z([\d.]+)$/,([,e])=>({"z-index":f.number(e)})],[/^(?:position-|pos-)?z-(.+)$/,([,e])=>({"z-index":f.bracket.cssvar.global.auto.number(e)}),{autocomplete:"z-<num>"}]],Wl=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}],...A("box","box-sizing")],Vl=[[/^(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}} ${t({animation:"__un_qm 0.5s ease-in-out alternate infinite"})}`}]],Ft={shadow:w("--un-shadow",{initialValue:"0 0 #0000"}),shadowColor:w("--un-shadow-color"),insetShadow:w("--un-inset-shadow",{initialValue:"0 0 #0000"}),insetShadowColor:w("--un-inset-shadow-color"),ringColor:w("--un-ring-color"),ringShadow:w("--un-ring-shadow",{initialValue:"0 0 #0000"}),insetRingColor:w("--un-inset-ring-color"),insetRingShadow:w("--un-inset-ring-shadow",{initialValue:"0 0 #0000"}),ringInset:w("--un-ring-inset"),ringOffsetWidth:w("--un-ring-offset-width",{syntax:"<length>",initialValue:"0px"}),ringOffsetColor:w("--un-ring-offset-color"),ringOffsetShadow:w("--un-ring-offset-shadow",{initialValue:"0 0 #0000"})},Ul=[[/^shadow(?:-(.+))?$/,Or("shadow"),{autocomplete:["shadow-$colors","shadow-$shadow"]}],[/^shadow-op(?:acity)?-?(.+)$/,([,e])=>({"--un-shadow-opacity":f.bracket.percent.cssvar(e)}),{autocomplete:"shadow-(op|opacity)-<percent>"}],[/^inset-shadow(?:-(.+))?$/,Or("insetShadow"),{autocomplete:["inset-shadow-$colors","inset-shadow-$insetShadow"]}],[/^inset-shadow-op(?:acity)?-?(.+)$/,([,e])=>({"--un-inset-shadow-opacity":f.bracket.percent.cssvar(e)}),{autocomplete:"shadow-(op|opacity)-<percent>"}]];function Or(e){return(t,r)=>{const[,n]=t,{theme:o}=r,i=o[e]?.[n||"DEFAULT"],a=n?f.bracket.cssvar(n):void 0,s=Rt(e);return(i!=null||a!=null)&&!Fe(a,o)?[{[`--un-${s}`]:It(i||a,`--un-${s}-color`).join(","),"box-shadow":"var(--un-inset-shadow), var(--un-inset-ring-shadow), var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"},...Object.values(Ft)]:V(`--un-${s}-color`,s)(t,r)}}const Il=[[/^ring(?:-(.+))?$/,([,e])=>{const t=f.bracket.px(e||"1");if(t!=null)return[{"--un-ring-shadow":`var(--un-ring-inset,) 0 0 0 calc(${t} + var(--un-ring-offset-width)) var(--un-ring-color, currentColor)`,"box-shadow":"var(--un-inset-shadow), var(--un-inset-ring-shadow), var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"},...Object.values(Ft)]}],[/^ring-(.+)$/,V("--un-ring-color","ring"),{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-opacity":f.bracket.percent.cssvar(e)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^inset-ring(?:-(.+))?$/,([,e])=>{const t=f.bracket.px(e||"1");if(t!=null)return[{"--un-inset-ring-shadow":`inset 0 0 0 ${t} var(--un-inset-ring-color, currentColor)`,"box-shadow":"var(--un-inset-shadow), var(--un-inset-ring-shadow), var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"},...Object.values(Ft)]}],[/^inset-ring-(.+)$/,V("--un-inset-ring-color","inset-ring"),{autocomplete:"inset-ring-$colors"}],[/^inset-ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-inset-ring-opacity":f.bracket.percent.cssvar(e)}),{autocomplete:"inset-ring-(op|opacity)-<percent>"}],[/^ring-offset(?:-(?:width-|size-)?(.+))?$/,([,e])=>{const t=f.bracket.cssvar.px(e||"1");if(t!=null)return{"--un-ring-offset-width":t,"--un-ring-offset-shadow":"var(--un-ring-inset,) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color)"}},{autocomplete:"ring-offset-$colors"}],[/^ring-offset-(.+)$/,V("--un-ring-offset-color","ring-offset"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-offset-opacity":f.bracket.percent.cssvar(e)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]],Bl=[...["x","y","both"].map(e=>[`snap-${e}`,[{"scroll-snap-type":`${e} var(--un-scroll-snap-strictness)`},w("--un-scroll-snap-strictness",{initialValue:"proximity"})]]),...["mandatory","proximity"].map(e=>[`snap-${e}`,[{"--un-scroll-snap-strictness":e},w("--un-scroll-snap-strictness",{initialValue:"proximity"})]]),["snap-none",{"scroll-snap-type":"none"}],["snap-start",{"scroll-snap-align":"start"}],["snap-end",{"scroll-snap-align":"end"}],["snap-center",{"scroll-snap-align":"center"}],["snap-align-none",{"scroll-snap-align":"none"}],["snap-normal",{"scroll-snap-stop":"normal"}],["snap-always",{"scroll-snap-stop":"always"}],[/^scroll-ma?()-?(.+)$/,P("scroll-margin"),{autocomplete:["scroll-(m|p|ma|pa|block|inline)","scroll-(m|p|ma|pa|block|inline)-$spacing","scroll-(m|p|ma|pa|block|inline)-(x|y|r|l|t|b|bs|be|is|ie)","scroll-(m|p|ma|pa|block|inline)-(x|y|r|l|t|b|bs|be|is|ie)-$spacing"]}],[/^scroll-m-?([xy])-?(.+)$/,P("scroll-margin")],[/^scroll-m-?([rltb])-?(.+)$/,P("scroll-margin")],[/^scroll-m-(block|inline)-(.+)$/,P("scroll-margin")],[/^scroll-m-?([bi][se])-?(.+)$/,P("scroll-margin")],[/^scroll-pa?()-?(.+)$/,P("scroll-padding")],[/^scroll-p-?([xy])-?(.+)$/,P("scroll-padding")],[/^scroll-p-?([rltb])-?(.+)$/,P("scroll-padding")],[/^scroll-p-(block|inline)-(.+)$/,P("scroll-padding")],[/^scroll-p-?([bi][se])-?(.+)$/,P("scroll-padding")]],Dl={h:"height",w:"width",inline:"inline-size",block:"block-size"};function me(e,t){return`${e||""}${Dl[t]}`}function Ue(e,t,r){let n;const o=["container","spacing"];for(const i of o)if(e[i]?.[r]){z(i,r),n=N(i,r);break}if(!n)switch(r){case"fit":case"max":case"min":n=`${r}-content`;break;case"screen":n=t==="w"?"100vw":"100vh";break}return!n&&f.number(r)!=null&&(z("spacing"),n=`calc(var(--spacing) * ${f.number(r)})`),n??f.bracket.cssvar.global.auto.none.fraction.rem(r)}const ql=[[/^size-(min-|max-)?(.+)$/,([,e,t],{theme:r})=>({[me(e,"w")]:Ue(r,"w",t),[me(e,"h")]:Ue(r,"h",t)})],[/^(?:size-)?(min-|max-)?([wh])-?(.+)$/,([,e,t,r],{theme:n})=>({[me(e,t)]:Ue(n,t,r)})],[/^(?:size-)?(min-|max-)?(block|inline)-(.+)$/,([,e,t,r],{theme:n})=>({[me(e,t)]:Ue(n,t,r)}),{autocomplete:["(w|h)-<num>","(w|h)-(full|screen|fit|max|min)","(max|min)-(w|h)-<num>","(max|min)-(w|h)-(full|screen|fit|max|min)","(block|inline)-<num>","(block|inline)-(full|screen|fit|max|min)","(max|min)-(w|h|block|inline)","(max|min)-(w|h|block|inline)-<num>","(max|min)-(w|h|block|inline)-(full|screen|fit|max|min)"]}],[/^(?:size-)?(min-|max-)?(h)-screen-(.+)$/,([,e,t,r],n)=>({[me(e,t)]:Fr(n,r,"verticalBreakpoint")})],[/^(?:size-)?(min-|max-)?(w)-screen-(.+)$/,([,e,t,r],n)=>({[me(e,t)]:Fr(n,r)}),{autocomplete:["(w|h)-screen","(min|max)-(w|h)-screen","h-screen-$breakpoint","(min|max)-h-screen-$breakpoint","w-screen-$breakpoint","(min|max)-w-screen-$breakpoint"]}]];function Fr(e,t,r="breakpoint"){const n=it(e,r);if(n)return n.find(o=>o.point===t)?.size}function Hl(e){if(/^\d+\/\d+$/.test(e))return e;switch(e){case"square":return"1/1";case"video":return"16/9"}return f.bracket.cssvar.global.auto.number(e)}const Yl=[[/^(?:size-)?aspect-(?:ratio-)?(.+)$/,([,e])=>({"aspect-ratio":Hl(e)}),{autocomplete:["aspect-(square|video|ratio)","aspect-ratio-(square|video)"]}]],Xl=["auto","default","none","context-menu","help","pointer","progress","wait","cell","crosshair","text","vertical-text","alias","copy","move","no-drop","not-allowed","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out"],kt=["size","layout","paint","style"],Gl=[["inline",{display:"inline"}],["block",{display:"block"}],["inline-block",{display:"inline-block"}],["contents",{display:"contents"}],["flow-root",{display:"flow-root"}],["list-item",{display:"list-item"}],["hidden",{display:"none"}],[/^display-(.+)$/,([,e])=>({display:f.bracket.cssvar.global(e)})]],Kl=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["collapse",{visibility:"collapse"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}],...A("backface","backface-visibility")],Jl=[[/^cursor-(.+)$/,([,e])=>({cursor:f.bracket.cssvar.global(e)})],...Xl.map(e=>[`cursor-${e}`,{cursor:e}])],Zl=[[/^contain-(.*)$/,([,e])=>f.bracket(e)!=null?{contain:f.bracket(e).split(" ").map(t=>f.cssvar.fraction(t)??t).join(" ")}:kt.includes(e)?[{"--un-contain-size":e,contain:kt.map(t=>`var(--un-contain-${t})`).join(" ")},...kt.map(t=>w(`--un-contain-${t}`))]:void 0],["contain-strict",{contain:"strict"}],["contain-content",{contain:"content"}],["contain-none",{contain:"none"}]],Ql=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}],...A("pointer-events")],ec=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}],...A("resize")],tc=[["select-auto",{"-webkit-user-select":"auto","user-select":"auto"}],["select-all",{"-webkit-user-select":"all","user-select":"all"}],["select-text",{"-webkit-user-select":"text","user-select":"text"}],["select-none",{"-webkit-user-select":"none","user-select":"none"}],...A("select","user-select")],rc=[[/^(?:whitespace-|ws-)([-\w]+)$/,([,e])=>["normal","nowrap","pre","pre-line","pre-wrap","break-spaces",...W].includes(e)?{"white-space":e}:void 0,{autocomplete:"(whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)"}]],nc=[[/^intrinsic-size-(.+)$/,([,e])=>({"contain-intrinsic-size":f.bracket.cssvar.global.fraction.rem(e)}),{autocomplete:"intrinsic-size-<num>"}],["content-visibility-visible",{"content-visibility":"visible"}],["content-visibility-hidden",{"content-visibility":"hidden"}],["content-visibility-auto",{"content-visibility":"auto"}],...A("content-visibility")],oc=[[/^content-(.+)$/,([,e])=>{if(f.bracket.cssvar(e)!=null)return[{"--un-content":f.bracket.cssvar(e),content:"var(--un-content)"},w("--un-content",{initialValue:'""'})]}],["content-empty",{content:'""'}],["content-none",{content:"none"}]],ic=[["break-normal",{"overflow-wrap":"normal","word-break":"normal"}],["break-words",{"overflow-wrap":"break-word"}],["break-all",{"word-break":"break-all"}],["break-keep",{"word-break":"keep-all"}],["break-anywhere",{"overflow-wrap":"anywhere"}],["wrap-break-word",{"overflow-wrap":"break-word"}],["wrap-anywhere",{"overflow-wrap":"anywhere"}],["wrap-normal",{"overflow-wrap":"normal"}]],sc=[["text-wrap",{"text-wrap":"wrap"}],["text-nowrap",{"text-wrap":"nowrap"}],["text-balance",{"text-wrap":"balance"}],["text-pretty",{"text-wrap":"pretty"}]],ac=[["truncate",{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}],["text-truncate",{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}],["text-ellipsis",{"text-overflow":"ellipsis"}],["text-clip",{"text-overflow":"clip"}]],lc=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}],["uppercase",{"text-transform":"uppercase"}],["lowercase",{"text-transform":"lowercase"}],["capitalize",{"text-transform":"capitalize"}],["normal-case",{"text-transform":"none"}],...A("case","text-transform")],cc=[["italic",{"font-style":"italic"}],["not-italic",{"font-style":"normal"}],["font-italic",{"font-style":"italic"}],["font-not-italic",{"font-style":"normal"}],["oblique",{"font-style":"oblique"}],["not-oblique",{"font-style":"normal"}],["font-oblique",{"font-style":"oblique"}],["font-not-oblique",{"font-style":"normal"}]],uc=[["antialiased",{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"}],["subpixel-antialiased",{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"}]],fc=[...["manual","auto","none",...W].map(e=>[`hyphens-${e}`,{"-webkit-hyphens":e,"-ms-hyphens":e,hyphens:e}])],pc=[["write-vertical-right",{"writing-mode":"vertical-rl"}],["write-vertical-left",{"writing-mode":"vertical-lr"}],["write-normal",{"writing-mode":"horizontal-tb"}],...A("write","writing-mode")],dc=[["write-orient-mixed",{"text-orientation":"mixed"}],["write-orient-sideways",{"text-orientation":"sideways"}],["write-orient-upright",{"text-orientation":"upright"}],...A("write-orient","text-orientation")],hc=[["sr-only",{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0,0,0,0)","white-space":"nowrap","border-width":0}],["not-sr-only",{position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",clip:"auto","white-space":"normal"}]],mc=[["isolate",{isolation:"isolate"}],["isolate-auto",{isolation:"auto"}],["isolation-auto",{isolation:"auto"}]],gc=[["object-cover",{"object-fit":"cover"}],["object-contain",{"object-fit":"contain"}],["object-fill",{"object-fit":"fill"}],["object-scale-down",{"object-fit":"scale-down"}],["object-none",{"object-fit":"none"}],[/^object-(.+)$/,([,e])=>{if(B[e])return{"object-position":B[e]};if(f.bracketOfPosition(e)!=null)return{"object-position":f.bracketOfPosition(e).split(" ").map(t=>f.position.fraction.auto.px.cssvar(t)??t).join(" ")}},{autocomplete:`object-(${Object.keys(B).join("|")})`}]],bc=[["bg-blend-multiply",{"background-blend-mode":"multiply"}],["bg-blend-screen",{"background-blend-mode":"screen"}],["bg-blend-overlay",{"background-blend-mode":"overlay"}],["bg-blend-darken",{"background-blend-mode":"darken"}],["bg-blend-lighten",{"background-blend-mode":"lighten"}],["bg-blend-color-dodge",{"background-blend-mode":"color-dodge"}],["bg-blend-color-burn",{"background-blend-mode":"color-burn"}],["bg-blend-hard-light",{"background-blend-mode":"hard-light"}],["bg-blend-soft-light",{"background-blend-mode":"soft-light"}],["bg-blend-difference",{"background-blend-mode":"difference"}],["bg-blend-exclusion",{"background-blend-mode":"exclusion"}],["bg-blend-hue",{"background-blend-mode":"hue"}],["bg-blend-saturation",{"background-blend-mode":"saturation"}],["bg-blend-color",{"background-blend-mode":"color"}],["bg-blend-luminosity",{"background-blend-mode":"luminosity"}],["bg-blend-normal",{"background-blend-mode":"normal"}],...A("bg-blend","background-blend")],yc=[["mix-blend-multiply",{"mix-blend-mode":"multiply"}],["mix-blend-screen",{"mix-blend-mode":"screen"}],["mix-blend-overlay",{"mix-blend-mode":"overlay"}],["mix-blend-darken",{"mix-blend-mode":"darken"}],["mix-blend-lighten",{"mix-blend-mode":"lighten"}],["mix-blend-color-dodge",{"mix-blend-mode":"color-dodge"}],["mix-blend-color-burn",{"mix-blend-mode":"color-burn"}],["mix-blend-hard-light",{"mix-blend-mode":"hard-light"}],["mix-blend-soft-light",{"mix-blend-mode":"soft-light"}],["mix-blend-difference",{"mix-blend-mode":"difference"}],["mix-blend-exclusion",{"mix-blend-mode":"exclusion"}],["mix-blend-hue",{"mix-blend-mode":"hue"}],["mix-blend-saturation",{"mix-blend-mode":"saturation"}],["mix-blend-color",{"mix-blend-mode":"color"}],["mix-blend-luminosity",{"mix-blend-mode":"luminosity"}],["mix-blend-plus-lighter",{"mix-blend-mode":"plus-lighter"}],["mix-blend-normal",{"mix-blend-mode":"normal"}],...A("mix-blend")],kc=[["min-h-dvh",{"min-height":"100dvh"}],["min-h-svh",{"min-height":"100svh"}],["min-h-lvh",{"min-height":"100lvh"}],["h-dvh",{height:"100dvh"}],["h-svh",{height:"100svh"}],["h-lvh",{height:"100lvh"}],["max-h-dvh",{"max-height":"100dvh"}],["max-h-svh",{"max-height":"100svh"}],["max-h-lvh",{"max-height":"100lvh"}]],$c=[["forced-color-adjust-auto",{"forced-color-adjust":"auto"}],["forced-color-adjust-none",{"forced-color-adjust":"none"}]],vc=[["field-sizing-fixed",{"field-sizing":"fixed"}],["field-sizing-content",{"field-sizing":"content"}]],wc=[[/^fill-(.+)$/,V("fill","fill"),{autocomplete:"fill-$colors"}],[/^fill-op(?:acity)?-?(.+)$/,([,e])=>({"--un-fill-opacity":f.bracket.percent.cssvar(e)}),{autocomplete:"fill-(op|opacity)-<percent>"}],["fill-none",{fill:"none"}],[/^stroke-(?:width-|size-)?(.+)$/,Cn],[/^stroke-dash-(.+)$/,([,e])=>({"stroke-dasharray":f.bracket.cssvar.number(e)}),{autocomplete:"stroke-dash-<num>"}],[/^stroke-offset-(.+)$/,([,e])=>({"stroke-dashoffset":f.bracket.cssvar.px.numberWithUnit(e)})],[/^stroke-(.+)$/,xc,{autocomplete:"stroke-$colors"}],[/^stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-stroke-opacity":f.bracket.percent.cssvar(e)}),{autocomplete:"stroke-(op|opacity)-<percent>"}],["stroke-cap-square",{"stroke-linecap":"square"}],["stroke-cap-round",{"stroke-linecap":"round"}],["stroke-cap-auto",{"stroke-linecap":"butt"}],["stroke-join-arcs",{"stroke-linejoin":"arcs"}],["stroke-join-bevel",{"stroke-linejoin":"bevel"}],["stroke-join-clip",{"stroke-linejoin":"miter-clip"}],["stroke-join-round",{"stroke-linejoin":"round"}],["stroke-join-auto",{"stroke-linejoin":"miter"}],["stroke-none",{stroke:"none"}]];function Cn([,e]){return{"stroke-width":f.bracket.cssvar.fraction.px.number(e)}}function xc(e,t){return Le(f.bracket(e[1]))?Cn(e):V("stroke","stroke")(e,t)}const Sc=[["inline-table",{display:"inline-table"}],["table",{display:"table"}],["table-caption",{display:"table-caption"}],["table-cell",{display:"table-cell"}],["table-column",{display:"table-column"}],["table-column-group",{display:"table-column-group"}],["table-footer-group",{display:"table-footer-group"}],["table-header-group",{display:"table-header-group"}],["table-row",{display:"table-row"}],["table-row-group",{display:"table-row-group"}],["border-collapse",{"border-collapse":"collapse"}],["border-separate",{"border-collapse":"separate"}],[/^border-spacing-(.+)$/,function*([,e],{theme:t}){const r=Mr(e,t);if(r!=null){yield{"--un-border-spacing-x":r,"--un-border-spacing-y":r,"border-spacing":"var(--un-border-spacing-x) var(--un-border-spacing-y)"};for(const n of["x","y"])yield w(`--un-border-spacing-${n}`,{syntax:"<length>",initialValue:"0"})}},{autocomplete:["border-spacing","border-spacing-$spacing"]}],[/^border-spacing-([xy])-(.+)$/,function*([,e,t],{theme:r}){const n=Mr(t,r);if(n!=null){yield{[`--un-border-spacing-${e}`]:n,"border-spacing":"var(--un-border-spacing-x) var(--un-border-spacing-y)"};for(const o of["x","y"])yield w(`--un-border-spacing-${o}`,{syntax:"<length>",initialValue:"0"})}},{autocomplete:["border-spacing-(x|y)","border-spacing-(x|y)-$spacing"]}],["caption-top",{"caption-side":"top"}],["caption-bottom",{"caption-side":"bottom"}],["table-auto",{"table-layout":"auto"}],["table-fixed",{"table-layout":"fixed"}],["table-empty-cells-visible",{"empty-cells":"show"}],["table-empty-cells-hidden",{"empty-cells":"hide"}]];function Mr(e,t){let r=t.spacing?.[e];if(!r){const n=Y(e);n!=null?(z("spacing"),r=`calc(var(--spacing) * ${n})`):r=f.bracket.cssvar.global.auto.fraction.rem(e)}return r}const $t="var(--un-pan-x) var(--un-pan-y) var(--un-pinch-zoom)",vt=["pan-x","pan-y","pinch-zoom"].map(e=>w(`--un-${e}`)),Ec=[[/^touch-pan-(x|left|right)$/,function*([,e]){yield{"--un-pan-x":`pan-${e}`,"touch-action":$t};for(const t of vt)yield t},{autocomplete:["touch-pan","touch-pan-(x|left|right|y|up|down)"]}],[/^touch-pan-(y|up|down)$/,function*([,e]){yield{"--un-pan-y":`pan-${e}`,"touch-action":$t};for(const t of vt)yield t}],[/^touch-pinch-zoom$/,function*(){yield{"--un-pinch-zoom":"pinch-zoom","touch-action":$t};for(const e of vt)yield e}],["touch-auto",{"touch-action":"auto"}],["touch-manipulation",{"touch-action":"manipulation"}],["touch-none",{"touch-action":"none"}],...A("touch","touch-action")],Ie=["translate","rotate","scale"],Bt=["var(--un-rotate-x)","var(--un-rotate-y)","var(--un-rotate-z)","var(--un-skew-x)","var(--un-skew-y)"].join(" "),Dt=Bt,Cc=["translateZ(0)",Bt].join(" "),jc=[[/^(?:transform-)?origin-(.+)$/,([,e])=>({"transform-origin":B[e]??f.bracket.cssvar(e)}),{autocomplete:[`transform-origin-(${Object.keys(B).join("|")})`,`origin-(${Object.keys(B).join("|")})`]}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,e],{theme:t})=>{let r;if(t.perspective?.[e]?(z("perspective",e),r=N("perspective",e)):r=f.bracket.cssvar.px.numberWithUnit(e),r!=null)return{perspective:r}},{autocomplete:["transform-perspective-<num>","perspective-<num>","perspective-$perspective"]}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,e])=>{const t=f.bracket.cssvar(e)??(e.length>=3?B[e]:void 0);if(t!=null)return{"perspective-origin":t}}],[/^(?:transform-)?translate-()(.+)$/,Lr],[/^(?:transform-)?translate-([xyz])-(.+)$/,Lr],[/^(?:transform-)?rotate-()(.+)$/,Nr],[/^(?:transform-)?rotate-([xyz])-(.+)$/,Nr],[/^(?:transform-)?skew-()(.+)$/,Wr],[/^(?:transform-)?skew-([xy])-(.+)$/,Wr,{autocomplete:["transform-skew-(x|y)-<percent>","skew-(x|y)-<percent>"]}],[/^(?:transform-)?scale-()(.+)$/,Tr],[/^(?:transform-)?scale-([xyz])-(.+)$/,Tr,{autocomplete:[`transform-(${Ie.join("|")})-<percent>`,`transform-(${Ie.join("|")})-(x|y|z)-<percent>`,`(${Ie.join("|")})-<percent>`,`(${Ie.join("|")})-(x|y|z)-<percent>`]}],["transform-3d",{"transform-style":"preserve-3d"}],["transform-flat",{"transform-style":"flat"}],[/^transform-(border|content|fill|stroke|view)$/,([,e])=>({"transform-box":`${e}-box`})],["transform",{transform:Dt}],["transform-cpu",{transform:Bt}],["transform-gpu",{transform:Cc}],["transform-none",{transform:"none"}],...A("transform")];function Lr([,e,t]){const r=Y(t)??f.bracket.cssvar.none.fraction.rem(t);if(r!=null)return r==="none"?{translate:"none"}:(z("spacing"),[[...qt(e,typeof r=="number"?`calc(var(--spacing) * ${r})`:r,"translate"),["translate",`var(--un-translate-x) var(--un-translate-y)${e==="z"?" var(--un-translate-z)":""}`,At]],...["x","y","z"].map(n=>w(`--un-translate-${n}`,{initialValue:0}))])}function Tr([,e,t]){const r=f.bracket.cssvar.none.fraction.percent(t);if(r!=null)return r==="none"?{scale:"none"}:[[...qt(e,r,"scale"),["scale",`var(--un-scale-x) var(--un-scale-y)${e==="z"?" var(--un-scale-z)":""}`]],...["x","y","z"].map(n=>w(`--un-scale-${n}`,{initialValue:1}))]}function Nr([,e="",t]){const r=f.bracket.cssvar.none.degree(t);if(r!=null)return r==="none"?{rotate:"none"}:e?[[...qt(e,r.endsWith("deg")?`rotate${e.toUpperCase()}(${r})`:r,"rotate"),["transform",Dt]],...["x","y","z"].map(n=>w(`--un-rotate-${n}`,{initialValue:`rotate${n.toUpperCase()}(0)`})),...["x","y"].map(n=>w(`--un-skew-${n}`,{initialValue:`skew${n.toUpperCase()}(0)`}))]:{rotate:f.bracket.cssvar.degree(t)}}function Wr([,e,t]){const r=f.bracket.cssvar.degree(t),n=an[e];if(r!=null&&n)return[[...n.map(o=>[`--un-skew${o}`,r.endsWith("deg")?`skew${o.slice(1).toUpperCase()}(${r})`:r]),["transform",Dt]],...["x","y","z"].map(o=>w(`--un-rotate-${o}`,{initialValue:`rotate${o.toUpperCase()}(0)`})),...["x","y"].map(o=>w(`--un-skew-${o}`,{initialValue:`skew${o.toUpperCase()}(0)`}))]}function qt(e,t,r){const n=t.split(Xi);return e||!e&&n.length===1?an[e].map(o=>[`--un-${r}${o}`,t]):n.map((o,i)=>[`--un-${r}-${Hi[i]}`,o])}function Vr(e,t){let r;if(f.cssvar(e)!=null)r=f.cssvar(e);else{e.startsWith("[")&&e.endsWith("]")&&(e=e.slice(1,-1));const n=e.split(",").map(o=>t.property?.[o]??f.properties(o));n.every(Boolean)&&(r=n.join(","))}return r}const zc=[[/^transition(?:-(\D+?))?(?:-(\d+))?$/,([,e,t],{theme:r})=>{z("default",["transition","timingFunction"]),z("default",["transition","duration"]);const n={"transition-property":r.property?.DEFAULT,"transition-timing-function":`var(--un-ease, ${N("default",["transition","timingFunction"])})`,"transition-duration":`var(--un-duration, ${N("default",["transition","duration"])})`};if(!e&&!t)return{...n};if(e!=null){const o=Vr(e,r);if(o)return{"--un-duration":t&&f.time(t),...n,"transition-property":o}}else if(t!=null)return{"--un-duration":f.time(t),...n}}],[/^(?:transition-)?duration-(.+)$/,([,e])=>({"--un-duration":f.bracket.cssvar.time(e),"transition-duration":f.bracket.cssvar.time(e)})],[/^(?:transition-)?delay-(.+)$/,([,e])=>({"transition-delay":f.bracket.cssvar.time(e)})],[/^(?:transition-)?ease(?:-(.+))?$/,([,e="DEFAULT"],{theme:t})=>{let r;return t.ease?.[e]?(z("ease",e),r=N("ease",e)):r=f.bracket.cssvar(e),[{"--un-ease":r,"transition-timing-function":r},w("--un-ease")]},{autocomplete:["transition-ease-(linear|in|out|in-out)","ease-(linear|in|out|in-out)"]}],[/^(?:transition-)?property-(.+)$/,([,e],{theme:t})=>{const r=f.global(e)||Vr(e,t);if(r)return{"transition-property":r}},{autocomplete:[`transition-property-(${[...W].join("|")})`]}],["transition-none",{transition:"none"}],...A("transition"),["transition-discrete",{"transition-behavior":"allow-discrete"}],["transition-normal",{"transition-behavior":"normal"}]],Ac=[[/^text-(.+)$/,Mc,{autocomplete:"text-$text"}],[/^(?:text|font)-size-(.+)$/,jn,{autocomplete:"text-size-$text"}],[/^text-(?:color-)?(.+)$/,Lc,{autocomplete:"text-$colors"}],[/^(?:color|c)-(.+)$/,V("color","text")],[/^(?:text|color|c)-(.+)$/,([,e])=>W.includes(e)?{color:e}:void 0,{autocomplete:`(text|color|c)-(${W.join("|")})`}],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-opacity":f.bracket.percent.cssvar(e)}),{autocomplete:"(text|color|c)-(op|opacity)-<percent>"}],[/^fw-?([^-]+)$/,([,e],{theme:t})=>{let r;return t.fontWeight?.[e]?(z("fontWeight",e),r=N("fontWeight",e)):r=f.bracket.cssvar.global.number(e),{"--un-font-weight":r,"font-weight":r}},{autocomplete:["(font|fw)-(100|200|300|400|500|600|700|800|900)","(font|fw)-$fontWeight"]}],[/^(?:font-)?(?:leading|lh|line-height)-(.+)$/,([,e],{theme:t})=>{let r;if(t.leading?.[e]?(z("leading",e),r=N("leading",e)):Y(e)?(z("spacing"),r=`calc(var(--spacing) * ${Y(e)})`):r=f.bracket.cssvar.global.rem(e),r!=null)return[{"--un-leading":r,"line-height":r},w("--un-leading")]},{autocomplete:"(leading|lh|line-height)-$leading"}],["font-synthesis-weight",{"font-synthesis":"weight"}],["font-synthesis-style",{"font-synthesis":"style"}],["font-synthesis-small-caps",{"font-synthesis":"small-caps"}],["font-synthesis-none",{"font-synthesis":"none"}],[/^font-synthesis-(.+)$/,([,e])=>({"font-synthesis":f.bracket.cssvar.global(e)})],[/^(?:font-)?tracking-(.+)$/,([,e],{theme:t})=>{let r;return t.tracking?.[e]?(z("tracking",e),r=N("tracking",e)):r=f.bracket.cssvar.global.rem(e),{"--un-tracking":r,"letter-spacing":r}},{autocomplete:"tracking-$tracking"}],[/^(?:font-)?word-spacing-(.+)$/,([,e],{theme:t})=>{const r=t.tracking?.[e]?N("tracking",e):f.bracket.cssvar.global.rem(e);return{"--un-word-spacing":r,"word-spacing":r}},{autocomplete:"word-spacing-$spacing"}],["font-stretch-normal",{"font-stretch":"normal"}],["font-stretch-ultra-condensed",{"font-stretch":"ultra-condensed"}],["font-stretch-extra-condensed",{"font-stretch":"extra-condensed"}],["font-stretch-condensed",{"font-stretch":"condensed"}],["font-stretch-semi-condensed",{"font-stretch":"semi-condensed"}],["font-stretch-semi-expanded",{"font-stretch":"semi-expanded"}],["font-stretch-expanded",{"font-stretch":"expanded"}],["font-stretch-extra-expanded",{"font-stretch":"extra-expanded"}],["font-stretch-ultra-expanded",{"font-stretch":"ultra-expanded"}],[/^font-stretch-(.+)$/,([,e])=>({"font-stretch":f.bracket.cssvar.fraction.global(e)}),{autocomplete:"font-stretch-<percentage>"}],[/^font-(.+)$/,([,e],{theme:t})=>{let r;if(t.font?.[e])return z("font",e),r=N("font",e),{"font-family":r};if(t.fontWeight?.[e])return z("fontWeight",e),r=N("fontWeight",e),{"--un-font-weight":r,"font-weight":r};if(r=f.number(e),r!=null)return{"--un-font-weight":r,"font-weight":r};if(r=f.bracketOfFamily(e),r!=null&&f.number(r)==null)return r=f.cssvar(r)??r,{"font-family":r};if(r=f.bracketOfNumber(e),r!=null)return r=f.cssvar.number(r),{"--un-font-weight":r,"font-weight":r};if(r=f.bracket(e),r!=null&&f.number(r)!=null){const n=f.number(r);return{"--un-font-weight":n,"font-weight":n}}if(r=f.bracket.cssvar.global(e),r!=null)return{"font-family":r}},{autocomplete:["font-$font","font-$fontWeight"]}]],Rc=[[/^tab(?:-(.+))?$/,([,e])=>{const t=f.bracket.cssvar.global.number(e||"4");if(t!=null)return{"-moz-tab-size":t,"-o-tab-size":t,"tab-size":t}}]],_c=[[/^indent-(.+)$/,([,e])=>{let t=Y(e);if(t!=null)return z("spacing"),{"text-indent":`calc(var(--spacing) * ${t})`};if(t=f.bracket.cssvar.auto.global.rem(e),t!=null)return{"text-indent":t}}]],Pc=[[/^text-stroke(?:-(.+))?$/,([,e="DEFAULT"],{theme:t})=>(t.textStrokeWidth?.[e]&&z("textStrokeWidth",e),{"-webkit-text-stroke-width":t.textStrokeWidth?.[e]?N("textStrokeWidth",e):f.bracket.cssvar.px(e)}),{autocomplete:"text-stroke-$textStrokeWidth"}],[/^text-stroke-(.+)$/,V("-webkit-text-stroke-color","text-stroke"),{autocomplete:"text-stroke-$colors"}],[/^text-stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-stroke-opacity":f.bracket.percent.cssvar(e)}),{autocomplete:"text-stroke-(op|opacity)-<percent>"}]],Ur=/op(?:acity)?-/,Oc=[[/^text-shadow(?:-(.+))?$/,(e,t)=>{const[r,n="DEFAULT"]=e,o=t.theme.textShadow?.[n];return o!=null?{"--un-text-shadow":It(o,"--un-text-shadow-color").join(","),"text-shadow":"var(--un-text-shadow)"}:Ur.test(n)?{"--un-text-shadow-opacity":f.bracket.percent.cssvar(n.replace(Ur,""))}:V("--un-text-shadow-color","text-shadow")(e,t)??{"text-shadow":f.bracket.cssvar.global(n)}},{autocomplete:["text-shadow-$textShadow","text-shadow(-color)?-$colors","text-shadow(-color)?-(op|opacity)-<percent>"]}],[/^text-shadow-color-(.+)$/,V("--un-text-shadow-color","text-shadow"),{autocomplete:"text-shadow-color-$colors"}],[/^text-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-shadow-opacity":f.bracket.percent.cssvar(e)}),{autocomplete:"text-shadow-color-(op|opacity)-<percent>"}]],se=[w("--un-ordinal"),w("--un-slashed-zero"),w("--un-numeric-figure"),w("--un-numeric-spacing"),w("--un-numeric-fraction")],ae={"font-variant-numeric":"var(--un-ordinal,) var(--un-slashed-zero,) var(--un-numeric-figure,) var(--un-numeric-spacing,) var(--un-numeric-fraction,)"},Fc=[["ordinal",[{"--un-ordinal":"ordinal",...ae},...se]],["slashed-zero",[{"--un-slashed-zero":"slashed-zero",...ae},...se]],["lining-nums",[{"--un-numeric-figure":"lining-nums",...ae},...se]],["oldstyle-nums",[{"--un-numeric-figure":"oldstyle-nums",...ae},...se]],["proportional-nums",[{"--un-numeric-spacing":"proportional-nums",...ae},...se]],["tabular-nums",[{"--un-numeric-spacing":"tabular-nums",...ae},...se]],["diagonal-fractions",[{"--un-numeric-fraction":"diagonal-fractions",...ae},...se]],["stacked-fractions",[{"--un-numeric-fraction":"stacked-fractions",...ae},...se]],["normal-nums",[{"font-variant-numeric":"normal"}]]];function Mc([,e="base"],{theme:t}){const r=Tc(e,"length");if(!r)return;const[n,o]=r,i=t.text?.[n];let a;if(o&&(t.leading?.[o]?(z("leading",o),a=N("leading",o)):a=f.bracket.cssvar.global.rem(o)),i)return z("text",[n,"fontSize"]),z("text",[n,"lineHeight"]),i.letterSpacing&&z("text",[n,"letterSpacing"]),{"font-size":N("text",[n,"fontSize"]),"line-height":a??`var(--un-leading, ${N("text",[n,"lineHeight"])})`,"letter-spacing":i.letterSpacing?N("text",[n,"letterSpacing"]):void 0};const s=f.bracketOfLength.rem(n);return a&&s?{"font-size":s,"line-height":a}:{"font-size":f.bracketOfLength.rem(e)}}function jn([,e],{theme:t}){if(t.text?.[e]!=null)return z("text",[e,"fontSize"]),z("text",[e,"lineHeight"]),{"font-size":N("text",[e,"fontSize"]),"line-height":`var(--un-leading, ${N("text",[e,"lineHeight"])})`};{const r=f.bracket.cssvar.global.rem(e);if(r)return{"font-size":r}}}function Lc(e,t){return Le(f.bracket(e[1]))?jn(e,t):V("color","text")(e,t)}function Tc(e,t){const[r,n]=tt(e,"[","]",["/",":"])??[];if(r!=null){const o=(r.match(Ut)??[])[1];if(o==null||o===t)return[r,n]}}const Nc={backface:"backface-visibility",break:"word-break",case:"text-transform",content:"align-content",fw:"font-weight",items:"align-items",justify:"justify-content",select:"user-select",self:"align-self",vertical:"vertical-align",visible:"visibility",whitespace:"white-space",ws:"white-space","bg-blend":"background-blend-mode","bg-clip":"-webkit-background-clip","bg-image":"background-image","bg-origin":"background-origin","bg-position":"background-position","bg-repeat":"background-repeat","bg-size":"background-size","mix-blend":"mix-blend-mode",object:"object-fit","object-position":"object-position",write:"writing-mode","write-orient":"text-orientation"},Wc=[[/^(.+?)-(\$.+)$/,([,e,t])=>{const r=Nc[e];if(r)return{[r]:f.cssvar(t)}}]],Vc=[[/^\[(.*)\]$/,([e,t])=>{if(!t.includes(":"))return;const[r,...n]=t.split(":"),o=n.join(":");if(!Ic(t)&&/^[\w-]+$/.test(r)&&Uc(o)){const i=f.bracket(`[${o}]`);if(i)return{[r]:i}}}]];function Uc(e){let t=0;function r(n){for(;t<e.length;)if(t+=1,e[t]===n)return!0;return!1}for(t=0;t<e.length;t++){const n=e[t];if("\"`'".includes(n)){if(!r(n))return!1}else if(n==="("){if(!r(")"))return!1}else if("[]{}:".includes(n))return!1}return!0}function Ic(e){if(!e.includes("://"))return!1;try{return new URL(e).host!==""}catch{return!1}}const Bc=[[/^view-transition-([\w-]+)$/,([,e])=>({"view-transition-name":e})]],Dc=[Ac,Rc,_c,Pc,Oc,gl,ml,Ia,Ua,Xa,jr,zr,Ka,Ja,Za,Qa,el,jr,tl,zr,rl,ul,ol,fl,Na,La,dl,xl,Sl,Cl,ql,Yl,Gl,Kl,Jl,Zl,Ql,ec,tc,rc,nc,oc,ic,sc,ac,lc,cc,uc,Il,Ul,jc,zc,Wc,Vc,Sn,Wl,Ml,Tl,Ll,xn,Fl,En,Ol,Nl,jl,wc,Ba,Ha,fc,pc,dc,$c,hc,mc,gc,bc,yc,kc,_l,pl,wl,zl,Pl,Bl,Sc,Ec,Fc,Bc,bl,kl,vc,Vl].flat();function qc(){return{getCSS:()=>{if(ke.size>0){const e="@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b))))",t="*, ::before, ::after, ::backdrop",r=Array.from(ke.entries()).map(([n,o])=>`${n}:${o};`).join("");return`${e}{${t}{${r}}}`}},layer:"properties"}}const Hc=`
|
|
18
|
+
/*
|
|
19
|
+
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
|
|
20
|
+
2. Remove default margins and padding
|
|
21
|
+
3. Reset all borders.
|
|
22
|
+
*/
|
|
23
|
+
|
|
24
|
+
*,
|
|
25
|
+
::after,
|
|
26
|
+
::before,
|
|
27
|
+
::backdrop,
|
|
28
|
+
::file-selector-button {
|
|
29
|
+
box-sizing: border-box; /* 1 */
|
|
30
|
+
margin: 0; /* 2 */
|
|
31
|
+
padding: 0; /* 2 */
|
|
32
|
+
border: 0 solid; /* 3 */
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/*
|
|
36
|
+
1. Use a consistent sensible line-height in all browsers.
|
|
37
|
+
2. Prevent adjustments of font size after orientation changes in iOS.
|
|
38
|
+
3. Use a more readable tab size.
|
|
39
|
+
4. Use the user's configured \`sans\` font-family by default.
|
|
40
|
+
5. Use the user's configured \`sans\` font-feature-settings by default.
|
|
41
|
+
6. Use the user's configured \`sans\` font-variation-settings by default.
|
|
42
|
+
7. Disable tap highlights on iOS.
|
|
43
|
+
*/
|
|
44
|
+
|
|
45
|
+
html,
|
|
46
|
+
:host {
|
|
47
|
+
line-height: 1.5; /* 1 */
|
|
48
|
+
-webkit-text-size-adjust: 100%; /* 2 */
|
|
49
|
+
tab-size: 4; /* 3 */
|
|
50
|
+
font-family: var(
|
|
51
|
+
--default-font-family,
|
|
52
|
+
ui-sans-serif,
|
|
53
|
+
system-ui,
|
|
54
|
+
sans-serif,
|
|
55
|
+
'Apple Color Emoji',
|
|
56
|
+
'Segoe UI Emoji',
|
|
57
|
+
'Segoe UI Symbol',
|
|
58
|
+
'Noto Color Emoji'
|
|
59
|
+
); /* 4 */
|
|
60
|
+
font-feature-settings: var(--default-font-featureSettings, normal); /* 5 */
|
|
61
|
+
font-variation-settings: var(--default-font-variationSettings, normal); /* 6 */
|
|
62
|
+
-webkit-tap-highlight-color: transparent; /* 7 */
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/*
|
|
66
|
+
1. Add the correct height in Firefox.
|
|
67
|
+
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
|
|
68
|
+
3. Reset the default border style to a 1px solid border.
|
|
69
|
+
*/
|
|
70
|
+
|
|
71
|
+
hr {
|
|
72
|
+
height: 0; /* 1 */
|
|
73
|
+
color: inherit; /* 2 */
|
|
74
|
+
border-top-width: 1px; /* 3 */
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/*
|
|
78
|
+
Add the correct text decoration in Chrome, Edge, and Safari.
|
|
79
|
+
*/
|
|
80
|
+
|
|
81
|
+
abbr:where([title]) {
|
|
82
|
+
-webkit-text-decoration: underline dotted;
|
|
83
|
+
text-decoration: underline dotted;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
/*
|
|
87
|
+
Remove the default font size and weight for headings.
|
|
88
|
+
*/
|
|
89
|
+
|
|
90
|
+
h1,
|
|
91
|
+
h2,
|
|
92
|
+
h3,
|
|
93
|
+
h4,
|
|
94
|
+
h5,
|
|
95
|
+
h6 {
|
|
96
|
+
font-size: inherit;
|
|
97
|
+
font-weight: inherit;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
/*
|
|
101
|
+
Reset links to optimize for opt-in styling instead of opt-out.
|
|
102
|
+
*/
|
|
103
|
+
|
|
104
|
+
a {
|
|
105
|
+
color: inherit;
|
|
106
|
+
-webkit-text-decoration: inherit;
|
|
107
|
+
text-decoration: inherit;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/*
|
|
111
|
+
Add the correct font weight in Edge and Safari.
|
|
112
|
+
*/
|
|
113
|
+
|
|
114
|
+
b,
|
|
115
|
+
strong {
|
|
116
|
+
font-weight: bolder;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/*
|
|
120
|
+
1. Use the user's configured \`mono\` font-family by default.
|
|
121
|
+
2. Use the user's configured \`mono\` font-feature-settings by default.
|
|
122
|
+
3. Use the user's configured \`mono\` font-variation-settings by default.
|
|
123
|
+
4. Correct the odd \`em\` font sizing in all browsers.
|
|
124
|
+
*/
|
|
125
|
+
|
|
126
|
+
code,
|
|
127
|
+
kbd,
|
|
128
|
+
samp,
|
|
129
|
+
pre {
|
|
130
|
+
font-family: var(
|
|
131
|
+
--default-monoFont-family,
|
|
132
|
+
ui-monospace,
|
|
133
|
+
SFMono-Regular,
|
|
134
|
+
Menlo,
|
|
135
|
+
Monaco,
|
|
136
|
+
Consolas,
|
|
137
|
+
'Liberation Mono',
|
|
138
|
+
'Courier New',
|
|
139
|
+
monospace
|
|
140
|
+
); /* 1 */
|
|
141
|
+
font-feature-settings: var(--default-monoFont-featureSettings, normal); /* 2 */
|
|
142
|
+
font-variation-settings: var(--default-monoFont-variationSettings, normal); /* 3 */
|
|
143
|
+
font-size: 1em; /* 4 */
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
/*
|
|
147
|
+
Add the correct font size in all browsers.
|
|
148
|
+
*/
|
|
149
|
+
|
|
150
|
+
small {
|
|
151
|
+
font-size: 80%;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/*
|
|
155
|
+
Prevent \`sub\` and \`sup\` elements from affecting the line height in all browsers.
|
|
156
|
+
*/
|
|
157
|
+
|
|
158
|
+
sub,
|
|
159
|
+
sup {
|
|
160
|
+
font-size: 75%;
|
|
161
|
+
line-height: 0;
|
|
162
|
+
position: relative;
|
|
163
|
+
vertical-align: baseline;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
sub {
|
|
167
|
+
bottom: -0.25em;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
sup {
|
|
171
|
+
top: -0.5em;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
/*
|
|
175
|
+
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
|
|
176
|
+
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
|
|
177
|
+
3. Remove gaps between table borders by default.
|
|
178
|
+
*/
|
|
179
|
+
|
|
180
|
+
table {
|
|
181
|
+
text-indent: 0; /* 1 */
|
|
182
|
+
border-color: inherit; /* 2 */
|
|
183
|
+
border-collapse: collapse; /* 3 */
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
/*
|
|
187
|
+
Use the modern Firefox focus style for all focusable elements.
|
|
188
|
+
*/
|
|
189
|
+
|
|
190
|
+
:-moz-focusring {
|
|
191
|
+
outline: auto;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
/*
|
|
195
|
+
Add the correct vertical alignment in Chrome and Firefox.
|
|
196
|
+
*/
|
|
197
|
+
|
|
198
|
+
progress {
|
|
199
|
+
vertical-align: baseline;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
/*
|
|
203
|
+
Add the correct display in Chrome and Safari.
|
|
204
|
+
*/
|
|
205
|
+
|
|
206
|
+
summary {
|
|
207
|
+
display: list-item;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
/*
|
|
211
|
+
Make lists unstyled by default.
|
|
212
|
+
*/
|
|
213
|
+
|
|
214
|
+
ol,
|
|
215
|
+
ul,
|
|
216
|
+
menu {
|
|
217
|
+
list-style: none;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
/*
|
|
221
|
+
1. Make replaced elements \`display: block\` by default. (https://github.com/mozdevs/cssremedy/issues/14)
|
|
222
|
+
2. Add \`vertical-align: middle\` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
|
|
223
|
+
This can trigger a poorly considered lint error in some tools but is included by design.
|
|
224
|
+
*/
|
|
225
|
+
|
|
226
|
+
img,
|
|
227
|
+
svg,
|
|
228
|
+
video,
|
|
229
|
+
canvas,
|
|
230
|
+
audio,
|
|
231
|
+
iframe,
|
|
232
|
+
embed,
|
|
233
|
+
object {
|
|
234
|
+
display: block; /* 1 */
|
|
235
|
+
vertical-align: middle; /* 2 */
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
/*
|
|
239
|
+
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
|
|
240
|
+
*/
|
|
241
|
+
|
|
242
|
+
img,
|
|
243
|
+
video {
|
|
244
|
+
max-width: 100%;
|
|
245
|
+
height: auto;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
/*
|
|
249
|
+
1. Inherit font styles in all browsers.
|
|
250
|
+
2. Remove border radius in all browsers.
|
|
251
|
+
3. Remove background color in all browsers.
|
|
252
|
+
4. Ensure consistent opacity for disabled states in all browsers.
|
|
253
|
+
*/
|
|
254
|
+
|
|
255
|
+
button,
|
|
256
|
+
input,
|
|
257
|
+
select,
|
|
258
|
+
optgroup,
|
|
259
|
+
textarea,
|
|
260
|
+
::file-selector-button {
|
|
261
|
+
font: inherit; /* 1 */
|
|
262
|
+
font-feature-settings: inherit; /* 1 */
|
|
263
|
+
font-variation-settings: inherit; /* 1 */
|
|
264
|
+
letter-spacing: inherit; /* 1 */
|
|
265
|
+
color: inherit; /* 1 */
|
|
266
|
+
border-radius: 0; /* 2 */
|
|
267
|
+
background-color: transparent; /* 3 */
|
|
268
|
+
opacity: 1; /* 4 */
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
/*
|
|
272
|
+
Restore default font weight.
|
|
273
|
+
*/
|
|
274
|
+
|
|
275
|
+
:where(select:is([multiple], [size])) optgroup {
|
|
276
|
+
font-weight: bolder;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
/*
|
|
280
|
+
Restore indentation.
|
|
281
|
+
*/
|
|
282
|
+
|
|
283
|
+
:where(select:is([multiple], [size])) optgroup option {
|
|
284
|
+
padding-inline-start: 20px;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
/*
|
|
288
|
+
Restore space after button.
|
|
289
|
+
*/
|
|
290
|
+
|
|
291
|
+
::file-selector-button {
|
|
292
|
+
margin-inline-end: 4px;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
/*
|
|
296
|
+
Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
|
|
297
|
+
*/
|
|
298
|
+
|
|
299
|
+
::placeholder {
|
|
300
|
+
opacity: 1;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
/*
|
|
304
|
+
Set the default placeholder color to a semi-transparent version of the current text color in browsers that do not
|
|
305
|
+
crash when using \`color-mix(…)\` with \`currentcolor\`. (https://github.com/tailwindlabs/tailwindcss/issues/17194)
|
|
306
|
+
*/
|
|
307
|
+
|
|
308
|
+
@supports (not (-webkit-appearance: -apple-pay-button)) /* Not Safari */ or
|
|
309
|
+
(contain-intrinsic-size: 1px) /* Safari 17+ */ {
|
|
310
|
+
::placeholder {
|
|
311
|
+
color: color-mix(in oklab, currentcolor 50%, transparent);
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
/*
|
|
316
|
+
Prevent resizing textareas horizontally by default.
|
|
317
|
+
*/
|
|
318
|
+
|
|
319
|
+
textarea {
|
|
320
|
+
resize: vertical;
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
/*
|
|
324
|
+
Remove the inner padding in Chrome and Safari on macOS.
|
|
325
|
+
*/
|
|
326
|
+
|
|
327
|
+
::-webkit-search-decoration {
|
|
328
|
+
-webkit-appearance: none;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
/*
|
|
332
|
+
1. Ensure date/time inputs have the same height when empty in iOS Safari.
|
|
333
|
+
2. Ensure text alignment can be changed on date/time inputs in iOS Safari.
|
|
334
|
+
*/
|
|
335
|
+
|
|
336
|
+
::-webkit-date-and-time-value {
|
|
337
|
+
min-height: 1lh; /* 1 */
|
|
338
|
+
text-align: inherit; /* 2 */
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
/*
|
|
342
|
+
Prevent height from changing on date/time inputs in macOS Safari when the input is set to \`display: block\`.
|
|
343
|
+
*/
|
|
344
|
+
|
|
345
|
+
::-webkit-datetime-edit {
|
|
346
|
+
display: inline-flex;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
/*
|
|
350
|
+
Remove excess padding from pseudo-elements in date/time inputs to ensure consistent height across browsers.
|
|
351
|
+
*/
|
|
352
|
+
|
|
353
|
+
::-webkit-datetime-edit-fields-wrapper {
|
|
354
|
+
padding: 0;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
::-webkit-datetime-edit,
|
|
358
|
+
::-webkit-datetime-edit-year-field,
|
|
359
|
+
::-webkit-datetime-edit-month-field,
|
|
360
|
+
::-webkit-datetime-edit-day-field,
|
|
361
|
+
::-webkit-datetime-edit-hour-field,
|
|
362
|
+
::-webkit-datetime-edit-minute-field,
|
|
363
|
+
::-webkit-datetime-edit-second-field,
|
|
364
|
+
::-webkit-datetime-edit-millisecond-field,
|
|
365
|
+
::-webkit-datetime-edit-meridiem-field {
|
|
366
|
+
padding-block: 0;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
/*
|
|
370
|
+
Center dropdown marker shown on inputs with paired \`<datalist>\`s in Chrome. (https://github.com/tailwindlabs/tailwindcss/issues/18499)
|
|
371
|
+
*/
|
|
372
|
+
|
|
373
|
+
::-webkit-calendar-picker-indicator {
|
|
374
|
+
line-height: 1;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
/*
|
|
378
|
+
Remove the additional \`:invalid\` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
|
|
379
|
+
*/
|
|
380
|
+
|
|
381
|
+
:-moz-ui-invalid {
|
|
382
|
+
box-shadow: none;
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
/*
|
|
386
|
+
Correct the inability to style the border radius in iOS Safari.
|
|
387
|
+
*/
|
|
388
|
+
|
|
389
|
+
button,
|
|
390
|
+
input:where([type='button'], [type='reset'], [type='submit']),
|
|
391
|
+
::file-selector-button {
|
|
392
|
+
appearance: button;
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
/*
|
|
396
|
+
Correct the cursor style of increment and decrement buttons in Safari.
|
|
397
|
+
*/
|
|
398
|
+
|
|
399
|
+
::-webkit-inner-spin-button,
|
|
400
|
+
::-webkit-outer-spin-button {
|
|
401
|
+
height: auto;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
/*
|
|
405
|
+
Make elements with the HTML hidden attribute stay hidden by default.
|
|
406
|
+
*/
|
|
407
|
+
|
|
408
|
+
[hidden]:where(:not([hidden='until-found'])) {
|
|
409
|
+
display: none !important;
|
|
410
|
+
}
|
|
411
|
+
`;function Yc(e){if(e.preflights?.reset!==!1)return{getCSS:({generator:t})=>(z("font","sans"),z("font","mono"),z("default",["font","family"]),z("default",["monoFont","family"]),dn(Hc,t.config.envMode==="dev")),layer:"base"}}const Xc=["spacing","breakpoint","verticalBreakpoint","shadow","insetShadow","dropShadow","textShadow","animation","property","aria","media","supports"];function Gc(e,t){const r=new Map([["--spacing",e.spacing.DEFAULT]]),n=i=>i.replace(tn,"1");function o(i,a){for(const s in i)Array.isArray(i[s])?r.set(`--${a}-${s}`,n(i[s].join(","))):typeof i[s]=="object"?o(i[s],`${a}-${s}`):r.set(`--${a}-${s}`,n(i[s]))}for(const i in e)t.includes(i)&&o(e[i],i);return r}function Kc(e){return{layer:"theme",getCSS(t){const{theme:r,generator:n}=t,o=ne(n.config.safelist.flatMap(u=>typeof u=="function"?u(t):u)),{mode:i,process:a}=e.preflights.theme;if(i===!1)return;if(o.length>0)for(const u of o){const[c,...p]=u.trim().split(":");if(c in r&&p.length<=1){const d=p.length===0?["DEFAULT"]:p[0].split("-"),h=Ke(r,c,d);typeof h=="string"&&(z(c,d),st(h,r))}}let s;const l=u=>{if(a)for(const d of u)for(const h of O(a))h(d,t);const c=u.map(([d,h])=>d&&h?`${d}: ${h};`:void 0).filter(Boolean);if(c.length===0)return;const p=c.join(`
|
|
412
|
+
`);return dn(`
|
|
413
|
+
:root, :host {
|
|
414
|
+
${p}
|
|
415
|
+
}`,n.config.envMode==="dev")};if(i==="on-demand"){if(ye.size===0)return;s=Array.from(ye).map(u=>{const[c,p]=u.split(":"),d=Ke(r,c,p.split("-"));if(typeof d=="string")return[`--${c}${`${c==="spacing"&&p==="DEFAULT"?"":`-${p}`}`}`,d]}).filter(Boolean)}else{const u=Object.keys(r).filter(c=>!Xc.includes(c));s=Array.from(Gc(r,u))}return l(s)}}}const Jc=e=>[Yc(e),Kc(e),qc()].filter(Boolean),Zc={position:["relative","absolute","fixed","sticky","static"],globalKeyword:W},Ku=(e={})=>{e.dark=e.dark??"class",e.attributifyPseudo=e.attributifyPseudo??!1,e.variablePrefix=e.variablePrefix??"un-",e.important=e.important??!1;const t=typeof e.preflights?.theme=="boolean"||typeof e.preflights?.theme=="string"?{mode:e.preflights.theme??"on-demand"}:{mode:e.preflights?.theme?.mode??"on-demand",...e.preflights?.theme};return e.preflights={reset:e.preflights?.reset??!0,theme:t},{name:qi,rules:Dc,shortcuts:Va,theme:Ma,layers:{properties:-200,theme:-150,base:-100},preflights:Jc(e),variants:fa(e),prefix:e.prefix,postprocess:vs(e),extractorDefault:e.arbitraryVariants===!1?void 0:Di(),autocomplete:{shorthands:Zc},options:e,configResolved(){ye.clear(),ke.clear()},meta:{themeDeps:ye,propertyDeps:ke}}},Qc=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,eu=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,tu=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function ru(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){nu(e);return}return t}function nu(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function ou(e,t={}){if(typeof e!="string")return e;if(e[0]==='"'&&e[e.length-1]==='"'&&e.indexOf("\\")===-1)return e.slice(1,-1);const r=e.trim();if(r.length<=9)switch(r.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!tu.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(Qc.test(e)||eu.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,ru)}return JSON.parse(e)}catch(n){if(t.strict)throw n;return e}}const iu=/#/g,su=/&/g,au=/\//g,lu=/=/g,Ht=/\+/g,cu=/%5e/gi,uu=/%60/gi,fu=/%7c/gi,pu=/%20/gi;function du(e){return encodeURI(""+e).replace(fu,"|")}function Mt(e){return du(typeof e=="string"?e:JSON.stringify(e)).replace(Ht,"%2B").replace(pu,"+").replace(iu,"%23").replace(su,"%26").replace(uu,"`").replace(cu,"^").replace(au,"%2F")}function wt(e){return Mt(e).replace(lu,"%3D")}function zn(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function hu(e){return zn(e.replace(Ht," "))}function mu(e){return zn(e.replace(Ht," "))}function gu(e=""){const t=Object.create(null);e[0]==="?"&&(e=e.slice(1));for(const r of e.split("&")){const n=r.match(/([^=]+)=?(.*)/)||[];if(n.length<2)continue;const o=hu(n[1]);if(o==="__proto__"||o==="constructor")continue;const i=mu(n[2]||"");t[o]===void 0?t[o]=i:Array.isArray(t[o])?t[o].push(i):t[o]=[t[o],i]}return t}function bu(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(r=>`${wt(e)}=${Mt(r)}`).join("&"):`${wt(e)}=${Mt(t)}`:wt(e)}function yu(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>bu(t,e[t])).filter(Boolean).join("&")}const ku=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,$u=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,vu=/^([/\\]\s*){2,}[^/\\]/,wu=/^\.?\//;function An(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?ku.test(e):$u.test(e)||(t.acceptRelative?vu.test(e):!1)}function xu(e="",t){return e.endsWith("/")}function Su(e="",t){return(xu(e)?e.slice(0,-1):e)||"/"}function Eu(e="",t){return e.endsWith("/")?e:e+"/"}function Cu(e,t){if(zu(t)||An(e))return e;const r=Su(t);return e.startsWith(r)?e:Ru(r,e)}function ju(e,t){const r=_u(e),n={...gu(r.search),...t};return r.search=yu(n),Pu(r)}function zu(e){return!e||e==="/"}function Au(e){return e&&e!=="/"}function Ru(e,...t){let r=e||"";for(const n of t.filter(o=>Au(o)))if(r){const o=n.replace(wu,"");r=Eu(r)+o}else r=n;return r}const Rn=Symbol.for("ufo:protocolRelative");function _u(e="",t){const r=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(r){const[,p,d=""]=r;return{protocol:p.toLowerCase(),pathname:d,href:p+d,auth:"",host:"",search:"",hash:""}}if(!An(e,{acceptRelative:!0}))return Ir(e);const[,n="",o,i=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,a="",s=""]=i.match(/([^#/?]*)(.*)?/)||[];n==="file:"&&(s=s.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:l,search:u,hash:c}=Ir(s);return{protocol:n.toLowerCase(),auth:o?o.slice(0,Math.max(0,o.length-1)):"",host:a,pathname:l,search:u,hash:c,[Rn]:!n}}function Ir(e=""){const[t="",r="",n=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:r,hash:n}}function Pu(e){const t=e.pathname||"",r=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",n=e.hash||"",o=e.auth?e.auth+"@":"",i=e.host||"";return(e.protocol||e[Rn]?(e.protocol||"")+"//":"")+o+i+t+r+n}class _n extends Error{constructor(t,r){super(t,r),this.name="FetchError",r?.cause&&!this.cause&&(this.cause=r.cause)}}function Pn(e){const t=e.error?.message||e.error?.toString()||"",r=e.request?.method||e.options?.method||"GET",n=e.request?.url||String(e.request)||"/",o=`[${r}] ${JSON.stringify(n)}`,i=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",a=`${o}: ${i}${t?` ${t}`:""}`,s=new _n(a,e.error?{cause:e.error}:void 0);for(const l of["request","options","response"])Object.defineProperty(s,l,{get(){return e[l]}});for(const[l,u]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(s,l,{get(){return e.response&&e.response[u]}});return s}const Ou=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function Br(e="GET"){return Ou.has(e.toUpperCase())}function Fu(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const Mu=new Set(["image/svg","application/xml","application/xhtml","application/html"]),Lu=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function Tu(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return Lu.test(t)?"json":Mu.has(t)||t.startsWith("text/")?"text":"blob"}function Nu(e,t,r,n){const o=Wu(t?.headers??e?.headers,r?.headers,n);let i;return(r?.query||r?.params||t?.params||t?.query)&&(i={...r?.params,...r?.query,...t?.params,...t?.query}),{...r,...t,query:i,params:i,headers:o}}function Wu(e,t,r){if(!t)return new r(e);const n=new r(t);if(e)for(const[o,i]of Symbol.iterator in e||Array.isArray(e)?e:new r(e))n.set(o,i);return n}async function Be(e,t){if(t)if(Array.isArray(t))for(const r of t)await r(e);else await t(e)}const Vu=new Set([408,409,425,429,500,502,503,504]),Uu=new Set([101,204,205,304]);function Yt(e={}){const{fetch:t=globalThis.fetch,Headers:r=globalThis.Headers,AbortController:n=globalThis.AbortController}=e;async function o(s){const l=s.error&&s.error.name==="AbortError"&&!s.options.timeout||!1;if(s.options.retry!==!1&&!l){let c;typeof s.options.retry=="number"?c=s.options.retry:c=Br(s.options.method)?0:1;const p=s.response&&s.response.status||500;if(c>0&&(Array.isArray(s.options.retryStatusCodes)?s.options.retryStatusCodes.includes(p):Vu.has(p))){const d=typeof s.options.retryDelay=="function"?s.options.retryDelay(s):s.options.retryDelay||0;return d>0&&await new Promise(h=>setTimeout(h,d)),i(s.request,{...s.options,retry:c-1})}}const u=Pn(s);throw Error.captureStackTrace&&Error.captureStackTrace(u,i),u}const i=async function(l,u={}){const c={request:l,options:Nu(l,u,e.defaults,r),response:void 0,error:void 0};c.options.method&&(c.options.method=c.options.method.toUpperCase()),c.options.onRequest&&await Be(c,c.options.onRequest),typeof c.request=="string"&&(c.options.baseURL&&(c.request=Cu(c.request,c.options.baseURL)),c.options.query&&(c.request=ju(c.request,c.options.query),delete c.options.query),"query"in c.options&&delete c.options.query,"params"in c.options&&delete c.options.params),c.options.body&&Br(c.options.method)&&(Fu(c.options.body)?(c.options.body=typeof c.options.body=="string"?c.options.body:JSON.stringify(c.options.body),c.options.headers=new r(c.options.headers||{}),c.options.headers.has("content-type")||c.options.headers.set("content-type","application/json"),c.options.headers.has("accept")||c.options.headers.set("accept","application/json")):("pipeTo"in c.options.body&&typeof c.options.body.pipeTo=="function"||typeof c.options.body.pipe=="function")&&("duplex"in c.options||(c.options.duplex="half")));let p;if(!c.options.signal&&c.options.timeout){const h=new n;p=setTimeout(()=>{const m=new Error("[TimeoutError]: The operation was aborted due to timeout");m.name="TimeoutError",m.code=23,h.abort(m)},c.options.timeout),c.options.signal=h.signal}try{c.response=await t(c.request,c.options)}catch(h){return c.error=h,c.options.onRequestError&&await Be(c,c.options.onRequestError),await o(c)}finally{p&&clearTimeout(p)}if((c.response.body||c.response._bodyInit)&&!Uu.has(c.response.status)&&c.options.method!=="HEAD"){const h=(c.options.parseResponse?"json":c.options.responseType)||Tu(c.response.headers.get("content-type")||"");switch(h){case"json":{const m=await c.response.text(),k=c.options.parseResponse||ou;c.response._data=k(m);break}case"stream":{c.response._data=c.response.body||c.response._bodyInit;break}default:c.response._data=await c.response[h]()}}return c.options.onResponse&&await Be(c,c.options.onResponse),!c.options.ignoreResponseError&&c.response.status>=400&&c.response.status<600?(c.options.onResponseError&&await Be(c,c.options.onResponseError),await o(c)):c.response},a=async function(l,u){return(await i(l,u))._data};return a.raw=i,a.native=(...s)=>t(...s),a.create=(s={},l={})=>Yt({...e,...l,defaults:{...e.defaults,...l.defaults,...s}}),a}const Qe=(function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")})(),On=Qe.fetch?(...e)=>Qe.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),Fn=Qe.Headers,Mn=Qe.AbortController,Ln=Yt({fetch:On,Headers:Fn,AbortController:Mn}),Iu=Ln,Bu=Object.freeze(Object.defineProperty({__proto__:null,$fetch:Iu,AbortController:Mn,FetchError:_n,Headers:Fn,createFetch:Yt,createFetchError:Pn,fetch:On,ofetch:Ln},Symbol.toStringTag,{value:"Module"}));export{Wn as _,Gu as a,Xu as b,Yu as c,Du as d,qu as e,Bu as f,Hu as i,Ku as p,io as w};
|