PluginProbe
WindPress – Tailwind CSS integration for WordPress / 3.2.82
WindPress – Tailwind CSS integration for WordPress v3.2.82
3.2.90 3.2.89 3.2.88 3.2.87 3.2.86 3.2.85 3.2.84 3.2.83 3.2.82 3.2.81 trunk 3.0.0 3.0.1 3.0.10 3.0.11 3.0.12 3.0.13 3.0.14 3.0.15 3.0.16 3.0.17 3.0.2 3.0.3 3.0.4 3.0.5 All 144 releases
windpress / build / assets / default-map-DXDBDmo4.js

default-map-DXDBDmo4.js in WindPress – Tailwind CSS integration for WordPress 3.2.82, at build/assets/default-map-DXDBDmo4.js

8,942 lines 476.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 var __defProp = Object.defineProperty;
2 var __typeError = (msg) => {
3 throw TypeError(msg);
4 };
5 var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6 var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
7 var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg);
8 var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
9 var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method);
10 var _it_instances, e_fn, t_fn, n_fn, _a2;
11 import { o as e, t } from "./chunk-CDGyQ605.js";
12 import { t as n } from "./chunk-X4GG3EDV-BWya-a2W.js";
13 import { n as r } from "./lib-C1exFtPe.js";
14 import { t as i } from "./path-browserify-Q9kGtxRe.js";
15 import { n as a, r as o, t as s, u as c } from "./cssesc-CvrAc3yE.js";
16 var l = new Set(`black.silver.gray.white.maroon.red.purple.fuchsia.green.lime.olive.yellow.navy.blue.teal.aqua.aliceblue.antiquewhite.aqua.aquamarine.azure.beige.bisque.black.blanchedalmond.blue.blueviolet.brown.burlywood.cadetblue.chartreuse.chocolate.coral.cornflowerblue.cornsilk.crimson.cyan.darkblue.darkcyan.darkgoldenrod.darkgray.darkgreen.darkgrey.darkkhaki.darkmagenta.darkolivegreen.darkorange.darkorchid.darkred.darksalmon.darkseagreen.darkslateblue.darkslategray.darkslategrey.darkturquoise.darkviolet.deeppink.deepskyblue.dimgray.dimgrey.dodgerblue.firebrick.floralwhite.forestgreen.fuchsia.gainsboro.ghostwhite.gold.goldenrod.gray.green.greenyellow.grey.honeydew.hotpink.indianred.indigo.ivory.khaki.lavender.lavenderblush.lawngreen.lemonchiffon.lightblue.lightcoral.lightcyan.lightgoldenrodyellow.lightgray.lightgreen.lightgrey.lightpink.lightsalmon.lightseagreen.lightskyblue.lightslategray.lightslategrey.lightsteelblue.lightyellow.lime.limegreen.linen.magenta.maroon.mediumaquamarine.mediumblue.mediumorchid.mediumpurple.mediumseagreen.mediumslateblue.mediumspringgreen.mediumturquoise.mediumvioletred.midnightblue.mintcream.mistyrose.moccasin.navajowhite.navy.oldlace.olive.olivedrab.orange.orangered.orchid.palegoldenrod.palegreen.paleturquoise.palevioletred.papayawhip.peachpuff.peru.pink.plum.powderblue.purple.rebeccapurple.red.rosybrown.royalblue.saddlebrown.salmon.sandybrown.seagreen.seashell.sienna.silver.skyblue.slateblue.slategray.slategrey.snow.springgreen.steelblue.tan.teal.thistle.tomato.turquoise.violet.wheat.white.whitesmoke.yellow.yellowgreen.transparent.currentcolor.canvas.canvastext.linktext.visitedtext.activetext.buttonface.buttontext.buttonborder.field.fieldtext.highlight.highlighttext.selecteditem.selecteditemtext.mark.marktext.graytext.accentcolor.accentcolortext`.split(`.`)), u = /^(rgba?|hsla?|hwb|color|(ok)?(lab|lch)|light-dark|color-mix)\(/i;
17 function d(e3) {
18 return e3.charCodeAt(0) === 35 || u.test(e3) || l.has(e3.toLowerCase());
19 }
20 var f = [`calc`, `min`, `max`, `clamp`, `mod`, `rem`, `sin`, `cos`, `tan`, `asin`, `acos`, `atan`, `atan2`, `pow`, `sqrt`, `hypot`, `log`, `exp`, `round`];
21 function p(e3) {
22 return e3.indexOf(`(`) !== -1 && f.some((t2) => e3.includes(`${t2}(`));
23 }
24 function m(e3) {
25 if (!f.some((t3) => e3.includes(t3))) return e3;
26 let t2 = ``, n2 = [], r2 = null, i2 = null;
27 for (let a2 = 0; a2 < e3.length; a2++) {
28 let o2 = e3.charCodeAt(a2);
29 if (o2 >= 48 && o2 <= 57 || r2 !== null && (o2 === 37 || o2 >= 97 && o2 <= 122 || o2 >= 65 && o2 <= 90) ? r2 = a2 : (i2 = r2, r2 = null), o2 === 40) {
30 t2 += e3[a2];
31 let r3 = a2;
32 for (let t3 = a2 - 1; t3 >= 0; t3--) {
33 let n3 = e3.charCodeAt(t3);
34 if (n3 >= 48 && n3 <= 57) r3 = t3;
35 else if (n3 >= 97 && n3 <= 122) r3 = t3;
36 else break;
37 }
38 let i3 = e3.slice(r3, a2);
39 if (f.includes(i3)) {
40 n2.unshift(true);
41 continue;
42 } else if (n2[0] && i3 === ``) {
43 n2.unshift(true);
44 continue;
45 }
46 n2.unshift(false);
47 continue;
48 } else if (o2 === 41) t2 += e3[a2], n2.shift();
49 else if (o2 === 44 && n2[0]) {
50 t2 += `, `;
51 continue;
52 } else {
53 if (o2 === 32 && n2[0] && t2.charCodeAt(t2.length - 1) === 32) continue;
54 if ((o2 === 43 || o2 === 42 || o2 === 47 || o2 === 45) && n2[0]) {
55 let n3 = t2.trimEnd(), r3 = n3.charCodeAt(n3.length - 1), o3 = n3.charCodeAt(n3.length - 2), s2 = e3.charCodeAt(a2 + 1);
56 if ((r3 === 101 || r3 === 69) && o3 >= 48 && o3 <= 57) {
57 t2 += e3[a2];
58 continue;
59 } else if (r3 === 43 || r3 === 42 || r3 === 47 || r3 === 45) {
60 t2 += e3[a2];
61 continue;
62 } else if (r3 === 40 || r3 === 44) {
63 t2 += e3[a2];
64 continue;
65 } else e3.charCodeAt(a2 - 1) === 32 ? t2 += `${e3[a2]} ` : r3 >= 48 && r3 <= 57 || s2 >= 48 && s2 <= 57 || r3 === 41 || s2 === 40 || s2 === 43 || s2 === 42 || s2 === 47 || s2 === 45 || i2 !== null && i2 === a2 - 1 ? t2 += ` ${e3[a2]} ` : t2 += e3[a2];
66 } else t2 += e3[a2];
67 }
68 }
69 return t2;
70 }
71 var h = new Uint8Array(256);
72 function g(e3, t2) {
73 let n2 = 0, r2 = [], i2 = 0, a2 = e3.length, o2 = t2.charCodeAt(0);
74 for (let t3 = 0; t3 < a2; t3++) {
75 let s2 = e3.charCodeAt(t3);
76 if (n2 === 0 && s2 === o2) {
77 r2.push(e3.slice(i2, t3)), i2 = t3 + 1;
78 continue;
79 }
80 switch (s2) {
81 case 92:
82 t3 += 1;
83 break;
84 case 39:
85 case 34:
86 for (; ++t3 < a2; ) {
87 let n3 = e3.charCodeAt(t3);
88 if (n3 === 92) {
89 t3 += 1;
90 continue;
91 }
92 if (n3 === s2) break;
93 }
94 break;
95 case 40:
96 h[n2] = 41, n2++;
97 break;
98 case 91:
99 h[n2] = 93, n2++;
100 break;
101 case 123:
102 h[n2] = 125, n2++;
103 break;
104 case 93:
105 case 125:
106 case 41:
107 n2 > 0 && s2 === h[n2 - 1] && n2--;
108 break;
109 }
110 }
111 return r2.push(e3.slice(i2)), r2;
112 }
113 var _ = { color: d, length: de, percentage: se, ratio: le, number: ae, integer: E, url: b, position: fe, "bg-size": pe, "line-width": x, image: ee, "family-name": te, "generic-name": w, "absolute-size": ne, "relative-size": re, angle: he, vector: _e };
114 function v(e3, t2) {
115 if (e3.startsWith(`var(`)) return null;
116 for (let n2 of t2) if (_[n2]?.(e3)) return n2;
117 return null;
118 }
119 var y = /^url\(.*\)$/;
120 function b(e3) {
121 return y.test(e3);
122 }
123 function x(e3) {
124 return g(e3, ` `).every((e4) => de(e4) || ae(e4) || e4 === `thin` || e4 === `medium` || e4 === `thick`);
125 }
126 var S = /^(?:element|image|cross-fade|image-set)\(/, C = /^(repeating-)?(conic|linear|radial)-gradient\(/;
127 function ee(e3) {
128 let t2 = 0;
129 for (let n2 of g(e3, `,`)) if (!n2.startsWith(`var(`)) {
130 if (b(n2)) {
131 t2 += 1;
132 continue;
133 }
134 if (C.test(n2)) {
135 t2 += 1;
136 continue;
137 }
138 if (S.test(n2)) {
139 t2 += 1;
140 continue;
141 }
142 return false;
143 }
144 return t2 > 0;
145 }
146 function w(e3) {
147 return e3 === `serif` || e3 === `sans-serif` || e3 === `monospace` || e3 === `cursive` || e3 === `fantasy` || e3 === `system-ui` || e3 === `ui-serif` || e3 === `ui-sans-serif` || e3 === `ui-monospace` || e3 === `ui-rounded` || e3 === `math` || e3 === `emoji` || e3 === `fangsong`;
148 }
149 function te(e3) {
150 let t2 = 0;
151 for (let n2 of g(e3, `,`)) {
152 let e4 = n2.charCodeAt(0);
153 if (e4 >= 48 && e4 <= 57) return false;
154 n2.startsWith(`var(`) || (t2 += 1);
155 }
156 return t2 > 0;
157 }
158 function ne(e3) {
159 return e3 === `xx-small` || e3 === `x-small` || e3 === `small` || e3 === `medium` || e3 === `large` || e3 === `x-large` || e3 === `xx-large` || e3 === `xxx-large`;
160 }
161 function re(e3) {
162 return e3 === `larger` || e3 === `smaller`;
163 }
164 var T = /[+-]?\d*\.?\d+(?:[eE][+-]?\d+)?/, ie = RegExp(`^${T.source}$`);
165 function ae(e3) {
166 return ie.test(e3) || p(e3);
167 }
168 var oe = RegExp(`^${T.source}%$`);
169 function se(e3) {
170 return oe.test(e3) || p(e3);
171 }
172 var ce = RegExp(`^${T.source}\\s*/\\s*${T.source}$`);
173 function le(e3) {
174 return ce.test(e3) || p(e3);
175 }
176 var ue = RegExp(`^${T.source}(${`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`.split(`.`).join(`|`)})$`);
177 function de(e3) {
178 return ue.test(e3) || p(e3);
179 }
180 function fe(e3) {
181 let t2 = 0;
182 for (let n2 of g(e3, ` `)) {
183 if (n2 === `center` || n2 === `top` || n2 === `right` || n2 === `bottom` || n2 === `left`) {
184 t2 += 1;
185 continue;
186 }
187 if (!n2.startsWith(`var(`)) {
188 if (de(n2) || se(n2)) {
189 t2 += 1;
190 continue;
191 }
192 return false;
193 }
194 }
195 return t2 > 0;
196 }
197 function pe(e3) {
198 let t2 = 0;
199 for (let n2 of g(e3, `,`)) {
200 if (n2 === `cover` || n2 === `contain`) {
201 t2 += 1;
202 continue;
203 }
204 let e4 = g(n2, ` `);
205 if (e4.length !== 1 && e4.length !== 2) return false;
206 if (e4.every((e5) => e5 === `auto` || de(e5) || se(e5))) {
207 t2 += 1;
208 continue;
209 }
210 }
211 return t2 > 0;
212 }
213 var me = RegExp(`^${T.source}(${[`deg`, `rad`, `grad`, `turn`].join(`|`)})$`);
214 function he(e3) {
215 return me.test(e3);
216 }
217 var ge = RegExp(`^${T.source} +${T.source} +${T.source}$`);
218 function _e(e3) {
219 return ge.test(e3);
220 }
221 function E(e3) {
222 let t2 = Number(e3);
223 return Number.isInteger(t2) && t2 >= 0 && String(t2) === String(e3);
224 }
225 function ve(e3) {
226 let t2 = Number(e3);
227 return Number.isInteger(t2) && t2 > 0 && String(t2) === String(e3);
228 }
229 function D(e3) {
230 return be(e3, 0.25);
231 }
232 function ye(e3) {
233 return be(e3, 0.25);
234 }
235 function be(e3, t2) {
236 let n2 = Number(e3);
237 return n2 >= 0 && n2 % t2 === 0 && String(n2) === String(e3);
238 }
239 function xe(e3) {
240 return { __BARE_VALUE__: e3 };
241 }
242 var O = xe((e3) => {
243 if (E(e3.value)) return e3.value;
244 }), k = xe((e3) => {
245 if (E(e3.value)) return `${e3.value}%`;
246 }), Se = xe((e3) => {
247 if (E(e3.value)) return `${e3.value}px`;
248 }), Ce = xe((e3) => {
249 if (E(e3.value)) return `${e3.value}ms`;
250 }), we = xe((e3) => {
251 if (E(e3.value)) return `${e3.value}deg`;
252 }), Te = xe((e3) => {
253 if (e3.fraction === null) return;
254 let [t2, n2] = g(e3.fraction, `/`);
255 if (!(!E(t2) || !E(n2))) return e3.fraction;
256 }), Ee = xe((e3) => {
257 if (E(Number(e3.value))) return `repeat(${e3.value}, minmax(0, 1fr))`;
258 }), De = { accentColor: ({ theme: e3 }) => e3(`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`, ...Te }, backdropBlur: ({ theme: e3 }) => e3(`blur`), backdropBrightness: ({ theme: e3 }) => ({ ...e3(`brightness`), ...k }), backdropContrast: ({ theme: e3 }) => ({ ...e3(`contrast`), ...k }), backdropGrayscale: ({ theme: e3 }) => ({ ...e3(`grayscale`), ...k }), backdropHueRotate: ({ theme: e3 }) => ({ ...e3(`hueRotate`), ...we }), backdropInvert: ({ theme: e3 }) => ({ ...e3(`invert`), ...k }), backdropOpacity: ({ theme: e3 }) => ({ ...e3(`opacity`), ...k }), backdropSaturate: ({ theme: e3 }) => ({ ...e3(`saturate`), ...k }), backdropSepia: ({ theme: e3 }) => ({ ...e3(`sepia`), ...k }), backgroundColor: ({ theme: e3 }) => e3(`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: e3 }) => e3(`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: e3 }) => ({ DEFAULT: `currentcolor`, ...e3(`colors`) }), borderOpacity: ({ theme: e3 }) => e3(`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: e3 }) => e3(`spacing`), borderWidth: { DEFAULT: `1px`, 0: `0px`, 2: `2px`, 4: `4px`, 8: `8px`, ...Se }, 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: e3 }) => e3(`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`, ...k }, caretColor: ({ theme: e3 }) => e3(`colors`), colors: () => ({ ...n }), 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`, ...O }, container: {}, content: { none: `none` }, contrast: { 0: `0`, 50: `.5`, 75: `.75`, 100: `1`, 125: `1.25`, 150: `1.5`, 200: `2`, ...k }, 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: e3 }) => e3(`borderColor`), divideOpacity: ({ theme: e3 }) => e3(`borderOpacity`), divideWidth: ({ theme: e3 }) => ({ ...e3(`borderWidth`), ...Se }), 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: e3 }) => e3(`colors`), flex: { 1: `1 1 0%`, auto: `1 1 auto`, initial: `0 1 auto`, none: `none` }, flexBasis: ({ theme: e3 }) => ({ 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%`, ...e3(`spacing`) }), flexGrow: { 0: `0`, DEFAULT: `1`, ...O }, flexShrink: { 0: `0`, DEFAULT: `1`, ...O }, 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: e3 }) => e3(`spacing`), gradientColorStops: ({ theme: e3 }) => e3(`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%`, ...k }, grayscale: { 0: `0`, DEFAULT: `100%`, ...k }, 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`, ...O }, 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`, ...O }, 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`, ...O }, 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`, ...O }, 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))`, ...Ee }, 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))`, ...Ee }, height: ({ theme: e3 }) => ({ 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`, ...e3(`spacing`) }), hueRotate: { 0: `0deg`, 15: `15deg`, 30: `30deg`, 60: `60deg`, 90: `90deg`, 180: `180deg`, ...we }, inset: ({ theme: e3 }) => ({ auto: `auto`, "1/2": `50%`, "1/3": `33.333333%`, "2/3": `66.666667%`, "1/4": `25%`, "2/4": `50%`, "3/4": `75%`, full: `100%`, ...e3(`spacing`) }), invert: { 0: `0`, DEFAULT: `100%`, ...k }, 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: e3 }) => ({ auto: `auto`, ...e3(`spacing`) }), lineClamp: { 1: `1`, 2: `2`, 3: `3`, 4: `4`, 5: `5`, 6: `6`, ...O }, maxHeight: ({ theme: e3 }) => ({ none: `none`, full: `100%`, screen: `100vh`, svh: `100svh`, lvh: `100lvh`, dvh: `100dvh`, min: `min-content`, max: `max-content`, fit: `fit-content`, ...e3(`spacing`) }), maxWidth: ({ theme: e3 }) => ({ 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`, ...e3(`spacing`) }), minHeight: ({ theme: e3 }) => ({ full: `100%`, screen: `100vh`, svh: `100svh`, lvh: `100lvh`, dvh: `100dvh`, min: `min-content`, max: `max-content`, fit: `fit-content`, ...e3(`spacing`) }), minWidth: ({ theme: e3 }) => ({ full: `100%`, min: `min-content`, max: `max-content`, fit: `fit-content`, ...e3(`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`, ...k }, 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`, ...O }, outlineColor: ({ theme: e3 }) => e3(`colors`), outlineOffset: { 0: `0px`, 1: `1px`, 2: `2px`, 4: `4px`, 8: `8px`, ...Se }, outlineWidth: { 0: `0px`, 1: `1px`, 2: `2px`, 4: `4px`, 8: `8px`, ...Se }, padding: ({ theme: e3 }) => e3(`spacing`), placeholderColor: ({ theme: e3 }) => e3(`colors`), placeholderOpacity: ({ theme: e3 }) => e3(`opacity`), ringColor: ({ theme: e3 }) => ({ DEFAULT: `currentcolor`, ...e3(`colors`) }), ringOffsetColor: ({ theme: e3 }) => e3(`colors`), ringOffsetWidth: { 0: `0px`, 1: `1px`, 2: `2px`, 4: `4px`, 8: `8px`, ...Se }, ringOpacity: ({ theme: e3 }) => ({ DEFAULT: `0.5`, ...e3(`opacity`) }), ringWidth: { DEFAULT: `3px`, 0: `0px`, 1: `1px`, 2: `2px`, 4: `4px`, 8: `8px`, ...Se }, rotate: { 0: `0deg`, 1: `1deg`, 2: `2deg`, 3: `3deg`, 6: `6deg`, 12: `12deg`, 45: `45deg`, 90: `90deg`, 180: `180deg`, ...we }, saturate: { 0: `0`, 50: `.5`, 100: `1`, 150: `1.5`, 200: `2`, ...k }, 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`, ...k }, screens: { sm: `40rem`, md: `48rem`, lg: `64rem`, xl: `80rem`, "2xl": `96rem` }, scrollMargin: ({ theme: e3 }) => e3(`spacing`), scrollPadding: ({ theme: e3 }) => e3(`spacing`), sepia: { 0: `0`, DEFAULT: `100%`, ...k }, skew: { 0: `0deg`, 1: `1deg`, 2: `2deg`, 3: `3deg`, 6: `6deg`, 12: `12deg`, ...we }, space: ({ theme: e3 }) => e3(`spacing`), spacing: { px: `1px`, 0: `0px`, 0.5: `0.125rem`, 1: `0.25rem`, 1.5: `0.375rem`, 2: `0.5rem`, 2.5: `0.625rem`, 3: `0.75rem`, 3.5: `0.875rem`, 4: `1rem`, 5: `1.25rem`, 6: `1.5rem`, 7: `1.75rem`, 8: `2rem`, 9: `2.25rem`, 10: `2.5rem`, 11: `2.75rem`, 12: `3rem`, 14: `3.5rem`, 16: `4rem`, 20: `5rem`, 24: `6rem`, 28: `7rem`, 32: `8rem`, 36: `9rem`, 40: `10rem`, 44: `11rem`, 48: `12rem`, 52: `13rem`, 56: `14rem`, 60: `15rem`, 64: `16rem`, 72: `18rem`, 80: `20rem`, 96: `24rem` }, stroke: ({ theme: e3 }) => ({ none: `none`, ...e3(`colors`) }), strokeWidth: { 0: `0`, 1: `1`, 2: `2`, ...O }, supports: {}, data: {}, textColor: ({ theme: e3 }) => e3(`colors`), textDecorationColor: ({ theme: e3 }) => e3(`colors`), textDecorationThickness: { auto: `auto`, "from-font": `from-font`, 0: `0px`, 1: `1px`, 2: `2px`, 4: `4px`, 8: `8px`, ...Se }, textIndent: ({ theme: e3 }) => e3(`spacing`), textOpacity: ({ theme: e3 }) => e3(`opacity`), textUnderlineOffset: { auto: `auto`, 0: `0px`, 1: `1px`, 2: `2px`, 4: `4px`, 8: `8px`, ...Se }, 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`, ...Ce }, transitionDuration: { DEFAULT: `150ms`, 0: `0s`, 75: `75ms`, 100: `100ms`, 150: `150ms`, 200: `200ms`, 300: `300ms`, 500: `500ms`, 700: `700ms`, 1e3: `1000ms`, ...Ce }, 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: e3 }) => ({ "1/2": `50%`, "1/3": `33.333333%`, "2/3": `66.666667%`, "1/4": `25%`, "2/4": `50%`, "3/4": `75%`, full: `100%`, ...e3(`spacing`) }), size: ({ theme: e3 }) => ({ 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`, ...e3(`spacing`) }), width: ({ theme: e3 }) => ({ 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`, ...e3(`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`, ...O } }, Oe = `4.2.4`;
259 function ke(e3) {
260 let t2 = [0];
261 for (let n3 = 0; n3 < e3.length; n3++) e3.charCodeAt(n3) === 10 && t2.push(n3 + 1);
262 function n2(e4) {
263 let n3 = 0, r3 = t2.length;
264 for (; r3 > 0; ) {
265 let i3 = (r3 | 0) >> 1, a2 = n3 + i3;
266 t2[a2] <= e4 ? (n3 = a2 + 1, r3 = r3 - i3 - 1) : r3 = i3;
267 }
268 --n3;
269 let i2 = e4 - t2[n3];
270 return { line: n3 + 1, column: i2 };
271 }
272 function r2({ line: e4, column: n3 }) {
273 --e4, e4 = Math.min(Math.max(e4, 0), t2.length - 1);
274 let r3 = t2[e4], i2 = t2[e4 + 1] ?? r3;
275 return Math.min(Math.max(r3 + n3, 0), i2);
276 }
277 return { find: n2, findOffset: r2 };
278 }
279 var Ae = 92, je = 47, Me = 42, Ne = 34, Pe = 39, Fe = 58, Ie = 59, A = 10, Le = 13, Re = 32, ze = 9, Be = 123, Ve = 125, He = 40, Ue = 41, We = 91, Ge = 93, Ke = 45, qe = 64, Je = 33, Ye = class e2 extends Error {
280 constructor(t2, n2) {
281 if (n2) {
282 let e3 = n2[0], r2 = ke(e3.code).find(n2[1]);
283 t2 = `${e3.file}:${r2.line}:${r2.column + 1}: ${t2}`;
284 }
285 super(t2);
286 __publicField(this, "loc");
287 this.name = `CssSyntaxError`, this.loc = n2, Error.captureStackTrace && Error.captureStackTrace(this, e2);
288 }
289 };
290 function Xe(e3, t2) {
291 let n2 = t2?.from ? { file: t2.from, code: e3 } : null;
292 e3[0] === `\uFEFF` && (e3 = ` ` + e3.slice(1));
293 let r2 = [], i2 = [], a2 = [], o2 = null, s2 = null, c2 = ``, l2 = ``, u2 = 0, d2;
294 for (let t3 = 0; t3 < e3.length; t3++) {
295 let f2 = e3.charCodeAt(t3);
296 if (!(f2 === Le && (d2 = e3.charCodeAt(t3 + 1), d2 === A))) if (f2 === Ae) c2 === `` && (u2 = t3), c2 += e3.slice(t3, t3 + 2), t3 += 1;
297 else if (f2 === je && e3.charCodeAt(t3 + 1) === Me) {
298 let r3 = t3;
299 for (let n3 = t3 + 2; n3 < e3.length; n3++) if (d2 = e3.charCodeAt(n3), d2 === Ae) n3 += 1;
300 else if (d2 === Me && e3.charCodeAt(n3 + 1) === je) {
301 t3 = n3 + 1;
302 break;
303 }
304 let a3 = e3.slice(r3, t3 + 1);
305 if (a3.charCodeAt(2) === Je) {
306 let e4 = Tt(a3.slice(2, -2));
307 i2.push(e4), n2 && (e4.src = [n2, r3, t3 + 1], e4.dst = [n2, r3, t3 + 1]);
308 }
309 } else if (f2 === Pe || f2 === Ne) {
310 let r3 = $e(e3, t3, f2, n2);
311 c2 += e3.slice(t3, r3 + 1), t3 = r3;
312 } else {
313 if ((f2 === Re || f2 === A || f2 === ze) && (d2 = e3.charCodeAt(t3 + 1)) && (d2 === Re || d2 === A || d2 === ze || d2 === Le && (d2 = e3.charCodeAt(t3 + 2)) && d2 == A)) continue;
314 if (f2 === A) {
315 if (c2.length === 0) continue;
316 d2 = c2.charCodeAt(c2.length - 1), d2 !== Re && d2 !== A && d2 !== ze && (c2 += ` `);
317 } else if (f2 === Ke && e3.charCodeAt(t3 + 1) === Ke && c2.length === 0) {
318 let i3 = ``, a3 = t3, s3 = -1;
319 for (let r3 = t3 + 2; r3 < e3.length; r3++) if (d2 = e3.charCodeAt(r3), d2 === Ae) r3 += 1;
320 else if (d2 === Pe || d2 === Ne) r3 = $e(e3, r3, d2, n2);
321 else if (d2 === je && e3.charCodeAt(r3 + 1) === Me) {
322 for (let t4 = r3 + 2; t4 < e3.length; t4++) if (d2 = e3.charCodeAt(t4), d2 === Ae) t4 += 1;
323 else if (d2 === Me && e3.charCodeAt(t4 + 1) === je) {
324 r3 = t4 + 1;
325 break;
326 }
327 } else if (s3 === -1 && d2 === Fe) s3 = c2.length + r3 - a3;
328 else if (d2 === Ie && i3.length === 0) {
329 c2 += e3.slice(a3, r3), t3 = r3;
330 break;
331 } else if (d2 === He) i3 += `)`;
332 else if (d2 === We) i3 += `]`;
333 else if (d2 === Be) i3 += `}`;
334 else if ((d2 === Ve || e3.length - 1 === r3) && i3.length === 0) {
335 t3 = r3 - 1, c2 += e3.slice(a3, r3);
336 break;
337 } else (d2 === Ue || d2 === Ge || d2 === Ve) && i3.length > 0 && e3[r3] === i3[i3.length - 1] && (i3 = i3.slice(0, -1));
338 let l3 = Qe(c2, s3);
339 if (!l3) throw new Ye(`Invalid custom property, expected a value`, n2 ? [n2, a3, t3] : null);
340 n2 && (l3.src = [n2, a3, t3], l3.dst = [n2, a3, t3]), o2 ? o2.nodes.push(l3) : r2.push(l3), c2 = ``;
341 } else if (f2 === Ie && c2.charCodeAt(0) === qe) s2 = Ze(c2), n2 && (s2.src = [n2, u2, t3], s2.dst = [n2, u2, t3]), o2 ? o2.nodes.push(s2) : r2.push(s2), c2 = ``, s2 = null;
342 else if (f2 === Ie && l2[l2.length - 1] !== `)`) {
343 let e4 = Qe(c2);
344 if (!e4) {
345 if (c2.length === 0) continue;
346 throw new Ye(`Invalid declaration: \`${c2.trim()}\``, n2 ? [n2, u2, t3] : null);
347 }
348 n2 && (e4.src = [n2, u2, t3], e4.dst = [n2, u2, t3]), o2 ? o2.nodes.push(e4) : r2.push(e4), c2 = ``;
349 } else if (f2 === Be && l2[l2.length - 1] !== `)`) l2 += `}`, s2 = z(c2.trim()), n2 && (s2.src = [n2, u2, t3], s2.dst = [n2, u2, t3]), o2 && o2.nodes.push(s2), a2.push(o2), o2 = s2, c2 = ``, s2 = null;
350 else if (f2 === Ve && l2[l2.length - 1] !== `)`) {
351 if (l2 === ``) throw new Ye(`Missing opening {`, n2 ? [n2, t3, t3] : null);
352 if (l2 = l2.slice(0, -1), c2.length > 0) if (c2.charCodeAt(0) === qe) s2 = Ze(c2), n2 && (s2.src = [n2, u2, t3], s2.dst = [n2, u2, t3]), o2 ? o2.nodes.push(s2) : r2.push(s2), c2 = ``, s2 = null;
353 else {
354 let e5 = c2.indexOf(`:`);
355 if (o2) {
356 let r3 = Qe(c2, e5);
357 if (!r3) throw new Ye(`Invalid declaration: \`${c2.trim()}\``, n2 ? [n2, u2, t3] : null);
358 n2 && (r3.src = [n2, u2, t3], r3.dst = [n2, u2, t3]), o2.nodes.push(r3);
359 }
360 }
361 let e4 = a2.pop() ?? null;
362 e4 === null && o2 && r2.push(o2), o2 = e4, c2 = ``, s2 = null;
363 } else if (f2 === He) l2 += `)`, c2 += `(`;
364 else if (f2 === Ue) {
365 if (l2[l2.length - 1] !== `)`) throw new Ye(`Missing opening (`, n2 ? [n2, t3, t3] : null);
366 l2 = l2.slice(0, -1), c2 += `)`;
367 } else {
368 if (c2.length === 0 && (f2 === Re || f2 === A || f2 === ze)) continue;
369 c2 === `` && (u2 = t3), c2 += String.fromCharCode(f2);
370 }
371 }
372 }
373 if (c2.charCodeAt(0) === qe) {
374 let t3 = Ze(c2);
375 n2 && (t3.src = [n2, u2, e3.length], t3.dst = [n2, u2, e3.length]), r2.push(t3);
376 }
377 if (l2.length > 0 && o2) {
378 if (o2.kind === `rule`) throw new Ye(`Missing closing } at ${o2.selector}`, o2.src ? [o2.src[0], o2.src[1], o2.src[1]] : null);
379 if (o2.kind === `at-rule`) throw new Ye(`Missing closing } at ${o2.name} ${o2.params}`, o2.src ? [o2.src[0], o2.src[1], o2.src[1]] : null);
380 }
381 return i2.length > 0 ? i2.concat(r2) : r2;
382 }
383 function Ze(e3, t2 = []) {
384 let n2 = e3, r2 = ``;
385 for (let t3 = 5; t3 < e3.length; t3++) {
386 let i2 = e3.charCodeAt(t3);
387 if (i2 === Re || i2 === ze || i2 === He) {
388 n2 = e3.slice(0, t3), r2 = e3.slice(t3);
389 break;
390 }
391 }
392 return R(n2.trim(), r2.trim(), t2);
393 }
394 function Qe(e3, t2 = e3.indexOf(`:`)) {
395 if (t2 === -1) return null;
396 let n2 = e3.indexOf(`!important`, t2 + 1);
397 return B(e3.slice(0, t2).trim(), e3.slice(t2 + 1, n2 === -1 ? e3.length : n2).trim(), n2 !== -1);
398 }
399 function $e(e3, t2, n2, r2 = null) {
400 let i2;
401 for (let a2 = t2 + 1; a2 < e3.length; a2++) if (i2 = e3.charCodeAt(a2), i2 === Ae) a2 += 1;
402 else {
403 if (i2 === n2) return a2;
404 if (i2 === Ie && (e3.charCodeAt(a2 + 1) === A || e3.charCodeAt(a2 + 1) === Le && e3.charCodeAt(a2 + 2) === A)) throw new Ye(`Unterminated string: ${e3.slice(t2, a2 + 1) + String.fromCharCode(n2)}`, r2 ? [r2, t2, a2 + 1] : null);
405 if (i2 === A || i2 === Le && e3.charCodeAt(a2 + 1) === A) throw new Ye(`Unterminated string: ${e3.slice(t2, a2) + String.fromCharCode(n2)}`, r2 ? [r2, t2, a2 + 1] : null);
406 }
407 return t2;
408 }
409 function et(e3) {
410 if (arguments.length === 0) throw TypeError("`CSS.escape` requires an argument.");
411 let t2 = String(e3), n2 = t2.length, r2 = -1, i2, a2 = ``, o2 = t2.charCodeAt(0);
412 if (n2 === 1 && o2 === 45) return `\\` + t2;
413 for (; ++r2 < n2; ) {
414 if (i2 = t2.charCodeAt(r2), i2 === 0) {
415 a2 += `\uFFFD`;
416 continue;
417 }
418 if (i2 >= 1 && i2 <= 31 || i2 === 127 || r2 === 0 && i2 >= 48 && i2 <= 57 || r2 === 1 && i2 >= 48 && i2 <= 57 && o2 === 45) {
419 a2 += `\\` + i2.toString(16) + ` `;
420 continue;
421 }
422 if (i2 >= 128 || i2 === 45 || i2 === 95 || i2 >= 48 && i2 <= 57 || i2 >= 65 && i2 <= 90 || i2 >= 97 && i2 <= 122) {
423 a2 += t2.charAt(r2);
424 continue;
425 }
426 a2 += `\\` + t2.charAt(r2);
427 }
428 return a2;
429 }
430 function tt(e3) {
431 return e3.replace(/\\([\dA-Fa-f]{1,6}[\t\n\f\r ]?|[\S\s])/g, (e4) => {
432 if (e4.length <= 2) return e4[1];
433 let t2 = Number.parseInt(e4.slice(1).trim(), 16);
434 return t2 === 0 || t2 > 1114111 || t2 >= 55296 && t2 <= 57343 ? `\uFFFD` : String.fromCodePoint(t2);
435 });
436 }
437 var nt = /* @__PURE__ */ new Map([[`--font`, [`--font-weight`, `--font-size`]], [`--inset`, [`--inset-shadow`, `--inset-ring`]], [`--text`, [`--text-color`, `--text-decoration-color`, `--text-decoration-thickness`, `--text-indent`, `--text-shadow`, `--text-underline-offset`]], [`--grid-column`, [`--grid-column-start`, `--grid-column-end`]], [`--grid-row`, [`--grid-row-start`, `--grid-row-end`]]]);
438 function rt(e3, t2) {
439 return (nt.get(t2) ?? []).some((t3) => e3 === t3 || e3.startsWith(`${t3}-`));
440 }
441 var it = (_a2 = class {
442 constructor(e3 = /* @__PURE__ */ new Map(), t2 = /* @__PURE__ */ new Set([])) {
443 __privateAdd(this, _it_instances);
444 __publicField(this, "prefix", null);
445 this.values = e3, this.keyframes = t2;
446 }
447 get size() {
448 return this.values.size;
449 }
450 add(e3, t2, n2 = 0, r2) {
451 if (e3.endsWith(`-*`)) {
452 if (t2 !== `initial`) throw Error(`Invalid theme value \`${t2}\` for namespace \`${e3}\``);
453 e3 === `--*` ? this.values.clear() : this.clearNamespace(e3.slice(0, -2), 0);
454 }
455 if (n2 & 4) {
456 let t3 = this.values.get(e3);
457 if (t3 && !(t3.options & 4)) return;
458 }
459 t2 === `initial` ? this.values.delete(e3) : this.values.set(e3, { value: t2, options: n2, src: r2 });
460 }
461 keysInNamespaces(e3) {
462 let t2 = [];
463 for (let n2 of e3) {
464 let e4 = `${n2}-`;
465 for (let r2 of this.values.keys()) r2.startsWith(e4) && r2.indexOf(`--`, 2) === -1 && (rt(r2, n2) || t2.push(r2.slice(e4.length)));
466 }
467 return t2;
468 }
469 get(e3) {
470 for (let t2 of e3) {
471 let e4 = this.values.get(t2);
472 if (e4) return e4.value;
473 }
474 return null;
475 }
476 hasDefault(e3) {
477 return (this.getOptions(e3) & 4) == 4;
478 }
479 getOptions(e3) {
480 return e3 = tt(__privateMethod(this, _it_instances, e_fn).call(this, e3)), this.values.get(e3)?.options ?? 0;
481 }
482 entries() {
483 return this.prefix ? Array.from(this.values, (e3) => (e3[0] = this.prefixKey(e3[0]), e3)) : this.values.entries();
484 }
485 prefixKey(e3) {
486 return this.prefix ? `--${this.prefix}-${e3.slice(2)}` : e3;
487 }
488 clearNamespace(e3, t2) {
489 let n2 = nt.get(e3) ?? [];
490 e: for (let r2 of this.values.keys()) if (r2.startsWith(e3)) {
491 if (t2 !== 0 && (this.getOptions(r2) & t2) !== t2) continue;
492 for (let e4 of n2) if (r2.startsWith(e4)) continue e;
493 this.values.delete(r2);
494 }
495 }
496 markUsedVariable(e3) {
497 let t2 = tt(__privateMethod(this, _it_instances, e_fn).call(this, e3)), n2 = this.values.get(t2);
498 if (!n2) return false;
499 let r2 = n2.options & 16;
500 return n2.options |= 16, !r2;
501 }
502 resolve(e3, t2, n2 = 0) {
503 let r2 = __privateMethod(this, _it_instances, t_fn).call(this, e3, t2);
504 if (!r2) return null;
505 let i2 = this.values.get(r2);
506 return (n2 | i2.options) & 1 ? i2.value : __privateMethod(this, _it_instances, n_fn).call(this, r2);
507 }
508 resolveValue(e3, t2) {
509 let n2 = __privateMethod(this, _it_instances, t_fn).call(this, e3, t2);
510 return n2 ? this.values.get(n2).value : null;
511 }
512 resolveWith(e3, t2, n2 = []) {
513 let r2 = __privateMethod(this, _it_instances, t_fn).call(this, e3, t2);
514 if (!r2) return null;
515 let i2 = {};
516 for (let e4 of n2) {
517 let t3 = `${r2}${e4}`, n3 = this.values.get(t3);
518 n3 && (n3.options & 1 ? i2[e4] = n3.value : i2[e4] = __privateMethod(this, _it_instances, n_fn).call(this, t3));
519 }
520 let a2 = this.values.get(r2);
521 return a2.options & 1 ? [a2.value, i2] : [__privateMethod(this, _it_instances, n_fn).call(this, r2), i2];
522 }
523 namespace(e3) {
524 let t2 = /* @__PURE__ */ new Map(), n2 = `${e3}-`;
525 for (let [r2, i2] of this.values) r2 === e3 ? t2.set(null, i2.value) : r2.startsWith(`${n2}-`) ? t2.set(r2.slice(e3.length), i2.value) : r2.startsWith(n2) && t2.set(r2.slice(n2.length), i2.value);
526 return t2;
527 }
528 addKeyframes(e3) {
529 this.keyframes.add(e3);
530 }
531 getKeyframes() {
532 return Array.from(this.keyframes);
533 }
534 }, _it_instances = new WeakSet(), e_fn = function(e3) {
535 return this.prefix ? `--${e3.slice(3 + this.prefix.length)}` : e3;
536 }, t_fn = function(e3, t2) {
537 for (let n2 of t2) {
538 let t3 = e3 === null ? n2 : `${n2}-${e3}`;
539 if (!this.values.has(t3)) if (e3 !== null && e3.includes(`.`)) {
540 if (t3 = `${n2}-${e3.replaceAll(`.`, `_`)}`, !this.values.has(t3)) continue;
541 } else continue;
542 if (!rt(t3, n2)) return t3;
543 }
544 return null;
545 }, n_fn = function(e3) {
546 let t2 = this.values.get(e3);
547 if (!t2) return null;
548 let n2 = null;
549 return t2.options & 2 && (n2 = t2.value), `var(${et(this.prefixKey(e3))}${n2 ? `, ${n2}` : ``})`;
550 }, _a2), j = class extends Map {
551 constructor(e3) {
552 super(), this.factory = e3;
553 }
554 get(e3) {
555 let t2 = super.get(e3);
556 return t2 === void 0 && (t2 = this.factory(e3, this), this.set(e3, t2)), t2;
557 }
558 };
559 function M(e3) {
560 return { kind: `word`, value: e3 };
561 }
562 function at(e3, t2) {
563 return { kind: `function`, value: e3, nodes: t2 };
564 }
565 function ot(e3) {
566 return { kind: `separator`, value: e3 };
567 }
568 function N(e3) {
569 let t2 = ``;
570 for (let n2 of e3) switch (n2.kind) {
571 case `word`:
572 case `separator`:
573 t2 += n2.value;
574 break;
575 case `function`:
576 t2 += n2.value + `(` + N(n2.nodes) + `)`;
577 }
578 return t2;
579 }
580 var st = 92, ct = 41, lt = 58, ut = 44, dt = 34, ft = 61, pt = 62, mt = 60, ht = 10, gt = 40, _t = 39, vt = 47, yt = 32, bt = 9;
581 function P(e3) {
582 e3 = e3.replaceAll(`\r
583 `, `
584 `);
585 let t2 = [], n2 = [], r2 = null, i2 = ``, a2;
586 for (let o2 = 0; o2 < e3.length; o2++) {
587 let s2 = e3.charCodeAt(o2);
588 switch (s2) {
589 case st:
590 i2 += e3[o2] + e3[o2 + 1], o2++;
591 break;
592 case vt: {
593 if (i2.length > 0) {
594 let e4 = M(i2);
595 r2 ? r2.nodes.push(e4) : t2.push(e4), i2 = ``;
596 }
597 let n3 = M(e3[o2]);
598 r2 ? r2.nodes.push(n3) : t2.push(n3);
599 break;
600 }
601 case lt:
602 case ut:
603 case ft:
604 case pt:
605 case mt:
606 case ht:
607 case yt:
608 case bt: {
609 if (i2.length > 0) {
610 let e4 = M(i2);
611 r2 ? r2.nodes.push(e4) : t2.push(e4), i2 = ``;
612 }
613 let n3 = o2, s3 = o2 + 1;
614 for (; s3 < e3.length && (a2 = e3.charCodeAt(s3), !(a2 !== lt && a2 !== ut && a2 !== ft && a2 !== pt && a2 !== mt && a2 !== ht && a2 !== yt && a2 !== bt)); s3++) ;
615 o2 = s3 - 1;
616 let c2 = ot(e3.slice(n3, s3));
617 r2 ? r2.nodes.push(c2) : t2.push(c2);
618 break;
619 }
620 case _t:
621 case dt: {
622 let t3 = o2;
623 for (let t4 = o2 + 1; t4 < e3.length; t4++) if (a2 = e3.charCodeAt(t4), a2 === st) t4 += 1;
624 else if (a2 === s2) {
625 o2 = t4;
626 break;
627 }
628 i2 += e3.slice(t3, o2 + 1);
629 break;
630 }
631 case gt: {
632 let e4 = at(i2, []);
633 i2 = ``, r2 ? r2.nodes.push(e4) : t2.push(e4), n2.push(e4), r2 = e4;
634 break;
635 }
636 case ct: {
637 let e4 = n2.pop();
638 if (i2.length > 0) {
639 let t3 = M(i2);
640 e4?.nodes.push(t3), i2 = ``;
641 }
642 r2 = n2.length > 0 ? n2[n2.length - 1] : null;
643 break;
644 }
645 default:
646 i2 += String.fromCharCode(s2);
647 }
648 }
649 return i2.length > 0 && t2.push(M(i2)), t2;
650 }
651 var xt = ((e3) => (e3[e3.Continue = 0] = `Continue`, e3[e3.Skip = 1] = `Skip`, e3[e3.Stop = 2] = `Stop`, e3[e3.Replace = 3] = `Replace`, e3[e3.ReplaceSkip = 4] = `ReplaceSkip`, e3[e3.ReplaceStop = 5] = `ReplaceStop`, e3))(xt || {}), F = { Continue: { kind: 0 }, Skip: { kind: 1 }, Stop: { kind: 2 }, Replace: (e3) => ({ kind: 3, nodes: Array.isArray(e3) ? e3 : [e3] }), ReplaceSkip: (e3) => ({ kind: 4, nodes: Array.isArray(e3) ? e3 : [e3] }), ReplaceStop: (e3) => ({ kind: 5, nodes: Array.isArray(e3) ? e3 : [e3] }) };
652 function I(e3, t2) {
653 typeof t2 == `function` ? St(e3, t2) : St(e3, t2.enter, t2.exit);
654 }
655 function St(e3, t2 = () => F.Continue, n2 = () => F.Continue) {
656 let r2 = { value: [e3, 0, null], prev: null }, i2 = { parent: null, depth: 0, path() {
657 let e4 = [], t3 = r2;
658 for (; t3; ) {
659 let n3 = t3.value[2];
660 n3 && e4.push(n3), t3 = t3.prev;
661 }
662 return e4.reverse(), e4;
663 } };
664 for (; r2 !== null; ) {
665 let e4 = r2.value, a2 = e4[0], o2 = e4[1], s2 = e4[2];
666 if (o2 >= a2.length) {
667 r2 = r2.prev, --i2.depth;
668 continue;
669 }
670 if (i2.parent = s2, o2 >= 0) {
671 let n3 = a2[o2], s3 = t2(n3, i2) ?? F.Continue;
672 switch (s3.kind) {
673 case 0:
674 n3.nodes && n3.nodes.length > 0 && (i2.depth += 1, r2 = { value: [n3.nodes, 0, n3], prev: r2 }), e4[1] = ~o2;
675 continue;
676 case 2:
677 return;
678 case 1:
679 e4[1] = ~o2;
680 continue;
681 case 3:
682 a2.splice(o2, 1, ...s3.nodes);
683 continue;
684 case 5:
685 a2.splice(o2, 1, ...s3.nodes);
686 return;
687 case 4:
688 a2.splice(o2, 1, ...s3.nodes), e4[1] += s3.nodes.length;
689 continue;
690 default:
691 throw Error(`Invalid \`WalkAction.${xt[s3.kind] ?? `Unknown(${s3.kind})`}\` in enter.`);
692 }
693 }
694 let c2 = ~o2, l2 = a2[c2], u2 = n2(l2, i2) ?? F.Continue;
695 switch (u2.kind) {
696 case 0:
697 e4[1] = c2 + 1;
698 continue;
699 case 2:
700 return;
701 case 3:
702 a2.splice(c2, 1, ...u2.nodes), e4[1] = c2 + u2.nodes.length;
703 continue;
704 case 5:
705 a2.splice(c2, 1, ...u2.nodes);
706 return;
707 case 4:
708 a2.splice(c2, 1, ...u2.nodes), e4[1] = c2 + u2.nodes.length;
709 continue;
710 default:
711 throw Error(`Invalid \`WalkAction.${xt[u2.kind] ?? `Unknown(${u2.kind})`}\` in exit.`);
712 }
713 }
714 }
715 function Ct(e3) {
716 let t2 = [];
717 return I(P(e3), (e4) => {
718 if (!(e4.kind !== `function` || e4.value !== `var`)) return I(e4.nodes, (e5) => {
719 e5.kind !== `word` || e5.value[0] !== `-` || e5.value[1] !== `-` || t2.push(e5.value);
720 }), F.Skip;
721 }), t2;
722 }
723 var wt = 64;
724 function L(e3, t2 = []) {
725 return { kind: `rule`, selector: e3, nodes: t2 };
726 }
727 function R(e3, t2 = ``, n2 = []) {
728 return { kind: `at-rule`, name: e3, params: t2, nodes: n2 };
729 }
730 function z(e3, t2 = []) {
731 return e3.charCodeAt(0) === wt ? Ze(e3, t2) : L(e3, t2);
732 }
733 function B(e3, t2, n2 = false) {
734 return { kind: `declaration`, property: e3, value: t2, important: n2 };
735 }
736 function Tt(e3) {
737 return { kind: `comment`, value: e3 };
738 }
739 function Et(e3, t2) {
740 return { kind: `context`, context: e3, nodes: t2 };
741 }
742 function V(e3) {
743 return { kind: `at-root`, nodes: e3 };
744 }
745 function H(e3) {
746 switch (e3.kind) {
747 case `rule`:
748 return { kind: e3.kind, selector: e3.selector, nodes: e3.nodes.map(H), src: e3.src, dst: e3.dst };
749 case `at-rule`:
750 return { kind: e3.kind, name: e3.name, params: e3.params, nodes: e3.nodes.map(H), src: e3.src, dst: e3.dst };
751 case `at-root`:
752 return { kind: e3.kind, nodes: e3.nodes.map(H), src: e3.src, dst: e3.dst };
753 case `context`:
754 return { kind: e3.kind, context: { ...e3.context }, nodes: e3.nodes.map(H), src: e3.src, dst: e3.dst };
755 case `declaration`:
756 return { kind: e3.kind, property: e3.property, value: e3.value, important: e3.important, src: e3.src, dst: e3.dst };
757 case `comment`:
758 return { kind: e3.kind, value: e3.value, src: e3.src, dst: e3.dst };
759 default:
760 throw Error(`Unknown node kind: ${e3.kind}`);
761 }
762 }
763 function Dt(e3) {
764 return { depth: e3.depth, get context() {
765 let t2 = {};
766 for (let n2 of e3.path()) n2.kind === `context` && Object.assign(t2, n2.context);
767 return Object.defineProperty(this, `context`, { value: t2 }), t2;
768 }, get parent() {
769 let e4 = this.path().pop() ?? null;
770 return Object.defineProperty(this, `parent`, { value: e4 }), e4;
771 }, path() {
772 return e3.path().filter((e4) => e4.kind !== `context`);
773 } };
774 }
775 function Ot(e3, t2, n2 = 3) {
776 let r2 = [], i2 = /* @__PURE__ */ new Set(), a2 = new j(() => /* @__PURE__ */ new Set()), o2 = new j(() => /* @__PURE__ */ new Set()), s2 = /* @__PURE__ */ new Set(), c2 = /* @__PURE__ */ new Set(), l2 = [], u2 = [], d2 = new j(() => /* @__PURE__ */ new Set());
777 function f2(e4, p3, m2 = {}, h2 = 0) {
778 if (e4.kind === `declaration`) {
779 if (e4.property === `--tw-sort` || e4.value === void 0 || e4.value === null) return;
780 if (m2.theme && e4.property[0] === `-` && e4.property[1] === `-`) {
781 if (e4.value === `initial`) {
782 e4.value = void 0;
783 return;
784 }
785 m2.keyframes || a2.get(p3).add(e4);
786 }
787 if (e4.value.includes(`var(`)) if (m2.theme && e4.property[0] === `-` && e4.property[1] === `-`) for (let t3 of Ct(e4.value)) d2.get(t3).add(e4.property);
788 else t2.trackUsedVariables(e4.value);
789 if (e4.property === `animation`) for (let t3 of jt(e4.value)) c2.add(t3);
790 n2 & 2 && e4.value.includes(`color-mix(`) && !m2.supportsColorMix && !m2.keyframes && o2.get(p3).add(e4), p3.push(e4);
791 } else if (e4.kind === `rule`) {
792 let t3 = [];
793 for (let n4 of e4.nodes) f2(n4, t3, m2, h2 + 1);
794 let n3 = {}, r3 = /* @__PURE__ */ new Set();
795 for (let e5 of t3) {
796 if (e5.kind !== `declaration`) continue;
797 let t4 = `${e5.property}:${e5.value}:${e5.important}`;
798 n3[t4] ?? (n3[t4] = []), n3[t4].push(e5);
799 }
800 for (let e5 in n3) for (let t4 = 0; t4 < n3[e5].length - 1; ++t4) r3.add(n3[e5][t4]);
801 if (r3.size > 0 && (t3 = t3.filter((e5) => !r3.has(e5))), t3.length === 0) return;
802 e4.selector === `&` ? p3.push(...t3) : p3.push({ ...e4, nodes: t3 });
803 } else if (e4.kind === `at-rule` && e4.name === `@property` && h2 === 0) {
804 if (i2.has(e4.params)) return;
805 if (n2 & 1) {
806 let t4 = e4.params, n3 = null, r3 = false;
807 for (let t5 of e4.nodes) t5.kind === `declaration` && (t5.property === `initial-value` ? n3 = t5.value : t5.property === `inherits` && (r3 = t5.value === `true`));
808 let i3 = B(t4, n3 ?? `initial`);
809 i3.src = e4.src, r3 ? l2.push(i3) : u2.push(i3);
810 }
811 i2.add(e4.params);
812 let t3 = { ...e4, nodes: [] };
813 for (let n3 of e4.nodes) f2(n3, t3.nodes, m2, h2 + 1);
814 p3.push(t3);
815 } else if (e4.kind === `at-rule`) {
816 e4.name === `@keyframes` ? m2 = { ...m2, keyframes: true } : e4.name === `@supports` && e4.params.includes(`color-mix(`) && (m2 = { ...m2, supportsColorMix: true });
817 let t3 = { ...e4, nodes: [] };
818 for (let n3 of e4.nodes) f2(n3, t3.nodes, m2, h2 + 1);
819 e4.name === `@keyframes` && m2.theme && s2.add(t3), (t3.nodes.length > 0 || t3.name === `@layer` || t3.name === `@charset` || t3.name === `@custom-media` || t3.name === `@namespace` || t3.name === `@import`) && p3.push(t3);
820 } else if (e4.kind === `at-root`) for (let t3 of e4.nodes) {
821 let e5 = [];
822 f2(t3, e5, m2, 0);
823 for (let t4 of e5) r2.push(t4);
824 }
825 else if (e4.kind === `context`) {
826 if (e4.context.reference) return;
827 for (let t3 of e4.nodes) f2(t3, p3, { ...m2, ...e4.context }, h2);
828 } else e4.kind === `comment` && p3.push(e4);
829 }
830 let p2 = [];
831 for (let t3 of e3) f2(t3, p2, {}, 0);
832 e: for (let [e4, n3] of a2) for (let r3 of n3) {
833 if (At(r3.property, t2.theme, d2)) {
834 if (r3.property.startsWith(t2.theme.prefixKey(`--animate-`))) for (let e5 of jt(r3.value)) c2.add(e5);
835 continue;
836 }
837 let n4 = e4.indexOf(r3);
838 if (e4.splice(n4, 1), e4.length === 0) {
839 let t3 = kt(p2, (t4) => t4.kind === `rule` && t4.nodes === e4);
840 if (!t3 || t3.length === 0) continue e;
841 t3.unshift({ kind: `at-root`, nodes: p2 });
842 do {
843 let e5 = t3.pop();
844 if (!e5) break;
845 let n5 = t3[t3.length - 1];
846 if (!n5 || n5.kind !== `at-root` && n5.kind !== `at-rule`) break;
847 let r4 = n5.nodes.indexOf(e5);
848 if (r4 === -1) break;
849 n5.nodes.splice(r4, 1);
850 } while (true);
851 continue e;
852 }
853 }
854 for (let e4 of s2) if (!c2.has(e4.params)) {
855 let t3 = r2.indexOf(e4);
856 r2.splice(t3, 1);
857 }
858 if (p2 = p2.concat(r2), n2 & 2) for (let [e4, n3] of o2) for (let r3 of n3) {
859 let n4 = e4.indexOf(r3);
860 if (n4 === -1 || r3.value == null) continue;
861 let i3 = P(r3.value), a3 = false;
862 if (I(i3, (e5) => {
863 if (e5.kind !== `function` || e5.value !== `color-mix`) return;
864 let n5 = false, r4 = false;
865 if (I(e5.nodes, (e6) => {
866 if (e6.kind == `word` && e6.value.toLowerCase() === `currentcolor`) {
867 r4 = true, a3 = true;
868 return;
869 }
870 let i4 = e6, o4 = null, s4 = /* @__PURE__ */ new Set();
871 do {
872 if (i4.kind !== `function` || i4.value !== `var`) return;
873 let e7 = i4.nodes[0];
874 if (!e7 || e7.kind !== `word`) return;
875 let c3 = e7.value;
876 if (s4.has(c3)) {
877 n5 = true;
878 return;
879 }
880 if (s4.add(c3), a3 = true, o4 = t2.theme.resolveValue(null, [e7.value]), !o4) {
881 n5 = true;
882 return;
883 }
884 if (o4.toLowerCase() === `currentcolor`) {
885 r4 = true;
886 return;
887 }
888 i4 = o4.startsWith(`var(`) ? P(o4)[0] : null;
889 } while (i4);
890 return F.Replace({ kind: `word`, value: o4 });
891 }), n5 || r4) {
892 let t3 = e5.nodes.findIndex((e6) => e6.kind === `separator` && e6.value.trim().includes(`,`));
893 if (t3 === -1) return;
894 let n6 = e5.nodes.length > t3 ? e5.nodes[t3 + 1] : null;
895 return n6 ? F.Replace(n6) : void 0;
896 } else if (a3) {
897 let t3 = e5.nodes[2];
898 t3.kind === `word` && (t3.value === `oklab` || t3.value === `oklch` || t3.value === `lab` || t3.value === `lch`) && (t3.value = `srgb`);
899 }
900 }), !a3) continue;
901 let o3 = { ...r3, value: N(i3) }, s3 = z(`@supports (color: color-mix(in lab, red, red))`, [r3]);
902 s3.src = r3.src, e4.splice(n4, 1, o3, s3);
903 }
904 if (n2 & 1) {
905 let e4 = [];
906 if (l2.length > 0) {
907 let t3 = z(`:root, :host`, l2);
908 t3.src = l2[0].src, e4.push(t3);
909 }
910 if (u2.length > 0) {
911 let t3 = z(`*, ::before, ::after, ::backdrop`, u2);
912 t3.src = u2[0].src, e4.push(t3);
913 }
914 if (e4.length > 0) {
915 let t3 = p2.findIndex((e5) => !(e5.kind === `comment` || e5.kind === `at-rule` && (e5.name === `@charset` || e5.name === `@import`))), n3 = R(`@layer`, `properties`, []);
916 n3.src = e4[0].src, p2.splice(t3 < 0 ? p2.length : t3, 0, n3);
917 let r3 = z(`@layer properties`, [R(`@supports`, `((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b))))`, e4)]);
918 r3.src = e4[0].src, r3.nodes[0].src = e4[0].src, p2.push(r3);
919 }
920 }
921 return p2;
922 }
923 function U(e3, t2) {
924 let n2 = 0, r2 = { file: null, code: `` };
925 function i2(e4, a3 = 0) {
926 let o2 = ``, s2 = ` `.repeat(a3);
927 if (e4.kind === `declaration`) {
928 if (o2 += `${s2}${e4.property}: ${e4.value}${e4.important ? ` !important` : ``};
929 `, t2) {
930 n2 += s2.length;
931 let t3 = n2;
932 n2 += e4.property.length, n2 += 2, n2 += e4.value?.length ?? 0, e4.important && (n2 += 11);
933 let i3 = n2;
934 n2 += 2, e4.dst = [r2, t3, i3];
935 }
936 } else if (e4.kind === `rule`) {
937 if (o2 += `${s2}${e4.selector} {
938 `, t2) {
939 n2 += s2.length;
940 let t3 = n2;
941 n2 += e4.selector.length, n2 += 1, e4.dst = [r2, t3, n2], n2 += 2;
942 }
943 for (let t3 of e4.nodes) o2 += i2(t3, a3 + 1);
944 o2 += `${s2}}
945 `, t2 && (n2 += s2.length, n2 += 2);
946 } else if (e4.kind === `at-rule`) {
947 if (e4.nodes.length === 0) {
948 let i3 = `${s2}${e4.name} ${e4.params};
949 `;
950 if (t2) {
951 n2 += s2.length;
952 let t3 = n2;
953 n2 += e4.name.length, n2 += 1, n2 += e4.params.length;
954 let i4 = n2;
955 n2 += 2, e4.dst = [r2, t3, i4];
956 }
957 return i3;
958 }
959 if (o2 += `${s2}${e4.name}${e4.params ? ` ${e4.params} ` : ` `}{
960 `, t2) {
961 n2 += s2.length;
962 let t3 = n2;
963 n2 += e4.name.length, e4.params && (n2 += 1, n2 += e4.params.length), n2 += 1, e4.dst = [r2, t3, n2], n2 += 2;
964 }
965 for (let t3 of e4.nodes) o2 += i2(t3, a3 + 1);
966 o2 += `${s2}}
967 `, t2 && (n2 += s2.length, n2 += 2);
968 } else if (e4.kind === `comment`) {
969 if (o2 += `${s2}/*${e4.value}*/
970 `, t2) {
971 n2 += s2.length;
972 let t3 = n2;
973 n2 += 2 + e4.value.length + 2, e4.dst = [r2, t3, n2], n2 += 1;
974 }
975 } else if (e4.kind === `context` || e4.kind === `at-root`) return ``;
976 return o2;
977 }
978 let a2 = ``;
979 for (let t3 of e3) a2 += i2(t3, 0);
980 return r2.code = a2, a2;
981 }
982 function kt(e3, t2) {
983 let n2 = [];
984 return I(e3, (e4, r2) => {
985 if (t2(e4)) return n2 = r2.path(), n2.push(e4), F.Stop;
986 }), n2;
987 }
988 function At(e3, t2, n2, r2 = /* @__PURE__ */ new Set()) {
989 if (r2.has(e3) || (r2.add(e3), t2.getOptions(e3) & 24)) return true;
990 {
991 let i2 = n2.get(e3) ?? [];
992 for (let e4 of i2) if (At(e4, t2, n2, r2)) return true;
993 }
994 return false;
995 }
996 function jt(e3) {
997 return e3.split(/[\s,]+/);
998 }
999 function Mt(e3) {
1000 if (e3.indexOf(`(`) === -1) return Nt(e3);
1001 let t2 = P(e3);
1002 return Pt(t2), e3 = N(t2), e3 = m(e3), e3;
1003 }
1004 function Nt(e3, t2 = false) {
1005 let n2 = ``;
1006 for (let r2 = 0; r2 < e3.length; r2++) {
1007 let i2 = e3[r2];
1008 i2 === `\\` && e3[r2 + 1] === `_` ? (n2 += `_`, r2 += 1) : i2 === `_` && !t2 ? n2 += ` ` : n2 += i2;
1009 }
1010 return n2;
1011 }
1012 function Pt(e3) {
1013 for (let t2 of e3) switch (t2.kind) {
1014 case `function`:
1015 if (t2.value === `url` || t2.value.endsWith(`_url`)) {
1016 t2.value = Nt(t2.value);
1017 break;
1018 }
1019 if (t2.value === `var` || t2.value.endsWith(`_var`) || t2.value === `theme` || t2.value.endsWith(`_theme`)) {
1020 t2.value = Nt(t2.value);
1021 for (let e4 = 0; e4 < t2.nodes.length; e4++) {
1022 if (e4 == 0 && t2.nodes[e4].kind === `word`) {
1023 t2.nodes[e4].value = Nt(t2.nodes[e4].value, true);
1024 continue;
1025 }
1026 Pt([t2.nodes[e4]]);
1027 }
1028 break;
1029 }
1030 t2.value = Nt(t2.value), Pt(t2.nodes);
1031 break;
1032 case `separator`:
1033 case `word`:
1034 t2.value = Nt(t2.value);
1035 break;
1036 default:
1037 Ft(t2);
1038 }
1039 }
1040 function Ft(e3) {
1041 throw Error(`Unexpected value: ${e3}`);
1042 }
1043 var It = new Uint8Array(256);
1044 function Lt(e3) {
1045 let t2 = 0, n2 = e3.length;
1046 for (let r2 = 0; r2 < n2; r2++) {
1047 let i2 = e3.charCodeAt(r2);
1048 switch (i2) {
1049 case 92:
1050 r2 += 1;
1051 break;
1052 case 39:
1053 case 34:
1054 for (; ++r2 < n2; ) {
1055 let t3 = e3.charCodeAt(r2);
1056 if (t3 === 92) {
1057 r2 += 1;
1058 continue;
1059 }
1060 if (t3 === i2) break;
1061 }
1062 break;
1063 case 40:
1064 It[t2] = 41, t2++;
1065 break;
1066 case 91:
1067 It[t2] = 93, t2++;
1068 break;
1069 case 123:
1070 break;
1071 case 93:
1072 case 125:
1073 case 41:
1074 if (t2 === 0) return false;
1075 t2 > 0 && i2 === It[t2 - 1] && t2--;
1076 break;
1077 case 59:
1078 if (t2 === 0) return false;
1079 break;
1080 }
1081 }
1082 return true;
1083 }
1084 var Rt = 58, zt = 45, Bt = 97, Vt = 122, Ht = /^[a-zA-Z0-9_.%-]+$/;
1085 function Ut(e3) {
1086 switch (e3.kind) {
1087 case `arbitrary`:
1088 return { kind: e3.kind, property: e3.property, value: e3.value, modifier: e3.modifier ? { kind: e3.modifier.kind, value: e3.modifier.value } : null, variants: e3.variants.map(Wt), important: e3.important, raw: e3.raw };
1089 case `static`:
1090 return { kind: e3.kind, root: e3.root, variants: e3.variants.map(Wt), important: e3.important, raw: e3.raw };
1091 case `functional`:
1092 return { kind: e3.kind, root: e3.root, value: e3.value ? e3.value.kind === `arbitrary` ? { kind: e3.value.kind, dataType: e3.value.dataType, value: e3.value.value } : { kind: e3.value.kind, value: e3.value.value, fraction: e3.value.fraction } : null, modifier: e3.modifier ? { kind: e3.modifier.kind, value: e3.modifier.value } : null, variants: e3.variants.map(Wt), important: e3.important, raw: e3.raw };
1093 default:
1094 throw Error(`Unknown candidate kind`);
1095 }
1096 }
1097 function Wt(e3) {
1098 switch (e3.kind) {
1099 case `arbitrary`:
1100 return { kind: e3.kind, selector: e3.selector, relative: e3.relative };
1101 case `static`:
1102 return { kind: e3.kind, root: e3.root };
1103 case `functional`:
1104 return { kind: e3.kind, root: e3.root, value: e3.value ? { kind: e3.value.kind, value: e3.value.value } : null, modifier: e3.modifier ? { kind: e3.modifier.kind, value: e3.modifier.value } : null };
1105 case `compound`:
1106 return { kind: e3.kind, root: e3.root, variant: Wt(e3.variant), modifier: e3.modifier ? { kind: e3.modifier.kind, value: e3.modifier.value } : null };
1107 default:
1108 throw Error(`Unknown variant kind`);
1109 }
1110 }
1111 function* Gt(e3, t2) {
1112 let n2 = g(e3, `:`);
1113 if (t2.theme.prefix) {
1114 if (n2.length === 1 || n2[0] !== t2.theme.prefix) return null;
1115 n2.shift();
1116 }
1117 let r2 = n2.pop(), i2 = [];
1118 for (let e4 = n2.length - 1; e4 >= 0; --e4) {
1119 let r3 = t2.parseVariant(n2[e4]);
1120 if (r3 === null) return;
1121 i2.push(r3);
1122 }
1123 let a2 = false;
1124 r2[r2.length - 1] === `!` ? (a2 = true, r2 = r2.slice(0, -1)) : r2[0] === `!` && (a2 = true, r2 = r2.slice(1)), t2.utilities.has(r2, `static`) && !r2.includes(`[`) && (yield { kind: `static`, root: r2, variants: i2, important: a2, raw: e3 });
1125 let [o2, s2 = null, c2] = g(r2, `/`);
1126 if (c2) return;
1127 let l2 = s2 === null ? null : Kt(s2);
1128 if (s2 !== null && l2 === null) return;
1129 if (o2[0] === `[`) {
1130 if (o2[o2.length - 1] !== `]`) return;
1131 let t3 = o2.charCodeAt(1);
1132 if (t3 !== zt && !(t3 >= Bt && t3 <= Vt)) return;
1133 o2 = o2.slice(1, -1);
1134 let n3 = o2.indexOf(`:`);
1135 if (n3 === -1 || n3 === 0 || n3 === o2.length - 1) return;
1136 let r3 = o2.slice(0, n3), s3 = Mt(o2.slice(n3 + 1));
1137 if (!Lt(s3)) return;
1138 yield { kind: `arbitrary`, property: r3, value: s3, modifier: l2, variants: i2, important: a2, raw: e3 };
1139 return;
1140 }
1141 let u2;
1142 if (o2[o2.length - 1] === `]`) {
1143 let e4 = o2.indexOf(`-[`);
1144 if (e4 === -1) return;
1145 let n3 = o2.slice(0, e4);
1146 if (!t2.utilities.has(n3, `functional`)) return;
1147 u2 = [[n3, o2.slice(e4 + 1)]];
1148 } else if (o2[o2.length - 1] === `)`) {
1149 let e4 = o2.indexOf(`-(`);
1150 if (e4 === -1) return;
1151 let n3 = o2.slice(0, e4);
1152 if (!t2.utilities.has(n3, `functional`)) return;
1153 let r3 = o2.slice(e4 + 2, -1), i3 = g(r3, `:`), a3 = null;
1154 if (i3.length === 2 && (a3 = i3[0], r3 = i3[1]), r3[0] !== `-` || r3[1] !== `-` || !Lt(r3)) return;
1155 u2 = [[n3, a3 === null ? `[var(${r3})]` : `[${a3}:var(${r3})]`]];
1156 } else u2 = Jt(o2, (e4) => t2.utilities.has(e4, `functional`));
1157 for (let [t3, n3] of u2) {
1158 let r3 = { kind: `functional`, root: t3, modifier: l2, value: null, variants: i2, important: a2, raw: e3 };
1159 if (n3 === null) {
1160 yield r3;
1161 continue;
1162 }
1163 {
1164 let e4 = n3.indexOf(`[`);
1165 if (e4 !== -1) {
1166 if (n3[n3.length - 1] !== `]`) return;
1167 let t4 = Mt(n3.slice(e4 + 1, -1));
1168 if (!Lt(t4)) continue;
1169 let i3 = null;
1170 for (let e5 = 0; e5 < t4.length; e5++) {
1171 let n4 = t4.charCodeAt(e5);
1172 if (n4 === Rt) {
1173 i3 = t4.slice(0, e5), t4 = t4.slice(e5 + 1);
1174 break;
1175 }
1176 if (!(n4 === zt || n4 >= Bt && n4 <= Vt)) break;
1177 }
1178 if (t4.length === 0 || t4.trim().length === 0 || i3 === ``) continue;
1179 r3.value = { kind: `arbitrary`, dataType: i3 || null, value: t4 };
1180 } else {
1181 let e5 = s2 === null || r3.modifier?.kind === `arbitrary` ? null : `${n3}/${s2}`;
1182 if (!Ht.test(n3)) continue;
1183 r3.value = { kind: `named`, value: n3, fraction: e5 };
1184 }
1185 }
1186 yield r3;
1187 }
1188 }
1189 function Kt(e3) {
1190 if (e3[0] === `[` && e3[e3.length - 1] === `]`) {
1191 let t2 = Mt(e3.slice(1, -1));
1192 return !Lt(t2) || t2.length === 0 || t2.trim().length === 0 ? null : { kind: `arbitrary`, value: t2 };
1193 }
1194 return e3[0] === `(` && e3[e3.length - 1] === `)` ? (e3 = e3.slice(1, -1), e3[0] !== `-` || e3[1] !== `-` || !Lt(e3) ? null : (e3 = `var(${e3})`, { kind: `arbitrary`, value: Mt(e3) })) : Ht.test(e3) ? { kind: `named`, value: e3 } : null;
1195 }
1196 function qt(e3, t2) {
1197 if (e3[0] === `[` && e3[e3.length - 1] === `]`) {
1198 if (e3[1] === `@` && e3.includes(`&`)) return null;
1199 let t3 = Mt(e3.slice(1, -1));
1200 if (!Lt(t3) || t3.length === 0 || t3.trim().length === 0) return null;
1201 let n2 = t3[0] === `>` || t3[0] === `+` || t3[0] === `~`;
1202 return !n2 && t3[0] !== `@` && !t3.includes(`&`) && (t3 = `&:is(${t3})`), { kind: `arbitrary`, selector: t3, relative: n2 };
1203 }
1204 {
1205 let [n2, r2 = null, i2] = g(e3, `/`);
1206 if (i2) return null;
1207 let a2 = Jt(n2, (e4) => t2.variants.has(e4));
1208 for (let [e4, n3] of a2) switch (t2.variants.kind(e4)) {
1209 case `static`:
1210 return n3 !== null || r2 !== null ? null : { kind: `static`, root: e4 };
1211 case `functional`: {
1212 let t3 = r2 === null ? null : Kt(r2);
1213 if (r2 !== null && t3 === null) return null;
1214 if (n3 === null) return { kind: `functional`, root: e4, modifier: t3, value: null };
1215 if (n3[n3.length - 1] === `]`) {
1216 if (n3[0] !== `[`) continue;
1217 let r3 = Mt(n3.slice(1, -1));
1218 return !Lt(r3) || r3.length === 0 || r3.trim().length === 0 ? null : { kind: `functional`, root: e4, modifier: t3, value: { kind: `arbitrary`, value: r3 } };
1219 }
1220 if (n3[n3.length - 1] === `)`) {
1221 if (n3[0] !== `(`) continue;
1222 let r3 = Mt(n3.slice(1, -1));
1223 return !Lt(r3) || r3.length === 0 || r3.trim().length === 0 || r3[0] !== `-` || r3[1] !== `-` ? null : { kind: `functional`, root: e4, modifier: t3, value: { kind: `arbitrary`, value: `var(${r3})` } };
1224 }
1225 if (!Ht.test(n3)) continue;
1226 return { kind: `functional`, root: e4, modifier: t3, value: { kind: `named`, value: n3 } };
1227 }
1228 case `compound`: {
1229 if (n3 === null) return null;
1230 r2 && (e4 === `not` || e4 === `has` || e4 === `in`) && (n3 = `${n3}/${r2}`, r2 = null);
1231 let i3 = t2.parseVariant(n3);
1232 if (i3 === null || !t2.variants.compoundsWith(e4, i3)) return null;
1233 let a3 = r2 === null ? null : Kt(r2);
1234 return r2 !== null && a3 === null ? null : { kind: `compound`, root: e4, modifier: a3, variant: i3 };
1235 }
1236 }
1237 }
1238 return null;
1239 }
1240 function* Jt(e3, t2) {
1241 t2(e3) && (yield [e3, null]);
1242 let n2 = e3.lastIndexOf(`-`);
1243 for (; n2 > 0; ) {
1244 let r2 = e3.slice(0, n2);
1245 if (t2(r2)) {
1246 let i2 = [r2, e3.slice(n2 + 1)];
1247 if (i2[1] === `` || i2[0] === `@` && t2(`@`) && e3[n2] === `-`) break;
1248 yield i2;
1249 }
1250 n2 = e3.lastIndexOf(`-`, n2 - 1);
1251 }
1252 e3[0] === `@` && t2(`@`) && (yield [`@`, e3.slice(1)]);
1253 }
1254 function Yt(e3, t2) {
1255 let n2 = [];
1256 for (let e4 of t2.variants) n2.unshift(Zt(e4));
1257 e3.theme.prefix && n2.unshift(e3.theme.prefix);
1258 let r2 = ``;
1259 if (t2.kind === `static` && (r2 += t2.root), t2.kind === `functional` && (r2 += t2.root, t2.value)) if (t2.value.kind === `arbitrary`) {
1260 if (t2.value !== null) {
1261 let e4 = an(t2.value.value), n3 = e4 ? t2.value.value.slice(4, -1) : t2.value.value, [i2, a2] = e4 ? [`(`, `)`] : [`[`, `]`];
1262 t2.value.dataType ? r2 += `-${i2}${t2.value.dataType}:${$t(n3)}${a2}` : r2 += `-${i2}${$t(n3)}${a2}`;
1263 }
1264 } else t2.value.kind === `named` && (r2 += `-${t2.value.value}`);
1265 return t2.kind === `arbitrary` && (r2 += `[${t2.property}:${$t(t2.value)}]`), (t2.kind === `arbitrary` || t2.kind === `functional`) && (r2 += Xt(t2.modifier)), t2.important && (r2 += `!`), n2.push(r2), n2.join(`:`);
1266 }
1267 function Xt(e3) {
1268 if (e3 === null) return ``;
1269 let t2 = an(e3.value), n2 = t2 ? e3.value.slice(4, -1) : e3.value, [r2, i2] = t2 ? [`(`, `)`] : [`[`, `]`];
1270 return e3.kind === `arbitrary` ? `/${r2}${$t(n2)}${i2}` : e3.kind === `named` ? `/${e3.value}` : ``;
1271 }
1272 function Zt(e3) {
1273 if (e3.kind === `static`) return e3.root;
1274 if (e3.kind === `arbitrary`) return `[${$t(tn(e3.selector))}]`;
1275 let t2 = ``;
1276 if (e3.kind === `functional`) {
1277 t2 += e3.root;
1278 let n2 = e3.root !== `@`;
1279 if (e3.value) if (e3.value.kind === `arbitrary`) {
1280 let r2 = an(e3.value.value), i2 = r2 ? e3.value.value.slice(4, -1) : e3.value.value, [a2, o2] = r2 ? [`(`, `)`] : [`[`, `]`];
1281 t2 += `${n2 ? `-` : ``}${a2}${$t(i2)}${o2}`;
1282 } else e3.value.kind === `named` && (t2 += `${n2 ? `-` : ``}${e3.value.value}`);
1283 }
1284 return e3.kind === `compound` && (t2 += e3.root, t2 += `-`, t2 += Zt(e3.variant)), (e3.kind === `functional` || e3.kind === `compound`) && (t2 += Xt(e3.modifier)), t2;
1285 }
1286 var Qt = new j((e3) => {
1287 let t2 = P(e3), n2 = /* @__PURE__ */ new Set();
1288 return I(t2, (e4, r2) => {
1289 let i2 = r2.parent === null ? t2 : r2.parent.nodes ?? [];
1290 if (e4.kind === `word` && (e4.value === `+` || e4.value === `-` || e4.value === `*` || e4.value === `/`)) {
1291 let t3 = i2.indexOf(e4) ?? -1;
1292 if (t3 === -1) return;
1293 let r3 = i2[t3 - 1];
1294 if (r3?.kind !== `separator` || r3.value !== ` `) return;
1295 let a2 = i2[t3 + 1];
1296 if (a2?.kind !== `separator` || a2.value !== ` `) return;
1297 n2.add(r3), n2.add(a2);
1298 } else e4.kind === `separator` && e4.value.length > 0 && e4.value.trim() === `` ? (i2[0] === e4 || i2[i2.length - 1] === e4) && n2.add(e4) : e4.kind === `separator` && e4.value.trim() === `,` && (e4.value = `,`);
1299 }), n2.size > 0 && I(t2, (e4) => {
1300 if (n2.has(e4)) return n2.delete(e4), F.ReplaceSkip([]);
1301 }), nn(t2), N(t2);
1302 });
1303 function $t(e3) {
1304 return Qt.get(e3);
1305 }
1306 var en = new j((e3) => {
1307 let t2 = P(e3);
1308 return t2.length === 3 && t2[0].kind === `word` && t2[0].value === `&` && t2[1].kind === `separator` && t2[1].value === `:` && t2[2].kind === `function` && t2[2].value === `is` ? N(t2[2].nodes) : e3;
1309 });
1310 function tn(e3) {
1311 return en.get(e3);
1312 }
1313 function nn(e3) {
1314 for (let t2 of e3) switch (t2.kind) {
1315 case `function`:
1316 if (t2.value === `url` || t2.value.endsWith(`_url`)) {
1317 t2.value = sn(t2.value);
1318 break;
1319 }
1320 if (t2.value === `var` || t2.value.endsWith(`_var`) || t2.value === `theme` || t2.value.endsWith(`_theme`)) {
1321 t2.value = sn(t2.value);
1322 for (let e4 = 0; e4 < t2.nodes.length; e4++) nn([t2.nodes[e4]]);
1323 break;
1324 }
1325 t2.value = sn(t2.value), nn(t2.nodes);
1326 break;
1327 case `separator`:
1328 t2.value = sn(t2.value);
1329 break;
1330 case `word`:
1331 (t2.value[0] !== `-` || t2.value[1] !== `-`) && (t2.value = sn(t2.value));
1332 break;
1333 default:
1334 on(t2);
1335 }
1336 }
1337 var rn = new j((e3) => {
1338 let t2 = P(e3);
1339 return t2.length === 1 && t2[0].kind === `function` && t2[0].value === `var`;
1340 });
1341 function an(e3) {
1342 return rn.get(e3);
1343 }
1344 function on(e3) {
1345 throw Error(`Unexpected value: ${e3}`);
1346 }
1347 function sn(e3) {
1348 return e3.replaceAll(`_`, String.raw`\_`).replaceAll(` `, `_`);
1349 }
1350 function cn(e3, t2, n2) {
1351 if (e3 === t2) return 0;
1352 let r2 = e3.indexOf(`(`), i2 = t2.indexOf(`(`), a2 = r2 === -1 ? e3.replace(/[\d.]+/g, ``) : e3.slice(0, r2), o2 = i2 === -1 ? t2.replace(/[\d.]+/g, ``) : t2.slice(0, i2), s2 = (a2 === o2 ? 0 : a2 < o2 ? -1 : 1) || (n2 === `asc` ? parseInt(e3) - parseInt(t2) : parseInt(t2) - parseInt(e3));
1353 return Number.isNaN(s2) ? e3 < t2 ? -1 : 1 : s2;
1354 }
1355 var ln = /* @__PURE__ */ new Set([`inset`, `inherit`, `initial`, `revert`, `unset`]), un = /^-?(\d+|\.\d+)(.*?)$/g;
1356 function dn(e3, t2) {
1357 return g(e3, `,`).map((e4) => {
1358 e4 = e4.trim();
1359 let n2 = g(e4, ` `).filter((e5) => e5.trim() !== ``), r2 = null, i2 = null, a2 = null;
1360 for (let e5 of n2) ln.has(e5) || (un.test(e5) ? (i2 === null ? i2 = e5 : a2 === null && (a2 = e5), un.lastIndex = 0) : r2 === null && (r2 = e5));
1361 if (i2 === null || a2 === null) return e4;
1362 let o2 = t2(r2 ?? `currentcolor`);
1363 return r2 === null ? `${e4} ${o2}` : e4.replace(r2, o2);
1364 }).join(`, `);
1365 }
1366 var fn = `0,0.5,1,1.5,2,2.5,3,3.5,4,5,6,7,8,9,10,11,12,14,16,20,24,28,32,36,40,44,48,52,56,60,64,72,80,96`.split(`,`), pn = class {
1367 constructor() {
1368 __publicField(this, "utilities", new j(() => []));
1369 __publicField(this, "completions", /* @__PURE__ */ new Map());
1370 }
1371 static(e3, t2) {
1372 this.utilities.get(e3).push({ kind: `static`, compileFn: t2 });
1373 }
1374 functional(e3, t2, n2) {
1375 this.utilities.get(e3).push({ kind: `functional`, compileFn: t2, options: n2 });
1376 }
1377 has(e3, t2) {
1378 return this.utilities.has(e3) && this.utilities.get(e3).some((e4) => e4.kind === t2);
1379 }
1380 get(e3) {
1381 return this.utilities.has(e3) ? this.utilities.get(e3) : [];
1382 }
1383 getCompletions(e3) {
1384 return this.has(e3, `static`) ? this.completions.get(e3)?.() ?? [{ supportsNegative: false, values: [], modifiers: [] }] : this.completions.get(e3)?.() ?? [];
1385 }
1386 suggest(e3, t2) {
1387 let n2 = this.completions.get(e3);
1388 n2 ? this.completions.set(e3, () => [...n2?.(), ...t2?.()]) : this.completions.set(e3, t2);
1389 }
1390 keys(e3) {
1391 let t2 = [];
1392 for (let [n2, r2] of this.utilities.entries()) for (let i2 of r2) if (i2.kind === e3) {
1393 t2.push(n2);
1394 break;
1395 }
1396 return t2;
1397 }
1398 };
1399 function W(e3, t2, n2) {
1400 return R(`@property`, e3, [B(`syntax`, n2 ? `"${n2}"` : `"*"`), B(`inherits`, `false`), ...t2 ? [B(`initial-value`, t2)] : []]);
1401 }
1402 function G(e3, t2) {
1403 if (t2 === null) return e3;
1404 let n2 = Number(t2);
1405 return Number.isNaN(n2) || (t2 = `${n2 * 100}%`), t2 === `100%` ? e3 : `color-mix(in oklab, ${e3} ${t2}, transparent)`;
1406 }
1407 function mn(e3, t2) {
1408 let n2 = Number(t2);
1409 return Number.isNaN(n2) || (t2 = `${n2 * 100}%`), `oklab(from ${e3} l a b / ${t2})`;
1410 }
1411 function K(e3, t2, n2) {
1412 if (!t2) return e3;
1413 if (t2.kind === `arbitrary`) return G(e3, t2.value);
1414 let r2 = n2.resolve(t2.value, [`--opacity`]);
1415 return r2 ? G(e3, r2) : ye(t2.value) ? G(e3, `${t2.value}%`) : null;
1416 }
1417 function q(e3, t2, n2) {
1418 let r2 = null;
1419 switch (e3.value.value) {
1420 case `inherit`:
1421 r2 = `inherit`;
1422 break;
1423 case `transparent`:
1424 r2 = `transparent`;
1425 break;
1426 case `current`:
1427 r2 = `currentcolor`;
1428 break;
1429 default:
1430 r2 = t2.resolve(e3.value.value, n2);
1431 break;
1432 }
1433 return r2 ? K(r2, e3.modifier, t2) : null;
1434 }
1435 var hn = /(\d+)_(\d+)/g;
1436 function gn(e3) {
1437 let t2 = new pn();
1438 function n2(n3, r3) {
1439 function* i3(t3) {
1440 for (let n4 of e3.keysInNamespaces(t3)) yield n4.replace(hn, (e4, t4, n5) => `${t4}.${n5}`);
1441 }
1442 let a3 = `1/2.1/3.2/3.1/4.2/4.3/4.1/5.2/5.3/5.4/5.1/6.2/6.3/6.4/6.5/6.1/12.2/12.3/12.4/12.5/12.6/12.7/12.8/12.9/12.10/12.11/12`.split(`.`);
1443 t2.suggest(n3, () => {
1444 let e4 = [];
1445 for (let t3 of r3()) {
1446 if (typeof t3 == `string`) {
1447 e4.push({ values: [t3], modifiers: [] });
1448 continue;
1449 }
1450 let n4 = [...t3.values ?? [], ...i3(t3.valueThemeKeys ?? [])], r4 = [...t3.modifiers ?? [], ...i3(t3.modifierThemeKeys ?? [])];
1451 t3.supportsFractions && n4.push(...a3), t3.hasDefaultValue && n4.unshift(null), e4.push({ supportsNegative: t3.supportsNegative, values: n4, modifiers: r4 });
1452 }
1453 return e4;
1454 });
1455 }
1456 function r2(e4, n3) {
1457 t2.static(e4, () => n3.map((e5) => typeof e5 == `function` ? e5() : B(e5[0], e5[1])));
1458 }
1459 function i2(r3, i3) {
1460 i3.staticValues && (i3.staticValues = Object.assign(/* @__PURE__ */ Object.create(null), i3.staticValues));
1461 function a3({ negative: t3 }) {
1462 return (n3) => {
1463 let r4 = null, a4 = null;
1464 if (n3.value) if (n3.value.kind === `arbitrary`) {
1465 if (n3.modifier) return;
1466 r4 = n3.value.value, a4 = n3.value.dataType;
1467 } else {
1468 if (r4 = e3.resolve(n3.value.fraction ?? n3.value.value, i3.themeKeys ?? []), r4 === null && i3.supportsFractions && n3.value.fraction) {
1469 let [e4, t4] = g(n3.value.fraction, `/`);
1470 if (!E(e4) || !E(t4)) return;
1471 r4 = `calc(${e4} / ${t4} * 100%)`;
1472 }
1473 if (r4 === null && t3 && i3.handleNegativeBareValue) {
1474 if (r4 = i3.handleNegativeBareValue(n3.value), !r4?.includes(`/`) && n3.modifier) return;
1475 if (r4 !== null) return i3.handle(r4, null);
1476 }
1477 if (r4 === null && i3.handleBareValue && (r4 = i3.handleBareValue(n3.value), !r4?.includes(`/`) && n3.modifier)) return;
1478 if (r4 === null && !t3 && i3.staticValues && !n3.modifier) {
1479 let e4 = i3.staticValues[n3.value.value];
1480 if (e4) return e4.map(H);
1481 }
1482 }
1483 else {
1484 if (n3.modifier) return;
1485 r4 = i3.defaultValue === void 0 ? e3.resolve(null, i3.themeKeys ?? []) : i3.defaultValue;
1486 }
1487 if (r4 !== null) return i3.handle(t3 ? `calc(${r4} * -1)` : r4, a4);
1488 };
1489 }
1490 if (i3.supportsNegative && t2.functional(`-${r3}`, a3({ negative: true })), t2.functional(r3, a3({ negative: false })), n2(r3, () => [{ supportsNegative: i3.supportsNegative, valueThemeKeys: i3.themeKeys ?? [], hasDefaultValue: i3.defaultValue !== void 0 && i3.defaultValue !== null, supportsFractions: i3.supportsFractions }]), i3.staticValues && Object.keys(i3.staticValues).length > 0) {
1491 let e4 = Object.keys(i3.staticValues);
1492 n2(r3, () => [{ values: e4 }]);
1493 }
1494 }
1495 function a2(r3, i3) {
1496 t2.functional(r3, (t3) => {
1497 if (!t3.value) return;
1498 let n3 = null;
1499 if (t3.value.kind === `arbitrary` ? (n3 = t3.value.value, n3 = K(n3, t3.modifier, e3)) : n3 = q(t3, e3, i3.themeKeys), n3 !== null) return i3.handle(n3);
1500 }), n2(r3, () => [{ values: [`current`, `inherit`, `transparent`], valueThemeKeys: i3.themeKeys, modifiers: Array.from({ length: 21 }, (e4, t3) => `${t3 * 5}`) }]);
1501 }
1502 function o2(r3, a3, o3, { supportsNegative: s3 = false, supportsFractions: c3 = false, staticValues: l3 } = {}) {
1503 s3 && t2.static(`-${r3}-px`, () => o3(`-1px`)), t2.static(`${r3}-px`, () => o3(`1px`)), i2(r3, { themeKeys: a3, supportsFractions: c3, supportsNegative: s3, defaultValue: null, handleBareValue: ({ value: t3 }) => {
1504 let n3 = e3.resolve(null, [`--spacing`]);
1505 return !n3 || !D(t3) ? null : `calc(${n3} * ${t3})`;
1506 }, handleNegativeBareValue: ({ value: t3 }) => {
1507 let n3 = e3.resolve(null, [`--spacing`]);
1508 return !n3 || !D(t3) ? null : `calc(${n3} * -${t3})`;
1509 }, handle: o3, staticValues: l3 }), n2(r3, () => [{ values: e3.get([`--spacing`]) ? fn : [], supportsNegative: s3, supportsFractions: c3, valueThemeKeys: a3 }]);
1510 }
1511 r2(`sr-only`, [[`position`, `absolute`], [`width`, `1px`], [`height`, `1px`], [`padding`, `0`], [`margin`, `-1px`], [`overflow`, `hidden`], [`clip-path`, `inset(50%)`], [`white-space`, `nowrap`], [`border-width`, `0`]]), r2(`not-sr-only`, [[`position`, `static`], [`width`, `auto`], [`height`, `auto`], [`padding`, `0`], [`margin`, `0`], [`overflow`, `visible`], [`clip-path`, `none`], [`white-space`, `normal`]]), r2(`pointer-events-none`, [[`pointer-events`, `none`]]), r2(`pointer-events-auto`, [[`pointer-events`, `auto`]]), r2(`visible`, [[`visibility`, `visible`]]), r2(`invisible`, [[`visibility`, `hidden`]]), r2(`collapse`, [[`visibility`, `collapse`]]), r2(`static`, [[`position`, `static`]]), r2(`fixed`, [[`position`, `fixed`]]), r2(`absolute`, [[`position`, `absolute`]]), r2(`relative`, [[`position`, `relative`]]), r2(`sticky`, [[`position`, `sticky`]]);
1512 for (let [e4, t3] of [[`inset`, `inset`], [`inset-x`, `inset-inline`], [`inset-y`, `inset-block`], [`inset-s`, `inset-inline-start`], [`inset-e`, `inset-inline-end`], [`inset-bs`, `inset-block-start`], [`inset-be`, `inset-block-end`], [`top`, `top`], [`right`, `right`], [`bottom`, `bottom`], [`left`, `left`]]) r2(`${e4}-auto`, [[t3, `auto`]]), r2(`${e4}-full`, [[t3, `100%`]]), r2(`-${e4}-full`, [[t3, `-100%`]]), o2(e4, [`--inset`, `--spacing`], (e5) => [B(t3, e5)], { supportsNegative: true, supportsFractions: true });
1513 r2(`isolate`, [[`isolation`, `isolate`]]), r2(`isolation-auto`, [[`isolation`, `auto`]]), i2(`z`, { supportsNegative: true, handleBareValue: ({ value: e4 }) => E(e4) ? e4 : null, themeKeys: [`--z-index`], handle: (e4) => [B(`z-index`, e4)], staticValues: { auto: [B(`z-index`, `auto`)] } }), n2(`z`, () => [{ supportsNegative: true, values: [`0`, `10`, `20`, `30`, `40`, `50`], valueThemeKeys: [`--z-index`] }]), i2(`order`, { supportsNegative: true, handleBareValue: ({ value: e4 }) => E(e4) ? e4 : null, themeKeys: [`--order`], handle: (e4) => [B(`order`, e4)], staticValues: { first: [B(`order`, `-9999`)], last: [B(`order`, `9999`)] } }), n2(`order`, () => [{ supportsNegative: true, values: Array.from({ length: 12 }, (e4, t3) => `${t3 + 1}`), valueThemeKeys: [`--order`] }]), i2(`col`, { supportsNegative: true, handleBareValue: ({ value: e4 }) => E(e4) ? e4 : null, themeKeys: [`--grid-column`], handle: (e4) => [B(`grid-column`, e4)], staticValues: { auto: [B(`grid-column`, `auto`)] } }), i2(`col-span`, { handleBareValue: ({ value: e4 }) => E(e4) ? e4 : null, handle: (e4) => [B(`grid-column`, `span ${e4} / span ${e4}`)], staticValues: { full: [B(`grid-column`, `1 / -1`)] } }), i2(`col-start`, { supportsNegative: true, handleBareValue: ({ value: e4 }) => E(e4) ? e4 : null, themeKeys: [`--grid-column-start`], handle: (e4) => [B(`grid-column-start`, e4)], staticValues: { auto: [B(`grid-column-start`, `auto`)] } }), i2(`col-end`, { supportsNegative: true, handleBareValue: ({ value: e4 }) => E(e4) ? e4 : null, themeKeys: [`--grid-column-end`], handle: (e4) => [B(`grid-column-end`, e4)], staticValues: { auto: [B(`grid-column-end`, `auto`)] } }), n2(`col-span`, () => [{ values: Array.from({ length: 12 }, (e4, t3) => `${t3 + 1}`), valueThemeKeys: [] }]), n2(`col-start`, () => [{ supportsNegative: true, values: Array.from({ length: 13 }, (e4, t3) => `${t3 + 1}`), valueThemeKeys: [`--grid-column-start`] }]), n2(`col-end`, () => [{ supportsNegative: true, values: Array.from({ length: 13 }, (e4, t3) => `${t3 + 1}`), valueThemeKeys: [`--grid-column-end`] }]), i2(`row`, { supportsNegative: true, handleBareValue: ({ value: e4 }) => E(e4) ? e4 : null, themeKeys: [`--grid-row`], handle: (e4) => [B(`grid-row`, e4)], staticValues: { auto: [B(`grid-row`, `auto`)] } }), i2(`row-span`, { themeKeys: [], handleBareValue: ({ value: e4 }) => E(e4) ? e4 : null, handle: (e4) => [B(`grid-row`, `span ${e4} / span ${e4}`)], staticValues: { full: [B(`grid-row`, `1 / -1`)] } }), i2(`row-start`, { supportsNegative: true, handleBareValue: ({ value: e4 }) => E(e4) ? e4 : null, themeKeys: [`--grid-row-start`], handle: (e4) => [B(`grid-row-start`, e4)], staticValues: { auto: [B(`grid-row-start`, `auto`)] } }), i2(`row-end`, { supportsNegative: true, handleBareValue: ({ value: e4 }) => E(e4) ? e4 : null, themeKeys: [`--grid-row-end`], handle: (e4) => [B(`grid-row-end`, e4)], staticValues: { auto: [B(`grid-row-end`, `auto`)] } }), n2(`row-span`, () => [{ values: Array.from({ length: 12 }, (e4, t3) => `${t3 + 1}`), valueThemeKeys: [] }]), n2(`row-start`, () => [{ supportsNegative: true, values: Array.from({ length: 13 }, (e4, t3) => `${t3 + 1}`), valueThemeKeys: [`--grid-row-start`] }]), n2(`row-end`, () => [{ supportsNegative: true, values: Array.from({ length: 13 }, (e4, t3) => `${t3 + 1}`), valueThemeKeys: [`--grid-row-end`] }]), r2(`float-start`, [[`float`, `inline-start`]]), r2(`float-end`, [[`float`, `inline-end`]]), r2(`float-right`, [[`float`, `right`]]), r2(`float-left`, [[`float`, `left`]]), r2(`float-none`, [[`float`, `none`]]), r2(`clear-start`, [[`clear`, `inline-start`]]), r2(`clear-end`, [[`clear`, `inline-end`]]), r2(`clear-right`, [[`clear`, `right`]]), r2(`clear-left`, [[`clear`, `left`]]), r2(`clear-both`, [[`clear`, `both`]]), r2(`clear-none`, [[`clear`, `none`]]);
1514 for (let [e4, t3] of [[`m`, `margin`], [`mx`, `margin-inline`], [`my`, `margin-block`], [`ms`, `margin-inline-start`], [`me`, `margin-inline-end`], [`mbs`, `margin-block-start`], [`mbe`, `margin-block-end`], [`mt`, `margin-top`], [`mr`, `margin-right`], [`mb`, `margin-bottom`], [`ml`, `margin-left`]]) r2(`${e4}-auto`, [[t3, `auto`]]), o2(e4, [`--margin`, `--spacing`], (e5) => [B(t3, e5)], { supportsNegative: true });
1515 r2(`box-border`, [[`box-sizing`, `border-box`]]), r2(`box-content`, [[`box-sizing`, `content-box`]]), i2(`line-clamp`, { themeKeys: [`--line-clamp`], handleBareValue: ({ value: e4 }) => E(e4) ? e4 : null, handle: (e4) => [B(`overflow`, `hidden`), B(`display`, `-webkit-box`), B(`-webkit-box-orient`, `vertical`), B(`-webkit-line-clamp`, e4)], staticValues: { none: [B(`overflow`, `visible`), B(`display`, `block`), B(`-webkit-box-orient`, `horizontal`), B(`-webkit-line-clamp`, `unset`)] } }), n2(`line-clamp`, () => [{ values: [`1`, `2`, `3`, `4`, `5`, `6`], valueThemeKeys: [`--line-clamp`] }]), r2(`block`, [[`display`, `block`]]), r2(`inline-block`, [[`display`, `inline-block`]]), r2(`inline`, [[`display`, `inline`]]), r2(`hidden`, [[`display`, `none`]]), r2(`inline-flex`, [[`display`, `inline-flex`]]), r2(`table`, [[`display`, `table`]]), r2(`inline-table`, [[`display`, `inline-table`]]), r2(`table-caption`, [[`display`, `table-caption`]]), r2(`table-cell`, [[`display`, `table-cell`]]), r2(`table-column`, [[`display`, `table-column`]]), r2(`table-column-group`, [[`display`, `table-column-group`]]), r2(`table-footer-group`, [[`display`, `table-footer-group`]]), r2(`table-header-group`, [[`display`, `table-header-group`]]), r2(`table-row-group`, [[`display`, `table-row-group`]]), r2(`table-row`, [[`display`, `table-row`]]), r2(`flow-root`, [[`display`, `flow-root`]]), r2(`flex`, [[`display`, `flex`]]), r2(`grid`, [[`display`, `grid`]]), r2(`inline-grid`, [[`display`, `inline-grid`]]), r2(`contents`, [[`display`, `contents`]]), r2(`list-item`, [[`display`, `list-item`]]), r2(`field-sizing-content`, [[`field-sizing`, `content`]]), r2(`field-sizing-fixed`, [[`field-sizing`, `fixed`]]), i2(`aspect`, { themeKeys: [`--aspect`], handleBareValue: ({ fraction: e4 }) => {
1516 if (e4 === null) return null;
1517 let [t3, n3] = g(e4, `/`);
1518 return !D(t3) || !D(n3) ? null : e4;
1519 }, handle: (e4) => [B(`aspect-ratio`, e4)], staticValues: { auto: [B(`aspect-ratio`, `auto`)], square: [B(`aspect-ratio`, `1 / 1`)] } });
1520 for (let [e4, t3] of [[`full`, `100%`], [`svw`, `100svw`], [`lvw`, `100lvw`], [`dvw`, `100dvw`], [`svh`, `100svh`], [`lvh`, `100lvh`], [`dvh`, `100dvh`], [`min`, `min-content`], [`max`, `max-content`], [`fit`, `fit-content`]]) r2(`size-${e4}`, [[`--tw-sort`, `size`], [`width`, t3], [`height`, t3]]), r2(`w-${e4}`, [[`width`, t3]]), r2(`h-${e4}`, [[`height`, t3]]), r2(`min-w-${e4}`, [[`min-width`, t3]]), r2(`min-h-${e4}`, [[`min-height`, t3]]), r2(`max-w-${e4}`, [[`max-width`, t3]]), r2(`max-h-${e4}`, [[`max-height`, t3]]);
1521 r2(`size-auto`, [[`--tw-sort`, `size`], [`width`, `auto`], [`height`, `auto`]]), r2(`w-auto`, [[`width`, `auto`]]), r2(`h-auto`, [[`height`, `auto`]]), r2(`min-w-auto`, [[`min-width`, `auto`]]), r2(`min-h-auto`, [[`min-height`, `auto`]]), r2(`h-lh`, [[`height`, `1lh`]]), r2(`min-h-lh`, [[`min-height`, `1lh`]]), r2(`max-h-lh`, [[`max-height`, `1lh`]]), r2(`w-screen`, [[`width`, `100vw`]]), r2(`min-w-screen`, [[`min-width`, `100vw`]]), r2(`max-w-screen`, [[`max-width`, `100vw`]]), r2(`h-screen`, [[`height`, `100vh`]]), r2(`min-h-screen`, [[`min-height`, `100vh`]]), r2(`max-h-screen`, [[`max-height`, `100vh`]]), r2(`max-w-none`, [[`max-width`, `none`]]), r2(`max-h-none`, [[`max-height`, `none`]]), o2(`size`, [`--size`, `--spacing`], (e4) => [B(`--tw-sort`, `size`), B(`width`, e4), B(`height`, e4)], { supportsFractions: true });
1522 for (let [e4, t3, n3] of [[`w`, [`--width`, `--spacing`, `--container`], `width`], [`min-w`, [`--min-width`, `--spacing`, `--container`], `min-width`], [`max-w`, [`--max-width`, `--spacing`, `--container`], `max-width`], [`h`, [`--height`, `--spacing`], `height`], [`min-h`, [`--min-height`, `--height`, `--spacing`], `min-height`], [`max-h`, [`--max-height`, `--height`, `--spacing`], `max-height`]]) o2(e4, t3, (e5) => [B(n3, e5)], { supportsFractions: true });
1523 for (let [e4, t3] of [[`full`, `100%`], [`min`, `min-content`], [`max`, `max-content`], [`fit`, `fit-content`]]) r2(`inline-${e4}`, [[`inline-size`, t3]]), r2(`block-${e4}`, [[`block-size`, t3]]), r2(`min-inline-${e4}`, [[`min-inline-size`, t3]]), r2(`min-block-${e4}`, [[`min-block-size`, t3]]), r2(`max-inline-${e4}`, [[`max-inline-size`, t3]]), r2(`max-block-${e4}`, [[`max-block-size`, t3]]);
1524 for (let [e4, t3] of [[`svw`, `100svw`], [`lvw`, `100lvw`], [`dvw`, `100dvw`]]) r2(`inline-${e4}`, [[`inline-size`, t3]]), r2(`min-inline-${e4}`, [[`min-inline-size`, t3]]), r2(`max-inline-${e4}`, [[`max-inline-size`, t3]]);
1525 for (let [e4, t3] of [[`svh`, `100svh`], [`lvh`, `100lvh`], [`dvh`, `100dvh`]]) r2(`block-${e4}`, [[`block-size`, t3]]), r2(`min-block-${e4}`, [[`min-block-size`, t3]]), r2(`max-block-${e4}`, [[`max-block-size`, t3]]);
1526 r2(`inline-auto`, [[`inline-size`, `auto`]]), r2(`block-auto`, [[`block-size`, `auto`]]), r2(`min-inline-auto`, [[`min-inline-size`, `auto`]]), r2(`min-block-auto`, [[`min-block-size`, `auto`]]), r2(`block-lh`, [[`block-size`, `1lh`]]), r2(`min-block-lh`, [[`min-block-size`, `1lh`]]), r2(`max-block-lh`, [[`max-block-size`, `1lh`]]), r2(`inline-screen`, [[`inline-size`, `100vw`]]), r2(`min-inline-screen`, [[`min-inline-size`, `100vw`]]), r2(`max-inline-screen`, [[`max-inline-size`, `100vw`]]), r2(`block-screen`, [[`block-size`, `100vh`]]), r2(`min-block-screen`, [[`min-block-size`, `100vh`]]), r2(`max-block-screen`, [[`max-block-size`, `100vh`]]), r2(`max-inline-none`, [[`max-inline-size`, `none`]]), r2(`max-block-none`, [[`max-block-size`, `none`]]);
1527 for (let [e4, t3, n3] of [[`inline`, [`--spacing`, `--container`], `inline-size`], [`min-inline`, [`--spacing`, `--container`], `min-inline-size`], [`max-inline`, [`--spacing`, `--container`], `max-inline-size`], [`block`, [`--spacing`], `block-size`], [`min-block`, [`--spacing`], `min-block-size`], [`max-block`, [`--spacing`], `max-block-size`]]) o2(e4, t3, (e5) => [B(n3, e5)], { supportsFractions: true });
1528 t2.static(`container`, () => {
1529 let t3 = [...e3.namespace(`--breakpoint`).values()];
1530 t3.sort((e4, t4) => cn(e4, t4, `asc`));
1531 let n3 = [B(`--tw-sort`, `--tw-container-component`), B(`width`, `100%`)];
1532 for (let e4 of t3) n3.push(R(`@media`, `(width >= ${e4})`, [B(`max-width`, e4)]));
1533 return n3;
1534 }), r2(`flex-auto`, [[`flex`, `auto`]]), r2(`flex-initial`, [[`flex`, `0 auto`]]), r2(`flex-none`, [[`flex`, `none`]]), t2.functional(`flex`, (e4) => {
1535 if (e4.value) {
1536 if (e4.value.kind === `arbitrary`) return e4.modifier ? void 0 : [B(`flex`, e4.value.value)];
1537 if (e4.value.fraction) {
1538 let [t3, n3] = g(e4.value.fraction, `/`);
1539 return !E(t3) || !E(n3) ? void 0 : [B(`flex`, `calc(${e4.value.fraction} * 100%)`)];
1540 }
1541 if (E(e4.value.value)) return e4.modifier ? void 0 : [B(`flex`, e4.value.value)];
1542 }
1543 }), n2(`flex`, () => [{ supportsFractions: true }, { values: Array.from({ length: 12 }, (e4, t3) => `${t3 + 1}`) }]), i2(`shrink`, { defaultValue: `1`, handleBareValue: ({ value: e4 }) => E(e4) ? e4 : null, handle: (e4) => [B(`flex-shrink`, e4)] }), i2(`grow`, { defaultValue: `1`, handleBareValue: ({ value: e4 }) => E(e4) ? e4 : null, handle: (e4) => [B(`flex-grow`, e4)] }), n2(`shrink`, () => [{ values: [`0`], valueThemeKeys: [], hasDefaultValue: true }]), n2(`grow`, () => [{ values: [`0`], valueThemeKeys: [], hasDefaultValue: true }]), r2(`basis-auto`, [[`flex-basis`, `auto`]]), r2(`basis-full`, [[`flex-basis`, `100%`]]), o2(`basis`, [`--flex-basis`, `--spacing`, `--container`], (e4) => [B(`flex-basis`, e4)], { supportsFractions: true }), r2(`table-auto`, [[`table-layout`, `auto`]]), r2(`table-fixed`, [[`table-layout`, `fixed`]]), r2(`caption-top`, [[`caption-side`, `top`]]), r2(`caption-bottom`, [[`caption-side`, `bottom`]]), r2(`border-collapse`, [[`border-collapse`, `collapse`]]), r2(`border-separate`, [[`border-collapse`, `separate`]]);
1544 let s2 = () => V([W(`--tw-border-spacing-x`, `0`, `<length>`), W(`--tw-border-spacing-y`, `0`, `<length>`)]);
1545 o2(`border-spacing`, [`--border-spacing`, `--spacing`], (e4) => [s2(), B(`--tw-border-spacing-x`, e4), B(`--tw-border-spacing-y`, e4), B(`border-spacing`, `var(--tw-border-spacing-x) var(--tw-border-spacing-y)`)]), o2(`border-spacing-x`, [`--border-spacing`, `--spacing`], (e4) => [s2(), B(`--tw-border-spacing-x`, e4), B(`border-spacing`, `var(--tw-border-spacing-x) var(--tw-border-spacing-y)`)]), o2(`border-spacing-y`, [`--border-spacing`, `--spacing`], (e4) => [s2(), B(`--tw-border-spacing-y`, e4), B(`border-spacing`, `var(--tw-border-spacing-x) var(--tw-border-spacing-y)`)]), i2(`origin`, { themeKeys: [`--transform-origin`], handle: (e4) => [B(`transform-origin`, e4)], staticValues: { center: [B(`transform-origin`, `center`)], top: [B(`transform-origin`, `top`)], "top-right": [B(`transform-origin`, `100% 0`)], right: [B(`transform-origin`, `100%`)], "bottom-right": [B(`transform-origin`, `100% 100%`)], bottom: [B(`transform-origin`, `bottom`)], "bottom-left": [B(`transform-origin`, `0 100%`)], left: [B(`transform-origin`, `0`)], "top-left": [B(`transform-origin`, `0 0`)] } }), i2(`perspective-origin`, { themeKeys: [`--perspective-origin`], handle: (e4) => [B(`perspective-origin`, e4)], staticValues: { center: [B(`perspective-origin`, `center`)], top: [B(`perspective-origin`, `top`)], "top-right": [B(`perspective-origin`, `100% 0`)], right: [B(`perspective-origin`, `100%`)], "bottom-right": [B(`perspective-origin`, `100% 100%`)], bottom: [B(`perspective-origin`, `bottom`)], "bottom-left": [B(`perspective-origin`, `0 100%`)], left: [B(`perspective-origin`, `0`)], "top-left": [B(`perspective-origin`, `0 0`)] } }), i2(`perspective`, { themeKeys: [`--perspective`], handle: (e4) => [B(`perspective`, e4)], staticValues: { none: [B(`perspective`, `none`)] } });
1546 let c2 = () => V([W(`--tw-translate-x`, `0`), W(`--tw-translate-y`, `0`), W(`--tw-translate-z`, `0`)]);
1547 r2(`translate-none`, [[`translate`, `none`]]), r2(`-translate-full`, [c2, [`--tw-translate-x`, `-100%`], [`--tw-translate-y`, `-100%`], [`translate`, `var(--tw-translate-x) var(--tw-translate-y)`]]), r2(`translate-full`, [c2, [`--tw-translate-x`, `100%`], [`--tw-translate-y`, `100%`], [`translate`, `var(--tw-translate-x) var(--tw-translate-y)`]]), o2(`translate`, [`--translate`, `--spacing`], (e4) => [c2(), B(`--tw-translate-x`, e4), B(`--tw-translate-y`, e4), B(`translate`, `var(--tw-translate-x) var(--tw-translate-y)`)], { supportsNegative: true, supportsFractions: true });
1548 for (let e4 of [`x`, `y`]) r2(`-translate-${e4}-full`, [c2, [`--tw-translate-${e4}`, `-100%`], [`translate`, `var(--tw-translate-x) var(--tw-translate-y)`]]), r2(`translate-${e4}-full`, [c2, [`--tw-translate-${e4}`, `100%`], [`translate`, `var(--tw-translate-x) var(--tw-translate-y)`]]), o2(`translate-${e4}`, [`--translate`, `--spacing`], (t3) => [c2(), B(`--tw-translate-${e4}`, t3), B(`translate`, `var(--tw-translate-x) var(--tw-translate-y)`)], { supportsNegative: true, supportsFractions: true });
1549 o2(`translate-z`, [`--translate`, `--spacing`], (e4) => [c2(), B(`--tw-translate-z`, e4), B(`translate`, `var(--tw-translate-x) var(--tw-translate-y) var(--tw-translate-z)`)], { supportsNegative: true }), r2(`translate-3d`, [c2, [`translate`, `var(--tw-translate-x) var(--tw-translate-y) var(--tw-translate-z)`]]);
1550 let l2 = () => V([W(`--tw-scale-x`, `1`), W(`--tw-scale-y`, `1`), W(`--tw-scale-z`, `1`)]);
1551 r2(`scale-none`, [[`scale`, `none`]]);
1552 function u2({ negative: t3 }) {
1553 return (n3) => {
1554 if (!n3.value || n3.modifier) return;
1555 let r3;
1556 return n3.value.kind === `arbitrary` ? (r3 = n3.value.value, r3 = t3 ? `calc(${r3} * -1)` : r3, [B(`scale`, r3)]) : (r3 = e3.resolve(n3.value.value, [`--scale`]), !r3 && E(n3.value.value) && (r3 = `${n3.value.value}%`), r3 ? (r3 = t3 ? `calc(${r3} * -1)` : r3, [l2(), B(`--tw-scale-x`, r3), B(`--tw-scale-y`, r3), B(`--tw-scale-z`, r3), B(`scale`, `var(--tw-scale-x) var(--tw-scale-y)`)]) : void 0);
1557 };
1558 }
1559 t2.functional(`-scale`, u2({ negative: true })), t2.functional(`scale`, u2({ negative: false })), n2(`scale`, () => [{ supportsNegative: true, values: [`0`, `50`, `75`, `90`, `95`, `100`, `105`, `110`, `125`, `150`, `200`], valueThemeKeys: [`--scale`] }]);
1560 for (let e4 of [`x`, `y`, `z`]) i2(`scale-${e4}`, { supportsNegative: true, themeKeys: [`--scale`], handleBareValue: ({ value: e5 }) => E(e5) ? `${e5}%` : null, handle: (t3) => [l2(), B(`--tw-scale-${e4}`, t3), B(`scale`, `var(--tw-scale-x) var(--tw-scale-y)${e4 === `z` ? ` var(--tw-scale-z)` : ``}`)] }), n2(`scale-${e4}`, () => [{ supportsNegative: true, values: [`0`, `50`, `75`, `90`, `95`, `100`, `105`, `110`, `125`, `150`, `200`], valueThemeKeys: [`--scale`] }]);
1561 r2(`scale-3d`, [l2, [`scale`, `var(--tw-scale-x) var(--tw-scale-y) var(--tw-scale-z)`]]), r2(`rotate-none`, [[`rotate`, `none`]]);
1562 function d2({ negative: t3 }) {
1563 return (n3) => {
1564 if (!n3.value || n3.modifier) return;
1565 let r3;
1566 if (n3.value.kind === `arbitrary`) {
1567 r3 = n3.value.value;
1568 let e4 = n3.value.dataType ?? v(r3, [`angle`, `vector`]);
1569 if (e4 === `vector`) return [B(`rotate`, `${r3} var(--tw-rotate)`)];
1570 if (e4 !== `angle`) return [B(`rotate`, t3 ? `calc(${r3} * -1)` : r3)];
1571 } else if (r3 = e3.resolve(n3.value.value, [`--rotate`]), !r3 && E(n3.value.value) && (r3 = `${n3.value.value}deg`), !r3) return;
1572 return [B(`rotate`, t3 ? `calc(${r3} * -1)` : r3)];
1573 };
1574 }
1575 t2.functional(`-rotate`, d2({ negative: true })), t2.functional(`rotate`, d2({ negative: false })), n2(`rotate`, () => [{ supportsNegative: true, values: [`0`, `1`, `2`, `3`, `6`, `12`, `45`, `90`, `180`], valueThemeKeys: [`--rotate`] }]);
1576 {
1577 let e4 = [`var(--tw-rotate-x,)`, `var(--tw-rotate-y,)`, `var(--tw-rotate-z,)`, `var(--tw-skew-x,)`, `var(--tw-skew-y,)`].join(` `), a3 = () => V([W(`--tw-rotate-x`), W(`--tw-rotate-y`), W(`--tw-rotate-z`), W(`--tw-skew-x`), W(`--tw-skew-y`)]);
1578 for (let t3 of [`x`, `y`, `z`]) i2(`rotate-${t3}`, { supportsNegative: true, themeKeys: [`--rotate`], handleBareValue: ({ value: e5 }) => E(e5) ? `${e5}deg` : null, handle: (n3) => [a3(), B(`--tw-rotate-${t3}`, `rotate${t3.toUpperCase()}(${n3})`), B(`transform`, e4)] }), n2(`rotate-${t3}`, () => [{ supportsNegative: true, values: [`0`, `1`, `2`, `3`, `6`, `12`, `45`, `90`, `180`], valueThemeKeys: [`--rotate`] }]);
1579 i2(`skew`, { supportsNegative: true, themeKeys: [`--skew`], handleBareValue: ({ value: e5 }) => E(e5) ? `${e5}deg` : null, handle: (t3) => [a3(), B(`--tw-skew-x`, `skewX(${t3})`), B(`--tw-skew-y`, `skewY(${t3})`), B(`transform`, e4)] }), i2(`skew-x`, { supportsNegative: true, themeKeys: [`--skew`], handleBareValue: ({ value: e5 }) => E(e5) ? `${e5}deg` : null, handle: (t3) => [a3(), B(`--tw-skew-x`, `skewX(${t3})`), B(`transform`, e4)] }), i2(`skew-y`, { supportsNegative: true, themeKeys: [`--skew`], handleBareValue: ({ value: e5 }) => E(e5) ? `${e5}deg` : null, handle: (t3) => [a3(), B(`--tw-skew-y`, `skewY(${t3})`), B(`transform`, e4)] }), n2(`skew`, () => [{ supportsNegative: true, values: [`0`, `1`, `2`, `3`, `6`, `12`], valueThemeKeys: [`--skew`] }]), n2(`skew-x`, () => [{ supportsNegative: true, values: [`0`, `1`, `2`, `3`, `6`, `12`], valueThemeKeys: [`--skew`] }]), n2(`skew-y`, () => [{ supportsNegative: true, values: [`0`, `1`, `2`, `3`, `6`, `12`], valueThemeKeys: [`--skew`] }]), t2.functional(`transform`, (t3) => {
1580 if (t3.modifier) return;
1581 let n3 = null;
1582 if (t3.value ? t3.value.kind === `arbitrary` && (n3 = t3.value.value) : n3 = e4, n3 !== null) return [a3(), B(`transform`, n3)];
1583 }), n2(`transform`, () => [{ hasDefaultValue: true }]), r2(`transform-cpu`, [[`transform`, e4]]), r2(`transform-gpu`, [[`transform`, `translateZ(0) ${e4}`]]), r2(`transform-none`, [[`transform`, `none`]]);
1584 }
1585 r2(`transform-flat`, [[`transform-style`, `flat`]]), r2(`transform-3d`, [[`transform-style`, `preserve-3d`]]), r2(`transform-content`, [[`transform-box`, `content-box`]]), r2(`transform-border`, [[`transform-box`, `border-box`]]), r2(`transform-fill`, [[`transform-box`, `fill-box`]]), r2(`transform-stroke`, [[`transform-box`, `stroke-box`]]), r2(`transform-view`, [[`transform-box`, `view-box`]]), r2(`backface-visible`, [[`backface-visibility`, `visible`]]), r2(`backface-hidden`, [[`backface-visibility`, `hidden`]]);
1586 for (let e4 of `auto.default.pointer.wait.text.move.help.not-allowed.none.context-menu.progress.cell.crosshair.vertical-text.alias.copy.no-drop.grab.grabbing.all-scroll.col-resize.row-resize.n-resize.e-resize.s-resize.w-resize.ne-resize.nw-resize.se-resize.sw-resize.ew-resize.ns-resize.nesw-resize.nwse-resize.zoom-in.zoom-out`.split(`.`)) r2(`cursor-${e4}`, [[`cursor`, e4]]);
1587 i2(`cursor`, { themeKeys: [`--cursor`], handle: (e4) => [B(`cursor`, e4)] });
1588 for (let e4 of [`auto`, `none`, `manipulation`]) r2(`touch-${e4}`, [[`touch-action`, e4]]);
1589 let f2 = () => V([W(`--tw-pan-x`), W(`--tw-pan-y`), W(`--tw-pinch-zoom`)]);
1590 for (let e4 of [`x`, `left`, `right`]) r2(`touch-pan-${e4}`, [f2, [`--tw-pan-x`, `pan-${e4}`], [`touch-action`, `var(--tw-pan-x,) var(--tw-pan-y,) var(--tw-pinch-zoom,)`]]);
1591 for (let e4 of [`y`, `up`, `down`]) r2(`touch-pan-${e4}`, [f2, [`--tw-pan-y`, `pan-${e4}`], [`touch-action`, `var(--tw-pan-x,) var(--tw-pan-y,) var(--tw-pinch-zoom,)`]]);
1592 r2(`touch-pinch-zoom`, [f2, [`--tw-pinch-zoom`, `pinch-zoom`], [`touch-action`, `var(--tw-pan-x,) var(--tw-pan-y,) var(--tw-pinch-zoom,)`]]);
1593 for (let e4 of [`none`, `text`, `all`, `auto`]) r2(`select-${e4}`, [[`-webkit-user-select`, e4], [`user-select`, e4]]);
1594 r2(`resize-none`, [[`resize`, `none`]]), r2(`resize-x`, [[`resize`, `horizontal`]]), r2(`resize-y`, [[`resize`, `vertical`]]), r2(`resize`, [[`resize`, `both`]]), r2(`snap-none`, [[`scroll-snap-type`, `none`]]);
1595 let p2 = () => V([W(`--tw-scroll-snap-strictness`, `proximity`, `*`)]);
1596 for (let e4 of [`x`, `y`, `both`]) r2(`snap-${e4}`, [p2, [`scroll-snap-type`, `${e4} var(--tw-scroll-snap-strictness)`]]);
1597 r2(`snap-mandatory`, [p2, [`--tw-scroll-snap-strictness`, `mandatory`]]), r2(`snap-proximity`, [p2, [`--tw-scroll-snap-strictness`, `proximity`]]), r2(`snap-align-none`, [[`scroll-snap-align`, `none`]]), r2(`snap-start`, [[`scroll-snap-align`, `start`]]), r2(`snap-end`, [[`scroll-snap-align`, `end`]]), r2(`snap-center`, [[`scroll-snap-align`, `center`]]), r2(`snap-normal`, [[`scroll-snap-stop`, `normal`]]), r2(`snap-always`, [[`scroll-snap-stop`, `always`]]);
1598 for (let [e4, t3] of [[`scroll-m`, `scroll-margin`], [`scroll-mx`, `scroll-margin-inline`], [`scroll-my`, `scroll-margin-block`], [`scroll-ms`, `scroll-margin-inline-start`], [`scroll-me`, `scroll-margin-inline-end`], [`scroll-mbs`, `scroll-margin-block-start`], [`scroll-mbe`, `scroll-margin-block-end`], [`scroll-mt`, `scroll-margin-top`], [`scroll-mr`, `scroll-margin-right`], [`scroll-mb`, `scroll-margin-bottom`], [`scroll-ml`, `scroll-margin-left`]]) o2(e4, [`--scroll-margin`, `--spacing`], (e5) => [B(t3, e5)], { supportsNegative: true });
1599 for (let [e4, t3] of [[`scroll-p`, `scroll-padding`], [`scroll-px`, `scroll-padding-inline`], [`scroll-py`, `scroll-padding-block`], [`scroll-ps`, `scroll-padding-inline-start`], [`scroll-pe`, `scroll-padding-inline-end`], [`scroll-pbs`, `scroll-padding-block-start`], [`scroll-pbe`, `scroll-padding-block-end`], [`scroll-pt`, `scroll-padding-top`], [`scroll-pr`, `scroll-padding-right`], [`scroll-pb`, `scroll-padding-bottom`], [`scroll-pl`, `scroll-padding-left`]]) o2(e4, [`--scroll-padding`, `--spacing`], (e5) => [B(t3, e5)]);
1600 r2(`list-inside`, [[`list-style-position`, `inside`]]), r2(`list-outside`, [[`list-style-position`, `outside`]]), i2(`list`, { themeKeys: [`--list-style-type`], handle: (e4) => [B(`list-style-type`, e4)], staticValues: { none: [B(`list-style-type`, `none`)], disc: [B(`list-style-type`, `disc`)], decimal: [B(`list-style-type`, `decimal`)] } }), i2(`list-image`, { themeKeys: [`--list-style-image`], handle: (e4) => [B(`list-style-image`, e4)], staticValues: { none: [B(`list-style-image`, `none`)] } }), r2(`appearance-none`, [[`appearance`, `none`]]), r2(`appearance-auto`, [[`appearance`, `auto`]]), r2(`scheme-normal`, [[`color-scheme`, `normal`]]), r2(`scheme-dark`, [[`color-scheme`, `dark`]]), r2(`scheme-light`, [[`color-scheme`, `light`]]), r2(`scheme-light-dark`, [[`color-scheme`, `light dark`]]), r2(`scheme-only-dark`, [[`color-scheme`, `only dark`]]), r2(`scheme-only-light`, [[`color-scheme`, `only light`]]), i2(`columns`, { themeKeys: [`--columns`, `--container`], handleBareValue: ({ value: e4 }) => E(e4) ? e4 : null, handle: (e4) => [B(`columns`, e4)], staticValues: { auto: [B(`columns`, `auto`)] } }), n2(`columns`, () => [{ values: Array.from({ length: 12 }, (e4, t3) => `${t3 + 1}`), valueThemeKeys: [`--columns`, `--container`] }]);
1601 for (let e4 of [`auto`, `avoid`, `all`, `avoid-page`, `page`, `left`, `right`, `column`]) r2(`break-before-${e4}`, [[`break-before`, e4]]);
1602 for (let e4 of [`auto`, `avoid`, `avoid-page`, `avoid-column`]) r2(`break-inside-${e4}`, [[`break-inside`, e4]]);
1603 for (let e4 of [`auto`, `avoid`, `all`, `avoid-page`, `page`, `left`, `right`, `column`]) r2(`break-after-${e4}`, [[`break-after`, e4]]);
1604 r2(`grid-flow-row`, [[`grid-auto-flow`, `row`]]), r2(`grid-flow-col`, [[`grid-auto-flow`, `column`]]), r2(`grid-flow-dense`, [[`grid-auto-flow`, `dense`]]), r2(`grid-flow-row-dense`, [[`grid-auto-flow`, `row dense`]]), r2(`grid-flow-col-dense`, [[`grid-auto-flow`, `column dense`]]), i2(`auto-cols`, { themeKeys: [`--grid-auto-columns`], handle: (e4) => [B(`grid-auto-columns`, e4)], staticValues: { auto: [B(`grid-auto-columns`, `auto`)], min: [B(`grid-auto-columns`, `min-content`)], max: [B(`grid-auto-columns`, `max-content`)], fr: [B(`grid-auto-columns`, `minmax(0, 1fr)`)] } }), i2(`auto-rows`, { themeKeys: [`--grid-auto-rows`], handle: (e4) => [B(`grid-auto-rows`, e4)], staticValues: { auto: [B(`grid-auto-rows`, `auto`)], min: [B(`grid-auto-rows`, `min-content`)], max: [B(`grid-auto-rows`, `max-content`)], fr: [B(`grid-auto-rows`, `minmax(0, 1fr)`)] } }), i2(`grid-cols`, { themeKeys: [`--grid-template-columns`], handleBareValue: ({ value: e4 }) => ve(e4) ? `repeat(${e4}, minmax(0, 1fr))` : null, handle: (e4) => [B(`grid-template-columns`, e4)], staticValues: { none: [B(`grid-template-columns`, `none`)], subgrid: [B(`grid-template-columns`, `subgrid`)] } }), i2(`grid-rows`, { themeKeys: [`--grid-template-rows`], handleBareValue: ({ value: e4 }) => ve(e4) ? `repeat(${e4}, minmax(0, 1fr))` : null, handle: (e4) => [B(`grid-template-rows`, e4)], staticValues: { none: [B(`grid-template-rows`, `none`)], subgrid: [B(`grid-template-rows`, `subgrid`)] } }), n2(`grid-cols`, () => [{ values: Array.from({ length: 12 }, (e4, t3) => `${t3 + 1}`), valueThemeKeys: [`--grid-template-columns`] }]), n2(`grid-rows`, () => [{ values: Array.from({ length: 12 }, (e4, t3) => `${t3 + 1}`), valueThemeKeys: [`--grid-template-rows`] }]), r2(`flex-row`, [[`flex-direction`, `row`]]), r2(`flex-row-reverse`, [[`flex-direction`, `row-reverse`]]), r2(`flex-col`, [[`flex-direction`, `column`]]), r2(`flex-col-reverse`, [[`flex-direction`, `column-reverse`]]), r2(`flex-wrap`, [[`flex-wrap`, `wrap`]]), r2(`flex-nowrap`, [[`flex-wrap`, `nowrap`]]), r2(`flex-wrap-reverse`, [[`flex-wrap`, `wrap-reverse`]]), r2(`place-content-center`, [[`place-content`, `center`]]), r2(`place-content-start`, [[`place-content`, `start`]]), r2(`place-content-end`, [[`place-content`, `end`]]), r2(`place-content-center-safe`, [[`place-content`, `safe center`]]), r2(`place-content-end-safe`, [[`place-content`, `safe end`]]), r2(`place-content-between`, [[`place-content`, `space-between`]]), r2(`place-content-around`, [[`place-content`, `space-around`]]), r2(`place-content-evenly`, [[`place-content`, `space-evenly`]]), r2(`place-content-baseline`, [[`place-content`, `baseline`]]), r2(`place-content-stretch`, [[`place-content`, `stretch`]]), r2(`place-items-center`, [[`place-items`, `center`]]), r2(`place-items-start`, [[`place-items`, `start`]]), r2(`place-items-end`, [[`place-items`, `end`]]), r2(`place-items-center-safe`, [[`place-items`, `safe center`]]), r2(`place-items-end-safe`, [[`place-items`, `safe end`]]), r2(`place-items-baseline`, [[`place-items`, `baseline`]]), r2(`place-items-stretch`, [[`place-items`, `stretch`]]), r2(`content-normal`, [[`align-content`, `normal`]]), r2(`content-center`, [[`align-content`, `center`]]), r2(`content-start`, [[`align-content`, `flex-start`]]), r2(`content-end`, [[`align-content`, `flex-end`]]), r2(`content-center-safe`, [[`align-content`, `safe center`]]), r2(`content-end-safe`, [[`align-content`, `safe flex-end`]]), r2(`content-between`, [[`align-content`, `space-between`]]), r2(`content-around`, [[`align-content`, `space-around`]]), r2(`content-evenly`, [[`align-content`, `space-evenly`]]), r2(`content-baseline`, [[`align-content`, `baseline`]]), r2(`content-stretch`, [[`align-content`, `stretch`]]), r2(`items-center`, [[`align-items`, `center`]]), r2(`items-start`, [[`align-items`, `flex-start`]]), r2(`items-end`, [[`align-items`, `flex-end`]]), r2(`items-center-safe`, [[`align-items`, `safe center`]]), r2(`items-end-safe`, [[`align-items`, `safe flex-end`]]), r2(`items-baseline`, [[`align-items`, `baseline`]]), r2(`items-baseline-last`, [[`align-items`, `last baseline`]]), r2(`items-stretch`, [[`align-items`, `stretch`]]), r2(`justify-normal`, [[`justify-content`, `normal`]]), r2(`justify-center`, [[`justify-content`, `center`]]), r2(`justify-start`, [[`justify-content`, `flex-start`]]), r2(`justify-end`, [[`justify-content`, `flex-end`]]), r2(`justify-center-safe`, [[`justify-content`, `safe center`]]), r2(`justify-end-safe`, [[`justify-content`, `safe flex-end`]]), r2(`justify-between`, [[`justify-content`, `space-between`]]), r2(`justify-around`, [[`justify-content`, `space-around`]]), r2(`justify-evenly`, [[`justify-content`, `space-evenly`]]), r2(`justify-baseline`, [[`justify-content`, `baseline`]]), r2(`justify-stretch`, [[`justify-content`, `stretch`]]), r2(`justify-items-normal`, [[`justify-items`, `normal`]]), r2(`justify-items-center`, [[`justify-items`, `center`]]), r2(`justify-items-start`, [[`justify-items`, `start`]]), r2(`justify-items-end`, [[`justify-items`, `end`]]), r2(`justify-items-center-safe`, [[`justify-items`, `safe center`]]), r2(`justify-items-end-safe`, [[`justify-items`, `safe end`]]), r2(`justify-items-stretch`, [[`justify-items`, `stretch`]]), o2(`gap`, [`--gap`, `--spacing`], (e4) => [B(`gap`, e4)]), o2(`gap-x`, [`--gap`, `--spacing`], (e4) => [B(`column-gap`, e4)]), o2(`gap-y`, [`--gap`, `--spacing`], (e4) => [B(`row-gap`, e4)]), o2(`space-x`, [`--space`, `--spacing`], (e4) => [V([W(`--tw-space-x-reverse`, `0`)]), L(`:where(& > :not(:last-child))`, [B(`--tw-sort`, `row-gap`), B(`--tw-space-x-reverse`, `0`), B(`margin-inline-start`, `calc(${e4} * var(--tw-space-x-reverse))`), B(`margin-inline-end`, `calc(${e4} * calc(1 - var(--tw-space-x-reverse)))`)])], { supportsNegative: true }), o2(`space-y`, [`--space`, `--spacing`], (e4) => [V([W(`--tw-space-y-reverse`, `0`)]), L(`:where(& > :not(:last-child))`, [B(`--tw-sort`, `column-gap`), B(`--tw-space-y-reverse`, `0`), B(`margin-block-start`, `calc(${e4} * var(--tw-space-y-reverse))`), B(`margin-block-end`, `calc(${e4} * calc(1 - var(--tw-space-y-reverse)))`)])], { supportsNegative: true }), r2(`space-x-reverse`, [() => V([W(`--tw-space-x-reverse`, `0`)]), () => L(`:where(& > :not(:last-child))`, [B(`--tw-sort`, `row-gap`), B(`--tw-space-x-reverse`, `1`)])]), r2(`space-y-reverse`, [() => V([W(`--tw-space-y-reverse`, `0`)]), () => L(`:where(& > :not(:last-child))`, [B(`--tw-sort`, `column-gap`), B(`--tw-space-y-reverse`, `1`)])]), r2(`accent-auto`, [[`accent-color`, `auto`]]), a2(`accent`, { themeKeys: [`--accent-color`, `--color`], handle: (e4) => [B(`accent-color`, e4)] }), a2(`caret`, { themeKeys: [`--caret-color`, `--color`], handle: (e4) => [B(`caret-color`, e4)] }), a2(`divide`, { themeKeys: [`--divide-color`, `--border-color`, `--color`], handle: (e4) => [L(`:where(& > :not(:last-child))`, [B(`--tw-sort`, `divide-color`), B(`border-color`, e4)])] }), r2(`place-self-auto`, [[`place-self`, `auto`]]), r2(`place-self-start`, [[`place-self`, `start`]]), r2(`place-self-end`, [[`place-self`, `end`]]), r2(`place-self-center`, [[`place-self`, `center`]]), r2(`place-self-end-safe`, [[`place-self`, `safe end`]]), r2(`place-self-center-safe`, [[`place-self`, `safe center`]]), r2(`place-self-stretch`, [[`place-self`, `stretch`]]), r2(`self-auto`, [[`align-self`, `auto`]]), r2(`self-start`, [[`align-self`, `flex-start`]]), r2(`self-end`, [[`align-self`, `flex-end`]]), r2(`self-center`, [[`align-self`, `center`]]), r2(`self-end-safe`, [[`align-self`, `safe flex-end`]]), r2(`self-center-safe`, [[`align-self`, `safe center`]]), r2(`self-stretch`, [[`align-self`, `stretch`]]), r2(`self-baseline`, [[`align-self`, `baseline`]]), r2(`self-baseline-last`, [[`align-self`, `last baseline`]]), r2(`justify-self-auto`, [[`justify-self`, `auto`]]), r2(`justify-self-start`, [[`justify-self`, `flex-start`]]), r2(`justify-self-end`, [[`justify-self`, `flex-end`]]), r2(`justify-self-center`, [[`justify-self`, `center`]]), r2(`justify-self-end-safe`, [[`justify-self`, `safe flex-end`]]), r2(`justify-self-center-safe`, [[`justify-self`, `safe center`]]), r2(`justify-self-stretch`, [[`justify-self`, `stretch`]]);
1605 for (let e4 of [`auto`, `hidden`, `clip`, `visible`, `scroll`]) r2(`overflow-${e4}`, [[`overflow`, e4]]), r2(`overflow-x-${e4}`, [[`overflow-x`, e4]]), r2(`overflow-y-${e4}`, [[`overflow-y`, e4]]);
1606 for (let e4 of [`auto`, `contain`, `none`]) r2(`overscroll-${e4}`, [[`overscroll-behavior`, e4]]), r2(`overscroll-x-${e4}`, [[`overscroll-behavior-x`, e4]]), r2(`overscroll-y-${e4}`, [[`overscroll-behavior-y`, e4]]);
1607 r2(`scroll-auto`, [[`scroll-behavior`, `auto`]]), r2(`scroll-smooth`, [[`scroll-behavior`, `smooth`]]), r2(`truncate`, [[`overflow`, `hidden`], [`text-overflow`, `ellipsis`], [`white-space`, `nowrap`]]), r2(`text-ellipsis`, [[`text-overflow`, `ellipsis`]]), r2(`text-clip`, [[`text-overflow`, `clip`]]), r2(`hyphens-none`, [[`-webkit-hyphens`, `none`], [`hyphens`, `none`]]), r2(`hyphens-manual`, [[`-webkit-hyphens`, `manual`], [`hyphens`, `manual`]]), r2(`hyphens-auto`, [[`-webkit-hyphens`, `auto`], [`hyphens`, `auto`]]), r2(`whitespace-normal`, [[`white-space`, `normal`]]), r2(`whitespace-nowrap`, [[`white-space`, `nowrap`]]), r2(`whitespace-pre`, [[`white-space`, `pre`]]), r2(`whitespace-pre-line`, [[`white-space`, `pre-line`]]), r2(`whitespace-pre-wrap`, [[`white-space`, `pre-wrap`]]), r2(`whitespace-break-spaces`, [[`white-space`, `break-spaces`]]), r2(`text-wrap`, [[`text-wrap`, `wrap`]]), r2(`text-nowrap`, [[`text-wrap`, `nowrap`]]), r2(`text-balance`, [[`text-wrap`, `balance`]]), r2(`text-pretty`, [[`text-wrap`, `pretty`]]), r2(`break-normal`, [[`overflow-wrap`, `normal`], [`word-break`, `normal`]]), r2(`break-all`, [[`word-break`, `break-all`]]), r2(`break-keep`, [[`word-break`, `keep-all`]]), r2(`wrap-anywhere`, [[`overflow-wrap`, `anywhere`]]), r2(`wrap-break-word`, [[`overflow-wrap`, `break-word`]]), r2(`wrap-normal`, [[`overflow-wrap`, `normal`]]);
1608 for (let [e4, t3] of [[`rounded`, [`border-radius`]], [`rounded-s`, [`border-start-start-radius`, `border-end-start-radius`]], [`rounded-e`, [`border-start-end-radius`, `border-end-end-radius`]], [`rounded-t`, [`border-top-left-radius`, `border-top-right-radius`]], [`rounded-r`, [`border-top-right-radius`, `border-bottom-right-radius`]], [`rounded-b`, [`border-bottom-right-radius`, `border-bottom-left-radius`]], [`rounded-l`, [`border-top-left-radius`, `border-bottom-left-radius`]], [`rounded-ss`, [`border-start-start-radius`]], [`rounded-se`, [`border-start-end-radius`]], [`rounded-ee`, [`border-end-end-radius`]], [`rounded-es`, [`border-end-start-radius`]], [`rounded-tl`, [`border-top-left-radius`]], [`rounded-tr`, [`border-top-right-radius`]], [`rounded-br`, [`border-bottom-right-radius`]], [`rounded-bl`, [`border-bottom-left-radius`]]]) i2(e4, { themeKeys: [`--radius`], handle: (e5) => t3.map((t4) => B(t4, e5)), staticValues: { none: t3.map((e5) => B(e5, `0`)), full: t3.map((e5) => B(e5, `calc(infinity * 1px)`)) } });
1609 r2(`border-solid`, [[`--tw-border-style`, `solid`], [`border-style`, `solid`]]), r2(`border-dashed`, [[`--tw-border-style`, `dashed`], [`border-style`, `dashed`]]), r2(`border-dotted`, [[`--tw-border-style`, `dotted`], [`border-style`, `dotted`]]), r2(`border-double`, [[`--tw-border-style`, `double`], [`border-style`, `double`]]), r2(`border-hidden`, [[`--tw-border-style`, `hidden`], [`border-style`, `hidden`]]), r2(`border-none`, [[`--tw-border-style`, `none`], [`border-style`, `none`]]);
1610 {
1611 let a3 = function(r3, i3) {
1612 t2.functional(r3, (t3) => {
1613 if (!t3.value) {
1614 if (t3.modifier) return;
1615 let n3 = e3.get([`--default-border-width`]) ?? `1px`, r4 = i3.width(n3);
1616 return r4 ? [o3(), ...r4] : void 0;
1617 }
1618 if (t3.value.kind === `arbitrary`) {
1619 let n3 = t3.value.value;
1620 switch (t3.value.dataType ?? v(n3, [`color`, `line-width`, `length`])) {
1621 case `line-width`:
1622 case `length`: {
1623 if (t3.modifier) return;
1624 let e4 = i3.width(n3);
1625 return e4 ? [o3(), ...e4] : void 0;
1626 }
1627 default:
1628 return n3 = K(n3, t3.modifier, e3), n3 === null ? void 0 : i3.color(n3);
1629 }
1630 }
1631 {
1632 let n3 = q(t3, e3, [`--border-color`, `--color`]);
1633 if (n3) return i3.color(n3);
1634 }
1635 {
1636 if (t3.modifier) return;
1637 let n3 = e3.resolve(t3.value.value, [`--border-width`]);
1638 if (n3) {
1639 let e4 = i3.width(n3);
1640 return e4 ? [o3(), ...e4] : void 0;
1641 }
1642 if (E(t3.value.value)) {
1643 let e4 = i3.width(`${t3.value.value}px`);
1644 return e4 ? [o3(), ...e4] : void 0;
1645 }
1646 }
1647 }), n2(r3, () => [{ values: [`current`, `inherit`, `transparent`], valueThemeKeys: [`--border-color`, `--color`], modifiers: Array.from({ length: 21 }, (e4, t3) => `${t3 * 5}`), hasDefaultValue: true }, { values: [`0`, `2`, `4`, `8`], valueThemeKeys: [`--border-width`] }]);
1648 }, o3 = () => V([W(`--tw-border-style`, `solid`)]);
1649 a3(`border`, { width: (e4) => [B(`border-style`, `var(--tw-border-style)`), B(`border-width`, e4)], color: (e4) => [B(`border-color`, e4)] }), a3(`border-x`, { width: (e4) => [B(`border-inline-style`, `var(--tw-border-style)`), B(`border-inline-width`, e4)], color: (e4) => [B(`border-inline-color`, e4)] }), a3(`border-y`, { width: (e4) => [B(`border-block-style`, `var(--tw-border-style)`), B(`border-block-width`, e4)], color: (e4) => [B(`border-block-color`, e4)] }), a3(`border-s`, { width: (e4) => [B(`border-inline-start-style`, `var(--tw-border-style)`), B(`border-inline-start-width`, e4)], color: (e4) => [B(`border-inline-start-color`, e4)] }), a3(`border-e`, { width: (e4) => [B(`border-inline-end-style`, `var(--tw-border-style)`), B(`border-inline-end-width`, e4)], color: (e4) => [B(`border-inline-end-color`, e4)] }), a3(`border-bs`, { width: (e4) => [B(`border-block-start-style`, `var(--tw-border-style)`), B(`border-block-start-width`, e4)], color: (e4) => [B(`border-block-start-color`, e4)] }), a3(`border-be`, { width: (e4) => [B(`border-block-end-style`, `var(--tw-border-style)`), B(`border-block-end-width`, e4)], color: (e4) => [B(`border-block-end-color`, e4)] }), a3(`border-t`, { width: (e4) => [B(`border-top-style`, `var(--tw-border-style)`), B(`border-top-width`, e4)], color: (e4) => [B(`border-top-color`, e4)] }), a3(`border-r`, { width: (e4) => [B(`border-right-style`, `var(--tw-border-style)`), B(`border-right-width`, e4)], color: (e4) => [B(`border-right-color`, e4)] }), a3(`border-b`, { width: (e4) => [B(`border-bottom-style`, `var(--tw-border-style)`), B(`border-bottom-width`, e4)], color: (e4) => [B(`border-bottom-color`, e4)] }), a3(`border-l`, { width: (e4) => [B(`border-left-style`, `var(--tw-border-style)`), B(`border-left-width`, e4)], color: (e4) => [B(`border-left-color`, e4)] }), i2(`divide-x`, { defaultValue: e3.get([`--default-border-width`]) ?? `1px`, themeKeys: [`--divide-width`, `--border-width`], handleBareValue: ({ value: e4 }) => E(e4) ? `${e4}px` : null, handle: (e4) => [V([W(`--tw-divide-x-reverse`, `0`)]), L(`:where(& > :not(:last-child))`, [B(`--tw-sort`, `divide-x-width`), o3(), B(`--tw-divide-x-reverse`, `0`), B(`border-inline-style`, `var(--tw-border-style)`), B(`border-inline-start-width`, `calc(${e4} * var(--tw-divide-x-reverse))`), B(`border-inline-end-width`, `calc(${e4} * calc(1 - var(--tw-divide-x-reverse)))`)])] }), i2(`divide-y`, { defaultValue: e3.get([`--default-border-width`]) ?? `1px`, themeKeys: [`--divide-width`, `--border-width`], handleBareValue: ({ value: e4 }) => E(e4) ? `${e4}px` : null, handle: (e4) => [V([W(`--tw-divide-y-reverse`, `0`)]), L(`:where(& > :not(:last-child))`, [B(`--tw-sort`, `divide-y-width`), o3(), B(`--tw-divide-y-reverse`, `0`), B(`border-bottom-style`, `var(--tw-border-style)`), B(`border-top-style`, `var(--tw-border-style)`), B(`border-top-width`, `calc(${e4} * var(--tw-divide-y-reverse))`), B(`border-bottom-width`, `calc(${e4} * calc(1 - var(--tw-divide-y-reverse)))`)])] }), n2(`divide-x`, () => [{ values: [`0`, `2`, `4`, `8`], valueThemeKeys: [`--divide-width`, `--border-width`], hasDefaultValue: true }]), n2(`divide-y`, () => [{ values: [`0`, `2`, `4`, `8`], valueThemeKeys: [`--divide-width`, `--border-width`], hasDefaultValue: true }]), r2(`divide-x-reverse`, [() => V([W(`--tw-divide-x-reverse`, `0`)]), () => L(`:where(& > :not(:last-child))`, [B(`--tw-divide-x-reverse`, `1`)])]), r2(`divide-y-reverse`, [() => V([W(`--tw-divide-y-reverse`, `0`)]), () => L(`:where(& > :not(:last-child))`, [B(`--tw-divide-y-reverse`, `1`)])]);
1650 for (let e4 of [`solid`, `dashed`, `dotted`, `double`, `none`]) r2(`divide-${e4}`, [() => L(`:where(& > :not(:last-child))`, [B(`--tw-sort`, `divide-style`), B(`--tw-border-style`, e4), B(`border-style`, e4)])]);
1651 }
1652 r2(`bg-auto`, [[`background-size`, `auto`]]), r2(`bg-cover`, [[`background-size`, `cover`]]), r2(`bg-contain`, [[`background-size`, `contain`]]), i2(`bg-size`, { handle(e4) {
1653 if (e4) return [B(`background-size`, e4)];
1654 } }), r2(`bg-fixed`, [[`background-attachment`, `fixed`]]), r2(`bg-local`, [[`background-attachment`, `local`]]), r2(`bg-scroll`, [[`background-attachment`, `scroll`]]), r2(`bg-top`, [[`background-position`, `top`]]), r2(`bg-top-left`, [[`background-position`, `left top`]]), r2(`bg-top-right`, [[`background-position`, `right top`]]), r2(`bg-bottom`, [[`background-position`, `bottom`]]), r2(`bg-bottom-left`, [[`background-position`, `left bottom`]]), r2(`bg-bottom-right`, [[`background-position`, `right bottom`]]), r2(`bg-left`, [[`background-position`, `left`]]), r2(`bg-right`, [[`background-position`, `right`]]), r2(`bg-center`, [[`background-position`, `center`]]), i2(`bg-position`, { handle(e4) {
1655 if (e4) return [B(`background-position`, e4)];
1656 } }), r2(`bg-repeat`, [[`background-repeat`, `repeat`]]), r2(`bg-no-repeat`, [[`background-repeat`, `no-repeat`]]), r2(`bg-repeat-x`, [[`background-repeat`, `repeat-x`]]), r2(`bg-repeat-y`, [[`background-repeat`, `repeat-y`]]), r2(`bg-repeat-round`, [[`background-repeat`, `round`]]), r2(`bg-repeat-space`, [[`background-repeat`, `space`]]), r2(`bg-none`, [[`background-image`, `none`]]);
1657 {
1658 let e4 = function(e5) {
1659 let t3 = `in oklab`;
1660 if (e5?.kind === `named`) switch (e5.value) {
1661 case `longer`:
1662 case `shorter`:
1663 case `increasing`:
1664 case `decreasing`:
1665 t3 = `in oklch ${e5.value} hue`;
1666 break;
1667 default:
1668 t3 = `in ${e5.value}`;
1669 }
1670 else e5?.kind === `arbitrary` && (t3 = e5.value);
1671 return t3;
1672 }, r3 = function({ negative: t3 }) {
1673 return (n3) => {
1674 if (!n3.value) return;
1675 if (n3.value.kind === `arbitrary`) {
1676 if (n3.modifier) return;
1677 let e5 = n3.value.value;
1678 switch (n3.value.dataType ?? v(e5, [`angle`])) {
1679 case `angle`:
1680 return e5 = t3 ? `calc(${e5} * -1)` : `${e5}`, [B(`--tw-gradient-position`, e5), B(`background-image`, `linear-gradient(var(--tw-gradient-stops,${e5}))`)];
1681 default:
1682 return t3 ? void 0 : [B(`--tw-gradient-position`, e5), B(`background-image`, `linear-gradient(var(--tw-gradient-stops,${e5}))`)];
1683 }
1684 }
1685 let r4 = n3.value.value;
1686 if (!t3 && o3.has(r4)) r4 = o3.get(r4);
1687 else if (E(r4)) r4 = t3 ? `calc(${r4}deg * -1)` : `${r4}deg`;
1688 else return;
1689 let i4 = e4(n3.modifier);
1690 return [B(`--tw-gradient-position`, `${r4}`), z(`@supports (background-image: linear-gradient(in lab, red, red))`, [B(`--tw-gradient-position`, `${r4} ${i4}`)]), B(`background-image`, `linear-gradient(var(--tw-gradient-stops))`)];
1691 };
1692 }, i3 = function({ negative: t3 }) {
1693 return (n3) => {
1694 if (n3.value?.kind === `arbitrary`) {
1695 if (n3.modifier) return;
1696 let e5 = n3.value.value;
1697 return [B(`--tw-gradient-position`, e5), B(`background-image`, `conic-gradient(var(--tw-gradient-stops,${e5}))`)];
1698 }
1699 let r4 = e4(n3.modifier);
1700 if (!n3.value) return [B(`--tw-gradient-position`, r4), B(`background-image`, `conic-gradient(var(--tw-gradient-stops))`)];
1701 let i4 = n3.value.value;
1702 if (E(i4)) return i4 = t3 ? `calc(${i4}deg * -1)` : `${i4}deg`, [B(`--tw-gradient-position`, `from ${i4} ${r4}`), B(`background-image`, `conic-gradient(var(--tw-gradient-stops))`)];
1703 };
1704 }, a3 = [`oklab`, `oklch`, `srgb`, `hsl`, `longer`, `shorter`, `increasing`, `decreasing`], o3 = /* @__PURE__ */ new Map([[`to-t`, `to top`], [`to-tr`, `to top right`], [`to-r`, `to right`], [`to-br`, `to bottom right`], [`to-b`, `to bottom`], [`to-bl`, `to bottom left`], [`to-l`, `to left`], [`to-tl`, `to top left`]]);
1705 t2.functional(`-bg-linear`, r3({ negative: true })), t2.functional(`bg-linear`, r3({ negative: false })), n2(`bg-linear`, () => [{ values: [...o3.keys()], modifiers: a3 }, { values: [`0`, `30`, `60`, `90`, `120`, `150`, `180`, `210`, `240`, `270`, `300`, `330`], supportsNegative: true, modifiers: a3 }]), t2.functional(`-bg-conic`, i3({ negative: true })), t2.functional(`bg-conic`, i3({ negative: false })), n2(`bg-conic`, () => [{ hasDefaultValue: true, modifiers: a3 }, { values: [`0`, `30`, `60`, `90`, `120`, `150`, `180`, `210`, `240`, `270`, `300`, `330`], supportsNegative: true, modifiers: a3 }]), t2.functional(`bg-radial`, (t3) => {
1706 if (!t3.value) return [B(`--tw-gradient-position`, e4(t3.modifier)), B(`background-image`, `radial-gradient(var(--tw-gradient-stops))`)];
1707 if (t3.value.kind === `arbitrary`) {
1708 if (t3.modifier) return;
1709 let e5 = t3.value.value;
1710 return [B(`--tw-gradient-position`, e5), B(`background-image`, `radial-gradient(var(--tw-gradient-stops,${e5}))`)];
1711 }
1712 }), n2(`bg-radial`, () => [{ hasDefaultValue: true, modifiers: a3 }]);
1713 }
1714 t2.functional(`bg`, (t3) => {
1715 if (t3.value) {
1716 if (t3.value.kind === `arbitrary`) {
1717 let n3 = t3.value.value;
1718 switch (t3.value.dataType ?? v(n3, [`image`, `color`, `percentage`, `position`, `bg-size`, `length`, `url`])) {
1719 case `percentage`:
1720 case `position`:
1721 return t3.modifier ? void 0 : [B(`background-position`, n3)];
1722 case `bg-size`:
1723 case `length`:
1724 case `size`:
1725 return t3.modifier ? void 0 : [B(`background-size`, n3)];
1726 case `image`:
1727 case `url`:
1728 return t3.modifier ? void 0 : [B(`background-image`, n3)];
1729 default:
1730 return n3 = K(n3, t3.modifier, e3), n3 === null ? void 0 : [B(`background-color`, n3)];
1731 }
1732 }
1733 {
1734 let n3 = q(t3, e3, [`--background-color`, `--color`]);
1735 if (n3) return [B(`background-color`, n3)];
1736 }
1737 {
1738 if (t3.modifier) return;
1739 let n3 = e3.resolve(t3.value.value, [`--background-image`]);
1740 if (n3) return [B(`background-image`, n3)];
1741 }
1742 }
1743 }), n2(`bg`, () => [{ values: [`current`, `inherit`, `transparent`], valueThemeKeys: [`--background-color`, `--color`], modifiers: Array.from({ length: 21 }, (e4, t3) => `${t3 * 5}`) }, { values: [], valueThemeKeys: [`--background-image`] }]);
1744 let m2 = () => V([W(`--tw-gradient-position`), W(`--tw-gradient-from`, `#0000`, `<color>`), W(`--tw-gradient-via`, `#0000`, `<color>`), W(`--tw-gradient-to`, `#0000`, `<color>`), W(`--tw-gradient-stops`), W(`--tw-gradient-via-stops`), W(`--tw-gradient-from-position`, `0%`, `<length-percentage>`), W(`--tw-gradient-via-position`, `50%`, `<length-percentage>`), W(`--tw-gradient-to-position`, `100%`, `<length-percentage>`)]);
1745 function h2(r3, i3) {
1746 t2.functional(r3, (t3) => {
1747 if (t3.value) {
1748 if (t3.value.kind === `arbitrary`) {
1749 let n3 = t3.value.value;
1750 switch (t3.value.dataType ?? v(n3, [`color`, `length`, `percentage`])) {
1751 case `length`:
1752 case `percentage`:
1753 return t3.modifier ? void 0 : i3.position(n3);
1754 default:
1755 return n3 = K(n3, t3.modifier, e3), n3 === null ? void 0 : i3.color(n3);
1756 }
1757 }
1758 {
1759 let n3 = q(t3, e3, [`--background-color`, `--color`]);
1760 if (n3) return i3.color(n3);
1761 }
1762 {
1763 if (t3.modifier) return;
1764 let n3 = e3.resolve(t3.value.value, [`--gradient-color-stop-positions`]);
1765 if (n3) return i3.position(n3);
1766 if (t3.value.value[t3.value.value.length - 1] === `%` && E(t3.value.value.slice(0, -1))) return i3.position(t3.value.value);
1767 }
1768 }
1769 }), n2(r3, () => [{ values: [`current`, `inherit`, `transparent`], valueThemeKeys: [`--background-color`, `--color`], modifiers: Array.from({ length: 21 }, (e4, t3) => `${t3 * 5}`) }, { values: Array.from({ length: 21 }, (e4, t3) => `${t3 * 5}%`), valueThemeKeys: [`--gradient-color-stop-positions`] }]);
1770 }
1771 h2(`from`, { color: (e4) => [m2(), B(`--tw-sort`, `--tw-gradient-from`), B(`--tw-gradient-from`, e4), B(`--tw-gradient-stops`, `var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))`)], position: (e4) => [m2(), B(`--tw-gradient-from-position`, e4)] }), r2(`via-none`, [[`--tw-gradient-via-stops`, `initial`]]), h2(`via`, { color: (e4) => [m2(), B(`--tw-sort`, `--tw-gradient-via`), B(`--tw-gradient-via`, e4), B(`--tw-gradient-via-stops`, `var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position)`), B(`--tw-gradient-stops`, `var(--tw-gradient-via-stops)`)], position: (e4) => [m2(), B(`--tw-gradient-via-position`, e4)] }), h2(`to`, { color: (e4) => [m2(), B(`--tw-sort`, `--tw-gradient-to`), B(`--tw-gradient-to`, e4), B(`--tw-gradient-stops`, `var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))`)], position: (e4) => [m2(), B(`--tw-gradient-to-position`, e4)] }), r2(`mask-none`, [[`mask-image`, `none`]]), t2.functional(`mask`, (e4) => {
1772 if (!e4.value || e4.modifier || e4.value.kind !== `arbitrary`) return;
1773 let t3 = e4.value.value;
1774 switch (e4.value.dataType ?? v(t3, [`image`, `percentage`, `position`, `bg-size`, `length`, `url`])) {
1775 case `percentage`:
1776 case `position`:
1777 return e4.modifier ? void 0 : [B(`mask-position`, t3)];
1778 case `bg-size`:
1779 case `length`:
1780 case `size`:
1781 return [B(`mask-size`, t3)];
1782 default:
1783 return [B(`mask-image`, t3)];
1784 }
1785 }), r2(`mask-add`, [[`mask-composite`, `add`]]), r2(`mask-subtract`, [[`mask-composite`, `subtract`]]), r2(`mask-intersect`, [[`mask-composite`, `intersect`]]), r2(`mask-exclude`, [[`mask-composite`, `exclude`]]), r2(`mask-alpha`, [[`mask-mode`, `alpha`]]), r2(`mask-luminance`, [[`mask-mode`, `luminance`]]), r2(`mask-match`, [[`mask-mode`, `match-source`]]), r2(`mask-type-alpha`, [[`mask-type`, `alpha`]]), r2(`mask-type-luminance`, [[`mask-type`, `luminance`]]), r2(`mask-auto`, [[`mask-size`, `auto`]]), r2(`mask-cover`, [[`mask-size`, `cover`]]), r2(`mask-contain`, [[`mask-size`, `contain`]]), i2(`mask-size`, { handle(e4) {
1786 if (e4) return [B(`mask-size`, e4)];
1787 } }), r2(`mask-top`, [[`mask-position`, `top`]]), r2(`mask-top-left`, [[`mask-position`, `left top`]]), r2(`mask-top-right`, [[`mask-position`, `right top`]]), r2(`mask-bottom`, [[`mask-position`, `bottom`]]), r2(`mask-bottom-left`, [[`mask-position`, `left bottom`]]), r2(`mask-bottom-right`, [[`mask-position`, `right bottom`]]), r2(`mask-left`, [[`mask-position`, `left`]]), r2(`mask-right`, [[`mask-position`, `right`]]), r2(`mask-center`, [[`mask-position`, `center`]]), i2(`mask-position`, { handle(e4) {
1788 if (e4) return [B(`mask-position`, e4)];
1789 } }), r2(`mask-repeat`, [[`mask-repeat`, `repeat`]]), r2(`mask-no-repeat`, [[`mask-repeat`, `no-repeat`]]), r2(`mask-repeat-x`, [[`mask-repeat`, `repeat-x`]]), r2(`mask-repeat-y`, [[`mask-repeat`, `repeat-y`]]), r2(`mask-repeat-round`, [[`mask-repeat`, `round`]]), r2(`mask-repeat-space`, [[`mask-repeat`, `space`]]), r2(`mask-clip-border`, [[`mask-clip`, `border-box`]]), r2(`mask-clip-padding`, [[`mask-clip`, `padding-box`]]), r2(`mask-clip-content`, [[`mask-clip`, `content-box`]]), r2(`mask-clip-fill`, [[`mask-clip`, `fill-box`]]), r2(`mask-clip-stroke`, [[`mask-clip`, `stroke-box`]]), r2(`mask-clip-view`, [[`mask-clip`, `view-box`]]), r2(`mask-no-clip`, [[`mask-clip`, `no-clip`]]), r2(`mask-origin-border`, [[`mask-origin`, `border-box`]]), r2(`mask-origin-padding`, [[`mask-origin`, `padding-box`]]), r2(`mask-origin-content`, [[`mask-origin`, `content-box`]]), r2(`mask-origin-fill`, [[`mask-origin`, `fill-box`]]), r2(`mask-origin-stroke`, [[`mask-origin`, `stroke-box`]]), r2(`mask-origin-view`, [[`mask-origin`, `view-box`]]);
1790 let _2 = () => V([W(`--tw-mask-linear`, `linear-gradient(#fff, #fff)`), W(`--tw-mask-radial`, `linear-gradient(#fff, #fff)`), W(`--tw-mask-conic`, `linear-gradient(#fff, #fff)`)]);
1791 function y2(r3, i3) {
1792 t2.functional(r3, (t3) => {
1793 if (t3.value) {
1794 if (t3.value.kind === `arbitrary`) {
1795 let n3 = t3.value.value;
1796 switch (t3.value.dataType ?? v(n3, [`length`, `percentage`, `color`])) {
1797 case `color`:
1798 return n3 = K(n3, t3.modifier, e3), n3 === null ? void 0 : i3.color(n3);
1799 case `percentage`:
1800 return t3.modifier || !E(n3.slice(0, -1)) ? void 0 : i3.position(n3);
1801 default:
1802 return t3.modifier ? void 0 : i3.position(n3);
1803 }
1804 }
1805 {
1806 let n3 = q(t3, e3, [`--background-color`, `--color`]);
1807 if (n3) return i3.color(n3);
1808 }
1809 {
1810 if (t3.modifier) return;
1811 let n3 = v(t3.value.value, [`number`, `percentage`]);
1812 if (!n3) return;
1813 switch (n3) {
1814 case `number`: {
1815 let n4 = e3.resolve(null, [`--spacing`]);
1816 return !n4 || !D(t3.value.value) ? void 0 : i3.position(`calc(${n4} * ${t3.value.value})`);
1817 }
1818 case `percentage`:
1819 return E(t3.value.value.slice(0, -1)) ? i3.position(t3.value.value) : void 0;
1820 default:
1821 return;
1822 }
1823 }
1824 }
1825 }), n2(r3, () => [{ values: [`current`, `inherit`, `transparent`], valueThemeKeys: [`--background-color`, `--color`], modifiers: Array.from({ length: 21 }, (e4, t3) => `${t3 * 5}`) }, { values: Array.from({ length: 21 }, (e4, t3) => `${t3 * 5}%`), valueThemeKeys: [`--gradient-color-stop-positions`] }]), n2(r3, () => [{ values: Array.from({ length: 21 }, (e4, t3) => `${t3 * 5}%`) }, { values: e3.get([`--spacing`]) ? fn : [] }, { values: [`current`, `inherit`, `transparent`], valueThemeKeys: [`--background-color`, `--color`], modifiers: Array.from({ length: 21 }, (e4, t3) => `${t3 * 5}`) }]);
1826 }
1827 let b2 = () => V([W(`--tw-mask-left`, `linear-gradient(#fff, #fff)`), W(`--tw-mask-right`, `linear-gradient(#fff, #fff)`), W(`--tw-mask-bottom`, `linear-gradient(#fff, #fff)`), W(`--tw-mask-top`, `linear-gradient(#fff, #fff)`)]);
1828 function x2(e4, t3, n3) {
1829 y2(e4, { color(e5) {
1830 let r3 = [_2(), b2(), B(`mask-image`, `var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)`), B(`mask-composite`, `intersect`), B(`--tw-mask-linear`, `var(--tw-mask-left), var(--tw-mask-right), var(--tw-mask-bottom), var(--tw-mask-top)`)];
1831 for (let i3 of [`top`, `right`, `bottom`, `left`]) n3[i3] && (r3.push(B(`--tw-mask-${i3}`, `linear-gradient(to ${i3}, var(--tw-mask-${i3}-from-color) var(--tw-mask-${i3}-from-position), var(--tw-mask-${i3}-to-color) var(--tw-mask-${i3}-to-position))`)), r3.push(V([W(`--tw-mask-${i3}-from-position`, `0%`), W(`--tw-mask-${i3}-to-position`, `100%`), W(`--tw-mask-${i3}-from-color`, `black`), W(`--tw-mask-${i3}-to-color`, `transparent`)])), r3.push(B(`--tw-mask-${i3}-${t3}-color`, e5)));
1832 return r3;
1833 }, position(e5) {
1834 let r3 = [_2(), b2(), B(`mask-image`, `var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)`), B(`mask-composite`, `intersect`), B(`--tw-mask-linear`, `var(--tw-mask-left), var(--tw-mask-right), var(--tw-mask-bottom), var(--tw-mask-top)`)];
1835 for (let i3 of [`top`, `right`, `bottom`, `left`]) n3[i3] && (r3.push(B(`--tw-mask-${i3}`, `linear-gradient(to ${i3}, var(--tw-mask-${i3}-from-color) var(--tw-mask-${i3}-from-position), var(--tw-mask-${i3}-to-color) var(--tw-mask-${i3}-to-position))`)), r3.push(V([W(`--tw-mask-${i3}-from-position`, `0%`), W(`--tw-mask-${i3}-to-position`, `100%`), W(`--tw-mask-${i3}-from-color`, `black`), W(`--tw-mask-${i3}-to-color`, `transparent`)])), r3.push(B(`--tw-mask-${i3}-${t3}-position`, e5)));
1836 return r3;
1837 } });
1838 }
1839 x2(`mask-x-from`, `from`, { top: false, right: true, bottom: false, left: true }), x2(`mask-x-to`, `to`, { top: false, right: true, bottom: false, left: true }), x2(`mask-y-from`, `from`, { top: true, right: false, bottom: true, left: false }), x2(`mask-y-to`, `to`, { top: true, right: false, bottom: true, left: false }), x2(`mask-t-from`, `from`, { top: true, right: false, bottom: false, left: false }), x2(`mask-t-to`, `to`, { top: true, right: false, bottom: false, left: false }), x2(`mask-r-from`, `from`, { top: false, right: true, bottom: false, left: false }), x2(`mask-r-to`, `to`, { top: false, right: true, bottom: false, left: false }), x2(`mask-b-from`, `from`, { top: false, right: false, bottom: true, left: false }), x2(`mask-b-to`, `to`, { top: false, right: false, bottom: true, left: false }), x2(`mask-l-from`, `from`, { top: false, right: false, bottom: false, left: true }), x2(`mask-l-to`, `to`, { top: false, right: false, bottom: false, left: true });
1840 let S2 = () => V([W(`--tw-mask-linear-position`, `0deg`), W(`--tw-mask-linear-from-position`, `0%`), W(`--tw-mask-linear-to-position`, `100%`), W(`--tw-mask-linear-from-color`, `black`), W(`--tw-mask-linear-to-color`, `transparent`)]);
1841 i2(`mask-linear`, { defaultValue: null, supportsNegative: true, supportsFractions: false, handleBareValue(e4) {
1842 return E(e4.value) ? `calc(1deg * ${e4.value})` : null;
1843 }, handleNegativeBareValue(e4) {
1844 return E(e4.value) ? `calc(1deg * -${e4.value})` : null;
1845 }, handle: (e4) => [_2(), S2(), B(`mask-image`, `var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)`), B(`mask-composite`, `intersect`), B(`--tw-mask-linear`, `linear-gradient(var(--tw-mask-linear-stops, var(--tw-mask-linear-position)))`), B(`--tw-mask-linear-position`, e4)] }), n2(`mask-linear`, () => [{ supportsNegative: true, values: [`0`, `1`, `2`, `3`, `6`, `12`, `45`, `90`, `180`] }]), y2(`mask-linear-from`, { color: (e4) => [_2(), S2(), B(`mask-image`, `var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)`), B(`mask-composite`, `intersect`), B(`--tw-mask-linear-stops`, `var(--tw-mask-linear-position), var(--tw-mask-linear-from-color) var(--tw-mask-linear-from-position), var(--tw-mask-linear-to-color) var(--tw-mask-linear-to-position)`), B(`--tw-mask-linear`, `linear-gradient(var(--tw-mask-linear-stops))`), B(`--tw-mask-linear-from-color`, e4)], position: (e4) => [_2(), S2(), B(`mask-image`, `var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)`), B(`mask-composite`, `intersect`), B(`--tw-mask-linear-stops`, `var(--tw-mask-linear-position), var(--tw-mask-linear-from-color) var(--tw-mask-linear-from-position), var(--tw-mask-linear-to-color) var(--tw-mask-linear-to-position)`), B(`--tw-mask-linear`, `linear-gradient(var(--tw-mask-linear-stops))`), B(`--tw-mask-linear-from-position`, e4)] }), y2(`mask-linear-to`, { color: (e4) => [_2(), S2(), B(`mask-image`, `var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)`), B(`mask-composite`, `intersect`), B(`--tw-mask-linear-stops`, `var(--tw-mask-linear-position), var(--tw-mask-linear-from-color) var(--tw-mask-linear-from-position), var(--tw-mask-linear-to-color) var(--tw-mask-linear-to-position)`), B(`--tw-mask-linear`, `linear-gradient(var(--tw-mask-linear-stops))`), B(`--tw-mask-linear-to-color`, e4)], position: (e4) => [_2(), S2(), B(`mask-image`, `var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)`), B(`mask-composite`, `intersect`), B(`--tw-mask-linear-stops`, `var(--tw-mask-linear-position), var(--tw-mask-linear-from-color) var(--tw-mask-linear-from-position), var(--tw-mask-linear-to-color) var(--tw-mask-linear-to-position)`), B(`--tw-mask-linear`, `linear-gradient(var(--tw-mask-linear-stops))`), B(`--tw-mask-linear-to-position`, e4)] });
1846 let C2 = () => V([W(`--tw-mask-radial-from-position`, `0%`), W(`--tw-mask-radial-to-position`, `100%`), W(`--tw-mask-radial-from-color`, `black`), W(`--tw-mask-radial-to-color`, `transparent`), W(`--tw-mask-radial-shape`, `ellipse`), W(`--tw-mask-radial-size`, `farthest-corner`), W(`--tw-mask-radial-position`, `center`)]);
1847 r2(`mask-circle`, [[`--tw-mask-radial-shape`, `circle`]]), r2(`mask-ellipse`, [[`--tw-mask-radial-shape`, `ellipse`]]), r2(`mask-radial-closest-side`, [[`--tw-mask-radial-size`, `closest-side`]]), r2(`mask-radial-farthest-side`, [[`--tw-mask-radial-size`, `farthest-side`]]), r2(`mask-radial-closest-corner`, [[`--tw-mask-radial-size`, `closest-corner`]]), r2(`mask-radial-farthest-corner`, [[`--tw-mask-radial-size`, `farthest-corner`]]), r2(`mask-radial-at-top`, [[`--tw-mask-radial-position`, `top`]]), r2(`mask-radial-at-top-left`, [[`--tw-mask-radial-position`, `top left`]]), r2(`mask-radial-at-top-right`, [[`--tw-mask-radial-position`, `top right`]]), r2(`mask-radial-at-bottom`, [[`--tw-mask-radial-position`, `bottom`]]), r2(`mask-radial-at-bottom-left`, [[`--tw-mask-radial-position`, `bottom left`]]), r2(`mask-radial-at-bottom-right`, [[`--tw-mask-radial-position`, `bottom right`]]), r2(`mask-radial-at-left`, [[`--tw-mask-radial-position`, `left`]]), r2(`mask-radial-at-right`, [[`--tw-mask-radial-position`, `right`]]), r2(`mask-radial-at-center`, [[`--tw-mask-radial-position`, `center`]]), i2(`mask-radial-at`, { defaultValue: null, supportsNegative: false, supportsFractions: false, handle: (e4) => [B(`--tw-mask-radial-position`, e4)] }), i2(`mask-radial`, { defaultValue: null, supportsNegative: false, supportsFractions: false, handle: (e4) => [_2(), C2(), B(`mask-image`, `var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)`), B(`mask-composite`, `intersect`), B(`--tw-mask-radial`, `radial-gradient(var(--tw-mask-radial-stops, var(--tw-mask-radial-size)))`), B(`--tw-mask-radial-size`, e4)] }), y2(`mask-radial-from`, { color: (e4) => [_2(), C2(), B(`mask-image`, `var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)`), B(`mask-composite`, `intersect`), B(`--tw-mask-radial-stops`, `var(--tw-mask-radial-shape) var(--tw-mask-radial-size) at var(--tw-mask-radial-position), var(--tw-mask-radial-from-color) var(--tw-mask-radial-from-position), var(--tw-mask-radial-to-color) var(--tw-mask-radial-to-position)`), B(`--tw-mask-radial`, `radial-gradient(var(--tw-mask-radial-stops))`), B(`--tw-mask-radial-from-color`, e4)], position: (e4) => [_2(), C2(), B(`mask-image`, `var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)`), B(`mask-composite`, `intersect`), B(`--tw-mask-radial-stops`, `var(--tw-mask-radial-shape) var(--tw-mask-radial-size) at var(--tw-mask-radial-position), var(--tw-mask-radial-from-color) var(--tw-mask-radial-from-position), var(--tw-mask-radial-to-color) var(--tw-mask-radial-to-position)`), B(`--tw-mask-radial`, `radial-gradient(var(--tw-mask-radial-stops))`), B(`--tw-mask-radial-from-position`, e4)] }), y2(`mask-radial-to`, { color: (e4) => [_2(), C2(), B(`mask-image`, `var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)`), B(`mask-composite`, `intersect`), B(`--tw-mask-radial-stops`, `var(--tw-mask-radial-shape) var(--tw-mask-radial-size) at var(--tw-mask-radial-position), var(--tw-mask-radial-from-color) var(--tw-mask-radial-from-position), var(--tw-mask-radial-to-color) var(--tw-mask-radial-to-position)`), B(`--tw-mask-radial`, `radial-gradient(var(--tw-mask-radial-stops))`), B(`--tw-mask-radial-to-color`, e4)], position: (e4) => [_2(), C2(), B(`mask-image`, `var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)`), B(`mask-composite`, `intersect`), B(`--tw-mask-radial-stops`, `var(--tw-mask-radial-shape) var(--tw-mask-radial-size) at var(--tw-mask-radial-position), var(--tw-mask-radial-from-color) var(--tw-mask-radial-from-position), var(--tw-mask-radial-to-color) var(--tw-mask-radial-to-position)`), B(`--tw-mask-radial`, `radial-gradient(var(--tw-mask-radial-stops))`), B(`--tw-mask-radial-to-position`, e4)] });
1848 let ee2 = () => V([W(`--tw-mask-conic-position`, `0deg`), W(`--tw-mask-conic-from-position`, `0%`), W(`--tw-mask-conic-to-position`, `100%`), W(`--tw-mask-conic-from-color`, `black`), W(`--tw-mask-conic-to-color`, `transparent`)]);
1849 i2(`mask-conic`, { defaultValue: null, supportsNegative: true, supportsFractions: false, handleBareValue(e4) {
1850 return E(e4.value) ? `calc(1deg * ${e4.value})` : null;
1851 }, handleNegativeBareValue(e4) {
1852 return E(e4.value) ? `calc(1deg * -${e4.value})` : null;
1853 }, handle: (e4) => [_2(), ee2(), B(`mask-image`, `var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)`), B(`mask-composite`, `intersect`), B(`--tw-mask-conic`, `conic-gradient(var(--tw-mask-conic-stops, var(--tw-mask-conic-position)))`), B(`--tw-mask-conic-position`, e4)] }), n2(`mask-conic`, () => [{ supportsNegative: true, values: [`0`, `1`, `2`, `3`, `6`, `12`, `45`, `90`, `180`] }]), y2(`mask-conic-from`, { color: (e4) => [_2(), ee2(), B(`mask-image`, `var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)`), B(`mask-composite`, `intersect`), B(`--tw-mask-conic-stops`, `from var(--tw-mask-conic-position), var(--tw-mask-conic-from-color) var(--tw-mask-conic-from-position), var(--tw-mask-conic-to-color) var(--tw-mask-conic-to-position)`), B(`--tw-mask-conic`, `conic-gradient(var(--tw-mask-conic-stops))`), B(`--tw-mask-conic-from-color`, e4)], position: (e4) => [_2(), ee2(), B(`mask-image`, `var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)`), B(`mask-composite`, `intersect`), B(`--tw-mask-conic-stops`, `from var(--tw-mask-conic-position), var(--tw-mask-conic-from-color) var(--tw-mask-conic-from-position), var(--tw-mask-conic-to-color) var(--tw-mask-conic-to-position)`), B(`--tw-mask-conic`, `conic-gradient(var(--tw-mask-conic-stops))`), B(`--tw-mask-conic-from-position`, e4)] }), y2(`mask-conic-to`, { color: (e4) => [_2(), ee2(), B(`mask-image`, `var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)`), B(`mask-composite`, `intersect`), B(`--tw-mask-conic-stops`, `from var(--tw-mask-conic-position), var(--tw-mask-conic-from-color) var(--tw-mask-conic-from-position), var(--tw-mask-conic-to-color) var(--tw-mask-conic-to-position)`), B(`--tw-mask-conic`, `conic-gradient(var(--tw-mask-conic-stops))`), B(`--tw-mask-conic-to-color`, e4)], position: (e4) => [_2(), ee2(), B(`mask-image`, `var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)`), B(`mask-composite`, `intersect`), B(`--tw-mask-conic-stops`, `from var(--tw-mask-conic-position), var(--tw-mask-conic-from-color) var(--tw-mask-conic-from-position), var(--tw-mask-conic-to-color) var(--tw-mask-conic-to-position)`), B(`--tw-mask-conic`, `conic-gradient(var(--tw-mask-conic-stops))`), B(`--tw-mask-conic-to-position`, e4)] }), r2(`box-decoration-slice`, [[`-webkit-box-decoration-break`, `slice`], [`box-decoration-break`, `slice`]]), r2(`box-decoration-clone`, [[`-webkit-box-decoration-break`, `clone`], [`box-decoration-break`, `clone`]]), r2(`bg-clip-text`, [[`background-clip`, `text`]]), r2(`bg-clip-border`, [[`background-clip`, `border-box`]]), r2(`bg-clip-padding`, [[`background-clip`, `padding-box`]]), r2(`bg-clip-content`, [[`background-clip`, `content-box`]]), r2(`bg-origin-border`, [[`background-origin`, `border-box`]]), r2(`bg-origin-padding`, [[`background-origin`, `padding-box`]]), r2(`bg-origin-content`, [[`background-origin`, `content-box`]]);
1854 for (let e4 of [`normal`, `multiply`, `screen`, `overlay`, `darken`, `lighten`, `color-dodge`, `color-burn`, `hard-light`, `soft-light`, `difference`, `exclusion`, `hue`, `saturation`, `color`, `luminosity`]) r2(`bg-blend-${e4}`, [[`background-blend-mode`, e4]]), r2(`mix-blend-${e4}`, [[`mix-blend-mode`, e4]]);
1855 r2(`mix-blend-plus-darker`, [[`mix-blend-mode`, `plus-darker`]]), r2(`mix-blend-plus-lighter`, [[`mix-blend-mode`, `plus-lighter`]]), r2(`fill-none`, [[`fill`, `none`]]), t2.functional(`fill`, (t3) => {
1856 if (!t3.value) return;
1857 if (t3.value.kind === `arbitrary`) {
1858 let n4 = K(t3.value.value, t3.modifier, e3);
1859 return n4 === null ? void 0 : [B(`fill`, n4)];
1860 }
1861 let n3 = q(t3, e3, [`--fill`, `--color`]);
1862 if (n3) return [B(`fill`, n3)];
1863 }), n2(`fill`, () => [{ values: [`current`, `inherit`, `transparent`], valueThemeKeys: [`--fill`, `--color`], modifiers: Array.from({ length: 21 }, (e4, t3) => `${t3 * 5}`) }]), r2(`stroke-none`, [[`stroke`, `none`]]), t2.functional(`stroke`, (t3) => {
1864 if (t3.value) {
1865 if (t3.value.kind === `arbitrary`) {
1866 let n3 = t3.value.value;
1867 switch (t3.value.dataType ?? v(n3, [`color`, `number`, `length`, `percentage`])) {
1868 case `number`:
1869 case `length`:
1870 case `percentage`:
1871 return t3.modifier ? void 0 : [B(`stroke-width`, n3)];
1872 default:
1873 return n3 = K(t3.value.value, t3.modifier, e3), n3 === null ? void 0 : [B(`stroke`, n3)];
1874 }
1875 }
1876 {
1877 let n3 = q(t3, e3, [`--stroke`, `--color`]);
1878 if (n3) return [B(`stroke`, n3)];
1879 }
1880 {
1881 let n3 = e3.resolve(t3.value.value, [`--stroke-width`]);
1882 if (n3) return [B(`stroke-width`, n3)];
1883 if (E(t3.value.value)) return [B(`stroke-width`, t3.value.value)];
1884 }
1885 }
1886 }), n2(`stroke`, () => [{ values: [`current`, `inherit`, `transparent`], valueThemeKeys: [`--stroke`, `--color`], modifiers: Array.from({ length: 21 }, (e4, t3) => `${t3 * 5}`) }, { values: [`0`, `1`, `2`, `3`], valueThemeKeys: [`--stroke-width`] }]), r2(`object-contain`, [[`object-fit`, `contain`]]), r2(`object-cover`, [[`object-fit`, `cover`]]), r2(`object-fill`, [[`object-fit`, `fill`]]), r2(`object-none`, [[`object-fit`, `none`]]), r2(`object-scale-down`, [[`object-fit`, `scale-down`]]), i2(`object`, { themeKeys: [`--object-position`], handle: (e4) => [B(`object-position`, e4)], staticValues: { top: [B(`object-position`, `top`)], "top-left": [B(`object-position`, `left top`)], "top-right": [B(`object-position`, `right top`)], bottom: [B(`object-position`, `bottom`)], "bottom-left": [B(`object-position`, `left bottom`)], "bottom-right": [B(`object-position`, `right bottom`)], left: [B(`object-position`, `left`)], right: [B(`object-position`, `right`)], center: [B(`object-position`, `center`)] } });
1887 for (let [e4, t3] of [[`p`, `padding`], [`px`, `padding-inline`], [`py`, `padding-block`], [`ps`, `padding-inline-start`], [`pe`, `padding-inline-end`], [`pbs`, `padding-block-start`], [`pbe`, `padding-block-end`], [`pt`, `padding-top`], [`pr`, `padding-right`], [`pb`, `padding-bottom`], [`pl`, `padding-left`]]) o2(e4, [`--padding`, `--spacing`], (e5) => [B(t3, e5)]);
1888 r2(`text-left`, [[`text-align`, `left`]]), r2(`text-center`, [[`text-align`, `center`]]), r2(`text-right`, [[`text-align`, `right`]]), r2(`text-justify`, [[`text-align`, `justify`]]), r2(`text-start`, [[`text-align`, `start`]]), r2(`text-end`, [[`text-align`, `end`]]), o2(`indent`, [`--text-indent`, `--spacing`], (e4) => [B(`text-indent`, e4)], { supportsNegative: true }), r2(`align-baseline`, [[`vertical-align`, `baseline`]]), r2(`align-top`, [[`vertical-align`, `top`]]), r2(`align-middle`, [[`vertical-align`, `middle`]]), r2(`align-bottom`, [[`vertical-align`, `bottom`]]), r2(`align-text-top`, [[`vertical-align`, `text-top`]]), r2(`align-text-bottom`, [[`vertical-align`, `text-bottom`]]), r2(`align-sub`, [[`vertical-align`, `sub`]]), r2(`align-super`, [[`vertical-align`, `super`]]), i2(`align`, { themeKeys: [], handle: (e4) => [B(`vertical-align`, e4)] }), t2.functional(`font`, (t3) => {
1889 if (!(!t3.value || t3.modifier)) {
1890 if (t3.value.kind === `arbitrary`) {
1891 let e4 = t3.value.value;
1892 switch (t3.value.dataType ?? v(e4, [`number`, `generic-name`, `family-name`])) {
1893 case `generic-name`:
1894 case `family-name`:
1895 return [B(`font-family`, e4)];
1896 default:
1897 return [V([W(`--tw-font-weight`)]), B(`--tw-font-weight`, e4), B(`font-weight`, e4)];
1898 }
1899 }
1900 {
1901 let n3 = e3.resolveWith(t3.value.value, [`--font`], [`--font-feature-settings`, `--font-variation-settings`]);
1902 if (n3) {
1903 let [e4, t4 = {}] = n3;
1904 return [B(`font-family`, e4), B(`font-feature-settings`, t4[`--font-feature-settings`]), B(`font-variation-settings`, t4[`--font-variation-settings`])];
1905 }
1906 }
1907 {
1908 let n3 = e3.resolve(t3.value.value, [`--font-weight`]);
1909 if (n3) return [V([W(`--tw-font-weight`)]), B(`--tw-font-weight`, n3), B(`font-weight`, n3)];
1910 }
1911 }
1912 }), n2(`font`, () => [{ values: [], valueThemeKeys: [`--font`] }, { values: [], valueThemeKeys: [`--font-weight`] }]), i2(`font-features`, { themeKeys: [], handle: (e4) => [B(`font-feature-settings`, e4)] }), r2(`uppercase`, [[`text-transform`, `uppercase`]]), r2(`lowercase`, [[`text-transform`, `lowercase`]]), r2(`capitalize`, [[`text-transform`, `capitalize`]]), r2(`normal-case`, [[`text-transform`, `none`]]), r2(`italic`, [[`font-style`, `italic`]]), r2(`not-italic`, [[`font-style`, `normal`]]), r2(`underline`, [[`text-decoration-line`, `underline`]]), r2(`overline`, [[`text-decoration-line`, `overline`]]), r2(`line-through`, [[`text-decoration-line`, `line-through`]]), r2(`no-underline`, [[`text-decoration-line`, `none`]]), r2(`font-stretch-normal`, [[`font-stretch`, `normal`]]), r2(`font-stretch-ultra-condensed`, [[`font-stretch`, `ultra-condensed`]]), r2(`font-stretch-extra-condensed`, [[`font-stretch`, `extra-condensed`]]), r2(`font-stretch-condensed`, [[`font-stretch`, `condensed`]]), r2(`font-stretch-semi-condensed`, [[`font-stretch`, `semi-condensed`]]), r2(`font-stretch-semi-expanded`, [[`font-stretch`, `semi-expanded`]]), r2(`font-stretch-expanded`, [[`font-stretch`, `expanded`]]), r2(`font-stretch-extra-expanded`, [[`font-stretch`, `extra-expanded`]]), r2(`font-stretch-ultra-expanded`, [[`font-stretch`, `ultra-expanded`]]), i2(`font-stretch`, { handleBareValue: ({ value: e4 }) => {
1913 if (!e4.endsWith(`%`)) return null;
1914 let t3 = Number(e4.slice(0, -1));
1915 return !E(t3) || Number.isNaN(t3) || t3 < 50 || t3 > 200 ? null : e4;
1916 }, handle: (e4) => [B(`font-stretch`, e4)] }), n2(`font-stretch`, () => [{ values: [`50%`, `75%`, `90%`, `95%`, `100%`, `105%`, `110%`, `125%`, `150%`, `200%`] }]), a2(`placeholder`, { themeKeys: [`--placeholder-color`, `--color`], handle: (e4) => [L(`&::placeholder`, [B(`--tw-sort`, `placeholder-color`), B(`color`, e4)])] }), r2(`decoration-solid`, [[`text-decoration-style`, `solid`]]), r2(`decoration-double`, [[`text-decoration-style`, `double`]]), r2(`decoration-dotted`, [[`text-decoration-style`, `dotted`]]), r2(`decoration-dashed`, [[`text-decoration-style`, `dashed`]]), r2(`decoration-wavy`, [[`text-decoration-style`, `wavy`]]), r2(`decoration-auto`, [[`text-decoration-thickness`, `auto`]]), r2(`decoration-from-font`, [[`text-decoration-thickness`, `from-font`]]), t2.functional(`decoration`, (t3) => {
1917 if (t3.value) {
1918 if (t3.value.kind === `arbitrary`) {
1919 let n3 = t3.value.value;
1920 switch (t3.value.dataType ?? v(n3, [`color`, `length`, `percentage`])) {
1921 case `length`:
1922 case `percentage`:
1923 return t3.modifier ? void 0 : [B(`text-decoration-thickness`, n3)];
1924 default:
1925 return n3 = K(n3, t3.modifier, e3), n3 === null ? void 0 : [B(`text-decoration-color`, n3)];
1926 }
1927 }
1928 {
1929 let n3 = e3.resolve(t3.value.value, [`--text-decoration-thickness`]);
1930 if (n3) return t3.modifier ? void 0 : [B(`text-decoration-thickness`, n3)];
1931 if (E(t3.value.value)) return t3.modifier ? void 0 : [B(`text-decoration-thickness`, `${t3.value.value}px`)];
1932 }
1933 {
1934 let n3 = q(t3, e3, [`--text-decoration-color`, `--color`]);
1935 if (n3) return [B(`text-decoration-color`, n3)];
1936 }
1937 }
1938 }), n2(`decoration`, () => [{ values: [`current`, `inherit`, `transparent`], valueThemeKeys: [`--text-decoration-color`, `--color`], modifiers: Array.from({ length: 21 }, (e4, t3) => `${t3 * 5}`) }, { values: [`0`, `1`, `2`], valueThemeKeys: [`--text-decoration-thickness`] }]), i2(`animate`, { themeKeys: [`--animate`], handle: (e4) => [B(`animation`, e4)], staticValues: { none: [B(`animation`, `none`)] } });
1939 {
1940 let a3 = [`var(--tw-blur,)`, `var(--tw-brightness,)`, `var(--tw-contrast,)`, `var(--tw-grayscale,)`, `var(--tw-hue-rotate,)`, `var(--tw-invert,)`, `var(--tw-saturate,)`, `var(--tw-sepia,)`, `var(--tw-drop-shadow,)`].join(` `), o3 = [`var(--tw-backdrop-blur,)`, `var(--tw-backdrop-brightness,)`, `var(--tw-backdrop-contrast,)`, `var(--tw-backdrop-grayscale,)`, `var(--tw-backdrop-hue-rotate,)`, `var(--tw-backdrop-invert,)`, `var(--tw-backdrop-opacity,)`, `var(--tw-backdrop-saturate,)`, `var(--tw-backdrop-sepia,)`].join(` `), s3 = () => V([W(`--tw-blur`), W(`--tw-brightness`), W(`--tw-contrast`), W(`--tw-grayscale`), W(`--tw-hue-rotate`), W(`--tw-invert`), W(`--tw-opacity`), W(`--tw-saturate`), W(`--tw-sepia`), W(`--tw-drop-shadow`), W(`--tw-drop-shadow-color`), W(`--tw-drop-shadow-alpha`, `100%`, `<percentage>`), W(`--tw-drop-shadow-size`)]), c3 = () => V([W(`--tw-backdrop-blur`), W(`--tw-backdrop-brightness`), W(`--tw-backdrop-contrast`), W(`--tw-backdrop-grayscale`), W(`--tw-backdrop-hue-rotate`), W(`--tw-backdrop-invert`), W(`--tw-backdrop-opacity`), W(`--tw-backdrop-saturate`), W(`--tw-backdrop-sepia`)]);
1941 t2.functional(`filter`, (e4) => {
1942 if (!e4.modifier) {
1943 if (e4.value === null) return [s3(), B(`filter`, a3)];
1944 if (e4.value.kind === `arbitrary`) return [B(`filter`, e4.value.value)];
1945 switch (e4.value.value) {
1946 case `none`:
1947 return [B(`filter`, `none`)];
1948 }
1949 }
1950 }), t2.functional(`backdrop-filter`, (e4) => {
1951 if (!e4.modifier) {
1952 if (e4.value === null) return [c3(), B(`-webkit-backdrop-filter`, o3), B(`backdrop-filter`, o3)];
1953 if (e4.value.kind === `arbitrary`) return [B(`-webkit-backdrop-filter`, e4.value.value), B(`backdrop-filter`, e4.value.value)];
1954 switch (e4.value.value) {
1955 case `none`:
1956 return [B(`-webkit-backdrop-filter`, `none`), B(`backdrop-filter`, `none`)];
1957 }
1958 }
1959 }), i2(`blur`, { themeKeys: [`--blur`], handle: (e4) => [s3(), B(`--tw-blur`, `blur(${e4})`), B(`filter`, a3)], staticValues: { none: [s3(), B(`--tw-blur`, ` `), B(`filter`, a3)] } }), i2(`backdrop-blur`, { themeKeys: [`--backdrop-blur`, `--blur`], handle: (e4) => [c3(), B(`--tw-backdrop-blur`, `blur(${e4})`), B(`-webkit-backdrop-filter`, o3), B(`backdrop-filter`, o3)], staticValues: { none: [c3(), B(`--tw-backdrop-blur`, ` `), B(`-webkit-backdrop-filter`, o3), B(`backdrop-filter`, o3)] } }), i2(`brightness`, { themeKeys: [`--brightness`], handleBareValue: ({ value: e4 }) => E(e4) ? `${e4}%` : null, handle: (e4) => [s3(), B(`--tw-brightness`, `brightness(${e4})`), B(`filter`, a3)] }), i2(`backdrop-brightness`, { themeKeys: [`--backdrop-brightness`, `--brightness`], handleBareValue: ({ value: e4 }) => E(e4) ? `${e4}%` : null, handle: (e4) => [c3(), B(`--tw-backdrop-brightness`, `brightness(${e4})`), B(`-webkit-backdrop-filter`, o3), B(`backdrop-filter`, o3)] }), n2(`brightness`, () => [{ values: [`0`, `50`, `75`, `90`, `95`, `100`, `105`, `110`, `125`, `150`, `200`], valueThemeKeys: [`--brightness`] }]), n2(`backdrop-brightness`, () => [{ values: [`0`, `50`, `75`, `90`, `95`, `100`, `105`, `110`, `125`, `150`, `200`], valueThemeKeys: [`--backdrop-brightness`, `--brightness`] }]), i2(`contrast`, { themeKeys: [`--contrast`], handleBareValue: ({ value: e4 }) => E(e4) ? `${e4}%` : null, handle: (e4) => [s3(), B(`--tw-contrast`, `contrast(${e4})`), B(`filter`, a3)] }), i2(`backdrop-contrast`, { themeKeys: [`--backdrop-contrast`, `--contrast`], handleBareValue: ({ value: e4 }) => E(e4) ? `${e4}%` : null, handle: (e4) => [c3(), B(`--tw-backdrop-contrast`, `contrast(${e4})`), B(`-webkit-backdrop-filter`, o3), B(`backdrop-filter`, o3)] }), n2(`contrast`, () => [{ values: [`0`, `50`, `75`, `100`, `125`, `150`, `200`], valueThemeKeys: [`--contrast`] }]), n2(`backdrop-contrast`, () => [{ values: [`0`, `50`, `75`, `100`, `125`, `150`, `200`], valueThemeKeys: [`--backdrop-contrast`, `--contrast`] }]), i2(`grayscale`, { themeKeys: [`--grayscale`], handleBareValue: ({ value: e4 }) => E(e4) ? `${e4}%` : null, defaultValue: `100%`, handle: (e4) => [s3(), B(`--tw-grayscale`, `grayscale(${e4})`), B(`filter`, a3)] }), i2(`backdrop-grayscale`, { themeKeys: [`--backdrop-grayscale`, `--grayscale`], handleBareValue: ({ value: e4 }) => E(e4) ? `${e4}%` : null, defaultValue: `100%`, handle: (e4) => [c3(), B(`--tw-backdrop-grayscale`, `grayscale(${e4})`), B(`-webkit-backdrop-filter`, o3), B(`backdrop-filter`, o3)] }), n2(`grayscale`, () => [{ values: [`0`, `25`, `50`, `75`, `100`], valueThemeKeys: [`--grayscale`], hasDefaultValue: true }]), n2(`backdrop-grayscale`, () => [{ values: [`0`, `25`, `50`, `75`, `100`], valueThemeKeys: [`--backdrop-grayscale`, `--grayscale`], hasDefaultValue: true }]), i2(`hue-rotate`, { supportsNegative: true, themeKeys: [`--hue-rotate`], handleBareValue: ({ value: e4 }) => E(e4) ? `${e4}deg` : null, handle: (e4) => [s3(), B(`--tw-hue-rotate`, `hue-rotate(${e4})`), B(`filter`, a3)] }), i2(`backdrop-hue-rotate`, { supportsNegative: true, themeKeys: [`--backdrop-hue-rotate`, `--hue-rotate`], handleBareValue: ({ value: e4 }) => E(e4) ? `${e4}deg` : null, handle: (e4) => [c3(), B(`--tw-backdrop-hue-rotate`, `hue-rotate(${e4})`), B(`-webkit-backdrop-filter`, o3), B(`backdrop-filter`, o3)] }), n2(`hue-rotate`, () => [{ values: [`0`, `15`, `30`, `60`, `90`, `180`], valueThemeKeys: [`--hue-rotate`] }]), n2(`backdrop-hue-rotate`, () => [{ values: [`0`, `15`, `30`, `60`, `90`, `180`], valueThemeKeys: [`--backdrop-hue-rotate`, `--hue-rotate`] }]), i2(`invert`, { themeKeys: [`--invert`], handleBareValue: ({ value: e4 }) => E(e4) ? `${e4}%` : null, defaultValue: `100%`, handle: (e4) => [s3(), B(`--tw-invert`, `invert(${e4})`), B(`filter`, a3)] }), i2(`backdrop-invert`, { themeKeys: [`--backdrop-invert`, `--invert`], handleBareValue: ({ value: e4 }) => E(e4) ? `${e4}%` : null, defaultValue: `100%`, handle: (e4) => [c3(), B(`--tw-backdrop-invert`, `invert(${e4})`), B(`-webkit-backdrop-filter`, o3), B(`backdrop-filter`, o3)] }), n2(`invert`, () => [{ values: [`0`, `25`, `50`, `75`, `100`], valueThemeKeys: [`--invert`], hasDefaultValue: true }]), n2(`backdrop-invert`, () => [{ values: [`0`, `25`, `50`, `75`, `100`], valueThemeKeys: [`--backdrop-invert`, `--invert`], hasDefaultValue: true }]), i2(`saturate`, { themeKeys: [`--saturate`], handleBareValue: ({ value: e4 }) => E(e4) ? `${e4}%` : null, handle: (e4) => [s3(), B(`--tw-saturate`, `saturate(${e4})`), B(`filter`, a3)] }), i2(`backdrop-saturate`, { themeKeys: [`--backdrop-saturate`, `--saturate`], handleBareValue: ({ value: e4 }) => E(e4) ? `${e4}%` : null, handle: (e4) => [c3(), B(`--tw-backdrop-saturate`, `saturate(${e4})`), B(`-webkit-backdrop-filter`, o3), B(`backdrop-filter`, o3)] }), n2(`saturate`, () => [{ values: [`0`, `50`, `100`, `150`, `200`], valueThemeKeys: [`--saturate`] }]), n2(`backdrop-saturate`, () => [{ values: [`0`, `50`, `100`, `150`, `200`], valueThemeKeys: [`--backdrop-saturate`, `--saturate`] }]), i2(`sepia`, { themeKeys: [`--sepia`], handleBareValue: ({ value: e4 }) => E(e4) ? `${e4}%` : null, defaultValue: `100%`, handle: (e4) => [s3(), B(`--tw-sepia`, `sepia(${e4})`), B(`filter`, a3)] }), i2(`backdrop-sepia`, { themeKeys: [`--backdrop-sepia`, `--sepia`], handleBareValue: ({ value: e4 }) => E(e4) ? `${e4}%` : null, defaultValue: `100%`, handle: (e4) => [c3(), B(`--tw-backdrop-sepia`, `sepia(${e4})`), B(`-webkit-backdrop-filter`, o3), B(`backdrop-filter`, o3)] }), n2(`sepia`, () => [{ values: [`0`, `50`, `100`], valueThemeKeys: [`--sepia`], hasDefaultValue: true }]), n2(`backdrop-sepia`, () => [{ values: [`0`, `50`, `100`], valueThemeKeys: [`--backdrop-sepia`, `--sepia`], hasDefaultValue: true }]), r2(`drop-shadow-none`, [s3, [`--tw-drop-shadow`, ` `], [`filter`, a3]]), t2.functional(`drop-shadow`, (t3) => {
1960 let n3;
1961 if (t3.modifier && (t3.modifier.kind === `arbitrary` ? n3 = t3.modifier.value : E(t3.modifier.value) && (n3 = `${t3.modifier.value}%`)), !t3.value) {
1962 let t4 = e3.get([`--drop-shadow`]), r3 = e3.resolve(null, [`--drop-shadow`]);
1963 return t4 === null || r3 === null ? void 0 : [s3(), B(`--tw-drop-shadow-alpha`, n3), ...xn(`--tw-drop-shadow-size`, t4, n3, (e4) => `var(--tw-drop-shadow-color, ${e4})`), B(`--tw-drop-shadow`, g(r3, `,`).map((e4) => `drop-shadow(${e4})`).join(` `)), B(`filter`, a3)];
1964 }
1965 if (t3.value.kind === `arbitrary`) {
1966 let r3 = t3.value.value;
1967 switch (t3.value.dataType ?? v(r3, [`color`])) {
1968 case `color`:
1969 return r3 = K(r3, t3.modifier, e3), r3 === null ? void 0 : [s3(), B(`--tw-drop-shadow-color`, G(r3, `var(--tw-drop-shadow-alpha)`)), B(`--tw-drop-shadow`, `var(--tw-drop-shadow-size)`)];
1970 default:
1971 return t3.modifier && !n3 ? void 0 : [s3(), B(`--tw-drop-shadow-alpha`, n3), ...xn(`--tw-drop-shadow-size`, r3, n3, (e4) => `var(--tw-drop-shadow-color, ${e4})`), B(`--tw-drop-shadow`, `var(--tw-drop-shadow-size)`), B(`filter`, a3)];
1972 }
1973 }
1974 {
1975 let r3 = e3.get([`--drop-shadow-${t3.value.value}`]), i3 = e3.resolve(t3.value.value, [`--drop-shadow`]);
1976 if (r3 && i3) return t3.modifier && !n3 ? void 0 : n3 ? [s3(), B(`--tw-drop-shadow-alpha`, n3), ...xn(`--tw-drop-shadow-size`, r3, n3, (e4) => `var(--tw-drop-shadow-color, ${e4})`), B(`--tw-drop-shadow`, `var(--tw-drop-shadow-size)`), B(`filter`, a3)] : [s3(), B(`--tw-drop-shadow-alpha`, n3), ...xn(`--tw-drop-shadow-size`, r3, n3, (e4) => `var(--tw-drop-shadow-color, ${e4})`), B(`--tw-drop-shadow`, g(i3, `,`).map((e4) => `drop-shadow(${e4})`).join(` `)), B(`filter`, a3)];
1977 }
1978 {
1979 let n4 = q(t3, e3, [`--drop-shadow-color`, `--color`]);
1980 if (n4) return n4 === `inherit` ? [s3(), B(`--tw-drop-shadow-color`, `inherit`), B(`--tw-drop-shadow`, `var(--tw-drop-shadow-size)`)] : [s3(), B(`--tw-drop-shadow-color`, G(n4, `var(--tw-drop-shadow-alpha)`)), B(`--tw-drop-shadow`, `var(--tw-drop-shadow-size)`)];
1981 }
1982 }), n2(`drop-shadow`, () => [{ values: [`current`, `inherit`, `transparent`], valueThemeKeys: [`--drop-shadow-color`, `--color`], modifiers: Array.from({ length: 21 }, (e4, t3) => `${t3 * 5}`) }, { valueThemeKeys: [`--drop-shadow`] }]), i2(`backdrop-opacity`, { themeKeys: [`--backdrop-opacity`, `--opacity`], handleBareValue: ({ value: e4 }) => ye(e4) ? `${e4}%` : null, handle: (e4) => [c3(), B(`--tw-backdrop-opacity`, `opacity(${e4})`), B(`-webkit-backdrop-filter`, o3), B(`backdrop-filter`, o3)] }), n2(`backdrop-opacity`, () => [{ values: Array.from({ length: 21 }, (e4, t3) => `${t3 * 5}`), valueThemeKeys: [`--backdrop-opacity`, `--opacity`] }]);
1983 }
1984 {
1985 let a3 = `var(--tw-ease, ${e3.resolve(null, [`--default-transition-timing-function`]) ?? `ease`})`, o3 = `var(--tw-duration, ${e3.resolve(null, [`--default-transition-duration`]) ?? `0s`})`;
1986 i2(`transition`, { defaultValue: `color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events`, themeKeys: [`--transition-property`], handle: (e4) => [B(`transition-property`, e4), B(`transition-timing-function`, a3), B(`transition-duration`, o3)], staticValues: { none: [B(`transition-property`, `none`)], all: [B(`transition-property`, `all`), B(`transition-timing-function`, a3), B(`transition-duration`, o3)], colors: [B(`transition-property`, `color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to`), B(`transition-timing-function`, a3), B(`transition-duration`, o3)], opacity: [B(`transition-property`, `opacity`), B(`transition-timing-function`, a3), B(`transition-duration`, o3)], shadow: [B(`transition-property`, `box-shadow`), B(`transition-timing-function`, a3), B(`transition-duration`, o3)], transform: [B(`transition-property`, `transform, translate, scale, rotate`), B(`transition-timing-function`, a3), B(`transition-duration`, o3)] } }), r2(`transition-discrete`, [[`transition-behavior`, `allow-discrete`]]), r2(`transition-normal`, [[`transition-behavior`, `normal`]]), i2(`delay`, { handleBareValue: ({ value: e4 }) => E(e4) ? `${e4}ms` : null, themeKeys: [`--transition-delay`], handle: (e4) => [B(`transition-delay`, e4)] });
1987 {
1988 let n3 = () => V([W(`--tw-duration`)]);
1989 r2(`duration-initial`, [n3, [`--tw-duration`, `initial`]]), t2.functional(`duration`, (t3) => {
1990 if (t3.modifier || !t3.value) return;
1991 let r3 = null;
1992 if (t3.value.kind === `arbitrary` ? r3 = t3.value.value : (r3 = e3.resolve(t3.value.fraction ?? t3.value.value, [`--transition-duration`]), r3 === null && E(t3.value.value) && (r3 = `${t3.value.value}ms`)), r3 !== null) return [n3(), B(`--tw-duration`, r3), B(`transition-duration`, r3)];
1993 });
1994 }
1995 n2(`delay`, () => [{ values: [`75`, `100`, `150`, `200`, `300`, `500`, `700`, `1000`], valueThemeKeys: [`--transition-delay`] }]), n2(`duration`, () => [{ values: [`75`, `100`, `150`, `200`, `300`, `500`, `700`, `1000`], valueThemeKeys: [`--transition-duration`] }]);
1996 }
1997 {
1998 let e4 = () => V([W(`--tw-ease`)]);
1999 i2(`ease`, { themeKeys: [`--ease`], handle: (t3) => [e4(), B(`--tw-ease`, t3), B(`transition-timing-function`, t3)], staticValues: { initial: [e4(), B(`--tw-ease`, `initial`)], linear: [e4(), B(`--tw-ease`, `linear`), B(`transition-timing-function`, `linear`)] } });
2000 }
2001 r2(`will-change-auto`, [[`will-change`, `auto`]]), r2(`will-change-scroll`, [[`will-change`, `scroll-position`]]), r2(`will-change-contents`, [[`will-change`, `contents`]]), r2(`will-change-transform`, [[`will-change`, `transform`]]), i2(`will-change`, { themeKeys: [], handle: (e4) => [B(`will-change`, e4)] }), r2(`content-none`, [[`--tw-content`, `none`], [`content`, `none`]]), i2(`content`, { themeKeys: [`--content`], handle: (e4) => [V([W(`--tw-content`, `""`)]), B(`--tw-content`, e4), B(`content`, `var(--tw-content)`)] });
2002 {
2003 let e4 = `var(--tw-contain-size,) var(--tw-contain-layout,) var(--tw-contain-paint,) var(--tw-contain-style,)`, t3 = () => V([W(`--tw-contain-size`), W(`--tw-contain-layout`), W(`--tw-contain-paint`), W(`--tw-contain-style`)]);
2004 r2(`contain-none`, [[`contain`, `none`]]), r2(`contain-content`, [[`contain`, `content`]]), r2(`contain-strict`, [[`contain`, `strict`]]), r2(`contain-size`, [t3, [`--tw-contain-size`, `size`], [`contain`, e4]]), r2(`contain-inline-size`, [t3, [`--tw-contain-size`, `inline-size`], [`contain`, e4]]), r2(`contain-layout`, [t3, [`--tw-contain-layout`, `layout`], [`contain`, e4]]), r2(`contain-paint`, [t3, [`--tw-contain-paint`, `paint`], [`contain`, e4]]), r2(`contain-style`, [t3, [`--tw-contain-style`, `style`], [`contain`, e4]]), i2(`contain`, { themeKeys: [], handle: (e5) => [B(`contain`, e5)] });
2005 }
2006 r2(`forced-color-adjust-none`, [[`forced-color-adjust`, `none`]]), r2(`forced-color-adjust-auto`, [[`forced-color-adjust`, `auto`]]), o2(`leading`, [`--leading`, `--spacing`], (e4) => [V([W(`--tw-leading`)]), B(`--tw-leading`, e4), B(`line-height`, e4)], { staticValues: { none: [V([W(`--tw-leading`)]), B(`--tw-leading`, `1`), B(`line-height`, `1`)] } }), i2(`tracking`, { supportsNegative: true, themeKeys: [`--tracking`], handle: (e4) => [V([W(`--tw-tracking`)]), B(`--tw-tracking`, e4), B(`letter-spacing`, e4)] }), r2(`antialiased`, [[`-webkit-font-smoothing`, `antialiased`], [`-moz-osx-font-smoothing`, `grayscale`]]), r2(`subpixel-antialiased`, [[`-webkit-font-smoothing`, `auto`], [`-moz-osx-font-smoothing`, `auto`]]);
2007 {
2008 let e4 = `var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)`, t3 = () => V([W(`--tw-ordinal`), W(`--tw-slashed-zero`), W(`--tw-numeric-figure`), W(`--tw-numeric-spacing`), W(`--tw-numeric-fraction`)]);
2009 r2(`normal-nums`, [[`font-variant-numeric`, `normal`]]), r2(`ordinal`, [t3, [`--tw-ordinal`, `ordinal`], [`font-variant-numeric`, e4]]), r2(`slashed-zero`, [t3, [`--tw-slashed-zero`, `slashed-zero`], [`font-variant-numeric`, e4]]), r2(`lining-nums`, [t3, [`--tw-numeric-figure`, `lining-nums`], [`font-variant-numeric`, e4]]), r2(`oldstyle-nums`, [t3, [`--tw-numeric-figure`, `oldstyle-nums`], [`font-variant-numeric`, e4]]), r2(`proportional-nums`, [t3, [`--tw-numeric-spacing`, `proportional-nums`], [`font-variant-numeric`, e4]]), r2(`tabular-nums`, [t3, [`--tw-numeric-spacing`, `tabular-nums`], [`font-variant-numeric`, e4]]), r2(`diagonal-fractions`, [t3, [`--tw-numeric-fraction`, `diagonal-fractions`], [`font-variant-numeric`, e4]]), r2(`stacked-fractions`, [t3, [`--tw-numeric-fraction`, `stacked-fractions`], [`font-variant-numeric`, e4]]);
2010 }
2011 {
2012 let a3 = () => V([W(`--tw-outline-style`, `solid`)]);
2013 t2.static(`outline-hidden`, () => [B(`--tw-outline-style`, `none`), B(`outline-style`, `none`), R(`@media`, `(forced-colors: active)`, [B(`outline`, `2px solid transparent`), B(`outline-offset`, `2px`)])]), r2(`outline-none`, [[`--tw-outline-style`, `none`], [`outline-style`, `none`]]), r2(`outline-solid`, [[`--tw-outline-style`, `solid`], [`outline-style`, `solid`]]), r2(`outline-dashed`, [[`--tw-outline-style`, `dashed`], [`outline-style`, `dashed`]]), r2(`outline-dotted`, [[`--tw-outline-style`, `dotted`], [`outline-style`, `dotted`]]), r2(`outline-double`, [[`--tw-outline-style`, `double`], [`outline-style`, `double`]]), t2.functional(`outline`, (t3) => {
2014 if (t3.value === null) {
2015 if (t3.modifier) return;
2016 let n3 = e3.get([`--default-outline-width`]) ?? `1px`;
2017 return [a3(), B(`outline-style`, `var(--tw-outline-style)`), B(`outline-width`, n3)];
2018 }
2019 if (t3.value.kind === `arbitrary`) {
2020 let n3 = t3.value.value;
2021 switch (t3.value.dataType ?? v(n3, [`color`, `length`, `number`, `percentage`])) {
2022 case `length`:
2023 case `number`:
2024 case `percentage`:
2025 return t3.modifier ? void 0 : [a3(), B(`outline-style`, `var(--tw-outline-style)`), B(`outline-width`, n3)];
2026 default:
2027 return n3 = K(n3, t3.modifier, e3), n3 === null ? void 0 : [B(`outline-color`, n3)];
2028 }
2029 }
2030 {
2031 let n3 = q(t3, e3, [`--outline-color`, `--color`]);
2032 if (n3) return [B(`outline-color`, n3)];
2033 }
2034 {
2035 if (t3.modifier) return;
2036 let n3 = e3.resolve(t3.value.value, [`--outline-width`]);
2037 if (n3) return [a3(), B(`outline-style`, `var(--tw-outline-style)`), B(`outline-width`, n3)];
2038 if (E(t3.value.value)) return [a3(), B(`outline-style`, `var(--tw-outline-style)`), B(`outline-width`, `${t3.value.value}px`)];
2039 }
2040 }), n2(`outline`, () => [{ values: [`current`, `inherit`, `transparent`], valueThemeKeys: [`--outline-color`, `--color`], modifiers: Array.from({ length: 21 }, (e4, t3) => `${t3 * 5}`), hasDefaultValue: true }, { values: [`0`, `1`, `2`, `4`, `8`], valueThemeKeys: [`--outline-width`] }]), i2(`outline-offset`, { supportsNegative: true, themeKeys: [`--outline-offset`], handleBareValue: ({ value: e4 }) => E(e4) ? `${e4}px` : null, handle: (e4) => [B(`outline-offset`, e4)] }), n2(`outline-offset`, () => [{ supportsNegative: true, values: [`0`, `1`, `2`, `4`, `8`], valueThemeKeys: [`--outline-offset`] }]);
2041 }
2042 i2(`opacity`, { themeKeys: [`--opacity`], handleBareValue: ({ value: e4 }) => ye(e4) ? `${e4}%` : null, handle: (e4) => [B(`opacity`, e4)] }), n2(`opacity`, () => [{ values: Array.from({ length: 21 }, (e4, t3) => `${t3 * 5}`), valueThemeKeys: [`--opacity`] }]), i2(`underline-offset`, { supportsNegative: true, themeKeys: [`--text-underline-offset`], handleBareValue: ({ value: e4 }) => E(e4) ? `${e4}px` : null, handle: (e4) => [B(`text-underline-offset`, e4)], staticValues: { auto: [B(`text-underline-offset`, `auto`)] } }), n2(`underline-offset`, () => [{ supportsNegative: true, values: [`0`, `1`, `2`, `4`, `8`], valueThemeKeys: [`--text-underline-offset`] }]), t2.functional(`text`, (t3) => {
2043 if (t3.value) {
2044 if (t3.value.kind === `arbitrary`) {
2045 let n3 = t3.value.value;
2046 switch (t3.value.dataType ?? v(n3, [`color`, `length`, `percentage`, `absolute-size`, `relative-size`])) {
2047 case `size`:
2048 case `length`:
2049 case `percentage`:
2050 case `absolute-size`:
2051 case `relative-size`:
2052 if (t3.modifier) {
2053 let r3 = t3.modifier.kind === `arbitrary` ? t3.modifier.value : e3.resolve(t3.modifier.value, [`--leading`]);
2054 if (!r3 && D(t3.modifier.value)) {
2055 let n4 = e3.resolve(null, [`--spacing`]);
2056 if (!n4) return null;
2057 r3 = `calc(${n4} * ${t3.modifier.value})`;
2058 }
2059 return !r3 && t3.modifier.value === `none` && (r3 = `1`), r3 ? [B(`font-size`, n3), B(`line-height`, r3)] : null;
2060 }
2061 return [B(`font-size`, n3)];
2062 default:
2063 return n3 = K(n3, t3.modifier, e3), n3 === null ? void 0 : [B(`color`, n3)];
2064 }
2065 }
2066 {
2067 let n3 = q(t3, e3, [`--text-color`, `--color`]);
2068 if (n3) return [B(`color`, n3)];
2069 }
2070 {
2071 let n3 = e3.resolveWith(t3.value.value, [`--text`], [`--line-height`, `--letter-spacing`, `--font-weight`]);
2072 if (n3) {
2073 let [r3, i3 = {}] = Array.isArray(n3) ? n3 : [n3];
2074 if (t3.modifier) {
2075 let n4 = t3.modifier.kind === `arbitrary` ? t3.modifier.value : e3.resolve(t3.modifier.value, [`--leading`]);
2076 if (!n4 && D(t3.modifier.value)) {
2077 let r4 = e3.resolve(null, [`--spacing`]);
2078 if (!r4) return null;
2079 n4 = `calc(${r4} * ${t3.modifier.value})`;
2080 }
2081 if (!n4 && t3.modifier.value === `none` && (n4 = `1`), !n4) return null;
2082 let i4 = [B(`font-size`, r3)];
2083 return n4 && i4.push(B(`line-height`, n4)), i4;
2084 }
2085 return typeof i3 == `string` ? [B(`font-size`, r3), B(`line-height`, i3)] : [B(`font-size`, r3), B(`line-height`, i3[`--line-height`] ? `var(--tw-leading, ${i3[`--line-height`]})` : void 0), B(`letter-spacing`, i3[`--letter-spacing`] ? `var(--tw-tracking, ${i3[`--letter-spacing`]})` : void 0), B(`font-weight`, i3[`--font-weight`] ? `var(--tw-font-weight, ${i3[`--font-weight`]})` : void 0)];
2086 }
2087 }
2088 }
2089 }), n2(`text`, () => [{ values: [`current`, `inherit`, `transparent`], valueThemeKeys: [`--text-color`, `--color`], modifiers: Array.from({ length: 21 }, (e4, t3) => `${t3 * 5}`) }, { values: [], valueThemeKeys: [`--text`], modifiers: [], modifierThemeKeys: [`--leading`] }]);
2090 let w2 = () => V([W(`--tw-text-shadow-color`), W(`--tw-text-shadow-alpha`, `100%`, `<percentage>`)]);
2091 r2(`text-shadow-initial`, [w2, [`--tw-text-shadow-color`, `initial`]]), t2.functional(`text-shadow`, (t3) => {
2092 let n3;
2093 if (t3.modifier && (t3.modifier.kind === `arbitrary` ? n3 = t3.modifier.value : E(t3.modifier.value) && (n3 = `${t3.modifier.value}%`)), !t3.value) {
2094 let t4 = e3.get([`--text-shadow`]);
2095 return t4 === null ? void 0 : [w2(), B(`--tw-text-shadow-alpha`, n3), ...bn(`text-shadow`, t4, n3, (e4) => `var(--tw-text-shadow-color, ${e4})`)];
2096 }
2097 if (t3.value.kind === `arbitrary`) {
2098 let r3 = t3.value.value;
2099 switch (t3.value.dataType ?? v(r3, [`color`])) {
2100 case `color`:
2101 return r3 = K(r3, t3.modifier, e3), r3 === null ? void 0 : [w2(), B(`--tw-text-shadow-color`, G(r3, `var(--tw-text-shadow-alpha)`))];
2102 default:
2103 return [w2(), B(`--tw-text-shadow-alpha`, n3), ...bn(`text-shadow`, r3, n3, (e4) => `var(--tw-text-shadow-color, ${e4})`)];
2104 }
2105 }
2106 switch (t3.value.value) {
2107 case `none`:
2108 return t3.modifier ? void 0 : [w2(), B(`text-shadow`, `none`)];
2109 case `inherit`:
2110 return t3.modifier ? void 0 : [w2(), B(`--tw-text-shadow-color`, `inherit`)];
2111 }
2112 {
2113 let r3 = e3.get([`--text-shadow-${t3.value.value}`]);
2114 if (r3) return [w2(), B(`--tw-text-shadow-alpha`, n3), ...bn(`text-shadow`, r3, n3, (e4) => `var(--tw-text-shadow-color, ${e4})`)];
2115 }
2116 {
2117 let n4 = q(t3, e3, [`--text-shadow-color`, `--color`]);
2118 if (n4) return [w2(), B(`--tw-text-shadow-color`, G(n4, `var(--tw-text-shadow-alpha)`))];
2119 }
2120 }), n2(`text-shadow`, () => [{ values: [`current`, `inherit`, `transparent`], valueThemeKeys: [`--text-shadow-color`, `--color`], modifiers: Array.from({ length: 21 }, (e4, t3) => `${t3 * 5}`) }, { values: [`none`] }, { valueThemeKeys: [`--text-shadow`], modifiers: Array.from({ length: 21 }, (e4, t3) => `${t3 * 5}`), hasDefaultValue: e3.get([`--text-shadow`]) !== null }]);
2121 {
2122 let i3 = function(e4) {
2123 return `var(--tw-ring-inset,) 0 0 0 calc(${e4} + var(--tw-ring-offset-width)) var(--tw-ring-color, ${l3})`;
2124 }, a3 = function(e4) {
2125 return `inset 0 0 0 ${e4} var(--tw-inset-ring-color, currentcolor)`;
2126 }, o3 = [`var(--tw-inset-shadow)`, `var(--tw-inset-ring-shadow)`, `var(--tw-ring-offset-shadow)`, `var(--tw-ring-shadow)`, `var(--tw-shadow)`].join(`, `), s3 = `0 0 #0000`, c3 = () => V([W(`--tw-shadow`, s3), W(`--tw-shadow-color`), W(`--tw-shadow-alpha`, `100%`, `<percentage>`), W(`--tw-inset-shadow`, s3), W(`--tw-inset-shadow-color`), W(`--tw-inset-shadow-alpha`, `100%`, `<percentage>`), W(`--tw-ring-color`), W(`--tw-ring-shadow`, s3), W(`--tw-inset-ring-color`), W(`--tw-inset-ring-shadow`, s3), W(`--tw-ring-inset`), W(`--tw-ring-offset-width`, `0px`, `<length>`), W(`--tw-ring-offset-color`, `#fff`), W(`--tw-ring-offset-shadow`, s3)]);
2127 r2(`shadow-initial`, [c3, [`--tw-shadow-color`, `initial`]]), t2.functional(`shadow`, (t3) => {
2128 let n3;
2129 if (t3.modifier && (t3.modifier.kind === `arbitrary` ? n3 = t3.modifier.value : E(t3.modifier.value) && (n3 = `${t3.modifier.value}%`)), !t3.value) {
2130 let t4 = e3.get([`--shadow`]);
2131 return t4 === null ? void 0 : [c3(), B(`--tw-shadow-alpha`, n3), ...bn(`--tw-shadow`, t4, n3, (e4) => `var(--tw-shadow-color, ${e4})`), B(`box-shadow`, o3)];
2132 }
2133 if (t3.value.kind === `arbitrary`) {
2134 let r3 = t3.value.value;
2135 switch (t3.value.dataType ?? v(r3, [`color`])) {
2136 case `color`:
2137 return r3 = K(r3, t3.modifier, e3), r3 === null ? void 0 : [c3(), B(`--tw-shadow-color`, G(r3, `var(--tw-shadow-alpha)`))];
2138 default:
2139 return [c3(), B(`--tw-shadow-alpha`, n3), ...bn(`--tw-shadow`, r3, n3, (e4) => `var(--tw-shadow-color, ${e4})`), B(`box-shadow`, o3)];
2140 }
2141 }
2142 switch (t3.value.value) {
2143 case `none`:
2144 return t3.modifier ? void 0 : [c3(), B(`--tw-shadow`, s3), B(`box-shadow`, o3)];
2145 case `inherit`:
2146 return t3.modifier ? void 0 : [c3(), B(`--tw-shadow-color`, `inherit`)];
2147 }
2148 {
2149 let r3 = e3.get([`--shadow-${t3.value.value}`]);
2150 if (r3) return [c3(), B(`--tw-shadow-alpha`, n3), ...bn(`--tw-shadow`, r3, n3, (e4) => `var(--tw-shadow-color, ${e4})`), B(`box-shadow`, o3)];
2151 }
2152 {
2153 let n4 = q(t3, e3, [`--box-shadow-color`, `--color`]);
2154 if (n4) return [c3(), B(`--tw-shadow-color`, G(n4, `var(--tw-shadow-alpha)`))];
2155 }
2156 }), n2(`shadow`, () => [{ values: [`current`, `inherit`, `transparent`], valueThemeKeys: [`--box-shadow-color`, `--color`], modifiers: Array.from({ length: 21 }, (e4, t3) => `${t3 * 5}`) }, { values: [`none`] }, { valueThemeKeys: [`--shadow`], modifiers: Array.from({ length: 21 }, (e4, t3) => `${t3 * 5}`), hasDefaultValue: e3.get([`--shadow`]) !== null }]), r2(`inset-shadow-initial`, [c3, [`--tw-inset-shadow-color`, `initial`]]), t2.functional(`inset-shadow`, (t3) => {
2157 let n3;
2158 if (t3.modifier && (t3.modifier.kind === `arbitrary` ? n3 = t3.modifier.value : E(t3.modifier.value) && (n3 = `${t3.modifier.value}%`)), !t3.value) {
2159 let t4 = e3.get([`--inset-shadow`]);
2160 return t4 === null ? void 0 : [c3(), B(`--tw-inset-shadow-alpha`, n3), ...bn(`--tw-inset-shadow`, t4, n3, (e4) => `var(--tw-inset-shadow-color, ${e4})`), B(`box-shadow`, o3)];
2161 }
2162 if (t3.value.kind === `arbitrary`) {
2163 let r3 = t3.value.value;
2164 switch (t3.value.dataType ?? v(r3, [`color`])) {
2165 case `color`:
2166 return r3 = K(r3, t3.modifier, e3), r3 === null ? void 0 : [c3(), B(`--tw-inset-shadow-color`, G(r3, `var(--tw-inset-shadow-alpha)`))];
2167 default:
2168 return [c3(), B(`--tw-inset-shadow-alpha`, n3), ...bn(`--tw-inset-shadow`, r3, n3, (e4) => `var(--tw-inset-shadow-color, ${e4})`, `inset`), B(`box-shadow`, o3)];
2169 }
2170 }
2171 switch (t3.value.value) {
2172 case `none`:
2173 return t3.modifier ? void 0 : [c3(), B(`--tw-inset-shadow`, s3), B(`box-shadow`, o3)];
2174 case `inherit`:
2175 return t3.modifier ? void 0 : [c3(), B(`--tw-inset-shadow-color`, `inherit`)];
2176 }
2177 {
2178 let r3 = e3.get([`--inset-shadow-${t3.value.value}`]);
2179 if (r3) return [c3(), B(`--tw-inset-shadow-alpha`, n3), ...bn(`--tw-inset-shadow`, r3, n3, (e4) => `var(--tw-inset-shadow-color, ${e4})`), B(`box-shadow`, o3)];
2180 }
2181 {
2182 let n4 = q(t3, e3, [`--box-shadow-color`, `--color`]);
2183 if (n4) return [c3(), B(`--tw-inset-shadow-color`, G(n4, `var(--tw-inset-shadow-alpha)`))];
2184 }
2185 }), n2(`inset-shadow`, () => [{ values: [`current`, `inherit`, `transparent`], valueThemeKeys: [`--box-shadow-color`, `--color`], modifiers: Array.from({ length: 21 }, (e4, t3) => `${t3 * 5}`) }, { values: [`none`] }, { valueThemeKeys: [`--inset-shadow`], modifiers: Array.from({ length: 21 }, (e4, t3) => `${t3 * 5}`), hasDefaultValue: e3.get([`--inset-shadow`]) !== null }]), r2(`ring-inset`, [c3, [`--tw-ring-inset`, `inset`]]);
2186 let l3 = e3.get([`--default-ring-color`]) ?? `currentcolor`;
2187 t2.functional(`ring`, (t3) => {
2188 if (!t3.value) {
2189 if (t3.modifier) return;
2190 let n3 = e3.get([`--default-ring-width`]) ?? `1px`;
2191 return [c3(), B(`--tw-ring-shadow`, i3(n3)), B(`box-shadow`, o3)];
2192 }
2193 if (t3.value.kind === `arbitrary`) {
2194 let n3 = t3.value.value;
2195 switch (t3.value.dataType ?? v(n3, [`color`, `length`])) {
2196 case `length`:
2197 return t3.modifier ? void 0 : [c3(), B(`--tw-ring-shadow`, i3(n3)), B(`box-shadow`, o3)];
2198 default:
2199 return n3 = K(n3, t3.modifier, e3), n3 === null ? void 0 : [B(`--tw-ring-color`, n3)];
2200 }
2201 }
2202 {
2203 let n3 = q(t3, e3, [`--ring-color`, `--color`]);
2204 if (n3) return [B(`--tw-ring-color`, n3)];
2205 }
2206 {
2207 if (t3.modifier) return;
2208 let n3 = e3.resolve(t3.value.value, [`--ring-width`]);
2209 if (n3 === null && E(t3.value.value) && (n3 = `${t3.value.value}px`), n3) return [c3(), B(`--tw-ring-shadow`, i3(n3)), B(`box-shadow`, o3)];
2210 }
2211 }), n2(`ring`, () => [{ values: [`current`, `inherit`, `transparent`], valueThemeKeys: [`--ring-color`, `--color`], modifiers: Array.from({ length: 21 }, (e4, t3) => `${t3 * 5}`) }, { values: [`0`, `1`, `2`, `4`, `8`], valueThemeKeys: [`--ring-width`], hasDefaultValue: true }]), t2.functional(`inset-ring`, (t3) => {
2212 if (!t3.value) return t3.modifier ? void 0 : [c3(), B(`--tw-inset-ring-shadow`, a3(`1px`)), B(`box-shadow`, o3)];
2213 if (t3.value.kind === `arbitrary`) {
2214 let n3 = t3.value.value;
2215 switch (t3.value.dataType ?? v(n3, [`color`, `length`])) {
2216 case `length`:
2217 return t3.modifier ? void 0 : [c3(), B(`--tw-inset-ring-shadow`, a3(n3)), B(`box-shadow`, o3)];
2218 default:
2219 return n3 = K(n3, t3.modifier, e3), n3 === null ? void 0 : [B(`--tw-inset-ring-color`, n3)];
2220 }
2221 }
2222 {
2223 let n3 = q(t3, e3, [`--ring-color`, `--color`]);
2224 if (n3) return [B(`--tw-inset-ring-color`, n3)];
2225 }
2226 {
2227 if (t3.modifier) return;
2228 let n3 = e3.resolve(t3.value.value, [`--ring-width`]);
2229 if (n3 === null && E(t3.value.value) && (n3 = `${t3.value.value}px`), n3) return [c3(), B(`--tw-inset-ring-shadow`, a3(n3)), B(`box-shadow`, o3)];
2230 }
2231 }), n2(`inset-ring`, () => [{ values: [`current`, `inherit`, `transparent`], valueThemeKeys: [`--ring-color`, `--color`], modifiers: Array.from({ length: 21 }, (e4, t3) => `${t3 * 5}`) }, { values: [`0`, `1`, `2`, `4`, `8`], valueThemeKeys: [`--ring-width`], hasDefaultValue: true }]);
2232 let u3 = `var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)`;
2233 t2.functional(`ring-offset`, (t3) => {
2234 if (t3.value) {
2235 if (t3.value.kind === `arbitrary`) {
2236 let n3 = t3.value.value;
2237 switch (t3.value.dataType ?? v(n3, [`color`, `length`])) {
2238 case `length`:
2239 return t3.modifier ? void 0 : [B(`--tw-ring-offset-width`, n3), B(`--tw-ring-offset-shadow`, u3)];
2240 default:
2241 return n3 = K(n3, t3.modifier, e3), n3 === null ? void 0 : [B(`--tw-ring-offset-color`, n3)];
2242 }
2243 }
2244 {
2245 let n3 = e3.resolve(t3.value.value, [`--ring-offset-width`]);
2246 if (n3) return t3.modifier ? void 0 : [B(`--tw-ring-offset-width`, n3), B(`--tw-ring-offset-shadow`, u3)];
2247 if (E(t3.value.value)) return t3.modifier ? void 0 : [B(`--tw-ring-offset-width`, `${t3.value.value}px`), B(`--tw-ring-offset-shadow`, u3)];
2248 }
2249 {
2250 let n3 = q(t3, e3, [`--ring-offset-color`, `--color`]);
2251 if (n3) return [B(`--tw-ring-offset-color`, n3)];
2252 }
2253 }
2254 });
2255 }
2256 return n2(`ring-offset`, () => [{ values: [`current`, `inherit`, `transparent`], valueThemeKeys: [`--ring-offset-color`, `--color`], modifiers: Array.from({ length: 21 }, (e4, t3) => `${t3 * 5}`) }, { values: [`0`, `1`, `2`, `4`, `8`], valueThemeKeys: [`--ring-offset-width`] }]), t2.functional(`@container`, (e4) => {
2257 let t3 = null;
2258 if (e4.value === null ? t3 = `inline-size` : e4.value.kind === `arbitrary` ? t3 = e4.value.value : e4.value.kind === `named` && e4.value.value === `normal` && (t3 = `normal`), t3 !== null) return e4.modifier ? [B(`container-type`, t3), B(`container-name`, e4.modifier.value)] : [B(`container-type`, t3)];
2259 }), n2(`@container`, () => [{ values: [`normal`], valueThemeKeys: [], hasDefaultValue: true }]), t2;
2260 }
2261 var _n = [`number`, `integer`, `ratio`, `percentage`];
2262 function vn(e3) {
2263 let t2 = tt(e3.params);
2264 return Fn(t2) ? (n2) => {
2265 let r2 = { "--value": { usedSpacingInteger: false, usedSpacingNumber: false, themeKeys: /* @__PURE__ */ new Set(), literals: /* @__PURE__ */ new Set() }, "--modifier": { usedSpacingInteger: false, usedSpacingNumber: false, themeKeys: /* @__PURE__ */ new Set(), literals: /* @__PURE__ */ new Set() } };
2266 I(e3.nodes, (e4) => {
2267 if (e4.kind !== `declaration` || !e4.value || !e4.value.includes(`--value(`) && !e4.value.includes(`--modifier(`)) return;
2268 let t3 = P(e4.value);
2269 I(t3, (e5) => {
2270 if (e5.kind !== `function`) return;
2271 if (e5.value === `--spacing` && !(r2[`--modifier`].usedSpacingNumber && r2[`--value`].usedSpacingNumber)) return I(e5.nodes, (e6) => {
2272 var _a3, _b;
2273 if (e6.kind !== `function` || e6.value !== `--value` && e6.value !== `--modifier`) return;
2274 let t5 = e6.value;
2275 for (let n3 of e6.nodes) if (n3.kind === `word`) {
2276 if (n3.value === `integer`) (_a3 = r2[t5]).usedSpacingInteger || (_a3.usedSpacingInteger = true);
2277 else if (n3.value === `number` && ((_b = r2[t5]).usedSpacingNumber || (_b.usedSpacingNumber = true), r2[`--modifier`].usedSpacingNumber && r2[`--value`].usedSpacingNumber)) return F.Stop;
2278 }
2279 }), F.Continue;
2280 if (e5.value !== `--value` && e5.value !== `--modifier`) return;
2281 let t4 = g(N(e5.nodes), `,`);
2282 for (let [e6, n3] of t4.entries()) n3 = n3.replace(/\\\*/g, `*`), n3 = n3.replace(/--(.*?)\s--(.*?)/g, `--$1-*--$2`), n3 = n3.replace(/\s+/g, ``), n3 = n3.replace(/(-\*){2,}/g, `-*`), n3[0] === `-` && n3[1] === `-` && !n3.includes(`-*`) && (n3 += `-*`), t4[e6] = n3;
2283 e5.nodes = P(t4.join(`,`));
2284 for (let t5 of e5.nodes) if (t5.kind === `word` && (t5.value[0] === `"` || t5.value[0] === `'`) && t5.value[0] === t5.value[t5.value.length - 1]) {
2285 let n3 = t5.value.slice(1, -1);
2286 r2[e5.value].literals.add(n3);
2287 } else if (t5.kind === `word` && t5.value[0] === `-` && t5.value[1] === `-`) {
2288 let n3 = t5.value.replace(/-\*.*$/g, ``);
2289 r2[e5.value].themeKeys.add(n3);
2290 } else if (t5.kind === `word` && !(t5.value[0] === `[` && t5.value[t5.value.length - 1] === `]`) && !_n.includes(t5.value)) {
2291 console.warn(`Unsupported bare value data type: "${t5.value}".
2292 Only valid data types are: ${_n.map((e6) => `"${e6}"`).join(`, `)}.
2293 `);
2294 let n3 = t5.value, r3 = structuredClone(e5);
2295 I(r3.nodes, (e6) => {
2296 if (e6.kind === `word` && e6.value === n3) return F.ReplaceSkip({ kind: `word`, value: `\xB6` });
2297 });
2298 let i2 = `^`.repeat(N([t5]).length), a2 = N([r3]).indexOf(`\xB6`), o2 = ["```css", N([e5]), ` `.repeat(a2) + i2, "```"].join(`
2299 `);
2300 console.warn(o2);
2301 }
2302 }), e4.value = N(t3);
2303 }), n2.utilities.functional(t2.slice(0, -2), (t3) => {
2304 let r3 = H(e3), i2 = t3.value, a2 = t3.modifier;
2305 if (i2 === null) return;
2306 let o2 = false, s2 = false, c2 = false, l2 = false, u2 = /* @__PURE__ */ new Map(), d2 = false;
2307 if (I([r3], (e4, t4) => {
2308 let r4 = t4.parent;
2309 if (r4?.kind !== `rule` && r4?.kind !== `at-rule` || e4.kind !== `declaration` || !e4.value) return;
2310 let f2 = false, p2 = P(e4.value);
2311 if (I(p2, (t5) => {
2312 if (t5.kind === `function`) {
2313 if (t5.value === `--value`) {
2314 o2 = true;
2315 let a3 = yn(i2, t5, n2);
2316 return a3 ? (s2 = true, a3.ratio ? d2 = true : u2.set(e4, r4), F.ReplaceSkip(a3.nodes)) : (o2 || (o2 = false), f2 = true, F.Stop);
2317 } else if (t5.value === `--modifier`) {
2318 if (a2 === null) return f2 = true, F.Stop;
2319 c2 = true;
2320 let e5 = yn(a2, t5, n2);
2321 return e5 ? (l2 = true, F.ReplaceSkip(e5.nodes)) : (c2 || (c2 = false), f2 = true, F.Stop);
2322 }
2323 }
2324 }), f2) return F.ReplaceSkip([]);
2325 e4.value = N(p2);
2326 }), o2 && !s2 || c2 && !l2 || d2 && l2 || a2 && !d2 && !l2) return null;
2327 if (d2) for (let [e4, t4] of u2) {
2328 let n3 = t4.nodes.indexOf(e4);
2329 n3 !== -1 && t4.nodes.splice(n3, 1);
2330 }
2331 return r3.nodes;
2332 }), n2.utilities.suggest(t2.slice(0, -2), () => {
2333 let e4 = [], t3 = [];
2334 for (let [i2, { literals: a2, usedSpacingNumber: o2, usedSpacingInteger: s2, themeKeys: c2 }] of [[e4, r2[`--value`]], [t3, r2[`--modifier`]]]) {
2335 for (let e5 of a2) i2.push(e5);
2336 if (o2) i2.push(...fn);
2337 else if (s2) for (let e5 of fn) E(e5) && i2.push(e5);
2338 for (let e5 of n2.theme.keysInNamespaces(c2)) i2.push(e5.replace(hn, (e6, t4, n3) => `${t4}.${n3}`));
2339 }
2340 return [{ values: e4, modifiers: t3 }];
2341 });
2342 } : Pn(t2) ? (n2) => {
2343 n2.utilities.static(t2, () => e3.nodes.map(H));
2344 } : null;
2345 }
2346 function yn(e3, t2, n2) {
2347 for (let r2 of t2.nodes) {
2348 if (e3.kind === `named` && r2.kind === `word` && (r2.value[0] === `'` || r2.value[0] === `"`) && r2.value[r2.value.length - 1] === r2.value[0] && r2.value.slice(1, -1) === e3.value) return { nodes: P(e3.value) };
2349 if (e3.kind === `named` && r2.kind === `word` && r2.value[0] === `-` && r2.value[1] === `-`) {
2350 let t3 = r2.value;
2351 if (t3.endsWith(`-*`)) {
2352 t3 = t3.slice(0, -2);
2353 let r3 = n2.theme.resolve(e3.value, [t3]);
2354 if (r3) return { nodes: P(r3) };
2355 } else {
2356 let r3 = t3.split(`-*`);
2357 if (r3.length <= 1) continue;
2358 let i2 = [r3.shift()], a2 = n2.theme.resolveWith(e3.value, i2, r3);
2359 if (a2) {
2360 let [, e4 = {}] = a2;
2361 {
2362 let t4 = e4[r3.pop()];
2363 if (t4) return { nodes: P(t4) };
2364 }
2365 }
2366 }
2367 } else if (e3.kind === `named` && r2.kind === `word`) {
2368 if (!_n.includes(r2.value)) continue;
2369 let t3 = r2.value === `ratio` && `fraction` in e3 ? e3.fraction : e3.value;
2370 if (!t3) continue;
2371 let n3 = v(t3, [r2.value]);
2372 if (n3 === null) continue;
2373 if (n3 === `ratio`) {
2374 let [e4, n4] = g(t3, `/`).map(Number);
2375 if (!E(e4) || !E(n4)) continue;
2376 } else if (n3 === `number` && !D(t3) || n3 === `percentage` && !E(t3.slice(0, -1))) continue;
2377 if (n3 === `ratio`) {
2378 let [e4, n4] = g(t3, `/`);
2379 return { nodes: P(`${e4.trim()} / ${n4.trim()}`), ratio: true };
2380 }
2381 return { nodes: P(t3), ratio: false };
2382 } else if (e3.kind === `arbitrary` && r2.kind === `word` && r2.value[0] === `[` && r2.value[r2.value.length - 1] === `]`) {
2383 let t3 = r2.value.slice(1, -1);
2384 if (t3 === `*`) return { nodes: P(e3.value) };
2385 if (`dataType` in e3 && e3.dataType && e3.dataType !== t3) continue;
2386 if (`dataType` in e3 && e3.dataType || v(e3.value, [t3]) !== null) return { nodes: P(e3.value) };
2387 }
2388 }
2389 }
2390 function bn(e3, t2, n2, r2, i2 = ``) {
2391 let a2 = false, o2 = dn(t2, (e4) => n2 == null ? r2(e4) : e4.startsWith(`current`) ? r2(G(e4, n2)) : ((e4.startsWith(`var(`) || n2.startsWith(`var(`)) && (a2 = true), r2(mn(e4, n2))));
2392 function s2(e4) {
2393 return i2 ? g(e4, `,`).map((e5) => i2.trim() + ` ` + e5.trim()).join(`, `) : e4;
2394 }
2395 return a2 ? [B(e3, s2(dn(t2, r2))), z(`@supports (color: lab(from red l a b))`, [B(e3, s2(o2))])] : [B(e3, s2(o2))];
2396 }
2397 function xn(e3, t2, n2, r2, i2 = ``) {
2398 let a2 = false, o2 = g(t2, `,`).map((e4) => dn(e4, (e5) => n2 == null ? r2(e5) : e5.startsWith(`current`) ? r2(G(e5, n2)) : ((e5.startsWith(`var(`) || n2.startsWith(`var(`)) && (a2 = true), r2(mn(e5, n2))))).map((e4) => `drop-shadow(${e4})`).join(` `);
2399 return a2 ? [B(e3, i2 + g(t2, `,`).map((e4) => `drop-shadow(${dn(e4, r2)})`).join(` `)), z(`@supports (color: lab(from red l a b))`, [B(e3, i2 + o2)])] : [B(e3, i2 + o2)];
2400 }
2401 var Sn = /^-?[a-z][a-zA-Z0-9_-]*/, Cn = 37, wn = 47, Tn = 46, En = 97, Dn = 122, On = 65, kn = 90, An = 48, jn = 57, Mn = 95, Nn = 45;
2402 function Pn(e3) {
2403 let t2 = Sn.exec(e3);
2404 if (t2 === null) return false;
2405 let n2 = t2[0], r2 = e3.slice(n2.length);
2406 if (r2.length === 0 && n2.endsWith(`-`)) return false;
2407 if (r2.length === 0) return true;
2408 let i2 = false;
2409 for (let e4 = 0; e4 < r2.length; e4++) {
2410 let t3 = r2.charCodeAt(e4);
2411 switch (t3) {
2412 case Cn: {
2413 if (e4 !== r2.length - 1) return false;
2414 let t4 = (r2[e4 - 1] || n2[n2.length - 1] || ``).charCodeAt(0);
2415 if (t4 < An || t4 > jn) return false;
2416 break;
2417 }
2418 case wn:
2419 if (e4 === r2.length - 1 || i2) return false;
2420 i2 = true;
2421 break;
2422 case Tn: {
2423 let t4 = (r2[e4 - 1] || n2[n2.length - 1] || ``).charCodeAt(0);
2424 if (t4 < An || t4 > jn) return false;
2425 let i3 = (r2[e4 + 1] || ``).charCodeAt(0);
2426 if (i3 < An || i3 > jn) return false;
2427 break;
2428 }
2429 case Mn:
2430 case Nn:
2431 continue;
2432 default:
2433 if (t3 >= En && t3 <= Dn || t3 >= On && t3 <= kn || t3 >= An && t3 <= jn) continue;
2434 return false;
2435 }
2436 }
2437 return true;
2438 }
2439 function Fn(e3) {
2440 if (!e3.endsWith(`-*`)) return false;
2441 e3 = e3.slice(0, -2);
2442 let t2 = Sn.exec(e3);
2443 if (t2 === null) return false;
2444 let n2 = t2[0];
2445 return e3.slice(n2.length).length === 0;
2446 }
2447 var In = { "--alpha": Ln, "--spacing": Rn, "--theme": zn, theme: Bn };
2448 function Ln(e3, t2, n2, ...r2) {
2449 let [i2, a2] = g(n2, `/`).map((e4) => e4.trim());
2450 if (!i2 || !a2) throw Error(`The --alpha(\u2026) function requires a color and an alpha value, e.g.: \`--alpha(${i2 || `var(--my-color)`} / ${a2 || `50%`})\``);
2451 if (r2.length > 0) throw Error(`The --alpha(\u2026) function only accepts one argument, e.g.: \`--alpha(${i2 || `var(--my-color)`} / ${a2 || `50%`})\``);
2452 return G(i2, a2);
2453 }
2454 function Rn(e3, t2, n2, ...r2) {
2455 if (!n2) throw Error(`The --spacing(\u2026) function requires an argument, but received none.`);
2456 if (r2.length > 0) throw Error(`The --spacing(\u2026) function only accepts a single argument, but received ${r2.length + 1}.`);
2457 let i2 = e3.theme.resolve(null, [`--spacing`]);
2458 if (!i2) throw Error("The --spacing(\u2026) function requires that the `--spacing` theme variable exists, but it was not found.");
2459 return `calc(${i2} * ${n2})`;
2460 }
2461 function zn(e3, t2, n2, ...r2) {
2462 if (!n2.startsWith(`--`)) throw Error(`The --theme(\u2026) function can only be used with CSS variables from your theme.`);
2463 let i2 = false;
2464 n2.endsWith(` inline`) && (i2 = true, n2 = n2.slice(0, -7)), t2.kind === `at-rule` && (i2 = true);
2465 let a2 = e3.resolveThemeValue(n2, i2);
2466 if (!a2) {
2467 if (r2.length > 0) return r2.join(`, `);
2468 throw Error(`Could not resolve value for theme function: \`theme(${n2})\`. Consider checking if the variable name is correct or provide a fallback value to silence this error.`);
2469 }
2470 if (r2.length === 0) return a2;
2471 let o2 = r2.join(`, `);
2472 if (o2 === `initial`) return a2;
2473 if (a2 === `initial`) return o2;
2474 if (a2.startsWith(`var(`) || a2.startsWith(`theme(`) || a2.startsWith(`--theme(`)) {
2475 let e4 = P(a2);
2476 return Gn(e4, o2), N(e4);
2477 }
2478 return a2;
2479 }
2480 function Bn(e3, t2, n2, ...r2) {
2481 n2 = Wn(n2);
2482 let i2 = e3.resolveThemeValue(n2);
2483 if (!i2 && r2.length > 0) return r2.join(`, `);
2484 if (!i2) throw Error(`Could not resolve value for theme function: \`theme(${n2})\`. Consider checking if the path is correct or provide a fallback value to silence this error.`);
2485 return i2;
2486 }
2487 var Vn = new RegExp(Object.keys(In).map((e3) => `${e3}\\(`).join(`|`));
2488 function Hn(e3, t2) {
2489 let n2 = 0;
2490 return I(e3, (e4) => {
2491 if (e4.kind === `declaration` && e4.value && Vn.test(e4.value)) {
2492 n2 |= 8, e4.value = Un(e4.value, e4, t2);
2493 return;
2494 }
2495 e4.kind === `at-rule` && (e4.name === `@media` || e4.name === `@custom-media` || e4.name === `@container` || e4.name === `@supports`) && Vn.test(e4.params) && (n2 |= 8, e4.params = Un(e4.params, e4, t2));
2496 }), n2;
2497 }
2498 function Un(e3, t2, n2) {
2499 let r2 = P(e3);
2500 return I(r2, (e4) => {
2501 if (e4.kind === `function` && e4.value in In) {
2502 let r3 = g(N(e4.nodes).trim(), `,`).map((e5) => e5.trim()), i2 = In[e4.value](n2, t2, ...r3);
2503 return F.Replace(P(i2));
2504 }
2505 }), N(r2);
2506 }
2507 function Wn(e3) {
2508 if (e3[0] !== `'` && e3[0] !== `"`) return e3;
2509 let t2 = ``, n2 = e3[0];
2510 for (let r2 = 1; r2 < e3.length - 1; r2++) {
2511 let i2 = e3[r2], a2 = e3[r2 + 1];
2512 i2 === `\\` && (a2 === n2 || a2 === `\\`) ? (t2 += a2, r2++) : t2 += i2;
2513 }
2514 return t2;
2515 }
2516 function Gn(e3, t2) {
2517 I(e3, (e4) => {
2518 if (e4.kind === `function` && !(e4.value !== `var` && e4.value !== `theme` && e4.value !== `--theme`)) if (e4.nodes.length === 1) e4.nodes.push({ kind: `word`, value: `, ${t2}` });
2519 else {
2520 let n2 = e4.nodes[e4.nodes.length - 1];
2521 n2.kind === `word` && n2.value === `initial` && (n2.value = t2);
2522 }
2523 });
2524 }
2525 function Kn(e3, t2) {
2526 let n2 = e3.length, r2 = t2.length, i2 = n2 < r2 ? n2 : r2;
2527 for (let n3 = 0; n3 < i2; n3++) {
2528 let r3 = e3.charCodeAt(n3), i3 = t2.charCodeAt(n3);
2529 if (r3 >= 48 && r3 <= 57 && i3 >= 48 && i3 <= 57) {
2530 let a2 = n3, o2 = n3 + 1, s2 = n3, c2 = n3 + 1;
2531 for (r3 = e3.charCodeAt(o2); r3 >= 48 && r3 <= 57; ) r3 = e3.charCodeAt(++o2);
2532 for (i3 = t2.charCodeAt(c2); i3 >= 48 && i3 <= 57; ) i3 = t2.charCodeAt(++c2);
2533 let l2 = e3.slice(a2, o2), u2 = t2.slice(s2, c2), d2 = Number(l2) - Number(u2);
2534 if (d2) return d2;
2535 if (l2 < u2) return -1;
2536 if (l2 > u2) return 1;
2537 continue;
2538 }
2539 if (r3 !== i3) return r3 - i3;
2540 }
2541 return e3.length - t2.length;
2542 }
2543 function qn(e3) {
2544 if (e3[0] !== `[` || e3[e3.length - 1] !== `]`) return null;
2545 let t2 = 1, n2 = t2, r2 = e3.length - 1;
2546 for (; Jn(e3.charCodeAt(t2)); ) t2++;
2547 for (n2 = t2; t2 < r2; t2++) {
2548 let n3 = e3.charCodeAt(t2);
2549 if (n3 === 92) {
2550 t2++;
2551 continue;
2552 }
2553 if (!(n3 >= 65 && n3 <= 90) && !(n3 >= 97 && n3 <= 122) && !(n3 >= 48 && n3 <= 57) && !(n3 === 45 || n3 === 95)) break;
2554 }
2555 if (n2 === t2) return null;
2556 let i2 = e3.slice(n2, t2);
2557 for (; Jn(e3.charCodeAt(t2)); ) t2++;
2558 if (t2 === r2) return { attribute: i2, operator: null, quote: null, value: null, sensitivity: null };
2559 let a2 = null, o2 = e3.charCodeAt(t2);
2560 if (o2 === 61) a2 = `=`, t2++;
2561 else if ((o2 === 126 || o2 === 124 || o2 === 94 || o2 === 36 || o2 === 42) && e3.charCodeAt(t2 + 1) === 61) a2 = e3[t2] + `=`, t2 += 2;
2562 else return null;
2563 for (; Jn(e3.charCodeAt(t2)); ) t2++;
2564 if (t2 === r2) return null;
2565 let s2 = ``, c2 = null;
2566 if (o2 = e3.charCodeAt(t2), o2 === 39 || o2 === 34) {
2567 c2 = e3[t2], t2++, n2 = t2;
2568 for (let n3 = t2; n3 < r2; n3++) {
2569 let r3 = e3.charCodeAt(n3);
2570 r3 === o2 ? t2 = n3 + 1 : r3 === 92 && n3++;
2571 }
2572 s2 = e3.slice(n2, t2 - 1);
2573 } else {
2574 for (n2 = t2; t2 < r2 && !Jn(e3.charCodeAt(t2)); ) t2++;
2575 s2 = e3.slice(n2, t2);
2576 }
2577 for (; Jn(e3.charCodeAt(t2)); ) t2++;
2578 if (t2 === r2) return { attribute: i2, operator: a2, quote: c2, value: s2, sensitivity: null };
2579 let l2 = null;
2580 switch (e3.charCodeAt(t2)) {
2581 case 105:
2582 case 73:
2583 l2 = `i`, t2++;
2584 break;
2585 case 115:
2586 case 83:
2587 l2 = `s`, t2++;
2588 break;
2589 default:
2590 return null;
2591 }
2592 for (; Jn(e3.charCodeAt(t2)); ) t2++;
2593 return t2 === r2 ? { attribute: i2, operator: a2, quote: c2, value: s2, sensitivity: l2 } : null;
2594 }
2595 function Jn(e3) {
2596 switch (e3) {
2597 case 32:
2598 case 9:
2599 case 10:
2600 case 13:
2601 return true;
2602 default:
2603 return false;
2604 }
2605 }
2606 var Yn = /^(?<value>[-+]?(?:\d*\.)?\d+)(?<unit>[a-z]+|%)?$/i, Xn = new j((e3) => {
2607 let t2 = Yn.exec(e3);
2608 if (!t2) return null;
2609 let n2 = t2.groups?.value;
2610 if (n2 === void 0) return null;
2611 let r2 = Number(n2);
2612 if (Number.isNaN(r2)) return null;
2613 let i2 = t2.groups?.unit;
2614 return i2 === void 0 ? [r2, null] : [r2, i2];
2615 });
2616 function Zn(e3) {
2617 let t2 = false;
2618 return I(e3, { exit(e4) {
2619 if (e4.kind !== `function` || e4.value !== `calc` && e4.value !== `` || e4.nodes.length !== 5 || e4.nodes[2].kind !== `word` || e4.nodes[2].value !== `*` && e4.nodes[2].value !== `+`) return;
2620 let n2 = e4.nodes[0], r2 = e4.nodes[4];
2621 if (Qn(n2, r2)) {
2622 t2 = true;
2623 let i2 = { kind: `function`, value: e4.value, nodes: [r2, e4.nodes[1], e4.nodes[2], e4.nodes[3], n2] };
2624 return F.ReplaceSkip(i2);
2625 }
2626 } }), [t2, e3];
2627 }
2628 function Qn(e3, t2) {
2629 let n2 = e3.kind === `word` ? Xn.get(e3.value) : null, r2 = t2.kind === `word` ? Xn.get(t2.value) : null;
2630 if (n2 !== null && r2 === null) return true;
2631 if (n2 === null && r2 !== null) return false;
2632 if (n2 !== null && r2 !== null) {
2633 let [e4, t3] = n2, [i2, a2] = r2;
2634 if (t3 === null && a2 !== null) return true;
2635 if (t3 !== null && a2 === null) return false;
2636 if (e4 !== i2) return e4 - i2 > 0;
2637 if (t3 !== a2) return (t3 ?? ``).localeCompare(a2 ?? ``) > 0;
2638 }
2639 return N([e3]).localeCompare(N([t2])) > 0;
2640 }
2641 function $n(e3, t2 = null) {
2642 return Array.isArray(e3) && e3.length === 2 && typeof e3[1] == `object` ? t2 ? e3[1][t2] ?? null : e3[0] : Array.isArray(e3) && t2 === null ? e3.join(`, `) : typeof e3 == `string` && t2 === null ? e3 : null;
2643 }
2644 function er(e3, { theme: t2 }, n2) {
2645 for (let t3 of n2) {
2646 let n3 = ar([t3]);
2647 n3 && e3.theme.clearNamespace(`--${n3}`, 4);
2648 }
2649 for (let [n3, r2] of tr(t2)) {
2650 if (typeof r2 != `string` && typeof r2 != `number`) continue;
2651 if (typeof r2 == `string` && (r2 = r2.replace(/<alpha-value>/g, `1`)), n3[0] === `opacity` && (typeof r2 == `number` || typeof r2 == `string`)) {
2652 let e4 = typeof r2 == `string` ? parseFloat(r2) : r2;
2653 e4 >= 0 && e4 <= 1 && (r2 = e4 * 100 + `%`);
2654 }
2655 let t3 = ar(n3);
2656 t3 && e3.theme.add(`--${t3}`, `` + r2, 7);
2657 }
2658 if (Object.hasOwn(t2, `fontFamily`)) {
2659 {
2660 let n3 = $n(t2.fontFamily.sans);
2661 n3 && e3.theme.hasDefault(`--font-sans`) && (e3.theme.add(`--default-font-family`, n3, 5), e3.theme.add(`--default-font-feature-settings`, $n(t2.fontFamily.sans, `fontFeatureSettings`) ?? `normal`, 5), e3.theme.add(`--default-font-variation-settings`, $n(t2.fontFamily.sans, `fontVariationSettings`) ?? `normal`, 5));
2662 }
2663 {
2664 let n3 = $n(t2.fontFamily.mono);
2665 n3 && e3.theme.hasDefault(`--font-mono`) && (e3.theme.add(`--default-mono-font-family`, n3, 5), e3.theme.add(`--default-mono-font-feature-settings`, $n(t2.fontFamily.mono, `fontFeatureSettings`) ?? `normal`, 5), e3.theme.add(`--default-mono-font-variation-settings`, $n(t2.fontFamily.mono, `fontVariationSettings`) ?? `normal`, 5));
2666 }
2667 }
2668 return t2;
2669 }
2670 function tr(e3) {
2671 let t2 = [];
2672 return cr(e3, [], (e4, n2) => {
2673 if (or(e4)) return t2.push([n2, e4]), 1;
2674 if (sr(e4)) {
2675 t2.push([n2, e4[0]]);
2676 for (let r2 of Reflect.ownKeys(e4[1])) t2.push([[...n2, `-${r2}`], e4[1][r2]]);
2677 return 1;
2678 }
2679 if (Array.isArray(e4) && e4.every((e5) => typeof e5 == `string`)) return n2[0] === `fontSize` ? (t2.push([n2, e4[0]]), e4.length >= 2 && t2.push([[...n2, `-line-height`], e4[1]])) : t2.push([n2, e4.join(`, `)]), 1;
2680 }), t2;
2681 }
2682 var nr = { borderWidth: `border-width`, outlineWidth: `outline-width`, ringColor: `ring-color`, ringWidth: `ring-width`, transitionDuration: `transition-duration`, transitionTimingFunction: `transition-timing-function` }, rr = { animation: `animate`, aspectRatio: `aspect`, borderRadius: `radius`, boxShadow: `shadow`, colors: `color`, containers: `container`, fontFamily: `font`, fontSize: `text`, letterSpacing: `tracking`, lineHeight: `leading`, maxWidth: `container`, screens: `breakpoint`, transitionTimingFunction: `ease` }, ir = /^[a-zA-Z0-9-_%/.]+$/;
2683 function ar(e3) {
2684 let t2 = nr[e3[0]];
2685 if (t2 && e3[1] === `DEFAULT`) return `default-${t2}`;
2686 if (e3[0] === `container`) return null;
2687 for (let t3 of e3) if (!ir.test(t3)) return null;
2688 let n2 = rr[e3[0]];
2689 return n2 && (e3 = e3.slice(), e3[0] = n2), e3.map((e4, t3, n3) => e4 === `1` && t3 !== n3.length - 1 ? `` : e4).map((e4, t3) => (e4 = e4.replaceAll(`.`, `_`), (t3 === 0 || e4.startsWith(`-`) || e4 === `lineHeight`) && (e4 = e4.replace(/([a-z])([A-Z])/g, (e5, t4, n3) => `${t4}-${n3.toLowerCase()}`)), e4)).filter((t3, n3) => t3 !== `DEFAULT` || n3 !== e3.length - 1).join(`-`);
2690 }
2691 function or(e3) {
2692 return typeof e3 == `number` || typeof e3 == `string`;
2693 }
2694 function sr(e3) {
2695 if (!Array.isArray(e3) || e3.length !== 2 || typeof e3[0] != `string` && typeof e3[0] != `number` || e3[1] === void 0 || e3[1] === null || typeof e3[1] != `object`) return false;
2696 for (let t2 of Reflect.ownKeys(e3[1])) if (typeof t2 != `string` || typeof e3[1][t2] != `string` && typeof e3[1][t2] != `number`) return false;
2697 return true;
2698 }
2699 function cr(e3, t2 = [], n2) {
2700 for (let r2 of Reflect.ownKeys(e3)) {
2701 let i2 = e3[r2];
2702 if (i2 == null) continue;
2703 let a2 = [...t2, r2], o2 = n2(i2, a2) ?? 0;
2704 if (o2 !== 1 && (o2 === 2 || !(!Array.isArray(i2) && typeof i2 != `object`) && cr(i2, a2, n2) === 2)) return 2;
2705 }
2706 }
2707 function lr(e3, t2 = null) {
2708 let [n2, r2] = ur(P(e3), t2);
2709 return n2 ? N(r2) : e3;
2710 }
2711 function ur(e3, t2 = null) {
2712 let n2 = false;
2713 return I(e3, { exit(e4) {
2714 if (e4.kind === `word` && e4.value !== `0`) {
2715 let r2 = dr(e4.value, t2);
2716 return r2 === null || r2 === e4.value ? void 0 : (n2 = true, F.ReplaceSkip(M(r2)));
2717 } else if (e4.kind === `function` && (e4.value === `calc` || e4.value === ``)) {
2718 if (e4.nodes.length !== 5 || e4.nodes[2].kind !== `word`) return;
2719 let t3 = e4.nodes[0], r2 = e4.nodes[2].value, i2 = e4.nodes[4], a2 = t3.kind === `word` ? Xn.get(t3.value) : null, o2 = i2.kind === `word` ? Xn.get(i2.value) : null;
2720 if (r2 === `*` && (a2?.[0] === 0 && a2?.[1] === null || o2?.[0] === 0 && o2?.[1] === null)) return n2 = true, F.ReplaceSkip(M(`0`));
2721 if (r2 === `*`) {
2722 if (a2?.[0] === 1 && a2?.[1] === null) return n2 = true, F.ReplaceSkip(i2);
2723 if (o2?.[0] === 1 && o2?.[1] === null) return n2 = true, F.ReplaceSkip(t3);
2724 }
2725 if (r2 === `*` || r2 === `+`) {
2726 let s2 = a2 ?? o2, c2 = a2 === null ? t3 : o2 === null ? i2 : null;
2727 if (s2 !== null && c2 !== null && c2.kind === `function` && (c2.value === `calc` || c2.value === ``) && c2.nodes.length === 5 && c2.nodes[2].kind === `word` && c2.nodes[2].value === r2) {
2728 let t4 = c2.nodes[0], i3 = c2.nodes[4], a3 = t4.kind === `word` ? Xn.get(t4.value) : null, o3 = i3.kind === `word` ? Xn.get(i3.value) : null, l2 = a3 ?? o3, u2 = a3 === null ? t4 : o3 === null ? i3 : null;
2729 if (l2 !== null && u2 !== null) {
2730 if (r2 === `*` && !(s2[1] === null && l2[1] === null || s2[1] === null && l2[1] !== null || s2[1] !== null && l2[1] === null) || r2 === `+` && s2[1] !== l2[1]) return;
2731 let t5;
2732 switch (r2) {
2733 case `*`:
2734 t5 = `${s2[0] * l2[0]}${s2[1] ?? l2[1] ?? ``}`;
2735 break;
2736 case `+`:
2737 t5 = `${s2[0] + l2[0]}${s2[1] ?? l2[1] ?? ``}`;
2738 break;
2739 default:
2740 return;
2741 }
2742 if (n2 = true, r2 === `*` && t5 === `1`) return F.ReplaceSkip(u2);
2743 let i4 = { kind: `function`, value: e4.value, nodes: [M(t5), e4.nodes[1], e4.nodes[2], e4.nodes[3], u2] };
2744 return F.ReplaceSkip(i4);
2745 }
2746 }
2747 }
2748 if (a2 === null || o2 === null) return;
2749 switch (r2) {
2750 case `*`:
2751 if (a2[1] === o2[1] || a2[1] === null && o2[1] !== null || a2[1] !== null && o2[1] === null) return n2 = true, F.ReplaceSkip(M(`${a2[0] * o2[0]}${a2[1] ?? o2[1] ?? ``}`));
2752 break;
2753 case `+`:
2754 if (a2[1] === o2[1]) return n2 = true, F.ReplaceSkip(M(`${a2[0] + o2[0]}${a2[1] ?? ``}`));
2755 break;
2756 case `-`:
2757 if (a2[1] === o2[1]) return n2 = true, F.ReplaceSkip(M(`${a2[0] - o2[0]}${a2[1] ?? ``}`));
2758 break;
2759 case `/`:
2760 if (o2[0] !== 0 && (a2[1] === null && o2[1] === null || a2[1] !== null && o2[1] === null)) return n2 = true, F.ReplaceSkip(M(`${a2[0] / o2[0]}${a2[1] ?? ``}`));
2761 break;
2762 }
2763 }
2764 } }), [n2, e3];
2765 }
2766 function dr(e3, t2 = null) {
2767 let n2 = Xn.get(e3);
2768 if (n2 === null) return null;
2769 let [r2, i2] = n2;
2770 if (i2 === null) return `${r2}`;
2771 if (r2 === 0 && de(e3)) return `0`;
2772 switch (i2.toLowerCase()) {
2773 case `in`:
2774 return `${r2 * 96}px`;
2775 case `cm`:
2776 return `${r2 * 96 / 2.54}px`;
2777 case `mm`:
2778 return `${r2 * 96 / 2.54 / 10}px`;
2779 case `q`:
2780 return `${r2 * 96 / 2.54 / 10 / 4}px`;
2781 case `pc`:
2782 return `${r2 * 96 / 6}px`;
2783 case `pt`:
2784 return `${r2 * 96 / 72}px`;
2785 case `rem`:
2786 return t2 === null ? null : `${r2 * t2}px`;
2787 case `grad`:
2788 return `${r2 * 0.9}deg`;
2789 case `rad`:
2790 return `${r2 * 180 / Math.PI}deg`;
2791 case `turn`:
2792 return `${r2 * 360}deg`;
2793 case `ms`:
2794 return `${r2 / 1e3}s`;
2795 case `khz`:
2796 return `${r2 * 1e3}hz`;
2797 default:
2798 return `${r2}${i2}`;
2799 }
2800 }
2801 function fr(e3, t2 = `top`, n2 = `right`, r2 = `bottom`, i2 = `left`) {
2802 return pr(`${e3}-${t2}`, `${e3}-${n2}`, `${e3}-${r2}`, `${e3}-${i2}`);
2803 }
2804 function pr(e3 = `top`, t2 = `right`, n2 = `bottom`, r2 = `left`) {
2805 return { 1: [[e3, 0], [t2, 0], [n2, 0], [r2, 0]], 2: [[e3, 0], [t2, 1], [n2, 0], [r2, 1]], 3: [[e3, 0], [t2, 1], [n2, 2], [r2, 1]], 4: [[e3, 0], [t2, 1], [n2, 2], [r2, 3]] };
2806 }
2807 function J(e3, t2) {
2808 return { 1: [[e3, 0], [t2, 0]], 2: [[e3, 0], [t2, 1]] };
2809 }
2810 var mr = { inset: pr(), margin: fr(`margin`), padding: fr(`padding`), "scroll-margin": fr(`scroll-margin`), "scroll-padding": fr(`scroll-padding`), "border-width": fr(`border`, `top-width`, `right-width`, `bottom-width`, `left-width`), "border-style": fr(`border`, `top-style`, `right-style`, `bottom-style`, `left-style`), "border-color": fr(`border`, `top-color`, `right-color`, `bottom-color`, `left-color`), gap: J(`row-gap`, `column-gap`), overflow: J(`overflow-x`, `overflow-y`), "overscroll-behavior": J(`overscroll-behavior-x`, `overscroll-behavior-y`) }, hr = { "inset-block": J(`top`, `bottom`), "inset-inline": J(`left`, `right`), "margin-block": J(`margin-top`, `margin-bottom`), "margin-inline": J(`margin-left`, `margin-right`), "padding-block": J(`padding-top`, `padding-bottom`), "padding-inline": J(`padding-left`, `padding-right`), "scroll-margin-block": J(`scroll-margin-top`, `scroll-margin-bottom`), "scroll-margin-inline": J(`scroll-margin-left`, `scroll-margin-right`), "scroll-padding-block": J(`scroll-padding-top`, `scroll-padding-bottom`), "scroll-padding-inline": J(`scroll-padding-left`, `scroll-padding-right`) }, gr = { "border-block": [`border-bottom`, `border-top`], "border-block-color": [`border-bottom-color`, `border-top-color`], "border-block-style": [`border-bottom-style`, `border-top-style`], "border-block-width": [`border-bottom-width`, `border-top-width`], "border-inline": [`border-left`, `border-right`], "border-inline-color": [`border-left-color`, `border-right-color`], "border-inline-style": [`border-left-style`, `border-right-style`], "border-inline-width": [`border-left-width`, `border-right-width`] };
2811 function _r(e3, t2) {
2812 if (t2 & 2) {
2813 if (e3.property in hr) {
2814 let t3 = g(e3.value, ` `);
2815 return hr[e3.property][t3.length]?.map(([n2, r2]) => B(n2, t3[r2], e3.important));
2816 }
2817 if (e3.property in gr) return gr[e3.property]?.map((t3) => B(t3, e3.value, e3.important));
2818 }
2819 if (e3.property in mr) {
2820 let t3 = g(e3.value, ` `);
2821 return mr[e3.property][t3.length]?.map(([n2, r2]) => B(n2, t3[r2], e3.important));
2822 }
2823 return null;
2824 }
2825 function vr(e3) {
2826 return { kind: `combinator`, value: e3 };
2827 }
2828 function yr(e3, t2) {
2829 return { kind: `function`, value: e3, nodes: t2 };
2830 }
2831 function br(e3) {
2832 return { kind: `selector`, value: e3 };
2833 }
2834 function xr(e3) {
2835 return { kind: `separator`, value: e3 };
2836 }
2837 function Sr(e3) {
2838 return { kind: `value`, value: e3 };
2839 }
2840 function Cr(e3) {
2841 let t2 = ``;
2842 for (let n2 of e3) switch (n2.kind) {
2843 case `combinator`:
2844 case `selector`:
2845 case `separator`:
2846 case `value`:
2847 t2 += n2.value;
2848 break;
2849 case `function`:
2850 t2 += n2.value + `(` + Cr(n2.nodes) + `)`;
2851 }
2852 return t2;
2853 }
2854 var wr = 92, Tr = 93, Er = 41, Dr = 58, Or = 44, kr = 34, Ar = 46, jr = 62, Mr = 10, Nr = 35, Pr = 91, Fr = 40, Ir = 43, Lr = 39, Rr = 32, zr = 9, Br = 126, Vr = 38, Hr = 42;
2855 function Ur(e3) {
2856 e3 = e3.replaceAll(`\r
2857 `, `
2858 `);
2859 let t2 = [], n2 = [], r2 = null, i2 = ``, a2;
2860 for (let o2 = 0; o2 < e3.length; o2++) {
2861 let s2 = e3.charCodeAt(o2);
2862 switch (s2) {
2863 case Or:
2864 case jr:
2865 case Mr:
2866 case Rr:
2867 case Ir:
2868 case zr:
2869 case Br: {
2870 if (i2.length > 0) {
2871 let e4 = br(i2);
2872 r2 ? r2.nodes.push(e4) : t2.push(e4), i2 = ``;
2873 }
2874 let n3 = o2, s3 = o2 + 1;
2875 for (; s3 < e3.length && (a2 = e3.charCodeAt(s3), !(a2 !== Or && a2 !== jr && a2 !== Mr && a2 !== Rr && a2 !== Ir && a2 !== zr && a2 !== Br)); s3++) ;
2876 o2 = s3 - 1;
2877 let c2 = e3.slice(n3, s3), l2 = c2.trim() === `,` ? xr(c2) : vr(c2);
2878 r2 ? r2.nodes.push(l2) : t2.push(l2);
2879 break;
2880 }
2881 case Fr: {
2882 let s3 = yr(i2, []);
2883 if (i2 = ``, s3.value !== `:not` && s3.value !== `:where` && s3.value !== `:has` && s3.value !== `:is`) {
2884 let n3 = o2 + 1, c2 = 0;
2885 for (let t3 = o2 + 1; t3 < e3.length; t3++) {
2886 if (a2 = e3.charCodeAt(t3), a2 === Fr) {
2887 c2++;
2888 continue;
2889 }
2890 if (a2 === Er) {
2891 if (c2 === 0) {
2892 o2 = t3;
2893 break;
2894 }
2895 c2--;
2896 }
2897 }
2898 let l2 = o2;
2899 s3.nodes.push(Sr(e3.slice(n3, l2))), i2 = ``, o2 = l2, r2 ? r2.nodes.push(s3) : t2.push(s3);
2900 break;
2901 }
2902 r2 ? r2.nodes.push(s3) : t2.push(s3), n2.push(s3), r2 = s3;
2903 break;
2904 }
2905 case Er: {
2906 let e4 = n2.pop();
2907 if (i2.length > 0) {
2908 let t3 = br(i2);
2909 e4.nodes.push(t3), i2 = ``;
2910 }
2911 r2 = n2.length > 0 ? n2[n2.length - 1] : null;
2912 break;
2913 }
2914 case Ar:
2915 case Dr:
2916 case Nr:
2917 if (i2.length > 0) {
2918 let e4 = br(i2);
2919 r2 ? r2.nodes.push(e4) : t2.push(e4);
2920 }
2921 i2 = e3[o2];
2922 break;
2923 case Pr: {
2924 if (i2.length > 0) {
2925 let e4 = br(i2);
2926 r2 ? r2.nodes.push(e4) : t2.push(e4);
2927 }
2928 i2 = ``;
2929 let n3 = o2, s3 = 0;
2930 for (let t3 = o2 + 1; t3 < e3.length; t3++) {
2931 if (a2 = e3.charCodeAt(t3), a2 === Pr) {
2932 s3++;
2933 continue;
2934 }
2935 if (a2 === Tr) {
2936 if (s3 === 0) {
2937 o2 = t3;
2938 break;
2939 }
2940 s3--;
2941 }
2942 }
2943 i2 += e3.slice(n3, o2 + 1);
2944 break;
2945 }
2946 case Lr:
2947 case kr: {
2948 let t3 = o2;
2949 for (let t4 = o2 + 1; t4 < e3.length; t4++) if (a2 = e3.charCodeAt(t4), a2 === wr) t4 += 1;
2950 else if (a2 === s2) {
2951 o2 = t4;
2952 break;
2953 }
2954 i2 += e3.slice(t3, o2 + 1);
2955 break;
2956 }
2957 case Vr:
2958 case Hr:
2959 if (i2.length > 0) {
2960 let e4 = br(i2);
2961 r2 ? r2.nodes.push(e4) : t2.push(e4), i2 = ``;
2962 }
2963 r2 ? r2.nodes.push(br(e3[o2])) : t2.push(br(e3[o2]));
2964 break;
2965 case wr:
2966 i2 += e3[o2] + e3[o2 + 1], o2 += 1;
2967 break;
2968 default:
2969 i2 += e3[o2];
2970 }
2971 }
2972 return i2.length > 0 && t2.push(br(i2)), t2;
2973 }
2974 function Y(e3, t2) {
2975 for (let t3 in e3) delete e3[t3];
2976 return Object.assign(e3, t2);
2977 }
2978 function Wr(e3) {
2979 let t2 = [];
2980 for (let n2 of g(e3, `.`)) {
2981 if (!n2.includes(`[`)) {
2982 t2.push(n2);
2983 continue;
2984 }
2985 let e4 = 0;
2986 for (; ; ) {
2987 let r2 = n2.indexOf(`[`, e4), i2 = n2.indexOf(`]`, r2);
2988 if (r2 === -1 || i2 === -1) break;
2989 r2 > e4 && t2.push(n2.slice(e4, r2)), t2.push(n2.slice(r2 + 1, i2)), e4 = i2 + 1;
2990 }
2991 e4 <= n2.length - 1 && t2.push(n2.slice(e4));
2992 }
2993 return t2;
2994 }
2995 function Gr(e3, t2) {
2996 var _a3, _b, _c, _d, _e2, _f, _g, _h, _i2, _j, _k, _l, _m, _n2;
2997 let n2 = e3;
2998 return (_a3 = n2.storage)[Kr] ?? (_a3[Kr] = qr()), (_b = n2.storage)[Zr] ?? (_b[Zr] = Qr(n2)), (_c = n2.storage)[ni] ?? (_c[ni] = ri()), (_d = n2.storage)[ai] ?? (_d[ai] = oi()), (_e2 = n2.storage)[ci] ?? (_e2[ci] = li()), (_f = n2.storage)[gi] ?? (_f[gi] = _i(n2)), (_g = n2.storage)[Si] ?? (_g[Si] = Ci(n2, t2)), (_h = n2.storage)[Z] ?? (_h[Z] = Vi(n2)), (_i2 = n2.storage)[Wi] ?? (_i2[Wi] = Gi()), (_j = n2.storage)[Ki] ?? (_j[Ki] = qi(n2)), (_k = n2.storage)[Ji] ?? (_k[Ji] = Yi(n2)), (_l = n2.storage)[Xi] ?? (_l[Xi] = Zi(n2)), (_m = n2.storage)[Qi] ?? (_m[Qi] = $i(n2)), (_n2 = n2.storage)[Jr] ?? (_n2[Jr] = Yr(n2)), n2;
2999 }
3000 var Kr = /* @__PURE__ */ Symbol();
3001 function qr() {
3002 return new j((e3) => new j((t2) => ({ rem: e3, features: t2 })));
3003 }
3004 var Jr = /* @__PURE__ */ Symbol();
3005 function Yr(e3) {
3006 return new j((t2) => {
3007 let n2 = e3.storage[Z].get(t2);
3008 return function(t3, r2) {
3009 let i2 = typeof t3 == `string` ? t3 : e3.printCandidate(t3), a2 = n2.get(i2);
3010 if (typeof a2 != `string`) return false;
3011 let o2 = typeof r2 == `string` ? r2 : e3.printCandidate(r2), s2 = n2.get(o2);
3012 return typeof s2 == `string` ? a2 === s2 : false;
3013 };
3014 });
3015 }
3016 function Xr(e3, t2) {
3017 let n2 = 0;
3018 return t2?.collapse && (n2 |= 1), t2?.logicalToPhysical && (n2 |= 2), Gr(e3, t2).storage[Kr].get(t2?.rem ?? null).get(n2);
3019 }
3020 var Zr = /* @__PURE__ */ Symbol();
3021 function Qr(e3) {
3022 return new j((t2) => new j((n2) => ({ features: n2, designSystem: e3, signatureOptions: t2 })));
3023 }
3024 function $r(e3, t2, n2) {
3025 let r2 = 0;
3026 return n2?.collapse && (r2 |= 1), Gr(e3).storage[Zr].get(t2).get(r2);
3027 }
3028 function ei(e3, t2, n2) {
3029 let r2 = $r(e3, Xr(e3, n2), n2), i2 = Gr(e3), a2 = /* @__PURE__ */ new Set(), o2 = i2.storage[ni].get(r2);
3030 for (let e4 of t2) a2.add(o2.get(e4));
3031 return a2.size <= 1 || !(r2.features & 1) ? Array.from(a2) : ti(r2, Array.from(a2));
3032 }
3033 function ti(e3, t2) {
3034 let n2 = e3.designSystem, r2 = new j((e4) => new j((e5) => /* @__PURE__ */ new Set())), i2 = e3.designSystem.theme.prefix ? `${e3.designSystem.theme.prefix}:` : ``;
3035 for (let e4 of t2) {
3036 let t3 = g(e4, `:`), n3 = t3.pop(), a3 = n3.endsWith(`!`);
3037 a3 && (n3 = n3.slice(0, -1));
3038 let o3 = t3.length > 0 ? `${t3.join(`:`)}:` : ``, s2 = a3 ? `!` : ``;
3039 r2.get(o3).get(s2).add(`${i2}${n3}`);
3040 }
3041 let a2 = /* @__PURE__ */ new Set();
3042 for (let [e4, t3] of r2.entries()) for (let [n3, r3] of t3.entries()) for (let t4 of o2(Array.from(r3))) i2 && t4.startsWith(i2) && (t4 = t4.slice(i2.length)), a2.add(`${e4}${t4}${n3}`);
3043 return Array.from(a2);
3044 function o2(t3) {
3045 let r3 = e3.signatureOptions, i3 = n2.storage[Ki].get(r3), a3 = n2.storage[Wi].get(r3), o3 = t3.map((e4) => i3.get(e4));
3046 if (o3.some((e4) => e4.has(`line-height`))) {
3047 let e4 = n2.theme.keysInNamespaces([`--text`]);
3048 if (e4.length > 0) {
3049 let t4 = /* @__PURE__ */ new Set(), r4 = /* @__PURE__ */ new Set();
3050 for (let a5 of o3) if (a5.has(`line-height`)) for (let o4 of a5.get(`line-height`)) {
3051 if (r4.has(o4)) continue;
3052 r4.add(o4);
3053 let a6 = n2.storage[Si]?.get(o4) ?? null;
3054 if (a6 !== null) if (D(a6)) {
3055 t4.add(a6);
3056 for (let t5 of e4) i3.get(`text-${t5}/${a6}`);
3057 } else {
3058 t4.add(o4);
3059 for (let t5 of e4) i3.get(`text-${t5}/[${o4}]`);
3060 }
3061 }
3062 let a4 = /* @__PURE__ */ new Set();
3063 for (let e5 of o3) if (e5.has(`font-size`)) {
3064 for (let n3 of e5.get(`font-size`)) if (!a4.has(n3)) {
3065 a4.add(n3);
3066 for (let e6 of t4) D(e6) ? i3.get(`text-[${n3}]/${e6}`) : i3.get(`text-[${n3}]/[${e6}]`);
3067 }
3068 }
3069 }
3070 }
3071 let s2 = new j((e4) => {
3072 let t4 = new j((e5) => new j((e6) => /* @__PURE__ */ new Set())), r4 = new Set(i3.get(e4).keys());
3073 if (r4.size === 0) return t4;
3074 for (let a4 of X(n2, e4)) if (!(a4.kind !== `functional` || a4.value === null)) {
3075 for (let e5 of n2.utilities.keys(`functional`)) {
3076 if (e5 === a4.root) continue;
3077 let o4 = xi(n2, { ...Ut(a4), root: e5 }), s3 = i3.get(o4);
3078 for (let [e6, n3] of s3) if (r4.has(e6)) for (let r5 of n3) t4.get(e6).get(r5).add(o4);
3079 }
3080 return t4;
3081 }
3082 return t4;
3083 }), c2 = o3.map((e4, n3) => {
3084 let r4 = null;
3085 for (let i4 of e4.keys()) {
3086 let o4 = /* @__PURE__ */ new Set();
3087 for (let e5 of a3.get(i4).values()) for (let t4 of e5) o4.add(t4);
3088 for (let r5 of e4.get(i4)) for (let e5 of s2.get(t3[n3]).get(i4).get(r5)) o4.add(e5);
3089 if (r4 = r4 === null ? o4 : na(r4, o4), r4.size === 0) return r4;
3090 }
3091 return r4 ?? /* @__PURE__ */ new Set();
3092 }), l2 = new j((e4) => /* @__PURE__ */ new Set([e4]));
3093 for (let e4 = 0; e4 < c2.length; e4++) {
3094 let t4 = c2[e4];
3095 for (let n3 = e4 + 1; n3 < c2.length; n3++) {
3096 let r4 = c2[n3];
3097 for (let i4 of t4) if (r4.has(i4)) {
3098 l2.get(e4).add(n3), l2.get(n3).add(e4);
3099 break;
3100 }
3101 }
3102 }
3103 if (l2.size === 0) return t3;
3104 let u2 = new j((e4) => e4.split(`,`).map(Number));
3105 for (let e4 of l2.values()) {
3106 let t4 = Array.from(e4).sort((e5, t5) => e5 - t5);
3107 u2.get(t4.join(`,`));
3108 }
3109 let d2 = new Set(t3), f2 = /* @__PURE__ */ new Set();
3110 for (let e4 of u2.values()) for (let i4 of ta(e4)) {
3111 if (i4.some((e6) => f2.has(t3[e6]))) continue;
3112 let e5 = i4.flatMap((e6) => c2[e6]).reduce(na), a4 = n2.storage[Z].get(r3).get(i4.map((e6) => t3[e6]).sort((e6, t4) => e6.localeCompare(t4)).join(` `));
3113 for (let o4 of e5) if (n2.storage[Z].get(r3).get(o4) === a4) {
3114 d2.add(o4);
3115 for (let e6 of i4) t3[e6] !== o4 && f2.add(t3[e6]);
3116 break;
3117 }
3118 }
3119 for (let e4 of f2) d2.delete(e4);
3120 return Array.from(d2);
3121 }
3122 }
3123 var ni = /* @__PURE__ */ Symbol();
3124 function ri() {
3125 return new j((e3) => {
3126 let t2 = e3.designSystem, n2 = t2.theme.prefix ? `${t2.theme.prefix}:` : ``, r2 = t2.storage[ai].get(e3), i2 = t2.storage[ci].get(e3);
3127 return new j((e4, a2) => {
3128 for (let o2 of t2.parseCandidate(e4)) {
3129 let s2 = o2.variants.slice().reverse().flatMap((e5) => r2.get(e5)), c2 = o2.important;
3130 if (c2 || s2.length > 0) {
3131 let e5 = a2.get(t2.printCandidate({ ...o2, variants: [], important: false }));
3132 return t2.theme.prefix !== null && s2.length > 0 && (e5 = e5.slice(n2.length)), s2.length > 0 && (e5 = `${s2.map((e6) => t2.printVariant(e6)).join(`:`)}:${e5}`), c2 && (e5 += `!`), t2.theme.prefix !== null && s2.length > 0 && (e5 = `${n2}${e5}`), e5;
3133 }
3134 let l2 = i2.get(e4);
3135 if (l2 !== e4) return l2;
3136 }
3137 return e4;
3138 });
3139 });
3140 }
3141 var ii = [pi, Pi, Ri, ji], ai = /* @__PURE__ */ Symbol();
3142 function oi() {
3143 return new j((e3) => new j((t2) => {
3144 let n2 = [t2];
3145 for (let t3 of ii) for (let r2 of n2.splice(0)) {
3146 let i2 = t3(Wt(r2), e3);
3147 if (Array.isArray(i2)) {
3148 n2.push(...i2);
3149 continue;
3150 } else n2.push(i2);
3151 }
3152 return n2;
3153 }));
3154 }
3155 var si = [di, fi, mi, zi, wi, Ei, Ai, Mi, Ni, Bi], ci = /* @__PURE__ */ Symbol();
3156 function li() {
3157 return new j((e3) => {
3158 let t2 = e3.designSystem;
3159 return new j((n2) => {
3160 for (let r2 of t2.parseCandidate(n2)) {
3161 let i2 = Ut(r2);
3162 for (let t3 of si) i2 = t3(i2, e3);
3163 let a2 = t2.printCandidate(i2);
3164 if (n2 !== a2) return a2;
3165 }
3166 return n2;
3167 });
3168 });
3169 }
3170 var ui = [`t`, `tr`, `r`, `br`, `b`, `bl`, `l`, `tl`];
3171 function di(e3) {
3172 if (e3.kind === `static` && e3.root.startsWith(`bg-gradient-to-`)) {
3173 let t2 = e3.root.slice(15);
3174 return ui.includes(t2) && (e3.root = `bg-linear-to-${t2}`), e3;
3175 }
3176 return e3;
3177 }
3178 function fi(e3, t2) {
3179 let n2 = t2.designSystem.storage[gi];
3180 if (e3.kind === `arbitrary`) {
3181 let [t3, r2] = n2(e3.value, +(e3.modifier === null));
3182 t3 !== e3.value && (e3.value = t3, r2 !== null && (e3.modifier = r2));
3183 } else if (e3.kind === `functional` && e3.value?.kind === `arbitrary`) {
3184 let [t3, r2] = n2(e3.value.value, +(e3.modifier === null));
3185 t3 !== e3.value.value && (e3.value.value = t3, r2 !== null && (e3.modifier = r2));
3186 }
3187 return e3;
3188 }
3189 function pi(e3, t2) {
3190 let n2 = t2.designSystem.storage[gi], r2 = bi(e3);
3191 for (let [e4] of r2) if (e4.kind === `arbitrary`) {
3192 let [t3] = n2(e4.selector, 2);
3193 t3 !== e4.selector && (e4.selector = t3);
3194 } else if (e4.kind === `functional` && e4.value?.kind === `arbitrary`) {
3195 let [t3] = n2(e4.value.value, 2);
3196 t3 !== e4.value.value && (e4.value.value = t3);
3197 }
3198 return e3;
3199 }
3200 function mi(e3, t2) {
3201 return e3.kind === `arbitrary` ? e3.value = hi(e3.value, t2.designSystem) : e3.kind === `functional` && e3.value?.kind === `arbitrary` && (e3.value.value = hi(e3.value.value, t2.designSystem)), e3;
3202 }
3203 function hi(e3, t2) {
3204 let n2 = t2.theme.prefix ? `--${t2.theme.prefix}-spacing` : `--spacing`, r2 = P(e3);
3205 return I(r2, (e4) => {
3206 if (!(e4.kind !== `function` || e4.value !== `calc`) && e4.nodes.length === 5 && !(e4.nodes[2].kind !== `word` || e4.nodes[2].value !== `*`) && !(e4.nodes[0].kind !== `function` || e4.nodes[0].value !== `var` || e4.nodes[0].nodes.length !== 1 || e4.nodes[0].nodes[0].kind !== `word` || e4.nodes[0].nodes[0].value !== n2)) return F.Replace(P(`--spacing(${N([e4.nodes[4]])})`));
3207 }), N(r2);
3208 }
3209 var gi = /* @__PURE__ */ Symbol();
3210 function _i(e3) {
3211 return t2(e3);
3212 function t2(e4) {
3213 function t3(e5, t4 = 0) {
3214 let n3 = P(e5);
3215 if (t4 & 2) return [vi(n3, i2), null];
3216 let a2 = 0, o2 = 0;
3217 if (I(n3, (e6) => {
3218 e6.kind === `function` && e6.value === `theme` && (a2 += 1, I(e6.nodes, (e7) => e7.kind === `separator` && e7.value.includes(`,`) ? F.Stop : e7.kind === `word` && e7.value === `/` ? (o2 += 1, F.Stop) : F.Skip));
3219 }), a2 === 0) return [e5, null];
3220 if (o2 === 0) return [vi(n3, r2), null];
3221 if (o2 > 1) return [vi(n3, i2), null];
3222 let s2 = null;
3223 return [vi(n3, (e6, a3) => {
3224 let o3 = g(e6, `/`).map((e7) => e7.trim());
3225 if (o3.length > 2) return null;
3226 if (n3.length === 1 && o3.length === 2 && t4 & 1) {
3227 let [t5, n4] = o3;
3228 if (/^\d+%$/.test(n4)) s2 = { kind: `named`, value: n4.slice(0, -1) };
3229 else if (/^0?\.\d+$/.test(n4)) {
3230 let e7 = Number(n4) * 100;
3231 s2 = { kind: Number.isInteger(e7) ? `named` : `arbitrary`, value: e7.toString() };
3232 } else s2 = { kind: `arbitrary`, value: n4 };
3233 e6 = t5;
3234 }
3235 return r2(e6, a3) || i2(e6, a3);
3236 }), s2];
3237 }
3238 function n2(t4, n3 = true) {
3239 let r3 = `--${ar(Wr(t4))}`;
3240 return e4.theme.get([r3]) ? n3 && e4.theme.prefix ? `--${e4.theme.prefix}-${r3.slice(2)}` : r3 : null;
3241 }
3242 function r2(t4, r3) {
3243 let i3 = n2(t4);
3244 if (i3) return r3 ? `var(${i3}, ${r3})` : `var(${i3})`;
3245 let a2 = Wr(t4);
3246 if (a2[0] === `spacing` && e4.theme.get([`--spacing`])) {
3247 let e5 = a2[1];
3248 return D(e5) ? `--spacing(${e5})` : null;
3249 }
3250 return null;
3251 }
3252 function i2(e5, t4) {
3253 let r3 = g(e5, `/`).map((e6) => e6.trim());
3254 e5 = r3.shift();
3255 let i3 = n2(e5, false);
3256 if (!i3) return null;
3257 let a2 = r3.length > 0 ? `/${r3.join(`/`)}` : ``;
3258 return t4 ? `--theme(${i3}${a2}, ${t4})` : `--theme(${i3}${a2})`;
3259 }
3260 return t3;
3261 }
3262 }
3263 function vi(e3, t2) {
3264 return I(e3, (e4, n2) => {
3265 if (e4.kind === `function` && e4.value === `theme`) {
3266 if (e4.nodes.length < 1) return;
3267 e4.nodes[0].kind === `separator` && e4.nodes[0].value.trim() === `` && e4.nodes.shift();
3268 let r2 = e4.nodes[0];
3269 if (r2.kind !== `word`) return;
3270 let i2 = r2.value, a2 = 1;
3271 for (let t3 = a2; t3 < e4.nodes.length && !e4.nodes[t3].value.includes(`,`); t3++) i2 += N([e4.nodes[t3]]), a2 = t3 + 1;
3272 i2 = yi(i2);
3273 let o2 = e4.nodes.slice(a2 + 1), s2 = o2.length > 0 ? t2(i2, N(o2)) : t2(i2);
3274 if (s2 === null) return;
3275 if (n2.parent) {
3276 let t3 = n2.parent.nodes.indexOf(e4) - 1;
3277 for (; t3 !== -1; ) {
3278 let e5 = n2.parent.nodes[t3];
3279 if (e5.kind === `separator` && e5.value.trim() === ``) {
3280 --t3;
3281 continue;
3282 }
3283 /^[-+*/]$/.test(e5.value.trim()) && (s2 = `(${s2})`);
3284 break;
3285 }
3286 }
3287 return F.Replace(P(s2));
3288 }
3289 }), N(e3);
3290 }
3291 function yi(e3) {
3292 if (e3[0] !== `'` && e3[0] !== `"`) return e3;
3293 let t2 = ``, n2 = e3[0];
3294 for (let r2 = 1; r2 < e3.length - 1; r2++) {
3295 let i2 = e3[r2], a2 = e3[r2 + 1];
3296 i2 === `\\` && (a2 === n2 || a2 === `\\`) ? (t2 += a2, r2++) : t2 += i2;
3297 }
3298 return t2;
3299 }
3300 function* bi(e3) {
3301 function* t2(e4, n2 = null) {
3302 yield [e4, n2], e4.kind === `compound` && (yield* t2(e4.variant, e4));
3303 }
3304 yield* t2(e3, null);
3305 }
3306 function X(e3, t2) {
3307 return e3.parseCandidate(e3.theme.prefix && !t2.startsWith(`${e3.theme.prefix}:`) ? `${e3.theme.prefix}:${t2}` : t2);
3308 }
3309 function xi(e3, t2) {
3310 let n2 = e3.printCandidate(t2);
3311 return e3.theme.prefix && n2.startsWith(`${e3.theme.prefix}:`) ? n2.slice(e3.theme.prefix.length + 1) : n2;
3312 }
3313 var Si = /* @__PURE__ */ Symbol();
3314 function Ci(e3, t2) {
3315 let n2 = e3.resolveThemeValue(`--spacing`);
3316 if (n2 === void 0) return null;
3317 n2 = lr(n2, t2?.rem ?? null);
3318 let r2 = Xn.get(n2);
3319 if (!r2) return null;
3320 let [i2, a2] = r2;
3321 return new j((e4) => {
3322 if (i2 === 0) return null;
3323 let n3 = Xn.get(lr(e4, t2?.rem ?? null));
3324 if (!n3) return null;
3325 let [r3, o2] = n3;
3326 return o2 === a2 ? r3 / i2 : null;
3327 });
3328 }
3329 function wi(e3, t2) {
3330 if (e3.kind !== `arbitrary` && !(e3.kind === `functional` && e3.value?.kind === `arbitrary`)) return e3;
3331 let n2 = t2.designSystem, r2 = n2.storage[Ji].get(t2.signatureOptions), i2 = n2.storage[Z].get(t2.signatureOptions), a2 = n2.storage[Jr].get(t2.signatureOptions), o2 = n2.printCandidate(e3), s2 = i2.get(o2);
3332 if (typeof s2 != `string`) return e3;
3333 for (let t3 of c2(s2, e3)) if (a2(e3, t3) && Ti(n2, e3, t3)) return t3;
3334 return e3;
3335 function* c2(e4, a3) {
3336 let o3 = r2.get(e4);
3337 if (o3.length > 1) {
3338 let e5;
3339 for (let t3 of o3) if (t3[0] !== `-`) {
3340 if (e5) return;
3341 e5 = t3;
3342 }
3343 if (e5) for (let t3 of X(n2, e5)) yield t3;
3344 return;
3345 }
3346 if (o3.length === 0 && a3.modifier) {
3347 let e5 = { ...a3, modifier: null }, t3 = i2.get(n2.printCandidate(e5));
3348 if (typeof t3 == `string`) for (let n3 of c2(t3, e5)) yield Object.assign({}, n3, { modifier: a3.modifier });
3349 }
3350 if (o3.length === 1) for (let e5 of X(n2, o3[0])) yield e5;
3351 else if (o3.length === 0) {
3352 let e5 = a3.kind === `arbitrary` ? a3.value : a3.value?.value ?? null;
3353 if (e5 === null) return;
3354 if (t2.signatureOptions.rem !== null && a3.kind === `functional` && a3.value?.kind === `arbitrary`) {
3355 let t3 = n2.storage[Si]?.get(e5) ?? null;
3356 t3 !== null && D(t3) && (yield Object.assign({}, a3, { value: { kind: `named`, value: t3, fraction: null } }));
3357 }
3358 let r3 = n2.storage[Si]?.get(e5) ?? null, i3 = ``;
3359 r3 !== null && r3 < 0 && (i3 = `-`, r3 = Math.abs(r3));
3360 for (let t3 of Array.from(n2.utilities.keys(`functional`)).sort((e6, t4) => (e6[0] === `-`) - +(t4[0] === `-`))) {
3361 i3 && (t3 = `${i3}${t3}`);
3362 for (let r4 of X(n2, `${t3}-${e5}`)) yield r4;
3363 if (a3.modifier) for (let r4 of X(n2, `${t3}-${e5}${a3.modifier}`)) yield r4;
3364 if (r3 !== null) {
3365 for (let e6 of X(n2, `${t3}-${r3}`)) yield e6;
3366 if (a3.modifier) for (let e6 of X(n2, `${t3}-${r3}${Xt(a3.modifier)}`)) yield e6;
3367 }
3368 for (let r4 of X(n2, `${t3}-[${e5}]`)) yield r4;
3369 if (a3.modifier) for (let r4 of X(n2, `${t3}-[${e5}]${Xt(a3.modifier)}`)) yield r4;
3370 }
3371 }
3372 }
3373 }
3374 function Ti(e3, t2, n2) {
3375 let r2 = null;
3376 if (t2.kind === `functional` && t2.value?.kind === `arbitrary` && t2.value.value.includes(`var(--`) ? r2 = t2.value.value : t2.kind === `arbitrary` && t2.value.includes(`var(--`) && (r2 = t2.value), r2 === null) return true;
3377 let i2 = e3.candidatesToCss([e3.printCandidate(n2)]).join(`
3378 `), a2 = true;
3379 return I(P(r2), (e4) => {
3380 if (e4.kind === `function` && e4.value === `var`) {
3381 let t3 = e4.nodes[0].value;
3382 if (!RegExp(`var\\(${t3}[,)]\\s*`, `g`).test(i2) || i2.includes(`${t3}:`)) return a2 = false, F.Stop;
3383 }
3384 }), a2;
3385 }
3386 function Ei(e3, t2) {
3387 if (e3.kind !== `functional` || e3.value?.kind !== `named`) return e3;
3388 let n2 = t2.designSystem, r2 = n2.storage[Ji].get(t2.signatureOptions), i2 = n2.storage[Z].get(t2.signatureOptions), a2 = n2.storage[Jr].get(t2.signatureOptions), o2 = n2.printCandidate(e3), s2 = i2.get(o2);
3389 if (typeof s2 != `string`) return e3;
3390 for (let t3 of c2(s2, e3)) if (a2(e3, t3)) return t3;
3391 return e3;
3392 function* c2(e4, t3) {
3393 let a3 = r2.get(e4);
3394 if (a3.length > 1) {
3395 let e5;
3396 for (let t4 of a3) if (t4[0] !== `-`) {
3397 if (e5) return;
3398 e5 = t4;
3399 }
3400 if (e5) for (let t4 of X(n2, e5)) yield t4;
3401 return;
3402 }
3403 if (a3.length === 0 && t3.modifier) {
3404 let e5 = { ...t3, modifier: null }, r3 = i2.get(n2.printCandidate(e5));
3405 if (typeof r3 == `string`) for (let n3 of c2(r3, e5)) yield Object.assign({}, n3, { modifier: t3.modifier });
3406 }
3407 if (a3.length === 1) for (let e5 of X(n2, a3[0])) yield e5;
3408 }
3409 }
3410 var Di = /* @__PURE__ */ new Map([[`order-none`, `order-0`], [`break-words`, `wrap-break-word`], [`overflow-ellipsis`, `text-ellipsis`]]), Oi = /* @__PURE__ */ new Map([[/^(-)?start-(.*?)$/, `$1inset-s-$2`], [/^(-)?end-(.*?)$/, `$1inset-e-$2`]]);
3411 function* ki(e3) {
3412 let t2 = Di.get(e3);
3413 t2 && (yield t2);
3414 for (let [t3, n2] of Oi) {
3415 let r2 = e3.replace(t3, n2);
3416 r2 !== e3 && (yield r2);
3417 }
3418 }
3419 function Ai(e3, t2) {
3420 let n2 = t2.designSystem, r2 = n2.storage[Jr].get(t2.signatureOptions), i2 = xi(n2, e3);
3421 for (let t3 of ki(i2)) {
3422 if (!r2(e3, t3)) continue;
3423 let [i3] = X(n2, t3);
3424 return i3;
3425 }
3426 return e3;
3427 }
3428 function ji(e3, t2) {
3429 let n2 = t2.designSystem, r2 = n2.storage[Xi], i2 = n2.storage[Qi], a2 = bi(e3);
3430 for (let [e4] of a2) {
3431 if (e4.kind === `compound`) continue;
3432 let t3 = n2.printVariant(e4), a3 = r2.get(t3);
3433 if (typeof a3 != `string`) continue;
3434 let o2 = i2.get(a3);
3435 if (o2.length !== 1) continue;
3436 let s2 = o2[0], c2 = n2.parseVariant(s2);
3437 c2 !== null && Y(e4, c2);
3438 }
3439 return e3;
3440 }
3441 function Mi(e3, t2) {
3442 let n2 = t2.designSystem, r2 = n2.storage[Z].get(t2.signatureOptions);
3443 if (e3.kind === `functional` && e3.value?.kind === `arbitrary` && e3.value.dataType !== null) {
3444 let t3 = n2.printCandidate({ ...e3, value: { ...e3.value, dataType: null } });
3445 r2.get(n2.printCandidate(e3)) === r2.get(t3) && (e3.value.dataType = null);
3446 }
3447 return e3;
3448 }
3449 function Ni(e3, t2) {
3450 if (e3.kind !== `functional` || e3.value?.kind !== `arbitrary`) return e3;
3451 let n2 = t2.designSystem, r2 = n2.storage[Z].get(t2.signatureOptions), i2 = r2.get(n2.printCandidate(e3));
3452 if (i2 === null) return e3;
3453 for (let t3 of Fi(e3)) if (r2.get(n2.printCandidate({ ...e3, value: t3 })) === i2) return e3.value = t3, e3;
3454 return e3;
3455 }
3456 function Pi(e3) {
3457 let t2 = bi(e3);
3458 for (let [e4] of t2) if (e4.kind === `functional` && e4.root === `data` && e4.value?.kind === `arbitrary` && !e4.value.value.includes(`=`)) e4.value = { kind: `named`, value: e4.value.value };
3459 else if (e4.kind === `functional` && e4.root === `aria` && e4.value?.kind === `arbitrary` && (e4.value.value.endsWith(`=true`) || e4.value.value.endsWith(`="true"`) || e4.value.value.endsWith(`='true'`))) {
3460 let [t3, n2] = g(e4.value.value, `=`);
3461 if (t3[t3.length - 1] === `~` || t3[t3.length - 1] === `|` || t3[t3.length - 1] === `^` || t3[t3.length - 1] === `$` || t3[t3.length - 1] === `*`) continue;
3462 e4.value = { kind: `named`, value: e4.value.value.slice(0, e4.value.value.indexOf(`=`)) };
3463 } else e4.kind === `functional` && e4.root === `supports` && e4.value?.kind === `arbitrary` && /^[a-z-][a-z0-9-]*$/i.test(e4.value.value) && (e4.value = { kind: `named`, value: e4.value.value });
3464 return e3;
3465 }
3466 function* Fi(e3, t2 = e3.value?.value ?? ``, n2 = /* @__PURE__ */ new Set()) {
3467 if (n2.has(t2)) return;
3468 if (n2.add(t2), yield { kind: `named`, value: t2, fraction: null }, t2.endsWith(`%`) && D(t2.slice(0, -1)) && (yield { kind: `named`, value: t2.slice(0, -1), fraction: null }), t2.includes(`/`)) {
3469 let [e4, n3] = t2.split(`/`);
3470 E(e4) && E(n3) && (yield { kind: `named`, value: e4, fraction: `${e4}/${n3}` });
3471 }
3472 let r2 = /* @__PURE__ */ new Set();
3473 for (let e4 of t2.matchAll(/(\d+\/\d+)|(\d+\.?\d+)/g)) r2.add(e4[0].trim());
3474 let i2 = Array.from(r2).sort((e4, t3) => e4.length - t3.length);
3475 for (let t3 of i2) yield* Fi(e3, t3, n2);
3476 }
3477 function Ii(e3) {
3478 return !e3.some((e4) => e4.kind === `separator` && e4.value.trim() === `,`);
3479 }
3480 function Li(e3) {
3481 let t2 = e3.value.trim();
3482 return e3.kind === `selector` && t2[0] === `[` && t2[t2.length - 1] === `]`;
3483 }
3484 function Ri(e3, t2) {
3485 let n2 = [e3], r2 = t2.designSystem, i2 = r2.storage[Xi], a2 = bi(e3);
3486 for (let [e4, t3] of a2) if (e4.kind === `compound` && (e4.root === `has` || e4.root === `not` || e4.root === `in`) && e4.modifier !== null && `modifier` in e4.variant && (e4.variant.modifier = e4.modifier, e4.modifier = null), e4.kind === `arbitrary`) {
3487 if (e4.relative) continue;
3488 let n3 = Ur(e4.selector.trim());
3489 if (!Ii(n3)) continue;
3490 if (t3 === null && n3.length === 3 && n3[0].kind === `selector` && n3[0].value === `&` && n3[1].kind === `combinator` && n3[1].value.trim() === `>` && n3[2].kind === `selector` && n3[2].value === `*`) {
3491 Y(e4, r2.parseVariant(`*`));
3492 continue;
3493 }
3494 if (t3 === null && n3.length === 3 && n3[0].kind === `selector` && n3[0].value === `&` && n3[1].kind === `combinator` && n3[1].value.trim() === `` && n3[2].kind === `selector` && n3[2].value === `*`) {
3495 Y(e4, r2.parseVariant(`**`));
3496 continue;
3497 }
3498 if (t3 === null && n3.length === 3 && n3[1].kind === `combinator` && n3[1].value.trim() === `` && n3[2].kind === `selector` && n3[2].value === `&`) {
3499 n3.pop(), n3.pop(), Y(e4, r2.parseVariant(`in-[${Cr(n3)}]`));
3500 continue;
3501 }
3502 if (t3 === null && n3[0].kind === `selector` && (n3[0].value === `@media` || n3[0].value === `@supports`)) {
3503 let t4 = i2.get(r2.printVariant(e4)), a4 = P(Cr(n3)), o3 = false;
3504 if (I(a4, (e5) => {
3505 if (e5.kind === `word` && e5.value === `not`) return o3 = true, F.Replace([]);
3506 }), a4 = P(N(a4)), I(a4, (e5) => {
3507 e5.kind === `separator` && e5.value !== ` ` && e5.value.trim() === `` && (e5.value = ` `);
3508 }), o3) {
3509 let n4 = r2.parseVariant(`not-[${N(a4)}]`);
3510 if (n4 === null) continue;
3511 if (t4 === i2.get(r2.printVariant(n4))) {
3512 Y(e4, n4);
3513 continue;
3514 }
3515 }
3516 }
3517 let a3 = null;
3518 t3 === null && n3.length === 3 && n3[0].kind === `selector` && n3[0].value.trim() === `&` && n3[1].kind === `combinator` && n3[1].value.trim() === `>` && n3[2].kind === `selector` && (Li(n3[2]) || n3[2].value[0] === `:`) && (n3 = [n3[2]], a3 = r2.parseVariant(`*`)), t3 === null && n3.length === 3 && n3[0].kind === `selector` && n3[0].value.trim() === `&` && n3[1].kind === `combinator` && n3[1].value.trim() === `` && n3[2].kind === `selector` && (Li(n3[2]) || n3[2].value[0] === `:`) && (n3 = [n3[2]], a3 = r2.parseVariant(`**`));
3519 let o2 = n3.filter((e5) => !(e5.kind === `selector` && e5.value.trim() === `&`));
3520 if (o2.length !== 1) continue;
3521 let s2 = o2[0];
3522 if (s2.kind === `function` && s2.value === `:is`) {
3523 if (!Ii(s2.nodes) || s2.nodes.length !== 1 || !Li(s2.nodes[0])) continue;
3524 s2 = s2.nodes[0];
3525 }
3526 if (s2.kind === `function` && s2.value[0] === `:` || s2.kind === `selector` && s2.value[0] === `:`) {
3527 let t4 = s2, n4 = false;
3528 if (t4.kind === `function` && t4.value === `:not`) {
3529 if (n4 = true, t4.nodes.length !== 1 || t4.nodes[0].kind !== `selector` && t4.nodes[0].kind !== `function` || t4.nodes[0].value[0] !== `:`) continue;
3530 t4 = t4.nodes[0];
3531 }
3532 let o3 = ((a4) => {
3533 if (a4 === `:nth-child` && t4.kind === `function` && t4.nodes.length === 1 && t4.nodes[0].kind === `value` && t4.nodes[0].value === `odd`) return n4 ? (n4 = false, `even`) : `odd`;
3534 if (a4 === `:nth-child` && t4.kind === `function` && t4.nodes.length === 1 && t4.nodes[0].kind === `value` && t4.nodes[0].value === `even`) return n4 ? (n4 = false, `odd`) : `even`;
3535 for (let [e5, n5] of [[`:nth-child`, `nth`], [`:nth-last-child`, `nth-last`], [`:nth-of-type`, `nth-of-type`], [`:nth-last-of-type`, `nth-of-last-type`]]) if (a4 === e5 && t4.kind === `function` && t4.nodes.length === 1) return t4.nodes.length === 1 && t4.nodes[0].kind === `value` && E(t4.nodes[0].value) ? `${n5}-${t4.nodes[0].value}` : `${n5}-[${Cr(t4.nodes)}]`;
3536 return n4 && i2.get(r2.printVariant(e4)) === i2.get(`not-[${a4}]`) ? `[&${a4}]` : null;
3537 })(t4.value);
3538 if (o3 === null) {
3539 if (a3) return Y(e4, { kind: `arbitrary`, selector: s2.value, relative: false }), [a3, e4];
3540 continue;
3541 }
3542 n4 && (o3 = `not-${o3}`);
3543 let c2 = r2.parseVariant(o3);
3544 if (c2 === null) continue;
3545 Y(e4, c2);
3546 } else if (Li(s2)) {
3547 let t4 = qn(s2.value);
3548 if (t4 === null) continue;
3549 if (t4.attribute.startsWith(`data-`)) {
3550 let n4 = t4.attribute.slice(5);
3551 Y(e4, { kind: `functional`, root: `data`, modifier: null, value: t4.value === null ? { kind: `named`, value: n4 } : { kind: `arbitrary`, value: `${n4}${t4.operator}${t4.quote ?? ``}${t4.value}${t4.quote ?? ``}${t4.sensitivity ? ` ${t4.sensitivity}` : ``}` } });
3552 } else if (t4.attribute.startsWith(`aria-`)) {
3553 let n4 = t4.attribute.slice(5);
3554 Y(e4, { kind: `functional`, root: `aria`, modifier: null, value: t4.value === null ? { kind: `arbitrary`, value: n4 } : t4.operator === `=` && t4.value === `true` && t4.sensitivity === null ? { kind: `named`, value: n4 } : { kind: `arbitrary`, value: `${t4.attribute}${t4.operator}${t4.quote ?? ``}${t4.value}${t4.quote ?? ``}${t4.sensitivity ? ` ${t4.sensitivity}` : ``}` } });
3555 } else Y(e4, { kind: `arbitrary`, selector: s2.value, relative: false });
3556 }
3557 if (a3) return [a3, e4];
3558 }
3559 return n2;
3560 }
3561 function zi(e3, t2) {
3562 if (e3.kind !== `functional` || e3.value?.kind !== `arbitrary`) return e3;
3563 let n2 = t2.designSystem.storage[Jr].get(t2.signatureOptions), r2 = P(e3.value.value);
3564 if (r2.length === 1 && r2[0].kind === `function` && r2[0].value === `calc`) {
3565 let [t3, i2] = ur(r2);
3566 if (t3) {
3567 let t4 = Ut(e3);
3568 t4.value.value = N(i2), n2(e3, t4) && (e3 = t4, r2 = i2);
3569 }
3570 }
3571 if (e3.root[0] === `-`) {
3572 if (r2.length === 1 && r2[0].kind === `function` && r2[0].value === `var`) return e3;
3573 let [t3, i2] = ur(P(`calc(${e3.value.value} * -1)`));
3574 if (t3) {
3575 let t4 = Ut(e3);
3576 t4.root = t4.root.slice(1), t4.value.value = N(i2), n2(e3, t4) && (e3 = t4, r2 = i2);
3577 }
3578 }
3579 if (r2.length === 1 && r2[0].kind === `function` && r2[0].value === `calc`) {
3580 let t3 = r2[0].nodes;
3581 if (t3.length === 5 && t3[1].kind === `separator` && t3[1].value === ` ` && t3[2].kind === `word` && t3[2].value === `*` && t3[3].kind === `separator` && t3[3].value === ` `) {
3582 let r3 = t3[4].kind === `word` && t3[4].value === `-1` ? t3[0] : t3[0].kind === `word` && t3[0].value === `-1` ? t3[4] : null;
3583 if (r3) {
3584 let t4 = Ut(e3);
3585 t4.root = `-${e3.root}`, t4.value.value = N([r3]), n2(e3, t4) && (e3 = t4);
3586 }
3587 }
3588 }
3589 return e3;
3590 }
3591 function Bi(e3, t2) {
3592 if (e3.kind !== `functional` && e3.kind !== `arbitrary` || e3.modifier === null) return e3;
3593 let n2 = t2.designSystem, r2 = n2.storage[Z].get(t2.signatureOptions), i2 = r2.get(n2.printCandidate(e3)), a2 = e3.modifier;
3594 if (i2 === r2.get(n2.printCandidate({ ...e3, modifier: null }))) return e3.modifier = null, e3;
3595 {
3596 let t3 = { kind: `named`, value: a2.value.endsWith(`%`) ? a2.value.includes(`.`) ? `${Number(a2.value.slice(0, -1))}` : a2.value.slice(0, -1) : a2.value, fraction: null };
3597 if (i2 === r2.get(n2.printCandidate({ ...e3, modifier: t3 }))) return e3.modifier = t3, e3;
3598 }
3599 {
3600 let t3 = { kind: `named`, value: `${parseFloat(a2.value) * 100}`, fraction: null };
3601 if (i2 === r2.get(n2.printCandidate({ ...e3, modifier: t3 }))) return e3.modifier = t3, e3;
3602 }
3603 return e3;
3604 }
3605 var Z = /* @__PURE__ */ Symbol();
3606 function Vi(e3) {
3607 return new j((t2) => new j((n2) => {
3608 try {
3609 n2 = e3.theme.prefix && !n2.startsWith(e3.theme.prefix) ? `${e3.theme.prefix}:${n2}` : n2;
3610 let r2 = [L(`.x`, [R(`@apply`, n2)])];
3611 return ea(e3, () => {
3612 for (let t3 of e3.parseCandidate(n2)) e3.compileAstNodes(t3, 1);
3613 wa(r2, e3);
3614 }), Hi(e3, r2, t2), U(r2);
3615 } catch {
3616 return /* @__PURE__ */ Symbol();
3617 }
3618 }));
3619 }
3620 function Hi(e3, t2, n2) {
3621 let { rem: r2 } = n2;
3622 return I(t2, { enter(t3, i2) {
3623 if (t3.kind === `declaration`) {
3624 if (t3.value === void 0 || t3.property === `--tw-sort` || t3.property.startsWith(`--tw-`) && (i2.parent?.nodes ?? []).some((e4) => e4.kind === `declaration` && t3.value === e4.value && t3.important === e4.important && !e4.property.startsWith(`--tw-`))) return F.Replace([]);
3625 if (n2.features & 1) {
3626 let e4 = _r(t3, n2.features);
3627 if (e4) return F.Replace(e4);
3628 }
3629 t3.value.includes(`var(`) && (t3.value = Ui(t3.value, e3));
3630 let [a2, o2] = ur(P(t3.value), r2), [s2, c2] = Zn(o2);
3631 (a2 || s2) && (t3.value = N(c2)), t3.value = $t(t3.value);
3632 } else {
3633 if (t3.kind === `context` || t3.kind === `at-root`) return F.Replace(t3.nodes);
3634 if (t3.kind === `comment` || t3.kind === `at-rule` && t3.name === `@property`) return F.Replace([]);
3635 }
3636 }, exit(e4) {
3637 if (e4.kind === `rule` || e4.kind === `at-rule`) {
3638 if (e4.nodes.length > 1) {
3639 let t3 = /* @__PURE__ */ new Set();
3640 for (let n3 = e4.nodes.length - 1; n3 >= 0; n3--) {
3641 let r3 = e4.nodes[n3];
3642 r3.kind === `declaration` && r3.value !== void 0 && (t3.has(r3.property) && e4.nodes.splice(n3, 1), t3.add(r3.property));
3643 }
3644 }
3645 e4.nodes.sort((e5, t3) => e5.kind !== `declaration` || t3.kind !== `declaration` ? 0 : e5.property.localeCompare(t3.property));
3646 }
3647 } }), t2;
3648 }
3649 function Ui(e3, t2) {
3650 let n2 = false, r2 = P(e3), i2 = /* @__PURE__ */ new Set();
3651 return I(r2, (e4) => {
3652 if (e4.kind !== `function` || e4.value !== `var` || e4.nodes.length !== 1 && e4.nodes.length < 3) return;
3653 let r3 = e4.nodes[0].value;
3654 t2.theme.prefix && r3.startsWith(`--${t2.theme.prefix}-`) && (r3 = r3.slice(`--${t2.theme.prefix}-`.length));
3655 let a2 = t2.resolveThemeValue(r3);
3656 if (!i2.has(r3) && (i2.add(r3), a2 !== void 0 && (e4.nodes.length === 1 && (n2 = true, e4.nodes.push(...P(`,${a2}`))), e4.nodes.length >= 3)) && N(e4.nodes) === `${e4.nodes[0].value},${a2}`) return n2 = true, F.Replace(P(a2));
3657 }), n2 ? N(r2) : e3;
3658 }
3659 var Wi = /* @__PURE__ */ Symbol();
3660 function Gi() {
3661 return new j((e3) => new j((e4) => new j((e5) => /* @__PURE__ */ new Set())));
3662 }
3663 var Ki = /* @__PURE__ */ Symbol();
3664 function qi(e3) {
3665 return new j((t2) => new j((n2) => {
3666 let r2 = new j((e4) => /* @__PURE__ */ new Set());
3667 e3.theme.prefix && !n2.startsWith(e3.theme.prefix) && (n2 = `${e3.theme.prefix}:${n2}`);
3668 let i2 = e3.parseCandidate(n2);
3669 return i2.length === 0 || I(Hi(e3, e3.compileAstNodes(i2[0]).map((e4) => H(e4.node)), t2), (i3) => {
3670 i3.kind === `declaration` && (r2.get(i3.property).add(i3.value), e3.storage[Wi].get(t2).get(i3.property).get(i3.value).add(n2));
3671 }), r2;
3672 }));
3673 }
3674 var Ji = /* @__PURE__ */ Symbol();
3675 function Yi(e3) {
3676 return new j((t2) => {
3677 let n2 = e3.storage[Z].get(t2), r2 = new j(() => []);
3678 for (let [i2, a2] of e3.getClassList()) {
3679 let o2 = n2.get(i2);
3680 if (typeof o2 == `string`) {
3681 if (i2[0] === `-` && i2.endsWith(`-0`)) {
3682 let e4 = n2.get(i2.slice(1));
3683 if (typeof e4 == `string` && o2 === e4) continue;
3684 }
3685 r2.get(o2).push(i2), e3.storage[Ki].get(t2).get(i2);
3686 for (let o3 of a2.modifiers) {
3687 if (D(o3)) continue;
3688 let a3 = `${i2}/${o3}`, s2 = n2.get(a3);
3689 typeof s2 == `string` && (r2.get(s2).push(a3), e3.storage[Ki].get(t2).get(a3));
3690 }
3691 }
3692 }
3693 return r2;
3694 });
3695 }
3696 var Xi = /* @__PURE__ */ Symbol();
3697 function Zi(e3) {
3698 return new j((t2) => {
3699 try {
3700 t2 = e3.theme.prefix && !t2.startsWith(e3.theme.prefix) ? `${e3.theme.prefix}:${t2}` : t2;
3701 let n2 = [L(`.x`, [R(`@apply`, `${t2}:flex`)])];
3702 return wa(n2, e3), I(n2, (e4) => {
3703 if (e4.kind === `at-rule` && e4.params.includes(` `)) e4.params = e4.params.replaceAll(` `, ``);
3704 else if (e4.kind === `rule`) {
3705 let t3 = Ur(e4.selector), n3 = false;
3706 I(t3, (e5) => {
3707 if (e5.kind === `separator` && e5.value !== ` `) e5.value = e5.value.trim(), n3 = true;
3708 else if (e5.kind === `function` && e5.value === `:is`) {
3709 if (e5.nodes.length === 1) return n3 = true, F.Replace(e5.nodes);
3710 if (e5.nodes.length === 2 && e5.nodes[0].kind === `selector` && e5.nodes[0].value === `*` && e5.nodes[1].kind === `selector` && e5.nodes[1].value[0] === `:`) return n3 = true, F.Replace(e5.nodes[1]);
3711 } else e5.kind === `function` && e5.value[0] === `:` && e5.nodes[0]?.kind === `selector` && e5.nodes[0]?.value[0] === `:` && (n3 = true, e5.nodes.unshift({ kind: `selector`, value: `*` }));
3712 }), n3 && (e4.selector = Cr(t3));
3713 }
3714 }), U(n2);
3715 } catch {
3716 return /* @__PURE__ */ Symbol();
3717 }
3718 });
3719 }
3720 var Qi = /* @__PURE__ */ Symbol();
3721 function $i(e3) {
3722 let t2 = e3.storage[Xi], n2 = new j(() => []);
3723 for (let [r2, i2] of e3.variants.entries()) if (i2.kind === `static`) {
3724 let e4 = t2.get(r2);
3725 if (typeof e4 != `string`) continue;
3726 n2.get(e4).push(r2);
3727 }
3728 return n2;
3729 }
3730 function ea(e3, t2) {
3731 let n2 = e3.theme.values.get, r2 = /* @__PURE__ */ new Set();
3732 e3.theme.values.get = (t3) => {
3733 let i2 = n2.call(e3.theme.values, t3);
3734 return i2 === void 0 || i2.options & 1 && (r2.add(i2), i2.options &= -2), i2;
3735 };
3736 try {
3737 return t2();
3738 } finally {
3739 e3.theme.values.get = n2;
3740 for (let e4 of r2) e4.options |= 1;
3741 }
3742 }
3743 function* ta(e3) {
3744 let t2 = e3.length, n2 = 1n << BigInt(t2);
3745 for (let r2 = t2; r2 >= 2; r2--) {
3746 let i2 = (1n << BigInt(r2)) - 1n;
3747 for (; i2 < n2; ) {
3748 let n3 = [];
3749 for (let r4 = 0; r4 < t2; r4++) i2 >> BigInt(r4) & 1n && n3.push(e3[r4]);
3750 yield n3;
3751 let r3 = i2 & -i2, a2 = i2 + r3;
3752 i2 = ((a2 ^ i2) >> 2n) / r3 | a2;
3753 }
3754 }
3755 }
3756 function na(e3, t2) {
3757 if (typeof e3.intersection == `function`) return e3.intersection(t2);
3758 if (e3.size === 0 || t2.size === 0) return /* @__PURE__ */ new Set();
3759 let n2 = new Set(e3);
3760 for (let e4 of t2) n2.has(e4) || n2.delete(e4);
3761 return n2;
3762 }
3763 var ra = /^\d+\/\d+$/;
3764 function ia(e3) {
3765 let t2 = new j((e4) => ({ name: e4, utility: e4, fraction: false, modifiers: [] }));
3766 for (let n3 of e3.utilities.keys(`static`)) {
3767 if (e3.utilities.getCompletions(n3).length === 0) continue;
3768 let r2 = t2.get(n3);
3769 r2.fraction = false, r2.modifiers = [];
3770 }
3771 for (let n3 of e3.utilities.keys(`functional`)) {
3772 let r2 = e3.utilities.getCompletions(n3);
3773 for (let e4 of r2) for (let r3 of e4.values) {
3774 let i2 = r3 !== null && ra.test(r3), a2 = r3 === null ? n3 : `${n3}-${r3}`, o2 = t2.get(a2);
3775 if (o2.utility = n3, o2.fraction || (o2.fraction = i2), o2.modifiers.push(...e4.modifiers), e4.supportsNegative) {
3776 let r4 = t2.get(`-${a2}`);
3777 r4.utility = `-${n3}`, r4.fraction || (r4.fraction = i2), r4.modifiers.push(...e4.modifiers);
3778 }
3779 o2.modifiers = Array.from(new Set(o2.modifiers));
3780 }
3781 }
3782 if (t2.size === 0) return [];
3783 let n2 = Array.from(t2.values());
3784 return n2.sort((e4, t3) => Kn(e4.name, t3.name)), aa(n2);
3785 }
3786 function aa(e3) {
3787 let t2 = [], n2 = null, r2 = /* @__PURE__ */ new Map(), i2 = new j(() => []);
3788 for (let a3 of e3) {
3789 let { utility: e4, fraction: o2 } = a3;
3790 n2 || (n2 = { utility: e4, items: [] }, r2.set(e4, n2)), e4 !== n2.utility && (t2.push(n2), n2 = { utility: e4, items: [] }, r2.set(e4, n2)), o2 ? i2.get(e4).push(a3) : n2.items.push(a3);
3791 }
3792 n2 && t2[t2.length - 1] !== n2 && t2.push(n2);
3793 for (let [e4, t3] of i2) {
3794 let n3 = r2.get(e4);
3795 n3 && n3.items.push(...t3);
3796 }
3797 let a2 = [];
3798 for (let e4 of t2) for (let t3 of e4.items) a2.push([t3.name, { modifiers: t3.modifiers }]);
3799 return a2;
3800 }
3801 function oa(e3) {
3802 let t2 = [];
3803 for (let [n2, r2] of e3.variants.entries()) {
3804 let i2 = function({ value: t3, modifier: r3 } = {}) {
3805 let i3 = n2;
3806 t3 && (i3 += a2 ? `-${t3}` : t3), r3 && (i3 += `/${r3}`);
3807 let o3 = e3.parseVariant(i3);
3808 if (!o3) return [];
3809 let s2 = L(`.__placeholder__`, []);
3810 if (ya(s2, o3, e3.variants) === null) return [];
3811 let c2 = [];
3812 return I(s2.nodes, { exit(e4, t4) {
3813 if (e4.kind !== `rule` && e4.kind !== `at-rule` || e4.nodes.length > 0) return;
3814 let n3 = t4.path();
3815 n3.push(e4), n3.sort((e5, t5) => {
3816 let n4 = e5.kind === `at-rule`, r5 = t5.kind === `at-rule`;
3817 return n4 && !r5 ? -1 : !n4 && r5 ? 1 : 0;
3818 });
3819 let r4 = n3.flatMap((e5) => e5.kind === `rule` ? e5.selector === `&` ? [] : [e5.selector] : e5.kind === `at-rule` ? [`${e5.name} ${e5.params}`] : []), i4 = ``;
3820 for (let e5 = r4.length - 1; e5 >= 0; e5--) i4 = i4 === `` ? r4[e5] : `${r4[e5]} { ${i4} }`;
3821 c2.push(i4);
3822 } }), c2;
3823 };
3824 if (r2.kind === `arbitrary`) continue;
3825 let a2 = n2 !== `@`, o2 = e3.variants.getCompletions(n2);
3826 switch (r2.kind) {
3827 case `static`:
3828 t2.push({ name: n2, values: o2, isArbitrary: false, hasDash: a2, selectors: i2 });
3829 break;
3830 case `functional`:
3831 t2.push({ name: n2, values: o2, isArbitrary: true, hasDash: a2, selectors: i2 });
3832 break;
3833 case `compound`:
3834 t2.push({ name: n2, values: o2, isArbitrary: true, hasDash: a2, selectors: i2 });
3835 break;
3836 }
3837 }
3838 return t2;
3839 }
3840 function sa(e3, t2) {
3841 let { astNodes: n2, nodeSorting: r2 } = _a(Array.from(t2), e3), i2 = new Map(t2.map((e4) => [e4, null])), a2 = 0n;
3842 for (let e4 of n2) {
3843 let t3 = r2.get(e4)?.candidate;
3844 t3 && i2.set(t3, i2.get(t3) ?? a2++);
3845 }
3846 return t2.map((e4) => [e4, i2.get(e4) ?? null]);
3847 }
3848 var ca = /^@?[a-z0-9][a-zA-Z0-9_-]*(?<![_-])$/, la = class {
3849 constructor() {
3850 __publicField(this, "compareFns", /* @__PURE__ */ new Map());
3851 __publicField(this, "variants", /* @__PURE__ */ new Map());
3852 __publicField(this, "completions", /* @__PURE__ */ new Map());
3853 __publicField(this, "groupOrder", null);
3854 __publicField(this, "lastOrder", 0);
3855 }
3856 static(e3, t2, { compounds: n2, order: r2 } = {}) {
3857 this.set(e3, { kind: `static`, applyFn: t2, compoundsWith: 0, compounds: n2 ?? 2, order: r2 });
3858 }
3859 fromAst(e3, t2, n2) {
3860 let r2 = [], i2 = false;
3861 I(t2, (e4) => {
3862 e4.kind === `rule` ? r2.push(e4.selector) : e4.kind === `at-rule` && e4.name === `@variant` ? i2 = true : e4.kind === `at-rule` && e4.name !== `@slot` && r2.push(`${e4.name} ${e4.params}`);
3863 }), this.static(e3, (e4) => {
3864 let r3 = t2.map(H);
3865 i2 && ma(r3, n2), pa(r3, e4.nodes), e4.nodes = r3;
3866 }, { compounds: ua(r2) });
3867 }
3868 functional(e3, t2, { compounds: n2, order: r2 } = {}) {
3869 this.set(e3, { kind: `functional`, applyFn: t2, compoundsWith: 0, compounds: n2 ?? 2, order: r2 });
3870 }
3871 compound(e3, t2, n2, { compounds: r2, order: i2 } = {}) {
3872 this.set(e3, { kind: `compound`, applyFn: n2, compoundsWith: t2, compounds: r2 ?? 2, order: i2 });
3873 }
3874 group(e3, t2) {
3875 this.groupOrder = this.nextOrder(), t2 && this.compareFns.set(this.groupOrder, t2), e3(), this.groupOrder = null;
3876 }
3877 has(e3) {
3878 return this.variants.has(e3);
3879 }
3880 get(e3) {
3881 return this.variants.get(e3);
3882 }
3883 kind(e3) {
3884 return this.variants.get(e3)?.kind;
3885 }
3886 compoundsWith(e3, t2) {
3887 let n2 = this.variants.get(e3), r2 = typeof t2 == `string` ? this.variants.get(t2) : t2.kind === `arbitrary` ? { compounds: ua([t2.selector]) } : this.variants.get(t2.root);
3888 return !(!n2 || !r2 || n2.kind !== `compound` || r2.compounds === 0 || n2.compoundsWith === 0 || (n2.compoundsWith & r2.compounds) === 0);
3889 }
3890 suggest(e3, t2) {
3891 this.completions.set(e3, t2);
3892 }
3893 getCompletions(e3) {
3894 return this.completions.get(e3)?.() ?? [];
3895 }
3896 compare(e3, t2) {
3897 if (e3 === t2) return 0;
3898 if (e3 === null) return -1;
3899 if (t2 === null) return 1;
3900 if (e3.kind === `arbitrary` && t2.kind === `arbitrary`) return e3.selector < t2.selector ? -1 : 1;
3901 if (e3.kind === `arbitrary`) return 1;
3902 if (t2.kind === `arbitrary`) return -1;
3903 let n2 = this.variants.get(e3.root).order, r2 = n2 - this.variants.get(t2.root).order;
3904 if (r2 !== 0) return r2;
3905 if (e3.kind === `compound` && t2.kind === `compound`) {
3906 let n3 = this.compare(e3.variant, t2.variant);
3907 return n3 === 0 ? e3.modifier && t2.modifier ? e3.modifier.value < t2.modifier.value ? -1 : 1 : e3.modifier ? 1 : t2.modifier ? -1 : 0 : n3;
3908 }
3909 let i2 = this.compareFns.get(n2);
3910 if (i2 !== void 0) return i2(e3, t2);
3911 if (e3.root !== t2.root) return e3.root < t2.root ? -1 : 1;
3912 let a2 = e3.value, o2 = t2.value;
3913 return a2 === null ? -1 : o2 === null || a2.kind === `arbitrary` && o2.kind !== `arbitrary` ? 1 : a2.kind !== `arbitrary` && o2.kind === `arbitrary` || a2.value < o2.value ? -1 : 1;
3914 }
3915 keys() {
3916 return this.variants.keys();
3917 }
3918 entries() {
3919 return this.variants.entries();
3920 }
3921 set(e3, { kind: t2, applyFn: n2, compounds: r2, compoundsWith: i2, order: a2 }) {
3922 let o2 = this.variants.get(e3);
3923 o2 ? Object.assign(o2, { kind: t2, applyFn: n2, compounds: r2 }) : (a2 === void 0 && (this.lastOrder = this.nextOrder(), a2 = this.lastOrder), this.variants.set(e3, { kind: t2, applyFn: n2, order: a2, compoundsWith: i2, compounds: r2 }));
3924 }
3925 nextOrder() {
3926 return this.groupOrder ?? this.lastOrder + 1;
3927 }
3928 };
3929 function ua(e3) {
3930 let t2 = 0;
3931 for (let n2 of e3) {
3932 if (n2[0] === `@`) {
3933 if (!n2.startsWith(`@media`) && !n2.startsWith(`@supports`) && !n2.startsWith(`@container`)) return 0;
3934 t2 |= 1;
3935 continue;
3936 }
3937 if (n2.includes(`::`)) return 0;
3938 t2 |= 2;
3939 }
3940 return t2;
3941 }
3942 function da(e3) {
3943 let t2 = new la();
3944 function n2(e4, n3, { compounds: r3 } = {}) {
3945 r3 ?? (r3 = ua(n3)), t2.static(e4, (e5) => {
3946 e5.nodes = n3.map((t3) => z(t3, e5.nodes));
3947 }, { compounds: r3 });
3948 }
3949 n2(`*`, [`:is(& > *)`], { compounds: 0 }), n2(`**`, [`:is(& *)`], { compounds: 0 });
3950 function r2(e4, t3) {
3951 return t3.map((t4) => {
3952 t4 = t4.trim();
3953 let n3 = g(t4, ` `);
3954 return n3[0] === `not` ? n3.slice(1).join(` `) : e4 === `@container` ? n3[0][0] === `(` ? `not ${t4}` : n3[1] === `not` ? `${n3[0]} ${n3.slice(2).join(` `)}` : `${n3[0]} not ${n3.slice(1).join(` `)}` : `not ${t4}`;
3955 });
3956 }
3957 let i2 = [`@media`, `@supports`, `@container`];
3958 function a2(e4) {
3959 for (let t3 of i2) {
3960 if (t3 !== e4.name) continue;
3961 let n3 = g(e4.params, `,`);
3962 return n3.length > 1 ? null : (n3 = r2(e4.name, n3), R(e4.name, n3.join(`, `)));
3963 }
3964 return null;
3965 }
3966 function o2(e4) {
3967 return e4.includes(`::`) ? null : `&:not(${g(e4, `,`).map((e5) => (e5 = e5.replaceAll(`&`, `*`), e5)).join(`, `)})`;
3968 }
3969 t2.compound(`not`, 3, (e4, t3) => {
3970 if (t3.variant.kind === `arbitrary` && t3.variant.relative || t3.modifier) return null;
3971 let n3 = false;
3972 if (I([e4], (t4, r3) => {
3973 if (t4.kind !== `rule` && t4.kind !== `at-rule` || t4.nodes.length > 0) return F.Continue;
3974 let i3 = [], s2 = [], c2 = r3.path();
3975 c2.push(t4);
3976 for (let e5 of c2) e5.kind === `at-rule` ? i3.push(e5) : e5.kind === `rule` && s2.push(e5);
3977 if (i3.length > 1 || s2.length > 1) return F.Stop;
3978 let l2 = [];
3979 for (let e5 of s2) {
3980 let t5 = o2(e5.selector);
3981 if (!t5) return n3 = false, F.Stop;
3982 l2.push(L(t5, []));
3983 }
3984 for (let e5 of i3) {
3985 let t5 = a2(e5);
3986 if (!t5) return n3 = false, F.Stop;
3987 l2.push(t5);
3988 }
3989 return Object.assign(e4, L(`&`, l2)), n3 = true, F.Skip;
3990 }), e4.kind === `rule` && e4.selector === `&` && e4.nodes.length === 1 && Object.assign(e4, e4.nodes[0]), !n3) return null;
3991 }), t2.suggest(`not`, () => Array.from(t2.keys()).filter((e4) => t2.compoundsWith(`not`, e4))), t2.compound(`group`, 2, (t3, n3) => {
3992 if (n3.variant.kind === `arbitrary` && n3.variant.relative) return null;
3993 let r3 = n3.modifier ? `:where(.${e3.prefix ? `${e3.prefix}\\:` : ``}group\\/${n3.modifier.value})` : `:where(.${e3.prefix ? `${e3.prefix}\\:` : ``}group)`, i3 = false;
3994 if (I([t3], (e4, t4) => {
3995 if (e4.kind !== `rule`) return F.Continue;
3996 for (let e5 of t4.path()) if (e5.kind === `rule`) return i3 = false, F.Stop;
3997 let n4 = e4.selector.replaceAll(`&`, r3);
3998 g(n4, `,`).length > 1 && (n4 = `:is(${n4})`), e4.selector = `&:is(${n4} *)`, i3 = true;
3999 }), !i3) return null;
4000 }), t2.suggest(`group`, () => Array.from(t2.keys()).filter((e4) => t2.compoundsWith(`group`, e4))), t2.compound(`peer`, 2, (t3, n3) => {
4001 if (n3.variant.kind === `arbitrary` && n3.variant.relative) return null;
4002 let r3 = n3.modifier ? `:where(.${e3.prefix ? `${e3.prefix}\\:` : ``}peer\\/${n3.modifier.value})` : `:where(.${e3.prefix ? `${e3.prefix}\\:` : ``}peer)`, i3 = false;
4003 if (I([t3], (e4, t4) => {
4004 if (e4.kind !== `rule`) return F.Continue;
4005 for (let e5 of t4.path()) if (e5.kind === `rule`) return i3 = false, F.Stop;
4006 let n4 = e4.selector.replaceAll(`&`, r3);
4007 g(n4, `,`).length > 1 && (n4 = `:is(${n4})`), e4.selector = `&:is(${n4} ~ *)`, i3 = true;
4008 }), !i3) return null;
4009 }), t2.suggest(`peer`, () => Array.from(t2.keys()).filter((e4) => t2.compoundsWith(`peer`, e4))), n2(`first-letter`, [`&::first-letter`]), n2(`first-line`, [`&::first-line`]), n2(`marker`, [`& *::marker`, `&::marker`, `& *::-webkit-details-marker`, `&::-webkit-details-marker`]), n2(`selection`, [`& *::selection`, `&::selection`]), n2(`file`, [`&::file-selector-button`]), n2(`placeholder`, [`&::placeholder`]), n2(`backdrop`, [`&::backdrop`]), n2(`details-content`, [`&::details-content`]);
4010 {
4011 let e4 = function() {
4012 return V([R(`@property`, `--tw-content`, [B(`syntax`, `"*"`), B(`initial-value`, `""`), B(`inherits`, `false`)])]);
4013 };
4014 t2.static(`before`, (t3) => {
4015 t3.nodes = [L(`&::before`, [e4(), B(`content`, `var(--tw-content)`), ...t3.nodes])];
4016 }, { compounds: 0 }), t2.static(`after`, (t3) => {
4017 t3.nodes = [L(`&::after`, [e4(), B(`content`, `var(--tw-content)`), ...t3.nodes])];
4018 }, { compounds: 0 });
4019 }
4020 n2(`first`, [`&:first-child`]), n2(`last`, [`&:last-child`]), n2(`only`, [`&:only-child`]), n2(`odd`, [`&:nth-child(odd)`]), n2(`even`, [`&:nth-child(even)`]), n2(`first-of-type`, [`&:first-of-type`]), n2(`last-of-type`, [`&:last-of-type`]), n2(`only-of-type`, [`&:only-of-type`]), n2(`visited`, [`&:visited`]), n2(`target`, [`&:target`]), n2(`open`, [`&:is([open], :popover-open, :open)`]), n2(`default`, [`&:default`]), n2(`checked`, [`&:checked`]), n2(`indeterminate`, [`&:indeterminate`]), n2(`placeholder-shown`, [`&:placeholder-shown`]), n2(`autofill`, [`&:autofill`]), n2(`optional`, [`&:optional`]), n2(`required`, [`&:required`]), n2(`valid`, [`&:valid`]), n2(`invalid`, [`&:invalid`]), n2(`user-valid`, [`&:user-valid`]), n2(`user-invalid`, [`&:user-invalid`]), n2(`in-range`, [`&:in-range`]), n2(`out-of-range`, [`&:out-of-range`]), n2(`read-only`, [`&:read-only`]), n2(`empty`, [`&:empty`]), n2(`focus-within`, [`&:focus-within`]), t2.static(`hover`, (e4) => {
4021 e4.nodes = [L(`&:hover`, [R(`@media`, `(hover: hover)`, e4.nodes)])];
4022 }), n2(`focus`, [`&:focus`]), n2(`focus-visible`, [`&:focus-visible`]), n2(`active`, [`&:active`]), n2(`enabled`, [`&:enabled`]), n2(`disabled`, [`&:disabled`]), n2(`inert`, [`&:is([inert], [inert] *)`]), t2.compound(`in`, 2, (e4, t3) => {
4023 if (t3.modifier) return null;
4024 let n3 = false;
4025 if (I([e4], (e5, t4) => {
4026 if (e5.kind !== `rule`) return F.Continue;
4027 for (let e6 of t4.path()) if (e6.kind === `rule`) return n3 = false, F.Stop;
4028 e5.selector = `:where(${e5.selector.replaceAll(`&`, `*`)}) &`, n3 = true;
4029 }), !n3) return null;
4030 }), t2.suggest(`in`, () => Array.from(t2.keys()).filter((e4) => t2.compoundsWith(`in`, e4))), t2.compound(`has`, 2, (e4, t3) => {
4031 if (t3.modifier) return null;
4032 let n3 = false;
4033 if (I([e4], (e5, t4) => {
4034 if (e5.kind !== `rule`) return F.Continue;
4035 for (let e6 of t4.path()) if (e6.kind === `rule`) return n3 = false, F.Stop;
4036 e5.selector = `&:has(${e5.selector.replaceAll(`&`, `*`)})`, n3 = true;
4037 }), !n3) return null;
4038 }), t2.suggest(`has`, () => Array.from(t2.keys()).filter((e4) => t2.compoundsWith(`has`, e4))), t2.functional(`aria`, (e4, t3) => {
4039 if (!t3.value || t3.modifier) return null;
4040 t3.value.kind === `arbitrary` ? e4.nodes = [L(`&[aria-${fa(t3.value.value)}]`, e4.nodes)] : e4.nodes = [L(`&[aria-${t3.value.value}="true"]`, e4.nodes)];
4041 }), t2.suggest(`aria`, () => [`busy`, `checked`, `disabled`, `expanded`, `hidden`, `pressed`, `readonly`, `required`, `selected`]), t2.functional(`data`, (e4, t3) => {
4042 if (!t3.value || t3.modifier) return null;
4043 e4.nodes = [L(`&[data-${fa(t3.value.value)}]`, e4.nodes)];
4044 }), t2.functional(`nth`, (e4, t3) => {
4045 if (!t3.value || t3.modifier || t3.value.kind === `named` && !E(t3.value.value)) return null;
4046 e4.nodes = [L(`&:nth-child(${t3.value.value})`, e4.nodes)];
4047 }), t2.functional(`nth-last`, (e4, t3) => {
4048 if (!t3.value || t3.modifier || t3.value.kind === `named` && !E(t3.value.value)) return null;
4049 e4.nodes = [L(`&:nth-last-child(${t3.value.value})`, e4.nodes)];
4050 }), t2.functional(`nth-of-type`, (e4, t3) => {
4051 if (!t3.value || t3.modifier || t3.value.kind === `named` && !E(t3.value.value)) return null;
4052 e4.nodes = [L(`&:nth-of-type(${t3.value.value})`, e4.nodes)];
4053 }), t2.functional(`nth-last-of-type`, (e4, t3) => {
4054 if (!t3.value || t3.modifier || t3.value.kind === `named` && !E(t3.value.value)) return null;
4055 e4.nodes = [L(`&:nth-last-of-type(${t3.value.value})`, e4.nodes)];
4056 }), t2.functional(`supports`, (e4, t3) => {
4057 if (!t3.value || t3.modifier) return null;
4058 let n3 = t3.value.value;
4059 if (n3 === null) return null;
4060 if (/^[\w-]*\s*\(/.test(n3)) {
4061 e4.nodes = [R(`@supports`, n3.replace(/\b(and|or|not)\b/g, ` $1 `), e4.nodes)];
4062 return;
4063 }
4064 n3.includes(`:`) || (n3 = `${n3}: var(--tw)`), (n3[0] !== `(` || n3[n3.length - 1] !== `)`) && (n3 = `(${n3})`), e4.nodes = [R(`@supports`, n3, e4.nodes)];
4065 }, { compounds: 1 }), n2(`motion-safe`, [`@media (prefers-reduced-motion: no-preference)`]), n2(`motion-reduce`, [`@media (prefers-reduced-motion: reduce)`]), n2(`contrast-more`, [`@media (prefers-contrast: more)`]), n2(`contrast-less`, [`@media (prefers-contrast: less)`]);
4066 {
4067 let n3 = function(e4, t3, n4, r3) {
4068 if (e4 === t3) return 0;
4069 let i3 = r3.get(e4);
4070 if (i3 === null) return n4 === `asc` ? -1 : 1;
4071 let a3 = r3.get(t3);
4072 return a3 === null ? n4 === `asc` ? 1 : -1 : cn(i3, a3, n4);
4073 };
4074 {
4075 let r3 = e3.namespace(`--breakpoint`), i3 = new j((t3) => {
4076 switch (t3.kind) {
4077 case `static`:
4078 return e3.resolveValue(t3.root, [`--breakpoint`]) ?? null;
4079 case `functional`: {
4080 if (!t3.value || t3.modifier) return null;
4081 let n4 = null;
4082 return t3.value.kind === `arbitrary` ? n4 = t3.value.value : t3.value.kind === `named` && (n4 = e3.resolveValue(t3.value.value, [`--breakpoint`])), !n4 || n4.includes(`var(`) ? null : n4;
4083 }
4084 case `arbitrary`:
4085 case `compound`:
4086 return null;
4087 }
4088 });
4089 t2.group(() => {
4090 t2.functional(`max`, (e4, t3) => {
4091 if (t3.modifier) return null;
4092 let n4 = i3.get(t3);
4093 if (n4 === null) return null;
4094 e4.nodes = [R(`@media`, `(width < ${n4})`, e4.nodes)];
4095 }, { compounds: 1 });
4096 }, (e4, t3) => n3(e4, t3, `desc`, i3)), t2.suggest(`max`, () => Array.from(r3.keys()).filter((e4) => e4 !== null)), t2.group(() => {
4097 for (let [n4, r4] of e3.namespace(`--breakpoint`)) n4 !== null && t2.static(n4, (e4) => {
4098 e4.nodes = [R(`@media`, `(width >= ${r4})`, e4.nodes)];
4099 }, { compounds: 1 });
4100 t2.functional(`min`, (e4, t3) => {
4101 if (t3.modifier) return null;
4102 let n4 = i3.get(t3);
4103 if (n4 === null) return null;
4104 e4.nodes = [R(`@media`, `(width >= ${n4})`, e4.nodes)];
4105 }, { compounds: 1 });
4106 }, (e4, t3) => n3(e4, t3, `asc`, i3)), t2.suggest(`min`, () => Array.from(r3.keys()).filter((e4) => e4 !== null));
4107 }
4108 {
4109 let r3 = e3.namespace(`--container`), i3 = new j((t3) => {
4110 switch (t3.kind) {
4111 case `functional`: {
4112 if (t3.value === null) return null;
4113 let n4 = null;
4114 return t3.value.kind === `arbitrary` ? n4 = t3.value.value : t3.value.kind === `named` && (n4 = e3.resolveValue(t3.value.value, [`--container`])), !n4 || n4.includes(`var(`) ? null : n4;
4115 }
4116 case `static`:
4117 case `arbitrary`:
4118 case `compound`:
4119 return null;
4120 }
4121 });
4122 t2.group(() => {
4123 t2.functional(`@max`, (e4, t3) => {
4124 let n4 = i3.get(t3);
4125 if (n4 === null) return null;
4126 e4.nodes = [R(`@container`, t3.modifier ? `${t3.modifier.value} (width < ${n4})` : `(width < ${n4})`, e4.nodes)];
4127 }, { compounds: 1 });
4128 }, (e4, t3) => n3(e4, t3, `desc`, i3)), t2.suggest(`@max`, () => Array.from(r3.keys()).filter((e4) => e4 !== null)), t2.group(() => {
4129 t2.functional(`@`, (e4, t3) => {
4130 let n4 = i3.get(t3);
4131 if (n4 === null) return null;
4132 e4.nodes = [R(`@container`, t3.modifier ? `${t3.modifier.value} (width >= ${n4})` : `(width >= ${n4})`, e4.nodes)];
4133 }, { compounds: 1 }), t2.functional(`@min`, (e4, t3) => {
4134 let n4 = i3.get(t3);
4135 if (n4 === null) return null;
4136 e4.nodes = [R(`@container`, t3.modifier ? `${t3.modifier.value} (width >= ${n4})` : `(width >= ${n4})`, e4.nodes)];
4137 }, { compounds: 1 });
4138 }, (e4, t3) => n3(e4, t3, `asc`, i3)), t2.suggest(`@min`, () => Array.from(r3.keys()).filter((e4) => e4 !== null)), t2.suggest(`@`, () => Array.from(r3.keys()).filter((e4) => e4 !== null));
4139 }
4140 }
4141 return n2(`portrait`, [`@media (orientation: portrait)`]), n2(`landscape`, [`@media (orientation: landscape)`]), n2(`ltr`, [`&:where(:dir(ltr), [dir="ltr"], [dir="ltr"] *)`]), n2(`rtl`, [`&:where(:dir(rtl), [dir="rtl"], [dir="rtl"] *)`]), n2(`dark`, [`@media (prefers-color-scheme: dark)`]), n2(`starting`, [`@starting-style`]), n2(`print`, [`@media print`]), n2(`forced-colors`, [`@media (forced-colors: active)`]), n2(`inverted-colors`, [`@media (inverted-colors: inverted)`]), n2(`pointer-none`, [`@media (pointer: none)`]), n2(`pointer-coarse`, [`@media (pointer: coarse)`]), n2(`pointer-fine`, [`@media (pointer: fine)`]), n2(`any-pointer-none`, [`@media (any-pointer: none)`]), n2(`any-pointer-coarse`, [`@media (any-pointer: coarse)`]), n2(`any-pointer-fine`, [`@media (any-pointer: fine)`]), n2(`noscript`, [`@media (scripting: none)`]), t2;
4142 }
4143 function fa(e3) {
4144 if (e3.includes(`=`)) {
4145 let [t2, ...n2] = g(e3, `=`), r2 = n2.join(`=`).trim();
4146 if (r2[0] === `'` || r2[0] === `"`) return e3;
4147 if (r2.length > 1) {
4148 let e4 = r2[r2.length - 1];
4149 if (r2[r2.length - 2] === ` ` && (e4 === `i` || e4 === `I` || e4 === `s` || e4 === `S`)) return `${t2}="${r2.slice(0, -2)}" ${e4}`;
4150 }
4151 return `${t2}="${r2}"`;
4152 }
4153 return e3;
4154 }
4155 function pa(e3, t2) {
4156 I(e3, (e4) => {
4157 if (e4.kind === `at-rule` && e4.name === `@slot`) return F.ReplaceSkip(t2);
4158 if (e4.kind === `at-rule` && (e4.name === `@keyframes` || e4.name === `@property`)) return Object.assign(e4, V([R(e4.name, e4.params, e4.nodes)])), F.Skip;
4159 });
4160 }
4161 function ma(e3, t2) {
4162 let n2 = 0;
4163 return I(e3, (e4) => {
4164 if (e4.kind !== `at-rule` || e4.name !== `@variant`) return;
4165 let r2 = L(`&`, e4.nodes), i2 = e4.params, a2 = t2.parseVariant(i2);
4166 if (a2 === null) throw Error(`Cannot use \`@variant\` with unknown variant: ${i2}`);
4167 if (ya(r2, a2, t2.variants) === null) throw Error(`Cannot use \`@variant\` with variant: ${i2}`);
4168 return n2 |= 32, F.Replace(r2);
4169 }), n2;
4170 }
4171 function ha(e3, t2) {
4172 let n2 = gn(e3), r2 = da(e3), i2 = new j((e4) => qt(e4, u2)), a2 = new j((e4) => Array.from(Gt(e4, u2))), o2 = new j((e4) => new j((t3) => {
4173 let n3 = va(t3, u2, e4);
4174 try {
4175 Hn(n3.map(({ node: e5 }) => e5), u2), ma(n3.map(({ node: e5 }) => e5), u2);
4176 } catch {
4177 return [];
4178 }
4179 return n3;
4180 })), s2 = new j((t3) => {
4181 for (let n3 of Ct(t3)) e3.markUsedVariable(n3);
4182 });
4183 function c2(e4) {
4184 let n3 = [];
4185 for (let r3 of e4) {
4186 let e5 = true, { astNodes: i3 } = _a([r3], u2, { onInvalidCandidate() {
4187 e5 = false;
4188 } });
4189 t2 && I(i3, (e6) => (e6.src ?? (e6.src = t2), F.Continue)), i3 = Ot(i3, u2, 0), n3.push(e5 ? i3 : []);
4190 }
4191 return n3;
4192 }
4193 function l2(e4) {
4194 return c2(e4).map((e5) => e5.length > 0 ? U(e5) : null);
4195 }
4196 let u2 = { theme: e3, utilities: n2, variants: r2, invalidCandidates: /* @__PURE__ */ new Set(), important: false, candidatesToCss: l2, candidatesToAst: c2, getClassOrder(e4) {
4197 return sa(this, e4);
4198 }, getClassList() {
4199 return ia(this);
4200 }, getVariants() {
4201 return oa(this);
4202 }, parseCandidate(e4) {
4203 return a2.get(e4);
4204 }, parseVariant(e4) {
4205 return i2.get(e4);
4206 }, compileAstNodes(e4, t3 = 1) {
4207 return o2.get(t3).get(e4);
4208 }, printCandidate(e4) {
4209 return Yt(u2, e4);
4210 }, printVariant(e4) {
4211 return Zt(e4);
4212 }, getVariantOrder() {
4213 let e4 = Array.from(i2.values());
4214 e4.sort((e5, t4) => this.variants.compare(e5, t4));
4215 let t3 = /* @__PURE__ */ new Map(), n3, r3 = 0;
4216 for (let i3 of e4) i3 !== null && (n3 !== void 0 && this.variants.compare(n3, i3) !== 0 && r3++, t3.set(i3, r3), n3 = i3);
4217 return t3;
4218 }, resolveThemeValue(t3, n3 = true) {
4219 let r3 = t3.lastIndexOf(`/`), i3 = null;
4220 r3 !== -1 && (i3 = t3.slice(r3 + 1).trim(), t3 = t3.slice(0, r3).trim());
4221 let a3 = e3.resolve(null, [t3], +!!n3) ?? void 0;
4222 return i3 && a3 ? G(a3, i3) : a3;
4223 }, trackUsedVariables(e4) {
4224 s2.get(e4);
4225 }, canonicalizeCandidates(e4, t3) {
4226 return ei(this, e4, t3);
4227 }, storage: {} };
4228 return u2;
4229 }
4230 var ga = `container-type.pointer-events.visibility.position.inset.inset-inline.inset-block.inset-inline-start.inset-inline-end.inset-block-start.inset-block-end.top.right.bottom.left.isolation.z-index.order.grid-column.grid-column-start.grid-column-end.grid-row.grid-row-start.grid-row-end.float.clear.--tw-container-component.margin.margin-inline.margin-block.margin-inline-start.margin-inline-end.margin-block-start.margin-block-end.margin-top.margin-right.margin-bottom.margin-left.box-sizing.display.field-sizing.aspect-ratio.height.max-height.min-height.width.max-width.min-width.flex.flex-shrink.flex-grow.flex-basis.table-layout.caption-side.border-collapse.border-spacing.transform-origin.translate.--tw-translate-x.--tw-translate-y.--tw-translate-z.scale.--tw-scale-x.--tw-scale-y.--tw-scale-z.rotate.--tw-rotate-x.--tw-rotate-y.--tw-rotate-z.--tw-skew-x.--tw-skew-y.transform.animation.cursor.touch-action.--tw-pan-x.--tw-pan-y.--tw-pinch-zoom.resize.scroll-snap-type.--tw-scroll-snap-strictness.scroll-snap-align.scroll-snap-stop.scroll-margin.scroll-margin-inline.scroll-margin-block.scroll-margin-inline-start.scroll-margin-inline-end.scroll-margin-block-start.scroll-margin-block-end.scroll-margin-top.scroll-margin-right.scroll-margin-bottom.scroll-margin-left.scroll-padding.scroll-padding-inline.scroll-padding-block.scroll-padding-inline-start.scroll-padding-inline-end.scroll-padding-block-start.scroll-padding-block-end.scroll-padding-top.scroll-padding-right.scroll-padding-bottom.scroll-padding-left.list-style-position.list-style-type.list-style-image.appearance.columns.break-before.break-inside.break-after.grid-auto-columns.grid-auto-flow.grid-auto-rows.grid-template-columns.grid-template-rows.flex-direction.flex-wrap.place-content.place-items.align-content.align-items.justify-content.justify-items.gap.column-gap.row-gap.--tw-space-x-reverse.--tw-space-y-reverse.divide-x-width.divide-y-width.--tw-divide-y-reverse.divide-style.divide-color.place-self.align-self.justify-self.overflow.overflow-x.overflow-y.overscroll-behavior.overscroll-behavior-x.overscroll-behavior-y.scroll-behavior.border-radius.border-start-radius.border-end-radius.border-top-radius.border-right-radius.border-bottom-radius.border-left-radius.border-start-start-radius.border-start-end-radius.border-end-end-radius.border-end-start-radius.border-top-left-radius.border-top-right-radius.border-bottom-right-radius.border-bottom-left-radius.border-width.border-inline-width.border-block-width.border-inline-start-width.border-inline-end-width.border-block-start-width.border-block-end-width.border-top-width.border-right-width.border-bottom-width.border-left-width.border-style.border-inline-style.border-block-style.border-inline-start-style.border-inline-end-style.border-block-start-style.border-block-end-style.border-top-style.border-right-style.border-bottom-style.border-left-style.border-color.border-inline-color.border-block-color.border-inline-start-color.border-inline-end-color.border-block-start-color.border-block-end-color.border-top-color.border-right-color.border-bottom-color.border-left-color.background-color.background-image.--tw-gradient-position.--tw-gradient-stops.--tw-gradient-via-stops.--tw-gradient-from.--tw-gradient-from-position.--tw-gradient-via.--tw-gradient-via-position.--tw-gradient-to.--tw-gradient-to-position.mask-image.--tw-mask-top.--tw-mask-top-from-color.--tw-mask-top-from-position.--tw-mask-top-to-color.--tw-mask-top-to-position.--tw-mask-right.--tw-mask-right-from-color.--tw-mask-right-from-position.--tw-mask-right-to-color.--tw-mask-right-to-position.--tw-mask-bottom.--tw-mask-bottom-from-color.--tw-mask-bottom-from-position.--tw-mask-bottom-to-color.--tw-mask-bottom-to-position.--tw-mask-left.--tw-mask-left-from-color.--tw-mask-left-from-position.--tw-mask-left-to-color.--tw-mask-left-to-position.--tw-mask-linear.--tw-mask-linear-position.--tw-mask-linear-from-color.--tw-mask-linear-from-position.--tw-mask-linear-to-color.--tw-mask-linear-to-position.--tw-mask-radial.--tw-mask-radial-shape.--tw-mask-radial-size.--tw-mask-radial-position.--tw-mask-radial-from-color.--tw-mask-radial-from-position.--tw-mask-radial-to-color.--tw-mask-radial-to-position.--tw-mask-conic.--tw-mask-conic-position.--tw-mask-conic-from-color.--tw-mask-conic-from-position.--tw-mask-conic-to-color.--tw-mask-conic-to-position.box-decoration-break.background-size.background-attachment.background-clip.background-position.background-repeat.background-origin.mask-composite.mask-mode.mask-type.mask-size.mask-clip.mask-position.mask-repeat.mask-origin.fill.stroke.stroke-width.object-fit.object-position.padding.padding-inline.padding-block.padding-inline-start.padding-inline-end.padding-block-start.padding-block-end.padding-top.padding-right.padding-bottom.padding-left.text-align.text-indent.vertical-align.font-family.font-feature-settings.font-size.line-height.font-weight.letter-spacing.text-wrap.overflow-wrap.word-break.text-overflow.hyphens.white-space.color.text-transform.font-style.font-stretch.font-variant-numeric.text-decoration-line.text-decoration-color.text-decoration-style.text-decoration-thickness.text-underline-offset.-webkit-font-smoothing.placeholder-color.caret-color.accent-color.color-scheme.opacity.background-blend-mode.mix-blend-mode.box-shadow.--tw-shadow.--tw-shadow-color.--tw-ring-shadow.--tw-ring-color.--tw-inset-shadow.--tw-inset-shadow-color.--tw-inset-ring-shadow.--tw-inset-ring-color.--tw-ring-offset-width.--tw-ring-offset-color.outline.outline-width.outline-offset.outline-color.--tw-blur.--tw-brightness.--tw-contrast.--tw-drop-shadow.--tw-grayscale.--tw-hue-rotate.--tw-invert.--tw-saturate.--tw-sepia.filter.--tw-backdrop-blur.--tw-backdrop-brightness.--tw-backdrop-contrast.--tw-backdrop-grayscale.--tw-backdrop-hue-rotate.--tw-backdrop-invert.--tw-backdrop-opacity.--tw-backdrop-saturate.--tw-backdrop-sepia.backdrop-filter.transition-property.transition-behavior.transition-delay.transition-duration.transition-timing-function.will-change.contain.content.forced-color-adjust`.split(`.`);
4231 function _a(e3, t2, { onInvalidCandidate: n2, respectImportant: r2 } = {}) {
4232 let i2 = /* @__PURE__ */ new Map(), a2 = [], o2 = /* @__PURE__ */ new Map();
4233 for (let r3 of e3) {
4234 if (t2.invalidCandidates.has(r3)) {
4235 n2?.(r3);
4236 continue;
4237 }
4238 let e4 = t2.parseCandidate(r3);
4239 if (e4.length === 0) {
4240 n2?.(r3);
4241 continue;
4242 }
4243 o2.set(r3, e4);
4244 }
4245 let s2 = 0;
4246 (r2 ?? true) && (s2 |= 1);
4247 let c2 = t2.getVariantOrder();
4248 for (let [e4, r3] of o2) {
4249 let o3 = false;
4250 for (let n3 of r3) {
4251 let r4 = t2.compileAstNodes(n3, s2);
4252 if (r4.length !== 0) {
4253 o3 = true;
4254 for (let { node: t3, propertySort: o4 } of r4) {
4255 let r5 = 0n;
4256 for (let e5 of n3.variants) r5 |= 1n << BigInt(c2.get(e5));
4257 i2.set(t3, { properties: o4, variants: r5, candidate: e4 }), a2.push(t3);
4258 }
4259 }
4260 }
4261 o3 || n2?.(e4);
4262 }
4263 return a2.sort((e4, t3) => {
4264 let n3 = i2.get(e4), r3 = i2.get(t3);
4265 if (n3.variants - r3.variants !== 0n) return Number(n3.variants - r3.variants);
4266 let a3 = 0;
4267 for (; a3 < n3.properties.order.length && a3 < r3.properties.order.length && n3.properties.order[a3] === r3.properties.order[a3]; ) a3 += 1;
4268 return (n3.properties.order[a3] ?? 1 / 0) - (r3.properties.order[a3] ?? 1 / 0) || r3.properties.count - n3.properties.count || Kn(n3.candidate, r3.candidate);
4269 }), { astNodes: a2, nodeSorting: i2 };
4270 }
4271 function va(e3, t2, n2) {
4272 let r2 = xa(e3, t2);
4273 if (r2.length === 0) return [];
4274 let i2 = t2.important && !!(n2 & 1), a2 = [], o2 = `.${et(e3.raw)}`;
4275 for (let n3 of r2) {
4276 let r3 = Ca(n3);
4277 (e3.important || i2) && Sa(n3);
4278 let s2 = { kind: `rule`, selector: o2, nodes: n3 };
4279 for (let n4 of e3.variants) if (ya(s2, n4, t2.variants) === null) return [];
4280 a2.push({ node: s2, propertySort: r3 });
4281 }
4282 return a2;
4283 }
4284 function ya(e3, t2, n2, r2 = 0) {
4285 if (t2.kind === `arbitrary`) {
4286 if (t2.relative && r2 === 0) return null;
4287 e3.nodes = [z(t2.selector, e3.nodes)];
4288 return;
4289 }
4290 let { applyFn: i2 } = n2.get(t2.root);
4291 if (t2.kind === `compound`) {
4292 let a2 = R(`@slot`);
4293 if (ya(a2, t2.variant, n2, r2 + 1) === null || t2.root === `not` && a2.nodes.length > 1) return null;
4294 for (let e4 of a2.nodes) if (e4.kind !== `rule` && e4.kind !== `at-rule` || i2(e4, t2) === null) return null;
4295 I(a2.nodes, (t3) => {
4296 if ((t3.kind === `rule` || t3.kind === `at-rule`) && t3.nodes.length <= 0) return t3.nodes = e3.nodes, F.Skip;
4297 }), e3.nodes = a2.nodes;
4298 return;
4299 }
4300 if (i2(e3, t2) === null) return null;
4301 }
4302 function ba(e3) {
4303 let t2 = e3.options?.types ?? [];
4304 return t2.length > 1 && t2.includes(`any`);
4305 }
4306 function xa(e3, t2) {
4307 if (e3.kind === `arbitrary`) {
4308 let n3 = e3.value;
4309 return e3.modifier && (n3 = K(n3, e3.modifier, t2.theme)), n3 === null ? [] : [[B(e3.property, n3)]];
4310 }
4311 let n2 = t2.utilities.get(e3.root) ?? [], r2 = [], i2 = n2.filter((e4) => !ba(e4));
4312 for (let t3 of i2) {
4313 if (t3.kind !== e3.kind) continue;
4314 let n3 = t3.compileFn(e3);
4315 if (n3 !== void 0) {
4316 if (n3 === null) return r2;
4317 r2.push(n3);
4318 }
4319 }
4320 if (r2.length > 0) return r2;
4321 let a2 = n2.filter((e4) => ba(e4));
4322 for (let t3 of a2) {
4323 if (t3.kind !== e3.kind) continue;
4324 let n3 = t3.compileFn(e3);
4325 if (n3 !== void 0) {
4326 if (n3 === null) return r2;
4327 r2.push(n3);
4328 }
4329 }
4330 return r2;
4331 }
4332 function Sa(e3) {
4333 for (let t2 of e3) t2.kind !== `at-root` && (t2.kind === `declaration` ? t2.important = true : (t2.kind === `rule` || t2.kind === `at-rule`) && Sa(t2.nodes));
4334 }
4335 function Ca(e3) {
4336 let t2 = /* @__PURE__ */ new Set(), n2 = 0, r2 = e3.slice(), i2 = false;
4337 for (; r2.length > 0; ) {
4338 let e4 = r2.shift();
4339 if (e4.kind === `declaration`) {
4340 if (e4.value === void 0 || (n2++, i2)) continue;
4341 if (e4.property === `--tw-sort`) {
4342 let n3 = ga.indexOf(e4.value ?? ``);
4343 if (n3 !== -1) {
4344 t2.add(n3), i2 = true;
4345 continue;
4346 }
4347 }
4348 let r3 = ga.indexOf(e4.property);
4349 r3 !== -1 && t2.add(r3);
4350 } else if (e4.kind === `rule` || e4.kind === `at-rule`) for (let t3 of e4.nodes) r2.push(t3);
4351 }
4352 return { order: Array.from(t2).sort((e4, t3) => e4 - t3), count: n2 };
4353 }
4354 function wa(e3, t2) {
4355 let n2 = 0, r2 = z(`&`, e3), i2 = /* @__PURE__ */ new Set(), a2 = new j(() => /* @__PURE__ */ new Set()), o2 = new j(() => /* @__PURE__ */ new Set());
4356 I([r2], (e4, r3) => {
4357 if (e4.kind === `at-rule`) {
4358 if (e4.name === `@keyframes`) return I(e4.nodes, (e5) => {
4359 if (e5.kind === `at-rule` && e5.name === `@apply`) throw Error("You cannot use `@apply` inside `@keyframes`.");
4360 }), F.Skip;
4361 if (e4.name === `@utility`) {
4362 let n3 = e4.params.replace(/-\*$/, ``);
4363 o2.get(n3).add(e4), I(e4.nodes, (n4) => {
4364 if (!(n4.kind !== `at-rule` || n4.name !== `@apply`)) {
4365 i2.add(e4);
4366 for (let r4 of Ta(n4, t2)) a2.get(e4).add(r4);
4367 }
4368 });
4369 return;
4370 }
4371 if (e4.name === `@apply`) {
4372 if (r3.parent === null) return;
4373 n2 |= 1, i2.add(r3.parent);
4374 for (let n3 of Ta(e4, t2)) for (let e5 of r3.path()) i2.has(e5) && a2.get(e5).add(n3);
4375 }
4376 }
4377 });
4378 let s2 = /* @__PURE__ */ new Set(), c2 = [], l2 = /* @__PURE__ */ new Set();
4379 function u2(e4, n3 = []) {
4380 if (!s2.has(e4)) {
4381 if (l2.has(e4)) {
4382 let r3 = n3[(n3.indexOf(e4) + 1) % n3.length];
4383 throw e4.kind === `at-rule` && e4.name === `@utility` && r3.kind === `at-rule` && r3.name === `@utility` && I(e4.nodes, (e5) => {
4384 if (e5.kind !== `at-rule` || e5.name !== `@apply`) return;
4385 let n4 = e5.params.split(/\s+/g);
4386 for (let e6 of n4) for (let n5 of t2.parseCandidate(e6)) switch (n5.kind) {
4387 case `arbitrary`:
4388 break;
4389 case `static`:
4390 case `functional`:
4391 if (r3.params.replace(/-\*$/, ``) === n5.root) throw Error(`You cannot \`@apply\` the \`${e6}\` utility here because it creates a circular dependency.`);
4392 break;
4393 default:
4394 }
4395 }), Error(`Circular dependency detected:
4396
4397 ${U([e4])}
4398 Relies on:
4399
4400 ${U([r3])}`);
4401 }
4402 l2.add(e4);
4403 for (let t3 of a2.get(e4)) for (let r3 of o2.get(t3)) n3.push(e4), u2(r3, n3), n3.pop();
4404 s2.add(e4), l2.delete(e4), c2.push(e4);
4405 }
4406 }
4407 for (let e4 of i2) u2(e4);
4408 for (let e4 of c2) `nodes` in e4 && I(e4.nodes, (e5) => {
4409 if (e5.kind !== `at-rule` || e5.name !== `@apply`) return;
4410 let n3 = e5.params.split(/(\s+)/g), r3 = {}, i3 = 0;
4411 for (let [e6, t3] of n3.entries()) e6 % 2 == 0 && (r3[t3] = i3), i3 += t3.length;
4412 {
4413 let n4 = _a(Object.keys(r3), t2, { respectImportant: false, onInvalidCandidate: (e6) => {
4414 if (t2.theme.prefix && !e6.startsWith(t2.theme.prefix)) throw Error(`Cannot apply unprefixed utility class \`${e6}\`. Did you mean \`${t2.theme.prefix}:${e6}\`?`);
4415 if (t2.invalidCandidates.has(e6)) throw Error(`Cannot apply utility class \`${e6}\` because it has been explicitly disabled: https://tailwindcss.com/docs/detecting-classes-in-source-files#explicitly-excluding-classes`);
4416 let n5 = g(e6, `:`);
4417 if (n5.length > 1) {
4418 let r4 = n5.pop();
4419 if (t2.candidatesToCss([r4])[0]) {
4420 let r5 = t2.candidatesToCss(n5.map((e7) => `${e7}:[--tw-variant-check:1]`)), i5 = n5.filter((e7, t3) => r5[t3] === null);
4421 if (i5.length > 0) {
4422 if (i5.length === 1) throw Error(`Cannot apply utility class \`${e6}\` because the ${i5.map((e7) => `\`${e7}\``)} variant does not exist.`);
4423 {
4424 let t3 = new Intl.ListFormat(`en`, { style: `long`, type: `conjunction` });
4425 throw Error(`Cannot apply utility class \`${e6}\` because the ${t3.format(i5.map((e7) => `\`${e7}\``))} variants do not exist.`);
4426 }
4427 }
4428 }
4429 }
4430 throw t2.theme.size === 0 ? Error(`Cannot apply unknown utility class \`${e6}\`. Are you using CSS modules or similar and missing \`@reference\`? https://tailwindcss.com/docs/functions-and-directives#reference-directive`) : Error(`Cannot apply unknown utility class \`${e6}\``);
4431 } }), i4 = e5.src, a3 = n4.astNodes.map((e6) => {
4432 let t3 = n4.nodeSorting.get(e6)?.candidate, a4 = t3 ? r3[t3] : void 0;
4433 if (e6 = H(e6), !i4 || !t3 || a4 === void 0) return I([e6], (e7) => {
4434 e7.src = i4;
4435 }), e6;
4436 let o4 = [i4[0], i4[1], i4[2]];
4437 return o4[1] += 7 + a4, o4[2] = o4[1] + t3.length, I([e6], (e7) => {
4438 e7.src = o4;
4439 }), e6;
4440 }), o3 = [];
4441 for (let e6 of a3) if (e6.kind === `rule`) for (let t3 of e6.nodes) o3.push(t3);
4442 else o3.push(e6);
4443 return F.Replace(o3);
4444 }
4445 });
4446 return n2;
4447 }
4448 function* Ta(e3, t2) {
4449 for (let n2 of e3.params.split(/\s+/g)) for (let e4 of t2.parseCandidate(n2)) switch (e4.kind) {
4450 case `arbitrary`:
4451 break;
4452 case `static`:
4453 case `functional`:
4454 yield e4.root;
4455 break;
4456 default:
4457 }
4458 }
4459 async function Ea(e3, t2, n2, r2 = 0, i2 = false) {
4460 let a2 = 0, o2 = [];
4461 return I(e3, (e4) => {
4462 if (e4.kind === `at-rule` && (e4.name === `@import` || e4.name === `@reference`)) {
4463 let s2 = Da(P(e4.params));
4464 if (s2 === null) return;
4465 e4.name === `@reference` && (s2.media = `reference`), a2 |= 2;
4466 let { uri: c2, layer: l2, media: u2, supports: d2 } = s2;
4467 if (c2.startsWith(`data:`) || c2.startsWith(`http://`) || c2.startsWith(`https://`)) return;
4468 let f2 = Et({}, []);
4469 return o2.push((async () => {
4470 if (r2 > 100) throw Error(`Exceeded maximum recursion depth while resolving \`${c2}\` in \`${t2}\`)`);
4471 let a3 = await n2(c2, t2), o3 = Xe(a3.content, { from: i2 ? a3.path : void 0 });
4472 await Ea(o3, a3.base, n2, r2 + 1, i2), f2.nodes = Oa(e4, [Et({ base: a3.base }, o3)], l2, u2, d2);
4473 })()), F.ReplaceSkip(f2);
4474 }
4475 }), o2.length > 0 && await Promise.all(o2), a2;
4476 }
4477 function Da(e3) {
4478 let t2, n2 = null, r2 = null, i2 = null;
4479 for (let a2 = 0; a2 < e3.length; a2++) {
4480 let o2 = e3[a2];
4481 if (o2.kind !== `separator`) {
4482 if (o2.kind === `word` && !t2) {
4483 if (!o2.value || o2.value[0] !== `"` && o2.value[0] !== `'`) return null;
4484 t2 = o2.value.slice(1, -1);
4485 continue;
4486 }
4487 if (o2.kind === `function` && o2.value.toLowerCase() === `url` || !t2) return null;
4488 if ((o2.kind === `word` || o2.kind === `function`) && o2.value.toLowerCase() === `layer`) {
4489 if (n2) return null;
4490 if (i2) throw Error("`layer(\u2026)` in an `@import` should come before any other functions or conditions");
4491 n2 = `nodes` in o2 ? N(o2.nodes) : ``;
4492 continue;
4493 }
4494 if (o2.kind === `function` && o2.value.toLowerCase() === `supports`) {
4495 if (i2) return null;
4496 i2 = N(o2.nodes);
4497 continue;
4498 }
4499 r2 = N(e3.slice(a2));
4500 break;
4501 }
4502 }
4503 return t2 ? { uri: t2, layer: n2, media: r2, supports: i2 } : null;
4504 }
4505 function Oa(e3, t2, n2, r2, i2) {
4506 let a2 = t2;
4507 if (n2 !== null) {
4508 let t3 = R(`@layer`, n2, a2);
4509 t3.src = e3.src, a2 = [t3];
4510 }
4511 if (r2 !== null) {
4512 let t3 = R(`@media`, r2, a2);
4513 t3.src = e3.src, a2 = [t3];
4514 }
4515 if (i2 !== null) {
4516 let t3 = R(`@supports`, i2[0] === `(` ? i2 : `(${i2})`, a2);
4517 t3.src = e3.src, a2 = [t3];
4518 }
4519 return a2;
4520 }
4521 function ka(e3) {
4522 if (Object.prototype.toString.call(e3) !== `[object Object]`) return false;
4523 let t2 = Object.getPrototypeOf(e3);
4524 return t2 === null || Object.getPrototypeOf(t2) === null;
4525 }
4526 function Aa(e3, t2, n2, r2 = []) {
4527 for (let i2 of t2) if (i2 != null) for (let t3 of Reflect.ownKeys(i2)) {
4528 r2.push(t3);
4529 let a2 = n2(e3[t3], i2[t3], r2);
4530 a2 === void 0 ? !ka(e3[t3]) || !ka(i2[t3]) ? e3[t3] = i2[t3] : e3[t3] = Aa({}, [e3[t3], i2[t3]], n2, r2) : e3[t3] = a2, r2.pop();
4531 }
4532 return e3;
4533 }
4534 function ja(e3, t2, n2) {
4535 return function(r2, i2) {
4536 let a2 = r2.lastIndexOf(`/`), o2 = null;
4537 a2 !== -1 && (o2 = r2.slice(a2 + 1).trim(), r2 = r2.slice(0, a2).trim());
4538 let s2 = (() => {
4539 let i3 = Wr(r2), [a3, o3] = Ma(e3.theme, i3), s3 = n2(Na(t2() ?? {}, i3) ?? null);
4540 if (typeof s3 == `string` && (s3 = s3.replace(`<alpha-value>`, `1`)), typeof a3 != `object`) return typeof o3 != `object` && o3 & 4 ? s3 ?? a3 : a3;
4541 if (typeof s3 == `object` && s3 && !Array.isArray(s3)) {
4542 let e4 = Aa({}, [s3], (e5, t3) => t3);
4543 if (a3 === null && Object.hasOwn(s3, `__CSS_VALUES__`)) {
4544 let t3 = {};
4545 for (let n3 in s3.__CSS_VALUES__) t3[n3] = s3[n3], delete e4[n3];
4546 a3 = t3;
4547 }
4548 for (let t3 in a3) t3 !== `__CSS_VALUES__` && (s3?.__CSS_VALUES__?.[t3] & 4 && Na(e4, t3.split(`-`)) !== void 0 || (e4[tt(t3)] = a3[t3]));
4549 return e4;
4550 }
4551 if (Array.isArray(a3) && Array.isArray(o3) && Array.isArray(s3)) {
4552 let e4 = a3[0], t3 = a3[1];
4553 o3[0] & 4 && (e4 = s3[0] ?? e4);
4554 for (let e5 of Object.keys(t3)) o3[1][e5] & 4 && (t3[e5] = s3[1][e5] ?? t3[e5]);
4555 return [e4, t3];
4556 }
4557 return a3 ?? s3;
4558 })();
4559 return o2 && typeof s2 == `string` && (s2 = G(s2, o2)), s2 ?? i2;
4560 };
4561 }
4562 function Ma(e3, t2) {
4563 if (t2.length === 1 && t2[0].startsWith(`--`)) return [e3.get([t2[0]]), e3.getOptions(t2[0])];
4564 let n2 = ar(t2), r2 = /* @__PURE__ */ new Map(), i2 = new j(() => /* @__PURE__ */ new Map()), a2 = e3.namespace(`--${n2}`);
4565 if (a2.size === 0) return [null, 0];
4566 let o2 = /* @__PURE__ */ new Map();
4567 for (let [t3, s3] of a2) {
4568 if (!t3 || !t3.includes(`--`)) {
4569 r2.set(t3, s3), o2.set(t3, e3.getOptions(t3 ? `--${n2}-${t3}` : `--${n2}`));
4570 continue;
4571 }
4572 let a3 = t3.indexOf(`--`), c3 = t3.slice(0, a3), l3 = t3.slice(a3 + 2);
4573 l3 = l3.replace(/-([a-z])/g, (e4, t4) => t4.toUpperCase()), i2.get(c3 === `` ? null : c3).set(l3, [s3, e3.getOptions(`--${n2}${t3}`)]);
4574 }
4575 let s2 = e3.getOptions(`--${n2}`);
4576 for (let [e4, t3] of i2) {
4577 let n3 = r2.get(e4);
4578 if (typeof n3 != `string`) continue;
4579 let i3 = {}, a3 = {};
4580 for (let [e5, [n4, r3]] of t3) i3[e5] = n4, a3[e5] = r3;
4581 r2.set(e4, [n3, i3]), o2.set(e4, [s2, a3]);
4582 }
4583 let c2 = {}, l2 = {};
4584 for (let [e4, t3] of r2) Pa(c2, [e4 ?? `DEFAULT`], t3);
4585 for (let [e4, t3] of o2) Pa(l2, [e4 ?? `DEFAULT`], t3);
4586 return t2[t2.length - 1] === `DEFAULT` ? [c2?.DEFAULT ?? null, l2.DEFAULT ?? 0] : `DEFAULT` in c2 && Object.keys(c2).length === 1 ? [c2.DEFAULT, l2.DEFAULT ?? 0] : (c2.__CSS_VALUES__ = l2, [c2, l2]);
4587 }
4588 function Na(e3, t2) {
4589 for (let n2 = 0; n2 < t2.length; ++n2) {
4590 let r2 = t2[n2];
4591 if (typeof e3 != `object` || !e3 || !Object.hasOwn(e3, r2)) {
4592 if (t2[n2 + 1] === void 0) return;
4593 t2[n2 + 1] = `${r2}-${t2[n2 + 1]}`;
4594 continue;
4595 }
4596 e3 = e3[r2];
4597 }
4598 return e3;
4599 }
4600 function Pa(e3, t2, n2) {
4601 for (let n3 of t2.slice(0, -1)) e3[n3] === void 0 && (e3[n3] = {}), e3 = e3[n3];
4602 e3[t2[t2.length - 1]] = n2;
4603 }
4604 var Fa = /^[a-z@][a-zA-Z0-9/%._-]*$/;
4605 function Ia({ designSystem: e3, ast: t2, resolvedConfig: n2, featuresRef: r2, referenceMode: i2, src: a2 }) {
4606 let o2 = { addBase(n3) {
4607 if (i2) return;
4608 let o3 = La(n3);
4609 r2.current |= Hn(o3, e3);
4610 let s2 = R(`@layer`, `base`, o3);
4611 I([s2], (e4) => {
4612 e4.src = a2;
4613 }), t2.push(s2);
4614 }, addVariant(t3, n3) {
4615 if (!ca.test(t3)) throw Error(`\`addVariant('${t3}')\` defines an invalid variant name. Variants should only contain alphanumeric, dashes, or underscore characters and start with a lowercase letter or number.`);
4616 if (typeof n3 == `string`) {
4617 if (n3.includes(`:merge(`)) return;
4618 } else if (Array.isArray(n3)) {
4619 if (n3.some((e4) => e4.includes(`:merge(`))) return;
4620 } else if (typeof n3 == `object`) {
4621 let e4 = function(t4, n4) {
4622 return Object.entries(t4).some(([t5, r3]) => t5.includes(n4) || typeof r3 == `object` && e4(r3, n4));
4623 };
4624 if (e4(n3, `:merge(`)) return;
4625 }
4626 typeof n3 == `string` || Array.isArray(n3) ? e3.variants.static(t3, (e4) => {
4627 e4.nodes = Ra(n3, e4.nodes);
4628 }, { compounds: ua(typeof n3 == `string` ? [n3] : n3) }) : typeof n3 == `object` && e3.variants.fromAst(t3, La(n3), e3);
4629 }, matchVariant(t3, n3, r3) {
4630 function i3(e4, t4, r4) {
4631 return Ra(n3(e4, { modifier: t4?.value ?? null }), r4);
4632 }
4633 try {
4634 let e4 = n3(`a`, { modifier: null });
4635 if (typeof e4 == `string` && e4.includes(`:merge(`) || Array.isArray(e4) && e4.some((e5) => e5.includes(`:merge(`))) return;
4636 } catch {
4637 }
4638 let a3 = Object.keys(r3?.values ?? {});
4639 e3.variants.group(() => {
4640 e3.variants.functional(t3, (e4, t4) => {
4641 if (!t4.value) {
4642 if (r3?.values && `DEFAULT` in r3.values) {
4643 e4.nodes = i3(r3.values.DEFAULT, t4.modifier, e4.nodes);
4644 return;
4645 }
4646 return null;
4647 }
4648 if (t4.value.kind === `arbitrary`) e4.nodes = i3(t4.value.value, t4.modifier, e4.nodes);
4649 else if (t4.value.kind === `named` && r3?.values) {
4650 if (!Object.hasOwn(r3.values, t4.value.value)) return null;
4651 let n4 = r3.values[t4.value.value];
4652 if (typeof n4 != `string`) return null;
4653 e4.nodes = i3(n4, t4.modifier, e4.nodes);
4654 } else return null;
4655 });
4656 }, (e4, t4) => {
4657 if (e4.kind !== `functional` || t4.kind !== `functional`) return 0;
4658 let n4 = e4.value ? e4.value.value : `DEFAULT`, i4 = t4.value ? t4.value.value : `DEFAULT`, o3 = (r3?.values && Object.hasOwn(r3.values, n4) ? r3.values[n4] : void 0) ?? n4, s2 = (r3?.values && Object.hasOwn(r3.values, i4) ? r3.values[i4] : void 0) ?? i4;
4659 if (r3 && typeof r3.sort == `function`) return r3.sort({ value: o3, modifier: e4.modifier?.value ?? null }, { value: s2, modifier: t4.modifier?.value ?? null });
4660 let c2 = a3.indexOf(n4), l2 = a3.indexOf(i4);
4661 return c2 = c2 === -1 ? a3.length : c2, l2 = l2 === -1 ? a3.length : l2, c2 === l2 ? o3 < s2 ? -1 : 1 : c2 - l2;
4662 }), e3.variants.suggest(t3, () => Object.keys(r3?.values ?? {}).filter((e4) => e4 !== `DEFAULT`));
4663 }, addUtilities(n3) {
4664 n3 = Array.isArray(n3) ? n3 : [n3];
4665 let o3 = n3.flatMap((e4) => Object.entries(e4));
4666 o3 = o3.flatMap(([e4, t3]) => g(e4, `,`).map((e5) => [e5.trim(), t3]));
4667 let s2 = new j(() => []);
4668 for (let [e4, n4] of o3) {
4669 if (e4.startsWith(`@keyframes `)) {
4670 if (!i2) {
4671 let r4 = z(e4, La(n4));
4672 I([r4], (e5) => {
4673 e5.src = a2;
4674 }), t2.push(r4);
4675 }
4676 continue;
4677 }
4678 let r3 = Ur(e4), o4 = false;
4679 if (I(r3, (e5) => {
4680 if (e5.kind === `selector` && e5.value[0] === `.` && Fa.test(e5.value.slice(1))) {
4681 let t3 = e5.value;
4682 e5.value = `&`;
4683 let i3 = Cr(r3), a3 = t3.slice(1), c2 = i3 === `&` ? La(n4) : [z(i3, La(n4))];
4684 s2.get(a3).push(...c2), o4 = true, e5.value = t3;
4685 return;
4686 }
4687 if (e5.kind === `function` && e5.value === `:not`) return F.Skip;
4688 }), !o4) throw Error(`\`addUtilities({ '${e4}' : \u2026 })\` defines an invalid utility selector. Utilities must be a single class name and start with a lowercase letter, eg. \`.scrollbar-none\`.`);
4689 }
4690 for (let [t3, n4] of s2) e3.theme.prefix && I(n4, (t4) => {
4691 if (t4.kind === `rule`) {
4692 let n5 = Ur(t4.selector);
4693 I(n5, (t5) => {
4694 t5.kind === `selector` && t5.value[0] === `.` && (t5.value = `.${e3.theme.prefix}\\:${t5.value.slice(1)}`);
4695 }), t4.selector = Cr(n5);
4696 }
4697 }), e3.utilities.static(t3, (i3) => {
4698 let a3 = n4.map(H);
4699 return za(a3, t3, i3.raw), r2.current |= wa(a3, e3), a3;
4700 });
4701 }, matchUtilities(t3, n3) {
4702 let i3 = n3?.type ? Array.isArray(n3?.type) ? n3.type : [n3.type] : [`any`];
4703 for (let [a3, o3] of Object.entries(t3)) {
4704 let t4 = function({ negative: t5 }) {
4705 return (s2) => {
4706 if (s2.value?.kind === `arbitrary` && i3.length > 0 && !i3.includes(`any`) && (s2.value.dataType && !i3.includes(s2.value.dataType) || !s2.value.dataType && !v(s2.value.value, i3))) return;
4707 let c2 = i3.includes(`color`), l2 = null, u2 = false;
4708 {
4709 let e4 = n3?.values ?? {};
4710 c2 && (e4 = Object.assign({ inherit: `inherit`, transparent: `transparent`, current: `currentcolor` }, e4)), s2.value ? s2.value.kind === `arbitrary` ? l2 = s2.value.value : s2.value.fraction && Object.hasOwn(e4, s2.value.fraction) ? (l2 = e4[s2.value.fraction], u2 = true) : Object.hasOwn(e4, s2.value.value) ? l2 = e4[s2.value.value] : e4.__BARE_VALUE__ && (l2 = e4.__BARE_VALUE__(s2.value) ?? null, u2 = (s2.value.fraction !== null && l2?.includes(`/`)) ?? false) : l2 = e4.DEFAULT ?? null;
4711 }
4712 if (l2 === null) return;
4713 let d2;
4714 {
4715 let e4 = n3?.modifiers ?? null;
4716 d2 = s2.modifier ? e4 === `any` || s2.modifier.kind === `arbitrary` ? s2.modifier.value : e4 && Object.hasOwn(e4, s2.modifier.value) ? e4[s2.modifier.value] : c2 && !Number.isNaN(Number(s2.modifier.value)) ? `${s2.modifier.value}%` : null : null;
4717 }
4718 if (s2.modifier && d2 === null && !u2) return s2.value?.kind === `arbitrary` ? null : void 0;
4719 c2 && d2 !== null && (l2 = G(l2, d2)), t5 && (l2 = `calc(${l2} * -1)`);
4720 let f2 = La(o3(l2, { modifier: d2 }));
4721 return za(f2, a3, s2.raw), r2.current |= wa(f2, e3), f2;
4722 };
4723 };
4724 if (!Fa.test(a3)) throw Error(`\`matchUtilities({ '${a3}' : \u2026 })\` defines an invalid utility name. Utilities should be alphanumeric and start with a lowercase letter, eg. \`scrollbar\`.`);
4725 n3?.supportsNegativeValues && e3.utilities.functional(`-${a3}`, t4({ negative: true }), { types: i3 }), e3.utilities.functional(a3, t4({ negative: false }), { types: i3 }), e3.utilities.suggest(a3, () => {
4726 let e4 = n3?.values ?? {}, t5 = new Set(Object.keys(e4));
4727 t5.delete(`__BARE_VALUE__`), t5.delete(`__CSS_VALUES__`), t5.has(`DEFAULT`) && (t5.delete(`DEFAULT`), t5.add(null));
4728 let r3 = n3?.modifiers ?? {}, i4 = r3 === `any` ? [] : Object.keys(r3);
4729 return [{ supportsNegative: n3?.supportsNegativeValues ?? false, values: Array.from(t5), modifiers: i4 }];
4730 });
4731 }
4732 }, addComponents(e4, t3) {
4733 this.addUtilities(e4, t3);
4734 }, matchComponents(e4, t3) {
4735 this.matchUtilities(e4, t3);
4736 }, theme: ja(e3, () => n2.theme ?? {}, (e4) => e4), prefix(e4) {
4737 return e4;
4738 }, config(e4, t3) {
4739 let r3 = n2;
4740 if (!e4) return r3;
4741 let i3 = Wr(e4);
4742 for (let e5 = 0; e5 < i3.length; ++e5) {
4743 let n3 = i3[e5];
4744 if (r3[n3] === void 0) return t3;
4745 r3 = r3[n3];
4746 }
4747 return r3 ?? t3;
4748 } };
4749 return o2.addComponents = o2.addComponents.bind(o2), o2.matchComponents = o2.matchComponents.bind(o2), o2;
4750 }
4751 function La(e3) {
4752 let t2 = [];
4753 e3 = Array.isArray(e3) ? e3 : [e3];
4754 let n2 = e3.flatMap((e4) => Object.entries(e4));
4755 for (let [e4, r2] of n2) if (r2 != null && r2 !== false) if (typeof r2 != `object`) {
4756 if (!e4.startsWith(`--`)) {
4757 if (r2 === `@slot`) {
4758 t2.push(z(e4, [R(`@slot`)]));
4759 continue;
4760 }
4761 e4 = e4.replace(/([A-Z])/g, `-$1`).toLowerCase();
4762 }
4763 t2.push(B(e4, String(r2)));
4764 } else if (Array.isArray(r2)) for (let n3 of r2) typeof n3 == `string` ? t2.push(B(e4, n3)) : t2.push(z(e4, La(n3)));
4765 else t2.push(z(e4, La(r2)));
4766 return t2;
4767 }
4768 function Ra(e3, t2) {
4769 return (typeof e3 == `string` ? [e3] : e3).flatMap((e4) => {
4770 if (e4.trim().endsWith(`}`)) {
4771 let n2 = Xe(e4.replace(`}`, `{@slot}}`));
4772 return pa(n2, t2), n2;
4773 } else return z(e4, t2);
4774 });
4775 }
4776 function za(e3, t2, n2) {
4777 I(e3, (e4) => {
4778 if (e4.kind === `rule`) {
4779 let r2 = Ur(e4.selector);
4780 I(r2, (e5) => {
4781 e5.kind === `selector` && e5.value === `.${t2}` && (e5.value = `.${et(n2)}`);
4782 }), e4.selector = Cr(r2);
4783 }
4784 });
4785 }
4786 function Ba(e3, t2) {
4787 for (let n2 of Va(t2)) e3.theme.addKeyframes(n2);
4788 }
4789 function Va(e3) {
4790 let t2 = [];
4791 if (`keyframes` in e3.theme) for (let [n2, r2] of Object.entries(e3.theme.keyframes)) t2.push(R(`@keyframes`, n2, La(r2)));
4792 return t2;
4793 }
4794 function Ha(e3) {
4795 return { theme: { ...De, colors: ({ theme: e4 }) => e4(`color`, {}), extend: { fontSize: ({ theme: e4 }) => ({ ...e4(`text`, {}) }), boxShadow: ({ theme: e4 }) => ({ ...e4(`shadow`, {}) }), animation: ({ theme: e4 }) => ({ ...e4(`animate`, {}) }), aspectRatio: ({ theme: e4 }) => ({ ...e4(`aspect`, {}) }), borderRadius: ({ theme: e4 }) => ({ ...e4(`radius`, {}) }), screens: ({ theme: e4 }) => ({ ...e4(`breakpoint`, {}) }), letterSpacing: ({ theme: e4 }) => ({ ...e4(`tracking`, {}) }), lineHeight: ({ theme: e4 }) => ({ ...e4(`leading`, {}) }), transitionDuration: { DEFAULT: e3.get([`--default-transition-duration`]) ?? null }, transitionTimingFunction: { DEFAULT: e3.get([`--default-transition-timing-function`]) ?? null }, maxWidth: ({ theme: e4 }) => ({ ...e4(`container`, {}) }) } } };
4796 }
4797 var Ua = { blocklist: [], future: {}, experimental: {}, prefix: ``, important: false, darkMode: null, theme: {}, plugins: [], content: { files: [] } };
4798 function Wa(e3, t2) {
4799 let n2 = { design: e3, configs: [], plugins: [], content: { files: [] }, theme: {}, extend: {}, result: structuredClone(Ua) };
4800 for (let e4 of t2) Ka(n2, e4);
4801 for (let e4 of n2.configs) `darkMode` in e4 && e4.darkMode !== void 0 && (n2.result.darkMode = e4.darkMode ?? null), `prefix` in e4 && e4.prefix !== void 0 && (n2.result.prefix = e4.prefix ?? ``), `blocklist` in e4 && e4.blocklist !== void 0 && (n2.result.blocklist = e4.blocklist ?? []), `important` in e4 && e4.important !== void 0 && (n2.result.important = e4.important ?? false);
4802 let r2 = qa(n2);
4803 return { resolvedConfig: { ...n2.result, content: n2.content, theme: n2.theme, plugins: n2.plugins }, replacedThemeKeys: r2 };
4804 }
4805 function Ga(e3, t2) {
4806 if (Array.isArray(e3) && ka(e3[0])) return e3.concat(t2);
4807 if (Array.isArray(t2) && ka(t2[0]) && ka(e3)) return [e3, ...t2];
4808 if (Array.isArray(t2)) return t2;
4809 }
4810 function Ka(e3, { config: t2, base: n2, path: r2, reference: i2, src: a2 }) {
4811 let o2 = [];
4812 for (let e4 of t2.plugins ?? []) `__isOptionsFunction` in e4 ? o2.push({ ...e4(), reference: i2, src: a2 }) : `handler` in e4 ? o2.push({ ...e4, reference: i2, src: a2 }) : o2.push({ handler: e4, reference: i2, src: a2 });
4813 if (Array.isArray(t2.presets) && t2.presets.length === 0) throw Error("Error in the config file/plugin/preset. An empty preset (`preset: []`) is not currently supported.");
4814 for (let o3 of t2.presets ?? []) Ka(e3, { path: r2, base: n2, config: o3, reference: i2, src: a2 });
4815 for (let t3 of o2) e3.plugins.push(t3), t3.config && Ka(e3, { path: r2, base: n2, config: t3.config, reference: !!t3.reference, src: t3.src ?? a2 });
4816 let s2 = t2.content ?? [], c2 = Array.isArray(s2) ? s2 : s2.files;
4817 for (let t3 of c2) e3.content.files.push(typeof t3 == `object` ? t3 : { base: n2, pattern: t3 });
4818 e3.configs.push(t2);
4819 }
4820 function qa(e3) {
4821 var _a3;
4822 let t2 = /* @__PURE__ */ new Set(), r2 = ja(e3.design, () => e3.theme, a2), i2 = Object.assign(r2, { theme: r2, colors: n });
4823 function a2(e4) {
4824 return typeof e4 == `function` ? e4(i2) ?? null : e4 ?? null;
4825 }
4826 for (let n2 of e3.configs) {
4827 let r3 = n2.theme ?? {}, i3 = r3.extend ?? {};
4828 for (let e4 in r3) e4 !== `extend` && t2.add(e4);
4829 Object.assign(e3.theme, r3);
4830 for (let t3 in i3) (_a3 = e3.extend)[t3] ?? (_a3[t3] = []), e3.extend[t3].push(i3[t3]);
4831 }
4832 delete e3.theme.extend;
4833 for (let t3 in e3.extend) {
4834 let n2 = [e3.theme[t3], ...e3.extend[t3]];
4835 e3.theme[t3] = () => Aa({}, n2.map(a2), Ga);
4836 }
4837 for (let t3 in e3.theme) e3.theme[t3] = a2(e3.theme[t3]);
4838 if (e3.theme.screens && typeof e3.theme.screens == `object`) for (let t3 of Object.keys(e3.theme.screens)) {
4839 let n2 = e3.theme.screens[t3];
4840 n2 && typeof n2 == `object` && (`raw` in n2 || `max` in n2 || `min` in n2 && (e3.theme.screens[t3] = n2.min));
4841 }
4842 return t2;
4843 }
4844 function Ja(e3, t2) {
4845 let n2 = e3.theme.container || {};
4846 if (typeof n2 != `object` || !n2) return;
4847 let r2 = Ya(n2, t2);
4848 r2.length !== 0 && t2.utilities.static(`container`, () => r2.map(H));
4849 }
4850 function Ya({ center: e3, padding: t2, screens: n2 }, r2) {
4851 let i2 = [], a2 = null;
4852 if (e3 && i2.push(B(`margin-inline`, `auto`)), (typeof t2 == `string` || typeof t2 == `object` && t2 && `DEFAULT` in t2) && i2.push(B(`padding-inline`, typeof t2 == `string` ? t2 : t2.DEFAULT)), typeof n2 == `object` && n2) {
4853 a2 = /* @__PURE__ */ new Map();
4854 let e4 = Array.from(r2.theme.namespace(`--breakpoint`).entries());
4855 if (e4.sort((e5, t3) => cn(e5[1], t3[1], `asc`)), e4.length > 0) {
4856 let [t3] = e4[0];
4857 i2.push(R(`@media`, `(width >= --theme(--breakpoint-${t3}))`, [B(`max-width`, `none`)]));
4858 }
4859 for (let [e5, t3] of Object.entries(n2)) {
4860 if (typeof t3 == `object`) if (`min` in t3) t3 = t3.min;
4861 else continue;
4862 a2.set(e5, R(`@media`, `(width >= ${t3})`, [B(`max-width`, t3)]));
4863 }
4864 }
4865 if (typeof t2 == `object` && t2) {
4866 let e4 = Object.entries(t2).filter(([e5]) => e5 !== `DEFAULT`).map(([e5, t3]) => [e5, r2.theme.resolveValue(e5, [`--breakpoint`]), t3]).filter(Boolean);
4867 e4.sort((e5, t3) => cn(e5[1], t3[1], `asc`));
4868 for (let [t3, , n3] of e4) if (a2 && a2.has(t3)) a2.get(t3).nodes.push(B(`padding-inline`, n3));
4869 else {
4870 if (a2) continue;
4871 i2.push(R(`@media`, `(width >= theme(--breakpoint-${t3}))`, [B(`padding-inline`, n3)]));
4872 }
4873 }
4874 if (a2) for (let [, e4] of a2) i2.push(e4);
4875 return i2;
4876 }
4877 function Xa({ addVariant: e3, config: t2 }) {
4878 let n2 = t2(`darkMode`, null), [r2, i2 = `.dark`] = Array.isArray(n2) ? n2 : [n2];
4879 if (r2 === `variant`) {
4880 let e4;
4881 if (Array.isArray(i2) || typeof i2 == `function` ? e4 = i2 : typeof i2 == `string` && (e4 = [i2]), Array.isArray(e4)) for (let t3 of e4) t3 === `.dark` ? (r2 = false, console.warn('When using `variant` for `darkMode`, you must provide a selector.\nExample: `darkMode: ["variant", ".your-selector &"]`')) : t3.includes(`&`) || (r2 = false, console.warn('When using `variant` for `darkMode`, your selector must contain `&`.\nExample `darkMode: ["variant", ".your-selector &"]`'));
4882 i2 = e4;
4883 }
4884 r2 === null || (r2 === `selector` ? e3(`dark`, `&:where(${i2}, ${i2} *)`) : r2 === `media` ? e3(`dark`, `@media (prefers-color-scheme: dark)`) : r2 === `variant` ? e3(`dark`, i2) : r2 === `class` && e3(`dark`, `&:is(${i2} *)`));
4885 }
4886 function Za(e3) {
4887 for (let [t2, n2] of [[`t`, `top`], [`tr`, `top right`], [`r`, `right`], [`br`, `bottom right`], [`b`, `bottom`], [`bl`, `bottom left`], [`l`, `left`], [`tl`, `top left`]]) e3.utilities.suggest(`bg-gradient-to-${t2}`, () => []), e3.utilities.static(`bg-gradient-to-${t2}`, () => [B(`--tw-gradient-position`, `to ${n2} in oklab`), B(`background-image`, `linear-gradient(var(--tw-gradient-stops))`)]);
4888 e3.utilities.suggest(`bg-left-top`, () => []), e3.utilities.static(`bg-left-top`, () => [B(`background-position`, `left top`)]), e3.utilities.suggest(`bg-right-top`, () => []), e3.utilities.static(`bg-right-top`, () => [B(`background-position`, `right top`)]), e3.utilities.suggest(`bg-left-bottom`, () => []), e3.utilities.static(`bg-left-bottom`, () => [B(`background-position`, `left bottom`)]), e3.utilities.suggest(`bg-right-bottom`, () => []), e3.utilities.static(`bg-right-bottom`, () => [B(`background-position`, `right bottom`)]), e3.utilities.suggest(`object-left-top`, () => []), e3.utilities.static(`object-left-top`, () => [B(`object-position`, `left top`)]), e3.utilities.suggest(`object-right-top`, () => []), e3.utilities.static(`object-right-top`, () => [B(`object-position`, `right top`)]), e3.utilities.suggest(`object-left-bottom`, () => []), e3.utilities.static(`object-left-bottom`, () => [B(`object-position`, `left bottom`)]), e3.utilities.suggest(`object-right-bottom`, () => []), e3.utilities.static(`object-right-bottom`, () => [B(`object-position`, `right bottom`)]), e3.utilities.suggest(`max-w-screen`, () => []), e3.utilities.functional(`max-w-screen`, (t2) => {
4889 if (!t2.value || t2.value.kind === `arbitrary`) return;
4890 let n2 = e3.theme.resolve(t2.value.value, [`--breakpoint`]);
4891 if (n2) return [B(`max-width`, n2)];
4892 }), e3.utilities.suggest(`overflow-ellipsis`, () => []), e3.utilities.static(`overflow-ellipsis`, () => [B(`text-overflow`, `ellipsis`)]), e3.utilities.suggest(`decoration-slice`, () => []), e3.utilities.static(`decoration-slice`, () => [B(`-webkit-box-decoration-break`, `slice`), B(`box-decoration-break`, `slice`)]), e3.utilities.suggest(`decoration-clone`, () => []), e3.utilities.static(`decoration-clone`, () => [B(`-webkit-box-decoration-break`, `clone`), B(`box-decoration-break`, `clone`)]), e3.utilities.suggest(`flex-shrink`, () => []), e3.utilities.functional(`flex-shrink`, (e4) => {
4893 if (!e4.modifier) {
4894 if (!e4.value) return [B(`flex-shrink`, `1`)];
4895 if (e4.value.kind === `arbitrary` || E(e4.value.value)) return [B(`flex-shrink`, e4.value.value)];
4896 }
4897 }), e3.utilities.suggest(`flex-grow`, () => []), e3.utilities.functional(`flex-grow`, (e4) => {
4898 if (!e4.modifier) {
4899 if (!e4.value) return [B(`flex-grow`, `1`)];
4900 if (e4.value.kind === `arbitrary` || E(e4.value.value)) return [B(`flex-grow`, e4.value.value)];
4901 }
4902 }), e3.utilities.suggest(`order-none`, () => []), e3.utilities.static(`order-none`, () => [B(`order`, `0`)]), e3.utilities.suggest(`break-words`, () => []), e3.utilities.static(`break-words`, () => [B(`overflow-wrap`, `break-word`)]);
4903 for (let [t2, n2] of [[`start`, `inset-inline-start`], [`end`, `inset-inline-end`]]) {
4904 let r2 = function({ negative: t3 }) {
4905 return (r3) => {
4906 if (!r3.value) {
4907 if (r3.modifier) return;
4908 let i3 = e3.theme.resolve(null, [`--inset`, `--spacing`]);
4909 return i3 === null ? void 0 : [B(n2, t3 ? `calc(${i3} * -1)` : i3)];
4910 }
4911 if (r3.value.kind === `arbitrary`) {
4912 if (r3.modifier) return;
4913 let e4 = r3.value.value;
4914 return [B(n2, t3 ? `calc(${e4} * -1)` : e4)];
4915 }
4916 let i2 = e3.theme.resolve(r3.value.fraction ?? r3.value.value, [`--inset`, `--spacing`]);
4917 if (i2 === null && r3.value.fraction) {
4918 let [e4, t4] = g(r3.value.fraction, `/`);
4919 if (!E(e4) || !E(t4)) return;
4920 i2 = `calc(${r3.value.fraction} * 100%)`;
4921 }
4922 if (i2 === null && t3) {
4923 let t4 = e3.theme.resolve(null, [`--spacing`]);
4924 if (t4 && D(r3.value.value) && (i2 = `calc(${t4} * -${r3.value.value})`, i2 !== null)) return [B(n2, i2)];
4925 }
4926 if (i2 === null) {
4927 let t4 = e3.theme.resolve(null, [`--spacing`]);
4928 t4 && D(r3.value.value) && (i2 = `calc(${t4} * ${r3.value.value})`);
4929 }
4930 if (i2 !== null) return [B(n2, t3 ? `calc(${i2} * -1)` : i2)];
4931 };
4932 };
4933 e3.utilities.static(`${t2}-auto`, () => [B(n2, `auto`)]), e3.utilities.static(`${t2}-full`, () => [B(n2, `100%`)]), e3.utilities.static(`-${t2}-full`, () => [B(n2, `-100%`)]), e3.utilities.static(`${t2}-px`, () => [B(n2, `1px`)]), e3.utilities.static(`-${t2}-px`, () => [B(n2, `-1px`)]), e3.utilities.functional(`-${t2}`, r2({ negative: true })), e3.utilities.functional(t2, r2({ negative: false }));
4934 }
4935 }
4936 function Qa(e3, t2) {
4937 let n2 = e3.theme.screens || {}, r2 = t2.variants.get(`min`)?.order ?? 0, i2 = [];
4938 for (let [e4, a2] of Object.entries(n2)) {
4939 let n3 = function(n4) {
4940 t2.variants.static(e4, (e5) => {
4941 e5.nodes = [R(`@media`, l2, e5.nodes)];
4942 }, { order: n4 });
4943 }, o2 = t2.variants.get(e4), s2 = t2.theme.resolveValue(e4, [`--breakpoint`]);
4944 if (o2 && s2 && !t2.theme.hasDefault(`--breakpoint-${e4}`)) continue;
4945 let c2 = true;
4946 typeof a2 == `string` && (c2 = false);
4947 let l2 = $a(a2);
4948 c2 ? i2.push(n3) : n3(r2);
4949 }
4950 if (i2.length !== 0) {
4951 for (let [, e4] of t2.variants.variants) e4.order > r2 && (e4.order += i2.length);
4952 t2.variants.compareFns = new Map(Array.from(t2.variants.compareFns).map(([e4, t3]) => (e4 > r2 && (e4 += i2.length), [e4, t3])));
4953 for (let [e4, t3] of i2.entries()) t3(r2 + e4 + 1);
4954 }
4955 }
4956 function $a(e3) {
4957 return (Array.isArray(e3) ? e3 : [e3]).map((e4) => typeof e4 == `string` ? { min: e4 } : e4 && typeof e4 == `object` ? e4 : null).map((e4) => {
4958 if (e4 === null) return null;
4959 if (`raw` in e4) return e4.raw;
4960 let t2 = ``;
4961 return e4.max !== void 0 && (t2 += `${e4.max} >= `), t2 += `width`, e4.min !== void 0 && (t2 += ` >= ${e4.min}`), `(${t2})`;
4962 }).filter(Boolean).join(`, `);
4963 }
4964 function eo(e3, t2) {
4965 let n2 = e3.theme.aria || {}, r2 = e3.theme.supports || {}, i2 = e3.theme.data || {};
4966 if (Object.keys(n2).length > 0) {
4967 let e4 = t2.variants.get(`aria`), r3 = e4?.applyFn, i3 = e4?.compounds;
4968 t2.variants.functional(`aria`, (e5, t3) => {
4969 let i4 = t3.value;
4970 return i4 && i4.kind === `named` && i4.value in n2 ? r3?.(e5, { ...t3, value: { kind: `arbitrary`, value: n2[i4.value] } }) : r3?.(e5, t3);
4971 }, { compounds: i3 });
4972 }
4973 if (Object.keys(r2).length > 0) {
4974 let e4 = t2.variants.get(`supports`), n3 = e4?.applyFn, i3 = e4?.compounds;
4975 t2.variants.functional(`supports`, (e5, t3) => {
4976 let i4 = t3.value;
4977 return i4 && i4.kind === `named` && i4.value in r2 ? n3?.(e5, { ...t3, value: { kind: `arbitrary`, value: r2[i4.value] } }) : n3?.(e5, t3);
4978 }, { compounds: i3 });
4979 }
4980 if (Object.keys(i2).length > 0) {
4981 let e4 = t2.variants.get(`data`), n3 = e4?.applyFn, r3 = e4?.compounds;
4982 t2.variants.functional(`data`, (e5, t3) => {
4983 let r4 = t3.value;
4984 return r4 && r4.kind === `named` && r4.value in i2 ? n3?.(e5, { ...t3, value: { kind: `arbitrary`, value: i2[r4.value] } }) : n3?.(e5, t3);
4985 }, { compounds: r3 });
4986 }
4987 }
4988 var to = /^[a-z]+$/;
4989 async function no({ designSystem: e3, base: t2, ast: n2, loadModule: r2, sources: i2 }) {
4990 let a2 = 0, o2 = [], s2 = [];
4991 I(n2, (e4, t3) => {
4992 if (e4.kind !== `at-rule`) return;
4993 let n3 = Dt(t3);
4994 if (e4.name === `@plugin`) {
4995 if (n3.parent !== null) throw Error("`@plugin` cannot be nested.");
4996 let t4 = e4.params.slice(1, -1);
4997 if (t4.length === 0) throw Error("`@plugin` must have a path.");
4998 let r3 = {};
4999 for (let t5 of e4.nodes ?? []) {
5000 if (t5.kind !== `declaration`) throw Error(`Unexpected \`@plugin\` option:
5001
5002 ${U([t5])}
5003
5004 \`@plugin\` options must be a flat list of declarations.`);
5005 if (t5.value === void 0) continue;
5006 let e5 = t5.value, n4 = g(e5, `,`).map((e6) => {
5007 if (e6 = e6.trim(), e6 === `null`) return null;
5008 if (e6 === `true`) return true;
5009 if (e6 === `false`) return false;
5010 if (Number.isNaN(Number(e6))) {
5011 if (e6[0] === `"` && e6[e6.length - 1] === `"` || e6[0] === `'` && e6[e6.length - 1] === `'`) return e6.slice(1, -1);
5012 if (e6[0] === `{` && e6[e6.length - 1] === `}`) throw Error(`Unexpected \`@plugin\` option: Value of declaration \`${U([t5]).trim()}\` is not supported.
5013
5014 Using an object as a plugin option is currently only supported in JavaScript configuration files.`);
5015 } else return Number(e6);
5016 return e6;
5017 });
5018 r3[t5.property] = n4.length === 1 ? n4[0] : n4;
5019 }
5020 return o2.push([{ id: t4, base: n3.context.base, reference: !!n3.context.reference, src: e4.src }, Object.keys(r3).length > 0 ? r3 : null]), a2 |= 4, F.Replace([]);
5021 }
5022 if (e4.name === `@config`) {
5023 if (e4.nodes.length > 0) throw Error("`@config` cannot have a body.");
5024 if (n3.parent !== null) throw Error("`@config` cannot be nested.");
5025 return s2.push({ id: e4.params.slice(1, -1), base: n3.context.base, reference: !!n3.context.reference, src: e4.src }), a2 |= 4, F.Replace([]);
5026 }
5027 }), Za(e3);
5028 let c2 = e3.resolveThemeValue;
5029 if (e3.resolveThemeValue = function(r3, o3) {
5030 return r3.startsWith(`--`) ? c2(r3, o3) : (a2 |= ro({ designSystem: e3, base: t2, ast: n2, sources: i2, configs: [], pluginDetails: [] }), e3.resolveThemeValue(r3, o3));
5031 }, !o2.length && !s2.length) return 0;
5032 let [l2, u2] = await Promise.all([Promise.all(s2.map(async ({ id: e4, base: t3, reference: n3, src: i3 }) => {
5033 let a3 = await r2(e4, t3, `config`);
5034 return { path: e4, base: a3.base, config: a3.module, reference: n3, src: i3 };
5035 })), Promise.all(o2.map(async ([{ id: e4, base: t3, reference: n3, src: i3 }, a3]) => {
5036 let o3 = await r2(e4, t3, `plugin`);
5037 return { path: e4, base: o3.base, plugin: o3.module, options: a3, reference: n3, src: i3 };
5038 }))]);
5039 return a2 |= ro({ designSystem: e3, base: t2, ast: n2, sources: i2, configs: l2, pluginDetails: u2 }), a2;
5040 }
5041 function ro({ designSystem: e3, base: t2, ast: n2, sources: r2, configs: i2, pluginDetails: a2 }) {
5042 let o2 = 0, s2 = [...a2.map((e4) => {
5043 if (!e4.options) return { config: { plugins: [e4.plugin] }, base: e4.base, reference: e4.reference, src: e4.src };
5044 if (`__isOptionsFunction` in e4.plugin) return { config: { plugins: [e4.plugin(e4.options)] }, base: e4.base, reference: e4.reference, src: e4.src };
5045 throw Error(`The plugin "${e4.path}" does not accept options`);
5046 }), ...i2], { resolvedConfig: c2 } = Wa(e3, [{ config: Ha(e3.theme), base: t2, reference: true, src: void 0 }, ...s2, { config: { plugins: [Xa] }, base: t2, reference: true, src: void 0 }]), { resolvedConfig: l2, replacedThemeKeys: u2 } = Wa(e3, s2), d2 = { designSystem: e3, ast: n2, resolvedConfig: c2, featuresRef: { set current(e4) {
5047 o2 |= e4;
5048 } } }, f2 = Ia({ ...d2, referenceMode: false, src: void 0 }), p2 = e3.resolveThemeValue;
5049 e3.resolveThemeValue = function(e4, t3) {
5050 if (e4[0] === `-` && e4[1] === `-`) return p2(e4, t3);
5051 let n3 = f2.theme(e4, void 0);
5052 if (Array.isArray(n3) && n3.length === 2) return n3[0];
5053 if (Array.isArray(n3)) return n3.join(`, `);
5054 if (typeof n3 == `object` && n3 && `DEFAULT` in n3) return n3.DEFAULT;
5055 if (typeof n3 == `string`) return n3;
5056 };
5057 for (let { handler: e4, reference: t3, src: n3 } of c2.plugins) e4(Ia({ ...d2, referenceMode: t3 ?? false, src: n3 }));
5058 if (er(e3, l2, u2), Ba(e3, l2), eo(l2, e3), Qa(l2, e3), Ja(l2, e3), !e3.theme.prefix && c2.prefix) {
5059 if (c2.prefix.endsWith(`-`) && (c2.prefix = c2.prefix.slice(0, -1), console.warn(`The prefix "${c2.prefix}" is invalid. Prefixes must be lowercase ASCII letters (a-z) only and is written as a variant before all utilities. We have fixed up the prefix for you. Remove the trailing \`-\` to silence this warning.`)), !to.test(c2.prefix)) throw Error(`The prefix "${c2.prefix}" is invalid. Prefixes must be lowercase ASCII letters (a-z) only.`);
5060 e3.theme.prefix = c2.prefix;
5061 }
5062 if (!e3.important && c2.important === true && (e3.important = true), typeof c2.important == `string`) {
5063 let e4 = c2.important;
5064 I(n2, (t3, n3) => {
5065 if (t3.kind !== `at-rule` || t3.name !== `@tailwind` || t3.params !== `utilities`) return;
5066 let r3 = Dt(n3);
5067 return r3.parent?.kind === `rule` && r3.parent.selector === e4 ? F.Stop : F.ReplaceStop(L(e4, [t3]));
5068 });
5069 }
5070 for (let t3 of c2.blocklist) e3.invalidCandidates.add(t3);
5071 for (let e4 of c2.content.files) {
5072 if (`raw` in e4) throw Error(`Error in the config file/plugin/preset. The \`content\` key contains a \`raw\` entry:
5073
5074 ${JSON.stringify(e4, null, 2)}
5075
5076 This feature is not currently supported.`);
5077 let t3 = false;
5078 e4.pattern[0] == `!` && (t3 = true, e4.pattern = e4.pattern.slice(1)), r2.push({ ...e4, negated: t3 });
5079 }
5080 return o2;
5081 }
5082 function io({ ast: e3 }) {
5083 let t2 = new j((e4) => ke(e4.code)), n2 = new j((e4) => ({ url: e4.file, content: e4.code, ignore: false })), r2 = { file: null, sources: [], mappings: [] };
5084 I(e3, (e4) => {
5085 if (!e4.src || !e4.dst) return;
5086 let i2 = n2.get(e4.src[0]);
5087 if (!i2.content) return;
5088 let a2 = t2.get(e4.src[0]), o2 = t2.get(e4.dst[0]), s2 = i2.content.slice(e4.src[1], e4.src[2]), c2 = 0;
5089 for (let t3 of s2.split(`
5090 `)) {
5091 if (t3.trim() !== ``) {
5092 let t4 = a2.find(e4.src[1] + c2), n3 = o2.find(e4.dst[1]);
5093 r2.mappings.push({ name: null, originalPosition: { source: i2, ...t4 }, generatedPosition: n3 });
5094 }
5095 c2 += t3.length, c2 += 1;
5096 }
5097 let l2 = a2.find(e4.src[2]), u2 = o2.find(e4.dst[2]);
5098 r2.mappings.push({ name: null, originalPosition: { source: i2, ...l2 }, generatedPosition: u2 });
5099 });
5100 for (let e4 of t2.keys()) r2.sources.push(n2.get(e4));
5101 return r2.mappings.sort((e4, t3) => e4.generatedPosition.line - t3.generatedPosition.line || e4.generatedPosition.column - t3.generatedPosition.column || (e4.originalPosition?.line ?? 0) - (t3.originalPosition?.line ?? 0) || (e4.originalPosition?.column ?? 0) - (t3.originalPosition?.column ?? 0)), r2;
5102 }
5103 var ao = /^(-?\d+)\.\.(-?\d+)(?:\.\.(-?\d+))?$/;
5104 function oo(e3) {
5105 let t2 = e3.indexOf(`{`);
5106 if (t2 === -1) return [e3];
5107 let n2 = [], r2 = e3.slice(0, t2), i2 = e3.slice(t2), a2 = 0, o2 = i2.lastIndexOf(`}`);
5108 for (let e4 = 0; e4 < i2.length; e4++) {
5109 let t3 = i2[e4];
5110 if (t3 === `{`) a2++;
5111 else if (t3 === `}` && (a2--, a2 === 0)) {
5112 o2 = e4;
5113 break;
5114 }
5115 }
5116 if (o2 === -1) throw Error(`The pattern \`${e3}\` is not balanced.`);
5117 let s2 = i2.slice(1, o2), c2 = i2.slice(o2 + 1), l2;
5118 l2 = so(s2) ? co(s2) : g(s2, `,`), l2 = l2.flatMap((e4) => oo(e4));
5119 let u2 = oo(c2);
5120 for (let e4 of u2) for (let t3 of l2) n2.push(r2 + t3 + e4);
5121 return n2;
5122 }
5123 function so(e3) {
5124 return ao.test(e3);
5125 }
5126 function co(e3) {
5127 let t2 = e3.match(ao);
5128 if (!t2) return [e3];
5129 let [, n2, r2, i2] = t2, a2 = i2 ? parseInt(i2, 10) : void 0, o2 = [];
5130 if (/^-?\d+$/.test(n2) && /^-?\d+$/.test(r2)) {
5131 let e4 = parseInt(n2, 10), t3 = parseInt(r2, 10);
5132 if (a2 === void 0 && (a2 = e4 <= t3 ? 1 : -1), a2 === 0) throw Error(`Step cannot be zero in sequence expansion.`);
5133 let i3 = e4 < t3;
5134 i3 && a2 < 0 && (a2 = -a2), !i3 && a2 > 0 && (a2 = -a2);
5135 for (let n3 = e4; i3 ? n3 <= t3 : n3 >= t3; n3 += a2) o2.push(n3.toString());
5136 }
5137 return o2;
5138 }
5139 function lo(e3, t2) {
5140 let n2 = /* @__PURE__ */ new Set(), r2 = /* @__PURE__ */ new Set(), i2 = [];
5141 function a2(o2, s2 = []) {
5142 if (e3.has(o2) && !n2.has(o2)) {
5143 r2.has(o2) && t2.onCircularDependency?.(s2, o2), r2.add(o2);
5144 for (let t3 of e3.get(o2) ?? []) s2.push(o2), a2(t3, s2), s2.pop();
5145 n2.add(o2), r2.delete(o2), i2.push(o2);
5146 }
5147 }
5148 for (let t3 of e3.keys()) a2(t3);
5149 return i2;
5150 }
5151 var uo = /^[a-z]+$/, fo = ((e3) => (e3[e3.None = 0] = `None`, e3[e3.AtProperty = 1] = `AtProperty`, e3[e3.ColorMix = 2] = `ColorMix`, e3[e3.All = 3] = `All`, e3))(fo || {});
5152 function po() {
5153 throw Error("No `loadModule` function provided to `compile`");
5154 }
5155 function mo() {
5156 throw Error("No `loadStylesheet` function provided to `compile`");
5157 }
5158 function ho(e3) {
5159 let t2 = 0, n2 = null;
5160 for (let r2 of g(e3, ` `)) r2 === `reference` ? t2 |= 2 : r2 === `inline` ? t2 |= 1 : r2 === `default` ? t2 |= 4 : r2 === `static` ? t2 |= 8 : r2.startsWith(`prefix(`) && r2.endsWith(`)`) && (n2 = r2.slice(7, -1));
5161 return [t2, n2];
5162 }
5163 var go = ((e3) => (e3[e3.None = 0] = `None`, e3[e3.AtApply = 1] = `AtApply`, e3[e3.AtImport = 2] = `AtImport`, e3[e3.JsPluginCompat = 4] = `JsPluginCompat`, e3[e3.ThemeFunction = 8] = `ThemeFunction`, e3[e3.Utilities = 16] = `Utilities`, e3[e3.Variants = 32] = `Variants`, e3[e3.AtTheme = 64] = `AtTheme`, e3))(go || {});
5164 async function _o(e3, { base: t2 = ``, from: n2, loadModule: r2 = po, loadStylesheet: i2 = mo } = {}) {
5165 let a2 = 0;
5166 e3 = [Et({ base: t2 }, e3)], a2 |= await Ea(e3, t2, i2, 0, n2 !== void 0);
5167 let o2 = null, s2 = new it(), c2 = /* @__PURE__ */ new Map(), l2 = /* @__PURE__ */ new Map(), u2 = [], d2 = null, f2 = null, p2 = [], m2 = [], h2 = [], _2 = [], v2 = null;
5168 I(e3, (e4, t3) => {
5169 if (e4.kind !== `at-rule`) return;
5170 let n3 = Dt(t3);
5171 if (e4.name === `@tailwind` && (e4.params === `utilities` || e4.params.startsWith(`utilities`))) {
5172 if (f2 !== null || n3.context.reference) return F.Replace([]);
5173 let t4 = g(e4.params, ` `);
5174 for (let e5 of t4) if (e5.startsWith(`source(`)) {
5175 let t5 = e5.slice(7, -1);
5176 if (t5 === `none`) {
5177 v2 = t5;
5178 continue;
5179 }
5180 if (t5[0] === `"` && t5[t5.length - 1] !== `"` || t5[0] === `'` && t5[t5.length - 1] !== `'` || t5[0] !== `'` && t5[0] !== `"`) throw Error("`source(\u2026)` paths must be quoted.");
5181 v2 = { base: n3.context.sourceBase ?? n3.context.base, pattern: t5.slice(1, -1) };
5182 }
5183 f2 = e4, a2 |= 16;
5184 }
5185 if (e4.name === `@utility`) {
5186 if (n3.parent !== null) throw Error("`@utility` cannot be nested.");
5187 if (e4.nodes.length === 0) throw Error(`\`@utility ${e4.params}\` is empty. Utilities should include at least one property.`);
5188 let t4 = vn(e4);
5189 if (t4 === null) {
5190 if (!e4.params.endsWith(`-*`)) {
5191 if (e4.params.endsWith(`*`)) throw Error(`\`@utility ${e4.params}\` defines an invalid utility name. A functional utility must end in \`-*\`.`);
5192 if (e4.params.includes(`*`)) throw Error(`\`@utility ${e4.params}\` defines an invalid utility name. The dynamic portion marked by \`-*\` must appear once at the end.`);
5193 }
5194 throw Error(`\`@utility ${e4.params}\` defines an invalid utility name. Utilities should be alphanumeric and start with a lowercase letter.`);
5195 }
5196 u2.push(t4);
5197 }
5198 if (e4.name === `@source`) {
5199 if (e4.nodes.length > 0) throw Error("`@source` cannot have a body.");
5200 if (n3.parent !== null) throw Error("`@source` cannot be nested.");
5201 let t4 = false, r3 = false, i3 = e4.params;
5202 if (i3[0] === `n` && i3.startsWith(`not `) && (t4 = true, i3 = i3.slice(4)), i3[0] === `i` && i3.startsWith(`inline(`) && (r3 = true, i3 = i3.slice(7, -1).trim()), i3[0] === `"` && i3[i3.length - 1] !== `"` || i3[0] === `'` && i3[i3.length - 1] !== `'` || i3[0] !== `'` && i3[0] !== `"`) throw Error("`@source` paths must be quoted.");
5203 let a3 = i3.slice(1, -1);
5204 if (r3) {
5205 let e5 = t4 ? _2 : h2, n4 = g(a3, ` `);
5206 for (let t5 of n4) for (let n5 of oo(t5)) e5.push(n5);
5207 } else m2.push({ base: n3.context.base, pattern: a3, negated: t4 });
5208 return F.ReplaceSkip([]);
5209 }
5210 if (e4.name === `@variant` && (n3.parent === null ? e4.nodes.length === 0 ? e4.name = `@custom-variant` : (I(e4.nodes, (t4) => {
5211 if (t4.kind === `at-rule` && t4.name === `@slot`) return e4.name = `@custom-variant`, F.Stop;
5212 }), e4.name === `@variant` && p2.push(e4)) : p2.push(e4)), e4.name === `@custom-variant`) {
5213 if (n3.parent !== null) throw Error("`@custom-variant` cannot be nested.");
5214 let [t4, r3] = g(e4.params, ` `);
5215 if (!ca.test(t4)) throw Error(`\`@custom-variant ${t4}\` defines an invalid variant name. Variants should only contain alphanumeric, dashes, or underscore characters and start with a lowercase letter or number.`);
5216 if (e4.nodes.length > 0 && r3) throw Error(`\`@custom-variant ${t4}\` cannot have both a selector and a body.`);
5217 if (e4.nodes.length === 0) {
5218 if (!r3) throw Error(`\`@custom-variant ${t4}\` has no selector or body.`);
5219 let e5 = g(r3.slice(1, -1), `,`);
5220 if (e5.length === 0 || e5.some((e6) => e6.trim() === ``)) throw Error(`\`@custom-variant ${t4} (${e5.join(`,`)})\` selector is invalid.`);
5221 let n4 = [], i3 = [];
5222 for (let t5 of e5) t5 = t5.trim(), t5[0] === `@` ? n4.push(t5) : i3.push(t5);
5223 c2.set(t4, (e6) => {
5224 e6.variants.static(t4, (e7) => {
5225 let t5 = [];
5226 i3.length > 0 && t5.push(L(i3.join(`, `), e7.nodes));
5227 for (let r4 of n4) t5.push(z(r4, e7.nodes));
5228 e7.nodes = t5;
5229 }, { compounds: ua([...i3, ...n4]) });
5230 }), l2.set(t4, /* @__PURE__ */ new Set());
5231 } else {
5232 let n4 = /* @__PURE__ */ new Set();
5233 I(e4.nodes, (e5) => {
5234 e5.kind === `at-rule` && e5.name === `@variant` && n4.add(e5.params);
5235 }), c2.set(t4, (n5) => {
5236 n5.variants.fromAst(t4, e4.nodes, n5);
5237 }), l2.set(t4, n4);
5238 }
5239 return F.ReplaceSkip([]);
5240 }
5241 if (e4.name === `@media`) {
5242 let t4 = g(e4.params, ` `), r3 = [];
5243 for (let i3 of t4) if (i3.startsWith(`source(`)) {
5244 let t5 = i3.slice(7, -1);
5245 I(e4.nodes, (e5) => {
5246 if (e5.kind === `at-rule` && e5.name === `@tailwind` && e5.params === `utilities`) return e5.params += ` source(${t5})`, F.ReplaceStop([Et({ sourceBase: n3.context.base }, [e5])]);
5247 });
5248 } else if (i3.startsWith(`theme(`)) {
5249 let t5 = i3.slice(6, -1), n4 = t5.includes(`reference`);
5250 I(e4.nodes, (e5) => {
5251 if (e5.kind !== `context`) {
5252 if (e5.kind !== `at-rule`) {
5253 if (n4) throw Error('Files imported with `@import "\u2026" theme(reference)` must only contain `@theme` blocks.\nUse `@reference "\u2026";` instead.');
5254 return F.Continue;
5255 }
5256 if (e5.name === `@theme`) return e5.params += ` ` + t5, F.Skip;
5257 }
5258 });
5259 } else if (i3.startsWith(`prefix(`)) {
5260 let t5 = i3.slice(7, -1);
5261 I(e4.nodes, (e5) => {
5262 if (e5.kind === `at-rule` && e5.name === `@theme`) return e5.params += ` prefix(${t5})`, F.Skip;
5263 });
5264 } else i3 === `important` ? o2 = true : i3 === `reference` ? e4.nodes = [Et({ reference: true }, e4.nodes)] : r3.push(i3);
5265 if (r3.length > 0) e4.params = r3.join(` `);
5266 else if (t4.length > 0) return F.Replace(e4.nodes);
5267 return F.Continue;
5268 }
5269 if (e4.name === `@theme`) {
5270 let [t4, r3] = ho(e4.params);
5271 if (a2 |= 64, n3.context.reference && (t4 |= 2), r3) {
5272 if (!uo.test(r3)) throw Error(`The prefix "${r3}" is invalid. Prefixes must be lowercase ASCII letters (a-z) only.`);
5273 s2.prefix = r3;
5274 }
5275 return I(e4.nodes, (n4) => {
5276 if (n4.kind === `at-rule` && n4.name === `@keyframes`) return s2.addKeyframes(n4), F.Skip;
5277 if (n4.kind === `comment`) return;
5278 if (n4.kind === `declaration` && n4.property.startsWith(`--`)) {
5279 s2.add(tt(n4.property), n4.value ?? ``, t4, n4.src);
5280 return;
5281 }
5282 let r4 = U([R(e4.name, e4.params, [n4])]).split(`
5283 `).map((e5, t5, n5) => `${t5 === 0 || t5 >= n5.length - 2 ? ` ` : `>`} ${e5}`).join(`
5284 `);
5285 throw Error(`\`@theme\` blocks must only contain custom properties or \`@keyframes\`.
5286
5287 ${r4}`);
5288 }), d2 ? F.ReplaceSkip([]) : (d2 = L(`:root, :host`, []), d2.src = e4.src, F.ReplaceSkip(d2));
5289 }
5290 });
5291 let y2 = ha(s2, f2?.src);
5292 if (o2 && (y2.important = o2), _2.length > 0) for (let e4 of _2) y2.invalidCandidates.add(e4);
5293 a2 |= await no({ designSystem: y2, base: t2, ast: e3, loadModule: r2, sources: m2 });
5294 for (let e4 of c2.keys()) y2.variants.static(e4, () => {
5295 });
5296 for (let e4 of lo(l2, { onCircularDependency(e5, t3) {
5297 let n3 = U(e5.map((n4, r3) => R(`@custom-variant`, n4, [R(`@variant`, e5[r3 + 1] ?? t3, [])]))).replaceAll(`;`, ` { \u2026 }`).replace(`@custom-variant ${t3} {`, `@custom-variant ${t3} { /* \u2190 */`);
5298 throw Error(`Circular dependency detected in custom variants:
5299
5300 ${n3}`);
5301 } })) c2.get(e4)?.(y2);
5302 for (let e4 of u2) e4(y2);
5303 if (d2) {
5304 let t3 = [];
5305 for (let [e4, n4] of y2.theme.entries()) {
5306 if (n4.options & 2) continue;
5307 let r3 = B(et(e4), n4.value);
5308 r3.src = n4.src, t3.push(r3);
5309 }
5310 let n3 = y2.theme.getKeyframes();
5311 for (let t4 of n3) e3.push(Et({ theme: true }, [V([t4])]));
5312 d2.nodes = [Et({ theme: true }, t3)];
5313 }
5314 if (a2 |= ma(e3, y2), a2 |= Hn(e3, y2), a2 |= wa(e3, y2), f2) {
5315 let e4 = f2;
5316 e4.kind = `context`, e4.context = {};
5317 }
5318 return I(e3, (e4) => {
5319 if (e4.kind === `at-rule`) return e4.name === `@utility` ? F.Replace([]) : F.Skip;
5320 }), { designSystem: y2, ast: e3, sources: m2, root: v2, utilitiesNode: f2, features: a2, inlineCandidates: h2 };
5321 }
5322 async function vo(e3, t2 = {}) {
5323 let { designSystem: n2, ast: r2, sources: i2, root: a2, utilitiesNode: o2, features: s2, inlineCandidates: c2 } = await _o(e3, t2);
5324 r2.unshift(Tt(`! tailwindcss v${Oe} | MIT License | https://tailwindcss.com `));
5325 function l2(e4) {
5326 n2.invalidCandidates.add(e4);
5327 }
5328 let u2 = /* @__PURE__ */ new Set(), d2 = null, f2 = 0, p2 = false;
5329 for (let e4 of c2) n2.invalidCandidates.has(e4) || (u2.add(e4), p2 = true);
5330 return { sources: i2, root: a2, features: s2, build(i3) {
5331 if (s2 === 0) return e3;
5332 if (!o2) return d2 ?? (d2 = Ot(r2, n2, t2.polyfills)), d2;
5333 let a3 = p2, c3 = false;
5334 p2 = false;
5335 let m2 = u2.size;
5336 for (let e4 of i3) if (!n2.invalidCandidates.has(e4)) if (e4[0] === `-` && e4[1] === `-`) {
5337 let t3 = n2.theme.markUsedVariable(e4);
5338 a3 || (a3 = t3), c3 || (c3 = t3);
5339 } else u2.add(e4), a3 || (a3 = u2.size !== m2);
5340 if (!a3) return d2 ?? (d2 = Ot(r2, n2, t2.polyfills)), d2;
5341 let h2 = _a(u2, n2, { onInvalidCandidate: l2 }).astNodes;
5342 return t2.from && I(h2, (e4) => {
5343 e4.src ?? (e4.src = o2.src);
5344 }), !c3 && f2 === h2.length ? (d2 ?? (d2 = Ot(r2, n2, t2.polyfills)), d2) : (f2 = h2.length, o2.nodes = h2, d2 = Ot(r2, n2, t2.polyfills), d2);
5345 } };
5346 }
5347 async function yo(e3, t2 = {}) {
5348 let n2 = Xe(e3, { from: t2.from }), r2 = await vo(n2, t2), i2 = n2, a2 = e3;
5349 return { ...r2, build(e4) {
5350 let n3 = r2.build(e4);
5351 return n3 === i2 || (a2 = U(n3, !!t2.from), i2 = n3), a2;
5352 }, buildSourceMap() {
5353 return io({ ast: i2 });
5354 } };
5355 }
5356 async function bo(e3, t2 = {}) {
5357 return (await _o(Xe(e3, { from: t2.from }), t2)).designSystem;
5358 }
5359 var Q = e(i(), 1), xo = { "/tailwindcss": `@import './tailwindcss/index.css';`, "/tailwindcss/index.css": `@layer theme, base, components, utilities;
5360
5361 @layer theme {
5362 @theme default {
5363 --font-sans:
5364 ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
5365 "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
5366 --font-serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
5367 --font-mono:
5368 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
5369 "Courier New", monospace;
5370
5371 --color-red-50: oklch(97.1% 0.013 17.38);
5372 --color-red-100: oklch(93.6% 0.032 17.717);
5373 --color-red-200: oklch(88.5% 0.062 18.334);
5374 --color-red-300: oklch(80.8% 0.114 19.571);
5375 --color-red-400: oklch(70.4% 0.191 22.216);
5376 --color-red-500: oklch(63.7% 0.237 25.331);
5377 --color-red-600: oklch(57.7% 0.245 27.325);
5378 --color-red-700: oklch(50.5% 0.213 27.518);
5379 --color-red-800: oklch(44.4% 0.177 26.899);
5380 --color-red-900: oklch(39.6% 0.141 25.723);
5381 --color-red-950: oklch(25.8% 0.092 26.042);
5382
5383 --color-orange-50: oklch(98% 0.016 73.684);
5384 --color-orange-100: oklch(95.4% 0.038 75.164);
5385 --color-orange-200: oklch(90.1% 0.076 70.697);
5386 --color-orange-300: oklch(83.7% 0.128 66.29);
5387 --color-orange-400: oklch(75% 0.183 55.934);
5388 --color-orange-500: oklch(70.5% 0.213 47.604);
5389 --color-orange-600: oklch(64.6% 0.222 41.116);
5390 --color-orange-700: oklch(55.3% 0.195 38.402);
5391 --color-orange-800: oklch(47% 0.157 37.304);
5392 --color-orange-900: oklch(40.8% 0.123 38.172);
5393 --color-orange-950: oklch(26.6% 0.079 36.259);
5394
5395 --color-amber-50: oklch(98.7% 0.022 95.277);
5396 --color-amber-100: oklch(96.2% 0.059 95.617);
5397 --color-amber-200: oklch(92.4% 0.12 95.746);
5398 --color-amber-300: oklch(87.9% 0.169 91.605);
5399 --color-amber-400: oklch(82.8% 0.189 84.429);
5400 --color-amber-500: oklch(76.9% 0.188 70.08);
5401 --color-amber-600: oklch(66.6% 0.179 58.318);
5402 --color-amber-700: oklch(55.5% 0.163 48.998);
5403 --color-amber-800: oklch(47.3% 0.137 46.201);
5404 --color-amber-900: oklch(41.4% 0.112 45.904);
5405 --color-amber-950: oklch(27.9% 0.077 45.635);
5406
5407 --color-yellow-50: oklch(98.7% 0.026 102.212);
5408 --color-yellow-100: oklch(97.3% 0.071 103.193);
5409 --color-yellow-200: oklch(94.5% 0.129 101.54);
5410 --color-yellow-300: oklch(90.5% 0.182 98.111);
5411 --color-yellow-400: oklch(85.2% 0.199 91.936);
5412 --color-yellow-500: oklch(79.5% 0.184 86.047);
5413 --color-yellow-600: oklch(68.1% 0.162 75.834);
5414 --color-yellow-700: oklch(55.4% 0.135 66.442);
5415 --color-yellow-800: oklch(47.6% 0.114 61.907);
5416 --color-yellow-900: oklch(42.1% 0.095 57.708);
5417 --color-yellow-950: oklch(28.6% 0.066 53.813);
5418
5419 --color-lime-50: oklch(98.6% 0.031 120.757);
5420 --color-lime-100: oklch(96.7% 0.067 122.328);
5421 --color-lime-200: oklch(93.8% 0.127 124.321);
5422 --color-lime-300: oklch(89.7% 0.196 126.665);
5423 --color-lime-400: oklch(84.1% 0.238 128.85);
5424 --color-lime-500: oklch(76.8% 0.233 130.85);
5425 --color-lime-600: oklch(64.8% 0.2 131.684);
5426 --color-lime-700: oklch(53.2% 0.157 131.589);
5427 --color-lime-800: oklch(45.3% 0.124 130.933);
5428 --color-lime-900: oklch(40.5% 0.101 131.063);
5429 --color-lime-950: oklch(27.4% 0.072 132.109);
5430
5431 --color-green-50: oklch(98.2% 0.018 155.826);
5432 --color-green-100: oklch(96.2% 0.044 156.743);
5433 --color-green-200: oklch(92.5% 0.084 155.995);
5434 --color-green-300: oklch(87.1% 0.15 154.449);
5435 --color-green-400: oklch(79.2% 0.209 151.711);
5436 --color-green-500: oklch(72.3% 0.219 149.579);
5437 --color-green-600: oklch(62.7% 0.194 149.214);
5438 --color-green-700: oklch(52.7% 0.154 150.069);
5439 --color-green-800: oklch(44.8% 0.119 151.328);
5440 --color-green-900: oklch(39.3% 0.095 152.535);
5441 --color-green-950: oklch(26.6% 0.065 152.934);
5442
5443 --color-emerald-50: oklch(97.9% 0.021 166.113);
5444 --color-emerald-100: oklch(95% 0.052 163.051);
5445 --color-emerald-200: oklch(90.5% 0.093 164.15);
5446 --color-emerald-300: oklch(84.5% 0.143 164.978);
5447 --color-emerald-400: oklch(76.5% 0.177 163.223);
5448 --color-emerald-500: oklch(69.6% 0.17 162.48);
5449 --color-emerald-600: oklch(59.6% 0.145 163.225);
5450 --color-emerald-700: oklch(50.8% 0.118 165.612);
5451 --color-emerald-800: oklch(43.2% 0.095 166.913);
5452 --color-emerald-900: oklch(37.8% 0.077 168.94);
5453 --color-emerald-950: oklch(26.2% 0.051 172.552);
5454
5455 --color-teal-50: oklch(98.4% 0.014 180.72);
5456 --color-teal-100: oklch(95.3% 0.051 180.801);
5457 --color-teal-200: oklch(91% 0.096 180.426);
5458 --color-teal-300: oklch(85.5% 0.138 181.071);
5459 --color-teal-400: oklch(77.7% 0.152 181.912);
5460 --color-teal-500: oklch(70.4% 0.14 182.503);
5461 --color-teal-600: oklch(60% 0.118 184.704);
5462 --color-teal-700: oklch(51.1% 0.096 186.391);
5463 --color-teal-800: oklch(43.7% 0.078 188.216);
5464 --color-teal-900: oklch(38.6% 0.063 188.416);
5465 --color-teal-950: oklch(27.7% 0.046 192.524);
5466
5467 --color-cyan-50: oklch(98.4% 0.019 200.873);
5468 --color-cyan-100: oklch(95.6% 0.045 203.388);
5469 --color-cyan-200: oklch(91.7% 0.08 205.041);
5470 --color-cyan-300: oklch(86.5% 0.127 207.078);
5471 --color-cyan-400: oklch(78.9% 0.154 211.53);
5472 --color-cyan-500: oklch(71.5% 0.143 215.221);
5473 --color-cyan-600: oklch(60.9% 0.126 221.723);
5474 --color-cyan-700: oklch(52% 0.105 223.128);
5475 --color-cyan-800: oklch(45% 0.085 224.283);
5476 --color-cyan-900: oklch(39.8% 0.07 227.392);
5477 --color-cyan-950: oklch(30.2% 0.056 229.695);
5478
5479 --color-sky-50: oklch(97.7% 0.013 236.62);
5480 --color-sky-100: oklch(95.1% 0.026 236.824);
5481 --color-sky-200: oklch(90.1% 0.058 230.902);
5482 --color-sky-300: oklch(82.8% 0.111 230.318);
5483 --color-sky-400: oklch(74.6% 0.16 232.661);
5484 --color-sky-500: oklch(68.5% 0.169 237.323);
5485 --color-sky-600: oklch(58.8% 0.158 241.966);
5486 --color-sky-700: oklch(50% 0.134 242.749);
5487 --color-sky-800: oklch(44.3% 0.11 240.79);
5488 --color-sky-900: oklch(39.1% 0.09 240.876);
5489 --color-sky-950: oklch(29.3% 0.066 243.157);
5490
5491 --color-blue-50: oklch(97% 0.014 254.604);
5492 --color-blue-100: oklch(93.2% 0.032 255.585);
5493 --color-blue-200: oklch(88.2% 0.059 254.128);
5494 --color-blue-300: oklch(80.9% 0.105 251.813);
5495 --color-blue-400: oklch(70.7% 0.165 254.624);
5496 --color-blue-500: oklch(62.3% 0.214 259.815);
5497 --color-blue-600: oklch(54.6% 0.245 262.881);
5498 --color-blue-700: oklch(48.8% 0.243 264.376);
5499 --color-blue-800: oklch(42.4% 0.199 265.638);
5500 --color-blue-900: oklch(37.9% 0.146 265.522);
5501 --color-blue-950: oklch(28.2% 0.091 267.935);
5502
5503 --color-indigo-50: oklch(96.2% 0.018 272.314);
5504 --color-indigo-100: oklch(93% 0.034 272.788);
5505 --color-indigo-200: oklch(87% 0.065 274.039);
5506 --color-indigo-300: oklch(78.5% 0.115 274.713);
5507 --color-indigo-400: oklch(67.3% 0.182 276.935);
5508 --color-indigo-500: oklch(58.5% 0.233 277.117);
5509 --color-indigo-600: oklch(51.1% 0.262 276.966);
5510 --color-indigo-700: oklch(45.7% 0.24 277.023);
5511 --color-indigo-800: oklch(39.8% 0.195 277.366);
5512 --color-indigo-900: oklch(35.9% 0.144 278.697);
5513 --color-indigo-950: oklch(25.7% 0.09 281.288);
5514
5515 --color-violet-50: oklch(96.9% 0.016 293.756);
5516 --color-violet-100: oklch(94.3% 0.029 294.588);
5517 --color-violet-200: oklch(89.4% 0.057 293.283);
5518 --color-violet-300: oklch(81.1% 0.111 293.571);
5519 --color-violet-400: oklch(70.2% 0.183 293.541);
5520 --color-violet-500: oklch(60.6% 0.25 292.717);
5521 --color-violet-600: oklch(54.1% 0.281 293.009);
5522 --color-violet-700: oklch(49.1% 0.27 292.581);
5523 --color-violet-800: oklch(43.2% 0.232 292.759);
5524 --color-violet-900: oklch(38% 0.189 293.745);
5525 --color-violet-950: oklch(28.3% 0.141 291.089);
5526
5527 --color-purple-50: oklch(97.7% 0.014 308.299);
5528 --color-purple-100: oklch(94.6% 0.033 307.174);
5529 --color-purple-200: oklch(90.2% 0.063 306.703);
5530 --color-purple-300: oklch(82.7% 0.119 306.383);
5531 --color-purple-400: oklch(71.4% 0.203 305.504);
5532 --color-purple-500: oklch(62.7% 0.265 303.9);
5533 --color-purple-600: oklch(55.8% 0.288 302.321);
5534 --color-purple-700: oklch(49.6% 0.265 301.924);
5535 --color-purple-800: oklch(43.8% 0.218 303.724);
5536 --color-purple-900: oklch(38.1% 0.176 304.987);
5537 --color-purple-950: oklch(29.1% 0.149 302.717);
5538
5539 --color-fuchsia-50: oklch(97.7% 0.017 320.058);
5540 --color-fuchsia-100: oklch(95.2% 0.037 318.852);
5541 --color-fuchsia-200: oklch(90.3% 0.076 319.62);
5542 --color-fuchsia-300: oklch(83.3% 0.145 321.434);
5543 --color-fuchsia-400: oklch(74% 0.238 322.16);
5544 --color-fuchsia-500: oklch(66.7% 0.295 322.15);
5545 --color-fuchsia-600: oklch(59.1% 0.293 322.896);
5546 --color-fuchsia-700: oklch(51.8% 0.253 323.949);
5547 --color-fuchsia-800: oklch(45.2% 0.211 324.591);
5548 --color-fuchsia-900: oklch(40.1% 0.17 325.612);
5549 --color-fuchsia-950: oklch(29.3% 0.136 325.661);
5550
5551 --color-pink-50: oklch(97.1% 0.014 343.198);
5552 --color-pink-100: oklch(94.8% 0.028 342.258);
5553 --color-pink-200: oklch(89.9% 0.061 343.231);
5554 --color-pink-300: oklch(82.3% 0.12 346.018);
5555 --color-pink-400: oklch(71.8% 0.202 349.761);
5556 --color-pink-500: oklch(65.6% 0.241 354.308);
5557 --color-pink-600: oklch(59.2% 0.249 0.584);
5558 --color-pink-700: oklch(52.5% 0.223 3.958);
5559 --color-pink-800: oklch(45.9% 0.187 3.815);
5560 --color-pink-900: oklch(40.8% 0.153 2.432);
5561 --color-pink-950: oklch(28.4% 0.109 3.907);
5562
5563 --color-rose-50: oklch(96.9% 0.015 12.422);
5564 --color-rose-100: oklch(94.1% 0.03 12.58);
5565 --color-rose-200: oklch(89.2% 0.058 10.001);
5566 --color-rose-300: oklch(81% 0.117 11.638);
5567 --color-rose-400: oklch(71.2% 0.194 13.428);
5568 --color-rose-500: oklch(64.5% 0.246 16.439);
5569 --color-rose-600: oklch(58.6% 0.253 17.585);
5570 --color-rose-700: oklch(51.4% 0.222 16.935);
5571 --color-rose-800: oklch(45.5% 0.188 13.697);
5572 --color-rose-900: oklch(41% 0.159 10.272);
5573 --color-rose-950: oklch(27.1% 0.105 12.094);
5574
5575 --color-slate-50: oklch(98.4% 0.003 247.858);
5576 --color-slate-100: oklch(96.8% 0.007 247.896);
5577 --color-slate-200: oklch(92.9% 0.013 255.508);
5578 --color-slate-300: oklch(86.9% 0.022 252.894);
5579 --color-slate-400: oklch(70.4% 0.04 256.788);
5580 --color-slate-500: oklch(55.4% 0.046 257.417);
5581 --color-slate-600: oklch(44.6% 0.043 257.281);
5582 --color-slate-700: oklch(37.2% 0.044 257.287);
5583 --color-slate-800: oklch(27.9% 0.041 260.031);
5584 --color-slate-900: oklch(20.8% 0.042 265.755);
5585 --color-slate-950: oklch(12.9% 0.042 264.695);
5586
5587 --color-gray-50: oklch(98.5% 0.002 247.839);
5588 --color-gray-100: oklch(96.7% 0.003 264.542);
5589 --color-gray-200: oklch(92.8% 0.006 264.531);
5590 --color-gray-300: oklch(87.2% 0.01 258.338);
5591 --color-gray-400: oklch(70.7% 0.022 261.325);
5592 --color-gray-500: oklch(55.1% 0.027 264.364);
5593 --color-gray-600: oklch(44.6% 0.03 256.802);
5594 --color-gray-700: oklch(37.3% 0.034 259.733);
5595 --color-gray-800: oklch(27.8% 0.033 256.848);
5596 --color-gray-900: oklch(21% 0.034 264.665);
5597 --color-gray-950: oklch(13% 0.028 261.692);
5598
5599 --color-zinc-50: oklch(98.5% 0 0);
5600 --color-zinc-100: oklch(96.7% 0.001 286.375);
5601 --color-zinc-200: oklch(92% 0.004 286.32);
5602 --color-zinc-300: oklch(87.1% 0.006 286.286);
5603 --color-zinc-400: oklch(70.5% 0.015 286.067);
5604 --color-zinc-500: oklch(55.2% 0.016 285.938);
5605 --color-zinc-600: oklch(44.2% 0.017 285.786);
5606 --color-zinc-700: oklch(37% 0.013 285.805);
5607 --color-zinc-800: oklch(27.4% 0.006 286.033);
5608 --color-zinc-900: oklch(21% 0.006 285.885);
5609 --color-zinc-950: oklch(14.1% 0.005 285.823);
5610
5611 --color-neutral-50: oklch(98.5% 0 0);
5612 --color-neutral-100: oklch(97% 0 0);
5613 --color-neutral-200: oklch(92.2% 0 0);
5614 --color-neutral-300: oklch(87% 0 0);
5615 --color-neutral-400: oklch(70.8% 0 0);
5616 --color-neutral-500: oklch(55.6% 0 0);
5617 --color-neutral-600: oklch(43.9% 0 0);
5618 --color-neutral-700: oklch(37.1% 0 0);
5619 --color-neutral-800: oklch(26.9% 0 0);
5620 --color-neutral-900: oklch(20.5% 0 0);
5621 --color-neutral-950: oklch(14.5% 0 0);
5622
5623 --color-stone-50: oklch(98.5% 0.001 106.423);
5624 --color-stone-100: oklch(97% 0.001 106.424);
5625 --color-stone-200: oklch(92.3% 0.003 48.717);
5626 --color-stone-300: oklch(86.9% 0.005 56.366);
5627 --color-stone-400: oklch(70.9% 0.01 56.259);
5628 --color-stone-500: oklch(55.3% 0.013 58.071);
5629 --color-stone-600: oklch(44.4% 0.011 73.639);
5630 --color-stone-700: oklch(37.4% 0.01 67.558);
5631 --color-stone-800: oklch(26.8% 0.007 34.298);
5632 --color-stone-900: oklch(21.6% 0.006 56.043);
5633 --color-stone-950: oklch(14.7% 0.004 49.25);
5634
5635 --color-mauve-50: oklch(98.5% 0 0);
5636 --color-mauve-100: oklch(96% 0.003 325.6);
5637 --color-mauve-200: oklch(92.2% 0.005 325.62);
5638 --color-mauve-300: oklch(86.5% 0.012 325.68);
5639 --color-mauve-400: oklch(71.1% 0.019 323.02);
5640 --color-mauve-500: oklch(54.2% 0.034 322.5);
5641 --color-mauve-600: oklch(43.5% 0.029 321.78);
5642 --color-mauve-700: oklch(36.4% 0.029 323.89);
5643 --color-mauve-800: oklch(26.3% 0.024 320.12);
5644 --color-mauve-900: oklch(21.2% 0.019 322.12);
5645 --color-mauve-950: oklch(14.5% 0.008 326);
5646
5647 --color-olive-50: oklch(98.8% 0.003 106.5);
5648 --color-olive-100: oklch(96.6% 0.005 106.5);
5649 --color-olive-200: oklch(93% 0.007 106.5);
5650 --color-olive-300: oklch(88% 0.011 106.6);
5651 --color-olive-400: oklch(73.7% 0.021 106.9);
5652 --color-olive-500: oklch(58% 0.031 107.3);
5653 --color-olive-600: oklch(46.6% 0.025 107.3);
5654 --color-olive-700: oklch(39.4% 0.023 107.4);
5655 --color-olive-800: oklch(28.6% 0.016 107.4);
5656 --color-olive-900: oklch(22.8% 0.013 107.4);
5657 --color-olive-950: oklch(15.3% 0.006 107.1);
5658
5659 --color-mist-50: oklch(98.7% 0.002 197.1);
5660 --color-mist-100: oklch(96.3% 0.002 197.1);
5661 --color-mist-200: oklch(92.5% 0.005 214.3);
5662 --color-mist-300: oklch(87.2% 0.007 219.6);
5663 --color-mist-400: oklch(72.3% 0.014 214.4);
5664 --color-mist-500: oklch(56% 0.021 213.5);
5665 --color-mist-600: oklch(45% 0.017 213.2);
5666 --color-mist-700: oklch(37.8% 0.015 216);
5667 --color-mist-800: oklch(27.5% 0.011 216.9);
5668 --color-mist-900: oklch(21.8% 0.008 223.9);
5669 --color-mist-950: oklch(14.8% 0.004 228.8);
5670
5671 --color-taupe-50: oklch(98.6% 0.002 67.8);
5672 --color-taupe-100: oklch(96% 0.002 17.2);
5673 --color-taupe-200: oklch(92.2% 0.005 34.3);
5674 --color-taupe-300: oklch(86.8% 0.007 39.5);
5675 --color-taupe-400: oklch(71.4% 0.014 41.2);
5676 --color-taupe-500: oklch(54.7% 0.021 43.1);
5677 --color-taupe-600: oklch(43.8% 0.017 39.3);
5678 --color-taupe-700: oklch(36.7% 0.016 35.7);
5679 --color-taupe-800: oklch(26.8% 0.011 36.5);
5680 --color-taupe-900: oklch(21.4% 0.009 43.1);
5681 --color-taupe-950: oklch(14.7% 0.004 49.3);
5682
5683 --color-black: #000;
5684 --color-white: #fff;
5685
5686 --spacing: 0.25rem;
5687
5688 --breakpoint-sm: 40rem;
5689 --breakpoint-md: 48rem;
5690 --breakpoint-lg: 64rem;
5691 --breakpoint-xl: 80rem;
5692 --breakpoint-2xl: 96rem;
5693
5694 --container-3xs: 16rem;
5695 --container-2xs: 18rem;
5696 --container-xs: 20rem;
5697 --container-sm: 24rem;
5698 --container-md: 28rem;
5699 --container-lg: 32rem;
5700 --container-xl: 36rem;
5701 --container-2xl: 42rem;
5702 --container-3xl: 48rem;
5703 --container-4xl: 56rem;
5704 --container-5xl: 64rem;
5705 --container-6xl: 72rem;
5706 --container-7xl: 80rem;
5707
5708 --text-xs: 0.75rem;
5709 --text-xs--line-height: calc(1 / 0.75);
5710 --text-sm: 0.875rem;
5711 --text-sm--line-height: calc(1.25 / 0.875);
5712 --text-base: 1rem;
5713 --text-base--line-height: calc(1.5 / 1);
5714 --text-lg: 1.125rem;
5715 --text-lg--line-height: calc(1.75 / 1.125);
5716 --text-xl: 1.25rem;
5717 --text-xl--line-height: calc(1.75 / 1.25);
5718 --text-2xl: 1.5rem;
5719 --text-2xl--line-height: calc(2 / 1.5);
5720 --text-3xl: 1.875rem;
5721 --text-3xl--line-height: calc(2.25 / 1.875);
5722 --text-4xl: 2.25rem;
5723 --text-4xl--line-height: calc(2.5 / 2.25);
5724 --text-5xl: 3rem;
5725 --text-5xl--line-height: 1;
5726 --text-6xl: 3.75rem;
5727 --text-6xl--line-height: 1;
5728 --text-7xl: 4.5rem;
5729 --text-7xl--line-height: 1;
5730 --text-8xl: 6rem;
5731 --text-8xl--line-height: 1;
5732 --text-9xl: 8rem;
5733 --text-9xl--line-height: 1;
5734
5735 --font-weight-thin: 100;
5736 --font-weight-extralight: 200;
5737 --font-weight-light: 300;
5738 --font-weight-normal: 400;
5739 --font-weight-medium: 500;
5740 --font-weight-semibold: 600;
5741 --font-weight-bold: 700;
5742 --font-weight-extrabold: 800;
5743 --font-weight-black: 900;
5744
5745 --tracking-tighter: -0.05em;
5746 --tracking-tight: -0.025em;
5747 --tracking-normal: 0em;
5748 --tracking-wide: 0.025em;
5749 --tracking-wider: 0.05em;
5750 --tracking-widest: 0.1em;
5751
5752 --leading-tight: 1.25;
5753 --leading-snug: 1.375;
5754 --leading-normal: 1.5;
5755 --leading-relaxed: 1.625;
5756 --leading-loose: 2;
5757
5758 --radius-xs: 0.125rem;
5759 --radius-sm: 0.25rem;
5760 --radius-md: 0.375rem;
5761 --radius-lg: 0.5rem;
5762 --radius-xl: 0.75rem;
5763 --radius-2xl: 1rem;
5764 --radius-3xl: 1.5rem;
5765 --radius-4xl: 2rem;
5766
5767 --shadow-2xs: 0 1px rgb(0 0 0 / 0.05);
5768 --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
5769 --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
5770 --shadow-md:
5771 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
5772 --shadow-lg:
5773 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
5774 --shadow-xl:
5775 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
5776 --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
5777
5778 --inset-shadow-2xs: inset 0 1px rgb(0 0 0 / 0.05);
5779 --inset-shadow-xs: inset 0 1px 1px rgb(0 0 0 / 0.05);
5780 --inset-shadow-sm: inset 0 2px 4px rgb(0 0 0 / 0.05);
5781
5782 --drop-shadow-xs: 0 1px 1px rgb(0 0 0 / 0.05);
5783 --drop-shadow-sm: 0 1px 2px rgb(0 0 0 / 0.15);
5784 --drop-shadow-md: 0 3px 3px rgb(0 0 0 / 0.12);
5785 --drop-shadow-lg: 0 4px 4px rgb(0 0 0 / 0.15);
5786 --drop-shadow-xl: 0 9px 7px rgb(0 0 0 / 0.1);
5787 --drop-shadow-2xl: 0 25px 25px rgb(0 0 0 / 0.15);
5788
5789 --text-shadow-2xs: 0px 1px 0px rgb(0 0 0 / 0.15);
5790 --text-shadow-xs: 0px 1px 1px rgb(0 0 0 / 0.2);
5791 --text-shadow-sm:
5792 0px 1px 0px rgb(0 0 0 / 0.075), 0px 1px 1px rgb(0 0 0 / 0.075),
5793 0px 2px 2px rgb(0 0 0 / 0.075);
5794 --text-shadow-md:
5795 0px 1px 1px rgb(0 0 0 / 0.1), 0px 1px 2px rgb(0 0 0 / 0.1),
5796 0px 2px 4px rgb(0 0 0 / 0.1);
5797 --text-shadow-lg:
5798 0px 1px 2px rgb(0 0 0 / 0.1), 0px 3px 2px rgb(0 0 0 / 0.1),
5799 0px 4px 8px rgb(0 0 0 / 0.1);
5800
5801 --ease-in: cubic-bezier(0.4, 0, 1, 1);
5802 --ease-out: cubic-bezier(0, 0, 0.2, 1);
5803 --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
5804
5805 --animate-spin: spin 1s linear infinite;
5806 --animate-ping: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
5807 --animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
5808 --animate-bounce: bounce 1s infinite;
5809
5810 @keyframes spin {
5811 to {
5812 transform: rotate(360deg);
5813 }
5814 }
5815
5816 @keyframes ping {
5817 75%,
5818 100% {
5819 transform: scale(2);
5820 opacity: 0;
5821 }
5822 }
5823
5824 @keyframes pulse {
5825 50% {
5826 opacity: 0.5;
5827 }
5828 }
5829
5830 @keyframes bounce {
5831 0%,
5832 100% {
5833 transform: translateY(-25%);
5834 animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
5835 }
5836
5837 50% {
5838 transform: none;
5839 animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
5840 }
5841 }
5842
5843 --blur-xs: 4px;
5844 --blur-sm: 8px;
5845 --blur-md: 12px;
5846 --blur-lg: 16px;
5847 --blur-xl: 24px;
5848 --blur-2xl: 40px;
5849 --blur-3xl: 64px;
5850
5851 --perspective-dramatic: 100px;
5852 --perspective-near: 300px;
5853 --perspective-normal: 500px;
5854 --perspective-midrange: 800px;
5855 --perspective-distant: 1200px;
5856
5857 --aspect-video: 16 / 9;
5858
5859 --default-transition-duration: 150ms;
5860 --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
5861 --default-font-family: --theme(--font-sans, initial);
5862 --default-font-feature-settings: --theme(
5863 --font-sans--font-feature-settings,
5864 initial
5865 );
5866 --default-font-variation-settings: --theme(
5867 --font-sans--font-variation-settings,
5868 initial
5869 );
5870 --default-mono-font-family: --theme(--font-mono, initial);
5871 --default-mono-font-feature-settings: --theme(
5872 --font-mono--font-feature-settings,
5873 initial
5874 );
5875 --default-mono-font-variation-settings: --theme(
5876 --font-mono--font-variation-settings,
5877 initial
5878 );
5879 }
5880
5881 /* Deprecated */
5882 @theme default inline reference {
5883 --blur: 8px;
5884 --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
5885 --shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);
5886 --drop-shadow: 0 1px 2px rgb(0 0 0 / 0.1), 0 1px 1px rgb(0 0 0 / 0.06);
5887 --radius: 0.25rem;
5888 --max-width-prose: 65ch;
5889 }
5890 }
5891
5892 @layer base {
5893 /*
5894 1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
5895 2. Remove default margins and padding
5896 3. Reset all borders.
5897 */
5898
5899 *,
5900 ::after,
5901 ::before,
5902 ::backdrop,
5903 ::file-selector-button {
5904 box-sizing: border-box; /* 1 */
5905 margin: 0; /* 2 */
5906 padding: 0; /* 2 */
5907 border: 0 solid; /* 3 */
5908 }
5909
5910 /*
5911 1. Use a consistent sensible line-height in all browsers.
5912 2. Prevent adjustments of font size after orientation changes in iOS.
5913 3. Use a more readable tab size.
5914 4. Use the user's configured \`sans\` font-family by default.
5915 5. Use the user's configured \`sans\` font-feature-settings by default.
5916 6. Use the user's configured \`sans\` font-variation-settings by default.
5917 7. Disable tap highlights on iOS.
5918 */
5919
5920 html,
5921 :host {
5922 line-height: 1.5; /* 1 */
5923 -webkit-text-size-adjust: 100%; /* 2 */
5924 tab-size: 4; /* 3 */
5925 font-family: --theme(
5926 --default-font-family,
5927 ui-sans-serif,
5928 system-ui,
5929 sans-serif,
5930 "Apple Color Emoji",
5931 "Segoe UI Emoji",
5932 "Segoe UI Symbol",
5933 "Noto Color Emoji"
5934 ); /* 4 */
5935 font-feature-settings: --theme(
5936 --default-font-feature-settings,
5937 normal
5938 ); /* 5 */
5939 font-variation-settings: --theme(
5940 --default-font-variation-settings,
5941 normal
5942 ); /* 6 */
5943 -webkit-tap-highlight-color: transparent; /* 7 */
5944 }
5945
5946 /*
5947 1. Add the correct height in Firefox.
5948 2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
5949 3. Reset the default border style to a 1px solid border.
5950 */
5951
5952 hr {
5953 height: 0; /* 1 */
5954 color: inherit; /* 2 */
5955 border-top-width: 1px; /* 3 */
5956 }
5957
5958 /*
5959 Add the correct text decoration in Chrome, Edge, and Safari.
5960 */
5961
5962 abbr:where([title]) {
5963 -webkit-text-decoration: underline dotted;
5964 text-decoration: underline dotted;
5965 }
5966
5967 /*
5968 Remove the default font size and weight for headings.
5969 */
5970
5971 h1,
5972 h2,
5973 h3,
5974 h4,
5975 h5,
5976 h6 {
5977 font-size: inherit;
5978 font-weight: inherit;
5979 }
5980
5981 /*
5982 Reset links to optimize for opt-in styling instead of opt-out.
5983 */
5984
5985 a {
5986 color: inherit;
5987 -webkit-text-decoration: inherit;
5988 text-decoration: inherit;
5989 }
5990
5991 /*
5992 Add the correct font weight in Edge and Safari.
5993 */
5994
5995 b,
5996 strong {
5997 font-weight: bolder;
5998 }
5999
6000 /*
6001 1. Use the user's configured \`mono\` font-family by default.
6002 2. Use the user's configured \`mono\` font-feature-settings by default.
6003 3. Use the user's configured \`mono\` font-variation-settings by default.
6004 4. Correct the odd \`em\` font sizing in all browsers.
6005 */
6006
6007 code,
6008 kbd,
6009 samp,
6010 pre {
6011 font-family: --theme(
6012 --default-mono-font-family,
6013 ui-monospace,
6014 SFMono-Regular,
6015 Menlo,
6016 Monaco,
6017 Consolas,
6018 "Liberation Mono",
6019 "Courier New",
6020 monospace
6021 ); /* 1 */
6022 font-feature-settings: --theme(
6023 --default-mono-font-feature-settings,
6024 normal
6025 ); /* 2 */
6026 font-variation-settings: --theme(
6027 --default-mono-font-variation-settings,
6028 normal
6029 ); /* 3 */
6030 font-size: 1em; /* 4 */
6031 }
6032
6033 /*
6034 Add the correct font size in all browsers.
6035 */
6036
6037 small {
6038 font-size: 80%;
6039 }
6040
6041 /*
6042 Prevent \`sub\` and \`sup\` elements from affecting the line height in all browsers.
6043 */
6044
6045 sub,
6046 sup {
6047 font-size: 75%;
6048 line-height: 0;
6049 position: relative;
6050 vertical-align: baseline;
6051 }
6052
6053 sub {
6054 bottom: -0.25em;
6055 }
6056
6057 sup {
6058 top: -0.5em;
6059 }
6060
6061 /*
6062 1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
6063 2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
6064 3. Remove gaps between table borders by default.
6065 */
6066
6067 table {
6068 text-indent: 0; /* 1 */
6069 border-color: inherit; /* 2 */
6070 border-collapse: collapse; /* 3 */
6071 }
6072
6073 /*
6074 Use the modern Firefox focus style for all focusable elements.
6075 */
6076
6077 :-moz-focusring {
6078 outline: auto;
6079 }
6080
6081 /*
6082 Add the correct vertical alignment in Chrome and Firefox.
6083 */
6084
6085 progress {
6086 vertical-align: baseline;
6087 }
6088
6089 /*
6090 Add the correct display in Chrome and Safari.
6091 */
6092
6093 summary {
6094 display: list-item;
6095 }
6096
6097 /*
6098 Make lists unstyled by default.
6099 */
6100
6101 ol,
6102 ul,
6103 menu {
6104 list-style: none;
6105 }
6106
6107 /*
6108 1. Make replaced elements \`display: block\` by default. (https://github.com/mozdevs/cssremedy/issues/14)
6109 2. Add \`vertical-align: middle\` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
6110 This can trigger a poorly considered lint error in some tools but is included by design.
6111 */
6112
6113 img,
6114 svg,
6115 video,
6116 canvas,
6117 audio,
6118 iframe,
6119 embed,
6120 object {
6121 display: block; /* 1 */
6122 vertical-align: middle; /* 2 */
6123 }
6124
6125 /*
6126 Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
6127 */
6128
6129 img,
6130 video {
6131 max-width: 100%;
6132 height: auto;
6133 }
6134
6135 /*
6136 1. Inherit font styles in all browsers.
6137 2. Remove border radius in all browsers.
6138 3. Remove background color in all browsers.
6139 4. Ensure consistent opacity for disabled states in all browsers.
6140 */
6141
6142 button,
6143 input,
6144 select,
6145 optgroup,
6146 textarea,
6147 ::file-selector-button {
6148 font: inherit; /* 1 */
6149 font-feature-settings: inherit; /* 1 */
6150 font-variation-settings: inherit; /* 1 */
6151 letter-spacing: inherit; /* 1 */
6152 color: inherit; /* 1 */
6153 border-radius: 0; /* 2 */
6154 background-color: transparent; /* 3 */
6155 opacity: 1; /* 4 */
6156 }
6157
6158 /*
6159 Restore default font weight.
6160 */
6161
6162 :where(select:is([multiple], [size])) optgroup {
6163 font-weight: bolder;
6164 }
6165
6166 /*
6167 Restore indentation.
6168 */
6169
6170 :where(select:is([multiple], [size])) optgroup option {
6171 padding-inline-start: 20px;
6172 }
6173
6174 /*
6175 Restore space after button.
6176 */
6177
6178 ::file-selector-button {
6179 margin-inline-end: 4px;
6180 }
6181
6182 /*
6183 Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
6184 */
6185
6186 ::placeholder {
6187 opacity: 1;
6188 }
6189
6190 /*
6191 Set the default placeholder color to a semi-transparent version of the current text color in browsers that do not
6192 crash when using \`color-mix(\u2026)\` with \`currentcolor\`. (https://github.com/tailwindlabs/tailwindcss/issues/17194)
6193 */
6194
6195 @supports (not (-webkit-appearance: -apple-pay-button)) /* Not Safari */ or
6196 (contain-intrinsic-size: 1px) /* Safari 17+ */ {
6197 ::placeholder {
6198 color: color-mix(in oklab, currentcolor 50%, transparent);
6199 }
6200 }
6201
6202 /*
6203 Prevent resizing textareas horizontally by default.
6204 */
6205
6206 textarea {
6207 resize: vertical;
6208 }
6209
6210 /*
6211 Remove the inner padding in Chrome and Safari on macOS.
6212 */
6213
6214 ::-webkit-search-decoration {
6215 -webkit-appearance: none;
6216 }
6217
6218 /*
6219 1. Ensure date/time inputs have the same height when empty in iOS Safari.
6220 2. Ensure text alignment can be changed on date/time inputs in iOS Safari.
6221 */
6222
6223 ::-webkit-date-and-time-value {
6224 min-height: 1lh; /* 1 */
6225 text-align: inherit; /* 2 */
6226 }
6227
6228 /*
6229 Prevent height from changing on date/time inputs in macOS Safari when the input is set to \`display: block\`.
6230 */
6231
6232 ::-webkit-datetime-edit {
6233 display: inline-flex;
6234 }
6235
6236 /*
6237 Remove excess padding from pseudo-elements in date/time inputs to ensure consistent height across browsers.
6238 */
6239
6240 ::-webkit-datetime-edit-fields-wrapper {
6241 padding: 0;
6242 }
6243
6244 ::-webkit-datetime-edit,
6245 ::-webkit-datetime-edit-year-field,
6246 ::-webkit-datetime-edit-month-field,
6247 ::-webkit-datetime-edit-day-field,
6248 ::-webkit-datetime-edit-hour-field,
6249 ::-webkit-datetime-edit-minute-field,
6250 ::-webkit-datetime-edit-second-field,
6251 ::-webkit-datetime-edit-millisecond-field,
6252 ::-webkit-datetime-edit-meridiem-field {
6253 padding-block: 0;
6254 }
6255
6256 /*
6257 Center dropdown marker shown on inputs with paired \`<datalist>\`s in Chrome. (https://github.com/tailwindlabs/tailwindcss/issues/18499)
6258 */
6259
6260 ::-webkit-calendar-picker-indicator {
6261 line-height: 1;
6262 }
6263
6264 /*
6265 Remove the additional \`:invalid\` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
6266 */
6267
6268 :-moz-ui-invalid {
6269 box-shadow: none;
6270 }
6271
6272 /*
6273 Correct the inability to style the border radius in iOS Safari.
6274 */
6275
6276 button,
6277 input:where([type="button"], [type="reset"], [type="submit"]),
6278 ::file-selector-button {
6279 appearance: button;
6280 }
6281
6282 /*
6283 Correct the cursor style of increment and decrement buttons in Safari.
6284 */
6285
6286 ::-webkit-inner-spin-button,
6287 ::-webkit-outer-spin-button {
6288 height: auto;
6289 }
6290
6291 /*
6292 Make elements with the HTML hidden attribute stay hidden by default.
6293 */
6294
6295 [hidden]:where(:not([hidden="until-found"])) {
6296 display: none !important;
6297 }
6298 }
6299
6300 @layer utilities {
6301 @tailwind utilities;
6302 }
6303 `, "/tailwindcss/theme.css": `@theme default {
6304 --font-sans:
6305 ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
6306 'Noto Color Emoji';
6307 --font-serif: ui-serif, Georgia, Cambria, 'Times New Roman', Times, serif;
6308 --font-mono:
6309 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New',
6310 monospace;
6311
6312 --color-red-50: oklch(97.1% 0.013 17.38);
6313 --color-red-100: oklch(93.6% 0.032 17.717);
6314 --color-red-200: oklch(88.5% 0.062 18.334);
6315 --color-red-300: oklch(80.8% 0.114 19.571);
6316 --color-red-400: oklch(70.4% 0.191 22.216);
6317 --color-red-500: oklch(63.7% 0.237 25.331);
6318 --color-red-600: oklch(57.7% 0.245 27.325);
6319 --color-red-700: oklch(50.5% 0.213 27.518);
6320 --color-red-800: oklch(44.4% 0.177 26.899);
6321 --color-red-900: oklch(39.6% 0.141 25.723);
6322 --color-red-950: oklch(25.8% 0.092 26.042);
6323
6324 --color-orange-50: oklch(98% 0.016 73.684);
6325 --color-orange-100: oklch(95.4% 0.038 75.164);
6326 --color-orange-200: oklch(90.1% 0.076 70.697);
6327 --color-orange-300: oklch(83.7% 0.128 66.29);
6328 --color-orange-400: oklch(75% 0.183 55.934);
6329 --color-orange-500: oklch(70.5% 0.213 47.604);
6330 --color-orange-600: oklch(64.6% 0.222 41.116);
6331 --color-orange-700: oklch(55.3% 0.195 38.402);
6332 --color-orange-800: oklch(47% 0.157 37.304);
6333 --color-orange-900: oklch(40.8% 0.123 38.172);
6334 --color-orange-950: oklch(26.6% 0.079 36.259);
6335
6336 --color-amber-50: oklch(98.7% 0.022 95.277);
6337 --color-amber-100: oklch(96.2% 0.059 95.617);
6338 --color-amber-200: oklch(92.4% 0.12 95.746);
6339 --color-amber-300: oklch(87.9% 0.169 91.605);
6340 --color-amber-400: oklch(82.8% 0.189 84.429);
6341 --color-amber-500: oklch(76.9% 0.188 70.08);
6342 --color-amber-600: oklch(66.6% 0.179 58.318);
6343 --color-amber-700: oklch(55.5% 0.163 48.998);
6344 --color-amber-800: oklch(47.3% 0.137 46.201);
6345 --color-amber-900: oklch(41.4% 0.112 45.904);
6346 --color-amber-950: oklch(27.9% 0.077 45.635);
6347
6348 --color-yellow-50: oklch(98.7% 0.026 102.212);
6349 --color-yellow-100: oklch(97.3% 0.071 103.193);
6350 --color-yellow-200: oklch(94.5% 0.129 101.54);
6351 --color-yellow-300: oklch(90.5% 0.182 98.111);
6352 --color-yellow-400: oklch(85.2% 0.199 91.936);
6353 --color-yellow-500: oklch(79.5% 0.184 86.047);
6354 --color-yellow-600: oklch(68.1% 0.162 75.834);
6355 --color-yellow-700: oklch(55.4% 0.135 66.442);
6356 --color-yellow-800: oklch(47.6% 0.114 61.907);
6357 --color-yellow-900: oklch(42.1% 0.095 57.708);
6358 --color-yellow-950: oklch(28.6% 0.066 53.813);
6359
6360 --color-lime-50: oklch(98.6% 0.031 120.757);
6361 --color-lime-100: oklch(96.7% 0.067 122.328);
6362 --color-lime-200: oklch(93.8% 0.127 124.321);
6363 --color-lime-300: oklch(89.7% 0.196 126.665);
6364 --color-lime-400: oklch(84.1% 0.238 128.85);
6365 --color-lime-500: oklch(76.8% 0.233 130.85);
6366 --color-lime-600: oklch(64.8% 0.2 131.684);
6367 --color-lime-700: oklch(53.2% 0.157 131.589);
6368 --color-lime-800: oklch(45.3% 0.124 130.933);
6369 --color-lime-900: oklch(40.5% 0.101 131.063);
6370 --color-lime-950: oklch(27.4% 0.072 132.109);
6371
6372 --color-green-50: oklch(98.2% 0.018 155.826);
6373 --color-green-100: oklch(96.2% 0.044 156.743);
6374 --color-green-200: oklch(92.5% 0.084 155.995);
6375 --color-green-300: oklch(87.1% 0.15 154.449);
6376 --color-green-400: oklch(79.2% 0.209 151.711);
6377 --color-green-500: oklch(72.3% 0.219 149.579);
6378 --color-green-600: oklch(62.7% 0.194 149.214);
6379 --color-green-700: oklch(52.7% 0.154 150.069);
6380 --color-green-800: oklch(44.8% 0.119 151.328);
6381 --color-green-900: oklch(39.3% 0.095 152.535);
6382 --color-green-950: oklch(26.6% 0.065 152.934);
6383
6384 --color-emerald-50: oklch(97.9% 0.021 166.113);
6385 --color-emerald-100: oklch(95% 0.052 163.051);
6386 --color-emerald-200: oklch(90.5% 0.093 164.15);
6387 --color-emerald-300: oklch(84.5% 0.143 164.978);
6388 --color-emerald-400: oklch(76.5% 0.177 163.223);
6389 --color-emerald-500: oklch(69.6% 0.17 162.48);
6390 --color-emerald-600: oklch(59.6% 0.145 163.225);
6391 --color-emerald-700: oklch(50.8% 0.118 165.612);
6392 --color-emerald-800: oklch(43.2% 0.095 166.913);
6393 --color-emerald-900: oklch(37.8% 0.077 168.94);
6394 --color-emerald-950: oklch(26.2% 0.051 172.552);
6395
6396 --color-teal-50: oklch(98.4% 0.014 180.72);
6397 --color-teal-100: oklch(95.3% 0.051 180.801);
6398 --color-teal-200: oklch(91% 0.096 180.426);
6399 --color-teal-300: oklch(85.5% 0.138 181.071);
6400 --color-teal-400: oklch(77.7% 0.152 181.912);
6401 --color-teal-500: oklch(70.4% 0.14 182.503);
6402 --color-teal-600: oklch(60% 0.118 184.704);
6403 --color-teal-700: oklch(51.1% 0.096 186.391);
6404 --color-teal-800: oklch(43.7% 0.078 188.216);
6405 --color-teal-900: oklch(38.6% 0.063 188.416);
6406 --color-teal-950: oklch(27.7% 0.046 192.524);
6407
6408 --color-cyan-50: oklch(98.4% 0.019 200.873);
6409 --color-cyan-100: oklch(95.6% 0.045 203.388);
6410 --color-cyan-200: oklch(91.7% 0.08 205.041);
6411 --color-cyan-300: oklch(86.5% 0.127 207.078);
6412 --color-cyan-400: oklch(78.9% 0.154 211.53);
6413 --color-cyan-500: oklch(71.5% 0.143 215.221);
6414 --color-cyan-600: oklch(60.9% 0.126 221.723);
6415 --color-cyan-700: oklch(52% 0.105 223.128);
6416 --color-cyan-800: oklch(45% 0.085 224.283);
6417 --color-cyan-900: oklch(39.8% 0.07 227.392);
6418 --color-cyan-950: oklch(30.2% 0.056 229.695);
6419
6420 --color-sky-50: oklch(97.7% 0.013 236.62);
6421 --color-sky-100: oklch(95.1% 0.026 236.824);
6422 --color-sky-200: oklch(90.1% 0.058 230.902);
6423 --color-sky-300: oklch(82.8% 0.111 230.318);
6424 --color-sky-400: oklch(74.6% 0.16 232.661);
6425 --color-sky-500: oklch(68.5% 0.169 237.323);
6426 --color-sky-600: oklch(58.8% 0.158 241.966);
6427 --color-sky-700: oklch(50% 0.134 242.749);
6428 --color-sky-800: oklch(44.3% 0.11 240.79);
6429 --color-sky-900: oklch(39.1% 0.09 240.876);
6430 --color-sky-950: oklch(29.3% 0.066 243.157);
6431
6432 --color-blue-50: oklch(97% 0.014 254.604);
6433 --color-blue-100: oklch(93.2% 0.032 255.585);
6434 --color-blue-200: oklch(88.2% 0.059 254.128);
6435 --color-blue-300: oklch(80.9% 0.105 251.813);
6436 --color-blue-400: oklch(70.7% 0.165 254.624);
6437 --color-blue-500: oklch(62.3% 0.214 259.815);
6438 --color-blue-600: oklch(54.6% 0.245 262.881);
6439 --color-blue-700: oklch(48.8% 0.243 264.376);
6440 --color-blue-800: oklch(42.4% 0.199 265.638);
6441 --color-blue-900: oklch(37.9% 0.146 265.522);
6442 --color-blue-950: oklch(28.2% 0.091 267.935);
6443
6444 --color-indigo-50: oklch(96.2% 0.018 272.314);
6445 --color-indigo-100: oklch(93% 0.034 272.788);
6446 --color-indigo-200: oklch(87% 0.065 274.039);
6447 --color-indigo-300: oklch(78.5% 0.115 274.713);
6448 --color-indigo-400: oklch(67.3% 0.182 276.935);
6449 --color-indigo-500: oklch(58.5% 0.233 277.117);
6450 --color-indigo-600: oklch(51.1% 0.262 276.966);
6451 --color-indigo-700: oklch(45.7% 0.24 277.023);
6452 --color-indigo-800: oklch(39.8% 0.195 277.366);
6453 --color-indigo-900: oklch(35.9% 0.144 278.697);
6454 --color-indigo-950: oklch(25.7% 0.09 281.288);
6455
6456 --color-violet-50: oklch(96.9% 0.016 293.756);
6457 --color-violet-100: oklch(94.3% 0.029 294.588);
6458 --color-violet-200: oklch(89.4% 0.057 293.283);
6459 --color-violet-300: oklch(81.1% 0.111 293.571);
6460 --color-violet-400: oklch(70.2% 0.183 293.541);
6461 --color-violet-500: oklch(60.6% 0.25 292.717);
6462 --color-violet-600: oklch(54.1% 0.281 293.009);
6463 --color-violet-700: oklch(49.1% 0.27 292.581);
6464 --color-violet-800: oklch(43.2% 0.232 292.759);
6465 --color-violet-900: oklch(38% 0.189 293.745);
6466 --color-violet-950: oklch(28.3% 0.141 291.089);
6467
6468 --color-purple-50: oklch(97.7% 0.014 308.299);
6469 --color-purple-100: oklch(94.6% 0.033 307.174);
6470 --color-purple-200: oklch(90.2% 0.063 306.703);
6471 --color-purple-300: oklch(82.7% 0.119 306.383);
6472 --color-purple-400: oklch(71.4% 0.203 305.504);
6473 --color-purple-500: oklch(62.7% 0.265 303.9);
6474 --color-purple-600: oklch(55.8% 0.288 302.321);
6475 --color-purple-700: oklch(49.6% 0.265 301.924);
6476 --color-purple-800: oklch(43.8% 0.218 303.724);
6477 --color-purple-900: oklch(38.1% 0.176 304.987);
6478 --color-purple-950: oklch(29.1% 0.149 302.717);
6479
6480 --color-fuchsia-50: oklch(97.7% 0.017 320.058);
6481 --color-fuchsia-100: oklch(95.2% 0.037 318.852);
6482 --color-fuchsia-200: oklch(90.3% 0.076 319.62);
6483 --color-fuchsia-300: oklch(83.3% 0.145 321.434);
6484 --color-fuchsia-400: oklch(74% 0.238 322.16);
6485 --color-fuchsia-500: oklch(66.7% 0.295 322.15);
6486 --color-fuchsia-600: oklch(59.1% 0.293 322.896);
6487 --color-fuchsia-700: oklch(51.8% 0.253 323.949);
6488 --color-fuchsia-800: oklch(45.2% 0.211 324.591);
6489 --color-fuchsia-900: oklch(40.1% 0.17 325.612);
6490 --color-fuchsia-950: oklch(29.3% 0.136 325.661);
6491
6492 --color-pink-50: oklch(97.1% 0.014 343.198);
6493 --color-pink-100: oklch(94.8% 0.028 342.258);
6494 --color-pink-200: oklch(89.9% 0.061 343.231);
6495 --color-pink-300: oklch(82.3% 0.12 346.018);
6496 --color-pink-400: oklch(71.8% 0.202 349.761);
6497 --color-pink-500: oklch(65.6% 0.241 354.308);
6498 --color-pink-600: oklch(59.2% 0.249 0.584);
6499 --color-pink-700: oklch(52.5% 0.223 3.958);
6500 --color-pink-800: oklch(45.9% 0.187 3.815);
6501 --color-pink-900: oklch(40.8% 0.153 2.432);
6502 --color-pink-950: oklch(28.4% 0.109 3.907);
6503
6504 --color-rose-50: oklch(96.9% 0.015 12.422);
6505 --color-rose-100: oklch(94.1% 0.03 12.58);
6506 --color-rose-200: oklch(89.2% 0.058 10.001);
6507 --color-rose-300: oklch(81% 0.117 11.638);
6508 --color-rose-400: oklch(71.2% 0.194 13.428);
6509 --color-rose-500: oklch(64.5% 0.246 16.439);
6510 --color-rose-600: oklch(58.6% 0.253 17.585);
6511 --color-rose-700: oklch(51.4% 0.222 16.935);
6512 --color-rose-800: oklch(45.5% 0.188 13.697);
6513 --color-rose-900: oklch(41% 0.159 10.272);
6514 --color-rose-950: oklch(27.1% 0.105 12.094);
6515
6516 --color-slate-50: oklch(98.4% 0.003 247.858);
6517 --color-slate-100: oklch(96.8% 0.007 247.896);
6518 --color-slate-200: oklch(92.9% 0.013 255.508);
6519 --color-slate-300: oklch(86.9% 0.022 252.894);
6520 --color-slate-400: oklch(70.4% 0.04 256.788);
6521 --color-slate-500: oklch(55.4% 0.046 257.417);
6522 --color-slate-600: oklch(44.6% 0.043 257.281);
6523 --color-slate-700: oklch(37.2% 0.044 257.287);
6524 --color-slate-800: oklch(27.9% 0.041 260.031);
6525 --color-slate-900: oklch(20.8% 0.042 265.755);
6526 --color-slate-950: oklch(12.9% 0.042 264.695);
6527
6528 --color-gray-50: oklch(98.5% 0.002 247.839);
6529 --color-gray-100: oklch(96.7% 0.003 264.542);
6530 --color-gray-200: oklch(92.8% 0.006 264.531);
6531 --color-gray-300: oklch(87.2% 0.01 258.338);
6532 --color-gray-400: oklch(70.7% 0.022 261.325);
6533 --color-gray-500: oklch(55.1% 0.027 264.364);
6534 --color-gray-600: oklch(44.6% 0.03 256.802);
6535 --color-gray-700: oklch(37.3% 0.034 259.733);
6536 --color-gray-800: oklch(27.8% 0.033 256.848);
6537 --color-gray-900: oklch(21% 0.034 264.665);
6538 --color-gray-950: oklch(13% 0.028 261.692);
6539
6540 --color-zinc-50: oklch(98.5% 0 0);
6541 --color-zinc-100: oklch(96.7% 0.001 286.375);
6542 --color-zinc-200: oklch(92% 0.004 286.32);
6543 --color-zinc-300: oklch(87.1% 0.006 286.286);
6544 --color-zinc-400: oklch(70.5% 0.015 286.067);
6545 --color-zinc-500: oklch(55.2% 0.016 285.938);
6546 --color-zinc-600: oklch(44.2% 0.017 285.786);
6547 --color-zinc-700: oklch(37% 0.013 285.805);
6548 --color-zinc-800: oklch(27.4% 0.006 286.033);
6549 --color-zinc-900: oklch(21% 0.006 285.885);
6550 --color-zinc-950: oklch(14.1% 0.005 285.823);
6551
6552 --color-neutral-50: oklch(98.5% 0 0);
6553 --color-neutral-100: oklch(97% 0 0);
6554 --color-neutral-200: oklch(92.2% 0 0);
6555 --color-neutral-300: oklch(87% 0 0);
6556 --color-neutral-400: oklch(70.8% 0 0);
6557 --color-neutral-500: oklch(55.6% 0 0);
6558 --color-neutral-600: oklch(43.9% 0 0);
6559 --color-neutral-700: oklch(37.1% 0 0);
6560 --color-neutral-800: oklch(26.9% 0 0);
6561 --color-neutral-900: oklch(20.5% 0 0);
6562 --color-neutral-950: oklch(14.5% 0 0);
6563
6564 --color-stone-50: oklch(98.5% 0.001 106.423);
6565 --color-stone-100: oklch(97% 0.001 106.424);
6566 --color-stone-200: oklch(92.3% 0.003 48.717);
6567 --color-stone-300: oklch(86.9% 0.005 56.366);
6568 --color-stone-400: oklch(70.9% 0.01 56.259);
6569 --color-stone-500: oklch(55.3% 0.013 58.071);
6570 --color-stone-600: oklch(44.4% 0.011 73.639);
6571 --color-stone-700: oklch(37.4% 0.01 67.558);
6572 --color-stone-800: oklch(26.8% 0.007 34.298);
6573 --color-stone-900: oklch(21.6% 0.006 56.043);
6574 --color-stone-950: oklch(14.7% 0.004 49.25);
6575
6576 --color-mauve-50: oklch(98.5% 0 0);
6577 --color-mauve-100: oklch(96% 0.003 325.6);
6578 --color-mauve-200: oklch(92.2% 0.005 325.62);
6579 --color-mauve-300: oklch(86.5% 0.012 325.68);
6580 --color-mauve-400: oklch(71.1% 0.019 323.02);
6581 --color-mauve-500: oklch(54.2% 0.034 322.5);
6582 --color-mauve-600: oklch(43.5% 0.029 321.78);
6583 --color-mauve-700: oklch(36.4% 0.029 323.89);
6584 --color-mauve-800: oklch(26.3% 0.024 320.12);
6585 --color-mauve-900: oklch(21.2% 0.019 322.12);
6586 --color-mauve-950: oklch(14.5% 0.008 326);
6587
6588 --color-olive-50: oklch(98.8% 0.003 106.5);
6589 --color-olive-100: oklch(96.6% 0.005 106.5);
6590 --color-olive-200: oklch(93% 0.007 106.5);
6591 --color-olive-300: oklch(88% 0.011 106.6);
6592 --color-olive-400: oklch(73.7% 0.021 106.9);
6593 --color-olive-500: oklch(58% 0.031 107.3);
6594 --color-olive-600: oklch(46.6% 0.025 107.3);
6595 --color-olive-700: oklch(39.4% 0.023 107.4);
6596 --color-olive-800: oklch(28.6% 0.016 107.4);
6597 --color-olive-900: oklch(22.8% 0.013 107.4);
6598 --color-olive-950: oklch(15.3% 0.006 107.1);
6599
6600 --color-mist-50: oklch(98.7% 0.002 197.1);
6601 --color-mist-100: oklch(96.3% 0.002 197.1);
6602 --color-mist-200: oklch(92.5% 0.005 214.3);
6603 --color-mist-300: oklch(87.2% 0.007 219.6);
6604 --color-mist-400: oklch(72.3% 0.014 214.4);
6605 --color-mist-500: oklch(56% 0.021 213.5);
6606 --color-mist-600: oklch(45% 0.017 213.2);
6607 --color-mist-700: oklch(37.8% 0.015 216);
6608 --color-mist-800: oklch(27.5% 0.011 216.9);
6609 --color-mist-900: oklch(21.8% 0.008 223.9);
6610 --color-mist-950: oklch(14.8% 0.004 228.8);
6611
6612 --color-taupe-50: oklch(98.6% 0.002 67.8);
6613 --color-taupe-100: oklch(96% 0.002 17.2);
6614 --color-taupe-200: oklch(92.2% 0.005 34.3);
6615 --color-taupe-300: oklch(86.8% 0.007 39.5);
6616 --color-taupe-400: oklch(71.4% 0.014 41.2);
6617 --color-taupe-500: oklch(54.7% 0.021 43.1);
6618 --color-taupe-600: oklch(43.8% 0.017 39.3);
6619 --color-taupe-700: oklch(36.7% 0.016 35.7);
6620 --color-taupe-800: oklch(26.8% 0.011 36.5);
6621 --color-taupe-900: oklch(21.4% 0.009 43.1);
6622 --color-taupe-950: oklch(14.7% 0.004 49.3);
6623
6624 --color-black: #000;
6625 --color-white: #fff;
6626
6627 --spacing: 0.25rem;
6628
6629 --breakpoint-sm: 40rem;
6630 --breakpoint-md: 48rem;
6631 --breakpoint-lg: 64rem;
6632 --breakpoint-xl: 80rem;
6633 --breakpoint-2xl: 96rem;
6634
6635 --container-3xs: 16rem;
6636 --container-2xs: 18rem;
6637 --container-xs: 20rem;
6638 --container-sm: 24rem;
6639 --container-md: 28rem;
6640 --container-lg: 32rem;
6641 --container-xl: 36rem;
6642 --container-2xl: 42rem;
6643 --container-3xl: 48rem;
6644 --container-4xl: 56rem;
6645 --container-5xl: 64rem;
6646 --container-6xl: 72rem;
6647 --container-7xl: 80rem;
6648
6649 --text-xs: 0.75rem;
6650 --text-xs--line-height: calc(1 / 0.75);
6651 --text-sm: 0.875rem;
6652 --text-sm--line-height: calc(1.25 / 0.875);
6653 --text-base: 1rem;
6654 --text-base--line-height: calc(1.5 / 1);
6655 --text-lg: 1.125rem;
6656 --text-lg--line-height: calc(1.75 / 1.125);
6657 --text-xl: 1.25rem;
6658 --text-xl--line-height: calc(1.75 / 1.25);
6659 --text-2xl: 1.5rem;
6660 --text-2xl--line-height: calc(2 / 1.5);
6661 --text-3xl: 1.875rem;
6662 --text-3xl--line-height: calc(2.25 / 1.875);
6663 --text-4xl: 2.25rem;
6664 --text-4xl--line-height: calc(2.5 / 2.25);
6665 --text-5xl: 3rem;
6666 --text-5xl--line-height: 1;
6667 --text-6xl: 3.75rem;
6668 --text-6xl--line-height: 1;
6669 --text-7xl: 4.5rem;
6670 --text-7xl--line-height: 1;
6671 --text-8xl: 6rem;
6672 --text-8xl--line-height: 1;
6673 --text-9xl: 8rem;
6674 --text-9xl--line-height: 1;
6675
6676 --font-weight-thin: 100;
6677 --font-weight-extralight: 200;
6678 --font-weight-light: 300;
6679 --font-weight-normal: 400;
6680 --font-weight-medium: 500;
6681 --font-weight-semibold: 600;
6682 --font-weight-bold: 700;
6683 --font-weight-extrabold: 800;
6684 --font-weight-black: 900;
6685
6686 --tracking-tighter: -0.05em;
6687 --tracking-tight: -0.025em;
6688 --tracking-normal: 0em;
6689 --tracking-wide: 0.025em;
6690 --tracking-wider: 0.05em;
6691 --tracking-widest: 0.1em;
6692
6693 --leading-tight: 1.25;
6694 --leading-snug: 1.375;
6695 --leading-normal: 1.5;
6696 --leading-relaxed: 1.625;
6697 --leading-loose: 2;
6698
6699 --radius-xs: 0.125rem;
6700 --radius-sm: 0.25rem;
6701 --radius-md: 0.375rem;
6702 --radius-lg: 0.5rem;
6703 --radius-xl: 0.75rem;
6704 --radius-2xl: 1rem;
6705 --radius-3xl: 1.5rem;
6706 --radius-4xl: 2rem;
6707
6708 --shadow-2xs: 0 1px rgb(0 0 0 / 0.05);
6709 --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
6710 --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
6711 --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
6712 --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
6713 --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
6714 --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
6715
6716 --inset-shadow-2xs: inset 0 1px rgb(0 0 0 / 0.05);
6717 --inset-shadow-xs: inset 0 1px 1px rgb(0 0 0 / 0.05);
6718 --inset-shadow-sm: inset 0 2px 4px rgb(0 0 0 / 0.05);
6719
6720 --drop-shadow-xs: 0 1px 1px rgb(0 0 0 / 0.05);
6721 --drop-shadow-sm: 0 1px 2px rgb(0 0 0 / 0.15);
6722 --drop-shadow-md: 0 3px 3px rgb(0 0 0 / 0.12);
6723 --drop-shadow-lg: 0 4px 4px rgb(0 0 0 / 0.15);
6724 --drop-shadow-xl: 0 9px 7px rgb(0 0 0 / 0.1);
6725 --drop-shadow-2xl: 0 25px 25px rgb(0 0 0 / 0.15);
6726
6727 --text-shadow-2xs: 0px 1px 0px rgb(0 0 0 / 0.15);
6728 --text-shadow-xs: 0px 1px 1px rgb(0 0 0 / 0.2);
6729 --text-shadow-sm:
6730 0px 1px 0px rgb(0 0 0 / 0.075), 0px 1px 1px rgb(0 0 0 / 0.075), 0px 2px 2px rgb(0 0 0 / 0.075);
6731 --text-shadow-md:
6732 0px 1px 1px rgb(0 0 0 / 0.1), 0px 1px 2px rgb(0 0 0 / 0.1), 0px 2px 4px rgb(0 0 0 / 0.1);
6733 --text-shadow-lg:
6734 0px 1px 2px rgb(0 0 0 / 0.1), 0px 3px 2px rgb(0 0 0 / 0.1), 0px 4px 8px rgb(0 0 0 / 0.1);
6735
6736 --ease-in: cubic-bezier(0.4, 0, 1, 1);
6737 --ease-out: cubic-bezier(0, 0, 0.2, 1);
6738 --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
6739
6740 --animate-spin: spin 1s linear infinite;
6741 --animate-ping: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
6742 --animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
6743 --animate-bounce: bounce 1s infinite;
6744
6745 @keyframes spin {
6746 to {
6747 transform: rotate(360deg);
6748 }
6749 }
6750
6751 @keyframes ping {
6752 75%,
6753 100% {
6754 transform: scale(2);
6755 opacity: 0;
6756 }
6757 }
6758
6759 @keyframes pulse {
6760 50% {
6761 opacity: 0.5;
6762 }
6763 }
6764
6765 @keyframes bounce {
6766 0%,
6767 100% {
6768 transform: translateY(-25%);
6769 animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
6770 }
6771
6772 50% {
6773 transform: none;
6774 animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
6775 }
6776 }
6777
6778 --blur-xs: 4px;
6779 --blur-sm: 8px;
6780 --blur-md: 12px;
6781 --blur-lg: 16px;
6782 --blur-xl: 24px;
6783 --blur-2xl: 40px;
6784 --blur-3xl: 64px;
6785
6786 --perspective-dramatic: 100px;
6787 --perspective-near: 300px;
6788 --perspective-normal: 500px;
6789 --perspective-midrange: 800px;
6790 --perspective-distant: 1200px;
6791
6792 --aspect-video: 16 / 9;
6793
6794 --default-transition-duration: 150ms;
6795 --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
6796 --default-font-family: --theme(--font-sans, initial);
6797 --default-font-feature-settings: --theme(--font-sans--font-feature-settings, initial);
6798 --default-font-variation-settings: --theme(--font-sans--font-variation-settings, initial);
6799 --default-mono-font-family: --theme(--font-mono, initial);
6800 --default-mono-font-feature-settings: --theme(--font-mono--font-feature-settings, initial);
6801 --default-mono-font-variation-settings: --theme(--font-mono--font-variation-settings, initial);
6802 }
6803
6804 /* Deprecated */
6805 @theme default inline reference {
6806 --blur: 8px;
6807 --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
6808 --shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);
6809 --drop-shadow: 0 1px 2px rgb(0 0 0 / 0.1), 0 1px 1px rgb(0 0 0 / 0.06);
6810 --radius: 0.25rem;
6811 --max-width-prose: 65ch;
6812 }
6813 `, "/tailwindcss/preflight.css": `/*
6814 1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
6815 2. Remove default margins and padding
6816 3. Reset all borders.
6817 */
6818
6819 *,
6820 ::after,
6821 ::before,
6822 ::backdrop,
6823 ::file-selector-button {
6824 box-sizing: border-box; /* 1 */
6825 margin: 0; /* 2 */
6826 padding: 0; /* 2 */
6827 border: 0 solid; /* 3 */
6828 }
6829
6830 /*
6831 1. Use a consistent sensible line-height in all browsers.
6832 2. Prevent adjustments of font size after orientation changes in iOS.
6833 3. Use a more readable tab size.
6834 4. Use the user's configured \`sans\` font-family by default.
6835 5. Use the user's configured \`sans\` font-feature-settings by default.
6836 6. Use the user's configured \`sans\` font-variation-settings by default.
6837 7. Disable tap highlights on iOS.
6838 */
6839
6840 html,
6841 :host {
6842 line-height: 1.5; /* 1 */
6843 -webkit-text-size-adjust: 100%; /* 2 */
6844 tab-size: 4; /* 3 */
6845 font-family: --theme(
6846 --default-font-family,
6847 ui-sans-serif,
6848 system-ui,
6849 sans-serif,
6850 'Apple Color Emoji',
6851 'Segoe UI Emoji',
6852 'Segoe UI Symbol',
6853 'Noto Color Emoji'
6854 ); /* 4 */
6855 font-feature-settings: --theme(--default-font-feature-settings, normal); /* 5 */
6856 font-variation-settings: --theme(--default-font-variation-settings, normal); /* 6 */
6857 -webkit-tap-highlight-color: transparent; /* 7 */
6858 }
6859
6860 /*
6861 1. Add the correct height in Firefox.
6862 2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
6863 3. Reset the default border style to a 1px solid border.
6864 */
6865
6866 hr {
6867 height: 0; /* 1 */
6868 color: inherit; /* 2 */
6869 border-top-width: 1px; /* 3 */
6870 }
6871
6872 /*
6873 Add the correct text decoration in Chrome, Edge, and Safari.
6874 */
6875
6876 abbr:where([title]) {
6877 -webkit-text-decoration: underline dotted;
6878 text-decoration: underline dotted;
6879 }
6880
6881 /*
6882 Remove the default font size and weight for headings.
6883 */
6884
6885 h1,
6886 h2,
6887 h3,
6888 h4,
6889 h5,
6890 h6 {
6891 font-size: inherit;
6892 font-weight: inherit;
6893 }
6894
6895 /*
6896 Reset links to optimize for opt-in styling instead of opt-out.
6897 */
6898
6899 a {
6900 color: inherit;
6901 -webkit-text-decoration: inherit;
6902 text-decoration: inherit;
6903 }
6904
6905 /*
6906 Add the correct font weight in Edge and Safari.
6907 */
6908
6909 b,
6910 strong {
6911 font-weight: bolder;
6912 }
6913
6914 /*
6915 1. Use the user's configured \`mono\` font-family by default.
6916 2. Use the user's configured \`mono\` font-feature-settings by default.
6917 3. Use the user's configured \`mono\` font-variation-settings by default.
6918 4. Correct the odd \`em\` font sizing in all browsers.
6919 */
6920
6921 code,
6922 kbd,
6923 samp,
6924 pre {
6925 font-family: --theme(
6926 --default-mono-font-family,
6927 ui-monospace,
6928 SFMono-Regular,
6929 Menlo,
6930 Monaco,
6931 Consolas,
6932 'Liberation Mono',
6933 'Courier New',
6934 monospace
6935 ); /* 1 */
6936 font-feature-settings: --theme(--default-mono-font-feature-settings, normal); /* 2 */
6937 font-variation-settings: --theme(--default-mono-font-variation-settings, normal); /* 3 */
6938 font-size: 1em; /* 4 */
6939 }
6940
6941 /*
6942 Add the correct font size in all browsers.
6943 */
6944
6945 small {
6946 font-size: 80%;
6947 }
6948
6949 /*
6950 Prevent \`sub\` and \`sup\` elements from affecting the line height in all browsers.
6951 */
6952
6953 sub,
6954 sup {
6955 font-size: 75%;
6956 line-height: 0;
6957 position: relative;
6958 vertical-align: baseline;
6959 }
6960
6961 sub {
6962 bottom: -0.25em;
6963 }
6964
6965 sup {
6966 top: -0.5em;
6967 }
6968
6969 /*
6970 1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
6971 2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
6972 3. Remove gaps between table borders by default.
6973 */
6974
6975 table {
6976 text-indent: 0; /* 1 */
6977 border-color: inherit; /* 2 */
6978 border-collapse: collapse; /* 3 */
6979 }
6980
6981 /*
6982 Use the modern Firefox focus style for all focusable elements.
6983 */
6984
6985 :-moz-focusring {
6986 outline: auto;
6987 }
6988
6989 /*
6990 Add the correct vertical alignment in Chrome and Firefox.
6991 */
6992
6993 progress {
6994 vertical-align: baseline;
6995 }
6996
6997 /*
6998 Add the correct display in Chrome and Safari.
6999 */
7000
7001 summary {
7002 display: list-item;
7003 }
7004
7005 /*
7006 Make lists unstyled by default.
7007 */
7008
7009 ol,
7010 ul,
7011 menu {
7012 list-style: none;
7013 }
7014
7015 /*
7016 1. Make replaced elements \`display: block\` by default. (https://github.com/mozdevs/cssremedy/issues/14)
7017 2. Add \`vertical-align: middle\` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
7018 This can trigger a poorly considered lint error in some tools but is included by design.
7019 */
7020
7021 img,
7022 svg,
7023 video,
7024 canvas,
7025 audio,
7026 iframe,
7027 embed,
7028 object {
7029 display: block; /* 1 */
7030 vertical-align: middle; /* 2 */
7031 }
7032
7033 /*
7034 Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
7035 */
7036
7037 img,
7038 video {
7039 max-width: 100%;
7040 height: auto;
7041 }
7042
7043 /*
7044 1. Inherit font styles in all browsers.
7045 2. Remove border radius in all browsers.
7046 3. Remove background color in all browsers.
7047 4. Ensure consistent opacity for disabled states in all browsers.
7048 */
7049
7050 button,
7051 input,
7052 select,
7053 optgroup,
7054 textarea,
7055 ::file-selector-button {
7056 font: inherit; /* 1 */
7057 font-feature-settings: inherit; /* 1 */
7058 font-variation-settings: inherit; /* 1 */
7059 letter-spacing: inherit; /* 1 */
7060 color: inherit; /* 1 */
7061 border-radius: 0; /* 2 */
7062 background-color: transparent; /* 3 */
7063 opacity: 1; /* 4 */
7064 }
7065
7066 /*
7067 Restore default font weight.
7068 */
7069
7070 :where(select:is([multiple], [size])) optgroup {
7071 font-weight: bolder;
7072 }
7073
7074 /*
7075 Restore indentation.
7076 */
7077
7078 :where(select:is([multiple], [size])) optgroup option {
7079 padding-inline-start: 20px;
7080 }
7081
7082 /*
7083 Restore space after button.
7084 */
7085
7086 ::file-selector-button {
7087 margin-inline-end: 4px;
7088 }
7089
7090 /*
7091 Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
7092 */
7093
7094 ::placeholder {
7095 opacity: 1;
7096 }
7097
7098 /*
7099 Set the default placeholder color to a semi-transparent version of the current text color in browsers that do not
7100 crash when using \`color-mix(\u2026)\` with \`currentcolor\`. (https://github.com/tailwindlabs/tailwindcss/issues/17194)
7101 */
7102
7103 @supports (not (-webkit-appearance: -apple-pay-button)) /* Not Safari */ or
7104 (contain-intrinsic-size: 1px) /* Safari 17+ */ {
7105 ::placeholder {
7106 color: color-mix(in oklab, currentcolor 50%, transparent);
7107 }
7108 }
7109
7110 /*
7111 Prevent resizing textareas horizontally by default.
7112 */
7113
7114 textarea {
7115 resize: vertical;
7116 }
7117
7118 /*
7119 Remove the inner padding in Chrome and Safari on macOS.
7120 */
7121
7122 ::-webkit-search-decoration {
7123 -webkit-appearance: none;
7124 }
7125
7126 /*
7127 1. Ensure date/time inputs have the same height when empty in iOS Safari.
7128 2. Ensure text alignment can be changed on date/time inputs in iOS Safari.
7129 */
7130
7131 ::-webkit-date-and-time-value {
7132 min-height: 1lh; /* 1 */
7133 text-align: inherit; /* 2 */
7134 }
7135
7136 /*
7137 Prevent height from changing on date/time inputs in macOS Safari when the input is set to \`display: block\`.
7138 */
7139
7140 ::-webkit-datetime-edit {
7141 display: inline-flex;
7142 }
7143
7144 /*
7145 Remove excess padding from pseudo-elements in date/time inputs to ensure consistent height across browsers.
7146 */
7147
7148 ::-webkit-datetime-edit-fields-wrapper {
7149 padding: 0;
7150 }
7151
7152 ::-webkit-datetime-edit,
7153 ::-webkit-datetime-edit-year-field,
7154 ::-webkit-datetime-edit-month-field,
7155 ::-webkit-datetime-edit-day-field,
7156 ::-webkit-datetime-edit-hour-field,
7157 ::-webkit-datetime-edit-minute-field,
7158 ::-webkit-datetime-edit-second-field,
7159 ::-webkit-datetime-edit-millisecond-field,
7160 ::-webkit-datetime-edit-meridiem-field {
7161 padding-block: 0;
7162 }
7163
7164 /*
7165 Center dropdown marker shown on inputs with paired \`<datalist>\`s in Chrome. (https://github.com/tailwindlabs/tailwindcss/issues/18499)
7166 */
7167
7168 ::-webkit-calendar-picker-indicator {
7169 line-height: 1;
7170 }
7171
7172 /*
7173 Remove the additional \`:invalid\` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
7174 */
7175
7176 :-moz-ui-invalid {
7177 box-shadow: none;
7178 }
7179
7180 /*
7181 Correct the inability to style the border radius in iOS Safari.
7182 */
7183
7184 button,
7185 input:where([type='button'], [type='reset'], [type='submit']),
7186 ::file-selector-button {
7187 appearance: button;
7188 }
7189
7190 /*
7191 Correct the cursor style of increment and decrement buttons in Safari.
7192 */
7193
7194 ::-webkit-inner-spin-button,
7195 ::-webkit-outer-spin-button {
7196 height: auto;
7197 }
7198
7199 /*
7200 Make elements with the HTML hidden attribute stay hidden by default.
7201 */
7202
7203 [hidden]:where(:not([hidden='until-found'])) {
7204 display: none !important;
7205 }
7206 `, "/tailwindcss/utilities.css": `@tailwind utilities;
7207 ` };
7208 async function So(e3) {
7209 return await fetch(e3).then((e4) => e4.text());
7210 }
7211 async function Co(e3, t2 = `/`, n2 = {}) {
7212 t2 || (t2 = `/`);
7213 let r2 = e3;
7214 if (e3.startsWith(`fetch:`) && c(e3.substring(6))) return { base: Q.default.dirname(e3), content: await So(new URL(e3.substring(6)).toString()), path: e3 };
7215 {
7216 for (let [e4, t3] of Object.entries(xo)) Object.keys(n2).includes(e4) || (n2[e4] = t3);
7217 !e3.startsWith(`/`) && (Object.keys(xo).includes(Q.default.resolve(e3)) || Object.keys(xo).includes(Q.default.resolve(e3).concat(`.css`))) && (t2 = `/`, e3 = Q.default.resolve(e3)), e3.startsWith(`.`) && (e3 = Q.default.resolve(t2, e3)), e3.startsWith(`/`) && (e3.endsWith(`.css`) || (Object.keys(n2).some((t3) => t3.includes(e3.concat(`.css`))) ? e3 = e3.concat(`.css`) : Object.keys(n2).some((t3) => t3.includes(e3.concat(`/index.css`))) && (e3 = e3.concat(`/index.css`))));
7218 let i2 = Q.default.resolve(t2, e3);
7219 if (n2[i2]) return { base: Q.default.dirname(e3), content: n2[i2], path: e3 };
7220 let a2 = new URL(e3, `https://esm.sh`);
7221 i2 = a2.pathname;
7222 let o2 = false, s2 = null, c2 = null, l2 = [i2];
7223 i2.endsWith(`.css`) || (l2.push(i2 + `.css`), l2.push(i2 + `/index.css`)), i2 = i2.concat(a2.search);
7224 for (let t3 of l2) try {
7225 c2 = t3;
7226 let r3 = await fetch(`https://esm.sh${t3}`);
7227 if (!r3.ok) throw Error();
7228 let a3 = r3.headers.get(`content-type`) || ``;
7229 if (!a3.includes(`text/css`)) throw Error(`Response is not a CSS file: ${a3}`);
7230 let s3 = await r3.text();
7231 s3 = s3.replace(/@config\s+['|"](.*)['|"]/g, (t4, n3) => `@config 'https://esm.sh${Q.default.resolve(Q.default.dirname(e3))}${Q.default.resolve(n3)}'`).replace(/@plugin\s+['|"](.*)['|"]/g, (t4, n3) => `@plugin 'https://esm.sh${Q.default.resolve(Q.default.dirname(e3))}${Q.default.resolve(n3)}'`), n2[t3] = s3, i2 = t3, o2 = true;
7232 break;
7233 } catch (e4) {
7234 s2 = e4;
7235 }
7236 if (s2) if (o2) console.warn(`Warning: The stylesheet '${r2}' was successfully fetched from the CDN using fallback path '${c2}'.`);
7237 else throw Error(r2.startsWith(`.`) ? `Cannot find stylesheet '${r2}' on the Simple File System` : `Cannot find stylesheet '${r2}' on the CDN`);
7238 return { base: Q.default.dirname(e3), content: n2[i2], path: e3 };
7239 }
7240 }
7241 var wo = t(((e3, t2) => {
7242 e3.__esModule = true, e3.default = i2;
7243 function n2(e4) {
7244 for (var t3 = e4.toLowerCase(), n3 = ``, r3 = false, i3 = 0; i3 < 6 && t3[i3] !== void 0; i3++) {
7245 var a2 = t3.charCodeAt(i3), o2 = a2 >= 97 && a2 <= 102 || a2 >= 48 && a2 <= 57;
7246 if (r3 = a2 === 32, !o2) break;
7247 n3 += t3[i3];
7248 }
7249 if (n3.length !== 0) {
7250 var s2 = parseInt(n3, 16);
7251 return s2 >= 55296 && s2 <= 57343 || s2 === 0 || s2 > 1114111 ? [`\uFFFD`, n3.length + +!!r3] : [String.fromCodePoint(s2), n3.length + +!!r3];
7252 }
7253 }
7254 var r2 = /\\/;
7255 function i2(e4) {
7256 if (!r2.test(e4)) return e4;
7257 for (var t3 = ``, i3 = 0; i3 < e4.length; i3++) {
7258 if (e4[i3] === `\\`) {
7259 var a2 = n2(e4.slice(i3 + 1, i3 + 7));
7260 if (a2 !== void 0) {
7261 t3 += a2[0], i3 += a2[1];
7262 continue;
7263 }
7264 if (e4[i3 + 1] === `\\`) {
7265 t3 += `\\`, i3++;
7266 continue;
7267 }
7268 e4.length === i3 + 1 && (t3 += e4[i3]);
7269 continue;
7270 }
7271 t3 += e4[i3];
7272 }
7273 return t3;
7274 }
7275 t2.exports = e3.default;
7276 })), To = t(((e3, t2) => {
7277 e3.__esModule = true, e3.default = n2;
7278 function n2(e4) {
7279 for (var t3 = [...arguments].slice(1); t3.length > 0; ) {
7280 var n3 = t3.shift();
7281 if (!e4[n3]) return;
7282 e4 = e4[n3];
7283 }
7284 return e4;
7285 }
7286 t2.exports = e3.default;
7287 })), Eo = t(((e3, t2) => {
7288 e3.__esModule = true, e3.default = n2;
7289 function n2(e4) {
7290 for (var t3 = [...arguments].slice(1); t3.length > 0; ) {
7291 var n3 = t3.shift();
7292 e4[n3] || (e4[n3] = {}), e4 = e4[n3];
7293 }
7294 }
7295 t2.exports = e3.default;
7296 })), Do = t(((e3, t2) => {
7297 e3.__esModule = true, e3.default = n2;
7298 function n2(e4) {
7299 for (var t3 = ``, n3 = e4.indexOf(`/*`), r2 = 0; n3 >= 0; ) {
7300 t3 += e4.slice(r2, n3);
7301 var i2 = e4.indexOf(`*/`, n3 + 2);
7302 if (i2 < 0) return t3;
7303 r2 = i2 + 2, n3 = e4.indexOf(`/*`, r2);
7304 }
7305 return t3 += e4.slice(r2), t3;
7306 }
7307 t2.exports = e3.default;
7308 })), Oo = t(((e3) => {
7309 e3.__esModule = true, e3.unesc = e3.stripComments = e3.getProp = e3.ensureObject = void 0, e3.unesc = t2(wo()).default, e3.getProp = t2(To()).default, e3.ensureObject = t2(Eo()).default, e3.stripComments = t2(Do()).default;
7310 function t2(e4) {
7311 return e4 && e4.__esModule ? e4 : { default: e4 };
7312 }
7313 })), ko = t(((e3, t2) => {
7314 e3.__esModule = true, e3.default = void 0;
7315 var n2 = Oo();
7316 function r2(e4, t3) {
7317 for (var n3 = 0; n3 < t3.length; n3++) {
7318 var r3 = t3[n3];
7319 r3.enumerable = r3.enumerable || false, r3.configurable = true, `value` in r3 && (r3.writable = true), Object.defineProperty(e4, r3.key, r3);
7320 }
7321 }
7322 function i2(e4, t3, n3) {
7323 return t3 && r2(e4.prototype, t3), n3 && r2(e4, n3), Object.defineProperty(e4, `prototype`, { writable: false }), e4;
7324 }
7325 var a2 = function e4(t3, n3) {
7326 if (typeof t3 != `object` || !t3) return t3;
7327 var r3 = new t3.constructor();
7328 for (var i3 in t3) if (t3.hasOwnProperty(i3)) {
7329 var a3 = t3[i3];
7330 i3 === `parent` && typeof a3 == `object` ? n3 && (r3[i3] = n3) : a3 instanceof Array ? r3[i3] = a3.map(function(t4) {
7331 return e4(t4, r3);
7332 }) : r3[i3] = e4(a3, r3);
7333 }
7334 return r3;
7335 };
7336 e3.default = (function() {
7337 function e4(e5) {
7338 e5 === void 0 && (e5 = {}), Object.assign(this, e5), this.spaces = this.spaces || {}, this.spaces.before = this.spaces.before || ``, this.spaces.after = this.spaces.after || ``;
7339 }
7340 var t3 = e4.prototype;
7341 return t3.remove = function() {
7342 return this.parent && this.parent.removeChild(this), this.parent = void 0, this;
7343 }, t3.replaceWith = function() {
7344 if (this.parent) {
7345 for (var e5 in arguments) this.parent.insertBefore(this, arguments[e5]);
7346 this.remove();
7347 }
7348 return this;
7349 }, t3.next = function() {
7350 return this.parent.at(this.parent.index(this) + 1);
7351 }, t3.prev = function() {
7352 return this.parent.at(this.parent.index(this) - 1);
7353 }, t3.clone = function(e5) {
7354 e5 === void 0 && (e5 = {});
7355 var t4 = a2(this);
7356 for (var n3 in e5) t4[n3] = e5[n3];
7357 return t4;
7358 }, t3.appendToPropertyAndEscape = function(e5, t4, n3) {
7359 this.raws || (this.raws = {});
7360 var r3 = this[e5], i3 = this.raws[e5];
7361 this[e5] = r3 + t4, i3 || n3 !== t4 ? this.raws[e5] = (i3 || r3) + n3 : delete this.raws[e5];
7362 }, t3.setPropertyAndEscape = function(e5, t4, n3) {
7363 this.raws || (this.raws = {}), this[e5] = t4, this.raws[e5] = n3;
7364 }, t3.setPropertyWithoutEscape = function(e5, t4) {
7365 this[e5] = t4, this.raws && delete this.raws[e5];
7366 }, t3.isAtPosition = function(e5, t4) {
7367 if (this.source && this.source.start && this.source.end) return !(this.source.start.line > e5 || this.source.end.line < e5 || this.source.start.line === e5 && this.source.start.column > t4 || this.source.end.line === e5 && this.source.end.column < t4);
7368 }, t3.stringifyProperty = function(e5) {
7369 return this.raws && this.raws[e5] || this[e5];
7370 }, t3.valueToString = function() {
7371 return String(this.stringifyProperty(`value`));
7372 }, t3.toString = function() {
7373 return [this.rawSpaceBefore, this.valueToString(), this.rawSpaceAfter].join(``);
7374 }, i2(e4, [{ key: `rawSpaceBefore`, get: function() {
7375 var e5 = this.raws && this.raws.spaces && this.raws.spaces.before;
7376 return e5 === void 0 && (e5 = this.spaces && this.spaces.before), e5 || ``;
7377 }, set: function(e5) {
7378 (0, n2.ensureObject)(this, `raws`, `spaces`), this.raws.spaces.before = e5;
7379 } }, { key: `rawSpaceAfter`, get: function() {
7380 var e5 = this.raws && this.raws.spaces && this.raws.spaces.after;
7381 return e5 === void 0 && (e5 = this.spaces.after), e5 || ``;
7382 }, set: function(e5) {
7383 (0, n2.ensureObject)(this, `raws`, `spaces`), this.raws.spaces.after = e5;
7384 } }]), e4;
7385 })(), t2.exports = e3.default;
7386 })), $ = t(((e3) => {
7387 e3.__esModule = true, e3.UNIVERSAL = e3.TAG = e3.STRING = e3.SELECTOR = e3.ROOT = e3.PSEUDO = e3.NESTING = e3.ID = e3.COMMENT = e3.COMBINATOR = e3.CLASS = e3.ATTRIBUTE = void 0, e3.TAG = `tag`, e3.STRING = `string`, e3.SELECTOR = `selector`, e3.ROOT = `root`, e3.PSEUDO = `pseudo`, e3.NESTING = `nesting`, e3.ID = `id`, e3.COMMENT = `comment`, e3.COMBINATOR = `combinator`, e3.CLASS = `class`, e3.ATTRIBUTE = `attribute`, e3.UNIVERSAL = `universal`;
7388 })), Ao = t(((e3, t2) => {
7389 e3.__esModule = true, e3.default = void 0;
7390 var n2 = o2(ko()), r2 = a2($());
7391 function i2(e4) {
7392 if (typeof WeakMap != `function`) return null;
7393 var t3 = /* @__PURE__ */ new WeakMap(), n3 = /* @__PURE__ */ new WeakMap();
7394 return (i2 = function(e5) {
7395 return e5 ? n3 : t3;
7396 })(e4);
7397 }
7398 function a2(e4, t3) {
7399 if (!t3 && e4 && e4.__esModule) return e4;
7400 if (e4 === null || typeof e4 != `object` && typeof e4 != `function`) return { default: e4 };
7401 var n3 = i2(t3);
7402 if (n3 && n3.has(e4)) return n3.get(e4);
7403 var r3 = {}, a3 = Object.defineProperty && Object.getOwnPropertyDescriptor;
7404 for (var o3 in e4) if (o3 !== `default` && Object.prototype.hasOwnProperty.call(e4, o3)) {
7405 var s3 = a3 ? Object.getOwnPropertyDescriptor(e4, o3) : null;
7406 s3 && (s3.get || s3.set) ? Object.defineProperty(r3, o3, s3) : r3[o3] = e4[o3];
7407 }
7408 return r3.default = e4, n3 && n3.set(e4, r3), r3;
7409 }
7410 function o2(e4) {
7411 return e4 && e4.__esModule ? e4 : { default: e4 };
7412 }
7413 function s2(e4, t3) {
7414 var n3 = typeof Symbol < `u` && e4[Symbol.iterator] || e4[`@@iterator`];
7415 if (n3) return (n3 = n3.call(e4)).next.bind(n3);
7416 if (Array.isArray(e4) || (n3 = c2(e4)) || t3 && e4 && typeof e4.length == `number`) {
7417 n3 && (e4 = n3);
7418 var r3 = 0;
7419 return function() {
7420 return r3 >= e4.length ? { done: true } : { done: false, value: e4[r3++] };
7421 };
7422 }
7423 throw TypeError(`Invalid attempt to iterate non-iterable instance.
7424 In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
7425 }
7426 function c2(e4, t3) {
7427 if (e4) {
7428 if (typeof e4 == `string`) return l2(e4, t3);
7429 var n3 = Object.prototype.toString.call(e4).slice(8, -1);
7430 if (n3 === `Object` && e4.constructor && (n3 = e4.constructor.name), n3 === `Map` || n3 === `Set`) return Array.from(e4);
7431 if (n3 === `Arguments` || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n3)) return l2(e4, t3);
7432 }
7433 }
7434 function l2(e4, t3) {
7435 (t3 == null || t3 > e4.length) && (t3 = e4.length);
7436 for (var n3 = 0, r3 = Array(t3); n3 < t3; n3++) r3[n3] = e4[n3];
7437 return r3;
7438 }
7439 function u2(e4, t3) {
7440 for (var n3 = 0; n3 < t3.length; n3++) {
7441 var r3 = t3[n3];
7442 r3.enumerable = r3.enumerable || false, r3.configurable = true, `value` in r3 && (r3.writable = true), Object.defineProperty(e4, r3.key, r3);
7443 }
7444 }
7445 function d2(e4, t3, n3) {
7446 return t3 && u2(e4.prototype, t3), n3 && u2(e4, n3), Object.defineProperty(e4, `prototype`, { writable: false }), e4;
7447 }
7448 function f2(e4, t3) {
7449 e4.prototype = Object.create(t3.prototype), e4.prototype.constructor = e4, p2(e4, t3);
7450 }
7451 function p2(e4, t3) {
7452 return p2 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e5, t4) {
7453 return e5.__proto__ = t4, e5;
7454 }, p2(e4, t3);
7455 }
7456 e3.default = (function(e4) {
7457 f2(t3, e4);
7458 function t3(t4) {
7459 var n4 = e4.call(this, t4) || this;
7460 return n4.nodes || (n4.nodes = []), n4;
7461 }
7462 var n3 = t3.prototype;
7463 return n3.append = function(e5) {
7464 return e5.parent = this, this.nodes.push(e5), this;
7465 }, n3.prepend = function(e5) {
7466 for (var t4 in e5.parent = this, this.nodes.unshift(e5), this.indexes) this.indexes[t4]++;
7467 return this;
7468 }, n3.at = function(e5) {
7469 return this.nodes[e5];
7470 }, n3.index = function(e5) {
7471 return typeof e5 == `number` ? e5 : this.nodes.indexOf(e5);
7472 }, n3.removeChild = function(e5) {
7473 e5 = this.index(e5), this.at(e5).parent = void 0, this.nodes.splice(e5, 1);
7474 var t4;
7475 for (var n4 in this.indexes) t4 = this.indexes[n4], t4 >= e5 && (this.indexes[n4] = t4 - 1);
7476 return this;
7477 }, n3.removeAll = function() {
7478 for (var e5 = s2(this.nodes), t4; !(t4 = e5()).done; ) {
7479 var n4 = t4.value;
7480 n4.parent = void 0;
7481 }
7482 return this.nodes = [], this;
7483 }, n3.empty = function() {
7484 return this.removeAll();
7485 }, n3.insertAfter = function(e5, t4) {
7486 var n4;
7487 t4.parent = this;
7488 for (var r3 = this.index(e5), i3 = [], a3 = 2; a3 < arguments.length; a3++) i3.push(arguments[a3]);
7489 (n4 = this.nodes).splice.apply(n4, [r3 + 1, 0, t4].concat(i3)), t4.parent = this;
7490 var o3;
7491 for (var s3 in this.indexes) o3 = this.indexes[s3], r3 < o3 && (this.indexes[s3] = o3 + arguments.length - 1);
7492 return this;
7493 }, n3.insertBefore = function(e5, t4) {
7494 var n4;
7495 t4.parent = this;
7496 for (var r3 = this.index(e5), i3 = [], a3 = 2; a3 < arguments.length; a3++) i3.push(arguments[a3]);
7497 (n4 = this.nodes).splice.apply(n4, [r3, 0, t4].concat(i3)), t4.parent = this;
7498 var o3;
7499 for (var s3 in this.indexes) o3 = this.indexes[s3], o3 >= r3 && (this.indexes[s3] = o3 + arguments.length - 1);
7500 return this;
7501 }, n3._findChildAtPosition = function(e5, t4) {
7502 var n4 = void 0;
7503 return this.each(function(r3) {
7504 if (r3.atPosition) {
7505 var i3 = r3.atPosition(e5, t4);
7506 if (i3) return n4 = i3, false;
7507 } else if (r3.isAtPosition(e5, t4)) return n4 = r3, false;
7508 }), n4;
7509 }, n3.atPosition = function(e5, t4) {
7510 if (this.isAtPosition(e5, t4)) return this._findChildAtPosition(e5, t4) || this;
7511 }, n3._inferEndPosition = function() {
7512 this.last && this.last.source && this.last.source.end && (this.source = this.source || {}, this.source.end = this.source.end || {}, Object.assign(this.source.end, this.last.source.end));
7513 }, n3.each = function(e5) {
7514 this.lastEach || (this.lastEach = 0), this.indexes || (this.indexes = {}), this.lastEach++;
7515 var t4 = this.lastEach;
7516 if (this.indexes[t4] = 0, this.length) {
7517 for (var n4, r3; this.indexes[t4] < this.length && (n4 = this.indexes[t4], r3 = e5(this.at(n4), n4), r3 !== false); ) this.indexes[t4] += 1;
7518 if (delete this.indexes[t4], r3 === false) return false;
7519 }
7520 }, n3.walk = function(e5) {
7521 return this.each(function(t4, n4) {
7522 var r3 = e5(t4, n4);
7523 if (r3 !== false && t4.length && (r3 = t4.walk(e5)), r3 === false) return false;
7524 });
7525 }, n3.walkAttributes = function(e5) {
7526 var t4 = this;
7527 return this.walk(function(n4) {
7528 if (n4.type === r2.ATTRIBUTE) return e5.call(t4, n4);
7529 });
7530 }, n3.walkClasses = function(e5) {
7531 var t4 = this;
7532 return this.walk(function(n4) {
7533 if (n4.type === r2.CLASS) return e5.call(t4, n4);
7534 });
7535 }, n3.walkCombinators = function(e5) {
7536 var t4 = this;
7537 return this.walk(function(n4) {
7538 if (n4.type === r2.COMBINATOR) return e5.call(t4, n4);
7539 });
7540 }, n3.walkComments = function(e5) {
7541 var t4 = this;
7542 return this.walk(function(n4) {
7543 if (n4.type === r2.COMMENT) return e5.call(t4, n4);
7544 });
7545 }, n3.walkIds = function(e5) {
7546 var t4 = this;
7547 return this.walk(function(n4) {
7548 if (n4.type === r2.ID) return e5.call(t4, n4);
7549 });
7550 }, n3.walkNesting = function(e5) {
7551 var t4 = this;
7552 return this.walk(function(n4) {
7553 if (n4.type === r2.NESTING) return e5.call(t4, n4);
7554 });
7555 }, n3.walkPseudos = function(e5) {
7556 var t4 = this;
7557 return this.walk(function(n4) {
7558 if (n4.type === r2.PSEUDO) return e5.call(t4, n4);
7559 });
7560 }, n3.walkTags = function(e5) {
7561 var t4 = this;
7562 return this.walk(function(n4) {
7563 if (n4.type === r2.TAG) return e5.call(t4, n4);
7564 });
7565 }, n3.walkUniversals = function(e5) {
7566 var t4 = this;
7567 return this.walk(function(n4) {
7568 if (n4.type === r2.UNIVERSAL) return e5.call(t4, n4);
7569 });
7570 }, n3.split = function(e5) {
7571 var t4 = this, n4 = [];
7572 return this.reduce(function(r3, i3, a3) {
7573 var o3 = e5.call(t4, i3);
7574 return n4.push(i3), o3 ? (r3.push(n4), n4 = []) : a3 === t4.length - 1 && r3.push(n4), r3;
7575 }, []);
7576 }, n3.map = function(e5) {
7577 return this.nodes.map(e5);
7578 }, n3.reduce = function(e5, t4) {
7579 return this.nodes.reduce(e5, t4);
7580 }, n3.every = function(e5) {
7581 return this.nodes.every(e5);
7582 }, n3.some = function(e5) {
7583 return this.nodes.some(e5);
7584 }, n3.filter = function(e5) {
7585 return this.nodes.filter(e5);
7586 }, n3.sort = function(e5) {
7587 return this.nodes.sort(e5);
7588 }, n3.toString = function() {
7589 return this.map(String).join(``);
7590 }, d2(t3, [{ key: `first`, get: function() {
7591 return this.at(0);
7592 } }, { key: `last`, get: function() {
7593 return this.at(this.length - 1);
7594 } }, { key: `length`, get: function() {
7595 return this.nodes.length;
7596 } }]), t3;
7597 })(n2.default), t2.exports = e3.default;
7598 })), jo = t(((e3, t2) => {
7599 e3.__esModule = true, e3.default = void 0;
7600 var n2 = i2(Ao()), r2 = $();
7601 function i2(e4) {
7602 return e4 && e4.__esModule ? e4 : { default: e4 };
7603 }
7604 function a2(e4, t3) {
7605 for (var n3 = 0; n3 < t3.length; n3++) {
7606 var r3 = t3[n3];
7607 r3.enumerable = r3.enumerable || false, r3.configurable = true, `value` in r3 && (r3.writable = true), Object.defineProperty(e4, r3.key, r3);
7608 }
7609 }
7610 function o2(e4, t3, n3) {
7611 return t3 && a2(e4.prototype, t3), n3 && a2(e4, n3), Object.defineProperty(e4, `prototype`, { writable: false }), e4;
7612 }
7613 function s2(e4, t3) {
7614 e4.prototype = Object.create(t3.prototype), e4.prototype.constructor = e4, c2(e4, t3);
7615 }
7616 function c2(e4, t3) {
7617 return c2 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e5, t4) {
7618 return e5.__proto__ = t4, e5;
7619 }, c2(e4, t3);
7620 }
7621 e3.default = (function(e4) {
7622 s2(t3, e4);
7623 function t3(t4) {
7624 var n4 = e4.call(this, t4) || this;
7625 return n4.type = r2.ROOT, n4;
7626 }
7627 var n3 = t3.prototype;
7628 return n3.toString = function() {
7629 var e5 = this.reduce(function(e6, t4) {
7630 return e6.push(String(t4)), e6;
7631 }, []).join(`,`);
7632 return this.trailingComma ? e5 + `,` : e5;
7633 }, n3.error = function(e5, t4) {
7634 return this._error ? this._error(e5, t4) : Error(e5);
7635 }, o2(t3, [{ key: `errorGenerator`, set: function(e5) {
7636 this._error = e5;
7637 } }]), t3;
7638 })(n2.default), t2.exports = e3.default;
7639 })), Mo = t(((e3, t2) => {
7640 e3.__esModule = true, e3.default = void 0;
7641 var n2 = i2(Ao()), r2 = $();
7642 function i2(e4) {
7643 return e4 && e4.__esModule ? e4 : { default: e4 };
7644 }
7645 function a2(e4, t3) {
7646 e4.prototype = Object.create(t3.prototype), e4.prototype.constructor = e4, o2(e4, t3);
7647 }
7648 function o2(e4, t3) {
7649 return o2 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e5, t4) {
7650 return e5.__proto__ = t4, e5;
7651 }, o2(e4, t3);
7652 }
7653 e3.default = (function(e4) {
7654 a2(t3, e4);
7655 function t3(t4) {
7656 var n3 = e4.call(this, t4) || this;
7657 return n3.type = r2.SELECTOR, n3;
7658 }
7659 return t3;
7660 })(n2.default), t2.exports = e3.default;
7661 })), No = t(((e3, t2) => {
7662 e3.__esModule = true, e3.default = void 0;
7663 var n2 = o2(s()), r2 = Oo(), i2 = o2(ko()), a2 = $();
7664 function o2(e4) {
7665 return e4 && e4.__esModule ? e4 : { default: e4 };
7666 }
7667 function c2(e4, t3) {
7668 for (var n3 = 0; n3 < t3.length; n3++) {
7669 var r3 = t3[n3];
7670 r3.enumerable = r3.enumerable || false, r3.configurable = true, `value` in r3 && (r3.writable = true), Object.defineProperty(e4, r3.key, r3);
7671 }
7672 }
7673 function l2(e4, t3, n3) {
7674 return t3 && c2(e4.prototype, t3), n3 && c2(e4, n3), Object.defineProperty(e4, `prototype`, { writable: false }), e4;
7675 }
7676 function u2(e4, t3) {
7677 e4.prototype = Object.create(t3.prototype), e4.prototype.constructor = e4, d2(e4, t3);
7678 }
7679 function d2(e4, t3) {
7680 return d2 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e5, t4) {
7681 return e5.__proto__ = t4, e5;
7682 }, d2(e4, t3);
7683 }
7684 e3.default = (function(e4) {
7685 u2(t3, e4);
7686 function t3(t4) {
7687 var n3 = e4.call(this, t4) || this;
7688 return n3.type = a2.CLASS, n3._constructed = true, n3;
7689 }
7690 var i3 = t3.prototype;
7691 return i3.valueToString = function() {
7692 return `.` + e4.prototype.valueToString.call(this);
7693 }, l2(t3, [{ key: `value`, get: function() {
7694 return this._value;
7695 }, set: function(e5) {
7696 if (this._constructed) {
7697 var t4 = (0, n2.default)(e5, { isIdentifier: true });
7698 t4 === e5 ? this.raws && delete this.raws.value : ((0, r2.ensureObject)(this, `raws`), this.raws.value = t4);
7699 }
7700 this._value = e5;
7701 } }]), t3;
7702 })(i2.default), t2.exports = e3.default;
7703 })), Po = t(((e3, t2) => {
7704 e3.__esModule = true, e3.default = void 0;
7705 var n2 = i2(ko()), r2 = $();
7706 function i2(e4) {
7707 return e4 && e4.__esModule ? e4 : { default: e4 };
7708 }
7709 function a2(e4, t3) {
7710 e4.prototype = Object.create(t3.prototype), e4.prototype.constructor = e4, o2(e4, t3);
7711 }
7712 function o2(e4, t3) {
7713 return o2 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e5, t4) {
7714 return e5.__proto__ = t4, e5;
7715 }, o2(e4, t3);
7716 }
7717 e3.default = (function(e4) {
7718 a2(t3, e4);
7719 function t3(t4) {
7720 var n3 = e4.call(this, t4) || this;
7721 return n3.type = r2.COMMENT, n3;
7722 }
7723 return t3;
7724 })(n2.default), t2.exports = e3.default;
7725 })), Fo = t(((e3, t2) => {
7726 e3.__esModule = true, e3.default = void 0;
7727 var n2 = i2(ko()), r2 = $();
7728 function i2(e4) {
7729 return e4 && e4.__esModule ? e4 : { default: e4 };
7730 }
7731 function a2(e4, t3) {
7732 e4.prototype = Object.create(t3.prototype), e4.prototype.constructor = e4, o2(e4, t3);
7733 }
7734 function o2(e4, t3) {
7735 return o2 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e5, t4) {
7736 return e5.__proto__ = t4, e5;
7737 }, o2(e4, t3);
7738 }
7739 e3.default = (function(e4) {
7740 a2(t3, e4);
7741 function t3(t4) {
7742 var n4 = e4.call(this, t4) || this;
7743 return n4.type = r2.ID, n4;
7744 }
7745 var n3 = t3.prototype;
7746 return n3.valueToString = function() {
7747 return `#` + e4.prototype.valueToString.call(this);
7748 }, t3;
7749 })(n2.default), t2.exports = e3.default;
7750 })), Io = t(((e3, t2) => {
7751 e3.__esModule = true, e3.default = void 0;
7752 var n2 = a2(s()), r2 = Oo(), i2 = a2(ko());
7753 function a2(e4) {
7754 return e4 && e4.__esModule ? e4 : { default: e4 };
7755 }
7756 function o2(e4, t3) {
7757 for (var n3 = 0; n3 < t3.length; n3++) {
7758 var r3 = t3[n3];
7759 r3.enumerable = r3.enumerable || false, r3.configurable = true, `value` in r3 && (r3.writable = true), Object.defineProperty(e4, r3.key, r3);
7760 }
7761 }
7762 function c2(e4, t3, n3) {
7763 return t3 && o2(e4.prototype, t3), n3 && o2(e4, n3), Object.defineProperty(e4, `prototype`, { writable: false }), e4;
7764 }
7765 function l2(e4, t3) {
7766 e4.prototype = Object.create(t3.prototype), e4.prototype.constructor = e4, u2(e4, t3);
7767 }
7768 function u2(e4, t3) {
7769 return u2 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e5, t4) {
7770 return e5.__proto__ = t4, e5;
7771 }, u2(e4, t3);
7772 }
7773 e3.default = (function(e4) {
7774 l2(t3, e4);
7775 function t3() {
7776 return e4.apply(this, arguments) || this;
7777 }
7778 var i3 = t3.prototype;
7779 return i3.qualifiedName = function(e5) {
7780 return this.namespace ? this.namespaceString + `|` + e5 : e5;
7781 }, i3.valueToString = function() {
7782 return this.qualifiedName(e4.prototype.valueToString.call(this));
7783 }, c2(t3, [{ key: `namespace`, get: function() {
7784 return this._namespace;
7785 }, set: function(e5) {
7786 if (e5 === true || e5 === `*` || e5 === `&`) {
7787 this._namespace = e5, this.raws && delete this.raws.namespace;
7788 return;
7789 }
7790 var t4 = (0, n2.default)(e5, { isIdentifier: true });
7791 this._namespace = e5, t4 === e5 ? this.raws && delete this.raws.namespace : ((0, r2.ensureObject)(this, `raws`), this.raws.namespace = t4);
7792 } }, { key: `ns`, get: function() {
7793 return this._namespace;
7794 }, set: function(e5) {
7795 this.namespace = e5;
7796 } }, { key: `namespaceString`, get: function() {
7797 if (this.namespace) {
7798 var e5 = this.stringifyProperty(`namespace`);
7799 return e5 === true ? `` : e5;
7800 } else return ``;
7801 } }]), t3;
7802 })(i2.default), t2.exports = e3.default;
7803 })), Lo = t(((e3, t2) => {
7804 e3.__esModule = true, e3.default = void 0;
7805 var n2 = i2(Io()), r2 = $();
7806 function i2(e4) {
7807 return e4 && e4.__esModule ? e4 : { default: e4 };
7808 }
7809 function a2(e4, t3) {
7810 e4.prototype = Object.create(t3.prototype), e4.prototype.constructor = e4, o2(e4, t3);
7811 }
7812 function o2(e4, t3) {
7813 return o2 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e5, t4) {
7814 return e5.__proto__ = t4, e5;
7815 }, o2(e4, t3);
7816 }
7817 e3.default = (function(e4) {
7818 a2(t3, e4);
7819 function t3(t4) {
7820 var n3 = e4.call(this, t4) || this;
7821 return n3.type = r2.TAG, n3;
7822 }
7823 return t3;
7824 })(n2.default), t2.exports = e3.default;
7825 })), Ro = t(((e3, t2) => {
7826 e3.__esModule = true, e3.default = void 0;
7827 var n2 = i2(ko()), r2 = $();
7828 function i2(e4) {
7829 return e4 && e4.__esModule ? e4 : { default: e4 };
7830 }
7831 function a2(e4, t3) {
7832 e4.prototype = Object.create(t3.prototype), e4.prototype.constructor = e4, o2(e4, t3);
7833 }
7834 function o2(e4, t3) {
7835 return o2 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e5, t4) {
7836 return e5.__proto__ = t4, e5;
7837 }, o2(e4, t3);
7838 }
7839 e3.default = (function(e4) {
7840 a2(t3, e4);
7841 function t3(t4) {
7842 var n3 = e4.call(this, t4) || this;
7843 return n3.type = r2.STRING, n3;
7844 }
7845 return t3;
7846 })(n2.default), t2.exports = e3.default;
7847 })), zo = t(((e3, t2) => {
7848 e3.__esModule = true, e3.default = void 0;
7849 var n2 = i2(Ao()), r2 = $();
7850 function i2(e4) {
7851 return e4 && e4.__esModule ? e4 : { default: e4 };
7852 }
7853 function a2(e4, t3) {
7854 e4.prototype = Object.create(t3.prototype), e4.prototype.constructor = e4, o2(e4, t3);
7855 }
7856 function o2(e4, t3) {
7857 return o2 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e5, t4) {
7858 return e5.__proto__ = t4, e5;
7859 }, o2(e4, t3);
7860 }
7861 e3.default = (function(e4) {
7862 a2(t3, e4);
7863 function t3(t4) {
7864 var n4 = e4.call(this, t4) || this;
7865 return n4.type = r2.PSEUDO, n4;
7866 }
7867 var n3 = t3.prototype;
7868 return n3.toString = function() {
7869 var e5 = this.length ? `(` + this.map(String).join(`,`) + `)` : ``;
7870 return [this.rawSpaceBefore, this.stringifyProperty(`value`), e5, this.rawSpaceAfter].join(``);
7871 }, t3;
7872 })(n2.default), t2.exports = e3.default;
7873 })), Bo = t(((e3) => {
7874 e3.__esModule = true, e3.default = void 0, e3.unescapeValue = v2;
7875 var t2 = c2(s()), n2 = c2(wo()), i2 = c2(Io()), a2 = $(), o2;
7876 function c2(e4) {
7877 return e4 && e4.__esModule ? e4 : { default: e4 };
7878 }
7879 function l2(e4, t3) {
7880 for (var n3 = 0; n3 < t3.length; n3++) {
7881 var r2 = t3[n3];
7882 r2.enumerable = r2.enumerable || false, r2.configurable = true, `value` in r2 && (r2.writable = true), Object.defineProperty(e4, r2.key, r2);
7883 }
7884 }
7885 function u2(e4, t3, n3) {
7886 return t3 && l2(e4.prototype, t3), n3 && l2(e4, n3), Object.defineProperty(e4, `prototype`, { writable: false }), e4;
7887 }
7888 function d2(e4, t3) {
7889 e4.prototype = Object.create(t3.prototype), e4.prototype.constructor = e4, f2(e4, t3);
7890 }
7891 function f2(e4, t3) {
7892 return f2 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e5, t4) {
7893 return e5.__proto__ = t4, e5;
7894 }, f2(e4, t3);
7895 }
7896 var p2 = r(), m2 = /^('|")([^]*)\1$/, h2 = p2(function() {
7897 }, `Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead.`), g2 = p2(function() {
7898 }, `Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead.`), _2 = p2(function() {
7899 }, `Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.`);
7900 function v2(e4) {
7901 var t3 = false, r2 = null, i3 = e4, a3 = i3.match(m2);
7902 return a3 && (r2 = a3[1], i3 = a3[2]), i3 = (0, n2.default)(i3), i3 !== e4 && (t3 = true), { deprecatedUsage: t3, unescaped: i3, quoteMark: r2 };
7903 }
7904 function y2(e4) {
7905 if (e4.quoteMark !== void 0 || e4.value === void 0) return e4;
7906 _2();
7907 var t3 = v2(e4.value), n3 = t3.quoteMark, r2 = t3.unescaped;
7908 return e4.raws || (e4.raws = {}), e4.raws.value === void 0 && (e4.raws.value = e4.value), e4.value = r2, e4.quoteMark = n3, e4;
7909 }
7910 var b2 = (function(e4) {
7911 d2(n3, e4);
7912 function n3(t3) {
7913 var n4;
7914 return t3 === void 0 && (t3 = {}), n4 = e4.call(this, y2(t3)) || this, n4.type = a2.ATTRIBUTE, n4.raws = n4.raws || {}, Object.defineProperty(n4.raws, `unquoted`, { get: p2(function() {
7915 return n4.value;
7916 }, `attr.raws.unquoted is deprecated. Call attr.value instead.`), set: p2(function() {
7917 return n4.value;
7918 }, `Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.`) }), n4._constructed = true, n4;
7919 }
7920 var r2 = n3.prototype;
7921 return r2.getQuotedValue = function(e5) {
7922 e5 === void 0 && (e5 = {});
7923 var n4 = x2[this._determineQuoteMark(e5)];
7924 return (0, t2.default)(this._value, n4);
7925 }, r2._determineQuoteMark = function(e5) {
7926 return e5.smart ? this.smartQuoteMark(e5) : this.preferredQuoteMark(e5);
7927 }, r2.setValue = function(e5, t3) {
7928 t3 === void 0 && (t3 = {}), this._value = e5, this._quoteMark = this._determineQuoteMark(t3), this._syncRawValue();
7929 }, r2.smartQuoteMark = function(e5) {
7930 var r3 = this.value, i3 = r3.replace(/[^']/g, ``).length, a3 = r3.replace(/[^"]/g, ``).length;
7931 if (i3 + a3 === 0) {
7932 var o3 = (0, t2.default)(r3, { isIdentifier: true });
7933 if (o3 === r3) return n3.NO_QUOTE;
7934 var s2 = this.preferredQuoteMark(e5);
7935 if (s2 === n3.NO_QUOTE) {
7936 var c3 = this.quoteMark || e5.quoteMark || n3.DOUBLE_QUOTE, l3 = x2[c3];
7937 if ((0, t2.default)(r3, l3).length < o3.length) return c3;
7938 }
7939 return s2;
7940 } else if (a3 === i3) return this.preferredQuoteMark(e5);
7941 else if (a3 < i3) return n3.DOUBLE_QUOTE;
7942 else return n3.SINGLE_QUOTE;
7943 }, r2.preferredQuoteMark = function(e5) {
7944 var t3 = e5.preferCurrentQuoteMark ? this.quoteMark : e5.quoteMark;
7945 return t3 === void 0 && (t3 = e5.preferCurrentQuoteMark ? e5.quoteMark : this.quoteMark), t3 === void 0 && (t3 = n3.DOUBLE_QUOTE), t3;
7946 }, r2._syncRawValue = function() {
7947 var e5 = (0, t2.default)(this._value, x2[this.quoteMark]);
7948 e5 === this._value ? this.raws && delete this.raws.value : this.raws.value = e5;
7949 }, r2._handleEscapes = function(e5, n4) {
7950 if (this._constructed) {
7951 var r3 = (0, t2.default)(n4, { isIdentifier: true });
7952 r3 === n4 ? delete this.raws[e5] : this.raws[e5] = r3;
7953 }
7954 }, r2._spacesFor = function(e5) {
7955 var t3 = { before: ``, after: `` }, n4 = this.spaces[e5] || {}, r3 = this.raws.spaces && this.raws.spaces[e5] || {};
7956 return Object.assign(t3, n4, r3);
7957 }, r2._stringFor = function(e5, t3, n4) {
7958 t3 === void 0 && (t3 = e5), n4 === void 0 && (n4 = S2);
7959 var r3 = this._spacesFor(t3);
7960 return n4(this.stringifyProperty(e5), r3);
7961 }, r2.offsetOf = function(e5) {
7962 var t3 = 1, n4 = this._spacesFor(`attribute`);
7963 if (t3 += n4.before.length, e5 === `namespace` || e5 === `ns`) return this.namespace ? t3 : -1;
7964 if (e5 === `attributeNS` || (t3 += this.namespaceString.length, this.namespace && (t3 += 1), e5 === `attribute`)) return t3;
7965 t3 += this.stringifyProperty(`attribute`).length, t3 += n4.after.length;
7966 var r3 = this._spacesFor(`operator`);
7967 t3 += r3.before.length;
7968 var i3 = this.stringifyProperty(`operator`);
7969 if (e5 === `operator`) return i3 ? t3 : -1;
7970 t3 += i3.length, t3 += r3.after.length;
7971 var a3 = this._spacesFor(`value`);
7972 t3 += a3.before.length;
7973 var o3 = this.stringifyProperty(`value`);
7974 if (e5 === `value`) return o3 ? t3 : -1;
7975 t3 += o3.length, t3 += a3.after.length;
7976 var s2 = this._spacesFor(`insensitive`);
7977 return t3 += s2.before.length, e5 === `insensitive` && this.insensitive ? t3 : -1;
7978 }, r2.toString = function() {
7979 var e5 = this, t3 = [this.rawSpaceBefore, `[`];
7980 return t3.push(this._stringFor(`qualifiedAttribute`, `attribute`)), this.operator && (this.value || this.value === ``) && (t3.push(this._stringFor(`operator`)), t3.push(this._stringFor(`value`)), t3.push(this._stringFor(`insensitiveFlag`, `insensitive`, function(t4, n4) {
7981 return t4.length > 0 && !e5.quoted && n4.before.length === 0 && !(e5.spaces.value && e5.spaces.value.after) && (n4.before = ` `), S2(t4, n4);
7982 }))), t3.push(`]`), t3.push(this.rawSpaceAfter), t3.join(``);
7983 }, u2(n3, [{ key: `quoted`, get: function() {
7984 var e5 = this.quoteMark;
7985 return e5 === `'` || e5 === `"`;
7986 }, set: function(e5) {
7987 g2();
7988 } }, { key: `quoteMark`, get: function() {
7989 return this._quoteMark;
7990 }, set: function(e5) {
7991 if (!this._constructed) {
7992 this._quoteMark = e5;
7993 return;
7994 }
7995 this._quoteMark !== e5 && (this._quoteMark = e5, this._syncRawValue());
7996 } }, { key: `qualifiedAttribute`, get: function() {
7997 return this.qualifiedName(this.raws.attribute || this.attribute);
7998 } }, { key: `insensitiveFlag`, get: function() {
7999 return this.insensitive ? `i` : ``;
8000 } }, { key: `value`, get: function() {
8001 return this._value;
8002 }, set: function(e5) {
8003 if (this._constructed) {
8004 var t3 = v2(e5), n4 = t3.deprecatedUsage, r3 = t3.unescaped, i3 = t3.quoteMark;
8005 if (n4 && h2(), r3 === this._value && i3 === this._quoteMark) return;
8006 this._value = r3, this._quoteMark = i3, this._syncRawValue();
8007 } else this._value = e5;
8008 } }, { key: `insensitive`, get: function() {
8009 return this._insensitive;
8010 }, set: function(e5) {
8011 e5 || (this._insensitive = false, this.raws && (this.raws.insensitiveFlag === `I` || this.raws.insensitiveFlag === `i`) && (this.raws.insensitiveFlag = void 0)), this._insensitive = e5;
8012 } }, { key: `attribute`, get: function() {
8013 return this._attribute;
8014 }, set: function(e5) {
8015 this._handleEscapes(`attribute`, e5), this._attribute = e5;
8016 } }]), n3;
8017 })(i2.default);
8018 e3.default = b2, b2.NO_QUOTE = null, b2.SINGLE_QUOTE = `'`, b2.DOUBLE_QUOTE = `"`;
8019 var x2 = (o2 = { "'": { quotes: `single`, wrap: true }, '"': { quotes: `double`, wrap: true } }, o2[null] = { isIdentifier: true }, o2);
8020 function S2(e4, t3) {
8021 return `` + t3.before + e4 + t3.after;
8022 }
8023 })), Vo = t(((e3, t2) => {
8024 e3.__esModule = true, e3.default = void 0;
8025 var n2 = i2(Io()), r2 = $();
8026 function i2(e4) {
8027 return e4 && e4.__esModule ? e4 : { default: e4 };
8028 }
8029 function a2(e4, t3) {
8030 e4.prototype = Object.create(t3.prototype), e4.prototype.constructor = e4, o2(e4, t3);
8031 }
8032 function o2(e4, t3) {
8033 return o2 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e5, t4) {
8034 return e5.__proto__ = t4, e5;
8035 }, o2(e4, t3);
8036 }
8037 e3.default = (function(e4) {
8038 a2(t3, e4);
8039 function t3(t4) {
8040 var n3 = e4.call(this, t4) || this;
8041 return n3.type = r2.UNIVERSAL, n3.value = `*`, n3;
8042 }
8043 return t3;
8044 })(n2.default), t2.exports = e3.default;
8045 })), Ho = t(((e3, t2) => {
8046 e3.__esModule = true, e3.default = void 0;
8047 var n2 = i2(ko()), r2 = $();
8048 function i2(e4) {
8049 return e4 && e4.__esModule ? e4 : { default: e4 };
8050 }
8051 function a2(e4, t3) {
8052 e4.prototype = Object.create(t3.prototype), e4.prototype.constructor = e4, o2(e4, t3);
8053 }
8054 function o2(e4, t3) {
8055 return o2 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e5, t4) {
8056 return e5.__proto__ = t4, e5;
8057 }, o2(e4, t3);
8058 }
8059 e3.default = (function(e4) {
8060 a2(t3, e4);
8061 function t3(t4) {
8062 var n3 = e4.call(this, t4) || this;
8063 return n3.type = r2.COMBINATOR, n3;
8064 }
8065 return t3;
8066 })(n2.default), t2.exports = e3.default;
8067 })), Uo = t(((e3, t2) => {
8068 e3.__esModule = true, e3.default = void 0;
8069 var n2 = i2(ko()), r2 = $();
8070 function i2(e4) {
8071 return e4 && e4.__esModule ? e4 : { default: e4 };
8072 }
8073 function a2(e4, t3) {
8074 e4.prototype = Object.create(t3.prototype), e4.prototype.constructor = e4, o2(e4, t3);
8075 }
8076 function o2(e4, t3) {
8077 return o2 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e5, t4) {
8078 return e5.__proto__ = t4, e5;
8079 }, o2(e4, t3);
8080 }
8081 e3.default = (function(e4) {
8082 a2(t3, e4);
8083 function t3(t4) {
8084 var n3 = e4.call(this, t4) || this;
8085 return n3.type = r2.NESTING, n3.value = `&`, n3;
8086 }
8087 return t3;
8088 })(n2.default), t2.exports = e3.default;
8089 })), Wo = t(((e3, t2) => {
8090 e3.__esModule = true, e3.default = n2;
8091 function n2(e4) {
8092 return e4.sort(function(e5, t3) {
8093 return e5 - t3;
8094 });
8095 }
8096 t2.exports = e3.default;
8097 })), Go = t(((e3) => {
8098 e3.__esModule = true, e3.word = e3.tilde = e3.tab = e3.str = e3.space = e3.slash = e3.singleQuote = e3.semicolon = e3.plus = e3.pipe = e3.openSquare = e3.openParenthesis = e3.newline = e3.greaterThan = e3.feed = e3.equals = e3.doubleQuote = e3.dollar = e3.cr = e3.comment = e3.comma = e3.combinator = e3.colon = e3.closeSquare = e3.closeParenthesis = e3.caret = e3.bang = e3.backslash = e3.at = e3.asterisk = e3.ampersand = void 0, e3.ampersand = 38, e3.asterisk = 42, e3.at = 64, e3.comma = 44, e3.colon = 58, e3.semicolon = 59, e3.openParenthesis = 40, e3.closeParenthesis = 41, e3.openSquare = 91, e3.closeSquare = 93, e3.dollar = 36, e3.tilde = 126, e3.caret = 94, e3.plus = 43, e3.equals = 61, e3.pipe = 124, e3.greaterThan = 62, e3.space = 32;
8099 var t2 = 39;
8100 e3.singleQuote = t2, e3.doubleQuote = 34, e3.slash = 47, e3.bang = 33, e3.backslash = 92, e3.cr = 13, e3.feed = 12, e3.newline = 10, e3.tab = 9, e3.str = t2, e3.comment = -1, e3.word = -2, e3.combinator = -3;
8101 })), Ko = t(((e3) => {
8102 e3.__esModule = true, e3.FIELDS = void 0, e3.default = p2;
8103 var t2 = a2(Go()), n2, r2;
8104 function i2(e4) {
8105 if (typeof WeakMap != `function`) return null;
8106 var t3 = /* @__PURE__ */ new WeakMap(), n3 = /* @__PURE__ */ new WeakMap();
8107 return (i2 = function(e5) {
8108 return e5 ? n3 : t3;
8109 })(e4);
8110 }
8111 function a2(e4, t3) {
8112 if (!t3 && e4 && e4.__esModule) return e4;
8113 if (e4 === null || typeof e4 != `object` && typeof e4 != `function`) return { default: e4 };
8114 var n3 = i2(t3);
8115 if (n3 && n3.has(e4)) return n3.get(e4);
8116 var r3 = {}, a3 = Object.defineProperty && Object.getOwnPropertyDescriptor;
8117 for (var o3 in e4) if (o3 !== `default` && Object.prototype.hasOwnProperty.call(e4, o3)) {
8118 var s3 = a3 ? Object.getOwnPropertyDescriptor(e4, o3) : null;
8119 s3 && (s3.get || s3.set) ? Object.defineProperty(r3, o3, s3) : r3[o3] = e4[o3];
8120 }
8121 return r3.default = e4, n3 && n3.set(e4, r3), r3;
8122 }
8123 for (var o2 = (n2 = {}, n2[t2.tab] = true, n2[t2.newline] = true, n2[t2.cr] = true, n2[t2.feed] = true, n2), s2 = (r2 = {}, r2[t2.space] = true, r2[t2.tab] = true, r2[t2.newline] = true, r2[t2.cr] = true, r2[t2.feed] = true, r2[t2.ampersand] = true, r2[t2.asterisk] = true, r2[t2.bang] = true, r2[t2.comma] = true, r2[t2.colon] = true, r2[t2.semicolon] = true, r2[t2.openParenthesis] = true, r2[t2.closeParenthesis] = true, r2[t2.openSquare] = true, r2[t2.closeSquare] = true, r2[t2.singleQuote] = true, r2[t2.doubleQuote] = true, r2[t2.plus] = true, r2[t2.pipe] = true, r2[t2.tilde] = true, r2[t2.greaterThan] = true, r2[t2.equals] = true, r2[t2.dollar] = true, r2[t2.caret] = true, r2[t2.slash] = true, r2), c2 = {}, l2 = `0123456789abcdefABCDEF`, u2 = 0; u2 < l2.length; u2++) c2[l2.charCodeAt(u2)] = true;
8124 function d2(e4, n3) {
8125 var r3 = n3, i3;
8126 do {
8127 if (i3 = e4.charCodeAt(r3), s2[i3]) return r3 - 1;
8128 i3 === t2.backslash ? r3 = f2(e4, r3) + 1 : r3++;
8129 } while (r3 < e4.length);
8130 return r3 - 1;
8131 }
8132 function f2(e4, n3) {
8133 var r3 = n3, i3 = e4.charCodeAt(r3 + 1);
8134 if (!o2[i3]) if (c2[i3]) {
8135 var a3 = 0;
8136 do
8137 r3++, a3++, i3 = e4.charCodeAt(r3 + 1);
8138 while (c2[i3] && a3 < 6);
8139 a3 < 6 && i3 === t2.space && r3++;
8140 } else r3++;
8141 return r3;
8142 }
8143 e3.FIELDS = { TYPE: 0, START_LINE: 1, START_COL: 2, END_LINE: 3, END_COL: 4, START_POS: 5, END_POS: 6 };
8144 function p2(e4) {
8145 var n3 = [], r3 = e4.css.valueOf(), i3 = r3.length, a3 = -1, o3 = 1, s3 = 0, c3 = 0, l3, u3, f3, p3, m2, h2, g2, _2, v2, y2, b2, x2, S2;
8146 function C2(t3, n4) {
8147 if (e4.safe) r3 += n4, v2 = r3.length - 1;
8148 else throw e4.error(`Unclosed ` + t3, o3, s3 - a3, s3);
8149 }
8150 for (; s3 < i3; ) {
8151 switch (l3 = r3.charCodeAt(s3), l3 === t2.newline && (a3 = s3, o3 += 1), l3) {
8152 case t2.space:
8153 case t2.tab:
8154 case t2.newline:
8155 case t2.cr:
8156 case t2.feed:
8157 v2 = s3;
8158 do
8159 v2 += 1, l3 = r3.charCodeAt(v2), l3 === t2.newline && (a3 = v2, o3 += 1);
8160 while (l3 === t2.space || l3 === t2.newline || l3 === t2.tab || l3 === t2.cr || l3 === t2.feed);
8161 S2 = t2.space, p3 = o3, f3 = v2 - a3 - 1, c3 = v2;
8162 break;
8163 case t2.plus:
8164 case t2.greaterThan:
8165 case t2.tilde:
8166 case t2.pipe:
8167 v2 = s3;
8168 do
8169 v2 += 1, l3 = r3.charCodeAt(v2);
8170 while (l3 === t2.plus || l3 === t2.greaterThan || l3 === t2.tilde || l3 === t2.pipe);
8171 S2 = t2.combinator, p3 = o3, f3 = s3 - a3, c3 = v2;
8172 break;
8173 case t2.asterisk:
8174 case t2.ampersand:
8175 case t2.bang:
8176 case t2.comma:
8177 case t2.equals:
8178 case t2.dollar:
8179 case t2.caret:
8180 case t2.openSquare:
8181 case t2.closeSquare:
8182 case t2.colon:
8183 case t2.semicolon:
8184 case t2.openParenthesis:
8185 case t2.closeParenthesis:
8186 v2 = s3, S2 = l3, p3 = o3, f3 = s3 - a3, c3 = v2 + 1;
8187 break;
8188 case t2.singleQuote:
8189 case t2.doubleQuote:
8190 x2 = l3 === t2.singleQuote ? `'` : `"`, v2 = s3;
8191 do
8192 for (m2 = false, v2 = r3.indexOf(x2, v2 + 1), v2 === -1 && C2(`quote`, x2), h2 = v2; r3.charCodeAt(h2 - 1) === t2.backslash; ) --h2, m2 = !m2;
8193 while (m2);
8194 S2 = t2.str, p3 = o3, f3 = s3 - a3, c3 = v2 + 1;
8195 break;
8196 default:
8197 l3 === t2.slash && r3.charCodeAt(s3 + 1) === t2.asterisk ? (v2 = r3.indexOf(`*/`, s3 + 2) + 1, v2 === 0 && C2(`comment`, `*/`), u3 = r3.slice(s3, v2 + 1), _2 = u3.split(`
8198 `), g2 = _2.length - 1, g2 > 0 ? (y2 = o3 + g2, b2 = v2 - _2[g2].length) : (y2 = o3, b2 = a3), S2 = t2.comment, o3 = y2, p3 = y2, f3 = v2 - b2) : l3 === t2.slash ? (v2 = s3, S2 = l3, p3 = o3, f3 = s3 - a3, c3 = v2 + 1) : (v2 = d2(r3, s3), S2 = t2.word, p3 = o3, f3 = v2 - a3), c3 = v2 + 1;
8199 break;
8200 }
8201 n3.push([S2, o3, s3 - a3, p3, f3, s3, c3]), b2 && (b2 = (a3 = b2, null)), s3 = c3;
8202 }
8203 return n3;
8204 }
8205 })), qo = t(((e3, t2) => {
8206 e3.__esModule = true, e3.default = void 0;
8207 var n2 = C2(jo()), r2 = C2(Mo()), i2 = C2(No()), a2 = C2(Po()), o2 = C2(Fo()), s2 = C2(Lo()), c2 = C2(Ro()), l2 = C2(zo()), u2 = S2(Bo()), d2 = C2(Vo()), f2 = C2(Ho()), p2 = C2(Uo()), m2 = C2(Wo()), h2 = S2(Ko()), g2 = S2(Go()), _2 = S2($()), v2 = Oo(), y2, b2;
8208 function x2(e4) {
8209 if (typeof WeakMap != `function`) return null;
8210 var t3 = /* @__PURE__ */ new WeakMap(), n3 = /* @__PURE__ */ new WeakMap();
8211 return (x2 = function(e5) {
8212 return e5 ? n3 : t3;
8213 })(e4);
8214 }
8215 function S2(e4, t3) {
8216 if (!t3 && e4 && e4.__esModule) return e4;
8217 if (e4 === null || typeof e4 != `object` && typeof e4 != `function`) return { default: e4 };
8218 var n3 = x2(t3);
8219 if (n3 && n3.has(e4)) return n3.get(e4);
8220 var r3 = {}, i3 = Object.defineProperty && Object.getOwnPropertyDescriptor;
8221 for (var a3 in e4) if (a3 !== `default` && Object.prototype.hasOwnProperty.call(e4, a3)) {
8222 var o3 = i3 ? Object.getOwnPropertyDescriptor(e4, a3) : null;
8223 o3 && (o3.get || o3.set) ? Object.defineProperty(r3, a3, o3) : r3[a3] = e4[a3];
8224 }
8225 return r3.default = e4, n3 && n3.set(e4, r3), r3;
8226 }
8227 function C2(e4) {
8228 return e4 && e4.__esModule ? e4 : { default: e4 };
8229 }
8230 function ee2(e4, t3) {
8231 for (var n3 = 0; n3 < t3.length; n3++) {
8232 var r3 = t3[n3];
8233 r3.enumerable = r3.enumerable || false, r3.configurable = true, `value` in r3 && (r3.writable = true), Object.defineProperty(e4, r3.key, r3);
8234 }
8235 }
8236 function w2(e4, t3, n3) {
8237 return t3 && ee2(e4.prototype, t3), n3 && ee2(e4, n3), Object.defineProperty(e4, `prototype`, { writable: false }), e4;
8238 }
8239 var te2 = (y2 = {}, y2[g2.space] = true, y2[g2.cr] = true, y2[g2.feed] = true, y2[g2.newline] = true, y2[g2.tab] = true, y2), ne2 = Object.assign({}, te2, (b2 = {}, b2[g2.comment] = true, b2));
8240 function re2(e4) {
8241 return { line: e4[h2.FIELDS.START_LINE], column: e4[h2.FIELDS.START_COL] };
8242 }
8243 function T2(e4) {
8244 return { line: e4[h2.FIELDS.END_LINE], column: e4[h2.FIELDS.END_COL] };
8245 }
8246 function ie2(e4, t3, n3, r3) {
8247 return { start: { line: e4, column: t3 }, end: { line: n3, column: r3 } };
8248 }
8249 function ae2(e4) {
8250 return ie2(e4[h2.FIELDS.START_LINE], e4[h2.FIELDS.START_COL], e4[h2.FIELDS.END_LINE], e4[h2.FIELDS.END_COL]);
8251 }
8252 function oe2(e4, t3) {
8253 if (e4) return ie2(e4[h2.FIELDS.START_LINE], e4[h2.FIELDS.START_COL], t3[h2.FIELDS.END_LINE], t3[h2.FIELDS.END_COL]);
8254 }
8255 function se2(e4, t3) {
8256 var n3 = e4[t3];
8257 if (typeof n3 == `string`) return n3.indexOf(`\\`) !== -1 && ((0, v2.ensureObject)(e4, `raws`), e4[t3] = (0, v2.unesc)(n3), e4.raws[t3] === void 0 && (e4.raws[t3] = n3)), e4;
8258 }
8259 function ce2(e4, t3) {
8260 for (var n3 = -1, r3 = []; (n3 = e4.indexOf(t3, n3 + 1)) !== -1; ) r3.push(n3);
8261 return r3;
8262 }
8263 function le2() {
8264 var e4 = Array.prototype.concat.apply([], arguments);
8265 return e4.filter(function(t3, n3) {
8266 return n3 === e4.indexOf(t3);
8267 });
8268 }
8269 e3.default = (function() {
8270 function e4(e5, t4) {
8271 t4 === void 0 && (t4 = {}), this.rule = e5, this.options = Object.assign({ lossy: false, safe: false }, t4), this.position = 0, this.css = typeof this.rule == `string` ? this.rule : this.rule.selector, this.tokens = (0, h2.default)({ css: this.css, error: this._errorGenerator(), safe: this.options.safe });
8272 var i3 = oe2(this.tokens[0], this.tokens[this.tokens.length - 1]);
8273 this.root = new n2.default({ source: i3 }), this.root.errorGenerator = this._errorGenerator();
8274 var a3 = new r2.default({ source: { start: { line: 1, column: 1 } }, sourceIndex: 0 });
8275 this.root.append(a3), this.current = a3, this.loop();
8276 }
8277 var t3 = e4.prototype;
8278 return t3._errorGenerator = function() {
8279 var e5 = this;
8280 return function(t4, n3) {
8281 return typeof e5.rule == `string` ? Error(t4) : e5.rule.error(t4, n3);
8282 };
8283 }, t3.attribute = function() {
8284 var e5 = [], t4 = this.currToken;
8285 for (this.position++; this.position < this.tokens.length && this.currToken[h2.FIELDS.TYPE] !== g2.closeSquare; ) e5.push(this.currToken), this.position++;
8286 if (this.currToken[h2.FIELDS.TYPE] !== g2.closeSquare) return this.expected(`closing square bracket`, this.currToken[h2.FIELDS.START_POS]);
8287 var n3 = e5.length, r3 = { source: ie2(t4[1], t4[2], this.currToken[3], this.currToken[4]), sourceIndex: t4[h2.FIELDS.START_POS] };
8288 if (n3 === 1 && !~[g2.word].indexOf(e5[0][h2.FIELDS.TYPE])) return this.expected(`attribute`, e5[0][h2.FIELDS.START_POS]);
8289 for (var i3 = 0, a3 = ``, o3 = ``, s3 = null, c3 = false; i3 < n3; ) {
8290 var l3 = e5[i3], d3 = this.content(l3), f3 = e5[i3 + 1];
8291 switch (l3[h2.FIELDS.TYPE]) {
8292 case g2.space:
8293 if (c3 = true, this.options.lossy) break;
8294 if (s3) {
8295 (0, v2.ensureObject)(r3, `spaces`, s3);
8296 var p3 = r3.spaces[s3].after || ``;
8297 r3.spaces[s3].after = p3 + d3;
8298 var m3 = (0, v2.getProp)(r3, `raws`, `spaces`, s3, `after`) || null;
8299 m3 && (r3.raws.spaces[s3].after = m3 + d3);
8300 } else a3 += d3, o3 += d3;
8301 break;
8302 case g2.asterisk:
8303 f3[h2.FIELDS.TYPE] === g2.equals ? (r3.operator = d3, s3 = `operator`) : (!r3.namespace || s3 === `namespace` && !c3) && f3 && (a3 && (a3 = ((0, v2.ensureObject)(r3, `spaces`, `attribute`), r3.spaces.attribute.before = a3, ``)), o3 && (o3 = ((0, v2.ensureObject)(r3, `raws`, `spaces`, `attribute`), r3.raws.spaces.attribute.before = a3, ``)), r3.namespace = (r3.namespace || ``) + d3, (0, v2.getProp)(r3, `raws`, `namespace`) && (r3.raws.namespace += d3), s3 = `namespace`), c3 = false;
8304 break;
8305 case g2.dollar:
8306 if (s3 === `value`) {
8307 var _3 = (0, v2.getProp)(r3, `raws`, `value`);
8308 r3.value += `$`, _3 && (r3.raws.value = _3 + `$`);
8309 break;
8310 }
8311 case g2.caret:
8312 f3[h2.FIELDS.TYPE] === g2.equals && (r3.operator = d3, s3 = `operator`), c3 = false;
8313 break;
8314 case g2.combinator:
8315 if (d3 === `~` && f3[h2.FIELDS.TYPE] === g2.equals && (r3.operator = d3, s3 = `operator`), d3 !== `|`) {
8316 c3 = false;
8317 break;
8318 }
8319 f3[h2.FIELDS.TYPE] === g2.equals ? (r3.operator = d3, s3 = `operator`) : !r3.namespace && !r3.attribute && (r3.namespace = true), c3 = false;
8320 break;
8321 case g2.word:
8322 if (f3 && this.content(f3) === `|` && e5[i3 + 2] && e5[i3 + 2][h2.FIELDS.TYPE] !== g2.equals && !r3.operator && !r3.namespace) r3.namespace = d3, s3 = `namespace`;
8323 else if (!r3.attribute || s3 === `attribute` && !c3) a3 && (a3 = ((0, v2.ensureObject)(r3, `spaces`, `attribute`), r3.spaces.attribute.before = a3, ``)), o3 && (o3 = ((0, v2.ensureObject)(r3, `raws`, `spaces`, `attribute`), r3.raws.spaces.attribute.before = o3, ``)), r3.attribute = (r3.attribute || ``) + d3, (0, v2.getProp)(r3, `raws`, `attribute`) && (r3.raws.attribute += d3), s3 = `attribute`;
8324 else if (!r3.value && r3.value !== `` || s3 === `value` && !(c3 || r3.quoteMark)) {
8325 var y3 = (0, v2.unesc)(d3), b3 = (0, v2.getProp)(r3, `raws`, `value`) || ``, x3 = r3.value || ``;
8326 r3.value = x3 + y3, r3.quoteMark = null, (y3 !== d3 || b3) && ((0, v2.ensureObject)(r3, `raws`), r3.raws.value = (b3 || x3) + d3), s3 = `value`;
8327 } else {
8328 var S3 = d3 === `i` || d3 === `I`;
8329 (r3.value || r3.value === ``) && (r3.quoteMark || c3) ? (r3.insensitive = S3, (!S3 || d3 === `I`) && ((0, v2.ensureObject)(r3, `raws`), r3.raws.insensitiveFlag = d3), s3 = `insensitive`, a3 && (a3 = ((0, v2.ensureObject)(r3, `spaces`, `insensitive`), r3.spaces.insensitive.before = a3, ``)), o3 && (o3 = ((0, v2.ensureObject)(r3, `raws`, `spaces`, `insensitive`), r3.raws.spaces.insensitive.before = o3, ``))) : (r3.value || r3.value === ``) && (s3 = `value`, r3.value += d3, r3.raws.value && (r3.raws.value += d3));
8330 }
8331 c3 = false;
8332 break;
8333 case g2.str:
8334 if (!r3.attribute || !r3.operator) return this.error(`Expected an attribute followed by an operator preceding the string.`, { index: l3[h2.FIELDS.START_POS] });
8335 var C3 = (0, u2.unescapeValue)(d3), ee3 = C3.unescaped, w3 = C3.quoteMark;
8336 r3.value = ee3, r3.quoteMark = w3, s3 = `value`, (0, v2.ensureObject)(r3, `raws`), r3.raws.value = d3, c3 = false;
8337 break;
8338 case g2.equals:
8339 if (!r3.attribute) return this.expected(`attribute`, l3[h2.FIELDS.START_POS], d3);
8340 if (r3.value) return this.error(`Unexpected "=" found; an operator was already defined.`, { index: l3[h2.FIELDS.START_POS] });
8341 r3.operator = r3.operator ? r3.operator + d3 : d3, s3 = `operator`, c3 = false;
8342 break;
8343 case g2.comment:
8344 if (s3) if (c3 || f3 && f3[h2.FIELDS.TYPE] === g2.space || s3 === `insensitive`) {
8345 var te3 = (0, v2.getProp)(r3, `spaces`, s3, `after`) || ``, ne3 = (0, v2.getProp)(r3, `raws`, `spaces`, s3, `after`) || te3;
8346 (0, v2.ensureObject)(r3, `raws`, `spaces`, s3), r3.raws.spaces[s3].after = ne3 + d3;
8347 } else {
8348 var re3 = r3[s3] || ``, T3 = (0, v2.getProp)(r3, `raws`, s3) || re3;
8349 (0, v2.ensureObject)(r3, `raws`), r3.raws[s3] = T3 + d3;
8350 }
8351 else o3 += d3;
8352 break;
8353 default:
8354 return this.error(`Unexpected "` + d3 + `" found.`, { index: l3[h2.FIELDS.START_POS] });
8355 }
8356 i3++;
8357 }
8358 se2(r3, `attribute`), se2(r3, `namespace`), this.newNode(new u2.default(r3)), this.position++;
8359 }, t3.parseWhitespaceEquivalentTokens = function(e5) {
8360 e5 < 0 && (e5 = this.tokens.length);
8361 var t4 = this.position, n3 = [], r3 = ``, i3 = void 0;
8362 do
8363 if (te2[this.currToken[h2.FIELDS.TYPE]]) this.options.lossy || (r3 += this.content());
8364 else if (this.currToken[h2.FIELDS.TYPE] === g2.comment) {
8365 var o3 = {};
8366 r3 && (r3 = (o3.before = r3, ``)), i3 = new a2.default({ value: this.content(), source: ae2(this.currToken), sourceIndex: this.currToken[h2.FIELDS.START_POS], spaces: o3 }), n3.push(i3);
8367 }
8368 while (++this.position < e5);
8369 if (r3) {
8370 if (i3) i3.spaces.after = r3;
8371 else if (!this.options.lossy) {
8372 var s3 = this.tokens[t4], l3 = this.tokens[this.position - 1];
8373 n3.push(new c2.default({ value: ``, source: ie2(s3[h2.FIELDS.START_LINE], s3[h2.FIELDS.START_COL], l3[h2.FIELDS.END_LINE], l3[h2.FIELDS.END_COL]), sourceIndex: s3[h2.FIELDS.START_POS], spaces: { before: r3, after: `` } }));
8374 }
8375 }
8376 return n3;
8377 }, t3.convertWhitespaceNodesToSpace = function(e5, t4) {
8378 var n3 = this;
8379 t4 === void 0 && (t4 = false);
8380 var r3 = ``, i3 = ``;
8381 return e5.forEach(function(e6) {
8382 var a3 = n3.lossySpace(e6.spaces.before, t4), o3 = n3.lossySpace(e6.rawSpaceBefore, t4);
8383 r3 += a3 + n3.lossySpace(e6.spaces.after, t4 && a3.length === 0), i3 += a3 + e6.value + n3.lossySpace(e6.rawSpaceAfter, t4 && o3.length === 0);
8384 }), i3 === r3 && (i3 = void 0), { space: r3, rawSpace: i3 };
8385 }, t3.isNamedCombinator = function(e5) {
8386 return e5 === void 0 && (e5 = this.position), this.tokens[e5 + 0] && this.tokens[e5 + 0][h2.FIELDS.TYPE] === g2.slash && this.tokens[e5 + 1] && this.tokens[e5 + 1][h2.FIELDS.TYPE] === g2.word && this.tokens[e5 + 2] && this.tokens[e5 + 2][h2.FIELDS.TYPE] === g2.slash;
8387 }, t3.namedCombinator = function() {
8388 if (this.isNamedCombinator()) {
8389 var e5 = this.content(this.tokens[this.position + 1]), t4 = (0, v2.unesc)(e5).toLowerCase(), n3 = {};
8390 t4 !== e5 && (n3.value = `/` + e5 + `/`);
8391 var r3 = new f2.default({ value: `/` + t4 + `/`, source: ie2(this.currToken[h2.FIELDS.START_LINE], this.currToken[h2.FIELDS.START_COL], this.tokens[this.position + 2][h2.FIELDS.END_LINE], this.tokens[this.position + 2][h2.FIELDS.END_COL]), sourceIndex: this.currToken[h2.FIELDS.START_POS], raws: n3 });
8392 return this.position += 3, r3;
8393 } else this.unexpected();
8394 }, t3.combinator = function() {
8395 var e5 = this;
8396 if (this.content() === `|`) return this.namespace();
8397 var t4 = this.locateNextMeaningfulToken(this.position);
8398 if (t4 < 0 || this.tokens[t4][h2.FIELDS.TYPE] === g2.comma || this.tokens[t4][h2.FIELDS.TYPE] === g2.closeParenthesis) {
8399 var n3 = this.parseWhitespaceEquivalentTokens(t4);
8400 if (n3.length > 0) {
8401 var r3 = this.current.last;
8402 if (r3) {
8403 var i3 = this.convertWhitespaceNodesToSpace(n3), a3 = i3.space, o3 = i3.rawSpace;
8404 o3 !== void 0 && (r3.rawSpaceAfter += o3), r3.spaces.after += a3;
8405 } else n3.forEach(function(t5) {
8406 return e5.newNode(t5);
8407 });
8408 }
8409 return;
8410 }
8411 var s3 = this.currToken, c3 = void 0;
8412 t4 > this.position && (c3 = this.parseWhitespaceEquivalentTokens(t4));
8413 var l3;
8414 if (this.isNamedCombinator() ? l3 = this.namedCombinator() : this.currToken[h2.FIELDS.TYPE] === g2.combinator ? (l3 = new f2.default({ value: this.content(), source: ae2(this.currToken), sourceIndex: this.currToken[h2.FIELDS.START_POS] }), this.position++) : te2[this.currToken[h2.FIELDS.TYPE]] || c3 || this.unexpected(), l3) {
8415 if (c3) {
8416 var u3 = this.convertWhitespaceNodesToSpace(c3), d3 = u3.space, p3 = u3.rawSpace;
8417 l3.spaces.before = d3, l3.rawSpaceBefore = p3;
8418 }
8419 } else {
8420 var m3 = this.convertWhitespaceNodesToSpace(c3, true), _3 = m3.space, v3 = m3.rawSpace;
8421 v3 || (v3 = _3);
8422 var y3 = {}, b3 = { spaces: {} };
8423 _3.endsWith(` `) && v3.endsWith(` `) ? (y3.before = _3.slice(0, _3.length - 1), b3.spaces.before = v3.slice(0, v3.length - 1)) : _3[0] === ` ` && v3[0] === ` ` ? (y3.after = _3.slice(1), b3.spaces.after = v3.slice(1)) : b3.value = v3, l3 = new f2.default({ value: ` `, source: oe2(s3, this.tokens[this.position - 1]), sourceIndex: s3[h2.FIELDS.START_POS], spaces: y3, raws: b3 });
8424 }
8425 return this.currToken && this.currToken[h2.FIELDS.TYPE] === g2.space && (l3.spaces.after = this.optionalSpace(this.content()), this.position++), this.newNode(l3);
8426 }, t3.comma = function() {
8427 if (this.position === this.tokens.length - 1) {
8428 this.root.trailingComma = true, this.position++;
8429 return;
8430 }
8431 this.current._inferEndPosition();
8432 var e5 = new r2.default({ source: { start: re2(this.tokens[this.position + 1]) }, sourceIndex: this.tokens[this.position + 1][h2.FIELDS.START_POS] });
8433 this.current.parent.append(e5), this.current = e5, this.position++;
8434 }, t3.comment = function() {
8435 var e5 = this.currToken;
8436 this.newNode(new a2.default({ value: this.content(), source: ae2(e5), sourceIndex: e5[h2.FIELDS.START_POS] })), this.position++;
8437 }, t3.error = function(e5, t4) {
8438 throw this.root.error(e5, t4);
8439 }, t3.missingBackslash = function() {
8440 return this.error(`Expected a backslash preceding the semicolon.`, { index: this.currToken[h2.FIELDS.START_POS] });
8441 }, t3.missingParenthesis = function() {
8442 return this.expected(`opening parenthesis`, this.currToken[h2.FIELDS.START_POS]);
8443 }, t3.missingSquareBracket = function() {
8444 return this.expected(`opening square bracket`, this.currToken[h2.FIELDS.START_POS]);
8445 }, t3.unexpected = function() {
8446 return this.error(`Unexpected '` + this.content() + `'. Escaping special characters with \\ may help.`, this.currToken[h2.FIELDS.START_POS]);
8447 }, t3.unexpectedPipe = function() {
8448 return this.error(`Unexpected '|'.`, this.currToken[h2.FIELDS.START_POS]);
8449 }, t3.namespace = function() {
8450 var e5 = this.prevToken && this.content(this.prevToken) || true;
8451 if (this.nextToken[h2.FIELDS.TYPE] === g2.word) return this.position++, this.word(e5);
8452 if (this.nextToken[h2.FIELDS.TYPE] === g2.asterisk) return this.position++, this.universal(e5);
8453 this.unexpectedPipe();
8454 }, t3.nesting = function() {
8455 if (this.nextToken && this.content(this.nextToken) === `|`) {
8456 this.position++;
8457 return;
8458 }
8459 var e5 = this.currToken;
8460 this.newNode(new p2.default({ value: this.content(), source: ae2(e5), sourceIndex: e5[h2.FIELDS.START_POS] })), this.position++;
8461 }, t3.parentheses = function() {
8462 var e5 = this.current.last, t4 = 1;
8463 if (this.position++, e5 && e5.type === _2.PSEUDO) {
8464 var n3 = new r2.default({ source: { start: re2(this.tokens[this.position]) }, sourceIndex: this.tokens[this.position][h2.FIELDS.START_POS] }), i3 = this.current;
8465 for (e5.append(n3), this.current = n3; this.position < this.tokens.length && t4; ) this.currToken[h2.FIELDS.TYPE] === g2.openParenthesis && t4++, this.currToken[h2.FIELDS.TYPE] === g2.closeParenthesis && t4--, t4 ? this.parse() : (this.current.source.end = T2(this.currToken), this.current.parent.source.end = T2(this.currToken), this.position++);
8466 this.current = i3;
8467 } else {
8468 for (var a3 = this.currToken, o3 = `(`, s3; this.position < this.tokens.length && t4; ) this.currToken[h2.FIELDS.TYPE] === g2.openParenthesis && t4++, this.currToken[h2.FIELDS.TYPE] === g2.closeParenthesis && t4--, s3 = this.currToken, o3 += this.parseParenthesisToken(this.currToken), this.position++;
8469 e5 ? e5.appendToPropertyAndEscape(`value`, o3, o3) : this.newNode(new c2.default({ value: o3, source: ie2(a3[h2.FIELDS.START_LINE], a3[h2.FIELDS.START_COL], s3[h2.FIELDS.END_LINE], s3[h2.FIELDS.END_COL]), sourceIndex: a3[h2.FIELDS.START_POS] }));
8470 }
8471 if (t4) return this.expected(`closing parenthesis`, this.currToken[h2.FIELDS.START_POS]);
8472 }, t3.pseudo = function() {
8473 for (var e5 = this, t4 = ``, n3 = this.currToken; this.currToken && this.currToken[h2.FIELDS.TYPE] === g2.colon; ) t4 += this.content(), this.position++;
8474 if (!this.currToken) return this.expected([`pseudo-class`, `pseudo-element`], this.position - 1);
8475 if (this.currToken[h2.FIELDS.TYPE] === g2.word) this.splitWord(false, function(r3, i3) {
8476 t4 += r3, e5.newNode(new l2.default({ value: t4, source: oe2(n3, e5.currToken), sourceIndex: n3[h2.FIELDS.START_POS] })), i3 > 1 && e5.nextToken && e5.nextToken[h2.FIELDS.TYPE] === g2.openParenthesis && e5.error(`Misplaced parenthesis.`, { index: e5.nextToken[h2.FIELDS.START_POS] });
8477 });
8478 else return this.expected([`pseudo-class`, `pseudo-element`], this.currToken[h2.FIELDS.START_POS]);
8479 }, t3.space = function() {
8480 var e5 = this.content();
8481 this.position === 0 || this.prevToken[h2.FIELDS.TYPE] === g2.comma || this.prevToken[h2.FIELDS.TYPE] === g2.openParenthesis || this.current.nodes.every(function(e6) {
8482 return e6.type === `comment`;
8483 }) ? (this.spaces = this.optionalSpace(e5), this.position++) : this.position === this.tokens.length - 1 || this.nextToken[h2.FIELDS.TYPE] === g2.comma || this.nextToken[h2.FIELDS.TYPE] === g2.closeParenthesis ? (this.current.last.spaces.after = this.optionalSpace(e5), this.position++) : this.combinator();
8484 }, t3.string = function() {
8485 var e5 = this.currToken;
8486 this.newNode(new c2.default({ value: this.content(), source: ae2(e5), sourceIndex: e5[h2.FIELDS.START_POS] })), this.position++;
8487 }, t3.universal = function(e5) {
8488 var t4 = this.nextToken;
8489 if (t4 && this.content(t4) === `|`) return this.position++, this.namespace();
8490 var n3 = this.currToken;
8491 this.newNode(new d2.default({ value: this.content(), source: ae2(n3), sourceIndex: n3[h2.FIELDS.START_POS] }), e5), this.position++;
8492 }, t3.splitWord = function(e5, t4) {
8493 for (var n3 = this, r3 = this.nextToken, a3 = this.content(); r3 && ~[g2.dollar, g2.caret, g2.equals, g2.word].indexOf(r3[h2.FIELDS.TYPE]); ) {
8494 this.position++;
8495 var c3 = this.content();
8496 if (a3 += c3, c3.lastIndexOf(`\\`) === c3.length - 1) {
8497 var l3 = this.nextToken;
8498 l3 && l3[h2.FIELDS.TYPE] === g2.space && (a3 += this.requiredSpace(this.content(l3)), this.position++);
8499 }
8500 r3 = this.nextToken;
8501 }
8502 var u3 = ce2(a3, `.`).filter(function(e6) {
8503 var t5 = a3[e6 - 1] === `\\`, n4 = /^\d+\.\d+%$/.test(a3);
8504 return !t5 && !n4;
8505 }), d3 = ce2(a3, `#`).filter(function(e6) {
8506 return a3[e6 - 1] !== `\\`;
8507 }), f3 = ce2(a3, `#{`);
8508 f3.length && (d3 = d3.filter(function(e6) {
8509 return !~f3.indexOf(e6);
8510 }));
8511 var p3 = (0, m2.default)(le2([0].concat(u3, d3)));
8512 p3.forEach(function(r4, c4) {
8513 var l4 = p3[c4 + 1] || a3.length, f4 = a3.slice(r4, l4);
8514 if (c4 === 0 && t4) return t4.call(n3, f4, p3.length);
8515 var m3, g3 = n3.currToken, _3 = g3[h2.FIELDS.START_POS] + p3[c4], v3 = ie2(g3[1], g3[2] + r4, g3[3], g3[2] + (l4 - 1));
8516 if (~u3.indexOf(r4)) {
8517 var y3 = { value: f4.slice(1), source: v3, sourceIndex: _3 };
8518 m3 = new i2.default(se2(y3, `value`));
8519 } else if (~d3.indexOf(r4)) {
8520 var b3 = { value: f4.slice(1), source: v3, sourceIndex: _3 };
8521 m3 = new o2.default(se2(b3, `value`));
8522 } else {
8523 var x3 = { value: f4, source: v3, sourceIndex: _3 };
8524 se2(x3, `value`), m3 = new s2.default(x3);
8525 }
8526 n3.newNode(m3, e5), e5 = null;
8527 }), this.position++;
8528 }, t3.word = function(e5) {
8529 var t4 = this.nextToken;
8530 return t4 && this.content(t4) === `|` ? (this.position++, this.namespace()) : this.splitWord(e5);
8531 }, t3.loop = function() {
8532 for (; this.position < this.tokens.length; ) this.parse(true);
8533 return this.current._inferEndPosition(), this.root;
8534 }, t3.parse = function(e5) {
8535 switch (this.currToken[h2.FIELDS.TYPE]) {
8536 case g2.space:
8537 this.space();
8538 break;
8539 case g2.comment:
8540 this.comment();
8541 break;
8542 case g2.openParenthesis:
8543 this.parentheses();
8544 break;
8545 case g2.closeParenthesis:
8546 e5 && this.missingParenthesis();
8547 break;
8548 case g2.openSquare:
8549 this.attribute();
8550 break;
8551 case g2.dollar:
8552 case g2.caret:
8553 case g2.equals:
8554 case g2.word:
8555 this.word();
8556 break;
8557 case g2.colon:
8558 this.pseudo();
8559 break;
8560 case g2.comma:
8561 this.comma();
8562 break;
8563 case g2.asterisk:
8564 this.universal();
8565 break;
8566 case g2.ampersand:
8567 this.nesting();
8568 break;
8569 case g2.slash:
8570 case g2.combinator:
8571 this.combinator();
8572 break;
8573 case g2.str:
8574 this.string();
8575 break;
8576 case g2.closeSquare:
8577 this.missingSquareBracket();
8578 case g2.semicolon:
8579 this.missingBackslash();
8580 default:
8581 this.unexpected();
8582 }
8583 }, t3.expected = function(e5, t4, n3) {
8584 if (Array.isArray(e5)) {
8585 var r3 = e5.pop();
8586 e5 = e5.join(`, `) + ` or ` + r3;
8587 }
8588 var i3 = /^[aeiou]/.test(e5[0]) ? `an` : `a`;
8589 return n3 ? this.error(`Expected ` + i3 + ` ` + e5 + `, found "` + n3 + `" instead.`, { index: t4 }) : this.error(`Expected ` + i3 + ` ` + e5 + `.`, { index: t4 });
8590 }, t3.requiredSpace = function(e5) {
8591 return this.options.lossy ? ` ` : e5;
8592 }, t3.optionalSpace = function(e5) {
8593 return this.options.lossy ? `` : e5;
8594 }, t3.lossySpace = function(e5, t4) {
8595 return this.options.lossy ? t4 ? ` ` : `` : e5;
8596 }, t3.parseParenthesisToken = function(e5) {
8597 var t4 = this.content(e5);
8598 return e5[h2.FIELDS.TYPE] === g2.space ? this.requiredSpace(t4) : t4;
8599 }, t3.newNode = function(e5, t4) {
8600 return t4 && (/^ +$/.test(t4) && (this.options.lossy || (this.spaces = (this.spaces || ``) + t4), t4 = true), e5.namespace = t4, se2(e5, `namespace`)), this.spaces && (this.spaces = (e5.spaces.before = this.spaces, ``)), this.current.append(e5);
8601 }, t3.content = function(e5) {
8602 return e5 === void 0 && (e5 = this.currToken), this.css.slice(e5[h2.FIELDS.START_POS], e5[h2.FIELDS.END_POS]);
8603 }, t3.locateNextMeaningfulToken = function(e5) {
8604 e5 === void 0 && (e5 = this.position + 1);
8605 for (var t4 = e5; t4 < this.tokens.length; ) if (ne2[this.tokens[t4][h2.FIELDS.TYPE]]) {
8606 t4++;
8607 continue;
8608 } else return t4;
8609 return -1;
8610 }, w2(e4, [{ key: `currToken`, get: function() {
8611 return this.tokens[this.position];
8612 } }, { key: `nextToken`, get: function() {
8613 return this.tokens[this.position + 1];
8614 } }, { key: `prevToken`, get: function() {
8615 return this.tokens[this.position - 1];
8616 } }]), e4;
8617 })(), t2.exports = e3.default;
8618 })), Jo = t(((e3, t2) => {
8619 e3.__esModule = true, e3.default = void 0;
8620 var n2 = r2(qo());
8621 function r2(e4) {
8622 return e4 && e4.__esModule ? e4 : { default: e4 };
8623 }
8624 e3.default = (function() {
8625 function e4(e5, t4) {
8626 this.func = e5 || function() {
8627 }, this.funcRes = null, this.options = t4;
8628 }
8629 var t3 = e4.prototype;
8630 return t3._shouldUpdateSelector = function(e5, t4) {
8631 return t4 === void 0 && (t4 = {}), Object.assign({}, this.options, t4).updateSelector === false ? false : typeof e5 != `string`;
8632 }, t3._isLossy = function(e5) {
8633 return e5 === void 0 && (e5 = {}), Object.assign({}, this.options, e5).lossless === false;
8634 }, t3._root = function(e5, t4) {
8635 return t4 === void 0 && (t4 = {}), new n2.default(e5, this._parseOptions(t4)).root;
8636 }, t3._parseOptions = function(e5) {
8637 return { lossy: this._isLossy(e5) };
8638 }, t3._run = function(e5, t4) {
8639 var n3 = this;
8640 return t4 === void 0 && (t4 = {}), new Promise(function(r3, i2) {
8641 try {
8642 var a2 = n3._root(e5, t4);
8643 Promise.resolve(n3.func(a2)).then(function(r4) {
8644 var i3 = void 0;
8645 return n3._shouldUpdateSelector(e5, t4) && (i3 = a2.toString(), e5.selector = i3), { transform: r4, root: a2, string: i3 };
8646 }).then(r3, i2);
8647 } catch (e6) {
8648 i2(e6);
8649 return;
8650 }
8651 });
8652 }, t3._runSync = function(e5, t4) {
8653 t4 === void 0 && (t4 = {});
8654 var n3 = this._root(e5, t4), r3 = this.func(n3);
8655 if (r3 && typeof r3.then == `function`) throw Error(`Selector processor returned a promise to a synchronous call.`);
8656 var i2 = void 0;
8657 return t4.updateSelector && typeof e5 != `string` && (i2 = n3.toString(), e5.selector = i2), { transform: r3, root: n3, string: i2 };
8658 }, t3.ast = function(e5, t4) {
8659 return this._run(e5, t4).then(function(e6) {
8660 return e6.root;
8661 });
8662 }, t3.astSync = function(e5, t4) {
8663 return this._runSync(e5, t4).root;
8664 }, t3.transform = function(e5, t4) {
8665 return this._run(e5, t4).then(function(e6) {
8666 return e6.transform;
8667 });
8668 }, t3.transformSync = function(e5, t4) {
8669 return this._runSync(e5, t4).transform;
8670 }, t3.process = function(e5, t4) {
8671 return this._run(e5, t4).then(function(e6) {
8672 return e6.string || e6.root.toString();
8673 });
8674 }, t3.processSync = function(e5, t4) {
8675 var n3 = this._runSync(e5, t4);
8676 return n3.string || n3.root.toString();
8677 }, e4;
8678 })(), t2.exports = e3.default;
8679 })), Yo = t(((e3) => {
8680 e3.__esModule = true, e3.universal = e3.tag = e3.string = e3.selector = e3.root = e3.pseudo = e3.nesting = e3.id = e3.comment = e3.combinator = e3.className = e3.attribute = void 0;
8681 var t2 = p2(Bo()), n2 = p2(No()), r2 = p2(Ho()), i2 = p2(Po()), a2 = p2(Fo()), o2 = p2(Uo()), s2 = p2(zo()), c2 = p2(jo()), l2 = p2(Mo()), u2 = p2(Ro()), d2 = p2(Lo()), f2 = p2(Vo());
8682 function p2(e4) {
8683 return e4 && e4.__esModule ? e4 : { default: e4 };
8684 }
8685 e3.attribute = function(e4) {
8686 return new t2.default(e4);
8687 }, e3.className = function(e4) {
8688 return new n2.default(e4);
8689 }, e3.combinator = function(e4) {
8690 return new r2.default(e4);
8691 }, e3.comment = function(e4) {
8692 return new i2.default(e4);
8693 }, e3.id = function(e4) {
8694 return new a2.default(e4);
8695 }, e3.nesting = function(e4) {
8696 return new o2.default(e4);
8697 }, e3.pseudo = function(e4) {
8698 return new s2.default(e4);
8699 }, e3.root = function(e4) {
8700 return new c2.default(e4);
8701 }, e3.selector = function(e4) {
8702 return new l2.default(e4);
8703 }, e3.string = function(e4) {
8704 return new u2.default(e4);
8705 }, e3.tag = function(e4) {
8706 return new d2.default(e4);
8707 }, e3.universal = function(e4) {
8708 return new f2.default(e4);
8709 };
8710 })), Xo = t(((e3) => {
8711 e3.__esModule = true, e3.isComment = e3.isCombinator = e3.isClassName = e3.isAttribute = void 0, e3.isContainer = d2, e3.isIdentifier = void 0, e3.isNamespace = f2, e3.isNesting = void 0, e3.isNode = i2, e3.isPseudo = void 0, e3.isPseudoClass = u2, e3.isPseudoElement = l2, e3.isUniversal = e3.isTag = e3.isString = e3.isSelector = e3.isRoot = void 0;
8712 var t2 = $(), n2, r2 = (n2 = {}, n2[t2.ATTRIBUTE] = true, n2[t2.CLASS] = true, n2[t2.COMBINATOR] = true, n2[t2.COMMENT] = true, n2[t2.ID] = true, n2[t2.NESTING] = true, n2[t2.PSEUDO] = true, n2[t2.ROOT] = true, n2[t2.SELECTOR] = true, n2[t2.STRING] = true, n2[t2.TAG] = true, n2[t2.UNIVERSAL] = true, n2);
8713 function i2(e4) {
8714 return typeof e4 == `object` && r2[e4.type];
8715 }
8716 function a2(e4, t3) {
8717 return i2(t3) && t3.type === e4;
8718 }
8719 var o2 = a2.bind(null, t2.ATTRIBUTE);
8720 e3.isAttribute = o2, e3.isClassName = a2.bind(null, t2.CLASS), e3.isCombinator = a2.bind(null, t2.COMBINATOR), e3.isComment = a2.bind(null, t2.COMMENT), e3.isIdentifier = a2.bind(null, t2.ID), e3.isNesting = a2.bind(null, t2.NESTING);
8721 var s2 = a2.bind(null, t2.PSEUDO);
8722 e3.isPseudo = s2, e3.isRoot = a2.bind(null, t2.ROOT), e3.isSelector = a2.bind(null, t2.SELECTOR), e3.isString = a2.bind(null, t2.STRING);
8723 var c2 = a2.bind(null, t2.TAG);
8724 e3.isTag = c2, e3.isUniversal = a2.bind(null, t2.UNIVERSAL);
8725 function l2(e4) {
8726 return s2(e4) && e4.value && (e4.value.startsWith(`::`) || e4.value.toLowerCase() === `:before` || e4.value.toLowerCase() === `:after` || e4.value.toLowerCase() === `:first-letter` || e4.value.toLowerCase() === `:first-line`);
8727 }
8728 function u2(e4) {
8729 return s2(e4) && !l2(e4);
8730 }
8731 function d2(e4) {
8732 return !!(i2(e4) && e4.walk);
8733 }
8734 function f2(e4) {
8735 return o2(e4) || c2(e4);
8736 }
8737 })), Zo = t(((e3) => {
8738 e3.__esModule = true;
8739 var t2 = $();
8740 Object.keys(t2).forEach(function(n3) {
8741 n3 === `default` || n3 === `__esModule` || n3 in e3 && e3[n3] === t2[n3] || (e3[n3] = t2[n3]);
8742 });
8743 var n2 = Yo();
8744 Object.keys(n2).forEach(function(t3) {
8745 t3 === `default` || t3 === `__esModule` || t3 in e3 && e3[t3] === n2[t3] || (e3[t3] = n2[t3]);
8746 });
8747 var r2 = Xo();
8748 Object.keys(r2).forEach(function(t3) {
8749 t3 === `default` || t3 === `__esModule` || t3 in e3 && e3[t3] === r2[t3] || (e3[t3] = r2[t3]);
8750 });
8751 })), Qo = t(((e3, t2) => {
8752 e3.__esModule = true, e3.default = void 0;
8753 var n2 = o2(Jo()), r2 = a2(Zo());
8754 function i2(e4) {
8755 if (typeof WeakMap != `function`) return null;
8756 var t3 = /* @__PURE__ */ new WeakMap(), n3 = /* @__PURE__ */ new WeakMap();
8757 return (i2 = function(e5) {
8758 return e5 ? n3 : t3;
8759 })(e4);
8760 }
8761 function a2(e4, t3) {
8762 if (!t3 && e4 && e4.__esModule) return e4;
8763 if (e4 === null || typeof e4 != `object` && typeof e4 != `function`) return { default: e4 };
8764 var n3 = i2(t3);
8765 if (n3 && n3.has(e4)) return n3.get(e4);
8766 var r3 = {}, a3 = Object.defineProperty && Object.getOwnPropertyDescriptor;
8767 for (var o3 in e4) if (o3 !== `default` && Object.prototype.hasOwnProperty.call(e4, o3)) {
8768 var s3 = a3 ? Object.getOwnPropertyDescriptor(e4, o3) : null;
8769 s3 && (s3.get || s3.set) ? Object.defineProperty(r3, o3, s3) : r3[o3] = e4[o3];
8770 }
8771 return r3.default = e4, n3 && n3.set(e4, r3), r3;
8772 }
8773 function o2(e4) {
8774 return e4 && e4.__esModule ? e4 : { default: e4 };
8775 }
8776 var s2 = function(e4) {
8777 return new n2.default(e4);
8778 };
8779 Object.assign(s2, r2), delete s2.__esModule, e3.default = s2, t2.exports = e3.default;
8780 })), $o = e(t(((e3, t2) => {
8781 var { AtRule: n2, Rule: r2 } = o(), i2 = Qo();
8782 function a2(e4, t3) {
8783 let n3;
8784 try {
8785 i2((e5) => {
8786 n3 = e5;
8787 }).processSync(e4);
8788 } catch (n4) {
8789 throw e4.includes(`:`) ? t3 ? t3.error(`Missed semicolon`) : n4 : t3 ? t3.error(n4.message) : n4;
8790 }
8791 return n3.at(0);
8792 }
8793 function s2(e4, t3) {
8794 let n3 = false;
8795 return e4.each((e5) => {
8796 if (e5.type === `nesting`) {
8797 let r3 = t3.clone({});
8798 e5.value === `&` ? e5.replaceWith(r3) : e5.replaceWith(a2(e5.value.replace(`&`, r3.toString()))), n3 = true;
8799 } else `nodes` in e5 && e5.nodes && s2(e5, t3) && (n3 = true);
8800 }), n3;
8801 }
8802 function c2(e4, t3) {
8803 let n3 = [];
8804 for (let r3 of e4.selectors) {
8805 let o2 = a2(r3, e4);
8806 for (let e5 of t3.selectors) {
8807 if (!e5) continue;
8808 let r4 = a2(e5, t3);
8809 s2(r4, o2) || (r4.prepend(i2.combinator({ value: ` ` })), r4.prepend(o2.clone({}))), n3.push(r4.toString());
8810 }
8811 }
8812 return n3;
8813 }
8814 function l2(e4, t3) {
8815 if (e4.prev()?.type !== `comment`) return t3.after(e4), e4;
8816 let n3 = e4.prev();
8817 return e4.parent.toString().match(/[*]\/ *\n.*{/) ? t3.after(e4).after(n3) : t3.after(e4), e4;
8818 }
8819 function u2(e4) {
8820 return function t3(n3, r3, i3, a3 = i3) {
8821 let o2 = [];
8822 if (r3.each((s3) => {
8823 s3.type === `rule` && i3 ? a3 && (s3.selectors = c2(n3, s3)) : s3.type === `atrule` && s3.nodes ? e4[s3.name] ? t3(n3, s3, a3) : r3[_2] !== false && o2.push(s3) : o2.push(s3);
8824 }), i3 && o2.length) {
8825 let e5 = n3.clone({ nodes: [] });
8826 for (let t4 of o2) e5.append(t4);
8827 r3.prepend(e5);
8828 }
8829 };
8830 }
8831 function d2(e4, t3, n3) {
8832 let i3 = new r2({ nodes: [], selector: e4 });
8833 return i3.append(t3), n3.after(i3), i3;
8834 }
8835 function f2(e4, t3, n3, r3 = true) {
8836 return t3.length ? (n3 = d2(e4, t3, n3), r3 && (t3 = []), [n3, t3]) : [n3, t3];
8837 }
8838 function p2(e4, t3 = ``) {
8839 let n3 = e4.concat(t3), r3 = {};
8840 for (let e5 of n3) r3[e5.replace(/^@/, ``)] = true;
8841 return r3;
8842 }
8843 function m2(e4) {
8844 e4 = e4.trim();
8845 let t3 = e4.match(/^\((.*)\)$/);
8846 if (!t3) return { selector: e4, type: `basic` };
8847 let n3 = t3[1].match(/^(with(?:out)?):(.+)$/);
8848 if (n3) {
8849 let e5 = n3[1] === `with`, t4 = Object.fromEntries(n3[2].trim().split(/\s+/).map((e6) => [e6, true]));
8850 if (e5 && t4.all) return { type: `noop` };
8851 let r3 = (e6) => !!t4[e6];
8852 return t4.all ? r3 = () => true : e5 && (r3 = (e6) => e6 === `all` ? false : !t4[e6]), { escapes: r3, type: `withrules` };
8853 }
8854 return { type: `unknown` };
8855 }
8856 function h2(e4) {
8857 let t3 = [], r3 = e4.parent;
8858 for (; r3 && r3 instanceof n2; ) t3.push(r3), r3 = r3.parent;
8859 return t3;
8860 }
8861 function g2(e4) {
8862 let t3 = e4[v2];
8863 if (!t3) e4.after(e4.nodes);
8864 else {
8865 let n3 = e4.nodes, r3, i3 = -1, a3, o2, s3, c3 = h2(e4);
8866 if (c3.forEach((e5, n4) => {
8867 if (t3(e5.name)) r3 = e5, i3 = n4, o2 = s3;
8868 else {
8869 let t4 = s3;
8870 s3 = e5.clone({ nodes: [] }), t4 && s3.append(t4), a3 || (a3 = s3);
8871 }
8872 }), r3 ? o2 ? (a3.append(n3), r3.after(o2)) : r3.after(n3) : e4.after(n3), e4.next() && r3) {
8873 let t4;
8874 c3.slice(0, i3 + 1).forEach((n4, r4, i4) => {
8875 let a4 = t4;
8876 t4 = n4.clone({ nodes: [] }), a4 && t4.append(a4);
8877 let o3 = [], s4 = (i4[r4 - 1] || e4).next();
8878 for (; s4; ) o3.push(s4), s4 = s4.next();
8879 t4.append(o3);
8880 }), t4 && (o2 || n3[n3.length - 1]).after(t4);
8881 }
8882 }
8883 e4.remove();
8884 }
8885 var _2 = /* @__PURE__ */ Symbol(`rootRuleMergeSel`), v2 = /* @__PURE__ */ Symbol(`rootRuleEscapes`);
8886 function y2(e4) {
8887 let { params: t3 } = e4, { escapes: n3, selector: i3, type: a3 } = m2(t3);
8888 if (a3 === `unknown`) throw e4.error(`Unknown @${e4.name} parameter ${JSON.stringify(t3)}`);
8889 if (a3 === `basic` && i3) {
8890 let t4 = new r2({ nodes: e4.nodes, selector: i3 });
8891 e4.removeAll(), e4.append(t4);
8892 }
8893 e4[v2] = n3, e4[_2] = n3 ? !n3(`all`) : a3 === `noop`;
8894 }
8895 var b2 = /* @__PURE__ */ Symbol(`hasRootRule`);
8896 t2.exports = (e4 = {}) => {
8897 let t3 = p2([`media`, `supports`, `layer`, `container`, `starting-style`], e4.bubble), n3 = u2(t3), r3 = p2([`document`, `font-face`, `keyframes`, `-webkit-keyframes`, `-moz-keyframes`], e4.unwrap), i3 = (e4.rootRuleName || `at-root`).replace(/^@/, ``), a3 = e4.preserveEmpty;
8898 return { Once(e5) {
8899 e5.walkAtRules(i3, (t4) => {
8900 y2(t4), e5[b2] = true;
8901 });
8902 }, postcssPlugin: `postcss-nested`, RootExit(e5) {
8903 e5[b2] && (e5.walkAtRules(i3, g2), e5[b2] = false);
8904 }, Rule(e5) {
8905 let o2 = false, s3 = e5, u3 = false, d3 = [];
8906 e5.each((a4) => {
8907 switch (a4.type) {
8908 case `atrule`:
8909 [s3, d3] = f2(e5.selector, d3, s3), a4.name === i3 ? (o2 = true, n3(e5, a4, true, a4[_2]), s3 = l2(a4, s3)) : t3[a4.name] ? (u3 = true, o2 = true, n3(e5, a4, true), s3 = l2(a4, s3)) : r3[a4.name] ? (u3 = true, o2 = true, n3(e5, a4, false), s3 = l2(a4, s3)) : u3 && d3.push(a4);
8910 break;
8911 case `decl`:
8912 u3 && d3.push(a4);
8913 break;
8914 case `rule`:
8915 [s3, d3] = f2(e5.selector, d3, s3), u3 = true, o2 = true, a4.selectors = c2(e5, a4), s3 = l2(a4, s3);
8916 break;
8917 }
8918 }), f2(e5.selector, d3, s3, false), o2 && a3 !== true && (e5.raws.semicolon = true, e5.nodes.length === 0 && e5.remove());
8919 } };
8920 }, t2.exports.postcss = true;
8921 }))(), 1);
8922 async function es({ entrypoint: e3 = `/main.css`, volume: t2 = {}, ...n2 } = {}) {
8923 return n2 = { entrypoint: e3, volume: t2, ...n2 }, { css: (await a().use((0, $o.default)()).process(n2.volume[n2.entrypoint], { from: n2.entrypoint, parser: n2.parser || null })).css };
8924 }
8925 var ts = class extends Map {
8926 constructor(e3) {
8927 super(), this.factory = e3;
8928 }
8929 get(e3) {
8930 let t2 = super.get(e3);
8931 return t2 === void 0 && (t2 = this.factory(e3, this), this.set(e3, t2)), t2;
8932 }
8933 };
8934 export {
8935 bo as a,
8936 Co as i,
8937 es as n,
8938 yo as o,
8939 Qo as r,
8940 ts as t
8941 };
8942