32 lines
1.2 KiB
JavaScript
32 lines
1.2 KiB
JavaScript
import { s as sites } from './sites-F_LoVfp9.js';
|
|
import { e as error } from './index-wpIsICWW.js';
|
|
|
|
function load({ params }) {
|
|
const slug = params.site?.toLowerCase();
|
|
const site = slug && slug in sites ? sites[slug] : null;
|
|
if (!site) {
|
|
throw error(404, `Unknown site: ${params.site}`);
|
|
}
|
|
return {
|
|
slug,
|
|
url: site.url,
|
|
title: site.title
|
|
};
|
|
}
|
|
|
|
var _page_server_ts = /*#__PURE__*/Object.freeze({
|
|
__proto__: null,
|
|
load: load
|
|
});
|
|
|
|
const index = 7;
|
|
let component_cache;
|
|
const component = async () => component_cache ??= (await import('./_page.svelte-C4xf7w51.js')).default;
|
|
const server_id = "src/routes/[site]/+page.server.ts";
|
|
const imports = ["_app/immutable/nodes/7.3uaraxa_.js","_app/immutable/chunks/Bzak7iHL.js","_app/immutable/chunks/BfGs3WDN.js","_app/immutable/chunks/B52PvkJe.js","_app/immutable/chunks/D7710T35.js","_app/immutable/chunks/BlBMKpZ6.js","_app/immutable/chunks/DecArsLH.js","_app/immutable/chunks/By9q4dnk.js","_app/immutable/chunks/C2sKwo1m.js","_app/immutable/chunks/CQe9XmLJ.js","_app/immutable/chunks/BSLeMsiy.js"];
|
|
const stylesheets = [];
|
|
const fonts = [];
|
|
|
|
export { component, fonts, imports, index, _page_server_ts as server, server_id, stylesheets };
|
|
//# sourceMappingURL=7-Ctoz-S3T.js.map
|