@orion-ds/blocks 1.0.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/dist/client.d.ts +20 -0
- package/dist/client.d.ts.map +1 -0
- package/dist/index.cjs +4 -0
- package/dist/index.d.ts +29 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.mjs +4639 -0
- package/dist/sections/AgentFolder/AgentFolder.d.ts +5 -0
- package/dist/sections/AgentFolder/AgentFolder.d.ts.map +1 -0
- package/dist/sections/AgentFolder/AgentFolder.types.d.ts +97 -0
- package/dist/sections/AgentFolder/AgentFolder.types.d.ts.map +1 -0
- package/dist/sections/AgentFolder/index.d.ts +8 -0
- package/dist/sections/AgentFolder/index.d.ts.map +1 -0
- package/dist/sections/AppDownload/AppDownload.d.ts +8 -0
- package/dist/sections/AppDownload/AppDownload.d.ts.map +1 -0
- package/dist/sections/AppDownload/AppDownload.types.d.ts +114 -0
- package/dist/sections/AppDownload/AppDownload.types.d.ts.map +1 -0
- package/dist/sections/AppDownload/index.d.ts +3 -0
- package/dist/sections/AppDownload/index.d.ts.map +1 -0
- package/dist/sections/Blog/Blog.d.ts +8 -0
- package/dist/sections/Blog/Blog.d.ts.map +1 -0
- package/dist/sections/Blog/Blog.types.d.ts +139 -0
- package/dist/sections/Blog/Blog.types.d.ts.map +1 -0
- package/dist/sections/Blog/index.d.ts +3 -0
- package/dist/sections/Blog/index.d.ts.map +1 -0
- package/dist/sections/Breadcrumbs/Breadcrumbs.d.ts +4 -0
- package/dist/sections/Breadcrumbs/Breadcrumbs.d.ts.map +1 -0
- package/dist/sections/Breadcrumbs/Breadcrumbs.types.d.ts +78 -0
- package/dist/sections/Breadcrumbs/Breadcrumbs.types.d.ts.map +1 -0
- package/dist/sections/Breadcrumbs/index.d.ts +3 -0
- package/dist/sections/Breadcrumbs/index.d.ts.map +1 -0
- package/dist/sections/CTA/CTA.d.ts +4 -0
- package/dist/sections/CTA/CTA.d.ts.map +1 -0
- package/dist/sections/CTA/CTA.types.d.ts +74 -0
- package/dist/sections/CTA/CTA.types.d.ts.map +1 -0
- package/dist/sections/CTA/index.d.ts +6 -0
- package/dist/sections/CTA/index.d.ts.map +1 -0
- package/dist/sections/CarouselSection/CarouselSection.d.ts +4 -0
- package/dist/sections/CarouselSection/CarouselSection.d.ts.map +1 -0
- package/dist/sections/CarouselSection/CarouselSection.types.d.ts +114 -0
- package/dist/sections/CarouselSection/CarouselSection.types.d.ts.map +1 -0
- package/dist/sections/CarouselSection/index.d.ts +11 -0
- package/dist/sections/CarouselSection/index.d.ts.map +1 -0
- package/dist/sections/Chat/ChatSection.d.ts +4 -0
- package/dist/sections/Chat/ChatSection.d.ts.map +1 -0
- package/dist/sections/Chat/index.d.ts +19 -0
- package/dist/sections/Chat/index.d.ts.map +1 -0
- package/dist/sections/Comparison/Comparison.d.ts +8 -0
- package/dist/sections/Comparison/Comparison.d.ts.map +1 -0
- package/dist/sections/Comparison/Comparison.types.d.ts +120 -0
- package/dist/sections/Comparison/Comparison.types.d.ts.map +1 -0
- package/dist/sections/Comparison/index.d.ts +3 -0
- package/dist/sections/Comparison/index.d.ts.map +1 -0
- package/dist/sections/Contact/Contact.d.ts +4 -0
- package/dist/sections/Contact/Contact.d.ts.map +1 -0
- package/dist/sections/Contact/Contact.types.d.ts +133 -0
- package/dist/sections/Contact/Contact.types.d.ts.map +1 -0
- package/dist/sections/Contact/index.d.ts +6 -0
- package/dist/sections/Contact/index.d.ts.map +1 -0
- package/dist/sections/EmptyState/EmptyState.d.ts +4 -0
- package/dist/sections/EmptyState/EmptyState.d.ts.map +1 -0
- package/dist/sections/EmptyState/EmptyState.types.d.ts +65 -0
- package/dist/sections/EmptyState/EmptyState.types.d.ts.map +1 -0
- package/dist/sections/EmptyState/index.d.ts +3 -0
- package/dist/sections/EmptyState/index.d.ts.map +1 -0
- package/dist/sections/FAQ/FAQ.d.ts +4 -0
- package/dist/sections/FAQ/FAQ.d.ts.map +1 -0
- package/dist/sections/FAQ/FAQ.types.d.ts +117 -0
- package/dist/sections/FAQ/FAQ.types.d.ts.map +1 -0
- package/dist/sections/FAQ/FAQItemCard.d.ts +7 -0
- package/dist/sections/FAQ/FAQItemCard.d.ts.map +1 -0
- package/dist/sections/FAQ/index.d.ts +7 -0
- package/dist/sections/FAQ/index.d.ts.map +1 -0
- package/dist/sections/Features/FeatureCard.d.ts +7 -0
- package/dist/sections/Features/FeatureCard.d.ts.map +1 -0
- package/dist/sections/Features/Features.d.ts +4 -0
- package/dist/sections/Features/Features.d.ts.map +1 -0
- package/dist/sections/Features/Features.types.d.ts +100 -0
- package/dist/sections/Features/Features.types.d.ts.map +1 -0
- package/dist/sections/Features/index.d.ts +7 -0
- package/dist/sections/Features/index.d.ts.map +1 -0
- package/dist/sections/Footer/Footer.d.ts +4 -0
- package/dist/sections/Footer/Footer.d.ts.map +1 -0
- package/dist/sections/Footer/Footer.types.d.ts +129 -0
- package/dist/sections/Footer/Footer.types.d.ts.map +1 -0
- package/dist/sections/Footer/index.d.ts +6 -0
- package/dist/sections/Footer/index.d.ts.map +1 -0
- package/dist/sections/Gallery/Gallery.d.ts +8 -0
- package/dist/sections/Gallery/Gallery.d.ts.map +1 -0
- package/dist/sections/Gallery/Gallery.types.d.ts +114 -0
- package/dist/sections/Gallery/Gallery.types.d.ts.map +1 -0
- package/dist/sections/Gallery/index.d.ts +3 -0
- package/dist/sections/Gallery/index.d.ts.map +1 -0
- package/dist/sections/Hero/Hero.d.ts +10 -0
- package/dist/sections/Hero/Hero.d.ts.map +1 -0
- package/dist/sections/Hero/Hero.types.d.ts +152 -0
- package/dist/sections/Hero/Hero.types.d.ts.map +1 -0
- package/dist/sections/Hero/HeroHighlight.d.ts +7 -0
- package/dist/sections/Hero/HeroHighlight.d.ts.map +1 -0
- package/dist/sections/Hero/index.d.ts +7 -0
- package/dist/sections/Hero/index.d.ts.map +1 -0
- package/dist/sections/LogoCloud/LogoCloud.d.ts +4 -0
- package/dist/sections/LogoCloud/LogoCloud.d.ts.map +1 -0
- package/dist/sections/LogoCloud/LogoCloud.types.d.ts +101 -0
- package/dist/sections/LogoCloud/LogoCloud.types.d.ts.map +1 -0
- package/dist/sections/LogoCloud/index.d.ts +6 -0
- package/dist/sections/LogoCloud/index.d.ts.map +1 -0
- package/dist/sections/Newsletter/Newsletter.d.ts +4 -0
- package/dist/sections/Newsletter/Newsletter.d.ts.map +1 -0
- package/dist/sections/Newsletter/Newsletter.types.d.ts +97 -0
- package/dist/sections/Newsletter/Newsletter.types.d.ts.map +1 -0
- package/dist/sections/Newsletter/index.d.ts +6 -0
- package/dist/sections/Newsletter/index.d.ts.map +1 -0
- package/dist/sections/Pricing/Pricing.d.ts +4 -0
- package/dist/sections/Pricing/Pricing.d.ts.map +1 -0
- package/dist/sections/Pricing/Pricing.types.d.ts +129 -0
- package/dist/sections/Pricing/Pricing.types.d.ts.map +1 -0
- package/dist/sections/Pricing/PricingCard.d.ts +7 -0
- package/dist/sections/Pricing/PricingCard.d.ts.map +1 -0
- package/dist/sections/Pricing/index.d.ts +7 -0
- package/dist/sections/Pricing/index.d.ts.map +1 -0
- package/dist/sections/SettingsLayout/SettingsLayout.d.ts +4 -0
- package/dist/sections/SettingsLayout/SettingsLayout.d.ts.map +1 -0
- package/dist/sections/SettingsLayout/SettingsLayout.types.d.ts +112 -0
- package/dist/sections/SettingsLayout/SettingsLayout.types.d.ts.map +1 -0
- package/dist/sections/SettingsLayout/index.d.ts +3 -0
- package/dist/sections/SettingsLayout/index.d.ts.map +1 -0
- package/dist/sections/SocialProof/SocialProof.d.ts +8 -0
- package/dist/sections/SocialProof/SocialProof.d.ts.map +1 -0
- package/dist/sections/SocialProof/SocialProof.types.d.ts +138 -0
- package/dist/sections/SocialProof/SocialProof.types.d.ts.map +1 -0
- package/dist/sections/SocialProof/index.d.ts +3 -0
- package/dist/sections/SocialProof/index.d.ts.map +1 -0
- package/dist/sections/Stats/StatItemCard.d.ts +7 -0
- package/dist/sections/Stats/StatItemCard.d.ts.map +1 -0
- package/dist/sections/Stats/Stats.d.ts +4 -0
- package/dist/sections/Stats/Stats.d.ts.map +1 -0
- package/dist/sections/Stats/Stats.types.d.ts +131 -0
- package/dist/sections/Stats/Stats.types.d.ts.map +1 -0
- package/dist/sections/Stats/index.d.ts +7 -0
- package/dist/sections/Stats/index.d.ts.map +1 -0
- package/dist/sections/Stepper/Stepper.d.ts +4 -0
- package/dist/sections/Stepper/Stepper.d.ts.map +1 -0
- package/dist/sections/Stepper/Stepper.types.d.ts +101 -0
- package/dist/sections/Stepper/Stepper.types.d.ts.map +1 -0
- package/dist/sections/Stepper/index.d.ts +3 -0
- package/dist/sections/Stepper/index.d.ts.map +1 -0
- package/dist/sections/Team/Team.d.ts +4 -0
- package/dist/sections/Team/Team.d.ts.map +1 -0
- package/dist/sections/Team/Team.types.d.ts +139 -0
- package/dist/sections/Team/Team.types.d.ts.map +1 -0
- package/dist/sections/Team/TeamMemberCard.d.ts +7 -0
- package/dist/sections/Team/TeamMemberCard.d.ts.map +1 -0
- package/dist/sections/Team/index.d.ts +7 -0
- package/dist/sections/Team/index.d.ts.map +1 -0
- package/dist/sections/Testimonials/TestimonialCard.d.ts +7 -0
- package/dist/sections/Testimonials/TestimonialCard.d.ts.map +1 -0
- package/dist/sections/Testimonials/Testimonials.d.ts +4 -0
- package/dist/sections/Testimonials/Testimonials.d.ts.map +1 -0
- package/dist/sections/Testimonials/Testimonials.types.d.ts +126 -0
- package/dist/sections/Testimonials/Testimonials.types.d.ts.map +1 -0
- package/dist/sections/Testimonials/index.d.ts +7 -0
- package/dist/sections/Testimonials/index.d.ts.map +1 -0
- package/dist/sections/Timeline/Timeline.d.ts +8 -0
- package/dist/sections/Timeline/Timeline.d.ts.map +1 -0
- package/dist/sections/Timeline/Timeline.types.d.ts +98 -0
- package/dist/sections/Timeline/Timeline.types.d.ts.map +1 -0
- package/dist/sections/Timeline/index.d.ts +3 -0
- package/dist/sections/Timeline/index.d.ts.map +1 -0
- package/dist/sections/index.d.ts +31 -0
- package/dist/sections/index.d.ts.map +1 -0
- package/dist/style.css +1 -0
- package/dist/templates/app/AgentEditor/AgentEditor.d.ts +25 -0
- package/dist/templates/app/AgentEditor/AgentEditor.d.ts.map +1 -0
- package/dist/templates/app/AgentEditor/AgentEditor.types.d.ts +180 -0
- package/dist/templates/app/AgentEditor/AgentEditor.types.d.ts.map +1 -0
- package/dist/templates/app/AgentEditor/MultiAgentPanel.d.ts +9 -0
- package/dist/templates/app/AgentEditor/MultiAgentPanel.d.ts.map +1 -0
- package/dist/templates/app/AgentEditor/index.d.ts +3 -0
- package/dist/templates/app/AgentEditor/index.d.ts.map +1 -0
- package/dist/templates/app/AgentWorkspace/AgentWorkspace.d.ts +5 -0
- package/dist/templates/app/AgentWorkspace/AgentWorkspace.d.ts.map +1 -0
- package/dist/templates/app/AgentWorkspace/AgentWorkspace.types.d.ts +280 -0
- package/dist/templates/app/AgentWorkspace/AgentWorkspace.types.d.ts.map +1 -0
- package/dist/templates/app/AgentWorkspace/index.d.ts +8 -0
- package/dist/templates/app/AgentWorkspace/index.d.ts.map +1 -0
- package/dist/templates/app/ChatPageTemplate/ChatPageTemplate.d.ts +4 -0
- package/dist/templates/app/ChatPageTemplate/ChatPageTemplate.d.ts.map +1 -0
- package/dist/templates/app/ChatPageTemplate/ChatPageTemplate.types.d.ts +69 -0
- package/dist/templates/app/ChatPageTemplate/ChatPageTemplate.types.d.ts.map +1 -0
- package/dist/templates/app/ChatPageTemplate/index.d.ts +19 -0
- package/dist/templates/app/ChatPageTemplate/index.d.ts.map +1 -0
- package/dist/templates/app/DashboardTemplate/DashboardTemplate.d.ts +23 -0
- package/dist/templates/app/DashboardTemplate/DashboardTemplate.d.ts.map +1 -0
- package/dist/templates/app/DashboardTemplate/DashboardTemplate.types.d.ts +54 -0
- package/dist/templates/app/DashboardTemplate/DashboardTemplate.types.d.ts.map +1 -0
- package/dist/templates/app/DashboardTemplate/index.d.ts +3 -0
- package/dist/templates/app/DashboardTemplate/index.d.ts.map +1 -0
- package/dist/templates/app/KanbanPageTemplate/KanbanPageTemplate.d.ts +20 -0
- package/dist/templates/app/KanbanPageTemplate/KanbanPageTemplate.d.ts.map +1 -0
- package/dist/templates/app/KanbanPageTemplate/KanbanPageTemplate.types.d.ts +40 -0
- package/dist/templates/app/KanbanPageTemplate/KanbanPageTemplate.types.d.ts.map +1 -0
- package/dist/templates/app/KanbanPageTemplate/index.d.ts +3 -0
- package/dist/templates/app/KanbanPageTemplate/index.d.ts.map +1 -0
- package/dist/templates/app/LoginTemplate/LoginTemplate.d.ts +5 -0
- package/dist/templates/app/LoginTemplate/LoginTemplate.d.ts.map +1 -0
- package/dist/templates/app/LoginTemplate/LoginTemplate.types.d.ts +207 -0
- package/dist/templates/app/LoginTemplate/LoginTemplate.types.d.ts.map +1 -0
- package/dist/templates/app/LoginTemplate/index.d.ts +8 -0
- package/dist/templates/app/LoginTemplate/index.d.ts.map +1 -0
- package/dist/templates/app/ProfilePageTemplate/ProfilePageTemplate.d.ts +25 -0
- package/dist/templates/app/ProfilePageTemplate/ProfilePageTemplate.d.ts.map +1 -0
- package/dist/templates/app/ProfilePageTemplate/ProfilePageTemplate.types.d.ts +83 -0
- package/dist/templates/app/ProfilePageTemplate/ProfilePageTemplate.types.d.ts.map +1 -0
- package/dist/templates/app/ProfilePageTemplate/index.d.ts +3 -0
- package/dist/templates/app/ProfilePageTemplate/index.d.ts.map +1 -0
- package/dist/templates/app/SettingsTemplate/SettingsTemplate.d.ts +22 -0
- package/dist/templates/app/SettingsTemplate/SettingsTemplate.d.ts.map +1 -0
- package/dist/templates/app/SettingsTemplate/SettingsTemplate.types.d.ts +67 -0
- package/dist/templates/app/SettingsTemplate/SettingsTemplate.types.d.ts.map +1 -0
- package/dist/templates/app/SettingsTemplate/index.d.ts +3 -0
- package/dist/templates/app/SettingsTemplate/index.d.ts.map +1 -0
- package/dist/templates/app/index.d.ts +22 -0
- package/dist/templates/app/index.d.ts.map +1 -0
- package/dist/templates/index.d.ts +18 -0
- package/dist/templates/index.d.ts.map +1 -0
- package/dist/templates/marketing/AboutPageTemplate/AboutPageTemplate.d.ts +20 -0
- package/dist/templates/marketing/AboutPageTemplate/AboutPageTemplate.d.ts.map +1 -0
- package/dist/templates/marketing/AboutPageTemplate/AboutPageTemplate.types.d.ts +67 -0
- package/dist/templates/marketing/AboutPageTemplate/AboutPageTemplate.types.d.ts.map +1 -0
- package/dist/templates/marketing/AboutPageTemplate/index.d.ts +3 -0
- package/dist/templates/marketing/AboutPageTemplate/index.d.ts.map +1 -0
- package/dist/templates/marketing/ContactPageTemplate/ContactPageTemplate.d.ts +19 -0
- package/dist/templates/marketing/ContactPageTemplate/ContactPageTemplate.d.ts.map +1 -0
- package/dist/templates/marketing/ContactPageTemplate/ContactPageTemplate.types.d.ts +56 -0
- package/dist/templates/marketing/ContactPageTemplate/ContactPageTemplate.types.d.ts.map +1 -0
- package/dist/templates/marketing/ContactPageTemplate/index.d.ts +3 -0
- package/dist/templates/marketing/ContactPageTemplate/index.d.ts.map +1 -0
- package/dist/templates/marketing/LandingPageTemplate/LandingPageTemplate.d.ts +20 -0
- package/dist/templates/marketing/LandingPageTemplate/LandingPageTemplate.d.ts.map +1 -0
- package/dist/templates/marketing/LandingPageTemplate/LandingPageTemplate.types.d.ts +89 -0
- package/dist/templates/marketing/LandingPageTemplate/LandingPageTemplate.types.d.ts.map +1 -0
- package/dist/templates/marketing/LandingPageTemplate/index.d.ts +3 -0
- package/dist/templates/marketing/LandingPageTemplate/index.d.ts.map +1 -0
- package/dist/templates/marketing/PricingPageTemplate/PricingPageTemplate.d.ts +19 -0
- package/dist/templates/marketing/PricingPageTemplate/PricingPageTemplate.d.ts.map +1 -0
- package/dist/templates/marketing/PricingPageTemplate/PricingPageTemplate.types.d.ts +63 -0
- package/dist/templates/marketing/PricingPageTemplate/PricingPageTemplate.types.d.ts.map +1 -0
- package/dist/templates/marketing/PricingPageTemplate/index.d.ts +3 -0
- package/dist/templates/marketing/PricingPageTemplate/index.d.ts.map +1 -0
- package/dist/templates/marketing/index.d.ts +14 -0
- package/dist/templates/marketing/index.d.ts.map +1 -0
- package/package.json +94 -0
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,4639 @@
|
|
|
1
|
+
import { jsx as e, jsxs as a, Fragment as Pe } from "react/jsx-runtime";
|
|
2
|
+
import Yt, { forwardRef as R, useEffect as Re, useState as H, useCallback as $e, useRef as vt, useLayoutEffect as Xt, useMemo as Ee } from "react";
|
|
3
|
+
import { Card as me, Badge as Ke, Carousel as Jt, Avatar as Se, Textarea as Zt, Field as Ye, Button as _e, CollapsibleFolder as ea, AgentCard as dt, Chat as ee, useStreamingText as wt, Popover as _t, Divider as Xe, UserMenu as It, NavTree as $t, PageHeader as Ue, ToggleGroup as Nt, CodeEditor as ta, Sidebar as pt, MetricCards as aa, DataTable as na, ActivityFeed as xt, FilterBar as sa, KanbanBoard as ia, Checkbox as ca, Link as ft, DetailPanel as oa, Navbar as et } from "@orion-ds/react";
|
|
4
|
+
import { CarouselCard as Jp } from "@orion-ds/react";
|
|
5
|
+
import { Section as ke, Container as ve } from "@orion-ds/react/sections";
|
|
6
|
+
import { Check as Ct, X as St, Star as la, TrendingUp as ra, TrendingDown as da, ChevronDown as Fe, ChevronLeft as _a, ChevronRight as Pt, CheckCircle as ma, AlertCircle as Tt, Menu as Je, MessageSquare as Bt, MoreHorizontal as pa, Home as ha, Settings as Me, Users as Lt, Plus as Ge, Users2 as De, CreditCard as Ze, HelpCircle as jt, LogOut as ht, PenLine as ua, FolderOpen as ga, Sparkles as yt, BookOpen as bt, MessageCircle as va, Target as Na, FolderPlus as kt, Bot as fa, Edit2 as ya, BarChart3 as ba, Database as ka, Plug as wa, Megaphone as Ia, User as $a } from "lucide-react";
|
|
7
|
+
import { useSensors as xa, useSensor as Ca, PointerSensor as Sa, DndContext as Pa, DragOverlay as Ta } from "@dnd-kit/core";
|
|
8
|
+
const Ba = "_hero_18fx4_8", La = "_fullHeight_18fx4_13", ja = "_container_18fx4_19", za = "_content_18fx4_25", Aa = "_actions_18fx4_42", qa = "_trustIndicators_18fx4_46", Ma = "_headline_18fx4_73", Ea = "_description_18fx4_81", Wa = "_badge_18fx4_132", Ha = "_highlight_18fx4_164", Da = "_elevated_18fx4_218", Ra = "_backgroundImage_18fx4_247", Oa = "_backgroundOverlay_18fx4_259", Fa = "_defaultMedia_18fx4_304", Ga = "_defaultMediaIcon_18fx4_320", Ua = "_hasMedia_18fx4_329", Va = "_media_18fx4_342", ne = {
|
|
9
|
+
hero: Ba,
|
|
10
|
+
fullHeight: La,
|
|
11
|
+
container: ja,
|
|
12
|
+
content: za,
|
|
13
|
+
"align-center": "_align-center_18fx4_35",
|
|
14
|
+
actions: Aa,
|
|
15
|
+
trustIndicators: qa,
|
|
16
|
+
"align-left": "_align-left_18fx4_51",
|
|
17
|
+
"size-sm": "_size-sm_18fx4_72",
|
|
18
|
+
headline: Ma,
|
|
19
|
+
description: Ea,
|
|
20
|
+
"size-md": "_size-md_18fx4_91",
|
|
21
|
+
"size-lg": "_size-lg_18fx4_110",
|
|
22
|
+
badge: Wa,
|
|
23
|
+
highlight: Ha,
|
|
24
|
+
"layout-contained": "_layout-contained_18fx4_179",
|
|
25
|
+
"layout-fullscreen": "_layout-fullscreen_18fx4_187",
|
|
26
|
+
"layout-card": "_layout-card_18fx4_210",
|
|
27
|
+
elevated: Da,
|
|
28
|
+
"variant-background": "_variant-background_18fx4_240",
|
|
29
|
+
backgroundImage: Ra,
|
|
30
|
+
backgroundOverlay: Oa,
|
|
31
|
+
defaultMedia: Fa,
|
|
32
|
+
defaultMediaIcon: Ga,
|
|
33
|
+
hasMedia: Ua,
|
|
34
|
+
media: Va,
|
|
35
|
+
"media-left": "_media-left_18fx4_351",
|
|
36
|
+
"media-right": "_media-right_18fx4_357",
|
|
37
|
+
"media-bottom": "_media-bottom_18fx4_363"
|
|
38
|
+
}, zt = ({ children: t }) => /* @__PURE__ */ e("span", { className: ne.highlight, children: t });
|
|
39
|
+
zt.displayName = "Hero.Highlight";
|
|
40
|
+
const Qa = () => /* @__PURE__ */ e("div", { className: ne.defaultMedia, children: /* @__PURE__ */ a(
|
|
41
|
+
"svg",
|
|
42
|
+
{
|
|
43
|
+
className: ne.defaultMediaIcon,
|
|
44
|
+
width: "64",
|
|
45
|
+
height: "64",
|
|
46
|
+
viewBox: "0 0 24 24",
|
|
47
|
+
fill: "none",
|
|
48
|
+
stroke: "currentColor",
|
|
49
|
+
strokeWidth: "1.5",
|
|
50
|
+
strokeLinecap: "round",
|
|
51
|
+
strokeLinejoin: "round",
|
|
52
|
+
children: [
|
|
53
|
+
/* @__PURE__ */ e("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2", ry: "2" }),
|
|
54
|
+
/* @__PURE__ */ e("circle", { cx: "8.5", cy: "8.5", r: "1.5" }),
|
|
55
|
+
/* @__PURE__ */ e("polyline", { points: "21 15 16 10 5 21" })
|
|
56
|
+
]
|
|
57
|
+
}
|
|
58
|
+
) }), At = R(
|
|
59
|
+
({
|
|
60
|
+
badge: t,
|
|
61
|
+
title: s,
|
|
62
|
+
headline: n,
|
|
63
|
+
description: i,
|
|
64
|
+
primaryAction: _,
|
|
65
|
+
secondaryAction: o,
|
|
66
|
+
media: c,
|
|
67
|
+
mediaPosition: h = "right",
|
|
68
|
+
showDefaultMedia: m = !1,
|
|
69
|
+
trustIndicators: l,
|
|
70
|
+
align: d = "center",
|
|
71
|
+
size: N = "lg",
|
|
72
|
+
layout: g = "contained",
|
|
73
|
+
variant: p = "default",
|
|
74
|
+
backgroundImage: r,
|
|
75
|
+
backgroundOverlay: I = 0.6,
|
|
76
|
+
elevated: $ = !1,
|
|
77
|
+
fullHeight: k = !1,
|
|
78
|
+
className: v,
|
|
79
|
+
...y
|
|
80
|
+
}, f) => {
|
|
81
|
+
const w = s ?? n;
|
|
82
|
+
Re(() => {
|
|
83
|
+
n && process.env.NODE_ENV === "development" && console.warn(
|
|
84
|
+
'[Hero] The "headline" prop is deprecated. Use "title" instead. headline will be removed in v3.0.'
|
|
85
|
+
);
|
|
86
|
+
}, [n]), Re(() => {
|
|
87
|
+
k && process.env.NODE_ENV === "development" && console.warn(
|
|
88
|
+
'[Hero] The "fullHeight" prop is deprecated. Use layout="fullscreen" instead.'
|
|
89
|
+
);
|
|
90
|
+
}, [k]);
|
|
91
|
+
const P = k ? "fullscreen" : g, x = c || (m ? /* @__PURE__ */ e(Qa, {}) : null), M = !!x, C = _ || o, z = p === "background", Ne = [
|
|
92
|
+
ne.hero,
|
|
93
|
+
ne[`align-${d}`],
|
|
94
|
+
ne[`size-${N}`],
|
|
95
|
+
ne[`layout-${P}`],
|
|
96
|
+
z && ne["variant-background"],
|
|
97
|
+
$ && P === "card" && ne.elevated,
|
|
98
|
+
M && !z && ne.hasMedia,
|
|
99
|
+
M && !z && ne[`media-${h}`],
|
|
100
|
+
v
|
|
101
|
+
].filter(Boolean).join(" ");
|
|
102
|
+
return /* @__PURE__ */ a(ke, { ref: f, spacing: "xl", className: Ne, ...y, children: [
|
|
103
|
+
z && r && /* @__PURE__ */ a(Pe, { children: [
|
|
104
|
+
/* @__PURE__ */ e("div", { className: ne.backgroundImage, children: /* @__PURE__ */ e("img", { src: r, alt: "", "aria-hidden": "true" }) }),
|
|
105
|
+
/* @__PURE__ */ e(
|
|
106
|
+
"div",
|
|
107
|
+
{
|
|
108
|
+
className: ne.backgroundOverlay,
|
|
109
|
+
style: {
|
|
110
|
+
background: `linear-gradient(to bottom, rgba(0,0,0,${I * 0.8}), rgba(0,0,0,${I}))`
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
)
|
|
114
|
+
] }),
|
|
115
|
+
/* @__PURE__ */ a(ve, { size: "xl", className: ne.container, children: [
|
|
116
|
+
/* @__PURE__ */ a("div", { className: ne.content, children: [
|
|
117
|
+
t && /* @__PURE__ */ e("div", { className: ne.badge, children: t }),
|
|
118
|
+
/* @__PURE__ */ e("h1", { className: ne.headline, children: w }),
|
|
119
|
+
i && /* @__PURE__ */ e("p", { className: ne.description, children: i }),
|
|
120
|
+
C && /* @__PURE__ */ a("div", { className: ne.actions, children: [
|
|
121
|
+
_,
|
|
122
|
+
o
|
|
123
|
+
] }),
|
|
124
|
+
l && /* @__PURE__ */ e("div", { className: ne.trustIndicators, children: l })
|
|
125
|
+
] }),
|
|
126
|
+
M && !z && /* @__PURE__ */ e("div", { className: ne.media, children: x })
|
|
127
|
+
] })
|
|
128
|
+
] });
|
|
129
|
+
}
|
|
130
|
+
);
|
|
131
|
+
At.displayName = "Hero";
|
|
132
|
+
const Ve = At;
|
|
133
|
+
Ve.Highlight = zt;
|
|
134
|
+
const Ka = "_features_1l0f6_8", Ya = "_header_1l0f6_16", Xa = "_centered_1l0f6_20", Ja = "_description_1l0f6_25", Za = "_eyebrow_1l0f6_31", en = "_title_1l0f6_35", tn = "_grid_1l0f6_57", an = "_featureCard_1l0f6_78", nn = "_interactive_1l0f6_85", sn = "_cardLink_1l0f6_94", cn = "_cardHeader_1l0f6_100", on = "_icon_1l0f6_107", ln = "_cardTitle_1l0f6_118", rn = "_cardDescription_1l0f6_127", ge = {
|
|
135
|
+
features: Ka,
|
|
136
|
+
header: Ya,
|
|
137
|
+
centered: Xa,
|
|
138
|
+
description: Ja,
|
|
139
|
+
eyebrow: Za,
|
|
140
|
+
title: en,
|
|
141
|
+
grid: tn,
|
|
142
|
+
"cols-2": "_cols-2_1l0f6_62",
|
|
143
|
+
"cols-3": "_cols-3_1l0f6_66",
|
|
144
|
+
"cols-4": "_cols-4_1l0f6_70",
|
|
145
|
+
featureCard: an,
|
|
146
|
+
interactive: nn,
|
|
147
|
+
cardLink: sn,
|
|
148
|
+
cardHeader: cn,
|
|
149
|
+
icon: on,
|
|
150
|
+
cardTitle: ln,
|
|
151
|
+
cardDescription: rn
|
|
152
|
+
}, qt = ({
|
|
153
|
+
feature: t,
|
|
154
|
+
interactive: s = !0,
|
|
155
|
+
className: n
|
|
156
|
+
}) => {
|
|
157
|
+
const { icon: i, title: _, description: o, badge: c, href: h } = t, m = /* @__PURE__ */ a(Pe, { children: [
|
|
158
|
+
/* @__PURE__ */ a("div", { className: ge.cardHeader, children: [
|
|
159
|
+
i && /* @__PURE__ */ e("div", { className: ge.icon, children: i }),
|
|
160
|
+
c && /* @__PURE__ */ e(Ke, { variant: "secondary", size: "sm", children: c })
|
|
161
|
+
] }),
|
|
162
|
+
/* @__PURE__ */ e("h3", { className: ge.cardTitle, children: _ }),
|
|
163
|
+
/* @__PURE__ */ e("p", { className: ge.cardDescription, children: o })
|
|
164
|
+
] }), l = [
|
|
165
|
+
ge.featureCard,
|
|
166
|
+
s && ge.interactive,
|
|
167
|
+
n
|
|
168
|
+
].filter(Boolean).join(" ");
|
|
169
|
+
return h ? /* @__PURE__ */ e("a", { href: h, className: ge.cardLink, children: /* @__PURE__ */ e(me, { variant: "base", className: l, children: /* @__PURE__ */ e(me.Body, { children: m }) }) }) : /* @__PURE__ */ e(me, { variant: "base", className: l, children: /* @__PURE__ */ e(me.Body, { children: m }) });
|
|
170
|
+
};
|
|
171
|
+
qt.displayName = "FeatureCard";
|
|
172
|
+
const Mt = R(
|
|
173
|
+
({
|
|
174
|
+
eyebrow: t,
|
|
175
|
+
title: s,
|
|
176
|
+
description: n,
|
|
177
|
+
items: i,
|
|
178
|
+
columns: _ = 3,
|
|
179
|
+
background: o = "subtle",
|
|
180
|
+
interactive: c = !0,
|
|
181
|
+
centered: h = !0,
|
|
182
|
+
className: m,
|
|
183
|
+
...l
|
|
184
|
+
}, d) => {
|
|
185
|
+
const N = t || s || n, g = [ge.features, h && ge.centered, m].filter(Boolean).join(" ");
|
|
186
|
+
return /* @__PURE__ */ e(
|
|
187
|
+
ke,
|
|
188
|
+
{
|
|
189
|
+
ref: d,
|
|
190
|
+
spacing: "lg",
|
|
191
|
+
background: o,
|
|
192
|
+
className: g,
|
|
193
|
+
...l,
|
|
194
|
+
children: /* @__PURE__ */ a(ve, { size: "xl", children: [
|
|
195
|
+
N && /* @__PURE__ */ a("header", { className: ge.header, children: [
|
|
196
|
+
t && /* @__PURE__ */ e("div", { className: ge.eyebrow, children: t }),
|
|
197
|
+
s && /* @__PURE__ */ e("h2", { className: ge.title, children: s }),
|
|
198
|
+
n && /* @__PURE__ */ e("p", { className: ge.description, children: n })
|
|
199
|
+
] }),
|
|
200
|
+
/* @__PURE__ */ e("div", { className: `${ge.grid} ${ge[`cols-${_}`]}`, children: i.map((p, r) => /* @__PURE__ */ e(
|
|
201
|
+
qt,
|
|
202
|
+
{
|
|
203
|
+
feature: p,
|
|
204
|
+
interactive: c
|
|
205
|
+
},
|
|
206
|
+
p.title || r
|
|
207
|
+
)) })
|
|
208
|
+
] })
|
|
209
|
+
}
|
|
210
|
+
);
|
|
211
|
+
}
|
|
212
|
+
);
|
|
213
|
+
Mt.displayName = "Features";
|
|
214
|
+
const dn = "_cta_m8lit_8", _n = "_content_m8lit_12", mn = "_card_m8lit_18", pn = "_cardBody_m8lit_22", hn = "_actions_m8lit_36", un = "_description_m8lit_40", gn = "_headline_m8lit_66", vn = "_footnote_m8lit_125", Le = {
|
|
215
|
+
cta: dn,
|
|
216
|
+
content: _n,
|
|
217
|
+
card: mn,
|
|
218
|
+
cardBody: pn,
|
|
219
|
+
"align-center": "_align-center_m8lit_30",
|
|
220
|
+
actions: hn,
|
|
221
|
+
description: un,
|
|
222
|
+
"align-left": "_align-left_m8lit_46",
|
|
223
|
+
"size-sm": "_size-sm_m8lit_61",
|
|
224
|
+
headline: gn,
|
|
225
|
+
"size-md": "_size-md_m8lit_76",
|
|
226
|
+
"size-lg": "_size-lg_m8lit_91",
|
|
227
|
+
"variant-default": "_variant-default_m8lit_111",
|
|
228
|
+
footnote: vn,
|
|
229
|
+
"variant-brand": "_variant-brand_m8lit_131",
|
|
230
|
+
"variant-subtle": "_variant-subtle_m8lit_155",
|
|
231
|
+
"variant-outline": "_variant-outline_m8lit_175"
|
|
232
|
+
}, tt = R(
|
|
233
|
+
({
|
|
234
|
+
title: t,
|
|
235
|
+
headline: s,
|
|
236
|
+
description: n,
|
|
237
|
+
actions: i,
|
|
238
|
+
footnote: _,
|
|
239
|
+
variant: o = "brand",
|
|
240
|
+
size: c = "md",
|
|
241
|
+
align: h = "center",
|
|
242
|
+
contained: m = !0,
|
|
243
|
+
className: l,
|
|
244
|
+
...d
|
|
245
|
+
}, N) => {
|
|
246
|
+
const g = t ?? s;
|
|
247
|
+
Re(() => {
|
|
248
|
+
s && process.env.NODE_ENV === "development" && console.warn(
|
|
249
|
+
'[CTA] The "headline" prop is deprecated. Use "title" instead. headline will be removed in v3.0.'
|
|
250
|
+
);
|
|
251
|
+
}, [s]);
|
|
252
|
+
const p = [
|
|
253
|
+
Le.cta,
|
|
254
|
+
Le[`variant-${o}`],
|
|
255
|
+
Le[`size-${c}`],
|
|
256
|
+
Le[`align-${h}`],
|
|
257
|
+
l
|
|
258
|
+
].filter(Boolean).join(" "), r = /* @__PURE__ */ a("div", { className: Le.content, children: [
|
|
259
|
+
/* @__PURE__ */ e("h2", { className: Le.headline, children: g }),
|
|
260
|
+
n && /* @__PURE__ */ e("p", { className: Le.description, children: n }),
|
|
261
|
+
i && /* @__PURE__ */ e("div", { className: Le.actions, children: i }),
|
|
262
|
+
_ && /* @__PURE__ */ e("p", { className: Le.footnote, children: _ })
|
|
263
|
+
] });
|
|
264
|
+
return m ? /* @__PURE__ */ e(ke, { ref: N, spacing: "lg", className: p, ...d, children: /* @__PURE__ */ e(ve, { size: "lg", children: /* @__PURE__ */ e(me, { className: Le.card, children: /* @__PURE__ */ e(me.Body, { className: Le.cardBody, children: r }) }) }) }) : /* @__PURE__ */ e(ke, { ref: N, spacing: "lg", className: p, ...d, children: /* @__PURE__ */ e(ve, { size: "lg", children: r }) });
|
|
265
|
+
}
|
|
266
|
+
);
|
|
267
|
+
tt.displayName = "CTA";
|
|
268
|
+
const Nn = "_footer_108h4_8", fn = "_main_108h4_16", yn = "_brandColumn_108h4_33", bn = "_linkGroups_108h4_38", kn = "_linkGroup_108h4_38", wn = "_bottom_108h4_102", In = "_brandHeader_108h4_119", $n = "_logo_108h4_125", xn = "_brandName_108h4_132", Cn = "_brandDescription_108h4_139", Sn = "_groupTitle_108h4_155", Pn = "_linkList_108h4_163", Tn = "_linkItem_108h4_172", Bn = "_link_108h4_38", Ln = "_socialLinks_108h4_192", jn = "_socialLink_108h4_192", zn = "_newsletter_108h4_221", An = "_copyright_108h4_239", qn = "_legalLinks_108h4_246", Mn = "_legalLink_108h4_246", En = "_legalSeparator_108h4_265", Y = {
|
|
269
|
+
footer: Nn,
|
|
270
|
+
main: fn,
|
|
271
|
+
"variant-default": "_variant-default_108h4_27",
|
|
272
|
+
brandColumn: yn,
|
|
273
|
+
linkGroups: bn,
|
|
274
|
+
"variant-minimal": "_variant-minimal_108h4_63",
|
|
275
|
+
linkGroup: kn,
|
|
276
|
+
"variant-centered": "_variant-centered_108h4_83",
|
|
277
|
+
bottom: wn,
|
|
278
|
+
brandHeader: In,
|
|
279
|
+
logo: $n,
|
|
280
|
+
brandName: xn,
|
|
281
|
+
brandDescription: Cn,
|
|
282
|
+
groupTitle: Sn,
|
|
283
|
+
linkList: Pn,
|
|
284
|
+
linkItem: Tn,
|
|
285
|
+
link: Bn,
|
|
286
|
+
socialLinks: Ln,
|
|
287
|
+
socialLink: jn,
|
|
288
|
+
newsletter: zn,
|
|
289
|
+
copyright: An,
|
|
290
|
+
legalLinks: qn,
|
|
291
|
+
legalLink: Mn,
|
|
292
|
+
legalSeparator: En
|
|
293
|
+
}, Wn = ({ link: t }) => /* @__PURE__ */ e("li", { className: Y.linkItem, children: /* @__PURE__ */ e(
|
|
294
|
+
"a",
|
|
295
|
+
{
|
|
296
|
+
href: t.href,
|
|
297
|
+
className: Y.link,
|
|
298
|
+
target: t.external ? "_blank" : void 0,
|
|
299
|
+
rel: t.external ? "noopener noreferrer" : void 0,
|
|
300
|
+
children: t.label
|
|
301
|
+
}
|
|
302
|
+
) }), Qe = R(
|
|
303
|
+
({
|
|
304
|
+
brand: t,
|
|
305
|
+
linkGroups: s,
|
|
306
|
+
socialLinks: n,
|
|
307
|
+
newsletter: i,
|
|
308
|
+
copyright: _,
|
|
309
|
+
legalLinks: o,
|
|
310
|
+
variant: c = "default",
|
|
311
|
+
background: h = "subtle",
|
|
312
|
+
className: m,
|
|
313
|
+
...l
|
|
314
|
+
}, d) => {
|
|
315
|
+
const N = (/* @__PURE__ */ new Date()).getFullYear(), g = _ || `© ${N} ${(t == null ? void 0 : t.name) || "Company"}. All rights reserved.`, p = [Y.footer, Y[`variant-${c}`], m].filter(Boolean).join(" ");
|
|
316
|
+
return /* @__PURE__ */ e(
|
|
317
|
+
ke,
|
|
318
|
+
{
|
|
319
|
+
ref: d,
|
|
320
|
+
as: "footer",
|
|
321
|
+
spacing: "lg",
|
|
322
|
+
background: h,
|
|
323
|
+
borderTop: !0,
|
|
324
|
+
className: p,
|
|
325
|
+
...l,
|
|
326
|
+
children: /* @__PURE__ */ a(ve, { size: "xl", children: [
|
|
327
|
+
/* @__PURE__ */ a("div", { className: Y.main, children: [
|
|
328
|
+
t && /* @__PURE__ */ a("div", { className: Y.brandColumn, children: [
|
|
329
|
+
/* @__PURE__ */ a("div", { className: Y.brandHeader, children: [
|
|
330
|
+
t.logo && /* @__PURE__ */ e("span", { className: Y.logo, children: t.logo }),
|
|
331
|
+
/* @__PURE__ */ e("span", { className: Y.brandName, children: t.name })
|
|
332
|
+
] }),
|
|
333
|
+
t.description && /* @__PURE__ */ e("p", { className: Y.brandDescription, children: t.description }),
|
|
334
|
+
n && n.length > 0 && c === "default" && /* @__PURE__ */ e("div", { className: Y.socialLinks, children: n.map((r) => /* @__PURE__ */ e(
|
|
335
|
+
"a",
|
|
336
|
+
{
|
|
337
|
+
href: r.href,
|
|
338
|
+
className: Y.socialLink,
|
|
339
|
+
target: "_blank",
|
|
340
|
+
rel: "noopener noreferrer",
|
|
341
|
+
"aria-label": r.label,
|
|
342
|
+
children: r.icon
|
|
343
|
+
},
|
|
344
|
+
r.label
|
|
345
|
+
)) })
|
|
346
|
+
] }),
|
|
347
|
+
s && s.length > 0 && /* @__PURE__ */ e("div", { className: Y.linkGroups, children: s.map((r) => /* @__PURE__ */ a("div", { className: Y.linkGroup, children: [
|
|
348
|
+
/* @__PURE__ */ e("h4", { className: Y.groupTitle, children: r.title }),
|
|
349
|
+
/* @__PURE__ */ e("ul", { className: Y.linkList, children: r.links.map((I) => /* @__PURE__ */ e(Wn, { link: I }, I.label)) })
|
|
350
|
+
] }, r.title)) }),
|
|
351
|
+
i && /* @__PURE__ */ e("div", { className: Y.newsletter, children: i })
|
|
352
|
+
] }),
|
|
353
|
+
/* @__PURE__ */ a("div", { className: Y.bottom, children: [
|
|
354
|
+
/* @__PURE__ */ e("p", { className: Y.copyright, children: g }),
|
|
355
|
+
o && o.length > 0 && /* @__PURE__ */ e("nav", { className: Y.legalLinks, children: o.map((r, I) => /* @__PURE__ */ a("span", { children: [
|
|
356
|
+
/* @__PURE__ */ e(
|
|
357
|
+
"a",
|
|
358
|
+
{
|
|
359
|
+
href: r.href,
|
|
360
|
+
className: Y.legalLink,
|
|
361
|
+
target: r.external ? "_blank" : void 0,
|
|
362
|
+
rel: r.external ? "noopener noreferrer" : void 0,
|
|
363
|
+
children: r.label
|
|
364
|
+
}
|
|
365
|
+
),
|
|
366
|
+
I < o.length - 1 && /* @__PURE__ */ e("span", { className: Y.legalSeparator, children: "·" })
|
|
367
|
+
] }, r.label)) }),
|
|
368
|
+
n && n.length > 0 && c !== "default" && /* @__PURE__ */ e("div", { className: Y.socialLinks, children: n.map((r) => /* @__PURE__ */ e(
|
|
369
|
+
"a",
|
|
370
|
+
{
|
|
371
|
+
href: r.href,
|
|
372
|
+
className: Y.socialLink,
|
|
373
|
+
target: "_blank",
|
|
374
|
+
rel: "noopener noreferrer",
|
|
375
|
+
"aria-label": r.label,
|
|
376
|
+
children: r.icon
|
|
377
|
+
},
|
|
378
|
+
r.label
|
|
379
|
+
)) })
|
|
380
|
+
] })
|
|
381
|
+
] })
|
|
382
|
+
}
|
|
383
|
+
);
|
|
384
|
+
}
|
|
385
|
+
);
|
|
386
|
+
Qe.displayName = "Footer";
|
|
387
|
+
const Hn = "_pricing_1mius_8", Dn = "_header_1mius_16", Rn = "_centered_1mius_20", On = "_description_1mius_25", Fn = "_eyebrow_1mius_31", Gn = "_title_1mius_35", Un = "_grid_1mius_57", Vn = "_pricingCard_1mius_79", Qn = "_popular_1mius_93", Kn = "_cardBody_1mius_99", Yn = "_cardHeader_1mius_110", Xn = "_planInfo_1mius_116", Jn = "_planName_1mius_123", Zn = "_priceWrapper_1mius_132", es = "_price_1mius_132", ts = "_period_1mius_147", as = "_planDescription_1mius_153", ns = "_featureList_1mius_165", ss = "_featureItem_1mius_175", is = "_featureIcon_1mius_181", cs = "_excluded_1mius_191", os = "_featureText_1mius_195", ls = "_action_1mius_211", X = {
|
|
388
|
+
pricing: Hn,
|
|
389
|
+
header: Dn,
|
|
390
|
+
centered: Rn,
|
|
391
|
+
description: On,
|
|
392
|
+
eyebrow: Fn,
|
|
393
|
+
title: Gn,
|
|
394
|
+
grid: Un,
|
|
395
|
+
"cols-2": "_cols-2_1mius_63",
|
|
396
|
+
"cols-3": "_cols-3_1mius_67",
|
|
397
|
+
"cols-4": "_cols-4_1mius_71",
|
|
398
|
+
pricingCard: Vn,
|
|
399
|
+
popular: Qn,
|
|
400
|
+
cardBody: Kn,
|
|
401
|
+
cardHeader: Yn,
|
|
402
|
+
planInfo: Xn,
|
|
403
|
+
planName: Jn,
|
|
404
|
+
priceWrapper: Zn,
|
|
405
|
+
price: es,
|
|
406
|
+
period: ts,
|
|
407
|
+
planDescription: as,
|
|
408
|
+
featureList: ns,
|
|
409
|
+
featureItem: ss,
|
|
410
|
+
featureIcon: is,
|
|
411
|
+
excluded: cs,
|
|
412
|
+
featureText: os,
|
|
413
|
+
action: ls
|
|
414
|
+
}, Et = ({ plan: t, className: s }) => {
|
|
415
|
+
const { name: n, price: i, period: _, description: o, features: c, action: h, popular: m, badge: l } = t, d = [X.pricingCard, m && X.popular, s].filter(Boolean).join(" "), N = (g) => typeof g == "string" ? { text: g, included: !0 } : { ...g, included: g.included !== !1 };
|
|
416
|
+
return /* @__PURE__ */ e(me, { variant: m ? "elevated" : "base", className: d, children: /* @__PURE__ */ a(me.Body, { className: X.cardBody, children: [
|
|
417
|
+
/* @__PURE__ */ a("div", { className: X.cardHeader, children: [
|
|
418
|
+
/* @__PURE__ */ a("div", { className: X.planInfo, children: [
|
|
419
|
+
/* @__PURE__ */ e("h3", { className: X.planName, children: n }),
|
|
420
|
+
(l || m) && /* @__PURE__ */ e(Ke, { variant: m ? "primary" : "secondary", size: "sm", children: l || "Most Popular" })
|
|
421
|
+
] }),
|
|
422
|
+
/* @__PURE__ */ a("div", { className: X.priceWrapper, children: [
|
|
423
|
+
/* @__PURE__ */ e("span", { className: X.price, children: i }),
|
|
424
|
+
_ && /* @__PURE__ */ e("span", { className: X.period, children: _ })
|
|
425
|
+
] }),
|
|
426
|
+
o && /* @__PURE__ */ e("p", { className: X.planDescription, children: o })
|
|
427
|
+
] }),
|
|
428
|
+
/* @__PURE__ */ e("ul", { className: X.featureList, children: c.map((g, p) => {
|
|
429
|
+
const { text: r, included: I } = N(g);
|
|
430
|
+
return /* @__PURE__ */ a(
|
|
431
|
+
"li",
|
|
432
|
+
{
|
|
433
|
+
className: `${X.featureItem} ${I ? "" : X.excluded}`,
|
|
434
|
+
children: [
|
|
435
|
+
/* @__PURE__ */ e("span", { className: X.featureIcon, children: I ? /* @__PURE__ */ e(Ct, { size: 16 }) : /* @__PURE__ */ e(St, { size: 16 }) }),
|
|
436
|
+
/* @__PURE__ */ e("span", { className: X.featureText, children: r })
|
|
437
|
+
]
|
|
438
|
+
},
|
|
439
|
+
p
|
|
440
|
+
);
|
|
441
|
+
}) }),
|
|
442
|
+
h && /* @__PURE__ */ e("div", { className: X.action, children: h })
|
|
443
|
+
] }) });
|
|
444
|
+
};
|
|
445
|
+
Et.displayName = "PricingCard";
|
|
446
|
+
const ut = R(
|
|
447
|
+
({
|
|
448
|
+
eyebrow: t,
|
|
449
|
+
title: s,
|
|
450
|
+
description: n,
|
|
451
|
+
plans: i,
|
|
452
|
+
columns: _ = 3,
|
|
453
|
+
background: o = "subtle",
|
|
454
|
+
centered: c = !0,
|
|
455
|
+
className: h,
|
|
456
|
+
...m
|
|
457
|
+
}, l) => {
|
|
458
|
+
const d = t || s || n, N = [X.pricing, c && X.centered, h].filter(Boolean).join(" ");
|
|
459
|
+
return /* @__PURE__ */ e(
|
|
460
|
+
ke,
|
|
461
|
+
{
|
|
462
|
+
ref: l,
|
|
463
|
+
spacing: "lg",
|
|
464
|
+
background: o,
|
|
465
|
+
className: N,
|
|
466
|
+
...m,
|
|
467
|
+
children: /* @__PURE__ */ a(ve, { size: "xl", children: [
|
|
468
|
+
d && /* @__PURE__ */ a("header", { className: X.header, children: [
|
|
469
|
+
t && /* @__PURE__ */ e("div", { className: X.eyebrow, children: t }),
|
|
470
|
+
s && /* @__PURE__ */ e("h2", { className: X.title, children: s }),
|
|
471
|
+
n && /* @__PURE__ */ e("p", { className: X.description, children: n })
|
|
472
|
+
] }),
|
|
473
|
+
/* @__PURE__ */ e("div", { className: `${X.grid} ${X[`cols-${_}`]}`, children: i.map((g, p) => /* @__PURE__ */ e(Et, { plan: g }, g.name || p)) })
|
|
474
|
+
] })
|
|
475
|
+
}
|
|
476
|
+
);
|
|
477
|
+
}
|
|
478
|
+
);
|
|
479
|
+
ut.displayName = "Pricing";
|
|
480
|
+
const rs = "_testimonials_85vor_8", ds = "_header_85vor_16", _s = "_centered_85vor_20", ms = "_description_85vor_25", ps = "_eyebrow_85vor_31", hs = "_title_85vor_35", us = "_grid_85vor_57", gs = "_testimonialCard_85vor_81", vs = "_rating_85vor_105", Ns = "_starFilled_85vor_111", fs = "_starEmpty_85vor_115", ys = "_quote_85vor_123", bs = "_author_85vor_141", ks = "_avatar_85vor_148", ws = "_authorInfo_85vor_163", Is = "_authorName_85vor_169", $s = "_authorRole_85vor_176", le = {
|
|
481
|
+
testimonials: rs,
|
|
482
|
+
header: ds,
|
|
483
|
+
centered: _s,
|
|
484
|
+
description: ms,
|
|
485
|
+
eyebrow: ps,
|
|
486
|
+
title: hs,
|
|
487
|
+
grid: us,
|
|
488
|
+
"cols-1": "_cols-1_85vor_63",
|
|
489
|
+
"cols-2": "_cols-2_85vor_69",
|
|
490
|
+
"cols-3": "_cols-3_85vor_73",
|
|
491
|
+
testimonialCard: gs,
|
|
492
|
+
"variant-default": "_variant-default_85vor_87",
|
|
493
|
+
"variant-cards": "_variant-cards_85vor_91",
|
|
494
|
+
"variant-minimal": "_variant-minimal_85vor_95",
|
|
495
|
+
rating: vs,
|
|
496
|
+
starFilled: Ns,
|
|
497
|
+
starEmpty: fs,
|
|
498
|
+
quote: ys,
|
|
499
|
+
author: bs,
|
|
500
|
+
avatar: ks,
|
|
501
|
+
authorInfo: ws,
|
|
502
|
+
authorName: Is,
|
|
503
|
+
authorRole: $s
|
|
504
|
+
}, Wt = ({
|
|
505
|
+
testimonial: t,
|
|
506
|
+
variant: s = "default",
|
|
507
|
+
className: n
|
|
508
|
+
}) => {
|
|
509
|
+
const { quote: i, author: _, rating: o } = t, { name: c, role: h, company: m, avatar: l } = _, d = [
|
|
510
|
+
le.testimonialCard,
|
|
511
|
+
le[`variant-${s}`],
|
|
512
|
+
n
|
|
513
|
+
].filter(Boolean).join(" "), N = /* @__PURE__ */ a(Pe, { children: [
|
|
514
|
+
o && o > 0 && /* @__PURE__ */ e("div", { className: le.rating, children: Array.from({ length: 5 }).map((g, p) => /* @__PURE__ */ e(
|
|
515
|
+
la,
|
|
516
|
+
{
|
|
517
|
+
size: 16,
|
|
518
|
+
className: p < o ? le.starFilled : le.starEmpty,
|
|
519
|
+
fill: p < o ? "currentColor" : "none"
|
|
520
|
+
},
|
|
521
|
+
p
|
|
522
|
+
)) }),
|
|
523
|
+
/* @__PURE__ */ e("blockquote", { className: le.quote, children: /* @__PURE__ */ a("p", { children: [
|
|
524
|
+
'"',
|
|
525
|
+
i,
|
|
526
|
+
'"'
|
|
527
|
+
] }) }),
|
|
528
|
+
/* @__PURE__ */ a("div", { className: le.author, children: [
|
|
529
|
+
l && /* @__PURE__ */ e("div", { className: le.avatar, children: l }),
|
|
530
|
+
/* @__PURE__ */ a("div", { className: le.authorInfo, children: [
|
|
531
|
+
/* @__PURE__ */ e("span", { className: le.authorName, children: c }),
|
|
532
|
+
(h || m) && /* @__PURE__ */ a("span", { className: le.authorRole, children: [
|
|
533
|
+
h,
|
|
534
|
+
h && m && ", ",
|
|
535
|
+
m
|
|
536
|
+
] })
|
|
537
|
+
] })
|
|
538
|
+
] })
|
|
539
|
+
] });
|
|
540
|
+
return s === "minimal" ? /* @__PURE__ */ e("div", { className: d, children: N }) : /* @__PURE__ */ e(
|
|
541
|
+
me,
|
|
542
|
+
{
|
|
543
|
+
variant: s === "cards" ? "elevated" : "base",
|
|
544
|
+
className: d,
|
|
545
|
+
children: /* @__PURE__ */ e(me.Body, { children: N })
|
|
546
|
+
}
|
|
547
|
+
);
|
|
548
|
+
};
|
|
549
|
+
Wt.displayName = "TestimonialCard";
|
|
550
|
+
const Ht = R(
|
|
551
|
+
({
|
|
552
|
+
eyebrow: t,
|
|
553
|
+
title: s,
|
|
554
|
+
description: n,
|
|
555
|
+
testimonials: i,
|
|
556
|
+
columns: _ = 3,
|
|
557
|
+
variant: o = "default",
|
|
558
|
+
background: c = "base",
|
|
559
|
+
centered: h = !0,
|
|
560
|
+
className: m,
|
|
561
|
+
...l
|
|
562
|
+
}, d) => {
|
|
563
|
+
const N = t || s || n, g = [
|
|
564
|
+
le.testimonials,
|
|
565
|
+
h && le.centered,
|
|
566
|
+
m
|
|
567
|
+
].filter(Boolean).join(" ");
|
|
568
|
+
return /* @__PURE__ */ e(
|
|
569
|
+
ke,
|
|
570
|
+
{
|
|
571
|
+
ref: d,
|
|
572
|
+
spacing: "lg",
|
|
573
|
+
background: c,
|
|
574
|
+
className: g,
|
|
575
|
+
...l,
|
|
576
|
+
children: /* @__PURE__ */ a(ve, { size: "xl", children: [
|
|
577
|
+
N && /* @__PURE__ */ a("header", { className: le.header, children: [
|
|
578
|
+
t && /* @__PURE__ */ e("div", { className: le.eyebrow, children: t }),
|
|
579
|
+
s && /* @__PURE__ */ e("h2", { className: le.title, children: s }),
|
|
580
|
+
n && /* @__PURE__ */ e("p", { className: le.description, children: n })
|
|
581
|
+
] }),
|
|
582
|
+
/* @__PURE__ */ e("div", { className: `${le.grid} ${le[`cols-${_}`]}`, children: i.map((p, r) => /* @__PURE__ */ e(
|
|
583
|
+
Wt,
|
|
584
|
+
{
|
|
585
|
+
testimonial: p,
|
|
586
|
+
variant: o
|
|
587
|
+
},
|
|
588
|
+
p.author.name || r
|
|
589
|
+
)) })
|
|
590
|
+
] })
|
|
591
|
+
}
|
|
592
|
+
);
|
|
593
|
+
}
|
|
594
|
+
);
|
|
595
|
+
Ht.displayName = "Testimonials";
|
|
596
|
+
const xs = "_stats_ywqgh_8", Cs = "_header_ywqgh_16", Ss = "_centered_ywqgh_20", Ps = "_description_ywqgh_25", Ts = "_statItem_ywqgh_30", Bs = "_eyebrow_ywqgh_36", Ls = "_title_ywqgh_40", js = "_grid_ywqgh_62", zs = "_cardBody_ywqgh_118", As = "_icon_ywqgh_131", qs = "_valueWrapper_ywqgh_143", Ms = "_value_ywqgh_143", Es = "_valueHighlight_ywqgh_162", Ws = "_trend_ywqgh_173", Hs = "_trendPositive_ywqgh_189", Ds = "_trendNegative_ywqgh_194", Rs = "_label_ywqgh_199", Os = "_statDescription_ywqgh_206", se = {
|
|
597
|
+
stats: xs,
|
|
598
|
+
header: Cs,
|
|
599
|
+
centered: Ss,
|
|
600
|
+
description: Ps,
|
|
601
|
+
statItem: Ts,
|
|
602
|
+
eyebrow: Bs,
|
|
603
|
+
title: Ls,
|
|
604
|
+
grid: js,
|
|
605
|
+
"cols-2": "_cols-2_ywqgh_67",
|
|
606
|
+
"cols-3": "_cols-3_ywqgh_71",
|
|
607
|
+
"cols-4": "_cols-4_ywqgh_75",
|
|
608
|
+
"variant-default": "_variant-default_ywqgh_80",
|
|
609
|
+
"variant-cards": "_variant-cards_ywqgh_94",
|
|
610
|
+
"variant-inline": "_variant-inline_ywqgh_99",
|
|
611
|
+
cardBody: zs,
|
|
612
|
+
icon: As,
|
|
613
|
+
valueWrapper: qs,
|
|
614
|
+
value: Ms,
|
|
615
|
+
valueHighlight: Es,
|
|
616
|
+
trend: Ws,
|
|
617
|
+
trendPositive: Hs,
|
|
618
|
+
trendNegative: Ds,
|
|
619
|
+
label: Rs,
|
|
620
|
+
statDescription: Os
|
|
621
|
+
}, Dt = ({
|
|
622
|
+
stat: t,
|
|
623
|
+
variant: s = "default",
|
|
624
|
+
highlightValue: n = !1,
|
|
625
|
+
className: i
|
|
626
|
+
}) => {
|
|
627
|
+
const { value: _, label: o, description: c, icon: h, trend: m } = t, l = [se.statItem, se[`variant-${s}`], i].filter(Boolean).join(" "), d = /* @__PURE__ */ a(Pe, { children: [
|
|
628
|
+
h && /* @__PURE__ */ e("div", { className: se.icon, children: h }),
|
|
629
|
+
/* @__PURE__ */ a("div", { className: se.valueWrapper, children: [
|
|
630
|
+
/* @__PURE__ */ e(
|
|
631
|
+
"span",
|
|
632
|
+
{
|
|
633
|
+
className: `${se.value} ${n ? se.valueHighlight : ""}`,
|
|
634
|
+
children: _
|
|
635
|
+
}
|
|
636
|
+
),
|
|
637
|
+
m && /* @__PURE__ */ a(
|
|
638
|
+
"span",
|
|
639
|
+
{
|
|
640
|
+
className: `${se.trend} ${m.positive !== !1 ? se.trendPositive : se.trendNegative}`,
|
|
641
|
+
children: [
|
|
642
|
+
m.positive !== !1 ? /* @__PURE__ */ e(ra, { size: 14 }) : /* @__PURE__ */ e(da, { size: 14 }),
|
|
643
|
+
m.value
|
|
644
|
+
]
|
|
645
|
+
}
|
|
646
|
+
)
|
|
647
|
+
] }),
|
|
648
|
+
/* @__PURE__ */ e("span", { className: se.label, children: o }),
|
|
649
|
+
c && /* @__PURE__ */ e("span", { className: se.statDescription, children: c })
|
|
650
|
+
] });
|
|
651
|
+
return s === "cards" ? /* @__PURE__ */ e(me, { variant: "base", className: l, children: /* @__PURE__ */ e(me.Body, { className: se.cardBody, children: d }) }) : /* @__PURE__ */ e("div", { className: l, children: d });
|
|
652
|
+
};
|
|
653
|
+
Dt.displayName = "StatItemCard";
|
|
654
|
+
const gt = R(
|
|
655
|
+
({
|
|
656
|
+
eyebrow: t,
|
|
657
|
+
title: s,
|
|
658
|
+
description: n,
|
|
659
|
+
stats: i,
|
|
660
|
+
columns: _ = 4,
|
|
661
|
+
variant: o = "default",
|
|
662
|
+
background: c = "subtle",
|
|
663
|
+
centered: h = !0,
|
|
664
|
+
highlightValue: m = !1,
|
|
665
|
+
className: l,
|
|
666
|
+
...d
|
|
667
|
+
}, N) => {
|
|
668
|
+
const g = t || s || n, p = [se.stats, h && se.centered, l].filter(Boolean).join(" ");
|
|
669
|
+
return /* @__PURE__ */ e(
|
|
670
|
+
ke,
|
|
671
|
+
{
|
|
672
|
+
ref: N,
|
|
673
|
+
spacing: "lg",
|
|
674
|
+
background: c,
|
|
675
|
+
className: p,
|
|
676
|
+
...d,
|
|
677
|
+
children: /* @__PURE__ */ a(ve, { size: "xl", children: [
|
|
678
|
+
g && /* @__PURE__ */ a("header", { className: se.header, children: [
|
|
679
|
+
t && /* @__PURE__ */ e("div", { className: se.eyebrow, children: t }),
|
|
680
|
+
s && /* @__PURE__ */ e("h2", { className: se.title, children: s }),
|
|
681
|
+
n && /* @__PURE__ */ e("p", { className: se.description, children: n })
|
|
682
|
+
] }),
|
|
683
|
+
/* @__PURE__ */ e(
|
|
684
|
+
"div",
|
|
685
|
+
{
|
|
686
|
+
className: `${se.grid} ${se[`cols-${_}`]} ${se[`variant-${o}`]}`,
|
|
687
|
+
children: i.map((r, I) => /* @__PURE__ */ e(
|
|
688
|
+
Dt,
|
|
689
|
+
{
|
|
690
|
+
stat: r,
|
|
691
|
+
variant: o,
|
|
692
|
+
highlightValue: m
|
|
693
|
+
},
|
|
694
|
+
r.label || I
|
|
695
|
+
))
|
|
696
|
+
}
|
|
697
|
+
)
|
|
698
|
+
] })
|
|
699
|
+
}
|
|
700
|
+
);
|
|
701
|
+
}
|
|
702
|
+
);
|
|
703
|
+
gt.displayName = "Stats";
|
|
704
|
+
const Fs = "_faq_11eca_8", Gs = "_header_11eca_16", Us = "_centered_11eca_20", Vs = "_description_11eca_25", Qs = "_eyebrow_11eca_31", Ks = "_title_11eca_35", Ys = "_list_11eca_57", Xs = "_faqItem_11eca_73", Js = "_trigger_11eca_81", Zs = "_question_11eca_103", ei = "_chevron_11eca_111", ti = "_open_11eca_117", ai = "_content_11eca_121", ni = "_answer_11eca_131", de = {
|
|
705
|
+
faq: Fs,
|
|
706
|
+
header: Gs,
|
|
707
|
+
centered: Us,
|
|
708
|
+
description: Vs,
|
|
709
|
+
eyebrow: Qs,
|
|
710
|
+
title: Ks,
|
|
711
|
+
list: Ys,
|
|
712
|
+
"cols-2": "_cols-2_11eca_63",
|
|
713
|
+
faqItem: Xs,
|
|
714
|
+
"variant-accordion": "_variant-accordion_11eca_73",
|
|
715
|
+
trigger: Js,
|
|
716
|
+
question: Zs,
|
|
717
|
+
chevron: ei,
|
|
718
|
+
open: ti,
|
|
719
|
+
content: ai,
|
|
720
|
+
answer: ni,
|
|
721
|
+
"variant-grid": "_variant-grid_11eca_153"
|
|
722
|
+
}, Rt = ({
|
|
723
|
+
item: t,
|
|
724
|
+
variant: s = "accordion",
|
|
725
|
+
isOpen: n,
|
|
726
|
+
onToggle: i,
|
|
727
|
+
className: _
|
|
728
|
+
}) => {
|
|
729
|
+
const { question: o, answer: c, defaultOpen: h } = t, [m, l] = H(h || !1), d = n !== void 0, N = d ? n : m, g = () => {
|
|
730
|
+
i && i(), d || l(!m);
|
|
731
|
+
}, p = [
|
|
732
|
+
de.faqItem,
|
|
733
|
+
de[`variant-${s}`],
|
|
734
|
+
N && de.open,
|
|
735
|
+
_
|
|
736
|
+
].filter(Boolean).join(" ");
|
|
737
|
+
return s === "grid" ? /* @__PURE__ */ a("div", { className: p, children: [
|
|
738
|
+
/* @__PURE__ */ e("h3", { className: de.question, children: o }),
|
|
739
|
+
/* @__PURE__ */ e("div", { className: de.answer, children: c })
|
|
740
|
+
] }) : /* @__PURE__ */ a("div", { className: p, children: [
|
|
741
|
+
/* @__PURE__ */ a(
|
|
742
|
+
"button",
|
|
743
|
+
{
|
|
744
|
+
type: "button",
|
|
745
|
+
className: de.trigger,
|
|
746
|
+
onClick: g,
|
|
747
|
+
"aria-expanded": N,
|
|
748
|
+
children: [
|
|
749
|
+
/* @__PURE__ */ e("span", { className: de.question, children: o }),
|
|
750
|
+
/* @__PURE__ */ e(Fe, { size: 20, className: de.chevron })
|
|
751
|
+
]
|
|
752
|
+
}
|
|
753
|
+
),
|
|
754
|
+
/* @__PURE__ */ e("div", { className: de.content, children: /* @__PURE__ */ e("div", { className: de.answer, children: c }) })
|
|
755
|
+
] });
|
|
756
|
+
};
|
|
757
|
+
Rt.displayName = "FAQItemCard";
|
|
758
|
+
const at = R(
|
|
759
|
+
({
|
|
760
|
+
eyebrow: t,
|
|
761
|
+
title: s,
|
|
762
|
+
description: n,
|
|
763
|
+
items: i,
|
|
764
|
+
columns: _ = 1,
|
|
765
|
+
variant: o = "accordion",
|
|
766
|
+
allowMultiple: c = !0,
|
|
767
|
+
background: h = "base",
|
|
768
|
+
centered: m = !0,
|
|
769
|
+
className: l,
|
|
770
|
+
...d
|
|
771
|
+
}, N) => {
|
|
772
|
+
const g = t || s || n, [p, r] = H(() => {
|
|
773
|
+
const k = /* @__PURE__ */ new Set();
|
|
774
|
+
return i.forEach((v, y) => {
|
|
775
|
+
v.defaultOpen && k.add(y);
|
|
776
|
+
}), k;
|
|
777
|
+
}), I = $e(
|
|
778
|
+
(k) => {
|
|
779
|
+
o === "accordion" && r((v) => {
|
|
780
|
+
const y = new Set(v);
|
|
781
|
+
return y.has(k) ? y.delete(k) : (c || y.clear(), y.add(k)), y;
|
|
782
|
+
});
|
|
783
|
+
},
|
|
784
|
+
[o, c]
|
|
785
|
+
), $ = [de.faq, m && de.centered, l].filter(Boolean).join(" ");
|
|
786
|
+
return /* @__PURE__ */ e(
|
|
787
|
+
ke,
|
|
788
|
+
{
|
|
789
|
+
ref: N,
|
|
790
|
+
spacing: "lg",
|
|
791
|
+
background: h,
|
|
792
|
+
className: $,
|
|
793
|
+
...d,
|
|
794
|
+
children: /* @__PURE__ */ a(ve, { size: "lg", children: [
|
|
795
|
+
g && /* @__PURE__ */ a("header", { className: de.header, children: [
|
|
796
|
+
t && /* @__PURE__ */ e("div", { className: de.eyebrow, children: t }),
|
|
797
|
+
s && /* @__PURE__ */ e("h2", { className: de.title, children: s }),
|
|
798
|
+
n && /* @__PURE__ */ e("p", { className: de.description, children: n })
|
|
799
|
+
] }),
|
|
800
|
+
/* @__PURE__ */ e(
|
|
801
|
+
"div",
|
|
802
|
+
{
|
|
803
|
+
className: `${de.list} ${o === "grid" ? de[`cols-${_}`] : ""}`,
|
|
804
|
+
children: i.map((k, v) => /* @__PURE__ */ e(
|
|
805
|
+
Rt,
|
|
806
|
+
{
|
|
807
|
+
item: k,
|
|
808
|
+
variant: o,
|
|
809
|
+
isOpen: o === "accordion" ? p.has(v) : void 0,
|
|
810
|
+
onToggle: o === "accordion" ? () => I(v) : void 0
|
|
811
|
+
},
|
|
812
|
+
k.question || v
|
|
813
|
+
))
|
|
814
|
+
}
|
|
815
|
+
)
|
|
816
|
+
] })
|
|
817
|
+
}
|
|
818
|
+
);
|
|
819
|
+
}
|
|
820
|
+
);
|
|
821
|
+
at.displayName = "FAQ";
|
|
822
|
+
const si = "_section_1vt19_8", ii = "_header_1vt19_17", ci = "_headerContent_1vt19_25", oi = "_headerEyebrow_1vt19_29", li = "_title_1vt19_33", ri = "_description_1vt19_42", di = "_navigation_1vt19_55", _i = "_navButton_1vt19_61", mi = "_pagination_1vt19_91", pi = "_dot_1vt19_98", hi = "_dotActive_1vt19_115", Ce = {
|
|
823
|
+
section: si,
|
|
824
|
+
header: ii,
|
|
825
|
+
headerContent: ci,
|
|
826
|
+
headerEyebrow: oi,
|
|
827
|
+
title: li,
|
|
828
|
+
description: ri,
|
|
829
|
+
navigation: di,
|
|
830
|
+
navButton: _i,
|
|
831
|
+
pagination: mi,
|
|
832
|
+
dot: pi,
|
|
833
|
+
dotActive: hi
|
|
834
|
+
}, ct = 16, ot = 24, lt = 32, He = R(
|
|
835
|
+
({
|
|
836
|
+
eyebrow: t,
|
|
837
|
+
title: s,
|
|
838
|
+
description: n,
|
|
839
|
+
items: i,
|
|
840
|
+
variant: _ = "editorial",
|
|
841
|
+
aspectRatio: o = "16/9",
|
|
842
|
+
peek: c = !0,
|
|
843
|
+
autoScroll: h = !1,
|
|
844
|
+
autoScrollInterval: m = 5e3,
|
|
845
|
+
gap: l = "md",
|
|
846
|
+
background: d = "base",
|
|
847
|
+
showNavigation: N = !0,
|
|
848
|
+
showPagination: g = !1,
|
|
849
|
+
alignToTitle: p = !0,
|
|
850
|
+
highlightActive: r = !1,
|
|
851
|
+
loop: I = !1,
|
|
852
|
+
className: $,
|
|
853
|
+
...k
|
|
854
|
+
}, v) => {
|
|
855
|
+
const y = t || s || n, f = vt(null), w = vt(null), [P, x] = H(!1), [M, C] = H(!0), [z, Ne] = H(0), [ae, ue] = H(
|
|
856
|
+
void 0
|
|
857
|
+
), fe = $e(() => {
|
|
858
|
+
var D;
|
|
859
|
+
return (D = f.current) == null ? void 0 : D.querySelector(
|
|
860
|
+
'[role="region"]'
|
|
861
|
+
);
|
|
862
|
+
}, []), O = $e(() => {
|
|
863
|
+
const D = fe();
|
|
864
|
+
if (!D) return;
|
|
865
|
+
const { scrollLeft: F, scrollWidth: G, clientWidth: xe } = D;
|
|
866
|
+
x(F > 0), C(F < G - xe - 1);
|
|
867
|
+
}, [fe]), Te = $e(
|
|
868
|
+
(D) => {
|
|
869
|
+
var A;
|
|
870
|
+
const F = fe();
|
|
871
|
+
if (!F) return;
|
|
872
|
+
const we = (((A = F.children[0]) == null ? void 0 : A.getBoundingClientRect().width) || 0) + (l === "sm" ? ct : l === "md" ? ot : lt);
|
|
873
|
+
F.scrollBy({
|
|
874
|
+
left: D === "left" ? -we : we,
|
|
875
|
+
behavior: "smooth"
|
|
876
|
+
});
|
|
877
|
+
},
|
|
878
|
+
[l, fe]
|
|
879
|
+
), Be = $e(
|
|
880
|
+
(D) => {
|
|
881
|
+
var we;
|
|
882
|
+
const F = fe();
|
|
883
|
+
if (!F) return;
|
|
884
|
+
const G = ((we = F.children[0]) == null ? void 0 : we.getBoundingClientRect().width) || 0, xe = l === "sm" ? ct : l === "md" ? ot : lt;
|
|
885
|
+
F.scrollTo({
|
|
886
|
+
left: D * (G + xe),
|
|
887
|
+
behavior: "smooth"
|
|
888
|
+
});
|
|
889
|
+
},
|
|
890
|
+
[l, fe]
|
|
891
|
+
);
|
|
892
|
+
Xt(() => {
|
|
893
|
+
if (!p || !y) {
|
|
894
|
+
ue(void 0);
|
|
895
|
+
return;
|
|
896
|
+
}
|
|
897
|
+
const D = () => {
|
|
898
|
+
if (w.current) {
|
|
899
|
+
const F = w.current.getBoundingClientRect();
|
|
900
|
+
ue(Math.round(F.left));
|
|
901
|
+
}
|
|
902
|
+
};
|
|
903
|
+
return D(), window.addEventListener("resize", D), () => {
|
|
904
|
+
window.removeEventListener("resize", D);
|
|
905
|
+
};
|
|
906
|
+
}, [p, y]), Re(() => {
|
|
907
|
+
const D = fe();
|
|
908
|
+
if (!D) return;
|
|
909
|
+
const F = () => {
|
|
910
|
+
var A;
|
|
911
|
+
O();
|
|
912
|
+
const G = ((A = D.children[0]) == null ? void 0 : A.getBoundingClientRect().width) || 0, xe = l === "sm" ? ct : l === "md" ? ot : lt, we = Math.round(D.scrollLeft / (G + xe));
|
|
913
|
+
Ne(Math.min(we, i.length - 1));
|
|
914
|
+
};
|
|
915
|
+
return O(), D.addEventListener("scroll", F), () => {
|
|
916
|
+
D.removeEventListener("scroll", F);
|
|
917
|
+
};
|
|
918
|
+
}, [l, i.length, O, fe]);
|
|
919
|
+
const Ae = [Ce.section, $].filter(Boolean).join(" ");
|
|
920
|
+
return /* @__PURE__ */ a(
|
|
921
|
+
ke,
|
|
922
|
+
{
|
|
923
|
+
ref: v,
|
|
924
|
+
spacing: "lg",
|
|
925
|
+
background: d,
|
|
926
|
+
className: Ae,
|
|
927
|
+
...k,
|
|
928
|
+
children: [
|
|
929
|
+
y && /* @__PURE__ */ e(ve, { size: "xl", children: /* @__PURE__ */ a("header", { ref: w, className: Ce.header, children: [
|
|
930
|
+
/* @__PURE__ */ a("div", { className: Ce.headerContent, children: [
|
|
931
|
+
t && /* @__PURE__ */ e("div", { className: Ce.headerEyebrow, children: t }),
|
|
932
|
+
s && /* @__PURE__ */ e("h2", { className: Ce.title, children: s }),
|
|
933
|
+
n && /* @__PURE__ */ e("p", { className: Ce.description, children: n })
|
|
934
|
+
] }),
|
|
935
|
+
N && i.length > 1 && /* @__PURE__ */ a("div", { className: Ce.navigation, children: [
|
|
936
|
+
/* @__PURE__ */ e(
|
|
937
|
+
"button",
|
|
938
|
+
{
|
|
939
|
+
type: "button",
|
|
940
|
+
className: Ce.navButton,
|
|
941
|
+
onClick: () => Te("left"),
|
|
942
|
+
disabled: !P,
|
|
943
|
+
"aria-label": "Previous",
|
|
944
|
+
children: /* @__PURE__ */ e(_a, { size: 24 })
|
|
945
|
+
}
|
|
946
|
+
),
|
|
947
|
+
/* @__PURE__ */ e(
|
|
948
|
+
"button",
|
|
949
|
+
{
|
|
950
|
+
type: "button",
|
|
951
|
+
className: Ce.navButton,
|
|
952
|
+
onClick: () => Te("right"),
|
|
953
|
+
disabled: !M,
|
|
954
|
+
"aria-label": "Next",
|
|
955
|
+
children: /* @__PURE__ */ e(Pt, { size: 24 })
|
|
956
|
+
}
|
|
957
|
+
)
|
|
958
|
+
] })
|
|
959
|
+
] }) }),
|
|
960
|
+
/* @__PURE__ */ e(
|
|
961
|
+
Jt,
|
|
962
|
+
{
|
|
963
|
+
ref: f,
|
|
964
|
+
items: i,
|
|
965
|
+
variant: _,
|
|
966
|
+
aspectRatio: o,
|
|
967
|
+
peek: c,
|
|
968
|
+
autoScroll: h,
|
|
969
|
+
autoScrollInterval: m,
|
|
970
|
+
gap: l,
|
|
971
|
+
align: p && y ? "container" : "edge",
|
|
972
|
+
alignOffset: ae,
|
|
973
|
+
showNavigation: !y && N,
|
|
974
|
+
showPagination: !1,
|
|
975
|
+
highlightActive: r,
|
|
976
|
+
loop: I
|
|
977
|
+
}
|
|
978
|
+
),
|
|
979
|
+
g && i.length > 1 && /* @__PURE__ */ e(ve, { size: "xl", children: /* @__PURE__ */ e("div", { className: Ce.pagination, children: i.map((D, F) => /* @__PURE__ */ e(
|
|
980
|
+
"button",
|
|
981
|
+
{
|
|
982
|
+
type: "button",
|
|
983
|
+
className: `${Ce.dot} ${F === z ? Ce.dotActive : ""}`,
|
|
984
|
+
onClick: () => Be(F),
|
|
985
|
+
"aria-label": `Go to slide ${F + 1}`
|
|
986
|
+
},
|
|
987
|
+
F
|
|
988
|
+
)) }) })
|
|
989
|
+
]
|
|
990
|
+
}
|
|
991
|
+
);
|
|
992
|
+
}
|
|
993
|
+
);
|
|
994
|
+
He.displayName = "CarouselSection";
|
|
995
|
+
const ui = "_team_13lec_8", gi = "_header_13lec_16", vi = "_centered_13lec_20", Ni = "_description_13lec_25", fi = "_eyebrow_13lec_31", yi = "_title_13lec_35", bi = "_grid_13lec_57", ki = "_memberCard_13lec_78", wi = "_cardBody_13lec_117", Ii = "_avatarWrapper_13lec_143", $i = "_avatarLegacy_13lec_148", xi = "_info_13lec_180", Ci = "_name_13lec_188", Si = "_role_13lec_211", Pi = "_bio_13lec_219", Ti = "_socialLinks_13lec_231", Bi = "_socialLink_13lec_231", re = {
|
|
996
|
+
team: ui,
|
|
997
|
+
header: gi,
|
|
998
|
+
centered: vi,
|
|
999
|
+
description: Ni,
|
|
1000
|
+
eyebrow: fi,
|
|
1001
|
+
title: yi,
|
|
1002
|
+
grid: bi,
|
|
1003
|
+
"cols-2": "_cols-2_13lec_62",
|
|
1004
|
+
"cols-3": "_cols-3_13lec_66",
|
|
1005
|
+
"cols-4": "_cols-4_13lec_70",
|
|
1006
|
+
memberCard: ki,
|
|
1007
|
+
"variant-default": "_variant-default_13lec_97",
|
|
1008
|
+
"variant-cards": "_variant-cards_13lec_106",
|
|
1009
|
+
cardBody: wi,
|
|
1010
|
+
"variant-compact": "_variant-compact_13lec_126",
|
|
1011
|
+
avatarWrapper: Ii,
|
|
1012
|
+
avatarLegacy: $i,
|
|
1013
|
+
info: xi,
|
|
1014
|
+
name: Ci,
|
|
1015
|
+
role: Si,
|
|
1016
|
+
bio: Pi,
|
|
1017
|
+
socialLinks: Ti,
|
|
1018
|
+
socialLink: Bi
|
|
1019
|
+
}, Ot = ({
|
|
1020
|
+
member: t,
|
|
1021
|
+
variant: s = "default",
|
|
1022
|
+
className: n
|
|
1023
|
+
}) => {
|
|
1024
|
+
const { name: i, role: _, bio: o, avatarSrc: c, avatarInitials: h, avatar: m, socialLinks: l } = t, d = s === "compact" ? "xl" : "profile", N = [
|
|
1025
|
+
re.memberCard,
|
|
1026
|
+
re[`variant-${s}`],
|
|
1027
|
+
n
|
|
1028
|
+
].filter(Boolean).join(" "), g = h || i.split(" ").map((r) => r[0]).join("").slice(0, 2).toUpperCase(), p = /* @__PURE__ */ a(Pe, { children: [
|
|
1029
|
+
/* @__PURE__ */ e("div", { className: re.avatarWrapper, children: c ? /* @__PURE__ */ e(
|
|
1030
|
+
Se,
|
|
1031
|
+
{
|
|
1032
|
+
src: c,
|
|
1033
|
+
alt: i,
|
|
1034
|
+
initials: g,
|
|
1035
|
+
size: d
|
|
1036
|
+
}
|
|
1037
|
+
) : m ? /* @__PURE__ */ e("div", { className: re.avatarLegacy, children: m }) : /* @__PURE__ */ e(Se, { initials: g, size: d }) }),
|
|
1038
|
+
/* @__PURE__ */ a("div", { className: re.info, children: [
|
|
1039
|
+
/* @__PURE__ */ e("h3", { className: re.name, children: i }),
|
|
1040
|
+
/* @__PURE__ */ e("p", { className: re.role, children: _ }),
|
|
1041
|
+
o && s !== "compact" && /* @__PURE__ */ e("p", { className: re.bio, children: o }),
|
|
1042
|
+
l && l.length > 0 && /* @__PURE__ */ e("div", { className: re.socialLinks, children: l.map((r, I) => /* @__PURE__ */ e(
|
|
1043
|
+
"a",
|
|
1044
|
+
{
|
|
1045
|
+
href: r.href,
|
|
1046
|
+
className: re.socialLink,
|
|
1047
|
+
"aria-label": r.platform,
|
|
1048
|
+
target: "_blank",
|
|
1049
|
+
rel: "noopener noreferrer",
|
|
1050
|
+
children: r.icon
|
|
1051
|
+
},
|
|
1052
|
+
r.platform || I
|
|
1053
|
+
)) })
|
|
1054
|
+
] })
|
|
1055
|
+
] });
|
|
1056
|
+
return s === "cards" ? /* @__PURE__ */ e(me, { variant: "base", className: N, children: /* @__PURE__ */ e(me.Body, { className: re.cardBody, children: p }) }) : /* @__PURE__ */ e("div", { className: N, children: p });
|
|
1057
|
+
};
|
|
1058
|
+
Ot.displayName = "TeamMemberCard";
|
|
1059
|
+
const Ft = R(
|
|
1060
|
+
({
|
|
1061
|
+
eyebrow: t,
|
|
1062
|
+
title: s,
|
|
1063
|
+
description: n,
|
|
1064
|
+
members: i,
|
|
1065
|
+
columns: _ = 4,
|
|
1066
|
+
variant: o = "default",
|
|
1067
|
+
background: c = "base",
|
|
1068
|
+
centered: h = !0,
|
|
1069
|
+
className: m,
|
|
1070
|
+
...l
|
|
1071
|
+
}, d) => {
|
|
1072
|
+
const N = t || s || n, g = [re.team, h && re.centered, m].filter(Boolean).join(" ");
|
|
1073
|
+
return /* @__PURE__ */ e(
|
|
1074
|
+
ke,
|
|
1075
|
+
{
|
|
1076
|
+
ref: d,
|
|
1077
|
+
spacing: "lg",
|
|
1078
|
+
background: c,
|
|
1079
|
+
className: g,
|
|
1080
|
+
...l,
|
|
1081
|
+
children: /* @__PURE__ */ a(ve, { size: "xl", children: [
|
|
1082
|
+
N && /* @__PURE__ */ a("header", { className: re.header, children: [
|
|
1083
|
+
t && /* @__PURE__ */ e("div", { className: re.eyebrow, children: t }),
|
|
1084
|
+
s && /* @__PURE__ */ e("h2", { className: re.title, children: s }),
|
|
1085
|
+
n && /* @__PURE__ */ e("p", { className: re.description, children: n })
|
|
1086
|
+
] }),
|
|
1087
|
+
/* @__PURE__ */ e("div", { className: `${re.grid} ${re[`cols-${_}`]}`, children: i.map((p, r) => /* @__PURE__ */ e(
|
|
1088
|
+
Ot,
|
|
1089
|
+
{
|
|
1090
|
+
member: p,
|
|
1091
|
+
variant: o
|
|
1092
|
+
},
|
|
1093
|
+
p.name || r
|
|
1094
|
+
)) })
|
|
1095
|
+
] })
|
|
1096
|
+
}
|
|
1097
|
+
);
|
|
1098
|
+
}
|
|
1099
|
+
);
|
|
1100
|
+
Ft.displayName = "Team";
|
|
1101
|
+
const Li = "_contact_qu39g_8", ji = "_header_qu39g_16", zi = "_eyebrow_qu39g_21", Ai = "_title_qu39g_25", qi = "_description_qu39g_34", Mi = "_content_qu39g_47", Ei = "_contactInfo_qu39g_63", Wi = "_infoItem_qu39g_70", Hi = "_infoIcon_qu39g_96", Di = "_infoContent_qu39g_108", Ri = "_infoLabel_qu39g_114", Oi = "_infoValue_qu39g_123", Fi = "_additionalContent_qu39g_134", Gi = "_form_qu39g_144", Ui = "_formFields_qu39g_150", Vi = "_formField_qu39g_150", Qi = "_formAction_qu39g_160", ce = {
|
|
1102
|
+
contact: Li,
|
|
1103
|
+
header: ji,
|
|
1104
|
+
eyebrow: zi,
|
|
1105
|
+
title: Ai,
|
|
1106
|
+
description: qi,
|
|
1107
|
+
content: Mi,
|
|
1108
|
+
"layout-split": "_layout-split_qu39g_53",
|
|
1109
|
+
"layout-stacked": "_layout-stacked_qu39g_59",
|
|
1110
|
+
contactInfo: Ei,
|
|
1111
|
+
infoItem: Wi,
|
|
1112
|
+
"layout-form-only": "_layout-form-only_qu39g_75",
|
|
1113
|
+
infoIcon: Hi,
|
|
1114
|
+
infoContent: Di,
|
|
1115
|
+
infoLabel: Ri,
|
|
1116
|
+
infoValue: Oi,
|
|
1117
|
+
additionalContent: Fi,
|
|
1118
|
+
form: Gi,
|
|
1119
|
+
formFields: Ui,
|
|
1120
|
+
formField: Vi,
|
|
1121
|
+
formAction: Qi
|
|
1122
|
+
}, Ki = [
|
|
1123
|
+
{
|
|
1124
|
+
name: "name",
|
|
1125
|
+
label: "Name",
|
|
1126
|
+
type: "text",
|
|
1127
|
+
required: !0,
|
|
1128
|
+
placeholder: "Your name"
|
|
1129
|
+
},
|
|
1130
|
+
{
|
|
1131
|
+
name: "email",
|
|
1132
|
+
label: "Email",
|
|
1133
|
+
type: "email",
|
|
1134
|
+
required: !0,
|
|
1135
|
+
placeholder: "your@email.com"
|
|
1136
|
+
},
|
|
1137
|
+
{
|
|
1138
|
+
name: "message",
|
|
1139
|
+
label: "Message",
|
|
1140
|
+
type: "textarea",
|
|
1141
|
+
required: !0,
|
|
1142
|
+
placeholder: "How can we help?",
|
|
1143
|
+
rows: 4
|
|
1144
|
+
}
|
|
1145
|
+
], Gt = R(
|
|
1146
|
+
({
|
|
1147
|
+
eyebrow: t,
|
|
1148
|
+
title: s,
|
|
1149
|
+
description: n,
|
|
1150
|
+
contactInfo: i,
|
|
1151
|
+
formFields: _ = Ki,
|
|
1152
|
+
onSubmit: o,
|
|
1153
|
+
submitButton: c,
|
|
1154
|
+
submitText: h = "Send Message",
|
|
1155
|
+
layout: m = "split",
|
|
1156
|
+
background: l = "subtle",
|
|
1157
|
+
additionalContent: d,
|
|
1158
|
+
className: N,
|
|
1159
|
+
...g
|
|
1160
|
+
}, p) => {
|
|
1161
|
+
const r = t || s || n, I = i && i.length > 0, [$, k] = H({}), v = $e((x, M) => {
|
|
1162
|
+
k((C) => ({ ...C, [x]: M }));
|
|
1163
|
+
}, []), y = $e(
|
|
1164
|
+
(x) => {
|
|
1165
|
+
x.preventDefault(), o && o($);
|
|
1166
|
+
},
|
|
1167
|
+
[$, o]
|
|
1168
|
+
), f = [ce.contact, ce[`layout-${m}`], N].filter(Boolean).join(" "), w = () => /* @__PURE__ */ a("form", { className: ce.form, onSubmit: y, children: [
|
|
1169
|
+
/* @__PURE__ */ e("div", { className: ce.formFields, children: _.map((x) => x.type === "textarea" ? /* @__PURE__ */ e(
|
|
1170
|
+
Zt,
|
|
1171
|
+
{
|
|
1172
|
+
label: x.label,
|
|
1173
|
+
name: x.name,
|
|
1174
|
+
placeholder: x.placeholder,
|
|
1175
|
+
required: x.required,
|
|
1176
|
+
rows: x.rows || 4,
|
|
1177
|
+
value: $[x.name] || "",
|
|
1178
|
+
onChange: (M) => v(x.name, M.target.value),
|
|
1179
|
+
className: ce.formField
|
|
1180
|
+
},
|
|
1181
|
+
x.name
|
|
1182
|
+
) : /* @__PURE__ */ e(
|
|
1183
|
+
Ye,
|
|
1184
|
+
{
|
|
1185
|
+
label: x.label,
|
|
1186
|
+
name: x.name,
|
|
1187
|
+
type: x.type || "text",
|
|
1188
|
+
placeholder: x.placeholder,
|
|
1189
|
+
required: x.required,
|
|
1190
|
+
value: $[x.name] || "",
|
|
1191
|
+
onChange: (M) => v(x.name, M.target.value),
|
|
1192
|
+
className: ce.formField
|
|
1193
|
+
},
|
|
1194
|
+
x.name
|
|
1195
|
+
)) }),
|
|
1196
|
+
/* @__PURE__ */ e("div", { className: ce.formAction, children: c || /* @__PURE__ */ e(_e, { type: "submit", size: "lg", children: h }) })
|
|
1197
|
+
] }), P = () => /* @__PURE__ */ a("div", { className: ce.contactInfo, children: [
|
|
1198
|
+
i == null ? void 0 : i.map((x, M) => /* @__PURE__ */ a("div", { className: ce.infoItem, children: [
|
|
1199
|
+
x.icon && /* @__PURE__ */ e("div", { className: ce.infoIcon, children: x.icon }),
|
|
1200
|
+
/* @__PURE__ */ a("div", { className: ce.infoContent, children: [
|
|
1201
|
+
/* @__PURE__ */ e("span", { className: ce.infoLabel, children: x.label }),
|
|
1202
|
+
x.href ? /* @__PURE__ */ e("a", { href: x.href, className: ce.infoValue, children: x.value }) : /* @__PURE__ */ e("span", { className: ce.infoValue, children: x.value })
|
|
1203
|
+
] })
|
|
1204
|
+
] }, x.label || M)),
|
|
1205
|
+
d && /* @__PURE__ */ e("div", { className: ce.additionalContent, children: d })
|
|
1206
|
+
] });
|
|
1207
|
+
return /* @__PURE__ */ e(
|
|
1208
|
+
ke,
|
|
1209
|
+
{
|
|
1210
|
+
ref: p,
|
|
1211
|
+
spacing: "lg",
|
|
1212
|
+
background: l,
|
|
1213
|
+
className: f,
|
|
1214
|
+
...g,
|
|
1215
|
+
children: /* @__PURE__ */ a(ve, { size: "lg", children: [
|
|
1216
|
+
r && /* @__PURE__ */ a("header", { className: ce.header, children: [
|
|
1217
|
+
t && /* @__PURE__ */ e("div", { className: ce.eyebrow, children: t }),
|
|
1218
|
+
s && /* @__PURE__ */ e("h2", { className: ce.title, children: s }),
|
|
1219
|
+
n && /* @__PURE__ */ e("p", { className: ce.description, children: n })
|
|
1220
|
+
] }),
|
|
1221
|
+
/* @__PURE__ */ a("div", { className: ce.content, children: [
|
|
1222
|
+
m !== "form-only" && I && P(),
|
|
1223
|
+
w()
|
|
1224
|
+
] })
|
|
1225
|
+
] })
|
|
1226
|
+
}
|
|
1227
|
+
);
|
|
1228
|
+
}
|
|
1229
|
+
);
|
|
1230
|
+
Gt.displayName = "Contact";
|
|
1231
|
+
const Yi = "_newsletter_ubh9w_8", Xi = "_centered_ubh9w_16", Ji = "_header_ubh9w_19", Zi = "_description_ubh9w_23", ec = "_form_ubh9w_28", tc = "_inputGroup_ubh9w_32", ac = "_disclaimer_ubh9w_36", nc = "_eyebrow_ubh9w_49", sc = "_title_ubh9w_53", ic = "_emailInput_ubh9w_113", cc = "_submitButton_ubh9w_118", oc = "_card_ubh9w_141", lc = "_cardBody_ubh9w_145", rc = "_successState_ubh9w_166", dc = "_errorState_ubh9w_167", _c = "_successIcon_ubh9w_182", mc = "_errorIcon_ubh9w_192", oe = {
|
|
1232
|
+
newsletter: Yi,
|
|
1233
|
+
centered: Xi,
|
|
1234
|
+
header: Ji,
|
|
1235
|
+
description: Zi,
|
|
1236
|
+
form: ec,
|
|
1237
|
+
inputGroup: tc,
|
|
1238
|
+
disclaimer: ac,
|
|
1239
|
+
eyebrow: nc,
|
|
1240
|
+
title: sc,
|
|
1241
|
+
"size-sm": "_size-sm_ubh9w_75",
|
|
1242
|
+
"size-lg": "_size-lg_ubh9w_85",
|
|
1243
|
+
emailInput: ic,
|
|
1244
|
+
submitButton: cc,
|
|
1245
|
+
"layout-stacked": "_layout-stacked_ubh9w_127",
|
|
1246
|
+
card: oc,
|
|
1247
|
+
cardBody: lc,
|
|
1248
|
+
successState: rc,
|
|
1249
|
+
errorState: dc,
|
|
1250
|
+
successIcon: _c,
|
|
1251
|
+
errorIcon: mc
|
|
1252
|
+
}, pc = R(
|
|
1253
|
+
({
|
|
1254
|
+
eyebrow: t,
|
|
1255
|
+
title: s,
|
|
1256
|
+
description: n,
|
|
1257
|
+
placeholder: i = "Enter your email",
|
|
1258
|
+
buttonText: _ = "Subscribe",
|
|
1259
|
+
submitButton: o,
|
|
1260
|
+
onSubmit: c,
|
|
1261
|
+
disclaimer: h,
|
|
1262
|
+
layout: m = "inline",
|
|
1263
|
+
size: l = "md",
|
|
1264
|
+
background: d = "subtle",
|
|
1265
|
+
centered: N = !0,
|
|
1266
|
+
successMessage: g,
|
|
1267
|
+
errorMessage: p,
|
|
1268
|
+
loading: r = !1,
|
|
1269
|
+
className: I,
|
|
1270
|
+
...$
|
|
1271
|
+
}, k) => {
|
|
1272
|
+
const v = t || s || n, [y, f] = H(""), [w, P] = H(!1), [x, M] = H(!1), C = $e(
|
|
1273
|
+
(ue) => {
|
|
1274
|
+
ue.preventDefault(), c && y && (c(y), P(!0), M(!1));
|
|
1275
|
+
},
|
|
1276
|
+
[y, c]
|
|
1277
|
+
), z = [
|
|
1278
|
+
oe.newsletter,
|
|
1279
|
+
oe[`layout-${m}`],
|
|
1280
|
+
oe[`size-${l}`],
|
|
1281
|
+
N && oe.centered,
|
|
1282
|
+
I
|
|
1283
|
+
].filter(Boolean).join(" "), Ne = () => w && g ? /* @__PURE__ */ a("div", { className: oe.successState, children: [
|
|
1284
|
+
/* @__PURE__ */ e(ma, { size: 24, className: oe.successIcon }),
|
|
1285
|
+
/* @__PURE__ */ e("span", { children: g })
|
|
1286
|
+
] }) : x && p ? /* @__PURE__ */ a("div", { className: oe.errorState, children: [
|
|
1287
|
+
/* @__PURE__ */ e(Tt, { size: 24, className: oe.errorIcon }),
|
|
1288
|
+
/* @__PURE__ */ e("span", { children: p }),
|
|
1289
|
+
/* @__PURE__ */ e(_e, { variant: "ghost", size: "sm", onClick: () => M(!1), children: "Try again" })
|
|
1290
|
+
] }) : /* @__PURE__ */ a("form", { className: oe.form, onSubmit: C, children: [
|
|
1291
|
+
/* @__PURE__ */ a("div", { className: oe.inputGroup, children: [
|
|
1292
|
+
/* @__PURE__ */ e(
|
|
1293
|
+
Ye,
|
|
1294
|
+
{
|
|
1295
|
+
type: "email",
|
|
1296
|
+
placeholder: i,
|
|
1297
|
+
value: y,
|
|
1298
|
+
onChange: (ue) => f(ue.target.value),
|
|
1299
|
+
required: !0,
|
|
1300
|
+
className: oe.emailInput,
|
|
1301
|
+
"aria-label": "Email address"
|
|
1302
|
+
}
|
|
1303
|
+
),
|
|
1304
|
+
o || /* @__PURE__ */ e(
|
|
1305
|
+
_e,
|
|
1306
|
+
{
|
|
1307
|
+
type: "submit",
|
|
1308
|
+
disabled: r || !y,
|
|
1309
|
+
className: oe.submitButton,
|
|
1310
|
+
children: r ? "Sending..." : _
|
|
1311
|
+
}
|
|
1312
|
+
)
|
|
1313
|
+
] }),
|
|
1314
|
+
h && /* @__PURE__ */ e("p", { className: oe.disclaimer, children: h })
|
|
1315
|
+
] }), ae = /* @__PURE__ */ a(Pe, { children: [
|
|
1316
|
+
v && /* @__PURE__ */ a("header", { className: oe.header, children: [
|
|
1317
|
+
t && /* @__PURE__ */ e("div", { className: oe.eyebrow, children: t }),
|
|
1318
|
+
s && /* @__PURE__ */ e("h2", { className: oe.title, children: s }),
|
|
1319
|
+
n && /* @__PURE__ */ e("p", { className: oe.description, children: n })
|
|
1320
|
+
] }),
|
|
1321
|
+
Ne()
|
|
1322
|
+
] });
|
|
1323
|
+
return /* @__PURE__ */ e(
|
|
1324
|
+
ke,
|
|
1325
|
+
{
|
|
1326
|
+
ref: k,
|
|
1327
|
+
spacing: l === "lg" ? "lg" : "md",
|
|
1328
|
+
background: d,
|
|
1329
|
+
className: z,
|
|
1330
|
+
...$,
|
|
1331
|
+
children: /* @__PURE__ */ e(ve, { size: "md", children: m === "card" ? /* @__PURE__ */ e(me, { variant: "elevated", className: oe.card, children: /* @__PURE__ */ e(me.Body, { className: oe.cardBody, children: ae }) }) : ae })
|
|
1332
|
+
}
|
|
1333
|
+
);
|
|
1334
|
+
}
|
|
1335
|
+
);
|
|
1336
|
+
pc.displayName = "Newsletter";
|
|
1337
|
+
const hc = "_logoCloud_1iy9x_8", uc = "_centered_1iy9x_16", gc = "_header_1iy9x_19", vc = "_description_1iy9x_23", Nc = "_logosContainer_1iy9x_28", fc = "_eyebrow_1iy9x_41", yc = "_title_1iy9x_51", bc = "_logo_1iy9x_8", kc = "_logoLink_1iy9x_114", wc = "_grayscale_1iy9x_137", Ic = "_marquee_1iy9x_193", $c = "_marqueeTrack_1iy9x_205", he = {
|
|
1338
|
+
logoCloud: hc,
|
|
1339
|
+
centered: uc,
|
|
1340
|
+
header: gc,
|
|
1341
|
+
description: vc,
|
|
1342
|
+
logosContainer: Nc,
|
|
1343
|
+
eyebrow: fc,
|
|
1344
|
+
title: yc,
|
|
1345
|
+
"layout-grid": "_layout-grid_1iy9x_81",
|
|
1346
|
+
"cols-3": "_cols-3_1iy9x_86",
|
|
1347
|
+
"cols-4": "_cols-4_1iy9x_90",
|
|
1348
|
+
"cols-5": "_cols-5_1iy9x_94",
|
|
1349
|
+
"cols-6": "_cols-6_1iy9x_98",
|
|
1350
|
+
"layout-inline": "_layout-inline_1iy9x_103",
|
|
1351
|
+
logo: bc,
|
|
1352
|
+
logoLink: kc,
|
|
1353
|
+
grayscale: wc,
|
|
1354
|
+
"size-sm": "_size-sm_1iy9x_153",
|
|
1355
|
+
"size-md": "_size-md_1iy9x_158",
|
|
1356
|
+
"size-lg": "_size-lg_1iy9x_163",
|
|
1357
|
+
marquee: Ic,
|
|
1358
|
+
marqueeTrack: $c,
|
|
1359
|
+
"speed-slow": "_speed-slow_1iy9x_212",
|
|
1360
|
+
"speed-normal": "_speed-normal_1iy9x_216",
|
|
1361
|
+
"speed-fast": "_speed-fast_1iy9x_220"
|
|
1362
|
+
}, Ut = R(
|
|
1363
|
+
({
|
|
1364
|
+
eyebrow: t,
|
|
1365
|
+
title: s,
|
|
1366
|
+
description: n,
|
|
1367
|
+
logos: i,
|
|
1368
|
+
layout: _ = "inline",
|
|
1369
|
+
columns: o = 5,
|
|
1370
|
+
size: c = "md",
|
|
1371
|
+
grayscale: h = !0,
|
|
1372
|
+
background: m = "none",
|
|
1373
|
+
centered: l = !0,
|
|
1374
|
+
marqueeSpeed: d = "normal",
|
|
1375
|
+
className: N,
|
|
1376
|
+
...g
|
|
1377
|
+
}, p) => {
|
|
1378
|
+
const r = t || s || n, I = [
|
|
1379
|
+
he.logoCloud,
|
|
1380
|
+
he[`layout-${_}`],
|
|
1381
|
+
he[`size-${c}`],
|
|
1382
|
+
h && he.grayscale,
|
|
1383
|
+
l && he.centered,
|
|
1384
|
+
N
|
|
1385
|
+
].filter(Boolean).join(" "), $ = (v, y) => {
|
|
1386
|
+
const f = /* @__PURE__ */ a("div", { className: he.logo, children: [
|
|
1387
|
+
v.logo,
|
|
1388
|
+
/* @__PURE__ */ e("span", { className: "sr-only", children: v.name })
|
|
1389
|
+
] }, v.name || y);
|
|
1390
|
+
return v.href ? /* @__PURE__ */ e(
|
|
1391
|
+
"a",
|
|
1392
|
+
{
|
|
1393
|
+
href: v.href,
|
|
1394
|
+
className: he.logoLink,
|
|
1395
|
+
target: "_blank",
|
|
1396
|
+
rel: "noopener noreferrer",
|
|
1397
|
+
"aria-label": v.name,
|
|
1398
|
+
children: v.logo
|
|
1399
|
+
},
|
|
1400
|
+
v.name || y
|
|
1401
|
+
) : f;
|
|
1402
|
+
}, k = () => _ === "marquee" ? /* @__PURE__ */ e(
|
|
1403
|
+
"div",
|
|
1404
|
+
{
|
|
1405
|
+
className: `${he.marquee} ${he[`speed-${d}`]}`,
|
|
1406
|
+
children: /* @__PURE__ */ a("div", { className: he.marqueeTrack, children: [
|
|
1407
|
+
i.map($),
|
|
1408
|
+
i.map(
|
|
1409
|
+
(v, y) => $(v, y + i.length)
|
|
1410
|
+
)
|
|
1411
|
+
] })
|
|
1412
|
+
}
|
|
1413
|
+
) : /* @__PURE__ */ e(
|
|
1414
|
+
"div",
|
|
1415
|
+
{
|
|
1416
|
+
className: `${he.logosContainer} ${_ === "grid" ? he[`cols-${o}`] : ""}`,
|
|
1417
|
+
children: i.map($)
|
|
1418
|
+
}
|
|
1419
|
+
);
|
|
1420
|
+
return /* @__PURE__ */ e(
|
|
1421
|
+
ke,
|
|
1422
|
+
{
|
|
1423
|
+
ref: p,
|
|
1424
|
+
spacing: "md",
|
|
1425
|
+
background: m,
|
|
1426
|
+
className: I,
|
|
1427
|
+
...g,
|
|
1428
|
+
children: /* @__PURE__ */ a(ve, { size: "xl", children: [
|
|
1429
|
+
r && /* @__PURE__ */ a("header", { className: he.header, children: [
|
|
1430
|
+
t && /* @__PURE__ */ e("div", { className: he.eyebrow, children: t }),
|
|
1431
|
+
s && /* @__PURE__ */ e("h2", { className: he.title, children: s }),
|
|
1432
|
+
n && /* @__PURE__ */ e("p", { className: he.description, children: n })
|
|
1433
|
+
] }),
|
|
1434
|
+
k()
|
|
1435
|
+
] })
|
|
1436
|
+
}
|
|
1437
|
+
);
|
|
1438
|
+
}
|
|
1439
|
+
);
|
|
1440
|
+
Ut.displayName = "LogoCloud";
|
|
1441
|
+
const xc = "_blog_1qmo8_5", Cc = "_container_1qmo8_21", Sc = "_header_1qmo8_26", Pc = "_eyebrow_1qmo8_31", Tc = "_title_1qmo8_41", Bc = "_description_1qmo8_50", Lc = "_grid_1qmo8_58", jc = "_list_1qmo8_76", zc = "_featured_1qmo8_83", Ac = "_featuredMain_1qmo8_89", qc = "_article_1qmo8_94", Mc = "_articleImage_1qmo8_109", Ec = "_articleContent_1qmo8_120", Wc = "_articleMeta_1qmo8_124", Hc = "_date_1qmo8_133", Dc = "_readTime_1qmo8_138", Rc = "_articleTitle_1qmo8_142", Oc = "_excerpt_1qmo8_164", Fc = "_author_1qmo8_175", Gc = "_authorAvatar_1qmo8_182", Uc = "_authorInfo_1qmo8_190", Vc = "_authorName_1qmo8_196", Qc = "_viewAll_1qmo8_221", Kc = "_viewAllLink_1qmo8_226", Yc = "_tags_1qmo8_241", K = {
|
|
1442
|
+
blog: xc,
|
|
1443
|
+
container: Cc,
|
|
1444
|
+
header: Sc,
|
|
1445
|
+
eyebrow: Pc,
|
|
1446
|
+
title: Tc,
|
|
1447
|
+
description: Bc,
|
|
1448
|
+
grid: Lc,
|
|
1449
|
+
list: jc,
|
|
1450
|
+
featured: zc,
|
|
1451
|
+
featuredMain: Ac,
|
|
1452
|
+
article: qc,
|
|
1453
|
+
articleImage: Mc,
|
|
1454
|
+
articleContent: Ec,
|
|
1455
|
+
articleMeta: Wc,
|
|
1456
|
+
date: Hc,
|
|
1457
|
+
readTime: Dc,
|
|
1458
|
+
articleTitle: Rc,
|
|
1459
|
+
excerpt: Oc,
|
|
1460
|
+
author: Fc,
|
|
1461
|
+
authorAvatar: Gc,
|
|
1462
|
+
authorInfo: Uc,
|
|
1463
|
+
authorName: Vc,
|
|
1464
|
+
viewAll: Qc,
|
|
1465
|
+
viewAllLink: Kc,
|
|
1466
|
+
tags: Yc
|
|
1467
|
+
}, rt = ({
|
|
1468
|
+
article: t,
|
|
1469
|
+
showAuthor: s = !0,
|
|
1470
|
+
showDate: n = !0,
|
|
1471
|
+
showCategory: i = !0,
|
|
1472
|
+
showReadTime: _ = !0,
|
|
1473
|
+
featured: o = !1
|
|
1474
|
+
}) => /* @__PURE__ */ a(
|
|
1475
|
+
"article",
|
|
1476
|
+
{
|
|
1477
|
+
className: `${K.article} ${o ? K.featuredMain : ""}`,
|
|
1478
|
+
children: [
|
|
1479
|
+
t.image && /* @__PURE__ */ e(
|
|
1480
|
+
"img",
|
|
1481
|
+
{
|
|
1482
|
+
src: t.image,
|
|
1483
|
+
alt: t.title,
|
|
1484
|
+
className: K.articleImage
|
|
1485
|
+
}
|
|
1486
|
+
),
|
|
1487
|
+
/* @__PURE__ */ a("div", { className: K.articleContent, children: [
|
|
1488
|
+
/* @__PURE__ */ a("div", { className: K.articleMeta, children: [
|
|
1489
|
+
i && t.category && /* @__PURE__ */ e(Ke, { variant: "primary", size: "sm", children: t.category }),
|
|
1490
|
+
_ && t.readTime && /* @__PURE__ */ a("span", { className: K.readTime, children: [
|
|
1491
|
+
t.readTime,
|
|
1492
|
+
" min read"
|
|
1493
|
+
] })
|
|
1494
|
+
] }),
|
|
1495
|
+
/* @__PURE__ */ e("h3", { className: K.articleTitle, children: t.href ? /* @__PURE__ */ e("a", { href: t.href, children: t.title }) : t.title }),
|
|
1496
|
+
/* @__PURE__ */ e("p", { className: K.excerpt, children: t.excerpt }),
|
|
1497
|
+
t.tags && t.tags.length > 0 && /* @__PURE__ */ e("div", { className: K.tags, children: t.tags.map((c, h) => /* @__PURE__ */ e(Ke, { variant: "neutral", size: "sm", children: c }, h)) }),
|
|
1498
|
+
s && t.author && /* @__PURE__ */ a("div", { className: K.author, children: [
|
|
1499
|
+
t.author.avatar && /* @__PURE__ */ e(
|
|
1500
|
+
"img",
|
|
1501
|
+
{
|
|
1502
|
+
src: t.author.avatar,
|
|
1503
|
+
alt: t.author.name,
|
|
1504
|
+
className: K.authorAvatar
|
|
1505
|
+
}
|
|
1506
|
+
),
|
|
1507
|
+
/* @__PURE__ */ a("div", { className: K.authorInfo, children: [
|
|
1508
|
+
/* @__PURE__ */ e("span", { className: K.authorName, children: t.author.name }),
|
|
1509
|
+
n && t.date && /* @__PURE__ */ e("span", { className: K.date, children: t.date })
|
|
1510
|
+
] })
|
|
1511
|
+
] })
|
|
1512
|
+
] })
|
|
1513
|
+
]
|
|
1514
|
+
}
|
|
1515
|
+
), Xc = ({
|
|
1516
|
+
eyebrow: t,
|
|
1517
|
+
title: s,
|
|
1518
|
+
description: n,
|
|
1519
|
+
articles: i,
|
|
1520
|
+
layout: _ = "grid",
|
|
1521
|
+
columns: o = 3,
|
|
1522
|
+
showAuthor: c = !0,
|
|
1523
|
+
showDate: h = !0,
|
|
1524
|
+
showCategory: m = !0,
|
|
1525
|
+
showReadTime: l = !0,
|
|
1526
|
+
background: d = "base",
|
|
1527
|
+
viewAllHref: N,
|
|
1528
|
+
viewAllText: g = "View all articles",
|
|
1529
|
+
className: p,
|
|
1530
|
+
...r
|
|
1531
|
+
}) => {
|
|
1532
|
+
const I = () => {
|
|
1533
|
+
if (_ === "featured" && i.length > 0) {
|
|
1534
|
+
const [k, ...v] = i;
|
|
1535
|
+
return k ? /* @__PURE__ */ a("div", { className: K.featured, children: [
|
|
1536
|
+
/* @__PURE__ */ e(
|
|
1537
|
+
rt,
|
|
1538
|
+
{
|
|
1539
|
+
article: k,
|
|
1540
|
+
showAuthor: c,
|
|
1541
|
+
showDate: h,
|
|
1542
|
+
showCategory: m,
|
|
1543
|
+
showReadTime: l,
|
|
1544
|
+
featured: !0
|
|
1545
|
+
}
|
|
1546
|
+
),
|
|
1547
|
+
v.slice(0, 2).map((y) => /* @__PURE__ */ e(
|
|
1548
|
+
rt,
|
|
1549
|
+
{
|
|
1550
|
+
article: y,
|
|
1551
|
+
showAuthor: c,
|
|
1552
|
+
showDate: h,
|
|
1553
|
+
showCategory: m,
|
|
1554
|
+
showReadTime: l
|
|
1555
|
+
},
|
|
1556
|
+
y.id
|
|
1557
|
+
))
|
|
1558
|
+
] }) : null;
|
|
1559
|
+
}
|
|
1560
|
+
const $ = _ === "list" ? K.list : K.grid;
|
|
1561
|
+
return /* @__PURE__ */ e(
|
|
1562
|
+
"div",
|
|
1563
|
+
{
|
|
1564
|
+
className: $,
|
|
1565
|
+
"data-columns": _ === "grid" ? o : void 0,
|
|
1566
|
+
children: i.map((k) => /* @__PURE__ */ e(
|
|
1567
|
+
rt,
|
|
1568
|
+
{
|
|
1569
|
+
article: k,
|
|
1570
|
+
showAuthor: c,
|
|
1571
|
+
showDate: h,
|
|
1572
|
+
showCategory: m,
|
|
1573
|
+
showReadTime: l
|
|
1574
|
+
},
|
|
1575
|
+
k.id
|
|
1576
|
+
))
|
|
1577
|
+
}
|
|
1578
|
+
);
|
|
1579
|
+
};
|
|
1580
|
+
return /* @__PURE__ */ e(
|
|
1581
|
+
"section",
|
|
1582
|
+
{
|
|
1583
|
+
className: `${K.blog} ${p || ""}`,
|
|
1584
|
+
"data-background": d,
|
|
1585
|
+
...r,
|
|
1586
|
+
children: /* @__PURE__ */ a("div", { className: K.container, children: [
|
|
1587
|
+
(t || s || n) && /* @__PURE__ */ a("header", { className: K.header, children: [
|
|
1588
|
+
t && /* @__PURE__ */ e("span", { className: K.eyebrow, children: t }),
|
|
1589
|
+
s && /* @__PURE__ */ e("h2", { className: K.title, children: s }),
|
|
1590
|
+
n && /* @__PURE__ */ e("p", { className: K.description, children: n })
|
|
1591
|
+
] }),
|
|
1592
|
+
I(),
|
|
1593
|
+
N && /* @__PURE__ */ e("div", { className: K.viewAll, children: /* @__PURE__ */ a("a", { href: N, className: K.viewAllLink, children: [
|
|
1594
|
+
g,
|
|
1595
|
+
/* @__PURE__ */ e("span", { "aria-hidden": "true", children: "→" })
|
|
1596
|
+
] }) })
|
|
1597
|
+
] })
|
|
1598
|
+
}
|
|
1599
|
+
);
|
|
1600
|
+
};
|
|
1601
|
+
Xc.displayName = "Blog";
|
|
1602
|
+
const Jc = "_gallery_v93gb_5", Zc = "_container_v93gb_21", eo = "_header_v93gb_26", to = "_eyebrow_v93gb_31", ao = "_title_v93gb_41", no = "_description_v93gb_50", so = "_filters_v93gb_58", io = "_filterButton_v93gb_66", co = "_grid_v93gb_90", oo = "_masonry_v93gb_127", lo = "_imageItem_v93gb_144", ro = "_imageOverlay_v93gb_157", _o = "_image_v93gb_144", mo = "_expandIcon_v93gb_199", po = "_caption_v93gb_210", ho = "_lightbox_v93gb_218", uo = "_lightboxContent_v93gb_229", go = "_lightboxImage_v93gb_235", vo = "_lightboxCaption_v93gb_242", No = "_lightboxClose_v93gb_249", fo = "_lightboxNav_v93gb_268", yo = "_lightboxPrev_v93gb_287", bo = "_lightboxNext_v93gb_291", U = {
|
|
1603
|
+
gallery: Jc,
|
|
1604
|
+
container: Zc,
|
|
1605
|
+
header: eo,
|
|
1606
|
+
eyebrow: to,
|
|
1607
|
+
title: ao,
|
|
1608
|
+
description: no,
|
|
1609
|
+
filters: so,
|
|
1610
|
+
filterButton: io,
|
|
1611
|
+
grid: co,
|
|
1612
|
+
masonry: oo,
|
|
1613
|
+
imageItem: lo,
|
|
1614
|
+
imageOverlay: ro,
|
|
1615
|
+
image: _o,
|
|
1616
|
+
expandIcon: mo,
|
|
1617
|
+
caption: po,
|
|
1618
|
+
lightbox: ho,
|
|
1619
|
+
lightboxContent: uo,
|
|
1620
|
+
lightboxImage: go,
|
|
1621
|
+
lightboxCaption: vo,
|
|
1622
|
+
lightboxClose: No,
|
|
1623
|
+
lightboxNav: fo,
|
|
1624
|
+
lightboxPrev: yo,
|
|
1625
|
+
lightboxNext: bo
|
|
1626
|
+
}, ko = ({
|
|
1627
|
+
eyebrow: t,
|
|
1628
|
+
title: s,
|
|
1629
|
+
description: n,
|
|
1630
|
+
images: i,
|
|
1631
|
+
layout: _ = "grid",
|
|
1632
|
+
columns: o = 4,
|
|
1633
|
+
lightbox: c = !0,
|
|
1634
|
+
showCaptions: h = !1,
|
|
1635
|
+
gap: m = "md",
|
|
1636
|
+
filterable: l = !1,
|
|
1637
|
+
background: d = "base",
|
|
1638
|
+
aspectRatio: N = "square",
|
|
1639
|
+
className: g,
|
|
1640
|
+
...p
|
|
1641
|
+
}) => {
|
|
1642
|
+
const [r, I] = H(null), [$, k] = H(null), v = Ee(() => {
|
|
1643
|
+
if (!l) return [];
|
|
1644
|
+
const C = /* @__PURE__ */ new Set();
|
|
1645
|
+
return i.forEach((z) => {
|
|
1646
|
+
z.category && C.add(z.category);
|
|
1647
|
+
}), Array.from(C);
|
|
1648
|
+
}, [i, l]), y = Ee(() => $ ? i.filter((C) => C.category === $) : i, [i, $]), f = r ? y.findIndex((C) => C.id === r.id) : -1, w = $e(() => {
|
|
1649
|
+
if (f > 0) {
|
|
1650
|
+
const C = y[f - 1];
|
|
1651
|
+
C && I(C);
|
|
1652
|
+
}
|
|
1653
|
+
}, [f, y]), P = $e(() => {
|
|
1654
|
+
if (f < y.length - 1) {
|
|
1655
|
+
const C = y[f + 1];
|
|
1656
|
+
C && I(C);
|
|
1657
|
+
}
|
|
1658
|
+
}, [f, y]), x = $e(() => {
|
|
1659
|
+
I(null);
|
|
1660
|
+
}, []);
|
|
1661
|
+
Re(() => {
|
|
1662
|
+
if (!r) return;
|
|
1663
|
+
const C = (z) => {
|
|
1664
|
+
z.key === "Escape" && x(), z.key === "ArrowLeft" && w(), z.key === "ArrowRight" && P();
|
|
1665
|
+
};
|
|
1666
|
+
return document.addEventListener("keydown", C), document.body.style.overflow = "hidden", () => {
|
|
1667
|
+
document.removeEventListener("keydown", C), document.body.style.overflow = "";
|
|
1668
|
+
};
|
|
1669
|
+
}, [r, x, w, P]);
|
|
1670
|
+
const M = _ === "masonry" ? U.masonry : U.grid;
|
|
1671
|
+
return /* @__PURE__ */ a(
|
|
1672
|
+
"section",
|
|
1673
|
+
{
|
|
1674
|
+
className: `${U.gallery} ${g || ""}`,
|
|
1675
|
+
"data-background": d,
|
|
1676
|
+
...p,
|
|
1677
|
+
children: [
|
|
1678
|
+
/* @__PURE__ */ a("div", { className: U.container, children: [
|
|
1679
|
+
(t || s || n) && /* @__PURE__ */ a("header", { className: U.header, children: [
|
|
1680
|
+
t && /* @__PURE__ */ e("span", { className: U.eyebrow, children: t }),
|
|
1681
|
+
s && /* @__PURE__ */ e("h2", { className: U.title, children: s }),
|
|
1682
|
+
n && /* @__PURE__ */ e("p", { className: U.description, children: n })
|
|
1683
|
+
] }),
|
|
1684
|
+
l && v.length > 0 && /* @__PURE__ */ a("div", { className: U.filters, children: [
|
|
1685
|
+
/* @__PURE__ */ e(
|
|
1686
|
+
"button",
|
|
1687
|
+
{
|
|
1688
|
+
className: U.filterButton,
|
|
1689
|
+
"data-active": $ === null,
|
|
1690
|
+
onClick: () => k(null),
|
|
1691
|
+
children: "All"
|
|
1692
|
+
}
|
|
1693
|
+
),
|
|
1694
|
+
v.map((C) => /* @__PURE__ */ e(
|
|
1695
|
+
"button",
|
|
1696
|
+
{
|
|
1697
|
+
className: U.filterButton,
|
|
1698
|
+
"data-active": $ === C,
|
|
1699
|
+
onClick: () => k(C),
|
|
1700
|
+
children: C
|
|
1701
|
+
},
|
|
1702
|
+
C
|
|
1703
|
+
))
|
|
1704
|
+
] }),
|
|
1705
|
+
/* @__PURE__ */ e("div", { className: M, "data-columns": o, "data-gap": m, children: y.map((C) => /* @__PURE__ */ a(
|
|
1706
|
+
"div",
|
|
1707
|
+
{
|
|
1708
|
+
className: U.imageItem,
|
|
1709
|
+
"data-lightbox": c,
|
|
1710
|
+
"data-aspect": C.aspectRatio || N,
|
|
1711
|
+
onClick: () => c && I(C),
|
|
1712
|
+
role: c ? "button" : void 0,
|
|
1713
|
+
tabIndex: c ? 0 : void 0,
|
|
1714
|
+
onKeyDown: (z) => {
|
|
1715
|
+
c && (z.key === "Enter" || z.key === " ") && (z.preventDefault(), I(C));
|
|
1716
|
+
},
|
|
1717
|
+
children: [
|
|
1718
|
+
/* @__PURE__ */ e(
|
|
1719
|
+
"img",
|
|
1720
|
+
{
|
|
1721
|
+
src: C.thumbnail || C.src,
|
|
1722
|
+
alt: C.alt,
|
|
1723
|
+
className: U.image,
|
|
1724
|
+
loading: "lazy"
|
|
1725
|
+
}
|
|
1726
|
+
),
|
|
1727
|
+
c && /* @__PURE__ */ e("div", { className: U.imageOverlay, children: /* @__PURE__ */ e("span", { className: U.expandIcon, children: /* @__PURE__ */ e(
|
|
1728
|
+
"svg",
|
|
1729
|
+
{
|
|
1730
|
+
width: "24",
|
|
1731
|
+
height: "24",
|
|
1732
|
+
viewBox: "0 0 24 24",
|
|
1733
|
+
fill: "none",
|
|
1734
|
+
stroke: "currentColor",
|
|
1735
|
+
strokeWidth: "2",
|
|
1736
|
+
children: /* @__PURE__ */ e("path", { d: "M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7" })
|
|
1737
|
+
}
|
|
1738
|
+
) }) }),
|
|
1739
|
+
h && C.caption && /* @__PURE__ */ e("div", { className: U.caption, children: C.caption })
|
|
1740
|
+
]
|
|
1741
|
+
},
|
|
1742
|
+
C.id
|
|
1743
|
+
)) })
|
|
1744
|
+
] }),
|
|
1745
|
+
r && /* @__PURE__ */ a(
|
|
1746
|
+
"div",
|
|
1747
|
+
{
|
|
1748
|
+
className: U.lightbox,
|
|
1749
|
+
onClick: x,
|
|
1750
|
+
role: "dialog",
|
|
1751
|
+
"aria-modal": "true",
|
|
1752
|
+
"aria-label": "Image lightbox",
|
|
1753
|
+
children: [
|
|
1754
|
+
/* @__PURE__ */ a(
|
|
1755
|
+
"div",
|
|
1756
|
+
{
|
|
1757
|
+
className: U.lightboxContent,
|
|
1758
|
+
onClick: (C) => C.stopPropagation(),
|
|
1759
|
+
children: [
|
|
1760
|
+
/* @__PURE__ */ e(
|
|
1761
|
+
"img",
|
|
1762
|
+
{
|
|
1763
|
+
src: r.src,
|
|
1764
|
+
alt: r.alt,
|
|
1765
|
+
className: U.lightboxImage
|
|
1766
|
+
}
|
|
1767
|
+
),
|
|
1768
|
+
r.caption && /* @__PURE__ */ e("div", { className: U.lightboxCaption, children: r.caption })
|
|
1769
|
+
]
|
|
1770
|
+
}
|
|
1771
|
+
),
|
|
1772
|
+
/* @__PURE__ */ e(
|
|
1773
|
+
"button",
|
|
1774
|
+
{
|
|
1775
|
+
className: U.lightboxClose,
|
|
1776
|
+
onClick: x,
|
|
1777
|
+
"aria-label": "Close lightbox",
|
|
1778
|
+
children: "×"
|
|
1779
|
+
}
|
|
1780
|
+
),
|
|
1781
|
+
f > 0 && /* @__PURE__ */ e(
|
|
1782
|
+
"button",
|
|
1783
|
+
{
|
|
1784
|
+
className: `${U.lightboxNav} ${U.lightboxPrev}`,
|
|
1785
|
+
onClick: (C) => {
|
|
1786
|
+
C.stopPropagation(), w();
|
|
1787
|
+
},
|
|
1788
|
+
"aria-label": "Previous image",
|
|
1789
|
+
children: "‹"
|
|
1790
|
+
}
|
|
1791
|
+
),
|
|
1792
|
+
f < y.length - 1 && /* @__PURE__ */ e(
|
|
1793
|
+
"button",
|
|
1794
|
+
{
|
|
1795
|
+
className: `${U.lightboxNav} ${U.lightboxNext}`,
|
|
1796
|
+
onClick: (C) => {
|
|
1797
|
+
C.stopPropagation(), P();
|
|
1798
|
+
},
|
|
1799
|
+
"aria-label": "Next image",
|
|
1800
|
+
children: "›"
|
|
1801
|
+
}
|
|
1802
|
+
)
|
|
1803
|
+
]
|
|
1804
|
+
}
|
|
1805
|
+
)
|
|
1806
|
+
]
|
|
1807
|
+
}
|
|
1808
|
+
);
|
|
1809
|
+
};
|
|
1810
|
+
ko.displayName = "Gallery";
|
|
1811
|
+
const wo = "_timeline_12uer_5", Io = "_container_12uer_21", $o = "_header_12uer_26", xo = "_eyebrow_12uer_31", Co = "_title_12uer_41", So = "_description_12uer_51", Po = "_vertical_12uer_59", To = "_event_12uer_81", Bo = "_marker_12uer_104", Lo = "_markerIcon_12uer_149", jo = "_eventContent_12uer_155", zo = "_eventDate_12uer_170", Ao = "_eventTitle_12uer_177", qo = "_eventDescription_12uer_193", Mo = "_eventExtra_12uer_200", Eo = "_horizontal_12uer_205", pe = {
|
|
1812
|
+
timeline: wo,
|
|
1813
|
+
container: Io,
|
|
1814
|
+
header: $o,
|
|
1815
|
+
eyebrow: xo,
|
|
1816
|
+
title: Co,
|
|
1817
|
+
description: So,
|
|
1818
|
+
vertical: Po,
|
|
1819
|
+
event: To,
|
|
1820
|
+
marker: Bo,
|
|
1821
|
+
markerIcon: Lo,
|
|
1822
|
+
eventContent: jo,
|
|
1823
|
+
eventDate: zo,
|
|
1824
|
+
eventTitle: Ao,
|
|
1825
|
+
eventDescription: qo,
|
|
1826
|
+
eventExtra: Mo,
|
|
1827
|
+
horizontal: Eo
|
|
1828
|
+
}, Wo = () => /* @__PURE__ */ e(
|
|
1829
|
+
"svg",
|
|
1830
|
+
{
|
|
1831
|
+
className: pe.markerIcon,
|
|
1832
|
+
viewBox: "0 0 24 24",
|
|
1833
|
+
fill: "none",
|
|
1834
|
+
stroke: "currentColor",
|
|
1835
|
+
strokeWidth: "2",
|
|
1836
|
+
children: /* @__PURE__ */ e("circle", { cx: "12", cy: "12", r: "4" })
|
|
1837
|
+
}
|
|
1838
|
+
), Ho = () => /* @__PURE__ */ e(
|
|
1839
|
+
"svg",
|
|
1840
|
+
{
|
|
1841
|
+
className: pe.markerIcon,
|
|
1842
|
+
viewBox: "0 0 24 24",
|
|
1843
|
+
fill: "none",
|
|
1844
|
+
stroke: "currentColor",
|
|
1845
|
+
strokeWidth: "2",
|
|
1846
|
+
children: /* @__PURE__ */ e("polyline", { points: "20 6 9 17 4 12" })
|
|
1847
|
+
}
|
|
1848
|
+
), Vt = ({
|
|
1849
|
+
eyebrow: t,
|
|
1850
|
+
title: s,
|
|
1851
|
+
description: n,
|
|
1852
|
+
events: i,
|
|
1853
|
+
orientation: _ = "vertical",
|
|
1854
|
+
alternating: o = !1,
|
|
1855
|
+
showConnector: c = !0,
|
|
1856
|
+
background: h = "base",
|
|
1857
|
+
compact: m = !1,
|
|
1858
|
+
className: l,
|
|
1859
|
+
...d
|
|
1860
|
+
}) => {
|
|
1861
|
+
const N = _ === "horizontal" ? pe.horizontal : pe.vertical, g = (p) => p.icon ? p.icon : p.status === "completed" ? /* @__PURE__ */ e(Ho, {}) : /* @__PURE__ */ e(Wo, {});
|
|
1862
|
+
return /* @__PURE__ */ e(
|
|
1863
|
+
"section",
|
|
1864
|
+
{
|
|
1865
|
+
className: `${pe.timeline} ${l || ""}`,
|
|
1866
|
+
"data-background": h,
|
|
1867
|
+
"data-compact": m,
|
|
1868
|
+
...d,
|
|
1869
|
+
children: /* @__PURE__ */ a("div", { className: pe.container, children: [
|
|
1870
|
+
(t || s || n) && /* @__PURE__ */ a("header", { className: pe.header, children: [
|
|
1871
|
+
t && /* @__PURE__ */ e("span", { className: pe.eyebrow, children: t }),
|
|
1872
|
+
s && /* @__PURE__ */ e("h2", { className: pe.title, children: s }),
|
|
1873
|
+
n && /* @__PURE__ */ e("p", { className: pe.description, children: n })
|
|
1874
|
+
] }),
|
|
1875
|
+
/* @__PURE__ */ e(
|
|
1876
|
+
"div",
|
|
1877
|
+
{
|
|
1878
|
+
className: N,
|
|
1879
|
+
"data-connector": c,
|
|
1880
|
+
"data-alternating": o && _ === "vertical",
|
|
1881
|
+
children: i.map((p) => /* @__PURE__ */ a(
|
|
1882
|
+
"div",
|
|
1883
|
+
{
|
|
1884
|
+
className: pe.event,
|
|
1885
|
+
"data-status": p.status || "default",
|
|
1886
|
+
children: [
|
|
1887
|
+
/* @__PURE__ */ e("div", { className: pe.marker, children: g(p) }),
|
|
1888
|
+
/* @__PURE__ */ a("div", { className: pe.eventContent, children: [
|
|
1889
|
+
/* @__PURE__ */ e("span", { className: pe.eventDate, children: p.date }),
|
|
1890
|
+
/* @__PURE__ */ e("h3", { className: pe.eventTitle, children: p.href ? /* @__PURE__ */ e("a", { href: p.href, children: p.title }) : p.title }),
|
|
1891
|
+
p.description && /* @__PURE__ */ e("p", { className: pe.eventDescription, children: p.description }),
|
|
1892
|
+
p.content && /* @__PURE__ */ e("div", { className: pe.eventExtra, children: p.content })
|
|
1893
|
+
] })
|
|
1894
|
+
]
|
|
1895
|
+
},
|
|
1896
|
+
p.id
|
|
1897
|
+
))
|
|
1898
|
+
}
|
|
1899
|
+
)
|
|
1900
|
+
] })
|
|
1901
|
+
}
|
|
1902
|
+
);
|
|
1903
|
+
};
|
|
1904
|
+
Vt.displayName = "Timeline";
|
|
1905
|
+
const Do = "_comparison_v9wrv_5", Ro = "_container_v9wrv_21", Oo = "_header_v9wrv_26", Fo = "_eyebrow_v9wrv_31", Go = "_title_v9wrv_41", Uo = "_description_v9wrv_51", Vo = "_tableWrapper_v9wrv_59", Qo = "_table_v9wrv_59", Ko = "_tableHead_v9wrv_72", Yo = "_columnHeader_v9wrv_96", Xo = "_columnBadge_v9wrv_108", Jo = "_columnTitle_v9wrv_119", Zo = "_columnSubtitle_v9wrv_132", el = "_columnCta_v9wrv_141", tl = "_ctaButton_v9wrv_145", al = "_featureLabelHeader_v9wrv_181", nl = "_tableBody_v9wrv_190", sl = "_categoryRow_v9wrv_213", il = "_featureName_v9wrv_223", cl = "_featureDescription_v9wrv_229", ol = "_valueCell_v9wrv_236", ll = "_checkIcon_v9wrv_248", rl = "_crossIcon_v9wrv_255", Z = {
|
|
1906
|
+
comparison: Do,
|
|
1907
|
+
container: Ro,
|
|
1908
|
+
header: Oo,
|
|
1909
|
+
eyebrow: Fo,
|
|
1910
|
+
title: Go,
|
|
1911
|
+
description: Uo,
|
|
1912
|
+
tableWrapper: Vo,
|
|
1913
|
+
table: Qo,
|
|
1914
|
+
tableHead: Ko,
|
|
1915
|
+
columnHeader: Yo,
|
|
1916
|
+
columnBadge: Xo,
|
|
1917
|
+
columnTitle: Jo,
|
|
1918
|
+
columnSubtitle: Zo,
|
|
1919
|
+
columnCta: el,
|
|
1920
|
+
ctaButton: tl,
|
|
1921
|
+
featureLabelHeader: al,
|
|
1922
|
+
tableBody: nl,
|
|
1923
|
+
categoryRow: sl,
|
|
1924
|
+
featureName: il,
|
|
1925
|
+
featureDescription: cl,
|
|
1926
|
+
valueCell: ol,
|
|
1927
|
+
checkIcon: ll,
|
|
1928
|
+
crossIcon: rl
|
|
1929
|
+
}, dl = () => /* @__PURE__ */ e("span", { className: Z.checkIcon, children: /* @__PURE__ */ e(
|
|
1930
|
+
"svg",
|
|
1931
|
+
{
|
|
1932
|
+
width: "14",
|
|
1933
|
+
height: "14",
|
|
1934
|
+
viewBox: "0 0 24 24",
|
|
1935
|
+
fill: "none",
|
|
1936
|
+
stroke: "currentColor",
|
|
1937
|
+
strokeWidth: "3",
|
|
1938
|
+
children: /* @__PURE__ */ e("polyline", { points: "20 6 9 17 4 12" })
|
|
1939
|
+
}
|
|
1940
|
+
) }), _l = () => /* @__PURE__ */ e("span", { className: Z.crossIcon, children: /* @__PURE__ */ a(
|
|
1941
|
+
"svg",
|
|
1942
|
+
{
|
|
1943
|
+
width: "14",
|
|
1944
|
+
height: "14",
|
|
1945
|
+
viewBox: "0 0 24 24",
|
|
1946
|
+
fill: "none",
|
|
1947
|
+
stroke: "currentColor",
|
|
1948
|
+
strokeWidth: "2",
|
|
1949
|
+
children: [
|
|
1950
|
+
/* @__PURE__ */ e("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
|
|
1951
|
+
/* @__PURE__ */ e("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
|
|
1952
|
+
]
|
|
1953
|
+
}
|
|
1954
|
+
) }), Qt = ({
|
|
1955
|
+
eyebrow: t,
|
|
1956
|
+
title: s,
|
|
1957
|
+
description: n,
|
|
1958
|
+
columns: i,
|
|
1959
|
+
features: _,
|
|
1960
|
+
showCategories: o = !0,
|
|
1961
|
+
showDescriptions: c = !1,
|
|
1962
|
+
stickyHeader: h = !0,
|
|
1963
|
+
background: m = "base",
|
|
1964
|
+
compact: l = !1,
|
|
1965
|
+
className: d,
|
|
1966
|
+
...N
|
|
1967
|
+
}) => {
|
|
1968
|
+
const g = Ee(() => {
|
|
1969
|
+
if (!o) return { "": _ };
|
|
1970
|
+
const r = {};
|
|
1971
|
+
return _.forEach((I) => {
|
|
1972
|
+
const $ = I.category || "";
|
|
1973
|
+
r[$] || (r[$] = []), r[$].push(I);
|
|
1974
|
+
}), r;
|
|
1975
|
+
}, [_, o]), p = (r) => typeof r == "boolean" ? r ? /* @__PURE__ */ e(dl, {}) : /* @__PURE__ */ e(_l, {}) : r;
|
|
1976
|
+
return /* @__PURE__ */ e(
|
|
1977
|
+
"section",
|
|
1978
|
+
{
|
|
1979
|
+
className: `${Z.comparison} ${d || ""}`,
|
|
1980
|
+
"data-background": m,
|
|
1981
|
+
"data-sticky": h,
|
|
1982
|
+
"data-compact": l,
|
|
1983
|
+
...N,
|
|
1984
|
+
children: /* @__PURE__ */ a("div", { className: Z.container, children: [
|
|
1985
|
+
(t || s || n) && /* @__PURE__ */ a("header", { className: Z.header, children: [
|
|
1986
|
+
t && /* @__PURE__ */ e("span", { className: Z.eyebrow, children: t }),
|
|
1987
|
+
s && /* @__PURE__ */ e("h2", { className: Z.title, children: s }),
|
|
1988
|
+
n && /* @__PURE__ */ e("p", { className: Z.description, children: n })
|
|
1989
|
+
] }),
|
|
1990
|
+
/* @__PURE__ */ e("div", { className: Z.tableWrapper, children: /* @__PURE__ */ a("table", { className: Z.table, children: [
|
|
1991
|
+
/* @__PURE__ */ e("thead", { className: Z.tableHead, children: /* @__PURE__ */ a("tr", { children: [
|
|
1992
|
+
/* @__PURE__ */ e("th", { className: Z.featureLabelHeader, children: "Features" }),
|
|
1993
|
+
i.map((r, I) => /* @__PURE__ */ e("th", { children: /* @__PURE__ */ a(
|
|
1994
|
+
"div",
|
|
1995
|
+
{
|
|
1996
|
+
className: Z.columnHeader,
|
|
1997
|
+
"data-highlighted": r.highlighted,
|
|
1998
|
+
children: [
|
|
1999
|
+
r.badge && /* @__PURE__ */ e("span", { className: Z.columnBadge, children: r.badge }),
|
|
2000
|
+
/* @__PURE__ */ e("h3", { className: Z.columnTitle, children: r.title }),
|
|
2001
|
+
r.subtitle && /* @__PURE__ */ e("p", { className: Z.columnSubtitle, children: r.subtitle }),
|
|
2002
|
+
r.ctaLabel && r.ctaHref && /* @__PURE__ */ e("div", { className: Z.columnCta, children: /* @__PURE__ */ e("a", { href: r.ctaHref, className: Z.ctaButton, children: r.ctaLabel }) })
|
|
2003
|
+
]
|
|
2004
|
+
}
|
|
2005
|
+
) }, I))
|
|
2006
|
+
] }) }),
|
|
2007
|
+
/* @__PURE__ */ e("tbody", { className: Z.tableBody, children: Object.entries(g).map(
|
|
2008
|
+
([r, I]) => /* @__PURE__ */ a(Yt.Fragment, { children: [
|
|
2009
|
+
o && r && /* @__PURE__ */ e("tr", { className: Z.categoryRow, children: /* @__PURE__ */ e("td", { colSpan: i.length + 1, children: r }) }),
|
|
2010
|
+
I.map(($, k) => /* @__PURE__ */ a("tr", { children: [
|
|
2011
|
+
/* @__PURE__ */ a("td", { children: [
|
|
2012
|
+
/* @__PURE__ */ e("div", { className: Z.featureName, children: $.name }),
|
|
2013
|
+
c && $.description && /* @__PURE__ */ e("div", { className: Z.featureDescription, children: $.description })
|
|
2014
|
+
] }),
|
|
2015
|
+
$.values.map((v, y) => {
|
|
2016
|
+
var f;
|
|
2017
|
+
return /* @__PURE__ */ e(
|
|
2018
|
+
"td",
|
|
2019
|
+
{
|
|
2020
|
+
className: Z.valueCell,
|
|
2021
|
+
"data-highlighted": (f = i[y]) == null ? void 0 : f.highlighted,
|
|
2022
|
+
children: p(v)
|
|
2023
|
+
},
|
|
2024
|
+
y
|
|
2025
|
+
);
|
|
2026
|
+
})
|
|
2027
|
+
] }, k))
|
|
2028
|
+
] }, r || "default")
|
|
2029
|
+
) })
|
|
2030
|
+
] }) })
|
|
2031
|
+
] })
|
|
2032
|
+
}
|
|
2033
|
+
);
|
|
2034
|
+
};
|
|
2035
|
+
Qt.displayName = "Comparison";
|
|
2036
|
+
const ml = "_socialProof_mffl1_5", pl = "_container_mffl1_25", hl = "_header_mffl1_30", ul = "_eyebrow_mffl1_35", gl = "_title_mffl1_45", vl = "_description_mffl1_54", Nl = "_sideBySide_mffl1_62", fl = "_logosSection_mffl1_70", yl = "_logosGrid_mffl1_74", bl = "_logosInline_mffl1_82", kl = "_logoItem_mffl1_90", wl = "_logoImage_mffl1_107", Il = "_statsSection_mffl1_114", $l = "_statsGrid_mffl1_118", xl = "_statItem_mffl1_125", Cl = "_statValue_mffl1_129", Sl = "_statLabel_mffl1_137", Pl = "_testimonialsSection_mffl1_143", Tl = "_testimonialsGrid_mffl1_147", Bl = "_testimonialCard_mffl1_153", Ll = "_testimonialRating_mffl1_160", jl = "_star_mffl1_166", zl = "_starEmpty_mffl1_170", Al = "_testimonialQuote_mffl1_175", ql = "_testimonialAuthor_mffl1_191", Ml = "_authorAvatar_mffl1_197", El = "_authorInfo_mffl1_205", Wl = "_authorName_mffl1_209", Hl = "_authorTitle_mffl1_216", W = {
|
|
2037
|
+
socialProof: ml,
|
|
2038
|
+
container: pl,
|
|
2039
|
+
header: hl,
|
|
2040
|
+
eyebrow: ul,
|
|
2041
|
+
title: gl,
|
|
2042
|
+
description: vl,
|
|
2043
|
+
sideBySide: Nl,
|
|
2044
|
+
logosSection: fl,
|
|
2045
|
+
logosGrid: yl,
|
|
2046
|
+
logosInline: bl,
|
|
2047
|
+
logoItem: kl,
|
|
2048
|
+
logoImage: wl,
|
|
2049
|
+
statsSection: Il,
|
|
2050
|
+
statsGrid: $l,
|
|
2051
|
+
statItem: xl,
|
|
2052
|
+
statValue: Cl,
|
|
2053
|
+
statLabel: Sl,
|
|
2054
|
+
testimonialsSection: Pl,
|
|
2055
|
+
testimonialsGrid: Tl,
|
|
2056
|
+
testimonialCard: Bl,
|
|
2057
|
+
testimonialRating: Ll,
|
|
2058
|
+
star: jl,
|
|
2059
|
+
starEmpty: zl,
|
|
2060
|
+
testimonialQuote: Al,
|
|
2061
|
+
testimonialAuthor: ql,
|
|
2062
|
+
authorAvatar: Ml,
|
|
2063
|
+
authorInfo: El,
|
|
2064
|
+
authorName: Wl,
|
|
2065
|
+
authorTitle: Hl
|
|
2066
|
+
}, Dl = ({ filled: t }) => /* @__PURE__ */ e(
|
|
2067
|
+
"svg",
|
|
2068
|
+
{
|
|
2069
|
+
className: t ? W.star : W.starEmpty,
|
|
2070
|
+
width: "20",
|
|
2071
|
+
height: "20",
|
|
2072
|
+
viewBox: "0 0 24 24",
|
|
2073
|
+
fill: t ? "currentColor" : "none",
|
|
2074
|
+
stroke: "currentColor",
|
|
2075
|
+
strokeWidth: "2",
|
|
2076
|
+
children: /* @__PURE__ */ e("polygon", { points: "12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2" })
|
|
2077
|
+
}
|
|
2078
|
+
), Rl = ({
|
|
2079
|
+
eyebrow: t,
|
|
2080
|
+
title: s,
|
|
2081
|
+
description: n,
|
|
2082
|
+
logos: i = [],
|
|
2083
|
+
testimonials: _ = [],
|
|
2084
|
+
stats: o = [],
|
|
2085
|
+
layout: c = "stacked",
|
|
2086
|
+
logoStyle: h = "grid",
|
|
2087
|
+
grayscaleLogos: m = !0,
|
|
2088
|
+
background: l = "subtle",
|
|
2089
|
+
compact: d = !1,
|
|
2090
|
+
className: N,
|
|
2091
|
+
...g
|
|
2092
|
+
}) => {
|
|
2093
|
+
const p = i.length > 0 && c !== "testimonials-only" && c !== "stats-only", r = o.length > 0 && c !== "testimonials-only" && c !== "logos-only", I = _.length > 0 && c !== "logos-only" && c !== "stats-only", $ = () => /* @__PURE__ */ e("div", { className: W.logosSection, children: /* @__PURE__ */ e(
|
|
2094
|
+
"div",
|
|
2095
|
+
{
|
|
2096
|
+
className: h === "inline" ? W.logosInline : W.logosGrid,
|
|
2097
|
+
children: i.map((f, w) => {
|
|
2098
|
+
const P = f.href ? "a" : "div", x = f.href ? { href: f.href, target: "_blank", rel: "noopener noreferrer" } : {};
|
|
2099
|
+
return /* @__PURE__ */ e(
|
|
2100
|
+
P,
|
|
2101
|
+
{
|
|
2102
|
+
className: W.logoItem,
|
|
2103
|
+
"data-grayscale": m,
|
|
2104
|
+
...x,
|
|
2105
|
+
children: /* @__PURE__ */ e(
|
|
2106
|
+
"img",
|
|
2107
|
+
{
|
|
2108
|
+
src: f.logo,
|
|
2109
|
+
alt: f.name,
|
|
2110
|
+
className: W.logoImage
|
|
2111
|
+
}
|
|
2112
|
+
)
|
|
2113
|
+
},
|
|
2114
|
+
w
|
|
2115
|
+
);
|
|
2116
|
+
})
|
|
2117
|
+
}
|
|
2118
|
+
) }), k = () => /* @__PURE__ */ e("div", { className: W.statsSection, children: /* @__PURE__ */ e("div", { className: W.statsGrid, children: o.map((f, w) => /* @__PURE__ */ a("div", { className: W.statItem, children: [
|
|
2119
|
+
/* @__PURE__ */ e("div", { className: W.statValue, children: f.value }),
|
|
2120
|
+
/* @__PURE__ */ e("div", { className: W.statLabel, children: f.label })
|
|
2121
|
+
] }, w)) }) }), v = () => /* @__PURE__ */ e("div", { className: W.testimonialsSection, children: /* @__PURE__ */ e("div", { className: W.testimonialsGrid, children: _.map((f) => /* @__PURE__ */ a("div", { className: W.testimonialCard, children: [
|
|
2122
|
+
f.rating !== void 0 && /* @__PURE__ */ e("div", { className: W.testimonialRating, children: [1, 2, 3, 4, 5].map((w) => /* @__PURE__ */ e(Dl, { filled: w <= f.rating }, w)) }),
|
|
2123
|
+
/* @__PURE__ */ e("p", { className: W.testimonialQuote, children: f.quote }),
|
|
2124
|
+
/* @__PURE__ */ a("div", { className: W.testimonialAuthor, children: [
|
|
2125
|
+
f.avatar && /* @__PURE__ */ e(
|
|
2126
|
+
"img",
|
|
2127
|
+
{
|
|
2128
|
+
src: f.avatar,
|
|
2129
|
+
alt: f.author,
|
|
2130
|
+
className: W.authorAvatar
|
|
2131
|
+
}
|
|
2132
|
+
),
|
|
2133
|
+
/* @__PURE__ */ a("div", { className: W.authorInfo, children: [
|
|
2134
|
+
/* @__PURE__ */ e("p", { className: W.authorName, children: f.author }),
|
|
2135
|
+
(f.title || f.company) && /* @__PURE__ */ e("p", { className: W.authorTitle, children: [f.title, f.company].filter(Boolean).join(", ") })
|
|
2136
|
+
] })
|
|
2137
|
+
] })
|
|
2138
|
+
] }, f.id)) }) }), y = () => c === "side-by-side" ? /* @__PURE__ */ a("div", { className: W.sideBySide, children: [
|
|
2139
|
+
/* @__PURE__ */ a("div", { children: [
|
|
2140
|
+
p && $(),
|
|
2141
|
+
r && k()
|
|
2142
|
+
] }),
|
|
2143
|
+
/* @__PURE__ */ e("div", { children: I && v() })
|
|
2144
|
+
] }) : /* @__PURE__ */ a(Pe, { children: [
|
|
2145
|
+
p && $(),
|
|
2146
|
+
r && k(),
|
|
2147
|
+
I && v()
|
|
2148
|
+
] });
|
|
2149
|
+
return /* @__PURE__ */ e(
|
|
2150
|
+
"section",
|
|
2151
|
+
{
|
|
2152
|
+
className: `${W.socialProof} ${N || ""}`,
|
|
2153
|
+
"data-background": l,
|
|
2154
|
+
"data-compact": d,
|
|
2155
|
+
...g,
|
|
2156
|
+
children: /* @__PURE__ */ a("div", { className: W.container, children: [
|
|
2157
|
+
(t || s || n) && /* @__PURE__ */ a("header", { className: W.header, children: [
|
|
2158
|
+
t && /* @__PURE__ */ e("span", { className: W.eyebrow, children: t }),
|
|
2159
|
+
s && /* @__PURE__ */ e("h2", { className: W.title, children: s }),
|
|
2160
|
+
n && /* @__PURE__ */ e("p", { className: W.description, children: n })
|
|
2161
|
+
] }),
|
|
2162
|
+
y()
|
|
2163
|
+
] })
|
|
2164
|
+
}
|
|
2165
|
+
);
|
|
2166
|
+
};
|
|
2167
|
+
Rl.displayName = "SocialProof";
|
|
2168
|
+
const Ol = "_appDownload_aojk2_5", Fl = "_container_aojk2_36", Gl = "_centered_aojk2_42", Ul = "_content_aojk2_46", Vl = "_split_aojk2_52", Ql = "_eyebrow_aojk2_68", Kl = "_title_aojk2_86", Yl = "_description_aojk2_99", Xl = "_rating_aojk2_112", Jl = "_stars_aojk2_123", Zl = "_star_aojk2_123", er = "_ratingText_aojk2_132", tr = "_badges_aojk2_138", ar = "_badge_aojk2_138", nr = "_badgeImage_aojk2_158", sr = "_qrSection_aojk2_164", ir = "_qrCode_aojk2_183", cr = "_qrText_aojk2_191", or = "_features_aojk2_197", lr = "_feature_aojk2_197", rr = "_featureIcon_aojk2_220", dr = "_featureTitle_aojk2_237", _r = "_featureDescription_aojk2_248", mr = "_appImageWrapper_aojk2_255", pr = "_appImage_aojk2_255", Q = {
|
|
2169
|
+
appDownload: Ol,
|
|
2170
|
+
container: Fl,
|
|
2171
|
+
centered: Gl,
|
|
2172
|
+
content: Ul,
|
|
2173
|
+
split: Vl,
|
|
2174
|
+
eyebrow: Ql,
|
|
2175
|
+
title: Kl,
|
|
2176
|
+
description: Yl,
|
|
2177
|
+
rating: Xl,
|
|
2178
|
+
stars: Jl,
|
|
2179
|
+
star: Zl,
|
|
2180
|
+
ratingText: er,
|
|
2181
|
+
badges: tr,
|
|
2182
|
+
badge: ar,
|
|
2183
|
+
badgeImage: nr,
|
|
2184
|
+
qrSection: sr,
|
|
2185
|
+
qrCode: ir,
|
|
2186
|
+
qrText: cr,
|
|
2187
|
+
features: or,
|
|
2188
|
+
feature: lr,
|
|
2189
|
+
featureIcon: rr,
|
|
2190
|
+
featureTitle: dr,
|
|
2191
|
+
featureDescription: _r,
|
|
2192
|
+
appImageWrapper: mr,
|
|
2193
|
+
appImage: pr
|
|
2194
|
+
}, hr = () => /* @__PURE__ */ a("svg", { width: "135", height: "40", viewBox: "0 0 135 40", children: [
|
|
2195
|
+
/* @__PURE__ */ e("rect", { width: "135", height: "40", rx: "5", fill: "#000" }),
|
|
2196
|
+
/* @__PURE__ */ e(
|
|
2197
|
+
"text",
|
|
2198
|
+
{
|
|
2199
|
+
x: "67.5",
|
|
2200
|
+
y: "12",
|
|
2201
|
+
fill: "#fff",
|
|
2202
|
+
fontSize: "8",
|
|
2203
|
+
textAnchor: "middle",
|
|
2204
|
+
fontFamily: "system-ui",
|
|
2205
|
+
children: "Download on the"
|
|
2206
|
+
}
|
|
2207
|
+
),
|
|
2208
|
+
/* @__PURE__ */ e(
|
|
2209
|
+
"text",
|
|
2210
|
+
{
|
|
2211
|
+
x: "67.5",
|
|
2212
|
+
y: "28",
|
|
2213
|
+
fill: "#fff",
|
|
2214
|
+
fontSize: "16",
|
|
2215
|
+
textAnchor: "middle",
|
|
2216
|
+
fontWeight: "600",
|
|
2217
|
+
fontFamily: "system-ui",
|
|
2218
|
+
children: "App Store"
|
|
2219
|
+
}
|
|
2220
|
+
)
|
|
2221
|
+
] }), ur = () => /* @__PURE__ */ a("svg", { width: "135", height: "40", viewBox: "0 0 135 40", children: [
|
|
2222
|
+
/* @__PURE__ */ e("rect", { width: "135", height: "40", rx: "5", fill: "#000" }),
|
|
2223
|
+
/* @__PURE__ */ e(
|
|
2224
|
+
"text",
|
|
2225
|
+
{
|
|
2226
|
+
x: "67.5",
|
|
2227
|
+
y: "12",
|
|
2228
|
+
fill: "#fff",
|
|
2229
|
+
fontSize: "8",
|
|
2230
|
+
textAnchor: "middle",
|
|
2231
|
+
fontFamily: "system-ui",
|
|
2232
|
+
children: "GET IT ON"
|
|
2233
|
+
}
|
|
2234
|
+
),
|
|
2235
|
+
/* @__PURE__ */ e(
|
|
2236
|
+
"text",
|
|
2237
|
+
{
|
|
2238
|
+
x: "67.5",
|
|
2239
|
+
y: "28",
|
|
2240
|
+
fill: "#fff",
|
|
2241
|
+
fontSize: "14",
|
|
2242
|
+
textAnchor: "middle",
|
|
2243
|
+
fontWeight: "600",
|
|
2244
|
+
fontFamily: "system-ui",
|
|
2245
|
+
children: "Google Play"
|
|
2246
|
+
}
|
|
2247
|
+
)
|
|
2248
|
+
] }), gr = () => /* @__PURE__ */ e(
|
|
2249
|
+
"svg",
|
|
2250
|
+
{
|
|
2251
|
+
className: Q.star,
|
|
2252
|
+
width: "16",
|
|
2253
|
+
height: "16",
|
|
2254
|
+
viewBox: "0 0 24 24",
|
|
2255
|
+
fill: "currentColor",
|
|
2256
|
+
children: /* @__PURE__ */ e("polygon", { points: "12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2" })
|
|
2257
|
+
}
|
|
2258
|
+
), vr = ({ badge: t }) => {
|
|
2259
|
+
const s = () => {
|
|
2260
|
+
switch (t.store) {
|
|
2261
|
+
case "apple":
|
|
2262
|
+
return /* @__PURE__ */ e(hr, {});
|
|
2263
|
+
case "google":
|
|
2264
|
+
return /* @__PURE__ */ e(ur, {});
|
|
2265
|
+
case "custom":
|
|
2266
|
+
return t.badgeImage ? /* @__PURE__ */ e(
|
|
2267
|
+
"img",
|
|
2268
|
+
{
|
|
2269
|
+
src: t.badgeImage,
|
|
2270
|
+
alt: t.badgeAlt || "Download",
|
|
2271
|
+
className: Q.badgeImage
|
|
2272
|
+
}
|
|
2273
|
+
) : null;
|
|
2274
|
+
default:
|
|
2275
|
+
return null;
|
|
2276
|
+
}
|
|
2277
|
+
};
|
|
2278
|
+
return /* @__PURE__ */ e(
|
|
2279
|
+
"a",
|
|
2280
|
+
{
|
|
2281
|
+
href: t.href,
|
|
2282
|
+
className: Q.badge,
|
|
2283
|
+
target: "_blank",
|
|
2284
|
+
rel: "noopener noreferrer",
|
|
2285
|
+
children: s()
|
|
2286
|
+
}
|
|
2287
|
+
);
|
|
2288
|
+
}, Nr = ({
|
|
2289
|
+
eyebrow: t,
|
|
2290
|
+
title: s,
|
|
2291
|
+
description: n,
|
|
2292
|
+
badges: i,
|
|
2293
|
+
appImage: _,
|
|
2294
|
+
qrCode: o,
|
|
2295
|
+
showQrCode: c = !1,
|
|
2296
|
+
features: h = [],
|
|
2297
|
+
layout: m = "centered",
|
|
2298
|
+
background: l = "gradient",
|
|
2299
|
+
rating: d,
|
|
2300
|
+
compact: N = !1,
|
|
2301
|
+
className: g,
|
|
2302
|
+
...p
|
|
2303
|
+
}) => {
|
|
2304
|
+
const r = m === "split-left" || m === "split-right", I = m === "split-left" ? "left" : "right", $ = () => /* @__PURE__ */ a("div", { className: Q.content, children: [
|
|
2305
|
+
t && /* @__PURE__ */ e("span", { className: Q.eyebrow, children: t }),
|
|
2306
|
+
/* @__PURE__ */ e("h2", { className: Q.title, children: s }),
|
|
2307
|
+
n && /* @__PURE__ */ e("p", { className: Q.description, children: n }),
|
|
2308
|
+
d && /* @__PURE__ */ a("div", { className: Q.rating, children: [
|
|
2309
|
+
/* @__PURE__ */ e("div", { className: Q.stars, children: [1, 2, 3, 4, 5].map((v) => /* @__PURE__ */ e(gr, {}, v)) }),
|
|
2310
|
+
/* @__PURE__ */ a("span", { className: Q.ratingText, children: [
|
|
2311
|
+
d.value,
|
|
2312
|
+
" (",
|
|
2313
|
+
d.count,
|
|
2314
|
+
" reviews)"
|
|
2315
|
+
] })
|
|
2316
|
+
] }),
|
|
2317
|
+
/* @__PURE__ */ e("div", { className: Q.badges, children: i.map((v, y) => /* @__PURE__ */ e(vr, { badge: v }, y)) }),
|
|
2318
|
+
c && o && /* @__PURE__ */ a("div", { className: Q.qrSection, children: [
|
|
2319
|
+
/* @__PURE__ */ e("img", { src: o, alt: "QR Code", className: Q.qrCode }),
|
|
2320
|
+
/* @__PURE__ */ e("span", { className: Q.qrText, children: "Scan to download" })
|
|
2321
|
+
] }),
|
|
2322
|
+
h.length > 0 && /* @__PURE__ */ e("div", { className: Q.features, children: h.map((v, y) => /* @__PURE__ */ a("div", { className: Q.feature, children: [
|
|
2323
|
+
v.icon && /* @__PURE__ */ e("div", { className: Q.featureIcon, children: v.icon }),
|
|
2324
|
+
/* @__PURE__ */ a("div", { children: [
|
|
2325
|
+
/* @__PURE__ */ e("h4", { className: Q.featureTitle, children: v.title }),
|
|
2326
|
+
v.description && /* @__PURE__ */ e("p", { className: Q.featureDescription, children: v.description })
|
|
2327
|
+
] })
|
|
2328
|
+
] }, y)) })
|
|
2329
|
+
] }), k = () => _ ? /* @__PURE__ */ e("div", { className: Q.appImageWrapper, children: /* @__PURE__ */ e("img", { src: _, alt: "App preview", className: Q.appImage }) }) : null;
|
|
2330
|
+
return /* @__PURE__ */ e(
|
|
2331
|
+
"section",
|
|
2332
|
+
{
|
|
2333
|
+
className: `${Q.appDownload} ${g || ""}`,
|
|
2334
|
+
"data-background": l,
|
|
2335
|
+
"data-compact": N,
|
|
2336
|
+
...p,
|
|
2337
|
+
children: /* @__PURE__ */ e("div", { className: Q.container, children: r ? /* @__PURE__ */ a("div", { className: Q.split, "data-image-position": I, children: [
|
|
2338
|
+
$(),
|
|
2339
|
+
k()
|
|
2340
|
+
] }) : /* @__PURE__ */ a("div", { className: Q.centered, children: [
|
|
2341
|
+
$(),
|
|
2342
|
+
k()
|
|
2343
|
+
] }) })
|
|
2344
|
+
}
|
|
2345
|
+
);
|
|
2346
|
+
};
|
|
2347
|
+
Nr.displayName = "AppDownload";
|
|
2348
|
+
const mt = ({
|
|
2349
|
+
agents: t,
|
|
2350
|
+
agentCount: s,
|
|
2351
|
+
...n
|
|
2352
|
+
}) => /* @__PURE__ */ e(
|
|
2353
|
+
ea,
|
|
2354
|
+
{
|
|
2355
|
+
...n,
|
|
2356
|
+
items: t,
|
|
2357
|
+
itemCount: s,
|
|
2358
|
+
itemLabel: "Agente",
|
|
2359
|
+
itemLabelPlural: "Agentes",
|
|
2360
|
+
emptyText: "No hay agentes en esta carpeta",
|
|
2361
|
+
sortLabel: "Ordenar",
|
|
2362
|
+
renderItem: (i) => /* @__PURE__ */ e(dt, { ...i })
|
|
2363
|
+
}
|
|
2364
|
+
);
|
|
2365
|
+
mt.displayName = "AgentFolder";
|
|
2366
|
+
const fr = "_section_1do2g_3", yr = "_sectionMain_1do2g_11", br = "_sectionMobileMenuButton_1do2g_18", kr = "_inputButton_1do2g_40", wr = "_emptyState_1do2g_58", Ir = "_emptyStateIcon_1do2g_69", $r = "_emptyStateTitle_1do2g_73", xr = "_emptyStateText_1do2g_80", qe = {
|
|
2367
|
+
section: fr,
|
|
2368
|
+
sectionMain: yr,
|
|
2369
|
+
sectionMobileMenuButton: br,
|
|
2370
|
+
inputButton: kr,
|
|
2371
|
+
emptyState: wr,
|
|
2372
|
+
emptyStateIcon: Ir,
|
|
2373
|
+
emptyStateTitle: $r,
|
|
2374
|
+
emptyStateText: xr
|
|
2375
|
+
};
|
|
2376
|
+
function Cr({ message: t }) {
|
|
2377
|
+
const { displayText: s, isComplete: n } = wt(t.content);
|
|
2378
|
+
return /* @__PURE__ */ e(
|
|
2379
|
+
ee.Message,
|
|
2380
|
+
{
|
|
2381
|
+
role: t.role,
|
|
2382
|
+
content: s,
|
|
2383
|
+
timestamp: t.timestamp,
|
|
2384
|
+
status: t.status,
|
|
2385
|
+
attachments: t.attachments,
|
|
2386
|
+
isStreaming: !n
|
|
2387
|
+
}
|
|
2388
|
+
);
|
|
2389
|
+
}
|
|
2390
|
+
const Sr = R(
|
|
2391
|
+
({
|
|
2392
|
+
conversations: t = [],
|
|
2393
|
+
activeConversationId: s,
|
|
2394
|
+
messages: n = [],
|
|
2395
|
+
onSendMessage: i,
|
|
2396
|
+
onSelectConversation: _,
|
|
2397
|
+
onNewConversation: o,
|
|
2398
|
+
onDeleteConversation: c,
|
|
2399
|
+
isTyping: h = !1,
|
|
2400
|
+
isLoading: m = !1,
|
|
2401
|
+
header: l,
|
|
2402
|
+
inputConfig: d,
|
|
2403
|
+
hideSidebar: N = !1,
|
|
2404
|
+
className: g,
|
|
2405
|
+
...p
|
|
2406
|
+
}, r) => {
|
|
2407
|
+
const [I, $] = H(!0), k = $e(
|
|
2408
|
+
(v, y) => {
|
|
2409
|
+
i == null || i(v, y);
|
|
2410
|
+
},
|
|
2411
|
+
[i]
|
|
2412
|
+
);
|
|
2413
|
+
return /* @__PURE__ */ a(
|
|
2414
|
+
"div",
|
|
2415
|
+
{
|
|
2416
|
+
ref: r,
|
|
2417
|
+
className: [qe.section, g].filter(Boolean).join(" "),
|
|
2418
|
+
...p,
|
|
2419
|
+
children: [
|
|
2420
|
+
!N && /* @__PURE__ */ e(
|
|
2421
|
+
ee.Sidebar,
|
|
2422
|
+
{
|
|
2423
|
+
conversations: t,
|
|
2424
|
+
activeConversationId: s,
|
|
2425
|
+
onSelectConversation: _,
|
|
2426
|
+
onNewConversation: o,
|
|
2427
|
+
onDeleteConversation: c,
|
|
2428
|
+
collapsed: I,
|
|
2429
|
+
onCollapsedChange: $
|
|
2430
|
+
}
|
|
2431
|
+
),
|
|
2432
|
+
/* @__PURE__ */ e("div", { className: qe.sectionMain, children: /* @__PURE__ */ a(ee, { children: [
|
|
2433
|
+
/* @__PURE__ */ e(
|
|
2434
|
+
ee.Header,
|
|
2435
|
+
{
|
|
2436
|
+
title: (l == null ? void 0 : l.title) || "AI Assistant",
|
|
2437
|
+
subtitle: l == null ? void 0 : l.subtitle,
|
|
2438
|
+
avatar: l == null ? void 0 : l.avatar,
|
|
2439
|
+
actions: /* @__PURE__ */ a(Pe, { children: [
|
|
2440
|
+
!N && /* @__PURE__ */ e(
|
|
2441
|
+
"button",
|
|
2442
|
+
{
|
|
2443
|
+
className: [
|
|
2444
|
+
qe.inputButton,
|
|
2445
|
+
qe.sectionMobileMenuButton
|
|
2446
|
+
].join(" "),
|
|
2447
|
+
onClick: () => $(!1),
|
|
2448
|
+
"aria-label": "Open sidebar",
|
|
2449
|
+
children: /* @__PURE__ */ e(Je, { size: 20 })
|
|
2450
|
+
}
|
|
2451
|
+
),
|
|
2452
|
+
l == null ? void 0 : l.actions
|
|
2453
|
+
] })
|
|
2454
|
+
}
|
|
2455
|
+
),
|
|
2456
|
+
/* @__PURE__ */ a(ee.Messages, { children: [
|
|
2457
|
+
n.length === 0 ? /* @__PURE__ */ a("div", { className: qe.emptyState, children: [
|
|
2458
|
+
/* @__PURE__ */ e("div", { className: qe.emptyStateIcon, children: /* @__PURE__ */ e(Bt, { size: 28 }) }),
|
|
2459
|
+
/* @__PURE__ */ a("div", { children: [
|
|
2460
|
+
/* @__PURE__ */ e("h3", { className: qe.emptyStateTitle, children: "How can I help you today?" }),
|
|
2461
|
+
/* @__PURE__ */ e("p", { className: qe.emptyStateText, children: "Start a conversation by typing a message below." })
|
|
2462
|
+
] })
|
|
2463
|
+
] }) : n.map(
|
|
2464
|
+
(v) => v.isStreaming ? /* @__PURE__ */ e(Cr, { message: v }, v.id) : /* @__PURE__ */ e(
|
|
2465
|
+
ee.Message,
|
|
2466
|
+
{
|
|
2467
|
+
role: v.role,
|
|
2468
|
+
content: v.content,
|
|
2469
|
+
timestamp: v.timestamp,
|
|
2470
|
+
status: v.status,
|
|
2471
|
+
attachments: v.attachments
|
|
2472
|
+
},
|
|
2473
|
+
v.id
|
|
2474
|
+
)
|
|
2475
|
+
),
|
|
2476
|
+
h && /* @__PURE__ */ e(ee.TypingIndicator, {})
|
|
2477
|
+
] }),
|
|
2478
|
+
/* @__PURE__ */ e(
|
|
2479
|
+
ee.Input,
|
|
2480
|
+
{
|
|
2481
|
+
onSend: k,
|
|
2482
|
+
placeholder: (d == null ? void 0 : d.placeholder) || "Type a message...",
|
|
2483
|
+
allowAttachments: (d == null ? void 0 : d.allowAttachments) ?? !0,
|
|
2484
|
+
allowVoiceRecording: (d == null ? void 0 : d.allowVoiceRecording) ?? !0,
|
|
2485
|
+
maxLength: d == null ? void 0 : d.maxLength,
|
|
2486
|
+
isLoading: m
|
|
2487
|
+
}
|
|
2488
|
+
)
|
|
2489
|
+
] }) })
|
|
2490
|
+
]
|
|
2491
|
+
}
|
|
2492
|
+
);
|
|
2493
|
+
}
|
|
2494
|
+
);
|
|
2495
|
+
Sr.displayName = "ChatSection";
|
|
2496
|
+
const Pr = "_settingsLayout_1383a_8", Tr = "_header_1383a_18", Br = "_headerContent_1383a_34", Lr = "_mobileNavToggle_1383a_40", jr = "_headerText_1383a_54", zr = "_title_1383a_58", Ar = "_description_1383a_68", qr = "_headerActions_1383a_76", Mr = "_body_1383a_87", Er = "_nav_1383a_97", Wr = "_navSticky_1383a_106", Hr = "_navGroup_1383a_113", Dr = "_navGroupTitle_1383a_121", Rr = "_navList_1383a_132", Or = "_navItem_1383a_138", Fr = "_navItemActive_1383a_161", Gr = "_navItemDisabled_1383a_171", Ur = "_navItemIcon_1383a_176", Vr = "_navItemContent_1383a_186", Qr = "_navItemLabel_1383a_193", Kr = "_navItemDescription_1383a_197", Yr = "_navItemBadge_1383a_203", Xr = "_content_1383a_212", Jr = "_overlay_1383a_224", Zr = "_navOpen_1383a_254", V = {
|
|
2497
|
+
settingsLayout: Pr,
|
|
2498
|
+
header: Tr,
|
|
2499
|
+
headerContent: Br,
|
|
2500
|
+
mobileNavToggle: Lr,
|
|
2501
|
+
headerText: jr,
|
|
2502
|
+
title: zr,
|
|
2503
|
+
description: Ar,
|
|
2504
|
+
headerActions: qr,
|
|
2505
|
+
body: Mr,
|
|
2506
|
+
nav: Er,
|
|
2507
|
+
navSticky: Wr,
|
|
2508
|
+
navGroup: Hr,
|
|
2509
|
+
navGroupTitle: Dr,
|
|
2510
|
+
navList: Rr,
|
|
2511
|
+
navItem: Or,
|
|
2512
|
+
navItemActive: Fr,
|
|
2513
|
+
navItemDisabled: Gr,
|
|
2514
|
+
navItemIcon: Ur,
|
|
2515
|
+
navItemContent: Vr,
|
|
2516
|
+
navItemLabel: Qr,
|
|
2517
|
+
navItemDescription: Kr,
|
|
2518
|
+
navItemBadge: Yr,
|
|
2519
|
+
content: Xr,
|
|
2520
|
+
overlay: Jr,
|
|
2521
|
+
navOpen: Zr
|
|
2522
|
+
}, Kt = R(
|
|
2523
|
+
({
|
|
2524
|
+
navigation: t,
|
|
2525
|
+
activeSection: s,
|
|
2526
|
+
onNavigate: n,
|
|
2527
|
+
children: i,
|
|
2528
|
+
title: _,
|
|
2529
|
+
description: o,
|
|
2530
|
+
headerActions: c,
|
|
2531
|
+
navWidth: h = 240,
|
|
2532
|
+
stickyNav: m = !0,
|
|
2533
|
+
mobileNav: l = !0,
|
|
2534
|
+
className: d,
|
|
2535
|
+
style: N,
|
|
2536
|
+
...g
|
|
2537
|
+
}, p) => {
|
|
2538
|
+
const [r, I] = H(!1), $ = (y) => {
|
|
2539
|
+
y.disabled || (n(y.id), I(!1));
|
|
2540
|
+
}, k = [V.settingsLayout, d].filter(Boolean).join(" "), v = {
|
|
2541
|
+
...N,
|
|
2542
|
+
"--nav-width": `${h}px`
|
|
2543
|
+
};
|
|
2544
|
+
return /* @__PURE__ */ a("div", { ref: p, className: k, style: v, ...g, children: [
|
|
2545
|
+
(_ || l) && /* @__PURE__ */ a("header", { className: V.header, children: [
|
|
2546
|
+
/* @__PURE__ */ a("div", { className: V.headerContent, children: [
|
|
2547
|
+
l && /* @__PURE__ */ e(
|
|
2548
|
+
"button",
|
|
2549
|
+
{
|
|
2550
|
+
type: "button",
|
|
2551
|
+
className: V.mobileNavToggle,
|
|
2552
|
+
onClick: () => I(!r),
|
|
2553
|
+
"aria-label": "Toggle navigation",
|
|
2554
|
+
children: r ? /* @__PURE__ */ e(St, { size: 20 }) : /* @__PURE__ */ e(Je, { size: 20 })
|
|
2555
|
+
}
|
|
2556
|
+
),
|
|
2557
|
+
/* @__PURE__ */ a("div", { className: V.headerText, children: [
|
|
2558
|
+
_ && /* @__PURE__ */ e("h1", { className: V.title, children: _ }),
|
|
2559
|
+
o && /* @__PURE__ */ e("p", { className: V.description, children: o })
|
|
2560
|
+
] })
|
|
2561
|
+
] }),
|
|
2562
|
+
c && /* @__PURE__ */ e("div", { className: V.headerActions, children: c })
|
|
2563
|
+
] }),
|
|
2564
|
+
/* @__PURE__ */ a("div", { className: V.body, children: [
|
|
2565
|
+
/* @__PURE__ */ e(
|
|
2566
|
+
"nav",
|
|
2567
|
+
{
|
|
2568
|
+
className: `${V.nav} ${m ? V.navSticky : ""} ${r ? V.navOpen : ""}`,
|
|
2569
|
+
children: t.map((y, f) => /* @__PURE__ */ a("div", { className: V.navGroup, children: [
|
|
2570
|
+
y.title && /* @__PURE__ */ e("div", { className: V.navGroupTitle, children: y.title }),
|
|
2571
|
+
/* @__PURE__ */ e("ul", { className: V.navList, children: y.items.map((w) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ a(
|
|
2572
|
+
"button",
|
|
2573
|
+
{
|
|
2574
|
+
type: "button",
|
|
2575
|
+
className: `${V.navItem} ${s === w.id ? V.navItemActive : ""} ${w.disabled ? V.navItemDisabled : ""}`,
|
|
2576
|
+
onClick: () => $(w),
|
|
2577
|
+
"aria-current": s === w.id ? "page" : void 0,
|
|
2578
|
+
children: [
|
|
2579
|
+
w.icon && /* @__PURE__ */ e("span", { className: V.navItemIcon, children: w.icon }),
|
|
2580
|
+
/* @__PURE__ */ a("span", { className: V.navItemContent, children: [
|
|
2581
|
+
/* @__PURE__ */ e("span", { className: V.navItemLabel, children: w.label }),
|
|
2582
|
+
w.description && /* @__PURE__ */ e("span", { className: V.navItemDescription, children: w.description })
|
|
2583
|
+
] }),
|
|
2584
|
+
w.badge && /* @__PURE__ */ e("span", { className: V.navItemBadge, children: w.badge })
|
|
2585
|
+
]
|
|
2586
|
+
}
|
|
2587
|
+
) }, w.id)) })
|
|
2588
|
+
] }, y.title || f))
|
|
2589
|
+
}
|
|
2590
|
+
),
|
|
2591
|
+
r && /* @__PURE__ */ e(
|
|
2592
|
+
"div",
|
|
2593
|
+
{
|
|
2594
|
+
className: V.overlay,
|
|
2595
|
+
onClick: () => I(!1),
|
|
2596
|
+
"aria-hidden": "true"
|
|
2597
|
+
}
|
|
2598
|
+
),
|
|
2599
|
+
/* @__PURE__ */ e("main", { className: V.content, children: i })
|
|
2600
|
+
] })
|
|
2601
|
+
] });
|
|
2602
|
+
}
|
|
2603
|
+
);
|
|
2604
|
+
Kt.displayName = "SettingsLayout";
|
|
2605
|
+
const ed = "_stepper_1ju9j_8", td = "_horizontal_1ju9j_16", ad = "_vertical_1ju9j_21", nd = "_step_1ju9j_8", sd = "_stepContent_1ju9j_43", id = "_stepClickable_1ju9j_54", cd = "_stepIcon_1ju9j_70", od = "_stepIconActive_1ju9j_86", ld = "_stepIconCompleted_1ju9j_91", rd = "_stepIconError_1ju9j_96", dd = "_stepText_1ju9j_105", _d = "_stepLabel_1ju9j_112", md = "_stepActive_1ju9j_120", pd = "_stepCompleted_1ju9j_125", hd = "_stepError_1ju9j_129", ud = "_stepOptional_1ju9j_133", gd = "_stepDescription_1ju9j_138", vd = "_stepErrorMessage_1ju9j_145", Nd = "_connector_1ju9j_155", fd = "_connectorCompleted_1ju9j_174", yd = "_alternativeLabel_1ju9j_208", bd = "_sm_1ju9j_235", kd = "_lg_1ju9j_253", te = {
|
|
2606
|
+
stepper: ed,
|
|
2607
|
+
horizontal: td,
|
|
2608
|
+
vertical: ad,
|
|
2609
|
+
step: nd,
|
|
2610
|
+
stepContent: sd,
|
|
2611
|
+
stepClickable: id,
|
|
2612
|
+
stepIcon: cd,
|
|
2613
|
+
stepIconActive: od,
|
|
2614
|
+
stepIconCompleted: ld,
|
|
2615
|
+
stepIconError: rd,
|
|
2616
|
+
stepText: dd,
|
|
2617
|
+
stepLabel: _d,
|
|
2618
|
+
stepActive: md,
|
|
2619
|
+
stepCompleted: pd,
|
|
2620
|
+
stepError: hd,
|
|
2621
|
+
stepOptional: ud,
|
|
2622
|
+
stepDescription: gd,
|
|
2623
|
+
stepErrorMessage: vd,
|
|
2624
|
+
connector: Nd,
|
|
2625
|
+
connectorCompleted: fd,
|
|
2626
|
+
"connector-dashed": "_connector-dashed_1ju9j_179",
|
|
2627
|
+
"connector-dotted": "_connector-dotted_1ju9j_188",
|
|
2628
|
+
alternativeLabel: yd,
|
|
2629
|
+
sm: bd,
|
|
2630
|
+
lg: kd
|
|
2631
|
+
}, wd = R(
|
|
2632
|
+
({
|
|
2633
|
+
steps: t,
|
|
2634
|
+
activeStep: s,
|
|
2635
|
+
onStepClick: n,
|
|
2636
|
+
orientation: i = "horizontal",
|
|
2637
|
+
allowClickOnCompleted: _ = !0,
|
|
2638
|
+
allowClickOnFuture: o = !1,
|
|
2639
|
+
showStepNumbers: c = !0,
|
|
2640
|
+
connectorStyle: h = "solid",
|
|
2641
|
+
size: m = "md",
|
|
2642
|
+
alternativeLabel: l = !1,
|
|
2643
|
+
className: d,
|
|
2644
|
+
...N
|
|
2645
|
+
}, g) => {
|
|
2646
|
+
const p = (f) => f < s, r = (f) => f === s, I = (f) => f > s, $ = (f) => n ? p(f) ? _ : r(f) ? !0 : I(f) ? o : !1 : !1, k = (f) => {
|
|
2647
|
+
$(f) && (n == null || n(f));
|
|
2648
|
+
}, v = (f, w) => f.error ? /* @__PURE__ */ e(Tt, { size: m === "sm" ? 14 : m === "lg" ? 20 : 16 }) : p(w) ? /* @__PURE__ */ e(Ct, { size: m === "sm" ? 14 : m === "lg" ? 20 : 16 }) : f.icon ? f.icon : c ? /* @__PURE__ */ e("span", { children: w + 1 }) : null, y = [
|
|
2649
|
+
te.stepper,
|
|
2650
|
+
te[i],
|
|
2651
|
+
te[m],
|
|
2652
|
+
te[`connector-${h}`],
|
|
2653
|
+
l && i === "horizontal" && te.alternativeLabel,
|
|
2654
|
+
d
|
|
2655
|
+
].filter(Boolean).join(" ");
|
|
2656
|
+
return /* @__PURE__ */ e(
|
|
2657
|
+
"div",
|
|
2658
|
+
{
|
|
2659
|
+
ref: g,
|
|
2660
|
+
className: y,
|
|
2661
|
+
role: "navigation",
|
|
2662
|
+
"aria-label": "Progress",
|
|
2663
|
+
...N,
|
|
2664
|
+
children: t.map((f, w) => {
|
|
2665
|
+
const P = p(w), x = r(w), M = $(w), C = w === t.length - 1, z = [
|
|
2666
|
+
te.step,
|
|
2667
|
+
P && te.stepCompleted,
|
|
2668
|
+
x && te.stepActive,
|
|
2669
|
+
f.error && te.stepError,
|
|
2670
|
+
M && te.stepClickable
|
|
2671
|
+
].filter(Boolean).join(" "), Ne = [
|
|
2672
|
+
te.stepIcon,
|
|
2673
|
+
P && te.stepIconCompleted,
|
|
2674
|
+
x && te.stepIconActive,
|
|
2675
|
+
f.error && te.stepIconError
|
|
2676
|
+
].filter(Boolean).join(" ");
|
|
2677
|
+
return /* @__PURE__ */ a("div", { className: z, children: [
|
|
2678
|
+
/* @__PURE__ */ a(
|
|
2679
|
+
"div",
|
|
2680
|
+
{
|
|
2681
|
+
className: te.stepContent,
|
|
2682
|
+
onClick: () => k(w),
|
|
2683
|
+
onKeyDown: (ae) => {
|
|
2684
|
+
(ae.key === "Enter" || ae.key === " ") && M && k(w);
|
|
2685
|
+
},
|
|
2686
|
+
role: M ? "button" : void 0,
|
|
2687
|
+
tabIndex: M ? 0 : void 0,
|
|
2688
|
+
"aria-current": x ? "step" : void 0,
|
|
2689
|
+
children: [
|
|
2690
|
+
/* @__PURE__ */ e("div", { className: Ne, children: v(f, w) }),
|
|
2691
|
+
/* @__PURE__ */ a("div", { className: te.stepText, children: [
|
|
2692
|
+
/* @__PURE__ */ a("span", { className: te.stepLabel, children: [
|
|
2693
|
+
f.label,
|
|
2694
|
+
f.optional && /* @__PURE__ */ e("span", { className: te.stepOptional, children: " (Optional)" })
|
|
2695
|
+
] }),
|
|
2696
|
+
f.description && /* @__PURE__ */ e("span", { className: te.stepDescription, children: f.description }),
|
|
2697
|
+
f.error && f.errorMessage && /* @__PURE__ */ e("span", { className: te.stepErrorMessage, children: f.errorMessage })
|
|
2698
|
+
] })
|
|
2699
|
+
]
|
|
2700
|
+
}
|
|
2701
|
+
),
|
|
2702
|
+
!C && /* @__PURE__ */ e(
|
|
2703
|
+
"div",
|
|
2704
|
+
{
|
|
2705
|
+
className: `${te.connector} ${P ? te.connectorCompleted : ""}`
|
|
2706
|
+
}
|
|
2707
|
+
)
|
|
2708
|
+
] }, f.id);
|
|
2709
|
+
})
|
|
2710
|
+
}
|
|
2711
|
+
);
|
|
2712
|
+
}
|
|
2713
|
+
);
|
|
2714
|
+
wd.displayName = "Stepper";
|
|
2715
|
+
const Id = "_breadcrumbs_1236f_8", $d = "_list_1236f_17", xd = "_listItem_1236f_26", Cd = "_item_1236f_36", Sd = "_itemCurrent_1236f_58", Pd = "_itemIcon_1236f_68", Td = "_homeIcon_1236f_75", Bd = "_separator_1236f_83", Ld = "_collapseButton_1236f_92", jd = "_sm_1236f_114", zd = "_md_1236f_119", Ad = "_lg_1236f_123", ye = {
|
|
2716
|
+
breadcrumbs: Id,
|
|
2717
|
+
list: $d,
|
|
2718
|
+
listItem: xd,
|
|
2719
|
+
item: Cd,
|
|
2720
|
+
itemCurrent: Sd,
|
|
2721
|
+
itemIcon: Pd,
|
|
2722
|
+
homeIcon: Td,
|
|
2723
|
+
separator: Bd,
|
|
2724
|
+
collapseButton: Ld,
|
|
2725
|
+
sm: jd,
|
|
2726
|
+
md: zd,
|
|
2727
|
+
lg: Ad
|
|
2728
|
+
}, qd = R(
|
|
2729
|
+
({
|
|
2730
|
+
items: t,
|
|
2731
|
+
separator: s,
|
|
2732
|
+
maxItems: n,
|
|
2733
|
+
itemsBeforeCollapse: i = 1,
|
|
2734
|
+
itemsAfterCollapse: _ = 1,
|
|
2735
|
+
showHomeIcon: o = !1,
|
|
2736
|
+
size: c = "md",
|
|
2737
|
+
className: h,
|
|
2738
|
+
...m
|
|
2739
|
+
}, l) => {
|
|
2740
|
+
const [d, N] = H(!1), g = n !== void 0 && t.length > n && !d, p = Ee(() => {
|
|
2741
|
+
if (!g) return t;
|
|
2742
|
+
const k = t.slice(0, i), v = t.slice(-_);
|
|
2743
|
+
return [
|
|
2744
|
+
...k,
|
|
2745
|
+
{ id: "__collapsed__", label: "..." },
|
|
2746
|
+
...v
|
|
2747
|
+
];
|
|
2748
|
+
}, [t, g, i, _]), r = () => s ? /* @__PURE__ */ e("span", { className: ye.separator, children: s }) : /* @__PURE__ */ e(
|
|
2749
|
+
Pt,
|
|
2750
|
+
{
|
|
2751
|
+
size: c === "sm" ? 14 : c === "lg" ? 18 : 16,
|
|
2752
|
+
className: ye.separator
|
|
2753
|
+
}
|
|
2754
|
+
), I = (k, v, y) => {
|
|
2755
|
+
if (k.id === "__collapsed__")
|
|
2756
|
+
return /* @__PURE__ */ e(
|
|
2757
|
+
"button",
|
|
2758
|
+
{
|
|
2759
|
+
type: "button",
|
|
2760
|
+
className: ye.collapseButton,
|
|
2761
|
+
onClick: () => N(!0),
|
|
2762
|
+
"aria-label": "Show all breadcrumbs",
|
|
2763
|
+
children: /* @__PURE__ */ e(
|
|
2764
|
+
pa,
|
|
2765
|
+
{
|
|
2766
|
+
size: c === "sm" ? 14 : c === "lg" ? 18 : 16
|
|
2767
|
+
}
|
|
2768
|
+
)
|
|
2769
|
+
}
|
|
2770
|
+
);
|
|
2771
|
+
const w = /* @__PURE__ */ a(Pe, { children: [
|
|
2772
|
+
v === 0 && o && /* @__PURE__ */ e(
|
|
2773
|
+
ha,
|
|
2774
|
+
{
|
|
2775
|
+
size: c === "sm" ? 12 : c === "lg" ? 16 : 14,
|
|
2776
|
+
className: ye.homeIcon
|
|
2777
|
+
}
|
|
2778
|
+
),
|
|
2779
|
+
k.icon && /* @__PURE__ */ e("span", { className: ye.itemIcon, children: k.icon }),
|
|
2780
|
+
/* @__PURE__ */ e("span", { children: k.label })
|
|
2781
|
+
] });
|
|
2782
|
+
return y ? /* @__PURE__ */ e(
|
|
2783
|
+
"span",
|
|
2784
|
+
{
|
|
2785
|
+
className: `${ye.item} ${ye.itemCurrent}`,
|
|
2786
|
+
"aria-current": "page",
|
|
2787
|
+
children: w
|
|
2788
|
+
}
|
|
2789
|
+
) : k.href ? /* @__PURE__ */ e("a", { href: k.href, className: ye.item, children: w }) : k.onClick ? /* @__PURE__ */ e("button", { type: "button", className: ye.item, onClick: k.onClick, children: w }) : /* @__PURE__ */ e("span", { className: ye.item, children: w });
|
|
2790
|
+
}, $ = [ye.breadcrumbs, ye[c], h].filter(Boolean).join(" ");
|
|
2791
|
+
return /* @__PURE__ */ e("nav", { ref: l, className: $, "aria-label": "Breadcrumb", ...m, children: /* @__PURE__ */ e("ol", { className: ye.list, children: p.map((k, v) => {
|
|
2792
|
+
const y = v === p.length - 1;
|
|
2793
|
+
return /* @__PURE__ */ a("li", { className: ye.listItem, children: [
|
|
2794
|
+
I(k, v, y),
|
|
2795
|
+
!y && r()
|
|
2796
|
+
] }, k.id);
|
|
2797
|
+
}) }) });
|
|
2798
|
+
}
|
|
2799
|
+
);
|
|
2800
|
+
qd.displayName = "Breadcrumbs";
|
|
2801
|
+
const Md = "_emptyState_nu6tm_8", Ed = "_content_nu6tm_16", Wd = "_icon_nu6tm_29", Hd = "_illustration_nu6tm_40", Dd = "_text_nu6tm_57", Rd = "_title_nu6tm_63", Od = "_description_nu6tm_72", Fd = "_actions_nu6tm_84", ze = {
|
|
2802
|
+
emptyState: Md,
|
|
2803
|
+
content: Ed,
|
|
2804
|
+
icon: Wd,
|
|
2805
|
+
illustration: Hd,
|
|
2806
|
+
text: Dd,
|
|
2807
|
+
title: Rd,
|
|
2808
|
+
description: Od,
|
|
2809
|
+
actions: Fd,
|
|
2810
|
+
"size-sm": "_size-sm_nu6tm_97",
|
|
2811
|
+
"size-lg": "_size-lg_nu6tm_119",
|
|
2812
|
+
"variant-compact": "_variant-compact_nu6tm_141",
|
|
2813
|
+
"variant-full-page": "_variant-full-page_nu6tm_167"
|
|
2814
|
+
}, Gd = R(
|
|
2815
|
+
({
|
|
2816
|
+
icon: t,
|
|
2817
|
+
illustration: s,
|
|
2818
|
+
title: n,
|
|
2819
|
+
description: i,
|
|
2820
|
+
action: _,
|
|
2821
|
+
secondaryAction: o,
|
|
2822
|
+
variant: c = "default",
|
|
2823
|
+
size: h = "md",
|
|
2824
|
+
className: m,
|
|
2825
|
+
...l
|
|
2826
|
+
}, d) => {
|
|
2827
|
+
const N = [
|
|
2828
|
+
ze.emptyState,
|
|
2829
|
+
ze[`variant-${c}`],
|
|
2830
|
+
ze[`size-${h}`],
|
|
2831
|
+
m
|
|
2832
|
+
].filter(Boolean).join(" ");
|
|
2833
|
+
return /* @__PURE__ */ e("div", { ref: d, className: N, ...l, children: /* @__PURE__ */ a("div", { className: ze.content, children: [
|
|
2834
|
+
s && /* @__PURE__ */ e("div", { className: ze.illustration, children: s }),
|
|
2835
|
+
t && !s && /* @__PURE__ */ e("div", { className: ze.icon, children: t }),
|
|
2836
|
+
/* @__PURE__ */ a("div", { className: ze.text, children: [
|
|
2837
|
+
/* @__PURE__ */ e("h3", { className: ze.title, children: n }),
|
|
2838
|
+
i && /* @__PURE__ */ e("p", { className: ze.description, children: i })
|
|
2839
|
+
] }),
|
|
2840
|
+
(_ || o) && /* @__PURE__ */ a("div", { className: ze.actions, children: [
|
|
2841
|
+
_,
|
|
2842
|
+
o
|
|
2843
|
+
] })
|
|
2844
|
+
] }) });
|
|
2845
|
+
}
|
|
2846
|
+
);
|
|
2847
|
+
Gd.displayName = "EmptyState";
|
|
2848
|
+
const Ud = "_template_112j7_7", Vd = "_content_112j7_16", Qd = "_pageHeaderInContent_112j7_26", Kd = "_titleWithIcon_112j7_35", Yd = "_titleIcon_112j7_43", Xd = "_headerActions_112j7_50", Jd = "_splitArea_112j7_57", Zd = "_editorPanel_112j7_66", e_ = "_tabsBar_112j7_74", t_ = "_editorContent_112j7_83", a_ = "_panelCard_112j7_93", n_ = "_codeEditorFull_112j7_102", s_ = "_previewPanel_112j7_108", i_ = "_chat_112j7_115", c_ = "_sidebarHeader_112j7_121", o_ = "_sidebarFooter_112j7_126", l_ = "_workspaceButton_112j7_132", r_ = "_workspaceName_112j7_162", d_ = "_workspacePanel_112j7_171", __ = "_workspacePanelCount_112j7_179", m_ = "_workspacePanelActive_112j7_186", p_ = "_workspacePanelInfo_112j7_193", h_ = "_workspacePanelName_112j7_201", u_ = "_workspacePanelMeta_112j7_206", g_ = "_workspacePanelActions_112j7_211", v_ = "_workspacePanelDivider_112j7_217", N_ = "_workspacePanelList_112j7_221", f_ = "_workspaceListItem_112j7_227", y_ = "_workspaceListItemInfo_112j7_240", b_ = "_workspaceListItemName_112j7_248", k_ = "_workspaceListItemRole_112j7_256", w_ = "_workspacePanelFooter_112j7_261", I_ = "_modelPanel_112j7_267", $_ = "_modelItem_112j7_279", x_ = "_modelItemLabel_112j7_301", C_ = "_modelItemCheck_112j7_311", S_ = "_editorFooter_112j7_347", T = {
|
|
2849
|
+
template: Ud,
|
|
2850
|
+
content: Vd,
|
|
2851
|
+
pageHeaderInContent: Qd,
|
|
2852
|
+
titleWithIcon: Kd,
|
|
2853
|
+
titleIcon: Yd,
|
|
2854
|
+
headerActions: Xd,
|
|
2855
|
+
splitArea: Jd,
|
|
2856
|
+
editorPanel: Zd,
|
|
2857
|
+
tabsBar: e_,
|
|
2858
|
+
editorContent: t_,
|
|
2859
|
+
panelCard: a_,
|
|
2860
|
+
codeEditorFull: n_,
|
|
2861
|
+
previewPanel: s_,
|
|
2862
|
+
chat: i_,
|
|
2863
|
+
sidebarHeader: c_,
|
|
2864
|
+
sidebarFooter: o_,
|
|
2865
|
+
workspaceButton: l_,
|
|
2866
|
+
workspaceName: r_,
|
|
2867
|
+
workspacePanel: d_,
|
|
2868
|
+
workspacePanelCount: __,
|
|
2869
|
+
workspacePanelActive: m_,
|
|
2870
|
+
workspacePanelInfo: p_,
|
|
2871
|
+
workspacePanelName: h_,
|
|
2872
|
+
workspacePanelMeta: u_,
|
|
2873
|
+
workspacePanelActions: g_,
|
|
2874
|
+
workspacePanelDivider: v_,
|
|
2875
|
+
workspacePanelList: N_,
|
|
2876
|
+
workspaceListItem: f_,
|
|
2877
|
+
workspaceListItemInfo: y_,
|
|
2878
|
+
workspaceListItemName: b_,
|
|
2879
|
+
workspaceListItemRole: k_,
|
|
2880
|
+
workspacePanelFooter: w_,
|
|
2881
|
+
modelPanel: I_,
|
|
2882
|
+
modelItem: $_,
|
|
2883
|
+
modelItemLabel: x_,
|
|
2884
|
+
modelItemCheck: C_,
|
|
2885
|
+
editorFooter: S_
|
|
2886
|
+
}, P_ = ({
|
|
2887
|
+
// Sidebar
|
|
2888
|
+
navbar: t,
|
|
2889
|
+
navSections: s,
|
|
2890
|
+
activeNavNodeId: n,
|
|
2891
|
+
onNavNodeClick: i,
|
|
2892
|
+
sidebarWidth: _ = 260,
|
|
2893
|
+
// In-content header
|
|
2894
|
+
title: o = "Editor",
|
|
2895
|
+
modelOptions: c = [],
|
|
2896
|
+
selectedModel: h,
|
|
2897
|
+
onModelChange: m,
|
|
2898
|
+
onNewConversation: l,
|
|
2899
|
+
// Editor panel
|
|
2900
|
+
tabs: d,
|
|
2901
|
+
activeTab: N,
|
|
2902
|
+
onTabChange: g,
|
|
2903
|
+
onSave: p,
|
|
2904
|
+
onCancel: r,
|
|
2905
|
+
leftPanelWidth: I = "60%",
|
|
2906
|
+
// Chat preview
|
|
2907
|
+
previewTitle: $ = "Vista previa",
|
|
2908
|
+
messages: k = [],
|
|
2909
|
+
onSendMessage: v,
|
|
2910
|
+
isTyping: y = !1,
|
|
2911
|
+
isLoading: f = !1,
|
|
2912
|
+
chatInputConfig: w,
|
|
2913
|
+
emptyPreviewState: P,
|
|
2914
|
+
className: x,
|
|
2915
|
+
...M
|
|
2916
|
+
}) => {
|
|
2917
|
+
var j, S;
|
|
2918
|
+
const [C, z] = H(
|
|
2919
|
+
n
|
|
2920
|
+
), ae = d || [
|
|
2921
|
+
{
|
|
2922
|
+
id: "comportamiento",
|
|
2923
|
+
label: "Comportamiento",
|
|
2924
|
+
language: "markdown",
|
|
2925
|
+
placeholder: `# Introduction & Scope
|
|
2926
|
+
You are a virtual assistant designed to support users in this project.`,
|
|
2927
|
+
value: ""
|
|
2928
|
+
},
|
|
2929
|
+
{
|
|
2930
|
+
id: "memoria",
|
|
2931
|
+
label: "Memoria",
|
|
2932
|
+
language: "markdown",
|
|
2933
|
+
placeholder: `# Memory
|
|
2934
|
+
Store and reference important user information...`,
|
|
2935
|
+
value: ""
|
|
2936
|
+
},
|
|
2937
|
+
{
|
|
2938
|
+
id: "general",
|
|
2939
|
+
label: "General",
|
|
2940
|
+
language: "markdown",
|
|
2941
|
+
placeholder: `# General Settings
|
|
2942
|
+
Configure general behavior...`,
|
|
2943
|
+
value: ""
|
|
2944
|
+
}
|
|
2945
|
+
], [ue, fe] = H(
|
|
2946
|
+
N || ((j = ae[0]) == null ? void 0 : j.id) || "comportamiento"
|
|
2947
|
+
), O = N || ue, [Te, Be] = H(() => {
|
|
2948
|
+
const u = {};
|
|
2949
|
+
return ae.forEach((B) => {
|
|
2950
|
+
u[B.id] = B.value ?? "";
|
|
2951
|
+
}), u;
|
|
2952
|
+
}), [Ae, D] = H(/* @__PURE__ */ new Set()), F = (u) => {
|
|
2953
|
+
fe(u), g == null || g(u);
|
|
2954
|
+
};
|
|
2955
|
+
Re(() => {
|
|
2956
|
+
Be((u) => {
|
|
2957
|
+
const B = { ...u };
|
|
2958
|
+
return ae.forEach((ie) => {
|
|
2959
|
+
Ae.has(ie.id) || (B[ie.id] = ie.value ?? "");
|
|
2960
|
+
}), B;
|
|
2961
|
+
});
|
|
2962
|
+
}, [ae]);
|
|
2963
|
+
const G = (u) => {
|
|
2964
|
+
var Ie;
|
|
2965
|
+
const B = ae.find((je) => je.id === O);
|
|
2966
|
+
Be((je) => ({ ...je, [O]: u }));
|
|
2967
|
+
const ie = (B == null ? void 0 : B.value) ?? "";
|
|
2968
|
+
D((je) => {
|
|
2969
|
+
const it = new Set(je);
|
|
2970
|
+
return u !== ie ? it.add(O) : it.delete(O), it;
|
|
2971
|
+
}), (Ie = B == null ? void 0 : B.onChange) == null || Ie.call(B, u);
|
|
2972
|
+
}, xe = () => {
|
|
2973
|
+
var ie;
|
|
2974
|
+
const u = ae.find((Ie) => Ie.id === O), B = Te[O] ?? "";
|
|
2975
|
+
(ie = u == null ? void 0 : u.onSave) == null || ie.call(u, B), p == null || p(O, B), D((Ie) => {
|
|
2976
|
+
const je = new Set(Ie);
|
|
2977
|
+
return je.delete(O), je;
|
|
2978
|
+
});
|
|
2979
|
+
}, we = () => {
|
|
2980
|
+
var B;
|
|
2981
|
+
const u = ae.find((ie) => ie.id === O);
|
|
2982
|
+
Be((ie) => ({
|
|
2983
|
+
...ie,
|
|
2984
|
+
[O]: (u == null ? void 0 : u.value) ?? ""
|
|
2985
|
+
})), D((ie) => {
|
|
2986
|
+
const Ie = new Set(ie);
|
|
2987
|
+
return Ie.delete(O), Ie;
|
|
2988
|
+
}), (B = u == null ? void 0 : u.onCancel) == null || B.call(u), r == null || r(O);
|
|
2989
|
+
}, A = ae.find((u) => u.id === O), nt = (u) => {
|
|
2990
|
+
z(u), i == null || i(u);
|
|
2991
|
+
}, st = t != null && t.workspaces && t.workspaces.length > 0 ? /* @__PURE__ */ e("div", { className: T.sidebarHeader, children: /* @__PURE__ */ e(
|
|
2992
|
+
_t,
|
|
2993
|
+
{
|
|
2994
|
+
trigger: /* @__PURE__ */ a("button", { className: T.workspaceButton, children: [
|
|
2995
|
+
(t.workspaceAvatar || t.workspaceIcon || t.workspaceInitials) && /* @__PURE__ */ e(
|
|
2996
|
+
Se,
|
|
2997
|
+
{
|
|
2998
|
+
size: "xs",
|
|
2999
|
+
src: t.workspaceAvatar,
|
|
3000
|
+
icon: t.workspaceIcon,
|
|
3001
|
+
initials: t.workspaceInitials
|
|
3002
|
+
}
|
|
3003
|
+
),
|
|
3004
|
+
/* @__PURE__ */ e("span", { className: T.workspaceName, children: t.workspaceName || "Workspace" }),
|
|
3005
|
+
/* @__PURE__ */ e(Fe, { size: 16 })
|
|
3006
|
+
] }),
|
|
3007
|
+
content: /* @__PURE__ */ a("div", { className: T.workspacePanel, children: [
|
|
3008
|
+
t.workspaces.length > 0 && /* @__PURE__ */ a("div", { className: T.workspacePanelCount, children: [
|
|
3009
|
+
t.workspaces.length,
|
|
3010
|
+
" Organizaciones"
|
|
3011
|
+
] }),
|
|
3012
|
+
/* @__PURE__ */ a("div", { className: T.workspacePanelActive, children: [
|
|
3013
|
+
/* @__PURE__ */ e(
|
|
3014
|
+
Se,
|
|
3015
|
+
{
|
|
3016
|
+
size: "lg",
|
|
3017
|
+
src: t.workspaceAvatar,
|
|
3018
|
+
icon: t.workspaceIcon,
|
|
3019
|
+
initials: t.workspaceInitials
|
|
3020
|
+
}
|
|
3021
|
+
),
|
|
3022
|
+
/* @__PURE__ */ a("div", { className: T.workspacePanelInfo, children: [
|
|
3023
|
+
/* @__PURE__ */ e("div", { className: T.workspacePanelName, children: t.workspaceName || "Workspace" }),
|
|
3024
|
+
t.workspaceRole && /* @__PURE__ */ e("div", { className: T.workspacePanelMeta, children: t.workspaceRole }),
|
|
3025
|
+
t.workspaceParticipantCount !== void 0 && /* @__PURE__ */ a("div", { className: T.workspacePanelMeta, children: [
|
|
3026
|
+
t.workspaceParticipantCount,
|
|
3027
|
+
" participantes"
|
|
3028
|
+
] })
|
|
3029
|
+
] })
|
|
3030
|
+
] }),
|
|
3031
|
+
(t.onWorkspaceSettings || t.onWorkspaceInvite) && /* @__PURE__ */ a("div", { className: T.workspacePanelActions, children: [
|
|
3032
|
+
t.onWorkspaceSettings && /* @__PURE__ */ e(
|
|
3033
|
+
_e,
|
|
3034
|
+
{
|
|
3035
|
+
variant: "ghost",
|
|
3036
|
+
size: "sm",
|
|
3037
|
+
icon: /* @__PURE__ */ e(Me, { size: 16 }),
|
|
3038
|
+
onClick: t.onWorkspaceSettings,
|
|
3039
|
+
children: "Configuración"
|
|
3040
|
+
}
|
|
3041
|
+
),
|
|
3042
|
+
t.onWorkspaceInvite && /* @__PURE__ */ e(
|
|
3043
|
+
_e,
|
|
3044
|
+
{
|
|
3045
|
+
variant: "ghost",
|
|
3046
|
+
size: "sm",
|
|
3047
|
+
icon: /* @__PURE__ */ e(Lt, { size: 16 }),
|
|
3048
|
+
onClick: t.onWorkspaceInvite,
|
|
3049
|
+
children: "Participantes"
|
|
3050
|
+
}
|
|
3051
|
+
)
|
|
3052
|
+
] }),
|
|
3053
|
+
t.workspaces.length > 1 && /* @__PURE__ */ a(Pe, { children: [
|
|
3054
|
+
/* @__PURE__ */ e("div", { className: T.workspacePanelDivider, children: /* @__PURE__ */ e(Xe, {}) }),
|
|
3055
|
+
/* @__PURE__ */ e("div", { className: T.workspacePanelList, children: t.workspaces.filter(
|
|
3056
|
+
(u) => !t.activeWorkspaceId || u.id !== t.activeWorkspaceId
|
|
3057
|
+
).map((u) => /* @__PURE__ */ a(
|
|
3058
|
+
"div",
|
|
3059
|
+
{
|
|
3060
|
+
className: T.workspaceListItem,
|
|
3061
|
+
onClick: () => {
|
|
3062
|
+
var B;
|
|
3063
|
+
return (B = t.onWorkspaceChange) == null ? void 0 : B.call(t, u.id);
|
|
3064
|
+
},
|
|
3065
|
+
children: [
|
|
3066
|
+
/* @__PURE__ */ e(
|
|
3067
|
+
Se,
|
|
3068
|
+
{
|
|
3069
|
+
size: "xs",
|
|
3070
|
+
src: u.avatar,
|
|
3071
|
+
icon: u.icon,
|
|
3072
|
+
initials: u.initials
|
|
3073
|
+
}
|
|
3074
|
+
),
|
|
3075
|
+
/* @__PURE__ */ a("div", { className: T.workspaceListItemInfo, children: [
|
|
3076
|
+
/* @__PURE__ */ e("div", { className: T.workspaceListItemName, children: u.name }),
|
|
3077
|
+
u.role && /* @__PURE__ */ e("div", { className: T.workspaceListItemRole, children: u.role })
|
|
3078
|
+
] })
|
|
3079
|
+
]
|
|
3080
|
+
},
|
|
3081
|
+
u.id
|
|
3082
|
+
)) })
|
|
3083
|
+
] }),
|
|
3084
|
+
/* @__PURE__ */ e("div", { className: T.workspacePanelFooter, children: /* @__PURE__ */ e(
|
|
3085
|
+
_e,
|
|
3086
|
+
{
|
|
3087
|
+
variant: "ghost",
|
|
3088
|
+
size: "sm",
|
|
3089
|
+
icon: /* @__PURE__ */ e(Ge, { size: 16 }),
|
|
3090
|
+
onClick: t.onCreateWorkspace,
|
|
3091
|
+
children: "Nueva organización"
|
|
3092
|
+
}
|
|
3093
|
+
) })
|
|
3094
|
+
] }),
|
|
3095
|
+
placement: "bottom-start",
|
|
3096
|
+
showArrow: !1
|
|
3097
|
+
}
|
|
3098
|
+
) }) : null, b = /* @__PURE__ */ e("div", { className: T.sidebarFooter, children: /* @__PURE__ */ e(
|
|
3099
|
+
It,
|
|
3100
|
+
{
|
|
3101
|
+
user: {
|
|
3102
|
+
name: (t == null ? void 0 : t.userName) ?? "Usuario",
|
|
3103
|
+
email: t == null ? void 0 : t.userEmail,
|
|
3104
|
+
avatar: t == null ? void 0 : t.userAvatar,
|
|
3105
|
+
role: t == null ? void 0 : t.workspaceRole,
|
|
3106
|
+
status: "online"
|
|
3107
|
+
},
|
|
3108
|
+
sections: [
|
|
3109
|
+
{
|
|
3110
|
+
id: "account",
|
|
3111
|
+
label: "Mi Cuenta",
|
|
3112
|
+
items: [
|
|
3113
|
+
{ id: "profile", label: "Mi Perfil", icon: /* @__PURE__ */ e(De, { size: 16 }) },
|
|
3114
|
+
{
|
|
3115
|
+
id: "preferences",
|
|
3116
|
+
label: "Preferencias",
|
|
3117
|
+
icon: /* @__PURE__ */ e(Me, { size: 16 })
|
|
3118
|
+
}
|
|
3119
|
+
]
|
|
3120
|
+
},
|
|
3121
|
+
{
|
|
3122
|
+
id: "workspace",
|
|
3123
|
+
label: "Espacio de Trabajo",
|
|
3124
|
+
items: [
|
|
3125
|
+
{
|
|
3126
|
+
id: "workspace-settings",
|
|
3127
|
+
label: "Configuración",
|
|
3128
|
+
icon: /* @__PURE__ */ e(Me, { size: 16 })
|
|
3129
|
+
},
|
|
3130
|
+
{
|
|
3131
|
+
id: "invite",
|
|
3132
|
+
label: "Invitar miembros",
|
|
3133
|
+
icon: /* @__PURE__ */ e(De, { size: 16 })
|
|
3134
|
+
}
|
|
3135
|
+
]
|
|
3136
|
+
},
|
|
3137
|
+
{
|
|
3138
|
+
id: "billing",
|
|
3139
|
+
label: "Suscripción",
|
|
3140
|
+
items: [
|
|
3141
|
+
{
|
|
3142
|
+
id: "subscription",
|
|
3143
|
+
label: "Plan actual",
|
|
3144
|
+
icon: /* @__PURE__ */ e(Ze, { size: 16 })
|
|
3145
|
+
},
|
|
3146
|
+
{
|
|
3147
|
+
id: "billing-history",
|
|
3148
|
+
label: "Historial de pagos",
|
|
3149
|
+
icon: /* @__PURE__ */ e(Ze, { size: 16 })
|
|
3150
|
+
}
|
|
3151
|
+
]
|
|
3152
|
+
},
|
|
3153
|
+
{
|
|
3154
|
+
id: "support",
|
|
3155
|
+
items: [
|
|
3156
|
+
{
|
|
3157
|
+
id: "help",
|
|
3158
|
+
label: "Ayuda y soporte",
|
|
3159
|
+
icon: /* @__PURE__ */ e(jt, { size: 16 })
|
|
3160
|
+
},
|
|
3161
|
+
{
|
|
3162
|
+
id: "logout",
|
|
3163
|
+
label: "Cerrar sesión",
|
|
3164
|
+
icon: /* @__PURE__ */ e(ht, { size: 16 }),
|
|
3165
|
+
danger: !0,
|
|
3166
|
+
onClick: t == null ? void 0 : t.onUserMenuClick
|
|
3167
|
+
}
|
|
3168
|
+
]
|
|
3169
|
+
}
|
|
3170
|
+
],
|
|
3171
|
+
align: "start",
|
|
3172
|
+
placement: "top",
|
|
3173
|
+
showHeader: !0
|
|
3174
|
+
}
|
|
3175
|
+
) }), q = [T.template, x].filter(Boolean).join(" ");
|
|
3176
|
+
return /* @__PURE__ */ a("div", { className: q, ...M, children: [
|
|
3177
|
+
/* @__PURE__ */ e(
|
|
3178
|
+
$t,
|
|
3179
|
+
{
|
|
3180
|
+
width: _,
|
|
3181
|
+
sections: s || [],
|
|
3182
|
+
activeNodeId: C,
|
|
3183
|
+
persistKey: "agent-editor-nav",
|
|
3184
|
+
onNodeClick: (u) => nt(u.id),
|
|
3185
|
+
header: st,
|
|
3186
|
+
footer: b
|
|
3187
|
+
}
|
|
3188
|
+
),
|
|
3189
|
+
/* @__PURE__ */ a("main", { className: T.content, children: [
|
|
3190
|
+
/* @__PURE__ */ e(
|
|
3191
|
+
Ue,
|
|
3192
|
+
{
|
|
3193
|
+
title: /* @__PURE__ */ a("div", { className: T.titleWithIcon, children: [
|
|
3194
|
+
/* @__PURE__ */ e("span", { className: T.titleIcon, children: /* @__PURE__ */ e(ua, { size: 28 }) }),
|
|
3195
|
+
/* @__PURE__ */ e("span", { children: o })
|
|
3196
|
+
] }),
|
|
3197
|
+
actions: /* @__PURE__ */ a("div", { className: T.headerActions, children: [
|
|
3198
|
+
c.length > 0 && /* @__PURE__ */ e(
|
|
3199
|
+
_t,
|
|
3200
|
+
{
|
|
3201
|
+
trigger: /* @__PURE__ */ e(
|
|
3202
|
+
_e,
|
|
3203
|
+
{
|
|
3204
|
+
variant: "secondary",
|
|
3205
|
+
size: "sm",
|
|
3206
|
+
icon: /* @__PURE__ */ e(Fe, { size: 16 }),
|
|
3207
|
+
iconRight: /* @__PURE__ */ e(Fe, { size: 16 }),
|
|
3208
|
+
children: h && ((S = c.find((u) => u.value === h)) == null ? void 0 : S.label) || "Select model..."
|
|
3209
|
+
}
|
|
3210
|
+
),
|
|
3211
|
+
content: /* @__PURE__ */ e("div", { className: T.modelPanel, children: c.map((u) => /* @__PURE__ */ a(
|
|
3212
|
+
"div",
|
|
3213
|
+
{
|
|
3214
|
+
className: T.modelItem,
|
|
3215
|
+
onClick: () => {
|
|
3216
|
+
m == null || m(u.value);
|
|
3217
|
+
},
|
|
3218
|
+
role: "option",
|
|
3219
|
+
"aria-selected": h === u.value,
|
|
3220
|
+
children: [
|
|
3221
|
+
/* @__PURE__ */ e("span", { className: T.modelItemLabel, children: u.label }),
|
|
3222
|
+
h === u.value && /* @__PURE__ */ e("span", { className: T.modelItemCheck, children: "✓" })
|
|
3223
|
+
]
|
|
3224
|
+
},
|
|
3225
|
+
u.value
|
|
3226
|
+
)) }),
|
|
3227
|
+
placement: "bottom-start",
|
|
3228
|
+
showArrow: !1,
|
|
3229
|
+
offset: 4,
|
|
3230
|
+
closeOnClickOutside: !0
|
|
3231
|
+
}
|
|
3232
|
+
),
|
|
3233
|
+
l && /* @__PURE__ */ e(
|
|
3234
|
+
_e,
|
|
3235
|
+
{
|
|
3236
|
+
variant: "primary",
|
|
3237
|
+
size: "md",
|
|
3238
|
+
icon: /* @__PURE__ */ e(Ge, { size: 20 }),
|
|
3239
|
+
onClick: l,
|
|
3240
|
+
children: "Nueva conversación"
|
|
3241
|
+
}
|
|
3242
|
+
)
|
|
3243
|
+
] }),
|
|
3244
|
+
bordered: !1,
|
|
3245
|
+
variant: "transparent",
|
|
3246
|
+
className: T.pageHeaderInContent
|
|
3247
|
+
}
|
|
3248
|
+
),
|
|
3249
|
+
/* @__PURE__ */ a("div", { className: T.splitArea, children: [
|
|
3250
|
+
/* @__PURE__ */ e(
|
|
3251
|
+
"div",
|
|
3252
|
+
{
|
|
3253
|
+
className: T.editorPanel,
|
|
3254
|
+
style: { flex: `0 0 ${I}` },
|
|
3255
|
+
children: /* @__PURE__ */ a(me, { variant: "base", className: T.panelCard, children: [
|
|
3256
|
+
/* @__PURE__ */ e("div", { className: T.tabsBar, children: /* @__PURE__ */ e(
|
|
3257
|
+
Nt,
|
|
3258
|
+
{
|
|
3259
|
+
type: "single",
|
|
3260
|
+
variant: "outline",
|
|
3261
|
+
size: "md",
|
|
3262
|
+
value: O,
|
|
3263
|
+
onValueChange: (u) => F(u),
|
|
3264
|
+
children: ae.map((u) => /* @__PURE__ */ e(Nt.Item, { value: u.id, children: u.label }, u.id))
|
|
3265
|
+
}
|
|
3266
|
+
) }),
|
|
3267
|
+
/* @__PURE__ */ e("div", { className: T.editorContent, children: A != null && A.editorSlot ? A.editorSlot(
|
|
3268
|
+
Te[O] ?? (A == null ? void 0 : A.value) ?? "",
|
|
3269
|
+
G
|
|
3270
|
+
) : /* @__PURE__ */ e(
|
|
3271
|
+
ta,
|
|
3272
|
+
{
|
|
3273
|
+
className: T.codeEditorFull,
|
|
3274
|
+
value: Te[O] ?? (A == null ? void 0 : A.value) ?? "",
|
|
3275
|
+
onChange: G,
|
|
3276
|
+
language: A == null ? void 0 : A.language,
|
|
3277
|
+
placeholder: A == null ? void 0 : A.placeholder,
|
|
3278
|
+
readOnly: A == null ? void 0 : A.readOnly,
|
|
3279
|
+
showLineNumbers: !0,
|
|
3280
|
+
"aria-label": `${A == null ? void 0 : A.label} editor`
|
|
3281
|
+
}
|
|
3282
|
+
) }),
|
|
3283
|
+
Ae.has(O) && /* @__PURE__ */ a("div", { className: T.editorFooter, children: [
|
|
3284
|
+
/* @__PURE__ */ e(_e, { variant: "ghost", size: "sm", onClick: we, children: "Cancelar" }),
|
|
3285
|
+
/* @__PURE__ */ e(_e, { variant: "primary", size: "sm", onClick: xe, children: "Guardar" })
|
|
3286
|
+
] })
|
|
3287
|
+
] })
|
|
3288
|
+
}
|
|
3289
|
+
),
|
|
3290
|
+
/* @__PURE__ */ e("div", { className: T.previewPanel, children: /* @__PURE__ */ e(me, { variant: "base", className: T.panelCard, children: /* @__PURE__ */ a(ee, { className: T.chat, children: [
|
|
3291
|
+
/* @__PURE__ */ e(
|
|
3292
|
+
ee.Header,
|
|
3293
|
+
{
|
|
3294
|
+
title: $,
|
|
3295
|
+
actions: l ? /* @__PURE__ */ e(
|
|
3296
|
+
_e,
|
|
3297
|
+
{
|
|
3298
|
+
variant: "ghost",
|
|
3299
|
+
size: "sm",
|
|
3300
|
+
icon: /* @__PURE__ */ e(Ge, { size: 16 }),
|
|
3301
|
+
onClick: l,
|
|
3302
|
+
children: "Nueva"
|
|
3303
|
+
}
|
|
3304
|
+
) : void 0
|
|
3305
|
+
}
|
|
3306
|
+
),
|
|
3307
|
+
/* @__PURE__ */ a(ee.Messages, { autoScroll: !0, children: [
|
|
3308
|
+
k.length === 0 && !y ? P || /* @__PURE__ */ e(
|
|
3309
|
+
"div",
|
|
3310
|
+
{
|
|
3311
|
+
style: {
|
|
3312
|
+
display: "flex",
|
|
3313
|
+
alignItems: "center",
|
|
3314
|
+
justifyContent: "center",
|
|
3315
|
+
height: "100%",
|
|
3316
|
+
color: "var(--text-tertiary)"
|
|
3317
|
+
},
|
|
3318
|
+
children: "No messages yet"
|
|
3319
|
+
}
|
|
3320
|
+
) : k.map((u) => /* @__PURE__ */ e(
|
|
3321
|
+
ee.Message,
|
|
3322
|
+
{
|
|
3323
|
+
role: u.role,
|
|
3324
|
+
content: u.content,
|
|
3325
|
+
status: u.status,
|
|
3326
|
+
attachments: u.attachments,
|
|
3327
|
+
isStreaming: u.isStreaming
|
|
3328
|
+
},
|
|
3329
|
+
u.id
|
|
3330
|
+
)),
|
|
3331
|
+
y && /* @__PURE__ */ e(ee.TypingIndicator, {})
|
|
3332
|
+
] }),
|
|
3333
|
+
/* @__PURE__ */ e(
|
|
3334
|
+
ee.Input,
|
|
3335
|
+
{
|
|
3336
|
+
onSend: v,
|
|
3337
|
+
isLoading: f,
|
|
3338
|
+
placeholder: (w == null ? void 0 : w.placeholder) || "Type your message here...",
|
|
3339
|
+
allowAttachments: (w == null ? void 0 : w.allowAttachments) ?? !0,
|
|
3340
|
+
allowVoiceRecording: (w == null ? void 0 : w.allowVoiceRecording) ?? !1
|
|
3341
|
+
}
|
|
3342
|
+
)
|
|
3343
|
+
] }) }) })
|
|
3344
|
+
] })
|
|
3345
|
+
] })
|
|
3346
|
+
] });
|
|
3347
|
+
};
|
|
3348
|
+
P_.displayName = "AgentEditor";
|
|
3349
|
+
const T_ = "_template_1px18_8", B_ = "_sidebarHeader_1px18_17", L_ = "_sidebarFooter_1px18_23", j_ = "_workspaceButton_1px18_29", z_ = "_workspaceName_1px18_60", A_ = "_pageHeaderInContent_1px18_88", q_ = "_titleWithIcon_1px18_98", M_ = "_titleIcon_1px18_106", E_ = "_headerActions_1px18_113", W_ = "_content_1px18_120", H_ = "_folders_1px18_129", D_ = "_looseAgentsSection_1px18_138", R_ = "_looseAgentsGrid_1px18_142", O_ = "_emptyState_1px18_149", F_ = "_emptyIcon_1px18_159", G_ = "_emptyTitle_1px18_164", U_ = "_emptyDescription_1px18_172", V_ = "_hideOnMobile_1px18_194", Q_ = "_workspacePanel_1px18_237", K_ = "_workspacePanelCount_1px18_241", Y_ = "_workspacePanelActive_1px18_250", X_ = "_workspacePanelInfo_1px18_257", J_ = "_workspacePanelName_1px18_262", Z_ = "_workspacePanelMeta_1px18_271", em = "_workspacePanelActions_1px18_283", tm = "_workspacePanelDivider_1px18_289", am = "_workspacePanelList_1px18_294", nm = "_workspaceListItem_1px18_301", sm = "_workspaceListItemInfo_1px18_320", im = "_workspaceListItemName_1px18_325", cm = "_workspaceListItemRole_1px18_333", om = "_workspacePanelFooter_1px18_339", L = {
|
|
3350
|
+
template: T_,
|
|
3351
|
+
sidebarHeader: B_,
|
|
3352
|
+
sidebarFooter: L_,
|
|
3353
|
+
workspaceButton: j_,
|
|
3354
|
+
workspaceName: z_,
|
|
3355
|
+
pageHeaderInContent: A_,
|
|
3356
|
+
titleWithIcon: q_,
|
|
3357
|
+
titleIcon: M_,
|
|
3358
|
+
headerActions: E_,
|
|
3359
|
+
content: W_,
|
|
3360
|
+
folders: H_,
|
|
3361
|
+
looseAgentsSection: D_,
|
|
3362
|
+
looseAgentsGrid: R_,
|
|
3363
|
+
emptyState: O_,
|
|
3364
|
+
emptyIcon: F_,
|
|
3365
|
+
emptyTitle: G_,
|
|
3366
|
+
emptyDescription: U_,
|
|
3367
|
+
hideOnMobile: V_,
|
|
3368
|
+
workspacePanel: Q_,
|
|
3369
|
+
workspacePanelCount: K_,
|
|
3370
|
+
workspacePanelActive: Y_,
|
|
3371
|
+
workspacePanelInfo: X_,
|
|
3372
|
+
workspacePanelName: J_,
|
|
3373
|
+
workspacePanelMeta: Z_,
|
|
3374
|
+
workspacePanelActions: em,
|
|
3375
|
+
workspacePanelDivider: tm,
|
|
3376
|
+
workspacePanelList: am,
|
|
3377
|
+
workspaceListItem: nm,
|
|
3378
|
+
workspaceListItemInfo: sm,
|
|
3379
|
+
workspaceListItemName: im,
|
|
3380
|
+
workspaceListItemRole: cm,
|
|
3381
|
+
workspacePanelFooter: om
|
|
3382
|
+
}, lm = ({
|
|
3383
|
+
navbar: t,
|
|
3384
|
+
pageHeader: s,
|
|
3385
|
+
folders: n = [],
|
|
3386
|
+
looseAgents: i,
|
|
3387
|
+
helpCenters: _,
|
|
3388
|
+
onCreateFolder: o,
|
|
3389
|
+
onCreateAgent: c,
|
|
3390
|
+
onCreateHelpCenter: h,
|
|
3391
|
+
onEditFolder: m,
|
|
3392
|
+
onDeleteFolder: l,
|
|
3393
|
+
onMoveAgent: d,
|
|
3394
|
+
onDeleteAgent: N,
|
|
3395
|
+
onEditHelpCenter: g,
|
|
3396
|
+
onDeleteHelpCenter: p,
|
|
3397
|
+
onInviteParticipants: r,
|
|
3398
|
+
onSettings: I,
|
|
3399
|
+
onNavNodeClick: $,
|
|
3400
|
+
activeNavNodeId: k,
|
|
3401
|
+
sidebarWidth: v = 260,
|
|
3402
|
+
visibleSections: y,
|
|
3403
|
+
emptyState: f,
|
|
3404
|
+
enableDragDrop: w = !0,
|
|
3405
|
+
className: P,
|
|
3406
|
+
...x
|
|
3407
|
+
}) => {
|
|
3408
|
+
const [M, C] = H(
|
|
3409
|
+
k
|
|
3410
|
+
), [z, Ne] = H(null), [ae, ue] = H(null), [fe, O] = H(
|
|
3411
|
+
null
|
|
3412
|
+
), Te = (b) => [
|
|
3413
|
+
{ id: `${b}-edit`, type: "page", label: "Editar", icon: /* @__PURE__ */ e(ya, { size: 14 }) },
|
|
3414
|
+
{ id: `${b}-metrics`, type: "page", label: "Métricas", icon: /* @__PURE__ */ e(ba, { size: 14 }) },
|
|
3415
|
+
{ id: `${b}-conversations`, type: "page", label: "Conversaciones", icon: /* @__PURE__ */ e(Bt, { size: 14 }) },
|
|
3416
|
+
{ id: `${b}-datasources`, type: "page", label: "Fuentes de datos", icon: /* @__PURE__ */ e(ka, { size: 14 }) },
|
|
3417
|
+
{ id: `${b}-integrations`, type: "page", label: "Integraciones", icon: /* @__PURE__ */ e(wa, { size: 14 }) },
|
|
3418
|
+
{ id: `${b}-campaigns`, type: "page", label: "Campañas", icon: /* @__PURE__ */ e(Ia, { size: 14 }) },
|
|
3419
|
+
{ id: `${b}-settings`, type: "page", label: "Configuración", icon: /* @__PURE__ */ e(Me, { size: 14 }) }
|
|
3420
|
+
], Be = Ee(() => {
|
|
3421
|
+
const b = [], q = [
|
|
3422
|
+
...n.map((S) => ({
|
|
3423
|
+
id: S.id,
|
|
3424
|
+
type: "folder",
|
|
3425
|
+
label: S.title,
|
|
3426
|
+
icon: /* @__PURE__ */ e(ga, { size: 16 }),
|
|
3427
|
+
children: S.agents.map((u) => {
|
|
3428
|
+
var B, ie;
|
|
3429
|
+
return {
|
|
3430
|
+
id: u.id,
|
|
3431
|
+
type: "folder",
|
|
3432
|
+
label: u.title || "Agente sin nombre",
|
|
3433
|
+
icon: typeof u.avatar == "string" ? /* @__PURE__ */ e(Se, { size: "xs", src: u.avatar, initials: (B = u.title) == null ? void 0 : B.slice(0, 2).toUpperCase() }) : /* @__PURE__ */ e(Se, { size: "xs", icon: u.avatar, initials: (ie = u.title) == null ? void 0 : ie.slice(0, 2).toUpperCase() }),
|
|
3434
|
+
children: Te(u.id)
|
|
3435
|
+
};
|
|
3436
|
+
})
|
|
3437
|
+
})),
|
|
3438
|
+
...(i ?? []).map((S) => {
|
|
3439
|
+
var u, B;
|
|
3440
|
+
return {
|
|
3441
|
+
id: S.id,
|
|
3442
|
+
type: "folder",
|
|
3443
|
+
label: S.title || "Agente sin nombre",
|
|
3444
|
+
icon: typeof S.avatar == "string" ? /* @__PURE__ */ e(Se, { size: "xs", src: S.avatar, initials: (u = S.title) == null ? void 0 : u.slice(0, 2).toUpperCase() }) : /* @__PURE__ */ e(Se, { size: "xs", icon: S.avatar, initials: (B = S.title) == null ? void 0 : B.slice(0, 2).toUpperCase() }),
|
|
3445
|
+
children: Te(S.id)
|
|
3446
|
+
};
|
|
3447
|
+
})
|
|
3448
|
+
], j = n.reduce((S, u) => S + u.agents.length, 0) + ((i == null ? void 0 : i.length) ?? 0);
|
|
3449
|
+
return b.push({
|
|
3450
|
+
id: "agents",
|
|
3451
|
+
title: "Agentes IA",
|
|
3452
|
+
icon: /* @__PURE__ */ e(yt, { size: 16 }),
|
|
3453
|
+
badge: j,
|
|
3454
|
+
nodes: q,
|
|
3455
|
+
defaultExpanded: !0
|
|
3456
|
+
}), _ && _.length > 0 && b.push({
|
|
3457
|
+
id: "help-centers",
|
|
3458
|
+
title: "Centro de Ayuda",
|
|
3459
|
+
icon: /* @__PURE__ */ e(bt, { size: 16 }),
|
|
3460
|
+
badge: _.length,
|
|
3461
|
+
nodes: _.map((S) => ({
|
|
3462
|
+
id: S.id,
|
|
3463
|
+
type: "page",
|
|
3464
|
+
label: S.name,
|
|
3465
|
+
icon: S.icon ?? /* @__PURE__ */ e(bt, { size: 14 })
|
|
3466
|
+
}))
|
|
3467
|
+
}), b.push({
|
|
3468
|
+
id: "community",
|
|
3469
|
+
title: "Comunidad",
|
|
3470
|
+
icon: /* @__PURE__ */ e(De, { size: 16 }),
|
|
3471
|
+
badge: 3,
|
|
3472
|
+
nodes: [
|
|
3473
|
+
{ id: "community-contacts", type: "page", label: "Contactos", icon: /* @__PURE__ */ e(De, { size: 14 }) },
|
|
3474
|
+
{ id: "community-conversations", type: "page", label: "Conversaciones", icon: /* @__PURE__ */ e(va, { size: 14 }) },
|
|
3475
|
+
{ id: "community-segments", type: "page", label: "Segmentos", icon: /* @__PURE__ */ e(Na, { size: 14 }) }
|
|
3476
|
+
]
|
|
3477
|
+
}), b;
|
|
3478
|
+
}, [n, i, _]), Ae = Ee(() => y ? Be.filter((b) => y.includes(b.id)) : Be, [Be, y]), D = Ee(() => ({
|
|
3479
|
+
onAdd: (b, q) => {
|
|
3480
|
+
q === "agents" && b === null ? o == null || o() : q === "agents" && b !== null ? c == null || c(b) : q === "help-centers" && (h == null || h());
|
|
3481
|
+
},
|
|
3482
|
+
getCustomActions: (b) => {
|
|
3483
|
+
const q = n.some((u) => u.id === b.id), j = !q && (n.some((u) => u.agents.some((B) => B.id === b.id)) || (i == null ? void 0 : i.some((u) => u.id === b.id))), S = _ == null ? void 0 : _.some((u) => u.id === b.id);
|
|
3484
|
+
return q ? [
|
|
3485
|
+
{ id: "edit", label: "Editar", onClick: () => m == null ? void 0 : m(b.id) },
|
|
3486
|
+
{ id: "delete", label: "Eliminar", variant: "danger", onClick: () => l == null ? void 0 : l(b.id) }
|
|
3487
|
+
] : j ? [
|
|
3488
|
+
{ id: "move", label: "Mover a carpeta", onClick: () => d == null ? void 0 : d(b.id) },
|
|
3489
|
+
{ id: "delete", label: "Eliminar", variant: "danger", onClick: () => N == null ? void 0 : N(b.id) }
|
|
3490
|
+
] : S ? [
|
|
3491
|
+
{ id: "edit", label: "Editar", onClick: () => g == null ? void 0 : g(b.id) },
|
|
3492
|
+
{ id: "delete", label: "Eliminar", variant: "danger", onClick: () => p == null ? void 0 : p(b.id) }
|
|
3493
|
+
] : [];
|
|
3494
|
+
}
|
|
3495
|
+
}), [
|
|
3496
|
+
n,
|
|
3497
|
+
i,
|
|
3498
|
+
_,
|
|
3499
|
+
o,
|
|
3500
|
+
c,
|
|
3501
|
+
h,
|
|
3502
|
+
m,
|
|
3503
|
+
l,
|
|
3504
|
+
d,
|
|
3505
|
+
N,
|
|
3506
|
+
g,
|
|
3507
|
+
p
|
|
3508
|
+
]), F = xa(
|
|
3509
|
+
Ca(Sa, {
|
|
3510
|
+
activationConstraint: {
|
|
3511
|
+
distance: 8
|
|
3512
|
+
// 8px movement required to start drag
|
|
3513
|
+
}
|
|
3514
|
+
})
|
|
3515
|
+
), G = n == null ? void 0 : n.flatMap((b) => b.agents).find((b) => b.id === z), xe = (b) => {
|
|
3516
|
+
Ne(String(b.active.id));
|
|
3517
|
+
}, we = (b) => {
|
|
3518
|
+
ue(b.over ? String(b.over.id) : null);
|
|
3519
|
+
}, A = (b) => {
|
|
3520
|
+
const { active: q, over: j } = b;
|
|
3521
|
+
if (!j) {
|
|
3522
|
+
Ne(null), ue(null);
|
|
3523
|
+
return;
|
|
3524
|
+
}
|
|
3525
|
+
const S = String(q.id), u = String(j.id), B = n == null ? void 0 : n.find(
|
|
3526
|
+
(Ie) => Ie.agents.some((je) => je.id === S)
|
|
3527
|
+
), ie = n == null ? void 0 : n.find(
|
|
3528
|
+
(Ie) => Ie.id === u
|
|
3529
|
+
);
|
|
3530
|
+
B && ie && B.id !== ie.id && (O(u), setTimeout(() => O(null), 600)), Ne(null), ue(null);
|
|
3531
|
+
}, nt = /* @__PURE__ */ a("div", { className: L.headerActions, children: [
|
|
3532
|
+
o && /* @__PURE__ */ e("div", { className: L.hideOnMobile, children: /* @__PURE__ */ e(
|
|
3533
|
+
_e,
|
|
3534
|
+
{
|
|
3535
|
+
variant: "secondary",
|
|
3536
|
+
icon: /* @__PURE__ */ e(kt, { size: 20 }),
|
|
3537
|
+
onClick: o,
|
|
3538
|
+
children: "Nueva carpeta"
|
|
3539
|
+
}
|
|
3540
|
+
) }),
|
|
3541
|
+
c && /* @__PURE__ */ e(
|
|
3542
|
+
_e,
|
|
3543
|
+
{
|
|
3544
|
+
variant: "primary",
|
|
3545
|
+
icon: /* @__PURE__ */ e(Ge, { size: 20 }),
|
|
3546
|
+
onClick: () => c(),
|
|
3547
|
+
children: "Nuevo agente"
|
|
3548
|
+
}
|
|
3549
|
+
),
|
|
3550
|
+
s == null ? void 0 : s.actions
|
|
3551
|
+
] }), st = [L.template, P].filter(Boolean).join(" ");
|
|
3552
|
+
return /* @__PURE__ */ a("div", { className: st, ...x, children: [
|
|
3553
|
+
/* @__PURE__ */ e(
|
|
3554
|
+
$t,
|
|
3555
|
+
{
|
|
3556
|
+
width: v,
|
|
3557
|
+
sections: Ae,
|
|
3558
|
+
activeNodeId: M,
|
|
3559
|
+
persistKey: "agent-workspace-nav",
|
|
3560
|
+
actions: D,
|
|
3561
|
+
onNodeClick: (b) => {
|
|
3562
|
+
C(b.id), $ == null || $(b.id);
|
|
3563
|
+
},
|
|
3564
|
+
header: t != null && t.workspaces && t.workspaces.length > 0 ? /* @__PURE__ */ e("div", { className: L.sidebarHeader, children: /* @__PURE__ */ e(
|
|
3565
|
+
_t,
|
|
3566
|
+
{
|
|
3567
|
+
trigger: /* @__PURE__ */ a("button", { className: L.workspaceButton, children: [
|
|
3568
|
+
(t.workspaceAvatar || t.workspaceIcon || t.workspaceInitials) && /* @__PURE__ */ e(
|
|
3569
|
+
Se,
|
|
3570
|
+
{
|
|
3571
|
+
size: "xs",
|
|
3572
|
+
src: t.workspaceAvatar,
|
|
3573
|
+
icon: t.workspaceIcon,
|
|
3574
|
+
initials: t.workspaceInitials
|
|
3575
|
+
}
|
|
3576
|
+
),
|
|
3577
|
+
/* @__PURE__ */ e("span", { className: L.workspaceName, children: t.workspaceName || "Workspace" }),
|
|
3578
|
+
/* @__PURE__ */ e(Fe, { size: 16 })
|
|
3579
|
+
] }),
|
|
3580
|
+
content: /* @__PURE__ */ a("div", { className: L.workspacePanel, children: [
|
|
3581
|
+
t.workspaces.length > 0 && /* @__PURE__ */ a("div", { className: L.workspacePanelCount, children: [
|
|
3582
|
+
t.workspaces.length,
|
|
3583
|
+
" Organizaciones"
|
|
3584
|
+
] }),
|
|
3585
|
+
/* @__PURE__ */ a("div", { className: L.workspacePanelActive, children: [
|
|
3586
|
+
/* @__PURE__ */ e(
|
|
3587
|
+
Se,
|
|
3588
|
+
{
|
|
3589
|
+
size: "lg",
|
|
3590
|
+
src: t.workspaceAvatar,
|
|
3591
|
+
icon: t.workspaceIcon,
|
|
3592
|
+
initials: t.workspaceInitials
|
|
3593
|
+
}
|
|
3594
|
+
),
|
|
3595
|
+
/* @__PURE__ */ a("div", { className: L.workspacePanelInfo, children: [
|
|
3596
|
+
/* @__PURE__ */ e("div", { className: L.workspacePanelName, children: t.workspaceName || "Workspace" }),
|
|
3597
|
+
t.workspaceRole && /* @__PURE__ */ e("div", { className: L.workspacePanelMeta, children: t.workspaceRole }),
|
|
3598
|
+
t.workspaceParticipantCount !== void 0 && /* @__PURE__ */ a("div", { className: L.workspacePanelMeta, children: [
|
|
3599
|
+
t.workspaceParticipantCount,
|
|
3600
|
+
" participantes"
|
|
3601
|
+
] })
|
|
3602
|
+
] })
|
|
3603
|
+
] }),
|
|
3604
|
+
(t.onWorkspaceSettings || t.onWorkspaceInvite) && /* @__PURE__ */ a("div", { className: L.workspacePanelActions, children: [
|
|
3605
|
+
t.onWorkspaceSettings && /* @__PURE__ */ e(
|
|
3606
|
+
_e,
|
|
3607
|
+
{
|
|
3608
|
+
variant: "ghost",
|
|
3609
|
+
size: "sm",
|
|
3610
|
+
icon: /* @__PURE__ */ e(Me, { size: 16 }),
|
|
3611
|
+
onClick: t.onWorkspaceSettings,
|
|
3612
|
+
children: "Configuración"
|
|
3613
|
+
}
|
|
3614
|
+
),
|
|
3615
|
+
t.onWorkspaceInvite && /* @__PURE__ */ e(
|
|
3616
|
+
_e,
|
|
3617
|
+
{
|
|
3618
|
+
variant: "ghost",
|
|
3619
|
+
size: "sm",
|
|
3620
|
+
icon: /* @__PURE__ */ e(Lt, { size: 16 }),
|
|
3621
|
+
onClick: t.onWorkspaceInvite,
|
|
3622
|
+
children: "Participantes"
|
|
3623
|
+
}
|
|
3624
|
+
)
|
|
3625
|
+
] }),
|
|
3626
|
+
t.workspaces.length > 1 && /* @__PURE__ */ a(Pe, { children: [
|
|
3627
|
+
/* @__PURE__ */ e("div", { className: L.workspacePanelDivider, children: /* @__PURE__ */ e(Xe, {}) }),
|
|
3628
|
+
/* @__PURE__ */ e("div", { className: L.workspacePanelList, children: t.workspaces.filter(
|
|
3629
|
+
(b) => !t.activeWorkspaceId || b.id !== t.activeWorkspaceId
|
|
3630
|
+
).map((b) => /* @__PURE__ */ a(
|
|
3631
|
+
"div",
|
|
3632
|
+
{
|
|
3633
|
+
className: L.workspaceListItem,
|
|
3634
|
+
onClick: () => {
|
|
3635
|
+
var q;
|
|
3636
|
+
return (q = t.onWorkspaceChange) == null ? void 0 : q.call(t, b.id);
|
|
3637
|
+
},
|
|
3638
|
+
children: [
|
|
3639
|
+
/* @__PURE__ */ e(
|
|
3640
|
+
Se,
|
|
3641
|
+
{
|
|
3642
|
+
size: "xs",
|
|
3643
|
+
src: b.avatar,
|
|
3644
|
+
icon: b.icon,
|
|
3645
|
+
initials: b.initials
|
|
3646
|
+
}
|
|
3647
|
+
),
|
|
3648
|
+
/* @__PURE__ */ a("div", { className: L.workspaceListItemInfo, children: [
|
|
3649
|
+
/* @__PURE__ */ e("div", { className: L.workspaceListItemName, children: b.name }),
|
|
3650
|
+
b.role && /* @__PURE__ */ e(
|
|
3651
|
+
"div",
|
|
3652
|
+
{
|
|
3653
|
+
className: L.workspaceListItemRole,
|
|
3654
|
+
children: b.role
|
|
3655
|
+
}
|
|
3656
|
+
)
|
|
3657
|
+
] })
|
|
3658
|
+
]
|
|
3659
|
+
},
|
|
3660
|
+
b.id
|
|
3661
|
+
)) })
|
|
3662
|
+
] }),
|
|
3663
|
+
/* @__PURE__ */ e("div", { className: L.workspacePanelFooter, children: /* @__PURE__ */ e(
|
|
3664
|
+
_e,
|
|
3665
|
+
{
|
|
3666
|
+
variant: "ghost",
|
|
3667
|
+
size: "sm",
|
|
3668
|
+
icon: /* @__PURE__ */ e(Ge, { size: 16 }),
|
|
3669
|
+
onClick: t.onCreateWorkspace,
|
|
3670
|
+
children: "Nueva organización"
|
|
3671
|
+
}
|
|
3672
|
+
) })
|
|
3673
|
+
] }),
|
|
3674
|
+
placement: "bottom-start",
|
|
3675
|
+
showArrow: !1
|
|
3676
|
+
}
|
|
3677
|
+
) }) : null,
|
|
3678
|
+
footer: /* @__PURE__ */ e("div", { className: L.sidebarFooter, children: /* @__PURE__ */ e(
|
|
3679
|
+
It,
|
|
3680
|
+
{
|
|
3681
|
+
user: {
|
|
3682
|
+
name: (t == null ? void 0 : t.userName) ?? "Usuario",
|
|
3683
|
+
email: t == null ? void 0 : t.userEmail,
|
|
3684
|
+
avatar: t == null ? void 0 : t.userAvatar,
|
|
3685
|
+
role: t == null ? void 0 : t.workspaceRole,
|
|
3686
|
+
status: "online"
|
|
3687
|
+
},
|
|
3688
|
+
sections: [
|
|
3689
|
+
{
|
|
3690
|
+
id: "account",
|
|
3691
|
+
label: "Mi Cuenta",
|
|
3692
|
+
items: [
|
|
3693
|
+
{ id: "profile", label: "Mi Perfil", icon: /* @__PURE__ */ e(De, { size: 16 }) },
|
|
3694
|
+
{ id: "preferences", label: "Preferencias", icon: /* @__PURE__ */ e(Me, { size: 16 }) }
|
|
3695
|
+
]
|
|
3696
|
+
},
|
|
3697
|
+
{
|
|
3698
|
+
id: "workspace",
|
|
3699
|
+
label: "Espacio de Trabajo",
|
|
3700
|
+
items: [
|
|
3701
|
+
{ id: "workspace-settings", label: "Configuración", icon: /* @__PURE__ */ e(Me, { size: 16 }) },
|
|
3702
|
+
{ id: "invite", label: "Invitar miembros", icon: /* @__PURE__ */ e(De, { size: 16 }) }
|
|
3703
|
+
]
|
|
3704
|
+
},
|
|
3705
|
+
{
|
|
3706
|
+
id: "billing",
|
|
3707
|
+
label: "Suscripción",
|
|
3708
|
+
items: [
|
|
3709
|
+
{ id: "subscription", label: "Plan actual", icon: /* @__PURE__ */ e(Ze, { size: 16 }) },
|
|
3710
|
+
{ id: "billing-history", label: "Historial de pagos", icon: /* @__PURE__ */ e(Ze, { size: 16 }) }
|
|
3711
|
+
]
|
|
3712
|
+
},
|
|
3713
|
+
{
|
|
3714
|
+
id: "support",
|
|
3715
|
+
items: [
|
|
3716
|
+
{ id: "help", label: "Ayuda y soporte", icon: /* @__PURE__ */ e(jt, { size: 16 }) },
|
|
3717
|
+
{ id: "logout", label: "Cerrar sesión", icon: /* @__PURE__ */ e(ht, { size: 16 }), danger: !0, onClick: t == null ? void 0 : t.onUserMenuClick }
|
|
3718
|
+
]
|
|
3719
|
+
}
|
|
3720
|
+
],
|
|
3721
|
+
align: "start",
|
|
3722
|
+
placement: "top",
|
|
3723
|
+
showHeader: !0
|
|
3724
|
+
}
|
|
3725
|
+
) })
|
|
3726
|
+
}
|
|
3727
|
+
),
|
|
3728
|
+
/* @__PURE__ */ a("main", { className: L.content, children: [
|
|
3729
|
+
/* @__PURE__ */ e(
|
|
3730
|
+
Ue,
|
|
3731
|
+
{
|
|
3732
|
+
title: /* @__PURE__ */ a("div", { className: L.titleWithIcon, children: [
|
|
3733
|
+
/* @__PURE__ */ e("span", { className: L.titleIcon, children: (s == null ? void 0 : s.icon) || /* @__PURE__ */ e(yt, { size: 28 }) }),
|
|
3734
|
+
/* @__PURE__ */ e("span", { children: (s == null ? void 0 : s.title) || "Agentes IA" })
|
|
3735
|
+
] }),
|
|
3736
|
+
actions: nt,
|
|
3737
|
+
bordered: !1,
|
|
3738
|
+
variant: "transparent",
|
|
3739
|
+
className: L.pageHeaderInContent
|
|
3740
|
+
}
|
|
3741
|
+
),
|
|
3742
|
+
n.length === 0 && (!i || i.length === 0) ? (
|
|
3743
|
+
// Empty state
|
|
3744
|
+
/* @__PURE__ */ e("div", { className: L.emptyState, children: f || /* @__PURE__ */ a(Pe, { children: [
|
|
3745
|
+
/* @__PURE__ */ e(fa, { size: 64, className: L.emptyIcon }),
|
|
3746
|
+
/* @__PURE__ */ e("h3", { className: L.emptyTitle, children: "No hay carpetas todavía" }),
|
|
3747
|
+
/* @__PURE__ */ e("p", { className: L.emptyDescription, children: "Crea tu primera carpeta para organizar tus agentes de IA" }),
|
|
3748
|
+
o && /* @__PURE__ */ e(
|
|
3749
|
+
_e,
|
|
3750
|
+
{
|
|
3751
|
+
variant: "primary",
|
|
3752
|
+
icon: /* @__PURE__ */ e(kt, { size: 20 }),
|
|
3753
|
+
onClick: o,
|
|
3754
|
+
children: "Crear primera carpeta"
|
|
3755
|
+
}
|
|
3756
|
+
)
|
|
3757
|
+
] }) })
|
|
3758
|
+
) : w ? (
|
|
3759
|
+
// Drag & drop enabled
|
|
3760
|
+
/* @__PURE__ */ a(
|
|
3761
|
+
Pa,
|
|
3762
|
+
{
|
|
3763
|
+
sensors: F,
|
|
3764
|
+
onDragStart: xe,
|
|
3765
|
+
onDragOver: we,
|
|
3766
|
+
onDragEnd: A,
|
|
3767
|
+
children: [
|
|
3768
|
+
/* @__PURE__ */ e("div", { className: L.folders, children: n.map((b) => /* @__PURE__ */ e(
|
|
3769
|
+
mt,
|
|
3770
|
+
{
|
|
3771
|
+
...b,
|
|
3772
|
+
isDropTarget: ae === b.id,
|
|
3773
|
+
isDropCompleted: fe === b.id,
|
|
3774
|
+
onDrop: (q, j, S) => {
|
|
3775
|
+
var u;
|
|
3776
|
+
(u = b.onDrop) == null || u.call(b, q, j, S);
|
|
3777
|
+
},
|
|
3778
|
+
agents: b.agents.map((q) => ({
|
|
3779
|
+
...q,
|
|
3780
|
+
draggable: !0,
|
|
3781
|
+
isDragging: q.id === z,
|
|
3782
|
+
availableFolders: n == null ? void 0 : n.filter((j) => j.id !== b.id).map((j) => ({ id: j.id, title: j.title })),
|
|
3783
|
+
onMoveToFolder: (j) => {
|
|
3784
|
+
var u;
|
|
3785
|
+
const S = n == null ? void 0 : n.find(
|
|
3786
|
+
(B) => B.id === j
|
|
3787
|
+
);
|
|
3788
|
+
(u = S == null ? void 0 : S.onDrop) == null || u.call(S, q.id, j);
|
|
3789
|
+
}
|
|
3790
|
+
}))
|
|
3791
|
+
},
|
|
3792
|
+
b.id
|
|
3793
|
+
)) }),
|
|
3794
|
+
/* @__PURE__ */ e(Ta, { dropAnimation: { duration: 150, easing: "ease-out" }, children: z && G ? /* @__PURE__ */ e("div", { style: { transform: "rotate(2deg)", cursor: "grabbing" }, children: /* @__PURE__ */ e(dt, { ...G, isDragging: !0 }) }) : null })
|
|
3795
|
+
]
|
|
3796
|
+
}
|
|
3797
|
+
)
|
|
3798
|
+
) : (
|
|
3799
|
+
// No drag & drop
|
|
3800
|
+
/* @__PURE__ */ e("div", { className: L.folders, children: n.map((b) => /* @__PURE__ */ e(
|
|
3801
|
+
mt,
|
|
3802
|
+
{
|
|
3803
|
+
...b,
|
|
3804
|
+
agents: b.agents.map((q) => ({
|
|
3805
|
+
...q,
|
|
3806
|
+
availableFolders: n == null ? void 0 : n.filter((j) => j.id !== b.id).map((j) => ({ id: j.id, title: j.title })),
|
|
3807
|
+
onMoveToFolder: (j) => {
|
|
3808
|
+
var u;
|
|
3809
|
+
const S = n == null ? void 0 : n.find(
|
|
3810
|
+
(B) => B.id === j
|
|
3811
|
+
);
|
|
3812
|
+
(u = S == null ? void 0 : S.onDrop) == null || u.call(S, q.id, j);
|
|
3813
|
+
}
|
|
3814
|
+
}))
|
|
3815
|
+
},
|
|
3816
|
+
b.id
|
|
3817
|
+
)) })
|
|
3818
|
+
),
|
|
3819
|
+
i && i.length > 0 && /* @__PURE__ */ a("div", { className: L.looseAgentsSection, children: [
|
|
3820
|
+
/* @__PURE__ */ e(Xe, { label: "Sin carpeta", spacing: "lg" }),
|
|
3821
|
+
/* @__PURE__ */ e("div", { className: L.looseAgentsGrid, children: i.map((b) => /* @__PURE__ */ e(
|
|
3822
|
+
"div",
|
|
3823
|
+
{
|
|
3824
|
+
draggable: w && b.draggable,
|
|
3825
|
+
children: /* @__PURE__ */ e(
|
|
3826
|
+
dt,
|
|
3827
|
+
{
|
|
3828
|
+
...b,
|
|
3829
|
+
availableFolders: n == null ? void 0 : n.map((q) => ({
|
|
3830
|
+
id: q.id,
|
|
3831
|
+
title: q.title
|
|
3832
|
+
})),
|
|
3833
|
+
onMoveToFolder: (q) => {
|
|
3834
|
+
var S;
|
|
3835
|
+
const j = n == null ? void 0 : n.find(
|
|
3836
|
+
(u) => u.id === q
|
|
3837
|
+
);
|
|
3838
|
+
(S = j == null ? void 0 : j.onDrop) == null || S.call(j, b.id, q);
|
|
3839
|
+
}
|
|
3840
|
+
}
|
|
3841
|
+
)
|
|
3842
|
+
},
|
|
3843
|
+
b.id
|
|
3844
|
+
)) })
|
|
3845
|
+
] })
|
|
3846
|
+
] })
|
|
3847
|
+
] });
|
|
3848
|
+
};
|
|
3849
|
+
lm.displayName = "AgentWorkspace";
|
|
3850
|
+
const rm = "_pageTemplate_oiya4_3", dm = "_pageTemplateSidebarHeader_oiya4_10", _m = "_pageTemplateSidebarHeaderLogo_oiya4_18", mm = "_pageTemplateSidebarHeaderLogoText_oiya4_23", pm = "_sidebarCloseButton_oiya4_28", hm = "_sectionMain_oiya4_50", um = "_sectionMobileMenuButton_oiya4_57", gm = "_inputButton_oiya4_79", vm = "_pageTemplateUserButton_oiya4_97", Nm = "_pageTemplateUserButtonActive_oiya4_115", fm = "_pageTemplateUserAvatar_oiya4_119", ym = "_pageTemplateUserAvatarFallback_oiya4_127", bm = "_pageTemplateUserName_oiya4_139", km = "_pageTemplateUserMenu_oiya4_149", wm = "_pageTemplateMenuItem_oiya4_163", Im = "_pageTemplateMenuItemDanger_oiya4_183", $m = "_pageTemplateMenuOverlay_oiya4_191", xm = "_emptyState_oiya4_200", Cm = "_emptyStateIcon_oiya4_211", Sm = "_emptyStateTitle_oiya4_215", Pm = "_emptyStateText_oiya4_222", J = {
|
|
3851
|
+
pageTemplate: rm,
|
|
3852
|
+
pageTemplateSidebarHeader: dm,
|
|
3853
|
+
pageTemplateSidebarHeaderLogo: _m,
|
|
3854
|
+
pageTemplateSidebarHeaderLogoText: mm,
|
|
3855
|
+
sidebarCloseButton: pm,
|
|
3856
|
+
sectionMain: hm,
|
|
3857
|
+
sectionMobileMenuButton: um,
|
|
3858
|
+
inputButton: gm,
|
|
3859
|
+
pageTemplateUserButton: vm,
|
|
3860
|
+
pageTemplateUserButtonActive: Nm,
|
|
3861
|
+
pageTemplateUserAvatar: fm,
|
|
3862
|
+
pageTemplateUserAvatarFallback: ym,
|
|
3863
|
+
pageTemplateUserName: bm,
|
|
3864
|
+
pageTemplateUserMenu: km,
|
|
3865
|
+
pageTemplateMenuItem: wm,
|
|
3866
|
+
pageTemplateMenuItemDanger: Im,
|
|
3867
|
+
pageTemplateMenuOverlay: $m,
|
|
3868
|
+
emptyState: xm,
|
|
3869
|
+
emptyStateIcon: Cm,
|
|
3870
|
+
emptyStateTitle: Sm,
|
|
3871
|
+
emptyStateText: Pm
|
|
3872
|
+
};
|
|
3873
|
+
function Tm({ message: t }) {
|
|
3874
|
+
const { displayText: s, isComplete: n } = wt(t.content);
|
|
3875
|
+
return /* @__PURE__ */ e(
|
|
3876
|
+
ee.Message,
|
|
3877
|
+
{
|
|
3878
|
+
role: t.role,
|
|
3879
|
+
content: s,
|
|
3880
|
+
timestamp: t.timestamp,
|
|
3881
|
+
status: t.status,
|
|
3882
|
+
attachments: t.attachments,
|
|
3883
|
+
isStreaming: !n
|
|
3884
|
+
}
|
|
3885
|
+
);
|
|
3886
|
+
}
|
|
3887
|
+
const Bm = R(
|
|
3888
|
+
({
|
|
3889
|
+
// Sidebar props
|
|
3890
|
+
conversations: t = [],
|
|
3891
|
+
activeConversationId: s,
|
|
3892
|
+
onSelectConversation: n,
|
|
3893
|
+
onNewConversation: i,
|
|
3894
|
+
onDeleteConversation: _,
|
|
3895
|
+
// Chat props
|
|
3896
|
+
messages: o = [],
|
|
3897
|
+
onSendMessage: c,
|
|
3898
|
+
isTyping: h = !1,
|
|
3899
|
+
isLoading: m = !1,
|
|
3900
|
+
// Header props
|
|
3901
|
+
user: l,
|
|
3902
|
+
onLogout: d,
|
|
3903
|
+
// Customization
|
|
3904
|
+
logo: N,
|
|
3905
|
+
inputConfig: g,
|
|
3906
|
+
className: p,
|
|
3907
|
+
...r
|
|
3908
|
+
}, I) => {
|
|
3909
|
+
var w;
|
|
3910
|
+
const [$, k] = H(!1), [v, y] = H(!1), f = $e(
|
|
3911
|
+
(P, x) => {
|
|
3912
|
+
c == null || c(P, x);
|
|
3913
|
+
},
|
|
3914
|
+
[c]
|
|
3915
|
+
);
|
|
3916
|
+
return /* @__PURE__ */ a(
|
|
3917
|
+
"div",
|
|
3918
|
+
{
|
|
3919
|
+
ref: I,
|
|
3920
|
+
className: [J.pageTemplate, p].filter(Boolean).join(" "),
|
|
3921
|
+
...r,
|
|
3922
|
+
children: [
|
|
3923
|
+
/* @__PURE__ */ e(
|
|
3924
|
+
ee.Sidebar,
|
|
3925
|
+
{
|
|
3926
|
+
conversations: t,
|
|
3927
|
+
activeConversationId: s,
|
|
3928
|
+
onSelectConversation: n,
|
|
3929
|
+
onNewConversation: i,
|
|
3930
|
+
onDeleteConversation: _,
|
|
3931
|
+
collapsed: $,
|
|
3932
|
+
onCollapsedChange: k,
|
|
3933
|
+
header: /* @__PURE__ */ a("div", { className: J.pageTemplateSidebarHeader, children: [
|
|
3934
|
+
/* @__PURE__ */ e("div", { className: J.pageTemplateSidebarHeaderLogo, children: N || /* @__PURE__ */ e("span", { className: J.pageTemplateSidebarHeaderLogoText, children: "AI Chat" }) }),
|
|
3935
|
+
/* @__PURE__ */ e(
|
|
3936
|
+
"button",
|
|
3937
|
+
{
|
|
3938
|
+
className: [J.inputButton, J.sidebarCloseButton].join(
|
|
3939
|
+
" "
|
|
3940
|
+
),
|
|
3941
|
+
onClick: () => k(!0),
|
|
3942
|
+
"aria-label": "Close sidebar",
|
|
3943
|
+
children: /* @__PURE__ */ e(Je, { size: 20 })
|
|
3944
|
+
}
|
|
3945
|
+
)
|
|
3946
|
+
] }),
|
|
3947
|
+
footer: l && /* @__PURE__ */ a("div", { style: { position: "relative" }, children: [
|
|
3948
|
+
/* @__PURE__ */ a(
|
|
3949
|
+
"button",
|
|
3950
|
+
{
|
|
3951
|
+
className: [
|
|
3952
|
+
J.pageTemplateUserButton,
|
|
3953
|
+
v && J.pageTemplateUserButtonActive
|
|
3954
|
+
].filter(Boolean).join(" "),
|
|
3955
|
+
onClick: () => y(!v),
|
|
3956
|
+
"aria-expanded": v,
|
|
3957
|
+
"aria-haspopup": "menu",
|
|
3958
|
+
children: [
|
|
3959
|
+
l.avatar ? /* @__PURE__ */ e(
|
|
3960
|
+
"img",
|
|
3961
|
+
{
|
|
3962
|
+
src: l.avatar,
|
|
3963
|
+
alt: l.name,
|
|
3964
|
+
className: J.pageTemplateUserAvatar
|
|
3965
|
+
}
|
|
3966
|
+
) : /* @__PURE__ */ e("div", { className: J.pageTemplateUserAvatarFallback, children: /* @__PURE__ */ e($a, { size: 18 }) }),
|
|
3967
|
+
/* @__PURE__ */ e("span", { className: J.pageTemplateUserName, children: l.name })
|
|
3968
|
+
]
|
|
3969
|
+
}
|
|
3970
|
+
),
|
|
3971
|
+
v && /* @__PURE__ */ a("div", { className: J.pageTemplateUserMenu, role: "menu", children: [
|
|
3972
|
+
/* @__PURE__ */ a(
|
|
3973
|
+
"button",
|
|
3974
|
+
{
|
|
3975
|
+
className: J.pageTemplateMenuItem,
|
|
3976
|
+
onClick: () => {
|
|
3977
|
+
y(!1);
|
|
3978
|
+
},
|
|
3979
|
+
role: "menuitem",
|
|
3980
|
+
children: [
|
|
3981
|
+
/* @__PURE__ */ e(Me, { size: 16 }),
|
|
3982
|
+
"Settings"
|
|
3983
|
+
]
|
|
3984
|
+
}
|
|
3985
|
+
),
|
|
3986
|
+
d && /* @__PURE__ */ a(
|
|
3987
|
+
"button",
|
|
3988
|
+
{
|
|
3989
|
+
className: [
|
|
3990
|
+
J.pageTemplateMenuItem,
|
|
3991
|
+
J.pageTemplateMenuItemDanger
|
|
3992
|
+
].join(" "),
|
|
3993
|
+
onClick: () => {
|
|
3994
|
+
y(!1), d();
|
|
3995
|
+
},
|
|
3996
|
+
role: "menuitem",
|
|
3997
|
+
children: [
|
|
3998
|
+
/* @__PURE__ */ e(ht, { size: 16 }),
|
|
3999
|
+
"Sign out"
|
|
4000
|
+
]
|
|
4001
|
+
}
|
|
4002
|
+
)
|
|
4003
|
+
] })
|
|
4004
|
+
] })
|
|
4005
|
+
}
|
|
4006
|
+
),
|
|
4007
|
+
/* @__PURE__ */ e("div", { className: J.sectionMain, children: /* @__PURE__ */ a(ee, { children: [
|
|
4008
|
+
/* @__PURE__ */ e(
|
|
4009
|
+
ee.Header,
|
|
4010
|
+
{
|
|
4011
|
+
title: ((w = t == null ? void 0 : t.find((P) => P.id === s)) == null ? void 0 : w.title) || "New Chat",
|
|
4012
|
+
actions: /* @__PURE__ */ e(
|
|
4013
|
+
"button",
|
|
4014
|
+
{
|
|
4015
|
+
className: [
|
|
4016
|
+
J.inputButton,
|
|
4017
|
+
J.sectionMobileMenuButton
|
|
4018
|
+
].join(" "),
|
|
4019
|
+
onClick: () => k(!1),
|
|
4020
|
+
"aria-label": "Open sidebar",
|
|
4021
|
+
children: /* @__PURE__ */ e(Je, { size: 20 })
|
|
4022
|
+
}
|
|
4023
|
+
)
|
|
4024
|
+
}
|
|
4025
|
+
),
|
|
4026
|
+
/* @__PURE__ */ a(ee.Messages, { children: [
|
|
4027
|
+
o.length === 0 ? /* @__PURE__ */ a("div", { className: J.emptyState, children: [
|
|
4028
|
+
/* @__PURE__ */ e("div", { className: J.emptyStateIcon, children: /* @__PURE__ */ e(ee.Markdown, { content: "✨" }) }),
|
|
4029
|
+
/* @__PURE__ */ a("div", { children: [
|
|
4030
|
+
/* @__PURE__ */ e("h3", { className: J.emptyStateTitle, children: "How can I help you today?" }),
|
|
4031
|
+
/* @__PURE__ */ e("p", { className: J.emptyStateText, children: "Start a conversation by typing a message below." })
|
|
4032
|
+
] })
|
|
4033
|
+
] }) : o.map(
|
|
4034
|
+
(P) => P.isStreaming ? /* @__PURE__ */ e(Tm, { message: P }, P.id) : /* @__PURE__ */ e(
|
|
4035
|
+
ee.Message,
|
|
4036
|
+
{
|
|
4037
|
+
role: P.role,
|
|
4038
|
+
content: P.content,
|
|
4039
|
+
timestamp: P.timestamp,
|
|
4040
|
+
status: P.status,
|
|
4041
|
+
attachments: P.attachments
|
|
4042
|
+
},
|
|
4043
|
+
P.id
|
|
4044
|
+
)
|
|
4045
|
+
),
|
|
4046
|
+
h && /* @__PURE__ */ e(ee.TypingIndicator, {})
|
|
4047
|
+
] }),
|
|
4048
|
+
/* @__PURE__ */ e(
|
|
4049
|
+
ee.Input,
|
|
4050
|
+
{
|
|
4051
|
+
onSend: f,
|
|
4052
|
+
placeholder: (g == null ? void 0 : g.placeholder) || "Message AI...",
|
|
4053
|
+
allowAttachments: (g == null ? void 0 : g.allowAttachments) ?? !0,
|
|
4054
|
+
allowVoiceRecording: (g == null ? void 0 : g.allowVoiceRecording) ?? !0,
|
|
4055
|
+
maxLength: g == null ? void 0 : g.maxLength,
|
|
4056
|
+
isLoading: m
|
|
4057
|
+
}
|
|
4058
|
+
)
|
|
4059
|
+
] }) }),
|
|
4060
|
+
v && /* @__PURE__ */ e(
|
|
4061
|
+
"div",
|
|
4062
|
+
{
|
|
4063
|
+
className: J.pageTemplateMenuOverlay,
|
|
4064
|
+
onClick: () => y(!1),
|
|
4065
|
+
"aria-hidden": "true"
|
|
4066
|
+
}
|
|
4067
|
+
)
|
|
4068
|
+
]
|
|
4069
|
+
}
|
|
4070
|
+
);
|
|
4071
|
+
}
|
|
4072
|
+
);
|
|
4073
|
+
Bm.displayName = "ChatPageTemplate";
|
|
4074
|
+
const Lm = "_dashboard_dj69k_8", jm = "_main_dj69k_16", zm = "_content_dj69k_26", Am = "_contentInner_dj69k_35", qm = "_contentSplit_dj69k_42", Mm = "_compact_dj69k_51", Em = "_aside_dj69k_64", We = {
|
|
4075
|
+
dashboard: Lm,
|
|
4076
|
+
main: jm,
|
|
4077
|
+
content: zm,
|
|
4078
|
+
contentInner: Am,
|
|
4079
|
+
contentSplit: qm,
|
|
4080
|
+
compact: Mm,
|
|
4081
|
+
aside: Em
|
|
4082
|
+
}, Wm = R(
|
|
4083
|
+
({
|
|
4084
|
+
sidebar: t,
|
|
4085
|
+
pageHeader: s,
|
|
4086
|
+
metrics: n,
|
|
4087
|
+
dataTable: i,
|
|
4088
|
+
activityFeed: _,
|
|
4089
|
+
layout: o = "default",
|
|
4090
|
+
children: c,
|
|
4091
|
+
className: h,
|
|
4092
|
+
...m
|
|
4093
|
+
}, l) => {
|
|
4094
|
+
const d = [
|
|
4095
|
+
We.dashboard,
|
|
4096
|
+
o === "compact" && We.compact,
|
|
4097
|
+
h
|
|
4098
|
+
].filter(Boolean).join(" "), N = o === "split" ? We.contentSplit : We.content;
|
|
4099
|
+
return /* @__PURE__ */ a("div", { ref: l, className: d, ...m, children: [
|
|
4100
|
+
t && /* @__PURE__ */ e(pt, { variant: "floating", ...t }),
|
|
4101
|
+
/* @__PURE__ */ a("main", { className: We.main, children: [
|
|
4102
|
+
/* @__PURE__ */ e(Ue, { variant: "transparent", ...s }),
|
|
4103
|
+
/* @__PURE__ */ a("div", { className: N, children: [
|
|
4104
|
+
/* @__PURE__ */ a("div", { className: We.contentInner, children: [
|
|
4105
|
+
n && /* @__PURE__ */ e(aa, { ...n }),
|
|
4106
|
+
i && /* @__PURE__ */ e(na, { ...i }),
|
|
4107
|
+
c
|
|
4108
|
+
] }),
|
|
4109
|
+
o === "split" && _ && /* @__PURE__ */ e("aside", { className: We.aside, children: /* @__PURE__ */ e(xt, { ..._ }) })
|
|
4110
|
+
] })
|
|
4111
|
+
] })
|
|
4112
|
+
] });
|
|
4113
|
+
}
|
|
4114
|
+
);
|
|
4115
|
+
Wm.displayName = "DashboardTemplate";
|
|
4116
|
+
const Hm = "_kanbanPage_ni90q_8", Dm = "_main_ni90q_16", Rm = "_content_ni90q_26", Om = "_filterSection_ni90q_40", Fm = "_boardSection_ni90q_52", Oe = {
|
|
4117
|
+
kanbanPage: Hm,
|
|
4118
|
+
main: Dm,
|
|
4119
|
+
content: Rm,
|
|
4120
|
+
filterSection: Om,
|
|
4121
|
+
boardSection: Fm
|
|
4122
|
+
}, Gm = R(
|
|
4123
|
+
({ sidebar: t, pageHeader: s, filterBar: n, kanban: i, children: _, className: o, ...c }, h) => {
|
|
4124
|
+
const m = [Oe.kanbanPage, o].filter(Boolean).join(" ");
|
|
4125
|
+
return /* @__PURE__ */ a("div", { ref: h, className: m, ...c, children: [
|
|
4126
|
+
t && /* @__PURE__ */ e(pt, { variant: "floating", ...t }),
|
|
4127
|
+
/* @__PURE__ */ a("main", { className: Oe.main, children: [
|
|
4128
|
+
/* @__PURE__ */ e(Ue, { variant: "transparent", ...s }),
|
|
4129
|
+
/* @__PURE__ */ a("div", { className: Oe.content, children: [
|
|
4130
|
+
n && /* @__PURE__ */ e("div", { className: Oe.filterSection, children: /* @__PURE__ */ e(sa, { ...n }) }),
|
|
4131
|
+
_,
|
|
4132
|
+
/* @__PURE__ */ e("div", { className: Oe.boardSection, children: /* @__PURE__ */ e(ia, { ...i }) })
|
|
4133
|
+
] })
|
|
4134
|
+
] })
|
|
4135
|
+
] });
|
|
4136
|
+
}
|
|
4137
|
+
);
|
|
4138
|
+
Gm.displayName = "KanbanPageTemplate";
|
|
4139
|
+
const Um = "_login_1x6m4_12", Vm = "_formPanel_1x6m4_27", Qm = "_formContainer_1x6m4_36", Km = "_header_1x6m4_48", Ym = "_logo_1x6m4_54", Xm = "_titleGroup_1x6m4_59", Jm = "_title_1x6m4_59", Zm = "_subtitle_1x6m4_75", ep = "_form_1x6m4_27", tp = "_fields_1x6m4_93", ap = "_formOptions_1x6m4_99", np = "_error_1x6m4_106", sp = "_socialSection_1x6m4_119", ip = "_socialButtons_1x6m4_125", cp = "_socialButton_1x6m4_125", op = "_socialIcon_1x6m4_157", lp = "_signUpPrompt_1x6m4_169", rp = "_footer_1x6m4_179", dp = "_editorialPanel_1x6m4_193", _p = "_editorialContent_1x6m4_220", mp = "_editorialHeadline_1x6m4_229", pp = "_editorialDescription_1x6m4_243", hp = "_testimonial_1x6m4_256", up = "_quote_1x6m4_271", gp = "_author_1x6m4_284", vp = "_authorAvatar_1x6m4_290", Np = "_authorInfo_1x6m4_304", fp = "_authorName_1x6m4_310", yp = "_authorRole_1x6m4_322", E = {
|
|
4140
|
+
login: Um,
|
|
4141
|
+
formPanel: Vm,
|
|
4142
|
+
formContainer: Qm,
|
|
4143
|
+
header: Km,
|
|
4144
|
+
logo: Ym,
|
|
4145
|
+
titleGroup: Xm,
|
|
4146
|
+
title: Jm,
|
|
4147
|
+
subtitle: Zm,
|
|
4148
|
+
form: ep,
|
|
4149
|
+
fields: tp,
|
|
4150
|
+
formOptions: ap,
|
|
4151
|
+
error: np,
|
|
4152
|
+
socialSection: sp,
|
|
4153
|
+
socialButtons: ip,
|
|
4154
|
+
socialButton: cp,
|
|
4155
|
+
socialIcon: op,
|
|
4156
|
+
signUpPrompt: lp,
|
|
4157
|
+
footer: rp,
|
|
4158
|
+
editorialPanel: dp,
|
|
4159
|
+
editorialContent: _p,
|
|
4160
|
+
editorialHeadline: mp,
|
|
4161
|
+
editorialDescription: pp,
|
|
4162
|
+
testimonial: hp,
|
|
4163
|
+
quote: up,
|
|
4164
|
+
author: gp,
|
|
4165
|
+
authorAvatar: vp,
|
|
4166
|
+
authorInfo: Np,
|
|
4167
|
+
authorName: fp,
|
|
4168
|
+
authorRole: yp
|
|
4169
|
+
}, bp = R(
|
|
4170
|
+
({
|
|
4171
|
+
logo: t,
|
|
4172
|
+
title: s = "Welcome back",
|
|
4173
|
+
subtitle: n = "Sign in to your account",
|
|
4174
|
+
formConfig: i = {},
|
|
4175
|
+
socialProviders: _ = [],
|
|
4176
|
+
socialLabel: o = "Or continue with",
|
|
4177
|
+
showSignUp: c = !0,
|
|
4178
|
+
signUpPrompt: h = "Don't have an account?",
|
|
4179
|
+
signUpLabel: m = "Sign up",
|
|
4180
|
+
signUpHref: l = "/signup",
|
|
4181
|
+
editorial: d,
|
|
4182
|
+
onSubmit: N,
|
|
4183
|
+
isLoading: g = !1,
|
|
4184
|
+
error: p,
|
|
4185
|
+
footer: r,
|
|
4186
|
+
className: I,
|
|
4187
|
+
...$
|
|
4188
|
+
}, k) => {
|
|
4189
|
+
const [v, y] = H(""), [f, w] = H(""), [P, x] = H(!1), {
|
|
4190
|
+
emailLabel: M = "Email",
|
|
4191
|
+
emailPlaceholder: C = "you@example.com",
|
|
4192
|
+
passwordLabel: z = "Password",
|
|
4193
|
+
passwordPlaceholder: Ne = "Enter your password",
|
|
4194
|
+
submitLabel: ae = "Sign in",
|
|
4195
|
+
showRememberMe: ue = !0,
|
|
4196
|
+
rememberMeLabel: fe = "Remember me",
|
|
4197
|
+
showForgotPassword: O = !0,
|
|
4198
|
+
forgotPasswordLabel: Te = "Forgot password?",
|
|
4199
|
+
forgotPasswordHref: Be = "/forgot-password"
|
|
4200
|
+
} = i, Ae = (G) => {
|
|
4201
|
+
G.preventDefault(), N == null || N({ email: v, password: f, rememberMe: P });
|
|
4202
|
+
}, D = _.length > 0, F = !!d;
|
|
4203
|
+
return /* @__PURE__ */ a(
|
|
4204
|
+
"div",
|
|
4205
|
+
{
|
|
4206
|
+
ref: k,
|
|
4207
|
+
className: `${E.login} ${I || ""}`,
|
|
4208
|
+
"data-single-column": !F,
|
|
4209
|
+
...$,
|
|
4210
|
+
children: [
|
|
4211
|
+
/* @__PURE__ */ e("div", { className: E.formPanel, children: /* @__PURE__ */ a("div", { className: E.formContainer, children: [
|
|
4212
|
+
/* @__PURE__ */ a("header", { className: E.header, children: [
|
|
4213
|
+
t && /* @__PURE__ */ e("div", { className: E.logo, children: t }),
|
|
4214
|
+
/* @__PURE__ */ a("div", { className: E.titleGroup, children: [
|
|
4215
|
+
/* @__PURE__ */ e("h1", { className: E.title, children: s }),
|
|
4216
|
+
n && /* @__PURE__ */ e("p", { className: E.subtitle, children: n })
|
|
4217
|
+
] })
|
|
4218
|
+
] }),
|
|
4219
|
+
D && /* @__PURE__ */ a("div", { className: E.socialSection, children: [
|
|
4220
|
+
/* @__PURE__ */ e("div", { className: E.socialButtons, children: _.map((G, xe) => {
|
|
4221
|
+
const we = G.href ? "a" : "button";
|
|
4222
|
+
return /* @__PURE__ */ a(
|
|
4223
|
+
we,
|
|
4224
|
+
{
|
|
4225
|
+
className: E.socialButton,
|
|
4226
|
+
onClick: G.onClick,
|
|
4227
|
+
href: G.href,
|
|
4228
|
+
type: G.href ? void 0 : "button",
|
|
4229
|
+
children: [
|
|
4230
|
+
/* @__PURE__ */ e("span", { className: E.socialIcon, children: G.icon }),
|
|
4231
|
+
/* @__PURE__ */ a("span", { children: [
|
|
4232
|
+
"Continue with ",
|
|
4233
|
+
G.name
|
|
4234
|
+
] })
|
|
4235
|
+
]
|
|
4236
|
+
},
|
|
4237
|
+
xe
|
|
4238
|
+
);
|
|
4239
|
+
}) }),
|
|
4240
|
+
/* @__PURE__ */ e(Xe, { label: o })
|
|
4241
|
+
] }),
|
|
4242
|
+
p && /* @__PURE__ */ e("div", { className: E.error, children: p }),
|
|
4243
|
+
/* @__PURE__ */ a("form", { className: E.form, onSubmit: Ae, children: [
|
|
4244
|
+
/* @__PURE__ */ a("div", { className: E.fields, children: [
|
|
4245
|
+
/* @__PURE__ */ e(
|
|
4246
|
+
Ye,
|
|
4247
|
+
{
|
|
4248
|
+
label: M,
|
|
4249
|
+
type: "email",
|
|
4250
|
+
placeholder: C,
|
|
4251
|
+
value: v,
|
|
4252
|
+
onChange: (G) => y(G.target.value),
|
|
4253
|
+
required: !0,
|
|
4254
|
+
fullWidth: !0,
|
|
4255
|
+
disabled: g,
|
|
4256
|
+
autoComplete: "email"
|
|
4257
|
+
}
|
|
4258
|
+
),
|
|
4259
|
+
/* @__PURE__ */ e(
|
|
4260
|
+
Ye,
|
|
4261
|
+
{
|
|
4262
|
+
label: z,
|
|
4263
|
+
type: "password",
|
|
4264
|
+
placeholder: Ne,
|
|
4265
|
+
value: f,
|
|
4266
|
+
onChange: (G) => w(G.target.value),
|
|
4267
|
+
required: !0,
|
|
4268
|
+
fullWidth: !0,
|
|
4269
|
+
disabled: g,
|
|
4270
|
+
autoComplete: "current-password"
|
|
4271
|
+
}
|
|
4272
|
+
)
|
|
4273
|
+
] }),
|
|
4274
|
+
(ue || O) && /* @__PURE__ */ a("div", { className: E.formOptions, children: [
|
|
4275
|
+
ue && /* @__PURE__ */ e(
|
|
4276
|
+
ca,
|
|
4277
|
+
{
|
|
4278
|
+
label: fe,
|
|
4279
|
+
checked: P,
|
|
4280
|
+
onChange: (G) => x(G.target.checked),
|
|
4281
|
+
disabled: g
|
|
4282
|
+
}
|
|
4283
|
+
),
|
|
4284
|
+
O && /* @__PURE__ */ e(ft, { href: Be, variant: "brand", size: "sm", children: Te })
|
|
4285
|
+
] }),
|
|
4286
|
+
/* @__PURE__ */ e(
|
|
4287
|
+
_e,
|
|
4288
|
+
{
|
|
4289
|
+
type: "submit",
|
|
4290
|
+
variant: "primary",
|
|
4291
|
+
fullWidth: !0,
|
|
4292
|
+
isLoading: g,
|
|
4293
|
+
children: ae
|
|
4294
|
+
}
|
|
4295
|
+
)
|
|
4296
|
+
] }),
|
|
4297
|
+
c && /* @__PURE__ */ a("div", { className: E.signUpPrompt, children: [
|
|
4298
|
+
/* @__PURE__ */ e("span", { children: h }),
|
|
4299
|
+
/* @__PURE__ */ e(ft, { href: l, variant: "brand", children: m })
|
|
4300
|
+
] }),
|
|
4301
|
+
r && /* @__PURE__ */ e("div", { className: E.footer, children: r })
|
|
4302
|
+
] }) }),
|
|
4303
|
+
F && /* @__PURE__ */ e(
|
|
4304
|
+
"div",
|
|
4305
|
+
{
|
|
4306
|
+
className: E.editorialPanel,
|
|
4307
|
+
"data-has-image": !!d.backgroundImage,
|
|
4308
|
+
style: d.backgroundImage ? { backgroundImage: `url(${d.backgroundImage})` } : void 0,
|
|
4309
|
+
children: d.children ? d.children : /* @__PURE__ */ a("div", { className: E.editorialContent, children: [
|
|
4310
|
+
d.headline && /* @__PURE__ */ e("h2", { className: E.editorialHeadline, children: d.headline }),
|
|
4311
|
+
d.description && /* @__PURE__ */ e("p", { className: E.editorialDescription, children: d.description }),
|
|
4312
|
+
d.quote && /* @__PURE__ */ a("div", { className: E.testimonial, children: [
|
|
4313
|
+
/* @__PURE__ */ a("p", { className: E.quote, children: [
|
|
4314
|
+
'"',
|
|
4315
|
+
d.quote,
|
|
4316
|
+
'"'
|
|
4317
|
+
] }),
|
|
4318
|
+
(d.author || d.authorRole) && /* @__PURE__ */ a("div", { className: E.author, children: [
|
|
4319
|
+
d.authorAvatar && /* @__PURE__ */ e("div", { className: E.authorAvatar, children: d.authorAvatar }),
|
|
4320
|
+
/* @__PURE__ */ a("div", { className: E.authorInfo, children: [
|
|
4321
|
+
d.author && /* @__PURE__ */ e("p", { className: E.authorName, children: d.author }),
|
|
4322
|
+
d.authorRole && /* @__PURE__ */ e("p", { className: E.authorRole, children: d.authorRole })
|
|
4323
|
+
] })
|
|
4324
|
+
] })
|
|
4325
|
+
] })
|
|
4326
|
+
] })
|
|
4327
|
+
}
|
|
4328
|
+
)
|
|
4329
|
+
]
|
|
4330
|
+
}
|
|
4331
|
+
);
|
|
4332
|
+
}
|
|
4333
|
+
);
|
|
4334
|
+
bp.displayName = "LoginTemplate";
|
|
4335
|
+
const kp = "_profilePage_14uku_8", wp = "_main_14uku_16", Ip = "_content_14uku_26", $p = "_contentNoAside_14uku_34", xp = "_profileHeader_14uku_42", Cp = "_profileAvatar_14uku_70", Sp = "_profileInfo_14uku_92", Pp = "_profileName_14uku_100", Tp = "_profileRole_14uku_116", Bp = "_profileMeta_14uku_134", Lp = "_profileMetaItem_14uku_141", jp = "_profileActions_14uku_156", zp = "_mainContent_14uku_167", Ap = "_aside_14uku_177", be = {
|
|
4336
|
+
profilePage: kp,
|
|
4337
|
+
main: wp,
|
|
4338
|
+
content: Ip,
|
|
4339
|
+
contentNoAside: $p,
|
|
4340
|
+
profileHeader: xp,
|
|
4341
|
+
profileAvatar: Cp,
|
|
4342
|
+
profileInfo: Sp,
|
|
4343
|
+
profileName: Pp,
|
|
4344
|
+
profileRole: Tp,
|
|
4345
|
+
profileMeta: Bp,
|
|
4346
|
+
profileMetaItem: Lp,
|
|
4347
|
+
profileActions: jp,
|
|
4348
|
+
mainContent: zp,
|
|
4349
|
+
aside: Ap
|
|
4350
|
+
}, qp = R(
|
|
4351
|
+
({
|
|
4352
|
+
sidebar: t,
|
|
4353
|
+
pageHeader: s,
|
|
4354
|
+
profile: n,
|
|
4355
|
+
children: i,
|
|
4356
|
+
activityFeed: _,
|
|
4357
|
+
detailPanel: o,
|
|
4358
|
+
showActivity: c = !0,
|
|
4359
|
+
className: h,
|
|
4360
|
+
...m
|
|
4361
|
+
}, l) => {
|
|
4362
|
+
const d = [be.profilePage, h].filter(Boolean).join(" "), N = [
|
|
4363
|
+
be.content,
|
|
4364
|
+
!(c && _) && be.contentNoAside
|
|
4365
|
+
].filter(Boolean).join(" ");
|
|
4366
|
+
return /* @__PURE__ */ a("div", { ref: l, className: d, ...m, children: [
|
|
4367
|
+
t && /* @__PURE__ */ e(pt, { variant: "floating", ...t }),
|
|
4368
|
+
/* @__PURE__ */ a("main", { className: be.main, children: [
|
|
4369
|
+
s && /* @__PURE__ */ e(Ue, { variant: "transparent", ...s }),
|
|
4370
|
+
/* @__PURE__ */ a("div", { className: N, children: [
|
|
4371
|
+
/* @__PURE__ */ a("div", { className: be.mainContent, children: [
|
|
4372
|
+
/* @__PURE__ */ a("div", { className: be.profileHeader, children: [
|
|
4373
|
+
n.avatar && /* @__PURE__ */ e("div", { className: be.profileAvatar, children: n.avatar }),
|
|
4374
|
+
/* @__PURE__ */ a("div", { className: be.profileInfo, children: [
|
|
4375
|
+
/* @__PURE__ */ e("h1", { className: be.profileName, children: n.name }),
|
|
4376
|
+
n.role && /* @__PURE__ */ e("p", { className: be.profileRole, children: n.role }),
|
|
4377
|
+
n.metadata && n.metadata.length > 0 && /* @__PURE__ */ e("div", { className: be.profileMeta, children: n.metadata.map((g, p) => /* @__PURE__ */ a("div", { className: be.profileMetaItem, children: [
|
|
4378
|
+
g.icon,
|
|
4379
|
+
/* @__PURE__ */ e("span", { children: g.value })
|
|
4380
|
+
] }, p)) })
|
|
4381
|
+
] }),
|
|
4382
|
+
n.actions && /* @__PURE__ */ e("div", { className: be.profileActions, children: n.actions })
|
|
4383
|
+
] }),
|
|
4384
|
+
i
|
|
4385
|
+
] }),
|
|
4386
|
+
c && _ && /* @__PURE__ */ e("aside", { className: be.aside, children: /* @__PURE__ */ e(xt, { ..._ }) })
|
|
4387
|
+
] })
|
|
4388
|
+
] }),
|
|
4389
|
+
o && /* @__PURE__ */ e(oa, { ...o })
|
|
4390
|
+
] });
|
|
4391
|
+
}
|
|
4392
|
+
);
|
|
4393
|
+
qp.displayName = "ProfilePageTemplate";
|
|
4394
|
+
const Mp = "_settings_hdebh_8", Ep = {
|
|
4395
|
+
settings: Mp
|
|
4396
|
+
}, Wp = R(
|
|
4397
|
+
({
|
|
4398
|
+
title: t = "Settings",
|
|
4399
|
+
description: s,
|
|
4400
|
+
navigation: n,
|
|
4401
|
+
sections: i,
|
|
4402
|
+
defaultSection: _,
|
|
4403
|
+
activeSection: o,
|
|
4404
|
+
onSectionChange: c,
|
|
4405
|
+
headerActions: h,
|
|
4406
|
+
className: m,
|
|
4407
|
+
...l
|
|
4408
|
+
}, d) => {
|
|
4409
|
+
var k;
|
|
4410
|
+
const [N, g] = H(
|
|
4411
|
+
_ || ((k = i[0]) == null ? void 0 : k.id) || ""
|
|
4412
|
+
), p = o ?? N, r = (v) => {
|
|
4413
|
+
o || g(v), c == null || c(v);
|
|
4414
|
+
}, I = Ee(() => {
|
|
4415
|
+
const v = i.find((y) => y.id === p);
|
|
4416
|
+
return (v == null ? void 0 : v.content) ?? null;
|
|
4417
|
+
}, [i, p]), $ = [Ep.settings, m].filter(Boolean).join(" ");
|
|
4418
|
+
return /* @__PURE__ */ e("div", { ref: d, className: $, ...l, children: /* @__PURE__ */ e(
|
|
4419
|
+
Kt,
|
|
4420
|
+
{
|
|
4421
|
+
title: t,
|
|
4422
|
+
description: s,
|
|
4423
|
+
navigation: n,
|
|
4424
|
+
activeSection: p,
|
|
4425
|
+
onNavigate: r,
|
|
4426
|
+
headerActions: h,
|
|
4427
|
+
children: I
|
|
4428
|
+
}
|
|
4429
|
+
) });
|
|
4430
|
+
}
|
|
4431
|
+
);
|
|
4432
|
+
Wp.displayName = "SettingsTemplate";
|
|
4433
|
+
const Hp = R(
|
|
4434
|
+
({
|
|
4435
|
+
navbar: t,
|
|
4436
|
+
hero: s,
|
|
4437
|
+
featuredCarousel: n,
|
|
4438
|
+
logoCloud: i,
|
|
4439
|
+
features: _,
|
|
4440
|
+
stats: o,
|
|
4441
|
+
productCarousel: c,
|
|
4442
|
+
pricing: h,
|
|
4443
|
+
testimonials: m,
|
|
4444
|
+
faq: l,
|
|
4445
|
+
cta: d,
|
|
4446
|
+
footer: N,
|
|
4447
|
+
children: g,
|
|
4448
|
+
...p
|
|
4449
|
+
}, r) => /* @__PURE__ */ a("div", { ref: r, ...p, children: [
|
|
4450
|
+
t && /* @__PURE__ */ e(et, { ...t }),
|
|
4451
|
+
/* @__PURE__ */ e(Ve, { ...s }),
|
|
4452
|
+
n && /* @__PURE__ */ e(
|
|
4453
|
+
He,
|
|
4454
|
+
{
|
|
4455
|
+
variant: "editorial",
|
|
4456
|
+
aspectRatio: "16/9",
|
|
4457
|
+
peek: !0,
|
|
4458
|
+
showNavigation: !0,
|
|
4459
|
+
...n
|
|
4460
|
+
}
|
|
4461
|
+
),
|
|
4462
|
+
i && /* @__PURE__ */ e(Ut, { ...i }),
|
|
4463
|
+
_ && /* @__PURE__ */ e(Mt, { ..._ }),
|
|
4464
|
+
o && /* @__PURE__ */ e(gt, { ...o }),
|
|
4465
|
+
c && /* @__PURE__ */ e(
|
|
4466
|
+
He,
|
|
4467
|
+
{
|
|
4468
|
+
variant: "editorial",
|
|
4469
|
+
aspectRatio: "4/3",
|
|
4470
|
+
peek: !0,
|
|
4471
|
+
gap: "md",
|
|
4472
|
+
...c
|
|
4473
|
+
}
|
|
4474
|
+
),
|
|
4475
|
+
h && /* @__PURE__ */ e(ut, { ...h }),
|
|
4476
|
+
m && /* @__PURE__ */ e(Ht, { ...m }),
|
|
4477
|
+
l && /* @__PURE__ */ e(at, { ...l }),
|
|
4478
|
+
d && /* @__PURE__ */ e(tt, { ...d }),
|
|
4479
|
+
g,
|
|
4480
|
+
N && /* @__PURE__ */ e(Qe, { ...N })
|
|
4481
|
+
] })
|
|
4482
|
+
);
|
|
4483
|
+
Hp.displayName = "LandingPageTemplate";
|
|
4484
|
+
const Dp = R(
|
|
4485
|
+
({
|
|
4486
|
+
navbar: t,
|
|
4487
|
+
hero: s,
|
|
4488
|
+
featuresCarousel: n,
|
|
4489
|
+
pricing: i,
|
|
4490
|
+
comparison: _,
|
|
4491
|
+
faq: o,
|
|
4492
|
+
cta: c,
|
|
4493
|
+
footer: h,
|
|
4494
|
+
children: m,
|
|
4495
|
+
...l
|
|
4496
|
+
}, d) => /* @__PURE__ */ a("div", { ref: d, ...l, children: [
|
|
4497
|
+
t && /* @__PURE__ */ e(et, { ...t }),
|
|
4498
|
+
/* @__PURE__ */ e(Ve, { ...s }),
|
|
4499
|
+
n && /* @__PURE__ */ e(
|
|
4500
|
+
He,
|
|
4501
|
+
{
|
|
4502
|
+
variant: "product",
|
|
4503
|
+
aspectRatio: "4/3",
|
|
4504
|
+
peek: !0,
|
|
4505
|
+
gap: "md",
|
|
4506
|
+
...n
|
|
4507
|
+
}
|
|
4508
|
+
),
|
|
4509
|
+
/* @__PURE__ */ e(ut, { ...i }),
|
|
4510
|
+
_ && /* @__PURE__ */ e(Qt, { ..._ }),
|
|
4511
|
+
o && /* @__PURE__ */ e(at, { ...o }),
|
|
4512
|
+
c && /* @__PURE__ */ e(tt, { ...c }),
|
|
4513
|
+
m,
|
|
4514
|
+
h && /* @__PURE__ */ e(Qe, { ...h })
|
|
4515
|
+
] })
|
|
4516
|
+
);
|
|
4517
|
+
Dp.displayName = "PricingPageTemplate";
|
|
4518
|
+
const Rp = R(
|
|
4519
|
+
({
|
|
4520
|
+
navbar: t,
|
|
4521
|
+
hero: s,
|
|
4522
|
+
storyCarousel: n,
|
|
4523
|
+
stats: i,
|
|
4524
|
+
timeline: _,
|
|
4525
|
+
galleryCarousel: o,
|
|
4526
|
+
team: c,
|
|
4527
|
+
cta: h,
|
|
4528
|
+
footer: m,
|
|
4529
|
+
children: l,
|
|
4530
|
+
...d
|
|
4531
|
+
}, N) => /* @__PURE__ */ a("div", { ref: N, ...d, children: [
|
|
4532
|
+
t && /* @__PURE__ */ e(et, { ...t }),
|
|
4533
|
+
/* @__PURE__ */ e(Ve, { ...s }),
|
|
4534
|
+
n && /* @__PURE__ */ e(
|
|
4535
|
+
He,
|
|
4536
|
+
{
|
|
4537
|
+
variant: "editorial",
|
|
4538
|
+
aspectRatio: "16/9",
|
|
4539
|
+
peek: !0,
|
|
4540
|
+
showNavigation: !0,
|
|
4541
|
+
...n
|
|
4542
|
+
}
|
|
4543
|
+
),
|
|
4544
|
+
i && /* @__PURE__ */ e(gt, { ...i }),
|
|
4545
|
+
_ && /* @__PURE__ */ e(Vt, { ..._ }),
|
|
4546
|
+
o && /* @__PURE__ */ e(
|
|
4547
|
+
He,
|
|
4548
|
+
{
|
|
4549
|
+
variant: "gallery",
|
|
4550
|
+
aspectRatio: "4/3",
|
|
4551
|
+
peek: !0,
|
|
4552
|
+
gap: "md",
|
|
4553
|
+
...o
|
|
4554
|
+
}
|
|
4555
|
+
),
|
|
4556
|
+
c && /* @__PURE__ */ e(Ft, { ...c }),
|
|
4557
|
+
h && /* @__PURE__ */ e(tt, { ...h }),
|
|
4558
|
+
l,
|
|
4559
|
+
m && /* @__PURE__ */ e(Qe, { ...m })
|
|
4560
|
+
] })
|
|
4561
|
+
);
|
|
4562
|
+
Rp.displayName = "AboutPageTemplate";
|
|
4563
|
+
const Op = R(
|
|
4564
|
+
({
|
|
4565
|
+
navbar: t,
|
|
4566
|
+
hero: s,
|
|
4567
|
+
locationsCarousel: n,
|
|
4568
|
+
contact: i,
|
|
4569
|
+
faq: _,
|
|
4570
|
+
footer: o,
|
|
4571
|
+
children: c,
|
|
4572
|
+
...h
|
|
4573
|
+
}, m) => /* @__PURE__ */ a("div", { ref: m, ...h, children: [
|
|
4574
|
+
t && /* @__PURE__ */ e(et, { ...t }),
|
|
4575
|
+
/* @__PURE__ */ e(Ve, { ...s }),
|
|
4576
|
+
n && /* @__PURE__ */ e(
|
|
4577
|
+
He,
|
|
4578
|
+
{
|
|
4579
|
+
variant: "gallery",
|
|
4580
|
+
aspectRatio: "4/3",
|
|
4581
|
+
peek: !0,
|
|
4582
|
+
gap: "md",
|
|
4583
|
+
...n
|
|
4584
|
+
}
|
|
4585
|
+
),
|
|
4586
|
+
/* @__PURE__ */ e(Gt, { ...i }),
|
|
4587
|
+
_ && /* @__PURE__ */ e(at, { ..._ }),
|
|
4588
|
+
c,
|
|
4589
|
+
o && /* @__PURE__ */ e(Qe, { ...o })
|
|
4590
|
+
] })
|
|
4591
|
+
);
|
|
4592
|
+
Op.displayName = "ContactPageTemplate";
|
|
4593
|
+
export {
|
|
4594
|
+
Rp as AboutPageTemplate,
|
|
4595
|
+
P_ as AgentEditor,
|
|
4596
|
+
mt as AgentFolder,
|
|
4597
|
+
lm as AgentWorkspace,
|
|
4598
|
+
Nr as AppDownload,
|
|
4599
|
+
Xc as Blog,
|
|
4600
|
+
qd as Breadcrumbs,
|
|
4601
|
+
tt as CTA,
|
|
4602
|
+
Jp as CarouselCard,
|
|
4603
|
+
He as CarouselSection,
|
|
4604
|
+
Bm as ChatPageTemplate,
|
|
4605
|
+
Sr as ChatSection,
|
|
4606
|
+
Qt as Comparison,
|
|
4607
|
+
Gt as Contact,
|
|
4608
|
+
Op as ContactPageTemplate,
|
|
4609
|
+
Wm as DashboardTemplate,
|
|
4610
|
+
Gd as EmptyState,
|
|
4611
|
+
at as FAQ,
|
|
4612
|
+
Rt as FAQItemCard,
|
|
4613
|
+
qt as FeatureCard,
|
|
4614
|
+
Mt as Features,
|
|
4615
|
+
Qe as Footer,
|
|
4616
|
+
ko as Gallery,
|
|
4617
|
+
Ve as Hero,
|
|
4618
|
+
zt as HeroHighlight,
|
|
4619
|
+
Gm as KanbanPageTemplate,
|
|
4620
|
+
Hp as LandingPageTemplate,
|
|
4621
|
+
bp as LoginTemplate,
|
|
4622
|
+
Ut as LogoCloud,
|
|
4623
|
+
pc as Newsletter,
|
|
4624
|
+
ut as Pricing,
|
|
4625
|
+
Et as PricingCard,
|
|
4626
|
+
Dp as PricingPageTemplate,
|
|
4627
|
+
qp as ProfilePageTemplate,
|
|
4628
|
+
Kt as SettingsLayout,
|
|
4629
|
+
Wp as SettingsTemplate,
|
|
4630
|
+
Rl as SocialProof,
|
|
4631
|
+
Dt as StatItemCard,
|
|
4632
|
+
gt as Stats,
|
|
4633
|
+
wd as Stepper,
|
|
4634
|
+
Ft as Team,
|
|
4635
|
+
Ot as TeamMemberCard,
|
|
4636
|
+
Wt as TestimonialCard,
|
|
4637
|
+
Ht as Testimonials,
|
|
4638
|
+
Vt as Timeline
|
|
4639
|
+
};
|