export const moduleConfig = {
    'noise': {
        selector: '.noise-overlay',
        toggleKey: 'g',
        className: 'grainy',
        enableTransition: true
    },
    'shortcut-handler.js': {
        debug: false
    },
    'scrollfx': {
        selector: '.fade-in-on-scroll, .zoom-in',
        offset: 0.8,
        baseDelay: 0.075,
        once: true
    },
    'scroll-timeline': {
        attribute: 'data-scroll-step',
        triggerPoint: 0.4,
        once: false
    },
    'smooth-scroll': {
        'speed': 0.2,
    },
    'performance-profiler': {
        enabled: false, // Enable via data-module="performance-profiler" or in dev mode
        maxSamples: 1000,
        samplingInterval: 10,
        autoStart: false,
        autoInstrument: true, // Auto-instrument LiveComponents
        flamegraphContainer: '#flamegraph-container',
        timelineContainer: '#timeline-container',
        flamegraph: {
            width: 1200,
            height: 400,
            barHeight: 20,
            barPadding: 2,
            colorScheme: 'category', // 'category', 'duration', 'monochrome'
            minWidth: 0.5
        },
        timeline: {
            width: 1200,
            height: 200,
            trackHeight: 30,
            padding: { top: 20, right: 20, bottom: 30, left: 60 }
        }
    }
};
