@opensite/ui 1.7.3 → 1.7.5
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.d.cts +3 -3
- package/dist/about-company-profile.d.ts +3 -3
- 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-tmd_MRJv.d.cts → blocks-Cohq4eio.d.cts} +1 -1
- package/dist/{blocks-DRE-f6cS.d.ts → blocks-k17uluAz.d.ts} +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-8mtEHxev.d.cts → button-variants-lRElsmTc.d.cts} +1 -1
- package/dist/{button-variants-8mtEHxev.d.ts → button-variants-lRElsmTc.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-hxnFe3w6.d.ts → community-initiatives-Bi_ClKrO.d.ts} +1 -1
- package/dist/{community-initiatives-CPyEa7IX.d.cts → community-initiatives-Bz_A5vLU.d.cts} +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 +3 -3
- package/dist/contact-card.d.ts +3 -3
- 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.cjs +17 -8
- package/dist/contact-dark.d.cts +3 -3
- package/dist/contact-dark.d.ts +3 -3
- package/dist/contact-dark.js +17 -8
- package/dist/contact-demo.d.cts +3 -3
- package/dist/contact-demo.d.ts +3 -3
- package/dist/contact-emergency.d.cts +3 -3
- package/dist/contact-emergency.d.ts +3 -3
- package/dist/contact-event.d.cts +3 -3
- package/dist/contact-event.d.ts +3 -3
- package/dist/contact-faq.cjs +356 -111
- package/dist/contact-faq.d.cts +52 -6
- package/dist/contact-faq.d.ts +52 -6
- package/dist/contact-faq.js +356 -112
- 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.d.cts +3 -3
- package/dist/contact-image.d.ts +3 -3
- package/dist/contact-insurance.d.cts +3 -3
- package/dist/contact-insurance.d.ts +3 -3
- package/dist/contact-interview.d.cts +3 -3
- package/dist/contact-interview.d.ts +3 -3
- 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 +161 -231
- package/dist/contact-photography.d.cts +39 -26
- package/dist/contact-photography.d.ts +39 -26
- package/dist/contact-photography.js +162 -232
- 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 +3 -3
- package/dist/hero-creative-studio-stacked.d.ts +3 -3
- 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.d.cts +3 -3
- package/dist/hero-event-registration.d.ts +3 -3
- 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.d.cts +3 -3
- package/dist/hero-video-background-dark.d.ts +3 -3
- package/dist/hero-video-dialog-gradient.d.cts +3 -3
- package/dist/hero-video-dialog-gradient.d.ts +3 -3
- 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 +2123 -1995
- package/dist/registry.js +866 -738
- 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 React51 from 'react';
|
|
2
|
+
import React51__default, { Fragment, createContext, useMemo, forwardRef, useState, useCallback, useRef, useEffect, 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';
|
|
@@ -14,6 +14,7 @@ import { Slot } from '@radix-ui/react-slot';
|
|
|
14
14
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
15
15
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
16
16
|
import { useFileUpload } from '@page-speed/forms/upload';
|
|
17
|
+
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
17
18
|
import useEmblaCarousel from 'embla-carousel-react';
|
|
18
19
|
import Autoplay from 'embla-carousel-autoplay';
|
|
19
20
|
import { motion as motion$1, AnimatePresence as AnimatePresence$1 } from 'motion/react';
|
|
@@ -22,7 +23,6 @@ import { usePlatformFromUrl } from '@opensite/hooks/usePlatformFromUrl';
|
|
|
22
23
|
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
23
24
|
import * as ProgressPrimitive from '@radix-ui/react-progress';
|
|
24
25
|
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
25
|
-
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
26
26
|
import AutoScroll3 from 'embla-carousel-auto-scroll';
|
|
27
27
|
import { Lightbox } from '@page-speed/lightbox';
|
|
28
28
|
import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';
|
|
@@ -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 = React51__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 = React51__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 = React51.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 = React51.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 = React51.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 = React51.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 = React51.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 = React51.forwardRef(
|
|
1284
1284
|
({
|
|
1285
1285
|
children,
|
|
1286
1286
|
className,
|
|
@@ -1811,10 +1811,10 @@ function DynamicIcon({
|
|
|
1811
1811
|
className,
|
|
1812
1812
|
alt
|
|
1813
1813
|
}) {
|
|
1814
|
-
const [svgContent, setSvgContent] =
|
|
1815
|
-
const [isLoading, setIsLoading] =
|
|
1816
|
-
const [error, setError] =
|
|
1817
|
-
const { url, iconName } =
|
|
1814
|
+
const [svgContent, setSvgContent] = React51.useState(null);
|
|
1815
|
+
const [isLoading, setIsLoading] = React51.useState(true);
|
|
1816
|
+
const [error, setError] = React51.useState(null);
|
|
1817
|
+
const { url, iconName } = React51.useMemo(() => {
|
|
1818
1818
|
const separator = name.includes("/") ? "/" : ":";
|
|
1819
1819
|
const [prefix, iconName2] = name.split(separator);
|
|
1820
1820
|
const baseUrl = `https://icons.opensite.ai/api/icon/${prefix}/${iconName2}?format=svg&width=${size}&height=${size}&key=au382bi7fsh96w9h9xlrnat2jglx`;
|
|
@@ -1823,7 +1823,7 @@ function DynamicIcon({
|
|
|
1823
1823
|
iconName: iconName2
|
|
1824
1824
|
};
|
|
1825
1825
|
}, [name, size]);
|
|
1826
|
-
|
|
1826
|
+
React51.useEffect(() => {
|
|
1827
1827
|
let isMounted = true;
|
|
1828
1828
|
const fetchSvg = async () => {
|
|
1829
1829
|
const cached = svgCache.get(url);
|
|
@@ -3035,7 +3035,7 @@ function AboutInteractiveTabs({
|
|
|
3035
3035
|
pattern,
|
|
3036
3036
|
patternOpacity
|
|
3037
3037
|
}) {
|
|
3038
|
-
const [activeTab, setActiveTab] =
|
|
3038
|
+
const [activeTab, setActiveTab] = React51.useState(tabs?.[0]?.id ?? "");
|
|
3039
3039
|
const activeContent = useMemo(() => {
|
|
3040
3040
|
return tabs?.find((tab) => tab.id === activeTab)?.content;
|
|
3041
3041
|
}, [tabs, activeTab]);
|
|
@@ -7363,7 +7363,7 @@ function CtaVideoBackgroundHero({
|
|
|
7363
7363
|
pattern,
|
|
7364
7364
|
patternOpacity
|
|
7365
7365
|
}) {
|
|
7366
|
-
const [isModalOpen, setIsModalOpen] =
|
|
7366
|
+
const [isModalOpen, setIsModalOpen] = React51.useState(false);
|
|
7367
7367
|
const handleOpenModal = () => {
|
|
7368
7368
|
setIsModalOpen(true);
|
|
7369
7369
|
onModalOpen?.();
|
|
@@ -7551,7 +7551,7 @@ function CtaWorkflowTabs({
|
|
|
7551
7551
|
patternOpacity,
|
|
7552
7552
|
optixFlowConfig
|
|
7553
7553
|
}) {
|
|
7554
|
-
const [activeTab, setActiveTab] =
|
|
7554
|
+
const [activeTab, setActiveTab] = React51.useState(tabs?.[0]?.id || "");
|
|
7555
7555
|
const activeTabData = tabs?.find((tab) => tab.id === activeTab) || tabs?.[0];
|
|
7556
7556
|
const actionsContent = useMemo(() => {
|
|
7557
7557
|
if (actionsSlot) return actionsSlot;
|
|
@@ -8160,7 +8160,7 @@ function ContactFloatingBanner({
|
|
|
8160
8160
|
badgeClassName,
|
|
8161
8161
|
background = "default"
|
|
8162
8162
|
}) {
|
|
8163
|
-
const actionsContent =
|
|
8163
|
+
const actionsContent = React51.useMemo(() => {
|
|
8164
8164
|
if (actionsSlot) return actionsSlot;
|
|
8165
8165
|
if (actions && actions.length > 0) {
|
|
8166
8166
|
return actions.map((action, index) => {
|
|
@@ -8335,7 +8335,7 @@ function ContactCallback({
|
|
|
8335
8335
|
}
|
|
8336
8336
|
});
|
|
8337
8337
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
8338
|
-
const actionsContent =
|
|
8338
|
+
const actionsContent = React51.useMemo(() => {
|
|
8339
8339
|
if (actionsSlot) return actionsSlot;
|
|
8340
8340
|
if (actions && actions.length > 0) {
|
|
8341
8341
|
return actions.map((action, index) => {
|
|
@@ -8358,7 +8358,7 @@ function ContactCallback({
|
|
|
8358
8358
|
}
|
|
8359
8359
|
return null;
|
|
8360
8360
|
}, [actionsSlot, actions]);
|
|
8361
|
-
const footerContent =
|
|
8361
|
+
const footerContent = React51.useMemo(() => {
|
|
8362
8362
|
if (footerSlot) return footerSlot;
|
|
8363
8363
|
if (footer) {
|
|
8364
8364
|
return typeof footer === "string" ? /* @__PURE__ */ jsx("p", { className: cn("mt-6 text-center text-sm text-muted-foreground", footerClassName), children: footer }) : /* @__PURE__ */ jsx("div", { className: cn("mt-6 text-center text-sm text-muted-foreground", footerClassName), children: footer });
|
|
@@ -8679,7 +8679,7 @@ function ContactCard({
|
|
|
8679
8679
|
}
|
|
8680
8680
|
});
|
|
8681
8681
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
8682
|
-
const actionsContent =
|
|
8682
|
+
const actionsContent = React51.useMemo(() => {
|
|
8683
8683
|
if (actionsSlot) return actionsSlot;
|
|
8684
8684
|
if (actions && actions.length > 0) {
|
|
8685
8685
|
return actions.map((action, index) => {
|
|
@@ -8702,7 +8702,7 @@ function ContactCard({
|
|
|
8702
8702
|
}
|
|
8703
8703
|
return null;
|
|
8704
8704
|
}, [actionsSlot, actions]);
|
|
8705
|
-
const contactOptionsContent =
|
|
8705
|
+
const contactOptionsContent = React51.useMemo(() => {
|
|
8706
8706
|
if (contactOptionsSlot) return contactOptionsSlot;
|
|
8707
8707
|
if (contactOptions && contactOptions.length > 0) {
|
|
8708
8708
|
return contactOptions.map((option, key) => /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-4", children: [
|
|
@@ -8989,7 +8989,7 @@ function ContactCareers({
|
|
|
8989
8989
|
form.setFieldValue("contact_form_upload_tokens", []);
|
|
8990
8990
|
};
|
|
8991
8991
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
8992
|
-
const actionsContent =
|
|
8992
|
+
const actionsContent = React51.useMemo(() => {
|
|
8993
8993
|
if (actionsSlot) return actionsSlot;
|
|
8994
8994
|
if (actions && actions.length > 0) {
|
|
8995
8995
|
return actions.map((action, index) => {
|
|
@@ -9428,7 +9428,7 @@ function ContactCatering({
|
|
|
9428
9428
|
const updated = current.includes(value) ? current.filter((v) => v !== value) : [...current, value];
|
|
9429
9429
|
form.setFieldValue("dietaryAccommodations", updated);
|
|
9430
9430
|
};
|
|
9431
|
-
const actionsContent =
|
|
9431
|
+
const actionsContent = React51.useMemo(() => {
|
|
9432
9432
|
if (actionsSlot) return actionsSlot;
|
|
9433
9433
|
if (actions && actions.length > 0) {
|
|
9434
9434
|
return actions.map((action, index) => {
|
|
@@ -9848,7 +9848,7 @@ function ContactConsultation({
|
|
|
9848
9848
|
}
|
|
9849
9849
|
});
|
|
9850
9850
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
9851
|
-
const actionsContent =
|
|
9851
|
+
const actionsContent = React51.useMemo(() => {
|
|
9852
9852
|
if (actionsSlot) return actionsSlot;
|
|
9853
9853
|
if (actions && actions.length > 0) {
|
|
9854
9854
|
return actions.map((action, index) => {
|
|
@@ -10147,7 +10147,7 @@ function ContactDark({
|
|
|
10147
10147
|
}
|
|
10148
10148
|
});
|
|
10149
10149
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
10150
|
-
const actionsContent =
|
|
10150
|
+
const actionsContent = React51.useMemo(() => {
|
|
10151
10151
|
if (actionsSlot) return actionsSlot;
|
|
10152
10152
|
if (actions && actions.length > 0) {
|
|
10153
10153
|
return actions.map((action, index) => {
|
|
@@ -10177,7 +10177,7 @@ function ContactDark({
|
|
|
10177
10177
|
}
|
|
10178
10178
|
return null;
|
|
10179
10179
|
}, [actionsSlot, actions]);
|
|
10180
|
-
const contactOptionsContent =
|
|
10180
|
+
const contactOptionsContent = React51.useMemo(() => {
|
|
10181
10181
|
if (contactOptionsSlot) return contactOptionsSlot;
|
|
10182
10182
|
if (contactOptions && contactOptions.length > 0) {
|
|
10183
10183
|
return contactOptions.map((option, key) => /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
|
|
@@ -10201,7 +10201,7 @@ function ContactDark({
|
|
|
10201
10201
|
}
|
|
10202
10202
|
return null;
|
|
10203
10203
|
}, [contactOptionsSlot, contactOptions]);
|
|
10204
|
-
const socialLinksContent =
|
|
10204
|
+
const socialLinksContent = React51.useMemo(() => {
|
|
10205
10205
|
if (socialLinksSlot) return socialLinksSlot;
|
|
10206
10206
|
if (socialLinks && socialLinks.length > 0) {
|
|
10207
10207
|
return socialLinks.map((social, key) => /* @__PURE__ */ jsx(
|
|
@@ -10232,23 +10232,32 @@ function ContactDark({
|
|
|
10232
10232
|
"h2",
|
|
10233
10233
|
{
|
|
10234
10234
|
className: cn(
|
|
10235
|
-
"mb-3 text-3xl font-bold tracking-tight",
|
|
10235
|
+
"mb-3 text-3xl font-bold tracking-tight text-balance",
|
|
10236
10236
|
headingClassName
|
|
10237
10237
|
),
|
|
10238
10238
|
children: heading
|
|
10239
10239
|
}
|
|
10240
10240
|
) : /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading })),
|
|
10241
|
-
description && (typeof description === "string" ? /* @__PURE__ */ jsx(
|
|
10241
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsx(
|
|
10242
|
+
"p",
|
|
10243
|
+
{
|
|
10244
|
+
className: cn(
|
|
10245
|
+
"leading-relaxed text-balance",
|
|
10246
|
+
descriptionClassName
|
|
10247
|
+
),
|
|
10248
|
+
children: description
|
|
10249
|
+
}
|
|
10250
|
+
) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description }))
|
|
10242
10251
|
] }),
|
|
10243
10252
|
/* @__PURE__ */ jsxs(
|
|
10244
10253
|
Card,
|
|
10245
10254
|
{
|
|
10246
10255
|
className: cn(
|
|
10247
|
-
"grid gap-0 overflow-hidden lg:grid-cols-2",
|
|
10256
|
+
"grid gap-0 overflow-hidden grid-cols-1 lg:grid-cols-2 pt-0 pb-0",
|
|
10248
10257
|
cardClassName
|
|
10249
10258
|
),
|
|
10250
10259
|
children: [
|
|
10251
|
-
/* @__PURE__ */ jsx("div", { className: cn("p-6 lg:p-
|
|
10260
|
+
/* @__PURE__ */ jsx("div", { className: cn("p-6 lg:p-12", formPanelClassName), children: /* @__PURE__ */ jsxs(
|
|
10252
10261
|
Form,
|
|
10253
10262
|
{
|
|
10254
10263
|
form,
|
|
@@ -10264,7 +10273,7 @@ function ContactDark({
|
|
|
10264
10273
|
{
|
|
10265
10274
|
...field,
|
|
10266
10275
|
id: "first-name",
|
|
10267
|
-
placeholder: "
|
|
10276
|
+
placeholder: "First name",
|
|
10268
10277
|
error: meta.touched && !!meta.error,
|
|
10269
10278
|
"aria-label": "First Name"
|
|
10270
10279
|
}
|
|
@@ -10277,7 +10286,7 @@ function ContactDark({
|
|
|
10277
10286
|
{
|
|
10278
10287
|
...field,
|
|
10279
10288
|
id: "last-name",
|
|
10280
|
-
placeholder: "
|
|
10289
|
+
placeholder: "Last name",
|
|
10281
10290
|
error: meta.touched && !!meta.error,
|
|
10282
10291
|
"aria-label": "Last Name"
|
|
10283
10292
|
}
|
|
@@ -10292,7 +10301,7 @@ function ContactDark({
|
|
|
10292
10301
|
...field,
|
|
10293
10302
|
id: "email",
|
|
10294
10303
|
type: "email",
|
|
10295
|
-
placeholder: "
|
|
10304
|
+
placeholder: "Your email",
|
|
10296
10305
|
error: meta.touched && !!meta.error,
|
|
10297
10306
|
"aria-label": "Email Address"
|
|
10298
10307
|
}
|
|
@@ -10305,7 +10314,7 @@ function ContactDark({
|
|
|
10305
10314
|
{
|
|
10306
10315
|
...field,
|
|
10307
10316
|
id: "message",
|
|
10308
|
-
placeholder: "
|
|
10317
|
+
placeholder: "Your message...",
|
|
10309
10318
|
rows: 4,
|
|
10310
10319
|
error: meta.touched && !!meta.error,
|
|
10311
10320
|
"aria-label": "Message"
|
|
@@ -10460,7 +10469,7 @@ function ContactDemo({
|
|
|
10460
10469
|
}
|
|
10461
10470
|
});
|
|
10462
10471
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
10463
|
-
const actionsContent =
|
|
10472
|
+
const actionsContent = React51.useMemo(() => {
|
|
10464
10473
|
if (actionsSlot) return actionsSlot;
|
|
10465
10474
|
if (actions && actions.length > 0) {
|
|
10466
10475
|
return actions.map((action, index) => {
|
|
@@ -10767,7 +10776,7 @@ function ContactEmergency({
|
|
|
10767
10776
|
const selectedPriority = PRIORITIES.find(
|
|
10768
10777
|
(p) => p.value === form.values.priority
|
|
10769
10778
|
);
|
|
10770
|
-
const actionsContent =
|
|
10779
|
+
const actionsContent = React51.useMemo(() => {
|
|
10771
10780
|
if (actionsSlot) return actionsSlot;
|
|
10772
10781
|
if (actions && actions.length > 0) {
|
|
10773
10782
|
return actions.map((action, index) => {
|
|
@@ -11070,7 +11079,7 @@ function ContactEvent({
|
|
|
11070
11079
|
}
|
|
11071
11080
|
});
|
|
11072
11081
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
11073
|
-
const actionsContent =
|
|
11082
|
+
const actionsContent = React51.useMemo(() => {
|
|
11074
11083
|
if (actionsSlot) return actionsSlot;
|
|
11075
11084
|
if (actions && actions.length > 0) {
|
|
11076
11085
|
return actions.map((action, index) => {
|
|
@@ -11206,6 +11215,66 @@ function ContactEvent({
|
|
|
11206
11215
|
}
|
|
11207
11216
|
);
|
|
11208
11217
|
}
|
|
11218
|
+
function Accordion({
|
|
11219
|
+
...props
|
|
11220
|
+
}) {
|
|
11221
|
+
return /* @__PURE__ */ jsx(AccordionPrimitive.Root, { "data-slot": "accordion", ...props });
|
|
11222
|
+
}
|
|
11223
|
+
function AccordionItem({
|
|
11224
|
+
className,
|
|
11225
|
+
...props
|
|
11226
|
+
}) {
|
|
11227
|
+
return /* @__PURE__ */ jsx(
|
|
11228
|
+
AccordionPrimitive.Item,
|
|
11229
|
+
{
|
|
11230
|
+
"data-slot": "accordion-item",
|
|
11231
|
+
className: cn("border-b ", className),
|
|
11232
|
+
...props
|
|
11233
|
+
}
|
|
11234
|
+
);
|
|
11235
|
+
}
|
|
11236
|
+
function AccordionTrigger({
|
|
11237
|
+
className,
|
|
11238
|
+
children,
|
|
11239
|
+
...props
|
|
11240
|
+
}) {
|
|
11241
|
+
return /* @__PURE__ */ jsx(AccordionPrimitive.Header, { className: "flex", children: /* @__PURE__ */ jsxs(
|
|
11242
|
+
AccordionPrimitive.Trigger,
|
|
11243
|
+
{
|
|
11244
|
+
"data-slot": "accordion-trigger",
|
|
11245
|
+
className: cn(
|
|
11246
|
+
"focus-visible:border-ring focus-visible:ring-ring/50 flex flex-1 items-center justify-between gap-4 rounded-md py-4 text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180",
|
|
11247
|
+
className
|
|
11248
|
+
),
|
|
11249
|
+
...props,
|
|
11250
|
+
children: [
|
|
11251
|
+
children,
|
|
11252
|
+
/* @__PURE__ */ jsx(
|
|
11253
|
+
DynamicIcon,
|
|
11254
|
+
{
|
|
11255
|
+
name: "lucide/chevron-down",
|
|
11256
|
+
className: "text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200"
|
|
11257
|
+
}
|
|
11258
|
+
)
|
|
11259
|
+
]
|
|
11260
|
+
}
|
|
11261
|
+
) });
|
|
11262
|
+
}
|
|
11263
|
+
function AccordionContent({
|
|
11264
|
+
className,
|
|
11265
|
+
children,
|
|
11266
|
+
...props
|
|
11267
|
+
}) {
|
|
11268
|
+
return /* @__PURE__ */ jsx(
|
|
11269
|
+
AccordionPrimitive.Content,
|
|
11270
|
+
{
|
|
11271
|
+
"data-slot": "accordion-content",
|
|
11272
|
+
className: "data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm",
|
|
11273
|
+
...props,
|
|
11274
|
+
children: /* @__PURE__ */ jsx("div", { className: cn("pt-0 pb-4", className), children })
|
|
11275
|
+
}
|
|
11276
|
+
);
|
|
11277
|
+
}
|
|
11209
11278
|
function ContactFaq({
|
|
11210
11279
|
heading,
|
|
11211
11280
|
description,
|
|
@@ -11214,6 +11283,9 @@ function ContactFaq({
|
|
|
11214
11283
|
buttonIcon,
|
|
11215
11284
|
actions,
|
|
11216
11285
|
actionsSlot,
|
|
11286
|
+
items,
|
|
11287
|
+
itemsSlot,
|
|
11288
|
+
faqHeading,
|
|
11217
11289
|
className,
|
|
11218
11290
|
headerClassName,
|
|
11219
11291
|
headingClassName,
|
|
@@ -11223,6 +11295,13 @@ function ContactFaq({
|
|
|
11223
11295
|
formHeadingClassName,
|
|
11224
11296
|
formClassName,
|
|
11225
11297
|
submitClassName,
|
|
11298
|
+
faqHeadingClassName,
|
|
11299
|
+
faqContainerClassName,
|
|
11300
|
+
accordionClassName,
|
|
11301
|
+
accordionItemClassName,
|
|
11302
|
+
accordionTriggerClassName,
|
|
11303
|
+
accordionContentClassName,
|
|
11304
|
+
gridClassName,
|
|
11226
11305
|
background,
|
|
11227
11306
|
spacing = "py-8 md:py-32",
|
|
11228
11307
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
@@ -11280,7 +11359,7 @@ function ContactFaq({
|
|
|
11280
11359
|
}
|
|
11281
11360
|
});
|
|
11282
11361
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
11283
|
-
const actionsContent =
|
|
11362
|
+
const actionsContent = React51.useMemo(() => {
|
|
11284
11363
|
if (actionsSlot) return actionsSlot;
|
|
11285
11364
|
if (actions && actions.length > 0) {
|
|
11286
11365
|
return actions.map((action, index) => {
|
|
@@ -11310,6 +11389,40 @@ function ContactFaq({
|
|
|
11310
11389
|
}
|
|
11311
11390
|
return null;
|
|
11312
11391
|
}, [actionsSlot, actions]);
|
|
11392
|
+
const hasFaqItems = itemsSlot || items && items.length > 0;
|
|
11393
|
+
const faqContent = useMemo(() => {
|
|
11394
|
+
if (itemsSlot) return itemsSlot;
|
|
11395
|
+
if (!items || items.length === 0) return null;
|
|
11396
|
+
return /* @__PURE__ */ jsx(Accordion, { type: "single", collapsible: true, className: accordionClassName, children: items.map((item) => /* @__PURE__ */ jsxs(
|
|
11397
|
+
AccordionItem,
|
|
11398
|
+
{
|
|
11399
|
+
value: item.id,
|
|
11400
|
+
className: accordionItemClassName,
|
|
11401
|
+
children: [
|
|
11402
|
+
/* @__PURE__ */ jsx(
|
|
11403
|
+
AccordionTrigger,
|
|
11404
|
+
{
|
|
11405
|
+
className: cn(
|
|
11406
|
+
"font-semibold hover:no-underline",
|
|
11407
|
+
accordionTriggerClassName
|
|
11408
|
+
),
|
|
11409
|
+
children: item.question
|
|
11410
|
+
}
|
|
11411
|
+
),
|
|
11412
|
+
/* @__PURE__ */ jsx(AccordionContent, { className: cn(accordionContentClassName), children: item.answer })
|
|
11413
|
+
]
|
|
11414
|
+
},
|
|
11415
|
+
item.id
|
|
11416
|
+
)) });
|
|
11417
|
+
}, [
|
|
11418
|
+
itemsSlot,
|
|
11419
|
+
items,
|
|
11420
|
+
accordionClassName,
|
|
11421
|
+
accordionItemClassName,
|
|
11422
|
+
accordionTriggerClassName,
|
|
11423
|
+
accordionContentClassName,
|
|
11424
|
+
background
|
|
11425
|
+
]);
|
|
11313
11426
|
return /* @__PURE__ */ jsx(
|
|
11314
11427
|
Section,
|
|
11315
11428
|
{
|
|
@@ -11320,122 +11433,156 @@ function ContactFaq({
|
|
|
11320
11433
|
className,
|
|
11321
11434
|
containerClassName,
|
|
11322
11435
|
children: /* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
11323
|
-
/* @__PURE__ */ jsxs(
|
|
11324
|
-
|
|
11325
|
-
|
|
11326
|
-
|
|
11327
|
-
|
|
11328
|
-
|
|
11329
|
-
|
|
11330
|
-
|
|
11331
|
-
|
|
11332
|
-
|
|
11333
|
-
|
|
11334
|
-
|
|
11335
|
-
|
|
11336
|
-
|
|
11337
|
-
|
|
11338
|
-
|
|
11339
|
-
|
|
11340
|
-
),
|
|
11341
|
-
|
|
11342
|
-
|
|
11343
|
-
|
|
11344
|
-
|
|
11345
|
-
|
|
11346
|
-
|
|
11347
|
-
|
|
11348
|
-
|
|
11349
|
-
|
|
11350
|
-
|
|
11351
|
-
|
|
11352
|
-
|
|
11353
|
-
|
|
11354
|
-
|
|
11355
|
-
|
|
11356
|
-
|
|
11357
|
-
|
|
11358
|
-
|
|
11359
|
-
|
|
11360
|
-
|
|
11361
|
-
|
|
11362
|
-
|
|
11363
|
-
children: [
|
|
11364
|
-
|
|
11365
|
-
|
|
11366
|
-
/* @__PURE__ */ jsx(Label, { htmlFor: "name", children: "Name" }),
|
|
11367
|
-
/* @__PURE__ */ jsx(
|
|
11368
|
-
TextInput$1,
|
|
11369
|
-
{
|
|
11370
|
-
...field,
|
|
11371
|
-
id: "name",
|
|
11372
|
-
placeholder: "John Doe",
|
|
11373
|
-
error: meta.touched && !!meta.error,
|
|
11374
|
-
"aria-label": "Name"
|
|
11375
|
-
}
|
|
11376
|
-
)
|
|
11377
|
-
] }) }),
|
|
11378
|
-
/* @__PURE__ */ jsx(Field, { name: "email", children: ({ field, meta }) => /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
11379
|
-
/* @__PURE__ */ jsx(Label, { htmlFor: "email", children: "Email" }),
|
|
11380
|
-
/* @__PURE__ */ jsx(
|
|
11381
|
-
TextInput$1,
|
|
11382
|
-
{
|
|
11383
|
-
...field,
|
|
11384
|
-
id: "email",
|
|
11385
|
-
type: "email",
|
|
11386
|
-
placeholder: "john@example.com",
|
|
11387
|
-
error: meta.touched && !!meta.error,
|
|
11388
|
-
"aria-label": "Email"
|
|
11389
|
-
}
|
|
11390
|
-
)
|
|
11391
|
-
] }) })
|
|
11392
|
-
] }),
|
|
11393
|
-
/* @__PURE__ */ jsx(Field, { name: "subject", children: ({ field, meta }) => /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
11394
|
-
/* @__PURE__ */ jsx(Label, { htmlFor: "subject", children: "Subject" }),
|
|
11395
|
-
/* @__PURE__ */ jsx(
|
|
11396
|
-
TextInput$1,
|
|
11397
|
-
{
|
|
11398
|
-
...field,
|
|
11399
|
-
id: "subject",
|
|
11400
|
-
placeholder: "What is this regarding?",
|
|
11401
|
-
error: meta.touched && !!meta.error,
|
|
11402
|
-
"aria-label": "Subject"
|
|
11403
|
-
}
|
|
11404
|
-
)
|
|
11405
|
-
] }) }),
|
|
11406
|
-
/* @__PURE__ */ jsx(Field, { name: "message", children: ({ field, meta }) => /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
11407
|
-
/* @__PURE__ */ jsx(Label, { htmlFor: "message", children: "Message" }),
|
|
11408
|
-
/* @__PURE__ */ jsx(
|
|
11409
|
-
TextArea$1,
|
|
11410
|
-
{
|
|
11411
|
-
...field,
|
|
11412
|
-
id: "message",
|
|
11413
|
-
placeholder: "Your question...",
|
|
11414
|
-
rows: 4,
|
|
11415
|
-
error: meta.touched && !!meta.error,
|
|
11416
|
-
"aria-label": "Message"
|
|
11417
|
-
}
|
|
11418
|
-
)
|
|
11419
|
-
] }) }),
|
|
11420
|
-
actionsSlot || actions && actions.length > 0 ? actionsContent : /* @__PURE__ */ jsxs(
|
|
11421
|
-
Pressable,
|
|
11436
|
+
/* @__PURE__ */ jsxs(
|
|
11437
|
+
"div",
|
|
11438
|
+
{
|
|
11439
|
+
className: cn(
|
|
11440
|
+
"mb-10 md:mb-16 text-left max-w-full md:max-w-md",
|
|
11441
|
+
headerClassName
|
|
11442
|
+
),
|
|
11443
|
+
children: [
|
|
11444
|
+
heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
|
|
11445
|
+
"h2",
|
|
11446
|
+
{
|
|
11447
|
+
className: cn(
|
|
11448
|
+
"mb-3 text-3xl md:text-5xl font-bold tracking-tight text-balance",
|
|
11449
|
+
headingClassName
|
|
11450
|
+
),
|
|
11451
|
+
children: heading
|
|
11452
|
+
}
|
|
11453
|
+
) : /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading })),
|
|
11454
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsx(
|
|
11455
|
+
"p",
|
|
11456
|
+
{
|
|
11457
|
+
className: cn(
|
|
11458
|
+
"leading-relaxed text-balance",
|
|
11459
|
+
descriptionClassName
|
|
11460
|
+
),
|
|
11461
|
+
children: description
|
|
11462
|
+
}
|
|
11463
|
+
) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description }))
|
|
11464
|
+
]
|
|
11465
|
+
}
|
|
11466
|
+
),
|
|
11467
|
+
/* @__PURE__ */ jsxs(
|
|
11468
|
+
"div",
|
|
11469
|
+
{
|
|
11470
|
+
className: cn(
|
|
11471
|
+
"w-full mx-auto grid gap-10 grid-cols-1",
|
|
11472
|
+
hasFaqItems ? "lg:grid-cols-2" : "lg:grid-cols-1",
|
|
11473
|
+
gridClassName
|
|
11474
|
+
),
|
|
11475
|
+
children: [
|
|
11476
|
+
/* @__PURE__ */ jsx(Card, { className: cn("w-full pt-0 pb-0", cardClassName), children: /* @__PURE__ */ jsxs(CardContent, { className: cn("p-6 lg:p-8", cardContentClassName), children: [
|
|
11477
|
+
formHeading && (typeof formHeading === "string" ? /* @__PURE__ */ jsx(
|
|
11478
|
+
"h3",
|
|
11422
11479
|
{
|
|
11423
|
-
|
|
11424
|
-
|
|
11425
|
-
|
|
11426
|
-
|
|
11427
|
-
|
|
11428
|
-
|
|
11480
|
+
className: cn(
|
|
11481
|
+
"mb-6 text-xl font-semibold",
|
|
11482
|
+
formHeadingClassName
|
|
11483
|
+
),
|
|
11484
|
+
children: formHeading
|
|
11485
|
+
}
|
|
11486
|
+
) : /* @__PURE__ */ jsx("div", { className: formHeadingClassName, children: formHeading })),
|
|
11487
|
+
/* @__PURE__ */ jsxs(
|
|
11488
|
+
Form,
|
|
11489
|
+
{
|
|
11490
|
+
form,
|
|
11491
|
+
action: formConfig?.endpoint,
|
|
11492
|
+
method: formMethod,
|
|
11493
|
+
className: cn("space-y-4", formClassName),
|
|
11429
11494
|
children: [
|
|
11430
|
-
|
|
11431
|
-
|
|
11495
|
+
/* @__PURE__ */ jsxs("div", { className: "grid gap-4 sm:grid-cols-2", children: [
|
|
11496
|
+
/* @__PURE__ */ jsx(Field, { name: "name", children: ({ field, meta }) => /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
11497
|
+
/* @__PURE__ */ jsx(Label, { htmlFor: "name", children: "Name" }),
|
|
11498
|
+
/* @__PURE__ */ jsx(
|
|
11499
|
+
TextInput$1,
|
|
11500
|
+
{
|
|
11501
|
+
...field,
|
|
11502
|
+
id: "name",
|
|
11503
|
+
placeholder: "John Doe",
|
|
11504
|
+
error: meta.touched && !!meta.error,
|
|
11505
|
+
"aria-label": "Name"
|
|
11506
|
+
}
|
|
11507
|
+
)
|
|
11508
|
+
] }) }),
|
|
11509
|
+
/* @__PURE__ */ jsx(Field, { name: "email", children: ({ field, meta }) => /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
11510
|
+
/* @__PURE__ */ jsx(Label, { htmlFor: "email", children: "Email" }),
|
|
11511
|
+
/* @__PURE__ */ jsx(
|
|
11512
|
+
TextInput$1,
|
|
11513
|
+
{
|
|
11514
|
+
...field,
|
|
11515
|
+
id: "email",
|
|
11516
|
+
type: "email",
|
|
11517
|
+
placeholder: "john@example.com",
|
|
11518
|
+
error: meta.touched && !!meta.error,
|
|
11519
|
+
"aria-label": "Email"
|
|
11520
|
+
}
|
|
11521
|
+
)
|
|
11522
|
+
] }) })
|
|
11523
|
+
] }),
|
|
11524
|
+
/* @__PURE__ */ jsx(Field, { name: "subject", children: ({ field, meta }) => /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
11525
|
+
/* @__PURE__ */ jsx(Label, { htmlFor: "subject", children: "Subject" }),
|
|
11526
|
+
/* @__PURE__ */ jsx(
|
|
11527
|
+
TextInput$1,
|
|
11528
|
+
{
|
|
11529
|
+
...field,
|
|
11530
|
+
id: "subject",
|
|
11531
|
+
placeholder: "What is this regarding?",
|
|
11532
|
+
error: meta.touched && !!meta.error,
|
|
11533
|
+
"aria-label": "Subject"
|
|
11534
|
+
}
|
|
11535
|
+
)
|
|
11536
|
+
] }) }),
|
|
11537
|
+
/* @__PURE__ */ jsx(Field, { name: "message", children: ({ field, meta }) => /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
11538
|
+
/* @__PURE__ */ jsx(Label, { htmlFor: "message", children: "Message" }),
|
|
11539
|
+
/* @__PURE__ */ jsx(
|
|
11540
|
+
TextArea$1,
|
|
11541
|
+
{
|
|
11542
|
+
...field,
|
|
11543
|
+
id: "message",
|
|
11544
|
+
placeholder: "Your question...",
|
|
11545
|
+
rows: 4,
|
|
11546
|
+
error: meta.touched && !!meta.error,
|
|
11547
|
+
"aria-label": "Message"
|
|
11548
|
+
}
|
|
11549
|
+
)
|
|
11550
|
+
] }) }),
|
|
11551
|
+
actionsSlot || actions && actions.length > 0 ? actionsContent : /* @__PURE__ */ jsxs(
|
|
11552
|
+
Pressable,
|
|
11553
|
+
{
|
|
11554
|
+
componentType: "button",
|
|
11555
|
+
type: "submit",
|
|
11556
|
+
className: cn("w-full", submitClassName),
|
|
11557
|
+
size: "lg",
|
|
11558
|
+
asButton: true,
|
|
11559
|
+
disabled: form.isSubmitting,
|
|
11560
|
+
children: [
|
|
11561
|
+
buttonIcon,
|
|
11562
|
+
buttonText
|
|
11563
|
+
]
|
|
11564
|
+
}
|
|
11565
|
+
)
|
|
11432
11566
|
]
|
|
11433
11567
|
}
|
|
11434
11568
|
)
|
|
11435
|
-
]
|
|
11436
|
-
|
|
11437
|
-
|
|
11438
|
-
|
|
11569
|
+
] }) }),
|
|
11570
|
+
hasFaqItems && /* @__PURE__ */ jsxs("div", { className: cn("relative", faqContainerClassName), children: [
|
|
11571
|
+
faqHeading && (typeof faqHeading === "string" ? /* @__PURE__ */ jsx(
|
|
11572
|
+
"h3",
|
|
11573
|
+
{
|
|
11574
|
+
className: cn(
|
|
11575
|
+
"mb-6 text-xl font-semibold",
|
|
11576
|
+
faqHeadingClassName
|
|
11577
|
+
),
|
|
11578
|
+
children: faqHeading
|
|
11579
|
+
}
|
|
11580
|
+
) : /* @__PURE__ */ jsx("div", { className: faqHeadingClassName, children: faqHeading })),
|
|
11581
|
+
faqContent
|
|
11582
|
+
] })
|
|
11583
|
+
]
|
|
11584
|
+
}
|
|
11585
|
+
)
|
|
11439
11586
|
] })
|
|
11440
11587
|
}
|
|
11441
11588
|
);
|
|
@@ -11508,7 +11655,7 @@ function ContactFeedback({
|
|
|
11508
11655
|
}
|
|
11509
11656
|
});
|
|
11510
11657
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
11511
|
-
const actionsContent =
|
|
11658
|
+
const actionsContent = React51.useMemo(() => {
|
|
11512
11659
|
if (actionsSlot) return actionsSlot;
|
|
11513
11660
|
if (actions && actions.length > 0) {
|
|
11514
11661
|
return actions.map((action, index) => {
|
|
@@ -11676,7 +11823,7 @@ function ContactFitness({
|
|
|
11676
11823
|
}
|
|
11677
11824
|
});
|
|
11678
11825
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
11679
|
-
const actionsContent =
|
|
11826
|
+
const actionsContent = React51.useMemo(() => {
|
|
11680
11827
|
if (actionsSlot) return actionsSlot;
|
|
11681
11828
|
if (actions && actions.length > 0) {
|
|
11682
11829
|
return actions.map((action, index) => {
|
|
@@ -11886,7 +12033,7 @@ function ContactGuest({
|
|
|
11886
12033
|
}
|
|
11887
12034
|
});
|
|
11888
12035
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
11889
|
-
const actionsContent =
|
|
12036
|
+
const actionsContent = React51.useMemo(() => {
|
|
11890
12037
|
if (actionsSlot) return actionsSlot;
|
|
11891
12038
|
if (actions && actions.length > 0) {
|
|
11892
12039
|
return actions.map((action, index) => {
|
|
@@ -12096,7 +12243,7 @@ function ContactImage({
|
|
|
12096
12243
|
}
|
|
12097
12244
|
});
|
|
12098
12245
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
12099
|
-
const actionsContent =
|
|
12246
|
+
const actionsContent = React51.useMemo(() => {
|
|
12100
12247
|
if (actionsSlot) return actionsSlot;
|
|
12101
12248
|
if (actions && actions.length > 0) {
|
|
12102
12249
|
return actions.map((action, index) => {
|
|
@@ -12306,7 +12453,7 @@ function ContactInsurance({
|
|
|
12306
12453
|
}
|
|
12307
12454
|
});
|
|
12308
12455
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
12309
|
-
const actionsContent =
|
|
12456
|
+
const actionsContent = React51.useMemo(() => {
|
|
12310
12457
|
if (actionsSlot) return actionsSlot;
|
|
12311
12458
|
if (actions && actions.length > 0) {
|
|
12312
12459
|
return actions.map((action, index) => {
|
|
@@ -12516,7 +12663,7 @@ function ContactInterview({
|
|
|
12516
12663
|
}
|
|
12517
12664
|
});
|
|
12518
12665
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
12519
|
-
const actionsContent =
|
|
12666
|
+
const actionsContent = React51.useMemo(() => {
|
|
12520
12667
|
if (actionsSlot) return actionsSlot;
|
|
12521
12668
|
if (actions && actions.length > 0) {
|
|
12522
12669
|
return actions.map((action, index) => {
|
|
@@ -12717,7 +12864,7 @@ function ContactLocations({
|
|
|
12717
12864
|
}
|
|
12718
12865
|
});
|
|
12719
12866
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
12720
|
-
const actionsContent =
|
|
12867
|
+
const actionsContent = React51.useMemo(() => {
|
|
12721
12868
|
if (actionsSlot) return actionsSlot;
|
|
12722
12869
|
if (actions && actions.length > 0) {
|
|
12723
12870
|
return actions.map((action, index) => {
|
|
@@ -12918,7 +13065,7 @@ function ContactMaintenance({
|
|
|
12918
13065
|
}
|
|
12919
13066
|
});
|
|
12920
13067
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
12921
|
-
const actionsContent =
|
|
13068
|
+
const actionsContent = React51.useMemo(() => {
|
|
12922
13069
|
if (actionsSlot) return actionsSlot;
|
|
12923
13070
|
if (actions && actions.length > 0) {
|
|
12924
13071
|
return actions.map((action, index) => {
|
|
@@ -13119,7 +13266,7 @@ function ContactMap({
|
|
|
13119
13266
|
}
|
|
13120
13267
|
});
|
|
13121
13268
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
13122
|
-
const actionsContent =
|
|
13269
|
+
const actionsContent = React51.useMemo(() => {
|
|
13123
13270
|
if (actionsSlot) return actionsSlot;
|
|
13124
13271
|
if (actions && actions.length > 0) {
|
|
13125
13272
|
return actions.map((action, index) => {
|
|
@@ -13317,7 +13464,7 @@ function ContactMinimal({
|
|
|
13317
13464
|
}
|
|
13318
13465
|
});
|
|
13319
13466
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
13320
|
-
const actionsContent =
|
|
13467
|
+
const actionsContent = React51.useMemo(() => {
|
|
13321
13468
|
if (actionsSlot) return actionsSlot;
|
|
13322
13469
|
if (actions && actions.length > 0) {
|
|
13323
13470
|
return actions.map((action, index) => {
|
|
@@ -13340,7 +13487,7 @@ function ContactMinimal({
|
|
|
13340
13487
|
}
|
|
13341
13488
|
return null;
|
|
13342
13489
|
}, [actionsSlot, actions]);
|
|
13343
|
-
const footerContent =
|
|
13490
|
+
const footerContent = React51.useMemo(() => {
|
|
13344
13491
|
if (footerSlot) return footerSlot;
|
|
13345
13492
|
if (footer) {
|
|
13346
13493
|
return typeof footer === "string" ? /* @__PURE__ */ jsx("p", { className: cn("mt-6 text-center text-sm text-muted-foreground", footerClassName), children: footer }) : /* @__PURE__ */ jsx("div", { className: cn("mt-6 text-center text-sm text-muted-foreground", footerClassName), children: footer });
|
|
@@ -13506,7 +13653,7 @@ function ContactMoving({
|
|
|
13506
13653
|
}
|
|
13507
13654
|
});
|
|
13508
13655
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
13509
|
-
const actionsContent =
|
|
13656
|
+
const actionsContent = React51.useMemo(() => {
|
|
13510
13657
|
if (actionsSlot) return actionsSlot;
|
|
13511
13658
|
if (actions && actions.length > 0) {
|
|
13512
13659
|
return actions.map((action, index) => {
|
|
@@ -13707,7 +13854,7 @@ function ContactMultistep({
|
|
|
13707
13854
|
}
|
|
13708
13855
|
});
|
|
13709
13856
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
13710
|
-
const actionsContent =
|
|
13857
|
+
const actionsContent = React51.useMemo(() => {
|
|
13711
13858
|
if (actionsSlot) return actionsSlot;
|
|
13712
13859
|
if (actions && actions.length > 0) {
|
|
13713
13860
|
return actions.map((action, index) => {
|
|
@@ -13908,7 +14055,7 @@ function ContactPartnership({
|
|
|
13908
14055
|
}
|
|
13909
14056
|
});
|
|
13910
14057
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
13911
|
-
const actionsContent =
|
|
14058
|
+
const actionsContent = React51.useMemo(() => {
|
|
13912
14059
|
if (actionsSlot) return actionsSlot;
|
|
13913
14060
|
if (actions && actions.length > 0) {
|
|
13914
14061
|
return actions.map((action, index) => {
|
|
@@ -14043,18 +14190,19 @@ function ContactPhotography({
|
|
|
14043
14190
|
actions,
|
|
14044
14191
|
actionsSlot,
|
|
14045
14192
|
className,
|
|
14046
|
-
headerClassName,
|
|
14047
14193
|
headingClassName,
|
|
14048
14194
|
descriptionClassName,
|
|
14049
|
-
|
|
14050
|
-
cardContentClassName,
|
|
14195
|
+
contentClassName,
|
|
14051
14196
|
formClassName,
|
|
14052
14197
|
submitClassName,
|
|
14053
14198
|
background,
|
|
14054
|
-
spacing = "py-8 md:py-32",
|
|
14055
|
-
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
14056
14199
|
pattern,
|
|
14057
14200
|
patternOpacity,
|
|
14201
|
+
imageSrc,
|
|
14202
|
+
imageAlt,
|
|
14203
|
+
imageClassName,
|
|
14204
|
+
optixFlowConfig,
|
|
14205
|
+
directionConfig = { desktop: "mediaRight", mobile: "mediaTop" },
|
|
14058
14206
|
formConfig,
|
|
14059
14207
|
onSubmit,
|
|
14060
14208
|
onSuccess,
|
|
@@ -14109,7 +14257,7 @@ function ContactPhotography({
|
|
|
14109
14257
|
}
|
|
14110
14258
|
});
|
|
14111
14259
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
14112
|
-
const actionsContent =
|
|
14260
|
+
const actionsContent = useMemo(() => {
|
|
14113
14261
|
if (actionsSlot) return actionsSlot;
|
|
14114
14262
|
if (actions && actions.length > 0) {
|
|
14115
14263
|
return actions.map((action, index) => {
|
|
@@ -14139,22 +14287,39 @@ function ContactPhotography({
|
|
|
14139
14287
|
}
|
|
14140
14288
|
return null;
|
|
14141
14289
|
}, [actionsSlot, actions]);
|
|
14142
|
-
|
|
14143
|
-
|
|
14290
|
+
const bgColorClass = useMemo(() => {
|
|
14291
|
+
switch (background) {
|
|
14292
|
+
case "dark":
|
|
14293
|
+
return "bg-foreground text-background";
|
|
14294
|
+
case "gray":
|
|
14295
|
+
return cn(
|
|
14296
|
+
getNestedCardBg(background),
|
|
14297
|
+
getNestedCardTextColor(background)
|
|
14298
|
+
);
|
|
14299
|
+
case "white":
|
|
14300
|
+
return "bg-background";
|
|
14301
|
+
default:
|
|
14302
|
+
return "bg-background";
|
|
14303
|
+
}
|
|
14304
|
+
}, [background]);
|
|
14305
|
+
const desktopOrder = directionConfig.desktop === "mediaRight" ? "lg:flex-row" : "lg:flex-row-reverse";
|
|
14306
|
+
const mobileOrder = directionConfig.mobile === "mediaTop" ? "flex-col" : "flex-col-reverse";
|
|
14307
|
+
const contentArea = /* @__PURE__ */ jsxs(
|
|
14308
|
+
"div",
|
|
14144
14309
|
{
|
|
14145
|
-
|
|
14146
|
-
|
|
14147
|
-
|
|
14148
|
-
|
|
14149
|
-
|
|
14150
|
-
|
|
14151
|
-
|
|
14152
|
-
/* @__PURE__ */
|
|
14310
|
+
className: cn(
|
|
14311
|
+
"relative flex w-full items-center lg:w-1/2",
|
|
14312
|
+
bgColorClass,
|
|
14313
|
+
contentClassName
|
|
14314
|
+
),
|
|
14315
|
+
children: [
|
|
14316
|
+
pattern && /* @__PURE__ */ jsx("div", { className: "absolute inset-0 overflow-hidden", children: /* @__PURE__ */ jsx(PatternBackground, { pattern, opacity: patternOpacity }) }),
|
|
14317
|
+
/* @__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: [
|
|
14153
14318
|
heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
|
|
14154
14319
|
"h2",
|
|
14155
14320
|
{
|
|
14156
14321
|
className: cn(
|
|
14157
|
-
"
|
|
14322
|
+
"text-3xl font-bold leading-tight tracking-tight sm:text-4xl lg:text-5xl",
|
|
14158
14323
|
headingClassName
|
|
14159
14324
|
),
|
|
14160
14325
|
children: heading
|
|
@@ -14164,112 +14329,125 @@ function ContactPhotography({
|
|
|
14164
14329
|
"p",
|
|
14165
14330
|
{
|
|
14166
14331
|
className: cn(
|
|
14167
|
-
"leading-relaxed text-
|
|
14332
|
+
"text-base leading-relaxed opacity-90 sm:text-lg",
|
|
14168
14333
|
descriptionClassName
|
|
14169
14334
|
),
|
|
14170
14335
|
children: description
|
|
14171
14336
|
}
|
|
14172
|
-
) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description }))
|
|
14173
|
-
|
|
14174
|
-
|
|
14175
|
-
|
|
14176
|
-
|
|
14177
|
-
|
|
14178
|
-
|
|
14179
|
-
|
|
14180
|
-
|
|
14181
|
-
|
|
14182
|
-
|
|
14183
|
-
|
|
14184
|
-
|
|
14337
|
+
) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description })),
|
|
14338
|
+
/* @__PURE__ */ jsxs(
|
|
14339
|
+
Form,
|
|
14340
|
+
{
|
|
14341
|
+
form,
|
|
14342
|
+
action: formConfig?.endpoint,
|
|
14343
|
+
method: formMethod,
|
|
14344
|
+
className: cn("space-y-4", formClassName),
|
|
14345
|
+
children: [
|
|
14346
|
+
/* @__PURE__ */ jsxs("div", { className: "grid gap-4 sm:grid-cols-2", children: [
|
|
14347
|
+
/* @__PURE__ */ jsx(Field, { name: "first_name", children: ({ field, meta }) => /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
14348
|
+
/* @__PURE__ */ jsx(Label, { htmlFor: "first-name", children: "First Name" }),
|
|
14349
|
+
/* @__PURE__ */ jsx(
|
|
14350
|
+
TextInput$1,
|
|
14351
|
+
{
|
|
14352
|
+
...field,
|
|
14353
|
+
id: "first-name",
|
|
14354
|
+
placeholder: "John",
|
|
14355
|
+
error: meta.touched && !!meta.error,
|
|
14356
|
+
"aria-label": "First Name"
|
|
14357
|
+
}
|
|
14358
|
+
)
|
|
14359
|
+
] }) }),
|
|
14360
|
+
/* @__PURE__ */ jsx(Field, { name: "last_name", children: ({ field, meta }) => /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
14361
|
+
/* @__PURE__ */ jsx(Label, { htmlFor: "last-name", children: "Last Name" }),
|
|
14362
|
+
/* @__PURE__ */ jsx(
|
|
14363
|
+
TextInput$1,
|
|
14364
|
+
{
|
|
14365
|
+
...field,
|
|
14366
|
+
id: "last-name",
|
|
14367
|
+
placeholder: "Doe",
|
|
14368
|
+
error: meta.touched && !!meta.error,
|
|
14369
|
+
"aria-label": "Last Name"
|
|
14370
|
+
}
|
|
14371
|
+
)
|
|
14372
|
+
] }) })
|
|
14373
|
+
] }),
|
|
14374
|
+
/* @__PURE__ */ jsx(Field, { name: "email", children: ({ field, meta }) => /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
14375
|
+
/* @__PURE__ */ jsx(Label, { htmlFor: "email", children: "Email" }),
|
|
14185
14376
|
/* @__PURE__ */ jsx(
|
|
14186
14377
|
TextInput$1,
|
|
14187
14378
|
{
|
|
14188
14379
|
...field,
|
|
14189
|
-
id: "
|
|
14190
|
-
|
|
14380
|
+
id: "email",
|
|
14381
|
+
type: "email",
|
|
14382
|
+
placeholder: "john@example.com",
|
|
14191
14383
|
error: meta.touched && !!meta.error,
|
|
14192
|
-
"aria-label": "
|
|
14384
|
+
"aria-label": "Email"
|
|
14193
14385
|
}
|
|
14194
14386
|
)
|
|
14195
14387
|
] }) }),
|
|
14196
|
-
/* @__PURE__ */ jsx(Field, { name: "
|
|
14197
|
-
/* @__PURE__ */ jsx(Label, { htmlFor: "
|
|
14388
|
+
/* @__PURE__ */ jsx(Field, { name: "phone", children: ({ field, meta }) => /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
14389
|
+
/* @__PURE__ */ jsx(Label, { htmlFor: "phone", children: "Phone" }),
|
|
14198
14390
|
/* @__PURE__ */ jsx(
|
|
14199
14391
|
TextInput$1,
|
|
14200
14392
|
{
|
|
14201
14393
|
...field,
|
|
14202
|
-
id: "
|
|
14203
|
-
|
|
14394
|
+
id: "phone",
|
|
14395
|
+
type: "tel",
|
|
14396
|
+
placeholder: "+1 (555) 000-0000",
|
|
14204
14397
|
error: meta.touched && !!meta.error,
|
|
14205
|
-
"aria-label": "
|
|
14398
|
+
"aria-label": "Phone"
|
|
14206
14399
|
}
|
|
14207
14400
|
)
|
|
14208
|
-
] }) })
|
|
14209
|
-
|
|
14210
|
-
|
|
14211
|
-
|
|
14212
|
-
|
|
14213
|
-
|
|
14214
|
-
|
|
14215
|
-
|
|
14216
|
-
|
|
14217
|
-
|
|
14218
|
-
|
|
14219
|
-
|
|
14220
|
-
|
|
14221
|
-
|
|
14222
|
-
)
|
|
14223
|
-
|
|
14224
|
-
|
|
14225
|
-
/* @__PURE__ */ jsx(Label, { htmlFor: "phone", children: "Phone" }),
|
|
14226
|
-
/* @__PURE__ */ jsx(
|
|
14227
|
-
TextInput$1,
|
|
14228
|
-
{
|
|
14229
|
-
...field,
|
|
14230
|
-
id: "phone",
|
|
14231
|
-
type: "tel",
|
|
14232
|
-
placeholder: "+1 (555) 000-0000",
|
|
14233
|
-
error: meta.touched && !!meta.error,
|
|
14234
|
-
"aria-label": "Phone"
|
|
14235
|
-
}
|
|
14236
|
-
)
|
|
14237
|
-
] }) }),
|
|
14238
|
-
/* @__PURE__ */ jsx(Field, { name: "message", children: ({ field, meta }) => /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
14239
|
-
/* @__PURE__ */ jsx(Label, { htmlFor: "message", children: "Message" }),
|
|
14240
|
-
/* @__PURE__ */ jsx(
|
|
14241
|
-
TextArea$1,
|
|
14401
|
+
] }) }),
|
|
14402
|
+
/* @__PURE__ */ jsx(Field, { name: "message", children: ({ field, meta }) => /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
14403
|
+
/* @__PURE__ */ jsx(Label, { htmlFor: "message", children: "Message" }),
|
|
14404
|
+
/* @__PURE__ */ jsx(
|
|
14405
|
+
TextArea$1,
|
|
14406
|
+
{
|
|
14407
|
+
...field,
|
|
14408
|
+
id: "message",
|
|
14409
|
+
placeholder: "Your message...",
|
|
14410
|
+
rows: 4,
|
|
14411
|
+
error: meta.touched && !!meta.error,
|
|
14412
|
+
"aria-label": "Message"
|
|
14413
|
+
}
|
|
14414
|
+
)
|
|
14415
|
+
] }) }),
|
|
14416
|
+
actionsSlot || actions && actions.length > 0 ? actionsContent : /* @__PURE__ */ jsxs(
|
|
14417
|
+
Pressable,
|
|
14242
14418
|
{
|
|
14243
|
-
|
|
14244
|
-
|
|
14245
|
-
|
|
14246
|
-
|
|
14247
|
-
|
|
14248
|
-
|
|
14419
|
+
componentType: "button",
|
|
14420
|
+
type: "submit",
|
|
14421
|
+
className: cn("w-full", submitClassName),
|
|
14422
|
+
size: "lg",
|
|
14423
|
+
asButton: true,
|
|
14424
|
+
disabled: form.isSubmitting,
|
|
14425
|
+
children: [
|
|
14426
|
+
buttonIcon,
|
|
14427
|
+
buttonText
|
|
14428
|
+
]
|
|
14249
14429
|
}
|
|
14250
14430
|
)
|
|
14251
|
-
]
|
|
14252
|
-
|
|
14253
|
-
|
|
14254
|
-
|
|
14255
|
-
|
|
14256
|
-
type: "submit",
|
|
14257
|
-
className: cn("w-full", submitClassName),
|
|
14258
|
-
size: "lg",
|
|
14259
|
-
asButton: true,
|
|
14260
|
-
disabled: form.isSubmitting,
|
|
14261
|
-
children: [
|
|
14262
|
-
buttonIcon,
|
|
14263
|
-
buttonText
|
|
14264
|
-
]
|
|
14265
|
-
}
|
|
14266
|
-
)
|
|
14267
|
-
]
|
|
14268
|
-
}
|
|
14269
|
-
) }) })
|
|
14270
|
-
] })
|
|
14431
|
+
]
|
|
14432
|
+
}
|
|
14433
|
+
)
|
|
14434
|
+
] }) })
|
|
14435
|
+
]
|
|
14271
14436
|
}
|
|
14272
14437
|
);
|
|
14438
|
+
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(
|
|
14439
|
+
Img,
|
|
14440
|
+
{
|
|
14441
|
+
src: imageSrc,
|
|
14442
|
+
alt: imageAlt || "",
|
|
14443
|
+
className: cn("h-full w-full object-cover", imageClassName),
|
|
14444
|
+
optixFlowConfig
|
|
14445
|
+
}
|
|
14446
|
+
) }) : null;
|
|
14447
|
+
return /* @__PURE__ */ jsx("section", { className: cn("relative w-full overflow-hidden", className), children: /* @__PURE__ */ jsxs("div", { className: cn("flex min-h-screen", mobileOrder, desktopOrder), children: [
|
|
14448
|
+
contentArea,
|
|
14449
|
+
imageArea
|
|
14450
|
+
] }) });
|
|
14273
14451
|
}
|
|
14274
14452
|
function ContactPress({
|
|
14275
14453
|
heading,
|
|
@@ -14345,7 +14523,7 @@ function ContactPress({
|
|
|
14345
14523
|
}
|
|
14346
14524
|
});
|
|
14347
14525
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
14348
|
-
const actionsContent =
|
|
14526
|
+
const actionsContent = React51.useMemo(() => {
|
|
14349
14527
|
if (actionsSlot) return actionsSlot;
|
|
14350
14528
|
if (actions && actions.length > 0) {
|
|
14351
14529
|
return actions.map((action, index) => {
|
|
@@ -14546,7 +14724,7 @@ function ContactQuote({
|
|
|
14546
14724
|
}
|
|
14547
14725
|
});
|
|
14548
14726
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
14549
|
-
const actionsContent =
|
|
14727
|
+
const actionsContent = React51.useMemo(() => {
|
|
14550
14728
|
if (actionsSlot) return actionsSlot;
|
|
14551
14729
|
if (actions && actions.length > 0) {
|
|
14552
14730
|
return actions.map((action, index) => {
|
|
@@ -14747,7 +14925,7 @@ function ContactReferral({
|
|
|
14747
14925
|
}
|
|
14748
14926
|
});
|
|
14749
14927
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
14750
|
-
const actionsContent =
|
|
14928
|
+
const actionsContent = React51.useMemo(() => {
|
|
14751
14929
|
if (actionsSlot) return actionsSlot;
|
|
14752
14930
|
if (actions && actions.length > 0) {
|
|
14753
14931
|
return actions.map((action, index) => {
|
|
@@ -14948,7 +15126,7 @@ function ContactReport({
|
|
|
14948
15126
|
}
|
|
14949
15127
|
});
|
|
14950
15128
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
14951
|
-
const actionsContent =
|
|
15129
|
+
const actionsContent = React51.useMemo(() => {
|
|
14952
15130
|
if (actionsSlot) return actionsSlot;
|
|
14953
15131
|
if (actions && actions.length > 0) {
|
|
14954
15132
|
return actions.map((action, index) => {
|
|
@@ -15149,7 +15327,7 @@ function ContactReservation({
|
|
|
15149
15327
|
}
|
|
15150
15328
|
});
|
|
15151
15329
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
15152
|
-
const actionsContent =
|
|
15330
|
+
const actionsContent = React51.useMemo(() => {
|
|
15153
15331
|
if (actionsSlot) return actionsSlot;
|
|
15154
15332
|
if (actions && actions.length > 0) {
|
|
15155
15333
|
return actions.map((action, index) => {
|
|
@@ -15350,7 +15528,7 @@ function ContactRetreat({
|
|
|
15350
15528
|
}
|
|
15351
15529
|
});
|
|
15352
15530
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
15353
|
-
const actionsContent =
|
|
15531
|
+
const actionsContent = React51.useMemo(() => {
|
|
15354
15532
|
if (actionsSlot) return actionsSlot;
|
|
15355
15533
|
if (actions && actions.length > 0) {
|
|
15356
15534
|
return actions.map((action, index) => {
|
|
@@ -15551,7 +15729,7 @@ function ContactRsvp({
|
|
|
15551
15729
|
}
|
|
15552
15730
|
});
|
|
15553
15731
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
15554
|
-
const actionsContent =
|
|
15732
|
+
const actionsContent = React51.useMemo(() => {
|
|
15555
15733
|
if (actionsSlot) return actionsSlot;
|
|
15556
15734
|
if (actions && actions.length > 0) {
|
|
15557
15735
|
return actions.map((action, index) => {
|
|
@@ -15752,7 +15930,7 @@ function ContactSales({
|
|
|
15752
15930
|
}
|
|
15753
15931
|
});
|
|
15754
15932
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
15755
|
-
const actionsContent =
|
|
15933
|
+
const actionsContent = React51.useMemo(() => {
|
|
15756
15934
|
if (actionsSlot) return actionsSlot;
|
|
15757
15935
|
if (actions && actions.length > 0) {
|
|
15758
15936
|
return actions.map((action, index) => {
|
|
@@ -15962,7 +16140,7 @@ function ContactSchedule({
|
|
|
15962
16140
|
}
|
|
15963
16141
|
});
|
|
15964
16142
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
15965
|
-
const actionsContent =
|
|
16143
|
+
const actionsContent = React51.useMemo(() => {
|
|
15966
16144
|
if (actionsSlot) return actionsSlot;
|
|
15967
16145
|
if (actions && actions.length > 0) {
|
|
15968
16146
|
return actions.map((action, index) => {
|
|
@@ -16163,7 +16341,7 @@ function ContactSponsorship({
|
|
|
16163
16341
|
}
|
|
16164
16342
|
});
|
|
16165
16343
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
16166
|
-
const actionsContent =
|
|
16344
|
+
const actionsContent = React51.useMemo(() => {
|
|
16167
16345
|
if (actionsSlot) return actionsSlot;
|
|
16168
16346
|
if (actions && actions.length > 0) {
|
|
16169
16347
|
return actions.map((action, index) => {
|
|
@@ -16360,7 +16538,7 @@ function ContactSupport({
|
|
|
16360
16538
|
}
|
|
16361
16539
|
});
|
|
16362
16540
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
16363
|
-
const actionsContent =
|
|
16541
|
+
const actionsContent = React51.useMemo(() => {
|
|
16364
16542
|
if (actionsSlot) return actionsSlot;
|
|
16365
16543
|
if (actions && actions.length > 0) {
|
|
16366
16544
|
return actions.map((action, index) => {
|
|
@@ -16532,7 +16710,7 @@ function ContactTenant({
|
|
|
16532
16710
|
}
|
|
16533
16711
|
});
|
|
16534
16712
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
16535
|
-
const actionsContent =
|
|
16713
|
+
const actionsContent = React51.useMemo(() => {
|
|
16536
16714
|
if (actionsSlot) return actionsSlot;
|
|
16537
16715
|
if (actions && actions.length > 0) {
|
|
16538
16716
|
return actions.map((action, index) => {
|
|
@@ -16733,7 +16911,7 @@ function ContactVendor({
|
|
|
16733
16911
|
}
|
|
16734
16912
|
});
|
|
16735
16913
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
16736
|
-
const actionsContent =
|
|
16914
|
+
const actionsContent = React51.useMemo(() => {
|
|
16737
16915
|
if (actionsSlot) return actionsSlot;
|
|
16738
16916
|
if (actions && actions.length > 0) {
|
|
16739
16917
|
return actions.map((action, index) => {
|
|
@@ -16934,7 +17112,7 @@ function ContactVolunteer({
|
|
|
16934
17112
|
}
|
|
16935
17113
|
});
|
|
16936
17114
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
16937
|
-
const actionsContent =
|
|
17115
|
+
const actionsContent = React51.useMemo(() => {
|
|
16938
17116
|
if (actionsSlot) return actionsSlot;
|
|
16939
17117
|
if (actions && actions.length > 0) {
|
|
16940
17118
|
return actions.map((action, index) => {
|
|
@@ -17135,7 +17313,7 @@ function ContactWarranty({
|
|
|
17135
17313
|
}
|
|
17136
17314
|
});
|
|
17137
17315
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
17138
|
-
const actionsContent =
|
|
17316
|
+
const actionsContent = React51.useMemo(() => {
|
|
17139
17317
|
if (actionsSlot) return actionsSlot;
|
|
17140
17318
|
if (actions && actions.length > 0) {
|
|
17141
17319
|
return actions.map((action, index) => {
|
|
@@ -17336,7 +17514,7 @@ function ContactWedding({
|
|
|
17336
17514
|
}
|
|
17337
17515
|
});
|
|
17338
17516
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
17339
|
-
const actionsContent =
|
|
17517
|
+
const actionsContent = React51.useMemo(() => {
|
|
17340
17518
|
if (actionsSlot) return actionsSlot;
|
|
17341
17519
|
if (actions && actions.length > 0) {
|
|
17342
17520
|
return actions.map((action, index) => {
|
|
@@ -17603,16 +17781,16 @@ function CarouselAnimatedSections({
|
|
|
17603
17781
|
pattern = "diagonalCrossBasic",
|
|
17604
17782
|
patternOpacity = 0.033
|
|
17605
17783
|
}) {
|
|
17606
|
-
const [currentIndex, setCurrentIndex] =
|
|
17607
|
-
const [direction, setDirection] =
|
|
17608
|
-
const [isAnimating, setIsAnimating] =
|
|
17609
|
-
const goToNext =
|
|
17784
|
+
const [currentIndex, setCurrentIndex] = React51.useState(0);
|
|
17785
|
+
const [direction, setDirection] = React51.useState(0);
|
|
17786
|
+
const [isAnimating, setIsAnimating] = React51.useState(false);
|
|
17787
|
+
const goToNext = React51.useCallback(() => {
|
|
17610
17788
|
if (isAnimating || currentIndex >= (sections?.length ?? 0) - 1) return;
|
|
17611
17789
|
setIsAnimating(true);
|
|
17612
17790
|
setDirection(1);
|
|
17613
17791
|
setCurrentIndex((prev) => prev + 1);
|
|
17614
17792
|
}, [currentIndex, isAnimating, sections?.length]);
|
|
17615
|
-
const goToPrev =
|
|
17793
|
+
const goToPrev = React51.useCallback(() => {
|
|
17616
17794
|
if (isAnimating || currentIndex <= 0) return;
|
|
17617
17795
|
setIsAnimating(true);
|
|
17618
17796
|
setDirection(-1);
|
|
@@ -17624,7 +17802,7 @@ function CarouselAnimatedSections({
|
|
|
17624
17802
|
setDirection(index > currentIndex ? 1 : -1);
|
|
17625
17803
|
setCurrentIndex(index);
|
|
17626
17804
|
};
|
|
17627
|
-
|
|
17805
|
+
React51.useEffect(() => {
|
|
17628
17806
|
const handleKeyDown = (e) => {
|
|
17629
17807
|
if (e.key === "ArrowDown" || e.key === "ArrowRight") {
|
|
17630
17808
|
goToNext();
|
|
@@ -17650,7 +17828,7 @@ function CarouselAnimatedSections({
|
|
|
17650
17828
|
})
|
|
17651
17829
|
};
|
|
17652
17830
|
const currentSection = sections?.[currentIndex];
|
|
17653
|
-
const actionElements =
|
|
17831
|
+
const actionElements = React51.useMemo(() => {
|
|
17654
17832
|
if (actionsSlot) return actionsSlot;
|
|
17655
17833
|
if (actions && actions.length > 0) {
|
|
17656
17834
|
return actions.map((action, index) => /* @__PURE__ */ jsxs(
|
|
@@ -17898,11 +18076,11 @@ function CarouselAutoProgressSlides({
|
|
|
17898
18076
|
pattern,
|
|
17899
18077
|
patternOpacity
|
|
17900
18078
|
}) {
|
|
17901
|
-
const [currentIndex, setCurrentIndex] =
|
|
18079
|
+
const [currentIndex, setCurrentIndex] = React51.useState(0);
|
|
17902
18080
|
const progress = useMotionValue(100);
|
|
17903
|
-
const [direction, setDirection] =
|
|
18081
|
+
const [direction, setDirection] = React51.useState(1);
|
|
17904
18082
|
const clipPath = useMotionTemplate`inset(0 ${progress}% 0 0 round 10px)`;
|
|
17905
|
-
|
|
18083
|
+
React51.useEffect(() => {
|
|
17906
18084
|
const interval = setInterval(() => {
|
|
17907
18085
|
const currentProgress = progress.get();
|
|
17908
18086
|
if (currentProgress > 0) {
|
|
@@ -18081,22 +18259,22 @@ function CarouselAutoProgressSlides({
|
|
|
18081
18259
|
);
|
|
18082
18260
|
}
|
|
18083
18261
|
function useDotButton(emblaApi) {
|
|
18084
|
-
const [selectedIndex, setSelectedIndex] =
|
|
18085
|
-
const [scrollSnaps, setScrollSnaps] =
|
|
18086
|
-
const onDotButtonClick =
|
|
18262
|
+
const [selectedIndex, setSelectedIndex] = React51.useState(0);
|
|
18263
|
+
const [scrollSnaps, setScrollSnaps] = React51.useState([]);
|
|
18264
|
+
const onDotButtonClick = React51.useCallback(
|
|
18087
18265
|
(index) => {
|
|
18088
18266
|
if (!emblaApi) return;
|
|
18089
18267
|
emblaApi.scrollTo(index);
|
|
18090
18268
|
},
|
|
18091
18269
|
[emblaApi]
|
|
18092
18270
|
);
|
|
18093
|
-
const onInit =
|
|
18271
|
+
const onInit = React51.useCallback((api) => {
|
|
18094
18272
|
setScrollSnaps(api.scrollSnapList());
|
|
18095
18273
|
}, []);
|
|
18096
|
-
const onSelect =
|
|
18274
|
+
const onSelect = React51.useCallback((api) => {
|
|
18097
18275
|
setSelectedIndex(api.selectedScrollSnap());
|
|
18098
18276
|
}, []);
|
|
18099
|
-
|
|
18277
|
+
React51.useEffect(() => {
|
|
18100
18278
|
if (!emblaApi) return;
|
|
18101
18279
|
onInit(emblaApi);
|
|
18102
18280
|
onSelect(emblaApi);
|
|
@@ -18105,8 +18283,8 @@ function useDotButton(emblaApi) {
|
|
|
18105
18283
|
return { selectedIndex, scrollSnaps, onDotButtonClick };
|
|
18106
18284
|
}
|
|
18107
18285
|
function useAutoplay(emblaApi) {
|
|
18108
|
-
const [autoplayIsPlaying, setAutoplayIsPlaying] =
|
|
18109
|
-
const onAutoplayButtonClick =
|
|
18286
|
+
const [autoplayIsPlaying, setAutoplayIsPlaying] = React51.useState(false);
|
|
18287
|
+
const onAutoplayButtonClick = React51.useCallback(
|
|
18110
18288
|
(callback) => {
|
|
18111
18289
|
const autoplay = emblaApi?.plugins()?.autoplay;
|
|
18112
18290
|
if (!autoplay) return;
|
|
@@ -18116,13 +18294,13 @@ function useAutoplay(emblaApi) {
|
|
|
18116
18294
|
},
|
|
18117
18295
|
[emblaApi]
|
|
18118
18296
|
);
|
|
18119
|
-
const toggleAutoplay =
|
|
18297
|
+
const toggleAutoplay = React51.useCallback(() => {
|
|
18120
18298
|
const autoplay = emblaApi?.plugins()?.autoplay;
|
|
18121
18299
|
if (!autoplay) return;
|
|
18122
18300
|
const playOrStop = autoplay.isPlaying() ? autoplay.stop : autoplay.play;
|
|
18123
18301
|
playOrStop();
|
|
18124
18302
|
}, [emblaApi]);
|
|
18125
|
-
|
|
18303
|
+
React51.useEffect(() => {
|
|
18126
18304
|
const autoplay = emblaApi?.plugins()?.autoplay;
|
|
18127
18305
|
if (!autoplay) return;
|
|
18128
18306
|
setAutoplayIsPlaying(autoplay.isPlaying());
|
|
@@ -18131,11 +18309,11 @@ function useAutoplay(emblaApi) {
|
|
|
18131
18309
|
return { autoplayIsPlaying, toggleAutoplay, onAutoplayButtonClick };
|
|
18132
18310
|
}
|
|
18133
18311
|
function useAutoplayProgress(emblaApi, progressNode) {
|
|
18134
|
-
const [showAutoplayProgress, setShowAutoplayProgress] =
|
|
18135
|
-
const animationName =
|
|
18136
|
-
const timeoutId =
|
|
18137
|
-
const rafId =
|
|
18138
|
-
const startProgress =
|
|
18312
|
+
const [showAutoplayProgress, setShowAutoplayProgress] = React51.useState(false);
|
|
18313
|
+
const animationName = React51.useRef("");
|
|
18314
|
+
const timeoutId = React51.useRef(0);
|
|
18315
|
+
const rafId = React51.useRef(0);
|
|
18316
|
+
const startProgress = React51.useCallback(
|
|
18139
18317
|
(timeUntilNext) => {
|
|
18140
18318
|
const node = progressNode.current;
|
|
18141
18319
|
if (!node || timeUntilNext === null) return;
|
|
@@ -18155,12 +18333,12 @@ function useAutoplayProgress(emblaApi, progressNode) {
|
|
|
18155
18333
|
},
|
|
18156
18334
|
[progressNode]
|
|
18157
18335
|
);
|
|
18158
|
-
|
|
18336
|
+
React51.useEffect(() => {
|
|
18159
18337
|
const autoplay = emblaApi?.plugins()?.autoplay;
|
|
18160
18338
|
if (!autoplay) return;
|
|
18161
18339
|
emblaApi.on("autoplay:timerset", () => startProgress(autoplay.timeUntilNext())).on("autoplay:timerstopped", () => setShowAutoplayProgress(false));
|
|
18162
18340
|
}, [emblaApi, startProgress]);
|
|
18163
|
-
|
|
18341
|
+
React51.useEffect(() => {
|
|
18164
18342
|
return () => {
|
|
18165
18343
|
cancelAnimationFrame(rafId.current);
|
|
18166
18344
|
clearTimeout(timeoutId.current);
|
|
@@ -18187,7 +18365,7 @@ function CarouselAutoplayProgress({
|
|
|
18187
18365
|
pattern,
|
|
18188
18366
|
patternOpacity
|
|
18189
18367
|
}) {
|
|
18190
|
-
const progressNode =
|
|
18368
|
+
const progressNode = React51.useRef(null);
|
|
18191
18369
|
const [emblaRef, emblaApi] = useEmblaCarousel(options, [
|
|
18192
18370
|
Autoplay({ playOnInit: true, delay: autoplayDelay })
|
|
18193
18371
|
]);
|
|
@@ -18368,20 +18546,20 @@ function CarouselFeatureBadge({
|
|
|
18368
18546
|
containerMaxWidth = "2xl"
|
|
18369
18547
|
}) {
|
|
18370
18548
|
const [emblaRef, emblaApi] = useEmblaCarousel();
|
|
18371
|
-
const [canScrollPrev, setCanScrollPrev] =
|
|
18372
|
-
const [canScrollNext, setCanScrollNext] =
|
|
18373
|
-
const scrollPrev =
|
|
18549
|
+
const [canScrollPrev, setCanScrollPrev] = React51.useState(false);
|
|
18550
|
+
const [canScrollNext, setCanScrollNext] = React51.useState(false);
|
|
18551
|
+
const scrollPrev = React51.useCallback(() => {
|
|
18374
18552
|
emblaApi?.scrollPrev();
|
|
18375
18553
|
}, [emblaApi]);
|
|
18376
|
-
const scrollNext =
|
|
18554
|
+
const scrollNext = React51.useCallback(() => {
|
|
18377
18555
|
emblaApi?.scrollNext();
|
|
18378
18556
|
}, [emblaApi]);
|
|
18379
|
-
const onSelect =
|
|
18557
|
+
const onSelect = React51.useCallback(() => {
|
|
18380
18558
|
if (!emblaApi) return;
|
|
18381
18559
|
setCanScrollPrev(emblaApi.canScrollPrev());
|
|
18382
18560
|
setCanScrollNext(emblaApi.canScrollNext());
|
|
18383
18561
|
}, [emblaApi]);
|
|
18384
|
-
|
|
18562
|
+
React51.useEffect(() => {
|
|
18385
18563
|
if (!emblaApi) return;
|
|
18386
18564
|
onSelect();
|
|
18387
18565
|
emblaApi.on("reInit", onSelect);
|
|
@@ -18501,10 +18679,10 @@ function CarouselFullscreenScrollFx({
|
|
|
18501
18679
|
pattern = "diagonalCrossBasic",
|
|
18502
18680
|
patternOpacity = 0.033
|
|
18503
18681
|
}) {
|
|
18504
|
-
const containerRef =
|
|
18505
|
-
const scrollContainerRef =
|
|
18506
|
-
const [activeIndex, setActiveIndex] =
|
|
18507
|
-
|
|
18682
|
+
const containerRef = React51.useRef(null);
|
|
18683
|
+
const scrollContainerRef = React51.useRef(null);
|
|
18684
|
+
const [activeIndex, setActiveIndex] = React51.useState(0);
|
|
18685
|
+
React51.useEffect(() => {
|
|
18508
18686
|
const scrollContainer = scrollContainerRef.current;
|
|
18509
18687
|
if (!scrollContainer || !slides?.length) return;
|
|
18510
18688
|
const handleScroll = () => {
|
|
@@ -18516,7 +18694,7 @@ function CarouselFullscreenScrollFx({
|
|
|
18516
18694
|
scrollContainer.addEventListener("scroll", handleScroll);
|
|
18517
18695
|
return () => scrollContainer.removeEventListener("scroll", handleScroll);
|
|
18518
18696
|
}, [slides]);
|
|
18519
|
-
const scrollToSlide =
|
|
18697
|
+
const scrollToSlide = React51.useCallback((index) => {
|
|
18520
18698
|
const scrollContainer = scrollContainerRef.current;
|
|
18521
18699
|
if (!scrollContainer) return;
|
|
18522
18700
|
const slideHeight = scrollContainer.clientHeight;
|
|
@@ -18599,7 +18777,7 @@ function CarouselFullscreenScrollFx({
|
|
|
18599
18777
|
className: "flex h-screen flex-col snap-y snap-mandatory overflow-x-hidden overflow-y-auto scroll-smooth",
|
|
18600
18778
|
style: { scrollbarWidth: "none", msOverflowStyle: "none" },
|
|
18601
18779
|
children: slidesSlot ? slidesSlot : slides?.map((slide, index) => {
|
|
18602
|
-
const renderActions =
|
|
18780
|
+
const renderActions = React51.useMemo(() => {
|
|
18603
18781
|
if (!slide.actions || slide.actions.length === 0) return null;
|
|
18604
18782
|
return slide.actions.map((action, actionIndex) => {
|
|
18605
18783
|
const {
|
|
@@ -18732,25 +18910,25 @@ function CarouselGalleryThumbnails({
|
|
|
18732
18910
|
patternOpacity,
|
|
18733
18911
|
slideMediaBrightness = "100"
|
|
18734
18912
|
}) {
|
|
18735
|
-
const [currentIndex, setCurrentIndex] =
|
|
18736
|
-
const prevSlide =
|
|
18913
|
+
const [currentIndex, setCurrentIndex] = React51.useState(0);
|
|
18914
|
+
const prevSlide = React51.useCallback(() => {
|
|
18737
18915
|
setCurrentIndex(
|
|
18738
18916
|
(prev) => prev === 0 ? (images?.length ?? 0) - 1 : prev - 1
|
|
18739
18917
|
);
|
|
18740
18918
|
}, [images?.length]);
|
|
18741
|
-
const nextSlide =
|
|
18919
|
+
const nextSlide = React51.useCallback(() => {
|
|
18742
18920
|
setCurrentIndex(
|
|
18743
18921
|
(prev) => prev === (images?.length ?? 0) - 1 ? 0 : prev + 1
|
|
18744
18922
|
);
|
|
18745
18923
|
}, [images?.length]);
|
|
18746
|
-
|
|
18924
|
+
React51.useEffect(() => {
|
|
18747
18925
|
if (!autoPlay) return;
|
|
18748
18926
|
const interval = setInterval(() => {
|
|
18749
18927
|
nextSlide();
|
|
18750
18928
|
}, autoPlayInterval);
|
|
18751
18929
|
return () => clearInterval(interval);
|
|
18752
18930
|
}, [currentIndex, autoPlay, autoPlayInterval, nextSlide]);
|
|
18753
|
-
|
|
18931
|
+
React51.useEffect(() => {
|
|
18754
18932
|
const handleKeyDown = (e) => {
|
|
18755
18933
|
if (e.key === "ArrowRight") {
|
|
18756
18934
|
nextSlide();
|
|
@@ -18895,9 +19073,9 @@ function CarouselHorizontalCards({
|
|
|
18895
19073
|
pattern,
|
|
18896
19074
|
patternOpacity
|
|
18897
19075
|
}) {
|
|
18898
|
-
const carouselRef =
|
|
18899
|
-
const [isAtStart, setIsAtStart] =
|
|
18900
|
-
const [isAtEnd, setIsAtEnd] =
|
|
19076
|
+
const carouselRef = React51.useRef(null);
|
|
19077
|
+
const [isAtStart, setIsAtStart] = React51.useState(true);
|
|
19078
|
+
const [isAtEnd, setIsAtEnd] = React51.useState(false);
|
|
18901
19079
|
const scrollLeft = () => {
|
|
18902
19080
|
if (carouselRef.current) {
|
|
18903
19081
|
carouselRef.current.scrollBy({ left: -300, behavior: "smooth" });
|
|
@@ -18908,7 +19086,7 @@ function CarouselHorizontalCards({
|
|
|
18908
19086
|
carouselRef.current.scrollBy({ left: 300, behavior: "smooth" });
|
|
18909
19087
|
}
|
|
18910
19088
|
};
|
|
18911
|
-
|
|
19089
|
+
React51.useEffect(() => {
|
|
18912
19090
|
const checkScrollPosition = () => {
|
|
18913
19091
|
if (carouselRef.current) {
|
|
18914
19092
|
const { scrollLeft: scrollLeft2, scrollWidth, clientWidth } = carouselRef.current;
|
|
@@ -19108,22 +19286,22 @@ function CarouselImageHero({
|
|
|
19108
19286
|
pattern,
|
|
19109
19287
|
patternOpacity
|
|
19110
19288
|
}) {
|
|
19111
|
-
const [currentImageIndex, setCurrentImageIndex] =
|
|
19112
|
-
const intervalRef =
|
|
19113
|
-
const goToNext =
|
|
19289
|
+
const [currentImageIndex, setCurrentImageIndex] = React51.useState(0);
|
|
19290
|
+
const intervalRef = React51.useRef(null);
|
|
19291
|
+
const goToNext = React51.useCallback(() => {
|
|
19114
19292
|
setCurrentImageIndex((prevIndex) => (prevIndex + 1) % (images?.length ?? 1));
|
|
19115
19293
|
}, [images?.length]);
|
|
19116
|
-
const resetInterval =
|
|
19294
|
+
const resetInterval = React51.useCallback(() => {
|
|
19117
19295
|
if (intervalRef.current) {
|
|
19118
19296
|
clearInterval(intervalRef.current);
|
|
19119
19297
|
}
|
|
19120
19298
|
intervalRef.current = setInterval(goToNext, autoPlayInterval);
|
|
19121
19299
|
}, [goToNext, autoPlayInterval]);
|
|
19122
|
-
const goToSlide =
|
|
19300
|
+
const goToSlide = React51.useCallback((index) => {
|
|
19123
19301
|
setCurrentImageIndex(index);
|
|
19124
19302
|
resetInterval();
|
|
19125
19303
|
}, [resetInterval]);
|
|
19126
|
-
|
|
19304
|
+
React51.useEffect(() => {
|
|
19127
19305
|
resetInterval();
|
|
19128
19306
|
return () => {
|
|
19129
19307
|
if (intervalRef.current) {
|
|
@@ -19296,8 +19474,8 @@ function CarouselMultiStepShowcase({
|
|
|
19296
19474
|
pattern,
|
|
19297
19475
|
patternOpacity
|
|
19298
19476
|
}) {
|
|
19299
|
-
const [activeStep, setActiveStep] =
|
|
19300
|
-
const [direction, setDirection] =
|
|
19477
|
+
const [activeStep, setActiveStep] = React51.useState(0);
|
|
19478
|
+
const [direction, setDirection] = React51.useState(0);
|
|
19301
19479
|
const goToStep = (index) => {
|
|
19302
19480
|
setDirection(index > activeStep ? 1 : -1);
|
|
19303
19481
|
setActiveStep(index);
|
|
@@ -19589,9 +19767,9 @@ function CarouselPortfolioHero({
|
|
|
19589
19767
|
patternOpacity,
|
|
19590
19768
|
slideMediaBrightness = "50"
|
|
19591
19769
|
}) {
|
|
19592
|
-
const [currentIndex, setCurrentIndex] =
|
|
19593
|
-
const intervalRef =
|
|
19594
|
-
const resetInterval =
|
|
19770
|
+
const [currentIndex, setCurrentIndex] = React51.useState(0);
|
|
19771
|
+
const intervalRef = React51.useRef(null);
|
|
19772
|
+
const resetInterval = React51.useCallback(() => {
|
|
19595
19773
|
if (intervalRef.current) {
|
|
19596
19774
|
clearInterval(intervalRef.current);
|
|
19597
19775
|
}
|
|
@@ -19599,17 +19777,17 @@ function CarouselPortfolioHero({
|
|
|
19599
19777
|
setCurrentIndex((prevIndex) => (prevIndex + 1) % (slides?.length ?? 1));
|
|
19600
19778
|
}, autoPlayInterval);
|
|
19601
19779
|
}, [autoPlayInterval, slides?.length]);
|
|
19602
|
-
const goToNext =
|
|
19780
|
+
const goToNext = React51.useCallback(() => {
|
|
19603
19781
|
setCurrentIndex((prevIndex) => (prevIndex + 1) % (slides?.length ?? 1));
|
|
19604
19782
|
resetInterval();
|
|
19605
19783
|
}, [slides?.length, resetInterval]);
|
|
19606
|
-
const goToPrev =
|
|
19784
|
+
const goToPrev = React51.useCallback(() => {
|
|
19607
19785
|
setCurrentIndex(
|
|
19608
19786
|
(prevIndex) => (prevIndex - 1 + (slides?.length ?? 1)) % (slides?.length ?? 1)
|
|
19609
19787
|
);
|
|
19610
19788
|
resetInterval();
|
|
19611
19789
|
}, [slides?.length, resetInterval]);
|
|
19612
|
-
|
|
19790
|
+
React51.useEffect(() => {
|
|
19613
19791
|
resetInterval();
|
|
19614
19792
|
return () => {
|
|
19615
19793
|
if (intervalRef.current) {
|
|
@@ -19801,9 +19979,9 @@ function CarouselProductFeatureShowcase({
|
|
|
19801
19979
|
pattern,
|
|
19802
19980
|
patternOpacity
|
|
19803
19981
|
}) {
|
|
19804
|
-
const [activeIndex, setActiveIndex] =
|
|
19805
|
-
const [activeColorIndex, setActiveColorIndex] =
|
|
19806
|
-
const [direction, setDirection] =
|
|
19982
|
+
const [activeIndex, setActiveIndex] = React51.useState(0);
|
|
19983
|
+
const [activeColorIndex, setActiveColorIndex] = React51.useState(0);
|
|
19984
|
+
const [direction, setDirection] = React51.useState(0);
|
|
19807
19985
|
const activeFeature = features?.[activeIndex];
|
|
19808
19986
|
const goToNext = () => {
|
|
19809
19987
|
setDirection(1);
|
|
@@ -20023,9 +20201,9 @@ function CarouselProductFeatureShowcase({
|
|
|
20023
20201
|
}
|
|
20024
20202
|
);
|
|
20025
20203
|
}
|
|
20026
|
-
var ProgressSliderContext =
|
|
20204
|
+
var ProgressSliderContext = React51.createContext(void 0);
|
|
20027
20205
|
function useProgressSliderContext() {
|
|
20028
|
-
const context =
|
|
20206
|
+
const context = React51.useContext(ProgressSliderContext);
|
|
20029
20207
|
if (!context) {
|
|
20030
20208
|
throw new Error(
|
|
20031
20209
|
"useProgressSliderContext must be used within a ProgressSlider"
|
|
@@ -20111,19 +20289,19 @@ function CarouselProgressSlider({
|
|
|
20111
20289
|
pattern,
|
|
20112
20290
|
patternOpacity
|
|
20113
20291
|
}) {
|
|
20114
|
-
const [active, setActive] =
|
|
20115
|
-
const [progress, setProgress] =
|
|
20116
|
-
const [isFastForward, setIsFastForward] =
|
|
20117
|
-
const [isPaused, setIsPaused] =
|
|
20118
|
-
const frame =
|
|
20119
|
-
const firstFrameTime =
|
|
20120
|
-
const targetValue =
|
|
20121
|
-
const pausedProgress =
|
|
20122
|
-
const sliderValues =
|
|
20292
|
+
const [active, setActive] = React51.useState(slides?.[0]?.id ?? "");
|
|
20293
|
+
const [progress, setProgress] = React51.useState(0);
|
|
20294
|
+
const [isFastForward, setIsFastForward] = React51.useState(false);
|
|
20295
|
+
const [isPaused, setIsPaused] = React51.useState(false);
|
|
20296
|
+
const frame = React51.useRef(0);
|
|
20297
|
+
const firstFrameTime = React51.useRef(performance.now());
|
|
20298
|
+
const targetValue = React51.useRef(null);
|
|
20299
|
+
const pausedProgress = React51.useRef(0);
|
|
20300
|
+
const sliderValues = React51.useMemo(
|
|
20123
20301
|
() => slides?.map((slide) => slide.id),
|
|
20124
20302
|
[slides]
|
|
20125
20303
|
);
|
|
20126
|
-
|
|
20304
|
+
React51.useEffect(() => {
|
|
20127
20305
|
if ((sliderValues?.length ?? 0) > 0 && !isPaused) {
|
|
20128
20306
|
firstFrameTime.current = performance.now();
|
|
20129
20307
|
if (pausedProgress.current > 0) {
|
|
@@ -20288,11 +20466,11 @@ function CarouselScrollingFeatureShowcase({
|
|
|
20288
20466
|
pattern,
|
|
20289
20467
|
patternOpacity
|
|
20290
20468
|
}) {
|
|
20291
|
-
const [activeFeature, setActiveFeature] =
|
|
20469
|
+
const [activeFeature, setActiveFeature] = React51.useState(
|
|
20292
20470
|
features?.[0]?.id ?? ""
|
|
20293
20471
|
);
|
|
20294
|
-
const featureRefs =
|
|
20295
|
-
|
|
20472
|
+
const featureRefs = React51.useRef(/* @__PURE__ */ new Map());
|
|
20473
|
+
React51.useEffect(() => {
|
|
20296
20474
|
if (!features || features.length === 0) return;
|
|
20297
20475
|
const observerOptions = {
|
|
20298
20476
|
root: null,
|
|
@@ -20958,10 +21136,10 @@ var ImageSlider = ({
|
|
|
20958
21136
|
optixFlowConfig
|
|
20959
21137
|
}) => {
|
|
20960
21138
|
const hasImages = images.length > 0;
|
|
20961
|
-
const [currentIndex, setCurrentIndex] =
|
|
21139
|
+
const [currentIndex, setCurrentIndex] = React51.useState(
|
|
20962
21140
|
() => normalizeIndex(startIndex, images.length)
|
|
20963
21141
|
);
|
|
20964
|
-
const handleNext =
|
|
21142
|
+
const handleNext = React51.useCallback(() => {
|
|
20965
21143
|
if (!hasImages) return;
|
|
20966
21144
|
setCurrentIndex((prevIndex) => {
|
|
20967
21145
|
const nextIndex = prevIndex + 1 >= images.length ? 0 : prevIndex + 1;
|
|
@@ -20969,7 +21147,7 @@ var ImageSlider = ({
|
|
|
20969
21147
|
return nextIndex;
|
|
20970
21148
|
});
|
|
20971
21149
|
}, [hasImages, images.length, onSlideChange]);
|
|
20972
|
-
const handlePrevious =
|
|
21150
|
+
const handlePrevious = React51.useCallback(() => {
|
|
20973
21151
|
if (!hasImages) return;
|
|
20974
21152
|
setCurrentIndex((prevIndex) => {
|
|
20975
21153
|
const nextIndex = prevIndex - 1 < 0 ? images.length - 1 : prevIndex - 1;
|
|
@@ -20977,11 +21155,11 @@ var ImageSlider = ({
|
|
|
20977
21155
|
return nextIndex;
|
|
20978
21156
|
});
|
|
20979
21157
|
}, [hasImages, images.length, onSlideChange]);
|
|
20980
|
-
|
|
21158
|
+
React51.useEffect(() => {
|
|
20981
21159
|
if (!hasImages) return;
|
|
20982
21160
|
setCurrentIndex(normalizeIndex(startIndex, images.length));
|
|
20983
21161
|
}, [startIndex, images.length, hasImages]);
|
|
20984
|
-
|
|
21162
|
+
React51.useEffect(() => {
|
|
20985
21163
|
if (!enableKeyboard || !hasImages) return;
|
|
20986
21164
|
const handleKeyDown = (event) => {
|
|
20987
21165
|
if (event.key === "ArrowRight") {
|
|
@@ -20995,7 +21173,7 @@ var ImageSlider = ({
|
|
|
20995
21173
|
window.removeEventListener("keydown", handleKeyDown);
|
|
20996
21174
|
};
|
|
20997
21175
|
}, [enableKeyboard, handleNext, handlePrevious, hasImages]);
|
|
20998
|
-
|
|
21176
|
+
React51.useEffect(() => {
|
|
20999
21177
|
if (!autoplay || images.length < 2) return;
|
|
21000
21178
|
const interval = window.setInterval(handleNext, autoplayIntervalMs);
|
|
21001
21179
|
return () => window.clearInterval(interval);
|
|
@@ -21124,7 +21302,7 @@ var platformIconMap = {
|
|
|
21124
21302
|
dribbble: "cib/dribbble",
|
|
21125
21303
|
unknown: "icon-park-solid/circular-connection"
|
|
21126
21304
|
};
|
|
21127
|
-
var SocialLinkIcon =
|
|
21305
|
+
var SocialLinkIcon = React51.forwardRef(
|
|
21128
21306
|
({
|
|
21129
21307
|
platformName,
|
|
21130
21308
|
label,
|
|
@@ -21137,13 +21315,13 @@ var SocialLinkIcon = React52.forwardRef(
|
|
|
21137
21315
|
...pressableProps
|
|
21138
21316
|
}, ref) => {
|
|
21139
21317
|
const platform = usePlatformFromUrl(href);
|
|
21140
|
-
const smartPlatformName =
|
|
21318
|
+
const smartPlatformName = React51.useMemo(() => {
|
|
21141
21319
|
return platform || platformName;
|
|
21142
21320
|
}, [platform, platformName]);
|
|
21143
|
-
const iconName =
|
|
21321
|
+
const iconName = React51.useMemo(() => {
|
|
21144
21322
|
return iconNameOverride || platformIconMap[smartPlatformName];
|
|
21145
21323
|
}, [iconNameOverride, smartPlatformName]);
|
|
21146
|
-
const accessibleLabel =
|
|
21324
|
+
const accessibleLabel = React51.useMemo(() => {
|
|
21147
21325
|
return label || platformName;
|
|
21148
21326
|
}, [label, platformName]);
|
|
21149
21327
|
return /* @__PURE__ */ jsx(
|
|
@@ -21568,7 +21746,7 @@ function AboutExpandableValues({
|
|
|
21568
21746
|
pattern,
|
|
21569
21747
|
patternOpacity
|
|
21570
21748
|
}) {
|
|
21571
|
-
const [expandedValue, setExpandedValue] =
|
|
21749
|
+
const [expandedValue, setExpandedValue] = React51.useState(null);
|
|
21572
21750
|
const toggleExpand = useCallback((id) => {
|
|
21573
21751
|
setExpandedValue((prev) => prev === id ? null : id);
|
|
21574
21752
|
}, []);
|
|
@@ -21822,7 +22000,7 @@ function CommunityInitiatives({
|
|
|
21822
22000
|
pattern,
|
|
21823
22001
|
patternOpacity
|
|
21824
22002
|
}) {
|
|
21825
|
-
const [activeCategory, setActiveCategory] =
|
|
22003
|
+
const [activeCategory, setActiveCategory] = React51.useState(
|
|
21826
22004
|
categories?.[0]?.id || ""
|
|
21827
22005
|
);
|
|
21828
22006
|
const currentCategory = categories?.find((category) => category.id === activeCategory) || categories?.[0];
|
|
@@ -22095,7 +22273,7 @@ function AboutCultureTabs({
|
|
|
22095
22273
|
patternOpacity
|
|
22096
22274
|
}) {
|
|
22097
22275
|
const resolvedAspects = aspects ?? [];
|
|
22098
|
-
const [activeTab, setActiveTab] =
|
|
22276
|
+
const [activeTab, setActiveTab] = React51.useState(resolvedAspects[0]?.id || "");
|
|
22099
22277
|
const actionsContent = useMemo(() => {
|
|
22100
22278
|
if (actionsSlot) return actionsSlot;
|
|
22101
22279
|
if (!actions || actions.length === 0) return null;
|
|
@@ -22823,8 +23001,8 @@ var BrandAttribution = ({
|
|
|
22823
23001
|
}
|
|
22824
23002
|
const { prefix = "", anchorText, href, suffix = "" } = options[optionIndex];
|
|
22825
23003
|
const ContainerEl = variant;
|
|
22826
|
-
const [trackedHref, setTrackedHref] =
|
|
22827
|
-
|
|
23004
|
+
const [trackedHref, setTrackedHref] = React51.useState(href);
|
|
23005
|
+
React51.useEffect(() => {
|
|
22828
23006
|
setTrackedHref(buildTrackedHref(href));
|
|
22829
23007
|
}, [href]);
|
|
22830
23008
|
return /* @__PURE__ */ jsxs(ContainerEl, { className: containerClassName, children: [
|
|
@@ -23244,7 +23422,7 @@ function FooterSimpleCentered({
|
|
|
23244
23422
|
]);
|
|
23245
23423
|
const bottomLinksContent = useMemo(() => {
|
|
23246
23424
|
if (!bottomLinks || bottomLinks.length === 0) return null;
|
|
23247
|
-
return bottomLinks.map((link, idx) => /* @__PURE__ */ jsx(
|
|
23425
|
+
return bottomLinks.map((link, idx) => /* @__PURE__ */ jsx(React51.Fragment, { children: /* @__PURE__ */ jsx(
|
|
23248
23426
|
Pressable,
|
|
23249
23427
|
{
|
|
23250
23428
|
href: link.href,
|
|
@@ -25484,9 +25662,9 @@ function FeatureChecklistImage({
|
|
|
25484
25662
|
}
|
|
25485
25663
|
);
|
|
25486
25664
|
}
|
|
25487
|
-
var CarouselContext =
|
|
25665
|
+
var CarouselContext = React51.createContext(null);
|
|
25488
25666
|
function useCarousel() {
|
|
25489
|
-
const context =
|
|
25667
|
+
const context = React51.useContext(CarouselContext);
|
|
25490
25668
|
if (!context) {
|
|
25491
25669
|
throw new Error("useCarousel must be used within a <Carousel />");
|
|
25492
25670
|
}
|
|
@@ -25508,20 +25686,20 @@ function Carousel({
|
|
|
25508
25686
|
},
|
|
25509
25687
|
plugins
|
|
25510
25688
|
);
|
|
25511
|
-
const [canScrollPrev, setCanScrollPrev] =
|
|
25512
|
-
const [canScrollNext, setCanScrollNext] =
|
|
25513
|
-
const onSelect =
|
|
25689
|
+
const [canScrollPrev, setCanScrollPrev] = React51.useState(false);
|
|
25690
|
+
const [canScrollNext, setCanScrollNext] = React51.useState(false);
|
|
25691
|
+
const onSelect = React51.useCallback((api2) => {
|
|
25514
25692
|
if (!api2) return;
|
|
25515
25693
|
setCanScrollPrev(api2.canScrollPrev());
|
|
25516
25694
|
setCanScrollNext(api2.canScrollNext());
|
|
25517
25695
|
}, []);
|
|
25518
|
-
const scrollPrev =
|
|
25696
|
+
const scrollPrev = React51.useCallback(() => {
|
|
25519
25697
|
api?.scrollPrev();
|
|
25520
25698
|
}, [api]);
|
|
25521
|
-
const scrollNext =
|
|
25699
|
+
const scrollNext = React51.useCallback(() => {
|
|
25522
25700
|
api?.scrollNext();
|
|
25523
25701
|
}, [api]);
|
|
25524
|
-
const handleKeyDown =
|
|
25702
|
+
const handleKeyDown = React51.useCallback(
|
|
25525
25703
|
(event) => {
|
|
25526
25704
|
if (event.key === "ArrowLeft") {
|
|
25527
25705
|
event.preventDefault();
|
|
@@ -25533,11 +25711,11 @@ function Carousel({
|
|
|
25533
25711
|
},
|
|
25534
25712
|
[scrollPrev, scrollNext]
|
|
25535
25713
|
);
|
|
25536
|
-
|
|
25714
|
+
React51.useEffect(() => {
|
|
25537
25715
|
if (!api || !setApi) return;
|
|
25538
25716
|
setApi(api);
|
|
25539
25717
|
}, [api, setApi]);
|
|
25540
|
-
|
|
25718
|
+
React51.useEffect(() => {
|
|
25541
25719
|
if (!api) return;
|
|
25542
25720
|
onSelect(api);
|
|
25543
25721
|
api.on("reInit", onSelect);
|
|
@@ -26461,7 +26639,7 @@ function FeatureThreeColumnValues({
|
|
|
26461
26639
|
patternOpacity,
|
|
26462
26640
|
patternClassName
|
|
26463
26641
|
}) {
|
|
26464
|
-
const renderValueIcon =
|
|
26642
|
+
const renderValueIcon = React51.useCallback(
|
|
26465
26643
|
(value) => {
|
|
26466
26644
|
if (value.icon) return value.icon;
|
|
26467
26645
|
if (value.iconName)
|
|
@@ -26963,7 +27141,7 @@ function FeatureTabbedContentImage({
|
|
|
26963
27141
|
patternOpacity,
|
|
26964
27142
|
patternClassName
|
|
26965
27143
|
}) {
|
|
26966
|
-
const renderFeatures =
|
|
27144
|
+
const renderFeatures = React51.useCallback(
|
|
26967
27145
|
(slide) => {
|
|
26968
27146
|
if (slide.featuresSlot) return slide.featuresSlot;
|
|
26969
27147
|
if (!slide.features || slide.features.length === 0) return null;
|
|
@@ -26987,7 +27165,7 @@ function FeatureTabbedContentImage({
|
|
|
26987
27165
|
},
|
|
26988
27166
|
[]
|
|
26989
27167
|
);
|
|
26990
|
-
const renderActions =
|
|
27168
|
+
const renderActions = React51.useCallback(
|
|
26991
27169
|
(slide) => {
|
|
26992
27170
|
if (slide.actionsSlot) return slide.actionsSlot;
|
|
26993
27171
|
if (!slide.actions || slide.actions.length === 0) return null;
|
|
@@ -27030,7 +27208,7 @@ function FeatureTabbedContentImage({
|
|
|
27030
27208
|
},
|
|
27031
27209
|
[]
|
|
27032
27210
|
);
|
|
27033
|
-
const renderImage =
|
|
27211
|
+
const renderImage = React51.useCallback(
|
|
27034
27212
|
(slide) => {
|
|
27035
27213
|
if (slide.imageSlot) return slide.imageSlot;
|
|
27036
27214
|
if (!slide.image) return null;
|
|
@@ -27266,7 +27444,7 @@ function FeatureUtilityCardsGrid({
|
|
|
27266
27444
|
}
|
|
27267
27445
|
);
|
|
27268
27446
|
}, [learnMoreSlot, learnMoreAction, background]);
|
|
27269
|
-
const renderUtilityImage =
|
|
27447
|
+
const renderUtilityImage = React51.useCallback(
|
|
27270
27448
|
(utility) => {
|
|
27271
27449
|
if (utility.imageSlot) return utility.imageSlot;
|
|
27272
27450
|
if (utility.image) {
|
|
@@ -27444,7 +27622,7 @@ function FeatureBentoUtilities({
|
|
|
27444
27622
|
patternOpacity,
|
|
27445
27623
|
patternClassName
|
|
27446
27624
|
}) {
|
|
27447
|
-
const renderCard =
|
|
27625
|
+
const renderCard = React51.useCallback(
|
|
27448
27626
|
(card, index) => {
|
|
27449
27627
|
const hasImage = card.imageSrc || card.imageSlot;
|
|
27450
27628
|
const cardClasses = cn(
|
|
@@ -27500,7 +27678,7 @@ function FeatureBentoUtilities({
|
|
|
27500
27678
|
},
|
|
27501
27679
|
[optixFlowConfig]
|
|
27502
27680
|
);
|
|
27503
|
-
const renderColumn =
|
|
27681
|
+
const renderColumn = React51.useCallback(
|
|
27504
27682
|
(cards, slot) => {
|
|
27505
27683
|
if (slot) return slot;
|
|
27506
27684
|
if (!cards || cards.length === 0) return null;
|
|
@@ -28746,7 +28924,7 @@ function FeatureBentoImageGrid({
|
|
|
28746
28924
|
patternOpacity,
|
|
28747
28925
|
patternClassName
|
|
28748
28926
|
}) {
|
|
28749
|
-
const renderItemIcon =
|
|
28927
|
+
const renderItemIcon = React51.useCallback(
|
|
28750
28928
|
(item) => {
|
|
28751
28929
|
if (item.icon) return item.icon;
|
|
28752
28930
|
if (item.iconName) return /* @__PURE__ */ jsx(DynamicIcon, { name: item.iconName, size: 24 });
|
|
@@ -28754,7 +28932,7 @@ function FeatureBentoImageGrid({
|
|
|
28754
28932
|
},
|
|
28755
28933
|
[]
|
|
28756
28934
|
);
|
|
28757
|
-
const renderItemImage =
|
|
28935
|
+
const renderItemImage = React51.useCallback(
|
|
28758
28936
|
(item, imageClassName) => {
|
|
28759
28937
|
if (item.imageSlot) return item.imageSlot;
|
|
28760
28938
|
if (item.imageSrc) {
|
|
@@ -28773,7 +28951,7 @@ function FeatureBentoImageGrid({
|
|
|
28773
28951
|
},
|
|
28774
28952
|
[optixFlowConfig]
|
|
28775
28953
|
);
|
|
28776
|
-
const renderLargeCard =
|
|
28954
|
+
const renderLargeCard = React51.useCallback(
|
|
28777
28955
|
(item) => {
|
|
28778
28956
|
const iconContent = renderItemIcon(item);
|
|
28779
28957
|
const hasIconBadgeContent = iconContent || item.iconBadge;
|
|
@@ -28861,7 +29039,7 @@ function FeatureBentoImageGrid({
|
|
|
28861
29039
|
},
|
|
28862
29040
|
[largeCardClassName, renderItemImage, renderItemIcon]
|
|
28863
29041
|
);
|
|
28864
|
-
const renderSmallCard =
|
|
29042
|
+
const renderSmallCard = React51.useCallback(
|
|
28865
29043
|
(item, index) => {
|
|
28866
29044
|
const iconContent = renderItemIcon(item);
|
|
28867
29045
|
const hasIconBadgeContent = iconContent || item.iconBadge;
|
|
@@ -29454,66 +29632,6 @@ function FeatureStatsHighlight({
|
|
|
29454
29632
|
}
|
|
29455
29633
|
);
|
|
29456
29634
|
}
|
|
29457
|
-
function Accordion({
|
|
29458
|
-
...props
|
|
29459
|
-
}) {
|
|
29460
|
-
return /* @__PURE__ */ jsx(AccordionPrimitive.Root, { "data-slot": "accordion", ...props });
|
|
29461
|
-
}
|
|
29462
|
-
function AccordionItem({
|
|
29463
|
-
className,
|
|
29464
|
-
...props
|
|
29465
|
-
}) {
|
|
29466
|
-
return /* @__PURE__ */ jsx(
|
|
29467
|
-
AccordionPrimitive.Item,
|
|
29468
|
-
{
|
|
29469
|
-
"data-slot": "accordion-item",
|
|
29470
|
-
className: cn("border-b ", className),
|
|
29471
|
-
...props
|
|
29472
|
-
}
|
|
29473
|
-
);
|
|
29474
|
-
}
|
|
29475
|
-
function AccordionTrigger({
|
|
29476
|
-
className,
|
|
29477
|
-
children,
|
|
29478
|
-
...props
|
|
29479
|
-
}) {
|
|
29480
|
-
return /* @__PURE__ */ jsx(AccordionPrimitive.Header, { className: "flex", children: /* @__PURE__ */ jsxs(
|
|
29481
|
-
AccordionPrimitive.Trigger,
|
|
29482
|
-
{
|
|
29483
|
-
"data-slot": "accordion-trigger",
|
|
29484
|
-
className: cn(
|
|
29485
|
-
"focus-visible:border-ring focus-visible:ring-ring/50 flex flex-1 items-center justify-between gap-4 rounded-md py-4 text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180",
|
|
29486
|
-
className
|
|
29487
|
-
),
|
|
29488
|
-
...props,
|
|
29489
|
-
children: [
|
|
29490
|
-
children,
|
|
29491
|
-
/* @__PURE__ */ jsx(
|
|
29492
|
-
DynamicIcon,
|
|
29493
|
-
{
|
|
29494
|
-
name: "lucide/chevron-down",
|
|
29495
|
-
className: "text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200"
|
|
29496
|
-
}
|
|
29497
|
-
)
|
|
29498
|
-
]
|
|
29499
|
-
}
|
|
29500
|
-
) });
|
|
29501
|
-
}
|
|
29502
|
-
function AccordionContent({
|
|
29503
|
-
className,
|
|
29504
|
-
children,
|
|
29505
|
-
...props
|
|
29506
|
-
}) {
|
|
29507
|
-
return /* @__PURE__ */ jsx(
|
|
29508
|
-
AccordionPrimitive.Content,
|
|
29509
|
-
{
|
|
29510
|
-
"data-slot": "accordion-content",
|
|
29511
|
-
className: "data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm",
|
|
29512
|
-
...props,
|
|
29513
|
-
children: /* @__PURE__ */ jsx("div", { className: cn("pt-0 pb-4", className), children })
|
|
29514
|
-
}
|
|
29515
|
-
);
|
|
29516
|
-
}
|
|
29517
29635
|
function FeatureAccordionImage({
|
|
29518
29636
|
title,
|
|
29519
29637
|
description,
|
|
@@ -29536,7 +29654,7 @@ function FeatureAccordionImage({
|
|
|
29536
29654
|
patternOpacity,
|
|
29537
29655
|
patternClassName
|
|
29538
29656
|
}) {
|
|
29539
|
-
const [activeItem, setActiveItem] =
|
|
29657
|
+
const [activeItem, setActiveItem] = React51.useState(defaultValue || "item-0");
|
|
29540
29658
|
const activeIndex = parseInt(activeItem.replace("item-", ""), 10) || 0;
|
|
29541
29659
|
const currentImage = items?.[activeIndex] || items?.[0];
|
|
29542
29660
|
const accordionItemsContent = useMemo(() => {
|
|
@@ -29685,7 +29803,7 @@ function FeatureCapabilitiesGrid({
|
|
|
29685
29803
|
patternOpacity,
|
|
29686
29804
|
patternClassName
|
|
29687
29805
|
}) {
|
|
29688
|
-
const renderItemIcon =
|
|
29806
|
+
const renderItemIcon = React51.useCallback(
|
|
29689
29807
|
(item) => {
|
|
29690
29808
|
if (item.icon) return item.icon;
|
|
29691
29809
|
if (item.iconName) return /* @__PURE__ */ jsx(DynamicIcon, { name: item.iconName, size: 20 });
|
|
@@ -29837,7 +29955,7 @@ function FeatureCapabilitiesGrid({
|
|
|
29837
29955
|
}
|
|
29838
29956
|
);
|
|
29839
29957
|
}
|
|
29840
|
-
var TeamMemberBackgroundImageCard =
|
|
29958
|
+
var TeamMemberBackgroundImageCard = React51.forwardRef(
|
|
29841
29959
|
({ className, imageUrl, imageAlt, children, optixFlowConfig, background, ...props }, ref) => {
|
|
29842
29960
|
return /* @__PURE__ */ jsxs(
|
|
29843
29961
|
"div",
|
|
@@ -29885,7 +30003,7 @@ function TeamMediaShowcase({
|
|
|
29885
30003
|
actionClassName,
|
|
29886
30004
|
optixFlowConfig
|
|
29887
30005
|
}) {
|
|
29888
|
-
const renderItems =
|
|
30006
|
+
const renderItems = React51.useMemo(() => {
|
|
29889
30007
|
if (itemsSlot) return itemsSlot;
|
|
29890
30008
|
return items.map((member, idx) => {
|
|
29891
30009
|
const imageAlt = member.imageAlt || (member.name && typeof member.name === "string" && member.name.trim() !== "" ? member.name : `member-${idx}`);
|
|
@@ -29983,7 +30101,7 @@ function TeamSimpleGrid({
|
|
|
29983
30101
|
memberNameClassName,
|
|
29984
30102
|
memberRoleClassName
|
|
29985
30103
|
}) {
|
|
29986
|
-
const renderMembers =
|
|
30104
|
+
const renderMembers = React51.useMemo(() => {
|
|
29987
30105
|
if (membersSlot) return membersSlot;
|
|
29988
30106
|
if (!members || members.length === 0) return null;
|
|
29989
30107
|
return members.map((member) => /* @__PURE__ */ jsxs(
|
|
@@ -30145,7 +30263,7 @@ function FooterBrandLinksContact({
|
|
|
30145
30263
|
linkListClassName,
|
|
30146
30264
|
linkItemClassName
|
|
30147
30265
|
]);
|
|
30148
|
-
const contactItemsContent =
|
|
30266
|
+
const contactItemsContent = React51.useMemo(() => {
|
|
30149
30267
|
if (!contactItems || contactItems.length === 0) return null;
|
|
30150
30268
|
return contactItems.map((item, idx) => /* @__PURE__ */ jsxs(
|
|
30151
30269
|
"div",
|
|
@@ -30503,7 +30621,7 @@ function TeamSocialGrid({
|
|
|
30503
30621
|
memberRoleClassName,
|
|
30504
30622
|
socialLinksClassName
|
|
30505
30623
|
}) {
|
|
30506
|
-
const renderMembers =
|
|
30624
|
+
const renderMembers = React51.useMemo(() => {
|
|
30507
30625
|
if (membersSlot) return membersSlot;
|
|
30508
30626
|
if (!members || members.length === 0) return null;
|
|
30509
30627
|
return members.map((member) => /* @__PURE__ */ jsxs(
|
|
@@ -30655,7 +30773,7 @@ function TeamGradientCards({
|
|
|
30655
30773
|
memberRoleClassName,
|
|
30656
30774
|
socialLinksClassName
|
|
30657
30775
|
}) {
|
|
30658
|
-
const renderMembers =
|
|
30776
|
+
const renderMembers = React51.useMemo(() => {
|
|
30659
30777
|
if (membersSlot) return membersSlot;
|
|
30660
30778
|
if (!members || members.length === 0) return null;
|
|
30661
30779
|
return members.map((member) => /* @__PURE__ */ jsx(
|
|
@@ -30811,7 +30929,7 @@ function TeamBioBadges({
|
|
|
30811
30929
|
memberBioClassName,
|
|
30812
30930
|
socialLinksClassName
|
|
30813
30931
|
}) {
|
|
30814
|
-
const renderMembers =
|
|
30932
|
+
const renderMembers = React51.useMemo(() => {
|
|
30815
30933
|
if (membersSlot) return membersSlot;
|
|
30816
30934
|
if (!members || members.length === 0) return null;
|
|
30817
30935
|
return members.map((member) => /* @__PURE__ */ jsxs(
|
|
@@ -30988,7 +31106,7 @@ function TeamExpertiseCards({
|
|
|
30988
31106
|
ctaDescriptionClassName,
|
|
30989
31107
|
ctaButtonClassName
|
|
30990
31108
|
}) {
|
|
30991
|
-
const renderMembers =
|
|
31109
|
+
const renderMembers = React51.useMemo(() => {
|
|
30992
31110
|
if (membersSlot) return membersSlot;
|
|
30993
31111
|
if (!members || members.length === 0) return null;
|
|
30994
31112
|
return members.map((member) => /* @__PURE__ */ jsx(
|
|
@@ -31065,7 +31183,7 @@ function TeamExpertiseCards({
|
|
|
31065
31183
|
member.id
|
|
31066
31184
|
));
|
|
31067
31185
|
}, [membersSlot, members, background, memberCardClassName, avatarClassName, memberNameClassName, memberRoleClassName, departmentBadgeClassName, memberDescriptionClassName, expertiseClassName]);
|
|
31068
|
-
const renderCta =
|
|
31186
|
+
const renderCta = React51.useMemo(() => {
|
|
31069
31187
|
if (ctaSlot) return ctaSlot;
|
|
31070
31188
|
return /* @__PURE__ */ jsxs(
|
|
31071
31189
|
"div",
|
|
@@ -31181,7 +31299,7 @@ function TeamCompactGrid({
|
|
|
31181
31299
|
ctaDescriptionClassName,
|
|
31182
31300
|
ctaButtonClassName
|
|
31183
31301
|
}) {
|
|
31184
|
-
const renderMembers =
|
|
31302
|
+
const renderMembers = React51.useMemo(() => {
|
|
31185
31303
|
if (membersSlot) return membersSlot;
|
|
31186
31304
|
if (!members || members.length === 0) return null;
|
|
31187
31305
|
return members.map((member) => /* @__PURE__ */ jsxs(
|
|
@@ -31236,7 +31354,7 @@ function TeamCompactGrid({
|
|
|
31236
31354
|
member.id
|
|
31237
31355
|
));
|
|
31238
31356
|
}, [membersSlot, members, background, memberCardClassName, avatarClassName, memberNameClassName, memberRoleClassName, departmentBadgeClassName]);
|
|
31239
|
-
const renderCta =
|
|
31357
|
+
const renderCta = React51.useMemo(() => {
|
|
31240
31358
|
if (ctaSlot) return ctaSlot;
|
|
31241
31359
|
return /* @__PURE__ */ jsxs(
|
|
31242
31360
|
"div",
|
|
@@ -31340,7 +31458,7 @@ function TeamInvestorShowcase({
|
|
|
31340
31458
|
investorCompanyClassName,
|
|
31341
31459
|
optixFlowConfig
|
|
31342
31460
|
}) {
|
|
31343
|
-
const renderInvestors =
|
|
31461
|
+
const renderInvestors = React51.useMemo(() => {
|
|
31344
31462
|
if (investorsSlot) return investorsSlot;
|
|
31345
31463
|
if (!investors || investors.length === 0) return null;
|
|
31346
31464
|
return investors.map((investor) => /* @__PURE__ */ jsxs("div", { className: investorCardClassName, children: [
|
|
@@ -31414,7 +31532,7 @@ function TeamCarouselExperience({
|
|
|
31414
31532
|
memberRoleClassName,
|
|
31415
31533
|
optixFlowConfig
|
|
31416
31534
|
}) {
|
|
31417
|
-
const renderMembers =
|
|
31535
|
+
const renderMembers = React51.useMemo(() => {
|
|
31418
31536
|
if (membersSlot) return membersSlot;
|
|
31419
31537
|
if (!members || members.length === 0) return null;
|
|
31420
31538
|
return members.map((member, idx) => /* @__PURE__ */ jsx(CarouselItem, { className: "max-w-72", children: /* @__PURE__ */ jsxs(
|
|
@@ -31548,20 +31666,20 @@ function TeamFilterableSearch({
|
|
|
31548
31666
|
emptyStateClassName,
|
|
31549
31667
|
emptyStateMessage
|
|
31550
31668
|
}) {
|
|
31551
|
-
const [searchQuery, setSearchQuery] =
|
|
31552
|
-
const [selectedDepartment, setSelectedDepartment] =
|
|
31553
|
-
const departments =
|
|
31669
|
+
const [searchQuery, setSearchQuery] = React51.useState("");
|
|
31670
|
+
const [selectedDepartment, setSelectedDepartment] = React51.useState("All");
|
|
31671
|
+
const departments = React51.useMemo(() => {
|
|
31554
31672
|
const depts = new Set(members.map((m) => m.department));
|
|
31555
31673
|
return ["All", ...Array.from(depts)];
|
|
31556
31674
|
}, [members]);
|
|
31557
|
-
const filteredMembers =
|
|
31675
|
+
const filteredMembers = React51.useMemo(() => {
|
|
31558
31676
|
return members.filter((member) => {
|
|
31559
31677
|
const matchesSearch = searchQuery === "" || member.name.toLowerCase().includes(searchQuery.toLowerCase()) || member.role.toLowerCase().includes(searchQuery.toLowerCase()) || member.description.toLowerCase().includes(searchQuery.toLowerCase());
|
|
31560
31678
|
const matchesDepartment = selectedDepartment === "All" || member.department === selectedDepartment;
|
|
31561
31679
|
return matchesSearch && matchesDepartment;
|
|
31562
31680
|
});
|
|
31563
31681
|
}, [members, searchQuery, selectedDepartment]);
|
|
31564
|
-
const renderFilters =
|
|
31682
|
+
const renderFilters = React51.useMemo(() => {
|
|
31565
31683
|
if (filtersSlot) return filtersSlot;
|
|
31566
31684
|
return /* @__PURE__ */ jsxs(
|
|
31567
31685
|
"div",
|
|
@@ -31616,7 +31734,7 @@ function TeamFilterableSearch({
|
|
|
31616
31734
|
selectedDepartment,
|
|
31617
31735
|
filterButtonClassName
|
|
31618
31736
|
]);
|
|
31619
|
-
const renderMembers =
|
|
31737
|
+
const renderMembers = React51.useMemo(() => {
|
|
31620
31738
|
if (membersSlot) return membersSlot;
|
|
31621
31739
|
return filteredMembers.map((member) => /* @__PURE__ */ jsx(
|
|
31622
31740
|
"div",
|
|
@@ -31803,7 +31921,7 @@ function TeamCompactCta({
|
|
|
31803
31921
|
memberRoleClassName,
|
|
31804
31922
|
ctaClassName
|
|
31805
31923
|
}) {
|
|
31806
|
-
const renderMembers =
|
|
31924
|
+
const renderMembers = React51.useMemo(() => {
|
|
31807
31925
|
if (membersSlot) return membersSlot;
|
|
31808
31926
|
if (!members || members.length === 0) return null;
|
|
31809
31927
|
return members.map((member) => /* @__PURE__ */ jsxs(
|
|
@@ -31831,7 +31949,7 @@ function TeamCompactCta({
|
|
|
31831
31949
|
member.id
|
|
31832
31950
|
));
|
|
31833
31951
|
}, [membersSlot, members, memberCardClassName, avatarClassName, memberNameClassName, memberRoleClassName, background]);
|
|
31834
|
-
const renderCta =
|
|
31952
|
+
const renderCta = React51.useMemo(() => {
|
|
31835
31953
|
if (ctaSlot) return ctaSlot;
|
|
31836
31954
|
return /* @__PURE__ */ jsx(
|
|
31837
31955
|
Pressable,
|
|
@@ -31922,7 +32040,7 @@ function TeamHoverHighlight({
|
|
|
31922
32040
|
socialLinksClassName,
|
|
31923
32041
|
optixFlowConfig
|
|
31924
32042
|
}) {
|
|
31925
|
-
const renderMembers =
|
|
32043
|
+
const renderMembers = React51.useMemo(() => {
|
|
31926
32044
|
if (membersSlot) return membersSlot;
|
|
31927
32045
|
if (!members || members.length === 0) return null;
|
|
31928
32046
|
return members.map((member) => /* @__PURE__ */ jsxs(
|
|
@@ -32071,7 +32189,7 @@ function TeamSocialCards({
|
|
|
32071
32189
|
socialLinksClassName,
|
|
32072
32190
|
optixFlowConfig
|
|
32073
32191
|
}) {
|
|
32074
|
-
const renderMembers =
|
|
32192
|
+
const renderMembers = React51.useMemo(() => {
|
|
32075
32193
|
if (membersSlot) return membersSlot;
|
|
32076
32194
|
if (!members || members.length === 0) return null;
|
|
32077
32195
|
return members.map((member) => /* @__PURE__ */ jsx(
|
|
@@ -32241,7 +32359,7 @@ function TeamGridAnimated({
|
|
|
32241
32359
|
"hsl(var(--muted))",
|
|
32242
32360
|
"hsl(var(--warning)/0.2)"
|
|
32243
32361
|
];
|
|
32244
|
-
const renderMembers =
|
|
32362
|
+
const renderMembers = React51.useMemo(() => {
|
|
32245
32363
|
if (membersSlot) return membersSlot;
|
|
32246
32364
|
if (!members || members.length === 0) return null;
|
|
32247
32365
|
return members.map((member, index) => /* @__PURE__ */ jsxs(
|
|
@@ -32341,7 +32459,7 @@ function TeamGridAnimated({
|
|
|
32341
32459
|
memberDesignationClassName,
|
|
32342
32460
|
socialLinksClassName
|
|
32343
32461
|
]);
|
|
32344
|
-
const renderSocialLinksMain =
|
|
32462
|
+
const renderSocialLinksMain = React51.useMemo(() => {
|
|
32345
32463
|
if (socialLinksMainSlot) return socialLinksMainSlot;
|
|
32346
32464
|
if (!socialLinksMain || socialLinksMain.length === 0) return null;
|
|
32347
32465
|
return /* @__PURE__ */ jsxs("div", { className: "flex w-full items-center justify-center gap-4 py-4 md:justify-center", children: [
|
|
@@ -32458,7 +32576,7 @@ function TeamDepartmentSections({
|
|
|
32458
32576
|
memberRoleClassName,
|
|
32459
32577
|
optixFlowConfig
|
|
32460
32578
|
}) {
|
|
32461
|
-
const renderDepartments =
|
|
32579
|
+
const renderDepartments = React51.useMemo(() => {
|
|
32462
32580
|
if (departmentsSlot) return departmentsSlot;
|
|
32463
32581
|
if (!departments || departments.length === 0) return null;
|
|
32464
32582
|
return departments.map((department, deptIndex) => /* @__PURE__ */ jsxs(
|
|
@@ -32562,7 +32680,7 @@ function TeamAlternatingBios({
|
|
|
32562
32680
|
socialLinksClassName,
|
|
32563
32681
|
optixFlowConfig
|
|
32564
32682
|
}) {
|
|
32565
|
-
const renderMembers =
|
|
32683
|
+
const renderMembers = React51.useMemo(() => {
|
|
32566
32684
|
if (membersSlot) return membersSlot;
|
|
32567
32685
|
if (!members || members.length === 0) return null;
|
|
32568
32686
|
return members.map((member, index) => /* @__PURE__ */ jsxs(
|
|
@@ -32744,7 +32862,7 @@ function TeamAvatarSocial({
|
|
|
32744
32862
|
memberRoleClassName,
|
|
32745
32863
|
socialLinksClassName
|
|
32746
32864
|
}) {
|
|
32747
|
-
const renderMembers =
|
|
32865
|
+
const renderMembers = React51.useMemo(() => {
|
|
32748
32866
|
if (membersSlot) return membersSlot;
|
|
32749
32867
|
if (!members || members.length === 0) return null;
|
|
32750
32868
|
return members.map((member) => /* @__PURE__ */ jsxs(
|
|
@@ -32887,7 +33005,7 @@ function TeamHoverOverlay({
|
|
|
32887
33005
|
socialLinksClassName,
|
|
32888
33006
|
optixFlowConfig
|
|
32889
33007
|
}) {
|
|
32890
|
-
const renderMembers =
|
|
33008
|
+
const renderMembers = React51.useMemo(() => {
|
|
32891
33009
|
if (membersSlot) return membersSlot;
|
|
32892
33010
|
if (!members || members.length === 0) return null;
|
|
32893
33011
|
return members.map((member) => /* @__PURE__ */ jsx(
|
|
@@ -33063,14 +33181,14 @@ function TeamRoleFilter({
|
|
|
33063
33181
|
socialLinksClassName,
|
|
33064
33182
|
optixFlowConfig
|
|
33065
33183
|
}) {
|
|
33066
|
-
const [selectedRole, setSelectedRole] =
|
|
33067
|
-
const filteredMembers =
|
|
33184
|
+
const [selectedRole, setSelectedRole] = React51.useState("All");
|
|
33185
|
+
const filteredMembers = React51.useMemo(() => {
|
|
33068
33186
|
if (!members) return [];
|
|
33069
33187
|
return members.filter(
|
|
33070
33188
|
(member) => selectedRole === "All" ? true : member.role === selectedRole
|
|
33071
33189
|
);
|
|
33072
33190
|
}, [members, selectedRole]);
|
|
33073
|
-
const renderRoles =
|
|
33191
|
+
const renderRoles = React51.useMemo(() => {
|
|
33074
33192
|
if (rolesSlot) return rolesSlot;
|
|
33075
33193
|
if (!roles) return null;
|
|
33076
33194
|
return /* @__PURE__ */ jsx(
|
|
@@ -33094,7 +33212,7 @@ function TeamRoleFilter({
|
|
|
33094
33212
|
}
|
|
33095
33213
|
);
|
|
33096
33214
|
}, [rolesSlot, filtersClassName, roles, selectedRole, filterButtonClassName]);
|
|
33097
|
-
const renderMembers =
|
|
33215
|
+
const renderMembers = React51.useMemo(() => {
|
|
33098
33216
|
if (membersSlot) return membersSlot;
|
|
33099
33217
|
return filteredMembers.map((member) => /* @__PURE__ */ jsx(
|
|
33100
33218
|
Card,
|
|
@@ -33254,7 +33372,7 @@ function TeamContactCards({
|
|
|
33254
33372
|
socialLinksClassName,
|
|
33255
33373
|
optixFlowConfig
|
|
33256
33374
|
}) {
|
|
33257
|
-
const getStatusColor =
|
|
33375
|
+
const getStatusColor = React51.useCallback((status) => {
|
|
33258
33376
|
switch (status) {
|
|
33259
33377
|
case "active":
|
|
33260
33378
|
return "bg-success";
|
|
@@ -33264,7 +33382,7 @@ function TeamContactCards({
|
|
|
33264
33382
|
return getTextColor(background, "muted");
|
|
33265
33383
|
}
|
|
33266
33384
|
}, [background]);
|
|
33267
|
-
const renderMembers =
|
|
33385
|
+
const renderMembers = React51.useMemo(() => {
|
|
33268
33386
|
if (membersSlot) return membersSlot;
|
|
33269
33387
|
if (!members || members.length === 0) return null;
|
|
33270
33388
|
return members.map((member) => /* @__PURE__ */ jsx(Card, { className: cn("p-0", memberCardClassName), children: /* @__PURE__ */ jsxs(CardContent, { className: "p-6!", children: [
|
|
@@ -33471,7 +33589,7 @@ function TeamLargeImages({
|
|
|
33471
33589
|
socialLinksClassName,
|
|
33472
33590
|
optixFlowConfig
|
|
33473
33591
|
}) {
|
|
33474
|
-
const renderMembers =
|
|
33592
|
+
const renderMembers = React51.useMemo(() => {
|
|
33475
33593
|
if (membersSlot) return membersSlot;
|
|
33476
33594
|
if (!members || members.length === 0) return null;
|
|
33477
33595
|
return members.map((member) => /* @__PURE__ */ jsxs(
|
|
@@ -33646,7 +33764,7 @@ function TeamSkillBadges({
|
|
|
33646
33764
|
socialLinksClassName,
|
|
33647
33765
|
optixFlowConfig
|
|
33648
33766
|
}) {
|
|
33649
|
-
const renderMembers =
|
|
33767
|
+
const renderMembers = React51.useMemo(() => {
|
|
33650
33768
|
if (membersSlot) return membersSlot;
|
|
33651
33769
|
if (!members || members.length === 0) return null;
|
|
33652
33770
|
return members.map((member) => /* @__PURE__ */ jsx(
|
|
@@ -33836,7 +33954,7 @@ function TeamTestimonialStats({
|
|
|
33836
33954
|
socialLinksClassName,
|
|
33837
33955
|
optixFlowConfig
|
|
33838
33956
|
}) {
|
|
33839
|
-
const renderMembers =
|
|
33957
|
+
const renderMembers = React51.useMemo(() => {
|
|
33840
33958
|
if (membersSlot) return membersSlot;
|
|
33841
33959
|
if (!members || members.length === 0) return null;
|
|
33842
33960
|
return members.map((member) => /* @__PURE__ */ jsx(
|
|
@@ -37980,7 +38098,7 @@ function BlogGridAuthorCardsComponent({
|
|
|
37980
38098
|
pattern,
|
|
37981
38099
|
patternOpacity
|
|
37982
38100
|
}) {
|
|
37983
|
-
const viewAllActionContent =
|
|
38101
|
+
const viewAllActionContent = React51.useMemo(() => {
|
|
37984
38102
|
if (viewAllSlot) return viewAllSlot;
|
|
37985
38103
|
if (!viewAllAction) return null;
|
|
37986
38104
|
const {
|
|
@@ -38005,7 +38123,7 @@ function BlogGridAuthorCardsComponent({
|
|
|
38005
38123
|
}
|
|
38006
38124
|
);
|
|
38007
38125
|
}, [viewAllSlot, viewAllAction]);
|
|
38008
|
-
const postsContent =
|
|
38126
|
+
const postsContent = React51.useMemo(() => {
|
|
38009
38127
|
if (postsSlot) return postsSlot;
|
|
38010
38128
|
if (!posts || posts.length === 0) return null;
|
|
38011
38129
|
return posts.map((post) => {
|
|
@@ -38117,7 +38235,7 @@ function BlogCardsTaglineCta({
|
|
|
38117
38235
|
pattern,
|
|
38118
38236
|
patternOpacity
|
|
38119
38237
|
}) {
|
|
38120
|
-
const ctaActionContent =
|
|
38238
|
+
const ctaActionContent = React51.useMemo(() => {
|
|
38121
38239
|
if (ctaSlot) return ctaSlot;
|
|
38122
38240
|
if (!ctaAction) return null;
|
|
38123
38241
|
const {
|
|
@@ -38145,7 +38263,7 @@ function BlogCardsTaglineCta({
|
|
|
38145
38263
|
}
|
|
38146
38264
|
);
|
|
38147
38265
|
}, [ctaSlot, ctaAction, ctaClassName]);
|
|
38148
|
-
const postsContent =
|
|
38266
|
+
const postsContent = React51.useMemo(() => {
|
|
38149
38267
|
if (postsSlot) return postsSlot;
|
|
38150
38268
|
if (!posts || posts.length === 0) return null;
|
|
38151
38269
|
return posts.map((post) => {
|
|
@@ -38291,7 +38409,7 @@ function BlogCardsReadTime({
|
|
|
38291
38409
|
pattern,
|
|
38292
38410
|
patternOpacity
|
|
38293
38411
|
}) {
|
|
38294
|
-
const renderedViewAllAction =
|
|
38412
|
+
const renderedViewAllAction = React51.useMemo(() => {
|
|
38295
38413
|
if (viewAllSlot) return viewAllSlot;
|
|
38296
38414
|
if (!viewAllAction) return null;
|
|
38297
38415
|
const {
|
|
@@ -38308,7 +38426,7 @@ function BlogCardsReadTime({
|
|
|
38308
38426
|
iconAfter
|
|
38309
38427
|
] }) });
|
|
38310
38428
|
}, [viewAllSlot, viewAllAction]);
|
|
38311
|
-
const renderedPosts =
|
|
38429
|
+
const renderedPosts = React51.useMemo(() => {
|
|
38312
38430
|
if (postsSlot) return postsSlot;
|
|
38313
38431
|
if (!posts || posts.length === 0) return null;
|
|
38314
38432
|
return posts.map((post) => {
|
|
@@ -38445,7 +38563,7 @@ function BlogCategoryOverlay({
|
|
|
38445
38563
|
pattern,
|
|
38446
38564
|
patternOpacity
|
|
38447
38565
|
}) {
|
|
38448
|
-
const viewAllActionContent =
|
|
38566
|
+
const viewAllActionContent = React51.useMemo(() => {
|
|
38449
38567
|
if (viewAllSlot) return viewAllSlot;
|
|
38450
38568
|
if (!viewAllAction) return null;
|
|
38451
38569
|
const {
|
|
@@ -38473,7 +38591,7 @@ function BlogCategoryOverlay({
|
|
|
38473
38591
|
}
|
|
38474
38592
|
);
|
|
38475
38593
|
}, [viewAllSlot, viewAllAction, viewAllClassName]);
|
|
38476
|
-
const postsContent =
|
|
38594
|
+
const postsContent = React51.useMemo(() => {
|
|
38477
38595
|
if (postsSlot) return postsSlot;
|
|
38478
38596
|
if (!posts || posts.length === 0) return null;
|
|
38479
38597
|
return posts.map((post) => {
|
|
@@ -38621,7 +38739,7 @@ function BlogFeaturedPopular({
|
|
|
38621
38739
|
}) {
|
|
38622
38740
|
const featuredPost = posts?.[0];
|
|
38623
38741
|
const popularPosts = posts?.slice(1);
|
|
38624
|
-
const renderedFeaturedPost =
|
|
38742
|
+
const renderedFeaturedPost = React51.useMemo(() => {
|
|
38625
38743
|
if (featuredSlot) return featuredSlot;
|
|
38626
38744
|
if (!featuredPost) return null;
|
|
38627
38745
|
const postHref = featuredPost.href || featuredPost.url || featuredPost.link;
|
|
@@ -38673,7 +38791,7 @@ function BlogFeaturedPopular({
|
|
|
38673
38791
|
featuredContentClassName,
|
|
38674
38792
|
optixFlowConfig
|
|
38675
38793
|
]);
|
|
38676
|
-
const renderedPopularPosts =
|
|
38794
|
+
const renderedPopularPosts = React51.useMemo(() => {
|
|
38677
38795
|
if (postsSlot) return postsSlot;
|
|
38678
38796
|
if (!popularPosts || popularPosts.length === 0) return null;
|
|
38679
38797
|
return popularPosts.map((post) => {
|
|
@@ -38790,7 +38908,7 @@ function BlogRelatedArticles({
|
|
|
38790
38908
|
pattern,
|
|
38791
38909
|
patternOpacity
|
|
38792
38910
|
}) {
|
|
38793
|
-
const renderedSeeAllAction =
|
|
38911
|
+
const renderedSeeAllAction = React51.useMemo(() => {
|
|
38794
38912
|
if (seeAllSlot) return seeAllSlot;
|
|
38795
38913
|
if (!seeAllAction) return null;
|
|
38796
38914
|
const {
|
|
@@ -38819,7 +38937,7 @@ function BlogRelatedArticles({
|
|
|
38819
38937
|
}
|
|
38820
38938
|
);
|
|
38821
38939
|
}, [seeAllSlot, seeAllAction, seeAllClassName]);
|
|
38822
|
-
const renderedArticles =
|
|
38940
|
+
const renderedArticles = React51.useMemo(() => {
|
|
38823
38941
|
if (articlesSlot) return articlesSlot;
|
|
38824
38942
|
if (!articles || articles.length === 0) return null;
|
|
38825
38943
|
return articles.map((item) => {
|
|
@@ -39127,7 +39245,7 @@ function BlogHorizontalCards({
|
|
|
39127
39245
|
pattern,
|
|
39128
39246
|
patternOpacity
|
|
39129
39247
|
}) {
|
|
39130
|
-
const ctaContent =
|
|
39248
|
+
const ctaContent = React51.useMemo(() => {
|
|
39131
39249
|
if (ctaSlot) return ctaSlot;
|
|
39132
39250
|
if (!ctaAction) return null;
|
|
39133
39251
|
const {
|
|
@@ -39152,7 +39270,7 @@ function BlogHorizontalCards({
|
|
|
39152
39270
|
}
|
|
39153
39271
|
);
|
|
39154
39272
|
}, [ctaSlot, ctaAction]);
|
|
39155
|
-
const postsContent =
|
|
39273
|
+
const postsContent = React51.useMemo(() => {
|
|
39156
39274
|
if (postsSlot) return postsSlot;
|
|
39157
39275
|
if (!posts || posts.length === 0) return null;
|
|
39158
39276
|
return posts.map((post) => {
|
|
@@ -39334,7 +39452,7 @@ function BreadcrumbSeparator({
|
|
|
39334
39452
|
);
|
|
39335
39453
|
}
|
|
39336
39454
|
var POSTS_PER_PAGE = 6;
|
|
39337
|
-
var BlogCard =
|
|
39455
|
+
var BlogCard = React51.memo(function BlogCard2({
|
|
39338
39456
|
post,
|
|
39339
39457
|
optixFlowConfig,
|
|
39340
39458
|
className
|
|
@@ -39373,7 +39491,7 @@ var BlogCard = React52.memo(function BlogCard2({
|
|
|
39373
39491
|
] })
|
|
39374
39492
|
] }) });
|
|
39375
39493
|
});
|
|
39376
|
-
var FilterForm =
|
|
39494
|
+
var FilterForm = React51.memo(function FilterForm2({
|
|
39377
39495
|
categories,
|
|
39378
39496
|
selectedCategories,
|
|
39379
39497
|
onCategoryChange,
|
|
@@ -39406,7 +39524,7 @@ var FilterForm = React52.memo(function FilterForm2({
|
|
|
39406
39524
|
}
|
|
39407
39525
|
);
|
|
39408
39526
|
});
|
|
39409
|
-
var BreadcrumbBlog =
|
|
39527
|
+
var BreadcrumbBlog = React51.memo(function BreadcrumbBlog2({
|
|
39410
39528
|
breadcrumb
|
|
39411
39529
|
}) {
|
|
39412
39530
|
return /* @__PURE__ */ jsx(Breadcrumb, { children: /* @__PURE__ */ jsx(BreadcrumbList, { children: breadcrumb.map((item, i) => {
|
|
@@ -39488,12 +39606,12 @@ function BlogFilteredResultsComponent({
|
|
|
39488
39606
|
}, [posts, selectedCategories]);
|
|
39489
39607
|
const postsToDisplay = filteredPosts.length > 0 ? filteredPosts : posts || [];
|
|
39490
39608
|
const hasMore = visibleCount < postsToDisplay.length;
|
|
39491
|
-
const breadcrumbContent =
|
|
39609
|
+
const breadcrumbContent = React51.useMemo(() => {
|
|
39492
39610
|
if (breadcrumbSlot) return breadcrumbSlot;
|
|
39493
39611
|
if (!breadcrumb || breadcrumb.length === 0) return null;
|
|
39494
39612
|
return /* @__PURE__ */ jsx(BreadcrumbBlog, { breadcrumb });
|
|
39495
39613
|
}, [breadcrumbSlot, breadcrumb]);
|
|
39496
|
-
const primaryPostContent =
|
|
39614
|
+
const primaryPostContent = React51.useMemo(() => {
|
|
39497
39615
|
if (primaryPostSlot) return primaryPostSlot;
|
|
39498
39616
|
if (!primaryPost) return null;
|
|
39499
39617
|
return /* @__PURE__ */ jsx(
|
|
@@ -39505,7 +39623,7 @@ function BlogFilteredResultsComponent({
|
|
|
39505
39623
|
}
|
|
39506
39624
|
);
|
|
39507
39625
|
}, [primaryPostSlot, primaryPost, optixFlowConfig, postCardClassName]);
|
|
39508
|
-
const categoriesContent =
|
|
39626
|
+
const categoriesContent = React51.useMemo(() => {
|
|
39509
39627
|
if (categoriesSlot) return categoriesSlot;
|
|
39510
39628
|
if (!categories || categories.length === 0) return null;
|
|
39511
39629
|
return /* @__PURE__ */ jsx(
|
|
@@ -39524,7 +39642,7 @@ function BlogFilteredResultsComponent({
|
|
|
39524
39642
|
handleCategoryChange,
|
|
39525
39643
|
categoriesClassName
|
|
39526
39644
|
]);
|
|
39527
|
-
const postsContent =
|
|
39645
|
+
const postsContent = React51.useMemo(() => {
|
|
39528
39646
|
if (postsSlot) return postsSlot;
|
|
39529
39647
|
return postsToDisplay.slice(0, visibleCount).map((post) => {
|
|
39530
39648
|
const postKey = post.id || String(post.title) || Math.random().toString();
|
|
@@ -39545,7 +39663,7 @@ function BlogFilteredResultsComponent({
|
|
|
39545
39663
|
optixFlowConfig,
|
|
39546
39664
|
postCardClassName
|
|
39547
39665
|
]);
|
|
39548
|
-
const loadMoreContent =
|
|
39666
|
+
const loadMoreContent = React51.useMemo(() => {
|
|
39549
39667
|
if (loadMoreSlot) return loadMoreSlot;
|
|
39550
39668
|
if (!loadMoreAction || !hasMore) return null;
|
|
39551
39669
|
const {
|
|
@@ -39671,7 +39789,7 @@ function BlogMasonryFeaturedComponent({
|
|
|
39671
39789
|
}) {
|
|
39672
39790
|
const featuredPost = posts?.[0];
|
|
39673
39791
|
const otherPosts = posts?.slice(1);
|
|
39674
|
-
const featuredPostContent =
|
|
39792
|
+
const featuredPostContent = React51.useMemo(() => {
|
|
39675
39793
|
if (featuredSlot) return featuredSlot;
|
|
39676
39794
|
if (!featuredPost) return null;
|
|
39677
39795
|
const postHref = featuredPost.href || featuredPost.url || featuredPost.link || "#";
|
|
@@ -39721,7 +39839,7 @@ function BlogMasonryFeaturedComponent({
|
|
|
39721
39839
|
featuredImageClassName,
|
|
39722
39840
|
optixFlowConfig
|
|
39723
39841
|
]);
|
|
39724
|
-
const otherPostsContent =
|
|
39842
|
+
const otherPostsContent = React51.useMemo(() => {
|
|
39725
39843
|
if (postsSlot) return postsSlot;
|
|
39726
39844
|
if (!otherPosts || otherPosts.length === 0) return null;
|
|
39727
39845
|
return otherPosts.map((post) => {
|
|
@@ -39810,7 +39928,7 @@ function BlogHorizontalTimelineComponent({
|
|
|
39810
39928
|
pattern,
|
|
39811
39929
|
patternOpacity
|
|
39812
39930
|
}) {
|
|
39813
|
-
const renderPosts =
|
|
39931
|
+
const renderPosts = React51.useMemo(() => {
|
|
39814
39932
|
if (postsSlot) return postsSlot;
|
|
39815
39933
|
if (!posts || posts.length === 0) return null;
|
|
39816
39934
|
return posts.map((post, index) => {
|
|
@@ -39935,7 +40053,7 @@ function BlogGridNinePosts({
|
|
|
39935
40053
|
pattern,
|
|
39936
40054
|
patternOpacity
|
|
39937
40055
|
}) {
|
|
39938
|
-
const renderedCtaAction =
|
|
40056
|
+
const renderedCtaAction = React51.useMemo(() => {
|
|
39939
40057
|
if (ctaSlot) return ctaSlot;
|
|
39940
40058
|
if (!ctaAction) return null;
|
|
39941
40059
|
const {
|
|
@@ -39960,7 +40078,7 @@ function BlogGridNinePosts({
|
|
|
39960
40078
|
}
|
|
39961
40079
|
);
|
|
39962
40080
|
}, [ctaSlot, ctaAction]);
|
|
39963
|
-
const renderedPosts =
|
|
40081
|
+
const renderedPosts = React51.useMemo(() => {
|
|
39964
40082
|
if (postsSlot) return postsSlot;
|
|
39965
40083
|
if (!posts || posts.length === 0) return null;
|
|
39966
40084
|
return posts.map((post) => {
|
|
@@ -40058,9 +40176,9 @@ var AppleCarousel = ({
|
|
|
40058
40176
|
className,
|
|
40059
40177
|
containerClassName
|
|
40060
40178
|
}) => {
|
|
40061
|
-
const carouselRef =
|
|
40062
|
-
const [canScrollLeft, setCanScrollLeft] =
|
|
40063
|
-
const [canScrollRight, setCanScrollRight] =
|
|
40179
|
+
const carouselRef = React51__default.useRef(null);
|
|
40180
|
+
const [canScrollLeft, setCanScrollLeft] = React51__default.useState(false);
|
|
40181
|
+
const [canScrollRight, setCanScrollRight] = React51__default.useState(true);
|
|
40064
40182
|
const [currentIndex, setCurrentIndex] = useState(0);
|
|
40065
40183
|
useEffect(() => {
|
|
40066
40184
|
if (carouselRef.current) {
|
|
@@ -40297,7 +40415,7 @@ function BlogCarouselAppleComponent({
|
|
|
40297
40415
|
containerClassName,
|
|
40298
40416
|
cardClassName
|
|
40299
40417
|
}) {
|
|
40300
|
-
const carouselCards =
|
|
40418
|
+
const carouselCards = React51.useMemo(() => {
|
|
40301
40419
|
if (!posts || posts.length === 0) return [];
|
|
40302
40420
|
return posts.map(
|
|
40303
40421
|
(post, idx) => ({
|
|
@@ -40309,7 +40427,7 @@ function BlogCarouselAppleComponent({
|
|
|
40309
40427
|
})
|
|
40310
40428
|
);
|
|
40311
40429
|
}, [posts]);
|
|
40312
|
-
const cardElements =
|
|
40430
|
+
const cardElements = React51.useMemo(() => {
|
|
40313
40431
|
if (!posts || posts.length === 0) return [];
|
|
40314
40432
|
return carouselCards.map((card, index) => {
|
|
40315
40433
|
const post = posts[index];
|
|
@@ -40394,7 +40512,7 @@ function ArticleHeroProseComponent({
|
|
|
40394
40512
|
description,
|
|
40395
40513
|
authorImage
|
|
40396
40514
|
} = post ?? {};
|
|
40397
|
-
const authorContent =
|
|
40515
|
+
const authorContent = React51.useMemo(() => {
|
|
40398
40516
|
if (authorSlot) return authorSlot;
|
|
40399
40517
|
if (!authorName) return null;
|
|
40400
40518
|
return /* @__PURE__ */ jsxs(
|
|
@@ -40428,7 +40546,7 @@ function ArticleHeroProseComponent({
|
|
|
40428
40546
|
dateFormat,
|
|
40429
40547
|
authorClassName
|
|
40430
40548
|
]);
|
|
40431
|
-
const heroMediaContent =
|
|
40549
|
+
const heroMediaContent = React51.useMemo(() => {
|
|
40432
40550
|
if (heroMediaSlot) return heroMediaSlot;
|
|
40433
40551
|
if (!image) return null;
|
|
40434
40552
|
return /* @__PURE__ */ jsx(
|
|
@@ -40529,7 +40647,7 @@ function ArticleSidebarStickyComponent({
|
|
|
40529
40647
|
pattern,
|
|
40530
40648
|
patternOpacity
|
|
40531
40649
|
}) {
|
|
40532
|
-
const backLinkContent =
|
|
40650
|
+
const backLinkContent = React51.useMemo(() => {
|
|
40533
40651
|
if (backLinkSlot) return backLinkSlot;
|
|
40534
40652
|
if (!backHref && !backText) return null;
|
|
40535
40653
|
return /* @__PURE__ */ jsxs(
|
|
@@ -40547,7 +40665,7 @@ function ArticleSidebarStickyComponent({
|
|
|
40547
40665
|
}
|
|
40548
40666
|
);
|
|
40549
40667
|
}, [backLinkSlot, backHref, backText, backIcon, backLinkClassName]);
|
|
40550
|
-
const renderAuthor =
|
|
40668
|
+
const renderAuthor = React51.useCallback(
|
|
40551
40669
|
(isMobile = false) => {
|
|
40552
40670
|
if (authorSlot) return authorSlot;
|
|
40553
40671
|
if (!authorName) return null;
|
|
@@ -40579,7 +40697,7 @@ function ArticleSidebarStickyComponent({
|
|
|
40579
40697
|
authorClassName
|
|
40580
40698
|
]
|
|
40581
40699
|
);
|
|
40582
|
-
const heroMediaContent =
|
|
40700
|
+
const heroMediaContent = React51.useMemo(() => {
|
|
40583
40701
|
if (heroMediaSlot) return heroMediaSlot;
|
|
40584
40702
|
if (!heroImageSrc) return null;
|
|
40585
40703
|
return /* @__PURE__ */ jsx(
|
|
@@ -40686,10 +40804,10 @@ function ArticleTocSidebarComponent({
|
|
|
40686
40804
|
patternOpacity
|
|
40687
40805
|
}) {
|
|
40688
40806
|
const ctaActions = ctaActionsProp ?? (ctaButtonText ? [{ label: ctaButtonText, href: ctaButtonHref || "#", variant: "default", className: "w-full" }] : []);
|
|
40689
|
-
const [activeSection, setActiveSection] =
|
|
40807
|
+
const [activeSection, setActiveSection] = React51.useState(
|
|
40690
40808
|
sections?.[0]?.id || ""
|
|
40691
40809
|
);
|
|
40692
|
-
|
|
40810
|
+
React51.useEffect(() => {
|
|
40693
40811
|
if (!enableTocTracking || !sections || sections.length === 0) return;
|
|
40694
40812
|
const observer = new IntersectionObserver(
|
|
40695
40813
|
(entries) => {
|
|
@@ -40707,12 +40825,12 @@ function ArticleTocSidebarComponent({
|
|
|
40707
40825
|
});
|
|
40708
40826
|
return () => observer.disconnect();
|
|
40709
40827
|
}, [sections, enableTocTracking]);
|
|
40710
|
-
const categoryContent =
|
|
40828
|
+
const categoryContent = React51.useMemo(() => {
|
|
40711
40829
|
if (categorySlot) return categorySlot;
|
|
40712
40830
|
if (!category) return null;
|
|
40713
40831
|
return /* @__PURE__ */ jsx(Badge, { variant: "secondary", children: category });
|
|
40714
40832
|
}, [categorySlot, category]);
|
|
40715
|
-
const authorContent =
|
|
40833
|
+
const authorContent = React51.useMemo(() => {
|
|
40716
40834
|
if (authorSlot) return authorSlot;
|
|
40717
40835
|
if (!authorName) return null;
|
|
40718
40836
|
return /* @__PURE__ */ jsxs("div", { className: cn("mt-6 flex items-center gap-4", authorClassName), children: [
|
|
@@ -40732,7 +40850,7 @@ function ArticleTocSidebarComponent({
|
|
|
40732
40850
|
] })
|
|
40733
40851
|
] });
|
|
40734
40852
|
}, [authorSlot, authorName, authorImage, authorHref, publishDate, readTime, authorClassName]);
|
|
40735
|
-
const heroMediaContent =
|
|
40853
|
+
const heroMediaContent = React51.useMemo(() => {
|
|
40736
40854
|
if (heroMediaSlot) return heroMediaSlot;
|
|
40737
40855
|
if (!heroImageSrc) return null;
|
|
40738
40856
|
return /* @__PURE__ */ jsx(
|
|
@@ -40745,7 +40863,7 @@ function ArticleTocSidebarComponent({
|
|
|
40745
40863
|
}
|
|
40746
40864
|
);
|
|
40747
40865
|
}, [heroMediaSlot, heroImageSrc, heroImageAlt, heroImageClassName, optixFlowConfig]);
|
|
40748
|
-
const tocContent =
|
|
40866
|
+
const tocContent = React51.useMemo(() => {
|
|
40749
40867
|
if (tocSlot) return tocSlot;
|
|
40750
40868
|
if (!sections || sections.length === 0) return null;
|
|
40751
40869
|
return /* @__PURE__ */ jsxs("div", { className: cn("rounded-lg border p-4", tocClassName), children: [
|
|
@@ -40753,7 +40871,7 @@ function ArticleTocSidebarComponent({
|
|
|
40753
40871
|
/* @__PURE__ */ jsx("nav", { className: "space-y-2", children: sections.map((section) => {
|
|
40754
40872
|
const isActive = activeSection === section.id;
|
|
40755
40873
|
if (renderSectionLink) {
|
|
40756
|
-
return /* @__PURE__ */ jsx(
|
|
40874
|
+
return /* @__PURE__ */ jsx(React51.Fragment, { children: renderSectionLink(section, isActive) }, section.id);
|
|
40757
40875
|
}
|
|
40758
40876
|
return /* @__PURE__ */ jsx(
|
|
40759
40877
|
Pressable,
|
|
@@ -40770,7 +40888,7 @@ function ArticleTocSidebarComponent({
|
|
|
40770
40888
|
}) })
|
|
40771
40889
|
] });
|
|
40772
40890
|
}, [tocSlot, sections, activeSection, renderSectionLink, tocClassName]);
|
|
40773
|
-
const ctaContent =
|
|
40891
|
+
const ctaContent = React51.useMemo(() => {
|
|
40774
40892
|
if (ctaSlot) return ctaSlot;
|
|
40775
40893
|
if (!ctaTitle && !ctaDescription && (!ctaActions || ctaActions.length === 0)) return null;
|
|
40776
40894
|
return /* @__PURE__ */ jsxs("div", { className: cn("rounded-lg border p-4", getNestedCardBg(background, "subtle"), getNestedCardTextColor(background), ctaClassName), children: [
|
|
@@ -40859,11 +40977,11 @@ function ArticleBreadcrumbSocialComponent({
|
|
|
40859
40977
|
patternOpacity
|
|
40860
40978
|
}) {
|
|
40861
40979
|
const author = authorProp ?? (authorName ? { name: authorName, image: authorImage, role: authorRole } : void 0);
|
|
40862
|
-
const [activeSection, setActiveSection] =
|
|
40980
|
+
const [activeSection, setActiveSection] = React51.useState(
|
|
40863
40981
|
sections?.[0]?.id || ""
|
|
40864
40982
|
);
|
|
40865
|
-
const [showBackToTop, setShowBackToTop] =
|
|
40866
|
-
|
|
40983
|
+
const [showBackToTop, setShowBackToTop] = React51.useState(false);
|
|
40984
|
+
React51.useEffect(() => {
|
|
40867
40985
|
if (!enableTocTracking || !sections || sections.length === 0) return;
|
|
40868
40986
|
const observer = new IntersectionObserver(
|
|
40869
40987
|
(entries) => {
|
|
@@ -40881,7 +40999,7 @@ function ArticleBreadcrumbSocialComponent({
|
|
|
40881
40999
|
});
|
|
40882
41000
|
return () => observer.disconnect();
|
|
40883
41001
|
}, [sections, enableTocTracking]);
|
|
40884
|
-
|
|
41002
|
+
React51.useEffect(() => {
|
|
40885
41003
|
if (!enableBackToTop) return;
|
|
40886
41004
|
const handleScroll = () => {
|
|
40887
41005
|
setShowBackToTop(window.scrollY > 400);
|
|
@@ -40889,15 +41007,15 @@ function ArticleBreadcrumbSocialComponent({
|
|
|
40889
41007
|
window.addEventListener("scroll", handleScroll);
|
|
40890
41008
|
return () => window.removeEventListener("scroll", handleScroll);
|
|
40891
41009
|
}, [enableBackToTop]);
|
|
40892
|
-
const scrollToTop =
|
|
41010
|
+
const scrollToTop = React51.useCallback(() => {
|
|
40893
41011
|
window.scrollTo({ top: 0, behavior: "smooth" });
|
|
40894
41012
|
}, []);
|
|
40895
|
-
const breadcrumbsContent =
|
|
41013
|
+
const breadcrumbsContent = React51.useMemo(() => {
|
|
40896
41014
|
if (breadcrumbsSlot) return breadcrumbsSlot;
|
|
40897
41015
|
if (!breadcrumbs || breadcrumbs.length === 0) return null;
|
|
40898
41016
|
return /* @__PURE__ */ jsx(Breadcrumb, { className: cn("mb-8", breadcrumbClassName), children: /* @__PURE__ */ jsxs(BreadcrumbList, { children: [
|
|
40899
41017
|
/* @__PURE__ */ jsx(BreadcrumbItem, { children: /* @__PURE__ */ jsx(BreadcrumbLink, { asChild: true, children: /* @__PURE__ */ jsx(Pressable, { href: "#", children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/home", size: 16 }) }) }) }),
|
|
40900
|
-
breadcrumbs.map((crumb, index) => /* @__PURE__ */ jsxs(
|
|
41018
|
+
breadcrumbs.map((crumb, index) => /* @__PURE__ */ jsxs(React51.Fragment, { children: [
|
|
40901
41019
|
/* @__PURE__ */ jsx(BreadcrumbSeparator, {}),
|
|
40902
41020
|
/* @__PURE__ */ jsx(BreadcrumbItem, { children: /* @__PURE__ */ jsx(BreadcrumbLink, { asChild: true, children: /* @__PURE__ */ jsx(Pressable, { href: crumb.href, children: crumb.label }) }) })
|
|
40903
41021
|
] }, index)),
|
|
@@ -40907,7 +41025,7 @@ function ArticleBreadcrumbSocialComponent({
|
|
|
40907
41025
|
] })
|
|
40908
41026
|
] }) });
|
|
40909
41027
|
}, [breadcrumbsSlot, breadcrumbs, currentPage, breadcrumbClassName]);
|
|
40910
|
-
const authorContent =
|
|
41028
|
+
const authorContent = React51.useMemo(() => {
|
|
40911
41029
|
if (authorSlot) return authorSlot;
|
|
40912
41030
|
if (!author) return null;
|
|
40913
41031
|
return /* @__PURE__ */ jsxs(
|
|
@@ -40930,7 +41048,7 @@ function ArticleBreadcrumbSocialComponent({
|
|
|
40930
41048
|
}
|
|
40931
41049
|
);
|
|
40932
41050
|
}, [authorSlot, author, publishDate, readTime, authorClassName]);
|
|
40933
|
-
const heroMediaContent =
|
|
41051
|
+
const heroMediaContent = React51.useMemo(() => {
|
|
40934
41052
|
if (heroMediaSlot) return heroMediaSlot;
|
|
40935
41053
|
if (!heroImageSrc) return null;
|
|
40936
41054
|
return /* @__PURE__ */ jsx(
|
|
@@ -40952,7 +41070,7 @@ function ArticleBreadcrumbSocialComponent({
|
|
|
40952
41070
|
heroImageClassName,
|
|
40953
41071
|
optixFlowConfig
|
|
40954
41072
|
]);
|
|
40955
|
-
const tocContent =
|
|
41073
|
+
const tocContent = React51.useMemo(() => {
|
|
40956
41074
|
if (tocSlot) return tocSlot;
|
|
40957
41075
|
if (!sections || sections.length === 0) return null;
|
|
40958
41076
|
return /* @__PURE__ */ jsxs("div", { className: cn("rounded-lg border p-4", tocClassName), children: [
|
|
@@ -40960,7 +41078,7 @@ function ArticleBreadcrumbSocialComponent({
|
|
|
40960
41078
|
/* @__PURE__ */ jsx("nav", { className: "space-y-2", children: sections.map((section) => {
|
|
40961
41079
|
const isActive = activeSection === section.id;
|
|
40962
41080
|
if (renderSectionLink) {
|
|
40963
|
-
return /* @__PURE__ */ jsx(
|
|
41081
|
+
return /* @__PURE__ */ jsx(React51.Fragment, { children: renderSectionLink(section, isActive) }, section.id);
|
|
40964
41082
|
}
|
|
40965
41083
|
return /* @__PURE__ */ jsx(
|
|
40966
41084
|
Pressable,
|
|
@@ -41065,11 +41183,11 @@ function ArticleCompactTocComponent({
|
|
|
41065
41183
|
pattern,
|
|
41066
41184
|
patternOpacity
|
|
41067
41185
|
}) {
|
|
41068
|
-
const [activeSection, setActiveSection] =
|
|
41186
|
+
const [activeSection, setActiveSection] = React51.useState(
|
|
41069
41187
|
sections?.[0]?.id || ""
|
|
41070
41188
|
);
|
|
41071
|
-
const [isTocOpen, setIsTocOpen] =
|
|
41072
|
-
|
|
41189
|
+
const [isTocOpen, setIsTocOpen] = React51.useState(false);
|
|
41190
|
+
React51.useEffect(() => {
|
|
41073
41191
|
if (!enableTocTracking) return;
|
|
41074
41192
|
const observer = new IntersectionObserver(
|
|
41075
41193
|
(entries) => {
|
|
@@ -41087,12 +41205,12 @@ function ArticleCompactTocComponent({
|
|
|
41087
41205
|
});
|
|
41088
41206
|
return () => observer.disconnect();
|
|
41089
41207
|
}, [sections, enableTocTracking]);
|
|
41090
|
-
const breadcrumbsContent =
|
|
41208
|
+
const breadcrumbsContent = React51.useMemo(() => {
|
|
41091
41209
|
if (breadcrumbsSlot) return breadcrumbsSlot;
|
|
41092
41210
|
if (!breadcrumbs && !currentPage) return null;
|
|
41093
41211
|
return /* @__PURE__ */ jsx(Breadcrumb, { className: cn("mb-6 md:mb-20", breadcrumbClassName), children: /* @__PURE__ */ jsxs(BreadcrumbList, { children: [
|
|
41094
41212
|
/* @__PURE__ */ jsx(BreadcrumbItem, { children: /* @__PURE__ */ jsx(BreadcrumbLink, { asChild: true, children: /* @__PURE__ */ jsx(Pressable, { href: "#", children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/home", size: 16 }) }) }) }),
|
|
41095
|
-
breadcrumbs?.map((crumb, index) => /* @__PURE__ */ jsxs(
|
|
41213
|
+
breadcrumbs?.map((crumb, index) => /* @__PURE__ */ jsxs(React51.Fragment, { children: [
|
|
41096
41214
|
/* @__PURE__ */ jsx(BreadcrumbSeparator, {}),
|
|
41097
41215
|
/* @__PURE__ */ jsx(BreadcrumbItem, { children: /* @__PURE__ */ jsx(BreadcrumbLink, { asChild: true, children: /* @__PURE__ */ jsx(Pressable, { href: crumb.href, children: crumb.label }) }) })
|
|
41098
41216
|
] }, index)),
|
|
@@ -41100,7 +41218,7 @@ function ArticleCompactTocComponent({
|
|
|
41100
41218
|
/* @__PURE__ */ jsx(BreadcrumbItem, { children: /* @__PURE__ */ jsx(BreadcrumbPage, { children: currentPage }) })
|
|
41101
41219
|
] }) });
|
|
41102
41220
|
}, [breadcrumbsSlot, breadcrumbs, currentPage, breadcrumbClassName]);
|
|
41103
|
-
const shareContent =
|
|
41221
|
+
const shareContent = React51.useMemo(() => {
|
|
41104
41222
|
if (shareSlot) return shareSlot;
|
|
41105
41223
|
if (!socialLinks || socialLinks.length === 0) return null;
|
|
41106
41224
|
return /* @__PURE__ */ jsxs("div", { className: cn("mt-6 flex items-center gap-2", shareClassName), children: [
|
|
@@ -41117,13 +41235,13 @@ function ArticleCompactTocComponent({
|
|
|
41117
41235
|
))
|
|
41118
41236
|
] });
|
|
41119
41237
|
}, [shareSlot, socialLinks, shareClassName]);
|
|
41120
|
-
const renderTocLinks =
|
|
41238
|
+
const renderTocLinks = React51.useCallback(
|
|
41121
41239
|
(onLinkClick) => {
|
|
41122
41240
|
if (!sections) return null;
|
|
41123
41241
|
return sections.map((section) => {
|
|
41124
41242
|
const isActive = activeSection === section.id;
|
|
41125
41243
|
if (renderSectionLink) {
|
|
41126
|
-
return /* @__PURE__ */ jsx(
|
|
41244
|
+
return /* @__PURE__ */ jsx(React51.Fragment, { children: renderSectionLink(section, isActive) }, section.id);
|
|
41127
41245
|
}
|
|
41128
41246
|
return /* @__PURE__ */ jsx(
|
|
41129
41247
|
Pressable,
|
|
@@ -41142,7 +41260,7 @@ function ArticleCompactTocComponent({
|
|
|
41142
41260
|
},
|
|
41143
41261
|
[sections, activeSection, renderSectionLink]
|
|
41144
41262
|
);
|
|
41145
|
-
const tocContent =
|
|
41263
|
+
const tocContent = React51.useMemo(() => {
|
|
41146
41264
|
if (tocSlot) return tocSlot;
|
|
41147
41265
|
if (!sections || sections.length === 0) return null;
|
|
41148
41266
|
return /* @__PURE__ */ jsx("div", { className: "mb-8 lg:hidden", children: /* @__PURE__ */ jsxs(Popover, { open: isTocOpen, onOpenChange: setIsTocOpen, children: [
|
|
@@ -41175,7 +41293,7 @@ function ArticleCompactTocComponent({
|
|
|
41175
41293
|
)
|
|
41176
41294
|
] }) });
|
|
41177
41295
|
}, [tocSlot, sections, isTocOpen, tocClassName, renderTocLinks]);
|
|
41178
|
-
const desktopTocContent =
|
|
41296
|
+
const desktopTocContent = React51.useMemo(() => {
|
|
41179
41297
|
if (tocSlot) return null;
|
|
41180
41298
|
if (!sections || sections.length === 0) return null;
|
|
41181
41299
|
return /* @__PURE__ */ jsx(
|
|
@@ -41192,7 +41310,7 @@ function ArticleCompactTocComponent({
|
|
|
41192
41310
|
}
|
|
41193
41311
|
);
|
|
41194
41312
|
}, [tocSlot, sections, tocClassName, renderTocLinks]);
|
|
41195
|
-
const heroMediaContent =
|
|
41313
|
+
const heroMediaContent = React51.useMemo(() => {
|
|
41196
41314
|
if (heroMediaSlot) return heroMediaSlot;
|
|
41197
41315
|
if (!heroImageSrc) return null;
|
|
41198
41316
|
return /* @__PURE__ */ jsx(
|
|
@@ -41322,10 +41440,10 @@ function ArticleChaptersAuthorComponent({
|
|
|
41322
41440
|
variant: "default"
|
|
41323
41441
|
}
|
|
41324
41442
|
] : []);
|
|
41325
|
-
const [activeChapter, setActiveChapter] =
|
|
41443
|
+
const [activeChapter, setActiveChapter] = React51.useState(
|
|
41326
41444
|
chapters?.[0]?.id || ""
|
|
41327
41445
|
);
|
|
41328
|
-
|
|
41446
|
+
React51.useEffect(() => {
|
|
41329
41447
|
if (!enableChapterTracking || !chapters || chapters.length === 0) return;
|
|
41330
41448
|
const observer = new IntersectionObserver(
|
|
41331
41449
|
(entries) => {
|
|
@@ -41343,12 +41461,12 @@ function ArticleChaptersAuthorComponent({
|
|
|
41343
41461
|
});
|
|
41344
41462
|
return () => observer.disconnect();
|
|
41345
41463
|
}, [chapters, enableChapterTracking]);
|
|
41346
|
-
const breadcrumbsContent =
|
|
41464
|
+
const breadcrumbsContent = React51.useMemo(() => {
|
|
41347
41465
|
if (breadcrumbsSlot) return breadcrumbsSlot;
|
|
41348
41466
|
if (!breadcrumbs || breadcrumbs.length === 0) return null;
|
|
41349
41467
|
return /* @__PURE__ */ jsx(Breadcrumb, { className: cn("mb-8 md:mb-20", breadcrumbClassName), children: /* @__PURE__ */ jsxs(BreadcrumbList, { children: [
|
|
41350
41468
|
/* @__PURE__ */ jsx(BreadcrumbItem, { children: /* @__PURE__ */ jsx(BreadcrumbLink, { asChild: true, children: /* @__PURE__ */ jsx(Pressable, { href: "#", children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/home", size: 16 }) }) }) }),
|
|
41351
|
-
breadcrumbs.map((crumb, index) => /* @__PURE__ */ jsxs(
|
|
41469
|
+
breadcrumbs.map((crumb, index) => /* @__PURE__ */ jsxs(React51.Fragment, { children: [
|
|
41352
41470
|
/* @__PURE__ */ jsx(BreadcrumbSeparator, {}),
|
|
41353
41471
|
/* @__PURE__ */ jsx(BreadcrumbItem, { children: /* @__PURE__ */ jsx(BreadcrumbLink, { asChild: true, children: /* @__PURE__ */ jsx(Pressable, { href: crumb.href, children: crumb.label }) }) })
|
|
41354
41472
|
] }, index)),
|
|
@@ -41356,7 +41474,7 @@ function ArticleChaptersAuthorComponent({
|
|
|
41356
41474
|
/* @__PURE__ */ jsx(BreadcrumbItem, { children: /* @__PURE__ */ jsx(BreadcrumbPage, { children: typeof currentPage === "string" ? currentPage : currentPage }) })
|
|
41357
41475
|
] }) });
|
|
41358
41476
|
}, [breadcrumbsSlot, breadcrumbs, currentPage, breadcrumbClassName]);
|
|
41359
|
-
const chaptersNavContent =
|
|
41477
|
+
const chaptersNavContent = React51.useMemo(() => {
|
|
41360
41478
|
if (chaptersSlot) return chaptersSlot;
|
|
41361
41479
|
if (!chapters || chapters.length === 0) return null;
|
|
41362
41480
|
return /* @__PURE__ */ jsxs("div", { className: cn("rounded-lg border p-4", chaptersClassName), children: [
|
|
@@ -41364,7 +41482,7 @@ function ArticleChaptersAuthorComponent({
|
|
|
41364
41482
|
/* @__PURE__ */ jsx("nav", { className: "space-y-2", children: chapters.map((chapter) => {
|
|
41365
41483
|
const isActive = activeChapter === chapter.id;
|
|
41366
41484
|
if (renderChapterLink) {
|
|
41367
|
-
return /* @__PURE__ */ jsx(
|
|
41485
|
+
return /* @__PURE__ */ jsx(React51.Fragment, { children: renderChapterLink(chapter, isActive) }, chapter.id);
|
|
41368
41486
|
}
|
|
41369
41487
|
return /* @__PURE__ */ jsxs(
|
|
41370
41488
|
Pressable,
|
|
@@ -41390,7 +41508,7 @@ function ArticleChaptersAuthorComponent({
|
|
|
41390
41508
|
renderChapterLink,
|
|
41391
41509
|
chaptersClassName
|
|
41392
41510
|
]);
|
|
41393
|
-
const authorCardContent =
|
|
41511
|
+
const authorCardContent = React51.useMemo(() => {
|
|
41394
41512
|
if (authorSlot) return authorSlot;
|
|
41395
41513
|
if (!author) return null;
|
|
41396
41514
|
let socialLinksContent = null;
|
|
@@ -41451,7 +41569,7 @@ function ArticleChaptersAuthorComponent({
|
|
|
41451
41569
|
socialLinksContent
|
|
41452
41570
|
] });
|
|
41453
41571
|
}, [authorSlot, author, authorClassName]);
|
|
41454
|
-
const heroMediaContent =
|
|
41572
|
+
const heroMediaContent = React51.useMemo(() => {
|
|
41455
41573
|
if (heroMediaSlot) return heroMediaSlot;
|
|
41456
41574
|
if (!heroImageSrc) return null;
|
|
41457
41575
|
return /* @__PURE__ */ jsx(
|
|
@@ -41473,7 +41591,7 @@ function ArticleChaptersAuthorComponent({
|
|
|
41473
41591
|
heroImageClassName,
|
|
41474
41592
|
optixFlowConfig
|
|
41475
41593
|
]);
|
|
41476
|
-
const conclusionContent =
|
|
41594
|
+
const conclusionContent = React51.useMemo(() => {
|
|
41477
41595
|
if (conclusionSlot) return conclusionSlot;
|
|
41478
41596
|
if (!conclusionTitle && !conclusionDescription && (!conclusionActions || conclusionActions.length === 0))
|
|
41479
41597
|
return null;
|
|
@@ -41618,7 +41736,7 @@ function ArticleSplitAnimatedComponent({
|
|
|
41618
41736
|
}) {
|
|
41619
41737
|
const ctaActions = ctaActionsProp ?? (ctaText ? [{ label: ctaText, href: ctaHref || "#", variant: "default", size: "lg" }] : []);
|
|
41620
41738
|
const MotionWrapper = enableAnimations ? motion.div : "div";
|
|
41621
|
-
const categoryContent =
|
|
41739
|
+
const categoryContent = React51.useMemo(() => {
|
|
41622
41740
|
if (categorySlot) return categorySlot;
|
|
41623
41741
|
if (!category) return null;
|
|
41624
41742
|
return /* @__PURE__ */ jsx(
|
|
@@ -41633,7 +41751,7 @@ function ArticleSplitAnimatedComponent({
|
|
|
41633
41751
|
}
|
|
41634
41752
|
);
|
|
41635
41753
|
}, [categorySlot, category, categoryHref, categoryClassName]);
|
|
41636
|
-
const heroMediaContent =
|
|
41754
|
+
const heroMediaContent = React51.useMemo(() => {
|
|
41637
41755
|
if (heroMediaSlot) return heroMediaSlot;
|
|
41638
41756
|
if (!image) return null;
|
|
41639
41757
|
return /* @__PURE__ */ jsx(
|
|
@@ -41646,7 +41764,7 @@ function ArticleSplitAnimatedComponent({
|
|
|
41646
41764
|
}
|
|
41647
41765
|
);
|
|
41648
41766
|
}, [heroMediaSlot, image, imageAlt, title, optixFlowConfig]);
|
|
41649
|
-
const authorContent =
|
|
41767
|
+
const authorContent = React51.useMemo(() => {
|
|
41650
41768
|
if (authorSlot) return authorSlot;
|
|
41651
41769
|
if (!authorName) return null;
|
|
41652
41770
|
return /* @__PURE__ */ jsxs("div", { className: cn("mt-8 flex items-center gap-4", authorClassName), children: [
|
|
@@ -41660,7 +41778,7 @@ function ArticleSplitAnimatedComponent({
|
|
|
41660
41778
|
] })
|
|
41661
41779
|
] });
|
|
41662
41780
|
}, [authorSlot, authorName, authorImage, authorHref, authorRole, authorClassName]);
|
|
41663
|
-
const ctaContent =
|
|
41781
|
+
const ctaContent = React51.useMemo(() => {
|
|
41664
41782
|
if (ctaSlot) return ctaSlot;
|
|
41665
41783
|
if (!ctaActions || ctaActions.length === 0) return null;
|
|
41666
41784
|
return /* @__PURE__ */ jsx("div", { className: cn("mt-8 flex flex-wrap gap-3", ctaClassName), children: ctaActions.map((action, index) => {
|
|
@@ -43083,7 +43201,7 @@ function FaqSidebarNavigation({
|
|
|
43083
43201
|
accordionTriggerClassName,
|
|
43084
43202
|
accordionContentClassName
|
|
43085
43203
|
}) {
|
|
43086
|
-
const [activeCategory, setActiveCategory] =
|
|
43204
|
+
const [activeCategory, setActiveCategory] = React51.useState(
|
|
43087
43205
|
categories && categories.length > 1 ? "all" : categories?.[0]?.id || ""
|
|
43088
43206
|
);
|
|
43089
43207
|
const filteredCategories = useMemo(() => {
|
|
@@ -43972,7 +44090,7 @@ function FaqSplitHero({
|
|
|
43972
44090
|
imageArea
|
|
43973
44091
|
] }) });
|
|
43974
44092
|
}
|
|
43975
|
-
var Controls =
|
|
44093
|
+
var Controls = React51.memo(
|
|
43976
44094
|
({
|
|
43977
44095
|
handleNext,
|
|
43978
44096
|
handlePrevious,
|
|
@@ -44003,7 +44121,7 @@ var Controls = React52.memo(
|
|
|
44003
44121
|
] });
|
|
44004
44122
|
}
|
|
44005
44123
|
);
|
|
44006
|
-
var FeatureCard =
|
|
44124
|
+
var FeatureCard = React51.memo(
|
|
44007
44125
|
({ feature, isActive, onClick }) => {
|
|
44008
44126
|
const variants2 = useMemo(
|
|
44009
44127
|
() => ({
|
|
@@ -44111,7 +44229,7 @@ var FeatureCard = React52.memo(
|
|
|
44111
44229
|
) });
|
|
44112
44230
|
}
|
|
44113
44231
|
);
|
|
44114
|
-
var FeaturesDesktop =
|
|
44232
|
+
var FeaturesDesktop = React51.memo(
|
|
44115
44233
|
({
|
|
44116
44234
|
features,
|
|
44117
44235
|
handleNext,
|
|
@@ -44145,7 +44263,7 @@ var FeaturesDesktop = React52.memo(
|
|
|
44145
44263
|
] });
|
|
44146
44264
|
}
|
|
44147
44265
|
);
|
|
44148
|
-
var FeaturesMobile =
|
|
44266
|
+
var FeaturesMobile = React51.memo(
|
|
44149
44267
|
({
|
|
44150
44268
|
features,
|
|
44151
44269
|
handleNext,
|
|
@@ -44236,8 +44354,8 @@ function FeatureAnimatedCarousel({
|
|
|
44236
44354
|
spacing = "py-12 md:py-32",
|
|
44237
44355
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8"
|
|
44238
44356
|
}) {
|
|
44239
|
-
const [activeIndex, setActiveIndex] =
|
|
44240
|
-
const [direction, setDirection] =
|
|
44357
|
+
const [activeIndex, setActiveIndex] = React51.useState(0);
|
|
44358
|
+
const [direction, setDirection] = React51.useState(1);
|
|
44241
44359
|
const handleNext = useCallback(() => {
|
|
44242
44360
|
if (features && activeIndex < features.length - 1) {
|
|
44243
44361
|
setDirection(1);
|
|
@@ -45099,7 +45217,7 @@ function FooterInfoCardsAccordion({
|
|
|
45099
45217
|
patternOpacity,
|
|
45100
45218
|
optixFlowConfig
|
|
45101
45219
|
}) {
|
|
45102
|
-
const [email, setEmail] =
|
|
45220
|
+
const [email, setEmail] = React51.useState("");
|
|
45103
45221
|
(/* @__PURE__ */ new Date()).getFullYear();
|
|
45104
45222
|
const handleSubmit = (e) => {
|
|
45105
45223
|
e.preventDefault();
|
|
@@ -45404,13 +45522,13 @@ function CaseStudiesImageGrid({
|
|
|
45404
45522
|
patternOpacity,
|
|
45405
45523
|
optixFlowConfig
|
|
45406
45524
|
}) {
|
|
45407
|
-
const getGridClass =
|
|
45525
|
+
const getGridClass = React51.useCallback((index) => {
|
|
45408
45526
|
if (index === 0 || index === 4) {
|
|
45409
45527
|
return "row-span-2 aspect-square lg:aspect-auto";
|
|
45410
45528
|
}
|
|
45411
45529
|
return "aspect-3/2 md:aspect-2/1";
|
|
45412
45530
|
}, []);
|
|
45413
|
-
const renderedItems =
|
|
45531
|
+
const renderedItems = React51.useMemo(() => {
|
|
45414
45532
|
if (itemsSlot) return itemsSlot;
|
|
45415
45533
|
if (!items || items.length === 0) return null;
|
|
45416
45534
|
return items.map((item, index) => /* @__PURE__ */ jsxs(
|
|
@@ -45496,7 +45614,7 @@ function CaseStudiesTestimonialStats({
|
|
|
45496
45614
|
patternOpacity,
|
|
45497
45615
|
optixFlowConfig
|
|
45498
45616
|
}) {
|
|
45499
|
-
const renderedTestimonials =
|
|
45617
|
+
const renderedTestimonials = React51.useMemo(() => {
|
|
45500
45618
|
if (testimonialsSlot) return testimonialsSlot;
|
|
45501
45619
|
if (!testimonials || testimonials.length === 0) return null;
|
|
45502
45620
|
return testimonials.map((testimonial, index) => /* @__PURE__ */ jsxs("div", { className: testimonialItemClassName, children: [
|
|
@@ -48969,7 +49087,7 @@ function CaseStudiesFeaturedBorder({
|
|
|
48969
49087
|
patternOpacity,
|
|
48970
49088
|
optixFlowConfig
|
|
48971
49089
|
}) {
|
|
48972
|
-
const renderedFeatured =
|
|
49090
|
+
const renderedFeatured = React51.useMemo(() => {
|
|
48973
49091
|
if (featuredSlot) return featuredSlot;
|
|
48974
49092
|
if (!featuredCaseStudy) return null;
|
|
48975
49093
|
return /* @__PURE__ */ jsxs(
|
|
@@ -49043,7 +49161,7 @@ function CaseStudiesFeaturedBorder({
|
|
|
49043
49161
|
featuredImageClassName,
|
|
49044
49162
|
optixFlowConfig
|
|
49045
49163
|
]);
|
|
49046
|
-
const renderedCaseStudies =
|
|
49164
|
+
const renderedCaseStudies = React51.useMemo(() => {
|
|
49047
49165
|
if (caseStudiesSlot) return caseStudiesSlot;
|
|
49048
49166
|
if (!caseStudies || caseStudies.length === 0) return null;
|
|
49049
49167
|
return caseStudies.map((item, idx) => /* @__PURE__ */ jsxs(
|
|
@@ -49152,7 +49270,7 @@ function CaseStudiesStatsCard({
|
|
|
49152
49270
|
patternOpacity,
|
|
49153
49271
|
optixFlowConfig
|
|
49154
49272
|
}) {
|
|
49155
|
-
const renderedStats =
|
|
49273
|
+
const renderedStats = React51.useMemo(() => {
|
|
49156
49274
|
if (statsSlot) return statsSlot;
|
|
49157
49275
|
if (!stats || stats.length === 0) return null;
|
|
49158
49276
|
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: [
|
|
@@ -49160,7 +49278,7 @@ function CaseStudiesStatsCard({
|
|
|
49160
49278
|
/* @__PURE__ */ jsx("div", { className: "text-sm font-medium text-muted-foreground", children: item.text })
|
|
49161
49279
|
] }, `stats-${i}`)) });
|
|
49162
49280
|
}, [statsSlot, stats, statsClassName]);
|
|
49163
|
-
const renderedAuthor =
|
|
49281
|
+
const renderedAuthor = React51.useMemo(() => {
|
|
49164
49282
|
if (authorSlot) return authorSlot;
|
|
49165
49283
|
if (!author) return null;
|
|
49166
49284
|
return /* @__PURE__ */ jsxs("div", { className: cn("flex items-center gap-2.5", authorClassName), children: [
|
|
@@ -49174,7 +49292,7 @@ function CaseStudiesStatsCard({
|
|
|
49174
49292
|
] })
|
|
49175
49293
|
] });
|
|
49176
49294
|
}, [authorSlot, author, authorClassName]);
|
|
49177
|
-
const renderedActions =
|
|
49295
|
+
const renderedActions = React51.useMemo(() => {
|
|
49178
49296
|
if (actionsSlot) return actionsSlot;
|
|
49179
49297
|
if (!actions || actions.length === 0) return null;
|
|
49180
49298
|
return /* @__PURE__ */ jsx("div", { className: cn("shrink-0", actionsClassName), children: actions.map((action, index) => {
|
|
@@ -50662,7 +50780,7 @@ function HeroCenteredImageGrid({
|
|
|
50662
50780
|
return logos.map((logo, index) => {
|
|
50663
50781
|
const src = typeof logo.src === "string" ? logo.src : logo.src.light;
|
|
50664
50782
|
typeof logo.src === "string" ? logo.src : logo.src.dark;
|
|
50665
|
-
return /* @__PURE__ */ jsx(
|
|
50783
|
+
return /* @__PURE__ */ jsx(React51.Fragment, { children: /* @__PURE__ */ jsx(
|
|
50666
50784
|
Img,
|
|
50667
50785
|
{
|
|
50668
50786
|
src,
|
|
@@ -58896,7 +59014,7 @@ function HeroEcommerceProductShowcase({
|
|
|
58896
59014
|
const renderStats = useMemo(() => {
|
|
58897
59015
|
if (statsSlot) return statsSlot;
|
|
58898
59016
|
if (!stats || stats.length === 0) return null;
|
|
58899
|
-
return /* @__PURE__ */ jsx("div", { className: cn("flex items-center gap-6 pt-4", statsClassName), children: stats.map((stat, index) => /* @__PURE__ */ jsxs(
|
|
59017
|
+
return /* @__PURE__ */ jsx("div", { className: cn("flex items-center gap-6 pt-4", statsClassName), children: stats.map((stat, index) => /* @__PURE__ */ jsxs(React51.Fragment, { children: [
|
|
58900
59018
|
index > 0 && /* @__PURE__ */ jsx("div", { className: "h-12 w-px bg-border" }),
|
|
58901
59019
|
/* @__PURE__ */ jsxs("div", { className: "text-center", children: [
|
|
58902
59020
|
/* @__PURE__ */ jsx("div", { className: "text-2xl font-bold ", children: stat.value }),
|
|
@@ -59792,7 +59910,7 @@ function ComparisonTableTwoColumn({
|
|
|
59792
59910
|
patternOpacity,
|
|
59793
59911
|
optixFlowConfig
|
|
59794
59912
|
}) {
|
|
59795
|
-
const tableContent =
|
|
59913
|
+
const tableContent = React51.useMemo(() => {
|
|
59796
59914
|
if (tableSlot) return tableSlot;
|
|
59797
59915
|
if (!rows || rows.length === 0) return null;
|
|
59798
59916
|
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(
|
|
@@ -59822,7 +59940,7 @@ function ComparisonTableTwoColumn({
|
|
|
59822
59940
|
optixFlowConfig
|
|
59823
59941
|
}
|
|
59824
59942
|
) : optionBLabel && (typeof optionBLabel === "string" ? /* @__PURE__ */ jsx("span", { className: "text-lg font-semibold", children: optionBLabel }) : optionBLabel) }),
|
|
59825
|
-
rows.map((row, idx) => /* @__PURE__ */ jsxs(
|
|
59943
|
+
rows.map((row, idx) => /* @__PURE__ */ jsxs(React51.Fragment, { children: [
|
|
59826
59944
|
/* @__PURE__ */ jsx("div", { className: "flex items-center border-b p-3 text-base font-medium md:p-4 md:text-lg", children: row.label }),
|
|
59827
59945
|
/* @__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: [
|
|
59828
59946
|
row.hasIcon && /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/circle-check-big", size: 20, className: "text-success" }),
|
|
@@ -59851,14 +59969,14 @@ function ComparisonTableTwoColumn({
|
|
|
59851
59969
|
optionBLabel,
|
|
59852
59970
|
optixFlowConfig
|
|
59853
59971
|
]);
|
|
59854
|
-
const headingContent =
|
|
59972
|
+
const headingContent = React51.useMemo(() => {
|
|
59855
59973
|
if (!heading) return null;
|
|
59856
59974
|
if (typeof heading === "string") {
|
|
59857
59975
|
return /* @__PURE__ */ jsx("h1", { className: cn("mb-8 text-3xl font-bold md:mb-12 md:text-5xl", headingClassName), children: heading });
|
|
59858
59976
|
}
|
|
59859
59977
|
return /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading });
|
|
59860
59978
|
}, [heading, headingClassName]);
|
|
59861
|
-
const descriptionContent =
|
|
59979
|
+
const descriptionContent = React51.useMemo(() => {
|
|
59862
59980
|
if (!description) return null;
|
|
59863
59981
|
if (typeof description === "string") {
|
|
59864
59982
|
return /* @__PURE__ */ jsx("p", { className: cn("mb-8 text-muted-foreground md:text-lg", descriptionClassName), children: description });
|
|
@@ -59905,7 +60023,7 @@ function ComparisonFeatureCards({
|
|
|
59905
60023
|
patternOpacity,
|
|
59906
60024
|
optixFlowConfig
|
|
59907
60025
|
}) {
|
|
59908
|
-
const renderCard =
|
|
60026
|
+
const renderCard = React51.useCallback(
|
|
59909
60027
|
(product, isHighlighted) => /* @__PURE__ */ jsxs(
|
|
59910
60028
|
"div",
|
|
59911
60029
|
{
|
|
@@ -59961,7 +60079,7 @@ function ComparisonFeatureCards({
|
|
|
59961
60079
|
),
|
|
59962
60080
|
[cardClassName, optixFlowConfig]
|
|
59963
60081
|
);
|
|
59964
|
-
const cardsContent =
|
|
60082
|
+
const cardsContent = React51.useMemo(() => {
|
|
59965
60083
|
if (cardsSlot) return cardsSlot;
|
|
59966
60084
|
if (!productA || !productB) return null;
|
|
59967
60085
|
return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
@@ -59969,28 +60087,28 @@ function ComparisonFeatureCards({
|
|
|
59969
60087
|
renderCard(productB, productB.highlighted ?? false)
|
|
59970
60088
|
] });
|
|
59971
60089
|
}, [cardsSlot, productA, productB, renderCard]);
|
|
59972
|
-
const headingContent =
|
|
60090
|
+
const headingContent = React51.useMemo(() => {
|
|
59973
60091
|
if (!heading) return null;
|
|
59974
60092
|
if (typeof heading === "string") {
|
|
59975
60093
|
return /* @__PURE__ */ jsx("h1", { className: cn("mb-6 text-4xl font-semibold md:text-7xl", headingClassName), children: heading });
|
|
59976
60094
|
}
|
|
59977
60095
|
return /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading });
|
|
59978
60096
|
}, [heading, headingClassName]);
|
|
59979
|
-
const descriptionContent =
|
|
60097
|
+
const descriptionContent = React51.useMemo(() => {
|
|
59980
60098
|
if (!description) return null;
|
|
59981
60099
|
if (typeof description === "string") {
|
|
59982
60100
|
return /* @__PURE__ */ jsx("p", { className: cn("mx-auto max-w-4xl text-muted-foreground md:text-xl", descriptionClassName), children: description });
|
|
59983
60101
|
}
|
|
59984
60102
|
return /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description });
|
|
59985
60103
|
}, [description, descriptionClassName]);
|
|
59986
|
-
const suitabilityContent =
|
|
60104
|
+
const suitabilityContent = React51.useMemo(() => {
|
|
59987
60105
|
if (!suitabilityTitle && !suitabilityDescription) return null;
|
|
59988
60106
|
return /* @__PURE__ */ jsxs("div", { className: suitabilityClassName, children: [
|
|
59989
60107
|
suitabilityTitle && (typeof suitabilityTitle === "string" ? /* @__PURE__ */ jsx("h2", { className: "mb-4 text-3xl font-semibold", children: suitabilityTitle }) : suitabilityTitle),
|
|
59990
60108
|
suitabilityDescription && (typeof suitabilityDescription === "string" ? /* @__PURE__ */ jsx("p", { className: "leading-6 text-muted-foreground md:text-lg", children: suitabilityDescription }) : suitabilityDescription)
|
|
59991
60109
|
] });
|
|
59992
60110
|
}, [suitabilityTitle, suitabilityDescription, suitabilityClassName]);
|
|
59993
|
-
const differencesContent =
|
|
60111
|
+
const differencesContent = React51.useMemo(() => {
|
|
59994
60112
|
if (!differencesTitle && !differencesDescription) return null;
|
|
59995
60113
|
return /* @__PURE__ */ jsxs("div", { className: cn("mt-16", differencesClassName), children: [
|
|
59996
60114
|
differencesTitle && (typeof differencesTitle === "string" ? /* @__PURE__ */ jsx("h2", { className: "mb-4 text-3xl font-semibold", children: differencesTitle }) : differencesTitle),
|
|
@@ -60038,7 +60156,7 @@ function ComparisonGridBadges({
|
|
|
60038
60156
|
pattern,
|
|
60039
60157
|
patternOpacity
|
|
60040
60158
|
}) {
|
|
60041
|
-
const featuresContent =
|
|
60159
|
+
const featuresContent = React51.useMemo(() => {
|
|
60042
60160
|
if (featuresSlot) return featuresSlot;
|
|
60043
60161
|
if (!features || features.length === 0) return null;
|
|
60044
60162
|
return features.map((feature, idx) => /* @__PURE__ */ jsxs(
|
|
@@ -60085,14 +60203,14 @@ function ComparisonGridBadges({
|
|
|
60085
60203
|
idx
|
|
60086
60204
|
));
|
|
60087
60205
|
}, [featuresSlot, features, featureCardClassName, badgeClassName, optionALabel, optionBLabel]);
|
|
60088
|
-
const headingContent =
|
|
60206
|
+
const headingContent = React51.useMemo(() => {
|
|
60089
60207
|
if (!heading) return null;
|
|
60090
60208
|
if (typeof heading === "string") {
|
|
60091
60209
|
return /* @__PURE__ */ jsx("h2", { className: cn("mb-4 text-3xl font-bold md:text-5xl", headingClassName), children: heading });
|
|
60092
60210
|
}
|
|
60093
60211
|
return /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading });
|
|
60094
60212
|
}, [heading, headingClassName]);
|
|
60095
|
-
const descriptionContent =
|
|
60213
|
+
const descriptionContent = React51.useMemo(() => {
|
|
60096
60214
|
if (!description) return null;
|
|
60097
60215
|
if (typeof description === "string") {
|
|
60098
60216
|
return /* @__PURE__ */ jsx("p", { className: cn("mx-auto max-w-2xl text-muted-foreground md:text-lg", descriptionClassName), children: description });
|
|
@@ -60140,7 +60258,7 @@ function ComparisonMetricsRows({
|
|
|
60140
60258
|
pattern,
|
|
60141
60259
|
patternOpacity
|
|
60142
60260
|
}) {
|
|
60143
|
-
const metricsContent =
|
|
60261
|
+
const metricsContent = React51.useMemo(() => {
|
|
60144
60262
|
if (metricsSlot) return metricsSlot;
|
|
60145
60263
|
if (!metrics || metrics.length === 0) return null;
|
|
60146
60264
|
return /* @__PURE__ */ jsx(
|
|
@@ -60180,7 +60298,7 @@ function ComparisonMetricsRows({
|
|
|
60180
60298
|
}
|
|
60181
60299
|
);
|
|
60182
60300
|
}, [metricsSlot, metrics, metricsClassName, metricRowClassName]);
|
|
60183
|
-
const actionsContent =
|
|
60301
|
+
const actionsContent = React51.useMemo(() => {
|
|
60184
60302
|
if (actionsSlot) return actionsSlot;
|
|
60185
60303
|
if (!actions || actions.length === 0) return null;
|
|
60186
60304
|
return /* @__PURE__ */ jsx("div", { className: cn("flex justify-end", actionsClassName), children: actions.map((action, idx) => /* @__PURE__ */ jsxs(
|
|
@@ -60201,7 +60319,7 @@ function ComparisonMetricsRows({
|
|
|
60201
60319
|
idx
|
|
60202
60320
|
)) });
|
|
60203
60321
|
}, [actionsSlot, actions, actionsClassName]);
|
|
60204
|
-
const headingContent =
|
|
60322
|
+
const headingContent = React51.useMemo(() => {
|
|
60205
60323
|
if (!heading) return null;
|
|
60206
60324
|
if (typeof heading === "string") {
|
|
60207
60325
|
return /* @__PURE__ */ jsx(
|
|
@@ -60217,7 +60335,7 @@ function ComparisonMetricsRows({
|
|
|
60217
60335
|
}
|
|
60218
60336
|
return /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading });
|
|
60219
60337
|
}, [heading, headingClassName]);
|
|
60220
|
-
const descriptionContent =
|
|
60338
|
+
const descriptionContent = React51.useMemo(() => {
|
|
60221
60339
|
if (!description) return null;
|
|
60222
60340
|
if (typeof description === "string") {
|
|
60223
60341
|
return /* @__PURE__ */ jsx("p", { className: cn("text-muted-foreground md:text-lg", descriptionClassName), children: description });
|
|
@@ -60280,7 +60398,7 @@ function ComparisonImageCards({
|
|
|
60280
60398
|
patternOpacity,
|
|
60281
60399
|
optixFlowConfig
|
|
60282
60400
|
}) {
|
|
60283
|
-
const renderCard =
|
|
60401
|
+
const renderCard = React51.useCallback(
|
|
60284
60402
|
(option) => /* @__PURE__ */ jsx("div", { className: cn("relative h-full", cardClassName), children: /* @__PURE__ */ jsxs("div", { className: cn(
|
|
60285
60403
|
"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]",
|
|
60286
60404
|
getNestedCardBg(background, "accent"),
|
|
@@ -60304,7 +60422,7 @@ function ComparisonImageCards({
|
|
|
60304
60422
|
] }) }),
|
|
60305
60423
|
[cardClassName, optixFlowConfig]
|
|
60306
60424
|
);
|
|
60307
|
-
const cardsContent =
|
|
60425
|
+
const cardsContent = React51.useMemo(() => {
|
|
60308
60426
|
if (cardsSlot) return cardsSlot;
|
|
60309
60427
|
if (!optionA || !optionB) return null;
|
|
60310
60428
|
return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
@@ -60322,14 +60440,14 @@ function ComparisonImageCards({
|
|
|
60322
60440
|
)
|
|
60323
60441
|
] });
|
|
60324
60442
|
}, [cardsSlot, optionA, optionB, dividerText, dividerClassName, renderCard]);
|
|
60325
|
-
const headingContent =
|
|
60443
|
+
const headingContent = React51.useMemo(() => {
|
|
60326
60444
|
if (!heading) return null;
|
|
60327
60445
|
if (typeof heading === "string") {
|
|
60328
60446
|
return /* @__PURE__ */ jsx("h2", { className: cn("text-3xl font-medium sm:text-4xl md:text-5xl lg:text-6xl", headingClassName), children: heading });
|
|
60329
60447
|
}
|
|
60330
60448
|
return /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading });
|
|
60331
60449
|
}, [heading, headingClassName]);
|
|
60332
|
-
const descriptionContent =
|
|
60450
|
+
const descriptionContent = React51.useMemo(() => {
|
|
60333
60451
|
if (!description) return null;
|
|
60334
60452
|
if (typeof description === "string") {
|
|
60335
60453
|
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 });
|
|
@@ -60459,7 +60577,7 @@ function ComparisonTableTabs({
|
|
|
60459
60577
|
patternOpacity
|
|
60460
60578
|
}) {
|
|
60461
60579
|
const [selectedTab, setSelectedTab] = useState(models?.[0]?.name || "");
|
|
60462
|
-
const renderStatusIcon =
|
|
60580
|
+
const renderStatusIcon = React51.useCallback((status) => {
|
|
60463
60581
|
if (status === "positive") {
|
|
60464
60582
|
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" }) });
|
|
60465
60583
|
}
|
|
@@ -60468,7 +60586,7 @@ function ComparisonTableTabs({
|
|
|
60468
60586
|
}
|
|
60469
60587
|
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" }) });
|
|
60470
60588
|
}, []);
|
|
60471
|
-
const tableContent =
|
|
60589
|
+
const tableContent = React51.useMemo(() => {
|
|
60472
60590
|
if (tableSlot) return tableSlot;
|
|
60473
60591
|
if (!models || models.length === 0 || !features || features.length === 0) return null;
|
|
60474
60592
|
return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
@@ -60527,14 +60645,14 @@ function ComparisonTableTabs({
|
|
|
60527
60645
|
] }) })
|
|
60528
60646
|
] });
|
|
60529
60647
|
}, [tableSlot, models, features, tabsClassName, tableClassName, tableHeaderClassName, tableCellClassName, selectedTab, renderStatusIcon]);
|
|
60530
|
-
const headingContent =
|
|
60648
|
+
const headingContent = React51.useMemo(() => {
|
|
60531
60649
|
if (!heading) return null;
|
|
60532
60650
|
if (typeof heading === "string") {
|
|
60533
60651
|
return /* @__PURE__ */ jsx("h2", { className: cn("text-3xl font-bold md:text-4xl lg:text-5xl", headingClassName), children: heading });
|
|
60534
60652
|
}
|
|
60535
60653
|
return /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading });
|
|
60536
60654
|
}, [heading, headingClassName]);
|
|
60537
|
-
const descriptionContent =
|
|
60655
|
+
const descriptionContent = React51.useMemo(() => {
|
|
60538
60656
|
if (!description) return null;
|
|
60539
60657
|
if (typeof description === "string") {
|
|
60540
60658
|
return /* @__PURE__ */ jsx("p", { className: cn("mt-4 text-muted-foreground md:text-lg", descriptionClassName), children: description });
|
|
@@ -60625,7 +60743,7 @@ function ComparisonTableTooltips({
|
|
|
60625
60743
|
pattern,
|
|
60626
60744
|
patternOpacity
|
|
60627
60745
|
}) {
|
|
60628
|
-
const renderCellContent =
|
|
60746
|
+
const renderCellContent = React51.useCallback(
|
|
60629
60747
|
(cell, isHighlighted) => {
|
|
60630
60748
|
if (typeof cell === "string") {
|
|
60631
60749
|
return cell;
|
|
@@ -60652,7 +60770,7 @@ function ComparisonTableTooltips({
|
|
|
60652
60770
|
},
|
|
60653
60771
|
[]
|
|
60654
60772
|
);
|
|
60655
|
-
const tableContent =
|
|
60773
|
+
const tableContent = React51.useMemo(() => {
|
|
60656
60774
|
if (tableSlot) return tableSlot;
|
|
60657
60775
|
if (!rows || rows.length === 0) return null;
|
|
60658
60776
|
return /* @__PURE__ */ jsxs(Table, { className: cn("rounded border text-left shadow-lg", tableClassName), children: [
|
|
@@ -60678,14 +60796,14 @@ function ComparisonTableTooltips({
|
|
|
60678
60796
|
] }, idx)) })
|
|
60679
60797
|
] });
|
|
60680
60798
|
}, [tableSlot, rows, tableClassName, tableHeaderClassName, tableCellClassName, optionALabel, optionBLabel, renderCellContent]);
|
|
60681
|
-
const headingContent =
|
|
60799
|
+
const headingContent = React51.useMemo(() => {
|
|
60682
60800
|
if (!heading) return null;
|
|
60683
60801
|
if (typeof heading === "string") {
|
|
60684
60802
|
return /* @__PURE__ */ jsx("h2", { className: cn("mb-4 text-center text-4xl font-semibold", headingClassName), children: heading });
|
|
60685
60803
|
}
|
|
60686
60804
|
return /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading });
|
|
60687
60805
|
}, [heading, headingClassName]);
|
|
60688
|
-
const descriptionContent =
|
|
60806
|
+
const descriptionContent = React51.useMemo(() => {
|
|
60689
60807
|
if (!description) return null;
|
|
60690
60808
|
if (typeof description === "string") {
|
|
60691
60809
|
return /* @__PURE__ */ jsx("p", { className: cn("mb-8 text-center text-muted-foreground", descriptionClassName), children: description });
|
|
@@ -60727,7 +60845,7 @@ function ComparisonFeatureGrid({
|
|
|
60727
60845
|
pattern,
|
|
60728
60846
|
patternOpacity
|
|
60729
60847
|
}) {
|
|
60730
|
-
const renderStatusIcon =
|
|
60848
|
+
const renderStatusIcon = React51.useCallback((status) => {
|
|
60731
60849
|
if (status === true) {
|
|
60732
60850
|
return /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/check", size: 20, className: "text-success" });
|
|
60733
60851
|
}
|
|
@@ -60736,7 +60854,7 @@ function ComparisonFeatureGrid({
|
|
|
60736
60854
|
}
|
|
60737
60855
|
return /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/x", size: 20, className: "text-destructive" });
|
|
60738
60856
|
}, []);
|
|
60739
|
-
const gridContent =
|
|
60857
|
+
const gridContent = React51.useMemo(() => {
|
|
60740
60858
|
if (gridSlot) return gridSlot;
|
|
60741
60859
|
if (!features || features.length === 0) return null;
|
|
60742
60860
|
return /* @__PURE__ */ jsxs(
|
|
@@ -60802,14 +60920,14 @@ function ComparisonFeatureGrid({
|
|
|
60802
60920
|
optionBLabel,
|
|
60803
60921
|
renderStatusIcon
|
|
60804
60922
|
]);
|
|
60805
|
-
const headingContent =
|
|
60923
|
+
const headingContent = React51.useMemo(() => {
|
|
60806
60924
|
if (!heading) return null;
|
|
60807
60925
|
if (typeof heading === "string") {
|
|
60808
60926
|
return /* @__PURE__ */ jsx("h2", { className: cn("mb-4 text-center text-4xl font-semibold", headingClassName), children: heading });
|
|
60809
60927
|
}
|
|
60810
60928
|
return /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading });
|
|
60811
60929
|
}, [heading, headingClassName]);
|
|
60812
|
-
const descriptionContent =
|
|
60930
|
+
const descriptionContent = React51.useMemo(() => {
|
|
60813
60931
|
if (!description) return null;
|
|
60814
60932
|
if (typeof description === "string") {
|
|
60815
60933
|
return /* @__PURE__ */ jsx("p", { className: cn("mb-8 text-center text-muted-foreground", descriptionClassName), children: description });
|
|
@@ -60853,7 +60971,7 @@ function ComparisonAiModels({
|
|
|
60853
60971
|
optixFlowConfig
|
|
60854
60972
|
}) {
|
|
60855
60973
|
const [hoveredModel, setHoveredModel] = useState(null);
|
|
60856
|
-
const renderStatusIcon =
|
|
60974
|
+
const renderStatusIcon = React51.useCallback((status) => {
|
|
60857
60975
|
if (status === "best") {
|
|
60858
60976
|
return /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/circle-check", size: 16, className: "text-success" });
|
|
60859
60977
|
}
|
|
@@ -60862,7 +60980,7 @@ function ComparisonAiModels({
|
|
|
60862
60980
|
}
|
|
60863
60981
|
return /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/minus", size: 16, className: "text-muted-foreground" });
|
|
60864
60982
|
}, []);
|
|
60865
|
-
const getCellClassName =
|
|
60983
|
+
const getCellClassName = React51.useCallback(
|
|
60866
60984
|
(status, modelKey) => {
|
|
60867
60985
|
const baseClass = "cursor-pointer py-4 text-center font-medium transition-all duration-300";
|
|
60868
60986
|
let statusClass = "";
|
|
@@ -60883,7 +61001,7 @@ function ComparisonAiModels({
|
|
|
60883
61001
|
},
|
|
60884
61002
|
[hoveredModel]
|
|
60885
61003
|
);
|
|
60886
|
-
const getSummaryCardClassName =
|
|
61004
|
+
const getSummaryCardClassName = React51.useCallback(
|
|
60887
61005
|
(modelKey) => {
|
|
60888
61006
|
const baseClass = "rounded border border-border/30 bg-background/50 p-3 transition-all duration-300";
|
|
60889
61007
|
if (hoveredModel === modelKey) {
|
|
@@ -60898,7 +61016,7 @@ function ComparisonAiModels({
|
|
|
60898
61016
|
},
|
|
60899
61017
|
[hoveredModel]
|
|
60900
61018
|
);
|
|
60901
|
-
const tableContent =
|
|
61019
|
+
const tableContent = React51.useMemo(() => {
|
|
60902
61020
|
if (tableSlot) return tableSlot;
|
|
60903
61021
|
if (!models || !comparisonData || comparisonData.length === 0) return null;
|
|
60904
61022
|
return /* @__PURE__ */ jsx(
|
|
@@ -60976,7 +61094,7 @@ function ComparisonAiModels({
|
|
|
60976
61094
|
getCellClassName,
|
|
60977
61095
|
renderStatusIcon
|
|
60978
61096
|
]);
|
|
60979
|
-
const analysisContent =
|
|
61097
|
+
const analysisContent = React51.useMemo(() => {
|
|
60980
61098
|
if (analysisSlot) return analysisSlot;
|
|
60981
61099
|
if (!models) return null;
|
|
60982
61100
|
return /* @__PURE__ */ jsx("div", { className: cn(
|
|
@@ -61017,14 +61135,14 @@ function ComparisonAiModels({
|
|
|
61017
61135
|
] })
|
|
61018
61136
|
] }) });
|
|
61019
61137
|
}, [analysisSlot, models, analysisClassName, getSummaryCardClassName]);
|
|
61020
|
-
const headingContent =
|
|
61138
|
+
const headingContent = React51.useMemo(() => {
|
|
61021
61139
|
if (!heading) return null;
|
|
61022
61140
|
if (typeof heading === "string") {
|
|
61023
61141
|
return /* @__PURE__ */ jsx("h2", { className: cn("text-3xl font-bold md:text-4xl lg:text-5xl", headingClassName), children: heading });
|
|
61024
61142
|
}
|
|
61025
61143
|
return /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading });
|
|
61026
61144
|
}, [heading, headingClassName]);
|
|
61027
|
-
const descriptionContent =
|
|
61145
|
+
const descriptionContent = React51.useMemo(() => {
|
|
61028
61146
|
if (!description) return null;
|
|
61029
61147
|
if (typeof description === "string") {
|
|
61030
61148
|
return /* @__PURE__ */ jsx("p", { className: cn("mt-4 text-muted-foreground md:text-lg", descriptionClassName), children: description });
|
|
@@ -61074,7 +61192,7 @@ function ComparisonLegacyModern({
|
|
|
61074
61192
|
pattern,
|
|
61075
61193
|
patternOpacity
|
|
61076
61194
|
}) {
|
|
61077
|
-
const columnsContent =
|
|
61195
|
+
const columnsContent = React51.useMemo(() => {
|
|
61078
61196
|
if (columnsSlot) return columnsSlot;
|
|
61079
61197
|
if (!legacyFeatures || legacyFeatures.length === 0 || !modernFeatures || modernFeatures.length === 0)
|
|
61080
61198
|
return null;
|
|
@@ -61086,7 +61204,7 @@ function ComparisonLegacyModern({
|
|
|
61086
61204
|
legacyColumnClassName
|
|
61087
61205
|
), children: [
|
|
61088
61206
|
legacyTitle && (typeof legacyTitle === "string" ? /* @__PURE__ */ jsx("h3", { className: "text-2xl font-medium", children: legacyTitle }) : legacyTitle),
|
|
61089
|
-
/* @__PURE__ */ jsx("ul", { className: "mt-9 space-y-3", children: legacyFeatures.map((feature, idx) => /* @__PURE__ */ jsxs(
|
|
61207
|
+
/* @__PURE__ */ jsx("ul", { className: "mt-9 space-y-3", children: legacyFeatures.map((feature, idx) => /* @__PURE__ */ jsxs(React51.Fragment, { children: [
|
|
61090
61208
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
61091
61209
|
/* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/x", size: 16, className: "my-1.5 shrink-0 text-muted-foreground" }),
|
|
61092
61210
|
/* @__PURE__ */ jsx("li", { className: "text-sm", children: feature.text })
|
|
@@ -61103,7 +61221,7 @@ function ComparisonLegacyModern({
|
|
|
61103
61221
|
),
|
|
61104
61222
|
children: [
|
|
61105
61223
|
modernTitle && (typeof modernTitle === "string" ? /* @__PURE__ */ jsx("h3", { className: "text-2xl font-medium", children: modernTitle }) : modernTitle),
|
|
61106
|
-
/* @__PURE__ */ jsx("ul", { className: "mt-9 space-y-3", children: modernFeatures.map((feature, idx) => /* @__PURE__ */ jsxs(
|
|
61224
|
+
/* @__PURE__ */ jsx("ul", { className: "mt-9 space-y-3", children: modernFeatures.map((feature, idx) => /* @__PURE__ */ jsxs(React51.Fragment, { children: [
|
|
61107
61225
|
/* @__PURE__ */ jsxs("li", { className: "flex items-center gap-2 text-sm", children: [
|
|
61108
61226
|
/* @__PURE__ */ jsx("span", { className: "text-lg", children: feature.emoji }),
|
|
61109
61227
|
feature.text
|
|
@@ -61115,7 +61233,7 @@ function ComparisonLegacyModern({
|
|
|
61115
61233
|
)
|
|
61116
61234
|
] });
|
|
61117
61235
|
}, [columnsSlot, legacyFeatures, modernFeatures, legacyTitle, modernTitle, legacyColumnClassName, modernColumnClassName]);
|
|
61118
|
-
const headingContent =
|
|
61236
|
+
const headingContent = React51.useMemo(() => {
|
|
61119
61237
|
if (!heading && !headingHighlight) return null;
|
|
61120
61238
|
return /* @__PURE__ */ jsxs("h2", { className: cn("text-4xl font-medium md:text-5xl lg:text-7xl", headingClassName), children: [
|
|
61121
61239
|
heading && (typeof heading === "string" ? /* @__PURE__ */ jsxs("span", { className: "text-muted-foreground", children: [
|
|
@@ -61128,7 +61246,7 @@ function ComparisonLegacyModern({
|
|
|
61128
61246
|
] }) : headingHighlight)
|
|
61129
61247
|
] });
|
|
61130
61248
|
}, [heading, headingHighlight, headingClassName, headingHighlightClassName]);
|
|
61131
|
-
const descriptionContent =
|
|
61249
|
+
const descriptionContent = React51.useMemo(() => {
|
|
61132
61250
|
if (!description) return null;
|
|
61133
61251
|
if (typeof description === "string") {
|
|
61134
61252
|
return /* @__PURE__ */ jsx("p", { className: cn("text-lg", descriptionClassName), children: description });
|
|
@@ -61301,7 +61419,7 @@ var NavbarMobileMenu = ({
|
|
|
61301
61419
|
closeIconClassName,
|
|
61302
61420
|
title = "Mobile Navigation"
|
|
61303
61421
|
}) => {
|
|
61304
|
-
|
|
61422
|
+
React51.useEffect(() => {
|
|
61305
61423
|
if (open) {
|
|
61306
61424
|
const originalOverflow = document.body.style.overflow;
|
|
61307
61425
|
document.body.style.overflow = "hidden";
|
|
@@ -61530,7 +61648,7 @@ var NavbarDropdownMenu = ({
|
|
|
61530
61648
|
patternOpacity,
|
|
61531
61649
|
optixFlowConfig
|
|
61532
61650
|
}) => {
|
|
61533
|
-
const [open, setOpen] =
|
|
61651
|
+
const [open, setOpen] = React51.useState(false);
|
|
61534
61652
|
const renderAuthActions = useMemo(() => {
|
|
61535
61653
|
if (authActionsSlot) return authActionsSlot;
|
|
61536
61654
|
if (!authActions || authActions.length === 0) return null;
|
|
@@ -61756,7 +61874,7 @@ var NavbarCenteredMenu = ({
|
|
|
61756
61874
|
patternOpacity,
|
|
61757
61875
|
optixFlowConfig
|
|
61758
61876
|
}) => {
|
|
61759
|
-
const [open, setOpen] =
|
|
61877
|
+
const [open, setOpen] = React51.useState(false);
|
|
61760
61878
|
const renderAuthActions = useMemo(() => {
|
|
61761
61879
|
if (authActionsSlot) return authActionsSlot;
|
|
61762
61880
|
if (!authActions || authActions.length === 0) return null;
|
|
@@ -61896,7 +62014,7 @@ var DesktopMenuItem = ({
|
|
|
61896
62014
|
index,
|
|
61897
62015
|
optixFlowConfig
|
|
61898
62016
|
}) => {
|
|
61899
|
-
const imagesRef =
|
|
62017
|
+
const imagesRef = React51.useRef([]);
|
|
61900
62018
|
const layout = link.layout || "simple-grid";
|
|
61901
62019
|
const handleMouseEnter = (event) => {
|
|
61902
62020
|
const index2 = Number(event.currentTarget.getAttribute("data-index"));
|
|
@@ -63131,7 +63249,7 @@ var NavbarFeatureGrid = ({
|
|
|
63131
63249
|
patternOpacity,
|
|
63132
63250
|
optixFlowConfig
|
|
63133
63251
|
}) => {
|
|
63134
|
-
const [open, setOpen] =
|
|
63252
|
+
const [open, setOpen] = React51.useState(false);
|
|
63135
63253
|
const renderAuthActions = useMemo(() => {
|
|
63136
63254
|
if (authActionsSlot) return authActionsSlot;
|
|
63137
63255
|
if (!authActions || authActions.length === 0) return null;
|
|
@@ -66341,7 +66459,7 @@ var DesktopMenuItem7 = ({
|
|
|
66341
66459
|
if (item.groups && item.groups.length > 0) {
|
|
66342
66460
|
return /* @__PURE__ */ jsxs(NavigationMenuItem, { value: `${index}`, children: [
|
|
66343
66461
|
/* @__PURE__ */ jsx(NavigationMenuTrigger, { children: item.label }),
|
|
66344
|
-
/* @__PURE__ */ jsx(NavigationMenuContent, { className: "p-0", children: /* @__PURE__ */ jsx("div", { className: "flex", children: item.groups.map((group, groupIndex) => /* @__PURE__ */ jsxs(
|
|
66462
|
+
/* @__PURE__ */ jsx(NavigationMenuContent, { className: "p-0", children: /* @__PURE__ */ jsx("div", { className: "flex", children: item.groups.map((group, groupIndex) => /* @__PURE__ */ jsxs(React51.Fragment, { children: [
|
|
66345
66463
|
groupIndex > 0 && /* @__PURE__ */ jsx(
|
|
66346
66464
|
Separator,
|
|
66347
66465
|
{
|
|
@@ -67093,7 +67211,7 @@ var NavbarSimpleLinks = ({
|
|
|
67093
67211
|
const renderNavItems = useMemo(() => {
|
|
67094
67212
|
if (navItemsSlot) return navItemsSlot;
|
|
67095
67213
|
if (!navItems || navItems.length === 0) return null;
|
|
67096
|
-
return navItems.map((item) => /* @__PURE__ */ jsx(
|
|
67214
|
+
return navItems.map((item) => /* @__PURE__ */ jsx(React51.Fragment, { children: /* @__PURE__ */ jsx(NavigationMenuItem, { children: /* @__PURE__ */ jsx(
|
|
67097
67215
|
NavigationMenuLink,
|
|
67098
67216
|
{
|
|
67099
67217
|
"data-nav-item": item.name,
|
|
@@ -72122,7 +72240,7 @@ function PricingFullComparison({
|
|
|
72122
72240
|
resolvedPlanIds[index]
|
|
72123
72241
|
))
|
|
72124
72242
|
] }) }),
|
|
72125
|
-
/* @__PURE__ */ jsx("tbody", { children: categories.map((category) => /* @__PURE__ */ jsxs(
|
|
72243
|
+
/* @__PURE__ */ jsx("tbody", { children: categories.map((category) => /* @__PURE__ */ jsxs(React51.Fragment, { children: [
|
|
72126
72244
|
/* @__PURE__ */ jsx("tr", { className: cn(getNestedCardBg(background), getNestedCardTextColor(background), categoryRowClassName), children: /* @__PURE__ */ jsx(
|
|
72127
72245
|
"td",
|
|
72128
72246
|
{
|
|
@@ -76723,9 +76841,9 @@ function ProcessStickySteps({
|
|
|
76723
76841
|
);
|
|
76724
76842
|
}
|
|
76725
76843
|
var usePrevious = (value) => {
|
|
76726
|
-
const [prev, setPrev] =
|
|
76727
|
-
const ref =
|
|
76728
|
-
|
|
76844
|
+
const [prev, setPrev] = React51.useState(void 0);
|
|
76845
|
+
const ref = React51.useRef(value);
|
|
76846
|
+
React51.useEffect(() => {
|
|
76729
76847
|
setPrev(ref.current);
|
|
76730
76848
|
ref.current = value;
|
|
76731
76849
|
}, [value]);
|
|
@@ -76738,12 +76856,12 @@ var ProcessCard = ({
|
|
|
76738
76856
|
itemClassName,
|
|
76739
76857
|
background
|
|
76740
76858
|
}) => {
|
|
76741
|
-
const ref =
|
|
76859
|
+
const ref = React51.useRef(null);
|
|
76742
76860
|
const itemInView = useInView(ref, {
|
|
76743
76861
|
amount: 0,
|
|
76744
76862
|
margin: "0px 0px -60% 0px"
|
|
76745
76863
|
});
|
|
76746
|
-
|
|
76864
|
+
React51.useEffect(() => {
|
|
76747
76865
|
if (itemInView) {
|
|
76748
76866
|
setActive(index);
|
|
76749
76867
|
}
|
|
@@ -76793,7 +76911,7 @@ function ProcessScrollImage({
|
|
|
76793
76911
|
ctaText,
|
|
76794
76912
|
ctaUrl
|
|
76795
76913
|
}) {
|
|
76796
|
-
const [active, setActive] =
|
|
76914
|
+
const [active, setActive] = React51.useState(0);
|
|
76797
76915
|
const previousActive = usePrevious(active);
|
|
76798
76916
|
const resolvedHeading = title ?? heading;
|
|
76799
76917
|
const resolvedActions = actions ?? (ctaText && ctaUrl ? [
|
|
@@ -76977,7 +77095,7 @@ var ProcessCard2 = ({
|
|
|
76977
77095
|
hoverImageClassName,
|
|
76978
77096
|
background
|
|
76979
77097
|
}) => {
|
|
76980
|
-
const [isHovered, setIsHovered] =
|
|
77098
|
+
const [isHovered, setIsHovered] = React51.useState(false);
|
|
76981
77099
|
const titleText = typeof step.title === "string" ? step.title : `Step ${index + 1}`;
|
|
76982
77100
|
return /* @__PURE__ */ jsxs(
|
|
76983
77101
|
"li",
|
|
@@ -77301,7 +77419,7 @@ function ProcessExpandableTimeline({
|
|
|
77301
77419
|
// Backwards compatibility
|
|
77302
77420
|
title
|
|
77303
77421
|
}) {
|
|
77304
|
-
const [expandedIndex, setExpandedIndex] =
|
|
77422
|
+
const [expandedIndex, setExpandedIndex] = React51.useState(null);
|
|
77305
77423
|
const resolvedHeading = title ?? heading;
|
|
77306
77424
|
const toggleExpand = (index) => {
|
|
77307
77425
|
setExpandedIndex(expandedIndex === index ? null : index);
|
|
@@ -82072,7 +82190,7 @@ function ListAchievementsShowcase({
|
|
|
82072
82190
|
if (!items || items.length === 0) return null;
|
|
82073
82191
|
return /* @__PURE__ */ jsxs("div", { className: cn("flex flex-col", itemsClassName), children: [
|
|
82074
82192
|
/* @__PURE__ */ jsx(Separator, {}),
|
|
82075
|
-
items.map((item, index) => /* @__PURE__ */ jsxs(
|
|
82193
|
+
items.map((item, index) => /* @__PURE__ */ jsxs(React51.Fragment, { children: [
|
|
82076
82194
|
/* @__PURE__ */ jsxs(
|
|
82077
82195
|
"div",
|
|
82078
82196
|
{
|
|
@@ -82192,7 +82310,7 @@ function ListCareerTimeline({
|
|
|
82192
82310
|
const renderExperiences = useMemo(() => {
|
|
82193
82311
|
if (experiencesSlot) return experiencesSlot;
|
|
82194
82312
|
if (!experiences || experiences.length === 0) return null;
|
|
82195
|
-
return /* @__PURE__ */ jsx("div", { className: experiencesClassName, children: experiences.map((experience, idx) => /* @__PURE__ */ jsxs(
|
|
82313
|
+
return /* @__PURE__ */ jsx("div", { className: experiencesClassName, children: experiences.map((experience, idx) => /* @__PURE__ */ jsxs(React51.Fragment, { children: [
|
|
82196
82314
|
/* @__PURE__ */ jsx(Separator, {}),
|
|
82197
82315
|
/* @__PURE__ */ jsxs(
|
|
82198
82316
|
"div",
|
|
@@ -82213,7 +82331,7 @@ function ListCareerTimeline({
|
|
|
82213
82331
|
const renderAwards = useMemo(() => {
|
|
82214
82332
|
if (awardsSlot) return awardsSlot;
|
|
82215
82333
|
if (!awards || awards.length === 0) return null;
|
|
82216
|
-
return /* @__PURE__ */ jsx("div", { className: awardsClassName, children: awards.map((award, idx) => /* @__PURE__ */ jsxs(
|
|
82334
|
+
return /* @__PURE__ */ jsx("div", { className: awardsClassName, children: awards.map((award, idx) => /* @__PURE__ */ jsxs(React51.Fragment, { children: [
|
|
82217
82335
|
/* @__PURE__ */ jsx(Separator, {}),
|
|
82218
82336
|
/* @__PURE__ */ jsxs(
|
|
82219
82337
|
"div",
|
|
@@ -82348,7 +82466,7 @@ function ListMetricsDashboard({
|
|
|
82348
82466
|
activeCategory: controlledActiveCategory,
|
|
82349
82467
|
onActiveCategoryChange
|
|
82350
82468
|
}) {
|
|
82351
|
-
const [internalActiveTab, setInternalActiveTab] =
|
|
82469
|
+
const [internalActiveTab, setInternalActiveTab] = React51.useState("all");
|
|
82352
82470
|
const activeTab = controlledActiveCategory ?? internalActiveTab;
|
|
82353
82471
|
const handleTabChange = (value) => {
|
|
82354
82472
|
if (onActiveCategoryChange) {
|
|
@@ -82832,7 +82950,7 @@ function ListSearchableGrid({
|
|
|
82832
82950
|
searchTerm: controlledSearchTerm,
|
|
82833
82951
|
onSearchTermChange
|
|
82834
82952
|
}) {
|
|
82835
|
-
const [internalSearchTerm, setInternalSearchTerm] =
|
|
82953
|
+
const [internalSearchTerm, setInternalSearchTerm] = React51.useState("");
|
|
82836
82954
|
const searchTerm = controlledSearchTerm ?? internalSearchTerm;
|
|
82837
82955
|
const handleSearchChange = (value) => {
|
|
82838
82956
|
if (onSearchTermChange) {
|
|
@@ -82841,7 +82959,7 @@ function ListSearchableGrid({
|
|
|
82841
82959
|
setInternalSearchTerm(value);
|
|
82842
82960
|
}
|
|
82843
82961
|
};
|
|
82844
|
-
const filteredItems =
|
|
82962
|
+
const filteredItems = React51.useMemo(() => {
|
|
82845
82963
|
if (!searchTerm) {
|
|
82846
82964
|
return items ?? [];
|
|
82847
82965
|
}
|
|
@@ -83004,7 +83122,7 @@ function ListSearchableGrid({
|
|
|
83004
83122
|
}
|
|
83005
83123
|
);
|
|
83006
83124
|
}
|
|
83007
|
-
var { useMemo:
|
|
83125
|
+
var { useMemo: useMemo439 } = React51;
|
|
83008
83126
|
function OfferModalNewsletterDiscount({
|
|
83009
83127
|
title,
|
|
83010
83128
|
emailPlaceholder,
|
|
@@ -83072,7 +83190,7 @@ function OfferModalNewsletterDiscount({
|
|
|
83072
83190
|
});
|
|
83073
83191
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
83074
83192
|
const dialogProps = open !== void 0 ? { open, onOpenChange } : { defaultOpen };
|
|
83075
|
-
const renderCloseButton =
|
|
83193
|
+
const renderCloseButton = useMemo439(() => {
|
|
83076
83194
|
if (closeButtonSlot) return closeButtonSlot;
|
|
83077
83195
|
if (!closeButtonText) return null;
|
|
83078
83196
|
return /* @__PURE__ */ jsx("div", { className: "absolute end-1.5 top-1.5", children: /* @__PURE__ */ jsx(DialogClose, { asChild: true, children: /* @__PURE__ */ jsx(
|
|
@@ -83086,12 +83204,12 @@ function OfferModalNewsletterDiscount({
|
|
|
83086
83204
|
}
|
|
83087
83205
|
) }) });
|
|
83088
83206
|
}, [closeButtonSlot, closeButtonText, closeClassName]);
|
|
83089
|
-
const renderHeader =
|
|
83207
|
+
const renderHeader = useMemo439(() => {
|
|
83090
83208
|
if (headerSlot) return headerSlot;
|
|
83091
83209
|
if (!title) return null;
|
|
83092
83210
|
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 }) });
|
|
83093
83211
|
}, [headerSlot, title, headerClassName, titleClassName]);
|
|
83094
|
-
const renderForm =
|
|
83212
|
+
const renderForm = useMemo439(() => {
|
|
83095
83213
|
if (formSlot) return formSlot;
|
|
83096
83214
|
return /* @__PURE__ */ jsxs(
|
|
83097
83215
|
Form,
|
|
@@ -83153,7 +83271,7 @@ function OfferModalNewsletterDiscount({
|
|
|
83153
83271
|
}
|
|
83154
83272
|
) });
|
|
83155
83273
|
}
|
|
83156
|
-
var { useMemo:
|
|
83274
|
+
var { useMemo: useMemo440 } = React51;
|
|
83157
83275
|
function OfferModalMembershipImage({
|
|
83158
83276
|
overline,
|
|
83159
83277
|
title,
|
|
@@ -83230,7 +83348,7 @@ function OfferModalMembershipImage({
|
|
|
83230
83348
|
});
|
|
83231
83349
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
83232
83350
|
const dialogProps = open !== void 0 ? { open, onOpenChange } : { defaultOpen };
|
|
83233
|
-
const renderImage =
|
|
83351
|
+
const renderImage = useMemo440(() => {
|
|
83234
83352
|
if (imageSlot) return imageSlot;
|
|
83235
83353
|
if (!image) return null;
|
|
83236
83354
|
return /* @__PURE__ */ jsx("div", { className: cn("max-h-[290px] h-full overflow-hidden max-lg:hidden", imageWrapperClassName), children: /* @__PURE__ */ jsx(
|
|
@@ -83243,7 +83361,7 @@ function OfferModalMembershipImage({
|
|
|
83243
83361
|
}
|
|
83244
83362
|
) });
|
|
83245
83363
|
}, [imageSlot, image, imageWrapperClassName, imageClassName, optixFlowConfig]);
|
|
83246
|
-
const renderCloseButton =
|
|
83364
|
+
const renderCloseButton = useMemo440(() => {
|
|
83247
83365
|
if (closeButtonSlot) return closeButtonSlot;
|
|
83248
83366
|
return /* @__PURE__ */ jsx("div", { className: "absolute -end-px -top-px z-10", children: /* @__PURE__ */ jsx(DialogClose, { asChild: true, children: /* @__PURE__ */ jsx(
|
|
83249
83367
|
Pressable,
|
|
@@ -83259,7 +83377,7 @@ function OfferModalMembershipImage({
|
|
|
83259
83377
|
}
|
|
83260
83378
|
) }) });
|
|
83261
83379
|
}, [closeButtonSlot, closeClassName]);
|
|
83262
|
-
const renderForm =
|
|
83380
|
+
const renderForm = useMemo440(() => {
|
|
83263
83381
|
if (formSlot) return formSlot;
|
|
83264
83382
|
return /* @__PURE__ */ jsxs(
|
|
83265
83383
|
Form,
|
|
@@ -83322,7 +83440,7 @@ function OfferModalMembershipImage({
|
|
|
83322
83440
|
}
|
|
83323
83441
|
);
|
|
83324
83442
|
}, [formSlot, form, formConfig, formMethod, emailPlaceholder, inputClassName, submitClassName, buttonText, formClassName]);
|
|
83325
|
-
const renderFooter =
|
|
83443
|
+
const renderFooter = useMemo440(() => {
|
|
83326
83444
|
if (footerSlot) return footerSlot;
|
|
83327
83445
|
if (!description) return null;
|
|
83328
83446
|
return /* @__PURE__ */ jsx(DialogFooter, { className: footerClassName, children: /* @__PURE__ */ jsx(DialogDescription, { className: cn("text-muted-foreground text-center text-xs leading-relaxed", descriptionClassName), children: description }) });
|
|
@@ -83442,7 +83560,7 @@ function SheetDescription({
|
|
|
83442
83560
|
}
|
|
83443
83561
|
);
|
|
83444
83562
|
}
|
|
83445
|
-
var { useMemo:
|
|
83563
|
+
var { useMemo: useMemo441 } = React51;
|
|
83446
83564
|
function OfferModalSheetNewsletter({
|
|
83447
83565
|
logo,
|
|
83448
83566
|
logoSlot,
|
|
@@ -83525,7 +83643,7 @@ function OfferModalSheetNewsletter({
|
|
|
83525
83643
|
});
|
|
83526
83644
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
83527
83645
|
const sheetProps = open !== void 0 ? { open, onOpenChange } : { defaultOpen };
|
|
83528
|
-
const renderLogo =
|
|
83646
|
+
const renderLogo = useMemo441(() => {
|
|
83529
83647
|
if (logoSlot) return logoSlot;
|
|
83530
83648
|
if (!logo) return null;
|
|
83531
83649
|
const logoSrc = typeof logo.src === "string" ? logo.src : logo.src.light;
|
|
@@ -83539,7 +83657,7 @@ function OfferModalSheetNewsletter({
|
|
|
83539
83657
|
}
|
|
83540
83658
|
);
|
|
83541
83659
|
}, [logoSlot, logo, logoClassName, optixFlowConfig]);
|
|
83542
|
-
const renderHeader =
|
|
83660
|
+
const renderHeader = useMemo441(() => {
|
|
83543
83661
|
if (headerSlot) return headerSlot;
|
|
83544
83662
|
return /* @__PURE__ */ jsxs(SheetHeader, { className: cn("gap-8 p-0", headerClassName), children: [
|
|
83545
83663
|
renderLogo,
|
|
@@ -83549,7 +83667,7 @@ function OfferModalSheetNewsletter({
|
|
|
83549
83667
|
] })
|
|
83550
83668
|
] });
|
|
83551
83669
|
}, [headerSlot, renderLogo, headerClassName, title, titleClassName, description, descriptionClassName]);
|
|
83552
|
-
const renderForm =
|
|
83670
|
+
const renderForm = useMemo441(() => {
|
|
83553
83671
|
if (formSlot) return formSlot;
|
|
83554
83672
|
return /* @__PURE__ */ jsx(
|
|
83555
83673
|
Form,
|
|
@@ -83597,7 +83715,7 @@ function OfferModalSheetNewsletter({
|
|
|
83597
83715
|
}
|
|
83598
83716
|
);
|
|
83599
83717
|
}, [formSlot, form, formConfig, formMethod, emailPlaceholder, inputClassName, submitClassName, buttonText, formClassName]);
|
|
83600
|
-
const renderLegal =
|
|
83718
|
+
const renderLegal = useMemo441(() => {
|
|
83601
83719
|
if (legalSlot) return legalSlot;
|
|
83602
83720
|
if (!termsUrl || !termsText || !privacyUrl || !privacyText) return null;
|
|
83603
83721
|
return /* @__PURE__ */ jsxs("p", { className: cn("text-muted-foreground text-xs", legalClassName), children: [
|
|
@@ -83611,7 +83729,7 @@ function OfferModalSheetNewsletter({
|
|
|
83611
83729
|
"."
|
|
83612
83730
|
] });
|
|
83613
83731
|
}, [legalSlot, termsUrl, termsText, privacyUrl, privacyText, legalClassName]);
|
|
83614
|
-
const renderImage =
|
|
83732
|
+
const renderImage = useMemo441(() => {
|
|
83615
83733
|
if (imageSlot) return imageSlot;
|
|
83616
83734
|
if (!image) return null;
|
|
83617
83735
|
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(
|
|
@@ -84191,10 +84309,10 @@ function ProjectDetailSidebarNavigation(props) {
|
|
|
84191
84309
|
heroImageClassName,
|
|
84192
84310
|
metadataClassName
|
|
84193
84311
|
} = props;
|
|
84194
|
-
const [activeSection, setActiveSection] =
|
|
84312
|
+
const [activeSection, setActiveSection] = React51.useState(
|
|
84195
84313
|
sections?.[0]?.id || ""
|
|
84196
84314
|
);
|
|
84197
|
-
|
|
84315
|
+
React51.useEffect(() => {
|
|
84198
84316
|
const handleScroll = () => {
|
|
84199
84317
|
const sectionElements = sections?.map(
|
|
84200
84318
|
(section) => document.getElementById(section.id)
|
|
@@ -87054,7 +87172,7 @@ function ProjectDetailTabbedCaseStudy(props) {
|
|
|
87054
87172
|
testimonialClassName,
|
|
87055
87173
|
toolsClassName
|
|
87056
87174
|
} = props;
|
|
87057
|
-
const [activeTab, setActiveTab] =
|
|
87175
|
+
const [activeTab, setActiveTab] = React51.useState(tabs?.[0]?.id || "");
|
|
87058
87176
|
const renderedBackAction = useMemo(() => {
|
|
87059
87177
|
if (backActionSlot) return backActionSlot;
|
|
87060
87178
|
if (!backAction) return null;
|
|
@@ -87442,7 +87560,7 @@ function RevealImage({
|
|
|
87442
87560
|
index,
|
|
87443
87561
|
optixFlowConfig
|
|
87444
87562
|
}) {
|
|
87445
|
-
const ref =
|
|
87563
|
+
const ref = React51.useRef(null);
|
|
87446
87564
|
const { scrollYProgress } = useScroll({
|
|
87447
87565
|
target: ref,
|
|
87448
87566
|
offset: ["start end", "end start"]
|
|
@@ -87637,7 +87755,7 @@ function ParallaxSection({
|
|
|
87637
87755
|
index,
|
|
87638
87756
|
optixFlowConfig
|
|
87639
87757
|
}) {
|
|
87640
|
-
const ref =
|
|
87758
|
+
const ref = React51.useRef(null);
|
|
87641
87759
|
const { scrollYProgress } = useScroll({
|
|
87642
87760
|
target: ref,
|
|
87643
87761
|
offset: ["start end", "end start"]
|
|
@@ -87710,7 +87828,7 @@ function ProjectDetailParallaxScroll(props) {
|
|
|
87710
87828
|
heroImageClassName,
|
|
87711
87829
|
sectionsClassName
|
|
87712
87830
|
} = props;
|
|
87713
|
-
const heroRef =
|
|
87831
|
+
const heroRef = React51.useRef(null);
|
|
87714
87832
|
const { scrollYProgress } = useScroll({
|
|
87715
87833
|
target: heroRef,
|
|
87716
87834
|
offset: ["start start", "end start"]
|
|
@@ -88040,7 +88158,7 @@ function BannerDeliveryCountdown({
|
|
|
88040
88158
|
}, [prefixText, timerContent, middleText, deliveryDateContent]);
|
|
88041
88159
|
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: [
|
|
88042
88160
|
iconContent,
|
|
88043
|
-
messageParts.length > 0 && /* @__PURE__ */ jsx("span", { children: messageParts.map((part, index) => /* @__PURE__ */ jsxs(
|
|
88161
|
+
messageParts.length > 0 && /* @__PURE__ */ jsx("span", { children: messageParts.map((part, index) => /* @__PURE__ */ jsxs(React51.Fragment, { children: [
|
|
88044
88162
|
index > 0 ? " " : null,
|
|
88045
88163
|
part
|
|
88046
88164
|
] }, index)) })
|
|
@@ -89176,7 +89294,7 @@ function IndustriesExpandableShowcase({
|
|
|
89176
89294
|
patternClassName,
|
|
89177
89295
|
optixFlowConfig
|
|
89178
89296
|
}) {
|
|
89179
|
-
const [activeContractor, setActiveContractor] =
|
|
89297
|
+
const [activeContractor, setActiveContractor] = React51.useState(
|
|
89180
89298
|
contractors?.[0]?.id || ""
|
|
89181
89299
|
);
|
|
89182
89300
|
const handleContractorHover = (contractorId) => {
|
|
@@ -89829,7 +89947,7 @@ function ResourceDetailDocumentSidebar({
|
|
|
89829
89947
|
}) {
|
|
89830
89948
|
const renderedBreadcrumbs = useMemo(() => {
|
|
89831
89949
|
if (breadcrumbsSlot) return breadcrumbsSlot;
|
|
89832
|
-
return /* @__PURE__ */ jsx(Breadcrumb, { className: breadcrumbsClassName, children: /* @__PURE__ */ jsx(BreadcrumbList, { children: breadcrumbs?.map((crumb, index) => /* @__PURE__ */ jsxs(
|
|
89950
|
+
return /* @__PURE__ */ jsx(Breadcrumb, { className: breadcrumbsClassName, children: /* @__PURE__ */ jsx(BreadcrumbList, { children: breadcrumbs?.map((crumb, index) => /* @__PURE__ */ jsxs(React51.Fragment, { children: [
|
|
89833
89951
|
/* @__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 }) }),
|
|
89834
89952
|
index < (breadcrumbs?.length || 0) - 1 && /* @__PURE__ */ jsx(BreadcrumbSeparator, {})
|
|
89835
89953
|
] }, index)) }) });
|
|
@@ -93230,8 +93348,8 @@ function ServicesListTableHover({
|
|
|
93230
93348
|
patternOpacity,
|
|
93231
93349
|
optixFlowConfig
|
|
93232
93350
|
}) {
|
|
93233
|
-
const [hoveredIndex, setHoveredIndex] =
|
|
93234
|
-
const [mousePosition, setMousePosition] =
|
|
93351
|
+
const [hoveredIndex, setHoveredIndex] = React51.useState(null);
|
|
93352
|
+
const [mousePosition, setMousePosition] = React51.useState({ x: 0, y: 0 });
|
|
93235
93353
|
const handleMouseMove = (e) => {
|
|
93236
93354
|
setMousePosition({ x: e.clientX, y: e.clientY });
|
|
93237
93355
|
};
|
|
@@ -93481,7 +93599,7 @@ function ServicesListStickyImage({
|
|
|
93481
93599
|
patternOpacity,
|
|
93482
93600
|
optixFlowConfig
|
|
93483
93601
|
}) {
|
|
93484
|
-
const [activeIndex, setActiveIndex] =
|
|
93602
|
+
const [activeIndex, setActiveIndex] = React51.useState(0);
|
|
93485
93603
|
const renderServices = () => {
|
|
93486
93604
|
if (servicesSlot) return servicesSlot;
|
|
93487
93605
|
if (!services || services.length === 0) return null;
|
|
@@ -93733,8 +93851,8 @@ function ServicesListVideoShowcase({
|
|
|
93733
93851
|
patternOpacity,
|
|
93734
93852
|
optixFlowConfig
|
|
93735
93853
|
}) {
|
|
93736
|
-
const [playingIndex, setPlayingIndex] =
|
|
93737
|
-
const videoRefs =
|
|
93854
|
+
const [playingIndex, setPlayingIndex] = React51.useState(null);
|
|
93855
|
+
const videoRefs = React51.useRef([]);
|
|
93738
93856
|
const handleMouseEnter = (index) => {
|
|
93739
93857
|
setPlayingIndex(index);
|
|
93740
93858
|
videoRefs.current[index]?.play();
|
|
@@ -97027,7 +97145,7 @@ function StatsCircularProgress({
|
|
|
97027
97145
|
statInfoClassName
|
|
97028
97146
|
}) {
|
|
97029
97147
|
const effectiveDefaultCategory = defaultCategory || (categories && categories.length > 0 ? categories[0].id : "");
|
|
97030
|
-
const [category, setCategory] =
|
|
97148
|
+
const [category, setCategory] = React51.useState(effectiveDefaultCategory);
|
|
97031
97149
|
const badgeContent = useMemo(() => {
|
|
97032
97150
|
if (badgeSlot) return badgeSlot;
|
|
97033
97151
|
if (!badge) return null;
|
|
@@ -97320,8 +97438,8 @@ function StatsCardGroup({
|
|
|
97320
97438
|
);
|
|
97321
97439
|
}
|
|
97322
97440
|
function useAnimatedCounter(endValue, duration = 2e3, isVisible) {
|
|
97323
|
-
const [count, setCount] =
|
|
97324
|
-
|
|
97441
|
+
const [count, setCount] = React51.useState(0);
|
|
97442
|
+
React51.useEffect(() => {
|
|
97325
97443
|
if (!isVisible) return;
|
|
97326
97444
|
let startTime = null;
|
|
97327
97445
|
let animationFrame;
|
|
@@ -97409,9 +97527,9 @@ function StatsAnimatedCounter({
|
|
|
97409
97527
|
statLabelClassName,
|
|
97410
97528
|
statIconClassName
|
|
97411
97529
|
}) {
|
|
97412
|
-
const [isVisible, setIsVisible] =
|
|
97413
|
-
const sectionRef =
|
|
97414
|
-
|
|
97530
|
+
const [isVisible, setIsVisible] = React51.useState(false);
|
|
97531
|
+
const sectionRef = React51.useRef(null);
|
|
97532
|
+
React51.useEffect(() => {
|
|
97415
97533
|
const observer = new IntersectionObserver(
|
|
97416
97534
|
([entry]) => {
|
|
97417
97535
|
if (entry.isIntersecting) {
|
|
@@ -97499,8 +97617,8 @@ function StatsAnimatedCounter({
|
|
|
97499
97617
|
);
|
|
97500
97618
|
}
|
|
97501
97619
|
function useNumberTicker(endValue, duration = 2500, isVisible, decimals = 0) {
|
|
97502
|
-
const [displayValue, setDisplayValue] =
|
|
97503
|
-
|
|
97620
|
+
const [displayValue, setDisplayValue] = React51.useState("0");
|
|
97621
|
+
React51.useEffect(() => {
|
|
97504
97622
|
if (!isVisible) return;
|
|
97505
97623
|
let startTime = null;
|
|
97506
97624
|
let animationFrame;
|
|
@@ -97615,9 +97733,9 @@ function StatsNumberTicker({
|
|
|
97615
97733
|
statLabelClassName,
|
|
97616
97734
|
statDescriptionClassName
|
|
97617
97735
|
}) {
|
|
97618
|
-
const [isVisible, setIsVisible] =
|
|
97619
|
-
const sectionRef =
|
|
97620
|
-
|
|
97736
|
+
const [isVisible, setIsVisible] = React51.useState(false);
|
|
97737
|
+
const sectionRef = React51.useRef(null);
|
|
97738
|
+
React51.useEffect(() => {
|
|
97621
97739
|
const observer = new IntersectionObserver(
|
|
97622
97740
|
([entry]) => {
|
|
97623
97741
|
if (entry.isIntersecting) {
|
|
@@ -97876,9 +97994,9 @@ function StatsBarComparison({
|
|
|
97876
97994
|
barValueClassName,
|
|
97877
97995
|
barTrackClassName
|
|
97878
97996
|
}) {
|
|
97879
|
-
const [isVisible, setIsVisible] =
|
|
97880
|
-
const sectionRef =
|
|
97881
|
-
|
|
97997
|
+
const [isVisible, setIsVisible] = React51.useState(!animate);
|
|
97998
|
+
const sectionRef = React51.useRef(null);
|
|
97999
|
+
React51.useEffect(() => {
|
|
97882
98000
|
if (!animate) return;
|
|
97883
98001
|
const observer = new IntersectionObserver(
|
|
97884
98002
|
([entry]) => {
|
|
@@ -98056,7 +98174,7 @@ function TimelineVerticalIconDashed({
|
|
|
98056
98174
|
"mx-auto flex flex-col items-center justify-center text-center sm:max-w-xl",
|
|
98057
98175
|
stepsClassName
|
|
98058
98176
|
),
|
|
98059
|
-
children: steps.map((step, index) => /* @__PURE__ */ jsxs(
|
|
98177
|
+
children: steps.map((step, index) => /* @__PURE__ */ jsxs(React51.Fragment, { children: [
|
|
98060
98178
|
/* @__PURE__ */ jsxs("div", { className: cn("flex flex-col items-center", stepClassName), children: [
|
|
98061
98179
|
/* @__PURE__ */ jsx(
|
|
98062
98180
|
"span",
|
|
@@ -98323,7 +98441,7 @@ function TimelineTwoColumnFeatured({
|
|
|
98323
98441
|
style,
|
|
98324
98442
|
optixFlowConfig
|
|
98325
98443
|
}) {
|
|
98326
|
-
const renderActions =
|
|
98444
|
+
const renderActions = React51.useMemo(() => {
|
|
98327
98445
|
if (actionsSlot) {
|
|
98328
98446
|
return actionsSlot;
|
|
98329
98447
|
}
|
|
@@ -98451,7 +98569,7 @@ function TimelineTwoColumnFeatured({
|
|
|
98451
98569
|
}
|
|
98452
98570
|
);
|
|
98453
98571
|
}
|
|
98454
|
-
var DiagonalPattern =
|
|
98572
|
+
var DiagonalPattern = React51.memo(({
|
|
98455
98573
|
className,
|
|
98456
98574
|
patternOpacity = 0.15
|
|
98457
98575
|
}) => {
|
|
@@ -98490,7 +98608,7 @@ function TimelineAlternatingDiagonal({
|
|
|
98490
98608
|
style,
|
|
98491
98609
|
optixFlowConfig
|
|
98492
98610
|
}) {
|
|
98493
|
-
const renderedBadge =
|
|
98611
|
+
const renderedBadge = React51.useMemo(() => {
|
|
98494
98612
|
if (badgeSlot) {
|
|
98495
98613
|
return badgeSlot;
|
|
98496
98614
|
}
|
|
@@ -98868,7 +98986,7 @@ function TimelineProductivityList({
|
|
|
98868
98986
|
}
|
|
98869
98987
|
);
|
|
98870
98988
|
}
|
|
98871
|
-
var ProcessBar =
|
|
98989
|
+
var ProcessBar = React51.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(React51.Fragment, { children: [
|
|
98872
98990
|
/* @__PURE__ */ jsx("div", { className: "flex flex-col items-center", children: /* @__PURE__ */ jsx(
|
|
98873
98991
|
motion.div,
|
|
98874
98992
|
{
|
|
@@ -98895,7 +99013,7 @@ var ProcessBar = React52.memo(({ currentStep, steps }) => /* @__PURE__ */ jsx("d
|
|
|
98895
99013
|
)
|
|
98896
99014
|
] })
|
|
98897
99015
|
] }, index)) }) }));
|
|
98898
|
-
var StepperContent =
|
|
99016
|
+
var StepperContent = React51.memo(({ step, optixFlowConfig, imageClassName, descriptionClassName, background }) => {
|
|
98899
99017
|
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: [
|
|
98900
99018
|
/* @__PURE__ */ jsx(
|
|
98901
99019
|
motion.div,
|
|
@@ -98928,7 +99046,7 @@ var StepperContent = React52.memo(({ step, optixFlowConfig, imageClassName, desc
|
|
|
98928
99046
|
)
|
|
98929
99047
|
] });
|
|
98930
99048
|
});
|
|
98931
|
-
var NavButtons =
|
|
99049
|
+
var NavButtons = React51.memo(({ handlePrev, handleNext }) => /* @__PURE__ */ jsxs("div", { className: "flex w-full justify-end gap-3 tracking-tight", children: [
|
|
98932
99050
|
/* @__PURE__ */ jsxs(
|
|
98933
99051
|
Pressable,
|
|
98934
99052
|
{
|
|
@@ -98979,10 +99097,10 @@ function TimelineStepperAnimated({
|
|
|
98979
99097
|
}) {
|
|
98980
99098
|
const safeInitialStep = (steps?.length ?? 0) > 0 ? Math.max(0, Math.min(initialStep ?? 0, (steps?.length ?? 1) - 1)) : 0;
|
|
98981
99099
|
const [currentStep, setCurrentStep] = useState(safeInitialStep);
|
|
98982
|
-
const handleNext =
|
|
99100
|
+
const handleNext = React51.useCallback(() => {
|
|
98983
99101
|
setCurrentStep((prev) => Math.min(prev + 1, (steps?.length ?? 1) - 1));
|
|
98984
99102
|
}, [steps?.length]);
|
|
98985
|
-
const handlePrev =
|
|
99103
|
+
const handlePrev = React51.useCallback(() => {
|
|
98986
99104
|
setCurrentStep((prev) => Math.max(prev - 1, 0));
|
|
98987
99105
|
}, []);
|
|
98988
99106
|
const safeCurrentStep = (steps?.length ?? 0) > 0 ? Math.max(0, Math.min(currentStep, (steps?.length ?? 1) - 1)) : 0;
|
|
@@ -99691,7 +99809,7 @@ function TimelineTabbedPhases({
|
|
|
99691
99809
|
style,
|
|
99692
99810
|
optixFlowConfig
|
|
99693
99811
|
}) {
|
|
99694
|
-
const renderDownloadButton =
|
|
99812
|
+
const renderDownloadButton = React51.useMemo(() => {
|
|
99695
99813
|
if (downloadSlot) {
|
|
99696
99814
|
return downloadSlot;
|
|
99697
99815
|
}
|
|
@@ -99911,7 +100029,7 @@ function TimelineProductLaunch({
|
|
|
99911
100029
|
id,
|
|
99912
100030
|
style
|
|
99913
100031
|
}) {
|
|
99914
|
-
const renderCta =
|
|
100032
|
+
const renderCta = React51.useMemo(() => {
|
|
99915
100033
|
if (ctaSlot) {
|
|
99916
100034
|
return ctaSlot;
|
|
99917
100035
|
}
|
|
@@ -100376,9 +100494,9 @@ function LinkTreeBlock({
|
|
|
100376
100494
|
}) {
|
|
100377
100495
|
const resolvedBackground = background;
|
|
100378
100496
|
const resolvedPattern = pattern ?? backgroundPattern;
|
|
100379
|
-
const [lightboxOpen, setLightboxOpen] =
|
|
100380
|
-
const [lightboxIndex, setLightboxIndex] =
|
|
100381
|
-
const lightboxItems =
|
|
100497
|
+
const [lightboxOpen, setLightboxOpen] = React51.useState(false);
|
|
100498
|
+
const [lightboxIndex, setLightboxIndex] = React51.useState(0);
|
|
100499
|
+
const lightboxItems = React51.useMemo(() => {
|
|
100382
100500
|
if (!mediaGallery || mediaGallery.length === 0) return [];
|
|
100383
100501
|
return mediaGallery.slice(0, mediaGalleryLimit).map((item, index) => ({
|
|
100384
100502
|
id: item.id ?? `media-${index}`,
|
|
@@ -100390,11 +100508,11 @@ function LinkTreeBlock({
|
|
|
100390
100508
|
share: true
|
|
100391
100509
|
}));
|
|
100392
100510
|
}, [mediaGallery, mediaGalleryLimit]);
|
|
100393
|
-
const handleMediaClick =
|
|
100511
|
+
const handleMediaClick = React51.useCallback((index) => {
|
|
100394
100512
|
setLightboxIndex(index);
|
|
100395
100513
|
setLightboxOpen(true);
|
|
100396
100514
|
}, []);
|
|
100397
|
-
const handleLightboxClose =
|
|
100515
|
+
const handleLightboxClose = React51.useCallback(() => {
|
|
100398
100516
|
setLightboxOpen(false);
|
|
100399
100517
|
}, []);
|
|
100400
100518
|
const resolveImage = (value, fallbackAlt) => {
|
|
@@ -100406,7 +100524,7 @@ function LinkTreeBlock({
|
|
|
100406
100524
|
};
|
|
100407
100525
|
const nameForAlt = typeof brandName === "string" ? brandName : "Brand avatar";
|
|
100408
100526
|
const resolvedAvatar = resolveImage(brandAvatar || brandLogo, nameForAlt) || resolveImage(blockBrandedIconsAndPlaceholders.avatar1, nameForAlt);
|
|
100409
|
-
const renderBrandHeader =
|
|
100527
|
+
const renderBrandHeader = React51.useMemo(() => {
|
|
100410
100528
|
if (brandSlot) return brandSlot;
|
|
100411
100529
|
return /* @__PURE__ */ jsxs(
|
|
100412
100530
|
"div",
|
|
@@ -100493,7 +100611,7 @@ function LinkTreeBlock({
|
|
|
100493
100611
|
brandTagline,
|
|
100494
100612
|
taglineClassName
|
|
100495
100613
|
]);
|
|
100496
|
-
const renderLinks =
|
|
100614
|
+
const renderLinks = React51.useMemo(() => {
|
|
100497
100615
|
if (linksSlot) return linksSlot;
|
|
100498
100616
|
if (!links || links.length === 0) return null;
|
|
100499
100617
|
return /* @__PURE__ */ jsx("div", { className: cn("space-y-3", linksClassName), children: links.map((link, index) => {
|
|
@@ -100610,7 +100728,7 @@ function LinkTreeBlock({
|
|
|
100610
100728
|
linkBadgeClassName,
|
|
100611
100729
|
linkChevronClassName
|
|
100612
100730
|
]);
|
|
100613
|
-
const renderMediaGallery =
|
|
100731
|
+
const renderMediaGallery = React51.useMemo(() => {
|
|
100614
100732
|
if (mediaGallerySlot) return mediaGallerySlot;
|
|
100615
100733
|
if (!mediaGallery || mediaGallery.length === 0) return null;
|
|
100616
100734
|
const items = mediaGallery.slice(0, mediaGalleryLimit);
|
|
@@ -100724,7 +100842,7 @@ function LinkTreeBlock({
|
|
|
100724
100842
|
mediaGalleryOverlayClassName,
|
|
100725
100843
|
mediaGalleryPlayIconClassName
|
|
100726
100844
|
]);
|
|
100727
|
-
const renderSocialLinks =
|
|
100845
|
+
const renderSocialLinks = React51.useMemo(() => {
|
|
100728
100846
|
if (socialLinksSlot) return socialLinksSlot;
|
|
100729
100847
|
if (!socialLinks || socialLinks.length === 0) return null;
|
|
100730
100848
|
return /* @__PURE__ */ jsx(
|
|
@@ -100770,7 +100888,7 @@ function LinkTreeBlock({
|
|
|
100770
100888
|
socialIconClassName,
|
|
100771
100889
|
socialLinkClassName
|
|
100772
100890
|
]);
|
|
100773
|
-
const renderFooter =
|
|
100891
|
+
const renderFooter = React51.useMemo(() => {
|
|
100774
100892
|
if (footerSlot) return footerSlot;
|
|
100775
100893
|
if (!footerAction) return null;
|
|
100776
100894
|
const resolvedFooterAction = footerAction;
|
|
@@ -103856,15 +103974,21 @@ var BLOCK_REGISTRY = {
|
|
|
103856
103974
|
"contact-faq": {
|
|
103857
103975
|
id: "contact-faq",
|
|
103858
103976
|
name: "Contact FAQ",
|
|
103859
|
-
description: "A contact form
|
|
103860
|
-
semanticTags: ["contact", "faq", "questions", "inquiry", "form", "support"],
|
|
103977
|
+
description: "A two-column contact form with an FAQ accordion sidebar. Displays frequently asked questions alongside a contact form so visitors can find answers before submitting inquiries. Falls back to a single-column centered layout when no FAQ items are provided.",
|
|
103978
|
+
semanticTags: ["contact", "faq", "questions", "inquiry", "form", "support", "accordion", "two-column"],
|
|
103861
103979
|
category: "contact",
|
|
103862
103980
|
component: ContactFaq,
|
|
103863
103981
|
props: "ContactFaqProps",
|
|
103864
103982
|
exampleUsage: `
|
|
103865
103983
|
<ContactFaq
|
|
103866
103984
|
heading="Have a Question?"
|
|
103867
|
-
description="
|
|
103985
|
+
description="Check our FAQs or send us a message"
|
|
103986
|
+
faqHeading="Frequently Asked Questions"
|
|
103987
|
+
items={[
|
|
103988
|
+
{ id: "1", question: "What are your hours?", answer: "We are open Monday to Friday, 9am to 5pm." },
|
|
103989
|
+
{ id: "2", question: "How do I reset my password?", answer: "Click the forgot password link on the login page." },
|
|
103990
|
+
]}
|
|
103991
|
+
formHeading="Still need help?"
|
|
103868
103992
|
buttonText="Send Question"
|
|
103869
103993
|
formConfig={{ endpoint: "/api/faq", format: "json" }}
|
|
103870
103994
|
/>
|
|
@@ -104156,14 +104280,15 @@ var BLOCK_REGISTRY = {
|
|
|
104156
104280
|
"contact-photography": {
|
|
104157
104281
|
id: "contact-photography",
|
|
104158
104282
|
name: "Contact Photography Services",
|
|
104159
|
-
description: "
|
|
104283
|
+
description: "Full-width split-screen contact form with edge-to-edge design, featuring heading, description and form on one side and a large full-height image on the other. Pattern background support, configurable media placement. Perfect for photographers, studios, and creative services.",
|
|
104160
104284
|
semanticTags: [
|
|
104161
104285
|
"contact",
|
|
104162
104286
|
"photography",
|
|
104163
|
-
"
|
|
104287
|
+
"split-screen",
|
|
104164
104288
|
"form",
|
|
104165
|
-
"
|
|
104166
|
-
"creative"
|
|
104289
|
+
"image",
|
|
104290
|
+
"creative",
|
|
104291
|
+
"edge-to-edge"
|
|
104167
104292
|
],
|
|
104168
104293
|
category: "contact",
|
|
104169
104294
|
component: ContactPhotography,
|
|
@@ -104171,8 +104296,11 @@ var BLOCK_REGISTRY = {
|
|
|
104171
104296
|
exampleUsage: `
|
|
104172
104297
|
<ContactPhotography
|
|
104173
104298
|
heading="Photography Services"
|
|
104174
|
-
description="Book a photography session"
|
|
104175
|
-
buttonText="
|
|
104299
|
+
description="Book a photography session with us"
|
|
104300
|
+
buttonText="Send Message"
|
|
104301
|
+
imageSrc="/studio.jpg"
|
|
104302
|
+
background="dark"
|
|
104303
|
+
pattern="grid"
|
|
104176
104304
|
formConfig={{ endpoint: "/api/photography", format: "json" }}
|
|
104177
104305
|
/>
|
|
104178
104306
|
`.trim()
|