@opensite/ui 2.2.5 → 2.2.7
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/about-company-profile.cjs +12 -83
- package/dist/about-company-profile.d.cts +4 -4
- package/dist/about-company-profile.d.ts +4 -4
- package/dist/about-company-profile.js +12 -83
- package/dist/about-culture-tabs.d.cts +3 -3
- package/dist/about-culture-tabs.d.ts +3 -3
- package/dist/about-developer-profile.d.cts +3 -3
- package/dist/about-developer-profile.d.ts +3 -3
- package/dist/about-developer-story.d.cts +3 -3
- package/dist/about-developer-story.d.ts +3 -3
- package/dist/about-expandable-values.d.cts +3 -3
- package/dist/about-expandable-values.d.ts +3 -3
- package/dist/about-interactive-tabs.d.cts +3 -3
- package/dist/about-interactive-tabs.d.ts +3 -3
- package/dist/about-location-info-hero.d.cts +3 -3
- package/dist/about-location-info-hero.d.ts +3 -3
- package/dist/about-minimal-story.d.cts +3 -3
- package/dist/about-minimal-story.d.ts +3 -3
- package/dist/about-mission-dual-image.d.cts +3 -3
- package/dist/about-mission-dual-image.d.ts +3 -3
- package/dist/about-mission-features.d.cts +3 -3
- package/dist/about-mission-features.d.ts +3 -3
- package/dist/about-mission-principles.d.cts +3 -3
- package/dist/about-mission-principles.d.ts +3 -3
- package/dist/about-network-spotlight.d.cts +3 -3
- package/dist/about-network-spotlight.d.ts +3 -3
- package/dist/about-split-hero.d.cts +3 -3
- package/dist/about-split-hero.d.ts +3 -3
- package/dist/about-startup-team.d.cts +3 -3
- package/dist/about-startup-team.d.ts +3 -3
- package/dist/about-stats-showcase.d.cts +3 -3
- package/dist/about-stats-showcase.d.ts +3 -3
- package/dist/about-stats-sidebar.d.cts +3 -3
- package/dist/about-stats-sidebar.d.ts +3 -3
- package/dist/about-story-expertise.d.cts +3 -3
- package/dist/about-story-expertise.d.ts +3 -3
- package/dist/about-story-gallery.d.cts +3 -3
- package/dist/about-story-gallery.d.ts +3 -3
- package/dist/about-story-hero.d.cts +3 -3
- package/dist/about-story-hero.d.ts +3 -3
- package/dist/about-streamline-team.d.cts +3 -3
- package/dist/about-streamline-team.d.ts +3 -3
- package/dist/about-vision-gallery.d.cts +3 -3
- package/dist/about-vision-gallery.d.ts +3 -3
- package/dist/alternating-blocks.d.cts +3 -3
- package/dist/alternating-blocks.d.ts +3 -3
- package/dist/animated-dialog.d.cts +3 -3
- package/dist/animated-dialog.d.ts +3 -3
- package/dist/article-breadcrumb-social.d.cts +3 -3
- package/dist/article-breadcrumb-social.d.ts +3 -3
- package/dist/article-chapters-author.d.cts +3 -3
- package/dist/article-chapters-author.d.ts +3 -3
- package/dist/article-compact-toc.d.cts +3 -3
- package/dist/article-compact-toc.d.ts +3 -3
- package/dist/article-hero-prose.d.cts +3 -3
- package/dist/article-hero-prose.d.ts +3 -3
- package/dist/article-sidebar-sticky.d.cts +3 -3
- package/dist/article-sidebar-sticky.d.ts +3 -3
- package/dist/article-split-animated.d.cts +3 -3
- package/dist/article-split-animated.d.ts +3 -3
- package/dist/article-toc-sidebar.d.cts +3 -3
- package/dist/article-toc-sidebar.d.ts +3 -3
- package/dist/auto-scroll-carousel.d.cts +3 -3
- package/dist/auto-scroll-carousel.d.ts +3 -3
- package/dist/badge.d.cts +1 -1
- package/dist/badge.d.ts +1 -1
- package/dist/banner-announcement-dismissible.d.cts +3 -3
- package/dist/banner-announcement-dismissible.d.ts +3 -3
- package/dist/banner-countdown-sale.d.cts +3 -3
- package/dist/banner-countdown-sale.d.ts +3 -3
- package/dist/banner-delivery-countdown.d.cts +3 -3
- package/dist/banner-delivery-countdown.d.ts +3 -3
- package/dist/banner-event-promo.d.cts +3 -3
- package/dist/banner-event-promo.d.ts +3 -3
- package/dist/banner-floating-offer.d.cts +3 -3
- package/dist/banner-floating-offer.d.ts +3 -3
- package/dist/banner-gdpr-rights.d.cts +3 -3
- package/dist/banner-gdpr-rights.d.ts +3 -3
- package/dist/banner-privacy-notice.d.cts +3 -3
- package/dist/banner-privacy-notice.d.ts +3 -3
- package/dist/banner-promo-cta.d.cts +3 -3
- package/dist/banner-promo-cta.d.ts +3 -3
- package/dist/banner-social-follow.d.cts +3 -3
- package/dist/banner-social-follow.d.ts +3 -3
- package/dist/banner-survey-incentive.d.cts +3 -3
- package/dist/banner-survey-incentive.d.ts +3 -3
- package/dist/{blocks-k17uluAz.d.ts → blocks-DRE-f6cS.d.ts} +1 -1
- package/dist/{blocks-Cohq4eio.d.cts → blocks-tmd_MRJv.d.cts} +1 -1
- package/dist/blog-cards-read-time.d.cts +3 -3
- package/dist/blog-cards-read-time.d.ts +3 -3
- package/dist/blog-cards-tagline-cta.d.cts +3 -3
- package/dist/blog-cards-tagline-cta.d.ts +3 -3
- package/dist/blog-carousel-apple.d.cts +3 -3
- package/dist/blog-carousel-apple.d.ts +3 -3
- package/dist/blog-category-overlay.d.cts +3 -3
- package/dist/blog-category-overlay.d.ts +3 -3
- package/dist/blog-featured-popular.d.cts +3 -3
- package/dist/blog-featured-popular.d.ts +3 -3
- package/dist/blog-filtered-results.d.cts +3 -3
- package/dist/blog-filtered-results.d.ts +3 -3
- package/dist/blog-grid-author-cards.d.cts +3 -3
- package/dist/blog-grid-author-cards.d.ts +3 -3
- package/dist/blog-grid-nine-posts.d.cts +3 -3
- package/dist/blog-grid-nine-posts.d.ts +3 -3
- package/dist/blog-horizontal-cards.d.cts +3 -3
- package/dist/blog-horizontal-cards.d.ts +3 -3
- package/dist/blog-horizontal-timeline.d.cts +3 -3
- package/dist/blog-horizontal-timeline.d.ts +3 -3
- package/dist/blog-masonry-featured.d.cts +3 -3
- package/dist/blog-masonry-featured.d.ts +3 -3
- package/dist/blog-related-articles.d.cts +3 -3
- package/dist/blog-related-articles.d.ts +3 -3
- package/dist/blog-tech-insights.d.cts +3 -3
- package/dist/blog-tech-insights.d.ts +3 -3
- package/dist/blur-vignette-grid.d.cts +3 -3
- package/dist/blur-vignette-grid.d.ts +3 -3
- package/dist/{button-variants-lRElsmTc.d.cts → button-variants-8mtEHxev.d.cts} +1 -1
- package/dist/{button-variants-lRElsmTc.d.ts → button-variants-8mtEHxev.d.ts} +1 -1
- package/dist/button.d.cts +1 -1
- package/dist/button.d.ts +1 -1
- package/dist/carousel-animated-sections.d.cts +3 -3
- package/dist/carousel-animated-sections.d.ts +3 -3
- package/dist/carousel-auto-progress-slides.d.cts +3 -3
- package/dist/carousel-auto-progress-slides.d.ts +3 -3
- package/dist/carousel-autoplay-progress.d.cts +3 -3
- package/dist/carousel-autoplay-progress.d.ts +3 -3
- package/dist/carousel-badge-cards.d.cts +3 -3
- package/dist/carousel-badge-cards.d.ts +3 -3
- package/dist/carousel-demo-link.d.cts +3 -3
- package/dist/carousel-demo-link.d.ts +3 -3
- package/dist/carousel-feature-badge.d.cts +3 -3
- package/dist/carousel-feature-badge.d.ts +3 -3
- package/dist/carousel-fullscreen-scroll-fx.d.cts +3 -3
- package/dist/carousel-fullscreen-scroll-fx.d.ts +3 -3
- package/dist/carousel-gallery-thumbnails.d.cts +3 -3
- package/dist/carousel-gallery-thumbnails.d.ts +3 -3
- package/dist/carousel-gradient-overlay.d.cts +3 -3
- package/dist/carousel-gradient-overlay.d.ts +3 -3
- package/dist/carousel-gradient-text.d.cts +3 -3
- package/dist/carousel-gradient-text.d.ts +3 -3
- package/dist/carousel-horizontal-cards.d.cts +3 -3
- package/dist/carousel-horizontal-cards.d.ts +3 -3
- package/dist/carousel-icon-sidebar.d.cts +3 -3
- package/dist/carousel-icon-sidebar.d.ts +3 -3
- package/dist/carousel-icon-tabs.d.cts +3 -3
- package/dist/carousel-icon-tabs.d.ts +3 -3
- package/dist/carousel-image-hero.d.cts +3 -3
- package/dist/carousel-image-hero.d.ts +3 -3
- package/dist/carousel-multi-step-showcase.d.cts +3 -3
- package/dist/carousel-multi-step-showcase.d.ts +3 -3
- package/dist/carousel-portfolio-hero.d.cts +3 -3
- package/dist/carousel-portfolio-hero.d.ts +3 -3
- package/dist/carousel-product-feature-showcase.d.cts +3 -3
- package/dist/carousel-product-feature-showcase.d.ts +3 -3
- package/dist/carousel-progress-slider.d.cts +3 -3
- package/dist/carousel-progress-slider.d.ts +3 -3
- package/dist/carousel-scale-focus.d.cts +3 -3
- package/dist/carousel-scale-focus.d.ts +3 -3
- package/dist/carousel-scrolling-feature-showcase.d.cts +3 -3
- package/dist/carousel-scrolling-feature-showcase.d.ts +3 -3
- package/dist/carousel-sidebar-resources.d.cts +3 -3
- package/dist/carousel-sidebar-resources.d.ts +3 -3
- package/dist/carousel-tabs-content.d.cts +3 -3
- package/dist/carousel-tabs-content.d.ts +3 -3
- package/dist/case-studies-featured-border.d.cts +3 -3
- package/dist/case-studies-featured-border.d.ts +3 -3
- package/dist/case-studies-image-grid.d.cts +3 -3
- package/dist/case-studies-image-grid.d.ts +3 -3
- package/dist/case-studies-stats-card.d.cts +3 -3
- package/dist/case-studies-stats-card.d.ts +3 -3
- package/dist/case-studies-testimonial-stats.d.cts +3 -3
- package/dist/case-studies-testimonial-stats.d.ts +3 -3
- package/dist/case-study-prose-sidebar.d.cts +3 -3
- package/dist/case-study-prose-sidebar.d.ts +3 -3
- package/dist/case-study-stats-metrics.d.cts +3 -3
- package/dist/case-study-stats-metrics.d.ts +3 -3
- package/dist/case-study-toc-social-sidebar.d.cts +3 -3
- package/dist/case-study-toc-social-sidebar.d.ts +3 -3
- package/dist/{community-initiatives-Bz_A5vLU.d.cts → community-initiatives-CPyEa7IX.d.cts} +1 -1
- package/dist/{community-initiatives-Bi_ClKrO.d.ts → community-initiatives-hxnFe3w6.d.ts} +1 -1
- package/dist/community-initiatives.d.cts +3 -3
- package/dist/community-initiatives.d.ts +3 -3
- package/dist/comparison-ai-models.d.cts +3 -3
- package/dist/comparison-ai-models.d.ts +3 -3
- package/dist/comparison-feature-cards.d.cts +3 -3
- package/dist/comparison-feature-cards.d.ts +3 -3
- package/dist/comparison-feature-grid.d.cts +3 -3
- package/dist/comparison-feature-grid.d.ts +3 -3
- package/dist/comparison-grid-badges.d.cts +3 -3
- package/dist/comparison-grid-badges.d.ts +3 -3
- package/dist/comparison-image-cards.d.cts +3 -3
- package/dist/comparison-image-cards.d.ts +3 -3
- package/dist/comparison-legacy-modern.d.cts +3 -3
- package/dist/comparison-legacy-modern.d.ts +3 -3
- package/dist/comparison-metrics-rows.d.cts +3 -3
- package/dist/comparison-metrics-rows.d.ts +3 -3
- package/dist/comparison-table-tabs.d.cts +3 -3
- package/dist/comparison-table-tabs.d.ts +3 -3
- package/dist/comparison-table-tooltips.d.cts +3 -3
- package/dist/comparison-table-tooltips.d.ts +3 -3
- package/dist/comparison-table-two-column.d.cts +3 -3
- package/dist/comparison-table-two-column.d.ts +3 -3
- package/dist/components.d.cts +3 -3
- package/dist/components.d.ts +3 -3
- package/dist/contact-callback.d.cts +3 -3
- package/dist/contact-callback.d.ts +3 -3
- package/dist/contact-card.d.cts +4 -4
- package/dist/contact-card.d.ts +4 -4
- package/dist/contact-careers.d.cts +3 -3
- package/dist/contact-careers.d.ts +3 -3
- package/dist/contact-catering.d.cts +3 -3
- package/dist/contact-catering.d.ts +3 -3
- package/dist/contact-consultation.d.cts +3 -3
- package/dist/contact-consultation.d.ts +3 -3
- package/dist/{contact-dark-0gEH_OJl.d.ts → contact-dark-DCgSzBfi.d.ts} +1 -1
- package/dist/{contact-dark-BCQefo1j.d.cts → contact-dark-JU-6Ek8U.d.cts} +1 -1
- package/dist/contact-dark.d.cts +4 -4
- package/dist/contact-dark.d.ts +4 -4
- package/dist/contact-demo.d.cts +3 -3
- package/dist/contact-demo.d.ts +3 -3
- package/dist/contact-emergency.cjs +72 -27
- package/dist/contact-emergency.d.cts +3 -3
- package/dist/contact-emergency.d.ts +3 -3
- package/dist/contact-emergency.js +73 -28
- package/dist/contact-event.d.cts +3 -3
- package/dist/contact-event.d.ts +3 -3
- package/dist/contact-faq.d.cts +3 -3
- package/dist/contact-faq.d.ts +3 -3
- package/dist/contact-feedback.d.cts +3 -3
- package/dist/contact-feedback.d.ts +3 -3
- package/dist/contact-fitness.d.cts +3 -3
- package/dist/contact-fitness.d.ts +3 -3
- package/dist/contact-floating-banner.d.cts +3 -3
- package/dist/contact-floating-banner.d.ts +3 -3
- package/dist/contact-guest.d.cts +3 -3
- package/dist/contact-guest.d.ts +3 -3
- package/dist/contact-help-center.d.cts +3 -3
- package/dist/contact-help-center.d.ts +3 -3
- package/dist/contact-image.cjs +94 -38
- package/dist/contact-image.d.cts +3 -3
- package/dist/contact-image.d.ts +3 -3
- package/dist/contact-image.js +94 -38
- package/dist/contact-insurance.d.cts +3 -3
- package/dist/contact-insurance.d.ts +3 -3
- package/dist/contact-interview.cjs +101 -31
- package/dist/contact-interview.d.cts +3 -3
- package/dist/contact-interview.d.ts +3 -3
- package/dist/contact-interview.js +84 -29
- package/dist/contact-locations.d.cts +3 -3
- package/dist/contact-locations.d.ts +3 -3
- package/dist/contact-maintenance.d.cts +3 -3
- package/dist/contact-maintenance.d.ts +3 -3
- package/dist/contact-map.d.cts +3 -3
- package/dist/contact-map.d.ts +3 -3
- package/dist/contact-minimal.d.cts +3 -3
- package/dist/contact-minimal.d.ts +3 -3
- package/dist/contact-moving.d.cts +3 -3
- package/dist/contact-moving.d.ts +3 -3
- package/dist/contact-multistep.d.cts +3 -3
- package/dist/contact-multistep.d.ts +3 -3
- package/dist/contact-partnership.d.cts +3 -3
- package/dist/contact-partnership.d.ts +3 -3
- package/dist/contact-photography.cjs +109 -38
- package/dist/contact-photography.d.cts +11 -8
- package/dist/contact-photography.d.ts +11 -8
- package/dist/contact-photography.js +92 -36
- package/dist/contact-press.d.cts +3 -3
- package/dist/contact-press.d.ts +3 -3
- package/dist/contact-quote.d.cts +3 -3
- package/dist/contact-quote.d.ts +3 -3
- package/dist/contact-referral.d.cts +3 -3
- package/dist/contact-referral.d.ts +3 -3
- package/dist/contact-report.d.cts +3 -3
- package/dist/contact-report.d.ts +3 -3
- package/dist/contact-reservation.d.cts +3 -3
- package/dist/contact-reservation.d.ts +3 -3
- package/dist/contact-retreat.d.cts +3 -3
- package/dist/contact-retreat.d.ts +3 -3
- package/dist/contact-rsvp.d.cts +3 -3
- package/dist/contact-rsvp.d.ts +3 -3
- package/dist/contact-sales.d.cts +3 -3
- package/dist/contact-sales.d.ts +3 -3
- package/dist/contact-schedule.d.cts +3 -3
- package/dist/contact-schedule.d.ts +3 -3
- package/dist/contact-sponsorship.d.cts +3 -3
- package/dist/contact-sponsorship.d.ts +3 -3
- package/dist/contact-support.d.cts +3 -3
- package/dist/contact-support.d.ts +3 -3
- package/dist/contact-tenant.d.cts +3 -3
- package/dist/contact-tenant.d.ts +3 -3
- package/dist/contact-vendor.d.cts +3 -3
- package/dist/contact-vendor.d.ts +3 -3
- package/dist/contact-volunteer.d.cts +3 -3
- package/dist/contact-volunteer.d.ts +3 -3
- package/dist/contact-warranty.d.cts +3 -3
- package/dist/contact-warranty.d.ts +3 -3
- package/dist/contact-wedding.d.cts +3 -3
- package/dist/contact-wedding.d.ts +3 -3
- package/dist/container.d.cts +3 -3
- package/dist/container.d.ts +3 -3
- package/dist/cta-accent-background.d.cts +3 -3
- package/dist/cta-accent-background.d.ts +3 -3
- package/dist/cta-app-download-newsletter.d.cts +3 -3
- package/dist/cta-app-download-newsletter.d.ts +3 -3
- package/dist/cta-background-icon-badge.d.cts +3 -3
- package/dist/cta-background-icon-badge.d.ts +3 -3
- package/dist/cta-case-study-testimonial.d.cts +3 -3
- package/dist/cta-case-study-testimonial.d.ts +3 -3
- package/dist/cta-documentation-links.d.cts +3 -3
- package/dist/cta-documentation-links.d.ts +3 -3
- package/dist/cta-enterprise-dark-features.d.cts +3 -3
- package/dist/cta-enterprise-dark-features.d.ts +3 -3
- package/dist/cta-enterprise-split.d.cts +3 -3
- package/dist/cta-enterprise-split.d.ts +3 -3
- package/dist/cta-feature-cards-grid.d.cts +3 -3
- package/dist/cta-feature-cards-grid.d.ts +3 -3
- package/dist/cta-feature-checklist.d.cts +3 -3
- package/dist/cta-feature-checklist.d.ts +3 -3
- package/dist/cta-feature-list.d.cts +3 -3
- package/dist/cta-feature-list.d.ts +3 -3
- package/dist/cta-fullwidth-background.d.cts +3 -3
- package/dist/cta-fullwidth-background.d.ts +3 -3
- package/dist/cta-gradient-logos-floating.d.cts +3 -3
- package/dist/cta-gradient-logos-floating.d.ts +3 -3
- package/dist/cta-gradient-stats-hero.d.cts +3 -3
- package/dist/cta-gradient-stats-hero.d.ts +3 -3
- package/dist/cta-hero-feature-cards.d.cts +3 -3
- package/dist/cta-hero-feature-cards.d.ts +3 -3
- package/dist/cta-image-overlay-arrow.d.cts +3 -3
- package/dist/cta-image-overlay-arrow.d.ts +3 -3
- package/dist/cta-image-overlay-centered.d.cts +3 -3
- package/dist/cta-image-overlay-centered.d.ts +3 -3
- package/dist/cta-minimal-separator.d.cts +3 -3
- package/dist/cta-minimal-separator.d.ts +3 -3
- package/dist/cta-newsletter-features.d.cts +3 -3
- package/dist/cta-newsletter-features.d.ts +3 -3
- package/dist/cta-pattern-background.d.cts +3 -3
- package/dist/cta-pattern-background.d.ts +3 -3
- package/dist/cta-platform-demo.d.cts +3 -3
- package/dist/cta-platform-demo.d.ts +3 -3
- package/dist/cta-simple-centered.d.cts +3 -3
- package/dist/cta-simple-centered.d.ts +3 -3
- package/dist/cta-split-gradient-image.d.cts +3 -3
- package/dist/cta-split-gradient-image.d.ts +3 -3
- package/dist/cta-split-image-logos.d.cts +3 -3
- package/dist/cta-split-image-logos.d.ts +3 -3
- package/dist/cta-split-image.d.cts +3 -3
- package/dist/cta-split-image.d.ts +3 -3
- package/dist/cta-stacked-cards.d.cts +3 -3
- package/dist/cta-stacked-cards.d.ts +3 -3
- package/dist/cta-video-background-hero.d.cts +3 -3
- package/dist/cta-video-background-hero.d.ts +3 -3
- package/dist/cta-workflow-tabs.d.cts +3 -3
- package/dist/cta-workflow-tabs.d.ts +3 -3
- package/dist/expandable-case-study-cards.d.cts +3 -3
- package/dist/expandable-case-study-cards.d.ts +3 -3
- package/dist/faq-badge-support.d.cts +3 -3
- package/dist/faq-badge-support.d.ts +3 -3
- package/dist/faq-bordered-badge.d.cts +3 -3
- package/dist/faq-bordered-badge.d.ts +3 -3
- package/dist/faq-card-categories.d.cts +3 -3
- package/dist/faq-card-categories.d.ts +3 -3
- package/dist/faq-categorized-sections.d.cts +3 -3
- package/dist/faq-categorized-sections.d.ts +3 -3
- package/dist/faq-centered-accordion.d.cts +3 -3
- package/dist/faq-centered-accordion.d.ts +3 -3
- package/dist/faq-gradient-categories.d.cts +3 -3
- package/dist/faq-gradient-categories.d.ts +3 -3
- package/dist/faq-icon-benefits.d.cts +3 -3
- package/dist/faq-icon-benefits.d.ts +3 -3
- package/dist/faq-muted-cards.d.cts +3 -3
- package/dist/faq-muted-cards.d.ts +3 -3
- package/dist/faq-numbered-grid.d.cts +3 -3
- package/dist/faq-numbered-grid.d.ts +3 -3
- package/dist/faq-numbered-list.d.cts +3 -3
- package/dist/faq-numbered-list.d.ts +3 -3
- package/dist/faq-profile-sidebar.d.cts +3 -3
- package/dist/faq-profile-sidebar.d.ts +3 -3
- package/dist/faq-rounded-cards.d.cts +3 -3
- package/dist/faq-rounded-cards.d.ts +3 -3
- package/dist/faq-sidebar-navigation.d.cts +3 -3
- package/dist/faq-sidebar-navigation.d.ts +3 -3
- package/dist/faq-simple-accordion.d.cts +3 -3
- package/dist/faq-simple-accordion.d.ts +3 -3
- package/dist/faq-split-help.d.cts +3 -3
- package/dist/faq-split-help.d.ts +3 -3
- package/dist/faq-split-hero.d.cts +3 -3
- package/dist/faq-split-hero.d.ts +3 -3
- package/dist/faq-static-list.d.cts +3 -3
- package/dist/faq-static-list.d.ts +3 -3
- package/dist/feature-accordion-image.d.cts +3 -3
- package/dist/feature-accordion-image.d.ts +3 -3
- package/dist/feature-animated-carousel.d.cts +3 -3
- package/dist/feature-animated-carousel.d.ts +3 -3
- package/dist/feature-badge-grid-six.d.cts +3 -3
- package/dist/feature-badge-grid-six.d.ts +3 -3
- package/dist/feature-bento-image-grid.d.cts +3 -3
- package/dist/feature-bento-image-grid.d.ts +3 -3
- package/dist/feature-bento-utilities.d.cts +3 -3
- package/dist/feature-bento-utilities.d.ts +3 -3
- package/dist/feature-capabilities-grid.d.cts +3 -3
- package/dist/feature-capabilities-grid.d.ts +3 -3
- package/dist/feature-card-grid-linked.d.cts +3 -3
- package/dist/feature-card-grid-linked.d.ts +3 -3
- package/dist/feature-carousel-progress.d.cts +3 -3
- package/dist/feature-carousel-progress.d.ts +3 -3
- package/dist/feature-category-image-cards.d.cts +3 -3
- package/dist/feature-category-image-cards.d.ts +3 -3
- package/dist/feature-checklist-image.d.cts +3 -3
- package/dist/feature-checklist-image.d.ts +3 -3
- package/dist/feature-checklist-three-column.d.cts +3 -3
- package/dist/feature-checklist-three-column.d.ts +3 -3
- package/dist/feature-icon-grid-accent.d.cts +3 -3
- package/dist/feature-icon-grid-accent.d.ts +3 -3
- package/dist/feature-icon-grid-bordered.d.cts +3 -3
- package/dist/feature-icon-grid-bordered.d.ts +3 -3
- package/dist/feature-icon-grid-muted.d.cts +3 -3
- package/dist/feature-icon-grid-muted.d.ts +3 -3
- package/dist/feature-icon-tabs-content.d.cts +3 -3
- package/dist/feature-icon-tabs-content.d.ts +3 -3
- package/dist/feature-image-cards-three-column.d.cts +3 -3
- package/dist/feature-image-cards-three-column.d.ts +3 -3
- package/dist/feature-image-overlay-badge.d.cts +3 -3
- package/dist/feature-image-overlay-badge.d.ts +3 -3
- package/dist/feature-integration-cards.d.cts +3 -3
- package/dist/feature-integration-cards.d.ts +3 -3
- package/dist/feature-numbered-cards.d.cts +3 -3
- package/dist/feature-numbered-cards.d.ts +3 -3
- package/dist/feature-pattern-grid-links.d.cts +3 -3
- package/dist/feature-pattern-grid-links.d.ts +3 -3
- package/dist/feature-showcase.d.cts +4 -4
- package/dist/feature-showcase.d.ts +4 -4
- package/dist/feature-split-image-reverse.d.cts +3 -3
- package/dist/feature-split-image-reverse.d.ts +3 -3
- package/dist/feature-split-image.d.cts +3 -3
- package/dist/feature-split-image.d.ts +3 -3
- package/dist/feature-stats-highlight.d.cts +3 -3
- package/dist/feature-stats-highlight.d.ts +3 -3
- package/dist/feature-tabbed-content-image.d.cts +3 -3
- package/dist/feature-tabbed-content-image.d.ts +3 -3
- package/dist/feature-three-column-values.d.cts +3 -3
- package/dist/feature-three-column-values.d.ts +3 -3
- package/dist/feature-utility-cards-grid.d.cts +3 -3
- package/dist/feature-utility-cards-grid.d.ts +3 -3
- package/dist/footer-accordion-social.d.cts +3 -3
- package/dist/footer-accordion-social.d.ts +3 -3
- package/dist/footer-animated-social.d.cts +3 -3
- package/dist/footer-animated-social.d.ts +3 -3
- package/dist/footer-background-card.d.cts +3 -3
- package/dist/footer-background-card.d.ts +3 -3
- package/dist/footer-brand-description.d.cts +3 -3
- package/dist/footer-brand-description.d.ts +3 -3
- package/dist/footer-brand-links-contact.d.cts +3 -3
- package/dist/footer-brand-links-contact.d.ts +3 -3
- package/dist/footer-comprehensive-links.d.cts +3 -3
- package/dist/footer-comprehensive-links.d.ts +3 -3
- package/dist/footer-contact-card.d.cts +3 -3
- package/dist/footer-contact-card.d.ts +3 -3
- package/dist/footer-cta-banner.d.cts +3 -3
- package/dist/footer-cta-banner.d.ts +3 -3
- package/dist/footer-cta-social.d.cts +3 -3
- package/dist/footer-cta-social.d.ts +3 -3
- package/dist/footer-info-cards-accordion.d.cts +3 -3
- package/dist/footer-info-cards-accordion.d.ts +3 -3
- package/dist/footer-links-grid.d.cts +3 -3
- package/dist/footer-links-grid.d.ts +3 -3
- package/dist/footer-nav-social.d.cts +3 -3
- package/dist/footer-nav-social.d.ts +3 -3
- package/dist/footer-newsletter-contact.d.cts +3 -3
- package/dist/footer-newsletter-contact.d.ts +3 -3
- package/dist/footer-newsletter-grid.d.cts +3 -3
- package/dist/footer-newsletter-grid.d.ts +3 -3
- package/dist/footer-newsletter-minimal.d.cts +3 -3
- package/dist/footer-newsletter-minimal.d.ts +3 -3
- package/dist/footer-simple-centered.d.cts +3 -3
- package/dist/footer-simple-centered.d.ts +3 -3
- package/dist/footer-social-apps.d.cts +3 -3
- package/dist/footer-social-apps.d.ts +3 -3
- package/dist/footer-social-newsletter.d.cts +3 -3
- package/dist/footer-social-newsletter.d.ts +3 -3
- package/dist/footer-split-image-accordion.d.cts +3 -3
- package/dist/footer-split-image-accordion.d.ts +3 -3
- package/dist/hero-ad-campaign-expert.d.cts +3 -3
- package/dist/hero-ad-campaign-expert.d.ts +3 -3
- package/dist/hero-adaptable-product-grid.d.cts +3 -3
- package/dist/hero-adaptable-product-grid.d.ts +3 -3
- package/dist/hero-agency-animated-images.d.cts +3 -3
- package/dist/hero-agency-animated-images.d.ts +3 -3
- package/dist/hero-ai-powered-carousel.d.cts +3 -3
- package/dist/hero-ai-powered-carousel.d.ts +3 -3
- package/dist/hero-announcement-badge.d.cts +3 -3
- package/dist/hero-announcement-badge.d.ts +3 -3
- package/dist/hero-architecture-fullscreen.d.cts +3 -3
- package/dist/hero-architecture-fullscreen.d.ts +3 -3
- package/dist/hero-badge-image-split.d.cts +3 -3
- package/dist/hero-badge-image-split.d.ts +3 -3
- package/dist/hero-badge-shadow-overlay.d.cts +3 -3
- package/dist/hero-badge-shadow-overlay.d.ts +3 -3
- package/dist/hero-billing-platform-logos.d.cts +3 -3
- package/dist/hero-billing-platform-logos.d.ts +3 -3
- package/dist/hero-business-carousel-dots.d.cts +3 -3
- package/dist/hero-business-carousel-dots.d.ts +3 -3
- package/dist/hero-business-operations-mosaic.d.cts +3 -3
- package/dist/hero-business-operations-mosaic.d.ts +3 -3
- package/dist/hero-centered-gradient-cta.d.cts +3 -3
- package/dist/hero-centered-gradient-cta.d.ts +3 -3
- package/dist/hero-centered-image-grid.d.cts +3 -3
- package/dist/hero-centered-image-grid.d.ts +3 -3
- package/dist/hero-centered-screenshot.d.cts +3 -3
- package/dist/hero-centered-screenshot.d.ts +3 -3
- package/dist/hero-coming-soon-countdown.d.cts +3 -3
- package/dist/hero-coming-soon-countdown.d.ts +3 -3
- package/dist/hero-community-survey-cta.d.cts +3 -3
- package/dist/hero-community-survey-cta.d.ts +3 -3
- package/dist/hero-conversation-intelligence.d.cts +3 -3
- package/dist/hero-conversation-intelligence.d.ts +3 -3
- package/dist/hero-conversion-video-play.d.cts +3 -3
- package/dist/hero-conversion-video-play.d.ts +3 -3
- package/dist/hero-creative-studio-stacked.d.cts +4 -4
- package/dist/hero-creative-studio-stacked.d.ts +4 -4
- package/dist/hero-crm-streamlined.d.cts +3 -3
- package/dist/hero-crm-streamlined.d.ts +3 -3
- package/dist/hero-customer-support-layered.d.cts +3 -3
- package/dist/hero-customer-support-layered.d.ts +3 -3
- package/dist/hero-dashed-border-features.d.cts +3 -3
- package/dist/hero-dashed-border-features.d.ts +3 -3
- package/dist/hero-design-carousel-portfolio.d.cts +3 -3
- package/dist/hero-design-carousel-portfolio.d.ts +3 -3
- package/dist/hero-design-showcase-logos.d.cts +3 -3
- package/dist/hero-design-showcase-logos.d.ts +3 -3
- package/dist/hero-design-system-3d.d.cts +3 -3
- package/dist/hero-design-system-3d.d.ts +3 -3
- package/dist/hero-developer-tools-code.d.cts +3 -3
- package/dist/hero-developer-tools-code.d.ts +3 -3
- package/dist/hero-digital-agency-fullscreen.d.cts +3 -3
- package/dist/hero-digital-agency-fullscreen.d.ts +3 -3
- package/dist/hero-ecommerce-product-showcase.d.cts +3 -3
- package/dist/hero-ecommerce-product-showcase.d.ts +3 -3
- package/dist/hero-enterprise-security.d.cts +3 -3
- package/dist/hero-enterprise-security.d.ts +3 -3
- package/dist/hero-event-registration.cjs +11 -1
- package/dist/hero-event-registration.d.cts +11 -4
- package/dist/hero-event-registration.d.ts +11 -4
- package/dist/hero-event-registration.js +11 -1
- package/dist/hero-feature-cards-grid.d.cts +3 -3
- package/dist/hero-feature-cards-grid.d.ts +3 -3
- package/dist/hero-floating-images.d.cts +3 -3
- package/dist/hero-floating-images.d.ts +3 -3
- package/dist/hero-fullscreen-background-image.d.cts +3 -3
- package/dist/hero-fullscreen-background-image.d.ts +3 -3
- package/dist/hero-fullscreen-logo-cta.d.cts +3 -3
- package/dist/hero-fullscreen-logo-cta.d.ts +3 -3
- package/dist/hero-gradient-avatars-rating.d.cts +3 -3
- package/dist/hero-gradient-avatars-rating.d.ts +3 -3
- package/dist/hero-gradient-client-focused.d.cts +3 -3
- package/dist/hero-gradient-client-focused.d.ts +3 -3
- package/dist/hero-grid-pattern-efficiency.d.cts +3 -3
- package/dist/hero-grid-pattern-efficiency.d.ts +3 -3
- package/dist/hero-grid-pattern-solutions.d.cts +3 -3
- package/dist/hero-grid-pattern-solutions.d.ts +3 -3
- package/dist/hero-hiring-animated-text.d.cts +3 -3
- package/dist/hero-hiring-animated-text.d.ts +3 -3
- package/dist/hero-image-left-content.d.cts +3 -3
- package/dist/hero-image-left-content.d.ts +3 -3
- package/dist/hero-image-slider.d.cts +3 -3
- package/dist/hero-image-slider.d.ts +3 -3
- package/dist/hero-innovation-image-grid.d.cts +3 -3
- package/dist/hero-innovation-image-grid.d.ts +3 -3
- package/dist/hero-logo-centered-screenshot.d.cts +3 -3
- package/dist/hero-logo-centered-screenshot.d.ts +3 -3
- package/dist/hero-marketplace-scattered-images.d.cts +3 -3
- package/dist/hero-marketplace-scattered-images.d.ts +3 -3
- package/dist/hero-mental-health-team.d.cts +3 -3
- package/dist/hero-mental-health-team.d.ts +3 -3
- package/dist/hero-mentorship-video-split.d.cts +3 -3
- package/dist/hero-mentorship-video-split.d.ts +3 -3
- package/dist/hero-minimal-centered-dark.d.cts +3 -3
- package/dist/hero-minimal-centered-dark.d.ts +3 -3
- package/dist/hero-mobile-app-download.d.cts +3 -3
- package/dist/hero-mobile-app-download.d.ts +3 -3
- package/dist/hero-newsletter-minimal.d.cts +3 -3
- package/dist/hero-newsletter-minimal.d.ts +3 -3
- package/dist/hero-overlay-cta-grid.d.cts +3 -3
- package/dist/hero-overlay-cta-grid.d.ts +3 -3
- package/dist/hero-pattern-badge-logos.d.cts +3 -3
- package/dist/hero-pattern-badge-logos.d.ts +3 -3
- package/dist/hero-pattern-logo-tech-stack.d.cts +3 -3
- package/dist/hero-pattern-logo-tech-stack.d.ts +3 -3
- package/dist/hero-platform-features-grid.d.cts +3 -3
- package/dist/hero-platform-features-grid.d.ts +3 -3
- package/dist/hero-portfolio-creative.d.cts +3 -3
- package/dist/hero-portfolio-creative.d.ts +3 -3
- package/dist/hero-premium-split-avatars.d.cts +3 -3
- package/dist/hero-premium-split-avatars.d.ts +3 -3
- package/dist/hero-presentation-platform-video.d.cts +3 -3
- package/dist/hero-presentation-platform-video.d.ts +3 -3
- package/dist/hero-pricing-comparison.d.cts +3 -3
- package/dist/hero-pricing-comparison.d.ts +3 -3
- package/dist/hero-product-showcase-floating.d.cts +3 -3
- package/dist/hero-product-showcase-floating.d.ts +3 -3
- package/dist/hero-productivity-launcher-video.d.cts +3 -3
- package/dist/hero-productivity-launcher-video.d.ts +3 -3
- package/dist/hero-saas-dashboard-preview.d.cts +3 -3
- package/dist/hero-saas-dashboard-preview.d.ts +3 -3
- package/dist/hero-shared-inbox-layered.d.cts +3 -3
- package/dist/hero-shared-inbox-layered.d.ts +3 -3
- package/dist/hero-simple-centered-image.d.cts +3 -3
- package/dist/hero-simple-centered-image.d.ts +3 -3
- package/dist/hero-software-growth-video-dialog.d.cts +3 -3
- package/dist/hero-software-growth-video-dialog.d.ts +3 -3
- package/dist/hero-spiral-pattern-cards.d.cts +3 -3
- package/dist/hero-spiral-pattern-cards.d.ts +3 -3
- package/dist/hero-split-geometric-shapes.d.cts +3 -3
- package/dist/hero-split-geometric-shapes.d.ts +3 -3
- package/dist/hero-split-icon-cards.d.cts +3 -3
- package/dist/hero-split-icon-cards.d.ts +3 -3
- package/dist/hero-split-image-newsletter.d.cts +3 -3
- package/dist/hero-split-image-newsletter.d.ts +3 -3
- package/dist/hero-split-spiral-shapes.d.cts +3 -3
- package/dist/hero-split-spiral-shapes.d.ts +3 -3
- package/dist/hero-startup-launch-cta.d.cts +3 -3
- package/dist/hero-startup-launch-cta.d.ts +3 -3
- package/dist/hero-stats-social-proof.d.cts +3 -3
- package/dist/hero-stats-social-proof.d.ts +3 -3
- package/dist/hero-task-timer-animated.d.cts +3 -3
- package/dist/hero-task-timer-animated.d.ts +3 -3
- package/dist/hero-tech-carousel.d.cts +3 -3
- package/dist/hero-tech-carousel.d.ts +3 -3
- package/dist/hero-testimonial-image-grid.d.cts +3 -3
- package/dist/hero-testimonial-image-grid.d.ts +3 -3
- package/dist/hero-therapy-testimonial-grid.d.cts +3 -3
- package/dist/hero-therapy-testimonial-grid.d.ts +3 -3
- package/dist/hero-ui-library-showcase.d.cts +3 -3
- package/dist/hero-ui-library-showcase.d.ts +3 -3
- package/dist/hero-video-background-dark.cjs +850 -815
- package/dist/hero-video-background-dark.d.cts +8 -4
- package/dist/hero-video-background-dark.d.ts +8 -4
- package/dist/hero-video-background-dark.js +849 -814
- package/dist/{hero-video-dialog-gradient-BnCFFec0.d.ts → hero-video-dialog-gradient-DMaEfOfw.d.ts} +2 -2
- package/dist/{hero-video-dialog-gradient-Dapebkzu.d.cts → hero-video-dialog-gradient-Si7mukH7.d.cts} +2 -2
- package/dist/hero-video-dialog-gradient.d.cts +4 -4
- package/dist/hero-video-dialog-gradient.d.ts +4 -4
- package/dist/hero-video-overlay-stars.d.cts +3 -3
- package/dist/hero-video-overlay-stars.d.ts +3 -3
- package/dist/hero-welcome-asymmetric-images.d.cts +3 -3
- package/dist/hero-welcome-asymmetric-images.d.ts +3 -3
- package/dist/image-slider.d.cts +2 -2
- package/dist/image-slider.d.ts +2 -2
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/industries-badge-list-bordered.d.cts +3 -3
- package/dist/industries-badge-list-bordered.d.ts +3 -3
- package/dist/industries-expandable-showcase.d.cts +3 -3
- package/dist/industries-expandable-showcase.d.ts +3 -3
- package/dist/industries-hover-reveal-grid.d.cts +3 -3
- package/dist/industries-hover-reveal-grid.d.ts +3 -3
- package/dist/industries-timeline-table.d.cts +3 -3
- package/dist/industries-timeline-table.d.ts +3 -3
- package/dist/interior-carousel.d.cts +3 -3
- package/dist/interior-carousel.d.ts +3 -3
- package/dist/link-page-bento-layout.d.cts +3 -3
- package/dist/link-page-bento-layout.d.ts +3 -3
- package/dist/link-page-grid-cards.d.cts +3 -3
- package/dist/link-page-grid-cards.d.ts +3 -3
- package/dist/link-page-minimal-profile.d.cts +3 -3
- package/dist/link-page-minimal-profile.d.ts +3 -3
- package/dist/link-page-newsletter-social.d.cts +3 -3
- package/dist/link-page-newsletter-social.d.ts +3 -3
- package/dist/link-tree-block.d.cts +3 -3
- package/dist/link-tree-block.d.ts +3 -3
- package/dist/list-achievements-showcase.d.cts +3 -3
- package/dist/list-achievements-showcase.d.ts +3 -3
- package/dist/list-career-timeline.d.cts +3 -3
- package/dist/list-career-timeline.d.ts +3 -3
- package/dist/list-feature-comparison.d.cts +3 -3
- package/dist/list-feature-comparison.d.ts +3 -3
- package/dist/list-metrics-dashboard.d.cts +3 -3
- package/dist/list-metrics-dashboard.d.ts +3 -3
- package/dist/list-searchable-grid.d.cts +3 -3
- package/dist/list-searchable-grid.d.ts +3 -3
- package/dist/list-service-category-table.d.cts +3 -3
- package/dist/list-service-category-table.d.ts +3 -3
- package/dist/logos-carousel-heading.d.cts +3 -3
- package/dist/logos-carousel-heading.d.ts +3 -3
- package/dist/logos-centered-simple.d.cts +3 -3
- package/dist/logos-centered-simple.d.ts +3 -3
- package/dist/logos-certifications-grid.d.cts +3 -3
- package/dist/logos-certifications-grid.d.ts +3 -3
- package/dist/logos-double-carousel-pattern.d.cts +3 -3
- package/dist/logos-double-carousel-pattern.d.ts +3 -3
- package/dist/logos-inline-tagline.d.cts +3 -3
- package/dist/logos-inline-tagline.d.ts +3 -3
- package/dist/logos-marquee-muted.d.cts +3 -3
- package/dist/logos-marquee-muted.d.ts +3 -3
- package/dist/logos-minimal-carousel.d.cts +3 -3
- package/dist/logos-minimal-carousel.d.ts +3 -3
- package/dist/logos-numbered-carousel.d.cts +3 -3
- package/dist/logos-numbered-carousel.d.ts +3 -3
- package/dist/logos-partner-grid-sidebar.d.cts +3 -3
- package/dist/logos-partner-grid-sidebar.d.ts +3 -3
- package/dist/logos-partner-network.d.cts +3 -3
- package/dist/logos-partner-network.d.ts +3 -3
- package/dist/logos-two-row-grid.d.cts +3 -3
- package/dist/logos-two-row-grid.d.ts +3 -3
- package/dist/masonry-motion-grid.d.cts +3 -3
- package/dist/masonry-motion-grid.d.ts +3 -3
- package/dist/media-hover-ctas.d.cts +3 -3
- package/dist/media-hover-ctas.d.ts +3 -3
- package/dist/navbar-animated-preview.d.cts +3 -3
- package/dist/navbar-animated-preview.d.ts +3 -3
- package/dist/navbar-centered-menu.d.cts +3 -3
- package/dist/navbar-centered-menu.d.ts +3 -3
- package/dist/navbar-dark-icons.d.cts +3 -3
- package/dist/navbar-dark-icons.d.ts +3 -3
- package/dist/navbar-dropdown-menu.d.cts +3 -3
- package/dist/navbar-dropdown-menu.d.ts +3 -3
- package/dist/navbar-education-platform.d.cts +3 -3
- package/dist/navbar-education-platform.d.ts +3 -3
- package/dist/navbar-enterprise-mega.d.cts +3 -3
- package/dist/navbar-enterprise-mega.d.ts +3 -3
- package/dist/navbar-feature-grid.d.cts +3 -3
- package/dist/navbar-feature-grid.d.ts +3 -3
- package/dist/navbar-floating-pill.d.cts +3 -3
- package/dist/navbar-floating-pill.d.ts +3 -3
- package/dist/navbar-fullscreen-menu.d.cts +3 -3
- package/dist/navbar-fullscreen-menu.d.ts +3 -3
- package/dist/navbar-icon-links.d.cts +3 -3
- package/dist/navbar-icon-links.d.ts +3 -3
- package/dist/navbar-image-preview.d.cts +3 -3
- package/dist/navbar-image-preview.d.ts +3 -3
- package/dist/navbar-mega-menu.d.cts +3 -3
- package/dist/navbar-mega-menu.d.ts +3 -3
- package/dist/navbar-multi-column-groups.d.cts +3 -3
- package/dist/navbar-multi-column-groups.d.ts +3 -3
- package/dist/navbar-platform-resources.d.cts +3 -3
- package/dist/navbar-platform-resources.d.ts +3 -3
- package/dist/navbar-search-focused.d.cts +3 -3
- package/dist/navbar-search-focused.d.ts +3 -3
- package/dist/navbar-sidebar-mobile.d.cts +3 -3
- package/dist/navbar-sidebar-mobile.d.ts +3 -3
- package/dist/navbar-simple-links.d.cts +3 -3
- package/dist/navbar-simple-links.d.ts +3 -3
- package/dist/navbar-split-cta.d.cts +3 -3
- package/dist/navbar-split-cta.d.ts +3 -3
- package/dist/navbar-sticky-compact.d.cts +3 -3
- package/dist/navbar-sticky-compact.d.ts +3 -3
- package/dist/navbar-tabbed-sections.d.cts +3 -3
- package/dist/navbar-tabbed-sections.d.ts +3 -3
- package/dist/navbar-transparent-overlay.d.cts +3 -3
- package/dist/navbar-transparent-overlay.d.ts +3 -3
- package/dist/offer-modal-membership-image.d.cts +3 -3
- package/dist/offer-modal-membership-image.d.ts +3 -3
- package/dist/offer-modal-newsletter-discount.d.cts +3 -3
- package/dist/offer-modal-newsletter-discount.d.ts +3 -3
- package/dist/offer-modal-sheet-newsletter.d.cts +3 -3
- package/dist/offer-modal-sheet-newsletter.d.ts +3 -3
- package/dist/page-hero-banner.d.cts +3 -3
- package/dist/page-hero-banner.d.ts +3 -3
- package/dist/pressable.d.cts +1 -1
- package/dist/pressable.d.ts +1 -1
- package/dist/pricing-addons-cards.d.cts +3 -3
- package/dist/pricing-addons-cards.d.ts +3 -3
- package/dist/pricing-addons-featured.d.cts +3 -3
- package/dist/pricing-addons-featured.d.ts +3 -3
- package/dist/pricing-collapsible-plans.d.cts +3 -3
- package/dist/pricing-collapsible-plans.d.ts +3 -3
- package/dist/pricing-columns-toggle.d.cts +3 -3
- package/dist/pricing-columns-toggle.d.ts +3 -3
- package/dist/pricing-comparison-headers.d.cts +3 -3
- package/dist/pricing-comparison-headers.d.ts +3 -3
- package/dist/pricing-comparison-table.d.cts +3 -3
- package/dist/pricing-comparison-table.d.ts +3 -3
- package/dist/pricing-discount-card.d.cts +3 -3
- package/dist/pricing-discount-card.d.ts +3 -3
- package/dist/pricing-enterprise-contact.d.cts +3 -3
- package/dist/pricing-enterprise-contact.d.ts +3 -3
- package/dist/pricing-feature-matrix.d.cts +3 -3
- package/dist/pricing-feature-matrix.d.ts +3 -3
- package/dist/pricing-four-tier-toggle.d.cts +3 -3
- package/dist/pricing-four-tier-toggle.d.ts +3 -3
- package/dist/pricing-full-comparison.d.cts +3 -3
- package/dist/pricing-full-comparison.d.ts +3 -3
- package/dist/pricing-gradient-cards.d.cts +3 -3
- package/dist/pricing-gradient-cards.d.ts +3 -3
- package/dist/pricing-icon-headers.d.cts +3 -3
- package/dist/pricing-icon-headers.d.ts +3 -3
- package/dist/pricing-minimal-cards.d.cts +3 -3
- package/dist/pricing-minimal-cards.d.ts +3 -3
- package/dist/pricing-packages-radio.d.cts +3 -3
- package/dist/pricing-packages-radio.d.ts +3 -3
- package/dist/pricing-popular-highlight.d.cts +3 -3
- package/dist/pricing-popular-highlight.d.ts +3 -3
- package/dist/pricing-radio-toggle.d.cts +3 -3
- package/dist/pricing-radio-toggle.d.ts +3 -3
- package/dist/pricing-responsive-table.d.cts +3 -3
- package/dist/pricing-responsive-table.d.ts +3 -3
- package/dist/pricing-services-cards.d.cts +3 -3
- package/dist/pricing-services-cards.d.ts +3 -3
- package/dist/pricing-simple-card.d.cts +3 -3
- package/dist/pricing-simple-card.d.ts +3 -3
- package/dist/pricing-single-card.d.cts +3 -3
- package/dist/pricing-single-card.d.ts +3 -3
- package/dist/pricing-split-layout.d.cts +3 -3
- package/dist/pricing-split-layout.d.ts +3 -3
- package/dist/pricing-spotlight-card.d.cts +3 -3
- package/dist/pricing-spotlight-card.d.ts +3 -3
- package/dist/pricing-switch-cards.d.cts +3 -3
- package/dist/pricing-switch-cards.d.ts +3 -3
- package/dist/pricing-tabs-toggle.d.cts +3 -3
- package/dist/pricing-tabs-toggle.d.ts +3 -3
- package/dist/pricing-tier-grid.d.cts +3 -3
- package/dist/pricing-tier-grid.d.ts +3 -3
- package/dist/pricing-toggle-cards.d.cts +3 -3
- package/dist/pricing-toggle-cards.d.ts +3 -3
- package/dist/pricing-toggle-period.d.cts +3 -3
- package/dist/pricing-toggle-period.d.ts +3 -3
- package/dist/pricing-two-column-basic.d.cts +3 -3
- package/dist/pricing-two-column-basic.d.ts +3 -3
- package/dist/process-expandable-timeline.d.cts +3 -3
- package/dist/process-expandable-timeline.d.ts +3 -3
- package/dist/process-hover-cards.d.cts +3 -3
- package/dist/process-hover-cards.d.ts +3 -3
- package/dist/process-icon-timeline.d.cts +3 -3
- package/dist/process-icon-timeline.d.ts +3 -3
- package/dist/process-mission-principles.d.cts +3 -3
- package/dist/process-mission-principles.d.ts +3 -3
- package/dist/process-numbered-services.d.cts +3 -3
- package/dist/process-numbered-services.d.ts +3 -3
- package/dist/process-roadmap-timeline.d.cts +3 -3
- package/dist/process-roadmap-timeline.d.ts +3 -3
- package/dist/process-scroll-image.d.cts +3 -3
- package/dist/process-scroll-image.d.ts +3 -3
- package/dist/process-steps-grid.d.cts +3 -3
- package/dist/process-steps-grid.d.ts +3 -3
- package/dist/process-sticky-steps.d.cts +3 -3
- package/dist/process-sticky-steps.d.ts +3 -3
- package/dist/project-alternating-motion.d.cts +3 -3
- package/dist/project-alternating-motion.d.ts +3 -3
- package/dist/project-background-reveal.d.cts +3 -3
- package/dist/project-background-reveal.d.ts +3 -3
- package/dist/project-card-overlay.d.cts +3 -3
- package/dist/project-card-overlay.d.ts +3 -3
- package/dist/project-carousel-cinematic.d.cts +3 -3
- package/dist/project-carousel-cinematic.d.ts +3 -3
- package/dist/project-carousel-detail-cards.d.cts +3 -3
- package/dist/project-carousel-detail-cards.d.ts +3 -3
- package/dist/project-carousel-minimal.d.cts +3 -3
- package/dist/project-carousel-minimal.d.ts +3 -3
- package/dist/project-detail-architecture-carousel.d.cts +3 -3
- package/dist/project-detail-architecture-carousel.d.ts +3 -3
- package/dist/project-detail-card-header.d.cts +3 -3
- package/dist/project-detail-card-header.d.ts +3 -3
- package/dist/project-detail-case-study-prose.d.cts +3 -3
- package/dist/project-detail-case-study-prose.d.ts +3 -3
- package/dist/project-detail-compact-metadata.d.cts +3 -3
- package/dist/project-detail-compact-metadata.d.ts +3 -3
- package/dist/project-detail-exhibition-sidebar.d.cts +3 -3
- package/dist/project-detail-exhibition-sidebar.d.ts +3 -3
- package/dist/project-detail-fashion-editorial.d.cts +3 -3
- package/dist/project-detail-fashion-editorial.d.ts +3 -3
- package/dist/project-detail-fullscreen-hero.d.cts +3 -3
- package/dist/project-detail-fullscreen-hero.d.ts +3 -3
- package/dist/project-detail-grid-gallery.d.cts +3 -3
- package/dist/project-detail-grid-gallery.d.ts +3 -3
- package/dist/project-detail-hero-metadata.d.cts +3 -3
- package/dist/project-detail-hero-metadata.d.ts +3 -3
- package/dist/project-detail-hover-gallery.d.cts +3 -3
- package/dist/project-detail-hover-gallery.d.ts +3 -3
- package/dist/project-detail-large-hero-featured.d.cts +3 -3
- package/dist/project-detail-large-hero-featured.d.ts +3 -3
- package/dist/project-detail-list-related.d.cts +3 -3
- package/dist/project-detail-list-related.d.ts +3 -3
- package/dist/project-detail-mask-reveal.d.cts +3 -3
- package/dist/project-detail-mask-reveal.d.ts +3 -3
- package/dist/project-detail-minimal-centered.d.cts +3 -3
- package/dist/project-detail-minimal-centered.d.ts +3 -3
- package/dist/project-detail-numbered-sections.d.cts +3 -3
- package/dist/project-detail-numbered-sections.d.ts +3 -3
- package/dist/project-detail-parallax-scroll.d.cts +3 -3
- package/dist/project-detail-parallax-scroll.d.ts +3 -3
- package/dist/project-detail-photography-breadcrumb.d.cts +3 -3
- package/dist/project-detail-photography-breadcrumb.d.ts +3 -3
- package/dist/project-detail-sculpture-showcase.d.cts +3 -3
- package/dist/project-detail-sculpture-showcase.d.ts +3 -3
- package/dist/project-detail-sidebar-navigation.d.cts +3 -3
- package/dist/project-detail-sidebar-navigation.d.ts +3 -3
- package/dist/project-detail-sidebar-sticky.d.cts +3 -3
- package/dist/project-detail-sidebar-sticky.d.ts +3 -3
- package/dist/project-detail-split-materials.d.cts +3 -3
- package/dist/project-detail-split-materials.d.ts +3 -3
- package/dist/project-detail-tabbed-case-study.d.cts +3 -3
- package/dist/project-detail-tabbed-case-study.d.ts +3 -3
- package/dist/project-experience-quote.d.cts +3 -3
- package/dist/project-experience-quote.d.ts +3 -3
- package/dist/project-featured-carousel.d.cts +3 -3
- package/dist/project-featured-carousel.d.ts +3 -3
- package/dist/project-filterable-gallery.d.cts +3 -3
- package/dist/project-filterable-gallery.d.ts +3 -3
- package/dist/project-filterable-three-column.d.cts +3 -3
- package/dist/project-filterable-three-column.d.ts +3 -3
- package/dist/project-grid-gallery.d.cts +3 -3
- package/dist/project-grid-gallery.d.ts +3 -3
- package/dist/project-grid-motion.d.cts +3 -3
- package/dist/project-grid-motion.d.ts +3 -3
- package/dist/project-horizontal-cards.d.cts +3 -3
- package/dist/project-horizontal-cards.d.ts +3 -3
- package/dist/project-hover-reveal-grid.d.cts +3 -3
- package/dist/project-hover-reveal-grid.d.ts +3 -3
- package/dist/project-interactive-hover-reveal.d.cts +3 -3
- package/dist/project-interactive-hover-reveal.d.ts +3 -3
- package/dist/project-masonry-columns.d.cts +3 -3
- package/dist/project-masonry-columns.d.ts +3 -3
- package/dist/project-nature-mosaic.d.cts +3 -3
- package/dist/project-nature-mosaic.d.ts +3 -3
- package/dist/project-scroll-reveal.d.cts +3 -3
- package/dist/project-scroll-reveal.d.ts +3 -3
- package/dist/project-showcase-alternating.d.cts +3 -3
- package/dist/project-showcase-alternating.d.ts +3 -3
- package/dist/project-sticky-scroll.d.cts +3 -3
- package/dist/project-sticky-scroll.d.ts +3 -3
- package/dist/project-studio-hover-preview.d.cts +3 -3
- package/dist/project-studio-hover-preview.d.ts +3 -3
- package/dist/project-table-list.d.cts +3 -3
- package/dist/project-table-list.d.ts +3 -3
- package/dist/project-video-carousel.d.cts +3 -3
- package/dist/project-video-carousel.d.ts +3 -3
- package/dist/project-video-hover-bento.d.cts +3 -3
- package/dist/project-video-hover-bento.d.ts +3 -3
- package/dist/project-video-hover-grid.d.cts +3 -3
- package/dist/project-video-hover-grid.d.ts +3 -3
- package/dist/project-video-hover-rounded.d.cts +3 -3
- package/dist/project-video-hover-rounded.d.ts +3 -3
- package/dist/project-video-hover-stack.d.cts +3 -3
- package/dist/project-video-hover-stack.d.ts +3 -3
- package/dist/project-video-hover-two-by-two.d.cts +3 -3
- package/dist/project-video-hover-two-by-two.d.ts +3 -3
- package/dist/project-work-showcase.d.cts +3 -3
- package/dist/project-work-showcase.d.ts +3 -3
- package/dist/project-zigzag-layout.d.cts +3 -3
- package/dist/project-zigzag-layout.d.ts +3 -3
- package/dist/registry.cjs +1870 -1822
- package/dist/registry.js +661 -613
- package/dist/resource-detail-article-hero.d.cts +3 -3
- package/dist/resource-detail-article-hero.d.ts +3 -3
- package/dist/resource-detail-document-sidebar.d.cts +3 -3
- package/dist/resource-detail-document-sidebar.d.ts +3 -3
- package/dist/resource-detail-whitepaper-sidebar.d.cts +3 -3
- package/dist/resource-detail-whitepaper-sidebar.d.ts +3 -3
- package/dist/resource-list-course-cards.d.cts +3 -3
- package/dist/resource-list-course-cards.d.ts +3 -3
- package/dist/resource-list-featured-articles.d.cts +3 -3
- package/dist/resource-list-featured-articles.d.ts +3 -3
- package/dist/resource-list-featured-grid.d.cts +3 -3
- package/dist/resource-list-featured-grid.d.ts +3 -3
- package/dist/resource-list-hero-filter.d.cts +2 -2
- package/dist/resource-list-hero-filter.d.ts +2 -2
- package/dist/resource-list-news-updates.d.cts +3 -3
- package/dist/resource-list-news-updates.d.ts +3 -3
- package/dist/section.d.cts +3 -3
- package/dist/section.d.ts +3 -3
- package/dist/service-detail-centered-expertise.d.cts +3 -3
- package/dist/service-detail-centered-expertise.d.ts +3 -3
- package/dist/service-detail-compact-cards.d.cts +3 -3
- package/dist/service-detail-compact-cards.d.ts +3 -3
- package/dist/service-detail-image-hero.d.cts +3 -3
- package/dist/service-detail-image-hero.d.ts +3 -3
- package/dist/service-detail-prose-minimal.d.cts +3 -3
- package/dist/service-detail-prose-minimal.d.ts +3 -3
- package/dist/service-detail-sidebar-related.d.cts +3 -3
- package/dist/service-detail-sidebar-related.d.ts +3 -3
- package/dist/service-detail-sidebar-stats.d.cts +3 -3
- package/dist/service-detail-sidebar-stats.d.ts +3 -3
- package/dist/service-detail-stats-hero.d.cts +3 -3
- package/dist/service-detail-stats-hero.d.ts +3 -3
- package/dist/service-hover-carousel.d.cts +3 -3
- package/dist/service-hover-carousel.d.ts +3 -3
- package/dist/services-list-accordion-benefits.d.cts +3 -3
- package/dist/services-list-accordion-benefits.d.ts +3 -3
- package/dist/services-list-accordion.d.cts +3 -3
- package/dist/services-list-accordion.d.ts +3 -3
- package/dist/services-list-cards-hover.d.cts +3 -3
- package/dist/services-list-cards-hover.d.ts +3 -3
- package/dist/services-list-category-accordion.d.cts +3 -3
- package/dist/services-list-category-accordion.d.ts +3 -3
- package/dist/services-list-centered-icons.d.cts +3 -3
- package/dist/services-list-centered-icons.d.ts +3 -3
- package/dist/services-list-culture-tabs.d.cts +3 -3
- package/dist/services-list-culture-tabs.d.ts +3 -3
- package/dist/services-list-expandable-cards.d.cts +3 -3
- package/dist/services-list-expandable-cards.d.ts +3 -3
- package/dist/services-list-feature-spotlight.d.cts +3 -3
- package/dist/services-list-feature-spotlight.d.ts +3 -3
- package/dist/services-list-featured-highlight.d.cts +3 -3
- package/dist/services-list-featured-highlight.d.ts +3 -3
- package/dist/services-list-hero-cards.d.cts +3 -3
- package/dist/services-list-hero-cards.d.ts +3 -3
- package/dist/services-list-icon-grid.d.cts +3 -3
- package/dist/services-list-icon-grid.d.ts +3 -3
- package/dist/services-list-image-cards.d.cts +3 -3
- package/dist/services-list-image-cards.d.ts +3 -3
- package/dist/services-list-image-overlay-grid.d.cts +3 -3
- package/dist/services-list-image-overlay-grid.d.ts +3 -3
- package/dist/services-list-masonry.d.cts +3 -3
- package/dist/services-list-masonry.d.ts +3 -3
- package/dist/services-list-methodology-steps.d.cts +3 -3
- package/dist/services-list-methodology-steps.d.ts +3 -3
- package/dist/services-list-minimal-grid.d.cts +3 -3
- package/dist/services-list-minimal-grid.d.ts +3 -3
- package/dist/services-list-muted-cards.d.cts +3 -3
- package/dist/services-list-muted-cards.d.ts +3 -3
- package/dist/services-list-numbered-steps.d.cts +3 -3
- package/dist/services-list-numbered-steps.d.ts +3 -3
- package/dist/services-list-pricing-grid.d.cts +3 -3
- package/dist/services-list-pricing-grid.d.ts +3 -3
- package/dist/services-list-progress-sidebar.d.cts +3 -3
- package/dist/services-list-progress-sidebar.d.ts +3 -3
- package/dist/services-list-split-checklist.d.cts +3 -3
- package/dist/services-list-split-checklist.d.ts +3 -3
- package/dist/services-list-sticky-image.d.cts +3 -3
- package/dist/services-list-sticky-image.d.ts +3 -3
- package/dist/services-list-table-hover.d.cts +3 -3
- package/dist/services-list-table-hover.d.ts +3 -3
- package/dist/services-list-tabs-features.d.cts +3 -3
- package/dist/services-list-tabs-features.d.ts +3 -3
- package/dist/services-list-timeline.d.cts +3 -3
- package/dist/services-list-timeline.d.ts +3 -3
- package/dist/services-list-two-column-grid.d.cts +3 -3
- package/dist/services-list-two-column-grid.d.ts +3 -3
- package/dist/services-list-vertical-tags.d.cts +3 -3
- package/dist/services-list-vertical-tags.d.ts +3 -3
- package/dist/services-list-video-showcase.d.cts +3 -3
- package/dist/services-list-video-showcase.d.ts +3 -3
- package/dist/social-link-icon.d.cts +1 -1
- package/dist/social-link-icon.d.ts +1 -1
- package/dist/stats-animated-counter.d.cts +3 -3
- package/dist/stats-animated-counter.d.ts +3 -3
- package/dist/stats-bar-comparison.d.cts +3 -3
- package/dist/stats-bar-comparison.d.ts +3 -3
- package/dist/stats-card-group.d.cts +3 -3
- package/dist/stats-card-group.d.ts +3 -3
- package/dist/stats-circular-progress.d.cts +3 -3
- package/dist/stats-circular-progress.d.ts +3 -3
- package/dist/stats-growth-timeline.d.cts +3 -3
- package/dist/stats-growth-timeline.d.ts +3 -3
- package/dist/stats-icon-cards.d.cts +3 -3
- package/dist/stats-icon-cards.d.ts +3 -3
- package/dist/stats-impact-grid.d.cts +3 -3
- package/dist/stats-impact-grid.d.ts +3 -3
- package/dist/stats-milestone-sidebar.d.cts +3 -3
- package/dist/stats-milestone-sidebar.d.ts +3 -3
- package/dist/stats-number-ticker.d.cts +3 -3
- package/dist/stats-number-ticker.d.ts +3 -3
- package/dist/stats-primary-secondary.d.cts +3 -3
- package/dist/stats-primary-secondary.d.ts +3 -3
- package/dist/stats-simple-grid.d.cts +3 -3
- package/dist/stats-simple-grid.d.ts +3 -3
- package/dist/stats-timeline-tabs.d.cts +3 -3
- package/dist/stats-timeline-tabs.d.ts +3 -3
- package/dist/team-alternating-bios.d.cts +3 -3
- package/dist/team-alternating-bios.d.ts +3 -3
- package/dist/team-avatar-social.d.cts +3 -3
- package/dist/team-avatar-social.d.ts +3 -3
- package/dist/team-bio-badges.d.cts +3 -3
- package/dist/team-bio-badges.d.ts +3 -3
- package/dist/team-carousel-experience.d.cts +3 -3
- package/dist/team-carousel-experience.d.ts +3 -3
- package/dist/team-compact-cta.d.cts +3 -3
- package/dist/team-compact-cta.d.ts +3 -3
- package/dist/team-compact-grid.d.cts +3 -3
- package/dist/team-compact-grid.d.ts +3 -3
- package/dist/team-contact-cards.d.cts +3 -3
- package/dist/team-contact-cards.d.ts +3 -3
- package/dist/team-department-sections.d.cts +3 -3
- package/dist/team-department-sections.d.ts +3 -3
- package/dist/team-expertise-cards.d.cts +3 -3
- package/dist/team-expertise-cards.d.ts +3 -3
- package/dist/team-filterable-search.d.cts +3 -3
- package/dist/team-filterable-search.d.ts +3 -3
- package/dist/team-gradient-cards.d.cts +3 -3
- package/dist/team-gradient-cards.d.ts +3 -3
- package/dist/team-grid-animated.d.cts +3 -3
- package/dist/team-grid-animated.d.ts +3 -3
- package/dist/team-hover-highlight.d.cts +3 -3
- package/dist/team-hover-highlight.d.ts +3 -3
- package/dist/team-hover-overlay.d.cts +3 -3
- package/dist/team-hover-overlay.d.ts +3 -3
- package/dist/team-investor-showcase.d.cts +3 -3
- package/dist/team-investor-showcase.d.ts +3 -3
- package/dist/team-large-images.d.cts +3 -3
- package/dist/team-large-images.d.ts +3 -3
- package/dist/team-media-showcase.d.cts +3 -3
- package/dist/team-media-showcase.d.ts +3 -3
- package/dist/team-role-filter.d.cts +3 -3
- package/dist/team-role-filter.d.ts +3 -3
- package/dist/team-simple-grid.d.cts +3 -3
- package/dist/team-simple-grid.d.ts +3 -3
- package/dist/team-skill-badges.d.cts +3 -3
- package/dist/team-skill-badges.d.ts +3 -3
- package/dist/team-social-cards.d.cts +3 -3
- package/dist/team-social-cards.d.ts +3 -3
- package/dist/team-social-grid.d.cts +3 -3
- package/dist/team-social-grid.d.ts +3 -3
- package/dist/team-testimonial-stats.d.cts +3 -3
- package/dist/team-testimonial-stats.d.ts +3 -3
- package/dist/testimonial-carousel-cards.d.cts +3 -3
- package/dist/testimonial-carousel-cards.d.ts +3 -3
- package/dist/testimonials-animated-split.d.cts +3 -3
- package/dist/testimonials-animated-split.d.ts +3 -3
- package/dist/testimonials-bento-grid.d.cts +3 -3
- package/dist/testimonials-bento-grid.d.ts +3 -3
- package/dist/testimonials-carousel-image.d.cts +3 -3
- package/dist/testimonials-carousel-image.d.ts +3 -3
- package/dist/testimonials-centered-avatars.d.cts +3 -3
- package/dist/testimonials-centered-avatars.d.ts +3 -3
- package/dist/testimonials-company-logo.d.cts +3 -3
- package/dist/testimonials-company-logo.d.ts +3 -3
- package/dist/testimonials-grid-add-review.d.cts +3 -3
- package/dist/testimonials-grid-add-review.d.ts +3 -3
- package/dist/testimonials-images-helpful.d.cts +3 -3
- package/dist/testimonials-images-helpful.d.ts +3 -3
- package/dist/testimonials-large-quote.d.cts +3 -3
- package/dist/testimonials-large-quote.d.ts +3 -3
- package/dist/testimonials-list-verified.d.cts +3 -3
- package/dist/testimonials-list-verified.d.ts +3 -3
- package/dist/testimonials-logo-cards.d.cts +3 -3
- package/dist/testimonials-logo-cards.d.ts +3 -3
- package/dist/testimonials-marquee.d.cts +3 -3
- package/dist/testimonials-marquee.d.ts +3 -3
- package/dist/testimonials-masonry-grid.d.cts +3 -3
- package/dist/testimonials-masonry-grid.d.ts +3 -3
- package/dist/testimonials-mini-dividers.d.cts +3 -3
- package/dist/testimonials-mini-dividers.d.ts +3 -3
- package/dist/testimonials-minimal-numbered.d.cts +3 -3
- package/dist/testimonials-minimal-numbered.d.ts +3 -3
- package/dist/testimonials-parallax-number.d.cts +3 -3
- package/dist/testimonials-parallax-number.d.ts +3 -3
- package/dist/testimonials-quote-carousel.d.cts +3 -3
- package/dist/testimonials-quote-carousel.d.ts +3 -3
- package/dist/testimonials-scrolling-columns.d.cts +3 -3
- package/dist/testimonials-scrolling-columns.d.ts +3 -3
- package/dist/testimonials-simple-grid.d.cts +3 -3
- package/dist/testimonials-simple-grid.d.ts +3 -3
- package/dist/testimonials-slider-minimal.d.cts +3 -3
- package/dist/testimonials-slider-minimal.d.ts +3 -3
- package/dist/testimonials-split-image.d.cts +3 -3
- package/dist/testimonials-split-image.d.ts +3 -3
- package/dist/testimonials-stats-header.d.cts +3 -3
- package/dist/testimonials-stats-header.d.ts +3 -3
- package/dist/testimonials-twitter-cards.d.cts +3 -3
- package/dist/testimonials-twitter-cards.d.ts +3 -3
- package/dist/testimonials-wall-compact.d.cts +3 -3
- package/dist/testimonials-wall-compact.d.ts +3 -3
- package/dist/timeline-ai-workflow-cards.d.cts +3 -3
- package/dist/timeline-ai-workflow-cards.d.ts +3 -3
- package/dist/timeline-alternating-diagonal.d.cts +3 -3
- package/dist/timeline-alternating-diagonal.d.ts +3 -3
- package/dist/timeline-changelog-badges.d.cts +3 -3
- package/dist/timeline-changelog-badges.d.ts +3 -3
- package/dist/timeline-history-prose.d.cts +3 -3
- package/dist/timeline-history-prose.d.ts +3 -3
- package/dist/timeline-horizontal-icons.d.cts +3 -3
- package/dist/timeline-horizontal-icons.d.ts +3 -3
- package/dist/timeline-horizontal-phases.d.cts +3 -3
- package/dist/timeline-horizontal-phases.d.ts +3 -3
- package/dist/timeline-product-launch.d.cts +3 -3
- package/dist/timeline-product-launch.d.ts +3 -3
- package/dist/timeline-productivity-list.d.cts +3 -3
- package/dist/timeline-productivity-list.d.ts +3 -3
- package/dist/timeline-scroll-highlight.d.cts +3 -3
- package/dist/timeline-scroll-highlight.d.ts +3 -3
- package/dist/timeline-scroll-sticky-image.d.cts +3 -3
- package/dist/timeline-scroll-sticky-image.d.ts +3 -3
- package/dist/timeline-stepper-animated.d.cts +3 -3
- package/dist/timeline-stepper-animated.d.ts +3 -3
- package/dist/timeline-tabbed-phases.d.cts +3 -3
- package/dist/timeline-tabbed-phases.d.ts +3 -3
- package/dist/timeline-two-column-featured.d.cts +3 -3
- package/dist/timeline-two-column-featured.d.ts +3 -3
- package/dist/timeline-vertical-icon-dashed.d.cts +3 -3
- package/dist/timeline-vertical-icon-dashed.d.ts +3 -3
- package/dist/types.d.cts +3 -3
- package/dist/types.d.ts +3 -3
- package/dist/utils.d.cts +3 -3
- package/dist/utils.d.ts +3 -3
- package/package.json +1 -1
package/dist/registry.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import
|
|
1
|
+
import * as React26 from 'react';
|
|
2
|
+
import React26__default, { Fragment, createContext, useMemo, forwardRef, useCallback, useState, useEffect, useRef, startTransition, useContext } from 'react';
|
|
3
3
|
import { clsx } from 'clsx';
|
|
4
4
|
import { twMerge } from 'tailwind-merge';
|
|
5
5
|
import { jsx, jsxs, Fragment as Fragment$1 } from 'react/jsx-runtime';
|
|
@@ -140,7 +140,7 @@ var maxWidthStyles = {
|
|
|
140
140
|
"4xl": "max-w-[1536px]",
|
|
141
141
|
full: "max-w-full"
|
|
142
142
|
};
|
|
143
|
-
var Container =
|
|
143
|
+
var Container = React26__default.forwardRef(
|
|
144
144
|
({ children, maxWidth = "xl", className, as = "div", ...props }, ref) => {
|
|
145
145
|
const Component = as;
|
|
146
146
|
return /* @__PURE__ */ jsx(
|
|
@@ -445,7 +445,7 @@ var spacingStyles = {
|
|
|
445
445
|
};
|
|
446
446
|
var predefinedSpacings = ["none", "sm", "md", "lg", "xl"];
|
|
447
447
|
var isPredefinedSpacing = (spacing) => predefinedSpacings.includes(spacing);
|
|
448
|
-
var Section =
|
|
448
|
+
var Section = React26__default.forwardRef(
|
|
449
449
|
({
|
|
450
450
|
id,
|
|
451
451
|
title,
|
|
@@ -1035,7 +1035,7 @@ function useNavigation({
|
|
|
1035
1035
|
href,
|
|
1036
1036
|
onClick
|
|
1037
1037
|
} = {}) {
|
|
1038
|
-
const linkType =
|
|
1038
|
+
const linkType = React26.useMemo(() => {
|
|
1039
1039
|
if (!href || href.trim() === "") {
|
|
1040
1040
|
return onClick ? "none" : "none";
|
|
1041
1041
|
}
|
|
@@ -1056,7 +1056,7 @@ function useNavigation({
|
|
|
1056
1056
|
return "internal";
|
|
1057
1057
|
}
|
|
1058
1058
|
}, [href, onClick]);
|
|
1059
|
-
const normalizedHref =
|
|
1059
|
+
const normalizedHref = React26.useMemo(() => {
|
|
1060
1060
|
if (!href || href.trim() === "") {
|
|
1061
1061
|
return void 0;
|
|
1062
1062
|
}
|
|
@@ -1074,7 +1074,7 @@ function useNavigation({
|
|
|
1074
1074
|
return trimmed;
|
|
1075
1075
|
}
|
|
1076
1076
|
}, [href, linkType]);
|
|
1077
|
-
const target =
|
|
1077
|
+
const target = React26.useMemo(() => {
|
|
1078
1078
|
switch (linkType) {
|
|
1079
1079
|
case "external":
|
|
1080
1080
|
return "_blank";
|
|
@@ -1087,7 +1087,7 @@ function useNavigation({
|
|
|
1087
1087
|
return void 0;
|
|
1088
1088
|
}
|
|
1089
1089
|
}, [linkType]);
|
|
1090
|
-
const rel =
|
|
1090
|
+
const rel = React26.useMemo(() => {
|
|
1091
1091
|
if (linkType === "external") {
|
|
1092
1092
|
return "noopener noreferrer";
|
|
1093
1093
|
}
|
|
@@ -1096,7 +1096,7 @@ function useNavigation({
|
|
|
1096
1096
|
const isExternal = linkType === "external";
|
|
1097
1097
|
const isInternal = linkType === "internal";
|
|
1098
1098
|
const shouldUseRouter = isInternal && typeof normalizedHref === "string" && normalizedHref.startsWith("/");
|
|
1099
|
-
const handleClick =
|
|
1099
|
+
const handleClick = React26.useCallback(
|
|
1100
1100
|
(event) => {
|
|
1101
1101
|
if (onClick) {
|
|
1102
1102
|
try {
|
|
@@ -1280,7 +1280,7 @@ var buttonVariants = cva(baseStyles, {
|
|
|
1280
1280
|
size: "default"
|
|
1281
1281
|
}
|
|
1282
1282
|
});
|
|
1283
|
-
var Pressable =
|
|
1283
|
+
var Pressable = React26.forwardRef(
|
|
1284
1284
|
({
|
|
1285
1285
|
children,
|
|
1286
1286
|
className,
|
|
@@ -1393,7 +1393,6 @@ function AboutCompanyProfile({
|
|
|
1393
1393
|
achievements,
|
|
1394
1394
|
achievementsSlot,
|
|
1395
1395
|
className,
|
|
1396
|
-
containerClassName,
|
|
1397
1396
|
titleClassName,
|
|
1398
1397
|
descriptionClassName,
|
|
1399
1398
|
mainImageClassName,
|
|
@@ -1405,7 +1404,8 @@ function AboutCompanyProfile({
|
|
|
1405
1404
|
achievementsDescriptionClassName,
|
|
1406
1405
|
optixFlowConfig,
|
|
1407
1406
|
background,
|
|
1408
|
-
|
|
1407
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
1408
|
+
spacing = "py-12 md:py-32",
|
|
1409
1409
|
pattern,
|
|
1410
1410
|
patternOpacity
|
|
1411
1411
|
}) {
|
|
@@ -1416,9 +1416,7 @@ function AboutCompanyProfile({
|
|
|
1416
1416
|
"div",
|
|
1417
1417
|
{
|
|
1418
1418
|
className: cn(
|
|
1419
|
-
"flex flex-col justify-between gap-6 rounded-xl p-7 md:w-1/2 lg:w-auto",
|
|
1420
|
-
getNestedCardBg(background),
|
|
1421
|
-
getNestedCardTextColor(background),
|
|
1419
|
+
"flex bg-muted text-muted-foreground flex-col justify-between gap-6 rounded-xl p-7 md:w-1/2 lg:w-auto",
|
|
1422
1420
|
breakoutClassName
|
|
1423
1421
|
),
|
|
1424
1422
|
children: [
|
|
@@ -1427,13 +1425,13 @@ function AboutCompanyProfile({
|
|
|
1427
1425
|
{
|
|
1428
1426
|
src: breakout.logo.src,
|
|
1429
1427
|
alt: breakout.logo.alt,
|
|
1430
|
-
className: "mr-auto h-12
|
|
1428
|
+
className: "mr-auto h-12",
|
|
1431
1429
|
optixFlowConfig
|
|
1432
1430
|
}
|
|
1433
1431
|
),
|
|
1434
1432
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
1435
1433
|
typeof breakout.title === "string" ? /* @__PURE__ */ jsx("p", { className: "mb-2 text-lg font-semibold", children: breakout.title }) : breakout.title,
|
|
1436
|
-
typeof breakout.description === "string" ? /* @__PURE__ */ jsx("p", { className:
|
|
1434
|
+
typeof breakout.description === "string" ? /* @__PURE__ */ jsx("p", { className: "text-base", children: breakout.description }) : breakout.description
|
|
1437
1435
|
] }),
|
|
1438
1436
|
breakout.action && /* @__PURE__ */ jsx(
|
|
1439
1437
|
Pressable,
|
|
@@ -1515,7 +1513,7 @@ function AboutCompanyProfile({
|
|
|
1515
1513
|
spacing,
|
|
1516
1514
|
pattern,
|
|
1517
1515
|
patternOpacity,
|
|
1518
|
-
className
|
|
1516
|
+
className,
|
|
1519
1517
|
containerClassName,
|
|
1520
1518
|
children: [
|
|
1521
1519
|
/* @__PURE__ */ jsxs("div", { className: "mb-6 md:mb-14 grid gap-5 md:grid-cols-2 text-left", children: [
|
|
@@ -1528,18 +1526,17 @@ function AboutCompanyProfile({
|
|
|
1528
1526
|
),
|
|
1529
1527
|
children: title
|
|
1530
1528
|
}
|
|
1531
|
-
) :
|
|
1529
|
+
) : title),
|
|
1532
1530
|
description && (typeof description === "string" ? /* @__PURE__ */ jsx(
|
|
1533
1531
|
"p",
|
|
1534
1532
|
{
|
|
1535
1533
|
className: cn(
|
|
1536
|
-
"text-balance",
|
|
1537
|
-
getTextColor(background, "muted"),
|
|
1534
|
+
"text-balance bg-muted text-muted-foreground",
|
|
1538
1535
|
descriptionClassName
|
|
1539
1536
|
),
|
|
1540
1537
|
children: description
|
|
1541
1538
|
}
|
|
1542
|
-
) :
|
|
1539
|
+
) : description)
|
|
1543
1540
|
] }),
|
|
1544
1541
|
/* @__PURE__ */ jsxs("div", { className: "grid gap-7 lg:grid-cols-3", children: [
|
|
1545
1542
|
mainImage && /* @__PURE__ */ jsx(
|
|
@@ -1575,9 +1572,7 @@ function AboutCompanyProfile({
|
|
|
1575
1572
|
"div",
|
|
1576
1573
|
{
|
|
1577
1574
|
className: cn(
|
|
1578
|
-
"relative overflow-hidden rounded-xl p-7 md:p-16",
|
|
1579
|
-
getNestedCardBg(background),
|
|
1580
|
-
getNestedCardTextColor(background),
|
|
1575
|
+
"relative overflow-hidden rounded-xl p-7 md:p-16 bg-muted text-muted-foreground",
|
|
1581
1576
|
achievementsClassName
|
|
1582
1577
|
),
|
|
1583
1578
|
children: [
|
|
@@ -1591,18 +1586,8 @@ function AboutCompanyProfile({
|
|
|
1591
1586
|
),
|
|
1592
1587
|
children: achievementsTitle
|
|
1593
1588
|
}
|
|
1594
|
-
) :
|
|
1595
|
-
achievementsDescription && (typeof achievementsDescription === "string" ? /* @__PURE__ */ jsx(
|
|
1596
|
-
"p",
|
|
1597
|
-
{
|
|
1598
|
-
className: cn(
|
|
1599
|
-
"max-w-xl",
|
|
1600
|
-
getTextColor(background, "muted"),
|
|
1601
|
-
achievementsDescriptionClassName
|
|
1602
|
-
),
|
|
1603
|
-
children: achievementsDescription
|
|
1604
|
-
}
|
|
1605
|
-
) : /* @__PURE__ */ jsx("div", { className: achievementsDescriptionClassName, children: achievementsDescription }))
|
|
1589
|
+
) : achievementsTitle),
|
|
1590
|
+
achievementsDescription && (typeof achievementsDescription === "string" ? /* @__PURE__ */ jsx("p", { className: cn("max-w-xl", achievementsDescriptionClassName), children: achievementsDescription }) : achievementsDescription)
|
|
1606
1591
|
] }),
|
|
1607
1592
|
/* @__PURE__ */ jsx("div", { className: "mt-10 grid grid-cols-2 gap-x-4 gap-y-8 text-center lg:grid-cols-4", children: achievementsContent })
|
|
1608
1593
|
]
|
|
@@ -2328,10 +2313,10 @@ var ImageSlider = ({
|
|
|
2328
2313
|
optixFlowConfig
|
|
2329
2314
|
}) => {
|
|
2330
2315
|
const hasImages = images.length > 0;
|
|
2331
|
-
const [currentIndex, setCurrentIndex] =
|
|
2316
|
+
const [currentIndex, setCurrentIndex] = React26.useState(
|
|
2332
2317
|
() => normalizeIndex(startIndex, images.length)
|
|
2333
2318
|
);
|
|
2334
|
-
const handleNext =
|
|
2319
|
+
const handleNext = React26.useCallback(() => {
|
|
2335
2320
|
if (!hasImages) return;
|
|
2336
2321
|
setCurrentIndex((prevIndex) => {
|
|
2337
2322
|
const nextIndex = prevIndex + 1 >= images.length ? 0 : prevIndex + 1;
|
|
@@ -2339,7 +2324,7 @@ var ImageSlider = ({
|
|
|
2339
2324
|
return nextIndex;
|
|
2340
2325
|
});
|
|
2341
2326
|
}, [hasImages, images.length, onSlideChange]);
|
|
2342
|
-
const handlePrevious =
|
|
2327
|
+
const handlePrevious = React26.useCallback(() => {
|
|
2343
2328
|
if (!hasImages) return;
|
|
2344
2329
|
setCurrentIndex((prevIndex) => {
|
|
2345
2330
|
const nextIndex = prevIndex - 1 < 0 ? images.length - 1 : prevIndex - 1;
|
|
@@ -2347,11 +2332,11 @@ var ImageSlider = ({
|
|
|
2347
2332
|
return nextIndex;
|
|
2348
2333
|
});
|
|
2349
2334
|
}, [hasImages, images.length, onSlideChange]);
|
|
2350
|
-
|
|
2335
|
+
React26.useEffect(() => {
|
|
2351
2336
|
if (!hasImages) return;
|
|
2352
2337
|
setCurrentIndex(normalizeIndex(startIndex, images.length));
|
|
2353
2338
|
}, [startIndex, images.length, hasImages]);
|
|
2354
|
-
|
|
2339
|
+
React26.useEffect(() => {
|
|
2355
2340
|
if (!enableKeyboard || !hasImages) return;
|
|
2356
2341
|
const handleKeyDown = (event) => {
|
|
2357
2342
|
if (event.key === "ArrowRight") {
|
|
@@ -2365,7 +2350,7 @@ var ImageSlider = ({
|
|
|
2365
2350
|
window.removeEventListener("keydown", handleKeyDown);
|
|
2366
2351
|
};
|
|
2367
2352
|
}, [enableKeyboard, handleNext, handlePrevious, hasImages]);
|
|
2368
|
-
|
|
2353
|
+
React26.useEffect(() => {
|
|
2369
2354
|
if (!autoplay || images.length < 2) return;
|
|
2370
2355
|
const interval = window.setInterval(handleNext, autoplayIntervalMs);
|
|
2371
2356
|
return () => window.clearInterval(interval);
|
|
@@ -2657,7 +2642,7 @@ var platformIconMap = {
|
|
|
2657
2642
|
dribbble: "cib/dribbble",
|
|
2658
2643
|
unknown: "icon-park-solid/circular-connection"
|
|
2659
2644
|
};
|
|
2660
|
-
var SocialLinkIcon =
|
|
2645
|
+
var SocialLinkIcon = React26.forwardRef(
|
|
2661
2646
|
({
|
|
2662
2647
|
platformName,
|
|
2663
2648
|
label,
|
|
@@ -2670,13 +2655,13 @@ var SocialLinkIcon = React25.forwardRef(
|
|
|
2670
2655
|
...pressableProps
|
|
2671
2656
|
}, ref) => {
|
|
2672
2657
|
const platform = usePlatformFromUrl(href);
|
|
2673
|
-
const smartPlatformName =
|
|
2658
|
+
const smartPlatformName = React26.useMemo(() => {
|
|
2674
2659
|
return platform || platformName;
|
|
2675
2660
|
}, [platform, platformName]);
|
|
2676
|
-
const iconName =
|
|
2661
|
+
const iconName = React26.useMemo(() => {
|
|
2677
2662
|
return iconNameOverride || platformIconMap[smartPlatformName];
|
|
2678
2663
|
}, [iconNameOverride, smartPlatformName]);
|
|
2679
|
-
const accessibleLabel =
|
|
2664
|
+
const accessibleLabel = React26.useMemo(() => {
|
|
2680
2665
|
return label || platformName;
|
|
2681
2666
|
}, [label, platformName]);
|
|
2682
2667
|
return /* @__PURE__ */ jsx(
|
|
@@ -3101,7 +3086,7 @@ function AboutExpandableValues({
|
|
|
3101
3086
|
pattern,
|
|
3102
3087
|
patternOpacity
|
|
3103
3088
|
}) {
|
|
3104
|
-
const [expandedValue, setExpandedValue] =
|
|
3089
|
+
const [expandedValue, setExpandedValue] = React26.useState(null);
|
|
3105
3090
|
const toggleExpand = useCallback((id) => {
|
|
3106
3091
|
setExpandedValue((prev) => prev === id ? null : id);
|
|
3107
3092
|
}, []);
|
|
@@ -3355,7 +3340,7 @@ function CommunityInitiatives({
|
|
|
3355
3340
|
pattern,
|
|
3356
3341
|
patternOpacity
|
|
3357
3342
|
}) {
|
|
3358
|
-
const [activeCategory, setActiveCategory] =
|
|
3343
|
+
const [activeCategory, setActiveCategory] = React26.useState(
|
|
3359
3344
|
categories?.[0]?.id || ""
|
|
3360
3345
|
);
|
|
3361
3346
|
const currentCategory = categories?.find((category) => category.id === activeCategory) || categories?.[0];
|
|
@@ -3602,12 +3587,12 @@ function TextInner({ as, className, children, ...props }, ref) {
|
|
|
3602
3587
|
const Component = as || "span";
|
|
3603
3588
|
return /* @__PURE__ */ jsx(Component, { ref, className: cn(className), ...props, children });
|
|
3604
3589
|
}
|
|
3605
|
-
var Text =
|
|
3590
|
+
var Text = React26.forwardRef(TextInner);
|
|
3606
3591
|
Text.displayName = "Text";
|
|
3607
3592
|
function isContentTextItem(item) {
|
|
3608
|
-
return item !== null && typeof item === "object" && !
|
|
3593
|
+
return item !== null && typeof item === "object" && !React26.isValidElement(item) && "_type" in item && item._type === "text";
|
|
3609
3594
|
}
|
|
3610
|
-
var ContentGroup =
|
|
3595
|
+
var ContentGroup = React26.forwardRef(
|
|
3611
3596
|
({ items, className, children, ...props }, ref) => {
|
|
3612
3597
|
const hasContent = items && items.length > 0;
|
|
3613
3598
|
if (!hasContent) {
|
|
@@ -3620,10 +3605,10 @@ var ContentGroup = React25.forwardRef(
|
|
|
3620
3605
|
return /* @__PURE__ */ jsx(Text, { ...textProps }, idx);
|
|
3621
3606
|
}
|
|
3622
3607
|
const reactNode = item;
|
|
3623
|
-
if (
|
|
3624
|
-
return
|
|
3608
|
+
if (React26.isValidElement(reactNode)) {
|
|
3609
|
+
return React26.cloneElement(reactNode, { key: reactNode.key ?? idx });
|
|
3625
3610
|
}
|
|
3626
|
-
return /* @__PURE__ */ jsx(
|
|
3611
|
+
return /* @__PURE__ */ jsx(React26.Fragment, { children: reactNode }, idx);
|
|
3627
3612
|
}),
|
|
3628
3613
|
children
|
|
3629
3614
|
] });
|
|
@@ -3660,7 +3645,7 @@ function AboutCultureTabs({
|
|
|
3660
3645
|
patternOpacity
|
|
3661
3646
|
}) {
|
|
3662
3647
|
const resolvedAspects = aspects ?? [];
|
|
3663
|
-
const [activeTab, setActiveTab] =
|
|
3648
|
+
const [activeTab, setActiveTab] = React26.useState(
|
|
3664
3649
|
resolvedAspects[0]?.id || ""
|
|
3665
3650
|
);
|
|
3666
3651
|
const headerItems = useMemo(() => {
|
|
@@ -4193,7 +4178,7 @@ function BannerDeliveryCountdown({
|
|
|
4193
4178
|
}, [prefixText, timerContent, middleText, deliveryDateContent]);
|
|
4194
4179
|
return /* @__PURE__ */ jsx(Section, { background, spacing: "none", className: cn("bg-accent text-accent-foreground", className), children: /* @__PURE__ */ jsx("div", { className: cn("container py-2.5", containerClassName), children: /* @__PURE__ */ jsx("div", { className: cn("flex flex-wrap items-center justify-center gap-3 text-sm", contentClassName), children: /* @__PURE__ */ jsxs("div", { className: cn("flex items-center gap-2", messageClassName), children: [
|
|
4195
4180
|
iconContent,
|
|
4196
|
-
messageParts.length > 0 && /* @__PURE__ */ jsx("span", { children: messageParts.map((part, index) => /* @__PURE__ */ jsxs(
|
|
4181
|
+
messageParts.length > 0 && /* @__PURE__ */ jsx("span", { children: messageParts.map((part, index) => /* @__PURE__ */ jsxs(React26.Fragment, { children: [
|
|
4197
4182
|
index > 0 ? " " : null,
|
|
4198
4183
|
part
|
|
4199
4184
|
] }, index)) })
|
|
@@ -5464,8 +5449,8 @@ var BrandAttribution = ({
|
|
|
5464
5449
|
}
|
|
5465
5450
|
const { prefix = "", anchorText, href, suffix = "" } = options[optionIndex];
|
|
5466
5451
|
const ContainerEl = variant;
|
|
5467
|
-
const [trackedHref, setTrackedHref] =
|
|
5468
|
-
|
|
5452
|
+
const [trackedHref, setTrackedHref] = React26.useState(href);
|
|
5453
|
+
React26.useEffect(() => {
|
|
5469
5454
|
setTrackedHref(buildTrackedHref(href));
|
|
5470
5455
|
}, [href]);
|
|
5471
5456
|
return /* @__PURE__ */ jsxs(ContainerEl, { className: containerClassName, children: [
|
|
@@ -5608,7 +5593,7 @@ function FooterSocialNewsletter({
|
|
|
5608
5593
|
onError,
|
|
5609
5594
|
uploadTokens
|
|
5610
5595
|
});
|
|
5611
|
-
const renderForm =
|
|
5596
|
+
const renderForm = React26.useMemo(() => {
|
|
5612
5597
|
if (formSlot) return formSlot;
|
|
5613
5598
|
const defaultButtonAction = {
|
|
5614
5599
|
label: "Subscribe",
|
|
@@ -5942,7 +5927,7 @@ function FooterSimpleCentered({
|
|
|
5942
5927
|
]);
|
|
5943
5928
|
const bottomLinksContent = useMemo(() => {
|
|
5944
5929
|
if (!bottomLinks || bottomLinks.length === 0) return null;
|
|
5945
|
-
return bottomLinks.map((link, idx) => /* @__PURE__ */ jsx(
|
|
5930
|
+
return bottomLinks.map((link, idx) => /* @__PURE__ */ jsx(React26.Fragment, { children: /* @__PURE__ */ jsx(
|
|
5946
5931
|
Pressable,
|
|
5947
5932
|
{
|
|
5948
5933
|
href: link.href,
|
|
@@ -8567,7 +8552,7 @@ function AboutInteractiveTabs({
|
|
|
8567
8552
|
pattern,
|
|
8568
8553
|
patternOpacity
|
|
8569
8554
|
}) {
|
|
8570
|
-
const [activeTab, setActiveTab] =
|
|
8555
|
+
const [activeTab, setActiveTab] = React26.useState(tabs?.[0]?.id ?? "");
|
|
8571
8556
|
const activeContent = useMemo(() => {
|
|
8572
8557
|
return tabs?.find((tab) => tab.id === activeTab)?.content;
|
|
8573
8558
|
}, [tabs, activeTab]);
|
|
@@ -12598,7 +12583,7 @@ function CtaVideoBackgroundHero({
|
|
|
12598
12583
|
pattern,
|
|
12599
12584
|
patternOpacity
|
|
12600
12585
|
}) {
|
|
12601
|
-
const [isModalOpen, setIsModalOpen] =
|
|
12586
|
+
const [isModalOpen, setIsModalOpen] = React26.useState(false);
|
|
12602
12587
|
const handleOpenModal = () => {
|
|
12603
12588
|
setIsModalOpen(true);
|
|
12604
12589
|
onModalOpen?.();
|
|
@@ -12786,7 +12771,7 @@ function CtaWorkflowTabs({
|
|
|
12786
12771
|
patternOpacity,
|
|
12787
12772
|
optixFlowConfig
|
|
12788
12773
|
}) {
|
|
12789
|
-
const [activeTab, setActiveTab] =
|
|
12774
|
+
const [activeTab, setActiveTab] = React26.useState(tabs?.[0]?.id || "");
|
|
12790
12775
|
const activeTabData = tabs?.find((tab) => tab.id === activeTab) || tabs?.[0];
|
|
12791
12776
|
const actionsContent = useMemo(() => {
|
|
12792
12777
|
if (actionsSlot) return actionsSlot;
|
|
@@ -13399,7 +13384,7 @@ function ContactFloatingBanner({
|
|
|
13399
13384
|
pattern,
|
|
13400
13385
|
patternOpacity
|
|
13401
13386
|
}) {
|
|
13402
|
-
const actionsContent =
|
|
13387
|
+
const actionsContent = React26.useMemo(() => {
|
|
13403
13388
|
if (actionsSlot) return actionsSlot;
|
|
13404
13389
|
if (actions && actions.length > 0) {
|
|
13405
13390
|
return actions.map((action, index) => {
|
|
@@ -13743,7 +13728,7 @@ function ContactCard({
|
|
|
13743
13728
|
pattern,
|
|
13744
13729
|
patternOpacity
|
|
13745
13730
|
}) {
|
|
13746
|
-
const contactOptionsContent =
|
|
13731
|
+
const contactOptionsContent = React26.useMemo(() => {
|
|
13747
13732
|
if (contactOptionsSlot) return contactOptionsSlot;
|
|
13748
13733
|
if (contactOptions && contactOptions.length > 0) {
|
|
13749
13734
|
return contactOptions.map((option, key) => /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-4", children: [
|
|
@@ -13767,7 +13752,7 @@ function ContactCard({
|
|
|
13767
13752
|
}
|
|
13768
13753
|
return null;
|
|
13769
13754
|
}, [contactOptionsSlot, contactOptions]);
|
|
13770
|
-
const socialLinksContent =
|
|
13755
|
+
const socialLinksContent = React26.useMemo(() => {
|
|
13771
13756
|
if (socialLinksSlot) return socialLinksSlot;
|
|
13772
13757
|
if (socialLinks && socialLinks.length > 0) {
|
|
13773
13758
|
return socialLinks.map((social, key) => /* @__PURE__ */ jsx(
|
|
@@ -14509,7 +14494,7 @@ function ContactDark({
|
|
|
14509
14494
|
pattern,
|
|
14510
14495
|
patternOpacity
|
|
14511
14496
|
}) {
|
|
14512
|
-
const contactOptionsContent =
|
|
14497
|
+
const contactOptionsContent = React26.useMemo(() => {
|
|
14513
14498
|
if (contactOptionsSlot) return contactOptionsSlot;
|
|
14514
14499
|
if (contactOptions && contactOptions.length > 0) {
|
|
14515
14500
|
return contactOptions.map((option, key) => /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
|
|
@@ -14533,7 +14518,7 @@ function ContactDark({
|
|
|
14533
14518
|
}
|
|
14534
14519
|
return null;
|
|
14535
14520
|
}, [contactOptionsSlot, contactOptions]);
|
|
14536
|
-
const socialLinksContent =
|
|
14521
|
+
const socialLinksContent = React26.useMemo(() => {
|
|
14537
14522
|
if (socialLinksSlot) return socialLinksSlot;
|
|
14538
14523
|
if (socialLinks && socialLinks.length > 0) {
|
|
14539
14524
|
return socialLinks.map((social, key) => /* @__PURE__ */ jsx(
|
|
@@ -14981,6 +14966,40 @@ function ContactEmergency({
|
|
|
14981
14966
|
pattern,
|
|
14982
14967
|
patternOpacity
|
|
14983
14968
|
}) {
|
|
14969
|
+
const headerItems = useMemo(() => {
|
|
14970
|
+
const items = [];
|
|
14971
|
+
if (heading) {
|
|
14972
|
+
if (typeof heading === "string") {
|
|
14973
|
+
items.push({
|
|
14974
|
+
_type: "text",
|
|
14975
|
+
as: "h2",
|
|
14976
|
+
className: cn(
|
|
14977
|
+
"text-4xl lg:text-5xl xl:text-6xl font-bold text-pretty",
|
|
14978
|
+
headingClassName
|
|
14979
|
+
),
|
|
14980
|
+
children: heading
|
|
14981
|
+
});
|
|
14982
|
+
} else {
|
|
14983
|
+
items.push(heading);
|
|
14984
|
+
}
|
|
14985
|
+
}
|
|
14986
|
+
if (description) {
|
|
14987
|
+
if (typeof description === "string") {
|
|
14988
|
+
items.push({
|
|
14989
|
+
_type: "text",
|
|
14990
|
+
as: "p",
|
|
14991
|
+
className: cn(
|
|
14992
|
+
"leading-relaxed text-pretty md:text-balance text-lg",
|
|
14993
|
+
descriptionClassName
|
|
14994
|
+
),
|
|
14995
|
+
children: description
|
|
14996
|
+
});
|
|
14997
|
+
} else {
|
|
14998
|
+
items.push(description);
|
|
14999
|
+
}
|
|
15000
|
+
}
|
|
15001
|
+
return items;
|
|
15002
|
+
}, [heading, headingClassName, description, descriptionClassName]);
|
|
14984
15003
|
return /* @__PURE__ */ jsx(
|
|
14985
15004
|
Section,
|
|
14986
15005
|
{
|
|
@@ -14992,35 +15011,14 @@ function ContactEmergency({
|
|
|
14992
15011
|
containerClassName,
|
|
14993
15012
|
children: /* @__PURE__ */ jsxs("div", { className: "grid md:grid-cols-2 gap-12 md:gap-28", children: [
|
|
14994
15013
|
/* @__PURE__ */ jsx("div", { className: "h-full", children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-start justify-between h-full gap-8 md:gap-12", children: [
|
|
14995
|
-
/* @__PURE__ */
|
|
14996
|
-
|
|
15014
|
+
/* @__PURE__ */ jsx(
|
|
15015
|
+
ContentGroup,
|
|
14997
15016
|
{
|
|
15017
|
+
items: headerItems,
|
|
14998
15018
|
className: cn(
|
|
14999
15019
|
"flex flex-col items-start gap-4 text-left",
|
|
15000
15020
|
headerClassName
|
|
15001
|
-
)
|
|
15002
|
-
children: [
|
|
15003
|
-
heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
|
|
15004
|
-
"h2",
|
|
15005
|
-
{
|
|
15006
|
-
className: cn(
|
|
15007
|
-
"text-4xl lg:text-5xl xl:text-6xl font-bold text-pretty",
|
|
15008
|
-
headingClassName
|
|
15009
|
-
),
|
|
15010
|
-
children: heading
|
|
15011
|
-
}
|
|
15012
|
-
) : heading),
|
|
15013
|
-
description && (typeof description === "string" ? /* @__PURE__ */ jsx(
|
|
15014
|
-
"p",
|
|
15015
|
-
{
|
|
15016
|
-
className: cn(
|
|
15017
|
-
"leading-relaxed text-pretty md:text-balance text-lg",
|
|
15018
|
-
descriptionClassName
|
|
15019
|
-
),
|
|
15020
|
-
children: description
|
|
15021
|
-
}
|
|
15022
|
-
) : description)
|
|
15023
|
-
]
|
|
15021
|
+
)
|
|
15024
15022
|
}
|
|
15025
15023
|
),
|
|
15026
15024
|
contactItems && contactItems.length > 0 && /* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 gap-4 md:gap-6 w-full", children: contactItems.map((item, index) => /* @__PURE__ */ jsx(
|
|
@@ -15051,7 +15049,7 @@ function ContactEmergency({
|
|
|
15051
15049
|
index
|
|
15052
15050
|
)) })
|
|
15053
15051
|
] }) }),
|
|
15054
|
-
/* @__PURE__ */ jsx("div", { className: "
|
|
15052
|
+
/* @__PURE__ */ jsx("div", { className: "bg-card text-card-foreground p-6 md:p-8 rounded-2xl shadow-2xl", children: formEngineSetup ? /* @__PURE__ */ jsx(
|
|
15055
15053
|
FormEngine,
|
|
15056
15054
|
{
|
|
15057
15055
|
formEngineSetup,
|
|
@@ -15822,7 +15820,60 @@ function ContactImage({
|
|
|
15822
15820
|
patternOpacity,
|
|
15823
15821
|
optixFlowConfig
|
|
15824
15822
|
}) {
|
|
15825
|
-
const
|
|
15823
|
+
const headerItems = useMemo(() => {
|
|
15824
|
+
const items = [];
|
|
15825
|
+
if (eyebrow) {
|
|
15826
|
+
if (typeof eyebrow === "string") {
|
|
15827
|
+
items.push({
|
|
15828
|
+
_type: "text",
|
|
15829
|
+
as: "p",
|
|
15830
|
+
className: cn(
|
|
15831
|
+
"text-sm font-semibold uppercase tracking-[0.2em] opacity-70",
|
|
15832
|
+
eyebrowClassName
|
|
15833
|
+
),
|
|
15834
|
+
children: eyebrow
|
|
15835
|
+
});
|
|
15836
|
+
} else {
|
|
15837
|
+
items.push(eyebrow);
|
|
15838
|
+
}
|
|
15839
|
+
}
|
|
15840
|
+
if (heading) {
|
|
15841
|
+
if (typeof heading === "string") {
|
|
15842
|
+
items.push({
|
|
15843
|
+
_type: "text",
|
|
15844
|
+
as: "h2",
|
|
15845
|
+
className: cn(
|
|
15846
|
+
"mt-2 text-3xl font-bold md:text-4xl lg:text-5xl text-pretty",
|
|
15847
|
+
headingClassName
|
|
15848
|
+
),
|
|
15849
|
+
children: heading
|
|
15850
|
+
});
|
|
15851
|
+
} else {
|
|
15852
|
+
items.push(heading);
|
|
15853
|
+
}
|
|
15854
|
+
}
|
|
15855
|
+
if (description) {
|
|
15856
|
+
if (typeof description === "string") {
|
|
15857
|
+
items.push({
|
|
15858
|
+
_type: "text",
|
|
15859
|
+
as: "p",
|
|
15860
|
+
className: cn("mt-4 text-lg text-balance", descriptionClassName),
|
|
15861
|
+
children: description
|
|
15862
|
+
});
|
|
15863
|
+
} else {
|
|
15864
|
+
items.push(description);
|
|
15865
|
+
}
|
|
15866
|
+
}
|
|
15867
|
+
return items;
|
|
15868
|
+
}, [
|
|
15869
|
+
eyebrow,
|
|
15870
|
+
eyebrowClassName,
|
|
15871
|
+
heading,
|
|
15872
|
+
headingClassName,
|
|
15873
|
+
description,
|
|
15874
|
+
descriptionClassName
|
|
15875
|
+
]);
|
|
15876
|
+
const contactOverlaysContent = React26.useMemo(() => {
|
|
15826
15877
|
if (contactOverlaysSlot) return contactOverlaysSlot;
|
|
15827
15878
|
if (!contactOverlays || contactOverlays.length === 0) return null;
|
|
15828
15879
|
return /* @__PURE__ */ jsx("div", { className: cn("flex flex-col gap-3", contactOverlaysClassName), children: contactOverlays.map((item, index) => {
|
|
@@ -15872,7 +15923,7 @@ function ContactImage({
|
|
|
15872
15923
|
"div",
|
|
15873
15924
|
{
|
|
15874
15925
|
className: cn(
|
|
15875
|
-
"grid grid-cols-1 items-center gap-12 lg:grid-cols-2",
|
|
15926
|
+
"grid grid-cols-1 items-center md:items-start gap-12 lg:grid-cols-2",
|
|
15876
15927
|
contentClassName
|
|
15877
15928
|
),
|
|
15878
15929
|
children: [
|
|
@@ -15884,7 +15935,7 @@ function ContactImage({
|
|
|
15884
15935
|
viewport: { once: true, margin: "-50px" },
|
|
15885
15936
|
transition: { duration: 0.5 },
|
|
15886
15937
|
className: "order-2 lg:order-1",
|
|
15887
|
-
children: /* @__PURE__ */ jsxs("div", { className: "relative overflow-hidden rounded-3xl border border-white/10 shadow-2xl", children: [
|
|
15938
|
+
children: /* @__PURE__ */ jsxs("div", { className: "relative overflow-hidden rounded-3xl border border-white/10 shadow-2xl aspect-square", children: [
|
|
15888
15939
|
/* @__PURE__ */ jsx(
|
|
15889
15940
|
Img,
|
|
15890
15941
|
{
|
|
@@ -15906,38 +15957,9 @@ function ContactImage({
|
|
|
15906
15957
|
whileInView: { opacity: 1, x: 0 },
|
|
15907
15958
|
viewport: { once: true, margin: "-50px" },
|
|
15908
15959
|
transition: { duration: 0.5 },
|
|
15909
|
-
className: "order-1 lg:order-2",
|
|
15960
|
+
className: "order-1 lg:order-2 bg-card text-card-foreground p-6 md:p-8 rounded-2xl shadow-2xl",
|
|
15910
15961
|
children: [
|
|
15911
|
-
|
|
15912
|
-
"p",
|
|
15913
|
-
{
|
|
15914
|
-
className: cn(
|
|
15915
|
-
"text-sm font-semibold uppercase tracking-[0.2em] text-muted-foreground",
|
|
15916
|
-
eyebrowClassName
|
|
15917
|
-
),
|
|
15918
|
-
children: eyebrow
|
|
15919
|
-
}
|
|
15920
|
-
) : /* @__PURE__ */ jsx("div", { className: eyebrowClassName, children: eyebrow })),
|
|
15921
|
-
heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
|
|
15922
|
-
"h2",
|
|
15923
|
-
{
|
|
15924
|
-
className: cn(
|
|
15925
|
-
"mt-2 text-3xl font-bold md:text-4xl lg:text-5xl",
|
|
15926
|
-
headingClassName
|
|
15927
|
-
),
|
|
15928
|
-
children: heading
|
|
15929
|
-
}
|
|
15930
|
-
) : /* @__PURE__ */ jsx("div", { className: cn("mt-2", headingClassName), children: heading })),
|
|
15931
|
-
description && (typeof description === "string" ? /* @__PURE__ */ jsx(
|
|
15932
|
-
"p",
|
|
15933
|
-
{
|
|
15934
|
-
className: cn(
|
|
15935
|
-
"mt-4 text-lg text-muted-foreground",
|
|
15936
|
-
descriptionClassName
|
|
15937
|
-
),
|
|
15938
|
-
children: description
|
|
15939
|
-
}
|
|
15940
|
-
) : /* @__PURE__ */ jsx("div", { className: cn("mt-4", descriptionClassName), children: description })),
|
|
15962
|
+
/* @__PURE__ */ jsx(ContentGroup, { items: headerItems }),
|
|
15941
15963
|
/* @__PURE__ */ jsx("div", { className: "mt-8", children: formEngineSetup ? /* @__PURE__ */ jsx(
|
|
15942
15964
|
FormEngine,
|
|
15943
15965
|
{
|
|
@@ -16129,6 +16151,40 @@ function ContactInterview({
|
|
|
16129
16151
|
pattern,
|
|
16130
16152
|
patternOpacity = 0.1
|
|
16131
16153
|
}) {
|
|
16154
|
+
const headerItems = useMemo(() => {
|
|
16155
|
+
const items = [];
|
|
16156
|
+
if (heading) {
|
|
16157
|
+
if (typeof heading === "string") {
|
|
16158
|
+
items.push({
|
|
16159
|
+
_type: "text",
|
|
16160
|
+
as: "h2",
|
|
16161
|
+
className: cn(
|
|
16162
|
+
"mb-3 text-3xl font-bold tracking-tight text-pretty",
|
|
16163
|
+
headingClassName
|
|
16164
|
+
),
|
|
16165
|
+
children: heading
|
|
16166
|
+
});
|
|
16167
|
+
} else {
|
|
16168
|
+
items.push(heading);
|
|
16169
|
+
}
|
|
16170
|
+
}
|
|
16171
|
+
if (description) {
|
|
16172
|
+
if (typeof description === "string") {
|
|
16173
|
+
items.push({
|
|
16174
|
+
_type: "text",
|
|
16175
|
+
as: "p",
|
|
16176
|
+
className: cn(
|
|
16177
|
+
"leading-relaxed text-balance md:text-pretty",
|
|
16178
|
+
descriptionClassName
|
|
16179
|
+
),
|
|
16180
|
+
children: description
|
|
16181
|
+
});
|
|
16182
|
+
} else {
|
|
16183
|
+
items.push(description);
|
|
16184
|
+
}
|
|
16185
|
+
}
|
|
16186
|
+
return items;
|
|
16187
|
+
}, [heading, headingClassName, description, descriptionClassName]);
|
|
16132
16188
|
return /* @__PURE__ */ jsx(
|
|
16133
16189
|
Section,
|
|
16134
16190
|
{
|
|
@@ -16138,38 +16194,26 @@ function ContactInterview({
|
|
|
16138
16194
|
patternOpacity,
|
|
16139
16195
|
className: cn("py-12", className),
|
|
16140
16196
|
containerClassName,
|
|
16141
|
-
children: /* @__PURE__ */
|
|
16142
|
-
/* @__PURE__ */
|
|
16143
|
-
|
|
16144
|
-
|
|
16145
|
-
|
|
16146
|
-
|
|
16147
|
-
|
|
16148
|
-
|
|
16149
|
-
|
|
16150
|
-
|
|
16151
|
-
|
|
16152
|
-
|
|
16153
|
-
description && (typeof description === "string" ? /* @__PURE__ */ jsx(
|
|
16154
|
-
"p",
|
|
16155
|
-
{
|
|
16156
|
-
className: cn(
|
|
16157
|
-
"leading-relaxed text-balance",
|
|
16158
|
-
descriptionClassName
|
|
16159
|
-
),
|
|
16160
|
-
children: description
|
|
16161
|
-
}
|
|
16162
|
-
) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description }))
|
|
16163
|
-
] }),
|
|
16164
|
-
/* @__PURE__ */ jsx(Card, { className: cn("mx-auto max-w-xl", cardClassName), children: /* @__PURE__ */ jsx(CardContent, { className: cn("p-6 lg:p-8", cardContentClassName), children: formEngineSetup ? /* @__PURE__ */ jsx(
|
|
16197
|
+
children: /* @__PURE__ */ jsx("div", { className: "mx-auto max-w-full md:max-w-md", children: /* @__PURE__ */ jsx(Card, { className: cn("mx-auto max-w-xl", cardClassName), children: /* @__PURE__ */ jsxs(CardContent, { className: cn("p-6 lg:p-8", cardContentClassName), children: [
|
|
16198
|
+
/* @__PURE__ */ jsx(
|
|
16199
|
+
ContentGroup,
|
|
16200
|
+
{
|
|
16201
|
+
items: headerItems,
|
|
16202
|
+
className: cn(
|
|
16203
|
+
"flex flex-col items-start text-left pb-8 md:pb-18 max-w-full md:max-w-md",
|
|
16204
|
+
headerClassName
|
|
16205
|
+
)
|
|
16206
|
+
}
|
|
16207
|
+
),
|
|
16208
|
+
formEngineSetup ? /* @__PURE__ */ jsx(
|
|
16165
16209
|
FormEngine,
|
|
16166
16210
|
{
|
|
16167
16211
|
formEngineSetup,
|
|
16168
16212
|
defaultFields: DEFAULT_FORM_FIELDS17,
|
|
16169
16213
|
defaultStyleRules: DEFAULT_STYLE_RULES16
|
|
16170
16214
|
}
|
|
16171
|
-
) : null
|
|
16172
|
-
] })
|
|
16215
|
+
) : null
|
|
16216
|
+
] }) }) })
|
|
16173
16217
|
}
|
|
16174
16218
|
);
|
|
16175
16219
|
}
|
|
@@ -16997,15 +17041,66 @@ function ContactPhotography({
|
|
|
16997
17041
|
background,
|
|
16998
17042
|
pattern,
|
|
16999
17043
|
patternOpacity,
|
|
17000
|
-
|
|
17001
|
-
imageAlt,
|
|
17044
|
+
image,
|
|
17002
17045
|
imageClassName,
|
|
17003
17046
|
optixFlowConfig,
|
|
17004
17047
|
directionConfig = { desktop: "mediaRight", mobile: "mediaTop" },
|
|
17005
17048
|
formEngineSetup
|
|
17006
17049
|
}) {
|
|
17007
|
-
const
|
|
17008
|
-
|
|
17050
|
+
const headerItems = useMemo(() => {
|
|
17051
|
+
const items = [];
|
|
17052
|
+
if (heading) {
|
|
17053
|
+
if (typeof heading === "string") {
|
|
17054
|
+
items.push({
|
|
17055
|
+
_type: "text",
|
|
17056
|
+
as: "h2",
|
|
17057
|
+
className: cn(
|
|
17058
|
+
"text-3xl font-bold leading-tight tracking-tight sm:text-4xl lg:text-5xl",
|
|
17059
|
+
headingClassName
|
|
17060
|
+
),
|
|
17061
|
+
children: heading
|
|
17062
|
+
});
|
|
17063
|
+
} else {
|
|
17064
|
+
items.push(heading);
|
|
17065
|
+
}
|
|
17066
|
+
}
|
|
17067
|
+
if (description) {
|
|
17068
|
+
if (typeof description === "string") {
|
|
17069
|
+
items.push({
|
|
17070
|
+
_type: "text",
|
|
17071
|
+
as: "p",
|
|
17072
|
+
className: cn(
|
|
17073
|
+
"text-base leading-relaxed opacity-90 sm:text-lg",
|
|
17074
|
+
descriptionClassName
|
|
17075
|
+
),
|
|
17076
|
+
children: description
|
|
17077
|
+
});
|
|
17078
|
+
} else {
|
|
17079
|
+
items.push(description);
|
|
17080
|
+
}
|
|
17081
|
+
}
|
|
17082
|
+
return items;
|
|
17083
|
+
}, [heading, headingClassName, description, descriptionClassName]);
|
|
17084
|
+
const desktopOrder = React26.useMemo(() => {
|
|
17085
|
+
return directionConfig.desktop === "mediaRight" ? "lg:flex-row" : "lg:flex-row-reverse";
|
|
17086
|
+
}, [directionConfig?.desktop]);
|
|
17087
|
+
const mobileOrder = React26.useMemo(() => {
|
|
17088
|
+
return directionConfig?.mobile === "mediaTop" ? "flex-col" : "flex-col-reverse";
|
|
17089
|
+
}, [directionConfig?.mobile]);
|
|
17090
|
+
const imageArea = React26.useMemo(() => {
|
|
17091
|
+
if (!image?.src) {
|
|
17092
|
+
return null;
|
|
17093
|
+
}
|
|
17094
|
+
return /* @__PURE__ */ jsx("div", { className: "relative h-64 w-full sm:h-96 lg:h-auto lg:w-1/2", children: /* @__PURE__ */ jsx(
|
|
17095
|
+
Img,
|
|
17096
|
+
{
|
|
17097
|
+
src: image?.src,
|
|
17098
|
+
alt: image?.alt || "Contact Photo Banner",
|
|
17099
|
+
className: cn("h-full w-full object-cover", imageClassName),
|
|
17100
|
+
optixFlowConfig
|
|
17101
|
+
}
|
|
17102
|
+
) });
|
|
17103
|
+
}, [image, imageClassName, optixFlowConfig]);
|
|
17009
17104
|
const contentArea = /* @__PURE__ */ jsx(
|
|
17010
17105
|
"div",
|
|
17011
17106
|
{
|
|
@@ -17014,26 +17109,7 @@ function ContactPhotography({
|
|
|
17014
17109
|
contentClassName
|
|
17015
17110
|
),
|
|
17016
17111
|
children: /* @__PURE__ */ jsx("div", { className: "relative z-10 w-full px-8 py-16 sm:px-12 sm:py-20 lg:px-16 lg:py-24 xl:px-24", children: /* @__PURE__ */ jsxs("div", { className: "mx-auto max-w-xl space-y-8", children: [
|
|
17017
|
-
|
|
17018
|
-
"h2",
|
|
17019
|
-
{
|
|
17020
|
-
className: cn(
|
|
17021
|
-
"text-3xl font-bold leading-tight tracking-tight sm:text-4xl lg:text-5xl",
|
|
17022
|
-
headingClassName
|
|
17023
|
-
),
|
|
17024
|
-
children: heading
|
|
17025
|
-
}
|
|
17026
|
-
) : /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading })),
|
|
17027
|
-
description && (typeof description === "string" ? /* @__PURE__ */ jsx(
|
|
17028
|
-
"p",
|
|
17029
|
-
{
|
|
17030
|
-
className: cn(
|
|
17031
|
-
"text-base leading-relaxed opacity-90 sm:text-lg",
|
|
17032
|
-
descriptionClassName
|
|
17033
|
-
),
|
|
17034
|
-
children: description
|
|
17035
|
-
}
|
|
17036
|
-
) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description })),
|
|
17112
|
+
/* @__PURE__ */ jsx(ContentGroup, { items: headerItems, className: "space-y-8" }),
|
|
17037
17113
|
formEngineSetup ? /* @__PURE__ */ jsx(
|
|
17038
17114
|
FormEngine,
|
|
17039
17115
|
{
|
|
@@ -17045,15 +17121,6 @@ function ContactPhotography({
|
|
|
17045
17121
|
] }) })
|
|
17046
17122
|
}
|
|
17047
17123
|
);
|
|
17048
|
-
const imageArea = imageSrc ? /* @__PURE__ */ jsx("div", { className: "relative h-64 w-full sm:h-96 lg:h-auto lg:w-1/2", children: /* @__PURE__ */ jsx(
|
|
17049
|
-
Img,
|
|
17050
|
-
{
|
|
17051
|
-
src: imageSrc,
|
|
17052
|
-
alt: imageAlt || "",
|
|
17053
|
-
className: cn("h-full w-full object-cover", imageClassName),
|
|
17054
|
-
optixFlowConfig
|
|
17055
|
-
}
|
|
17056
|
-
) }) : null;
|
|
17057
17124
|
return /* @__PURE__ */ jsx(
|
|
17058
17125
|
Section,
|
|
17059
17126
|
{
|
|
@@ -18944,16 +19011,16 @@ function CarouselAnimatedSections({
|
|
|
18944
19011
|
pattern = "diagonalCrossBasic",
|
|
18945
19012
|
patternOpacity = 0.033
|
|
18946
19013
|
}) {
|
|
18947
|
-
const [currentIndex, setCurrentIndex] =
|
|
18948
|
-
const [direction, setDirection] =
|
|
18949
|
-
const [isAnimating, setIsAnimating] =
|
|
18950
|
-
const goToNext =
|
|
19014
|
+
const [currentIndex, setCurrentIndex] = React26.useState(0);
|
|
19015
|
+
const [direction, setDirection] = React26.useState(0);
|
|
19016
|
+
const [isAnimating, setIsAnimating] = React26.useState(false);
|
|
19017
|
+
const goToNext = React26.useCallback(() => {
|
|
18951
19018
|
if (isAnimating || currentIndex >= (sections?.length ?? 0) - 1) return;
|
|
18952
19019
|
setIsAnimating(true);
|
|
18953
19020
|
setDirection(1);
|
|
18954
19021
|
setCurrentIndex((prev) => prev + 1);
|
|
18955
19022
|
}, [currentIndex, isAnimating, sections?.length]);
|
|
18956
|
-
const goToPrev =
|
|
19023
|
+
const goToPrev = React26.useCallback(() => {
|
|
18957
19024
|
if (isAnimating || currentIndex <= 0) return;
|
|
18958
19025
|
setIsAnimating(true);
|
|
18959
19026
|
setDirection(-1);
|
|
@@ -18965,7 +19032,7 @@ function CarouselAnimatedSections({
|
|
|
18965
19032
|
setDirection(index > currentIndex ? 1 : -1);
|
|
18966
19033
|
setCurrentIndex(index);
|
|
18967
19034
|
};
|
|
18968
|
-
|
|
19035
|
+
React26.useEffect(() => {
|
|
18969
19036
|
const handleKeyDown = (e) => {
|
|
18970
19037
|
if (e.key === "ArrowDown" || e.key === "ArrowRight") {
|
|
18971
19038
|
goToNext();
|
|
@@ -18991,7 +19058,7 @@ function CarouselAnimatedSections({
|
|
|
18991
19058
|
})
|
|
18992
19059
|
};
|
|
18993
19060
|
const currentSection = sections?.[currentIndex];
|
|
18994
|
-
const actionElements =
|
|
19061
|
+
const actionElements = React26.useMemo(() => {
|
|
18995
19062
|
if (actionsSlot) return actionsSlot;
|
|
18996
19063
|
if (actions && actions.length > 0) {
|
|
18997
19064
|
return actions.map((action, index) => /* @__PURE__ */ jsxs(
|
|
@@ -19239,11 +19306,11 @@ function CarouselAutoProgressSlides({
|
|
|
19239
19306
|
pattern,
|
|
19240
19307
|
patternOpacity
|
|
19241
19308
|
}) {
|
|
19242
|
-
const [currentIndex, setCurrentIndex] =
|
|
19309
|
+
const [currentIndex, setCurrentIndex] = React26.useState(0);
|
|
19243
19310
|
const progress = useMotionValue(100);
|
|
19244
|
-
const [direction, setDirection] =
|
|
19311
|
+
const [direction, setDirection] = React26.useState(1);
|
|
19245
19312
|
const clipPath = useMotionTemplate`inset(0 ${progress}% 0 0 round 10px)`;
|
|
19246
|
-
|
|
19313
|
+
React26.useEffect(() => {
|
|
19247
19314
|
const interval = setInterval(() => {
|
|
19248
19315
|
const currentProgress = progress.get();
|
|
19249
19316
|
if (currentProgress > 0) {
|
|
@@ -19422,22 +19489,22 @@ function CarouselAutoProgressSlides({
|
|
|
19422
19489
|
);
|
|
19423
19490
|
}
|
|
19424
19491
|
function useDotButton(emblaApi) {
|
|
19425
|
-
const [selectedIndex, setSelectedIndex] =
|
|
19426
|
-
const [scrollSnaps, setScrollSnaps] =
|
|
19427
|
-
const onDotButtonClick =
|
|
19492
|
+
const [selectedIndex, setSelectedIndex] = React26.useState(0);
|
|
19493
|
+
const [scrollSnaps, setScrollSnaps] = React26.useState([]);
|
|
19494
|
+
const onDotButtonClick = React26.useCallback(
|
|
19428
19495
|
(index) => {
|
|
19429
19496
|
if (!emblaApi) return;
|
|
19430
19497
|
emblaApi.scrollTo(index);
|
|
19431
19498
|
},
|
|
19432
19499
|
[emblaApi]
|
|
19433
19500
|
);
|
|
19434
|
-
const onInit =
|
|
19501
|
+
const onInit = React26.useCallback((api) => {
|
|
19435
19502
|
setScrollSnaps(api.scrollSnapList());
|
|
19436
19503
|
}, []);
|
|
19437
|
-
const onSelect =
|
|
19504
|
+
const onSelect = React26.useCallback((api) => {
|
|
19438
19505
|
setSelectedIndex(api.selectedScrollSnap());
|
|
19439
19506
|
}, []);
|
|
19440
|
-
|
|
19507
|
+
React26.useEffect(() => {
|
|
19441
19508
|
if (!emblaApi) return;
|
|
19442
19509
|
onInit(emblaApi);
|
|
19443
19510
|
onSelect(emblaApi);
|
|
@@ -19446,8 +19513,8 @@ function useDotButton(emblaApi) {
|
|
|
19446
19513
|
return { selectedIndex, scrollSnaps, onDotButtonClick };
|
|
19447
19514
|
}
|
|
19448
19515
|
function useAutoplay(emblaApi) {
|
|
19449
|
-
const [autoplayIsPlaying, setAutoplayIsPlaying] =
|
|
19450
|
-
const onAutoplayButtonClick =
|
|
19516
|
+
const [autoplayIsPlaying, setAutoplayIsPlaying] = React26.useState(false);
|
|
19517
|
+
const onAutoplayButtonClick = React26.useCallback(
|
|
19451
19518
|
(callback) => {
|
|
19452
19519
|
const autoplay = emblaApi?.plugins()?.autoplay;
|
|
19453
19520
|
if (!autoplay) return;
|
|
@@ -19457,13 +19524,13 @@ function useAutoplay(emblaApi) {
|
|
|
19457
19524
|
},
|
|
19458
19525
|
[emblaApi]
|
|
19459
19526
|
);
|
|
19460
|
-
const toggleAutoplay =
|
|
19527
|
+
const toggleAutoplay = React26.useCallback(() => {
|
|
19461
19528
|
const autoplay = emblaApi?.plugins()?.autoplay;
|
|
19462
19529
|
if (!autoplay) return;
|
|
19463
19530
|
const playOrStop = autoplay.isPlaying() ? autoplay.stop : autoplay.play;
|
|
19464
19531
|
playOrStop();
|
|
19465
19532
|
}, [emblaApi]);
|
|
19466
|
-
|
|
19533
|
+
React26.useEffect(() => {
|
|
19467
19534
|
const autoplay = emblaApi?.plugins()?.autoplay;
|
|
19468
19535
|
if (!autoplay) return;
|
|
19469
19536
|
setAutoplayIsPlaying(autoplay.isPlaying());
|
|
@@ -19472,11 +19539,11 @@ function useAutoplay(emblaApi) {
|
|
|
19472
19539
|
return { autoplayIsPlaying, toggleAutoplay, onAutoplayButtonClick };
|
|
19473
19540
|
}
|
|
19474
19541
|
function useAutoplayProgress(emblaApi, progressNode) {
|
|
19475
|
-
const [showAutoplayProgress, setShowAutoplayProgress] =
|
|
19476
|
-
const animationName =
|
|
19477
|
-
const timeoutId =
|
|
19478
|
-
const rafId =
|
|
19479
|
-
const startProgress =
|
|
19542
|
+
const [showAutoplayProgress, setShowAutoplayProgress] = React26.useState(false);
|
|
19543
|
+
const animationName = React26.useRef("");
|
|
19544
|
+
const timeoutId = React26.useRef(0);
|
|
19545
|
+
const rafId = React26.useRef(0);
|
|
19546
|
+
const startProgress = React26.useCallback(
|
|
19480
19547
|
(timeUntilNext) => {
|
|
19481
19548
|
const node = progressNode.current;
|
|
19482
19549
|
if (!node || timeUntilNext === null) return;
|
|
@@ -19496,12 +19563,12 @@ function useAutoplayProgress(emblaApi, progressNode) {
|
|
|
19496
19563
|
},
|
|
19497
19564
|
[progressNode]
|
|
19498
19565
|
);
|
|
19499
|
-
|
|
19566
|
+
React26.useEffect(() => {
|
|
19500
19567
|
const autoplay = emblaApi?.plugins()?.autoplay;
|
|
19501
19568
|
if (!autoplay) return;
|
|
19502
19569
|
emblaApi.on("autoplay:timerset", () => startProgress(autoplay.timeUntilNext())).on("autoplay:timerstopped", () => setShowAutoplayProgress(false));
|
|
19503
19570
|
}, [emblaApi, startProgress]);
|
|
19504
|
-
|
|
19571
|
+
React26.useEffect(() => {
|
|
19505
19572
|
return () => {
|
|
19506
19573
|
cancelAnimationFrame(rafId.current);
|
|
19507
19574
|
clearTimeout(timeoutId.current);
|
|
@@ -19528,7 +19595,7 @@ function CarouselAutoplayProgress({
|
|
|
19528
19595
|
pattern,
|
|
19529
19596
|
patternOpacity
|
|
19530
19597
|
}) {
|
|
19531
|
-
const progressNode =
|
|
19598
|
+
const progressNode = React26.useRef(null);
|
|
19532
19599
|
const [emblaRef, emblaApi] = useEmblaCarousel(options, [
|
|
19533
19600
|
Autoplay({ playOnInit: true, delay: autoplayDelay })
|
|
19534
19601
|
]);
|
|
@@ -19651,20 +19718,20 @@ function CarouselFeatureBadge({
|
|
|
19651
19718
|
containerMaxWidth = "2xl"
|
|
19652
19719
|
}) {
|
|
19653
19720
|
const [emblaRef, emblaApi] = useEmblaCarousel();
|
|
19654
|
-
const [canScrollPrev, setCanScrollPrev] =
|
|
19655
|
-
const [canScrollNext, setCanScrollNext] =
|
|
19656
|
-
const scrollPrev =
|
|
19721
|
+
const [canScrollPrev, setCanScrollPrev] = React26.useState(false);
|
|
19722
|
+
const [canScrollNext, setCanScrollNext] = React26.useState(false);
|
|
19723
|
+
const scrollPrev = React26.useCallback(() => {
|
|
19657
19724
|
emblaApi?.scrollPrev();
|
|
19658
19725
|
}, [emblaApi]);
|
|
19659
|
-
const scrollNext =
|
|
19726
|
+
const scrollNext = React26.useCallback(() => {
|
|
19660
19727
|
emblaApi?.scrollNext();
|
|
19661
19728
|
}, [emblaApi]);
|
|
19662
|
-
const onSelect =
|
|
19729
|
+
const onSelect = React26.useCallback(() => {
|
|
19663
19730
|
if (!emblaApi) return;
|
|
19664
19731
|
setCanScrollPrev(emblaApi.canScrollPrev());
|
|
19665
19732
|
setCanScrollNext(emblaApi.canScrollNext());
|
|
19666
19733
|
}, [emblaApi]);
|
|
19667
|
-
|
|
19734
|
+
React26.useEffect(() => {
|
|
19668
19735
|
if (!emblaApi) return;
|
|
19669
19736
|
onSelect();
|
|
19670
19737
|
emblaApi.on("reInit", onSelect);
|
|
@@ -19784,10 +19851,10 @@ function CarouselFullscreenScrollFx({
|
|
|
19784
19851
|
pattern = "diagonalCrossBasic",
|
|
19785
19852
|
patternOpacity = 0.033
|
|
19786
19853
|
}) {
|
|
19787
|
-
const containerRef =
|
|
19788
|
-
const scrollContainerRef =
|
|
19789
|
-
const [activeIndex, setActiveIndex] =
|
|
19790
|
-
|
|
19854
|
+
const containerRef = React26.useRef(null);
|
|
19855
|
+
const scrollContainerRef = React26.useRef(null);
|
|
19856
|
+
const [activeIndex, setActiveIndex] = React26.useState(0);
|
|
19857
|
+
React26.useEffect(() => {
|
|
19791
19858
|
const scrollContainer = scrollContainerRef.current;
|
|
19792
19859
|
if (!scrollContainer || !slides?.length) return;
|
|
19793
19860
|
const handleScroll = () => {
|
|
@@ -19799,7 +19866,7 @@ function CarouselFullscreenScrollFx({
|
|
|
19799
19866
|
scrollContainer.addEventListener("scroll", handleScroll);
|
|
19800
19867
|
return () => scrollContainer.removeEventListener("scroll", handleScroll);
|
|
19801
19868
|
}, [slides]);
|
|
19802
|
-
const scrollToSlide =
|
|
19869
|
+
const scrollToSlide = React26.useCallback((index) => {
|
|
19803
19870
|
const scrollContainer = scrollContainerRef.current;
|
|
19804
19871
|
if (!scrollContainer) return;
|
|
19805
19872
|
const slideHeight = scrollContainer.clientHeight;
|
|
@@ -19882,7 +19949,7 @@ function CarouselFullscreenScrollFx({
|
|
|
19882
19949
|
className: "flex h-screen flex-col snap-y snap-mandatory overflow-x-hidden overflow-y-auto scroll-smooth",
|
|
19883
19950
|
style: { scrollbarWidth: "none", msOverflowStyle: "none" },
|
|
19884
19951
|
children: slidesSlot ? slidesSlot : slides?.map((slide, index) => {
|
|
19885
|
-
const renderActions =
|
|
19952
|
+
const renderActions = React26.useMemo(() => {
|
|
19886
19953
|
if (!slide.actions || slide.actions.length === 0) return null;
|
|
19887
19954
|
return slide.actions.map((action, actionIndex) => {
|
|
19888
19955
|
const {
|
|
@@ -20015,25 +20082,25 @@ function CarouselGalleryThumbnails({
|
|
|
20015
20082
|
patternOpacity,
|
|
20016
20083
|
slideMediaBrightness = "100"
|
|
20017
20084
|
}) {
|
|
20018
|
-
const [currentIndex, setCurrentIndex] =
|
|
20019
|
-
const prevSlide =
|
|
20085
|
+
const [currentIndex, setCurrentIndex] = React26.useState(0);
|
|
20086
|
+
const prevSlide = React26.useCallback(() => {
|
|
20020
20087
|
setCurrentIndex(
|
|
20021
20088
|
(prev) => prev === 0 ? (images?.length ?? 0) - 1 : prev - 1
|
|
20022
20089
|
);
|
|
20023
20090
|
}, [images?.length]);
|
|
20024
|
-
const nextSlide =
|
|
20091
|
+
const nextSlide = React26.useCallback(() => {
|
|
20025
20092
|
setCurrentIndex(
|
|
20026
20093
|
(prev) => prev === (images?.length ?? 0) - 1 ? 0 : prev + 1
|
|
20027
20094
|
);
|
|
20028
20095
|
}, [images?.length]);
|
|
20029
|
-
|
|
20096
|
+
React26.useEffect(() => {
|
|
20030
20097
|
if (!autoPlay) return;
|
|
20031
20098
|
const interval = setInterval(() => {
|
|
20032
20099
|
nextSlide();
|
|
20033
20100
|
}, autoPlayInterval);
|
|
20034
20101
|
return () => clearInterval(interval);
|
|
20035
20102
|
}, [currentIndex, autoPlay, autoPlayInterval, nextSlide]);
|
|
20036
|
-
|
|
20103
|
+
React26.useEffect(() => {
|
|
20037
20104
|
const handleKeyDown = (e) => {
|
|
20038
20105
|
if (e.key === "ArrowRight") {
|
|
20039
20106
|
nextSlide();
|
|
@@ -20178,9 +20245,9 @@ function CarouselHorizontalCards({
|
|
|
20178
20245
|
pattern,
|
|
20179
20246
|
patternOpacity
|
|
20180
20247
|
}) {
|
|
20181
|
-
const carouselRef =
|
|
20182
|
-
const [isAtStart, setIsAtStart] =
|
|
20183
|
-
const [isAtEnd, setIsAtEnd] =
|
|
20248
|
+
const carouselRef = React26.useRef(null);
|
|
20249
|
+
const [isAtStart, setIsAtStart] = React26.useState(true);
|
|
20250
|
+
const [isAtEnd, setIsAtEnd] = React26.useState(false);
|
|
20184
20251
|
const scrollLeft = () => {
|
|
20185
20252
|
if (carouselRef.current) {
|
|
20186
20253
|
carouselRef.current.scrollBy({ left: -300, behavior: "smooth" });
|
|
@@ -20191,7 +20258,7 @@ function CarouselHorizontalCards({
|
|
|
20191
20258
|
carouselRef.current.scrollBy({ left: 300, behavior: "smooth" });
|
|
20192
20259
|
}
|
|
20193
20260
|
};
|
|
20194
|
-
|
|
20261
|
+
React26.useEffect(() => {
|
|
20195
20262
|
const checkScrollPosition = () => {
|
|
20196
20263
|
if (carouselRef.current) {
|
|
20197
20264
|
const { scrollLeft: scrollLeft2, scrollWidth, clientWidth } = carouselRef.current;
|
|
@@ -20391,13 +20458,13 @@ function CarouselImageHero({
|
|
|
20391
20458
|
pattern,
|
|
20392
20459
|
patternOpacity
|
|
20393
20460
|
}) {
|
|
20394
|
-
const hasImages =
|
|
20461
|
+
const hasImages = React26.useMemo(() => {
|
|
20395
20462
|
return images && images?.length > 0;
|
|
20396
20463
|
}, [images]);
|
|
20397
|
-
const [currentImageIndex, setCurrentImageIndex] =
|
|
20464
|
+
const [currentImageIndex, setCurrentImageIndex] = React26.useState(0);
|
|
20398
20465
|
const progress = useMotionValue(100);
|
|
20399
20466
|
const clipPath = useMotionTemplate`inset(0 ${progress}% 0 0 round 10px)`;
|
|
20400
|
-
|
|
20467
|
+
React26.useEffect(() => {
|
|
20401
20468
|
if (!hasImages || (images?.length ?? 0) < 2) return;
|
|
20402
20469
|
const tickInterval = autoPlayInterval / 100;
|
|
20403
20470
|
const interval = setInterval(() => {
|
|
@@ -20419,19 +20486,19 @@ function CarouselImageHero({
|
|
|
20419
20486
|
autoPlayInterval,
|
|
20420
20487
|
hasImages
|
|
20421
20488
|
]);
|
|
20422
|
-
const handlePrev =
|
|
20489
|
+
const handlePrev = React26.useCallback(() => {
|
|
20423
20490
|
progress.set(100);
|
|
20424
20491
|
setCurrentImageIndex(
|
|
20425
20492
|
(prevIndex) => prevIndex > 0 ? prevIndex - 1 : (images?.length ?? 1) - 1
|
|
20426
20493
|
);
|
|
20427
20494
|
}, [images?.length, progress]);
|
|
20428
|
-
const handleNext =
|
|
20495
|
+
const handleNext = React26.useCallback(() => {
|
|
20429
20496
|
progress.set(100);
|
|
20430
20497
|
setCurrentImageIndex(
|
|
20431
20498
|
(prevIndex) => prevIndex < (images?.length ?? 0) - 1 ? prevIndex + 1 : 0
|
|
20432
20499
|
);
|
|
20433
20500
|
}, [images?.length, progress]);
|
|
20434
|
-
const handleDotClick =
|
|
20501
|
+
const handleDotClick = React26.useCallback(
|
|
20435
20502
|
(index) => {
|
|
20436
20503
|
progress.set(100);
|
|
20437
20504
|
setCurrentImageIndex(index);
|
|
@@ -20608,8 +20675,8 @@ function CarouselMultiStepShowcase({
|
|
|
20608
20675
|
pattern,
|
|
20609
20676
|
patternOpacity
|
|
20610
20677
|
}) {
|
|
20611
|
-
const [activeStep, setActiveStep] =
|
|
20612
|
-
const [direction, setDirection] =
|
|
20678
|
+
const [activeStep, setActiveStep] = React26.useState(0);
|
|
20679
|
+
const [direction, setDirection] = React26.useState(0);
|
|
20613
20680
|
const goToStep = (index) => {
|
|
20614
20681
|
setDirection(index > activeStep ? 1 : -1);
|
|
20615
20682
|
setActiveStep(index);
|
|
@@ -20901,9 +20968,9 @@ function CarouselPortfolioHero({
|
|
|
20901
20968
|
patternOpacity,
|
|
20902
20969
|
slideMediaBrightness = "50"
|
|
20903
20970
|
}) {
|
|
20904
|
-
const [currentIndex, setCurrentIndex] =
|
|
20905
|
-
const intervalRef =
|
|
20906
|
-
const resetInterval =
|
|
20971
|
+
const [currentIndex, setCurrentIndex] = React26.useState(0);
|
|
20972
|
+
const intervalRef = React26.useRef(null);
|
|
20973
|
+
const resetInterval = React26.useCallback(() => {
|
|
20907
20974
|
if (intervalRef.current) {
|
|
20908
20975
|
clearInterval(intervalRef.current);
|
|
20909
20976
|
}
|
|
@@ -20911,17 +20978,17 @@ function CarouselPortfolioHero({
|
|
|
20911
20978
|
setCurrentIndex((prevIndex) => (prevIndex + 1) % (slides?.length ?? 1));
|
|
20912
20979
|
}, autoPlayInterval);
|
|
20913
20980
|
}, [autoPlayInterval, slides?.length]);
|
|
20914
|
-
const goToNext =
|
|
20981
|
+
const goToNext = React26.useCallback(() => {
|
|
20915
20982
|
setCurrentIndex((prevIndex) => (prevIndex + 1) % (slides?.length ?? 1));
|
|
20916
20983
|
resetInterval();
|
|
20917
20984
|
}, [slides?.length, resetInterval]);
|
|
20918
|
-
const goToPrev =
|
|
20985
|
+
const goToPrev = React26.useCallback(() => {
|
|
20919
20986
|
setCurrentIndex(
|
|
20920
20987
|
(prevIndex) => (prevIndex - 1 + (slides?.length ?? 1)) % (slides?.length ?? 1)
|
|
20921
20988
|
);
|
|
20922
20989
|
resetInterval();
|
|
20923
20990
|
}, [slides?.length, resetInterval]);
|
|
20924
|
-
|
|
20991
|
+
React26.useEffect(() => {
|
|
20925
20992
|
resetInterval();
|
|
20926
20993
|
return () => {
|
|
20927
20994
|
if (intervalRef.current) {
|
|
@@ -21113,9 +21180,9 @@ function CarouselProductFeatureShowcase({
|
|
|
21113
21180
|
pattern,
|
|
21114
21181
|
patternOpacity
|
|
21115
21182
|
}) {
|
|
21116
|
-
const [activeIndex, setActiveIndex] =
|
|
21117
|
-
const [activeColorIndex, setActiveColorIndex] =
|
|
21118
|
-
const [direction, setDirection] =
|
|
21183
|
+
const [activeIndex, setActiveIndex] = React26.useState(0);
|
|
21184
|
+
const [activeColorIndex, setActiveColorIndex] = React26.useState(0);
|
|
21185
|
+
const [direction, setDirection] = React26.useState(0);
|
|
21119
21186
|
const activeFeature = features?.[activeIndex];
|
|
21120
21187
|
const goToNext = () => {
|
|
21121
21188
|
setDirection(1);
|
|
@@ -21335,9 +21402,9 @@ function CarouselProductFeatureShowcase({
|
|
|
21335
21402
|
}
|
|
21336
21403
|
);
|
|
21337
21404
|
}
|
|
21338
|
-
var ProgressSliderContext =
|
|
21405
|
+
var ProgressSliderContext = React26.createContext(void 0);
|
|
21339
21406
|
function useProgressSliderContext() {
|
|
21340
|
-
const context =
|
|
21407
|
+
const context = React26.useContext(ProgressSliderContext);
|
|
21341
21408
|
if (!context) {
|
|
21342
21409
|
throw new Error(
|
|
21343
21410
|
"useProgressSliderContext must be used within a ProgressSlider"
|
|
@@ -21423,19 +21490,19 @@ function CarouselProgressSlider({
|
|
|
21423
21490
|
pattern,
|
|
21424
21491
|
patternOpacity
|
|
21425
21492
|
}) {
|
|
21426
|
-
const [active, setActive] =
|
|
21427
|
-
const [progress, setProgress] =
|
|
21428
|
-
const [isFastForward, setIsFastForward] =
|
|
21429
|
-
const [isPaused, setIsPaused] =
|
|
21430
|
-
const frame =
|
|
21431
|
-
const firstFrameTime =
|
|
21432
|
-
const targetValue =
|
|
21433
|
-
const pausedProgress =
|
|
21434
|
-
const sliderValues =
|
|
21493
|
+
const [active, setActive] = React26.useState(slides?.[0]?.id ?? "");
|
|
21494
|
+
const [progress, setProgress] = React26.useState(0);
|
|
21495
|
+
const [isFastForward, setIsFastForward] = React26.useState(false);
|
|
21496
|
+
const [isPaused, setIsPaused] = React26.useState(false);
|
|
21497
|
+
const frame = React26.useRef(0);
|
|
21498
|
+
const firstFrameTime = React26.useRef(performance.now());
|
|
21499
|
+
const targetValue = React26.useRef(null);
|
|
21500
|
+
const pausedProgress = React26.useRef(0);
|
|
21501
|
+
const sliderValues = React26.useMemo(
|
|
21435
21502
|
() => slides?.map((slide) => slide.id),
|
|
21436
21503
|
[slides]
|
|
21437
21504
|
);
|
|
21438
|
-
|
|
21505
|
+
React26.useEffect(() => {
|
|
21439
21506
|
if ((sliderValues?.length ?? 0) > 0 && !isPaused) {
|
|
21440
21507
|
firstFrameTime.current = performance.now();
|
|
21441
21508
|
if (pausedProgress.current > 0) {
|
|
@@ -21600,11 +21667,11 @@ function CarouselScrollingFeatureShowcase({
|
|
|
21600
21667
|
pattern,
|
|
21601
21668
|
patternOpacity
|
|
21602
21669
|
}) {
|
|
21603
|
-
const [activeFeature, setActiveFeature] =
|
|
21670
|
+
const [activeFeature, setActiveFeature] = React26.useState(
|
|
21604
21671
|
features?.[0]?.id ?? ""
|
|
21605
21672
|
);
|
|
21606
|
-
const featureRefs =
|
|
21607
|
-
|
|
21673
|
+
const featureRefs = React26.useRef(/* @__PURE__ */ new Map());
|
|
21674
|
+
React26.useEffect(() => {
|
|
21608
21675
|
if (!features || features.length === 0) return;
|
|
21609
21676
|
const observerOptions = {
|
|
21610
21677
|
root: null,
|
|
@@ -22529,9 +22596,9 @@ function FeatureChecklistImage({
|
|
|
22529
22596
|
}
|
|
22530
22597
|
);
|
|
22531
22598
|
}
|
|
22532
|
-
var CarouselContext =
|
|
22599
|
+
var CarouselContext = React26.createContext(null);
|
|
22533
22600
|
function useCarousel() {
|
|
22534
|
-
const context =
|
|
22601
|
+
const context = React26.useContext(CarouselContext);
|
|
22535
22602
|
if (!context) {
|
|
22536
22603
|
throw new Error("useCarousel must be used within a <Carousel />");
|
|
22537
22604
|
}
|
|
@@ -22553,20 +22620,20 @@ function Carousel({
|
|
|
22553
22620
|
},
|
|
22554
22621
|
plugins
|
|
22555
22622
|
);
|
|
22556
|
-
const [canScrollPrev, setCanScrollPrev] =
|
|
22557
|
-
const [canScrollNext, setCanScrollNext] =
|
|
22558
|
-
const onSelect =
|
|
22623
|
+
const [canScrollPrev, setCanScrollPrev] = React26.useState(false);
|
|
22624
|
+
const [canScrollNext, setCanScrollNext] = React26.useState(false);
|
|
22625
|
+
const onSelect = React26.useCallback((api2) => {
|
|
22559
22626
|
if (!api2) return;
|
|
22560
22627
|
setCanScrollPrev(api2.canScrollPrev());
|
|
22561
22628
|
setCanScrollNext(api2.canScrollNext());
|
|
22562
22629
|
}, []);
|
|
22563
|
-
const scrollPrev =
|
|
22630
|
+
const scrollPrev = React26.useCallback(() => {
|
|
22564
22631
|
api?.scrollPrev();
|
|
22565
22632
|
}, [api]);
|
|
22566
|
-
const scrollNext =
|
|
22633
|
+
const scrollNext = React26.useCallback(() => {
|
|
22567
22634
|
api?.scrollNext();
|
|
22568
22635
|
}, [api]);
|
|
22569
|
-
const handleKeyDown =
|
|
22636
|
+
const handleKeyDown = React26.useCallback(
|
|
22570
22637
|
(event) => {
|
|
22571
22638
|
if (event.key === "ArrowLeft") {
|
|
22572
22639
|
event.preventDefault();
|
|
@@ -22578,11 +22645,11 @@ function Carousel({
|
|
|
22578
22645
|
},
|
|
22579
22646
|
[scrollPrev, scrollNext]
|
|
22580
22647
|
);
|
|
22581
|
-
|
|
22648
|
+
React26.useEffect(() => {
|
|
22582
22649
|
if (!api || !setApi) return;
|
|
22583
22650
|
setApi(api);
|
|
22584
22651
|
}, [api, setApi]);
|
|
22585
|
-
|
|
22652
|
+
React26.useEffect(() => {
|
|
22586
22653
|
if (!api) return;
|
|
22587
22654
|
onSelect(api);
|
|
22588
22655
|
api.on("reInit", onSelect);
|
|
@@ -23506,7 +23573,7 @@ function FeatureThreeColumnValues({
|
|
|
23506
23573
|
patternOpacity,
|
|
23507
23574
|
patternClassName
|
|
23508
23575
|
}) {
|
|
23509
|
-
const renderValueIcon =
|
|
23576
|
+
const renderValueIcon = React26.useCallback(
|
|
23510
23577
|
(value) => {
|
|
23511
23578
|
if (value.icon) return value.icon;
|
|
23512
23579
|
if (value.iconName)
|
|
@@ -24008,7 +24075,7 @@ function FeatureTabbedContentImage({
|
|
|
24008
24075
|
patternOpacity,
|
|
24009
24076
|
patternClassName
|
|
24010
24077
|
}) {
|
|
24011
|
-
const renderFeatures =
|
|
24078
|
+
const renderFeatures = React26.useCallback(
|
|
24012
24079
|
(slide) => {
|
|
24013
24080
|
if (slide.featuresSlot) return slide.featuresSlot;
|
|
24014
24081
|
if (!slide.features || slide.features.length === 0) return null;
|
|
@@ -24032,7 +24099,7 @@ function FeatureTabbedContentImage({
|
|
|
24032
24099
|
},
|
|
24033
24100
|
[]
|
|
24034
24101
|
);
|
|
24035
|
-
const renderActions =
|
|
24102
|
+
const renderActions = React26.useCallback(
|
|
24036
24103
|
(slide) => {
|
|
24037
24104
|
if (slide.actionsSlot) return slide.actionsSlot;
|
|
24038
24105
|
if (!slide.actions || slide.actions.length === 0) return null;
|
|
@@ -24075,7 +24142,7 @@ function FeatureTabbedContentImage({
|
|
|
24075
24142
|
},
|
|
24076
24143
|
[]
|
|
24077
24144
|
);
|
|
24078
|
-
const renderImage =
|
|
24145
|
+
const renderImage = React26.useCallback(
|
|
24079
24146
|
(slide) => {
|
|
24080
24147
|
if (slide.imageSlot) return slide.imageSlot;
|
|
24081
24148
|
if (!slide.image) return null;
|
|
@@ -24311,7 +24378,7 @@ function FeatureUtilityCardsGrid({
|
|
|
24311
24378
|
}
|
|
24312
24379
|
);
|
|
24313
24380
|
}, [learnMoreSlot, learnMoreAction, background]);
|
|
24314
|
-
const renderUtilityImage =
|
|
24381
|
+
const renderUtilityImage = React26.useCallback(
|
|
24315
24382
|
(utility) => {
|
|
24316
24383
|
if (utility.imageSlot) return utility.imageSlot;
|
|
24317
24384
|
if (utility.image) {
|
|
@@ -24489,7 +24556,7 @@ function FeatureBentoUtilities({
|
|
|
24489
24556
|
patternOpacity,
|
|
24490
24557
|
patternClassName
|
|
24491
24558
|
}) {
|
|
24492
|
-
const renderCard =
|
|
24559
|
+
const renderCard = React26.useCallback(
|
|
24493
24560
|
(card, index) => {
|
|
24494
24561
|
const hasImage = card.imageSrc || card.imageSlot;
|
|
24495
24562
|
const cardClasses = cn(
|
|
@@ -24545,7 +24612,7 @@ function FeatureBentoUtilities({
|
|
|
24545
24612
|
},
|
|
24546
24613
|
[optixFlowConfig]
|
|
24547
24614
|
);
|
|
24548
|
-
const renderColumn =
|
|
24615
|
+
const renderColumn = React26.useCallback(
|
|
24549
24616
|
(cards, slot) => {
|
|
24550
24617
|
if (slot) return slot;
|
|
24551
24618
|
if (!cards || cards.length === 0) return null;
|
|
@@ -25791,7 +25858,7 @@ function FeatureBentoImageGrid({
|
|
|
25791
25858
|
patternOpacity,
|
|
25792
25859
|
patternClassName
|
|
25793
25860
|
}) {
|
|
25794
|
-
const renderItemIcon =
|
|
25861
|
+
const renderItemIcon = React26.useCallback(
|
|
25795
25862
|
(item) => {
|
|
25796
25863
|
if (item.icon) return item.icon;
|
|
25797
25864
|
if (item.iconName) return /* @__PURE__ */ jsx(DynamicIcon, { name: item.iconName, size: 24 });
|
|
@@ -25799,7 +25866,7 @@ function FeatureBentoImageGrid({
|
|
|
25799
25866
|
},
|
|
25800
25867
|
[]
|
|
25801
25868
|
);
|
|
25802
|
-
const renderItemImage =
|
|
25869
|
+
const renderItemImage = React26.useCallback(
|
|
25803
25870
|
(item, imageClassName) => {
|
|
25804
25871
|
if (item.imageSlot) return item.imageSlot;
|
|
25805
25872
|
if (item.imageSrc) {
|
|
@@ -25818,7 +25885,7 @@ function FeatureBentoImageGrid({
|
|
|
25818
25885
|
},
|
|
25819
25886
|
[optixFlowConfig]
|
|
25820
25887
|
);
|
|
25821
|
-
const renderLargeCard =
|
|
25888
|
+
const renderLargeCard = React26.useCallback(
|
|
25822
25889
|
(item) => {
|
|
25823
25890
|
const iconContent = renderItemIcon(item);
|
|
25824
25891
|
const hasIconBadgeContent = iconContent || item.iconBadge;
|
|
@@ -25906,7 +25973,7 @@ function FeatureBentoImageGrid({
|
|
|
25906
25973
|
},
|
|
25907
25974
|
[largeCardClassName, renderItemImage, renderItemIcon]
|
|
25908
25975
|
);
|
|
25909
|
-
const renderSmallCard =
|
|
25976
|
+
const renderSmallCard = React26.useCallback(
|
|
25910
25977
|
(item, index) => {
|
|
25911
25978
|
const iconContent = renderItemIcon(item);
|
|
25912
25979
|
const hasIconBadgeContent = iconContent || item.iconBadge;
|
|
@@ -26521,7 +26588,7 @@ function FeatureAccordionImage({
|
|
|
26521
26588
|
patternOpacity,
|
|
26522
26589
|
patternClassName
|
|
26523
26590
|
}) {
|
|
26524
|
-
const [activeItem, setActiveItem] =
|
|
26591
|
+
const [activeItem, setActiveItem] = React26.useState(defaultValue || "item-0");
|
|
26525
26592
|
const activeIndex = parseInt(activeItem.replace("item-", ""), 10) || 0;
|
|
26526
26593
|
const currentImage = items?.[activeIndex] || items?.[0];
|
|
26527
26594
|
const accordionItemsContent = useMemo(() => {
|
|
@@ -26670,7 +26737,7 @@ function FeatureCapabilitiesGrid({
|
|
|
26670
26737
|
patternOpacity,
|
|
26671
26738
|
patternClassName
|
|
26672
26739
|
}) {
|
|
26673
|
-
const renderItemIcon =
|
|
26740
|
+
const renderItemIcon = React26.useCallback(
|
|
26674
26741
|
(item) => {
|
|
26675
26742
|
if (item.icon) return item.icon;
|
|
26676
26743
|
if (item.iconName) return /* @__PURE__ */ jsx(DynamicIcon, { name: item.iconName, size: 20 });
|
|
@@ -26822,7 +26889,7 @@ function FeatureCapabilitiesGrid({
|
|
|
26822
26889
|
}
|
|
26823
26890
|
);
|
|
26824
26891
|
}
|
|
26825
|
-
var TeamMemberBackgroundImageCard =
|
|
26892
|
+
var TeamMemberBackgroundImageCard = React26.forwardRef(
|
|
26826
26893
|
({ className, imageUrl, imageAlt, children, optixFlowConfig, background, ...props }, ref) => {
|
|
26827
26894
|
return /* @__PURE__ */ jsxs(
|
|
26828
26895
|
"div",
|
|
@@ -26870,7 +26937,7 @@ function TeamMediaShowcase({
|
|
|
26870
26937
|
actionClassName,
|
|
26871
26938
|
optixFlowConfig
|
|
26872
26939
|
}) {
|
|
26873
|
-
const renderItems =
|
|
26940
|
+
const renderItems = React26.useMemo(() => {
|
|
26874
26941
|
if (itemsSlot) return itemsSlot;
|
|
26875
26942
|
return items.map((member, idx) => {
|
|
26876
26943
|
const imageAlt = member.imageAlt || (member.name && typeof member.name === "string" && member.name.trim() !== "" ? member.name : `member-${idx}`);
|
|
@@ -26968,7 +27035,7 @@ function TeamSimpleGrid({
|
|
|
26968
27035
|
memberNameClassName,
|
|
26969
27036
|
memberRoleClassName
|
|
26970
27037
|
}) {
|
|
26971
|
-
const renderMembers =
|
|
27038
|
+
const renderMembers = React26.useMemo(() => {
|
|
26972
27039
|
if (membersSlot) return membersSlot;
|
|
26973
27040
|
if (!members || members.length === 0) return null;
|
|
26974
27041
|
return members.map((member) => /* @__PURE__ */ jsxs(
|
|
@@ -27130,7 +27197,7 @@ function FooterBrandLinksContact({
|
|
|
27130
27197
|
linkListClassName,
|
|
27131
27198
|
linkItemClassName
|
|
27132
27199
|
]);
|
|
27133
|
-
const contactItemsContent =
|
|
27200
|
+
const contactItemsContent = React26.useMemo(() => {
|
|
27134
27201
|
if (!contactItems || contactItems.length === 0) return null;
|
|
27135
27202
|
return contactItems.map((item, idx) => /* @__PURE__ */ jsxs(
|
|
27136
27203
|
"div",
|
|
@@ -27488,7 +27555,7 @@ function TeamSocialGrid({
|
|
|
27488
27555
|
memberRoleClassName,
|
|
27489
27556
|
socialLinksClassName
|
|
27490
27557
|
}) {
|
|
27491
|
-
const renderMembers =
|
|
27558
|
+
const renderMembers = React26.useMemo(() => {
|
|
27492
27559
|
if (membersSlot) return membersSlot;
|
|
27493
27560
|
if (!members || members.length === 0) return null;
|
|
27494
27561
|
return members.map((member) => /* @__PURE__ */ jsxs(
|
|
@@ -27624,7 +27691,7 @@ function TeamGradientCards({
|
|
|
27624
27691
|
memberRoleClassName,
|
|
27625
27692
|
socialLinksClassName
|
|
27626
27693
|
}) {
|
|
27627
|
-
const renderMembers =
|
|
27694
|
+
const renderMembers = React26.useMemo(() => {
|
|
27628
27695
|
if (membersSlot) return membersSlot;
|
|
27629
27696
|
if (!members || members.length === 0) return null;
|
|
27630
27697
|
return members.map((member) => /* @__PURE__ */ jsx(
|
|
@@ -27780,7 +27847,7 @@ function TeamBioBadges({
|
|
|
27780
27847
|
memberBioClassName,
|
|
27781
27848
|
socialLinksClassName
|
|
27782
27849
|
}) {
|
|
27783
|
-
const renderMembers =
|
|
27850
|
+
const renderMembers = React26.useMemo(() => {
|
|
27784
27851
|
if (membersSlot) return membersSlot;
|
|
27785
27852
|
if (!members || members.length === 0) return null;
|
|
27786
27853
|
return members.map((member) => /* @__PURE__ */ jsxs(
|
|
@@ -27957,7 +28024,7 @@ function TeamExpertiseCards({
|
|
|
27957
28024
|
ctaDescriptionClassName,
|
|
27958
28025
|
ctaButtonClassName
|
|
27959
28026
|
}) {
|
|
27960
|
-
const renderMembers =
|
|
28027
|
+
const renderMembers = React26.useMemo(() => {
|
|
27961
28028
|
if (membersSlot) return membersSlot;
|
|
27962
28029
|
if (!members || members.length === 0) return null;
|
|
27963
28030
|
return members.map((member) => /* @__PURE__ */ jsx(
|
|
@@ -28034,7 +28101,7 @@ function TeamExpertiseCards({
|
|
|
28034
28101
|
member.id
|
|
28035
28102
|
));
|
|
28036
28103
|
}, [membersSlot, members, background, memberCardClassName, avatarClassName, memberNameClassName, memberRoleClassName, departmentBadgeClassName, memberDescriptionClassName, expertiseClassName]);
|
|
28037
|
-
const renderCta =
|
|
28104
|
+
const renderCta = React26.useMemo(() => {
|
|
28038
28105
|
if (ctaSlot) return ctaSlot;
|
|
28039
28106
|
return /* @__PURE__ */ jsxs(
|
|
28040
28107
|
"div",
|
|
@@ -28150,7 +28217,7 @@ function TeamCompactGrid({
|
|
|
28150
28217
|
ctaDescriptionClassName,
|
|
28151
28218
|
ctaButtonClassName
|
|
28152
28219
|
}) {
|
|
28153
|
-
const renderMembers =
|
|
28220
|
+
const renderMembers = React26.useMemo(() => {
|
|
28154
28221
|
if (membersSlot) return membersSlot;
|
|
28155
28222
|
if (!members || members.length === 0) return null;
|
|
28156
28223
|
return members.map((member) => /* @__PURE__ */ jsxs(
|
|
@@ -28205,7 +28272,7 @@ function TeamCompactGrid({
|
|
|
28205
28272
|
member.id
|
|
28206
28273
|
));
|
|
28207
28274
|
}, [membersSlot, members, background, memberCardClassName, avatarClassName, memberNameClassName, memberRoleClassName, departmentBadgeClassName]);
|
|
28208
|
-
const renderCta =
|
|
28275
|
+
const renderCta = React26.useMemo(() => {
|
|
28209
28276
|
if (ctaSlot) return ctaSlot;
|
|
28210
28277
|
return /* @__PURE__ */ jsxs(
|
|
28211
28278
|
"div",
|
|
@@ -28309,7 +28376,7 @@ function TeamInvestorShowcase({
|
|
|
28309
28376
|
investorCompanyClassName,
|
|
28310
28377
|
optixFlowConfig
|
|
28311
28378
|
}) {
|
|
28312
|
-
const renderInvestors =
|
|
28379
|
+
const renderInvestors = React26.useMemo(() => {
|
|
28313
28380
|
if (investorsSlot) return investorsSlot;
|
|
28314
28381
|
if (!investors || investors.length === 0) return null;
|
|
28315
28382
|
return investors.map((investor) => /* @__PURE__ */ jsxs("div", { className: investorCardClassName, children: [
|
|
@@ -28383,7 +28450,7 @@ function TeamCarouselExperience({
|
|
|
28383
28450
|
memberRoleClassName,
|
|
28384
28451
|
optixFlowConfig
|
|
28385
28452
|
}) {
|
|
28386
|
-
const renderMembers =
|
|
28453
|
+
const renderMembers = React26.useMemo(() => {
|
|
28387
28454
|
if (membersSlot) return membersSlot;
|
|
28388
28455
|
if (!members || members.length === 0) return null;
|
|
28389
28456
|
return members.map((member, idx) => /* @__PURE__ */ jsx(CarouselItem, { className: "max-w-72", children: /* @__PURE__ */ jsxs(
|
|
@@ -28533,20 +28600,20 @@ function TeamFilterableSearch({
|
|
|
28533
28600
|
emptyStateClassName,
|
|
28534
28601
|
emptyStateMessage
|
|
28535
28602
|
}) {
|
|
28536
|
-
const [searchQuery, setSearchQuery] =
|
|
28537
|
-
const [selectedDepartment, setSelectedDepartment] =
|
|
28538
|
-
const departments =
|
|
28603
|
+
const [searchQuery, setSearchQuery] = React26.useState("");
|
|
28604
|
+
const [selectedDepartment, setSelectedDepartment] = React26.useState("All");
|
|
28605
|
+
const departments = React26.useMemo(() => {
|
|
28539
28606
|
const depts = new Set(members.map((m) => m.department));
|
|
28540
28607
|
return ["All", ...Array.from(depts)];
|
|
28541
28608
|
}, [members]);
|
|
28542
|
-
const filteredMembers =
|
|
28609
|
+
const filteredMembers = React26.useMemo(() => {
|
|
28543
28610
|
return members.filter((member) => {
|
|
28544
28611
|
const matchesSearch = searchQuery === "" || member.name.toLowerCase().includes(searchQuery.toLowerCase()) || member.role.toLowerCase().includes(searchQuery.toLowerCase()) || member.description.toLowerCase().includes(searchQuery.toLowerCase());
|
|
28545
28612
|
const matchesDepartment = selectedDepartment === "All" || member.department === selectedDepartment;
|
|
28546
28613
|
return matchesSearch && matchesDepartment;
|
|
28547
28614
|
});
|
|
28548
28615
|
}, [members, searchQuery, selectedDepartment]);
|
|
28549
|
-
const renderFilters =
|
|
28616
|
+
const renderFilters = React26.useMemo(() => {
|
|
28550
28617
|
if (filtersSlot) return filtersSlot;
|
|
28551
28618
|
return /* @__PURE__ */ jsxs(
|
|
28552
28619
|
"div",
|
|
@@ -28601,7 +28668,7 @@ function TeamFilterableSearch({
|
|
|
28601
28668
|
selectedDepartment,
|
|
28602
28669
|
filterButtonClassName
|
|
28603
28670
|
]);
|
|
28604
|
-
const renderMembers =
|
|
28671
|
+
const renderMembers = React26.useMemo(() => {
|
|
28605
28672
|
if (membersSlot) return membersSlot;
|
|
28606
28673
|
return filteredMembers.map((member) => /* @__PURE__ */ jsx(
|
|
28607
28674
|
"div",
|
|
@@ -28788,7 +28855,7 @@ function TeamCompactCta({
|
|
|
28788
28855
|
memberRoleClassName,
|
|
28789
28856
|
ctaClassName
|
|
28790
28857
|
}) {
|
|
28791
|
-
const renderMembers =
|
|
28858
|
+
const renderMembers = React26.useMemo(() => {
|
|
28792
28859
|
if (membersSlot) return membersSlot;
|
|
28793
28860
|
if (!members || members.length === 0) return null;
|
|
28794
28861
|
return members.map((member) => /* @__PURE__ */ jsxs(
|
|
@@ -28816,7 +28883,7 @@ function TeamCompactCta({
|
|
|
28816
28883
|
member.id
|
|
28817
28884
|
));
|
|
28818
28885
|
}, [membersSlot, members, memberCardClassName, avatarClassName, memberNameClassName, memberRoleClassName, background]);
|
|
28819
|
-
const renderCta =
|
|
28886
|
+
const renderCta = React26.useMemo(() => {
|
|
28820
28887
|
if (ctaSlot) return ctaSlot;
|
|
28821
28888
|
return /* @__PURE__ */ jsx(
|
|
28822
28889
|
Pressable,
|
|
@@ -28907,7 +28974,7 @@ function TeamHoverHighlight({
|
|
|
28907
28974
|
socialLinksClassName,
|
|
28908
28975
|
optixFlowConfig
|
|
28909
28976
|
}) {
|
|
28910
|
-
const renderMembers =
|
|
28977
|
+
const renderMembers = React26.useMemo(() => {
|
|
28911
28978
|
if (membersSlot) return membersSlot;
|
|
28912
28979
|
if (!members || members.length === 0) return null;
|
|
28913
28980
|
return members.map((member) => /* @__PURE__ */ jsxs(
|
|
@@ -29056,7 +29123,7 @@ function TeamSocialCards({
|
|
|
29056
29123
|
socialLinksClassName,
|
|
29057
29124
|
optixFlowConfig
|
|
29058
29125
|
}) {
|
|
29059
|
-
const renderMembers =
|
|
29126
|
+
const renderMembers = React26.useMemo(() => {
|
|
29060
29127
|
if (membersSlot) return membersSlot;
|
|
29061
29128
|
if (!members || members.length === 0) return null;
|
|
29062
29129
|
return members.map((member) => /* @__PURE__ */ jsx(
|
|
@@ -29226,7 +29293,7 @@ function TeamGridAnimated({
|
|
|
29226
29293
|
"hsl(var(--muted))",
|
|
29227
29294
|
"hsl(var(--warning)/0.2)"
|
|
29228
29295
|
];
|
|
29229
|
-
const renderMembers =
|
|
29296
|
+
const renderMembers = React26.useMemo(() => {
|
|
29230
29297
|
if (membersSlot) return membersSlot;
|
|
29231
29298
|
if (!members || members.length === 0) return null;
|
|
29232
29299
|
return members.map((member, index) => /* @__PURE__ */ jsxs(
|
|
@@ -29326,7 +29393,7 @@ function TeamGridAnimated({
|
|
|
29326
29393
|
memberDesignationClassName,
|
|
29327
29394
|
socialLinksClassName
|
|
29328
29395
|
]);
|
|
29329
|
-
const renderSocialLinksMain =
|
|
29396
|
+
const renderSocialLinksMain = React26.useMemo(() => {
|
|
29330
29397
|
if (socialLinksMainSlot) return socialLinksMainSlot;
|
|
29331
29398
|
if (!socialLinksMain || socialLinksMain.length === 0) return null;
|
|
29332
29399
|
return /* @__PURE__ */ jsxs("div", { className: "flex w-full items-center justify-center gap-4 py-4 md:justify-center", children: [
|
|
@@ -29443,7 +29510,7 @@ function TeamDepartmentSections({
|
|
|
29443
29510
|
memberRoleClassName,
|
|
29444
29511
|
optixFlowConfig
|
|
29445
29512
|
}) {
|
|
29446
|
-
const renderDepartments =
|
|
29513
|
+
const renderDepartments = React26.useMemo(() => {
|
|
29447
29514
|
if (departmentsSlot) return departmentsSlot;
|
|
29448
29515
|
if (!departments || departments.length === 0) return null;
|
|
29449
29516
|
return departments.map((department, deptIndex) => /* @__PURE__ */ jsxs(
|
|
@@ -29547,7 +29614,7 @@ function TeamAlternatingBios({
|
|
|
29547
29614
|
socialLinksClassName,
|
|
29548
29615
|
optixFlowConfig
|
|
29549
29616
|
}) {
|
|
29550
|
-
const renderMembers =
|
|
29617
|
+
const renderMembers = React26.useMemo(() => {
|
|
29551
29618
|
if (membersSlot) return membersSlot;
|
|
29552
29619
|
if (!members || members.length === 0) return null;
|
|
29553
29620
|
return members.map((member, index) => /* @__PURE__ */ jsxs(
|
|
@@ -29729,7 +29796,7 @@ function TeamAvatarSocial({
|
|
|
29729
29796
|
memberRoleClassName,
|
|
29730
29797
|
socialLinksClassName
|
|
29731
29798
|
}) {
|
|
29732
|
-
const renderMembers =
|
|
29799
|
+
const renderMembers = React26.useMemo(() => {
|
|
29733
29800
|
if (membersSlot) return membersSlot;
|
|
29734
29801
|
if (!members || members.length === 0) return null;
|
|
29735
29802
|
return members.map((member) => /* @__PURE__ */ jsxs(
|
|
@@ -29872,7 +29939,7 @@ function TeamHoverOverlay({
|
|
|
29872
29939
|
socialLinksClassName,
|
|
29873
29940
|
optixFlowConfig
|
|
29874
29941
|
}) {
|
|
29875
|
-
const renderMembers =
|
|
29942
|
+
const renderMembers = React26.useMemo(() => {
|
|
29876
29943
|
if (membersSlot) return membersSlot;
|
|
29877
29944
|
if (!members || members.length === 0) return null;
|
|
29878
29945
|
return members.map((member) => /* @__PURE__ */ jsx(
|
|
@@ -30048,14 +30115,14 @@ function TeamRoleFilter({
|
|
|
30048
30115
|
socialLinksClassName,
|
|
30049
30116
|
optixFlowConfig
|
|
30050
30117
|
}) {
|
|
30051
|
-
const [selectedRole, setSelectedRole] =
|
|
30052
|
-
const filteredMembers =
|
|
30118
|
+
const [selectedRole, setSelectedRole] = React26.useState("All");
|
|
30119
|
+
const filteredMembers = React26.useMemo(() => {
|
|
30053
30120
|
if (!members) return [];
|
|
30054
30121
|
return members.filter(
|
|
30055
30122
|
(member) => selectedRole === "All" ? true : member.role === selectedRole
|
|
30056
30123
|
);
|
|
30057
30124
|
}, [members, selectedRole]);
|
|
30058
|
-
const renderRoles =
|
|
30125
|
+
const renderRoles = React26.useMemo(() => {
|
|
30059
30126
|
if (rolesSlot) return rolesSlot;
|
|
30060
30127
|
if (!roles) return null;
|
|
30061
30128
|
return /* @__PURE__ */ jsx(
|
|
@@ -30079,7 +30146,7 @@ function TeamRoleFilter({
|
|
|
30079
30146
|
}
|
|
30080
30147
|
);
|
|
30081
30148
|
}, [rolesSlot, filtersClassName, roles, selectedRole, filterButtonClassName]);
|
|
30082
|
-
const renderMembers =
|
|
30149
|
+
const renderMembers = React26.useMemo(() => {
|
|
30083
30150
|
if (membersSlot) return membersSlot;
|
|
30084
30151
|
return filteredMembers.map((member) => /* @__PURE__ */ jsx(
|
|
30085
30152
|
Card,
|
|
@@ -30239,7 +30306,7 @@ function TeamContactCards({
|
|
|
30239
30306
|
socialLinksClassName,
|
|
30240
30307
|
optixFlowConfig
|
|
30241
30308
|
}) {
|
|
30242
|
-
const getStatusColor =
|
|
30309
|
+
const getStatusColor = React26.useCallback((status) => {
|
|
30243
30310
|
switch (status) {
|
|
30244
30311
|
case "active":
|
|
30245
30312
|
return "bg-success";
|
|
@@ -30249,7 +30316,7 @@ function TeamContactCards({
|
|
|
30249
30316
|
return getTextColor(background, "muted");
|
|
30250
30317
|
}
|
|
30251
30318
|
}, [background]);
|
|
30252
|
-
const renderMembers =
|
|
30319
|
+
const renderMembers = React26.useMemo(() => {
|
|
30253
30320
|
if (membersSlot) return membersSlot;
|
|
30254
30321
|
if (!members || members.length === 0) return null;
|
|
30255
30322
|
return members.map((member) => /* @__PURE__ */ jsx(Card, { className: cn("p-0", memberCardClassName), children: /* @__PURE__ */ jsxs(CardContent, { className: "p-6!", children: [
|
|
@@ -30456,7 +30523,7 @@ function TeamLargeImages({
|
|
|
30456
30523
|
socialLinksClassName,
|
|
30457
30524
|
optixFlowConfig
|
|
30458
30525
|
}) {
|
|
30459
|
-
const renderMembers =
|
|
30526
|
+
const renderMembers = React26.useMemo(() => {
|
|
30460
30527
|
if (membersSlot) return membersSlot;
|
|
30461
30528
|
if (!members || members.length === 0) return null;
|
|
30462
30529
|
return members.map((member) => /* @__PURE__ */ jsxs(
|
|
@@ -30631,7 +30698,7 @@ function TeamSkillBadges({
|
|
|
30631
30698
|
socialLinksClassName,
|
|
30632
30699
|
optixFlowConfig
|
|
30633
30700
|
}) {
|
|
30634
|
-
const renderMembers =
|
|
30701
|
+
const renderMembers = React26.useMemo(() => {
|
|
30635
30702
|
if (membersSlot) return membersSlot;
|
|
30636
30703
|
if (!members || members.length === 0) return null;
|
|
30637
30704
|
return members.map((member) => /* @__PURE__ */ jsx(
|
|
@@ -30821,7 +30888,7 @@ function TeamTestimonialStats({
|
|
|
30821
30888
|
socialLinksClassName,
|
|
30822
30889
|
optixFlowConfig
|
|
30823
30890
|
}) {
|
|
30824
|
-
const renderMembers =
|
|
30891
|
+
const renderMembers = React26.useMemo(() => {
|
|
30825
30892
|
if (membersSlot) return membersSlot;
|
|
30826
30893
|
if (!members || members.length === 0) return null;
|
|
30827
30894
|
return members.map((member) => /* @__PURE__ */ jsx(
|
|
@@ -34965,7 +35032,7 @@ function BlogGridAuthorCardsComponent({
|
|
|
34965
35032
|
pattern,
|
|
34966
35033
|
patternOpacity
|
|
34967
35034
|
}) {
|
|
34968
|
-
const viewAllActionContent =
|
|
35035
|
+
const viewAllActionContent = React26.useMemo(() => {
|
|
34969
35036
|
if (viewAllSlot) return viewAllSlot;
|
|
34970
35037
|
if (!viewAllAction) return null;
|
|
34971
35038
|
const {
|
|
@@ -34990,7 +35057,7 @@ function BlogGridAuthorCardsComponent({
|
|
|
34990
35057
|
}
|
|
34991
35058
|
);
|
|
34992
35059
|
}, [viewAllSlot, viewAllAction]);
|
|
34993
|
-
const postsContent =
|
|
35060
|
+
const postsContent = React26.useMemo(() => {
|
|
34994
35061
|
if (postsSlot) return postsSlot;
|
|
34995
35062
|
if (!posts || posts.length === 0) return null;
|
|
34996
35063
|
return posts.map((post) => {
|
|
@@ -35102,7 +35169,7 @@ function BlogCardsTaglineCta({
|
|
|
35102
35169
|
pattern,
|
|
35103
35170
|
patternOpacity
|
|
35104
35171
|
}) {
|
|
35105
|
-
const ctaActionContent =
|
|
35172
|
+
const ctaActionContent = React26.useMemo(() => {
|
|
35106
35173
|
if (ctaSlot) return ctaSlot;
|
|
35107
35174
|
if (!ctaAction) return null;
|
|
35108
35175
|
const {
|
|
@@ -35130,7 +35197,7 @@ function BlogCardsTaglineCta({
|
|
|
35130
35197
|
}
|
|
35131
35198
|
);
|
|
35132
35199
|
}, [ctaSlot, ctaAction, ctaClassName]);
|
|
35133
|
-
const postsContent =
|
|
35200
|
+
const postsContent = React26.useMemo(() => {
|
|
35134
35201
|
if (postsSlot) return postsSlot;
|
|
35135
35202
|
if (!posts || posts.length === 0) return null;
|
|
35136
35203
|
return posts.map((post) => {
|
|
@@ -35276,7 +35343,7 @@ function BlogCardsReadTime({
|
|
|
35276
35343
|
pattern,
|
|
35277
35344
|
patternOpacity
|
|
35278
35345
|
}) {
|
|
35279
|
-
const renderedViewAllAction =
|
|
35346
|
+
const renderedViewAllAction = React26.useMemo(() => {
|
|
35280
35347
|
if (viewAllSlot) return viewAllSlot;
|
|
35281
35348
|
if (!viewAllAction) return null;
|
|
35282
35349
|
const {
|
|
@@ -35293,7 +35360,7 @@ function BlogCardsReadTime({
|
|
|
35293
35360
|
iconAfter
|
|
35294
35361
|
] }) });
|
|
35295
35362
|
}, [viewAllSlot, viewAllAction]);
|
|
35296
|
-
const renderedPosts =
|
|
35363
|
+
const renderedPosts = React26.useMemo(() => {
|
|
35297
35364
|
if (postsSlot) return postsSlot;
|
|
35298
35365
|
if (!posts || posts.length === 0) return null;
|
|
35299
35366
|
return posts.map((post) => {
|
|
@@ -35430,7 +35497,7 @@ function BlogCategoryOverlay({
|
|
|
35430
35497
|
pattern,
|
|
35431
35498
|
patternOpacity
|
|
35432
35499
|
}) {
|
|
35433
|
-
const viewAllActionContent =
|
|
35500
|
+
const viewAllActionContent = React26.useMemo(() => {
|
|
35434
35501
|
if (viewAllSlot) return viewAllSlot;
|
|
35435
35502
|
if (!viewAllAction) return null;
|
|
35436
35503
|
const {
|
|
@@ -35458,7 +35525,7 @@ function BlogCategoryOverlay({
|
|
|
35458
35525
|
}
|
|
35459
35526
|
);
|
|
35460
35527
|
}, [viewAllSlot, viewAllAction, viewAllClassName]);
|
|
35461
|
-
const postsContent =
|
|
35528
|
+
const postsContent = React26.useMemo(() => {
|
|
35462
35529
|
if (postsSlot) return postsSlot;
|
|
35463
35530
|
if (!posts || posts.length === 0) return null;
|
|
35464
35531
|
return posts.map((post) => {
|
|
@@ -35606,7 +35673,7 @@ function BlogFeaturedPopular({
|
|
|
35606
35673
|
}) {
|
|
35607
35674
|
const featuredPost = posts?.[0];
|
|
35608
35675
|
const popularPosts = posts?.slice(1);
|
|
35609
|
-
const renderedFeaturedPost =
|
|
35676
|
+
const renderedFeaturedPost = React26.useMemo(() => {
|
|
35610
35677
|
if (featuredSlot) return featuredSlot;
|
|
35611
35678
|
if (!featuredPost) return null;
|
|
35612
35679
|
const postHref = featuredPost.href || featuredPost.url || featuredPost.link;
|
|
@@ -35658,7 +35725,7 @@ function BlogFeaturedPopular({
|
|
|
35658
35725
|
featuredContentClassName,
|
|
35659
35726
|
optixFlowConfig
|
|
35660
35727
|
]);
|
|
35661
|
-
const renderedPopularPosts =
|
|
35728
|
+
const renderedPopularPosts = React26.useMemo(() => {
|
|
35662
35729
|
if (postsSlot) return postsSlot;
|
|
35663
35730
|
if (!popularPosts || popularPosts.length === 0) return null;
|
|
35664
35731
|
return popularPosts.map((post) => {
|
|
@@ -35775,7 +35842,7 @@ function BlogRelatedArticles({
|
|
|
35775
35842
|
pattern,
|
|
35776
35843
|
patternOpacity
|
|
35777
35844
|
}) {
|
|
35778
|
-
const renderedSeeAllAction =
|
|
35845
|
+
const renderedSeeAllAction = React26.useMemo(() => {
|
|
35779
35846
|
if (seeAllSlot) return seeAllSlot;
|
|
35780
35847
|
if (!seeAllAction) return null;
|
|
35781
35848
|
const {
|
|
@@ -35804,7 +35871,7 @@ function BlogRelatedArticles({
|
|
|
35804
35871
|
}
|
|
35805
35872
|
);
|
|
35806
35873
|
}, [seeAllSlot, seeAllAction, seeAllClassName]);
|
|
35807
|
-
const renderedArticles =
|
|
35874
|
+
const renderedArticles = React26.useMemo(() => {
|
|
35808
35875
|
if (articlesSlot) return articlesSlot;
|
|
35809
35876
|
if (!articles || articles.length === 0) return null;
|
|
35810
35877
|
return articles.map((item) => {
|
|
@@ -36112,7 +36179,7 @@ function BlogHorizontalCards({
|
|
|
36112
36179
|
pattern,
|
|
36113
36180
|
patternOpacity
|
|
36114
36181
|
}) {
|
|
36115
|
-
const ctaContent =
|
|
36182
|
+
const ctaContent = React26.useMemo(() => {
|
|
36116
36183
|
if (ctaSlot) return ctaSlot;
|
|
36117
36184
|
if (!ctaAction) return null;
|
|
36118
36185
|
const {
|
|
@@ -36137,7 +36204,7 @@ function BlogHorizontalCards({
|
|
|
36137
36204
|
}
|
|
36138
36205
|
);
|
|
36139
36206
|
}, [ctaSlot, ctaAction]);
|
|
36140
|
-
const postsContent =
|
|
36207
|
+
const postsContent = React26.useMemo(() => {
|
|
36141
36208
|
if (postsSlot) return postsSlot;
|
|
36142
36209
|
if (!posts || posts.length === 0) return null;
|
|
36143
36210
|
return posts.map((post) => {
|
|
@@ -36359,7 +36426,7 @@ function Label({
|
|
|
36359
36426
|
);
|
|
36360
36427
|
}
|
|
36361
36428
|
var POSTS_PER_PAGE = 6;
|
|
36362
|
-
var BlogCard =
|
|
36429
|
+
var BlogCard = React26.memo(function BlogCard2({
|
|
36363
36430
|
post,
|
|
36364
36431
|
optixFlowConfig,
|
|
36365
36432
|
className
|
|
@@ -36398,7 +36465,7 @@ var BlogCard = React25.memo(function BlogCard2({
|
|
|
36398
36465
|
] })
|
|
36399
36466
|
] }) });
|
|
36400
36467
|
});
|
|
36401
|
-
var FilterForm =
|
|
36468
|
+
var FilterForm = React26.memo(function FilterForm2({
|
|
36402
36469
|
categories,
|
|
36403
36470
|
selectedCategories,
|
|
36404
36471
|
onCategoryChange,
|
|
@@ -36431,7 +36498,7 @@ var FilterForm = React25.memo(function FilterForm2({
|
|
|
36431
36498
|
}
|
|
36432
36499
|
);
|
|
36433
36500
|
});
|
|
36434
|
-
var BreadcrumbBlog =
|
|
36501
|
+
var BreadcrumbBlog = React26.memo(function BreadcrumbBlog2({
|
|
36435
36502
|
breadcrumb
|
|
36436
36503
|
}) {
|
|
36437
36504
|
return /* @__PURE__ */ jsx(Breadcrumb, { children: /* @__PURE__ */ jsx(BreadcrumbList, { children: breadcrumb.map((item, i) => {
|
|
@@ -36513,12 +36580,12 @@ function BlogFilteredResultsComponent({
|
|
|
36513
36580
|
}, [posts, selectedCategories]);
|
|
36514
36581
|
const postsToDisplay = filteredPosts.length > 0 ? filteredPosts : posts || [];
|
|
36515
36582
|
const hasMore = visibleCount < postsToDisplay.length;
|
|
36516
|
-
const breadcrumbContent =
|
|
36583
|
+
const breadcrumbContent = React26.useMemo(() => {
|
|
36517
36584
|
if (breadcrumbSlot) return breadcrumbSlot;
|
|
36518
36585
|
if (!breadcrumb || breadcrumb.length === 0) return null;
|
|
36519
36586
|
return /* @__PURE__ */ jsx(BreadcrumbBlog, { breadcrumb });
|
|
36520
36587
|
}, [breadcrumbSlot, breadcrumb]);
|
|
36521
|
-
const primaryPostContent =
|
|
36588
|
+
const primaryPostContent = React26.useMemo(() => {
|
|
36522
36589
|
if (primaryPostSlot) return primaryPostSlot;
|
|
36523
36590
|
if (!primaryPost) return null;
|
|
36524
36591
|
return /* @__PURE__ */ jsx(
|
|
@@ -36530,7 +36597,7 @@ function BlogFilteredResultsComponent({
|
|
|
36530
36597
|
}
|
|
36531
36598
|
);
|
|
36532
36599
|
}, [primaryPostSlot, primaryPost, optixFlowConfig, postCardClassName]);
|
|
36533
|
-
const categoriesContent =
|
|
36600
|
+
const categoriesContent = React26.useMemo(() => {
|
|
36534
36601
|
if (categoriesSlot) return categoriesSlot;
|
|
36535
36602
|
if (!categories || categories.length === 0) return null;
|
|
36536
36603
|
return /* @__PURE__ */ jsx(
|
|
@@ -36549,7 +36616,7 @@ function BlogFilteredResultsComponent({
|
|
|
36549
36616
|
handleCategoryChange,
|
|
36550
36617
|
categoriesClassName
|
|
36551
36618
|
]);
|
|
36552
|
-
const postsContent =
|
|
36619
|
+
const postsContent = React26.useMemo(() => {
|
|
36553
36620
|
if (postsSlot) return postsSlot;
|
|
36554
36621
|
return postsToDisplay.slice(0, visibleCount).map((post) => {
|
|
36555
36622
|
const postKey = post.id || String(post.title) || Math.random().toString();
|
|
@@ -36570,7 +36637,7 @@ function BlogFilteredResultsComponent({
|
|
|
36570
36637
|
optixFlowConfig,
|
|
36571
36638
|
postCardClassName
|
|
36572
36639
|
]);
|
|
36573
|
-
const loadMoreContent =
|
|
36640
|
+
const loadMoreContent = React26.useMemo(() => {
|
|
36574
36641
|
if (loadMoreSlot) return loadMoreSlot;
|
|
36575
36642
|
if (!loadMoreAction || !hasMore) return null;
|
|
36576
36643
|
const {
|
|
@@ -36696,7 +36763,7 @@ function BlogMasonryFeaturedComponent({
|
|
|
36696
36763
|
}) {
|
|
36697
36764
|
const featuredPost = posts?.[0];
|
|
36698
36765
|
const otherPosts = posts?.slice(1);
|
|
36699
|
-
const featuredPostContent =
|
|
36766
|
+
const featuredPostContent = React26.useMemo(() => {
|
|
36700
36767
|
if (featuredSlot) return featuredSlot;
|
|
36701
36768
|
if (!featuredPost) return null;
|
|
36702
36769
|
const postHref = featuredPost.href || featuredPost.url || featuredPost.link || "#";
|
|
@@ -36746,7 +36813,7 @@ function BlogMasonryFeaturedComponent({
|
|
|
36746
36813
|
featuredImageClassName,
|
|
36747
36814
|
optixFlowConfig
|
|
36748
36815
|
]);
|
|
36749
|
-
const otherPostsContent =
|
|
36816
|
+
const otherPostsContent = React26.useMemo(() => {
|
|
36750
36817
|
if (postsSlot) return postsSlot;
|
|
36751
36818
|
if (!otherPosts || otherPosts.length === 0) return null;
|
|
36752
36819
|
return otherPosts.map((post) => {
|
|
@@ -36835,7 +36902,7 @@ function BlogHorizontalTimelineComponent({
|
|
|
36835
36902
|
pattern,
|
|
36836
36903
|
patternOpacity
|
|
36837
36904
|
}) {
|
|
36838
|
-
const renderPosts =
|
|
36905
|
+
const renderPosts = React26.useMemo(() => {
|
|
36839
36906
|
if (postsSlot) return postsSlot;
|
|
36840
36907
|
if (!posts || posts.length === 0) return null;
|
|
36841
36908
|
return posts.map((post, index) => {
|
|
@@ -36960,7 +37027,7 @@ function BlogGridNinePosts({
|
|
|
36960
37027
|
pattern,
|
|
36961
37028
|
patternOpacity
|
|
36962
37029
|
}) {
|
|
36963
|
-
const renderedCtaAction =
|
|
37030
|
+
const renderedCtaAction = React26.useMemo(() => {
|
|
36964
37031
|
if (ctaSlot) return ctaSlot;
|
|
36965
37032
|
if (!ctaAction) return null;
|
|
36966
37033
|
const {
|
|
@@ -36985,7 +37052,7 @@ function BlogGridNinePosts({
|
|
|
36985
37052
|
}
|
|
36986
37053
|
);
|
|
36987
37054
|
}, [ctaSlot, ctaAction]);
|
|
36988
|
-
const renderedPosts =
|
|
37055
|
+
const renderedPosts = React26.useMemo(() => {
|
|
36989
37056
|
if (postsSlot) return postsSlot;
|
|
36990
37057
|
if (!posts || posts.length === 0) return null;
|
|
36991
37058
|
return posts.map((post) => {
|
|
@@ -37083,9 +37150,9 @@ var AppleCarousel = ({
|
|
|
37083
37150
|
className,
|
|
37084
37151
|
containerClassName
|
|
37085
37152
|
}) => {
|
|
37086
|
-
const carouselRef =
|
|
37087
|
-
const [canScrollLeft, setCanScrollLeft] =
|
|
37088
|
-
const [canScrollRight, setCanScrollRight] =
|
|
37153
|
+
const carouselRef = React26__default.useRef(null);
|
|
37154
|
+
const [canScrollLeft, setCanScrollLeft] = React26__default.useState(false);
|
|
37155
|
+
const [canScrollRight, setCanScrollRight] = React26__default.useState(true);
|
|
37089
37156
|
const [currentIndex, setCurrentIndex] = useState(0);
|
|
37090
37157
|
useEffect(() => {
|
|
37091
37158
|
if (carouselRef.current) {
|
|
@@ -37322,7 +37389,7 @@ function BlogCarouselAppleComponent({
|
|
|
37322
37389
|
containerClassName,
|
|
37323
37390
|
cardClassName
|
|
37324
37391
|
}) {
|
|
37325
|
-
const carouselCards =
|
|
37392
|
+
const carouselCards = React26.useMemo(() => {
|
|
37326
37393
|
if (!posts || posts.length === 0) return [];
|
|
37327
37394
|
return posts.map(
|
|
37328
37395
|
(post, idx) => ({
|
|
@@ -37334,7 +37401,7 @@ function BlogCarouselAppleComponent({
|
|
|
37334
37401
|
})
|
|
37335
37402
|
);
|
|
37336
37403
|
}, [posts]);
|
|
37337
|
-
const cardElements =
|
|
37404
|
+
const cardElements = React26.useMemo(() => {
|
|
37338
37405
|
if (!posts || posts.length === 0) return [];
|
|
37339
37406
|
return carouselCards.map((card, index) => {
|
|
37340
37407
|
const post = posts[index];
|
|
@@ -37419,7 +37486,7 @@ function ArticleHeroProseComponent({
|
|
|
37419
37486
|
description,
|
|
37420
37487
|
authorImage
|
|
37421
37488
|
} = post ?? {};
|
|
37422
|
-
const authorContent =
|
|
37489
|
+
const authorContent = React26.useMemo(() => {
|
|
37423
37490
|
if (authorSlot) return authorSlot;
|
|
37424
37491
|
if (!authorName) return null;
|
|
37425
37492
|
return /* @__PURE__ */ jsxs(
|
|
@@ -37453,7 +37520,7 @@ function ArticleHeroProseComponent({
|
|
|
37453
37520
|
dateFormat,
|
|
37454
37521
|
authorClassName
|
|
37455
37522
|
]);
|
|
37456
|
-
const heroMediaContent =
|
|
37523
|
+
const heroMediaContent = React26.useMemo(() => {
|
|
37457
37524
|
if (heroMediaSlot) return heroMediaSlot;
|
|
37458
37525
|
if (!image) return null;
|
|
37459
37526
|
return /* @__PURE__ */ jsx(
|
|
@@ -37554,7 +37621,7 @@ function ArticleSidebarStickyComponent({
|
|
|
37554
37621
|
pattern,
|
|
37555
37622
|
patternOpacity
|
|
37556
37623
|
}) {
|
|
37557
|
-
const backLinkContent =
|
|
37624
|
+
const backLinkContent = React26.useMemo(() => {
|
|
37558
37625
|
if (backLinkSlot) return backLinkSlot;
|
|
37559
37626
|
if (!backHref && !backText) return null;
|
|
37560
37627
|
return /* @__PURE__ */ jsxs(
|
|
@@ -37572,7 +37639,7 @@ function ArticleSidebarStickyComponent({
|
|
|
37572
37639
|
}
|
|
37573
37640
|
);
|
|
37574
37641
|
}, [backLinkSlot, backHref, backText, backIcon, backLinkClassName]);
|
|
37575
|
-
const renderAuthor =
|
|
37642
|
+
const renderAuthor = React26.useCallback(
|
|
37576
37643
|
(isMobile = false) => {
|
|
37577
37644
|
if (authorSlot) return authorSlot;
|
|
37578
37645
|
if (!authorName) return null;
|
|
@@ -37604,7 +37671,7 @@ function ArticleSidebarStickyComponent({
|
|
|
37604
37671
|
authorClassName
|
|
37605
37672
|
]
|
|
37606
37673
|
);
|
|
37607
|
-
const heroMediaContent =
|
|
37674
|
+
const heroMediaContent = React26.useMemo(() => {
|
|
37608
37675
|
if (heroMediaSlot) return heroMediaSlot;
|
|
37609
37676
|
if (!heroImageSrc) return null;
|
|
37610
37677
|
return /* @__PURE__ */ jsx(
|
|
@@ -37711,10 +37778,10 @@ function ArticleTocSidebarComponent({
|
|
|
37711
37778
|
patternOpacity
|
|
37712
37779
|
}) {
|
|
37713
37780
|
const ctaActions = ctaActionsProp ?? (ctaButtonText ? [{ label: ctaButtonText, href: ctaButtonHref || "#", variant: "default", className: "w-full" }] : []);
|
|
37714
|
-
const [activeSection, setActiveSection] =
|
|
37781
|
+
const [activeSection, setActiveSection] = React26.useState(
|
|
37715
37782
|
sections?.[0]?.id || ""
|
|
37716
37783
|
);
|
|
37717
|
-
|
|
37784
|
+
React26.useEffect(() => {
|
|
37718
37785
|
if (!enableTocTracking || !sections || sections.length === 0) return;
|
|
37719
37786
|
const observer = new IntersectionObserver(
|
|
37720
37787
|
(entries) => {
|
|
@@ -37732,12 +37799,12 @@ function ArticleTocSidebarComponent({
|
|
|
37732
37799
|
});
|
|
37733
37800
|
return () => observer.disconnect();
|
|
37734
37801
|
}, [sections, enableTocTracking]);
|
|
37735
|
-
const categoryContent =
|
|
37802
|
+
const categoryContent = React26.useMemo(() => {
|
|
37736
37803
|
if (categorySlot) return categorySlot;
|
|
37737
37804
|
if (!category) return null;
|
|
37738
37805
|
return /* @__PURE__ */ jsx(Badge, { variant: "secondary", children: category });
|
|
37739
37806
|
}, [categorySlot, category]);
|
|
37740
|
-
const authorContent =
|
|
37807
|
+
const authorContent = React26.useMemo(() => {
|
|
37741
37808
|
if (authorSlot) return authorSlot;
|
|
37742
37809
|
if (!authorName) return null;
|
|
37743
37810
|
return /* @__PURE__ */ jsxs("div", { className: cn("mt-6 flex items-center gap-4", authorClassName), children: [
|
|
@@ -37757,7 +37824,7 @@ function ArticleTocSidebarComponent({
|
|
|
37757
37824
|
] })
|
|
37758
37825
|
] });
|
|
37759
37826
|
}, [authorSlot, authorName, authorImage, authorHref, publishDate, readTime, authorClassName]);
|
|
37760
|
-
const heroMediaContent =
|
|
37827
|
+
const heroMediaContent = React26.useMemo(() => {
|
|
37761
37828
|
if (heroMediaSlot) return heroMediaSlot;
|
|
37762
37829
|
if (!heroImageSrc) return null;
|
|
37763
37830
|
return /* @__PURE__ */ jsx(
|
|
@@ -37770,7 +37837,7 @@ function ArticleTocSidebarComponent({
|
|
|
37770
37837
|
}
|
|
37771
37838
|
);
|
|
37772
37839
|
}, [heroMediaSlot, heroImageSrc, heroImageAlt, heroImageClassName, optixFlowConfig]);
|
|
37773
|
-
const tocContent =
|
|
37840
|
+
const tocContent = React26.useMemo(() => {
|
|
37774
37841
|
if (tocSlot) return tocSlot;
|
|
37775
37842
|
if (!sections || sections.length === 0) return null;
|
|
37776
37843
|
return /* @__PURE__ */ jsxs("div", { className: cn("rounded-lg border p-4", tocClassName), children: [
|
|
@@ -37778,7 +37845,7 @@ function ArticleTocSidebarComponent({
|
|
|
37778
37845
|
/* @__PURE__ */ jsx("nav", { className: "space-y-2", children: sections.map((section) => {
|
|
37779
37846
|
const isActive = activeSection === section.id;
|
|
37780
37847
|
if (renderSectionLink) {
|
|
37781
|
-
return /* @__PURE__ */ jsx(
|
|
37848
|
+
return /* @__PURE__ */ jsx(React26.Fragment, { children: renderSectionLink(section, isActive) }, section.id);
|
|
37782
37849
|
}
|
|
37783
37850
|
return /* @__PURE__ */ jsx(
|
|
37784
37851
|
Pressable,
|
|
@@ -37795,7 +37862,7 @@ function ArticleTocSidebarComponent({
|
|
|
37795
37862
|
}) })
|
|
37796
37863
|
] });
|
|
37797
37864
|
}, [tocSlot, sections, activeSection, renderSectionLink, tocClassName]);
|
|
37798
|
-
const ctaContent =
|
|
37865
|
+
const ctaContent = React26.useMemo(() => {
|
|
37799
37866
|
if (ctaSlot) return ctaSlot;
|
|
37800
37867
|
if (!ctaTitle && !ctaDescription && (!ctaActions || ctaActions.length === 0)) return null;
|
|
37801
37868
|
return /* @__PURE__ */ jsxs("div", { className: cn("rounded-lg border p-4", getNestedCardBg(background, "subtle"), getNestedCardTextColor(background), ctaClassName), children: [
|
|
@@ -37884,11 +37951,11 @@ function ArticleBreadcrumbSocialComponent({
|
|
|
37884
37951
|
patternOpacity
|
|
37885
37952
|
}) {
|
|
37886
37953
|
const author = authorProp ?? (authorName ? { name: authorName, image: authorImage, role: authorRole } : void 0);
|
|
37887
|
-
const [activeSection, setActiveSection] =
|
|
37954
|
+
const [activeSection, setActiveSection] = React26.useState(
|
|
37888
37955
|
sections?.[0]?.id || ""
|
|
37889
37956
|
);
|
|
37890
|
-
const [showBackToTop, setShowBackToTop] =
|
|
37891
|
-
|
|
37957
|
+
const [showBackToTop, setShowBackToTop] = React26.useState(false);
|
|
37958
|
+
React26.useEffect(() => {
|
|
37892
37959
|
if (!enableTocTracking || !sections || sections.length === 0) return;
|
|
37893
37960
|
const observer = new IntersectionObserver(
|
|
37894
37961
|
(entries) => {
|
|
@@ -37906,7 +37973,7 @@ function ArticleBreadcrumbSocialComponent({
|
|
|
37906
37973
|
});
|
|
37907
37974
|
return () => observer.disconnect();
|
|
37908
37975
|
}, [sections, enableTocTracking]);
|
|
37909
|
-
|
|
37976
|
+
React26.useEffect(() => {
|
|
37910
37977
|
if (!enableBackToTop) return;
|
|
37911
37978
|
const handleScroll = () => {
|
|
37912
37979
|
setShowBackToTop(window.scrollY > 400);
|
|
@@ -37914,15 +37981,15 @@ function ArticleBreadcrumbSocialComponent({
|
|
|
37914
37981
|
window.addEventListener("scroll", handleScroll);
|
|
37915
37982
|
return () => window.removeEventListener("scroll", handleScroll);
|
|
37916
37983
|
}, [enableBackToTop]);
|
|
37917
|
-
const scrollToTop =
|
|
37984
|
+
const scrollToTop = React26.useCallback(() => {
|
|
37918
37985
|
window.scrollTo({ top: 0, behavior: "smooth" });
|
|
37919
37986
|
}, []);
|
|
37920
|
-
const breadcrumbsContent =
|
|
37987
|
+
const breadcrumbsContent = React26.useMemo(() => {
|
|
37921
37988
|
if (breadcrumbsSlot) return breadcrumbsSlot;
|
|
37922
37989
|
if (!breadcrumbs || breadcrumbs.length === 0) return null;
|
|
37923
37990
|
return /* @__PURE__ */ jsx(Breadcrumb, { className: cn("mb-8", breadcrumbClassName), children: /* @__PURE__ */ jsxs(BreadcrumbList, { children: [
|
|
37924
37991
|
/* @__PURE__ */ jsx(BreadcrumbItem, { children: /* @__PURE__ */ jsx(BreadcrumbLink, { asChild: true, children: /* @__PURE__ */ jsx(Pressable, { href: "#", children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/home", size: 16 }) }) }) }),
|
|
37925
|
-
breadcrumbs.map((crumb, index) => /* @__PURE__ */ jsxs(
|
|
37992
|
+
breadcrumbs.map((crumb, index) => /* @__PURE__ */ jsxs(React26.Fragment, { children: [
|
|
37926
37993
|
/* @__PURE__ */ jsx(BreadcrumbSeparator, {}),
|
|
37927
37994
|
/* @__PURE__ */ jsx(BreadcrumbItem, { children: /* @__PURE__ */ jsx(BreadcrumbLink, { asChild: true, children: /* @__PURE__ */ jsx(Pressable, { href: crumb.href, children: crumb.label }) }) })
|
|
37928
37995
|
] }, index)),
|
|
@@ -37932,7 +37999,7 @@ function ArticleBreadcrumbSocialComponent({
|
|
|
37932
37999
|
] })
|
|
37933
38000
|
] }) });
|
|
37934
38001
|
}, [breadcrumbsSlot, breadcrumbs, currentPage, breadcrumbClassName]);
|
|
37935
|
-
const authorContent =
|
|
38002
|
+
const authorContent = React26.useMemo(() => {
|
|
37936
38003
|
if (authorSlot) return authorSlot;
|
|
37937
38004
|
if (!author) return null;
|
|
37938
38005
|
return /* @__PURE__ */ jsxs(
|
|
@@ -37955,7 +38022,7 @@ function ArticleBreadcrumbSocialComponent({
|
|
|
37955
38022
|
}
|
|
37956
38023
|
);
|
|
37957
38024
|
}, [authorSlot, author, publishDate, readTime, authorClassName]);
|
|
37958
|
-
const heroMediaContent =
|
|
38025
|
+
const heroMediaContent = React26.useMemo(() => {
|
|
37959
38026
|
if (heroMediaSlot) return heroMediaSlot;
|
|
37960
38027
|
if (!heroImageSrc) return null;
|
|
37961
38028
|
return /* @__PURE__ */ jsx(
|
|
@@ -37977,7 +38044,7 @@ function ArticleBreadcrumbSocialComponent({
|
|
|
37977
38044
|
heroImageClassName,
|
|
37978
38045
|
optixFlowConfig
|
|
37979
38046
|
]);
|
|
37980
|
-
const tocContent =
|
|
38047
|
+
const tocContent = React26.useMemo(() => {
|
|
37981
38048
|
if (tocSlot) return tocSlot;
|
|
37982
38049
|
if (!sections || sections.length === 0) return null;
|
|
37983
38050
|
return /* @__PURE__ */ jsxs("div", { className: cn("rounded-lg border p-4", tocClassName), children: [
|
|
@@ -37985,7 +38052,7 @@ function ArticleBreadcrumbSocialComponent({
|
|
|
37985
38052
|
/* @__PURE__ */ jsx("nav", { className: "space-y-2", children: sections.map((section) => {
|
|
37986
38053
|
const isActive = activeSection === section.id;
|
|
37987
38054
|
if (renderSectionLink) {
|
|
37988
|
-
return /* @__PURE__ */ jsx(
|
|
38055
|
+
return /* @__PURE__ */ jsx(React26.Fragment, { children: renderSectionLink(section, isActive) }, section.id);
|
|
37989
38056
|
}
|
|
37990
38057
|
return /* @__PURE__ */ jsx(
|
|
37991
38058
|
Pressable,
|
|
@@ -38090,11 +38157,11 @@ function ArticleCompactTocComponent({
|
|
|
38090
38157
|
pattern,
|
|
38091
38158
|
patternOpacity
|
|
38092
38159
|
}) {
|
|
38093
|
-
const [activeSection, setActiveSection] =
|
|
38160
|
+
const [activeSection, setActiveSection] = React26.useState(
|
|
38094
38161
|
sections?.[0]?.id || ""
|
|
38095
38162
|
);
|
|
38096
|
-
const [isTocOpen, setIsTocOpen] =
|
|
38097
|
-
|
|
38163
|
+
const [isTocOpen, setIsTocOpen] = React26.useState(false);
|
|
38164
|
+
React26.useEffect(() => {
|
|
38098
38165
|
if (!enableTocTracking) return;
|
|
38099
38166
|
const observer = new IntersectionObserver(
|
|
38100
38167
|
(entries) => {
|
|
@@ -38112,12 +38179,12 @@ function ArticleCompactTocComponent({
|
|
|
38112
38179
|
});
|
|
38113
38180
|
return () => observer.disconnect();
|
|
38114
38181
|
}, [sections, enableTocTracking]);
|
|
38115
|
-
const breadcrumbsContent =
|
|
38182
|
+
const breadcrumbsContent = React26.useMemo(() => {
|
|
38116
38183
|
if (breadcrumbsSlot) return breadcrumbsSlot;
|
|
38117
38184
|
if (!breadcrumbs && !currentPage) return null;
|
|
38118
38185
|
return /* @__PURE__ */ jsx(Breadcrumb, { className: cn("mb-6 md:mb-20", breadcrumbClassName), children: /* @__PURE__ */ jsxs(BreadcrumbList, { children: [
|
|
38119
38186
|
/* @__PURE__ */ jsx(BreadcrumbItem, { children: /* @__PURE__ */ jsx(BreadcrumbLink, { asChild: true, children: /* @__PURE__ */ jsx(Pressable, { href: "#", children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/home", size: 16 }) }) }) }),
|
|
38120
|
-
breadcrumbs?.map((crumb, index) => /* @__PURE__ */ jsxs(
|
|
38187
|
+
breadcrumbs?.map((crumb, index) => /* @__PURE__ */ jsxs(React26.Fragment, { children: [
|
|
38121
38188
|
/* @__PURE__ */ jsx(BreadcrumbSeparator, {}),
|
|
38122
38189
|
/* @__PURE__ */ jsx(BreadcrumbItem, { children: /* @__PURE__ */ jsx(BreadcrumbLink, { asChild: true, children: /* @__PURE__ */ jsx(Pressable, { href: crumb.href, children: crumb.label }) }) })
|
|
38123
38190
|
] }, index)),
|
|
@@ -38125,7 +38192,7 @@ function ArticleCompactTocComponent({
|
|
|
38125
38192
|
/* @__PURE__ */ jsx(BreadcrumbItem, { children: /* @__PURE__ */ jsx(BreadcrumbPage, { children: currentPage }) })
|
|
38126
38193
|
] }) });
|
|
38127
38194
|
}, [breadcrumbsSlot, breadcrumbs, currentPage, breadcrumbClassName]);
|
|
38128
|
-
const shareContent =
|
|
38195
|
+
const shareContent = React26.useMemo(() => {
|
|
38129
38196
|
if (shareSlot) return shareSlot;
|
|
38130
38197
|
if (!socialLinks || socialLinks.length === 0) return null;
|
|
38131
38198
|
return /* @__PURE__ */ jsxs("div", { className: cn("mt-6 flex items-center gap-2", shareClassName), children: [
|
|
@@ -38142,13 +38209,13 @@ function ArticleCompactTocComponent({
|
|
|
38142
38209
|
))
|
|
38143
38210
|
] });
|
|
38144
38211
|
}, [shareSlot, socialLinks, shareClassName]);
|
|
38145
|
-
const renderTocLinks =
|
|
38212
|
+
const renderTocLinks = React26.useCallback(
|
|
38146
38213
|
(onLinkClick) => {
|
|
38147
38214
|
if (!sections) return null;
|
|
38148
38215
|
return sections.map((section) => {
|
|
38149
38216
|
const isActive = activeSection === section.id;
|
|
38150
38217
|
if (renderSectionLink) {
|
|
38151
|
-
return /* @__PURE__ */ jsx(
|
|
38218
|
+
return /* @__PURE__ */ jsx(React26.Fragment, { children: renderSectionLink(section, isActive) }, section.id);
|
|
38152
38219
|
}
|
|
38153
38220
|
return /* @__PURE__ */ jsx(
|
|
38154
38221
|
Pressable,
|
|
@@ -38167,7 +38234,7 @@ function ArticleCompactTocComponent({
|
|
|
38167
38234
|
},
|
|
38168
38235
|
[sections, activeSection, renderSectionLink]
|
|
38169
38236
|
);
|
|
38170
|
-
const tocContent =
|
|
38237
|
+
const tocContent = React26.useMemo(() => {
|
|
38171
38238
|
if (tocSlot) return tocSlot;
|
|
38172
38239
|
if (!sections || sections.length === 0) return null;
|
|
38173
38240
|
return /* @__PURE__ */ jsx("div", { className: "mb-8 lg:hidden", children: /* @__PURE__ */ jsxs(Popover, { open: isTocOpen, onOpenChange: setIsTocOpen, children: [
|
|
@@ -38200,7 +38267,7 @@ function ArticleCompactTocComponent({
|
|
|
38200
38267
|
)
|
|
38201
38268
|
] }) });
|
|
38202
38269
|
}, [tocSlot, sections, isTocOpen, tocClassName, renderTocLinks]);
|
|
38203
|
-
const desktopTocContent =
|
|
38270
|
+
const desktopTocContent = React26.useMemo(() => {
|
|
38204
38271
|
if (tocSlot) return null;
|
|
38205
38272
|
if (!sections || sections.length === 0) return null;
|
|
38206
38273
|
return /* @__PURE__ */ jsx(
|
|
@@ -38217,7 +38284,7 @@ function ArticleCompactTocComponent({
|
|
|
38217
38284
|
}
|
|
38218
38285
|
);
|
|
38219
38286
|
}, [tocSlot, sections, tocClassName, renderTocLinks]);
|
|
38220
|
-
const heroMediaContent =
|
|
38287
|
+
const heroMediaContent = React26.useMemo(() => {
|
|
38221
38288
|
if (heroMediaSlot) return heroMediaSlot;
|
|
38222
38289
|
if (!heroImageSrc) return null;
|
|
38223
38290
|
return /* @__PURE__ */ jsx(
|
|
@@ -38347,10 +38414,10 @@ function ArticleChaptersAuthorComponent({
|
|
|
38347
38414
|
variant: "default"
|
|
38348
38415
|
}
|
|
38349
38416
|
] : []);
|
|
38350
|
-
const [activeChapter, setActiveChapter] =
|
|
38417
|
+
const [activeChapter, setActiveChapter] = React26.useState(
|
|
38351
38418
|
chapters?.[0]?.id || ""
|
|
38352
38419
|
);
|
|
38353
|
-
|
|
38420
|
+
React26.useEffect(() => {
|
|
38354
38421
|
if (!enableChapterTracking || !chapters || chapters.length === 0) return;
|
|
38355
38422
|
const observer = new IntersectionObserver(
|
|
38356
38423
|
(entries) => {
|
|
@@ -38368,12 +38435,12 @@ function ArticleChaptersAuthorComponent({
|
|
|
38368
38435
|
});
|
|
38369
38436
|
return () => observer.disconnect();
|
|
38370
38437
|
}, [chapters, enableChapterTracking]);
|
|
38371
|
-
const breadcrumbsContent =
|
|
38438
|
+
const breadcrumbsContent = React26.useMemo(() => {
|
|
38372
38439
|
if (breadcrumbsSlot) return breadcrumbsSlot;
|
|
38373
38440
|
if (!breadcrumbs || breadcrumbs.length === 0) return null;
|
|
38374
38441
|
return /* @__PURE__ */ jsx(Breadcrumb, { className: cn("mb-8 md:mb-20", breadcrumbClassName), children: /* @__PURE__ */ jsxs(BreadcrumbList, { children: [
|
|
38375
38442
|
/* @__PURE__ */ jsx(BreadcrumbItem, { children: /* @__PURE__ */ jsx(BreadcrumbLink, { asChild: true, children: /* @__PURE__ */ jsx(Pressable, { href: "#", children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/home", size: 16 }) }) }) }),
|
|
38376
|
-
breadcrumbs.map((crumb, index) => /* @__PURE__ */ jsxs(
|
|
38443
|
+
breadcrumbs.map((crumb, index) => /* @__PURE__ */ jsxs(React26.Fragment, { children: [
|
|
38377
38444
|
/* @__PURE__ */ jsx(BreadcrumbSeparator, {}),
|
|
38378
38445
|
/* @__PURE__ */ jsx(BreadcrumbItem, { children: /* @__PURE__ */ jsx(BreadcrumbLink, { asChild: true, children: /* @__PURE__ */ jsx(Pressable, { href: crumb.href, children: crumb.label }) }) })
|
|
38379
38446
|
] }, index)),
|
|
@@ -38381,7 +38448,7 @@ function ArticleChaptersAuthorComponent({
|
|
|
38381
38448
|
/* @__PURE__ */ jsx(BreadcrumbItem, { children: /* @__PURE__ */ jsx(BreadcrumbPage, { children: typeof currentPage === "string" ? currentPage : currentPage }) })
|
|
38382
38449
|
] }) });
|
|
38383
38450
|
}, [breadcrumbsSlot, breadcrumbs, currentPage, breadcrumbClassName]);
|
|
38384
|
-
const chaptersNavContent =
|
|
38451
|
+
const chaptersNavContent = React26.useMemo(() => {
|
|
38385
38452
|
if (chaptersSlot) return chaptersSlot;
|
|
38386
38453
|
if (!chapters || chapters.length === 0) return null;
|
|
38387
38454
|
return /* @__PURE__ */ jsxs("div", { className: cn("rounded-lg border p-4", chaptersClassName), children: [
|
|
@@ -38389,7 +38456,7 @@ function ArticleChaptersAuthorComponent({
|
|
|
38389
38456
|
/* @__PURE__ */ jsx("nav", { className: "space-y-2", children: chapters.map((chapter) => {
|
|
38390
38457
|
const isActive = activeChapter === chapter.id;
|
|
38391
38458
|
if (renderChapterLink) {
|
|
38392
|
-
return /* @__PURE__ */ jsx(
|
|
38459
|
+
return /* @__PURE__ */ jsx(React26.Fragment, { children: renderChapterLink(chapter, isActive) }, chapter.id);
|
|
38393
38460
|
}
|
|
38394
38461
|
return /* @__PURE__ */ jsxs(
|
|
38395
38462
|
Pressable,
|
|
@@ -38415,7 +38482,7 @@ function ArticleChaptersAuthorComponent({
|
|
|
38415
38482
|
renderChapterLink,
|
|
38416
38483
|
chaptersClassName
|
|
38417
38484
|
]);
|
|
38418
|
-
const authorCardContent =
|
|
38485
|
+
const authorCardContent = React26.useMemo(() => {
|
|
38419
38486
|
if (authorSlot) return authorSlot;
|
|
38420
38487
|
if (!author) return null;
|
|
38421
38488
|
let socialLinksContent = null;
|
|
@@ -38476,7 +38543,7 @@ function ArticleChaptersAuthorComponent({
|
|
|
38476
38543
|
socialLinksContent
|
|
38477
38544
|
] });
|
|
38478
38545
|
}, [authorSlot, author, authorClassName]);
|
|
38479
|
-
const heroMediaContent =
|
|
38546
|
+
const heroMediaContent = React26.useMemo(() => {
|
|
38480
38547
|
if (heroMediaSlot) return heroMediaSlot;
|
|
38481
38548
|
if (!heroImageSrc) return null;
|
|
38482
38549
|
return /* @__PURE__ */ jsx(
|
|
@@ -38498,7 +38565,7 @@ function ArticleChaptersAuthorComponent({
|
|
|
38498
38565
|
heroImageClassName,
|
|
38499
38566
|
optixFlowConfig
|
|
38500
38567
|
]);
|
|
38501
|
-
const conclusionContent =
|
|
38568
|
+
const conclusionContent = React26.useMemo(() => {
|
|
38502
38569
|
if (conclusionSlot) return conclusionSlot;
|
|
38503
38570
|
if (!conclusionTitle && !conclusionDescription && (!conclusionActions || conclusionActions.length === 0))
|
|
38504
38571
|
return null;
|
|
@@ -38650,7 +38717,7 @@ function ArticleSplitAnimatedComponent({
|
|
|
38650
38717
|
}
|
|
38651
38718
|
] : []);
|
|
38652
38719
|
const MotionWrapper = enableAnimations ? motion.div : "div";
|
|
38653
|
-
const categoryContent =
|
|
38720
|
+
const categoryContent = React26.useMemo(() => {
|
|
38654
38721
|
if (categorySlot) return categorySlot;
|
|
38655
38722
|
if (!category) return null;
|
|
38656
38723
|
return /* @__PURE__ */ jsx(
|
|
@@ -38665,7 +38732,7 @@ function ArticleSplitAnimatedComponent({
|
|
|
38665
38732
|
}
|
|
38666
38733
|
);
|
|
38667
38734
|
}, [categorySlot, category, categoryHref, categoryClassName]);
|
|
38668
|
-
const heroMediaContent =
|
|
38735
|
+
const heroMediaContent = React26.useMemo(() => {
|
|
38669
38736
|
if (heroMediaSlot) return heroMediaSlot;
|
|
38670
38737
|
if (!image) return null;
|
|
38671
38738
|
return /* @__PURE__ */ jsx(
|
|
@@ -38678,7 +38745,7 @@ function ArticleSplitAnimatedComponent({
|
|
|
38678
38745
|
}
|
|
38679
38746
|
);
|
|
38680
38747
|
}, [heroMediaSlot, image, imageAlt, title, optixFlowConfig]);
|
|
38681
|
-
const authorContent =
|
|
38748
|
+
const authorContent = React26.useMemo(() => {
|
|
38682
38749
|
if (authorSlot) return authorSlot;
|
|
38683
38750
|
if (!authorName) return null;
|
|
38684
38751
|
return /* @__PURE__ */ jsxs("div", { className: cn("mt-8 flex items-center gap-4", authorClassName), children: [
|
|
@@ -38706,7 +38773,7 @@ function ArticleSplitAnimatedComponent({
|
|
|
38706
38773
|
authorRole,
|
|
38707
38774
|
authorClassName
|
|
38708
38775
|
]);
|
|
38709
|
-
const ctaContent =
|
|
38776
|
+
const ctaContent = React26.useMemo(() => {
|
|
38710
38777
|
if (ctaSlot) return ctaSlot;
|
|
38711
38778
|
if (!ctaActions || ctaActions.length === 0) return null;
|
|
38712
38779
|
return /* @__PURE__ */ jsx("div", { className: cn("mt-8 flex flex-wrap gap-3", ctaClassName), children: ctaActions.map((action, index) => {
|
|
@@ -40163,7 +40230,7 @@ function FaqSidebarNavigation({
|
|
|
40163
40230
|
accordionTriggerClassName,
|
|
40164
40231
|
accordionContentClassName
|
|
40165
40232
|
}) {
|
|
40166
|
-
const [activeCategory, setActiveCategory] =
|
|
40233
|
+
const [activeCategory, setActiveCategory] = React26.useState(
|
|
40167
40234
|
categories && categories.length > 1 ? "all" : categories?.[0]?.id || ""
|
|
40168
40235
|
);
|
|
40169
40236
|
const filteredCategories = useMemo(() => {
|
|
@@ -41052,7 +41119,7 @@ function FaqSplitHero({
|
|
|
41052
41119
|
imageArea
|
|
41053
41120
|
] }) });
|
|
41054
41121
|
}
|
|
41055
|
-
var Controls =
|
|
41122
|
+
var Controls = React26.memo(
|
|
41056
41123
|
({
|
|
41057
41124
|
handleNext,
|
|
41058
41125
|
handlePrevious,
|
|
@@ -41083,7 +41150,7 @@ var Controls = React25.memo(
|
|
|
41083
41150
|
] });
|
|
41084
41151
|
}
|
|
41085
41152
|
);
|
|
41086
|
-
var FeatureCard =
|
|
41153
|
+
var FeatureCard = React26.memo(
|
|
41087
41154
|
({ feature, isActive, onClick }) => {
|
|
41088
41155
|
const variants2 = useMemo(
|
|
41089
41156
|
() => ({
|
|
@@ -41191,7 +41258,7 @@ var FeatureCard = React25.memo(
|
|
|
41191
41258
|
) });
|
|
41192
41259
|
}
|
|
41193
41260
|
);
|
|
41194
|
-
var FeaturesDesktop =
|
|
41261
|
+
var FeaturesDesktop = React26.memo(
|
|
41195
41262
|
({
|
|
41196
41263
|
features,
|
|
41197
41264
|
handleNext,
|
|
@@ -41225,7 +41292,7 @@ var FeaturesDesktop = React25.memo(
|
|
|
41225
41292
|
] });
|
|
41226
41293
|
}
|
|
41227
41294
|
);
|
|
41228
|
-
var FeaturesMobile =
|
|
41295
|
+
var FeaturesMobile = React26.memo(
|
|
41229
41296
|
({
|
|
41230
41297
|
features,
|
|
41231
41298
|
handleNext,
|
|
@@ -41316,8 +41383,8 @@ function FeatureAnimatedCarousel({
|
|
|
41316
41383
|
spacing = "py-12 md:py-32",
|
|
41317
41384
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8"
|
|
41318
41385
|
}) {
|
|
41319
|
-
const [activeIndex, setActiveIndex] =
|
|
41320
|
-
const [direction, setDirection] =
|
|
41386
|
+
const [activeIndex, setActiveIndex] = React26.useState(0);
|
|
41387
|
+
const [direction, setDirection] = React26.useState(1);
|
|
41321
41388
|
const handleNext = useCallback(() => {
|
|
41322
41389
|
if (features && activeIndex < features.length - 1) {
|
|
41323
41390
|
setDirection(1);
|
|
@@ -42179,7 +42246,7 @@ function FooterInfoCardsAccordion({
|
|
|
42179
42246
|
patternOpacity,
|
|
42180
42247
|
optixFlowConfig
|
|
42181
42248
|
}) {
|
|
42182
|
-
const [email, setEmail] =
|
|
42249
|
+
const [email, setEmail] = React26.useState("");
|
|
42183
42250
|
(/* @__PURE__ */ new Date()).getFullYear();
|
|
42184
42251
|
const handleSubmit = (e) => {
|
|
42185
42252
|
e.preventDefault();
|
|
@@ -42484,13 +42551,13 @@ function CaseStudiesImageGrid({
|
|
|
42484
42551
|
patternOpacity,
|
|
42485
42552
|
optixFlowConfig
|
|
42486
42553
|
}) {
|
|
42487
|
-
const getGridClass =
|
|
42554
|
+
const getGridClass = React26.useCallback((index) => {
|
|
42488
42555
|
if (index === 0 || index === 4) {
|
|
42489
42556
|
return "row-span-2 aspect-square lg:aspect-auto";
|
|
42490
42557
|
}
|
|
42491
42558
|
return "aspect-3/2 md:aspect-2/1";
|
|
42492
42559
|
}, []);
|
|
42493
|
-
const renderedItems =
|
|
42560
|
+
const renderedItems = React26.useMemo(() => {
|
|
42494
42561
|
if (itemsSlot) return itemsSlot;
|
|
42495
42562
|
if (!items || items.length === 0) return null;
|
|
42496
42563
|
return items.map((item, index) => /* @__PURE__ */ jsxs(
|
|
@@ -42576,7 +42643,7 @@ function CaseStudiesTestimonialStats({
|
|
|
42576
42643
|
patternOpacity,
|
|
42577
42644
|
optixFlowConfig
|
|
42578
42645
|
}) {
|
|
42579
|
-
const renderedTestimonials =
|
|
42646
|
+
const renderedTestimonials = React26.useMemo(() => {
|
|
42580
42647
|
if (testimonialsSlot) return testimonialsSlot;
|
|
42581
42648
|
if (!testimonials || testimonials.length === 0) return null;
|
|
42582
42649
|
return testimonials.map((testimonial, index) => /* @__PURE__ */ jsxs("div", { className: testimonialItemClassName, children: [
|
|
@@ -46049,7 +46116,7 @@ function CaseStudiesFeaturedBorder({
|
|
|
46049
46116
|
patternOpacity,
|
|
46050
46117
|
optixFlowConfig
|
|
46051
46118
|
}) {
|
|
46052
|
-
const renderedFeatured =
|
|
46119
|
+
const renderedFeatured = React26.useMemo(() => {
|
|
46053
46120
|
if (featuredSlot) return featuredSlot;
|
|
46054
46121
|
if (!featuredCaseStudy) return null;
|
|
46055
46122
|
return /* @__PURE__ */ jsxs(
|
|
@@ -46123,7 +46190,7 @@ function CaseStudiesFeaturedBorder({
|
|
|
46123
46190
|
featuredImageClassName,
|
|
46124
46191
|
optixFlowConfig
|
|
46125
46192
|
]);
|
|
46126
|
-
const renderedCaseStudies =
|
|
46193
|
+
const renderedCaseStudies = React26.useMemo(() => {
|
|
46127
46194
|
if (caseStudiesSlot) return caseStudiesSlot;
|
|
46128
46195
|
if (!caseStudies || caseStudies.length === 0) return null;
|
|
46129
46196
|
return caseStudies.map((item, idx) => /* @__PURE__ */ jsxs(
|
|
@@ -46232,7 +46299,7 @@ function CaseStudiesStatsCard({
|
|
|
46232
46299
|
patternOpacity,
|
|
46233
46300
|
optixFlowConfig
|
|
46234
46301
|
}) {
|
|
46235
|
-
const renderedStats =
|
|
46302
|
+
const renderedStats = React26.useMemo(() => {
|
|
46236
46303
|
if (statsSlot) return statsSlot;
|
|
46237
46304
|
if (!stats || stats.length === 0) return null;
|
|
46238
46305
|
return /* @__PURE__ */ jsx("div", { className: cn("flex w-full flex-col gap-8 sm:flex-row", statsClassName), children: stats.map((item, i) => /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-1", children: [
|
|
@@ -46240,7 +46307,7 @@ function CaseStudiesStatsCard({
|
|
|
46240
46307
|
/* @__PURE__ */ jsx("div", { className: "text-sm font-medium text-muted-foreground", children: item.text })
|
|
46241
46308
|
] }, `stats-${i}`)) });
|
|
46242
46309
|
}, [statsSlot, stats, statsClassName]);
|
|
46243
|
-
const renderedAuthor =
|
|
46310
|
+
const renderedAuthor = React26.useMemo(() => {
|
|
46244
46311
|
if (authorSlot) return authorSlot;
|
|
46245
46312
|
if (!author) return null;
|
|
46246
46313
|
return /* @__PURE__ */ jsxs("div", { className: cn("flex items-center gap-2.5", authorClassName), children: [
|
|
@@ -46254,7 +46321,7 @@ function CaseStudiesStatsCard({
|
|
|
46254
46321
|
] })
|
|
46255
46322
|
] });
|
|
46256
46323
|
}, [authorSlot, author, authorClassName]);
|
|
46257
|
-
const renderedActions =
|
|
46324
|
+
const renderedActions = React26.useMemo(() => {
|
|
46258
46325
|
if (actionsSlot) return actionsSlot;
|
|
46259
46326
|
if (!actions || actions.length === 0) return null;
|
|
46260
46327
|
return /* @__PURE__ */ jsx("div", { className: cn("shrink-0", actionsClassName), children: actions.map((action, index) => {
|
|
@@ -50073,6 +50140,7 @@ function HeroVideoBackgroundDark({
|
|
|
50073
50140
|
description,
|
|
50074
50141
|
actions,
|
|
50075
50142
|
actionsSlot,
|
|
50143
|
+
actionsClassName,
|
|
50076
50144
|
videoSrc,
|
|
50077
50145
|
videoSlot,
|
|
50078
50146
|
background,
|
|
@@ -50085,34 +50153,6 @@ function HeroVideoBackgroundDark({
|
|
|
50085
50153
|
headingClassName,
|
|
50086
50154
|
descriptionClassName
|
|
50087
50155
|
}) {
|
|
50088
|
-
const renderActions = useMemo(() => {
|
|
50089
|
-
if (actionsSlot) return actionsSlot;
|
|
50090
|
-
if (!actions || actions.length === 0) return null;
|
|
50091
|
-
return /* @__PURE__ */ jsx("div", { className: "flex lg:justify-center", children: /* @__PURE__ */ jsx("div", { className: "flex min-w-fit flex-col gap-5 text-sm leading-[.96] whitespace-nowrap lg:flex-row lg:items-stretch", children: actions.map((action, index) => {
|
|
50092
|
-
const {
|
|
50093
|
-
label,
|
|
50094
|
-
icon,
|
|
50095
|
-
iconAfter,
|
|
50096
|
-
children,
|
|
50097
|
-
className: actionClassName,
|
|
50098
|
-
...pressableProps
|
|
50099
|
-
} = action;
|
|
50100
|
-
return /* @__PURE__ */ jsx(
|
|
50101
|
-
Pressable,
|
|
50102
|
-
{
|
|
50103
|
-
asButton: true,
|
|
50104
|
-
className: actionClassName,
|
|
50105
|
-
...pressableProps,
|
|
50106
|
-
children: children ?? /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
50107
|
-
icon,
|
|
50108
|
-
label,
|
|
50109
|
-
iconAfter
|
|
50110
|
-
] })
|
|
50111
|
-
},
|
|
50112
|
-
index
|
|
50113
|
-
);
|
|
50114
|
-
}) }) });
|
|
50115
|
-
}, [actionsSlot, actions]);
|
|
50116
50156
|
const renderVideo = useMemo(() => {
|
|
50117
50157
|
if (videoSlot) return videoSlot;
|
|
50118
50158
|
return /* @__PURE__ */ jsx(
|
|
@@ -50141,7 +50181,7 @@ function HeroVideoBackgroundDark({
|
|
|
50141
50181
|
"div",
|
|
50142
50182
|
{
|
|
50143
50183
|
className: cn(
|
|
50144
|
-
"relative z-10 mx-auto flex size-full max-w-3xl flex-col justify-center gap-6 lg:items-center
|
|
50184
|
+
"relative z-10 mx-auto flex size-full max-w-3xl flex-col justify-center gap-6 lg:items-center text-center px-6",
|
|
50145
50185
|
contentClassName
|
|
50146
50186
|
),
|
|
50147
50187
|
children: [
|
|
@@ -50150,21 +50190,12 @@ function HeroVideoBackgroundDark({
|
|
|
50150
50190
|
"h1",
|
|
50151
50191
|
{
|
|
50152
50192
|
className: cn(
|
|
50153
|
-
"text-4xl font-bold md:text-
|
|
50193
|
+
"text-4xl font-bold md:text-6xl lg:text-7xl text-balance text-white text-shadow-2xl",
|
|
50154
50194
|
headingClassName
|
|
50155
50195
|
),
|
|
50156
50196
|
children: heading
|
|
50157
50197
|
}
|
|
50158
|
-
) :
|
|
50159
|
-
"h1",
|
|
50160
|
-
{
|
|
50161
|
-
className: cn(
|
|
50162
|
-
"text-4xl font-bold md:text-5xl text-balance text-white text-shadow-xl",
|
|
50163
|
-
headingClassName
|
|
50164
|
-
),
|
|
50165
|
-
children: heading
|
|
50166
|
-
}
|
|
50167
|
-
)),
|
|
50198
|
+
) : heading),
|
|
50168
50199
|
description && (typeof description === "string" ? /* @__PURE__ */ jsx(
|
|
50169
50200
|
"p",
|
|
50170
50201
|
{
|
|
@@ -50174,8 +50205,15 @@ function HeroVideoBackgroundDark({
|
|
|
50174
50205
|
),
|
|
50175
50206
|
children: description
|
|
50176
50207
|
}
|
|
50177
|
-
) :
|
|
50178
|
-
|
|
50208
|
+
) : description),
|
|
50209
|
+
/* @__PURE__ */ jsx(
|
|
50210
|
+
BlockActions,
|
|
50211
|
+
{
|
|
50212
|
+
actions,
|
|
50213
|
+
actionsSlot,
|
|
50214
|
+
actionsClassName
|
|
50215
|
+
}
|
|
50216
|
+
)
|
|
50179
50217
|
]
|
|
50180
50218
|
}
|
|
50181
50219
|
),
|
|
@@ -53404,7 +53442,7 @@ function HeroSplitImageNewsletter({
|
|
|
53404
53442
|
onError,
|
|
53405
53443
|
uploadTokens
|
|
53406
53444
|
});
|
|
53407
|
-
const renderForm =
|
|
53445
|
+
const renderForm = React26.useMemo(() => {
|
|
53408
53446
|
if (formSlot) return formSlot;
|
|
53409
53447
|
if (!formFields || formFields.length === 0) return null;
|
|
53410
53448
|
const defaultButtonAction = {
|
|
@@ -53483,7 +53521,7 @@ function HeroSplitImageNewsletter({
|
|
|
53483
53521
|
resetUpload,
|
|
53484
53522
|
resetSubmissionState
|
|
53485
53523
|
]);
|
|
53486
|
-
const renderImage =
|
|
53524
|
+
const renderImage = React26.useMemo(() => {
|
|
53487
53525
|
if (imageSlot) return imageSlot;
|
|
53488
53526
|
if (!image) return null;
|
|
53489
53527
|
return /* @__PURE__ */ jsx("div", { className: "relative lg:w-1/2", children: /* @__PURE__ */ jsx(
|
|
@@ -54911,7 +54949,7 @@ function HeroSaasDashboardPreview({
|
|
|
54911
54949
|
onError,
|
|
54912
54950
|
uploadTokens
|
|
54913
54951
|
});
|
|
54914
|
-
const renderBadge =
|
|
54952
|
+
const renderBadge = React26.useMemo(() => {
|
|
54915
54953
|
if (badgeSlot) return badgeSlot;
|
|
54916
54954
|
return /* @__PURE__ */ jsxs(
|
|
54917
54955
|
"div",
|
|
@@ -54926,7 +54964,7 @@ function HeroSaasDashboardPreview({
|
|
|
54926
54964
|
}
|
|
54927
54965
|
);
|
|
54928
54966
|
}, [badgeSlot, badgeIcon, badgeText]);
|
|
54929
|
-
const renderForm =
|
|
54967
|
+
const renderForm = React26.useMemo(() => {
|
|
54930
54968
|
if (formSlot) return formSlot;
|
|
54931
54969
|
const defaultButtonAction = {
|
|
54932
54970
|
label: "Start Free Trial",
|
|
@@ -55001,7 +55039,7 @@ function HeroSaasDashboardPreview({
|
|
|
55001
55039
|
resetUpload,
|
|
55002
55040
|
resetSubmissionState
|
|
55003
55041
|
]);
|
|
55004
|
-
const renderBrowserPreview =
|
|
55042
|
+
const renderBrowserPreview = React26.useMemo(() => {
|
|
55005
55043
|
if (browserPreviewSlot) return browserPreviewSlot;
|
|
55006
55044
|
if (!browserPreview) return null;
|
|
55007
55045
|
return /* @__PURE__ */ jsxs("div", { className: cn("relative mt-12 md:mt-20", previewClassName), children: [
|
|
@@ -57252,7 +57290,7 @@ function HeroEcommerceProductShowcase({
|
|
|
57252
57290
|
"flex flex-col md:flex-row items-center gap-4 md:gap-6 pt-8 md:pt-12",
|
|
57253
57291
|
statsClassName
|
|
57254
57292
|
),
|
|
57255
|
-
children: stats.map((stat, index) => /* @__PURE__ */ jsxs(
|
|
57293
|
+
children: stats.map((stat, index) => /* @__PURE__ */ jsxs(React26.Fragment, { children: [
|
|
57256
57294
|
index > 0 && /* @__PURE__ */ jsx("div", { className: "h-12 w-px bg-border hidden md:flex" }),
|
|
57257
57295
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 justify-between flex-row md:flex-col text-left md:text-center w-full md:w-fit border md:border-none rounded-xl md:rounded-none p-4 md:p-0", children: [
|
|
57258
57296
|
/* @__PURE__ */ jsxs(
|
|
@@ -57696,7 +57734,7 @@ function HeroNewsletterMinimal({
|
|
|
57696
57734
|
disclaimerClassName,
|
|
57697
57735
|
statsClassName
|
|
57698
57736
|
}) {
|
|
57699
|
-
const renderStats =
|
|
57737
|
+
const renderStats = React26.useMemo(() => {
|
|
57700
57738
|
if (statsSlot) return statsSlot;
|
|
57701
57739
|
if (!stats || stats.length === 0) return null;
|
|
57702
57740
|
return stats.map((stat, index) => /* @__PURE__ */ jsx("div", { className: cn("flex items-center", stat.className), children: /* @__PURE__ */ jsxs("div", { className: "text-center", children: [
|
|
@@ -57722,7 +57760,7 @@ function HeroNewsletterMinimal({
|
|
|
57722
57760
|
/* @__PURE__ */ jsx("div", { className: cn("text-sm"), children: stat.label })
|
|
57723
57761
|
] }) }, index));
|
|
57724
57762
|
}, [statsSlot, stats]);
|
|
57725
|
-
const renderForm =
|
|
57763
|
+
const renderForm = React26.useMemo(() => {
|
|
57726
57764
|
if (formSlot) return formSlot;
|
|
57727
57765
|
if (!formEngineSetup) return null;
|
|
57728
57766
|
const defaultButtonAction = {
|
|
@@ -57889,7 +57927,7 @@ function HeroComingSoonCountdown({
|
|
|
57889
57927
|
formClassName,
|
|
57890
57928
|
socialLinksClassName
|
|
57891
57929
|
}) {
|
|
57892
|
-
const [timeLeft, setTimeLeft] =
|
|
57930
|
+
const [timeLeft, setTimeLeft] = React26.useState(null);
|
|
57893
57931
|
const {
|
|
57894
57932
|
uploadTokens,
|
|
57895
57933
|
uploadProgress,
|
|
@@ -57909,7 +57947,7 @@ function HeroComingSoonCountdown({
|
|
|
57909
57947
|
onError,
|
|
57910
57948
|
uploadTokens
|
|
57911
57949
|
});
|
|
57912
|
-
const calculateTimeLeft =
|
|
57950
|
+
const calculateTimeLeft = React26.useCallback(() => {
|
|
57913
57951
|
if (!countdownDate) return null;
|
|
57914
57952
|
const now = Date.now();
|
|
57915
57953
|
const target = countdownDate.getTime();
|
|
@@ -57922,7 +57960,7 @@ function HeroComingSoonCountdown({
|
|
|
57922
57960
|
seconds: Math.floor(diff % (1e3 * 60) / 1e3)
|
|
57923
57961
|
};
|
|
57924
57962
|
}, [countdownDate]);
|
|
57925
|
-
|
|
57963
|
+
React26.useEffect(() => {
|
|
57926
57964
|
setTimeLeft(calculateTimeLeft());
|
|
57927
57965
|
if (!countdownDate) return;
|
|
57928
57966
|
const timer = setInterval(() => {
|
|
@@ -57933,7 +57971,7 @@ function HeroComingSoonCountdown({
|
|
|
57933
57971
|
return () => clearInterval(timer);
|
|
57934
57972
|
}, [countdownDate, calculateTimeLeft]);
|
|
57935
57973
|
const showCountdown = countdownSlot || timeLeft;
|
|
57936
|
-
const renderForm =
|
|
57974
|
+
const renderForm = React26.useMemo(() => {
|
|
57937
57975
|
if (formSlot) return formSlot;
|
|
57938
57976
|
const defaultButtonAction = {
|
|
57939
57977
|
label: "Notify Me",
|
|
@@ -58009,7 +58047,7 @@ function HeroComingSoonCountdown({
|
|
|
58009
58047
|
resetUpload,
|
|
58010
58048
|
resetSubmissionState
|
|
58011
58049
|
]);
|
|
58012
|
-
const renderSocialLinks =
|
|
58050
|
+
const renderSocialLinks = React26.useMemo(() => {
|
|
58013
58051
|
if (socialLinksSlot) return socialLinksSlot;
|
|
58014
58052
|
if (!socialLinks || socialLinks.length === 0) return null;
|
|
58015
58053
|
return socialLinks.map((link, index) => /* @__PURE__ */ jsx(
|
|
@@ -58122,7 +58160,8 @@ function HeroEventRegistration({
|
|
|
58122
58160
|
actionsClassName,
|
|
58123
58161
|
statsClassName,
|
|
58124
58162
|
imageClassName,
|
|
58125
|
-
optixFlowConfig
|
|
58163
|
+
optixFlowConfig,
|
|
58164
|
+
logo
|
|
58126
58165
|
}) {
|
|
58127
58166
|
const renderBadge = useMemo(() => {
|
|
58128
58167
|
if (badgeSlot) return badgeSlot;
|
|
@@ -58141,7 +58180,7 @@ function HeroEventRegistration({
|
|
|
58141
58180
|
"flex flex-col md:flex-row items-center gap-4 md:gap-6 pt-8 md:pt-12 w-full md:w-fit",
|
|
58142
58181
|
statsClassName
|
|
58143
58182
|
),
|
|
58144
|
-
children: stats.map((stat, index) => /* @__PURE__ */ jsxs(
|
|
58183
|
+
children: stats.map((stat, index) => /* @__PURE__ */ jsxs(React26.Fragment, { children: [
|
|
58145
58184
|
index > 0 && /* @__PURE__ */ jsx("div", { className: "h-12 w-px bg-border hidden md:flex" }),
|
|
58146
58185
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 justify-between flex-row md:flex-col text-left md:text-center w-full md:w-fit border md:border-none rounded-xl md:rounded-none p-4 md:p-0", children: [
|
|
58147
58186
|
/* @__PURE__ */ jsxs(
|
|
@@ -58226,6 +58265,15 @@ function HeroEventRegistration({
|
|
|
58226
58265
|
),
|
|
58227
58266
|
children: [
|
|
58228
58267
|
renderBadge,
|
|
58268
|
+
logo && /* @__PURE__ */ jsx(
|
|
58269
|
+
Img,
|
|
58270
|
+
{
|
|
58271
|
+
src: logo.src,
|
|
58272
|
+
alt: logo.alt,
|
|
58273
|
+
className: "mr-auto h-12 md:h-16",
|
|
58274
|
+
optixFlowConfig
|
|
58275
|
+
}
|
|
58276
|
+
),
|
|
58229
58277
|
heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
|
|
58230
58278
|
"h1",
|
|
58231
58279
|
{
|
|
@@ -58481,7 +58529,7 @@ function ComparisonTableTwoColumn({
|
|
|
58481
58529
|
patternOpacity,
|
|
58482
58530
|
optixFlowConfig
|
|
58483
58531
|
}) {
|
|
58484
|
-
const tableContent =
|
|
58532
|
+
const tableContent = React26.useMemo(() => {
|
|
58485
58533
|
if (tableSlot) return tableSlot;
|
|
58486
58534
|
if (!rows || rows.length === 0) return null;
|
|
58487
58535
|
return /* @__PURE__ */ jsx("div", { className: cn("-mr-4 overflow-x-auto", tableWrapperClassName), children: /* @__PURE__ */ jsx("div", { className: "min-w-2xl overflow-hidden", children: /* @__PURE__ */ jsxs(
|
|
@@ -58511,7 +58559,7 @@ function ComparisonTableTwoColumn({
|
|
|
58511
58559
|
optixFlowConfig
|
|
58512
58560
|
}
|
|
58513
58561
|
) : optionBLabel && (typeof optionBLabel === "string" ? /* @__PURE__ */ jsx("span", { className: "text-lg font-semibold", children: optionBLabel }) : optionBLabel) }),
|
|
58514
|
-
rows.map((row, idx) => /* @__PURE__ */ jsxs(
|
|
58562
|
+
rows.map((row, idx) => /* @__PURE__ */ jsxs(React26.Fragment, { children: [
|
|
58515
58563
|
/* @__PURE__ */ jsx("div", { className: "flex items-center border-b p-3 text-base font-medium md:p-4 md:text-lg", children: row.label }),
|
|
58516
58564
|
/* @__PURE__ */ jsx("div", { className: cn("border-b bg-success/5 p-3 md:p-6", optionACellClassName), children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
58517
58565
|
row.hasIcon && /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/circle-check-big", size: 20, className: "text-success" }),
|
|
@@ -58540,14 +58588,14 @@ function ComparisonTableTwoColumn({
|
|
|
58540
58588
|
optionBLabel,
|
|
58541
58589
|
optixFlowConfig
|
|
58542
58590
|
]);
|
|
58543
|
-
const headingContent =
|
|
58591
|
+
const headingContent = React26.useMemo(() => {
|
|
58544
58592
|
if (!heading) return null;
|
|
58545
58593
|
if (typeof heading === "string") {
|
|
58546
58594
|
return /* @__PURE__ */ jsx("h1", { className: cn("mb-8 text-3xl font-bold md:mb-12 md:text-5xl", headingClassName), children: heading });
|
|
58547
58595
|
}
|
|
58548
58596
|
return /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading });
|
|
58549
58597
|
}, [heading, headingClassName]);
|
|
58550
|
-
const descriptionContent =
|
|
58598
|
+
const descriptionContent = React26.useMemo(() => {
|
|
58551
58599
|
if (!description) return null;
|
|
58552
58600
|
if (typeof description === "string") {
|
|
58553
58601
|
return /* @__PURE__ */ jsx("p", { className: cn("mb-8 text-muted-foreground md:text-lg", descriptionClassName), children: description });
|
|
@@ -58594,7 +58642,7 @@ function ComparisonFeatureCards({
|
|
|
58594
58642
|
patternOpacity,
|
|
58595
58643
|
optixFlowConfig
|
|
58596
58644
|
}) {
|
|
58597
|
-
const renderCard =
|
|
58645
|
+
const renderCard = React26.useCallback(
|
|
58598
58646
|
(product, isHighlighted) => /* @__PURE__ */ jsxs(
|
|
58599
58647
|
"div",
|
|
58600
58648
|
{
|
|
@@ -58650,7 +58698,7 @@ function ComparisonFeatureCards({
|
|
|
58650
58698
|
),
|
|
58651
58699
|
[cardClassName, optixFlowConfig]
|
|
58652
58700
|
);
|
|
58653
|
-
const cardsContent =
|
|
58701
|
+
const cardsContent = React26.useMemo(() => {
|
|
58654
58702
|
if (cardsSlot) return cardsSlot;
|
|
58655
58703
|
if (!productA || !productB) return null;
|
|
58656
58704
|
return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
@@ -58658,28 +58706,28 @@ function ComparisonFeatureCards({
|
|
|
58658
58706
|
renderCard(productB, productB.highlighted ?? false)
|
|
58659
58707
|
] });
|
|
58660
58708
|
}, [cardsSlot, productA, productB, renderCard]);
|
|
58661
|
-
const headingContent =
|
|
58709
|
+
const headingContent = React26.useMemo(() => {
|
|
58662
58710
|
if (!heading) return null;
|
|
58663
58711
|
if (typeof heading === "string") {
|
|
58664
58712
|
return /* @__PURE__ */ jsx("h1", { className: cn("mb-6 text-4xl font-semibold md:text-7xl", headingClassName), children: heading });
|
|
58665
58713
|
}
|
|
58666
58714
|
return /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading });
|
|
58667
58715
|
}, [heading, headingClassName]);
|
|
58668
|
-
const descriptionContent =
|
|
58716
|
+
const descriptionContent = React26.useMemo(() => {
|
|
58669
58717
|
if (!description) return null;
|
|
58670
58718
|
if (typeof description === "string") {
|
|
58671
58719
|
return /* @__PURE__ */ jsx("p", { className: cn("mx-auto max-w-4xl text-muted-foreground md:text-xl", descriptionClassName), children: description });
|
|
58672
58720
|
}
|
|
58673
58721
|
return /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description });
|
|
58674
58722
|
}, [description, descriptionClassName]);
|
|
58675
|
-
const suitabilityContent =
|
|
58723
|
+
const suitabilityContent = React26.useMemo(() => {
|
|
58676
58724
|
if (!suitabilityTitle && !suitabilityDescription) return null;
|
|
58677
58725
|
return /* @__PURE__ */ jsxs("div", { className: suitabilityClassName, children: [
|
|
58678
58726
|
suitabilityTitle && (typeof suitabilityTitle === "string" ? /* @__PURE__ */ jsx("h2", { className: "mb-4 text-3xl font-semibold", children: suitabilityTitle }) : suitabilityTitle),
|
|
58679
58727
|
suitabilityDescription && (typeof suitabilityDescription === "string" ? /* @__PURE__ */ jsx("p", { className: "leading-6 text-muted-foreground md:text-lg", children: suitabilityDescription }) : suitabilityDescription)
|
|
58680
58728
|
] });
|
|
58681
58729
|
}, [suitabilityTitle, suitabilityDescription, suitabilityClassName]);
|
|
58682
|
-
const differencesContent =
|
|
58730
|
+
const differencesContent = React26.useMemo(() => {
|
|
58683
58731
|
if (!differencesTitle && !differencesDescription) return null;
|
|
58684
58732
|
return /* @__PURE__ */ jsxs("div", { className: cn("mt-16", differencesClassName), children: [
|
|
58685
58733
|
differencesTitle && (typeof differencesTitle === "string" ? /* @__PURE__ */ jsx("h2", { className: "mb-4 text-3xl font-semibold", children: differencesTitle }) : differencesTitle),
|
|
@@ -58727,7 +58775,7 @@ function ComparisonGridBadges({
|
|
|
58727
58775
|
pattern,
|
|
58728
58776
|
patternOpacity
|
|
58729
58777
|
}) {
|
|
58730
|
-
const featuresContent =
|
|
58778
|
+
const featuresContent = React26.useMemo(() => {
|
|
58731
58779
|
if (featuresSlot) return featuresSlot;
|
|
58732
58780
|
if (!features || features.length === 0) return null;
|
|
58733
58781
|
return features.map((feature, idx) => /* @__PURE__ */ jsxs(
|
|
@@ -58774,14 +58822,14 @@ function ComparisonGridBadges({
|
|
|
58774
58822
|
idx
|
|
58775
58823
|
));
|
|
58776
58824
|
}, [featuresSlot, features, featureCardClassName, badgeClassName, optionALabel, optionBLabel]);
|
|
58777
|
-
const headingContent =
|
|
58825
|
+
const headingContent = React26.useMemo(() => {
|
|
58778
58826
|
if (!heading) return null;
|
|
58779
58827
|
if (typeof heading === "string") {
|
|
58780
58828
|
return /* @__PURE__ */ jsx("h2", { className: cn("mb-4 text-3xl font-bold md:text-5xl", headingClassName), children: heading });
|
|
58781
58829
|
}
|
|
58782
58830
|
return /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading });
|
|
58783
58831
|
}, [heading, headingClassName]);
|
|
58784
|
-
const descriptionContent =
|
|
58832
|
+
const descriptionContent = React26.useMemo(() => {
|
|
58785
58833
|
if (!description) return null;
|
|
58786
58834
|
if (typeof description === "string") {
|
|
58787
58835
|
return /* @__PURE__ */ jsx("p", { className: cn("mx-auto max-w-2xl text-muted-foreground md:text-lg", descriptionClassName), children: description });
|
|
@@ -58829,7 +58877,7 @@ function ComparisonMetricsRows({
|
|
|
58829
58877
|
pattern,
|
|
58830
58878
|
patternOpacity
|
|
58831
58879
|
}) {
|
|
58832
|
-
const metricsContent =
|
|
58880
|
+
const metricsContent = React26.useMemo(() => {
|
|
58833
58881
|
if (metricsSlot) return metricsSlot;
|
|
58834
58882
|
if (!metrics || metrics.length === 0) return null;
|
|
58835
58883
|
return /* @__PURE__ */ jsx(
|
|
@@ -58869,7 +58917,7 @@ function ComparisonMetricsRows({
|
|
|
58869
58917
|
}
|
|
58870
58918
|
);
|
|
58871
58919
|
}, [metricsSlot, metrics, metricsClassName, metricRowClassName]);
|
|
58872
|
-
const actionsContent =
|
|
58920
|
+
const actionsContent = React26.useMemo(() => {
|
|
58873
58921
|
if (actionsSlot) return actionsSlot;
|
|
58874
58922
|
if (!actions || actions.length === 0) return null;
|
|
58875
58923
|
return /* @__PURE__ */ jsx("div", { className: cn("flex justify-end", actionsClassName), children: actions.map((action, idx) => /* @__PURE__ */ jsxs(
|
|
@@ -58890,7 +58938,7 @@ function ComparisonMetricsRows({
|
|
|
58890
58938
|
idx
|
|
58891
58939
|
)) });
|
|
58892
58940
|
}, [actionsSlot, actions, actionsClassName]);
|
|
58893
|
-
const headingContent =
|
|
58941
|
+
const headingContent = React26.useMemo(() => {
|
|
58894
58942
|
if (!heading) return null;
|
|
58895
58943
|
if (typeof heading === "string") {
|
|
58896
58944
|
return /* @__PURE__ */ jsx(
|
|
@@ -58906,7 +58954,7 @@ function ComparisonMetricsRows({
|
|
|
58906
58954
|
}
|
|
58907
58955
|
return /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading });
|
|
58908
58956
|
}, [heading, headingClassName]);
|
|
58909
|
-
const descriptionContent =
|
|
58957
|
+
const descriptionContent = React26.useMemo(() => {
|
|
58910
58958
|
if (!description) return null;
|
|
58911
58959
|
if (typeof description === "string") {
|
|
58912
58960
|
return /* @__PURE__ */ jsx("p", { className: cn("text-muted-foreground md:text-lg", descriptionClassName), children: description });
|
|
@@ -58969,7 +59017,7 @@ function ComparisonImageCards({
|
|
|
58969
59017
|
patternOpacity,
|
|
58970
59018
|
optixFlowConfig
|
|
58971
59019
|
}) {
|
|
58972
|
-
const renderCard =
|
|
59020
|
+
const renderCard = React26.useCallback(
|
|
58973
59021
|
(option) => /* @__PURE__ */ jsx("div", { className: cn("relative h-full", cardClassName), children: /* @__PURE__ */ jsxs("div", { className: cn(
|
|
58974
59022
|
"relative aspect-4/5 min-h-[400px] overflow-hidden rounded-2xl sm:aspect-[0.9] sm:min-h-[480px] sm:rounded-3xl md:min-h-[520px]",
|
|
58975
59023
|
getNestedCardBg(background, "accent"),
|
|
@@ -58993,7 +59041,7 @@ function ComparisonImageCards({
|
|
|
58993
59041
|
] }) }),
|
|
58994
59042
|
[cardClassName, optixFlowConfig]
|
|
58995
59043
|
);
|
|
58996
|
-
const cardsContent =
|
|
59044
|
+
const cardsContent = React26.useMemo(() => {
|
|
58997
59045
|
if (cardsSlot) return cardsSlot;
|
|
58998
59046
|
if (!optionA || !optionB) return null;
|
|
58999
59047
|
return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
@@ -59011,14 +59059,14 @@ function ComparisonImageCards({
|
|
|
59011
59059
|
)
|
|
59012
59060
|
] });
|
|
59013
59061
|
}, [cardsSlot, optionA, optionB, dividerText, dividerClassName, renderCard]);
|
|
59014
|
-
const headingContent =
|
|
59062
|
+
const headingContent = React26.useMemo(() => {
|
|
59015
59063
|
if (!heading) return null;
|
|
59016
59064
|
if (typeof heading === "string") {
|
|
59017
59065
|
return /* @__PURE__ */ jsx("h2", { className: cn("text-3xl font-medium sm:text-4xl md:text-5xl lg:text-6xl", headingClassName), children: heading });
|
|
59018
59066
|
}
|
|
59019
59067
|
return /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading });
|
|
59020
59068
|
}, [heading, headingClassName]);
|
|
59021
|
-
const descriptionContent =
|
|
59069
|
+
const descriptionContent = React26.useMemo(() => {
|
|
59022
59070
|
if (!description) return null;
|
|
59023
59071
|
if (typeof description === "string") {
|
|
59024
59072
|
return /* @__PURE__ */ jsx("p", { className: cn("mx-auto mt-4 max-w-3xl text-lg text-muted-foreground sm:mt-6 sm:text-xl", descriptionClassName), children: description });
|
|
@@ -59148,7 +59196,7 @@ function ComparisonTableTabs({
|
|
|
59148
59196
|
patternOpacity
|
|
59149
59197
|
}) {
|
|
59150
59198
|
const [selectedTab, setSelectedTab] = useState(models?.[0]?.name || "");
|
|
59151
|
-
const renderStatusIcon =
|
|
59199
|
+
const renderStatusIcon = React26.useCallback((status) => {
|
|
59152
59200
|
if (status === "positive") {
|
|
59153
59201
|
return /* @__PURE__ */ jsx("span", { className: "flex size-8 items-center justify-center rounded-full border bg-success/10", children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/circle-check", size: 16, className: "text-success" }) });
|
|
59154
59202
|
}
|
|
@@ -59157,7 +59205,7 @@ function ComparisonTableTabs({
|
|
|
59157
59205
|
}
|
|
59158
59206
|
return /* @__PURE__ */ jsx("span", { className: "flex size-8 items-center justify-center rounded-full border bg-accent/10", children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/circle-minus", size: 16, className: "text-accent" }) });
|
|
59159
59207
|
}, []);
|
|
59160
|
-
const tableContent =
|
|
59208
|
+
const tableContent = React26.useMemo(() => {
|
|
59161
59209
|
if (tableSlot) return tableSlot;
|
|
59162
59210
|
if (!models || models.length === 0 || !features || features.length === 0) return null;
|
|
59163
59211
|
return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
@@ -59216,14 +59264,14 @@ function ComparisonTableTabs({
|
|
|
59216
59264
|
] }) })
|
|
59217
59265
|
] });
|
|
59218
59266
|
}, [tableSlot, models, features, tabsClassName, tableClassName, tableHeaderClassName, tableCellClassName, selectedTab, renderStatusIcon]);
|
|
59219
|
-
const headingContent =
|
|
59267
|
+
const headingContent = React26.useMemo(() => {
|
|
59220
59268
|
if (!heading) return null;
|
|
59221
59269
|
if (typeof heading === "string") {
|
|
59222
59270
|
return /* @__PURE__ */ jsx("h2", { className: cn("text-3xl font-bold md:text-4xl lg:text-5xl", headingClassName), children: heading });
|
|
59223
59271
|
}
|
|
59224
59272
|
return /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading });
|
|
59225
59273
|
}, [heading, headingClassName]);
|
|
59226
|
-
const descriptionContent =
|
|
59274
|
+
const descriptionContent = React26.useMemo(() => {
|
|
59227
59275
|
if (!description) return null;
|
|
59228
59276
|
if (typeof description === "string") {
|
|
59229
59277
|
return /* @__PURE__ */ jsx("p", { className: cn("mt-4 text-muted-foreground md:text-lg", descriptionClassName), children: description });
|
|
@@ -59314,7 +59362,7 @@ function ComparisonTableTooltips({
|
|
|
59314
59362
|
pattern,
|
|
59315
59363
|
patternOpacity
|
|
59316
59364
|
}) {
|
|
59317
|
-
const renderCellContent =
|
|
59365
|
+
const renderCellContent = React26.useCallback(
|
|
59318
59366
|
(cell, isHighlighted) => {
|
|
59319
59367
|
if (typeof cell === "string") {
|
|
59320
59368
|
return cell;
|
|
@@ -59341,7 +59389,7 @@ function ComparisonTableTooltips({
|
|
|
59341
59389
|
},
|
|
59342
59390
|
[]
|
|
59343
59391
|
);
|
|
59344
|
-
const tableContent =
|
|
59392
|
+
const tableContent = React26.useMemo(() => {
|
|
59345
59393
|
if (tableSlot) return tableSlot;
|
|
59346
59394
|
if (!rows || rows.length === 0) return null;
|
|
59347
59395
|
return /* @__PURE__ */ jsxs(Table, { className: cn("rounded border text-left shadow-lg", tableClassName), children: [
|
|
@@ -59367,14 +59415,14 @@ function ComparisonTableTooltips({
|
|
|
59367
59415
|
] }, idx)) })
|
|
59368
59416
|
] });
|
|
59369
59417
|
}, [tableSlot, rows, tableClassName, tableHeaderClassName, tableCellClassName, optionALabel, optionBLabel, renderCellContent]);
|
|
59370
|
-
const headingContent =
|
|
59418
|
+
const headingContent = React26.useMemo(() => {
|
|
59371
59419
|
if (!heading) return null;
|
|
59372
59420
|
if (typeof heading === "string") {
|
|
59373
59421
|
return /* @__PURE__ */ jsx("h2", { className: cn("mb-4 text-center text-4xl font-semibold", headingClassName), children: heading });
|
|
59374
59422
|
}
|
|
59375
59423
|
return /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading });
|
|
59376
59424
|
}, [heading, headingClassName]);
|
|
59377
|
-
const descriptionContent =
|
|
59425
|
+
const descriptionContent = React26.useMemo(() => {
|
|
59378
59426
|
if (!description) return null;
|
|
59379
59427
|
if (typeof description === "string") {
|
|
59380
59428
|
return /* @__PURE__ */ jsx("p", { className: cn("mb-8 text-center text-muted-foreground", descriptionClassName), children: description });
|
|
@@ -59416,7 +59464,7 @@ function ComparisonFeatureGrid({
|
|
|
59416
59464
|
pattern,
|
|
59417
59465
|
patternOpacity
|
|
59418
59466
|
}) {
|
|
59419
|
-
const renderStatusIcon =
|
|
59467
|
+
const renderStatusIcon = React26.useCallback((status) => {
|
|
59420
59468
|
if (status === true) {
|
|
59421
59469
|
return /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/check", size: 20, className: "text-success" });
|
|
59422
59470
|
}
|
|
@@ -59425,7 +59473,7 @@ function ComparisonFeatureGrid({
|
|
|
59425
59473
|
}
|
|
59426
59474
|
return /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/x", size: 20, className: "text-destructive" });
|
|
59427
59475
|
}, []);
|
|
59428
|
-
const gridContent =
|
|
59476
|
+
const gridContent = React26.useMemo(() => {
|
|
59429
59477
|
if (gridSlot) return gridSlot;
|
|
59430
59478
|
if (!features || features.length === 0) return null;
|
|
59431
59479
|
return /* @__PURE__ */ jsxs(
|
|
@@ -59491,14 +59539,14 @@ function ComparisonFeatureGrid({
|
|
|
59491
59539
|
optionBLabel,
|
|
59492
59540
|
renderStatusIcon
|
|
59493
59541
|
]);
|
|
59494
|
-
const headingContent =
|
|
59542
|
+
const headingContent = React26.useMemo(() => {
|
|
59495
59543
|
if (!heading) return null;
|
|
59496
59544
|
if (typeof heading === "string") {
|
|
59497
59545
|
return /* @__PURE__ */ jsx("h2", { className: cn("mb-4 text-center text-4xl font-semibold", headingClassName), children: heading });
|
|
59498
59546
|
}
|
|
59499
59547
|
return /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading });
|
|
59500
59548
|
}, [heading, headingClassName]);
|
|
59501
|
-
const descriptionContent =
|
|
59549
|
+
const descriptionContent = React26.useMemo(() => {
|
|
59502
59550
|
if (!description) return null;
|
|
59503
59551
|
if (typeof description === "string") {
|
|
59504
59552
|
return /* @__PURE__ */ jsx("p", { className: cn("mb-8 text-center text-muted-foreground", descriptionClassName), children: description });
|
|
@@ -59542,7 +59590,7 @@ function ComparisonAiModels({
|
|
|
59542
59590
|
optixFlowConfig
|
|
59543
59591
|
}) {
|
|
59544
59592
|
const [hoveredModel, setHoveredModel] = useState(null);
|
|
59545
|
-
const renderStatusIcon =
|
|
59593
|
+
const renderStatusIcon = React26.useCallback((status) => {
|
|
59546
59594
|
if (status === "best") {
|
|
59547
59595
|
return /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/circle-check", size: 16, className: "text-success" });
|
|
59548
59596
|
}
|
|
@@ -59551,7 +59599,7 @@ function ComparisonAiModels({
|
|
|
59551
59599
|
}
|
|
59552
59600
|
return /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/minus", size: 16, className: "text-muted-foreground" });
|
|
59553
59601
|
}, []);
|
|
59554
|
-
const getCellClassName =
|
|
59602
|
+
const getCellClassName = React26.useCallback(
|
|
59555
59603
|
(status, modelKey) => {
|
|
59556
59604
|
const baseClass = "cursor-pointer py-4 text-center font-medium transition-all duration-300";
|
|
59557
59605
|
let statusClass = "";
|
|
@@ -59572,7 +59620,7 @@ function ComparisonAiModels({
|
|
|
59572
59620
|
},
|
|
59573
59621
|
[hoveredModel]
|
|
59574
59622
|
);
|
|
59575
|
-
const getSummaryCardClassName =
|
|
59623
|
+
const getSummaryCardClassName = React26.useCallback(
|
|
59576
59624
|
(modelKey) => {
|
|
59577
59625
|
const baseClass = "rounded border border-border/30 bg-background/50 p-3 transition-all duration-300";
|
|
59578
59626
|
if (hoveredModel === modelKey) {
|
|
@@ -59587,7 +59635,7 @@ function ComparisonAiModels({
|
|
|
59587
59635
|
},
|
|
59588
59636
|
[hoveredModel]
|
|
59589
59637
|
);
|
|
59590
|
-
const tableContent =
|
|
59638
|
+
const tableContent = React26.useMemo(() => {
|
|
59591
59639
|
if (tableSlot) return tableSlot;
|
|
59592
59640
|
if (!models || !comparisonData || comparisonData.length === 0) return null;
|
|
59593
59641
|
return /* @__PURE__ */ jsx(
|
|
@@ -59665,7 +59713,7 @@ function ComparisonAiModels({
|
|
|
59665
59713
|
getCellClassName,
|
|
59666
59714
|
renderStatusIcon
|
|
59667
59715
|
]);
|
|
59668
|
-
const analysisContent =
|
|
59716
|
+
const analysisContent = React26.useMemo(() => {
|
|
59669
59717
|
if (analysisSlot) return analysisSlot;
|
|
59670
59718
|
if (!models) return null;
|
|
59671
59719
|
return /* @__PURE__ */ jsx("div", { className: cn(
|
|
@@ -59706,14 +59754,14 @@ function ComparisonAiModels({
|
|
|
59706
59754
|
] })
|
|
59707
59755
|
] }) });
|
|
59708
59756
|
}, [analysisSlot, models, analysisClassName, getSummaryCardClassName]);
|
|
59709
|
-
const headingContent =
|
|
59757
|
+
const headingContent = React26.useMemo(() => {
|
|
59710
59758
|
if (!heading) return null;
|
|
59711
59759
|
if (typeof heading === "string") {
|
|
59712
59760
|
return /* @__PURE__ */ jsx("h2", { className: cn("text-3xl font-bold md:text-4xl lg:text-5xl", headingClassName), children: heading });
|
|
59713
59761
|
}
|
|
59714
59762
|
return /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading });
|
|
59715
59763
|
}, [heading, headingClassName]);
|
|
59716
|
-
const descriptionContent =
|
|
59764
|
+
const descriptionContent = React26.useMemo(() => {
|
|
59717
59765
|
if (!description) return null;
|
|
59718
59766
|
if (typeof description === "string") {
|
|
59719
59767
|
return /* @__PURE__ */ jsx("p", { className: cn("mt-4 text-muted-foreground md:text-lg", descriptionClassName), children: description });
|
|
@@ -59763,7 +59811,7 @@ function ComparisonLegacyModern({
|
|
|
59763
59811
|
pattern,
|
|
59764
59812
|
patternOpacity
|
|
59765
59813
|
}) {
|
|
59766
|
-
const columnsContent =
|
|
59814
|
+
const columnsContent = React26.useMemo(() => {
|
|
59767
59815
|
if (columnsSlot) return columnsSlot;
|
|
59768
59816
|
if (!legacyFeatures || legacyFeatures.length === 0 || !modernFeatures || modernFeatures.length === 0)
|
|
59769
59817
|
return null;
|
|
@@ -59775,7 +59823,7 @@ function ComparisonLegacyModern({
|
|
|
59775
59823
|
legacyColumnClassName
|
|
59776
59824
|
), children: [
|
|
59777
59825
|
legacyTitle && (typeof legacyTitle === "string" ? /* @__PURE__ */ jsx("h3", { className: "text-2xl font-medium", children: legacyTitle }) : legacyTitle),
|
|
59778
|
-
/* @__PURE__ */ jsx("ul", { className: "mt-9 space-y-3", children: legacyFeatures.map((feature, idx) => /* @__PURE__ */ jsxs(
|
|
59826
|
+
/* @__PURE__ */ jsx("ul", { className: "mt-9 space-y-3", children: legacyFeatures.map((feature, idx) => /* @__PURE__ */ jsxs(React26.Fragment, { children: [
|
|
59779
59827
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
59780
59828
|
/* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/x", size: 16, className: "my-1.5 shrink-0 text-muted-foreground" }),
|
|
59781
59829
|
/* @__PURE__ */ jsx("li", { className: "text-sm", children: feature.text })
|
|
@@ -59792,7 +59840,7 @@ function ComparisonLegacyModern({
|
|
|
59792
59840
|
),
|
|
59793
59841
|
children: [
|
|
59794
59842
|
modernTitle && (typeof modernTitle === "string" ? /* @__PURE__ */ jsx("h3", { className: "text-2xl font-medium", children: modernTitle }) : modernTitle),
|
|
59795
|
-
/* @__PURE__ */ jsx("ul", { className: "mt-9 space-y-3", children: modernFeatures.map((feature, idx) => /* @__PURE__ */ jsxs(
|
|
59843
|
+
/* @__PURE__ */ jsx("ul", { className: "mt-9 space-y-3", children: modernFeatures.map((feature, idx) => /* @__PURE__ */ jsxs(React26.Fragment, { children: [
|
|
59796
59844
|
/* @__PURE__ */ jsxs("li", { className: "flex items-center gap-2 text-sm", children: [
|
|
59797
59845
|
/* @__PURE__ */ jsx("span", { className: "text-lg", children: feature.emoji }),
|
|
59798
59846
|
feature.text
|
|
@@ -59804,7 +59852,7 @@ function ComparisonLegacyModern({
|
|
|
59804
59852
|
)
|
|
59805
59853
|
] });
|
|
59806
59854
|
}, [columnsSlot, legacyFeatures, modernFeatures, legacyTitle, modernTitle, legacyColumnClassName, modernColumnClassName]);
|
|
59807
|
-
const headingContent =
|
|
59855
|
+
const headingContent = React26.useMemo(() => {
|
|
59808
59856
|
if (!heading && !headingHighlight) return null;
|
|
59809
59857
|
return /* @__PURE__ */ jsxs("h2", { className: cn("text-4xl font-medium md:text-5xl lg:text-7xl", headingClassName), children: [
|
|
59810
59858
|
heading && (typeof heading === "string" ? /* @__PURE__ */ jsxs("span", { className: "text-muted-foreground", children: [
|
|
@@ -59817,7 +59865,7 @@ function ComparisonLegacyModern({
|
|
|
59817
59865
|
] }) : headingHighlight)
|
|
59818
59866
|
] });
|
|
59819
59867
|
}, [heading, headingHighlight, headingClassName, headingHighlightClassName]);
|
|
59820
|
-
const descriptionContent =
|
|
59868
|
+
const descriptionContent = React26.useMemo(() => {
|
|
59821
59869
|
if (!description) return null;
|
|
59822
59870
|
if (typeof description === "string") {
|
|
59823
59871
|
return /* @__PURE__ */ jsx("p", { className: cn("text-lg", descriptionClassName), children: description });
|
|
@@ -59990,7 +60038,7 @@ var NavbarMobileMenu = ({
|
|
|
59990
60038
|
closeIconClassName,
|
|
59991
60039
|
title = "Mobile Navigation"
|
|
59992
60040
|
}) => {
|
|
59993
|
-
|
|
60041
|
+
React26.useEffect(() => {
|
|
59994
60042
|
if (open) {
|
|
59995
60043
|
const originalOverflow = document.body.style.overflow;
|
|
59996
60044
|
document.body.style.overflow = "hidden";
|
|
@@ -60219,7 +60267,7 @@ var NavbarDropdownMenu = ({
|
|
|
60219
60267
|
patternOpacity,
|
|
60220
60268
|
optixFlowConfig
|
|
60221
60269
|
}) => {
|
|
60222
|
-
const [open, setOpen] =
|
|
60270
|
+
const [open, setOpen] = React26.useState(false);
|
|
60223
60271
|
const renderAuthActions = useMemo(() => {
|
|
60224
60272
|
if (authActionsSlot) return authActionsSlot;
|
|
60225
60273
|
if (!authActions || authActions.length === 0) return null;
|
|
@@ -60445,7 +60493,7 @@ var NavbarCenteredMenu = ({
|
|
|
60445
60493
|
patternOpacity,
|
|
60446
60494
|
optixFlowConfig
|
|
60447
60495
|
}) => {
|
|
60448
|
-
const [open, setOpen] =
|
|
60496
|
+
const [open, setOpen] = React26.useState(false);
|
|
60449
60497
|
const renderAuthActions = useMemo(() => {
|
|
60450
60498
|
if (authActionsSlot) return authActionsSlot;
|
|
60451
60499
|
if (!authActions || authActions.length === 0) return null;
|
|
@@ -60585,7 +60633,7 @@ var DesktopMenuItem = ({
|
|
|
60585
60633
|
index,
|
|
60586
60634
|
optixFlowConfig
|
|
60587
60635
|
}) => {
|
|
60588
|
-
const imagesRef =
|
|
60636
|
+
const imagesRef = React26.useRef([]);
|
|
60589
60637
|
const layout = link.layout || "simple-grid";
|
|
60590
60638
|
const handleMouseEnter = (event) => {
|
|
60591
60639
|
const index2 = Number(event.currentTarget.getAttribute("data-index"));
|
|
@@ -61820,7 +61868,7 @@ var NavbarFeatureGrid = ({
|
|
|
61820
61868
|
patternOpacity,
|
|
61821
61869
|
optixFlowConfig
|
|
61822
61870
|
}) => {
|
|
61823
|
-
const [open, setOpen] =
|
|
61871
|
+
const [open, setOpen] = React26.useState(false);
|
|
61824
61872
|
const renderAuthActions = useMemo(() => {
|
|
61825
61873
|
if (authActionsSlot) return authActionsSlot;
|
|
61826
61874
|
if (!authActions || authActions.length === 0) return null;
|
|
@@ -65030,7 +65078,7 @@ var DesktopMenuItem7 = ({
|
|
|
65030
65078
|
if (item.groups && item.groups.length > 0) {
|
|
65031
65079
|
return /* @__PURE__ */ jsxs(NavigationMenuItem, { value: `${index}`, children: [
|
|
65032
65080
|
/* @__PURE__ */ jsx(NavigationMenuTrigger, { children: item.label }),
|
|
65033
|
-
/* @__PURE__ */ jsx(NavigationMenuContent, { className: "p-0", children: /* @__PURE__ */ jsx("div", { className: "flex", children: item.groups.map((group, groupIndex) => /* @__PURE__ */ jsxs(
|
|
65081
|
+
/* @__PURE__ */ jsx(NavigationMenuContent, { className: "p-0", children: /* @__PURE__ */ jsx("div", { className: "flex", children: item.groups.map((group, groupIndex) => /* @__PURE__ */ jsxs(React26.Fragment, { children: [
|
|
65034
65082
|
groupIndex > 0 && /* @__PURE__ */ jsx(
|
|
65035
65083
|
Separator,
|
|
65036
65084
|
{
|
|
@@ -65782,7 +65830,7 @@ var NavbarSimpleLinks = ({
|
|
|
65782
65830
|
const renderNavItems = useMemo(() => {
|
|
65783
65831
|
if (navItemsSlot) return navItemsSlot;
|
|
65784
65832
|
if (!navItems || navItems.length === 0) return null;
|
|
65785
|
-
return navItems.map((item) => /* @__PURE__ */ jsx(
|
|
65833
|
+
return navItems.map((item) => /* @__PURE__ */ jsx(React26.Fragment, { children: /* @__PURE__ */ jsx(NavigationMenuItem, { children: /* @__PURE__ */ jsx(
|
|
65786
65834
|
NavigationMenuLink,
|
|
65787
65835
|
{
|
|
65788
65836
|
"data-nav-item": item.name,
|
|
@@ -70811,7 +70859,7 @@ function PricingFullComparison({
|
|
|
70811
70859
|
resolvedPlanIds[index]
|
|
70812
70860
|
))
|
|
70813
70861
|
] }) }),
|
|
70814
|
-
/* @__PURE__ */ jsx("tbody", { children: categories.map((category) => /* @__PURE__ */ jsxs(
|
|
70862
|
+
/* @__PURE__ */ jsx("tbody", { children: categories.map((category) => /* @__PURE__ */ jsxs(React26.Fragment, { children: [
|
|
70815
70863
|
/* @__PURE__ */ jsx("tr", { className: cn(getNestedCardBg(background), getNestedCardTextColor(background), categoryRowClassName), children: /* @__PURE__ */ jsx(
|
|
70816
70864
|
"td",
|
|
70817
70865
|
{
|
|
@@ -75412,9 +75460,9 @@ function ProcessStickySteps({
|
|
|
75412
75460
|
);
|
|
75413
75461
|
}
|
|
75414
75462
|
var usePrevious = (value) => {
|
|
75415
|
-
const [prev, setPrev] =
|
|
75416
|
-
const ref =
|
|
75417
|
-
|
|
75463
|
+
const [prev, setPrev] = React26.useState(void 0);
|
|
75464
|
+
const ref = React26.useRef(value);
|
|
75465
|
+
React26.useEffect(() => {
|
|
75418
75466
|
setPrev(ref.current);
|
|
75419
75467
|
ref.current = value;
|
|
75420
75468
|
}, [value]);
|
|
@@ -75427,12 +75475,12 @@ var ProcessCard = ({
|
|
|
75427
75475
|
itemClassName,
|
|
75428
75476
|
background
|
|
75429
75477
|
}) => {
|
|
75430
|
-
const ref =
|
|
75478
|
+
const ref = React26.useRef(null);
|
|
75431
75479
|
const itemInView = useInView(ref, {
|
|
75432
75480
|
amount: 0,
|
|
75433
75481
|
margin: "0px 0px -60% 0px"
|
|
75434
75482
|
});
|
|
75435
|
-
|
|
75483
|
+
React26.useEffect(() => {
|
|
75436
75484
|
if (itemInView) {
|
|
75437
75485
|
setActive(index);
|
|
75438
75486
|
}
|
|
@@ -75482,7 +75530,7 @@ function ProcessScrollImage({
|
|
|
75482
75530
|
ctaText,
|
|
75483
75531
|
ctaUrl
|
|
75484
75532
|
}) {
|
|
75485
|
-
const [active, setActive] =
|
|
75533
|
+
const [active, setActive] = React26.useState(0);
|
|
75486
75534
|
const previousActive = usePrevious(active);
|
|
75487
75535
|
const resolvedHeading = title ?? heading;
|
|
75488
75536
|
const resolvedActions = actions ?? (ctaText && ctaUrl ? [
|
|
@@ -75666,7 +75714,7 @@ var ProcessCard2 = ({
|
|
|
75666
75714
|
hoverImageClassName,
|
|
75667
75715
|
background
|
|
75668
75716
|
}) => {
|
|
75669
|
-
const [isHovered, setIsHovered] =
|
|
75717
|
+
const [isHovered, setIsHovered] = React26.useState(false);
|
|
75670
75718
|
const titleText = typeof step.title === "string" ? step.title : `Step ${index + 1}`;
|
|
75671
75719
|
return /* @__PURE__ */ jsxs(
|
|
75672
75720
|
"li",
|
|
@@ -75990,7 +76038,7 @@ function ProcessExpandableTimeline({
|
|
|
75990
76038
|
// Backwards compatibility
|
|
75991
76039
|
title
|
|
75992
76040
|
}) {
|
|
75993
|
-
const [expandedIndex, setExpandedIndex] =
|
|
76041
|
+
const [expandedIndex, setExpandedIndex] = React26.useState(null);
|
|
75994
76042
|
const resolvedHeading = title ?? heading;
|
|
75995
76043
|
const toggleExpand = (index) => {
|
|
75996
76044
|
setExpandedIndex(expandedIndex === index ? null : index);
|
|
@@ -80761,7 +80809,7 @@ function ListAchievementsShowcase({
|
|
|
80761
80809
|
if (!items || items.length === 0) return null;
|
|
80762
80810
|
return /* @__PURE__ */ jsxs("div", { className: cn("flex flex-col", itemsClassName), children: [
|
|
80763
80811
|
/* @__PURE__ */ jsx(Separator, {}),
|
|
80764
|
-
items.map((item, index) => /* @__PURE__ */ jsxs(
|
|
80812
|
+
items.map((item, index) => /* @__PURE__ */ jsxs(React26.Fragment, { children: [
|
|
80765
80813
|
/* @__PURE__ */ jsxs(
|
|
80766
80814
|
"div",
|
|
80767
80815
|
{
|
|
@@ -80881,7 +80929,7 @@ function ListCareerTimeline({
|
|
|
80881
80929
|
const renderExperiences = useMemo(() => {
|
|
80882
80930
|
if (experiencesSlot) return experiencesSlot;
|
|
80883
80931
|
if (!experiences || experiences.length === 0) return null;
|
|
80884
|
-
return /* @__PURE__ */ jsx("div", { className: experiencesClassName, children: experiences.map((experience, idx) => /* @__PURE__ */ jsxs(
|
|
80932
|
+
return /* @__PURE__ */ jsx("div", { className: experiencesClassName, children: experiences.map((experience, idx) => /* @__PURE__ */ jsxs(React26.Fragment, { children: [
|
|
80885
80933
|
/* @__PURE__ */ jsx(Separator, {}),
|
|
80886
80934
|
/* @__PURE__ */ jsxs(
|
|
80887
80935
|
"div",
|
|
@@ -80902,7 +80950,7 @@ function ListCareerTimeline({
|
|
|
80902
80950
|
const renderAwards = useMemo(() => {
|
|
80903
80951
|
if (awardsSlot) return awardsSlot;
|
|
80904
80952
|
if (!awards || awards.length === 0) return null;
|
|
80905
|
-
return /* @__PURE__ */ jsx("div", { className: awardsClassName, children: awards.map((award, idx) => /* @__PURE__ */ jsxs(
|
|
80953
|
+
return /* @__PURE__ */ jsx("div", { className: awardsClassName, children: awards.map((award, idx) => /* @__PURE__ */ jsxs(React26.Fragment, { children: [
|
|
80906
80954
|
/* @__PURE__ */ jsx(Separator, {}),
|
|
80907
80955
|
/* @__PURE__ */ jsxs(
|
|
80908
80956
|
"div",
|
|
@@ -81037,7 +81085,7 @@ function ListMetricsDashboard({
|
|
|
81037
81085
|
activeCategory: controlledActiveCategory,
|
|
81038
81086
|
onActiveCategoryChange
|
|
81039
81087
|
}) {
|
|
81040
|
-
const [internalActiveTab, setInternalActiveTab] =
|
|
81088
|
+
const [internalActiveTab, setInternalActiveTab] = React26.useState("all");
|
|
81041
81089
|
const activeTab = controlledActiveCategory ?? internalActiveTab;
|
|
81042
81090
|
const handleTabChange = (value) => {
|
|
81043
81091
|
if (onActiveCategoryChange) {
|
|
@@ -81521,7 +81569,7 @@ function ListSearchableGrid({
|
|
|
81521
81569
|
searchTerm: controlledSearchTerm,
|
|
81522
81570
|
onSearchTermChange
|
|
81523
81571
|
}) {
|
|
81524
|
-
const [internalSearchTerm, setInternalSearchTerm] =
|
|
81572
|
+
const [internalSearchTerm, setInternalSearchTerm] = React26.useState("");
|
|
81525
81573
|
const searchTerm = controlledSearchTerm ?? internalSearchTerm;
|
|
81526
81574
|
const handleSearchChange = (value) => {
|
|
81527
81575
|
if (onSearchTermChange) {
|
|
@@ -81530,7 +81578,7 @@ function ListSearchableGrid({
|
|
|
81530
81578
|
setInternalSearchTerm(value);
|
|
81531
81579
|
}
|
|
81532
81580
|
};
|
|
81533
|
-
const filteredItems =
|
|
81581
|
+
const filteredItems = React26.useMemo(() => {
|
|
81534
81582
|
if (!searchTerm) {
|
|
81535
81583
|
return items ?? [];
|
|
81536
81584
|
}
|
|
@@ -81693,7 +81741,7 @@ function ListSearchableGrid({
|
|
|
81693
81741
|
}
|
|
81694
81742
|
);
|
|
81695
81743
|
}
|
|
81696
|
-
var { useMemo:
|
|
81744
|
+
var { useMemo: useMemo412 } = React26;
|
|
81697
81745
|
function OfferModalNewsletterDiscount({
|
|
81698
81746
|
title,
|
|
81699
81747
|
emailPlaceholder,
|
|
@@ -81761,7 +81809,7 @@ function OfferModalNewsletterDiscount({
|
|
|
81761
81809
|
});
|
|
81762
81810
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
81763
81811
|
const dialogProps = open !== void 0 ? { open, onOpenChange } : { defaultOpen };
|
|
81764
|
-
const renderCloseButton =
|
|
81812
|
+
const renderCloseButton = useMemo412(() => {
|
|
81765
81813
|
if (closeButtonSlot) return closeButtonSlot;
|
|
81766
81814
|
if (!closeButtonText) return null;
|
|
81767
81815
|
return /* @__PURE__ */ jsx("div", { className: "absolute end-1.5 top-1.5", children: /* @__PURE__ */ jsx(DialogClose, { asChild: true, children: /* @__PURE__ */ jsx(
|
|
@@ -81775,12 +81823,12 @@ function OfferModalNewsletterDiscount({
|
|
|
81775
81823
|
}
|
|
81776
81824
|
) }) });
|
|
81777
81825
|
}, [closeButtonSlot, closeButtonText, closeClassName]);
|
|
81778
|
-
const renderHeader =
|
|
81826
|
+
const renderHeader = useMemo412(() => {
|
|
81779
81827
|
if (headerSlot) return headerSlot;
|
|
81780
81828
|
if (!title) return null;
|
|
81781
81829
|
return /* @__PURE__ */ jsx(DialogHeader, { className: headerClassName, children: typeof title === "string" ? /* @__PURE__ */ jsx(DialogTitle, { className: cn("text-start font-serif text-2xl font-normal leading-snug", titleClassName), children: title }) : /* @__PURE__ */ jsx(DialogTitle, { className: cn("text-start font-serif text-2xl font-normal leading-snug", titleClassName), children: title }) });
|
|
81782
81830
|
}, [headerSlot, title, headerClassName, titleClassName]);
|
|
81783
|
-
const renderForm =
|
|
81831
|
+
const renderForm = useMemo412(() => {
|
|
81784
81832
|
if (formSlot) return formSlot;
|
|
81785
81833
|
return /* @__PURE__ */ jsxs(
|
|
81786
81834
|
Form,
|
|
@@ -81842,7 +81890,7 @@ function OfferModalNewsletterDiscount({
|
|
|
81842
81890
|
}
|
|
81843
81891
|
) });
|
|
81844
81892
|
}
|
|
81845
|
-
var { useMemo:
|
|
81893
|
+
var { useMemo: useMemo413 } = React26;
|
|
81846
81894
|
function OfferModalMembershipImage({
|
|
81847
81895
|
overline,
|
|
81848
81896
|
title,
|
|
@@ -81919,7 +81967,7 @@ function OfferModalMembershipImage({
|
|
|
81919
81967
|
});
|
|
81920
81968
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
81921
81969
|
const dialogProps = open !== void 0 ? { open, onOpenChange } : { defaultOpen };
|
|
81922
|
-
const renderImage =
|
|
81970
|
+
const renderImage = useMemo413(() => {
|
|
81923
81971
|
if (imageSlot) return imageSlot;
|
|
81924
81972
|
if (!image) return null;
|
|
81925
81973
|
return /* @__PURE__ */ jsx("div", { className: cn("max-h-[290px] h-full overflow-hidden max-lg:hidden", imageWrapperClassName), children: /* @__PURE__ */ jsx(
|
|
@@ -81932,7 +81980,7 @@ function OfferModalMembershipImage({
|
|
|
81932
81980
|
}
|
|
81933
81981
|
) });
|
|
81934
81982
|
}, [imageSlot, image, imageWrapperClassName, imageClassName, optixFlowConfig]);
|
|
81935
|
-
const renderCloseButton =
|
|
81983
|
+
const renderCloseButton = useMemo413(() => {
|
|
81936
81984
|
if (closeButtonSlot) return closeButtonSlot;
|
|
81937
81985
|
return /* @__PURE__ */ jsx("div", { className: "absolute -end-px -top-px z-10", children: /* @__PURE__ */ jsx(DialogClose, { asChild: true, children: /* @__PURE__ */ jsx(
|
|
81938
81986
|
Pressable,
|
|
@@ -81948,7 +81996,7 @@ function OfferModalMembershipImage({
|
|
|
81948
81996
|
}
|
|
81949
81997
|
) }) });
|
|
81950
81998
|
}, [closeButtonSlot, closeClassName]);
|
|
81951
|
-
const renderForm =
|
|
81999
|
+
const renderForm = useMemo413(() => {
|
|
81952
82000
|
if (formSlot) return formSlot;
|
|
81953
82001
|
return /* @__PURE__ */ jsxs(
|
|
81954
82002
|
Form,
|
|
@@ -82011,7 +82059,7 @@ function OfferModalMembershipImage({
|
|
|
82011
82059
|
}
|
|
82012
82060
|
);
|
|
82013
82061
|
}, [formSlot, form, formConfig, formMethod, emailPlaceholder, inputClassName, submitClassName, buttonText, formClassName]);
|
|
82014
|
-
const renderFooter =
|
|
82062
|
+
const renderFooter = useMemo413(() => {
|
|
82015
82063
|
if (footerSlot) return footerSlot;
|
|
82016
82064
|
if (!description) return null;
|
|
82017
82065
|
return /* @__PURE__ */ jsx(DialogFooter, { className: footerClassName, children: /* @__PURE__ */ jsx(DialogDescription, { className: cn("text-muted-foreground text-center text-xs leading-relaxed", descriptionClassName), children: description }) });
|
|
@@ -82131,7 +82179,7 @@ function SheetDescription({
|
|
|
82131
82179
|
}
|
|
82132
82180
|
);
|
|
82133
82181
|
}
|
|
82134
|
-
var { useMemo:
|
|
82182
|
+
var { useMemo: useMemo414 } = React26;
|
|
82135
82183
|
function OfferModalSheetNewsletter({
|
|
82136
82184
|
logo,
|
|
82137
82185
|
logoSlot,
|
|
@@ -82214,7 +82262,7 @@ function OfferModalSheetNewsletter({
|
|
|
82214
82262
|
});
|
|
82215
82263
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
82216
82264
|
const sheetProps = open !== void 0 ? { open, onOpenChange } : { defaultOpen };
|
|
82217
|
-
const renderLogo =
|
|
82265
|
+
const renderLogo = useMemo414(() => {
|
|
82218
82266
|
if (logoSlot) return logoSlot;
|
|
82219
82267
|
if (!logo) return null;
|
|
82220
82268
|
const logoSrc = typeof logo.src === "string" ? logo.src : logo.src.light;
|
|
@@ -82228,7 +82276,7 @@ function OfferModalSheetNewsletter({
|
|
|
82228
82276
|
}
|
|
82229
82277
|
);
|
|
82230
82278
|
}, [logoSlot, logo, logoClassName, optixFlowConfig]);
|
|
82231
|
-
const renderHeader =
|
|
82279
|
+
const renderHeader = useMemo414(() => {
|
|
82232
82280
|
if (headerSlot) return headerSlot;
|
|
82233
82281
|
return /* @__PURE__ */ jsxs(SheetHeader, { className: cn("gap-8 p-0", headerClassName), children: [
|
|
82234
82282
|
renderLogo,
|
|
@@ -82238,7 +82286,7 @@ function OfferModalSheetNewsletter({
|
|
|
82238
82286
|
] })
|
|
82239
82287
|
] });
|
|
82240
82288
|
}, [headerSlot, renderLogo, headerClassName, title, titleClassName, description, descriptionClassName]);
|
|
82241
|
-
const renderForm =
|
|
82289
|
+
const renderForm = useMemo414(() => {
|
|
82242
82290
|
if (formSlot) return formSlot;
|
|
82243
82291
|
return /* @__PURE__ */ jsx(
|
|
82244
82292
|
Form,
|
|
@@ -82286,7 +82334,7 @@ function OfferModalSheetNewsletter({
|
|
|
82286
82334
|
}
|
|
82287
82335
|
);
|
|
82288
82336
|
}, [formSlot, form, formConfig, formMethod, emailPlaceholder, inputClassName, submitClassName, buttonText, formClassName]);
|
|
82289
|
-
const renderLegal =
|
|
82337
|
+
const renderLegal = useMemo414(() => {
|
|
82290
82338
|
if (legalSlot) return legalSlot;
|
|
82291
82339
|
if (!termsUrl || !termsText || !privacyUrl || !privacyText) return null;
|
|
82292
82340
|
return /* @__PURE__ */ jsxs("p", { className: cn("text-muted-foreground text-xs", legalClassName), children: [
|
|
@@ -82300,7 +82348,7 @@ function OfferModalSheetNewsletter({
|
|
|
82300
82348
|
"."
|
|
82301
82349
|
] });
|
|
82302
82350
|
}, [legalSlot, termsUrl, termsText, privacyUrl, privacyText, legalClassName]);
|
|
82303
|
-
const renderImage =
|
|
82351
|
+
const renderImage = useMemo414(() => {
|
|
82304
82352
|
if (imageSlot) return imageSlot;
|
|
82305
82353
|
if (!image) return null;
|
|
82306
82354
|
return /* @__PURE__ */ jsx("div", { className: cn("h-1/2 basis-1/2", imageWrapperClassName), children: /* @__PURE__ */ jsx(AspectRatio, { ratio: 1, className: "overflow-hidden", children: /* @__PURE__ */ jsx(
|
|
@@ -82880,10 +82928,10 @@ function ProjectDetailSidebarNavigation(props) {
|
|
|
82880
82928
|
heroImageClassName,
|
|
82881
82929
|
metadataClassName
|
|
82882
82930
|
} = props;
|
|
82883
|
-
const [activeSection, setActiveSection] =
|
|
82931
|
+
const [activeSection, setActiveSection] = React26.useState(
|
|
82884
82932
|
sections?.[0]?.id || ""
|
|
82885
82933
|
);
|
|
82886
|
-
|
|
82934
|
+
React26.useEffect(() => {
|
|
82887
82935
|
const handleScroll = () => {
|
|
82888
82936
|
const sectionElements = sections?.map(
|
|
82889
82937
|
(section) => document.getElementById(section.id)
|
|
@@ -85743,7 +85791,7 @@ function ProjectDetailTabbedCaseStudy(props) {
|
|
|
85743
85791
|
testimonialClassName,
|
|
85744
85792
|
toolsClassName
|
|
85745
85793
|
} = props;
|
|
85746
|
-
const [activeTab, setActiveTab] =
|
|
85794
|
+
const [activeTab, setActiveTab] = React26.useState(tabs?.[0]?.id || "");
|
|
85747
85795
|
const renderedBackAction = useMemo(() => {
|
|
85748
85796
|
if (backActionSlot) return backActionSlot;
|
|
85749
85797
|
if (!backAction) return null;
|
|
@@ -86131,7 +86179,7 @@ function RevealImage({
|
|
|
86131
86179
|
index,
|
|
86132
86180
|
optixFlowConfig
|
|
86133
86181
|
}) {
|
|
86134
|
-
const ref =
|
|
86182
|
+
const ref = React26.useRef(null);
|
|
86135
86183
|
const { scrollYProgress } = useScroll({
|
|
86136
86184
|
target: ref,
|
|
86137
86185
|
offset: ["start end", "end start"]
|
|
@@ -86326,7 +86374,7 @@ function ParallaxSection({
|
|
|
86326
86374
|
index,
|
|
86327
86375
|
optixFlowConfig
|
|
86328
86376
|
}) {
|
|
86329
|
-
const ref =
|
|
86377
|
+
const ref = React26.useRef(null);
|
|
86330
86378
|
const { scrollYProgress } = useScroll({
|
|
86331
86379
|
target: ref,
|
|
86332
86380
|
offset: ["start end", "end start"]
|
|
@@ -86399,7 +86447,7 @@ function ProjectDetailParallaxScroll(props) {
|
|
|
86399
86447
|
heroImageClassName,
|
|
86400
86448
|
sectionsClassName
|
|
86401
86449
|
} = props;
|
|
86402
|
-
const heroRef =
|
|
86450
|
+
const heroRef = React26.useRef(null);
|
|
86403
86451
|
const { scrollYProgress } = useScroll({
|
|
86404
86452
|
target: heroRef,
|
|
86405
86453
|
offset: ["start start", "end start"]
|
|
@@ -86937,7 +86985,7 @@ function IndustriesExpandableShowcase({
|
|
|
86937
86985
|
patternClassName,
|
|
86938
86986
|
optixFlowConfig
|
|
86939
86987
|
}) {
|
|
86940
|
-
const [activeContractor, setActiveContractor] =
|
|
86988
|
+
const [activeContractor, setActiveContractor] = React26.useState(
|
|
86941
86989
|
contractors?.[0]?.id || ""
|
|
86942
86990
|
);
|
|
86943
86991
|
const handleContractorHover = (contractorId) => {
|
|
@@ -87590,7 +87638,7 @@ function ResourceDetailDocumentSidebar({
|
|
|
87590
87638
|
}) {
|
|
87591
87639
|
const renderedBreadcrumbs = useMemo(() => {
|
|
87592
87640
|
if (breadcrumbsSlot) return breadcrumbsSlot;
|
|
87593
|
-
return /* @__PURE__ */ jsx(Breadcrumb, { className: breadcrumbsClassName, children: /* @__PURE__ */ jsx(BreadcrumbList, { children: breadcrumbs?.map((crumb, index) => /* @__PURE__ */ jsxs(
|
|
87641
|
+
return /* @__PURE__ */ jsx(Breadcrumb, { className: breadcrumbsClassName, children: /* @__PURE__ */ jsx(BreadcrumbList, { children: breadcrumbs?.map((crumb, index) => /* @__PURE__ */ jsxs(React26.Fragment, { children: [
|
|
87594
87642
|
/* @__PURE__ */ jsx(BreadcrumbItem, { children: !crumb.href ? /* @__PURE__ */ jsx(BreadcrumbPage, { children: typeof crumb.label === "string" ? crumb.label : crumb.label }) : /* @__PURE__ */ jsx(BreadcrumbLink, { href: crumb.href, children: index === 0 ? /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/home", size: 16 }) : typeof crumb.label === "string" ? crumb.label : crumb.label }) }),
|
|
87595
87643
|
index < (breadcrumbs?.length || 0) - 1 && /* @__PURE__ */ jsx(BreadcrumbSeparator, {})
|
|
87596
87644
|
] }, index)) }) });
|
|
@@ -90991,8 +91039,8 @@ function ServicesListTableHover({
|
|
|
90991
91039
|
patternOpacity,
|
|
90992
91040
|
optixFlowConfig
|
|
90993
91041
|
}) {
|
|
90994
|
-
const [hoveredIndex, setHoveredIndex] =
|
|
90995
|
-
const [mousePosition, setMousePosition] =
|
|
91042
|
+
const [hoveredIndex, setHoveredIndex] = React26.useState(null);
|
|
91043
|
+
const [mousePosition, setMousePosition] = React26.useState({ x: 0, y: 0 });
|
|
90996
91044
|
const handleMouseMove = (e) => {
|
|
90997
91045
|
setMousePosition({ x: e.clientX, y: e.clientY });
|
|
90998
91046
|
};
|
|
@@ -91242,7 +91290,7 @@ function ServicesListStickyImage({
|
|
|
91242
91290
|
patternOpacity,
|
|
91243
91291
|
optixFlowConfig
|
|
91244
91292
|
}) {
|
|
91245
|
-
const [activeIndex, setActiveIndex] =
|
|
91293
|
+
const [activeIndex, setActiveIndex] = React26.useState(0);
|
|
91246
91294
|
const renderServices = () => {
|
|
91247
91295
|
if (servicesSlot) return servicesSlot;
|
|
91248
91296
|
if (!services || services.length === 0) return null;
|
|
@@ -91494,8 +91542,8 @@ function ServicesListVideoShowcase({
|
|
|
91494
91542
|
patternOpacity,
|
|
91495
91543
|
optixFlowConfig
|
|
91496
91544
|
}) {
|
|
91497
|
-
const [playingIndex, setPlayingIndex] =
|
|
91498
|
-
const videoRefs =
|
|
91545
|
+
const [playingIndex, setPlayingIndex] = React26.useState(null);
|
|
91546
|
+
const videoRefs = React26.useRef([]);
|
|
91499
91547
|
const handleMouseEnter = (index) => {
|
|
91500
91548
|
setPlayingIndex(index);
|
|
91501
91549
|
videoRefs.current[index]?.play();
|
|
@@ -94788,7 +94836,7 @@ function StatsCircularProgress({
|
|
|
94788
94836
|
statInfoClassName
|
|
94789
94837
|
}) {
|
|
94790
94838
|
const effectiveDefaultCategory = defaultCategory || (categories && categories.length > 0 ? categories[0].id : "");
|
|
94791
|
-
const [category, setCategory] =
|
|
94839
|
+
const [category, setCategory] = React26.useState(effectiveDefaultCategory);
|
|
94792
94840
|
const badgeContent = useMemo(() => {
|
|
94793
94841
|
if (badgeSlot) return badgeSlot;
|
|
94794
94842
|
if (!badge) return null;
|
|
@@ -95081,8 +95129,8 @@ function StatsCardGroup({
|
|
|
95081
95129
|
);
|
|
95082
95130
|
}
|
|
95083
95131
|
function useAnimatedCounter(endValue, duration = 2e3, isVisible) {
|
|
95084
|
-
const [count, setCount] =
|
|
95085
|
-
|
|
95132
|
+
const [count, setCount] = React26.useState(0);
|
|
95133
|
+
React26.useEffect(() => {
|
|
95086
95134
|
if (!isVisible) return;
|
|
95087
95135
|
let startTime = null;
|
|
95088
95136
|
let animationFrame;
|
|
@@ -95170,9 +95218,9 @@ function StatsAnimatedCounter({
|
|
|
95170
95218
|
statLabelClassName,
|
|
95171
95219
|
statIconClassName
|
|
95172
95220
|
}) {
|
|
95173
|
-
const [isVisible, setIsVisible] =
|
|
95174
|
-
const sectionRef =
|
|
95175
|
-
|
|
95221
|
+
const [isVisible, setIsVisible] = React26.useState(false);
|
|
95222
|
+
const sectionRef = React26.useRef(null);
|
|
95223
|
+
React26.useEffect(() => {
|
|
95176
95224
|
const observer = new IntersectionObserver(
|
|
95177
95225
|
([entry]) => {
|
|
95178
95226
|
if (entry.isIntersecting) {
|
|
@@ -95260,8 +95308,8 @@ function StatsAnimatedCounter({
|
|
|
95260
95308
|
);
|
|
95261
95309
|
}
|
|
95262
95310
|
function useNumberTicker(endValue, duration = 2500, isVisible, decimals = 0) {
|
|
95263
|
-
const [displayValue, setDisplayValue] =
|
|
95264
|
-
|
|
95311
|
+
const [displayValue, setDisplayValue] = React26.useState("0");
|
|
95312
|
+
React26.useEffect(() => {
|
|
95265
95313
|
if (!isVisible) return;
|
|
95266
95314
|
let startTime = null;
|
|
95267
95315
|
let animationFrame;
|
|
@@ -95376,9 +95424,9 @@ function StatsNumberTicker({
|
|
|
95376
95424
|
statLabelClassName,
|
|
95377
95425
|
statDescriptionClassName
|
|
95378
95426
|
}) {
|
|
95379
|
-
const [isVisible, setIsVisible] =
|
|
95380
|
-
const sectionRef =
|
|
95381
|
-
|
|
95427
|
+
const [isVisible, setIsVisible] = React26.useState(false);
|
|
95428
|
+
const sectionRef = React26.useRef(null);
|
|
95429
|
+
React26.useEffect(() => {
|
|
95382
95430
|
const observer = new IntersectionObserver(
|
|
95383
95431
|
([entry]) => {
|
|
95384
95432
|
if (entry.isIntersecting) {
|
|
@@ -95637,9 +95685,9 @@ function StatsBarComparison({
|
|
|
95637
95685
|
barValueClassName,
|
|
95638
95686
|
barTrackClassName
|
|
95639
95687
|
}) {
|
|
95640
|
-
const [isVisible, setIsVisible] =
|
|
95641
|
-
const sectionRef =
|
|
95642
|
-
|
|
95688
|
+
const [isVisible, setIsVisible] = React26.useState(!animate);
|
|
95689
|
+
const sectionRef = React26.useRef(null);
|
|
95690
|
+
React26.useEffect(() => {
|
|
95643
95691
|
if (!animate) return;
|
|
95644
95692
|
const observer = new IntersectionObserver(
|
|
95645
95693
|
([entry]) => {
|
|
@@ -95817,7 +95865,7 @@ function TimelineVerticalIconDashed({
|
|
|
95817
95865
|
"mx-auto flex flex-col items-center justify-center text-center sm:max-w-xl",
|
|
95818
95866
|
stepsClassName
|
|
95819
95867
|
),
|
|
95820
|
-
children: steps.map((step, index) => /* @__PURE__ */ jsxs(
|
|
95868
|
+
children: steps.map((step, index) => /* @__PURE__ */ jsxs(React26.Fragment, { children: [
|
|
95821
95869
|
/* @__PURE__ */ jsxs("div", { className: cn("flex flex-col items-center", stepClassName), children: [
|
|
95822
95870
|
/* @__PURE__ */ jsx(
|
|
95823
95871
|
"span",
|
|
@@ -96084,7 +96132,7 @@ function TimelineTwoColumnFeatured({
|
|
|
96084
96132
|
style,
|
|
96085
96133
|
optixFlowConfig
|
|
96086
96134
|
}) {
|
|
96087
|
-
const renderActions =
|
|
96135
|
+
const renderActions = React26.useMemo(() => {
|
|
96088
96136
|
if (actionsSlot) {
|
|
96089
96137
|
return actionsSlot;
|
|
96090
96138
|
}
|
|
@@ -96212,7 +96260,7 @@ function TimelineTwoColumnFeatured({
|
|
|
96212
96260
|
}
|
|
96213
96261
|
);
|
|
96214
96262
|
}
|
|
96215
|
-
var DiagonalPattern =
|
|
96263
|
+
var DiagonalPattern = React26.memo(({
|
|
96216
96264
|
className,
|
|
96217
96265
|
patternOpacity = 0.15
|
|
96218
96266
|
}) => {
|
|
@@ -96251,7 +96299,7 @@ function TimelineAlternatingDiagonal({
|
|
|
96251
96299
|
style,
|
|
96252
96300
|
optixFlowConfig
|
|
96253
96301
|
}) {
|
|
96254
|
-
const renderedBadge =
|
|
96302
|
+
const renderedBadge = React26.useMemo(() => {
|
|
96255
96303
|
if (badgeSlot) {
|
|
96256
96304
|
return badgeSlot;
|
|
96257
96305
|
}
|
|
@@ -96629,7 +96677,7 @@ function TimelineProductivityList({
|
|
|
96629
96677
|
}
|
|
96630
96678
|
);
|
|
96631
96679
|
}
|
|
96632
|
-
var ProcessBar =
|
|
96680
|
+
var ProcessBar = React26.memo(({ currentStep, steps }) => /* @__PURE__ */ jsx("div", { className: "relative w-full scale-75", children: /* @__PURE__ */ jsx("div", { className: "flex items-center justify-between", children: steps.map((step, index) => /* @__PURE__ */ jsxs(React26.Fragment, { children: [
|
|
96633
96681
|
/* @__PURE__ */ jsx("div", { className: "flex flex-col items-center", children: /* @__PURE__ */ jsx(
|
|
96634
96682
|
motion.div,
|
|
96635
96683
|
{
|
|
@@ -96656,7 +96704,7 @@ var ProcessBar = React25.memo(({ currentStep, steps }) => /* @__PURE__ */ jsx("d
|
|
|
96656
96704
|
)
|
|
96657
96705
|
] })
|
|
96658
96706
|
] }, index)) }) }));
|
|
96659
|
-
var StepperContent =
|
|
96707
|
+
var StepperContent = React26.memo(({ step, optixFlowConfig, imageClassName, descriptionClassName, background }) => {
|
|
96660
96708
|
return /* @__PURE__ */ jsxs("div", { className: cn("my-4 flex min-h-[400px] w-full flex-col items-center justify-center overflow-hidden rounded-2xl p-6 text-center", getNestedCardBg(background), getNestedCardTextColor(background)), children: [
|
|
96661
96709
|
/* @__PURE__ */ jsx(
|
|
96662
96710
|
motion.div,
|
|
@@ -96689,7 +96737,7 @@ var StepperContent = React25.memo(({ step, optixFlowConfig, imageClassName, desc
|
|
|
96689
96737
|
)
|
|
96690
96738
|
] });
|
|
96691
96739
|
});
|
|
96692
|
-
var NavButtons =
|
|
96740
|
+
var NavButtons = React26.memo(({ handlePrev, handleNext }) => /* @__PURE__ */ jsxs("div", { className: "flex w-full justify-end gap-3 tracking-tight", children: [
|
|
96693
96741
|
/* @__PURE__ */ jsxs(
|
|
96694
96742
|
Pressable,
|
|
96695
96743
|
{
|
|
@@ -96740,10 +96788,10 @@ function TimelineStepperAnimated({
|
|
|
96740
96788
|
}) {
|
|
96741
96789
|
const safeInitialStep = (steps?.length ?? 0) > 0 ? Math.max(0, Math.min(initialStep ?? 0, (steps?.length ?? 1) - 1)) : 0;
|
|
96742
96790
|
const [currentStep, setCurrentStep] = useState(safeInitialStep);
|
|
96743
|
-
const handleNext =
|
|
96791
|
+
const handleNext = React26.useCallback(() => {
|
|
96744
96792
|
setCurrentStep((prev) => Math.min(prev + 1, (steps?.length ?? 1) - 1));
|
|
96745
96793
|
}, [steps?.length]);
|
|
96746
|
-
const handlePrev =
|
|
96794
|
+
const handlePrev = React26.useCallback(() => {
|
|
96747
96795
|
setCurrentStep((prev) => Math.max(prev - 1, 0));
|
|
96748
96796
|
}, []);
|
|
96749
96797
|
const safeCurrentStep = (steps?.length ?? 0) > 0 ? Math.max(0, Math.min(currentStep, (steps?.length ?? 1) - 1)) : 0;
|
|
@@ -97452,7 +97500,7 @@ function TimelineTabbedPhases({
|
|
|
97452
97500
|
style,
|
|
97453
97501
|
optixFlowConfig
|
|
97454
97502
|
}) {
|
|
97455
|
-
const renderDownloadButton =
|
|
97503
|
+
const renderDownloadButton = React26.useMemo(() => {
|
|
97456
97504
|
if (downloadSlot) {
|
|
97457
97505
|
return downloadSlot;
|
|
97458
97506
|
}
|
|
@@ -97672,7 +97720,7 @@ function TimelineProductLaunch({
|
|
|
97672
97720
|
id,
|
|
97673
97721
|
style
|
|
97674
97722
|
}) {
|
|
97675
|
-
const renderCta =
|
|
97723
|
+
const renderCta = React26.useMemo(() => {
|
|
97676
97724
|
if (ctaSlot) {
|
|
97677
97725
|
return ctaSlot;
|
|
97678
97726
|
}
|
|
@@ -98137,9 +98185,9 @@ function LinkTreeBlock({
|
|
|
98137
98185
|
}) {
|
|
98138
98186
|
const resolvedBackground = background;
|
|
98139
98187
|
const resolvedPattern = pattern ?? backgroundPattern;
|
|
98140
|
-
const [lightboxOpen, setLightboxOpen] =
|
|
98141
|
-
const [lightboxIndex, setLightboxIndex] =
|
|
98142
|
-
const lightboxItems =
|
|
98188
|
+
const [lightboxOpen, setLightboxOpen] = React26.useState(false);
|
|
98189
|
+
const [lightboxIndex, setLightboxIndex] = React26.useState(0);
|
|
98190
|
+
const lightboxItems = React26.useMemo(() => {
|
|
98143
98191
|
if (!mediaGallery || mediaGallery.length === 0) return [];
|
|
98144
98192
|
return mediaGallery.slice(0, mediaGalleryLimit).map((item, index) => ({
|
|
98145
98193
|
id: item.id ?? `media-${index}`,
|
|
@@ -98151,11 +98199,11 @@ function LinkTreeBlock({
|
|
|
98151
98199
|
share: true
|
|
98152
98200
|
}));
|
|
98153
98201
|
}, [mediaGallery, mediaGalleryLimit]);
|
|
98154
|
-
const handleMediaClick =
|
|
98202
|
+
const handleMediaClick = React26.useCallback((index) => {
|
|
98155
98203
|
setLightboxIndex(index);
|
|
98156
98204
|
setLightboxOpen(true);
|
|
98157
98205
|
}, []);
|
|
98158
|
-
const handleLightboxClose =
|
|
98206
|
+
const handleLightboxClose = React26.useCallback(() => {
|
|
98159
98207
|
setLightboxOpen(false);
|
|
98160
98208
|
}, []);
|
|
98161
98209
|
const resolveImage = (value, fallbackAlt) => {
|
|
@@ -98167,7 +98215,7 @@ function LinkTreeBlock({
|
|
|
98167
98215
|
};
|
|
98168
98216
|
const nameForAlt = typeof brandName === "string" ? brandName : "Brand avatar";
|
|
98169
98217
|
const resolvedAvatar = resolveImage(brandAvatar || brandLogo, nameForAlt) || resolveImage(blockBrandedIconsAndPlaceholders.avatar1, nameForAlt);
|
|
98170
|
-
const renderBrandHeader =
|
|
98218
|
+
const renderBrandHeader = React26.useMemo(() => {
|
|
98171
98219
|
if (brandSlot) return brandSlot;
|
|
98172
98220
|
return /* @__PURE__ */ jsxs(
|
|
98173
98221
|
"div",
|
|
@@ -98254,7 +98302,7 @@ function LinkTreeBlock({
|
|
|
98254
98302
|
brandTagline,
|
|
98255
98303
|
taglineClassName
|
|
98256
98304
|
]);
|
|
98257
|
-
const renderLinks =
|
|
98305
|
+
const renderLinks = React26.useMemo(() => {
|
|
98258
98306
|
if (linksSlot) return linksSlot;
|
|
98259
98307
|
if (!links || links.length === 0) return null;
|
|
98260
98308
|
return /* @__PURE__ */ jsx("div", { className: cn("space-y-3", linksClassName), children: links.map((link, index) => {
|
|
@@ -98371,7 +98419,7 @@ function LinkTreeBlock({
|
|
|
98371
98419
|
linkBadgeClassName,
|
|
98372
98420
|
linkChevronClassName
|
|
98373
98421
|
]);
|
|
98374
|
-
const renderMediaGallery =
|
|
98422
|
+
const renderMediaGallery = React26.useMemo(() => {
|
|
98375
98423
|
if (mediaGallerySlot) return mediaGallerySlot;
|
|
98376
98424
|
if (!mediaGallery || mediaGallery.length === 0) return null;
|
|
98377
98425
|
const items = mediaGallery.slice(0, mediaGalleryLimit);
|
|
@@ -98485,7 +98533,7 @@ function LinkTreeBlock({
|
|
|
98485
98533
|
mediaGalleryOverlayClassName,
|
|
98486
98534
|
mediaGalleryPlayIconClassName
|
|
98487
98535
|
]);
|
|
98488
|
-
const renderSocialLinks =
|
|
98536
|
+
const renderSocialLinks = React26.useMemo(() => {
|
|
98489
98537
|
if (socialLinksSlot) return socialLinksSlot;
|
|
98490
98538
|
if (!socialLinks || socialLinks.length === 0) return null;
|
|
98491
98539
|
return /* @__PURE__ */ jsx(
|
|
@@ -98531,7 +98579,7 @@ function LinkTreeBlock({
|
|
|
98531
98579
|
socialIconClassName,
|
|
98532
98580
|
socialLinkClassName
|
|
98533
98581
|
]);
|
|
98534
|
-
const renderFooter =
|
|
98582
|
+
const renderFooter = React26.useMemo(() => {
|
|
98535
98583
|
if (footerSlot) return footerSlot;
|
|
98536
98584
|
if (!footerAction) return null;
|
|
98537
98585
|
const resolvedFooterAction = footerAction;
|