@flamingo-stack/openframe-frontend-core 0.0.234 → 0.0.235-snapshot.20260609012305

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.
Files changed (94) hide show
  1. package/dist/{chunk-Z46NRJWW.js → chunk-265KKBV2.js} +2 -2
  2. package/dist/{chunk-D3S2ODUI.js → chunk-2ZRG446O.js} +4 -4
  3. package/dist/{chunk-YZDUOUMB.js → chunk-AGU44B7B.js} +2 -2
  4. package/dist/chunk-FIG2RKZF.cjs +169 -0
  5. package/dist/chunk-FIG2RKZF.cjs.map +1 -0
  6. package/dist/{chunk-IBSZ27Y7.cjs → chunk-GFJIA3WB.cjs} +7 -7
  7. package/dist/{chunk-IBSZ27Y7.cjs.map → chunk-GFJIA3WB.cjs.map} +1 -1
  8. package/dist/{chunk-E6B4B7GM.cjs → chunk-GRTZ23GL.cjs} +49 -49
  9. package/dist/{chunk-E6B4B7GM.cjs.map → chunk-GRTZ23GL.cjs.map} +1 -1
  10. package/dist/{chunk-UYWJM2LS.cjs → chunk-H5OOU7SA.cjs} +12 -12
  11. package/dist/{chunk-UYWJM2LS.cjs.map → chunk-H5OOU7SA.cjs.map} +1 -1
  12. package/dist/{chunk-DHCGJW3G.js → chunk-IG46BVL7.js} +8 -6
  13. package/dist/chunk-IG46BVL7.js.map +1 -0
  14. package/dist/{chunk-GSD52WAS.js → chunk-IZUHYPJB.js} +4 -4
  15. package/dist/{chunk-BOF5MSRY.js → chunk-K5ZRYTQL.js} +3 -3
  16. package/dist/{chunk-GYRRSOTR.cjs → chunk-LPJPTBRI.cjs} +38 -38
  17. package/dist/{chunk-GYRRSOTR.cjs.map → chunk-LPJPTBRI.cjs.map} +1 -1
  18. package/dist/{chunk-LLTUSEHF.js → chunk-Q3GY66ST.js} +3 -3
  19. package/dist/{chunk-F6F525T7.js → chunk-T3X3P7FI.js} +2 -2
  20. package/dist/{chunk-EO3RG6II.cjs → chunk-USOSEJI4.cjs} +16 -16
  21. package/dist/{chunk-EO3RG6II.cjs.map → chunk-USOSEJI4.cjs.map} +1 -1
  22. package/dist/{chunk-52PRKXK4.cjs → chunk-UUQGED7M.cjs} +32 -32
  23. package/dist/{chunk-52PRKXK4.cjs.map → chunk-UUQGED7M.cjs.map} +1 -1
  24. package/dist/{chunk-W7P7RH2X.cjs → chunk-XCZUMV3F.cjs} +1275 -1273
  25. package/dist/chunk-XCZUMV3F.cjs.map +1 -0
  26. package/dist/chunk-XTCBRQN2.js +169 -0
  27. package/dist/chunk-XTCBRQN2.js.map +1 -0
  28. package/dist/{chunk-MWW7LKDN.cjs → chunk-Z4IBEIWD.cjs} +8 -8
  29. package/dist/{chunk-MWW7LKDN.cjs.map → chunk-Z4IBEIWD.cjs.map} +1 -1
  30. package/dist/components/chat/index.cjs +6 -6
  31. package/dist/components/chat/index.js +5 -5
  32. package/dist/components/contact/index.cjs +7 -7
  33. package/dist/components/contact/index.js +6 -6
  34. package/dist/components/features/index.cjs +6 -6
  35. package/dist/components/features/index.js +5 -5
  36. package/dist/components/icons/index.cjs +3 -3
  37. package/dist/components/icons/index.js +2 -2
  38. package/dist/components/index.cjs +237 -238
  39. package/dist/components/index.cjs.map +1 -1
  40. package/dist/components/index.js +9 -10
  41. package/dist/components/index.js.map +1 -1
  42. package/dist/components/navigation/index.cjs +6 -6
  43. package/dist/components/navigation/index.js +5 -5
  44. package/dist/components/onboarding-guides/index.cjs +30 -30
  45. package/dist/components/onboarding-guides/index.js +7 -7
  46. package/dist/components/resizable.d.ts +1 -1
  47. package/dist/components/tickets/index.cjs +89 -89
  48. package/dist/components/tickets/index.js +8 -8
  49. package/dist/components/ui/file-manager/index.cjs +69 -69
  50. package/dist/components/ui/file-manager/index.js +2 -2
  51. package/dist/components/ui/index.cjs +6 -6
  52. package/dist/components/ui/index.js +5 -5
  53. package/dist/components/vendor-display-button.d.ts.map +1 -1
  54. package/dist/hooks/index.cjs +4 -4
  55. package/dist/hooks/index.js +3 -3
  56. package/dist/index.cjs +6 -6
  57. package/dist/index.js +5 -5
  58. package/dist/platform-domains.cjs +149 -0
  59. package/dist/platform-domains.cjs.map +1 -0
  60. package/dist/platform-domains.d.ts +106 -0
  61. package/dist/platform-domains.d.ts.map +1 -0
  62. package/dist/platform-domains.js +134 -0
  63. package/dist/platform-domains.js.map +1 -0
  64. package/dist/types/index.cjs +87 -0
  65. package/dist/types/index.cjs.map +1 -1
  66. package/dist/types/index.js +87 -0
  67. package/dist/types/index.js.map +1 -1
  68. package/dist/utils/cn.d.ts +8 -43
  69. package/dist/utils/cn.d.ts.map +1 -1
  70. package/dist/utils/index.cjs +113 -72
  71. package/dist/utils/index.cjs.map +1 -1
  72. package/dist/utils/index.d.ts +3 -2
  73. package/dist/utils/index.d.ts.map +1 -1
  74. package/dist/utils/index.js +113 -72
  75. package/dist/utils/index.js.map +1 -1
  76. package/package.json +7 -1
  77. package/src/__tests__/platform-domains.test.ts +189 -0
  78. package/src/components/vendor-display-button.tsx +4 -3
  79. package/src/platform-domains.ts +299 -0
  80. package/src/utils/cn.ts +18 -134
  81. package/src/utils/index.ts +7 -2
  82. package/dist/chunk-2TBN53KY.cjs +0 -122
  83. package/dist/chunk-2TBN53KY.cjs.map +0 -1
  84. package/dist/chunk-DHCGJW3G.js.map +0 -1
  85. package/dist/chunk-W7P7RH2X.cjs.map +0 -1
  86. package/dist/chunk-YICWWZ3Z.js +0 -122
  87. package/dist/chunk-YICWWZ3Z.js.map +0 -1
  88. /package/dist/{chunk-Z46NRJWW.js.map → chunk-265KKBV2.js.map} +0 -0
  89. /package/dist/{chunk-D3S2ODUI.js.map → chunk-2ZRG446O.js.map} +0 -0
  90. /package/dist/{chunk-YZDUOUMB.js.map → chunk-AGU44B7B.js.map} +0 -0
  91. /package/dist/{chunk-GSD52WAS.js.map → chunk-IZUHYPJB.js.map} +0 -0
  92. /package/dist/{chunk-BOF5MSRY.js.map → chunk-K5ZRYTQL.js.map} +0 -0
  93. /package/dist/{chunk-LLTUSEHF.js.map → chunk-Q3GY66ST.js.map} +0 -0
  94. /package/dist/{chunk-F6F525T7.js.map → chunk-T3X3P7FI.js.map} +0 -0
@@ -0,0 +1,169 @@
1
+ "use client";
2
+ import {
3
+ __esm
4
+ } from "./chunk-GGWZFCYS.js";
5
+
6
+ // src/platform-domains.ts
7
+ function byKey(key) {
8
+ return PLATFORM_DOMAINS.find((e) => e.key === key);
9
+ }
10
+ function envOverrideFor(key) {
11
+ const envVar = byKey(key)?.envVar;
12
+ if (!envVar) return null;
13
+ return ENV_OVERRIDES[envVar] || null;
14
+ }
15
+ function ensureScheme(url) {
16
+ const trimmed = url.trim();
17
+ if (/^[a-z][a-z0-9+.-]*:\/\//i.test(trimmed)) return trimmed;
18
+ return `https://${trimmed.replace(/^\/+/, "")}`;
19
+ }
20
+ function getPlatformProductionUrl(platform) {
21
+ const resolved = envOverrideFor(platform) ?? byKey(platform)?.defaultUrl ?? envOverrideFor("flamingo") ?? "https://www.flamingo.run";
22
+ return ensureScheme(resolved);
23
+ }
24
+ function hostOf(value) {
25
+ if (!value) return null;
26
+ try {
27
+ return new URL(value).hostname.toLowerCase();
28
+ } catch {
29
+ return null;
30
+ }
31
+ }
32
+ function expandWwwApex(host) {
33
+ if (host.startsWith("www.")) return [host, host.slice(4)];
34
+ if (host.split(".").length === 2) return [host, `www.${host}`];
35
+ return [host];
36
+ }
37
+ function toRegistrableBaseDomain(host) {
38
+ const parts = host.split(".");
39
+ if (parts.length >= 2) return parts.slice(-2).join(".");
40
+ return void 0;
41
+ }
42
+ function aliasHostsOf(key) {
43
+ return byKey(key)?.aliasHostnames ?? [];
44
+ }
45
+ function hostsForEntry(entry, opts) {
46
+ const resolved = hostOf(getPlatformProductionUrl(entry.key));
47
+ const hosts = resolved ? expandWwwApex(resolved) : [];
48
+ if (opts.includeAliases) hosts.push(...aliasHostsOf(entry.key));
49
+ return hosts;
50
+ }
51
+ function getPlatformByHostname(hostname) {
52
+ const host = hostname.toLowerCase();
53
+ for (const entry of PLATFORM_DOMAINS) {
54
+ if (entry.pseudo) continue;
55
+ if (hostsForEntry(entry, { includeAliases: true }).includes(host)) return entry.key;
56
+ }
57
+ return null;
58
+ }
59
+ function isPreviewHost(hostname) {
60
+ return hostname.endsWith(".vercel.app");
61
+ }
62
+ function getAllPlatformBaseDomains() {
63
+ if (typeof window === "undefined") return [];
64
+ const hostname = window.location.hostname;
65
+ if (hostname === "localhost" || hostname === "127.0.0.1" || hostname.startsWith("127.")) {
66
+ return [];
67
+ }
68
+ const previewEnv = process.env.VERCEL_ENV === "preview" || process.env.NEXT_PUBLIC_VERCEL_ENV === "preview" || isPreviewHost(hostname);
69
+ if (previewEnv) {
70
+ return [".vercel.app", "vercel.app"];
71
+ }
72
+ const baseDomains = /* @__PURE__ */ new Set();
73
+ for (const entry of PLATFORM_DOMAINS) {
74
+ if (entry.pseudo) continue;
75
+ const host = hostOf(getPlatformProductionUrl(entry.key));
76
+ if (!host) continue;
77
+ const base = toRegistrableBaseDomain(host);
78
+ if (base) {
79
+ baseDomains.add(`.${base}`);
80
+ baseDomains.add(base);
81
+ }
82
+ }
83
+ return Array.from(baseDomains);
84
+ }
85
+ var PLATFORM_DOMAINS, ENV_OVERRIDES, _orderIdx;
86
+ var init_platform_domains = __esm({
87
+ "src/platform-domains.ts"() {
88
+ "use strict";
89
+ PLATFORM_DOMAINS = [
90
+ { key: "marketing-hub", defaultUrl: "https://marketing-hub.flamingo.so", envVar: "NEXT_PUBLIC_MARKETING_HUB_URL" },
91
+ { key: "company-hub", defaultUrl: "https://company-hub.flamingo.so", envVar: "NEXT_PUBLIC_COMPANY_HUB_URL" },
92
+ { key: "product-hub", defaultUrl: "https://product-hub.flamingo.so", envVar: "NEXT_PUBLIC_PRODUCT_HUB_URL" },
93
+ { key: "revenue-hub", defaultUrl: "https://revenue-hub.flamingo.so", envVar: "NEXT_PUBLIC_REVENUE_HUB_URL" },
94
+ { key: "people-hub", defaultUrl: "https://people-hub.flamingo.so", envVar: "NEXT_PUBLIC_PEOPLE_HUB_URL" },
95
+ { key: "openmsp", defaultUrl: "https://www.openmsp.ai", envVar: "NEXT_PUBLIC_OPENMSP_URL" },
96
+ // ORDERING INVARIANT (first-wins, load-bearing): `flamingo` MUST precede `flamingo-teaser` + `universal`.
97
+ // All three resolve to www.flamingo.run; the reverse index is first-wins → flamingo claims the shared host,
98
+ // teaser keeps only its unique flamingo.cx aliases, universal contributes no unique host.
99
+ // ⚠️ DO NOT REORDER — enforced by the module-load self-check at the bottom of this file.
100
+ { key: "flamingo", defaultUrl: "https://www.flamingo.run", envVar: "NEXT_PUBLIC_FLAMINGO_URL" },
101
+ { key: "tmcg", defaultUrl: "https://www.tmcg.miami", envVar: "NEXT_PUBLIC_TMCG_URL" },
102
+ { key: "flamingo-teaser", defaultUrl: "https://www.flamingo.run", envVar: "NEXT_PUBLIC_FLAMINGO_URL", aliasHostnames: ["flamingo.cx", "www.flamingo.cx"] },
103
+ { key: "openframe", defaultUrl: "https://openframe.ai", envVar: "NEXT_PUBLIC_OPENFRAME_URL", aliasHostnames: ["openframe.ai", "www.openframe.ai", "hub.openframe.ai"] },
104
+ { key: "openframe-dashboard", defaultUrl: "https://openframe.ai", envVar: "NEXT_PUBLIC_OPENFRAME_DASHBOARD_URL", pseudo: true },
105
+ { key: "universal", defaultUrl: "https://www.flamingo.run", envVar: "NEXT_PUBLIC_FLAMINGO_URL" }
106
+ ];
107
+ ENV_OVERRIDES = {
108
+ NEXT_PUBLIC_MARKETING_HUB_URL: process.env.NEXT_PUBLIC_MARKETING_HUB_URL,
109
+ NEXT_PUBLIC_COMPANY_HUB_URL: process.env.NEXT_PUBLIC_COMPANY_HUB_URL,
110
+ NEXT_PUBLIC_PRODUCT_HUB_URL: process.env.NEXT_PUBLIC_PRODUCT_HUB_URL,
111
+ NEXT_PUBLIC_REVENUE_HUB_URL: process.env.NEXT_PUBLIC_REVENUE_HUB_URL,
112
+ NEXT_PUBLIC_PEOPLE_HUB_URL: process.env.NEXT_PUBLIC_PEOPLE_HUB_URL,
113
+ NEXT_PUBLIC_OPENMSP_URL: process.env.NEXT_PUBLIC_OPENMSP_URL,
114
+ NEXT_PUBLIC_FLAMINGO_URL: process.env.NEXT_PUBLIC_FLAMINGO_URL,
115
+ NEXT_PUBLIC_TMCG_URL: process.env.NEXT_PUBLIC_TMCG_URL,
116
+ NEXT_PUBLIC_OPENFRAME_URL: process.env.NEXT_PUBLIC_OPENFRAME_URL,
117
+ NEXT_PUBLIC_OPENFRAME_DASHBOARD_URL: process.env.NEXT_PUBLIC_OPENFRAME_DASHBOARD_URL
118
+ };
119
+ _orderIdx = (k) => PLATFORM_DOMAINS.findIndex((e) => e.key === k);
120
+ if (_orderIdx("flamingo") > _orderIdx("flamingo-teaser") || _orderIdx("flamingo") > _orderIdx("universal") || getPlatformByHostname("flamingo.cx") !== "flamingo-teaser" || getPlatformByHostname("hub.openframe.ai") !== "openframe") {
121
+ console.error(
122
+ "[platform-domains] \u26A0\uFE0F PLATFORM_DOMAINS ordering invariant violated \u2014 `flamingo` must precede `flamingo-teaser`/`universal`, and the openframe/teaser aliases must be intact. Do not reorder the table."
123
+ );
124
+ }
125
+ }
126
+ });
127
+
128
+ // src/utils/cn.ts
129
+ import { clsx } from "clsx";
130
+ import { extendTailwindMerge } from "tailwind-merge";
131
+ function cn(...inputs) {
132
+ return twMerge(clsx(inputs));
133
+ }
134
+ function getBaseUrl(platform) {
135
+ if (process.env.NODE_ENV !== "production") {
136
+ return process.env.NEXT_PUBLIC_DEV_URL || "http://localhost:3000";
137
+ }
138
+ if (platform) {
139
+ return getPlatformProductionUrl(platform);
140
+ }
141
+ if (process.env.VERCEL_PROJECT_PRODUCTION_URL) {
142
+ return `https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`;
143
+ }
144
+ return getPlatformProductionUrl(process.env.NEXT_PUBLIC_APP_TYPE || "openmsp");
145
+ }
146
+ var twMerge;
147
+ var init_cn = __esm({
148
+ "src/utils/cn.ts"() {
149
+ "use strict";
150
+ init_platform_domains();
151
+ twMerge = extendTailwindMerge({
152
+ extend: {
153
+ classGroups: {
154
+ "ods-typography": ["text-h1", "text-h2", "text-h3", "text-h4", "text-h5", "text-h6"]
155
+ }
156
+ }
157
+ });
158
+ }
159
+ });
160
+
161
+ export {
162
+ getPlatformProductionUrl,
163
+ getAllPlatformBaseDomains,
164
+ init_platform_domains,
165
+ cn,
166
+ getBaseUrl,
167
+ init_cn
168
+ };
169
+ //# sourceMappingURL=chunk-XTCBRQN2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/platform-domains.ts","../src/utils/cn.ts"],"sourcesContent":["/**\n * Platform-Domain SSOT (single source of truth) + derivations.\n *\n * ONE registry maps each platform → its canonical production URL (`defaultUrl`,\n * the load-bearing source) with an optional per-deploy `NEXT_PUBLIC_*_URL`\n * OVERRIDE. Everything else — the reverse host→platform resolver, the cookie\n * base-domain set (the cross-subdomain SSO mechanism), www/apex expansion, the\n * URL→host parse, preview detection — derives from this one table.\n *\n * EDGE-SAFE + PURE: no React/clsx/tailwind, no `server-only`, no `node:`\n * builtins, no `'use client'`. So it is legal in the Edge middleware\n * (`proxy.ts`), in `'use client'` providers, AND in `server-only` modules\n * (e.g. cookie-domain-server.ts) simultaneously. The ONLY non-pure export is\n * `getAllPlatformBaseDomains`, which reads `typeof window`/`process.env` to\n * preserve byte-identical cookie behavior.\n */\n\nimport type { PlatformName } from './types/platform'\n\nexport type PlatformDomainKey = PlatformName | 'openframe-dashboard'\n\nexport interface PlatformDomainEntry {\n /** Platform key (matches `PlatformName`, plus the forward-only `openframe-dashboard`). */\n key: PlatformDomainKey\n /** Canonical production URL — the LOAD-BEARING source of truth (today's hardcoded fallbacks). */\n defaultUrl: string\n /** `NEXT_PUBLIC_*_URL` per-deploy OVERRIDE. The `defaultUrl` covers it when unset. */\n envVar: string\n /** Legacy/secondary hosts that REVERSE-map to this key (no env var exists — NOT canonical). */\n aliasHostnames?: string[]\n /** Forward-only: no DB row, excluded from the reverse index + cookie set (e.g. the product-CTA dashboard). */\n pseudo?: boolean\n}\n\nexport const PLATFORM_DOMAINS: readonly PlatformDomainEntry[] = [\n { key: 'marketing-hub', defaultUrl: 'https://marketing-hub.flamingo.so', envVar: 'NEXT_PUBLIC_MARKETING_HUB_URL' },\n { key: 'company-hub', defaultUrl: 'https://company-hub.flamingo.so', envVar: 'NEXT_PUBLIC_COMPANY_HUB_URL' },\n { key: 'product-hub', defaultUrl: 'https://product-hub.flamingo.so', envVar: 'NEXT_PUBLIC_PRODUCT_HUB_URL' },\n { key: 'revenue-hub', defaultUrl: 'https://revenue-hub.flamingo.so', envVar: 'NEXT_PUBLIC_REVENUE_HUB_URL' },\n { key: 'people-hub', defaultUrl: 'https://people-hub.flamingo.so', envVar: 'NEXT_PUBLIC_PEOPLE_HUB_URL' },\n { key: 'openmsp', defaultUrl: 'https://www.openmsp.ai', envVar: 'NEXT_PUBLIC_OPENMSP_URL' },\n // ORDERING INVARIANT (first-wins, load-bearing): `flamingo` MUST precede `flamingo-teaser` + `universal`.\n // All three resolve to www.flamingo.run; the reverse index is first-wins → flamingo claims the shared host,\n // teaser keeps only its unique flamingo.cx aliases, universal contributes no unique host.\n // ⚠️ DO NOT REORDER — enforced by the module-load self-check at the bottom of this file.\n { key: 'flamingo', defaultUrl: 'https://www.flamingo.run', envVar: 'NEXT_PUBLIC_FLAMINGO_URL' },\n { key: 'tmcg', defaultUrl: 'https://www.tmcg.miami', envVar: 'NEXT_PUBLIC_TMCG_URL' },\n { key: 'flamingo-teaser', defaultUrl: 'https://www.flamingo.run', envVar: 'NEXT_PUBLIC_FLAMINGO_URL', aliasHostnames: ['flamingo.cx', 'www.flamingo.cx'] },\n { key: 'openframe', defaultUrl: 'https://openframe.ai', envVar: 'NEXT_PUBLIC_OPENFRAME_URL', aliasHostnames: ['openframe.ai', 'www.openframe.ai', 'hub.openframe.ai'] },\n { key: 'openframe-dashboard', defaultUrl: 'https://openframe.ai', envVar: 'NEXT_PUBLIC_OPENFRAME_DASHBOARD_URL', pseudo: true },\n { key: 'universal', defaultUrl: 'https://www.flamingo.run', envVar: 'NEXT_PUBLIC_FLAMINGO_URL' },\n]\n\n// ── Compile-time key guards (anchor the table on PlatformName, both directions) ──\n// (1) Removal/typo guard: every table key must be a valid PlatformDomainKey.\nconst _tableSatisfies = PLATFORM_DOMAINS satisfies readonly PlatformDomainEntry[]\nvoid _tableSatisfies\n// (2) Addition guard: a NEW PlatformName member that lacks a table row fails the build.\ntype _MissingKey = Exclude<PlatformName, (typeof PLATFORM_DOMAINS)[number]['key']>\nconst _exhaustive: [_MissingKey] extends [never] ? true : false = true\nvoid _exhaustive\n\n// ── Env overrides (the ONLY place env URLs enter — literal-key inlined + compile-time-guarded) ──\n// `process.env.NEXT_PUBLIC_X` is build-inlined ONLY with a LITERAL key, so the env-var name is the\n// irreducible two-copy (the registry `envVar` column + the literal access below). The `satisfies` makes\n// `tsc`/`next build` FAIL if this map is missing a registry env var OR carries a stale one (bidirectional).\ntype EnvVarKey = (typeof PLATFORM_DOMAINS)[number]['envVar']\nconst ENV_OVERRIDES = {\n NEXT_PUBLIC_MARKETING_HUB_URL: process.env.NEXT_PUBLIC_MARKETING_HUB_URL,\n NEXT_PUBLIC_COMPANY_HUB_URL: process.env.NEXT_PUBLIC_COMPANY_HUB_URL,\n NEXT_PUBLIC_PRODUCT_HUB_URL: process.env.NEXT_PUBLIC_PRODUCT_HUB_URL,\n NEXT_PUBLIC_REVENUE_HUB_URL: process.env.NEXT_PUBLIC_REVENUE_HUB_URL,\n NEXT_PUBLIC_PEOPLE_HUB_URL: process.env.NEXT_PUBLIC_PEOPLE_HUB_URL,\n NEXT_PUBLIC_OPENMSP_URL: process.env.NEXT_PUBLIC_OPENMSP_URL,\n NEXT_PUBLIC_FLAMINGO_URL: process.env.NEXT_PUBLIC_FLAMINGO_URL,\n NEXT_PUBLIC_TMCG_URL: process.env.NEXT_PUBLIC_TMCG_URL,\n NEXT_PUBLIC_OPENFRAME_URL: process.env.NEXT_PUBLIC_OPENFRAME_URL,\n NEXT_PUBLIC_OPENFRAME_DASHBOARD_URL: process.env.NEXT_PUBLIC_OPENFRAME_DASHBOARD_URL,\n} satisfies Record<EnvVarKey, string | undefined>\n\n/** The registry entry for a key (undefined for an unknown key). */\nexport function byKey(key: string): PlatformDomainEntry | undefined {\n return PLATFORM_DOMAINS.find((e) => e.key === key)\n}\n\n/** Read a platform's `NEXT_PUBLIC_*_URL` override (or null). */\nfunction envOverrideFor(key: string): string | null {\n const envVar = byKey(key)?.envVar\n if (!envVar) return null\n return (ENV_OVERRIDES as Record<string, string | undefined>)[envVar] || null\n}\n\n/**\n * Ensure a URL string carries a scheme. Per-deploy `NEXT_PUBLIC_*_URL` overrides are\n * stored SCHEME-LESS (bare host, e.g. `www.openmsp.ai` / `hub.openframe.ai`) — the\n * canonical convention in the Vercel shared-env store. This normalizes them to a full\n * `https://` URL so every downstream consumer (`hostOf`/`new URL`, hrefs, the cookie\n * base-domain derivation, CSP) receives a parseable URL. Full-URL inputs (the registry\n * `defaultUrl`s, any scheme'd override) pass through unchanged.\n *\n * EXPORTED as the single owner of the scheme-normalization rule (next.config.mjs keeps a\n * byte-identical local copy ONLY because Next evaluates its config outside the TS module\n * graph and cannot import this — see the comment there).\n *\n * Handles a (theoretical) protocol-relative `//host` too: strips the leading slashes so it\n * doesn't become `https:////host` (empty-host → hostOf null → silent platform drop).\n */\nexport function ensureScheme(url: string): string {\n const trimmed = url.trim()\n if (/^[a-z][a-z0-9+.-]*:\\/\\//i.test(trimmed)) return trimmed // already has a scheme\n return `https://${trimmed.replace(/^\\/+/, '')}` // bare host or protocol-relative `//host`\n}\n\n/**\n * Canonical production URL for a platform: env override wins, else the `defaultUrl`.\n * NEVER throws / undefined — the default guarantees a host (this is what keeps the\n * cookie base-domains, the reverse map, and CSP intact even with every override unset).\n * The result ALWAYS carries a scheme (`ensureScheme`), so the scheme-less env overrides\n * resolve to valid URLs. Unknown-key fallback preserves cn.ts's flamingo.run default.\n */\nexport function getPlatformProductionUrl(platform: string): string {\n const resolved =\n envOverrideFor(platform) ??\n byKey(platform)?.defaultUrl ??\n envOverrideFor('flamingo') ??\n 'https://www.flamingo.run'\n return ensureScheme(resolved)\n}\n\n// ── Single-owner host primitives ──\n\n/** Canonical URL→host parser: `.hostname` (PORT-STRIPPED, lowercased), null on parse failure. */\nexport function hostOf(value: string | null | undefined): string | null {\n if (!value) return null\n try {\n return new URL(value).hostname.toLowerCase()\n } catch {\n return null\n }\n}\n\n/** Expand a host into its `www.`/apex pair. 3+-label and single-label hosts return `[host]`. */\nexport function expandWwwApex(host: string): string[] {\n if (host.startsWith('www.')) return [host, host.slice(4)]\n if (host.split('.').length === 2) return [host, `www.${host}`]\n return [host]\n}\n\n/** Registrable base domain (`parts.slice(-2).join('.')`), dotless; undefined for <2-label. */\nexport function toRegistrableBaseDomain(host: string): string | undefined {\n const parts = host.split('.')\n if (parts.length >= 2) return parts.slice(-2).join('.')\n return undefined\n}\n\n/** An entry's alias hosts (single-owner reader). */\nexport function aliasHostsOf(key: string): string[] {\n return byKey(key)?.aliasHostnames ?? []\n}\n\n/** All hosts an entry contributes to the reverse index (resolved host + optional aliases). */\nfunction hostsForEntry(entry: PlatformDomainEntry, opts: { includeAliases: boolean }): string[] {\n const resolved = hostOf(getPlatformProductionUrl(entry.key))\n const hosts = resolved ? expandWwwApex(resolved) : []\n if (opts.includeAliases) hosts.push(...aliasHostsOf(entry.key))\n return hosts\n}\n\n/**\n * Reverse resolver: hostname → platform key (first-wins over registry order, non-pseudo only).\n * Guarantees openframe.ai / www.openframe.ai / hub.openframe.ai → openframe in every env.\n * Replaces the hub `PLATFORM_DOMAIN_MAP`.\n */\nexport function getPlatformByHostname(hostname: string): PlatformDomainKey | null {\n const host = hostname.toLowerCase()\n for (const entry of PLATFORM_DOMAINS) {\n if (entry.pseudo) continue\n if (hostsForEntry(entry, { includeAliases: true }).includes(host)) return entry.key\n }\n return null\n}\n\n// ── Preview detection (two distinct predicates — env-form vs host-form) ──\n\n/** Env-form preview predicate (Vercel `VERCEL_ENV`). */\nexport function isPreviewEnv(): boolean {\n return process.env.VERCEL_ENV === 'preview'\n}\n\n/** Host-form preview predicate (a `*.vercel.app` host). Dot-bounded suffix so a\n * malicious `foo.vercel.app.evil.com` is NOT treated as preview. */\nexport function isPreviewHost(hostname: string): boolean {\n return hostname.endsWith('.vercel.app')\n}\n\n/**\n * ALL unique cookie base domains (the cross-subdomain SSO mechanism).\n *\n * NON-PURE (the sole such export): reads `typeof window` + `process.env` to\n * preserve byte-identical cookie behavior. Keeps the original three branches:\n * 1. localhost / private IP → [] (host-only cookies)\n * 2. Vercel preview (env OR host) → ['.vercel.app','vercel.app']\n * 3. production → for each non-pseudo platform, registrable base of its resolved\n * host, emitted as both `.base` and bare `base`.\n *\n * Because `getPlatformProductionUrl` always yields a host (override OR default),\n * `.flamingo.so` / `.flamingo.run` / `.openmsp.ai` / `.tmcg.miami` / `.openframe.ai`\n * are ALWAYS present → cross-hub SSO is byte-identical to today.\n */\nexport function getAllPlatformBaseDomains(): string[] {\n if (typeof window === 'undefined') return []\n\n const hostname = window.location.hostname\n\n // Case 1: localhost / private IP — no domains\n if (hostname === 'localhost' || hostname === '127.0.0.1' || hostname.startsWith('127.')) {\n return []\n }\n\n // Case 2: Vercel preview — vercel.app domain\n const previewEnv =\n process.env.VERCEL_ENV === 'preview' ||\n process.env.NEXT_PUBLIC_VERCEL_ENV === 'preview' ||\n isPreviewHost(hostname)\n if (previewEnv) {\n return ['.vercel.app', 'vercel.app']\n }\n\n // Case 3: production — registrable base of every non-pseudo platform's resolved host\n const baseDomains = new Set<string>()\n for (const entry of PLATFORM_DOMAINS) {\n if (entry.pseudo) continue\n const host = hostOf(getPlatformProductionUrl(entry.key))\n if (!host) continue\n const base = toRegistrableBaseDomain(host)\n if (base) {\n baseDomains.add(`.${base}`)\n baseDomains.add(base)\n }\n }\n return Array.from(baseDomains)\n}\n\n// ── Cookie-domain guard + match (single owner; shared by the client cookie-domain.ts +\n// server-only cookie-domain-server.ts resolvers, which previously hand-rolled both 3×) ──\n\n/**\n * Hosts that must NOT receive a `Domain=` cookie → the caller returns undefined (host-only):\n * localhost, loopback/private IPs, and any `*.vercel.app`. `vercel.app` is on the Public Suffix\n * List, so browsers SILENTLY drop `Set-Cookie: Domain=.vercel.app` — which broke the PKCE verifier\n * + session cookies on preview deploys. Host-only is sufficient there (the same preview host\n * round-trips the OAuth chain); production hosts (`.flamingo.so`/`.openmsp.ai`/…) fall through.\n */\nexport function isNonCookieableHost(hostname: string): boolean {\n return (\n hostname === 'localhost' ||\n hostname === '127.0.0.1' ||\n hostname.startsWith('127.') ||\n hostname.startsWith('192.168.') ||\n hostname.startsWith('10.') ||\n hostname.includes('.vercel.app')\n )\n}\n\n/**\n * Match a hostname against a set of registrable base domains → the dotted cookie `Domain`\n * (`.flamingo.so`), or undefined when none contains the host. Accepts bases with or without a\n * leading dot and always returns the dotted form. Single owner for the match loop both resolvers ran.\n */\nexport function matchCookieDomain(hostname: string, baseDomains: string[]): string | undefined {\n for (const domain of baseDomains) {\n const bare = domain.startsWith('.') ? domain.slice(1) : domain\n if (hostname === bare || hostname.endsWith(`.${bare}`)) {\n return domain.startsWith('.') ? domain : `.${domain}`\n }\n }\n return undefined\n}\n\n// ── Module-load ordering self-check (NON-fatal — this module is imported by cn.ts → ~everything,\n// so a hard throw would be a total outage if the assertion were ever over-strict). Checks the REAL\n// invariant — table order — STRUCTURALLY (findIndex), NOT via getPlatformByHostname on a hardcoded\n// host: the latter false-positives when NEXT_PUBLIC_FLAMINGO_URL is overridden to a non-default host\n// (flamingo's resolved host changes, so `www.flamingo.run` no longer reverse-maps to it though the\n// ordering is fine). The alias checks below ARE env-immune (aliasHostnames are unique per key). The\n// authoritative guard is the reverse-map vitest. ⚠️ keep `flamingo` before `flamingo-teaser`/`universal`.\nconst _orderIdx = (k: PlatformDomainKey) => PLATFORM_DOMAINS.findIndex((e) => e.key === k)\nif (\n _orderIdx('flamingo') > _orderIdx('flamingo-teaser') ||\n _orderIdx('flamingo') > _orderIdx('universal') ||\n getPlatformByHostname('flamingo.cx') !== 'flamingo-teaser' ||\n getPlatformByHostname('hub.openframe.ai') !== 'openframe'\n) {\n // eslint-disable-next-line no-console\n console.error(\n '[platform-domains] ⚠️ PLATFORM_DOMAINS ordering invariant violated — `flamingo` must precede ' +\n '`flamingo-teaser`/`universal`, and the openframe/teaser aliases must be intact. Do not reorder the table.',\n )\n}\n","import { clsx, type ClassValue } from \"clsx\"\nimport { extendTailwindMerge } from \"tailwind-merge\"\n// Platform→domain resolution moved to the SSOT module `src/platform-domains.ts`.\n// `getPlatformProductionUrl` / `getAllPlatformBaseDomains` now live there (re-exported\n// via the utils barrel for existing callers); `getBaseUrl` stays here because it owns the\n// dev-localhost + Vercel-self-origin branches, and delegates its platform branch.\nimport { getPlatformProductionUrl } from \"../platform-domains\"\n\nconst twMerge = extendTailwindMerge<'ods-typography'>({\n extend: {\n classGroups: {\n 'ods-typography': ['text-h1', 'text-h2', 'text-h3', 'text-h4', 'text-h5', 'text-h6'],\n },\n },\n})\n\n/**\n * Combine class names with Tailwind's merge utility\n */\nexport function cn(...inputs: ClassValue[]) {\n return twMerge(clsx(inputs))\n}\n\n/**\n * Get the application base URL for the current environment\n *\n * @param platform - Optional platform name (openmsp, flamingo, tmcg, openframe, etc.)\n * @returns The base URL with protocol (https:// or http://)\n *\n * Priority order:\n * 1. Development (http://localhost:3000)\n * 2. Platform-specific URL via the SSOT (if `platform` provided) — env override ?? default\n * 3. VERCEL_PROJECT_PRODUCTION_URL (Vercel production domain)\n * 4. Production fallback: the DEPLOYING platform's canonical URL (NEXT_PUBLIC_APP_TYPE),\n * openmsp if unset — sourced from the SSOT, no hardcoded literal.\n *\n * The per-platform canonical URLs + their `NEXT_PUBLIC_*_URL` overrides are the single\n * source of truth in `src/platform-domains.ts` (`PLATFORM_DOMAINS`).\n *\n * @example\n * getBaseUrl() // Current deployment's URL\n * getBaseUrl('flamingo') // https://www.flamingo.run (prod) or http://localhost:3000 (dev)\n */\nexport function getBaseUrl(platform?: string): string {\n // In development, always use localhost (regardless of platform)\n if (process.env.NODE_ENV !== 'production') {\n return process.env.NEXT_PUBLIC_DEV_URL || 'http://localhost:3000'\n }\n\n // If platform is specified, return its production URL (env override ?? default)\n if (platform) {\n return getPlatformProductionUrl(platform)\n }\n\n // Production: Use Vercel domain if available\n if (process.env.VERCEL_PROJECT_PRODUCTION_URL) {\n return `https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`\n }\n\n // Production fallback: the deploying platform's canonical www domain (avoids Google\n // \"Page with redirect\"). Derived from the SSOT for the current app type (openmsp when\n // unset → 'https://www.openmsp.ai', byte-identical to the old hardcoded fallback).\n return getPlatformProductionUrl(process.env.NEXT_PUBLIC_APP_TYPE || 'openmsp')\n}\n"],"mappings":";;;;;;AAiFO,SAAS,MAAM,KAA8C;AAClE,SAAO,iBAAiB,KAAK,CAAC,MAAM,EAAE,QAAQ,GAAG;AACnD;AAGA,SAAS,eAAe,KAA4B;AAClD,QAAM,SAAS,MAAM,GAAG,GAAG;AAC3B,MAAI,CAAC,OAAQ,QAAO;AACpB,SAAQ,cAAqD,MAAM,KAAK;AAC1E;AAiBO,SAAS,aAAa,KAAqB;AAChD,QAAM,UAAU,IAAI,KAAK;AACzB,MAAI,2BAA2B,KAAK,OAAO,EAAG,QAAO;AACrD,SAAO,WAAW,QAAQ,QAAQ,QAAQ,EAAE,CAAC;AAC/C;AASO,SAAS,yBAAyB,UAA0B;AACjE,QAAM,WACJ,eAAe,QAAQ,KACvB,MAAM,QAAQ,GAAG,cACjB,eAAe,UAAU,KACzB;AACF,SAAO,aAAa,QAAQ;AAC9B;AAKO,SAAS,OAAO,OAAiD;AACtE,MAAI,CAAC,MAAO,QAAO;AACnB,MAAI;AACF,WAAO,IAAI,IAAI,KAAK,EAAE,SAAS,YAAY;AAAA,EAC7C,QAAQ;AACN,WAAO;AAAA,EACT;AACF;AAGO,SAAS,cAAc,MAAwB;AACpD,MAAI,KAAK,WAAW,M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AAA,UACX,kBAAkB,CAAC,WAAW,WAAW,WAAW,WAAW,WAAW,SAAS;AAAA,QACrF;AAAA,MACF;AAAA,IACF,CAAC;AAAA;AAAA;","names":[]}
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- var _chunk2TBN53KYcjs = require('./chunk-2TBN53KY.cjs');
5
+ var _chunkFIG2RKZFcjs = require('./chunk-FIG2RKZF.cjs');
6
6
 
7
7
 
8
8
 
@@ -1557,7 +1557,7 @@ function EmptyVendorIcon({ className }) {
1557
1557
  }
1558
1558
 
1559
1559
  // src/components/icons/error-icon.tsx
1560
- _chunk2TBN53KYcjs.init_cn.call(void 0, );
1560
+ _chunkFIG2RKZFcjs.init_cn.call(void 0, );
1561
1561
 
1562
1562
  function ErrorIcon({ className, fill = "#FF6B6B", ...props }) {
1563
1563
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
@@ -1570,7 +1570,7 @@ function ErrorIcon({ className, fill = "#FF6B6B", ...props }) {
1570
1570
  strokeWidth: "2",
1571
1571
  strokeLinecap: "round",
1572
1572
  strokeLinejoin: "round",
1573
- className: _chunk2TBN53KYcjs.cn.call(void 0, "inline-block", className),
1573
+ className: _chunkFIG2RKZFcjs.cn.call(void 0, "inline-block", className),
1574
1574
  ...props,
1575
1575
  children: [
1576
1576
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "circle", { cx: "12", cy: "12", r: "10" }),
@@ -1986,7 +1986,7 @@ function XLogo({ className = "", color = "white", ...props }) {
1986
1986
  }
1987
1987
 
1988
1988
  // src/components/icons/hubspot-icon.tsx
1989
- _chunk2TBN53KYcjs.init_cn.call(void 0, );
1989
+ _chunkFIG2RKZFcjs.init_cn.call(void 0, );
1990
1990
 
1991
1991
  function HubspotIcon({ className, fill = "#FF7A59", ...props }) {
1992
1992
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -1995,7 +1995,7 @@ function HubspotIcon({ className, fill = "#FF7A59", ...props }) {
1995
1995
  xmlns: "http://www.w3.org/2000/svg",
1996
1996
  viewBox: "0 0 512 512",
1997
1997
  fill,
1998
- className: _chunk2TBN53KYcjs.cn.call(void 0, "inline-block", className),
1998
+ className: _chunkFIG2RKZFcjs.cn.call(void 0, "inline-block", className),
1999
1999
  ...props,
2000
2000
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "path", { d: "M266.197 216.109c-22.551 21.293-36.655 51.48-36.655 84.991 0 26.326 8.714 50.582 23.359 70.08l-44.473 44.74c-3.953-1.438-8.176-2.245-12.579-2.245-9.702 0-18.776 3.774-25.605 10.602-6.828 6.827-10.602 15.989-10.602 25.696 0 9.701 3.773 18.775 10.602 25.605 6.829 6.826 15.993 10.42 25.605 10.42 9.703 0 18.777-3.505 25.695-10.42 6.829-6.83 10.602-15.994 10.602-25.605 0-3.774-.538-7.369-1.707-10.873l44.923-45.102c19.765 15.183 44.381 24.169 71.244 24.169 64.599 0 116.797-52.38 116.797-116.977 0-58.578-42.854-107.093-99.007-115.628v-55.343c15.723-6.65 25.335-21.384 25.335-38.545 0-23.449-18.777-43.034-42.227-43.034-23.448 0-41.956 19.585-41.956 43.034 0 17.161 9.613 31.895 25.335 38.545v54.983c-13.655 1.887-26.593 6.019-38.362 12.219-24.796-18.778-105.565-76.997-151.746-112.126 1.078-3.953 1.798-8.085 1.798-12.397 0-25.875-21.113-46.898-47.078-46.898-25.875 0-46.898 21.023-46.898 46.898 0 25.965 21.023 46.988 46.898 46.988 8.805 0 16.98-2.606 24.078-6.828L266.197 216.109zM346.606 363.095c-34.229 0-61.991-27.763-61.991-61.994 0-34.229 27.762-61.99 61.991-61.99 34.23 0 61.992 27.761 61.992 61.99 0 34.231-27.762 61.994-61.992 61.994z" })
2001
2001
  }
@@ -3726,7 +3726,7 @@ function LinuxIcon({ className, color = "white", ...props }) {
3726
3726
  }
3727
3727
 
3728
3728
  // src/components/icons/double-chevron-icon.tsx
3729
- _chunk2TBN53KYcjs.init_cn.call(void 0, );
3729
+ _chunkFIG2RKZFcjs.init_cn.call(void 0, );
3730
3730
 
3731
3731
  var rotationMap = {
3732
3732
  left: "rotate-0",
@@ -3748,7 +3748,7 @@ function DoubleChevronIcon({
3748
3748
  viewBox: "0 0 24 24",
3749
3749
  fill: "none",
3750
3750
  xmlns: "http://www.w3.org/2000/svg",
3751
- className: _chunk2TBN53KYcjs.cn.call(void 0,
3751
+ className: _chunkFIG2RKZFcjs.cn.call(void 0,
3752
3752
  "transition-transform duration-200",
3753
3753
  rotationMap[direction],
3754
3754
  className
@@ -4696,4 +4696,4 @@ var PilotIcon = ({ className = "w-6 h-6", color = "var(--ods-system-greys-white)
4696
4696
 
4697
4697
 
4698
4698
  exports.OpenmspLogo = OpenmspLogo; exports.OpenFrameLogo = OpenFrameLogo; exports.OpenFrameText = OpenFrameText; exports.FLAMINGO_LOGO_SVG_PATH = FLAMINGO_LOGO_SVG_PATH; exports.FLAMINGO_LOGO_VIEWBOX = FLAMINGO_LOGO_VIEWBOX; exports.FlamingoLogo = FlamingoLogo; exports.ElestioLogo = ElestioLogo; exports.MlgLogo = MlgLogo; exports.MiamiCyberGangLogo = MiamiCyberGangLogo; exports.MiamiCyberGangLogoFaceOnly = MiamiCyberGangLogoFaceOnly; exports.VendorsIcon = VendorsIcon; exports.CompareIcon = CompareIcon; exports.CommunityIcon = CommunityIcon; exports.VendorDirectoryIcon = VendorDirectoryIcon; exports.OpenSourceIcon = OpenSourceIcon; exports.CommunityHubIcon = CommunityHubIcon; exports.AboutIcon = AboutIcon; exports.UserIcon = UserIcon; exports.HamburgerIcon = HamburgerIcon; exports.MenuIcon = MenuIcon; exports.ExploreCategoriesIcon = ExploreCategoriesIcon; exports.FilterIcon = FilterIcon; exports.SearchIcon = SearchIcon; exports.ScriptIcon = ScriptIcon; exports.RemoteControlIcon = RemoteControlIcon; exports.ShellIcon = ShellIcon; exports.MingoIcon = MingoIcon; exports.PoliciesIcon = PoliciesIcon; exports.QueriesIcon = QueriesIcon; exports.DocumentIcon = DocumentIcon; exports.SlidersIcon = SlidersIcon; exports.CheckCircleIcon = CheckCircleIcon; exports.PlusCircleIcon = PlusCircleIcon; exports.MinusCircleIcon = MinusCircleIcon; exports.InfoCircleIcon = InfoCircleIcon; exports.ThumbsUpIcon = ThumbsUpIcon; exports.ThumbsDownIcon = ThumbsDownIcon; exports.SunIcon = SunIcon; exports.MoonIcon = MoonIcon; exports.CoinsIcon = CoinsIcon; exports.DonutIcon = DonutIcon; exports.HandDollarIcon = HandDollarIcon; exports.SendIcon = SendIcon; exports.EditProfileIcon = EditProfileIcon; exports.EmptyVendorIcon = EmptyVendorIcon; exports.ErrorIcon = ErrorIcon; exports.MarginCrisisIcon = MarginCrisisIcon; exports.CopyIcon = CopyIcon; exports.CutVendorCostsIcon = CutVendorCostsIcon; exports.AutomateEverythingIcon = AutomateEverythingIcon; exports.ReclaimProfitsIcon = ReclaimProfitsIcon; exports.GitHubIcon = GitHubIcon; exports.SlackIcon = SlackIcon; exports.ClickUpIcon = ClickUpIcon; exports.MicrosoftIcon = MicrosoftIcon; exports.GoogleLogo = GoogleLogo; exports.RedditIcon = RedditIcon; exports.XLogo = XLogo; exports.HubspotIcon = HubspotIcon; exports.ClaudeIcon = ClaudeIcon; exports.LinkedInIcon = LinkedInIcon; exports.LumaIcon = LumaIcon; exports.LivestormIcon = LivestormIcon; exports.PodbeanIcon = PodbeanIcon; exports.WhatsAppIcon = WhatsAppIcon; exports.FigmaIcon = FigmaIcon; exports.ImageIcon = ImageIcon; exports.OpenAiIcon = OpenAiIcon; exports.GoogleGeminiIcon = GoogleGeminiIcon; exports.GlobeIcon = GlobeIcon; exports.MessageCircleIcon = MessageCircleIcon; exports.TelegramIcon = TelegramIcon; exports.YouTubeIcon = YouTubeIcon; exports.InstagramIcon = InstagramIcon; exports.FacebookIcon = FacebookIcon; exports.ArchiveIcon = ArchiveIcon; exports.CpuIcon = CpuIcon; exports.NetworkIcon = NetworkIcon; exports.ShieldIcon = ShieldIcon; exports.FileCheckIcon = FileCheckIcon; exports.BotIcon = BotIcon; exports.UsersIcon = UsersIcon; exports.PackageIcon = PackageIcon; exports.AlertTriangleIcon = AlertTriangleIcon; exports.FileTextIcon = FileTextIcon; exports.SSOConfigurationIcon = SSOConfigurationIcon; exports.XIcon = XIcon; exports.CustomStarIcon = CustomStarIcon; exports.CustomForkIcon = CustomForkIcon; exports.CustomLicenseIcon = CustomLicenseIcon; exports.CustomTimeIcon = CustomTimeIcon; exports.CustomExternalLinkIcon = CustomExternalLinkIcon; exports.VendorShowcaseMainIcon = VendorShowcaseMainIcon; exports.TransparentTrustedIcon = TransparentTrustedIcon; exports.ModularHellIcon = ModularHellIcon; exports.RapidInnovationIcon = RapidInnovationIcon; exports.LowerTCOIcon = LowerTCOIcon; exports.AiRobotIcon = AiRobotIcon; exports.SparklesIcon = SparklesIcon; exports.NaturalLanguageIcon = NaturalLanguageIcon; exports.AutomatedDiagnosticsIcon = AutomatedDiagnosticsIcon; exports.StatusUpdatesIcon = StatusUpdatesIcon; exports.SmartEscalationIcon = SmartEscalationIcon; exports.ScriptGenerationIcon = ScriptGenerationIcon; exports.PatchPolicyIcon = PatchPolicyIcon; exports.BulkOperationsIcon = BulkOperationsIcon; exports.AuditLoggingIcon = AuditLoggingIcon; exports.SOCIcon = SOCIcon; exports.NOCIcon = NOCIcon; exports.ITIcon = ITIcon; exports.OPSIcon = OPSIcon; exports.DashboardIcon = DashboardIcon; exports.DevicesIcon = DevicesIcon; exports.LogsIcon = LogsIcon; exports.OrganizationsIcon = OrganizationsIcon; exports.SettingsIcon = SettingsIcon; exports.LogOutIcon = LogOutIcon; exports.WindowsIcon = WindowsIcon; exports.MacOSIcon = MacOSIcon; exports.LinuxIcon = LinuxIcon; exports.DoubleChevronIcon = DoubleChevronIcon; exports.GridViewIcon = GridViewIcon; exports.TableViewIcon = TableViewIcon; exports.ShieldLockIcon = ShieldLockIcon; exports.ShieldKeyIcon = ShieldKeyIcon; exports.EyeIcon = EyeIcon; exports.ShapeCircleDashIcon = ShapeCircleDashIcon; exports.BuildingsIcon = BuildingsIcon; exports.UsersGroupIcon = UsersGroupIcon; exports.FolderShieldIcon = FolderShieldIcon; exports.ShieldCheckIcon = ShieldCheckIcon; exports.HotelIcon = HotelIcon; exports.JumpInIcon = JumpInIcon; exports.renderSvgIcon = renderSvgIcon; exports.PowerShellIcon = PowerShellIcon; exports.CmdIcon = CmdIcon; exports.BashIcon = BashIcon; exports.PythonIcon = PythonIcon; exports.NushellIcon = NushellIcon; exports.DenoIcon = DenoIcon; exports.DesktopIcon = DesktopIcon; exports.LaptopIcon = LaptopIcon2; exports.ServerIcon = ServerIcon; exports.getDeviceTypeIcon = getDeviceTypeIcon; exports.G2Icon = G2Icon; exports.CapterraIcon = CapterraIcon; exports.TrustpilotIcon = TrustpilotIcon; exports.GetAppIcon = GetAppIcon; exports.CartaIcon = CartaIcon; exports.PilotIcon = PilotIcon;
4699
- //# sourceMappingURL=chunk-MWW7LKDN.cjs.map
4699
+ //# sourceMappingURL=chunk-Z4IBEIWD.cjs.map