@stacksjs/ts-css 0.3.24 → 0.3.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/bin/cssx.js CHANGED
@@ -88,7 +88,7 @@ Received ${r}, cleaning up...`),e)try{await e()}catch(n){console.error("Error du
88
88
  `)),this.enableDidYouMean){let t=[];for(let n of this.commands){if(n.displayName)t.push(n.displayName);if(n.aliasNames)t.push(...n.aliasNames)}let r=Ki(e,t);if(r.length>0)console.log(vt.yellow("Did you mean one of these?")),r.forEach((n)=>console.log(` ${vt.dim("\u2022")} ${this.name} ${n}`)),console.log("")}console.log(vt.dim("Run"),`${this.name} --help`,vt.dim("to see all available commands")),Ie.exit(1)}async parse(e=Vi,t={}){let{run:r=!0,exitOnError:n=!1}=t;if(n)try{return await this.parse(e,{run:r})}catch(a){throw this.handleUsageError(a),a}if(this.rawArgs=e,!this.name)this.name=e[1]?Pc(e[1]):"cli";let i=!0,o=e.slice(2),s=o[0];if(s&&!s.startsWith("-")){for(let a of this.commands)if(a.isMatched(s)){let c=this.mri(o,a);i=!1;let u={...c,args:c.args.slice(1)};this.setParsedInfo(u,a,s),this.emit(`command:${s}`,a);break}if(i){let a=o[1];if(a&&!a.startsWith("-")){let c=`${s}:${a}`;for(let u of this.commands)if(u.isMatched(c)){let f=this.mri(o,u);i=!1;let d={...f,args:f.args.slice(2)};this.setParsedInfo(d,u,c),this.emit(`command:${c}`,u);break}}}}if(i){for(let a of this.commands)if(a.name===""){i=!1;let c=this.mri(o,a);this.setParsedInfo(c,a),this.emit("command:!",a);break}}if(i){let a=this.mri(e.slice(2));this.setParsedInfo(a)}if(this.options.verbose)this.isVerbose=!0;if(this.options.quiet)this.isQuiet=!0;if(this.options.debug)this.isDebug=!0;if(this.options.noInteraction||this.options.interaction===!1)this.isNoInteraction=!0;if(this.options.env)this.environment=String(this.options.env);if(this.options.dryRun)this.isDryRun=!0;if(this.options.force)this.isForce=!0;if(this.options.noEmoji||this.options.emoji===!1)this.useEmoji=!1;if(this.options.theme)this.theme=String(this.options.theme);if(this.options.noCache||this.options.cache===!1)this.isNoCache=!0;if(this.options.help&&this.showHelpOnExit)this.outputHelp(),r=!1,this.unsetMatchedCommand();if(this.options.version&&this.showVersionOnExit&&this.matchedCommandName==null)this.outputVersion(),r=!1,this.unsetMatchedCommand();let l={args:this.args,options:this.options};if(r)await this.runMatchedCommand();if(!this.matchedCommand&&this.args[0]){if(this.emit("command:*"),!(this.listenerCount("command:*")>0))this.showCommandNotFound(this.args[0])}return l}mri(e,t){let r=[...this.globalCommand.options,...t?t.options:[]],n=Nc(r),i=[],o=e.indexOf("--");if(o>-1)i=e.slice(o+1),e=e.slice(0,o);let s=Fc(e,n),l={_:s._};for(let d of Object.keys(s))if(d!=="_")l[$t(d)]=s[d];let a=l._,c={"--":i},u=t&&t.config.ignoreOptionDefaultValue?t.config.ignoreOptionDefaultValue:this.globalCommand.config.ignoreOptionDefaultValue,f=Object.create(null);for(let d of r){if(!u&&d.config.default!==void 0)for(let h of d.names)c[h]=d.config.default;if(Array.isArray(d.config.type)){if(f[d.name]===void 0)f[d.name]={shouldTransform:!0,transformFunction:d.config.type[0]}}}for(let d of Object.keys(l))if(d!=="_"){let h=d.split(".");Oc(c,h,l[d]),Ic(c,f)}for(let d of r){if(!d.variadic)continue;for(let h of d.names){let g=c[h];if(g===void 0||Array.isArray(g))continue;if(d.config.default!==void 0&&g===d.config.default)continue;c[h]=[g]}}return{args:a,options:c}}async run(e=Vi){return this.parse(e,{run:!0,exitOnError:!0})}handleUsageError(e){if(!_c(e)||e.isUsageError===!1)return;let t=e.message||"command-line error",r=this.name?`${this.name}: `:"",n=/--help/.test(t)?"":e.usage?`
89
89
  Usage: ${e.usage}`:`
90
90
  Run \`${this.name??"cli"} --help\` for usage.`;Ie.stderr.write(`${r}${t}${n}
91
- `),Ie.exit(e.exitCode??2)}async runMatchedCommand(){let{args:e,options:t,matchedCommand:r}=this;if(!r||!r.commandAction)return;r.checkUnknownOptions(),r.checkOptionValue(),r.checkRequiredArgs();let n=[];r.args.forEach((l,a)=>{if(l.variadic)n.push(e.slice(a));else n.push(e[a])}),n.push(t);let i={command:r,args:n,options:t};for(let l of r.beforeHooks)await l(i);let o,s=async()=>{let l=r.commandAction.apply(this,n);if(l instanceof Promise)o=await l;else o=l;return o};if(r.middleware.length>0){let l=0,a=async()=>{if(l<r.middleware.length){let c=r.middleware[l++];await c({...i,next:a})}else await s()};await a()}else await s();for(let l of r.afterHooks)await l(i);return o}removeSignalHandlers(){if(!this.signalHandlersSet)return this;return Ie.removeAllListeners("SIGINT"),Ie.removeAllListeners("SIGTERM"),this.signalHandlersSet=!1,this}destroy(){this.removeSignalHandlers(),this.commands=[],this.rawArgs=[],this.args=[],this.options={},this.matchedCommand=void 0,this.matchedCommandName=void 0,this.removeAllListeners()}}class Hi{cache;enabled;cleanupInterval=null;hits=0;misses=0;constructor(){this.cache=new Map,this.enabled=!0,this.startCleanupInterval()}startCleanupInterval(){if(this.cleanupInterval)return;this.cleanupInterval=setInterval(()=>{this.cleanup()},30000),this.cleanupInterval.unref()}stopCleanup(){if(this.cleanupInterval)clearInterval(this.cleanupInterval),this.cleanupInterval=null}isEnabled(){return this.enabled}get(e){if(!this.enabled){this.misses++;return}let t=this.cache.get(e);if(!t){this.misses++;return}if(Date.now()-t.timestamp>t.ttl){this.cache.delete(e),this.misses++;return}return this.hits++,t.value}set(e,t,r=5000){if(!this.enabled)return;this.cache.set(e,{value:t,timestamp:Date.now(),ttl:r})}has(e){if(!this.enabled)return!1;let t=this.cache.get(e);if(!t)return!1;if(Date.now()-t.timestamp>t.ttl)return this.cache.delete(e),!1;return!0}delete(e){this.cache.delete(e)}clear(){this.cache.clear()}disable(){this.enabled=!1,this.clear()}enable(){this.enabled=!0}stats(){return{size:this.cache.size,enabled:this.enabled,hits:this.hits,misses:this.misses}}resetStats(){this.hits=0,this.misses=0}keys(){return Array.from(this.cache.keys())}cleanup(){let e=Date.now();for(let[t,r]of this.cache.entries())if(e-r.timestamp>r.ttl)this.cache.delete(t)}destroy(){this.stopCleanup(),this.clear(),this.resetStats()}}var Vx=new Hi;function Wc(){if("FORCE_COLOR"in wt.env)return wt.env.FORCE_COLOR!=="0";if("NO_COLOR"in wt.env||wt.env.TERM==="dumb")return!1;if(wt.platform==="win32")return!0;return Wi.isatty(1)&&Wi.isatty(2)}var qi=Wc();function M(e,t){if(!qi)return(r)=>r;return(r)=>e+r+t}var zc=M("\x1B[0m","\x1B[0m"),Kc=M("\x1B[31m","\x1B[39m"),Gc=M("\x1B[32m","\x1B[39m"),Hc=M("\x1B[33m","\x1B[39m"),qc=M("\x1B[34m","\x1B[39m"),Yc=M("\x1B[35m","\x1B[39m"),Jc=M("\x1B[36m","\x1B[39m"),Xc=M("\x1B[37m","\x1B[39m"),Zc=M("\x1B[90m","\x1B[39m"),Qc=M("\x1B[1m","\x1B[22m"),eu=M("\x1B[3m","\x1B[23m"),tu=M("\x1B[4m","\x1B[24m"),ru=M("\x1B[2m","\x1B[22m"),nu=M("\x1B[7m","\x1B[27m"),iu=M("\x1B[8m","\x1B[28m"),ou=M("\x1B[9m","\x1B[29m"),su=M("\x1B[41m","\x1B[49m"),au=M("\x1B[42m","\x1B[49m"),lu=M("\x1B[43m","\x1B[49m"),cu=M("\x1B[44m","\x1B[49m"),uu=M("\x1B[45m","\x1B[49m"),fu=M("\x1B[46m","\x1B[49m"),du=M("\x1B[47m","\x1B[49m"),hu=qi,gu={reset:zc,red:Kc,green:Gc,yellow:Hc,blue:qc,magenta:Yc,cyan:Jc,white:Xc,gray:Zc,bold:Qc,italic:eu,underline:tu,dim:ru,inverse:nu,hidden:iu,strikethrough:ou,bgRed:su,bgGreen:au,bgYellow:lu,bgBlue:cu,bgMagenta:uu,bgCyan:fu,bgWhite:du,isColorSupported:hu},mu=gu,yu=["up","down","left","right","space","enter","cancel"],qx={actions:new Set(yu),aliases:new Map([["k","up"],["j","down"],["h","left"],["l","right"],["\x03","cancel"],["escape","cancel"]]),messages:{cancel:"Canceled",error:"Something went wrong"}};var Yx=pu.platform.startsWith("win"),Jx=Symbol("clapp:cancel");var bu=Lc();var _=(e,t)=>bu?e:t,Xx=_("\u25C6","*"),Zx=_("\u25A0","x"),Qx=_("\u25B2","x"),ev=_("\u25C7","o"),tv=_("\u250C","T"),xu=_("\u2502","|"),rv=_("\u2514","\u2014"),nv=_("\u25CF",">"),iv=_("\u25CB"," "),ov=_("\u25FB","[\u2022]"),sv=_("\u25FC","[+]"),av=_("\u25FB","[ ]"),lv=_("\u25AA","\u2022"),cv=_("\u2500","-"),uv=_("\u256E","+"),fv=_("\u251C","+"),dv=_("\u256F","+"),hv=_("\u25CF","\u2022"),gv=_("\u25C6","*"),mv=_("\u25B2","!"),pv=_("\u25A0","x");var yv={light:_("\u2500","-"),heavy:_("\u2501","="),block:_("\u2588","#")};function vu(){return`${mu.gray(xu)} `}var bv=vu();class Yi{configPath;config=null;events=[];retryCount=0;maxRetries=3;retryDelayMs=1000;constructor(){let e=zi.homedir(),t=rn.join(e,".config","clapp");this.configPath=rn.join(t,"telemetry.json")}async isEnabled(){if(Ue.env.DO_NOT_TRACK==="1"||Ue.env.DO_NOT_TRACK==="true")return!1;if(Ue.env.NO_TELEMETRY==="1"||Ue.env.NO_TELEMETRY==="true")return!1;return(await this.loadConfig()).enabled}async enable(){let e=await this.loadConfig();if(e.enabled=!0,!e.userId)e.userId=this.generateUserId();await this.saveConfig(e)}async disable(){let e=await this.loadConfig();e.enabled=!1,await this.saveConfig(e)}async track(e,t){if(!await this.isEnabled())return;let n={event:e,...t,timestamp:Date.now(),platform:zi.platform(),nodeVersion:Ue.version};if(this.events.push(n),this.events.length>=10)await this.send()}async trackCommand(e,t){await this.track("command",{command:e,duration:t})}async trackError(e,t){await this.track("error",{error:e,command:t})}async send(){if(!await this.isEnabled()||this.events.length===0)return!0;try{this.events=[],this.retryCount=0;let t=await this.loadConfig();return t.lastSent=Date.now(),await this.saveConfig(t),!0}catch{if(this.retryCount<this.maxRetries){this.retryCount++;let t=this.retryDelayMs*2**(this.retryCount-1);return await this.sleep(t),this.send()}return this.events=[],this.retryCount=0,!1}}async flush(){if(this.events.length===0)return!0;return this.send()}sleep(e){return new Promise((t)=>setTimeout(t,e))}async status(){let e=await this.loadConfig();return{enabled:e.enabled,doNotTrack:Ue.env.DO_NOT_TRACK==="1"||Ue.env.DO_NOT_TRACK==="true",eventsQueued:this.events.length,lastSent:e.lastSent}}async loadConfig(){if(this.config)return this.config;try{if(wu(this.configPath)){let e=await tn.readFile(this.configPath,"utf-8");return this.config=JSON.parse(e),this.config}}catch{}return this.config={enabled:!1},this.config}async saveConfig(e){this.config=e;try{let t=rn.dirname(this.configPath);await tn.mkdir(t,{recursive:!0}),await tn.writeFile(this.configPath,JSON.stringify(e,null,2),"utf-8")}catch{}}generateUserId(){let e=Math.random().toString(36).substring(2,15),t=Date.now().toString(36);return`${e}-${t}`}}var Rv=new Yi;var cn="0.3.24";function be(e){return{prev:null,next:null,data:e}}class le{head=null;tail=null;cursors=[];allocateCursor(e,t){let r={prev:e,next:t};return this.cursors.push(r),r}releaseCursor(){this.cursors.pop()}updateCursors(e,t,r,n){for(let i of this.cursors){if(i.prev===e)i.prev=t;if(i.next===r)i.next=n}}static createItem(e){return be(e)}createItem(e){return be(e)}get isEmpty(){return this.head===null}get first(){return this.head?.data??null}get last(){return this.tail?.data??null}*[Symbol.iterator](){for(let e=this.head;e!=null;e=e.next)yield e.data}fromArray(e){let t=null;this.head=null;for(let r of e){let n=be(r);if(n.prev=t,t)t.next=n;else this.head=n;t=n}return this.tail=t,this}toArray(){let e=[];for(let t=this.head;t!=null;t=t.next)e.push(t.data);return e}toJSON(){return this.toArray()}forEach(e,t){let r=this.allocateCursor(null,this.head);while(r.next!==null){let n=r.next;r.prev=n,r.next=n.next,e.call(t,n.data,n,this)}this.releaseCursor()}forEachRight(e,t){let r=this.allocateCursor(this.tail,null);while(r.prev!==null){let n=r.prev;r.next=n,r.prev=n.prev,e.call(t,n.data,n,this)}this.releaseCursor()}reduce(e,t){let r=t,n=0;for(let i=this.head;i!=null;i=i.next)r=e(r,i.data,n++,this);return r}some(e){let t=0;for(let r=this.head;r!=null;r=r.next)if(e(r.data,t++,this))return!0;return!1}map(e){let t=new le,r=null,n=0;for(let i=this.head;i!=null;i=i.next){let o=be(e(i.data,n++,this));if(o.prev=r,r)r.next=o;else t.head=o;r=o}return t.tail=r,t}filter(e){let t=new le,r=null,n=0;for(let i=this.head;i!=null;i=i.next)if(e(i.data,n++,this)){let o=be(i.data);if(o.prev=r,r)r.next=o;else t.head=o;r=o}return t.tail=r,t}clear(){let e=this.head;while(e){let t=e.next;e.prev=null,e.next=null,e=t}this.head=null,this.tail=null}copy(){let e=new le,t=null;for(let r=this.head;r!=null;r=r.next){let n=be(r.data);if(n.prev=t,t)t.next=n;else e.head=n;t=n}return e.tail=t,e}prepend(e){return this.insert(e,this.head)}prependData(e){return this.insert(be(e),this.head)}append(e){return this.insert(e,null)}appendData(e){return this.insert(be(e),null)}insert(e,t=null){if(t!=null)if(this.updateCursors(t.prev,e,t,e),t.prev===null){if(this.head!==t)throw Error("before doesn't belong to list");this.head=e,t.prev=e,e.next=t,this.updateCursors(null,e,null,null)}else t.prev.next=e,e.prev=t.prev,t.prev=e,e.next=t;else if(this.updateCursors(this.tail,e,null,e),this.tail!==null)this.tail.next=e,e.prev=this.tail,this.tail=e;else this.head=e,this.tail=e;return this}insertData(e,t=null){return this.insert(be(e),t)}remove(e){if(this.updateCursors(e,e.prev,e,e.next),e.prev!==null)e.prev.next=e.next;else if(this.head===e)this.head=e.next;else throw Error("item doesn't belong to list");if(e.next!==null)e.next.prev=e.prev;else if(this.tail===e)this.tail=e.prev;else throw Error("item doesn't belong to list");return e.prev=null,e.next=null,e}push(e){this.insert(be(e),null)}pop(){if(this.tail===null)return null;return this.remove(this.tail)}unshift(e){this.prependData(e)}shift(){if(this.head===null)return null;return this.remove(this.head)}prependList(e){return this.insertList(e,this.head)}appendList(e){return this.insertList(e,null)}insertList(e,t=null){if(e.head===null)return this;if(t!==null){if(this.updateCursors(t.prev,e.tail,t,e.head),t.prev!==null)t.prev.next=e.head,e.head.prev=t.prev;else this.head=e.head;t.prev=e.tail,e.tail.next=t}else{if(this.updateCursors(this.tail,e.tail,null,e.head),this.tail!==null)this.tail.next=e.head,e.head.prev=this.tail;else this.head=e.head;this.tail=e.tail}return e.head=null,e.tail=null,this}replace(e,t){if(t instanceof le)this.insertList(t,e),this.remove(e);else this.insert(t,e),this.remove(e)}}function Q(e){switch(e.type){case"StyleSheet":return oe(e.children,"");case"Rule":return`${Q(e.prelude)}{${Q(e.block)}}`;case"Block":return Cu(e.children);case"Atrule":{let t=`@${e.name}`;if(e.prelude){let r=Q(e.prelude);if(r)t+=` ${r}`}if(e.block)t+=`{${Q(e.block)}}`;else t+=";";return t}case"AtrulePrelude":return oe(e.children,"");case"SelectorList":return oe(e.children,",");case"Selector":return oe(e.children,"");case"TypeSelector":return e.name;case"IdSelector":return`#${e.name}`;case"ClassSelector":return`.${e.name}`;case"NestingSelector":return"&";case"AttributeSelector":{let t=`[${e.name.name}`;if(e.matcher&&e.value)if(t+=e.matcher,e.value.type==="String")t+=`"${un(e.value.value)}"`;else t+=e.value.name;if(e.flags)t+=` ${e.flags}`;return t+="]",t}case"PseudoClassSelector":return e.children?`:${e.name}(${oe(e.children,"")})`:`:${e.name}`;case"PseudoElementSelector":return e.children?`::${e.name}(${oe(e.children,"")})`:`::${e.name}`;case"Combinator":return e.name===" "?" ":e.name;case"Declaration":return`${e.property}:${Q(e.value)}${e.important?"!important":""}`;case"DeclarationList":return oe(e.children,";");case"Value":return oe(e.children,"");case"Identifier":return e.name;case"Number":return e.value;case"Percentage":return`${e.value}%`;case"Dimension":return e.value+e.unit;case"String":return`"${un(e.value)}"`;case"Url":return/[\s"'()\\\u0000-\u001F\u007F]/.test(e.value)?`url("${un(e.value)}")`:`url(${e.value})`;case"Hash":return`#${e.name}`;case"Operator":return e.value;case"Function":return`${e.name}(${oe(e.children,"")})`;case"Parentheses":return`(${oe(e.children,"")})`;case"Brackets":return`[${oe(e.children,"")}]`;case"Raw":return e.value;case"Comment":return e.value.startsWith("!")?`/*${e.value}*/`:"";case"WhiteSpace":return" ";case"CDO":return"<!--";case"CDC":return"-->";case"AnPlusB":{let t=e.a??"",r=e.b??"";if(t&&r){let n=Number(r);return`${t==="1"?"":t==="-1"?"-":t}n${n>=0?`+${r}`:r}`}if(t)return`${t==="1"?"":t==="-1"?"-":t}n`;return r}case"Ratio":return`${e.left.value}/${e.right.value}`;case"UnicodeRange":return e.value;case"Nth":return e.selector?`${Q(e.nth)} of ${Q(e.selector)}`:Q(e.nth);case"MediaQueryList":return oe(e.children,",");case"MediaQuery":return oe(e.children,"");case"MediaFeature":{let t=`(${e.name}`;if(e.value)t+=`:${Q(e.value)}`;return t+=")",t}}return""}function oe(e,t){let r="",n=!0,i=null,o=e.head;while(o!=null){let s=o.data;if(s.type==="WhiteSpace"){let a=o.next?o.next.data:null;if(Ji(i)||Ji(a)){o=o.next;continue}}let l=Q(s);if(!l){o=o.next;continue}if(!n&&t&&!ku(i))r+=t;n=!1,r+=l,i=s,o=o.next}return r}function Cu(e){let t="",r=null,n=e.head;while(n!=null){let i=n.data,o=Q(i);if(!o){n=n.next;continue}if(r&&Ru(r,i))t+=";";t+=o,r=i,n=n.next}return t}function Ru(e,t){return e.type==="Declaration"&&t.type!=="Comment"}function Ji(e){if(!e||e.type!=="Operator")return!1;let t=e.value;return t===":"||t===","||t==="/"}function ku(e){if(!e)return!1;return e.type==="Operator"||e.type==="Combinator"}function un(e){let t="";for(let r=0;r<e.length;r++){let n=e.charCodeAt(r);if(n===92)t+="\\\\";else if(n===34)t+="\\\"";else if(n<32||n===127){let i=n.toString(16),o=r+1<e.length?e.charCodeAt(r+1):-1,s=o===32||o===9||o===10||o===12||o===13||o>=48&&o<=57||o>=65&&o<=70||o>=97&&o<=102;t+=`\\${i}${s?" ":""}`}else t+=e[r]}return t}var We=(()=>{let e=new Uint8Array(128);for(let t=0;t<128;t++){let r=0;if(t===32||t===9||t===10||t===12||t===13)r|=1;if(t>=48&&t<=57)r|=2;if(t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102)r|=4;if(t>=65&&t<=90||t>=97&&t<=122||t===95)r|=8;if(t===10||t===12||t===13)r|=16;e[t]=r}return e})();function fe(e){return e<128&&(We[e]&2)!==0}function Rt(e){return e<128&&(We[e]&4)!==0}function Xi(e){return e>=128||e<128&&(We[e]&8)!==0}function Su(e){return e===45||e>=128||e<128&&(We[e]&10)!==0}function Au(e){return e>=0&&e<=8||e===11||e>=14&&e<=31||e===127}function dn(e){return e<128&&(We[e]&16)!==0}function Re(e){return e<128&&(We[e]&1)!==0}function Ve(e,t){if(e!==92)return!1;if(dn(t))return!1;return!0}function fn(e,t,r){if(e===45)return Xi(t)||t===45||Ve(t,r);if(Xi(e))return!0;if(e===92)return Ve(e,t);return!1}function Eu(e,t,r){if(e===43||e===45){if(fe(t))return!0;if(t===46&&fe(r))return!0;return!1}if(e===46)return fe(t);return fe(e)}class Bt{source;offset=0;types;starts;ends;count=0;_tokens=null;_lineStarts=null;constructor(e){this.source=e;let t=Math.max(64,Math.ceil(e.length/3));this.types=new Uint8Array(t),this.starts=new Uint32Array(t),this.ends=new Uint32Array(t),this.tokenize()}get lineStarts(){if(this._lineStarts==null)this._lineStarts=Tu(this.source);return this._lineStarts}get tokens(){if(this._tokens!=null)return this._tokens;let e=Array.from({length:this.count});for(let t=0;t<this.count;t++)e[t]={type:this.types[t],start:this.starts[t],end:this.ends[t]};return this._tokens=e,e}addToken(e,t,r){if(this.count>=this.types.length)this.grow();this.types[this.count]=e,this.starts[this.count]=t,this.ends[this.count]=r,this.count++}grow(){let t=this.types.length*2,r=new Uint8Array(t);r.set(this.types),this.types=r;let n=new Uint32Array(t);n.set(this.starts),this.starts=n;let i=new Uint32Array(t);i.set(this.ends),this.ends=i}tokenize(){let e=this.source,t=0,r=e.length;while(t<r){let n=e.charCodeAt(t);if(n===47&&e.charCodeAt(t+1)===42){let s=t;t+=2;while(t<r&&!(e.charCodeAt(t)===42&&e.charCodeAt(t+1)===47))t++;t=t<r?t+2:r,this.addToken(25,s,t);continue}if(Re(n)){let s=t;while(t<r&&Re(e.charCodeAt(t)))t++;this.addToken(13,s,t);continue}if(n===34||n===39){t=this.consumeString(n,t);continue}if(n===35){if(t+1<r&&(Su(e.charCodeAt(t+1))||Ve(e.charCodeAt(t+1),e.charCodeAt(t+2)))){let s=t;t++,t=this.consumeName(t),this.addToken(4,s,t);continue}this.addToken(9,t,t+1),t++;continue}switch(n){case 40:this.addToken(21,t,t+1),t++;continue;case 41:this.addToken(22,t,t+1),t++;continue;case 91:this.addToken(19,t,t+1),t++;continue;case 93:this.addToken(20,t,t+1),t++;continue;case 123:this.addToken(23,t,t+1),t++;continue;case 125:this.addToken(24,t,t+1),t++;continue;case 44:this.addToken(18,t,t+1),t++;continue;case 58:this.addToken(16,t,t+1),t++;continue;case 59:this.addToken(17,t,t+1),t++;continue}if(n===60&&e.startsWith("!--",t+1)){this.addToken(14,t,t+4),t+=4;continue}if(n===45&&e.startsWith("->",t+1)){this.addToken(15,t,t+3),t+=3;continue}if(n===64){let s=e.charCodeAt(t+1),l=e.charCodeAt(t+2),a=e.charCodeAt(t+3);if(fn(s,l,a)){let c=t;t++,t=this.consumeName(t),this.addToken(3,c,t);continue}this.addToken(9,t,t+1),t++;continue}let i=e.charCodeAt(t+1),o=e.charCodeAt(t+2);if(Eu(n,i,o)){t=this.consumeNumeric(t);continue}if(fn(n,i,o)){t=this.consumeIdentLike(t);continue}if(n===92){if(Ve(n,i)){t=this.consumeIdentLike(t);continue}this.addToken(9,t,t+1),t++;continue}this.addToken(9,t,t+1),t++}this.addToken(0,r,r)}consumeString(e,t){let r=this.source,n=r.length,i=t+1;while(i<n){let o=r.charCodeAt(i);if(o===e)return i++,this.addToken(5,t,i),i;if(dn(o))return this.addToken(6,t,i),i;if(o===92){let s=r.charCodeAt(i+1);if(dn(s)){i+=2;continue}if(i+1<n){i=this.consumeEscapeSkip(i+1);continue}}i++}return this.addToken(5,t,i),i}consumeEscapeSkip(e){let t=this.source;if(e>=t.length)return e;let r=t.charCodeAt(e);if(Rt(r)){let n=1;e++;while(n<6&&e<t.length&&Rt(t.charCodeAt(e)))e++,n++;if(e<t.length&&Re(t.charCodeAt(e)))e++;return e}return e+1}consumeName(e){let t=this.source,r=t.length,n=e;while(n<r){let i=t.charCodeAt(n);if(i<128&&(We[i]&10)!==0){n++;continue}if(i===45){n++;continue}if(i>=128){n++;continue}if(i===92&&Ve(i,t.charCodeAt(n+1))){n=this.consumeEscapeSkip(n+1);continue}break}return n}consumeNumber(e){let t=this.source,r=e;if(t.charCodeAt(r)===43||t.charCodeAt(r)===45)r++;while(r<t.length&&fe(t.charCodeAt(r)))r++;if(t.charCodeAt(r)===46&&fe(t.charCodeAt(r+1))){r+=2;while(r<t.length&&fe(t.charCodeAt(r)))r++}let n=t.charCodeAt(r);if(n===69||n===101){let i=t.charCodeAt(r+1),o=t.charCodeAt(r+2);if(fe(i)){r+=2;while(r<t.length&&fe(t.charCodeAt(r)))r++}else if((i===43||i===45)&&fe(o)){r+=3;while(r<t.length&&fe(t.charCodeAt(r)))r++}}return r}consumeNumeric(e){let t=this.source,r=this.consumeNumber(e),n=t.charCodeAt(r),i=t.charCodeAt(r+1),o=t.charCodeAt(r+2);if(fn(n,i,o)){let s=this.consumeName(r);return this.addToken(12,e,s),s}if(n===37)return this.addToken(11,e,r+1),r+1;return this.addToken(10,e,r),r}consumeIdentLike(e){let t=this.source,r=this.consumeName(e),n=t.charCodeAt(r);if(n===40&&r-e===3){let i=t.charCodeAt(e)|32,o=t.charCodeAt(e+1)|32,s=t.charCodeAt(e+2)|32;if(i===117&&o===114&&s===108){let l=r+1;while(l<t.length&&Re(t.charCodeAt(l)))l++;let a=t.charCodeAt(l);if(a===34||a===39)return this.addToken(2,e,r+1),r+1;return this.consumeUrl(e,r)}}if(n===40)return this.addToken(2,e,r+1),r+1;return this.addToken(1,e,r),r}consumeUrl(e,t){let r=this.source,n=r.length,i=t+1;while(i<n&&Re(r.charCodeAt(i)))i++;while(i<n){let o=r.charCodeAt(i);if(o===41)return i++,this.addToken(7,e,i),i;if(Re(o)){let s=i;while(i<n&&Re(r.charCodeAt(i)))i++;if(i>=n)return this.addToken(7,e,i),i;if(r.charCodeAt(i)===41)return i++,this.addToken(7,e,i),i;return this.consumeBadUrl(e,s)}if(o===34||o===39||o===40||Au(o))return this.consumeBadUrl(e,i);if(o===92){if(Ve(o,r.charCodeAt(i+1))){i=this.consumeEscapeSkip(i+1);continue}return this.consumeBadUrl(e,i)}i++}return this.addToken(7,e,i),i}consumeBadUrl(e,t){let r=this.source,n=t;while(n<r.length){let i=r.charCodeAt(n);if(i===41){n++;break}if(i===92&&Ve(i,r.charCodeAt(n+1))){n=this.consumeEscapeSkip(n+1);continue}n++}return this.addToken(8,e,n),n}locate(e){let t=this.lineStarts,r=0,n=t.length-1;while(r<n){let o=r+n+1>>1;if(t[o]<=e)r=o;else n=o-1}let i=t[r];return{line:r+1,column:e-i+1}}}function Tu(e){let t=[0],r=e.length;for(let n=0;n<r;n++){let i=e.charCodeAt(n);if(i===10)t.push(n+1);else if(i===13){if(e.charCodeAt(n+1)!==10)t.push(n+1)}}return t}function hn(e,t,r){for(let n=t;n<r;n++)if(e.charCodeAt(n)===92)return Nu(e,t,r,n);return e.slice(t,r)}function Nu(e,t,r,n){let i=e.slice(t,n),o=n;while(o<r){if(e.charCodeAt(o)!==92){i+=e[o],o++;continue}if(o+1>=r){o++;continue}let l=e.charCodeAt(o+1);if(l===10){o+=2;continue}if(l===13){o+=e.charCodeAt(o+2)===10?3:2;continue}if(Rt(l)){let a=o+1,c="";while(c.length<6&&a<r&&Rt(e.charCodeAt(a)))c+=e[a],a++;let u=Number.parseInt(c,16);if(a<r&&Re(e.charCodeAt(a)))a++;i+=u===0||u>=55296&&u<=57343||u>1114111?String.fromCodePoint(65533):String.fromCodePoint(u),o=a;continue}i+=e[o+1],o+=2}return i}function gn(e,t,r){for(let n=t;n<r;n++)if(e.charCodeAt(n)===92)return Ou(e,t,r,n);return e.slice(t,r)}function Ou(e,t,r,n){let i=e.slice(t,n),o=n;while(o<r){if(e.charCodeAt(o)!==92){i+=e[o],o++;continue}let l=o+1,a="";while(a.length<6&&l<r&&Rt(e.charCodeAt(l)))a+=e[l],l++;if(a.length>0){let c=Number.parseInt(a,16);if(l<r&&Re(e.charCodeAt(l)))l++;i+=c===0||c>=55296&&c<=57343||c>1114111?String.fromCodePoint(65533):String.fromCodePoint(c),o=l;continue}if(l<r){i+=e[l],o=l+1;continue}i+=String.fromCodePoint(65533),o=l}return i}function io(e,t){let r=new Bt(e);return{source:e,types:r.types,starts:r.starts,ends:r.ends,count:r.count,end:r.count,pos:0,positions:t.positions??!1,filename:t.filename,parseValue:t.parseValue??!0,parseAtrulePrelude:t.parseAtrulePrelude??!0,parseCustomProperty:t.parseCustomProperty??!1,parseRulePrelude:t.parseRulePrelude??!0,onParseError:t.onParseError,tokenizer:r}}function x(e){return e.pos<e.end?e.types[e.pos]:0}function w(e){let t=e.pos;if(t>=e.end)return{type:0,start:e.starts[t]??e.source.length,end:e.ends[t]??e.source.length};return{type:e.types[t],start:e.starts[t],end:e.ends[t]}}function C(e){let t=e.pos++;if(t>=e.end)return{type:0,start:e.starts[t]??e.source.length,end:e.ends[t]??e.source.length};return{type:e.types[t],start:e.starts[t],end:e.ends[t]}}function xe(e,t){return e.source.slice(t.start,t.end)}function de(e){let{types:t,end:r}=e;while(e.pos<r){let n=t[e.pos];if(n===13||n===25)e.pos++;else break}}function Zi(e){let{types:t,end:r}=e;while(e.pos<r&&t[e.pos]===13)e.pos++}function k(e,t,r){if(!e.positions)return null;let n=e.tokenizer.locate(t.start),i=e.tokenizer.locate(r.end);return{source:e.filename??"<unknown>",start:{offset:t.start,line:n.line,column:n.column},end:{offset:r.end,line:i.line,column:i.column}}}function oo(e){if(!e.positions)return null;let t=w(e),r=e.tokenizer.locate(t.start);return{source:e.filename??"<unknown>",start:{offset:t.start,line:r.line,column:r.column},end:{offset:t.start,line:r.line,column:r.column}}}function Ut(e,t,r,n){return{type:"Raw",value:e,loc:k(n,t,r)}}function te(){return new le}function mn(e,t,r,n){if(e.onParseError){let{line:i,column:o}=e.tokenizer.locate(r.start),s=SyntaxError(`${e.filename??"<input>"}:${i}:${o}: ${t}`);s.line=i,s.column=o,s.offset=r.start,e.onParseError(s,n)}return n}function Wt(e,t={}){let r=io(e,t);switch(t.context??"stylesheet"){case"stylesheet":return to(r);case"atrule":return zt(r)??Qi(r);case"atrulePrelude":return Lu(r);case"mediaQuery":case"mediaQueryList":return eo(r);case"rule":return yn(r);case"selectorList":return vn(r);case"selector":return co(r);case"block":return bn(r);case"declarationList":return ju(r);case"declaration":return xn(r)??Qi(r);case"value":return Du(r);case"raw":return eo(r);default:return to(r)}}function Qi(e){return{type:"StyleSheet",children:te(),loc:oo(e)}}function eo(e){let t=w(e),r=t;while(x(e)!==0)r=C(e);return{type:"Raw",value:e.source.slice(t.start,r.end),loc:k(e,t,r)}}function to(e){let t=w(e),r=te(),{types:n,end:i}=e;while(e.pos<i){let l=n[e.pos];if(l===13){e.pos++;continue}if(l===25){let u={type:25,start:e.starts[e.pos],end:e.ends[e.pos]},f=pn(e,u);e.pos++,r.appendData(f);continue}if(l===0)break;if(l===14||l===15){e.pos++;continue}if(l===3){let u=zt(e);if(u)r.appendData(u);continue}if(l===24){e.pos++;continue}let a=e.pos,c=yn(e);if(r.appendData(c),e.pos===a)e.pos++}let o=e.end-1,s=o>=0?{type:e.types[o],start:e.starts[o],end:e.ends[o]}:{type:0,start:0,end:0};return{type:"StyleSheet",children:r,loc:k(e,t,s)}}function pn(e,t){return{type:"Comment",value:e.source.slice(t.start+2,t.end-2),loc:k(e,t,t)}}function zt(e){let t=w(e);if(t.type!==3)return null;e.pos++;let r=Vt(e.source,t.start+1,t.end);de(e);let n=e.pos,i=w(e),{types:o,end:s}=e,l=n,a=n;while(l<s){let f=o[l];if(f===0||f===17||f===23)break;if(f!==13&&f!==25)a=l+1;l++}let c=null;if(a>n){let f=e.starts[n],d=e.ends[a-1],h={type:o[a-1],start:e.starts[a-1],end:d},g=e.source.slice(f,d).trim();if(g.length>0)if(e.parseAtrulePrelude)try{let m=e.end;e.end=a,e.pos=n;let p=te();while(x(e)!==0){let y=ze(e);if(y)p.appendData(y)}if(ao(p),e.end=m,e.pos=l,p.isEmpty)c=Ut(g,i,h,e);else c={type:"AtrulePrelude",children:p,loc:null}}catch(m){let p=Ut(g,i,h,e);mn(e,`Failed to parse @${r} prelude: ${m.message}`,i,p),c=p,e.pos=l}else c=Ut(g,i,h,e),e.pos=l;else e.pos=l}else e.pos=l;let u=null;if(x(e)===17)C(e);else if(x(e)===23)u=bn(e,_u.has(r));return{type:"Atrule",name:r,prelude:c,block:u,loc:k(e,t,w(e))}}var Pu=new Set(["is","not","where","has","matches","-moz-any","-webkit-any"]),_u=new Set(["media","supports","document","layer","container","scope","starting-style","-moz-document","keyframes","-webkit-keyframes","-moz-keyframes","-o-keyframes"]);function Lu(e){let t=w(e),r=te();while(x(e)!==0){if(w(e).type===13){e.pos++;continue}let i=ze(e);if(i)r.appendData(i)}return{type:"AtrulePrelude",children:r,loc:k(e,t,w(e))}}function yn(e){let t=w(e),r;if(e.parseRulePrelude)r=vn(e);else{let i=w(e),o=i;while(x(e)!==0&&x(e)!==23)o=C(e);let s=e.source.slice(i.start,o.end).trim();r=Ut(s,i,o,e)}let n=bn(e,!0);return{type:"Rule",prelude:r,block:n,loc:k(e,t,w(e))}}function bn(e,t=!1){let r=w(e);if(x(e)!==23)return{type:"Block",children:te(),loc:oo(e)};e.pos++;let n=te(),{types:i,end:o}=e;while(e.pos<o){let s=i[e.pos];if(s===24||s===0)break;if(s===13){e.pos++;continue}if(s===25){let a={type:25,start:e.starts[e.pos],end:e.ends[e.pos]};e.pos++,n.appendData(pn(e,a));continue}if(s===3){let a=zt(e);if(a)n.appendData(a);continue}if(t&&Mu(e,Fu)){let a=yn(e);n.appendData(a);continue}let l=xn(e);if(l)n.appendData(l);if(e.pos<o&&i[e.pos]===17)e.pos++}if(x(e)===24)e.pos++;return{type:"Block",children:n,loc:k(e,r,w(e))}}function Mu(e,t){let r=e.pos,n=t(e);return e.pos=r,n}function Fu(e){let{types:t,end:r}=e;while(e.pos<r){let n=t[e.pos];if(n===23)return!0;if(n===17||n===24||n===0)return!1;e.pos++}return!1}function ju(e){let t=w(e),r=te();while(x(e)!==0&&x(e)!==24){let n=w(e);if(n.type===13){e.pos++;continue}if(n.type===25){r.appendData(pn(e,C(e)));continue}if(n.type===17){e.pos++;continue}if(n.type===3){let o=zt(e);if(o)r.appendData(o);continue}let i=xn(e);if(i)r.appendData(i);if(x(e)===17)C(e)}return{type:"DeclarationList",children:r,loc:k(e,t,w(e))}}function xn(e){de(e);let t=w(e);if(t.type!==1&&t.type!==4&&!(t.type===9&&e.source[t.start]==="*"&&e.source[t.start+1]===" "))if(t.type===9&&e.source[t.start]==="*")e.pos++;else{mn(e,"Expected property name",t,{type:"Raw",value:"",loc:null});let{types:S,end:j}=e;while(e.pos<j){let K=S[e.pos];if(K===0||K===17||K===24)break;e.pos++}return null}let r=e.starts[e.pos],n=e.ends[e.pos];e.pos++;let i=e.source.slice(r,n);if(Zi(e),x(e)!==16){mn(e,`Expected ':' after property "${i}"`,w(e),{type:"Raw",value:"",loc:null});let{types:S,end:j}=e;while(e.pos<j){let K=S[e.pos];if(K===0||K===17||K===24)break;e.pos++}return null}e.pos++,Zi(e);let{types:o,starts:s,end:l,pos:a}=e,c=a,u=a,f=-1,d=-1;while(c<l){let S=o[c];if(S===0||S===17||S===24)break;if(S===9&&e.source.charCodeAt(s[c])===33){let j=c+1;while(j<l&&o[j]===13)j++;if(j<l&&o[j]===1){let K=s[j];if(e.ends[j]-K===9&&(e.source.charCodeAt(K)|32)===105&&(e.source.charCodeAt(K+1)|32)===109&&(e.source.charCodeAt(K+2)|32)===112&&(e.source.charCodeAt(K+3)|32)===111&&(e.source.charCodeAt(K+4)|32)===114&&(e.source.charCodeAt(K+5)|32)===116&&(e.source.charCodeAt(K+6)|32)===97&&(e.source.charCodeAt(K+7)|32)===110&&(e.source.charCodeAt(K+8)|32)===116){d=c,f=j,c=j+1;continue}}}if(S!==13&&S!==25)u=c+1;c++}let h=u,g=f>=0?{type:1,start:s[f],end:e.ends[f]}:null,m=i.startsWith("--"),p,y=s[a],b=h>a?e.ends[h-1]:y,v={type:o[a],start:y,end:e.ends[a]},R=h>a?{type:o[h-1],start:s[h-1],end:b}:v;if(m&&!e.parseCustomProperty||!e.parseValue)p={type:"Raw",value:e.source.slice(y,b).trim(),loc:k(e,v,R)};else if(h===a)p={type:"Value",children:te(),loc:k(e,v,R)};else{let S=e.end;e.end=h,e.pos=a,p=so(e),e.end=S}return e.pos=c,{type:"Declaration",property:i,important:g?!0:!1,value:p,loc:k(e,t,w(e))}}function Du(e){return so(e)}function so(e){let t=w(e),r=te();while(x(e)!==0&&x(e)!==17&&x(e)!==24&&x(e)!==22&&x(e)!==20){let n=ze(e);if(n)r.appendData(n)}return lo(r),{type:"Value",children:r,loc:k(e,t,w(e))}}function ao(e){for(let t of e)if("children"in t&&t.children instanceof le)ao(t.children);lo(e)}function lo(e){let t=e.head;while(t){if(t.data.type==="Number"){let r=t.next;while(r&&r.data.type==="WhiteSpace")r=r.next;if(r&&r.data.type==="Operator"&&r.data.value==="/"){let n=r.next;while(n&&n.data.type==="WhiteSpace")n=n.next;if(n&&n.data.type==="Number"){let i={type:"Ratio",left:t.data,right:n.data,loc:null},o=t.next;while(o&&o!==n.next){let s=o.next;e.remove(o),o=s}e.replace(t,e.createItem(i)),t=e.head;continue}}}t=t.next}}function ze(e){let t=e.pos;if(t>=e.end)return null;let r=e.types[t],n=e.starts[t],i=e.ends[t],o=e.source;switch(r){case 13:return e.pos++,e.positions?{type:"WhiteSpace",value:" ",loc:ee(e,n,i)}:{type:"WhiteSpace",value:" ",loc:null};case 25:return e.pos++,{type:"Comment",value:o.slice(n+2,i-2),loc:e.positions?ee(e,n,i):null};case 10:return e.pos++,{type:"Number",value:o.slice(n,i),loc:e.positions?ee(e,n,i):null};case 11:return e.pos++,{type:"Percentage",value:o.slice(n,i-1),loc:e.positions?ee(e,n,i):null};case 12:{e.pos++;let s=n,l=o.charCodeAt(s);if(l===43||l===45)s++;let a=!1;while(s<i){let u=o.charCodeAt(s);if(u>=48&&u<=57){s++;continue}if(u===46&&!a){a=!0,s++;continue}break}let c=o.charCodeAt(s);if(c===69||c===101){let u=s+1,f=o.charCodeAt(u);if(f===43||f===45)u++;let d=!1;while(u<i){let h=o.charCodeAt(u);if(h>=48&&h<=57){u++,d=!0;continue}break}if(d)s=u}return{type:"Dimension",value:o.slice(n,s),unit:o.slice(s,i),loc:e.positions?ee(e,n,i):null}}case 1:return e.pos++,{type:"Identifier",name:gn(o,n,i),loc:e.positions?ee(e,n,i):null};case 5:{e.pos++;let s=n+1,a=i-n>=2&&o.charCodeAt(i-1)===o.charCodeAt(n)?i-1:i;return{type:"String",value:hn(o,s,a),loc:e.positions?ee(e,n,i):null}}case 7:{e.pos++;let s=n+4;while(s<i&&ro(o.charCodeAt(s)))s++;let l=i;if(l>s&&o.charCodeAt(l-1)===41)l--;while(l>s&&ro(o.charCodeAt(l-1)))l--;let a;if(l-s>=2){let c=o.charCodeAt(s),u=o.charCodeAt(l-1);if((c===34||c===39)&&c===u)a=o.slice(s+1,l-1);else a=o.slice(s,l)}else a=o.slice(s,l);return{type:"Url",value:a,loc:e.positions?ee(e,n,i):null}}case 4:return e.pos++,{type:"Hash",name:o.slice(n+1,i),loc:e.positions?ee(e,n,i):null};case 2:return Uu(e);case 21:return Vu(e);case 18:return e.pos++,{type:"Operator",value:",",loc:e.positions?ee(e,n,i):null};case 16:return e.pos++,{type:"Operator",value:":",loc:e.positions?ee(e,n,i):null};case 9:{e.pos++;let s=o.charCodeAt(n),l=o[n];if(Bu(s))return{type:"Operator",value:l,loc:e.positions?ee(e,n,i):null};return{type:"Identifier",name:l,loc:e.positions?ee(e,n,i):null}}case 19:{e.pos++;let s=te();while(x(e)!==0&&x(e)!==20){let a=ze(e);if(a)s.appendData(a)}let l=e.pos<e.end?e.ends[e.pos]:i;if(x(e)===20)e.pos++;return{type:"Brackets",children:s,loc:e.positions?ee(e,n,l):null}}case 3:case 23:case 24:case 22:case 20:case 17:case 0:case 14:case 15:case 6:case 8:return e.pos++,{type:"Raw",value:o.slice(n,i),loc:e.positions?ee(e,n,i):null}}return e.pos++,null}function ro(e){return e===32||e===9||e===10||e===12||e===13}function Bu(e){return e===47||e===43||e===45||e===42||e===61||e===62||e===60||e===126||e===124||e===36||e===94||e===33||e===38}function Vt(e,t,r){for(let n=t;n<r;n++){let i=e.charCodeAt(n);if(i>=65&&i<=90)return e.slice(t,r).toLowerCase()}return e.slice(t,r)}function ee(e,t,r){let n=e.tokenizer.locate(t),i=e.tokenizer.locate(r);return{source:e.filename??"<unknown>",start:{offset:t,line:n.line,column:n.column},end:{offset:r,line:i.line,column:i.column}}}function Uu(e){let t=C(e),r=Vt(e.source,t.start,t.end-1),n=te();while(x(e)!==0&&x(e)!==22){let i=ze(e);if(i)n.appendData(i)}if(x(e)===22)C(e);if(r==="url"){for(let i=n.head;i!=null;i=i.next)if(i.data.type==="String")return{type:"Url",value:i.data.value,loc:k(e,t,w(e))}}return{type:"Function",name:r,children:n,loc:k(e,t,w(e))}}function Vu(e){let t=C(e),r=te();while(x(e)!==0&&x(e)!==22){let n=ze(e);if(n)r.appendData(n)}if(x(e)===22)C(e);return{type:"Parentheses",children:r,loc:k(e,t,w(e))}}function vn(e){let t=w(e),r=te();while(x(e)!==0){if(de(e),x(e)===0||x(e)===23)break;let n=co(e);if(n.children.head!==null)r.appendData(n);if(de(e),x(e)===18){C(e);continue}break}return{type:"SelectorList",children:r,loc:k(e,t,w(e))}}function co(e){let t=w(e),r=te(),n=!0;while(x(e)!==0&&x(e)!==18&&x(e)!==23){let i=w(e);if(i.type===13){if(C(e),!n&&x(e)!==0&&x(e)!==18&&x(e)!==23&&!no(e)&&!Wu(e)){let s={type:"Combinator",name:" ",loc:k(e,i,i)};r.appendData(s),n=!0}continue}if(i.type===9&&e.source.charCodeAt(i.start)===124&&e.types[e.pos+1]===9&&e.source.charCodeAt(e.starts[e.pos+1])===124){let s=w(e);C(e);let l=C(e),a={type:"Combinator",name:"||",loc:k(e,s,l)};r.appendData(a),n=!0,de(e);continue}if(no(e)){let s=C(e),a={type:"Combinator",name:e.source[s.start],loc:k(e,s,s)};r.appendData(a),n=!0,de(e);continue}let o=zu(e);if(!o)break;r.appendData(o),n=!1}while(r.tail&&r.tail.data.type==="Combinator")r.remove(r.tail);return{type:"Selector",children:r,loc:k(e,t,w(e))}}function no(e){let t=w(e);if(t.type!==9)return!1;let r=e.source[t.start];return r===">"||r==="+"||r==="~"}function Wu(e){if(e.types[e.pos]!==9)return!1;if(e.source.charCodeAt(e.starts[e.pos])!==124)return!1;if(e.types[e.pos+1]!==9)return!1;return e.source.charCodeAt(e.starts[e.pos+1])===124}function zu(e){let t=w(e);switch(t.type){case 1:{if(C(e),x(e)===9&&e.source[w(e).start]==="|"&&e.source[w(e).start+1]!=="="&&!(e.types[e.pos+1]===9&&e.source.charCodeAt(e.starts[e.pos+1])===124)){if(C(e),x(e)===1){let n=C(e);return{type:"TypeSelector",name:`${xe(e,t)}|${xe(e,n)}`,loc:k(e,t,n)}}if(x(e)===9&&e.source[w(e).start]==="*"){let n=C(e);return{type:"TypeSelector",name:`${xe(e,t)}|*`,loc:k(e,t,n)}}}return{type:"TypeSelector",name:xe(e,t),loc:k(e,t,t)}}case 11:return C(e),{type:"TypeSelector",name:xe(e,t),loc:k(e,t,t)};case 10:return C(e),{type:"TypeSelector",name:xe(e,t),loc:k(e,t,t)};case 9:{let r=e.source[t.start];if(r==="*")return C(e),{type:"TypeSelector",name:"*",loc:k(e,t,t)};if(r==="."){if(C(e),x(e)===1){let n=C(e);return{type:"ClassSelector",name:xe(e,n),loc:k(e,t,n)}}return null}if(r==="&")return C(e),{type:"NestingSelector",loc:k(e,t,t)};return C(e),null}case 4:return C(e),{type:"IdSelector",name:e.source.slice(t.start+1,t.end),loc:k(e,t,t)};case 16:{C(e);let r=x(e)===16;if(r)C(e);return Ku(e,r,t)}case 19:return Gu(e)}return null}function Ku(e,t,r){let n=w(e);if(n.type===1){C(e);let i=Vt(e.source,n.start,n.end);return t?{type:"PseudoElementSelector",name:i,children:null,loc:k(e,r,n)}:{type:"PseudoClassSelector",name:i,children:null,loc:k(e,r,n)}}if(n.type===2){C(e);let i=Vt(e.source,n.start,n.end-1),o=te();if(!t&&Pu.has(i)){let a=w(e),c=a,u=1;while(x(e)!==0&&u>0){if(x(e)===21||x(e)===2)u++;else if(x(e)===22){if(u--,u===0)break}c=C(e)}if(x(e)===22)C(e);let f=e.source.slice(a.start,c.end).trim();if(f.length>0){let d=io(f,{positions:!1}),h=vn(d);o.appendData(h)}}else{while(x(e)!==0&&x(e)!==22){let a=ze(e);if(a)o.appendData(a)}if(x(e)===22)C(e)}if(t)return{type:"PseudoElementSelector",name:i,children:o,loc:k(e,r,w(e))};return{type:"PseudoClassSelector",name:i,children:o,loc:k(e,r,w(e))}}return null}function Gu(e){let t=C(e);de(e);let r=w(e);if(r.type!==1)return null;C(e);let n={type:"Identifier",name:xe(e,r),loc:k(e,r,r)};de(e);let i=null,o=null,s=null,l=w(e);if(l.type===9){let c=e.source[l.start],u=e.source[l.start+1];if(c==="=")i="=",C(e);else if((c==="~"||c==="|"||c==="^"||c==="$"||c==="*")&&u==="="){C(e);let h=w(e);if(h.type===9&&e.source[h.start]==="=")C(e),i=`${c}=`}de(e);let f=w(e);if(f.type===5){C(e);let h=f.end-f.start>=2&&e.source.charCodeAt(f.end-1)===e.source.charCodeAt(f.start);o={type:"String",value:hn(e.source,f.start+1,h?f.end-1:f.end),loc:k(e,f,f)}}else if(f.type===1)C(e),o={type:"Identifier",name:xe(e,f),loc:k(e,f,f)};de(e);let d=w(e);if(d.type===1)C(e),s=xe(e,d)}de(e);let a=w(e);if(x(e)===20)a=C(e);return{type:"AttributeSelector",name:n,matcher:i,value:o,flags:s,loc:k(e,t,a)}}var uo=Symbol("walkSkip"),U=Symbol("walkStop");function Hu(e){return{root:e,stylesheet:null,atrule:null,atrulePrelude:null,rule:null,selector:null,block:null,declaration:null,function:null}}function qu(e,t){let r=Hu(e),n=typeof t==="function"?t:t.enter,i=typeof t==="function"?null:t.leave??null,o=typeof t==="function"?null:t.visit??null,s=typeof t==="function"?!1:t.reverse??!1;function l(a,c,u){let f=null,d;switch(a.type){case"StyleSheet":f="stylesheet",d=r.stylesheet,r.stylesheet=a;break;case"Atrule":f="atrule",d=r.atrule,r.atrule=a;break;case"AtrulePrelude":f="atrulePrelude",d=r.atrulePrelude,r.atrulePrelude=a;break;case"Rule":f="rule",d=r.rule,r.rule=a;break;case"Selector":f="selector",d=r.selector,r.selector=a;break;case"Block":f="block",d=r.block,r.block=a;break;case"Declaration":f="declaration",d=r.declaration,r.declaration=a;break;case"Function":f="function",d=r.function,r.function=a;break}let h;if((o===null||o===a.type)&&n){let g=n.call(r,a,c,u);if(g===uo){if(f)r[f]=d;return}if(g===U){if(f)r[f]=d;return U}}if(h=Yu(a,s,l),h===U){if(f)r[f]=d;return U}if((o===null||o===a.type)&&i){if(i.call(r,a,c,u)===U){if(f)r[f]=d;return U}}if(f)r[f]=d;return}return l(e,null,null)}var Ke=Object.assign(qu,{skip:uo,stop:U});function Yu(e,t,r){if("children"in e&&e.children instanceof le)return Ju(e.children,t,r);if(e.type==="Rule"){if(r(e.prelude,null,null)===U)return U;if(r(e.block,null,null)===U)return U;return}if(e.type==="Atrule"){if(e.prelude){if(r(e.prelude,null,null)===U)return U}if(e.block){if(r(e.block,null,null)===U)return U}return}if(e.type==="Declaration")return r(e.value,null,null);if(e.type==="AttributeSelector"){if(r(e.name,null,null)===U)return U;if(e.value)return r(e.value,null,null);return}return}function Ju(e,t,r){let n;if(t)e.forEachRight((i,o,s)=>{if(n)return;if(r(i,o,s)===U)n=U});else e.forEach((i,o,s)=>{if(n)return;if(r(i,o,s)===U)n=U});return n}function et(e,t={}){let r=t.exclamation??!1,n=!1;Ke(e,(i,o,s)=>{if(i.type!=="Comment")return;let l=i.value.startsWith("!");if(r===!0&&l)return;if(r==="first-exclamation"&&l&&!n){n=!0;return}if(o&&s)s.remove(o)})}function Kt(e){Ke(e,(t)=>{if(t.type!=="Block"&&t.type!=="DeclarationList")return;if(!("children"in t)||!t.children)return;let r=t.children,n=r.head;if(n==null||n.next==null)return;let i=0;for(let l=n;l!=null;l=l.next)if(l.data.type==="Declaration"){if(i++,i>=2)break}if(i<2)return;let o=new Map,s=[];for(let l=n;l!=null;l=l.next){let a=l.data;if(a.type!=="Declaration")continue;let c=a.property,u=o.get(c);if(u){let f=!!u.decl.important,d=!!a.important;if(d||f===d)s.push(u.item),o.set(c,{item:l,decl:a});else s.push(l)}else o.set(c,{item:l,decl:a})}for(let l of s)r.remove(l)})}var Xu={black:"#000",fuchsia:"#f0f",white:"#fff",red:"#f00",cyan:"#0ff",blue:"#00f",yellow:"#ff0",magenta:"#f0f",lime:"#0f0",silver:"#c0c0c0",gray:"#808080",maroon:"#800000",olive:"#808000",green:"#008000",purple:"#800080",teal:"#008080",navy:"#000080"},Zu={"#f00":"red","#ff0000":"red","#000080":"navy","#008080":"teal"};function $n(e){if(!e.startsWith("#"))return e;let t=e.slice(1);if(t.length===6){if(t[0]===t[1]&&t[2]===t[3]&&t[4]===t[5])return`#${t[0]}${t[2]}${t[4]}`}if(t.length===8){if(t[0]===t[1]&&t[2]===t[3]&&t[4]===t[5]&&t[6]===t[7])return`#${t[0]}${t[2]}${t[4]}${t[6]}`}return e}function fo(e){let t=e.toLowerCase();return Xu[t]??null}function ho(e){let t=e.toLowerCase();return Zu[t]??null}function Qu(e,t,r){let n=(e<<16|t<<8|r).toString(16).padStart(6,"0");return $n(`#${n}`)}var ef=/^rgba?\(\s*([+-]?\d*\.?\d+%?)\s*[,\s]\s*([+-]?\d*\.?\d+%?)\s*[,\s]\s*([+-]?\d*\.?\d+%?)\s*(?:[,/]\s*([+-]?\d*\.?\d+%?)\s*)?\)$/;function go(e){let t=ef.exec(e.trim());if(!t)return e;let r=wn(t[1]),n=wn(t[2]),i=wn(t[3]);if(t[4]!==void 0&&!tf(t[4]))return e;return Qu(r,n,i)}function tf(e){if(e.endsWith("%"))return Number.parseFloat(e)>=100;return Number.parseFloat(e)>=1}function wn(e){if(e.endsWith("%"))return Math.max(0,Math.min(255,Math.round(Number.parseFloat(e)*2.55)));return Math.max(0,Math.min(255,Math.round(Number.parseFloat(e))))}var rf=new Set(["px","pt","pc","in","cm","mm","q","em","rem","ex","ch","cap","ic","lh","rlh","vw","vh","vi","vb","vmin","vmax","svw","svh","svi","svb","svmin","svmax","lvw","lvh","lvi","lvb","lvmin","lvmax","dvw","dvh","dvi","dvb","dvmin","dvmax","cqw","cqh","cqi","cqb","cqmin","cqmax"]);function Gt(e){if(e.charCodeAt(0)===43)e=e.slice(1);if(e.includes(".")){let t=e.replace(/(\.\d*?)0+($|[eE])/,"$1$2");t=t.replace(/\.($|[eE])/,"$1"),e=t}if(e.startsWith("0.")&&e.length>2)e=e.slice(1);else if(e.startsWith("-0.")&&e.length>3)e=`-${e.slice(2)}`;if(e==="-0"||e==="-.0"||e==="-0.0")e="0";return e}function mo(e,t){let r=Gt(e);if((r==="0"||r==="-0")&&rf.has(t.toLowerCase()))return{value:"0",unit:""};return{value:r,unit:t}}function po(e){return Gt(e)}function yo(e,t){let r=Number.parseFloat(e);if(!Number.isFinite(r))return e;let n=t<0?0:t;return r.toFixed(n)}var bo=new Set(["color","background","background-color","border","border-color","border-top","border-top-color","border-right","border-right-color","border-bottom","border-bottom-color","border-left","border-left-color","border-block","border-block-color","border-block-start-color","border-block-end-color","border-inline","border-inline-color","border-inline-start-color","border-inline-end-color","outline","outline-color","caret-color","fill","stroke","flood-color","lighting-color","stop-color","column-rule","column-rule-color","text-decoration","text-decoration-color","text-emphasis","text-emphasis-color","text-shadow","box-shadow","accent-color","scrollbar-color"]);function xo(e){if(!e||e.type!=="Operator")return!1;let t=e.value;return t===":"||t===","||t==="/"}function nf(e){let t=e.children;if(!t)return;while(t.head&&t.head.data.type==="WhiteSpace")t.remove(t.head);while(t.tail&&t.tail.data.type==="WhiteSpace")t.remove(t.tail);let r=t.head;while(r){let n=r.next;if(r.data.type==="WhiteSpace"){let i=r.prev&&xo(r.prev.data),o=n&&xo(n.data);if(i||o)t.remove(r)}r=n}}function Cn(e,t={}){let r=t.floatPrecision??null,n=r===null?null:(i)=>yo(i,r);Ke(e,{enter(i,o,s){switch(i.type){case"Number":{let l=n?n(i.value):i.value;i.value=Gt(l);return}case"Percentage":{let l=n?n(i.value):i.value;i.value=po(l);return}case"Dimension":{let l=n?n(i.value):i.value,a=mo(l,i.unit);i.value=a.value,i.unit=a.unit;return}case"Hash":{let l=$n(`#${i.name}`).slice(1);if(i.name=l,o&&s&&this.declaration&&bo.has(this.declaration.property.toLowerCase())){let a=ho(`#${l}`);if(a&&a.length<l.length+1){let c={type:"Identifier",name:a,loc:i.loc};s.replace(o,s.createItem(c))}}return}case"Identifier":{if(!o||!s||!this.declaration)return;if(!bo.has(this.declaration.property.toLowerCase()))return;let l=fo(i.name);if(l&&l.length<i.name.length){let a={type:"Hash",name:l.slice(1),loc:i.loc};s.replace(o,s.createItem(a))}return}case"Url":return;case"Function":{let l=i.name.toLowerCase();if((l==="rgb"||l==="rgba")&&o&&s)i.__rgbReplaceCandidate=!0}}},leave(i,o,s){if(i.type==="Parentheses"||i.type==="Function"||i.type==="Value")nf(i);if(i.type==="Function"&&i.__rgbReplaceCandidate&&o&&s){let l=Q(i),a=go(l);if(a!==l&&a.startsWith("#")){let c={type:"Hash",name:a.slice(1),loc:i.loc};s.replace(o,s.createItem(c))}}}})}function of(e,t={}){let r=Wt(e,{context:"stylesheet"});return vo(r,t)}function Rn(e,t={}){let r=Wt(e,{context:"declarationList"});return vo(r,t)}function vo(e,t){if(t.comments===!1)et(e,{exclamation:!1});else if(t.comments==="first-exclamation")et(e,{exclamation:"first-exclamation"});else et(e,{exclamation:!0});return Cn(e,{floatPrecision:t.floatPrecision??null}),Kt(e),{css:Q(e),ast:e}}function Le(e,t,r){if(e.size>=1e4){let n=e.keys().next().value;if(n!==void 0)e.delete(n)}return e.set(t,r),r}var wo=new Map,_e=new Map;var kn={col:"col",row:"row",jc:"justify",ji:"justify-items",js:"justify-self",ai:"items",ac:"content",as:"self",wrap:"wrap",nowrap:"nowrap",c:"center",s:"start",e:"end",sb:"between",sa:"around",se:"evenly",st:"stretch",thin:"thin",extralight:"extralight",light:"light",normal:"normal",medium:"medium",semibold:"semibold",bold:"bold",extrabold:"extrabold",black:"black",t:"top",r:"right",b:"bottom",l:"left"},lf=/[%#()]/,cf=/^\d+(?:\.\d+)?(?:px|rem|em|vh|vw|dvh|dvw|svh|svw|lvh|lvw|ch|ex|lh|cap|ic|rlh|vi|vb|vmin|vmax|cqw|cqh|cqi|cqb|cqmin|cqmax|cm|mm|in|pt|pc|Q)$/,Eo=["calc","min","max","clamp","mod","rem","sin","cos","tan","asin","acos","atan","atan2","pow","sqrt","hypot","log","exp","round"],uf=new Set(Eo);function se(e){return lf.test(e)||cf.test(e)}function $o(e){if(!Eo.some((o)=>e.includes(`${o}(`)))return e;let t="",r=[],n=null,i=null;for(let o=0;o<e.length;o++){let s=e.charCodeAt(o);if(s>=48&&s<=57)n=o;else if(n!==null&&(s===37||s>=97&&s<=122||s>=65&&s<=90))n=o;else i=n,n=null;if(s===40){t+=e[o];let a=o;for(let u=o-1;u>=0;u--){let f=e.charCodeAt(u);if(f>=48&&f<=57||f>=97&&f<=122)a=u;else break}let c=e.slice(a,o);if(uf.has(c))r.unshift(!0);else if(r[0]&&c==="")r.unshift(!0);else r.unshift(!1);continue}if(s===41){t+=e[o],r.shift();continue}if(s===44&&r[0]){t+=", ";continue}if(s===32&&r[0]&&t.charCodeAt(t.length-1)===32)continue;if((s===43||s===45||s===42||s===47)&&r[0]){let a=t.trimEnd(),c=a.charCodeAt(a.length-1),u=a.charCodeAt(a.length-2),f=e.charCodeAt(o+1),d=c===43||c===45||c===42||c===47,h=f===43||f===45||f===42||f===47;if((c===101||c===69)&&u>=48&&u<=57)t+=e[o];else if(d||c===40||c===44)t+=e[o];else if(e.charCodeAt(o-1)===32)t+=`${e[o]} `;else if(c>=48&&c<=57||f>=48&&f<=57||c===41||f===40||h||i!==null&&i===o-1)t+=` ${e[o]} `;else t+=e[o];continue}t+=e[o]}return t}function Ht(e){if(!e.includes("_"))return $o(e);let t="",r=0;while(r<e.length){let n=e[r];if(n==="\\"&&e[r+1]==="_"){t+="_",r+=2;continue}if(n==="u"&&e.slice(r,r+4)==="url("){let i=r,o=1;r+=4;while(r<e.length&&o>0){if(e[r]==="(")o++;else if(e[r]===")")o--;r++}t+=e.slice(i,r);continue}t+=n==="_"?" ":n,r++}return $o(t)}function Co(e,t){if(t.length!==2)return null;let[r,n]=t;if(r!=="min"&&r!=="max")return null;return[se(n)?`${r}-${e}-[${n}]`:`${r}-${e}-${n}`]}var ff={flex:{expand:(e,t)=>{let r=t[e]||e;if(["col","row","col-reverse","row-reverse","wrap","nowrap","wrap-reverse"].includes(r))return`flex-${r}`;let n=e.match(/^(jc|ji|js|ai|ac|as)-(.+)$/);if(n){let i=t[n[1]]||n[1],o=t[n[2]]||n[2];return`${i}-${o}`}if(/^\d+$/.test(r)||["grow","shrink","auto","initial","none"].includes(r))return`flex-${r}`;return null}},grid:{expand:(e,t)=>{let r=t[e]||e;if(e.startsWith("cols-")||e.startsWith("rows-"))return`grid-${e}`;if(e.startsWith("flow-"))return`grid-${e}`;if(e.startsWith("gap-"))return e;return null}},text:{expand:(e,t)=>{let r=t[e]||e;if(se(r))return`text-[${r}]`;if(/^\d{3}$/.test(r))return{"100":"font-thin","200":"font-extralight","300":"font-light","400":"font-normal","500":"font-medium","600":"font-semibold","700":"font-bold","800":"font-extrabold","900":"font-black"}[r]||`font-[${r}]`;if(/^[a-z-]+$/i.test(r)&&!["xs","sm","base","lg","xl","2xl","3xl","4xl","5xl","6xl","7xl","8xl","9xl"].includes(r)){if(["white","black","inherit","current","transparent"].includes(r.toLowerCase()))return`text-${r}`;if(["red","blue","green","yellow","purple","pink","gray","slate","zinc","neutral","stone","orange","amber","lime","emerald","teal","cyan","sky","indigo","violet","fuchsia","rose"].includes(r.toLowerCase()))return`text-${r}-500`;return`font-[${r}]`}return`text-${r}`}},font:{expand:(e,t)=>{let r=t[e]||e,n=["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],i=["sans","serif","mono"];if(n.includes(r)||i.includes(r))return`font-${r}`;if(/^\d{3}$/.test(r))return{"100":"font-thin","200":"font-extralight","300":"font-light","400":"font-normal","500":"font-medium","600":"font-semibold","700":"font-bold","800":"font-extrabold","900":"font-black"}[r]||`font-[${r}]`;return`font-[${r}]`}},bg:{expand:(e,t)=>`bg-${t[e]||e}`},w:{expand:(e,t)=>{let r=t[e]||e;if(se(r))return`w-[${r}]`;return`w-${r}`},multiValue:(e)=>Co("w",e)},h:{expand:(e,t)=>{let r=t[e]||e;if(se(r))return`h-[${r}]`;return`h-${r}`},multiValue:(e)=>Co("h",e)},p:{expand:(e)=>`p-${e}`},px:{expand:(e)=>`px-${e}`},py:{expand:(e)=>`py-${e}`},pt:{expand:(e)=>`pt-${e}`},pr:{expand:(e)=>`pr-${e}`},pb:{expand:(e)=>`pb-${e}`},pl:{expand:(e)=>`pl-${e}`},m:{expand:(e)=>`m-${e}`},mx:{expand:(e)=>`mx-${e}`},my:{expand:(e)=>`my-${e}`},mt:{expand:(e)=>`mt-${e}`},mr:{expand:(e)=>`mr-${e}`},mb:{expand:(e)=>`mb-${e}`},ml:{expand:(e)=>`ml-${e}`},scroll:{expand:(e)=>{if(["x","y"].includes(e))return null;if(["auto","hidden","scroll","visible"].includes(e))return`overflow-${e}`;return null},multiValue:(e)=>{if(e.length===2){let[t,r]=e;if(["x","y"].includes(t)&&["auto","hidden","scroll","visible"].includes(r))return[`overflow-${t}-${r}`]}return null}},overflow:{expand:(e)=>`overflow-${e}`,multiValue:(e)=>{if(e.length===2){let[t,r]=e;if(["x","y"].includes(t))return[`overflow-${t}-${r}`]}return null}},border:{expand:(e)=>`border-${e}`},rounded:{expand:(e)=>`rounded-${e}`},shadow:{expand:(e)=>`shadow-${e}`},gap:{expand:(e)=>{if(e.startsWith("x-")||e.startsWith("y-"))return`gap-${e}`;return`gap-${e}`}},space:{expand:(e)=>`space-${e}`},opacity:{expand:(e)=>`opacity-${e}`},z:{expand:(e)=>`z-${e}`},inset:{expand:(e,t)=>{let r=t[e]||e;if(r.startsWith("x-")||r.startsWith("y-"))return`inset-${r}`;if(se(r))return`inset-[${r}]`;return`inset-${r}`}},top:{expand:(e)=>se(e)?`top-[${e}]`:`top-${e}`},right:{expand:(e)=>se(e)?`right-[${e}]`:`right-${e}`},bottom:{expand:(e)=>se(e)?`bottom-[${e}]`:`bottom-${e}`},left:{expand:(e)=>se(e)?`left-[${e}]`:`left-${e}`},duration:{expand:(e)=>`duration-${e}`},delay:{expand:(e)=>`delay-${e}`},ease:{expand:(e)=>`ease-${e}`},transition:{expand:(e)=>{if(["all","none","colors","opacity","shadow","transform"].includes(e))return`transition-${e}`;if(/^\d+$/.test(e))return`duration-${e}`;if(["linear","in","out","in-out","ease-linear","ease-in","ease-out","ease-in-out"].includes(e))return e.startsWith("ease-")?e:`ease-${e}`;return`transition-${e}`}},translate:{expand:(e)=>{if(e.startsWith("x-")||e.startsWith("y-")||e.startsWith("z-"))return`translate-${e}`;return`translate-${e}`}},rotate:{expand:(e)=>{if(e.startsWith("x-")||e.startsWith("y-")||e.startsWith("z-"))return`rotate-${e}`;return`rotate-${e}`}},scale:{expand:(e)=>{if(e.startsWith("x-")||e.startsWith("y-")||e.startsWith("z-"))return`scale-${e}`;return`scale-${e}`}},skew:{expand:(e)=>{if(e.startsWith("x-")||e.startsWith("y-"))return`skew-${e}`;return`skew-${e}`}},origin:{expand:(e)=>`origin-${e}`},cursor:{expand:(e)=>`cursor-${e}`},select:{expand:(e)=>`select-${e}`},resize:{expand:(e)=>`resize-${e}`},appearance:{expand:(e)=>`appearance-${e}`},pointer:{expand:(e)=>`pointer-events-${e}`},outline:{expand:(e)=>`outline-${e}`},ring:{expand:(e)=>`ring-${e}`},blur:{expand:(e)=>`blur-${e}`},brightness:{expand:(e)=>`brightness-${e}`},contrast:{expand:(e)=>`contrast-${e}`},grayscale:{expand:(e)=>`grayscale-${e}`},saturate:{expand:(e)=>`saturate-${e}`},sepia:{expand:(e)=>`sepia-${e}`},backdrop:{expand:(e)=>`backdrop-${e}`},aspect:{expand:(e)=>`aspect-${e}`},columns:{expand:(e)=>`columns-${e}`},break:{expand:(e)=>`break-${e}`},object:{expand:(e)=>`object-${e}`},overscroll:{expand:(e)=>`overscroll-${e}`},place:{expand:(e)=>`place-${e}`},items:{expand:(e)=>`items-${e}`},justify:{expand:(e)=>`justify-${e}`},content:{expand:(e)=>`content-${e}`},self:{expand:(e)=>`self-${e}`},order:{expand:(e)=>`order-${e}`},col:{expand:(e)=>`col-${e}`},row:{expand:(e)=>`row-${e}`},tracking:{expand:(e)=>`tracking-${e}`},leading:{expand:(e)=>`leading-${e}`},list:{expand:(e)=>`list-${e}`},decoration:{expand:(e)=>`decoration-${e}`},underline:{expand:(e)=>`underline-${e}`},accent:{expand:(e)=>`accent-${e}`},caret:{expand:(e)=>`caret-${e}`},"scroll-m":{expand:(e)=>`scroll-m-${e}`},"scroll-p":{expand:(e)=>`scroll-p-${e}`},snap:{expand:(e)=>`snap-${e}`},touch:{expand:(e)=>`touch-${e}`},will:{expand:(e)=>`will-change-${e}`},fill:{expand:(e)=>`fill-${e}`},stroke:{expand:(e)=>`stroke-${e}`},sr:{expand:(e)=>`sr-${e}`},invert:{expand:(e)=>`invert-${e}`},"hue-rotate":{expand:(e)=>se(e)?`hue-rotate-[${e}]`:`hue-rotate-${e}`},"drop-shadow":{expand:(e)=>`drop-shadow-${e}`},"backdrop-invert":{expand:(e)=>`backdrop-invert-${e}`},"backdrop-hue-rotate":{expand:(e)=>se(e)?`backdrop-hue-rotate-[${e}]`:`backdrop-hue-rotate-${e}`},animate:{expand:(e)=>`animate-${e}`},"forced-colors":{expand:(e)=>`forced-colors-${e}`}},kt=new Set(["sm","md","lg","xl","2xl","hover","focus","active","visited","disabled","enabled","focus-within","focus-visible","group-hover","group-focus","peer-hover","peer-focus","*","**","dark","first","last","odd","even","only","first-of-type","last-of-type","only-of-type","checked","indeterminate","default","required","valid","invalid","in-range","out-of-range","placeholder-shown","autofill","read-only","user-valid","user-invalid","inert","empty","before","after","selection","marker","file","first-letter","first-line","backdrop","details-content","print","motion-safe","motion-reduce","pointer-none","pointer-coarse","pointer-fine","any-pointer-none","any-pointer-coarse","any-pointer-fine","inverted-colors","noscript","starting","contrast-more","contrast-less","rtl","ltr","portrait","landscape","@sm","@md","@lg","@xl","@2xl"]),Ro=new WeakMap,ko=new WeakMap;function df(e){if(!e)return kn;let t=Ro.get(e);if(!t)t=e.aliases?{...kn,...e.aliases}:kn,Ro.set(e,t);return t}function hf(e){if(!e?.aliases)return"";let t=ko.get(e);if(t===void 0)t=JSON.stringify(e.aliases),ko.set(e,t);return t}function St(e){let t=[],r="",n=0;for(let i=0;i<e.length;i++){let o=e[i];if(o==="[")n++;else if(o==="]")n--;if(o===":"&&n===0)t.push(r),r="";else r+=o}return t.push(r),t}function gf(e,t){let r=`${e}:${t?.colonSyntax}:${hf(t)}`,n=_e.get(r);if(n)return n;let i=df(t);if(t?.colonSyntax===!0){let m=e.match(/^([a-z][a-z0-9-]*):([^[\]:]+)$/i);if(m){let[,p,y]=m;if(!kt.has(p)){if(se(y)){let v=[`${p}-[${y}]`];return Le(_e,r,v),v}let b=y.startsWith("-")?[`-${p}-${y.slice(1)}`]:[`${p}-${y}`];return Le(_e,r,b),b}}}let o="",s=e,l=!1;if(s.startsWith("-"))l=!0,s=s.slice(1);let a=s.match(/^((?:[a-z@][a-z0-9-]*:)+)(.+)$/i);if(a){if(a[1].slice(0,-1).split(":").every((y)=>kt.has(y)))o=a[1],s=a[2]}let c=s.match(/^([a-z][a-z0-9-]*)\[([^\]]*)\]$/i);if(!c||s.includes("-[")){let m=[e];return Le(_e,r,m),m}let[,u,f]=c,d=f.split(/\s+/).filter(Boolean);if(d.length===0)return Le(_e,r,[]),[];let h=ff[u.toLowerCase()];if(h?.multiValue){let m=h.multiValue(d,i);if(m){let p=m.map((y)=>`${o}${l?"-":""}${y}`);return Le(_e,r,p),p}}if(!h){let m=[];for(let p of d){let y=p.match(/^([a-z@][a-z0-9-]*):(.+)$/i),b="",v=p;if(y&&kt.has(y[1]))b=`${y[1]}:`,v=y[2];let R="";if(v.startsWith("-"))R="-",v=v.slice(1);let S="";if(v.endsWith("!"))S="!",v=v.slice(0,-1);let j=l?"-":"";if(se(v))m.push(`${o}${b}${S}${j}${R}${u}-[${v}]`);else m.push(`${o}${b}${S}${j}${R}${u}-${v}`)}return Le(_e,r,m),m}let g=[];for(let m of d){let p=m.match(/^([a-z@][a-z0-9-]*):(.+)$/i),y="",b=m;if(p&&kt.has(p[1]))y=`${p[1]}:`,b=p[2];let v="";if(b.startsWith("-"))v="-",b=b.slice(1);let R="";if(b.endsWith("!"))R="!",b=b.slice(0,-1);let S=h.expand(b,i);if(S){let j=l?"-":"";g.push(`${o}${y}${R}${j}${v}${S}`)}}return Le(_e,r,g),g}function mf(e,t){let r=new Set;if(!t?.enabled)return r;let n=t.prefix??"tc-",i=["class","className","style","id","name","type","value","href","src","alt","title","role","for","action","method","target","rel","placeholder","disabled","checked","selected","readonly","required","maxlength","minlength","pattern","autocomplete","autofocus","tabindex","contenteditable","draggable","spellcheck","lang","dir","hidden","slot","part","is","key","ref"],o=t.ignoreAttributes||i,s=(c)=>{let u=c.includes(":")?c.split(":").pop():c;for(let f of o)if(f.endsWith("*")){if(u.startsWith(f.slice(0,-1)))return!0}else if(u===f)return!0;if(u.startsWith("on"))return!0;if(u.startsWith("data-")||u.startsWith("aria-"))return!0;return!1},l=/<([a-z][a-z0-9-]*)\s([^>]*)>/gi,a;while((a=l.exec(e))!==null){let c=a[2],u=/([a-z][a-z0-9-:]*)(?:=["']([^"']*)["'])?(?=\s|$|\/?>)/gi,f;while((f=u.exec(c))!==null){let d=f[1],h=f[2];if(n){if(!d.startsWith(n))continue;d=d.slice(n.length)}if(s(d))continue;let g="",m=d,p=d.match(/^((?:[a-z@][a-z0-9-]*:)+)([a-z][a-z0-9-]*)$/i);if(p){if(p[1].slice(0,-1).split(":").every((v)=>kt.has(v)))g=p[1],m=p[2]}if(h!==void 0){let y=h.split(/\s+/).filter(Boolean);for(let b of y){let v=`${g}${m}-${b}`;if(So(v.replace(/^(?:[a-z@][a-z0-9-]*:)+/gi,"")))r.add(v)}}else{let y=`${g}${m}`;if(So(m))r.add(y)}}}return r}function So(e){if(!e||e.length===0)return!1;return/^[a-z][a-z0-9-/]*(?:-\[[^\]]+\])?$/i.test(e)}function Sn(e){let t=wo.get(e);if(t)return t;let r=vf(e);return r.base=xf(r),Le(wo,e,r),r}var pf=new Set(["bg","text","border","ring","placeholder","divide","accent","caret","fill","stroke","outline","decoration","shadow","ring-offset","from","via","to"]),yf=/^(.+?)\/(\d+|\[\d*\.?\d+\])$/,bf=/^(\d+)\/(\d+)$/;function Ao(e){let t=!1;for(let r=0;r<e.length;r++){let n=e.charCodeAt(r);if(n===45){if(!t||r+1>=e.length)return;return[e.slice(0,r),e.slice(r+1)]}if(n>=97&&n<=122){t=!0;continue}return}return}function xf(e){let t=e.raw;for(let r of e.variants)if(t.startsWith(`${r}:`))t=t.slice(r.length+1);if(e.important){if(t.charCodeAt(0)===33)t=t.slice(1);else if(t.charCodeAt(t.length-1)===33)t=t.slice(0,-1)}return t}function vf(e){let t=!1,r=e;if(e.startsWith("!"))t=!0,r=e.slice(1);else if(e.endsWith("!")&&e.length>1)t=!0,r=e.slice(0,-1);{let h=St(r),g=h[h.length-1],m=!1;if(g.charCodeAt(0)===33&&g.length>1)m=!0,g=g.slice(1);let p=g.match(/^\[([a-z-]+):(.+)\]$/);if(p)return{raw:e,variants:h.slice(0,-1),utility:p[1],value:Ht(p[2]),important:t||m,arbitrary:!0}}let n=r.match(/^((?:[a-z-]+:)*)(-?[a-z-]+?)-\[([^\]]+)\]\/\[([^\]]+)\]$/);if(n){let[,h,g,m,p]=n,y=h?h.split(":").filter(Boolean):[],b=g.startsWith("-"),v=b?g.slice(1):g,R=Ht(m);if(b)R=R.startsWith("-")?R:`-${R}`;return{raw:e,variants:y,utility:v,value:`${R}/${p}`,important:t,arbitrary:!0,modifierArbitrary:!0}}let i=r.match(/^((?:[a-z-]+:)*)(-?[a-z-]+?)-\[(.+)\]$/);if(i){let h=i[1],g=h?h.split(":").filter(Boolean):[],m=i[2],p=m.startsWith("-");if(p)m=m.slice(1);let y=Ht(i[3]),b,v=y.match(/^(color|length|url|number|percentage|position|line-width|absolute-size|relative-size|image|angle|time|flex|string|family-name):(.*)/i);if(v)b=v[1].toLowerCase(),y=v[2];if(p)y=y.startsWith("-")?y:`-${y}`;return{raw:e,variants:g,utility:m,value:y,important:t,arbitrary:!0,typeHint:b}}let o=St(r),s=o[o.length-1],l=o.slice(0,-1);if(s.startsWith("!")&&s.length>1)t=!0,s=s.slice(1);else if(s.endsWith("!")&&s.length>1)t=!0,s=s.slice(0,-1);if(l.length>0)r=`${l.join(":")}:${s}`;else r=s;if(["inline-block","inline-flex","inline-grid","flex-row","flex-row-reverse","flex-col","flex-col-reverse","flex-wrap","flex-wrap-reverse","flex-nowrap","flex-1","flex-auto","flex-initial","flex-none","flex-grow","flex-shrink"].includes(s))return{raw:e,variants:l,utility:s,value:void 0,important:t,arbitrary:!1};let c=s.match(/^([a-z-]+?)-\[(.+?)\]$/);if(c){let h=Ht(c[2]),g,m=h.match(/^(color|length|url|number|percentage|position|line-width|absolute-size|relative-size|image|angle|time|flex|string|family-name):(.*)/i);if(m)g=m[1].toLowerCase(),h=m[2];return{raw:e,variants:l,utility:c[1],value:h,important:t,arbitrary:!0,typeHint:g}}let u=["inset-x","inset-y","border-t","border-r","border-b","border-l","border-x","border-y","border-s","border-e","grid-cols","grid-rows","grid-flow","auto-cols","auto-rows","col-span","row-span","col-start","col-end","row-start","row-end","translate-x","translate-y","translate-z","scale-x","scale-y","scale-z","rotate-x","rotate-y","rotate-z","skew-x","skew-y","scroll-m","scroll-mx","scroll-my","scroll-mt","scroll-mr","scroll-mb","scroll-ml","scroll-p","scroll-px","scroll-py","scroll-pt","scroll-pr","scroll-pb","scroll-pl","gap-x","gap-y","overflow-x","overflow-y","min-w","max-w","min-h","max-h","space-x","space-y","ring-offset","underline-offset","outline-offset","backdrop-blur","backdrop-brightness","backdrop-contrast","backdrop-grayscale","backdrop-invert","backdrop-saturate","backdrop-sepia","hue-rotate","drop-shadow","mask-clip","flex-grow","flex-shrink","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","perspective-origin","justify-self","form-input","form-textarea","form-select","form-multiselect","form-checkbox","form-radio","mix-blend","bg-blend","line-clamp","border-spacing","border-spacing-x","border-spacing-y","rounded-s","rounded-e","rounded-ss","rounded-se","rounded-es","rounded-ee","rounded-t","rounded-r","rounded-b","rounded-l","rounded-tl","rounded-tr","rounded-bl","rounded-br","border-opacity","ring-opacity","stroke-dasharray","stroke-dashoffset","animate-iteration","animate-duration","animate-delay","text-emphasis-color","text-emphasis","text-shadow","word-spacing","column-gap","column-rule","font-stretch","list-image"];if(s==="divide-x"||s==="divide-y")return{raw:e,variants:l,utility:s,value:void 0,important:t,arbitrary:!1};let f=s.match(/^(divide-[xy])-(.+)$/);if(f)return{raw:e,variants:l,utility:f[1],value:f[2],important:t,arbitrary:!1};for(let h of u)if(s.startsWith(`${h}-`))return{raw:e,variants:l,utility:h,value:s.slice(h.length+1),important:t,arbitrary:!1};if(s.startsWith("-")){let h=s.slice(1);for(let m of u)if(h.startsWith(`${m}-`))return{raw:e,variants:l,utility:m,value:`-${h.slice(m.length+1)}`,important:t,arbitrary:!1};let g=Ao(h);if(g)return{raw:e,variants:l,utility:g[0],value:`-${g[1]}`,important:t,arbitrary:!1};return{raw:e,variants:l,utility:h,value:void 0,important:t,arbitrary:!1}}let d=Ao(s);if(d){let[h,g]=d,m=g.match(yf);if(m&&pf.has(h))return{raw:e,variants:l,utility:h,value:`${m[1]}/${m[2]}`,important:t,arbitrary:!1};let p=g.match(bf);if(p)return{raw:e,variants:l,utility:h,value:`${p[1]}/${p[2]}`,important:t,arbitrary:!1};return{raw:e,variants:l,utility:h,value:g,important:t,arbitrary:!1}}return{raw:e,variants:l,utility:s,value:void 0,important:t,arbitrary:!1}}function wf(e){return/^\[[a-z-]+:[^\]]+\]$/i.test(e)}function $f(e){if(!e)return!1;if(e==="*"||e==="**")return!0;if(e.startsWith("[")&&e.endsWith("]"))return e.length>2;return/^(?:@[a-z0-9]|[a-z])[a-z0-9.-]*(?:\[[^\]]+\])?(?:\/[\w-]+)?$/i.test(e)}function Cf(e,t){let r=e;if(r.startsWith("!"))r=r.slice(1);if(r.endsWith("!"))r=r.slice(0,-1);if(!r)return!1;if(wf(r))return!0;if(t?.enabled&&/^[a-z]+\[[^\]]+\]$/i.test(r))return!0;return/^[-@]?[a-z][a-z0-9.-]*(?:-\[[^\]]+\])?(?:\/(?:[\w.]+|[\w-]+|\[[^\]]+\]))?$/i.test(r)}function To(e,t){if(!e||e.length===0)return!1;if(t?.colonSyntax&&/^[a-z]+:[^[\]:]+$/i.test(e))return!0;let r=e;if(r.startsWith("!"))r=r.slice(1);if(r.endsWith("!"))r=r.slice(0,-1);if(!r)return!1;let n=St(r);for(let i=0;i<n.length-1;i++)if(!$f(n[i]))return!1;return Cf(n[n.length-1],t)}function Yt(e){let t=[],r="",n=0;for(let i of e)if(i==="[")n++,r+=i;else if(i==="]")n--,r+=i;else if(/\s/.test(i)&&n===0){if(r)t.push(r),r=""}else r+=i;if(r)t.push(r);return t}function Jt(e,t){let r=new Set,n=[/class(?:Name)?=["']([^"']+)["']/g,/class(?:Name)?=\{["']([^"']+)["']\}/g,/class(?:Name)?=\{`([^`]+)`\}/g];for(let o of n){let s;while((s=o.exec(e))!==null){let l=s[1],a=l.match(/["']([^"']+)["']/g);if(a)for(let f of a){let d=f.replace(/["']/g,""),h=Yt(d);for(let g of h)qt(r,g,t)}let c=l.replace(/["'`]/g," ").replace(/\$\{[^}]+\}/g," "),u=Yt(c).filter((f)=>To(f,t?.bracketSyntax));for(let f of u)qt(r,f,t)}}let i=[/class(?:Name|:list)?=\{([^{}]*(?:\{[^{}]*\}[^{}]*)*)\}/g,/:class="([^"]*)"/g,/:class='([^']*)'/g,/\bx-class="([^"]*)"/g,/\bx-class='([^']*)'/g];for(let o of i){let s;while((s=o.exec(e))!==null){let l=s[1].match(/["'`]([^"'`]+)["'`]/g);if(l)for(let a of l){let c=a.replace(/["'`]/g,"").replace(/\$\{[^}]+\}/g," ");for(let u of Yt(c))qt(r,u,t)}}}if(t?.codeStrings?.enabled!==!1)for(let o of No(e,t?.bracketSyntax))qt(r,o,t);if(t?.attributify?.enabled){let o=mf(e,t.attributify);for(let s of o)r.add(s)}return r}function Rf(e,t){if(!/[-:/[]/.test(e))return!1;if(e.startsWith("-")&&!/^-[a-z]/i.test(e))return!1;return To(e,t)}function No(e,t){let r=new Set,n=e.length,i=0,o=/[<>]/g,s=o.exec(e),l=-1,a=-1,c="";while(i<n){let u=e[i];if(u==="/"&&e[i+1]==="/"){let p=e.indexOf(`
91
+ `),Ie.exit(e.exitCode??2)}async runMatchedCommand(){let{args:e,options:t,matchedCommand:r}=this;if(!r||!r.commandAction)return;r.checkUnknownOptions(),r.checkOptionValue(),r.checkRequiredArgs();let n=[];r.args.forEach((l,a)=>{if(l.variadic)n.push(e.slice(a));else n.push(e[a])}),n.push(t);let i={command:r,args:n,options:t};for(let l of r.beforeHooks)await l(i);let o,s=async()=>{let l=r.commandAction.apply(this,n);if(l instanceof Promise)o=await l;else o=l;return o};if(r.middleware.length>0){let l=0,a=async()=>{if(l<r.middleware.length){let c=r.middleware[l++];await c({...i,next:a})}else await s()};await a()}else await s();for(let l of r.afterHooks)await l(i);return o}removeSignalHandlers(){if(!this.signalHandlersSet)return this;return Ie.removeAllListeners("SIGINT"),Ie.removeAllListeners("SIGTERM"),this.signalHandlersSet=!1,this}destroy(){this.removeSignalHandlers(),this.commands=[],this.rawArgs=[],this.args=[],this.options={},this.matchedCommand=void 0,this.matchedCommandName=void 0,this.removeAllListeners()}}class Hi{cache;enabled;cleanupInterval=null;hits=0;misses=0;constructor(){this.cache=new Map,this.enabled=!0,this.startCleanupInterval()}startCleanupInterval(){if(this.cleanupInterval)return;this.cleanupInterval=setInterval(()=>{this.cleanup()},30000),this.cleanupInterval.unref()}stopCleanup(){if(this.cleanupInterval)clearInterval(this.cleanupInterval),this.cleanupInterval=null}isEnabled(){return this.enabled}get(e){if(!this.enabled){this.misses++;return}let t=this.cache.get(e);if(!t){this.misses++;return}if(Date.now()-t.timestamp>t.ttl){this.cache.delete(e),this.misses++;return}return this.hits++,t.value}set(e,t,r=5000){if(!this.enabled)return;this.cache.set(e,{value:t,timestamp:Date.now(),ttl:r})}has(e){if(!this.enabled)return!1;let t=this.cache.get(e);if(!t)return!1;if(Date.now()-t.timestamp>t.ttl)return this.cache.delete(e),!1;return!0}delete(e){this.cache.delete(e)}clear(){this.cache.clear()}disable(){this.enabled=!1,this.clear()}enable(){this.enabled=!0}stats(){return{size:this.cache.size,enabled:this.enabled,hits:this.hits,misses:this.misses}}resetStats(){this.hits=0,this.misses=0}keys(){return Array.from(this.cache.keys())}cleanup(){let e=Date.now();for(let[t,r]of this.cache.entries())if(e-r.timestamp>r.ttl)this.cache.delete(t)}destroy(){this.stopCleanup(),this.clear(),this.resetStats()}}var Vx=new Hi;function Wc(){if("FORCE_COLOR"in wt.env)return wt.env.FORCE_COLOR!=="0";if("NO_COLOR"in wt.env||wt.env.TERM==="dumb")return!1;if(wt.platform==="win32")return!0;return Wi.isatty(1)&&Wi.isatty(2)}var qi=Wc();function M(e,t){if(!qi)return(r)=>r;return(r)=>e+r+t}var zc=M("\x1B[0m","\x1B[0m"),Kc=M("\x1B[31m","\x1B[39m"),Gc=M("\x1B[32m","\x1B[39m"),Hc=M("\x1B[33m","\x1B[39m"),qc=M("\x1B[34m","\x1B[39m"),Yc=M("\x1B[35m","\x1B[39m"),Jc=M("\x1B[36m","\x1B[39m"),Xc=M("\x1B[37m","\x1B[39m"),Zc=M("\x1B[90m","\x1B[39m"),Qc=M("\x1B[1m","\x1B[22m"),eu=M("\x1B[3m","\x1B[23m"),tu=M("\x1B[4m","\x1B[24m"),ru=M("\x1B[2m","\x1B[22m"),nu=M("\x1B[7m","\x1B[27m"),iu=M("\x1B[8m","\x1B[28m"),ou=M("\x1B[9m","\x1B[29m"),su=M("\x1B[41m","\x1B[49m"),au=M("\x1B[42m","\x1B[49m"),lu=M("\x1B[43m","\x1B[49m"),cu=M("\x1B[44m","\x1B[49m"),uu=M("\x1B[45m","\x1B[49m"),fu=M("\x1B[46m","\x1B[49m"),du=M("\x1B[47m","\x1B[49m"),hu=qi,gu={reset:zc,red:Kc,green:Gc,yellow:Hc,blue:qc,magenta:Yc,cyan:Jc,white:Xc,gray:Zc,bold:Qc,italic:eu,underline:tu,dim:ru,inverse:nu,hidden:iu,strikethrough:ou,bgRed:su,bgGreen:au,bgYellow:lu,bgBlue:cu,bgMagenta:uu,bgCyan:fu,bgWhite:du,isColorSupported:hu},mu=gu,yu=["up","down","left","right","space","enter","cancel"],qx={actions:new Set(yu),aliases:new Map([["k","up"],["j","down"],["h","left"],["l","right"],["\x03","cancel"],["escape","cancel"]]),messages:{cancel:"Canceled",error:"Something went wrong"}};var Yx=pu.platform.startsWith("win"),Jx=Symbol("clapp:cancel");var bu=Lc();var _=(e,t)=>bu?e:t,Xx=_("\u25C6","*"),Zx=_("\u25A0","x"),Qx=_("\u25B2","x"),ev=_("\u25C7","o"),tv=_("\u250C","T"),xu=_("\u2502","|"),rv=_("\u2514","\u2014"),nv=_("\u25CF",">"),iv=_("\u25CB"," "),ov=_("\u25FB","[\u2022]"),sv=_("\u25FC","[+]"),av=_("\u25FB","[ ]"),lv=_("\u25AA","\u2022"),cv=_("\u2500","-"),uv=_("\u256E","+"),fv=_("\u251C","+"),dv=_("\u256F","+"),hv=_("\u25CF","\u2022"),gv=_("\u25C6","*"),mv=_("\u25B2","!"),pv=_("\u25A0","x");var yv={light:_("\u2500","-"),heavy:_("\u2501","="),block:_("\u2588","#")};function vu(){return`${mu.gray(xu)} `}var bv=vu();class Yi{configPath;config=null;events=[];retryCount=0;maxRetries=3;retryDelayMs=1000;constructor(){let e=zi.homedir(),t=rn.join(e,".config","clapp");this.configPath=rn.join(t,"telemetry.json")}async isEnabled(){if(Ue.env.DO_NOT_TRACK==="1"||Ue.env.DO_NOT_TRACK==="true")return!1;if(Ue.env.NO_TELEMETRY==="1"||Ue.env.NO_TELEMETRY==="true")return!1;return(await this.loadConfig()).enabled}async enable(){let e=await this.loadConfig();if(e.enabled=!0,!e.userId)e.userId=this.generateUserId();await this.saveConfig(e)}async disable(){let e=await this.loadConfig();e.enabled=!1,await this.saveConfig(e)}async track(e,t){if(!await this.isEnabled())return;let n={event:e,...t,timestamp:Date.now(),platform:zi.platform(),nodeVersion:Ue.version};if(this.events.push(n),this.events.length>=10)await this.send()}async trackCommand(e,t){await this.track("command",{command:e,duration:t})}async trackError(e,t){await this.track("error",{error:e,command:t})}async send(){if(!await this.isEnabled()||this.events.length===0)return!0;try{this.events=[],this.retryCount=0;let t=await this.loadConfig();return t.lastSent=Date.now(),await this.saveConfig(t),!0}catch{if(this.retryCount<this.maxRetries){this.retryCount++;let t=this.retryDelayMs*2**(this.retryCount-1);return await this.sleep(t),this.send()}return this.events=[],this.retryCount=0,!1}}async flush(){if(this.events.length===0)return!0;return this.send()}sleep(e){return new Promise((t)=>setTimeout(t,e))}async status(){let e=await this.loadConfig();return{enabled:e.enabled,doNotTrack:Ue.env.DO_NOT_TRACK==="1"||Ue.env.DO_NOT_TRACK==="true",eventsQueued:this.events.length,lastSent:e.lastSent}}async loadConfig(){if(this.config)return this.config;try{if(wu(this.configPath)){let e=await tn.readFile(this.configPath,"utf-8");return this.config=JSON.parse(e),this.config}}catch{}return this.config={enabled:!1},this.config}async saveConfig(e){this.config=e;try{let t=rn.dirname(this.configPath);await tn.mkdir(t,{recursive:!0}),await tn.writeFile(this.configPath,JSON.stringify(e,null,2),"utf-8")}catch{}}generateUserId(){let e=Math.random().toString(36).substring(2,15),t=Date.now().toString(36);return`${e}-${t}`}}var Rv=new Yi;var cn="0.3.25";function be(e){return{prev:null,next:null,data:e}}class le{head=null;tail=null;cursors=[];allocateCursor(e,t){let r={prev:e,next:t};return this.cursors.push(r),r}releaseCursor(){this.cursors.pop()}updateCursors(e,t,r,n){for(let i of this.cursors){if(i.prev===e)i.prev=t;if(i.next===r)i.next=n}}static createItem(e){return be(e)}createItem(e){return be(e)}get isEmpty(){return this.head===null}get first(){return this.head?.data??null}get last(){return this.tail?.data??null}*[Symbol.iterator](){for(let e=this.head;e!=null;e=e.next)yield e.data}fromArray(e){let t=null;this.head=null;for(let r of e){let n=be(r);if(n.prev=t,t)t.next=n;else this.head=n;t=n}return this.tail=t,this}toArray(){let e=[];for(let t=this.head;t!=null;t=t.next)e.push(t.data);return e}toJSON(){return this.toArray()}forEach(e,t){let r=this.allocateCursor(null,this.head);while(r.next!==null){let n=r.next;r.prev=n,r.next=n.next,e.call(t,n.data,n,this)}this.releaseCursor()}forEachRight(e,t){let r=this.allocateCursor(this.tail,null);while(r.prev!==null){let n=r.prev;r.next=n,r.prev=n.prev,e.call(t,n.data,n,this)}this.releaseCursor()}reduce(e,t){let r=t,n=0;for(let i=this.head;i!=null;i=i.next)r=e(r,i.data,n++,this);return r}some(e){let t=0;for(let r=this.head;r!=null;r=r.next)if(e(r.data,t++,this))return!0;return!1}map(e){let t=new le,r=null,n=0;for(let i=this.head;i!=null;i=i.next){let o=be(e(i.data,n++,this));if(o.prev=r,r)r.next=o;else t.head=o;r=o}return t.tail=r,t}filter(e){let t=new le,r=null,n=0;for(let i=this.head;i!=null;i=i.next)if(e(i.data,n++,this)){let o=be(i.data);if(o.prev=r,r)r.next=o;else t.head=o;r=o}return t.tail=r,t}clear(){let e=this.head;while(e){let t=e.next;e.prev=null,e.next=null,e=t}this.head=null,this.tail=null}copy(){let e=new le,t=null;for(let r=this.head;r!=null;r=r.next){let n=be(r.data);if(n.prev=t,t)t.next=n;else e.head=n;t=n}return e.tail=t,e}prepend(e){return this.insert(e,this.head)}prependData(e){return this.insert(be(e),this.head)}append(e){return this.insert(e,null)}appendData(e){return this.insert(be(e),null)}insert(e,t=null){if(t!=null)if(this.updateCursors(t.prev,e,t,e),t.prev===null){if(this.head!==t)throw Error("before doesn't belong to list");this.head=e,t.prev=e,e.next=t,this.updateCursors(null,e,null,null)}else t.prev.next=e,e.prev=t.prev,t.prev=e,e.next=t;else if(this.updateCursors(this.tail,e,null,e),this.tail!==null)this.tail.next=e,e.prev=this.tail,this.tail=e;else this.head=e,this.tail=e;return this}insertData(e,t=null){return this.insert(be(e),t)}remove(e){if(this.updateCursors(e,e.prev,e,e.next),e.prev!==null)e.prev.next=e.next;else if(this.head===e)this.head=e.next;else throw Error("item doesn't belong to list");if(e.next!==null)e.next.prev=e.prev;else if(this.tail===e)this.tail=e.prev;else throw Error("item doesn't belong to list");return e.prev=null,e.next=null,e}push(e){this.insert(be(e),null)}pop(){if(this.tail===null)return null;return this.remove(this.tail)}unshift(e){this.prependData(e)}shift(){if(this.head===null)return null;return this.remove(this.head)}prependList(e){return this.insertList(e,this.head)}appendList(e){return this.insertList(e,null)}insertList(e,t=null){if(e.head===null)return this;if(t!==null){if(this.updateCursors(t.prev,e.tail,t,e.head),t.prev!==null)t.prev.next=e.head,e.head.prev=t.prev;else this.head=e.head;t.prev=e.tail,e.tail.next=t}else{if(this.updateCursors(this.tail,e.tail,null,e.head),this.tail!==null)this.tail.next=e.head,e.head.prev=this.tail;else this.head=e.head;this.tail=e.tail}return e.head=null,e.tail=null,this}replace(e,t){if(t instanceof le)this.insertList(t,e),this.remove(e);else this.insert(t,e),this.remove(e)}}function Q(e){switch(e.type){case"StyleSheet":return oe(e.children,"");case"Rule":return`${Q(e.prelude)}{${Q(e.block)}}`;case"Block":return Cu(e.children);case"Atrule":{let t=`@${e.name}`;if(e.prelude){let r=Q(e.prelude);if(r)t+=` ${r}`}if(e.block)t+=`{${Q(e.block)}}`;else t+=";";return t}case"AtrulePrelude":return oe(e.children,"");case"SelectorList":return oe(e.children,",");case"Selector":return oe(e.children,"");case"TypeSelector":return e.name;case"IdSelector":return`#${e.name}`;case"ClassSelector":return`.${e.name}`;case"NestingSelector":return"&";case"AttributeSelector":{let t=`[${e.name.name}`;if(e.matcher&&e.value)if(t+=e.matcher,e.value.type==="String")t+=`"${un(e.value.value)}"`;else t+=e.value.name;if(e.flags)t+=` ${e.flags}`;return t+="]",t}case"PseudoClassSelector":return e.children?`:${e.name}(${oe(e.children,"")})`:`:${e.name}`;case"PseudoElementSelector":return e.children?`::${e.name}(${oe(e.children,"")})`:`::${e.name}`;case"Combinator":return e.name===" "?" ":e.name;case"Declaration":return`${e.property}:${Q(e.value)}${e.important?"!important":""}`;case"DeclarationList":return oe(e.children,";");case"Value":return oe(e.children,"");case"Identifier":return e.name;case"Number":return e.value;case"Percentage":return`${e.value}%`;case"Dimension":return e.value+e.unit;case"String":return`"${un(e.value)}"`;case"Url":return/[\s"'()\\\u0000-\u001F\u007F]/.test(e.value)?`url("${un(e.value)}")`:`url(${e.value})`;case"Hash":return`#${e.name}`;case"Operator":return e.value;case"Function":return`${e.name}(${oe(e.children,"")})`;case"Parentheses":return`(${oe(e.children,"")})`;case"Brackets":return`[${oe(e.children,"")}]`;case"Raw":return e.value;case"Comment":return e.value.startsWith("!")?`/*${e.value}*/`:"";case"WhiteSpace":return" ";case"CDO":return"<!--";case"CDC":return"-->";case"AnPlusB":{let t=e.a??"",r=e.b??"";if(t&&r){let n=Number(r);return`${t==="1"?"":t==="-1"?"-":t}n${n>=0?`+${r}`:r}`}if(t)return`${t==="1"?"":t==="-1"?"-":t}n`;return r}case"Ratio":return`${e.left.value}/${e.right.value}`;case"UnicodeRange":return e.value;case"Nth":return e.selector?`${Q(e.nth)} of ${Q(e.selector)}`:Q(e.nth);case"MediaQueryList":return oe(e.children,",");case"MediaQuery":return oe(e.children,"");case"MediaFeature":{let t=`(${e.name}`;if(e.value)t+=`:${Q(e.value)}`;return t+=")",t}}return""}function oe(e,t){let r="",n=!0,i=null,o=e.head;while(o!=null){let s=o.data;if(s.type==="WhiteSpace"){let a=o.next?o.next.data:null;if(Ji(i)||Ji(a)){o=o.next;continue}}let l=Q(s);if(!l){o=o.next;continue}if(!n&&t&&!ku(i))r+=t;n=!1,r+=l,i=s,o=o.next}return r}function Cu(e){let t="",r=null,n=e.head;while(n!=null){let i=n.data,o=Q(i);if(!o){n=n.next;continue}if(r&&Ru(r,i))t+=";";t+=o,r=i,n=n.next}return t}function Ru(e,t){return e.type==="Declaration"&&t.type!=="Comment"}function Ji(e){if(!e||e.type!=="Operator")return!1;let t=e.value;return t===":"||t===","||t==="/"}function ku(e){if(!e)return!1;return e.type==="Operator"||e.type==="Combinator"}function un(e){let t="";for(let r=0;r<e.length;r++){let n=e.charCodeAt(r);if(n===92)t+="\\\\";else if(n===34)t+="\\\"";else if(n<32||n===127){let i=n.toString(16),o=r+1<e.length?e.charCodeAt(r+1):-1,s=o===32||o===9||o===10||o===12||o===13||o>=48&&o<=57||o>=65&&o<=70||o>=97&&o<=102;t+=`\\${i}${s?" ":""}`}else t+=e[r]}return t}var We=(()=>{let e=new Uint8Array(128);for(let t=0;t<128;t++){let r=0;if(t===32||t===9||t===10||t===12||t===13)r|=1;if(t>=48&&t<=57)r|=2;if(t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102)r|=4;if(t>=65&&t<=90||t>=97&&t<=122||t===95)r|=8;if(t===10||t===12||t===13)r|=16;e[t]=r}return e})();function fe(e){return e<128&&(We[e]&2)!==0}function Rt(e){return e<128&&(We[e]&4)!==0}function Xi(e){return e>=128||e<128&&(We[e]&8)!==0}function Su(e){return e===45||e>=128||e<128&&(We[e]&10)!==0}function Au(e){return e>=0&&e<=8||e===11||e>=14&&e<=31||e===127}function dn(e){return e<128&&(We[e]&16)!==0}function Re(e){return e<128&&(We[e]&1)!==0}function Ve(e,t){if(e!==92)return!1;if(dn(t))return!1;return!0}function fn(e,t,r){if(e===45)return Xi(t)||t===45||Ve(t,r);if(Xi(e))return!0;if(e===92)return Ve(e,t);return!1}function Eu(e,t,r){if(e===43||e===45){if(fe(t))return!0;if(t===46&&fe(r))return!0;return!1}if(e===46)return fe(t);return fe(e)}class Bt{source;offset=0;types;starts;ends;count=0;_tokens=null;_lineStarts=null;constructor(e){this.source=e;let t=Math.max(64,Math.ceil(e.length/3));this.types=new Uint8Array(t),this.starts=new Uint32Array(t),this.ends=new Uint32Array(t),this.tokenize()}get lineStarts(){if(this._lineStarts==null)this._lineStarts=Tu(this.source);return this._lineStarts}get tokens(){if(this._tokens!=null)return this._tokens;let e=Array.from({length:this.count});for(let t=0;t<this.count;t++)e[t]={type:this.types[t],start:this.starts[t],end:this.ends[t]};return this._tokens=e,e}addToken(e,t,r){if(this.count>=this.types.length)this.grow();this.types[this.count]=e,this.starts[this.count]=t,this.ends[this.count]=r,this.count++}grow(){let t=this.types.length*2,r=new Uint8Array(t);r.set(this.types),this.types=r;let n=new Uint32Array(t);n.set(this.starts),this.starts=n;let i=new Uint32Array(t);i.set(this.ends),this.ends=i}tokenize(){let e=this.source,t=0,r=e.length;while(t<r){let n=e.charCodeAt(t);if(n===47&&e.charCodeAt(t+1)===42){let s=t;t+=2;while(t<r&&!(e.charCodeAt(t)===42&&e.charCodeAt(t+1)===47))t++;t=t<r?t+2:r,this.addToken(25,s,t);continue}if(Re(n)){let s=t;while(t<r&&Re(e.charCodeAt(t)))t++;this.addToken(13,s,t);continue}if(n===34||n===39){t=this.consumeString(n,t);continue}if(n===35){if(t+1<r&&(Su(e.charCodeAt(t+1))||Ve(e.charCodeAt(t+1),e.charCodeAt(t+2)))){let s=t;t++,t=this.consumeName(t),this.addToken(4,s,t);continue}this.addToken(9,t,t+1),t++;continue}switch(n){case 40:this.addToken(21,t,t+1),t++;continue;case 41:this.addToken(22,t,t+1),t++;continue;case 91:this.addToken(19,t,t+1),t++;continue;case 93:this.addToken(20,t,t+1),t++;continue;case 123:this.addToken(23,t,t+1),t++;continue;case 125:this.addToken(24,t,t+1),t++;continue;case 44:this.addToken(18,t,t+1),t++;continue;case 58:this.addToken(16,t,t+1),t++;continue;case 59:this.addToken(17,t,t+1),t++;continue}if(n===60&&e.startsWith("!--",t+1)){this.addToken(14,t,t+4),t+=4;continue}if(n===45&&e.startsWith("->",t+1)){this.addToken(15,t,t+3),t+=3;continue}if(n===64){let s=e.charCodeAt(t+1),l=e.charCodeAt(t+2),a=e.charCodeAt(t+3);if(fn(s,l,a)){let c=t;t++,t=this.consumeName(t),this.addToken(3,c,t);continue}this.addToken(9,t,t+1),t++;continue}let i=e.charCodeAt(t+1),o=e.charCodeAt(t+2);if(Eu(n,i,o)){t=this.consumeNumeric(t);continue}if(fn(n,i,o)){t=this.consumeIdentLike(t);continue}if(n===92){if(Ve(n,i)){t=this.consumeIdentLike(t);continue}this.addToken(9,t,t+1),t++;continue}this.addToken(9,t,t+1),t++}this.addToken(0,r,r)}consumeString(e,t){let r=this.source,n=r.length,i=t+1;while(i<n){let o=r.charCodeAt(i);if(o===e)return i++,this.addToken(5,t,i),i;if(dn(o))return this.addToken(6,t,i),i;if(o===92){let s=r.charCodeAt(i+1);if(dn(s)){i+=2;continue}if(i+1<n){i=this.consumeEscapeSkip(i+1);continue}}i++}return this.addToken(5,t,i),i}consumeEscapeSkip(e){let t=this.source;if(e>=t.length)return e;let r=t.charCodeAt(e);if(Rt(r)){let n=1;e++;while(n<6&&e<t.length&&Rt(t.charCodeAt(e)))e++,n++;if(e<t.length&&Re(t.charCodeAt(e)))e++;return e}return e+1}consumeName(e){let t=this.source,r=t.length,n=e;while(n<r){let i=t.charCodeAt(n);if(i<128&&(We[i]&10)!==0){n++;continue}if(i===45){n++;continue}if(i>=128){n++;continue}if(i===92&&Ve(i,t.charCodeAt(n+1))){n=this.consumeEscapeSkip(n+1);continue}break}return n}consumeNumber(e){let t=this.source,r=e;if(t.charCodeAt(r)===43||t.charCodeAt(r)===45)r++;while(r<t.length&&fe(t.charCodeAt(r)))r++;if(t.charCodeAt(r)===46&&fe(t.charCodeAt(r+1))){r+=2;while(r<t.length&&fe(t.charCodeAt(r)))r++}let n=t.charCodeAt(r);if(n===69||n===101){let i=t.charCodeAt(r+1),o=t.charCodeAt(r+2);if(fe(i)){r+=2;while(r<t.length&&fe(t.charCodeAt(r)))r++}else if((i===43||i===45)&&fe(o)){r+=3;while(r<t.length&&fe(t.charCodeAt(r)))r++}}return r}consumeNumeric(e){let t=this.source,r=this.consumeNumber(e),n=t.charCodeAt(r),i=t.charCodeAt(r+1),o=t.charCodeAt(r+2);if(fn(n,i,o)){let s=this.consumeName(r);return this.addToken(12,e,s),s}if(n===37)return this.addToken(11,e,r+1),r+1;return this.addToken(10,e,r),r}consumeIdentLike(e){let t=this.source,r=this.consumeName(e),n=t.charCodeAt(r);if(n===40&&r-e===3){let i=t.charCodeAt(e)|32,o=t.charCodeAt(e+1)|32,s=t.charCodeAt(e+2)|32;if(i===117&&o===114&&s===108){let l=r+1;while(l<t.length&&Re(t.charCodeAt(l)))l++;let a=t.charCodeAt(l);if(a===34||a===39)return this.addToken(2,e,r+1),r+1;return this.consumeUrl(e,r)}}if(n===40)return this.addToken(2,e,r+1),r+1;return this.addToken(1,e,r),r}consumeUrl(e,t){let r=this.source,n=r.length,i=t+1;while(i<n&&Re(r.charCodeAt(i)))i++;while(i<n){let o=r.charCodeAt(i);if(o===41)return i++,this.addToken(7,e,i),i;if(Re(o)){let s=i;while(i<n&&Re(r.charCodeAt(i)))i++;if(i>=n)return this.addToken(7,e,i),i;if(r.charCodeAt(i)===41)return i++,this.addToken(7,e,i),i;return this.consumeBadUrl(e,s)}if(o===34||o===39||o===40||Au(o))return this.consumeBadUrl(e,i);if(o===92){if(Ve(o,r.charCodeAt(i+1))){i=this.consumeEscapeSkip(i+1);continue}return this.consumeBadUrl(e,i)}i++}return this.addToken(7,e,i),i}consumeBadUrl(e,t){let r=this.source,n=t;while(n<r.length){let i=r.charCodeAt(n);if(i===41){n++;break}if(i===92&&Ve(i,r.charCodeAt(n+1))){n=this.consumeEscapeSkip(n+1);continue}n++}return this.addToken(8,e,n),n}locate(e){let t=this.lineStarts,r=0,n=t.length-1;while(r<n){let o=r+n+1>>1;if(t[o]<=e)r=o;else n=o-1}let i=t[r];return{line:r+1,column:e-i+1}}}function Tu(e){let t=[0],r=e.length;for(let n=0;n<r;n++){let i=e.charCodeAt(n);if(i===10)t.push(n+1);else if(i===13){if(e.charCodeAt(n+1)!==10)t.push(n+1)}}return t}function hn(e,t,r){for(let n=t;n<r;n++)if(e.charCodeAt(n)===92)return Nu(e,t,r,n);return e.slice(t,r)}function Nu(e,t,r,n){let i=e.slice(t,n),o=n;while(o<r){if(e.charCodeAt(o)!==92){i+=e[o],o++;continue}if(o+1>=r){o++;continue}let l=e.charCodeAt(o+1);if(l===10){o+=2;continue}if(l===13){o+=e.charCodeAt(o+2)===10?3:2;continue}if(Rt(l)){let a=o+1,c="";while(c.length<6&&a<r&&Rt(e.charCodeAt(a)))c+=e[a],a++;let u=Number.parseInt(c,16);if(a<r&&Re(e.charCodeAt(a)))a++;i+=u===0||u>=55296&&u<=57343||u>1114111?String.fromCodePoint(65533):String.fromCodePoint(u),o=a;continue}i+=e[o+1],o+=2}return i}function gn(e,t,r){for(let n=t;n<r;n++)if(e.charCodeAt(n)===92)return Ou(e,t,r,n);return e.slice(t,r)}function Ou(e,t,r,n){let i=e.slice(t,n),o=n;while(o<r){if(e.charCodeAt(o)!==92){i+=e[o],o++;continue}let l=o+1,a="";while(a.length<6&&l<r&&Rt(e.charCodeAt(l)))a+=e[l],l++;if(a.length>0){let c=Number.parseInt(a,16);if(l<r&&Re(e.charCodeAt(l)))l++;i+=c===0||c>=55296&&c<=57343||c>1114111?String.fromCodePoint(65533):String.fromCodePoint(c),o=l;continue}if(l<r){i+=e[l],o=l+1;continue}i+=String.fromCodePoint(65533),o=l}return i}function io(e,t){let r=new Bt(e);return{source:e,types:r.types,starts:r.starts,ends:r.ends,count:r.count,end:r.count,pos:0,positions:t.positions??!1,filename:t.filename,parseValue:t.parseValue??!0,parseAtrulePrelude:t.parseAtrulePrelude??!0,parseCustomProperty:t.parseCustomProperty??!1,parseRulePrelude:t.parseRulePrelude??!0,onParseError:t.onParseError,tokenizer:r}}function x(e){return e.pos<e.end?e.types[e.pos]:0}function w(e){let t=e.pos;if(t>=e.end)return{type:0,start:e.starts[t]??e.source.length,end:e.ends[t]??e.source.length};return{type:e.types[t],start:e.starts[t],end:e.ends[t]}}function C(e){let t=e.pos++;if(t>=e.end)return{type:0,start:e.starts[t]??e.source.length,end:e.ends[t]??e.source.length};return{type:e.types[t],start:e.starts[t],end:e.ends[t]}}function xe(e,t){return e.source.slice(t.start,t.end)}function de(e){let{types:t,end:r}=e;while(e.pos<r){let n=t[e.pos];if(n===13||n===25)e.pos++;else break}}function Zi(e){let{types:t,end:r}=e;while(e.pos<r&&t[e.pos]===13)e.pos++}function k(e,t,r){if(!e.positions)return null;let n=e.tokenizer.locate(t.start),i=e.tokenizer.locate(r.end);return{source:e.filename??"<unknown>",start:{offset:t.start,line:n.line,column:n.column},end:{offset:r.end,line:i.line,column:i.column}}}function oo(e){if(!e.positions)return null;let t=w(e),r=e.tokenizer.locate(t.start);return{source:e.filename??"<unknown>",start:{offset:t.start,line:r.line,column:r.column},end:{offset:t.start,line:r.line,column:r.column}}}function Ut(e,t,r,n){return{type:"Raw",value:e,loc:k(n,t,r)}}function te(){return new le}function mn(e,t,r,n){if(e.onParseError){let{line:i,column:o}=e.tokenizer.locate(r.start),s=SyntaxError(`${e.filename??"<input>"}:${i}:${o}: ${t}`);s.line=i,s.column=o,s.offset=r.start,e.onParseError(s,n)}return n}function Wt(e,t={}){let r=io(e,t);switch(t.context??"stylesheet"){case"stylesheet":return to(r);case"atrule":return zt(r)??Qi(r);case"atrulePrelude":return Lu(r);case"mediaQuery":case"mediaQueryList":return eo(r);case"rule":return yn(r);case"selectorList":return vn(r);case"selector":return co(r);case"block":return bn(r);case"declarationList":return ju(r);case"declaration":return xn(r)??Qi(r);case"value":return Du(r);case"raw":return eo(r);default:return to(r)}}function Qi(e){return{type:"StyleSheet",children:te(),loc:oo(e)}}function eo(e){let t=w(e),r=t;while(x(e)!==0)r=C(e);return{type:"Raw",value:e.source.slice(t.start,r.end),loc:k(e,t,r)}}function to(e){let t=w(e),r=te(),{types:n,end:i}=e;while(e.pos<i){let l=n[e.pos];if(l===13){e.pos++;continue}if(l===25){let u={type:25,start:e.starts[e.pos],end:e.ends[e.pos]},f=pn(e,u);e.pos++,r.appendData(f);continue}if(l===0)break;if(l===14||l===15){e.pos++;continue}if(l===3){let u=zt(e);if(u)r.appendData(u);continue}if(l===24){e.pos++;continue}let a=e.pos,c=yn(e);if(r.appendData(c),e.pos===a)e.pos++}let o=e.end-1,s=o>=0?{type:e.types[o],start:e.starts[o],end:e.ends[o]}:{type:0,start:0,end:0};return{type:"StyleSheet",children:r,loc:k(e,t,s)}}function pn(e,t){return{type:"Comment",value:e.source.slice(t.start+2,t.end-2),loc:k(e,t,t)}}function zt(e){let t=w(e);if(t.type!==3)return null;e.pos++;let r=Vt(e.source,t.start+1,t.end);de(e);let n=e.pos,i=w(e),{types:o,end:s}=e,l=n,a=n;while(l<s){let f=o[l];if(f===0||f===17||f===23)break;if(f!==13&&f!==25)a=l+1;l++}let c=null;if(a>n){let f=e.starts[n],d=e.ends[a-1],h={type:o[a-1],start:e.starts[a-1],end:d},g=e.source.slice(f,d).trim();if(g.length>0)if(e.parseAtrulePrelude)try{let m=e.end;e.end=a,e.pos=n;let p=te();while(x(e)!==0){let y=ze(e);if(y)p.appendData(y)}if(ao(p),e.end=m,e.pos=l,p.isEmpty)c=Ut(g,i,h,e);else c={type:"AtrulePrelude",children:p,loc:null}}catch(m){let p=Ut(g,i,h,e);mn(e,`Failed to parse @${r} prelude: ${m.message}`,i,p),c=p,e.pos=l}else c=Ut(g,i,h,e),e.pos=l;else e.pos=l}else e.pos=l;let u=null;if(x(e)===17)C(e);else if(x(e)===23)u=bn(e,_u.has(r));return{type:"Atrule",name:r,prelude:c,block:u,loc:k(e,t,w(e))}}var Pu=new Set(["is","not","where","has","matches","-moz-any","-webkit-any"]),_u=new Set(["media","supports","document","layer","container","scope","starting-style","-moz-document","keyframes","-webkit-keyframes","-moz-keyframes","-o-keyframes"]);function Lu(e){let t=w(e),r=te();while(x(e)!==0){if(w(e).type===13){e.pos++;continue}let i=ze(e);if(i)r.appendData(i)}return{type:"AtrulePrelude",children:r,loc:k(e,t,w(e))}}function yn(e){let t=w(e),r;if(e.parseRulePrelude)r=vn(e);else{let i=w(e),o=i;while(x(e)!==0&&x(e)!==23)o=C(e);let s=e.source.slice(i.start,o.end).trim();r=Ut(s,i,o,e)}let n=bn(e,!0);return{type:"Rule",prelude:r,block:n,loc:k(e,t,w(e))}}function bn(e,t=!1){let r=w(e);if(x(e)!==23)return{type:"Block",children:te(),loc:oo(e)};e.pos++;let n=te(),{types:i,end:o}=e;while(e.pos<o){let s=i[e.pos];if(s===24||s===0)break;if(s===13){e.pos++;continue}if(s===25){let a={type:25,start:e.starts[e.pos],end:e.ends[e.pos]};e.pos++,n.appendData(pn(e,a));continue}if(s===3){let a=zt(e);if(a)n.appendData(a);continue}if(t&&Mu(e,Fu)){let a=yn(e);n.appendData(a);continue}let l=xn(e);if(l)n.appendData(l);if(e.pos<o&&i[e.pos]===17)e.pos++}if(x(e)===24)e.pos++;return{type:"Block",children:n,loc:k(e,r,w(e))}}function Mu(e,t){let r=e.pos,n=t(e);return e.pos=r,n}function Fu(e){let{types:t,end:r}=e;while(e.pos<r){let n=t[e.pos];if(n===23)return!0;if(n===17||n===24||n===0)return!1;e.pos++}return!1}function ju(e){let t=w(e),r=te();while(x(e)!==0&&x(e)!==24){let n=w(e);if(n.type===13){e.pos++;continue}if(n.type===25){r.appendData(pn(e,C(e)));continue}if(n.type===17){e.pos++;continue}if(n.type===3){let o=zt(e);if(o)r.appendData(o);continue}let i=xn(e);if(i)r.appendData(i);if(x(e)===17)C(e)}return{type:"DeclarationList",children:r,loc:k(e,t,w(e))}}function xn(e){de(e);let t=w(e);if(t.type!==1&&t.type!==4&&!(t.type===9&&e.source[t.start]==="*"&&e.source[t.start+1]===" "))if(t.type===9&&e.source[t.start]==="*")e.pos++;else{mn(e,"Expected property name",t,{type:"Raw",value:"",loc:null});let{types:S,end:j}=e;while(e.pos<j){let K=S[e.pos];if(K===0||K===17||K===24)break;e.pos++}return null}let r=e.starts[e.pos],n=e.ends[e.pos];e.pos++;let i=e.source.slice(r,n);if(Zi(e),x(e)!==16){mn(e,`Expected ':' after property "${i}"`,w(e),{type:"Raw",value:"",loc:null});let{types:S,end:j}=e;while(e.pos<j){let K=S[e.pos];if(K===0||K===17||K===24)break;e.pos++}return null}e.pos++,Zi(e);let{types:o,starts:s,end:l,pos:a}=e,c=a,u=a,f=-1,d=-1;while(c<l){let S=o[c];if(S===0||S===17||S===24)break;if(S===9&&e.source.charCodeAt(s[c])===33){let j=c+1;while(j<l&&o[j]===13)j++;if(j<l&&o[j]===1){let K=s[j];if(e.ends[j]-K===9&&(e.source.charCodeAt(K)|32)===105&&(e.source.charCodeAt(K+1)|32)===109&&(e.source.charCodeAt(K+2)|32)===112&&(e.source.charCodeAt(K+3)|32)===111&&(e.source.charCodeAt(K+4)|32)===114&&(e.source.charCodeAt(K+5)|32)===116&&(e.source.charCodeAt(K+6)|32)===97&&(e.source.charCodeAt(K+7)|32)===110&&(e.source.charCodeAt(K+8)|32)===116){d=c,f=j,c=j+1;continue}}}if(S!==13&&S!==25)u=c+1;c++}let h=u,g=f>=0?{type:1,start:s[f],end:e.ends[f]}:null,m=i.startsWith("--"),p,y=s[a],b=h>a?e.ends[h-1]:y,v={type:o[a],start:y,end:e.ends[a]},R=h>a?{type:o[h-1],start:s[h-1],end:b}:v;if(m&&!e.parseCustomProperty||!e.parseValue)p={type:"Raw",value:e.source.slice(y,b).trim(),loc:k(e,v,R)};else if(h===a)p={type:"Value",children:te(),loc:k(e,v,R)};else{let S=e.end;e.end=h,e.pos=a,p=so(e),e.end=S}return e.pos=c,{type:"Declaration",property:i,important:g?!0:!1,value:p,loc:k(e,t,w(e))}}function Du(e){return so(e)}function so(e){let t=w(e),r=te();while(x(e)!==0&&x(e)!==17&&x(e)!==24&&x(e)!==22&&x(e)!==20){let n=ze(e);if(n)r.appendData(n)}return lo(r),{type:"Value",children:r,loc:k(e,t,w(e))}}function ao(e){for(let t of e)if("children"in t&&t.children instanceof le)ao(t.children);lo(e)}function lo(e){let t=e.head;while(t){if(t.data.type==="Number"){let r=t.next;while(r&&r.data.type==="WhiteSpace")r=r.next;if(r&&r.data.type==="Operator"&&r.data.value==="/"){let n=r.next;while(n&&n.data.type==="WhiteSpace")n=n.next;if(n&&n.data.type==="Number"){let i={type:"Ratio",left:t.data,right:n.data,loc:null},o=t.next;while(o&&o!==n.next){let s=o.next;e.remove(o),o=s}e.replace(t,e.createItem(i)),t=e.head;continue}}}t=t.next}}function ze(e){let t=e.pos;if(t>=e.end)return null;let r=e.types[t],n=e.starts[t],i=e.ends[t],o=e.source;switch(r){case 13:return e.pos++,e.positions?{type:"WhiteSpace",value:" ",loc:ee(e,n,i)}:{type:"WhiteSpace",value:" ",loc:null};case 25:return e.pos++,{type:"Comment",value:o.slice(n+2,i-2),loc:e.positions?ee(e,n,i):null};case 10:return e.pos++,{type:"Number",value:o.slice(n,i),loc:e.positions?ee(e,n,i):null};case 11:return e.pos++,{type:"Percentage",value:o.slice(n,i-1),loc:e.positions?ee(e,n,i):null};case 12:{e.pos++;let s=n,l=o.charCodeAt(s);if(l===43||l===45)s++;let a=!1;while(s<i){let u=o.charCodeAt(s);if(u>=48&&u<=57){s++;continue}if(u===46&&!a){a=!0,s++;continue}break}let c=o.charCodeAt(s);if(c===69||c===101){let u=s+1,f=o.charCodeAt(u);if(f===43||f===45)u++;let d=!1;while(u<i){let h=o.charCodeAt(u);if(h>=48&&h<=57){u++,d=!0;continue}break}if(d)s=u}return{type:"Dimension",value:o.slice(n,s),unit:o.slice(s,i),loc:e.positions?ee(e,n,i):null}}case 1:return e.pos++,{type:"Identifier",name:gn(o,n,i),loc:e.positions?ee(e,n,i):null};case 5:{e.pos++;let s=n+1,a=i-n>=2&&o.charCodeAt(i-1)===o.charCodeAt(n)?i-1:i;return{type:"String",value:hn(o,s,a),loc:e.positions?ee(e,n,i):null}}case 7:{e.pos++;let s=n+4;while(s<i&&ro(o.charCodeAt(s)))s++;let l=i;if(l>s&&o.charCodeAt(l-1)===41)l--;while(l>s&&ro(o.charCodeAt(l-1)))l--;let a;if(l-s>=2){let c=o.charCodeAt(s),u=o.charCodeAt(l-1);if((c===34||c===39)&&c===u)a=o.slice(s+1,l-1);else a=o.slice(s,l)}else a=o.slice(s,l);return{type:"Url",value:a,loc:e.positions?ee(e,n,i):null}}case 4:return e.pos++,{type:"Hash",name:o.slice(n+1,i),loc:e.positions?ee(e,n,i):null};case 2:return Uu(e);case 21:return Vu(e);case 18:return e.pos++,{type:"Operator",value:",",loc:e.positions?ee(e,n,i):null};case 16:return e.pos++,{type:"Operator",value:":",loc:e.positions?ee(e,n,i):null};case 9:{e.pos++;let s=o.charCodeAt(n),l=o[n];if(Bu(s))return{type:"Operator",value:l,loc:e.positions?ee(e,n,i):null};return{type:"Identifier",name:l,loc:e.positions?ee(e,n,i):null}}case 19:{e.pos++;let s=te();while(x(e)!==0&&x(e)!==20){let a=ze(e);if(a)s.appendData(a)}let l=e.pos<e.end?e.ends[e.pos]:i;if(x(e)===20)e.pos++;return{type:"Brackets",children:s,loc:e.positions?ee(e,n,l):null}}case 3:case 23:case 24:case 22:case 20:case 17:case 0:case 14:case 15:case 6:case 8:return e.pos++,{type:"Raw",value:o.slice(n,i),loc:e.positions?ee(e,n,i):null}}return e.pos++,null}function ro(e){return e===32||e===9||e===10||e===12||e===13}function Bu(e){return e===47||e===43||e===45||e===42||e===61||e===62||e===60||e===126||e===124||e===36||e===94||e===33||e===38}function Vt(e,t,r){for(let n=t;n<r;n++){let i=e.charCodeAt(n);if(i>=65&&i<=90)return e.slice(t,r).toLowerCase()}return e.slice(t,r)}function ee(e,t,r){let n=e.tokenizer.locate(t),i=e.tokenizer.locate(r);return{source:e.filename??"<unknown>",start:{offset:t,line:n.line,column:n.column},end:{offset:r,line:i.line,column:i.column}}}function Uu(e){let t=C(e),r=Vt(e.source,t.start,t.end-1),n=te();while(x(e)!==0&&x(e)!==22){let i=ze(e);if(i)n.appendData(i)}if(x(e)===22)C(e);if(r==="url"){for(let i=n.head;i!=null;i=i.next)if(i.data.type==="String")return{type:"Url",value:i.data.value,loc:k(e,t,w(e))}}return{type:"Function",name:r,children:n,loc:k(e,t,w(e))}}function Vu(e){let t=C(e),r=te();while(x(e)!==0&&x(e)!==22){let n=ze(e);if(n)r.appendData(n)}if(x(e)===22)C(e);return{type:"Parentheses",children:r,loc:k(e,t,w(e))}}function vn(e){let t=w(e),r=te();while(x(e)!==0){if(de(e),x(e)===0||x(e)===23)break;let n=co(e);if(n.children.head!==null)r.appendData(n);if(de(e),x(e)===18){C(e);continue}break}return{type:"SelectorList",children:r,loc:k(e,t,w(e))}}function co(e){let t=w(e),r=te(),n=!0;while(x(e)!==0&&x(e)!==18&&x(e)!==23){let i=w(e);if(i.type===13){if(C(e),!n&&x(e)!==0&&x(e)!==18&&x(e)!==23&&!no(e)&&!Wu(e)){let s={type:"Combinator",name:" ",loc:k(e,i,i)};r.appendData(s),n=!0}continue}if(i.type===9&&e.source.charCodeAt(i.start)===124&&e.types[e.pos+1]===9&&e.source.charCodeAt(e.starts[e.pos+1])===124){let s=w(e);C(e);let l=C(e),a={type:"Combinator",name:"||",loc:k(e,s,l)};r.appendData(a),n=!0,de(e);continue}if(no(e)){let s=C(e),a={type:"Combinator",name:e.source[s.start],loc:k(e,s,s)};r.appendData(a),n=!0,de(e);continue}let o=zu(e);if(!o)break;r.appendData(o),n=!1}while(r.tail&&r.tail.data.type==="Combinator")r.remove(r.tail);return{type:"Selector",children:r,loc:k(e,t,w(e))}}function no(e){let t=w(e);if(t.type!==9)return!1;let r=e.source[t.start];return r===">"||r==="+"||r==="~"}function Wu(e){if(e.types[e.pos]!==9)return!1;if(e.source.charCodeAt(e.starts[e.pos])!==124)return!1;if(e.types[e.pos+1]!==9)return!1;return e.source.charCodeAt(e.starts[e.pos+1])===124}function zu(e){let t=w(e);switch(t.type){case 1:{if(C(e),x(e)===9&&e.source[w(e).start]==="|"&&e.source[w(e).start+1]!=="="&&!(e.types[e.pos+1]===9&&e.source.charCodeAt(e.starts[e.pos+1])===124)){if(C(e),x(e)===1){let n=C(e);return{type:"TypeSelector",name:`${xe(e,t)}|${xe(e,n)}`,loc:k(e,t,n)}}if(x(e)===9&&e.source[w(e).start]==="*"){let n=C(e);return{type:"TypeSelector",name:`${xe(e,t)}|*`,loc:k(e,t,n)}}}return{type:"TypeSelector",name:xe(e,t),loc:k(e,t,t)}}case 11:return C(e),{type:"TypeSelector",name:xe(e,t),loc:k(e,t,t)};case 10:return C(e),{type:"TypeSelector",name:xe(e,t),loc:k(e,t,t)};case 9:{let r=e.source[t.start];if(r==="*")return C(e),{type:"TypeSelector",name:"*",loc:k(e,t,t)};if(r==="."){if(C(e),x(e)===1){let n=C(e);return{type:"ClassSelector",name:xe(e,n),loc:k(e,t,n)}}return null}if(r==="&")return C(e),{type:"NestingSelector",loc:k(e,t,t)};return C(e),null}case 4:return C(e),{type:"IdSelector",name:e.source.slice(t.start+1,t.end),loc:k(e,t,t)};case 16:{C(e);let r=x(e)===16;if(r)C(e);return Ku(e,r,t)}case 19:return Gu(e)}return null}function Ku(e,t,r){let n=w(e);if(n.type===1){C(e);let i=Vt(e.source,n.start,n.end);return t?{type:"PseudoElementSelector",name:i,children:null,loc:k(e,r,n)}:{type:"PseudoClassSelector",name:i,children:null,loc:k(e,r,n)}}if(n.type===2){C(e);let i=Vt(e.source,n.start,n.end-1),o=te();if(!t&&Pu.has(i)){let a=w(e),c=a,u=1;while(x(e)!==0&&u>0){if(x(e)===21||x(e)===2)u++;else if(x(e)===22){if(u--,u===0)break}c=C(e)}if(x(e)===22)C(e);let f=e.source.slice(a.start,c.end).trim();if(f.length>0){let d=io(f,{positions:!1}),h=vn(d);o.appendData(h)}}else{while(x(e)!==0&&x(e)!==22){let a=ze(e);if(a)o.appendData(a)}if(x(e)===22)C(e)}if(t)return{type:"PseudoElementSelector",name:i,children:o,loc:k(e,r,w(e))};return{type:"PseudoClassSelector",name:i,children:o,loc:k(e,r,w(e))}}return null}function Gu(e){let t=C(e);de(e);let r=w(e);if(r.type!==1)return null;C(e);let n={type:"Identifier",name:xe(e,r),loc:k(e,r,r)};de(e);let i=null,o=null,s=null,l=w(e);if(l.type===9){let c=e.source[l.start],u=e.source[l.start+1];if(c==="=")i="=",C(e);else if((c==="~"||c==="|"||c==="^"||c==="$"||c==="*")&&u==="="){C(e);let h=w(e);if(h.type===9&&e.source[h.start]==="=")C(e),i=`${c}=`}de(e);let f=w(e);if(f.type===5){C(e);let h=f.end-f.start>=2&&e.source.charCodeAt(f.end-1)===e.source.charCodeAt(f.start);o={type:"String",value:hn(e.source,f.start+1,h?f.end-1:f.end),loc:k(e,f,f)}}else if(f.type===1)C(e),o={type:"Identifier",name:xe(e,f),loc:k(e,f,f)};de(e);let d=w(e);if(d.type===1)C(e),s=xe(e,d)}de(e);let a=w(e);if(x(e)===20)a=C(e);return{type:"AttributeSelector",name:n,matcher:i,value:o,flags:s,loc:k(e,t,a)}}var uo=Symbol("walkSkip"),U=Symbol("walkStop");function Hu(e){return{root:e,stylesheet:null,atrule:null,atrulePrelude:null,rule:null,selector:null,block:null,declaration:null,function:null}}function qu(e,t){let r=Hu(e),n=typeof t==="function"?t:t.enter,i=typeof t==="function"?null:t.leave??null,o=typeof t==="function"?null:t.visit??null,s=typeof t==="function"?!1:t.reverse??!1;function l(a,c,u){let f=null,d;switch(a.type){case"StyleSheet":f="stylesheet",d=r.stylesheet,r.stylesheet=a;break;case"Atrule":f="atrule",d=r.atrule,r.atrule=a;break;case"AtrulePrelude":f="atrulePrelude",d=r.atrulePrelude,r.atrulePrelude=a;break;case"Rule":f="rule",d=r.rule,r.rule=a;break;case"Selector":f="selector",d=r.selector,r.selector=a;break;case"Block":f="block",d=r.block,r.block=a;break;case"Declaration":f="declaration",d=r.declaration,r.declaration=a;break;case"Function":f="function",d=r.function,r.function=a;break}let h;if((o===null||o===a.type)&&n){let g=n.call(r,a,c,u);if(g===uo){if(f)r[f]=d;return}if(g===U){if(f)r[f]=d;return U}}if(h=Yu(a,s,l),h===U){if(f)r[f]=d;return U}if((o===null||o===a.type)&&i){if(i.call(r,a,c,u)===U){if(f)r[f]=d;return U}}if(f)r[f]=d;return}return l(e,null,null)}var Ke=Object.assign(qu,{skip:uo,stop:U});function Yu(e,t,r){if("children"in e&&e.children instanceof le)return Ju(e.children,t,r);if(e.type==="Rule"){if(r(e.prelude,null,null)===U)return U;if(r(e.block,null,null)===U)return U;return}if(e.type==="Atrule"){if(e.prelude){if(r(e.prelude,null,null)===U)return U}if(e.block){if(r(e.block,null,null)===U)return U}return}if(e.type==="Declaration")return r(e.value,null,null);if(e.type==="AttributeSelector"){if(r(e.name,null,null)===U)return U;if(e.value)return r(e.value,null,null);return}return}function Ju(e,t,r){let n;if(t)e.forEachRight((i,o,s)=>{if(n)return;if(r(i,o,s)===U)n=U});else e.forEach((i,o,s)=>{if(n)return;if(r(i,o,s)===U)n=U});return n}function et(e,t={}){let r=t.exclamation??!1,n=!1;Ke(e,(i,o,s)=>{if(i.type!=="Comment")return;let l=i.value.startsWith("!");if(r===!0&&l)return;if(r==="first-exclamation"&&l&&!n){n=!0;return}if(o&&s)s.remove(o)})}function Kt(e){Ke(e,(t)=>{if(t.type!=="Block"&&t.type!=="DeclarationList")return;if(!("children"in t)||!t.children)return;let r=t.children,n=r.head;if(n==null||n.next==null)return;let i=0;for(let l=n;l!=null;l=l.next)if(l.data.type==="Declaration"){if(i++,i>=2)break}if(i<2)return;let o=new Map,s=[];for(let l=n;l!=null;l=l.next){let a=l.data;if(a.type!=="Declaration")continue;let c=a.property,u=o.get(c);if(u){let f=!!u.decl.important,d=!!a.important;if(d||f===d)s.push(u.item),o.set(c,{item:l,decl:a});else s.push(l)}else o.set(c,{item:l,decl:a})}for(let l of s)r.remove(l)})}var Xu={black:"#000",fuchsia:"#f0f",white:"#fff",red:"#f00",cyan:"#0ff",blue:"#00f",yellow:"#ff0",magenta:"#f0f",lime:"#0f0",silver:"#c0c0c0",gray:"#808080",maroon:"#800000",olive:"#808000",green:"#008000",purple:"#800080",teal:"#008080",navy:"#000080"},Zu={"#f00":"red","#ff0000":"red","#000080":"navy","#008080":"teal"};function $n(e){if(!e.startsWith("#"))return e;let t=e.slice(1);if(t.length===6){if(t[0]===t[1]&&t[2]===t[3]&&t[4]===t[5])return`#${t[0]}${t[2]}${t[4]}`}if(t.length===8){if(t[0]===t[1]&&t[2]===t[3]&&t[4]===t[5]&&t[6]===t[7])return`#${t[0]}${t[2]}${t[4]}${t[6]}`}return e}function fo(e){let t=e.toLowerCase();return Xu[t]??null}function ho(e){let t=e.toLowerCase();return Zu[t]??null}function Qu(e,t,r){let n=(e<<16|t<<8|r).toString(16).padStart(6,"0");return $n(`#${n}`)}var ef=/^rgba?\(\s*([+-]?\d*\.?\d+%?)\s*[,\s]\s*([+-]?\d*\.?\d+%?)\s*[,\s]\s*([+-]?\d*\.?\d+%?)\s*(?:[,/]\s*([+-]?\d*\.?\d+%?)\s*)?\)$/;function go(e){let t=ef.exec(e.trim());if(!t)return e;let r=wn(t[1]),n=wn(t[2]),i=wn(t[3]);if(t[4]!==void 0&&!tf(t[4]))return e;return Qu(r,n,i)}function tf(e){if(e.endsWith("%"))return Number.parseFloat(e)>=100;return Number.parseFloat(e)>=1}function wn(e){if(e.endsWith("%"))return Math.max(0,Math.min(255,Math.round(Number.parseFloat(e)*2.55)));return Math.max(0,Math.min(255,Math.round(Number.parseFloat(e))))}var rf=new Set(["px","pt","pc","in","cm","mm","q","em","rem","ex","ch","cap","ic","lh","rlh","vw","vh","vi","vb","vmin","vmax","svw","svh","svi","svb","svmin","svmax","lvw","lvh","lvi","lvb","lvmin","lvmax","dvw","dvh","dvi","dvb","dvmin","dvmax","cqw","cqh","cqi","cqb","cqmin","cqmax"]);function Gt(e){if(e.charCodeAt(0)===43)e=e.slice(1);if(e.includes(".")){let t=e.replace(/(\.\d*?)0+($|[eE])/,"$1$2");t=t.replace(/\.($|[eE])/,"$1"),e=t}if(e.startsWith("0.")&&e.length>2)e=e.slice(1);else if(e.startsWith("-0.")&&e.length>3)e=`-${e.slice(2)}`;if(e==="-0"||e==="-.0"||e==="-0.0")e="0";return e}function mo(e,t){let r=Gt(e);if((r==="0"||r==="-0")&&rf.has(t.toLowerCase()))return{value:"0",unit:""};return{value:r,unit:t}}function po(e){return Gt(e)}function yo(e,t){let r=Number.parseFloat(e);if(!Number.isFinite(r))return e;let n=t<0?0:t;return r.toFixed(n)}var bo=new Set(["color","background","background-color","border","border-color","border-top","border-top-color","border-right","border-right-color","border-bottom","border-bottom-color","border-left","border-left-color","border-block","border-block-color","border-block-start-color","border-block-end-color","border-inline","border-inline-color","border-inline-start-color","border-inline-end-color","outline","outline-color","caret-color","fill","stroke","flood-color","lighting-color","stop-color","column-rule","column-rule-color","text-decoration","text-decoration-color","text-emphasis","text-emphasis-color","text-shadow","box-shadow","accent-color","scrollbar-color"]);function xo(e){if(!e||e.type!=="Operator")return!1;let t=e.value;return t===":"||t===","||t==="/"}function nf(e){let t=e.children;if(!t)return;while(t.head&&t.head.data.type==="WhiteSpace")t.remove(t.head);while(t.tail&&t.tail.data.type==="WhiteSpace")t.remove(t.tail);let r=t.head;while(r){let n=r.next;if(r.data.type==="WhiteSpace"){let i=r.prev&&xo(r.prev.data),o=n&&xo(n.data);if(i||o)t.remove(r)}r=n}}function Cn(e,t={}){let r=t.floatPrecision??null,n=r===null?null:(i)=>yo(i,r);Ke(e,{enter(i,o,s){switch(i.type){case"Number":{let l=n?n(i.value):i.value;i.value=Gt(l);return}case"Percentage":{let l=n?n(i.value):i.value;i.value=po(l);return}case"Dimension":{let l=n?n(i.value):i.value,a=mo(l,i.unit);i.value=a.value,i.unit=a.unit;return}case"Hash":{let l=$n(`#${i.name}`).slice(1);if(i.name=l,o&&s&&this.declaration&&bo.has(this.declaration.property.toLowerCase())){let a=ho(`#${l}`);if(a&&a.length<l.length+1){let c={type:"Identifier",name:a,loc:i.loc};s.replace(o,s.createItem(c))}}return}case"Identifier":{if(!o||!s||!this.declaration)return;if(!bo.has(this.declaration.property.toLowerCase()))return;let l=fo(i.name);if(l&&l.length<i.name.length){let a={type:"Hash",name:l.slice(1),loc:i.loc};s.replace(o,s.createItem(a))}return}case"Url":return;case"Function":{let l=i.name.toLowerCase();if((l==="rgb"||l==="rgba")&&o&&s)i.__rgbReplaceCandidate=!0}}},leave(i,o,s){if(i.type==="Parentheses"||i.type==="Function"||i.type==="Value")nf(i);if(i.type==="Function"&&i.__rgbReplaceCandidate&&o&&s){let l=Q(i),a=go(l);if(a!==l&&a.startsWith("#")){let c={type:"Hash",name:a.slice(1),loc:i.loc};s.replace(o,s.createItem(c))}}}})}function of(e,t={}){let r=Wt(e,{context:"stylesheet"});return vo(r,t)}function Rn(e,t={}){let r=Wt(e,{context:"declarationList"});return vo(r,t)}function vo(e,t){if(t.comments===!1)et(e,{exclamation:!1});else if(t.comments==="first-exclamation")et(e,{exclamation:"first-exclamation"});else et(e,{exclamation:!0});return Cn(e,{floatPrecision:t.floatPrecision??null}),Kt(e),{css:Q(e),ast:e}}function Le(e,t,r){if(e.size>=1e4){let n=e.keys().next().value;if(n!==void 0)e.delete(n)}return e.set(t,r),r}var wo=new Map,_e=new Map;var kn={col:"col",row:"row",jc:"justify",ji:"justify-items",js:"justify-self",ai:"items",ac:"content",as:"self",wrap:"wrap",nowrap:"nowrap",c:"center",s:"start",e:"end",sb:"between",sa:"around",se:"evenly",st:"stretch",thin:"thin",extralight:"extralight",light:"light",normal:"normal",medium:"medium",semibold:"semibold",bold:"bold",extrabold:"extrabold",black:"black",t:"top",r:"right",b:"bottom",l:"left"},lf=/[%#()]/,cf=/^\d+(?:\.\d+)?(?:px|rem|em|vh|vw|dvh|dvw|svh|svw|lvh|lvw|ch|ex|lh|cap|ic|rlh|vi|vb|vmin|vmax|cqw|cqh|cqi|cqb|cqmin|cqmax|cm|mm|in|pt|pc|Q)$/,Eo=["calc","min","max","clamp","mod","rem","sin","cos","tan","asin","acos","atan","atan2","pow","sqrt","hypot","log","exp","round"],uf=new Set(Eo);function se(e){return lf.test(e)||cf.test(e)}function $o(e){if(!Eo.some((o)=>e.includes(`${o}(`)))return e;let t="",r=[],n=null,i=null;for(let o=0;o<e.length;o++){let s=e.charCodeAt(o);if(s>=48&&s<=57)n=o;else if(n!==null&&(s===37||s>=97&&s<=122||s>=65&&s<=90))n=o;else i=n,n=null;if(s===40){t+=e[o];let a=o;for(let u=o-1;u>=0;u--){let f=e.charCodeAt(u);if(f>=48&&f<=57||f>=97&&f<=122)a=u;else break}let c=e.slice(a,o);if(uf.has(c))r.unshift(!0);else if(r[0]&&c==="")r.unshift(!0);else r.unshift(!1);continue}if(s===41){t+=e[o],r.shift();continue}if(s===44&&r[0]){t+=", ";continue}if(s===32&&r[0]&&t.charCodeAt(t.length-1)===32)continue;if((s===43||s===45||s===42||s===47)&&r[0]){let a=t.trimEnd(),c=a.charCodeAt(a.length-1),u=a.charCodeAt(a.length-2),f=e.charCodeAt(o+1),d=c===43||c===45||c===42||c===47,h=f===43||f===45||f===42||f===47;if((c===101||c===69)&&u>=48&&u<=57)t+=e[o];else if(d||c===40||c===44)t+=e[o];else if(e.charCodeAt(o-1)===32)t+=`${e[o]} `;else if(c>=48&&c<=57||f>=48&&f<=57||c===41||f===40||h||i!==null&&i===o-1)t+=` ${e[o]} `;else t+=e[o];continue}t+=e[o]}return t}function Ht(e){if(!e.includes("_"))return $o(e);let t="",r=0;while(r<e.length){let n=e[r];if(n==="\\"&&e[r+1]==="_"){t+="_",r+=2;continue}if(n==="u"&&e.slice(r,r+4)==="url("){let i=r,o=1;r+=4;while(r<e.length&&o>0){if(e[r]==="(")o++;else if(e[r]===")")o--;r++}t+=e.slice(i,r);continue}t+=n==="_"?" ":n,r++}return $o(t)}function Co(e,t){if(t.length!==2)return null;let[r,n]=t;if(r!=="min"&&r!=="max")return null;return[se(n)?`${r}-${e}-[${n}]`:`${r}-${e}-${n}`]}var ff={flex:{expand:(e,t)=>{let r=t[e]||e;if(["col","row","col-reverse","row-reverse","wrap","nowrap","wrap-reverse"].includes(r))return`flex-${r}`;let n=e.match(/^(jc|ji|js|ai|ac|as)-(.+)$/);if(n){let i=t[n[1]]||n[1],o=t[n[2]]||n[2];return`${i}-${o}`}if(/^\d+$/.test(r)||["grow","shrink","auto","initial","none"].includes(r))return`flex-${r}`;return null}},grid:{expand:(e,t)=>{let r=t[e]||e;if(e.startsWith("cols-")||e.startsWith("rows-"))return`grid-${e}`;if(e.startsWith("flow-"))return`grid-${e}`;if(e.startsWith("gap-"))return e;return null}},text:{expand:(e,t)=>{let r=t[e]||e;if(se(r))return`text-[${r}]`;if(/^\d{3}$/.test(r))return{"100":"font-thin","200":"font-extralight","300":"font-light","400":"font-normal","500":"font-medium","600":"font-semibold","700":"font-bold","800":"font-extrabold","900":"font-black"}[r]||`font-[${r}]`;if(/^[a-z-]+$/i.test(r)&&!["xs","sm","base","lg","xl","2xl","3xl","4xl","5xl","6xl","7xl","8xl","9xl"].includes(r)){if(["white","black","inherit","current","transparent"].includes(r.toLowerCase()))return`text-${r}`;if(["red","blue","green","yellow","purple","pink","gray","slate","zinc","neutral","stone","orange","amber","lime","emerald","teal","cyan","sky","indigo","violet","fuchsia","rose"].includes(r.toLowerCase()))return`text-${r}-500`;return`font-[${r}]`}return`text-${r}`}},font:{expand:(e,t)=>{let r=t[e]||e,n=["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],i=["sans","serif","mono"];if(n.includes(r)||i.includes(r))return`font-${r}`;if(/^\d{3}$/.test(r))return{"100":"font-thin","200":"font-extralight","300":"font-light","400":"font-normal","500":"font-medium","600":"font-semibold","700":"font-bold","800":"font-extrabold","900":"font-black"}[r]||`font-[${r}]`;return`font-[${r}]`}},bg:{expand:(e,t)=>`bg-${t[e]||e}`},w:{expand:(e,t)=>{let r=t[e]||e;if(se(r))return`w-[${r}]`;return`w-${r}`},multiValue:(e)=>Co("w",e)},h:{expand:(e,t)=>{let r=t[e]||e;if(se(r))return`h-[${r}]`;return`h-${r}`},multiValue:(e)=>Co("h",e)},p:{expand:(e)=>`p-${e}`},px:{expand:(e)=>`px-${e}`},py:{expand:(e)=>`py-${e}`},pt:{expand:(e)=>`pt-${e}`},pr:{expand:(e)=>`pr-${e}`},pb:{expand:(e)=>`pb-${e}`},pl:{expand:(e)=>`pl-${e}`},m:{expand:(e)=>`m-${e}`},mx:{expand:(e)=>`mx-${e}`},my:{expand:(e)=>`my-${e}`},mt:{expand:(e)=>`mt-${e}`},mr:{expand:(e)=>`mr-${e}`},mb:{expand:(e)=>`mb-${e}`},ml:{expand:(e)=>`ml-${e}`},scroll:{expand:(e)=>{if(["x","y"].includes(e))return null;if(["auto","hidden","scroll","visible"].includes(e))return`overflow-${e}`;return null},multiValue:(e)=>{if(e.length===2){let[t,r]=e;if(["x","y"].includes(t)&&["auto","hidden","scroll","visible"].includes(r))return[`overflow-${t}-${r}`]}return null}},overflow:{expand:(e)=>`overflow-${e}`,multiValue:(e)=>{if(e.length===2){let[t,r]=e;if(["x","y"].includes(t))return[`overflow-${t}-${r}`]}return null}},border:{expand:(e)=>`border-${e}`},rounded:{expand:(e)=>`rounded-${e}`},shadow:{expand:(e)=>`shadow-${e}`},gap:{expand:(e)=>{if(e.startsWith("x-")||e.startsWith("y-"))return`gap-${e}`;return`gap-${e}`}},space:{expand:(e)=>`space-${e}`},opacity:{expand:(e)=>`opacity-${e}`},z:{expand:(e)=>`z-${e}`},inset:{expand:(e,t)=>{let r=t[e]||e;if(r.startsWith("x-")||r.startsWith("y-"))return`inset-${r}`;if(se(r))return`inset-[${r}]`;return`inset-${r}`}},top:{expand:(e)=>se(e)?`top-[${e}]`:`top-${e}`},right:{expand:(e)=>se(e)?`right-[${e}]`:`right-${e}`},bottom:{expand:(e)=>se(e)?`bottom-[${e}]`:`bottom-${e}`},left:{expand:(e)=>se(e)?`left-[${e}]`:`left-${e}`},duration:{expand:(e)=>`duration-${e}`},delay:{expand:(e)=>`delay-${e}`},ease:{expand:(e)=>`ease-${e}`},transition:{expand:(e)=>{if(["all","none","colors","opacity","shadow","transform"].includes(e))return`transition-${e}`;if(/^\d+$/.test(e))return`duration-${e}`;if(["linear","in","out","in-out","ease-linear","ease-in","ease-out","ease-in-out"].includes(e))return e.startsWith("ease-")?e:`ease-${e}`;return`transition-${e}`}},translate:{expand:(e)=>{if(e.startsWith("x-")||e.startsWith("y-")||e.startsWith("z-"))return`translate-${e}`;return`translate-${e}`}},rotate:{expand:(e)=>{if(e.startsWith("x-")||e.startsWith("y-")||e.startsWith("z-"))return`rotate-${e}`;return`rotate-${e}`}},scale:{expand:(e)=>{if(e.startsWith("x-")||e.startsWith("y-")||e.startsWith("z-"))return`scale-${e}`;return`scale-${e}`}},skew:{expand:(e)=>{if(e.startsWith("x-")||e.startsWith("y-"))return`skew-${e}`;return`skew-${e}`}},origin:{expand:(e)=>`origin-${e}`},cursor:{expand:(e)=>`cursor-${e}`},select:{expand:(e)=>`select-${e}`},resize:{expand:(e)=>`resize-${e}`},appearance:{expand:(e)=>`appearance-${e}`},pointer:{expand:(e)=>`pointer-events-${e}`},outline:{expand:(e)=>`outline-${e}`},ring:{expand:(e)=>`ring-${e}`},blur:{expand:(e)=>`blur-${e}`},brightness:{expand:(e)=>`brightness-${e}`},contrast:{expand:(e)=>`contrast-${e}`},grayscale:{expand:(e)=>`grayscale-${e}`},saturate:{expand:(e)=>`saturate-${e}`},sepia:{expand:(e)=>`sepia-${e}`},backdrop:{expand:(e)=>`backdrop-${e}`},aspect:{expand:(e)=>`aspect-${e}`},columns:{expand:(e)=>`columns-${e}`},break:{expand:(e)=>`break-${e}`},object:{expand:(e)=>`object-${e}`},overscroll:{expand:(e)=>`overscroll-${e}`},place:{expand:(e)=>`place-${e}`},items:{expand:(e)=>`items-${e}`},justify:{expand:(e)=>`justify-${e}`},content:{expand:(e)=>`content-${e}`},self:{expand:(e)=>`self-${e}`},order:{expand:(e)=>`order-${e}`},col:{expand:(e)=>`col-${e}`},row:{expand:(e)=>`row-${e}`},tracking:{expand:(e)=>`tracking-${e}`},leading:{expand:(e)=>`leading-${e}`},list:{expand:(e)=>`list-${e}`},decoration:{expand:(e)=>`decoration-${e}`},underline:{expand:(e)=>`underline-${e}`},accent:{expand:(e)=>`accent-${e}`},caret:{expand:(e)=>`caret-${e}`},"scroll-m":{expand:(e)=>`scroll-m-${e}`},"scroll-p":{expand:(e)=>`scroll-p-${e}`},snap:{expand:(e)=>`snap-${e}`},touch:{expand:(e)=>`touch-${e}`},will:{expand:(e)=>`will-change-${e}`},fill:{expand:(e)=>`fill-${e}`},stroke:{expand:(e)=>`stroke-${e}`},sr:{expand:(e)=>`sr-${e}`},invert:{expand:(e)=>`invert-${e}`},"hue-rotate":{expand:(e)=>se(e)?`hue-rotate-[${e}]`:`hue-rotate-${e}`},"drop-shadow":{expand:(e)=>`drop-shadow-${e}`},"backdrop-invert":{expand:(e)=>`backdrop-invert-${e}`},"backdrop-hue-rotate":{expand:(e)=>se(e)?`backdrop-hue-rotate-[${e}]`:`backdrop-hue-rotate-${e}`},animate:{expand:(e)=>`animate-${e}`},"forced-colors":{expand:(e)=>`forced-colors-${e}`}},kt=new Set(["sm","md","lg","xl","2xl","hover","focus","active","visited","disabled","enabled","focus-within","focus-visible","group-hover","group-focus","peer-hover","peer-focus","*","**","dark","first","last","odd","even","only","first-of-type","last-of-type","only-of-type","checked","indeterminate","default","required","valid","invalid","in-range","out-of-range","placeholder-shown","autofill","read-only","user-valid","user-invalid","inert","empty","before","after","selection","marker","file","first-letter","first-line","backdrop","details-content","print","motion-safe","motion-reduce","pointer-none","pointer-coarse","pointer-fine","any-pointer-none","any-pointer-coarse","any-pointer-fine","inverted-colors","noscript","starting","contrast-more","contrast-less","rtl","ltr","portrait","landscape","@sm","@md","@lg","@xl","@2xl"]),Ro=new WeakMap,ko=new WeakMap;function df(e){if(!e)return kn;let t=Ro.get(e);if(!t)t=e.aliases?{...kn,...e.aliases}:kn,Ro.set(e,t);return t}function hf(e){if(!e?.aliases)return"";let t=ko.get(e);if(t===void 0)t=JSON.stringify(e.aliases),ko.set(e,t);return t}function St(e){let t=[],r="",n=0;for(let i=0;i<e.length;i++){let o=e[i];if(o==="[")n++;else if(o==="]")n--;if(o===":"&&n===0)t.push(r),r="";else r+=o}return t.push(r),t}function gf(e,t){let r=`${e}:${t?.colonSyntax}:${hf(t)}`,n=_e.get(r);if(n)return n;let i=df(t);if(t?.colonSyntax===!0){let m=e.match(/^([a-z][a-z0-9-]*):([^[\]:]+)$/i);if(m){let[,p,y]=m;if(!kt.has(p)){if(se(y)){let v=[`${p}-[${y}]`];return Le(_e,r,v),v}let b=y.startsWith("-")?[`-${p}-${y.slice(1)}`]:[`${p}-${y}`];return Le(_e,r,b),b}}}let o="",s=e,l=!1;if(s.startsWith("-"))l=!0,s=s.slice(1);let a=s.match(/^((?:[a-z@][a-z0-9-]*:)+)(.+)$/i);if(a){if(a[1].slice(0,-1).split(":").every((y)=>kt.has(y)))o=a[1],s=a[2]}let c=s.match(/^([a-z][a-z0-9-]*)\[([^\]]*)\]$/i);if(!c||s.includes("-[")){let m=[e];return Le(_e,r,m),m}let[,u,f]=c,d=f.split(/\s+/).filter(Boolean);if(d.length===0)return Le(_e,r,[]),[];let h=ff[u.toLowerCase()];if(h?.multiValue){let m=h.multiValue(d,i);if(m){let p=m.map((y)=>`${o}${l?"-":""}${y}`);return Le(_e,r,p),p}}if(!h){let m=[];for(let p of d){let y=p.match(/^([a-z@][a-z0-9-]*):(.+)$/i),b="",v=p;if(y&&kt.has(y[1]))b=`${y[1]}:`,v=y[2];let R="";if(v.startsWith("-"))R="-",v=v.slice(1);let S="";if(v.endsWith("!"))S="!",v=v.slice(0,-1);let j=l?"-":"";if(se(v))m.push(`${o}${b}${S}${j}${R}${u}-[${v}]`);else m.push(`${o}${b}${S}${j}${R}${u}-${v}`)}return Le(_e,r,m),m}let g=[];for(let m of d){let p=m.match(/^([a-z@][a-z0-9-]*):(.+)$/i),y="",b=m;if(p&&kt.has(p[1]))y=`${p[1]}:`,b=p[2];let v="";if(b.startsWith("-"))v="-",b=b.slice(1);let R="";if(b.endsWith("!"))R="!",b=b.slice(0,-1);let S=h.expand(b,i);if(S){let j=l?"-":"";g.push(`${o}${y}${R}${j}${v}${S}`)}}return Le(_e,r,g),g}function mf(e,t){let r=new Set;if(!t?.enabled)return r;let n=t.prefix??"tc-",i=["class","className","style","id","name","type","value","href","src","alt","title","role","for","action","method","target","rel","placeholder","disabled","checked","selected","readonly","required","maxlength","minlength","pattern","autocomplete","autofocus","tabindex","contenteditable","draggable","spellcheck","lang","dir","hidden","slot","part","is","key","ref"],o=t.ignoreAttributes||i,s=(c)=>{let u=c.includes(":")?c.split(":").pop():c;for(let f of o)if(f.endsWith("*")){if(u.startsWith(f.slice(0,-1)))return!0}else if(u===f)return!0;if(u.startsWith("on"))return!0;if(u.startsWith("data-")||u.startsWith("aria-"))return!0;return!1},l=/<([a-z][a-z0-9-]*)\s([^>]*)>/gi,a;while((a=l.exec(e))!==null){let c=a[2],u=/([a-z][a-z0-9-:]*)(?:=["']([^"']*)["'])?(?=\s|$|\/?>)/gi,f;while((f=u.exec(c))!==null){let d=f[1],h=f[2];if(n){if(!d.startsWith(n))continue;d=d.slice(n.length)}if(s(d))continue;let g="",m=d,p=d.match(/^((?:[a-z@][a-z0-9-]*:)+)([a-z][a-z0-9-]*)$/i);if(p){if(p[1].slice(0,-1).split(":").every((v)=>kt.has(v)))g=p[1],m=p[2]}if(h!==void 0){let y=h.split(/\s+/).filter(Boolean);for(let b of y){let v=`${g}${m}-${b}`;if(So(v.replace(/^(?:[a-z@][a-z0-9-]*:)+/gi,"")))r.add(v)}}else{let y=`${g}${m}`;if(So(m))r.add(y)}}}return r}function So(e){if(!e||e.length===0)return!1;return/^[a-z][a-z0-9-/]*(?:-\[[^\]]+\])?$/i.test(e)}function Sn(e){let t=wo.get(e);if(t)return t;let r=vf(e);return r.base=xf(r),Le(wo,e,r),r}var pf=new Set(["bg","text","border","ring","placeholder","divide","accent","caret","fill","stroke","outline","decoration","shadow","ring-offset","from","via","to"]),yf=/^(.+?)\/(\d+|\[\d*\.?\d+\])$/,bf=/^(\d+)\/(\d+)$/;function Ao(e){let t=!1;for(let r=0;r<e.length;r++){let n=e.charCodeAt(r);if(n===45){if(!t||r+1>=e.length)return;return[e.slice(0,r),e.slice(r+1)]}if(n>=97&&n<=122){t=!0;continue}return}return}function xf(e){let t=e.raw;for(let r of e.variants)if(t.startsWith(`${r}:`))t=t.slice(r.length+1);if(e.important){if(t.charCodeAt(0)===33)t=t.slice(1);else if(t.charCodeAt(t.length-1)===33)t=t.slice(0,-1)}return t}function vf(e){let t=!1,r=e;if(e.startsWith("!"))t=!0,r=e.slice(1);else if(e.endsWith("!")&&e.length>1)t=!0,r=e.slice(0,-1);{let h=St(r),g=h[h.length-1],m=!1;if(g.charCodeAt(0)===33&&g.length>1)m=!0,g=g.slice(1);let p=g.match(/^\[([a-z-]+):(.+)\]$/);if(p)return{raw:e,variants:h.slice(0,-1),utility:p[1],value:Ht(p[2]),important:t||m,arbitrary:!0}}let n=r.match(/^((?:[a-z-]+:)*)(-?[a-z-]+?)-\[([^\]]+)\]\/\[([^\]]+)\]$/);if(n){let[,h,g,m,p]=n,y=h?h.split(":").filter(Boolean):[],b=g.startsWith("-"),v=b?g.slice(1):g,R=Ht(m);if(b)R=R.startsWith("-")?R:`-${R}`;return{raw:e,variants:y,utility:v,value:`${R}/${p}`,important:t,arbitrary:!0,modifierArbitrary:!0}}let i=r.match(/^((?:[a-z-]+:)*)(-?[a-z-]+?)-\[(.+)\]$/);if(i){let h=i[1],g=h?h.split(":").filter(Boolean):[],m=i[2],p=m.startsWith("-");if(p)m=m.slice(1);let y=Ht(i[3]),b,v=y.match(/^(color|length|url|number|percentage|position|line-width|absolute-size|relative-size|image|angle|time|flex|string|family-name):(.*)/i);if(v)b=v[1].toLowerCase(),y=v[2];if(p)y=y.startsWith("-")?y:`-${y}`;return{raw:e,variants:g,utility:m,value:y,important:t,arbitrary:!0,typeHint:b}}let o=St(r),s=o[o.length-1],l=o.slice(0,-1);if(s.startsWith("!")&&s.length>1)t=!0,s=s.slice(1);else if(s.endsWith("!")&&s.length>1)t=!0,s=s.slice(0,-1);if(l.length>0)r=`${l.join(":")}:${s}`;else r=s;if(["inline-block","inline-flex","inline-grid","flex-row","flex-row-reverse","flex-col","flex-col-reverse","flex-wrap","flex-wrap-reverse","flex-nowrap","flex-1","flex-auto","flex-initial","flex-none","flex-grow","flex-shrink"].includes(s))return{raw:e,variants:l,utility:s,value:void 0,important:t,arbitrary:!1};let c=s.match(/^([a-z-]+?)-\[(.+?)\]$/);if(c){let h=Ht(c[2]),g,m=h.match(/^(color|length|url|number|percentage|position|line-width|absolute-size|relative-size|image|angle|time|flex|string|family-name):(.*)/i);if(m)g=m[1].toLowerCase(),h=m[2];return{raw:e,variants:l,utility:c[1],value:h,important:t,arbitrary:!0,typeHint:g}}let u=["inset-x","inset-y","border-t","border-r","border-b","border-l","border-x","border-y","border-s","border-e","grid-cols","grid-rows","grid-flow","auto-cols","auto-rows","col-span","row-span","col-start","col-end","row-start","row-end","translate-x","translate-y","translate-z","scale-x","scale-y","scale-z","rotate-x","rotate-y","rotate-z","skew-x","skew-y","scroll-m","scroll-mx","scroll-my","scroll-mt","scroll-mr","scroll-mb","scroll-ml","scroll-p","scroll-px","scroll-py","scroll-pt","scroll-pr","scroll-pb","scroll-pl","gap-x","gap-y","overflow-x","overflow-y","min-w","max-w","min-h","max-h","space-x","space-y","ring-offset","underline-offset","outline-offset","backdrop-blur","backdrop-brightness","backdrop-contrast","backdrop-grayscale","backdrop-invert","backdrop-saturate","backdrop-sepia","hue-rotate","drop-shadow","mask-clip","flex-grow","flex-shrink","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","perspective-origin","justify-self","form-input","form-textarea","form-select","form-multiselect","form-checkbox","form-radio","mix-blend","bg-blend","line-clamp","border-spacing","border-spacing-x","border-spacing-y","rounded-s","rounded-e","rounded-ss","rounded-se","rounded-es","rounded-ee","rounded-t","rounded-r","rounded-b","rounded-l","rounded-tl","rounded-tr","rounded-bl","rounded-br","border-opacity","ring-opacity","stroke-dasharray","stroke-dashoffset","animate-iteration","animate-duration","animate-delay","text-emphasis-color","text-emphasis","text-shadow","word-spacing","column-gap","column-rule","font-stretch","list-image"];if(s==="divide-x"||s==="divide-y")return{raw:e,variants:l,utility:s,value:void 0,important:t,arbitrary:!1};let f=s.match(/^(divide-[xy])-(.+)$/);if(f)return{raw:e,variants:l,utility:f[1],value:f[2],important:t,arbitrary:!1};for(let h of u)if(s.startsWith(`${h}-`))return{raw:e,variants:l,utility:h,value:s.slice(h.length+1),important:t,arbitrary:!1};if(s.startsWith("-")){let h=s.slice(1);for(let m of u)if(h.startsWith(`${m}-`))return{raw:e,variants:l,utility:m,value:`-${h.slice(m.length+1)}`,important:t,arbitrary:!1};let g=Ao(h);if(g)return{raw:e,variants:l,utility:g[0],value:`-${g[1]}`,important:t,arbitrary:!1};return{raw:e,variants:l,utility:h,value:void 0,important:t,arbitrary:!1}}let d=Ao(s);if(d){let[h,g]=d,m=g.match(yf);if(m&&pf.has(h))return{raw:e,variants:l,utility:h,value:`${m[1]}/${m[2]}`,important:t,arbitrary:!1};let p=g.match(bf);if(p)return{raw:e,variants:l,utility:h,value:`${p[1]}/${p[2]}`,important:t,arbitrary:!1};return{raw:e,variants:l,utility:h,value:g,important:t,arbitrary:!1}}return{raw:e,variants:l,utility:s,value:void 0,important:t,arbitrary:!1}}function wf(e){return/^\[[a-z-]+:[^\]]+\]$/i.test(e)}function $f(e){if(!e)return!1;if(e==="*"||e==="**")return!0;if(e.startsWith("[")&&e.endsWith("]"))return e.length>2;return/^(?:@[a-z0-9]|[a-z])[a-z0-9.-]*(?:\[[^\]]+\])?(?:\/[\w-]+)?$/i.test(e)}function Cf(e,t){let r=e;if(r.startsWith("!"))r=r.slice(1);if(r.endsWith("!"))r=r.slice(0,-1);if(!r)return!1;if(wf(r))return!0;if(t?.enabled&&/^[a-z]+\[[^\]]+\]$/i.test(r))return!0;return/^[-@]?[a-z][a-z0-9.-]*(?:-\[[^\]]+\])?(?:\/(?:[\w.]+|[\w-]+|\[[^\]]+\]))?$/i.test(r)}function To(e,t){if(!e||e.length===0)return!1;if(t?.colonSyntax&&/^[a-z]+:[^[\]:]+$/i.test(e))return!0;let r=e;if(r.startsWith("!"))r=r.slice(1);if(r.endsWith("!"))r=r.slice(0,-1);if(!r)return!1;let n=St(r);for(let i=0;i<n.length-1;i++)if(!$f(n[i]))return!1;return Cf(n[n.length-1],t)}function Yt(e){let t=[],r="",n=0;for(let i of e)if(i==="[")n++,r+=i;else if(i==="]")n--,r+=i;else if(/\s/.test(i)&&n===0){if(r)t.push(r),r=""}else r+=i;if(r)t.push(r);return t}function Jt(e,t){let r=new Set,n=[/class(?:Name)?=["']([^"']+)["']/g,/class(?:Name)?=\{["']([^"']+)["']\}/g,/class(?:Name)?=\{`([^`]+)`\}/g];for(let o of n){let s;while((s=o.exec(e))!==null){let l=s[1],a=l.match(/["']([^"']+)["']/g);if(a)for(let f of a){let d=f.replace(/["']/g,""),h=Yt(d);for(let g of h)qt(r,g,t)}let c=l.replace(/["'`]/g," ").replace(/\$\{[^}]+\}/g," "),u=Yt(c).filter((f)=>To(f,t?.bracketSyntax));for(let f of u)qt(r,f,t)}}let i=[/class(?:Name|:list)?=\{([^{}]*(?:\{[^{}]*\}[^{}]*)*)\}/g,/:class="([^"]*)"/g,/:class='([^']*)'/g,/\bx-class="([^"]*)"/g,/\bx-class='([^']*)'/g];for(let o of i){let s;while((s=o.exec(e))!==null){let l=s[1].match(/["'`]([^"'`]+)["'`]/g);if(l)for(let a of l){let c=a.replace(/["'`]/g,"").replace(/\$\{[^}]+\}/g," ");for(let u of Yt(c))qt(r,u,t)}}}if(t?.codeStrings?.enabled!==!1)for(let o of No(e,t?.bracketSyntax))qt(r,o,t);if(t?.attributify?.enabled){let o=mf(e,t.attributify);for(let s of o)r.add(s)}return r}function Rf(e,t){if(!/[-:/[]/.test(e))return!1;if(e.startsWith("-")&&!/^-[a-z]/i.test(e))return!1;return To(e,t)}function No(e,t){let r=new Set,n=e.length,i=0,o=/[<>]/g,s=o.exec(e),l=-1,a=-1,c="";while(i<n){let u=e[i];if(u==="/"&&e[i+1]==="/"){let p=e.indexOf(`
92
92
  `,i);i=p===-1?n:p;continue}if(u==="/"&&e[i+1]==="*"){let p=e.indexOf("*/",i+2);i=p===-1?n:p+2;continue}if(u==="/"&&(!/[\w$)\]]/.test(c)||Sf(e,i))){let p=Af(e,i);if(p!==-1){i=p,c=")";continue}}if(u!=='"'&&u!=="'"&&u!=="`"){if(!/\s/.test(u))c=u;i++;continue}c=")";while(s&&s.index<i){if(s[0]==="<")l=s.index;else a=s.index;s=o.exec(e)}let f=Tf(e,i,l,a),d=u==="`",h=i+1,g="",m=!1;while(h<n){let p=e[h];if(p==="\\"){g+=e[h+1]??"",h+=2;continue}if(p===u){m=!0,h++;break}if(!d&&p===`
93
93
  `)break;if(d&&p==="$"&&e[h+1]==="{"){let y=1;h+=2;let b=h;while(h<n&&y>0){if(e[h]==="{")y++;else if(e[h]==="}")y--;h++}for(let v of No(e.slice(b,h-1),t))r.add(v);g+=" ";continue}g+=p,h++}if(m){if(f){for(let p of g.match(Ef)??[])r.add(p);i=h;continue}for(let p of Yt(g))if(Rf(p,t))r.add(p);i=h}else i++}return r}var kf=new Set(["return","typeof","case","in","of","delete","void","throw","new","else","do","yield","await","instanceof"]);function Sf(e,t){let r=t;while(r>0&&/\s/.test(e[r-1]))r--;let n=r;while(n>0&&/[\w$]/.test(e[n-1]))n--;if(n===r||!kf.has(e.slice(n,r)))return!1;let i=n;while(i>0&&/\s/.test(e[i-1]))i--;return e[i-1]!=="."}function Af(e,t){let r=!1;for(let n=t+1;n<e.length;n++){let i=e[n];if(i===`
94
94
  `)return-1;if(i==="\\"){n++;continue}if(i==="[")r=!0;else if(i==="]")r=!1;else if(i==="/"&&!r){let o=n+1;while(o<e.length&&/[a-z]/i.test(e[o]))o++;return o}}return-1}var Ef=/(?<![\w-])i-[a-z0-9]+(?:-[a-z0-9]+)+(?![\w-])/gi;function Tf(e,t,r,n){if(r<=n)return!1;let i=e[r+1];if(!i||!/[A-Za-z!/]/.test(i))return!1;let o=t-1;while(o>r&&/\s/.test(e[o]))o--;if(e[o]==="=")return!0;if(e[o]==="{"){o--;while(o>r&&/\s/.test(e[o]))o--;return e[o]==="="}return!1}function qt(e,t,r){if(r?.bracketSyntax?.enabled){let n=/^[a-z]+\[[^\]]+\]$/i.test(t),i=r.bracketSyntax.colonSyntax&&/^[a-z]+:[^[\]]+$/i.test(t);if(n||i){let o=gf(t,r.bracketSyntax);for(let s of o)e.add(s);return}}e.add(t)}var Xt={getCSS:()=>`
@@ -354,7 +354,7 @@ video {
354
354
  [hidden] {
355
355
  display: none;
356
356
  }
357
- `.trim()};var ht={content:["./src/**/*.{html,js,ts,jsx,tsx,stx}"],output:"./dist/styles.css",minify:!0,watch:!1,theme:{colors:{inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"oklch(98.4% 0.003 247.858)",100:"oklch(96.8% 0.007 247.896)",200:"oklch(92.9% 0.013 255.508)",300:"oklch(86.9% 0.022 252.894)",400:"oklch(70.4% 0.04 256.788)",500:"oklch(55.4% 0.046 257.417)",600:"oklch(44.6% 0.043 257.281)",700:"oklch(37.2% 0.044 257.287)",800:"oklch(27.9% 0.041 260.031)",900:"oklch(20.8% 0.042 265.755)",950:"oklch(12.9% 0.042 264.695)"},gray:{50:"oklch(98.5% 0.002 247.839)",100:"oklch(96.7% 0.003 264.542)",200:"oklch(92.8% 0.006 264.531)",300:"oklch(87.2% 0.01 258.338)",400:"oklch(70.7% 0.022 261.325)",500:"oklch(55.1% 0.027 264.364)",600:"oklch(44.6% 0.03 256.802)",700:"oklch(37.3% 0.034 259.733)",800:"oklch(27.8% 0.033 256.848)",900:"oklch(21% 0.034 264.665)",950:"oklch(13% 0.028 261.692)"},zinc:{50:"oklch(98.5% 0 0)",100:"oklch(96.7% 0.001 286.375)",200:"oklch(92% 0.004 286.32)",300:"oklch(87.1% 0.006 286.286)",400:"oklch(70.5% 0.015 286.067)",500:"oklch(55.2% 0.016 285.938)",600:"oklch(44.2% 0.017 285.786)",700:"oklch(37% 0.013 285.805)",800:"oklch(27.4% 0.006 286.033)",900:"oklch(21% 0.006 285.885)",950:"oklch(14.1% 0.005 285.823)"},neutral:{50:"oklch(98.5% 0 0)",100:"oklch(97% 0 0)",200:"oklch(92.2% 0 0)",300:"oklch(87% 0 0)",400:"oklch(70.8% 0 0)",500:"oklch(55.6% 0 0)",600:"oklch(43.9% 0 0)",700:"oklch(37.1% 0 0)",800:"oklch(26.9% 0 0)",900:"oklch(20.5% 0 0)",950:"oklch(14.5% 0 0)"},stone:{50:"oklch(98.5% 0.001 106.423)",100:"oklch(97% 0.001 106.424)",200:"oklch(92.3% 0.003 48.717)",300:"oklch(86.9% 0.005 56.366)",400:"oklch(70.9% 0.01 56.259)",500:"oklch(55.3% 0.013 58.071)",600:"oklch(44.4% 0.011 73.639)",700:"oklch(37.4% 0.01 67.558)",800:"oklch(26.8% 0.007 34.298)",900:"oklch(21.6% 0.006 56.043)",950:"oklch(14.7% 0.004 49.25)"},red:{50:"oklch(97.1% 0.013 17.38)",100:"oklch(93.6% 0.032 17.717)",200:"oklch(88.5% 0.062 18.334)",300:"oklch(80.8% 0.114 19.571)",400:"oklch(70.4% 0.191 22.216)",500:"oklch(63.7% 0.237 25.331)",600:"oklch(57.7% 0.245 27.325)",700:"oklch(50.5% 0.213 27.518)",800:"oklch(44.4% 0.177 26.899)",900:"oklch(39.6% 0.141 25.723)",950:"oklch(25.8% 0.092 26.042)"},orange:{50:"oklch(98% 0.016 73.684)",100:"oklch(95.4% 0.038 75.164)",200:"oklch(90.1% 0.076 70.697)",300:"oklch(83.7% 0.128 66.29)",400:"oklch(75% 0.183 55.934)",500:"oklch(70.5% 0.213 47.604)",600:"oklch(64.6% 0.222 41.116)",700:"oklch(55.3% 0.195 38.402)",800:"oklch(47% 0.157 37.304)",900:"oklch(40.8% 0.123 38.172)",950:"oklch(26.6% 0.079 36.259)"},amber:{50:"oklch(98.7% 0.022 95.277)",100:"oklch(96.2% 0.059 95.617)",200:"oklch(92.4% 0.12 95.746)",300:"oklch(87.9% 0.169 91.605)",400:"oklch(82.8% 0.189 84.429)",500:"oklch(76.9% 0.188 70.08)",600:"oklch(66.6% 0.179 58.318)",700:"oklch(55.5% 0.163 48.998)",800:"oklch(47.3% 0.137 46.201)",900:"oklch(41.4% 0.112 45.904)",950:"oklch(27.9% 0.077 45.635)"},yellow:{50:"oklch(98.7% 0.026 102.212)",100:"oklch(97.3% 0.071 103.193)",200:"oklch(94.5% 0.129 101.54)",300:"oklch(90.5% 0.182 98.111)",400:"oklch(85.2% 0.199 91.936)",500:"oklch(79.5% 0.184 86.047)",600:"oklch(68.1% 0.162 75.834)",700:"oklch(55.4% 0.135 66.442)",800:"oklch(47.6% 0.114 61.907)",900:"oklch(42.1% 0.095 57.708)",950:"oklch(28.6% 0.066 53.813)"},lime:{50:"oklch(98.6% 0.031 120.757)",100:"oklch(96.7% 0.067 122.328)",200:"oklch(93.8% 0.127 124.321)",300:"oklch(89.7% 0.196 126.665)",400:"oklch(84.1% 0.238 128.85)",500:"oklch(76.8% 0.233 130.85)",600:"oklch(64.8% 0.2 131.684)",700:"oklch(53.2% 0.157 131.589)",800:"oklch(45.3% 0.124 130.933)",900:"oklch(40.5% 0.101 131.063)",950:"oklch(27.4% 0.072 132.109)"},green:{50:"oklch(98.2% 0.018 155.826)",100:"oklch(96.2% 0.044 156.743)",200:"oklch(92.5% 0.084 155.995)",300:"oklch(87.1% 0.15 154.449)",400:"oklch(79.2% 0.209 151.711)",500:"oklch(72.3% 0.219 149.579)",600:"oklch(62.7% 0.194 149.214)",700:"oklch(52.7% 0.154 150.069)",800:"oklch(44.8% 0.119 151.328)",900:"oklch(39.3% 0.095 152.535)",950:"oklch(26.6% 0.065 152.934)"},emerald:{50:"oklch(97.9% 0.021 166.113)",100:"oklch(95% 0.052 163.051)",200:"oklch(90.5% 0.093 164.15)",300:"oklch(84.5% 0.143 164.978)",400:"oklch(76.5% 0.177 163.223)",500:"oklch(69.6% 0.17 162.48)",600:"oklch(59.6% 0.145 163.225)",700:"oklch(50.8% 0.118 165.612)",800:"oklch(43.2% 0.095 166.913)",900:"oklch(37.8% 0.077 168.94)",950:"oklch(26.2% 0.051 172.552)"},teal:{50:"oklch(98.4% 0.014 180.72)",100:"oklch(95.3% 0.051 180.801)",200:"oklch(91% 0.096 180.426)",300:"oklch(85.5% 0.138 181.071)",400:"oklch(77.7% 0.152 181.912)",500:"oklch(70.4% 0.14 182.503)",600:"oklch(60% 0.118 184.704)",700:"oklch(51.1% 0.096 186.391)",800:"oklch(43.7% 0.078 188.216)",900:"oklch(38.6% 0.063 188.416)",950:"oklch(27.7% 0.046 192.524)"},cyan:{50:"oklch(98.4% 0.019 200.873)",100:"oklch(95.6% 0.045 203.388)",200:"oklch(91.7% 0.08 205.041)",300:"oklch(86.5% 0.127 207.078)",400:"oklch(78.9% 0.154 211.53)",500:"oklch(71.5% 0.143 215.221)",600:"oklch(60.9% 0.126 221.723)",700:"oklch(52% 0.105 223.128)",800:"oklch(45% 0.085 224.283)",900:"oklch(39.8% 0.07 227.392)",950:"oklch(30.2% 0.056 229.695)"},sky:{50:"oklch(97.7% 0.013 236.62)",100:"oklch(95.1% 0.026 236.824)",200:"oklch(90.1% 0.058 230.902)",300:"oklch(82.8% 0.111 230.318)",400:"oklch(74.6% 0.16 232.661)",500:"oklch(68.5% 0.169 237.323)",600:"oklch(58.8% 0.158 241.966)",700:"oklch(50% 0.134 242.749)",800:"oklch(44.3% 0.11 240.79)",900:"oklch(39.1% 0.09 240.876)",950:"oklch(29.3% 0.066 243.157)"},blue:{50:"oklch(97% 0.014 254.604)",100:"oklch(93.2% 0.032 255.585)",200:"oklch(88.2% 0.059 254.128)",300:"oklch(80.9% 0.105 251.813)",400:"oklch(70.7% 0.165 254.624)",500:"oklch(62.3% 0.214 259.815)",600:"oklch(54.6% 0.245 262.881)",700:"oklch(48.8% 0.243 264.376)",800:"oklch(42.4% 0.199 265.638)",900:"oklch(37.9% 0.146 265.522)",950:"oklch(28.2% 0.091 267.935)"},indigo:{50:"oklch(96.2% 0.018 272.314)",100:"oklch(93% 0.034 272.788)",200:"oklch(87% 0.065 274.039)",300:"oklch(78.5% 0.115 274.713)",400:"oklch(67.3% 0.182 276.935)",500:"oklch(58.5% 0.233 277.117)",600:"oklch(51.1% 0.262 276.966)",700:"oklch(45.7% 0.24 277.023)",800:"oklch(39.8% 0.195 277.366)",900:"oklch(35.9% 0.144 278.697)",950:"oklch(25.7% 0.09 281.288)"},violet:{50:"oklch(96.9% 0.016 293.756)",100:"oklch(94.3% 0.029 294.588)",200:"oklch(89.4% 0.057 293.283)",300:"oklch(81.1% 0.111 293.571)",400:"oklch(70.2% 0.183 293.541)",500:"oklch(60.6% 0.25 292.717)",600:"oklch(54.1% 0.281 293.009)",700:"oklch(49.1% 0.27 292.581)",800:"oklch(43.2% 0.232 292.759)",900:"oklch(38% 0.189 293.745)",950:"oklch(28.3% 0.141 291.089)"},purple:{50:"oklch(97.7% 0.014 308.299)",100:"oklch(94.6% 0.033 307.174)",200:"oklch(90.2% 0.063 306.703)",300:"oklch(82.7% 0.119 306.383)",400:"oklch(71.4% 0.203 305.504)",500:"oklch(62.7% 0.265 303.9)",600:"oklch(55.8% 0.288 302.321)",700:"oklch(49.6% 0.265 301.924)",800:"oklch(43.8% 0.218 303.724)",900:"oklch(38.1% 0.176 304.987)",950:"oklch(29.1% 0.149 302.717)"},fuchsia:{50:"oklch(97.7% 0.017 320.058)",100:"oklch(95.2% 0.037 318.852)",200:"oklch(90.3% 0.076 319.62)",300:"oklch(83.3% 0.145 321.434)",400:"oklch(74% 0.238 322.16)",500:"oklch(66.7% 0.295 322.15)",600:"oklch(59.1% 0.293 322.896)",700:"oklch(51.8% 0.253 323.949)",800:"oklch(45.2% 0.211 324.591)",900:"oklch(40.1% 0.17 325.612)",950:"oklch(29.3% 0.136 325.661)"},pink:{50:"oklch(97.1% 0.014 343.198)",100:"oklch(94.8% 0.028 342.258)",200:"oklch(89.9% 0.061 343.231)",300:"oklch(82.3% 0.12 346.018)",400:"oklch(71.8% 0.202 349.761)",500:"oklch(65.6% 0.241 354.308)",600:"oklch(59.2% 0.249 0.584)",700:"oklch(52.5% 0.223 3.958)",800:"oklch(45.9% 0.187 3.815)",900:"oklch(40.8% 0.153 2.432)",950:"oklch(28.4% 0.109 3.907)"},rose:{50:"oklch(96.9% 0.015 12.422)",100:"oklch(94.1% 0.03 12.58)",200:"oklch(89.2% 0.058 10.001)",300:"oklch(81% 0.117 11.638)",400:"oklch(71.2% 0.194 13.428)",500:"oklch(64.5% 0.246 16.439)",600:"oklch(58.6% 0.253 17.585)",700:"oklch(51.4% 0.222 16.935)",800:"oklch(45.5% 0.188 13.697)",900:"oklch(41% 0.159 10.272)",950:"oklch(27.1% 0.105 12.094)"}},spacing:{0:"0",px:"1px",0.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",11:"2.75rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},fontSize:{xs:["0.75rem",{lineHeight:"1rem"}],sm:["0.875rem",{lineHeight:"1.25rem"}],base:["1rem",{lineHeight:"1.5rem"}],lg:["1.125rem",{lineHeight:"1.75rem"}],xl:["1.25rem",{lineHeight:"1.75rem"}],"2xl":["1.5rem",{lineHeight:"2rem"}],"3xl":["1.875rem",{lineHeight:"2.25rem"}],"4xl":["2.25rem",{lineHeight:"2.5rem"}],"5xl":["3rem",{lineHeight:"1"}],"6xl":["3.75rem",{lineHeight:"1"}],"7xl":["4.5rem",{lineHeight:"1"}],"8xl":["6rem",{lineHeight:"1"}],"9xl":["8rem",{lineHeight:"1"}]},fontFamily:{sans:["ui-sans-serif","system-ui","sans-serif"],serif:["ui-serif","Georgia","serif"],mono:["ui-monospace","monospace"]},screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},containers:{"3xs":"16rem","2xs":"18rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem"},borderRadius:{none:"0",xs:"0.125rem",sm:"0.25rem",DEFAULT:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem","4xl":"2rem",full:"9999px"},boxShadow:{"2xs":"0 1px rgb(0 0 0 / 0.05)",xs:"0 1px 2px 0 rgb(0 0 0 / 0.05)",sm:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",DEFAULT:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",md:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",lg:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",xl:"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)","2xl":"0 25px 50px -12px rgb(0 0 0 / 0.25)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",none:"none"}},shortcuts:{},rules:[],attributify:{enabled:!1,prefix:"tc-",ignoreAttributes:["class","className","style","id","name","type","value","href","src","alt","title","role","for","action","method","target","rel","placeholder","disabled","checked","selected","readonly","required","maxlength","minlength","pattern","autocomplete","autofocus","tabindex","contenteditable","draggable","spellcheck","lang","dir","hidden","slot","part","is","key","ref"]},bracketSyntax:{enabled:!1,colonSyntax:!1,aliases:{col:"col",row:"row",jc:"justify",ji:"justify-items",js:"justify-self",ai:"items",ac:"content",as:"self",wrap:"wrap",nowrap:"nowrap",c:"center",s:"start",e:"end",sb:"between",sa:"around",se:"evenly",st:"stretch"}},variants:{responsive:!0,hover:!0,focus:!0,active:!0,disabled:!0,dark:!0,light:!0,group:!0,peer:!0,"*":!0,"**":!0,in:!0,before:!0,after:!0,marker:!0,"first-letter":!0,"first-line":!0,backdrop:!0,"details-content":!0,first:!0,last:!0,odd:!0,even:!0,"first-of-type":!0,"last-of-type":!0,visited:!0,checked:!0,"focus-within":!0,"focus-visible":!0,placeholder:!0,selection:!0,file:!0,required:!0,valid:!0,invalid:!0,"read-only":!0,autofill:!0,"user-valid":!0,"user-invalid":!0,"in-range":!0,"out-of-range":!0,"placeholder-shown":!0,open:!0,closed:!0,empty:!0,enabled:!0,only:!0,target:!0,indeterminate:!0,default:!0,optional:!0,inert:!0,"only-of-type":!0,aria:!0,data:!0,has:!0,not:!0,supports:!0,print:!0,landscape:!0,portrait:!0,"forced-colors":!0,"pointer-none":!0,"pointer-coarse":!0,"pointer-fine":!0,"any-pointer-none":!0,"any-pointer-coarse":!0,"any-pointer-fine":!0,"inverted-colors":!0,noscript:!0,starting:!0,rtl:!0,ltr:!0,"motion-safe":!0,"motion-reduce":!0,"contrast-more":!0,"contrast-less":!0},safelist:[],blocklist:[],preflights:[Xt],presets:[],cssVariables:!1},gi=null;async function ia(){if(!gi){await Promise.resolve().then(() => na());gi=await ra({name:"css",defaultConfig:ht})}return gi}var mi=ht;function Oe(e){if(e.indexOf("/")===-1)return-1;let r=0,n=0,i="";for(let o=0;o<e.length;o++){let s=e[o];if(s==="\\"){o++;continue}if(i){if(s===i)i="";continue}if(s==='"'||s==="'"){i=s;continue}if(s==="(")r++;else if(s===")")r=Math.max(0,r-1);else if(s==="[")n++;else if(s==="]")n=Math.max(0,n-1);else if(s==="/"&&r===0&&n===0)return o}return-1}var _r="0 0 #0000",Uh=["inset-shadow","inset-ring-shadow","ring-offset-shadow","ring-shadow","shadow"],V=Uh.map((e)=>`var(--tc-${e}, 0 0 #0000)`).join(", ");var Lr={"0":"0",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",none:"none",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",screen:"100vw"},Vh={...Lr,prose:"65ch"};function aa(e,t,r){let n=e.value;if(t[n])return{[r]:t[n]};if(e.arbitrary)return{[r]:n};if(/^\d+$/.test(n)){let i=Number.parseInt(n,10);if(i>=0&&i<=100)return{[r]:`${i/100}`}}return}var Wh=(e,t)=>{if(e.utility==="min-w"&&e.value){let r=pe(e,t,Lr);return r!==void 0?{"min-width":r}:void 0}if(e.utility==="max-w"&&e.value){let r=pe(e,t,Vh);return r!==void 0?{"max-width":r}:void 0}if(e.utility==="min-h"&&e.value){let r={...Lr,screen:"100vh"},n=pe(e,t,r);return n!==void 0?{"min-height":n}:void 0}if(e.utility==="max-h"&&e.value){let r={...Lr,screen:"100vh"},n=pe(e,t,r);return n!==void 0?{"max-height":n}:void 0}},zh=(e,t)=>{if(e.utility==="ring"){if(e.value==="inset")return{"--tc-ring-inset":"inset"};if(e.value){let i=z(e.value,t,e.modifierArbitrary);if(i)return{"--tc-ring-color":i}}let r={0:"0",1:"1px",2:"2px",4:"4px",8:"8px",DEFAULT:"1px"},n;if(!e.value)n=r.DEFAULT;else if(r[e.value])n=r[e.value];else if(e.arbitrary)n=e.value;else if(/^\d+(?:\.\d+)?$/.test(e.value))n=`${e.value}px`;if(n===void 0)return;return{"--tc-ring-offset-shadow":"var(--tc-ring-inset,) 0 0 0 var(--tc-ring-offset-width, 0px) var(--tc-ring-offset-color, #fff)","--tc-ring-shadow":`var(--tc-ring-inset,) 0 0 0 calc(${n} + var(--tc-ring-offset-width, 0px)) var(--tc-ring-color, currentcolor)`,"box-shadow":V}}if(e.utility==="ring-offset"&&e.value){let r={0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"};if(r[e.value])return{"--tc-ring-offset-width":r[e.value]};let n=z(e.value,t,e.modifierArbitrary);if(n)return{"--tc-ring-offset-color":n}}if(e.utility==="ring-opacity"&&e.value)return aa(e,{0:"0",5:"0.05",10:"0.1",20:"0.2",25:"0.25",30:"0.3",40:"0.4",50:"0.5",60:"0.6",70:"0.7",75:"0.75",80:"0.8",90:"0.9",95:"0.95",100:"1"},"--tc-ring-opacity")},Kh=(e)=>{if(e.utility==="border-opacity"&&e.value)return aa(e,{0:"0",5:"0.05",10:"0.1",20:"0.2",25:"0.25",30:"0.3",40:"0.4",50:"0.5",60:"0.6",70:"0.7",75:"0.75",80:"0.8",90:"0.9",95:"0.95",100:"1"},"--tc-border-opacity")};function oa(e,t){let r=e.value;if(e.arbitrary)return r;let n=r.startsWith("-"),i=n?r.slice(1):r,o=t.theme.spacing[i];if(o===void 0&&/^\d+(?:\.\d+)?$/.test(i))o=`${Number.parseFloat(i)*0.25}rem`;if(o===void 0)return;return n?`-${o}`:o}var Gh=(e,t)=>{if(e.utility==="space-x"&&e.value){if(e.value==="reverse")return{properties:{"--tc-space-x-reverse":"1"},childSelector:"> :not([hidden]) ~ :not([hidden])"};let r=oa(e,t);if(r===void 0)return;return{properties:{"--tc-space-x-reverse":"0","margin-right":`calc(${r} * var(--tc-space-x-reverse))`,"margin-left":`calc(${r} * calc(1 - var(--tc-space-x-reverse)))`},childSelector:"> :not([hidden]) ~ :not([hidden])"}}if(e.utility==="space-y"&&e.value){if(e.value==="reverse")return{properties:{"--tc-space-y-reverse":"1"},childSelector:"> :not([hidden]) ~ :not([hidden])"};let r=oa(e,t);if(r===void 0)return;return{properties:{"--tc-space-y-reverse":"0","margin-top":`calc(${r} * calc(1 - var(--tc-space-y-reverse)))`,"margin-bottom":`calc(${r} * var(--tc-space-y-reverse))`},childSelector:"> :not([hidden]) ~ :not([hidden])"}}},Hh=(e)=>{if(e.utility==="border"&&e.value){let t={solid:"solid",dashed:"dashed",dotted:"dotted",double:"double",hidden:"hidden",none:"none"};if(t[e.value])return{"border-style":t[e.value]}}};function sa(e){if(!e.value)return"1px";let t={0:"0",2:"2px",4:"4px",8:"8px"};if(t[e.value])return t[e.value];if(e.arbitrary)return e.value;if(/^\d+(?:\.\d+)?$/.test(e.value))return`${e.value}px`;return}function qh(e){let t=Oe(e),r=t===-1?e:e.slice(0,t);if(r.charCodeAt(0)!==91||r.charCodeAt(r.length-1)!==93)return e;let n=r.slice(1,-1).replace(/_/g," ");return t===-1?n:n+e.slice(t)}var Yh=(e,t)=>{if(e.utility==="divide"&&e.value){let r={solid:"solid",dashed:"dashed",dotted:"dotted",double:"double",none:"none"};if(r[e.value])return{properties:{"border-style":r[e.value]},childSelector:"> :not([hidden]) ~ :not([hidden])"}}if(e.utility==="divide-x"){if(e.value==="reverse")return{properties:{"--tc-divide-x-reverse":"1"},childSelector:"> :not([hidden]) ~ :not([hidden])"};let r=sa(e);if(r===void 0)return;return{properties:{"--tc-divide-x-reverse":"0","border-right-width":`calc(${r} * var(--tc-divide-x-reverse))`,"border-left-width":`calc(${r} * calc(1 - var(--tc-divide-x-reverse)))`},childSelector:"> :not([hidden]) ~ :not([hidden])"}}if(e.utility==="divide-y"){if(e.value==="reverse")return{properties:{"--tc-divide-y-reverse":"1"},childSelector:"> :not([hidden]) ~ :not([hidden])"};let r=sa(e);if(r===void 0)return;return{properties:{"--tc-divide-y-reverse":"0","border-top-width":`calc(${r} * calc(1 - var(--tc-divide-y-reverse)))`,"border-bottom-width":`calc(${r} * var(--tc-divide-y-reverse))`},childSelector:"> :not([hidden]) ~ :not([hidden])"}}if(e.utility==="divide"&&e.value){let r=qh(e.value);if(r==="auto")return;let n=z(r,t,e.modifierArbitrary);if(n!==void 0)return{properties:{"border-color":n},childSelector:"> :not([hidden]) ~ :not([hidden])"}}},Jh=(e,t)=>{let r=(n)=>{let i=null,o=n,s=Oe(n);if(s!==-1){o=n.slice(0,s);let u=n.slice(s+1);if(u.startsWith("[")&&u.endsWith("]"))i=u.slice(1,-1);else if(e.modifierArbitrary){let f=Number.parseFloat(u);if(!Number.isNaN(f)&&f>=0&&f<=1)i=f.toString()}else{let f=Number.parseInt(u,10);if(!Number.isNaN(f))i=(f/100).toString()}}let l=(u)=>{if(!i)return u;let f=u.match(/^(oklch|rgb|hsl|oklab|lab|lch)\(([^)]+)\)$/i);if(f){let d=f[1],h=f[2].split("/")[0].trim();return`${d}(${h} / ${i})`}if(/^#[0-9a-f]{3,8}$/i.test(u)){let d=u.replace("#",""),h=(y)=>Number.parseInt(y.length===1?y+y:y,16),g=h(d.slice(0,d.length===3?1:2)),m=h(d.slice(d.length===3?1:2,d.length===3?2:4)),p=h(d.slice(d.length===3?2:4,d.length===3?3:6));return`rgb(${g} ${m} ${p} / ${i})`}return`color-mix(in srgb, ${u} ${Math.round(Number.parseFloat(i)*100)}%, transparent)`};if(o.startsWith("[")&&o.endsWith("]"))o=o.slice(1,-1);let a=t.theme.colors[o];if(typeof a==="string")return l(W(o,a,o,t.colorVariables));if(typeof a==="object"&&a!==null&&typeof a.DEFAULT==="string")return l(W(o,a.DEFAULT,o,t.colorVariables));let c=o.split("-");if(c.length>=2){let u=c.slice(0,-1).join("-"),f=c[c.length-1],d=t.theme.colors[u];if(typeof d==="object"&&d[f])return l(W(o,d[f],u,t.colorVariables))}if(e.arbitrary||o.startsWith("#")||/^(?:var|rgb|rgba|hsl|hsla|oklch|oklab|lab|lch|color|color-mix)\(/.test(o))return l(o);return};if(e.utility==="from"&&e.value){let n=r(e.value);if(n===void 0)return;return{"--tc-gradient-from":n,"--tc-gradient-to":"rgb(255 255 255 / 0)","--tc-gradient-stops":"var(--tc-gradient-from), var(--tc-gradient-to)"}}if(e.utility==="via"&&e.value){let n=r(e.value);if(n===void 0)return;return{"--tc-gradient-to":"rgb(255 255 255 / 0)","--tc-gradient-stops":`var(--tc-gradient-from), ${n}, var(--tc-gradient-to)`}}if(e.utility==="to"&&e.value){let n=r(e.value);if(n===void 0)return;return{"--tc-gradient-to":n,"--tc-gradient-stops":"var(--tc-gradient-from), var(--tc-gradient-to)"}}},Xh=(e)=>{if(e.utility==="order"&&e.value){let t={first:"-9999",last:"9999",none:"0"};if(t[e.value])return{order:t[e.value]};if(e.arbitrary||/^-?\d+$/.test(e.value))return{order:e.value};return}},Zh=(e,t)=>{if(e.utility==="basis"&&e.value){let r={auto:"auto",full:"100%",0:"0"};if(r[e.value])return{"flex-basis":r[e.value]};let n=pe(e,t,{});return n!==void 0?{"flex-basis":n}:void 0}},Qh=(e)=>{if(e.utility==="justify-self"){let t={auto:"auto",start:"start",end:"end",center:"center",stretch:"stretch"};return e.value&&t[e.value]?{"justify-self":t[e.value]}:void 0}},eg=(e)=>{if(e.utility==="self"){let t={auto:"auto",start:"flex-start",end:"flex-end",center:"center",stretch:"stretch",baseline:"baseline"};return e.value&&t[e.value]?{"align-self":t[e.value]}:void 0}},tg=(e,t)=>{if(e.utility==="container"){if(!e.value)return{width:"100%","margin-left":"auto","margin-right":"auto","max-width":t.theme.screens.xl||"1280px"};let r={sm:t.theme.screens.sm||"640px",md:t.theme.screens.md||"768px",lg:t.theme.screens.lg||"1024px",xl:t.theme.screens.xl||"1280px","2xl":t.theme.screens["2xl"]||"1536px",full:"100%",prose:"65ch","3xl":"1920px"};if(r[e.value])return{width:"100%","margin-left":"auto","margin-right":"auto","max-width":r[e.value]};if(e.arbitrary)return{width:"100%","margin-left":"auto","margin-right":"auto","max-width":e.value}}},pi=(e)=>{if(e.arbitrary&&e.utility&&e.value&&e.base.startsWith("["))return{[e.utility]:e.value}},la=[Wh,zh,Kh,Hh,Gh,Yh,Jh,Xh,Zh,Qh,eg,tg,pi];var ca={"bg-origin-border":"border-box","bg-origin-padding":"padding-box","bg-origin-content":"content-box"},ua={"bg-bottom":"bottom","bg-center":"center","bg-left":"left","bg-left-bottom":"left bottom","bg-left-top":"left top","bg-right":"right","bg-right-bottom":"right bottom","bg-right-top":"right top","bg-top":"top"},fa={"bg-repeat":"repeat","bg-no-repeat":"no-repeat","bg-repeat-x":"repeat-x","bg-repeat-y":"repeat-y","bg-repeat-round":"round","bg-repeat-space":"space"},da={"bg-auto":"auto","bg-cover":"cover","bg-contain":"contain"},yi=null,ha=null;function rg(e){let t=new Map;for(let[r,n]of Object.entries(e))if(typeof n==="string")t.set(r,n);else if(typeof n==="object"&&n!==null){for(let[i,o]of Object.entries(n))if(typeof o==="string")t.set(i==="DEFAULT"?r:`${r}-${i}`,o)}return t}function ng(e){return e.replace(/rgba?\([^)]+\)/g,"var(--tc-shadow-color)")}var ig=(e)=>{if(e.utility==="bg"&&e.value){let t={fixed:"fixed",local:"local",scroll:"scroll"};return t[e.value]?{"background-attachment":t[e.value]}:void 0}return},og=(e)=>{if(e.utility==="bg"&&e.value&&e.value.startsWith("clip-")){let t=e.value.replace("clip-",""),r={border:"border-box",padding:"padding-box",content:"content-box",text:"text"};return r[t]?{"background-clip":r[t]}:void 0}return},ga={t:"to top",tr:"to top right",r:"to right",br:"to bottom right",b:"to bottom",bl:"to bottom left",l:"to left",tl:"to top left"},sg=new Set(["srgb","srgb-linear","oklab","oklch","lab","lch","hsl","hwb","xyz","xyz-d50","xyz-d65","display-p3","a98-rgb","prophoto-rgb","rec2020"]),ag=new Set(["shorter","longer","increasing","decreasing"]);function lg(e){if(sg.has(e))return`in ${e}`;if(ag.has(e))return`in oklch ${e} hue`;return}var cg=(e)=>{if(e.utility!=="bg"||!e.value||e.arbitrary||e.typeHint)return;if(e.value.includes("("))return;let t=e.value.lastIndexOf("/"),r=t===-1?e.value:e.value.slice(0,t),n=t===-1?void 0:e.value.slice(t+1),i;if(n!==void 0){if(i=lg(n),i===void 0)return}let o=r.charCodeAt(0)===45,s=o?r.slice(1):r,l,a="";if(s==="conic")l="conic-gradient";else if(s==="radial")l="radial-gradient";else if(s.startsWith("conic-")){let u=s.slice(6);if(!/^\d+(?:\.\d+)?$/.test(u))return;l="conic-gradient",a=`from ${o?"-":""}${u}deg`}else if(s.startsWith("linear-")||s.startsWith("gradient-")){let u=s.slice(s.indexOf("-")+1);if(l="linear-gradient",u.startsWith("to-")){let f=ga[u.slice(3)];if(f===void 0)return;a=f}else if(/^\d+(?:\.\d+)?$/.test(u))a=`${o?"-":""}${u}deg`;else return}else return;if(!a&&i===void 0)return;let c=[a,i].filter(Boolean).join(" ");return{"background-image":c?`${l}(${c}, var(--tc-gradient-stops))`:`${l}(var(--tc-gradient-stops))`}},ug=(e)=>{if(!e.value)return;let t;if(e.utility==="bg-linear"||e.utility==="bg-gradient")t=e.value;else if(e.utility==="bg"){if(e.typeHint||e.value.includes("("))return;let r=e.value.startsWith("-"),i=(r?e.value.slice(1):e.value).match(/^(?:gradient|linear)-(.+)$/);if(!i)return;t=r?`-${i[1]}`:i[1]}else return;if(t.startsWith("to-")){let r=ga[t.slice(3)];return r?{"background-image":`linear-gradient(${r}, var(--tc-gradient-stops))`}:void 0}if(e.arbitrary)return{"background-image":`linear-gradient(${t}, var(--tc-gradient-stops))`};if(/^-?\d+(?:\.\d+)?$/.test(t))return{"background-image":`linear-gradient(${t}deg, var(--tc-gradient-stops))`};return},fg=(e)=>ca[e.base]?{"background-origin":ca[e.base]}:void 0,dg=(e)=>ua[e.base]?{"background-position":ua[e.base]}:void 0,hg=(e)=>fa[e.base]?{"background-repeat":fa[e.base]}:void 0,gg=(e)=>da[e.base]?{"background-size":da[e.base]}:void 0,mg=(e)=>{if(e.utility==="border"&&e.value){let t={solid:"solid",dashed:"dashed",dotted:"dotted",double:"double",hidden:"hidden",none:"none"};return t[e.value]?{"border-style":t[e.value]}:void 0}return},pg=(e,t)=>{if(e.utility==="outline-offset"&&e.value){let r={0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"};if(r[e.value])return{"outline-offset":r[e.value]};if(e.arbitrary)return{"outline-offset":e.value};if(/^\d+(?:\.\d+)?$/.test(e.value))return{"outline-offset":`${e.value}px`};return}if(e.utility==="outline"&&e.value){let r={none:"none",solid:"solid",dashed:"dashed",dotted:"dotted",double:"double"};if(r[e.value])return{"outline-style":r[e.value]};if(e.value==="hidden")return{outline:"2px solid transparent","outline-offset":"2px"}}if(e.utility==="outline"){if(!e.value)return{"outline-width":"1px"};let r=z(e.value,t,e.modifierArbitrary);if(r)return{"outline-color":r};let n={0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"};if(n[e.value])return{"outline-width":n[e.value]};if(e.arbitrary)return{"outline-width":e.value};if(/^\d+(?:\.\d+)?$/.test(e.value))return{"outline-width":`${e.value}px`};return}},yg=(e,t)=>{if(e.utility==="shadow"){let n=e.arbitrary&&!!e.value&&(/\s/.test(e.value)||e.value==="none")?e.value:e.value?t.theme.boxShadow[e.value]:t.theme.boxShadow.DEFAULT;if(!n)return;if(n==="none")return{"--tc-shadow":_r,"box-shadow":V};let i=ng(n);return{"--tc-shadow":n,"--tc-shadow-colored":i,"box-shadow":V}}},bg=(e,t)=>{if(e.utility!=="shadow"||!e.value)return;if(t.theme.boxShadow[e.value])return;if(e.arbitrary&&/\s/.test(e.value))return;if(yi===null||ha!==t.theme.colors)yi=rg(t.theme.colors),ha=t.theme.colors;let r=e.value,n=Oe(r),i,o;if(n!==-1){i=r.slice(0,n);let a=r.slice(n+1);if(a.charCodeAt(0)===91&&a.charCodeAt(a.length-1)===93){let c=Number.parseFloat(a.slice(1,-1));if(Number.isNaN(c)||c<0||c>1)return;o=c}else if(e.modifierArbitrary){let c=Number.parseFloat(a);if(Number.isNaN(c)||c<0||c>1)return;o=c}else{let c=Number.parseInt(a,10);if(Number.isNaN(c)||c<0||c>100)return;o=c/100}}else i=r;let s=yi.get(i)??(e.arbitrary?i:void 0);if(!s)return;return{"--tc-shadow-color":o!==void 0?we(s,o):s,"--tc-shadow":"var(--tc-shadow-colored)"}};function _t(e){return`${e} var(--tc-text-shadow-color, rgba(0, 0, 0, 0.05))`}var xg=(e,t)=>{if(e.utility!=="text-shadow")return;let r={sm:_t("0 1px 2px"),DEFAULT:_t("0 1px 3px"),md:_t("0 4px 6px"),lg:_t("0 10px 15px"),xl:_t("0 20px 25px"),none:"none"};if(!e.value)return{"text-shadow":r.DEFAULT};if(r[e.value])return{"text-shadow":r[e.value]};if(e.arbitrary&&e.value){if(/\s/.test(e.value))return{"text-shadow":e.value};return{"--tc-text-shadow-color":e.value}}let n=z(e.value,t,e.modifierArbitrary);return n===void 0?void 0:{"--tc-text-shadow-color":n}},vg=(e)=>{if(e.utility==="opacity"&&e.value){let t={0:"0",5:"0.05",10:"0.1",20:"0.2",25:"0.25",30:"0.3",40:"0.4",50:"0.5",60:"0.6",70:"0.7",75:"0.75",80:"0.8",90:"0.9",95:"0.95",100:"1"};if(t[e.value])return{opacity:t[e.value]};if(e.arbitrary)return{opacity:e.value};if(/^\d+$/.test(e.value)){let r=Number.parseInt(e.value,10);if(r>=0&&r<=100)return{opacity:`${r/100}`}}return}},wg=(e)=>{if(e.utility==="mix-blend"){let t=["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"];return e.value&&t.includes(e.value)?{"mix-blend-mode":e.value}:void 0}},$g=(e)=>{if(e.utility==="bg-blend"){let t=["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"];return e.value&&t.includes(e.value)?{"background-blend-mode":e.value}:void 0}},Cg=(e)=>{if(e.utility==="mask-clip"&&e.value){let t={border:"border-box",padding:"padding-box",content:"content-box",text:"text",fill:"fill-box",stroke:"stroke-box",view:"view-box","no-clip":"no-clip"};if(t[e.value])return{"mask-clip":t[e.value]};return e.arbitrary?{"mask-clip":e.value}:void 0}if(e.utility==="mask-composite"&&e.value)return["add","subtract","intersect","exclude"].includes(e.value)?{"mask-composite":e.value}:void 0;if(e.utility==="mask-image"&&e.value){if(e.value==="none")return{"mask-image":"none"};if(e.arbitrary)return{"mask-image":e.value.startsWith("url(")||e.value.includes("gradient(")?e.value:`url(${e.value})`};return}if(e.utility==="mask-mode"&&e.value)return["alpha","luminance","match-source"].includes(e.value)?{"mask-mode":e.value}:void 0;if(e.utility==="mask-origin"&&e.value){let t={border:"border-box",padding:"padding-box",content:"content-box",fill:"fill-box",stroke:"stroke-box",view:"view-box"};if(t[e.value])return{"mask-origin":t[e.value]};return e.arbitrary?{"mask-origin":e.value}:void 0}if(e.utility==="mask-position"&&e.value){let t={center:"center",top:"top",right:"right",bottom:"bottom",left:"left","top-left":"top left","top-right":"top right","bottom-left":"bottom left","bottom-right":"bottom right"};if(t[e.value])return{"mask-position":t[e.value]};return e.arbitrary?{"mask-position":e.value}:void 0}if(e.utility==="mask-repeat"&&e.value){let t={repeat:"repeat","no-repeat":"no-repeat","repeat-x":"repeat-x","repeat-y":"repeat-y",round:"round",space:"space"};if(t[e.value])return{"mask-repeat":t[e.value]};return e.arbitrary?{"mask-repeat":e.value}:void 0}if(e.utility==="mask-size"&&e.value){let t={auto:"auto",cover:"cover",contain:"contain"};if(t[e.value])return{"mask-size":t[e.value]};return e.arbitrary?{"mask-size":e.value}:void 0}if(e.utility==="mask-type"&&e.value)return["alpha","luminance"].includes(e.value)?{"mask-type":e.value}:void 0},bi=[ig,og,cg,ug,fg,dg,hg,gg,mg,pg,yg,bg,xg,vg,wg,$g,Cg];var ma={add:"add",subtract:"subtract",intersect:"intersect",exclude:"exclude"},pa={alpha:"alpha",luminance:"luminance",match:"match-source"},ya={auto:"auto",cover:"cover",contain:"contain"},ba={center:"center",top:"top",right:"right",bottom:"bottom",left:"left","top-left":"left top","top-right":"right top","bottom-left":"left bottom","bottom-right":"right bottom"},xa={repeat:"repeat","no-repeat":"no-repeat"},Rg=(e)=>{if(e.utility!=="mask"||!e.value)return;let t=e.value;if(e.arbitrary)return{"mask-image":t};if(t==="none")return{"mask-image":"none"};if(ma[t]!==void 0)return{"mask-composite":ma[t]};if(pa[t]!==void 0)return{"mask-mode":pa[t]};if(ya[t]!==void 0)return{"mask-size":ya[t]};if(ba[t]!==void 0)return{"mask-position":ba[t]};if(xa[t]!==void 0)return{"mask-repeat":xa[t]};if(t==="no-clip")return{"mask-clip":"no-clip"};return},kg=(e)=>{if(e.utility!=="mask-repeat"||e.arbitrary)return;if(e.value==="x")return{"mask-repeat":"repeat-x"};if(e.value==="y")return{"mask-repeat":"repeat-y"};return},qe="linear-gradient(#fff, #fff)";function A(e,t){return`var(--tc-mask-${e}, ${t})`}function Ye(){return{"mask-image":`${A("linear",qe)}, ${A("radial",qe)}, ${A("conic",qe)}`,"mask-composite":"intersect"}}var Sg=[A("left",qe),A("right",qe),A("bottom",qe),A("top",qe)].join(", "),Ag={t:["top"],r:["right"],b:["bottom"],l:["left"],x:["right","left"],y:["top","bottom"]};function Eg(e){let t=`${A(`${e}-from-color`,"black")} ${A(`${e}-from-position`,"0%")}`,r=`${A(`${e}-to-color`,"transparent")} ${A(`${e}-to-position`,"100%")}`;return`linear-gradient(to ${e}, ${t}, ${r})`}var Tg=[A("linear-position","0deg"),`${A("linear-from-color","black")} ${A("linear-from-position","0%")}`,`${A("linear-to-color","transparent")} ${A("linear-to-position","100%")}`].join(", "),Ng=/^(?:var|rgb|rgba|hsl|hsla|oklch|oklab|lab|lch|color|color-mix)\(/;function Mr(e,t,r){if(!e)return;if(/^\d+(?:\.\d+)?%$/.test(e))return{position:e};if(/^\d+(?:\.\d+)?$/.test(e)){let i=pe({value:e,arbitrary:!1},r,{});return i===void 0?void 0:{position:i}}if(t)return e.charCodeAt(0)===35||Ng.test(e)?{color:e}:{position:e};let n=z(e,r,!1);return n===void 0?void 0:{color:n}}function Fr(e){if(e.startsWith("from-"))return{stop:"from",token:e.slice(5)};if(e.startsWith("to-"))return{stop:"to",token:e.slice(3)};return}var Og=(e,t)=>{if(e.utility!=="mask"||!e.value||e.arbitrary)return;let r=e.value,n=r.charCodeAt(0)===45,i=n?r.slice(1):r;if(!i.startsWith("linear-"))return;let o=i.slice(7);if(/^\d+(?:\.\d+)?$/.test(o))return{...Ye(),"--tc-mask-linear":`linear-gradient(${A("linear-stops",A("linear-position","0deg"))})`,"--tc-mask-linear-position":`calc(1deg * ${n?"-":""}${o})`};if(n)return;let s=Fr(o);if(s===void 0)return;let l=Mr(s.token,e.arbitrary,t);if(l===void 0)return;let a={...Ye(),"--tc-mask-linear-stops":Tg,"--tc-mask-linear":"linear-gradient(var(--tc-mask-linear-stops))"};if(l.color!==void 0)a[`--tc-mask-linear-${s.stop}-color`]=l.color;else a[`--tc-mask-linear-${s.stop}-position`]=l.position;return a},Ig=(e,t)=>{if(e.utility!=="mask"||!e.value||e.arbitrary)return;let r=e.value,n=r.indexOf("-");if(n===-1)return;let i=Ag[r.slice(0,n)];if(i===void 0)return;let o=Fr(r.slice(n+1));if(o===void 0)return;let s=Mr(o.token,e.arbitrary,t);if(s===void 0)return;let l={...Ye(),"--tc-mask-linear":Sg};for(let a of i)if(l[`--tc-mask-${a}`]=Eg(a),s.color!==void 0)l[`--tc-mask-${a}-${o.stop}-color`]=s.color;else l[`--tc-mask-${a}-${o.stop}-position`]=s.position;return l},Pg=[`${A("radial-shape","ellipse")} ${A("radial-size","farthest-corner")} at ${A("radial-position","center")}`,`${A("radial-from-color","black")} ${A("radial-from-position","0%")}`,`${A("radial-to-color","transparent")} ${A("radial-to-position","100%")}`].join(", "),_g=new Set(["closest-side","closest-corner","farthest-side","farthest-corner"]),Lg={center:"center",top:"top",right:"right",bottom:"bottom",left:"left","top-left":"top left","top-right":"top right","bottom-left":"bottom left","bottom-right":"bottom right"},Mg=[`from ${A("conic-position","0deg")}`,`${A("conic-from-color","black")} ${A("conic-from-position","0%")}`,`${A("conic-to-color","transparent")} ${A("conic-to-position","100%")}`].join(", "),Fg=(e,t)=>{if(e.utility==="mask-radial"&&e.arbitrary&&e.value)return{...Ye(),"--tc-mask-radial":`radial-gradient(${A("radial-stops",A("radial-size","farthest-corner"))})`,"--tc-mask-radial-size":e.value};if(e.utility!=="mask"||!e.value||e.arbitrary)return;let r=e.value;if(r==="circle"||r==="ellipse")return{"--tc-mask-radial-shape":r};if(!r.startsWith("radial-"))return;let n=r.slice(7);if(n.startsWith("at-")){let l=Lg[n.slice(3)];return l===void 0?void 0:{"--tc-mask-radial-position":l}}if(_g.has(n))return{"--tc-mask-radial-size":n};let i=Fr(n);if(i===void 0)return;let o=Mr(i.token,e.arbitrary,t);if(o===void 0)return;let s={...Ye(),"--tc-mask-radial-stops":Pg,"--tc-mask-radial":"radial-gradient(var(--tc-mask-radial-stops))"};if(o.color!==void 0)s[`--tc-mask-radial-${i.stop}-color`]=o.color;else s[`--tc-mask-radial-${i.stop}-position`]=o.position;return s},jg=(e,t)=>{if(e.utility!=="mask"||!e.value||e.arbitrary)return;let r=e.value,n=r.charCodeAt(0)===45,i=n?r.slice(1):r;if(!i.startsWith("conic-"))return;let o=i.slice(6);if(/^\d+(?:\.\d+)?$/.test(o))return{...Ye(),"--tc-mask-conic":`conic-gradient(${A("conic-stops",A("conic-position","0deg"))})`,"--tc-mask-conic-position":`calc(1deg * ${n?"-":""}${o})`};if(n)return;let s=Fr(o);if(s===void 0)return;let l=Mr(s.token,e.arbitrary,t);if(l===void 0)return;let a={...Ye(),"--tc-mask-conic-stops":Mg,"--tc-mask-conic":"conic-gradient(var(--tc-mask-conic-stops))"};if(l.color!==void 0)a[`--tc-mask-conic-${s.stop}-color`]=l.color;else a[`--tc-mask-conic-${s.stop}-position`]=l.position;return a},va=[Og,Ig,Fg,jg,Rg,kg];var Dg={"2xs":"inset 0 1px",xs:"inset 0 1px 1px",sm:"inset 0 2px 4px"},Bg="rgb(0 0 0 / 0.05)",Ug=/^(?:var|rgb|rgba|hsl|hsla|oklch|oklab|lab|lch|color|color-mix)\(/;function wi(e){return e.charCodeAt(0)===35||Ug.test(e)}function Vg(e){return/^-?[\d.]+[a-z%]*$/i.test(e)||e.startsWith("calc(")||e.startsWith("var(")}function Wg(e,t){let r=e.trim().split(/\s+/),n=r[r.length-1];if(r.length>1&&!Vg(n))return`inset ${r.slice(0,-1).join(" ")} var(${t}, ${n})`;return`inset ${e} var(${t}, currentcolor)`}function xi(e){return{"--tc-inset-shadow":e,"box-shadow":V}}var zg=(e,t)=>{if(e.utility==="inset-shadow"&&e.arbitrary&&e.value){if(!/\s/.test(e.value)&&wi(e.value))return{"--tc-inset-shadow-color":e.value};return xi(Wg(e.value,"--tc-inset-shadow-color"))}if(e.utility!=="inset"||!e.value||e.arbitrary)return;if(!e.value.startsWith("shadow-"))return;let r=e.value.slice(7),n=Dg[r];if(n!==void 0)return xi(`${n} var(--tc-inset-shadow-color, ${Bg})`);if(r==="none")return xi(`inset ${_r}`);let i=z(r,t,e.modifierArbitrary);return i===void 0?void 0:{"--tc-inset-shadow-color":i}};function vi(e){return{"--tc-inset-ring-shadow":`inset 0 0 0 ${e} var(--tc-inset-ring-color, currentcolor)`,"box-shadow":V}}var Kg=(e,t)=>{if(e.utility==="inset-ring"&&e.arbitrary&&e.value){if(wi(e.value))return{"--tc-inset-ring-color":e.value};return vi(e.value)}if(e.utility!=="inset"||!e.value||e.arbitrary)return;if(e.value!=="ring"&&!e.value.startsWith("ring-"))return;if(e.value==="ring")return vi("1px");let r=e.value.slice(5);if(/^\d+(?:\.\d+)?$/.test(r))return vi(`${r}px`);let n=z(r,t,e.modifierArbitrary);return n===void 0?void 0:{"--tc-inset-ring-color":n}},Gg=(e,t)=>{if(e.utility!=="drop-shadow"||!e.value)return;if(e.arbitrary){if(/\s/.test(e.value))return;return wi(e.value)?{"--tc-drop-shadow-color":e.value}:void 0}let r=z(e.value,t,e.modifierArbitrary);return r===void 0?void 0:{"--tc-drop-shadow-color":r}},wa=[zg,Kg,Gg];var jr={appearance:"none","background-color":"#fff","border-color":"#6b7280","border-width":"1px","border-radius":"0px","padding-top":"0.5rem","padding-right":"0.75rem","padding-bottom":"0.5rem","padding-left":"0.75rem","font-size":"1rem","line-height":"1.5rem"},$a={appearance:"none",padding:"0","print-color-adjust":"exact",display:"inline-block","vertical-align":"middle","background-origin":"border-box","user-select":"none","flex-shrink":"0",height:"1rem",width:"1rem",color:"#2563eb","background-color":"#fff","border-color":"#6b7280","border-width":"1px"};function gt(e,t){return e.utility==="form"&&e.value===t||e.utility===`form-${t}`&&!e.value}var Hg=(e)=>{if(gt(e,"input"))return jr},qg=(e)=>{if(gt(e,"textarea"))return jr},Yg=(e)=>{if(gt(e,"select"))return{...jr,"background-image":`url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e")`,"background-position":"right 0.5rem center","background-repeat":"no-repeat","background-size":"1.5em 1.5em","padding-right":"2.5rem","print-color-adjust":"exact"}},Jg=(e)=>{if(gt(e,"multiselect"))return{...jr,"background-image":"initial","background-position":"initial","background-repeat":"unset","background-size":"initial","print-color-adjust":"unset"}},Xg=(e)=>{if(gt(e,"checkbox"))return{...$a,"border-radius":"0px"}},Zg=(e)=>{if(gt(e,"radio"))return{...$a,"border-radius":"100%"}},Ca=[Hg,qg,Yg,Jg,Xg,Zg];var Qg={gap:"gap","gap-x":"column-gap","gap-y":"row-gap"},mt=/^-?\d+$/,Ra=/^span-(\d+)$/,em=(e)=>{if(e.utility==="grid-cols"&&e.value){if(e.arbitrary)return{"grid-template-columns":e.value};if(e.value==="none"||e.value==="subgrid")return{"grid-template-columns":e.value};if(/^\d+$/.test(e.value))return{"grid-template-columns":`repeat(${e.value}, minmax(0, 1fr))`};return}},tm=(e)=>{if(e.utility==="col"){if(!e.value)return;if(e.arbitrary)return{"grid-column":e.value};if(e.value==="auto")return{"grid-column":"auto"};if(e.value==="span-full")return{"grid-column":"1 / -1"};let t=e.value.match(Ra);if(t)return{"grid-column":`span ${t[1]} / span ${t[1]}`};if(mt.test(e.value))return{"grid-column":e.value};return}if(e.utility==="col-span"&&e.value){if(e.arbitrary)return{"grid-column":`span ${e.value} / span ${e.value}`};if(e.value==="auto")return{"grid-column":"auto"};if(e.value==="full")return{"grid-column":"1 / -1"};if(/^\d+$/.test(e.value))return{"grid-column":`span ${e.value} / span ${e.value}`};return}if(e.utility==="col-start"&&e.value){if(e.arbitrary||e.value==="auto"||mt.test(e.value))return{"grid-column-start":e.value};return}if(e.utility==="col-end"&&e.value){if(e.arbitrary||e.value==="auto"||mt.test(e.value))return{"grid-column-end":e.value};return}},rm=(e)=>{if(e.utility==="grid-rows"&&e.value){if(e.arbitrary)return{"grid-template-rows":e.value};if(e.value==="none"||e.value==="subgrid")return{"grid-template-rows":e.value};if(/^\d+$/.test(e.value))return{"grid-template-rows":`repeat(${e.value}, minmax(0, 1fr))`};return}},nm=(e)=>{if(e.utility==="row"){if(!e.value)return;if(e.arbitrary)return{"grid-row":e.value};if(e.value==="auto")return{"grid-row":"auto"};if(e.value==="span-full")return{"grid-row":"1 / -1"};let t=e.value.match(Ra);if(t)return{"grid-row":`span ${t[1]} / span ${t[1]}`};if(mt.test(e.value))return{"grid-row":e.value};return}if(e.utility==="row-span"&&e.value){if(e.arbitrary)return{"grid-row":`span ${e.value} / span ${e.value}`};if(e.value==="auto")return{"grid-row":"auto"};if(e.value==="full")return{"grid-row":"1 / -1"};if(/^\d+$/.test(e.value))return{"grid-row":`span ${e.value} / span ${e.value}`};return}if(e.utility==="row-start"&&e.value){if(e.arbitrary||e.value==="auto"||mt.test(e.value))return{"grid-row-start":e.value};return}if(e.utility==="row-end"&&e.value){if(e.arbitrary||e.value==="auto"||mt.test(e.value))return{"grid-row-end":e.value};return}},im=(e)=>{if(e.utility==="grid-flow"&&e.value){let t={row:"row",col:"column",dense:"dense","row-dense":"row dense","col-dense":"column dense"};return t[e.value]?{"grid-auto-flow":t[e.value]}:void 0}return},om=(e)=>{if(e.utility==="auto-cols"&&e.value){let t={auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"};if(e.arbitrary)return{"grid-auto-columns":e.value};return t[e.value]?{"grid-auto-columns":t[e.value]}:void 0}},sm=(e)=>{if(e.utility==="auto-rows"&&e.value){let t={auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"};if(e.arbitrary)return{"grid-auto-rows":e.value};return t[e.value]?{"grid-auto-rows":t[e.value]}:void 0}};function am(e,t,r){let n=t.theme.spacing?.[r];if(n!==void 0)return n;if(e.arbitrary)return r;if(/^\d+(?:\.\d+)?$/.test(r)){let i=Number.parseFloat(r);if(Number.isFinite(i))return`${i*0.25}rem`}return}var lm=(e,t)=>{let r=Qg[e.utility];if(!r||!e.value)return;let n=am(e,t,e.value);return n!==void 0?{[r]:n}:void 0},cm=(e)=>{if(e.utility==="place"&&e.value&&e.value.startsWith("content-")){let t=e.value.replace("content-",""),r={center:"center",start:"start",end:"end",between:"space-between",around:"space-around",evenly:"space-evenly",stretch:"stretch"};return r[t]?{"place-content":r[t]}:void 0}return},um=(e)=>{if(e.utility==="place"&&e.value&&e.value.startsWith("items-")){let t=e.value.replace("items-",""),r={start:"start",end:"end",center:"center",stretch:"stretch"};return r[t]?{"place-items":r[t]}:void 0}return},fm=(e)=>{if(e.utility==="place"&&e.value&&e.value.startsWith("self-")){let t=e.value.replace("self-",""),r={auto:"auto",start:"start",end:"end",center:"center",stretch:"stretch"};return r[t]?{"place-self":r[t]}:void 0}return},ka=[em,tm,rm,nm,im,om,sm,lm,cm,um,fm];import{existsSync as Sa,readFileSync as dm,readdirSync as hm}from"fs";import{join as Dr}from"path";var Br=new Map;function gm(e){if(Br.has(e))return Br.get(e);let t=[Dr(process.cwd(),"node_modules","@iconify-json",e,"icons.json"),Dr(process.cwd(),"node_modules",".bun","@iconify-json",e,"icons.json")],r=Dr(process.cwd(),"node_modules",".bun");if(Sa(r))try{let n=`@iconify-json+${e}@`;for(let i of hm(r))if(i.startsWith(n))t.push(Dr(r,i,"node_modules","@iconify-json",e,"icons.json"))}catch{}for(let n of t)if(Sa(n))try{let i=JSON.parse(dm(n,"utf-8"));return Br.set(e,i),i}catch{}return Br.set(e,null),null}function mm(e,t){let r=e.icons[t];if(r)return r;let n=e.aliases?.[t];if(n)return e.icons[n.parent]??null;return null}function pm(e,t){let r=t.width??e.width??24,n=t.height??e.height??24,i=t.left??0,o=t.top??0;return`<svg xmlns='http://www.w3.org/2000/svg' viewBox='${i} ${o} ${r} ${n}' width='${r}' height='${n}'>${t.body}</svg>`}function ym(e){return`url("data:image/svg+xml;utf8,${e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\?/g,"%3F").replace(/\s+/g," ")}")`}var bm=/^i-([a-z][a-z0-9]*(?:-[a-z0-9]+)*)-(.+)$/;function xm(e){if(!e.startsWith("i-"))return;let t=e.slice(2);for(let r=t.indexOf("-");r!==-1;r=t.indexOf("-",r+1)){let n=t.slice(0,r),i=t.slice(r+1);if(!/^[a-z][a-z0-9-]*$/.test(n))continue;let o=gm(n);if(!o)continue;let s=mm(o,i);if(s)return{collection:o,icon:s}}return}var Aa=(e,t)=>{if(!bm.test(e.base))return;let r=xm(e.base);if(!r)return;let{collection:n,icon:i}=r,o=ym(pm(n,i));return{defaults:!0,properties:{display:"inline-block",width:"1em",height:"1em","background-color":"currentColor","-webkit-mask":`${o} no-repeat`,mask:`${o} no-repeat`,"-webkit-mask-size":"100% 100%","mask-size":"100% 100%","vertical-align":"-0.125em"}}};var Ea={"border-collapse":"collapse","border-separate":"separate"},Ta={"caption-top":"top","caption-bottom":"bottom"},Na={"field-sizing-content":"content","field-sizing-fixed":"fixed"},Oa={"cursor-auto":"auto","cursor-default":"default","cursor-pointer":"pointer","cursor-wait":"wait","cursor-text":"text","cursor-move":"move","cursor-help":"help","cursor-not-allowed":"not-allowed","cursor-none":"none","cursor-context-menu":"context-menu","cursor-progress":"progress","cursor-cell":"cell","cursor-crosshair":"crosshair","cursor-vertical-text":"vertical-text","cursor-alias":"alias","cursor-copy":"copy","cursor-no-drop":"no-drop","cursor-grab":"grab","cursor-grabbing":"grabbing","cursor-all-scroll":"all-scroll","cursor-col-resize":"col-resize","cursor-row-resize":"row-resize","cursor-n-resize":"n-resize","cursor-e-resize":"e-resize","cursor-s-resize":"s-resize","cursor-w-resize":"w-resize","cursor-ne-resize":"ne-resize","cursor-nw-resize":"nw-resize","cursor-se-resize":"se-resize","cursor-sw-resize":"sw-resize","cursor-ew-resize":"ew-resize","cursor-ns-resize":"ns-resize","cursor-nesw-resize":"nesw-resize","cursor-nwse-resize":"nwse-resize","cursor-zoom-in":"zoom-in","cursor-zoom-out":"zoom-out"},Ia={"pointer-events-none":"none","pointer-events-auto":"auto"},Pa={"resize-none":"none",resize:"both","resize-y":"vertical","resize-x":"horizontal"},_a={"scroll-auto":"auto","scroll-smooth":"smooth"},La={"snap-none":"none","snap-x":"x var(--tc-scroll-snap-strictness, proximity)","snap-y":"y var(--tc-scroll-snap-strictness, proximity)","snap-both":"both var(--tc-scroll-snap-strictness, proximity)"},Ma={"snap-mandatory":"mandatory","snap-proximity":"proximity"},Fa={"snap-start":"start","snap-end":"end","snap-center":"center","snap-align-none":"none"},ja={"snap-normal":"normal","snap-always":"always"},Da={"touch-auto":"auto","touch-none":"none","touch-pan-x":"pan-x","touch-pan-left":"pan-left","touch-pan-right":"pan-right","touch-pan-y":"pan-y","touch-pan-up":"pan-up","touch-pan-down":"pan-down","touch-pinch-zoom":"pinch-zoom","touch-manipulation":"manipulation"},Ba={"select-none":"none","select-text":"text","select-all":"all","select-auto":"auto"},Ua={"will-change-auto":"auto","will-change-scroll":"scroll-position","will-change-contents":"contents","will-change-transform":"transform"},Va={"stroke-linecap-butt":"butt","stroke-linecap-round":"round","stroke-linecap-square":"square"},Wa={"stroke-linejoin-miter":"miter","stroke-linejoin-round":"round","stroke-linejoin-bevel":"bevel"},za={"forced-color-adjust-auto":"auto","forced-color-adjust-none":"none"},$i={none:"0",sm:"4px",DEFAULT:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"};function Ha(e){if(e.arbitrary)return e.value;if(/^\d+(?:\.\d+)?$/.test(e.value))return`${Number(e.value)/100}`;return}function qa(e){if(!e.value)return $i.DEFAULT;if($i[e.value]!==void 0)return $i[e.value];if(e.arbitrary)return e.value;if(/^\d+(?:\.\d+)?$/.test(e.value))return`${e.value}px`;return}var Ya=["brightness","contrast","grayscale","invert","saturate","sepia"],vm=["blur","brightness","contrast","grayscale","hue-rotate","invert","saturate","sepia","drop-shadow"],wm=["blur","brightness","contrast","grayscale","hue-rotate","invert","opacity","saturate","sepia"],$m=vm.map((e)=>`var(--tc-${e}, )`).join(" "),Ka=wm.map((e)=>`var(--tc-backdrop-${e}, )`).join(" ");function Je(e,t){return{[`--tc-${e}`]:t,filter:$m}}function Ur(e,t){return{[`--tc-backdrop-${e}`]:t,"-webkit-backdrop-filter":Ka,"backdrop-filter":Ka}}var Cm=(e)=>{if(e.base==="filter-none")return{filter:"none"};if(e.utility==="blur"){let t=qa(e);return t!==void 0?Je("blur",`blur(${t})`):void 0}if(Ya.includes(e.utility)&&e.value){let t=Ha(e);return t!==void 0?Je(e.utility,`${e.utility}(${t})`):void 0}if(e.utility==="hue-rotate"&&e.value){if(e.arbitrary)return Je("hue-rotate",`hue-rotate(${e.value})`);if(/^-?\d+(?:\.\d+)?$/.test(e.value))return Je("hue-rotate",`hue-rotate(${e.value}deg)`);return}if(e.utility==="drop-shadow"){let t={sm:"drop-shadow(0 1px 1px rgb(0 0 0 / 0.05))",DEFAULT:"drop-shadow(0 1px 2px rgb(0 0 0 / 0.1)) drop-shadow(0 1px 1px rgb(0 0 0 / 0.06))",md:"drop-shadow(0 4px 3px rgb(0 0 0 / 0.07)) drop-shadow(0 2px 2px rgb(0 0 0 / 0.06))",lg:"drop-shadow(0 10px 8px rgb(0 0 0 / 0.04)) drop-shadow(0 4px 3px rgb(0 0 0 / 0.1))",xl:"drop-shadow(0 20px 13px rgb(0 0 0 / 0.03)) drop-shadow(0 8px 5px rgb(0 0 0 / 0.08))","2xl":"drop-shadow(0 25px 25px rgb(0 0 0 / 0.15))",none:"drop-shadow(0 0 #0000)"};if(!e.value)return Je("drop-shadow",t.DEFAULT);if(t[e.value])return Je("drop-shadow",t[e.value]);if(e.arbitrary)return Je("drop-shadow",`drop-shadow(${e.value})`);return}},Rm=(e)=>{if(e.base==="backdrop-filter-none")return{"backdrop-filter":"none"};if(e.utility==="backdrop-blur"){let t=qa(e);return t!==void 0?Ur("blur",`blur(${t})`):void 0}if(e.utility.startsWith("backdrop-")&&e.value){let t=e.utility.slice(9);if(Ya.includes(t)||t==="opacity"){let r=Ha(e);if(r===void 0)return;return Ur(t,`${t}(${r})`)}if(t==="hue-rotate"){if(e.arbitrary)return Ur(t,`hue-rotate(${e.value})`);if(/^-?\d+(?:\.\d+)?$/.test(e.value))return Ur(t,`hue-rotate(${e.value}deg)`);return}}},km=(e)=>Ea[e.base]?{"border-collapse":Ea[e.base]}:void 0,Sm=(e,t)=>{if(!e.utility.startsWith("border-spacing")||!e.value)return;let r=t.theme.spacing[e.value];if(r===void 0&&e.arbitrary)r=e.value;if(r===void 0&&/^\d+(?:\.\d+)?$/.test(e.value))r=`${Number.parseFloat(e.value)*0.25}rem`;if(r===void 0)return;if(e.utility==="border-spacing")return{"border-spacing":`${r} ${r}`};if(e.utility==="border-spacing-x")return{"border-spacing":`${r} 0`};if(e.utility==="border-spacing-y")return{"border-spacing":`0 ${r}`}},Am=(e)=>{if(e.utility==="table"&&e.value){let t={auto:"auto",fixed:"fixed"};return t[e.value]?{"table-layout":t[e.value]}:void 0}return},Em=(e)=>Ta[e.base]?{"caption-side":Ta[e.base]}:void 0,Tm=(e,t)=>{if(e.utility==="accent"&&e.value){let r=z(e.value,t,e.modifierArbitrary);if(r)return{"accent-color":r}}},Nm=(e)=>{let t={"appearance-none":"none","appearance-auto":"auto","appearance-base":"base"};return t[e.base]?{appearance:t[e.base]}:void 0},Om=(e,t)=>{if(e.utility==="caret"&&e.value){let r=z(e.value,t,e.modifierArbitrary);if(r)return{"caret-color":r}}},Im={normal:"normal",light:"light",dark:"dark","light-dark":"light dark","only-dark":"only dark","only-light":"only light"},Ga=(e)=>{let t=e.base,r=t.startsWith("scheme-")?t.slice(7):t.startsWith("color-scheme-")?t.slice(13):void 0;if(r===void 0)return;let n=Im[r];return n?{"color-scheme":n}:void 0},Pm=(e)=>Na[e.base]?{"field-sizing":Na[e.base]}:void 0,_m=(e)=>Oa[e.base]?{cursor:Oa[e.base]}:void 0,Lm=(e)=>Ia[e.base]?{"pointer-events":Ia[e.base]}:void 0,Mm=(e)=>Pa[e.base]?{resize:Pa[e.base]}:void 0,Fm=(e)=>_a[e.base]?{"scroll-behavior":_a[e.base]}:void 0,jm=(e,t)=>{let n={"scroll-m":["scroll-margin"],"scroll-mx":["scroll-margin-left","scroll-margin-right"],"scroll-my":["scroll-margin-top","scroll-margin-bottom"],"scroll-mt":["scroll-margin-top"],"scroll-mr":["scroll-margin-right"],"scroll-mb":["scroll-margin-bottom"],"scroll-ml":["scroll-margin-left"]}[e.utility];if(!n||!e.value)return;let i=t.theme.spacing[e.value];if(i===void 0&&e.arbitrary)i=e.value;if(i===void 0&&/^\d+(?:\.\d+)?$/.test(e.value))i=`${Number.parseFloat(e.value)*0.25}rem`;if(i===void 0)return;let o={};for(let s of n)o[s]=i;return o},Dm=(e,t)=>{let n={"scroll-p":["scroll-padding"],"scroll-px":["scroll-padding-left","scroll-padding-right"],"scroll-py":["scroll-padding-top","scroll-padding-bottom"],"scroll-pt":["scroll-padding-top"],"scroll-pr":["scroll-padding-right"],"scroll-pb":["scroll-padding-bottom"],"scroll-pl":["scroll-padding-left"]}[e.utility];if(!n||!e.value)return;let i=t.theme.spacing[e.value];if(i===void 0&&e.arbitrary)i=e.value;if(i===void 0&&/^\d+(?:\.\d+)?$/.test(e.value))i=`${Number.parseFloat(e.value)*0.25}rem`;if(i===void 0)return;let o={};for(let s of n)o[s]=i;return o},Bm=(e)=>{if(La[e.base])return{"scroll-snap-type":La[e.base]};if(Ma[e.base])return{"--tc-scroll-snap-strictness":Ma[e.base]};if(Fa[e.base])return{"scroll-snap-align":Fa[e.base]};if(ja[e.base])return{"scroll-snap-stop":ja[e.base]}},Um=(e)=>Da[e.base]?{"touch-action":Da[e.base]}:void 0,Vm=(e)=>Ba[e.base]?{"user-select":Ba[e.base]}:void 0,Wm=(e)=>Ua[e.base]?{"will-change":Ua[e.base]}:void 0,zm=(e,t)=>{if(e.utility==="fill"&&e.value){if(e.value==="none")return{fill:"none"};let r=z(e.value,t,e.modifierArbitrary);if(r)return{fill:r}}},Km=(e,t)=>{if(e.utility==="stroke"&&e.value){if(e.value==="none")return{stroke:"none"};let r=z(e.value,t,e.modifierArbitrary);if(r)return{stroke:r}}},Gm=(e)=>{if(e.utility==="stroke"&&e.value){if(e.arbitrary||/^\d+(?:\.\d+)?$/.test(e.value))return{"stroke-width":e.value};return}},Hm=(e)=>{if(e.utility==="stroke-dasharray"&&e.value){if(e.value==="none")return{"stroke-dasharray":"none"};if(e.arbitrary||/^\d+(?:\.\d+)?$/.test(e.value))return{"stroke-dasharray":e.value};return}},qm=(e)=>{if(e.utility==="stroke-dashoffset"&&e.value){if(e.arbitrary||/^-?\d+(?:\.\d+)?$/.test(e.value))return{"stroke-dashoffset":e.value};return}},Ym=(e)=>Va[e.base]?{"stroke-linecap":Va[e.base]}:void 0,Jm=(e)=>Wa[e.base]?{"stroke-linejoin":Wa[e.base]}:void 0,Xm=(e)=>{if(e.base==="sr-only")return{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)","white-space":"nowrap","border-width":"0"};if(e.base==="not-sr-only")return{position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",clip:"auto","white-space":"normal"};return},Zm=(e)=>za[e.base]?{"forced-color-adjust":za[e.base]}:void 0,Ja=[Cm,Rm,km,Sm,Am,Em,Tm,Nm,Ga,Om,Ga,Pm,_m,Lm,Mm,Fm,jm,Dm,Bm,Um,Vm,Wm,zm,Km,Gm,Hm,qm,Ym,Jm,Xm,Zm];function $e(e,t){let r=e/t*100;if(!Number.isFinite(r))return;return`${Qm(r)}%`}function Qm(e){if(Number.isInteger(e))return String(e);return e.toFixed(6).replace(/\.?0+$/,"")}var Xa={"column-fill-auto":"auto","column-fill-balance":"balance","column-fill-balance-all":"balance-all"},Za={"column-span-all":"all","column-span-none":"none"},Qa={"box-decoration-clone":"clone","box-decoration-slice":"slice"},el={"box-border":"border-box","box-content":"content-box"},tl={"float-start":"inline-start","float-end":"inline-end","float-right":"right","float-left":"left","float-none":"none"},rl={"clear-start":"inline-start","clear-end":"inline-end","clear-left":"left","clear-right":"right","clear-both":"both","clear-none":"none"},nl={isolate:"isolate","isolation-auto":"auto"},il={"object-contain":"contain","object-cover":"cover","object-fill":"fill","object-none":"none","object-scale-down":"scale-down"},ol={"object-bottom":"bottom","object-center":"center","object-left":"left","object-left-bottom":"left bottom","object-left-top":"left top","object-right":"right","object-right-bottom":"right bottom","object-right-top":"right top","object-top":"top"},sl={"overscroll-auto":"auto","overscroll-contain":"contain","overscroll-none":"none","overscroll-x-auto":"auto","overscroll-x-contain":"contain","overscroll-x-none":"none","overscroll-y-auto":"auto","overscroll-y-contain":"contain","overscroll-y-none":"none"},al={visible:"visible",invisible:"hidden",collapse:"collapse"},ep=(e)=>{if(e.utility==="aspect"&&e.value){let t={auto:"auto",square:"1 / 1",video:"16 / 9"};if(t[e.value])return{"aspect-ratio":t[e.value]};if(e.arbitrary)return{"aspect-ratio":e.value};let r=e.value.match(/^(\d+(?:\.\d+)?)\/(\d+(?:\.\d+)?)$/);if(r)return{"aspect-ratio":`${r[1]} / ${r[2]}`};if(/^\d+(?:\.\d+)?$/.test(e.value))return{"aspect-ratio":e.value};return}},tp=(e,t)=>{if(e.utility==="columns"&&e.value){let r={"1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","7":"7","8":"8","9":"9","10":"10","11":"11","12":"12",auto:"auto"},n={"3xs":"16rem","2xs":"18rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem"};if(r[e.value])return{columns:r[e.value]};if(n[e.value])return{columns:n[e.value]};if(t.theme.spacing[e.value])return{columns:t.theme.spacing[e.value]};if(e.arbitrary||/^\d+$/.test(e.value))return{columns:e.value};return}},rp=(e)=>Xa[e.base]?{"column-fill":Xa[e.base]}:void 0,np=(e,t)=>{if(e.utility==="column-gap"&&e.value){let r=t.theme.spacing[e.value];if(r===void 0&&e.arbitrary)r=e.value;if(r===void 0&&/^\d+(?:\.\d+)?$/.test(e.value))r=`${Number.parseFloat(e.value)*0.25}rem`;return r!==void 0?{"column-gap":r}:void 0}},ip=(e,t)=>{if(e.utility==="column-rule"&&e.value){let r={"0":"0px","1":"1px","2":"2px","4":"4px","8":"8px"};if(r[e.value])return{"column-rule-width":r[e.value]};let n=e.value.split("-");if(n.length===2){let[s,l]=n,a=t.theme.colors[s];if(typeof a==="object"&&a[l])return{"column-rule-color":W(e.value,a[l],s,t.colorVariables)}}let i=t.theme.colors[e.value];if(typeof i==="string")return{"column-rule-color":W(e.value,i,e.value,t.colorVariables)};if(typeof i==="object"&&i!==null&&typeof i.DEFAULT==="string")return{"column-rule-color":W(e.value,i.DEFAULT,e.value,t.colorVariables)};let o={solid:"solid",dashed:"dashed",dotted:"dotted",double:"double",hidden:"hidden",none:"none"};if(o[e.value])return{"column-rule-style":o[e.value]}}},op=(e)=>Za[e.base]?{"column-span":Za[e.base]}:void 0,sp=(e)=>({"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-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-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"}})[e.base],ap=(e)=>Qa[e.base]?{"box-decoration-break":Qa[e.base]}:void 0,lp=(e)=>el[e.base]?{"box-sizing":el[e.base]}:void 0,cp=(e)=>tl[e.base]?{float:tl[e.base]}:void 0,up=(e)=>rl[e.base]?{clear:rl[e.base]}:void 0,fp=(e)=>nl[e.base]?{isolation:nl[e.base]}:void 0,ll=["size","inline-size","layout","paint","style"],dp=ll.map((e)=>`var(--tc-contain-${e}, )`).join(" "),hp=["none","content","strict"],gp=(e)=>{if(e.utility!=="contain"||!e.value)return;if(e.arbitrary)return{contain:e.value};if(hp.includes(e.value))return{contain:e.value};if(ll.includes(e.value))return{[`--tc-contain-${e.value}`]:e.value,contain:dp};return},mp=(e)=>il[e.base]?{"object-fit":il[e.base]}:void 0,pp=(e)=>ol[e.base]?{"object-position":ol[e.base]}:void 0,yp=(e)=>{if(e.utility==="overflow"){let t=["auto","hidden","clip","visible","scroll"];if(e.value&&t.includes(e.value))return{overflow:e.value}}if(e.utility==="overflow-x"||e.utility==="overflow-y"){let t=["auto","hidden","clip","visible","scroll"];if(e.value&&t.includes(e.value))return{[e.utility]:e.value}}},bp=(e)=>{let t=e.base.startsWith("overscroll-x")?"overscroll-behavior-x":e.base.startsWith("overscroll-y")?"overscroll-behavior-y":"overscroll-behavior";return sl[e.base]?{[t]:sl[e.base]}:void 0},xp=(e)=>{if(["static","fixed","absolute","relative","sticky"].includes(e.utility))return{position:e.utility}},vp=(e,t)=>{let n={inset:["top","right","bottom","left"],"inset-x":["left","right"],"inset-y":["top","bottom"],top:["top"],right:["right"],bottom:["bottom"],left:["left"],start:["inset-inline-start"],end:["inset-inline-end"]}[e.utility];if(!n||!e.value)return;let i=(l)=>{if(l.includes("/")&&!e.arbitrary){let[c,u]=l.split("/").map(Number);if(!Number.isNaN(c)&&!Number.isNaN(u)&&u!==0)return $e(c,u);return}if(l==="full")return"100%";if(l==="auto")return"auto";if(e.arbitrary)return l;let a=t.theme.spacing[l];if(a!==void 0)return a;if(/^\d+(?:\.\d+)?$/.test(l))return`${Number.parseFloat(l)*0.25}rem`;return},o;if(e.value.startsWith("-")){let l=e.value.slice(1),a=i(l);if(a===void 0)o=void 0;else if(a.endsWith("%"))o=`${-Number.parseFloat(a)}%`;else o=a.startsWith("-")?a:`-${a}`}else o=i(e.value);if(o===void 0)return;let s={};for(let l of n)s[l]=o;return s},wp=(e)=>al[e.utility]?{visibility:al[e.utility]}:void 0,$p=(e)=>{if(e.utility==="z"&&e.value){if(e.arbitrary||e.value==="auto"||/^-?\d+$/.test(e.value))return{"z-index":e.value};return}},cl=[ep,tp,rp,np,ip,op,sp,ap,lp,cp,up,gp,fp,mp,pp,yp,bp,xp,vp,wp,$p];var Cp={rotate:"rotate","rotate-x":"rotateX","rotate-y":"rotateY","rotate-z":"rotateZ"},Rp={"translate-x":"translateX","translate-y":"translateY","translate-z":"translateZ"},ul={"backface-visible":"visible","backface-hidden":"hidden"},fl={"transform-flat":"flat","transform-3d":"preserve-3d"},dl={"transition-none":"none","transition-all":"all",transition:"color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter","transition-colors":"color, background-color, border-color, text-decoration-color, fill, stroke","transition-opacity":"opacity","transition-shadow":"box-shadow","transition-transform":"transform"},hl={"ease-linear":"linear","ease-in":"cubic-bezier(0.4, 0, 1, 1)","ease-out":"cubic-bezier(0, 0, 0.2, 1)","ease-in-out":"cubic-bezier(0.4, 0, 0.2, 1)","ease-initial":"initial"},gl={"transition-normal":"normal","transition-discrete":"allow-discrete","transition-behavior-normal":"normal","transition-behavior-allow-discrete":"allow-discrete"},ml={none:"none",spin:"spin 1s linear infinite",ping:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",pulse:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",bounce:"bounce 1s infinite"},pl={"animate-running":"running","animate-paused":"paused"},yl={"animate-normal":"normal","animate-reverse":"reverse","animate-alternate":"alternate","animate-alternate-reverse":"alternate-reverse"},bl={"animate-fill-none":"none","animate-fill-forwards":"forwards","animate-fill-backwards":"backwards","animate-fill-both":"both"},xl={"animate-ease-linear":"linear","animate-ease-in":"cubic-bezier(0.4, 0, 1, 1)","animate-ease-out":"cubic-bezier(0, 0, 0.2, 1)","animate-ease-in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},vl="rotate(var(--tc-rotate, 0deg)) skewX(var(--tc-skew-x, 0deg)) skewY(var(--tc-skew-y, 0deg)) scaleX(var(--tc-scale-x, 1)) scaleY(var(--tc-scale-y, 1))",Lt=`translate(var(--tc-translate-x, 0), var(--tc-translate-y, 0)) ${vl}`,Ri=`translate3d(var(--tc-translate-x, 0), var(--tc-translate-y, 0), 0) ${vl}`,kp={transform:Lt,"transform-cpu":Lt,"transform-gpu":Ri,"transform-none":"none"},Sp=(e)=>{let t=kp[e.base];return t?{transform:t}:void 0};function Vr(e,t){if(!t.value)return{transform:`${e}(1)`};if(t.arbitrary)return{transform:`${e}(${t.value})`};if(/^-?\d+(?:\.\d+)?$/.test(t.value))return{transform:`${e}(${Number(t.value)/100})`};return}function Ci(e){let t=e.value;if(e.arbitrary)return t;if(/^-?\d+(?:\.\d+)?$/.test(t))return`${t}deg`;if(/^-?\d+(?:\.\d+)?(?:deg|rad|grad|turn)$/.test(t))return t;return}var Ap=(e)=>{if(e.utility==="scale")return Vr("scale",e);if(e.utility==="scale-x")return Vr("scaleX",e);if(e.utility==="scale-y")return Vr("scaleY",e);if(e.utility==="scale-z")return Vr("scaleZ",e)},Ep=(e)=>{if(!e.value)return;let t=Cp[e.utility];if(!t)return;let r=Ci(e);return r!==void 0?{transform:`${t}(${r})`}:void 0},Tp=(e,t)=>{let r=(o)=>{if(o.includes("/")){let[l,a]=o.split("/");return $e(Number(l),Number(a))}if(o==="full")return"100%";if(o==="half")return"50%";if(e.arbitrary)return o;let s=t.theme.spacing[o];if(s!==void 0)return s;if(/^\d+(?:\.\d+)?$/.test(o))return`${Number.parseFloat(o)*0.25}rem`;return},n=Rp[e.utility];if(!n||!e.value)return;let i;if(e.value.startsWith("-")){let o=r(e.value.slice(1));i=o===void 0?void 0:`-${o}`}else i=r(e.value);return i!==void 0?{transform:`${n}(${i})`}:void 0},Np=(e)=>{if(e.utility==="skew-x"&&e.value){let t=Ci(e);return t!==void 0?{transform:`skewX(${t})`}:void 0}if(e.utility==="skew-y"&&e.value){let t=Ci(e);return t!==void 0?{transform:`skewY(${t})`}:void 0}},Op=(e)=>{if(e.utility==="origin"&&e.value){if(e.arbitrary)return{"transform-origin":e.value.replace(/_/g," ")};let t={center:"center",top:"top","top-right":"top right",right:"right","bottom-right":"bottom right",bottom:"bottom","bottom-left":"bottom left",left:"left","top-left":"top left"};return t[e.value]?{"transform-origin":t[e.value]}:void 0}return},Ip={dramatic:"100px",near:"300px",normal:"500px",midrange:"800px",distant:"1200px"},Pp=(e)=>{if(e.utility==="perspective"&&e.value){if(e.value==="none")return{perspective:"none"};if(e.arbitrary||/^\d+(?:\.\d+)?(?:px|rem|em)$/.test(e.value))return{perspective:e.value};let t=Ip[e.value];if(t)return{perspective:t};if(/^\d+(?:\.\d+)?$/.test(e.value))return{perspective:`${e.value}px`};return}return},_p=(e)=>{if(e.utility==="perspective-origin"&&e.value)return{"perspective-origin":{center:"center",top:"top","top-right":"top right",right:"right","bottom-right":"bottom right",bottom:"bottom","bottom-left":"bottom left",left:"left","top-left":"top left"}[e.value]||e.value}},Lp=(e)=>ul[e.base]?{"backface-visibility":ul[e.base]}:void 0,Mp=(e)=>fl[e.base]?{"transform-style":fl[e.base]}:void 0,Fp=(e)=>dl[e.base]?{"transition-property":dl[e.base]}:void 0;function Wr(e,t){let r=e.value;if(t[r])return t[r];if(e.arbitrary)return r;if(/^\d+(?:\.\d+)?$/.test(r))return`${r}ms`;return}var jp=(e)=>{if(e.utility==="duration"&&e.value){let r=Wr(e,{"0":"0s","75":"75ms","100":"100ms","150":"150ms","200":"200ms","300":"300ms","500":"500ms","700":"700ms","1000":"1000ms"});return r!==void 0?{"transition-duration":r}:void 0}},Dp=(e)=>hl[e.base]?{"transition-timing-function":hl[e.base]}:void 0,Bp=(e)=>{if(e.utility==="delay"&&e.value){let r=Wr(e,{"0":"0s","75":"75ms","100":"100ms","150":"150ms","200":"200ms","300":"300ms","500":"500ms","700":"700ms","1000":"1000ms"});return r!==void 0?{"transition-delay":r}:void 0}},Up=(e)=>gl[e.base]?{"transition-behavior":gl[e.base]}:void 0,Vp=(e)=>{if(e.utility!=="animate")return;if(e.arbitrary&&e.value)return{animation:e.value.replace(/_/g," ")};if(e.value&&ml[e.value])return{animation:ml[e.value]};return},Wp=(e)=>pl[e.base]?{"animation-play-state":pl[e.base]}:void 0,zp=(e)=>yl[e.base]?{"animation-direction":yl[e.base]}:void 0,Kp=(e)=>bl[e.base]?{"animation-fill-mode":bl[e.base]}:void 0,Gp=(e)=>{if(e.utility==="animate-iteration"&&e.value){if(e.value==="infinite"||e.arbitrary||/^\d+(?:\.\d+)?$/.test(e.value))return{"animation-iteration-count":e.value};return}},Hp=(e)=>{if(e.utility==="animate-duration"&&e.value){let r=Wr(e,{"75":"75ms","100":"100ms","150":"150ms","200":"200ms","300":"300ms","500":"500ms","700":"700ms","1000":"1000ms"});return r!==void 0?{"animation-duration":r}:void 0}},qp=(e)=>{if(e.utility==="animate-delay"&&e.value){let r=Wr(e,{"75":"75ms","100":"100ms","150":"150ms","200":"200ms","300":"300ms","500":"500ms","700":"700ms","1000":"1000ms"});return r!==void 0?{"animation-delay":r}:void 0}},Yp=(e)=>xl[e.base]?{"animation-timing-function":xl[e.base]}:void 0,wl=[Sp,Ap,Ep,Tp,Np,Op,Pp,_p,Lp,Mp,Fp,Up,jp,Dp,Bp,Vp,Wp,zp,Kp,Gp,Hp,qp,Yp];var $l={italic:"italic","not-italic":"normal"},Cl={"normal-nums":"normal",ordinal:"ordinal","slashed-zero":"slashed-zero","lining-nums":"lining-nums","oldstyle-nums":"oldstyle-nums","proportional-nums":"proportional-nums","tabular-nums":"tabular-nums","diagonal-fractions":"diagonal-fractions","stacked-fractions":"stacked-fractions"},Rl={"list-inside":"inside","list-outside":"outside"},kl={none:"none",disc:"disc",decimal:"decimal"},Sl={underline:"underline",overline:"overline","line-through":"line-through","no-underline":"none"},Al={uppercase:"uppercase",lowercase:"lowercase",capitalize:"capitalize","normal-case":"none"},El={"text-wrap":"wrap","text-nowrap":"nowrap","text-balance":"balance","text-pretty":"pretty"},Tl={"align-baseline":"baseline","align-top":"top","align-middle":"middle","align-bottom":"bottom","align-text-top":"text-top","align-text-bottom":"text-bottom","align-sub":"sub","align-super":"super"},Nl={"whitespace-normal":"normal","whitespace-nowrap":"nowrap","whitespace-pre":"pre","whitespace-pre-line":"pre-line","whitespace-pre-wrap":"pre-wrap","whitespace-break-spaces":"break-spaces"},Ol={"break-all":"break-all","break-keep":"keep-all"},Il={"hyphens-none":"none","hyphens-manual":"manual","hyphens-auto":"auto"},Pl={"writing-horizontal-tb":"horizontal-tb","writing-vertical-rl":"vertical-rl","writing-vertical-lr":"vertical-lr"},_l={"text-orientation-mixed":"mixed","text-orientation-upright":"upright","text-orientation-sideways":"sideways"},Ll={"direction-ltr":"ltr","direction-rtl":"rtl"},Ml={"small-caps":"small-caps","all-small-caps":"all-small-caps","petite-caps":"petite-caps","all-petite-caps":"all-petite-caps",unicase:"unicase","titling-caps":"titling-caps","normal-caps":"normal"},Fl={"ligatures-normal":"normal","ligatures-none":"none","common-ligatures":"common-ligatures","no-common-ligatures":"no-common-ligatures","discretionary-ligatures":"discretionary-ligatures","no-discretionary-ligatures":"no-discretionary-ligatures","historical-ligatures":"historical-ligatures","no-historical-ligatures":"no-historical-ligatures",contextual:"contextual","no-contextual":"no-contextual"},Jp=(e,t)=>{if(e.utility==="font"&&e.value){let r=t.theme.fontFamily[e.value];if(r)return{"font-family":r.join(", ")}}},Xp=(e)=>({antialiased:{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"},"subpixel-antialiased":{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"}})[e.base],Zp=(e)=>$l[e.base]?{"font-style":$l[e.base]}:void 0,Qp=(e)=>{if(e.utility==="font-stretch"&&e.value){if(["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"].includes(e.value))return{"font-stretch":e.value};if(e.arbitrary||/^\d+(?:\.\d+)?%$/.test(e.value))return{"font-stretch":e.value};return}},ey=(e)=>Cl[e.base]?{"font-variant-numeric":Cl[e.base]}:void 0,ty=(e)=>{if(e.utility==="tracking"){let t={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"};if(!e.value)return;if(e.arbitrary)return{"letter-spacing":e.value};if(e.value.startsWith("-")){let r=e.value.slice(1);return t[r]?{"letter-spacing":`-${t[r]}`}:void 0}return t[e.value]?{"letter-spacing":t[e.value]}:void 0}},ry=(e)=>{if(e.utility==="line-clamp"&&e.value){if(e.value==="none")return{overflow:"visible",display:"block","-webkit-box-orient":"horizontal","-webkit-line-clamp":"none"};if(!e.arbitrary&&!/^\d+$/.test(e.value))return;return{overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":e.value}}},ny=(e)=>{if(e.utility==="list-image"&&e.value){if(e.value==="none")return{"list-style-image":"none"};if(e.arbitrary)return{"list-style-image":e.value};return{"list-style-image":`url(${e.value})`}}},iy=(e)=>Rl[e.base]?{"list-style-position":Rl[e.base]}:void 0,oy=(e)=>{if(e.utility!=="list"||!e.value)return;return kl[e.value]?{"list-style-type":kl[e.value]}:void 0},sy=(e,t)=>{if(Sl[e.base])return{"text-decoration-line":Sl[e.base]};if(e.utility==="decoration"&&e.value){let r={solid:"solid",double:"double",dotted:"dotted",dashed:"dashed",wavy:"wavy"};if(r[e.value])return{"text-decoration-style":r[e.value]};let n={auto:"auto","from-font":"from-font","0":"0px","1":"1px","2":"2px","4":"4px","8":"8px"};if(n[e.value])return{"text-decoration-thickness":n[e.value]};if(e.arbitrary)return{"text-decoration-thickness":e.value};let i=z(e.value,t,e.modifierArbitrary);if(i)return{"text-decoration-color":i};return}return},ay=(e)=>{if(e.utility==="underline-offset"&&e.value){let t={auto:"auto",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"};if(t[e.value])return{"text-underline-offset":t[e.value]};if(e.arbitrary)return{"text-underline-offset":e.value};if(/^\d+(?:\.\d+)?$/.test(e.value))return{"text-underline-offset":`${e.value}px`};return}},ly=(e)=>Al[e.base]?{"text-transform":Al[e.base]}:void 0,cy=(e)=>({truncate:{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"},"text-ellipsis":{"text-overflow":"ellipsis"},"text-clip":{"text-overflow":"clip"}})[e.base],uy=(e)=>El[e.base]?{"text-wrap":El[e.base]}:void 0,fy=(e,t)=>{if(e.utility==="indent"&&e.value){if(e.arbitrary)return{"text-indent":e.value};let r=(i)=>{let o=t.theme.spacing[i];if(o!==void 0)return o;if(/^\d+(?:\.\d+)?$/.test(i))return`${Number.parseFloat(i)*0.25}rem`;return};if(e.value.startsWith("-")){let i=r(e.value.slice(1));return i!==void 0?{"text-indent":`-${i}`}:void 0}let n=r(e.value);return n!==void 0?{"text-indent":n}:void 0}},dy=(e)=>Tl[e.base]?{"vertical-align":Tl[e.base]}:void 0,hy=(e)=>Nl[e.base]?{"white-space":Nl[e.base]}:void 0,gy=(e)=>{if(e.base==="break-normal")return{"overflow-wrap":"normal","word-break":"normal"};if(e.base==="break-words")return{"overflow-wrap":"break-word"};return Ol[e.base]?{"word-break":Ol[e.base]}:void 0},my=(e)=>{let t={"overflow-wrap-normal":"normal","overflow-wrap-break":"break-word","overflow-wrap-anywhere":"anywhere","wrap-normal":"normal","wrap-break-word":"break-word","wrap-anywhere":"anywhere"};return t[e.base]?{"overflow-wrap":t[e.base]}:void 0},py=(e)=>{if(e.utility!=="tab"||!e.value)return;if(e.arbitrary||/^\d+$/.test(e.value))return{"tab-size":e.value};return},yy=(e)=>Il[e.base]?{hyphens:Il[e.base]}:void 0,by=(e)=>{if(e.utility==="content"&&e.value){let t={none:"none"};if(t[e.value]||e.value.startsWith('"')||e.value.startsWith("'"))return{content:t[e.value]||e.value};if(e.arbitrary)return{content:e.value};return}},xy=(e,t)=>{if(e.utility==="leading"){if(!e.value)return;let r={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"};if(r[e.value])return{"line-height":r[e.value]};if(e.arbitrary)return{"line-height":e.value};if(/^\d+(?:\.\d+)?$/.test(e.value))return{"line-height":`${Number.parseFloat(e.value)*0.25}rem`};return}},vy=(e)=>Pl[e.base]?{"writing-mode":Pl[e.base]}:void 0,wy=(e)=>_l[e.base]?{"text-orientation":_l[e.base]}:void 0,$y=(e)=>Ll[e.base]?{direction:Ll[e.base]}:void 0,Cy=(e)=>{if(e.utility==="text-emphasis"&&e.value){let t={none:"none",filled:"filled",open:"open",dot:"dot",circle:"circle","double-circle":"double-circle",triangle:"triangle",sesame:"sesame"};if(t[e.value])return{"text-emphasis":t[e.value]};return e.arbitrary?{"text-emphasis":e.value}:void 0}},Ry=(e,t)=>{if(e.utility==="text-emphasis-color"&&e.value){let r=e.value.split("-");if(r.length===2){let[i,o]=r,s=t.theme.colors[i];if(typeof s==="object"&&s[o])return{"text-emphasis-color":W(e.value,s[o],i,t.colorVariables)}}let n=t.theme.colors[e.value];if(typeof n==="string")return{"text-emphasis-color":W(e.value,n,e.value,t.colorVariables)};if(typeof n==="object"&&n!==null&&typeof n.DEFAULT==="string")return{"text-emphasis-color":W(e.value,n.DEFAULT,e.value,t.colorVariables)}}},ky=(e,t)=>{if(e.utility==="word-spacing"&&e.value){let r={tighter:"-0.05em",tight:"-0.025em",normal:"normal",wide:"0.025em",wider:"0.05em",widest:"0.1em"};if(r[e.value])return{"word-spacing":r[e.value]};if(t.theme.spacing[e.value])return{"word-spacing":t.theme.spacing[e.value]};if(e.arbitrary)return{"word-spacing":e.value};return}},Sy=(e)=>Ml[e.base]?{"font-variant-caps":Ml[e.base]}:void 0,Ay=(e)=>Fl[e.base]?{"font-variant-ligatures":Fl[e.base]}:void 0,jl=[Jp,Xp,Zp,Qp,ey,Sy,Ay,ty,xy,ry,ny,iy,oy,sy,ay,ly,cy,uy,fy,dy,hy,gy,my,py,yy,by,vy,wy,$y,Cy,Ry,ky];var Dl={"flex-row":"row","flex-row-reverse":"row-reverse","flex-col":"column","flex-col-reverse":"column-reverse"},Bl={"flex-wrap":"wrap","flex-wrap-reverse":"wrap-reverse","flex-nowrap":"nowrap"},ki={0:"0px",2:"2px",4:"4px",8:"8px"},Ey=(e)=>{if(["block","inline-block","inline","flex","inline-flex","grid","inline-grid","hidden","none","contents","flow-root","list-item"].includes(e.utility)&&!e.value)return{display:e.utility==="hidden"?"none":e.utility};if(e.utility==="table"){if(!e.value)return{display:"table"};if(new Set(["cell","row","row-group","column","column-group","header-group","footer-group","caption"]).has(e.value))return{display:`table-${e.value}`}}if(e.utility==="inline"&&e.value==="table")return{display:"inline-table"};if(e.utility==="flow"&&e.value==="root")return{display:"flow-root"};if(e.utility==="list"&&e.value==="item")return{display:"list-item"}},Ty=(e)=>{if(e.utility==="scrollbar"&&e.value){let r={auto:"auto",thin:"thin",none:"none"}[e.value];if(r)return{"scrollbar-width":r}}},Ny=(e)=>{if(e.utility==="content"){if(e.value==="none")return{content:"none"};if(e.value==="empty")return{content:'""'};if(e.arbitrary&&e.value)return{content:e.value}}},Oy=(e)=>{if(e.utility==="@container")return{"container-type":"inline-size"};if(e.utility==="@container-normal")return{"container-type":"normal"};if(e.utility.startsWith("@container/"))return{"container-type":"inline-size","container-name":e.utility.slice(11)}},Iy=(e)=>Dl[e.utility]?{"flex-direction":Dl[e.utility]}:void 0,Py=(e)=>Bl[e.utility]?{"flex-wrap":Bl[e.utility]}:void 0,_y=(e)=>{if(e.utility==="flex"||e.utility.startsWith("flex-")){let t={"flex-1":"1 1 0%","flex-auto":"1 1 auto","flex-initial":"0 1 auto","flex-none":"none"};if(t[e.utility])return{flex:t[e.utility]};if(e.utility==="flex"&&e.arbitrary&&e.value)return{flex:e.value.replace(/_/g," ")}}return},Ly=(e)=>{if(e.utility==="flex-grow"&&!e.value)return{"flex-grow":"1"};if(e.utility==="flex-grow"&&e.value)return{"flex-grow":e.value}},My=(e)=>{if(e.utility==="flex-shrink"&&!e.value)return{"flex-shrink":"1"};if(e.utility==="flex-shrink"&&e.value)return{"flex-shrink":e.value}},Fy=(e)=>{if(e.utility==="justify"&&e.value){let t={start:"flex-start",end:"flex-end",center:"center",between:"space-between",around:"space-around",evenly:"space-evenly"};if(t[e.value])return{"justify-content":t[e.value]};if(e.arbitrary)return{"justify-content":e.value}}return},jy=(e)=>{if(e.utility==="items"&&e.value){let t={start:"flex-start",end:"flex-end",center:"center",baseline:"baseline",stretch:"stretch"};if(t[e.value])return{"align-items":t[e.value]};if(e.arbitrary)return{"align-items":e.value}}return},Dy=(e)=>{if(e.utility==="justify"&&e.value&&e.value.startsWith("items-")){let t={"items-start":"start","items-end":"end","items-center":"center","items-stretch":"stretch","items-center-safe":"safe center","items-end-safe":"safe end"};return t[e.value]?{"justify-items":t[e.value]}:void 0}return},By=(e)=>{if(e.utility==="content"&&e.value){let t={normal:"normal",center:"center",start:"flex-start",end:"flex-end",between:"space-between",around:"space-around",evenly:"space-evenly",baseline:"baseline",stretch:"stretch"};return t[e.value]?{"align-content":t[e.value]}:void 0}return},Uy=(e,t)=>{let n={p:["padding"],px:["padding-left","padding-right"],py:["padding-top","padding-bottom"],pt:["padding-top"],pr:["padding-right"],pb:["padding-bottom"],pl:["padding-left"],ps:["padding-inline-start"],pe:["padding-inline-end"],m:["margin"],mx:["margin-left","margin-right"],my:["margin-top","margin-bottom"],mt:["margin-top"],mr:["margin-right"],mb:["margin-bottom"],ml:["margin-left"],ms:["margin-inline-start"],me:["margin-inline-end"]}[e.utility];if(!n||!e.value)return;let i=(l)=>{if(l==="auto")return e.utility.charCodeAt(0)===109?"auto":void 0;let a=t.theme.spacing[l];if(a!==void 0)return a;if(e.arbitrary)return l;if(/^\d+(?:\.\d+)?$/.test(l)){let c=Number.parseFloat(l);if(Number.isFinite(c))return`${c*0.25}rem`}return},o;if(e.value.startsWith("-")){if(e.utility.charCodeAt(0)===112)return;let l=e.value.slice(1);if(l==="0")o=t.theme.spacing[l]||"0";else{let a=i(l);o=a===void 0?void 0:`-${a}`}}else o=i(e.value);if(o===void 0)return;let s={};for(let l of n)s[l]=o;return s};function pe(e,t,r){let n=e.value;if(n.includes("/")&&!e.arbitrary){let[o,s]=n.split("/").map(Number);if(Number.isNaN(o)||Number.isNaN(s)||s===0)return;return $e(o,s)}let i=t.theme.spacing[n];if(i!==void 0)return i;if(r[n])return r[n];if(e.arbitrary)return n;if(/^\d+(?:\.\d+)?$/.test(n))return`${Number.parseFloat(n)*0.25}rem`;return}var Vy=(e,t)=>{if(e.utility==="w"&&e.value){let n=pe(e,t,{full:"100%",screen:"100vw",svw:"100svw",lvw:"100lvw",dvw:"100dvw",auto:"auto",min:"min-content",max:"max-content",fit:"fit-content"});return n!==void 0?{width:n}:void 0}if(e.utility==="h"&&e.value){let n=pe(e,t,{full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",auto:"auto",min:"min-content",max:"max-content",fit:"fit-content"});return n!==void 0?{height:n}:void 0}if(e.utility==="size"&&e.value){let n=pe(e,t,{full:"100%",auto:"auto",min:"min-content",max:"max-content",fit:"fit-content"});return n!==void 0?{width:n,height:n}:void 0}return},je=null,zr=null,Kr,Wy={bg:"background-color",text:"color",border:"border-color"},zy={bg:{color:"background-color",image:"background-image",url:"background-image",position:"background-position",length:"background-size"},text:{color:"color",length:"font-size","absolute-size":"font-size","relative-size":"font-size","family-name":"font-family"},border:{color:"border-color",length:"border-width","line-width":"border-width"}},Ky=new Set(["length","absolute-size","relative-size","percentage","number"]),Gy=/^(?:url|(?:repeating-)?(?:linear|radial|conic)-gradient|image-set|-webkit-image-set|cross-fade|element|paint)\(/i,Vl={current:"currentColor",transparent:"transparent",inherit:"inherit"};function W(e,t,r,n){return n?.includes(r)?`var(--color-${e}, ${t})`:t}function Wl(e,t){let r=new Map;for(let[n,i]of Object.entries(e))if(typeof i==="string")r.set(n,W(n,i,n,t));else if(typeof i==="object"&&i!==null){for(let[o,s]of Object.entries(i))if(typeof s==="string"){let l=o==="DEFAULT"?n:`${n}-${o}`;r.set(l,W(l,s,n,t))}}return r}var Hy=(e,t)=>{let r=Wy[e.utility];if(!r||!e.value)return;let n=e.value;if(e.arbitrary&&e.typeHint){let c=zy[e.utility]?.[e.typeHint];return c?{[c]:n}:void 0}if(e.arbitrary&&e.utility==="bg"&&Gy.test(n))return{"background-image":n};if(je===null||zr!==t.theme.colors||Kr!==t.colorVariables)je=Wl(t.theme.colors,t.colorVariables),zr=t.theme.colors,Kr=t.colorVariables;let i=Oe(n);if(i===-1){let c=je.get(n);if(c)return{[r]:c}}let o,s=n;if(i!==-1){s=n.slice(0,i);let c=n.slice(i+1);if(c.charCodeAt(0)===91&&c.charCodeAt(c.length-1)===93){let f=Number.parseFloat(c.slice(1,-1));if(Number.isNaN(f)||f<0||f>1)return;o=f}else if(e.modifierArbitrary){let f=Number.parseFloat(c);if(Number.isNaN(f)||f<0||f>1)return;o=f}else{let f=Number.parseInt(c,10);if(Number.isNaN(f)||f<0||f>100)return;o=f/100}let u=je.get(s);if(u)return{[r]:we(u,o)}}let l=Vl[s];if(l)return{[r]:l};if((e.arbitrary||s&&s.charCodeAt(0)===91)&&s){let c=o!==void 0?we(s,o):s;return{[r]:c}}return};function we(e,t){let r=e;if(e.charCodeAt(0)===91&&e.charCodeAt(e.length-1)===93)r=e.slice(1,-1);if(r.charCodeAt(0)===35){let n=r.slice(1);if(n.length===3||n.length===4)n=n.split("").map((l)=>l+l).join("");let i=Number.parseInt(n.slice(0,2),16),o=Number.parseInt(n.slice(2,4),16),s=Number.parseInt(n.slice(4,6),16);return`rgb(${i} ${o} ${s} / ${t})`}if(r.charCodeAt(0)===114){let n=r.match(/rgb\((\d+)\s+(\d+)\s+(\d+)/);if(n)return`rgb(${n[1]} ${n[2]} ${n[3]} / ${t})`}if(r.charCodeAt(0)===111){let n=r.match(/oklch\(([^)]+)\)/);if(n)return`oklch(${n[1]} / ${t})`}if(r.charCodeAt(0)===104){let n=r.match(/hsl\(([^)]+)\)/);if(n)return`hsl(${n[1]} / ${t})`}if(r!=="inherit"&&r!=="transparent"){let n=Number((t*100).toFixed(2));return`color-mix(in srgb, ${r} ${n}%, transparent)`}return r}function z(e,t,r=!1){let n=Oe(e),i=e,o;if(n!==-1){i=e.slice(0,n);let f=e.slice(n+1);if(f.charCodeAt(0)===91&&f.charCodeAt(f.length-1)===93){if(o=Number.parseFloat(f.slice(1,-1)),Number.isNaN(o)||o<0||o>1)return}else if(r){if(o=Number.parseFloat(f),Number.isNaN(o)||o<0||o>1)return}else{let d=Number.parseInt(f,10);if(Number.isNaN(d)||d<0||d>100)return;o=d/100}}let s={current:"currentColor",transparent:"transparent",inherit:"inherit",auto:"auto"};if(s[i])return o!==void 0?we(s[i],o):s[i];let l=t.colorVariables,a=t.theme.colors[i],c=typeof a==="string"?W(i,a,i,l):a;if(typeof c==="string")return o!==void 0?we(c,o):c;if(typeof c==="object"&&c!==null&&typeof c.DEFAULT==="string"){let f=W(i,c.DEFAULT,i,l);return o!==void 0?we(f,o):f}let u=i.split("-");if(u.length>=2){let f=u[u.length-1],d=u.slice(0,-1).join("-"),h=t.theme.colors[d];if(typeof h==="object"&&h[f]){let g=W(i,h[f],d,l);return o!==void 0?we(g,o):g}}if(i.startsWith("var(")||i.startsWith("#")||i.startsWith("rgb(")||i.startsWith("rgba(")||i.startsWith("hsl(")||i.startsWith("hsla(")||i.startsWith("oklch(")||i.startsWith("oklab(")||i.startsWith("lab(")||i.startsWith("lch(")||i.startsWith("color(")||i.startsWith("color-mix(")||i.startsWith("hwb("))return o!==void 0?we(i,o):i;return}var qy=(e,t)=>{if(e.utility!=="placeholder"||!e.value)return;if(je===null||zr!==t.theme.colors||Kr!==t.colorVariables)je=Wl(t.theme.colors,t.colorVariables),zr=t.theme.colors,Kr=t.colorVariables;let r=e.value,n=Oe(r);if(n===-1){let o=je.get(r);if(o)return{properties:{color:o},pseudoElement:"::placeholder"}}else{let o=r.slice(0,n),s=r.slice(n+1),l;if(s.charCodeAt(0)===91&&s.charCodeAt(s.length-1)===93){let c=Number.parseFloat(s.slice(1,-1));if(Number.isNaN(c)||c<0||c>1)return;l=c}else if(e.modifierArbitrary){let c=Number.parseFloat(s);if(Number.isNaN(c)||c<0||c>1)return;l=c}else{let c=Number.parseInt(s,10);if(Number.isNaN(c)||c<0||c>100)return;l=c/100}let a=je.get(o);if(a)return{properties:{color:we(a,l)},pseudoElement:"::placeholder"}}let i=Vl[e.value];if(i)return{properties:{color:i},pseudoElement:"::placeholder"};return},Yy=(e,t)=>{if(e.utility==="text"&&e.value){let r=e.value,n,i=r.lastIndexOf("/");if(i!==-1&&!e.value.startsWith("[")&&!r.slice(i+1).includes("]"));if(i!==-1){let s=r.slice(0,i),l=r.slice(i+1);if(l&&(t.theme.fontSize[s]||e.arbitrary)){r=s;let a={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2",3:"0.75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"};n=t.theme.lineHeight?.[l]??a[l]??l}}if(e.arbitrary){if(e.typeHint){if(!Ky.has(e.typeHint))return;let l={"font-size":r};if(n)l["line-height"]=n;return l}if(/^#|^rgb|^hsl|^hwb|^lab|^lch|^oklch|^oklab|^color\(|^var\(--/.test(r))return;let s={"font-size":r};if(n)s["line-height"]=n;return s}let o=t.theme.fontSize[r];if(o)return{"font-size":o[0],"line-height":n??o[1].lineHeight}}},Jy=(e)=>{if(e.utility==="font"&&e.value){if(e.arbitrary){let r=e.typeHint;return r==="family-name"||r==="string"?{"font-family":e.value}:{"font-weight":e.value}}let t={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"};return t[e.value]?{"font-weight":t[e.value]}:void 0}return},Xy=(e)=>{if(e.utility==="leading"&&e.value){if(e.arbitrary)return{"line-height":e.value};let t={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2","3":"0.75rem","4":"1rem","5":"1.25rem","6":"1.5rem","7":"1.75rem","8":"2rem","9":"2.25rem","10":"2.5rem"};return t[e.value]?{"line-height":t[e.value]}:void 0}return},Zy=(e)=>{if(e.utility==="text"&&e.value){let t={left:"left",center:"center",right:"right",justify:"justify"};return t[e.value]?{"text-align":t[e.value]}:void 0}},Qy=(e)=>{if(e.utility==="border"){if(!e.value)return{"border-width":"1px"};let t={0:"0px",2:"2px",4:"4px",8:"8px"};if(t[e.value])return{"border-width":t[e.value]};let r={t:"border-top-width",r:"border-right-width",b:"border-bottom-width",l:"border-left-width",s:"border-inline-start-width",e:"border-inline-end-width"};if(e.value==="x")return{"border-left-width":"1px","border-right-width":"1px"};if(e.value==="y")return{"border-top-width":"1px","border-bottom-width":"1px"};let n=r[e.value];if(typeof n==="string")return{[n]:"1px"};return}},eb=(e,t)=>{let r={"border-t":"border-top-width","border-r":"border-right-width","border-b":"border-bottom-width","border-l":"border-left-width","border-x":["border-left-width","border-right-width"],"border-y":["border-top-width","border-bottom-width"],"border-s":"border-inline-start-width","border-e":"border-inline-end-width"},n={"border-t":"border-top-color","border-r":"border-right-color","border-b":"border-bottom-color","border-l":"border-left-color","border-x":["border-left-color","border-right-color"],"border-y":["border-top-color","border-bottom-color"],"border-s":"border-inline-start-color","border-e":"border-inline-end-color"},i=r[e.utility];if(!i)return;if(!e.value){let s=i;if(Array.isArray(s))return s.reduce((l,a)=>({...l,[a]:"1px"}),{});return{[s]:"1px"}}if(e.arbitrary){let s=e.value,c=(/^#|^(?:rgb|rgba|hsl|hsla|oklch|oklab|lab|lch)\(|^(?:currentColor|transparent|inherit)$/i.test(s)?n[e.utility]:i)??i;if(Array.isArray(c))return c.reduce((u,f)=>({...u,[f]:s}),{});return{[c]:s}}if(ki[e.value]){let s=i;if(Array.isArray(s))return s.reduce((l,a)=>({...l,[a]:ki[e.value]}),{});return{[s]:ki[e.value]}}let o=n[e.utility];if(o&&t){let s=e.value.split("-");if(s.length>=2){let a=s[s.length-1],c=s.slice(0,-1).join("-"),u=t.theme.colors[c];if(u&&typeof u==="object"&&u[a]){let f=o,d=W(e.value,u[a],c,t.colorVariables);if(Array.isArray(f))return f.reduce((h,g)=>({...h,[g]:d}),{});return{[f]:d}}}let l=t.theme.colors[e.value];if(typeof l==="string"){let a=o;if(Array.isArray(a))return a.reduce((c,u)=>({...c,[u]:l}),{});return{[a]:l}}if(l&&typeof l==="object"&&typeof l.DEFAULT==="string"){let a=o;if(Array.isArray(a))return a.reduce((c,u)=>({...c,[u]:l.DEFAULT}),{});return{[a]:l.DEFAULT}}if(e.value==="transparent"||e.value==="current"||e.value==="inherit"){let a=e.value==="current"?"currentColor":e.value,c=o;if(Array.isArray(c))return c.reduce((u,f)=>({...u,[f]:a}),{});return{[c]:a}}}return};function Xe(e,t){if(!e.value)return t.theme.borderRadius.DEFAULT;if(t.theme.borderRadius[e.value]!==void 0)return t.theme.borderRadius[e.value];if(e.arbitrary)return e.value;return}var Ul={t:["border-top-left-radius","border-top-right-radius"],r:["border-top-right-radius","border-bottom-right-radius"],b:["border-bottom-left-radius","border-bottom-right-radius"],l:["border-top-left-radius","border-bottom-left-radius"],tl:["border-top-left-radius"],tr:["border-top-right-radius"],bl:["border-bottom-left-radius"],br:["border-bottom-right-radius"],s:["border-start-start-radius","border-end-start-radius"],e:["border-start-end-radius","border-end-end-radius"],ss:["border-start-start-radius"],se:["border-start-end-radius"],es:["border-end-start-radius"],ee:["border-end-end-radius"]},tb=(e,t)=>{if(e.utility==="rounded"){if(e.arbitrary&&e.value)return{"border-radius":e.value};if(e.value&&Ul[e.value]){let o=t.theme.borderRadius.DEFAULT,s={};for(let l of Ul[e.value])s[l]=o;return s}let i=e.value?t.theme.borderRadius[e.value]:t.theme.borderRadius.DEFAULT;return i?{"border-radius":i}:void 0}if(e.utility==="rounded-s"){let i=Xe(e,t);if(i===void 0)return;return{"border-start-start-radius":i,"border-end-start-radius":i}}if(e.utility==="rounded-e"){let i=Xe(e,t);if(i===void 0)return;return{"border-start-end-radius":i,"border-end-end-radius":i}}if(e.utility==="rounded-ss"){let i=Xe(e,t);if(i===void 0)return;return{"border-start-start-radius":i}}if(e.utility==="rounded-se"){let i=Xe(e,t);if(i===void 0)return;return{"border-start-end-radius":i}}if(e.utility==="rounded-es"){let i=Xe(e,t);if(i===void 0)return;return{"border-end-start-radius":i}}if(e.utility==="rounded-ee"){let i=Xe(e,t);if(i===void 0)return;return{"border-end-end-radius":i}}let n={"rounded-t":["border-top-left-radius","border-top-right-radius"],"rounded-r":["border-top-right-radius","border-bottom-right-radius"],"rounded-b":["border-bottom-left-radius","border-bottom-right-radius"],"rounded-l":["border-top-left-radius","border-bottom-left-radius"],"rounded-tl":["border-top-left-radius"],"rounded-tr":["border-top-right-radius"],"rounded-bl":["border-bottom-left-radius"],"rounded-br":["border-bottom-right-radius"]}[e.utility];if(n){let i=Xe(e,t);if(i===void 0)return;let o={};for(let s of n)o[s]=i;return o}},Si=[pi,Aa,Uy,Vy,By,Yy,Zy,...jl,Jy,Xy,...wa,...va,...bi,qy,Hy,...la,...cl,Iy,Py,_y,Ly,My,Fy,jy,Dy,...ka,...wl,...bi,...Ja,...Ca,eb,Qy,tb,Oy,Ty,Ny,Ey];function Ni(e,t){let r={...e};for(let n in t){let i=t[n],o=r[n];if(i&&typeof i==="object"&&!Array.isArray(i)&&o&&typeof o==="object"&&!Array.isArray(o))r[n]=Ni(o,i);else if(i!==void 0)r[n]=i}return r}var rb={block:{display:"block"},"inline-block":{display:"inline-block"},inline:{display:"inline"},flex:{display:"flex"},"inline-flex":{display:"inline-flex"},grid:{display:"grid"},"inline-grid":{display:"inline-grid"},hidden:{display:"none"},none:{display:"none"}},nb={"flex-row":{"flex-direction":"row"},"flex-row-reverse":{"flex-direction":"row-reverse"},"flex-col":{"flex-direction":"column"},"flex-col-reverse":{"flex-direction":"column-reverse"}},ib={"flex-wrap":{"flex-wrap":"wrap"},"flex-wrap-reverse":{"flex-wrap":"wrap-reverse"},"flex-nowrap":{"flex-wrap":"nowrap"}},ob={"flex-1":{flex:"1 1 0%"},"flex-auto":{flex:"1 1 auto"},"flex-initial":{flex:"0 1 auto"},"flex-none":{flex:"none"}},sb={grow:{"flex-grow":"1"},"grow-0":{"flex-grow":"0"},shrink:{"flex-shrink":"1"},"shrink-0":{"flex-shrink":"0"}},ab={start:"flex-start",end:"flex-end",center:"center",between:"space-between",around:"space-around",evenly:"space-evenly","center-safe":"safe center","end-safe":"safe flex-end"},lb={start:"flex-start",end:"flex-end",center:"center",baseline:"baseline",stretch:"stretch","center-safe":"safe center","end-safe":"safe flex-end"},cb={normal:"normal",center:"center",start:"flex-start",end:"flex-end",between:"space-between",around:"space-around",evenly:"space-evenly",baseline:"baseline",stretch:"stretch","center-safe":"safe center","end-safe":"safe flex-end"},ub={auto:"auto",start:"flex-start",end:"flex-end",center:"center",stretch:"stretch",baseline:"baseline","center-safe":"safe center","end-safe":"safe flex-end"},fb={"border-solid":{"border-style":"solid"},"border-dashed":{"border-style":"dashed"},"border-dotted":{"border-style":"dotted"},"border-double":{"border-style":"double"},"border-none":{"border-style":"none"}},db={transform:{transform:Lt},"transform-cpu":{transform:Lt},"transform-gpu":{transform:Ri},"transform-none":{transform:"none"}},pt={"transition-timing-function":"cubic-bezier(0.4, 0, 0.2, 1)","transition-duration":"150ms"},hb={"transition-none":{"transition-property":"none"},"transition-all":{"transition-property":"all",...pt},transition:{"transition-property":"color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",...pt},"transition-colors":{"transition-property":"color, background-color, border-color, text-decoration-color, fill, stroke",...pt},"transition-opacity":{"transition-property":"opacity",...pt},"transition-shadow":{"transition-property":"box-shadow",...pt},"transition-transform":{"transition-property":"transform",...pt}},gb={"ease-linear":{"transition-timing-function":"linear"},"ease-in":{"transition-timing-function":"cubic-bezier(0.4, 0, 1, 1)"},"ease-out":{"transition-timing-function":"cubic-bezier(0, 0, 0.2, 1)"},"ease-in-out":{"transition-timing-function":"cubic-bezier(0.4, 0, 0.2, 1)"}},mb={"animate-none":{animation:"none"},"animate-spin":{animation:"spin 1s linear infinite"},"animate-ping":{animation:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite"},"animate-pulse":{animation:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite"},"animate-bounce":{animation:"bounce 1s infinite"}};function pb(e,t){let r=Object.keys(t);if(r.length===0)return{tokens:[],colors:e};let n=[];for(let[o,s]of Object.entries(e)){if(typeof s!=="object"||s===null)continue;let l=Object.keys(s);if(l.length===0)continue;if(!l.every((u)=>u==="light"||r.includes(u)))continue;if(!l.some((u)=>r.includes(u)))continue;let a=typeof s.light==="string"?s.light:s[l[0]];if(typeof a!=="string")continue;let c={};for(let u of r){let f=s[u];if(typeof f==="string")c[u]=f}n.push({name:o,base:a,byMode:c})}if(n.length===0)return{tokens:n,colors:e};let i={...e};for(let o of n)i[o.name]=o.base;return{tokens:n,colors:i}}var yb="tc-base",zl="tc-utilities";function bb(e,t){let r=Object.entries(t).map(([n,i])=>{let o=Object.entries(i).map(([s,l])=>`${s}: ${l};`).join(" ");return` ${n} { ${o} }`}).join(`
357
+ `.trim()};var ht={content:["./src/**/*.{html,js,ts,jsx,tsx,stx}"],output:"./dist/styles.css",minify:!0,watch:!1,theme:{colors:{inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"oklch(98.4% 0.003 247.858)",100:"oklch(96.8% 0.007 247.896)",200:"oklch(92.9% 0.013 255.508)",300:"oklch(86.9% 0.022 252.894)",400:"oklch(70.4% 0.04 256.788)",500:"oklch(55.4% 0.046 257.417)",600:"oklch(44.6% 0.043 257.281)",700:"oklch(37.2% 0.044 257.287)",800:"oklch(27.9% 0.041 260.031)",900:"oklch(20.8% 0.042 265.755)",950:"oklch(12.9% 0.042 264.695)"},gray:{50:"oklch(98.5% 0.002 247.839)",100:"oklch(96.7% 0.003 264.542)",200:"oklch(92.8% 0.006 264.531)",300:"oklch(87.2% 0.01 258.338)",400:"oklch(70.7% 0.022 261.325)",500:"oklch(55.1% 0.027 264.364)",600:"oklch(44.6% 0.03 256.802)",700:"oklch(37.3% 0.034 259.733)",800:"oklch(27.8% 0.033 256.848)",900:"oklch(21% 0.034 264.665)",950:"oklch(13% 0.028 261.692)"},zinc:{50:"oklch(98.5% 0 0)",100:"oklch(96.7% 0.001 286.375)",200:"oklch(92% 0.004 286.32)",300:"oklch(87.1% 0.006 286.286)",400:"oklch(70.5% 0.015 286.067)",500:"oklch(55.2% 0.016 285.938)",600:"oklch(44.2% 0.017 285.786)",700:"oklch(37% 0.013 285.805)",800:"oklch(27.4% 0.006 286.033)",900:"oklch(21% 0.006 285.885)",950:"oklch(14.1% 0.005 285.823)"},neutral:{50:"oklch(98.5% 0 0)",100:"oklch(97% 0 0)",200:"oklch(92.2% 0 0)",300:"oklch(87% 0 0)",400:"oklch(70.8% 0 0)",500:"oklch(55.6% 0 0)",600:"oklch(43.9% 0 0)",700:"oklch(37.1% 0 0)",800:"oklch(26.9% 0 0)",900:"oklch(20.5% 0 0)",950:"oklch(14.5% 0 0)"},stone:{50:"oklch(98.5% 0.001 106.423)",100:"oklch(97% 0.001 106.424)",200:"oklch(92.3% 0.003 48.717)",300:"oklch(86.9% 0.005 56.366)",400:"oklch(70.9% 0.01 56.259)",500:"oklch(55.3% 0.013 58.071)",600:"oklch(44.4% 0.011 73.639)",700:"oklch(37.4% 0.01 67.558)",800:"oklch(26.8% 0.007 34.298)",900:"oklch(21.6% 0.006 56.043)",950:"oklch(14.7% 0.004 49.25)"},red:{50:"oklch(97.1% 0.013 17.38)",100:"oklch(93.6% 0.032 17.717)",200:"oklch(88.5% 0.062 18.334)",300:"oklch(80.8% 0.114 19.571)",400:"oklch(70.4% 0.191 22.216)",500:"oklch(63.7% 0.237 25.331)",600:"oklch(57.7% 0.245 27.325)",700:"oklch(50.5% 0.213 27.518)",800:"oklch(44.4% 0.177 26.899)",900:"oklch(39.6% 0.141 25.723)",950:"oklch(25.8% 0.092 26.042)"},orange:{50:"oklch(98% 0.016 73.684)",100:"oklch(95.4% 0.038 75.164)",200:"oklch(90.1% 0.076 70.697)",300:"oklch(83.7% 0.128 66.29)",400:"oklch(75% 0.183 55.934)",500:"oklch(70.5% 0.213 47.604)",600:"oklch(64.6% 0.222 41.116)",700:"oklch(55.3% 0.195 38.402)",800:"oklch(47% 0.157 37.304)",900:"oklch(40.8% 0.123 38.172)",950:"oklch(26.6% 0.079 36.259)"},amber:{50:"oklch(98.7% 0.022 95.277)",100:"oklch(96.2% 0.059 95.617)",200:"oklch(92.4% 0.12 95.746)",300:"oklch(87.9% 0.169 91.605)",400:"oklch(82.8% 0.189 84.429)",500:"oklch(76.9% 0.188 70.08)",600:"oklch(66.6% 0.179 58.318)",700:"oklch(55.5% 0.163 48.998)",800:"oklch(47.3% 0.137 46.201)",900:"oklch(41.4% 0.112 45.904)",950:"oklch(27.9% 0.077 45.635)"},yellow:{50:"oklch(98.7% 0.026 102.212)",100:"oklch(97.3% 0.071 103.193)",200:"oklch(94.5% 0.129 101.54)",300:"oklch(90.5% 0.182 98.111)",400:"oklch(85.2% 0.199 91.936)",500:"oklch(79.5% 0.184 86.047)",600:"oklch(68.1% 0.162 75.834)",700:"oklch(55.4% 0.135 66.442)",800:"oklch(47.6% 0.114 61.907)",900:"oklch(42.1% 0.095 57.708)",950:"oklch(28.6% 0.066 53.813)"},lime:{50:"oklch(98.6% 0.031 120.757)",100:"oklch(96.7% 0.067 122.328)",200:"oklch(93.8% 0.127 124.321)",300:"oklch(89.7% 0.196 126.665)",400:"oklch(84.1% 0.238 128.85)",500:"oklch(76.8% 0.233 130.85)",600:"oklch(64.8% 0.2 131.684)",700:"oklch(53.2% 0.157 131.589)",800:"oklch(45.3% 0.124 130.933)",900:"oklch(40.5% 0.101 131.063)",950:"oklch(27.4% 0.072 132.109)"},green:{50:"oklch(98.2% 0.018 155.826)",100:"oklch(96.2% 0.044 156.743)",200:"oklch(92.5% 0.084 155.995)",300:"oklch(87.1% 0.15 154.449)",400:"oklch(79.2% 0.209 151.711)",500:"oklch(72.3% 0.219 149.579)",600:"oklch(62.7% 0.194 149.214)",700:"oklch(52.7% 0.154 150.069)",800:"oklch(44.8% 0.119 151.328)",900:"oklch(39.3% 0.095 152.535)",950:"oklch(26.6% 0.065 152.934)"},emerald:{50:"oklch(97.9% 0.021 166.113)",100:"oklch(95% 0.052 163.051)",200:"oklch(90.5% 0.093 164.15)",300:"oklch(84.5% 0.143 164.978)",400:"oklch(76.5% 0.177 163.223)",500:"oklch(69.6% 0.17 162.48)",600:"oklch(59.6% 0.145 163.225)",700:"oklch(50.8% 0.118 165.612)",800:"oklch(43.2% 0.095 166.913)",900:"oklch(37.8% 0.077 168.94)",950:"oklch(26.2% 0.051 172.552)"},teal:{50:"oklch(98.4% 0.014 180.72)",100:"oklch(95.3% 0.051 180.801)",200:"oklch(91% 0.096 180.426)",300:"oklch(85.5% 0.138 181.071)",400:"oklch(77.7% 0.152 181.912)",500:"oklch(70.4% 0.14 182.503)",600:"oklch(60% 0.118 184.704)",700:"oklch(51.1% 0.096 186.391)",800:"oklch(43.7% 0.078 188.216)",900:"oklch(38.6% 0.063 188.416)",950:"oklch(27.7% 0.046 192.524)"},cyan:{50:"oklch(98.4% 0.019 200.873)",100:"oklch(95.6% 0.045 203.388)",200:"oklch(91.7% 0.08 205.041)",300:"oklch(86.5% 0.127 207.078)",400:"oklch(78.9% 0.154 211.53)",500:"oklch(71.5% 0.143 215.221)",600:"oklch(60.9% 0.126 221.723)",700:"oklch(52% 0.105 223.128)",800:"oklch(45% 0.085 224.283)",900:"oklch(39.8% 0.07 227.392)",950:"oklch(30.2% 0.056 229.695)"},sky:{50:"oklch(97.7% 0.013 236.62)",100:"oklch(95.1% 0.026 236.824)",200:"oklch(90.1% 0.058 230.902)",300:"oklch(82.8% 0.111 230.318)",400:"oklch(74.6% 0.16 232.661)",500:"oklch(68.5% 0.169 237.323)",600:"oklch(58.8% 0.158 241.966)",700:"oklch(50% 0.134 242.749)",800:"oklch(44.3% 0.11 240.79)",900:"oklch(39.1% 0.09 240.876)",950:"oklch(29.3% 0.066 243.157)"},blue:{50:"oklch(97% 0.014 254.604)",100:"oklch(93.2% 0.032 255.585)",200:"oklch(88.2% 0.059 254.128)",300:"oklch(80.9% 0.105 251.813)",400:"oklch(70.7% 0.165 254.624)",500:"oklch(62.3% 0.214 259.815)",600:"oklch(54.6% 0.245 262.881)",700:"oklch(48.8% 0.243 264.376)",800:"oklch(42.4% 0.199 265.638)",900:"oklch(37.9% 0.146 265.522)",950:"oklch(28.2% 0.091 267.935)"},indigo:{50:"oklch(96.2% 0.018 272.314)",100:"oklch(93% 0.034 272.788)",200:"oklch(87% 0.065 274.039)",300:"oklch(78.5% 0.115 274.713)",400:"oklch(67.3% 0.182 276.935)",500:"oklch(58.5% 0.233 277.117)",600:"oklch(51.1% 0.262 276.966)",700:"oklch(45.7% 0.24 277.023)",800:"oklch(39.8% 0.195 277.366)",900:"oklch(35.9% 0.144 278.697)",950:"oklch(25.7% 0.09 281.288)"},violet:{50:"oklch(96.9% 0.016 293.756)",100:"oklch(94.3% 0.029 294.588)",200:"oklch(89.4% 0.057 293.283)",300:"oklch(81.1% 0.111 293.571)",400:"oklch(70.2% 0.183 293.541)",500:"oklch(60.6% 0.25 292.717)",600:"oklch(54.1% 0.281 293.009)",700:"oklch(49.1% 0.27 292.581)",800:"oklch(43.2% 0.232 292.759)",900:"oklch(38% 0.189 293.745)",950:"oklch(28.3% 0.141 291.089)"},purple:{50:"oklch(97.7% 0.014 308.299)",100:"oklch(94.6% 0.033 307.174)",200:"oklch(90.2% 0.063 306.703)",300:"oklch(82.7% 0.119 306.383)",400:"oklch(71.4% 0.203 305.504)",500:"oklch(62.7% 0.265 303.9)",600:"oklch(55.8% 0.288 302.321)",700:"oklch(49.6% 0.265 301.924)",800:"oklch(43.8% 0.218 303.724)",900:"oklch(38.1% 0.176 304.987)",950:"oklch(29.1% 0.149 302.717)"},fuchsia:{50:"oklch(97.7% 0.017 320.058)",100:"oklch(95.2% 0.037 318.852)",200:"oklch(90.3% 0.076 319.62)",300:"oklch(83.3% 0.145 321.434)",400:"oklch(74% 0.238 322.16)",500:"oklch(66.7% 0.295 322.15)",600:"oklch(59.1% 0.293 322.896)",700:"oklch(51.8% 0.253 323.949)",800:"oklch(45.2% 0.211 324.591)",900:"oklch(40.1% 0.17 325.612)",950:"oklch(29.3% 0.136 325.661)"},pink:{50:"oklch(97.1% 0.014 343.198)",100:"oklch(94.8% 0.028 342.258)",200:"oklch(89.9% 0.061 343.231)",300:"oklch(82.3% 0.12 346.018)",400:"oklch(71.8% 0.202 349.761)",500:"oklch(65.6% 0.241 354.308)",600:"oklch(59.2% 0.249 0.584)",700:"oklch(52.5% 0.223 3.958)",800:"oklch(45.9% 0.187 3.815)",900:"oklch(40.8% 0.153 2.432)",950:"oklch(28.4% 0.109 3.907)"},rose:{50:"oklch(96.9% 0.015 12.422)",100:"oklch(94.1% 0.03 12.58)",200:"oklch(89.2% 0.058 10.001)",300:"oklch(81% 0.117 11.638)",400:"oklch(71.2% 0.194 13.428)",500:"oklch(64.5% 0.246 16.439)",600:"oklch(58.6% 0.253 17.585)",700:"oklch(51.4% 0.222 16.935)",800:"oklch(45.5% 0.188 13.697)",900:"oklch(41% 0.159 10.272)",950:"oklch(27.1% 0.105 12.094)"}},spacing:{0:"0",px:"1px",0.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",11:"2.75rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},fontSize:{xs:["0.75rem",{lineHeight:"1rem"}],sm:["0.875rem",{lineHeight:"1.25rem"}],base:["1rem",{lineHeight:"1.5rem"}],lg:["1.125rem",{lineHeight:"1.75rem"}],xl:["1.25rem",{lineHeight:"1.75rem"}],"2xl":["1.5rem",{lineHeight:"2rem"}],"3xl":["1.875rem",{lineHeight:"2.25rem"}],"4xl":["2.25rem",{lineHeight:"2.5rem"}],"5xl":["3rem",{lineHeight:"1"}],"6xl":["3.75rem",{lineHeight:"1"}],"7xl":["4.5rem",{lineHeight:"1"}],"8xl":["6rem",{lineHeight:"1"}],"9xl":["8rem",{lineHeight:"1"}]},fontFamily:{sans:["ui-sans-serif","system-ui","sans-serif"],serif:["ui-serif","Georgia","serif"],mono:["ui-monospace","monospace"]},screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},containers:{"3xs":"16rem","2xs":"18rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem"},borderRadius:{none:"0",xs:"0.125rem",sm:"0.25rem",DEFAULT:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem","4xl":"2rem",full:"9999px"},boxShadow:{"2xs":"0 1px rgb(0 0 0 / 0.05)",xs:"0 1px 2px 0 rgb(0 0 0 / 0.05)",sm:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",DEFAULT:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",md:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",lg:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",xl:"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)","2xl":"0 25px 50px -12px rgb(0 0 0 / 0.25)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",none:"none"}},shortcuts:{},rules:[],attributify:{enabled:!1,prefix:"tc-",ignoreAttributes:["class","className","style","id","name","type","value","href","src","alt","title","role","for","action","method","target","rel","placeholder","disabled","checked","selected","readonly","required","maxlength","minlength","pattern","autocomplete","autofocus","tabindex","contenteditable","draggable","spellcheck","lang","dir","hidden","slot","part","is","key","ref"]},bracketSyntax:{enabled:!1,colonSyntax:!1,aliases:{col:"col",row:"row",jc:"justify",ji:"justify-items",js:"justify-self",ai:"items",ac:"content",as:"self",wrap:"wrap",nowrap:"nowrap",c:"center",s:"start",e:"end",sb:"between",sa:"around",se:"evenly",st:"stretch"}},variants:{responsive:!0,hover:!0,focus:!0,active:!0,disabled:!0,dark:!0,light:!0,group:!0,peer:!0,"*":!0,"**":!0,in:!0,before:!0,after:!0,marker:!0,"first-letter":!0,"first-line":!0,backdrop:!0,"details-content":!0,first:!0,last:!0,odd:!0,even:!0,"first-of-type":!0,"last-of-type":!0,visited:!0,checked:!0,"focus-within":!0,"focus-visible":!0,placeholder:!0,selection:!0,file:!0,required:!0,valid:!0,invalid:!0,"read-only":!0,autofill:!0,"user-valid":!0,"user-invalid":!0,"in-range":!0,"out-of-range":!0,"placeholder-shown":!0,open:!0,closed:!0,empty:!0,enabled:!0,only:!0,target:!0,indeterminate:!0,default:!0,optional:!0,inert:!0,"only-of-type":!0,aria:!0,data:!0,has:!0,not:!0,supports:!0,print:!0,landscape:!0,portrait:!0,"forced-colors":!0,"pointer-none":!0,"pointer-coarse":!0,"pointer-fine":!0,"any-pointer-none":!0,"any-pointer-coarse":!0,"any-pointer-fine":!0,"inverted-colors":!0,noscript:!0,starting:!0,rtl:!0,ltr:!0,"motion-safe":!0,"motion-reduce":!0,"contrast-more":!0,"contrast-less":!0},safelist:[],blocklist:[],preflights:[Xt],presets:[],cssVariables:!1},gi=null;async function ia(){if(!gi){await Promise.resolve().then(() => na());gi=await ra({name:"css",defaultConfig:ht})}return gi}var mi=ht;function Oe(e){if(e.indexOf("/")===-1)return-1;let r=0,n=0,i="";for(let o=0;o<e.length;o++){let s=e[o];if(s==="\\"){o++;continue}if(i){if(s===i)i="";continue}if(s==='"'||s==="'"){i=s;continue}if(s==="(")r++;else if(s===")")r=Math.max(0,r-1);else if(s==="[")n++;else if(s==="]")n=Math.max(0,n-1);else if(s==="/"&&r===0&&n===0)return o}return-1}var _r="0 0 #0000",Uh=["inset-shadow","inset-ring-shadow","ring-offset-shadow","ring-shadow","shadow"],V=Uh.map((e)=>`var(--tc-${e}, 0 0 #0000)`).join(", ");var Lr={"0":"0",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",none:"none",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",screen:"100vw"},Vh={...Lr,prose:"65ch"};function aa(e,t,r){let n=e.value;if(t[n])return{[r]:t[n]};if(e.arbitrary)return{[r]:n};if(/^\d+$/.test(n)){let i=Number.parseInt(n,10);if(i>=0&&i<=100)return{[r]:`${i/100}`}}return}var Wh=(e,t)=>{if(e.utility==="min-w"&&e.value){let r=pe(e,t,Lr);return r!==void 0?{"min-width":r}:void 0}if(e.utility==="max-w"&&e.value){let r=pe(e,t,Vh);return r!==void 0?{"max-width":r}:void 0}if(e.utility==="min-h"&&e.value){let r={...Lr,screen:"100vh"},n=pe(e,t,r);return n!==void 0?{"min-height":n}:void 0}if(e.utility==="max-h"&&e.value){let r={...Lr,screen:"100vh"},n=pe(e,t,r);return n!==void 0?{"max-height":n}:void 0}},zh=(e,t)=>{if(e.utility==="ring"){if(e.value==="inset")return{"--tc-ring-inset":"inset"};if(e.value){let i=z(e.value,t,e.modifierArbitrary);if(i)return{"--tc-ring-color":i}}let r={0:"0",1:"1px",2:"2px",4:"4px",8:"8px",DEFAULT:"1px"},n;if(!e.value)n=r.DEFAULT;else if(r[e.value])n=r[e.value];else if(e.arbitrary)n=e.value;else if(/^\d+(?:\.\d+)?$/.test(e.value))n=`${e.value}px`;if(n===void 0)return;return{"--tc-ring-offset-shadow":"var(--tc-ring-inset,) 0 0 0 var(--tc-ring-offset-width, 0px) var(--tc-ring-offset-color, #fff)","--tc-ring-shadow":`var(--tc-ring-inset,) 0 0 0 calc(${n} + var(--tc-ring-offset-width, 0px)) var(--tc-ring-color, currentcolor)`,"box-shadow":V}}if(e.utility==="ring-offset"&&e.value){let r={0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"};if(r[e.value])return{"--tc-ring-offset-width":r[e.value]};let n=z(e.value,t,e.modifierArbitrary);if(n)return{"--tc-ring-offset-color":n}}if(e.utility==="ring-opacity"&&e.value)return aa(e,{0:"0",5:"0.05",10:"0.1",20:"0.2",25:"0.25",30:"0.3",40:"0.4",50:"0.5",60:"0.6",70:"0.7",75:"0.75",80:"0.8",90:"0.9",95:"0.95",100:"1"},"--tc-ring-opacity")},Kh=(e)=>{if(e.utility==="border-opacity"&&e.value)return aa(e,{0:"0",5:"0.05",10:"0.1",20:"0.2",25:"0.25",30:"0.3",40:"0.4",50:"0.5",60:"0.6",70:"0.7",75:"0.75",80:"0.8",90:"0.9",95:"0.95",100:"1"},"--tc-border-opacity")};function oa(e,t){let r=e.value;if(e.arbitrary)return r;let n=r.startsWith("-"),i=n?r.slice(1):r,o=t.theme.spacing[i];if(o===void 0&&/^\d+(?:\.\d+)?$/.test(i))o=`${Number.parseFloat(i)*0.25}rem`;if(o===void 0)return;return n?`-${o}`:o}var Gh=(e,t)=>{if(e.utility==="space-x"&&e.value){if(e.value==="reverse")return{properties:{"--tc-space-x-reverse":"1"},childSelector:"> :not([hidden]) ~ :not([hidden])"};let r=oa(e,t);if(r===void 0)return;return{properties:{"--tc-space-x-reverse":"0","margin-right":`calc(${r} * var(--tc-space-x-reverse))`,"margin-left":`calc(${r} * calc(1 - var(--tc-space-x-reverse)))`},childSelector:"> :not([hidden]) ~ :not([hidden])"}}if(e.utility==="space-y"&&e.value){if(e.value==="reverse")return{properties:{"--tc-space-y-reverse":"1"},childSelector:"> :not([hidden]) ~ :not([hidden])"};let r=oa(e,t);if(r===void 0)return;return{properties:{"--tc-space-y-reverse":"0","margin-top":`calc(${r} * calc(1 - var(--tc-space-y-reverse)))`,"margin-bottom":`calc(${r} * var(--tc-space-y-reverse))`},childSelector:"> :not([hidden]) ~ :not([hidden])"}}},Hh=(e)=>{if(e.utility==="border"&&e.value){let t={solid:"solid",dashed:"dashed",dotted:"dotted",double:"double",hidden:"hidden",none:"none"};if(t[e.value])return{"border-style":t[e.value]}}};function sa(e){if(!e.value)return"1px";let t={0:"0",2:"2px",4:"4px",8:"8px"};if(t[e.value])return t[e.value];if(e.arbitrary)return e.value;if(/^\d+(?:\.\d+)?$/.test(e.value))return`${e.value}px`;return}function qh(e){let t=Oe(e),r=t===-1?e:e.slice(0,t);if(r.charCodeAt(0)!==91||r.charCodeAt(r.length-1)!==93)return e;let n=r.slice(1,-1).replace(/_/g," ");return t===-1?n:n+e.slice(t)}var Yh=(e,t)=>{if(e.utility==="divide"&&e.value){let r={solid:"solid",dashed:"dashed",dotted:"dotted",double:"double",none:"none"};if(r[e.value])return{properties:{"border-style":r[e.value]},childSelector:"> :not([hidden]) ~ :not([hidden])"}}if(e.utility==="divide-x"){if(e.value==="reverse")return{properties:{"--tc-divide-x-reverse":"1"},childSelector:"> :not([hidden]) ~ :not([hidden])"};let r=sa(e);if(r===void 0)return;return{properties:{"--tc-divide-x-reverse":"0","border-right-width":`calc(${r} * var(--tc-divide-x-reverse))`,"border-left-width":`calc(${r} * calc(1 - var(--tc-divide-x-reverse)))`},childSelector:"> :not([hidden]) ~ :not([hidden])"}}if(e.utility==="divide-y"){if(e.value==="reverse")return{properties:{"--tc-divide-y-reverse":"1"},childSelector:"> :not([hidden]) ~ :not([hidden])"};let r=sa(e);if(r===void 0)return;return{properties:{"--tc-divide-y-reverse":"0","border-top-width":`calc(${r} * calc(1 - var(--tc-divide-y-reverse)))`,"border-bottom-width":`calc(${r} * var(--tc-divide-y-reverse))`},childSelector:"> :not([hidden]) ~ :not([hidden])"}}if(e.utility==="divide"&&e.value){let r=qh(e.value);if(r==="auto")return;let n=z(r,t,e.modifierArbitrary);if(n!==void 0)return{properties:{"border-color":n},childSelector:"> :not([hidden]) ~ :not([hidden])"}}},Jh=(e,t)=>{let r=(n)=>{let i=null,o=n,s=Oe(n);if(s!==-1){o=n.slice(0,s);let u=n.slice(s+1);if(u.startsWith("[")&&u.endsWith("]"))i=u.slice(1,-1);else if(e.modifierArbitrary){let f=Number.parseFloat(u);if(!Number.isNaN(f)&&f>=0&&f<=1)i=f.toString()}else{let f=Number.parseInt(u,10);if(!Number.isNaN(f))i=(f/100).toString()}}let l=(u)=>{if(!i)return u;let f=u.match(/^(oklch|rgb|hsl|oklab|lab|lch)\(([^)]+)\)$/i);if(f){let d=f[1],h=f[2].split("/")[0].trim();return`${d}(${h} / ${i})`}if(/^#[0-9a-f]{3,8}$/i.test(u)){let d=u.replace("#",""),h=(y)=>Number.parseInt(y.length===1?y+y:y,16),g=h(d.slice(0,d.length===3?1:2)),m=h(d.slice(d.length===3?1:2,d.length===3?2:4)),p=h(d.slice(d.length===3?2:4,d.length===3?3:6));return`rgb(${g} ${m} ${p} / ${i})`}return`color-mix(in srgb, ${u} ${Math.round(Number.parseFloat(i)*100)}%, transparent)`};if(o.startsWith("[")&&o.endsWith("]"))o=o.slice(1,-1);let a=t.theme.colors[o];if(typeof a==="string")return l(W(o,a,o,t.colorVariables));if(typeof a==="object"&&a!==null&&typeof a.DEFAULT==="string")return l(W(o,a.DEFAULT,o,t.colorVariables));let c=o.split("-");if(c.length>=2){let u=c.slice(0,-1).join("-"),f=c[c.length-1],d=t.theme.colors[u];if(typeof d==="object"&&d[f])return l(W(o,d[f],u,t.colorVariables))}if(e.arbitrary||o.startsWith("#")||/^(?:var|rgb|rgba|hsl|hsla|oklch|oklab|lab|lch|color|color-mix)\(/.test(o))return l(o);return};if(e.utility==="from"&&e.value){let n=r(e.value);if(n===void 0)return;return{"--tc-gradient-from":n,"--tc-gradient-to":"rgb(255 255 255 / 0)","--tc-gradient-stops":"var(--tc-gradient-from), var(--tc-gradient-to)"}}if(e.utility==="via"&&e.value){let n=r(e.value);if(n===void 0)return;return{"--tc-gradient-to":"rgb(255 255 255 / 0)","--tc-gradient-stops":`var(--tc-gradient-from), ${n}, var(--tc-gradient-to)`}}if(e.utility==="to"&&e.value){let n=r(e.value);if(n===void 0)return;return{"--tc-gradient-to":n,"--tc-gradient-stops":"var(--tc-gradient-from), var(--tc-gradient-to)"}}},Xh=(e)=>{if(e.utility==="order"&&e.value){let t={first:"-9999",last:"9999",none:"0"};if(t[e.value])return{order:t[e.value]};if(e.arbitrary||/^-?\d+$/.test(e.value))return{order:e.value};return}},Zh=(e,t)=>{if(e.utility==="basis"&&e.value){let r={auto:"auto",full:"100%",0:"0"};if(r[e.value])return{"flex-basis":r[e.value]};let n=pe(e,t,{});return n!==void 0?{"flex-basis":n}:void 0}},Qh=(e)=>{if(e.utility==="justify-self"){let t={auto:"auto",start:"start",end:"end",center:"center",stretch:"stretch"};return e.value&&t[e.value]?{"justify-self":t[e.value]}:void 0}},eg=(e)=>{if(e.utility==="self"){let t={auto:"auto",start:"flex-start",end:"flex-end",center:"center",stretch:"stretch",baseline:"baseline"};return e.value&&t[e.value]?{"align-self":t[e.value]}:void 0}},tg=(e,t)=>{if(e.utility==="container"){if(!e.value)return{width:"100%","margin-left":"auto","margin-right":"auto","max-width":t.theme.screens.xl||"1280px"};let r={sm:t.theme.screens.sm||"640px",md:t.theme.screens.md||"768px",lg:t.theme.screens.lg||"1024px",xl:t.theme.screens.xl||"1280px","2xl":t.theme.screens["2xl"]||"1536px",full:"100%",prose:"65ch","3xl":"1920px"};if(r[e.value])return{width:"100%","margin-left":"auto","margin-right":"auto","max-width":r[e.value]};if(e.arbitrary)return{width:"100%","margin-left":"auto","margin-right":"auto","max-width":e.value}}},pi=(e)=>{if(e.arbitrary&&e.utility&&e.value&&e.base.startsWith("["))return{[e.utility]:e.value}},la=[Wh,zh,Kh,Hh,Gh,Yh,Jh,Xh,Zh,Qh,eg,tg,pi];var ca={"bg-origin-border":"border-box","bg-origin-padding":"padding-box","bg-origin-content":"content-box"},ua={"bg-bottom":"bottom","bg-center":"center","bg-left":"left","bg-left-bottom":"left bottom","bg-left-top":"left top","bg-right":"right","bg-right-bottom":"right bottom","bg-right-top":"right top","bg-top":"top"},fa={"bg-repeat":"repeat","bg-no-repeat":"no-repeat","bg-repeat-x":"repeat-x","bg-repeat-y":"repeat-y","bg-repeat-round":"round","bg-repeat-space":"space"},da={"bg-auto":"auto","bg-cover":"cover","bg-contain":"contain"},yi=null,ha=null;function rg(e){let t=new Map;for(let[r,n]of Object.entries(e))if(typeof n==="string")t.set(r,n);else if(typeof n==="object"&&n!==null){for(let[i,o]of Object.entries(n))if(typeof o==="string")t.set(i==="DEFAULT"?r:`${r}-${i}`,o)}return t}function ng(e){return e.replace(/rgba?\([^)]+\)/g,"var(--tc-shadow-color)")}var ig=(e)=>{if(e.utility==="bg"&&e.value){let t={fixed:"fixed",local:"local",scroll:"scroll"};return t[e.value]?{"background-attachment":t[e.value]}:void 0}return},og=(e)=>{if(e.utility==="bg"&&e.value&&e.value.startsWith("clip-")){let t=e.value.replace("clip-",""),r={border:"border-box",padding:"padding-box",content:"content-box",text:"text"};return r[t]?{"background-clip":r[t]}:void 0}return},ga={t:"to top",tr:"to top right",r:"to right",br:"to bottom right",b:"to bottom",bl:"to bottom left",l:"to left",tl:"to top left"},sg=new Set(["srgb","srgb-linear","oklab","oklch","lab","lch","hsl","hwb","xyz","xyz-d50","xyz-d65","display-p3","a98-rgb","prophoto-rgb","rec2020"]),ag=new Set(["shorter","longer","increasing","decreasing"]);function lg(e){if(sg.has(e))return`in ${e}`;if(ag.has(e))return`in oklch ${e} hue`;return}var cg=(e)=>{if(e.utility!=="bg"||!e.value||e.arbitrary||e.typeHint)return;if(e.value.includes("("))return;let t=e.value.lastIndexOf("/"),r=t===-1?e.value:e.value.slice(0,t),n=t===-1?void 0:e.value.slice(t+1),i;if(n!==void 0){if(i=lg(n),i===void 0)return}let o=r.charCodeAt(0)===45,s=o?r.slice(1):r,l,a="";if(s==="conic")l="conic-gradient";else if(s==="radial")l="radial-gradient";else if(s.startsWith("conic-")){let u=s.slice(6);if(!/^\d+(?:\.\d+)?$/.test(u))return;l="conic-gradient",a=`from ${o?"-":""}${u}deg`}else if(s.startsWith("linear-")||s.startsWith("gradient-")){let u=s.slice(s.indexOf("-")+1);if(l="linear-gradient",u.startsWith("to-")){let f=ga[u.slice(3)];if(f===void 0)return;a=f}else if(/^\d+(?:\.\d+)?$/.test(u))a=`${o?"-":""}${u}deg`;else return}else return;if(!a&&i===void 0)return;let c=[a,i].filter(Boolean).join(" ");return{"background-image":c?`${l}(${c}, var(--tc-gradient-stops))`:`${l}(var(--tc-gradient-stops))`}},ug=(e)=>{if(!e.value)return;let t;if(e.utility==="bg-linear"||e.utility==="bg-gradient")t=e.value;else if(e.utility==="bg"){if(e.typeHint||e.value.includes("("))return;let r=e.value.startsWith("-"),i=(r?e.value.slice(1):e.value).match(/^(?:gradient|linear)-(.+)$/);if(!i)return;t=r?`-${i[1]}`:i[1]}else return;if(t.startsWith("to-")){let r=ga[t.slice(3)];return r?{"background-image":`linear-gradient(${r}, var(--tc-gradient-stops))`}:void 0}if(e.arbitrary)return{"background-image":`linear-gradient(${t}, var(--tc-gradient-stops))`};if(/^-?\d+(?:\.\d+)?$/.test(t))return{"background-image":`linear-gradient(${t}deg, var(--tc-gradient-stops))`};return},fg=(e)=>ca[e.base]?{"background-origin":ca[e.base]}:void 0,dg=(e)=>ua[e.base]?{"background-position":ua[e.base]}:void 0,hg=(e)=>fa[e.base]?{"background-repeat":fa[e.base]}:void 0,gg=(e)=>da[e.base]?{"background-size":da[e.base]}:void 0,mg=(e)=>{if(e.utility==="border"&&e.value){let t={solid:"solid",dashed:"dashed",dotted:"dotted",double:"double",hidden:"hidden",none:"none"};return t[e.value]?{"border-style":t[e.value]}:void 0}return},pg=(e,t)=>{if(e.utility==="outline-offset"&&e.value){let r={0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"};if(r[e.value])return{"outline-offset":r[e.value]};if(e.arbitrary)return{"outline-offset":e.value};if(/^\d+(?:\.\d+)?$/.test(e.value))return{"outline-offset":`${e.value}px`};return}if(e.utility==="outline"&&e.value){let r={none:"none",solid:"solid",dashed:"dashed",dotted:"dotted",double:"double"};if(r[e.value])return{"outline-style":r[e.value]};if(e.value==="hidden")return{outline:"2px solid transparent","outline-offset":"2px"}}if(e.utility==="outline"){if(!e.value)return{"outline-width":"1px"};let r=z(e.value,t,e.modifierArbitrary);if(r)return{"outline-color":r};let n={0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"};if(n[e.value])return{"outline-width":n[e.value]};if(e.arbitrary)return{"outline-width":e.value};if(/^\d+(?:\.\d+)?$/.test(e.value))return{"outline-width":`${e.value}px`};return}},yg=(e,t)=>{if(e.utility==="shadow"){let n=e.arbitrary&&!!e.value&&(/\s/.test(e.value)||e.value==="none")?e.value:e.value?t.theme.boxShadow[e.value]:t.theme.boxShadow.DEFAULT;if(!n)return;if(n==="none")return{"--tc-shadow":_r,"box-shadow":V};let i=ng(n);return{"--tc-shadow":n,"--tc-shadow-colored":i,"box-shadow":V}}},bg=(e,t)=>{if(e.utility!=="shadow"||!e.value)return;if(t.theme.boxShadow[e.value])return;if(e.arbitrary&&/\s/.test(e.value))return;if(yi===null||ha!==t.theme.colors)yi=rg(t.theme.colors),ha=t.theme.colors;let r=e.value,n=Oe(r),i,o;if(n!==-1){i=r.slice(0,n);let a=r.slice(n+1);if(a.charCodeAt(0)===91&&a.charCodeAt(a.length-1)===93){let c=Number.parseFloat(a.slice(1,-1));if(Number.isNaN(c)||c<0||c>1)return;o=c}else if(e.modifierArbitrary){let c=Number.parseFloat(a);if(Number.isNaN(c)||c<0||c>1)return;o=c}else{let c=Number.parseInt(a,10);if(Number.isNaN(c)||c<0||c>100)return;o=c/100}}else i=r;let s=yi.get(i)??(e.arbitrary?i:void 0);if(!s)return;return{"--tc-shadow-color":o!==void 0?we(s,o):s,"--tc-shadow":"var(--tc-shadow-colored)"}};function _t(e){return`${e} var(--tc-text-shadow-color, rgba(0, 0, 0, 0.05))`}var xg=(e,t)=>{if(e.utility!=="text-shadow")return;let r={sm:_t("0 1px 2px"),DEFAULT:_t("0 1px 3px"),md:_t("0 4px 6px"),lg:_t("0 10px 15px"),xl:_t("0 20px 25px"),none:"none"};if(!e.value)return{"text-shadow":r.DEFAULT};if(r[e.value])return{"text-shadow":r[e.value]};if(e.arbitrary&&e.value){if(/\s/.test(e.value))return{"text-shadow":e.value};return{"--tc-text-shadow-color":e.value}}let n=z(e.value,t,e.modifierArbitrary);return n===void 0?void 0:{"--tc-text-shadow-color":n}},vg=(e)=>{if(e.utility==="opacity"&&e.value){let t={0:"0",5:"0.05",10:"0.1",20:"0.2",25:"0.25",30:"0.3",40:"0.4",50:"0.5",60:"0.6",70:"0.7",75:"0.75",80:"0.8",90:"0.9",95:"0.95",100:"1"};if(t[e.value])return{opacity:t[e.value]};if(e.arbitrary)return{opacity:e.value};if(/^\d+$/.test(e.value)){let r=Number.parseInt(e.value,10);if(r>=0&&r<=100)return{opacity:`${r/100}`}}return}},wg=(e)=>{if(e.utility==="mix-blend"){let t=["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"];return e.value&&t.includes(e.value)?{"mix-blend-mode":e.value}:void 0}},$g=(e)=>{if(e.utility==="bg-blend"){let t=["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"];return e.value&&t.includes(e.value)?{"background-blend-mode":e.value}:void 0}},Cg=(e)=>{if(e.utility==="mask-clip"&&e.value){let t={border:"border-box",padding:"padding-box",content:"content-box",text:"text",fill:"fill-box",stroke:"stroke-box",view:"view-box","no-clip":"no-clip"};if(t[e.value])return{"mask-clip":t[e.value]};return e.arbitrary?{"mask-clip":e.value}:void 0}if(e.utility==="mask-composite"&&e.value)return["add","subtract","intersect","exclude"].includes(e.value)?{"mask-composite":e.value}:void 0;if(e.utility==="mask-image"&&e.value){if(e.value==="none")return{"mask-image":"none"};if(e.arbitrary)return{"mask-image":e.value.startsWith("url(")||e.value.includes("gradient(")?e.value:`url(${e.value})`};return}if(e.utility==="mask-mode"&&e.value)return["alpha","luminance","match-source"].includes(e.value)?{"mask-mode":e.value}:void 0;if(e.utility==="mask-origin"&&e.value){let t={border:"border-box",padding:"padding-box",content:"content-box",fill:"fill-box",stroke:"stroke-box",view:"view-box"};if(t[e.value])return{"mask-origin":t[e.value]};return e.arbitrary?{"mask-origin":e.value}:void 0}if(e.utility==="mask-position"&&e.value){let t={center:"center",top:"top",right:"right",bottom:"bottom",left:"left","top-left":"top left","top-right":"top right","bottom-left":"bottom left","bottom-right":"bottom right"};if(t[e.value])return{"mask-position":t[e.value]};return e.arbitrary?{"mask-position":e.value}:void 0}if(e.utility==="mask-repeat"&&e.value){let t={repeat:"repeat","no-repeat":"no-repeat","repeat-x":"repeat-x","repeat-y":"repeat-y",round:"round",space:"space"};if(t[e.value])return{"mask-repeat":t[e.value]};return e.arbitrary?{"mask-repeat":e.value}:void 0}if(e.utility==="mask-size"&&e.value){let t={auto:"auto",cover:"cover",contain:"contain"};if(t[e.value])return{"mask-size":t[e.value]};return e.arbitrary?{"mask-size":e.value}:void 0}if(e.utility==="mask-type"&&e.value)return["alpha","luminance"].includes(e.value)?{"mask-type":e.value}:void 0},bi=[ig,og,cg,ug,fg,dg,hg,gg,mg,pg,yg,bg,xg,vg,wg,$g,Cg];var ma={add:"add",subtract:"subtract",intersect:"intersect",exclude:"exclude"},pa={alpha:"alpha",luminance:"luminance",match:"match-source"},ya={auto:"auto",cover:"cover",contain:"contain"},ba={center:"center",top:"top",right:"right",bottom:"bottom",left:"left","top-left":"left top","top-right":"right top","bottom-left":"left bottom","bottom-right":"right bottom"},xa={repeat:"repeat","no-repeat":"no-repeat"},Rg=(e)=>{if(e.utility!=="mask"||!e.value)return;let t=e.value;if(e.arbitrary)return{"mask-image":t};if(t==="none")return{"mask-image":"none"};if(ma[t]!==void 0)return{"mask-composite":ma[t]};if(pa[t]!==void 0)return{"mask-mode":pa[t]};if(ya[t]!==void 0)return{"mask-size":ya[t]};if(ba[t]!==void 0)return{"mask-position":ba[t]};if(xa[t]!==void 0)return{"mask-repeat":xa[t]};if(t==="no-clip")return{"mask-clip":"no-clip"};return},kg=(e)=>{if(e.utility!=="mask-repeat"||e.arbitrary)return;if(e.value==="x")return{"mask-repeat":"repeat-x"};if(e.value==="y")return{"mask-repeat":"repeat-y"};return},qe="linear-gradient(#fff, #fff)";function A(e,t){return`var(--tc-mask-${e}, ${t})`}function Ye(){return{"mask-image":`${A("linear",qe)}, ${A("radial",qe)}, ${A("conic",qe)}`,"mask-composite":"intersect"}}var Sg=[A("left",qe),A("right",qe),A("bottom",qe),A("top",qe)].join(", "),Ag={t:["top"],r:["right"],b:["bottom"],l:["left"],x:["right","left"],y:["top","bottom"]};function Eg(e){let t=`${A(`${e}-from-color`,"black")} ${A(`${e}-from-position`,"0%")}`,r=`${A(`${e}-to-color`,"transparent")} ${A(`${e}-to-position`,"100%")}`;return`linear-gradient(to ${e}, ${t}, ${r})`}var Tg=[A("linear-position","0deg"),`${A("linear-from-color","black")} ${A("linear-from-position","0%")}`,`${A("linear-to-color","transparent")} ${A("linear-to-position","100%")}`].join(", "),Ng=/^(?:var|rgb|rgba|hsl|hsla|oklch|oklab|lab|lch|color|color-mix)\(/;function Mr(e,t,r){if(!e)return;if(/^\d+(?:\.\d+)?%$/.test(e))return{position:e};if(/^\d+(?:\.\d+)?$/.test(e)){let i=pe({value:e,arbitrary:!1},r,{});return i===void 0?void 0:{position:i}}if(t)return e.charCodeAt(0)===35||Ng.test(e)?{color:e}:{position:e};let n=z(e,r,!1);return n===void 0?void 0:{color:n}}function Fr(e){if(e.startsWith("from-"))return{stop:"from",token:e.slice(5)};if(e.startsWith("to-"))return{stop:"to",token:e.slice(3)};return}var Og=(e,t)=>{if(e.utility!=="mask"||!e.value||e.arbitrary)return;let r=e.value,n=r.charCodeAt(0)===45,i=n?r.slice(1):r;if(!i.startsWith("linear-"))return;let o=i.slice(7);if(/^\d+(?:\.\d+)?$/.test(o))return{...Ye(),"--tc-mask-linear":`linear-gradient(${A("linear-stops",A("linear-position","0deg"))})`,"--tc-mask-linear-position":`calc(1deg * ${n?"-":""}${o})`};if(n)return;let s=Fr(o);if(s===void 0)return;let l=Mr(s.token,e.arbitrary,t);if(l===void 0)return;let a={...Ye(),"--tc-mask-linear-stops":Tg,"--tc-mask-linear":"linear-gradient(var(--tc-mask-linear-stops))"};if(l.color!==void 0)a[`--tc-mask-linear-${s.stop}-color`]=l.color;else a[`--tc-mask-linear-${s.stop}-position`]=l.position;return a},Ig=(e,t)=>{if(e.utility!=="mask"||!e.value||e.arbitrary)return;let r=e.value,n=r.indexOf("-");if(n===-1)return;let i=Ag[r.slice(0,n)];if(i===void 0)return;let o=Fr(r.slice(n+1));if(o===void 0)return;let s=Mr(o.token,e.arbitrary,t);if(s===void 0)return;let l={...Ye(),"--tc-mask-linear":Sg};for(let a of i)if(l[`--tc-mask-${a}`]=Eg(a),s.color!==void 0)l[`--tc-mask-${a}-${o.stop}-color`]=s.color;else l[`--tc-mask-${a}-${o.stop}-position`]=s.position;return l},Pg=[`${A("radial-shape","ellipse")} ${A("radial-size","farthest-corner")} at ${A("radial-position","center")}`,`${A("radial-from-color","black")} ${A("radial-from-position","0%")}`,`${A("radial-to-color","transparent")} ${A("radial-to-position","100%")}`].join(", "),_g=new Set(["closest-side","closest-corner","farthest-side","farthest-corner"]),Lg={center:"center",top:"top",right:"right",bottom:"bottom",left:"left","top-left":"top left","top-right":"top right","bottom-left":"bottom left","bottom-right":"bottom right"},Mg=[`from ${A("conic-position","0deg")}`,`${A("conic-from-color","black")} ${A("conic-from-position","0%")}`,`${A("conic-to-color","transparent")} ${A("conic-to-position","100%")}`].join(", "),Fg=(e,t)=>{if(e.utility==="mask-radial"&&e.arbitrary&&e.value)return{...Ye(),"--tc-mask-radial":`radial-gradient(${A("radial-stops",A("radial-size","farthest-corner"))})`,"--tc-mask-radial-size":e.value};if(e.utility!=="mask"||!e.value||e.arbitrary)return;let r=e.value;if(r==="circle"||r==="ellipse")return{"--tc-mask-radial-shape":r};if(!r.startsWith("radial-"))return;let n=r.slice(7);if(n.startsWith("at-")){let l=Lg[n.slice(3)];return l===void 0?void 0:{"--tc-mask-radial-position":l}}if(_g.has(n))return{"--tc-mask-radial-size":n};let i=Fr(n);if(i===void 0)return;let o=Mr(i.token,e.arbitrary,t);if(o===void 0)return;let s={...Ye(),"--tc-mask-radial-stops":Pg,"--tc-mask-radial":"radial-gradient(var(--tc-mask-radial-stops))"};if(o.color!==void 0)s[`--tc-mask-radial-${i.stop}-color`]=o.color;else s[`--tc-mask-radial-${i.stop}-position`]=o.position;return s},jg=(e,t)=>{if(e.utility!=="mask"||!e.value||e.arbitrary)return;let r=e.value,n=r.charCodeAt(0)===45,i=n?r.slice(1):r;if(!i.startsWith("conic-"))return;let o=i.slice(6);if(/^\d+(?:\.\d+)?$/.test(o))return{...Ye(),"--tc-mask-conic":`conic-gradient(${A("conic-stops",A("conic-position","0deg"))})`,"--tc-mask-conic-position":`calc(1deg * ${n?"-":""}${o})`};if(n)return;let s=Fr(o);if(s===void 0)return;let l=Mr(s.token,e.arbitrary,t);if(l===void 0)return;let a={...Ye(),"--tc-mask-conic-stops":Mg,"--tc-mask-conic":"conic-gradient(var(--tc-mask-conic-stops))"};if(l.color!==void 0)a[`--tc-mask-conic-${s.stop}-color`]=l.color;else a[`--tc-mask-conic-${s.stop}-position`]=l.position;return a},va=[Og,Ig,Fg,jg,Rg,kg];var Dg={"2xs":"inset 0 1px",xs:"inset 0 1px 1px",sm:"inset 0 2px 4px"},Bg="rgb(0 0 0 / 0.05)",Ug=/^(?:var|rgb|rgba|hsl|hsla|oklch|oklab|lab|lch|color|color-mix)\(/;function wi(e){return e.charCodeAt(0)===35||Ug.test(e)}function Vg(e){return/^-?[\d.]+[a-z%]*$/i.test(e)||e.startsWith("calc(")||e.startsWith("var(")}function Wg(e,t){let r=e.trim().split(/\s+/),n=r[r.length-1];if(r.length>1&&!Vg(n))return`inset ${r.slice(0,-1).join(" ")} var(${t}, ${n})`;return`inset ${e} var(${t}, currentcolor)`}function xi(e){return{"--tc-inset-shadow":e,"box-shadow":V}}var zg=(e,t)=>{if(e.utility==="inset-shadow"&&e.arbitrary&&e.value){if(!/\s/.test(e.value)&&wi(e.value))return{"--tc-inset-shadow-color":e.value};return xi(Wg(e.value,"--tc-inset-shadow-color"))}if(e.utility!=="inset"||!e.value||e.arbitrary)return;if(!e.value.startsWith("shadow-"))return;let r=e.value.slice(7),n=Dg[r];if(n!==void 0)return xi(`${n} var(--tc-inset-shadow-color, ${Bg})`);if(r==="none")return xi(`inset ${_r}`);let i=z(r,t,e.modifierArbitrary);return i===void 0?void 0:{"--tc-inset-shadow-color":i}};function vi(e){return{"--tc-inset-ring-shadow":`inset 0 0 0 ${e} var(--tc-inset-ring-color, currentcolor)`,"box-shadow":V}}var Kg=(e,t)=>{if(e.utility==="inset-ring"&&e.arbitrary&&e.value){if(wi(e.value))return{"--tc-inset-ring-color":e.value};return vi(e.value)}if(e.utility!=="inset"||!e.value||e.arbitrary)return;if(e.value!=="ring"&&!e.value.startsWith("ring-"))return;if(e.value==="ring")return vi("1px");let r=e.value.slice(5);if(/^\d+(?:\.\d+)?$/.test(r))return vi(`${r}px`);let n=z(r,t,e.modifierArbitrary);return n===void 0?void 0:{"--tc-inset-ring-color":n}},Gg=(e,t)=>{if(e.utility!=="drop-shadow"||!e.value)return;if(e.arbitrary){if(/\s/.test(e.value))return;return wi(e.value)?{"--tc-drop-shadow-color":e.value}:void 0}let r=z(e.value,t,e.modifierArbitrary);return r===void 0?void 0:{"--tc-drop-shadow-color":r}},wa=[zg,Kg,Gg];var jr={appearance:"none","background-color":"#fff","border-color":"#6b7280","border-width":"1px","border-radius":"0px","padding-top":"0.5rem","padding-right":"0.75rem","padding-bottom":"0.5rem","padding-left":"0.75rem","font-size":"1rem","line-height":"1.5rem"},$a={appearance:"none",padding:"0","print-color-adjust":"exact",display:"inline-block","vertical-align":"middle","background-origin":"border-box","user-select":"none","flex-shrink":"0",height:"1rem",width:"1rem",color:"#2563eb","background-color":"#fff","border-color":"#6b7280","border-width":"1px"};function gt(e,t){return e.utility==="form"&&e.value===t||e.utility===`form-${t}`&&!e.value}var Hg=(e)=>{if(gt(e,"input"))return jr},qg=(e)=>{if(gt(e,"textarea"))return jr},Yg=(e)=>{if(gt(e,"select"))return{...jr,"background-image":`url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e")`,"background-position":"right 0.5rem center","background-repeat":"no-repeat","background-size":"1.5em 1.5em","padding-right":"2.5rem","print-color-adjust":"exact"}},Jg=(e)=>{if(gt(e,"multiselect"))return{...jr,"background-image":"initial","background-position":"initial","background-repeat":"unset","background-size":"initial","print-color-adjust":"unset"}},Xg=(e)=>{if(gt(e,"checkbox"))return{...$a,"border-radius":"0px"}},Zg=(e)=>{if(gt(e,"radio"))return{...$a,"border-radius":"100%"}},Ca=[Hg,qg,Yg,Jg,Xg,Zg];var Qg={gap:"gap","gap-x":"column-gap","gap-y":"row-gap"},mt=/^-?\d+$/,Ra=/^span-(\d+)$/,em=(e)=>{if(e.utility==="grid-cols"&&e.value){if(e.arbitrary)return{"grid-template-columns":e.value};if(e.value==="none"||e.value==="subgrid")return{"grid-template-columns":e.value};if(/^\d+$/.test(e.value))return{"grid-template-columns":`repeat(${e.value}, minmax(0, 1fr))`};return}},tm=(e)=>{if(e.utility==="col"){if(!e.value)return;if(e.arbitrary)return{"grid-column":e.value};if(e.value==="auto")return{"grid-column":"auto"};if(e.value==="span-full")return{"grid-column":"1 / -1"};let t=e.value.match(Ra);if(t)return{"grid-column":`span ${t[1]} / span ${t[1]}`};if(mt.test(e.value))return{"grid-column":e.value};return}if(e.utility==="col-span"&&e.value){if(e.arbitrary)return{"grid-column":`span ${e.value} / span ${e.value}`};if(e.value==="auto")return{"grid-column":"auto"};if(e.value==="full")return{"grid-column":"1 / -1"};if(/^\d+$/.test(e.value))return{"grid-column":`span ${e.value} / span ${e.value}`};return}if(e.utility==="col-start"&&e.value){if(e.arbitrary||e.value==="auto"||mt.test(e.value))return{"grid-column-start":e.value};return}if(e.utility==="col-end"&&e.value){if(e.arbitrary||e.value==="auto"||mt.test(e.value))return{"grid-column-end":e.value};return}},rm=(e)=>{if(e.utility==="grid-rows"&&e.value){if(e.arbitrary)return{"grid-template-rows":e.value};if(e.value==="none"||e.value==="subgrid")return{"grid-template-rows":e.value};if(/^\d+$/.test(e.value))return{"grid-template-rows":`repeat(${e.value}, minmax(0, 1fr))`};return}},nm=(e)=>{if(e.utility==="row"){if(!e.value)return;if(e.arbitrary)return{"grid-row":e.value};if(e.value==="auto")return{"grid-row":"auto"};if(e.value==="span-full")return{"grid-row":"1 / -1"};let t=e.value.match(Ra);if(t)return{"grid-row":`span ${t[1]} / span ${t[1]}`};if(mt.test(e.value))return{"grid-row":e.value};return}if(e.utility==="row-span"&&e.value){if(e.arbitrary)return{"grid-row":`span ${e.value} / span ${e.value}`};if(e.value==="auto")return{"grid-row":"auto"};if(e.value==="full")return{"grid-row":"1 / -1"};if(/^\d+$/.test(e.value))return{"grid-row":`span ${e.value} / span ${e.value}`};return}if(e.utility==="row-start"&&e.value){if(e.arbitrary||e.value==="auto"||mt.test(e.value))return{"grid-row-start":e.value};return}if(e.utility==="row-end"&&e.value){if(e.arbitrary||e.value==="auto"||mt.test(e.value))return{"grid-row-end":e.value};return}},im=(e)=>{if(e.utility==="grid-flow"&&e.value){let t={row:"row",col:"column",dense:"dense","row-dense":"row dense","col-dense":"column dense"};return t[e.value]?{"grid-auto-flow":t[e.value]}:void 0}return},om=(e)=>{if(e.utility==="auto-cols"&&e.value){let t={auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"};if(e.arbitrary)return{"grid-auto-columns":e.value};return t[e.value]?{"grid-auto-columns":t[e.value]}:void 0}},sm=(e)=>{if(e.utility==="auto-rows"&&e.value){let t={auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"};if(e.arbitrary)return{"grid-auto-rows":e.value};return t[e.value]?{"grid-auto-rows":t[e.value]}:void 0}};function am(e,t,r){let n=t.theme.spacing?.[r];if(n!==void 0)return n;if(e.arbitrary)return r;if(/^\d+(?:\.\d+)?$/.test(r)){let i=Number.parseFloat(r);if(Number.isFinite(i))return`${i*0.25}rem`}return}var lm=(e,t)=>{let r=Qg[e.utility];if(!r||!e.value)return;let n=am(e,t,e.value);return n!==void 0?{[r]:n}:void 0},cm=(e)=>{if(e.utility==="place"&&e.value&&e.value.startsWith("content-")){let t=e.value.replace("content-",""),r={center:"center",start:"start",end:"end",between:"space-between",around:"space-around",evenly:"space-evenly",stretch:"stretch"};return r[t]?{"place-content":r[t]}:void 0}return},um=(e)=>{if(e.utility==="place"&&e.value&&e.value.startsWith("items-")){let t=e.value.replace("items-",""),r={start:"start",end:"end",center:"center",stretch:"stretch"};return r[t]?{"place-items":r[t]}:void 0}return},fm=(e)=>{if(e.utility==="place"&&e.value&&e.value.startsWith("self-")){let t=e.value.replace("self-",""),r={auto:"auto",start:"start",end:"end",center:"center",stretch:"stretch"};return r[t]?{"place-self":r[t]}:void 0}return},ka=[em,tm,rm,nm,im,om,sm,lm,cm,um,fm];import{existsSync as Sa,readFileSync as dm,readdirSync as hm}from"fs";import{join as Dr}from"path";var Br=new Map;function gm(e){if(Br.has(e))return Br.get(e);let t=[Dr(process.cwd(),"node_modules","@iconify-json",e,"icons.json"),Dr(process.cwd(),"node_modules",".bun","@iconify-json",e,"icons.json")],r=Dr(process.cwd(),"node_modules",".bun");if(Sa(r))try{let n=`@iconify-json+${e}@`;for(let i of hm(r))if(i.startsWith(n))t.push(Dr(r,i,"node_modules","@iconify-json",e,"icons.json"))}catch{}for(let n of t)if(Sa(n))try{let i=JSON.parse(dm(n,"utf-8"));return Br.set(e,i),i}catch{}return Br.set(e,null),null}function mm(e,t){let r=e.icons[t];if(r)return r;let n=e.aliases?.[t];if(n)return e.icons[n.parent]??null;return null}function pm(e,t){let r=t.width??e.width??24,n=t.height??e.height??24,i=t.left??0,o=t.top??0;return`<svg xmlns='http://www.w3.org/2000/svg' viewBox='${i} ${o} ${r} ${n}' width='${r}' height='${n}'>${t.body}</svg>`}function ym(e){return`url("data:image/svg+xml;utf8,${e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\?/g,"%3F").replace(/\s+/g," ")}")`}var bm=/^i-([a-z][a-z0-9]*(?:-[a-z0-9]+)*)-(.+)$/;function xm(e){if(!e.startsWith("i-"))return;let t=e.slice(2);for(let r=t.indexOf("-");r!==-1;r=t.indexOf("-",r+1)){let n=t.slice(0,r),i=t.slice(r+1);if(!/^[a-z][a-z0-9-]*$/.test(n))continue;let o=gm(n);if(!o)continue;let s=mm(o,i);if(s)return{collection:o,icon:s}}return}var Aa=(e,t)=>{if(!bm.test(e.base))return;let r=xm(e.base);if(!r)return;let{collection:n,icon:i}=r,o=ym(pm(n,i));return{defaults:!0,properties:{display:"inline-block",width:"1em",height:"1em","background-color":"currentColor","-webkit-mask":`${o} no-repeat`,mask:`${o} no-repeat`,"-webkit-mask-size":"100% 100%","mask-size":"100% 100%","vertical-align":"-0.125em"}}};var Ea={"border-collapse":"collapse","border-separate":"separate"},Ta={"caption-top":"top","caption-bottom":"bottom"},Na={"field-sizing-content":"content","field-sizing-fixed":"fixed"},Oa={"cursor-auto":"auto","cursor-default":"default","cursor-pointer":"pointer","cursor-wait":"wait","cursor-text":"text","cursor-move":"move","cursor-help":"help","cursor-not-allowed":"not-allowed","cursor-none":"none","cursor-context-menu":"context-menu","cursor-progress":"progress","cursor-cell":"cell","cursor-crosshair":"crosshair","cursor-vertical-text":"vertical-text","cursor-alias":"alias","cursor-copy":"copy","cursor-no-drop":"no-drop","cursor-grab":"grab","cursor-grabbing":"grabbing","cursor-all-scroll":"all-scroll","cursor-col-resize":"col-resize","cursor-row-resize":"row-resize","cursor-n-resize":"n-resize","cursor-e-resize":"e-resize","cursor-s-resize":"s-resize","cursor-w-resize":"w-resize","cursor-ne-resize":"ne-resize","cursor-nw-resize":"nw-resize","cursor-se-resize":"se-resize","cursor-sw-resize":"sw-resize","cursor-ew-resize":"ew-resize","cursor-ns-resize":"ns-resize","cursor-nesw-resize":"nesw-resize","cursor-nwse-resize":"nwse-resize","cursor-zoom-in":"zoom-in","cursor-zoom-out":"zoom-out"},Ia={"pointer-events-none":"none","pointer-events-auto":"auto"},Pa={"resize-none":"none",resize:"both","resize-y":"vertical","resize-x":"horizontal"},_a={"scroll-auto":"auto","scroll-smooth":"smooth"},La={"snap-none":"none","snap-x":"x var(--tc-scroll-snap-strictness, proximity)","snap-y":"y var(--tc-scroll-snap-strictness, proximity)","snap-both":"both var(--tc-scroll-snap-strictness, proximity)"},Ma={"snap-mandatory":"mandatory","snap-proximity":"proximity"},Fa={"snap-start":"start","snap-end":"end","snap-center":"center","snap-align-none":"none"},ja={"snap-normal":"normal","snap-always":"always"},Da={"touch-auto":"auto","touch-none":"none","touch-pan-x":"pan-x","touch-pan-left":"pan-left","touch-pan-right":"pan-right","touch-pan-y":"pan-y","touch-pan-up":"pan-up","touch-pan-down":"pan-down","touch-pinch-zoom":"pinch-zoom","touch-manipulation":"manipulation"},Ba={"select-none":"none","select-text":"text","select-all":"all","select-auto":"auto"},Ua={"will-change-auto":"auto","will-change-scroll":"scroll-position","will-change-contents":"contents","will-change-transform":"transform"},Va={"stroke-linecap-butt":"butt","stroke-linecap-round":"round","stroke-linecap-square":"square"},Wa={"stroke-linejoin-miter":"miter","stroke-linejoin-round":"round","stroke-linejoin-bevel":"bevel"},za={"forced-color-adjust-auto":"auto","forced-color-adjust-none":"none"},$i={none:"0",sm:"4px",DEFAULT:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"};function Ha(e){if(e.arbitrary)return e.value;if(/^\d+(?:\.\d+)?$/.test(e.value))return`${Number(e.value)/100}`;return}function qa(e){if(!e.value)return $i.DEFAULT;if($i[e.value]!==void 0)return $i[e.value];if(e.arbitrary)return e.value;if(/^\d+(?:\.\d+)?$/.test(e.value))return`${e.value}px`;return}var Ya=["brightness","contrast","grayscale","invert","saturate","sepia"],vm=["blur","brightness","contrast","grayscale","hue-rotate","invert","saturate","sepia","drop-shadow"],wm=["blur","brightness","contrast","grayscale","hue-rotate","invert","opacity","saturate","sepia"],$m=vm.map((e)=>`var(--tc-${e}, )`).join(" "),Ka=wm.map((e)=>`var(--tc-backdrop-${e}, )`).join(" ");function Je(e,t){return{[`--tc-${e}`]:t,filter:$m}}function Ur(e,t){return{[`--tc-backdrop-${e}`]:t,"-webkit-backdrop-filter":Ka,"backdrop-filter":Ka}}var Cm=(e)=>{if(e.base==="filter-none")return{filter:"none"};if(e.utility==="blur"){let t=qa(e);return t!==void 0?Je("blur",`blur(${t})`):void 0}if(Ya.includes(e.utility)&&e.value){let t=Ha(e);return t!==void 0?Je(e.utility,`${e.utility}(${t})`):void 0}if(e.utility==="hue-rotate"&&e.value){if(e.arbitrary)return Je("hue-rotate",`hue-rotate(${e.value})`);if(/^-?\d+(?:\.\d+)?$/.test(e.value))return Je("hue-rotate",`hue-rotate(${e.value}deg)`);return}if(e.utility==="drop-shadow"){let t={sm:"drop-shadow(0 1px 1px rgb(0 0 0 / 0.05))",DEFAULT:"drop-shadow(0 1px 2px rgb(0 0 0 / 0.1)) drop-shadow(0 1px 1px rgb(0 0 0 / 0.06))",md:"drop-shadow(0 4px 3px rgb(0 0 0 / 0.07)) drop-shadow(0 2px 2px rgb(0 0 0 / 0.06))",lg:"drop-shadow(0 10px 8px rgb(0 0 0 / 0.04)) drop-shadow(0 4px 3px rgb(0 0 0 / 0.1))",xl:"drop-shadow(0 20px 13px rgb(0 0 0 / 0.03)) drop-shadow(0 8px 5px rgb(0 0 0 / 0.08))","2xl":"drop-shadow(0 25px 25px rgb(0 0 0 / 0.15))",none:"drop-shadow(0 0 #0000)"};if(!e.value)return Je("drop-shadow",t.DEFAULT);if(t[e.value])return Je("drop-shadow",t[e.value]);if(e.arbitrary)return Je("drop-shadow",`drop-shadow(${e.value})`);return}},Rm=(e)=>{if(e.base==="backdrop-filter-none")return{"backdrop-filter":"none"};if(e.utility==="backdrop-blur"){let t=qa(e);return t!==void 0?Ur("blur",`blur(${t})`):void 0}if(e.utility.startsWith("backdrop-")&&e.value){let t=e.utility.slice(9);if(Ya.includes(t)||t==="opacity"){let r=Ha(e);if(r===void 0)return;return Ur(t,`${t}(${r})`)}if(t==="hue-rotate"){if(e.arbitrary)return Ur(t,`hue-rotate(${e.value})`);if(/^-?\d+(?:\.\d+)?$/.test(e.value))return Ur(t,`hue-rotate(${e.value}deg)`);return}}},km=(e)=>Ea[e.base]?{"border-collapse":Ea[e.base]}:void 0,Sm=(e,t)=>{if(!e.utility.startsWith("border-spacing")||!e.value)return;let r=t.theme.spacing[e.value];if(r===void 0&&e.arbitrary)r=e.value;if(r===void 0&&/^\d+(?:\.\d+)?$/.test(e.value))r=`${Number.parseFloat(e.value)*0.25}rem`;if(r===void 0)return;if(e.utility==="border-spacing")return{"border-spacing":`${r} ${r}`};if(e.utility==="border-spacing-x")return{"border-spacing":`${r} 0`};if(e.utility==="border-spacing-y")return{"border-spacing":`0 ${r}`}},Am=(e)=>{if(e.utility==="table"&&e.value){let t={auto:"auto",fixed:"fixed"};return t[e.value]?{"table-layout":t[e.value]}:void 0}return},Em=(e)=>Ta[e.base]?{"caption-side":Ta[e.base]}:void 0,Tm=(e,t)=>{if(e.utility==="accent"&&e.value){let r=z(e.value,t,e.modifierArbitrary);if(r)return{"accent-color":r}}},Nm=(e)=>{let t={"appearance-none":"none","appearance-auto":"auto","appearance-base":"base"};return t[e.base]?{appearance:t[e.base]}:void 0},Om=(e,t)=>{if(e.utility==="caret"&&e.value){let r=z(e.value,t,e.modifierArbitrary);if(r)return{"caret-color":r}}},Im={normal:"normal",light:"light",dark:"dark","light-dark":"light dark","only-dark":"only dark","only-light":"only light"},Ga=(e)=>{let t=e.base,r=t.startsWith("scheme-")?t.slice(7):t.startsWith("color-scheme-")?t.slice(13):void 0;if(r===void 0)return;let n=Im[r];return n?{"color-scheme":n}:void 0},Pm=(e)=>Na[e.base]?{"field-sizing":Na[e.base]}:void 0,_m=(e)=>Oa[e.base]?{cursor:Oa[e.base]}:void 0,Lm=(e)=>Ia[e.base]?{"pointer-events":Ia[e.base]}:void 0,Mm=(e)=>Pa[e.base]?{resize:Pa[e.base]}:void 0,Fm=(e)=>_a[e.base]?{"scroll-behavior":_a[e.base]}:void 0,jm=(e,t)=>{let n={"scroll-m":["scroll-margin"],"scroll-mx":["scroll-margin-left","scroll-margin-right"],"scroll-my":["scroll-margin-top","scroll-margin-bottom"],"scroll-mt":["scroll-margin-top"],"scroll-mr":["scroll-margin-right"],"scroll-mb":["scroll-margin-bottom"],"scroll-ml":["scroll-margin-left"]}[e.utility];if(!n||!e.value)return;let i=t.theme.spacing[e.value];if(i===void 0&&e.arbitrary)i=e.value;if(i===void 0&&/^\d+(?:\.\d+)?$/.test(e.value))i=`${Number.parseFloat(e.value)*0.25}rem`;if(i===void 0)return;let o={};for(let s of n)o[s]=i;return o},Dm=(e,t)=>{let n={"scroll-p":["scroll-padding"],"scroll-px":["scroll-padding-left","scroll-padding-right"],"scroll-py":["scroll-padding-top","scroll-padding-bottom"],"scroll-pt":["scroll-padding-top"],"scroll-pr":["scroll-padding-right"],"scroll-pb":["scroll-padding-bottom"],"scroll-pl":["scroll-padding-left"]}[e.utility];if(!n||!e.value)return;let i=t.theme.spacing[e.value];if(i===void 0&&e.arbitrary)i=e.value;if(i===void 0&&/^\d+(?:\.\d+)?$/.test(e.value))i=`${Number.parseFloat(e.value)*0.25}rem`;if(i===void 0)return;let o={};for(let s of n)o[s]=i;return o},Bm=(e)=>{if(La[e.base])return{"scroll-snap-type":La[e.base]};if(Ma[e.base])return{"--tc-scroll-snap-strictness":Ma[e.base]};if(Fa[e.base])return{"scroll-snap-align":Fa[e.base]};if(ja[e.base])return{"scroll-snap-stop":ja[e.base]}},Um=(e)=>Da[e.base]?{"touch-action":Da[e.base]}:void 0,Vm=(e)=>Ba[e.base]?{"user-select":Ba[e.base]}:void 0,Wm=(e)=>Ua[e.base]?{"will-change":Ua[e.base]}:void 0,zm=(e,t)=>{if(e.utility==="fill"&&e.value){if(e.value==="none")return{fill:"none"};let r=z(e.value,t,e.modifierArbitrary);if(r)return{fill:r}}},Km=(e,t)=>{if(e.utility==="stroke"&&e.value){if(e.value==="none")return{stroke:"none"};let r=z(e.value,t,e.modifierArbitrary);if(r)return{stroke:r}}},Gm=(e)=>{if(e.utility==="stroke"&&e.value){if(e.arbitrary||/^\d+(?:\.\d+)?$/.test(e.value))return{"stroke-width":e.value};return}},Hm=(e)=>{if(e.utility==="stroke-dasharray"&&e.value){if(e.value==="none")return{"stroke-dasharray":"none"};if(e.arbitrary||/^\d+(?:\.\d+)?$/.test(e.value))return{"stroke-dasharray":e.value};return}},qm=(e)=>{if(e.utility==="stroke-dashoffset"&&e.value){if(e.arbitrary||/^-?\d+(?:\.\d+)?$/.test(e.value))return{"stroke-dashoffset":e.value};return}},Ym=(e)=>Va[e.base]?{"stroke-linecap":Va[e.base]}:void 0,Jm=(e)=>Wa[e.base]?{"stroke-linejoin":Wa[e.base]}:void 0,Xm=(e)=>{if(e.base==="sr-only")return{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)","white-space":"nowrap","border-width":"0"};if(e.base==="not-sr-only")return{position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",clip:"auto","white-space":"normal"};return},Zm=(e)=>za[e.base]?{"forced-color-adjust":za[e.base]}:void 0,Ja=[Cm,Rm,km,Sm,Am,Em,Tm,Nm,Ga,Om,Ga,Pm,_m,Lm,Mm,Fm,jm,Dm,Bm,Um,Vm,Wm,zm,Km,Gm,Hm,qm,Ym,Jm,Xm,Zm];function $e(e,t){let r=e/t*100;if(!Number.isFinite(r))return;return`${Qm(r)}%`}function Qm(e){if(Number.isInteger(e))return String(e);return e.toFixed(6).replace(/\.?0+$/,"")}var Xa={"column-fill-auto":"auto","column-fill-balance":"balance","column-fill-balance-all":"balance-all"},Za={"column-span-all":"all","column-span-none":"none"},Qa={"box-decoration-clone":"clone","box-decoration-slice":"slice"},el={"box-border":"border-box","box-content":"content-box"},tl={"float-start":"inline-start","float-end":"inline-end","float-right":"right","float-left":"left","float-none":"none"},rl={"clear-start":"inline-start","clear-end":"inline-end","clear-left":"left","clear-right":"right","clear-both":"both","clear-none":"none"},nl={isolate:"isolate","isolation-auto":"auto"},il={"object-contain":"contain","object-cover":"cover","object-fill":"fill","object-none":"none","object-scale-down":"scale-down"},ol={"object-bottom":"bottom","object-center":"center","object-left":"left","object-left-bottom":"left bottom","object-left-top":"left top","object-right":"right","object-right-bottom":"right bottom","object-right-top":"right top","object-top":"top"},sl={"overscroll-auto":"auto","overscroll-contain":"contain","overscroll-none":"none","overscroll-x-auto":"auto","overscroll-x-contain":"contain","overscroll-x-none":"none","overscroll-y-auto":"auto","overscroll-y-contain":"contain","overscroll-y-none":"none"},al={visible:"visible",invisible:"hidden",collapse:"collapse"},ep=(e)=>{if(e.utility==="aspect"&&e.value){let t={auto:"auto",square:"1 / 1",video:"16 / 9"};if(t[e.value])return{"aspect-ratio":t[e.value]};if(e.arbitrary)return{"aspect-ratio":e.value};let r=e.value.match(/^(\d+(?:\.\d+)?)\/(\d+(?:\.\d+)?)$/);if(r)return{"aspect-ratio":`${r[1]} / ${r[2]}`};if(/^\d+(?:\.\d+)?$/.test(e.value))return{"aspect-ratio":e.value};return}},tp=(e,t)=>{if(e.utility==="columns"&&e.value){let r={"1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","7":"7","8":"8","9":"9","10":"10","11":"11","12":"12",auto:"auto"},n={"3xs":"16rem","2xs":"18rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem"};if(r[e.value])return{columns:r[e.value]};if(n[e.value])return{columns:n[e.value]};if(t.theme.spacing[e.value])return{columns:t.theme.spacing[e.value]};if(e.arbitrary||/^\d+$/.test(e.value))return{columns:e.value};return}},rp=(e)=>Xa[e.base]?{"column-fill":Xa[e.base]}:void 0,np=(e,t)=>{if(e.utility==="column-gap"&&e.value){let r=t.theme.spacing[e.value];if(r===void 0&&e.arbitrary)r=e.value;if(r===void 0&&/^\d+(?:\.\d+)?$/.test(e.value))r=`${Number.parseFloat(e.value)*0.25}rem`;return r!==void 0?{"column-gap":r}:void 0}},ip=(e,t)=>{if(e.utility==="column-rule"&&e.value){let r={"0":"0px","1":"1px","2":"2px","4":"4px","8":"8px"};if(r[e.value])return{"column-rule-width":r[e.value]};let n=e.value.split("-");if(n.length===2){let[s,l]=n,a=t.theme.colors[s];if(typeof a==="object"&&a[l])return{"column-rule-color":W(e.value,a[l],s,t.colorVariables)}}let i=t.theme.colors[e.value];if(typeof i==="string")return{"column-rule-color":W(e.value,i,e.value,t.colorVariables)};if(typeof i==="object"&&i!==null&&typeof i.DEFAULT==="string")return{"column-rule-color":W(e.value,i.DEFAULT,e.value,t.colorVariables)};let o={solid:"solid",dashed:"dashed",dotted:"dotted",double:"double",hidden:"hidden",none:"none"};if(o[e.value])return{"column-rule-style":o[e.value]}}},op=(e)=>Za[e.base]?{"column-span":Za[e.base]}:void 0,sp=(e)=>({"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-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-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"}})[e.base],ap=(e)=>Qa[e.base]?{"box-decoration-break":Qa[e.base]}:void 0,lp=(e)=>el[e.base]?{"box-sizing":el[e.base]}:void 0,cp=(e)=>tl[e.base]?{float:tl[e.base]}:void 0,up=(e)=>rl[e.base]?{clear:rl[e.base]}:void 0,fp=(e)=>nl[e.base]?{isolation:nl[e.base]}:void 0,ll=["size","inline-size","layout","paint","style"],dp=ll.map((e)=>`var(--tc-contain-${e}, )`).join(" "),hp=["none","content","strict"],gp=(e)=>{if(e.utility!=="contain"||!e.value)return;if(e.arbitrary)return{contain:e.value};if(hp.includes(e.value))return{contain:e.value};if(ll.includes(e.value))return{[`--tc-contain-${e.value}`]:e.value,contain:dp};return},mp=(e)=>il[e.base]?{"object-fit":il[e.base]}:void 0,pp=(e)=>ol[e.base]?{"object-position":ol[e.base]}:void 0,yp=(e)=>{if(e.utility==="overflow"){let t=["auto","hidden","clip","visible","scroll"];if(e.value&&t.includes(e.value))return{overflow:e.value}}if(e.utility==="overflow-x"||e.utility==="overflow-y"){let t=["auto","hidden","clip","visible","scroll"];if(e.value&&t.includes(e.value))return{[e.utility]:e.value}}},bp=(e)=>{let t=e.base.startsWith("overscroll-x")?"overscroll-behavior-x":e.base.startsWith("overscroll-y")?"overscroll-behavior-y":"overscroll-behavior";return sl[e.base]?{[t]:sl[e.base]}:void 0},xp=(e)=>{if(["static","fixed","absolute","relative","sticky"].includes(e.utility))return{position:e.utility}},vp=(e,t)=>{let n={inset:["top","right","bottom","left"],"inset-x":["left","right"],"inset-y":["top","bottom"],top:["top"],right:["right"],bottom:["bottom"],left:["left"],start:["inset-inline-start"],end:["inset-inline-end"]}[e.utility];if(!n||!e.value)return;let i=(l)=>{if(l.includes("/")&&!e.arbitrary){let[c,u]=l.split("/").map(Number);if(!Number.isNaN(c)&&!Number.isNaN(u)&&u!==0)return $e(c,u);return}if(l==="full")return"100%";if(l==="auto")return"auto";if(e.arbitrary)return l;let a=t.theme.spacing[l];if(a!==void 0)return a;if(/^\d+(?:\.\d+)?$/.test(l))return`${Number.parseFloat(l)*0.25}rem`;return},o;if(e.value.startsWith("-")){let l=e.value.slice(1),a=i(l);if(a===void 0)o=void 0;else if(a.endsWith("%"))o=`${-Number.parseFloat(a)}%`;else o=a.startsWith("-")?a:`-${a}`}else o=i(e.value);if(o===void 0)return;let s={};for(let l of n)s[l]=o;return s},wp=(e)=>al[e.utility]?{visibility:al[e.utility]}:void 0,$p=(e)=>{if(e.utility==="z"&&e.value){if(e.arbitrary||e.value==="auto"||/^-?\d+$/.test(e.value))return{"z-index":e.value};return}},cl=[ep,tp,rp,np,ip,op,sp,ap,lp,cp,up,gp,fp,mp,pp,yp,bp,xp,vp,wp,$p];var Cp={rotate:"rotate","rotate-x":"rotateX","rotate-y":"rotateY","rotate-z":"rotateZ"},Rp={"translate-x":"translateX","translate-y":"translateY","translate-z":"translateZ"},ul={"backface-visible":"visible","backface-hidden":"hidden"},fl={"transform-flat":"flat","transform-3d":"preserve-3d"},dl={"transition-none":"none","transition-all":"all",transition:"color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter","transition-colors":"color, background-color, border-color, text-decoration-color, fill, stroke","transition-opacity":"opacity","transition-shadow":"box-shadow","transition-transform":"transform"},hl={"ease-linear":"linear","ease-in":"cubic-bezier(0.4, 0, 1, 1)","ease-out":"cubic-bezier(0, 0, 0.2, 1)","ease-in-out":"cubic-bezier(0.4, 0, 0.2, 1)","ease-initial":"initial"},gl={"transition-normal":"normal","transition-discrete":"allow-discrete","transition-behavior-normal":"normal","transition-behavior-allow-discrete":"allow-discrete"},ml={none:"none",spin:"spin 1s linear infinite",ping:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",pulse:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",bounce:"bounce 1s infinite"},pl={"animate-running":"running","animate-paused":"paused"},yl={"animate-normal":"normal","animate-reverse":"reverse","animate-alternate":"alternate","animate-alternate-reverse":"alternate-reverse"},bl={"animate-fill-none":"none","animate-fill-forwards":"forwards","animate-fill-backwards":"backwards","animate-fill-both":"both"},xl={"animate-ease-linear":"linear","animate-ease-in":"cubic-bezier(0.4, 0, 1, 1)","animate-ease-out":"cubic-bezier(0, 0, 0.2, 1)","animate-ease-in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},vl="rotate(var(--tc-rotate, 0deg)) skewX(var(--tc-skew-x, 0deg)) skewY(var(--tc-skew-y, 0deg)) scaleX(var(--tc-scale-x, 1)) scaleY(var(--tc-scale-y, 1))",Lt=`translate(var(--tc-translate-x, 0), var(--tc-translate-y, 0)) ${vl}`,Ri=`translate3d(var(--tc-translate-x, 0), var(--tc-translate-y, 0), 0) ${vl}`,kp={transform:Lt,"transform-cpu":Lt,"transform-gpu":Ri,"transform-none":"none"},Sp=(e)=>{let t=kp[e.base];return t?{transform:t}:void 0};function Vr(e,t){if(!t.value)return{transform:`${e}(1)`};if(t.arbitrary)return{transform:`${e}(${t.value})`};if(/^-?\d+(?:\.\d+)?$/.test(t.value))return{transform:`${e}(${Number(t.value)/100})`};return}function Ci(e){let t=e.value;if(e.arbitrary)return t;if(/^-?\d+(?:\.\d+)?$/.test(t))return`${t}deg`;if(/^-?\d+(?:\.\d+)?(?:deg|rad|grad|turn)$/.test(t))return t;return}var Ap=(e)=>{if(e.utility==="scale")return Vr("scale",e);if(e.utility==="scale-x")return Vr("scaleX",e);if(e.utility==="scale-y")return Vr("scaleY",e);if(e.utility==="scale-z")return Vr("scaleZ",e)},Ep=(e)=>{if(!e.value)return;let t=Cp[e.utility];if(!t)return;let r=Ci(e);return r!==void 0?{transform:`${t}(${r})`}:void 0},Tp=(e,t)=>{let r=(o)=>{if(o.includes("/")){let[l,a]=o.split("/");return $e(Number(l),Number(a))}if(o==="full")return"100%";if(o==="half")return"50%";if(e.arbitrary)return o;let s=t.theme.spacing[o];if(s!==void 0)return s;if(/^\d+(?:\.\d+)?$/.test(o))return`${Number.parseFloat(o)*0.25}rem`;return},n=Rp[e.utility];if(!n||!e.value)return;let i;if(e.value.startsWith("-")){let o=r(e.value.slice(1));i=o===void 0?void 0:`-${o}`}else i=r(e.value);return i!==void 0?{transform:`${n}(${i})`}:void 0},Np=(e)=>{if(e.utility==="skew-x"&&e.value){let t=Ci(e);return t!==void 0?{transform:`skewX(${t})`}:void 0}if(e.utility==="skew-y"&&e.value){let t=Ci(e);return t!==void 0?{transform:`skewY(${t})`}:void 0}},Op=(e)=>{if(e.utility==="origin"&&e.value){if(e.arbitrary)return{"transform-origin":e.value.replace(/_/g," ")};let t={center:"center",top:"top","top-right":"top right",right:"right","bottom-right":"bottom right",bottom:"bottom","bottom-left":"bottom left",left:"left","top-left":"top left"};return t[e.value]?{"transform-origin":t[e.value]}:void 0}return},Ip={dramatic:"100px",near:"300px",normal:"500px",midrange:"800px",distant:"1200px"},Pp=(e)=>{if(e.utility==="perspective"&&e.value){if(e.value==="none")return{perspective:"none"};if(e.arbitrary||/^\d+(?:\.\d+)?(?:px|rem|em)$/.test(e.value))return{perspective:e.value};let t=Ip[e.value];if(t)return{perspective:t};if(/^\d+(?:\.\d+)?$/.test(e.value))return{perspective:`${e.value}px`};return}return},_p=(e)=>{if(e.utility==="perspective-origin"&&e.value)return{"perspective-origin":{center:"center",top:"top","top-right":"top right",right:"right","bottom-right":"bottom right",bottom:"bottom","bottom-left":"bottom left",left:"left","top-left":"top left"}[e.value]||e.value}},Lp=(e)=>ul[e.base]?{"backface-visibility":ul[e.base]}:void 0,Mp=(e)=>fl[e.base]?{"transform-style":fl[e.base]}:void 0,Fp=(e)=>dl[e.base]?{"transition-property":dl[e.base]}:void 0;function Wr(e,t){let r=e.value;if(t[r])return t[r];if(e.arbitrary)return r;if(/^\d+(?:\.\d+)?$/.test(r))return`${r}ms`;return}var jp=(e)=>{if(e.utility==="duration"&&e.value){let r=Wr(e,{"0":"0s","75":"75ms","100":"100ms","150":"150ms","200":"200ms","300":"300ms","500":"500ms","700":"700ms","1000":"1000ms"});return r!==void 0?{"transition-duration":r}:void 0}},Dp=(e)=>hl[e.base]?{"transition-timing-function":hl[e.base]}:void 0,Bp=(e)=>{if(e.utility==="delay"&&e.value){let r=Wr(e,{"0":"0s","75":"75ms","100":"100ms","150":"150ms","200":"200ms","300":"300ms","500":"500ms","700":"700ms","1000":"1000ms"});return r!==void 0?{"transition-delay":r}:void 0}},Up=(e)=>gl[e.base]?{"transition-behavior":gl[e.base]}:void 0,Vp=(e)=>{if(e.utility!=="animate")return;if(e.arbitrary&&e.value)return{animation:e.value.replace(/_/g," ")};if(e.value&&ml[e.value])return{animation:ml[e.value]};return},Wp=(e)=>pl[e.base]?{"animation-play-state":pl[e.base]}:void 0,zp=(e)=>yl[e.base]?{"animation-direction":yl[e.base]}:void 0,Kp=(e)=>bl[e.base]?{"animation-fill-mode":bl[e.base]}:void 0,Gp=(e)=>{if(e.utility==="animate-iteration"&&e.value){if(e.value==="infinite"||e.arbitrary||/^\d+(?:\.\d+)?$/.test(e.value))return{"animation-iteration-count":e.value};return}},Hp=(e)=>{if(e.utility==="animate-duration"&&e.value){let r=Wr(e,{"75":"75ms","100":"100ms","150":"150ms","200":"200ms","300":"300ms","500":"500ms","700":"700ms","1000":"1000ms"});return r!==void 0?{"animation-duration":r}:void 0}},qp=(e)=>{if(e.utility==="animate-delay"&&e.value){let r=Wr(e,{"75":"75ms","100":"100ms","150":"150ms","200":"200ms","300":"300ms","500":"500ms","700":"700ms","1000":"1000ms"});return r!==void 0?{"animation-delay":r}:void 0}},Yp=(e)=>xl[e.base]?{"animation-timing-function":xl[e.base]}:void 0,wl=[Sp,Ap,Ep,Tp,Np,Op,Pp,_p,Lp,Mp,Fp,Up,jp,Dp,Bp,Vp,Wp,zp,Kp,Gp,Hp,qp,Yp];var $l={italic:"italic","not-italic":"normal"},Cl={"normal-nums":"normal",ordinal:"ordinal","slashed-zero":"slashed-zero","lining-nums":"lining-nums","oldstyle-nums":"oldstyle-nums","proportional-nums":"proportional-nums","tabular-nums":"tabular-nums","diagonal-fractions":"diagonal-fractions","stacked-fractions":"stacked-fractions"},Rl={"list-inside":"inside","list-outside":"outside"},kl={none:"none",disc:"disc",decimal:"decimal"},Sl={underline:"underline",overline:"overline","line-through":"line-through","no-underline":"none"},Al={uppercase:"uppercase",lowercase:"lowercase",capitalize:"capitalize","normal-case":"none"},El={"text-wrap":"wrap","text-nowrap":"nowrap","text-balance":"balance","text-pretty":"pretty"},Tl={"align-baseline":"baseline","align-top":"top","align-middle":"middle","align-bottom":"bottom","align-text-top":"text-top","align-text-bottom":"text-bottom","align-sub":"sub","align-super":"super"},Nl={"whitespace-normal":"normal","whitespace-nowrap":"nowrap","whitespace-pre":"pre","whitespace-pre-line":"pre-line","whitespace-pre-wrap":"pre-wrap","whitespace-break-spaces":"break-spaces"},Ol={"break-all":"break-all","break-keep":"keep-all"},Il={"hyphens-none":"none","hyphens-manual":"manual","hyphens-auto":"auto"},Pl={"writing-horizontal-tb":"horizontal-tb","writing-vertical-rl":"vertical-rl","writing-vertical-lr":"vertical-lr"},_l={"text-orientation-mixed":"mixed","text-orientation-upright":"upright","text-orientation-sideways":"sideways"},Ll={"direction-ltr":"ltr","direction-rtl":"rtl"},Ml={"small-caps":"small-caps","all-small-caps":"all-small-caps","petite-caps":"petite-caps","all-petite-caps":"all-petite-caps",unicase:"unicase","titling-caps":"titling-caps","normal-caps":"normal"},Fl={"ligatures-normal":"normal","ligatures-none":"none","common-ligatures":"common-ligatures","no-common-ligatures":"no-common-ligatures","discretionary-ligatures":"discretionary-ligatures","no-discretionary-ligatures":"no-discretionary-ligatures","historical-ligatures":"historical-ligatures","no-historical-ligatures":"no-historical-ligatures",contextual:"contextual","no-contextual":"no-contextual"},Jp=(e,t)=>{if(e.utility==="font"&&e.value){let r=t.theme.fontFamily[e.value];if(r)return{"font-family":r.join(", ")}}},Xp=(e)=>({antialiased:{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"},"subpixel-antialiased":{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"}})[e.base],Zp=(e)=>$l[e.base]?{"font-style":$l[e.base]}:void 0,Qp=(e)=>{if(e.utility==="font-stretch"&&e.value){if(["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"].includes(e.value))return{"font-stretch":e.value};if(e.arbitrary||/^\d+(?:\.\d+)?%$/.test(e.value))return{"font-stretch":e.value};return}},ey=(e)=>Cl[e.base]?{"font-variant-numeric":Cl[e.base]}:void 0,ty=(e)=>{if(e.utility==="tracking"){let t={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"};if(!e.value)return;if(e.arbitrary)return{"letter-spacing":e.value};if(e.value.startsWith("-")){let r=e.value.slice(1);return t[r]?{"letter-spacing":`-${t[r]}`}:void 0}return t[e.value]?{"letter-spacing":t[e.value]}:void 0}},ry=(e)=>{if(e.utility==="line-clamp"&&e.value){if(e.value==="none")return{overflow:"visible",display:"block","-webkit-box-orient":"horizontal","-webkit-line-clamp":"none"};if(!e.arbitrary&&!/^\d+$/.test(e.value))return;return{overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":e.value}}},ny=(e)=>{if(e.utility==="list-image"&&e.value){if(e.value==="none")return{"list-style-image":"none"};if(e.arbitrary)return{"list-style-image":e.value};return{"list-style-image":`url(${e.value})`}}},iy=(e)=>Rl[e.base]?{"list-style-position":Rl[e.base]}:void 0,oy=(e)=>{if(e.utility!=="list"||!e.value)return;return kl[e.value]?{"list-style-type":kl[e.value]}:void 0},sy=(e,t)=>{if(Sl[e.base])return{"text-decoration-line":Sl[e.base]};if(e.utility==="decoration"&&e.value){let r={solid:"solid",double:"double",dotted:"dotted",dashed:"dashed",wavy:"wavy"};if(r[e.value])return{"text-decoration-style":r[e.value]};let n={auto:"auto","from-font":"from-font","0":"0px","1":"1px","2":"2px","4":"4px","8":"8px"};if(n[e.value])return{"text-decoration-thickness":n[e.value]};if(e.arbitrary)return{"text-decoration-thickness":e.value};let i=z(e.value,t,e.modifierArbitrary);if(i)return{"text-decoration-color":i};return}return},ay=(e)=>{if(e.utility==="underline-offset"&&e.value){let t={auto:"auto",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"};if(t[e.value])return{"text-underline-offset":t[e.value]};if(e.arbitrary)return{"text-underline-offset":e.value};if(/^\d+(?:\.\d+)?$/.test(e.value))return{"text-underline-offset":`${e.value}px`};return}},ly=(e)=>Al[e.base]?{"text-transform":Al[e.base]}:void 0,cy=(e)=>({truncate:{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"},"text-ellipsis":{"text-overflow":"ellipsis"},"text-clip":{"text-overflow":"clip"}})[e.base],uy=(e)=>El[e.base]?{"text-wrap":El[e.base]}:void 0,fy=(e,t)=>{if(e.utility==="indent"&&e.value){if(e.arbitrary)return{"text-indent":e.value};let r=(i)=>{let o=t.theme.spacing[i];if(o!==void 0)return o;if(/^\d+(?:\.\d+)?$/.test(i))return`${Number.parseFloat(i)*0.25}rem`;return};if(e.value.startsWith("-")){let i=r(e.value.slice(1));return i!==void 0?{"text-indent":`-${i}`}:void 0}let n=r(e.value);return n!==void 0?{"text-indent":n}:void 0}},dy=(e)=>Tl[e.base]?{"vertical-align":Tl[e.base]}:void 0,hy=(e)=>Nl[e.base]?{"white-space":Nl[e.base]}:void 0,gy=(e)=>{if(e.base==="break-normal")return{"overflow-wrap":"normal","word-break":"normal"};if(e.base==="break-words")return{"overflow-wrap":"break-word"};return Ol[e.base]?{"word-break":Ol[e.base]}:void 0},my=(e)=>{let t={"overflow-wrap-normal":"normal","overflow-wrap-break":"break-word","overflow-wrap-anywhere":"anywhere","wrap-normal":"normal","wrap-break-word":"break-word","wrap-anywhere":"anywhere"};return t[e.base]?{"overflow-wrap":t[e.base]}:void 0},py=(e)=>{if(e.utility!=="tab"||!e.value)return;if(e.arbitrary||/^\d+$/.test(e.value))return{"tab-size":e.value};return},yy=(e)=>Il[e.base]?{hyphens:Il[e.base]}:void 0,by=(e)=>{if(e.utility==="content"&&e.value){let t={none:"none"};if(t[e.value]||e.value.startsWith('"')||e.value.startsWith("'"))return{content:t[e.value]||e.value};if(e.arbitrary)return{content:e.value};return}},xy=(e,t)=>{if(e.utility==="leading"){if(!e.value)return;let r={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"};if(r[e.value])return{"line-height":r[e.value]};if(e.arbitrary)return{"line-height":e.value};if(/^\d+(?:\.\d+)?$/.test(e.value))return{"line-height":`${Number.parseFloat(e.value)*0.25}rem`};return}},vy=(e)=>Pl[e.base]?{"writing-mode":Pl[e.base]}:void 0,wy=(e)=>_l[e.base]?{"text-orientation":_l[e.base]}:void 0,$y=(e)=>Ll[e.base]?{direction:Ll[e.base]}:void 0,Cy=(e)=>{if(e.utility==="text-emphasis"&&e.value){let t={none:"none",filled:"filled",open:"open",dot:"dot",circle:"circle","double-circle":"double-circle",triangle:"triangle",sesame:"sesame"};if(t[e.value])return{"text-emphasis":t[e.value]};return e.arbitrary?{"text-emphasis":e.value}:void 0}},Ry=(e,t)=>{if(e.utility==="text-emphasis-color"&&e.value){let r=e.value.split("-");if(r.length===2){let[i,o]=r,s=t.theme.colors[i];if(typeof s==="object"&&s[o])return{"text-emphasis-color":W(e.value,s[o],i,t.colorVariables)}}let n=t.theme.colors[e.value];if(typeof n==="string")return{"text-emphasis-color":W(e.value,n,e.value,t.colorVariables)};if(typeof n==="object"&&n!==null&&typeof n.DEFAULT==="string")return{"text-emphasis-color":W(e.value,n.DEFAULT,e.value,t.colorVariables)}}},ky=(e,t)=>{if(e.utility==="word-spacing"&&e.value){let r={tighter:"-0.05em",tight:"-0.025em",normal:"normal",wide:"0.025em",wider:"0.05em",widest:"0.1em"};if(r[e.value])return{"word-spacing":r[e.value]};if(t.theme.spacing[e.value])return{"word-spacing":t.theme.spacing[e.value]};if(e.arbitrary)return{"word-spacing":e.value};return}},Sy=(e)=>Ml[e.base]?{"font-variant-caps":Ml[e.base]}:void 0,Ay=(e)=>Fl[e.base]?{"font-variant-ligatures":Fl[e.base]}:void 0,jl=[Jp,Xp,Zp,Qp,ey,Sy,Ay,ty,xy,ry,ny,iy,oy,sy,ay,ly,cy,uy,fy,dy,hy,gy,my,py,yy,by,vy,wy,$y,Cy,Ry,ky];var Dl={"flex-row":"row","flex-row-reverse":"row-reverse","flex-col":"column","flex-col-reverse":"column-reverse"},Bl={"flex-wrap":"wrap","flex-wrap-reverse":"wrap-reverse","flex-nowrap":"nowrap"},ki={0:"0px",2:"2px",4:"4px",8:"8px"},Ey=(e)=>{if(["block","inline-block","inline","flex","inline-flex","grid","inline-grid","hidden","none","contents","flow-root","list-item"].includes(e.utility)&&!e.value)return{display:e.utility==="hidden"?"none":e.utility};if(e.utility==="table"){if(!e.value)return{display:"table"};if(new Set(["cell","row","row-group","column","column-group","header-group","footer-group","caption"]).has(e.value))return{display:`table-${e.value}`}}if(e.utility==="inline"&&e.value==="table")return{display:"inline-table"};if(e.utility==="flow"&&e.value==="root")return{display:"flow-root"};if(e.utility==="list"&&e.value==="item")return{display:"list-item"}},Ty=(e)=>{if(e.utility==="scrollbar"&&e.value){let r={auto:"auto",thin:"thin",none:"none"}[e.value];if(r)return{"scrollbar-width":r}}},Ny=(e)=>{if(e.utility==="content"){if(e.value==="none")return{content:"none"};if(e.value==="empty")return{content:'""'};if(e.arbitrary&&e.value)return{content:e.value}}},Oy=(e)=>{if(e.utility==="@container")return{"container-type":"inline-size"};if(e.utility==="@container-normal")return{"container-type":"normal"};if(e.utility.startsWith("@container/"))return{"container-type":"inline-size","container-name":e.utility.slice(11)}},Iy=(e)=>Dl[e.utility]?{"flex-direction":Dl[e.utility]}:void 0,Py=(e)=>Bl[e.utility]?{"flex-wrap":Bl[e.utility]}:void 0,_y=(e)=>{if(e.utility==="flex"||e.utility.startsWith("flex-")){let t={"flex-1":"1 1 0%","flex-auto":"1 1 auto","flex-initial":"0 1 auto","flex-none":"none"};if(t[e.utility])return{flex:t[e.utility]};if(e.utility==="flex"&&e.arbitrary&&e.value)return{flex:e.value.replace(/_/g," ")}}return},Ly=(e)=>{if(e.utility==="flex-grow"&&!e.value)return{"flex-grow":"1"};if(e.utility==="flex-grow"&&e.value)return{"flex-grow":e.value}},My=(e)=>{if(e.utility==="flex-shrink"&&!e.value)return{"flex-shrink":"1"};if(e.utility==="flex-shrink"&&e.value)return{"flex-shrink":e.value}},Fy=(e)=>{if(e.utility==="justify"&&e.value){let t={start:"flex-start",end:"flex-end",center:"center",between:"space-between",around:"space-around",evenly:"space-evenly"};if(t[e.value])return{"justify-content":t[e.value]};if(e.arbitrary)return{"justify-content":e.value}}return},jy=(e)=>{if(e.utility==="items"&&e.value){let t={start:"flex-start",end:"flex-end",center:"center",baseline:"baseline",stretch:"stretch"};if(t[e.value])return{"align-items":t[e.value]};if(e.arbitrary)return{"align-items":e.value}}return},Dy=(e)=>{if(e.utility==="justify"&&e.value&&e.value.startsWith("items-")){let t={"items-start":"start","items-end":"end","items-center":"center","items-stretch":"stretch","items-center-safe":"safe center","items-end-safe":"safe end"};return t[e.value]?{"justify-items":t[e.value]}:void 0}return},By=(e)=>{if(e.utility==="content"&&e.value){let t={normal:"normal",center:"center",start:"flex-start",end:"flex-end",between:"space-between",around:"space-around",evenly:"space-evenly",baseline:"baseline",stretch:"stretch"};return t[e.value]?{"align-content":t[e.value]}:void 0}return},Uy=(e,t)=>{let n={p:["padding"],px:["padding-left","padding-right"],py:["padding-top","padding-bottom"],pt:["padding-top"],pr:["padding-right"],pb:["padding-bottom"],pl:["padding-left"],ps:["padding-inline-start"],pe:["padding-inline-end"],m:["margin"],mx:["margin-left","margin-right"],my:["margin-top","margin-bottom"],mt:["margin-top"],mr:["margin-right"],mb:["margin-bottom"],ml:["margin-left"],ms:["margin-inline-start"],me:["margin-inline-end"]}[e.utility];if(!n||!e.value)return;let i=(l)=>{if(l==="auto")return e.utility.charCodeAt(0)===109?"auto":void 0;let a=t.theme.spacing[l];if(a!==void 0)return a;if(e.arbitrary)return l;if(/^\d+(?:\.\d+)?$/.test(l)){let c=Number.parseFloat(l);if(Number.isFinite(c))return`${c*0.25}rem`}return},o;if(e.value.startsWith("-")){if(e.utility.charCodeAt(0)===112)return;let l=e.value.slice(1);if(l==="0")o=t.theme.spacing[l]||"0";else{let a=i(l);o=a===void 0?void 0:`-${a}`}}else o=i(e.value);if(o===void 0)return;let s={};for(let l of n)s[l]=o;return s};function pe(e,t,r){let n=e.value;if(n.includes("/")&&!e.arbitrary){let[o,s]=n.split("/").map(Number);if(Number.isNaN(o)||Number.isNaN(s)||s===0)return;return $e(o,s)}let i=t.theme.spacing[n];if(i!==void 0)return i;if(r[n])return r[n];if(e.arbitrary)return n;if(/^\d+(?:\.\d+)?$/.test(n))return`${Number.parseFloat(n)*0.25}rem`;return}var Vy=(e,t)=>{if(e.utility==="w"&&e.value){let n=pe(e,t,{full:"100%",screen:"100vw",svw:"100svw",lvw:"100lvw",dvw:"100dvw",auto:"auto",min:"min-content",max:"max-content",fit:"fit-content"});return n!==void 0?{width:n}:void 0}if(e.utility==="h"&&e.value){let n=pe(e,t,{full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",auto:"auto",min:"min-content",max:"max-content",fit:"fit-content"});return n!==void 0?{height:n}:void 0}if(e.utility==="size"&&e.value){let n=pe(e,t,{full:"100%",auto:"auto",min:"min-content",max:"max-content",fit:"fit-content"});return n!==void 0?{width:n,height:n}:void 0}return},je=null,zr=null,Kr,Wy={bg:"background-color",text:"color",border:"border-color"},zy={bg:{color:"background-color",image:"background-image",url:"background-image",position:"background-position",length:"background-size"},text:{color:"color",length:"font-size","absolute-size":"font-size","relative-size":"font-size","family-name":"font-family"},border:{color:"border-color",length:"border-width","line-width":"border-width"}},Ky=new Set(["length","absolute-size","relative-size","percentage","number"]),Gy=/^(?:url|(?:repeating-)?(?:linear|radial|conic)-gradient|image-set|-webkit-image-set|cross-fade|element|paint)\(/i,Vl={current:"currentColor",transparent:"transparent",inherit:"inherit"};function W(e,t,r,n){return n?.includes(r)?`var(--color-${e}, ${t})`:t}function Wl(e,t){let r=new Map;for(let[n,i]of Object.entries(e))if(typeof i==="string")r.set(n,W(n,i,n,t));else if(typeof i==="object"&&i!==null){for(let[o,s]of Object.entries(i))if(typeof s==="string"){let l=o==="DEFAULT"?n:`${n}-${o}`;r.set(l,W(l,s,n,t))}}return r}var Hy=(e,t)=>{let r=Wy[e.utility];if(!r||!e.value)return;let n=e.value;if(e.arbitrary&&e.typeHint){let c=zy[e.utility]?.[e.typeHint];return c?{[c]:n}:void 0}if(e.arbitrary&&e.utility==="bg"&&Gy.test(n))return{"background-image":n};if(je===null||zr!==t.theme.colors||Kr!==t.colorVariables)je=Wl(t.theme.colors,t.colorVariables),zr=t.theme.colors,Kr=t.colorVariables;let i=Oe(n);if(i===-1){let c=je.get(n);if(c)return{[r]:c}}let o,s=n;if(i!==-1){s=n.slice(0,i);let c=n.slice(i+1);if(c.charCodeAt(0)===91&&c.charCodeAt(c.length-1)===93){let f=Number.parseFloat(c.slice(1,-1));if(Number.isNaN(f)||f<0||f>1)return;o=f}else if(e.modifierArbitrary){let f=Number.parseFloat(c);if(Number.isNaN(f)||f<0||f>1)return;o=f}else{let f=Number.parseInt(c,10);if(Number.isNaN(f)||f<0||f>100)return;o=f/100}let u=je.get(s);if(u)return{[r]:we(u,o)}}let l=Vl[s];if(l)return{[r]:l};if((e.arbitrary||s&&s.charCodeAt(0)===91)&&s){let c=o!==void 0?we(s,o):s;return{[r]:c}}return};function we(e,t){let r=e;if(e.charCodeAt(0)===91&&e.charCodeAt(e.length-1)===93)r=e.slice(1,-1);if(r.charCodeAt(0)===35){let n=r.slice(1);if(n.length===3||n.length===4)n=n.split("").map((l)=>l+l).join("");let i=Number.parseInt(n.slice(0,2),16),o=Number.parseInt(n.slice(2,4),16),s=Number.parseInt(n.slice(4,6),16);return`rgb(${i} ${o} ${s} / ${t})`}if(r.charCodeAt(0)===114){let n=r.match(/rgb\((\d+)\s+(\d+)\s+(\d+)/);if(n)return`rgb(${n[1]} ${n[2]} ${n[3]} / ${t})`}if(r.charCodeAt(0)===111){let n=r.match(/oklch\(([^)]+)\)/);if(n)return`oklch(${n[1]} / ${t})`}if(r.charCodeAt(0)===104){let n=r.match(/hsl\(([^)]+)\)/);if(n)return`hsl(${n[1]} / ${t})`}if(r!=="inherit"&&r!=="transparent"){let n=Number((t*100).toFixed(2));return`color-mix(in srgb, ${r} ${n}%, transparent)`}return r}function z(e,t,r=!1){let n=Oe(e),i=e,o;if(n!==-1){i=e.slice(0,n);let f=e.slice(n+1);if(f.charCodeAt(0)===91&&f.charCodeAt(f.length-1)===93){if(o=Number.parseFloat(f.slice(1,-1)),Number.isNaN(o)||o<0||o>1)return}else if(r){if(o=Number.parseFloat(f),Number.isNaN(o)||o<0||o>1)return}else{let d=Number.parseInt(f,10);if(Number.isNaN(d)||d<0||d>100)return;o=d/100}}let s={current:"currentColor",transparent:"transparent",inherit:"inherit",auto:"auto"};if(s[i])return o!==void 0?we(s[i],o):s[i];let l=t.colorVariables,a=t.theme.colors[i],c=typeof a==="string"?W(i,a,i,l):a;if(typeof c==="string")return o!==void 0?we(c,o):c;if(typeof c==="object"&&c!==null&&typeof c.DEFAULT==="string"){let f=W(i,c.DEFAULT,i,l);return o!==void 0?we(f,o):f}let u=i.split("-");for(let f=u.length-1;f>=1;f--){let d=u.slice(f).join("-"),h=u.slice(0,f).join("-"),g=t.theme.colors[h];if(typeof g==="object"&&g!==null&&typeof g[d]==="string"){let m=W(i,g[d],h,l);return o!==void 0?we(m,o):m}}if(i.startsWith("var(")||i.startsWith("#")||i.startsWith("rgb(")||i.startsWith("rgba(")||i.startsWith("hsl(")||i.startsWith("hsla(")||i.startsWith("oklch(")||i.startsWith("oklab(")||i.startsWith("lab(")||i.startsWith("lch(")||i.startsWith("color(")||i.startsWith("color-mix(")||i.startsWith("hwb("))return o!==void 0?we(i,o):i;return}var qy=(e,t)=>{if(e.utility!=="placeholder"||!e.value)return;if(je===null||zr!==t.theme.colors||Kr!==t.colorVariables)je=Wl(t.theme.colors,t.colorVariables),zr=t.theme.colors,Kr=t.colorVariables;let r=e.value,n=Oe(r);if(n===-1){let o=je.get(r);if(o)return{properties:{color:o},pseudoElement:"::placeholder"}}else{let o=r.slice(0,n),s=r.slice(n+1),l;if(s.charCodeAt(0)===91&&s.charCodeAt(s.length-1)===93){let c=Number.parseFloat(s.slice(1,-1));if(Number.isNaN(c)||c<0||c>1)return;l=c}else if(e.modifierArbitrary){let c=Number.parseFloat(s);if(Number.isNaN(c)||c<0||c>1)return;l=c}else{let c=Number.parseInt(s,10);if(Number.isNaN(c)||c<0||c>100)return;l=c/100}let a=je.get(o);if(a)return{properties:{color:we(a,l)},pseudoElement:"::placeholder"}}let i=Vl[e.value];if(i)return{properties:{color:i},pseudoElement:"::placeholder"};return},Yy=(e,t)=>{if(e.utility==="text"&&e.value){let r=e.value,n,i=r.lastIndexOf("/");if(i!==-1&&!e.value.startsWith("[")&&!r.slice(i+1).includes("]"));if(i!==-1){let s=r.slice(0,i),l=r.slice(i+1);if(l&&(t.theme.fontSize[s]||e.arbitrary)){r=s;let a={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2",3:"0.75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"};n=t.theme.lineHeight?.[l]??a[l]??l}}if(e.arbitrary){if(e.typeHint){if(!Ky.has(e.typeHint))return;let l={"font-size":r};if(n)l["line-height"]=n;return l}if(/^#|^rgb|^hsl|^hwb|^lab|^lch|^oklch|^oklab|^color\(|^var\(--/.test(r))return;let s={"font-size":r};if(n)s["line-height"]=n;return s}let o=t.theme.fontSize[r];if(o)return{"font-size":o[0],"line-height":n??o[1].lineHeight}}},Jy=(e)=>{if(e.utility==="font"&&e.value){if(e.arbitrary){let r=e.typeHint;return r==="family-name"||r==="string"?{"font-family":e.value}:{"font-weight":e.value}}let t={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"};return t[e.value]?{"font-weight":t[e.value]}:void 0}return},Xy=(e)=>{if(e.utility==="leading"&&e.value){if(e.arbitrary)return{"line-height":e.value};let t={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2","3":"0.75rem","4":"1rem","5":"1.25rem","6":"1.5rem","7":"1.75rem","8":"2rem","9":"2.25rem","10":"2.5rem"};return t[e.value]?{"line-height":t[e.value]}:void 0}return},Zy=(e)=>{if(e.utility==="text"&&e.value){let t={left:"left",center:"center",right:"right",justify:"justify"};return t[e.value]?{"text-align":t[e.value]}:void 0}},Qy=(e)=>{if(e.utility==="border"){if(!e.value)return{"border-width":"1px"};let t={0:"0px",2:"2px",4:"4px",8:"8px"};if(t[e.value])return{"border-width":t[e.value]};let r={t:"border-top-width",r:"border-right-width",b:"border-bottom-width",l:"border-left-width",s:"border-inline-start-width",e:"border-inline-end-width"};if(e.value==="x")return{"border-left-width":"1px","border-right-width":"1px"};if(e.value==="y")return{"border-top-width":"1px","border-bottom-width":"1px"};let n=r[e.value];if(typeof n==="string")return{[n]:"1px"};return}},eb=(e,t)=>{let r={"border-t":"border-top-width","border-r":"border-right-width","border-b":"border-bottom-width","border-l":"border-left-width","border-x":["border-left-width","border-right-width"],"border-y":["border-top-width","border-bottom-width"],"border-s":"border-inline-start-width","border-e":"border-inline-end-width"},n={"border-t":"border-top-color","border-r":"border-right-color","border-b":"border-bottom-color","border-l":"border-left-color","border-x":["border-left-color","border-right-color"],"border-y":["border-top-color","border-bottom-color"],"border-s":"border-inline-start-color","border-e":"border-inline-end-color"},i=r[e.utility];if(!i)return;if(!e.value){let s=i;if(Array.isArray(s))return s.reduce((l,a)=>({...l,[a]:"1px"}),{});return{[s]:"1px"}}if(e.arbitrary){let s=e.value,c=(/^#|^(?:rgb|rgba|hsl|hsla|oklch|oklab|lab|lch)\(|^(?:currentColor|transparent|inherit)$/i.test(s)?n[e.utility]:i)??i;if(Array.isArray(c))return c.reduce((u,f)=>({...u,[f]:s}),{});return{[c]:s}}if(ki[e.value]){let s=i;if(Array.isArray(s))return s.reduce((l,a)=>({...l,[a]:ki[e.value]}),{});return{[s]:ki[e.value]}}let o=n[e.utility];if(o&&t){let s=e.value.split("-");if(s.length>=2){let a=s[s.length-1],c=s.slice(0,-1).join("-"),u=t.theme.colors[c];if(u&&typeof u==="object"&&u[a]){let f=o,d=W(e.value,u[a],c,t.colorVariables);if(Array.isArray(f))return f.reduce((h,g)=>({...h,[g]:d}),{});return{[f]:d}}}let l=t.theme.colors[e.value];if(typeof l==="string"){let a=o;if(Array.isArray(a))return a.reduce((c,u)=>({...c,[u]:l}),{});return{[a]:l}}if(l&&typeof l==="object"&&typeof l.DEFAULT==="string"){let a=o;if(Array.isArray(a))return a.reduce((c,u)=>({...c,[u]:l.DEFAULT}),{});return{[a]:l.DEFAULT}}if(e.value==="transparent"||e.value==="current"||e.value==="inherit"){let a=e.value==="current"?"currentColor":e.value,c=o;if(Array.isArray(c))return c.reduce((u,f)=>({...u,[f]:a}),{});return{[c]:a}}}return};function Xe(e,t){if(!e.value)return t.theme.borderRadius.DEFAULT;if(t.theme.borderRadius[e.value]!==void 0)return t.theme.borderRadius[e.value];if(e.arbitrary)return e.value;return}var Ul={t:["border-top-left-radius","border-top-right-radius"],r:["border-top-right-radius","border-bottom-right-radius"],b:["border-bottom-left-radius","border-bottom-right-radius"],l:["border-top-left-radius","border-bottom-left-radius"],tl:["border-top-left-radius"],tr:["border-top-right-radius"],bl:["border-bottom-left-radius"],br:["border-bottom-right-radius"],s:["border-start-start-radius","border-end-start-radius"],e:["border-start-end-radius","border-end-end-radius"],ss:["border-start-start-radius"],se:["border-start-end-radius"],es:["border-end-start-radius"],ee:["border-end-end-radius"]},tb=(e,t)=>{if(e.utility==="rounded"){if(e.arbitrary&&e.value)return{"border-radius":e.value};if(e.value&&Ul[e.value]){let o=t.theme.borderRadius.DEFAULT,s={};for(let l of Ul[e.value])s[l]=o;return s}let i=e.value?t.theme.borderRadius[e.value]:t.theme.borderRadius.DEFAULT;return i?{"border-radius":i}:void 0}if(e.utility==="rounded-s"){let i=Xe(e,t);if(i===void 0)return;return{"border-start-start-radius":i,"border-end-start-radius":i}}if(e.utility==="rounded-e"){let i=Xe(e,t);if(i===void 0)return;return{"border-start-end-radius":i,"border-end-end-radius":i}}if(e.utility==="rounded-ss"){let i=Xe(e,t);if(i===void 0)return;return{"border-start-start-radius":i}}if(e.utility==="rounded-se"){let i=Xe(e,t);if(i===void 0)return;return{"border-start-end-radius":i}}if(e.utility==="rounded-es"){let i=Xe(e,t);if(i===void 0)return;return{"border-end-start-radius":i}}if(e.utility==="rounded-ee"){let i=Xe(e,t);if(i===void 0)return;return{"border-end-end-radius":i}}let n={"rounded-t":["border-top-left-radius","border-top-right-radius"],"rounded-r":["border-top-right-radius","border-bottom-right-radius"],"rounded-b":["border-bottom-left-radius","border-bottom-right-radius"],"rounded-l":["border-top-left-radius","border-bottom-left-radius"],"rounded-tl":["border-top-left-radius"],"rounded-tr":["border-top-right-radius"],"rounded-bl":["border-bottom-left-radius"],"rounded-br":["border-bottom-right-radius"]}[e.utility];if(n){let i=Xe(e,t);if(i===void 0)return;let o={};for(let s of n)o[s]=i;return o}},Si=[pi,Aa,Uy,Vy,By,Yy,Zy,...jl,Jy,Xy,...wa,...va,...bi,qy,Hy,...la,...cl,Iy,Py,_y,Ly,My,Fy,jy,Dy,...ka,...wl,...bi,...Ja,...Ca,eb,Qy,tb,Oy,Ty,Ny,Ey];function Ni(e,t){let r={...e};for(let n in t){let i=t[n],o=r[n];if(i&&typeof i==="object"&&!Array.isArray(i)&&o&&typeof o==="object"&&!Array.isArray(o))r[n]=Ni(o,i);else if(i!==void 0)r[n]=i}return r}var rb={block:{display:"block"},"inline-block":{display:"inline-block"},inline:{display:"inline"},flex:{display:"flex"},"inline-flex":{display:"inline-flex"},grid:{display:"grid"},"inline-grid":{display:"inline-grid"},hidden:{display:"none"},none:{display:"none"}},nb={"flex-row":{"flex-direction":"row"},"flex-row-reverse":{"flex-direction":"row-reverse"},"flex-col":{"flex-direction":"column"},"flex-col-reverse":{"flex-direction":"column-reverse"}},ib={"flex-wrap":{"flex-wrap":"wrap"},"flex-wrap-reverse":{"flex-wrap":"wrap-reverse"},"flex-nowrap":{"flex-wrap":"nowrap"}},ob={"flex-1":{flex:"1 1 0%"},"flex-auto":{flex:"1 1 auto"},"flex-initial":{flex:"0 1 auto"},"flex-none":{flex:"none"}},sb={grow:{"flex-grow":"1"},"grow-0":{"flex-grow":"0"},shrink:{"flex-shrink":"1"},"shrink-0":{"flex-shrink":"0"}},ab={start:"flex-start",end:"flex-end",center:"center",between:"space-between",around:"space-around",evenly:"space-evenly","center-safe":"safe center","end-safe":"safe flex-end"},lb={start:"flex-start",end:"flex-end",center:"center",baseline:"baseline",stretch:"stretch","center-safe":"safe center","end-safe":"safe flex-end"},cb={normal:"normal",center:"center",start:"flex-start",end:"flex-end",between:"space-between",around:"space-around",evenly:"space-evenly",baseline:"baseline",stretch:"stretch","center-safe":"safe center","end-safe":"safe flex-end"},ub={auto:"auto",start:"flex-start",end:"flex-end",center:"center",stretch:"stretch",baseline:"baseline","center-safe":"safe center","end-safe":"safe flex-end"},fb={"border-solid":{"border-style":"solid"},"border-dashed":{"border-style":"dashed"},"border-dotted":{"border-style":"dotted"},"border-double":{"border-style":"double"},"border-none":{"border-style":"none"}},db={transform:{transform:Lt},"transform-cpu":{transform:Lt},"transform-gpu":{transform:Ri},"transform-none":{transform:"none"}},pt={"transition-timing-function":"cubic-bezier(0.4, 0, 0.2, 1)","transition-duration":"150ms"},hb={"transition-none":{"transition-property":"none"},"transition-all":{"transition-property":"all",...pt},transition:{"transition-property":"color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",...pt},"transition-colors":{"transition-property":"color, background-color, border-color, text-decoration-color, fill, stroke",...pt},"transition-opacity":{"transition-property":"opacity",...pt},"transition-shadow":{"transition-property":"box-shadow",...pt},"transition-transform":{"transition-property":"transform",...pt}},gb={"ease-linear":{"transition-timing-function":"linear"},"ease-in":{"transition-timing-function":"cubic-bezier(0.4, 0, 1, 1)"},"ease-out":{"transition-timing-function":"cubic-bezier(0, 0, 0.2, 1)"},"ease-in-out":{"transition-timing-function":"cubic-bezier(0.4, 0, 0.2, 1)"}},mb={"animate-none":{animation:"none"},"animate-spin":{animation:"spin 1s linear infinite"},"animate-ping":{animation:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite"},"animate-pulse":{animation:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite"},"animate-bounce":{animation:"bounce 1s infinite"}};function pb(e,t){let r=Object.keys(t);if(r.length===0)return{tokens:[],colors:e};let n=[];for(let[o,s]of Object.entries(e)){if(typeof s!=="object"||s===null)continue;let l=Object.keys(s);if(l.length===0)continue;if(!l.every((u)=>u==="light"||r.includes(u)))continue;if(!l.some((u)=>r.includes(u)))continue;let a=typeof s.light==="string"?s.light:s[l[0]];if(typeof a!=="string")continue;let c={};for(let u of r){let f=s[u];if(typeof f==="string")c[u]=f}n.push({name:o,base:a,byMode:c})}if(n.length===0)return{tokens:n,colors:e};let i={...e};for(let o of n)i[o.name]=o.base;return{tokens:n,colors:i}}var yb="tc-base",zl="tc-utilities";function bb(e,t){let r=Object.entries(t).map(([n,i])=>{let o=Object.entries(i).map(([s,l])=>`${s}: ${l};`).join(" ");return` ${n} { ${o} }`}).join(`
358
358
  `);return`@keyframes ${e} {
359
359
  ${r}
360
360
  }`}var xb={spin:`@keyframes spin {