added fonts

This commit is contained in:
2025-07-02 11:28:41 +02:00
parent 4134e3a234
commit 142d2986b6
9079 changed files with 1498421 additions and 2 deletions
+19
View File
@@ -0,0 +1,19 @@
import { NEXT_RSC_UNION_QUERY } from '../client/components/app-router-headers';
const DUMMY_ORIGIN = 'http://n';
export function isFullStringUrl(url) {
return /https?:\/\//.test(url);
}
export function parseUrl(url) {
let parsed = undefined;
try {
parsed = new URL(url, DUMMY_ORIGIN);
} catch {}
return parsed;
}
export function stripNextRscUnionQuery(relativeUrl) {
const urlInstance = new URL(relativeUrl, DUMMY_ORIGIN);
urlInstance.searchParams.delete(NEXT_RSC_UNION_QUERY);
return urlInstance.pathname + urlInstance.search;
}
//# sourceMappingURL=url.js.map