-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Replies: 41 comments · 40 replies
-
I dig the idea of removing duplicate classes! 👍 However, Prettier should already take care of extra spaces. I just gave this a try: <!-- Before -->
<header class=" bg-grey-200 md:flex hidden ">
<!-- After -->
<header class="hidden bg-grey-200 md:flex"> |
Beta Was this translation helpful? Give feedback.
All reactions
-
Hmm, just realizing that while it does it for the <!-- Before -->
<header :class="` bg-grey-200 md:flex hidden `">
<!-- After -->
<header :class="` hidden bg-grey-200 md:flex `"> So, I suspect it probably also won't work with some other variations like |
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 3 -
👎 1
-
this isn't about In this example, don't use backticks, |
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1
-
@reinink I can confirm it doesn't remove extra spaces for |
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 32 -
😕 5
-
"plugins": [ |
Beta Was this translation helpful? Give feedback.
All reactions
-
🚀 4
-
For me the softonus prettier plugins doesn't work if you are already using "prettier-plugin-tailwindcss" within your prettier config. It works perfectly fine, if you take out the "prettier-plugin-tailwindcss". |
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1
-
will this feature be implemented in next releases? |
Beta Was this translation helpful? Give feedback.
All reactions
-
It doesn't remove the spaces in svelte with |
Beta Was this translation helpful? Give feedback.
All reactions
-
But yes, please remove duplicate classes from |
Beta Was this translation helpful? Give feedback.
All reactions
-
Not only spaces but line breaks also should be removed |
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 7 -
👎 3
-
+1 for removing duplicates 😄 |
Beta Was this translation helpful? Give feedback.
All reactions
-
Any progress on this? I'd be keen to help out if needed. |
Beta Was this translation helpful? Give feedback.
All reactions
-
I would like to see extra whitespace be removed |
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 12
-
Same here :) |
Beta Was this translation helpful? Give feedback.
All reactions
-
Any update for removing duplicated classes and space? |
Beta Was this translation helpful? Give feedback.
All reactions
-
Would like to see this too |
Beta Was this translation helpful? Give feedback.
All reactions
-
I raised a PR trying to fix it. Feel free to review and comment. Thank you! |
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 5
-
I think that both removing duplicates and white-space is a great feature that I hope can be included at some point! |
Beta Was this translation helpful? Give feedback.
All reactions
-
I've built lots of my classes dynamically, so I seem to be missing out on a lot of fun import { ParentComponent, onCleanup } from 'solid-js';
//types of button
export enum ButtonType {
Pagination,
Action,
}
//todo decide common things like font size and font weight from the DS
export const O_Button: ParentComponent<{ buttonType: ButtonType }> = (props) => {
const buttonType = props.buttonType;
const className =
buttonType === ButtonType.Pagination
? ' px-4 py-[10px] text-sm font-medium hover:border-primary-300 hover:bg-primary-50 active:border-primary-300 active:bg-primary-50 rounded-none border-[0.5px] hover:border max-[425px]:px-[.5rem]'
: '';
return <button class={` ${className}`}>{props.children}</button>;
}; |
Beta Was this translation helpful? Give feedback.
All reactions
-
I hope the feature to remove unnecessary whitespace will be added. I looked for this feature everywhere for over a year now. |
Beta Was this translation helpful? Give feedback.
All reactions
-
any update on the whitespace thing ?? |
Beta Was this translation helpful? Give feedback.
All reactions
-
Just started a new project and I thought I was going crazy trying to debug my config, since this worked in the past. It would be lovely to have whitespace trimmed when formatting. |
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 3
-
Exactly my situation. I was going crazy. Why has this been changed? Why do I have to manually check and delete extra white spaces now? |
Beta Was this translation helpful? Give feedback.
All reactions
-
+1 for whitespace |
Beta Was this translation helpful? Give feedback.
All reactions
-
|
Beta Was this translation helpful? Give feedback.
All reactions
-
Beta Was this translation helpful? Give feedback.
All reactions
-
👀 1
-
@ebokoo does it handle the issues reported in this issue? |
Beta Was this translation helpful? Give feedback.
All reactions
-
We're asking for this to be the default behaviour in tailwind's prettier plugin, which I believe it used to do |
Beta Was this translation helpful? Give feedback.
All reactions
-
|
Beta Was this translation helpful? Give feedback.
All reactions
-
+1 for removing whitespace |
Beta Was this translation helpful? Give feedback.
All reactions
-
We absolutely need this :) This plugin which already re-writes the className content, is the right place to remove the extra spaces on the fly. I'm surprised that's not a native feature. Meanwhile, https://www.npmjs.com/package/@softonus/prettier-plugin-whitespace-remover does the trick (but we'd rather rely on 1 plugin rather than 2). EDIT: the aforementioned plugin does not work with Tailwind's prettier plugin, when we set both of them. Only 1 of them operates. So we'd have to choose between having the classes sorted, or no white-space, which sucks a bit. |
Beta Was this translation helpful? Give feedback.
All reactions
-
Two existing plugins can remove duplicates and whitespace. Here is the issue: #13708
The problem is that they need to come before prettier-plugin-tailwindcss in order for them to work. Until then, you can simply patch prettier-plugin-tailwindcss inside your project. |
Beta Was this translation helpful? Give feedback.
All reactions
-
👀 2
-
@un33k thanks for finding these details! Do you have a suggestion for how to patch I would be willing to try this for our projects as it's uncertain how long it will take for |
Beta Was this translation helpful? Give feedback.
All reactions
-
Looks like an alternative patch for
Seems better than relying on two new dependencies actually. |
Beta Was this translation helpful? Give feedback.
All reactions
-
Another option for a patch is to revert the PR #72 which removed the feature: It's not entirely straightforward in the Show full patch (long)diff --git a/dist/index.mjs b/dist/index.mjs
index 09157000ac0004d3237ec568b81e5e50e7745a03..fc0903cbb6ebe3208965311ac7ce61e4fc95bf68 100644
--- a/dist/index.mjs
+++ b/dist/index.mjs
@@ -153,7 +153,7 @@ Defaulting to 2020, but this will stop working in the future.`)),k.ecmaVersion=1
`;break;default:T+=String.fromCharCode(K)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),k=this.pos}else++this.pos}},dt.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if(this.input[this.pos+1]!=="{")break;case"`":return this.finishToken(J.invalidTemplate,this.input.slice(this.start,this.pos))}this.raise(this.start,"Unterminated template")},dt.readEscapedChar=function(T){var k=this.input.charCodeAt(++this.pos);switch(++this.pos,k){case 110:return`
`;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return Ut(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),T){var K=this.pos-1;this.invalidStringToken(K,"Invalid escape sequence in template string")}default:if(k>=48&&k<=55){var Q=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],ce=parseInt(Q,8);return ce>255&&(Q=Q.slice(0,-1),ce=parseInt(Q,8)),this.pos+=Q.length-1,k=this.input.charCodeAt(this.pos),Q==="0"&&k!==56&&k!==57||!this.strict&&!T||this.invalidStringToken(this.pos-1-Q.length,T?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(ce)}return ke(k)?"":String.fromCharCode(k)}},dt.readHexChar=function(T){var k=this.pos,K=this.readInt(16,T);return K===null&&this.invalidStringToken(k,"Bad character escape sequence"),K},dt.readWord1=function(){this.containsEsc=!1;for(var T="",k=!0,K=this.pos,Q=this.options.ecmaVersion>=6;this.pos<this.input.length;){var ce=this.fullCharCodeAtPos();if(Be(ce,Q))this.pos+=ce<=65535?1:2;else{if(ce!==92)break;this.containsEsc=!0,T+=this.input.slice(K,this.pos);var xe=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var Ie=this.readCodePoint();(k?Oe:Be)(Ie,Q)||this.invalidStringToken(xe,"Invalid Unicode escape"),T+=Ut(Ie),K=this.pos}k=!1}return T+this.input.slice(K,this.pos)},dt.readWord=function(){var T=this.readWord1(),k=J.name;return this.keywords.test(T)&&(k=Ce[T]),this.finishToken(k,T)},Te.acorn={Parser:Te,version:"8.11.2",defaultOptions:Kt,Position:Yt,SourceLocation:mr,getLineInfo:Qt,Node:Hi,TokenType:se,tokTypes:J,keywordTypes:Ce,TokContext:Or,tokContexts:er,isIdentifierChar:Be,isIdentifierStart:Oe,Token:Xa,isNewLine:ke,lineBreak:Pe,lineBreakG:Ve,nonASCIIwhitespace:ot};let _c=yt("module"),Ji=yt("fs"),Ot=yt("url");String.fromCharCode;let wc=/\/$|\/\?/;function Cc(T="",k=!1){return k?wc.test(T):T.endsWith("/")}function nn(T="",k=!1){if(!k)return T.endsWith("/")?T:T+"/";if(Cc(T,!0))return T||"/";let[K,...Q]=T.split("?");return K+"/"+(Q.length>0?`?${Q.join("?")}`:"")}function Yi(T){return T&&T!=="/"}let Ac=/^\.?\//;function Pc(T,...k){let K=T||"";for(let Q of k.filter(ce=>Yi(ce)))if(K){let ce=Q.replace(Ac,"");K=nn(K)+ce}else K=Q;return K}let Fi=yt("assert"),Vs=yt("process"),Ja=yt("path"),cl=yt("v8"),Ya=yt("util"),Qa=new Set(_c.builtinModules);function pl(T){return T.replace(/\\/g,"/")}let Hf=Vs.platform==="win32",dl={}.hasOwnProperty,Xf=/^([A-Z][a-z\d]*)+$/,kc=new Set(["string","function","number","object","Function","Object","boolean","bigint","symbol"]),An={};function Qi(T,k="and"){return T.length<3?T.join(` ${k} `):`${T.slice(0,-1).join(", ")}, ${k} ${T[T.length-1]}`}let fl=new Map,re;function c(T,k,K){return fl.set(T,k),function(Q,ce){return xe;function xe(...Ie){let Le=Error.stackTraceLimit;g()&&(Error.stackTraceLimit=0);let Xe=new Q;g()&&(Error.stackTraceLimit=Le);let ut=function(Ge,Lt,qt){let yr=fl.get(Ge);if(Fi(yr!==void 0,"expected `message` to be found"),typeof yr=="function")return Fi(yr.length<=Lt.length,`Code: ${Ge}; The provided arguments length (${Lt.length}) does not match the required ones (${yr.length}).`),Reflect.apply(yr,qt,Lt);let jr=/%[dfijoOs]/g,Tn=0;for(;jr.exec(yr)!==null;)Tn++;return Fi(Tn===Lt.length,`Code: ${Ge}; The provided arguments length (${Lt.length}) does not match the required ones (${Tn}).`),Lt.length===0?yr:(Lt.unshift(yr),Reflect.apply(Ya.format,null,Lt))}(ce,Ie,Xe);return Object.defineProperties(Xe,{message:{value:ut,enumerable:!1,writable:!0,configurable:!0},toString:{value(){return`${this.name} [${ce}]: ${this.message}`},enumerable:!1,writable:!0,configurable:!0}}),_(Xe),Xe.code=ce,Xe}}(K,T)}function g(){try{if(cl.startupSnapshot.isBuildingSnapshot())return!1}catch{}let T=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit");return T===void 0?Object.isExtensible(Error):dl.call(T,"writable")&&T.writable!==void 0?T.writable:T.set!==void 0}An.ERR_INVALID_ARG_TYPE=c("ERR_INVALID_ARG_TYPE",(T,k,K)=>{Fi(typeof T=="string","'name' must be a string"),Array.isArray(k)||(k=[k]);let Q="The ";if(T.endsWith(" argument"))Q+=`${T} `;else{let Le=T.includes(".")?"property":"argument";Q+=`"${T}" ${Le} `}Q+="must be ";let ce=[],xe=[],Ie=[];for(let Le of k)Fi(typeof Le=="string","All expected entries have to be of type string"),kc.has(Le)?ce.push(Le.toLowerCase()):Xf.exec(Le)===null?(Fi(Le!=="object",'The value "object" should be written as "Object"'),Ie.push(Le)):xe.push(Le);if(xe.length>0){let Le=ce.indexOf("object");Le!==-1&&(ce.slice(Le,1),xe.push("Object"))}return ce.length>0&&(Q+=`${ce.length>1?"one of type":"of type"} ${Qi(ce,"or")}`,(xe.length>0||Ie.length>0)&&(Q+=" or ")),xe.length>0&&(Q+=`an instance of ${Qi(xe,"or")}`,Ie.length>0&&(Q+=" or ")),Ie.length>0&&(Ie.length>1?Q+=`one of ${Qi(Ie,"or")}`:(Ie[0].toLowerCase()!==Ie[0]&&(Q+="an "),Q+=`${Ie[0]}`)),Q+=`. Received ${function(Le){if(Le==null)return String(Le);if(typeof Le=="function"&&Le.name)return`function ${Le.name}`;if(typeof Le=="object")return Le.constructor&&Le.constructor.name?`an instance of ${Le.constructor.name}`:`${(0,Ya.inspect)(Le,{depth:-1})}`;let Xe=(0,Ya.inspect)(Le,{colors:!1});return Xe.length>28&&(Xe=`${Xe.slice(0,25)}...`),`type ${typeof Le} (${Xe})`}(K)}`,Q},TypeError),An.ERR_INVALID_MODULE_SPECIFIER=c("ERR_INVALID_MODULE_SPECIFIER",(T,k,K=void 0)=>`Invalid module "${T}" ${k}${K?` imported from ${K}`:""}`,TypeError),An.ERR_INVALID_PACKAGE_CONFIG=c("ERR_INVALID_PACKAGE_CONFIG",(T,k,K)=>`Invalid package config ${T}${k?` while importing ${k}`:""}${K?`. ${K}`:""}`,Error),An.ERR_INVALID_PACKAGE_TARGET=c("ERR_INVALID_PACKAGE_TARGET",(T,k,K,Q=!1,ce=void 0)=>{let xe=typeof K=="string"&&!Q&&K.length>0&&!K.startsWith("./");return k==="."?(Fi(Q===!1),`Invalid "exports" main target ${JSON.stringify(K)} defined in the package config ${T}package.json${ce?` imported from ${ce}`:""}${xe?'; targets must start with "./"':""}`):`Invalid "${Q?"imports":"exports"}" target ${JSON.stringify(K)} defined for '${k}' in the package config ${T}package.json${ce?` imported from ${ce}`:""}${xe?'; targets must start with "./"':""}`},Error),An.ERR_MODULE_NOT_FOUND=c("ERR_MODULE_NOT_FOUND",(T,k,K="package")=>`Cannot find ${K} '${T}' imported from ${k}`,Error),An.ERR_NETWORK_IMPORT_DISALLOWED=c("ERR_NETWORK_IMPORT_DISALLOWED","import of '%s' by %s is not supported: %s",Error),An.ERR_PACKAGE_IMPORT_NOT_DEFINED=c("ERR_PACKAGE_IMPORT_NOT_DEFINED",(T,k,K)=>`Package import specifier "${T}" is not defined${k?` in package ${k}package.json`:""} imported from ${K}`,TypeError),An.ERR_PACKAGE_PATH_NOT_EXPORTED=c("ERR_PACKAGE_PATH_NOT_EXPORTED",(T,k,K=void 0)=>k==="."?`No "exports" main defined in ${T}package.json${K?` imported from ${K}`:""}`:`Package subpath '${k}' is not defined by "exports" in ${T}package.json${K?` imported from ${K}`:""}`,Error),An.ERR_UNSUPPORTED_DIR_IMPORT=c("ERR_UNSUPPORTED_DIR_IMPORT","Directory import '%s' is not supported resolving ES modules imported from %s",Error),An.ERR_UNKNOWN_FILE_EXTENSION=c("ERR_UNKNOWN_FILE_EXTENSION",(T,k)=>`Unknown file extension "${T}" for ${k}`,TypeError),An.ERR_INVALID_ARG_VALUE=c("ERR_INVALID_ARG_VALUE",(T,k,K="is invalid")=>{let Q=(0,Ya.inspect)(k);return Q.length>128&&(Q=`${Q.slice(0,128)}...`),`The ${T.includes(".")?"property":"argument"} '${T}' ${K}. Received ${Q}`},TypeError),An.ERR_UNSUPPORTED_ESM_URL_SCHEME=c("ERR_UNSUPPORTED_ESM_URL_SCHEME",(T,k)=>{let K=`Only URLs with a scheme in: ${Qi(k)} are supported by the default ESM loader`;return Hf&&T.protocol.length===2&&(K+=". On Windows, absolute paths must be valid file:// URLs"),K+=`. Received protocol '${T.protocol}'`,K},Error);let _=function(T){let k="__node_internal_"+T.name;return Object.defineProperty(T,"name",{value:k}),T}(function(T){let k=g();return k&&(re=Error.stackTraceLimit,Error.stackTraceLimit=Number.POSITIVE_INFINITY),Error.captureStackTrace(T),k&&(Error.stackTraceLimit=re),T}),O={read:function(T){try{return{string:Ji.readFileSync(Ja.toNamespacedPath(Ja.join(Ja.dirname(T),"package.json")),"utf8")}}catch(k){let K=k;if(K.code==="ENOENT")return{string:void 0};throw K}}},{ERR_INVALID_PACKAGE_CONFIG:q}=An,ee=new Map;function oe(T,k,K){let Q=ee.get(T);if(Q!==void 0)return Q;let ce=O.read(T).string;if(ce===void 0){let qt={pjsonPath:T,exists:!1,main:void 0,name:void 0,type:"none",exports:void 0,imports:void 0};return ee.set(T,qt),qt}let xe;try{xe=JSON.parse(ce)}catch(qt){let yr=qt;throw new q(T,(K?`"${k}" from `:"")+(0,Ot.fileURLToPath)(K||k),yr.message)}let{exports:Ie,imports:Le,main:Xe,name:ut,type:Ge}=xe,Lt={pjsonPath:T,exists:!0,main:typeof Xe=="string"?Xe:void 0,name:typeof ut=="string"?ut:void 0,type:Ge==="module"||Ge==="commonjs"?Ge:"none",exports:Ie,imports:Le&&typeof Le=="object"?Le:void 0};return ee.set(T,Lt),Lt}function fe(T){let k=new Ot.URL("package.json",T);for(;!k.pathname.endsWith("node_modules/package.json");){let ce=oe((0,Ot.fileURLToPath)(k),T);if(ce.exists)return ce;let xe=k;if(k=new Ot.URL("../package.json",k),k.pathname===xe.pathname)break}let K=(0,Ot.fileURLToPath)(k),Q={pjsonPath:K,exists:!1,main:void 0,name:void 0,type:"none",exports:void 0,imports:void 0};return ee.set(K,Q),Q}let{ERR_UNKNOWN_FILE_EXTENSION:Ae}=An,Me={}.hasOwnProperty,lt={__proto__:null,".cjs":"commonjs",".js":"module",".json":"json",".mjs":"module"},Mt={__proto__:null,"data:":function(T){let{1:k}=/^([^/]+\/[^;,]+)[^,]*?(;base64)?,/.exec(T.pathname)||[null,null,null];return function(K){return K&&/\s*(text|application)\/javascript\s*(;\s*charset=utf-?8\s*)?/i.test(K)?"module":K==="application/json"?"json":null}(k)},"file:":function(T,k,K){let Q=function(Ie){let Le=Ie.pathname,Xe=Le.length;for(;Xe--;){let ut=Le.codePointAt(Xe);if(ut===47)return"";if(ut===46)return Le.codePointAt(Xe-1)===47?"":Le.slice(Xe)}return""}(T);if(Q===".js")return function(Ie){return fe(Ie).type}(T)==="module"?"module":"commonjs";let ce=lt[Q];if(ce)return ce;if(K)return;let xe=(0,Ot.fileURLToPath)(T);throw new Ae(Q,xe)},"http:":Tt,"https:":Tt,"node:":()=>"builtin"};function Tt(){}let Rt=RegExp.prototype[Symbol.replace],{ERR_NETWORK_IMPORT_DISALLOWED:mn,ERR_INVALID_MODULE_SPECIFIER:ir,ERR_INVALID_PACKAGE_CONFIG:Ar,ERR_INVALID_PACKAGE_TARGET:jn,ERR_MODULE_NOT_FOUND:hl,ERR_PACKAGE_IMPORT_NOT_DEFINED:ml,ERR_PACKAGE_PATH_NOT_EXPORTED:I2,ERR_UNSUPPORTED_DIR_IMPORT:O2,ERR_UNSUPPORTED_ESM_URL_SCHEME:cY}=An,xv={}.hasOwnProperty,_v=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))?(\\|\/|$)/i,wv=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))(\\|\/|$)/i,N2=/^\.|%|\\/,Dc=/\*/g,F2=/%2f|%5c/i,Cv=new Set,j2=/[/\\]{2}/;function Av(T,k,K,Q,ce,xe,Ie){let Le=(0,Ot.fileURLToPath)(Q),Xe=j2.exec(Ie?T:k)!==null;Vs.emitWarning(`Use of deprecated ${Xe?"double slash":"leading or trailing slash matching"} resolving "${T}" for module request "${k}" ${k===K?"":`matched to "${K}" `}in the "${ce?"imports":"exports"}" field module resolution of the package at ${Le}${xe?` imported from ${(0,Ot.fileURLToPath)(xe)}`:""}.`,"DeprecationWarning","DEP0166")}function Pv(T,k,K,Q){if(function(Xe,ut){return Me.call(Mt,Xe.protocol)&&Mt[Xe.protocol](Xe,ut,!0)||null}(T,{parentURL:K.href})!=="module")return;let xe=(0,Ot.fileURLToPath)(T.href),Ie=(0,Ot.fileURLToPath)(new Ot.URL(".",k)),Le=(0,Ot.fileURLToPath)(K);Q?Vs.emitWarning(`Package ${Ie} has a "main" field set to ${JSON.stringify(Q)}, excluding the full filename and extension to the resolved file at "${xe.slice(Ie.length)}", imported from ${Le}.
Automatic extension resolution of the "main" field isdeprecated for ES modules.`,"DeprecationWarning","DEP0151"):Vs.emitWarning(`No "main" or "exports" field defined in the package.json for ${Ie} resolving the main entry point "${xe.slice(Ie.length)}", imported from ${Le}.
-Default "index" lookups for the main are deprecated for ES modules.`,"DeprecationWarning","DEP0151")}function kv(T){try{return(0,Ji.statSync)(T)}catch{return new Ji.Stats}}function Jf(T){let k=(0,Ji.statSync)(T,{throwIfNoEntry:!1}),K=k?k.isFile():void 0;return K!=null&&K}function L2(T,k,K){let Q;if(k.main!==void 0){if(Q=new Ot.URL(k.main,T),Jf(Q))return Q;let Ie=[`./${k.main}.js`,`./${k.main}.json`,`./${k.main}.node`,`./${k.main}/index.js`,`./${k.main}/index.json`,`./${k.main}/index.node`],Le=-1;for(;++Le<Ie.length&&(Q=new Ot.URL(Ie[Le],T),!Jf(Q));)Q=void 0;if(Q)return Pv(Q,T,K,k.main),Q}let ce=["./index.js","./index.json","./index.node"],xe=-1;for(;++xe<ce.length&&(Q=new Ot.URL(ce[xe],T),!Jf(Q));)Q=void 0;if(Q)return Pv(Q,T,K,k.main),Q;throw new hl((0,Ot.fileURLToPath)(new Ot.URL(".",T)),(0,Ot.fileURLToPath)(K))}function Yf(T,k,K){return new I2((0,Ot.fileURLToPath)(new Ot.URL(".",k)),T,K&&(0,Ot.fileURLToPath)(K))}function yl(T,k,K,Q,ce){return k=typeof k=="object"&&k!==null?JSON.stringify(k,null,""):`${k}`,new jn((0,Ot.fileURLToPath)(new Ot.URL(".",K)),T,k,Q,ce&&(0,Ot.fileURLToPath)(ce))}function M2(T,k,K,Q,ce,xe,Ie,Le,Xe){if(k!==""&&!xe&&T[T.length-1]!=="/")throw yl(K,T,Q,Ie,ce);if(!T.startsWith("./")){if(Ie&&!T.startsWith("../")&&!T.startsWith("/")){let qt=!1;try{new Ot.URL(T),qt=!0}catch{}if(!qt)return Ov(xe?Rt.call(Dc,T,()=>k):T+k,Q,Xe)}throw yl(K,T,Q,Ie,ce)}if(_v.exec(T.slice(2))!==null){if(wv.exec(T.slice(2))!==null)throw yl(K,T,Q,Ie,ce);if(!Le){let qt=xe?K.replace("*",()=>k):K+k;Av(xe?Rt.call(Dc,T,()=>k):T,qt,K,Q,Ie,ce,!0)}}let ut=new Ot.URL(T,Q),Ge=ut.pathname,Lt=new Ot.URL(".",Q).pathname;if(!Ge.startsWith(Lt))throw yl(K,T,Q,Ie,ce);if(k==="")return ut;if(_v.exec(k)!==null){let qt=xe?K.replace("*",()=>k):K+k;wv.exec(k)===null?Le||Av(xe?Rt.call(Dc,T,()=>k):T,qt,K,Q,Ie,ce,!1):function(yr,jr,Tn,Pn,Wr){let va=`request is not a valid match in pattern "${jr}" for the "${Pn?"imports":"exports"}" resolution of ${(0,Ot.fileURLToPath)(Tn)}`;throw new ir(yr,va,Wr&&(0,Ot.fileURLToPath)(Wr))}(qt,K,Q,Ie,ce)}return xe?new Ot.URL(Rt.call(Dc,ut.href,()=>k)):new Ot.URL(k,ut)}function R2(T){let k=Number(T);return`${k}`===T&&k>=0&&k<4294967295}function Za(T,k,K,Q,ce,xe,Ie,Le,Xe){if(typeof k=="string")return M2(k,K,Q,T,ce,xe,Ie,Le,Xe);if(Array.isArray(k)){let ut=k;if(ut.length===0)return null;let Ge,Lt=-1;for(;++Lt<ut.length;){let qt=ut[Lt],yr;try{yr=Za(T,qt,K,Q,ce,xe,Ie,Le,Xe)}catch(jr){if(Ge=jr,jr.code==="ERR_INVALID_PACKAGE_TARGET")continue;throw jr}if(yr!==void 0){if(yr!==null)return yr;Ge=null}}if(Ge==null)return null;throw Ge}if(typeof k=="object"&&k!==null){let ut=Object.getOwnPropertyNames(k),Ge=-1;for(;++Ge<ut.length;)if(R2(ut[Ge]))throw new Ar((0,Ot.fileURLToPath)(T),ce,'"exports" cannot contain numeric property keys.');for(Ge=-1;++Ge<ut.length;){let Lt=ut[Ge];if(Lt==="default"||Xe&&Xe.has(Lt)){let qt=Za(T,k[Lt],K,Q,ce,xe,Ie,Le,Xe);if(qt===void 0)continue;return qt}}return null}if(k===null)return null;throw yl(Q,k,T,Ie,ce)}function B2(T,k,K){let Q=(0,Ot.fileURLToPath)(k);Cv.has(Q+"|"+T)||(Cv.add(Q+"|"+T),Vs.emitWarning(`Use of deprecated trailing slash pattern mapping "${T}" in the "exports" field module resolution of the package at ${Q}${K?` imported from ${(0,Ot.fileURLToPath)(K)}`:""}. Mapping specifiers ending in "/" is no longer supported.`,"DeprecationWarning","DEP0155"))}function Dv(T,k,K,Q,ce){let xe=K.exports;if(function(Ge,Lt,qt){if(typeof Ge=="string"||Array.isArray(Ge))return!0;if(typeof Ge!="object"||Ge===null)return!1;let yr=Object.getOwnPropertyNames(Ge),jr=!1,Tn=0,Pn=-1;for(;++Pn<yr.length;){let Wr=yr[Pn],va=Wr===""||Wr[0]!==".";if(Tn++==0)jr=va;else if(jr!==va)throw new Ar((0,Ot.fileURLToPath)(Lt),qt,`"exports" cannot contain some keys starting with '.' and some not. The exports object must either be an object of package subpath keys or an object of main entry condition name keys only.`)}return jr}(xe,T,Q)&&(xe={".":xe}),xv.call(xe,k)&&!k.includes("*")&&!k.endsWith("/")){let Ge=Za(T,xe[k],"",k,Q,!1,!1,!1,ce);if(Ge==null)throw Yf(k,T,Q);return Ge}let Ie="",Le="",Xe=Object.getOwnPropertyNames(xe),ut=-1;for(;++ut<Xe.length;){let Ge=Xe[ut],Lt=Ge.indexOf("*");if(Lt!==-1&&k.startsWith(Ge.slice(0,Lt))){k.endsWith("/")&&B2(k,T,Q);let qt=Ge.slice(Lt+1);k.length>=Ge.length&&k.endsWith(qt)&&Iv(Ie,Ge)===1&&Ge.lastIndexOf("*")===Lt&&(Ie=Ge,Le=k.slice(Lt,k.length-qt.length))}}if(Ie){let Ge=Za(T,xe[Ie],Le,Ie,Q,!0,!1,k.endsWith("/"),ce);if(Ge==null)throw Yf(k,T,Q);return Ge}throw Yf(k,T,Q)}function Iv(T,k){let K=T.indexOf("*"),Q=k.indexOf("*"),ce=K===-1?T.length:K+1,xe=Q===-1?k.length:Q+1;return ce>xe?-1:xe>ce||K===-1?1:Q===-1||T.length>k.length?-1:k.length>T.length?1:0}function U2(T,k,K){if(T==="#"||T.startsWith("#/")||T.endsWith("/"))throw new ir(T,"is not a valid internal imports specifier name",(0,Ot.fileURLToPath)(k));let Q,ce=fe(k);if(ce.exists){Q=(0,Ot.pathToFileURL)(ce.pjsonPath);let xe=ce.imports;if(xe)if(xv.call(xe,T)&&!T.includes("*")){let Ie=Za(Q,xe[T],"",T,k,!1,!0,!1,K);if(Ie!=null)return Ie}else{let Ie="",Le="",Xe=Object.getOwnPropertyNames(xe),ut=-1;for(;++ut<Xe.length;){let Ge=Xe[ut],Lt=Ge.indexOf("*");if(Lt!==-1&&T.startsWith(Ge.slice(0,-1))){let qt=Ge.slice(Lt+1);T.length>=Ge.length&&T.endsWith(qt)&&Iv(Ie,Ge)===1&&Ge.lastIndexOf("*")===Lt&&(Ie=Ge,Le=T.slice(Lt,T.length-qt.length))}}if(Ie){let Ge=Za(Q,xe[Ie],Le,Ie,k,!0,!0,!1,K);if(Ge!=null)return Ge}}}throw function(xe,Ie,Le){return new ml(xe,Ie&&(0,Ot.fileURLToPath)(new Ot.URL(".",Ie)),(0,Ot.fileURLToPath)(Le))}(T,Q,k)}function Ov(T,k,K){if(_c.builtinModules.includes(T))return new Ot.URL("node:"+T);let{packageName:Q,packageSubpath:ce,isScoped:xe}=function(Ge,Lt){let qt=Ge.indexOf("/"),yr=!0,jr=!1;Ge[0]==="@"&&(jr=!0,qt===-1||Ge.length===0?yr=!1:qt=Ge.indexOf("/",qt+1));let Tn=qt===-1?Ge:Ge.slice(0,qt);if(N2.exec(Tn)!==null&&(yr=!1),!yr)throw new ir(Ge,"is not a valid package name",(0,Ot.fileURLToPath)(Lt));return{packageName:Tn,packageSubpath:"."+(qt===-1?"":Ge.slice(qt)),isScoped:jr}}(T,k),Ie=fe(k);if(Ie.exists){let Ge=(0,Ot.pathToFileURL)(Ie.pjsonPath);if(Ie.name===Q&&Ie.exports!==void 0&&Ie.exports!==null)return Dv(Ge,ce,Ie,k,K)}let Le,Xe=new Ot.URL("./node_modules/"+Q+"/package.json",k),ut=(0,Ot.fileURLToPath)(Xe);do{if(!kv(ut.slice(0,-13)).isDirectory()){Le=ut,Xe=new Ot.URL((xe?"../../../../node_modules/":"../../../node_modules/")+Q+"/package.json",Xe),ut=(0,Ot.fileURLToPath)(Xe);continue}let Ge=oe(ut,T,k);return Ge.exports!==void 0&&Ge.exports!==null?Dv(Xe,ce,Ge,k,K):ce==="."?L2(Xe,Ge,k):new Ot.URL(ce,Xe)}while(ut.length!==Le.length);throw new hl(Q,(0,Ot.fileURLToPath)(k))}function V2(T,k,K,Q){let ce=k.protocol,xe=ce==="http:"||ce==="https:",Ie;if(function(Le){return Le!==""&&(Le[0]==="/"||function(Xe){return Xe[0]==="."&&(Xe.length===1||Xe[1]==="/"||Xe[1]==="."&&(Xe.length===2||Xe[2]==="/"))}(Le))}(T))Ie=new Ot.URL(T,k);else if(xe||T[0]!=="#")try{Ie=new Ot.URL(T)}catch{xe||(Ie=Ov(T,k,K))}else Ie=U2(T,k,K);return Fi(Ie!==void 0,"expected to be defined"),Ie.protocol!=="file:"?Ie:function(Le,Xe,ut){if(F2.exec(Le.pathname)!==null)throw new ir(Le.pathname,'must not include encoded "/" or "\\" characters',(0,Ot.fileURLToPath)(Xe));let Ge=(0,Ot.fileURLToPath)(Le),Lt=kv(Ge.endsWith("/")?Ge.slice(-1):Ge);if(Lt.isDirectory()){let qt=new O2(Ge,(0,Ot.fileURLToPath)(Xe));throw qt.url=String(Le),qt}if(!Lt.isFile())throw new hl(Ge||Le.pathname,Xe&&(0,Ot.fileURLToPath)(Xe),"module");if(!ut){let qt=(0,Ji.realpathSync)(Ge),{search:yr,hash:jr}=Le;(Le=(0,Ot.pathToFileURL)(qt+(Ge.endsWith(Ja.sep)?"/":""))).search=yr,Le.hash=jr}return Le}(Ie,k,Q)}function Qf(T){return typeof T!="string"||T.startsWith("file://")?pl((0,Ot.fileURLToPath)(T)):pl(T)}let $2=new Set(["node","import"]),q2=(0,Ot.pathToFileURL)(process.cwd()),W2=[".mjs",".cjs",".js",".json"],K2=new Set(["ERR_MODULE_NOT_FOUND","ERR_UNSUPPORTED_DIR_IMPORT","MODULE_NOT_FOUND","ERR_PACKAGE_PATH_NOT_EXPORTED"]);function Nv(T,k,K){try{return V2(T,k,K)}catch(Q){if(!K2.has(Q.code))throw Q}}function z2(T,k={}){if(/(node|data|http|https):/.test(T))return T;if(Qa.has(T))return"node:"+T;if(v(T)&&(0,Ji.existsSync)(T)){let Le=(0,Ji.realpathSync)(Qf(T));return(0,Ot.pathToFileURL)(Le).toString()}let K=k.conditions?new Set(k.conditions):$2,Q=(Array.isArray(k.url)?k.url:[k.url]).filter(Boolean).map(Le=>new URL(function(Xe){return typeof Xe!="string"&&(Xe=Xe.toString()),/(node|data|http|https|file):/.test(Xe)?Xe:Qa.has(Xe)?"node:"+Xe:"file://"+encodeURI(pl(Xe))}(Le.toString())));Q.length===0&&Q.push(q2);let ce=[...Q];for(let Le of Q)Le.protocol==="file:"&&ce.push(new URL("./",Le),new URL(Pc(Le.pathname,"_index.js"),Le),new URL("node_modules",Le));let xe;for(let Le of ce){if(xe=Nv(T,Le,K),xe)break;for(let Xe of["","/index"]){for(let ut of k.extensions||W2)if(xe=Nv(T+Xe+ut,Le,K),xe)break;if(xe)break}if(xe)break}if(!xe){let Le=new Error(`Cannot find module ${T} imported from ${ce.join(", ")}`);throw Le.code="ERR_MODULE_NOT_FOUND",Le}let Ie=(0,Ji.realpathSync)(Qf(xe));return(0,Ot.pathToFileURL)(Ie).toString()}function G2(T,k){return z2(T,k)}function H2(T,k){return Qf(G2(T,k))}let X2=/([\s;]|^)(import[\s\w*,{}]*from|import\s*["'*{]|export\b\s*(?:[*{]|default|class|type|function|const|var|let|async function)|import\.meta\b)/m;function J2(T){return X2.test(T)}var Y2=n("crypto");function Fv(T,k=8){return(0,Y2.createHash)("md5").update(T).digest("hex").slice(0,k)}var Q2=function(T,k,K,Q){return new(K||(K=Promise))(function(ce,xe){function Ie(ut){try{Xe(Q.next(ut))}catch(Ge){xe(Ge)}}function Le(ut){try{Xe(Q.throw(ut))}catch(Ge){xe(Ge)}}function Xe(ut){var Ge;ut.done?ce(ut.value):(Ge=ut.value,Ge instanceof K?Ge:new K(function(Lt){Lt(Ge)})).then(Ie,Le)}Xe((Q=Q.apply(T,k||[])).next())})};let Z2=I(process.env.JITI_DEBUG),jv=I(process.env.JITI_CACHE),eN=I(process.env.JITI_ESM_RESOLVE),Lv=I(process.env.JITI_REQUIRE_CACHE),Mv=I(process.env.JITI_SOURCE_MAPS),tN=I(process.env.JITI_ALIAS),rN=I(process.env.JITI_TRANSFORM_MODULES),nN=I(process.env.JITI_NATIVE_MODULES),Rv=I(process.env.JITI_EXPERIMENTAL_BUN),iN=(0,a.platform)()==="win32",sN={debug:Z2,cache:jv===void 0||!!jv,requireCache:Lv===void 0||!!Lv,sourceMaps:Mv!==void 0&&!!Mv,interopDefault:!1,esmResolve:eN||!1,cacheVersion:"7",legacy:(0,H.lt)(process.version||"0.0.0","14.0.0"),extensions:[".js",".mjs",".cjs",".ts",".mts",".cts",".json"],alias:tN,nativeModules:nN||[],transformModules:rN||[],experimentalBun:Rv===void 0?!!process.versions.bun:!!Rv},aN=/\.(c|m)?j(sx?)$/,oN=/\.(c|m)?t(sx?)$/;function Bv(T,k={},K,Q){(k=Object.assign(Object.assign({},sN),k)).legacy&&(k.cacheVersion+="-legacy"),k.transformOptions&&(k.cacheVersion+="-"+j()(k.transformOptions));let ce=k.alias&&Object.keys(k.alias).length>0?W(k.alias||{}):null,xe=["typescript","jiti",...k.nativeModules||[]],Ie=[...k.transformModules||[]],Le=new RegExp(`node_modules/(${xe.map(At=>L(At)).join("|")})/`),Xe=new RegExp(`node_modules/(${Ie.map(At=>L(At)).join("|")})/`);function ut(...At){k.debug&&console.log("[jiti]",...At)}if(T||(T=process.cwd()),function(At){try{return(0,o.lstatSync)(At).isDirectory()}catch{return!1}}(T)&&(T=b(T,"index.js")),k.cache===!0&&(k.cache=function(){let At=(0,a.tmpdir)();if(process.env.TMPDIR&&At===process.cwd()&&!process.env.JITI_RESPECT_TMPDIR_ENV){let fr=process.env.TMPDIR;delete process.env.TMPDIR,At=(0,a.tmpdir)(),process.env.TMPDIR=fr}return b(At,"node-jiti")}()),k.cache)try{if((0,o.mkdirSync)(k.cache,{recursive:!0}),!function(At){try{return(0,o.accessSync)(At,o.constants.W_OK),!0}catch{return!1}}(k.cache))throw new Error("directory is not writable")}catch(At){ut("Error creating cache directory at ",k.cache,At),k.cache=!1}let Ge=$()(iN?T.replace(/\//g,"\\"):T),Lt=(At,fr)=>{try{return Ge.resolve(At,fr)}catch{}},qt=(0,s.pathToFileURL)(T),yr=[...k.extensions].filter(At=>At!==".js"),jr=(At,fr)=>{let xr,tn;if(ce&&(At=function(tr,Nr){let Ln=l(tr);Nr=W(Nr);for(let cn in Nr)if(Ln.startsWith(cn)&&Z.has(Ln[cn.length]))return b(Nr[cn],Ln.slice(cn.length));return Ln}(At,ce)),k.esmResolve){let tr=[["node","require"],["node","import"]];for(let Nr of tr){try{xr=H2(At,{url:qt,conditions:Nr,extensions:k.extensions})}catch(Ln){tn=Ln}if(xr)return xr}}try{return Ge.resolve(At,fr)}catch(tr){tn=tr}for(let tr of yr)if(xr=Lt(At+tr,fr)||Lt(At+"/index"+tr,fr),xr||oN.test((K==null?void 0:K.filename)||"")&&(xr=Lt(At.replace(aN,".$1t$2"),fr),xr))return xr;throw tn};function Tn(At){let fr=function(xr,tn,tr){if(!k.cache||!xr)return tr();let Nr=` /* v${k.cacheVersion}-${Fv(tn,16)} */`,Ln=x(A(xr))+"-"+x(xr),cn=b(k.cache,Ln+"."+Fv(xr)+".js");if((0,o.existsSync)(cn)){let Ic=(0,o.readFileSync)(cn,"utf8");if(Ic.endsWith(Nr))return ut("[cache hit]",xr,"~>",cn),Ic}ut("[cache miss]",xr);let eo=tr();return eo.includes("__JITI_ERROR__")||(0,o.writeFileSync)(cn,eo+Nr,"utf8"),eo}(At.filename,At.source,()=>{var xr;let tn=k.transform(Object.assign(Object.assign(Object.assign({legacy:k.legacy},k.transformOptions),{babel:Object.assign(Object.assign({},k.sourceMaps?{sourceFileName:At.filename,sourceMaps:"inline"}:{}),(xr=k.transformOptions)===null||xr===void 0?void 0:xr.babel)}),At));return tn.error&&k.debug&&ut(tn.error),tn.code});return fr.startsWith("#!")&&(fr="// "+fr),fr}function Pn(At){return k.interopDefault?function(fr){if((xr=fr)===null||typeof xr!="object"||!("default"in fr))return fr;var xr;let tn=fr.default;for(let tr in fr)if(tr==="default")try{tr in tn||Object.defineProperty(tn,tr,{enumerable:!1,configurable:!1,get:()=>tn})}catch{}else try{tr in tn||Object.defineProperty(tn,tr,{enumerable:!0,configurable:!0,get:()=>fr[tr]})}catch{}return tn}(At):At}function Wr(At,fr){var xr,tn;let tr=Q||{};if(At.startsWith("node:")?At=At.slice(5):At.startsWith("file:")&&(At=(0,s.fileURLToPath)(At)),r.builtinModules.includes(At)||At===".pnp.js")return Ge(At);if(k.experimentalBun&&!k.transformOptions)try{ut(`[bun] [native] ${At}`);let cn=Ge(At);return k.requireCache===!1&&delete Ge.cache[At],Pn(cn)}catch(cn){ut(`[bun] Using fallback for ${At} because of an error:`,cn)}let Nr=jr(At),Ln=w(Nr);if(Ln===".json"){ut("[json]",Nr);let cn=Ge(At);return Object.defineProperty(cn,"default",{value:cn}),cn}return Ln&&!k.extensions.includes(Ln)?(ut("[unknown]",Nr),Ge(At)):Le.test(Nr)?(ut("[native]",Nr),Ge(At)):tr[Nr]?Pn((xr=tr[Nr])===null||xr===void 0?void 0:xr.exports):k.requireCache&&Ge.cache[Nr]?Pn((tn=Ge.cache[Nr])===null||tn===void 0?void 0:tn.exports):va((0,o.readFileSync)(Nr,"utf8"),{id:At,filename:Nr,ext:Ln,cache:tr})}function va(At,fr={}){var xr;let tn=fr.id||(fr.filename?x(fr.filename):`_jitiEval.${fr.ext||".js"}`),tr=fr.filename||jr(tn),Nr=fr.ext||w(tr),Ln=fr.cache||Q||{},cn=Nr===".ts"||Nr===".mts"||Nr===".cts",eo=Nr===".mjs"||Nr===".js"&&((xr=function(Yn){for(;Yn&&Yn!=="."&&Yn!=="/";){Yn=b(Yn,"..");try{let Oc=(0,o.readFileSync)(b(Yn,"package.json"),"utf8");try{return JSON.parse(Oc)}catch{}break}catch{}}}(tr))===null||xr===void 0?void 0:xr.type)==="module",Ic=Nr!==".cjs"&&(cn||eo||Xe.test(tr)||J2(At)||k.legacy&&At.match(/\?\.|\?\?/)),lN=u.performance.now();if(Ic)At=Tn({filename:tr,source:At,ts:cn}),ut("[transpile]"+(eo?" [esm]":""),tr,`(${Math.round(1e3*(u.performance.now()-lN))/1e3}ms)`);else try{return ut("[native]",tr),Pn(Ge(tn))}catch(Yn){ut("Native require error:",Yn),ut("[fallback]",tr),At=Tn({filename:tr,source:At,ts:cn})}let pn=new r.Module(tr),Uv;pn.filename=tr,K&&(pn.parent=K,Array.isArray(K.children)&&!K.children.includes(pn)&&K.children.push(pn)),pn.require=Bv(tr,k,pn,Ln),pn.path=A(tr),pn.paths=r.Module._nodeModulePaths(pn.path),Ln[tr]=pn,k.requireCache&&(Ge.cache[tr]=pn);try{Uv=d().runInThisContext(r.Module.wrap(At),{filename:tr,lineOffset:0,displayErrors:!1})}catch(Yn){k.requireCache&&delete Ge.cache[tr],k.onError(Yn)}try{Uv(pn.exports,pn.require,pn,pn.filename,A(pn.filename))}catch(Yn){k.requireCache&&delete Ge.cache[tr],k.onError(Yn)}if(pn.exports&&pn.exports.__JITI_ERROR__){let{filename:Yn,line:Oc,column:Vv,code:uN,message:cN}=pn.exports.__JITI_ERROR__,$v=new Error(`${uN}: ${cN}
+Default "index" lookups for the main are deprecated for ES modules.`,"DeprecationWarning","DEP0151")}function kv(T){try{return(0,Ji.statSync)(T)}catch{return new Ji.Stats}}function Jf(T){let k=(0,Ji.statSync)(T,{throwIfNoEntry:!1}),K=k?k.isFile():void 0;return K!=null&&K}function L2(T,k,K){let Q;if(k.main!==void 0){if(Q=new Ot.URL(k.main,T),Jf(Q))return Q;let Ie=[`./${k.main}.js`,`./${k.main}.json`,`./${k.main}.node`,`./${k.main}/index.js`,`./${k.main}/index.json`,`./${k.main}/index.node`],Le=-1;for(;++Le<Ie.length&&(Q=new Ot.URL(Ie[Le],T),!Jf(Q));)Q=void 0;if(Q)return Pv(Q,T,K,k.main),Q}let ce=["./index.js","./index.json","./index.node"],xe=-1;for(;++xe<ce.length&&(Q=new Ot.URL(ce[xe],T),!Jf(Q));)Q=void 0;if(Q)return Pv(Q,T,K,k.main),Q;throw new hl((0,Ot.fileURLToPath)(new Ot.URL(".",T)),(0,Ot.fileURLToPath)(K))}function Yf(T,k,K){return new I2((0,Ot.fileURLToPath)(new Ot.URL(".",k)),T,K&&(0,Ot.fileURLToPath)(K))}function yl(T,k,K,Q,ce){return k=typeof k=="object"&&k!==null?JSON.stringify(k,null,""):`${k}`,new jn((0,Ot.fileURLToPath)(new Ot.URL(".",K)),T,k,Q,ce&&(0,Ot.fileURLToPath)(ce))}function M2(T,k,K,Q,ce,xe,Ie,Le,Xe){if(k!==""&&!xe&&T[T.length-1]!=="/")throw yl(K,T,Q,Ie,ce);if(!T.startsWith("./")){if(Ie&&!T.startsWith("../")&&!T.startsWith("/")){let qt=!1;try{new Ot.URL(T),qt=!0}catch{}if(!qt)return Ov(xe?Rt.call(Dc,T,()=>k):T+k,Q,Xe)}throw yl(K,T,Q,Ie,ce)}if(_v.exec(T.slice(2))!==null){if(wv.exec(T.slice(2))!==null)throw yl(K,T,Q,Ie,ce);if(!Le){let qt=xe?K.replace("*",()=>k):K+k;Av(xe?Rt.call(Dc,T,()=>k):T,qt,K,Q,Ie,ce,!0)}}let ut=new Ot.URL(T,Q),Ge=ut.pathname,Lt=new Ot.URL(".",Q).pathname;if(!Ge.startsWith(Lt))throw yl(K,T,Q,Ie,ce);if(k==="")return ut;if(_v.exec(k)!==null){let qt=xe?K.replace("*",()=>k):K+k;wv.exec(k)===null?Le||Av(xe?Rt.call(Dc,T,()=>k):T,qt,K,Q,Ie,ce,!1):function(yr,jr,Tn,Pn,Wr){let va=`request is not a valid match in pattern "${jr}" for the "${Pn?"imports":"exports"}" resolution of ${(0,Ot.fileURLToPath)(Tn)}`;throw new ir(yr,va,Wr&&(0,Ot.fileURLToPath)(Wr))}(qt,K,Q,Ie,ce)}return xe?new Ot.URL(Rt.call(Dc,ut.href,()=>k)):new Ot.URL(k,ut)}function R2(T){let k=Number(T);return`${k}`===T&&k>=0&&k<4294967295}function Za(T,k,K,Q,ce,xe,Ie,Le,Xe){if(typeof k=="string")return M2(k,K,Q,T,ce,xe,Ie,Le,Xe);if(Array.isArray(k)){let ut=k;if(ut.length===0)return null;let Ge,Lt=-1;for(;++Lt<ut.length;){let qt=ut[Lt],yr;try{yr=Za(T,qt,K,Q,ce,xe,Ie,Le,Xe)}catch(jr){if(Ge=jr,jr.code==="ERR_INVALID_PACKAGE_TARGET")continue;throw jr}if(yr!==void 0){if(yr!==null)return yr;Ge=null}}if(Ge==null)return null;throw Ge}if(typeof k=="object"&&k!==null){let ut=Object.getOwnPropertyNames(k),Ge=-1;for(;++Ge<ut.length;)if(R2(ut[Ge]))throw new Ar((0,Ot.fileURLToPath)(T),ce,'"exports" cannot contain numeric property keys.');for(Ge=-1;++Ge<ut.length;){let Lt=ut[Ge];if(Lt==="default"||Xe&&Xe.has(Lt)){let qt=Za(T,k[Lt],K,Q,ce,xe,Ie,Le,Xe);if(qt===void 0)continue;return qt}}return null}if(k===null)return null;throw yl(Q,k,T,Ie,ce)}function B2(T,k,K){let Q=(0,Ot.fileURLToPath)(k);Cv.has(Q+"|"+T)||(Cv.add(Q+"|"+T),Vs.emitWarning(`Use of deprecated trailing slash pattern mapping "${T}" in the "exports" field module resolution of the package at ${Q}${K?` imported from ${(0,Ot.fileURLToPath)(K)}`:""}. Mapping specifiers ending in "/" is no longer supported.`,"DeprecationWarning","DEP0155"))}function Dv(T,k,K,Q,ce){let xe=K.exports;if(function(Ge,Lt,qt){if(typeof Ge=="string"||Array.isArray(Ge))return!0;if(typeof Ge!="object"||Ge===null)return!1;let yr=Object.getOwnPropertyNames(Ge),jr=!1,Tn=0,Pn=-1;for(;++Pn<yr.length;){let Wr=yr[Pn],va=Wr===""||Wr[0]!==".";if(Tn++==0)jr=va;else if(jr!==va)throw new Ar((0,Ot.fileURLToPath)(Lt),qt,`"exports" cannot contain some keys starting with '.' and some not. The exports object must either be an object of package subpath keys or an object of main entry condition name keys only.`)}return jr}(xe,T,Q)&&(xe={".":xe}),xv.call(xe,k)&&!k.includes("*")&&!k.endsWith("/")){let Ge=Za(T,xe[k],"",k,Q,!1,!1,!1,ce);if(Ge==null)throw Yf(k,T,Q);return Ge}let Ie="",Le="",Xe=Object.getOwnPropertyNames(xe),ut=-1;for(;++ut<Xe.length;){let Ge=Xe[ut],Lt=Ge.indexOf("*");if(Lt!==-1&&k.startsWith(Ge.slice(0,Lt))){k.endsWith("/")&&B2(k,T,Q);let qt=Ge.slice(Lt+1);k.length>=Ge.length&&k.endsWith(qt)&&Iv(Ie,Ge)===1&&Ge.lastIndexOf("*")===Lt&&(Ie=Ge,Le=k.slice(Lt,k.length-qt.length))}}if(Ie){let Ge=Za(T,xe[Ie],Le,Ie,Q,!0,!1,k.endsWith("/"),ce);if(Ge==null)throw Yf(k,T,Q);return Ge}throw Yf(k,T,Q)}function Iv(T,k){let K=T.indexOf("*"),Q=k.indexOf("*"),ce=K===-1?T.length:K+1,xe=Q===-1?k.length:Q+1;return ce>xe?-1:xe>ce||K===-1?1:Q===-1||T.length>k.length?-1:k.length>T.length?1:0}function U2(T,k,K){if(T==="#"||T.startsWith("#/")||T.endsWith("/"))throw new ir(T,"is not a valid internal imports specifier name",(0,Ot.fileURLToPath)(k));let Q,ce=fe(k);if(ce.exists){Q=(0,Ot.pathToFileURL)(ce.pjsonPath);let xe=ce.imports;if(xe)if(xv.call(xe,T)&&!T.includes("*")){let Ie=Za(Q,xe[T],"",T,k,!1,!0,!1,K);if(Ie!=null)return Ie}else{let Ie="",Le="",Xe=Object.getOwnPropertyNames(xe),ut=-1;for(;++ut<Xe.length;){let Ge=Xe[ut],Lt=Ge.indexOf("*");if(Lt!==-1&&T.startsWith(Ge.slice(0,-1))){let qt=Ge.slice(Lt+1);T.length>=Ge.length&&T.endsWith(qt)&&Iv(Ie,Ge)===1&&Ge.lastIndexOf("*")===Lt&&(Ie=Ge,Le=T.slice(Lt,T.length-qt.length))}}if(Ie){let Ge=Za(Q,xe[Ie],Le,Ie,k,!0,!0,!1,K);if(Ge!=null)return Ge}}}throw function(xe,Ie,Le){return new ml(xe,Ie&&(0,Ot.fileURLToPath)(new Ot.URL(".",Ie)),(0,Ot.fileURLToPath)(Le))}(T,Q,k)}function Ov(T,k,K){if(_c.builtinModules.includes(T))return new Ot.URL("node:"+T);let{packageName:Q,packageSubpath:ce,isScoped:xe}=function(Ge,Lt){let qt=Ge.indexOf("/"),yr=!0,jr=!1;Ge[0]==="@"&&(jr=!0,qt===-1||Ge.length===0?yr=!1:qt=Ge.indexOf("/",qt+1));let Tn=qt===-1?Ge:Ge.slice(0,qt);if(N2.exec(Tn)!==null&&(yr=!1),!yr)throw new ir(Ge,"is not a valid package name",(0,Ot.fileURLToPath)(Lt));return{packageName:Tn,packageSubpath:"."+(qt===-1?"":Ge.slice(qt)),isScoped:jr}}(T,k),Ie=fe(k);if(Ie.exists){let Ge=(0,Ot.pathToFileURL)(Ie.pjsonPath);if(Ie.name===Q&&Ie.exports!==void 0&&Ie.exports!==null)return Dv(Ge,ce,Ie,k,K)}let Le,Xe=new Ot.URL("./node_modules/"+Q+"/package.json",k),ut=(0,Ot.fileURLToPath)(Xe);do{if(!kv(ut.slice(0,-13)).isDirectory()){Le=ut,Xe=new Ot.URL((xe?"../../../../node_modules/":"../../../node_modules/")+Q+"/package.json",Xe),ut=(0,Ot.fileURLToPath)(Xe);continue}let Ge=oe(ut,T,k);return Ge.exports!==void 0&&Ge.exports!==null?Dv(Xe,ce,Ge,k,K):ce==="."?L2(Xe,Ge,k):new Ot.URL(ce,Xe)}while(ut.length!==Le.length);throw new hl(Q,(0,Ot.fileURLToPath)(k))}function V2(T,k,K,Q){let ce=k.protocol,xe=ce==="http:"||ce==="https:",Ie;if(function(Le){return Le!==""&&(Le[0]==="/"||function(Xe){return Xe[0]==="."&&(Xe.length===1||Xe[1]==="/"||Xe[1]==="."&&(Xe.length===2||Xe[2]==="/"))}(Le))}(T))Ie=new Ot.URL(T,k);else if(xe||T[0]!=="#")try{Ie=new Ot.URL(T)}catch{xe||(Ie=Ov(T,k,K))}else Ie=U2(T,k,K);return Fi(Ie!==void 0,"expected to be defined"),Ie.protocol!=="file:"?Ie:function(Le,Xe,ut){if(F2.exec(Le.pathname)!==null)throw new ir(Le.pathname,'must not include encoded "/" or "\\" characters',(0,Ot.fileURLToPath)(Xe));let Ge=(0,Ot.fileURLToPath)(Le),Lt=kv(Ge.endsWith("/")?Ge.slice(-1):Ge);if(Lt.isDirectory()){let qt=new O2(Ge,(0,Ot.fileURLToPath)(Xe));throw qt.url=String(Le),qt}if(!Lt.isFile())throw new hl(Ge||Le.pathname,Xe&&(0,Ot.fileURLToPath)(Xe),"module");if(!ut){let qt=(0,Ji.realpathSync)(Ge),{search:yr,hash:jr}=Le;(Le=(0,Ot.pathToFileURL)(qt+(Ge.endsWith(Ja.sep)?"/":""))).search=yr,Le.hash=jr}return Le}(Ie,k,Q)}function Qf(T){return typeof T!="string"||T.startsWith("file://")?pl((0,Ot.fileURLToPath)(T)):pl(T)}let $2=new Set(["node","import"]),q2=(0,Ot.pathToFileURL)(process.cwd()),W2=[".mjs",".cjs",".js",".json"],K2=new Set(["ERR_MODULE_NOT_FOUND","ERR_UNSUPPORTED_DIR_IMPORT","MODULE_NOT_FOUND","ERR_PACKAGE_PATH_NOT_EXPORTED"]);function Nv(T,k,K){try{return V2(T,k,K)}catch(Q){if(!K2.has(Q.code))throw Q}}function z2(T,k={}){if(/(node|data|http|https):/.test(T))return T;if(Qa.has(T))return"node:"+T;if(v(T)&&(0,Ji.existsSync)(T)){let Le=(0,Ji.realpathSync)(Qf(T));return(0,Ot.pathToFileURL)(Le).toString()}let K=k.conditions?new Set(k.conditions):$2,Q=(Array.isArray(k.url)?k.url:[k.url]).filter(Boolean).map(Le=>new URL(function(Xe){return typeof Xe!="string"&&(Xe=Xe.toString()),/(node|data|http|https|file):/.test(Xe)?Xe:Qa.has(Xe)?"node:"+Xe:"file://"+encodeURI(pl(Xe))}(Le.toString())));Q.length===0&&Q.push(q2);let ce=[...Q];for(let Le of Q)Le.protocol==="file:"&&ce.push(new URL("./",Le),new URL(Pc(Le.pathname,"_index.js"),Le),new URL("node_modules",Le));let xe;for(let Le of ce){if(xe=Nv(T,Le,K),xe)break;for(let Xe of["","/index"]){for(let ut of k.extensions||W2)if(xe=Nv(T+Xe+ut,Le,K),xe)break;if(xe)break}if(xe)break}if(!xe){let Le=new Error(`Cannot find module ${T} imported from ${ce.join(", ")}`);throw Le.code="ERR_MODULE_NOT_FOUND",Le}let Ie=(0,Ji.realpathSync)(Qf(xe));return(0,Ot.pathToFileURL)(Ie).toString()}function G2(T,k){return z2(T,k)}function H2(T,k){return Qf(G2(T,k))}let X2=/([\s;]|^)(import[\s\w*,{}]*from|import\s*["'*{]|export\b\s*(?:[*{]|default|class|type|function|const|var|let|async function)|import\.meta\b)/m;function J2(T){return X2.test(T)}var Y2=n("crypto");function Fv(T,k=8){return(0,Y2.createHash)("md5").update(T).digest("hex").slice(0,k)}var Q2=function(T,k,K,Q){return new(K||(K=Promise))(function(ce,xe){function Ie(ut){try{Xe(Q.next(ut))}catch(Ge){xe(Ge)}}function Le(ut){try{Xe(Q.throw(ut))}catch(Ge){xe(Ge)}}function Xe(ut){var Ge;ut.done?ce(ut.value):(Ge=ut.value,Ge instanceof K?Ge:new K(function(Lt){Lt(Ge)})).then(Ie,Le)}Xe((Q=Q.apply(T,k||[])).next())})};let Z2=I(process.env.JITI_DEBUG),jv=I(process.env.JITI_CACHE),eN=I(process.env.JITI_ESM_RESOLVE),Lv=I(process.env.JITI_REQUIRE_CACHE),Mv=I(process.env.JITI_SOURCE_MAPS),tN=I(process.env.JITI_ALIAS),rN=I(process.env.JITI_TRANSFORM_MODULES),nN=I(process.env.JITI_NATIVE_MODULES),Rv=I(process.env.JITI_EXPERIMENTAL_BUN),iN=(0,a.platform)()==="win32",sN={debug:Z2,cache:jv===void 0||!!jv,requireCache:Lv===void 0||!!Lv,sourceMaps:Mv!==void 0&&!!Mv,interopDefault:!1,esmResolve:eN||!1,cacheVersion:"7",legacy:(0,H.lt)(process.version||"0.0.0","14.0.0"),extensions:[".js",".mjs",".cjs",".ts",".mts",".cts",".json"],alias:tN,nativeModules:nN||[],transformModules:rN||[],experimentalBun:Rv===void 0?!!process.versions.bun:!!Rv},aN=/\.(c|m)?j(sx?)$/,oN=/\.(c|m)?t(sx?)$/;function Bv(T,k={},K,Q){(k=Object.assign(Object.assign({},sN),k)).legacy&&(k.cacheVersion+="-legacy"),k.transformOptions&&(k.cacheVersion+="-"+j()(k.transformOptions));let ce=k.alias&&Object.keys(k.alias).length>0?W(k.alias||{}):null,xe=["typescript","jiti",...k.nativeModules||[]],Ie=[...k.transformModules||[]],Le=new RegExp(`node_modules/(${xe.map(At=>L(At)).join("|")})/`),Xe=new RegExp(`node_modules/(${Ie.map(At=>L(At)).join("|")})/`);function ut(...At){k.debug&&console.log("[jiti]",...At)}if(T||(T=process.cwd()),function(At){try{return(0,o.lstatSync)(At).isDirectory()}catch{return!1}}(T)&&(T=b(T,"index.js")),k.cache===!0&&(k.cache=function(){let At=(0,a.tmpdir)();if(process.env.TMPDIR&&At===process.cwd()&&!process.env.JITI_RESPECT_TMPDIR_ENV){let fr=process.env.TMPDIR;delete process.env.TMPDIR,At=(0,a.tmpdir)(),process.env.TMPDIR=fr}return b(At,"node-jiti")}()),k.cache)try{if((0,o.mkdirSync)(k.cache,{recursive:!0}),!function(At){try{return(0,o.accessSync)(At,o.constants.W_OK),!0}catch{return!1}}(k.cache))throw new Error("directory is not writable")}catch(At){ut("Error creating cache directory at ",k.cache,At),k.cache=!1}let Ge=$()(iN?T.replace(/\//g,"\\"):T),Lt=(At,fr)=>{try{return Ge.resolve(At,fr)}catch{}},qt=(0,s.pathToFileURL)(T),yr=[...k.extensions].filter(At=>At!==".js"),jr=(At,fr)=>{let xr,tn;if(ce&&(At=function(tr,Nr){let Ln=l(tr);Nr=W(Nr);for(let cn in Nr)if(Ln.startsWith(cn)&&Z.has(Ln[cn.length]))return b(Nr[cn],Ln.slice(cn.length));return Ln}(At,ce)),k.esmResolve){let tr=[["node","require"],["node","import"]];for(let Nr of tr){try{xr=H2(At,{url:qt,conditions:Nr,extensions:k.extensions})}catch(Ln){tn=Ln}if(xr)return xr}}try{return Ge.resolve(At,fr)}catch(tr){tn=tr}for(let tr of yr)if(xr=Lt(At+tr,fr)||Lt(At+"/index"+tr,fr),xr||oN.test((K==null?void 0:K.filename)||"")&&(xr=Lt(At.replace(aN,".$1t$2"),fr),xr))return xr;throw tn};function Tn(At){let fr=function(xr,tn,tr){if(!k.cache||!xr)return tr();let Nr=` /* v${k.cacheVersion}-${Fv(tn,16)} */`,Ln=x(A(xr))+"-"+x(xr),cn=b(k.cache,Ln+"."+Fv(xr)+".js");if((0,o.existsSync)(cn)){let Ic=(0,o.readFileSync)(cn,"utf8");if(Ic.endsWith(Nr))return ut("[cache hit]",xr,"~>",cn),Ic}ut("[cache miss]",xr);let eo=tr();return eo.includes("__JITI_ERROR__")||(0,o.writeFileSync)(cn,eo+Nr,"utf8"),eo}(At.filename,At.source,()=>{var xr;let tn=k.transform(Object.assign(Object.assign(Object.assign({legacy:k.legacy},k.transformOptions),{babel:Object.assign(Object.assign({},k.sourceMaps?{sourceFileName:At.filename,sourceMaps:"inline"}:{}),(xr=k.transformOptions)===null||xr===void 0?void 0:xr.babel)}),At));return tn.error&&k.debug&&ut(tn.error),tn.code});return fr.startsWith("#!")&&(fr="// "+fr),fr}function Pn(At){return k.interopDefault?function(fr){if((xr=fr)===null||typeof xr!="object"||!("default"in fr))return fr;var xr;let tn=fr.default;for(let tr in fr)if(tr==="default")try{tr in tn||Object.defineProperty(tn,tr,{enumerable:!1,configurable:!1,get:()=>tn})}catch{}else try{tr in tn||Object.defineProperty(tn,tr,{enumerable:!0,configurable:!0,get:()=>fr[tr]})}catch{}return tn}(At):At}function Wr(At,fr){var xr,tn;let tr=Q||{};if(At.startsWith("node:")?At=At.slice(5):At.startsWith("file:")&&(At=(0,s.fileURLToPath)(At)),r.builtinModules.includes(At)||At===".pnp.js")return Ge(At);if(k.experimentalBun&&!k.transformOptions)try{ut(`[bun] [native] ${At}`);let cn=Ge(At);return k.requireCache===!1&&delete Ge.cache[At],Pn(cn)}catch(cn){ut(`[bun] Using fallback for ${At} because of an error:`,cn)}let Nr=jr(At),Ln=w(Nr);if(Ln===".json"){ut("[json]",Nr);let cn=Ge(At);return Object.defineProperty(cn,"default",{value:cn}),cn}return Ln&&!k.extensions.includes(Ln)?(ut("[unknown]",Nr),Ge(At)):Le.test(Nr)?(ut("[native]",Nr),Ge(At)):tr[Nr]?Pn((xr=tr[Nr])===null||xr===void 0?void 0:xr.exports):k.requireCache&&Ge.cache[Nr]?Pn((tn=Ge.cache[Nr])===null||tn===void 0?void 0:tn.exports):va((0,o.readFileSync)(Nr,"utf8"),{id:At,filename:Nr,ext:Ln,cache:tr})}function va(At,fr={}){var xr;let tn=fr.id||(fr.filename?x(fr.filename):`_jitiEval.${fr.ext||".js"}`),tr=fr.filename||jr(tn),Nr=fr.ext||w(tr),Ln=fr.cache||Q||{},cn=Nr===".ts"||Nr===".mts"||Nr===".cts",eo=Nr===".mjs"||Nr===".js"&&((xr=function(Yn){for(;Yn&&Yn!=="."&&Yn!=="/";){Yn=b(Yn,"..");try{let Oc=(0,o.readFileSync)(b(Yn,"package.json"),"utf8");try{return JSON.parse(Oc)}catch{}break}catch{}}}(tr))===null||xr===void 0?void 0:xr.type)==="module",Ic=Nr!==".cjs"&&(cn||eo||Xe.test(tr)||J2(At)||k.legacy&&At.match(/\?\.|\?\?/)),lN=u.performance.now();if(Ic)At=Tn({filename:tr,source:At,ts:cn}),ut("[transpile]"+(eo?" [esm]":""),tr,`(${Math.round(1e3*(u.performance.now()-lN))/1e3}ms)`);else try{return ut("[native]",tr),Pn(Ge(tn))}catch(Yn){ut("Native require error:",Yn),ut("[fallback]",tr),At=Tn({filename:tr,source:At,ts:cn})}let pn=new r.Module(tr),Uv;pn.filename=tr,K&&(pn.parent=K,Array.isArray(K.children)&&!K.children.includes(pn)&&K.children.push(pn)),pn.require=Bv(tr,k,pn,Ln),pn.path=A(tr),pn.paths=r.Module._nodeModulePaths(pn.path),Ln[tr]=pn,k.requireCache&&(Ge.cache[tr]=pn);try{Uv=d().runInThisContext(r.Module.wrap(At),{filename:tr,lineOffset:0,displayErrors:!1})}catch(Yn){k.requireCache&&delete Ge.cache[tr],k.onError(Yn)}try{Uv(pn.exports,pn.require,pn,pn.filename,A(pn.filename))}catch(Yn){k.requireCache&&delete Ge.cache[tr],k.onError(Yn)}if(pn.exports&&pn.exports.__JITI_ERROR__){let{filename:Yn,line:Oc,column:Vv,code:uN,message:cN}=pn.exports.__JITI_ERROR__,$v=new Error(`${uN}: ${cN}
${`${Yn}:${Oc}:${Vv}`}`);Error.captureStackTrace($v,Wr),k.onError($v)}return pn.loaded=!0,Pn(pn.exports)}return jr.paths=Ge.resolve.paths,Wr.resolve=jr,Wr.cache=k.requireCache?Ge.cache:{},Wr.extensions=Ge.extensions,Wr.main=Ge.main,Wr.transform=Tn,Wr.register=function(){return(0,B.addHook)((At,fr)=>Wr.transform({source:At,filename:fr,ts:!!/\.[cm]?ts$/.test(fr)}),{exts:k.extensions})},Wr.evalModule=va,Wr.import=(At,fr)=>Q2(this,void 0,void 0,function*(){return yield Wr(At)}),Wr}})(),yk.exports=i.default})()});var Ub=be((Hee,gk)=>{(()=>{var e={"./node_modules/.pnpm/@[email protected]/node_modules/@ampproject/remapping/dist/remapping.umd.js":function(o,r,u){o.exports=function(a,m){"use strict";let d=l("",-1,-1,"",null),s=[];function l(x,C,P,D,N){return{source:x,line:C,column:P,name:D,content:N}}function f(x,C,P,D){return{map:x,sources:C,source:P,content:D}}function p(x,C){return f(x,C,"",null)}function h(x,C){return f(null,s,x,C)}function y(x){let C=new m.GenMapping({file:x.map.file}),{sources:P,map:D}=x,N=D.names,I=a.decodedMappings(D);for(let L=0;L<I.length;L++){let M=I[L];for(let $=0;$<M.length;$++){let H=M[$],Z=H[0],z=d;if(H.length!==1&&(z=b(P[H[1]],H[2],H[3],H.length===5?N[H[4]]:""),z==null))continue;let{column:W,line:B,name:R,content:j,source:G}=z;m.maybeAddSegment(C,L,Z,G,B,W,R),G&&j!=null&&m.setSourceContent(C,G,j)}}return C}function b(x,C,P,D){if(!x.map)return l(x.source,C,P,D,x.content);let N=a.traceSegment(x.map,C,P);return N==null?null:N.length===1?d:b(x.sources[N[1]],N[2],N[3],N.length===5?x.map.names[N[4]]:D)}function E(x){return Array.isArray(x)?x:[x]}function v(x,C){let P=E(x).map(I=>new a.TraceMap(I,"")),D=P.pop();for(let I=0;I<P.length;I++)if(P[I].sources.length>1)throw new Error(`Transformation map ${I} must have exactly one source file.
Did you specify these with the most recent transformation maps first?`);let N=S(D,C,"",0);for(let I=P.length-1;I>=0;I--)N=p(P[I],[N]);return N}function S(x,C,P,D){let{resolvedSources:N,sourcesContent:I}=x,L=D+1;return p(x,N.map((M,$)=>{let H={importer:P,depth:L,source:M||"",content:void 0},Z=C(H.source,H),{source:z,content:W}=H;return Z?S(new a.TraceMap(Z,z),C,z,L):h(z,W!==void 0?W:I?I[$]:null)}))}class w{constructor(C,P){let D=P.decodedMappings?m.toDecodedMap(C):m.toEncodedMap(C);this.version=D.version,this.file=D.file,this.mappings=D.mappings,this.names=D.names,this.sourceRoot=D.sourceRoot,this.sources=D.sources,P.excludeContent||(this.sourcesContent=D.sourcesContent)}toString(){return JSON.stringify(this)}}function A(x,C,P){let D=typeof P=="object"?P:{excludeContent:!!P,decodedMappings:!1},N=v(x,C);return new w(y(N),D)}return A}(u("./node_modules/.pnpm/@[email protected]/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js"),u("./node_modules/.pnpm/@[email protected]/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js"))},"./node_modules/.pnpm/@[email protected]/node_modules/@babel/core/lib/config/files lazy recursive":o=>{function r(u){return Promise.resolve().then(()=>{var a=new Error("Cannot find module '"+u+"'");throw a.code="MODULE_NOT_FOUND",a})}r.keys=()=>[],r.resolve=r,r.id="./node_modules/.pnpm/@[email protected]/node_modules/@babel/core/lib/config/files lazy recursive",o.exports=r},"./node_modules/.pnpm/@[email protected]/node_modules/@babel/core/lib/config/files sync recursive":o=>{function r(u){var a=new Error("Cannot find module '"+u+"'");throw a.code="MODULE_NOT_FOUND",a}r.keys=()=>[],r.resolve=r,r.id="./node_modules/.pnpm/@[email protected]/node_modules/@babel/core/lib/config/files sync recursive",o.exports=r},"./node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@babel/plugin-syntax-class-properties/lib/index.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var a=(0,u("./node_modules/.pnpm/@[email protected]/node_modules/@babel/helper-plugin-utils/lib/index.js").declare)(m=>(m.assertVersion(7),{name:"syntax-class-properties",manipulateOptions(d,s){s.plugins.push("classProperties","classPrivateProperties","classPrivateMethods")}}));r.default=a},"./node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@babel/plugin-syntax-export-namespace-from/lib/index.js":(o,r,u)=>{"use strict";r.Z=void 0;var a=(0,u("./node_modules/.pnpm/@[email protected]/node_modules/@babel/helper-plugin-utils/lib/index.js").declare)(m=>(m.assertVersion(7),{name:"syntax-export-namespace-from",manipulateOptions(d,s){s.plugins.push("exportNamespaceFrom")}}));r.Z=a},"./node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@babel/plugin-syntax-nullish-coalescing-operator/lib/index.js":(o,r,u)=>{"use strict";r.Z=void 0;var a=(0,u("./node_modules/.pnpm/@[email protected]/node_modules/@babel/helper-plugin-utils/lib/index.js").declare)(m=>(m.assertVersion(7),{name:"syntax-nullish-coalescing-operator",manipulateOptions(d,s){s.plugins.push("nullishCoalescingOperator")}}));r.Z=a},"./node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@babel/plugin-syntax-optional-chaining/lib/index.js":(o,r,u)=>{"use strict";r.Z=void 0;var a=(0,u("./node_modules/.pnpm/@[email protected]/node_modules/@babel/helper-plugin-utils/lib/index.js").declare)(m=>(m.assertVersion(7),{name:"syntax-optional-chaining",manipulateOptions(d,s){s.plugins.push("optionalChaining")}}));r.Z=a},"./node_modules/.pnpm/@[email protected]/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js":function(o,r,u){(function(a,m,d,s){"use strict";let E;a.addSegment=void 0,a.addMapping=void 0,a.maybeAddSegment=void 0,a.maybeAddMapping=void 0,a.setSourceContent=void 0,a.toDecodedMap=void 0,a.toEncodedMap=void 0,a.fromMap=void 0,a.allMappings=void 0;class v{constructor({file:L,sourceRoot:M}={}){this._names=new m.SetArray,this._sources=new m.SetArray,this._sourcesContent=[],this._mappings=[],this.file=L,this.sourceRoot=M}}function S(I,L){for(let M=I.length;M<=L;M++)I[M]=[];return I[L]}function w(I,L){let M=I.length;for(let $=M-1;$>=0&&!(L>=I[$][0]);M=$--);return M}function A(I,L,M){for(let $=I.length;$>L;$--)I[$]=I[$-1];I[L]=M}function x(I){let{length:L}=I,M=L;for(let $=M-1;$>=0&&!(I[$].length>0);M=$,$--);M<L&&(I.length=M)}function C(I,L){for(let M=0;M<L.length;M++)m.put(I,L[M])}function P(I,L){return L===0||I[L-1].length===1}function D(I,L,M,$,H,Z){if(L===0)return!1;let z=I[L-1];return z.length!==1&&M===z[1]&&$===z[2]&&H===z[3]&&Z===(z.length===5?z[4]:-1)}function N(I,L,M){let{generated:$,source:H,original:Z,name:z,content:W}=M;if(!H)return E(I,L,$.line-1,$.column,null,null,null,null,null);let B=H;return E(I,L,$.line-1,$.column,B,Z.line-1,Z.column,z,W)}a.addSegment=(I,L,M,$,H,Z,z,W)=>E(!1,I,L,M,$,H,Z,z,W),a.maybeAddSegment=(I,L,M,$,H,Z,z,W)=>E(!0,I,L,M,$,H,Z,z,W),a.addMapping=(I,L)=>N(!1,I,L),a.maybeAddMapping=(I,L)=>N(!0,I,L),a.setSourceContent=(I,L,M)=>{let{_sources:$,_sourcesContent:H}=I;H[m.put($,L)]=M},a.toDecodedMap=I=>{let{file:L,sourceRoot:M,_mappings:$,_sources:H,_sourcesContent:Z,_names:z}=I;return x($),{version:3,file:L||void 0,names:z.array,sourceRoot:M||void 0,sources:H.array,sourcesContent:Z,mappings:$}},a.toEncodedMap=I=>{let L=a.toDecodedMap(I);return Object.assign(Object.assign({},L),{mappings:d.encode(L.mappings)})},a.allMappings=I=>{let L=[],{_mappings:M,_sources:$,_names:H}=I;for(let Z=0;Z<M.length;Z++){let z=M[Z];for(let W=0;W<z.length;W++){let B=z[W],R={line:Z+1,column:B[0]},j,G,X;B.length!==1&&(j=$.array[B[1]],G={line:B[2]+1,column:B[3]},B.length===5&&(X=H.array[B[4]])),L.push({generated:R,source:j,original:G,name:X})}}return L},a.fromMap=I=>{let L=new s.TraceMap(I),M=new v({file:L.file,sourceRoot:L.sourceRoot});return C(M._names,L.names),C(M._sources,L.sources),M._sourcesContent=L.sourcesContent||L.sources.map(()=>null),M._mappings=s.decodedMappings(L),M},E=(I,L,M,$,H,Z,z,W,B)=>{let{_mappings:R,_sources:j,_sourcesContent:G,_names:X}=L,F=S(R,M),V=w(F,$);if(!H)return I&&P(F,V)?void 0:A(F,V,[$]);let U=m.put(j,H),Y=W?m.put(X,W):-1;if(U===G.length&&(G[U]=B??null),!I||!D(F,V,U,Z,z,Y))return A(F,V,W?[$,U,Z,z,Y]:[$,U,Z,z])},a.GenMapping=v,Object.defineProperty(a,"__esModule",{value:!0})})(r,u("./node_modules/.pnpm/@[email protected]/node_modules/@jridgewell/set-array/dist/set-array.umd.js"),u("./node_modules/.pnpm/@[email protected]/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js"),u("./node_modules/.pnpm/@[email protected]/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js"))},"./node_modules/.pnpm/@[email protected]/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js":function(o){o.exports=function(){"use strict";let r=/^[\w+.-]+:\/\//,u=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,a=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;var m;function d(x){return r.test(x)}function s(x){return x.startsWith("//")}function l(x){return x.startsWith("/")}function f(x){return x.startsWith("file:")}function p(x){return/^[.?#]/.test(x)}function h(x){let C=u.exec(x);return b(C[1],C[2]||"",C[3],C[4]||"",C[5]||"/",C[6]||"",C[7]||"")}function y(x){let C=a.exec(x),P=C[2];return b("file:","",C[1]||"","",l(P)?P:"/"+P,C[3]||"",C[4]||"")}function b(x,C,P,D,N,I,L){return{scheme:x,user:C,host:P,port:D,path:N,query:I,hash:L,type:m.Absolute}}function E(x){if(s(x)){let P=h("http:"+x);return P.scheme="",P.type=m.SchemeRelative,P}if(l(x)){let P=h("http://foo.com"+x);return P.scheme="",P.host="",P.type=m.AbsolutePath,P}if(f(x))return y(x);if(d(x))return h(x);let C=h("http://foo.com/"+x);return C.scheme="",C.host="",C.type=x?x.startsWith("?")?m.Query:x.startsWith("#")?m.Hash:m.RelativePath:m.Empty,C}function v(x){if(x.endsWith("/.."))return x;let C=x.lastIndexOf("/");return x.slice(0,C+1)}function S(x,C){w(C,C.type),x.path==="/"?x.path=C.path:x.path=v(C.path)+x.path}function w(x,C){let P=C<=m.RelativePath,D=x.path.split("/"),N=1,I=0,L=!1;for(let $=1;$<D.length;$++){let H=D[$];H?(L=!1,H!=="."&&(H!==".."?(D[N++]=H,I++):I?(L=!0,I--,N--):P&&(D[N++]=H))):L=!0}let M="";for(let $=1;$<N;$++)M+="/"+D[$];(!M||L&&!M.endsWith("/.."))&&(M+="/"),x.path=M}function A(x,C){if(!x&&!C)return"";let P=E(x),D=P.type;if(C&&D!==m.Absolute){let I=E(C),L=I.type;switch(D){case m.Empty:P.hash=I.hash;case m.Hash:P.query=I.query;case m.Query:case m.RelativePath:S(P,I);case m.AbsolutePath:P.user=I.user,P.host=I.host,P.port=I.port;case m.SchemeRelative:P.scheme=I.scheme}L>D&&(D=L)}w(P,D);let N=P.query+P.hash;switch(D){case m.Hash:case m.Query:return N;case m.RelativePath:{let I=P.path.slice(1);return I?p(C||x)&&!p(I)?"./"+I+N:I+N:N||"."}case m.AbsolutePath:return P.path+N;default:return P.scheme+"//"+P.user+P.host+P.port+P.path+N}}return function(x){x[x.Empty=1]="Empty",x[x.Hash=2]="Hash",x[x.Query=3]="Query",x[x.RelativePath=4]="RelativePath",x[x.AbsolutePath=5]="AbsolutePath",x[x.SchemeRelative=6]="SchemeRelative",x[x.Absolute=7]="Absolute"}(m||(m={})),A}()},"./node_modules/.pnpm/@[email protected]/node_modules/@jridgewell/set-array/dist/set-array.umd.js":function(o,r){(function(u){"use strict";u.get=void 0,u.put=void 0,u.pop=void 0;class a{constructor(){this._indexes={__proto__:null},this.array=[]}}u.get=(m,d)=>m._indexes[d],u.put=(m,d)=>{let s=u.get(m,d);if(s!==void 0)return s;let{array:l,_indexes:f}=m;return f[d]=l.push(d)-1},u.pop=m=>{let{array:d,_indexes:s}=m;d.length!==0&&(s[d.pop()]=void 0)},u.SetArray=a,Object.defineProperty(u,"__esModule",{value:!0})})(r)},"./node_modules/.pnpm/@[email protected]/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js":function(o,r){(function(u){"use strict";let d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=new Uint8Array(64),l=new Uint8Array(128);for(let A=0;A<d.length;A++){let x=d.charCodeAt(A);s[A]=x,l[x]=A}let f=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode:A=>Buffer.from(A.buffer,A.byteOffset,A.byteLength).toString()}:{decode(A){let x="";for(let C=0;C<A.length;C++)x+=String.fromCharCode(A[C]);return x}};function p(A){let x=new Int32Array(5),C=[],P=0;do{let D=h(A,P),N=[],I=!0,L=0;x[0]=0;for(let M=P;M<D;M++){let $;M=y(A,M,x,0);let H=x[0];H<L&&(I=!1),L=H,b(A,M,D)?(M=y(A,M,x,1),M=y(A,M,x,2),M=y(A,M,x,3),b(A,M,D)?(M=y(A,M,x,4),$=[H,x[1],x[2],x[3],x[4]]):$=[H,x[1],x[2],x[3]]):$=[H],N.push($)}I||E(N),C.push(N),P=D+1}while(P<=A.length);return C}function h(A,x){let C=A.indexOf(";",x);return C===-1?A.length:C}function y(A,x,C,P){let D=0,N=0,I=0;do{let M=A.charCodeAt(x++);I=l[M],D|=(31&I)<<N,N+=5}while(32&I);let L=1&D;return D>>>=1,L&&(D=-2147483648|-D),C[P]+=D,x}function b(A,x,C){return!(x>=C)&&A.charCodeAt(x)!==44}function E(A){A.sort(v)}function v(A,x){return A[0]-x[0]}function S(A){let x=new Int32Array(5),C=16384,P=C-36,D=new Uint8Array(C),N=D.subarray(0,P),I=0,L="";for(let M=0;M<A.length;M++){let $=A[M];if(M>0&&(I===C&&(L+=f.decode(D),I=0),D[I++]=59),$.length!==0){x[0]=0;for(let H=0;H<$.length;H++){let Z=$[H];I>P&&(L+=f.decode(N),D.copyWithin(0,P,I),I-=P),H>0&&(D[I++]=44),I=w(D,I,x,Z,0),Z.length!==1&&(I=w(D,I,x,Z,1),I=w(D,I,x,Z,2),I=w(D,I,x,Z,3),Z.length!==4&&(I=w(D,I,x,Z,4)))}}}return L+f.decode(D.subarray(0,I))}function w(A,x,C,P,D){let N=P[D],I=N-C[D];C[D]=N,I=I<0?-I<<1|1:I<<1;do{let L=31&I;I>>>=5,I>0&&(L|=32),A[x++]=s[L]}while(I>0);return x}u.decode=p,u.encode=S,Object.defineProperty(u,"__esModule",{value:!0})})(r)},"./node_modules/.pnpm/@[email protected]/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js":function(o,r,u){(function(a,m,d){"use strict";function s(se){return se&&typeof se=="object"&&"default"in se?se:{default:se}}var l=s(d);function f(se,ae){return ae&&!ae.endsWith("/")&&(ae+="/"),l.default(se,ae)}function p(se){if(!se)return"";let ae=se.lastIndexOf("/");return se.slice(0,ae+1)}let h=0,y=1,b=2,E=3,v=4,S=1,w=2;function A(se,ae){let he=x(se,0);if(he===se.length)return se;ae||(se=se.slice());for(let me=he;me<se.length;me=x(se,me+1))se[me]=P(se[me],ae);return se}function x(se,ae){for(let he=ae;he<se.length;he++)if(!C(se[he]))return he;return se.length}function C(se){for(let ae=1;ae<se.length;ae++)if(se[ae][h]<se[ae-1][h])return!1;return!0}function P(se,ae){return ae||(se=se.slice()),se.sort(D)}function D(se,ae){return se[h]-ae[h]}let N=!1;function I(se,ae,he,me){for(;he<=me;){let Ce=he+(me-he>>1),pe=se[Ce][h]-ae;if(pe===0)return N=!0,Ce;pe<0?he=Ce+1:me=Ce-1}return N=!1,he-1}function L(se,ae,he){for(let me=he+1;me<se.length&&se[me][h]===ae;he=me++);return he}function M(se,ae,he){for(let me=he-1;me>=0&&se[me][h]===ae;he=me--);return he}function $(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function H(se,ae,he,me){let{lastKey:Ce,lastNeedle:pe,lastIndex:J}=he,Pe=0,Ve=se.length-1;if(me===Ce){if(ae===pe)return N=J!==-1&&se[J][h]===ae,J;ae>=pe?Pe=J===-1?0:J:Ve=J}return he.lastKey=me,he.lastNeedle=ae,he.lastIndex=I(se,ae,Pe,Ve)}function Z(se,ae){let he=ae.map(W);for(let me=0;me<se.length;me++){let Ce=se[me];for(let pe=0;pe<Ce.length;pe++){let J=Ce[pe];if(J.length===1)continue;let Pe=J[y],Ve=J[b],ke=J[E],He=he[Pe],ot=He[Ve]||(He[Ve]=[]),ft=ae[Pe],Ue=L(ot,ke,H(ot,ke,ft,Ve));z(ot,ft.lastIndex=Ue+1,[ke,me,J[h]])}}return he}function z(se,ae,he){for(let me=se.length;me>ae;me--)se[me]=se[me-1];se[ae]=he}function W(){return{__proto__:null}}let B=function(se,ae){let he=typeof se=="string"?JSON.parse(se):se;if(!("sections"in he))return new te(he,ae);let me=[],Ce=[],pe=[],J=[];R(he,ae,me,Ce,pe,J,0,0,1/0,1/0);let Pe={version:3,file:he.file,names:J,sources:Ce,sourcesContent:pe,mappings:me};return a.presortedDecodedMap(Pe)};function R(se,ae,he,me,Ce,pe,J,Pe,Ve,ke){let{sections:He}=se;for(let ot=0;ot<He.length;ot++){let{map:ft,offset:Ue}=He[ot],ue=Ve,_e=ke;if(ot+1<He.length){let ye=He[ot+1].offset;ue=Math.min(Ve,J+ye.line),ue===Ve?_e=Math.min(ke,Pe+ye.column):ue<Ve&&(_e=Pe+ye.column)}j(ft,ae,he,me,Ce,pe,J+Ue.line,Pe+Ue.column,ue,_e)}}function j(se,ae,he,me,Ce,pe,J,Pe,Ve,ke){if("sections"in se)return R(...arguments);let He=new te(se,ae),ot=me.length,ft=pe.length,Ue=a.decodedMappings(He),{resolvedSources:ue,sourcesContent:_e}=He;if(G(me,ue),G(pe,He.names),_e)G(Ce,_e);else for(let ye=0;ye<ue.length;ye++)Ce.push(null);for(let ye=0;ye<Ue.length;ye++){let ve=J+ye;if(ve>Ve)return;let nt=X(he,ve),pt=ye===0?Pe:0,Ut=Ue[ye];for(let Jt=0;Jt<Ut.length;Jt++){let Yt=Ut[Jt],mr=pt+Yt[h];if(ve===Ve&&mr>=ke)return;if(Yt.length===1){nt.push([mr]);continue}let Qt=ot+Yt[y],Kt=Yt[b],Ee=Yt[E];nt.push(Yt.length===4?[mr,Qt,Kt,Ee]:[mr,Qt,Kt,Ee,ft+Yt[v]])}}}function G(se,ae){for(let he=0;he<ae.length;he++)se.push(ae[he])}function X(se,ae){for(let he=se.length;he<=ae;he++)se[he]=[];return se[ae]}let F="`line` must be greater than 0 (lines start at line 1)",V="`column` must be greater than or equal to 0 (columns start at column 0)",U=-1,Y=1;a.encodedMappings=void 0,a.decodedMappings=void 0,a.traceSegment=void 0,a.originalPositionFor=void 0,a.generatedPositionFor=void 0,a.allGeneratedPositionsFor=void 0,a.eachMapping=void 0,a.sourceContentFor=void 0,a.presortedDecodedMap=void 0,a.decodedMap=void 0,a.encodedMap=void 0;class te{constructor(ae,he){let me=typeof ae=="string";if(!me&&ae._decodedMemo)return ae;let Ce=me?JSON.parse(ae):ae,{version:pe,file:J,names:Pe,sourceRoot:Ve,sources:ke,sourcesContent:He}=Ce;this.version=pe,this.file=J,this.names=Pe||[],this.sourceRoot=Ve,this.sources=ke,this.sourcesContent=He;let ot=f(Ve||"",p(he));this.resolvedSources=ke.map(Ue=>f(Ue||"",ot));let{mappings:ft}=Ce;typeof ft=="string"?(this._encoded=ft,this._decoded=void 0):(this._encoded=void 0,this._decoded=A(ft,me)),this._decodedMemo=$(),this._bySources=void 0,this._bySourceMemos=void 0}}function ie(se,ae){return{version:se.version,file:se.file,names:se.names,sourceRoot:se.sourceRoot,sources:se.sources,sourcesContent:se.sourcesContent,mappings:ae}}function de(se,ae,he,me){return{source:se,line:ae,column:he,name:me}}function De(se,ae){return{line:se,column:ae}}function Oe(se,ae,he,me,Ce){let pe=H(se,me,ae,he);return N?pe=(Ce===U?L:M)(se,me,pe):Ce===U&&pe++,pe===-1||pe===se.length?-1:pe}function Be(se,ae,he,me,Ce){let pe=Oe(se,ae,he,me,Y);if(N||Ce!==U||pe++,pe===-1||pe===se.length)return[];let J=N?me:se[pe][h];N||(pe=M(se,J,pe));let Pe=L(se,J,pe),Ve=[];for(;pe<=Pe;pe++){let ke=se[pe];Ve.push(De(ke[S]+1,ke[w]))}return Ve}(()=>{function se(ae,he,me,Ce,pe,J){if(--me<0)throw new Error(F);if(Ce<0)throw new Error(V);let{sources:Pe,resolvedSources:Ve}=ae,ke=Pe.indexOf(he);if(ke===-1&&(ke=Ve.indexOf(he)),ke===-1)return J?[]:De(null,null);let He=(ae._bySources||(ae._bySources=Z(a.decodedMappings(ae),ae._bySourceMemos=Pe.map($))))[ke][me];if(He==null)return J?[]:De(null,null);let ot=ae._bySourceMemos[ke];if(J)return Be(He,ot,me,Ce,pe);let ft=Oe(He,ot,me,Ce,pe);if(ft===-1)return De(null,null);let Ue=He[ft];return De(Ue[S]+1,Ue[w])}a.encodedMappings=ae=>{var he;return(he=ae._encoded)!==null&&he!==void 0?he:ae._encoded=m.encode(ae._decoded)},a.decodedMappings=ae=>ae._decoded||(ae._decoded=m.decode(ae._encoded)),a.traceSegment=(ae,he,me)=>{let Ce=a.decodedMappings(ae);if(he>=Ce.length)return null;let pe=Ce[he],J=Oe(pe,ae._decodedMemo,he,me,Y);return J===-1?null:pe[J]},a.originalPositionFor=(ae,{line:he,column:me,bias:Ce})=>{if(--he<0)throw new Error(F);if(me<0)throw new Error(V);let pe=a.decodedMappings(ae);if(he>=pe.length)return de(null,null,null,null);let J=pe[he],Pe=Oe(J,ae._decodedMemo,he,me,Ce||Y);if(Pe===-1)return de(null,null,null,null);let Ve=J[Pe];if(Ve.length===1)return de(null,null,null,null);let{names:ke,resolvedSources:He}=ae;return de(He[Ve[y]],Ve[b]+1,Ve[E],Ve.length===5?ke[Ve[v]]:null)},a.allGeneratedPositionsFor=(ae,{source:he,line:me,column:Ce,bias:pe})=>se(ae,he,me,Ce,pe||U,!0),a.generatedPositionFor=(ae,{source:he,line:me,column:Ce,bias:pe})=>se(ae,he,me,Ce,pe||Y,!1),a.eachMapping=(ae,he)=>{let me=a.decodedMappings(ae),{names:Ce,resolvedSources:pe}=ae;for(let J=0;J<me.length;J++){let Pe=me[J];for(let Ve=0;Ve<Pe.length;Ve++){let ke=Pe[Ve],He=J+1,ot=ke[0],ft=null,Ue=null,ue=null,_e=null;ke.length!==1&&(ft=pe[ke[1]],Ue=ke[2]+1,ue=ke[3]),ke.length===5&&(_e=Ce[ke[4]]),he({generatedLine:He,generatedColumn:ot,source:ft,originalLine:Ue,originalColumn:ue,name:_e})}}},a.sourceContentFor=(ae,he)=>{let{sources:me,resolvedSources:Ce,sourcesContent:pe}=ae;if(pe==null)return null;let J=me.indexOf(he);return J===-1&&(J=Ce.indexOf(he)),J===-1?null:pe[J]},a.presortedDecodedMap=(ae,he)=>{let me=new te(ie(ae,[]),he);return me._decoded=ae.mappings,me},a.decodedMap=ae=>ie(ae,a.decodedMappings(ae)),a.encodedMap=ae=>ie(ae,a.encodedMappings(ae))})(),a.AnyMap=B,a.GREATEST_LOWER_BOUND=Y,a.LEAST_UPPER_BOUND=U,a.TraceMap=te,Object.defineProperty(a,"__esModule",{value:!0})})(r,u("./node_modules/.pnpm/@[email protected]/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js"),u("./node_modules/.pnpm/@[email protected]/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js"))},"./node_modules/.pnpm/[email protected]/node_modules/babel-plugin-dynamic-import-node/lib/index.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(m){var d=(0,a.createDynamicImportTransform)(m);return{manipulateOptions:function(s,l){l.plugins.push("dynamicImport")},visitor:{Import:function(s){d(this,s)}}}};var a=u("./node_modules/.pnpm/[email protected]/node_modules/babel-plugin-dynamic-import-node/lib/utils.js");o.exports=r.default},"./node_modules/.pnpm/[email protected]/node_modules/babel-plugin-dynamic-import-node/lib/utils.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var u=function(m,d){if(Array.isArray(m))return m;if(Symbol.iterator in Object(m))return function(s,l){var f=[],p=!0,h=!1,y=void 0;try{for(var b,E=s[Symbol.iterator]();!(p=(b=E.next()).done)&&(f.push(b.value),!l||f.length!==l);p=!0);}catch(v){h=!0,y=v}finally{try{!p&&E.return&&E.return()}finally{if(h)throw y}}return f}(m,d);throw new TypeError("Invalid attempt to destructure non-iterable instance")};function a(m,d){var s=d.arguments,l=u(s,1)[0];return m.isStringLiteral(l)||m.isTemplateLiteral(l)?(m.removeComments(l),l):m.templateLiteral([m.templateElement({raw:"",cooked:""}),m.templateElement({raw:"",cooked:""},!0)],s)}r.getImportSource=a,r.createDynamicImportTransform=function(m){var d=m.template,s=m.types,l={static:{interop:d("Promise.resolve().then(() => INTEROP(require(SOURCE)))"),noInterop:d("Promise.resolve().then(() => require(SOURCE))")},dynamic:{interop:d("Promise.resolve(SOURCE).then(s => INTEROP(require(s)))"),noInterop:d("Promise.resolve(SOURCE).then(s => require(s))")}},f=typeof WeakSet=="function"&&new WeakSet;return function(p,h){if(f){if(f.has(h))return;f.add(h)}var y,b=a(s,h.parent),E=(y=b,s.isStringLiteral(y)||s.isTemplateLiteral(y)&&y.expressions.length===0?l.static:l.dynamic),v=p.opts.noInterop?E.noInterop({SOURCE:b}):E.interop({SOURCE:b,INTEROP:p.addHelper("interopRequireWildcard")});h.parentPath.replaceWith(v)}}},"./node_modules/.pnpm/[email protected]/node_modules/babel-plugin-parameter-decorator/lib/index.js":(o,r,u)=>{"use strict";var a=u("path");function m(d){switch(d.parent.type){case"TSTypeReference":case"TSQualifiedName":case"TSExpressionWithTypeArguments":case"TSTypeQuery":return!0;default:return!1}}o.exports=function(d){var s=d.types,l=function(p,h){return function(y){var b=s.callExpression(p.expression,[s.Identifier(y),s.Identifier("undefined"),s.NumericLiteral(h.key)]),E=s.logicalExpression("||",b,s.Identifier(y)),v=s.assignmentExpression("=",s.Identifier(y),E);return s.expressionStatement(v)}},f=function(p,h){return function(y,b){var E=s.callExpression(p.expression,[s.Identifier("".concat(y,".prototype")),s.StringLiteral(b),s.NumericLiteral(h.key)]);return s.expressionStatement(E)}};return{visitor:{Program:function(p,h){var y=(0,a.extname)(h.file.opts.filename);y!==".ts"&&y!==".tsx"||function(){var b=Object.create(null);p.node.body.filter(function(M){var $=M.type,H=M.declaration;switch($){case"ClassDeclaration":return!0;case"ExportNamedDeclaration":case"ExportDefaultDeclaration":return H&&H.type==="ClassDeclaration";default:return!1}}).map(function(M){return M.type==="ClassDeclaration"?M:M.declaration}).forEach(function(M){M.body.body.forEach(function($){($.params||[]).forEach(function(H){(H.decorators||[]).forEach(function(Z){Z.expression.callee?b[Z.expression.callee.name]=Z:b[Z.expression.name]=Z})})})});var E=!0,v=!1,S=void 0;try{for(var w,A=p.get("body")[Symbol.iterator]();!(E=(w=A.next()).done);E=!0){var x=w.value;if(x.node.type==="ImportDeclaration"){if(x.node.specifiers.length===0)continue;var C=!0,P=!1,D=void 0;try{for(var N,I=function(){var M=N.value,$=x.scope.getBinding(M.local.name);$.referencePaths.length?$.referencePaths.reduce(function(H,Z){return H||m(Z)},!1)&&Object.keys(b).forEach(function(H){var Z=b[H];(Z.expression.arguments||[]).forEach(function(z){z.name===M.local.name&&$.referencePaths.push({parent:Z.expression})})}):b[M.local.name]&&$.referencePaths.push({parent:b[M.local.name]})},L=x.node.specifiers[Symbol.iterator]();!(C=(N=L.next()).done);C=!0)I()}catch(M){P=!0,D=M}finally{try{C||L.return==null||L.return()}finally{if(P)throw D}}}}}catch(M){v=!0,S=M}finally{try{E||A.return==null||A.return()}finally{if(v)throw S}}}()},Function:function(p){var h="";p.node.id?h=p.node.id.name:p.node.key&&(h=p.node.key.name),(p.get("params")||[]).slice().forEach(function(y){var b=y.node.decorators||[],E=b.length;if(b.slice().forEach(function(S){if(p.type==="ClassMethod"){var w,A=p.parentPath.parentPath,x=p.findParent(function(M){return M.type==="ClassDeclaration"});if(x?w=x.node.id.name:(A.insertAfter(null),w=function(M){var $=M.findParent(function(H){return H.node.type==="AssignmentExpression"});return $.node.right.type==="SequenceExpression"?$.node.right.expressions[1].name:$.node.right.type==="ClassExpression"?$.node.left.name:null}(p)),h==="constructor"){var C=l(S,y)(w);A.insertAfter(C)}else{var P=f(S,y)(w,h);A.insertAfter(P)}}else{var D=p.findParent(function(M){return M.node.type==="VariableDeclarator"}).node.id.name;if(h===D){var N=l(S,y)(D);p.parentKey==="body"?p.insertAfter(N):p.findParent(function(M){return M.parentKey==="body"}).insertAfter(N)}else{var I=p.findParent(function(M){return M.node.type==="CallExpression"}),L=f(S,y)(D,h);I.insertAfter(L)}}}),E){var v=function(S){switch(S.node.type){case"ObjectPattern":return s.ObjectPattern(S.node.properties);case"AssignmentPattern":return s.AssignmentPattern(S.node.left,S.node.right);case"TSParameterProperty":return s.Identifier(S.node.parameter.name);default:return s.Identifier(S.node.name)}}(y);y.replaceWith(v)}})}}}}},"./node_modules/.pnpm/[email protected]_@[email protected]/node_modules/babel-plugin-transform-typescript-metadata/lib/metadata/metadataVisitor.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.metadataVisitor=function(s,l){let f=l.node,p=s.node;switch(f.type){case"ClassMethod":let h=f.kind==="constructor"?p.decorators:f.decorators;if(!h||h.length===0)return;h.push(d("design:type",a.types.identifier("Function"))),h.push(d("design:paramtypes",a.types.arrayExpression(f.params.map(y=>(0,m.serializeType)(s,y)))));break;case"ClassProperty":if(!f.decorators||f.decorators.length===0||!f.typeAnnotation||f.typeAnnotation.type!=="TSTypeAnnotation")return;f.decorators.push(d("design:type",(0,m.serializeType)(s,f)))}};var a=u("./node_modules/.pnpm/@[email protected]/node_modules/@babel/core/lib/index.js"),m=u("./node_modules/.pnpm/[email protected]_@[email protected]/node_modules/babel-plugin-transform-typescript-metadata/lib/metadata/serializeType.js");function d(s,l){return a.types.decorator(a.types.callExpression(a.types.memberExpression(a.types.identifier("Reflect"),a.types.identifier("metadata")),[a.types.stringLiteral(s),l]))}},"./node_modules/.pnpm/[email protected]_@[email protected]/node_modules/babel-plugin-transform-typescript-metadata/lib/metadata/serializeType.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.serializeType=function(y,b){let E=d(b);if(E==null||!E.typeAnnotation||E.typeAnnotation.type!=="TSTypeAnnotation")return m();let v=E.typeAnnotation.typeAnnotation;return p(y.node.id?y.node.id.name:"",v)},r.isClassType=l;var a=u("./node_modules/.pnpm/@[email protected]/node_modules/@babel/core/lib/index.js");function m(){return a.types.unaryExpression("void",a.types.numericLiteral(0))}function d(y){return y==null?null:y.type==="ClassProperty"||y.type==="Identifier"||y.type==="ObjectPattern"?y:y.type==="AssignmentPattern"&&y.left.type==="Identifier"?y.left:y.type==="TSParameterProperty"?d(y.parameter):null}function s(y,b){let E=f(b.typeName);return l(y,E)?a.types.identifier("Object"):a.types.conditionalExpression(a.types.binaryExpression("===",a.types.unaryExpression("typeof",E),a.types.stringLiteral("undefined")),a.types.identifier("Object"),a.types.cloneDeep(E))}function l(y,b){switch(b.type){case"Identifier":return b.name===y;case"MemberExpression":return l(y,b.object);default:throw new Error(`The property expression at ${b.start} is not valid as a Type to be used in Reflect.metadata`)}}function f(y){return y.type==="Identifier"?a.types.identifier(y.name):a.types.memberExpression(f(y.left),y.right)}function p(y,b){if(b===void 0)return a.types.identifier("Object");switch(b.type){case"TSVoidKeyword":case"TSUndefinedKeyword":case"TSNullKeyword":case"TSNeverKeyword":return m();case"TSParenthesizedType":return p(y,b.typeAnnotation);case"TSFunctionType":case"TSConstructorType":return a.types.identifier("Function");case"TSArrayType":case"TSTupleType":return a.types.identifier("Array");case"TSTypePredicate":case"TSBooleanKeyword":return a.types.identifier("Boolean");case"TSStringKeyword":return a.types.identifier("String");case"TSObjectKeyword":return a.types.identifier("Object");case"TSLiteralType":switch(b.literal.type){case"StringLiteral":return a.types.identifier("String");case"NumericLiteral":return a.types.identifier("Number");case"BooleanLiteral":return a.types.identifier("Boolean");default:throw new Error("Bad type for decorator"+b.literal)}case"TSNumberKeyword":case"TSBigIntKeyword":return a.types.identifier("Number");case"TSSymbolKeyword":return a.types.identifier("Symbol");case"TSTypeReference":return s(y,b);case"TSIntersectionType":case"TSUnionType":return h(y,b.types);case"TSConditionalType":return h(y,[b.trueType,b.falseType]);case"TSTypeQuery":case"TSTypeOperator":case"TSIndexedAccessType":case"TSMappedType":case"TSTypeLiteral":case"TSAnyKeyword":case"TSUnknownKeyword":case"TSThisType":break;default:throw new Error("Bad type for decorator")}return a.types.identifier("Object")}function h(y,b){let E;for(let v of b){for(;v.type==="TSParenthesizedType";)v=v.typeAnnotation;if(v.type==="TSNeverKeyword"||v.type==="TSNullKeyword"||v.type==="TSUndefinedKeyword")continue;let S=p(y,v);if(a.types.isIdentifier(S)&&S.name==="Object")return S;if(E){if(!a.types.isIdentifier(E)||!a.types.isIdentifier(S)||E.name!==S.name)return a.types.identifier("Object")}else E=S}return E||m()}},"./node_modules/.pnpm/[email protected]_@[email protected]/node_modules/babel-plugin-transform-typescript-metadata/lib/parameter/parameterVisitor.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.parameterVisitor=function(d,s){if(s.type!=="ClassMethod"||s.node.type!=="ClassMethod"||s.node.key.type!=="Identifier")return;let l=s;(l.get("params")||[]).slice().forEach(function(f){let p;(f.node.type==="Identifier"||f.node.type==="ObjectPattern"?f.node:f.node.type==="TSParameterProperty"&&f.node.parameter.type==="Identifier"?f.node.parameter:null)!=null&&((f.node.decorators||[]).slice().forEach(function(h){l.node.kind==="constructor"?(p=m(f.key,h.expression,!0),d.node.decorators||(d.node.decorators=[]),d.node.decorators.push(p)):(p=m(f.key,h.expression,!1),l.node.decorators||(l.node.decorators=[]),l.node.decorators.push(p))}),p&&(f.node.decorators=null))})};var a=u("./node_modules/.pnpm/@[email protected]/node_modules/@babel/core/lib/index.js");function m(d,s,l=!1){return a.types.decorator(a.types.functionExpression(null,[a.types.identifier("target"),a.types.identifier("key")],a.types.blockStatement([a.types.returnStatement(a.types.callExpression(s,[a.types.identifier("target"),a.types.identifier(l?"undefined":"key"),a.types.numericLiteral(d)]))])))}},"./node_modules/.pnpm/[email protected]_@[email protected]/node_modules/babel-plugin-transform-typescript-metadata/lib/plugin.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var a=u("./node_modules/.pnpm/@[email protected]/node_modules/@babel/helper-plugin-utils/lib/index.js"),m=u("./node_modules/.pnpm/[email protected]_@[email protected]/node_modules/babel-plugin-transform-typescript-metadata/lib/parameter/parameterVisitor.js"),d=u("./node_modules/.pnpm/[email protected]_@[email protected]/node_modules/babel-plugin-transform-typescript-metadata/lib/metadata/metadataVisitor.js"),s=(0,a.declare)(l=>(l.assertVersion(7),{visitor:{Program(f){f.traverse({ClassDeclaration(p){for(let h of p.get("body").get("body"))h.type!=="ClassMethod"&&h.type!=="ClassProperty"||((0,m.parameterVisitor)(p,h),(0,d.metadataVisitor)(p,h));p.parentPath.scope.crawl()}})}}}));r.default=s},"./node_modules/.pnpm/[email protected]/node_modules/convert-source-map/index.js":(o,r)=>{"use strict";var u;function a(d,s){(s=s||{}).hasComment&&(d=function(l){return l.split(",").pop()}(d)),s.encoding==="base64"?d=u(d):s.encoding==="uri"&&(d=decodeURIComponent(d)),(s.isJSON||s.encoding)&&(d=JSON.parse(d)),this.sourcemap=d}function m(d){return new a(d,{isJSON:!0})}Object.defineProperty(r,"commentRegex",{get:function(){return/^\s*?\/[\/\*][@#]\s+?sourceMappingURL=data:(((?:application|text)\/json)(?:;charset=([^;,]+?)?)?)?(?:;(base64))?,(.*?)$/gm}}),Object.defineProperty(r,"mapFileCommentRegex",{get:function(){return/(?:\/\/[@#][ \t]+?sourceMappingURL=([^\s'"`]+?)[ \t]*?$)|(?:\/\*[@#][ \t]+sourceMappingURL=([^*]+?)[ \t]*?(?:\*\/){1}[ \t]*?$)/gm}}),u=typeof Buffer<"u"?typeof Buffer.from=="function"?function(d){return Buffer.from(d,"base64").toString()}:function(d){if(typeof value=="number")throw new TypeError("The value to decode must not be of type number.");return new Buffer(d,"base64").toString()}:function(d){return decodeURIComponent(escape(atob(d)))},a.prototype.toJSON=function(d){return JSON.stringify(this.sourcemap,null,d)},typeof Buffer<"u"?typeof Buffer.from=="function"?a.prototype.toBase64=function(){var d=this.toJSON();return Buffer.from(d,"utf8").toString("base64")}:a.prototype.toBase64=function(){var d=this.toJSON();if(typeof d=="number")throw new TypeError("The json to encode must not be of type number.");return new Buffer(d,"utf8").toString("base64")}:a.prototype.toBase64=function(){var d=this.toJSON();return btoa(unescape(encodeURIComponent(d)))},a.prototype.toURI=function(){var d=this.toJSON();return encodeURIComponent(d)},a.prototype.toComment=function(d){var s,l,f;return d!=null&&d.encoding==="uri"?(s="",l=this.toURI()):(s=";base64",l=this.toBase64()),f="sourceMappingURL=data:application/json;charset=utf-8"+s+","+l,d!=null&&d.multiline?"/*# "+f+" */":"//# "+f},a.prototype.toObject=function(){return JSON.parse(this.toJSON())},a.prototype.addProperty=function(d,s){if(this.sourcemap.hasOwnProperty(d))throw new Error('property "'+d+'" already exists on the sourcemap, use set property instead');return this.setProperty(d,s)},a.prototype.setProperty=function(d,s){return this.sourcemap[d]=s,this},a.prototype.getProperty=function(d){return this.sourcemap[d]},r.fromObject=function(d){return new a(d)},r.fromJSON=function(d){return new a(d,{isJSON:!0})},r.fromURI=function(d){return new a(d,{encoding:"uri"})},r.fromBase64=function(d){return new a(d,{encoding:"base64"})},r.fromComment=function(d){var s;return new a(d=d.replace(/^\/\*/g,"//").replace(/\*\/$/g,""),{encoding:(s=r.commentRegex.exec(d))&&s[4]||"uri",hasComment:!0})},r.fromMapFileComment=function(d,s){if(typeof s=="string")throw new Error("String directory paths are no longer supported with `fromMapFileComment`\nPlease review the Upgrading documentation at https://github.com/thlorenz/convert-source-map#upgrading");var l=function(f,p){var h=r.mapFileCommentRegex.exec(f),y=h[1]||h[2];try{return(f=p(y))!=null&&typeof f.catch=="function"?f.catch(b):f}catch(E){b(E)}function b(E){throw new Error("An error occurred while trying to read the map file at "+y+`
`+E.stack)}}(d,s);return l!=null&&typeof l.then=="function"?l.then(m):m(l)},r.fromSource=function(d){var s=d.match(r.commentRegex);return s?r.fromComment(s.pop()):null},r.fromMapFileSource=function(d,s){if(typeof s=="string")throw new Error("String directory paths are no longer supported with `fromMapFileSource`\nPlease review the Upgrading documentation at https://github.com/thlorenz/convert-source-map#upgrading");var l=d.match(r.mapFileCommentRegex);return l?r.fromMapFileComment(l.pop(),s):null},r.removeComments=function(d){return d.replace(r.commentRegex,"")},r.removeMapFileComments=function(d){return d.replace(r.mapFileCommentRegex,"")},r.generateMapFileComment=function(d,s){var l="sourceMappingURL="+d;return s&&s.multiline?"/*# "+l+" */":"//# "+l}},"./node_modules/.pnpm/[email protected]/node_modules/debug/src/browser.js":(o,r,u)=>{r.formatArgs=function(m){if(m[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+m[0]+(this.useColors?"%c ":" ")+"+"+o.exports.humanize(this.diff),!this.useColors)return;let d="color: "+this.color;m.splice(1,0,d,"color: inherit");let s=0,l=0;m[0].replace(/%[a-zA-Z%]/g,f=>{f!=="%%"&&(s++,f==="%c"&&(l=s))}),m.splice(l,0,d)},r.save=function(m){try{m?r.storage.setItem("debug",m):r.storage.removeItem("debug")}catch{}},r.load=function(){let m;try{m=r.storage.getItem("debug")}catch{}return!m&&typeof process<"u"&&"env"in process&&(m=process.env.DEBUG),m},r.useColors=function(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},r.storage=function(){try{return localStorage}catch{}}(),r.destroy=(()=>{let m=!1;return()=>{m||(m=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),r.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],r.log=console.debug||console.log||(()=>{}),o.exports=u("./node_modules/.pnpm/[email protected]/node_modules/debug/src/common.js")(r);let{formatters:a}=o.exports;a.j=function(m){try{return JSON.stringify(m)}catch(d){return"[UnexpectedJSONParseError]: "+d.message}}},"./node_modules/.pnpm/[email protected]/node_modules/debug/src/common.js":(o,r,u)=>{o.exports=function(a){function m(l){let f,p,h,y=null;function b(...E){if(!b.enabled)return;let v=b,S=Number(new Date),w=S-(f||S);v.diff=w,v.prev=f,v.curr=S,f=S,E[0]=m.coerce(E[0]),typeof E[0]!="string"&&E.unshift("%O");let A=0;E[0]=E[0].replace(/%([a-zA-Z%])/g,(x,C)=>{if(x==="%%")return"%";A++;let P=m.formatters[C];if(typeof P=="function"){let D=E[A];x=P.call(v,D),E.splice(A,1),A--}return x}),m.formatArgs.call(v,E),(v.log||m.log).apply(v,E)}return b.namespace=l,b.useColors=m.useColors(),b.color=m.selectColor(l),b.extend=d,b.destroy=m.destroy,Object.defineProperty(b,"enabled",{enumerable:!0,configurable:!1,get:()=>y!==null?y:(p!==m.namespaces&&(p=m.namespaces,h=m.enabled(l)),h),set:E=>{y=E}}),typeof m.init=="function"&&m.init(b),b}function d(l,f){let p=m(this.namespace+(f===void 0?":":f)+l);return p.log=this.log,p}function s(l){return l.toString().substring(2,l.toString().length-2).replace(/\.\*\?$/,"*")}return m.debug=m,m.default=m,m.coerce=function(l){return l instanceof Error?l.stack||l.message:l},m.disable=function(){let l=[...m.names.map(s),...m.skips.map(s).map(f=>"-"+f)].join(",");return m.enable(""),l},m.enable=function(l){let f;m.save(l),m.namespaces=l,m.names=[],m.skips=[];let p=(typeof l=="string"?l:"").split(/[\s,]+/),h=p.length;for(f=0;f<h;f++)p[f]&&((l=p[f].replace(/\*/g,".*?"))[0]==="-"?m.skips.push(new RegExp("^"+l.slice(1)+"$")):m.names.push(new RegExp("^"+l+"$")))},m.enabled=function(l){if(l[l.length-1]==="*")return!0;let f,p;for(f=0,p=m.skips.length;f<p;f++)if(m.skips[f].test(l))return!1;for(f=0,p=m.names.length;f<p;f++)if(m.names[f].test(l))return!0;return!1},m.humanize=u("./node_modules/.pnpm/[email protected]/node_modules/ms/index.js"),m.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(a).forEach(l=>{m[l]=a[l]}),m.names=[],m.skips=[],m.formatters={},m.selectColor=function(l){let f=0;for(let p=0;p<l.length;p++)f=(f<<5)-f+l.charCodeAt(p),f|=0;return m.colors[Math.abs(f)%m.colors.length]},m.enable(m.load()),m}},"./node_modules/.pnpm/[email protected]/node_modules/debug/src/index.js":(o,r,u)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?o.exports=u("./node_modules/.pnpm/[email protected]/node_modules/debug/src/browser.js"):o.exports=u("./node_modules/.pnpm/[email protected]/node_modules/debug/src/node.js")},"./node_modules/.pnpm/[email protected]/node_modules/debug/src/node.js":(o,r,u)=>{let a=u("tty"),m=u("util");r.init=function(s){s.inspectOpts={};let l=Object.keys(r.inspectOpts);for(let f=0;f<l.length;f++)s.inspectOpts[l[f]]=r.inspectOpts[l[f]]},r.log=function(...s){return process.stderr.write(m.format(...s)+`
@@ -2350,7 +2350,7 @@ ${n.map(({variableName:i,uniqueLocalName:o})=>` reactHotLoader.register(${i}, "
`);return u===-1&&(u=r.length,r+=`
`),{code:r.slice(0,u+1)+n+r.slice(u+1)+i,mappings:this.shiftMappings(o.mappings,n.length)}}else return{code:n+r+i,mappings:this.shiftMappings(o.mappings,n.length)}}processBalancedCode(){let t=0,n=0;for(;!this.tokens.isAtEnd();){if(this.tokens.matches1(un.TokenType.braceL)||this.tokens.matches1(un.TokenType.dollarBraceL))t++;else if(this.tokens.matches1(un.TokenType.braceR)){if(t===0)return;t--}if(this.tokens.matches1(un.TokenType.parenL))n++;else if(this.tokens.matches1(un.TokenType.parenR)){if(n===0)return;n--}this.processToken()}}processToken(){if(this.tokens.matches1(un.TokenType._class)){this.processClass();return}for(let t of this.transformers)if(t.process())return;this.tokens.copyToken()}processNamedClass(){if(!this.tokens.matches2(un.TokenType._class,un.TokenType.name))throw new Error("Expected identifier for exported class name.");let t=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);return this.processClass(),t}processClass(){let t=QH.default.call(void 0,this,this.tokens,this.nameManager,this.disableESTransforms),n=(t.headerInfo.isExpression||!t.headerInfo.className)&&t.staticInitializerNames.length+t.instanceInitializerNames.length>0,i=t.headerInfo.className;n&&(i=this.nameManager.claimFreeName("_class"),this.generatedVariables.push(i),this.tokens.appendCode(` (${i} =`));let r=this.tokens.currentToken().contextId;if(r==null)throw new Error("Expected class to have a context ID.");for(this.tokens.copyExpectedToken(un.TokenType._class);!this.tokens.matchesContextIdAndLabel(un.TokenType.braceL,r);)this.processToken();this.processClassBody(t,i);let u=t.staticInitializerNames.map(a=>`${i}.${a}()`);n?this.tokens.appendCode(`, ${u.map(a=>`${a}, `).join("")}${i})`):t.staticInitializerNames.length>0&&this.tokens.appendCode(` ${u.map(a=>`${a};`).join(" ")}`)}processClassBody(t,n){let{headerInfo:i,constructorInsertPos:o,constructorInitializerStatements:r,fields:u,instanceInitializerNames:a,rangesToRemove:m}=t,d=0,s=0,l=this.tokens.currentToken().contextId;if(l==null)throw new Error("Expected non-null context ID on class.");this.tokens.copyExpectedToken(un.TokenType.braceL),this.isReactHotLoaderTransformEnabled&&this.tokens.appendCode("__reactstandin__regenerateByEval(key, code) {this[key] = eval(code);}");let f=r.length+a.length>0;if(o===null&&f){let p=this.makeConstructorInitCode(r,a,n);if(i.hasSuperclass){let h=this.nameManager.claimFreeName("args");this.tokens.appendCode(`constructor(...${h}) { super(...${h}); ${p}; }`)}else this.tokens.appendCode(`constructor() { ${p}; }`)}for(;!this.tokens.matchesContextIdAndLabel(un.TokenType.braceR,l);)if(d<u.length&&this.tokens.currentIndex()===u[d].start){let p=!1;for(this.tokens.matches1(un.TokenType.bracketL)?this.tokens.copyTokenWithPrefix(`${u[d].initializerName}() {this`):this.tokens.matches1(un.TokenType.string)||this.tokens.matches1(un.TokenType.num)?(this.tokens.copyTokenWithPrefix(`${u[d].initializerName}() {this[`),p=!0):this.tokens.copyTokenWithPrefix(`${u[d].initializerName}() {this.`);this.tokens.currentIndex()<u[d].end;)p&&this.tokens.currentIndex()===u[d].equalsIndex&&this.tokens.appendCode("]"),this.processToken();this.tokens.appendCode("}"),d++}else if(s<m.length&&this.tokens.currentIndex()>=m[s].start){for(this.tokens.currentIndex()<m[s].end&&this.tokens.removeInitialToken();this.tokens.currentIndex()<m[s].end;)this.tokens.removeToken();s++}else this.tokens.currentIndex()===o?(this.tokens.copyToken(),f&&this.tokens.appendCode(`;${this.makeConstructorInitCode(r,a,n)};`),this.processToken()):this.processToken();this.tokens.copyExpectedToken(un.TokenType.braceR)}makeConstructorInitCode(t,n,i){return[...t,...n.map(o=>`${i}.prototype.${o}.call(this)`)].join(";")}processPossibleArrowParamEnd(){if(this.tokens.matches2(un.TokenType.parenR,un.TokenType.colon)&&this.tokens.tokenAtRelativeIndex(1).isType){let t=this.tokens.currentIndex()+1;for(;this.tokens.tokens[t].isType;)t++;if(this.tokens.matches1AtIndex(t,un.TokenType.arrow)){for(this.tokens.removeInitialToken();this.tokens.currentIndex()<t;)this.tokens.removeToken();return this.tokens.replaceTokenTrimmingLeftWhitespace(") =>"),!0}}return!1}processPossibleAsyncArrowWithTypeParams(){if(!this.tokens.matchesContextual(JH.ContextualKeyword._async)&&!this.tokens.matches1(un.TokenType._async))return!1;let t=this.tokens.tokenAtRelativeIndex(1);if(t.type!==un.TokenType.lessThan||!t.isType)return!1;let n=this.tokens.currentIndex()+1;for(;this.tokens.tokens[n].isType;)n++;if(this.tokens.matches1AtIndex(n,un.TokenType.parenL)){for(this.tokens.replaceToken("async ("),this.tokens.removeInitialToken();this.tokens.currentIndex()<n;)this.tokens.removeToken();return this.tokens.removeToken(),this.processBalancedCode(),this.processToken(),!0}return!1}processPossibleTypeRange(){if(this.tokens.currentToken().isType){for(this.tokens.removeInitialToken();this.tokens.currentToken().isType;)this.tokens.removeToken();return!0}return!1}shiftMappings(t,n){for(let i=0;i<t.length;i++){let o=t[i];o!==void 0&&(t[i]=o+n)}return t}};tv.default=ev});var _O=be(pc=>{"use strict";pc.__esModule=!0;pc.LinesAndColumns=void 0;var qf=`
`,SO="\r",xO=function(){function e(t){this.string=t;for(var n=[0],i=0;i<t.length;)switch(t[i]){case qf:i+=qf.length,n.push(i);break;case SO:i+=SO.length,t[i]===qf&&(i+=qf.length),n.push(i);break;default:i++;break}this.offsets=n}return e.prototype.locationForIndex=function(t){if(t<0||t>this.string.length)return null;for(var n=0,i=this.offsets;i[n+1]<=t;)n++;var o=t-i[n];return{line:n,column:o}},e.prototype.indexForLocation=function(t){var n=t.line,i=t.column;return n<0||n>=this.offsets.length||i<0||i>this.lengthOfLine(n)?null:this.offsets[n]+i},e.prototype.lengthOfLine=function(t){var n=this.offsets[t],i=t===this.offsets.length-1?this.string.length:this.offsets[t+1];return i-n},e}();pc.LinesAndColumns=xO;pc.default=xO});var wO=be(rv=>{"use strict";Object.defineProperty(rv,"__esModule",{value:!0});function EX(e){return e&&e.__esModule?e:{default:e}}var SX=_O(),xX=EX(SX),_X=ar();function wX(e,t){if(t.length===0)return"";let n=Object.keys(t[0]).filter(f=>f!=="type"&&f!=="value"&&f!=="start"&&f!=="end"&&f!=="loc"),i=Object.keys(t[0].type).filter(f=>f!=="label"&&f!=="keyword"),o=["Location","Label","Raw",...n,...i],r=new xX.default(e),u=[o,...t.map(m)],a=o.map(()=>0);for(let f of u)for(let p=0;p<f.length;p++)a[p]=Math.max(a[p],f[p].length);return u.map(f=>f.map((p,h)=>p.padEnd(a[h])).join(" ")).join(`
-`);function m(f){let p=e.slice(f.start,f.end);return[s(f.start,f.end),_X.formatTokenType.call(void 0,f.type),CX(String(p),14),...n.map(h=>d(f[h],h)),...i.map(h=>d(f.type[h],h))]}function d(f,p){return f===!0?p:f===!1||f===null?"":String(f)}function s(f,p){return`${l(f)}-${l(p)}`}function l(f){let p=r.locationForIndex(f);return p?`${p.line+1}:${p.column+1}`:"Unknown"}}rv.default=wX;function CX(e,t){return e.length>t?`${e.slice(0,t-3)}...`:e}});var CO=be(nv=>{"use strict";Object.defineProperty(nv,"__esModule",{value:!0});function AX(e){return e&&e.__esModule?e:{default:e}}var ni=ar(),PX=Gu(),kX=AX(PX);function DX(e){let t=new Set;for(let n=0;n<e.tokens.length;n++)e.matches1AtIndex(n,ni.TokenType._import)&&!e.matches3AtIndex(n,ni.TokenType._import,ni.TokenType.name,ni.TokenType.eq)&&IX(e,n,t);return t}nv.default=DX;function IX(e,t,n){t++,!e.matches1AtIndex(t,ni.TokenType.parenL)&&(e.matches1AtIndex(t,ni.TokenType.name)&&(n.add(e.identifierNameAtIndex(t)),t++,e.matches1AtIndex(t,ni.TokenType.comma)&&t++),e.matches1AtIndex(t,ni.TokenType.star)&&(t+=2,n.add(e.identifierNameAtIndex(t)),t++),e.matches1AtIndex(t,ni.TokenType.braceL)&&(t++,OX(e,t,n)))}function OX(e,t,n){for(;;){if(e.matches1AtIndex(t,ni.TokenType.braceR))return;let i=kX.default.call(void 0,e,t);if(t=i.endIndex,i.isType||n.add(i.rightName),e.matches2AtIndex(t,ni.TokenType.comma,ni.TokenType.braceR))return;if(e.matches1AtIndex(t,ni.TokenType.braceR))return;if(e.matches1AtIndex(t,ni.TokenType.comma))t++;else throw new Error(`Unexpected token: ${JSON.stringify(e.tokens[t])}`)}}});var kO=be(dc=>{"use strict";Object.defineProperty(dc,"__esModule",{value:!0});function ma(e){return e&&e.__esModule?e:{default:e}}var NX=Yk(),FX=ma(NX),jX=oD(),LX=ma(jX),MX=lD(),RX=pD(),AO=ma(RX),BX=fD(),UX=ma(BX),VX=ID(),$X=h0(),qX=GI(),WX=ma(qX),KX=EO(),zX=ma(KX),GX=wO(),HX=ma(GX),XX=CO(),JX=ma(XX);function YX(){return"3.34.0"}dc.getVersion=YX;function QX(e,t){VX.validateOptions.call(void 0,t);try{let n=PO(e,t),o=new zX.default(n,t.transforms,!!t.enableLegacyBabel5ModuleInterop,t).transform(),r={code:o.code};if(t.sourceMapOptions){if(!t.filePath)throw new Error("filePath must be specified when generating a source map.");r={...r,sourceMap:LX.default.call(void 0,o,t.filePath,t.sourceMapOptions,e,n.tokenProcessor.tokens)}}return r}catch(n){throw t.filePath&&(n.message=`Error transforming ${t.filePath}: ${n.message}`),n}}dc.transform=QX;function ZX(e,t){let n=PO(e,t).tokenProcessor.tokens;return HX.default.call(void 0,e,n)}dc.getFormattedTokens=ZX;function PO(e,t){let n=t.transforms.includes("jsx"),i=t.transforms.includes("typescript"),o=t.transforms.includes("flow"),r=t.disableESTransforms===!0,u=$X.parse.call(void 0,e,n,i,o),a=u.tokens,m=u.scopes,d=new UX.default(e,a),s=new MX.HelperManager(d),l=new WX.default(e,a,o,r,s),f=!!t.enableLegacyTypeScriptModuleInterop,p=null;return t.transforms.includes("imports")?(p=new FX.default(d,l,f,t,t.transforms.includes("typescript"),!!t.keepUnusedImports,s),p.preprocessTokens(),AO.default.call(void 0,l,m,p.getGlobalNames()),t.transforms.includes("typescript")&&!t.keepUnusedImports&&p.pruneTypeOnlyImports()):t.transforms.includes("typescript")&&!t.keepUnusedImports&&AO.default.call(void 0,l,m,JX.default.call(void 0,l)),{tokenProcessor:l,scopes:m,nameManager:d,importProcessor:p,helperManager:s}}});var DO=be(iv=>{"use strict";Object.defineProperty(iv,"__esModule",{value:!0});function eJ(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}eJ(iv,{useCustomJiti:function(){return iJ},loadConfig:function(){return aJ}});var tJ=nJ(Tk()),rJ=kO();function nJ(e){return e&&e.__esModule?e:{default:e}}var fc=null;function iJ(e){fc=e()}function sJ(){return fc??(fc=(0,tJ.default)(__filename,{interopDefault:!0,transform:e=>e.source.includes("import.meta")?Ub()(e):(0,rJ.transform)(e.source,{transforms:["typescript","imports"]})}))}function aJ(e){let t=function(){try{return e?yt(e):{}}catch{return sJ()(e)}}();var n;return(n=t.default)!==null&&n!==void 0?n:t}});var IO=be(sv=>{"use strict";Object.defineProperty(sv,"__esModule",{value:!0});Object.defineProperty(sv,"default",{enumerable:!0,get:function(){return lJ}});var oJ=DO(),lJ=oJ.loadConfig});var NO=be((Cre,OO)=>{var av=IO();OO.exports=(av.__esModule?av:{default:av}).default});var FO=be(ov=>{"use strict";Object.defineProperty(ov,"__esModule",{value:!0});Object.defineProperty(ov,"default",{enumerable:!0,get:function(){return uJ}});var uJ=["preflight","container","accessibility","pointerEvents","visibility","position","inset","isolation","zIndex","order","gridColumn","gridColumnStart","gridColumnEnd","gridRow","gridRowStart","gridRowEnd","float","clear","margin","boxSizing","lineClamp","display","aspectRatio","size","height","maxHeight","minHeight","width","minWidth","maxWidth","flex","flexShrink","flexGrow","flexBasis","tableLayout","captionSide","borderCollapse","borderSpacing","transformOrigin","translate","rotate","skew","scale","transform","animation","cursor","touchAction","userSelect","resize","scrollSnapType","scrollSnapAlign","scrollSnapStop","scrollMargin","scrollPadding","listStylePosition","listStyleType","listStyleImage","appearance","columns","breakBefore","breakInside","breakAfter","gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateColumns","gridTemplateRows","flexDirection","flexWrap","placeContent","placeItems","alignContent","alignItems","justifyContent","justifyItems","gap","space","divideWidth","divideStyle","divideColor","divideOpacity","placeSelf","alignSelf","justifySelf","overflow","overscrollBehavior","scrollBehavior","textOverflow","hyphens","whitespace","textWrap","wordBreak","borderRadius","borderWidth","borderStyle","borderColor","borderOpacity","backgroundColor","backgroundOpacity","backgroundImage","gradientColorStops","boxDecorationBreak","backgroundSize","backgroundAttachment","backgroundClip","backgroundPosition","backgroundRepeat","backgroundOrigin","fill","stroke","strokeWidth","objectFit","objectPosition","padding","textAlign","textIndent","verticalAlign","fontFamily","fontSize","fontWeight","textTransform","fontStyle","fontVariantNumeric","lineHeight","letterSpacing","textColor","textOpacity","textDecoration","textDecorationColor","textDecorationStyle","textDecorationThickness","textUnderlineOffset","fontSmoothing","placeholderColor","placeholderOpacity","caretColor","accentColor","opacity","backgroundBlendMode","mixBlendMode","boxShadow","boxShadowColor","outlineStyle","outlineWidth","outlineOffset","outlineColor","ringWidth","ringColor","ringOpacity","ringOffsetWidth","ringOffsetColor","blur","brightness","contrast","dropShadow","grayscale","hueRotate","invert","saturate","sepia","filter","backdropBlur","backdropBrightness","backdropContrast","backdropGrayscale","backdropHueRotate","backdropInvert","backdropOpacity","backdropSaturate","backdropSepia","backdropFilter","transitionProperty","transitionDelay","transitionDuration","transitionTimingFunction","willChange","contain","content","forcedColorAdjust"]});var jO=be(lv=>{"use strict";Object.defineProperty(lv,"__esModule",{value:!0});Object.defineProperty(lv,"default",{enumerable:!0,get:function(){return cJ}});function cJ(e,t){return e===void 0?t:Array.isArray(e)?e:[...new Set(t.filter(i=>e!==!1&&e[i]!==!1).concat(Object.keys(e).filter(i=>e[i]!==!1)))]}});var LO=be(uv=>{"use strict";Object.defineProperty(uv,"__esModule",{value:!0});Object.defineProperty(uv,"default",{enumerable:!0,get:function(){return fJ}});var pJ=dJ(La());function dJ(e){return e&&e.__esModule?e:{default:e}}function hc({version:e,from:t,to:n}){pJ.default.warn(`${t}-color-renamed`,[`As of Tailwind CSS ${e}, \`${t}\` has been renamed to \`${n}\`.`,"Update your configuration file to silence this warning."])}var fJ={inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},get lightBlue(){return hc({version:"v2.2",from:"lightBlue",to:"sky"}),this.sky},get warmGray(){return hc({version:"v3.0",from:"warmGray",to:"stone"}),this.stone},get trueGray(){return hc({version:"v3.0",from:"trueGray",to:"neutral"}),this.neutral},get coolGray(){return hc({version:"v3.0",from:"coolGray",to:"gray"}),this.gray},get blueGray(){return hc({version:"v3.0",from:"blueGray",to:"slate"}),this.slate}}});var MO=be(cv=>{"use strict";Object.defineProperty(cv,"__esModule",{value:!0});Object.defineProperty(cv,"defaults",{enumerable:!0,get:function(){return hJ}});function hJ(e,...t){for(let o of t){for(let r in o){var n;!(e==null||(n=e.hasOwnProperty)===null||n===void 0)&&n.call(e,r)||(e[r]=o[r])}for(let r of Object.getOwnPropertySymbols(o)){var i;!(e==null||(i=e.hasOwnProperty)===null||i===void 0)&&i.call(e,r)||(e[r]=o[r])}}return e}});var BO=be(pv=>{"use strict";Object.defineProperty(pv,"__esModule",{value:!0});Object.defineProperty(pv,"normalizeConfig",{enumerable:!0,get:function(){return bJ}});var mJ=Ma(),el=yJ(La());function RO(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(RO=function(i){return i?n:t})(e)}function yJ(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=RO(t);if(n&&n.has(e))return n.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)){var u=o?Object.getOwnPropertyDescriptor(e,r):null;u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=e[r]}return i.default=e,n&&n.set(e,i),i}function bJ(e){if((()=>{if(e.purge||!e.content||!Array.isArray(e.content)&&!(typeof e.content=="object"&&e.content!==null))return!1;if(Array.isArray(e.content))return e.content.every(i=>typeof i=="string"?!0:!(typeof(i==null?void 0:i.raw)!="string"||i!=null&&i.extension&&typeof(i==null?void 0:i.extension)!="string"));if(typeof e.content=="object"&&e.content!==null){if(Object.keys(e.content).some(i=>!["files","relative","extract","transform"].includes(i)))return!1;if(Array.isArray(e.content.files)){if(!e.content.files.every(i=>typeof i=="string"?!0:!(typeof(i==null?void 0:i.raw)!="string"||i!=null&&i.extension&&typeof(i==null?void 0:i.extension)!="string")))return!1;if(typeof e.content.extract=="object"){for(let i of Object.values(e.content.extract))if(typeof i!="function")return!1}else if(!(e.content.extract===void 0||typeof e.content.extract=="function"))return!1;if(typeof e.content.transform=="object"){for(let i of Object.values(e.content.transform))if(typeof i!="function")return!1}else if(!(e.content.transform===void 0||typeof e.content.transform=="function"))return!1;if(typeof e.content.relative!="boolean"&&typeof e.content.relative<"u")return!1}return!0}return!1})()||el.default.warn("purge-deprecation",["The `purge`/`content` options have changed in Tailwind CSS v3.0.","Update your configuration file to eliminate this warning.","https://tailwindcss.com/docs/upgrade-guide#configure-content-sources"]),e.safelist=(()=>{var i;let{content:o,purge:r,safelist:u}=e;return Array.isArray(u)?u:Array.isArray(o==null?void 0:o.safelist)?o.safelist:Array.isArray(r==null?void 0:r.safelist)?r.safelist:Array.isArray(r==null||(i=r.options)===null||i===void 0?void 0:i.safelist)?r.options.safelist:[]})(),e.blocklist=(()=>{let{blocklist:i}=e;if(Array.isArray(i)){if(i.every(o=>typeof o=="string"))return i;el.default.warn("blocklist-invalid",["The `blocklist` option must be an array of strings.","https://tailwindcss.com/docs/content-configuration#discarding-classes"])}return[]})(),typeof e.prefix=="function")el.default.warn("prefix-function",["As of Tailwind CSS v3.0, `prefix` cannot be a function.","Update `prefix` in your configuration to be a string to eliminate this warning.","https://tailwindcss.com/docs/upgrade-guide#prefix-cannot-be-a-function"]),e.prefix="";else{var n;e.prefix=(n=e.prefix)!==null&&n!==void 0?n:""}e.content={relative:(()=>{let{content:i}=e;return i!=null&&i.relative?i.relative:(0,mJ.flagEnabled)(e,"relativeContentPathsByDefault")})(),files:(()=>{let{content:i,purge:o}=e;return Array.isArray(o)?o:Array.isArray(o==null?void 0:o.content)?o.content:Array.isArray(i)?i:Array.isArray(i==null?void 0:i.content)?i.content:Array.isArray(i==null?void 0:i.files)?i.files:[]})(),extract:(()=>{let i=(()=>{var u,a,m,d,s,l,f,p,h,y;return!((u=e.purge)===null||u===void 0)&&u.extract?e.purge.extract:!((a=e.content)===null||a===void 0)&&a.extract?e.content.extract:!((m=e.purge)===null||m===void 0||(d=m.extract)===null||d===void 0)&&d.DEFAULT?e.purge.extract.DEFAULT:!((s=e.content)===null||s===void 0||(l=s.extract)===null||l===void 0)&&l.DEFAULT?e.content.extract.DEFAULT:!((f=e.purge)===null||f===void 0||(p=f.options)===null||p===void 0)&&p.extractors?e.purge.options.extractors:!((h=e.content)===null||h===void 0||(y=h.options)===null||y===void 0)&&y.extractors?e.content.options.extractors:{}})(),o={},r=(()=>{var u,a,m,d;if(!((u=e.purge)===null||u===void 0||(a=u.options)===null||a===void 0)&&a.defaultExtractor)return e.purge.options.defaultExtractor;if(!((m=e.content)===null||m===void 0||(d=m.options)===null||d===void 0)&&d.defaultExtractor)return e.content.options.defaultExtractor})();if(r!==void 0&&(o.DEFAULT=r),typeof i=="function")o.DEFAULT=i;else if(Array.isArray(i))for(let{extensions:u,extractor:a}of i??[])for(let m of u)o[m]=a;else typeof i=="object"&&i!==null&&Object.assign(o,i);return o})(),transform:(()=>{let i=(()=>{var r,u,a,m,d,s;return!((r=e.purge)===null||r===void 0)&&r.transform?e.purge.transform:!((u=e.content)===null||u===void 0)&&u.transform?e.content.transform:!((a=e.purge)===null||a===void 0||(m=a.transform)===null||m===void 0)&&m.DEFAULT?e.purge.transform.DEFAULT:!((d=e.content)===null||d===void 0||(s=d.transform)===null||s===void 0)&&s.DEFAULT?e.content.transform.DEFAULT:{}})(),o={};return typeof i=="function"&&(o.DEFAULT=i),typeof i=="object"&&i!==null&&Object.assign(o,i),o})()};for(let i of e.content.files)if(typeof i=="string"&&/{([^,]*?)}/g.test(i)){el.default.warn("invalid-glob-braces",[`The glob pattern ${(0,el.dim)(i)} in your Tailwind CSS configuration is invalid.`,`Update it to ${(0,el.dim)(i.replace(/{([^,]*?)}/g,"$1"))} to silence this warning.`]);break}return e}});var UO=be(fv=>{"use strict";Object.defineProperty(fv,"__esModule",{value:!0});Object.defineProperty(fv,"cloneDeep",{enumerable:!0,get:function(){return dv}});function dv(e){return Array.isArray(e)?e.map(t=>dv(t)):typeof e=="object"&&e!==null?Object.fromEntries(Object.entries(e).map(([t,n])=>[t,dv(n)])):e}});var KO=be(mv=>{"use strict";Object.defineProperty(mv,"__esModule",{value:!0});Object.defineProperty(mv,"default",{enumerable:!0,get:function(){return jJ}});var gJ=nl(Fd()),vJ=nl(FO()),TJ=nl(jO()),EJ=nl(LO()),qO=MO(),VO=fb(),SJ=BO(),tl=nl(Oo()),xJ=UO(),_J=Ld(),wJ=Od(),CJ=nl(nb());function nl(e){return e&&e.__esModule?e:{default:e}}function rl(e){return typeof e=="function"}function mc(e,...t){let n=t.pop();for(let i of t)for(let o in i){let r=n(e[o],i[o]);r===void 0?(0,tl.default)(e[o])&&(0,tl.default)(i[o])?e[o]=mc({},e[o],i[o],n):e[o]=i[o]:e[o]=r}return e}var hv={colors:EJ.default,negative(e){return Object.keys(e).filter(t=>e[t]!=="0").reduce((t,n)=>{let i=(0,gJ.default)(e[n]);return i!==void 0&&(t[`-${n}`]=i),t},{})},breakpoints(e){return Object.keys(e).filter(t=>typeof e[t]=="string").reduce((t,n)=>({...t,[`screen-${n}`]:e[n]}),{})}};function AJ(e,...t){return rl(e)?e(...t):e}function PJ(e){return e.reduce((t,{extend:n})=>mc(t,n,(i,o)=>i===void 0?[o]:Array.isArray(i)?[o,...i]:[o,i]),{})}function kJ(e){return{...e.reduce((t,n)=>(0,qO.defaults)(t,n),{}),extend:PJ(e)}}function $O(e,t){if(Array.isArray(e)&&(0,tl.default)(e[0]))return e.concat(t);if(Array.isArray(t)&&(0,tl.default)(t[0])&&(0,tl.default)(e))return[e,...t];if(Array.isArray(t))return t}function DJ({extend:e,...t}){return mc(t,e,(n,i)=>!rl(n)&&!i.some(rl)?mc({},n,...i,$O):(o,r)=>mc({},...[n,...i].map(u=>AJ(u,o,r)),$O))}function*IJ(e){let t=(0,VO.toPath)(e);if(t.length===0||(yield t,Array.isArray(e)))return;let n=/^(.*?)\s*\/\s*([^/]+)$/,i=e.match(n);if(i!==null){let[,o,r]=i,u=(0,VO.toPath)(o);u.alpha=r,yield u}}function OJ(e){let t=(n,i)=>{for(let o of IJ(n)){let r=0,u=e;for(;u!=null&&r<o.length;)u=u[o[r++]],u=rl(u)&&(o.alpha===void 0||r<=o.length-1)?u(t,hv):u;if(u!==void 0){if(o.alpha!==void 0){let a=(0,_J.parseColorFormat)(u);return(0,wJ.withAlphaValue)(a,o.alpha,(0,CJ.default)(a))}return(0,tl.default)(u)?(0,xJ.cloneDeep)(u):u}}return i};return Object.assign(t,{theme:t,...hv}),Object.keys(e).reduce((n,i)=>(n[i]=rl(e[i])?e[i](t,hv):e[i],n),{})}function WO(e){let t=[];return e.forEach(n=>{t=[...t,n];var i;let o=(i=n==null?void 0:n.plugins)!==null&&i!==void 0?i:[];o.length!==0&&o.forEach(r=>{r.__isOptionsFunction&&(r=r());var u;t=[...t,...WO([(u=r==null?void 0:r.config)!==null&&u!==void 0?u:{}])]})}),t}function NJ(e){return[...e].reduceRight((n,i)=>rl(i)?i({corePlugins:n}):(0,TJ.default)(i,n),vJ.default)}function FJ(e){return[...e].reduceRight((n,i)=>[...n,...i],[])}function jJ(e){let t=[...WO(e),{prefix:"",important:!1,separator:":"}];var n,i;return(0,SJ.normalizeConfig)((0,qO.defaults)({theme:OJ(DJ(kJ(t.map(o=>(n=o==null?void 0:o.theme)!==null&&n!==void 0?n:{})))),corePlugins:NJ(t.map(o=>o.corePlugins)),plugins:FJ(e.map(o=>(i=o==null?void 0:o.plugins)!==null&&i!==void 0?i:[]))},...t))}});var GO=be((Fre,zO)=>{zO.exports={content:[],presets:[],darkMode:"media",theme:{accentColor:({theme:e})=>({...e("colors"),auto:"auto"}),animation:{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"},aria:{busy:'busy="true"',checked:'checked="true"',disabled:'disabled="true"',expanded:'expanded="true"',hidden:'hidden="true"',pressed:'pressed="true"',readonly:'readonly="true"',required:'required="true"',selected:'selected="true"'},aspectRatio:{auto:"auto",square:"1 / 1",video:"16 / 9"},backdropBlur:({theme:e})=>e("blur"),backdropBrightness:({theme:e})=>e("brightness"),backdropContrast:({theme:e})=>e("contrast"),backdropGrayscale:({theme:e})=>e("grayscale"),backdropHueRotate:({theme:e})=>e("hueRotate"),backdropInvert:({theme:e})=>e("invert"),backdropOpacity:({theme:e})=>e("opacity"),backdropSaturate:({theme:e})=>e("saturate"),backdropSepia:({theme:e})=>e("sepia"),backgroundColor:({theme:e})=>e("colors"),backgroundImage:{none:"none","gradient-to-t":"linear-gradient(to top, var(--tw-gradient-stops))","gradient-to-tr":"linear-gradient(to top right, var(--tw-gradient-stops))","gradient-to-r":"linear-gradient(to right, var(--tw-gradient-stops))","gradient-to-br":"linear-gradient(to bottom right, var(--tw-gradient-stops))","gradient-to-b":"linear-gradient(to bottom, var(--tw-gradient-stops))","gradient-to-bl":"linear-gradient(to bottom left, var(--tw-gradient-stops))","gradient-to-l":"linear-gradient(to left, var(--tw-gradient-stops))","gradient-to-tl":"linear-gradient(to top left, var(--tw-gradient-stops))"},backgroundOpacity:({theme:e})=>e("opacity"),backgroundPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},backgroundSize:{auto:"auto",cover:"cover",contain:"contain"},blur:{0:"0",none:"0",sm:"4px",DEFAULT:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},borderColor:({theme:e})=>({...e("colors"),DEFAULT:e("colors.gray.200","currentColor")}),borderOpacity:({theme:e})=>e("opacity"),borderRadius:{none:"0px",sm:"0.125rem",DEFAULT:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},borderSpacing:({theme:e})=>({...e("spacing")}),borderWidth:{DEFAULT:"1px",0:"0px",2:"2px",4:"4px",8:"8px"},boxShadow:{sm:"0 1px 2px 0 rgb(0 0 0 / 0.05)",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"},boxShadowColor:({theme:e})=>e("colors"),brightness:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5",200:"2"},caretColor:({theme:e})=>e("colors"),colors:({colors:e})=>({inherit:e.inherit,current:e.current,transparent:e.transparent,black:e.black,white:e.white,slate:e.slate,gray:e.gray,zinc:e.zinc,neutral:e.neutral,stone:e.stone,red:e.red,orange:e.orange,amber:e.amber,yellow:e.yellow,lime:e.lime,green:e.green,emerald:e.emerald,teal:e.teal,cyan:e.cyan,sky:e.sky,blue:e.blue,indigo:e.indigo,violet:e.violet,purple:e.purple,fuchsia:e.fuchsia,pink:e.pink,rose:e.rose}),columns:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12","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"},container:{},content:{none:"none"},contrast:{0:"0",50:".5",75:".75",100:"1",125:"1.25",150:"1.5",200:"2"},cursor:{auto:"auto",default:"default",pointer:"pointer",wait:"wait",text:"text",move:"move",help:"help","not-allowed":"not-allowed",none:"none","context-menu":"context-menu",progress:"progress",cell:"cell",crosshair:"crosshair","vertical-text":"vertical-text",alias:"alias",copy:"copy","no-drop":"no-drop",grab:"grab",grabbing:"grabbing","all-scroll":"all-scroll","col-resize":"col-resize","row-resize":"row-resize","n-resize":"n-resize","e-resize":"e-resize","s-resize":"s-resize","w-resize":"w-resize","ne-resize":"ne-resize","nw-resize":"nw-resize","se-resize":"se-resize","sw-resize":"sw-resize","ew-resize":"ew-resize","ns-resize":"ns-resize","nesw-resize":"nesw-resize","nwse-resize":"nwse-resize","zoom-in":"zoom-in","zoom-out":"zoom-out"},divideColor:({theme:e})=>e("borderColor"),divideOpacity:({theme:e})=>e("borderOpacity"),divideWidth:({theme:e})=>e("borderWidth"),dropShadow:{sm:"0 1px 1px rgb(0 0 0 / 0.05)",DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],md:["0 4px 3px rgb(0 0 0 / 0.07)","0 2px 2px rgb(0 0 0 / 0.06)"],lg:["0 10px 8px rgb(0 0 0 / 0.04)","0 4px 3px rgb(0 0 0 / 0.1)"],xl:["0 20px 13px rgb(0 0 0 / 0.03)","0 8px 5px rgb(0 0 0 / 0.08)"],"2xl":"0 25px 25px rgb(0 0 0 / 0.15)",none:"0 0 #0000"},fill:({theme:e})=>({none:"none",...e("colors")}),flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},flexBasis:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%"}),flexGrow:{0:"0",DEFAULT:"1"},flexShrink:{0:"0",DEFAULT:"1"},fontFamily:{sans:["ui-sans-serif","system-ui","sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"','"Noto Color Emoji"'],serif:["ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"],mono:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"]},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"}]},fontWeight:{thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},gap:({theme:e})=>e("spacing"),gradientColorStops:({theme:e})=>e("colors"),gradientColorStopPositions:{"0%":"0%","5%":"5%","10%":"10%","15%":"15%","20%":"20%","25%":"25%","30%":"30%","35%":"35%","40%":"40%","45%":"45%","50%":"50%","55%":"55%","60%":"60%","65%":"65%","70%":"70%","75%":"75%","80%":"80%","85%":"85%","90%":"90%","95%":"95%","100%":"100%"},grayscale:{0:"0",DEFAULT:"100%"},gridAutoColumns:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridAutoRows:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridColumn:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridColumnEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridColumnStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridRow:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridRowEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridRowStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridTemplateColumns:{none:"none",subgrid:"subgrid",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))"},gridTemplateRows:{none:"none",subgrid:"subgrid",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))"},height:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),hueRotate:{0:"0deg",15:"15deg",30:"30deg",60:"60deg",90:"90deg",180:"180deg"},inset:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%"}),invert:{0:"0",DEFAULT:"100%"},keyframes:{spin:{to:{transform:"rotate(360deg)"}},ping:{"75%, 100%":{transform:"scale(2)",opacity:"0"}},pulse:{"50%":{opacity:".5"}},bounce:{"0%, 100%":{transform:"translateY(-25%)",animationTimingFunction:"cubic-bezier(0.8,0,1,1)"},"50%":{transform:"none",animationTimingFunction:"cubic-bezier(0,0,0.2,1)"}}},letterSpacing:{tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeight:{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"},listStyleType:{none:"none",disc:"disc",decimal:"decimal"},listStyleImage:{none:"none"},margin:({theme:e})=>({auto:"auto",...e("spacing")}),lineClamp:{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6"},maxHeight:({theme:e})=>({...e("spacing"),none:"none",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),maxWidth:({theme:e,breakpoints:t})=>({...e("spacing"),none:"none",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",prose:"65ch",...t(e("screens"))}),minHeight:({theme:e})=>({...e("spacing"),full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),minWidth:({theme:e})=>({...e("spacing"),full:"100%",min:"min-content",max:"max-content",fit:"fit-content"}),objectPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},opacity:{0:"0",5:"0.05",10:"0.1",15:"0.15",20:"0.2",25:"0.25",30:"0.3",35:"0.35",40:"0.4",45:"0.45",50:"0.5",55:"0.55",60:"0.6",65:"0.65",70:"0.7",75:"0.75",80:"0.8",85:"0.85",90:"0.9",95:"0.95",100:"1"},order:{first:"-9999",last:"9999",none:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12"},outlineColor:({theme:e})=>e("colors"),outlineOffset:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},outlineWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},padding:({theme:e})=>e("spacing"),placeholderColor:({theme:e})=>e("colors"),placeholderOpacity:({theme:e})=>e("opacity"),ringColor:({theme:e})=>({DEFAULT:e("colors.blue.500","#3b82f6"),...e("colors")}),ringOffsetColor:({theme:e})=>e("colors"),ringOffsetWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},ringOpacity:({theme:e})=>({DEFAULT:"0.5",...e("opacity")}),ringWidth:{DEFAULT:"3px",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},rotate:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",45:"45deg",90:"90deg",180:"180deg"},saturate:{0:"0",50:".5",100:"1",150:"1.5",200:"2"},scale:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5"},screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},scrollMargin:({theme:e})=>({...e("spacing")}),scrollPadding:({theme:e})=>e("spacing"),sepia:{0:"0",DEFAULT:"100%"},skew:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg"},space:({theme:e})=>({...e("spacing")}),spacing:{px:"1px",0:"0px",.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"},stroke:({theme:e})=>({none:"none",...e("colors")}),strokeWidth:{0:"0",1:"1",2:"2"},supports:{},data:{},textColor:({theme:e})=>e("colors"),textDecorationColor:({theme:e})=>e("colors"),textDecorationThickness:{auto:"auto","from-font":"from-font",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},textIndent:({theme:e})=>({...e("spacing")}),textOpacity:({theme:e})=>e("opacity"),textUnderlineOffset:{auto:"auto",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},transformOrigin:{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"},transitionDelay:{0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionDuration:{DEFAULT:"150ms",0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionProperty:{none:"none",all:"all",DEFAULT:"color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",colors:"color, background-color, border-color, text-decoration-color, fill, stroke",opacity:"opacity",shadow:"box-shadow",transform:"transform"},transitionTimingFunction:{DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)",linear:"linear",in:"cubic-bezier(0.4, 0, 1, 1)",out:"cubic-bezier(0, 0, 0.2, 1)","in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},translate:({theme:e})=>({...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%"}),size:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",min:"min-content",max:"max-content",fit:"fit-content"}),width:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",screen:"100vw",svw:"100svw",lvw:"100lvw",dvw:"100dvw",min:"min-content",max:"max-content",fit:"fit-content"}),willChange:{auto:"auto",scroll:"scroll-position",contents:"contents",transform:"transform"},zIndex:{auto:"auto",0:"0",10:"10",20:"20",30:"30",40:"40",50:"50"}},plugins:[]}});var XO=be(yv=>{"use strict";Object.defineProperty(yv,"__esModule",{value:!0});Object.defineProperty(yv,"default",{enumerable:!0,get:function(){return HO}});var LJ=RJ(GO()),MJ=Ma();function RJ(e){return e&&e.__esModule?e:{default:e}}function HO(e){var t;let n=((t=e==null?void 0:e.presets)!==null&&t!==void 0?t:[LJ.default]).slice().reverse().flatMap(r=>HO(r instanceof Function?r():r)),i={respectDefaultRingColorOpacity:{theme:{ringColor:({theme:r})=>({DEFAULT:"#3b82f67f",...r("colors")})}},disableColorOpacityUtilitiesByDefault:{corePlugins:{backgroundOpacity:!1,borderOpacity:!1,divideOpacity:!1,placeholderOpacity:!1,ringOpacity:!1,textOpacity:!1}}},o=Object.keys(i).filter(r=>(0,MJ.flagEnabled)(e,r)).map(r=>i[r]);return[e,...o,...n]}});var YO=be(bv=>{"use strict";Object.defineProperty(bv,"__esModule",{value:!0});Object.defineProperty(bv,"default",{enumerable:!0,get:function(){return VJ}});var BJ=JO(KO()),UJ=JO(XO());function JO(e){return e&&e.__esModule?e:{default:e}}function VJ(...e){let[,...t]=(0,UJ.default)(e[0]);return(0,BJ.default)([...e,...t])}});var ZO=be((Mre,QO)=>{var gv=YO();QO.exports=(gv.__esModule?gv:{default:gv}).default});var x2=ji(Zi()),_2=ji(nE()),w2=ji(lE()),Gf=ji(bS());import*as C2 from"prettier/plugins/angular";import*as A2 from"prettier/plugins/babel";var s2=ji(IS());import*as i2 from"fs/promises";import{createRequire as $J}from"module";import*as ii from"path";import{pathToFileURL as qJ}from"url";import{dirname as OS,resolve as NS}from"path";import{readdirSync as NM,statSync as FM}from"fs";function FS(e,t){let n=NS(".",e),i;for(FM(n).isDirectory()||(n=OS(n));;){if(i=t(n,NM(n)),i)return NS(n,i);if(n=OS(i=n),i===n)break}}var Ur=ji(Ui(),1),D_=Ur.default,RQ=Ur.default.stringify,BQ=Ur.default.fromJSON,UQ=Ur.default.plugin,VQ=Ur.default.parse,$Q=Ur.default.list,qQ=Ur.default.document,WQ=Ur.default.comment,KQ=Ur.default.atRule,zQ=Ur.default.rule,GQ=Ur.default.decl,HQ=Ur.default.root,XQ=Ur.default.CssSyntaxError,JQ=Ur.default.Declaration,YQ=Ur.default.Container,QQ=Ur.default.Processor,ZQ=Ur.default.Document,eZ=Ur.default.Comment,tZ=Ur.default.Warning,rZ=Ur.default.AtRule,nZ=Ur.default.Result,iZ=Ur.default.Input,sZ=Ur.default.Rule,aZ=Ur.default.Root,oZ=Ur.default.Node;var a2=ji(nC()),o2=ji(Db()),l2=ji(Vd()),u2=ji(NO()),c2=ji(ZO());import WJ from"prettier";function vv(e){let t=new Map;return{get(n){if(t.has(n)){let i=t.get(n);if(i.expiration>new Date)return i.value}},set(n,i){let o=new Date;o.setMilliseconds(o.getMilliseconds()+e),t.set(n,{value:i,expiration:o})}}}var p2=$J(import.meta.url),e2=new Map,t2=new Map,r2=vv(1e4),n2=vv(1e4);async function d2(e){let t=`${e.filepath}:${e.tailwindConfig??""}:${e.tailwindEntryPoint??""}`,n=await zJ(e),i=e2.get(t);i===void 0&&(i=XJ(e,n),e2.set(t,i));let o=t2.get(t);o===void 0&&(o=JJ(e,n),t2.set(t,o));let r=`${i}:${o}`,u=r2.get(r);if(u)return u;let a=await GJ(n,i,o);return r2.set(r,a),a}async function KJ(e){let t=n2.get(e.filepath);if(t!==void 0)return t;let n=await WJ.resolveConfigFile(e.filepath);return n2.set(e.filepath,n),n}async function zJ(e){let t=await KJ(e);return e.tailwindConfig?t?ii.dirname(t):process.cwd():e.tailwindEntryPoint?t?ii.dirname(t):process.cwd():t?ii.dirname(t):e.filepath?ii.dirname(e.filepath):process.cwd()}async function GJ(e,t,n){let i=l2.createContext,o=o2.generateRules,r=c2.default,u=u2.default,a={};try{let d=p2.resolve("tailwindcss/package.json",{paths:[e]}),s=ii.dirname(d);try{let l=await HJ(e,s,n);if(l)return l}catch{}r=yt(ii.join(s,"resolveConfig")),i=yt(ii.join(s,"lib/lib/setupContextUtils")).createContext,o=yt(ii.join(s,"lib/lib/generateRules")).generateRules,u=yt(ii.join(s,"loadConfig"))}catch{}if(t){(0,s2.default)(t);let d=u(t);a=d.default??d}return a.content=["no-op"],{context:i(r(a)),generateRules:o}}async function HJ(e,t,n){let i=p2.resolve("tailwindcss",{paths:[e]}),o=await import(qJ(i).toString());if(!o.__unstable__loadDesignSystem)return null;n=n??`${t}/theme.css`;let r=await i2.readFile(n,"utf-8"),a=await D_([(0,a2.default)()]).process(r,{from:n}),m=o.__unstable__loadDesignSystem(a.css);return{context:{getClassOrder:d=>m.getClassOrder(d)},generateRules:()=>[]}}function XJ(e,t){if(e.tailwindConfig)return ii.resolve(t,e.tailwindConfig);let n;try{n=FS(t,(i,o)=>{if(o.includes("tailwind.config.js"))return"tailwind.config.js";if(o.includes("tailwind.config.cjs"))return"tailwind.config.cjs";if(o.includes("tailwind.config.mjs"))return"tailwind.config.mjs";if(o.includes("tailwind.config.ts"))return"tailwind.config.ts"})}catch{}return n||null}function JJ(e,t){return e.tailwindEntryPoint?ii.resolve(t,e.tailwindEntryPoint):null}var YJ={tailwindConfig:{since:"0.0.0",type:"string",category:"Tailwind CSS",description:"Path to Tailwind configuration file"},tailwindEntryPoint:{since:"0.0.0",type:"string",category:"Tailwind CSS",description:"Path to the CSS entrypoint in your Tailwind project (v4+)"},tailwindAttributes:{since:"0.3.0",type:"string",array:!0,default:[{value:[]}],category:"Tailwind CSS",description:"List of attributes/props that contain sortable Tailwind classes"},tailwindFunctions:{since:"0.3.0",type:"string",array:!0,default:[{value:[]}],category:"Tailwind CSS",description:"List of functions and tagged templates that contain sortable Tailwind classes"}};function f2(e,t,n){let i=new Set(n.staticAttrs),o=new Set(n.dynamicAttrs),r=new Set(n.functions);for(let u of e.tailwindAttributes??[])t==="vue"&&u.startsWith(":")?i.add(u.slice(1)):t==="vue"&&u.startsWith("v-bind:")?i.add(u.slice(7)):t==="vue"&&u.startsWith("v-")?o.add(u):t==="angular"&&u.startsWith("[")&&u.endsWith("]")?i.add(u.slice(1,-1)):i.add(u);for(let u of i)t==="vue"?(o.add(`:${u}`),o.add(`v-bind:${u}`)):t==="angular"&&o.add(`[${u}]`);for(let u of e.tailwindFunctions??[])r.add(u);return{functions:r,staticAttrs:i,dynamicAttrs:o}}import{createRequire as QJ}from"module";import*as h2 from"prettier/plugins/acorn";import*as yc from"prettier/plugins/babel";import*as m2 from"prettier/plugins/flow";import*as y2 from"prettier/plugins/glimmer";import*as bc from"prettier/plugins/html";import*as b2 from"prettier/plugins/meriyah";import*as Wf from"prettier/plugins/postcss";import*as g2 from"prettier/plugins/typescript";async function Wa(e){try{if(createRequire(import.meta.url).resolve(e)){let t=await import(e);return t.default??t}}catch{return{parsers:{},printers:{}}}}async function v2(){let e=await ZJ(),t=await eY(),n=await tY(),i={...e.parsers,...t.parsers},o={...e.printers,...t.printers};function r(a){try{return QJ.resolve(a)}catch{return null}}function u(a,m,d){let s=r(m);for(let l of a.plugins)if(l.name===m||l.name===s||l.parsers&&d.parsers&&l.parsers==d.parsers)return d;return null}return{parsers:i,printers:o,originalParser(a,m){if(!m.plugins)return i[a];let d={...i[a]};for(let{name:s,mod:l}of n){let f=u(m,s,l);f&&Object.assign(d,f.parsers[a])}return d}}}async function ZJ(){return{parsers:{html:bc.parsers.html,glimmer:y2.parsers.glimmer,lwc:bc.parsers.lwc,angular:bc.parsers.angular,vue:bc.parsers.vue,css:Wf.parsers.css,scss:Wf.parsers.scss,less:Wf.parsers.less,babel:yc.parsers.babel,"babel-flow":yc.parsers["babel-flow"],flow:m2.parsers.flow,typescript:g2.parsers.typescript,"babel-ts":yc.parsers["babel-ts"],acorn:h2.parsers.acorn,meriyah:b2.parsers.meriyah,__js_expression:yc.parsers.__js_expression},printers:{}}}async function eY(){let[e,t,n,i,o,r]=await Promise.all([Wa("prettier-plugin-astro"),Wa("@shopify/prettier-plugin-liquid"),Wa("prettier-plugin-marko"),Wa("@zackad/prettier-plugin-twig-melody"),Wa("@prettier/plugin-pug"),Wa("prettier-plugin-svelte")]);return{parsers:{...e.parsers,...t.parsers,...n.parsers,...i.parsers,...o.parsers,...r.parsers},printers:{...r.printers}}}async function tY(){let e=["@ianvs/prettier-plugin-sort-imports","@trivago/prettier-plugin-sort-imports","prettier-plugin-organize-imports","prettier-plugin-css-order","prettier-plugin-import-sort","prettier-plugin-jsdoc","prettier-plugin-organize-attributes","prettier-plugin-style-order","prettier-plugin-sort-imports"];return await Promise.all(e.map(async t=>{let n=await Wa(t);return{name:t,mod:n}}))}function E2(e){return(e>0n)-(e<0n)}function T2(e,t){let n=e.tailwindConfig.prefix;return typeof n=="function"?n(t):n+t}function rY(e,{env:t}){var o;let n=new Set([T2(t.context,"group"),T2(t.context,"peer")]),i=[];for(let r of e){let u=((o=t.generateRules(new Set([r]),t.context).sort(([a],[m])=>E2(m-a))[0])==null?void 0:o[0])??null;u===null&&n.has(r)&&(u=t.context.layerOrder.components),i.push([r,u])}return i}function Cn(e,{env:t,ignoreFirst:n=!1,ignoreLast:i=!1}){if(typeof e!="string"||e===""||e.includes("{{"))return e;let o="",r=e.split(/([\t\r\f\n ]+)/),u=r.filter((s,l)=>l%2===0),a=r.filter((s,l)=>l%2!==0);u[u.length-1]===""&&u.pop();let m="";n&&(m=`${u.shift()??""}${a.shift()??""}`);let d="";i&&(d=`${a.pop()??""}${u.pop()??""}`),u=Tv(u,{env:t});for(let s=0;s<u.length;s++)o+=`${u[s]}${a[s]??""}`;return m+o+d}function Tv(e,{env:t}){return(t.context.getClassOrder?t.context.getClassOrder(e):rY(e,{env:t})).sort(([,i],[,o])=>i===o?0:i===null?-1:o===null?1:E2(i-o)).map(([i])=>i)}function js(e,t){function n(i,o,r,u,a={}){if(typeof t=="function"){if(t(i,o,r,u,a)===!1)return}else if(i.type in t&&t[i.type](i,o,r,u,a)===!1)return;let m=Object.keys(i);for(let d=0;d<m.length;d++){let s=i[m[d]];if(Array.isArray(s))for(let l=0;l<s.length;l++)s[l]!==null&&n(s[l],i,m[d],l,{...a});else typeof(s==null?void 0:s.type)=="string"&&n(s,i,m[d],d,{...a})}}n(e)}var si=await v2();function rn(e,t,n={}){let i={staticAttrs:new Set(n.staticAttrs??[]),dynamicAttrs:new Set(n.dynamicAttrs??[]),functions:new Set(n.functions??[])};return{...si.parsers[e],preprocess(o,r){let u=si.originalParser(e,r);return u.preprocess?u.preprocess(o,r):o},async parse(o,r){let{context:u,generateRules:a}=await d2(r),m=si.originalParser(e,r);m.astFormat in S2&&(r.printer=S2[m.astFormat]);let d=await m.parse(o,r,r),s=f2(r,e,i),l=[];return t(d,{env:{context:u,customizations:s,generateRules:a,parsers:{},options:r},changes:l}),e==="svelte"&&(d.changes=l),d}}}function nY(e,t){let n=[C2.parsers.__ng_directive,{parse:t.parsers.__js_expression}],i=[];for(let o of n)try{return o.parse(e,t.parsers,t.options)}catch(r){i.push(r)}console.warn("prettier-plugin-tailwindcss: Unable to parse angular directive"),i.forEach(o=>console.warn(o))}function iY(e,t){let n=nY(e.value,t);n&&js(n,{StringLiteral(i){i.value&&(e.value=e.value.slice(0,i.start+1)+Cn(i.value,{env:t})+e.value.slice(i.end-1))}})}function P2(e,t){let{functions:n}=t.customizations,i=Gf.parse(`let __prettier_temp__ = ${e.value}`,{parser:A2.parsers["babel-ts"]}),o=!1;x2.visit(i,{visitLiteral(r){if(zf(r.node)&&Kf(r.node,{env:t})){o=!0;let u=r.node.extra.raw[0],a=(0,_2.default)(r.node.value,{quotes:u==="'"?"single":"double"});r.node.value=new String(u+a+u)}this.traverse(r)},visitTemplateLiteral(r){il(r.node,{env:t})&&(o=!0),this.traverse(r)},visitTaggedTemplateExpression(r){Sv(r.node,n)&&il(r.node.quasi,{env:t})&&(o=!0),this.traverse(r)}}),o&&(e.value=Gf.print(i.program.body[0].declarations[0].init).code)}function gc(e,{env:t,changes:n}){let{staticAttrs:i,dynamicAttrs:o}=t.customizations,{parser:r}=t.options;for(let u of e.attrs??[])if(i.has(u.name))u.value=Cn(u.value,{env:t});else if(o.has(u.name)){if(!/[`'"]/.test(u.value))continue;r==="angular"?iY(u,t):P2(u,t)}for(let u of e.children??[])gc(u,{env:t,changes:n})}function sY(e,{env:t}){let{staticAttrs:n}=t.customizations;js(e,{AttrNode(i,o,r,u,a){n.has(i.name)&&i.value&&(a.sortTextNodes=!0)},TextNode(i,o,r,u,a){if(!a.sortTextNodes)return;let m=(o==null?void 0:o.type)==="ConcatStatement"?{prev:o.parts[u-1],next:o.parts[u+1]}:null;i.chars=Cn(i.chars,{env:t,ignoreFirst:(m==null?void 0:m.prev)&&!/^\s/.test(i.chars),ignoreLast:(m==null?void 0:m.next)&&!/\s$/.test(i.chars)})},StringLiteral(i,o,r,u,a){if(!a.sortTextNodes)return;let m=o.type==="SubExpression"&&o.path.original==="concat";i.value=Cn(i.value,{env:t,ignoreLast:m&&!/[^\S\r\n]$/.test(i.value)})}})}function aY(e,{env:t}){let{staticAttrs:n}=t.customizations;function i(m){return Array.isArray(m.name)?m.name.every(d=>d.type==="TextNode"&&n.has(d.value)):n.has(m.name)}function o(m){let d=m[0],s=m[m.length-1];return d===s&&(d==='"'||d==="'"||d==="`")}let r=[],u=[];function a(m){for(let d=0;d<m.value.length;d++){let s=m.value[d];s.type==="TextNode"?(s.value=Cn(s.value,{env:t,ignoreFirst:d>0&&!/^\s/.test(s.value),ignoreLast:d<m.value.length-1&&!/\s$/.test(s.value)}),u.push({pos:s.position,value:s.value})):(s.type==="LiquidDrop"||s.type==="LiquidVariableOutput")&&typeof s.markup=="object"&&s.markup.type==="LiquidVariable"&&js(s.markup.expression,{String(l){let f={...l.position};o(l.source.slice(f.start,f.end))&&(f.start+=1,f.end-=1),l.value=Cn(l.value,{env:t}),u.push({pos:f,value:l.value})}})}}js(e,{LiquidTag(m){r.push(m)},HtmlElement(m){r.push(m)},AttrSingleQuoted(m){i(m)&&(r.push(m),a(m))},AttrDoubleQuoted(m){i(m)&&(r.push(m),a(m))}}),u=u.sort((m,d)=>m.pos.start-d.pos.start||m.pos.end-d.pos.end);for(let m of u)for(let d of r)d.source=d.source.slice(0,m.pos.start)+m.value+d.source.slice(m.pos.end)}function Kf(e,{env:t}){let n=Cn(e.value,{env:t}),i=n!==e.value;if(e.value=n,e.extra){let o=e.extra.raw;e.extra={...e.extra,rawValue:n,raw:o[0]+n+o.slice(-1)}}else{let o=e.raw;e.raw=o[0]+n+o.slice(-1)}return i}function zf(e){return e.type==="StringLiteral"||e.type==="Literal"&&typeof e.value=="string"}function il(e,{env:t}){let n=!1;for(let i=0;i<e.quasis.length;i++){let o=e.quasis[i],r=o.value.raw===o.value.cooked,u=o.value.raw,a=o.value.cooked;o.value.raw=Cn(o.value.raw,{env:t,ignoreFirst:i>0&&!/^\s/.test(o.value.raw),ignoreLast:i<e.expressions.length&&!/\s$/.test(o.value.raw)}),o.value.cooked=r?o.value.raw:Cn(o.value.cooked,{env:t,ignoreFirst:i>0&&!/^\s/.test(o.value.cooked),ignoreLast:i<e.expressions.length&&!/\s$/.test(o.value.cooked)}),(o.value.raw!==u||o.value.cooked!==a)&&(n=!0)}return n}function Sv(e,t){if(e.tag.type==="Identifier")return t.has(e.tag.name);if(e.tag.type==="MemberExpression"){let n=e.tag.object;for(;n.type==="MemberExpression";)n=n.object;if(n.type==="Identifier")return t.has(n.name)}return!1}function oY(e,t){var n;if(!((n=e.arguments)!=null&&n.length))return!1;if(e.callee.type==="Identifier")return t.has(e.callee.name);if(e.callee.type==="MemberExpression"){let i=e.callee.object;for(;i.type==="MemberExpression";)i=i.object;if(i.type==="Identifier")return t.has(i.name)}return!1}function Ls(e,{env:t}){let{staticAttrs:n,functions:i}=t.customizations;function o(r){js(r,u=>{zf(u)?Kf(u,{env:t}):u.type==="TemplateLiteral"?il(u,{env:t}):u.type==="TaggedTemplateExpression"&&Sv(u,i)&&il(u.quasi,{env:t})})}js(e,{JSXAttribute(r){r.value&&typeof r.name.name=="string"&&n.has(r.name.name)&&(zf(r.value)?Kf(r.value,{env:t}):r.value.type==="JSXExpressionContainer"&&o(r.value))},CallExpression(r){oY(r,i)&&r.arguments.forEach(u=>o(u))},TaggedTemplateExpression(r){Sv(r,i)&&il(r.quasi,{env:t})}})}function Ev(e,{env:t}){e.walk(n=>{n.type==="css-atrule"&&n.name==="apply"&&(n.params=Cn(n.params,{env:t,ignoreLast:/\s+(?:!important|#{(['"]*)!important\1})\s*$/.test(n.params)}))})}function k2(e,{env:t,changes:n}){let{staticAttrs:i,dynamicAttrs:o}=t.customizations;if(e.type==="element"||e.type==="custom-element"||e.type==="component")for(let r of e.attributes??[])i.has(r.name)&&r.type==="attribute"&&r.kind==="quoted"?r.value=Cn(r.value,{env:t}):o.has(r.name)&&r.type==="attribute"&&r.kind==="expression"&&typeof r.value=="string"&&P2(r,t);for(let r of e.children??[])k2(r,{env:t,changes:n})}function lY(e,{env:t}){let{staticAttrs:n}=t.customizations,i=[e];for(;i.length>0;){let o=i.pop();switch(o.type){case"File":i.push(o.program);break;case"Program":i.push(...o.body);break;case"MarkoTag":i.push(...o.attributes),i.push(o.body);break;case"MarkoTagBody":i.push(...o.body);break;case"MarkoAttribute":if(!n.has(o.name))break;switch(o.value.type){case"ArrayExpression":let r=o.value.elements;for(let u of r)u.type==="StringLiteral"&&(u.value=Cn(u.value,{env:t}));break;case"StringLiteral":o.value.value=Cn(o.value.value,{env:t});break}break}}}function D2(e,{env:t,changes:n}){let{staticAttrs:i}=t.customizations;for(let o of e.expressions??[])D2(o,{env:t,changes:n});js(e,{Attribute(o,r,u,a,m){i.has(o.name.name)&&(m.sortTextNodes=!0)},StringLiteral(o,r,u,a,m){if(!m.sortTextNodes)return;let d=r.type==="BinaryConcatExpression";o.value=Cn(o.value,{env:t,ignoreFirst:d&&u==="right"&&!/^[^\S\r\n]/.test(o.value),ignoreLast:d&&u==="left"&&!/[^\S\r\n]$/.test(o.value)})}})}function uY(e,{env:t}){let{staticAttrs:n}=t.customizations;for(let u of e.tokens)u.type==="attribute"&&n.has(u.name)&&(u.val=[u.val.slice(0,1),Cn(u.val.slice(1,-1),{env:t}),u.val.slice(-1)].join(""));let i=-1,o=-1,r=[];for(let u=0;u<e.tokens.length;u++)e.tokens[u].type==="class"?(i=i===-1?u:i,o=u):i!==-1&&(r.push([i,o]),i=-1,o=-1);i!==-1&&(r.push([i,o]),i=-1,o=-1);for(let[u,a]of r){let m=e.tokens.slice(u,a+1).map(s=>s.val),d=Tv(m,{env:t});for(let s=u;s<=a;s++)e.tokens[s].val=d[s-u]}}function vc(e,{env:t,changes:n}){var o;let{staticAttrs:i}=t.customizations;for(let r of e.attributes??[])if(!(!i.has(r.name)||r.type!=="Attribute"))for(let u=0;u<r.value.length;u++){let a=r.value[u];if(a.type==="Text"){let m=a.raw===a.data;a.raw=Cn(a.raw,{env:t,ignoreFirst:u>0&&!/^\s/.test(a.raw),ignoreLast:u<r.value.length-1&&!/\s$/.test(a.raw)}),a.data=m?a.raw:Cn(a.data,{env:t,ignoreFirst:u>0&&!/^\s/.test(a.data),ignoreLast:u<r.value.length-1&&!/\s$/.test(a.data)})}else a.type==="MustacheTag"&&js(a.expression,{Literal(m){zf(m)&&Kf(m,{env:t})&&n.push({text:m.raw,loc:m.loc})},TemplateLiteral(m){if(il(m,{env:t}))for(let d of m.quasis)n.push({text:d.value.raw,loc:d.loc})}})}for(let r of e.children??[])vc(r,{env:t,changes:n});if(e.type==="IfBlock")for(let r of((o=e.else)==null?void 0:o.children)??[])vc(r,{env:t,changes:n});if(e.type==="AwaitBlock"){let r=[e.pending,e.then,e.catch];for(let u of r)vc(u,{env:t,changes:n})}e.html&&vc(e.html,{env:t,changes:n})}var S2=function(){let e={};if(si.printers["svelte-ast"]){let t=function(i,o){if(o.__mutatedOriginalText)return;o.__mutatedOriginalText=!0;let r=i.stack[0].changes;if(r!=null&&r.length){let u=(0,w2.default)(o.originalText);for(let a of r){let m=u.toIndex(a.loc.start.line,a.loc.start.column+1),d=u.toIndex(a.loc.end.line,a.loc.end.column+1);o.originalText=o.originalText.substring(0,m)+a.text+o.originalText.substring(d)}}},n=si.printers["svelte-ast"];e["svelte-ast"]={...n,print:(i,o,r)=>(t(i,o),si.printers["svelte-ast"].print(i,o,r)),embed:(i,o)=>(t(i,o),si.printers["svelte-ast"].embed(i,o))}}return e}(),ine={html:rn("html",gc,{staticAttrs:["class"]}),glimmer:rn("glimmer",sY,{staticAttrs:["class"]}),lwc:rn("lwc",gc,{staticAttrs:["class"]}),angular:rn("angular",gc,{staticAttrs:["class"],dynamicAttrs:["[ngClass]"]}),vue:rn("vue",gc,{staticAttrs:["class"],dynamicAttrs:[":class","v-bind:class"]}),css:rn("css",Ev),scss:rn("scss",Ev),less:rn("less",Ev),babel:rn("babel",Ls,{staticAttrs:["class","className"]}),"babel-flow":rn("babel-flow",Ls,{staticAttrs:["class","className"]}),flow:rn("flow",Ls,{staticAttrs:["class","className"]}),typescript:rn("typescript",Ls,{staticAttrs:["class","className"]}),"babel-ts":rn("babel-ts",Ls,{staticAttrs:["class","className"]}),acorn:rn("acorn",Ls,{staticAttrs:["class","className"]}),meriyah:rn("meriyah",Ls,{staticAttrs:["class","className"]}),__js_expression:rn("__js_expression",Ls,{staticAttrs:["class","className"]}),...si.parsers.svelte?{svelte:rn("svelte",vc,{staticAttrs:["class"]})}:{},...si.parsers.astro?{astro:rn("astro",k2,{staticAttrs:["class","className"],dynamicAttrs:["class:list","className"]})}:{},...si.parsers.astroExpressionParser?{astroExpressionParser:rn("astroExpressionParser",Ls,{staticAttrs:["class"],dynamicAttrs:["class:list"]})}:{},...si.parsers.marko?{marko:rn("marko",lY,{staticAttrs:["class"]})}:{},...si.parsers.melody?{melody:rn("melody",D2,{staticAttrs:["class"]})}:{},...si.parsers.pug?{pug:rn("pug",uY,{staticAttrs:["class"]})}:{},...si.parsers["liquid-html"]?{"liquid-html":rn("liquid-html",aY,{staticAttrs:["class"]})}:{}};export{YJ as options,ine as parsers,S2 as printers};
+`);function m(f){let p=e.slice(f.start,f.end);return[s(f.start,f.end),_X.formatTokenType.call(void 0,f.type),CX(String(p),14),...n.map(h=>d(f[h],h)),...i.map(h=>d(f.type[h],h))]}function d(f,p){return f===!0?p:f===!1||f===null?"":String(f)}function s(f,p){return`${l(f)}-${l(p)}`}function l(f){let p=r.locationForIndex(f);return p?`${p.line+1}:${p.column+1}`:"Unknown"}}rv.default=wX;function CX(e,t){return e.length>t?`${e.slice(0,t-3)}...`:e}});var CO=be(nv=>{"use strict";Object.defineProperty(nv,"__esModule",{value:!0});function AX(e){return e&&e.__esModule?e:{default:e}}var ni=ar(),PX=Gu(),kX=AX(PX);function DX(e){let t=new Set;for(let n=0;n<e.tokens.length;n++)e.matches1AtIndex(n,ni.TokenType._import)&&!e.matches3AtIndex(n,ni.TokenType._import,ni.TokenType.name,ni.TokenType.eq)&&IX(e,n,t);return t}nv.default=DX;function IX(e,t,n){t++,!e.matches1AtIndex(t,ni.TokenType.parenL)&&(e.matches1AtIndex(t,ni.TokenType.name)&&(n.add(e.identifierNameAtIndex(t)),t++,e.matches1AtIndex(t,ni.TokenType.comma)&&t++),e.matches1AtIndex(t,ni.TokenType.star)&&(t+=2,n.add(e.identifierNameAtIndex(t)),t++),e.matches1AtIndex(t,ni.TokenType.braceL)&&(t++,OX(e,t,n)))}function OX(e,t,n){for(;;){if(e.matches1AtIndex(t,ni.TokenType.braceR))return;let i=kX.default.call(void 0,e,t);if(t=i.endIndex,i.isType||n.add(i.rightName),e.matches2AtIndex(t,ni.TokenType.comma,ni.TokenType.braceR))return;if(e.matches1AtIndex(t,ni.TokenType.braceR))return;if(e.matches1AtIndex(t,ni.TokenType.comma))t++;else throw new Error(`Unexpected token: ${JSON.stringify(e.tokens[t])}`)}}});var kO=be(dc=>{"use strict";Object.defineProperty(dc,"__esModule",{value:!0});function ma(e){return e&&e.__esModule?e:{default:e}}var NX=Yk(),FX=ma(NX),jX=oD(),LX=ma(jX),MX=lD(),RX=pD(),AO=ma(RX),BX=fD(),UX=ma(BX),VX=ID(),$X=h0(),qX=GI(),WX=ma(qX),KX=EO(),zX=ma(KX),GX=wO(),HX=ma(GX),XX=CO(),JX=ma(XX);function YX(){return"3.34.0"}dc.getVersion=YX;function QX(e,t){VX.validateOptions.call(void 0,t);try{let n=PO(e,t),o=new zX.default(n,t.transforms,!!t.enableLegacyBabel5ModuleInterop,t).transform(),r={code:o.code};if(t.sourceMapOptions){if(!t.filePath)throw new Error("filePath must be specified when generating a source map.");r={...r,sourceMap:LX.default.call(void 0,o,t.filePath,t.sourceMapOptions,e,n.tokenProcessor.tokens)}}return r}catch(n){throw t.filePath&&(n.message=`Error transforming ${t.filePath}: ${n.message}`),n}}dc.transform=QX;function ZX(e,t){let n=PO(e,t).tokenProcessor.tokens;return HX.default.call(void 0,e,n)}dc.getFormattedTokens=ZX;function PO(e,t){let n=t.transforms.includes("jsx"),i=t.transforms.includes("typescript"),o=t.transforms.includes("flow"),r=t.disableESTransforms===!0,u=$X.parse.call(void 0,e,n,i,o),a=u.tokens,m=u.scopes,d=new UX.default(e,a),s=new MX.HelperManager(d),l=new WX.default(e,a,o,r,s),f=!!t.enableLegacyTypeScriptModuleInterop,p=null;return t.transforms.includes("imports")?(p=new FX.default(d,l,f,t,t.transforms.includes("typescript"),!!t.keepUnusedImports,s),p.preprocessTokens(),AO.default.call(void 0,l,m,p.getGlobalNames()),t.transforms.includes("typescript")&&!t.keepUnusedImports&&p.pruneTypeOnlyImports()):t.transforms.includes("typescript")&&!t.keepUnusedImports&&AO.default.call(void 0,l,m,JX.default.call(void 0,l)),{tokenProcessor:l,scopes:m,nameManager:d,importProcessor:p,helperManager:s}}});var DO=be(iv=>{"use strict";Object.defineProperty(iv,"__esModule",{value:!0});function eJ(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}eJ(iv,{useCustomJiti:function(){return iJ},loadConfig:function(){return aJ}});var tJ=nJ(Tk()),rJ=kO();function nJ(e){return e&&e.__esModule?e:{default:e}}var fc=null;function iJ(e){fc=e()}function sJ(){return fc??(fc=(0,tJ.default)(__filename,{interopDefault:!0,transform:e=>e.source.includes("import.meta")?Ub()(e):(0,rJ.transform)(e.source,{transforms:["typescript","imports"]})}))}function aJ(e){let t=function(){try{return e?yt(e):{}}catch{return sJ()(e)}}();var n;return(n=t.default)!==null&&n!==void 0?n:t}});var IO=be(sv=>{"use strict";Object.defineProperty(sv,"__esModule",{value:!0});Object.defineProperty(sv,"default",{enumerable:!0,get:function(){return lJ}});var oJ=DO(),lJ=oJ.loadConfig});var NO=be((Cre,OO)=>{var av=IO();OO.exports=(av.__esModule?av:{default:av}).default});var FO=be(ov=>{"use strict";Object.defineProperty(ov,"__esModule",{value:!0});Object.defineProperty(ov,"default",{enumerable:!0,get:function(){return uJ}});var uJ=["preflight","container","accessibility","pointerEvents","visibility","position","inset","isolation","zIndex","order","gridColumn","gridColumnStart","gridColumnEnd","gridRow","gridRowStart","gridRowEnd","float","clear","margin","boxSizing","lineClamp","display","aspectRatio","size","height","maxHeight","minHeight","width","minWidth","maxWidth","flex","flexShrink","flexGrow","flexBasis","tableLayout","captionSide","borderCollapse","borderSpacing","transformOrigin","translate","rotate","skew","scale","transform","animation","cursor","touchAction","userSelect","resize","scrollSnapType","scrollSnapAlign","scrollSnapStop","scrollMargin","scrollPadding","listStylePosition","listStyleType","listStyleImage","appearance","columns","breakBefore","breakInside","breakAfter","gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateColumns","gridTemplateRows","flexDirection","flexWrap","placeContent","placeItems","alignContent","alignItems","justifyContent","justifyItems","gap","space","divideWidth","divideStyle","divideColor","divideOpacity","placeSelf","alignSelf","justifySelf","overflow","overscrollBehavior","scrollBehavior","textOverflow","hyphens","whitespace","textWrap","wordBreak","borderRadius","borderWidth","borderStyle","borderColor","borderOpacity","backgroundColor","backgroundOpacity","backgroundImage","gradientColorStops","boxDecorationBreak","backgroundSize","backgroundAttachment","backgroundClip","backgroundPosition","backgroundRepeat","backgroundOrigin","fill","stroke","strokeWidth","objectFit","objectPosition","padding","textAlign","textIndent","verticalAlign","fontFamily","fontSize","fontWeight","textTransform","fontStyle","fontVariantNumeric","lineHeight","letterSpacing","textColor","textOpacity","textDecoration","textDecorationColor","textDecorationStyle","textDecorationThickness","textUnderlineOffset","fontSmoothing","placeholderColor","placeholderOpacity","caretColor","accentColor","opacity","backgroundBlendMode","mixBlendMode","boxShadow","boxShadowColor","outlineStyle","outlineWidth","outlineOffset","outlineColor","ringWidth","ringColor","ringOpacity","ringOffsetWidth","ringOffsetColor","blur","brightness","contrast","dropShadow","grayscale","hueRotate","invert","saturate","sepia","filter","backdropBlur","backdropBrightness","backdropContrast","backdropGrayscale","backdropHueRotate","backdropInvert","backdropOpacity","backdropSaturate","backdropSepia","backdropFilter","transitionProperty","transitionDelay","transitionDuration","transitionTimingFunction","willChange","contain","content","forcedColorAdjust"]});var jO=be(lv=>{"use strict";Object.defineProperty(lv,"__esModule",{value:!0});Object.defineProperty(lv,"default",{enumerable:!0,get:function(){return cJ}});function cJ(e,t){return e===void 0?t:Array.isArray(e)?e:[...new Set(t.filter(i=>e!==!1&&e[i]!==!1).concat(Object.keys(e).filter(i=>e[i]!==!1)))]}});var LO=be(uv=>{"use strict";Object.defineProperty(uv,"__esModule",{value:!0});Object.defineProperty(uv,"default",{enumerable:!0,get:function(){return fJ}});var pJ=dJ(La());function dJ(e){return e&&e.__esModule?e:{default:e}}function hc({version:e,from:t,to:n}){pJ.default.warn(`${t}-color-renamed`,[`As of Tailwind CSS ${e}, \`${t}\` has been renamed to \`${n}\`.`,"Update your configuration file to silence this warning."])}var fJ={inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},get lightBlue(){return hc({version:"v2.2",from:"lightBlue",to:"sky"}),this.sky},get warmGray(){return hc({version:"v3.0",from:"warmGray",to:"stone"}),this.stone},get trueGray(){return hc({version:"v3.0",from:"trueGray",to:"neutral"}),this.neutral},get coolGray(){return hc({version:"v3.0",from:"coolGray",to:"gray"}),this.gray},get blueGray(){return hc({version:"v3.0",from:"blueGray",to:"slate"}),this.slate}}});var MO=be(cv=>{"use strict";Object.defineProperty(cv,"__esModule",{value:!0});Object.defineProperty(cv,"defaults",{enumerable:!0,get:function(){return hJ}});function hJ(e,...t){for(let o of t){for(let r in o){var n;!(e==null||(n=e.hasOwnProperty)===null||n===void 0)&&n.call(e,r)||(e[r]=o[r])}for(let r of Object.getOwnPropertySymbols(o)){var i;!(e==null||(i=e.hasOwnProperty)===null||i===void 0)&&i.call(e,r)||(e[r]=o[r])}}return e}});var BO=be(pv=>{"use strict";Object.defineProperty(pv,"__esModule",{value:!0});Object.defineProperty(pv,"normalizeConfig",{enumerable:!0,get:function(){return bJ}});var mJ=Ma(),el=yJ(La());function RO(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(RO=function(i){return i?n:t})(e)}function yJ(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=RO(t);if(n&&n.has(e))return n.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)){var u=o?Object.getOwnPropertyDescriptor(e,r):null;u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=e[r]}return i.default=e,n&&n.set(e,i),i}function bJ(e){if((()=>{if(e.purge||!e.content||!Array.isArray(e.content)&&!(typeof e.content=="object"&&e.content!==null))return!1;if(Array.isArray(e.content))return e.content.every(i=>typeof i=="string"?!0:!(typeof(i==null?void 0:i.raw)!="string"||i!=null&&i.extension&&typeof(i==null?void 0:i.extension)!="string"));if(typeof e.content=="object"&&e.content!==null){if(Object.keys(e.content).some(i=>!["files","relative","extract","transform"].includes(i)))return!1;if(Array.isArray(e.content.files)){if(!e.content.files.every(i=>typeof i=="string"?!0:!(typeof(i==null?void 0:i.raw)!="string"||i!=null&&i.extension&&typeof(i==null?void 0:i.extension)!="string")))return!1;if(typeof e.content.extract=="object"){for(let i of Object.values(e.content.extract))if(typeof i!="function")return!1}else if(!(e.content.extract===void 0||typeof e.content.extract=="function"))return!1;if(typeof e.content.transform=="object"){for(let i of Object.values(e.content.transform))if(typeof i!="function")return!1}else if(!(e.content.transform===void 0||typeof e.content.transform=="function"))return!1;if(typeof e.content.relative!="boolean"&&typeof e.content.relative<"u")return!1}return!0}return!1})()||el.default.warn("purge-deprecation",["The `purge`/`content` options have changed in Tailwind CSS v3.0.","Update your configuration file to eliminate this warning.","https://tailwindcss.com/docs/upgrade-guide#configure-content-sources"]),e.safelist=(()=>{var i;let{content:o,purge:r,safelist:u}=e;return Array.isArray(u)?u:Array.isArray(o==null?void 0:o.safelist)?o.safelist:Array.isArray(r==null?void 0:r.safelist)?r.safelist:Array.isArray(r==null||(i=r.options)===null||i===void 0?void 0:i.safelist)?r.options.safelist:[]})(),e.blocklist=(()=>{let{blocklist:i}=e;if(Array.isArray(i)){if(i.every(o=>typeof o=="string"))return i;el.default.warn("blocklist-invalid",["The `blocklist` option must be an array of strings.","https://tailwindcss.com/docs/content-configuration#discarding-classes"])}return[]})(),typeof e.prefix=="function")el.default.warn("prefix-function",["As of Tailwind CSS v3.0, `prefix` cannot be a function.","Update `prefix` in your configuration to be a string to eliminate this warning.","https://tailwindcss.com/docs/upgrade-guide#prefix-cannot-be-a-function"]),e.prefix="";else{var n;e.prefix=(n=e.prefix)!==null&&n!==void 0?n:""}e.content={relative:(()=>{let{content:i}=e;return i!=null&&i.relative?i.relative:(0,mJ.flagEnabled)(e,"relativeContentPathsByDefault")})(),files:(()=>{let{content:i,purge:o}=e;return Array.isArray(o)?o:Array.isArray(o==null?void 0:o.content)?o.content:Array.isArray(i)?i:Array.isArray(i==null?void 0:i.content)?i.content:Array.isArray(i==null?void 0:i.files)?i.files:[]})(),extract:(()=>{let i=(()=>{var u,a,m,d,s,l,f,p,h,y;return!((u=e.purge)===null||u===void 0)&&u.extract?e.purge.extract:!((a=e.content)===null||a===void 0)&&a.extract?e.content.extract:!((m=e.purge)===null||m===void 0||(d=m.extract)===null||d===void 0)&&d.DEFAULT?e.purge.extract.DEFAULT:!((s=e.content)===null||s===void 0||(l=s.extract)===null||l===void 0)&&l.DEFAULT?e.content.extract.DEFAULT:!((f=e.purge)===null||f===void 0||(p=f.options)===null||p===void 0)&&p.extractors?e.purge.options.extractors:!((h=e.content)===null||h===void 0||(y=h.options)===null||y===void 0)&&y.extractors?e.content.options.extractors:{}})(),o={},r=(()=>{var u,a,m,d;if(!((u=e.purge)===null||u===void 0||(a=u.options)===null||a===void 0)&&a.defaultExtractor)return e.purge.options.defaultExtractor;if(!((m=e.content)===null||m===void 0||(d=m.options)===null||d===void 0)&&d.defaultExtractor)return e.content.options.defaultExtractor})();if(r!==void 0&&(o.DEFAULT=r),typeof i=="function")o.DEFAULT=i;else if(Array.isArray(i))for(let{extensions:u,extractor:a}of i??[])for(let m of u)o[m]=a;else typeof i=="object"&&i!==null&&Object.assign(o,i);return o})(),transform:(()=>{let i=(()=>{var r,u,a,m,d,s;return!((r=e.purge)===null||r===void 0)&&r.transform?e.purge.transform:!((u=e.content)===null||u===void 0)&&u.transform?e.content.transform:!((a=e.purge)===null||a===void 0||(m=a.transform)===null||m===void 0)&&m.DEFAULT?e.purge.transform.DEFAULT:!((d=e.content)===null||d===void 0||(s=d.transform)===null||s===void 0)&&s.DEFAULT?e.content.transform.DEFAULT:{}})(),o={};return typeof i=="function"&&(o.DEFAULT=i),typeof i=="object"&&i!==null&&Object.assign(o,i),o})()};for(let i of e.content.files)if(typeof i=="string"&&/{([^,]*?)}/g.test(i)){el.default.warn("invalid-glob-braces",[`The glob pattern ${(0,el.dim)(i)} in your Tailwind CSS configuration is invalid.`,`Update it to ${(0,el.dim)(i.replace(/{([^,]*?)}/g,"$1"))} to silence this warning.`]);break}return e}});var UO=be(fv=>{"use strict";Object.defineProperty(fv,"__esModule",{value:!0});Object.defineProperty(fv,"cloneDeep",{enumerable:!0,get:function(){return dv}});function dv(e){return Array.isArray(e)?e.map(t=>dv(t)):typeof e=="object"&&e!==null?Object.fromEntries(Object.entries(e).map(([t,n])=>[t,dv(n)])):e}});var KO=be(mv=>{"use strict";Object.defineProperty(mv,"__esModule",{value:!0});Object.defineProperty(mv,"default",{enumerable:!0,get:function(){return jJ}});var gJ=nl(Fd()),vJ=nl(FO()),TJ=nl(jO()),EJ=nl(LO()),qO=MO(),VO=fb(),SJ=BO(),tl=nl(Oo()),xJ=UO(),_J=Ld(),wJ=Od(),CJ=nl(nb());function nl(e){return e&&e.__esModule?e:{default:e}}function rl(e){return typeof e=="function"}function mc(e,...t){let n=t.pop();for(let i of t)for(let o in i){let r=n(e[o],i[o]);r===void 0?(0,tl.default)(e[o])&&(0,tl.default)(i[o])?e[o]=mc({},e[o],i[o],n):e[o]=i[o]:e[o]=r}return e}var hv={colors:EJ.default,negative(e){return Object.keys(e).filter(t=>e[t]!=="0").reduce((t,n)=>{let i=(0,gJ.default)(e[n]);return i!==void 0&&(t[`-${n}`]=i),t},{})},breakpoints(e){return Object.keys(e).filter(t=>typeof e[t]=="string").reduce((t,n)=>({...t,[`screen-${n}`]:e[n]}),{})}};function AJ(e,...t){return rl(e)?e(...t):e}function PJ(e){return e.reduce((t,{extend:n})=>mc(t,n,(i,o)=>i===void 0?[o]:Array.isArray(i)?[o,...i]:[o,i]),{})}function kJ(e){return{...e.reduce((t,n)=>(0,qO.defaults)(t,n),{}),extend:PJ(e)}}function $O(e,t){if(Array.isArray(e)&&(0,tl.default)(e[0]))return e.concat(t);if(Array.isArray(t)&&(0,tl.default)(t[0])&&(0,tl.default)(e))return[e,...t];if(Array.isArray(t))return t}function DJ({extend:e,...t}){return mc(t,e,(n,i)=>!rl(n)&&!i.some(rl)?mc({},n,...i,$O):(o,r)=>mc({},...[n,...i].map(u=>AJ(u,o,r)),$O))}function*IJ(e){let t=(0,VO.toPath)(e);if(t.length===0||(yield t,Array.isArray(e)))return;let n=/^(.*?)\s*\/\s*([^/]+)$/,i=e.match(n);if(i!==null){let[,o,r]=i,u=(0,VO.toPath)(o);u.alpha=r,yield u}}function OJ(e){let t=(n,i)=>{for(let o of IJ(n)){let r=0,u=e;for(;u!=null&&r<o.length;)u=u[o[r++]],u=rl(u)&&(o.alpha===void 0||r<=o.length-1)?u(t,hv):u;if(u!==void 0){if(o.alpha!==void 0){let a=(0,_J.parseColorFormat)(u);return(0,wJ.withAlphaValue)(a,o.alpha,(0,CJ.default)(a))}return(0,tl.default)(u)?(0,xJ.cloneDeep)(u):u}}return i};return Object.assign(t,{theme:t,...hv}),Object.keys(e).reduce((n,i)=>(n[i]=rl(e[i])?e[i](t,hv):e[i],n),{})}function WO(e){let t=[];return e.forEach(n=>{t=[...t,n];var i;let o=(i=n==null?void 0:n.plugins)!==null&&i!==void 0?i:[];o.length!==0&&o.forEach(r=>{r.__isOptionsFunction&&(r=r());var u;t=[...t,...WO([(u=r==null?void 0:r.config)!==null&&u!==void 0?u:{}])]})}),t}function NJ(e){return[...e].reduceRight((n,i)=>rl(i)?i({corePlugins:n}):(0,TJ.default)(i,n),vJ.default)}function FJ(e){return[...e].reduceRight((n,i)=>[...n,...i],[])}function jJ(e){let t=[...WO(e),{prefix:"",important:!1,separator:":"}];var n,i;return(0,SJ.normalizeConfig)((0,qO.defaults)({theme:OJ(DJ(kJ(t.map(o=>(n=o==null?void 0:o.theme)!==null&&n!==void 0?n:{})))),corePlugins:NJ(t.map(o=>o.corePlugins)),plugins:FJ(e.map(o=>(i=o==null?void 0:o.plugins)!==null&&i!==void 0?i:[]))},...t))}});var GO=be((Fre,zO)=>{zO.exports={content:[],presets:[],darkMode:"media",theme:{accentColor:({theme:e})=>({...e("colors"),auto:"auto"}),animation:{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"},aria:{busy:'busy="true"',checked:'checked="true"',disabled:'disabled="true"',expanded:'expanded="true"',hidden:'hidden="true"',pressed:'pressed="true"',readonly:'readonly="true"',required:'required="true"',selected:'selected="true"'},aspectRatio:{auto:"auto",square:"1 / 1",video:"16 / 9"},backdropBlur:({theme:e})=>e("blur"),backdropBrightness:({theme:e})=>e("brightness"),backdropContrast:({theme:e})=>e("contrast"),backdropGrayscale:({theme:e})=>e("grayscale"),backdropHueRotate:({theme:e})=>e("hueRotate"),backdropInvert:({theme:e})=>e("invert"),backdropOpacity:({theme:e})=>e("opacity"),backdropSaturate:({theme:e})=>e("saturate"),backdropSepia:({theme:e})=>e("sepia"),backgroundColor:({theme:e})=>e("colors"),backgroundImage:{none:"none","gradient-to-t":"linear-gradient(to top, var(--tw-gradient-stops))","gradient-to-tr":"linear-gradient(to top right, var(--tw-gradient-stops))","gradient-to-r":"linear-gradient(to right, var(--tw-gradient-stops))","gradient-to-br":"linear-gradient(to bottom right, var(--tw-gradient-stops))","gradient-to-b":"linear-gradient(to bottom, var(--tw-gradient-stops))","gradient-to-bl":"linear-gradient(to bottom left, var(--tw-gradient-stops))","gradient-to-l":"linear-gradient(to left, var(--tw-gradient-stops))","gradient-to-tl":"linear-gradient(to top left, var(--tw-gradient-stops))"},backgroundOpacity:({theme:e})=>e("opacity"),backgroundPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},backgroundSize:{auto:"auto",cover:"cover",contain:"contain"},blur:{0:"0",none:"0",sm:"4px",DEFAULT:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},borderColor:({theme:e})=>({...e("colors"),DEFAULT:e("colors.gray.200","currentColor")}),borderOpacity:({theme:e})=>e("opacity"),borderRadius:{none:"0px",sm:"0.125rem",DEFAULT:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},borderSpacing:({theme:e})=>({...e("spacing")}),borderWidth:{DEFAULT:"1px",0:"0px",2:"2px",4:"4px",8:"8px"},boxShadow:{sm:"0 1px 2px 0 rgb(0 0 0 / 0.05)",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"},boxShadowColor:({theme:e})=>e("colors"),brightness:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5",200:"2"},caretColor:({theme:e})=>e("colors"),colors:({colors:e})=>({inherit:e.inherit,current:e.current,transparent:e.transparent,black:e.black,white:e.white,slate:e.slate,gray:e.gray,zinc:e.zinc,neutral:e.neutral,stone:e.stone,red:e.red,orange:e.orange,amber:e.amber,yellow:e.yellow,lime:e.lime,green:e.green,emerald:e.emerald,teal:e.teal,cyan:e.cyan,sky:e.sky,blue:e.blue,indigo:e.indigo,violet:e.violet,purple:e.purple,fuchsia:e.fuchsia,pink:e.pink,rose:e.rose}),columns:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12","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"},container:{},content:{none:"none"},contrast:{0:"0",50:".5",75:".75",100:"1",125:"1.25",150:"1.5",200:"2"},cursor:{auto:"auto",default:"default",pointer:"pointer",wait:"wait",text:"text",move:"move",help:"help","not-allowed":"not-allowed",none:"none","context-menu":"context-menu",progress:"progress",cell:"cell",crosshair:"crosshair","vertical-text":"vertical-text",alias:"alias",copy:"copy","no-drop":"no-drop",grab:"grab",grabbing:"grabbing","all-scroll":"all-scroll","col-resize":"col-resize","row-resize":"row-resize","n-resize":"n-resize","e-resize":"e-resize","s-resize":"s-resize","w-resize":"w-resize","ne-resize":"ne-resize","nw-resize":"nw-resize","se-resize":"se-resize","sw-resize":"sw-resize","ew-resize":"ew-resize","ns-resize":"ns-resize","nesw-resize":"nesw-resize","nwse-resize":"nwse-resize","zoom-in":"zoom-in","zoom-out":"zoom-out"},divideColor:({theme:e})=>e("borderColor"),divideOpacity:({theme:e})=>e("borderOpacity"),divideWidth:({theme:e})=>e("borderWidth"),dropShadow:{sm:"0 1px 1px rgb(0 0 0 / 0.05)",DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],md:["0 4px 3px rgb(0 0 0 / 0.07)","0 2px 2px rgb(0 0 0 / 0.06)"],lg:["0 10px 8px rgb(0 0 0 / 0.04)","0 4px 3px rgb(0 0 0 / 0.1)"],xl:["0 20px 13px rgb(0 0 0 / 0.03)","0 8px 5px rgb(0 0 0 / 0.08)"],"2xl":"0 25px 25px rgb(0 0 0 / 0.15)",none:"0 0 #0000"},fill:({theme:e})=>({none:"none",...e("colors")}),flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},flexBasis:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%"}),flexGrow:{0:"0",DEFAULT:"1"},flexShrink:{0:"0",DEFAULT:"1"},fontFamily:{sans:["ui-sans-serif","system-ui","sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"','"Noto Color Emoji"'],serif:["ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"],mono:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"]},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"}]},fontWeight:{thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},gap:({theme:e})=>e("spacing"),gradientColorStops:({theme:e})=>e("colors"),gradientColorStopPositions:{"0%":"0%","5%":"5%","10%":"10%","15%":"15%","20%":"20%","25%":"25%","30%":"30%","35%":"35%","40%":"40%","45%":"45%","50%":"50%","55%":"55%","60%":"60%","65%":"65%","70%":"70%","75%":"75%","80%":"80%","85%":"85%","90%":"90%","95%":"95%","100%":"100%"},grayscale:{0:"0",DEFAULT:"100%"},gridAutoColumns:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridAutoRows:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridColumn:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridColumnEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridColumnStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridRow:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridRowEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridRowStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridTemplateColumns:{none:"none",subgrid:"subgrid",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))"},gridTemplateRows:{none:"none",subgrid:"subgrid",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))"},height:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),hueRotate:{0:"0deg",15:"15deg",30:"30deg",60:"60deg",90:"90deg",180:"180deg"},inset:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%"}),invert:{0:"0",DEFAULT:"100%"},keyframes:{spin:{to:{transform:"rotate(360deg)"}},ping:{"75%, 100%":{transform:"scale(2)",opacity:"0"}},pulse:{"50%":{opacity:".5"}},bounce:{"0%, 100%":{transform:"translateY(-25%)",animationTimingFunction:"cubic-bezier(0.8,0,1,1)"},"50%":{transform:"none",animationTimingFunction:"cubic-bezier(0,0,0.2,1)"}}},letterSpacing:{tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeight:{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"},listStyleType:{none:"none",disc:"disc",decimal:"decimal"},listStyleImage:{none:"none"},margin:({theme:e})=>({auto:"auto",...e("spacing")}),lineClamp:{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6"},maxHeight:({theme:e})=>({...e("spacing"),none:"none",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),maxWidth:({theme:e,breakpoints:t})=>({...e("spacing"),none:"none",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",prose:"65ch",...t(e("screens"))}),minHeight:({theme:e})=>({...e("spacing"),full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),minWidth:({theme:e})=>({...e("spacing"),full:"100%",min:"min-content",max:"max-content",fit:"fit-content"}),objectPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},opacity:{0:"0",5:"0.05",10:"0.1",15:"0.15",20:"0.2",25:"0.25",30:"0.3",35:"0.35",40:"0.4",45:"0.45",50:"0.5",55:"0.55",60:"0.6",65:"0.65",70:"0.7",75:"0.75",80:"0.8",85:"0.85",90:"0.9",95:"0.95",100:"1"},order:{first:"-9999",last:"9999",none:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12"},outlineColor:({theme:e})=>e("colors"),outlineOffset:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},outlineWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},padding:({theme:e})=>e("spacing"),placeholderColor:({theme:e})=>e("colors"),placeholderOpacity:({theme:e})=>e("opacity"),ringColor:({theme:e})=>({DEFAULT:e("colors.blue.500","#3b82f6"),...e("colors")}),ringOffsetColor:({theme:e})=>e("colors"),ringOffsetWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},ringOpacity:({theme:e})=>({DEFAULT:"0.5",...e("opacity")}),ringWidth:{DEFAULT:"3px",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},rotate:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",45:"45deg",90:"90deg",180:"180deg"},saturate:{0:"0",50:".5",100:"1",150:"1.5",200:"2"},scale:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5"},screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},scrollMargin:({theme:e})=>({...e("spacing")}),scrollPadding:({theme:e})=>e("spacing"),sepia:{0:"0",DEFAULT:"100%"},skew:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg"},space:({theme:e})=>({...e("spacing")}),spacing:{px:"1px",0:"0px",.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"},stroke:({theme:e})=>({none:"none",...e("colors")}),strokeWidth:{0:"0",1:"1",2:"2"},supports:{},data:{},textColor:({theme:e})=>e("colors"),textDecorationColor:({theme:e})=>e("colors"),textDecorationThickness:{auto:"auto","from-font":"from-font",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},textIndent:({theme:e})=>({...e("spacing")}),textOpacity:({theme:e})=>e("opacity"),textUnderlineOffset:{auto:"auto",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},transformOrigin:{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"},transitionDelay:{0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionDuration:{DEFAULT:"150ms",0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionProperty:{none:"none",all:"all",DEFAULT:"color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",colors:"color, background-color, border-color, text-decoration-color, fill, stroke",opacity:"opacity",shadow:"box-shadow",transform:"transform"},transitionTimingFunction:{DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)",linear:"linear",in:"cubic-bezier(0.4, 0, 1, 1)",out:"cubic-bezier(0, 0, 0.2, 1)","in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},translate:({theme:e})=>({...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%"}),size:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",min:"min-content",max:"max-content",fit:"fit-content"}),width:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",screen:"100vw",svw:"100svw",lvw:"100lvw",dvw:"100dvw",min:"min-content",max:"max-content",fit:"fit-content"}),willChange:{auto:"auto",scroll:"scroll-position",contents:"contents",transform:"transform"},zIndex:{auto:"auto",0:"0",10:"10",20:"20",30:"30",40:"40",50:"50"}},plugins:[]}});var XO=be(yv=>{"use strict";Object.defineProperty(yv,"__esModule",{value:!0});Object.defineProperty(yv,"default",{enumerable:!0,get:function(){return HO}});var LJ=RJ(GO()),MJ=Ma();function RJ(e){return e&&e.__esModule?e:{default:e}}function HO(e){var t;let n=((t=e==null?void 0:e.presets)!==null&&t!==void 0?t:[LJ.default]).slice().reverse().flatMap(r=>HO(r instanceof Function?r():r)),i={respectDefaultRingColorOpacity:{theme:{ringColor:({theme:r})=>({DEFAULT:"#3b82f67f",...r("colors")})}},disableColorOpacityUtilitiesByDefault:{corePlugins:{backgroundOpacity:!1,borderOpacity:!1,divideOpacity:!1,placeholderOpacity:!1,ringOpacity:!1,textOpacity:!1}}},o=Object.keys(i).filter(r=>(0,MJ.flagEnabled)(e,r)).map(r=>i[r]);return[e,...o,...n]}});var YO=be(bv=>{"use strict";Object.defineProperty(bv,"__esModule",{value:!0});Object.defineProperty(bv,"default",{enumerable:!0,get:function(){return VJ}});var BJ=JO(KO()),UJ=JO(XO());function JO(e){return e&&e.__esModule?e:{default:e}}function VJ(...e){let[,...t]=(0,UJ.default)(e[0]);return(0,BJ.default)([...e,...t])}});var ZO=be((Mre,QO)=>{var gv=YO();QO.exports=(gv.__esModule?gv:{default:gv}).default});var x2=ji(Zi()),_2=ji(nE()),w2=ji(lE()),Gf=ji(bS());import*as C2 from"prettier/plugins/angular";import*as A2 from"prettier/plugins/babel";var s2=ji(IS());import*as i2 from"fs/promises";import{createRequire as $J}from"module";import*as ii from"path";import{pathToFileURL as qJ}from"url";import{dirname as OS,resolve as NS}from"path";import{readdirSync as NM,statSync as FM}from"fs";function FS(e,t){let n=NS(".",e),i;for(FM(n).isDirectory()||(n=OS(n));;){if(i=t(n,NM(n)),i)return NS(n,i);if(n=OS(i=n),i===n)break}}var Ur=ji(Ui(),1),D_=Ur.default,RQ=Ur.default.stringify,BQ=Ur.default.fromJSON,UQ=Ur.default.plugin,VQ=Ur.default.parse,$Q=Ur.default.list,qQ=Ur.default.document,WQ=Ur.default.comment,KQ=Ur.default.atRule,zQ=Ur.default.rule,GQ=Ur.default.decl,HQ=Ur.default.root,XQ=Ur.default.CssSyntaxError,JQ=Ur.default.Declaration,YQ=Ur.default.Container,QQ=Ur.default.Processor,ZQ=Ur.default.Document,eZ=Ur.default.Comment,tZ=Ur.default.Warning,rZ=Ur.default.AtRule,nZ=Ur.default.Result,iZ=Ur.default.Input,sZ=Ur.default.Rule,aZ=Ur.default.Root,oZ=Ur.default.Node;var a2=ji(nC()),o2=ji(Db()),l2=ji(Vd()),u2=ji(NO()),c2=ji(ZO());import WJ from"prettier";function vv(e){let t=new Map;return{get(n){if(t.has(n)){let i=t.get(n);if(i.expiration>new Date)return i.value}},set(n,i){let o=new Date;o.setMilliseconds(o.getMilliseconds()+e),t.set(n,{value:i,expiration:o})}}}var p2=$J(import.meta.url),e2=new Map,t2=new Map,r2=vv(1e4),n2=vv(1e4);async function d2(e){let t=`${e.filepath}:${e.tailwindConfig??""}:${e.tailwindEntryPoint??""}`,n=await zJ(e),i=e2.get(t);i===void 0&&(i=XJ(e,n),e2.set(t,i));let o=t2.get(t);o===void 0&&(o=JJ(e,n),t2.set(t,o));let r=`${i}:${o}`,u=r2.get(r);if(u)return u;let a=await GJ(n,i,o);return r2.set(r,a),a}async function KJ(e){let t=n2.get(e.filepath);if(t!==void 0)return t;let n=await WJ.resolveConfigFile(e.filepath);return n2.set(e.filepath,n),n}async function zJ(e){let t=await KJ(e);return e.tailwindConfig?t?ii.dirname(t):process.cwd():e.tailwindEntryPoint?t?ii.dirname(t):process.cwd():t?ii.dirname(t):e.filepath?ii.dirname(e.filepath):process.cwd()}async function GJ(e,t,n){let i=l2.createContext,o=o2.generateRules,r=c2.default,u=u2.default,a={};try{let d=p2.resolve("tailwindcss/package.json",{paths:[e]}),s=ii.dirname(d);try{let l=await HJ(e,s,n);if(l)return l}catch{}r=yt(ii.join(s,"resolveConfig")),i=yt(ii.join(s,"lib/lib/setupContextUtils")).createContext,o=yt(ii.join(s,"lib/lib/generateRules")).generateRules,u=yt(ii.join(s,"loadConfig"))}catch{}if(t){(0,s2.default)(t);let d=u(t);a=d.default??d}return a.content=["no-op"],{context:i(r(a)),generateRules:o}}async function HJ(e,t,n){let i=p2.resolve("tailwindcss",{paths:[e]}),o=await import(qJ(i).toString());if(!o.__unstable__loadDesignSystem)return null;n=n??`${t}/theme.css`;let r=await i2.readFile(n,"utf-8"),a=await D_([(0,a2.default)()]).process(r,{from:n}),m=o.__unstable__loadDesignSystem(a.css);return{context:{getClassOrder:d=>m.getClassOrder(d)},generateRules:()=>[]}}function XJ(e,t){if(e.tailwindConfig)return ii.resolve(t,e.tailwindConfig);let n;try{n=FS(t,(i,o)=>{if(o.includes("tailwind.config.js"))return"tailwind.config.js";if(o.includes("tailwind.config.cjs"))return"tailwind.config.cjs";if(o.includes("tailwind.config.mjs"))return"tailwind.config.mjs";if(o.includes("tailwind.config.ts"))return"tailwind.config.ts"})}catch{}return n||null}function JJ(e,t){return e.tailwindEntryPoint?ii.resolve(t,e.tailwindEntryPoint):null}var YJ={tailwindConfig:{since:"0.0.0",type:"string",category:"Tailwind CSS",description:"Path to Tailwind configuration file"},tailwindEntryPoint:{since:"0.0.0",type:"string",category:"Tailwind CSS",description:"Path to the CSS entrypoint in your Tailwind project (v4+)"},tailwindAttributes:{since:"0.3.0",type:"string",array:!0,default:[{value:[]}],category:"Tailwind CSS",description:"List of attributes/props that contain sortable Tailwind classes"},tailwindFunctions:{since:"0.3.0",type:"string",array:!0,default:[{value:[]}],category:"Tailwind CSS",description:"List of functions and tagged templates that contain sortable Tailwind classes"}};function f2(e,t,n){let i=new Set(n.staticAttrs),o=new Set(n.dynamicAttrs),r=new Set(n.functions);for(let u of e.tailwindAttributes??[])t==="vue"&&u.startsWith(":")?i.add(u.slice(1)):t==="vue"&&u.startsWith("v-bind:")?i.add(u.slice(7)):t==="vue"&&u.startsWith("v-")?o.add(u):t==="angular"&&u.startsWith("[")&&u.endsWith("]")?i.add(u.slice(1,-1)):i.add(u);for(let u of i)t==="vue"?(o.add(`:${u}`),o.add(`v-bind:${u}`)):t==="angular"&&o.add(`[${u}]`);for(let u of e.tailwindFunctions??[])r.add(u);return{functions:r,staticAttrs:i,dynamicAttrs:o}}import{createRequire as QJ}from"module";import*as h2 from"prettier/plugins/acorn";import*as yc from"prettier/plugins/babel";import*as m2 from"prettier/plugins/flow";import*as y2 from"prettier/plugins/glimmer";import*as bc from"prettier/plugins/html";import*as b2 from"prettier/plugins/meriyah";import*as Wf from"prettier/plugins/postcss";import*as g2 from"prettier/plugins/typescript";async function Wa(e){try{if(createRequire(import.meta.url).resolve(e)){let t=await import(e);return t.default??t}}catch{return{parsers:{},printers:{}}}}async function v2(){let e=await ZJ(),t=await eY(),n=await tY(),i={...e.parsers,...t.parsers},o={...e.printers,...t.printers};function r(a){try{return QJ.resolve(a)}catch{return null}}function u(a,m,d){let s=r(m);for(let l of a.plugins)if(l.name===m||l.name===s||l.parsers&&d.parsers&&l.parsers==d.parsers)return d;return null}return{parsers:i,printers:o,originalParser(a,m){if(!m.plugins)return i[a];let d={...i[a]};for(let{name:s,mod:l}of n){let f=u(m,s,l);f&&Object.assign(d,f.parsers[a])}return d}}}async function ZJ(){return{parsers:{html:bc.parsers.html,glimmer:y2.parsers.glimmer,lwc:bc.parsers.lwc,angular:bc.parsers.angular,vue:bc.parsers.vue,css:Wf.parsers.css,scss:Wf.parsers.scss,less:Wf.parsers.less,babel:yc.parsers.babel,"babel-flow":yc.parsers["babel-flow"],flow:m2.parsers.flow,typescript:g2.parsers.typescript,"babel-ts":yc.parsers["babel-ts"],acorn:h2.parsers.acorn,meriyah:b2.parsers.meriyah,__js_expression:yc.parsers.__js_expression},printers:{}}}async function eY(){let[e,t,n,i,o,r]=await Promise.all([Wa("prettier-plugin-astro"),Wa("@shopify/prettier-plugin-liquid"),Wa("prettier-plugin-marko"),Wa("@zackad/prettier-plugin-twig-melody"),Wa("@prettier/plugin-pug"),Wa("prettier-plugin-svelte")]);return{parsers:{...e.parsers,...t.parsers,...n.parsers,...i.parsers,...o.parsers,...r.parsers},printers:{...r.printers}}}async function tY(){let e=["@ianvs/prettier-plugin-sort-imports","@trivago/prettier-plugin-sort-imports","prettier-plugin-organize-imports","prettier-plugin-css-order","prettier-plugin-import-sort","prettier-plugin-jsdoc","prettier-plugin-organize-attributes","prettier-plugin-style-order","prettier-plugin-sort-imports"];return await Promise.all(e.map(async t=>{let n=await Wa(t);return{name:t,mod:n}}))}function E2(e){return(e>0n)-(e<0n)}function T2(e,t){let n=e.tailwindConfig.prefix;return typeof n=="function"?n(t):n+t}function rY(e,{env:t}){var o;let n=new Set([T2(t.context,"group"),T2(t.context,"peer")]),i=[];for(let r of e){let u=((o=t.generateRules(new Set([r]),t.context).sort(([a],[m])=>E2(m-a))[0])==null?void 0:o[0])??null;u===null&&n.has(r)&&(u=t.context.layerOrder.components),i.push([r,u])}return i}function Cn(e,{env:t,ignoreFirst:n=!1,ignoreLast:i=!1,tidyWhitespace:o={start:!0,end:!0}}){if(typeof e!="string"||e===""||e.includes("{{"))return e;let r="",u=e.split(/([\t\r\f\n ]+)/),a=u.filter((l,f)=>f%2===0),m=u.filter((l,f)=>f%2!==0);a[a.length-1]===""&&a.pop(),o&&(m=m.map(()=>" "));let d="";n&&(d=`${a.shift()??""}${m.shift()??""}`);let s="";i&&(s=`${m.pop()??""}${a.pop()??""}`),a=a.filter((l,f,p)=>p.indexOf(l)===f?!0:(m.splice(f-1,1),!1)),a=Tv(a,{env:t});for(let l=0;l<a.length;l++)r+=`${a[l]}${m[l]??""}`;return o&&(r=r.replace(/^\s+/,o.start?"":" ").replace(/\s+$/,o.end?"":" ")),d+r+s}function Tv(e,{env:t}){return(t.context.getClassOrder?t.context.getClassOrder(e):rY(e,{env:t})).sort(([,i],[,o])=>i===o?0:i===null?-1:o===null?1:E2(i-o)).map(([i])=>i)}function js(e,t){function n(i,o,r,u,a={}){if(typeof t=="function"){if(t(i,o,r,u,a)===!1)return}else if(i.type in t&&t[i.type](i,o,r,u,a)===!1)return;let m=Object.keys(i);for(let d=0;d<m.length;d++){let s=i[m[d]];if(Array.isArray(s))for(let l=0;l<s.length;l++)s[l]!==null&&n(s[l],i,m[d],l,{...a});else typeof(s==null?void 0:s.type)=="string"&&n(s,i,m[d],d,{...a})}}n(e)}var si=await v2();function rn(e,t,n={}){let i={staticAttrs:new Set(n.staticAttrs??[]),dynamicAttrs:new Set(n.dynamicAttrs??[]),functions:new Set(n.functions??[])};return{...si.parsers[e],preprocess(o,r){let u=si.originalParser(e,r);return u.preprocess?u.preprocess(o,r):o},async parse(o,r){let{context:u,generateRules:a}=await d2(r),m=si.originalParser(e,r);m.astFormat in S2&&(r.printer=S2[m.astFormat]);let d=await m.parse(o,r,r),s=f2(r,e,i),l=[];return t(d,{env:{context:u,customizations:s,generateRules:a,parsers:{},options:r},changes:l}),e==="svelte"&&(d.changes=l),d}}}function nY(e,t){let n=[C2.parsers.__ng_directive,{parse:t.parsers.__js_expression}],i=[];for(let o of n)try{return o.parse(e,t.parsers,t.options)}catch(r){i.push(r)}console.warn("prettier-plugin-tailwindcss: Unable to parse angular directive"),i.forEach(o=>console.warn(o))}function iY(e,t){let n=nY(e.value,t);n&&js(n,{StringLiteral(i){i.value&&(e.value=e.value.slice(0,i.start+1)+Cn(i.value,{env:t})+e.value.slice(i.end-1))}})}function P2(e,t){let{functions:n}=t.customizations,i=Gf.parse(`let __prettier_temp__ = ${e.value}`,{parser:A2.parsers["babel-ts"]}),o=!1;x2.visit(i,{visitLiteral(r){if(zf(r.node)&&Kf(r.node,{env:t})){o=!0;let u=r.node.extra.raw[0],a=(0,_2.default)(r.node.value,{quotes:u==="'"?"single":"double"});r.node.value=new String(u+a+u)}this.traverse(r)},visitTemplateLiteral(r){il(r.node,{env:t})&&(o=!0),this.traverse(r)},visitTaggedTemplateExpression(r){Sv(r.node,n)&&il(r.node.quasi,{env:t})&&(o=!0),this.traverse(r)}}),o&&(e.value=Gf.print(i.program.body[0].declarations[0].init).code)}function gc(e,{env:t,changes:n}){let{staticAttrs:i,dynamicAttrs:o}=t.customizations,{parser:r}=t.options;for(let u of e.attrs??[])if(i.has(u.name))u.value=Cn(u.value,{env:t});else if(o.has(u.name)){if(!/[`'"]/.test(u.value))continue;r==="angular"?iY(u,t):P2(u,t)}for(let u of e.children??[])gc(u,{env:t,changes:n})}function sY(e,{env:t}){let{staticAttrs:n}=t.customizations;js(e,{AttrNode(i,o,r,u,a){n.has(i.name)&&i.value&&(a.sortTextNodes=!0)},TextNode(i,o,r,u,a){if(!a.sortTextNodes)return;let m=(o==null?void 0:o.type)==="ConcatStatement"?{prev:o.parts[u-1],next:o.parts[u+1]}:null;i.chars=Cn(i.chars,{env:t,ignoreFirst:(m==null?void 0:m.prev)&&!/^\s/.test(i.chars),ignoreLast:(m==null?void 0:m.next)&&!/\s$/.test(i.chars)})},StringLiteral(i,o,r,u,a){if(!a.sortTextNodes)return;let m=o.type==="SubExpression"&&o.path.original==="concat";i.value=Cn(i.value,{env:t,ignoreLast:m&&!/[^\S\r\n]$/.test(i.value)})}})}function aY(e,{env:t}){let{staticAttrs:n}=t.customizations;function i(m){return Array.isArray(m.name)?m.name.every(d=>d.type==="TextNode"&&n.has(d.value)):n.has(m.name)}function o(m){let d=m[0],s=m[m.length-1];return d===s&&(d==='"'||d==="'"||d==="`")}let r=[],u=[];function a(m){for(let d=0;d<m.value.length;d++){let s=m.value[d];s.type==="TextNode"?(s.value=Cn(s.value,{env:t,ignoreFirst:d>0&&!/^\s/.test(s.value),ignoreLast:d<m.value.length-1&&!/\s$/.test(s.value)}),u.push({pos:s.position,value:s.value})):(s.type==="LiquidDrop"||s.type==="LiquidVariableOutput")&&typeof s.markup=="object"&&s.markup.type==="LiquidVariable"&&js(s.markup.expression,{String(l){let f={...l.position};o(l.source.slice(f.start,f.end))&&(f.start+=1,f.end-=1),l.value=Cn(l.value,{env:t}),u.push({pos:f,value:l.value})}})}}js(e,{LiquidTag(m){r.push(m)},HtmlElement(m){r.push(m)},AttrSingleQuoted(m){i(m)&&(r.push(m),a(m))},AttrDoubleQuoted(m){i(m)&&(r.push(m),a(m))}}),u=u.sort((m,d)=>m.pos.start-d.pos.start||m.pos.end-d.pos.end);for(let m of u)for(let d of r)d.source=d.source.slice(0,m.pos.start)+m.value+d.source.slice(m.pos.end)}function Kf(e,{env:t}){let n=Cn(e.value,{env:t}),i=n!==e.value;if(e.value=n,e.extra){let o=e.extra.raw;e.extra={...e.extra,rawValue:n,raw:o[0]+n+o.slice(-1)}}else{let o=e.raw;e.raw=o[0]+n+o.slice(-1)}return i}function zf(e){return e.type==="StringLiteral"||e.type==="Literal"&&typeof e.value=="string"}function il(e,{env:t}){let n=!1;for(let i=0;i<e.quasis.length;i++){let o=e.quasis[i],r=o.value.raw===o.value.cooked,u=o.value.raw,a=o.value.cooked;o.value.raw=Cn(o.value.raw,{env:t,ignoreFirst:i>0&&!/^\s/.test(o.value.raw),ignoreLast:i<e.expressions.length&&!/\s$/.test(o.value.raw),tidyWhitespace:{start:i===0,end:i>=e.expressions.length}}),o.value.cooked=r?o.value.raw:Cn(o.value.cooked,{env:t,ignoreFirst:i>0&&!/^\s/.test(o.value.cooked),ignoreLast:i<e.expressions.length&&!/\s$/.test(o.value.cooked),tidyWhitespace:{start:i===0,end:i>=e.expressions.length}}),(o.value.raw!==u||o.value.cooked!==a)&&(n=!0)}return n}function Sv(e,t){if(e.tag.type==="Identifier")return t.has(e.tag.name);if(e.tag.type==="MemberExpression"){let n=e.tag.object;for(;n.type==="MemberExpression";)n=n.object;if(n.type==="Identifier")return t.has(n.name)}return!1}function oY(e,t){var n;if(!((n=e.arguments)!=null&&n.length))return!1;if(e.callee.type==="Identifier")return t.has(e.callee.name);if(e.callee.type==="MemberExpression"){let i=e.callee.object;for(;i.type==="MemberExpression";)i=i.object;if(i.type==="Identifier")return t.has(i.name)}return!1}function Ls(e,{env:t}){let{staticAttrs:n,functions:i}=t.customizations;function o(r){js(r,u=>{zf(u)?Kf(u,{env:t}):u.type==="TemplateLiteral"?il(u,{env:t}):u.type==="TaggedTemplateExpression"&&Sv(u,i)&&il(u.quasi,{env:t})})}js(e,{JSXAttribute(r){r.value&&typeof r.name.name=="string"&&n.has(r.name.name)&&(zf(r.value)?Kf(r.value,{env:t}):r.value.type==="JSXExpressionContainer"&&o(r.value))},CallExpression(r){oY(r,i)&&r.arguments.forEach(u=>o(u))},TaggedTemplateExpression(r){Sv(r,i)&&il(r.quasi,{env:t})}})}function Ev(e,{env:t}){e.walk(n=>{n.type==="css-atrule"&&n.name==="apply"&&(n.params=Cn(n.params,{env:t,ignoreLast:/\s+(?:!important|#{(['"]*)!important\1})\s*$/.test(n.params)}))})}function k2(e,{env:t,changes:n}){let{staticAttrs:i,dynamicAttrs:o}=t.customizations;if(e.type==="element"||e.type==="custom-element"||e.type==="component")for(let r of e.attributes??[])i.has(r.name)&&r.type==="attribute"&&r.kind==="quoted"?r.value=Cn(r.value,{env:t}):o.has(r.name)&&r.type==="attribute"&&r.kind==="expression"&&typeof r.value=="string"&&P2(r,t);for(let r of e.children??[])k2(r,{env:t,changes:n})}function lY(e,{env:t}){let{staticAttrs:n}=t.customizations,i=[e];for(;i.length>0;){let o=i.pop();switch(o.type){case"File":i.push(o.program);break;case"Program":i.push(...o.body);break;case"MarkoTag":i.push(...o.attributes),i.push(o.body);break;case"MarkoTagBody":i.push(...o.body);break;case"MarkoAttribute":if(!n.has(o.name))break;switch(o.value.type){case"ArrayExpression":let r=o.value.elements;for(let u of r)u.type==="StringLiteral"&&(u.value=Cn(u.value,{env:t}));break;case"StringLiteral":o.value.value=Cn(o.value.value,{env:t});break}break}}}function D2(e,{env:t,changes:n}){let{staticAttrs:i}=t.customizations;for(let o of e.expressions??[])D2(o,{env:t,changes:n});js(e,{Attribute(o,r,u,a,m){i.has(o.name.name)&&(m.sortTextNodes=!0)},StringLiteral(o,r,u,a,m){if(!m.sortTextNodes)return;let d=r.type==="BinaryConcatExpression";o.value=Cn(o.value,{env:t,ignoreFirst:d&&u==="right"&&!/^[^\S\r\n]/.test(o.value),ignoreLast:d&&u==="left"&&!/[^\S\r\n]$/.test(o.value)})}})}function uY(e,{env:t}){let{staticAttrs:n}=t.customizations;for(let u of e.tokens)u.type==="attribute"&&n.has(u.name)&&(u.val=[u.val.slice(0,1),Cn(u.val.slice(1,-1),{env:t}),u.val.slice(-1)].join(""));let i=-1,o=-1,r=[];for(let u=0;u<e.tokens.length;u++)e.tokens[u].type==="class"?(i=i===-1?u:i,o=u):i!==-1&&(r.push([i,o]),i=-1,o=-1);i!==-1&&(r.push([i,o]),i=-1,o=-1);for(let[u,a]of r){let m=e.tokens.slice(u,a+1).map(s=>s.val),d=Tv(m,{env:t});for(let s=u;s<=a;s++)e.tokens[s].val=d[s-u]}}function vc(e,{env:t,changes:n}){var o;let{staticAttrs:i}=t.customizations;for(let r of e.attributes??[])if(!(!i.has(r.name)||r.type!=="Attribute"))for(let u=0;u<r.value.length;u++){let a=r.value[u];if(a.type==="Text"){let m=a.raw===a.data;a.raw=Cn(a.raw,{env:t,ignoreFirst:u>0&&!/^\s/.test(a.raw),ignoreLast:u<r.value.length-1&&!/\s$/.test(a.raw),tidyWhitespace:{start:u===0,end:u>=r.value.length-1}}),a.data=m?a.raw:Cn(a.data,{env:t,ignoreFirst:u>0&&!/^\s/.test(a.data),ignoreLast:u<r.value.length-1&&!/\s$/.test(a.data),tidyWhitespace:{start:u===0,end:u>=r.value.length-1}})}else a.type==="MustacheTag"&&js(a.expression,{Literal(m){zf(m)&&Kf(m,{env:t})&&n.push({text:m.raw,loc:m.loc})},TemplateLiteral(m){if(il(m,{env:t}))for(let d of m.quasis)n.push({text:d.value.raw,loc:d.loc})}})}for(let r of e.children??[])vc(r,{env:t,changes:n});if(e.type==="IfBlock")for(let r of((o=e.else)==null?void 0:o.children)??[])vc(r,{env:t,changes:n});if(e.type==="AwaitBlock"){let r=[e.pending,e.then,e.catch];for(let u of r)vc(u,{env:t,changes:n})}e.html&&vc(e.html,{env:t,changes:n})}var S2=function(){let e={};if(si.printers["svelte-ast"]){let t=function(i,o){if(o.__mutatedOriginalText)return;o.__mutatedOriginalText=!0;let r=i.stack[0].changes;if(r!=null&&r.length){let u=(0,w2.default)(o.originalText);for(let a of r){let m=u.toIndex(a.loc.start.line,a.loc.start.column+1),d=u.toIndex(a.loc.end.line,a.loc.end.column+1);o.originalText=o.originalText.substring(0,m)+a.text+o.originalText.substring(d)}}},n=si.printers["svelte-ast"];e["svelte-ast"]={...n,print:(i,o,r)=>(t(i,o),si.printers["svelte-ast"].print(i,o,r)),embed:(i,o)=>(t(i,o),si.printers["svelte-ast"].embed(i,o))}}return e}(),ine={html:rn("html",gc,{staticAttrs:["class"]}),glimmer:rn("glimmer",sY,{staticAttrs:["class"]}),lwc:rn("lwc",gc,{staticAttrs:["class"]}),angular:rn("angular",gc,{staticAttrs:["class"],dynamicAttrs:["[ngClass]"]}),vue:rn("vue",gc,{staticAttrs:["class"],dynamicAttrs:[":class","v-bind:class"]}),css:rn("css",Ev),scss:rn("scss",Ev),less:rn("less",Ev),babel:rn("babel",Ls,{staticAttrs:["class","className"]}),"babel-flow":rn("babel-flow",Ls,{staticAttrs:["class","className"]}),flow:rn("flow",Ls,{staticAttrs:["class","className"]}),typescript:rn("typescript",Ls,{staticAttrs:["class","className"]}),"babel-ts":rn("babel-ts",Ls,{staticAttrs:["class","className"]}),acorn:rn("acorn",Ls,{staticAttrs:["class","className"]}),meriyah:rn("meriyah",Ls,{staticAttrs:["class","className"]}),__js_expression:rn("__js_expression",Ls,{staticAttrs:["class","className"]}),...si.parsers.svelte?{svelte:rn("svelte",vc,{staticAttrs:["class"]})}:{},...si.parsers.astro?{astro:rn("astro",k2,{staticAttrs:["class","className"],dynamicAttrs:["class:list","className"]})}:{},...si.parsers.astroExpressionParser?{astroExpressionParser:rn("astroExpressionParser",Ls,{staticAttrs:["class"],dynamicAttrs:["class:list"]})}:{},...si.parsers.marko?{marko:rn("marko",lY,{staticAttrs:["class"]})}:{},...si.parsers.melody?{melody:rn("melody",D2,{staticAttrs:["class"]})}:{},...si.parsers.pug?{pug:rn("pug",uY,{staticAttrs:["class"]})}:{},...si.parsers["liquid-html"]?{"liquid-html":rn("liquid-html",aY,{staticAttrs:["class"]})}:{}};export{YJ as options,ine as parsers,S2 as printers};
/*! Bundled license information:
isobject/index.js: |
Beta Was this translation helpful? Give feedback.
All reactions
-
For those who want the whitespace and duplicate remover today, you can patch Here are the instructions: #13708 (comment) The maintainers of the awesome Till then, happy patching away! |
Beta Was this translation helpful? Give feedback.
All reactions
-
😕 1
-
Thanks for the note about the patching.
I would disagree with this - it introduces 2 more required dependencies for features which arguably should be responsibilities of So if it's possible for the functionality from the two packages to be absorbed into There's not much code to either of the packages: |
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1
-
Tailwind folks have the final say! |
Beta Was this translation helpful? Give feedback.
All reactions
-
😕 1
-
Workaround (use
|
Beta Was this translation helpful? Give feedback.
All reactions
-
I deprecated Thanks! |
Beta Was this translation helpful? Give feedback.
All reactions
-
@karlhorky I am looking forward to a fix in the official plugin. If possible raise a PR here as well. |
Beta Was this translation helpful? Give feedback.
All reactions
-
We're working on this right now actually :) Hope to have a PR open tomorrow. I've run into some edge cases that need to be addressed before we can. |
Beta Was this translation helpful? Give feedback.
All reactions
-
🎉 8 -
❤️ 8
-
@thecrypticace feel free to share your draft pr link or more details about the edge cases so that we can help with them. Appreciate your effort. |
Beta Was this translation helpful? Give feedback.
All reactions
-
You can find it here: tailwindlabs/prettier-plugin-tailwindcss#272 |
Beta Was this translation helpful? Give feedback.
All reactions
-
❤️ 1 -
🚀 1
-
Support for this has been released in v0.6.0 and it's on by default!
|
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 9 -
🎉 14 -
❤️ 1 -
🚀 1
-
Okay, so it's an issue of the two things happening at the same time and doing poor index replacements 😂 I can help take a look at the Shopify liquid plugin to tackle it from that side |
Beta Was this translation helpful? Give feedback.
All reactions
-
Yup, My guess is that they're using the start/end locations in the AST to slice a string in some instances rather than print based on the value of the AST nodes (probably because it's generally simpler).
That'd be epic tbh. I'll definitely re-enable it there if it gets fixed. I'd love for Svelte to also not rely on options.originalText + indexes too. Though I imagine that's probably a bit of an undertaking. |
Beta Was this translation helpful? Give feedback.
All reactions
-
@thecrypticace I have installed the lastest version of prettier. But is not work. It's not removing extra white space b/w classes. |
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 2
-
@Amitsharma45 open an issue with a reproduction and I'll take a look 👍 |
Beta Was this translation helpful? Give feedback.
All reactions
-
@Amitsharma45 did you end up opening an issue for this? I would like to follow but couldn't seem to find it. |
Beta Was this translation helpful? Give feedback.
All reactions
This discussion was converted from issue #7559 on February 21, 2022 13:06.
-
Awesome work on this plugin! The only thing Headwind is doing that's currently missing is also removing duplicate class names and extra spaces. Would be a nice addition.
Beta Was this translation helpful? Give feedback.
All reactions