@tailwindcss/postcss 0.0.0-insiders.ef57e6e → 0.0.0-insiders.efe084b

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -27,14 +27,100 @@ For full documentation, visit [tailwindcss.com](https://tailwindcss.com).
27
27
 
28
28
  ## Community
29
29
 
30
- For help, discussion about best practices, or any other conversation that would benefit from being searchable:
30
+ For help, discussion about best practices, or feature ideas:
31
31
 
32
32
  [Discuss Tailwind CSS on GitHub](https://github.com/tailwindcss/tailwindcss/discussions)
33
33
 
34
- For chatting with others using the framework:
35
-
36
- [Join the Tailwind CSS Discord Server](https://discord.gg/7NF8GNe)
37
-
38
34
  ## Contributing
39
35
 
40
36
  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**.
37
+
38
+ ---
39
+
40
+ ## `@tailwindcss/postcss` plugin API
41
+
42
+ ### Changing where the plugin searches for source files
43
+
44
+ You can use the `base` option (defaults to the current working directory) to change the directory in which the plugin searches for source files:
45
+
46
+ ```js
47
+ import tailwindcss from "@tailwindcss/postcss"
48
+
49
+ export default {
50
+ plugins: [
51
+ tailwindcss({
52
+ base: path.resolve(__dirname, "./path)
53
+ })
54
+ ]
55
+ }
56
+ ```
57
+
58
+ ### Enabling or disabling Lightning CSS
59
+
60
+ 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.
61
+
62
+ If you want to always enable or disable Lightning CSS the `optimize` option may be used:
63
+
64
+ ```js
65
+ import tailwindcss from '@tailwindcss/postcss'
66
+
67
+ export default {
68
+ plugins: [
69
+ tailwindcss({
70
+ // Enable or disable Lightning CSS
71
+ optimize: false,
72
+ }),
73
+ ],
74
+ }
75
+ ```
76
+
77
+ It's also possible to keep Lightning CSS enabled but disable minification:
78
+
79
+ ```js
80
+ import tailwindcss from '@tailwindcss/postcss'
81
+
82
+ export default {
83
+ plugins: [
84
+ tailwindcss({
85
+ optimize: { minify: false },
86
+ }),
87
+ ],
88
+ }
89
+ ```
90
+
91
+ ### Enabling or disabling `url(…)` rewriting
92
+
93
+ 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.
94
+
95
+ 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:
96
+
97
+ ```js
98
+ import tailwindcss from '@tailwindcss/postcss'
99
+
100
+ export default {
101
+ plugins: [
102
+ tailwindcss({
103
+ // Disable `url(…)` rewriting
104
+ transformAssetUrls: false,
105
+
106
+ // Enable `url(…)` rewriting (the default)
107
+ transformAssetUrls: true,
108
+ }),
109
+ ],
110
+ }
111
+ ```
112
+
113
+ You may also pass options to `optimize` to enable Lighting CSS but prevent minification:
114
+
115
+ ```js
116
+ import tailwindcss from '@tailwindcss/postcss'
117
+
118
+ export default {
119
+ plugins: [
120
+ tailwindcss({
121
+ // Enables Lightning CSS but disables minification
122
+ optimize: { minify: false },
123
+ }),
124
+ ],
125
+ }
126
+ ```
package/dist/index.d.mts CHANGED
@@ -1,10 +1,24 @@
1
1
  import { PluginCreator } from 'postcss';
2
2
 
3
3
  type PluginOptions = {
4
+ /**
5
+ * The base directory to scan for class candidates.
6
+ *
7
+ * Defaults to the current working directory.
8
+ */
4
9
  base?: string;
10
+ /**
11
+ * Optimize and minify the output CSS.
12
+ */
5
13
  optimize?: boolean | {
6
14
  minify?: boolean;
7
15
  };
16
+ /**
17
+ * Enable or disable asset URL rewriting.
18
+ *
19
+ * Defaults to `true`.
20
+ */
21
+ transformAssetUrls?: boolean;
8
22
  };
9
23
  declare const _default: PluginCreator<PluginOptions>;
10
24
 
package/dist/index.d.ts CHANGED
@@ -1,10 +1,24 @@
1
1
  import { PluginCreator } from 'postcss';
2
2
 
3
3
  type PluginOptions = {
4
+ /**
5
+ * The base directory to scan for class candidates.
6
+ *
7
+ * Defaults to the current working directory.
8
+ */
4
9
  base?: string;
10
+ /**
11
+ * Optimize and minify the output CSS.
12
+ */
5
13
  optimize?: boolean | {
6
14
  minify?: boolean;
7
15
  };
16
+ /**
17
+ * Enable or disable asset URL rewriting.
18
+ *
19
+ * Defaults to `true`.
20
+ */
21
+ transformAssetUrls?: boolean;
8
22
  };
9
23
  declare const _default: PluginCreator<PluginOptions>;
10
24
 
package/dist/index.js CHANGED
@@ -1,8 +1,18 @@
1
- "use strict";var J=Object.create;var I=Object.defineProperty;var Z=Object.getOwnPropertyDescriptor;var ee=Object.getOwnPropertyNames;var te=Object.getPrototypeOf,se=Object.prototype.hasOwnProperty;var U=(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&&I(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?I(i,"default",{value:n,enumerable:!0}):i,n));var W=(n,r,i)=>{if(r!=null){typeof r!="object"&&typeof r!="function"&&V("Object expected");var e,s;i&&(e=r[U("asyncDispose")]),e===void 0&&(e=r[U("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},D=(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 K(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?K(n,r):ae(n,r)}function R(n,r,i=!1){return{kind:"declaration",property:n,value:r,important:i}}function P(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":""};
2
- `;else if(e.kind==="rule"){t+=`${l}${e.selector} {
3
- `;for(let o of e.nodes)t+=r(o,s+1);t+=`${l}}
4
- `}else if(e.kind==="at-rule"){if(e.nodes.length===0)return`${l}${e.name} ${e.params};
5
- `;t+=`${l}${e.name}${e.params?` ${e.params} `:" "}{
6
- `;for(let o of e.nodes)t+=r(o,s+1);t+=`${l}}
7
- `}else if(e.kind==="comment")t+=`${l}/*${e.value}*/
8
- `;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(P(e.text))}}let i=[];return n.each(e=>r(e,i)),i}var b=require("@tailwindcss/node"),y=A(require("path")),T="'",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]===T&&t[t.length-1]===T?T: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 L=[];try{let t=W(L,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,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:"**/*"}]:[o.compiler.root]).concat(o.compiler.globs);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{D(L,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;
1
+ "use strict";var It=Object.create;var We=Object.defineProperty;var Kt=Object.getOwnPropertyDescriptor;var zt=Object.getOwnPropertyNames;var Mt=Object.getPrototypeOf,Ft=Object.prototype.hasOwnProperty;var Fe=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e),je=e=>{throw TypeError(e)};var jt=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of zt(t))!Ft.call(e,o)&&o!==r&&We(e,o,{get:()=>t[o],enumerable:!(n=Kt(t,o))||n.enumerable});return e};var me=(e,t,r)=>(r=e!=null?It(Mt(e)):{},jt(t||!e||!e.__esModule?We(r,"default",{value:e,enumerable:!0}):r,e));var Be=(e,t,r)=>{if(t!=null){typeof t!="object"&&typeof t!="function"&&je("Object expected");var n,o;r&&(n=t[Fe("asyncDispose")]),n===void 0&&(n=t[Fe("dispose")],r&&(o=n)),typeof n!="function"&&je("Object not disposable"),o&&(n=function(){try{o.call(this)}catch(i){return Promise.reject(i)}}),e.push([r,n,t])}else r&&e.push([r]);return t},qe=(e,t,r)=>{var n=typeof SuppressedError=="function"?SuppressedError:function(a,l,u,f){return f=Error(u),f.name="SuppressedError",f.error=a,f.suppressed=l,f},o=a=>t=r?new n(a,t,"An error was suppressed during disposal"):(r=!0,a),i=a=>{for(;a=e.pop();)try{var l=a[1]&&a[1].call(a[2]);if(a[0])return Promise.resolve(l).then(i,u=>(o(u),i()))}catch(u){o(u)}if(r)throw t};return i()};var Ot=me(require("@alloc/quick-lru")),R=require("@tailwindcss/node"),_t=require("@tailwindcss/node/require-cache"),Dt=require("@tailwindcss/oxide"),Ut=me(require("fs")),_=me(require("path"));function Ve(e){return{kind:"word",value:e}}function Wt(e,t){return{kind:"function",value:e,nodes:t}}function Bt(e){return{kind:"separator",value:e}}function N(e,t,r=null){for(let n=0;n<e.length;n++){let o=e[n],i=!1,a=0,l=t(o,{parent:r,replaceWith(u){i||(i=!0,Array.isArray(u)?u.length===0?(e.splice(n,1),a=0):u.length===1?(e[n]=u[0],a=1):(e.splice(n,1,...u),a=u.length):e[n]=u)}})??0;if(i){l===0?n--:n+=a-1;continue}if(l===2)return 2;if(l!==1&&o.kind==="function"&&N(o.nodes,t,o)===2)return 2}}function $(e){let t="";for(let r of e)switch(r.kind){case"word":case"separator":{t+=r.value;break}case"function":t+=r.value+"("+$(r.nodes)+")"}return t}var Ge=92,qt=41,He=58,Ze=44,Gt=34,Qe=61,Ye=62,Je=60,Xe=10,Ht=40,Zt=39,et=47,tt=32,rt=9;function x(e){e=e.replaceAll(`\r
2
+ `,`
3
+ `);let t=[],r=[],n=null,o="",i;for(let a=0;a<e.length;a++){let l=e.charCodeAt(a);switch(l){case Ge:{o+=e[a]+e[a+1],a++;break}case He:case Ze:case Qe:case Ye:case Je:case Xe:case et:case tt:case rt:{if(o.length>0){let s=Ve(o);n?n.nodes.push(s):t.push(s),o=""}let u=a,f=a+1;for(;f<e.length&&(i=e.charCodeAt(f),!(i!==He&&i!==Ze&&i!==Qe&&i!==Ye&&i!==Je&&i!==Xe&&i!==et&&i!==tt&&i!==rt));f++);a=f-1;let c=Bt(e.slice(u,f));n?n.nodes.push(c):t.push(c);break}case Zt:case Gt:{let u=a;for(let f=a+1;f<e.length;f++)if(i=e.charCodeAt(f),i===Ge)f+=1;else if(i===l){a=f;break}o+=e.slice(u,a+1);break}case Ht:{let u=Wt(o,[]);o="",n?n.nodes.push(u):t.push(u),r.push(u),n=u;break}case qt:{let u=r.pop();if(o.length>0){let f=Ve(o);u?.nodes.push(f),o=""}r.length>0?n=r[r.length-1]:n=null;break}default:o+=String.fromCharCode(l)}}return o.length>0&&t.push(Ve(o)),t}var g=class extends Map{constructor(r){super();this.factory=r}get(r){let n=super.get(r);return n===void 0&&(n=this.factory(r,this),this.set(r,n)),n}};var yi=new Uint8Array(256);var ge=new Uint8Array(256);function C(e,t){let r=0,n=[],o=0,i=e.length,a=t.charCodeAt(0);for(let l=0;l<i;l++){let u=e.charCodeAt(l);if(r===0&&u===a){n.push(e.slice(o,l)),o=l+1;continue}switch(u){case 92:l+=1;break;case 39:case 34:for(;++l<i;){let f=e.charCodeAt(l);if(f===92){l+=1;continue}if(f===u)break}break;case 40:ge[r]=41,r++;break;case 91:ge[r]=93,r++;break;case 123:ge[r]=125,r++;break;case 93:case 125:case 41:r>0&&u===ge[r-1]&&r--;break}}return n.push(e.slice(o)),n}function it(e){switch(e.kind){case"arbitrary":return{kind:e.kind,property:e.property,value:e.value,modifier:e.modifier?{kind:e.modifier.kind,value:e.modifier.value}:null,variants:e.variants.map(ee),important:e.important,raw:e.raw};case"static":return{kind:e.kind,root:e.root,variants:e.variants.map(ee),important:e.important,raw:e.raw};case"functional":return{kind:e.kind,root:e.root,value:e.value?e.value.kind==="arbitrary"?{kind:e.value.kind,dataType:e.value.dataType,value:e.value.value}:{kind:e.value.kind,value:e.value.value,fraction:e.value.fraction}:null,modifier:e.modifier?{kind:e.modifier.kind,value:e.modifier.value}:null,variants:e.variants.map(ee),important:e.important,raw:e.raw};default:throw new Error("Unknown candidate kind")}}function ee(e){switch(e.kind){case"arbitrary":return{kind:e.kind,selector:e.selector,relative:e.relative};case"static":return{kind:e.kind,root:e.root};case"functional":return{kind:e.kind,root:e.root,value:e.value?{kind:e.value.kind,value:e.value.value}:null,modifier:e.modifier?{kind:e.modifier.kind,value:e.modifier.value}:null};case"compound":return{kind:e.kind,root:e.root,variant:ee(e.variant),modifier:e.modifier?{kind:e.modifier.kind,value:e.modifier.value}:null};default:throw new Error("Unknown variant kind")}}function $e(e){if(e===null)return"";let t=Jt(e.value),r=t?e.value.slice(4,-1):e.value,[n,o]=t?["(",")"]:["[","]"];return e.kind==="arbitrary"?`/${n}${Ne(r)}${o}`:e.kind==="named"?`/${e.value}`:""}var Qt=new g(e=>{let t=x(e),r=new Set;return N(t,(n,{parent:o})=>{let i=o===null?t:o.nodes??[];if(n.kind==="word"&&(n.value==="+"||n.value==="-"||n.value==="*"||n.value==="/")){let a=i.indexOf(n)??-1;if(a===-1)return;let l=i[a-1];if(l?.kind!=="separator"||l.value!==" ")return;let u=i[a+1];if(u?.kind!=="separator"||u.value!==" ")return;r.add(l),r.add(u)}else n.kind==="separator"&&n.value.trim()==="/"?n.value="/":n.kind==="separator"&&n.value.length>0&&n.value.trim()===""?(i[0]===n||i[i.length-1]===n)&&r.add(n):n.kind==="separator"&&n.value.trim()===","&&(n.value=",")}),r.size>0&&N(t,(n,{replaceWith:o})=>{r.has(n)&&(r.delete(n),o([]))}),Se(t),$(t)});function Ne(e){return Qt.get(e)}var Ti=new g(e=>{let t=x(e);return t.length===3&&t[0].kind==="word"&&t[0].value==="&"&&t[1].kind==="separator"&&t[1].value===":"&&t[2].kind==="function"&&t[2].value==="is"?$(t[2].nodes):e});function Se(e){for(let t of e)switch(t.kind){case"function":{if(t.value==="url"||t.value.endsWith("_url")){t.value=ne(t.value);break}if(t.value==="var"||t.value.endsWith("_var")||t.value==="theme"||t.value.endsWith("_theme")){t.value=ne(t.value);for(let r=0;r<t.nodes.length;r++)Se([t.nodes[r]]);break}t.value=ne(t.value),Se(t.nodes);break}case"separator":t.value=ne(t.value);break;case"word":{(t.value[0]!=="-"||t.value[1]!=="-")&&(t.value=ne(t.value));break}default:Xt(t)}}var Yt=new g(e=>{let t=x(e);return t.length===1&&t[0].kind==="function"&&t[0].value==="var"});function Jt(e){return Yt.get(e)}function Xt(e){throw new Error(`Unexpected value: ${e}`)}function ne(e){return e.replaceAll("_",String.raw`\_`).replaceAll(" ","_")}var er=process.env.FEATURES_ENV!=="stable";var M=/[+-]?\d*\.?\d+(?:[eE][+-]?\d+)?/,Ki=new RegExp(`^${M.source}$`);var zi=new RegExp(`^${M.source}%$`);var Mi=new RegExp(`^${M.source}s*/s*${M.source}$`);var tr=["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"],Fi=new RegExp(`^${M.source}(${tr.join("|")})$`);var rr=["deg","rad","grad","turn"],ji=new RegExp(`^${M.source}(${rr.join("|")})$`);var Wi=new RegExp(`^${M.source} +${M.source} +${M.source}$`);function T(e){let t=Number(e);return Number.isInteger(t)&&t>=0&&String(t)===String(e)}function te(e){return ir(e,.25)}function ir(e,t){let r=Number(e);return r>=0&&r%t===0&&String(r)===String(e)}function oe(e,t){if(t===null)return e;let r=Number(t);return Number.isNaN(r)||(t=`${r*100}%`),t==="100%"?e:`color-mix(in oklab, ${e} ${t}, transparent)`}var or={"--alpha":lr,"--spacing":ar,"--theme":sr,theme:ur};function lr(e,t,r,...n){let[o,i]=C(r,"/").map(a=>a.trim());if(!o||!i)throw new Error(`The --alpha(\u2026) function requires a color and an alpha value, e.g.: \`--alpha(${o||"var(--my-color)"} / ${i||"50%"})\``);if(n.length>0)throw new Error(`The --alpha(\u2026) function only accepts one argument, e.g.: \`--alpha(${o||"var(--my-color)"} / ${i||"50%"})\``);return oe(o,i)}function ar(e,t,r,...n){if(!r)throw new Error("The --spacing(\u2026) function requires an argument, but received none.");if(n.length>0)throw new Error(`The --spacing(\u2026) function only accepts a single argument, but received ${n.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} * ${r})`}function sr(e,t,r,...n){if(!r.startsWith("--"))throw new Error("The --theme(\u2026) function can only be used with CSS variables from your theme.");let o=!1;r.endsWith(" inline")&&(o=!0,r=r.slice(0,-7)),t.kind==="at-rule"&&(o=!0);let i=e.resolveThemeValue(r,o);if(!i){if(n.length>0)return n.join(", ");throw new Error(`Could not resolve value for theme function: \`theme(${r})\`. Consider checking if the variable name is correct or provide a fallback value to silence this error.`)}if(n.length===0)return i;let a=n.join(", ");if(a==="initial")return i;if(i==="initial")return a;if(i.startsWith("var(")||i.startsWith("theme(")||i.startsWith("--theme(")){let l=x(i);return cr(l,a),$(l)}return i}function ur(e,t,r,...n){r=fr(r);let o=e.resolveThemeValue(r);if(!o&&n.length>0)return n.join(", ");if(!o)throw new Error(`Could not resolve value for theme function: \`theme(${r})\`. Consider checking if the path is correct or provide a fallback value to silence this error.`);return o}var fn=new RegExp(Object.keys(or).map(e=>`${e}\\(`).join("|"));function fr(e){if(e[0]!=="'"&&e[0]!=='"')return e;let t="",r=e[0];for(let n=1;n<e.length-1;n++){let o=e[n],i=e[n+1];o==="\\"&&(i===r||i==="\\")?(t+=i,n++):t+=o}return t}function cr(e,t){N(e,r=>{if(r.kind==="function"&&!(r.value!=="var"&&r.value!=="theme"&&r.value!=="--theme"))if(r.nodes.length===1)r.nodes.push({kind:"word",value:`, ${t}`});else{let n=r.nodes[r.nodes.length-1];n.kind==="word"&&n.value==="initial"&&(n.value=t)}})}function Te(e,t){let r=e.length,n=t.length,o=r<n?r:n;for(let i=0;i<o;i++){let a=e.charCodeAt(i),l=t.charCodeAt(i);if(a>=48&&a<=57&&l>=48&&l<=57){let u=i,f=i+1,c=i,s=i+1;for(a=e.charCodeAt(f);a>=48&&a<=57;)a=e.charCodeAt(++f);for(l=t.charCodeAt(s);l>=48&&l<=57;)l=t.charCodeAt(++s);let p=e.slice(u,f),m=t.slice(c,s),d=Number(p)-Number(m);if(d)return d;if(p<m)return-1;if(p>m)return 1;continue}if(a!==l)return a-l}return e.length-t.length}function at(e){if(e[0]!=="["||e[e.length-1]!=="]")return null;let t=1,r=t,n=e.length-1;for(;re(e.charCodeAt(t));)t++;{for(r=t;t<n;t++){let c=e.charCodeAt(t);if(c===92){t++;continue}if(!(c>=65&&c<=90)&&!(c>=97&&c<=122)&&!(c>=48&&c<=57)&&!(c===45||c===95))break}if(r===t)return null}let o=e.slice(r,t);for(;re(e.charCodeAt(t));)t++;if(t===n)return{attribute:o,operator:null,quote:null,value:null,sensitivity:null};let i=null,a=e.charCodeAt(t);if(a===61)i="=",t++;else if((a===126||a===124||a===94||a===36||a===42)&&e.charCodeAt(t+1)===61)i=e[t]+"=",t+=2;else return null;for(;re(e.charCodeAt(t));)t++;if(t===n)return null;let l="",u=null;if(a=e.charCodeAt(t),a===39||a===34){u=e[t],t++,r=t;for(let c=t;c<n;c++){let s=e.charCodeAt(c);s===a?t=c+1:s===92&&c++}l=e.slice(r,t-1)}else{for(r=t;t<n&&!re(e.charCodeAt(t));)t++;l=e.slice(r,t)}for(;re(e.charCodeAt(t));)t++;if(t===n)return{attribute:o,operator:i,quote:u,value:l,sensitivity:null};let f=null;switch(e.charCodeAt(t)){case 105:case 73:{f="i",t++;break}case 115:case 83:{f="s",t++;break}default:return null}for(;re(e.charCodeAt(t));)t++;return t!==n?null:{attribute:o,operator:i,quote:u,value:l,sensitivity:f}}function re(e){switch(e){case 32:case 9:case 10:case 13:return!0;default:return!1}}var dr=/^[a-zA-Z0-9-_%/\.]+$/;function Pe(e){if(e[0]==="container")return null;e=e.slice(),e[0]==="animation"&&(e[0]="animate"),e[0]==="aspectRatio"&&(e[0]="aspect"),e[0]==="borderRadius"&&(e[0]="radius"),e[0]==="boxShadow"&&(e[0]="shadow"),e[0]==="colors"&&(e[0]="color"),e[0]==="containers"&&(e[0]="container"),e[0]==="fontFamily"&&(e[0]="font"),e[0]==="fontSize"&&(e[0]="text"),e[0]==="letterSpacing"&&(e[0]="tracking"),e[0]==="lineHeight"&&(e[0]="leading"),e[0]==="maxWidth"&&(e[0]="container"),e[0]==="screens"&&(e[0]="breakpoint"),e[0]==="transitionTimingFunction"&&(e[0]="ease");for(let t of e)if(!dr.test(t))return null;return e.map((t,r,n)=>t==="1"&&r!==n.length-1?"":t).map(t=>t.replaceAll(".","_").replace(/([a-z])([A-Z])/g,(r,n,o)=>`${n}-${o.toLowerCase()}`)).filter((t,r)=>t!=="DEFAULT"||r!==e.length-1).join("-")}function mr(e){return{kind:"combinator",value:e}}function gr(e,t){return{kind:"function",value:e,nodes:t}}function G(e){return{kind:"selector",value:e}}function hr(e){return{kind:"separator",value:e}}function vr(e){return{kind:"value",value:e}}function ve(e,t,r=null){for(let n=0;n<e.length;n++){let o=e[n],i=!1,a=0,l=t(o,{parent:r,replaceWith(u){i||(i=!0,Array.isArray(u)?u.length===0?(e.splice(n,1),a=0):u.length===1?(e[n]=u[0],a=1):(e.splice(n,1,...u),a=u.length):(e[n]=u,a=1))}})??0;if(i){l===0?n--:n+=a-1;continue}if(l===2)return 2;if(l!==1&&o.kind==="function"&&ve(o.nodes,t,o)===2)return 2}}function H(e){let t="";for(let r of e)switch(r.kind){case"combinator":case"selector":case"separator":case"value":{t+=r.value;break}case"function":t+=r.value+"("+H(r.nodes)+")"}return t}var ut=92,kr=93,ft=41,wr=58,ct=44,yr=34,br=46,pt=62,dt=10,xr=35,mt=91,gt=40,ht=43,Ar=39,vt=32,kt=9,wt=126,Cr=38,Vr=42;function ae(e){e=e.replaceAll(`\r
4
+ `,`
5
+ `);let t=[],r=[],n=null,o="",i;for(let a=0;a<e.length;a++){let l=e.charCodeAt(a);switch(l){case ct:case pt:case dt:case vt:case ht:case kt:case wt:{if(o.length>0){let p=G(o);n?n.nodes.push(p):t.push(p),o=""}let u=a,f=a+1;for(;f<e.length&&(i=e.charCodeAt(f),!(i!==ct&&i!==pt&&i!==dt&&i!==vt&&i!==ht&&i!==kt&&i!==wt));f++);a=f-1;let c=e.slice(u,f),s=c.trim()===","?hr(c):mr(c);n?n.nodes.push(s):t.push(s);break}case gt:{let u=gr(o,[]);if(o="",u.value!==":not"&&u.value!==":where"&&u.value!==":has"&&u.value!==":is"){let f=a+1,c=0;for(let p=a+1;p<e.length;p++){if(i=e.charCodeAt(p),i===gt){c++;continue}if(i===ft){if(c===0){a=p;break}c--}}let s=a;u.nodes.push(vr(e.slice(f,s))),o="",a=s,n?n.nodes.push(u):t.push(u);break}n?n.nodes.push(u):t.push(u),r.push(u),n=u;break}case ft:{let u=r.pop();if(o.length>0){let f=G(o);u.nodes.push(f),o=""}r.length>0?n=r[r.length-1]:n=null;break}case br:case wr:case xr:{if(o.length>0){let u=G(o);n?n.nodes.push(u):t.push(u)}o=e[a];break}case mt:{if(o.length>0){let c=G(o);n?n.nodes.push(c):t.push(c)}o="";let u=a,f=0;for(let c=a+1;c<e.length;c++){if(i=e.charCodeAt(c),i===mt){f++;continue}if(i===kr){if(f===0){a=c;break}f--}}o+=e.slice(u,a+1);break}case Ar:case yr:{let u=a;for(let f=a+1;f<e.length;f++)if(i=e.charCodeAt(f),i===ut)f+=1;else if(i===l){a=f;break}o+=e.slice(u,a+1);break}case Cr:case Vr:{if(o.length>0){let u=G(o);n?n.nodes.push(u):t.push(u),o=""}n?n.nodes.push(G(e[a])):t.push(G(e[a]));break}case ut:{o+=e[a]+e[a+1],a+=1;break}default:o+=e[a]}}return o.length>0&&t.push(G(o)),t}var Sr=/^(?<value>-?(?:\d*\.)?\d+)(?<unit>[a-z]+|%)$/i,se=new g(e=>{let t=Sr.exec(e);if(!t)return null;let r=t.groups?.value;if(r===void 0)return null;let n=t.groups?.unit;if(n===void 0)return null;let o=Number(r);return Number.isNaN(o)?null:[o,n]});var Z=new g(e=>new g(t=>{try{t=e.theme.prefix&&!t.startsWith(e.theme.prefix)?`${e.theme.prefix}:${t}`:t;let r=[F(".x",[E("@apply",t)])];return $r(e,()=>{for(let o of e.parseCandidate(t))e.compileAstNodes(o,1);ue(r,e)}),A(r,(o,{replaceWith:i})=>{o.kind==="declaration"?(o.value===void 0||o.property==="--tw-sort")&&i([]):o.kind==="context"||o.kind==="at-root"?i(o.nodes):o.kind==="comment"?i([]):o.kind==="at-rule"&&o.name==="@property"&&i([])}),A(r,o=>{if(o.kind==="declaration"&&o.value!==void 0){if(o.value.includes("var(")){let i=!1,a=x(o.value),l=new Set;N(a,(u,{replaceWith:f})=>{if(u.kind!=="function"||u.value!=="var"||u.nodes.length!==1&&u.nodes.length<3)return;let c=u.nodes[0].value;e.theme.prefix&&c.startsWith(`--${e.theme.prefix}-`)&&(c=c.slice(`--${e.theme.prefix}-`.length));let s=e.resolveThemeValue(c);if(!l.has(c)&&(l.add(c),s!==void 0&&(u.nodes.length===1&&(i=!0,u.nodes.push(...x(`,${s}`))),u.nodes.length>=3))){let p=$(u.nodes),m=`${u.nodes[0].value},${s}`;p===m&&(i=!0,f(x(s)))}}),i&&(o.value=$(a))}if(o.value.includes("calc")){let i=!1,a=x(o.value);N(a,(l,{replaceWith:u})=>{if(l.kind!=="function"||l.value!=="calc"||l.nodes.length!==5||l.nodes[2].kind!=="word"&&l.nodes[2].value!=="*")return;let f=se.get(l.nodes[0].value);if(f===null)return;let[c,s]=f,p=Number(l.nodes[4].value);Number.isNaN(p)||(i=!0,u(x(`${c*p}${s}`)))}),i&&(o.value=$(a))}o.value=Ne(o.value)}}),D(r)}catch{return Symbol()}})),Oe=new g(e=>{let t=Z.get(e),r=new g(()=>[]);for(let[n,o]of e.getClassList()){let i=t.get(n);if(typeof i=="string"){r.get(i).push(n);for(let a of o.modifiers){if(te(a))continue;let l=`${n}/${a}`,u=t.get(l);typeof u=="string"&&r.get(u).push(l)}}}return r}),ke=new g(e=>new g(t=>{try{t=e.theme.prefix&&!t.startsWith(e.theme.prefix)?`${e.theme.prefix}:${t}`:t;let r=[F(".x",[E("@apply",`${t}:flex`)])];return ue(r,e),A(r,o=>{if(o.kind==="at-rule"&&o.params.includes(" "))o.params=o.params.replaceAll(" ","");else if(o.kind==="rule"){let i=ae(o.selector),a=!1;ve(i,(l,{replaceWith:u})=>{l.kind==="separator"&&l.value!==" "?(l.value=l.value.trim(),a=!0):l.kind==="function"&&l.value===":is"?l.nodes.length===1?(a=!0,u(l.nodes)):l.nodes.length===2&&l.nodes[0].kind==="selector"&&l.nodes[0].value==="*"&&l.nodes[1].kind==="selector"&&l.nodes[1].value[0]===":"&&(a=!0,u(l.nodes[1])):l.kind==="function"&&l.value[0]===":"&&l.nodes[0]?.kind==="selector"&&l.nodes[0]?.value[0]===":"&&(a=!0,l.nodes.unshift({kind:"selector",value:"*"}))}),a&&(o.selector=H(i))}}),D(r)}catch{return Symbol()}})),yt=new g(e=>{let t=ke.get(e),r=new g(()=>[]);for(let[n,o]of e.variants.entries())if(o.kind==="static"){let i=t.get(n);if(typeof i!="string")continue;r.get(i).push(n)}return r});function $r(e,t){let r=e.theme.values.get,n=new Set;e.theme.values.get=o=>{let i=r.call(e.theme.values,o);return i===void 0||i.options&1&&(n.add(i),i.options&=-2),i};try{return t()}finally{e.theme.values.get=r;for(let o of n)o.options|=1}}function j(e,t){for(let r in e)delete e[r];return Object.assign(e,t)}function fe(e){let t=[];for(let r of C(e,".")){if(!r.includes("[")){t.push(r);continue}let n=0;for(;;){let o=r.indexOf("[",n),i=r.indexOf("]",o);if(o===-1||i===-1)break;o>n&&t.push(r.slice(n,o)),t.push(r.slice(o+1,i)),n=i+1}n<=r.length-1&&t.push(r.slice(n))}return t}var Fn=new g(e=>{let t=e.theme.prefix?`${e.theme.prefix}:`:"",r=Er.get(e),n=Rr.get(e);return new g((o,i)=>{for(let a of e.parseCandidate(o)){let l=a.variants.slice().reverse().flatMap(c=>r.get(c)),u=a.important;if(u||l.length>0){let s=i.get(e.printCandidate({...a,variants:[],important:!1}));return e.theme.prefix!==null&&l.length>0&&(s=s.slice(t.length)),l.length>0&&(s=`${l.map(p=>e.printVariant(p)).join(":")}:${s}`),u&&(s+="!"),e.theme.prefix!==null&&l.length>0&&(s=`${t}${s}`),s}let f=n.get(o);if(f!==o)return f}return o})}),Tr=[Ur,Hr,Zr,Br],Er=new g(e=>new g(t=>{let r=[t];for(let n of Tr)for(let o of r.splice(0)){let i=n(e,ee(o));if(Array.isArray(i)){r.push(...i);continue}else r.push(i)}return r})),Pr=[_r,Dr,zr,Fr,Wr,qr,Gr,Qr],Rr=new g(e=>new g(t=>{for(let r of e.parseCandidate(t)){let n=it(r);for(let i of Pr)n=i(e,n);let o=e.printCandidate(n);if(t!==o)return o}return t})),Or=["t","tr","r","br","b","bl","l","tl"];function _r(e,t){if(t.kind==="static"&&t.root.startsWith("bg-gradient-to-")){let r=t.root.slice(15);return Or.includes(r)&&(t.root=`bg-linear-to-${r}`),t}return t}function Dr(e,t){let r=xt.get(e);if(t.kind==="arbitrary"){let[n,o]=r(t.value,t.modifier===null?1:0);n!==t.value&&(t.value=n,o!==null&&(t.modifier=o))}else if(t.kind==="functional"&&t.value?.kind==="arbitrary"){let[n,o]=r(t.value.value,t.modifier===null?1:0);n!==t.value.value&&(t.value.value=n,o!==null&&(t.modifier=o))}return t}function Ur(e,t){let r=xt.get(e),n=be(t);for(let[o]of n)if(o.kind==="arbitrary"){let[i]=r(o.selector,2);i!==o.selector&&(o.selector=i)}else if(o.kind==="functional"&&o.value?.kind==="arbitrary"){let[i]=r(o.value.value,2);i!==o.value.value&&(o.value.value=i)}return t}var xt=new g(e=>{return t(e);function t(r){function n(l,u=0){let f=x(l);if(u&2)return[we(f,a),null];let c=0,s=0;if(N(f,d=>{d.kind==="function"&&d.value==="theme"&&(c+=1,N(d.nodes,h=>h.kind==="separator"&&h.value.includes(",")?2:h.kind==="separator"&&h.value.trim()==="/"?(s+=1,2):1))}),c===0)return[l,null];if(s===0)return[we(f,i),null];if(s>1)return[we(f,a),null];let p=null;return[we(f,(d,h)=>{let V=C(d,"/").map(S=>S.trim());if(V.length>2)return null;if(f.length===1&&V.length===2&&u&1){let[S,b]=V;if(/^\d+%$/.test(b))p={kind:"named",value:b.slice(0,-1)};else if(/^0?\.\d+$/.test(b)){let w=Number(b)*100;p={kind:Number.isInteger(w)?"named":"arbitrary",value:w.toString()}}else p={kind:"arbitrary",value:b};d=S}return i(d,h)||a(d,h)}),p]}function o(l,u=!0){let f=`--${Pe(fe(l))}`;return r.theme.get([f])?u&&r.theme.prefix?`--${r.theme.prefix}-${f.slice(2)}`:f:null}function i(l,u){let f=o(l);if(f)return u?`var(${f}, ${u})`:`var(${f})`;let c=fe(l);if(c[0]==="spacing"&&r.theme.get(["--spacing"])){let s=c[1];return te(s)?`--spacing(${s})`:null}return null}function a(l,u){let f=C(l,"/").map(p=>p.trim());l=f.shift();let c=o(l,!1);if(!c)return null;let s=f.length>0?`/${f.join("/")}`:"";return u?`--theme(${c}${s}, ${u})`:`--theme(${c}${s})`}return n}});function we(e,t){return N(e,(r,{parent:n,replaceWith:o})=>{if(r.kind==="function"&&r.value==="theme"){if(r.nodes.length<1)return;r.nodes[0].kind==="separator"&&r.nodes[0].value.trim()===""&&r.nodes.shift();let i=r.nodes[0];if(i.kind!=="word")return;let a=i.value,l=1;for(let c=l;c<r.nodes.length&&!r.nodes[c].value.includes(",");c++)a+=$([r.nodes[c]]),l=c+1;a=Lr(a);let u=r.nodes.slice(l+1),f=u.length>0?t(a,$(u)):t(a);if(f===null)return;if(n){let c=n.nodes.indexOf(r)-1;for(;c!==-1;){let s=n.nodes[c];if(s.kind==="separator"&&s.value.trim()===""){c-=1;continue}/^[-+*/]$/.test(s.value.trim())&&(f=`(${f})`);break}}o(x(f))}}),$(e)}function Lr(e){if(e[0]!=="'"&&e[0]!=='"')return e;let t="",r=e[0];for(let n=1;n<e.length-1;n++){let o=e[n],i=e[n+1];o==="\\"&&(i===r||i==="\\")?(t+=i,n++):t+=o}return t}function*be(e){function*t(r,n=null){yield[r,n],r.kind==="compound"&&(yield*t(r.variant,r))}yield*t(e,null)}function W(e,t){return e.parseCandidate(e.theme.prefix&&!t.startsWith(`${e.theme.prefix}:`)?`${e.theme.prefix}:${t}`:t)}function Ir(e,t){let r=e.printCandidate(t);return e.theme.prefix&&r.startsWith(`${e.theme.prefix}:`)?r.slice(e.theme.prefix.length+1):r}var Kr=new g(e=>{let t=e.resolveThemeValue("--spacing");if(t===void 0)return null;let r=se.get(t);if(!r)return null;let[n,o]=r;return new g(i=>{let a=se.get(i);if(!a)return null;let[l,u]=a;return u!==o?null:l/n})});function zr(e,t){if(t.kind!=="arbitrary"&&!(t.kind==="functional"&&t.value?.kind==="arbitrary"))return t;let r=Oe.get(e),n=Z.get(e),o=e.printCandidate(t),i=n.get(o);if(typeof i!="string")return t;for(let l of a(i,t)){let u=e.printCandidate(l);if(n.get(u)===i&&Mr(e,t,l))return l}return t;function*a(l,u){let f=r.get(l);if(!(f.length>1)){if(f.length===0&&u.modifier){let c={...u,modifier:null},s=n.get(e.printCandidate(c));if(typeof s=="string")for(let p of a(s,c))yield Object.assign({},p,{modifier:u.modifier})}if(f.length===1)for(let c of W(e,f[0]))yield c;else if(f.length===0){let c=u.kind==="arbitrary"?u.value:u.value?.value??null;if(c===null)return;let s=Kr.get(e)?.get(c)??null,p="";s!==null&&s<0&&(p="-",s=Math.abs(s));for(let m of Array.from(e.utilities.keys("functional")).sort((d,h)=>+(d[0]==="-")-+(h[0]==="-"))){p&&(m=`${p}${m}`);for(let d of W(e,`${m}-${c}`))yield d;if(u.modifier)for(let d of W(e,`${m}-${c}${u.modifier}`))yield d;if(s!==null){for(let d of W(e,`${m}-${s}`))yield d;if(u.modifier)for(let d of W(e,`${m}-${s}${$e(u.modifier)}`))yield d}for(let d of W(e,`${m}-[${c}]`))yield d;if(u.modifier)for(let d of W(e,`${m}-[${c}]${$e(u.modifier)}`))yield d}}}}}function Mr(e,t,r){let n=null;if(t.kind==="functional"&&t.value?.kind==="arbitrary"&&t.value.value.includes("var(--")?n=t.value.value:t.kind==="arbitrary"&&t.value.includes("var(--")&&(n=t.value),n===null)return!0;let o=e.candidatesToCss([e.printCandidate(r)]).join(`
6
+ `),i=!0;return N(x(n),a=>{if(a.kind==="function"&&a.value==="var"){let l=a.nodes[0].value;if(!new RegExp(`var\\(${l}[,)]\\s*`,"g").test(o)||o.includes(`${l}:`))return i=!1,2}}),i}function Fr(e,t){if(t.kind!=="functional"||t.value?.kind!=="named")return t;let r=Oe.get(e),n=Z.get(e),o=e.printCandidate(t),i=n.get(o);if(typeof i!="string")return t;for(let l of a(i,t)){let u=e.printCandidate(l);if(n.get(u)===i)return l}return t;function*a(l,u){let f=r.get(l);if(!(f.length>1)){if(f.length===0&&u.modifier){let c={...u,modifier:null},s=n.get(e.printCandidate(c));if(typeof s=="string")for(let p of a(s,c))yield Object.assign({},p,{modifier:u.modifier})}if(f.length===1)for(let c of W(e,f[0]))yield c}}}var jr=new Map([["order-none","order-0"]]);function Wr(e,t){let r=Z.get(e),n=Ir(e,t),o=jr.get(n)??null;if(o===null)return t;let i=r.get(n);if(typeof i!="string")return t;let a=r.get(o);if(typeof a!="string"||i!==a)return t;let[l]=W(e,o);return l}function Br(e,t){let r=ke.get(e),n=yt.get(e),o=be(t);for(let[i]of o){if(i.kind==="compound")continue;let a=e.printVariant(i),l=r.get(a);if(typeof l!="string")continue;let u=n.get(l);if(u.length!==1)continue;let f=u[0],c=e.parseVariant(f);c!==null&&j(i,c)}return t}function qr(e,t){let r=Z.get(e);if(t.kind==="functional"&&t.value?.kind==="arbitrary"&&t.value.dataType!==null){let n=e.printCandidate({...t,value:{...t.value,dataType:null}});r.get(e.printCandidate(t))===r.get(n)&&(t.value.dataType=null)}return t}function Gr(e,t){if(t.kind!=="functional"||t.value?.kind!=="arbitrary")return t;let r=Z.get(e),n=r.get(e.printCandidate(t));if(n===null)return t;for(let o of At(t))if(r.get(e.printCandidate({...t,value:o}))===n)return t.value=o,t;return t}function Hr(e,t){let r=be(t);for(let[n]of r)if(n.kind==="functional"&&n.root==="data"&&n.value?.kind==="arbitrary"&&!n.value.value.includes("="))n.value={kind:"named",value:n.value.value};else if(n.kind==="functional"&&n.root==="aria"&&n.value?.kind==="arbitrary"&&(n.value.value.endsWith("=true")||n.value.value.endsWith('="true"')||n.value.value.endsWith("='true'"))){let[o,i]=C(n.value.value,"=");if(o[o.length-1]==="~"||o[o.length-1]==="|"||o[o.length-1]==="^"||o[o.length-1]==="$"||o[o.length-1]==="*")continue;n.value={kind:"named",value:n.value.value.slice(0,n.value.value.indexOf("="))}}else n.kind==="functional"&&n.root==="supports"&&n.value?.kind==="arbitrary"&&/^[a-z-][a-z0-9-]*$/i.test(n.value.value)&&(n.value={kind:"named",value:n.value.value});return t}function*At(e,t=e.value?.value??"",r=new Set){if(r.has(t))return;if(r.add(t),yield{kind:"named",value:t,fraction:null},t.endsWith("%")&&te(t.slice(0,-1))&&(yield{kind:"named",value:t.slice(0,-1),fraction:null}),t.includes("/")){let[i,a]=t.split("/");T(i)&&T(a)&&(yield{kind:"named",value:i,fraction:`${i}/${a}`})}let n=new Set;for(let i of t.matchAll(/(\d+\/\d+)|(\d+\.?\d+)/g))n.add(i[0].trim());let o=Array.from(n).sort((i,a)=>i.length-a.length);for(let i of o)yield*At(e,i,r)}function bt(e){return!e.some(t=>t.kind==="separator"&&t.value.trim()===",")}function ye(e){let t=e.value.trim();return e.kind==="selector"&&t[0]==="["&&t[t.length-1]==="]"}function Zr(e,t){let r=[t],n=ke.get(e),o=be(t);for(let[i,a]of o)if(i.kind==="compound"&&(i.root==="has"||i.root==="not"||i.root==="in")&&i.modifier!==null&&"modifier"in i.variant&&(i.variant.modifier=i.modifier,i.modifier=null),i.kind==="arbitrary"){if(i.relative)continue;let l=ae(i.selector.trim());if(!bt(l))continue;if(a===null&&l.length===3&&l[0].kind==="selector"&&l[0].value==="&"&&l[1].kind==="combinator"&&l[1].value.trim()===">"&&l[2].kind==="selector"&&l[2].value==="*"){j(i,e.parseVariant("*"));continue}if(a===null&&l.length===3&&l[0].kind==="selector"&&l[0].value==="&"&&l[1].kind==="combinator"&&l[1].value.trim()===""&&l[2].kind==="selector"&&l[2].value==="*"){j(i,e.parseVariant("**"));continue}if(a===null&&l.length===3&&l[1].kind==="combinator"&&l[1].value.trim()===""&&l[2].kind==="selector"&&l[2].value==="&"){l.pop(),l.pop(),j(i,e.parseVariant(`in-[${H(l)}]`));continue}if(a===null&&l[0].kind==="selector"&&(l[0].value==="@media"||l[0].value==="@supports")){let s=n.get(e.printVariant(i)),p=x(H(l)),m=!1;if(N(p,(d,{replaceWith:h})=>{d.kind==="word"&&d.value==="not"&&(m=!0,h([]))}),p=x($(p)),N(p,d=>{d.kind==="separator"&&d.value!==" "&&d.value.trim()===""&&(d.value=" ")}),m){let d=e.parseVariant(`not-[${$(p)}]`);if(d===null)continue;let h=n.get(e.printVariant(d));if(s===h){j(i,d);continue}}}let u=null;a===null&&l.length===3&&l[0].kind==="selector"&&l[0].value.trim()==="&"&&l[1].kind==="combinator"&&l[1].value.trim()===">"&&l[2].kind==="selector"&&ye(l[2])&&(l=[l[2]],u=e.parseVariant("*")),a===null&&l.length===3&&l[0].kind==="selector"&&l[0].value.trim()==="&"&&l[1].kind==="combinator"&&l[1].value.trim()===""&&l[2].kind==="selector"&&ye(l[2])&&(l=[l[2]],u=e.parseVariant("**"));let f=l.filter(s=>!(s.kind==="selector"&&s.value.trim()==="&"));if(f.length!==1)continue;let c=f[0];if(c.kind==="function"&&c.value===":is"){if(!bt(c.nodes)||c.nodes.length!==1||!ye(c.nodes[0]))continue;c=c.nodes[0]}if(c.kind==="function"&&c.value[0]===":"||c.kind==="selector"&&c.value[0]===":"){let s=c,p=!1;if(s.kind==="function"&&s.value===":not"){if(p=!0,s.nodes.length!==1||s.nodes[0].kind!=="selector"&&s.nodes[0].kind!=="function"||s.nodes[0].value[0]!==":")continue;s=s.nodes[0]}let m=(h=>{if(h===":nth-child"&&s.kind==="function"&&s.nodes.length===1&&s.nodes[0].kind==="value"&&s.nodes[0].value==="odd")return p?(p=!1,"even"):"odd";if(h===":nth-child"&&s.kind==="function"&&s.nodes.length===1&&s.nodes[0].kind==="value"&&s.nodes[0].value==="even")return p?(p=!1,"odd"):"even";for(let[V,S]of[[":nth-child","nth"],[":nth-last-child","nth-last"],[":nth-of-type","nth-of-type"],[":nth-last-of-type","nth-of-last-type"]])if(h===V&&s.kind==="function"&&s.nodes.length===1)return s.nodes.length===1&&s.nodes[0].kind==="value"&&T(s.nodes[0].value)?`${S}-${s.nodes[0].value}`:`${S}-[${H(s.nodes)}]`;if(p){let V=n.get(e.printVariant(i)),S=n.get(`not-[${h}]`);if(V===S)return`[&${h}]`}return null})(s.value);if(m===null)continue;p&&(m=`not-${m}`);let d=e.parseVariant(m);if(d===null)continue;j(i,d)}else if(ye(c)){let s=at(c.value);if(s===null)continue;if(s.attribute.startsWith("data-")){let p=s.attribute.slice(5);j(i,{kind:"functional",root:"data",modifier:null,value:s.value===null?{kind:"named",value:p}:{kind:"arbitrary",value:`${p}${s.operator}${s.quote??""}${s.value}${s.quote??""}${s.sensitivity?` ${s.sensitivity}`:""}`}})}else if(s.attribute.startsWith("aria-")){let p=s.attribute.slice(5);j(i,{kind:"functional",root:"aria",modifier:null,value:s.value===null?{kind:"arbitrary",value:p}:s.operator==="="&&s.value==="true"&&s.sensitivity===null?{kind:"named",value:p}:{kind:"arbitrary",value:`${s.attribute}${s.operator}${s.quote??""}${s.value}${s.quote??""}${s.sensitivity?` ${s.sensitivity}`:""}`}})}}if(u)return[u,i]}return r}function Qr(e,t){if(t.kind!=="functional"&&t.kind!=="arbitrary"||t.modifier===null)return t;let r=Z.get(e),n=r.get(e.printCandidate(t)),o=t.modifier;if(n===r.get(e.printCandidate({...t,modifier:null})))return t.modifier=null,t;{let i={kind:"named",value:o.value.endsWith("%")?o.value.slice(0,-1):o.value,fraction:null};if(n===r.get(e.printCandidate({...t,modifier:i})))return t.modifier=i,t}{let i={kind:"named",value:`${parseFloat(o.value)*100}`,fraction:null};if(n===r.get(e.printCandidate({...t,modifier:i})))return t.modifier=i,t}return t}function ce(e,t,{onInvalidCandidate:r,respectImportant:n}={}){let o=new Map,i=[],a=new Map;for(let f of e){if(t.invalidCandidates.has(f)){r?.(f);continue}let c=t.parseCandidate(f);if(c.length===0){r?.(f);continue}a.set(f,c)}let l=0;(n??!0)&&(l|=1);let u=t.getVariantOrder();for(let[f,c]of a){let s=!1;for(let p of c){let m=t.compileAstNodes(p,l);if(m.length!==0){s=!0;for(let{node:d,propertySort:h}of m){let V=0n;for(let S of p.variants)V|=1n<<BigInt(u.get(S));o.set(d,{properties:h,variants:V,candidate:f}),i.push(d)}}}s||r?.(f)}return i.sort((f,c)=>{let s=o.get(f),p=o.get(c);if(s.variants-p.variants!==0n)return Number(s.variants-p.variants);let m=0;for(;m<s.properties.order.length&&m<p.properties.order.length&&s.properties.order[m]===p.properties.order[m];)m+=1;return(s.properties.order[m]??1/0)-(p.properties.order[m]??1/0)||p.properties.count-s.properties.count||Te(s.candidate,p.candidate)}),{astNodes:i,nodeSorting:o}}function ue(e,t){let r=0,n=L("&",e),o=new Set,i=new g(()=>new Set),a=new g(()=>new Set);A([n],(s,{parent:p,path:m})=>{if(s.kind==="at-rule"){if(s.name==="@keyframes")return A(s.nodes,d=>{if(d.kind==="at-rule"&&d.name==="@apply")throw new Error("You cannot use `@apply` inside `@keyframes`.")}),1;if(s.name==="@utility"){let d=s.params.replace(/-\*$/,"");a.get(d).add(s),A(s.nodes,h=>{if(!(h.kind!=="at-rule"||h.name!=="@apply")){o.add(s);for(let V of Vt(h,t))i.get(s).add(V)}});return}if(s.name==="@apply"){if(p===null)return;r|=1,o.add(p);for(let d of Vt(s,t))for(let h of m)h!==s&&o.has(h)&&i.get(h).add(d)}}});let l=new Set,u=[],f=new Set;function c(s,p=[]){if(!l.has(s)){if(f.has(s)){let m=p[(p.indexOf(s)+1)%p.length];throw s.kind==="at-rule"&&s.name==="@utility"&&m.kind==="at-rule"&&m.name==="@utility"&&A(s.nodes,d=>{if(d.kind!=="at-rule"||d.name!=="@apply")return;let h=d.params.split(/\s+/g);for(let V of h)for(let S of t.parseCandidate(V))switch(S.kind){case"arbitrary":break;case"static":case"functional":if(m.params.replace(/-\*$/,"")===S.root)throw new Error(`You cannot \`@apply\` the \`${V}\` utility here because it creates a circular dependency.`);break;default:}}),new Error(`Circular dependency detected:
7
+
8
+ ${D([s])}
9
+ Relies on:
10
+
11
+ ${D([m])}`)}f.add(s);for(let m of i.get(s))for(let d of a.get(m))p.push(s),c(d,p),p.pop();l.add(s),f.delete(s),u.push(s)}}for(let s of o)c(s);for(let s of u)"nodes"in s&&A(s.nodes,(p,{replaceWith:m})=>{if(p.kind!=="at-rule"||p.name!=="@apply")return;let d=p.params.split(/(\s+)/g),h={},V=0;for(let[S,b]of d.entries())S%2===0&&(h[b]=V),V+=b.length;{let S=Object.keys(h),b=ce(S,t,{respectImportant:!1,onInvalidCandidate:k=>{if(t.theme.prefix&&!k.startsWith(t.theme.prefix))throw new Error(`Cannot apply unprefixed utility class \`${k}\`. Did you mean \`${t.theme.prefix}:${k}\`?`);if(t.invalidCandidates.has(k))throw new Error(`Cannot apply utility class \`${k}\` because it has been explicitly disabled: https://tailwindcss.com/docs/detecting-classes-in-source-files#explicitly-excluding-classes`);let y=C(k,":");if(y.length>1){let O=y.pop();if(t.candidatesToCss([O])[0]){let Y=t.candidatesToCss(y.map(X=>`${X}:[--tw-variant-check:1]`)),q=y.filter((X,Ce)=>Y[Ce]===null);if(q.length>0){if(q.length===1)throw new Error(`Cannot apply utility class \`${k}\` because the ${q.map(X=>`\`${X}\``)} variant does not exist.`);{let X=new Intl.ListFormat("en",{style:"long",type:"conjunction"});throw new Error(`Cannot apply utility class \`${k}\` because the ${X.format(q.map(Ce=>`\`${Ce}\``))} variants do not exist.`)}}}}throw t.theme.size===0?new Error(`Cannot apply unknown utility class \`${k}\`. Are you using CSS modules or similar and missing \`@reference\`? https://tailwindcss.com/docs/functions-and-directives#reference-directive`):new Error(`Cannot apply unknown utility class \`${k}\``)}}),w=p.src,ie=b.astNodes.map(k=>{let y=b.nodeSorting.get(k)?.candidate,O=y?h[y]:void 0;if(k=K(k),!w||!y||O===void 0)return A([k],q=>{q.src=w}),k;let Y=[w[0],w[1],w[2]];return Y[1]+=7+O,Y[2]=Y[1]+y.length,A([k],q=>{q.src=Y}),k}),B=[];for(let k of ie)if(k.kind==="rule")for(let y of k.nodes)B.push(y);else B.push(k);m(B)}});return r}function*Vt(e,t){for(let r of e.params.split(/\s+/g))for(let n of t.parseCandidate(r))switch(n.kind){case"arbitrary":break;case"static":case"functional":yield n.root;break;default:}}var ri=32;var ii=40;function St(e,t=[]){let r=e,n="";for(let o=5;o<e.length;o++){let i=e.charCodeAt(o);if(i===ri||i===ii){r=e.slice(0,o),n=e.slice(o);break}}return E(r.trim(),n.trim(),t)}var De={inherit:"inherit",current:"currentcolor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"oklch(98.4% 0.003 247.858)",100:"oklch(96.8% 0.007 247.896)",200:"oklch(92.9% 0.013 255.508)",300:"oklch(86.9% 0.022 252.894)",400:"oklch(70.4% 0.04 256.788)",500:"oklch(55.4% 0.046 257.417)",600:"oklch(44.6% 0.043 257.281)",700:"oklch(37.2% 0.044 257.287)",800:"oklch(27.9% 0.041 260.031)",900:"oklch(20.8% 0.042 265.755)",950:"oklch(12.9% 0.042 264.695)"},gray:{50:"oklch(98.5% 0.002 247.839)",100:"oklch(96.7% 0.003 264.542)",200:"oklch(92.8% 0.006 264.531)",300:"oklch(87.2% 0.01 258.338)",400:"oklch(70.7% 0.022 261.325)",500:"oklch(55.1% 0.027 264.364)",600:"oklch(44.6% 0.03 256.802)",700:"oklch(37.3% 0.034 259.733)",800:"oklch(27.8% 0.033 256.848)",900:"oklch(21% 0.034 264.665)",950:"oklch(13% 0.028 261.692)"},zinc:{50:"oklch(98.5% 0 0)",100:"oklch(96.7% 0.001 286.375)",200:"oklch(92% 0.004 286.32)",300:"oklch(87.1% 0.006 286.286)",400:"oklch(70.5% 0.015 286.067)",500:"oklch(55.2% 0.016 285.938)",600:"oklch(44.2% 0.017 285.786)",700:"oklch(37% 0.013 285.805)",800:"oklch(27.4% 0.006 286.033)",900:"oklch(21% 0.006 285.885)",950:"oklch(14.1% 0.005 285.823)"},neutral:{50:"oklch(98.5% 0 0)",100:"oklch(97% 0 0)",200:"oklch(92.2% 0 0)",300:"oklch(87% 0 0)",400:"oklch(70.8% 0 0)",500:"oklch(55.6% 0 0)",600:"oklch(43.9% 0 0)",700:"oklch(37.1% 0 0)",800:"oklch(26.9% 0 0)",900:"oklch(20.5% 0 0)",950:"oklch(14.5% 0 0)"},stone:{50:"oklch(98.5% 0.001 106.423)",100:"oklch(97% 0.001 106.424)",200:"oklch(92.3% 0.003 48.717)",300:"oklch(86.9% 0.005 56.366)",400:"oklch(70.9% 0.01 56.259)",500:"oklch(55.3% 0.013 58.071)",600:"oklch(44.4% 0.011 73.639)",700:"oklch(37.4% 0.01 67.558)",800:"oklch(26.8% 0.007 34.298)",900:"oklch(21.6% 0.006 56.043)",950:"oklch(14.7% 0.004 49.25)"},red:{50:"oklch(97.1% 0.013 17.38)",100:"oklch(93.6% 0.032 17.717)",200:"oklch(88.5% 0.062 18.334)",300:"oklch(80.8% 0.114 19.571)",400:"oklch(70.4% 0.191 22.216)",500:"oklch(63.7% 0.237 25.331)",600:"oklch(57.7% 0.245 27.325)",700:"oklch(50.5% 0.213 27.518)",800:"oklch(44.4% 0.177 26.899)",900:"oklch(39.6% 0.141 25.723)",950:"oklch(25.8% 0.092 26.042)"},orange:{50:"oklch(98% 0.016 73.684)",100:"oklch(95.4% 0.038 75.164)",200:"oklch(90.1% 0.076 70.697)",300:"oklch(83.7% 0.128 66.29)",400:"oklch(75% 0.183 55.934)",500:"oklch(70.5% 0.213 47.604)",600:"oklch(64.6% 0.222 41.116)",700:"oklch(55.3% 0.195 38.402)",800:"oklch(47% 0.157 37.304)",900:"oklch(40.8% 0.123 38.172)",950:"oklch(26.6% 0.079 36.259)"},amber:{50:"oklch(98.7% 0.022 95.277)",100:"oklch(96.2% 0.059 95.617)",200:"oklch(92.4% 0.12 95.746)",300:"oklch(87.9% 0.169 91.605)",400:"oklch(82.8% 0.189 84.429)",500:"oklch(76.9% 0.188 70.08)",600:"oklch(66.6% 0.179 58.318)",700:"oklch(55.5% 0.163 48.998)",800:"oklch(47.3% 0.137 46.201)",900:"oklch(41.4% 0.112 45.904)",950:"oklch(27.9% 0.077 45.635)"},yellow:{50:"oklch(98.7% 0.026 102.212)",100:"oklch(97.3% 0.071 103.193)",200:"oklch(94.5% 0.129 101.54)",300:"oklch(90.5% 0.182 98.111)",400:"oklch(85.2% 0.199 91.936)",500:"oklch(79.5% 0.184 86.047)",600:"oklch(68.1% 0.162 75.834)",700:"oklch(55.4% 0.135 66.442)",800:"oklch(47.6% 0.114 61.907)",900:"oklch(42.1% 0.095 57.708)",950:"oklch(28.6% 0.066 53.813)"},lime:{50:"oklch(98.6% 0.031 120.757)",100:"oklch(96.7% 0.067 122.328)",200:"oklch(93.8% 0.127 124.321)",300:"oklch(89.7% 0.196 126.665)",400:"oklch(84.1% 0.238 128.85)",500:"oklch(76.8% 0.233 130.85)",600:"oklch(64.8% 0.2 131.684)",700:"oklch(53.2% 0.157 131.589)",800:"oklch(45.3% 0.124 130.933)",900:"oklch(40.5% 0.101 131.063)",950:"oklch(27.4% 0.072 132.109)"},green:{50:"oklch(98.2% 0.018 155.826)",100:"oklch(96.2% 0.044 156.743)",200:"oklch(92.5% 0.084 155.995)",300:"oklch(87.1% 0.15 154.449)",400:"oklch(79.2% 0.209 151.711)",500:"oklch(72.3% 0.219 149.579)",600:"oklch(62.7% 0.194 149.214)",700:"oklch(52.7% 0.154 150.069)",800:"oklch(44.8% 0.119 151.328)",900:"oklch(39.3% 0.095 152.535)",950:"oklch(26.6% 0.065 152.934)"},emerald:{50:"oklch(97.9% 0.021 166.113)",100:"oklch(95% 0.052 163.051)",200:"oklch(90.5% 0.093 164.15)",300:"oklch(84.5% 0.143 164.978)",400:"oklch(76.5% 0.177 163.223)",500:"oklch(69.6% 0.17 162.48)",600:"oklch(59.6% 0.145 163.225)",700:"oklch(50.8% 0.118 165.612)",800:"oklch(43.2% 0.095 166.913)",900:"oklch(37.8% 0.077 168.94)",950:"oklch(26.2% 0.051 172.552)"},teal:{50:"oklch(98.4% 0.014 180.72)",100:"oklch(95.3% 0.051 180.801)",200:"oklch(91% 0.096 180.426)",300:"oklch(85.5% 0.138 181.071)",400:"oklch(77.7% 0.152 181.912)",500:"oklch(70.4% 0.14 182.503)",600:"oklch(60% 0.118 184.704)",700:"oklch(51.1% 0.096 186.391)",800:"oklch(43.7% 0.078 188.216)",900:"oklch(38.6% 0.063 188.416)",950:"oklch(27.7% 0.046 192.524)"},cyan:{50:"oklch(98.4% 0.019 200.873)",100:"oklch(95.6% 0.045 203.388)",200:"oklch(91.7% 0.08 205.041)",300:"oklch(86.5% 0.127 207.078)",400:"oklch(78.9% 0.154 211.53)",500:"oklch(71.5% 0.143 215.221)",600:"oklch(60.9% 0.126 221.723)",700:"oklch(52% 0.105 223.128)",800:"oklch(45% 0.085 224.283)",900:"oklch(39.8% 0.07 227.392)",950:"oklch(30.2% 0.056 229.695)"},sky:{50:"oklch(97.7% 0.013 236.62)",100:"oklch(95.1% 0.026 236.824)",200:"oklch(90.1% 0.058 230.902)",300:"oklch(82.8% 0.111 230.318)",400:"oklch(74.6% 0.16 232.661)",500:"oklch(68.5% 0.169 237.323)",600:"oklch(58.8% 0.158 241.966)",700:"oklch(50% 0.134 242.749)",800:"oklch(44.3% 0.11 240.79)",900:"oklch(39.1% 0.09 240.876)",950:"oklch(29.3% 0.066 243.157)"},blue:{50:"oklch(97% 0.014 254.604)",100:"oklch(93.2% 0.032 255.585)",200:"oklch(88.2% 0.059 254.128)",300:"oklch(80.9% 0.105 251.813)",400:"oklch(70.7% 0.165 254.624)",500:"oklch(62.3% 0.214 259.815)",600:"oklch(54.6% 0.245 262.881)",700:"oklch(48.8% 0.243 264.376)",800:"oklch(42.4% 0.199 265.638)",900:"oklch(37.9% 0.146 265.522)",950:"oklch(28.2% 0.091 267.935)"},indigo:{50:"oklch(96.2% 0.018 272.314)",100:"oklch(93% 0.034 272.788)",200:"oklch(87% 0.065 274.039)",300:"oklch(78.5% 0.115 274.713)",400:"oklch(67.3% 0.182 276.935)",500:"oklch(58.5% 0.233 277.117)",600:"oklch(51.1% 0.262 276.966)",700:"oklch(45.7% 0.24 277.023)",800:"oklch(39.8% 0.195 277.366)",900:"oklch(35.9% 0.144 278.697)",950:"oklch(25.7% 0.09 281.288)"},violet:{50:"oklch(96.9% 0.016 293.756)",100:"oklch(94.3% 0.029 294.588)",200:"oklch(89.4% 0.057 293.283)",300:"oklch(81.1% 0.111 293.571)",400:"oklch(70.2% 0.183 293.541)",500:"oklch(60.6% 0.25 292.717)",600:"oklch(54.1% 0.281 293.009)",700:"oklch(49.1% 0.27 292.581)",800:"oklch(43.2% 0.232 292.759)",900:"oklch(38% 0.189 293.745)",950:"oklch(28.3% 0.141 291.089)"},purple:{50:"oklch(97.7% 0.014 308.299)",100:"oklch(94.6% 0.033 307.174)",200:"oklch(90.2% 0.063 306.703)",300:"oklch(82.7% 0.119 306.383)",400:"oklch(71.4% 0.203 305.504)",500:"oklch(62.7% 0.265 303.9)",600:"oklch(55.8% 0.288 302.321)",700:"oklch(49.6% 0.265 301.924)",800:"oklch(43.8% 0.218 303.724)",900:"oklch(38.1% 0.176 304.987)",950:"oklch(29.1% 0.149 302.717)"},fuchsia:{50:"oklch(97.7% 0.017 320.058)",100:"oklch(95.2% 0.037 318.852)",200:"oklch(90.3% 0.076 319.62)",300:"oklch(83.3% 0.145 321.434)",400:"oklch(74% 0.238 322.16)",500:"oklch(66.7% 0.295 322.15)",600:"oklch(59.1% 0.293 322.896)",700:"oklch(51.8% 0.253 323.949)",800:"oklch(45.2% 0.211 324.591)",900:"oklch(40.1% 0.17 325.612)",950:"oklch(29.3% 0.136 325.661)"},pink:{50:"oklch(97.1% 0.014 343.198)",100:"oklch(94.8% 0.028 342.258)",200:"oklch(89.9% 0.061 343.231)",300:"oklch(82.3% 0.12 346.018)",400:"oklch(71.8% 0.202 349.761)",500:"oklch(65.6% 0.241 354.308)",600:"oklch(59.2% 0.249 0.584)",700:"oklch(52.5% 0.223 3.958)",800:"oklch(45.9% 0.187 3.815)",900:"oklch(40.8% 0.153 2.432)",950:"oklch(28.4% 0.109 3.907)"},rose:{50:"oklch(96.9% 0.015 12.422)",100:"oklch(94.1% 0.03 12.58)",200:"oklch(89.2% 0.058 10.001)",300:"oklch(81% 0.117 11.638)",400:"oklch(71.2% 0.194 13.428)",500:"oklch(64.5% 0.246 16.439)",600:"oklch(58.6% 0.253 17.585)",700:"oklch(51.4% 0.222 16.935)",800:"oklch(45.5% 0.188 13.697)",900:"oklch(41% 0.159 10.272)",950:"oklch(27.1% 0.105 12.094)"}};function J(e){return{__BARE_VALUE__:e}}var U=J(e=>{if(T(e.value))return e.value}),P=J(e=>{if(T(e.value))return`${e.value}%`}),Q=J(e=>{if(T(e.value))return`${e.value}px`}),Tt=J(e=>{if(T(e.value))return`${e.value}ms`}),Ae=J(e=>{if(T(e.value))return`${e.value}deg`}),si=J(e=>{if(e.fraction===null)return;let[t,r]=C(e.fraction,"/");if(!(!T(t)||!T(r)))return e.fraction}),Et=J(e=>{if(T(Number(e.value)))return`repeat(${e.value}, minmax(0, 1fr))`}),ui={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",...si},backdropBlur:({theme:e})=>e("blur"),backdropBrightness:({theme:e})=>({...e("brightness"),...P}),backdropContrast:({theme:e})=>({...e("contrast"),...P}),backdropGrayscale:({theme:e})=>({...e("grayscale"),...P}),backdropHueRotate:({theme:e})=>({...e("hueRotate"),...Ae}),backdropInvert:({theme:e})=>({...e("invert"),...P}),backdropOpacity:({theme:e})=>({...e("opacity"),...P}),backdropSaturate:({theme:e})=>({...e("saturate"),...P}),backdropSepia:({theme:e})=>({...e("sepia"),...P}),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",...Q},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",...P},caretColor:({theme:e})=>e("colors"),colors:()=>({...De}),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",...U},container:{},content:{none:"none"},contrast:{0:"0",50:".5",75:".75",100:"1",125:"1.25",150:"1.5",200:"2",...P},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"),...Q}),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",...U},flexShrink:{0:"0",DEFAULT:"1",...U},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%",...P},grayscale:{0:"0",DEFAULT:"100%",...P},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",...U},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",...U},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",...U},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",...U},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))",...Et},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))",...Et},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",...Ae},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%",...P},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",...U},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",...P},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",...U},outlineColor:({theme:e})=>e("colors"),outlineOffset:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...Q},outlineWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...Q},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",...Q},ringOpacity:({theme:e})=>({DEFAULT:"0.5",...e("opacity")}),ringWidth:{DEFAULT:"3px",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...Q},rotate:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",45:"45deg",90:"90deg",180:"180deg",...Ae},saturate:{0:"0",50:".5",100:"1",150:"1.5",200:"2",...P},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",...P},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%",...P},skew:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",...Ae},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",...U},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",...Q},textIndent:({theme:e})=>e("spacing"),textOpacity:({theme:e})=>e("opacity"),textUnderlineOffset:{auto:"auto",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...Q},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",...Tt},transitionDuration:{DEFAULT:"150ms",0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms",...Tt},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",...U}};function Ue(e){let t=[0];for(let o=0;o<e.length;o++)e.charCodeAt(o)===10&&t.push(o+1);function r(o){let i=0,a=t.length;for(;a>0;){let u=(a|0)>>1,f=i+u;t[f]<=o?(i=f+1,a=a-u-1):a=u}i-=1;let l=o-t[i];return{line:i+1,column:l}}function n({line:o,column:i}){o-=1,o=Math.min(Math.max(o,0),t.length-1);let a=t[o],l=t[o+1]??a;return Math.min(Math.max(a+i,0),l)}return{find:r,findOffset:n}}var fi=64;function F(e,t=[]){return{kind:"rule",selector:e,nodes:t}}function E(e,t="",r=[]){return{kind:"at-rule",name:e,params:t,nodes:r}}function L(e,t=[]){return e.charCodeAt(0)===fi?St(e,t):F(e,t)}function I(e,t,r=!1){return{kind:"declaration",property:e,value:t,important:r}}function xe(e){return{kind:"comment",value:e}}function K(e){switch(e.kind){case"rule":return{kind:e.kind,selector:e.selector,nodes:e.nodes.map(K),src:e.src,dst:e.dst};case"at-rule":return{kind:e.kind,name:e.name,params:e.params,nodes:e.nodes.map(K),src:e.src,dst:e.dst};case"at-root":return{kind:e.kind,nodes:e.nodes.map(K),src:e.src,dst:e.dst};case"context":return{kind:e.kind,context:{...e.context},nodes:e.nodes.map(K),src:e.src,dst:e.dst};case"declaration":return{kind:e.kind,property:e.property,value:e.value,important:e.important,src:e.src,dst:e.dst};case"comment":return{kind:e.kind,value:e.value,src:e.src,dst:e.dst};default:throw new Error(`Unknown node kind: ${e.kind}`)}}function A(e,t,r=[],n={}){for(let o=0;o<e.length;o++){let i=e[o],a=r[r.length-1]??null;if(i.kind==="context"){if(A(i.nodes,t,r,{...n,...i.context})===2)return 2;continue}r.push(i);let l=!1,u=0,f=t(i,{parent:a,context:n,path:r,replaceWith(c){l||(l=!0,Array.isArray(c)?c.length===0?(e.splice(o,1),u=0):c.length===1?(e[o]=c[0],u=1):(e.splice(o,1,...c),u=c.length):(e[o]=c,u=1))}})??0;if(r.pop(),l){f===0?o--:o+=u-1;continue}if(f===2)return 2;if(f!==1&&"nodes"in i){r.push(i);let c=A(i.nodes,t,r,n);if(r.pop(),c===2)return 2}}}function D(e,t){let r=0,n={file:null,code:""};function o(a,l=0){let u="",f=" ".repeat(l);if(a.kind==="declaration"){if(u+=`${f}${a.property}: ${a.value}${a.important?" !important":""};
12
+ `,t){r+=f.length;let c=r;r+=a.property.length,r+=2,r+=a.value?.length??0,a.important&&(r+=11);let s=r;r+=2,a.dst=[n,c,s]}}else if(a.kind==="rule"){if(u+=`${f}${a.selector} {
13
+ `,t){r+=f.length;let c=r;r+=a.selector.length,r+=1;let s=r;a.dst=[n,c,s],r+=2}for(let c of a.nodes)u+=o(c,l+1);u+=`${f}}
14
+ `,t&&(r+=f.length,r+=2)}else if(a.kind==="at-rule"){if(a.nodes.length===0){let c=`${f}${a.name} ${a.params};
15
+ `;if(t){r+=f.length;let s=r;r+=a.name.length,r+=1,r+=a.params.length;let p=r;r+=2,a.dst=[n,s,p]}return c}if(u+=`${f}${a.name}${a.params?` ${a.params} `:" "}{
16
+ `,t){r+=f.length;let c=r;r+=a.name.length,a.params&&(r+=1,r+=a.params.length),r+=1;let s=r;a.dst=[n,c,s],r+=2}for(let c of a.nodes)u+=o(c,l+1);u+=`${f}}
17
+ `,t&&(r+=f.length,r+=2)}else if(a.kind==="comment"){if(u+=`${f}/*${a.value}*/
18
+ `,t){r+=f.length;let c=r;r+=2+a.value.length+2;let s=r;a.dst=[n,c,s],r+=1}}else if(a.kind==="context"||a.kind==="at-root")return"";return u}let i="";for(let a of e)i+=o(a,0);return n.code=i,i}var ci=33;function Pt(e,t,r){let n=new g(f=>new e.Input(f.code,{map:r?.input.map,from:f.file??void 0})),o=new g(f=>Ue(f.code)),i=e.root();i.source=r;function a(f){if(!f||!f[0])return;let c=o.get(f[0]),s=c.find(f[1]),p=c.find(f[2]);return{input:n.get(f[0]),start:{line:s.line,column:s.column+1,offset:f[1]},end:{line:p.line,column:p.column+1,offset:f[2]}}}function l(f,c){let s=a(c);s?f.source=s:delete f.source}function u(f,c){if(f.kind==="declaration"){let s=e.decl({prop:f.property,value:f.value??"",important:f.important});l(s,f.src),c.append(s)}else if(f.kind==="rule"){let s=e.rule({selector:f.selector});l(s,f.src),s.raws.semicolon=!0,c.append(s);for(let p of f.nodes)u(p,s)}else if(f.kind==="at-rule"){let s=e.atRule({name:f.name.slice(1),params:f.params});l(s,f.src),s.raws.semicolon=!0,c.append(s);for(let p of f.nodes)u(p,s)}else if(f.kind==="comment"){let s=e.comment({text:f.value});s.raws.left="",s.raws.right="",l(s,f.src),c.append(s)}else f.kind==="at-root"||f.kind}for(let f of t)u(f,i);return i}function Rt(e){let t=new g(i=>({file:i.file??i.id??null,code:i.css}));function r(i){let a=i.source;if(!a)return;let l=a.input;if(l&&a.start!==void 0&&a.end!==void 0)return[t.get(l),a.start.offset,a.end.offset]}function n(i,a){if(i.type==="decl"){let l=I(i.prop,i.value,i.important);l.src=r(i),a.push(l)}else if(i.type==="rule"){let l=L(i.selector);l.src=r(i),i.each(u=>n(u,l.nodes)),a.push(l)}else if(i.type==="atrule"){let l=E(`@${i.name}`,i.params);l.src=r(i),i.each(u=>n(u,l.nodes)),a.push(l)}else if(i.type==="comment"){if(i.text.charCodeAt(0)!==ci)return;let l=xe(i.text);l.src=r(i),a.push(l)}}let o=[];return e.each(i=>n(i,o)),o}var Ke=require("@tailwindcss/node"),de=me(require("path")),Le="'",Ie='"';function ze(){let e=new WeakSet;function t(r){let n=r.root().source?.input.file;if(!n)return;let o=r.source?.input.file;if(!o||e.has(r))return;let i=r.params[0],a=i[0]===Ie&&i[i.length-1]===Ie?Ie:i[0]===Le&&i[i.length-1]===Le?Le:null;if(!a)return;let l=r.params.slice(1,-1),u="";if(l.startsWith("!")&&(l=l.slice(1),u="!"),!l.startsWith("./")&&!l.startsWith("../"))return;let f=de.default.posix.join((0,Ke.normalizePath)(de.default.dirname(o)),l),c=de.default.posix.dirname((0,Ke.normalizePath)(n)),s=de.default.posix.relative(c,f);s.startsWith(".")||(s="./"+s),r.params=a+u+s+a,e.add(r)}return{postcssPlugin:"tailwindcss-postcss-fix-relative-paths",Once(r){r.walkAtRules(/source|plugin|config/,t)}}}var v=R.env.DEBUG,Me=new Ot.default({maxSize:50});function pi(e,t,r){let n=`${t}:${r.base??""}:${JSON.stringify(r.optimize)}`;if(Me.has(n))return Me.get(n);let o={mtimes:new Map,compiler:null,scanner:null,tailwindCssAst:[],cachedPostCssAst:e.root(),optimizedPostCssAst:e.root(),fullRebuildPaths:[]};return Me.set(n,o),o}function di(e={}){let t=e.base??process.cwd(),r=e.optimize??process.env.NODE_ENV==="production",n=e.transformAssetUrls??!0;return{postcssPlugin:"@tailwindcss/postcss",plugins:[ze(),{postcssPlugin:"tailwindcss",async Once(o,{result:i,postcss:a}){var d=[];try{let l=Be(d,new R.Instrumentation);let u=i.opts.from??"";let f=u.endsWith(".module.css");v&&l.start(`[@tailwindcss/postcss] ${(0,_.relative)(t,u)}`);{v&&l.start("Quick bail check");let b=!0;if(o.walkAtRules(w=>{if(w.name==="import"||w.name==="reference"||w.name==="theme"||w.name==="variant"||w.name==="config"||w.name==="plugin"||w.name==="apply"||w.name==="tailwind")return b=!1,!1}),b)return;v&&l.end("Quick bail check")}let c=pi(a,u,e);let s=_.default.dirname(_.default.resolve(u));let p=c.compiler===null;async function m(){v&&l.start("Setup compiler"),c.fullRebuildPaths.length>0&&!p&&(0,_t.clearRequireCache)(c.fullRebuildPaths),c.fullRebuildPaths=[],v&&l.start("PostCSS AST -> Tailwind CSS AST");let b=Rt(o);v&&l.end("PostCSS AST -> Tailwind CSS AST"),v&&l.start("Create compiler");let w=await(0,R.compileAst)(b,{from:i.opts.from,base:s,shouldRewriteUrls:n,onDependency:ie=>c.fullRebuildPaths.push(ie),polyfills:f?R.Polyfills.All^R.Polyfills.AtProperty:R.Polyfills.All});return v&&l.end("Create compiler"),v&&l.end("Setup compiler"),w}try{if(c.compiler??=m(),(await c.compiler).features===R.Features.None)return;let b="incremental";v&&l.start("Register full rebuild paths");{for(let y of c.fullRebuildPaths)i.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:_.default.resolve(y),parent:i.opts.from});let k=i.messages.flatMap(y=>y.type!=="dependency"?[]:y.file);k.push(u);for(let y of k){let O=Ut.default.statSync(y,{throwIfNoEntry:!1})?.mtimeMs??null;if(O===null){y===u&&(b="full");continue}c.mtimes.get(y)!==O&&(b="full",c.mtimes.set(y,O))}}v&&l.end("Register full rebuild paths"),b==="full"&&!p&&(c.compiler=m());let w=await c.compiler;if(c.scanner===null||b==="full"){v&&l.start("Setup scanner");let k=(w.root==="none"?[]:w.root===null?[{base:t,pattern:"**/*",negated:!1}]:[{...w.root,negated:!1}]).concat(w.sources);c.scanner=new Dt.Scanner({sources:k}),v&&l.end("Setup scanner")}v&&l.start("Scan for candidates");let ie=w.features&R.Features.Utilities?c.scanner.scan():[];if(v&&l.end("Scan for candidates"),w.features&R.Features.Utilities){v&&l.start("Register dependency messages");let k=_.default.resolve(t,u);for(let y of c.scanner.files){let O=_.default.resolve(y);O!==k&&i.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:O,parent:i.opts.from})}for(let{base:y,pattern:O}of c.scanner.globs)O==="*"&&t===y||(O===""?i.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:_.default.resolve(y),parent:i.opts.from}):i.messages.push({type:"dir-dependency",plugin:"@tailwindcss/postcss",dir:_.default.resolve(y),glob:O,parent:i.opts.from}));v&&l.end("Register dependency messages")}v&&l.start("Build utilities");let B=w.build(ie);if(v&&l.end("Build utilities"),c.tailwindCssAst!==B)if(r){v&&l.start("Optimization"),v&&l.start("AST -> CSS");let k=D(B);v&&l.end("AST -> CSS"),v&&l.start("Lightning CSS");let y=(0,R.optimize)(k,{minify:typeof r=="object"?r.minify:!0});v&&l.end("Lightning CSS"),v&&l.start("CSS -> PostCSS AST"),c.optimizedPostCssAst=a.parse(y.code,i.opts),v&&l.end("CSS -> PostCSS AST"),v&&l.end("Optimization")}else v&&l.start("Transform Tailwind CSS AST into PostCSS AST"),c.cachedPostCssAst=Pt(a,B,o.source),v&&l.end("Transform Tailwind CSS AST into PostCSS AST");c.tailwindCssAst=B,v&&l.start("Update PostCSS AST"),o.removeAll(),o.append(r?c.optimizedPostCssAst.clone().nodes:c.cachedPostCssAst.clone().nodes),o.raws.indent=" ",v&&l.end("Update PostCSS AST"),v&&l.end(`[@tailwindcss/postcss] ${(0,_.relative)(t,u)}`)}catch(b){c.compiler=null;for(let w of c.fullRebuildPaths)i.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:_.default.resolve(w),parent:i.opts.from});throw console.error(b),b&&typeof b=="object"&&"message"in b?o.error(`${b.message}`):o.error(`${b}`)}}catch(h){var V=h,S=!0}finally{qe(d,V,S)}}}]}}var Lt=Object.assign(di,{postcss:!0});module.exports=Lt;
package/dist/index.mjs CHANGED
@@ -1,8 +1,18 @@
1
- var $=(o,r)=>(r=Symbol[o])?r:Symbol.for("Symbol."+o),L=o=>{throw TypeError(o)};var U=(o,r,n)=>{if(r!=null){typeof r!="object"&&typeof r!="function"&&L("Object expected");var e,s;n&&(e=r[$("asyncDispose")]),e===void 0&&(e=r[$("dispose")],n&&(s=e)),typeof e!="function"&&L("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 T,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 I(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?I(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 W(o){function r(e,s=0){let t="",i=" ".repeat(s);if(e.kind==="declaration")t+=`${i}${e.property}: ${e.value}${e.important?" !important":""};
2
- `;else if(e.kind==="rule"){t+=`${i}${e.selector} {
3
- `;for(let l of e.nodes)t+=r(l,s+1);t+=`${i}}
4
- `}else if(e.kind==="at-rule"){if(e.nodes.length===0)return`${i}${e.name} ${e.params};
5
- `;t+=`${i}${e.name}${e.params?` ${e.params} `:" "}{
6
- `;for(let l of e.nodes)t+=r(l,s+1);t+=`${i}}
7
- `}else if(e.kind==="comment")t+=`${i}/*${e.value}*/
8
- `;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 D(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 K(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 P(){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:[P(),{postcssPlugin:"tailwindcss",async Once(e,{result:s}){var O=[];try{let t=U(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=K(e);a&&t.end("PostCSS AST -> Tailwind CSS AST"),a&&t.start("Create compiler");let u=await Z(f,{base:c,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===T.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:"**/*"}]:[l.compiler.root]).concat(l.compiler.globs);l.scanner=new re({sources:f}),a&&t.end("Setup scanner")}a&&t.start("Scan for candidates");let _=l.compiler.features&T.Utilities?l.scanner.scan():[];a&&t.end("Scan for candidates");if(l.compiler.features&T.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=W(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=D(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};
1
+ var Me=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e),Fe=e=>{throw TypeError(e)};var je=(e,t,r)=>{if(t!=null){typeof t!="object"&&typeof t!="function"&&Fe("Object expected");var n,o;r&&(n=t[Me("asyncDispose")]),n===void 0&&(n=t[Me("dispose")],r&&(o=n)),typeof n!="function"&&Fe("Object not disposable"),o&&(n=function(){try{o.call(this)}catch(i){return Promise.reject(i)}}),e.push([r,n,t])}else r&&e.push([r]);return t},We=(e,t,r)=>{var n=typeof SuppressedError=="function"?SuppressedError:function(a,l,u,f){return f=Error(u),f.name="SuppressedError",f.error=a,f.suppressed=l,f},o=a=>t=r?new n(a,t,"An error was suppressed during disposal"):(r=!0,a),i=a=>{for(;a=e.pop();)try{var l=a[1]&&a[1].call(a[2]);if(a[0])return Promise.resolve(l).then(i,u=>(o(u),i()))}catch(u){o(u)}if(r)throw t};return i()};import ti from"@alloc/quick-lru";import{compileAst as ri,env as ii,Features as Ie,Instrumentation as ni,optimize as oi,Polyfills as Ke}from"@tailwindcss/node";import{clearRequireCache as li}from"@tailwindcss/node/require-cache";import{Scanner as ai}from"@tailwindcss/oxide";import si from"fs";import Z,{relative as Rt}from"path";function Ae(e){return{kind:"word",value:e}}function Ot(e,t){return{kind:"function",value:e,nodes:t}}function _t(e){return{kind:"separator",value:e}}function N(e,t,r=null){for(let n=0;n<e.length;n++){let o=e[n],i=!1,a=0,l=t(o,{parent:r,replaceWith(u){i||(i=!0,Array.isArray(u)?u.length===0?(e.splice(n,1),a=0):u.length===1?(e[n]=u[0],a=1):(e.splice(n,1,...u),a=u.length):e[n]=u)}})??0;if(i){l===0?n--:n+=a-1;continue}if(l===2)return 2;if(l!==1&&o.kind==="function"&&N(o.nodes,t,o)===2)return 2}}function $(e){let t="";for(let r of e)switch(r.kind){case"word":case"separator":{t+=r.value;break}case"function":t+=r.value+"("+$(r.nodes)+")"}return t}var Be=92,Dt=41,qe=58,Ge=44,Ut=34,He=61,Ze=62,Qe=60,Ye=10,Lt=40,It=39,Je=47,Xe=32,et=9;function x(e){e=e.replaceAll(`\r
2
+ `,`
3
+ `);let t=[],r=[],n=null,o="",i;for(let a=0;a<e.length;a++){let l=e.charCodeAt(a);switch(l){case Be:{o+=e[a]+e[a+1],a++;break}case qe:case Ge:case He:case Ze:case Qe:case Ye:case Je:case Xe:case et:{if(o.length>0){let s=Ae(o);n?n.nodes.push(s):t.push(s),o=""}let u=a,f=a+1;for(;f<e.length&&(i=e.charCodeAt(f),!(i!==qe&&i!==Ge&&i!==He&&i!==Ze&&i!==Qe&&i!==Ye&&i!==Je&&i!==Xe&&i!==et));f++);a=f-1;let c=_t(e.slice(u,f));n?n.nodes.push(c):t.push(c);break}case It:case Ut:{let u=a;for(let f=a+1;f<e.length;f++)if(i=e.charCodeAt(f),i===Be)f+=1;else if(i===l){a=f;break}o+=e.slice(u,a+1);break}case Lt:{let u=Ot(o,[]);o="",n?n.nodes.push(u):t.push(u),r.push(u),n=u;break}case Dt:{let u=r.pop();if(o.length>0){let f=Ae(o);u?.nodes.push(f),o=""}r.length>0?n=r[r.length-1]:n=null;break}default:o+=String.fromCharCode(l)}}return o.length>0&&t.push(Ae(o)),t}var g=class extends Map{constructor(r){super();this.factory=r}get(r){let n=super.get(r);return n===void 0&&(n=this.factory(r,this),this.set(r,n)),n}};var vi=new Uint8Array(256);var pe=new Uint8Array(256);function C(e,t){let r=0,n=[],o=0,i=e.length,a=t.charCodeAt(0);for(let l=0;l<i;l++){let u=e.charCodeAt(l);if(r===0&&u===a){n.push(e.slice(o,l)),o=l+1;continue}switch(u){case 92:l+=1;break;case 39:case 34:for(;++l<i;){let f=e.charCodeAt(l);if(f===92){l+=1;continue}if(f===u)break}break;case 40:pe[r]=41,r++;break;case 91:pe[r]=93,r++;break;case 123:pe[r]=125,r++;break;case 93:case 125:case 41:r>0&&u===pe[r-1]&&r--;break}}return n.push(e.slice(o)),n}function tt(e){switch(e.kind){case"arbitrary":return{kind:e.kind,property:e.property,value:e.value,modifier:e.modifier?{kind:e.modifier.kind,value:e.modifier.value}:null,variants:e.variants.map(X),important:e.important,raw:e.raw};case"static":return{kind:e.kind,root:e.root,variants:e.variants.map(X),important:e.important,raw:e.raw};case"functional":return{kind:e.kind,root:e.root,value:e.value?e.value.kind==="arbitrary"?{kind:e.value.kind,dataType:e.value.dataType,value:e.value.value}:{kind:e.value.kind,value:e.value.value,fraction:e.value.fraction}:null,modifier:e.modifier?{kind:e.modifier.kind,value:e.modifier.value}:null,variants:e.variants.map(X),important:e.important,raw:e.raw};default:throw new Error("Unknown candidate kind")}}function X(e){switch(e.kind){case"arbitrary":return{kind:e.kind,selector:e.selector,relative:e.relative};case"static":return{kind:e.kind,root:e.root};case"functional":return{kind:e.kind,root:e.root,value:e.value?{kind:e.value.kind,value:e.value.value}:null,modifier:e.modifier?{kind:e.modifier.kind,value:e.modifier.value}:null};case"compound":return{kind:e.kind,root:e.root,variant:X(e.variant),modifier:e.modifier?{kind:e.modifier.kind,value:e.modifier.value}:null};default:throw new Error("Unknown variant kind")}}function Ve(e){if(e===null)return"";let t=Mt(e.value),r=t?e.value.slice(4,-1):e.value,[n,o]=t?["(",")"]:["[","]"];return e.kind==="arbitrary"?`/${n}${Se(r)}${o}`:e.kind==="named"?`/${e.value}`:""}var Kt=new g(e=>{let t=x(e),r=new Set;return N(t,(n,{parent:o})=>{let i=o===null?t:o.nodes??[];if(n.kind==="word"&&(n.value==="+"||n.value==="-"||n.value==="*"||n.value==="/")){let a=i.indexOf(n)??-1;if(a===-1)return;let l=i[a-1];if(l?.kind!=="separator"||l.value!==" ")return;let u=i[a+1];if(u?.kind!=="separator"||u.value!==" ")return;r.add(l),r.add(u)}else n.kind==="separator"&&n.value.trim()==="/"?n.value="/":n.kind==="separator"&&n.value.length>0&&n.value.trim()===""?(i[0]===n||i[i.length-1]===n)&&r.add(n):n.kind==="separator"&&n.value.trim()===","&&(n.value=",")}),r.size>0&&N(t,(n,{replaceWith:o})=>{r.has(n)&&(r.delete(n),o([]))}),Ce(t),$(t)});function Se(e){return Kt.get(e)}var Si=new g(e=>{let t=x(e);return t.length===3&&t[0].kind==="word"&&t[0].value==="&"&&t[1].kind==="separator"&&t[1].value===":"&&t[2].kind==="function"&&t[2].value==="is"?$(t[2].nodes):e});function Ce(e){for(let t of e)switch(t.kind){case"function":{if(t.value==="url"||t.value.endsWith("_url")){t.value=ie(t.value);break}if(t.value==="var"||t.value.endsWith("_var")||t.value==="theme"||t.value.endsWith("_theme")){t.value=ie(t.value);for(let r=0;r<t.nodes.length;r++)Ce([t.nodes[r]]);break}t.value=ie(t.value),Ce(t.nodes);break}case"separator":t.value=ie(t.value);break;case"word":{(t.value[0]!=="-"||t.value[1]!=="-")&&(t.value=ie(t.value));break}default:Ft(t)}}var zt=new g(e=>{let t=x(e);return t.length===1&&t[0].kind==="function"&&t[0].value==="var"});function Mt(e){return zt.get(e)}function Ft(e){throw new Error(`Unexpected value: ${e}`)}function ie(e){return e.replaceAll("_",String.raw`\_`).replaceAll(" ","_")}var jt=process.env.FEATURES_ENV!=="stable";var K=/[+-]?\d*\.?\d+(?:[eE][+-]?\d+)?/,Ui=new RegExp(`^${K.source}$`);var Li=new RegExp(`^${K.source}%$`);var Ii=new RegExp(`^${K.source}s*/s*${K.source}$`);var Wt=["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"],Ki=new RegExp(`^${K.source}(${Wt.join("|")})$`);var Bt=["deg","rad","grad","turn"],zi=new RegExp(`^${K.source}(${Bt.join("|")})$`);var Mi=new RegExp(`^${K.source} +${K.source} +${K.source}$`);function T(e){let t=Number(e);return Number.isInteger(t)&&t>=0&&String(t)===String(e)}function ee(e){return qt(e,.25)}function qt(e,t){let r=Number(e);return r>=0&&r%t===0&&String(r)===String(e)}function ne(e,t){if(t===null)return e;let r=Number(t);return Number.isNaN(r)||(t=`${r*100}%`),t==="100%"?e:`color-mix(in oklab, ${e} ${t}, transparent)`}var Ht={"--alpha":Zt,"--spacing":Qt,"--theme":Yt,theme:Jt};function Zt(e,t,r,...n){let[o,i]=C(r,"/").map(a=>a.trim());if(!o||!i)throw new Error(`The --alpha(\u2026) function requires a color and an alpha value, e.g.: \`--alpha(${o||"var(--my-color)"} / ${i||"50%"})\``);if(n.length>0)throw new Error(`The --alpha(\u2026) function only accepts one argument, e.g.: \`--alpha(${o||"var(--my-color)"} / ${i||"50%"})\``);return ne(o,i)}function Qt(e,t,r,...n){if(!r)throw new Error("The --spacing(\u2026) function requires an argument, but received none.");if(n.length>0)throw new Error(`The --spacing(\u2026) function only accepts a single argument, but received ${n.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} * ${r})`}function Yt(e,t,r,...n){if(!r.startsWith("--"))throw new Error("The --theme(\u2026) function can only be used with CSS variables from your theme.");let o=!1;r.endsWith(" inline")&&(o=!0,r=r.slice(0,-7)),t.kind==="at-rule"&&(o=!0);let i=e.resolveThemeValue(r,o);if(!i){if(n.length>0)return n.join(", ");throw new Error(`Could not resolve value for theme function: \`theme(${r})\`. Consider checking if the variable name is correct or provide a fallback value to silence this error.`)}if(n.length===0)return i;let a=n.join(", ");if(a==="initial")return i;if(i==="initial")return a;if(i.startsWith("var(")||i.startsWith("theme(")||i.startsWith("--theme(")){let l=x(i);return er(l,a),$(l)}return i}function Jt(e,t,r,...n){r=Xt(r);let o=e.resolveThemeValue(r);if(!o&&n.length>0)return n.join(", ");if(!o)throw new Error(`Could not resolve value for theme function: \`theme(${r})\`. Consider checking if the path is correct or provide a fallback value to silence this error.`);return o}var an=new RegExp(Object.keys(Ht).map(e=>`${e}\\(`).join("|"));function Xt(e){if(e[0]!=="'"&&e[0]!=='"')return e;let t="",r=e[0];for(let n=1;n<e.length-1;n++){let o=e[n],i=e[n+1];o==="\\"&&(i===r||i==="\\")?(t+=i,n++):t+=o}return t}function er(e,t){N(e,r=>{if(r.kind==="function"&&!(r.value!=="var"&&r.value!=="theme"&&r.value!=="--theme"))if(r.nodes.length===1)r.nodes.push({kind:"word",value:`, ${t}`});else{let n=r.nodes[r.nodes.length-1];n.kind==="word"&&n.value==="initial"&&(n.value=t)}})}function $e(e,t){let r=e.length,n=t.length,o=r<n?r:n;for(let i=0;i<o;i++){let a=e.charCodeAt(i),l=t.charCodeAt(i);if(a>=48&&a<=57&&l>=48&&l<=57){let u=i,f=i+1,c=i,s=i+1;for(a=e.charCodeAt(f);a>=48&&a<=57;)a=e.charCodeAt(++f);for(l=t.charCodeAt(s);l>=48&&l<=57;)l=t.charCodeAt(++s);let p=e.slice(u,f),m=t.slice(c,s),d=Number(p)-Number(m);if(d)return d;if(p<m)return-1;if(p>m)return 1;continue}if(a!==l)return a-l}return e.length-t.length}function ot(e){if(e[0]!=="["||e[e.length-1]!=="]")return null;let t=1,r=t,n=e.length-1;for(;te(e.charCodeAt(t));)t++;{for(r=t;t<n;t++){let c=e.charCodeAt(t);if(c===92){t++;continue}if(!(c>=65&&c<=90)&&!(c>=97&&c<=122)&&!(c>=48&&c<=57)&&!(c===45||c===95))break}if(r===t)return null}let o=e.slice(r,t);for(;te(e.charCodeAt(t));)t++;if(t===n)return{attribute:o,operator:null,quote:null,value:null,sensitivity:null};let i=null,a=e.charCodeAt(t);if(a===61)i="=",t++;else if((a===126||a===124||a===94||a===36||a===42)&&e.charCodeAt(t+1)===61)i=e[t]+"=",t+=2;else return null;for(;te(e.charCodeAt(t));)t++;if(t===n)return null;let l="",u=null;if(a=e.charCodeAt(t),a===39||a===34){u=e[t],t++,r=t;for(let c=t;c<n;c++){let s=e.charCodeAt(c);s===a?t=c+1:s===92&&c++}l=e.slice(r,t-1)}else{for(r=t;t<n&&!te(e.charCodeAt(t));)t++;l=e.slice(r,t)}for(;te(e.charCodeAt(t));)t++;if(t===n)return{attribute:o,operator:i,quote:u,value:l,sensitivity:null};let f=null;switch(e.charCodeAt(t)){case 105:case 73:{f="i",t++;break}case 115:case 83:{f="s",t++;break}default:return null}for(;te(e.charCodeAt(t));)t++;return t!==n?null:{attribute:o,operator:i,quote:u,value:l,sensitivity:f}}function te(e){switch(e){case 32:case 9:case 10:case 13:return!0;default:return!1}}var rr=/^[a-zA-Z0-9-_%/\.]+$/;function Te(e){if(e[0]==="container")return null;e=e.slice(),e[0]==="animation"&&(e[0]="animate"),e[0]==="aspectRatio"&&(e[0]="aspect"),e[0]==="borderRadius"&&(e[0]="radius"),e[0]==="boxShadow"&&(e[0]="shadow"),e[0]==="colors"&&(e[0]="color"),e[0]==="containers"&&(e[0]="container"),e[0]==="fontFamily"&&(e[0]="font"),e[0]==="fontSize"&&(e[0]="text"),e[0]==="letterSpacing"&&(e[0]="tracking"),e[0]==="lineHeight"&&(e[0]="leading"),e[0]==="maxWidth"&&(e[0]="container"),e[0]==="screens"&&(e[0]="breakpoint"),e[0]==="transitionTimingFunction"&&(e[0]="ease");for(let t of e)if(!rr.test(t))return null;return e.map((t,r,n)=>t==="1"&&r!==n.length-1?"":t).map(t=>t.replaceAll(".","_").replace(/([a-z])([A-Z])/g,(r,n,o)=>`${n}-${o.toLowerCase()}`)).filter((t,r)=>t!=="DEFAULT"||r!==e.length-1).join("-")}function ir(e){return{kind:"combinator",value:e}}function nr(e,t){return{kind:"function",value:e,nodes:t}}function B(e){return{kind:"selector",value:e}}function or(e){return{kind:"separator",value:e}}function lr(e){return{kind:"value",value:e}}function me(e,t,r=null){for(let n=0;n<e.length;n++){let o=e[n],i=!1,a=0,l=t(o,{parent:r,replaceWith(u){i||(i=!0,Array.isArray(u)?u.length===0?(e.splice(n,1),a=0):u.length===1?(e[n]=u[0],a=1):(e.splice(n,1,...u),a=u.length):(e[n]=u,a=1))}})??0;if(i){l===0?n--:n+=a-1;continue}if(l===2)return 2;if(l!==1&&o.kind==="function"&&me(o.nodes,t,o)===2)return 2}}function q(e){let t="";for(let r of e)switch(r.kind){case"combinator":case"selector":case"separator":case"value":{t+=r.value;break}case"function":t+=r.value+"("+q(r.nodes)+")"}return t}var at=92,ar=93,st=41,sr=58,ut=44,ur=34,fr=46,ft=62,ct=10,cr=35,pt=91,dt=40,mt=43,pr=39,gt=32,ht=9,vt=126,dr=38,mr=42;function le(e){e=e.replaceAll(`\r
4
+ `,`
5
+ `);let t=[],r=[],n=null,o="",i;for(let a=0;a<e.length;a++){let l=e.charCodeAt(a);switch(l){case ut:case ft:case ct:case gt:case mt:case ht:case vt:{if(o.length>0){let p=B(o);n?n.nodes.push(p):t.push(p),o=""}let u=a,f=a+1;for(;f<e.length&&(i=e.charCodeAt(f),!(i!==ut&&i!==ft&&i!==ct&&i!==gt&&i!==mt&&i!==ht&&i!==vt));f++);a=f-1;let c=e.slice(u,f),s=c.trim()===","?or(c):ir(c);n?n.nodes.push(s):t.push(s);break}case dt:{let u=nr(o,[]);if(o="",u.value!==":not"&&u.value!==":where"&&u.value!==":has"&&u.value!==":is"){let f=a+1,c=0;for(let p=a+1;p<e.length;p++){if(i=e.charCodeAt(p),i===dt){c++;continue}if(i===st){if(c===0){a=p;break}c--}}let s=a;u.nodes.push(lr(e.slice(f,s))),o="",a=s,n?n.nodes.push(u):t.push(u);break}n?n.nodes.push(u):t.push(u),r.push(u),n=u;break}case st:{let u=r.pop();if(o.length>0){let f=B(o);u.nodes.push(f),o=""}r.length>0?n=r[r.length-1]:n=null;break}case fr:case sr:case cr:{if(o.length>0){let u=B(o);n?n.nodes.push(u):t.push(u)}o=e[a];break}case pt:{if(o.length>0){let c=B(o);n?n.nodes.push(c):t.push(c)}o="";let u=a,f=0;for(let c=a+1;c<e.length;c++){if(i=e.charCodeAt(c),i===pt){f++;continue}if(i===ar){if(f===0){a=c;break}f--}}o+=e.slice(u,a+1);break}case pr:case ur:{let u=a;for(let f=a+1;f<e.length;f++)if(i=e.charCodeAt(f),i===at)f+=1;else if(i===l){a=f;break}o+=e.slice(u,a+1);break}case dr:case mr:{if(o.length>0){let u=B(o);n?n.nodes.push(u):t.push(u),o=""}n?n.nodes.push(B(e[a])):t.push(B(e[a]));break}case at:{o+=e[a]+e[a+1],a+=1;break}default:o+=e[a]}}return o.length>0&&t.push(B(o)),t}var gr=/^(?<value>-?(?:\d*\.)?\d+)(?<unit>[a-z]+|%)$/i,ae=new g(e=>{let t=gr.exec(e);if(!t)return null;let r=t.groups?.value;if(r===void 0)return null;let n=t.groups?.unit;if(n===void 0)return null;let o=Number(r);return Number.isNaN(o)?null:[o,n]});var G=new g(e=>new g(t=>{try{t=e.theme.prefix&&!t.startsWith(e.theme.prefix)?`${e.theme.prefix}:${t}`:t;let r=[z(".x",[E("@apply",t)])];return hr(e,()=>{for(let o of e.parseCandidate(t))e.compileAstNodes(o,1);se(r,e)}),A(r,(o,{replaceWith:i})=>{o.kind==="declaration"?(o.value===void 0||o.property==="--tw-sort")&&i([]):o.kind==="context"||o.kind==="at-root"?i(o.nodes):o.kind==="comment"?i([]):o.kind==="at-rule"&&o.name==="@property"&&i([])}),A(r,o=>{if(o.kind==="declaration"&&o.value!==void 0){if(o.value.includes("var(")){let i=!1,a=x(o.value),l=new Set;N(a,(u,{replaceWith:f})=>{if(u.kind!=="function"||u.value!=="var"||u.nodes.length!==1&&u.nodes.length<3)return;let c=u.nodes[0].value;e.theme.prefix&&c.startsWith(`--${e.theme.prefix}-`)&&(c=c.slice(`--${e.theme.prefix}-`.length));let s=e.resolveThemeValue(c);if(!l.has(c)&&(l.add(c),s!==void 0&&(u.nodes.length===1&&(i=!0,u.nodes.push(...x(`,${s}`))),u.nodes.length>=3))){let p=$(u.nodes),m=`${u.nodes[0].value},${s}`;p===m&&(i=!0,f(x(s)))}}),i&&(o.value=$(a))}if(o.value.includes("calc")){let i=!1,a=x(o.value);N(a,(l,{replaceWith:u})=>{if(l.kind!=="function"||l.value!=="calc"||l.nodes.length!==5||l.nodes[2].kind!=="word"&&l.nodes[2].value!=="*")return;let f=ae.get(l.nodes[0].value);if(f===null)return;let[c,s]=f,p=Number(l.nodes[4].value);Number.isNaN(p)||(i=!0,u(x(`${c*p}${s}`)))}),i&&(o.value=$(a))}o.value=Se(o.value)}}),O(r)}catch{return Symbol()}})),Pe=new g(e=>{let t=G.get(e),r=new g(()=>[]);for(let[n,o]of e.getClassList()){let i=t.get(n);if(typeof i=="string"){r.get(i).push(n);for(let a of o.modifiers){if(ee(a))continue;let l=`${n}/${a}`,u=t.get(l);typeof u=="string"&&r.get(u).push(l)}}}return r}),ge=new g(e=>new g(t=>{try{t=e.theme.prefix&&!t.startsWith(e.theme.prefix)?`${e.theme.prefix}:${t}`:t;let r=[z(".x",[E("@apply",`${t}:flex`)])];return se(r,e),A(r,o=>{if(o.kind==="at-rule"&&o.params.includes(" "))o.params=o.params.replaceAll(" ","");else if(o.kind==="rule"){let i=le(o.selector),a=!1;me(i,(l,{replaceWith:u})=>{l.kind==="separator"&&l.value!==" "?(l.value=l.value.trim(),a=!0):l.kind==="function"&&l.value===":is"?l.nodes.length===1?(a=!0,u(l.nodes)):l.nodes.length===2&&l.nodes[0].kind==="selector"&&l.nodes[0].value==="*"&&l.nodes[1].kind==="selector"&&l.nodes[1].value[0]===":"&&(a=!0,u(l.nodes[1])):l.kind==="function"&&l.value[0]===":"&&l.nodes[0]?.kind==="selector"&&l.nodes[0]?.value[0]===":"&&(a=!0,l.nodes.unshift({kind:"selector",value:"*"}))}),a&&(o.selector=q(i))}}),O(r)}catch{return Symbol()}})),kt=new g(e=>{let t=ge.get(e),r=new g(()=>[]);for(let[n,o]of e.variants.entries())if(o.kind==="static"){let i=t.get(n);if(typeof i!="string")continue;r.get(i).push(n)}return r});function hr(e,t){let r=e.theme.values.get,n=new Set;e.theme.values.get=o=>{let i=r.call(e.theme.values,o);return i===void 0||i.options&1&&(n.add(i),i.options&=-2),i};try{return t()}finally{e.theme.values.get=r;for(let o of n)o.options|=1}}function M(e,t){for(let r in e)delete e[r];return Object.assign(e,t)}function ue(e){let t=[];for(let r of C(e,".")){if(!r.includes("[")){t.push(r);continue}let n=0;for(;;){let o=r.indexOf("[",n),i=r.indexOf("]",o);if(o===-1||i===-1)break;o>n&&t.push(r.slice(n,o)),t.push(r.slice(o+1,i)),n=i+1}n<=r.length-1&&t.push(r.slice(n))}return t}var Kn=new g(e=>{let t=e.theme.prefix?`${e.theme.prefix}:`:"",r=wr.get(e),n=br.get(e);return new g((o,i)=>{for(let a of e.parseCandidate(o)){let l=a.variants.slice().reverse().flatMap(c=>r.get(c)),u=a.important;if(u||l.length>0){let s=i.get(e.printCandidate({...a,variants:[],important:!1}));return e.theme.prefix!==null&&l.length>0&&(s=s.slice(t.length)),l.length>0&&(s=`${l.map(p=>e.printVariant(p)).join(":")}:${s}`),u&&(s+="!"),e.theme.prefix!==null&&l.length>0&&(s=`${t}${s}`),s}let f=n.get(o);if(f!==o)return f}return o})}),kr=[Vr,Lr,Ir,_r],wr=new g(e=>new g(t=>{let r=[t];for(let n of kr)for(let o of r.splice(0)){let i=n(e,X(o));if(Array.isArray(i)){r.push(...i);continue}else r.push(i)}return r})),yr=[Ar,Cr,Tr,Pr,Or,Dr,Ur,Kr],br=new g(e=>new g(t=>{for(let r of e.parseCandidate(t)){let n=tt(r);for(let i of yr)n=i(e,n);let o=e.printCandidate(n);if(t!==o)return o}return t})),xr=["t","tr","r","br","b","bl","l","tl"];function Ar(e,t){if(t.kind==="static"&&t.root.startsWith("bg-gradient-to-")){let r=t.root.slice(15);return xr.includes(r)&&(t.root=`bg-linear-to-${r}`),t}return t}function Cr(e,t){let r=yt.get(e);if(t.kind==="arbitrary"){let[n,o]=r(t.value,t.modifier===null?1:0);n!==t.value&&(t.value=n,o!==null&&(t.modifier=o))}else if(t.kind==="functional"&&t.value?.kind==="arbitrary"){let[n,o]=r(t.value.value,t.modifier===null?1:0);n!==t.value.value&&(t.value.value=n,o!==null&&(t.modifier=o))}return t}function Vr(e,t){let r=yt.get(e),n=ke(t);for(let[o]of n)if(o.kind==="arbitrary"){let[i]=r(o.selector,2);i!==o.selector&&(o.selector=i)}else if(o.kind==="functional"&&o.value?.kind==="arbitrary"){let[i]=r(o.value.value,2);i!==o.value.value&&(o.value.value=i)}return t}var yt=new g(e=>{return t(e);function t(r){function n(l,u=0){let f=x(l);if(u&2)return[he(f,a),null];let c=0,s=0;if(N(f,d=>{d.kind==="function"&&d.value==="theme"&&(c+=1,N(d.nodes,h=>h.kind==="separator"&&h.value.includes(",")?2:h.kind==="separator"&&h.value.trim()==="/"?(s+=1,2):1))}),c===0)return[l,null];if(s===0)return[he(f,i),null];if(s>1)return[he(f,a),null];let p=null;return[he(f,(d,h)=>{let V=C(d,"/").map(S=>S.trim());if(V.length>2)return null;if(f.length===1&&V.length===2&&u&1){let[S,b]=V;if(/^\d+%$/.test(b))p={kind:"named",value:b.slice(0,-1)};else if(/^0?\.\d+$/.test(b)){let w=Number(b)*100;p={kind:Number.isInteger(w)?"named":"arbitrary",value:w.toString()}}else p={kind:"arbitrary",value:b};d=S}return i(d,h)||a(d,h)}),p]}function o(l,u=!0){let f=`--${Te(ue(l))}`;return r.theme.get([f])?u&&r.theme.prefix?`--${r.theme.prefix}-${f.slice(2)}`:f:null}function i(l,u){let f=o(l);if(f)return u?`var(${f}, ${u})`:`var(${f})`;let c=ue(l);if(c[0]==="spacing"&&r.theme.get(["--spacing"])){let s=c[1];return ee(s)?`--spacing(${s})`:null}return null}function a(l,u){let f=C(l,"/").map(p=>p.trim());l=f.shift();let c=o(l,!1);if(!c)return null;let s=f.length>0?`/${f.join("/")}`:"";return u?`--theme(${c}${s}, ${u})`:`--theme(${c}${s})`}return n}});function he(e,t){return N(e,(r,{parent:n,replaceWith:o})=>{if(r.kind==="function"&&r.value==="theme"){if(r.nodes.length<1)return;r.nodes[0].kind==="separator"&&r.nodes[0].value.trim()===""&&r.nodes.shift();let i=r.nodes[0];if(i.kind!=="word")return;let a=i.value,l=1;for(let c=l;c<r.nodes.length&&!r.nodes[c].value.includes(",");c++)a+=$([r.nodes[c]]),l=c+1;a=Sr(a);let u=r.nodes.slice(l+1),f=u.length>0?t(a,$(u)):t(a);if(f===null)return;if(n){let c=n.nodes.indexOf(r)-1;for(;c!==-1;){let s=n.nodes[c];if(s.kind==="separator"&&s.value.trim()===""){c-=1;continue}/^[-+*/]$/.test(s.value.trim())&&(f=`(${f})`);break}}o(x(f))}}),$(e)}function Sr(e){if(e[0]!=="'"&&e[0]!=='"')return e;let t="",r=e[0];for(let n=1;n<e.length-1;n++){let o=e[n],i=e[n+1];o==="\\"&&(i===r||i==="\\")?(t+=i,n++):t+=o}return t}function*ke(e){function*t(r,n=null){yield[r,n],r.kind==="compound"&&(yield*t(r.variant,r))}yield*t(e,null)}function F(e,t){return e.parseCandidate(e.theme.prefix&&!t.startsWith(`${e.theme.prefix}:`)?`${e.theme.prefix}:${t}`:t)}function $r(e,t){let r=e.printCandidate(t);return e.theme.prefix&&r.startsWith(`${e.theme.prefix}:`)?r.slice(e.theme.prefix.length+1):r}var Nr=new g(e=>{let t=e.resolveThemeValue("--spacing");if(t===void 0)return null;let r=ae.get(t);if(!r)return null;let[n,o]=r;return new g(i=>{let a=ae.get(i);if(!a)return null;let[l,u]=a;return u!==o?null:l/n})});function Tr(e,t){if(t.kind!=="arbitrary"&&!(t.kind==="functional"&&t.value?.kind==="arbitrary"))return t;let r=Pe.get(e),n=G.get(e),o=e.printCandidate(t),i=n.get(o);if(typeof i!="string")return t;for(let l of a(i,t)){let u=e.printCandidate(l);if(n.get(u)===i&&Er(e,t,l))return l}return t;function*a(l,u){let f=r.get(l);if(!(f.length>1)){if(f.length===0&&u.modifier){let c={...u,modifier:null},s=n.get(e.printCandidate(c));if(typeof s=="string")for(let p of a(s,c))yield Object.assign({},p,{modifier:u.modifier})}if(f.length===1)for(let c of F(e,f[0]))yield c;else if(f.length===0){let c=u.kind==="arbitrary"?u.value:u.value?.value??null;if(c===null)return;let s=Nr.get(e)?.get(c)??null,p="";s!==null&&s<0&&(p="-",s=Math.abs(s));for(let m of Array.from(e.utilities.keys("functional")).sort((d,h)=>+(d[0]==="-")-+(h[0]==="-"))){p&&(m=`${p}${m}`);for(let d of F(e,`${m}-${c}`))yield d;if(u.modifier)for(let d of F(e,`${m}-${c}${u.modifier}`))yield d;if(s!==null){for(let d of F(e,`${m}-${s}`))yield d;if(u.modifier)for(let d of F(e,`${m}-${s}${Ve(u.modifier)}`))yield d}for(let d of F(e,`${m}-[${c}]`))yield d;if(u.modifier)for(let d of F(e,`${m}-[${c}]${Ve(u.modifier)}`))yield d}}}}}function Er(e,t,r){let n=null;if(t.kind==="functional"&&t.value?.kind==="arbitrary"&&t.value.value.includes("var(--")?n=t.value.value:t.kind==="arbitrary"&&t.value.includes("var(--")&&(n=t.value),n===null)return!0;let o=e.candidatesToCss([e.printCandidate(r)]).join(`
6
+ `),i=!0;return N(x(n),a=>{if(a.kind==="function"&&a.value==="var"){let l=a.nodes[0].value;if(!new RegExp(`var\\(${l}[,)]\\s*`,"g").test(o)||o.includes(`${l}:`))return i=!1,2}}),i}function Pr(e,t){if(t.kind!=="functional"||t.value?.kind!=="named")return t;let r=Pe.get(e),n=G.get(e),o=e.printCandidate(t),i=n.get(o);if(typeof i!="string")return t;for(let l of a(i,t)){let u=e.printCandidate(l);if(n.get(u)===i)return l}return t;function*a(l,u){let f=r.get(l);if(!(f.length>1)){if(f.length===0&&u.modifier){let c={...u,modifier:null},s=n.get(e.printCandidate(c));if(typeof s=="string")for(let p of a(s,c))yield Object.assign({},p,{modifier:u.modifier})}if(f.length===1)for(let c of F(e,f[0]))yield c}}}var Rr=new Map([["order-none","order-0"]]);function Or(e,t){let r=G.get(e),n=$r(e,t),o=Rr.get(n)??null;if(o===null)return t;let i=r.get(n);if(typeof i!="string")return t;let a=r.get(o);if(typeof a!="string"||i!==a)return t;let[l]=F(e,o);return l}function _r(e,t){let r=ge.get(e),n=kt.get(e),o=ke(t);for(let[i]of o){if(i.kind==="compound")continue;let a=e.printVariant(i),l=r.get(a);if(typeof l!="string")continue;let u=n.get(l);if(u.length!==1)continue;let f=u[0],c=e.parseVariant(f);c!==null&&M(i,c)}return t}function Dr(e,t){let r=G.get(e);if(t.kind==="functional"&&t.value?.kind==="arbitrary"&&t.value.dataType!==null){let n=e.printCandidate({...t,value:{...t.value,dataType:null}});r.get(e.printCandidate(t))===r.get(n)&&(t.value.dataType=null)}return t}function Ur(e,t){if(t.kind!=="functional"||t.value?.kind!=="arbitrary")return t;let r=G.get(e),n=r.get(e.printCandidate(t));if(n===null)return t;for(let o of bt(t))if(r.get(e.printCandidate({...t,value:o}))===n)return t.value=o,t;return t}function Lr(e,t){let r=ke(t);for(let[n]of r)if(n.kind==="functional"&&n.root==="data"&&n.value?.kind==="arbitrary"&&!n.value.value.includes("="))n.value={kind:"named",value:n.value.value};else if(n.kind==="functional"&&n.root==="aria"&&n.value?.kind==="arbitrary"&&(n.value.value.endsWith("=true")||n.value.value.endsWith('="true"')||n.value.value.endsWith("='true'"))){let[o,i]=C(n.value.value,"=");if(o[o.length-1]==="~"||o[o.length-1]==="|"||o[o.length-1]==="^"||o[o.length-1]==="$"||o[o.length-1]==="*")continue;n.value={kind:"named",value:n.value.value.slice(0,n.value.value.indexOf("="))}}else n.kind==="functional"&&n.root==="supports"&&n.value?.kind==="arbitrary"&&/^[a-z-][a-z0-9-]*$/i.test(n.value.value)&&(n.value={kind:"named",value:n.value.value});return t}function*bt(e,t=e.value?.value??"",r=new Set){if(r.has(t))return;if(r.add(t),yield{kind:"named",value:t,fraction:null},t.endsWith("%")&&ee(t.slice(0,-1))&&(yield{kind:"named",value:t.slice(0,-1),fraction:null}),t.includes("/")){let[i,a]=t.split("/");T(i)&&T(a)&&(yield{kind:"named",value:i,fraction:`${i}/${a}`})}let n=new Set;for(let i of t.matchAll(/(\d+\/\d+)|(\d+\.?\d+)/g))n.add(i[0].trim());let o=Array.from(n).sort((i,a)=>i.length-a.length);for(let i of o)yield*bt(e,i,r)}function wt(e){return!e.some(t=>t.kind==="separator"&&t.value.trim()===",")}function ve(e){let t=e.value.trim();return e.kind==="selector"&&t[0]==="["&&t[t.length-1]==="]"}function Ir(e,t){let r=[t],n=ge.get(e),o=ke(t);for(let[i,a]of o)if(i.kind==="compound"&&(i.root==="has"||i.root==="not"||i.root==="in")&&i.modifier!==null&&"modifier"in i.variant&&(i.variant.modifier=i.modifier,i.modifier=null),i.kind==="arbitrary"){if(i.relative)continue;let l=le(i.selector.trim());if(!wt(l))continue;if(a===null&&l.length===3&&l[0].kind==="selector"&&l[0].value==="&"&&l[1].kind==="combinator"&&l[1].value.trim()===">"&&l[2].kind==="selector"&&l[2].value==="*"){M(i,e.parseVariant("*"));continue}if(a===null&&l.length===3&&l[0].kind==="selector"&&l[0].value==="&"&&l[1].kind==="combinator"&&l[1].value.trim()===""&&l[2].kind==="selector"&&l[2].value==="*"){M(i,e.parseVariant("**"));continue}if(a===null&&l.length===3&&l[1].kind==="combinator"&&l[1].value.trim()===""&&l[2].kind==="selector"&&l[2].value==="&"){l.pop(),l.pop(),M(i,e.parseVariant(`in-[${q(l)}]`));continue}if(a===null&&l[0].kind==="selector"&&(l[0].value==="@media"||l[0].value==="@supports")){let s=n.get(e.printVariant(i)),p=x(q(l)),m=!1;if(N(p,(d,{replaceWith:h})=>{d.kind==="word"&&d.value==="not"&&(m=!0,h([]))}),p=x($(p)),N(p,d=>{d.kind==="separator"&&d.value!==" "&&d.value.trim()===""&&(d.value=" ")}),m){let d=e.parseVariant(`not-[${$(p)}]`);if(d===null)continue;let h=n.get(e.printVariant(d));if(s===h){M(i,d);continue}}}let u=null;a===null&&l.length===3&&l[0].kind==="selector"&&l[0].value.trim()==="&"&&l[1].kind==="combinator"&&l[1].value.trim()===">"&&l[2].kind==="selector"&&ve(l[2])&&(l=[l[2]],u=e.parseVariant("*")),a===null&&l.length===3&&l[0].kind==="selector"&&l[0].value.trim()==="&"&&l[1].kind==="combinator"&&l[1].value.trim()===""&&l[2].kind==="selector"&&ve(l[2])&&(l=[l[2]],u=e.parseVariant("**"));let f=l.filter(s=>!(s.kind==="selector"&&s.value.trim()==="&"));if(f.length!==1)continue;let c=f[0];if(c.kind==="function"&&c.value===":is"){if(!wt(c.nodes)||c.nodes.length!==1||!ve(c.nodes[0]))continue;c=c.nodes[0]}if(c.kind==="function"&&c.value[0]===":"||c.kind==="selector"&&c.value[0]===":"){let s=c,p=!1;if(s.kind==="function"&&s.value===":not"){if(p=!0,s.nodes.length!==1||s.nodes[0].kind!=="selector"&&s.nodes[0].kind!=="function"||s.nodes[0].value[0]!==":")continue;s=s.nodes[0]}let m=(h=>{if(h===":nth-child"&&s.kind==="function"&&s.nodes.length===1&&s.nodes[0].kind==="value"&&s.nodes[0].value==="odd")return p?(p=!1,"even"):"odd";if(h===":nth-child"&&s.kind==="function"&&s.nodes.length===1&&s.nodes[0].kind==="value"&&s.nodes[0].value==="even")return p?(p=!1,"odd"):"even";for(let[V,S]of[[":nth-child","nth"],[":nth-last-child","nth-last"],[":nth-of-type","nth-of-type"],[":nth-last-of-type","nth-of-last-type"]])if(h===V&&s.kind==="function"&&s.nodes.length===1)return s.nodes.length===1&&s.nodes[0].kind==="value"&&T(s.nodes[0].value)?`${S}-${s.nodes[0].value}`:`${S}-[${q(s.nodes)}]`;if(p){let V=n.get(e.printVariant(i)),S=n.get(`not-[${h}]`);if(V===S)return`[&${h}]`}return null})(s.value);if(m===null)continue;p&&(m=`not-${m}`);let d=e.parseVariant(m);if(d===null)continue;M(i,d)}else if(ve(c)){let s=ot(c.value);if(s===null)continue;if(s.attribute.startsWith("data-")){let p=s.attribute.slice(5);M(i,{kind:"functional",root:"data",modifier:null,value:s.value===null?{kind:"named",value:p}:{kind:"arbitrary",value:`${p}${s.operator}${s.quote??""}${s.value}${s.quote??""}${s.sensitivity?` ${s.sensitivity}`:""}`}})}else if(s.attribute.startsWith("aria-")){let p=s.attribute.slice(5);M(i,{kind:"functional",root:"aria",modifier:null,value:s.value===null?{kind:"arbitrary",value:p}:s.operator==="="&&s.value==="true"&&s.sensitivity===null?{kind:"named",value:p}:{kind:"arbitrary",value:`${s.attribute}${s.operator}${s.quote??""}${s.value}${s.quote??""}${s.sensitivity?` ${s.sensitivity}`:""}`}})}}if(u)return[u,i]}return r}function Kr(e,t){if(t.kind!=="functional"&&t.kind!=="arbitrary"||t.modifier===null)return t;let r=G.get(e),n=r.get(e.printCandidate(t)),o=t.modifier;if(n===r.get(e.printCandidate({...t,modifier:null})))return t.modifier=null,t;{let i={kind:"named",value:o.value.endsWith("%")?o.value.slice(0,-1):o.value,fraction:null};if(n===r.get(e.printCandidate({...t,modifier:i})))return t.modifier=i,t}{let i={kind:"named",value:`${parseFloat(o.value)*100}`,fraction:null};if(n===r.get(e.printCandidate({...t,modifier:i})))return t.modifier=i,t}return t}function fe(e,t,{onInvalidCandidate:r,respectImportant:n}={}){let o=new Map,i=[],a=new Map;for(let f of e){if(t.invalidCandidates.has(f)){r?.(f);continue}let c=t.parseCandidate(f);if(c.length===0){r?.(f);continue}a.set(f,c)}let l=0;(n??!0)&&(l|=1);let u=t.getVariantOrder();for(let[f,c]of a){let s=!1;for(let p of c){let m=t.compileAstNodes(p,l);if(m.length!==0){s=!0;for(let{node:d,propertySort:h}of m){let V=0n;for(let S of p.variants)V|=1n<<BigInt(u.get(S));o.set(d,{properties:h,variants:V,candidate:f}),i.push(d)}}}s||r?.(f)}return i.sort((f,c)=>{let s=o.get(f),p=o.get(c);if(s.variants-p.variants!==0n)return Number(s.variants-p.variants);let m=0;for(;m<s.properties.order.length&&m<p.properties.order.length&&s.properties.order[m]===p.properties.order[m];)m+=1;return(s.properties.order[m]??1/0)-(p.properties.order[m]??1/0)||p.properties.count-s.properties.count||$e(s.candidate,p.candidate)}),{astNodes:i,nodeSorting:o}}function se(e,t){let r=0,n=D("&",e),o=new Set,i=new g(()=>new Set),a=new g(()=>new Set);A([n],(s,{parent:p,path:m})=>{if(s.kind==="at-rule"){if(s.name==="@keyframes")return A(s.nodes,d=>{if(d.kind==="at-rule"&&d.name==="@apply")throw new Error("You cannot use `@apply` inside `@keyframes`.")}),1;if(s.name==="@utility"){let d=s.params.replace(/-\*$/,"");a.get(d).add(s),A(s.nodes,h=>{if(!(h.kind!=="at-rule"||h.name!=="@apply")){o.add(s);for(let V of At(h,t))i.get(s).add(V)}});return}if(s.name==="@apply"){if(p===null)return;r|=1,o.add(p);for(let d of At(s,t))for(let h of m)h!==s&&o.has(h)&&i.get(h).add(d)}}});let l=new Set,u=[],f=new Set;function c(s,p=[]){if(!l.has(s)){if(f.has(s)){let m=p[(p.indexOf(s)+1)%p.length];throw s.kind==="at-rule"&&s.name==="@utility"&&m.kind==="at-rule"&&m.name==="@utility"&&A(s.nodes,d=>{if(d.kind!=="at-rule"||d.name!=="@apply")return;let h=d.params.split(/\s+/g);for(let V of h)for(let S of t.parseCandidate(V))switch(S.kind){case"arbitrary":break;case"static":case"functional":if(m.params.replace(/-\*$/,"")===S.root)throw new Error(`You cannot \`@apply\` the \`${V}\` utility here because it creates a circular dependency.`);break;default:}}),new Error(`Circular dependency detected:
7
+
8
+ ${O([s])}
9
+ Relies on:
10
+
11
+ ${O([m])}`)}f.add(s);for(let m of i.get(s))for(let d of a.get(m))p.push(s),c(d,p),p.pop();l.add(s),f.delete(s),u.push(s)}}for(let s of o)c(s);for(let s of u)"nodes"in s&&A(s.nodes,(p,{replaceWith:m})=>{if(p.kind!=="at-rule"||p.name!=="@apply")return;let d=p.params.split(/(\s+)/g),h={},V=0;for(let[S,b]of d.entries())S%2===0&&(h[b]=V),V+=b.length;{let S=Object.keys(h),b=fe(S,t,{respectImportant:!1,onInvalidCandidate:k=>{if(t.theme.prefix&&!k.startsWith(t.theme.prefix))throw new Error(`Cannot apply unprefixed utility class \`${k}\`. Did you mean \`${t.theme.prefix}:${k}\`?`);if(t.invalidCandidates.has(k))throw new Error(`Cannot apply utility class \`${k}\` because it has been explicitly disabled: https://tailwindcss.com/docs/detecting-classes-in-source-files#explicitly-excluding-classes`);let y=C(k,":");if(y.length>1){let R=y.pop();if(t.candidatesToCss([R])[0]){let Q=t.candidatesToCss(y.map(J=>`${J}:[--tw-variant-check:1]`)),W=y.filter((J,xe)=>Q[xe]===null);if(W.length>0){if(W.length===1)throw new Error(`Cannot apply utility class \`${k}\` because the ${W.map(J=>`\`${J}\``)} variant does not exist.`);{let J=new Intl.ListFormat("en",{style:"long",type:"conjunction"});throw new Error(`Cannot apply utility class \`${k}\` because the ${J.format(W.map(xe=>`\`${xe}\``))} variants do not exist.`)}}}}throw t.theme.size===0?new Error(`Cannot apply unknown utility class \`${k}\`. Are you using CSS modules or similar and missing \`@reference\`? https://tailwindcss.com/docs/functions-and-directives#reference-directive`):new Error(`Cannot apply unknown utility class \`${k}\``)}}),w=p.src,re=b.astNodes.map(k=>{let y=b.nodeSorting.get(k)?.candidate,R=y?h[y]:void 0;if(k=L(k),!w||!y||R===void 0)return A([k],W=>{W.src=w}),k;let Q=[w[0],w[1],w[2]];return Q[1]+=7+R,Q[2]=Q[1]+y.length,A([k],W=>{W.src=Q}),k}),j=[];for(let k of re)if(k.kind==="rule")for(let y of k.nodes)j.push(y);else j.push(k);m(j)}});return r}function*At(e,t){for(let r of e.params.split(/\s+/g))for(let n of t.parseCandidate(r))switch(n.kind){case"arbitrary":break;case"static":case"functional":yield n.root;break;default:}}var Br=32;var qr=40;function Ct(e,t=[]){let r=e,n="";for(let o=5;o<e.length;o++){let i=e.charCodeAt(o);if(i===Br||i===qr){r=e.slice(0,o),n=e.slice(o);break}}return E(r.trim(),n.trim(),t)}var Oe={inherit:"inherit",current:"currentcolor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"oklch(98.4% 0.003 247.858)",100:"oklch(96.8% 0.007 247.896)",200:"oklch(92.9% 0.013 255.508)",300:"oklch(86.9% 0.022 252.894)",400:"oklch(70.4% 0.04 256.788)",500:"oklch(55.4% 0.046 257.417)",600:"oklch(44.6% 0.043 257.281)",700:"oklch(37.2% 0.044 257.287)",800:"oklch(27.9% 0.041 260.031)",900:"oklch(20.8% 0.042 265.755)",950:"oklch(12.9% 0.042 264.695)"},gray:{50:"oklch(98.5% 0.002 247.839)",100:"oklch(96.7% 0.003 264.542)",200:"oklch(92.8% 0.006 264.531)",300:"oklch(87.2% 0.01 258.338)",400:"oklch(70.7% 0.022 261.325)",500:"oklch(55.1% 0.027 264.364)",600:"oklch(44.6% 0.03 256.802)",700:"oklch(37.3% 0.034 259.733)",800:"oklch(27.8% 0.033 256.848)",900:"oklch(21% 0.034 264.665)",950:"oklch(13% 0.028 261.692)"},zinc:{50:"oklch(98.5% 0 0)",100:"oklch(96.7% 0.001 286.375)",200:"oklch(92% 0.004 286.32)",300:"oklch(87.1% 0.006 286.286)",400:"oklch(70.5% 0.015 286.067)",500:"oklch(55.2% 0.016 285.938)",600:"oklch(44.2% 0.017 285.786)",700:"oklch(37% 0.013 285.805)",800:"oklch(27.4% 0.006 286.033)",900:"oklch(21% 0.006 285.885)",950:"oklch(14.1% 0.005 285.823)"},neutral:{50:"oklch(98.5% 0 0)",100:"oklch(97% 0 0)",200:"oklch(92.2% 0 0)",300:"oklch(87% 0 0)",400:"oklch(70.8% 0 0)",500:"oklch(55.6% 0 0)",600:"oklch(43.9% 0 0)",700:"oklch(37.1% 0 0)",800:"oklch(26.9% 0 0)",900:"oklch(20.5% 0 0)",950:"oklch(14.5% 0 0)"},stone:{50:"oklch(98.5% 0.001 106.423)",100:"oklch(97% 0.001 106.424)",200:"oklch(92.3% 0.003 48.717)",300:"oklch(86.9% 0.005 56.366)",400:"oklch(70.9% 0.01 56.259)",500:"oklch(55.3% 0.013 58.071)",600:"oklch(44.4% 0.011 73.639)",700:"oklch(37.4% 0.01 67.558)",800:"oklch(26.8% 0.007 34.298)",900:"oklch(21.6% 0.006 56.043)",950:"oklch(14.7% 0.004 49.25)"},red:{50:"oklch(97.1% 0.013 17.38)",100:"oklch(93.6% 0.032 17.717)",200:"oklch(88.5% 0.062 18.334)",300:"oklch(80.8% 0.114 19.571)",400:"oklch(70.4% 0.191 22.216)",500:"oklch(63.7% 0.237 25.331)",600:"oklch(57.7% 0.245 27.325)",700:"oklch(50.5% 0.213 27.518)",800:"oklch(44.4% 0.177 26.899)",900:"oklch(39.6% 0.141 25.723)",950:"oklch(25.8% 0.092 26.042)"},orange:{50:"oklch(98% 0.016 73.684)",100:"oklch(95.4% 0.038 75.164)",200:"oklch(90.1% 0.076 70.697)",300:"oklch(83.7% 0.128 66.29)",400:"oklch(75% 0.183 55.934)",500:"oklch(70.5% 0.213 47.604)",600:"oklch(64.6% 0.222 41.116)",700:"oklch(55.3% 0.195 38.402)",800:"oklch(47% 0.157 37.304)",900:"oklch(40.8% 0.123 38.172)",950:"oklch(26.6% 0.079 36.259)"},amber:{50:"oklch(98.7% 0.022 95.277)",100:"oklch(96.2% 0.059 95.617)",200:"oklch(92.4% 0.12 95.746)",300:"oklch(87.9% 0.169 91.605)",400:"oklch(82.8% 0.189 84.429)",500:"oklch(76.9% 0.188 70.08)",600:"oklch(66.6% 0.179 58.318)",700:"oklch(55.5% 0.163 48.998)",800:"oklch(47.3% 0.137 46.201)",900:"oklch(41.4% 0.112 45.904)",950:"oklch(27.9% 0.077 45.635)"},yellow:{50:"oklch(98.7% 0.026 102.212)",100:"oklch(97.3% 0.071 103.193)",200:"oklch(94.5% 0.129 101.54)",300:"oklch(90.5% 0.182 98.111)",400:"oklch(85.2% 0.199 91.936)",500:"oklch(79.5% 0.184 86.047)",600:"oklch(68.1% 0.162 75.834)",700:"oklch(55.4% 0.135 66.442)",800:"oklch(47.6% 0.114 61.907)",900:"oklch(42.1% 0.095 57.708)",950:"oklch(28.6% 0.066 53.813)"},lime:{50:"oklch(98.6% 0.031 120.757)",100:"oklch(96.7% 0.067 122.328)",200:"oklch(93.8% 0.127 124.321)",300:"oklch(89.7% 0.196 126.665)",400:"oklch(84.1% 0.238 128.85)",500:"oklch(76.8% 0.233 130.85)",600:"oklch(64.8% 0.2 131.684)",700:"oklch(53.2% 0.157 131.589)",800:"oklch(45.3% 0.124 130.933)",900:"oklch(40.5% 0.101 131.063)",950:"oklch(27.4% 0.072 132.109)"},green:{50:"oklch(98.2% 0.018 155.826)",100:"oklch(96.2% 0.044 156.743)",200:"oklch(92.5% 0.084 155.995)",300:"oklch(87.1% 0.15 154.449)",400:"oklch(79.2% 0.209 151.711)",500:"oklch(72.3% 0.219 149.579)",600:"oklch(62.7% 0.194 149.214)",700:"oklch(52.7% 0.154 150.069)",800:"oklch(44.8% 0.119 151.328)",900:"oklch(39.3% 0.095 152.535)",950:"oklch(26.6% 0.065 152.934)"},emerald:{50:"oklch(97.9% 0.021 166.113)",100:"oklch(95% 0.052 163.051)",200:"oklch(90.5% 0.093 164.15)",300:"oklch(84.5% 0.143 164.978)",400:"oklch(76.5% 0.177 163.223)",500:"oklch(69.6% 0.17 162.48)",600:"oklch(59.6% 0.145 163.225)",700:"oklch(50.8% 0.118 165.612)",800:"oklch(43.2% 0.095 166.913)",900:"oklch(37.8% 0.077 168.94)",950:"oklch(26.2% 0.051 172.552)"},teal:{50:"oklch(98.4% 0.014 180.72)",100:"oklch(95.3% 0.051 180.801)",200:"oklch(91% 0.096 180.426)",300:"oklch(85.5% 0.138 181.071)",400:"oklch(77.7% 0.152 181.912)",500:"oklch(70.4% 0.14 182.503)",600:"oklch(60% 0.118 184.704)",700:"oklch(51.1% 0.096 186.391)",800:"oklch(43.7% 0.078 188.216)",900:"oklch(38.6% 0.063 188.416)",950:"oklch(27.7% 0.046 192.524)"},cyan:{50:"oklch(98.4% 0.019 200.873)",100:"oklch(95.6% 0.045 203.388)",200:"oklch(91.7% 0.08 205.041)",300:"oklch(86.5% 0.127 207.078)",400:"oklch(78.9% 0.154 211.53)",500:"oklch(71.5% 0.143 215.221)",600:"oklch(60.9% 0.126 221.723)",700:"oklch(52% 0.105 223.128)",800:"oklch(45% 0.085 224.283)",900:"oklch(39.8% 0.07 227.392)",950:"oklch(30.2% 0.056 229.695)"},sky:{50:"oklch(97.7% 0.013 236.62)",100:"oklch(95.1% 0.026 236.824)",200:"oklch(90.1% 0.058 230.902)",300:"oklch(82.8% 0.111 230.318)",400:"oklch(74.6% 0.16 232.661)",500:"oklch(68.5% 0.169 237.323)",600:"oklch(58.8% 0.158 241.966)",700:"oklch(50% 0.134 242.749)",800:"oklch(44.3% 0.11 240.79)",900:"oklch(39.1% 0.09 240.876)",950:"oklch(29.3% 0.066 243.157)"},blue:{50:"oklch(97% 0.014 254.604)",100:"oklch(93.2% 0.032 255.585)",200:"oklch(88.2% 0.059 254.128)",300:"oklch(80.9% 0.105 251.813)",400:"oklch(70.7% 0.165 254.624)",500:"oklch(62.3% 0.214 259.815)",600:"oklch(54.6% 0.245 262.881)",700:"oklch(48.8% 0.243 264.376)",800:"oklch(42.4% 0.199 265.638)",900:"oklch(37.9% 0.146 265.522)",950:"oklch(28.2% 0.091 267.935)"},indigo:{50:"oklch(96.2% 0.018 272.314)",100:"oklch(93% 0.034 272.788)",200:"oklch(87% 0.065 274.039)",300:"oklch(78.5% 0.115 274.713)",400:"oklch(67.3% 0.182 276.935)",500:"oklch(58.5% 0.233 277.117)",600:"oklch(51.1% 0.262 276.966)",700:"oklch(45.7% 0.24 277.023)",800:"oklch(39.8% 0.195 277.366)",900:"oklch(35.9% 0.144 278.697)",950:"oklch(25.7% 0.09 281.288)"},violet:{50:"oklch(96.9% 0.016 293.756)",100:"oklch(94.3% 0.029 294.588)",200:"oklch(89.4% 0.057 293.283)",300:"oklch(81.1% 0.111 293.571)",400:"oklch(70.2% 0.183 293.541)",500:"oklch(60.6% 0.25 292.717)",600:"oklch(54.1% 0.281 293.009)",700:"oklch(49.1% 0.27 292.581)",800:"oklch(43.2% 0.232 292.759)",900:"oklch(38% 0.189 293.745)",950:"oklch(28.3% 0.141 291.089)"},purple:{50:"oklch(97.7% 0.014 308.299)",100:"oklch(94.6% 0.033 307.174)",200:"oklch(90.2% 0.063 306.703)",300:"oklch(82.7% 0.119 306.383)",400:"oklch(71.4% 0.203 305.504)",500:"oklch(62.7% 0.265 303.9)",600:"oklch(55.8% 0.288 302.321)",700:"oklch(49.6% 0.265 301.924)",800:"oklch(43.8% 0.218 303.724)",900:"oklch(38.1% 0.176 304.987)",950:"oklch(29.1% 0.149 302.717)"},fuchsia:{50:"oklch(97.7% 0.017 320.058)",100:"oklch(95.2% 0.037 318.852)",200:"oklch(90.3% 0.076 319.62)",300:"oklch(83.3% 0.145 321.434)",400:"oklch(74% 0.238 322.16)",500:"oklch(66.7% 0.295 322.15)",600:"oklch(59.1% 0.293 322.896)",700:"oklch(51.8% 0.253 323.949)",800:"oklch(45.2% 0.211 324.591)",900:"oklch(40.1% 0.17 325.612)",950:"oklch(29.3% 0.136 325.661)"},pink:{50:"oklch(97.1% 0.014 343.198)",100:"oklch(94.8% 0.028 342.258)",200:"oklch(89.9% 0.061 343.231)",300:"oklch(82.3% 0.12 346.018)",400:"oklch(71.8% 0.202 349.761)",500:"oklch(65.6% 0.241 354.308)",600:"oklch(59.2% 0.249 0.584)",700:"oklch(52.5% 0.223 3.958)",800:"oklch(45.9% 0.187 3.815)",900:"oklch(40.8% 0.153 2.432)",950:"oklch(28.4% 0.109 3.907)"},rose:{50:"oklch(96.9% 0.015 12.422)",100:"oklch(94.1% 0.03 12.58)",200:"oklch(89.2% 0.058 10.001)",300:"oklch(81% 0.117 11.638)",400:"oklch(71.2% 0.194 13.428)",500:"oklch(64.5% 0.246 16.439)",600:"oklch(58.6% 0.253 17.585)",700:"oklch(51.4% 0.222 16.935)",800:"oklch(45.5% 0.188 13.697)",900:"oklch(41% 0.159 10.272)",950:"oklch(27.1% 0.105 12.094)"}};function Y(e){return{__BARE_VALUE__:e}}var _=Y(e=>{if(T(e.value))return e.value}),P=Y(e=>{if(T(e.value))return`${e.value}%`}),H=Y(e=>{if(T(e.value))return`${e.value}px`}),$t=Y(e=>{if(T(e.value))return`${e.value}ms`}),ye=Y(e=>{if(T(e.value))return`${e.value}deg`}),Yr=Y(e=>{if(e.fraction===null)return;let[t,r]=C(e.fraction,"/");if(!(!T(t)||!T(r)))return e.fraction}),Nt=Y(e=>{if(T(Number(e.value)))return`repeat(${e.value}, minmax(0, 1fr))`}),Jr={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",...Yr},backdropBlur:({theme:e})=>e("blur"),backdropBrightness:({theme:e})=>({...e("brightness"),...P}),backdropContrast:({theme:e})=>({...e("contrast"),...P}),backdropGrayscale:({theme:e})=>({...e("grayscale"),...P}),backdropHueRotate:({theme:e})=>({...e("hueRotate"),...ye}),backdropInvert:({theme:e})=>({...e("invert"),...P}),backdropOpacity:({theme:e})=>({...e("opacity"),...P}),backdropSaturate:({theme:e})=>({...e("saturate"),...P}),backdropSepia:({theme:e})=>({...e("sepia"),...P}),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",...H},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",...P},caretColor:({theme:e})=>e("colors"),colors:()=>({...Oe}),columns:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12","3xs":"16rem","2xs":"18rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",..._},container:{},content:{none:"none"},contrast:{0:"0",50:".5",75:".75",100:"1",125:"1.25",150:"1.5",200:"2",...P},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"),...H}),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",..._},flexShrink:{0:"0",DEFAULT:"1",..._},fontFamily:{sans:["ui-sans-serif","system-ui","sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"','"Noto Color Emoji"'],serif:["ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"],mono:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"]},fontSize:{xs:["0.75rem",{lineHeight:"1rem"}],sm:["0.875rem",{lineHeight:"1.25rem"}],base:["1rem",{lineHeight:"1.5rem"}],lg:["1.125rem",{lineHeight:"1.75rem"}],xl:["1.25rem",{lineHeight:"1.75rem"}],"2xl":["1.5rem",{lineHeight:"2rem"}],"3xl":["1.875rem",{lineHeight:"2.25rem"}],"4xl":["2.25rem",{lineHeight:"2.5rem"}],"5xl":["3rem",{lineHeight:"1"}],"6xl":["3.75rem",{lineHeight:"1"}],"7xl":["4.5rem",{lineHeight:"1"}],"8xl":["6rem",{lineHeight:"1"}],"9xl":["8rem",{lineHeight:"1"}]},fontWeight:{thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},gap:({theme:e})=>e("spacing"),gradientColorStops:({theme:e})=>e("colors"),gradientColorStopPositions:{"0%":"0%","5%":"5%","10%":"10%","15%":"15%","20%":"20%","25%":"25%","30%":"30%","35%":"35%","40%":"40%","45%":"45%","50%":"50%","55%":"55%","60%":"60%","65%":"65%","70%":"70%","75%":"75%","80%":"80%","85%":"85%","90%":"90%","95%":"95%","100%":"100%",...P},grayscale:{0:"0",DEFAULT:"100%",...P},gridAutoColumns:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridAutoRows:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridColumn:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridColumnEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",..._},gridColumnStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",..._},gridRow:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridRowEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",..._},gridRowStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",..._},gridTemplateColumns:{none:"none",subgrid:"subgrid",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))",...Nt},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))",...Nt},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",...ye},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%",...P},keyframes:{spin:{to:{transform:"rotate(360deg)"}},ping:{"75%, 100%":{transform:"scale(2)",opacity:"0"}},pulse:{"50%":{opacity:".5"}},bounce:{"0%, 100%":{transform:"translateY(-25%)",animationTimingFunction:"cubic-bezier(0.8,0,1,1)"},"50%":{transform:"none",animationTimingFunction:"cubic-bezier(0,0,0.2,1)"}}},letterSpacing:{tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeight:{none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},listStyleType:{none:"none",disc:"disc",decimal:"decimal"},listStyleImage:{none:"none"},margin:({theme:e})=>({auto:"auto",...e("spacing")}),lineClamp:{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",..._},maxHeight:({theme:e})=>({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",...P},order:{first:"-9999",last:"9999",none:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",..._},outlineColor:({theme:e})=>e("colors"),outlineOffset:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...H},outlineWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...H},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",...H},ringOpacity:({theme:e})=>({DEFAULT:"0.5",...e("opacity")}),ringWidth:{DEFAULT:"3px",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...H},rotate:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",45:"45deg",90:"90deg",180:"180deg",...ye},saturate:{0:"0",50:".5",100:"1",150:"1.5",200:"2",...P},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",...P},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%",...P},skew:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",...ye},space:({theme:e})=>e("spacing"),spacing:{px:"1px",0:"0px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",11:"2.75rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},stroke:({theme:e})=>({none:"none",...e("colors")}),strokeWidth:{0:"0",1:"1",2:"2",..._},supports:{},data:{},textColor:({theme:e})=>e("colors"),textDecorationColor:({theme:e})=>e("colors"),textDecorationThickness:{auto:"auto","from-font":"from-font",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...H},textIndent:({theme:e})=>e("spacing"),textOpacity:({theme:e})=>e("opacity"),textUnderlineOffset:{auto:"auto",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...H},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",...$t},transitionDuration:{DEFAULT:"150ms",0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms",...$t},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",..._}};function _e(e){let t=[0];for(let o=0;o<e.length;o++)e.charCodeAt(o)===10&&t.push(o+1);function r(o){let i=0,a=t.length;for(;a>0;){let u=(a|0)>>1,f=i+u;t[f]<=o?(i=f+1,a=a-u-1):a=u}i-=1;let l=o-t[i];return{line:i+1,column:l}}function n({line:o,column:i}){o-=1,o=Math.min(Math.max(o,0),t.length-1);let a=t[o],l=t[o+1]??a;return Math.min(Math.max(a+i,0),l)}return{find:r,findOffset:n}}var Xr=64;function z(e,t=[]){return{kind:"rule",selector:e,nodes:t}}function E(e,t="",r=[]){return{kind:"at-rule",name:e,params:t,nodes:r}}function D(e,t=[]){return e.charCodeAt(0)===Xr?Ct(e,t):z(e,t)}function U(e,t,r=!1){return{kind:"declaration",property:e,value:t,important:r}}function we(e){return{kind:"comment",value:e}}function L(e){switch(e.kind){case"rule":return{kind:e.kind,selector:e.selector,nodes:e.nodes.map(L),src:e.src,dst:e.dst};case"at-rule":return{kind:e.kind,name:e.name,params:e.params,nodes:e.nodes.map(L),src:e.src,dst:e.dst};case"at-root":return{kind:e.kind,nodes:e.nodes.map(L),src:e.src,dst:e.dst};case"context":return{kind:e.kind,context:{...e.context},nodes:e.nodes.map(L),src:e.src,dst:e.dst};case"declaration":return{kind:e.kind,property:e.property,value:e.value,important:e.important,src:e.src,dst:e.dst};case"comment":return{kind:e.kind,value:e.value,src:e.src,dst:e.dst};default:throw new Error(`Unknown node kind: ${e.kind}`)}}function A(e,t,r=[],n={}){for(let o=0;o<e.length;o++){let i=e[o],a=r[r.length-1]??null;if(i.kind==="context"){if(A(i.nodes,t,r,{...n,...i.context})===2)return 2;continue}r.push(i);let l=!1,u=0,f=t(i,{parent:a,context:n,path:r,replaceWith(c){l||(l=!0,Array.isArray(c)?c.length===0?(e.splice(o,1),u=0):c.length===1?(e[o]=c[0],u=1):(e.splice(o,1,...c),u=c.length):(e[o]=c,u=1))}})??0;if(r.pop(),l){f===0?o--:o+=u-1;continue}if(f===2)return 2;if(f!==1&&"nodes"in i){r.push(i);let c=A(i.nodes,t,r,n);if(r.pop(),c===2)return 2}}}function O(e,t){let r=0,n={file:null,code:""};function o(a,l=0){let u="",f=" ".repeat(l);if(a.kind==="declaration"){if(u+=`${f}${a.property}: ${a.value}${a.important?" !important":""};
12
+ `,t){r+=f.length;let c=r;r+=a.property.length,r+=2,r+=a.value?.length??0,a.important&&(r+=11);let s=r;r+=2,a.dst=[n,c,s]}}else if(a.kind==="rule"){if(u+=`${f}${a.selector} {
13
+ `,t){r+=f.length;let c=r;r+=a.selector.length,r+=1;let s=r;a.dst=[n,c,s],r+=2}for(let c of a.nodes)u+=o(c,l+1);u+=`${f}}
14
+ `,t&&(r+=f.length,r+=2)}else if(a.kind==="at-rule"){if(a.nodes.length===0){let c=`${f}${a.name} ${a.params};
15
+ `;if(t){r+=f.length;let s=r;r+=a.name.length,r+=1,r+=a.params.length;let p=r;r+=2,a.dst=[n,s,p]}return c}if(u+=`${f}${a.name}${a.params?` ${a.params} `:" "}{
16
+ `,t){r+=f.length;let c=r;r+=a.name.length,a.params&&(r+=1,r+=a.params.length),r+=1;let s=r;a.dst=[n,c,s],r+=2}for(let c of a.nodes)u+=o(c,l+1);u+=`${f}}
17
+ `,t&&(r+=f.length,r+=2)}else if(a.kind==="comment"){if(u+=`${f}/*${a.value}*/
18
+ `,t){r+=f.length;let c=r;r+=2+a.value.length+2;let s=r;a.dst=[n,c,s],r+=1}}else if(a.kind==="context"||a.kind==="at-root")return"";return u}let i="";for(let a of e)i+=o(a,0);return n.code=i,i}var ei=33;function Tt(e,t,r){let n=new g(f=>new e.Input(f.code,{map:r?.input.map,from:f.file??void 0})),o=new g(f=>_e(f.code)),i=e.root();i.source=r;function a(f){if(!f||!f[0])return;let c=o.get(f[0]),s=c.find(f[1]),p=c.find(f[2]);return{input:n.get(f[0]),start:{line:s.line,column:s.column+1,offset:f[1]},end:{line:p.line,column:p.column+1,offset:f[2]}}}function l(f,c){let s=a(c);s?f.source=s:delete f.source}function u(f,c){if(f.kind==="declaration"){let s=e.decl({prop:f.property,value:f.value??"",important:f.important});l(s,f.src),c.append(s)}else if(f.kind==="rule"){let s=e.rule({selector:f.selector});l(s,f.src),s.raws.semicolon=!0,c.append(s);for(let p of f.nodes)u(p,s)}else if(f.kind==="at-rule"){let s=e.atRule({name:f.name.slice(1),params:f.params});l(s,f.src),s.raws.semicolon=!0,c.append(s);for(let p of f.nodes)u(p,s)}else if(f.kind==="comment"){let s=e.comment({text:f.value});s.raws.left="",s.raws.right="",l(s,f.src),c.append(s)}else f.kind==="at-root"||f.kind}for(let f of t)u(f,i);return i}function Et(e){let t=new g(i=>({file:i.file??i.id??null,code:i.css}));function r(i){let a=i.source;if(!a)return;let l=a.input;if(l&&a.start!==void 0&&a.end!==void 0)return[t.get(l),a.start.offset,a.end.offset]}function n(i,a){if(i.type==="decl"){let l=U(i.prop,i.value,i.important);l.src=r(i),a.push(l)}else if(i.type==="rule"){let l=D(i.selector);l.src=r(i),i.each(u=>n(u,l.nodes)),a.push(l)}else if(i.type==="atrule"){let l=E(`@${i.name}`,i.params);l.src=r(i),i.each(u=>n(u,l.nodes)),a.push(l)}else if(i.type==="comment"){if(i.text.charCodeAt(0)!==ei)return;let l=we(i.text);l.src=r(i),a.push(l)}}let o=[];return e.each(i=>n(i,o)),o}import{normalizePath as Pt}from"@tailwindcss/node";import be from"path";var De="'",Ue='"';function Le(){let e=new WeakSet;function t(r){let n=r.root().source?.input.file;if(!n)return;let o=r.source?.input.file;if(!o||e.has(r))return;let i=r.params[0],a=i[0]===Ue&&i[i.length-1]===Ue?Ue:i[0]===De&&i[i.length-1]===De?De:null;if(!a)return;let l=r.params.slice(1,-1),u="";if(l.startsWith("!")&&(l=l.slice(1),u="!"),!l.startsWith("./")&&!l.startsWith("../"))return;let f=be.posix.join(Pt(be.dirname(o)),l),c=be.posix.dirname(Pt(n)),s=be.posix.relative(c,f);s.startsWith(".")||(s="./"+s),r.params=a+u+s+a,e.add(r)}return{postcssPlugin:"tailwindcss-postcss-fix-relative-paths",Once(r){r.walkAtRules(/source|plugin|config/,t)}}}var v=ii.DEBUG,ze=new ti({maxSize:50});function ui(e,t,r){let n=`${t}:${r.base??""}:${JSON.stringify(r.optimize)}`;if(ze.has(n))return ze.get(n);let o={mtimes:new Map,compiler:null,scanner:null,tailwindCssAst:[],cachedPostCssAst:e.root(),optimizedPostCssAst:e.root(),fullRebuildPaths:[]};return ze.set(n,o),o}function fi(e={}){let t=e.base??process.cwd(),r=e.optimize??process.env.NODE_ENV==="production",n=e.transformAssetUrls??!0;return{postcssPlugin:"@tailwindcss/postcss",plugins:[Le(),{postcssPlugin:"tailwindcss",async Once(o,{result:i,postcss:a}){var d=[];try{let l=je(d,new ni);let u=i.opts.from??"";let f=u.endsWith(".module.css");v&&l.start(`[@tailwindcss/postcss] ${Rt(t,u)}`);{v&&l.start("Quick bail check");let b=!0;if(o.walkAtRules(w=>{if(w.name==="import"||w.name==="reference"||w.name==="theme"||w.name==="variant"||w.name==="config"||w.name==="plugin"||w.name==="apply"||w.name==="tailwind")return b=!1,!1}),b)return;v&&l.end("Quick bail check")}let c=ui(a,u,e);let s=Z.dirname(Z.resolve(u));let p=c.compiler===null;async function m(){v&&l.start("Setup compiler"),c.fullRebuildPaths.length>0&&!p&&li(c.fullRebuildPaths),c.fullRebuildPaths=[],v&&l.start("PostCSS AST -> Tailwind CSS AST");let b=Et(o);v&&l.end("PostCSS AST -> Tailwind CSS AST"),v&&l.start("Create compiler");let w=await ri(b,{from:i.opts.from,base:s,shouldRewriteUrls:n,onDependency:re=>c.fullRebuildPaths.push(re),polyfills:f?Ke.All^Ke.AtProperty:Ke.All});return v&&l.end("Create compiler"),v&&l.end("Setup compiler"),w}try{if(c.compiler??=m(),(await c.compiler).features===Ie.None)return;let b="incremental";v&&l.start("Register full rebuild paths");{for(let y of c.fullRebuildPaths)i.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:Z.resolve(y),parent:i.opts.from});let k=i.messages.flatMap(y=>y.type!=="dependency"?[]:y.file);k.push(u);for(let y of k){let R=si.statSync(y,{throwIfNoEntry:!1})?.mtimeMs??null;if(R===null){y===u&&(b="full");continue}c.mtimes.get(y)!==R&&(b="full",c.mtimes.set(y,R))}}v&&l.end("Register full rebuild paths"),b==="full"&&!p&&(c.compiler=m());let w=await c.compiler;if(c.scanner===null||b==="full"){v&&l.start("Setup scanner");let k=(w.root==="none"?[]:w.root===null?[{base:t,pattern:"**/*",negated:!1}]:[{...w.root,negated:!1}]).concat(w.sources);c.scanner=new ai({sources:k}),v&&l.end("Setup scanner")}v&&l.start("Scan for candidates");let re=w.features&Ie.Utilities?c.scanner.scan():[];if(v&&l.end("Scan for candidates"),w.features&Ie.Utilities){v&&l.start("Register dependency messages");let k=Z.resolve(t,u);for(let y of c.scanner.files){let R=Z.resolve(y);R!==k&&i.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:R,parent:i.opts.from})}for(let{base:y,pattern:R}of c.scanner.globs)R==="*"&&t===y||(R===""?i.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:Z.resolve(y),parent:i.opts.from}):i.messages.push({type:"dir-dependency",plugin:"@tailwindcss/postcss",dir:Z.resolve(y),glob:R,parent:i.opts.from}));v&&l.end("Register dependency messages")}v&&l.start("Build utilities");let j=w.build(re);if(v&&l.end("Build utilities"),c.tailwindCssAst!==j)if(r){v&&l.start("Optimization"),v&&l.start("AST -> CSS");let k=O(j);v&&l.end("AST -> CSS"),v&&l.start("Lightning CSS");let y=oi(k,{minify:typeof r=="object"?r.minify:!0});v&&l.end("Lightning CSS"),v&&l.start("CSS -> PostCSS AST"),c.optimizedPostCssAst=a.parse(y.code,i.opts),v&&l.end("CSS -> PostCSS AST"),v&&l.end("Optimization")}else v&&l.start("Transform Tailwind CSS AST into PostCSS AST"),c.cachedPostCssAst=Tt(a,j,o.source),v&&l.end("Transform Tailwind CSS AST into PostCSS AST");c.tailwindCssAst=j,v&&l.start("Update PostCSS AST"),o.removeAll(),o.append(r?c.optimizedPostCssAst.clone().nodes:c.cachedPostCssAst.clone().nodes),o.raws.indent=" ",v&&l.end("Update PostCSS AST"),v&&l.end(`[@tailwindcss/postcss] ${Rt(t,u)}`)}catch(b){c.compiler=null;for(let w of c.fullRebuildPaths)i.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:Z.resolve(w),parent:i.opts.from});throw console.error(b),b&&typeof b=="object"&&"message"in b?o.error(`${b.message}`):o.error(`${b}`)}}catch(h){var V=h,S=!0}finally{We(d,V,S)}}}]}}var xs=Object.assign(fi,{postcss:!0});export{xs as default};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tailwindcss/postcss",
3
- "version": "0.0.0-insiders.ef57e6e",
3
+ "version": "0.0.0-insiders.efe084b",
4
4
  "description": "PostCSS plugin for Tailwind CSS, a utility-first CSS framework for rapidly building custom user interfaces",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -26,17 +26,16 @@
26
26
  },
27
27
  "dependencies": {
28
28
  "@alloc/quick-lru": "^5.2.0",
29
- "lightningcss": "^1.29.1",
30
29
  "postcss": "^8.4.41",
31
- "@tailwindcss/node": "0.0.0-insiders.ef57e6e",
32
- "@tailwindcss/oxide": "0.0.0-insiders.ef57e6e",
33
- "tailwindcss": "0.0.0-insiders.ef57e6e"
30
+ "@tailwindcss/node": "0.0.0-insiders.efe084b",
31
+ "@tailwindcss/oxide": "0.0.0-insiders.efe084b",
32
+ "tailwindcss": "0.0.0-insiders.efe084b"
34
33
  },
35
34
  "devDependencies": {
36
- "@types/node": "^20.14.8",
35
+ "@types/node": "^20.19.0",
37
36
  "@types/postcss-import": "14.0.3",
38
- "dedent": "1.5.3",
39
- "postcss-import": "^16.1.0",
37
+ "dedent": "1.7.0",
38
+ "postcss-import": "^16.1.1",
40
39
  "internal-example-plugin": "0.0.0"
41
40
  },
42
41
  "scripts": {