@burdenoff/website-sdk 2026.1104.2 → 2026.1104.4
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/README.md +45 -4
- package/dist/avatar-live-view/index.js +124 -46
- package/dist/avatar-live-view/index.js.map +1 -1
- package/dist/avatar-live-view/index.mjs +123 -45
- package/dist/avatar-live-view/index.mjs.map +1 -1
- package/dist/{chunk-5JQGE3XI.mjs → chunk-7HE33NBS.mjs} +4 -111
- package/dist/chunk-7HE33NBS.mjs.map +1 -0
- package/dist/chunk-JZS6FQT6.mjs +127 -0
- package/dist/chunk-JZS6FQT6.mjs.map +1 -0
- package/dist/{chunk-22OT6E26.js → chunk-MBVXDFVC.js} +18 -127
- package/dist/chunk-MBVXDFVC.js.map +1 -0
- package/dist/chunk-N7E6Z2GF.js +132 -0
- package/dist/chunk-N7E6Z2GF.js.map +1 -0
- package/dist/components/explore.d.mts +1 -1
- package/dist/components/explore.d.ts +1 -1
- package/dist/components/explore.js +20 -20
- package/dist/components/explore.mjs +2 -2
- package/dist/{explore-BV4dRwoC.d.ts → explore-Dfru4j4m.d.ts} +45 -31
- package/dist/{explore-BgEeGPvY.d.mts → explore-ei8uoko9.d.mts} +45 -31
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +61 -61
- package/dist/index.mjs +4 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-22OT6E26.js.map +0 -1
- package/dist/chunk-5JQGE3XI.mjs.map +0 -1
- package/dist/chunk-O4GS3XPZ.js +0 -10
- package/dist/chunk-O4GS3XPZ.js.map +0 -1
- package/dist/chunk-TT3MHN42.mjs +0 -8
- package/dist/chunk-TT3MHN42.mjs.map +0 -1
package/dist/index.js
CHANGED
|
@@ -16,8 +16,8 @@ var chunkAA33WDYS_js = require('./chunk-AA33WDYS.js');
|
|
|
16
16
|
var chunk45GCA4GG_js = require('./chunk-45GCA4GG.js');
|
|
17
17
|
var chunkW6P3YETJ_js = require('./chunk-W6P3YETJ.js');
|
|
18
18
|
var chunkT7JIPZAC_js = require('./chunk-T7JIPZAC.js');
|
|
19
|
-
var
|
|
20
|
-
var
|
|
19
|
+
var chunkMBVXDFVC_js = require('./chunk-MBVXDFVC.js');
|
|
20
|
+
var chunkN7E6Z2GF_js = require('./chunk-N7E6Z2GF.js');
|
|
21
21
|
var chunkP5GMVPR6_js = require('./chunk-P5GMVPR6.js');
|
|
22
22
|
var chunkPHXAGQNB_js = require('./chunk-PHXAGQNB.js');
|
|
23
23
|
var chunk3LFFY7AZ_js = require('./chunk-3LFFY7AZ.js');
|
|
@@ -2320,7 +2320,7 @@ var CHROME = {
|
|
|
2320
2320
|
};
|
|
2321
2321
|
function answerStrings(locale) {
|
|
2322
2322
|
const chrome = CHROME[locale] ?? EN;
|
|
2323
|
-
const explore =
|
|
2323
|
+
const explore = chunkMBVXDFVC_js.exploreStrings(locale);
|
|
2324
2324
|
return {
|
|
2325
2325
|
...chrome,
|
|
2326
2326
|
answerTable: explore.answerTable,
|
|
@@ -2422,10 +2422,10 @@ function clampText2(text, limit) {
|
|
|
2422
2422
|
return `${(lastSpace > 0 ? cut.slice(0, lastSpace) : cut).replace(/[\s,;:—–-]+$/, "")}\u2026`;
|
|
2423
2423
|
}
|
|
2424
2424
|
function questionCount(T, count) {
|
|
2425
|
-
return count === 1 ? T.questionCountOne :
|
|
2425
|
+
return count === 1 ? T.questionCountOne : chunkN7E6Z2GF_js.fill(T.questionCountMany, { count: String(count) });
|
|
2426
2426
|
}
|
|
2427
2427
|
function sourceCount(T, count) {
|
|
2428
|
-
return count === 1 ? T.sourceCountOne :
|
|
2428
|
+
return count === 1 ? T.sourceCountOne : chunkN7E6Z2GF_js.fill(T.sourceCountMany, { count: String(count) });
|
|
2429
2429
|
}
|
|
2430
2430
|
function slugifyAnchor2(value) {
|
|
2431
2431
|
return value.toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-+|-+$/g, "");
|
|
@@ -2509,8 +2509,8 @@ var ECOSYSTEM_SITES = chunkP5GMVPR6_js.ECOSYSTEM_PRODUCTS.map((product) => ({
|
|
|
2509
2509
|
slug: product.slug,
|
|
2510
2510
|
website: product.websiteUrl
|
|
2511
2511
|
}));
|
|
2512
|
-
var ECOSYSTEM_PRODUCT_SLUGS =
|
|
2513
|
-
var ECOSYSTEM_ORIGINS =
|
|
2512
|
+
var ECOSYSTEM_PRODUCT_SLUGS = chunkMBVXDFVC_js.productSlugsByOrigin(ECOSYSTEM_SITES);
|
|
2513
|
+
var ECOSYSTEM_ORIGINS = chunkMBVXDFVC_js.inlineImageOrigins(ECOSYSTEM_SITES);
|
|
2514
2514
|
function DefaultAnswerLink({
|
|
2515
2515
|
href,
|
|
2516
2516
|
className,
|
|
@@ -2604,9 +2604,9 @@ function AnswersPage({
|
|
|
2604
2604
|
const Link = linkComponent ?? DefaultAnswerLink;
|
|
2605
2605
|
const base = normaliseSiteUrl2(siteUrl);
|
|
2606
2606
|
const searchId = react.useId();
|
|
2607
|
-
const activeLocale = react.useMemo(() =>
|
|
2607
|
+
const activeLocale = react.useMemo(() => chunkMBVXDFVC_js.resolveExploreLocale(locale), [locale]);
|
|
2608
2608
|
const T = react.useMemo(() => answerStrings(activeLocale), [activeLocale]);
|
|
2609
|
-
const rtl =
|
|
2609
|
+
const rtl = chunkMBVXDFVC_js.isRtlLocale(activeLocale);
|
|
2610
2610
|
const ordered = react.useMemo(() => sortByOrder2(answers), [answers]);
|
|
2611
2611
|
const groups = react.useMemo(
|
|
2612
2612
|
() => groupByTopic(ordered, topics),
|
|
@@ -2647,12 +2647,12 @@ function AnswersPage({
|
|
|
2647
2647
|
setQuery("");
|
|
2648
2648
|
setActiveTopic(null);
|
|
2649
2649
|
}, []);
|
|
2650
|
-
const heading = title ??
|
|
2650
|
+
const heading = title ?? chunkN7E6Z2GF_js.fill(T.indexHeading, { product: productName });
|
|
2651
2651
|
const metaDescription = description ?? clampText2(
|
|
2652
|
-
|
|
2652
|
+
chunkN7E6Z2GF_js.fill(T.seoIndexDescription, { product: productName }),
|
|
2653
2653
|
META_DESCRIPTION_LIMIT2
|
|
2654
2654
|
);
|
|
2655
|
-
const lead = description ??
|
|
2655
|
+
const lead = description ?? chunkN7E6Z2GF_js.fill(T.indexLead, { product: productName });
|
|
2656
2656
|
const canonical = `${base}${ANSWERS_PATH}`;
|
|
2657
2657
|
const structuredData = react.useMemo(
|
|
2658
2658
|
() => [
|
|
@@ -2710,7 +2710,7 @@ function AnswersPage({
|
|
|
2710
2710
|
description: metaDescription,
|
|
2711
2711
|
productName,
|
|
2712
2712
|
keywords: [
|
|
2713
|
-
|
|
2713
|
+
chunkN7E6Z2GF_js.fill(T.indexHeading, { product: productName }),
|
|
2714
2714
|
...groups.map((group) => group.name)
|
|
2715
2715
|
].join(", "),
|
|
2716
2716
|
url: canonical,
|
|
@@ -2796,7 +2796,7 @@ function AnswersPage({
|
|
|
2796
2796
|
{
|
|
2797
2797
|
"aria-live": "polite",
|
|
2798
2798
|
className: filtering ? "text-sm text-muted-foreground" : "sr-only",
|
|
2799
|
-
children:
|
|
2799
|
+
children: chunkN7E6Z2GF_js.fill(T.showingCount, {
|
|
2800
2800
|
shown: String(visibleTotal),
|
|
2801
2801
|
total: String(ordered.length)
|
|
2802
2802
|
})
|
|
@@ -2877,7 +2877,7 @@ function AnswersPage({
|
|
|
2877
2877
|
}
|
|
2878
2878
|
),
|
|
2879
2879
|
/* @__PURE__ */ jsxRuntime.jsx("h2", { className: "mt-4 text-lg font-semibold text-foreground", children: T.noneYetTitle }),
|
|
2880
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-sm text-muted-foreground", children:
|
|
2880
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-sm text-muted-foreground", children: chunkN7E6Z2GF_js.fill(T.noneYetBody, { product: productName }) })
|
|
2881
2881
|
]
|
|
2882
2882
|
}
|
|
2883
2883
|
)
|
|
@@ -2914,7 +2914,7 @@ function ProvenanceNote({
|
|
|
2914
2914
|
/* @__PURE__ */ jsxRuntime.jsxs("p", { children: [
|
|
2915
2915
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-semibold", children: T.aboutTitle }),
|
|
2916
2916
|
" \u2014 ",
|
|
2917
|
-
|
|
2917
|
+
chunkN7E6Z2GF_js.fill(T.aboutBody, { date })
|
|
2918
2918
|
] })
|
|
2919
2919
|
]
|
|
2920
2920
|
}
|
|
@@ -2970,9 +2970,9 @@ function AnswerDetail({
|
|
|
2970
2970
|
const Link = linkComponent ?? DefaultAnswerLink;
|
|
2971
2971
|
const base = normaliseSiteUrl2(siteUrl);
|
|
2972
2972
|
const headingId = react.useId();
|
|
2973
|
-
const activeLocale = react.useMemo(() =>
|
|
2973
|
+
const activeLocale = react.useMemo(() => chunkMBVXDFVC_js.resolveExploreLocale(locale), [locale]);
|
|
2974
2974
|
const T = react.useMemo(() => answerStrings(activeLocale), [activeLocale]);
|
|
2975
|
-
const rtl =
|
|
2975
|
+
const rtl = chunkMBVXDFVC_js.isRtlLocale(activeLocale);
|
|
2976
2976
|
const dateLabel = react.useMemo(
|
|
2977
2977
|
() => formatAnswerDate(answer.answeredAt, activeLocale),
|
|
2978
2978
|
[answer.answeredAt, activeLocale]
|
|
@@ -3002,7 +3002,7 @@ function AnswerDetail({
|
|
|
3002
3002
|
[answer.sources]
|
|
3003
3003
|
);
|
|
3004
3004
|
const answerImageOrigins = react.useMemo(
|
|
3005
|
-
() =>
|
|
3005
|
+
() => chunkMBVXDFVC_js.inlineImageOrigins([
|
|
3006
3006
|
{ website: base },
|
|
3007
3007
|
...sources.map((source) => ({ website: source.url })),
|
|
3008
3008
|
...(imageOrigins ?? []).map((origin) => ({ website: origin }))
|
|
@@ -3015,7 +3015,7 @@ function AnswerDetail({
|
|
|
3015
3015
|
);
|
|
3016
3016
|
const canonical = absoluteUrl2(base, answerPath(answer.slug));
|
|
3017
3017
|
const answerText = react.useMemo(
|
|
3018
|
-
() =>
|
|
3018
|
+
() => chunkN7E6Z2GF_js.answerSpeechText(answer.answer),
|
|
3019
3019
|
[answer.answer]
|
|
3020
3020
|
);
|
|
3021
3021
|
const structuredData = react.useMemo(
|
|
@@ -3100,7 +3100,7 @@ function AnswerDetail({
|
|
|
3100
3100
|
}
|
|
3101
3101
|
),
|
|
3102
3102
|
/* @__PURE__ */ jsxRuntime.jsx(chunk3LFFY7AZ_js.ProseStyles, {}),
|
|
3103
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3103
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkMBVXDFVC_js.ExploreAnswerStyles, {}),
|
|
3104
3104
|
/* @__PURE__ */ jsxRuntime.jsx("header", { className: "border-b border-border bg-muted/30", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mx-auto max-w-4xl px-4 pb-10 pt-8 sm:px-6 lg:px-8", children: [
|
|
3105
3105
|
/* @__PURE__ */ jsxRuntime.jsx("nav", { "aria-label": "Breadcrumb", children: /* @__PURE__ */ jsxRuntime.jsxs("ol", { className: "flex flex-wrap items-center gap-1.5 text-sm text-muted-foreground", children: [
|
|
3106
3106
|
/* @__PURE__ */ jsxRuntime.jsxs("li", { className: "inline-flex items-center gap-1.5", children: [
|
|
@@ -3145,7 +3145,7 @@ function AnswerDetail({
|
|
|
3145
3145
|
children: answer.topic
|
|
3146
3146
|
}
|
|
3147
3147
|
),
|
|
3148
|
-
dateLabel ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "inline-flex items-center rounded-full border border-border bg-background px-3 py-1 text-xs font-medium text-muted-foreground", children: /* @__PURE__ */ jsxRuntime.jsx("time", { dateTime: answer.answeredAt, children:
|
|
3148
|
+
dateLabel ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "inline-flex items-center rounded-full border border-border bg-background px-3 py-1 text-xs font-medium text-muted-foreground", children: /* @__PURE__ */ jsxRuntime.jsx("time", { dateTime: answer.answeredAt, children: chunkN7E6Z2GF_js.fill(T.answeredOn, { date: dateLabel }) }) }) : null
|
|
3149
3149
|
] }),
|
|
3150
3150
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3151
3151
|
"h1",
|
|
@@ -3170,7 +3170,7 @@ function AnswerDetail({
|
|
|
3170
3170
|
/* @__PURE__ */ jsxRuntime.jsxs("section", { "aria-labelledby": `${headingId}-answer`, children: [
|
|
3171
3171
|
/* @__PURE__ */ jsxRuntime.jsx("h2", { id: `${headingId}-answer`, className: SECTION_HEADING2, children: T.answerHeading }),
|
|
3172
3172
|
/* @__PURE__ */ jsxRuntime.jsx("div", { "data-answers": "body", ...ENGLISH_TEXT, dir: "ltr", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3173
|
-
|
|
3173
|
+
chunkMBVXDFVC_js.ExploreAnswerBody,
|
|
3174
3174
|
{
|
|
3175
3175
|
strings: T,
|
|
3176
3176
|
imageOrigins: answerImageOrigins,
|
|
@@ -3213,7 +3213,7 @@ function AnswerDetail({
|
|
|
3213
3213
|
"data-answers": "related",
|
|
3214
3214
|
className: "mt-14",
|
|
3215
3215
|
children: [
|
|
3216
|
-
/* @__PURE__ */ jsxRuntime.jsx("h2", { id: `${headingId}-related`, className: SECTION_HEADING2, children: relatedIsCurated ? T.relatedHeading :
|
|
3216
|
+
/* @__PURE__ */ jsxRuntime.jsx("h2", { id: `${headingId}-related`, className: SECTION_HEADING2, children: relatedIsCurated ? T.relatedHeading : chunkN7E6Z2GF_js.fill(T.moreInTopic, { topic: answer.topic }) }),
|
|
3217
3217
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3218
3218
|
"ul",
|
|
3219
3219
|
{
|
|
@@ -3297,7 +3297,7 @@ function AnswerDetail({
|
|
|
3297
3297
|
className: "inline-flex items-center gap-2 rounded text-sm font-medium text-primary hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
3298
3298
|
children: [
|
|
3299
3299
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.ArrowLeft, { "aria-hidden": "true", className: "h-4 w-4" }),
|
|
3300
|
-
|
|
3300
|
+
chunkN7E6Z2GF_js.fill(T.allAnswers, { product: productName })
|
|
3301
3301
|
]
|
|
3302
3302
|
}
|
|
3303
3303
|
),
|
|
@@ -3330,10 +3330,10 @@ var VIEW_LOAD_TIMEOUT_MS = 8e3;
|
|
|
3330
3330
|
var NO_PROMPTS = [];
|
|
3331
3331
|
function suggestedQuestions(catalog, examplePrompts, pinnedSlug) {
|
|
3332
3332
|
if (catalog === void 0) return NO_PROMPTS;
|
|
3333
|
-
return pinnedSlug === null ? catalog.examplePrompts :
|
|
3333
|
+
return pinnedSlug === null ? catalog.examplePrompts : chunkMBVXDFVC_js.productScopedPrompts(
|
|
3334
3334
|
examplePrompts,
|
|
3335
3335
|
catalog.examplePrompts,
|
|
3336
|
-
|
|
3336
|
+
chunkMBVXDFVC_js.anotherProductMatcher(catalog.products, pinnedSlug)
|
|
3337
3337
|
);
|
|
3338
3338
|
}
|
|
3339
3339
|
function loadAvatarLiveView() {
|
|
@@ -3357,9 +3357,9 @@ function ExploreAvatarLive({
|
|
|
3357
3357
|
currentPath,
|
|
3358
3358
|
loadView = loadAvatarLiveView
|
|
3359
3359
|
}) {
|
|
3360
|
-
const T =
|
|
3360
|
+
const T = chunkMBVXDFVC_js.exploreStrings(locale);
|
|
3361
3361
|
const config = chunkJXLSTVBK_js.useWebSDKConfig();
|
|
3362
|
-
const conversation = react.useContext(
|
|
3362
|
+
const conversation = react.useContext(chunkMBVXDFVC_js.ExploreConversationContext);
|
|
3363
3363
|
const catalog = conversation?.catalog;
|
|
3364
3364
|
const prompts = react.useMemo(
|
|
3365
3365
|
() => suggestedQuestions(catalog, examplePrompts, pinnedSlug),
|
|
@@ -3667,20 +3667,20 @@ function ExplorePanel({
|
|
|
3667
3667
|
currentPath,
|
|
3668
3668
|
className
|
|
3669
3669
|
}) {
|
|
3670
|
-
const resolvedLocale =
|
|
3671
|
-
const T = react.useMemo(() =>
|
|
3672
|
-
const rtl =
|
|
3673
|
-
const catalogProducts = react.useContext(
|
|
3674
|
-
const pinnedSlug =
|
|
3670
|
+
const resolvedLocale = chunkMBVXDFVC_js.resolveExploreLocale(locale);
|
|
3671
|
+
const T = react.useMemo(() => chunkMBVXDFVC_js.exploreStrings(resolvedLocale), [resolvedLocale]);
|
|
3672
|
+
const rtl = chunkMBVXDFVC_js.isRtlLocale(resolvedLocale);
|
|
3673
|
+
const catalogProducts = react.useContext(chunkMBVXDFVC_js.ExploreCatalogProductsContext);
|
|
3674
|
+
const pinnedSlug = chunkMBVXDFVC_js.pinnedProductSlug(scope, productSlug);
|
|
3675
3675
|
const pinnedName = react.useMemo(
|
|
3676
|
-
() => pinnedSlug === null ? null :
|
|
3676
|
+
() => pinnedSlug === null ? null : chunkMBVXDFVC_js.productNameFor(
|
|
3677
3677
|
catalogProducts ?? chunkP5GMVPR6_js.ECOSYSTEM_PRODUCTS,
|
|
3678
3678
|
pinnedSlug,
|
|
3679
3679
|
productName
|
|
3680
3680
|
),
|
|
3681
3681
|
[catalogProducts, pinnedSlug, productName]
|
|
3682
3682
|
);
|
|
3683
|
-
const title = pinnedName === null ? T.panelTitle :
|
|
3683
|
+
const title = pinnedName === null ? T.panelTitle : chunkN7E6Z2GF_js.fill(T.panelTitleProduct, { product: pinnedName });
|
|
3684
3684
|
const uid = react.useId();
|
|
3685
3685
|
const titleId = `${uid}-title`;
|
|
3686
3686
|
const chatTabId = `${uid}-chat-tab`;
|
|
@@ -4140,7 +4140,7 @@ function ExplorePanel({
|
|
|
4140
4140
|
view === "avatar" && "invisible"
|
|
4141
4141
|
),
|
|
4142
4142
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4143
|
-
|
|
4143
|
+
chunkMBVXDFVC_js.ExplorePage,
|
|
4144
4144
|
{
|
|
4145
4145
|
presentation: "panel",
|
|
4146
4146
|
active: open && view === "chat",
|
|
@@ -4212,7 +4212,7 @@ function useIsActiveDock() {
|
|
|
4212
4212
|
const listener = () => setActive(activeDock());
|
|
4213
4213
|
dockListeners.add(listener);
|
|
4214
4214
|
mountedDocks.push(id);
|
|
4215
|
-
if (mountedDocks.length > 1 &&
|
|
4215
|
+
if (mountedDocks.length > 1 && chunkMBVXDFVC_js.isDevelopmentBuild()) {
|
|
4216
4216
|
console.error(SITE_ASSISTANT_DOCK_MORE_THAN_ONE);
|
|
4217
4217
|
}
|
|
4218
4218
|
announceActiveDock();
|
|
@@ -4227,10 +4227,10 @@ function useIsActiveDock() {
|
|
|
4227
4227
|
}
|
|
4228
4228
|
var SITE_ASSISTANT_DOCK_NEEDS_PROVIDER = "[WebSDK] SiteAssistantDock must be rendered under an ExploreChatProvider (inside the router, around the routes). Without one the panel cannot share the /explore conversation, and the live avatar cannot run.";
|
|
4229
4229
|
function SiteAssistantDock(props) {
|
|
4230
|
-
const start = react.useContext(
|
|
4230
|
+
const start = react.useContext(chunkMBVXDFVC_js.ExploreConversationStartContext);
|
|
4231
4231
|
const active = useIsActiveDock();
|
|
4232
4232
|
if (start === null) {
|
|
4233
|
-
if (
|
|
4233
|
+
if (chunkMBVXDFVC_js.isDevelopmentBuild())
|
|
4234
4234
|
throw new Error(SITE_ASSISTANT_DOCK_NEEDS_PROVIDER);
|
|
4235
4235
|
return active ? /* @__PURE__ */ jsxRuntime.jsx(DockWithoutProvider, { ...props }) : null;
|
|
4236
4236
|
}
|
|
@@ -4569,63 +4569,63 @@ Object.defineProperty(exports, "detectElectronPlatform", {
|
|
|
4569
4569
|
});
|
|
4570
4570
|
Object.defineProperty(exports, "EXPLORE_LOCALES", {
|
|
4571
4571
|
enumerable: true,
|
|
4572
|
-
get: function () { return
|
|
4572
|
+
get: function () { return chunkMBVXDFVC_js.EXPLORE_LOCALES; }
|
|
4573
4573
|
});
|
|
4574
4574
|
Object.defineProperty(exports, "EXPLORE_PREFILL_MAX_LENGTH", {
|
|
4575
4575
|
enumerable: true,
|
|
4576
|
-
get: function () { return
|
|
4576
|
+
get: function () { return chunkMBVXDFVC_js.EXPLORE_PREFILL_MAX_LENGTH; }
|
|
4577
4577
|
});
|
|
4578
4578
|
Object.defineProperty(exports, "ExploreAnswerBody", {
|
|
4579
4579
|
enumerable: true,
|
|
4580
|
-
get: function () { return
|
|
4580
|
+
get: function () { return chunkMBVXDFVC_js.ExploreAnswerBody; }
|
|
4581
4581
|
});
|
|
4582
4582
|
Object.defineProperty(exports, "ExploreAnswerStyles", {
|
|
4583
4583
|
enumerable: true,
|
|
4584
|
-
get: function () { return
|
|
4584
|
+
get: function () { return chunkMBVXDFVC_js.ExploreAnswerStyles; }
|
|
4585
4585
|
});
|
|
4586
4586
|
Object.defineProperty(exports, "ExploreChatProvider", {
|
|
4587
4587
|
enumerable: true,
|
|
4588
|
-
get: function () { return
|
|
4588
|
+
get: function () { return chunkMBVXDFVC_js.ExploreChatProvider; }
|
|
4589
4589
|
});
|
|
4590
4590
|
Object.defineProperty(exports, "ExplorePage", {
|
|
4591
4591
|
enumerable: true,
|
|
4592
|
-
get: function () { return
|
|
4593
|
-
});
|
|
4594
|
-
Object.defineProperty(exports, "answerPlainText", {
|
|
4595
|
-
enumerable: true,
|
|
4596
|
-
get: function () { return chunk22OT6E26_js.answerPlainText; }
|
|
4597
|
-
});
|
|
4598
|
-
Object.defineProperty(exports, "answerSpeechText", {
|
|
4599
|
-
enumerable: true,
|
|
4600
|
-
get: function () { return chunk22OT6E26_js.answerSpeechText; }
|
|
4592
|
+
get: function () { return chunkMBVXDFVC_js.ExplorePage; }
|
|
4601
4593
|
});
|
|
4602
4594
|
Object.defineProperty(exports, "exploreQuestionHref", {
|
|
4603
4595
|
enumerable: true,
|
|
4604
|
-
get: function () { return
|
|
4596
|
+
get: function () { return chunkMBVXDFVC_js.exploreQuestionHref; }
|
|
4605
4597
|
});
|
|
4606
4598
|
Object.defineProperty(exports, "inlineImageOrigins", {
|
|
4607
4599
|
enumerable: true,
|
|
4608
|
-
get: function () { return
|
|
4600
|
+
get: function () { return chunkMBVXDFVC_js.inlineImageOrigins; }
|
|
4609
4601
|
});
|
|
4610
4602
|
Object.defineProperty(exports, "isInlineImageAllowed", {
|
|
4611
4603
|
enumerable: true,
|
|
4612
|
-
get: function () { return
|
|
4604
|
+
get: function () { return chunkMBVXDFVC_js.isInlineImageAllowed; }
|
|
4613
4605
|
});
|
|
4614
4606
|
Object.defineProperty(exports, "isInlineVideoAllowed", {
|
|
4615
4607
|
enumerable: true,
|
|
4616
|
-
get: function () { return
|
|
4608
|
+
get: function () { return chunkMBVXDFVC_js.isInlineVideoAllowed; }
|
|
4617
4609
|
});
|
|
4618
4610
|
Object.defineProperty(exports, "productSlugsByOrigin", {
|
|
4619
4611
|
enumerable: true,
|
|
4620
|
-
get: function () { return
|
|
4612
|
+
get: function () { return chunkMBVXDFVC_js.productSlugsByOrigin; }
|
|
4621
4613
|
});
|
|
4622
4614
|
Object.defineProperty(exports, "speechLocaleOf", {
|
|
4623
4615
|
enumerable: true,
|
|
4624
|
-
get: function () { return
|
|
4616
|
+
get: function () { return chunkMBVXDFVC_js.speechLocaleOf; }
|
|
4625
4617
|
});
|
|
4626
4618
|
Object.defineProperty(exports, "useExploreConversation", {
|
|
4627
4619
|
enumerable: true,
|
|
4628
|
-
get: function () { return
|
|
4620
|
+
get: function () { return chunkMBVXDFVC_js.useExploreConversation; }
|
|
4621
|
+
});
|
|
4622
|
+
Object.defineProperty(exports, "answerPlainText", {
|
|
4623
|
+
enumerable: true,
|
|
4624
|
+
get: function () { return chunkN7E6Z2GF_js.answerPlainText; }
|
|
4625
|
+
});
|
|
4626
|
+
Object.defineProperty(exports, "answerSpeechText", {
|
|
4627
|
+
enumerable: true,
|
|
4628
|
+
get: function () { return chunkN7E6Z2GF_js.answerSpeechText; }
|
|
4629
4629
|
});
|
|
4630
4630
|
Object.defineProperty(exports, "DEFAULT_EXPLORE_EXAMPLE_PROMPTS", {
|
|
4631
4631
|
enumerable: true,
|
package/dist/index.mjs
CHANGED
|
@@ -15,9 +15,10 @@ export { WebsiteSwitcher } from './chunk-ZOON3S3Y.mjs';
|
|
|
15
15
|
export { LaunchCountdown } from './chunk-KU2PXHGB.mjs';
|
|
16
16
|
export { ProblemsSolvedSection } from './chunk-WPKFFQCR.mjs';
|
|
17
17
|
export { ElectronDownloadLink, detectElectronPlatform } from './chunk-COOELBX7.mjs';
|
|
18
|
-
import { productSlugsByOrigin, inlineImageOrigins, exploreStrings, resolveExploreLocale, isRtlLocale,
|
|
19
|
-
export { EXPLORE_LOCALES, EXPLORE_PREFILL_MAX_LENGTH, ExploreAnswerBody, ExploreAnswerStyles, ExploreChatProvider, ExplorePage,
|
|
20
|
-
import { fill } from './chunk-
|
|
18
|
+
import { productSlugsByOrigin, inlineImageOrigins, exploreStrings, resolveExploreLocale, isRtlLocale, ExploreAnswerStyles, ExploreAnswerBody, ExploreCatalogProductsContext, pinnedProductSlug, productNameFor, ExplorePage, ExploreConversationStartContext, isDevelopmentBuild, ExploreConversationContext, productScopedPrompts, anotherProductMatcher } from './chunk-7HE33NBS.mjs';
|
|
19
|
+
export { EXPLORE_LOCALES, EXPLORE_PREFILL_MAX_LENGTH, ExploreAnswerBody, ExploreAnswerStyles, ExploreChatProvider, ExplorePage, exploreQuestionHref, inlineImageOrigins, isInlineImageAllowed, isInlineVideoAllowed, productSlugsByOrigin, speechLocaleOf, useExploreConversation } from './chunk-7HE33NBS.mjs';
|
|
20
|
+
import { fill, answerSpeechText } from './chunk-JZS6FQT6.mjs';
|
|
21
|
+
export { answerPlainText, answerSpeechText } from './chunk-JZS6FQT6.mjs';
|
|
21
22
|
import { ECOSYSTEM_PRODUCTS } from './chunk-SMD7MEEA.mjs';
|
|
22
23
|
export { DEFAULT_EXPLORE_EXAMPLE_PROMPTS, ECOSYSTEM_PRODUCTS, ESCALATE_EXPLORE_CONVERSATION_MUTATION, EXPLORE_CATALOG_QUERY, EXPLORE_CATALOG_QUERY_WITHOUT_HIGHLIGHTS, EXPLORE_ESCALATION_NOTE_SOFT_MAX, EXPLORE_MESSAGE_QUERY, FALLBACK_EXPLORE_LIMITS, SEND_EXPLORE_MESSAGE_MUTATION, classifyExploreError, looksLikeDeliverableEmail, stopSpeaking, useExploreChat, useProgressiveReveal, useSpeechOutput } from './chunk-SMD7MEEA.mjs';
|
|
23
24
|
export { EXPLORE_RECAPTCHA_ACTION, getRecaptchaV3Token, loadRecaptchaV3 } from './chunk-SKIYDKIS.mjs';
|