Rocky_Mountain_Vending/.pnpm-store/v10/files/19/5498ce4d12acc8acebb4825b9af53f79d26e00ab326cde7b3fa62cfce86cda40a1e6ea45254cc59dd80a1005c874337fadf97aaca2f255a20782faf969d12b
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

51 lines
No EOL
1.6 KiB
Text

// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import * as Types from '../types/types.js';
export class TraceFilter {
}
export class VisibleEventsFilter extends TraceFilter {
visibleTypes;
constructor(visibleTypes) {
super();
this.visibleTypes = new Set(visibleTypes);
}
accept(event) {
if (Types.Extensions.isSyntheticExtensionEntry(event)) {
return true;
}
return this.visibleTypes.has(VisibleEventsFilter.eventType(event));
}
static eventType(event) {
// Any blink.console category events are treated as ConsoleTime events
if (event.cat.includes('blink.console')) {
return Types.Events.Name.CONSOLE_TIME;
}
// Any blink.user_timing egory events are treated as UserTiming events
if (event.cat.includes('blink.user_timing')) {
return Types.Events.Name.USER_TIMING;
}
return event.name;
}
}
export class InvisibleEventsFilter extends TraceFilter {
#invisibleTypes;
constructor(invisibleTypes) {
super();
this.#invisibleTypes = new Set(invisibleTypes);
}
accept(event) {
return !this.#invisibleTypes.has(VisibleEventsFilter.eventType(event));
}
}
export class ExclusiveNameFilter extends TraceFilter {
#excludeNames;
constructor(excludeNames) {
super();
this.#excludeNames = new Set(excludeNames);
}
accept(event) {
return !this.#excludeNames.has(event.name);
}
}
//# sourceMappingURL=TraceFilter.js.map