Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@tailwindcss/postcss

Package Overview
Dependencies
Maintainers
3
Versions
837
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tailwindcss/postcss - npm Package Compare versions

Comparing version
0.0.0-insiders.eecb6f7
to
0.0.0-insiders.eefe645
+14
-0
dist/index.d.mts
import { PluginCreator } from 'postcss';
type PluginOptions = {
/**
* The base directory to scan for class candidates.
*
* Defaults to the current working directory.
*/
base?: string;
/**
* Optimize and minify the output CSS.
*/
optimize?: boolean | {
minify?: boolean;
};
/**
* Enable or disable asset URL rewriting.
*
* Defaults to `true`.
*/
transformAssetUrls?: boolean;
};

@@ -9,0 +23,0 @@ declare const _default: PluginCreator<PluginOptions>;

import { PluginCreator } from 'postcss';
type PluginOptions = {
/**
* The base directory to scan for class candidates.
*
* Defaults to the current working directory.
*/
base?: string;
/**
* Optimize and minify the output CSS.
*/
optimize?: boolean | {
minify?: boolean;
};
/**
* Enable or disable asset URL rewriting.
*
* Defaults to `true`.
*/
transformAssetUrls?: boolean;
};

@@ -9,0 +23,0 @@ declare const _default: PluginCreator<PluginOptions>;

+10
-8

@@ -1,8 +0,10 @@

"use strict";var J=Object.create;var K=Object.defineProperty;var Z=Object.getOwnPropertyDescriptor;var ee=Object.getOwnPropertyNames;var te=Object.getPrototypeOf,se=Object.prototype.hasOwnProperty;var L=(n,r)=>(r=Symbol[n])?r:Symbol.for("Symbol."+n),V=n=>{throw TypeError(n)};var re=(n,r,i,e)=>{if(r&&typeof r=="object"||typeof r=="function")for(let s of ee(r))!se.call(n,s)&&s!==i&&K(n,s,{get:()=>r[s],enumerable:!(e=Z(r,s))||e.enumerable});return n};var A=(n,r,i)=>(i=n!=null?J(te(n)):{},re(r||!n||!n.__esModule?K(i,"default",{value:n,enumerable:!0}):i,n));var I=(n,r,i)=>{if(r!=null){typeof r!="object"&&typeof r!="function"&&V("Object expected");var e,s;i&&(e=r[L("asyncDispose")]),e===void 0&&(e=r[L("dispose")],i&&(s=e)),typeof e!="function"&&V("Object not disposable"),s&&(e=function(){try{s.call(this)}catch(t){return Promise.reject(t)}}),n.push([i,e,r])}else i&&n.push([i]);return r},W=(n,r,i)=>{var e=typeof SuppressedError=="function"?SuppressedError:function(l,o,c,p){return p=Error(c),p.name="SuppressedError",p.error=l,p.suppressed=o,p},s=l=>r=i?new e(l,r,"An error was suppressed during disposal"):(i=!0,l),t=l=>{for(;l=n.pop();)try{var o=l[1]&&l[1].call(l[2]);if(l[0])return Promise.resolve(o).then(t,c=>(s(c),t()))}catch(c){s(c)}if(i)throw r};return t()};var B=A(require("@alloc/quick-lru")),m=require("@tailwindcss/node"),z=require("@tailwindcss/node/require-cache"),Q=require("@tailwindcss/oxide"),g=require("lightningcss"),G=A(require("fs")),d=A(require("path")),v=A(require("postcss"));var ie=32;var ne=40;function D(n,r=[]){for(let i=5;i<n.length;i++){let e=n.charCodeAt(i);if(e===ie||e===ne){let s=n.slice(0,i).trim(),t=n.slice(i).trim();return C(s,t,r)}}return C(n.trim(),"",r)}var oe=64;function ae(n,r=[]){return{kind:"rule",selector:n,nodes:r}}function C(n,r="",i=[]){return{kind:"at-rule",name:n,params:r,nodes:i}}function E(n,r=[]){return n.charCodeAt(0)===oe?D(n,r):ae(n,r)}function R(n,r,i=!1){return{kind:"declaration",property:n,value:r,important:i}}function T(n){return{kind:"comment",value:n}}function F(n){function r(e,s=0){let t="",l=" ".repeat(s);if(e.kind==="declaration")t+=`${l}${e.property}: ${e.value}${e.important?" !important":""};
`;else if(e.kind==="rule"){t+=`${l}${e.selector} {
`;for(let o of e.nodes)t+=r(o,s+1);t+=`${l}}
`}else if(e.kind==="at-rule"){if(e.nodes.length===0)return`${l}${e.name} ${e.params};
`;t+=`${l}${e.name}${e.params?` ${e.params} `:" "}{
`;for(let o of e.nodes)t+=r(o,s+1);t+=`${l}}
`}else if(e.kind==="comment")t+=`${l}/*${e.value}*/
`;else if(e.kind==="context"||e.kind==="at-root")return"";return t}let i="";for(let e of n){let s=r(e);s!==""&&(i+=s)}return i}var x=A(require("postcss"));var ue=33;function M(n,r){let i=x.default.root();i.source=r;function e(s,t){if(s.kind==="declaration"){let l=x.default.decl({prop:s.property,value:s.value??"",important:s.important});l.source=r,t.append(l)}else if(s.kind==="rule"){let l=x.default.rule({selector:s.selector});l.source=r,l.raws.semicolon=!0,t.append(l);for(let o of s.nodes)e(o,l)}else if(s.kind==="at-rule"){let l=x.default.atRule({name:s.name.slice(1),params:s.params});l.source=r,l.raws.semicolon=!0,t.append(l);for(let o of s.nodes)e(o,l)}else if(s.kind==="comment"){let l=x.default.comment({text:s.value});l.raws.left="",l.raws.right="",l.source=r,t.append(l)}else s.kind==="at-root"||s.kind}for(let s of n)e(s,i);return i}function _(n){function r(e,s){if(e.type==="decl")s.push(R(e.prop,e.value,e.important));else if(e.type==="rule"){let t=E(e.selector);e.each(l=>r(l,t.nodes)),s.push(t)}else if(e.type==="atrule"){let t=C(`@${e.name}`,e.params);e.each(l=>r(l,t.nodes)),s.push(t)}else if(e.type==="comment"){if(e.text.charCodeAt(0)!==ue)return;s.push(T(e.text))}}let i=[];return n.each(e=>r(e,i)),i}var b=require("@tailwindcss/node"),y=A(require("path")),P="'",w='"';function O(){let n=new WeakSet;function r(i){let e=i.root().source?.input.file;if(!e)return;let s=i.source?.input.file;if(!s||n.has(i))return;let t=i.params[0],l=t[0]===w&&t[t.length-1]===w?w:t[0]===P&&t[t.length-1]===P?P:null;if(!l)return;let o=i.params.slice(1,-1),c="";if(o.startsWith("!")&&(o=o.slice(1),c="!"),!o.startsWith("./")&&!o.startsWith("../"))return;let p=y.default.posix.join((0,b.normalizePath)(y.default.dirname(s)),o),N=y.default.posix.dirname((0,b.normalizePath)(e)),h=y.default.posix.relative(N,p);h.startsWith(".")||(h="./"+h),i.params=l+c+h+l,n.add(i)}return{postcssPlugin:"tailwindcss-postcss-fix-relative-paths",Once(i){i.walkAtRules(/source|plugin|config/,r)}}}var a=m.env.DEBUG,$=new B.default({maxSize:50});function fe(n,r){let i=`${n}:${r.base??""}:${JSON.stringify(r.optimize)}`;if($.has(i))return $.get(i);let e={mtimes:new Map,compiler:null,scanner:null,tailwindCssAst:[],cachedPostCssAst:v.default.root(),optimizedPostCssAst:v.default.root(),fullRebuildPaths:[]};return $.set(i,e),e}function ce(n={}){let r=n.base??process.cwd(),i=n.optimize??process.env.NODE_ENV==="production";return{postcssPlugin:"@tailwindcss/postcss",plugins:[O(),{postcssPlugin:"tailwindcss",async Once(e,{result:s}){var U=[];try{let t=I(U,new m.Instrumentation);let l=s.opts.from??"";a&&t.start(`[@tailwindcss/postcss] ${(0,d.relative)(r,l)}`);{a&&t.start("Quick bail check");let f=!0;if(e.walkAtRules(u=>{if(u.name==="import"||u.name==="reference"||u.name==="theme"||u.name==="variant"||u.name==="config"||u.name==="plugin"||u.name==="apply")return f=!1,!1}),f)return;a&&t.end("Quick bail check")}let o=fe(l,n);let c=d.default.dirname(d.default.resolve(l));async function p(){a&&t.start("Setup compiler"),o.fullRebuildPaths.length>0&&!N&&(0,z.clearRequireCache)(o.fullRebuildPaths),o.fullRebuildPaths=[],a&&t.start("PostCSS AST -> Tailwind CSS AST");let f=_(e);a&&t.end("PostCSS AST -> Tailwind CSS AST"),a&&t.start("Create compiler");let u=await(0,m.compileAst)(f,{base:c,shouldRewriteUrls:!0,onDependency:S=>{o.fullRebuildPaths.push(S)}});return a&&t.end("Create compiler"),a&&t.end("Setup compiler"),u}let N=o.compiler===null;o.compiler??=await p();if(o.compiler.features===m.Features.None)return;let h="incremental";a&&t.start("Register full rebuild paths");{for(let u of o.fullRebuildPaths)s.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:d.default.resolve(u),parent:s.opts.from});let f=s.messages.flatMap(u=>u.type!=="dependency"?[]:u.file);f.push(l);for(let u of f){let S=G.default.statSync(u,{throwIfNoEntry:!1})?.mtimeMs??null;if(S===null){u===l&&(h="full");continue}o.mtimes.get(u)!==S&&(h="full",o.mtimes.set(u,S))}}a&&t.end("Register full rebuild paths");h==="full"&&!N&&(o.compiler=await p());if(o.scanner===null||h==="full"){a&&t.start("Setup scanner");let f=(o.compiler.root==="none"?[]:o.compiler.root===null?[{base:r,pattern:"**/*",negated:!1}]:[{...o.compiler.root,negated:!1}]).concat(o.compiler.sources);o.scanner=new Q.Scanner({sources:f}),a&&t.end("Setup scanner")}a&&t.start("Scan for candidates");let H=o.compiler.features&m.Features.Utilities?o.scanner.scan():[];a&&t.end("Scan for candidates");if(o.compiler.features&m.Features.Utilities){a&&t.start("Register dependency messages");for(let f of o.scanner.files)s.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:d.default.resolve(f),parent:s.opts.from});for(let{base:f,pattern:u}of o.scanner.globs)u==="*"&&r===f||(u===""?s.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:d.default.resolve(f),parent:s.opts.from}):s.messages.push({type:"dir-dependency",plugin:"@tailwindcss/postcss",dir:d.default.resolve(f),glob:u,parent:s.opts.from}));a&&t.end("Register dependency messages")}a&&t.start("Build utilities");let k=o.compiler.build(H);a&&t.end("Build utilities");if(o.tailwindCssAst!==k)if(i){a&&t.start("Optimization"),a&&t.start("AST -> CSS");let f=F(k);a&&t.end("AST -> CSS"),a&&t.start("Lightning CSS");let u=pe(f,{minify:typeof i=="object"?i.minify:!0});a&&t.end("Lightning CSS"),a&&t.start("CSS -> PostCSS AST"),o.optimizedPostCssAst=v.default.parse(u,s.opts),a&&t.end("CSS -> PostCSS AST"),a&&t.end("Optimization")}else a&&t.start("Transform Tailwind CSS AST into PostCSS AST"),o.cachedPostCssAst=M(k,e.source),a&&t.end("Transform Tailwind CSS AST into PostCSS AST");o.tailwindCssAst=k;a&&t.start("Update PostCSS AST");e.removeAll();e.append(i?o.optimizedPostCssAst.clone().nodes:o.cachedPostCssAst.clone().nodes);e.raws.indent=" ";a&&t.end("Update PostCSS AST");a&&t.end(`[@tailwindcss/postcss] ${(0,d.relative)(r,l)}`)}catch(q){var X=q,Y=!0}finally{W(U,X,Y)}}}]}}function pe(n,{file:r="input.css",minify:i=!1}={}){function e(s){return(0,g.transform)({filename:r,code:s,minify:i,sourceMap:!1,drafts:{customMedia:!0},nonStandard:{deepSelectorCombinator:!0},include:g.Features.Nesting,exclude:g.Features.LogicalProperties|g.Features.DirSelector|g.Features.LightDark,targets:{safari:16<<16|1024,ios_saf:16<<16|1024,firefox:8388608,chrome:7274496},errorRecovery:!0}).code}return e(e(Buffer.from(n))).toString()}var j=Object.assign(ce,{postcss:!0});module.exports=j;
"use strict";var et=Object.create;var ke=Object.defineProperty;var tt=Object.getOwnPropertyDescriptor;var rt=Object.getOwnPropertyNames;var it=Object.getPrototypeOf,nt=Object.prototype.hasOwnProperty;var he=(e,r)=>(r=Symbol[e])?r:Symbol.for("Symbol."+e),ve=e=>{throw TypeError(e)};var ot=(e,r,t,a)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of rt(r))!nt.call(e,n)&&n!==t&&ke(e,n,{get:()=>r[n],enumerable:!(a=tt(r,n))||a.enumerable});return e};var q=(e,r,t)=>(t=e!=null?et(it(e)):{},ot(r||!e||!e.__esModule?ke(t,"default",{value:e,enumerable:!0}):t,e));var we=(e,r,t)=>{if(r!=null){typeof r!="object"&&typeof r!="function"&&ve("Object expected");var a,n;t&&(a=r[he("asyncDispose")]),a===void 0&&(a=r[he("dispose")],t&&(n=a)),typeof a!="function"&&ve("Object not disposable"),n&&(a=function(){try{n.call(this)}catch(o){return Promise.reject(o)}}),e.push([t,a,r])}else t&&e.push([t]);return r},be=(e,r,t)=>{var a=typeof SuppressedError=="function"?SuppressedError:function(i,l,u,s){return s=Error(u),s.name="SuppressedError",s.error=i,s.suppressed=l,s},n=i=>r=t?new a(i,r,"An error was suppressed during disposal"):(t=!0,i),o=i=>{for(;i=e.pop();)try{var l=i[1]&&i[1].call(i[2]);if(i[0])return Promise.resolve(l).then(o,u=>(n(u),o()))}catch(u){n(u)}if(t)throw r};return o()};var Ye=q(require("@alloc/quick-lru")),x=require("@tailwindcss/node"),Ge=require("@tailwindcss/node/require-cache"),He=require("@tailwindcss/oxide"),qe=q(require("fs")),V=q(require("path"));function F(e){return{kind:"word",value:e}}function lt(e,r){return{kind:"function",value:e,nodes:r}}function at(e){return{kind:"separator",value:e}}function S(e){let r="";for(let t of e)switch(t.kind){case"word":case"separator":{r+=t.value;break}case"function":r+=t.value+"("+S(t.nodes)+")"}return r}var ye=92,st=41,xe=58,Ae=44,ut=34,Ce=61,Se=62,$e=60,Te=10,ct=40,ft=39,pt=47,Ve=32,Ee=9;function A(e){e=e.replaceAll(`\r
`,`
`);let r=[],t=[],a=null,n="",o;for(let i=0;i<e.length;i++){let l=e.charCodeAt(i);switch(l){case ye:{n+=e[i]+e[i+1],i++;break}case pt:{if(n.length>0){let s=F(n);a?a.nodes.push(s):r.push(s),n=""}let u=F(e[i]);a?a.nodes.push(u):r.push(u);break}case xe:case Ae:case Ce:case Se:case $e:case Te:case Ve:case Ee:{if(n.length>0){let f=F(n);a?a.nodes.push(f):r.push(f),n=""}let u=i,s=i+1;for(;s<e.length&&(o=e.charCodeAt(s),!(o!==xe&&o!==Ae&&o!==Ce&&o!==Se&&o!==$e&&o!==Te&&o!==Ve&&o!==Ee));s++);i=s-1;let c=at(e.slice(u,s));a?a.nodes.push(c):r.push(c);break}case ft:case ut:{let u=i;for(let s=i+1;s<e.length;s++)if(o=e.charCodeAt(s),o===ye)s+=1;else if(o===l){i=s;break}n+=e.slice(u,i+1);break}case ct:{let u=lt(n,[]);n="",a?a.nodes.push(u):r.push(u),t.push(u),a=u;break}case st:{let u=t.pop();if(n.length>0){let s=F(n);u?.nodes.push(s),n=""}t.length>0?a=t[t.length-1]:a=null;break}default:n+=String.fromCharCode(l)}}return n.length>0&&r.push(F(n)),r}var d=class extends Map{constructor(t){super();this.factory=t}get(t){let a=super.get(t);return a===void 0&&(a=this.factory(t,this),this.set(t,a)),a}};var nr=new Uint8Array(256);var Z=new Uint8Array(256);function v(e,r){let t=0,a=[],n=0,o=e.length,i=r.charCodeAt(0);for(let l=0;l<o;l++){let u=e.charCodeAt(l);if(t===0&&u===i){a.push(e.slice(n,l)),n=l+1;continue}switch(u){case 92:l+=1;break;case 39:case 34:for(;++l<o;){let s=e.charCodeAt(l);if(s===92){l+=1;continue}if(s===u)break}break;case 40:Z[t]=41,t++;break;case 91:Z[t]=93,t++;break;case 123:Z[t]=125,t++;break;case 93:case 125:case 41:t>0&&u===Z[t-1]&&t--;break}}return a.push(e.slice(n)),a}var re=(i=>(i[i.Continue=0]="Continue",i[i.Skip=1]="Skip",i[i.Stop=2]="Stop",i[i.Replace=3]="Replace",i[i.ReplaceSkip=4]="ReplaceSkip",i[i.ReplaceStop=5]="ReplaceStop",i))(re||{}),m={Continue:{kind:0},Skip:{kind:1},Stop:{kind:2},Replace:e=>({kind:3,nodes:Array.isArray(e)?e:[e]}),ReplaceSkip:e=>({kind:4,nodes:Array.isArray(e)?e:[e]}),ReplaceStop:e=>({kind:5,nodes:Array.isArray(e)?e:[e]})};function g(e,r){typeof r=="function"?Ne(e,r):Ne(e,r.enter,r.exit)}function Ne(e,r=()=>m.Continue,t=()=>m.Continue){let a={value:[e,0,null],prev:null},n={parent:null,depth:0,path(){let o=[],i=a;for(;i;){let l=i.value[2];l&&o.push(l),i=i.prev}return o.reverse(),o}};for(;a!==null;){let o=a.value,i=o[0],l=o[1],u=o[2];if(l>=i.length){a=a.prev,n.depth-=1;continue}if(n.parent=u,l>=0){let k=i[l],E=r(k,n)??m.Continue;switch(E.kind){case 0:{k.nodes&&k.nodes.length>0&&(n.depth+=1,a={value:[k.nodes,0,k],prev:a}),o[1]=~l;continue}case 2:return;case 1:{o[1]=~l;continue}case 3:{i.splice(l,1,...E.nodes);continue}case 5:{i.splice(l,1,...E.nodes);return}case 4:{i.splice(l,1,...E.nodes),o[1]+=E.nodes.length;continue}default:throw new Error(`Invalid \`WalkAction.${re[E.kind]??`Unknown(${E.kind})`}\` in enter.`)}}let s=~l,c=i[s],f=t(c,n)??m.Continue;switch(f.kind){case 0:o[1]=s+1;continue;case 2:return;case 3:{i.splice(s,1,...f.nodes),o[1]=s+f.nodes.length;continue}case 5:{i.splice(s,1,...f.nodes);return}case 4:{i.splice(s,1,...f.nodes),o[1]=s+f.nodes.length;continue}default:throw new Error(`Invalid \`WalkAction.${re[f.kind]??`Unknown(${f.kind})`}\` in exit.`)}}}var gr=new d(e=>{let r=A(e),t=new Set,a=new Set(["~",">","+","-","*","/"]);return g(r,(n,o)=>{let i=o.parent===null?r:o.parent.nodes??[];if(n.kind==="word"&&a.has(n.value)){let l=i.indexOf(n)??-1;if(l===-1)return;let u=i[l-1];if(u?.kind!=="separator"||u.value!==" ")return;let s=i[l+1];if(s?.kind!=="separator"||s.value!==" ")return;let c=i[l-2];if(c&&a.has(c.value))return;let f=i[l+2];if(f&&a.has(f.value))return;t.add(u),t.add(s)}else if(n.kind==="separator"&&n.value.length>0&&n.value.trim()==="")(i[0]===n||i[i.length-1]===n)&&t.add(n);else if(n.kind==="separator"&&n.value.trim()===",")n.value=",";else if(n.kind==="function"&&n.value.startsWith("--")){let l=i.indexOf(n)??-1;if(l<=0)return;let u=i[l-1];if(u?.kind==="separator"&&u.value===",")return;let s=i[l-2];return s&&!a.has(s.value)?void 0:m.ReplaceSkip({kind:"function",value:"",nodes:[n]})}}),t.size>0&&g(r,n=>{if(t.has(n))return t.delete(n),m.ReplaceSkip([])}),ie(r),S(r)});var hr=new d(e=>{let r=A(e);return r.length===3&&r[0].kind==="word"&&r[0].value==="&"&&r[1].kind==="separator"&&r[1].value===":"&&r[2].kind==="function"&&r[2].value==="is"?S(r[2].nodes):e});function ie(e){for(let r of e)switch(r.kind){case"function":{if(r.value==="url"||r.value.endsWith("_url")){r.value=j(r.value);break}if(r.value==="var"||r.value.endsWith("_var")||r.value==="theme"||r.value.endsWith("_theme")){r.value=j(r.value);for(let t=0;t<r.nodes.length;t++)ie([r.nodes[t]]);break}r.value=j(r.value),ie(r.nodes);break}case"separator":r.value=j(r.value);break;case"word":{(r.value[0]!=="-"||r.value[1]!=="-")&&(r.value=j(r.value));break}default:mt(r)}}var vr=new d(e=>{let r=A(e);return r.length===1&&r[0].kind==="function"&&r[0].value==="var"});function mt(e){throw new Error(`Unexpected value: ${e}`)}function j(e){return e.replaceAll("_",String.raw`\_`).replaceAll(" ","_")}var _=/[+-]?\d*\.?\d+(?:[eE][+-]?\d+)?/,Tr=new RegExp(`^${_.source}$`);var Vr=new RegExp(`^${_.source}%$`);var Er=new RegExp(`^${_.source}\\s*/\\s*${_.source}$`);var gt=["cm","mm","Q","in","pc","pt","px","em","ex","ch","rem","lh","rlh","vw","vh","vmin","vmax","vb","vi","svw","svh","lvw","lvh","dvw","dvh","cqw","cqh","cqi","cqb","cqmin","cqmax"],Nr=new RegExp(`^${_.source}(${gt.join("|")})$`);var ht=["deg","rad","grad","turn"],Rr=new RegExp(`^${_.source}(${ht.join("|")})$`);var Pr=new RegExp(`^${_.source} +${_.source} +${_.source}$`);function $(e){let r=Number(e);return Number.isInteger(r)&&r>=0&&String(r)===String(e)}function W(e,r){if(r===null)return e;let t=Number(r);return Number.isNaN(t)||(r=`${t*100}%`),r==="100%"?e:`color-mix(in oklab, ${e} ${r}, transparent)`}var kt={"--alpha":wt,"--spacing":bt,"--theme":yt,theme:xt};function wt(e,r,t,...a){let[n,o]=v(t,"/").map(i=>i.trim());if(!n||!o)throw new Error(`The --alpha(\u2026) function requires a color and an alpha value, e.g.: \`--alpha(${n||"var(--my-color)"} / ${o||"50%"})\``);if(a.length>0)throw new Error(`The --alpha(\u2026) function only accepts one argument, e.g.: \`--alpha(${n||"var(--my-color)"} / ${o||"50%"})\``);return W(n,o)}function bt(e,r,t,...a){if(!t)throw new Error("The --spacing(\u2026) function requires an argument, but received none.");if(a.length>0)throw new Error(`The --spacing(\u2026) function only accepts a single argument, but received ${a.length+1}.`);let n=e.theme.resolve(null,["--spacing"]);if(!n)throw new Error("The --spacing(\u2026) function requires that the `--spacing` theme variable exists, but it was not found.");return`calc(${n} * ${t})`}function yt(e,r,t,...a){if(!t.startsWith("--"))throw new Error("The --theme(\u2026) function can only be used with CSS variables from your theme.");let n=!1;t.endsWith(" inline")&&(n=!0,t=t.slice(0,-7)),r.kind==="at-rule"&&(n=!0);let o=e.resolveThemeValue(t,n);if(!o){if(a.length>0)return a.join(", ");throw new Error(`Could not resolve value for theme function: \`theme(${t})\`. Consider checking if the variable name is correct or provide a fallback value to silence this error.`)}if(a.length===0)return o;let i=a.join(", ");if(i==="initial")return o;if(o==="initial")return i;if(o.startsWith("var(")||o.startsWith("theme(")||o.startsWith("--theme(")){let l=A(o);return Ct(l,i),S(l)}return o}function xt(e,r,t,...a){t=At(t);let n=e.resolveThemeValue(t);if(!n&&a.length>0)return a.join(", ");if(!n)throw new Error(`Could not resolve value for theme function: \`theme(${t})\`. Consider checking if the path is correct or provide a fallback value to silence this error.`);return n}var Xr=new RegExp(Object.keys(kt).map(e=>`${e}\\(`).join("|"));function At(e){if(e[0]!=="'"&&e[0]!=='"')return e;let r="",t=e[0];for(let a=1;a<e.length-1;a++){let n=e[a],o=e[a+1];n==="\\"&&(o===t||o==="\\")?(r+=o,a++):r+=n}return r}function Ct(e,r){g(e,t=>{if(t.kind==="function"&&!(t.value!=="var"&&t.value!=="theme"&&t.value!=="--theme"))if(t.nodes.length===1)t.nodes.push({kind:"word",value:`, ${r}`});else{let a=t.nodes[t.nodes.length-1];a.kind==="word"&&a.value==="initial"&&(a.value=r)}})}var $t=/^(?<value>[-+]?(?:\d*\.)?\d+)(?<unit>[a-z]+|%)?$/i,oe=new d(e=>{let r=$t.exec(e);if(!r)return null;let t=r.groups?.value;if(t===void 0)return null;let a=Number(t);if(Number.isNaN(a))return null;let n=r.groups?.unit;return n===void 0?[a,null]:[a,n]});function L(e,r="top",t="right",a="bottom",n="left"){return _e(`${e}-${r}`,`${e}-${t}`,`${e}-${a}`,`${e}-${n}`)}function _e(e="top",r="right",t="bottom",a="left"){return{1:[[e,0],[r,0],[t,0],[a,0]],2:[[e,0],[r,1],[t,0],[a,1]],3:[[e,0],[r,1],[t,2],[a,1]],4:[[e,0],[r,1],[t,2],[a,3]]}}function T(e,r){return{1:[[e,0],[r,0]],2:[[e,0],[r,1]]}}var wi={inset:_e(),margin:L("margin"),padding:L("padding"),"scroll-margin":L("scroll-margin"),"scroll-padding":L("scroll-padding"),"border-width":L("border","top-width","right-width","bottom-width","left-width"),"border-style":L("border","top-style","right-style","bottom-style","left-style"),"border-color":L("border","top-color","right-color","bottom-color","left-color"),gap:T("row-gap","column-gap"),overflow:T("overflow-x","overflow-y"),"overscroll-behavior":T("overscroll-behavior-x","overscroll-behavior-y")},bi={"inset-block":T("top","bottom"),"inset-inline":T("left","right"),"margin-block":T("margin-top","margin-bottom"),"margin-inline":T("margin-left","margin-right"),"padding-block":T("padding-top","padding-bottom"),"padding-inline":T("padding-left","padding-right"),"scroll-margin-block":T("scroll-margin-top","scroll-margin-bottom"),"scroll-margin-inline":T("scroll-margin-left","scroll-margin-right"),"scroll-padding-block":T("scroll-padding-top","scroll-padding-bottom"),"scroll-padding-inline":T("scroll-padding-left","scroll-padding-right")};var Ji=Symbol();var Xi=Symbol();var en=Symbol();var tn=Symbol();var rn=Symbol();var nn=Symbol();var on=Symbol();var ln=Symbol();var an=Symbol();var sn=Symbol();var un=Symbol();var cn=Symbol();var fn=Symbol();var pn=Symbol();function J(e){let r=[0];for(let n=0;n<e.length;n++)e.charCodeAt(n)===10&&r.push(n+1);function t(n){let o=0,i=r.length;for(;i>0;){let u=(i|0)>>1,s=o+u;r[s]<=n?(o=s+1,i=i-u-1):i=u}o-=1;let l=n-r[o];return{line:o+1,column:l}}function a({line:n,column:o}){n-=1,n=Math.min(Math.max(n,0),r.length-1);let i=r[n],l=r[n+1]??i;return Math.min(Math.max(i+o,0),l)}return{find:t,findOffset:a}}var zt=32,Lt=9;var Kt=40;function Le(e,r=[]){let t=e,a="";for(let n=5;n<e.length;n++){let o=e.charCodeAt(n);if(o===zt||o===Lt||o===Kt){t=e.slice(0,n),a=e.slice(n);break}}return C(t.trim(),a.trim(),r)}var ue={inherit:"inherit",current:"currentcolor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"oklch(98.4% 0.003 247.858)",100:"oklch(96.8% 0.007 247.896)",200:"oklch(92.9% 0.013 255.508)",300:"oklch(86.9% 0.022 252.894)",400:"oklch(70.4% 0.04 256.788)",500:"oklch(55.4% 0.046 257.417)",600:"oklch(44.6% 0.043 257.281)",700:"oklch(37.2% 0.044 257.287)",800:"oklch(27.9% 0.041 260.031)",900:"oklch(20.8% 0.042 265.755)",950:"oklch(12.9% 0.042 264.695)"},gray:{50:"oklch(98.5% 0.002 247.839)",100:"oklch(96.7% 0.003 264.542)",200:"oklch(92.8% 0.006 264.531)",300:"oklch(87.2% 0.01 258.338)",400:"oklch(70.7% 0.022 261.325)",500:"oklch(55.1% 0.027 264.364)",600:"oklch(44.6% 0.03 256.802)",700:"oklch(37.3% 0.034 259.733)",800:"oklch(27.8% 0.033 256.848)",900:"oklch(21% 0.034 264.665)",950:"oklch(13% 0.028 261.692)"},zinc:{50:"oklch(98.5% 0 0)",100:"oklch(96.7% 0.001 286.375)",200:"oklch(92% 0.004 286.32)",300:"oklch(87.1% 0.006 286.286)",400:"oklch(70.5% 0.015 286.067)",500:"oklch(55.2% 0.016 285.938)",600:"oklch(44.2% 0.017 285.786)",700:"oklch(37% 0.013 285.805)",800:"oklch(27.4% 0.006 286.033)",900:"oklch(21% 0.006 285.885)",950:"oklch(14.1% 0.005 285.823)"},neutral:{50:"oklch(98.5% 0 0)",100:"oklch(97% 0 0)",200:"oklch(92.2% 0 0)",300:"oklch(87% 0 0)",400:"oklch(70.8% 0 0)",500:"oklch(55.6% 0 0)",600:"oklch(43.9% 0 0)",700:"oklch(37.1% 0 0)",800:"oklch(26.9% 0 0)",900:"oklch(20.5% 0 0)",950:"oklch(14.5% 0 0)"},stone:{50:"oklch(98.5% 0.001 106.423)",100:"oklch(97% 0.001 106.424)",200:"oklch(92.3% 0.003 48.717)",300:"oklch(86.9% 0.005 56.366)",400:"oklch(70.9% 0.01 56.259)",500:"oklch(55.3% 0.013 58.071)",600:"oklch(44.4% 0.011 73.639)",700:"oklch(37.4% 0.01 67.558)",800:"oklch(26.8% 0.007 34.298)",900:"oklch(21.6% 0.006 56.043)",950:"oklch(14.7% 0.004 49.25)"},mauve:{50:"oklch(98.5% 0 0)",100:"oklch(96% 0.003 325.6)",200:"oklch(92.2% 0.005 325.62)",300:"oklch(86.5% 0.012 325.68)",400:"oklch(71.1% 0.019 323.02)",500:"oklch(54.2% 0.034 322.5)",600:"oklch(43.5% 0.029 321.78)",700:"oklch(36.4% 0.029 323.89)",800:"oklch(26.3% 0.024 320.12)",900:"oklch(21.2% 0.019 322.12)",950:"oklch(14.5% 0.008 326)"},olive:{50:"oklch(98.8% 0.003 106.5)",100:"oklch(96.6% 0.005 106.5)",200:"oklch(93% 0.007 106.5)",300:"oklch(88% 0.011 106.6)",400:"oklch(73.7% 0.021 106.9)",500:"oklch(58% 0.031 107.3)",600:"oklch(46.6% 0.025 107.3)",700:"oklch(39.4% 0.023 107.4)",800:"oklch(28.6% 0.016 107.4)",900:"oklch(22.8% 0.013 107.4)",950:"oklch(15.3% 0.006 107.1)"},mist:{50:"oklch(98.7% 0.002 197.1)",100:"oklch(96.3% 0.002 197.1)",200:"oklch(92.5% 0.005 214.3)",300:"oklch(87.2% 0.007 219.6)",400:"oklch(72.3% 0.014 214.4)",500:"oklch(56% 0.021 213.5)",600:"oklch(45% 0.017 213.2)",700:"oklch(37.8% 0.015 216)",800:"oklch(27.5% 0.011 216.9)",900:"oklch(21.8% 0.008 223.9)",950:"oklch(14.8% 0.004 228.8)"},taupe:{50:"oklch(98.6% 0.002 67.8)",100:"oklch(96% 0.002 17.2)",200:"oklch(92.2% 0.005 34.3)",300:"oklch(86.8% 0.007 39.5)",400:"oklch(71.4% 0.014 41.2)",500:"oklch(54.7% 0.021 43.1)",600:"oklch(43.8% 0.017 39.3)",700:"oklch(36.7% 0.016 35.7)",800:"oklch(26.8% 0.011 36.5)",900:"oklch(21.4% 0.009 43.1)",950:"oklch(14.7% 0.004 49.3)"},red:{50:"oklch(97.1% 0.013 17.38)",100:"oklch(93.6% 0.032 17.717)",200:"oklch(88.5% 0.062 18.334)",300:"oklch(80.8% 0.114 19.571)",400:"oklch(70.4% 0.191 22.216)",500:"oklch(63.7% 0.237 25.331)",600:"oklch(57.7% 0.245 27.325)",700:"oklch(50.5% 0.213 27.518)",800:"oklch(44.4% 0.177 26.899)",900:"oklch(39.6% 0.141 25.723)",950:"oklch(25.8% 0.092 26.042)"},orange:{50:"oklch(98% 0.016 73.684)",100:"oklch(95.4% 0.038 75.164)",200:"oklch(90.1% 0.076 70.697)",300:"oklch(83.7% 0.128 66.29)",400:"oklch(75% 0.183 55.934)",500:"oklch(70.5% 0.213 47.604)",600:"oklch(64.6% 0.222 41.116)",700:"oklch(55.3% 0.195 38.402)",800:"oklch(47% 0.157 37.304)",900:"oklch(40.8% 0.123 38.172)",950:"oklch(26.6% 0.079 36.259)"},amber:{50:"oklch(98.7% 0.022 95.277)",100:"oklch(96.2% 0.059 95.617)",200:"oklch(92.4% 0.12 95.746)",300:"oklch(87.9% 0.169 91.605)",400:"oklch(82.8% 0.189 84.429)",500:"oklch(76.9% 0.188 70.08)",600:"oklch(66.6% 0.179 58.318)",700:"oklch(55.5% 0.163 48.998)",800:"oklch(47.3% 0.137 46.201)",900:"oklch(41.4% 0.112 45.904)",950:"oklch(27.9% 0.077 45.635)"},yellow:{50:"oklch(98.7% 0.026 102.212)",100:"oklch(97.3% 0.071 103.193)",200:"oklch(94.5% 0.129 101.54)",300:"oklch(90.5% 0.182 98.111)",400:"oklch(85.2% 0.199 91.936)",500:"oklch(79.5% 0.184 86.047)",600:"oklch(68.1% 0.162 75.834)",700:"oklch(55.4% 0.135 66.442)",800:"oklch(47.6% 0.114 61.907)",900:"oklch(42.1% 0.095 57.708)",950:"oklch(28.6% 0.066 53.813)"},lime:{50:"oklch(98.6% 0.031 120.757)",100:"oklch(96.7% 0.067 122.328)",200:"oklch(93.8% 0.127 124.321)",300:"oklch(89.7% 0.196 126.665)",400:"oklch(84.1% 0.238 128.85)",500:"oklch(76.8% 0.233 130.85)",600:"oklch(64.8% 0.2 131.684)",700:"oklch(53.2% 0.157 131.589)",800:"oklch(45.3% 0.124 130.933)",900:"oklch(40.5% 0.101 131.063)",950:"oklch(27.4% 0.072 132.109)"},green:{50:"oklch(98.2% 0.018 155.826)",100:"oklch(96.2% 0.044 156.743)",200:"oklch(92.5% 0.084 155.995)",300:"oklch(87.1% 0.15 154.449)",400:"oklch(79.2% 0.209 151.711)",500:"oklch(72.3% 0.219 149.579)",600:"oklch(62.7% 0.194 149.214)",700:"oklch(52.7% 0.154 150.069)",800:"oklch(44.8% 0.119 151.328)",900:"oklch(39.3% 0.095 152.535)",950:"oklch(26.6% 0.065 152.934)"},emerald:{50:"oklch(97.9% 0.021 166.113)",100:"oklch(95% 0.052 163.051)",200:"oklch(90.5% 0.093 164.15)",300:"oklch(84.5% 0.143 164.978)",400:"oklch(76.5% 0.177 163.223)",500:"oklch(69.6% 0.17 162.48)",600:"oklch(59.6% 0.145 163.225)",700:"oklch(50.8% 0.118 165.612)",800:"oklch(43.2% 0.095 166.913)",900:"oklch(37.8% 0.077 168.94)",950:"oklch(26.2% 0.051 172.552)"},teal:{50:"oklch(98.4% 0.014 180.72)",100:"oklch(95.3% 0.051 180.801)",200:"oklch(91% 0.096 180.426)",300:"oklch(85.5% 0.138 181.071)",400:"oklch(77.7% 0.152 181.912)",500:"oklch(70.4% 0.14 182.503)",600:"oklch(60% 0.118 184.704)",700:"oklch(51.1% 0.096 186.391)",800:"oklch(43.7% 0.078 188.216)",900:"oklch(38.6% 0.063 188.416)",950:"oklch(27.7% 0.046 192.524)"},cyan:{50:"oklch(98.4% 0.019 200.873)",100:"oklch(95.6% 0.045 203.388)",200:"oklch(91.7% 0.08 205.041)",300:"oklch(86.5% 0.127 207.078)",400:"oklch(78.9% 0.154 211.53)",500:"oklch(71.5% 0.143 215.221)",600:"oklch(60.9% 0.126 221.723)",700:"oklch(52% 0.105 223.128)",800:"oklch(45% 0.085 224.283)",900:"oklch(39.8% 0.07 227.392)",950:"oklch(30.2% 0.056 229.695)"},sky:{50:"oklch(97.7% 0.013 236.62)",100:"oklch(95.1% 0.026 236.824)",200:"oklch(90.1% 0.058 230.902)",300:"oklch(82.8% 0.111 230.318)",400:"oklch(74.6% 0.16 232.661)",500:"oklch(68.5% 0.169 237.323)",600:"oklch(58.8% 0.158 241.966)",700:"oklch(50% 0.134 242.749)",800:"oklch(44.3% 0.11 240.79)",900:"oklch(39.1% 0.09 240.876)",950:"oklch(29.3% 0.066 243.157)"},blue:{50:"oklch(97% 0.014 254.604)",100:"oklch(93.2% 0.032 255.585)",200:"oklch(88.2% 0.059 254.128)",300:"oklch(80.9% 0.105 251.813)",400:"oklch(70.7% 0.165 254.624)",500:"oklch(62.3% 0.214 259.815)",600:"oklch(54.6% 0.245 262.881)",700:"oklch(48.8% 0.243 264.376)",800:"oklch(42.4% 0.199 265.638)",900:"oklch(37.9% 0.146 265.522)",950:"oklch(28.2% 0.091 267.935)"},indigo:{50:"oklch(96.2% 0.018 272.314)",100:"oklch(93% 0.034 272.788)",200:"oklch(87% 0.065 274.039)",300:"oklch(78.5% 0.115 274.713)",400:"oklch(67.3% 0.182 276.935)",500:"oklch(58.5% 0.233 277.117)",600:"oklch(51.1% 0.262 276.966)",700:"oklch(45.7% 0.24 277.023)",800:"oklch(39.8% 0.195 277.366)",900:"oklch(35.9% 0.144 278.697)",950:"oklch(25.7% 0.09 281.288)"},violet:{50:"oklch(96.9% 0.016 293.756)",100:"oklch(94.3% 0.029 294.588)",200:"oklch(89.4% 0.057 293.283)",300:"oklch(81.1% 0.111 293.571)",400:"oklch(70.2% 0.183 293.541)",500:"oklch(60.6% 0.25 292.717)",600:"oklch(54.1% 0.281 293.009)",700:"oklch(49.1% 0.27 292.581)",800:"oklch(43.2% 0.232 292.759)",900:"oklch(38% 0.189 293.745)",950:"oklch(28.3% 0.141 291.089)"},purple:{50:"oklch(97.7% 0.014 308.299)",100:"oklch(94.6% 0.033 307.174)",200:"oklch(90.2% 0.063 306.703)",300:"oklch(82.7% 0.119 306.383)",400:"oklch(71.4% 0.203 305.504)",500:"oklch(62.7% 0.265 303.9)",600:"oklch(55.8% 0.288 302.321)",700:"oklch(49.6% 0.265 301.924)",800:"oklch(43.8% 0.218 303.724)",900:"oklch(38.1% 0.176 304.987)",950:"oklch(29.1% 0.149 302.717)"},fuchsia:{50:"oklch(97.7% 0.017 320.058)",100:"oklch(95.2% 0.037 318.852)",200:"oklch(90.3% 0.076 319.62)",300:"oklch(83.3% 0.145 321.434)",400:"oklch(74% 0.238 322.16)",500:"oklch(66.7% 0.295 322.15)",600:"oklch(59.1% 0.293 322.896)",700:"oklch(51.8% 0.253 323.949)",800:"oklch(45.2% 0.211 324.591)",900:"oklch(40.1% 0.17 325.612)",950:"oklch(29.3% 0.136 325.661)"},pink:{50:"oklch(97.1% 0.014 343.198)",100:"oklch(94.8% 0.028 342.258)",200:"oklch(89.9% 0.061 343.231)",300:"oklch(82.3% 0.12 346.018)",400:"oklch(71.8% 0.202 349.761)",500:"oklch(65.6% 0.241 354.308)",600:"oklch(59.2% 0.249 0.584)",700:"oklch(52.5% 0.223 3.958)",800:"oklch(45.9% 0.187 3.815)",900:"oklch(40.8% 0.153 2.432)",950:"oklch(28.4% 0.109 3.907)"},rose:{50:"oklch(96.9% 0.015 12.422)",100:"oklch(94.1% 0.03 12.58)",200:"oklch(89.2% 0.058 10.001)",300:"oklch(81% 0.117 11.638)",400:"oklch(71.2% 0.194 13.428)",500:"oklch(64.5% 0.246 16.439)",600:"oklch(58.6% 0.253 17.585)",700:"oklch(51.4% 0.222 16.935)",800:"oklch(45.5% 0.188 13.697)",900:"oklch(41% 0.159 10.272)",950:"oklch(27.1% 0.105 12.094)"}};function M(e){return{__BARE_VALUE__:e}}var R=M(e=>{if($(e.value))return e.value}),y=M(e=>{if($(e.value))return`${e.value}%`}),U=M(e=>{if($(e.value))return`${e.value}px`}),Fe=M(e=>{if($(e.value))return`${e.value}ms`}),ee=M(e=>{if($(e.value))return`${e.value}deg`}),Bt=M(e=>{if(e.fraction===null)return;let[r,t]=v(e.fraction,"/");if(!(!$(r)||!$(t)))return e.fraction}),je=M(e=>{if($(Number(e.value)))return`repeat(${e.value}, minmax(0, 1fr))`}),Yt={accentColor:({theme:e})=>e("colors"),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",...Bt},backdropBlur:({theme:e})=>e("blur"),backdropBrightness:({theme:e})=>({...e("brightness"),...y}),backdropContrast:({theme:e})=>({...e("contrast"),...y}),backdropGrayscale:({theme:e})=>({...e("grayscale"),...y}),backdropHueRotate:({theme:e})=>({...e("hueRotate"),...ee}),backdropInvert:({theme:e})=>({...e("invert"),...y}),backdropOpacity:({theme:e})=>({...e("opacity"),...y}),backdropSaturate:({theme:e})=>({...e("saturate"),...y}),backdropSepia:({theme:e})=>({...e("sepia"),...y}),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:"",sm:"4px",DEFAULT:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},borderColor:({theme:e})=>({DEFAULT:"currentcolor",...e("colors")}),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",...U},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",...y},caretColor:({theme:e})=>e("colors"),colors:()=>({...ue}),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",...R},container:{},content:{none:"none"},contrast:{0:"0",50:".5",75:".75",100:"1",125:"1.25",150:"1.5",200:"2",...y},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"),...U}),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})=>e("colors"),flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},flexBasis:({theme:e})=>({auto:"auto","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%",...e("spacing")}),flexGrow:{0:"0",DEFAULT:"1",...R},flexShrink:{0:"0",DEFAULT:"1",...R},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%",...y},grayscale:{0:"0",DEFAULT:"100%",...y},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",...R},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",...R},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",...R},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",...R},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))",...je},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))",...je},height:({theme:e})=>({auto:"auto","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",...e("spacing")}),hueRotate:{0:"0deg",15:"15deg",30:"30deg",60:"60deg",90:"90deg",180:"180deg",...ee},inset:({theme:e})=>({auto:"auto","1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%",...e("spacing")}),invert:{0:"0",DEFAULT:"100%",...y},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",...R},maxHeight:({theme:e})=>({none:"none",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),maxWidth:({theme:e})=>({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",...e("spacing")}),minHeight:({theme:e})=>({full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),minWidth:({theme:e})=>({full:"100%",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),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",...y},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",...R},outlineColor:({theme:e})=>e("colors"),outlineOffset:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...U},outlineWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...U},padding:({theme:e})=>e("spacing"),placeholderColor:({theme:e})=>e("colors"),placeholderOpacity:({theme:e})=>e("opacity"),ringColor:({theme:e})=>({DEFAULT:"currentcolor",...e("colors")}),ringOffsetColor:({theme:e})=>e("colors"),ringOffsetWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...U},ringOpacity:({theme:e})=>({DEFAULT:"0.5",...e("opacity")}),ringWidth:{DEFAULT:"3px",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...U},rotate:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",45:"45deg",90:"90deg",180:"180deg",...ee},saturate:{0:"0",50:".5",100:"1",150:"1.5",200:"2",...y},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",...y},screens:{sm:"40rem",md:"48rem",lg:"64rem",xl:"80rem","2xl":"96rem"},scrollMargin:({theme:e})=>e("spacing"),scrollPadding:({theme:e})=>e("spacing"),sepia:{0:"0",DEFAULT:"100%",...y},skew:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",...ee},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",...R},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",...U},textIndent:({theme:e})=>e("spacing"),textOpacity:({theme:e})=>e("opacity"),textUnderlineOffset:{auto:"auto",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...U},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",...Fe},transitionDuration:{DEFAULT:"150ms",0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms",...Fe},transitionProperty:{none:"none",all:"all",DEFAULT:"color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",colors:"color, background-color, border-color, outline-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})=>({"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%",...e("spacing")}),size:({theme:e})=>({auto:"auto","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",...e("spacing")}),width:({theme:e})=>({auto:"auto","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",...e("spacing")}),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",...R}};var Ht=64;function z(e,r=[]){return{kind:"rule",selector:e,nodes:r}}function C(e,r="",t=[]){return{kind:"at-rule",name:e,params:r,nodes:t}}function I(e,r=[]){return e.charCodeAt(0)===Ht?Le(e,r):z(e,r)}function N(e,r,t=!1){return{kind:"declaration",property:e,value:r,important:t}}function X(e){return{kind:"comment",value:e}}function K(e,r){let t=0,a={file:null,code:""};function n(i,l=0){let u="",s=" ".repeat(l);if(i.kind==="declaration"){if(u+=`${s}${i.property}: ${i.value}${i.important?" !important":""};
`,r){t+=s.length;let c=t;t+=i.property.length,t+=2,t+=i.value?.length??0,i.important&&(t+=11);let f=t;t+=2,i.dst=[a,c,f]}}else if(i.kind==="rule"){if(u+=`${s}${i.selector} {
`,r){t+=s.length;let c=t;t+=i.selector.length,t+=1;let f=t;i.dst=[a,c,f],t+=2}for(let c of i.nodes)u+=n(c,l+1);u+=`${s}}
`,r&&(t+=s.length,t+=2)}else if(i.kind==="at-rule"){if(i.nodes.length===0){let c=`${s}${i.name} ${i.params};
`;if(r){t+=s.length;let f=t;t+=i.name.length,t+=1,t+=i.params.length;let k=t;t+=2,i.dst=[a,f,k]}return c}if(u+=`${s}${i.name}${i.params?` ${i.params} `:" "}{
`,r){t+=s.length;let c=t;t+=i.name.length,i.params&&(t+=1,t+=i.params.length),t+=1;let f=t;i.dst=[a,c,f],t+=2}for(let c of i.nodes)u+=n(c,l+1);u+=`${s}}
`,r&&(t+=s.length,t+=2)}else if(i.kind==="comment"){if(u+=`${s}/*${i.value}*/
`,r){t+=s.length;let c=t;t+=2+i.value.length+2;let f=t;i.dst=[a,c,f],t+=1}}else if(i.kind==="context"||i.kind==="at-root")return"";return u}let o="";for(let i of e)o+=n(i,0);return a.code=o,o}var qt=33;function We(e,r,t){let a=new d(s=>new e.Input(s.code,{map:t?.input.map,from:s.file??void 0})),n=new d(s=>J(s.code)),o=e.root();o.source=t;function i(s){if(!s||!s[0])return;let c=n.get(s[0]),f=c.find(s[1]),k=c.find(s[2]);return{input:a.get(s[0]),start:{line:f.line,column:f.column+1,offset:s[1]},end:{line:k.line,column:k.column+1,offset:s[2]}}}function l(s,c){let f=i(c);f?s.source=f:delete s.source}function u(s,c){if(s.kind==="declaration"){let f=e.decl({prop:s.property,value:s.value??"",important:s.important});l(f,s.src),c.append(f)}else if(s.kind==="rule"){let f=e.rule({selector:s.selector});l(f,s.src),f.raws.semicolon=!0,c.append(f);for(let k of s.nodes)u(k,f)}else if(s.kind==="at-rule"){let f=e.atRule({name:s.name.slice(1),params:s.params});l(f,s.src),f.raws.semicolon=!0,c.append(f);for(let k of s.nodes)u(k,f)}else if(s.kind==="comment"){let f=e.comment({text:s.value});f.raws.left="",f.raws.right="",l(f,s.src),c.append(f)}else s.kind==="at-root"||s.kind}for(let s of r)u(s,o);return o}function Be(e){let r=new d(o=>({file:o.file??o.id??null,code:o.css}));function t(o){let i=o.source;if(!i)return;let l=i.input;if(l&&i.start!==void 0&&i.end!==void 0)return[r.get(l),i.start.offset,i.end.offset]}function a(o,i){if(o.type==="decl"){let l=N(o.prop,o.value,o.important);l.src=t(o),i.push(l)}else if(o.type==="rule"){let l=I(o.selector);l.src=t(o),o.each(u=>a(u,l.nodes)),i.push(l)}else if(o.type==="atrule"){let l=C(`@${o.name}`,o.params);l.src=t(o),o.each(u=>a(u,l.nodes)),i.push(l)}else if(o.type==="comment"){if(o.text.charCodeAt(0)!==qt)return;let l=X(o.text);l.src=t(o),i.push(l)}}let n=[];return e.each(o=>a(o,n)),n}var pe=require("@tailwindcss/node"),G=q(require("path")),ce="'",fe='"';function de(){let e=new WeakSet;function r(t){let a=t.root().source?.input.file;if(!a)return;let n=t.source?.input.file;if(!n||e.has(t))return;let o=t.params[0],i=o[0]===fe&&o[o.length-1]===fe?fe:o[0]===ce&&o[o.length-1]===ce?ce:null;if(!i)return;let l=t.params.slice(1,-1),u="";if(l.startsWith("!")&&(l=l.slice(1),u="!"),!l.startsWith("./")&&!l.startsWith("../"))return;let s=G.default.posix.join((0,pe.normalizePath)(G.default.dirname(n)),l),c=G.default.posix.dirname((0,pe.normalizePath)(a)),f=G.default.posix.relative(c,s);f.startsWith(".")||(f="./"+f),t.params=i+u+f+i,e.add(t)}return{postcssPlugin:"tailwindcss-postcss-fix-relative-paths",Once(t){t.walkAtRules(/source|plugin|config/,r)}}}var p=x.env.DEBUG,me=new Ye.default({maxSize:50});function Zt(e,r,t){let a=`${r}:${t.base??""}:${JSON.stringify(t.optimize)}`;if(me.has(a))return me.get(a);let n={mtimes:new Map,compiler:null,scanner:null,tailwindCssAst:[],cachedPostCssAst:e.root(),optimizedPostCssAst:e.root(),fullRebuildPaths:[]};return me.set(a,n),n}function Qt(e={}){let r=e.base??process.cwd(),t=e.optimize??process.env.NODE_ENV==="production",a=e.transformAssetUrls??!0;return{postcssPlugin:"@tailwindcss/postcss",plugins:[de(),{postcssPlugin:"tailwindcss",async Once(n,{result:o,postcss:i}){var ge=[];try{let l=we(ge,new x.Instrumentation);let u=o.opts.from??"";let s=u.endsWith(".module.css");p&&l.start(`[@tailwindcss/postcss] ${(0,V.relative)(r,u)}`);{p&&l.start("Quick bail check");let b=!0;if(n.walkAtRules(h=>{if(h.name==="import"||h.name==="reference"||h.name==="theme"||h.name==="variant"||h.name==="config"||h.name==="plugin"||h.name==="apply"||h.name==="tailwind")return b=!1,!1}),b)return;p&&l.end("Quick bail check")}let c=Zt(i,u,e);let f=u?V.default.dirname(V.default.resolve(u)):r;let k=c.compiler===null;async function E(){p&&l.start("Setup compiler"),c.fullRebuildPaths.length>0&&!k&&(0,Ge.clearRequireCache)(c.fullRebuildPaths),c.fullRebuildPaths=[],p&&l.start("PostCSS AST -> Tailwind CSS AST");let b=Be(n);p&&l.end("PostCSS AST -> Tailwind CSS AST"),p&&l.start("Create compiler");let h=await(0,x.compileAst)(b,{from:o.opts.from,base:f,shouldRewriteUrls:a,onDependency:te=>c.fullRebuildPaths.push(te),polyfills:s?x.Polyfills.All^x.Polyfills.AtProperty:x.Polyfills.All});return p&&l.end("Create compiler"),p&&l.end("Setup compiler"),h}try{if(c.compiler??=E(),(await c.compiler).features===x.Features.None)return;let b="incremental";p&&l.start("Register full rebuild paths");{for(let w of c.fullRebuildPaths)o.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:V.default.resolve(w),parent:o.opts.from});let D=o.messages.flatMap(w=>w.type!=="dependency"?[]:w.file);D.push(u);for(let w of D){let P=qe.default.statSync(w,{throwIfNoEntry:!1})?.mtimeMs??null;if(P===null){w===u&&(b="full");continue}c.mtimes.get(w)!==P&&(b="full",c.mtimes.set(w,P))}}p&&l.end("Register full rebuild paths"),b==="full"&&!k&&(c.compiler=E());let h=await c.compiler;if(c.scanner===null||b==="full"){p&&l.start("Setup scanner");let D=(h.root==="none"?[]:h.root===null?[{base:r,pattern:"**/*",negated:!1}]:[{...h.root,negated:!1}]).concat(h.sources);c.scanner=new He.Scanner({sources:D}),p&&l.end("Setup scanner")}p&&l.start("Scan for candidates");let te=h.features&x.Features.Utilities?c.scanner.scan():[];if(p&&l.end("Scan for candidates"),h.features&x.Features.Utilities){p&&l.start("Register dependency messages");let D=V.default.resolve(r,u);for(let w of c.scanner.files){let P=V.default.resolve(w);P!==D&&o.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:P,parent:o.opts.from})}for(let{base:w,pattern:P}of c.scanner.globs)P==="*"&&r===w||(P===""?o.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:V.default.resolve(w),parent:o.opts.from}):o.messages.push({type:"dir-dependency",plugin:"@tailwindcss/postcss",dir:V.default.resolve(w),glob:P,parent:o.opts.from}));p&&l.end("Register dependency messages")}p&&l.start("Build utilities");let H=h.build(te);if(p&&l.end("Build utilities"),c.tailwindCssAst!==H)if(t){p&&l.start("Optimization"),p&&l.start("AST -> CSS");let D=K(H);p&&l.end("AST -> CSS"),p&&l.start("Lightning CSS");let w=(0,x.optimize)(D,{minify:typeof t=="object"?t.minify:!0});p&&l.end("Lightning CSS"),p&&l.start("CSS -> PostCSS AST"),c.optimizedPostCssAst=i.parse(w.code,o.opts),p&&l.end("CSS -> PostCSS AST"),p&&l.end("Optimization")}else p&&l.start("Transform Tailwind CSS AST into PostCSS AST"),c.cachedPostCssAst=We(i,H,n.source),p&&l.end("Transform Tailwind CSS AST into PostCSS AST");c.tailwindCssAst=H,p&&l.start("Update PostCSS AST"),n.removeAll(),n.append(t?c.optimizedPostCssAst.clone().nodes:c.cachedPostCssAst.clone().nodes),n.raws.indent=" ",p&&l.end("Update PostCSS AST"),p&&l.end(`[@tailwindcss/postcss] ${(0,V.relative)(r,u)}`)}catch(b){c.compiler=null;for(let h of c.fullRebuildPaths)o.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:V.default.resolve(h),parent:o.opts.from});throw console.error(b),b&&typeof b=="object"&&"message"in b?n.error(`${b.message}`):n.error(`${b}`)}}catch(Qe){var Je=Qe,Xe=!0}finally{be(ge,Je,Xe)}}}]}}var Ze=Object.assign(Qt,{postcss:!0});module.exports=Ze;

@@ -1,8 +0,10 @@

var $=(o,r)=>(r=Symbol[o])?r:Symbol.for("Symbol."+o),U=o=>{throw TypeError(o)};var L=(o,r,n)=>{if(r!=null){typeof r!="object"&&typeof r!="function"&&U("Object expected");var e,s;n&&(e=r[$("asyncDispose")]),e===void 0&&(e=r[$("dispose")],n&&(s=e)),typeof e!="function"&&U("Object not disposable"),s&&(e=function(){try{s.call(this)}catch(t){return Promise.reject(t)}}),o.push([n,e,r])}else n&&o.push([n]);return r},V=(o,r,n)=>{var e=typeof SuppressedError=="function"?SuppressedError:function(i,l,c,p){return p=Error(c),p.name="SuppressedError",p.error=i,p.suppressed=l,p},s=i=>r=n?new e(i,r,"An error was suppressed during disposal"):(n=!0,i),t=i=>{for(;i=o.pop();)try{var l=i[1]&&i[1].call(i[2]);if(i[0])return Promise.resolve(l).then(t,c=>(s(c),t()))}catch(c){s(c)}if(n)throw r};return t()};import J from"@alloc/quick-lru";import{compileAst as Z,env as ee,Features as P,Instrumentation as te}from"@tailwindcss/node";import{clearRequireCache as se}from"@tailwindcss/node/require-cache";import{Scanner as re}from"@tailwindcss/oxide";import{Features as y,transform as ie}from"lightningcss";import ne from"node:fs";import m,{relative as M}from"node:path";import b from"postcss";var G=32;var j=40;function K(o,r=[]){for(let n=5;n<o.length;n++){let e=o.charCodeAt(n);if(e===G||e===j){let s=o.slice(0,n).trim(),t=o.slice(n).trim();return g(s,t,r)}}return g(o.trim(),"",r)}var q=64;function X(o,r=[]){return{kind:"rule",selector:o,nodes:r}}function g(o,r="",n=[]){return{kind:"at-rule",name:o,params:r,nodes:n}}function N(o,r=[]){return o.charCodeAt(0)===q?K(o,r):X(o,r)}function k(o,r,n=!1){return{kind:"declaration",property:o,value:r,important:n}}function v(o){return{kind:"comment",value:o}}function I(o){function r(e,s=0){let t="",i=" ".repeat(s);if(e.kind==="declaration")t+=`${i}${e.property}: ${e.value}${e.important?" !important":""};
`;else if(e.kind==="rule"){t+=`${i}${e.selector} {
`;for(let l of e.nodes)t+=r(l,s+1);t+=`${i}}
`}else if(e.kind==="at-rule"){if(e.nodes.length===0)return`${i}${e.name} ${e.params};
`;t+=`${i}${e.name}${e.params?` ${e.params} `:" "}{
`;for(let l of e.nodes)t+=r(l,s+1);t+=`${i}}
`}else if(e.kind==="comment")t+=`${i}/*${e.value}*/
`;else if(e.kind==="context"||e.kind==="at-root")return"";return t}let n="";for(let e of o){let s=r(e);s!==""&&(n+=s)}return n}import A from"postcss";var Y=33;function W(o,r){let n=A.root();n.source=r;function e(s,t){if(s.kind==="declaration"){let i=A.decl({prop:s.property,value:s.value??"",important:s.important});i.source=r,t.append(i)}else if(s.kind==="rule"){let i=A.rule({selector:s.selector});i.source=r,i.raws.semicolon=!0,t.append(i);for(let l of s.nodes)e(l,i)}else if(s.kind==="at-rule"){let i=A.atRule({name:s.name.slice(1),params:s.params});i.source=r,i.raws.semicolon=!0,t.append(i);for(let l of s.nodes)e(l,i)}else if(s.kind==="comment"){let i=A.comment({text:s.value});i.raws.left="",i.raws.right="",i.source=r,t.append(i)}else s.kind==="at-root"||s.kind}for(let s of o)e(s,n);return n}function D(o){function r(e,s){if(e.type==="decl")s.push(k(e.prop,e.value,e.important));else if(e.type==="rule"){let t=N(e.selector);e.each(i=>r(i,t.nodes)),s.push(t)}else if(e.type==="atrule"){let t=g(`@${e.name}`,e.params);e.each(i=>r(i,t.nodes)),s.push(t)}else if(e.type==="comment"){if(e.text.charCodeAt(0)!==Y)return;s.push(v(e.text))}}let n=[];return o.each(e=>r(e,n)),n}import{normalizePath as F}from"@tailwindcss/node";import C from"node:path";var E="'",R='"';function T(){let o=new WeakSet;function r(n){let e=n.root().source?.input.file;if(!e)return;let s=n.source?.input.file;if(!s||o.has(n))return;let t=n.params[0],i=t[0]===R&&t[t.length-1]===R?R:t[0]===E&&t[t.length-1]===E?E:null;if(!i)return;let l=n.params.slice(1,-1),c="";if(l.startsWith("!")&&(l=l.slice(1),c="!"),!l.startsWith("./")&&!l.startsWith("../"))return;let p=C.posix.join(F(C.dirname(s)),l),x=C.posix.dirname(F(e)),d=C.posix.relative(x,p);d.startsWith(".")||(d="./"+d),n.params=i+c+d+i,o.add(n)}return{postcssPlugin:"tailwindcss-postcss-fix-relative-paths",Once(n){n.walkAtRules(/source|plugin|config/,r)}}}var a=ee.DEBUG,w=new J({maxSize:50});function le(o,r){let n=`${o}:${r.base??""}:${JSON.stringify(r.optimize)}`;if(w.has(n))return w.get(n);let e={mtimes:new Map,compiler:null,scanner:null,tailwindCssAst:[],cachedPostCssAst:b.root(),optimizedPostCssAst:b.root(),fullRebuildPaths:[]};return w.set(n,e),e}function oe(o={}){let r=o.base??process.cwd(),n=o.optimize??process.env.NODE_ENV==="production";return{postcssPlugin:"@tailwindcss/postcss",plugins:[T(),{postcssPlugin:"tailwindcss",async Once(e,{result:s}){var O=[];try{let t=L(O,new te);let i=s.opts.from??"";a&&t.start(`[@tailwindcss/postcss] ${M(r,i)}`);{a&&t.start("Quick bail check");let f=!0;if(e.walkAtRules(u=>{if(u.name==="import"||u.name==="reference"||u.name==="theme"||u.name==="variant"||u.name==="config"||u.name==="plugin"||u.name==="apply")return f=!1,!1}),f)return;a&&t.end("Quick bail check")}let l=le(i,o);let c=m.dirname(m.resolve(i));async function p(){a&&t.start("Setup compiler"),l.fullRebuildPaths.length>0&&!x&&se(l.fullRebuildPaths),l.fullRebuildPaths=[],a&&t.start("PostCSS AST -> Tailwind CSS AST");let f=D(e);a&&t.end("PostCSS AST -> Tailwind CSS AST"),a&&t.start("Create compiler");let u=await Z(f,{base:c,shouldRewriteUrls:!0,onDependency:h=>{l.fullRebuildPaths.push(h)}});return a&&t.end("Create compiler"),a&&t.end("Setup compiler"),u}let x=l.compiler===null;l.compiler??=await p();if(l.compiler.features===P.None)return;let d="incremental";a&&t.start("Register full rebuild paths");{for(let u of l.fullRebuildPaths)s.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:m.resolve(u),parent:s.opts.from});let f=s.messages.flatMap(u=>u.type!=="dependency"?[]:u.file);f.push(i);for(let u of f){let h=ne.statSync(u,{throwIfNoEntry:!1})?.mtimeMs??null;if(h===null){u===i&&(d="full");continue}l.mtimes.get(u)!==h&&(d="full",l.mtimes.set(u,h))}}a&&t.end("Register full rebuild paths");d==="full"&&!x&&(l.compiler=await p());if(l.scanner===null||d==="full"){a&&t.start("Setup scanner");let f=(l.compiler.root==="none"?[]:l.compiler.root===null?[{base:r,pattern:"**/*",negated:!1}]:[{...l.compiler.root,negated:!1}]).concat(l.compiler.sources);l.scanner=new re({sources:f}),a&&t.end("Setup scanner")}a&&t.start("Scan for candidates");let _=l.compiler.features&P.Utilities?l.scanner.scan():[];a&&t.end("Scan for candidates");if(l.compiler.features&P.Utilities){a&&t.start("Register dependency messages");for(let f of l.scanner.files)s.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:m.resolve(f),parent:s.opts.from});for(let{base:f,pattern:u}of l.scanner.globs)u==="*"&&r===f||(u===""?s.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:m.resolve(f),parent:s.opts.from}):s.messages.push({type:"dir-dependency",plugin:"@tailwindcss/postcss",dir:m.resolve(f),glob:u,parent:s.opts.from}));a&&t.end("Register dependency messages")}a&&t.start("Build utilities");let S=l.compiler.build(_);a&&t.end("Build utilities");if(l.tailwindCssAst!==S)if(n){a&&t.start("Optimization"),a&&t.start("AST -> CSS");let f=I(S);a&&t.end("AST -> CSS"),a&&t.start("Lightning CSS");let u=ae(f,{minify:typeof n=="object"?n.minify:!0});a&&t.end("Lightning CSS"),a&&t.start("CSS -> PostCSS AST"),l.optimizedPostCssAst=b.parse(u,s.opts),a&&t.end("CSS -> PostCSS AST"),a&&t.end("Optimization")}else a&&t.start("Transform Tailwind CSS AST into PostCSS AST"),l.cachedPostCssAst=W(S,e.source),a&&t.end("Transform Tailwind CSS AST into PostCSS AST");l.tailwindCssAst=S;a&&t.start("Update PostCSS AST");e.removeAll();e.append(n?l.optimizedPostCssAst.clone().nodes:l.cachedPostCssAst.clone().nodes);e.raws.indent=" ";a&&t.end("Update PostCSS AST");a&&t.end(`[@tailwindcss/postcss] ${M(r,i)}`)}catch(B){var z=B,Q=!0}finally{V(O,z,Q)}}}]}}function ae(o,{file:r="input.css",minify:n=!1}={}){function e(s){return ie({filename:r,code:s,minify:n,sourceMap:!1,drafts:{customMedia:!0},nonStandard:{deepSelectorCombinator:!0},include:y.Nesting,exclude:y.LogicalProperties|y.DirSelector|y.LightDark,targets:{safari:16<<16|1024,ios_saf:16<<16|1024,firefox:8388608,chrome:7274496},errorRecovery:!0}).code}return e(e(Buffer.from(o))).toString()}var Xe=Object.assign(oe,{postcss:!0});export{Xe as default};
var ge=(e,r)=>(r=Symbol[e])?r:Symbol.for("Symbol."+e),he=e=>{throw TypeError(e)};var ve=(e,r,t)=>{if(r!=null){typeof r!="object"&&typeof r!="function"&&he("Object expected");var a,o;t&&(a=r[ge("asyncDispose")]),a===void 0&&(a=r[ge("dispose")],t&&(o=a)),typeof a!="function"&&he("Object not disposable"),o&&(a=function(){try{o.call(this)}catch(n){return Promise.reject(n)}}),e.push([t,a,r])}else t&&e.push([t]);return r},ke=(e,r,t)=>{var a=typeof SuppressedError=="function"?SuppressedError:function(i,l,u,s){return s=Error(u),s.name="SuppressedError",s.error=i,s.suppressed=l,s},o=i=>r=t?new a(i,r,"An error was suppressed during disposal"):(t=!0,i),n=i=>{for(;i=e.pop();)try{var l=i[1]&&i[1].call(i[2]);if(i[0])return Promise.resolve(l).then(n,u=>(o(u),n()))}catch(u){o(u)}if(t)throw r};return n()};import Lt from"@alloc/quick-lru";import{compileAst as Kt,env as Mt,Features as fe,Instrumentation as Ft,optimize as jt,Polyfills as pe}from"@tailwindcss/node";import{clearRequireCache as Wt}from"@tailwindcss/node/require-cache";import{Scanner as Bt}from"@tailwindcss/oxide";import Yt from"fs";import D,{relative as Be}from"path";function M(e){return{kind:"word",value:e}}function qe(e,r){return{kind:"function",value:e,nodes:r}}function Ze(e){return{kind:"separator",value:e}}function C(e){let r="";for(let t of e)switch(t.kind){case"word":case"separator":{r+=t.value;break}case"function":r+=t.value+"("+C(t.nodes)+")"}return r}var we=92,Qe=41,be=58,ye=44,Je=34,xe=61,Ae=62,Ce=60,Se=10,Xe=40,et=39,tt=47,$e=32,Te=9;function x(e){e=e.replaceAll(`\r
`,`
`);let r=[],t=[],a=null,o="",n;for(let i=0;i<e.length;i++){let l=e.charCodeAt(i);switch(l){case we:{o+=e[i]+e[i+1],i++;break}case tt:{if(o.length>0){let s=M(o);a?a.nodes.push(s):r.push(s),o=""}let u=M(e[i]);a?a.nodes.push(u):r.push(u);break}case be:case ye:case xe:case Ae:case Ce:case Se:case $e:case Te:{if(o.length>0){let f=M(o);a?a.nodes.push(f):r.push(f),o=""}let u=i,s=i+1;for(;s<e.length&&(n=e.charCodeAt(s),!(n!==be&&n!==ye&&n!==xe&&n!==Ae&&n!==Ce&&n!==Se&&n!==$e&&n!==Te));s++);i=s-1;let c=Ze(e.slice(u,s));a?a.nodes.push(c):r.push(c);break}case et:case Je:{let u=i;for(let s=i+1;s<e.length;s++)if(n=e.charCodeAt(s),n===we)s+=1;else if(n===l){i=s;break}o+=e.slice(u,i+1);break}case Xe:{let u=qe(o,[]);o="",a?a.nodes.push(u):r.push(u),t.push(u),a=u;break}case Qe:{let u=t.pop();if(o.length>0){let s=M(o);u?.nodes.push(s),o=""}t.length>0?a=t[t.length-1]:a=null;break}default:o+=String.fromCharCode(l)}}return o.length>0&&r.push(M(o)),r}var d=class extends Map{constructor(t){super();this.factory=t}get(t){let a=super.get(t);return a===void 0&&(a=this.factory(t,this),this.set(t,a)),a}};var tr=new Uint8Array(256);var G=new Uint8Array(256);function v(e,r){let t=0,a=[],o=0,n=e.length,i=r.charCodeAt(0);for(let l=0;l<n;l++){let u=e.charCodeAt(l);if(t===0&&u===i){a.push(e.slice(o,l)),o=l+1;continue}switch(u){case 92:l+=1;break;case 39:case 34:for(;++l<n;){let s=e.charCodeAt(l);if(s===92){l+=1;continue}if(s===u)break}break;case 40:G[t]=41,t++;break;case 91:G[t]=93,t++;break;case 123:G[t]=125,t++;break;case 93:case 125:case 41:t>0&&u===G[t-1]&&t--;break}}return a.push(e.slice(o)),a}var ee=(i=>(i[i.Continue=0]="Continue",i[i.Skip=1]="Skip",i[i.Stop=2]="Stop",i[i.Replace=3]="Replace",i[i.ReplaceSkip=4]="ReplaceSkip",i[i.ReplaceStop=5]="ReplaceStop",i))(ee||{}),m={Continue:{kind:0},Skip:{kind:1},Stop:{kind:2},Replace:e=>({kind:3,nodes:Array.isArray(e)?e:[e]}),ReplaceSkip:e=>({kind:4,nodes:Array.isArray(e)?e:[e]}),ReplaceStop:e=>({kind:5,nodes:Array.isArray(e)?e:[e]})};function g(e,r){typeof r=="function"?Ve(e,r):Ve(e,r.enter,r.exit)}function Ve(e,r=()=>m.Continue,t=()=>m.Continue){let a={value:[e,0,null],prev:null},o={parent:null,depth:0,path(){let n=[],i=a;for(;i;){let l=i.value[2];l&&n.push(l),i=i.prev}return n.reverse(),n}};for(;a!==null;){let n=a.value,i=n[0],l=n[1],u=n[2];if(l>=i.length){a=a.prev,o.depth-=1;continue}if(o.parent=u,l>=0){let k=i[l],T=r(k,o)??m.Continue;switch(T.kind){case 0:{k.nodes&&k.nodes.length>0&&(o.depth+=1,a={value:[k.nodes,0,k],prev:a}),n[1]=~l;continue}case 2:return;case 1:{n[1]=~l;continue}case 3:{i.splice(l,1,...T.nodes);continue}case 5:{i.splice(l,1,...T.nodes);return}case 4:{i.splice(l,1,...T.nodes),n[1]+=T.nodes.length;continue}default:throw new Error(`Invalid \`WalkAction.${ee[T.kind]??`Unknown(${T.kind})`}\` in enter.`)}}let s=~l,c=i[s],f=t(c,o)??m.Continue;switch(f.kind){case 0:n[1]=s+1;continue;case 2:return;case 3:{i.splice(s,1,...f.nodes),n[1]=s+f.nodes.length;continue}case 5:{i.splice(s,1,...f.nodes);return}case 4:{i.splice(s,1,...f.nodes),n[1]=s+f.nodes.length;continue}default:throw new Error(`Invalid \`WalkAction.${ee[f.kind]??`Unknown(${f.kind})`}\` in exit.`)}}}var pr=new d(e=>{let r=x(e),t=new Set,a=new Set(["~",">","+","-","*","/"]);return g(r,(o,n)=>{let i=n.parent===null?r:n.parent.nodes??[];if(o.kind==="word"&&a.has(o.value)){let l=i.indexOf(o)??-1;if(l===-1)return;let u=i[l-1];if(u?.kind!=="separator"||u.value!==" ")return;let s=i[l+1];if(s?.kind!=="separator"||s.value!==" ")return;let c=i[l-2];if(c&&a.has(c.value))return;let f=i[l+2];if(f&&a.has(f.value))return;t.add(u),t.add(s)}else if(o.kind==="separator"&&o.value.length>0&&o.value.trim()==="")(i[0]===o||i[i.length-1]===o)&&t.add(o);else if(o.kind==="separator"&&o.value.trim()===",")o.value=",";else if(o.kind==="function"&&o.value.startsWith("--")){let l=i.indexOf(o)??-1;if(l<=0)return;let u=i[l-1];if(u?.kind==="separator"&&u.value===",")return;let s=i[l-2];return s&&!a.has(s.value)?void 0:m.ReplaceSkip({kind:"function",value:"",nodes:[o]})}}),t.size>0&&g(r,o=>{if(t.has(o))return t.delete(o),m.ReplaceSkip([])}),te(r),C(r)});var dr=new d(e=>{let r=x(e);return r.length===3&&r[0].kind==="word"&&r[0].value==="&"&&r[1].kind==="separator"&&r[1].value===":"&&r[2].kind==="function"&&r[2].value==="is"?C(r[2].nodes):e});function te(e){for(let r of e)switch(r.kind){case"function":{if(r.value==="url"||r.value.endsWith("_url")){r.value=F(r.value);break}if(r.value==="var"||r.value.endsWith("_var")||r.value==="theme"||r.value.endsWith("_theme")){r.value=F(r.value);for(let t=0;t<r.nodes.length;t++)te([r.nodes[t]]);break}r.value=F(r.value),te(r.nodes);break}case"separator":r.value=F(r.value);break;case"word":{(r.value[0]!=="-"||r.value[1]!=="-")&&(r.value=F(r.value));break}default:it(r)}}var mr=new d(e=>{let r=x(e);return r.length===1&&r[0].kind==="function"&&r[0].value==="var"});function it(e){throw new Error(`Unexpected value: ${e}`)}function F(e){return e.replaceAll("_",String.raw`\_`).replaceAll(" ","_")}var P=/[+-]?\d*\.?\d+(?:[eE][+-]?\d+)?/,Cr=new RegExp(`^${P.source}$`);var Sr=new RegExp(`^${P.source}%$`);var $r=new RegExp(`^${P.source}\\s*/\\s*${P.source}$`);var nt=["cm","mm","Q","in","pc","pt","px","em","ex","ch","rem","lh","rlh","vw","vh","vmin","vmax","vb","vi","svw","svh","lvw","lvh","dvw","dvh","cqw","cqh","cqi","cqb","cqmin","cqmax"],Tr=new RegExp(`^${P.source}(${nt.join("|")})$`);var ot=["deg","rad","grad","turn"],Vr=new RegExp(`^${P.source}(${ot.join("|")})$`);var Er=new RegExp(`^${P.source} +${P.source} +${P.source}$`);function S(e){let r=Number(e);return Number.isInteger(r)&&r>=0&&String(r)===String(e)}function j(e,r){if(r===null)return e;let t=Number(r);return Number.isNaN(t)||(r=`${t*100}%`),r==="100%"?e:`color-mix(in oklab, ${e} ${r}, transparent)`}var at={"--alpha":st,"--spacing":ut,"--theme":ct,theme:ft};function st(e,r,t,...a){let[o,n]=v(t,"/").map(i=>i.trim());if(!o||!n)throw new Error(`The --alpha(\u2026) function requires a color and an alpha value, e.g.: \`--alpha(${o||"var(--my-color)"} / ${n||"50%"})\``);if(a.length>0)throw new Error(`The --alpha(\u2026) function only accepts one argument, e.g.: \`--alpha(${o||"var(--my-color)"} / ${n||"50%"})\``);return j(o,n)}function ut(e,r,t,...a){if(!t)throw new Error("The --spacing(\u2026) function requires an argument, but received none.");if(a.length>0)throw new Error(`The --spacing(\u2026) function only accepts a single argument, but received ${a.length+1}.`);let o=e.theme.resolve(null,["--spacing"]);if(!o)throw new Error("The --spacing(\u2026) function requires that the `--spacing` theme variable exists, but it was not found.");return`calc(${o} * ${t})`}function ct(e,r,t,...a){if(!t.startsWith("--"))throw new Error("The --theme(\u2026) function can only be used with CSS variables from your theme.");let o=!1;t.endsWith(" inline")&&(o=!0,t=t.slice(0,-7)),r.kind==="at-rule"&&(o=!0);let n=e.resolveThemeValue(t,o);if(!n){if(a.length>0)return a.join(", ");throw new Error(`Could not resolve value for theme function: \`theme(${t})\`. Consider checking if the variable name is correct or provide a fallback value to silence this error.`)}if(a.length===0)return n;let i=a.join(", ");if(i==="initial")return n;if(n==="initial")return i;if(n.startsWith("var(")||n.startsWith("theme(")||n.startsWith("--theme(")){let l=x(n);return dt(l,i),C(l)}return n}function ft(e,r,t,...a){t=pt(t);let o=e.resolveThemeValue(t);if(!o&&a.length>0)return a.join(", ");if(!o)throw new Error(`Could not resolve value for theme function: \`theme(${t})\`. Consider checking if the path is correct or provide a fallback value to silence this error.`);return o}var Zr=new RegExp(Object.keys(at).map(e=>`${e}\\(`).join("|"));function pt(e){if(e[0]!=="'"&&e[0]!=='"')return e;let r="",t=e[0];for(let a=1;a<e.length-1;a++){let o=e[a],n=e[a+1];o==="\\"&&(n===t||n==="\\")?(r+=n,a++):r+=o}return r}function dt(e,r){g(e,t=>{if(t.kind==="function"&&!(t.value!=="var"&&t.value!=="theme"&&t.value!=="--theme"))if(t.nodes.length===1)t.nodes.push({kind:"word",value:`, ${r}`});else{let a=t.nodes[t.nodes.length-1];a.kind==="word"&&a.value==="initial"&&(a.value=r)}})}var gt=/^(?<value>[-+]?(?:\d*\.)?\d+)(?<unit>[a-z]+|%)?$/i,ie=new d(e=>{let r=gt.exec(e);if(!r)return null;let t=r.groups?.value;if(t===void 0)return null;let a=Number(t);if(Number.isNaN(a))return null;let o=r.groups?.unit;return o===void 0?[a,null]:[a,o]});function z(e,r="top",t="right",a="bottom",o="left"){return Pe(`${e}-${r}`,`${e}-${t}`,`${e}-${a}`,`${e}-${o}`)}function Pe(e="top",r="right",t="bottom",a="left"){return{1:[[e,0],[r,0],[t,0],[a,0]],2:[[e,0],[r,1],[t,0],[a,1]],3:[[e,0],[r,1],[t,2],[a,1]],4:[[e,0],[r,1],[t,2],[a,3]]}}function $(e,r){return{1:[[e,0],[r,0]],2:[[e,0],[r,1]]}}var hi={inset:Pe(),margin:z("margin"),padding:z("padding"),"scroll-margin":z("scroll-margin"),"scroll-padding":z("scroll-padding"),"border-width":z("border","top-width","right-width","bottom-width","left-width"),"border-style":z("border","top-style","right-style","bottom-style","left-style"),"border-color":z("border","top-color","right-color","bottom-color","left-color"),gap:$("row-gap","column-gap"),overflow:$("overflow-x","overflow-y"),"overscroll-behavior":$("overscroll-behavior-x","overscroll-behavior-y")},vi={"inset-block":$("top","bottom"),"inset-inline":$("left","right"),"margin-block":$("margin-top","margin-bottom"),"margin-inline":$("margin-left","margin-right"),"padding-block":$("padding-top","padding-bottom"),"padding-inline":$("padding-left","padding-right"),"scroll-margin-block":$("scroll-margin-top","scroll-margin-bottom"),"scroll-margin-inline":$("scroll-margin-left","scroll-margin-right"),"scroll-padding-block":$("scroll-padding-top","scroll-padding-bottom"),"scroll-padding-inline":$("scroll-padding-left","scroll-padding-right")};var qi=Symbol();var Zi=Symbol();var Qi=Symbol();var Ji=Symbol();var Xi=Symbol();var en=Symbol();var tn=Symbol();var rn=Symbol();var nn=Symbol();var on=Symbol();var ln=Symbol();var an=Symbol();var sn=Symbol();var un=Symbol();function q(e){let r=[0];for(let o=0;o<e.length;o++)e.charCodeAt(o)===10&&r.push(o+1);function t(o){let n=0,i=r.length;for(;i>0;){let u=(i|0)>>1,s=n+u;r[s]<=o?(n=s+1,i=i-u-1):i=u}n-=1;let l=o-r[n];return{line:n+1,column:l}}function a({line:o,column:n}){o-=1,o=Math.min(Math.max(o,0),r.length-1);let i=r[o],l=r[o+1]??i;return Math.min(Math.max(i+n,0),l)}return{find:t,findOffset:a}}var Tt=32,Vt=9;var Et=40;function Ue(e,r=[]){let t=e,a="";for(let o=5;o<e.length;o++){let n=e.charCodeAt(o);if(n===Tt||n===Vt||n===Et){t=e.slice(0,o),a=e.slice(o);break}}return A(t.trim(),a.trim(),r)}var ae={inherit:"inherit",current:"currentcolor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"oklch(98.4% 0.003 247.858)",100:"oklch(96.8% 0.007 247.896)",200:"oklch(92.9% 0.013 255.508)",300:"oklch(86.9% 0.022 252.894)",400:"oklch(70.4% 0.04 256.788)",500:"oklch(55.4% 0.046 257.417)",600:"oklch(44.6% 0.043 257.281)",700:"oklch(37.2% 0.044 257.287)",800:"oklch(27.9% 0.041 260.031)",900:"oklch(20.8% 0.042 265.755)",950:"oklch(12.9% 0.042 264.695)"},gray:{50:"oklch(98.5% 0.002 247.839)",100:"oklch(96.7% 0.003 264.542)",200:"oklch(92.8% 0.006 264.531)",300:"oklch(87.2% 0.01 258.338)",400:"oklch(70.7% 0.022 261.325)",500:"oklch(55.1% 0.027 264.364)",600:"oklch(44.6% 0.03 256.802)",700:"oklch(37.3% 0.034 259.733)",800:"oklch(27.8% 0.033 256.848)",900:"oklch(21% 0.034 264.665)",950:"oklch(13% 0.028 261.692)"},zinc:{50:"oklch(98.5% 0 0)",100:"oklch(96.7% 0.001 286.375)",200:"oklch(92% 0.004 286.32)",300:"oklch(87.1% 0.006 286.286)",400:"oklch(70.5% 0.015 286.067)",500:"oklch(55.2% 0.016 285.938)",600:"oklch(44.2% 0.017 285.786)",700:"oklch(37% 0.013 285.805)",800:"oklch(27.4% 0.006 286.033)",900:"oklch(21% 0.006 285.885)",950:"oklch(14.1% 0.005 285.823)"},neutral:{50:"oklch(98.5% 0 0)",100:"oklch(97% 0 0)",200:"oklch(92.2% 0 0)",300:"oklch(87% 0 0)",400:"oklch(70.8% 0 0)",500:"oklch(55.6% 0 0)",600:"oklch(43.9% 0 0)",700:"oklch(37.1% 0 0)",800:"oklch(26.9% 0 0)",900:"oklch(20.5% 0 0)",950:"oklch(14.5% 0 0)"},stone:{50:"oklch(98.5% 0.001 106.423)",100:"oklch(97% 0.001 106.424)",200:"oklch(92.3% 0.003 48.717)",300:"oklch(86.9% 0.005 56.366)",400:"oklch(70.9% 0.01 56.259)",500:"oklch(55.3% 0.013 58.071)",600:"oklch(44.4% 0.011 73.639)",700:"oklch(37.4% 0.01 67.558)",800:"oklch(26.8% 0.007 34.298)",900:"oklch(21.6% 0.006 56.043)",950:"oklch(14.7% 0.004 49.25)"},mauve:{50:"oklch(98.5% 0 0)",100:"oklch(96% 0.003 325.6)",200:"oklch(92.2% 0.005 325.62)",300:"oklch(86.5% 0.012 325.68)",400:"oklch(71.1% 0.019 323.02)",500:"oklch(54.2% 0.034 322.5)",600:"oklch(43.5% 0.029 321.78)",700:"oklch(36.4% 0.029 323.89)",800:"oklch(26.3% 0.024 320.12)",900:"oklch(21.2% 0.019 322.12)",950:"oklch(14.5% 0.008 326)"},olive:{50:"oklch(98.8% 0.003 106.5)",100:"oklch(96.6% 0.005 106.5)",200:"oklch(93% 0.007 106.5)",300:"oklch(88% 0.011 106.6)",400:"oklch(73.7% 0.021 106.9)",500:"oklch(58% 0.031 107.3)",600:"oklch(46.6% 0.025 107.3)",700:"oklch(39.4% 0.023 107.4)",800:"oklch(28.6% 0.016 107.4)",900:"oklch(22.8% 0.013 107.4)",950:"oklch(15.3% 0.006 107.1)"},mist:{50:"oklch(98.7% 0.002 197.1)",100:"oklch(96.3% 0.002 197.1)",200:"oklch(92.5% 0.005 214.3)",300:"oklch(87.2% 0.007 219.6)",400:"oklch(72.3% 0.014 214.4)",500:"oklch(56% 0.021 213.5)",600:"oklch(45% 0.017 213.2)",700:"oklch(37.8% 0.015 216)",800:"oklch(27.5% 0.011 216.9)",900:"oklch(21.8% 0.008 223.9)",950:"oklch(14.8% 0.004 228.8)"},taupe:{50:"oklch(98.6% 0.002 67.8)",100:"oklch(96% 0.002 17.2)",200:"oklch(92.2% 0.005 34.3)",300:"oklch(86.8% 0.007 39.5)",400:"oklch(71.4% 0.014 41.2)",500:"oklch(54.7% 0.021 43.1)",600:"oklch(43.8% 0.017 39.3)",700:"oklch(36.7% 0.016 35.7)",800:"oklch(26.8% 0.011 36.5)",900:"oklch(21.4% 0.009 43.1)",950:"oklch(14.7% 0.004 49.3)"},red:{50:"oklch(97.1% 0.013 17.38)",100:"oklch(93.6% 0.032 17.717)",200:"oklch(88.5% 0.062 18.334)",300:"oklch(80.8% 0.114 19.571)",400:"oklch(70.4% 0.191 22.216)",500:"oklch(63.7% 0.237 25.331)",600:"oklch(57.7% 0.245 27.325)",700:"oklch(50.5% 0.213 27.518)",800:"oklch(44.4% 0.177 26.899)",900:"oklch(39.6% 0.141 25.723)",950:"oklch(25.8% 0.092 26.042)"},orange:{50:"oklch(98% 0.016 73.684)",100:"oklch(95.4% 0.038 75.164)",200:"oklch(90.1% 0.076 70.697)",300:"oklch(83.7% 0.128 66.29)",400:"oklch(75% 0.183 55.934)",500:"oklch(70.5% 0.213 47.604)",600:"oklch(64.6% 0.222 41.116)",700:"oklch(55.3% 0.195 38.402)",800:"oklch(47% 0.157 37.304)",900:"oklch(40.8% 0.123 38.172)",950:"oklch(26.6% 0.079 36.259)"},amber:{50:"oklch(98.7% 0.022 95.277)",100:"oklch(96.2% 0.059 95.617)",200:"oklch(92.4% 0.12 95.746)",300:"oklch(87.9% 0.169 91.605)",400:"oklch(82.8% 0.189 84.429)",500:"oklch(76.9% 0.188 70.08)",600:"oklch(66.6% 0.179 58.318)",700:"oklch(55.5% 0.163 48.998)",800:"oklch(47.3% 0.137 46.201)",900:"oklch(41.4% 0.112 45.904)",950:"oklch(27.9% 0.077 45.635)"},yellow:{50:"oklch(98.7% 0.026 102.212)",100:"oklch(97.3% 0.071 103.193)",200:"oklch(94.5% 0.129 101.54)",300:"oklch(90.5% 0.182 98.111)",400:"oklch(85.2% 0.199 91.936)",500:"oklch(79.5% 0.184 86.047)",600:"oklch(68.1% 0.162 75.834)",700:"oklch(55.4% 0.135 66.442)",800:"oklch(47.6% 0.114 61.907)",900:"oklch(42.1% 0.095 57.708)",950:"oklch(28.6% 0.066 53.813)"},lime:{50:"oklch(98.6% 0.031 120.757)",100:"oklch(96.7% 0.067 122.328)",200:"oklch(93.8% 0.127 124.321)",300:"oklch(89.7% 0.196 126.665)",400:"oklch(84.1% 0.238 128.85)",500:"oklch(76.8% 0.233 130.85)",600:"oklch(64.8% 0.2 131.684)",700:"oklch(53.2% 0.157 131.589)",800:"oklch(45.3% 0.124 130.933)",900:"oklch(40.5% 0.101 131.063)",950:"oklch(27.4% 0.072 132.109)"},green:{50:"oklch(98.2% 0.018 155.826)",100:"oklch(96.2% 0.044 156.743)",200:"oklch(92.5% 0.084 155.995)",300:"oklch(87.1% 0.15 154.449)",400:"oklch(79.2% 0.209 151.711)",500:"oklch(72.3% 0.219 149.579)",600:"oklch(62.7% 0.194 149.214)",700:"oklch(52.7% 0.154 150.069)",800:"oklch(44.8% 0.119 151.328)",900:"oklch(39.3% 0.095 152.535)",950:"oklch(26.6% 0.065 152.934)"},emerald:{50:"oklch(97.9% 0.021 166.113)",100:"oklch(95% 0.052 163.051)",200:"oklch(90.5% 0.093 164.15)",300:"oklch(84.5% 0.143 164.978)",400:"oklch(76.5% 0.177 163.223)",500:"oklch(69.6% 0.17 162.48)",600:"oklch(59.6% 0.145 163.225)",700:"oklch(50.8% 0.118 165.612)",800:"oklch(43.2% 0.095 166.913)",900:"oklch(37.8% 0.077 168.94)",950:"oklch(26.2% 0.051 172.552)"},teal:{50:"oklch(98.4% 0.014 180.72)",100:"oklch(95.3% 0.051 180.801)",200:"oklch(91% 0.096 180.426)",300:"oklch(85.5% 0.138 181.071)",400:"oklch(77.7% 0.152 181.912)",500:"oklch(70.4% 0.14 182.503)",600:"oklch(60% 0.118 184.704)",700:"oklch(51.1% 0.096 186.391)",800:"oklch(43.7% 0.078 188.216)",900:"oklch(38.6% 0.063 188.416)",950:"oklch(27.7% 0.046 192.524)"},cyan:{50:"oklch(98.4% 0.019 200.873)",100:"oklch(95.6% 0.045 203.388)",200:"oklch(91.7% 0.08 205.041)",300:"oklch(86.5% 0.127 207.078)",400:"oklch(78.9% 0.154 211.53)",500:"oklch(71.5% 0.143 215.221)",600:"oklch(60.9% 0.126 221.723)",700:"oklch(52% 0.105 223.128)",800:"oklch(45% 0.085 224.283)",900:"oklch(39.8% 0.07 227.392)",950:"oklch(30.2% 0.056 229.695)"},sky:{50:"oklch(97.7% 0.013 236.62)",100:"oklch(95.1% 0.026 236.824)",200:"oklch(90.1% 0.058 230.902)",300:"oklch(82.8% 0.111 230.318)",400:"oklch(74.6% 0.16 232.661)",500:"oklch(68.5% 0.169 237.323)",600:"oklch(58.8% 0.158 241.966)",700:"oklch(50% 0.134 242.749)",800:"oklch(44.3% 0.11 240.79)",900:"oklch(39.1% 0.09 240.876)",950:"oklch(29.3% 0.066 243.157)"},blue:{50:"oklch(97% 0.014 254.604)",100:"oklch(93.2% 0.032 255.585)",200:"oklch(88.2% 0.059 254.128)",300:"oklch(80.9% 0.105 251.813)",400:"oklch(70.7% 0.165 254.624)",500:"oklch(62.3% 0.214 259.815)",600:"oklch(54.6% 0.245 262.881)",700:"oklch(48.8% 0.243 264.376)",800:"oklch(42.4% 0.199 265.638)",900:"oklch(37.9% 0.146 265.522)",950:"oklch(28.2% 0.091 267.935)"},indigo:{50:"oklch(96.2% 0.018 272.314)",100:"oklch(93% 0.034 272.788)",200:"oklch(87% 0.065 274.039)",300:"oklch(78.5% 0.115 274.713)",400:"oklch(67.3% 0.182 276.935)",500:"oklch(58.5% 0.233 277.117)",600:"oklch(51.1% 0.262 276.966)",700:"oklch(45.7% 0.24 277.023)",800:"oklch(39.8% 0.195 277.366)",900:"oklch(35.9% 0.144 278.697)",950:"oklch(25.7% 0.09 281.288)"},violet:{50:"oklch(96.9% 0.016 293.756)",100:"oklch(94.3% 0.029 294.588)",200:"oklch(89.4% 0.057 293.283)",300:"oklch(81.1% 0.111 293.571)",400:"oklch(70.2% 0.183 293.541)",500:"oklch(60.6% 0.25 292.717)",600:"oklch(54.1% 0.281 293.009)",700:"oklch(49.1% 0.27 292.581)",800:"oklch(43.2% 0.232 292.759)",900:"oklch(38% 0.189 293.745)",950:"oklch(28.3% 0.141 291.089)"},purple:{50:"oklch(97.7% 0.014 308.299)",100:"oklch(94.6% 0.033 307.174)",200:"oklch(90.2% 0.063 306.703)",300:"oklch(82.7% 0.119 306.383)",400:"oklch(71.4% 0.203 305.504)",500:"oklch(62.7% 0.265 303.9)",600:"oklch(55.8% 0.288 302.321)",700:"oklch(49.6% 0.265 301.924)",800:"oklch(43.8% 0.218 303.724)",900:"oklch(38.1% 0.176 304.987)",950:"oklch(29.1% 0.149 302.717)"},fuchsia:{50:"oklch(97.7% 0.017 320.058)",100:"oklch(95.2% 0.037 318.852)",200:"oklch(90.3% 0.076 319.62)",300:"oklch(83.3% 0.145 321.434)",400:"oklch(74% 0.238 322.16)",500:"oklch(66.7% 0.295 322.15)",600:"oklch(59.1% 0.293 322.896)",700:"oklch(51.8% 0.253 323.949)",800:"oklch(45.2% 0.211 324.591)",900:"oklch(40.1% 0.17 325.612)",950:"oklch(29.3% 0.136 325.661)"},pink:{50:"oklch(97.1% 0.014 343.198)",100:"oklch(94.8% 0.028 342.258)",200:"oklch(89.9% 0.061 343.231)",300:"oklch(82.3% 0.12 346.018)",400:"oklch(71.8% 0.202 349.761)",500:"oklch(65.6% 0.241 354.308)",600:"oklch(59.2% 0.249 0.584)",700:"oklch(52.5% 0.223 3.958)",800:"oklch(45.9% 0.187 3.815)",900:"oklch(40.8% 0.153 2.432)",950:"oklch(28.4% 0.109 3.907)"},rose:{50:"oklch(96.9% 0.015 12.422)",100:"oklch(94.1% 0.03 12.58)",200:"oklch(89.2% 0.058 10.001)",300:"oklch(81% 0.117 11.638)",400:"oklch(71.2% 0.194 13.428)",500:"oklch(64.5% 0.246 16.439)",600:"oklch(58.6% 0.253 17.585)",700:"oklch(51.4% 0.222 16.935)",800:"oklch(45.5% 0.188 13.697)",900:"oklch(41% 0.159 10.272)",950:"oklch(27.1% 0.105 12.094)"}};function K(e){return{__BARE_VALUE__:e}}var E=K(e=>{if(S(e.value))return e.value}),y=K(e=>{if(S(e.value))return`${e.value}%`}),I=K(e=>{if(S(e.value))return`${e.value}px`}),Ke=K(e=>{if(S(e.value))return`${e.value}ms`}),Q=K(e=>{if(S(e.value))return`${e.value}deg`}),_t=K(e=>{if(e.fraction===null)return;let[r,t]=v(e.fraction,"/");if(!(!S(r)||!S(t)))return e.fraction}),Me=K(e=>{if(S(Number(e.value)))return`repeat(${e.value}, minmax(0, 1fr))`}),It={accentColor:({theme:e})=>e("colors"),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",..._t},backdropBlur:({theme:e})=>e("blur"),backdropBrightness:({theme:e})=>({...e("brightness"),...y}),backdropContrast:({theme:e})=>({...e("contrast"),...y}),backdropGrayscale:({theme:e})=>({...e("grayscale"),...y}),backdropHueRotate:({theme:e})=>({...e("hueRotate"),...Q}),backdropInvert:({theme:e})=>({...e("invert"),...y}),backdropOpacity:({theme:e})=>({...e("opacity"),...y}),backdropSaturate:({theme:e})=>({...e("saturate"),...y}),backdropSepia:({theme:e})=>({...e("sepia"),...y}),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:"",sm:"4px",DEFAULT:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},borderColor:({theme:e})=>({DEFAULT:"currentcolor",...e("colors")}),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",...I},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",...y},caretColor:({theme:e})=>e("colors"),colors:()=>({...ae}),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",...E},container:{},content:{none:"none"},contrast:{0:"0",50:".5",75:".75",100:"1",125:"1.25",150:"1.5",200:"2",...y},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"),...I}),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})=>e("colors"),flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},flexBasis:({theme:e})=>({auto:"auto","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%",...e("spacing")}),flexGrow:{0:"0",DEFAULT:"1",...E},flexShrink:{0:"0",DEFAULT:"1",...E},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%",...y},grayscale:{0:"0",DEFAULT:"100%",...y},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",...E},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",...E},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",...E},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",...E},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))",...Me},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))",...Me},height:({theme:e})=>({auto:"auto","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",...e("spacing")}),hueRotate:{0:"0deg",15:"15deg",30:"30deg",60:"60deg",90:"90deg",180:"180deg",...Q},inset:({theme:e})=>({auto:"auto","1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%",...e("spacing")}),invert:{0:"0",DEFAULT:"100%",...y},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",...E},maxHeight:({theme:e})=>({none:"none",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),maxWidth:({theme:e})=>({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",...e("spacing")}),minHeight:({theme:e})=>({full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),minWidth:({theme:e})=>({full:"100%",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),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",...y},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",...E},outlineColor:({theme:e})=>e("colors"),outlineOffset:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...I},outlineWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...I},padding:({theme:e})=>e("spacing"),placeholderColor:({theme:e})=>e("colors"),placeholderOpacity:({theme:e})=>e("opacity"),ringColor:({theme:e})=>({DEFAULT:"currentcolor",...e("colors")}),ringOffsetColor:({theme:e})=>e("colors"),ringOffsetWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...I},ringOpacity:({theme:e})=>({DEFAULT:"0.5",...e("opacity")}),ringWidth:{DEFAULT:"3px",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...I},rotate:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",45:"45deg",90:"90deg",180:"180deg",...Q},saturate:{0:"0",50:".5",100:"1",150:"1.5",200:"2",...y},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",...y},screens:{sm:"40rem",md:"48rem",lg:"64rem",xl:"80rem","2xl":"96rem"},scrollMargin:({theme:e})=>e("spacing"),scrollPadding:({theme:e})=>e("spacing"),sepia:{0:"0",DEFAULT:"100%",...y},skew:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",...Q},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",...E},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",...I},textIndent:({theme:e})=>e("spacing"),textOpacity:({theme:e})=>e("opacity"),textUnderlineOffset:{auto:"auto",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...I},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",...Ke},transitionDuration:{DEFAULT:"150ms",0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms",...Ke},transitionProperty:{none:"none",all:"all",DEFAULT:"color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",colors:"color, background-color, border-color, outline-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})=>({"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%",...e("spacing")}),size:({theme:e})=>({auto:"auto","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",...e("spacing")}),width:({theme:e})=>({auto:"auto","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",...e("spacing")}),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",...E}};var Ut=64;function U(e,r=[]){return{kind:"rule",selector:e,nodes:r}}function A(e,r="",t=[]){return{kind:"at-rule",name:e,params:r,nodes:t}}function O(e,r=[]){return e.charCodeAt(0)===Ut?Ue(e,r):U(e,r)}function V(e,r,t=!1){return{kind:"declaration",property:e,value:r,important:t}}function Z(e){return{kind:"comment",value:e}}function L(e,r){let t=0,a={file:null,code:""};function o(i,l=0){let u="",s=" ".repeat(l);if(i.kind==="declaration"){if(u+=`${s}${i.property}: ${i.value}${i.important?" !important":""};
`,r){t+=s.length;let c=t;t+=i.property.length,t+=2,t+=i.value?.length??0,i.important&&(t+=11);let f=t;t+=2,i.dst=[a,c,f]}}else if(i.kind==="rule"){if(u+=`${s}${i.selector} {
`,r){t+=s.length;let c=t;t+=i.selector.length,t+=1;let f=t;i.dst=[a,c,f],t+=2}for(let c of i.nodes)u+=o(c,l+1);u+=`${s}}
`,r&&(t+=s.length,t+=2)}else if(i.kind==="at-rule"){if(i.nodes.length===0){let c=`${s}${i.name} ${i.params};
`;if(r){t+=s.length;let f=t;t+=i.name.length,t+=1,t+=i.params.length;let k=t;t+=2,i.dst=[a,f,k]}return c}if(u+=`${s}${i.name}${i.params?` ${i.params} `:" "}{
`,r){t+=s.length;let c=t;t+=i.name.length,i.params&&(t+=1,t+=i.params.length),t+=1;let f=t;i.dst=[a,c,f],t+=2}for(let c of i.nodes)u+=o(c,l+1);u+=`${s}}
`,r&&(t+=s.length,t+=2)}else if(i.kind==="comment"){if(u+=`${s}/*${i.value}*/
`,r){t+=s.length;let c=t;t+=2+i.value.length+2;let f=t;i.dst=[a,c,f],t+=1}}else if(i.kind==="context"||i.kind==="at-root")return"";return u}let n="";for(let i of e)n+=o(i,0);return a.code=n,n}var zt=33;function Fe(e,r,t){let a=new d(s=>new e.Input(s.code,{map:t?.input.map,from:s.file??void 0})),o=new d(s=>q(s.code)),n=e.root();n.source=t;function i(s){if(!s||!s[0])return;let c=o.get(s[0]),f=c.find(s[1]),k=c.find(s[2]);return{input:a.get(s[0]),start:{line:f.line,column:f.column+1,offset:s[1]},end:{line:k.line,column:k.column+1,offset:s[2]}}}function l(s,c){let f=i(c);f?s.source=f:delete s.source}function u(s,c){if(s.kind==="declaration"){let f=e.decl({prop:s.property,value:s.value??"",important:s.important});l(f,s.src),c.append(f)}else if(s.kind==="rule"){let f=e.rule({selector:s.selector});l(f,s.src),f.raws.semicolon=!0,c.append(f);for(let k of s.nodes)u(k,f)}else if(s.kind==="at-rule"){let f=e.atRule({name:s.name.slice(1),params:s.params});l(f,s.src),f.raws.semicolon=!0,c.append(f);for(let k of s.nodes)u(k,f)}else if(s.kind==="comment"){let f=e.comment({text:s.value});f.raws.left="",f.raws.right="",l(f,s.src),c.append(f)}else s.kind==="at-root"||s.kind}for(let s of r)u(s,n);return n}function je(e){let r=new d(n=>({file:n.file??n.id??null,code:n.css}));function t(n){let i=n.source;if(!i)return;let l=i.input;if(l&&i.start!==void 0&&i.end!==void 0)return[r.get(l),i.start.offset,i.end.offset]}function a(n,i){if(n.type==="decl"){let l=V(n.prop,n.value,n.important);l.src=t(n),i.push(l)}else if(n.type==="rule"){let l=O(n.selector);l.src=t(n),n.each(u=>a(u,l.nodes)),i.push(l)}else if(n.type==="atrule"){let l=A(`@${n.name}`,n.params);l.src=t(n),n.each(u=>a(u,l.nodes)),i.push(l)}else if(n.type==="comment"){if(n.text.charCodeAt(0)!==zt)return;let l=Z(n.text);l.src=t(n),i.push(l)}}let o=[];return e.each(n=>a(n,o)),o}import{normalizePath as We}from"@tailwindcss/node";import J from"path";var se="'",ue='"';function ce(){let e=new WeakSet;function r(t){let a=t.root().source?.input.file;if(!a)return;let o=t.source?.input.file;if(!o||e.has(t))return;let n=t.params[0],i=n[0]===ue&&n[n.length-1]===ue?ue:n[0]===se&&n[n.length-1]===se?se:null;if(!i)return;let l=t.params.slice(1,-1),u="";if(l.startsWith("!")&&(l=l.slice(1),u="!"),!l.startsWith("./")&&!l.startsWith("../"))return;let s=J.posix.join(We(J.dirname(o)),l),c=J.posix.dirname(We(a)),f=J.posix.relative(c,s);f.startsWith(".")||(f="./"+f),t.params=i+u+f+i,e.add(t)}return{postcssPlugin:"tailwindcss-postcss-fix-relative-paths",Once(t){t.walkAtRules(/source|plugin|config/,r)}}}var p=Mt.DEBUG,de=new Lt({maxSize:50});function Gt(e,r,t){let a=`${r}:${t.base??""}:${JSON.stringify(t.optimize)}`;if(de.has(a))return de.get(a);let o={mtimes:new Map,compiler:null,scanner:null,tailwindCssAst:[],cachedPostCssAst:e.root(),optimizedPostCssAst:e.root(),fullRebuildPaths:[]};return de.set(a,o),o}function Ht(e={}){let r=e.base??process.cwd(),t=e.optimize??process.env.NODE_ENV==="production",a=e.transformAssetUrls??!0;return{postcssPlugin:"@tailwindcss/postcss",plugins:[ce(),{postcssPlugin:"tailwindcss",async Once(o,{result:n,postcss:i}){var me=[];try{let l=ve(me,new Ft);let u=n.opts.from??"";let s=u.endsWith(".module.css");p&&l.start(`[@tailwindcss/postcss] ${Be(r,u)}`);{p&&l.start("Quick bail check");let b=!0;if(o.walkAtRules(h=>{if(h.name==="import"||h.name==="reference"||h.name==="theme"||h.name==="variant"||h.name==="config"||h.name==="plugin"||h.name==="apply"||h.name==="tailwind")return b=!1,!1}),b)return;p&&l.end("Quick bail check")}let c=Gt(i,u,e);let f=u?D.dirname(D.resolve(u)):r;let k=c.compiler===null;async function T(){p&&l.start("Setup compiler"),c.fullRebuildPaths.length>0&&!k&&Wt(c.fullRebuildPaths),c.fullRebuildPaths=[],p&&l.start("PostCSS AST -> Tailwind CSS AST");let b=je(o);p&&l.end("PostCSS AST -> Tailwind CSS AST"),p&&l.start("Create compiler");let h=await Kt(b,{from:n.opts.from,base:f,shouldRewriteUrls:a,onDependency:X=>c.fullRebuildPaths.push(X),polyfills:s?pe.All^pe.AtProperty:pe.All});return p&&l.end("Create compiler"),p&&l.end("Setup compiler"),h}try{if(c.compiler??=T(),(await c.compiler).features===fe.None)return;let b="incremental";p&&l.start("Register full rebuild paths");{for(let w of c.fullRebuildPaths)n.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:D.resolve(w),parent:n.opts.from});let _=n.messages.flatMap(w=>w.type!=="dependency"?[]:w.file);_.push(u);for(let w of _){let N=Yt.statSync(w,{throwIfNoEntry:!1})?.mtimeMs??null;if(N===null){w===u&&(b="full");continue}c.mtimes.get(w)!==N&&(b="full",c.mtimes.set(w,N))}}p&&l.end("Register full rebuild paths"),b==="full"&&!k&&(c.compiler=T());let h=await c.compiler;if(c.scanner===null||b==="full"){p&&l.start("Setup scanner");let _=(h.root==="none"?[]:h.root===null?[{base:r,pattern:"**/*",negated:!1}]:[{...h.root,negated:!1}]).concat(h.sources);c.scanner=new Bt({sources:_}),p&&l.end("Setup scanner")}p&&l.start("Scan for candidates");let X=h.features&fe.Utilities?c.scanner.scan():[];if(p&&l.end("Scan for candidates"),h.features&fe.Utilities){p&&l.start("Register dependency messages");let _=D.resolve(r,u);for(let w of c.scanner.files){let N=D.resolve(w);N!==_&&n.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:N,parent:n.opts.from})}for(let{base:w,pattern:N}of c.scanner.globs)N==="*"&&r===w||(N===""?n.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:D.resolve(w),parent:n.opts.from}):n.messages.push({type:"dir-dependency",plugin:"@tailwindcss/postcss",dir:D.resolve(w),glob:N,parent:n.opts.from}));p&&l.end("Register dependency messages")}p&&l.start("Build utilities");let Y=h.build(X);if(p&&l.end("Build utilities"),c.tailwindCssAst!==Y)if(t){p&&l.start("Optimization"),p&&l.start("AST -> CSS");let _=L(Y);p&&l.end("AST -> CSS"),p&&l.start("Lightning CSS");let w=jt(_,{minify:typeof t=="object"?t.minify:!0});p&&l.end("Lightning CSS"),p&&l.start("CSS -> PostCSS AST"),c.optimizedPostCssAst=i.parse(w.code,n.opts),p&&l.end("CSS -> PostCSS AST"),p&&l.end("Optimization")}else p&&l.start("Transform Tailwind CSS AST into PostCSS AST"),c.cachedPostCssAst=Fe(i,Y,o.source),p&&l.end("Transform Tailwind CSS AST into PostCSS AST");c.tailwindCssAst=Y,p&&l.start("Update PostCSS AST"),o.removeAll(),o.append(t?c.optimizedPostCssAst.clone().nodes:c.cachedPostCssAst.clone().nodes),o.raws.indent=" ",p&&l.end("Update PostCSS AST"),p&&l.end(`[@tailwindcss/postcss] ${Be(r,u)}`)}catch(b){c.compiler=null;for(let h of c.fullRebuildPaths)n.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:D.resolve(h),parent:n.opts.from});throw console.error(b),b&&typeof b=="object"&&"message"in b?o.error(`${b.message}`):o.error(`${b}`)}}catch(Ye){var Ge=Ye,He=!0}finally{ke(me,Ge,He)}}}]}}var Xa=Object.assign(Ht,{postcss:!0});export{Xa as default};
{
"name": "@tailwindcss/postcss",
"version": "0.0.0-insiders.eecb6f7",
"version": "0.0.0-insiders.eefe645",
"description": "PostCSS plugin for Tailwind CSS, a utility-first CSS framework for rapidly building custom user interfaces",

@@ -29,13 +29,12 @@ "license": "MIT",

"@alloc/quick-lru": "^5.2.0",
"lightningcss": "1.29.2",
"postcss": "^8.4.41",
"@tailwindcss/oxide": "0.0.0-insiders.eecb6f7",
"@tailwindcss/node": "0.0.0-insiders.eecb6f7",
"tailwindcss": "0.0.0-insiders.eecb6f7"
"postcss": "^8.5.10",
"@tailwindcss/oxide": "0.0.0-insiders.eefe645",
"@tailwindcss/node": "0.0.0-insiders.eefe645",
"tailwindcss": "0.0.0-insiders.eefe645"
},
"devDependencies": {
"@types/node": "^20.14.8",
"@types/node": "^22.19.17",
"@types/postcss-import": "14.0.3",
"dedent": "1.5.3",
"postcss-import": "^16.1.0",
"dedent": "1.7.2",
"postcss-import": "^16.1.1",
"internal-example-plugin": "0.0.0"

@@ -42,0 +41,0 @@ },

@@ -16,6 +16,6 @@ <p align="center">

<p align="center">
<a href="https://github.com/tailwindlabs/tailwindcss/actions"><img src="https://img.shields.io/github/actions/workflow/status/tailwindlabs/tailwindcss/ci.yml?branch=next" alt="Build Status"></a>
<a href="https://github.com/tailwindlabs/tailwindcss/actions"><img src="https://img.shields.io/github/actions/workflow/status/tailwindlabs/tailwindcss/ci.yml?branch=main" alt="Build Status"></a>
<a href="https://www.npmjs.com/package/tailwindcss"><img src="https://img.shields.io/npm/dt/tailwindcss.svg" alt="Total Downloads"></a>
<a href="https://github.com/tailwindcss/tailwindcss/releases"><img src="https://img.shields.io/npm/v/tailwindcss.svg" alt="Latest Release"></a>
<a href="https://github.com/tailwindcss/tailwindcss/blob/master/LICENSE"><img src="https://img.shields.io/npm/l/tailwindcss.svg" alt="License"></a>
<a href="https://github.com/tailwindlabs/tailwindcss/releases"><img src="https://img.shields.io/npm/v/tailwindcss.svg" alt="Latest Release"></a>
<a href="https://github.com/tailwindlabs/tailwindcss/blob/main/LICENSE"><img src="https://img.shields.io/npm/l/tailwindcss.svg" alt="License"></a>
</p>

@@ -31,12 +31,83 @@

For help, discussion about best practices, or any other conversation that would benefit from being searchable:
For help, discussion about best practices, or feature ideas:
[Discuss Tailwind CSS on GitHub](https://github.com/tailwindcss/tailwindcss/discussions)
[Discuss Tailwind CSS on GitHub](https://github.com/tailwindlabs/tailwindcss/discussions)
For chatting with others using the framework:
## Contributing
[Join the Tailwind CSS Discord Server](https://discord.gg/7NF8GNe)
If you're interested in contributing to Tailwind CSS, please read our [contributing docs](https://github.com/tailwindlabs/tailwindcss/blob/main/.github/CONTRIBUTING.md) **before submitting a pull request**.
## Contributing
---
If you're interested in contributing to Tailwind CSS, please read our [contributing docs](https://github.com/tailwindcss/tailwindcss/blob/next/.github/CONTRIBUTING.md) **before submitting a pull request**.
## `@tailwindcss/postcss` plugin API
### Changing where the plugin searches for source files
You can use the `base` option (defaults to the current working directory) to change the directory in which the plugin searches for source files:
```js
import tailwindcss from '@tailwindcss/postcss'
export default {
plugins: [
tailwindcss({
base: path.resolve(__dirname, './path'),
}),
],
}
```
### Enabling or disabling Lightning CSS
By default, this plugin detects whether or not the CSS is being built for production by checking the `NODE_ENV` environment variable. When building for production Lightning CSS will be enabled otherwise it is disabled.
If you want to always enable or disable Lightning CSS the `optimize` option may be used:
```js
import tailwindcss from '@tailwindcss/postcss'
export default {
plugins: [
tailwindcss({
// Enable or disable Lightning CSS
optimize: false,
}),
],
}
```
It's also possible to keep Lightning CSS enabled but disable minification:
```js
import tailwindcss from '@tailwindcss/postcss'
export default {
plugins: [
tailwindcss({
optimize: { minify: false },
}),
],
}
```
### Enabling or disabling `url(…)` rewriting
Our PostCSS plugin can rewrite `url(…)`s for you since it also handles `@import` (no `postcss-import` is needed). This feature is enabled by default.
In some situations the bundler or framework you're using may provide this feature itself. In this case you can set `transformAssetUrls` to `false` to disable this feature:
```js
import tailwindcss from '@tailwindcss/postcss'
export default {
plugins: [
tailwindcss({
// Disable `url(…)` rewriting
transformAssetUrls: false,
// Enable `url(…)` rewriting (the default)
transformAssetUrls: true,
}),
],
}
```