@tenphi/tasty 0.0.0-snapshot.cd6580c → 0.0.0-snapshot.cdcb69f

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/dist/{astro-r3wQ-RQn.js → astro-CeYENy2x.js} +62 -68
  2. package/dist/astro-CeYENy2x.js.map +1 -0
  3. package/dist/{babel-Bu_bhevw.d.ts → babel-DWCsafYw.d.ts} +2 -2
  4. package/dist/{collector-CudWaexa.js → collector-B3OsM252.js} +3 -3
  5. package/dist/{collector-CudWaexa.js.map → collector-B3OsM252.js.map} +1 -1
  6. package/dist/{config-CHz_SFr_.js → config-B3gPdCqd.js} +71 -15
  7. package/dist/config-B3gPdCqd.js.map +1 -0
  8. package/dist/{config-ClpSyptP.d.ts → config-LfIDmVHx.d.ts} +28 -1
  9. package/dist/core/index.d.ts +2 -2
  10. package/dist/core/index.js +5 -5
  11. package/dist/{core-COC2UQ48.js → core-DGm0CFHP.js} +102 -34
  12. package/dist/core-DGm0CFHP.js.map +1 -0
  13. package/dist/css-resources-Cyl_axbI.js +149 -0
  14. package/dist/css-resources-Cyl_axbI.js.map +1 -0
  15. package/dist/{css-writer-Dji9t0wk.js → css-writer-Bgowobbx.js} +3 -3
  16. package/dist/{css-writer-Dji9t0wk.js.map → css-writer-Bgowobbx.js.map} +1 -1
  17. package/dist/{format-rules-U9Od0aqv.js → format-rules-XRw9u7d4.js} +3 -29
  18. package/dist/format-rules-XRw9u7d4.js.map +1 -0
  19. package/dist/{hydrate-DA-ttBga.js → hydrate-CNOmZprz.js} +2 -2
  20. package/dist/{hydrate-DA-ttBga.js.map → hydrate-CNOmZprz.js.map} +1 -1
  21. package/dist/{index-CV_fhEm0.d.ts → index-Bm9ltvdH.d.ts} +2 -2
  22. package/dist/index.d.ts +2 -2
  23. package/dist/index.js +6 -6
  24. package/dist/index.js.map +1 -1
  25. package/dist/{keyframes-KkxDZ9xu.js → keyframes-DE-OE76F.js} +2 -2
  26. package/dist/{keyframes-KkxDZ9xu.js.map → keyframes-DE-OE76F.js.map} +1 -1
  27. package/dist/{merge-styles-BGM4RJWC.js → merge-styles-DuoZEsm9.js} +2 -2
  28. package/dist/{merge-styles-BGM4RJWC.js.map → merge-styles-DuoZEsm9.js.map} +1 -1
  29. package/dist/{resolve-recipes-DbeVYQFr.js → resolve-recipes-H9NqOQuP.js} +3 -3
  30. package/dist/{resolve-recipes-DbeVYQFr.js.map → resolve-recipes-H9NqOQuP.js.map} +1 -1
  31. package/dist/ssr/astro-client.js +1 -1
  32. package/dist/ssr/astro-middleware-extract-static.js +1 -1
  33. package/dist/ssr/astro-middleware-extract.js +1 -1
  34. package/dist/ssr/astro-middleware-static.js +1 -1
  35. package/dist/ssr/astro-middleware.js +1 -1
  36. package/dist/ssr/astro.d.ts +9 -1
  37. package/dist/ssr/astro.js +1 -1
  38. package/dist/ssr/index.js +3 -3
  39. package/dist/ssr/next-config.d.ts +66 -0
  40. package/dist/ssr/next-config.js +115 -0
  41. package/dist/ssr/next-config.js.map +1 -0
  42. package/dist/ssr/next.d.ts +8 -1
  43. package/dist/ssr/next.js +26 -9
  44. package/dist/ssr/next.js.map +1 -1
  45. package/dist/ssr-collector-ref-COs_ioWl.js +29 -0
  46. package/dist/ssr-collector-ref-COs_ioWl.js.map +1 -0
  47. package/dist/static/index.js +1 -1
  48. package/dist/zero/babel.d.ts +1 -1
  49. package/dist/zero/babel.js +4 -4
  50. package/dist/zero/babel.js.map +1 -1
  51. package/dist/zero/index.js +1 -1
  52. package/dist/zero/next.d.ts +1 -1
  53. package/docs/debug.md +13 -0
  54. package/docs/runtime-benchmarks.md +177 -12
  55. package/docs/ssr.md +151 -31
  56. package/package.json +15 -7
  57. package/dist/astro-r3wQ-RQn.js.map +0 -1
  58. package/dist/config-CHz_SFr_.js.map +0 -1
  59. package/dist/core-COC2UQ48.js.map +0 -1
  60. package/dist/format-rules-U9Od0aqv.js.map +0 -1
@@ -165,6 +165,11 @@ declare class SheetManager {
165
165
  * Get total number of rules across all sheets
166
166
  */
167
167
  getTotalRuleCount(registry: RootRegistry): number;
168
+ /**
169
+ * The CSS of one managed sheet, or `null` when it holds none this can read —
170
+ * an empty style element, or a sheet the engine refuses to hand over.
171
+ */
172
+ private readSheetCSS;
168
173
  /**
169
174
  * Get CSS text from all sheets (for SSR)
170
175
  */
@@ -232,6 +237,28 @@ declare class SheetManager {
232
237
  /**
233
238
  * Get the raw CSS content
234
239
  */
240
+ /**
241
+ * The CSS this injector owns in `root`, one entry per sheet, in the order the
242
+ * engine applies them.
243
+ *
244
+ * `getCSSText()` walks the managed sheets only, and raw CSS has its own —
245
+ * which sits before, after, or *between* them depending on how it got there:
246
+ * prepended to `adoptedStyleSheets`, or wherever in `<head>` the first raw
247
+ * injection happened to land, with every managed sheet opened afterwards
248
+ * following it. Reporting a fixed order would describe the opposite winner
249
+ * from the live page whenever two rules of equal specificity meet, so the raw
250
+ * sheet is spliced in at the position the DOM actually gives it.
251
+ */
252
+ getOwnedCSSInOrder(registry: RootRegistry, root: Document | ShadowRoot): string[];
253
+ /**
254
+ * Top-level rules in the raw sheet.
255
+ *
256
+ * Read from the sheet the engine parsed, not from the text: a raw block is
257
+ * one string but any number of rules, and one rule — `@keyframes`, `@media` —
258
+ * can contain any number of blocks, so counting braces answers neither
259
+ * question.
260
+ */
261
+ getRawRuleCount(root: Document | ShadowRoot): number;
235
262
  getRawCSSText(root: Document | ShadowRoot): string;
236
263
  }
237
264
  //#endregion
@@ -1333,4 +1360,4 @@ declare function getNamePrefix(): string;
1333
1360
  declare function resetConfig(): void;
1334
1361
  //#endregion
1335
1362
  export { ParseFunction as C, PropHandlerDefinition as D, PropHandler as E, PropHandlerProps as O, FunctionsConfig as S, SheetManager as T, TastyPluginFactory as _, getGlobalFontFaces as a, generateTypographyTokens as b, getGlobalRecipes as c, hasGlobalRecipes as d, hasStylesGenerated as f, TastyPlugin as g, resetConfig as h, getGlobalCounterStyles as i, getNamePrefix as l, isTestEnvironment as m, configure as n, getGlobalFunctions as o, isConfigLocked as p, getConfig as r, getGlobalKeyframes as s, TastyConfig as t, hasGlobalKeyframes as u, TypographyPreset as v, StyleInjector as w, ColorSpace as x, TypographyTokenValue as y };
1336
- //# sourceMappingURL=config-ClpSyptP.d.ts.map
1363
+ //# sourceMappingURL=config-LfIDmVHx.d.ts.map
@@ -1,5 +1,5 @@
1
- import { C as ParseFunction, D as PropHandlerDefinition, E as PropHandler, O as PropHandlerProps, S as FunctionsConfig, T as SheetManager, _ as TastyPluginFactory, a as getGlobalFontFaces, b as generateTypographyTokens, c as getGlobalRecipes, d as hasGlobalRecipes, f as hasStylesGenerated, g as TastyPlugin, h as resetConfig, i as getGlobalCounterStyles, l as getNamePrefix, m as isTestEnvironment, n as configure, o as getGlobalFunctions, p as isConfigLocked, r as getConfig, s as getGlobalKeyframes, t as TastyConfig, u as hasGlobalKeyframes, v as TypographyPreset, w as StyleInjector, x as ColorSpace, y as TypographyTokenValue } from "../config-ClpSyptP.js";
1
+ import { C as ParseFunction, D as PropHandlerDefinition, E as PropHandler, O as PropHandlerProps, S as FunctionsConfig, T as SheetManager, _ as TastyPluginFactory, a as getGlobalFontFaces, b as generateTypographyTokens, c as getGlobalRecipes, d as hasGlobalRecipes, f as hasStylesGenerated, g as TastyPlugin, h as resetConfig, i as getGlobalCounterStyles, l as getNamePrefix, m as isTestEnvironment, n as configure, o as getGlobalFunctions, p as isConfigLocked, r as getConfig, s as getGlobalKeyframes, t as TastyConfig, u as hasGlobalKeyframes, v as TypographyPreset, w as StyleInjector, x as ColorSpace, y as TypographyTokenValue } from "../config-LfIDmVHx.js";
2
2
  import { $ as StyleParser, A as ParsedColor, At as StyleRule, B as StyleValueStateMap, C as SuffixForSelector, Ct as PropertyDefinition, D as CSSMap, Dt as RuleInfo, E as AnyStyleHandler, Et as RootRegistry, F as StyleHandlerProps, Ft as resetStyleBatch, G as parseColor, H as getGlobalParser, I as StyleHandlerResult, J as getNamedColorHex, K as parseStyle, L as StyleMap, M as ResolvedStyleValue, Mt as QueuedWrite, N as StyleHandler, Nt as flushStyles, O as CUSTOM_UNITS, Ot as SheetInfo, P as StyleHandlerDefinition, Pt as hasPendingStyleWrites, Q as strToRgb, R as StylePropValue, S as StylesWithoutSelectors, St as KeyframesSteps, T as TastyPresetNames, Tt as RawCSSResult, U as getGlobalPredefinedTokens, V as filterMods, W as normalizeColorTokenValue, X as hexToRgb, Y as getRgbValuesFromRgbaString, Z as hslToRgbValues, _ as NotSelector, _t as InjectResult, a as ParseStateKeyOptions, at as CSSProperties, b as Styles, bt as KeyframesInfo, c as ParsedAdvancedState, ct as DisposeFunction, d as getGlobalPredefinedStates, dt as FunctionDefinition, et as ParserOptions, f as setGlobalPredefinedStates, ft as FunctionParameter, g as NoType, gt as InjectOptions, h as ConfigTokens, i as renderStyles, it as UnitHandler, j as RawStyleHandler, jt as StyleUsage, k as DIRECTIONS, kt as StyleInjectorConfig, l as StateParserContext, lt as FontFaceDescriptors, m as ConfigTokenValue, mt as GCOptions, n as StyleResult, nt as StyleDetails, o as parseStateKey, ot as CacheMetrics, p as ConditionNode, pt as GCConfig, q as stringifyStyles, r as isSelector, rt as StyleDetailsPart, s as AtRuleContext, st as CounterStyleDescriptors, t as RenderResult, tt as ProcessedStyle, u as createStateParserContext, ut as FontFaceInput, v as RecipeStyles, vt as InjectionMode, w as TastyNamedColors, wt as PropertyOptions, x as StylesInterface, xt as KeyframesResult, y as Selector, yt as KeyframesCacheEntry, z as StyleValue } from "../index-BmogEzTo.js";
3
- import { $ as resolveFunctionColor, $t as Mods, A as isPropertyDefined, B as defineHandler, C as getCSSTextForNode, Cn as DEFAULT_NAME_PREFIX, D as injectGlobal, E as inject, F as ChunkSheetRegistry, G as CHUNK_NAMES, Gt as BlockStyleProps, H as ChunkInfo, Ht as BaseStyleProps, I as chunkSheetRegistry, J as DISPLAY_CHUNK_STYLES, Jt as DimensionStyleProps, K as ChunkName, Kt as ColorStyleProps, L as ComputeStylesOptions, M as ownKeyframes, N as property, O as injectRawCSS, P as touch, Q as STYLE_TO_CHUNK, Qt as ModValue, R as ComputeStylesResult, S as getCSSText, Sn as TEXT_STYLES, T as holdKeyframes, U as categorizeStyleKeys, Ut as BlockInnerStyleProps, V as styleHandlers, W as APPEARANCE_CHUNK_STYLES, Wt as BlockOuterStyleProps, X as LAYOUT_CHUNK_STYLES, Xt as FlowStyleProps, Y as FONT_CHUNK_STYLES, Yt as ExtraBaseStyleProps, Z as POSITION_CHUNK_STYLES, Zt as InnerStyleProps, _ as createInjector, _n as DIMENSION_STYLES, a as DebugOptions, an as TastyCustomProps, b as func, bn as OUTER_STYLES, c as tastyDebug, cn as TextStyleProps, d as dotize, dn as BASE_STYLES, en as OuterStyleProps, et as createColorFunc, f as _modAttrs, fn as BLOCK_INNER_STYLES, g as counterStyle, gn as CONTAINER_STYLES, h as cleanup, hn as COLOR_STYLES, i as DebugChunkInfo, in as TastyBaseStylePropNames, it as okhslPlugin, j as keyframes, k as injector, l as processTokens, ln as TokenValue, m as filterBaseProps, mn as BLOCK_STYLES, n as CacheStatus, nn as ShortGridStyles, nt as okhstPlugin, o as InspectResult, on as TastyExtensionConfig, p as color, pn as BLOCK_OUTER_STYLES, q as DIMENSION_CHUNK_STYLES, qt as ContainerStyleProps, r as ChunkBreakdown, rn as TagName, rt as okhslFunction, s as Summary, sn as TastyThemeNames, t as CSSOptions, tn as PositionStyleProps, tt as okhstFunction, u as resolveRecipes, un as Tokens, v as destroy, vn as FLOW_STYLES, w as getRawCSSText, wn as DEFAULT_ZERO_NAME_PREFIX, x as gc, xn as POSITION_STYLES, y as fontFace, yn as INNER_STYLES, z as computeStyles } from "../index-CV_fhEm0.js";
3
+ import { $ as resolveFunctionColor, $t as Mods, A as isPropertyDefined, B as defineHandler, C as getCSSTextForNode, Cn as DEFAULT_NAME_PREFIX, D as injectGlobal, E as inject, F as ChunkSheetRegistry, G as CHUNK_NAMES, Gt as BlockStyleProps, H as ChunkInfo, Ht as BaseStyleProps, I as chunkSheetRegistry, J as DISPLAY_CHUNK_STYLES, Jt as DimensionStyleProps, K as ChunkName, Kt as ColorStyleProps, L as ComputeStylesOptions, M as ownKeyframes, N as property, O as injectRawCSS, P as touch, Q as STYLE_TO_CHUNK, Qt as ModValue, R as ComputeStylesResult, S as getCSSText, Sn as TEXT_STYLES, T as holdKeyframes, U as categorizeStyleKeys, Ut as BlockInnerStyleProps, V as styleHandlers, W as APPEARANCE_CHUNK_STYLES, Wt as BlockOuterStyleProps, X as LAYOUT_CHUNK_STYLES, Xt as FlowStyleProps, Y as FONT_CHUNK_STYLES, Yt as ExtraBaseStyleProps, Z as POSITION_CHUNK_STYLES, Zt as InnerStyleProps, _ as createInjector, _n as DIMENSION_STYLES, a as DebugOptions, an as TastyCustomProps, b as func, bn as OUTER_STYLES, c as tastyDebug, cn as TextStyleProps, d as dotize, dn as BASE_STYLES, en as OuterStyleProps, et as createColorFunc, f as _modAttrs, fn as BLOCK_INNER_STYLES, g as counterStyle, gn as CONTAINER_STYLES, h as cleanup, hn as COLOR_STYLES, i as DebugChunkInfo, in as TastyBaseStylePropNames, it as okhslPlugin, j as keyframes, k as injector, l as processTokens, ln as TokenValue, m as filterBaseProps, mn as BLOCK_STYLES, n as CacheStatus, nn as ShortGridStyles, nt as okhstPlugin, o as InspectResult, on as TastyExtensionConfig, p as color, pn as BLOCK_OUTER_STYLES, q as DIMENSION_CHUNK_STYLES, qt as ContainerStyleProps, r as ChunkBreakdown, rn as TagName, rt as okhslFunction, s as Summary, sn as TastyThemeNames, t as CSSOptions, tn as PositionStyleProps, tt as okhstFunction, u as resolveRecipes, un as Tokens, v as destroy, vn as FLOW_STYLES, w as getRawCSSText, wn as DEFAULT_ZERO_NAME_PREFIX, x as gc, xn as POSITION_STYLES, y as fontFace, yn as INNER_STYLES, z as computeStyles } from "../index-Bm9ltvdH.js";
4
4
  import { t as mergeStyles } from "../merge-styles-BcLl1u_d.js";
5
5
  export { APPEARANCE_CHUNK_STYLES, type AnyStyleHandler, type AtRuleContext, BASE_STYLES, BLOCK_INNER_STYLES, BLOCK_OUTER_STYLES, BLOCK_STYLES, type BaseStyleProps, type BlockInnerStyleProps, type BlockOuterStyleProps, type BlockStyleProps, CHUNK_NAMES, COLOR_STYLES, CONTAINER_STYLES, type CSSMap, CSSOptions, type CSSProperties, CUSTOM_UNITS, type CacheMetrics, CacheStatus, ChunkBreakdown, type ChunkInfo, type ChunkName, ChunkSheetRegistry, type ColorSpace, type ColorStyleProps, type ComputeStylesOptions, type ComputeStylesResult, type ConditionNode, type ConfigTokenValue, type ConfigTokens, type ContainerStyleProps, type CounterStyleDescriptors, DEFAULT_NAME_PREFIX, DEFAULT_ZERO_NAME_PREFIX, DIMENSION_CHUNK_STYLES, DIMENSION_STYLES, DIRECTIONS, DISPLAY_CHUNK_STYLES, DebugChunkInfo, DebugOptions, type DimensionStyleProps, type DisposeFunction, type ExtraBaseStyleProps, FLOW_STYLES, FONT_CHUNK_STYLES, type FlowStyleProps, type FontFaceDescriptors, type FontFaceInput, type FunctionDefinition, type FunctionParameter, type FunctionsConfig, type GCConfig, type GCOptions, INNER_STYLES, type InjectOptions, type InjectResult, type InjectionMode, type InnerStyleProps, InspectResult, type KeyframesCacheEntry, type KeyframesInfo, type KeyframesResult, type KeyframesSteps, LAYOUT_CHUNK_STYLES, type ModValue, type Mods, type NoType, type NotSelector, OUTER_STYLES, type OuterStyleProps, POSITION_CHUNK_STYLES, POSITION_STYLES, type ParseFunction, type ParseStateKeyOptions, type ParsedAdvancedState, type ParsedColor, type ParserOptions, type PositionStyleProps, type ProcessedStyle, type PropHandler, type PropHandlerDefinition, type PropHandlerProps, type PropertyDefinition, type PropertyOptions, type QueuedWrite, type RawCSSResult, type RawStyleHandler, type RecipeStyles, type RenderResult, type ResolvedStyleValue, type RootRegistry, type RuleInfo, STYLE_TO_CHUNK, type Selector, type SheetInfo, SheetManager, type ShortGridStyles, type StateParserContext, type StyleDetails, type StyleDetailsPart, type StyleHandler, type StyleHandlerDefinition, type StyleHandlerProps, type StyleHandlerResult, StyleInjector, type StyleInjectorConfig, type StyleMap, StyleParser, type StylePropValue, type StyleResult, type StyleRule, type StyleUsage, type StyleValue, type StyleValueStateMap, type Styles, type StylesInterface, type StylesWithoutSelectors, type SuffixForSelector, Summary, TEXT_STYLES, type TagName, type TastyBaseStylePropNames, type TastyConfig, type TastyCustomProps, type TastyExtensionConfig, type TastyNamedColors, type TastyPlugin, type TastyPluginFactory, type TastyPresetNames, type TastyThemeNames, type TextStyleProps, type TokenValue, type Tokens, TypographyPreset, TypographyTokenValue, type UnitHandler, categorizeStyleKeys, chunkSheetRegistry, cleanup, color, computeStyles, configure, counterStyle, createColorFunc, createInjector, createStateParserContext, defineHandler, destroy, dotize, filterBaseProps, filterMods, flushStyles, fontFace, func, gc, generateTypographyTokens, getCSSText, getCSSTextForNode, getConfig, getGlobalCounterStyles, getGlobalFontFaces, getGlobalFunctions, getGlobalKeyframes, getGlobalParser, getGlobalPredefinedStates, getGlobalPredefinedTokens, getGlobalRecipes, getNamePrefix, getNamedColorHex, getRawCSSText, getRgbValuesFromRgbaString, hasGlobalKeyframes, hasGlobalRecipes, hasPendingStyleWrites, hasStylesGenerated, hexToRgb, holdKeyframes, hslToRgbValues, inject, injectGlobal, injectRawCSS, injector, isConfigLocked, isPropertyDefined, isSelector, isTestEnvironment, keyframes, mergeStyles, _modAttrs as modAttrs, normalizeColorTokenValue, okhslFunction, okhslPlugin, okhstFunction, okhstPlugin, ownKeyframes, parseColor, parseStateKey, parseStyle, processTokens, property, renderStyles, resetConfig, resetStyleBatch, resolveFunctionColor, resolveRecipes, setGlobalPredefinedStates, strToRgb, stringifyStyles, styleHandlers, tastyDebug, touch };
@@ -1,6 +1,6 @@
1
- import { $ as SheetManager, $t as StyleParser, A as FLOW_STYLES, At as STYLE_TO_CHUNK, B as createStateParserContext, C as BASE_STYLES, Ct as APPEARANCE_CHUNK_STYLES, D as COLOR_STYLES, Dt as FONT_CHUNK_STYLES, E as BLOCK_STYLES, Et as DISPLAY_CHUNK_STYLES, G as StyleInjector, Gt as parseStyle, Ht as getGlobalPredefinedTokens, I as isSelector, Jt as okhstPlugin, Kt as stringifyStyles, L as renderStyles, Lt as CUSTOM_UNITS, M as OUTER_STYLES, N as POSITION_STYLES, O as CONTAINER_STYLES, Ot as LAYOUT_CHUNK_STYLES, P as TEXT_STYLES, R as parseStateKey, Rt as DIRECTIONS, T as BLOCK_OUTER_STYLES, Tt as DIMENSION_CHUNK_STYLES, U as getGlobalPredefinedStates, Ut as normalizeColorTokenValue, Vt as getGlobalParser, W as setGlobalPredefinedStates, Wt as parseColor, Xt as okhslPlugin, Yt as okhslFunction, Zt as createColorFunc, a as getGlobalCounterStyles, an as hslToRgbValues, b as resetConfig, dt as DEFAULT_ZERO_NAME_PREFIX, f as getNamePrefix, g as isConfigLocked, h as hasStylesGenerated, in as hexToRgb, j as INNER_STYLES, k as DIMENSION_STYLES, kt as POSITION_CHUNK_STYLES, l as getGlobalKeyframes, lt as resetStyleBatch, m as hasGlobalRecipes, n as getConfig, nn as getNamedColorHex, nt as styleHandlers, o as getGlobalFontFaces, on as strToRgb, ot as flushStyles, p as hasGlobalKeyframes, qt as okhstFunction, rn as getRgbValuesFromRgbaString, s as getGlobalFunctions, st as hasPendingStyleWrites, t as configure, tt as defineHandler, u as getGlobalRecipes, ut as DEFAULT_NAME_PREFIX, v as isTestEnvironment, w as BLOCK_INNER_STYLES, wt as CHUNK_NAMES, x as generateTypographyTokens, zt as filterMods } from "../config-CHz_SFr_.js";
2
- import { A as keyframes, C as getRawCSSText, D as injectRawCSS, E as injectGlobal, F as chunkSheetRegistry, I as resolveFunctionColor, M as property, N as touch, O as injector, P as ChunkSheetRegistry, S as getCSSTextForNode, T as inject, _ as destroy, a as color, b as gc, g as createInjector, h as counterStyle, i as _modAttrs, j as ownKeyframes, k as isPropertyDefined, m as cleanup, n as processTokens, o as filterBaseProps, r as dotize, s as computeStyles, t as tastyDebug, v as fontFace, w as holdKeyframes, x as getCSSText, y as func } from "../core-COC2UQ48.js";
3
- import { d as categorizeStyleKeys } from "../keyframes-KkxDZ9xu.js";
4
- import { t as mergeStyles } from "../merge-styles-BGM4RJWC.js";
5
- import { t as resolveRecipes } from "../resolve-recipes-DbeVYQFr.js";
1
+ import { $ as SheetManager, $t as StyleParser, A as FLOW_STYLES, At as STYLE_TO_CHUNK, B as createStateParserContext, C as BASE_STYLES, Ct as APPEARANCE_CHUNK_STYLES, D as COLOR_STYLES, Dt as FONT_CHUNK_STYLES, E as BLOCK_STYLES, Et as DISPLAY_CHUNK_STYLES, G as StyleInjector, Gt as parseStyle, Ht as getGlobalPredefinedTokens, I as isSelector, Jt as okhstPlugin, Kt as stringifyStyles, L as renderStyles, Lt as CUSTOM_UNITS, M as OUTER_STYLES, N as POSITION_STYLES, O as CONTAINER_STYLES, Ot as LAYOUT_CHUNK_STYLES, P as TEXT_STYLES, R as parseStateKey, Rt as DIRECTIONS, T as BLOCK_OUTER_STYLES, Tt as DIMENSION_CHUNK_STYLES, U as getGlobalPredefinedStates, Ut as normalizeColorTokenValue, Vt as getGlobalParser, W as setGlobalPredefinedStates, Wt as parseColor, Xt as okhslPlugin, Yt as okhslFunction, Zt as createColorFunc, a as getGlobalCounterStyles, an as hslToRgbValues, b as resetConfig, dt as DEFAULT_ZERO_NAME_PREFIX, f as getNamePrefix, g as isConfigLocked, h as hasStylesGenerated, in as hexToRgb, j as INNER_STYLES, k as DIMENSION_STYLES, kt as POSITION_CHUNK_STYLES, l as getGlobalKeyframes, lt as resetStyleBatch, m as hasGlobalRecipes, n as getConfig, nn as getNamedColorHex, nt as styleHandlers, o as getGlobalFontFaces, on as strToRgb, ot as flushStyles, p as hasGlobalKeyframes, qt as okhstFunction, rn as getRgbValuesFromRgbaString, s as getGlobalFunctions, st as hasPendingStyleWrites, t as configure, tt as defineHandler, u as getGlobalRecipes, ut as DEFAULT_NAME_PREFIX, v as isTestEnvironment, w as BLOCK_INNER_STYLES, wt as CHUNK_NAMES, x as generateTypographyTokens, zt as filterMods } from "../config-B3gPdCqd.js";
2
+ import { A as keyframes, C as getRawCSSText, D as injectRawCSS, E as injectGlobal, F as chunkSheetRegistry, I as resolveFunctionColor, M as property, N as touch, O as injector, P as ChunkSheetRegistry, S as getCSSTextForNode, T as inject, _ as destroy, a as color, b as gc, g as createInjector, h as counterStyle, i as _modAttrs, j as ownKeyframes, k as isPropertyDefined, m as cleanup, n as processTokens, o as filterBaseProps, r as dotize, s as computeStyles, t as tastyDebug, v as fontFace, w as holdKeyframes, x as getCSSText, y as func } from "../core-DGm0CFHP.js";
3
+ import { d as categorizeStyleKeys } from "../keyframes-DE-OE76F.js";
4
+ import { t as mergeStyles } from "../merge-styles-DuoZEsm9.js";
5
+ import { t as resolveRecipes } from "../resolve-recipes-H9NqOQuP.js";
6
6
  export { APPEARANCE_CHUNK_STYLES, BASE_STYLES, BLOCK_INNER_STYLES, BLOCK_OUTER_STYLES, BLOCK_STYLES, CHUNK_NAMES, COLOR_STYLES, CONTAINER_STYLES, CUSTOM_UNITS, ChunkSheetRegistry, DEFAULT_NAME_PREFIX, DEFAULT_ZERO_NAME_PREFIX, DIMENSION_CHUNK_STYLES, DIMENSION_STYLES, DIRECTIONS, DISPLAY_CHUNK_STYLES, FLOW_STYLES, FONT_CHUNK_STYLES, INNER_STYLES, LAYOUT_CHUNK_STYLES, OUTER_STYLES, POSITION_CHUNK_STYLES, POSITION_STYLES, STYLE_TO_CHUNK, SheetManager, StyleInjector, StyleParser, TEXT_STYLES, categorizeStyleKeys, chunkSheetRegistry, cleanup, color, computeStyles, configure, counterStyle, createColorFunc, createInjector, createStateParserContext, defineHandler, destroy, dotize, filterBaseProps, filterMods, flushStyles, fontFace, func, gc, generateTypographyTokens, getCSSText, getCSSTextForNode, getConfig, getGlobalCounterStyles, getGlobalFontFaces, getGlobalFunctions, getGlobalKeyframes, getGlobalParser, getGlobalPredefinedStates, getGlobalPredefinedTokens, getGlobalRecipes, getNamePrefix, getNamedColorHex, getRawCSSText, getRgbValuesFromRgbaString, hasGlobalKeyframes, hasGlobalRecipes, hasPendingStyleWrites, hasStylesGenerated, hexToRgb, holdKeyframes, hslToRgbValues, inject, injectGlobal, injectRawCSS, injector, isConfigLocked, isPropertyDefined, isSelector, isTestEnvironment, keyframes, mergeStyles, _modAttrs as modAttrs, normalizeColorTokenValue, okhslFunction, okhslPlugin, okhstFunction, okhstPlugin, ownKeyframes, parseColor, parseStateKey, parseStyle, processTokens, property, renderStyles, resetConfig, resetStyleBatch, resolveFunctionColor, resolveRecipes, setGlobalPredefinedStates, strToRgb, stringifyStyles, styleHandlers, tastyDebug, touch };
@@ -1,7 +1,8 @@
1
- import { Bt as getGlobalParseFunctions, G as StyleInjector, Gt as parseStyle, It as registerLocalFunctionPolyfills, J as hasLocalCounterStyle, K as extractLocalCounterStyle, Mt as formatFunctionRule, Nt as hasLocalFunctions, Pt as parseFunctionName, Q as hasLocalFontFace, Qt as isDevEnv, Ut as normalizeColorTokenValue, Vt as getGlobalParser, X as fontFaceContentHash, Y as extractLocalFontFace, Z as formatFontFaceRule, _ as isFunctionsPolyfillEnabled, _t as hashString, bt as hasLocalProperties, c as getGlobalInjector, en as Lru, et as STYLE_HANDLER_MAP, f as getNamePrefix, ft as makeClassName, ht as tastyClassRegex, it as PropertyTypeResolver, jt as extractLocalFunctions, l as getGlobalKeyframes, n as getConfig, p as hasGlobalKeyframes, q as formatCounterStyleRule, rt as createStyle, sn as normalizeDslName, tn as overrideColorAlpha, v as isTestEnvironment, vt as extractLocalProperties, wt as CHUNK_NAMES, xt as parsePropertyToken, y as markStylesGenerated, z as camelToKebab } from "./config-CHz_SFr_.js";
2
- import { a as mergeKeyframes, c as resolveKeyframesNames, d as categorizeStyleKeys, i as hasLocalKeyframes, l as renderStylesForChunk, n as extractLocalKeyframes, o as referencesAnimation, r as filterUsedKeyframes, s as replaceAnimationNames, t as extractAnimationNamesFromStyles, u as generateChunkCacheKey } from "./keyframes-KkxDZ9xu.js";
3
- import { n as formatPropertyCSS, r as getRegisteredSSRCollector, t as formatRules } from "./format-rules-U9Od0aqv.js";
4
- import { t as resolveRecipes } from "./resolve-recipes-DbeVYQFr.js";
1
+ import { Bt as getGlobalParseFunctions, G as StyleInjector, Gt as parseStyle, It as registerLocalFunctionPolyfills, J as hasLocalCounterStyle, K as extractLocalCounterStyle, Mt as formatFunctionRule, Nt as hasLocalFunctions, Pt as parseFunctionName, Q as hasLocalFontFace, Qt as isDevEnv, Ut as normalizeColorTokenValue, Vt as getGlobalParser, X as fontFaceContentHash, Y as extractLocalFontFace, Z as formatFontFaceRule, _ as isFunctionsPolyfillEnabled, _t as hashString, bt as hasLocalProperties, c as getGlobalInjector, en as Lru, et as STYLE_HANDLER_MAP, f as getNamePrefix, ft as makeClassName, ht as tastyClassRegex, it as PropertyTypeResolver, jt as extractLocalFunctions, l as getGlobalKeyframes, n as getConfig, ot as flushStyles, p as hasGlobalKeyframes, q as formatCounterStyleRule, rt as createStyle, sn as normalizeDslName, tn as overrideColorAlpha, v as isTestEnvironment, vt as extractLocalProperties, wt as CHUNK_NAMES, xt as parsePropertyToken, y as markStylesGenerated, z as camelToKebab } from "./config-B3gPdCqd.js";
2
+ import { a as mergeKeyframes, c as resolveKeyframesNames, d as categorizeStyleKeys, i as hasLocalKeyframes, l as renderStylesForChunk, n as extractLocalKeyframes, o as referencesAnimation, r as filterUsedKeyframes, s as replaceAnimationNames, t as extractAnimationNamesFromStyles, u as generateChunkCacheKey } from "./keyframes-DE-OE76F.js";
3
+ import { t as getRegisteredSSRCollector } from "./ssr-collector-ref-COs_ioWl.js";
4
+ import { n as formatPropertyCSS, t as formatRules } from "./format-rules-XRw9u7d4.js";
5
+ import { t as resolveRecipes } from "./resolve-recipes-H9NqOQuP.js";
5
6
  import { cache } from "react";
6
7
  //#region src/utils/function-color.ts
7
8
  const RE_FUNC_NAME = /^([a-z][a-z0-9-]*)\s*\(/i;
@@ -1158,10 +1159,41 @@ function countRules(css) {
1158
1159
  function sortTastyClasses(classes) {
1159
1160
  return Array.from(classes).sort((a, b) => a.localeCompare(b));
1160
1161
  }
1161
- function getRegistry(root = document) {
1162
+ /**
1163
+ * The root these helpers read, or `null` where there is no DOM.
1164
+ *
1165
+ * `document` used to be a default parameter value, and a default is evaluated
1166
+ * at the call site — so every read below threw a bare `ReferenceError` under
1167
+ * Node, taking out five of the eight public methods. A debug utility must not
1168
+ * be able to fail an SSR render because a call was left in, so the DOM-less
1169
+ * case reports an empty result and says why.
1170
+ */
1171
+ function defaultRoot() {
1172
+ return typeof document === "undefined" ? null : document;
1173
+ }
1174
+ let warnedNoDom = false;
1175
+ /** Say once why the numbers are empty. Silent under `{ raw: true }`. */
1176
+ function warnNoDom(raw) {
1177
+ if (raw || warnedNoDom) return;
1178
+ warnedNoDom = true;
1179
+ console.warn("[Tasty] tastyDebug reads the DOM and this environment has none, so the result is empty. During SSR, read the ServerStyleCollector instead.");
1180
+ }
1181
+ /**
1182
+ * The registry for `root`, with every queued write landed first.
1183
+ *
1184
+ * Every injector read API is a flush point, and the reads below reach past
1185
+ * those APIs straight into the registry and the sheet manager. Without this
1186
+ * they would report a batch window's contents as absent — a rule that is
1187
+ * enqueued but not yet in a sheet is missing from `globalRules`, from the
1188
+ * sheets, and from anything counting either.
1189
+ */
1190
+ function getRegistry(root = defaultRoot()) {
1191
+ if (!root) return void 0;
1192
+ flushStyles();
1162
1193
  return injector.instance._sheetManager?.getRegistry(root);
1163
1194
  }
1164
- function findDomTastyClasses(root = document) {
1195
+ function findDomTastyClasses(root = defaultRoot()) {
1196
+ if (!root) return [];
1165
1197
  const classes = /* @__PURE__ */ new Set();
1166
1198
  const elements = root.querySelectorAll?.("[class]") || [];
1167
1199
  const classRegex = tastyClassRegex(getNamePrefix());
@@ -1174,6 +1206,29 @@ function findDomTastyClasses(root = document) {
1174
1206
  return sortTastyClasses(classes);
1175
1207
  }
1176
1208
  /**
1209
+ * Everything this injector holds in `root`, in the order the engine applies it,
1210
+ * with the sources kept byte-for-byte — trimming would report a total smaller
1211
+ * than one of its own parts whenever raw CSS has edge whitespace.
1212
+ */
1213
+ function getAllCSS(root = defaultRoot()) {
1214
+ const registry = getRegistry(root);
1215
+ const sheetManager = injector.instance._sheetManager;
1216
+ if (!root || !registry || !sheetManager) return "";
1217
+ return sheetManager.getOwnedCSSInOrder(registry, root).join("\n");
1218
+ }
1219
+ /**
1220
+ * The injector's own readers fall back to `document` when `root` is omitted, so
1221
+ * they have to be reached with a real root or not at all.
1222
+ */
1223
+ function cssTextForClasses(classNames, root) {
1224
+ if (!root) return "";
1225
+ return injector.instance.getCSSTextForClasses(classNames, { root });
1226
+ }
1227
+ function getInjectorMetrics(root) {
1228
+ if (!root) return null;
1229
+ return injector.instance.getMetrics({ root });
1230
+ }
1231
+ /**
1177
1232
  * Injected classes that no element carries and nobody pinned — the exact set
1178
1233
  * `gc({ force: true })` would delete.
1179
1234
  *
@@ -1181,11 +1236,12 @@ function findDomTastyClasses(root = document) {
1181
1236
  * drifted apart once before, when this file still read "unused" off the pin
1182
1237
  * counts the render path had stopped maintaining.
1183
1238
  */
1184
- function getUnusedClasses(root = document) {
1239
+ function getUnusedClasses(root = defaultRoot()) {
1240
+ if (!root) return [];
1185
1241
  return sortTastyClasses(injector.instance.getUnusedClasses({ root }));
1186
1242
  }
1187
1243
  /** Every class this injector holds CSS for in `root`. */
1188
- function getOwnedClasses(root = document) {
1244
+ function getOwnedClasses(root = defaultRoot()) {
1189
1245
  const registry = getRegistry(root);
1190
1246
  if (!registry) return [];
1191
1247
  const owned = [];
@@ -1252,15 +1308,15 @@ function extractChunkName(cacheKey) {
1252
1308
  }
1253
1309
  return null;
1254
1310
  }
1255
- function getChunkForClass(className, root = document) {
1311
+ function getChunkForClass(className, root = defaultRoot()) {
1256
1312
  const registry = getRegistry(root);
1257
1313
  if (!registry) return null;
1258
1314
  for (const [key, cn] of registry.cacheKeyToClassName) if (cn === className) return extractChunkName(key);
1259
1315
  return null;
1260
1316
  }
1261
- function buildChunkBreakdown(root = document) {
1317
+ function buildChunkBreakdown(root = defaultRoot()) {
1262
1318
  const registry = getRegistry(root);
1263
- if (!registry) return {
1319
+ if (!root || !registry) return {
1264
1320
  byChunk: {},
1265
1321
  totalChunkTypes: 0,
1266
1322
  totalClasses: 0
@@ -1298,9 +1354,9 @@ const GLOBAL_RULE_PREFIXES = {
1298
1354
  counterStyle: "counterstyle:",
1299
1355
  function: "function:"
1300
1356
  };
1301
- function getGlobalTypeCSS(type, root = document) {
1357
+ function getGlobalTypeCSS(type, root = defaultRoot()) {
1302
1358
  const registry = getRegistry(root);
1303
- if (!registry) return {
1359
+ if (!root || !registry) return {
1304
1360
  css: "",
1305
1361
  ruleCount: 0,
1306
1362
  size: 0
@@ -1309,9 +1365,10 @@ function getGlobalTypeCSS(type, root = document) {
1309
1365
  let rc = 0;
1310
1366
  if (type === "raw") {
1311
1367
  const css = injector.instance.getRawCSSText({ root });
1368
+ const sheetManager = injector.instance._sheetManager;
1312
1369
  return {
1313
1370
  css: prettifyCSS(css),
1314
- ruleCount: countRules(css),
1371
+ ruleCount: sheetManager?.getRawRuleCount(root) ?? 0,
1315
1372
  size: css.length
1316
1373
  };
1317
1374
  }
@@ -1361,7 +1418,7 @@ function getGlobalTypeCSS(type, root = document) {
1361
1418
  size: raw.length
1362
1419
  };
1363
1420
  }
1364
- function getSourceCssForClasses(classNames, root = document) {
1421
+ function getSourceCssForClasses(classNames, root = defaultRoot()) {
1365
1422
  const registry = getRegistry(root);
1366
1423
  if (!registry) return null;
1367
1424
  const chunks = [];
@@ -1375,7 +1432,7 @@ function getSourceCssForClasses(classNames, root = document) {
1375
1432
  }
1376
1433
  return found ? chunks.join("\n") : null;
1377
1434
  }
1378
- function getDefs(root = document) {
1435
+ function getDefs(root = defaultRoot()) {
1379
1436
  const registry = getRegistry(root);
1380
1437
  let properties = [];
1381
1438
  if (registry?.injectedProperties) properties = Array.from(registry.injectedProperties.keys()).sort();
@@ -1405,7 +1462,11 @@ const CHUNK_ORDER = [
1405
1462
  ];
1406
1463
  const tastyDebug = {
1407
1464
  css(target, opts) {
1408
- const { root = document, prettify = true, raw = false, source = false } = opts || {};
1465
+ const { root = defaultRoot(), prettify = true, raw = false, source = false } = opts || {};
1466
+ if (!root) {
1467
+ warnNoDom(raw);
1468
+ return "";
1469
+ }
1409
1470
  let css = "";
1410
1471
  const classRegex = tastyClassRegex(getNamePrefix());
1411
1472
  if (source && typeof target === "string" && classRegex.test(target)) {
@@ -1422,7 +1483,7 @@ const tastyDebug = {
1422
1483
  if (!raw) console.warn("[Tasty] source CSS not available. Falling back to live CSSOM.");
1423
1484
  css = injector.instance.getCSSTextForClasses(target, { root });
1424
1485
  }
1425
- } else if (typeof target === "string") if (target === "all") css = injector.instance.getCSSText({ root });
1486
+ } else if (typeof target === "string") if (target === "all") css = getAllCSS(root);
1426
1487
  else if (target === "global") {
1427
1488
  css = getGlobalTypeCSS("global", root).css;
1428
1489
  return css;
@@ -1451,8 +1512,9 @@ const tastyDebug = {
1451
1512
  return result;
1452
1513
  },
1453
1514
  inspect(target, opts) {
1454
- const { root = document, raw = false } = opts || {};
1455
- const element = typeof target === "string" ? root.querySelector?.(target) : target;
1515
+ const { root = defaultRoot(), raw = false } = opts || {};
1516
+ const element = !root ? null : typeof target === "string" ? root.querySelector?.(target) : target;
1517
+ if (!root) warnNoDom(raw);
1456
1518
  if (!element) {
1457
1519
  const empty = {
1458
1520
  element: null,
@@ -1462,7 +1524,7 @@ const tastyDebug = {
1462
1524
  size: 0,
1463
1525
  rules: 0
1464
1526
  };
1465
- if (!raw) console.warn("[Tasty] debug.inspect: element not found");
1527
+ if (!raw && root) console.warn("[Tasty] debug.inspect: element not found");
1466
1528
  return empty;
1467
1529
  }
1468
1530
  const classList = element.getAttribute("class") || "";
@@ -1472,7 +1534,7 @@ const tastyDebug = {
1472
1534
  className,
1473
1535
  chunkName: getChunkForClass(className, root)
1474
1536
  }));
1475
- const css = getCSSTextForNode(element, { root });
1537
+ const css = getCSSTextForNode(element, { root: root ?? void 0 });
1476
1538
  const rules = countRules(css);
1477
1539
  const result = {
1478
1540
  element,
@@ -1495,7 +1557,8 @@ const tastyDebug = {
1495
1557
  return result;
1496
1558
  },
1497
1559
  summary(opts) {
1498
- const { root = document, raw = false } = opts || {};
1560
+ const { root = defaultRoot(), raw = false } = opts || {};
1561
+ if (!root) warnNoDom(raw);
1499
1562
  const activeClasses = findDomTastyClasses(root);
1500
1563
  const unusedClasses = getUnusedClasses(root);
1501
1564
  const ownedClasses = getOwnedClasses(root);
@@ -1503,10 +1566,10 @@ const tastyDebug = {
1503
1566
  const unusedSet = new Set(unusedClasses);
1504
1567
  const activeSet = new Set(activeClasses);
1505
1568
  const hotClasses = ownedClasses.filter((className) => !activeSet.has(className) && !unusedSet.has(className));
1506
- const hotCSS = injector.instance.getCSSTextForClasses(hotClasses, { root });
1507
- const activeCSS = injector.instance.getCSSTextForClasses(activeClasses, { root });
1508
- const unusedCSS = injector.instance.getCSSTextForClasses(unusedClasses, { root });
1509
- const allCSS = injector.instance.getCSSText({ root });
1569
+ const hotCSS = cssTextForClasses(hotClasses, root);
1570
+ const activeCSS = cssTextForClasses(activeClasses, root);
1571
+ const unusedCSS = cssTextForClasses(unusedClasses, root);
1572
+ const allCSS = getAllCSS(root);
1510
1573
  const activeRuleCount = countRules(activeCSS);
1511
1574
  const unusedRuleCount = countRules(unusedCSS);
1512
1575
  const globalData = getGlobalTypeCSS("global", root);
@@ -1530,7 +1593,7 @@ const tastyDebug = {
1530
1593
  size: 0
1531
1594
  });
1532
1595
  const totalRuleCount = activeRuleCount + unusedRuleCount + countRules(hotCSS) + globalData.ruleCount + atRuleData.ruleCount + rawData.ruleCount + kfData.ruleCount + propData.ruleCount;
1533
- const metrics = injector.instance.getMetrics({ root });
1596
+ const metrics = getInjectorMetrics(root);
1534
1597
  const defs = getDefs(root);
1535
1598
  const chunkBreakdown = buildChunkBreakdown(root);
1536
1599
  const summary = {
@@ -1587,7 +1650,8 @@ const tastyDebug = {
1587
1650
  return summary;
1588
1651
  },
1589
1652
  chunks(opts) {
1590
- const { root = document, raw = false } = opts || {};
1653
+ const { root = defaultRoot(), raw = false } = opts || {};
1654
+ if (!root) warnNoDom(raw);
1591
1655
  const breakdown = buildChunkBreakdown(root);
1592
1656
  if (!raw) {
1593
1657
  console.group(`Chunks (${breakdown.totalChunkTypes} types, ${breakdown.totalClasses} classes)`);
@@ -1601,10 +1665,11 @@ const tastyDebug = {
1601
1665
  return breakdown;
1602
1666
  },
1603
1667
  cache(opts) {
1604
- const { root = document, raw = false } = opts || {};
1668
+ const { root = defaultRoot(), raw = false } = opts || {};
1669
+ if (!root) warnNoDom(raw);
1605
1670
  const active = findDomTastyClasses(root);
1606
1671
  const unused = getUnusedClasses(root);
1607
- const metrics = injector.instance.getMetrics({ root });
1672
+ const metrics = getInjectorMetrics(root);
1608
1673
  const status = {
1609
1674
  classes: {
1610
1675
  active,
@@ -1626,7 +1691,9 @@ const tastyDebug = {
1626
1691
  return status;
1627
1692
  },
1628
1693
  cleanup(opts) {
1629
- injector.instance.cleanup(opts?.root);
1694
+ const root = opts?.root ?? defaultRoot();
1695
+ if (!root) return;
1696
+ injector.instance.cleanup(root);
1630
1697
  },
1631
1698
  help() {
1632
1699
  console.log(`tastyDebug API:
@@ -1648,7 +1715,8 @@ Options: { raw: true } suppresses logging, { root: shadowRoot } targets Shadow D
1648
1715
  }
1649
1716
  }
1650
1717
  };
1651
- function getPageCSS(root = document) {
1718
+ function getPageCSS(root = defaultRoot()) {
1719
+ if (!root) return "";
1652
1720
  const chunks = [];
1653
1721
  try {
1654
1722
  if ("styleSheets" in root) for (const sheet of Array.from(root.styleSheets)) try {
@@ -1661,4 +1729,4 @@ if (typeof window !== "undefined" && isDevEnv()) tastyDebug.install();
1661
1729
  //#endregion
1662
1730
  export { keyframes as A, getRawCSSText as C, injectRawCSS as D, injectGlobal as E, chunkSheetRegistry as F, resolveFunctionColor as I, property as M, touch as N, injector as O, ChunkSheetRegistry as P, getCSSTextForNode as S, inject as T, destroy as _, color as a, gc as b, hasKeys as c, collectAutoInferredPropertiesRSC as d, getStyleTarget as f, createInjector as g, counterStyle as h, _modAttrs as i, ownKeyframes as j, isPropertyDefined as k, formatKeyframesCSS as l, cleanup as m, processTokens as n, filterBaseProps as o, pushRSCCSS as p, dotize as r, computeStyles as s, tastyDebug as t, collectAutoInferredProperties as u, fontFace as v, holdKeyframes as w, getCSSText as x, func as y };
1663
1731
 
1664
- //# sourceMappingURL=core-COC2UQ48.js.map
1732
+ //# sourceMappingURL=core-DGm0CFHP.js.map