@duffcloudservices/cms 0.13.15 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-P6HQW635.js → chunk-56RSSOAM.js} +3 -3
- package/dist/{chunk-P6HQW635.js.map → chunk-56RSSOAM.js.map} +1 -1
- package/dist/{chunk-JWXI5HAZ.js → chunk-CJATCOZJ.js} +198 -33
- package/dist/chunk-CJATCOZJ.js.map +1 -0
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/{installSeoHead-DPVmX-eY.d.ts → installSeoHead-CcNfcxNF.d.ts} +1 -1
- package/dist/plugins/index.d.ts +160 -4
- package/dist/plugins/index.js +644 -81
- package/dist/plugins/index.js.map +1 -1
- package/dist/seo/index.d.ts +4 -4
- package/dist/seo/index.js +2 -2
- package/dist/{vitepressTransform-BJrpGbVT.d.ts → vitepressTransform-CQXBpYEC.d.ts} +198 -20
- package/package.json +1 -1
- package/dist/chunk-JWXI5HAZ.js.map +0 -1
|
@@ -38,6 +38,17 @@ var LOCAL_BUSINESS_TYPES = /* @__PURE__ */ new Set([
|
|
|
38
38
|
function isLocalBusinessType(type) {
|
|
39
39
|
return !!type && LOCAL_BUSINESS_TYPES.has(type);
|
|
40
40
|
}
|
|
41
|
+
var FIRST_PARTY_REVIEW_PLATFORMS = /* @__PURE__ */ new Set([
|
|
42
|
+
"site",
|
|
43
|
+
"website",
|
|
44
|
+
"direct",
|
|
45
|
+
"first-party"
|
|
46
|
+
]);
|
|
47
|
+
function isFirstPartyReviewPlatform(platform) {
|
|
48
|
+
if (typeof platform !== "string") return false;
|
|
49
|
+
const key = platform.trim().toLowerCase();
|
|
50
|
+
return key.length > 0 && FIRST_PARTY_REVIEW_PLATFORMS.has(key);
|
|
51
|
+
}
|
|
41
52
|
function trimSlash(url) {
|
|
42
53
|
return url.replace(/\/+$/, "");
|
|
43
54
|
}
|
|
@@ -133,6 +144,7 @@ function filterRealReviews(items) {
|
|
|
133
144
|
const out = [];
|
|
134
145
|
for (const item of items) {
|
|
135
146
|
if (!item || typeof item !== "object") continue;
|
|
147
|
+
if (!isFirstPartyReviewPlatform(item.platform)) continue;
|
|
136
148
|
const ratingNum = Number(item.rating);
|
|
137
149
|
const text = typeof item.text === "string" ? item.text.trim() : "";
|
|
138
150
|
const authorName = typeof item.authorName === "string" ? item.authorName.trim() : "";
|
|
@@ -394,13 +406,19 @@ function absolutizeUrl(value, siteUrl, fallback = "") {
|
|
|
394
406
|
}
|
|
395
407
|
|
|
396
408
|
// src/seo/headTags.ts
|
|
409
|
+
function absolutizeImageUrl(value, siteUrl) {
|
|
410
|
+
const v = (value ?? "").trim();
|
|
411
|
+
if (!v) return "";
|
|
412
|
+
if (v.startsWith("//")) return `https:${v}`;
|
|
413
|
+
return absolutizeUrl(v, siteUrl, v);
|
|
414
|
+
}
|
|
397
415
|
function generateOpenGraphMeta(og, global, resolvedTitle, pageDescription, canonical) {
|
|
398
416
|
const tags = [];
|
|
399
417
|
tags.push({ property: "og:title", content: og.title || resolvedTitle });
|
|
400
418
|
tags.push({ property: "og:description", content: og.description || pageDescription });
|
|
401
419
|
tags.push({ property: "og:url", content: absolutizeUrl(og.url, global.siteUrl, canonical) });
|
|
402
420
|
tags.push({ property: "og:type", content: og.type || "website" });
|
|
403
|
-
const image = og.image || global.images?.ogDefault;
|
|
421
|
+
const image = absolutizeImageUrl(og.image || global.images?.ogDefault, global.siteUrl);
|
|
404
422
|
if (image) {
|
|
405
423
|
tags.push({ property: "og:image", content: image });
|
|
406
424
|
if (og.imageAlt || resolvedTitle) {
|
|
@@ -445,7 +463,7 @@ function generateTwitterMeta(twitter, global, resolvedTitle, pageDescription) {
|
|
|
445
463
|
tags.push({ name: "twitter:card", content: twitter.card || "summary_large_image" });
|
|
446
464
|
tags.push({ name: "twitter:title", content: twitter.title || resolvedTitle });
|
|
447
465
|
tags.push({ name: "twitter:description", content: twitter.description || pageDescription });
|
|
448
|
-
const image = twitter.image || global.images?.twitterDefault;
|
|
466
|
+
const image = absolutizeImageUrl(twitter.image || global.images?.twitterDefault, global.siteUrl);
|
|
449
467
|
if (image) {
|
|
450
468
|
tags.push({ name: "twitter:image", content: image });
|
|
451
469
|
if (twitter.imageAlt || resolvedTitle) {
|
|
@@ -744,6 +762,14 @@ function sweepBakedManagedHeadTags(snapshot, input) {
|
|
|
744
762
|
// src/seo/sitemap.ts
|
|
745
763
|
var XML_HEADER = '<?xml version="1.0" encoding="UTF-8"?>';
|
|
746
764
|
var URLSET_NS = "http://www.sitemaps.org/schemas/sitemap/0.9";
|
|
765
|
+
var AI_BOT_TIERS = {
|
|
766
|
+
search: ["OAI-SearchBot", "Claude-SearchBot", "PerplexityBot"],
|
|
767
|
+
userTriggered: ["ChatGPT-User", "Claude-User", "Perplexity-User"],
|
|
768
|
+
training: ["GPTBot", "ClaudeBot", "CCBot"],
|
|
769
|
+
controlTokens: ["Google-Extended", "Applebot-Extended"]
|
|
770
|
+
};
|
|
771
|
+
var ALWAYS_ALLOWED_TIERS = ["search", "userTriggered"];
|
|
772
|
+
var TRAINING_TIERS = ["training", "controlTokens"];
|
|
747
773
|
var AI_BOTS = [
|
|
748
774
|
"GPTBot",
|
|
749
775
|
"ClaudeBot",
|
|
@@ -751,8 +777,15 @@ var AI_BOTS = [
|
|
|
751
777
|
"Google-Extended",
|
|
752
778
|
"CCBot",
|
|
753
779
|
"OAI-SearchBot",
|
|
754
|
-
"Applebot-Extended"
|
|
780
|
+
"Applebot-Extended",
|
|
781
|
+
"Claude-SearchBot",
|
|
782
|
+
"ChatGPT-User",
|
|
783
|
+
"Claude-User",
|
|
784
|
+
"Perplexity-User"
|
|
755
785
|
];
|
|
786
|
+
function aiTrainingBots() {
|
|
787
|
+
return TRAINING_TIERS.flatMap((tier) => [...AI_BOT_TIERS[tier]]);
|
|
788
|
+
}
|
|
756
789
|
function trimTrailingSlash(url) {
|
|
757
790
|
return url.replace(/\/+$/, "");
|
|
758
791
|
}
|
|
@@ -811,11 +844,16 @@ function buildSitemapXml(params) {
|
|
|
811
844
|
exclude = [],
|
|
812
845
|
noindex = [],
|
|
813
846
|
excludedGlobs = [],
|
|
814
|
-
|
|
847
|
+
routeLastmods,
|
|
848
|
+
lastmod: siteWideLastmod
|
|
815
849
|
} = params;
|
|
816
850
|
const excludeSet = new Set(exclude);
|
|
817
851
|
const noindexSet = new Set(noindex);
|
|
818
|
-
const
|
|
852
|
+
const derivedLastmod = (routePath) => {
|
|
853
|
+
if (!routeLastmods) return void 0;
|
|
854
|
+
const raw = routeLastmods instanceof Map ? routeLastmods.get(routePath) : routeLastmods[routePath];
|
|
855
|
+
return validW3CLastmod(raw);
|
|
856
|
+
};
|
|
819
857
|
const seen = /* @__PURE__ */ new Set();
|
|
820
858
|
const entries = [];
|
|
821
859
|
for (const route of routes) {
|
|
@@ -827,7 +865,8 @@ function buildSitemapXml(params) {
|
|
|
827
865
|
if (seen.has(loc)) continue;
|
|
828
866
|
seen.add(loc);
|
|
829
867
|
const perPage = validW3CLastmod(route.lastmod);
|
|
830
|
-
|
|
868
|
+
const lm = perPage ?? derivedLastmod(route.path) ?? validW3CLastmod(siteWideLastmod);
|
|
869
|
+
entries.push({ loc, ...lm ? { lastmod: lm } : {} });
|
|
831
870
|
}
|
|
832
871
|
if (entries.length === 0) return "";
|
|
833
872
|
const urls = entries.map(({ loc, lastmod: lm }) => {
|
|
@@ -845,16 +884,15 @@ ${urls}
|
|
|
845
884
|
}
|
|
846
885
|
function buildRobotsTxt(params) {
|
|
847
886
|
const { siteUrl, preview = false, robots = {}, hasSitemap = true } = params;
|
|
848
|
-
const { disallow = [], allow, extra = [], aiBots = true } = robots;
|
|
887
|
+
const { disallow = [], allow, extra = [], aiBots = true, aiTraining = true } = robots;
|
|
849
888
|
const lines = ["User-agent: *"];
|
|
850
889
|
if (preview) {
|
|
851
890
|
lines.push("Disallow: /");
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
}
|
|
891
|
+
const previewBots = aiBots ? [...AI_BOTS] : aiTraining ? [] : aiTrainingBots();
|
|
892
|
+
for (const bot of previewBots) {
|
|
893
|
+
lines.push("");
|
|
894
|
+
lines.push(`User-agent: ${bot}`);
|
|
895
|
+
lines.push("Disallow: /");
|
|
858
896
|
}
|
|
859
897
|
if (extra.length > 0) lines.push(...extra);
|
|
860
898
|
return lines.join("\n") + "\n";
|
|
@@ -862,12 +900,19 @@ function buildRobotsTxt(params) {
|
|
|
862
900
|
const allowLines = allow ?? ["/"];
|
|
863
901
|
for (const a of allowLines) lines.push(`Allow: ${a}`);
|
|
864
902
|
for (const d of disallow) lines.push(`Disallow: ${d}`);
|
|
865
|
-
|
|
866
|
-
|
|
903
|
+
const tiers = [...ALWAYS_ALLOWED_TIERS, ...TRAINING_TIERS];
|
|
904
|
+
for (const tier of tiers) {
|
|
905
|
+
const optedOut = !aiTraining && TRAINING_TIERS.includes(tier);
|
|
906
|
+
if (!aiBots && !optedOut) continue;
|
|
907
|
+
for (const bot of AI_BOT_TIERS[tier]) {
|
|
867
908
|
lines.push("");
|
|
868
909
|
lines.push(`User-agent: ${bot}`);
|
|
869
|
-
|
|
870
|
-
|
|
910
|
+
if (optedOut) {
|
|
911
|
+
lines.push("Disallow: /");
|
|
912
|
+
} else {
|
|
913
|
+
for (const a of allowLines) lines.push(`Allow: ${a}`);
|
|
914
|
+
for (const d of disallow) lines.push(`Disallow: ${d}`);
|
|
915
|
+
}
|
|
871
916
|
}
|
|
872
917
|
}
|
|
873
918
|
if (hasSitemap && siteUrl) {
|
|
@@ -884,6 +929,68 @@ function isHandAuthoredRobotsAcceptable(text) {
|
|
|
884
929
|
if (/^\s*</.test(text)) return false;
|
|
885
930
|
return /^[ \t]*User-agent:[ \t]*\*[ \t]*$/im.test(text);
|
|
886
931
|
}
|
|
932
|
+
function robotsUserAgents(text) {
|
|
933
|
+
const out = /* @__PURE__ */ new Set();
|
|
934
|
+
for (const raw of text.split(/\r?\n/)) {
|
|
935
|
+
const m = raw.replace(/#.*$/, "").trim().match(/^user-agent\s*:\s*(.+)$/i);
|
|
936
|
+
if (m) out.add(m[1].trim().toLowerCase());
|
|
937
|
+
}
|
|
938
|
+
return out;
|
|
939
|
+
}
|
|
940
|
+
function findAiTrainingRobotsConflicts(text) {
|
|
941
|
+
const groups = [];
|
|
942
|
+
let cur = null;
|
|
943
|
+
for (const raw of text.split(/\r?\n/)) {
|
|
944
|
+
const line = raw.replace(/#.*$/, "").trim();
|
|
945
|
+
const m = line.match(/^([A-Za-z-]+)\s*:\s*(.*)$/);
|
|
946
|
+
if (!m) continue;
|
|
947
|
+
const key = m[1].toLowerCase();
|
|
948
|
+
if (key === "user-agent") {
|
|
949
|
+
if (!cur || cur.rules.length > 0) {
|
|
950
|
+
cur = { agents: [], rules: [] };
|
|
951
|
+
groups.push(cur);
|
|
952
|
+
}
|
|
953
|
+
cur.agents.push(m[2].trim().toLowerCase());
|
|
954
|
+
} else if (key === "allow" || key === "disallow") {
|
|
955
|
+
if (cur) cur.rules.push(`${key === "allow" ? "Allow" : "Disallow"}: ${m[2].trim()}`);
|
|
956
|
+
}
|
|
957
|
+
}
|
|
958
|
+
const out = [];
|
|
959
|
+
for (const bot of aiTrainingBots()) {
|
|
960
|
+
const mine = groups.filter((g) => g.agents.includes(bot.toLowerCase()));
|
|
961
|
+
if (mine.length === 0) continue;
|
|
962
|
+
const rules = mine.flatMap((g) => g.rules);
|
|
963
|
+
const ok = rules.length > 0 && rules.every((r) => r === "Disallow: /");
|
|
964
|
+
if (!ok) out.push({ bot, rules });
|
|
965
|
+
}
|
|
966
|
+
return out;
|
|
967
|
+
}
|
|
968
|
+
var RobotsAiTrainingConflictError = class extends Error {
|
|
969
|
+
constructor(file, conflicts) {
|
|
970
|
+
super(
|
|
971
|
+
`[dcs-seo] robots.aiTraining is false, but the hand-authored robots.txt at ${file} still lets ` + conflicts.map((c) => `${c.bot} (${c.rules.length ? c.rules.join("; ") : "a group with no rules"})`).join(", ") + ". Change each of those groups to exactly `Disallow: /` (or delete the group and the factory appends one), or set robots.aiTraining back to true in .dcs/seo.yaml. The build stops rather than keep allowing training crawlers."
|
|
972
|
+
);
|
|
973
|
+
this.file = file;
|
|
974
|
+
this.conflicts = conflicts;
|
|
975
|
+
this.name = "RobotsAiTrainingConflictError";
|
|
976
|
+
}
|
|
977
|
+
file;
|
|
978
|
+
conflicts;
|
|
979
|
+
};
|
|
980
|
+
var AI_TRAINING_OPT_OUT_MARKER = "# AI training opt-out (.dcs/seo.yaml robots.aiTraining: false), appended by @duffcloudservices/cms";
|
|
981
|
+
function appendAiTrainingOptOut(text) {
|
|
982
|
+
const named = robotsUserAgents(text);
|
|
983
|
+
const added = [];
|
|
984
|
+
const skipped = [];
|
|
985
|
+
for (const bot of aiTrainingBots()) (named.has(bot.toLowerCase()) ? skipped : added).push(bot);
|
|
986
|
+
if (added.length === 0) return { text, added, skipped };
|
|
987
|
+
const eol = text.includes("\r\n") ? "\r\n" : "\n";
|
|
988
|
+
let out = text;
|
|
989
|
+
if (out.length > 0 && !out.endsWith("\n")) out += eol;
|
|
990
|
+
out += eol + AI_TRAINING_OPT_OUT_MARKER + eol;
|
|
991
|
+
out += added.map((bot) => `User-agent: ${bot}${eol}Disallow: /`).join(eol + eol) + eol;
|
|
992
|
+
return { text: out, added, skipped };
|
|
993
|
+
}
|
|
887
994
|
function buildLlmsTxt(params) {
|
|
888
995
|
const { routes, siteUrl, seoConfig, exclude = [], noindex = [], excludedGlobs = [] } = params;
|
|
889
996
|
const excludeSet = new Set(exclude);
|
|
@@ -2157,20 +2264,23 @@ function buildVitePressSeoHead(pageData, options) {
|
|
|
2157
2264
|
for (const t of generateTwitterMeta(resolved.twitter, global, templated, description)) {
|
|
2158
2265
|
head.push(["meta", { name: t.name, content: t.content }]);
|
|
2159
2266
|
}
|
|
2267
|
+
let ruleObjects = collectPageTypeRuleObjects(pageTypeRules, ctx);
|
|
2160
2268
|
let globalSchemas = resolved.schemas;
|
|
2161
2269
|
if (emitGraph) {
|
|
2162
2270
|
const reviews = resolveReviews?.(ctx);
|
|
2163
2271
|
const license = resolveLicense?.(ctx);
|
|
2164
|
-
const
|
|
2165
|
-
if (
|
|
2166
|
-
|
|
2272
|
+
const rawGraph = buildGlobalGraph(global, { reviews, license });
|
|
2273
|
+
if (rawGraph.length > 0) {
|
|
2274
|
+
const reconciled = dedupeGraphAgainstRules(rawGraph, ruleObjects);
|
|
2275
|
+
ruleObjects = reconciled.rules;
|
|
2276
|
+
for (const obj of reconciled.graph) head.push(ldScript(obj));
|
|
2167
2277
|
globalSchemas = resolved.schemas.filter((s) => !graphAbsorbs(s, global));
|
|
2168
2278
|
}
|
|
2169
2279
|
}
|
|
2170
2280
|
for (const obj of generateJsonLd(globalSchemas, global)) {
|
|
2171
2281
|
head.push(ldScript(obj));
|
|
2172
2282
|
}
|
|
2173
|
-
if (emitBreadcrumbs) {
|
|
2283
|
+
if (emitBreadcrumbs && !ruleObjects.some(hasBreadcrumbList)) {
|
|
2174
2284
|
const titles = breadcrumbTitles?.(ctx) ?? {};
|
|
2175
2285
|
const trail = breadcrumbTrailFromRoute(route, siteUrl, titles);
|
|
2176
2286
|
for (const obj of buildBreadcrumbList(trail)) head.push(ldScript(obj));
|
|
@@ -2190,6 +2300,18 @@ function buildVitePressSeoHead(pageData, options) {
|
|
|
2190
2300
|
const faq = Array.isArray(fm.faq) ? fm.faq : void 0;
|
|
2191
2301
|
for (const obj of buildFaqPage(faq)) head.push(ldScript(obj));
|
|
2192
2302
|
}
|
|
2303
|
+
for (const obj of ruleObjects) head.push(ldScript(obj));
|
|
2304
|
+
return {
|
|
2305
|
+
// Hand back the RAW title for `pageData.title`; VitePress applies its own
|
|
2306
|
+
// `titleTemplate` to produce the templated <title> element.
|
|
2307
|
+
title: rawTitle,
|
|
2308
|
+
head,
|
|
2309
|
+
description: description || void 0,
|
|
2310
|
+
setPageTitle: overrides.setPageTitle ?? false
|
|
2311
|
+
};
|
|
2312
|
+
}
|
|
2313
|
+
function collectPageTypeRuleObjects(pageTypeRules, ctx) {
|
|
2314
|
+
const out = [];
|
|
2193
2315
|
for (const rule of pageTypeRules) {
|
|
2194
2316
|
let matched = false;
|
|
2195
2317
|
try {
|
|
@@ -2207,17 +2329,60 @@ function buildVitePressSeoHead(pageData, options) {
|
|
|
2207
2329
|
continue;
|
|
2208
2330
|
}
|
|
2209
2331
|
for (const obj of objects) {
|
|
2210
|
-
if (obj)
|
|
2332
|
+
if (obj) out.push(obj);
|
|
2211
2333
|
}
|
|
2212
2334
|
}
|
|
2213
|
-
return
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2335
|
+
return out;
|
|
2336
|
+
}
|
|
2337
|
+
function ruleNodes(ruleObjects) {
|
|
2338
|
+
const out = [];
|
|
2339
|
+
for (const obj of ruleObjects) {
|
|
2340
|
+
out.push(obj);
|
|
2341
|
+
const g = obj["@graph"];
|
|
2342
|
+
if (Array.isArray(g)) {
|
|
2343
|
+
for (const n of g) if (n && typeof n === "object") out.push(n);
|
|
2344
|
+
}
|
|
2345
|
+
}
|
|
2346
|
+
return out;
|
|
2347
|
+
}
|
|
2348
|
+
function dedupeGraphAgainstRules(graphObjects, ruleObjects) {
|
|
2349
|
+
const rules = ruleObjects.map((o) => structuredClone(o));
|
|
2350
|
+
const byId = /* @__PURE__ */ new Map();
|
|
2351
|
+
for (const n of ruleNodes(rules)) {
|
|
2352
|
+
const id = n["@id"];
|
|
2353
|
+
if (typeof id === "string" && !byId.has(id)) byId.set(id, n);
|
|
2354
|
+
}
|
|
2355
|
+
if (byId.size === 0) return { graph: graphObjects, rules };
|
|
2356
|
+
const graph = [];
|
|
2357
|
+
for (const obj of graphObjects) {
|
|
2358
|
+
const g = obj["@graph"];
|
|
2359
|
+
if (!Array.isArray(g)) {
|
|
2360
|
+
graph.push(obj);
|
|
2361
|
+
continue;
|
|
2362
|
+
}
|
|
2363
|
+
const kept = [];
|
|
2364
|
+
for (const node of g) {
|
|
2365
|
+
const id = typeof node["@id"] === "string" ? node["@id"] : void 0;
|
|
2366
|
+
const ruleNode = id ? byId.get(id) : void 0;
|
|
2367
|
+
if (!ruleNode) {
|
|
2368
|
+
kept.push(node);
|
|
2369
|
+
continue;
|
|
2370
|
+
}
|
|
2371
|
+
for (const [k, v] of Object.entries(node)) {
|
|
2372
|
+
if (k === "@context") continue;
|
|
2373
|
+
if (!(k in ruleNode)) ruleNode[k] = structuredClone(v);
|
|
2374
|
+
}
|
|
2375
|
+
}
|
|
2376
|
+
if (kept.length > 0) graph.push({ ...obj, "@graph": kept });
|
|
2377
|
+
}
|
|
2378
|
+
return { graph, rules };
|
|
2379
|
+
}
|
|
2380
|
+
function hasBreadcrumbList(obj) {
|
|
2381
|
+
const type = obj["@type"];
|
|
2382
|
+
if (type === "BreadcrumbList") return true;
|
|
2383
|
+
if (Array.isArray(type) && type.includes("BreadcrumbList")) return true;
|
|
2384
|
+
const graph = obj["@graph"];
|
|
2385
|
+
return Array.isArray(graph) && graph.some((n) => !!n && typeof n === "object" && hasBreadcrumbList(n));
|
|
2221
2386
|
}
|
|
2222
2387
|
function pageSpecificSeoTitle(slug, seoConfig) {
|
|
2223
2388
|
return seoConfig?.pages?.[slug]?.title || void 0;
|
|
@@ -2254,6 +2419,6 @@ function createSeoTransformPageData(options) {
|
|
|
2254
2419
|
};
|
|
2255
2420
|
}
|
|
2256
2421
|
|
|
2257
|
-
export { AI_BOTS, BodyPrerenderError, CANONICAL_CHARSET_META, CHARSET_BUDGET_BYTES, CHARSET_HEADROOM_WARN_BYTES, CharsetBudgetError, EmittedUrlError, EmittedUrlNotRunError, HeadHonestyError, HeadHonestyNotRunError, REQUIRED_POSTAL_ADDRESS_FIELDS, SEO_HEAD_ROUTE_HAS_NO_META, absolutizeUrl, assertHeadHonesty, assertHeadHonestyExecuted, auditCheckedTotal, auditSameOriginAssets, breadcrumbTrailFromRoute, buildBlogPosting, buildBreadcrumbList, buildFaqPage, buildGlobalGraph, buildHasCredential, buildHeadTags, buildLlmsTxt, buildReviewSchemaParts, buildRobotsTxt, buildSeoHeadRouteMap, buildSitemapXml, buildVitePressSeoHead, checkCharsetBudget, checkRemoteAssets, checkSameOriginAssets, classifyUrl, collectEmittedUrlsFromFiles, collectUrlsFromHtml, collectUrlsFromLlmsTxt, collectUrlsFromSitemap, createSeoTransformPageData, decodeHtmlEntities, dedupeUrls, defaultRelativePathToRoute, deriveSameAs, escapeJsonLd, extractBakedHead, filterRealFaq, filterRealReviews, findBusinessLicense, findCharsetByteOffset, findDuplicateNormalizedPaths, findGlobalSchemasOfType, findHeadHonestyExecutionFaults, findHeadHonestyViolations, findLocalBusinessSchema, findPostalAddressGaps, findReviewItemsForPage, formatCharsetHeadroomWarning, formatDuplicateNormalizedPaths, formatEmittedUrlAudit, formatEmittedUrlReport, formatHeadHonestyExecutionReport, formatHeadHonestyReport, formatPostalAddressGapReport, generateJsonLd, generateOpenGraphMeta, generateTwitterMeta, graphAbsorbs, graphIds, headInputIdentities, hoistCharsetMeta, installSeoHead, isBodyPrerenderEnabled, isHandAuthoredRobotsAcceptable, isLocalBusinessType, isManagedLinkRel, isManagedMetaTag, isRouteEmitted, isRouteIndexable, loadPagesManifest, normalizeHeadText, normalizeSeoHeadPath, parsePagesManifest, prerenderBodies, renderHeadTags, resolveHonestyMode, resolvePageSeo, routeExclusionReason, routeToOutputFile, slugToTitle, snapshotBakedManagedHeadTags, spliceBodyHtml, spliceHeadHtml, stripManagedHeadTags, sweepBakedManagedHeadTags };
|
|
2258
|
-
//# sourceMappingURL=chunk-
|
|
2259
|
-
//# sourceMappingURL=chunk-
|
|
2422
|
+
export { AI_BOTS, AI_BOT_TIERS, AI_TRAINING_OPT_OUT_MARKER, BodyPrerenderError, CANONICAL_CHARSET_META, CHARSET_BUDGET_BYTES, CHARSET_HEADROOM_WARN_BYTES, CharsetBudgetError, EmittedUrlError, EmittedUrlNotRunError, FIRST_PARTY_REVIEW_PLATFORMS, HeadHonestyError, HeadHonestyNotRunError, REQUIRED_POSTAL_ADDRESS_FIELDS, RobotsAiTrainingConflictError, SEO_HEAD_ROUTE_HAS_NO_META, absolutizeUrl, aiTrainingBots, appendAiTrainingOptOut, assertHeadHonesty, assertHeadHonestyExecuted, auditCheckedTotal, auditSameOriginAssets, breadcrumbTrailFromRoute, buildBlogPosting, buildBreadcrumbList, buildFaqPage, buildGlobalGraph, buildHasCredential, buildHeadTags, buildLlmsTxt, buildReviewSchemaParts, buildRobotsTxt, buildSeoHeadRouteMap, buildSitemapXml, buildVitePressSeoHead, checkCharsetBudget, checkRemoteAssets, checkSameOriginAssets, classifyUrl, collectEmittedUrlsFromFiles, collectUrlsFromHtml, collectUrlsFromLlmsTxt, collectUrlsFromSitemap, createSeoTransformPageData, decodeHtmlEntities, dedupeGraphAgainstRules, dedupeUrls, defaultRelativePathToRoute, deriveSameAs, escapeJsonLd, extractBakedHead, filterRealFaq, filterRealReviews, findAiTrainingRobotsConflicts, findBusinessLicense, findCharsetByteOffset, findDuplicateNormalizedPaths, findGlobalSchemasOfType, findHeadHonestyExecutionFaults, findHeadHonestyViolations, findLocalBusinessSchema, findPostalAddressGaps, findReviewItemsForPage, formatCharsetHeadroomWarning, formatDuplicateNormalizedPaths, formatEmittedUrlAudit, formatEmittedUrlReport, formatHeadHonestyExecutionReport, formatHeadHonestyReport, formatPostalAddressGapReport, generateJsonLd, generateOpenGraphMeta, generateTwitterMeta, graphAbsorbs, graphIds, headInputIdentities, hoistCharsetMeta, installSeoHead, isBodyPrerenderEnabled, isFirstPartyReviewPlatform, isHandAuthoredRobotsAcceptable, isLocalBusinessType, isManagedLinkRel, isManagedMetaTag, isRouteEmitted, isRouteIndexable, loadPagesManifest, normalizeHeadText, normalizeSeoHeadPath, parsePagesManifest, prerenderBodies, renderHeadTags, resolveHonestyMode, resolvePageSeo, routeExclusionReason, routeToOutputFile, slugToTitle, snapshotBakedManagedHeadTags, spliceBodyHtml, spliceHeadHtml, stripManagedHeadTags, sweepBakedManagedHeadTags };
|
|
2423
|
+
//# sourceMappingURL=chunk-CJATCOZJ.js.map
|
|
2424
|
+
//# sourceMappingURL=chunk-CJATCOZJ.js.map
|