@burdenoff/website-sdk 2026.925.2 → 2026.926.1
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/components/contact.js +8 -0
- package/dist/components/contact.js.map +1 -1
- package/dist/components/contact.mjs +8 -0
- package/dist/components/contact.mjs.map +1 -1
- package/dist/components/explore.d.mts +1 -1
- package/dist/components/explore.d.ts +1 -1
- package/dist/components/explore.js +1101 -518
- package/dist/components/explore.js.map +1 -1
- package/dist/components/explore.mjs +1103 -521
- package/dist/components/explore.mjs.map +1 -1
- package/dist/components/newsletter.js +8 -0
- package/dist/components/newsletter.js.map +1 -1
- package/dist/components/newsletter.mjs +8 -0
- package/dist/components/newsletter.mjs.map +1 -1
- package/dist/components/partners.js +11 -2
- package/dist/components/partners.js.map +1 -1
- package/dist/components/partners.mjs +11 -2
- package/dist/components/partners.mjs.map +1 -1
- package/dist/components/resource-links.js +8 -0
- package/dist/components/resource-links.js.map +1 -1
- package/dist/components/resource-links.mjs +8 -0
- package/dist/components/resource-links.mjs.map +1 -1
- package/dist/components/social-links.js +8 -0
- package/dist/components/social-links.js.map +1 -1
- package/dist/components/social-links.mjs +8 -0
- package/dist/components/social-links.mjs.map +1 -1
- package/dist/components/waitlist.js +8 -0
- package/dist/components/waitlist.js.map +1 -1
- package/dist/components/waitlist.mjs +8 -0
- package/dist/components/waitlist.mjs.map +1 -1
- package/dist/content/index.d.mts +1 -1
- package/dist/content/index.d.ts +1 -1
- package/dist/content/index.js +11 -2
- package/dist/content/index.js.map +1 -1
- package/dist/content/index.mjs +11 -2
- package/dist/content/index.mjs.map +1 -1
- package/dist/{explore-C0RFTKAi.d.ts → explore-Cam_ElSJ.d.ts} +70 -12
- package/dist/{explore-DzOf7n4m.d.mts → explore-hTQm-_SF.d.mts} +70 -12
- package/dist/hooks/index.js +51 -13
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/index.mjs +51 -13
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/{index-BMWQNZDX.d.mts → index-gm3pBCJT.d.mts} +8 -2
- package/dist/{index-BqHF-G-S.d.ts → index-ySbOLSD5.d.ts} +8 -2
- package/dist/index.d.mts +32 -11
- package/dist/index.d.ts +32 -11
- package/dist/index.js +901 -267
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +892 -269
- package/dist/index.mjs.map +1 -1
- package/dist/product/index.d.mts +16 -1
- package/dist/product/index.d.ts +16 -1
- package/dist/product/index.js +61 -17
- package/dist/product/index.js.map +1 -1
- package/dist/product/index.mjs +61 -18
- package/dist/product/index.mjs.map +1 -1
- package/dist/store/index.js +11 -2
- package/dist/store/index.js.map +1 -1
- package/dist/store/index.mjs +11 -2
- package/dist/store/index.mjs.map +1 -1
- package/dist/utils/index.d.mts +41 -1
- package/dist/utils/index.d.ts +41 -1
- package/dist/utils/index.js +42 -0
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/index.mjs +35 -1
- package/dist/utils/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/hooks/index.mjs
CHANGED
|
@@ -424,6 +424,30 @@ var EXPLORE_SHARED_CONVERSATION_QUERY = (
|
|
|
424
424
|
`
|
|
425
425
|
);
|
|
426
426
|
|
|
427
|
+
// src/utils/product-slug.ts
|
|
428
|
+
var PRODUCT_SLUG_RENAMES = Object.freeze(
|
|
429
|
+
[Object.freeze({ legacy: "botlit", current: "botmanor" })]
|
|
430
|
+
);
|
|
431
|
+
Object.freeze(
|
|
432
|
+
Object.fromEntries(PRODUCT_SLUG_RENAMES.map((r) => [r.legacy, r.current]))
|
|
433
|
+
);
|
|
434
|
+
var PRODUCT_SLUG_EMIT = Object.freeze({ productSlug: "legacy" });
|
|
435
|
+
function findRename(slug) {
|
|
436
|
+
const wanted = slug.toLowerCase();
|
|
437
|
+
return PRODUCT_SLUG_RENAMES.find(
|
|
438
|
+
(r) => r.legacy === wanted || r.current === wanted
|
|
439
|
+
);
|
|
440
|
+
}
|
|
441
|
+
function normalizeProductSlug(slug) {
|
|
442
|
+
return findRename(slug)?.current ?? slug;
|
|
443
|
+
}
|
|
444
|
+
function legacyProductSlug(slug) {
|
|
445
|
+
return findRename(slug)?.legacy ?? slug;
|
|
446
|
+
}
|
|
447
|
+
function emitProductSlug(slug) {
|
|
448
|
+
return PRODUCT_SLUG_EMIT.productSlug === "current" ? normalizeProductSlug(slug) : legacyProductSlug(slug);
|
|
449
|
+
}
|
|
450
|
+
|
|
427
451
|
// src/data/products.ts
|
|
428
452
|
var ECOSYSTEM_PRODUCTS = [
|
|
429
453
|
{
|
|
@@ -446,7 +470,12 @@ var ECOSYSTEM_PRODUCTS = [
|
|
|
446
470
|
},
|
|
447
471
|
// BotManor ships on www.botmanor.com (the apex redirects there; the old botlit.ai domain
|
|
448
472
|
// still serves the same site but is no longer the name we link to).
|
|
449
|
-
|
|
473
|
+
// The slug follows the botlit → botmanor rename switch (utils/product-slug.ts).
|
|
474
|
+
{
|
|
475
|
+
slug: emitProductSlug("botmanor"),
|
|
476
|
+
name: "BotManor",
|
|
477
|
+
websiteUrl: "https://www.botmanor.com"
|
|
478
|
+
},
|
|
450
479
|
{
|
|
451
480
|
slug: "bigconsole",
|
|
452
481
|
name: "BigConsole",
|
|
@@ -2070,7 +2099,7 @@ function isHighSurrogate(code) {
|
|
|
2070
2099
|
}
|
|
2071
2100
|
function safeInlineEnd(line) {
|
|
2072
2101
|
let codeSpan = null;
|
|
2073
|
-
|
|
2102
|
+
const links = [];
|
|
2074
2103
|
const emphasis = [];
|
|
2075
2104
|
let at = 0;
|
|
2076
2105
|
while (at < line.length) {
|
|
@@ -2079,6 +2108,13 @@ function safeInlineEnd(line) {
|
|
|
2079
2108
|
at += 2;
|
|
2080
2109
|
continue;
|
|
2081
2110
|
}
|
|
2111
|
+
const innermost = links[links.length - 1];
|
|
2112
|
+
if (innermost !== void 0 && innermost.kind !== "label") {
|
|
2113
|
+
if (char === "(") links.push({ kind: "paren", start: innermost.start });
|
|
2114
|
+
else if (char === ")") links.pop();
|
|
2115
|
+
at += 1;
|
|
2116
|
+
continue;
|
|
2117
|
+
}
|
|
2082
2118
|
if (char === "`") {
|
|
2083
2119
|
let run = 1;
|
|
2084
2120
|
while (line[at + run] === "`") run += 1;
|
|
@@ -2091,17 +2127,17 @@ function safeInlineEnd(line) {
|
|
|
2091
2127
|
continue;
|
|
2092
2128
|
}
|
|
2093
2129
|
if (char === "[") {
|
|
2094
|
-
|
|
2130
|
+
links.push({ kind: "label", start: line[at - 1] === "!" ? at - 1 : at });
|
|
2095
2131
|
at += 1;
|
|
2096
2132
|
continue;
|
|
2097
2133
|
}
|
|
2098
|
-
if (char === "]") {
|
|
2099
|
-
|
|
2100
|
-
at
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2134
|
+
if (char === "]" && innermost !== void 0) {
|
|
2135
|
+
links.pop();
|
|
2136
|
+
if (line[at + 1] === "(") {
|
|
2137
|
+
links.push({ kind: "destination", start: innermost.start });
|
|
2138
|
+
at += 2;
|
|
2139
|
+
continue;
|
|
2140
|
+
}
|
|
2105
2141
|
at += 1;
|
|
2106
2142
|
continue;
|
|
2107
2143
|
}
|
|
@@ -2128,9 +2164,11 @@ function safeInlineEnd(line) {
|
|
|
2128
2164
|
}
|
|
2129
2165
|
at += 1;
|
|
2130
2166
|
}
|
|
2131
|
-
const open = [
|
|
2132
|
-
|
|
2133
|
-
|
|
2167
|
+
const open = [
|
|
2168
|
+
codeSpan,
|
|
2169
|
+
links[0]?.start ?? null,
|
|
2170
|
+
emphasis[0]?.start ?? null
|
|
2171
|
+
].filter((value) => value !== null);
|
|
2134
2172
|
return open.length === 0 ? line.length : Math.min(...open);
|
|
2135
2173
|
}
|
|
2136
2174
|
function revealBoundary(text, limit) {
|