@flamingo-stack/openframe-frontend-core 0.0.424-snapshot.20260714200421 → 0.0.424
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-C7AXZBFC.cjs → chunk-445ZGRPE.cjs} +29 -29
- package/dist/{chunk-C7AXZBFC.cjs.map → chunk-445ZGRPE.cjs.map} +1 -1
- package/dist/{chunk-7EUIW46X.js → chunk-4XLJWX2N.js} +2 -2
- package/dist/{chunk-FBCN76VE.js → chunk-56NEIHTC.js} +3 -3
- package/dist/{chunk-ZGE4KMI6.js → chunk-5TCOKIAS.js} +3 -3
- package/dist/{chunk-7TA6WMMV.js → chunk-6PB5HGFM.js} +5 -5
- package/dist/{chunk-RAGHFNE7.js → chunk-AD4A44US.js} +2 -2
- package/dist/{chunk-SHDV5QCI.cjs → chunk-AEUFBPB3.cjs} +77 -77
- package/dist/{chunk-SHDV5QCI.cjs.map → chunk-AEUFBPB3.cjs.map} +1 -1
- package/dist/{chunk-CRPQEP7D.js → chunk-APWAFTFL.js} +3 -3
- package/dist/{chunk-SPR4MJX5.cjs → chunk-BM5RER5N.cjs} +86 -86
- package/dist/{chunk-SPR4MJX5.cjs.map → chunk-BM5RER5N.cjs.map} +1 -1
- package/dist/{chunk-RUPCSQLF.cjs → chunk-C7AAFHP5.cjs} +40 -40
- package/dist/{chunk-RUPCSQLF.cjs.map → chunk-C7AAFHP5.cjs.map} +1 -1
- package/dist/{chunk-QXYOGJQJ.js → chunk-FFCGB73K.js} +2 -2
- package/dist/{chunk-GA6MWC56.cjs → chunk-FVL25VKT.cjs} +14 -14
- package/dist/{chunk-GA6MWC56.cjs.map → chunk-FVL25VKT.cjs.map} +1 -1
- package/dist/{chunk-SSJNN5BS.cjs → chunk-G7UE6RKV.cjs} +3 -20
- package/dist/chunk-G7UE6RKV.cjs.map +1 -0
- package/dist/{chunk-IQW3LEUV.js → chunk-H2ECFX4G.js} +3 -3
- package/dist/{chunk-SZWVVAZ6.cjs → chunk-J2WSWXJN.cjs} +5 -5
- package/dist/{chunk-SZWVVAZ6.cjs.map → chunk-J2WSWXJN.cjs.map} +1 -1
- package/dist/{chunk-THVQWRV6.cjs → chunk-JSO2EOOV.cjs} +36 -36
- package/dist/{chunk-THVQWRV6.cjs.map → chunk-JSO2EOOV.cjs.map} +1 -1
- package/dist/{chunk-5DAVSIXQ.cjs → chunk-LYO2FUKU.cjs} +21 -21
- package/dist/{chunk-5DAVSIXQ.cjs.map → chunk-LYO2FUKU.cjs.map} +1 -1
- package/dist/{chunk-UDRJ6KOT.cjs → chunk-M3ROXRUZ.cjs} +27 -27
- package/dist/{chunk-UDRJ6KOT.cjs.map → chunk-M3ROXRUZ.cjs.map} +1 -1
- package/dist/{chunk-LRDVU7NB.cjs → chunk-NMKIS3JX.cjs} +43 -43
- package/dist/{chunk-LRDVU7NB.cjs.map → chunk-NMKIS3JX.cjs.map} +1 -1
- package/dist/{chunk-RVWC4P3H.js → chunk-OMUCATVA.js} +2 -2
- package/dist/{chunk-5RFLFMCS.js → chunk-ORKNKKOH.js} +4 -4
- package/dist/{chunk-7OMNZR2A.js → chunk-OXE2PNKV.js} +6 -6
- package/dist/{chunk-ZJJERZUA.js → chunk-PLJLE4A4.js} +3 -20
- package/dist/chunk-PLJLE4A4.js.map +1 -0
- package/dist/{chunk-LKMUH4IO.js → chunk-RUQ4MVBN.js} +6 -6
- package/dist/{chunk-N2TJ3HAM.cjs → chunk-SR6LEWCF.cjs} +10 -10
- package/dist/{chunk-N2TJ3HAM.cjs.map → chunk-SR6LEWCF.cjs.map} +1 -1
- package/dist/{chunk-BESGMTIN.cjs → chunk-TMITO43G.cjs} +7 -7
- package/dist/{chunk-BESGMTIN.cjs.map → chunk-TMITO43G.cjs.map} +1 -1
- package/dist/{chunk-C5RS3QLV.cjs → chunk-VFKQMAUF.cjs} +3 -3
- package/dist/{chunk-C5RS3QLV.cjs.map → chunk-VFKQMAUF.cjs.map} +1 -1
- package/dist/{chunk-HNRGQCTE.cjs → chunk-X3IHSMPD.cjs} +85 -85
- package/dist/{chunk-HNRGQCTE.cjs.map → chunk-X3IHSMPD.cjs.map} +1 -1
- package/dist/{chunk-VR3VNXUT.js → chunk-X7UBB6F6.js} +7 -7
- package/dist/{chunk-LHWLXA4X.js → chunk-XMCURSQ7.js} +7 -7
- package/dist/{chunk-BY3NKTNZ.js → chunk-Y4WY2AF6.js} +2 -2
- package/dist/{chunk-EE5NH5SH.cjs → chunk-ZKIYCRVQ.cjs} +3 -3
- package/dist/{chunk-EE5NH5SH.cjs.map → chunk-ZKIYCRVQ.cjs.map} +1 -1
- package/dist/components/case-studies/index.cjs +11 -11
- package/dist/components/case-studies/index.js +5 -5
- package/dist/components/chat/index.cjs +5 -5
- package/dist/components/chat/index.js +4 -4
- package/dist/components/contact/index.cjs +6 -6
- package/dist/components/contact/index.js +5 -5
- package/dist/components/docs/index.cjs +8 -8
- package/dist/components/docs/index.js +7 -7
- package/dist/components/embeds/index.cjs +6 -6
- package/dist/components/embeds/index.js +5 -5
- package/dist/components/faq/index.cjs +7 -7
- package/dist/components/faq/index.js +6 -6
- package/dist/components/features/index.cjs +5 -5
- package/dist/components/features/index.js +4 -4
- package/dist/components/help-center-pages/index.cjs +24 -24
- package/dist/components/help-center-pages/index.js +15 -15
- package/dist/components/index.cjs +141 -141
- package/dist/components/index.js +13 -13
- package/dist/components/navigation/index.cjs +5 -5
- package/dist/components/navigation/index.js +4 -4
- package/dist/components/onboarding-guides/index.cjs +9 -9
- package/dist/components/onboarding-guides/index.js +8 -8
- package/dist/components/related-content/index.cjs +7 -7
- package/dist/components/related-content/index.js +6 -6
- package/dist/components/tickets/index.cjs +8 -8
- package/dist/components/tickets/index.js +7 -7
- package/dist/components/ui/index.cjs +5 -5
- package/dist/components/ui/index.js +4 -4
- package/dist/embed-shims/index.cjs +3 -3
- package/dist/embed-shims/index.js +2 -2
- package/dist/embed-shims/next-navigation.cjs +3 -3
- package/dist/embed-shims/next-navigation.d.ts.map +1 -1
- package/dist/embed-shims/next-navigation.js +1 -1
- package/dist/hooks/index.cjs +3 -3
- package/dist/hooks/index.js +2 -2
- package/dist/index.cjs +5 -5
- package/dist/index.js +4 -4
- package/package.json +1 -1
- package/src/embed-shims/next-navigation.tsx +9 -46
- package/dist/chunk-SSJNN5BS.cjs.map +0 -1
- package/dist/chunk-ZJJERZUA.js.map +0 -1
- package/src/embed-shims/__tests__/next-navigation.test.ts +0 -165
- /package/dist/{chunk-7EUIW46X.js.map → chunk-4XLJWX2N.js.map} +0 -0
- /package/dist/{chunk-FBCN76VE.js.map → chunk-56NEIHTC.js.map} +0 -0
- /package/dist/{chunk-ZGE4KMI6.js.map → chunk-5TCOKIAS.js.map} +0 -0
- /package/dist/{chunk-7TA6WMMV.js.map → chunk-6PB5HGFM.js.map} +0 -0
- /package/dist/{chunk-RAGHFNE7.js.map → chunk-AD4A44US.js.map} +0 -0
- /package/dist/{chunk-CRPQEP7D.js.map → chunk-APWAFTFL.js.map} +0 -0
- /package/dist/{chunk-QXYOGJQJ.js.map → chunk-FFCGB73K.js.map} +0 -0
- /package/dist/{chunk-IQW3LEUV.js.map → chunk-H2ECFX4G.js.map} +0 -0
- /package/dist/{chunk-RVWC4P3H.js.map → chunk-OMUCATVA.js.map} +0 -0
- /package/dist/{chunk-5RFLFMCS.js.map → chunk-ORKNKKOH.js.map} +0 -0
- /package/dist/{chunk-7OMNZR2A.js.map → chunk-OXE2PNKV.js.map} +0 -0
- /package/dist/{chunk-LKMUH4IO.js.map → chunk-RUQ4MVBN.js.map} +0 -0
- /package/dist/{chunk-VR3VNXUT.js.map → chunk-X7UBB6F6.js.map} +0 -0
- /package/dist/{chunk-LHWLXA4X.js.map → chunk-XMCURSQ7.js.map} +0 -0
- /package/dist/{chunk-BY3NKTNZ.js.map → chunk-Y4WY2AF6.js.map} +0 -0
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
init_next_navigation,
|
|
16
16
|
useRouter,
|
|
17
17
|
useSearchParams
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-PLJLE4A4.js";
|
|
19
19
|
import {
|
|
20
20
|
FlamingoLogo,
|
|
21
21
|
MiamiCyberGangLogoFaceOnly,
|
|
@@ -3766,4 +3766,4 @@ export {
|
|
|
3766
3766
|
splitCsvEnv,
|
|
3767
3767
|
useHumanitySignals
|
|
3768
3768
|
};
|
|
3769
|
-
//# sourceMappingURL=chunk-
|
|
3769
|
+
//# sourceMappingURL=chunk-OMUCATVA.js.map
|
|
@@ -6,17 +6,17 @@ import {
|
|
|
6
6
|
resolveExternalNavigation,
|
|
7
7
|
resolveSourceIcon,
|
|
8
8
|
stripSameOriginToPath
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-H2ECFX4G.js";
|
|
10
10
|
import {
|
|
11
11
|
contentFetch,
|
|
12
12
|
useDebounce
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-OMUCATVA.js";
|
|
14
14
|
import {
|
|
15
15
|
useChatRuntime
|
|
16
16
|
} from "./chunk-KFQXO7QB.js";
|
|
17
17
|
import {
|
|
18
18
|
useRouter
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-PLJLE4A4.js";
|
|
20
20
|
|
|
21
21
|
// src/components/shared/doc-search/format-relative-path.ts
|
|
22
22
|
function formatRelativePath(fullPath) {
|
|
@@ -347,4 +347,4 @@ export {
|
|
|
347
347
|
resolveSearchResultAction,
|
|
348
348
|
useDocSearch
|
|
349
349
|
};
|
|
350
|
-
//# sourceMappingURL=chunk-
|
|
350
|
+
//# sourceMappingURL=chunk-ORKNKKOH.js.map
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
FileDownloadCard,
|
|
4
4
|
GoogleSheetsViewer,
|
|
5
5
|
PdfViewer
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-AD4A44US.js";
|
|
7
7
|
import {
|
|
8
8
|
DocSearchBar,
|
|
9
9
|
useDocSearch
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ORKNKKOH.js";
|
|
11
11
|
import {
|
|
12
12
|
DEFAULT_FOLDER_INDEX_FILE,
|
|
13
13
|
FigmaEmbed,
|
|
@@ -19,20 +19,20 @@ import {
|
|
|
19
19
|
findDocNodeByPath,
|
|
20
20
|
getDocAncestorNodeIds,
|
|
21
21
|
stripFolderIndexFromPath
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-H2ECFX4G.js";
|
|
23
23
|
import {
|
|
24
24
|
HUB_HEADER_OFFSET_PX,
|
|
25
25
|
contentFetch,
|
|
26
26
|
navigateSamePageHash,
|
|
27
27
|
scrollElementIntoView
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-OMUCATVA.js";
|
|
29
29
|
import {
|
|
30
30
|
useChatRuntime
|
|
31
31
|
} from "./chunk-KFQXO7QB.js";
|
|
32
32
|
import {
|
|
33
33
|
init_next_navigation,
|
|
34
34
|
useRouter
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-PLJLE4A4.js";
|
|
36
36
|
import {
|
|
37
37
|
cn,
|
|
38
38
|
init_cn
|
|
@@ -1845,4 +1845,4 @@ export {
|
|
|
1845
1845
|
EmbedSkeleton,
|
|
1846
1846
|
DocsHubPage
|
|
1847
1847
|
};
|
|
1848
|
-
//# sourceMappingURL=chunk-
|
|
1848
|
+
//# sourceMappingURL=chunk-OXE2PNKV.js.map
|
|
@@ -8,28 +8,11 @@ import { useEffect, useState } from "react";
|
|
|
8
8
|
function registerNavigation(nav) {
|
|
9
9
|
impl = { ...impl, ...nav };
|
|
10
10
|
}
|
|
11
|
-
function softNavigate(href, mode) {
|
|
12
|
-
if (typeof window === "undefined") return;
|
|
13
|
-
try {
|
|
14
|
-
const url = new URL(href, window.location.href);
|
|
15
|
-
if (url.origin !== window.location.origin) {
|
|
16
|
-
if (mode === "push") window.location.assign(url.href);
|
|
17
|
-
else window.location.replace(url.href);
|
|
18
|
-
return;
|
|
19
|
-
}
|
|
20
|
-
if (mode === "push") window.history.pushState(null, "", url.href);
|
|
21
|
-
else window.history.replaceState(null, "", url.href);
|
|
22
|
-
window.dispatchEvent(new PopStateEvent("popstate"));
|
|
23
|
-
} catch {
|
|
24
|
-
if (mode === "push") window.location.assign(href);
|
|
25
|
-
else window.location.replace(href);
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
11
|
function fallbackUseRouter() {
|
|
29
12
|
if (typeof window === "undefined") return noopRouter;
|
|
30
13
|
return {
|
|
31
|
-
push: (href) =>
|
|
32
|
-
replace: (href) =>
|
|
14
|
+
push: (href) => window.location.assign(href),
|
|
15
|
+
replace: (href) => window.location.replace(href),
|
|
33
16
|
back: () => window.history.back(),
|
|
34
17
|
forward: () => window.history.forward(),
|
|
35
18
|
refresh: () => window.location.reload(),
|
|
@@ -135,4 +118,4 @@ export {
|
|
|
135
118
|
ServerInsertedHTMLContext,
|
|
136
119
|
init_next_navigation
|
|
137
120
|
};
|
|
138
|
-
//# sourceMappingURL=chunk-
|
|
121
|
+
//# sourceMappingURL=chunk-PLJLE4A4.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/embed-shims/next-navigation.tsx"],"sourcesContent":["/**\n * `next/navigation` shim — environment-aware app-router hooks.\n *\n * Defaults to lightweight stubs backed by `window.location` and\n * `URLSearchParams` so lib components that read the URL work outside\n * a Next.js router shell. Next.js hosts can opt into the REAL\n * `next/navigation` exports (full client-router integration —\n * `router.replace(href, { scroll: false })`, etc.) by calling\n * {@link registerNavigation} ONCE at app init:\n *\n * // hub: lib/embed-shim-registration.ts\n * import {\n * useRouter, usePathname, useSearchParams, useParams,\n * redirect, permanentRedirect, notFound,\n * } from 'next/navigation'\n * import { registerNavigation } from '@flamingo-stack/openframe-frontend-core/embed-shims'\n * registerNavigation({\n * useRouter, usePathname, useSearchParams, useParams,\n * redirect, permanentRedirect, notFound,\n * })\n *\n * After registration, every exported hook in this file delegates to\n * the real implementation. Without registration, the stubs run:\n *\n * - `useRouter()` → push/replace use `window.location.assign/replace`;\n * back/forward use `history.back/forward`; refresh reloads; prefetch\n * is a no-op.\n * - `usePathname()` → returns `window.location.pathname` (popstate-\n * subscribed so back/forward re-renders).\n * - `useSearchParams()` → returns `URLSearchParams` view of\n * `window.location.search` (popstate-subscribed).\n * - `useParams()` → returns `{}` — embedders that need dynamic\n * params should parse them from `usePathname()` themselves.\n * - `notFound()` / `redirect()` / `permanentRedirect()` —\n * best-effort equivalents using `window.location`.\n *\n * The fallback path subscribes to `popstate` only. Programmatic\n * `pushState`/`replaceState` does NOT fire popstate, so the fallback\n * does not auto-re-render on programmatic navigation. Embedders that\n * need that should register a real router or supply their own.\n */\n'use client'\nimport { useEffect, useState } from 'react'\n\n// --- Router shape — matches Next's AppRouterInstance surface enough to\n// --- satisfy hub callsites that pass options like `{ scroll: false }`.\ninterface NavigateOptions {\n scroll?: boolean\n}\n\ninterface PrefetchOptions {\n kind?: unknown\n}\n\ninterface RouterStub {\n push: (href: string, options?: NavigateOptions) => void\n replace: (href: string, options?: NavigateOptions) => void\n back: () => void\n forward: () => void\n refresh: () => void\n prefetch: (href: string, options?: PrefetchOptions) => void\n}\n\n// --- Registration surface — partial so a host can register only the\n// --- hooks it needs (e.g. routes that don't use redirect()).\nexport interface NavigationImpl {\n useRouter: () => RouterStub\n usePathname: () => string\n useSearchParams: () => URLSearchParams\n useParams: <T extends Record<string, string | string[]>>() => T\n redirect: (url: string, type?: unknown) => never\n permanentRedirect: (url: string, type?: unknown) => never\n notFound: () => never\n}\n\nlet impl: Partial<NavigationImpl> = {}\n\n/**\n * Register real `next/navigation` exports. Merges with any prior\n * registration so partial-overrides are safe. Call ONCE at app init\n * in a Next.js host.\n */\nexport function registerNavigation(nav: Partial<NavigationImpl>): void {\n impl = { ...impl, ...nav }\n}\n\n// --- Fallback impls ----------------------------------------------------\n\nconst noopRouter: RouterStub = {\n push: () => {},\n replace: () => {},\n back: () => {},\n forward: () => {},\n refresh: () => {},\n prefetch: () => {},\n}\n\nfunction fallbackUseRouter(): RouterStub {\n if (typeof window === 'undefined') return noopRouter\n return {\n push: (href: string) => window.location.assign(href),\n replace: (href: string) => window.location.replace(href),\n back: () => window.history.back(),\n forward: () => window.history.forward(),\n refresh: () => window.location.reload(),\n prefetch: () => {},\n }\n}\n\nfunction readLocation<T>(read: () => T, fallback: T): T {\n return typeof window === 'undefined' ? fallback : read()\n}\n\n/** Subscribes to `popstate` only. pushState/replaceState do NOT fire\n * popstate by design — callers that mutate the URL programmatically\n * (and want their component to re-render in response) need a real\n * router. */\nfunction useLocationSubscription(): number {\n const [tick, setTick] = useState(0)\n useEffect(() => {\n if (typeof window === 'undefined') return\n const onChange = () => setTick((t) => t + 1)\n window.addEventListener('popstate', onChange)\n return () => window.removeEventListener('popstate', onChange)\n }, [])\n return tick\n}\n\nfunction fallbackUsePathname(): string {\n useLocationSubscription()\n return readLocation(() => window.location.pathname, '/')\n}\n\nfunction fallbackUseSearchParams(): URLSearchParams {\n useLocationSubscription()\n return readLocation(\n () => new URLSearchParams(window.location.search),\n new URLSearchParams(),\n )\n}\n\nfunction fallbackUseParams<T extends Record<string, string | string[]>>(): T {\n return {} as T\n}\n\nfunction fallbackRedirect(url: string): never {\n if (typeof window !== 'undefined') window.location.assign(url)\n throw new Error(`[next-navigation shim] redirect(${url})`)\n}\n\nfunction fallbackPermanentRedirect(url: string): never {\n if (typeof window !== 'undefined') window.location.replace(url)\n throw new Error(`[next-navigation shim] permanentRedirect(${url})`)\n}\n\nfunction fallbackNotFound(): never {\n throw new Error('[next-navigation shim] notFound()')\n}\n\n// --- Public surface — each export checks the registry and falls\n// --- through to the fallback. Hooks must remain hooks (no early-\n// --- return-before-hook) — the registry lookup is itself synchronous\n// --- and the registered impl is a hook in its own right.\n\nexport function useRouter(): RouterStub {\n return (impl.useRouter ?? fallbackUseRouter)()\n}\n\nexport function usePathname(): string {\n return (impl.usePathname ?? fallbackUsePathname)()\n}\n\nexport function useSearchParams(): URLSearchParams {\n return (impl.useSearchParams ?? fallbackUseSearchParams)()\n}\n\nexport function useParams<T extends Record<string, string | string[]>>(): T {\n return ((impl.useParams as (() => T) | undefined) ?? fallbackUseParams)()\n}\n\nexport function redirect(url: string, type?: unknown): never {\n return (impl.redirect ?? fallbackRedirect)(url, type)\n}\n\nexport function permanentRedirect(url: string, type?: unknown): never {\n return (impl.permanentRedirect ?? fallbackPermanentRedirect)(url, type)\n}\n\nexport function notFound(): never {\n return (impl.notFound ?? fallbackNotFound)()\n}\n\n/** Match Next's RedirectType enum surface for code that imports it. */\nexport const RedirectType = {\n push: 'push' as const,\n replace: 'replace' as const,\n}\n\n/** Match Next's ServerInsertedHTMLContext surface — non-functional in\n * the embed environment but importable so consumers don't crash. */\nexport const ServerInsertedHTMLContext = null as any\n"],"mappings":";;;;;;AA0CA,SAAS,WAAW,gBAAgB;AAwC7B,SAAS,mBAAmB,KAAoC;AACrE,SAAO,EAAE,GAAG,MAAM,GAAG,IAAI;AAC3B;AAaA,SAAS,oBAAgC;AACvC,MAAI,OAAO,WAAW,YAAa,QAAO;AAC1C,SAAO;AAAA,IACL,MAAM,CAAC,SAAiB,OAAO,SAAS,OAAO,IAAI;AAAA,IACnD,SAAS,CAAC,SAAiB,OAAO,SAAS,QAAQ,IAAI;AAAA,IACvD,MAAM,MAAM,OAAO,QAAQ,KAAK;AAAA,IAChC,SAAS,MAAM,OAAO,QAAQ,QAAQ;AAAA,IACtC,SAAS,MAAM,OAAO,SAAS,OAAO;AAAA,IACtC,UAAU,MAAM;AAAA,IAAC;AAAA,EACnB;AACF;AAEA,SAAS,aAAgB,MAAe,UAAgB;AACtD,SAAO,OAAO,WAAW,cAAc,WAAW,KAAK;AACzD;AAMA,SAAS,0BAAkC;AACzC,QAAM,CAAC,MAAM,OAAO,IAAI,SAAS,CAAC;AAClC,YAAU,MAAM;AACd,QAAI,OAAO,WAAW,YAAa;AACnC,UAAM,WAAW,MAAM,QAAQ,CAAC,MAAM,IAAI,CAAC;AAC3C,WAAO,iBAAiB,YAAY,QAAQ;AAC5C,WAAO,MAAM,OAAO,oBAAoB,YAAY,QAAQ;AAAA,EAC9D,GAAG,CAAC,CAAC;AACL,SAAO;AACT;AAEA,SAAS,sBAA8B;AACrC,0BAAwB;AACxB,SAAO,aAAa,MAAM,OAAO,SAAS,UAAU,GAAG;AACzD;AAEA,SAAS,0BAA2C;AAClD,0BAAwB;AACxB,SAAO;AAAA,IACL,MAAM,IAAI,gBAAgB,OAAO,SAAS,MAAM;AAAA,IAChD,IAAI,gBAAgB;AAAA,EACtB;AACF;AAEA,SAAS,oBAAoE;AAC3E,SAAO,CAAC;AACV;AAEA,SAAS,iBAAiB,KAAoB;AAC5C,MAAI,OAAO,WAAW,YAAa,QAAO,SAAS,OAAO,GAAG;AAC7D,QAAM,IAAI,MAAM,mCAAmC,GAAG,GAAG;AAC3D;AAEA,SAAS,0BAA0B,KAAoB;AACrD,MAAI,OAAO,WAAW,YAAa,QAAO,SAAS,QAAQ,GAAG;AAC9D,QAAM,IAAI,MAAM,4CAA4C,GAAG,GAAG;AACpE;AAEA,SAAS,mBAA0B;AACjC,QAAM,IAAI,MAAM,mCAAmC;AACrD;AAOO,SAAS,YAAwB;AACtC,UAAQ,KAAK,aAAa,mBAAmB;AAC/C;AAEO,SAAS,cAAsB;AACpC,UAAQ,KAAK,eAAe,qBAAqB;AACnD;AAEO,SAAS,kBAAmC;AACjD,UAAQ,KAAK,mBAAmB,yBAAyB;AAC3D;AAEO,SAAS,YAA4D;AAC1E,UAAS,KAAK,aAAuC,mBAAmB;AAC1E;AAEO,SAAS,SAAS,KAAa,MAAuB;AAC3D,UAAQ,KAAK,YAAY,kBAAkB,KAAK,IAAI;AACtD;AAEO,SAAS,kBAAkB,KAAa,MAAuB;AACpE,UAAQ,KAAK,qBAAqB,2BAA2B,KAAK,IAAI;AACxE;AAEO,SAAS,WAAkB;AAChC,UAAQ,KAAK,YAAY,kBAAkB;AAC7C;AA9LA,IA2EI,MAaE,YAyGO,cAOA;AAxMb;AAAA;AA2EA,IAAI,OAAgC,CAAC;AAarC,IAAM,aAAyB;AAAA,MAC7B,MAAM,MAAM;AAAA,MAAC;AAAA,MACb,SAAS,MAAM;AAAA,MAAC;AAAA,MAChB,MAAM,MAAM;AAAA,MAAC;AAAA,MACb,SAAS,MAAM;AAAA,MAAC;AAAA,MAChB,SAAS,MAAM;AAAA,MAAC;AAAA,MAChB,UAAU,MAAM;AAAA,MAAC;AAAA,IACnB;AAkGO,IAAM,eAAe;AAAA,MAC1B,MAAM;AAAA,MACN,SAAS;AAAA,IACX;AAIO,IAAM,4BAA4B;AAAA;AAAA;","names":[]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
ContactForm
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-APWAFTFL.js";
|
|
5
5
|
import {
|
|
6
6
|
DeliveryRow,
|
|
7
7
|
DevCardRowContent,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
EmptyState,
|
|
11
11
|
UnifiedPagination,
|
|
12
12
|
init_unified_pagination
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-56NEIHTC.js";
|
|
14
14
|
import {
|
|
15
15
|
AlertDialog,
|
|
16
16
|
AlertDialogAction,
|
|
@@ -37,14 +37,14 @@ import {
|
|
|
37
37
|
getStatusColorScheme,
|
|
38
38
|
useChatAttachments,
|
|
39
39
|
useChatIdentity
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-H2ECFX4G.js";
|
|
41
41
|
import {
|
|
42
42
|
STICKY_HEADER_OFFSET_PX,
|
|
43
43
|
embedAuthedFetch,
|
|
44
44
|
scrollElementIntoView,
|
|
45
45
|
toast,
|
|
46
46
|
useScrollToHash
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-OMUCATVA.js";
|
|
48
48
|
import {
|
|
49
49
|
useRequiredChatRuntime
|
|
50
50
|
} from "./chunk-KFQXO7QB.js";
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
usePathname,
|
|
53
53
|
useRouter,
|
|
54
54
|
useSearchParams
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-PLJLE4A4.js";
|
|
56
56
|
import {
|
|
57
57
|
Button,
|
|
58
58
|
Input,
|
|
@@ -1913,4 +1913,4 @@ export {
|
|
|
1913
1913
|
HelpCenterCreateForm,
|
|
1914
1914
|
HelpCenterList
|
|
1915
1915
|
};
|
|
1916
|
-
//# sourceMappingURL=chunk-
|
|
1916
|
+
//# sourceMappingURL=chunk-RUQ4MVBN.js.map
|
|
@@ -15,7 +15,7 @@ var _chunk2B6773QMcjs = require('./chunk-2B6773QM.cjs');
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkG7UE6RKVcjs = require('./chunk-G7UE6RKV.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
@@ -1592,7 +1592,7 @@ var useToast = () => ({
|
|
|
1592
1592
|
|
|
1593
1593
|
// src/hooks/use-contact-submission.ts
|
|
1594
1594
|
|
|
1595
|
-
|
|
1595
|
+
_chunkG7UE6RKVcjs.init_next_navigation.call(void 0, );
|
|
1596
1596
|
|
|
1597
1597
|
// src/utils/local-storage-adapter.ts
|
|
1598
1598
|
function getStorage(backend) {
|
|
@@ -1854,7 +1854,7 @@ var contentFetch = (input, init) => {
|
|
|
1854
1854
|
function useContactSubmission(options = {}) {
|
|
1855
1855
|
const { userId, successRedirectUrl, successToastMessage, onSuccess } = options;
|
|
1856
1856
|
const { toast: toast2 } = useToast();
|
|
1857
|
-
const router =
|
|
1857
|
+
const router = _chunkG7UE6RKVcjs.useRouter.call(void 0, );
|
|
1858
1858
|
const { contactUrl } = _chunk2B6773QMcjs.useRequiredEndpointsRuntime.call(void 0, );
|
|
1859
1859
|
const [isSubmitting, setIsSubmitting] = _react.useState.call(void 0, false);
|
|
1860
1860
|
const [isSuccess, setIsSuccess] = _react.useState.call(void 0, false);
|
|
@@ -2280,7 +2280,7 @@ function useAuthenticatedImage(imageUrl, refreshKey, config) {
|
|
|
2280
2280
|
}
|
|
2281
2281
|
|
|
2282
2282
|
// src/hooks/state/use-query-params.ts
|
|
2283
|
-
|
|
2283
|
+
_chunkG7UE6RKVcjs.init_next_navigation.call(void 0, );
|
|
2284
2284
|
|
|
2285
2285
|
|
|
2286
2286
|
// src/hooks/state/graphql-parser.ts
|
|
@@ -2741,8 +2741,8 @@ var introspector = new GraphQLIntrospector();
|
|
|
2741
2741
|
|
|
2742
2742
|
// src/hooks/state/use-query-params.ts
|
|
2743
2743
|
function useQueryParams(query, options = {}) {
|
|
2744
|
-
const router =
|
|
2745
|
-
const searchParams =
|
|
2744
|
+
const router = _chunkG7UE6RKVcjs.useRouter.call(void 0, );
|
|
2745
|
+
const searchParams = _chunkG7UE6RKVcjs.useSearchParams.call(void 0, );
|
|
2746
2746
|
const [isLoading, setIsLoading] = _react.useState.call(void 0, true);
|
|
2747
2747
|
const [isReady, setIsReady] = _react.useState.call(void 0, false);
|
|
2748
2748
|
const [error, setError] = _react.useState.call(void 0, null);
|
|
@@ -2901,7 +2901,7 @@ function applyParamMapping(schema, mapping) {
|
|
|
2901
2901
|
}
|
|
2902
2902
|
|
|
2903
2903
|
// src/hooks/state/use-api-params.ts
|
|
2904
|
-
|
|
2904
|
+
_chunkG7UE6RKVcjs.init_next_navigation.call(void 0, );
|
|
2905
2905
|
|
|
2906
2906
|
function useContentStable(value, key) {
|
|
2907
2907
|
const ref = _react.useRef.call(void 0, void 0);
|
|
@@ -2917,8 +2917,8 @@ function reuseIfShallowEqual(prev, next) {
|
|
|
2917
2917
|
return prev;
|
|
2918
2918
|
}
|
|
2919
2919
|
function useApiParams(schema, options = {}) {
|
|
2920
|
-
const router =
|
|
2921
|
-
const searchParamsLive =
|
|
2920
|
+
const router = _chunkG7UE6RKVcjs.useRouter.call(void 0, );
|
|
2921
|
+
const searchParamsLive = _chunkG7UE6RKVcjs.useSearchParams.call(void 0, );
|
|
2922
2922
|
const debug = options.debug || false;
|
|
2923
2923
|
const searchString = searchParamsLive.toString();
|
|
2924
2924
|
const schemaKey = _react.useMemo.call(void 0, () => JSON.stringify(schema), [schema]);
|
|
@@ -3766,4 +3766,4 @@ function useHumanitySignals() {
|
|
|
3766
3766
|
|
|
3767
3767
|
|
|
3768
3768
|
exports.useAutoLimitTags = useAutoLimitTags; exports.useDebounce = useDebounce; exports.useDeferredError = useDeferredError; exports.useFocusTrap = useFocusTrap; exports.useHeaderHeight = useHeaderHeight; exports.useHorizontalScrollbar = useHorizontalScrollbar; exports.useImageEdgeColor = useImageEdgeColor; exports.useLocalStorage = useLocalStorage; exports.useMediaQuery = useMediaQuery; exports.breakpoints = breakpoints; exports.useSmUp = useSmUp; exports.useMdUp = useMdUp; exports.useLgUp = useLgUp; exports.useMemoizedCallback = useMemoizedCallback; exports.useNotificationPermission = useNotificationPermission; exports.useOnboardingState = useOnboardingState; exports.useSearch = useSearch; exports.useTablePagination = useTablePagination; exports.useThrottle = useThrottle; exports.useWindowSize = useWindowSize; exports.usePreventScroll = _overlays.usePreventScroll; exports.platformIcons = platformIcons; exports.platformColors = platformColors; exports.platformDisplayNames = platformDisplayNames; exports.platformDescriptions = platformDescriptions; exports.platformSlogans = platformSlogans; exports.platformHexColors = platformHexColors; exports.platformIconNames = platformIconNames; exports.getDefaultColorForPlatform = getDefaultColorForPlatform; exports.getDefaultIconForPlatform = getDefaultIconForPlatform; exports.transformPlatformConfigsToOptions = transformPlatformConfigsToOptions; exports.getPlatformIcon = getPlatformIcon; exports.getPlatformColor = getPlatformColor; exports.getPlatformDisplayName = getPlatformDisplayName; exports.getPlatformDescription = getPlatformDescription; exports.getPlatformSlogan = getPlatformSlogan; exports.getSmallPlatformIcon = getSmallPlatformIcon; exports.getPlatformIconComponent = getPlatformIconComponent; exports.usePlatformConfig = usePlatformConfig; exports.usePlatformByValue = usePlatformByValue; exports.useValidatePlatform = useValidatePlatform; exports.ToolTypeValues = ToolTypeValues; exports.toolLabels = toolLabels; exports.ToolIcon = ToolIcon; exports.dotColorByVariant = dotColorByVariant; exports.progressColorByVariant = progressColorByVariant; exports.ToastCard = ToastCard; exports.CommandApprovalToast = CommandApprovalToast; exports.Toaster = Toaster; exports.showToast = showToast; exports.showCommandApprovalToast = showCommandApprovalToast; exports.toast = toast; exports.useToast = useToast; exports.getAppType = getAppType; exports.getEmbedProxyAuth = getEmbedProxyAuth; exports.getPersistedProxyEmail = getPersistedProxyEmail; exports.setEmbedProxyAuth = setEmbedProxyAuth; exports.clearEmbedProxyAuth = clearEmbedProxyAuth; exports.applyProxyAuth = applyProxyAuth; exports.setEmbedAuthAdapter = setEmbedAuthAdapter; exports.embedAuthedFetch = embedAuthedFetch; exports.contentFetch = contentFetch; exports.useContactSubmission = useContactSubmission; exports.useQuickActionHint = useQuickActionHint; exports.useCopyToClipboard = useCopyToClipboard; exports.configureBatchImageFetch = configureBatchImageFetch; exports.batchFetchAuthenticatedImages = batchFetchAuthenticatedImages; exports.useBatchImages = useBatchImages; exports.configureAuthenticatedImage = configureAuthenticatedImage; exports.useAuthenticatedImage = useAuthenticatedImage; exports.extractVariablesFromQuery = extractVariablesFromQuery; exports.isScalarType = isScalarType; exports.isInputObjectType = isInputObjectType; exports.flattenQueryVariables = flattenQueryVariables; exports.mergeDefaults = mergeDefaults; exports.validateSchema = validateSchema; exports.getArrayParams = getArrayParams; exports.getRequiredParams = getRequiredParams; exports.shouldIncludeInUrl = shouldIncludeInUrl; exports.urlParamsToVariables = urlParamsToVariables; exports.variablesToUrlParams = variablesToUrlParams; exports.coerceValue = coerceValue; exports.setNestedValue = setNestedValue; exports.getNestedValue = getNestedValue; exports.mergeVariables = mergeVariables; exports.clearParams = clearParams; exports.validateVariables = validateVariables; exports.GraphQLIntrospector = GraphQLIntrospector; exports.introspector = introspector; exports.useQueryParams = useQueryParams; exports.useApiParams = useApiParams; exports.createSearchParams = createSearchParams; exports.useCursorPaginationState = useCursorPaginationState; exports.useNatsClient = useNatsClient; exports.useNearViewport = useNearViewport; exports.validateAccessCode = validateAccessCode; exports.consumeAccessCode = consumeAccessCode; exports.validateAndConsumeAccessCode = validateAndConsumeAccessCode; exports.useAccessCodeIntegration = useAccessCodeIntegration; exports.buildOgPlaceholderUrl = buildOgPlaceholderUrl; exports.useOgPlaceholderUrl = useOgPlaceholderUrl; exports.scrollElementIntoView = scrollElementIntoView; exports.STICKY_HEADER_OFFSET_PX = STICKY_HEADER_OFFSET_PX; exports.HUB_HEADER_OFFSET_PX = HUB_HEADER_OFFSET_PX; exports.normalizeHashFragment = normalizeHashFragment; exports.navigateSamePageHash = navigateSamePageHash; exports.useScrollToHash = useScrollToHash; exports.HONEYPOT_FIELD = HONEYPOT_FIELD; exports.ELAPSED_MS_FIELD = ELAPSED_MS_FIELD; exports.DEFAULT_MIN_FILL_MS = DEFAULT_MIN_FILL_MS; exports.extractHumanitySignals = extractHumanitySignals; exports.evaluateHumanitySignals = evaluateHumanitySignals; exports.splitCsvEnv = splitCsvEnv; exports.useHumanitySignals = useHumanitySignals;
|
|
3769
|
-
//# sourceMappingURL=chunk-
|
|
3769
|
+
//# sourceMappingURL=chunk-SR6LEWCF.cjs.map
|