@unocss/runtime 66.7.0 → 66.7.2-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/attributify.global.js +15 -11
- package/core.global.js +2 -2
- package/dist/index.d.ts +115 -114
- package/dist/index.js +214 -246
- package/full.global.js +15 -11
- package/mini.global.js +15 -11
- package/package.json +6 -12
- package/preset-attributify.global.js +1 -1
- package/preset-icons.global.js +1 -28
- package/preset-mini.global.js +14 -10
- package/preset-rem-to-px.global.js +1 -1
- package/preset-tagify.global.js +1 -1
- package/preset-typography.global.js +1 -1
- package/preset-uno.global.js +14 -10
- package/preset-web-fonts.global.js +5 -7
- package/preset-wind.global.js +14 -10
- package/preset-wind3.global.js +14 -10
- package/preset-wind4.global.js +18 -14
- package/uno.global.js +15 -11
package/preset-uno.global.js
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
`),
|
|
3
|
-
`),
|
|
4
|
-
`,0),
|
|
5
|
-
`,a+1)}let
|
|
6
|
-
`)
|
|
7
|
-
`);if(
|
|
8
|
-
|
|
9
|
-
`));
|
|
10
|
-
`?i=!0:u!=="\r"&&i&&(i=!1,s===l.start||(this._splitChunk(l,s),l=l.next),l.prependRight(e))}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(e,r){return ft.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),ft.insertLeft=!0),this.appendLeft(e,r)}insertRight(e,r){return ft.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),ft.insertRight=!0),this.prependRight(e,r)}move(e,r,n){if(e=e+this.offset,r=r+this.offset,n=n+this.offset,n>=e&&n<=r)throw new Error("Cannot move a selection inside itself");this._split(e),this._split(r),this._split(n);let o=this.byStart[e],i=this.byEnd[r],a=o.previous,s=i.next,l=this.byStart[n];if(!l&&i===this.lastChunk)return this;let f=l?l.previous:this.lastChunk;return a&&(a.next=s),s&&(s.previous=a),f&&(f.next=o),l&&(l.previous=i),o.previous||(this.firstChunk=i.next),i.next||(this.lastChunk=o.previous,this.lastChunk.next=null),o.previous=f,i.next=l||null,f||(this.firstChunk=o),l||(this.lastChunk=i),this}overwrite(e,r,n,o){return o=o||{},this.update(e,r,n,{...o,overwrite:!o.contentOnly})}update(e,r,n,o){if(e=e+this.offset,r=r+this.offset,typeof n!="string")throw new TypeError("replacement content must be a string");if(this.original.length!==0){for(;e<0;)e+=this.original.length;for(;r<0;)r+=this.original.length}if(r>this.original.length)throw new Error("end is out of bounds");if(e===r)throw new Error("Cannot overwrite a zero-length range \u2013 use appendLeft or prependRight instead");this._split(e),this._split(r),o===!0&&(ft.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),ft.storeName=!0),o={storeName:!0});let i=o!==void 0?o.storeName:!1,a=o!==void 0?o.overwrite:!1;if(i){let f=this.original.slice(e,r);Object.defineProperty(this.storedNames,f,{writable:!0,value:!0,enumerable:!0})}let s=this.byStart[e],l=this.byEnd[r];if(s){let f=s;for(;f!==l;){if(f.next!==this.byStart[f.end])throw new Error("Cannot overwrite across a split point");f=f.next,f.edit("",!1)}s.edit(n,i,!a)}else{let f=new Mt(e,r,"").edit(n,i);l.next=f,f.previous=l}return this}prepend(e){if(typeof e!="string")throw new TypeError("outro content must be a string");return this.intro=e+this.intro,this}prependLeft(e,r){if(e=e+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(e);let n=this.byEnd[e];return n?n.prependLeft(r):this.intro=r+this.intro,this}prependRight(e,r){if(e=e+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(e);let n=this.byStart[e];return n?n.prependRight(r):this.outro=r+this.outro,this}remove(e,r){if(e=e+this.offset,r=r+this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;r<0;)r+=this.original.length}if(e===r)return this;if(e<0||r>this.original.length)throw new Error("Character is out of bounds");if(e>r)throw new Error("end must be greater than start");this._split(e),this._split(r);let n=this.byStart[e];for(;n;)n.intro="",n.outro="",n.edit(""),n=r>n.end?this.byStart[n.end]:null;return this}reset(e,r){if(e=e+this.offset,r=r+this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;r<0;)r+=this.original.length}if(e===r)return this;if(e<0||r>this.original.length)throw new Error("Character is out of bounds");if(e>r)throw new Error("end must be greater than start");this._split(e),this._split(r);let n=this.byStart[e];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 e=this.lastChunk;do{if(e.outro.length)return e.outro[e.outro.length-1];if(e.content.length)return e.content[e.content.length-1];if(e.intro.length)return e.intro[e.intro.length-1]}while(e=e.previous);return this.intro.length?this.intro[this.intro.length-1]:""}lastLine(){let e=this.outro.lastIndexOf(gt);if(e!==-1)return this.outro.substr(e+1);let r=this.outro,n=this.lastChunk;do{if(n.outro.length>0){if(e=n.outro.lastIndexOf(gt),e!==-1)return n.outro.substr(e+1)+r;r=n.outro+r}if(n.content.length>0){if(e=n.content.lastIndexOf(gt),e!==-1)return n.content.substr(e+1)+r;r=n.content+r}if(n.intro.length>0){if(e=n.intro.lastIndexOf(gt),e!==-1)return n.intro.substr(e+1)+r;r=n.intro+r}}while(n=n.previous);return e=this.intro.lastIndexOf(gt),e!==-1?this.intro.substr(e+1)+r:this.intro+r}slice(e=0,r=this.original.length-this.offset){if(e=e+this.offset,r=r+this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;r<0;)r+=this.original.length}let n="",o=this.firstChunk;for(;o&&(o.start>e||o.end<=e);){if(o.start<r&&o.end>=r)return n;o=o.next}if(o&&o.edited&&o.start!==e)throw new Error(`Cannot use replaced character ${e} as slice start anchor.`);let i=o;for(;o;){o.intro&&(i!==o||o.start===e)&&(n+=o.intro);let 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.`);let s=i===o?e-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(e,r){let n=this.clone();return n.remove(0,e),n.remove(r,n.original.length),n}_split(e){if(this.byStart[e]||this.byEnd[e])return;let r=this.lastSearchedChunk,n=r,o=e>r.end;for(;r;){if(r.contains(e))return this._splitChunk(r,e);if(r=o?this.byStart[r.end]:this.byEnd[r.start],r===n)return;n=r}}_splitChunk(e,r){if(e.edited&&e.content.length){let o=rn(this.original)(r);throw new Error(`Cannot split a chunk that has already been edited (${o.line}:${o.column} \u2013 "${e.original}")`)}let n=e.split(r);return this.byEnd[r]=e,this.byStart[r]=n,this.byEnd[n.end]=n,e===this.lastChunk&&(this.lastChunk=n),this.lastSearchedChunk=e,!0}toString(){let e=this.intro,r=this.firstChunk;for(;r;)e+=r.toString(),r=r.next;return e+this.outro}isEmpty(){let e=this.firstChunk;do if(e.intro.length&&e.intro.trim()||e.content.length&&e.content.trim()||e.outro.length&&e.outro.trim())return!1;while(e=e.next);return!0}length(){let e=this.firstChunk,r=0;do r+=e.intro.length+e.content.length+e.outro.length;while(e=e.next);return r}trimLines(){return this.trim("[\\r\\n]")}trim(e){return this.trimStart(e).trimEnd(e)}trimEndAborted(e){let r=new RegExp((e||"\\s")+"+$");if(this.outro=this.outro.replace(r,""),this.outro.length)return!0;let n=this.lastChunk;do{let 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(e){return this.trimEndAborted(e),this}trimStartAborted(e){let r=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(r,""),this.intro.length)return!0;let n=this.firstChunk;do{let 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(e){return this.trimStartAborted(e),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(e,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,l=[];for(;s=i.exec(a);)l.push(s);return l}if(e.global)o(e,this.original).forEach(a=>{if(a.index!=null){let s=n(a,this.original);s!==a[0]&&this.overwrite(a.index,a.index+a[0].length,s)}});else{let i=this.original.match(e);if(i&&i.index!=null){let a=n(i,this.original);a!==i[0]&&this.overwrite(i.index,i.index+i[0].length,a)}}return this}_replaceString(e,r){let{original:n}=this,o=n.indexOf(e);return o!==-1&&(typeof r=="function"&&(r=r(e,o,n)),e!==r&&this.overwrite(o,o+e.length,r)),this}replace(e,r){return typeof e=="string"?this._replaceString(e,r):this._replaceRegexp(e,r)}_replaceAllString(e,r){let{original:n}=this,o=e.length;for(let i=n.indexOf(e);i!==-1;i=n.indexOf(e,i+o)){let a=n.slice(i,i+o),s=r;typeof r=="function"&&(s=r(a,i,n)),a!==s&&this.overwrite(i,i+o,s)}return this}replaceAll(e,r){if(typeof e=="string")return this._replaceAllString(e,r);if(!e.global)throw new TypeError("MagicString.prototype.replaceAll called with a non-global RegExp argument");return this._replaceRegexp(e,r)}};function nn(t,e,r){if(t==="")return;let n=t.length,o=0,i=!1,a=0;for(let s=0;s<n;s++)switch(t[s]){case e:i||(i=!0,a=s),o++;break;case r:if(--o,o<0)return;if(o===0)return[t.slice(a,s+1),t.slice(s+1),t.slice(0,a)];break}}function Q(t,e,r,n){if(t===""||(lt(n)&&(n=[n]),n.length===0))return;let o=t.length,i=0;for(let a=0;a<o;a++)switch(t[a]){case e:i++;break;case r:if(--i<0)return;break;default:for(let s of n){let l=s.length;if(l&&s===t.slice(a,a+l)&&i===0)return a===0||a===o-l?void 0:[t.slice(0,a),t.slice(a+l)]}}return[t,""]}function ut(t,e,r,n="(",o=")"){r=r??10;let i=[],a=0;for(;t!=="";){if(++a>r)return;let s=Q(t,n,o,e);if(!s)return;let[l,f]=s;i.push(l),t=f}if(i.length>0)return i}var Ft=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"],on=["srgb","srgb-linear","display-p3","a98-rgb","prophoto-rgb","rec2020","lab","oklab","xyz","xyz-d50","xyz-d65"],an=["hsl","hwb","lch","oklch"],sn=["shorter","longer","increasing","decreasing"],fe=["%alpha","<alpha-value>"],cn=new RegExp(fe.map(t=>P(t)).join("|"),"g");function si(t){return t?on.some(e=>t.includes(e))||an.some(e=>t.includes(e))||sn.some(e=>t.includes(e)):!1}function ci(t=""){let e=ln(t);if(e!=null){let{components:r,alpha:n}=e;return n==null?r:[...r,n]}}function O(t=""){let e=li(t);if(e==null||e===!1)return;let{type:r,components:n,alpha:o}=e,i=r.toLowerCase();if(n.length!==0&&!(Ft.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 X(t){let e=t.alpha??1;return typeof e=="string"&&fe.includes(e)?1:e}function C(t,e){if(typeof t=="string")return t.replace(cn,`${e??1}`);let{components:r}=t,{alpha:n,type:o}=t;return n=e??n,o=o.toLowerCase(),["hsla","rgba"].includes(o)?`${o}(${r.join(", ")}${n==null?"":`, ${n}`})`:(n=n==null?"":` / ${n}`,Ft.includes(o)?`${o}(${r.join(" ")}${n})`:`color(${o} ${r.join(" ")}${n})`)}function li(t){if(!t)return;let e=ln(t);if(e!=null||(e=fi(t),e!=null)||(e=ui(t),e!=null)||(e=pi(t),e!=null)||(e=mi(t),e!=null))return e}function ln(t){let[,e]=t.match(/^#([\da-f]+)$/i)||[];if(e)switch(e.length){case 3:case 4:{let r=Array.from(e,n=>Number.parseInt(n,16)).map(n=>n<<4|n);return{type:"rgb",components:r.slice(0,3),alpha:e.length===3?void 0:Math.round(r[3]/255*100)/100}}case 6:case 8:{let r=Number.parseInt(e,16);return{type:"rgb",components:e.length===6?[r>>16&255,r>>8&255,r&255]:[r>>24&255,r>>16&255,r>>8&255],alpha:e.length===6?void 0:Math.round((r&255)/255*100)/100}}}}function fi(t){let e={rebeccapurple:[102,51,153,1]}[t];if(e!=null)return{type:"rgb",components:e.slice(0,3),alpha:e[3]}}function ui(t){let e=t.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!e)return;let[,r,n]=e,o=ut(n,",",5);if(o){if([3,4].includes(o.length))return{type:r,components:o.slice(0,3),alpha:o[3]};if(o.length!==1)return!1}}var di=new RegExp(`^(${Ft.join("|")})\\((.+)\\)$`,"i");function pi(t){let e=t.match(di);if(!e)return;let[,r,n]=e,o=fn(`${r} ${n}`);if(o){let{alpha:i,components:[a,...s]}=o;return{type:a,components:s,alpha:i}}}function mi(t){let e=t.match(/^color\((.+)\)$/);if(!e)return;let r=fn(e[1]);if(r){let{alpha:n,components:[o,...i]}=r;return{type:o,components:i,alpha:n}}}function fn(t){let e=ut(t," ");if(!e)return;let r=e.length;if(e[r-2]==="/")return{components:e.slice(0,r-2),alpha:e[r-1]};if(e[r-2]!=null&&(e[r-2].endsWith("/")||e[r-1].startsWith("/"))){let i=e.splice(r-2);e.push(i.join(" ")),--r}let n=ut(e[r-1],"/",2);if(!n)return;if(n.length===1||n[n.length-1]==="")return{components:e};let o=n.pop();return e[r-1]=n.join("/"),{components:e,alpha:o}}var un=/theme\(\s*(['"])?(.*?)\1?\s*\)/g;function hi(t){return t.includes("theme(")&&t.includes(")")}function gi(t,e,r=!0){let n=Array.from(t.toString().matchAll(un));if(!n.length)return t;let o=new Pt(t);for(let i of n){let a=i[2];if(!a)throw new Error("theme() expect exact one argument, but got 0");let s=dn(a,e,r);s&&o.overwrite(i.index,i.index+i[0].length,s)}return o.toString()}function dn(t,e,r=!0){let[n,o]=t.split("/"),i=n.trim().split(".").reduce((a,s)=>a?.[s],e);if(typeof i=="object"&&(i=i.DEFAULT),typeof i=="string"){if(o){let a=O(i);a&&(i=C(a,o))}return i}else if(r)throw new Error(`theme of "${t}" did not found`)}function bi(t){let e=t.match(/^-?\d+\.?\d*/)?.[0]||"",r=t.slice(e.length);if(r==="px"){let n=Number.parseFloat(e)-.1;return Number.isNaN(n)?t:`${n}${r}`}return`calc(${t} - 0.1px)`}function ue(t){let e=function(n,o){let i=this.__options?.sequence||[];this.__options.sequence=[];for(let a of i){let s=t[a](n,o);if(s!=null)return s}};function r(n,o){return n.__options||(n.__options={sequence:[]}),n.__options.sequence.push(o),n}for(let n of Object.keys(t))Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get(){return r(this,n)}});return e}var yi=/icon\(\s*(['"])?(.*?)\1?\s*\)/g;function xi(t){return t.includes("icon(")&&t.includes(")")}var bt="__pseudo_placeholder__",tt=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(${bt})`],["nth-last",`:nth-last-child(${bt})`],["nth-last-of-type",`:nth-last-of-type(${bt})`],["nth-of-type",`:nth-of-type(${bt})`],"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"],["details-content","::details-content"]].map(t=>Array.isArray(t)?t:[t,`:${t}`])),de=Object.keys(tt),et=Object.fromEntries([["backdrop","::backdrop"]].map(t=>Array.isArray(t)?t:[t,`:${t}`])),pe=Object.keys(et),pn=["not","is","where","has"],me=Object.fromEntries([["selection",["::selection"," *::selection"]],["marker",["::marker"," *::marker"]]]),Ot=Object.entries(tt).filter(([,t])=>!t.startsWith("::")).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|"),Lt=Object.entries(et).filter(([,t])=>!t.startsWith("::")).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|"),q=pn.join("|"),se=Object.keys(me).sort((t,e)=>e.length-t.length).join("|"),mn=["::-webkit-resizer","::-webkit-scrollbar","::-webkit-scrollbar-button","::-webkit-scrollbar-corner","::-webkit-scrollbar-thumb","::-webkit-scrollbar-track","::-webkit-scrollbar-track-piece","::file-selector-button"],ce=Object.entries(tt).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|"),le=Object.entries(et).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|");function hn(t,e,r,n){let{h:o,variantGetBracket:i}=n,a=new RegExp(`^(${P(e)}:)(\\S+)${P(r)}\\1`),s,l,f,u,p=d=>{let $=i(`${t}-`,d,[]);if(!$)return;let[A,_]=$,S=o.bracket(A);if(S==null)return;let w=_.split(s,1)?.[0]??"",M=`${e}${B(w)}`;return[w,d.slice(d.length-(_.length-w.length-1)),S.includes("&")?S.replace(/&/g,M):`${M}${S}`]},h=d=>{let $=d.match(l)||d.match(f);if(!$)return;let[A,_,S]=$,w=$[3]??"",M=tt[S]||et[S]||`:${S}`;return _&&(M=`:${_}(${M})`),[w,d.slice(A.length),`${e}${B(w)}${M}`,S]},g=d=>{let $=d.match(u);if(!$)return;let[A,_,S]=$,w=$[3]??"",M=`:${_}(${S})`;return[w,d.slice(A.length),`${e}${B(w)}${M}`]};return{name:`pseudo:${t}`,match(d,$){if(s&&l&&f||(s=new RegExp(`(?:${$.generator.config.separators.join("|")})`),l=new RegExp(`^${t}-(?:(?:(${q})-)?(${Ot}))(?:(/[\\w-]+))?(?:${$.generator.config.separators.join("|")})`),f=new RegExp(`^${t}-(?:(?:(${q})-)?(${Lt}))(?:(/[\\w-]+))?(?:${$.generator.config.separators.filter(ct=>ct!=="-").join("|")})`),u=new RegExp(`^${t}-(?:(${q})-)?\\[(.+)\\](?:(/[\\w-]+))?(?:${$.generator.config.separators.filter(ct=>ct!=="-").join("|")})`)),!d.startsWith(t))return;let A=p(d)||h(d)||g(d);if(!A)return;let[_,S,w,M=""]=A;return{matcher:S,handle:(ct,To)=>To({...ct,prefix:`${w}${r}${ct.prefix}`.replace(a,"$1$2:"),sort:de.indexOf(M)??pe.indexOf(M)})}},multiPass:!0}}function he(t){let{h:e}=t,r,n,o;return[{name:"pseudo",match(i,a){r&&n||(r=new RegExp(`^(${ce})(?:-(\\d+|\\[(\\w|[+-.])+\\]))?(?:${a.generator.config.separators.join("|")})`),n=new RegExp(`^(${le})(?:${a.generator.config.separators.filter(l=>l!=="-").join("|")})`));let s=i.match(r)||i.match(n);if(s){let l=tt[s[1]]||et[s[1]]||`:${s[1]}`;if(s[2]){let u;s[2].startsWith("[")&&s[2].endsWith("]")?u=e.bracket(s[2]):u=s[2],u&&(l=l.replace(bt,u))}let f=de.indexOf(s[1]);return f===-1&&(f=pe.indexOf(s[1])),f===-1&&(f=void 0),{matcher:i.slice(s[0].length),handle:(u,p)=>{let h=l.includes("::")&&!mn.includes(l)?{pseudo:`${u.pseudo}${l}`}:{selector:`${u.selector}${l}`};return p({...u,...h,sort:f,noMerge:!0})}}}},multiPass:!0,autocomplete:`(${ce}|${le}):`},{name:"pseudo:multi",match(i,a){o||(o=new RegExp(`^(${se})(?:${a.generator.config.separators.join("|")})`));let s=i.match(o);if(s)return me[s[1]].map(l=>({matcher:i.slice(s[0].length),handle:(f,u)=>u({...f,pseudo:`${f.pseudo}${l}`})}))},multiPass:!1,autocomplete:`(${se}):`}]}function ge(t){let{getBracket:e,h:r}=t,n,o,i;return{match(a,s){n&&o||(n=new RegExp(`^(${q})-(${Ot})(?:${s.generator.config.separators.join("|")})`),o=new RegExp(`^(${q})-(${Lt})(?:${s.generator.config.separators.filter(f=>f!=="-").join("|")})`),i=new RegExp(`^(${q})-(\\[.+\\])(?:${s.generator.config.separators.filter(f=>f!=="-").join("|")})`));let l=a.match(n)||a.match(o)||a.match(i);if(l){let f=l[1],u=e(l[2],"[","]")?r.bracket(l[2]):tt[l[2]]||et[l[2]]||`:${l[2]}`;return{matcher:a.slice(l[0].length),selector:p=>`${p}:${f}(${u})`}}},multiPass:!0,autocomplete:`(${q})-(${Ot}|${Lt}):`}}function be(t,e){let r=!!t?.attributifyPseudo,n=t?.prefix??"";n=B((Array.isArray(n)?n:[n]).filter(Boolean)[0]??"");let o=(i,a)=>hn(i,r?`[${n}${i}=""]`:`.${n}${i}`,a,e);return[o("group"," "),o("peer","~"),o("parent",">"),o("previous","+")]}var vi=/(part-\[(.+)\]:)(.+)/;function ye(){return{match(t){let e=t.match(vi);if(e){let r=`part(${e[2]})`;return{matcher:t.slice(e[1].length),selector:n=>`${n}::${r}`}}},multiPass:!0}}function rt(t,e,r={}){let n;return{name:t,match(o,i){n||(n=new RegExp(`^${P(t)}(?:${i.generator.config.separators.join("|")})`));let a=o.match(n);if(a){let s=o.slice(a[0].length),l=j(e).map(f=>({matcher:s,handle:(u,p)=>p({...u,...f(u)}),...r}));return l.length===1?l[0]:l}},autocomplete:`${t}:`}}function T(t,e){let r;return{name:t,match(n,o){r||(r=new RegExp(`^${P(t)}(?:${o.generator.config.separators.join("|")})`));let i=n.match(r);if(i)return{matcher:n.slice(i[0].length),handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}${e}`})}},autocomplete:`${t}:`}}function gn(t,e,r){if(e.startsWith(`${t}[`)){let[n,o]=nn(e.slice(t.length),"[","]")??[];if(n&&o){for(let i of r)if(o.startsWith(i))return[n,o.slice(i.length),i];return[n,o,""]}}}function bn(t,e,r){for(let n of j(t))if(e.startsWith(n)){let o=gn(n,e,r);if(o){let[i="",a=o[1]]=bn("/",o[1],r)??[];return[o[0],a,i]}for(let i of r.filter(a=>a!=="/")){let a=e.indexOf(i,n.length);if(a!==-1){let s=e.indexOf("/",n.length),l=s===-1||a<=s;return[e.slice(n.length,l?a:s),e.slice(a+i.length),l?"":e.slice(s+1,a)]}}}}var z={l:["-left"],r:["-right"],t:["-top"],b:["-bottom"],s:["-inline-start"],e:["-inline-end"],x:["-left","-right"],y:["-top","-bottom"],"":[""],bs:["-block-start"],be:["-block-end"],is:["-inline-start"],ie:["-inline-end"],block:["-block-start","-block-end"],inline:["-inline-start","-inline-end"]},dt={...z,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"]},pt={l:["-top-left","-bottom-left"],r:["-top-right","-bottom-right"],t:["-top-left","-top-right"],b:["-bottom-left","-bottom-right"],tl:["-top-left"],lt:["-top-left"],tr:["-top-right"],rt:["-top-right"],bl:["-bottom-left"],lb:["-bottom-left"],br:["-bottom-right"],rb:["-bottom-right"],"":[""],bs:["-start-start","-start-end"],be:["-end-start","-end-end"],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"]},Bt={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},Tt=["x","y","z"],yn=["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"],E=Object.assign({},...yn.map(t=>({[t.replace(/ /,"-")]:t})),...yn.map(t=>({[t.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:t}))),y=["inherit","initial","revert","revert-layer","unset"],nt=/^(calc|clamp|min|max)\s*\((.+)\)(.*)/,yt=/^(var)\s*\((.+)\)(.*)/,Wt=/^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i,wn=/^(-?\d*(?:\.\d+)?)$/,kn=/^(px|[sld]?v[wh])$/i,Sn={px:1,vw:100,vh:100,svw:100,svh:100,dvw:100,dvh:100,lvh:100,lvw:100},Cn=/^\[(color|image|length|size|position|quoted|string):/i,$i=/,(?![^()]*\))/g,Nt=At({auto:()=>Si,bracket:()=>Ai,bracketOfColor:()=>Ri,bracketOfLength:()=>Mi,bracketOfPosition:()=>Pi,cssvar:()=>Oi,degree:()=>Fi,fraction:()=>_i,global:()=>Bi,number:()=>zi,numberWithUnit:()=>ki,percent:()=>ji,position:()=>Wi,properties:()=>Ti,px:()=>Ei,rem:()=>Ci,time:()=>Li}),wi=["color","border-color","background-color","outline-color","text-decoration-color","flex-grow","flex","flex-shrink","grid","grid-template-columns","grid-template-rows","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 R(t){return+t.toFixed(10)}function ki(t){let e=t.match(Wt);if(!e)return;let[,r,n]=e,o=Number.parseFloat(r);if(n&&!Number.isNaN(o))return`${R(o)}${n}`}function Si(t){if(t==="auto"||t==="a")return"auto"}function Ci(t){if(!t)return;if(kn.test(t))return`${Sn[t]}${t}`;let e=t.match(Wt);if(!e)return;let[,r,n]=e,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0":n?`${R(o)}${n}`:`${R(o/4)}rem`}function Ei(t){if(kn.test(t))return`${Sn[t]}${t}`;let e=t.match(Wt);if(!e)return;let[,r,n]=e,o=Number.parseFloat(r);if(!Number.isNaN(o))return n?`${R(o)}${n}`:`${R(o)}px`}function zi(t){if(!wn.test(t))return;let e=Number.parseFloat(t);if(!Number.isNaN(e))return R(e)}function ji(t){if(t.endsWith("%")&&(t=t.slice(0,-1)),!wn.test(t))return;let e=Number.parseFloat(t);if(!Number.isNaN(e))return`${R(e/100)}`}function _i(t){if(!t)return;if(t==="full")return"100%";let[e,r]=t.split("/"),n=Number.parseFloat(e)/Number.parseFloat(r);if(!Number.isNaN(n))return n===0?"0":`${R(n*100)}%`}function It(t,e){if(t&&t.startsWith("[")&&t.endsWith("]")){let r,n,o=t.match(Cn);if(o?(e||(n=o[1]),r=t.slice(o[0].length,-1)):r=t.slice(1,-1),!r||r==='=""')return;r.startsWith("--")&&(r=`var(${r})`);let i=0;for(let 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=>{let s=[];return a.replace(/var\((--.+?)[,)]/g,(l,f)=>(s.push(f),l.replace(f,"--un-calc"))).replace(/(-?\d*\.?\d(?!-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 ").replace(/--un-calc/g,()=>s.shift())})}}function Ai(t){return It(t)}function Ri(t){return It(t,"color")}function Mi(t){return It(t,"length")}function Pi(t){return It(t,"position")}function Oi(t){if(/^\$[^\s'"`;{}]/.test(t)){let[e,r]=t.slice(1).split(",");return`var(--${B(e)}${r?`, ${r}`:""})`}}function Li(t){let e=t.match(/^(-?[0-9.]+)(s|ms)?$/i);if(!e)return;let[,r,n]=e,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0&&!n?"0s":n?`${R(o)}${n}`:`${R(o)}ms`}function Fi(t){let e=t.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);if(!e)return;let[,r,n]=e,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0deg":n?`${R(o)}${n}`:`${R(o)}deg`}function Bi(t){if(y.includes(t))return t}function Ti(t){if(t.split(",").every(e=>wi.includes(e)))return t}function Wi(t){if(["top","left","right","bottom","center"].includes(t))return t}var Ut=ue(Nt),c=Ut,$e="$$mini-no-negative";function x(t){return([e,r,n],{theme:o})=>{let i=o.spacing?.[n||"DEFAULT"]??c.bracket.cssvar.global.auto.fraction.rem(n);if(i!=null)return z[r].map(a=>[`${t}${a}`,i]);if(n?.startsWith("-")){let a=o.spacing?.[n.slice(1)];if(a!=null)return z[r].map(s=>[`${t}${s}`,`calc(${a} * -1)`])}}}function xn(t,e,r="colors"){let n=t[r];function o(i,a){if(a.length===0)return i;if(!(!i||typeof i!="object"))for(let s=a.length;s>0;s--){let l=a.slice(0,s).join("-"),f=i[l.replace(/(-[a-z])/g,u=>u.slice(1).toUpperCase())]??i[l];if(f!=null)return s===a.length?f:o(f,a.slice(s))}}return o(n,e)}function vn(t,e,r){return xn(t,e,r)||xn(t,e,"colors")}function mt(t,e){let[r,n]=Q(t,"[","]",["/",":"])??[];if(r!=null){let o=(r.match(Cn)??[])[1];if(o==null||o===e)return[r,n]}}function W(t,e,r){let n=mt(t,"color");if(!n)return;let[o,i]=n,a=o.replace(/([a-z])(\d)/g,"$1-$2").split(/-/g),[s]=a;if(!s)return;let l,f=c.bracketOfColor(o),u=f||o;if(c.numberWithUnit(u))return;if(/^#[\da-f]+$/i.test(u)?l=u:/^hex-[\da-fA-F]+$/.test(u)?l=`#${u.slice(4)}`:o.startsWith("$")&&(l=c.cssvar(o)),l=l||f,!l){let h=vn(e,[o],r);typeof h=="string"&&(l=h)}let p="DEFAULT";if(!l){let h=a,g,[d]=a.slice(-1);/^\d+$/.test(d)&&(p=g=d,h=a.slice(0,-1));let $=vn(e,h,r);typeof $=="object"?l=$[g??p]:typeof $=="string"&&!g&&(l=$)}return{opacity:i,name:s,no:p,color:l,cssColor:O(l),alpha:c.bracket.cssvar.percent(i??"")}}function k(t,e,r,n){return([,o],{theme:i,generator:a})=>{let s=W(o??"",i,r);if(!s)return;let{alpha:l,color:f,cssColor:u}=s,p=a.config.envMode==="dev"&&f?` /* ${f} */`:"",h={};if(u)if(l!=null)h[t]=C(u,l)+p;else{let g=`--un-${e}-opacity`,d=C(u,`var(${g})`);d.includes(g)&&(h[g]=X(u)),h[t]=d+p}else if(f)if(l!=null)h[t]=C(f,l)+p;else{let g=`--un-${e}-opacity`,d=C(f,`var(${g})`);d.includes(g)&&(h[g]=1),h[t]=d+p}if(n?.(h)!==!1)return h}}function H(t,e){let r=[];t=j(t);for(let n=0;n<t.length;n++){let o=ut(t[n]," ",6);if(!o||o.length<3)return t;let i=!1,a=o.indexOf("inset");a!==-1&&(o.splice(a,1),i=!0);let s="",l=o.at(-1);if(O(o.at(0))){let f=O(o.shift());f&&(s=`, ${C(f)}`)}else if(O(l)){let f=O(o.pop());f&&(s=`, ${C(f)}`)}else l&&l.startsWith("var(")&&(s=`, ${o.pop()}`);r.push(`${i?"inset ":""}${o.join(" ")} var(${e}${s})`)}return r}function K(t,e,r){return t!=null&&!!W(t,e,r)?.color}var $n=/[a-z]+/gi,ve=new WeakMap;function L({theme:t,generator:e},r="breakpoints"){let n=e?.userConfig?.theme?.[r]||t[r];if(!n)return;if(ve.has(t))return ve.get(t);let o=Object.entries(n).sort((i,a)=>Number.parseInt(i[1].replace($n,""))-Number.parseInt(a[1].replace($n,""))).map(([i,a])=>({point:i,size:a}));return ve.set(t,o),o}function we(t){return L(t,"verticalBreakpoints")}function m(t,e){return y.map(r=>[`${t}-${r}`,{[e??t]:r}])}function N(t){return t!=null&&nt.test(t)}function xt(t){return t[0]==="["&&t.slice(-1)==="]"&&(t=t.slice(1,-1)),nt.test(t)||Wt.test(t)}function ot(t,e,r){let n=e.split($i);return t||!t&&n.length===1?Bt[t].map(o=>[`--un-${r}${o}`,e]):n.map((o,i)=>[`--un-${r}-${Tt[i]}`,o])}var V=At({CONTROL_MINI_NO_NEGATIVE:()=>$e,colorResolver:()=>k,colorableShadows:()=>H,cornerMap:()=>pt,cssMathFnRE:()=>nt,cssVarFnRE:()=>yt,directionMap:()=>z,directionSize:()=>x,globalKeywords:()=>y,h:()=>c,handler:()=>Ut,hasParseableColor:()=>K,insetMap:()=>dt,isCSSMathFn:()=>N,isSize:()=>xt,makeGlobalStaticRules:()=>m,parseColor:()=>W,positionMap:()=>E,resolveBreakpoints:()=>L,resolveVerticalBreakpoints:()=>we,splitShorthand:()=>mt,transformXYZ:()=>ot,valueHandlers:()=>Nt,xyzArray:()=>Tt,xyzMap:()=>Bt});oe(V,xe);var b=At({CONTROL_MINI_NO_NEGATIVE:()=>$e,colorResolver:()=>k,colorableShadows:()=>H,cornerMap:()=>pt,cssMathFnRE:()=>nt,cssVarFnRE:()=>yt,directionMap:()=>z,directionSize:()=>x,globalKeywords:()=>y,h:()=>c,handler:()=>Ut,hasParseableColor:()=>K,insetMap:()=>dt,isCSSMathFn:()=>N,isSize:()=>xt,makeGlobalStaticRules:()=>m,parseColor:()=>W,positionMap:()=>E,resolveBreakpoints:()=>L,resolveVerticalBreakpoints:()=>we,splitShorthand:()=>mt,transformXYZ:()=>ot,valueHandlers:()=>Nt,xyzArray:()=>Tt,xyzMap:()=>Bt});oe(b,V);var Ni=/@media \(min-width: (.+)\)/,En=[[/^__container$/,(t,e)=>{let{theme:r,variantHandlers:n}=e,o=r.container?.padding,i;lt(o)?i=o:i=o?.DEFAULT;let a=r.container?.maxWidth,s;for(let f of n){let u=f.handle?.({},p=>p)?.parent;if(lt(u)){let p=u.match(Ni)?.[1];if(p){let h=(L(e)??[]).find(g=>g.size===p)?.point;a?h&&(s=a?.[h]):s=p,h&&!lt(o)&&(i=o?.[h]??i)}}}let l={"max-width":s};return n.length||(l.width="100%"),r.container?.center&&(l["margin-left"]="auto",l["margin-right"]="auto"),o&&(l["padding-left"]=i,l["padding-right"]=i),l},{internal:!0}]],ke=[[/^(?:(\w+)[:-])?container$/,([,t],e)=>{let r=(L(e)??[]).map(o=>o.point);if(t){if(!r.includes(t))return;r=r.slice(r.indexOf(t))}let n=r.map(o=>`${o}:__container`);return t||n.unshift("__container"),n}]];var zn={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(y.map(t=>[t,t]))},je=[[/^(?:vertical|align|v)-(.+)$/,([,t])=>({"vertical-align":zn[t]??c.bracket.cssvar.numberWithUnit(t)}),{autocomplete:[`(vertical|align|v)-(${Object.keys(zn).join("|")})`,"(vertical|align|v)-<percentage>"]}]],jn=["center","left","right","justify","start","end"],_e=[...jn.map(t=>[`text-${t}`,{"text-align":t}]),...[...y,...jn].map(t=>[`text-align-${t}`,{"text-align":t}])],Ae=[[/^outline-(?:width-|size-)?(.+)$/,Bn,{autocomplete:"outline-(width|size)-<num>"}],[/^outline-(?:color-)?(.+)$/,Ii,{autocomplete:"outline-$colors"}],[/^outline-offset-(.+)$/,([,t],{theme:e})=>({"outline-offset":e.lineWidth?.[t]??c.bracket.cssvar.global.px(t)}),{autocomplete:"outline-(offset)-<num>"}],["outline",{"outline-style":"solid"}],...["auto","dashed","dotted","double","hidden","solid","groove","ridge","inset","outset",...y].map(t=>[`outline-${t}`,{"outline-style":t}]),["outline-none",{outline:"2px solid transparent","outline-offset":"2px"}]];function Bn([,t],{theme:e}){return{"outline-width":e.lineWidth?.[t]??c.bracket.cssvar.global.px(t)}}function Ii(t,e){return N(c.bracket(t[1]))?Bn(t,e):k("outline-color","outline-color","borderColor")(t,e)}var Re=[["appearance-auto",{"-webkit-appearance":"auto",appearance:"auto"}],["appearance-none",{"-webkit-appearance":"none",appearance:"none"}]];function Ui(t){return c.properties.auto.global(t)??{contents:"contents",scroll:"scroll-position"}[t]}var Me=[[/^will-change-(.+)/,([,t])=>({"will-change":Ui(t)})]],at=["solid","dashed","dotted","double","hidden","none","groove","ridge","inset","outset",...y],Pe=[[/^(?:border|b)()(?:-(.+))?$/,F,{autocomplete:"(border|b)-<directions>"}],[/^(?:border|b)-([xy])(?:-(.+))?$/,F],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,F],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,F],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,F],[/^(?:border|b)-()(?:width|size)-(.+)$/,F,{autocomplete:["(border|b)-<num>","(border|b)-<directions>-<num>"]}],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,F],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,F],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,F],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,F],[/^(?:border|b)-()(?:color-)?(.+)$/,vt,{autocomplete:["(border|b)-$colors","(border|b)-<directions>-$colors"]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,vt],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,vt],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,vt],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,vt],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,$t,{autocomplete:"(border|b)-(op|opacity)-<percent>"}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,$t],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,$t],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,$t],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,$t],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,wt,{autocomplete:["(border|b)-(rounded|rd)","(border|b)-(rounded|rd)-$borderRadius","(rounded|rd)","(rounded|rd)-$borderRadius"]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltbse])(?:-(.+))?$/,wt],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,wt],[/^(?:border-|b-)?(?:rounded|rd)-([bise][se])(?:-(.+))?$/,wt],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,wt],[/^(?:border|b)-(?:style-)?()(.+)$/,kt,{autocomplete:["(border|b)-style",`(border|b)-(${at.join("|")})`,"(border|b)-<directions>-style",`(border|b)-<directions>-(${at.join("|")})`,`(border|b)-<directions>-style-(${at.join("|")})`,`(border|b)-style-(${at.join("|")})`]}],[/^(?:border|b)-([xy])-(?:style-)?(.+)$/,kt],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,kt],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,kt],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,kt]];function _n(t,e,r){if(e!=null)return{[`border${r}-color`]:C(t,e)};if(r===""){let n={},o="--un-border-opacity",i=C(t,`var(${o})`);return i.includes(o)&&(n[o]=typeof t=="string"?1:X(t)),n["border-color"]=i,n}else{let n={},o="--un-border-opacity",i=`--un-border${r}-opacity`,a=C(t,`var(${i})`);return a.includes(i)&&(n[o]=typeof t=="string"?1:X(t),n[i]=`var(${o})`),n[`border${r}-color`]=a,n}}function Di(t){return([,e],r)=>{let n=W(e,r,"borderColor");if(!n)return;let{alpha:o,color:i,cssColor:a}=n;if(a)return _n(a,o,t);if(i)return _n(i,o,t)}}function F([,t="",e],{theme:r}){let n=r.lineWidth?.[e||"DEFAULT"]??c.bracket.cssvar.global.px(e||"1");if(t in z&&n!=null)return z[t].map(o=>[`border${o}-width`,n])}function vt([,t="",e],r){if(t in z){if(N(c.bracket(e)))return F(["",t,e],r);if(K(e,r.theme,"borderColor"))return Object.assign({},...z[t].map(n=>Di(n)(["",e],r.theme)))}}function $t([,t="",e]){let r=c.bracket.percent.cssvar(e);if(t in z&&r!=null)return z[t].map(n=>[`--un-border${n}-opacity`,r])}function wt([,t="",e],{theme:r}){let n=r.borderRadius?.[e||"DEFAULT"]||c.bracket.cssvar.global.fraction.rem(e||"1");if(t in pt&&n!=null)return pt[t].map(o=>[`border${o}-radius`,n])}function kt([,t="",e]){if(at.includes(e)&&t in z)return z[t].map(r=>[`border${r}-style`,e])}var Oe=[[/^op(?:acity)?-?(.+)$/,([,t])=>({opacity:c.bracket.percent.cssvar(t)})]],Vi=/^\[url\(.+\)\]$/,Gi=/^\[(?:length|size):.+\]$/,Yi=/^\[position:.+\]$/,qi=/^\[(?:linear|conic|radial)-gradient\(.+\)\]$/,Xi=/^\[image:.+\]$/,Le=[[/^bg-(.+)$/,(...t)=>{let e=t[0][1];if(Vi.test(e))return{"--un-url":c.bracket(e),"background-image":"var(--un-url)"};if(Gi.test(e)&&c.bracketOfLength(e)!=null)return{"background-size":c.bracketOfLength(e).split(" ").map(r=>c.fraction.auto.px.cssvar(r)??r).join(" ")};if((xt(e)||Yi.test(e))&&c.bracketOfPosition(e)!=null)return{"background-position":c.bracketOfPosition(e).split(" ").map(r=>c.position.fraction.auto.px.cssvar(r)??r).join(" ")};if(qi.test(e)||Xi.test(e)){let r=c.bracket(e);if(r)return{"background-image":(r.startsWith("http")?`url(${r})`:c.cssvar(r))??r}}return k("background-color","bg","backgroundColor")(...t)},{autocomplete:"bg-$colors"}],[/^bg-op(?:acity)?-?(.+)$/,([,t])=>({"--un-bg-opacity":c.bracket.percent.cssvar(t)}),{autocomplete:"bg-(op|opacity)-<percent>"}]],Fe=[[/^color-scheme-(\w+)$/,([,t])=>({"color-scheme":t})]],Be=[[/^@container(?:\/(\w+))?(?:-(normal|inline-size|size))?$/,([,t,e])=>({"container-type":e??"inline-size","container-name":t})]],An=["solid","double","dotted","dashed","wavy",...y],Te=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,t])=>({"text-decoration-line":t}),{autocomplete:"decoration-(underline|overline|line-through)"}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,Tn,{autocomplete:"(underline|decoration)-<num>"}],[/^(?:underline|decoration)-(auto|from-font)$/,([,t])=>({"text-decoration-thickness":t}),{autocomplete:"(underline|decoration)-(auto|from-font)"}],[/^(?:underline|decoration)-(.+)$/,Hi,{autocomplete:"(underline|decoration)-$colors"}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,t])=>({"--un-line-opacity":c.bracket.percent.cssvar(t)}),{autocomplete:"(underline|decoration)-(op|opacity)-<percent>"}],[/^(?:underline|decoration)-offset-(.+)$/,([,t],{theme:e})=>({"text-underline-offset":e.lineWidth?.[t]??c.auto.bracket.cssvar.global.px(t)}),{autocomplete:"(underline|decoration)-(offset)-<num>"}],...An.map(t=>[`underline-${t}`,{"text-decoration-style":t}]),...An.map(t=>[`decoration-${t}`,{"text-decoration-style":t}]),["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];function Tn([,t],{theme:e}){return{"text-decoration-thickness":e.lineWidth?.[t]??c.bracket.cssvar.global.px(t)}}function Hi(t,e){if(N(c.bracket(t[1])))return Tn(t,e);let r=k("text-decoration-color","line","borderColor")(t,e);if(r)return{"-webkit-text-decoration-color":r["text-decoration-color"],...r}}var We=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],[/^flex-(.*)$/,([,t])=>({flex:c.bracket(t)!=null?c.bracket(t).split(" ").map(e=>c.cssvar.fraction(e)??e).join(" "):c.cssvar.fraction(t)})],["flex-1",{flex:"1 1 0%"}],["flex-auto",{flex:"1 1 auto"}],["flex-initial",{flex:"0 1 auto"}],["flex-none",{flex:"none"}],[/^(?:flex-)?shrink(?:-(.*))?$/,([,t=""])=>({"flex-shrink":c.bracket.cssvar.number(t)??1}),{autocomplete:["flex-shrink-<num>","shrink-<num>"]}],[/^(?:flex-)?grow(?:-(.*))?$/,([,t=""])=>({"flex-grow":c.bracket.cssvar.number(t)??1}),{autocomplete:["flex-grow-<num>","grow-<num>"]}],[/^(?:flex-)?basis-(.+)$/,([,t],{theme:e})=>({"flex-basis":e.spacing?.[t]??c.bracket.cssvar.auto.fraction.rem(t)}),{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"}]],Ki={"":"",x:"column-",y:"row-",col:"column-",row:"row-"};function Se([,t="",e],{theme:r}){let n=r.spacing?.[e]??c.bracket.cssvar.global.rem(e);if(n!=null)return{[`${Ki[t]}gap`]:n}}var Ne=[[/^(?:flex-|grid-)?gap-?()(.+)$/,Se,{autocomplete:["gap-$spacing","gap-<num>"]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,Se,{autocomplete:["gap-(x|y)-$spacing","gap-(x|y)-<num>"]}],[/^(?:flex-|grid-)?gap-(col|row)-?(.+)$/,Se,{autocomplete:["gap-(col|row)-$spacing","gap-(col|row)-<num>"]}]];function I(t){return t.replace("col","column")}function Ce(t){return t[0]==="r"?"Row":"Column"}function Zi(t,e,r){let n=e[`gridAuto${Ce(t)}`]?.[r];if(n!=null)return n;switch(r){case"min":return"min-content";case"max":return"max-content";case"fr":return"minmax(0,1fr)"}return c.bracket.cssvar.auto.rem(r)}var Ie=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,t,e],{theme:r})=>({[`grid-${I(t)}`]:r[`grid${Ce(t)}`]?.[e]??c.bracket.cssvar.auto(e)})],[/^(?:grid-)?(row|col)-span-(.+)$/,([,t,e])=>{if(e==="full")return{[`grid-${I(t)}`]:"1/-1"};let r=c.bracket.number(e);if(r!=null)return{[`grid-${I(t)}`]:`span ${r}/span ${r}`}},{autocomplete:"(grid-row|grid-col|row|col)-span-<num>"}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,t,e])=>({[`grid-${I(t)}-start`]:c.bracket.cssvar(e)??e})],[/^(?:grid-)?(row|col)-end-(.+)$/,([,t,e])=>({[`grid-${I(t)}-end`]:c.bracket.cssvar(e)??e}),{autocomplete:"(grid-row|grid-col|row|col)-(start|end)-<num>"}],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,t,e],{theme:r})=>({[`grid-auto-${I(t)}`]:Zi(t,r,e)}),{autocomplete:"(grid-auto|auto)-(rows|cols)-<num>"}],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,t])=>({"grid-auto-flow":c.bracket.cssvar(t)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)$/,([,t])=>({"grid-auto-flow":I(t).replace("-"," ")}),{autocomplete:["(grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)"]}],[/^(?:grid-)?(rows|cols)-(.+)$/,([,t,e],{theme:r})=>({[`grid-template-${I(t)}`]:r[`gridTemplate${Ce(t)}`]?.[e]??c.bracket.cssvar(e)})],[/^(?:grid-)?(rows|cols)-minmax-([\w.-]+)$/,([,t,e])=>({[`grid-template-${I(t)}`]:`repeat(auto-fill,minmax(${e},1fr))`})],[/^(?:grid-)?(rows|cols)-(\d+)$/,([,t,e])=>({[`grid-template-${I(t)}`]:`repeat(${e},minmax(0,1fr))`}),{autocomplete:"(grid-rows|grid-cols|rows|cols)-<num>"}],[/^grid-area(s)?-(.+)$/,([,t,e])=>t!=null?{"grid-template-areas":c.cssvar(e)??e.split("-").map(r=>`"${c.bracket(r)}"`).join(" ")}:{"grid-area":c.bracket.cssvar(e)}],["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"}]],Dt=["auto","hidden","clip","visible","scroll","overlay",...y],Ue=[[/^(?:overflow|of)-(.+)$/,([,t])=>Dt.includes(t)?{overflow:t}:void 0,{autocomplete:[`(overflow|of)-(${Dt.join("|")})`,`(overflow|of)-(x|y)-(${Dt.join("|")})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,t,e])=>Dt.includes(e)?{[`overflow-${t}`]:e}:void 0]],De=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,t])=>({position:t}),{autocomplete:["(position|pos)-<position>","(position|pos)-<globalKeyword>","<position>"]}],[/^(?:position-|pos-)([-\w]+)$/,([,t])=>y.includes(t)?{position:t}:void 0],[/^(?:position-|pos-)?(static)$/,([,t])=>({position:t})]],Yt=[["justify-start",{"justify-content":"flex-start"}],["justify-end",{"justify-content":"flex-end"}],["justify-center",{"justify-content":"center"}],["justify-between",{"justify-content":"space-between"}],["justify-around",{"justify-content":"space-around"}],["justify-evenly",{"justify-content":"space-evenly"}],["justify-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"}],...m("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"}],...m("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"}],...m("justify-self")],Ve=[[/^order-(.+)$/,([,t])=>({order:c.bracket.cssvar.number(t)})],["order-first",{order:"-9999"}],["order-last",{order:"9999"}],["order-none",{order:"0"}]],qt=[["content-center",{"align-content":"center"}],["content-start",{"align-content":"flex-start"}],["content-end",{"align-content":"flex-end"}],["content-between",{"align-content":"space-between"}],["content-around",{"align-content":"space-around"}],["content-evenly",{"align-content":"space-evenly"}],["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"}],...m("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"}],...m("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"}],...m("self","align-self")],Xt=[["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"}],...m("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"}],...m("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"}],...m("place-self")],Ge=[...Yt,...qt,...Xt].flatMap(([t,e])=>[[`flex-${t}`,e],[`grid-${t}`,e]]);function Ee(t,{theme:e}){return e.spacing?.[t]??c.bracket.cssvar.global.auto.fraction.rem(t)}function St([,t,e],r){let n=Ee(e,r);if(n!=null&&t in dt)return dt[t].map(o=>[o.slice(1),n])}var Ye=[[/^(?:position-|pos-)?inset-(.+)$/,([,t],e)=>({inset:Ee(t,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)-(.+)$/,St],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,St],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,St],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,St],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,St],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,t,e],r)=>({[t]:Ee(e,r)})]],qe=[["float-left",{float:"left"}],["float-right",{float:"right"}],["float-start",{float:"inline-start"}],["float-end",{float:"inline-end"}],["float-none",{float:"none"}],...m("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"}],...m("clear")],Xe=[[/^(?:position-|pos-)?z([\d.]+)$/,([,t])=>({"z-index":c.number(t)})],[/^(?:position-|pos-)?z-(.+)$/,([,t],{theme:e})=>({"z-index":e.zIndex?.[t]??c.bracket.cssvar.global.auto.number(t)}),{autocomplete:"z-<num>"}]],He=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}],...m("box","box-sizing")],Ke=[[/^(where|\?)$/,(t,{constructCSS:e,generator:r})=>{if(r.userConfig.envMode==="dev")return`@keyframes __un_qm{0%{box-shadow:inset 4px 4px #ff1e90, inset -4px -4px #ff1e90}100%{box-shadow:inset 8px 8px #3399ff, inset -8px -8px #3399ff}} ${e({animation:"__un_qm 0.5s ease-in-out alternate infinite"})}`}]],Ji=["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"],Qi=["none","strict","content","size","inline-size","layout","style","paint"],v=" ",Ze=[["inline",{display:"inline"}],["block",{display:"block"}],["inline-block",{display:"inline-block"}],["contents",{display:"contents"}],["flow-root",{display:"flow-root"}],["list-item",{display:"list-item"}],["hidden",{display:"none"}],[/^display-(.+)$/,([,t])=>({display:c.bracket.cssvar.global(t)})]],Je=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}],...m("backface","backface-visibility")],Qe=[[/^cursor-(.+)$/,([,t])=>({cursor:c.bracket.cssvar.global(t)})],...Ji.map(t=>[`cursor-${t}`,{cursor:t}])],tr=[[/^contain-(.*)$/,([,t])=>c.bracket(t)!=null?{contain:c.bracket(t).split(" ").map(e=>c.cssvar.fraction(e)??e).join(" ")}:Qi.includes(t)?{contain:t}:void 0]],er=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}],...m("pointer-events")],rr=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}],...m("resize")],nr=[["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"}],...m("select","user-select")],or=[[/^(?:whitespace-|ws-)([-\w]+)$/,([,t])=>["normal","nowrap","pre","pre-line","pre-wrap","break-spaces",...y].includes(t)?{"white-space":t}:void 0,{autocomplete:"(whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)"}]],ir=[[/^intrinsic(?:-(block|inline|w|h))?(?:-size)?-(.+)$/,([,t,e])=>({[`contain-intrinsic-${{block:"block-size",inline:"inline-size",w:"width",h:"height"}[t]??"size"}`]:c.bracket.cssvar.global.fraction.rem(e)}),{autocomplete:["intrinsic-size-<num>","intrinsic-<num>","intrinsic-(block|inline|w|h)-<num>"]}],["content-visibility-visible",{"content-visibility":"visible"}],["content-visibility-hidden",{"content-visibility":"hidden"}],["content-visibility-auto",{"content-visibility":"auto"}],...m("content-visibility")],ar=[[/^content-(.+)$/,([,t])=>({content:c.bracket.cssvar(t)})],["content-empty",{content:'""'}],["content-none",{content:"none"}]],sr=[["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"}]],cr=[["text-wrap",{"text-wrap":"wrap"}],["text-nowrap",{"text-wrap":"nowrap"}],["text-balance",{"text-wrap":"balance"}],["text-pretty",{"text-wrap":"pretty"}]],lr=[["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"}]],fr=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}],...m("case","text-transform")],ur=[["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"}]],dr=[["antialiased",{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"}],["subpixel-antialiased",{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"}]],pr=[["field-sizing-fixed",{"field-sizing":"fixed"}],["field-sizing-content",{"field-sizing":"content"}]],Ct={"--un-ring-inset":" ","--un-ring-offset-width":"0px","--un-ring-offset-color":"#fff","--un-ring-width":"0px","--un-ring-color":"rgb(147 197 253 / 0.5)","--un-shadow":"0 0 rgb(0 0 0 / 0)"},mr=[[/^ring(?:-(.+))?$/,([,t],{theme:e})=>{let r=e.ringWidth?.[t||"DEFAULT"]??c.px(t||"1");if(r)return{"--un-ring-width":r,"--un-ring-offset-shadow":"var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color)","--un-ring-shadow":"var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color)","box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"}},{custom:{preflightKeys:Object.keys(Ct)},autocomplete:"ring-$ringWidth"}],[/^ring-(?:width-|size-)(.+)$/,Wn,{autocomplete:"ring-(width|size)-$lineWidth"}],["ring-offset",{"--un-ring-offset-width":"1px"}],[/^ring-offset-(?:width-|size-)?(.+)$/,([,t],{theme:e})=>({"--un-ring-offset-width":e.lineWidth?.[t]??c.bracket.cssvar.px(t)}),{autocomplete:"ring-offset-(width|size)-$lineWidth"}],[/^ring-(.+)$/,ta,{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,t])=>({"--un-ring-opacity":c.bracket.percent.cssvar(t)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^ring-offset-(.+)$/,k("--un-ring-offset-color","ring-offset","borderColor"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,t])=>({"--un-ring-offset-opacity":c.bracket.percent.cssvar(t)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]];function Wn([,t],{theme:e}){return{"--un-ring-width":e.ringWidth?.[t]??c.bracket.cssvar.px(t)}}function ta(t,e){return N(c.bracket(t[1]))?Wn(t,e):k("--un-ring-color","ring","borderColor")(t,e)}var Et={"--un-ring-offset-shadow":"0 0 rgb(0 0 0 / 0)","--un-ring-shadow":"0 0 rgb(0 0 0 / 0)","--un-shadow-inset":" ","--un-shadow":"0 0 rgb(0 0 0 / 0)"},hr=[[/^shadow(?:-(.+))?$/,(t,e)=>{let[,r]=t,{theme:n}=e,o=n.boxShadow?.[r||"DEFAULT"],i=r?c.bracket.cssvar(r):void 0;return(o!=null||i!=null)&&!K(i,n,"shadowColor")?{"--un-shadow":H(o||i,"--un-shadow-color").join(","),"box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"}:k("--un-shadow-color","shadow","shadowColor")(t,e)},{custom:{preflightKeys:Object.keys(Et)},autocomplete:["shadow-$colors","shadow-$boxShadow"]}],[/^shadow-op(?:acity)?-?(.+)$/,([,t])=>({"--un-shadow-opacity":c.bracket.percent.cssvar(t)}),{autocomplete:"shadow-(op|opacity)-<percent>"}],["shadow-inset",{"--un-shadow-inset":"inset"}]],ea={h:"height",w:"width",inline:"inline-size",block:"block-size"};function it(t,e){return`${t||""}${ea[e]}`}function Vt(t,e,r,n){let o=r[it(t,e).replace(/-(\w)/g,(i,a)=>a.toUpperCase())]?.[n];if(o!=null)return o;switch(n){case"fit":case"max":case"min":return`${n}-content`;case"stretch":return"stretch"}return c.bracket.cssvar.global.auto.fraction.rem(n)}var gr=[[/^size-(min-|max-)?(.+)$/,([,t,e],{theme:r})=>({[it(t,"w")]:Vt(t,"w",r,e),[it(t,"h")]:Vt(t,"h",r,e)})],[/^(?:size-)?(min-|max-)?([wh])-?(.+)$/,([,t,e,r],{theme:n})=>({[it(t,e)]:Vt(t,e,n,r)})],[/^(?:size-)?(min-|max-)?(block|inline)-(.+)$/,([,t,e,r],{theme:n})=>({[it(t,e)]:Vt(t,e,n,r)}),{autocomplete:["(w|h)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(max|min)-(w|h|block|inline)","(max|min)-(w|h|block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(w|h)-full","(max|min)-(w|h)-full"]}],[/^(?:size-)?(min-|max-)?(h)-screen-(.+)$/,([,t,e,r],n)=>({[it(t,e)]:Rn(n,r,"verticalBreakpoints")})],[/^(?:size-)?(min-|max-)?(w)-screen-(.+)$/,([,t,e,r],n)=>({[it(t,e)]:Rn(n,r)}),{autocomplete:["(w|h)-screen","(min|max)-(w|h)-screen","h-screen-$verticalBreakpoints","(min|max)-h-screen-$verticalBreakpoints","w-screen-$breakpoints","(min|max)-w-screen-$breakpoints"]}]];function Rn(t,e,r="breakpoints"){let n=L(t,r);if(n)return n.find(o=>o.point===e)?.size}function ra(t){if(/^\d+\/\d+$/.test(t))return t;switch(t){case"square":return"1/1";case"video":return"16/9"}return c.bracket.cssvar.global.auto.number(t)}var br=[[/^(?:size-)?aspect-(?:ratio-)?(.+)$/,([,t])=>({"aspect-ratio":ra(t)}),{autocomplete:["aspect-(square|video|ratio)","aspect-ratio-(square|video)"]}]],yr=[[/^pa?()-?(.+)$/,x("padding"),{autocomplete:["(m|p)<num>","(m|p)-<num>"]}],[/^p-?xy()()$/,x("padding"),{autocomplete:"(m|p)-(xy)"}],[/^p-?([xy])(?:-?(.+))?$/,x("padding")],[/^p-?([rltbse])(?:-?(.+))?$/,x("padding"),{autocomplete:"(m|p)<directions>-<num>"}],[/^p-(block|inline)(?:-(.+))?$/,x("padding"),{autocomplete:"(m|p)-(block|inline)-<num>"}],[/^p-?([bi][se])(?:-?(.+))?$/,x("padding"),{autocomplete:"(m|p)-(bs|be|is|ie)-<num>"}]],xr=[[/^ma?()-?(.+)$/,x("margin")],[/^m-?xy()()$/,x("margin")],[/^m-?([xy])(?:-?(.+))?$/,x("margin")],[/^m-?([rltbse])(?:-?(.+))?$/,x("margin")],[/^m-(block|inline)(?:-(.+))?$/,x("margin")],[/^m-?([bi][se])(?:-?(.+))?$/,x("margin")]],vr=[[/^fill-(.+)$/,k("fill","fill","backgroundColor"),{autocomplete:"fill-$colors"}],[/^fill-op(?:acity)?-?(.+)$/,([,t])=>({"--un-fill-opacity":c.bracket.percent.cssvar(t)}),{autocomplete:"fill-(op|opacity)-<percent>"}],["fill-none",{fill:"none"}],[/^stroke-(?:width-|size-)?(.+)$/,Nn,{autocomplete:["stroke-width-$lineWidth","stroke-size-$lineWidth"]}],[/^stroke-dash-(.+)$/,([,t])=>({"stroke-dasharray":c.bracket.cssvar.number(t)}),{autocomplete:"stroke-dash-<num>"}],[/^stroke-offset-(.+)$/,([,t],{theme:e})=>({"stroke-dashoffset":e.lineWidth?.[t]??c.bracket.cssvar.px.numberWithUnit(t)}),{autocomplete:"stroke-offset-$lineWidth"}],[/^stroke-(.+)$/,na,{autocomplete:"stroke-$colors"}],[/^stroke-op(?:acity)?-?(.+)$/,([,t])=>({"--un-stroke-opacity":c.bracket.percent.cssvar(t)}),{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 Nn([,t],{theme:e}){return{"stroke-width":e.lineWidth?.[t]??c.bracket.cssvar.fraction.px.number(t)}}function na(t,e){return N(c.bracket(t[1]))?Nn(t,e):k("stroke","stroke","borderColor")(t,e)}var Gt=["translate","rotate","scale"],oa=["translateX(var(--un-translate-x))","translateY(var(--un-translate-y))","rotate(var(--un-rotate))","rotateZ(var(--un-rotate-z))","skewX(var(--un-skew-x))","skewY(var(--un-skew-y))","scaleX(var(--un-scale-x))","scaleY(var(--un-scale-y))"].join(" "),st=["translateX(var(--un-translate-x))","translateY(var(--un-translate-y))","translateZ(var(--un-translate-z))","rotate(var(--un-rotate))","rotateX(var(--un-rotate-x))","rotateY(var(--un-rotate-y))","rotateZ(var(--un-rotate-z))","skewX(var(--un-skew-x))","skewY(var(--un-skew-y))","scaleX(var(--un-scale-x))","scaleY(var(--un-scale-y))","scaleZ(var(--un-scale-z))"].join(" "),ia=["translate3d(var(--un-translate-x), var(--un-translate-y), var(--un-translate-z))","rotate(var(--un-rotate))","rotateX(var(--un-rotate-x))","rotateY(var(--un-rotate-y))","rotateZ(var(--un-rotate-z))","skewX(var(--un-skew-x))","skewY(var(--un-skew-y))","scaleX(var(--un-scale-x))","scaleY(var(--un-scale-y))","scaleZ(var(--un-scale-z))"].join(" "),zt={"--un-rotate":0,"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-scale-x":1,"--un-scale-y":1,"--un-scale-z":1,"--un-skew-x":0,"--un-skew-y":0,"--un-translate-x":0,"--un-translate-y":0,"--un-translate-z":0},U=Object.keys(zt),$r=[[/^(?:transform-)?origin-(.+)$/,([,t])=>({"transform-origin":E[t]??c.bracket.cssvar(t)}),{autocomplete:[`transform-origin-(${Object.keys(E).join("|")})`,`origin-(${Object.keys(E).join("|")})`]}],[/^(transform-)?perspect(?:ive)?-(.+)$/,([,t,e])=>{let r=c.bracket.cssvar.px.numberWithUnit(e);if(r!=null)return t?{"--un-perspective":`perspective(${r})`,transform:`var(--un-perspective) ${st}`}:{"-webkit-perspective":r,perspective:r}}],[/^perspect(?:ive)?-origin-(.+)$/,([,t])=>{let e=c.bracket.cssvar(t)??(t.length>=3?E[t]:void 0);if(e!=null)return{"-webkit-perspective-origin":e,"perspective-origin":e}}],[/^(?:transform-)?translate-()(.+)$/,Mn,{custom:{preflightKeys:U}}],[/^(?:transform-)?translate-([xyz])-(.+)$/,Mn,{custom:{preflightKeys:U}}],[/^(?:transform-)?rotate-()(.+)$/,On,{custom:{preflightKeys:U}}],[/^(?:transform-)?rotate-([xyz])-(.+)$/,On,{custom:{preflightKeys:U}}],[/^(?:transform-)?skew-()(.+)$/,Ln,{custom:{preflightKeys:U}}],[/^(?:transform-)?skew-([xy])-(.+)$/,Ln,{custom:{preflightKeys:U},autocomplete:["transform-skew-(x|y)-<percent>","skew-(x|y)-<percent>"]}],[/^(?:transform-)?scale-()(.+)$/,Pn,{custom:{preflightKeys:U}}],[/^(?:transform-)?scale-([xyz])-(.+)$/,Pn,{custom:{preflightKeys:U},autocomplete:[`transform-(${Gt.join("|")})-<percent>`,`transform-(${Gt.join("|")})-(x|y|z)-<percent>`,`(${Gt.join("|")})-<percent>`,`(${Gt.join("|")})-(x|y|z)-<percent>`]}],[/^(?:transform-)?preserve-3d$/,()=>({"transform-style":"preserve-3d"})],[/^(?:transform-)?preserve-flat$/,()=>({"transform-style":"flat"})],["transform",{transform:st},{custom:{preflightKeys:U}}],["transform-cpu",{transform:oa},{custom:{preflightKeys:["--un-translate-x","--un-translate-y","--un-rotate","--un-rotate-z","--un-skew-x","--un-skew-y","--un-scale-x","--un-scale-y"]}}],["transform-gpu",{transform:ia},{custom:{preflightKeys:U}}],["transform-none",{transform:"none"}],...m("transform")];function Mn([,t,e],{theme:r}){let n=r.spacing?.[e]??c.bracket.cssvar.fraction.rem(e);if(n!=null)return[...ot(t,n,"translate"),["transform",st]]}function Pn([,t,e]){let r=c.bracket.cssvar.fraction.percent(e);if(r!=null)return[...ot(t,r,"scale"),["transform",st]]}function On([,t="",e]){let r=c.bracket.cssvar.degree(e);if(r!=null)return t?{"--un-rotate":0,[`--un-rotate-${t}`]:r,transform:st}:{"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-rotate":r,transform:st}}function Ln([,t,e]){let r=c.bracket.cssvar.degree(e);if(r!=null)return[...ot(t,r,"skew"),["transform",st]]}function Fn(t,e){let r;if(c.cssvar(t)!=null)r=c.cssvar(t);else{t.startsWith("[")&&t.endsWith("]")&&(t=t.slice(1,-1));let n=t.split(",").map(o=>e.transitionProperty?.[o]??c.properties(o));n.every(Boolean)&&(r=n.join(","))}return r}var wr=[[/^transition(?:-(\D+?))?(?:-(\d+))?$/,([,t,e],{theme:r})=>{if(!t&&!e)return{"transition-property":r.transitionProperty?.DEFAULT,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":r.duration?.DEFAULT??c.time("150")};if(t!=null){let n=Fn(t,r),o=r.duration?.[e||"DEFAULT"]??c.time(e||"150");if(n)return{"transition-property":n,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":o}}else if(e!=null)return{"transition-property":r.transitionProperty?.DEFAULT,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":r.duration?.[e]??c.time(e)}},{autocomplete:"transition-$transitionProperty-$duration"}],[/^(?:transition-)?duration-(.+)$/,([,t],{theme:e})=>({"transition-duration":e.duration?.[t||"DEFAULT"]??c.bracket.cssvar.time(t)}),{autocomplete:["transition-duration-$duration","duration-$duration"]}],[/^(?:transition-)?delay-(.+)$/,([,t],{theme:e})=>({"transition-delay":e.duration?.[t||"DEFAULT"]??c.bracket.cssvar.time(t)}),{autocomplete:["transition-delay-$duration","delay-$duration"]}],[/^(?:transition-)?ease(?:-(.+))?$/,([,t],{theme:e})=>({"transition-timing-function":e.easing?.[t||"DEFAULT"]??c.bracket.cssvar(t)}),{autocomplete:["transition-ease-(linear|in|out|in-out|DEFAULT)","ease-(linear|in|out|in-out|DEFAULT)"]}],[/^(?:transition-)?property-(.+)$/,([,t],{theme:e})=>{let r=c.global(t)||Fn(t,e);if(r)return{"transition-property":r}},{autocomplete:[`transition-property-(${[...y].join("|")})`,"transition-property-$transitionProperty","property-$transitionProperty"]}],["transition-none",{transition:"none"}],...m("transition"),["transition-discrete",{"transition-behavior":"allow-discrete"}],["transition-normal",{"transition-behavior":"normal"}]],kr=[[/^text-(.+)$/,sa,{autocomplete:"text-$fontSize"}],[/^(?:text|font)-size-(.+)$/,In,{autocomplete:"text-size-$fontSize"}],[/^text-(?:color-)?(.+)$/,aa,{autocomplete:"text-$colors"}],[/^(?:color|c)-(.+)$/,k("color","text","textColor"),{autocomplete:"(color|c)-$colors"}],[/^(?:text|color|c)-(.+)$/,([,t])=>y.includes(t)?{color:t}:void 0,{autocomplete:`(text|color|c)-(${y.join("|")})`}],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,t])=>({"--un-text-opacity":c.bracket.percent.cssvar(t)}),{autocomplete:"(text|color|c)-(op|opacity)-<percent>"}],[/^(?:font|fw)-?([^-]+)$/,([,t],{theme:e})=>({"font-weight":e.fontWeight?.[t]||c.bracket.global.number(t)}),{autocomplete:["(font|fw)-(100|200|300|400|500|600|700|800|900)","(font|fw)-$fontWeight"]}],[/^(?:font-)?(?:leading|lh|line-height)-(.+)$/,([,t],{theme:e})=>({"line-height":ze(t,e,"lineHeight")}),{autocomplete:"(leading|lh|line-height)-$lineHeight"}],["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-(.+)$/,([,t])=>({"font-synthesis":c.bracket.cssvar.global(t)})],[/^(?:font-)?tracking-(.+)$/,([,t],{theme:e})=>({"letter-spacing":e.letterSpacing?.[t]||c.bracket.cssvar.global.rem(t)}),{autocomplete:"tracking-$letterSpacing"}],[/^(?:font-)?word-spacing-(.+)$/,([,t],{theme:e})=>({"word-spacing":e.wordSpacing?.[t]||c.bracket.cssvar.global.rem(t)}),{autocomplete:"word-spacing-$wordSpacing"}],["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-(.+)$/,([,t])=>({"font-stretch":c.bracket.cssvar.fraction.global(t)}),{autocomplete:"font-stretch-<percentage>"}],[/^font-(.+)$/,([,t],{theme:e})=>({"font-family":e.fontFamily?.[t]||c.bracket.cssvar.global(t)}),{autocomplete:"font-$fontFamily"}]],Sr=[[/^tab(?:-(.+))?$/,([,t])=>{let e=c.bracket.cssvar.global.number(t||"4");if(e!=null)return{"-moz-tab-size":e,"-o-tab-size":e,"tab-size":e}}]],Cr=[[/^indent(?:-(.+))?$/,([,t],{theme:e})=>({"text-indent":e.textIndent?.[t||"DEFAULT"]||c.bracket.cssvar.global.fraction.rem(t)}),{autocomplete:"indent-$textIndent"}]],Er=[[/^text-stroke(?:-(.+))?$/,([,t],{theme:e})=>({"-webkit-text-stroke-width":e.textStrokeWidth?.[t||"DEFAULT"]||c.bracket.cssvar.px(t)}),{autocomplete:"text-stroke-$textStrokeWidth"}],[/^text-stroke-(.+)$/,k("-webkit-text-stroke-color","text-stroke","borderColor"),{autocomplete:"text-stroke-$colors"}],[/^text-stroke-op(?:acity)?-?(.+)$/,([,t])=>({"--un-text-stroke-opacity":c.bracket.percent.cssvar(t)}),{autocomplete:"text-stroke-(op|opacity)-<percent>"}]],zr=[[/^text-shadow(?:-(.+))?$/,([,t],{theme:e})=>{let r=e.textShadow?.[t||"DEFAULT"];return r!=null?{"--un-text-shadow":H(r,"--un-text-shadow-color").join(","),"text-shadow":"var(--un-text-shadow)"}:{"text-shadow":c.bracket.cssvar.global(t)}},{autocomplete:"text-shadow-$textShadow"}],[/^text-shadow-color-(.+)$/,k("--un-text-shadow-color","text-shadow","shadowColor"),{autocomplete:"text-shadow-color-$colors"}],[/^text-shadow-color-op(?:acity)?-?(.+)$/,([,t])=>({"--un-text-shadow-opacity":c.bracket.percent.cssvar(t)}),{autocomplete:"text-shadow-color-(op|opacity)-<percent>"}]];function ze(t,e,r){return e[r]?.[t]||c.bracket.cssvar.global.rem(t)}function In([,t],{theme:e}){let r=j(e.fontSize?.[t])?.[0]??c.bracket.cssvar.global.rem(t);if(r!=null)return{"font-size":r}}function aa(t,e){return N(c.bracket(t[1]))?In(t,e):k("color","text","textColor")(t,e)}function sa([,t="base"],{theme:e}){let r=mt(t,"length");if(!r)return;let[n,o]=r,i=j(e.fontSize?.[n]),a=o?ze(o,e,"lineHeight"):void 0;if(i?.[0]){let[l,f,u]=i;return typeof f=="object"?{"font-size":l,...f}:{"font-size":l,"line-height":a??f??"1","letter-spacing":u?ze(u,e,"letterSpacing"):void 0}}let s=c.bracketOfLength.rem(n);return a&&s?{"font-size":s,"line-height":a}:{"font-size":c.bracketOfLength.rem(t)}}var ca={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"},jr=[[/^(.+?)-(\$.+)$/,([,t,e])=>{let r=ca[t];if(r)return{[r]:c.cssvar(e)}}]],_r=[[/^\[(.*)\]$/,([t,e])=>{if(!e.includes(":"))return;let[r,...n]=e.split(":"),o=n.join(":");if(!fa(e)&&/^[\w-]+$/.test(r)&&la(o)){let i=c.bracket(`[${o}]`);if(i)return{[r]:i}}}]];function la(t){let e=0;function r(n){for(;e<t.length;)if(e+=1,t[e]===n)return!0;return!1}for(e=0;e<t.length;e++){let n=t[e];if("\"`'".includes(n)){if(!r(n))return!1}else if(n==="("){if(!r(")"))return!1}else if("[]{}:".includes(n))return!1}return!0}function fa(t){if(!t.includes("://"))return!1;try{return new URL(t).host!==""}catch{return!1}}var Un=[jr,_r,tr,er,Je,De,Ye,Xe,Ve,Ie,qe,xr,He,Ze,br,gr,We,$r,Qe,nr,rr,Re,Xt,qt,Yt,Ne,Ge,Ue,lr,or,sr,Pe,Le,Fe,vr,yr,_e,Cr,cr,je,kr,fr,ur,Te,dr,Sr,Er,zr,Oe,hr,Ae,mr,wr,Me,ir,ar,Be,pr,Ke].flat(1);var da=[[/^(?:animate-)?keyframes-(.+)$/,([,t],{theme:e})=>{let r=e.animation?.keyframes?.[t];if(r)return[`@keyframes ${t}${r}`,{animation:t}]},{autocomplete:["animate-keyframes-$animation.keyframes","keyframes-$animation.keyframes"]}],[/^animate-(.+)$/,([,t],{theme:e})=>{let r=e.animation?.keyframes?.[t];if(r){let n=e.animation?.durations?.[t]??"1s",o=e.animation?.timingFns?.[t]??"linear",i=e.animation?.counts?.[t]??1,a=e.animation?.properties?.[t];return[`@keyframes ${t}${r}`,{animation:`${t} ${n} ${o} ${i}`,...a}]}return{animation:c.bracket.cssvar(t)}},{autocomplete:"animate-$animation.keyframes"}],[/^animate-name-(.+)/,([,t])=>({"animation-name":c.bracket.cssvar(t)??t})],[/^animate-duration-(.+)$/,([,t],{theme:e})=>({"animation-duration":e.duration?.[t||"DEFAULT"]??c.bracket.cssvar.time(t)}),{autocomplete:["animate-duration","animate-duration-$duration"]}],[/^animate-delay-(.+)$/,([,t],{theme:e})=>({"animation-delay":e.duration?.[t||"DEFAULT"]??c.bracket.cssvar.time(t)}),{autocomplete:["animate-delay","animate-delay-$duration"]}],[/^animate-ease(?:-(.+))?$/,([,t],{theme:e})=>({"animation-timing-function":e.easing?.[t||"DEFAULT"]??c.bracket.cssvar(t)}),{autocomplete:["animate-ease","animate-ease-$easing"]}],[/^animate-(fill-mode-|fill-|mode-)?(.+)$/,([,t,e])=>["none","forwards","backwards","both",t?y:[]].includes(e)?{"animation-fill-mode":e}: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-)?(.+)$/,([,t,e])=>["normal","reverse","alternate","alternate-reverse",t?y:[]].includes(e)?{"animation-direction":e}: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-)(.+)$/,([,t])=>({"animation-iteration-count":c.bracket.cssvar(t)??t.replace(/-/g,",")}),{autocomplete:["animate-(iteration|count|iteration-count)","animate-(iteration|count|iteration-count)-<num>"]}],[/^animate-(play-state-|play-|state-)?(.+)$/,([,t,e])=>["paused","running",t?y:[]].includes(e)?{"animation-play-state":e}: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"}],...m("animate","animation")];function Dn(t){return t?C(t,0):"rgb(255 255 255 / 0)"}function pa(t,e,r,n){return e?n!=null?C(e,n):C(e,`var(--un-${t}-opacity, ${X(e)})`):C(r,n)}function Ar(){return([,t,e],{theme:r})=>{let n=W(e,r,"backgroundColor");if(!n)return;let{alpha:o,color:i,cssColor:a}=n;if(!i)return;let s=pa(t,a,i,o);switch(t){case"from":return{"--un-gradient-from-position":"0%","--un-gradient-from":`${s} var(--un-gradient-from-position)`,"--un-gradient-to-position":"100%","--un-gradient-to":`${Dn(a)} var(--un-gradient-to-position)`,"--un-gradient-stops":"var(--un-gradient-from), var(--un-gradient-to)"};case"via":return{"--un-gradient-via-position":"50%","--un-gradient-to":Dn(a),"--un-gradient-stops":`var(--un-gradient-from), ${s} var(--un-gradient-via-position), var(--un-gradient-to)`};case"to":return{"--un-gradient-to-position":"100%","--un-gradient-to":`${s} var(--un-gradient-to-position)`}}}}function ma(){return([,t,e])=>({[`--un-gradient-${t}-position`]:`${Number(c.bracket.cssvar.percent(e))*100}%`})}var ha=[[/^bg-gradient-(.+)$/,([,t])=>({"--un-gradient":c.bracket(t)}),{autocomplete:["bg-gradient","bg-gradient-(from|to|via)","bg-gradient-(from|to|via)-$colors","bg-gradient-(from|to|via)-(op|opacity)","bg-gradient-(from|to|via)-(op|opacity)-<percent>"]}],[/^(?:bg-gradient-)?stops-(\[.+\])$/,([,t])=>({"--un-gradient-stops":c.bracket(t)})],[/^(?:bg-gradient-)?(from)-(.+)$/,Ar()],[/^(?:bg-gradient-)?(via)-(.+)$/,Ar()],[/^(?:bg-gradient-)?(to)-(.+)$/,Ar()],[/^(?:bg-gradient-)?(from|via|to)-op(?:acity)?-?(.+)$/,([,t,e])=>({[`--un-${t}-opacity`]:c.bracket.percent(e)})],[/^(from|via|to)-([\d.]+)%$/,ma()],[/^bg-gradient-((?:repeating-)?(?:linear|radial|conic))$/,([,t])=>({"background-image":`${t}-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-to-([rltb]{1,2})$/,([,t])=>{if(t in E)return{"--un-gradient-shape":`to ${E[t]} in oklch`,"--un-gradient":"var(--un-gradient-shape), var(--un-gradient-stops)","background-image":"linear-gradient(var(--un-gradient))"}},{autocomplete:`bg-gradient-to-(${Object.keys(E).filter(t=>t.length<=2&&Array.from(t).every(e=>"rltb".includes(e))).join("|")})`}],[/^(?:bg-gradient-)?shape-(.+)$/,([,t])=>{let e=t in E?`to ${E[t]}`:c.bracket(t);if(e!=null)return{"--un-gradient-shape":`${e} in oklch`,"--un-gradient":"var(--un-gradient-shape), var(--un-gradient-stops)"}},{autocomplete:["bg-gradient-shape",`bg-gradient-shape-(${Object.keys(E).join("|")})`,`shape-(${Object.keys(E).join("|")})`]}],["bg-none",{"background-image":"none"}],["box-decoration-slice",{"box-decoration-break":"slice"}],["box-decoration-clone",{"box-decoration-break":"clone"}],...m("box-decoration","box-decoration-break"),["bg-auto",{"background-size":"auto"}],["bg-cover",{"background-size":"cover"}],["bg-contain",{"background-size":"contain"}],["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"}],...y.map(t=>[`bg-clip-${t}`,{"-webkit-background-clip":t,"background-clip":t}]),[/^bg-([-\w]{3,})$/,([,t])=>({"background-position":E[t]})],["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"}],...m("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"}],...m("bg-origin","background-origin")],Rr={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"},ga=[[/^list-(.+?)(?:-(outside|inside))?$/,([,t,e])=>{let r=Rr[t];if(r)return e?{"list-style-position":e,"list-style-type":r}:{"list-style-type":r}},{autocomplete:[`list-(${Object.keys(Rr).join("|")})`,`list-(${Object.keys(Rr).join("|")})-(outside|inside)`]}],["list-outside",{"list-style-position":"outside"}],["list-inside",{"list-style-position":"inside"}],["list-none",{"list-style-type":"none"}],[/^list-image-(.+)$/,([,t])=>{if(/^\[url\(.+\)\]$/.test(t))return{"list-style-image":c.bracket(t)}}],["list-image-none",{"list-style-image":"none"}],...m("list","list-style-type")],ba=[[/^accent-(.+)$/,k("accent-color","accent","accentColor"),{autocomplete:"accent-$colors"}],[/^accent-op(?:acity)?-?(.+)$/,([,t])=>({"--un-accent-opacity":c.bracket.percent(t)}),{autocomplete:["accent-(op|opacity)","accent-(op|opacity)-<percent>"]}]],ya=[[/^caret-(.+)$/,k("caret-color","caret","textColor"),{autocomplete:"caret-$colors"}],[/^caret-op(?:acity)?-?(.+)$/,([,t])=>({"--un-caret-opacity":c.bracket.percent(t)}),{autocomplete:["caret-(op|opacity)","caret-(op|opacity)-<percent>"]}]],xa=[["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"]]]],va=[["overscroll-auto",{"overscroll-behavior":"auto"}],["overscroll-contain",{"overscroll-behavior":"contain"}],["overscroll-none",{"overscroll-behavior":"none"}],...m("overscroll","overscroll-behavior"),["overscroll-x-auto",{"overscroll-behavior-x":"auto"}],["overscroll-x-contain",{"overscroll-behavior-x":"contain"}],["overscroll-x-none",{"overscroll-behavior-x":"none"}],...m("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"}],...m("overscroll-y","overscroll-behavior-y")],$a=[["scroll-auto",{"scroll-behavior":"auto"}],["scroll-smooth",{"scroll-behavior":"smooth"}],...m("scroll","scroll-behavior")],wa=[[/^columns-(.+)$/,([,t],{theme:e})=>e.containers&&t in e.containers?{columns:e.containers[t]}:{columns:c.bracket.numberWithUnit.number.cssvar(t)},{autocomplete:["columns-<num>","columns-$containers"]}],["columns-auto",{columns:"auto"}],["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"}],...m("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"}],...m("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"}],...m("break-after")],ka=[[/^divide-?([xy])$/,Ht,{autocomplete:["divide-(x|y|block|inline)","divide-(x|y|block|inline)-reverse","divide-(x|y|block|inline)-$lineWidth"]}],[/^divide-?([xy])-?(.+)$/,Ht],[/^divide-?([xy])-reverse$/,([,t])=>({[`--un-divide-${t}-reverse`]:1})],[/^divide-(block|inline)$/,Ht],[/^divide-(block|inline)-(.+)$/,Ht],[/^divide-(block|inline)-reverse$/,([,t])=>({[`--un-divide-${t}-reverse`]:1})],[/^divide-(.+)$/,k("border-color","divide","borderColor"),{autocomplete:"divide-$colors"}],[/^divide-op(?:acity)?-?(.+)$/,([,t])=>({"--un-divide-opacity":c.bracket.percent(t)}),{autocomplete:["divide-(op|opacity)","divide-(op|opacity)-<percent>"]}],...at.map(t=>[`divide-${t}`,{"border-style":t}])];function Ht([,t,e],{theme:r}){let n=r.lineWidth?.[e||"DEFAULT"]??c.bracket.cssvar.px(e||"1");if(n!=null){n==="0"&&(n="0px");let o=z[t].map(i=>[`border${i}-width`,i.endsWith("right")||i.endsWith("bottom")?`calc(${n} * var(--un-divide-${t}-reverse))`:`calc(${n} * calc(1 - var(--un-divide-${t}-reverse)))`]);if(o)return[[`--un-divide-${t}-reverse`,0],...o]}}var Lr={"--un-blur":v,"--un-brightness":v,"--un-contrast":v,"--un-drop-shadow":v,"--un-grayscale":v,"--un-hue-rotate":v,"--un-invert":v,"--un-saturate":v,"--un-sepia":v},Hn=Object.keys(Lr),Vn={preflightKeys:Hn},Kt="var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)",Fr={"--un-backdrop-blur":v,"--un-backdrop-brightness":v,"--un-backdrop-contrast":v,"--un-backdrop-grayscale":v,"--un-backdrop-hue-rotate":v,"--un-backdrop-invert":v,"--un-backdrop-opacity":v,"--un-backdrop-saturate":v,"--un-backdrop-sepia":v},Kn=Object.keys(Fr),Sa={preflightKeys:Kn},Zt="var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia)",G={preflightKeys:[...Hn,...Kn]};function Mr(t){let e=c.bracket.cssvar(t||"");if(e!=null||(e=t?c.percent(t):"1",e!=null&&Number.parseFloat(e)<=1))return e}function Y(t,e){return([,r,n],{theme:o})=>{let i=e(n,o)??(n==="none"?"0":"");if(i!=="")return r?{[`--un-${r}${t}`]:`${t}(${i})`,"-webkit-backdrop-filter":Zt,"backdrop-filter":Zt}:{[`--un-${t}`]:`${t}(${i})`,filter:Kt}}}function Ca([,t],{theme:e}){let r=e.dropShadow?.[t||"DEFAULT"];if(r!=null)return{"--un-drop-shadow":`drop-shadow(${H(r,"--un-drop-shadow-color").join(") drop-shadow(")})`,filter:Kt};if(r=c.bracket.cssvar(t),r!=null)return{"--un-drop-shadow":`drop-shadow(${r})`,filter:Kt}}var Ea=[[/^(?:(backdrop-)|filter-)?blur(?:-(.+))?$/,Y("blur",(t,e)=>e.blur?.[t||"DEFAULT"]||c.bracket.cssvar.px(t)),{custom:G,autocomplete:["(backdrop|filter)-blur-$blur","blur-$blur","filter-blur"]}],[/^(?:(backdrop-)|filter-)?brightness-(.+)$/,Y("brightness",t=>c.bracket.cssvar.percent(t)),{custom:G,autocomplete:["(backdrop|filter)-brightness-<percent>","brightness-<percent>"]}],[/^(?:(backdrop-)|filter-)?contrast-(.+)$/,Y("contrast",t=>c.bracket.cssvar.percent(t)),{custom:G,autocomplete:["(backdrop|filter)-contrast-<percent>","contrast-<percent>"]}],[/^(?:filter-)?drop-shadow(?:-(.+))?$/,Ca,{custom:Vn,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-(.+)$/,k("--un-drop-shadow-color","drop-shadow","shadowColor")],[/^(?:filter-)?drop-shadow-color-op(?:acity)?-?(.+)$/,([,t])=>({"--un-drop-shadow-opacity":c.bracket.percent(t)})],[/^(?:(backdrop-)|filter-)?grayscale(?:-(.+))?$/,Y("grayscale",Mr),{custom:G,autocomplete:["(backdrop|filter)-grayscale","(backdrop|filter)-grayscale-<percent>","grayscale-<percent>"]}],[/^(?:(backdrop-)|filter-)?hue-rotate-(.+)$/,Y("hue-rotate",t=>c.bracket.cssvar.degree(t)),{custom:G}],[/^(?:(backdrop-)|filter-)?invert(?:-(.+))?$/,Y("invert",Mr),{custom:G,autocomplete:["(backdrop|filter)-invert","(backdrop|filter)-invert-<percent>","invert-<percent>"]}],[/^(backdrop-)op(?:acity)?-(.+)$/,Y("opacity",t=>c.bracket.cssvar.percent(t)),{custom:G,autocomplete:["backdrop-(op|opacity)","backdrop-(op|opacity)-<percent>"]}],[/^(?:(backdrop-)|filter-)?saturate-(.+)$/,Y("saturate",t=>c.bracket.cssvar.percent(t)),{custom:G,autocomplete:["(backdrop|filter)-saturate","(backdrop|filter)-saturate-<percent>","saturate-<percent>"]}],[/^(?:(backdrop-)|filter-)?sepia(?:-(.+))?$/,Y("sepia",Mr),{custom:G,autocomplete:["(backdrop|filter)-sepia","(backdrop|filter)-sepia-<percent>","sepia-<percent>"]}],["filter",{filter:Kt},{custom:Vn}],["backdrop-filter",{"-webkit-backdrop-filter":Zt,"backdrop-filter":Zt},{custom:Sa}],["filter-none",{filter:"none"}],["backdrop-filter-none",{"-webkit-backdrop-filter":"none","backdrop-filter":"none"}],...y.map(t=>[`filter-${t}`,{filter:t}]),...y.map(t=>[`backdrop-filter-${t}`,{"-webkit-backdrop-filter":t,"backdrop-filter":t}])],za=[[/^line-clamp-(\d+)$/,([,t])=>({overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":t,"line-clamp":t}),{autocomplete:["line-clamp","line-clamp-<num>"]}],...["none",...y].map(t=>[`line-clamp-${t}`,{overflow:"visible",display:"block","-webkit-box-orient":"horizontal","-webkit-line-clamp":t,"line-clamp":t}])],ja=[[/^\$ placeholder-(.+)$/,k("color","placeholder","accentColor"),{autocomplete:"placeholder-$colors"}],[/^\$ placeholder-op(?:acity)?-?(.+)$/,([,t])=>({"--un-placeholder-opacity":c.bracket.percent(t)}),{autocomplete:["placeholder-(op|opacity)","placeholder-(op|opacity)-<percent>"]}]],Br={"--un-scroll-snap-strictness":"proximity"},Gn={preflightKeys:Object.keys(Br)},_a=[[/^snap-(x|y)$/,([,t])=>({"scroll-snap-type":`${t} var(--un-scroll-snap-strictness)`}),{custom:Gn,autocomplete:"snap-(x|y|both)"}],[/^snap-both$/,()=>({"scroll-snap-type":"both var(--un-scroll-snap-strictness)"}),{custom:Gn}],["snap-mandatory",{"--un-scroll-snap-strictness":"mandatory"}],["snap-proximity",{"--un-scroll-snap-strictness":"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?()-?(.+)$/,x("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])-?(.+)$/,x("scroll-margin")],[/^scroll-m-?([rltb])-?(.+)$/,x("scroll-margin")],[/^scroll-m-(block|inline)-(.+)$/,x("scroll-margin")],[/^scroll-m-?([bi][se])-?(.+)$/,x("scroll-margin")],[/^scroll-pa?()-?(.+)$/,x("scroll-padding")],[/^scroll-p-?([xy])-?(.+)$/,x("scroll-padding")],[/^scroll-p-?([rltb])-?(.+)$/,x("scroll-padding")],[/^scroll-p-(block|inline)-(.+)$/,x("scroll-padding")],[/^scroll-p-?([bi][se])-?(.+)$/,x("scroll-padding")]],Aa=[[/^space-([xy])-(.+)$/,Yn,{autocomplete:["space-(x|y|block|inline)","space-(x|y|block|inline)-reverse","space-(x|y|block|inline)-$spacing"]}],[/^space-([xy])-reverse$/,([,t])=>({[`--un-space-${t}-reverse`]:1})],[/^space-(block|inline)-(.+)$/,Yn],[/^space-(block|inline)-reverse$/,([,t])=>({[`--un-space-${t}-reverse`]:1})]];function Yn([,t,e],{theme:r}){let n=r.spacing?.[e||"DEFAULT"]??c.bracket.cssvar.auto.fraction.rem(e||"1");if(n!=null){n==="0"&&(n="0px");let o=z[t].map(i=>[`margin${i}`,i.endsWith("right")||i.endsWith("bottom")?`calc(${n} * var(--un-space-${t}-reverse))`:`calc(${n} * calc(1 - var(--un-space-${t}-reverse)))`]);if(o)return[[`--un-space-${t}-reverse`,0],...o]}}var Ra=[["uppercase",{"text-transform":"uppercase"}],["lowercase",{"text-transform":"lowercase"}],["capitalize",{"text-transform":"capitalize"}],["normal-case",{"text-transform":"none"}]],Ma=[...["manual","auto","none",...y].map(t=>[`hyphens-${t}`,{"-webkit-hyphens":t,"-ms-hyphens":t,hyphens:t}])],Pa=[["write-vertical-right",{"writing-mode":"vertical-rl"}],["write-vertical-left",{"writing-mode":"vertical-lr"}],["write-normal",{"writing-mode":"horizontal-tb"}],...m("write","writing-mode")],Oa=[["write-orient-mixed",{"text-orientation":"mixed"}],["write-orient-sideways",{"text-orientation":"sideways"}],["write-orient-upright",{"text-orientation":"upright"}],...m("write-orient","text-orientation")],La=[["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"}]],Fa=[["isolate",{isolation:"isolate"}],["isolate-auto",{isolation:"auto"}],["isolation-auto",{isolation:"auto"}]],Ba=[["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-(.+)$/,([,t])=>{if(E[t])return{"object-position":E[t]};if(c.bracketOfPosition(t)!=null)return{"object-position":c.bracketOfPosition(t).split(" ").map(e=>c.position.fraction.auto.px.cssvar(e)??e).join(" ")}},{autocomplete:`object-(${Object.keys(E).join("|")})`}]],Ta=[["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"}],...m("bg-blend","background-blend")],Wa=[["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"}],...m("mix-blend")],Na=[["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"}]],Tr={"--un-border-spacing-x":0,"--un-border-spacing-y":0},qn={preflightKeys:Object.keys(Tr)},Xn="var(--un-border-spacing-x) var(--un-border-spacing-y)",Ia=[["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-(.+)$/,([,t],{theme:e})=>{let r=e.spacing?.[t]??c.bracket.cssvar.global.auto.fraction.rem(t);if(r!=null)return{"--un-border-spacing-x":r,"--un-border-spacing-y":r,"border-spacing":Xn}},{custom:qn,autocomplete:["border-spacing","border-spacing-$spacing"]}],[/^border-spacing-([xy])-(.+)$/,([,t,e],{theme:r})=>{let n=r.spacing?.[e]??c.bracket.cssvar.global.auto.fraction.rem(e);if(n!=null)return{[`--un-border-spacing-${t}`]:n,"border-spacing":Xn}},{custom:qn,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"}]],Wr={"--un-pan-x":v,"--un-pan-y":v,"--un-pinch-zoom":v},Pr={preflightKeys:Object.keys(Wr)},Or="var(--un-pan-x) var(--un-pan-y) var(--un-pinch-zoom)",Ua=[[/^touch-pan-(x|left|right)$/,([,t])=>({"--un-pan-x":`pan-${t}`,"touch-action":Or}),{custom:Pr,autocomplete:["touch-pan","touch-pan-(x|left|right|y|up|down)"]}],[/^touch-pan-(y|up|down)$/,([,t])=>({"--un-pan-y":`pan-${t}`,"touch-action":Or}),{custom:Pr}],["touch-pinch-zoom",{"--un-pinch-zoom":"pinch-zoom","touch-action":Or},{custom:Pr}],["touch-auto",{"touch-action":"auto"}],["touch-manipulation",{"touch-action":"manipulation"}],["touch-none",{"touch-action":"none"}],...m("touch","touch-action")],Nr={"--un-ordinal":v,"--un-slashed-zero":v,"--un-numeric-figure":v,"--un-numeric-spacing":v,"--un-numeric-fraction":v},Z={preflightKeys:Object.keys(Nr)};function J(t){return{...t,"font-variant-numeric":"var(--un-ordinal) var(--un-slashed-zero) var(--un-numeric-figure) var(--un-numeric-spacing) var(--un-numeric-fraction)"}}var Da=[[/^ordinal$/,()=>J({"--un-ordinal":"ordinal"}),{custom:Z,autocomplete:"ordinal"}],[/^slashed-zero$/,()=>J({"--un-slashed-zero":"slashed-zero"}),{custom:Z,autocomplete:"slashed-zero"}],[/^lining-nums$/,()=>J({"--un-numeric-figure":"lining-nums"}),{custom:Z,autocomplete:"lining-nums"}],[/^oldstyle-nums$/,()=>J({"--un-numeric-figure":"oldstyle-nums"}),{custom:Z,autocomplete:"oldstyle-nums"}],[/^proportional-nums$/,()=>J({"--un-numeric-spacing":"proportional-nums"}),{custom:Z,autocomplete:"proportional-nums"}],[/^tabular-nums$/,()=>J({"--un-numeric-spacing":"tabular-nums"}),{custom:Z,autocomplete:"tabular-nums"}],[/^diagonal-fractions$/,()=>J({"--un-numeric-fraction":"diagonal-fractions"}),{custom:Z,autocomplete:"diagonal-fractions"}],[/^stacked-fractions$/,()=>J({"--un-numeric-fraction":"stacked-fractions"}),{custom:Z,autocomplete:"stacked-fractions"}],["normal-nums",{"font-variant-numeric":"normal"}]],Va={"bg-blend":"background-blend-mode","bg-clip":"-webkit-background-clip","bg-gradient":"linear-gradient","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"},Ga=[[/^(.+?)-(\$.+)$/,([,t,e])=>{let r=Va[t];if(r)return{[r]:c.cssvar(e)}}]],Ya=[[/^view-transition-([\w-]+)$/,([,t])=>({"view-transition-name":t})]],Zn=[jr,Ga,_r,En,tr,La,er,Je,De,Ye,za,Fa,Xe,Ve,Ie,qe,xr,He,Ze,br,gr,We,Ia,$r,da,Qe,Ua,nr,rr,_a,ga,Re,wa,Xt,qt,Yt,Ne,Ge,Aa,ka,Ue,va,$a,lr,or,sr,Pe,Le,ha,Fe,vr,Ba,yr,_e,Cr,cr,je,kr,fr,Ra,ur,Da,Te,dr,Sr,Er,zr,Ma,Pa,Oa,ya,ba,Oe,Ta,Wa,hr,Ae,mr,xa,Ea,wr,Me,ir,ar,ja,Be,Ya,Na,pr,Ke].flat(1);var Jn=[...ke];var Jt={inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"},light:{50:"#fdfdfd",100:"#fcfcfc",200:"#fafafa",300:"#f8f9fa",400:"#f6f6f6",500:"#f2f2f2",600:"#f1f3f5",700:"#e9ecef",800:"#dee2e6",900:"#dde1e3",950:"#d8dcdf"},dark:{50:"#4a4a4a",100:"#3c3c3c",200:"#323232",300:"#2d2d2d",400:"#222222",500:"#1f1f1f",600:"#1c1c1e",700:"#1b1b1b",800:"#181818",900:"#0f0f0f",950:"#080808"},get lightblue(){return this.sky},get lightBlue(){return this.sky},get warmgray(){return this.stone},get warmGray(){return this.stone},get truegray(){return this.neutral},get trueGray(){return this.neutral},get coolgray(){return this.gray},get coolGray(){return this.gray},get bluegray(){return this.slate},get blueGray(){return this.slate}};Object.values(Jt).forEach(t=>{typeof t!="string"&&t!==void 0&&(t.DEFAULT=t.DEFAULT||t[400],Object.keys(t).forEach(e=>{let r=+e/100;r===Math.round(r)&&(t[r]=t[e])}))});var Qn={DEFAULT:"8px",0:"0",sm:"4px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},to={DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],sm:"0 1px 1px rgb(0 0 0 / 0.05)",md:["0 4px 3px rgb(0 0 0 / 0.07)","0 2px 2px rgb(0 0 0 / 0.06)"],lg:["0 10px 8px rgb(0 0 0 / 0.04)","0 4px 3px rgb(0 0 0 / 0.1)"],xl:["0 20px 13px rgb(0 0 0 / 0.03)","0 8px 5px rgb(0 0 0 / 0.08)"],"2xl":"0 25px 25px rgb(0 0 0 / 0.15)",none:"0 0 rgb(0 0 0 / 0)"},eo={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(",")},ro={xs:["0.75rem","1rem"],sm:["0.875rem","1.25rem"],base:["1rem","1.5rem"],lg:["1.125rem","1.75rem"],xl:["1.25rem","1.75rem"],"2xl":["1.5rem","2rem"],"3xl":["1.875rem","2.25rem"],"4xl":["2.25rem","2.5rem"],"5xl":["3rem","1"],"6xl":["3.75rem","1"],"7xl":["4.5rem","1"],"8xl":["6rem","1"],"9xl":["8rem","1"]},no={DEFAULT:"1.5rem",xs:"0.5rem",sm:"1rem",md:"1.5rem",lg:"2rem",xl:"2.5rem","2xl":"3rem","3xl":"4rem"},oo={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},io={DEFAULT:["0 0 1px rgb(0 0 0 / 0.2)","0 0 1px rgb(1 0 5 / 0.1)"],none:"0 0 rgb(0 0 0 / 0)",sm:"1px 1px 3px rgb(36 37 47 / 0.25)",md:["0 1px 2px rgb(30 29 39 / 0.19)","1px 2px 4px rgb(54 64 147 / 0.18)"],lg:["3px 3px 6px rgb(0 0 0 / 0.26)","0 0 5px rgb(15 3 86 / 0.22)"],xl:["1px 1px 3px rgb(0 0 0 / 0.29)","2px 4px 7px rgb(73 64 125 / 0.35)"]},ao={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},Gr={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},so={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},co=Gr,Yr={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},lo={...Yr},fo={DEFAULT:"1px",none:"0"},uo={DEFAULT:"1rem",none:"0",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"},po={DEFAULT:"150ms",none:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},mo={DEFAULT:"0.25rem",none:"0",sm:"0.125rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},ho={DEFAULT:["var(--un-shadow-inset) 0 1px 3px 0 rgb(0 0 0 / 0.1)","var(--un-shadow-inset) 0 1px 2px -1px rgb(0 0 0 / 0.1)"],none:"0 0 rgb(0 0 0 / 0)",sm:"var(--un-shadow-inset) 0 1px 2px 0 rgb(0 0 0 / 0.05)",md:["var(--un-shadow-inset) 0 4px 6px -1px rgb(0 0 0 / 0.1)","var(--un-shadow-inset) 0 2px 4px -2px rgb(0 0 0 / 0.1)"],lg:["var(--un-shadow-inset) 0 10px 15px -3px rgb(0 0 0 / 0.1)","var(--un-shadow-inset) 0 4px 6px -4px rgb(0 0 0 / 0.1)"],xl:["var(--un-shadow-inset) 0 20px 25px -5px rgb(0 0 0 / 0.1)","var(--un-shadow-inset) 0 8px 10px -6px rgb(0 0 0 / 0.1)"],"2xl":"var(--un-shadow-inset) 0 25px 50px -12px rgb(0 0 0 / 0.25)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)"},go={DEFAULT:"3px",none:"0"},bo={auto:"auto"},yo={mouse:"(hover) and (pointer: fine)"},xo={...zt,...Et,...Ct},D={xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",prose:"65ch"},vo={auto:"auto",...D,screen:"100vw"},Ir={none:"none",...D,screen:"100vw"},$o={auto:"auto",...D,screen:"100vb"},wo={auto:"auto",...D,screen:"100vi"},ko={auto:"auto",...D,screen:"100vh"},Ur={none:"none",...D,screen:"100vh"},Dr={none:"none",...D,screen:"100vb"},Vr={none:"none",...D,screen:"100vi"},So={...D},jt={width:vo,height:ko,maxWidth:Ir,maxHeight:Ur,minWidth:Ir,minHeight:Ur,inlineSize:wo,blockSize:$o,maxInlineSize:Vr,maxBlockSize:Dr,minInlineSize:Vr,minBlockSize:Dr,colors:Jt,fontFamily:eo,fontSize:ro,fontWeight:so,breakpoints:Yr,verticalBreakpoints:lo,borderRadius:mo,lineHeight:ao,letterSpacing:Gr,wordSpacing:co,boxShadow:ho,textIndent:no,textShadow:io,textStrokeWidth:oo,blur:Qn,dropShadow:to,easing:{DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)",linear:"linear",in:"cubic-bezier(0.4, 0, 1, 1)",out:"cubic-bezier(0, 0, 0.2, 1)","in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},transitionProperty:{none:"none",all:"all",colors:["color","background-color","border-color","text-decoration-color","fill","stroke"].join(","),opacity:"opacity",shadow:"box-shadow",transform:"transform",get DEFAULT(){return[this.colors,"opacity","box-shadow","transform","filter","backdrop-filter"].join(",")}},lineWidth:fo,spacing:uo,duration:po,ringWidth:go,preflightBase:xo,containers:So,zIndex:bo,media:yo};var Co={...jt,aria:{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"'},animation:{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"}},media:{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)"},supports:{grid:"(display: grid)"},preflightBase:{...zt,...Wr,...Br,...Nr,...Tr,...Et,...Ct,...Lr,...Fr}};var qa={name:"aria",match(t,e){let r=(0,b.variantGetParameter)("aria-",t,e.generator.config.separators);if(r){let[n,o]=r,i=c.bracket(n)??e.theme.aria?.[n]??"";if(i)return{matcher:o,selector:a=>`${a}[aria-${i}]`}}},multiPass:!0};function Qt(t,e,r={}){return{name:`${t}-aria`,match(n,o){let i=(0,b.variantGetParameter)(`${t}-aria-`,n,o.generator.config.separators);if(i){let[a,s,l]=i,f=c.bracket(a)??o.theme.aria?.[a]??"";if(f){let u=!!r?.attributifyPseudo,p=r?.prefix??"";p=(Array.isArray(p)?p:[p]).filter(Boolean)[0]??"";let h=`${u?`[${p}${t}=""]`:`.${p}${t}`}`,g=B(l?`/${l}`:"");return{matcher:s,handle:(d,$)=>{let A=new RegExp(`${P(h)}${P(g)}(?:\\[.+?\\])+`),_=d.prefix.match(A),S;if(_){let w=(_.index??0)+h.length+g.length;S=[d.prefix.slice(0,w),`[aria-${f}]`,d.prefix.slice(w)].join("")}else{let w=Math.max(d.prefix.indexOf(h),0);S=[d.prefix.slice(0,w),h,g,`[aria-${f}]`,e,d.prefix.slice(w)].join("")}return $({...d,prefix:S})}}}}},multiPass:!0}}function Xa(){return{name:"has-aria",match(t,e){let r=(0,b.variantGetParameter)("has-aria-",t,e.generator.config.separators);if(r){let[n,o]=r,i=c.bracket(n)??e.theme.aria?.[n]??"";if(i)return{matcher:o,handle:(a,s)=>s({...a,pseudo:`${a.pseudo}:has([aria-${i}])`})}}},multiPass:!0}}function Ha(t={}){return[Qt("group"," ",t),Qt("peer","~",t),Qt("parent",">",t),Qt("previous","+",t),Xa()]}var Eo=/(max|min)-\[([^\]]*)\]:/;function Ka(){let t={};return{name:"breakpoints",match(e,r){if(Eo.test(e)){let o=e.match(Eo);return{matcher:e.replace(o[0],""),handle:(i,a)=>a({...i,parent:`${i.parent?`${i.parent} $$ `:""}@media (${o[1]}-width: ${o[2]})`})}}let n=(L(r)??[]).map(({point:o,size:i},a)=>[o,i,a]);for(let[o,i,a]of n){t[o]||(t[o]=new RegExp(`^((?:([al]t-|[<~]|max-))?${o}(?:${r.generator.config.separators.join("|")}))`));let s=e.match(t[o]);if(!s)continue;let[,l]=s,f=e.slice(l.length);if(f==="container")continue;let u=l.startsWith("lt-")||l.startsWith("<")||l.startsWith("max-"),p=l.startsWith("at-")||l.startsWith("~"),h=3e3;return u?(h-=a+1,{matcher:f,handle:(g,d)=>d({...g,parent:`${g.parent?`${g.parent} $$ `:""}@media (max-width: ${(0,b.calcMaxWidthBySize)(i)})`,parentOrder:h})}):(h+=a+1,p&&a<n.length-1?{matcher:f,handle:(g,d)=>d({...g,parent:`${g.parent?`${g.parent} $$ `:""}@media (min-width: ${i}) and (max-width: ${(0,b.calcMaxWidthBySize)(n[a+1][1])})`,parentOrder:h})}:{matcher:f,handle:(g,d)=>d({...g,parent:`${g.parent?`${g.parent} $$ `:""}@media (min-width: ${i})`,parentOrder:h})})}},multiPass:!0,autocomplete:"(at-|lt-|max-|)$breakpoints:"}}var Za=[(0,b.variantMatcher)("*",t=>({selector:`${t.selector} > *`}),{order:-1})];function _t(t,e){return{name:`combinator:${t}`,match(r,n){if(!r.startsWith(t))return;let o=n.generator.config.separators,i=(0,b.variantGetBracket)(`${t}-`,r,o);if(!i){for(let s of o)if(r.startsWith(`${t}${s}`)){i=["",r.slice(t.length+s.length)];break}if(!i)return}let a=c.bracket(i[0])??"";return a===""&&(a="*"),{matcher:i[1],selector:s=>`${s}${e}${a}`}},multiPass:!0}}var Ja=[_t("all"," "),_t("children",">"),_t("next","+"),_t("sibling","+"),_t("siblings","~")],Qa={name:"@",match(t,e){if(t.startsWith("@container"))return;let r=(0,b.variantGetParameter)("@",t,e.generator.config.separators);if(r){let[n,o,i]=r,a=c.bracket(n),s;if(a?s=c.numberWithUnit(a):s=e.theme.containers?.[n]??"",s){let l=1e3+Object.keys(e.theme.containers??{}).indexOf(n);return i&&(l+=1e3),{matcher:o,handle:(f,u)=>u({...f,parent:`${f.parent?`${f.parent} $$ `:""}@container${i?` ${i} `:" "}(min-width: ${s})`,parentOrder:l})}}}},multiPass:!0};function ts(t={}){if(t?.dark==="class"||typeof t.dark=="object"){let{dark:e=".dark",light:r=".light"}=typeof t.dark=="string"?{}:t.dark;return[(0,b.variantMatcher)("dark",j(e).map(n=>o=>({prefix:`${n} $$ ${o.prefix}`}))),(0,b.variantMatcher)("light",j(r).map(n=>o=>({prefix:`${n} $$ ${o.prefix}`})))]}return[(0,b.variantParentMatcher)("dark","@media (prefers-color-scheme: dark)"),(0,b.variantParentMatcher)("light","@media (prefers-color-scheme: light)")]}var es={name:"data",match(t,e){let r=(0,b.variantGetParameter)("data-",t,e.generator.config.separators);if(r){let[n,o]=r,i=c.bracket(n)??e.theme.data?.[n]??"";if(i)return{matcher:o,selector:a=>`${a}[data-${i}]`}}},multiPass:!0};function te(t,e,r={}){return{name:`${t}-data`,match(n,o){let i=(0,b.variantGetParameter)(`${t}-data-`,n,o.generator.config.separators);if(i){let[a,s,l]=i,f=c.bracket(a)??o.theme.data?.[a]??"";if(f){let u=!!r?.attributifyPseudo,p=r?.prefix??"";p=(Array.isArray(p)?p:[p]).filter(Boolean)[0]??"";let h=`${u?`[${p}${t}=""]`:`.${p}${t}`}`,g=B(l?`/${l}`:"");return{matcher:s,handle:(d,$)=>{let A=new RegExp(`${P(h)}${P(g)}(?:\\[.+?\\])+`),_=d.prefix.match(A),S;if(_){let w=(_.index??0)+h.length+g.length;S=[d.prefix.slice(0,w),`[data-${f}]`,d.prefix.slice(w)].join("")}else{let w=Math.max(d.prefix.indexOf(h),0);S=[d.prefix.slice(0,w),h,g,`[data-${f}]`,e,d.prefix.slice(w)].join("")}return $({...d,prefix:S})}}}}},multiPass:!0}}function rs(){return{name:"has-data",match(t,e){let r=(0,b.variantGetParameter)("has-data-",t,e.generator.config.separators);if(r){let[n,o]=r,i=c.bracket(n)??e.theme.data?.[n]??"";if(i)return{matcher:o,handle:(a,s)=>s({...a,pseudo:`${a.pseudo}:has([data-${i}])`})}}},multiPass:!0}}function ns(t={}){return[te("group"," ",t),te("peer","~",t),te("parent",">",t),te("previous","+",t),rs()]}var os=[(0,b.variantMatcher)("rtl",t=>({prefix:`[dir="rtl"] $$ ${t.prefix}`})),(0,b.variantMatcher)("ltr",t=>({prefix:`[dir="ltr"] $$ ${t.prefix}`}))];function is(){let t;return{name:"important",match(e,r){t||(t=new RegExp(`^(important(?:${r.generator.config.separators.join("|")})|!)`));let n,o=e.match(t);if(o?n=e.slice(o[0].length):e.endsWith("!")&&(n=e.slice(0,-1)),n)return{matcher:n,body:i=>(i.forEach(a=>{a[1]!=null&&(a[1]+=" !important")}),i)}}}}var as=(0,b.variantParentMatcher)("print","@media print"),ss={name:"media",match(t,e){let r=(0,b.variantGetParameter)("media-",t,e.generator.config.separators);if(r){let[n,o]=r,i=c.bracket(n)??"";if(i===""&&(i=e.theme.media?.[n]??""),i)return{matcher:o,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@media ${i}`})}}},multiPass:!0},cs={name:"selector",match(t,e){let r=(0,b.variantGetBracket)("selector-",t,e.generator.config.separators);if(r){let[n,o]=r,i=c.bracket(n);if(i)return{matcher:o,selector:()=>i}}}},ls={name:"layer",match(t,e){let r=(0,b.variantGetParameter)("layer-",t,e.generator.config.separators);if(r){let[n,o]=r,i=c.bracket(n)??n;if(i)return{matcher:o,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@layer ${i}`})}}}},fs={name:"uno-layer",match(t,e){let r=(0,b.variantGetParameter)("uno-layer-",t,e.generator.config.separators);if(r){let[n,o]=r,i=c.bracket(n)??n;if(i)return{matcher:o,layer:i}}}},us={name:"scope",match(t,e){let r=(0,b.variantGetBracket)("scope-",t,e.generator.config.separators);if(r){let[n,o]=r,i=c.bracket(n);if(i)return{matcher:o,selector:a=>`${i} $$ ${a}`}}}},ds={name:"variables",match(t,e){if(!t.startsWith("["))return;let[r,n]=(0,b.getBracket)(t,"[","]")??[];if(!(r&&n))return;let o;for(let s of e.generator.config.separators)if(n.startsWith(s)){o=n.slice(s.length);break}if(o==null)return;let i=c.bracket(r)??"",a=i.startsWith("@");if(a||i.includes("&"))return{matcher:o,handle(s,l){let f=a?{parent:`${s.parent?`${s.parent} $$ `:""}${i}`}:{selector:i.replace(/&/g,s.selector)};return l({...s,...f})}}},multiPass:!0},ps={name:"theme-variables",match(t,e){if((0,b.hasThemeFn)(t))return{matcher:t,handle(r,n){return n({...r,entries:JSON.parse((0,b.transformThemeFn)(JSON.stringify(r.entries),e.theme))})}}}},zo=/^-?[0-9.]+(?:[a-z]+|%)?$/,jo=/-?[0-9.]+(?:[a-z]+|%)?/,ms=[/\b(opacity|color|flex|backdrop-filter|^filter|transform)\b/];function hs(t){let e=t.match(nt)||t.match(yt);if(e){let[r,n]=Q(`(${e[2]})${e[3]}`,"(",")"," ")??[];if(r)return`calc(${e[1]}${r} * -1)${n?` ${n}`:""}`}}var gs=/\b(hue-rotate)\s*(\(.*)/;function bs(t){let e=t.match(gs);if(e){let[r,n]=Q(e[2],"(",")"," ")??[];if(r){let o=zo.test(r.slice(1,-1))?r.replace(jo,i=>i.startsWith("-")?i.slice(1):`-${i}`):`(calc(${r} * -1))`;return`${e[1]}${o}${n?` ${n}`:""}`}}}var ys={name:"negative",match(t){if(t.startsWith("-"))return{matcher:t.slice(1),body:e=>{if(e.some(n=>n[0]==="$$mini-no-negative"))return;let r=!1;return e.forEach(n=>{let o=n[1]?.toString();if(!o||o==="0"||ms.some(s=>s.test(n[0])))return;let i=hs(o);if(i){n[1]=i,r=!0;return}let a=bs(o);if(a){n[1]=a,r=!0;return}zo.test(o)&&(n[1]=o.replace(jo,s=>s.startsWith("-")?s.slice(1):`-${s}`),r=!0)}),r?e:[]}}}};function xs(){return he({getBracket:V.getBracket,h:c,variantGetBracket:V.variantGetBracket})}function vs(){return ge({getBracket:V.getBracket,h:c,variantGetBracket:V.variantGetBracket})}function $s(t={}){return be(t,{getBracket:V.getBracket,h:c,variantGetBracket:V.variantGetBracket})}var ws=ye(),ks={name:"starting",match(t){if(t.startsWith("starting:"))return{matcher:t.slice(9),handle:(e,r)=>r({...e,parent:"@starting-style"})}}},Ss={name:"supports",match(t,e){let r=(0,b.variantGetParameter)("supports-",t,e.generator.config.separators);if(r){let[n,o]=r,i=c.bracket(n)??"";if(i===""&&(i=e.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 ee(t){return[qa,es,ls,cs,fs,ys,ks,is(),Ss,as,ss,Ka(),...Ja,...xs(),vs(),...$s(t),ws,...ts(t),...os,us,...Za,Qa,ds,...ns(t),...Ha(t),ps]}var Cs=[rt("svg",t=>({selector:`${t.selector} svg`}))],Es=[rt(".dark",t=>({prefix:`.dark $$ ${t.prefix}`})),rt(".light",t=>({prefix:`.light $$ ${t.prefix}`})),T("@dark","@media (prefers-color-scheme: dark)"),T("@light","@media (prefers-color-scheme: light)")],zs=[T("contrast-more","@media (prefers-contrast: more)"),T("contrast-less","@media (prefers-contrast: less)")],js=[T("motion-reduce","@media (prefers-reduced-motion: reduce)"),T("motion-safe","@media (prefers-reduced-motion: no-preference)")],_s=[T("landscape","@media (orientation: landscape)"),T("portrait","@media (orientation: portrait)")],As=t=>{if(!t.startsWith("_")&&(/space-[xy]-.+$/.test(t)||/divide-/.test(t)))return{matcher:t,selector:e=>{let r=">:not([hidden])~:not([hidden])";return e.includes(r)?e:`${e}${r}`}}},Rs=[rt("@hover",t=>({parent:`${t.parent?`${t.parent} $$ `:""}@media (hover: hover) and (pointer: fine)`,selector:`${t.selector||""}:hover`}))];function _o(t,e,r){return`calc(${e} + (${t} - ${e}) * ${r} / 100)`}function Ao(t,e,r){let n=[t,e],o=[];for(let a=0;a<2;a++){let s=typeof n[a]=="string"?O(n[a]):n[a];if(!s||!["rgb","rgba"].includes(s.type))return;o.push(s)}let i=[];for(let a=0;a<3;a++)i.push(_o(o[0].components[a],o[1].components[a],r));return{type:"rgb",components:i,alpha:_o(o[0].alpha??1,o[1].alpha??1,r)}}function Ro(t,e){return Ao("#fff",t,e)}function Mo(t,e){return Ao("#000",t,e)}function Ms(t,e){let r=Number.parseFloat(`${e}`);if(!Number.isNaN(r))return r>0?Mo(t,e):Ro(t,-r)}var Ps={tint:Ro,shade:Mo,shift:Ms};function Os(){let t;return{name:"mix",match(e,r){t||(t=new RegExp(`^mix-(tint|shade|shift)-(-?\\d{1,3})(?:${r.generator.config.separators.join("|")})`));let n=e.match(t);if(n)return{matcher:e.slice(n[0].length),body:o=>(o.forEach(i=>{if(i[1]){let a=O(`${i[1]}`);if(a){let s=Ps[n[1]](a,n[2]);s&&(i[1]=C(s))}}}),o)}}}}var Ls=(t,{theme:e})=>{let r=t.match(/^(.*)\b(placeholder-)(.+)$/);if(r){let[,n="",o,i]=r;if(K(i,e,"accentColor")||Fs(i))return{matcher:`${n}placeholder-$ ${o}${i}`}}};function Fs(t){let e=t.match(/^op(?:acity)?-?(.+)$/);return e&&e[1]!=null?c.bracket.percent(e[1])!=null:!1}function Po(t){return[Ls,As,...ee(t),...zs,..._s,...js,...Cs,...Es,...Rs,Os()]}function Bs(t){let e,r,n=2166136261;for(e=0,r=t.length;e<r;e++)n^=t.charCodeAt(e),n+=(n<<1)+(n<<4)+(n<<7)+(n<<8)+(n<<24);return`00000${(n>>>0).toString(36)}`.slice(-6)}function Ts(t,e,r,n){for(let o of Array.from(t.matchAll(r)))if(o!=null){let i=o[0],a=`${n}${Bs(i)}`;e.set(a,i),t=t.replace(i,a)}return t}function Ws(t,e){for(let[r,n]of e.entries())t=t.replaceAll(r,n);return t}var Ns=/\/\/#\s*sourceMappingURL=.*\n?/g;function Is(t){return t.includes("sourceMappingURL=")?t.replace(Ns,""):t}var Us=/(?:[\w&:[\]-]|\[\S{1,64}=\S{1,64}\]){1,64}\[\\?['"]?\S{1,64}?['"]\]\]?[\w:-]{0,64}/g,Ds=/\[(\\\W|[\w-]){1,64}:[^\s:]{0,64}?("\S{1,64}?"|'\S{1,64}?'|`\S{1,64}?`|[^\s:]{1,64}?)[^\s:]{0,64}?\)?\]/g,Vs=/^\[(?:\\\W|[\w-]){1,64}:['"]?\S{1,64}?['"]?\]$/;function Gs(t){let e=[];for(let o of t.matchAll(Ds))o.index!==0&&!/^[\s'"`]/.test(t[o.index-1]??"")||e.push(o[0]);for(let o of t.matchAll(Us))e.push(o[0]);let r=new Map,n="@unocss-skip-arbitrary-brackets";return t=Ts(t,r,/-\[(?!&.+?;)[^\]]*\]/g,n),t&&t.split(qr).forEach(o=>{o.includes(n)&&(o=Ws(o,r)),Xr(o)&&!Vs.test(o)&&e.push(o)}),e}function Oo(){return{name:"@unocss/extractor-arbitrary-variants",order:0,extract({code:t}){return Gs(Is(t))}}}function Lo(t){if(t.preflight)return[{layer:"preflights",getCSS({theme:e,generator:r}){if(e.preflightBase){let n=Object.entries(e.preflightBase);if(t.preflight==="on-demand"){let o=new Set(Array.from(r.activatedRules).map(i=>i[2]?.custom?.preflightKeys).filter(Boolean).flat());n=n.filter(([i])=>o.has(i))}if(n.length>0){let o=Hr(n);return t.variablePrefix!=="un-"&&(o=o.replace(/--un-/g,`--${t.variablePrefix}`)),j(e.preflightRoot??["*,::before,::after","::backdrop"]).map(i=>`${i}{${o}}`).join("")}}}}]}var qs={position:["relative","absolute","fixed","sticky","static"],globalKeyword:y},re=(t={})=>(t.dark=t.dark??"class",t.attributifyPseudo=t.attributifyPseudo??!1,t.preflight=t.preflight??!0,t.variablePrefix=t.variablePrefix??"un-",{name:"@unocss/preset-mini",theme:jt,rules:Un,variants:ee(t),options:t,prefix:t.prefix,postprocess:Xs(t.variablePrefix),preflights:Lo(t),extractorDefault:t.arbitraryVariants===!1?void 0:Oo(),autocomplete:{shorthands:qs}});function Xs(t){if(t!=="un-")return e=>{e.entries.forEach(r=>{r[0]=r[0].replace(/^--un-/,`--${t}`),typeof r[1]=="string"&&(r[1]=r[1].replace(/var\(--un-/g,`var(--${t}`))})}}function Hs(t){if(t==null||t===!1)return[];let e=r=>r.startsWith(":is(")&&r.endsWith(")")?r:r.includes("::")?r.replace(/(.*?)((?:\s\*)?::.*)/,":is($1)$2"):`:is(${r})`;return[t===!0?r=>{r.entries.forEach(n=>{n[1]!=null&&!String(n[1]).endsWith("!important")&&(n[1]+=" !important")})}:r=>{r.selector.startsWith(t)||(r.selector=`${t} ${e(r.selector)}`)}]}function Ks(t){return[...j(re(t).postprocess),...Hs(t.important)]}var Fo=(t={})=>(t.important=t.important??!1,{...re(t),name:"@unocss/preset-wind3",theme:Co,rules:Zn,shortcuts:Jn,variants:Po(t),postprocess:Ks(t)});var Bo=(t={})=>({...Fo(t),name:"@unocss/preset-uno"});window.__unocss_runtime=window.__unocss_runtime??{};window.__unocss_runtime.presets=Object.assign(window.__unocss_runtime?.presets??{},{presetUno:t=>Bo(t)});})();
|
|
1
|
+
(function(){var e=Object.defineProperty,t=(t,n)=>{let r={};for(var i in t)e(r,i,{get:t[i],enumerable:!0});return n||e(r,Symbol.toStringTag,{value:`Module`}),r};let n=/[\\:]?[\s'"`;{}]+/g;function r(e=[]){return Array.isArray(e)?e:[e]}function i(e){return typeof e==`string`}function a(e){return e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}function o(e){let t=e.length,n=-1,r,i=``,a=e.charCodeAt(0);for(;++n<t;){if(r=e.charCodeAt(n),r===0){i+=`�`;continue}if(r===37){i+=`\\%`;continue}if(r===44){i+=`\\,`;continue}if(r>=1&&r<=31||r===127||n===0&&r>=48&&r<=57||n===1&&r>=48&&r<=57&&a===45){i+=`\\${r.toString(16)} `;continue}if(n===0&&t===1&&r===45){i+=`\\${e.charAt(n)}`;continue}if(r>=128||r===45||r===95||r>=48&&r<=57||r>=65&&r<=90||r>=97&&r<=122){i+=e.charAt(n);continue}i+=`\\${e.charAt(n)}`}return i}let s=/[\w\u00A0-\uFFFF%-?]/;function c(e=``){return s.test(e)}function l(e){return e.filter(([t,n],r)=>{if(t.startsWith(`$$`))return!1;for(let i=r-1;i>=0;i--)if(e[i][0]===t&&e[i][1]===n)return!1;return!0})}function u(e){return e==null?``:l(e).map(([e,t])=>t!=null&&typeof t!=`function`?e===`__virtual_key__`?t:`${e}:${t};`:void 0).filter(Boolean).join(``)}function d(e){return e}var f=Object.defineProperty,ee=Object.getOwnPropertyDescriptor,te=Object.getOwnPropertyNames,ne=Object.prototype.hasOwnProperty,re=(e,t)=>{let n={};for(var r in e)f(n,r,{get:e[r],enumerable:!0});return t||f(n,Symbol.toStringTag,{value:`Module`}),n},ie=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var i=te(t),a=0,o=i.length,s;a<o;a++)s=i[a],!ne.call(e,s)&&s!==n&&f(e,s,{get:(e=>t[e]).bind(null,s),enumerable:!(r=ee(t,s))||r.enumerable});return e},ae=(e,t,n)=>(ie(e,t,`default`),n&&ie(n,t,`default`)),oe=44,se=59,ce=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`,le=new Uint8Array(64),ue=new Uint8Array(128);for(let e=0;e<ce.length;e++){let t=ce.charCodeAt(e);le[e]=t,ue[t]=e}function p(e,t,n){let r=t-n;r=r<0?-r<<1|1:r<<1;do{let t=r&31;r>>>=5,r>0&&(t|=32),e.write(le[t])}while(r>0);return t}var de=1024*16,fe=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 n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return t}},pe=class{constructor(){this.pos=0,this.out=``,this.buffer=new Uint8Array(de)}write(e){let{buffer:t}=this;t[this.pos++]=e,this.pos===de&&(this.out+=fe.decode(t),this.pos=0)}flush(){let{buffer:e,out:t,pos:n}=this;return n>0?t+fe.decode(e.subarray(0,n)):t}};function me(e){let t=new pe,n=0,r=0,i=0,a=0;for(let o=0;o<e.length;o++){let s=e[o];if(o>0&&t.write(se),s.length===0)continue;let c=0;for(let e=0;e<s.length;e++){let o=s[e];e>0&&t.write(oe),c=p(t,o[0],c),o.length!==1&&(n=p(t,o[1],n),r=p(t,o[2],r),i=p(t,o[3],i),o.length!==4&&(a=p(t,o[4],a)))}}return t.flush()}var he=class e{constructor(t){this.bits=t instanceof e?t.bits.slice():[]}add(e){this.bits[e>>5]|=1<<(e&31)}has(e){return!!(this.bits[e>>5]&1<<(e&31))}},ge=class e{constructor(e,t,n){this.start=e,this.end=t,this.original=n,this.intro=``,this.outro=``,this.content=n,this.storeName=!1,this.edited=!1,this.previous=null,this.next=null}appendLeft(e){this.outro+=e}appendRight(e){this.intro+=e}clone(){let t=new e(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(e){return this.start<e&&e<this.end}eachNext(e){let t=this;for(;t;)e(t),t=t.next}eachPrevious(e){let t=this;for(;t;)e(t),t=t.previous}edit(e,t,n){return this.content=e,n||(this.intro=``,this.outro=``),this.storeName=t,this.edited=!0,this}prependLeft(e){this.outro=e+this.outro}prependRight(e){this.intro=e+this.intro}reset(){this.intro=``,this.outro=``,this.edited&&=(this.content=this.original,this.storeName=!1,!1)}split(t){let n=t-this.start,r=this.original.slice(0,n),i=this.original.slice(n);this.original=r;let a=new e(t,this.end,i);return a.outro=this.outro,this.outro=``,this.end=t,this.edited?(a.edit(``,!1),this.content=``):this.content=r,a.next=this.next,a.next&&(a.next.previous=a),a.previous=this,this.next=a,a}toString(){return this.intro+this.content+this.outro}trimEnd(e){if(this.outro=this.outro.replace(e,``),this.outro.length)return!0;let t=this.content.replace(e,``);if(t.length)return t!==this.content&&(this.split(this.start+t.length).edit(``,void 0,!0),this.edited&&this.edit(t,this.storeName,!0)),!0;if(this.edit(``,void 0,!0),this.intro=this.intro.replace(e,``),this.intro.length)return!0}trimStart(e){if(this.intro=this.intro.replace(e,``),this.intro.length)return!0;let t=this.content.replace(e,``);if(t.length){if(t!==this.content){let e=this.split(this.end-t.length);this.edited&&e.edit(t,this.storeName,!0),this.edit(``,void 0,!0)}return!0}else if(this.edit(``,void 0,!0),this.outro=this.outro.replace(e,``),this.outro.length)return!0}};function _e(){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 Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}let ve=_e();var ye=class{constructor(e){this.version=3,this.file=e.file,this.sources=e.sources,this.sourcesContent=e.sourcesContent,this.names=e.names,this.mappings=me(e.mappings),e.x_google_ignoreList!==void 0&&(this.x_google_ignoreList=e.x_google_ignoreList),e.debugId!==void 0&&(this.debugId=e.debugId)}toString(){return JSON.stringify(this)}toUrl(){return`data:application/json;charset=utf-8;base64,`+ve(this.toString())}};function be(e){let t=e.split(`
|
|
2
|
+
`),n=t.filter(e=>/^\t+/.test(e)),r=t.filter(e=>/^ {2,}/.test(e));if(n.length===0&&r.length===0)return null;if(n.length>=r.length)return` `;let i=r.reduce((e,t)=>{let n=/^ +/.exec(t)[0].length;return Math.min(n,e)},1/0);return Array(i+1).join(` `)}function xe(e,t){let n=e.split(/[/\\]/),r=t.split(/[/\\]/);for(n.pop();n[0]===r[0];)n.shift(),r.shift();if(n.length){let e=n.length;for(;e--;)n[e]=`..`}return n.concat(r).join(`/`)}let Se=Object.prototype.toString;function Ce(e){return Se.call(e)===`[object Object]`}function we(e){let t=e.split(`
|
|
3
|
+
`),n=[];for(let e=0,r=0;e<t.length;e++)n.push(r),r+=t[e].length+1;return function(e){let t=0,r=n.length;for(;t<r;){let i=t+r>>1;e<n[i]?r=i:t=i+1}let i=t-1;return{line:i,column:e-n[i]}}}let Te=/\w/;var Ee=class{constructor(e){this.hires=e,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null}addEdit(e,t,n,r){if(t.length){let i=t.length-1,a=t.indexOf(`
|
|
4
|
+
`,0),o=-1;for(;a>=0&&i>a;){let i=[this.generatedCodeColumn,e,n.line,n.column];r>=0&&i.push(r),this.rawSegments.push(i),this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,o=a,a=t.indexOf(`
|
|
5
|
+
`,a+1)}let s=[this.generatedCodeColumn,e,n.line,n.column];r>=0&&s.push(r),this.rawSegments.push(s),this.advance(t.slice(o+1))}else this.pending&&(this.rawSegments.push(this.pending),this.advance(t));this.pending=null}addUneditedChunk(e,t,n,r,i){let a=t.start,o=!0,s=!1;for(;a<t.end;){if(n[a]===`
|
|
6
|
+
`)r.line+=1,r.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,o=!0,s=!1;else{if(this.hires||o||i.has(a)){let t=[this.generatedCodeColumn,e,r.line,r.column];this.hires===`boundary`?Te.test(n[a])?s||=(this.rawSegments.push(t),!0):(this.rawSegments.push(t),s=!1):this.rawSegments.push(t)}r.column+=1,this.generatedCodeColumn+=1,o=!1}a+=1}this.pending=null}advance(e){if(!e)return;let t=e.split(`
|
|
7
|
+
`);if(t.length>1){for(let e=0;e<t.length-1;e++)this.generatedCodeLine++,this.raw[this.generatedCodeLine]=this.rawSegments=[];this.generatedCodeColumn=0}this.generatedCodeColumn+=t[t.length-1].length}};let De={insertLeft:!1,insertRight:!1,storeName:!1};var Oe=class e{constructor(e,t={}){let n=new ge(0,e.length,e);Object.defineProperties(this,{original:{writable:!0,value:e},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:t.filename},indentExclusionRanges:{writable:!0,value:t.indentExclusionRanges},sourcemapLocations:{writable:!0,value:new he},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:void 0},ignoreList:{writable:!0,value:t.ignoreList},offset:{writable:!0,value:t.offset||0}}),this.byStart[0]=n,this.byEnd[e.length]=n}addSourcemapLocation(e){this.sourcemapLocations.add(e)}append(e){if(typeof e!=`string`)throw TypeError(`outro content must be a string`);return this.outro+=e,this}appendLeft(e,t){if(e+=this.offset,typeof t!=`string`)throw TypeError(`inserted content must be a string`);this._split(e);let n=this.byEnd[e];return n?n.appendLeft(t):this.intro+=t,this}appendRight(e,t){if(e+=this.offset,typeof t!=`string`)throw TypeError(`inserted content must be a string`);this._split(e);let n=this.byStart[e];return n?n.appendRight(t):this.outro+=t,this}clone(){let t=new e(this.original,{filename:this.filename,offset:this.offset}),n=this.firstChunk,r=t.firstChunk=t.lastSearchedChunk=n.clone();for(;n;){t.byStart[r.start]=r,t.byEnd[r.end]=r;let e=n.next,i=e&&e.clone();i&&(r.next=i,i.previous=r,r=i),n=e}return t.lastChunk=r,this.indentExclusionRanges&&(t.indentExclusionRanges=this.indentExclusionRanges.slice()),t.sourcemapLocations=new he(this.sourcemapLocations),t.intro=this.intro,t.outro=this.outro,t}generateDecodedMap(e){e||={};let t=Object.keys(this.storedNames),n=new Ee(e.hires),r=we(this.original);return this.intro&&n.advance(this.intro),this.firstChunk.eachNext(e=>{let i=r(e.start);e.intro.length&&n.advance(e.intro),e.edited?n.addEdit(0,e.content,i,e.storeName?t.indexOf(e.original):-1):n.addUneditedChunk(0,e,this.original,i,this.sourcemapLocations),e.outro.length&&n.advance(e.outro)}),this.outro&&n.advance(this.outro),{file:e.file?e.file.split(/[/\\]/).pop():void 0,sources:[e.source?xe(e.file||``,e.source):e.file||``],sourcesContent:e.includeContent?[this.original]:void 0,names:t,mappings:n.raw,x_google_ignoreList:this.ignoreList?[0]:void 0}}generateMap(e){return new ye(this.generateDecodedMap(e))}_ensureindentStr(){this.indentStr===void 0&&(this.indentStr=be(this.original))}_getRawIndentString(){return this._ensureindentStr(),this.indentStr}getIndentString(){return this._ensureindentStr(),this.indentStr===null?` `:this.indentStr}indent(e,t){let n=/^[^\r\n]/gm;if(Ce(e)&&(t=e,e=void 0),e===void 0&&(this._ensureindentStr(),e=this.indentStr||` `),e===``)return this;t||={};let r={};t.exclude&&(typeof t.exclude[0]==`number`?[t.exclude]:t.exclude).forEach(e=>{for(let t=e[0];t<e[1];t+=1)r[t]=!0});let i=t.indentStart!==!1,a=t=>i?`${e}${t}`:(i=!0,t);this.intro=this.intro.replace(n,a);let o=0,s=this.firstChunk;for(;s;){let t=s.end;if(s.edited)r[o]||(s.content=s.content.replace(n,a),s.content.length&&(i=s.content[s.content.length-1]===`
|
|
8
|
+
`));else for(o=s.start;o<t;){if(!r[o]){let t=this.original[o];t===`
|
|
9
|
+
`?i=!0:t!==`\r`&&i&&(i=!1,o===s.start?s.prependRight(e):(this._splitChunk(s,o),s=s.next,s.prependRight(e)))}o+=1}o=s.end,s=s.next}return this.outro=this.outro.replace(n,a),this}insert(){throw Error(`magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)`)}insertLeft(e,t){return De.insertLeft||=(console.warn(`magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead`),!0),this.appendLeft(e,t)}insertRight(e,t){return De.insertRight||=(console.warn(`magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead`),!0),this.prependRight(e,t)}move(e,t,n){if(e+=this.offset,t+=this.offset,n+=this.offset,n>=e&&n<=t)throw Error(`Cannot move a selection inside itself`);this._split(e),this._split(t),this._split(n);let r=this.byStart[e],i=this.byEnd[t],a=r.previous,o=i.next,s=this.byStart[n];if(!s&&i===this.lastChunk)return this;let c=s?s.previous:this.lastChunk;return a&&(a.next=o),o&&(o.previous=a),c&&(c.next=r),s&&(s.previous=i),r.previous||(this.firstChunk=i.next),i.next||(this.lastChunk=r.previous,this.lastChunk.next=null),r.previous=c,i.next=s||null,c||(this.firstChunk=r),s||(this.lastChunk=i),this}overwrite(e,t,n,r){return r||={},this.update(e,t,n,{...r,overwrite:!r.contentOnly})}update(e,t,n,r){if(e+=this.offset,t+=this.offset,typeof n!=`string`)throw TypeError(`replacement content must be a string`);if(this.original.length!==0){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length}if(t>this.original.length)throw Error(`end is out of bounds`);if(e===t)throw Error(`Cannot overwrite a zero-length range – use appendLeft or prependRight instead`);this._split(e),this._split(t),r===!0&&(De.storeName||=(console.warn(`The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string`),!0),r={storeName:!0});let i=r===void 0?!1:r.storeName,a=r===void 0?!1:r.overwrite;if(i){let n=this.original.slice(e,t);Object.defineProperty(this.storedNames,n,{writable:!0,value:!0,enumerable:!0})}let o=this.byStart[e],s=this.byEnd[t];if(o){let e=o;for(;e!==s;){if(e.next!==this.byStart[e.end])throw Error(`Cannot overwrite across a split point`);e=e.next,e.edit(``,!1)}o.edit(n,i,!a)}else{let r=new ge(e,t,``).edit(n,i);s.next=r,r.previous=s}return this}prepend(e){if(typeof e!=`string`)throw TypeError(`outro content must be a string`);return this.intro=e+this.intro,this}prependLeft(e,t){if(e+=this.offset,typeof t!=`string`)throw TypeError(`inserted content must be a string`);this._split(e);let n=this.byEnd[e];return n?n.prependLeft(t):this.intro=t+this.intro,this}prependRight(e,t){if(e+=this.offset,typeof t!=`string`)throw TypeError(`inserted content must be a string`);this._split(e);let n=this.byStart[e];return n?n.prependRight(t):this.outro=t+this.outro,this}remove(e,t){if(e+=this.offset,t+=this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length}if(e===t)return this;if(e<0||t>this.original.length)throw Error(`Character is out of bounds`);if(e>t)throw Error(`end must be greater than start`);this._split(e),this._split(t);let n=this.byStart[e];for(;n;)n.intro=``,n.outro=``,n.edit(``),n=t>n.end?this.byStart[n.end]:null;return this}reset(e,t){if(e+=this.offset,t+=this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length}if(e===t)return this;if(e<0||t>this.original.length)throw Error(`Character is out of bounds`);if(e>t)throw Error(`end must be greater than start`);this._split(e),this._split(t);let n=this.byStart[e];for(;n;)n.reset(),n=t>n.end?this.byStart[n.end]:null;return this}lastChar(){if(this.outro.length)return this.outro[this.outro.length-1];let e=this.lastChunk;do{if(e.outro.length)return e.outro[e.outro.length-1];if(e.content.length)return e.content[e.content.length-1];if(e.intro.length)return e.intro[e.intro.length-1]}while(e=e.previous);return this.intro.length?this.intro[this.intro.length-1]:``}lastLine(){let e=this.outro.lastIndexOf(`
|
|
10
|
+
`);if(e!==-1)return this.outro.substr(e+1);let t=this.outro,n=this.lastChunk;do{if(n.outro.length>0){if(e=n.outro.lastIndexOf(`
|
|
11
|
+
`),e!==-1)return n.outro.substr(e+1)+t;t=n.outro+t}if(n.content.length>0){if(e=n.content.lastIndexOf(`
|
|
12
|
+
`),e!==-1)return n.content.substr(e+1)+t;t=n.content+t}if(n.intro.length>0){if(e=n.intro.lastIndexOf(`
|
|
13
|
+
`),e!==-1)return n.intro.substr(e+1)+t;t=n.intro+t}}while(n=n.previous);return e=this.intro.lastIndexOf(`
|
|
14
|
+
`),e===-1?this.intro+t:this.intro.substr(e+1)+t}slice(e=0,t=this.original.length-this.offset){if(e+=this.offset,t+=this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length}let n=``,r=this.firstChunk;for(;r&&(r.start>e||r.end<=e);){if(r.start<t&&r.end>=t)return n;r=r.next}if(r&&r.edited&&r.start!==e)throw Error(`Cannot use replaced character ${e} as slice start anchor.`);let i=r;for(;r;){r.intro&&(i!==r||r.start===e)&&(n+=r.intro);let a=r.start<t&&r.end>=t;if(a&&r.edited&&r.end!==t)throw Error(`Cannot use replaced character ${t} as slice end anchor.`);let o=i===r?e-r.start:0,s=a?r.content.length+t-r.end:r.content.length;if(n+=r.content.slice(o,s),r.outro&&(!a||r.end===t)&&(n+=r.outro),a)break;r=r.next}return n}snip(e,t){let n=this.clone();return n.remove(0,e),n.remove(t,n.original.length),n}_split(e){if(this.byStart[e]||this.byEnd[e])return;let t=this.lastSearchedChunk,n=t,r=e>t.end;for(;t;){if(t.contains(e))return this._splitChunk(t,e);if(t=r?this.byStart[t.end]:this.byEnd[t.start],t===n)return;n=t}}_splitChunk(e,t){if(e.edited&&e.content.length){let n=we(this.original)(t);throw Error(`Cannot split a chunk that has already been edited (${n.line}:${n.column} – "${e.original}")`)}let n=e.split(t);return this.byEnd[t]=e,this.byStart[t]=n,this.byEnd[n.end]=n,e===this.lastChunk&&(this.lastChunk=n),this.lastSearchedChunk=e,!0}toString(){let e=this.intro,t=this.firstChunk;for(;t;)e+=t.toString(),t=t.next;return e+this.outro}isEmpty(){let e=this.firstChunk;do if(e.intro.length&&e.intro.trim()||e.content.length&&e.content.trim()||e.outro.length&&e.outro.trim())return!1;while(e=e.next);return!0}length(){let e=this.firstChunk,t=0;do t+=e.intro.length+e.content.length+e.outro.length;while(e=e.next);return t}trimLines(){return this.trim(`[\\r\\n]`)}trim(e){return this.trimStart(e).trimEnd(e)}trimEndAborted(e){let t=RegExp((e||`\\s`)+`+$`);if(this.outro=this.outro.replace(t,``),this.outro.length)return!0;let n=this.lastChunk;do{let e=n.end,r=n.trimEnd(t);if(n.end!==e&&(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),r)return!0;n=n.previous}while(n);return!1}trimEnd(e){return this.trimEndAborted(e),this}trimStartAborted(e){let t=RegExp(`^`+(e||`\\s`)+`+`);if(this.intro=this.intro.replace(t,``),this.intro.length)return!0;let n=this.firstChunk;do{let e=n.end,r=n.trimStart(t);if(n.end!==e&&(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),r)return!0;n=n.next}while(n);return!1}trimStart(e){return this.trimStartAborted(e),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(e,t){function n(e,n){return typeof t==`string`?t.replace(/\$(\$|&|\d+)/g,(t,n)=>n===`$`?`$`:n===`&`?e[0]:+n<e.length?e[+n]:`$${n}`):t(...e,e.index,n,e.groups)}function r(e,t){let n,r=[];for(;n=e.exec(t);)r.push(n);return r}if(e.global)r(e,this.original).forEach(e=>{if(e.index!=null){let t=n(e,this.original);t!==e[0]&&this.overwrite(e.index,e.index+e[0].length,t)}});else{let t=this.original.match(e);if(t&&t.index!=null){let e=n(t,this.original);e!==t[0]&&this.overwrite(t.index,t.index+t[0].length,e)}}return this}_replaceString(e,t){let{original:n}=this,r=n.indexOf(e);return r!==-1&&(typeof t==`function`&&(t=t(e,r,n)),e!==t&&this.overwrite(r,r+e.length,t)),this}replace(e,t){return typeof e==`string`?this._replaceString(e,t):this._replaceRegexp(e,t)}_replaceAllString(e,t){let{original:n}=this,r=e.length;for(let i=n.indexOf(e);i!==-1;i=n.indexOf(e,i+r)){let e=n.slice(i,i+r),a=t;typeof t==`function`&&(a=t(e,i,n)),e!==a&&this.overwrite(i,i+r,a)}return this}replaceAll(e,t){if(typeof e==`string`)return this._replaceAllString(e,t);if(!e.global)throw TypeError(`MagicString.prototype.replaceAll called with a non-global RegExp argument`);return this._replaceRegexp(e,t)}},ke=t({PseudoClassFunctions:()=>rt,PseudoClassFunctionsStr:()=>S,PseudoClasses:()=>b,PseudoClassesAndElementsColonStr:()=>ut,PseudoClassesAndElementsStr:()=>lt,PseudoClassesColon:()=>x,PseudoClassesColonKeys:()=>nt,PseudoClassesColonStr:()=>ot,PseudoClassesKeys:()=>tt,PseudoClassesMulti:()=>it,PseudoClassesMultiStr:()=>st,PseudoClassesStr:()=>at,alphaPlaceholders:()=>Fe,alphaPlaceholdersRE:()=>Ie,calcMaxWidthBySize:()=>Ze,colorOpacityToString:()=>_,colorToString:()=>v,createPartClasses:()=>gt,createPseudoClassFunctions:()=>pt,createPseudoClassesAndElements:()=>ft,createTaggedPseudoClassMatcher:()=>dt,createTaggedPseudoClasses:()=>mt,createValueHandler:()=>Qe,cssColorFunctions:()=>je,excludedPseudo:()=>ct,getBracket:()=>Ae,getStringComponent:()=>m,getStringComponents:()=>h,hasIconFn:()=>et,hasThemeFn:()=>Je,hex2rgba:()=>Re,hueInterpolationMethods:()=>Pe,iconFnRE:()=>$e,isInterpolatedMethod:()=>Le,parseCssColor:()=>g,polarColorSpace:()=>Ne,rectangularColorSpace:()=>Me,themeFnRE:()=>qe,transformThemeFn:()=>Ye,transformThemeString:()=>Xe,variantGetBracket:()=>vt,variantGetParameter:()=>yt,variantMatcher:()=>_t,variantParentMatcher:()=>C});function Ae(e,t,n){if(e===``)return;let r=e.length,i=0,a=!1,o=0;for(let s=0;s<r;s++)switch(e[s]){case t:a||(a=!0,o=s),i++;break;case n:if(--i,i<0)return;if(i===0)return[e.slice(o,s+1),e.slice(s+1),e.slice(0,o)];break}}function m(e,t,n,r){if(e===``||(i(r)&&(r=[r]),r.length===0))return;let a=e.length,o=0;for(let i=0;i<a;i++)switch(e[i]){case t:o++;break;case n:if(--o<0)return;break;default:for(let t of r){let n=t.length;if(n&&t===e.slice(i,i+n)&&o===0)return i===0||i===a-n?void 0:[e.slice(0,i),e.slice(i+n)]}}return[e,``]}function h(e,t,n,r=`(`,i=`)`){n??=10;let a=[],o=0;for(;e!==``;){if(++o>n)return;let s=m(e,r,i,t);if(!s)return;let[c,l]=s;a.push(c),e=l}if(a.length>0)return a}let je=[`hsl`,`hsla`,`hwb`,`lab`,`lch`,`oklab`,`oklch`,`rgb`,`rgba`],Me=[`srgb`,`srgb-linear`,`display-p3`,`a98-rgb`,`prophoto-rgb`,`rec2020`,`lab`,`oklab`,`xyz`,`xyz-d50`,`xyz-d65`],Ne=[`hsl`,`hwb`,`lch`,`oklch`],Pe=[`shorter`,`longer`,`increasing`,`decreasing`],Fe=[`%alpha`,`<alpha-value>`],Ie=new RegExp(Fe.map(e=>a(e)).join(`|`),`g`);function Le(e){return e?Me.some(t=>e.includes(t))||Ne.some(t=>e.includes(t))||Pe.some(t=>e.includes(t)):!1}function Re(e=``){let t=Be(e);if(t!=null){let{components:e,alpha:n}=t;return n==null?e:[...e,n]}}function g(e=``){let t=ze(e);if(t==null||t===!1)return;let{type:n,components:r,alpha:i}=t,a=n.toLowerCase();if(r.length!==0&&!(je.includes(a)&&![1,3].includes(r.length)))return{type:a,components:r.map(e=>typeof e==`string`?e.trim():e),alpha:typeof i==`string`?i.trim():i}}function _(e){let t=e.alpha??1;return typeof t==`string`&&Fe.includes(t)?1:t}function v(e,t){if(typeof e==`string`)return e.replace(Ie,`${t??1}`);let{components:n}=e,{alpha:r,type:i}=e;return r=t??r,i=i.toLowerCase(),[`hsla`,`rgba`].includes(i)?`${i}(${n.join(`, `)}${r==null?``:`, ${r}`})`:(r=r==null?``:` / ${r}`,je.includes(i)?`${i}(${n.join(` `)}${r})`:`color(${i} ${n.join(` `)}${r})`)}function ze(e){if(!e)return;let t=Be(e);if(t!=null||(t=Ve(e),t!=null)||(t=He(e),t!=null)||(t=We(e),t!=null)||(t=Ge(e),t!=null))return t}function Be(e){let[,t]=e.match(/^#([\da-f]+)$/i)||[];if(t)switch(t.length){case 3:case 4:{let e=Array.from(t,e=>Number.parseInt(e,16)).map(e=>e<<4|e);return{type:`rgb`,components:e.slice(0,3),alpha:t.length===3?void 0:Math.round(e[3]/255*100)/100}}case 6:case 8:{let e=Number.parseInt(t,16);return{type:`rgb`,components:t.length===6?[e>>16&255,e>>8&255,e&255]:[e>>24&255,e>>16&255,e>>8&255],alpha:t.length===6?void 0:Math.round((e&255)/255*100)/100}}}}function Ve(e){let t={rebeccapurple:[102,51,153,1]}[e];if(t!=null)return{type:`rgb`,components:t.slice(0,3),alpha:t[3]}}function He(e){let t=e.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!t)return;let[,n,r]=t,i=h(r,`,`,5);if(i){if([3,4].includes(i.length))return{type:n,components:i.slice(0,3),alpha:i[3]};if(i.length!==1)return!1}}let Ue=RegExp(`^(${je.join(`|`)})\\((.+)\\)$`,`i`);function We(e){let t=e.match(Ue);if(!t)return;let[,n,r]=t,i=Ke(`${n} ${r}`);if(i){let{alpha:e,components:[t,...n]}=i;return{type:t,components:n,alpha:e}}}function Ge(e){let t=e.match(/^color\((.+)\)$/);if(!t)return;let n=Ke(t[1]);if(n){let{alpha:e,components:[t,...r]}=n;return{type:t,components:r,alpha:e}}}function Ke(e){let t=h(e,` `);if(!t)return;let n=t.length;if(t[n-2]===`/`)return{components:t.slice(0,n-2),alpha:t[n-1]};if(t[n-2]!=null&&(t[n-2].endsWith(`/`)||t[n-1].startsWith(`/`))){let e=t.splice(n-2);t.push(e.join(` `)),--n}let r=h(t[n-1],`/`,2);if(!r)return;if(r.length===1||r[r.length-1]===``)return{components:t};let i=r.pop();return t[n-1]=r.join(`/`),{components:t,alpha:i}}let qe=/theme\(\s*(['"])?(.*?)\1?\s*\)/g;function Je(e){return e.includes(`theme(`)&&e.includes(`)`)}function Ye(e,t,n=!0){let r=Array.from(e.toString().matchAll(qe));if(!r.length)return e;let i=new Oe(e);for(let e of r){let r=e[2];if(!r)throw Error(`theme() expect exact one argument, but got 0`);let a=Xe(r,t,n);a&&i.overwrite(e.index,e.index+e[0].length,a)}return i.toString()}function Xe(e,t,n=!0){let[r,i]=e.split(`/`),a=r.trim().split(`.`).reduce((e,t)=>e?.[t],t);if(typeof a==`object`&&(a=a.DEFAULT),typeof a==`string`){if(i){let e=g(a);e&&(a=v(e,i))}return a}else if(n)throw Error(`theme of "${e}" did not found`)}function Ze(e){let t=e.match(/^-?\d+\.?\d*/)?.[0]||``,n=e.slice(t.length);if(n===`px`){let r=Number.parseFloat(t)-.1;return Number.isNaN(r)?e:`${r}${n}`}return`calc(${e} - 0.1px)`}function Qe(e){let t=function(t,n){let r=this.__options?.sequence||[];this.__options.sequence=[];for(let i of r){let r=e[i](t,n);if(r!=null)return r}};function n(e,t){return e.__options||={sequence:[]},e.__options.sequence.push(t),e}for(let r of Object.keys(e))Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get(){return n(this,r)}});return t}let $e=/icon\(\s*(['"])?(.*?)\1?\s*\)/g;function et(e){return e.includes(`icon(`)&&e.includes(`)`)}let y=`__pseudo_placeholder__`,b=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(${y})`],[`nth-last`,`:nth-last-child(${y})`],[`nth-last-of-type`,`:nth-last-of-type(${y})`],[`nth-of-type`,`:nth-of-type(${y})`],`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`],[`details-content`,`::details-content`]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),tt=Object.keys(b),x=Object.fromEntries([[`backdrop`,`::backdrop`]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),nt=Object.keys(x),rt=[`not`,`is`,`where`,`has`],it=Object.fromEntries([[`selection`,[`::selection`,` *::selection`]],[`marker`,[`::marker`,` *::marker`]]]),at=Object.entries(b).filter(([,e])=>!e.startsWith(`::`)).map(([e])=>e).sort((e,t)=>t.length-e.length).join(`|`),ot=Object.entries(x).filter(([,e])=>!e.startsWith(`::`)).map(([e])=>e).sort((e,t)=>t.length-e.length).join(`|`),S=rt.join(`|`),st=Object.keys(it).sort((e,t)=>t.length-e.length).join(`|`),ct=[`::-webkit-resizer`,`::-webkit-scrollbar`,`::-webkit-scrollbar-button`,`::-webkit-scrollbar-corner`,`::-webkit-scrollbar-thumb`,`::-webkit-scrollbar-track`,`::-webkit-scrollbar-track-piece`,`::file-selector-button`],lt=Object.entries(b).map(([e])=>e).sort((e,t)=>t.length-e.length).join(`|`),ut=Object.entries(x).map(([e])=>e).sort((e,t)=>t.length-e.length).join(`|`);function dt(e,t,n,r){let{h:i,variantGetBracket:s}=r,c=RegExp(`^(${a(t)}:)(\\S+)${a(n)}\\1`),l,u,d,f,ee=n=>{let r=s(`${e}-`,n,[]);if(!r)return;let[a,c]=r,u=i.bracket(a);if(u==null)return;let d=c.split(l,1)?.[0]??``,f=`${t}${o(d)}`;return[d,n.slice(n.length-(c.length-d.length-1)),u.includes(`&`)?u.replace(/&/g,f):`${f}${u}`]},te=e=>{let n=e.match(u)||e.match(d);if(!n)return;let[r,i,a]=n,s=n[3]??``,c=b[a]||x[a]||`:${a}`;return i&&(c=`:${i}(${c})`),[s,e.slice(r.length),`${t}${o(s)}${c}`,a]},ne=e=>{let n=e.match(f);if(!n)return;let[r,i,a]=n,s=n[3]??``,c=`:${i}(${a})`;return[s,e.slice(r.length),`${t}${o(s)}${c}`]};return{name:`pseudo:${e}`,match(t,r){if(l&&u&&d||(l=RegExp(`(?:${r.generator.config.separators.join(`|`)})`),u=RegExp(`^${e}-(?:(?:(${S})-)?(${at}))(?:(/[\\w-]+))?(?:${r.generator.config.separators.join(`|`)})`),d=RegExp(`^${e}-(?:(?:(${S})-)?(${ot}))(?:(/[\\w-]+))?(?:${r.generator.config.separators.filter(e=>e!==`-`).join(`|`)})`),f=RegExp(`^${e}-(?:(${S})-)?\\[(.+)\\](?:(/[\\w-]+))?(?:${r.generator.config.separators.filter(e=>e!==`-`).join(`|`)})`)),!t.startsWith(e))return;let i=ee(t)||te(t)||ne(t);if(!i)return;let[a,o,s,re=``]=i;return{matcher:o,handle:(e,t)=>t({...e,prefix:`${s}${n}${e.prefix}`.replace(c,`$1$2:`),sort:tt.indexOf(re)??nt.indexOf(re)})}},multiPass:!0}}function ft(e){let{h:t}=e,n,r,i;return[{name:`pseudo`,match(e,i){n&&r||(n=RegExp(`^(${lt})(?:-(\\d+|\\[(\\w|[+-.])+\\]))?(?:${i.generator.config.separators.join(`|`)})`),r=RegExp(`^(${ut})(?:${i.generator.config.separators.filter(e=>e!==`-`).join(`|`)})`));let a=e.match(n)||e.match(r);if(a){let n=b[a[1]]||x[a[1]]||`:${a[1]}`;if(a[2]){let e;e=a[2].startsWith(`[`)&&a[2].endsWith(`]`)?t.bracket(a[2]):a[2],e&&(n=n.replace(y,e))}let r=tt.indexOf(a[1]);return r===-1&&(r=nt.indexOf(a[1])),r===-1&&(r=void 0),{matcher:e.slice(a[0].length),handle:(e,t)=>{let i=n.includes(`::`)&&!ct.includes(n)?{pseudo:`${e.pseudo}${n}`}:{selector:`${e.selector}${n}`};return t({...e,...i,sort:r,noMerge:!0})}}}},multiPass:!0,autocomplete:`(${lt}|${ut}):`},{name:`pseudo:multi`,match(e,t){i||=RegExp(`^(${st})(?:${t.generator.config.separators.join(`|`)})`);let n=e.match(i);if(n)return it[n[1]].map(t=>({matcher:e.slice(n[0].length),handle:(e,n)=>n({...e,pseudo:`${e.pseudo}${t}`})}))},multiPass:!1,autocomplete:`(${st}):`}]}function pt(e){let{getBracket:t,h:n}=e,r,i,a;return{match(e,o){r&&i||(r=RegExp(`^(${S})-(${at})(?:${o.generator.config.separators.join(`|`)})`),i=RegExp(`^(${S})-(${ot})(?:${o.generator.config.separators.filter(e=>e!==`-`).join(`|`)})`),a=RegExp(`^(${S})-(\\[.+\\])(?:${o.generator.config.separators.filter(e=>e!==`-`).join(`|`)})`));let s=e.match(r)||e.match(i)||e.match(a);if(s){let r=s[1],i=t(s[2],`[`,`]`)?n.bracket(s[2]):b[s[2]]||x[s[2]]||`:${s[2]}`;return{matcher:e.slice(s[0].length),selector:e=>`${e}:${r}(${i})`}}},multiPass:!0,autocomplete:`(${S})-(${at}|${ot}):`}}function mt(e,t){let n=!!e?.attributifyPseudo,r=e?.prefix??``;r=o((Array.isArray(r)?r:[r]).filter(Boolean)[0]??``);let i=(e,i)=>dt(e,n?`[${r}${e}=""]`:`.${r}${e}`,i,t);return[i(`group`,` `),i(`peer`,`~`),i(`parent`,`>`),i(`previous`,`+`)]}let ht=/(part-\[(.+)\]:)(.+)/;function gt(){return{match(e){let t=e.match(ht);if(t){let n=`part(${t[2]})`;return{matcher:e.slice(t[1].length),selector:e=>`${e}::${n}`}}},multiPass:!0}}function _t(e,t,n={}){let i;return{name:e,match(o,s){i||=RegExp(`^${a(e)}(?:${s.generator.config.separators.join(`|`)})`);let c=o.match(i);if(c){let e=o.slice(c[0].length),i=r(t).map(t=>({matcher:e,handle:(e,n)=>n({...e,...t(e)}),...n}));return i.length===1?i[0]:i}},autocomplete:`${e}:`}}function C(e,t){let n;return{name:e,match(r,i){n||=RegExp(`^${a(e)}(?:${i.generator.config.separators.join(`|`)})`);let o=r.match(n);if(o)return{matcher:r.slice(o[0].length),handle:(e,n)=>n({...e,parent:`${e.parent?`${e.parent} $$ `:``}${t}`})}},autocomplete:`${e}:`}}function vt(e,t,n){if(t.startsWith(`${e}[`)){let[r,i]=Ae(t.slice(e.length),`[`,`]`)??[];if(r&&i){for(let e of n)if(i.startsWith(e))return[r,i.slice(e.length),e];return[r,i,``]}}}function yt(e,t,n){for(let i of r(e))if(t.startsWith(i)){let e=vt(i,t,n);if(e){let[t=``,r=e[1]]=yt(`/`,e[1],n)??[];return[e[0],r,t]}for(let e of n.filter(e=>e!==`/`)){let n=t.indexOf(e,i.length);if(n!==-1){let r=t.indexOf(`/`,i.length),a=r===-1||n<=r;return[t.slice(i.length,a?n:r),t.slice(n+e.length),a?``:t.slice(r+1,n)]}}}}let w={l:[`-left`],r:[`-right`],t:[`-top`],b:[`-bottom`],s:[`-inline-start`],e:[`-inline-end`],x:[`-left`,`-right`],y:[`-top`,`-bottom`],"":[``],bs:[`-block-start`],be:[`-block-end`],is:[`-inline-start`],ie:[`-inline-end`],block:[`-block-start`,`-block-end`],inline:[`-inline-start`,`-inline-end`]},bt={...w,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`]},xt={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`]},St={x:[`-x`],y:[`-y`],z:[`-z`],"":[`-x`,`-y`]},Ct=[`x`,`y`,`z`],wt=[`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`],T=Object.assign({},...wt.map(e=>({[e.replace(/ /,`-`)]:e})),...wt.map(e=>({[e.replace(/\b(\w)\w+/g,`$1`).replace(/ /,``)]:e}))),E=[`inherit`,`initial`,`revert`,`revert-layer`,`unset`],Tt=/^(calc|clamp|min|max)\s*\((.+)\)(.*)/,Et=/^(var)\s*\((.+)\)(.*)/,Dt=/^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i,Ot=/^(-?\d*(?:\.\d+)?)$/,kt=/^(px|[sld]?v[wh])$/i,At={px:1,vw:100,vh:100,svw:100,svh:100,dvw:100,dvh:100,lvh:100,lvw:100},jt=/^\[(color|image|length|size|position|quoted|string):/i,Mt=/,(?![^()]*\))/g;var Nt=re({auto:()=>It,bracket:()=>Ut,bracketOfColor:()=>Wt,bracketOfLength:()=>Gt,bracketOfPosition:()=>Kt,cssvar:()=>qt,degree:()=>Yt,fraction:()=>Vt,global:()=>Xt,number:()=>zt,numberWithUnit:()=>Ft,percent:()=>Bt,position:()=>Qt,properties:()=>Zt,px:()=>Rt,rem:()=>Lt,time:()=>Jt});let Pt=`color.border-color.background-color.outline-color.text-decoration-color.flex-grow.flex.flex-shrink.grid.grid-template-columns.grid-template-rows.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`.split(`.`);function D(e){return+e.toFixed(10)}function Ft(e){let t=e.match(Dt);if(!t)return;let[,n,r]=t,i=Number.parseFloat(n);if(r&&!Number.isNaN(i))return`${D(i)}${r}`}function It(e){if(e===`auto`||e===`a`)return`auto`}function Lt(e){if(!e)return;if(kt.test(e))return`${At[e]}${e}`;let t=e.match(Dt);if(!t)return;let[,n,r]=t,i=Number.parseFloat(n);if(!Number.isNaN(i))return i===0?`0`:r?`${D(i)}${r}`:`${D(i/4)}rem`}function Rt(e){if(kt.test(e))return`${At[e]}${e}`;let t=e.match(Dt);if(!t)return;let[,n,r]=t,i=Number.parseFloat(n);if(!Number.isNaN(i))return r?`${D(i)}${r}`:`${D(i)}px`}function zt(e){if(!Ot.test(e))return;let t=Number.parseFloat(e);if(!Number.isNaN(t))return D(t)}function Bt(e){if(e.endsWith(`%`)&&(e=e.slice(0,-1)),!Ot.test(e))return;let t=Number.parseFloat(e);if(!Number.isNaN(t))return`${D(t/100)}`}function Vt(e){if(!e)return;if(e===`full`)return`100%`;let[t,n]=e.split(`/`),r=Number.parseFloat(t)/Number.parseFloat(n);if(!Number.isNaN(r))return r===0?`0`:`${D(r*100)}%`}function Ht(e,t){if(e&&e.startsWith(`[`)&&e.endsWith(`]`)){let n,r,i=e.match(jt);if(i?(t||(r=i[1]),n=e.slice(i[0].length,-1)):n=e.slice(1,-1),!n||n===`=""`)return;n.startsWith(`--`)&&(n=`var(${n})`);let a=0;for(let e of n)if(e===`[`)a+=1;else if(e===`]`&&(--a,a<0))return;if(a)return;switch(r){case`string`:return n.replace(/(^|[^\\])_/g,`$1 `).replace(/\\_/g,`_`);case`quoted`:return n.replace(/(^|[^\\])_/g,`$1 `).replace(/\\_/g,`_`).replace(/(["\\])/g,`\\$1`).replace(/^(.+)$/,`"$1"`)}return n.replace(/(url\(.*?\))/g,e=>e.replace(/_/g,`\\_`)).replace(/(^|[^\\])_/g,`$1 `).replace(/\\_/g,`_`).replace(/(?:calc|clamp|max|min)\((.*)/g,e=>{let t=[];return e.replace(/var\((--.+?)[,)]/g,(e,n)=>(t.push(n),e.replace(n,`--un-calc`))).replace(/(-?\d*\.?\d(?!-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,`$1 $2 `).replace(/--un-calc/g,()=>t.shift())})}}function Ut(e){return Ht(e)}function Wt(e){return Ht(e,`color`)}function Gt(e){return Ht(e,`length`)}function Kt(e){return Ht(e,`position`)}function qt(e){if(/^\$[^\s'"`;{}]/.test(e)){let[t,n]=e.slice(1).split(`,`);return`var(--${o(t)}${n?`, ${n}`:``})`}}function Jt(e){let t=e.match(/^(-?[0-9.]+)(s|ms)?$/i);if(!t)return;let[,n,r]=t,i=Number.parseFloat(n);if(!Number.isNaN(i))return i===0&&!r?`0s`:r?`${D(i)}${r}`:`${D(i)}ms`}function Yt(e){let t=e.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);if(!t)return;let[,n,r]=t,i=Number.parseFloat(n);if(!Number.isNaN(i))return i===0?`0deg`:r?`${D(i)}${r}`:`${D(i)}deg`}function Xt(e){if(E.includes(e))return e}function Zt(e){if(e.split(`,`).every(e=>Pt.includes(e)))return e}function Qt(e){if([`top`,`left`,`right`,`bottom`,`center`].includes(e))return e}let $t=Qe(Nt),O=$t,en=`$$mini-no-negative`;function k(e){return([t,n,r],{theme:i})=>{let a=i.spacing?.[r||`DEFAULT`]??O.bracket.cssvar.global.auto.fraction.rem(r);if(a!=null)return w[n].map(t=>[`${e}${t}`,a]);if(r?.startsWith(`-`)){let t=i.spacing?.[r.slice(1)];if(t!=null)return w[n].map(n=>[`${e}${n}`,`calc(${t} * -1)`])}}}function tn(e,t,n=`colors`){let r=e[n];function i(e,t){if(t.length===0)return e;if(!(!e||typeof e!=`object`))for(let n=t.length;n>0;n--){let r=t.slice(0,n).join(`-`),a=e[r.replace(/(-[a-z])/g,e=>e.slice(1).toUpperCase())]??e[r];if(a!=null)return n===t.length?a:i(a,t.slice(n))}}return i(r,t)}function nn(e,t,n){return tn(e,t,n)||tn(e,t,`colors`)}function rn(e,t){let[n,r]=m(e,`[`,`]`,[`/`,`:`])??[];if(n!=null){let e=(n.match(jt)??[])[1];if(e==null||e===t)return[n,r]}}function A(e,t,n){let r=rn(e,`color`);if(!r)return;let[i,a]=r,o=i.replace(/([a-z])(\d)/g,`$1-$2`).split(/-/g),[s]=o;if(!s)return;let c,l=O.bracketOfColor(i),u=l||i;if(O.numberWithUnit(u))return;if(/^#[\da-f]+$/i.test(u)?c=u:/^hex-[\da-fA-F]+$/.test(u)?c=`#${u.slice(4)}`:i.startsWith(`$`)&&(c=O.cssvar(i)),c||=l,!c){let e=nn(t,[i],n);typeof e==`string`&&(c=e)}let d=`DEFAULT`;if(!c){let e=o,r,[i]=o.slice(-1);/^\d+$/.test(i)&&(d=r=i,e=o.slice(0,-1));let a=nn(t,e,n);typeof a==`object`?c=a[r??d]:typeof a==`string`&&!r&&(c=a)}return{opacity:a,name:s,no:d,color:c,cssColor:g(c),alpha:O.bracket.cssvar.percent(a??``)}}function j(e,t,n,r){return([,i],{theme:a,generator:o})=>{let s=A(i??``,a,n);if(!s)return;let{alpha:c,color:l,cssColor:u}=s,d=o.config.envMode===`dev`&&l?` /* ${l} */`:``,f={};if(u)if(c!=null)f[e]=v(u,c)+d;else{let n=`--un-${t}-opacity`,r=v(u,`var(${n})`);r.includes(n)&&(f[n]=_(u)),f[e]=r+d}else if(l)if(c!=null)f[e]=v(l,c)+d;else{let n=`--un-${t}-opacity`,r=v(l,`var(${n})`);r.includes(n)&&(f[n]=1),f[e]=r+d}if(r?.(f)!==!1)return f}}function M(e,t){let n=[];e=r(e);for(let r=0;r<e.length;r++){let i=h(e[r],` `,6);if(!i||i.length<3)return e;let a=!1,o=i.indexOf(`inset`);o!==-1&&(i.splice(o,1),a=!0);let s=``,c=i.at(-1);if(g(i.at(0))){let e=g(i.shift());e&&(s=`, ${v(e)}`)}else if(g(c)){let e=g(i.pop());e&&(s=`, ${v(e)}`)}else c&&c.startsWith(`var(`)&&(s=`, ${i.pop()}`);n.push(`${a?`inset `:``}${i.join(` `)} var(${t}${s})`)}return n}function N(e,t,n){return e!=null&&!!A(e,t,n)?.color}let an=/[a-z]+/gi,on=new WeakMap;function P({theme:e,generator:t},n=`breakpoints`){let r=t?.userConfig?.theme?.[n]||e[n];if(!r)return;if(on.has(e))return on.get(e);let i=Object.entries(r).sort((e,t)=>Number.parseInt(e[1].replace(an,``))-Number.parseInt(t[1].replace(an,``))).map(([e,t])=>({point:e,size:t}));return on.set(e,i),i}function sn(e){return P(e,`verticalBreakpoints`)}function F(e,t){return E.map(n=>[`${e}-${n}`,{[t??e]:n}])}function I(e){return e!=null&&Tt.test(e)}function cn(e){return e[0]===`[`&&e.slice(-1)===`]`&&(e=e.slice(1,-1)),Tt.test(e)||Dt.test(e)}function L(e,t,n){let r=t.split(Mt);return e||!e&&r.length===1?St[e].map(e=>[`--un-${n}${e}`,t]):r.map((e,t)=>[`--un-${n}-${Ct[t]}`,e])}var R=re({CONTROL_MINI_NO_NEGATIVE:()=>en,colorResolver:()=>j,colorableShadows:()=>M,cornerMap:()=>xt,cssMathFnRE:()=>Tt,cssVarFnRE:()=>Et,directionMap:()=>w,directionSize:()=>k,globalKeywords:()=>E,h:()=>O,handler:()=>$t,hasParseableColor:()=>N,insetMap:()=>bt,isCSSMathFn:()=>I,isSize:()=>cn,makeGlobalStaticRules:()=>F,parseColor:()=>A,positionMap:()=>T,resolveBreakpoints:()=>P,resolveVerticalBreakpoints:()=>sn,splitShorthand:()=>rn,transformXYZ:()=>L,valueHandlers:()=>Nt,xyzArray:()=>Ct,xyzMap:()=>St});ae(R,ke);var z=re({CONTROL_MINI_NO_NEGATIVE:()=>en,colorResolver:()=>j,colorableShadows:()=>M,cornerMap:()=>xt,cssMathFnRE:()=>Tt,cssVarFnRE:()=>Et,directionMap:()=>w,directionSize:()=>k,globalKeywords:()=>E,h:()=>O,handler:()=>$t,hasParseableColor:()=>N,insetMap:()=>bt,isCSSMathFn:()=>I,isSize:()=>cn,makeGlobalStaticRules:()=>F,parseColor:()=>A,positionMap:()=>T,resolveBreakpoints:()=>P,resolveVerticalBreakpoints:()=>sn,splitShorthand:()=>rn,transformXYZ:()=>L,valueHandlers:()=>Nt,xyzArray:()=>Ct,xyzMap:()=>St});ae(z,R);let ln=/@media \(min-width: (.+)\)/,un=[[/^__container$/,(e,t)=>{let{theme:n,variantHandlers:r}=t,a=n.container?.padding,o;o=i(a)?a:a?.DEFAULT;let s=n.container?.maxWidth,c;for(let e of r){let n=e.handle?.({},e=>e)?.parent;if(i(n)){let e=n.match(ln)?.[1];if(e){let n=(P(t)??[]).find(t=>t.size===e)?.point;s?n&&(c=s?.[n]):c=e,n&&!i(a)&&(o=a?.[n]??o)}}}let l={"max-width":c};return r.length||(l.width=`100%`),n.container?.center&&(l[`margin-left`]=`auto`,l[`margin-right`]=`auto`),a&&(l[`padding-left`]=o,l[`padding-right`]=o),l},{internal:!0}]],dn=[[/^(?:(\w+)[:-])?container$/,([,e],t)=>{let n=(P(t)??[]).map(e=>e.point);if(e){if(!n.includes(e))return;n=n.slice(n.indexOf(e))}let r=n.map(e=>`${e}:__container`);return e||r.unshift(`__container`),r}]],fn={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(E.map(e=>[e,e]))},pn=[[/^(?:vertical|align|v)-(.+)$/,([,e])=>({"vertical-align":fn[e]??O.bracket.cssvar.numberWithUnit(e)}),{autocomplete:[`(vertical|align|v)-(${Object.keys(fn).join(`|`)})`,`(vertical|align|v)-<percentage>`]}]],mn=[`center`,`left`,`right`,`justify`,`start`,`end`],hn=[...mn.map(e=>[`text-${e}`,{"text-align":e}]),...[...E,...mn].map(e=>[`text-align-${e}`,{"text-align":e}])],gn=[[/^outline-(?:width-|size-)?(.+)$/,_n,{autocomplete:`outline-(width|size)-<num>`}],[/^outline-(?:color-)?(.+)$/,vn,{autocomplete:`outline-$colors`}],[/^outline-offset-(.+)$/,([,e],{theme:t})=>({"outline-offset":t.lineWidth?.[e]??O.bracket.cssvar.global.px(e)}),{autocomplete:`outline-(offset)-<num>`}],[`outline`,{"outline-style":`solid`}],...[`auto`,`dashed`,`dotted`,`double`,`hidden`,`solid`,`groove`,`ridge`,`inset`,`outset`,...E].map(e=>[`outline-${e}`,{"outline-style":e}]),[`outline-none`,{outline:`2px solid transparent`,"outline-offset":`2px`}]];function _n([,e],{theme:t}){return{"outline-width":t.lineWidth?.[e]??O.bracket.cssvar.global.px(e)}}function vn(e,t){return I(O.bracket(e[1]))?_n(e,t):j(`outline-color`,`outline-color`,`borderColor`)(e,t)}let yn=[[`appearance-auto`,{"-webkit-appearance":`auto`,appearance:`auto`}],[`appearance-none`,{"-webkit-appearance":`none`,appearance:`none`}]];function bn(e){return O.properties.auto.global(e)??{contents:`contents`,scroll:`scroll-position`}[e]}let xn=[[/^will-change-(.+)/,([,e])=>({"will-change":bn(e)})]],B=[`solid`,`dashed`,`dotted`,`double`,`hidden`,`none`,`groove`,`ridge`,`inset`,`outset`,...E],Sn=[[/^(?:border|b)()(?:-(.+))?$/,V,{autocomplete:`(border|b)-<directions>`}],[/^(?:border|b)-([xy])(?:-(.+))?$/,V],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,V],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,V],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,V],[/^(?:border|b)-()(?:width|size)-(.+)$/,V,{autocomplete:[`(border|b)-<num>`,`(border|b)-<directions>-<num>`]}],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,V],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,V],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,V],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,V],[/^(?:border|b)-()(?:color-)?(.+)$/,H,{autocomplete:[`(border|b)-$colors`,`(border|b)-<directions>-$colors`]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,H],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,H],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,H],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,H],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,U,{autocomplete:`(border|b)-(op|opacity)-<percent>`}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,U],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,U],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,U],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,U],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,W,{autocomplete:[`(border|b)-(rounded|rd)`,`(border|b)-(rounded|rd)-$borderRadius`,`(rounded|rd)`,`(rounded|rd)-$borderRadius`]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltbse])(?:-(.+))?$/,W],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,W],[/^(?:border-|b-)?(?:rounded|rd)-([bise][se])(?:-(.+))?$/,W],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,W],[/^(?:border|b)-(?:style-)?()(.+)$/,Tn,{autocomplete:[`(border|b)-style`,`(border|b)-(${B.join(`|`)})`,`(border|b)-<directions>-style`,`(border|b)-<directions>-(${B.join(`|`)})`,`(border|b)-<directions>-style-(${B.join(`|`)})`,`(border|b)-style-(${B.join(`|`)})`]}],[/^(?:border|b)-([xy])-(?:style-)?(.+)$/,Tn],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,Tn],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,Tn],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,Tn]];function Cn(e,t,n){if(t!=null)return{[`border${n}-color`]:v(e,t)};if(n===``){let t={},n=`--un-border-opacity`,r=v(e,`var(${n})`);return r.includes(n)&&(t[n]=typeof e==`string`?1:_(e)),t[`border-color`]=r,t}else{let t={},r=`--un-border-opacity`,i=`--un-border${n}-opacity`,a=v(e,`var(${i})`);return a.includes(i)&&(t[r]=typeof e==`string`?1:_(e),t[i]=`var(${r})`),t[`border${n}-color`]=a,t}}function wn(e){return([,t],n)=>{let r=A(t,n,`borderColor`);if(!r)return;let{alpha:i,color:a,cssColor:o}=r;if(o)return Cn(o,i,e);if(a)return Cn(a,i,e)}}function V([,e=``,t],{theme:n}){let r=n.lineWidth?.[t||`DEFAULT`]??O.bracket.cssvar.global.px(t||`1`);if(e in w&&r!=null)return w[e].map(e=>[`border${e}-width`,r])}function H([,e=``,t],n){if(e in w){if(I(O.bracket(t)))return V([``,e,t],n);if(N(t,n.theme,`borderColor`))return Object.assign({},...w[e].map(e=>wn(e)([``,t],n.theme)))}}function U([,e=``,t]){let n=O.bracket.percent.cssvar(t);if(e in w&&n!=null)return w[e].map(e=>[`--un-border${e}-opacity`,n])}function W([,e=``,t],{theme:n}){let r=n.borderRadius?.[t||`DEFAULT`]||O.bracket.cssvar.global.fraction.rem(t||`1`);if(e in xt&&r!=null)return xt[e].map(e=>[`border${e}-radius`,r])}function Tn([,e=``,t]){if(B.includes(t)&&e in w)return w[e].map(e=>[`border${e}-style`,t])}let En=[[/^op(?:acity)?-?(.+)$/,([,e])=>({opacity:O.bracket.percent.cssvar(e)})]],Dn=/^\[url\(.+\)\]$/,On=/^\[(?:length|size):.+\]$/,kn=/^\[position:.+\]$/,An=/^\[(?:linear|conic|radial)-gradient\(.+\)\]$/,jn=/^\[image:.+\]$/,Mn=[[/^bg-(.+)$/,(...e)=>{let t=e[0][1];if(Dn.test(t))return{"--un-url":O.bracket(t),"background-image":`var(--un-url)`};if(On.test(t)&&O.bracketOfLength(t)!=null)return{"background-size":O.bracketOfLength(t).split(` `).map(e=>O.fraction.auto.px.cssvar(e)??e).join(` `)};if((cn(t)||kn.test(t))&&O.bracketOfPosition(t)!=null)return{"background-position":O.bracketOfPosition(t).split(` `).map(e=>O.position.fraction.auto.px.cssvar(e)??e).join(` `)};if(An.test(t)||jn.test(t)){let e=O.bracket(t);if(e)return{"background-image":(e.startsWith(`http`)?`url(${e})`:O.cssvar(e))??e}}return j(`background-color`,`bg`,`backgroundColor`)(...e)},{autocomplete:`bg-$colors`}],[/^bg-op(?:acity)?-?(.+)$/,([,e])=>({"--un-bg-opacity":O.bracket.percent.cssvar(e)}),{autocomplete:`bg-(op|opacity)-<percent>`}]],Nn=[[/^color-scheme-(\w+)$/,([,e])=>({"color-scheme":e})]],Pn=[[/^@container(?:\/(\w+))?(?:-(normal|inline-size|size))?$/,([,e,t])=>({"container-type":t??`inline-size`,"container-name":e})]],Fn=[`solid`,`double`,`dotted`,`dashed`,`wavy`,...E],In=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,e])=>({"text-decoration-line":e}),{autocomplete:`decoration-(underline|overline|line-through)`}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,Ln,{autocomplete:`(underline|decoration)-<num>`}],[/^(?:underline|decoration)-(auto|from-font)$/,([,e])=>({"text-decoration-thickness":e}),{autocomplete:`(underline|decoration)-(auto|from-font)`}],[/^(?:underline|decoration)-(.+)$/,Rn,{autocomplete:`(underline|decoration)-$colors`}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-line-opacity":O.bracket.percent.cssvar(e)}),{autocomplete:`(underline|decoration)-(op|opacity)-<percent>`}],[/^(?:underline|decoration)-offset-(.+)$/,([,e],{theme:t})=>({"text-underline-offset":t.lineWidth?.[e]??O.auto.bracket.cssvar.global.px(e)}),{autocomplete:`(underline|decoration)-(offset)-<num>`}],...Fn.map(e=>[`underline-${e}`,{"text-decoration-style":e}]),...Fn.map(e=>[`decoration-${e}`,{"text-decoration-style":e}]),[`no-underline`,{"text-decoration":`none`}],[`decoration-none`,{"text-decoration":`none`}]];function Ln([,e],{theme:t}){return{"text-decoration-thickness":t.lineWidth?.[e]??O.bracket.cssvar.global.px(e)}}function Rn(e,t){if(I(O.bracket(e[1])))return Ln(e,t);let n=j(`text-decoration-color`,`line`,`borderColor`)(e,t);if(n)return{"-webkit-text-decoration-color":n[`text-decoration-color`],...n}}let zn=[[`flex`,{display:`flex`}],[`inline-flex`,{display:`inline-flex`}],[`flex-inline`,{display:`inline-flex`}],[/^flex-(.*)$/,([,e])=>({flex:O.bracket(e)==null?O.cssvar.fraction(e):O.bracket(e).split(` `).map(e=>O.cssvar.fraction(e)??e).join(` `)})],[`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":O.bracket.cssvar.number(e)??1}),{autocomplete:[`flex-shrink-<num>`,`shrink-<num>`]}],[/^(?:flex-)?grow(?:-(.*))?$/,([,e=``])=>({"flex-grow":O.bracket.cssvar.number(e)??1}),{autocomplete:[`flex-grow-<num>`,`grow-<num>`]}],[/^(?:flex-)?basis-(.+)$/,([,e],{theme:t})=>({"flex-basis":t.spacing?.[e]??O.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`}]],Bn={"":``,x:`column-`,y:`row-`,col:`column-`,row:`row-`};function Vn([,e=``,t],{theme:n}){let r=n.spacing?.[t]??O.bracket.cssvar.global.rem(t);if(r!=null)return{[`${Bn[e]}gap`]:r}}let Hn=[[/^(?:flex-|grid-)?gap-?()(.+)$/,Vn,{autocomplete:[`gap-$spacing`,`gap-<num>`]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,Vn,{autocomplete:[`gap-(x|y)-$spacing`,`gap-(x|y)-<num>`]}],[/^(?:flex-|grid-)?gap-(col|row)-?(.+)$/,Vn,{autocomplete:[`gap-(col|row)-$spacing`,`gap-(col|row)-<num>`]}]];function G(e){return e.replace(`col`,`column`)}function Un(e){return e[0]===`r`?`Row`:`Column`}function Wn(e,t,n){let r=t[`gridAuto${Un(e)}`]?.[n];if(r!=null)return r;switch(n){case`min`:return`min-content`;case`max`:return`max-content`;case`fr`:return`minmax(0,1fr)`}return O.bracket.cssvar.auto.rem(n)}let Gn=[[`grid`,{display:`grid`}],[`inline-grid`,{display:`inline-grid`}],[/^(?:grid-)?(row|col)-(.+)$/,([,e,t],{theme:n})=>({[`grid-${G(e)}`]:n[`grid${Un(e)}`]?.[t]??O.bracket.cssvar.auto(t)})],[/^(?:grid-)?(row|col)-span-(.+)$/,([,e,t])=>{if(t===`full`)return{[`grid-${G(e)}`]:`1/-1`};let n=O.bracket.number(t);if(n!=null)return{[`grid-${G(e)}`]:`span ${n}/span ${n}`}},{autocomplete:`(grid-row|grid-col|row|col)-span-<num>`}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,e,t])=>({[`grid-${G(e)}-start`]:O.bracket.cssvar(t)??t})],[/^(?:grid-)?(row|col)-end-(.+)$/,([,e,t])=>({[`grid-${G(e)}-end`]:O.bracket.cssvar(t)??t}),{autocomplete:`(grid-row|grid-col|row|col)-(start|end)-<num>`}],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,e,t],{theme:n})=>({[`grid-auto-${G(e)}`]:Wn(e,n,t)}),{autocomplete:`(grid-auto|auto)-(rows|cols)-<num>`}],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,e])=>({"grid-auto-flow":O.bracket.cssvar(e)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)$/,([,e])=>({"grid-auto-flow":G(e).replace(`-`,` `)}),{autocomplete:[`(grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)`]}],[/^(?:grid-)?(rows|cols)-(.+)$/,([,e,t],{theme:n})=>({[`grid-template-${G(e)}`]:n[`gridTemplate${Un(e)}`]?.[t]??O.bracket.cssvar(t)})],[/^(?:grid-)?(rows|cols)-minmax-([\w.-]+)$/,([,e,t])=>({[`grid-template-${G(e)}`]:`repeat(auto-fill,minmax(${t},1fr))`})],[/^(?:grid-)?(rows|cols)-(\d+)$/,([,e,t])=>({[`grid-template-${G(e)}`]:`repeat(${t},minmax(0,1fr))`}),{autocomplete:`(grid-rows|grid-cols|rows|cols)-<num>`}],[/^grid-area(s)?-(.+)$/,([,e,t])=>e==null?{"grid-area":O.bracket.cssvar(t)}:{"grid-template-areas":O.cssvar(t)??t.split(`-`).map(e=>`"${O.bracket(e)}"`).join(` `)}],[`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`}]],Kn=[`auto`,`hidden`,`clip`,`visible`,`scroll`,`overlay`,...E],qn=[[/^(?:overflow|of)-(.+)$/,([,e])=>Kn.includes(e)?{overflow:e}:void 0,{autocomplete:[`(overflow|of)-(${Kn.join(`|`)})`,`(overflow|of)-(x|y)-(${Kn.join(`|`)})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,e,t])=>Kn.includes(t)?{[`overflow-${e}`]:t}:void 0]],Jn=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,e])=>({position:e}),{autocomplete:[`(position|pos)-<position>`,`(position|pos)-<globalKeyword>`,`<position>`]}],[/^(?:position-|pos-)([-\w]+)$/,([,e])=>E.includes(e)?{position:e}:void 0],[/^(?:position-|pos-)?(static)$/,([,e])=>({position:e})]],Yn=[[`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`}],...F(`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`}],...F(`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`}],...F(`justify-self`)],Xn=[[/^order-(.+)$/,([,e])=>({order:O.bracket.cssvar.number(e)})],[`order-first`,{order:`-9999`}],[`order-last`,{order:`9999`}],[`order-none`,{order:`0`}]],Zn=[[`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`}],...F(`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`}],...F(`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`}],...F(`self`,`align-self`)],Qn=[[`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`}],...F(`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`}],...F(`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`}],...F(`place-self`)],$n=[...Yn,...Zn,...Qn].flatMap(([e,t])=>[[`flex-${e}`,t],[`grid-${e}`,t]]);function er(e,{theme:t}){return t.spacing?.[e]??O.bracket.cssvar.global.auto.fraction.rem(e)}function tr([,e,t],n){let r=er(t,n);if(r!=null&&e in bt)return bt[e].map(e=>[e.slice(1),r])}let nr=[[/^(?:position-|pos-)?inset-(.+)$/,([,e],t)=>({inset:er(e,t)}),{autocomplete:[`(position|pos)-inset-<directions>-$spacing`,`(position|pos)-inset-(block|inline)-$spacing`,`(position|pos)-inset-(bs|be|is|ie)-$spacing`,`(position|pos)-(top|left|right|bottom)-$spacing`]}],[/^(?:position-|pos-)?(start|end)-(.+)$/,tr],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,tr],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,tr],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,tr],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,tr],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,e,t],n)=>({[e]:er(t,n)})]],rr=[[`float-left`,{float:`left`}],[`float-right`,{float:`right`}],[`float-start`,{float:`inline-start`}],[`float-end`,{float:`inline-end`}],[`float-none`,{float:`none`}],...F(`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`}],...F(`clear`)],ir=[[/^(?:position-|pos-)?z([\d.]+)$/,([,e])=>({"z-index":O.number(e)})],[/^(?:position-|pos-)?z-(.+)$/,([,e],{theme:t})=>({"z-index":t.zIndex?.[e]??O.bracket.cssvar.global.auto.number(e)}),{autocomplete:`z-<num>`}]],ar=[[`box-border`,{"box-sizing":`border-box`}],[`box-content`,{"box-sizing":`content-box`}],...F(`box`,`box-sizing`)],or=[[/^(where|\?)$/,(e,{constructCSS:t,generator:n})=>{if(n.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`})}`}]],sr=`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`.split(`.`),cr=[`none`,`strict`,`content`,`size`,`inline-size`,`layout`,`style`,`paint`],lr=[[`inline`,{display:`inline`}],[`block`,{display:`block`}],[`inline-block`,{display:`inline-block`}],[`contents`,{display:`contents`}],[`flow-root`,{display:`flow-root`}],[`list-item`,{display:`list-item`}],[`hidden`,{display:`none`}],[/^display-(.+)$/,([,e])=>({display:O.bracket.cssvar.global(e)})]],ur=[[`visible`,{visibility:`visible`}],[`invisible`,{visibility:`hidden`}],[`backface-visible`,{"backface-visibility":`visible`}],[`backface-hidden`,{"backface-visibility":`hidden`}],...F(`backface`,`backface-visibility`)],dr=[[/^cursor-(.+)$/,([,e])=>({cursor:O.bracket.cssvar.global(e)})],...sr.map(e=>[`cursor-${e}`,{cursor:e}])],fr=[[/^contain-(.*)$/,([,e])=>O.bracket(e)==null?cr.includes(e)?{contain:e}:void 0:{contain:O.bracket(e).split(` `).map(e=>O.cssvar.fraction(e)??e).join(` `)}]],pr=[[`pointer-events-auto`,{"pointer-events":`auto`}],[`pointer-events-none`,{"pointer-events":`none`}],...F(`pointer-events`)],mr=[[`resize-x`,{resize:`horizontal`}],[`resize-y`,{resize:`vertical`}],[`resize`,{resize:`both`}],[`resize-none`,{resize:`none`}],...F(`resize`)],hr=[[`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`}],...F(`select`,`user-select`)],gr=[[/^(?:whitespace-|ws-)([-\w]+)$/,([,e])=>[`normal`,`nowrap`,`pre`,`pre-line`,`pre-wrap`,`break-spaces`,...E].includes(e)?{"white-space":e}:void 0,{autocomplete:`(whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)`}]],_r=[[/^intrinsic(?:-(block|inline|w|h))?(?:-size)?-(.+)$/,([,e,t])=>({[`contain-intrinsic-${{block:`block-size`,inline:`inline-size`,w:`width`,h:`height`}[e]??`size`}`]:O.bracket.cssvar.global.fraction.rem(t)}),{autocomplete:[`intrinsic-size-<num>`,`intrinsic-<num>`,`intrinsic-(block|inline|w|h)-<num>`]}],[`content-visibility-visible`,{"content-visibility":`visible`}],[`content-visibility-hidden`,{"content-visibility":`hidden`}],[`content-visibility-auto`,{"content-visibility":`auto`}],...F(`content-visibility`)],vr=[[/^content-(.+)$/,([,e])=>({content:O.bracket.cssvar(e)})],[`content-empty`,{content:`""`}],[`content-none`,{content:`none`}]],yr=[[`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`}]],br=[[`text-wrap`,{"text-wrap":`wrap`}],[`text-nowrap`,{"text-wrap":`nowrap`}],[`text-balance`,{"text-wrap":`balance`}],[`text-pretty`,{"text-wrap":`pretty`}]],xr=[[`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`}]],Sr=[[`case-upper`,{"text-transform":`uppercase`}],[`case-lower`,{"text-transform":`lowercase`}],[`case-capital`,{"text-transform":`capitalize`}],[`case-normal`,{"text-transform":`none`}],...F(`case`,`text-transform`)],Cr=[[`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`}]],wr=[[`antialiased`,{"-webkit-font-smoothing":`antialiased`,"-moz-osx-font-smoothing":`grayscale`}],[`subpixel-antialiased`,{"-webkit-font-smoothing":`auto`,"-moz-osx-font-smoothing":`auto`}]],Tr=[[`field-sizing-fixed`,{"field-sizing":`fixed`}],[`field-sizing-content`,{"field-sizing":`content`}]],Er={"--un-ring-inset":` `,"--un-ring-offset-width":`0px`,"--un-ring-offset-color":`#fff`,"--un-ring-width":`0px`,"--un-ring-color":`rgb(147 197 253 / 0.5)`,"--un-shadow":`0 0 rgb(0 0 0 / 0)`},Dr=[[/^ring(?:-(.+))?$/,([,e],{theme:t})=>{let n=t.ringWidth?.[e||`DEFAULT`]??O.px(e||`1`);if(n)return{"--un-ring-width":n,"--un-ring-offset-shadow":`var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color)`,"--un-ring-shadow":`var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color)`,"box-shadow":`var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)`}},{custom:{preflightKeys:Object.keys(Er)},autocomplete:`ring-$ringWidth`}],[/^ring-(?:width-|size-)(.+)$/,Or,{autocomplete:`ring-(width|size)-$lineWidth`}],[`ring-offset`,{"--un-ring-offset-width":`1px`}],[/^ring-offset-(?:width-|size-)?(.+)$/,([,e],{theme:t})=>({"--un-ring-offset-width":t.lineWidth?.[e]??O.bracket.cssvar.px(e)}),{autocomplete:`ring-offset-(width|size)-$lineWidth`}],[/^ring-(.+)$/,kr,{autocomplete:`ring-$colors`}],[/^ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-opacity":O.bracket.percent.cssvar(e)}),{autocomplete:`ring-(op|opacity)-<percent>`}],[/^ring-offset-(.+)$/,j(`--un-ring-offset-color`,`ring-offset`,`borderColor`),{autocomplete:`ring-offset-$colors`}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-offset-opacity":O.bracket.percent.cssvar(e)}),{autocomplete:`ring-offset-(op|opacity)-<percent>`}],[`ring-inset`,{"--un-ring-inset":`inset`}]];function Or([,e],{theme:t}){return{"--un-ring-width":t.ringWidth?.[e]??O.bracket.cssvar.px(e)}}function kr(e,t){return I(O.bracket(e[1]))?Or(e,t):j(`--un-ring-color`,`ring`,`borderColor`)(e,t)}let Ar={"--un-ring-offset-shadow":`0 0 rgb(0 0 0 / 0)`,"--un-ring-shadow":`0 0 rgb(0 0 0 / 0)`,"--un-shadow-inset":` `,"--un-shadow":`0 0 rgb(0 0 0 / 0)`},jr=[[/^shadow(?:-(.+))?$/,(e,t)=>{let[,n]=e,{theme:r}=t,i=r.boxShadow?.[n||`DEFAULT`],a=n?O.bracket.cssvar(n):void 0;return(i!=null||a!=null)&&!N(a,r,`shadowColor`)?{"--un-shadow":M(i||a,`--un-shadow-color`).join(`,`),"box-shadow":`var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)`}:j(`--un-shadow-color`,`shadow`,`shadowColor`)(e,t)},{custom:{preflightKeys:Object.keys(Ar)},autocomplete:[`shadow-$colors`,`shadow-$boxShadow`]}],[/^shadow-op(?:acity)?-?(.+)$/,([,e])=>({"--un-shadow-opacity":O.bracket.percent.cssvar(e)}),{autocomplete:`shadow-(op|opacity)-<percent>`}],[`shadow-inset`,{"--un-shadow-inset":`inset`}]],Mr={h:`height`,w:`width`,inline:`inline-size`,block:`block-size`};function K(e,t){return`${e||``}${Mr[t]}`}function Nr(e,t,n,r){let i=n[K(e,t).replace(/-(\w)/g,(e,t)=>t.toUpperCase())]?.[r];if(i!=null)return i;switch(r){case`fit`:case`max`:case`min`:return`${r}-content`;case`stretch`:return`stretch`}return O.bracket.cssvar.global.auto.fraction.rem(r)}let Pr=[[/^size-(min-|max-)?(.+)$/,([,e,t],{theme:n})=>({[K(e,`w`)]:Nr(e,`w`,n,t),[K(e,`h`)]:Nr(e,`h`,n,t)})],[/^(?:size-)?(min-|max-)?([wh])-?(.+)$/,([,e,t,n],{theme:r})=>({[K(e,t)]:Nr(e,t,r,n)})],[/^(?:size-)?(min-|max-)?(block|inline)-(.+)$/,([,e,t,n],{theme:r})=>({[K(e,t)]:Nr(e,t,r,n)}),{autocomplete:[`(w|h)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize`,`(block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize`,`(max|min)-(w|h|block|inline)`,`(max|min)-(w|h|block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize`,`(w|h)-full`,`(max|min)-(w|h)-full`]}],[/^(?:size-)?(min-|max-)?(h)-screen-(.+)$/,([,e,t,n],r)=>({[K(e,t)]:Fr(r,n,`verticalBreakpoints`)})],[/^(?:size-)?(min-|max-)?(w)-screen-(.+)$/,([,e,t,n],r)=>({[K(e,t)]:Fr(r,n)}),{autocomplete:[`(w|h)-screen`,`(min|max)-(w|h)-screen`,`h-screen-$verticalBreakpoints`,`(min|max)-h-screen-$verticalBreakpoints`,`w-screen-$breakpoints`,`(min|max)-w-screen-$breakpoints`]}]];function Fr(e,t,n=`breakpoints`){let r=P(e,n);if(r)return r.find(e=>e.point===t)?.size}function Ir(e){if(/^\d+\/\d+$/.test(e))return e;switch(e){case`square`:return`1/1`;case`video`:return`16/9`}return O.bracket.cssvar.global.auto.number(e)}let Lr=[[/^(?:size-)?aspect-(?:ratio-)?(.+)$/,([,e])=>({"aspect-ratio":Ir(e)}),{autocomplete:[`aspect-(square|video|ratio)`,`aspect-ratio-(square|video)`]}]],Rr=[[/^pa?()-?(.+)$/,k(`padding`),{autocomplete:[`(m|p)<num>`,`(m|p)-<num>`]}],[/^p-?xy()()$/,k(`padding`),{autocomplete:`(m|p)-(xy)`}],[/^p-?([xy])(?:-?(.+))?$/,k(`padding`)],[/^p-?([rltbse])(?:-?(.+))?$/,k(`padding`),{autocomplete:`(m|p)<directions>-<num>`}],[/^p-(block|inline)(?:-(.+))?$/,k(`padding`),{autocomplete:`(m|p)-(block|inline)-<num>`}],[/^p-?([bi][se])(?:-?(.+))?$/,k(`padding`),{autocomplete:`(m|p)-(bs|be|is|ie)-<num>`}]],zr=[[/^ma?()-?(.+)$/,k(`margin`)],[/^m-?xy()()$/,k(`margin`)],[/^m-?([xy])(?:-?(.+))?$/,k(`margin`)],[/^m-?([rltbse])(?:-?(.+))?$/,k(`margin`)],[/^m-(block|inline)(?:-(.+))?$/,k(`margin`)],[/^m-?([bi][se])(?:-?(.+))?$/,k(`margin`)]],Br=[[/^fill-(.+)$/,j(`fill`,`fill`,`backgroundColor`),{autocomplete:`fill-$colors`}],[/^fill-op(?:acity)?-?(.+)$/,([,e])=>({"--un-fill-opacity":O.bracket.percent.cssvar(e)}),{autocomplete:`fill-(op|opacity)-<percent>`}],[`fill-none`,{fill:`none`}],[/^stroke-(?:width-|size-)?(.+)$/,Vr,{autocomplete:[`stroke-width-$lineWidth`,`stroke-size-$lineWidth`]}],[/^stroke-dash-(.+)$/,([,e])=>({"stroke-dasharray":O.bracket.cssvar.number(e)}),{autocomplete:`stroke-dash-<num>`}],[/^stroke-offset-(.+)$/,([,e],{theme:t})=>({"stroke-dashoffset":t.lineWidth?.[e]??O.bracket.cssvar.px.numberWithUnit(e)}),{autocomplete:`stroke-offset-$lineWidth`}],[/^stroke-(.+)$/,Hr,{autocomplete:`stroke-$colors`}],[/^stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-stroke-opacity":O.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 Vr([,e],{theme:t}){return{"stroke-width":t.lineWidth?.[e]??O.bracket.cssvar.fraction.px.number(e)}}function Hr(e,t){return I(O.bracket(e[1]))?Vr(e,t):j(`stroke`,`stroke`,`borderColor`)(e,t)}let Ur=[`translate`,`rotate`,`scale`],Wr=[`translateX(var(--un-translate-x))`,`translateY(var(--un-translate-y))`,`rotate(var(--un-rotate))`,`rotateZ(var(--un-rotate-z))`,`skewX(var(--un-skew-x))`,`skewY(var(--un-skew-y))`,`scaleX(var(--un-scale-x))`,`scaleY(var(--un-scale-y))`].join(` `),q=[`translateX(var(--un-translate-x))`,`translateY(var(--un-translate-y))`,`translateZ(var(--un-translate-z))`,`rotate(var(--un-rotate))`,`rotateX(var(--un-rotate-x))`,`rotateY(var(--un-rotate-y))`,`rotateZ(var(--un-rotate-z))`,`skewX(var(--un-skew-x))`,`skewY(var(--un-skew-y))`,`scaleX(var(--un-scale-x))`,`scaleY(var(--un-scale-y))`,`scaleZ(var(--un-scale-z))`].join(` `),Gr=[`translate3d(var(--un-translate-x), var(--un-translate-y), var(--un-translate-z))`,`rotate(var(--un-rotate))`,`rotateX(var(--un-rotate-x))`,`rotateY(var(--un-rotate-y))`,`rotateZ(var(--un-rotate-z))`,`skewX(var(--un-skew-x))`,`skewY(var(--un-skew-y))`,`scaleX(var(--un-scale-x))`,`scaleY(var(--un-scale-y))`,`scaleZ(var(--un-scale-z))`].join(` `),Kr={"--un-rotate":0,"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-scale-x":1,"--un-scale-y":1,"--un-scale-z":1,"--un-skew-x":0,"--un-skew-y":0,"--un-translate-x":0,"--un-translate-y":0,"--un-translate-z":0},J=Object.keys(Kr),qr=[[/^(?:transform-)?origin-(.+)$/,([,e])=>({"transform-origin":T[e]??O.bracket.cssvar(e)}),{autocomplete:[`transform-origin-(${Object.keys(T).join(`|`)})`,`origin-(${Object.keys(T).join(`|`)})`]}],[/^(transform-)?perspect(?:ive)?-(.+)$/,([,e,t])=>{let n=O.bracket.cssvar.px.numberWithUnit(t);if(n!=null)return e?{"--un-perspective":`perspective(${n})`,transform:`var(--un-perspective) ${q}`}:{"-webkit-perspective":n,perspective:n}}],[/^perspect(?:ive)?-origin-(.+)$/,([,e])=>{let t=O.bracket.cssvar(e)??(e.length>=3?T[e]:void 0);if(t!=null)return{"-webkit-perspective-origin":t,"perspective-origin":t}}],[/^(?:transform-)?translate-()(.+)$/,Jr,{custom:{preflightKeys:J}}],[/^(?:transform-)?translate-([xyz])-(.+)$/,Jr,{custom:{preflightKeys:J}}],[/^(?:transform-)?rotate-()(.+)$/,Xr,{custom:{preflightKeys:J}}],[/^(?:transform-)?rotate-([xyz])-(.+)$/,Xr,{custom:{preflightKeys:J}}],[/^(?:transform-)?skew-()(.+)$/,Zr,{custom:{preflightKeys:J}}],[/^(?:transform-)?skew-([xy])-(.+)$/,Zr,{custom:{preflightKeys:J},autocomplete:[`transform-skew-(x|y)-<percent>`,`skew-(x|y)-<percent>`]}],[/^(?:transform-)?scale-()(.+)$/,Yr,{custom:{preflightKeys:J}}],[/^(?:transform-)?scale-([xyz])-(.+)$/,Yr,{custom:{preflightKeys:J},autocomplete:[`transform-(${Ur.join(`|`)})-<percent>`,`transform-(${Ur.join(`|`)})-(x|y|z)-<percent>`,`(${Ur.join(`|`)})-<percent>`,`(${Ur.join(`|`)})-(x|y|z)-<percent>`]}],[/^(?:transform-)?preserve-3d$/,()=>({"transform-style":`preserve-3d`})],[/^(?:transform-)?preserve-flat$/,()=>({"transform-style":`flat`})],[`transform`,{transform:q},{custom:{preflightKeys:J}}],[`transform-cpu`,{transform:Wr},{custom:{preflightKeys:[`--un-translate-x`,`--un-translate-y`,`--un-rotate`,`--un-rotate-z`,`--un-skew-x`,`--un-skew-y`,`--un-scale-x`,`--un-scale-y`]}}],[`transform-gpu`,{transform:Gr},{custom:{preflightKeys:J}}],[`transform-none`,{transform:`none`}],...F(`transform`)];function Jr([,e,t],{theme:n}){let r=n.spacing?.[t]??O.bracket.cssvar.fraction.rem(t);if(r!=null)return[...L(e,r,`translate`),[`transform`,q]]}function Yr([,e,t]){let n=O.bracket.cssvar.fraction.percent(t);if(n!=null)return[...L(e,n,`scale`),[`transform`,q]]}function Xr([,e=``,t]){let n=O.bracket.cssvar.degree(t);if(n!=null)return e?{"--un-rotate":0,[`--un-rotate-${e}`]:n,transform:q}:{"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-rotate":n,transform:q}}function Zr([,e,t]){let n=O.bracket.cssvar.degree(t);if(n!=null)return[...L(e,n,`skew`),[`transform`,q]]}function Qr(e,t){let n;if(O.cssvar(e)!=null)n=O.cssvar(e);else{e.startsWith(`[`)&&e.endsWith(`]`)&&(e=e.slice(1,-1));let r=e.split(`,`).map(e=>t.transitionProperty?.[e]??O.properties(e));r.every(Boolean)&&(n=r.join(`,`))}return n}let $r=[[/^transition(?:-(\D+?))?(?:-(\d+))?$/,([,e,t],{theme:n})=>{if(!e&&!t)return{"transition-property":n.transitionProperty?.DEFAULT,"transition-timing-function":n.easing?.DEFAULT,"transition-duration":n.duration?.DEFAULT??O.time(`150`)};if(e!=null){let r=Qr(e,n),i=n.duration?.[t||`DEFAULT`]??O.time(t||`150`);if(r)return{"transition-property":r,"transition-timing-function":n.easing?.DEFAULT,"transition-duration":i}}else if(t!=null)return{"transition-property":n.transitionProperty?.DEFAULT,"transition-timing-function":n.easing?.DEFAULT,"transition-duration":n.duration?.[t]??O.time(t)}},{autocomplete:`transition-$transitionProperty-$duration`}],[/^(?:transition-)?duration-(.+)$/,([,e],{theme:t})=>({"transition-duration":t.duration?.[e||`DEFAULT`]??O.bracket.cssvar.time(e)}),{autocomplete:[`transition-duration-$duration`,`duration-$duration`]}],[/^(?:transition-)?delay-(.+)$/,([,e],{theme:t})=>({"transition-delay":t.duration?.[e||`DEFAULT`]??O.bracket.cssvar.time(e)}),{autocomplete:[`transition-delay-$duration`,`delay-$duration`]}],[/^(?:transition-)?ease(?:-(.+))?$/,([,e],{theme:t})=>({"transition-timing-function":t.easing?.[e||`DEFAULT`]??O.bracket.cssvar(e)}),{autocomplete:[`transition-ease-(linear|in|out|in-out|DEFAULT)`,`ease-(linear|in|out|in-out|DEFAULT)`]}],[/^(?:transition-)?property-(.+)$/,([,e],{theme:t})=>{let n=O.global(e)||Qr(e,t);if(n)return{"transition-property":n}},{autocomplete:[`transition-property-(${[...E].join(`|`)})`,`transition-property-$transitionProperty`,`property-$transitionProperty`]}],[`transition-none`,{transition:`none`}],...F(`transition`),[`transition-discrete`,{"transition-behavior":`allow-discrete`}],[`transition-normal`,{"transition-behavior":`normal`}]],ei=[[/^text-(.+)$/,ci,{autocomplete:`text-$fontSize`}],[/^(?:text|font)-size-(.+)$/,oi,{autocomplete:`text-size-$fontSize`}],[/^text-(?:color-)?(.+)$/,si,{autocomplete:`text-$colors`}],[/^(?:color|c)-(.+)$/,j(`color`,`text`,`textColor`),{autocomplete:`(color|c)-$colors`}],[/^(?:text|color|c)-(.+)$/,([,e])=>E.includes(e)?{color:e}:void 0,{autocomplete:`(text|color|c)-(${E.join(`|`)})`}],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-opacity":O.bracket.percent.cssvar(e)}),{autocomplete:`(text|color|c)-(op|opacity)-<percent>`}],[/^(?:font|fw)-?([^-]+)$/,([,e],{theme:t})=>({"font-weight":t.fontWeight?.[e]||O.bracket.global.number(e)}),{autocomplete:[`(font|fw)-(100|200|300|400|500|600|700|800|900)`,`(font|fw)-$fontWeight`]}],[/^(?:font-)?(?:leading|lh|line-height)-(.+)$/,([,e],{theme:t})=>({"line-height":ai(e,t,`lineHeight`)}),{autocomplete:`(leading|lh|line-height)-$lineHeight`}],[`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":O.bracket.cssvar.global(e)})],[/^(?:font-)?tracking-(.+)$/,([,e],{theme:t})=>({"letter-spacing":t.letterSpacing?.[e]||O.bracket.cssvar.global.rem(e)}),{autocomplete:`tracking-$letterSpacing`}],[/^(?:font-)?word-spacing-(.+)$/,([,e],{theme:t})=>({"word-spacing":t.wordSpacing?.[e]||O.bracket.cssvar.global.rem(e)}),{autocomplete:`word-spacing-$wordSpacing`}],[`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":O.bracket.cssvar.fraction.global(e)}),{autocomplete:`font-stretch-<percentage>`}],[/^font-(.+)$/,([,e],{theme:t})=>({"font-family":t.fontFamily?.[e]||O.bracket.cssvar.global(e)}),{autocomplete:`font-$fontFamily`}]],ti=[[/^tab(?:-(.+))?$/,([,e])=>{let t=O.bracket.cssvar.global.number(e||`4`);if(t!=null)return{"-moz-tab-size":t,"-o-tab-size":t,"tab-size":t}}]],ni=[[/^indent(?:-(.+))?$/,([,e],{theme:t})=>({"text-indent":t.textIndent?.[e||`DEFAULT`]||O.bracket.cssvar.global.fraction.rem(e)}),{autocomplete:`indent-$textIndent`}]],ri=[[/^text-stroke(?:-(.+))?$/,([,e],{theme:t})=>({"-webkit-text-stroke-width":t.textStrokeWidth?.[e||`DEFAULT`]||O.bracket.cssvar.px(e)}),{autocomplete:`text-stroke-$textStrokeWidth`}],[/^text-stroke-(.+)$/,j(`-webkit-text-stroke-color`,`text-stroke`,`borderColor`),{autocomplete:`text-stroke-$colors`}],[/^text-stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-stroke-opacity":O.bracket.percent.cssvar(e)}),{autocomplete:`text-stroke-(op|opacity)-<percent>`}]],ii=[[/^text-shadow(?:-(.+))?$/,([,e],{theme:t})=>{let n=t.textShadow?.[e||`DEFAULT`];return n==null?{"text-shadow":O.bracket.cssvar.global(e)}:{"--un-text-shadow":M(n,`--un-text-shadow-color`).join(`,`),"text-shadow":`var(--un-text-shadow)`}},{autocomplete:`text-shadow-$textShadow`}],[/^text-shadow-color-(.+)$/,j(`--un-text-shadow-color`,`text-shadow`,`shadowColor`),{autocomplete:`text-shadow-color-$colors`}],[/^text-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-shadow-opacity":O.bracket.percent.cssvar(e)}),{autocomplete:`text-shadow-color-(op|opacity)-<percent>`}]];function ai(e,t,n){return t[n]?.[e]||O.bracket.cssvar.global.rem(e)}function oi([,e],{theme:t}){let n=r(t.fontSize?.[e])?.[0]??O.bracket.cssvar.global.rem(e);if(n!=null)return{"font-size":n}}function si(e,t){return I(O.bracket(e[1]))?oi(e,t):j(`color`,`text`,`textColor`)(e,t)}function ci([,e=`base`],{theme:t}){let n=rn(e,`length`);if(!n)return;let[i,a]=n,o=r(t.fontSize?.[i]),s=a?ai(a,t,`lineHeight`):void 0;if(o?.[0]){let[e,n,r]=o;return typeof n==`object`?{"font-size":e,...n}:{"font-size":e,"line-height":s??n??`1`,"letter-spacing":r?ai(r,t,`letterSpacing`):void 0}}let c=O.bracketOfLength.rem(i);return s&&c?{"font-size":c,"line-height":s}:{"font-size":O.bracketOfLength.rem(e)}}let li={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`},ui=[[/^(.+?)-(\$.+)$/,([,e,t])=>{let n=li[e];if(n)return{[n]:O.cssvar(t)}}]],di=[[/^\[(.*)\]$/,([e,t])=>{if(!t.includes(`:`))return;let[n,...r]=t.split(`:`),i=r.join(`:`);if(!pi(t)&&/^[\w-]+$/.test(n)&&fi(i)){let e=O.bracket(`[${i}]`);if(e)return{[n]:e}}}]];function fi(e){let t=0;function n(n){for(;t<e.length;)if(t+=1,e[t]===n)return!0;return!1}for(t=0;t<e.length;t++){let r=e[t];if(`"\`'`.includes(r)){if(!n(r))return!1}else if(r===`(`){if(!n(`)`))return!1}else if(`[]{}:`.includes(r))return!1}return!0}function pi(e){if(!e.includes(`://`))return!1;try{return new URL(e).host!==``}catch{return!1}}let mi=[ui,di,fr,pr,ur,Jn,nr,ir,Xn,Gn,rr,zr,ar,lr,Lr,Pr,zn,qr,dr,hr,mr,yn,Qn,Zn,Yn,Hn,$n,qn,xr,gr,yr,Sn,Mn,Nn,Br,Rr,hn,ni,br,pn,ei,Sr,Cr,In,wr,ti,ri,ii,En,jr,gn,Dr,$r,xn,_r,vr,Pn,Tr,or].flat(1),hi=[[/^(?:animate-)?keyframes-(.+)$/,([,e],{theme:t})=>{let n=t.animation?.keyframes?.[e];if(n)return[`@keyframes ${e}${n}`,{animation:e}]},{autocomplete:[`animate-keyframes-$animation.keyframes`,`keyframes-$animation.keyframes`]}],[/^animate-(.+)$/,([,e],{theme:t})=>{let n=t.animation?.keyframes?.[e];if(n){let r=t.animation?.durations?.[e]??`1s`,i=t.animation?.timingFns?.[e]??`linear`,a=t.animation?.counts?.[e]??1,o=t.animation?.properties?.[e];return[`@keyframes ${e}${n}`,{animation:`${e} ${r} ${i} ${a}`,...o}]}return{animation:O.bracket.cssvar(e)}},{autocomplete:`animate-$animation.keyframes`}],[/^animate-name-(.+)/,([,e])=>({"animation-name":O.bracket.cssvar(e)??e})],[/^animate-duration-(.+)$/,([,e],{theme:t})=>({"animation-duration":t.duration?.[e||`DEFAULT`]??O.bracket.cssvar.time(e)}),{autocomplete:[`animate-duration`,`animate-duration-$duration`]}],[/^animate-delay-(.+)$/,([,e],{theme:t})=>({"animation-delay":t.duration?.[e||`DEFAULT`]??O.bracket.cssvar.time(e)}),{autocomplete:[`animate-delay`,`animate-delay-$duration`]}],[/^animate-ease(?:-(.+))?$/,([,e],{theme:t})=>({"animation-timing-function":t.easing?.[e||`DEFAULT`]??O.bracket.cssvar(e)}),{autocomplete:[`animate-ease`,`animate-ease-$easing`]}],[/^animate-(fill-mode-|fill-|mode-)?(.+)$/,([,e,t])=>[`none`,`forwards`,`backwards`,`both`,e?E:[]].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?E:[]].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":O.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?E:[]].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`}],...F(`animate`,`animation`)];function gi(e){return e?v(e,0):`rgb(255 255 255 / 0)`}function _i(e,t,n,r){return t?r==null?v(t,`var(--un-${e}-opacity, ${_(t)})`):v(t,r):v(n,r)}function vi(){return([,e,t],{theme:n})=>{let r=A(t,n,`backgroundColor`);if(!r)return;let{alpha:i,color:a,cssColor:o}=r;if(!a)return;let s=_i(e,o,a,i);switch(e){case`from`:return{"--un-gradient-from-position":`0%`,"--un-gradient-from":`${s} var(--un-gradient-from-position)`,"--un-gradient-to-position":`100%`,"--un-gradient-to":`${gi(o)} var(--un-gradient-to-position)`,"--un-gradient-stops":`var(--un-gradient-from), var(--un-gradient-to)`};case`via`:return{"--un-gradient-via-position":`50%`,"--un-gradient-to":gi(o),"--un-gradient-stops":`var(--un-gradient-from), ${s} var(--un-gradient-via-position), var(--un-gradient-to)`};case`to`:return{"--un-gradient-to-position":`100%`,"--un-gradient-to":`${s} var(--un-gradient-to-position)`}}}}function yi(){return([,e,t])=>({[`--un-gradient-${e}-position`]:`${Number(O.bracket.cssvar.percent(t))*100}%`})}let bi=[[/^bg-gradient-(.+)$/,([,e])=>({"--un-gradient":O.bracket(e)}),{autocomplete:[`bg-gradient`,`bg-gradient-(from|to|via)`,`bg-gradient-(from|to|via)-$colors`,`bg-gradient-(from|to|via)-(op|opacity)`,`bg-gradient-(from|to|via)-(op|opacity)-<percent>`]}],[/^(?:bg-gradient-)?stops-(\[.+\])$/,([,e])=>({"--un-gradient-stops":O.bracket(e)})],[/^(?:bg-gradient-)?(from)-(.+)$/,vi()],[/^(?:bg-gradient-)?(via)-(.+)$/,vi()],[/^(?:bg-gradient-)?(to)-(.+)$/,vi()],[/^(?:bg-gradient-)?(from|via|to)-op(?:acity)?-?(.+)$/,([,e,t])=>({[`--un-${e}-opacity`]:O.bracket.percent(t)})],[/^(from|via|to)-([\d.]+)%$/,yi()],[/^bg-gradient-((?: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-to-([rltb]{1,2})$/,([,e])=>{if(e in T)return{"--un-gradient-shape":`to ${T[e]} in oklch`,"--un-gradient":`var(--un-gradient-shape), var(--un-gradient-stops)`,"background-image":`linear-gradient(var(--un-gradient))`}},{autocomplete:`bg-gradient-to-(${Object.keys(T).filter(e=>e.length<=2&&Array.from(e).every(e=>`rltb`.includes(e))).join(`|`)})`}],[/^(?:bg-gradient-)?shape-(.+)$/,([,e])=>{let t=e in T?`to ${T[e]}`:O.bracket(e);if(t!=null)return{"--un-gradient-shape":`${t} in oklch`,"--un-gradient":`var(--un-gradient-shape), var(--un-gradient-stops)`}},{autocomplete:[`bg-gradient-shape`,`bg-gradient-shape-(${Object.keys(T).join(`|`)})`,`shape-(${Object.keys(T).join(`|`)})`]}],[`bg-none`,{"background-image":`none`}],[`box-decoration-slice`,{"box-decoration-break":`slice`}],[`box-decoration-clone`,{"box-decoration-break":`clone`}],...F(`box-decoration`,`box-decoration-break`),[`bg-auto`,{"background-size":`auto`}],[`bg-cover`,{"background-size":`cover`}],[`bg-contain`,{"background-size":`contain`}],[`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`}],...E.map(e=>[`bg-clip-${e}`,{"-webkit-background-clip":e,"background-clip":e}]),[/^bg-([-\w]{3,})$/,([,e])=>({"background-position":T[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`}],...F(`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`}],...F(`bg-origin`,`background-origin`)],xi={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`},Si=[[/^list-(.+?)(?:-(outside|inside))?$/,([,e,t])=>{let n=xi[e];if(n)return t?{"list-style-position":t,"list-style-type":n}:{"list-style-type":n}},{autocomplete:[`list-(${Object.keys(xi).join(`|`)})`,`list-(${Object.keys(xi).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":O.bracket(e)}}],[`list-image-none`,{"list-style-image":`none`}],...F(`list`,`list-style-type`)],Ci=[[/^accent-(.+)$/,j(`accent-color`,`accent`,`accentColor`),{autocomplete:`accent-$colors`}],[/^accent-op(?:acity)?-?(.+)$/,([,e])=>({"--un-accent-opacity":O.bracket.percent(e)}),{autocomplete:[`accent-(op|opacity)`,`accent-(op|opacity)-<percent>`]}]],wi=[[/^caret-(.+)$/,j(`caret-color`,`caret`,`textColor`),{autocomplete:`caret-$colors`}],[/^caret-op(?:acity)?-?(.+)$/,([,e])=>({"--un-caret-opacity":O.bracket.percent(e)}),{autocomplete:[`caret-(op|opacity)`,`caret-(op|opacity)-<percent>`]}]],Ti=[[`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`]]]],Ei=[[`overscroll-auto`,{"overscroll-behavior":`auto`}],[`overscroll-contain`,{"overscroll-behavior":`contain`}],[`overscroll-none`,{"overscroll-behavior":`none`}],...F(`overscroll`,`overscroll-behavior`),[`overscroll-x-auto`,{"overscroll-behavior-x":`auto`}],[`overscroll-x-contain`,{"overscroll-behavior-x":`contain`}],[`overscroll-x-none`,{"overscroll-behavior-x":`none`}],...F(`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`}],...F(`overscroll-y`,`overscroll-behavior-y`)],Di=[[`scroll-auto`,{"scroll-behavior":`auto`}],[`scroll-smooth`,{"scroll-behavior":`smooth`}],...F(`scroll`,`scroll-behavior`)],Oi=[[/^columns-(.+)$/,([,e],{theme:t})=>t.containers&&e in t.containers?{columns:t.containers[e]}:{columns:O.bracket.numberWithUnit.number.cssvar(e)},{autocomplete:[`columns-<num>`,`columns-$containers`]}],[`columns-auto`,{columns:`auto`}],[`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`}],...F(`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`}],...F(`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`}],...F(`break-after`)],ki=[[/^divide-?([xy])$/,Ai,{autocomplete:[`divide-(x|y|block|inline)`,`divide-(x|y|block|inline)-reverse`,`divide-(x|y|block|inline)-$lineWidth`]}],[/^divide-?([xy])-?(.+)$/,Ai],[/^divide-?([xy])-reverse$/,([,e])=>({[`--un-divide-${e}-reverse`]:1})],[/^divide-(block|inline)$/,Ai],[/^divide-(block|inline)-(.+)$/,Ai],[/^divide-(block|inline)-reverse$/,([,e])=>({[`--un-divide-${e}-reverse`]:1})],[/^divide-(.+)$/,j(`border-color`,`divide`,`borderColor`),{autocomplete:`divide-$colors`}],[/^divide-op(?:acity)?-?(.+)$/,([,e])=>({"--un-divide-opacity":O.bracket.percent(e)}),{autocomplete:[`divide-(op|opacity)`,`divide-(op|opacity)-<percent>`]}],...B.map(e=>[`divide-${e}`,{"border-style":e}])];function Ai([,e,t],{theme:n}){let r=n.lineWidth?.[t||`DEFAULT`]??O.bracket.cssvar.px(t||`1`);if(r!=null){r===`0`&&(r=`0px`);let t=w[e].map(t=>[`border${t}-width`,t.endsWith(`right`)||t.endsWith(`bottom`)?`calc(${r} * var(--un-divide-${e}-reverse))`:`calc(${r} * calc(1 - var(--un-divide-${e}-reverse)))`]);if(t)return[[`--un-divide-${e}-reverse`,0],...t]}}let ji={"--un-blur":` `,"--un-brightness":` `,"--un-contrast":` `,"--un-drop-shadow":` `,"--un-grayscale":` `,"--un-hue-rotate":` `,"--un-invert":` `,"--un-saturate":` `,"--un-sepia":` `},Mi=Object.keys(ji),Ni={preflightKeys:Mi},Pi=`var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)`,Fi={"--un-backdrop-blur":` `,"--un-backdrop-brightness":` `,"--un-backdrop-contrast":` `,"--un-backdrop-grayscale":` `,"--un-backdrop-hue-rotate":` `,"--un-backdrop-invert":` `,"--un-backdrop-opacity":` `,"--un-backdrop-saturate":` `,"--un-backdrop-sepia":` `},Ii=Object.keys(Fi),Li={preflightKeys:Ii},Ri=`var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia)`,Y={preflightKeys:[...Mi,...Ii]};function zi(e){let t=O.bracket.cssvar(e||``);if(t!=null||(t=e?O.percent(e):`1`,t!=null&&Number.parseFloat(t)<=1))return t}function X(e,t){return([,n,r],{theme:i})=>{let a=t(r,i)??(r===`none`?`0`:``);if(a!==``)return n?{[`--un-${n}${e}`]:`${e}(${a})`,"-webkit-backdrop-filter":Ri,"backdrop-filter":Ri}:{[`--un-${e}`]:`${e}(${a})`,filter:Pi}}}function Bi([,e],{theme:t}){let n=t.dropShadow?.[e||`DEFAULT`];if(n!=null)return{"--un-drop-shadow":`drop-shadow(${M(n,`--un-drop-shadow-color`).join(`) drop-shadow(`)})`,filter:Pi};if(n=O.bracket.cssvar(e),n!=null)return{"--un-drop-shadow":`drop-shadow(${n})`,filter:Pi}}let Vi=[[/^(?:(backdrop-)|filter-)?blur(?:-(.+))?$/,X(`blur`,(e,t)=>t.blur?.[e||`DEFAULT`]||O.bracket.cssvar.px(e)),{custom:Y,autocomplete:[`(backdrop|filter)-blur-$blur`,`blur-$blur`,`filter-blur`]}],[/^(?:(backdrop-)|filter-)?brightness-(.+)$/,X(`brightness`,e=>O.bracket.cssvar.percent(e)),{custom:Y,autocomplete:[`(backdrop|filter)-brightness-<percent>`,`brightness-<percent>`]}],[/^(?:(backdrop-)|filter-)?contrast-(.+)$/,X(`contrast`,e=>O.bracket.cssvar.percent(e)),{custom:Y,autocomplete:[`(backdrop|filter)-contrast-<percent>`,`contrast-<percent>`]}],[/^(?:filter-)?drop-shadow(?:-(.+))?$/,Bi,{custom:Ni,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-(.+)$/,j(`--un-drop-shadow-color`,`drop-shadow`,`shadowColor`)],[/^(?:filter-)?drop-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-drop-shadow-opacity":O.bracket.percent(e)})],[/^(?:(backdrop-)|filter-)?grayscale(?:-(.+))?$/,X(`grayscale`,zi),{custom:Y,autocomplete:[`(backdrop|filter)-grayscale`,`(backdrop|filter)-grayscale-<percent>`,`grayscale-<percent>`]}],[/^(?:(backdrop-)|filter-)?hue-rotate-(.+)$/,X(`hue-rotate`,e=>O.bracket.cssvar.degree(e)),{custom:Y}],[/^(?:(backdrop-)|filter-)?invert(?:-(.+))?$/,X(`invert`,zi),{custom:Y,autocomplete:[`(backdrop|filter)-invert`,`(backdrop|filter)-invert-<percent>`,`invert-<percent>`]}],[/^(backdrop-)op(?:acity)?-(.+)$/,X(`opacity`,e=>O.bracket.cssvar.percent(e)),{custom:Y,autocomplete:[`backdrop-(op|opacity)`,`backdrop-(op|opacity)-<percent>`]}],[/^(?:(backdrop-)|filter-)?saturate-(.+)$/,X(`saturate`,e=>O.bracket.cssvar.percent(e)),{custom:Y,autocomplete:[`(backdrop|filter)-saturate`,`(backdrop|filter)-saturate-<percent>`,`saturate-<percent>`]}],[/^(?:(backdrop-)|filter-)?sepia(?:-(.+))?$/,X(`sepia`,zi),{custom:Y,autocomplete:[`(backdrop|filter)-sepia`,`(backdrop|filter)-sepia-<percent>`,`sepia-<percent>`]}],[`filter`,{filter:Pi},{custom:Ni}],[`backdrop-filter`,{"-webkit-backdrop-filter":Ri,"backdrop-filter":Ri},{custom:Li}],[`filter-none`,{filter:`none`}],[`backdrop-filter-none`,{"-webkit-backdrop-filter":`none`,"backdrop-filter":`none`}],...E.map(e=>[`filter-${e}`,{filter:e}]),...E.map(e=>[`backdrop-filter-${e}`,{"-webkit-backdrop-filter":e,"backdrop-filter":e}])],Hi=[[/^line-clamp-(\d+)$/,([,e])=>({overflow:`hidden`,display:`-webkit-box`,"-webkit-box-orient":`vertical`,"-webkit-line-clamp":e,"line-clamp":e}),{autocomplete:[`line-clamp`,`line-clamp-<num>`]}],...[`none`,...E].map(e=>[`line-clamp-${e}`,{overflow:`visible`,display:`block`,"-webkit-box-orient":`horizontal`,"-webkit-line-clamp":e,"line-clamp":e}])],Ui=[[/^\$ placeholder-(.+)$/,j(`color`,`placeholder`,`accentColor`),{autocomplete:`placeholder-$colors`}],[/^\$ placeholder-op(?:acity)?-?(.+)$/,([,e])=>({"--un-placeholder-opacity":O.bracket.percent(e)}),{autocomplete:[`placeholder-(op|opacity)`,`placeholder-(op|opacity)-<percent>`]}]],Wi={"--un-scroll-snap-strictness":`proximity`},Gi={preflightKeys:Object.keys(Wi)},Ki=[[/^snap-(x|y)$/,([,e])=>({"scroll-snap-type":`${e} var(--un-scroll-snap-strictness)`}),{custom:Gi,autocomplete:`snap-(x|y|both)`}],[/^snap-both$/,()=>({"scroll-snap-type":`both var(--un-scroll-snap-strictness)`}),{custom:Gi}],[`snap-mandatory`,{"--un-scroll-snap-strictness":`mandatory`}],[`snap-proximity`,{"--un-scroll-snap-strictness":`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?()-?(.+)$/,k(`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])-?(.+)$/,k(`scroll-margin`)],[/^scroll-m-?([rltb])-?(.+)$/,k(`scroll-margin`)],[/^scroll-m-(block|inline)-(.+)$/,k(`scroll-margin`)],[/^scroll-m-?([bi][se])-?(.+)$/,k(`scroll-margin`)],[/^scroll-pa?()-?(.+)$/,k(`scroll-padding`)],[/^scroll-p-?([xy])-?(.+)$/,k(`scroll-padding`)],[/^scroll-p-?([rltb])-?(.+)$/,k(`scroll-padding`)],[/^scroll-p-(block|inline)-(.+)$/,k(`scroll-padding`)],[/^scroll-p-?([bi][se])-?(.+)$/,k(`scroll-padding`)]],qi=[[/^space-([xy])-(.+)$/,Ji,{autocomplete:[`space-(x|y|block|inline)`,`space-(x|y|block|inline)-reverse`,`space-(x|y|block|inline)-$spacing`]}],[/^space-([xy])-reverse$/,([,e])=>({[`--un-space-${e}-reverse`]:1})],[/^space-(block|inline)-(.+)$/,Ji],[/^space-(block|inline)-reverse$/,([,e])=>({[`--un-space-${e}-reverse`]:1})]];function Ji([,e,t],{theme:n}){let r=n.spacing?.[t||`DEFAULT`]??O.bracket.cssvar.auto.fraction.rem(t||`1`);if(r!=null){r===`0`&&(r=`0px`);let t=w[e].map(t=>[`margin${t}`,t.endsWith(`right`)||t.endsWith(`bottom`)?`calc(${r} * var(--un-space-${e}-reverse))`:`calc(${r} * calc(1 - var(--un-space-${e}-reverse)))`]);if(t)return[[`--un-space-${e}-reverse`,0],...t]}}let Yi=[[`uppercase`,{"text-transform":`uppercase`}],[`lowercase`,{"text-transform":`lowercase`}],[`capitalize`,{"text-transform":`capitalize`}],[`normal-case`,{"text-transform":`none`}]],Xi=[...[`manual`,`auto`,`none`,...E].map(e=>[`hyphens-${e}`,{"-webkit-hyphens":e,"-ms-hyphens":e,hyphens:e}])],Zi=[[`write-vertical-right`,{"writing-mode":`vertical-rl`}],[`write-vertical-left`,{"writing-mode":`vertical-lr`}],[`write-normal`,{"writing-mode":`horizontal-tb`}],...F(`write`,`writing-mode`)],Qi=[[`write-orient-mixed`,{"text-orientation":`mixed`}],[`write-orient-sideways`,{"text-orientation":`sideways`}],[`write-orient-upright`,{"text-orientation":`upright`}],...F(`write-orient`,`text-orientation`)],$i=[[`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`}]],ea=[[`isolate`,{isolation:`isolate`}],[`isolate-auto`,{isolation:`auto`}],[`isolation-auto`,{isolation:`auto`}]],ta=[[`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(T[e])return{"object-position":T[e]};if(O.bracketOfPosition(e)!=null)return{"object-position":O.bracketOfPosition(e).split(` `).map(e=>O.position.fraction.auto.px.cssvar(e)??e).join(` `)}},{autocomplete:`object-(${Object.keys(T).join(`|`)})`}]],na=[[`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`}],...F(`bg-blend`,`background-blend`)],ra=[[`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`}],...F(`mix-blend`)],ia=[[`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`}]],aa={"--un-border-spacing-x":0,"--un-border-spacing-y":0},oa={preflightKeys:Object.keys(aa)},sa=`var(--un-border-spacing-x) var(--un-border-spacing-y)`,ca=[[`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-(.+)$/,([,e],{theme:t})=>{let n=t.spacing?.[e]??O.bracket.cssvar.global.auto.fraction.rem(e);if(n!=null)return{"--un-border-spacing-x":n,"--un-border-spacing-y":n,"border-spacing":sa}},{custom:oa,autocomplete:[`border-spacing`,`border-spacing-$spacing`]}],[/^border-spacing-([xy])-(.+)$/,([,e,t],{theme:n})=>{let r=n.spacing?.[t]??O.bracket.cssvar.global.auto.fraction.rem(t);if(r!=null)return{[`--un-border-spacing-${e}`]:r,"border-spacing":sa}},{custom:oa,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`}]],la={"--un-pan-x":` `,"--un-pan-y":` `,"--un-pinch-zoom":` `},ua={preflightKeys:Object.keys(la)},da=`var(--un-pan-x) var(--un-pan-y) var(--un-pinch-zoom)`,fa=[[/^touch-pan-(x|left|right)$/,([,e])=>({"--un-pan-x":`pan-${e}`,"touch-action":da}),{custom:ua,autocomplete:[`touch-pan`,`touch-pan-(x|left|right|y|up|down)`]}],[/^touch-pan-(y|up|down)$/,([,e])=>({"--un-pan-y":`pan-${e}`,"touch-action":da}),{custom:ua}],[`touch-pinch-zoom`,{"--un-pinch-zoom":`pinch-zoom`,"touch-action":da},{custom:ua}],[`touch-auto`,{"touch-action":`auto`}],[`touch-manipulation`,{"touch-action":`manipulation`}],[`touch-none`,{"touch-action":`none`}],...F(`touch`,`touch-action`)],pa={"--un-ordinal":` `,"--un-slashed-zero":` `,"--un-numeric-figure":` `,"--un-numeric-spacing":` `,"--un-numeric-fraction":` `},Z={preflightKeys:Object.keys(pa)};function Q(e){return{...e,"font-variant-numeric":`var(--un-ordinal) var(--un-slashed-zero) var(--un-numeric-figure) var(--un-numeric-spacing) var(--un-numeric-fraction)`}}let ma=[[/^ordinal$/,()=>Q({"--un-ordinal":`ordinal`}),{custom:Z,autocomplete:`ordinal`}],[/^slashed-zero$/,()=>Q({"--un-slashed-zero":`slashed-zero`}),{custom:Z,autocomplete:`slashed-zero`}],[/^lining-nums$/,()=>Q({"--un-numeric-figure":`lining-nums`}),{custom:Z,autocomplete:`lining-nums`}],[/^oldstyle-nums$/,()=>Q({"--un-numeric-figure":`oldstyle-nums`}),{custom:Z,autocomplete:`oldstyle-nums`}],[/^proportional-nums$/,()=>Q({"--un-numeric-spacing":`proportional-nums`}),{custom:Z,autocomplete:`proportional-nums`}],[/^tabular-nums$/,()=>Q({"--un-numeric-spacing":`tabular-nums`}),{custom:Z,autocomplete:`tabular-nums`}],[/^diagonal-fractions$/,()=>Q({"--un-numeric-fraction":`diagonal-fractions`}),{custom:Z,autocomplete:`diagonal-fractions`}],[/^stacked-fractions$/,()=>Q({"--un-numeric-fraction":`stacked-fractions`}),{custom:Z,autocomplete:`stacked-fractions`}],[`normal-nums`,{"font-variant-numeric":`normal`}]],ha={"bg-blend":`background-blend-mode`,"bg-clip":`-webkit-background-clip`,"bg-gradient":`linear-gradient`,"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`},ga=[ui,[[/^(.+?)-(\$.+)$/,([,e,t])=>{let n=ha[e];if(n)return{[n]:O.cssvar(t)}}]],di,un,fr,$i,pr,ur,Jn,nr,Hi,ea,ir,Xn,Gn,rr,zr,ar,lr,Lr,Pr,zn,ca,qr,hi,dr,fa,hr,mr,Ki,Si,yn,Oi,Qn,Zn,Yn,Hn,$n,qi,ki,qn,Ei,Di,xr,gr,yr,Sn,Mn,bi,Nn,Br,ta,Rr,hn,ni,br,pn,ei,Sr,Yi,Cr,ma,In,wr,ti,ri,ii,Xi,Zi,Qi,wi,Ci,En,na,ra,jr,gn,Dr,Ti,Vi,$r,xn,_r,vr,Ui,Pn,[[/^view-transition-([\w-]+)$/,([,e])=>({"view-transition-name":e})]],ia,Tr,or].flat(1),_a=[...dn],va={inherit:`inherit`,current:`currentColor`,transparent:`transparent`,black:`#000`,white:`#fff`,rose:{50:`#fff1f2`,100:`#ffe4e6`,200:`#fecdd3`,300:`#fda4af`,400:`#fb7185`,500:`#f43f5e`,600:`#e11d48`,700:`#be123c`,800:`#9f1239`,900:`#881337`,950:`#4c0519`},pink:{50:`#fdf2f8`,100:`#fce7f3`,200:`#fbcfe8`,300:`#f9a8d4`,400:`#f472b6`,500:`#ec4899`,600:`#db2777`,700:`#be185d`,800:`#9d174d`,900:`#831843`,950:`#500724`},fuchsia:{50:`#fdf4ff`,100:`#fae8ff`,200:`#f5d0fe`,300:`#f0abfc`,400:`#e879f9`,500:`#d946ef`,600:`#c026d3`,700:`#a21caf`,800:`#86198f`,900:`#701a75`,950:`#4a044e`},purple:{50:`#faf5ff`,100:`#f3e8ff`,200:`#e9d5ff`,300:`#d8b4fe`,400:`#c084fc`,500:`#a855f7`,600:`#9333ea`,700:`#7e22ce`,800:`#6b21a8`,900:`#581c87`,950:`#3b0764`},violet:{50:`#f5f3ff`,100:`#ede9fe`,200:`#ddd6fe`,300:`#c4b5fd`,400:`#a78bfa`,500:`#8b5cf6`,600:`#7c3aed`,700:`#6d28d9`,800:`#5b21b6`,900:`#4c1d95`,950:`#2e1065`},indigo:{50:`#eef2ff`,100:`#e0e7ff`,200:`#c7d2fe`,300:`#a5b4fc`,400:`#818cf8`,500:`#6366f1`,600:`#4f46e5`,700:`#4338ca`,800:`#3730a3`,900:`#312e81`,950:`#1e1b4b`},blue:{50:`#eff6ff`,100:`#dbeafe`,200:`#bfdbfe`,300:`#93c5fd`,400:`#60a5fa`,500:`#3b82f6`,600:`#2563eb`,700:`#1d4ed8`,800:`#1e40af`,900:`#1e3a8a`,950:`#172554`},sky:{50:`#f0f9ff`,100:`#e0f2fe`,200:`#bae6fd`,300:`#7dd3fc`,400:`#38bdf8`,500:`#0ea5e9`,600:`#0284c7`,700:`#0369a1`,800:`#075985`,900:`#0c4a6e`,950:`#082f49`},cyan:{50:`#ecfeff`,100:`#cffafe`,200:`#a5f3fc`,300:`#67e8f9`,400:`#22d3ee`,500:`#06b6d4`,600:`#0891b2`,700:`#0e7490`,800:`#155e75`,900:`#164e63`,950:`#083344`},teal:{50:`#f0fdfa`,100:`#ccfbf1`,200:`#99f6e4`,300:`#5eead4`,400:`#2dd4bf`,500:`#14b8a6`,600:`#0d9488`,700:`#0f766e`,800:`#115e59`,900:`#134e4a`,950:`#042f2e`},emerald:{50:`#ecfdf5`,100:`#d1fae5`,200:`#a7f3d0`,300:`#6ee7b7`,400:`#34d399`,500:`#10b981`,600:`#059669`,700:`#047857`,800:`#065f46`,900:`#064e3b`,950:`#022c22`},green:{50:`#f0fdf4`,100:`#dcfce7`,200:`#bbf7d0`,300:`#86efac`,400:`#4ade80`,500:`#22c55e`,600:`#16a34a`,700:`#15803d`,800:`#166534`,900:`#14532d`,950:`#052e16`},lime:{50:`#f7fee7`,100:`#ecfccb`,200:`#d9f99d`,300:`#bef264`,400:`#a3e635`,500:`#84cc16`,600:`#65a30d`,700:`#4d7c0f`,800:`#3f6212`,900:`#365314`,950:`#1a2e05`},yellow:{50:`#fefce8`,100:`#fef9c3`,200:`#fef08a`,300:`#fde047`,400:`#facc15`,500:`#eab308`,600:`#ca8a04`,700:`#a16207`,800:`#854d0e`,900:`#713f12`,950:`#422006`},amber:{50:`#fffbeb`,100:`#fef3c7`,200:`#fde68a`,300:`#fcd34d`,400:`#fbbf24`,500:`#f59e0b`,600:`#d97706`,700:`#b45309`,800:`#92400e`,900:`#78350f`,950:`#451a03`},orange:{50:`#fff7ed`,100:`#ffedd5`,200:`#fed7aa`,300:`#fdba74`,400:`#fb923c`,500:`#f97316`,600:`#ea580c`,700:`#c2410c`,800:`#9a3412`,900:`#7c2d12`,950:`#431407`},red:{50:`#fef2f2`,100:`#fee2e2`,200:`#fecaca`,300:`#fca5a5`,400:`#f87171`,500:`#ef4444`,600:`#dc2626`,700:`#b91c1c`,800:`#991b1b`,900:`#7f1d1d`,950:`#450a0a`},gray:{50:`#f9fafb`,100:`#f3f4f6`,200:`#e5e7eb`,300:`#d1d5db`,400:`#9ca3af`,500:`#6b7280`,600:`#4b5563`,700:`#374151`,800:`#1f2937`,900:`#111827`,950:`#030712`},slate:{50:`#f8fafc`,100:`#f1f5f9`,200:`#e2e8f0`,300:`#cbd5e1`,400:`#94a3b8`,500:`#64748b`,600:`#475569`,700:`#334155`,800:`#1e293b`,900:`#0f172a`,950:`#020617`},zinc:{50:`#fafafa`,100:`#f4f4f5`,200:`#e4e4e7`,300:`#d4d4d8`,400:`#a1a1aa`,500:`#71717a`,600:`#52525b`,700:`#3f3f46`,800:`#27272a`,900:`#18181b`,950:`#09090b`},neutral:{50:`#fafafa`,100:`#f5f5f5`,200:`#e5e5e5`,300:`#d4d4d4`,400:`#a3a3a3`,500:`#737373`,600:`#525252`,700:`#404040`,800:`#262626`,900:`#171717`,950:`#0a0a0a`},stone:{50:`#fafaf9`,100:`#f5f5f4`,200:`#e7e5e4`,300:`#d6d3d1`,400:`#a8a29e`,500:`#78716c`,600:`#57534e`,700:`#44403c`,800:`#292524`,900:`#1c1917`,950:`#0c0a09`},light:{50:`#fdfdfd`,100:`#fcfcfc`,200:`#fafafa`,300:`#f8f9fa`,400:`#f6f6f6`,500:`#f2f2f2`,600:`#f1f3f5`,700:`#e9ecef`,800:`#dee2e6`,900:`#dde1e3`,950:`#d8dcdf`},dark:{50:`#4a4a4a`,100:`#3c3c3c`,200:`#323232`,300:`#2d2d2d`,400:`#222222`,500:`#1f1f1f`,600:`#1c1c1e`,700:`#1b1b1b`,800:`#181818`,900:`#0f0f0f`,950:`#080808`},get lightblue(){return this.sky},get lightBlue(){return this.sky},get warmgray(){return this.stone},get warmGray(){return this.stone},get truegray(){return this.neutral},get trueGray(){return this.neutral},get coolgray(){return this.gray},get coolGray(){return this.gray},get bluegray(){return this.slate},get blueGray(){return this.slate}};Object.values(va).forEach(e=>{typeof e!=`string`&&e!==void 0&&(e.DEFAULT=e.DEFAULT||e[400],Object.keys(e).forEach(t=>{let n=t/100;n===Math.round(n)&&(e[n]=e[t])}))});let ya={DEFAULT:`8px`,0:`0`,sm:`4px`,md:`12px`,lg:`16px`,xl:`24px`,"2xl":`40px`,"3xl":`64px`},ba={DEFAULT:[`0 1px 2px rgb(0 0 0 / 0.1)`,`0 1px 1px rgb(0 0 0 / 0.06)`],sm:`0 1px 1px rgb(0 0 0 / 0.05)`,md:[`0 4px 3px rgb(0 0 0 / 0.07)`,`0 2px 2px rgb(0 0 0 / 0.06)`],lg:[`0 10px 8px rgb(0 0 0 / 0.04)`,`0 4px 3px rgb(0 0 0 / 0.1)`],xl:[`0 20px 13px rgb(0 0 0 / 0.03)`,`0 8px 5px rgb(0 0 0 / 0.08)`],"2xl":`0 25px 25px rgb(0 0 0 / 0.15)`,none:`0 0 rgb(0 0 0 / 0)`},xa={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(`,`)},Sa={xs:[`0.75rem`,`1rem`],sm:[`0.875rem`,`1.25rem`],base:[`1rem`,`1.5rem`],lg:[`1.125rem`,`1.75rem`],xl:[`1.25rem`,`1.75rem`],"2xl":[`1.5rem`,`2rem`],"3xl":[`1.875rem`,`2.25rem`],"4xl":[`2.25rem`,`2.5rem`],"5xl":[`3rem`,`1`],"6xl":[`3.75rem`,`1`],"7xl":[`4.5rem`,`1`],"8xl":[`6rem`,`1`],"9xl":[`8rem`,`1`]},Ca={DEFAULT:`1.5rem`,xs:`0.5rem`,sm:`1rem`,md:`1.5rem`,lg:`2rem`,xl:`2.5rem`,"2xl":`3rem`,"3xl":`4rem`},wa={DEFAULT:`1.5rem`,none:`0`,sm:`thin`,md:`medium`,lg:`thick`},Ta={DEFAULT:[`0 0 1px rgb(0 0 0 / 0.2)`,`0 0 1px rgb(1 0 5 / 0.1)`],none:`0 0 rgb(0 0 0 / 0)`,sm:`1px 1px 3px rgb(36 37 47 / 0.25)`,md:[`0 1px 2px rgb(30 29 39 / 0.19)`,`1px 2px 4px rgb(54 64 147 / 0.18)`],lg:[`3px 3px 6px rgb(0 0 0 / 0.26)`,`0 0 5px rgb(15 3 86 / 0.22)`],xl:[`1px 1px 3px rgb(0 0 0 / 0.29)`,`2px 4px 7px rgb(73 64 125 / 0.35)`]},Ea={none:`1`,tight:`1.25`,snug:`1.375`,normal:`1.5`,relaxed:`1.625`,loose:`2`},Da={tighter:`-0.05em`,tight:`-0.025em`,normal:`0em`,wide:`0.025em`,wider:`0.05em`,widest:`0.1em`},Oa={thin:`100`,extralight:`200`,light:`300`,normal:`400`,medium:`500`,semibold:`600`,bold:`700`,extrabold:`800`,black:`900`},ka=Da,Aa={sm:`640px`,md:`768px`,lg:`1024px`,xl:`1280px`,"2xl":`1536px`},ja={...Aa},Ma={DEFAULT:`1px`,none:`0`},Na={DEFAULT:`1rem`,none:`0`,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`},Pa={DEFAULT:`150ms`,none:`0s`,75:`75ms`,100:`100ms`,150:`150ms`,200:`200ms`,300:`300ms`,500:`500ms`,700:`700ms`,1e3:`1000ms`},Fa={DEFAULT:`0.25rem`,none:`0`,sm:`0.125rem`,md:`0.375rem`,lg:`0.5rem`,xl:`0.75rem`,"2xl":`1rem`,"3xl":`1.5rem`,full:`9999px`},Ia={DEFAULT:[`var(--un-shadow-inset) 0 1px 3px 0 rgb(0 0 0 / 0.1)`,`var(--un-shadow-inset) 0 1px 2px -1px rgb(0 0 0 / 0.1)`],none:`0 0 rgb(0 0 0 / 0)`,sm:`var(--un-shadow-inset) 0 1px 2px 0 rgb(0 0 0 / 0.05)`,md:[`var(--un-shadow-inset) 0 4px 6px -1px rgb(0 0 0 / 0.1)`,`var(--un-shadow-inset) 0 2px 4px -2px rgb(0 0 0 / 0.1)`],lg:[`var(--un-shadow-inset) 0 10px 15px -3px rgb(0 0 0 / 0.1)`,`var(--un-shadow-inset) 0 4px 6px -4px rgb(0 0 0 / 0.1)`],xl:[`var(--un-shadow-inset) 0 20px 25px -5px rgb(0 0 0 / 0.1)`,`var(--un-shadow-inset) 0 8px 10px -6px rgb(0 0 0 / 0.1)`],"2xl":`var(--un-shadow-inset) 0 25px 50px -12px rgb(0 0 0 / 0.25)`,inner:`inset 0 2px 4px 0 rgb(0 0 0 / 0.05)`},La={DEFAULT:`3px`,none:`0`},Ra={auto:`auto`},za={mouse:`(hover) and (pointer: fine)`},Ba={...Kr,...Ar,...Er},$={xs:`20rem`,sm:`24rem`,md:`28rem`,lg:`32rem`,xl:`36rem`,"2xl":`42rem`,"3xl":`48rem`,"4xl":`56rem`,"5xl":`64rem`,"6xl":`72rem`,"7xl":`80rem`,prose:`65ch`},Va={auto:`auto`,...$,screen:`100vw`},Ha={none:`none`,...$,screen:`100vw`},Ua={auto:`auto`,...$,screen:`100vb`},Wa={auto:`auto`,...$,screen:`100vi`},Ga={auto:`auto`,...$,screen:`100vh`},Ka={none:`none`,...$,screen:`100vh`},qa={none:`none`,...$,screen:`100vb`},Ja={none:`none`,...$,screen:`100vi`},Ya={...$},Xa={width:Va,height:Ga,maxWidth:Ha,maxHeight:Ka,minWidth:Ha,minHeight:Ka,inlineSize:Wa,blockSize:Ua,maxInlineSize:Ja,maxBlockSize:qa,minInlineSize:Ja,minBlockSize:qa,colors:va,fontFamily:xa,fontSize:Sa,fontWeight:Oa,breakpoints:Aa,verticalBreakpoints:ja,borderRadius:Fa,lineHeight:Ea,letterSpacing:Da,wordSpacing:ka,boxShadow:Ia,textIndent:Ca,textShadow:Ta,textStrokeWidth:wa,blur:ya,dropShadow:ba,easing:{DEFAULT:`cubic-bezier(0.4, 0, 0.2, 1)`,linear:`linear`,in:`cubic-bezier(0.4, 0, 1, 1)`,out:`cubic-bezier(0, 0, 0.2, 1)`,"in-out":`cubic-bezier(0.4, 0, 0.2, 1)`},transitionProperty:{none:`none`,all:`all`,colors:[`color`,`background-color`,`border-color`,`text-decoration-color`,`fill`,`stroke`].join(`,`),opacity:`opacity`,shadow:`box-shadow`,transform:`transform`,get DEFAULT(){return[this.colors,`opacity`,`box-shadow`,`transform`,`filter`,`backdrop-filter`].join(`,`)}},lineWidth:Ma,spacing:Na,duration:Pa,ringWidth:La,preflightBase:Ba,containers:Ya,zIndex:Ra,media:za},Za={...Xa,aria:{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"`},animation:{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`}},media:{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)`},supports:{grid:`(display: grid)`},preflightBase:{...Kr,...la,...Wi,...pa,...aa,...Ar,...Er,...ji,...Fi}},Qa={name:`aria`,match(e,t){let n=(0,z.variantGetParameter)(`aria-`,e,t.generator.config.separators);if(n){let[e,r]=n,i=O.bracket(e)??t.theme.aria?.[e]??``;if(i)return{matcher:r,selector:e=>`${e}[aria-${i}]`}}},multiPass:!0};function $a(e,t,n={}){return{name:`${e}-aria`,match(r,i){let s=(0,z.variantGetParameter)(`${e}-aria-`,r,i.generator.config.separators);if(s){let[r,c,l]=s,u=O.bracket(r)??i.theme.aria?.[r]??``;if(u){let r=!!n?.attributifyPseudo,i=n?.prefix??``;i=(Array.isArray(i)?i:[i]).filter(Boolean)[0]??``;let s=`${r?`[${i}${e}=""]`:`.${i}${e}`}`,d=o(l?`/${l}`:``);return{matcher:c,handle:(e,n)=>{let r=RegExp(`${a(s)}${a(d)}(?:\\[.+?\\])+`),i=e.prefix.match(r),o;if(i){let t=(i.index??0)+s.length+d.length;o=[e.prefix.slice(0,t),`[aria-${u}]`,e.prefix.slice(t)].join(``)}else{let n=Math.max(e.prefix.indexOf(s),0);o=[e.prefix.slice(0,n),s,d,`[aria-${u}]`,t,e.prefix.slice(n)].join(``)}return n({...e,prefix:o})}}}}},multiPass:!0}}function eo(){return{name:`has-aria`,match(e,t){let n=(0,z.variantGetParameter)(`has-aria-`,e,t.generator.config.separators);if(n){let[e,r]=n,i=O.bracket(e)??t.theme.aria?.[e]??``;if(i)return{matcher:r,handle:(e,t)=>t({...e,pseudo:`${e.pseudo}:has([aria-${i}])`})}}},multiPass:!0}}function to(e={}){return[$a(`group`,` `,e),$a(`peer`,`~`,e),$a(`parent`,`>`,e),$a(`previous`,`+`,e),eo()]}let no=/(max|min)-\[([^\]]*)\]:/;function ro(){let e={};return{name:`breakpoints`,match(t,n){if(no.test(t)){let e=t.match(no);return{matcher:t.replace(e[0],``),handle:(t,n)=>n({...t,parent:`${t.parent?`${t.parent} $$ `:``}@media (${e[1]}-width: ${e[2]})`})}}let r=(P(n)??[]).map(({point:e,size:t},n)=>[e,t,n]);for(let[i,a,o]of r){e[i]||(e[i]=RegExp(`^((?:([al]t-|[<~]|max-))?${i}(?:${n.generator.config.separators.join(`|`)}))`));let s=t.match(e[i]);if(!s)continue;let[,c]=s,l=t.slice(c.length);if(l===`container`)continue;let u=c.startsWith(`lt-`)||c.startsWith(`<`)||c.startsWith(`max-`),d=c.startsWith(`at-`)||c.startsWith(`~`),f=3e3;return u?(f-=o+1,{matcher:l,handle:(e,t)=>t({...e,parent:`${e.parent?`${e.parent} $$ `:``}@media (max-width: ${(0,z.calcMaxWidthBySize)(a)})`,parentOrder:f})}):(f+=o+1,d&&o<r.length-1?{matcher:l,handle:(e,t)=>t({...e,parent:`${e.parent?`${e.parent} $$ `:``}@media (min-width: ${a}) and (max-width: ${(0,z.calcMaxWidthBySize)(r[o+1][1])})`,parentOrder:f})}:{matcher:l,handle:(e,t)=>t({...e,parent:`${e.parent?`${e.parent} $$ `:``}@media (min-width: ${a})`,parentOrder:f})})}},multiPass:!0,autocomplete:`(at-|lt-|max-|)$breakpoints:`}}let io=[(0,z.variantMatcher)(`*`,e=>({selector:`${e.selector} > *`}),{order:-1})];function ao(e,t){return{name:`combinator:${e}`,match(n,r){if(!n.startsWith(e))return;let i=r.generator.config.separators,a=(0,z.variantGetBracket)(`${e}-`,n,i);if(!a){for(let t of i)if(n.startsWith(`${e}${t}`)){a=[``,n.slice(e.length+t.length)];break}if(!a)return}let o=O.bracket(a[0])??``;return o===``&&(o=`*`),{matcher:a[1],selector:e=>`${e}${t}${o}`}},multiPass:!0}}let oo=[ao(`all`,` `),ao(`children`,`>`),ao(`next`,`+`),ao(`sibling`,`+`),ao(`siblings`,`~`)],so={name:`@`,match(e,t){if(e.startsWith(`@container`))return;let n=(0,z.variantGetParameter)(`@`,e,t.generator.config.separators);if(n){let[e,r,i]=n,a=O.bracket(e),o;if(o=a?O.numberWithUnit(a):t.theme.containers?.[e]??``,o){let n=1e3+Object.keys(t.theme.containers??{}).indexOf(e);return i&&(n+=1e3),{matcher:r,handle:(e,t)=>t({...e,parent:`${e.parent?`${e.parent} $$ `:``}@container${i?` ${i} `:` `}(min-width: ${o})`,parentOrder:n})}}}},multiPass:!0};function co(e={}){if(e?.dark===`class`||typeof e.dark==`object`){let{dark:t=`.dark`,light:n=`.light`}=typeof e.dark==`string`?{}:e.dark;return[(0,z.variantMatcher)(`dark`,r(t).map(e=>t=>({prefix:`${e} $$ ${t.prefix}`}))),(0,z.variantMatcher)(`light`,r(n).map(e=>t=>({prefix:`${e} $$ ${t.prefix}`})))]}return[(0,z.variantParentMatcher)(`dark`,`@media (prefers-color-scheme: dark)`),(0,z.variantParentMatcher)(`light`,`@media (prefers-color-scheme: light)`)]}let lo={name:`data`,match(e,t){let n=(0,z.variantGetParameter)(`data-`,e,t.generator.config.separators);if(n){let[e,r]=n,i=O.bracket(e)??t.theme.data?.[e]??``;if(i)return{matcher:r,selector:e=>`${e}[data-${i}]`}}},multiPass:!0};function uo(e,t,n={}){return{name:`${e}-data`,match(r,i){let s=(0,z.variantGetParameter)(`${e}-data-`,r,i.generator.config.separators);if(s){let[r,c,l]=s,u=O.bracket(r)??i.theme.data?.[r]??``;if(u){let r=!!n?.attributifyPseudo,i=n?.prefix??``;i=(Array.isArray(i)?i:[i]).filter(Boolean)[0]??``;let s=`${r?`[${i}${e}=""]`:`.${i}${e}`}`,d=o(l?`/${l}`:``);return{matcher:c,handle:(e,n)=>{let r=RegExp(`${a(s)}${a(d)}(?:\\[.+?\\])+`),i=e.prefix.match(r),o;if(i){let t=(i.index??0)+s.length+d.length;o=[e.prefix.slice(0,t),`[data-${u}]`,e.prefix.slice(t)].join(``)}else{let n=Math.max(e.prefix.indexOf(s),0);o=[e.prefix.slice(0,n),s,d,`[data-${u}]`,t,e.prefix.slice(n)].join(``)}return n({...e,prefix:o})}}}}},multiPass:!0}}function fo(){return{name:`has-data`,match(e,t){let n=(0,z.variantGetParameter)(`has-data-`,e,t.generator.config.separators);if(n){let[e,r]=n,i=O.bracket(e)??t.theme.data?.[e]??``;if(i)return{matcher:r,handle:(e,t)=>t({...e,pseudo:`${e.pseudo}:has([data-${i}])`})}}},multiPass:!0}}function po(e={}){return[uo(`group`,` `,e),uo(`peer`,`~`,e),uo(`parent`,`>`,e),uo(`previous`,`+`,e),fo()]}let mo=[(0,z.variantMatcher)(`rtl`,e=>({prefix:`[dir="rtl"] $$ ${e.prefix}`})),(0,z.variantMatcher)(`ltr`,e=>({prefix:`[dir="ltr"] $$ ${e.prefix}`}))];function ho(){let e;return{name:`important`,match(t,n){e||=RegExp(`^(important(?:${n.generator.config.separators.join(`|`)})|!)`);let r,i=t.match(e);if(i?r=t.slice(i[0].length):t.endsWith(`!`)&&(r=t.slice(0,-1)),r)return{matcher:r,body:e=>(e.forEach(e=>{e[1]!=null&&(e[1]+=` !important`)}),e)}}}}let go=(0,z.variantParentMatcher)(`print`,`@media print`),_o={name:`media`,match(e,t){let n=(0,z.variantGetParameter)(`media-`,e,t.generator.config.separators);if(n){let[e,r]=n,i=O.bracket(e)??``;if(i===``&&(i=t.theme.media?.[e]??``),i)return{matcher:r,handle:(e,t)=>t({...e,parent:`${e.parent?`${e.parent} $$ `:``}@media ${i}`})}}},multiPass:!0},vo={name:`selector`,match(e,t){let n=(0,z.variantGetBracket)(`selector-`,e,t.generator.config.separators);if(n){let[e,t]=n,r=O.bracket(e);if(r)return{matcher:t,selector:()=>r}}}},yo={name:`layer`,match(e,t){let n=(0,z.variantGetParameter)(`layer-`,e,t.generator.config.separators);if(n){let[e,t]=n,r=O.bracket(e)??e;if(r)return{matcher:t,handle:(e,t)=>t({...e,parent:`${e.parent?`${e.parent} $$ `:``}@layer ${r}`})}}}},bo={name:`uno-layer`,match(e,t){let n=(0,z.variantGetParameter)(`uno-layer-`,e,t.generator.config.separators);if(n){let[e,t]=n,r=O.bracket(e)??e;if(r)return{matcher:t,layer:r}}}},xo={name:`scope`,match(e,t){let n=(0,z.variantGetBracket)(`scope-`,e,t.generator.config.separators);if(n){let[e,t]=n,r=O.bracket(e);if(r)return{matcher:t,selector:e=>`${r} $$ ${e}`}}}},So={name:`variables`,match(e,t){if(!e.startsWith(`[`))return;let[n,r]=(0,z.getBracket)(e,`[`,`]`)??[];if(!(n&&r))return;let i;for(let e of t.generator.config.separators)if(r.startsWith(e)){i=r.slice(e.length);break}if(i==null)return;let a=O.bracket(n)??``,o=a.startsWith(`@`);if(o||a.includes(`&`))return{matcher:i,handle(e,t){let n=o?{parent:`${e.parent?`${e.parent} $$ `:``}${a}`}:{selector:a.replace(/&/g,e.selector)};return t({...e,...n})}}},multiPass:!0},Co={name:`theme-variables`,match(e,t){if((0,z.hasThemeFn)(e))return{matcher:e,handle(e,n){return n({...e,entries:JSON.parse((0,z.transformThemeFn)(JSON.stringify(e.entries),t.theme))})}}}},wo=/^-?[0-9.]+(?:[a-z]+|%)?$/,To=/-?[0-9.]+(?:[a-z]+|%)?/,Eo=[/\b(opacity|color|flex|backdrop-filter|^filter|transform)\b/];function Do(e){let t=e.match(Tt)||e.match(Et);if(t){let[e,n]=m(`(${t[2]})${t[3]}`,`(`,`)`,` `)??[];if(e)return`calc(${t[1]}${e} * -1)${n?` ${n}`:``}`}}let Oo=/\b(hue-rotate)\s*(\(.*)/;function ko(e){let t=e.match(Oo);if(t){let[e,n]=m(t[2],`(`,`)`,` `)??[];if(e){let r=wo.test(e.slice(1,-1))?e.replace(To,e=>e.startsWith(`-`)?e.slice(1):`-${e}`):`(calc(${e} * -1))`;return`${t[1]}${r}${n?` ${n}`:``}`}}}let Ao={name:`negative`,match(e){if(e.startsWith(`-`))return{matcher:e.slice(1),body:e=>{if(e.some(e=>e[0]===`$$mini-no-negative`))return;let t=!1;return e.forEach(e=>{let n=e[1]?.toString();if(!n||n===`0`||Eo.some(t=>t.test(e[0])))return;let r=Do(n);if(r){e[1]=r,t=!0;return}let i=ko(n);if(i){e[1]=i,t=!0;return}wo.test(n)&&(e[1]=n.replace(To,e=>e.startsWith(`-`)?e.slice(1):`-${e}`),t=!0)}),t?e:[]}}}};function jo(){return ft({getBracket:R.getBracket,h:O,variantGetBracket:R.variantGetBracket})}function Mo(){return pt({getBracket:R.getBracket,h:O,variantGetBracket:R.variantGetBracket})}function No(e={}){return mt(e,{getBracket:R.getBracket,h:O,variantGetBracket:R.variantGetBracket})}let Po=gt(),Fo={name:`starting`,match(e){if(e.startsWith(`starting:`))return{matcher:e.slice(9),handle:(e,t)=>t({...e,parent:`@starting-style`})}}},Io={name:`supports`,match(e,t){let n=(0,z.variantGetParameter)(`supports-`,e,t.generator.config.separators);if(n){let[e,r]=n,i=O.bracket(e)??``;if(i===``&&(i=t.theme.supports?.[e]??``),i)return/^[\w-]+$/.test(i)&&(i=`(${i}: var(--un))`),i=i.replace(/\b(and|or|not)\b/gi,` $1 `).replace(/\s+/g,` `).trim(),!(i.startsWith(`(`)&&i.endsWith(`)`))&&!/^not\b/i.test(i)&&(i=`(${i})`),{matcher:r,handle:(e,t)=>t({...e,parent:`${e.parent?`${e.parent} $$ `:``}@supports ${i}`})}}},multiPass:!0};function Lo(e){return[Qa,lo,yo,vo,bo,Ao,Fo,ho(),Io,go,_o,ro(),...oo,...jo(),Mo(),...No(e),Po,...co(e),...mo,xo,...io,so,So,...po(e),...to(e),Co]}let Ro=[_t(`svg`,e=>({selector:`${e.selector} svg`}))],zo=[_t(`.dark`,e=>({prefix:`.dark $$ ${e.prefix}`})),_t(`.light`,e=>({prefix:`.light $$ ${e.prefix}`})),C(`@dark`,`@media (prefers-color-scheme: dark)`),C(`@light`,`@media (prefers-color-scheme: light)`)],Bo=[C(`contrast-more`,`@media (prefers-contrast: more)`),C(`contrast-less`,`@media (prefers-contrast: less)`)],Vo=[C(`motion-reduce`,`@media (prefers-reduced-motion: reduce)`),C(`motion-safe`,`@media (prefers-reduced-motion: no-preference)`)],Ho=[C(`landscape`,`@media (orientation: landscape)`),C(`portrait`,`@media (orientation: portrait)`)],Uo=e=>{if(!e.startsWith(`_`)&&(/space-[xy]-.+$/.test(e)||/divide-/.test(e)))return{matcher:e,selector:e=>{let t=`>:not([hidden])~:not([hidden])`;return e.includes(t)?e:`${e}${t}`}}},Wo=[_t(`@hover`,e=>({parent:`${e.parent?`${e.parent} $$ `:``}@media (hover: hover) and (pointer: fine)`,selector:`${e.selector||``}:hover`}))];function Go(e,t,n){return`calc(${t} + (${e} - ${t}) * ${n} / 100)`}function Ko(e,t,n){let r=[e,t],i=[];for(let e=0;e<2;e++){let t=typeof r[e]==`string`?g(r[e]):r[e];if(!t||![`rgb`,`rgba`].includes(t.type))return;i.push(t)}let a=[];for(let e=0;e<3;e++)a.push(Go(i[0].components[e],i[1].components[e],n));return{type:`rgb`,components:a,alpha:Go(i[0].alpha??1,i[1].alpha??1,n)}}function qo(e,t){return Ko(`#fff`,e,t)}function Jo(e,t){return Ko(`#000`,e,t)}function Yo(e,t){let n=Number.parseFloat(`${t}`);if(!Number.isNaN(n))return n>0?Jo(e,t):qo(e,-n)}let Xo={tint:qo,shade:Jo,shift:Yo};function Zo(){let e;return{name:`mix`,match(t,n){e||=RegExp(`^mix-(tint|shade|shift)-(-?\\d{1,3})(?:${n.generator.config.separators.join(`|`)})`);let r=t.match(e);if(r)return{matcher:t.slice(r[0].length),body:e=>(e.forEach(e=>{if(e[1]){let t=g(`${e[1]}`);if(t){let n=Xo[r[1]](t,r[2]);n&&(e[1]=v(n))}}}),e)}}}}let Qo=(e,{theme:t})=>{let n=e.match(/^(.*)\b(placeholder-)(.+)$/);if(n){let[,e=``,r,i]=n;if(N(i,t,`accentColor`)||$o(i))return{matcher:`${e}placeholder-$ ${r}${i}`}}};function $o(e){let t=e.match(/^op(?:acity)?-?(.+)$/);return t&&t[1]!=null?O.bracket.percent(t[1])!=null:!1}function es(e){return[Qo,Uo,...Lo(e),...Bo,...Ho,...Vo,...Ro,...zo,...Wo,Zo()]}function ts(e){let t,n,r=2166136261;for(t=0,n=e.length;t<n;t++)r^=e.charCodeAt(t),r+=(r<<1)+(r<<4)+(r<<7)+(r<<8)+(r<<24);return`00000${(r>>>0).toString(36)}`.slice(-6)}function ns(e,t,n,r){for(let i of Array.from(e.matchAll(n)))if(i!=null){let n=i[0],a=`${r}${ts(n)}`;t.set(a,n),e=e.replace(n,a)}return e}function rs(e,t){for(let[n,r]of t.entries())e=e.replaceAll(n,r);return e}let is=/\/\/#\s*sourceMappingURL=.*\n?/g;function as(e){return e.includes(`sourceMappingURL=`)?e.replace(is,``):e}let os=/(?:[\w&:[\]-]|\[\S{1,64}=\S{1,64}\]){1,64}\[\\?['"]?\S{1,64}?['"]\]\]?[\w:-]{0,64}/g,ss=/\[(\\\W|[\w-]){1,64}:[^\s:]{0,64}?("\S{1,64}?"|'\S{1,64}?'|`\S{1,64}?`|[^\s:]{1,64}?)[^\s:]{0,64}?\)?\]/g,cs=/^\[(?:\\\W|[\w-]){1,64}:['"]?\S{1,64}?['"]?\]$/;function ls(e){let t=[];for(let n of e.matchAll(ss))n.index!==0&&!/^[\s'"`]/.test(e[n.index-1]??``)||t.push(n[0]);for(let n of e.matchAll(os))t.push(n[0]);let r=new Map,i=`@unocss-skip-arbitrary-brackets`;return e=ns(e,r,/-\[(?!&.+?;)[^\]]*\]/g,i),e&&e.split(n).forEach(e=>{e.includes(i)&&(e=rs(e,r)),c(e)&&!cs.test(e)&&t.push(e)}),t}function us(){return{name:`@unocss/extractor-arbitrary-variants`,order:0,extract({code:e}){return ls(as(e))}}}function ds(e){if(e.preflight)return[{layer:`preflights`,getCSS({theme:t,generator:n}){if(t.preflightBase){let i=Object.entries(t.preflightBase);if(e.preflight===`on-demand`){let e=new Set(Array.from(n.activatedRules).map(e=>e[2]?.custom?.preflightKeys).filter(Boolean).flat());i=i.filter(([t])=>e.has(t))}if(i.length>0){let n=u(i);return e.variablePrefix!==`un-`&&(n=n.replace(/--un-/g,`--${e.variablePrefix}`)),r(t.preflightRoot??[`*,::before,::after`,`::backdrop`]).map(e=>`${e}{${n}}`).join(``)}}}}]}let fs={position:[`relative`,`absolute`,`fixed`,`sticky`,`static`],globalKeyword:E},ps=d((e={})=>(e.dark=e.dark??`class`,e.attributifyPseudo=e.attributifyPseudo??!1,e.preflight=e.preflight??!0,e.variablePrefix=e.variablePrefix??`un-`,{name:`@unocss/preset-mini`,theme:Xa,rules:mi,variants:Lo(e),options:e,prefix:e.prefix,postprocess:ms(e.variablePrefix),preflights:ds(e),extractorDefault:e.arbitraryVariants===!1?void 0:us(),autocomplete:{shorthands:fs}}));function ms(e){if(e!==`un-`)return t=>{t.entries.forEach(t=>{t[0]=t[0].replace(/^--un-/,`--${e}`),typeof t[1]==`string`&&(t[1]=t[1].replace(/var\(--un-/g,`var(--${e}`))})}}function hs(e){if(e==null||e===!1)return[];let t=e=>e.startsWith(`:is(`)&&e.endsWith(`)`)?e:e.includes(`::`)?e.replace(/(.*?)((?:\s\*)?::.*)/,`:is($1)$2`):`:is(${e})`;return[e===!0?e=>{e.entries.forEach(e=>{e[1]!=null&&!String(e[1]).endsWith(`!important`)&&(e[1]+=` !important`)})}:n=>{n.selector.startsWith(e)||(n.selector=`${e} ${t(n.selector)}`)}]}function gs(e){return[...r(ps(e).postprocess),...hs(e.important)]}let _s=d((e={})=>(e.important=e.important??!1,{...ps(e),name:`@unocss/preset-wind3`,theme:Za,rules:ga,shortcuts:_a,variants:es(e),postprocess:gs(e)})),vs=d((e={})=>({..._s(e),name:`@unocss/preset-uno`}));window.__unocss_runtime=window.__unocss_runtime??{},window.__unocss_runtime.presets=Object.assign(window.__unocss_runtime?.presets??{},{presetUno:e=>vs(e)})})();
|