// ---------------------------------------------------------------------------
// Feed.Collapse — multi-stage animation timing
// ---------------------------------------------------------------------------
const EASE = [0.04, 0.62, 0.23, 0.98];
// Stagger timing
const STAGGER_IN = 0.05; // 50ms between each item entering
const STAGGER_OUT = 0.04; // 40ms between each item exiting (slightly faster)
const STAGGER_BASE_DELAY = 0.15; // items start shortly after height begins expanding
// Collapsed layer (curve + label) — exit = collapsing away, enter = reappearing
const collapseLayerExitTiming = {
    height: { duration: 0.3, delay: 0, ease: EASE },
    opacity: { duration: 0.2, delay: 0 },
};
const collapseLayerEnterTiming = {
    height: { duration: 0.35, delay: 0.05, ease: EASE },
    opacity: { duration: 0.25, delay: 0.15 },
};
// Expanded layer (children container) — enter = growing, exit = shrinking
const expandLayerEnterTiming = {
    height: { duration: 0.4, delay: 0, ease: EASE },
};
const expandLayerExitTiming = {
    height: { duration: 0.35, delay: 0.05, ease: EASE },
};

export { EASE, STAGGER_BASE_DELAY, STAGGER_IN, STAGGER_OUT, collapseLayerEnterTiming, collapseLayerExitTiming, expandLayerEnterTiming, expandLayerExitTiming };
