@sonordev/site-kit 8.9.0 → 8.10.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/CHANGELOG.md +4 -0
- package/agent-manifest.json +1 -1
- package/dist/AddressAutocomplete-LQS6GQ4R.js +241 -0
- package/dist/{AnalyticsProvider-X7JJN3QL.js → AnalyticsProvider-JWS7BLFY.js} +4 -4
- package/dist/{ArticleViewTracker-7Q6AMCKX.js → ArticleViewTracker-CDPVMUAO.js} +1 -1
- package/dist/{BlocksPopup-U5VIYEBA.js → BlocksPopup-C5PNJ7U6.js} +3 -3
- package/dist/{ChatWidget-EAATOFCT.js → ChatWidget-HEPOE3YC.js} +5 -5
- package/dist/{FileField-YWMSK7RF.js → FileField-6R5LS5NU.js} +1 -1
- package/dist/{FormSpotlight-MAXDW3TK.js → FormSpotlight-2BSE7PD2.js} +5 -4
- package/dist/{FormStage-VAHRVOIZ.js → FormStage-3G46OPPO.js} +5 -4
- package/dist/{ManagedForm-7IZT7ZII.js → ManagedForm-LTXEU25N.js} +7 -7
- package/dist/{ManagedNewsletterForm-VVXZSEAL.js → ManagedNewsletterForm-WE6P5DMV.js} +10 -10
- package/dist/{SignalCore-HAN4O7QG.js → SignalCore-IP7FE6SN.js} +3 -3
- package/dist/{SiteChat-3JLCEL2N.js → SiteChat-3FQYMHCP.js} +1 -1
- package/dist/{SiteDesignReporter-6CCO645E.js → SiteDesignReporter-HGTX4FX2.js} +4 -4
- package/dist/{SitePopups-ZGHQNGGH.js → SitePopups-V7MCNSGE.js} +4 -4
- package/dist/{SitemapSync-5LSYCBKS.js → SitemapSync-OAJ7SIET.js} +2 -2
- package/dist/_client/booking-widget.js +3 -3
- package/dist/_client/reviewed-signal-experiment.js +1 -1
- package/dist/affiliates/index.js +1 -1
- package/dist/analytics/index.js +4 -4
- package/dist/api-X6N6V2H3.js +5 -0
- package/dist/articles/index.js +1 -1
- package/dist/articles/server-ui.js +3 -3
- package/dist/articles/server.js +2 -2
- package/dist/chat/index.js +6 -6
- package/dist/{chunk-AWLPFFPO.js → chunk-3RBOES2C.js} +1 -1
- package/dist/{chunk-CVADNHJ4.js → chunk-3WMNHFZH.js} +9 -0
- package/dist/{chunk-HJD6KXKH.js → chunk-533ZSRJF.js} +1 -1
- package/dist/chunk-6CIO4X6P.js +77 -0
- package/dist/{chunk-S33CUULL.js → chunk-727353NY.js} +11 -7
- package/dist/{chunk-ZRSXCT4O.js → chunk-75N2WALV.js} +1 -1
- package/dist/{chunk-SO6RSRUP.js → chunk-7PWXPN53.js} +1 -1
- package/dist/{chunk-YVEYO3OD.js → chunk-A66TIJWU.js} +1 -1
- package/dist/{chunk-PMXQPO5Q.js → chunk-ACZ5JNSL.js} +2 -2
- package/dist/{chunk-DXE6SXWW.js → chunk-D4R3FQED.js} +1 -1
- package/dist/{chunk-6EDE7BOE.js → chunk-DW5X4BC7.js} +2 -2
- package/dist/{chunk-VPZJ7ZTL.js → chunk-HHEDRZOJ.js} +1 -1
- package/dist/{chunk-QXAJPB6O.js → chunk-HLN7A4GL.js} +1 -1
- package/dist/{chunk-6NLVHTYY.js → chunk-HNVLINPI.js} +1 -1
- package/dist/{chunk-KGIQYVQ2.js → chunk-J4R7MHV2.js} +8 -8
- package/dist/{chunk-UG53ZW7S.js → chunk-MIKVCYGX.js} +2 -2
- package/dist/{chunk-OUD4RTBD.js → chunk-MKU5ZORB.js} +2 -31
- package/dist/{chunk-L3S5WH4C.js → chunk-NBNDH2J6.js} +1 -1
- package/dist/{chunk-S63QY5XW.js → chunk-NH7K252M.js} +5 -3
- package/dist/{chunk-J4LJE4NB.js → chunk-NWEIHCSE.js} +3 -1
- package/dist/{chunk-F3RKFGRW.js → chunk-OCNODBH4.js} +1 -1
- package/dist/{chunk-CJ43K7RA.js → chunk-OEHIXCYS.js} +2 -2
- package/dist/{chunk-T4A5J6SJ.js → chunk-P7S45DD7.js} +1 -1
- package/dist/{chunk-XDH5B3PR.js → chunk-Q2OE32TH.js} +2 -2
- package/dist/{chunk-FAY6MOLL.js → chunk-RMPXSEEU.js} +1 -1
- package/dist/{chunk-ISMHDUBW.js → chunk-RUV6DCKL.js} +1 -1
- package/dist/{chunk-IO6BWRZ5.js → chunk-TLKLHSRJ.js} +1 -1
- package/dist/{chunk-WHFWDK2H.js → chunk-UMF5OILQ.js} +1 -1
- package/dist/{chunk-ADQ3VCKK.js → chunk-XAPSYDVT.js} +1 -1
- package/dist/{chunk-EBEM5BI5.js → chunk-Y7DZ2ND2.js} +3 -3
- package/dist/{chunk-NZHECYLF.js → chunk-YJ6PRJ7Y.js} +2 -2
- package/dist/{chunk-VXCUXHZO.js → chunk-Z4XJOVQX.js} +1 -1
- package/dist/{chunk-MP35JETP.js → chunk-Z62W7Q3T.js} +1 -1
- package/dist/controls-KLG6VQLO.js +14 -0
- package/dist/fleet/index.js +3 -3
- package/dist/forms/AddressAutocomplete.d.ts +20 -0
- package/dist/forms/FormClient.d.ts +2 -1
- package/dist/forms/FormEnhancer.d.ts +2 -1
- package/dist/forms/FormField.d.ts +2 -0
- package/dist/forms/FormSpotlight.d.ts +1 -1
- package/dist/forms/FormStage.d.ts +1 -1
- package/dist/forms/ManagedForm.d.ts +1 -1
- package/dist/forms/ServerForm.d.ts +2 -1
- package/dist/forms/controls.d.ts +5 -0
- package/dist/forms/field-controls.d.ts +4 -2
- package/dist/forms/index.d.ts +1 -1
- package/dist/forms/index.js +10 -10
- package/dist/forms/server.js +4 -4
- package/dist/forms/static.js +2 -2
- package/dist/forms/types.d.ts +9 -0
- package/dist/images/index.js +2 -2
- package/dist/index.js +1 -1
- package/dist/landing/server.js +7 -7
- package/dist/layout/client.js +6 -6
- package/dist/layout/index.js +7 -7
- package/dist/llms/index.js +4 -4
- package/dist/maps/index.js +8 -78
- package/dist/maps/places-library.d.ts +34 -0
- package/dist/mcp/sonor.js +7 -7
- package/dist/places-library-RU2YNKFK.js +54 -0
- package/dist/resonance/index.js +1 -1
- package/dist/revalidate/index.js +2 -2
- package/dist/runtime/index.js +1 -1
- package/dist/{runtime-core-WT7KKLWQ.js → runtime-core-EU2RZMOL.js} +1 -1
- package/dist/seo/client.js +2 -2
- package/dist/seo/index.js +2 -2
- package/dist/seo/llms.js +4 -4
- package/dist/seo/register-sitemap-cli.js +1 -1
- package/dist/seo/sitemap.js +2 -2
- package/dist/server/index.js +2 -2
- package/dist/shared/version.d.ts +1 -1
- package/dist/signal/index.js +2 -2
- package/dist/sitemap/index.js +2 -2
- package/dist/{sonor-fetch-runtime-3PFGUXMF.js → sonor-fetch-runtime-SLPBNZY4.js} +2 -2
- package/dist/sync/index.js +3 -3
- package/dist/website/images.js +2 -2
- package/dist/website/index.js +4 -4
- package/dist/website/landing/server.js +7 -7
- package/dist/website/popups.js +4 -4
- package/dist/{writeLLMsTxt-JUACXQKP.js → writeLLMsTxt-2CBYGKZO.js} +1 -1
- package/package.json +1 -1
- package/src/forms/README.md +47 -0
- /package/dist/{chunk-QLJ2SC3T.js → chunk-ORSQKTMN.js} +0 -0
|
@@ -13,7 +13,7 @@ import { stripHtmlTags } from '../chunk-IBHBEUZV.js';
|
|
|
13
13
|
import { createPublicationRoutes, articleCategorySlug } from '../chunk-4K735O3J.js';
|
|
14
14
|
export { articleCategorySlug, createPublicationRoutes, resolveArticleUrl, resolvePublicationUrl } from '../chunk-4K735O3J.js';
|
|
15
15
|
import '../chunk-34ZYJTQR.js';
|
|
16
|
-
import '../chunk-
|
|
16
|
+
import '../chunk-NBNDH2J6.js';
|
|
17
17
|
import '../chunk-UAYAJPEP.js';
|
|
18
18
|
import '../chunk-VWWITFWM.js';
|
|
19
19
|
import '../chunk-4KZ6W3ZH.js';
|
|
@@ -23,7 +23,7 @@ import '../chunk-7VMA3KCN.js';
|
|
|
23
23
|
import '../chunk-MH2DSGC6.js';
|
|
24
24
|
import '../chunk-YVKRYQRG.js';
|
|
25
25
|
import '../chunk-FESKKJAS.js';
|
|
26
|
-
import '../chunk-
|
|
26
|
+
import '../chunk-D4R3FQED.js';
|
|
27
27
|
import '../chunk-W7OPEMGJ.js';
|
|
28
28
|
import '../chunk-A4CC4ZG3.js';
|
|
29
29
|
import '../chunk-PKBMQBKP.js';
|
|
@@ -118,7 +118,7 @@ async function Article({
|
|
|
118
118
|
...item,
|
|
119
119
|
answer: addExternalLinkTargets(item.answer || "", siteUrlResolved)
|
|
120
120
|
})) ?? faqRaw;
|
|
121
|
-
const { ArticleViewTracker } = await import('../ArticleViewTracker-
|
|
121
|
+
const { ArticleViewTracker } = await import('../ArticleViewTracker-CDPVMUAO.js');
|
|
122
122
|
if (children) {
|
|
123
123
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
124
124
|
/* @__PURE__ */ jsx(ArticleViewTracker, { slug: post.slug, site }),
|
package/dist/articles/server.js
CHANGED
|
@@ -6,7 +6,7 @@ import '../chunk-H72ZFO3F.js';
|
|
|
6
6
|
import '../chunk-IBHBEUZV.js';
|
|
7
7
|
export { articleCategorySlug, createPublicationRoutes, resolveArticleUrl, resolvePublicationUrl } from '../chunk-4K735O3J.js';
|
|
8
8
|
import '../chunk-34ZYJTQR.js';
|
|
9
|
-
import '../chunk-
|
|
9
|
+
import '../chunk-NBNDH2J6.js';
|
|
10
10
|
import '../chunk-UAYAJPEP.js';
|
|
11
11
|
import '../chunk-VWWITFWM.js';
|
|
12
12
|
import '../chunk-4KZ6W3ZH.js';
|
|
@@ -16,7 +16,7 @@ import '../chunk-7VMA3KCN.js';
|
|
|
16
16
|
import '../chunk-MH2DSGC6.js';
|
|
17
17
|
import '../chunk-YVKRYQRG.js';
|
|
18
18
|
import '../chunk-FESKKJAS.js';
|
|
19
|
-
import '../chunk-
|
|
19
|
+
import '../chunk-D4R3FQED.js';
|
|
20
20
|
import '../chunk-W7OPEMGJ.js';
|
|
21
21
|
import '../chunk-A4CC4ZG3.js';
|
|
22
22
|
import '../chunk-PKBMQBKP.js';
|
package/dist/chat/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
export { ChatWidget, DEFAULT_LAUNCHER_OFFSET_BOTTOM, EchoChat, chatLauncherStyles, isChatEnabled } from '../chunk-
|
|
3
|
-
export { SiteChat } from '../chunk-
|
|
2
|
+
export { ChatWidget, DEFAULT_LAUNCHER_OFFSET_BOTTOM, EchoChat, chatLauncherStyles, isChatEnabled } from '../chunk-OEHIXCYS.js';
|
|
3
|
+
export { SiteChat } from '../chunk-UMF5OILQ.js';
|
|
4
4
|
import '../chunk-6T6CQVNL.js';
|
|
5
5
|
import '../chunk-JE4A5S4F.js';
|
|
6
6
|
import '../chunk-27FISYK4.js';
|
|
7
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-MIKVCYGX.js';
|
|
8
8
|
import '../chunk-Q6E4OPGG.js';
|
|
9
9
|
import '../chunk-MDBXGN6W.js';
|
|
10
10
|
import '../chunk-PVY7X5UR.js';
|
|
@@ -14,17 +14,17 @@ import '../chunk-HW7B43E5.js';
|
|
|
14
14
|
import '../chunk-NJCTQH2P.js';
|
|
15
15
|
import '../chunk-S22FSH7C.js';
|
|
16
16
|
import '../chunk-L2V5PUFN.js';
|
|
17
|
-
import '../chunk-
|
|
17
|
+
import '../chunk-ACZ5JNSL.js';
|
|
18
18
|
import '../chunk-NHDRA4Y5.js';
|
|
19
19
|
import '../chunk-D4M5K6JN.js';
|
|
20
20
|
import '../chunk-GJWI74ZZ.js';
|
|
21
21
|
import '../chunk-NZOJHERI.js';
|
|
22
22
|
import '../chunk-KMNHNCVG.js';
|
|
23
23
|
import '../chunk-5IVD6G77.js';
|
|
24
|
-
import '../chunk-
|
|
24
|
+
import '../chunk-D4R3FQED.js';
|
|
25
25
|
import '../chunk-7643MCD2.js';
|
|
26
26
|
import '../chunk-64XODP7M.js';
|
|
27
|
-
import '../chunk-
|
|
27
|
+
import '../chunk-Z4XJOVQX.js';
|
|
28
28
|
import '../chunk-W7OPEMGJ.js';
|
|
29
29
|
import '../chunk-A4CC4ZG3.js';
|
|
30
30
|
import '../chunk-MOACHHOJ.js';
|
|
@@ -14,7 +14,7 @@ function ResonanceRuntime({ site, apiUrl, apiKey }) {
|
|
|
14
14
|
useEffect(() => {
|
|
15
15
|
if (!ready) return;
|
|
16
16
|
let cancelled = false;
|
|
17
|
-
void import('./runtime-core-
|
|
17
|
+
void import('./runtime-core-EU2RZMOL.js').then(({ mountResonanceRuntime }) => {
|
|
18
18
|
if (cancelled) return;
|
|
19
19
|
const runtime = mountResonanceRuntime({ site, apiUrl, apiKey });
|
|
20
20
|
active.current = runtime;
|
|
@@ -425,6 +425,15 @@ function FormField({ field, value, error, onChange, onFocus, onBlur, classPrefix
|
|
|
425
425
|
),
|
|
426
426
|
showValid && /* @__PURE__ */ jsx(FieldValidTick, {})
|
|
427
427
|
] }),
|
|
428
|
+
controls?.Address && /* @__PURE__ */ jsx(
|
|
429
|
+
controls.Address,
|
|
430
|
+
{
|
|
431
|
+
value,
|
|
432
|
+
onChange,
|
|
433
|
+
field,
|
|
434
|
+
options: controls.address
|
|
435
|
+
}
|
|
436
|
+
),
|
|
428
437
|
field.field_type === "textarea" && /* @__PURE__ */ jsx(
|
|
429
438
|
"textarea",
|
|
430
439
|
{
|
|
@@ -84,7 +84,7 @@ function useSignal() {
|
|
|
84
84
|
return useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);
|
|
85
85
|
}
|
|
86
86
|
var LazySignalCore = dynamic(
|
|
87
|
-
() => import('./SignalCore-
|
|
87
|
+
() => import('./SignalCore-IP7FE6SN.js').then((m) => ({ default: m.SignalCore })),
|
|
88
88
|
{ ssr: false }
|
|
89
89
|
);
|
|
90
90
|
function SignalBridge({
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { monotonicMs } from './chunk-MH2DSGC6.js';
|
|
2
|
+
import { sonorFetch } from './chunk-Z4XJOVQX.js';
|
|
3
|
+
import { getClientApiConfig } from './chunk-W7OPEMGJ.js';
|
|
4
|
+
|
|
5
|
+
// src/maps/api.ts
|
|
6
|
+
function getApiConfig() {
|
|
7
|
+
const { apiUrl, apiKey } = getClientApiConfig({ serverKey: true });
|
|
8
|
+
return { apiUrl, apiKey: apiKey ?? "" };
|
|
9
|
+
}
|
|
10
|
+
var configCache = null;
|
|
11
|
+
var CONFIG_CACHE_TTL = 3e5;
|
|
12
|
+
var placesCache = /* @__PURE__ */ new Map();
|
|
13
|
+
var PLACES_CACHE_TTL = 6e4;
|
|
14
|
+
async function fetchMapsConfig() {
|
|
15
|
+
if (configCache && monotonicMs() - configCache.timestamp < CONFIG_CACHE_TTL) {
|
|
16
|
+
return configCache.data;
|
|
17
|
+
}
|
|
18
|
+
const { apiUrl, apiKey } = getApiConfig();
|
|
19
|
+
if (apiKey) {
|
|
20
|
+
try {
|
|
21
|
+
const res = await sonorFetch(
|
|
22
|
+
`${apiUrl}/api/public/maps/config`,
|
|
23
|
+
{ headers: { "Content-Type": "application/json" } },
|
|
24
|
+
{ apiKey }
|
|
25
|
+
);
|
|
26
|
+
if (res.ok) {
|
|
27
|
+
const data = await res.json();
|
|
28
|
+
if (data.apiKey) {
|
|
29
|
+
configCache = { data, timestamp: monotonicMs() };
|
|
30
|
+
return data;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
} catch {
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
const fallbackKey = typeof window !== "undefined" ? "" : process.env.NEXT_PUBLIC_GOOGLE_MAPS_API_KEY || "";
|
|
37
|
+
const fallbackMapId = typeof window !== "undefined" ? "" : process.env.NEXT_PUBLIC_GOOGLE_MAPS_MAP_ID || "";
|
|
38
|
+
if (fallbackKey) {
|
|
39
|
+
const data = { apiKey: fallbackKey, mapId: fallbackMapId || "fcca3cd2bb19cf9a960994e7" };
|
|
40
|
+
configCache = { data, timestamp: monotonicMs() };
|
|
41
|
+
return data;
|
|
42
|
+
}
|
|
43
|
+
return null;
|
|
44
|
+
}
|
|
45
|
+
async function fetchNearbyPlaces(params) {
|
|
46
|
+
const cacheKey = `${params.lat},${params.lng}:${params.type}`;
|
|
47
|
+
const cached = placesCache.get(cacheKey);
|
|
48
|
+
if (cached && monotonicMs() - cached.timestamp < PLACES_CACHE_TTL) {
|
|
49
|
+
return cached.data;
|
|
50
|
+
}
|
|
51
|
+
const { apiUrl, apiKey } = getApiConfig();
|
|
52
|
+
if (!apiKey) return [];
|
|
53
|
+
try {
|
|
54
|
+
const searchParams = new URLSearchParams({
|
|
55
|
+
lat: String(params.lat),
|
|
56
|
+
lng: String(params.lng),
|
|
57
|
+
type: params.type
|
|
58
|
+
});
|
|
59
|
+
if (params.radius) searchParams.set("radius", String(params.radius));
|
|
60
|
+
if (params.limit) searchParams.set("limit", String(params.limit));
|
|
61
|
+
const res = await sonorFetch(
|
|
62
|
+
`${apiUrl}/api/public/maps/nearby-places?${searchParams}`,
|
|
63
|
+
{ headers: { "Content-Type": "application/json" } },
|
|
64
|
+
{ apiKey }
|
|
65
|
+
);
|
|
66
|
+
if (!res.ok) return [];
|
|
67
|
+
const data = await res.json();
|
|
68
|
+
const places = data.places || [];
|
|
69
|
+
placesCache.set(cacheKey, { data: places, timestamp: monotonicMs() });
|
|
70
|
+
return places;
|
|
71
|
+
} catch (err) {
|
|
72
|
+
console.warn("[site-kit/maps] Failed to fetch nearby places:", err);
|
|
73
|
+
return [];
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export { fetchMapsConfig, fetchNearbyPlaces };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { countStageViews, countStageQuestions, useFieldControls } from './chunk-
|
|
3
|
-
import { useFormLoadedAt, useFormTracking, submitForm, useRecaptchaWarmup, useForm } from './chunk-
|
|
2
|
+
import { countStageViews, countStageQuestions, useFieldControls } from './chunk-MKU5ZORB.js';
|
|
3
|
+
import { useFormLoadedAt, useFormTracking, submitForm, useRecaptchaWarmup, useForm } from './chunk-MIKVCYGX.js';
|
|
4
4
|
import { readAgentSubmit, formToolAttributes } from './chunk-Q6E4OPGG.js';
|
|
5
5
|
import { isFieldVisible, validateField, isFieldComplete, isDisplayOnly, unseenControlValues } from './chunk-C2FZBUSS.js';
|
|
6
6
|
import { HoneypotField } from './chunk-DXO6SBMD.js';
|
|
7
|
-
import { DelightStyles, FormMomentum, FormField } from './chunk-
|
|
7
|
+
import { DelightStyles, FormMomentum, FormField } from './chunk-3WMNHFZH.js';
|
|
8
8
|
import { DEFAULT_FORM_SUCCESS_MESSAGE } from './chunk-TYSIAWC3.js';
|
|
9
9
|
import { DEFAULT_HONEYPOT_FIELD } from './chunk-NJCTQH2P.js';
|
|
10
10
|
import { useState, useRef, useMemo, useEffect, useCallback } from 'react';
|
|
@@ -17,7 +17,8 @@ function FormClient({
|
|
|
17
17
|
onError,
|
|
18
18
|
customRender,
|
|
19
19
|
experience,
|
|
20
|
-
defaultValues
|
|
20
|
+
defaultValues,
|
|
21
|
+
addressAutocomplete
|
|
21
22
|
}) {
|
|
22
23
|
const [values, setValues] = useState(() => {
|
|
23
24
|
const defaults = {};
|
|
@@ -43,7 +44,7 @@ function FormClient({
|
|
|
43
44
|
const questionCount = useMemo(() => countStageQuestions(config), [config]);
|
|
44
45
|
const requested = experience ?? (config.layout === "stage" ? "stage" : config.layout === "classic" ? "classic" : "spotlight");
|
|
45
46
|
const resolvedExperience = !customRender && questionCount > 0 && requested !== "classic" ? requested : "classic";
|
|
46
|
-
const fieldControls = useFieldControls(config.fields);
|
|
47
|
+
const fieldControls = useFieldControls(config.fields, addressAutocomplete);
|
|
47
48
|
const [Celebration, setCelebration] = useState(null);
|
|
48
49
|
useEffect(() => {
|
|
49
50
|
if (!isSubmitting && !isComplete) return;
|
|
@@ -63,7 +64,7 @@ function FormClient({
|
|
|
63
64
|
return;
|
|
64
65
|
}
|
|
65
66
|
let cancelled = false;
|
|
66
|
-
const load = resolvedExperience === "stage" ? import('./FormStage-
|
|
67
|
+
const load = resolvedExperience === "stage" ? import('./FormStage-3G46OPPO.js').then((m) => m.FormStage) : import('./FormSpotlight-2BSE7PD2.js').then((m) => m.FormSpotlight);
|
|
67
68
|
load.then((Component) => {
|
|
68
69
|
if (!cancelled) setExperience(() => Component);
|
|
69
70
|
}).catch((err) => {
|
|
@@ -290,6 +291,7 @@ function FormClient({
|
|
|
290
291
|
}
|
|
291
292
|
if (resolvedExperience !== "classic" && Experience) {
|
|
292
293
|
const bundle = {
|
|
294
|
+
addressAutocomplete,
|
|
293
295
|
config,
|
|
294
296
|
values,
|
|
295
297
|
errors,
|
|
@@ -452,6 +454,7 @@ function ManagedForm({
|
|
|
452
454
|
initialConfig,
|
|
453
455
|
experience,
|
|
454
456
|
defaultValues,
|
|
457
|
+
addressAutocomplete,
|
|
455
458
|
children
|
|
456
459
|
}) {
|
|
457
460
|
const {
|
|
@@ -489,7 +492,8 @@ function ManagedForm({
|
|
|
489
492
|
onError,
|
|
490
493
|
customRender: children,
|
|
491
494
|
experience,
|
|
492
|
-
defaultValues
|
|
495
|
+
defaultValues,
|
|
496
|
+
addressAutocomplete
|
|
493
497
|
}
|
|
494
498
|
);
|
|
495
499
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { registerAnalyticsDispatcher } from './chunk-AG2RDHYZ.js';
|
|
3
3
|
import { getOrCreateVisitorId, getOrCreateSessionId } from './chunk-JT7GHHMV.js';
|
|
4
4
|
import { onPageLeave } from './chunk-L2V5PUFN.js';
|
|
5
|
-
import { resolveAnalyticsTarget, analyticsSend, analyticsBeacon } from './chunk-
|
|
5
|
+
import { resolveAnalyticsTarget, analyticsSend, analyticsBeacon } from './chunk-ACZ5JNSL.js';
|
|
6
6
|
import { subscribeMeasurementPolicy, measurementPolicySnapshot, serverMeasurementPolicySnapshot } from './chunk-FRY6PBT6.js';
|
|
7
7
|
import { createContext, useRef, useSyncExternalStore, useEffect, useState, useMemo, useCallback, useContext } from 'react';
|
|
8
8
|
import { usePathname } from 'next/navigation';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { writeLLMsTxtToPublic } from './chunk-
|
|
1
|
+
import { writeLLMsTxtToPublic } from './chunk-ORSQKTMN.js';
|
|
2
2
|
import { getSiteConfig } from './chunk-Z22QVHT4.js';
|
|
3
3
|
import { buildFetch } from './chunk-UAYAJPEP.js';
|
|
4
4
|
import { findAppDirForDiscovery } from './chunk-ZEGVKVD5.js';
|
|
@@ -2,9 +2,9 @@ import { RESONANCE_SUBJECT_HEADER } from './chunk-NHDRA4Y5.js';
|
|
|
2
2
|
import { currentCredential } from './chunk-D4M5K6JN.js';
|
|
3
3
|
import { sameSite } from './chunk-NZOJHERI.js';
|
|
4
4
|
import { currentSubjectProof } from './chunk-KMNHNCVG.js';
|
|
5
|
-
import { SITE_KIT_VERSION } from './chunk-
|
|
5
|
+
import { SITE_KIT_VERSION } from './chunk-D4R3FQED.js';
|
|
6
6
|
import { resolveAnalyticsTarget } from './chunk-7643MCD2.js';
|
|
7
|
-
import { sonorFetch } from './chunk-
|
|
7
|
+
import { sonorFetch } from './chunk-Z4XJOVQX.js';
|
|
8
8
|
import { readPublishedApiConfig } from './chunk-W7OPEMGJ.js';
|
|
9
9
|
import { normalizeSiteHost } from './chunk-A4CC4ZG3.js';
|
|
10
10
|
import { analyticsPurposePermitted, measurementPolicySnapshot } from './chunk-FRY6PBT6.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { toHexColor, normalizeDesignTokens, designTokensHash } from './chunk-XHYE24HU.js';
|
|
2
2
|
import { contrastRatio, parseColor, relativeLuminance } from './chunk-S22FSH7C.js';
|
|
3
|
-
import { SITE_KIT_VERSION } from './chunk-
|
|
3
|
+
import { SITE_KIT_VERSION } from './chunk-D4R3FQED.js';
|
|
4
4
|
import { resolveAnalyticsTarget } from './chunk-7643MCD2.js';
|
|
5
|
-
import { sonorFetch } from './chunk-
|
|
5
|
+
import { sonorFetch } from './chunk-Z4XJOVQX.js';
|
|
6
6
|
|
|
7
7
|
// src/website/design.ts
|
|
8
8
|
var SITE_DESIGN_PATH = "/api/public/site/design";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HoneypotField } from './chunk-DXO6SBMD.js';
|
|
2
|
-
import { FormField } from './chunk-
|
|
2
|
+
import { FormField } from './chunk-3WMNHFZH.js';
|
|
3
3
|
import { normalizeFormConfig } from './chunk-TYSIAWC3.js';
|
|
4
4
|
import { DEFAULT_HONEYPOT_FIELD } from './chunk-NJCTQH2P.js';
|
|
5
5
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { generateLLMsTxt, generateLLMsFullTxt, appendAgentAccessSection } from './chunk-
|
|
1
|
+
import { generateLLMsTxt, generateLLMsFullTxt, appendAgentAccessSection } from './chunk-ORSQKTMN.js';
|
|
2
2
|
import { createHash } from 'crypto';
|
|
3
3
|
import { existsSync, readFileSync } from 'fs';
|
|
4
4
|
import { join } from 'path';
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
import { setFirstPartyIdentityScope } from './chunk-KQKUXIUD.js';
|
|
3
3
|
import { SITE_EDIT_PARAM } from './chunk-6G43IRWR.js';
|
|
4
4
|
import { publishSiteCredential } from './chunk-2LBKIE2K.js';
|
|
5
|
-
import { ResonanceRuntime } from './chunk-
|
|
6
|
-
import { FleetHeartbeat } from './chunk-
|
|
5
|
+
import { ResonanceRuntime } from './chunk-3RBOES2C.js';
|
|
6
|
+
import { FleetHeartbeat } from './chunk-Q2OE32TH.js';
|
|
7
7
|
import { useDeferredActivation } from './chunk-YC7ELZS3.js';
|
|
8
8
|
import { resolveSiteHost } from './chunk-FESKKJAS.js';
|
|
9
9
|
import { getOrCreateVisitorId, getOrCreateSessionId } from './chunk-JT7GHHMV.js';
|
|
10
10
|
import { resolveAnalyticsTarget, announceFrameReady, isPrivatePreview, isCrossOriginFrame } from './chunk-7643MCD2.js';
|
|
11
|
-
import { SignalBridge } from './chunk-
|
|
11
|
+
import { SignalBridge } from './chunk-533ZSRJF.js';
|
|
12
12
|
import { primeMeasurementPolicy, subscribeMeasurementPolicy, measurementPolicySnapshot, serverMeasurementPolicySnapshot, analyticsPurposePermitted } from './chunk-FRY6PBT6.js';
|
|
13
13
|
import React, { useSyncExternalStore, useState, useEffect, useRef, useCallback, Suspense } from 'react';
|
|
14
14
|
import dynamic from 'next/dynamic';
|
|
@@ -36,23 +36,23 @@ function startEditBridge() {
|
|
|
36
36
|
};
|
|
37
37
|
}
|
|
38
38
|
var LazyAnalyticsProvider = dynamic(
|
|
39
|
-
() => import('./AnalyticsProvider-
|
|
39
|
+
() => import('./AnalyticsProvider-JWS7BLFY.js').then((m) => ({ default: m.AnalyticsProvider })),
|
|
40
40
|
{ ssr: false }
|
|
41
41
|
);
|
|
42
42
|
var LazySiteChat = dynamic(
|
|
43
|
-
() => import('./SiteChat-
|
|
43
|
+
() => import('./SiteChat-3FQYMHCP.js').then((m) => ({ default: m.SiteChat })),
|
|
44
44
|
{ ssr: false }
|
|
45
45
|
);
|
|
46
46
|
var LazySitePopups = dynamic(
|
|
47
|
-
() => import('./SitePopups-
|
|
47
|
+
() => import('./SitePopups-V7MCNSGE.js').then((m) => ({ default: m.SitePopups })),
|
|
48
48
|
{ ssr: false }
|
|
49
49
|
);
|
|
50
50
|
var LazySiteDesignReporter = dynamic(
|
|
51
|
-
() => import('./SiteDesignReporter-
|
|
51
|
+
() => import('./SiteDesignReporter-HGTX4FX2.js').then((m) => ({ default: m.SiteDesignReporter })),
|
|
52
52
|
{ ssr: false }
|
|
53
53
|
);
|
|
54
54
|
var LazySitemapSync = dynamic(
|
|
55
|
-
() => import('./SitemapSync-
|
|
55
|
+
() => import('./SitemapSync-OAJ7SIET.js').then((m) => ({ default: m.SitemapSync })),
|
|
56
56
|
{ ssr: false }
|
|
57
57
|
);
|
|
58
58
|
function SiteKitClientProviders({
|
|
@@ -6,11 +6,11 @@ import { isFieldVisible, validateField, isFieldComplete, unseenControlValues } f
|
|
|
6
6
|
import { normalizeFormConfig, DEFAULT_FORM_SUCCESS_MESSAGE } from './chunk-TYSIAWC3.js';
|
|
7
7
|
import { DEFAULT_HONEYPOT_FIELD } from './chunk-NJCTQH2P.js';
|
|
8
8
|
import { onPageLeave } from './chunk-L2V5PUFN.js';
|
|
9
|
-
import { resolveAnalyticsTarget, analyticsSend, analyticsBeacon } from './chunk-
|
|
9
|
+
import { resolveAnalyticsTarget, analyticsSend, analyticsBeacon } from './chunk-ACZ5JNSL.js';
|
|
10
10
|
import { RESONANCE_SUBJECT_HEADER } from './chunk-NHDRA4Y5.js';
|
|
11
11
|
import { uuid } from './chunk-GJWI74ZZ.js';
|
|
12
12
|
import { sameSite } from './chunk-NZOJHERI.js';
|
|
13
|
-
import { sonorFetch } from './chunk-
|
|
13
|
+
import { sonorFetch } from './chunk-Z4XJOVQX.js';
|
|
14
14
|
import { readPublishedApiConfig, getClientApiConfig, readPublishedSite } from './chunk-W7OPEMGJ.js';
|
|
15
15
|
import { normalizeSiteHost } from './chunk-A4CC4ZG3.js';
|
|
16
16
|
import { subscribeMeasurementPolicy, measurementPolicySnapshot, serverMeasurementPolicySnapshot, analyticsPurposePermitted } from './chunk-FRY6PBT6.js';
|
|
@@ -1,38 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { isEmptyValue, isDisplayOnly } from './chunk-C2FZBUSS.js';
|
|
3
|
-
import {
|
|
3
|
+
import { useState, useEffect } from 'react';
|
|
4
4
|
|
|
5
5
|
var NO_CONTROLS = {};
|
|
6
|
-
function useFieldControls(
|
|
7
|
-
const needsDate = useMemo(
|
|
8
|
-
() => (fields ?? []).some((f) => f.field_type === "date" || f.field_type === "datetime"),
|
|
9
|
-
[fields]
|
|
10
|
-
);
|
|
11
|
-
const needsFile = useMemo(
|
|
12
|
-
() => (fields ?? []).some((f) => f.field_type === "file"),
|
|
13
|
-
[fields]
|
|
14
|
-
);
|
|
15
|
-
const [controls, setControls] = useState(NO_CONTROLS);
|
|
16
|
-
useEffect(() => {
|
|
17
|
-
let cancelled = false;
|
|
18
|
-
if (needsDate) {
|
|
19
|
-
import('./DatePicker-JEBV6WYJ.js').then((m) => {
|
|
20
|
-
if (!cancelled) setControls((prev) => ({ ...prev, Date: m.DatePicker }));
|
|
21
|
-
}).catch(() => {
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
if (needsFile) {
|
|
25
|
-
import('./FileField-YWMSK7RF.js').then((m) => {
|
|
26
|
-
if (!cancelled) setControls((prev) => ({ ...prev, File: m.FileField }));
|
|
27
|
-
}).catch(() => {
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
return () => {
|
|
31
|
-
cancelled = true;
|
|
32
|
-
};
|
|
33
|
-
}, [needsDate, needsFile]);
|
|
34
|
-
return controls;
|
|
35
|
-
}
|
|
6
|
+
function useFieldControls(o=[],l){const n=!!l;let t=!1,f=!1;for(const{field_type:e}of o)(e==="date"||e==="datetime")&&(t=!0),e==="file"&&(f=!0);const[s,i]=useState(NO_CONTROLS);return useEffect(()=>{let e=!1;return(t||f||n)&&import("./controls-KLG6VQLO.js").then(({default:r})=>{e||r([t,f,n],(c,u)=>{e||i(a=>({...a,[c]:u}))})}).catch(()=>{}),()=>{e=!0}},[t,f,n]),l?{...s,address:l}:s}
|
|
36
7
|
|
|
37
8
|
// src/forms/experience-plan.ts
|
|
38
9
|
function stageQuestions(config) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { trackedFreshFetch } from './chunk-UAYAJPEP.js';
|
|
2
2
|
import { isNextControlFlow } from './chunk-7VMA3KCN.js';
|
|
3
3
|
import { monotonicMs } from './chunk-MH2DSGC6.js';
|
|
4
|
-
import { SITE_KIT_VERSION } from './chunk-
|
|
4
|
+
import { SITE_KIT_VERSION } from './chunk-D4R3FQED.js';
|
|
5
5
|
import 'server-only';
|
|
6
6
|
|
|
7
7
|
var MINT_PATH = "/api/public/site-token";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FormEnhancer } from './chunk-
|
|
2
|
-
import { StaticForm } from './chunk-
|
|
1
|
+
import { FormEnhancer } from './chunk-NWEIHCSE.js';
|
|
2
|
+
import { StaticForm } from './chunk-HHEDRZOJ.js';
|
|
3
3
|
import { serverApiFetch } from './chunk-7VMA3KCN.js';
|
|
4
4
|
import { jsx } from 'react/jsx-runtime';
|
|
5
5
|
|
|
@@ -11,7 +11,8 @@ async function ServerForm({
|
|
|
11
11
|
defer = true,
|
|
12
12
|
initialConfig,
|
|
13
13
|
configOptions,
|
|
14
|
-
defaultValues
|
|
14
|
+
defaultValues,
|
|
15
|
+
addressAutocomplete
|
|
15
16
|
}) {
|
|
16
17
|
const config = initialConfig ?? await getFormConfig(formId, configOptions);
|
|
17
18
|
const shell = /* @__PURE__ */ jsx(StaticForm, { config, className });
|
|
@@ -23,6 +24,7 @@ async function ServerForm({
|
|
|
23
24
|
className,
|
|
24
25
|
experience,
|
|
25
26
|
defaultValues,
|
|
27
|
+
addressAutocomplete,
|
|
26
28
|
enter,
|
|
27
29
|
defer,
|
|
28
30
|
children: shell
|
|
@@ -6,7 +6,7 @@ import { DEFAULT_HONEYPOT_FIELD } from './chunk-NJCTQH2P.js';
|
|
|
6
6
|
import React, { useRef, useEffect, useState, useMemo, useCallback } from 'react';
|
|
7
7
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
8
8
|
|
|
9
|
-
var loadInteractiveForm = () => import('./ManagedForm-
|
|
9
|
+
var loadInteractiveForm = () => import('./ManagedForm-LTXEU25N.js').then((m) => m.ManagedForm);
|
|
10
10
|
var REPLAY_WAIT_MS = 8e3;
|
|
11
11
|
function FormEnhancer({
|
|
12
12
|
formId,
|
|
@@ -14,6 +14,7 @@ function FormEnhancer({
|
|
|
14
14
|
className,
|
|
15
15
|
experience,
|
|
16
16
|
defaultValues,
|
|
17
|
+
addressAutocomplete,
|
|
17
18
|
onSuccess,
|
|
18
19
|
onError,
|
|
19
20
|
enter = "fade",
|
|
@@ -123,6 +124,7 @@ function FormEnhancer({
|
|
|
123
124
|
className,
|
|
124
125
|
experience,
|
|
125
126
|
defaultValues: seededValues,
|
|
127
|
+
addressAutocomplete,
|
|
126
128
|
onSuccess,
|
|
127
129
|
onError
|
|
128
130
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import{useSignalExperiment as v,useSignalEvent as x}from"./chunk-
|
|
2
|
+
import{useSignalExperiment as v,useSignalEvent as x}from"./chunk-533ZSRJF.js";import{recordRenderedResonanceExposure as E}from"./chunk-MOACHHOJ.js";import{subscribeMeasurementPolicy as C,measurementPolicySnapshot as S,serverMeasurementPolicySnapshot as R}from"./chunk-FRY6PBT6.js";import k,{lazy as h,Suspense as w,useRef as j,useSyncExternalStore as P,useEffect as $}from"react";import{usePathname as b}from"next/navigation";import{jsx as o,Fragment as m}from"react/jsx-runtime";var K=h(()=>import("./_client/reviewed-signal-experiment.js"));function O(e){if(e.reviewedContext){const n=e.reviewedContext.controlVariantKey,c=e.children?e.children({variant:n,isControl:!0}):Object.prototype.hasOwnProperty.call(e.variants,n)&&e.variants[n]!==void 0?e.variants[n]:e.fallback||null;return o(w,{fallback:c,children:o(K,{...e,reviewedContext:e.reviewedContext})})}return o(M,{...e})}function M({experimentId:e,variants:n,fallback:c,trackImpression:a=!0,children:s}){const{assignment:i,variant:t,isControl:l}=v(e),f=x(),d=b(),p=j(""),r=P(C,S,R);if($(()=>{const _=!!s||!!t&&n[t]!==void 0;if(a&&t&&_){const u=r.config;if(u){if(!i?.assignment_id||!i.experiment_revision||i.site!==u.site)return;const g=`${i.assignment_id}:${i.experiment_revision}:${t}:${d}:${r.proof?.currentConsentRevision}`;if(g===p.current)return;E({projectId:u.projectId,site:u.site,experimentId:e,experimentRevision:i.experiment_revision,assignmentId:i.assignment_id,variantKey:t,occurredAt:new Date().toISOString()})&&(p.current=g);return}f({event_type:"experiment",event_name:"impression",event_data:{experiment_id:e,variant_key:t}})}},[e,t,i,d,a,f,s,n,r.config?.projectId,r.config?.site,r.config?.configRevision,r.config?.policyRevision,r.proof?.currentConsentRevision]),s)return o(m,{children:s({variant:t||"control",isControl:l})});const y=n[t||"control"];return y!==void 0?o(m,{children:y}):c?o(m,{children:c}):o(m,{children:n.control||null})}function V(e){return v(e)}function z({experimentId:e,outcomeType:n="click",value:c,children:a}){const s=x(),{variant:i}=v(e),t=()=>{s({event_type:"experiment",event_name:"conversion",event_data:{experiment_id:e,variant_key:i,outcome_type:n,value:c}})};return k.cloneElement(a,{onClick:l=>{t(),a.props.onClick&&a.props.onClick(l)}})}export{z as ExperimentConversion,O as SignalExperiment,V as useExperimentVariant};
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { VISUAL_VIEWPORT_GAP_PROPERTY } from './chunk-6T6CQVNL.js';
|
|
3
3
|
import { GlassStyles } from './chunk-JE4A5S4F.js';
|
|
4
4
|
import { DEFAULT_WIDGET_Z_INDEX } from './chunk-27FISYK4.js';
|
|
5
|
-
import { useForm } from './chunk-
|
|
5
|
+
import { useForm } from './chunk-MIKVCYGX.js';
|
|
6
6
|
import { parseColor, relativeLuminance, DARK_LUMINANCE, contrastRatio } from './chunk-S22FSH7C.js';
|
|
7
|
-
import { sonorFetch } from './chunk-
|
|
7
|
+
import { sonorFetch } from './chunk-Z4XJOVQX.js';
|
|
8
8
|
import { readPublishedApiConfig } from './chunk-W7OPEMGJ.js';
|
|
9
9
|
import { useState, useEffect, useRef, useLayoutEffect, useCallback, Fragment as Fragment$1 } from 'react';
|
|
10
10
|
import { lexer } from 'marked';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { sanitizeFleetVersion, buildFleetHeartbeatPayload } from './chunk-ZTZQPYP6.js';
|
|
3
3
|
import { useDeferredActivation } from './chunk-YC7ELZS3.js';
|
|
4
|
-
import { SITE_KIT_VERSION } from './chunk-
|
|
4
|
+
import { SITE_KIT_VERSION } from './chunk-D4R3FQED.js';
|
|
5
5
|
import { resolveAnalyticsTarget } from './chunk-7643MCD2.js';
|
|
6
|
-
import { sonorFetch } from './chunk-
|
|
6
|
+
import { sonorFetch } from './chunk-Z4XJOVQX.js';
|
|
7
7
|
import { useRef, useEffect } from 'react';
|
|
8
8
|
|
|
9
9
|
// src/fleet/heartbeat.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { isSiteToken, configureSiteCredential, storeToken, tokenExp } from './chunk-TPHOIE4I.js';
|
|
2
2
|
import { siteTokenState } from './chunk-D4M5K6JN.js';
|
|
3
|
-
import { SITE_KIT_VERSION } from './chunk-
|
|
3
|
+
import { SITE_KIT_VERSION } from './chunk-D4R3FQED.js';
|
|
4
4
|
|
|
5
5
|
// src/shared/site-token-refresh.ts
|
|
6
6
|
var REFRESH_SKEW_MS = 5 * 6e4;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { secretsMatch, readCappedBody } from './chunk-XTRZGXB2.js';
|
|
2
|
-
import { SITE_KIT_VERSION } from './chunk-
|
|
2
|
+
import { SITE_KIT_VERSION } from './chunk-D4R3FQED.js';
|
|
3
3
|
|
|
4
4
|
// src/llms/revalidate.ts
|
|
5
5
|
function createLlmsRevalidateHandler(secret, options) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { getSiteDesignTokens, tokensForReport, shouldReportDesign, sendSiteDesign } from './chunk-
|
|
2
|
+
import { getSiteDesignTokens, tokensForReport, shouldReportDesign, sendSiteDesign } from './chunk-DW5X4BC7.js';
|
|
3
3
|
import { designTokensHash } from './chunk-XHYE24HU.js';
|
|
4
4
|
import { useDeferredActivation } from './chunk-YC7ELZS3.js';
|
|
5
5
|
import { resolveAnalyticsTarget } from './chunk-7643MCD2.js';
|
|
@@ -7,7 +7,7 @@ import dynamic from 'next/dynamic';
|
|
|
7
7
|
import { jsx } from 'react/jsx-runtime';
|
|
8
8
|
|
|
9
9
|
var LazyChatWidget = dynamic(
|
|
10
|
-
() => import('./ChatWidget-
|
|
10
|
+
() => import('./ChatWidget-HEPOE3YC.js').then((m) => ({ default: m.ChatWidget })),
|
|
11
11
|
{ ssr: false }
|
|
12
12
|
);
|
|
13
13
|
function SiteChat(props) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { locToPath, isMalformedSitemapPath, inferPageType } from './chunk-YVKRYQRG.js';
|
|
3
3
|
import { resolveAnalyticsTarget } from './chunk-7643MCD2.js';
|
|
4
|
-
import { sonorFetch } from './chunk-
|
|
4
|
+
import { sonorFetch } from './chunk-Z4XJOVQX.js';
|
|
5
5
|
import { useRef, useEffect } from 'react';
|
|
6
6
|
|
|
7
7
|
var SYNC_STAMP_KEY = "_sk_sitemap_synced_at";
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { DEFAULT_WIDGET_Z_INDEX } from './chunk-27FISYK4.js';
|
|
3
3
|
import { readAnalyticsIdentity } from './chunk-PVY7X5UR.js';
|
|
4
4
|
import { getOrCreateVisitorId } from './chunk-JT7GHHMV.js';
|
|
5
|
-
import { resolveAnalyticsTarget as resolveAnalyticsTarget$1, analyticsSend } from './chunk-
|
|
5
|
+
import { resolveAnalyticsTarget as resolveAnalyticsTarget$1, analyticsSend } from './chunk-ACZ5JNSL.js';
|
|
6
6
|
import { resolveAnalyticsTarget } from './chunk-7643MCD2.js';
|
|
7
|
-
import { sonorFetch } from './chunk-
|
|
7
|
+
import { sonorFetch } from './chunk-Z4XJOVQX.js';
|
|
8
8
|
import { subscribeMeasurementPolicy, measurementPolicySnapshot, serverMeasurementPolicySnapshot } from './chunk-FRY6PBT6.js';
|
|
9
9
|
import { useState, useEffect, useCallback, useSyncExternalStore, useRef } from 'react';
|
|
10
10
|
import ReactDOM from 'react-dom';
|
|
@@ -163,7 +163,7 @@ function activatePopup(active, id, popups) {
|
|
|
163
163
|
return [...active, id];
|
|
164
164
|
}
|
|
165
165
|
var LazyBlocksPopup = dynamic(
|
|
166
|
-
() => import('./BlocksPopup-
|
|
166
|
+
() => import('./BlocksPopup-C5PNJ7U6.js').then((m) => ({ default: m.BlocksPopup })),
|
|
167
167
|
{ ssr: false }
|
|
168
168
|
);
|
|
169
169
|
function SitePopups(props) {
|