Rocky_Mountain_Vending/.pnpm-store/v10/files/6b/ec4deaefea513503e6730c22f62b224facc8f8147a9db00df903a0dc1c231a158c62cbe092c92e5fce018ea291a8312b56b8d72e92f50bf70d35aa0dd7bc8a
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

37 lines
1.1 KiB
Text

/**
* @license
* Copyright 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import {makeComputedArtifact} from '../computed-artifact.js';
import {NavigationMetric} from './navigation-metric.js';
class FirstContentfulPaintAllFrames extends NavigationMetric {
/**
* @return {Promise<LH.Artifacts.LanternMetric>}
*/
static computeSimulatedMetric() {
// TODO: Add support for all frames in lantern.
throw new Error('FCP All Frames not implemented in lantern');
}
/**
* @param {LH.Artifacts.NavigationMetricComputationData} data
* @return {Promise<LH.Artifacts.Metric>}
*/
static async computeObservedMetric(data) {
const {processedNavigation} = data;
return {
timing: processedNavigation.timings.firstContentfulPaintAllFrames,
timestamp: processedNavigation.timestamps.firstContentfulPaintAllFrames,
};
}
}
const FirstContentfulPaintAllFramesComputed = makeComputedArtifact(
FirstContentfulPaintAllFrames,
['devtoolsLog', 'gatherContext', 'settings', 'simulator', 'trace', 'URL', 'SourceMaps']
);
export {FirstContentfulPaintAllFramesComputed as FirstContentfulPaintAllFrames};