Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package breaks when using import assertions #270

Open
Csszabi98 opened this issue Nov 21, 2023 · 12 comments · May be fixed by #273 or #293
Open

Package breaks when using import assertions #270

Csszabi98 opened this issue Nov 21, 2023 · 12 comments · May be fixed by #273 or #293

Comments

@Csszabi98
Copy link

Your Environment

  • Prettier version: 3.1.0
  • node version 18.17.1
  • package manager: [email protected]
  • IDE: VSCode, CLI

Describe the bug

When running prettier against the import assertion syntax,
(import X from 'y' assert { type: 'json' })
both using the new with and the deprecated assert keywords,
the passing breaks for the given file.

This is especially problematic because newer node versions require the assertion to be present when running under esm otherwise
the application will throw runtime exceptions, if not running through a bundler first ERR_IMPORT_ASSERTION_TYPE_MISSING.

To Reproduce

  1. Open the reproduciton
    prettier-plugin-import-attributes-issue.zip
  2. npm install && npm run prettier

Notes:

  • Babel is properly set up in the example:
    .prettierrc.cjs
importOrderParserPlugins: [
    'typescript',
    'jsx',
    '["importAttributes", { "deprecatedAssertSyntax": true }]',
]

Expected behavior

Import assertions should not break the parsing.

Screenshots, code sample, etc

image

Configuration File (.prettier.cjs)

module.exports = {
  plugins: [require.resolve('@trivago/prettier-plugin-sort-imports')],
  arrowParens: 'always',
  bracketSameLine: false,
  bracketSpacing: true,
  importOrder: ['<THIRD_PARTY_MODULES>', '^@/(.*)$', '^[./]'],
  importOrderParserPlugins: [
    'typescript',
    'jsx',
    '["importAttributes", { "deprecatedAssertSyntax": true }]',
  ],
  importOrderGroupNamespaceSpecifiers: true,
  importOrderSeparation: true,
  importOrderSortSpecifiers: true,
  quoteProps: 'as-needed',
  semi: true,
  singleAttributePerLine: true,
  singleQuote: true,
  trailingComma: 'all',
  vueIndentScriptAndStyle: false,
};

Error log

[error] src/main.ts: SyntaxError: ';' expected. (3:36)
[error]   1 | import { setupCounter } from './counter.ts';
[error]   2 | import './style.css';
[error] > 3 | import { test } from './test.json' assert { type: 'json' };
[error]     |                                    ^
[error]   4 | import typescriptLogo from './typescript.svg';
[error]   5 | import viteLogo from '/vite.svg';
[error]   6 |
@chentsulin
Copy link

After upgraded to prettier 3.1.1, the error message is changed from SyntaxError: ';' expected. to SyntaxError: '{' expected.

@chentsulin
Copy link

We need to allow passing the importAttributesKeyword option to babel-generator:

const { code } = generate(newAST);

If the importAttributesKeyword option is undefined, babel unexpectedly transforms with { type: 'json' } to with type: 'json' (with-legacy): https://github.com/babel/babel/blob/8fa2a916e0bb601e728c3d368c1e271763880f40/packages/babel-generator/src/generators/modules.ts#L102-L106

Ref: https://babeljs.io/docs/babel-generator

@chentsulin
Copy link

Another requirement is to bump @babel/generator to >=7.22.0:

"@babel/generator": "7.17.7",

Ref: https://github.com/babel/babel/releases/tag/v7.22.0

@chentsulin chentsulin linked a pull request Dec 12, 2023 that will close this issue
1 task
raineorshine added a commit to raineorshine/npm-check-updates that referenced this issue Dec 18, 2023
@trivago/prettier-plugin-sort-imports does not yet support import assertions.

See: trivago/prettier-plugin-sort-imports#270
@JulianCataldo
Copy link

JulianCataldo commented Feb 4, 2024

I have the same problem. I tried to fiddle but the Babel parser importAttributes isn't working, while importAssertions does work. That is a blocker, so I had to disable the plugin altogether, so I can still continue to format the document as needed.

@fisker
Copy link

fisker commented Feb 6, 2024

You can use ["importAttributes", { deprecatedAssertSyntax: true }] to support both new and legacy syntax.

@vincerubinetti
Copy link

Is there any solution to this, even just a way to make a prettier lint check or in-IDE check not fail? I tried // prettier-ignore, // sort-imports-ignore, // @eslint-disable-next-line, using importAttributes vs importAssertions, with vs assert, nothing works.

I need to have this because I'm importing some JSON into a Playwright test and it can't handle it without the assert for some reason.

@MillerSvt
Copy link

You can use ["importAttributes", { deprecatedAssertSyntax: true }] to support both new and legacy syntax.

it is not working

@CHC383
Copy link

CHC383 commented Jun 5, 2024

@ayusharma @byara Could someone please review #293 or #273?

@MillerSvt
Copy link

@CHC383 I think I'll post a fork if it's not reviewed this week.

@MillerSvt
Copy link

MillerSvt commented Jul 23, 2024

Sorry for the delay, you can use @miller-svt/[email protected] right now

thewilkybarkid added a commit to PREreview/prereview.org that referenced this issue Aug 27, 2024
After a few tests, it seems that the plugin has the same behaviour, with the bonus of ordering 'export' declarations.

Refs #1750, trivago/prettier-plugin-sort-imports#270
@peterhirn
Copy link

@MillerSvt Thanks for the fork 🙏

This requires a patch to prettier-plugin-tailwindcss because the original package name is hard-coded.

package.json

{
  "type": "module",
  ...
  "pnpm": {
    "patchedDependencies": {
      "prettier-plugin-tailwindcss": "patches/prettier-plugin-tailwindcss.patch"
    }
  }
}

patches/prettier-plugin-tailwindcss.patch

diff --git a/dist/index.mjs b/dist/index.mjs
index 1b9207480b9d1fa2a5faeed669b1bec233867c95..cbcde3152fcb3cec882d8b077b826827d5ffb757 100644
--- a/dist/index.mjs
+++ b/dist/index.mjs
@@ -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=nX.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(tX.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}};nv.default=rv});var AO=be(pc=>{"use strict";pc.__esModule=!0;pc.LinesAndColumns=void 0;var Wf=`
 `,wO="\r",CO=function(){function e(t){this.string=t;for(var n=[0],i=0;i<t.length;)switch(t[i]){case Wf:i+=Wf.length,n.push(i);break;case wO:i+=wO.length,t[i]===Wf&&(i+=Wf.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=CO;pc.default=CO});var PO=be(iv=>{"use strict";Object.defineProperty(iv,"__esModule",{value:!0});function CX(e){return e&&e.__esModule?e:{default:e}}var AX=AO(),PX=CX(AX),kX=ar();function DX(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 PX.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),kX.formatTokenType.call(void 0,f.type),IX(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"}}iv.default=DX;function IX(e,t){return e.length>t?`${e.slice(0,t-3)}...`:e}});var kO=be(sv=>{"use strict";Object.defineProperty(sv,"__esModule",{value:!0});function OX(e){return e&&e.__esModule?e:{default:e}}var ni=ar(),NX=Gu(),FX=OX(NX);function jX(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)&&LX(e,n,t);return t}sv.default=jX;function LX(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++,MX(e,t,n)))}function MX(e,t,n){for(;;){if(e.matches1AtIndex(t,ni.TokenType.braceR))return;let i=FX.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 OO=be(dc=>{"use strict";Object.defineProperty(dc,"__esModule",{value:!0});function ma(e){return e&&e.__esModule?e:{default:e}}var RX=eD(),BX=ma(RX),UX=cD(),VX=ma(UX),$X=pD(),qX=hD(),DO=ma(qX),WX=yD(),KX=ma(WX),zX=FD(),GX=y0(),HX=JI(),XX=ma(HX),JX=_O(),YX=ma(JX),QX=PO(),ZX=ma(QX),eJ=kO(),tJ=ma(eJ);function rJ(){return"3.34.0"}dc.getVersion=rJ;function nJ(e,t){zX.validateOptions.call(void 0,t);try{let n=IO(e,t),o=new YX.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:VX.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=nJ;function iJ(e,t){let n=IO(e,t).tokenProcessor.tokens;return ZX.default.call(void 0,e,n)}dc.getFormattedTokens=iJ;function IO(e,t){let n=t.transforms.includes("jsx"),i=t.transforms.includes("typescript"),o=t.transforms.includes("flow"),r=t.disableESTransforms===!0,u=GX.parse.call(void 0,e,n,i,o),a=u.tokens,m=u.scopes,d=new KX.default(e,a),s=new $X.HelperManager(d),l=new XX.default(e,a,o,r,s),f=!!t.enableLegacyTypeScriptModuleInterop,p=null;return t.transforms.includes("imports")?(p=new BX.default(d,l,f,t,t.transforms.includes("typescript"),!!t.keepUnusedImports,s),p.preprocessTokens(),DO.default.call(void 0,l,m,p.getGlobalNames()),t.transforms.includes("typescript")&&!t.keepUnusedImports&&p.pruneTypeOnlyImports()):t.transforms.includes("typescript")&&!t.keepUnusedImports&&DO.default.call(void 0,l,m,tJ.default.call(void 0,l)),{tokenProcessor:l,scopes:m,nameManager:d,importProcessor:p,helperManager:s}}});var NO=be(av=>{"use strict";Object.defineProperty(av,"__esModule",{value:!0});function sJ(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}sJ(av,{useCustomJiti:function(){return uJ},loadConfig:function(){return pJ}});var aJ=lJ(xk()),oJ=OO();function lJ(e){return e&&e.__esModule?e:{default:e}}var fc=null;function uJ(e){fc=e()}function cJ(){return fc??(fc=(0,aJ.default)(__filename,{interopDefault:!0,transform:e=>e.source.includes("import.meta")?$b()(e):(0,oJ.transform)(e.source,{transforms:["typescript","imports"]})}))}function pJ(e){let t=function(){try{return e?yt(e):{}}catch{return cJ()(e)}}();var n;return(n=t.default)!==null&&n!==void 0?n:t}});var FO=be(ov=>{"use strict";Object.defineProperty(ov,"__esModule",{value:!0});Object.defineProperty(ov,"default",{enumerable:!0,get:function(){return fJ}});var dJ=NO(),fJ=dJ.loadConfig});var LO=be((Nre,jO)=>{var lv=FO();jO.exports=(lv.__esModule?lv:{default:lv}).default});var MO=be(uv=>{"use strict";Object.defineProperty(uv,"__esModule",{value:!0});Object.defineProperty(uv,"default",{enumerable:!0,get:function(){return hJ}});var hJ=["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 RO=be(cv=>{"use strict";Object.defineProperty(cv,"__esModule",{value:!0});Object.defineProperty(cv,"default",{enumerable:!0,get:function(){return mJ}});function mJ(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 BO=be(pv=>{"use strict";Object.defineProperty(pv,"__esModule",{value:!0});Object.defineProperty(pv,"default",{enumerable:!0,get:function(){return gJ}});var yJ=bJ(La());function bJ(e){return e&&e.__esModule?e:{default:e}}function hc({version:e,from:t,to:n}){yJ.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 gJ={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 UO=be(dv=>{"use strict";Object.defineProperty(dv,"__esModule",{value:!0});Object.defineProperty(dv,"defaults",{enumerable:!0,get:function(){return vJ}});function vJ(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 $O=be(fv=>{"use strict";Object.defineProperty(fv,"__esModule",{value:!0});Object.defineProperty(fv,"normalizeConfig",{enumerable:!0,get:function(){return SJ}});var TJ=Ma(),el=EJ(La());function VO(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(VO=function(i){return i?n:t})(e)}function EJ(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=VO(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 SJ(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,TJ.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 qO=be(mv=>{"use strict";Object.defineProperty(mv,"__esModule",{value:!0});Object.defineProperty(mv,"cloneDeep",{enumerable:!0,get:function(){return hv}});function hv(e){return Array.isArray(e)?e.map(t=>hv(t)):typeof e=="object"&&e!==null?Object.fromEntries(Object.entries(e).map(([t,n])=>[t,hv(n)])):e}});var HO=be(bv=>{"use strict";Object.defineProperty(bv,"__esModule",{value:!0});Object.defineProperty(bv,"default",{enumerable:!0,get:function(){return UJ}});var xJ=nl(jd()),_J=nl(MO()),wJ=nl(RO()),CJ=nl(BO()),zO=UO(),WO=mb(),AJ=$O(),tl=nl(Oo()),PJ=qO(),kJ=Md(),DJ=Nd(),IJ=nl(sb());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 yv={colors:CJ.default,negative(e){return Object.keys(e).filter(t=>e[t]!=="0").reduce((t,n)=>{let i=(0,xJ.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 OJ(e,...t){return rl(e)?e(...t):e}function NJ(e){return e.reduce((t,{extend:n})=>mc(t,n,(i,o)=>i===void 0?[o]:Array.isArray(i)?[o,...i]:[o,i]),{})}function FJ(e){return{...e.reduce((t,n)=>(0,zO.defaults)(t,n),{}),extend:NJ(e)}}function KO(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 jJ({extend:e,...t}){return mc(t,e,(n,i)=>!rl(n)&&!i.some(rl)?mc({},n,...i,KO):(o,r)=>mc({},...[n,...i].map(u=>OJ(u,o,r)),KO))}function*LJ(e){let t=(0,WO.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,WO.toPath)(o);u.alpha=r,yield u}}function MJ(e){let t=(n,i)=>{for(let o of LJ(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,yv):u;if(u!==void 0){if(o.alpha!==void 0){let a=(0,kJ.parseColorFormat)(u);return(0,DJ.withAlphaValue)(a,o.alpha,(0,IJ.default)(a))}return(0,tl.default)(u)?(0,PJ.cloneDeep)(u):u}}return i};return Object.assign(t,{theme:t,...yv}),Object.keys(e).reduce((n,i)=>(n[i]=rl(e[i])?e[i](t,yv):e[i],n),{})}function GO(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,...GO([(u=r==null?void 0:r.config)!==null&&u!==void 0?u:{}])]})}),t}function RJ(e){return[...e].reduceRight((n,i)=>rl(i)?i({corePlugins:n}):(0,wJ.default)(i,n),_J.default)}function BJ(e){return[...e].reduceRight((n,i)=>[...n,...i],[])}function UJ(e){let t=[...GO(e),{prefix:"",important:!1,separator:":"}];var n,i;return(0,AJ.normalizeConfig)((0,zO.defaults)({theme:MJ(jJ(FJ(t.map(o=>(n=o==null?void 0:o.theme)!==null&&n!==void 0?n:{})))),corePlugins:RJ(t.map(o=>o.corePlugins)),plugins:BJ(e.map(o=>(i=o==null?void 0:o.plugins)!==null&&i!==void 0?i:[]))},...t))}});var JO=be((Vre,XO)=>{XO.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 QO=be(gv=>{"use strict";Object.defineProperty(gv,"__esModule",{value:!0});Object.defineProperty(gv,"default",{enumerable:!0,get:function(){return YO}});var VJ=qJ(JO()),$J=Ma();function qJ(e){return e&&e.__esModule?e:{default:e}}function YO(e){var t;let n=((t=e==null?void 0:e.presets)!==null&&t!==void 0?t:[VJ.default]).slice().reverse().flatMap(r=>YO(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,$J.flagEnabled)(e,r)).map(r=>i[r]);return[e,...o,...n]}});var e2=be(vv=>{"use strict";Object.defineProperty(vv,"__esModule",{value:!0});Object.defineProperty(vv,"default",{enumerable:!0,get:function(){return zJ}});var WJ=ZO(HO()),KJ=ZO(QO());function ZO(e){return e&&e.__esModule?e:{default:e}}function zJ(...e){let[,...t]=(0,KJ.default)(e[0]);return(0,WJ.default)([...e,...t])}});var r2=be((Wre,t2)=>{var Tv=e2();t2.exports=(Tv.__esModule?Tv:{default:Tv}).default});var P2=ji(Zi(),1),k2=ji(aE(),1),D2=ji(pE(),1),Xf=ji(TS(),1);import*as I2 from"prettier/plugins/angular";import*as O2 from"prettier/plugins/babel";var p2=ji(FS(),1);import*as c2 from"fs/promises";import{createRequire as XJ}from"module";import*as ii from"path";import{pathToFileURL as JJ}from"url";import{dirname as jS,resolve as LS}from"path";import{readdirSync as RM,statSync as BM}from"fs";function MS(e,t){let n=LS(".",e),i;for(BM(n).isDirectory()||(n=jS(n));;){if(i=t(n,RM(n)),i)return LS(n,i);if(n=jS(i=n),i===n)break}}var Ur=ji(Ui(),1),N_=Ur.default,KQ=Ur.default.stringify,zQ=Ur.default.fromJSON,GQ=Ur.default.plugin,HQ=Ur.default.parse,XQ=Ur.default.list,JQ=Ur.default.document,YQ=Ur.default.comment,QQ=Ur.default.atRule,ZQ=Ur.default.rule,eZ=Ur.default.decl,tZ=Ur.default.root,rZ=Ur.default.CssSyntaxError,nZ=Ur.default.Declaration,iZ=Ur.default.Container,sZ=Ur.default.Processor,aZ=Ur.default.Document,oZ=Ur.default.Comment,lZ=Ur.default.Warning,uZ=Ur.default.AtRule,cZ=Ur.default.Result,pZ=Ur.default.Input,dZ=Ur.default.Rule,fZ=Ur.default.Root,hZ=Ur.default.Node;var d2=ji(aC(),1),f2=ji(Ob(),1),h2=ji($d(),1),m2=ji(LO(),1),y2=ji(r2(),1);import YJ from"prettier";function yc(e){let t=new Map;return{get(n){let i=t.get(n);if(i){if(i.expiration<=new Date){t.delete(n);return}return i.value}},set(n,i){let o=new Date;o.setMilliseconds(o.getMilliseconds()+e),t.set(n,{value:i,expiration:o})}}}import{createRequire as GJ}from"node:module";var i2=GJ(import.meta.url),n2=yc(3e4);function Ev(e,t){return i2.resolve(e,{paths:t})}function Sv(e){let t=n2.get(e);return t===void 0&&(t=HJ(e),n2.set(e,t)),t}async function s2(e){if(Sv(e)){let n=await import(e);return n.default??n}return null}function HJ(e){try{return i2.resolve(e)}catch{return null}}var rne=XJ(import.meta.url),a2=new Map,o2=new Map,l2=yc(1e4),u2=yc(1e4);async function b2(e){let t=`${e.filepath}:${e.tailwindConfig??""}:${e.tailwindEntryPoint??""}`,n=await ZJ(e),i=a2.get(t);i===void 0&&(i=rY(e,n),a2.set(t,i));let o=o2.get(t);o===void 0&&(o=nY(e,n),o2.set(t,o));let r=`${i}:${o}`,u=l2.get(r);if(u)return u;let a=await eY(n,i,o);return l2.set(r,a),a}async function QJ(e){let t=u2.get(e.filepath);if(t!==void 0)return t;let n=await YJ.resolveConfigFile(e.filepath);return u2.set(e.filepath,n),n}async function ZJ(e){let t=await QJ(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 eY(e,t,n){let i=h2.createContext,o=f2.generateRules,r=y2.default,u=m2.default,a={content:[]};try{let d=Ev("tailwindcss/package.json",[e]),s=ii.dirname(d);try{let l=await tY(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,p2.default)(t);let d=u(t);a=d.default??d}return a.content=["no-op"],{context:i(r(a)),generateRules:o}}async function tY(e,t,n){let i=Ev("tailwindcss",[e]),o=await import(JJ(i).toString());if(!o.__unstable__loadDesignSystem)return null;n=n??`${t}/theme.css`;let r=await c2.readFile(n,"utf-8"),a=await N_([(0,d2.default)()]).process(r,{from:n}),m=await o.__unstable__loadDesignSystem(a.css,{loadPlugin(){return()=>{}}});return{context:{getClassOrder:d=>m.getClassOrder(d)},generateRules:()=>[]}}function rY(e,t){if(e.tailwindConfig)return ii.resolve(t,e.tailwindConfig);let n;try{n=MS(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 nY(e,t){return e.tailwindEntryPoint?ii.resolve(t,e.tailwindEntryPoint):null}var iY={tailwindConfig:{type:"string",category:"Tailwind CSS",description:"Path to Tailwind configuration file"},tailwindEntryPoint:{type:"string",category:"Tailwind CSS",description:"Path to the CSS entrypoint in your Tailwind project (v4+)"},tailwindAttributes:{type:"string",array:!0,default:[{value:[]}],category:"Tailwind CSS",description:"List of attributes/props that contain sortable Tailwind classes"},tailwindFunctions:{type:"string",array:!0,default:[{value:[]}],category:"Tailwind CSS",description:"List of functions and tagged templates that contain sortable Tailwind classes"},tailwindPreserveWhitespace:{type:"boolean",default:!1,category:"Tailwind CSS",description:"Preserve whitespace around Tailwind classes when sorting"},tailwindPreserveDuplicates:{type:"boolean",default:!1,category:"Tailwind CSS",description:"Preserve duplicate classes inside a class list when sorting"}};function g2(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*as v2 from"prettier/plugins/acorn";import*as bc from"prettier/plugins/babel";import*as T2 from"prettier/plugins/flow";import*as E2 from"prettier/plugins/glimmer";import*as gc from"prettier/plugins/html";import*as S2 from"prettier/plugins/meriyah";import*as Kf from"prettier/plugins/postcss";import*as x2 from"prettier/plugins/typescript";async function Wa(e){let t=await s2(e);return t??(t={parsers:{},printers:{}}),t}async function _2(){let e=await sY(),t=await aY(),n=await oY(),i={...e.parsers,...t.parsers},o={...e.printers,...t.printers};function r(u,a,m){let d=Sv(a);for(let s of u.plugins){if(typeof s=="string"){if(s===a||s===d)return m;continue}if(s.name===a||s.name===d||s.parsers&&m.parsers&&s.parsers==m.parsers)return m}return null}return{parsers:i,printers:o,originalParser(u,a){if(!a.plugins)return i[u];let m={...i[u]};for(let{name:d,mod:s}of n){let l=r(a,d,s);l&&Object.assign(m,l.parsers[u])}return m}}}async function sY(){return{parsers:{html:gc.parsers.html,glimmer:E2.parsers.glimmer,lwc:gc.parsers.lwc,angular:gc.parsers.angular,vue:gc.parsers.vue,css:Kf.parsers.css,scss:Kf.parsers.scss,less:Kf.parsers.less,babel:bc.parsers.babel,"babel-flow":bc.parsers["babel-flow"],flow:T2.parsers.flow,typescript:x2.parsers.typescript,"babel-ts":bc.parsers["babel-ts"],acorn:v2.parsers.acorn,meriyah:S2.parsers.meriyah,__js_expression:bc.parsers.__js_expression},printers:{}}}async function aY(){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 oY(){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-multiline-arrays","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 C2(e){return+(e>0n)-+(e<0n)}function w2(e,t){let n=e.tailwindConfig.prefix;return typeof n=="function"?n(t):n+t}function lY(e,{env:t}){var o;let n=new Set([w2(t.context,"group"),w2(t.context,"peer")]),i=[];for(let r of e){let u=((o=t.generateRules(new Set([r]),t.context).sort(([a],[m])=>C2(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 uY(e,{env:t}){return(t.context.getClassOrder?t.context.getClassOrder(e):lY(e,{env:t})).sort(([,i],[,o])=>i===o?0:i===null?-1:o===null?1:C2(i-o))}function Cn(e,{env:t,ignoreFirst:n=!1,ignoreLast:i=!1,removeDuplicates:o=!0,collapseWhitespace:r={start:!0,end:!0}}){if(typeof e!="string"||e===""||e.includes("{{"))return e;if(t.options.tailwindPreserveWhitespace&&(r=!1),/^[\t\r\f\n ]+$/.test(e)&&r)return" ";let u="",a=e.split(/([\t\r\f\n ]+)/),m=a.filter((h,y)=>y%2===0),d=a.filter((h,y)=>y%2!==0);m[m.length-1]===""&&m.pop(),r&&(d=d.map(()=>" "));let s="";n&&(s=`${m.shift()??""}${d.shift()??""}`);let l="";i&&(l=`${d.pop()??""}${m.pop()??""}`);let{classList:f,removedIndices:p}=xv(m,{env:t,removeDuplicates:o});d=d.filter((h,y)=>!p.has(y+1));for(let h=0;h<f.length;h++)u+=`${f[h]}${d[h]??""}`;return r&&(s=s.replace(/\s+$/g," "),l=l.replace(/^\s+/g," "),u=u.replace(/^\s+/,r.start?"":" ").replace(/\s+$/,r.end?"":" ")),s+u+l}function xv(e,{env:t,removeDuplicates:n}){let i=uY(e,{env:t});t.options.tailwindPreserveDuplicates&&(n=!1);let o=new Set;if(n){let r=new Set;i=i.filter(([u,a],m)=>r.has(u)?(o.add(m),!1):(a!==null&&r.add(u),!0))}return{classList:i.map(([r])=>r),removedIndices:o}}function js(e,t){function n(r,u,a){if(typeof t=="function"){if(t(r,u,a)===!1)return}else if(r.type in t&&t[r.type](r,u,a)===!1)return;let m=Object.keys(r);for(let d=0;d<m.length;d++){let s=r[m[d]];if(Array.isArray(s)){for(let l=0;l<s.length;l++)if(s[l]!==null){let f={...a},p=[{node:s[l],parent:r,key:m[d],index:l,meta:f},...u];n(s[l],p,f)}}else if(typeof(s==null?void 0:s.type)=="string"){let l={...a},f=[{node:s,parent:r,key:m[d],index:d,meta:l},...u];n(s,f,l)}}}let i={};n(e,[{node:e,parent:null,key:null,index:null,meta:i}],i)}function zf(e,t){t.sort((n,i)=>i.end-n.end||i.start-n.start);for(let n of t)e=e.slice(0,n.start)+n.after+e.slice(n.end);return e}var si=await _2();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 b2(r),m=si.originalParser(e,r);m.astFormat in A2&&(r.printer=A2[m.astFormat]);let d=await m.parse(o,r,r),s=g2(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 cY(e,t){let n=[I2.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 pY(e,t){let n=cY(e.value,t);if(!n)return;let i=[];js(n,{StringLiteral(o,r){if(!o.value)return;let u=r.find(a=>a.parent&&a.parent.type==="BinaryExpression"&&a.parent.operator==="+");i.push({start:o.start+1,end:o.end-1,before:o.value,after:Cn(o.value,{env:t,collapseWhitespace:{start:(u==null?void 0:u.key)!=="right",end:(u==null?void 0:u.key)!=="left"}})})}}),e.value=zf(e.value,i)}function N2(e,t){let{functions:n}=t.customizations,i=Xf.parse(`let __prettier_temp__ = ${e.value}`,{parser:O2.parsers["babel-ts"]});function*o(u){for(yield u;u.parentPath;)u=u.parentPath,yield u}let r=!1;P2.visit(i,{visitLiteral(u){let m=Array.from(o(u)).find(d=>d.parent&&d.parent.value&&d.parent.value.type==="BinaryExpression"&&d.parent.value.operator==="+");if(Hf(u.node)&&Gf(u.node,{env:t,collapseWhitespace:{start:(m==null?void 0:m.name)!=="right",end:(m==null?void 0:m.name)!=="left"}})){r=!0;let s=u.node.extra.raw[0],l=(0,k2.default)(u.node.value,{quotes:s==="'"?"single":"double"});u.node.value=new String(s+l+s)}this.traverse(u)},visitTemplateLiteral(u){let m=Array.from(o(u)).find(s=>s.parent&&s.parent.value&&s.parent.value.type==="BinaryExpression"&&s.parent.value.operator==="+");il(u.node,{env:t,collapseWhitespace:{start:(m==null?void 0:m.name)!=="right",end:(m==null?void 0:m.name)!=="left"}})&&(r=!0),this.traverse(u)},visitTaggedTemplateExpression(u){let m=Array.from(o(u)).find(d=>d.parent&&d.parent.value&&d.parent.value.type==="BinaryExpression"&&d.parent.value.operator==="+");wv(u.node,n)&&il(u.node.quasi,{env:t,collapseWhitespace:{start:(m==null?void 0:m.name)!=="right",end:(m==null?void 0:m.name)!=="left"}})&&(r=!0),this.traverse(u)}}),r&&(e.value=Xf.print(i.program.body[0].declarations[0].init).code)}function vc(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"?pY(u,t):N2(u,t)}for(let u of e.children??[])vc(u,{env:t,changes:n})}function dY(e,{env:t}){let{staticAttrs:n}=t.customizations;js(e,{AttrNode(i,o,r){n.has(i.name)&&i.value&&(r.sortTextNodes=!0)},TextNode(i,o,r){if(!r.sortTextNodes)return;let u=o.find(m=>m.parent&&m.parent.type==="ConcatStatement"),a={prev:u==null?void 0:u.parent.parts[u.index-1],next:u==null?void 0:u.parent.parts[u.index+1]};i.chars=Cn(i.chars,{env:t,ignoreFirst:a.prev&&!/^\s/.test(i.chars),ignoreLast:a.next&&!/\s$/.test(i.chars),collapseWhitespace:{start:!a.prev,end:!a.next}})},StringLiteral(i,o,r){if(!r.sortTextNodes)return;let u=o.find(a=>a.parent&&a.parent.type==="SubExpression"&&a.parent.path.original==="concat");i.value=Cn(i.value,{env:t,ignoreLast:!!u&&!/[^\S\r\n]$/.test(i.value),collapseWhitespace:{start:!1,end:!u}})}})}function fY(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];if(s.type==="TextNode"){let l=Cn(s.value,{env:t,ignoreFirst:d>0&&!/^\s/.test(s.value),ignoreLast:d<m.value.length-1&&!/\s$/.test(s.value),removeDuplicates:!1,collapseWhitespace:!1});u.push({start:s.position.start,end:s.position.end,before:s.value,after:l})}else(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);let p=Cn(l.value,{env:t});u.push({start:f.start,end:f.end,before:l.value,after:p})}})}}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))}});for(let m of r)m.source=zf(m.source,u)}function Gf(e,{env:t,collapseWhitespace:n={start:!0,end:!0}}){var a,m;let i=Cn(e.value,{env:t,collapseWhitespace:n}),o=i!==e.value;e.value=i;let r=!1;e.extra?r=((a=e.extra)==null?void 0:a.rawValue.includes("\\"))&&((m=e.extra)==null?void 0:m.raw.slice(1,-1))!==e.value:r=e.value.includes("\\")&&e.raw.slice(1,-1)!==e.value;let u=r?i.replace(/\\/g,"\\\\"):i;if(e.extra){let d=e.extra.raw;e.extra={...e.extra,rawValue:i,raw:d[0]+u+d.slice(-1)}}else{let d=e.raw;e.raw=d[0]+u+d.slice(-1)}return o}function Hf(e){return e.type==="StringLiteral"||e.type==="Literal"&&typeof e.value=="string"}function il(e,{env:t,collapseWhitespace:n={start:!0,end:!0}}){let i=!1;for(let o=0;o<e.quasis.length;o++){let r=e.quasis[o],u=r.value.raw===r.value.cooked,a=r.value.raw,m=r.value.cooked;r.value.raw=Cn(r.value.raw,{env:t,ignoreFirst:o>0&&!/^\s/.test(r.value.raw),ignoreLast:o<e.expressions.length&&!/\s$/.test(r.value.raw),collapseWhitespace:{start:n&&n.start&&o===0,end:n&&n.end&&o>=e.expressions.length}}),r.value.cooked=u?r.value.raw:Cn(r.value.cooked,{env:t,ignoreFirst:o>0&&!/^\s/.test(r.value.cooked),ignoreLast:o<e.expressions.length&&!/\s$/.test(r.value.cooked),collapseWhitespace:{start:n&&n.start&&o===0,end:n&&n.end&&o>=e.expressions.length}}),(r.value.raw!==a||r.value.cooked!==m)&&(i=!0)}return i}function wv(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 hY(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,a)=>{let m=a.find(d=>d.parent&&d.parent.type==="BinaryExpression"&&d.parent.operator==="+");Hf(u)?Gf(u,{env:t,collapseWhitespace:{start:(m==null?void 0:m.key)!=="right",end:(m==null?void 0:m.key)!=="left"}}):u.type==="TemplateLiteral"?il(u,{env:t,collapseWhitespace:{start:(m==null?void 0:m.key)!=="right",end:(m==null?void 0:m.key)!=="left"}}):u.type==="TaggedTemplateExpression"&&wv(u,i)&&il(u.quasi,{env:t,collapseWhitespace:{start:(m==null?void 0:m.key)!=="right",end:(m==null?void 0:m.key)!=="left"}})})}js(e,{JSXAttribute(r){r=r,r.value&&typeof r.name.name=="string"&&n.has(r.name.name)&&(Hf(r.value)?Gf(r.value,{env:t}):r.value.type==="JSXExpressionContainer"&&o(r.value))},CallExpression(r){r=r,hY(r,i)&&r.arguments.forEach(u=>o(u))},TaggedTemplateExpression(r,u){if(r=r,!wv(r,i))return;let a=u.find(m=>m.parent&&m.parent.type==="BinaryExpression"&&m.parent.operator==="+");il(r.quasi,{env:t,collapseWhitespace:{start:(a==null?void 0:a.key)!=="right",end:(a==null?void 0:a.key)!=="left"}})}})}function _v(e,{env:t}){e.walk(n=>{if(n.type==="css-atrule"&&n.name==="apply"){let i=/\s+(?:!important|#{(['"]*)!important\1})\s*$/.test(n.params);n.params=Cn(n.params,{env:t,ignoreLast:i,collapseWhitespace:{start:!1,end:!i}})}})}function F2(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"&&N2(r,t);for(let r of e.children??[])F2(r,{env:t,changes:n})}function mY(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 j2(e,{env:t,changes:n}){let{staticAttrs:i}=t.customizations;for(let o of e.expressions??[])j2(o,{env:t,changes:n});js(e,{Attribute(o,r,u){i.has(o.name.name)&&(u.sortTextNodes=!0)},StringLiteral(o,r,u){if(!u.sortTextNodes)return;let a=r.find(m=>m.parent&&(m.parent.type==="BinaryConcatExpression"||m.parent.type==="BinaryAddExpression"));o.value=Cn(o.value,{env:t,ignoreFirst:(a==null?void 0:a.key)==="right"&&!/^[^\S\r\n]/.test(o.value),ignoreLast:(a==null?void 0:a.key)==="left"&&!/[^\S\r\n]$/.test(o.value),collapseWhitespace:{start:(a==null?void 0:a.key)!=="right",end:(a==null?void 0:a.key)!=="left"}})}})}function yY(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),{classList:d}=xv(m,{env:t,removeDuplicates:!1});for(let s=u;s<=a;s++)e.tokens[s].val=d[s-u]}}function Tc(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),removeDuplicates:!1,collapseWhitespace:!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),removeDuplicates:!1,collapseWhitespace:!1})}else a.type==="MustacheTag"&&js(a.expression,{Literal(m){if(Hf(m)){let d=m.raw;Gf(m,{env:t,removeDuplicates:!1,collapseWhitespace:!1})&&n.push({before:d,after:m.raw,start:m.loc.start,end:m.loc.end})}},TemplateLiteral(m){let d=m.quasis.map(l=>l.value.raw);if(il(m,{env:t,removeDuplicates:!1,collapseWhitespace:!1}))for(let[l,f]of m.quasis.entries())n.push({before:d[l],after:f.value.raw,start:f.loc.start,end:f.loc.end})}})}for(let r of e.children??[])Tc(r,{env:t,changes:n});if(e.type==="IfBlock")for(let r of((o=e.else)==null?void 0:o.children)??[])Tc(r,{env:t,changes:n});if(e.type==="AwaitBlock"){let r=[e.pending,e.then,e.catch];for(let u of r)Tc(u,{env:t,changes:n})}e.html&&Tc(e.html,{env:t,changes:n})}var A2=function(){let e={};if(si.printers["svelte-ast"]){let n=function(o,r){if(r.__mutatedOriginalText)return;r.__mutatedOriginalText=!0;let u=o.stack[0].changes;if(u!=null&&u.length){let a=(0,D2.default)(r.originalText);u=u.map(m=>({...m,start:a.toIndex(m.start.line,m.start.column+1),end:a.toIndex(m.end.line,m.end.column+1)})),r.originalText=zf(r.originalText,u)}};var t=n;let i=si.printers["svelte-ast"];e["svelte-ast"]={...i,print:(o,r,u)=>(n(o,r),si.printers["svelte-ast"].print(o,r,u)),embed:(o,r)=>(n(o,r),si.printers["svelte-ast"].embed(o,r))}}return e}(),gne={html:rn("html",vc,{staticAttrs:["class"]}),glimmer:rn("glimmer",dY,{staticAttrs:["class"]}),lwc:rn("lwc",vc,{staticAttrs:["class"]}),angular:rn("angular",vc,{staticAttrs:["class"],dynamicAttrs:["[ngClass]"]}),vue:rn("vue",vc,{staticAttrs:["class"],dynamicAttrs:[":class","v-bind:class"]}),css:rn("css",_v),scss:rn("scss",_v),less:rn("less",_v),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",Tc,{staticAttrs:["class"]})}:{},...si.parsers.astro?{astro:rn("astro",F2,{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",mY,{staticAttrs:["class"]})}:{},...si.parsers.melody?{melody:rn("melody",j2,{staticAttrs:["class"]})}:{},...si.parsers.pug?{pug:rn("pug",yY,{staticAttrs:["class"]})}:{},...si.parsers["liquid-html"]?{"liquid-html":rn("liquid-html",fY,{staticAttrs:["class"]})}:{}};export{iY as options,gne as parsers,A2 as printers};
+`);function m(f){let p=e.slice(f.start,f.end);return[s(f.start,f.end),kX.formatTokenType.call(void 0,f.type),IX(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"}}iv.default=DX;function IX(e,t){return e.length>t?`${e.slice(0,t-3)}...`:e}});var kO=be(sv=>{"use strict";Object.defineProperty(sv,"__esModule",{value:!0});function OX(e){return e&&e.__esModule?e:{default:e}}var ni=ar(),NX=Gu(),FX=OX(NX);function jX(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)&&LX(e,n,t);return t}sv.default=jX;function LX(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++,MX(e,t,n)))}function MX(e,t,n){for(;;){if(e.matches1AtIndex(t,ni.TokenType.braceR))return;let i=FX.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 OO=be(dc=>{"use strict";Object.defineProperty(dc,"__esModule",{value:!0});function ma(e){return e&&e.__esModule?e:{default:e}}var RX=eD(),BX=ma(RX),UX=cD(),VX=ma(UX),$X=pD(),qX=hD(),DO=ma(qX),WX=yD(),KX=ma(WX),zX=FD(),GX=y0(),HX=JI(),XX=ma(HX),JX=_O(),YX=ma(JX),QX=PO(),ZX=ma(QX),eJ=kO(),tJ=ma(eJ);function rJ(){return"3.34.0"}dc.getVersion=rJ;function nJ(e,t){zX.validateOptions.call(void 0,t);try{let n=IO(e,t),o=new YX.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:VX.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=nJ;function iJ(e,t){let n=IO(e,t).tokenProcessor.tokens;return ZX.default.call(void 0,e,n)}dc.getFormattedTokens=iJ;function IO(e,t){let n=t.transforms.includes("jsx"),i=t.transforms.includes("typescript"),o=t.transforms.includes("flow"),r=t.disableESTransforms===!0,u=GX.parse.call(void 0,e,n,i,o),a=u.tokens,m=u.scopes,d=new KX.default(e,a),s=new $X.HelperManager(d),l=new XX.default(e,a,o,r,s),f=!!t.enableLegacyTypeScriptModuleInterop,p=null;return t.transforms.includes("imports")?(p=new BX.default(d,l,f,t,t.transforms.includes("typescript"),!!t.keepUnusedImports,s),p.preprocessTokens(),DO.default.call(void 0,l,m,p.getGlobalNames()),t.transforms.includes("typescript")&&!t.keepUnusedImports&&p.pruneTypeOnlyImports()):t.transforms.includes("typescript")&&!t.keepUnusedImports&&DO.default.call(void 0,l,m,tJ.default.call(void 0,l)),{tokenProcessor:l,scopes:m,nameManager:d,importProcessor:p,helperManager:s}}});var NO=be(av=>{"use strict";Object.defineProperty(av,"__esModule",{value:!0});function sJ(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}sJ(av,{useCustomJiti:function(){return uJ},loadConfig:function(){return pJ}});var aJ=lJ(xk()),oJ=OO();function lJ(e){return e&&e.__esModule?e:{default:e}}var fc=null;function uJ(e){fc=e()}function cJ(){return fc??(fc=(0,aJ.default)(__filename,{interopDefault:!0,transform:e=>e.source.includes("import.meta")?$b()(e):(0,oJ.transform)(e.source,{transforms:["typescript","imports"]})}))}function pJ(e){let t=function(){try{return e?yt(e):{}}catch{return cJ()(e)}}();var n;return(n=t.default)!==null&&n!==void 0?n:t}});var FO=be(ov=>{"use strict";Object.defineProperty(ov,"__esModule",{value:!0});Object.defineProperty(ov,"default",{enumerable:!0,get:function(){return fJ}});var dJ=NO(),fJ=dJ.loadConfig});var LO=be((Nre,jO)=>{var lv=FO();jO.exports=(lv.__esModule?lv:{default:lv}).default});var MO=be(uv=>{"use strict";Object.defineProperty(uv,"__esModule",{value:!0});Object.defineProperty(uv,"default",{enumerable:!0,get:function(){return hJ}});var hJ=["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 RO=be(cv=>{"use strict";Object.defineProperty(cv,"__esModule",{value:!0});Object.defineProperty(cv,"default",{enumerable:!0,get:function(){return mJ}});function mJ(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 BO=be(pv=>{"use strict";Object.defineProperty(pv,"__esModule",{value:!0});Object.defineProperty(pv,"default",{enumerable:!0,get:function(){return gJ}});var yJ=bJ(La());function bJ(e){return e&&e.__esModule?e:{default:e}}function hc({version:e,from:t,to:n}){yJ.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 gJ={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 UO=be(dv=>{"use strict";Object.defineProperty(dv,"__esModule",{value:!0});Object.defineProperty(dv,"defaults",{enumerable:!0,get:function(){return vJ}});function vJ(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 $O=be(fv=>{"use strict";Object.defineProperty(fv,"__esModule",{value:!0});Object.defineProperty(fv,"normalizeConfig",{enumerable:!0,get:function(){return SJ}});var TJ=Ma(),el=EJ(La());function VO(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(VO=function(i){return i?n:t})(e)}function EJ(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=VO(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 SJ(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,TJ.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 qO=be(mv=>{"use strict";Object.defineProperty(mv,"__esModule",{value:!0});Object.defineProperty(mv,"cloneDeep",{enumerable:!0,get:function(){return hv}});function hv(e){return Array.isArray(e)?e.map(t=>hv(t)):typeof e=="object"&&e!==null?Object.fromEntries(Object.entries(e).map(([t,n])=>[t,hv(n)])):e}});var HO=be(bv=>{"use strict";Object.defineProperty(bv,"__esModule",{value:!0});Object.defineProperty(bv,"default",{enumerable:!0,get:function(){return UJ}});var xJ=nl(jd()),_J=nl(MO()),wJ=nl(RO()),CJ=nl(BO()),zO=UO(),WO=mb(),AJ=$O(),tl=nl(Oo()),PJ=qO(),kJ=Md(),DJ=Nd(),IJ=nl(sb());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 yv={colors:CJ.default,negative(e){return Object.keys(e).filter(t=>e[t]!=="0").reduce((t,n)=>{let i=(0,xJ.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 OJ(e,...t){return rl(e)?e(...t):e}function NJ(e){return e.reduce((t,{extend:n})=>mc(t,n,(i,o)=>i===void 0?[o]:Array.isArray(i)?[o,...i]:[o,i]),{})}function FJ(e){return{...e.reduce((t,n)=>(0,zO.defaults)(t,n),{}),extend:NJ(e)}}function KO(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 jJ({extend:e,...t}){return mc(t,e,(n,i)=>!rl(n)&&!i.some(rl)?mc({},n,...i,KO):(o,r)=>mc({},...[n,...i].map(u=>OJ(u,o,r)),KO))}function*LJ(e){let t=(0,WO.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,WO.toPath)(o);u.alpha=r,yield u}}function MJ(e){let t=(n,i)=>{for(let o of LJ(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,yv):u;if(u!==void 0){if(o.alpha!==void 0){let a=(0,kJ.parseColorFormat)(u);return(0,DJ.withAlphaValue)(a,o.alpha,(0,IJ.default)(a))}return(0,tl.default)(u)?(0,PJ.cloneDeep)(u):u}}return i};return Object.assign(t,{theme:t,...yv}),Object.keys(e).reduce((n,i)=>(n[i]=rl(e[i])?e[i](t,yv):e[i],n),{})}function GO(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,...GO([(u=r==null?void 0:r.config)!==null&&u!==void 0?u:{}])]})}),t}function RJ(e){return[...e].reduceRight((n,i)=>rl(i)?i({corePlugins:n}):(0,wJ.default)(i,n),_J.default)}function BJ(e){return[...e].reduceRight((n,i)=>[...n,...i],[])}function UJ(e){let t=[...GO(e),{prefix:"",important:!1,separator:":"}];var n,i;return(0,AJ.normalizeConfig)((0,zO.defaults)({theme:MJ(jJ(FJ(t.map(o=>(n=o==null?void 0:o.theme)!==null&&n!==void 0?n:{})))),corePlugins:RJ(t.map(o=>o.corePlugins)),plugins:BJ(e.map(o=>(i=o==null?void 0:o.plugins)!==null&&i!==void 0?i:[]))},...t))}});var JO=be((Vre,XO)=>{XO.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 QO=be(gv=>{"use strict";Object.defineProperty(gv,"__esModule",{value:!0});Object.defineProperty(gv,"default",{enumerable:!0,get:function(){return YO}});var VJ=qJ(JO()),$J=Ma();function qJ(e){return e&&e.__esModule?e:{default:e}}function YO(e){var t;let n=((t=e==null?void 0:e.presets)!==null&&t!==void 0?t:[VJ.default]).slice().reverse().flatMap(r=>YO(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,$J.flagEnabled)(e,r)).map(r=>i[r]);return[e,...o,...n]}});var e2=be(vv=>{"use strict";Object.defineProperty(vv,"__esModule",{value:!0});Object.defineProperty(vv,"default",{enumerable:!0,get:function(){return zJ}});var WJ=ZO(HO()),KJ=ZO(QO());function ZO(e){return e&&e.__esModule?e:{default:e}}function zJ(...e){let[,...t]=(0,KJ.default)(e[0]);return(0,WJ.default)([...e,...t])}});var r2=be((Wre,t2)=>{var Tv=e2();t2.exports=(Tv.__esModule?Tv:{default:Tv}).default});var P2=ji(Zi(),1),k2=ji(aE(),1),D2=ji(pE(),1),Xf=ji(TS(),1);import*as I2 from"prettier/plugins/angular";import*as O2 from"prettier/plugins/babel";var p2=ji(FS(),1);import*as c2 from"fs/promises";import{createRequire as XJ}from"module";import*as ii from"path";import{pathToFileURL as JJ}from"url";import{dirname as jS,resolve as LS}from"path";import{readdirSync as RM,statSync as BM}from"fs";function MS(e,t){let n=LS(".",e),i;for(BM(n).isDirectory()||(n=jS(n));;){if(i=t(n,RM(n)),i)return LS(n,i);if(n=jS(i=n),i===n)break}}var Ur=ji(Ui(),1),N_=Ur.default,KQ=Ur.default.stringify,zQ=Ur.default.fromJSON,GQ=Ur.default.plugin,HQ=Ur.default.parse,XQ=Ur.default.list,JQ=Ur.default.document,YQ=Ur.default.comment,QQ=Ur.default.atRule,ZQ=Ur.default.rule,eZ=Ur.default.decl,tZ=Ur.default.root,rZ=Ur.default.CssSyntaxError,nZ=Ur.default.Declaration,iZ=Ur.default.Container,sZ=Ur.default.Processor,aZ=Ur.default.Document,oZ=Ur.default.Comment,lZ=Ur.default.Warning,uZ=Ur.default.AtRule,cZ=Ur.default.Result,pZ=Ur.default.Input,dZ=Ur.default.Rule,fZ=Ur.default.Root,hZ=Ur.default.Node;var d2=ji(aC(),1),f2=ji(Ob(),1),h2=ji($d(),1),m2=ji(LO(),1),y2=ji(r2(),1);import YJ from"prettier";function yc(e){let t=new Map;return{get(n){let i=t.get(n);if(i){if(i.expiration<=new Date){t.delete(n);return}return i.value}},set(n,i){let o=new Date;o.setMilliseconds(o.getMilliseconds()+e),t.set(n,{value:i,expiration:o})}}}import{createRequire as GJ}from"node:module";var i2=GJ(import.meta.url),n2=yc(3e4);function Ev(e,t){return i2.resolve(e,{paths:t})}function Sv(e){let t=n2.get(e);return t===void 0&&(t=HJ(e),n2.set(e,t)),t}async function s2(e){if(Sv(e)){let n=await import(e);return n.default??n}return null}function HJ(e){try{return i2.resolve(e)}catch{return null}}var rne=XJ(import.meta.url),a2=new Map,o2=new Map,l2=yc(1e4),u2=yc(1e4);async function b2(e){let t=`${e.filepath}:${e.tailwindConfig??""}:${e.tailwindEntryPoint??""}`,n=await ZJ(e),i=a2.get(t);i===void 0&&(i=rY(e,n),a2.set(t,i));let o=o2.get(t);o===void 0&&(o=nY(e,n),o2.set(t,o));let r=`${i}:${o}`,u=l2.get(r);if(u)return u;let a=await eY(n,i,o);return l2.set(r,a),a}async function QJ(e){let t=u2.get(e.filepath);if(t!==void 0)return t;let n=await YJ.resolveConfigFile(e.filepath);return u2.set(e.filepath,n),n}async function ZJ(e){let t=await QJ(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 eY(e,t,n){let i=h2.createContext,o=f2.generateRules,r=y2.default,u=m2.default,a={content:[]};try{let d=Ev("tailwindcss/package.json",[e]),s=ii.dirname(d);try{let l=await tY(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,p2.default)(t);let d=u(t);a=d.default??d}return a.content=["no-op"],{context:i(r(a)),generateRules:o}}async function tY(e,t,n){let i=Ev("tailwindcss",[e]),o=await import(JJ(i).toString());if(!o.__unstable__loadDesignSystem)return null;n=n??`${t}/theme.css`;let r=await c2.readFile(n,"utf-8"),a=await N_([(0,d2.default)()]).process(r,{from:n}),m=await o.__unstable__loadDesignSystem(a.css,{loadPlugin(){return()=>{}}});return{context:{getClassOrder:d=>m.getClassOrder(d)},generateRules:()=>[]}}function rY(e,t){if(e.tailwindConfig)return ii.resolve(t,e.tailwindConfig);let n;try{n=MS(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 nY(e,t){return e.tailwindEntryPoint?ii.resolve(t,e.tailwindEntryPoint):null}var iY={tailwindConfig:{type:"string",category:"Tailwind CSS",description:"Path to Tailwind configuration file"},tailwindEntryPoint:{type:"string",category:"Tailwind CSS",description:"Path to the CSS entrypoint in your Tailwind project (v4+)"},tailwindAttributes:{type:"string",array:!0,default:[{value:[]}],category:"Tailwind CSS",description:"List of attributes/props that contain sortable Tailwind classes"},tailwindFunctions:{type:"string",array:!0,default:[{value:[]}],category:"Tailwind CSS",description:"List of functions and tagged templates that contain sortable Tailwind classes"},tailwindPreserveWhitespace:{type:"boolean",default:!1,category:"Tailwind CSS",description:"Preserve whitespace around Tailwind classes when sorting"},tailwindPreserveDuplicates:{type:"boolean",default:!1,category:"Tailwind CSS",description:"Preserve duplicate classes inside a class list when sorting"}};function g2(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*as v2 from"prettier/plugins/acorn";import*as bc from"prettier/plugins/babel";import*as T2 from"prettier/plugins/flow";import*as E2 from"prettier/plugins/glimmer";import*as gc from"prettier/plugins/html";import*as S2 from"prettier/plugins/meriyah";import*as Kf from"prettier/plugins/postcss";import*as x2 from"prettier/plugins/typescript";async function Wa(e){let t=await s2(e);return t??(t={parsers:{},printers:{}}),t}async function _2(){let e=await sY(),t=await aY(),n=await oY(),i={...e.parsers,...t.parsers},o={...e.printers,...t.printers};function r(u,a,m){let d=Sv(a);for(let s of u.plugins){if(typeof s=="string"){if(s===a||s===d)return m;continue}if(s.name===a||s.name===d||s.parsers&&m.parsers&&s.parsers==m.parsers)return m}return null}return{parsers:i,printers:o,originalParser(u,a){if(!a.plugins)return i[u];let m={...i[u]};for(let{name:d,mod:s}of n){let l=r(a,d,s);l&&Object.assign(m,l.parsers[u])}return m}}}async function sY(){return{parsers:{html:gc.parsers.html,glimmer:E2.parsers.glimmer,lwc:gc.parsers.lwc,angular:gc.parsers.angular,vue:gc.parsers.vue,css:Kf.parsers.css,scss:Kf.parsers.scss,less:Kf.parsers.less,babel:bc.parsers.babel,"babel-flow":bc.parsers["babel-flow"],flow:T2.parsers.flow,typescript:x2.parsers.typescript,"babel-ts":bc.parsers["babel-ts"],acorn:v2.parsers.acorn,meriyah:S2.parsers.meriyah,__js_expression:bc.parsers.__js_expression},printers:{}}}async function aY(){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 oY(){let e=["@ianvs/prettier-plugin-sort-imports","@miller-svt/prettier-plugin-sort-imports","prettier-plugin-organize-imports","prettier-plugin-css-order","prettier-plugin-import-sort","prettier-plugin-jsdoc","prettier-plugin-multiline-arrays","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 C2(e){return+(e>0n)-+(e<0n)}function w2(e,t){let n=e.tailwindConfig.prefix;return typeof n=="function"?n(t):n+t}function lY(e,{env:t}){var o;let n=new Set([w2(t.context,"group"),w2(t.context,"peer")]),i=[];for(let r of e){let u=((o=t.generateRules(new Set([r]),t.context).sort(([a],[m])=>C2(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 uY(e,{env:t}){return(t.context.getClassOrder?t.context.getClassOrder(e):lY(e,{env:t})).sort(([,i],[,o])=>i===o?0:i===null?-1:o===null?1:C2(i-o))}function Cn(e,{env:t,ignoreFirst:n=!1,ignoreLast:i=!1,removeDuplicates:o=!0,collapseWhitespace:r={start:!0,end:!0}}){if(typeof e!="string"||e===""||e.includes("{{"))return e;if(t.options.tailwindPreserveWhitespace&&(r=!1),/^[\t\r\f\n ]+$/.test(e)&&r)return" ";let u="",a=e.split(/([\t\r\f\n ]+)/),m=a.filter((h,y)=>y%2===0),d=a.filter((h,y)=>y%2!==0);m[m.length-1]===""&&m.pop(),r&&(d=d.map(()=>" "));let s="";n&&(s=`${m.shift()??""}${d.shift()??""}`);let l="";i&&(l=`${d.pop()??""}${m.pop()??""}`);let{classList:f,removedIndices:p}=xv(m,{env:t,removeDuplicates:o});d=d.filter((h,y)=>!p.has(y+1));for(let h=0;h<f.length;h++)u+=`${f[h]}${d[h]??""}`;return r&&(s=s.replace(/\s+$/g," "),l=l.replace(/^\s+/g," "),u=u.replace(/^\s+/,r.start?"":" ").replace(/\s+$/,r.end?"":" ")),s+u+l}function xv(e,{env:t,removeDuplicates:n}){let i=uY(e,{env:t});t.options.tailwindPreserveDuplicates&&(n=!1);let o=new Set;if(n){let r=new Set;i=i.filter(([u,a],m)=>r.has(u)?(o.add(m),!1):(a!==null&&r.add(u),!0))}return{classList:i.map(([r])=>r),removedIndices:o}}function js(e,t){function n(r,u,a){if(typeof t=="function"){if(t(r,u,a)===!1)return}else if(r.type in t&&t[r.type](r,u,a)===!1)return;let m=Object.keys(r);for(let d=0;d<m.length;d++){let s=r[m[d]];if(Array.isArray(s)){for(let l=0;l<s.length;l++)if(s[l]!==null){let f={...a},p=[{node:s[l],parent:r,key:m[d],index:l,meta:f},...u];n(s[l],p,f)}}else if(typeof(s==null?void 0:s.type)=="string"){let l={...a},f=[{node:s,parent:r,key:m[d],index:d,meta:l},...u];n(s,f,l)}}}let i={};n(e,[{node:e,parent:null,key:null,index:null,meta:i}],i)}function zf(e,t){t.sort((n,i)=>i.end-n.end||i.start-n.start);for(let n of t)e=e.slice(0,n.start)+n.after+e.slice(n.end);return e}var si=await _2();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 b2(r),m=si.originalParser(e,r);m.astFormat in A2&&(r.printer=A2[m.astFormat]);let d=await m.parse(o,r,r),s=g2(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 cY(e,t){let n=[I2.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 pY(e,t){let n=cY(e.value,t);if(!n)return;let i=[];js(n,{StringLiteral(o,r){if(!o.value)return;let u=r.find(a=>a.parent&&a.parent.type==="BinaryExpression"&&a.parent.operator==="+");i.push({start:o.start+1,end:o.end-1,before:o.value,after:Cn(o.value,{env:t,collapseWhitespace:{start:(u==null?void 0:u.key)!=="right",end:(u==null?void 0:u.key)!=="left"}})})}}),e.value=zf(e.value,i)}function N2(e,t){let{functions:n}=t.customizations,i=Xf.parse(`let __prettier_temp__ = ${e.value}`,{parser:O2.parsers["babel-ts"]});function*o(u){for(yield u;u.parentPath;)u=u.parentPath,yield u}let r=!1;P2.visit(i,{visitLiteral(u){let m=Array.from(o(u)).find(d=>d.parent&&d.parent.value&&d.parent.value.type==="BinaryExpression"&&d.parent.value.operator==="+");if(Hf(u.node)&&Gf(u.node,{env:t,collapseWhitespace:{start:(m==null?void 0:m.name)!=="right",end:(m==null?void 0:m.name)!=="left"}})){r=!0;let s=u.node.extra.raw[0],l=(0,k2.default)(u.node.value,{quotes:s==="'"?"single":"double"});u.node.value=new String(s+l+s)}this.traverse(u)},visitTemplateLiteral(u){let m=Array.from(o(u)).find(s=>s.parent&&s.parent.value&&s.parent.value.type==="BinaryExpression"&&s.parent.value.operator==="+");il(u.node,{env:t,collapseWhitespace:{start:(m==null?void 0:m.name)!=="right",end:(m==null?void 0:m.name)!=="left"}})&&(r=!0),this.traverse(u)},visitTaggedTemplateExpression(u){let m=Array.from(o(u)).find(d=>d.parent&&d.parent.value&&d.parent.value.type==="BinaryExpression"&&d.parent.value.operator==="+");wv(u.node,n)&&il(u.node.quasi,{env:t,collapseWhitespace:{start:(m==null?void 0:m.name)!=="right",end:(m==null?void 0:m.name)!=="left"}})&&(r=!0),this.traverse(u)}}),r&&(e.value=Xf.print(i.program.body[0].declarations[0].init).code)}function vc(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"?pY(u,t):N2(u,t)}for(let u of e.children??[])vc(u,{env:t,changes:n})}function dY(e,{env:t}){let{staticAttrs:n}=t.customizations;js(e,{AttrNode(i,o,r){n.has(i.name)&&i.value&&(r.sortTextNodes=!0)},TextNode(i,o,r){if(!r.sortTextNodes)return;let u=o.find(m=>m.parent&&m.parent.type==="ConcatStatement"),a={prev:u==null?void 0:u.parent.parts[u.index-1],next:u==null?void 0:u.parent.parts[u.index+1]};i.chars=Cn(i.chars,{env:t,ignoreFirst:a.prev&&!/^\s/.test(i.chars),ignoreLast:a.next&&!/\s$/.test(i.chars),collapseWhitespace:{start:!a.prev,end:!a.next}})},StringLiteral(i,o,r){if(!r.sortTextNodes)return;let u=o.find(a=>a.parent&&a.parent.type==="SubExpression"&&a.parent.path.original==="concat");i.value=Cn(i.value,{env:t,ignoreLast:!!u&&!/[^\S\r\n]$/.test(i.value),collapseWhitespace:{start:!1,end:!u}})}})}function fY(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];if(s.type==="TextNode"){let l=Cn(s.value,{env:t,ignoreFirst:d>0&&!/^\s/.test(s.value),ignoreLast:d<m.value.length-1&&!/\s$/.test(s.value),removeDuplicates:!1,collapseWhitespace:!1});u.push({start:s.position.start,end:s.position.end,before:s.value,after:l})}else(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);let p=Cn(l.value,{env:t});u.push({start:f.start,end:f.end,before:l.value,after:p})}})}}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))}});for(let m of r)m.source=zf(m.source,u)}function Gf(e,{env:t,collapseWhitespace:n={start:!0,end:!0}}){var a,m;let i=Cn(e.value,{env:t,collapseWhitespace:n}),o=i!==e.value;e.value=i;let r=!1;e.extra?r=((a=e.extra)==null?void 0:a.rawValue.includes("\\"))&&((m=e.extra)==null?void 0:m.raw.slice(1,-1))!==e.value:r=e.value.includes("\\")&&e.raw.slice(1,-1)!==e.value;let u=r?i.replace(/\\/g,"\\\\"):i;if(e.extra){let d=e.extra.raw;e.extra={...e.extra,rawValue:i,raw:d[0]+u+d.slice(-1)}}else{let d=e.raw;e.raw=d[0]+u+d.slice(-1)}return o}function Hf(e){return e.type==="StringLiteral"||e.type==="Literal"&&typeof e.value=="string"}function il(e,{env:t,collapseWhitespace:n={start:!0,end:!0}}){let i=!1;for(let o=0;o<e.quasis.length;o++){let r=e.quasis[o],u=r.value.raw===r.value.cooked,a=r.value.raw,m=r.value.cooked;r.value.raw=Cn(r.value.raw,{env:t,ignoreFirst:o>0&&!/^\s/.test(r.value.raw),ignoreLast:o<e.expressions.length&&!/\s$/.test(r.value.raw),collapseWhitespace:{start:n&&n.start&&o===0,end:n&&n.end&&o>=e.expressions.length}}),r.value.cooked=u?r.value.raw:Cn(r.value.cooked,{env:t,ignoreFirst:o>0&&!/^\s/.test(r.value.cooked),ignoreLast:o<e.expressions.length&&!/\s$/.test(r.value.cooked),collapseWhitespace:{start:n&&n.start&&o===0,end:n&&n.end&&o>=e.expressions.length}}),(r.value.raw!==a||r.value.cooked!==m)&&(i=!0)}return i}function wv(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 hY(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,a)=>{let m=a.find(d=>d.parent&&d.parent.type==="BinaryExpression"&&d.parent.operator==="+");Hf(u)?Gf(u,{env:t,collapseWhitespace:{start:(m==null?void 0:m.key)!=="right",end:(m==null?void 0:m.key)!=="left"}}):u.type==="TemplateLiteral"?il(u,{env:t,collapseWhitespace:{start:(m==null?void 0:m.key)!=="right",end:(m==null?void 0:m.key)!=="left"}}):u.type==="TaggedTemplateExpression"&&wv(u,i)&&il(u.quasi,{env:t,collapseWhitespace:{start:(m==null?void 0:m.key)!=="right",end:(m==null?void 0:m.key)!=="left"}})})}js(e,{JSXAttribute(r){r=r,r.value&&typeof r.name.name=="string"&&n.has(r.name.name)&&(Hf(r.value)?Gf(r.value,{env:t}):r.value.type==="JSXExpressionContainer"&&o(r.value))},CallExpression(r){r=r,hY(r,i)&&r.arguments.forEach(u=>o(u))},TaggedTemplateExpression(r,u){if(r=r,!wv(r,i))return;let a=u.find(m=>m.parent&&m.parent.type==="BinaryExpression"&&m.parent.operator==="+");il(r.quasi,{env:t,collapseWhitespace:{start:(a==null?void 0:a.key)!=="right",end:(a==null?void 0:a.key)!=="left"}})}})}function _v(e,{env:t}){e.walk(n=>{if(n.type==="css-atrule"&&n.name==="apply"){let i=/\s+(?:!important|#{(['"]*)!important\1})\s*$/.test(n.params);n.params=Cn(n.params,{env:t,ignoreLast:i,collapseWhitespace:{start:!1,end:!i}})}})}function F2(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"&&N2(r,t);for(let r of e.children??[])F2(r,{env:t,changes:n})}function mY(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 j2(e,{env:t,changes:n}){let{staticAttrs:i}=t.customizations;for(let o of e.expressions??[])j2(o,{env:t,changes:n});js(e,{Attribute(o,r,u){i.has(o.name.name)&&(u.sortTextNodes=!0)},StringLiteral(o,r,u){if(!u.sortTextNodes)return;let a=r.find(m=>m.parent&&(m.parent.type==="BinaryConcatExpression"||m.parent.type==="BinaryAddExpression"));o.value=Cn(o.value,{env:t,ignoreFirst:(a==null?void 0:a.key)==="right"&&!/^[^\S\r\n]/.test(o.value),ignoreLast:(a==null?void 0:a.key)==="left"&&!/[^\S\r\n]$/.test(o.value),collapseWhitespace:{start:(a==null?void 0:a.key)!=="right",end:(a==null?void 0:a.key)!=="left"}})}})}function yY(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),{classList:d}=xv(m,{env:t,removeDuplicates:!1});for(let s=u;s<=a;s++)e.tokens[s].val=d[s-u]}}function Tc(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),removeDuplicates:!1,collapseWhitespace:!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),removeDuplicates:!1,collapseWhitespace:!1})}else a.type==="MustacheTag"&&js(a.expression,{Literal(m){if(Hf(m)){let d=m.raw;Gf(m,{env:t,removeDuplicates:!1,collapseWhitespace:!1})&&n.push({before:d,after:m.raw,start:m.loc.start,end:m.loc.end})}},TemplateLiteral(m){let d=m.quasis.map(l=>l.value.raw);if(il(m,{env:t,removeDuplicates:!1,collapseWhitespace:!1}))for(let[l,f]of m.quasis.entries())n.push({before:d[l],after:f.value.raw,start:f.loc.start,end:f.loc.end})}})}for(let r of e.children??[])Tc(r,{env:t,changes:n});if(e.type==="IfBlock")for(let r of((o=e.else)==null?void 0:o.children)??[])Tc(r,{env:t,changes:n});if(e.type==="AwaitBlock"){let r=[e.pending,e.then,e.catch];for(let u of r)Tc(u,{env:t,changes:n})}e.html&&Tc(e.html,{env:t,changes:n})}var A2=function(){let e={};if(si.printers["svelte-ast"]){let n=function(o,r){if(r.__mutatedOriginalText)return;r.__mutatedOriginalText=!0;let u=o.stack[0].changes;if(u!=null&&u.length){let a=(0,D2.default)(r.originalText);u=u.map(m=>({...m,start:a.toIndex(m.start.line,m.start.column+1),end:a.toIndex(m.end.line,m.end.column+1)})),r.originalText=zf(r.originalText,u)}};var t=n;let i=si.printers["svelte-ast"];e["svelte-ast"]={...i,print:(o,r,u)=>(n(o,r),si.printers["svelte-ast"].print(o,r,u)),embed:(o,r)=>(n(o,r),si.printers["svelte-ast"].embed(o,r))}}return e}(),gne={html:rn("html",vc,{staticAttrs:["class"]}),glimmer:rn("glimmer",dY,{staticAttrs:["class"]}),lwc:rn("lwc",vc,{staticAttrs:["class"]}),angular:rn("angular",vc,{staticAttrs:["class"],dynamicAttrs:["[ngClass]"]}),vue:rn("vue",vc,{staticAttrs:["class"],dynamicAttrs:[":class","v-bind:class"]}),css:rn("css",_v),scss:rn("scss",_v),less:rn("less",_v),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",Tc,{staticAttrs:["class"]})}:{},...si.parsers.astro?{astro:rn("astro",F2,{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",mY,{staticAttrs:["class"]})}:{},...si.parsers.melody?{melody:rn("melody",j2,{staticAttrs:["class"]})}:{},...si.parsers.pug?{pug:rn("pug",yY,{staticAttrs:["class"]})}:{},...si.parsers["liquid-html"]?{"liquid-html":rn("liquid-html",fY,{staticAttrs:["class"]})}:{}};export{iY as options,gne as parsers,A2 as printers};
 /*! Bundled license information:
 
 isobject/index.js:

prettier.config.js

export default {
  semi: true,
  trailingComma: "none",
  singleQuote: false,
  printWidth: 90,
  endOfLine: "auto",
  tailwindFunctions: ["cva", "cx"],
  tabWidth: 2,
  useTabs: false,
  plugins: ["@miller-svt/prettier-plugin-sort-imports", "prettier-plugin-tailwindcss"],
  importOrder: [
    "^node:",
    "<THIRD_PARTY_MODULES>",
    "^~/components/",
    "^~/routes/",
    "^~/",
    "^\\./",
    ".css$"
  ],
  importOrderSeparation: true,
  importOrderSortSpecifiers: true,
  importOrderParserPlugins: ["typescript", "jsx", "importAttributes"]
};

@amine-mf
Copy link

Wow, this has been here for a while, thanks @MillerSvt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
9 participants