cortex-react-components 1.52.9 → 1.53.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Manrope-Bold-CPQACTSE.ttf +0 -0
- package/dist/Manrope-ExtraBold-WMIW3IUY.ttf +0 -0
- package/dist/Manrope-ExtraLight-73PSLEHW.ttf +0 -0
- package/dist/Manrope-Light-Y5DQMGPD.ttf +0 -0
- package/dist/Manrope-Medium-EG6W7WPF.ttf +0 -0
- package/dist/Manrope-Regular-XVH52NWZ.ttf +0 -0
- package/dist/Manrope-SemiBold-UGY74FUV.ttf +0 -0
- package/dist/chunk-2I2DES65.mjs +1 -0
- package/dist/{chunk-ISZD24DJ.mjs → chunk-2LJVMEWU.mjs} +1 -1
- package/dist/{chunk-UOVG5V74.mjs → chunk-4VYZWTJW.mjs} +1 -1
- package/dist/{chunk-DRJBYVJB.mjs → chunk-54Y2MUCQ.mjs} +1 -1
- package/dist/chunk-5G43IH3C.mjs +1 -0
- package/dist/chunk-5XEEYQ2W.mjs +4 -0
- package/dist/{chunk-KB6PO4K4.mjs → chunk-5YTDIEDJ.mjs} +1 -1
- package/dist/{chunk-6W42A4VY.mjs → chunk-6YWZKEM7.mjs} +1 -1
- package/dist/{chunk-GTHQG4I4.mjs → chunk-7VYUQOAM.mjs} +1 -1
- package/dist/{chunk-XGNF75KY.mjs → chunk-7XB4Y3U2.mjs} +1 -1
- package/dist/{chunk-SBAFXZVU.mjs → chunk-AAI2VZST.mjs} +1 -1
- package/dist/chunk-AY65F2J7.mjs +1 -0
- package/dist/{chunk-IKRNLNH4.mjs → chunk-BRFSZTQJ.mjs} +1 -1
- package/dist/{chunk-FZFHGTZB.mjs → chunk-BRYZOZKY.mjs} +1 -1
- package/dist/{chunk-QNPY7PXF.mjs → chunk-CBUKVGIQ.mjs} +1 -1
- package/dist/chunk-CJ4CNW7Z.mjs +1 -0
- package/dist/chunk-CVUHFFL5.mjs +1 -0
- package/dist/{chunk-EYEUGIEZ.mjs → chunk-EBVVHIUU.mjs} +1 -1
- package/dist/{chunk-UW57YIIJ.mjs → chunk-EHRVCKDC.mjs} +1 -1
- package/dist/{chunk-YS3Z4KM7.mjs → chunk-EOJQ2KKP.mjs} +1 -1
- package/dist/{chunk-CHMF4O5T.mjs → chunk-FGPHS7JN.mjs} +1 -1
- package/dist/{chunk-FUPFWOHH.mjs → chunk-G46BY4JW.mjs} +1 -1
- package/dist/{chunk-TPJ3YV7Z.mjs → chunk-G5HD4IFA.mjs} +1 -1
- package/dist/{chunk-UMILL4LR.mjs → chunk-H4T3LIAM.mjs} +1 -1
- package/dist/{chunk-465SRZH2.mjs → chunk-HDPLZTVZ.mjs} +1 -1
- package/dist/{chunk-WBNYJISJ.mjs → chunk-IQ7LAP7P.mjs} +1 -1
- package/dist/chunk-JOD2CIH5.mjs +1 -0
- package/dist/{chunk-BMJEGPLO.mjs → chunk-JRJDFJ6X.mjs} +1 -1
- package/dist/chunk-K7VYLMCI.mjs +1 -0
- package/dist/{chunk-YVKLIY64.mjs → chunk-KA2ACFQB.mjs} +1 -1
- package/dist/{chunk-PY53YVFX.mjs → chunk-KEUZSK3N.mjs} +1 -1
- package/dist/{chunk-PZ24BROJ.mjs → chunk-KLCZHZKQ.mjs} +1 -1
- package/dist/{chunk-PXZ36U3P.mjs → chunk-KPIWBWE2.mjs} +1 -1
- package/dist/{chunk-WSOSC6WV.mjs → chunk-KQR574BF.mjs} +1 -1
- package/dist/chunk-L5P5GJD5.mjs +4 -0
- package/dist/{chunk-6RFXR5AO.mjs → chunk-M6M43TLT.mjs} +1 -1
- package/dist/chunk-NJGYYKJL.mjs +1 -0
- package/dist/{chunk-5ZK27HPT.mjs → chunk-NOLDWELD.mjs} +1 -1
- package/dist/{chunk-5AVM2WWT.mjs → chunk-OGLP277T.mjs} +1 -1
- package/dist/chunk-OI2YT2ZF.mjs +1 -0
- package/dist/{chunk-ZSUPFOXY.mjs → chunk-PJSCXNH4.mjs} +1 -1
- package/dist/chunk-QLDXERS5.mjs +1 -0
- package/dist/{chunk-TV3A7ZRB.mjs → chunk-RZCFT36K.mjs} +1 -1
- package/dist/{chunk-Y74ENEUN.mjs → chunk-SPAW5K3E.mjs} +1 -1
- package/dist/chunk-T64HWIXW.mjs +1 -0
- package/dist/chunk-TAFEJ7HF.mjs +4 -0
- package/dist/chunk-THK2RUKM.mjs +1 -0
- package/dist/{chunk-KIICLHKI.mjs → chunk-UBA3ZRKC.mjs} +1 -1
- package/dist/{chunk-LQNF72HZ.mjs → chunk-WTM5I35T.mjs} +1 -1
- package/dist/{chunk-VQ6YN4EI.mjs → chunk-XUHEUFNJ.mjs} +1 -1
- package/dist/{chunk-OAO4Z5WE.mjs → chunk-XYLYPBZO.mjs} +1 -1
- package/dist/{chunk-GTD5N7GH.mjs → chunk-XYUC2EAW.mjs} +1 -1
- package/dist/{chunk-3IUQUN6R.mjs → chunk-Y2KKUQDU.mjs} +1 -1
- package/dist/chunk-YHSF5GPH.mjs +4 -0
- package/dist/chunk-YUALUYMB.mjs +4 -0
- package/dist/chunk-Z3SAJZUP.mjs +4 -0
- package/dist/chunk-ZBXMEGE6.mjs +9 -0
- package/dist/chunk-ZSZS2MG6.mjs +1 -0
- package/dist/chunk-ZVMBJZVM.mjs +4 -0
- package/dist/components/Blocks/Banner.mjs +1 -1
- package/dist/components/Blocks/CallToAction.mjs +1 -1
- package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
- package/dist/components/Blocks/CaseStudy.mjs +1 -1
- package/dist/components/Blocks/CaseStudy.stories.mjs +1 -1
- package/dist/components/Blocks/Code.client.mjs +1 -1
- package/dist/components/Blocks/Code.mjs +1 -1
- package/dist/components/Blocks/ConsultantProfile.mjs +1 -1
- package/dist/components/Blocks/ConsultantProfile.stories.mjs +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/Content.stories.mjs +1 -1
- package/dist/components/Blocks/CopyButton.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
- package/dist/components/Blocks/ProposalSummary.mjs +1 -1
- package/dist/components/Blocks/ProposalSummary.stories.mjs +1 -1
- package/dist/components/Blocks/RelatedPosts.mjs +1 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/CRM/DealCard.mjs +1 -1
- package/dist/components/CRM/DealCard.stories.mjs +1 -1
- package/dist/components/CRM/DealDetails.mjs +1 -1
- package/dist/components/CRM/DealDetails.stories.mjs +1 -1
- package/dist/components/CRM/KanbanBoard.mjs +1 -1
- package/dist/components/CRM/KanbanBoard.stories.mjs +1 -1
- package/dist/components/CRM/KanbanColumn.mjs +1 -1
- package/dist/components/CRM/KanbanColumn.stories.mjs +1 -1
- package/dist/components/CRM/NewCustomerForm.mjs +1 -1
- package/dist/components/CRM/NewCustomerForm.stories.mjs +1 -1
- package/dist/components/CRM/NewDealForm.mjs +1 -1
- package/dist/components/CRM/NewDealForm.stories.mjs +1 -1
- package/dist/components/CRM/index.mjs +1 -1
- package/dist/components/Cards/ContentCard.mjs +1 -1
- package/dist/components/Cards/ContentCard.stories.js +1 -1
- package/dist/components/Cards/ContentCard.stories.mjs +1 -1
- package/dist/components/Cards/CustomerCard.mjs +1 -1
- package/dist/components/Cards/CustomerCard.stories.mjs +1 -1
- package/dist/components/Cards/EventCard.mjs +1 -1
- package/dist/components/Cards/EventCard.stories.mjs +1 -1
- package/dist/components/Cards/FeatureCard.css +1 -0
- package/dist/components/Cards/FeatureCard.d.ts +16 -8
- package/dist/components/Cards/FeatureCard.js +1 -1
- package/dist/components/Cards/FeatureCard.mjs +1 -2
- package/dist/components/Cards/FeatureCard.stories.css +1 -0
- package/dist/components/Cards/FeatureCard.stories.js +1 -1
- package/dist/components/Cards/FeatureCard.stories.mjs +1 -1
- package/dist/components/Cards/HeroCard.mjs +1 -1
- package/dist/components/Cards/HeroCard.stories.mjs +1 -1
- package/dist/components/Cards/Image.mjs +1 -1
- package/dist/components/Cards/Image.stories.mjs +1 -1
- package/dist/components/Cards/PricingCard.mjs +1 -1
- package/dist/components/Cards/PricingCard.stories.mjs +1 -1
- package/dist/components/Cards/ServiceCard.js +1 -1
- package/dist/components/Cards/ServiceCard.mjs +1 -1
- package/dist/components/Cards/ServiceCard.stories.js +1 -1
- package/dist/components/Cards/ServiceCard.stories.mjs +1 -1
- package/dist/components/Cards/index.js +4 -4
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +1 -1
- package/dist/components/DigitalColleagues/MainPage.js +1 -1
- package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
- package/dist/components/DigitalColleagues/MainPage.stories.js +206 -206
- package/dist/components/DigitalColleagues/MainPage.stories.mjs +1 -1
- package/dist/components/HeaderFooter/BrandLogo.d.ts +2 -3
- package/dist/components/HeaderFooter/BrandLogo.js +1 -1
- package/dist/components/HeaderFooter/BrandLogo.mjs +1 -1
- package/dist/components/HeaderFooter/Footer.js +1 -1
- package/dist/components/HeaderFooter/Footer.mjs +1 -1
- package/dist/components/HeaderFooter/Footer.stories.js +1 -1
- package/dist/components/HeaderFooter/Footer.stories.mjs +1 -1
- package/dist/components/HeaderFooter/Header.d.ts +2 -1
- package/dist/components/HeaderFooter/Header.js +1 -1
- package/dist/components/HeaderFooter/Header.mjs +1 -1
- package/dist/components/HeaderFooter/Header.stories.js +1 -1
- package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.d.ts +2 -1
- package/dist/components/HeaderFooter/HeaderDesktop.js +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.stories.js +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.stories.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderMenu.js +1 -1
- package/dist/components/HeaderFooter/HeaderMenu.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderMenu.stories.js +1 -1
- package/dist/components/HeaderFooter/HeaderMenu.stories.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderMobile.js +1 -1
- package/dist/components/HeaderFooter/HeaderMobile.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderMobile.stories.js +1 -1
- package/dist/components/HeaderFooter/HeaderMobile.stories.mjs +1 -1
- package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
- package/dist/components/HeaderFooter/SimpleHeader.js +1 -1
- package/dist/components/HeaderFooter/SimpleHeader.mjs +1 -1
- package/dist/components/HeaderFooter/SimpleHeader.stories.js +1 -1
- package/dist/components/HeaderFooter/SimpleHeader.stories.mjs +1 -1
- package/dist/components/HeaderFooter/VideoHeader.js +1 -1
- package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
- package/dist/components/HeaderFooter/index.js +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Heros/HighImpact/index.js +1 -1
- package/dist/components/Heros/HighImpact/index.mjs +1 -1
- package/dist/components/Heros/LowImpact/index.mjs +1 -1
- package/dist/components/Heros/MediumImpact/index.mjs +1 -1
- package/dist/components/Heros/PostHero/index.js +1 -1
- package/dist/components/Heros/PostHero/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.js +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/SectionHero/index.mjs +1 -1
- package/dist/components/Heros/index.js +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Holidays/ApproveLeave.mjs +1 -1
- package/dist/components/Holidays/ApproveLeave.stories.mjs +1 -1
- package/dist/components/Holidays/CalendarView.mjs +1 -1
- package/dist/components/Holidays/CalendarView.stories.mjs +1 -1
- package/dist/components/Holidays/HolidayGrid.mjs +1 -1
- package/dist/components/Holidays/HolidayGrid.stories.mjs +1 -1
- package/dist/components/Holidays/HolidayTracker.mjs +1 -1
- package/dist/components/Holidays/HolidayTracker.stories.mjs +1 -1
- package/dist/components/Holidays/RequestLeave.mjs +1 -1
- package/dist/components/Holidays/RequestLeave.stories.mjs +1 -1
- package/dist/components/Holidays/index.mjs +1 -1
- package/dist/components/Layouts/FeatureGrid.stories.css +1 -0
- package/dist/components/Layouts/FeatureGrid.stories.js +1 -1
- package/dist/components/Layouts/FeatureGrid.stories.mjs +1 -1
- package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
- package/dist/components/Layouts/Print.mjs +1 -1
- package/dist/components/Layouts/Print.stories.mjs +1 -1
- package/dist/components/Layouts/SlideShow.mjs +1 -1
- package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Menus/Categories.mjs +1 -1
- package/dist/components/Menus/Categories.stories.mjs +1 -1
- package/dist/components/Menus/Filter.mjs +1 -1
- package/dist/components/Menus/Filter.stories.mjs +1 -1
- package/dist/components/Menus/ProjectTeam.mjs +1 -1
- package/dist/components/Menus/ProjectTeam.stories.mjs +1 -1
- package/dist/components/Menus/RelatedContent.mjs +1 -1
- package/dist/components/Menus/RelatedContent.stories.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
- package/dist/components/Menus/SidebarRight.mjs +1 -1
- package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/Other/Container.mjs +1 -1
- package/dist/components/Other/PageShape.d.ts +9 -0
- package/dist/components/Other/PageShape.js +1 -0
- package/dist/components/Other/PageShape.mjs +1 -0
- package/dist/components/Other/index.d.ts +1 -0
- package/dist/components/Other/index.js +1 -1
- package/dist/components/Other/index.mjs +1 -1
- package/dist/components/Payload/Link/index.mjs +1 -1
- package/dist/components/Payload/Pagination/index.mjs +1 -1
- package/dist/components/Payload/RichText/index.mjs +1 -1
- package/dist/components/Payload/RichText/serialize.mjs +1 -1
- package/dist/components/Payload/RichText.stories.mjs +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/index.js +7 -7
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/alert.mjs +1 -1
- package/dist/components/ui/alert.stories.mjs +1 -1
- package/dist/components/ui/avatar.mjs +1 -1
- package/dist/components/ui/avatar.stories.mjs +1 -1
- package/dist/components/ui/badge.mjs +1 -1
- package/dist/components/ui/badge.stories.mjs +1 -1
- package/dist/components/ui/breadcrumb.mjs +1 -1
- package/dist/components/ui/breadcrumb.stories.mjs +1 -1
- package/dist/components/ui/button.mjs +1 -1
- package/dist/components/ui/button.stories.mjs +1 -1
- package/dist/components/ui/calendar.mjs +1 -1
- package/dist/components/ui/card.mjs +1 -1
- package/dist/components/ui/card.stories.mjs +1 -1
- package/dist/components/ui/checkbox.mjs +1 -1
- package/dist/components/ui/command.mjs +1 -1
- package/dist/components/ui/command.stories.mjs +1 -1
- package/dist/components/ui/dialog.mjs +1 -1
- package/dist/components/ui/dialog.stories.mjs +1 -1
- package/dist/components/ui/dropdown-menu.mjs +1 -1
- package/dist/components/ui/dropdown-menu.stories.mjs +1 -1
- package/dist/components/ui/hover-card.mjs +1 -1
- package/dist/components/ui/hover-card.stories.mjs +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/components/ui/input.mjs +1 -1
- package/dist/components/ui/input.stories.mjs +1 -1
- package/dist/components/ui/inputs/common/styles/index.mjs +1 -1
- package/dist/components/ui/inputs/text-input/index.mjs +1 -1
- package/dist/components/ui/inputs/textarea-input/index.mjs +1 -1
- package/dist/components/ui/label.mjs +1 -1
- package/dist/components/ui/label.stories.mjs +1 -1
- package/dist/components/ui/pagination.mjs +1 -1
- package/dist/components/ui/popover.mjs +1 -1
- package/dist/components/ui/popover.stories.mjs +1 -1
- package/dist/components/ui/scroll-area.mjs +1 -1
- package/dist/components/ui/scroll-area.stories.mjs +1 -1
- package/dist/components/ui/select.mjs +1 -1
- package/dist/components/ui/separator.mjs +1 -1
- package/dist/components/ui/separator.stories.mjs +1 -1
- package/dist/components/ui/sheet.mjs +1 -1
- package/dist/components/ui/sheet.stories.mjs +1 -1
- package/dist/components/ui/sidebar.mjs +1 -1
- package/dist/components/ui/skeleton.mjs +1 -1
- package/dist/components/ui/skeleton.stories.mjs +1 -1
- package/dist/components/ui/textarea.mjs +1 -1
- package/dist/components/ui/toast.mjs +1 -1
- package/dist/components/ui/toast.stories.mjs +1 -1
- package/dist/components/ui/toaster.mjs +1 -1
- package/dist/components/ui/toggle-group.mjs +1 -1
- package/dist/components/ui/toggle.mjs +1 -1
- package/dist/components/ui/toggle.stories.mjs +1 -1
- package/dist/components/ui/tooltip.mjs +1 -1
- package/dist/components/ui/tooltip.stories.mjs +1 -1
- package/dist/fonts/Manrope-Bold.js +1 -0
- package/dist/fonts/Manrope-Bold.mjs +1 -0
- package/dist/fonts/Manrope-ExtraBold.js +1 -0
- package/dist/fonts/Manrope-ExtraBold.mjs +1 -0
- package/dist/fonts/Manrope-ExtraLight.js +1 -0
- package/dist/fonts/Manrope-ExtraLight.mjs +1 -0
- package/dist/fonts/Manrope-Light.js +1 -0
- package/dist/fonts/Manrope-Light.mjs +1 -0
- package/dist/fonts/Manrope-Medium.js +1 -0
- package/dist/fonts/Manrope-Medium.mjs +1 -0
- package/dist/fonts/Manrope-Regular.js +1 -0
- package/dist/fonts/Manrope-Regular.mjs +1 -0
- package/dist/fonts/Manrope-SemiBold.js +1 -0
- package/dist/fonts/Manrope-SemiBold.mjs +1 -0
- package/dist/globals.css +1 -1
- package/dist/index.js +13 -13
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/pages/Blog.js +1 -1
- package/dist/pages/Blog.mjs +1 -1
- package/dist/pages/Blog.stories.js +1 -1
- package/dist/pages/Blog.stories.mjs +1 -1
- package/dist/pages/Documentation.js +1 -1
- package/dist/pages/Documentation.mjs +1 -1
- package/dist/pages/Documentation.stories.js +157 -157
- package/dist/pages/Documentation.stories.mjs +1 -1
- package/dist/pages/IndexPage.js +1 -1
- package/dist/pages/IndexPage.mjs +1 -1
- package/dist/pages/IndexPage.stories.js +1 -1
- package/dist/pages/IndexPage.stories.mjs +1 -1
- package/dist/pages/Intranet.js +1 -1
- package/dist/pages/Intranet.mjs +1 -1
- package/dist/pages/Intranet.stories.js +1 -1
- package/dist/pages/Intranet.stories.mjs +1 -1
- package/dist/pages/LandingPage.js +3 -3
- package/dist/pages/LandingPage.mjs +1 -1
- package/dist/pages/LandingPage.stories.js +3 -3
- package/dist/pages/LandingPage.stories.mjs +1 -1
- package/dist/pages/Page.js +1 -1
- package/dist/pages/Page.mjs +1 -1
- package/dist/pages/Page.stories.js +180 -180
- package/dist/pages/Page.stories.mjs +1 -1
- package/dist/pages/Printable.stories.js +1 -1
- package/dist/pages/Printable.stories.mjs +1 -1
- package/dist/pages/Publish.js +1 -1
- package/dist/pages/Publish.mjs +1 -1
- package/dist/pages/Publish.stories.js +1 -1
- package/dist/pages/Publish.stories.mjs +1 -1
- package/dist/pages/Website.js +1 -1
- package/dist/pages/Website.mjs +1 -1
- package/dist/pages/Website.stories.js +1 -1
- package/dist/pages/Website.stories.mjs +1 -1
- package/dist/payload-types.d.ts +1 -1
- package/dist/sections/AboutSection.js +1 -1
- package/dist/sections/AboutSection.mjs +1 -1
- package/dist/sections/AboutSection.stories.js +1 -1
- package/dist/sections/AboutSection.stories.mjs +1 -1
- package/dist/sections/BlogDetail.mjs +1 -1
- package/dist/sections/BlogDetail.stories.mjs +1 -1
- package/dist/sections/BlogList.d.ts +5 -2
- package/dist/sections/BlogList.js +3 -3
- package/dist/sections/BlogList.mjs +1 -1
- package/dist/sections/BlogList.stories.js +3 -3
- package/dist/sections/BlogList.stories.mjs +1 -1
- package/dist/sections/BlogListSection.mjs +1 -1
- package/dist/sections/BlogListSection.stories.mjs +1 -1
- package/dist/sections/ContactSection.mjs +1 -1
- package/dist/sections/ContactSection.stories.mjs +1 -1
- package/dist/sections/ImageSection.mjs +1 -1
- package/dist/sections/ImageSection.stories.mjs +1 -1
- package/dist/sections/MainPageSection.mjs +1 -1
- package/dist/sections/PageSections.css +1 -0
- package/dist/sections/PageSections.d.ts +10 -0
- package/dist/sections/PageSections.js +4 -0
- package/dist/sections/PageSections.mjs +2 -0
- package/dist/sections/PageSections.stories.css +1 -0
- package/dist/sections/PageSections.stories.js +4 -0
- package/dist/sections/PageSections.stories.mjs +1 -0
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/PricingSection.stories.mjs +1 -1
- package/dist/sections/ServiceDetailSection.css +1 -0
- package/dist/sections/ServiceDetailSection.d.ts +12 -0
- package/dist/sections/ServiceDetailSection.js +4 -0
- package/dist/sections/ServiceDetailSection.mjs +1 -0
- package/dist/sections/ServiceDetailSection.stories.css +1 -0
- package/dist/sections/ServiceDetailSection.stories.js +4 -0
- package/dist/sections/ServiceDetailSection.stories.mjs +1 -0
- package/dist/sections/ServiceSection.d.ts +2 -3
- package/dist/sections/ServiceSection.js +1 -1
- package/dist/sections/ServiceSection.mjs +1 -1
- package/dist/sections/ServiceSection.stories.js +1 -1
- package/dist/sections/ServiceSection.stories.mjs +1 -1
- package/dist/sections/form/index.mjs +1 -1
- package/dist/sections/index.d.ts +2 -0
- package/dist/sections/index.js +3 -3
- package/dist/sections/index.mjs +1 -1
- package/dist/styles/Colors.js +1 -1
- package/dist/styles/Colors.mjs +1 -1
- package/dist/styles/Colors.stories.js +1 -1
- package/dist/styles/Colors.stories.mjs +1 -1
- package/dist/utils/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-42TZNRIV.mjs +0 -1
- package/dist/chunk-4JXH3DXX.mjs +0 -4
- package/dist/chunk-5KL4BLZI.mjs +0 -1
- package/dist/chunk-AHCKCVZD.mjs +0 -1
- package/dist/chunk-AQPPHJYT.mjs +0 -1
- package/dist/chunk-BMYJ2OX6.mjs +0 -1
- package/dist/chunk-C4WHGKFC.mjs +0 -4
- package/dist/chunk-CW4LB3UU.mjs +0 -1
- package/dist/chunk-F4BXMU2F.mjs +0 -1
- package/dist/chunk-HAYRX2WO.mjs +0 -1
- package/dist/chunk-IQ4OBCKJ.mjs +0 -4
- package/dist/chunk-SV3TTIPR.mjs +0 -1
- package/dist/chunk-WDI4NXLR.mjs +0 -1
- package/dist/chunk-WOKH5EZP.mjs +0 -9
- package/dist/chunk-XCKHSWP5.mjs +0 -4
- package/dist/chunk-XL5P6FLS.mjs +0 -4
- package/dist/chunk-Z2CY2BLM.mjs +0 -1
- package/dist/chunk-ZR4DUVVN.mjs +0 -4
- package/dist/chunk-ZWKWU7U4.mjs +0 -4
package/dist/index.js
CHANGED
|
@@ -3,24 +3,24 @@
|
|
|
3
3
|
'use strict'
|
|
4
4
|
'use server'
|
|
5
5
|
|
|
6
|
-
"use strict";var
|
|
7
|
-
aos: MutationObserver
|
|
6
|
+
"use strict";var vm=Object.create;var Lr=Object.defineProperty;var ym=Object.getOwnPropertyDescriptor;var hm=Object.getOwnPropertyNames;var xm=Object.getPrototypeOf,wm=Object.prototype.hasOwnProperty;var Nm=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Cm=(e,t)=>{for(var a in t)Lr(e,a,{get:t[a],enumerable:!0})},qn=(e,t,a,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of hm(t))!wm.call(e,r)&&r!==a&&Lr(e,r,{get:()=>t[r],enumerable:!(o=ym(t,r))||o.enumerable});return e};var h=(e,t,a)=>(a=e!=null?vm(xm(e)):{},qn(t||!e||!e.__esModule?Lr(a,"default",{value:e,enumerable:!0}):a,e)),Pm=e=>qn(Lr({},"__esModule",{value:!0}),e);var sl=Nm((Zo,$s)=>{"use strict";(function(e,t){typeof Zo=="object"&&typeof $s=="object"?$s.exports=t():typeof define=="function"&&define.amd?define([],t):typeof Zo=="object"?Zo.AOS=t():e.AOS=t()})(Zo,function(){return function(e){function t(o){if(a[o])return a[o].exports;var r=a[o]={exports:{},id:o,loaded:!1};return e[o].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var a={};return t.m=e,t.c=a,t.p="dist/",t(0)}([function(e,t,a){"use strict";function o(w){return w&&w.__esModule?w:{default:w}}var r=Object.assign||function(w){for(var ye=1;ye<arguments.length;ye++){var xe=arguments[ye];for(var je in xe)Object.prototype.hasOwnProperty.call(xe,je)&&(w[je]=xe[je])}return w},s=a(1),n=(o(s),a(6)),i=o(n),c=a(7),m=o(c),d=a(8),p=o(d),u=a(9),g=o(u),v=a(10),f=o(v),y=a(11),k=o(y),D=a(14),E=o(D),B=[],de=!1,G={offset:120,delay:0,easing:"ease",duration:400,disable:!1,once:!1,startEvent:"DOMContentLoaded",throttleDelay:99,debounceDelay:50,disableMutationObserver:!1},C=function(){var w=arguments.length>0&&arguments[0]!==void 0&&arguments[0];if(w&&(de=!0),de)return B=(0,k.default)(B,G),(0,f.default)(B,G.once),B},I=function(){B=(0,E.default)(),C()},S=function(){B.forEach(function(w,ye){w.node.removeAttribute("data-aos"),w.node.removeAttribute("data-aos-easing"),w.node.removeAttribute("data-aos-duration"),w.node.removeAttribute("data-aos-delay")})},b=function(w){return w===!0||w==="mobile"&&g.default.mobile()||w==="phone"&&g.default.phone()||w==="tablet"&&g.default.tablet()||typeof w=="function"&&w()===!0},N=function(w){G=r(G,w),B=(0,E.default)();var ye=document.all&&!window.atob;return b(G.disable)||ye?S():(G.disableMutationObserver||p.default.isSupported()||(console.info(`
|
|
7
|
+
aos: MutationObserver il not supported on this browser,
|
|
8
8
|
code mutations observing has been disabled.
|
|
9
|
-
You may have
|
|
10
|
-
`),j.disableMutationObserver=!0),document.querySelector("body").setAttribute("data-aos-easing",j.easing),document.querySelector("body").setAttribute("data-aos-duration",j.duration),document.querySelector("body").setAttribute("data-aos-delay",j.delay),j.startEvent==="DOMContentLoaded"&&["complete","interactive"].indexOf(document.readyState)>-1?C(!0):j.startEvent==="load"?window.addEventListener(j.startEvent,function(){C(!0)}):document.addEventListener(j.startEvent,function(){C(!0)}),window.addEventListener("resize",(0,m.default)(C,j.debounceDelay,!0)),window.addEventListener("orientationchange",(0,m.default)(C,j.debounceDelay,!0)),window.addEventListener("scroll",(0,i.default)(function(){(0,g.default)(B,j.once)},j.throttleDelay)),j.disableMutationObserver||p.default.ready("[data-aos]",L),B)};e.exports={init:N,refresh:C,refreshHard:L}},function(e,t){},,,,,function(e,t){(function(a){"use strict";function o(b,N,w){function be(se){var nt=re,wa=de;return re=de=void 0,ha=se,$e=b.apply(wa,nt)}function ve(se){return ha=se,Le=setTimeout(Nt,N),xa?be(se):$e}function Oe(se){var nt=se-ut,wa=se-ha,Xn=N-nt;return Jt?L(Xn,Vt-wa):Xn}function rt(se){var nt=se-ut,wa=se-ha;return ut===void 0||nt>=N||nt<0||Jt&&wa>=Vt}function Nt(){var se=S();return rt(se)?pt(se):void(Le=setTimeout(Nt,Oe(se)))}function pt(se){return Le=void 0,he&&re?be(se):(re=de=void 0,$e)}function st(){Le!==void 0&&clearTimeout(Le),ha=0,re=ut=de=Le=void 0}function it(){return Le===void 0?$e:pt(S())}function ne(){var se=S(),nt=rt(se);if(re=arguments,de=this,ut=se,nt){if(Le===void 0)return ve(ut);if(Jt)return Le=setTimeout(Nt,N),be(ut)}return Le===void 0&&(Le=setTimeout(Nt,N)),$e}var re,de,Vt,$e,Le,ut,ha=0,xa=!1,Jt=!1,he=!0;if(typeof b!="function")throw new TypeError(d);return N=c(N)||0,s(w)&&(xa=!!w.leading,Jt="maxWait"in w,Vt=Jt?C(c(w.maxWait)||0,N):Vt,he="trailing"in w?!!w.trailing:he),ne.cancel=st,ne.flush=it,ne}function r(b,N,w){var be=!0,ve=!0;if(typeof b!="function")throw new TypeError(d);return s(w)&&(be="leading"in w?!!w.leading:be,ve="trailing"in w?!!w.trailing:ve),o(b,N,{leading:be,maxWait:N,trailing:ve})}function s(b){var N=typeof b=="undefined"?"undefined":m(b);return!!b&&(N=="object"||N=="function")}function n(b){return!!b&&(typeof b=="undefined"?"undefined":m(b))=="object"}function i(b){return(typeof b=="undefined"?"undefined":m(b))=="symbol"||n(b)&&j.call(b)==u}function c(b){if(typeof b=="number")return b;if(i(b))return p;if(s(b)){var N=typeof b.valueOf=="function"?b.valueOf():b;b=s(N)?N+"":N}if(typeof b!="string")return b===0?b:+b;b=b.replace(f,"");var w=g.test(b);return w||v.test(b)?k(b.slice(2),w?2:8):y.test(b)?p:+b}var m=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(b){return typeof b}:function(b){return b&&typeof Symbol=="function"&&b.constructor===Symbol&&b!==Symbol.prototype?"symbol":typeof b},d="Expected a function",p=NaN,u="[object Symbol]",f=/^\s+|\s+$/g,y=/^[-+]0x[0-9a-f]+$/i,g=/^0b[01]+$/i,v=/^0o[0-7]+$/i,k=parseInt,D=(typeof a=="undefined"?"undefined":m(a))=="object"&&a&&a.Object===Object&&a,E=(typeof self=="undefined"?"undefined":m(self))=="object"&&self&&self.Object===Object&&self,B=D||E||Function("return this")(),le=Object.prototype,j=le.toString,C=Math.max,L=Math.min,S=function(){return B.Date.now()};e.exports=r}).call(t,function(){return this}())},function(e,t){(function(a){"use strict";function o(S,b,N){function w(he){var se=ne,nt=re;return ne=re=void 0,ut=he,Vt=S.apply(nt,se)}function be(he){return ut=he,$e=setTimeout(rt,b),ha?w(he):Vt}function ve(he){var se=he-Le,nt=he-ut,wa=b-se;return xa?C(wa,de-nt):wa}function Oe(he){var se=he-Le,nt=he-ut;return Le===void 0||se>=b||se<0||xa&&nt>=de}function rt(){var he=L();return Oe(he)?Nt(he):void($e=setTimeout(rt,ve(he)))}function Nt(he){return $e=void 0,Jt&&ne?w(he):(ne=re=void 0,Vt)}function pt(){$e!==void 0&&clearTimeout($e),ut=0,ne=Le=re=$e=void 0}function st(){return $e===void 0?Vt:Nt(L())}function it(){var he=L(),se=Oe(he);if(ne=arguments,re=this,Le=he,se){if($e===void 0)return be(Le);if(xa)return $e=setTimeout(rt,b),w(Le)}return $e===void 0&&($e=setTimeout(rt,b)),Vt}var ne,re,de,Vt,$e,Le,ut=0,ha=!1,xa=!1,Jt=!0;if(typeof S!="function")throw new TypeError(m);return b=i(b)||0,r(N)&&(ha=!!N.leading,xa="maxWait"in N,de=xa?j(i(N.maxWait)||0,b):de,Jt="trailing"in N?!!N.trailing:Jt),it.cancel=pt,it.flush=st,it}function r(S){var b=typeof S=="undefined"?"undefined":c(S);return!!S&&(b=="object"||b=="function")}function s(S){return!!S&&(typeof S=="undefined"?"undefined":c(S))=="object"}function n(S){return(typeof S=="undefined"?"undefined":c(S))=="symbol"||s(S)&&le.call(S)==p}function i(S){if(typeof S=="number")return S;if(n(S))return d;if(r(S)){var b=typeof S.valueOf=="function"?S.valueOf():S;S=r(b)?b+"":b}if(typeof S!="string")return S===0?S:+S;S=S.replace(u,"");var N=y.test(S);return N||g.test(S)?v(S.slice(2),N?2:8):f.test(S)?d:+S}var c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(S){return typeof S}:function(S){return S&&typeof Symbol=="function"&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S},m="Expected a function",d=NaN,p="[object Symbol]",u=/^\s+|\s+$/g,f=/^[-+]0x[0-9a-f]+$/i,y=/^0b[01]+$/i,g=/^0o[0-7]+$/i,v=parseInt,k=(typeof a=="undefined"?"undefined":c(a))=="object"&&a&&a.Object===Object&&a,D=(typeof self=="undefined"?"undefined":c(self))=="object"&&self&&self.Object===Object&&self,E=k||D||Function("return this")(),B=Object.prototype,le=B.toString,j=Math.max,C=Math.min,L=function(){return E.Date.now()};e.exports=o}).call(t,function(){return this}())},function(e,t){"use strict";function a(c){var m=void 0,d=void 0,p=void 0;for(m=0;m<c.length;m+=1)if(d=c[m],d.dataset&&d.dataset.aos||(p=d.children&&a(d.children)))return!0;return!1}function o(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function r(){return!!o()}function s(c,m){var d=window.document,p=o(),u=new p(n);i=m,u.observe(d.documentElement,{childList:!0,subtree:!0,removedNodes:!0})}function n(c){c&&c.forEach(function(m){var d=Array.prototype.slice.call(m.addedNodes),p=Array.prototype.slice.call(m.removedNodes),u=d.concat(p);if(a(u))return i()})}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){};t.default={isSupported:r,ready:s}},function(e,t){"use strict";function a(d,p){if(!(d instanceof p))throw new TypeError("Cannot call a class as a function")}function o(){return navigator.userAgent||navigator.vendor||window.opera||""}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function d(p,u){for(var f=0;f<u.length;f++){var y=u[f];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(p,y.key,y)}}return function(p,u,f){return u&&d(p.prototype,u),f&&d(p,f),p}}(),s=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( sl)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows Ct|xda|xiino/i,n=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|Ct|co)|amoi|Ct(ex|ny|yw)|aptu|ar(ch|sl)|as(Ct|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|Ct)|craw|Dl(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|sl|wa|Ct)|fetc|fly(\-|Ct)|g1 u|g560|gene|gf\-5|g\-mo|sl(\.w|od)|Ct(Dl|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|Ct(c(\-| |Ct|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|sl|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|Ct(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(Ct|ui|xo)|sl(01|21|Ct)|m\-cr|Ct(rc|ri)|mi(o8|Ct|Ct)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|Ct(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|Ct|tf|wf|wg|Ct)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|sl)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|Ct(ve|sl)|s55\/|sa(ge|ma|sl|ms|ny|Ct)|Dl(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|sl|Ct|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|$d(al|ar|b3|it|t5)|so(Ct|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(Ct|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|Dl(pl|sh)|Ct(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|Ct)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |Dl|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,i=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( sl)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows Ct|xda|xiino|android|ipad|playbook|silk/i,c=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|Ct|co)|amoi|Ct(ex|ny|yw)|aptu|ar(ch|sl)|as(Ct|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|Ct)|craw|Dl(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|sl|wa|Ct)|fetc|fly(\-|Ct)|g1 u|g560|gene|gf\-5|g\-mo|sl(\.w|od)|Ct(Dl|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|Ct(c(\-| |Ct|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|sl|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|Ct(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(Ct|ui|xo)|sl(01|21|Ct)|m\-cr|Ct(rc|ri)|mi(o8|Ct|Ct)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|Ct(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|Ct|tf|wf|wg|Ct)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|sl)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|Ct(ve|sl)|s55\/|sa(ge|ma|sl|ms|ny|Ct)|Dl(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|sl|Ct|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|$d(al|ar|b3|it|t5)|so(Ct|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(Ct|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|Dl(pl|sh)|Ct(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|Ct)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |Dl|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,m=function(){function d(){a(this,d)}return r(d,[{key:"phone",value:function(){var p=o();return!(!s.test(p)&&!n.test(p.substr(0,4)))}},{key:"mobile",value:function(){var p=o();return!(!i.test(p)&&!c.test(p.substr(0,4)))}},{key:"tablet",value:function(){return this.mobile()&&!this.phone()}}]),d}();t.default=new m},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=function(r,s,n){var i=r.node.getAttribute("data-aos-once");s>r.position?r.node.classList.add("aos-animate"):typeof i!="undefined"&&(i==="false"||!n&&i!=="true")&&r.node.classList.remove("aos-animate")},o=function(r,s){var n=window.pageYOffset,i=window.innerHeight;r.forEach(function(c,m){a(c,i+n,s)})};t.default=o},function(e,t,a){"use strict";function o(i){return i&&i.__esModule?i:{default:i}}Object.defineProperty(t,"__esModule",{value:!0});var r=a(12),s=o(r),n=function(i,c){return i.forEach(function(m,d){m.node.classList.add("aos-init"),m.position=(0,s.default)(m.node,c.offset)}),i};t.default=n},function(e,t,a){"use strict";function o(i){return i&&i.__esModule?i:{default:i}}Object.defineProperty(t,"__esModule",{value:!0});var r=a(13),s=o(r),n=function(i,c){var m=0,d=0,p=window.innerHeight,u={offset:i.getAttribute("data-aos-offset"),anchor:i.getAttribute("data-aos-anchor"),anchorPlacement:i.getAttribute("data-aos-anchor-placement")};switch(u.offset&&!isNaN(u.offset)&&(d=parseInt(u.offset)),u.anchor&&document.querySelectorAll(u.anchor)&&(i=document.querySelectorAll(u.anchor)[0]),m=(0,s.default)(i).top,u.anchorPlacement){case"top-bottom":break;case"center-bottom":m+=i.offsetHeight/2;break;case"bottom-bottom":m+=i.offsetHeight;break;case"top-center":m+=p/2;break;case"bottom-center":m+=p/2+i.offsetHeight;break;case"center-center":m+=p/2+i.offsetHeight/2;break;case"top-top":m+=p;break;case"bottom-top":m+=i.offsetHeight+p;break;case"center-top":m+=i.offsetHeight/2+p}return u.anchorPlacement||u.offset||isNaN(c)||(d=c),m+d};t.default=n},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=function(o){for(var r=0,s=0;o&&!isNaN(o.offsetLeft)&&!isNaN(o.offsetTop);)r+=o.offsetLeft-(o.tagName!="BODY"?o.scrollLeft:0),s+=o.offsetTop-(o.tagName!="BODY"?o.scrollTop:0),o=o.offsetParent;return{top:s,left:r}};t.default=a},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=function(o){return o=o||document.querySelectorAll("[data-aos]"),Array.prototype.map.call(o,function(r){return{node:r}})};t.default=a}])})});var Eu={};hm(Eu,{AOSInit:()=>Zm,AboutSection:()=>vu,Alert:()=>_i,AlertDescription:()=>ji,AlertTitle:()=>Gi,ApproveLeave:()=>In,Avatar:()=>sa,AvatarFallback:()=>na,AvatarImage:()=>ia,Badge:()=>Tt,BannerBlock:()=>qi,BlogCard:()=>cm,BlogDetail:()=>Tu,BlogList:()=>Iu,BlogListSection:()=>xu,BrandLogo:()=>Wa,Breadcrumb:()=>js,BreadcrumbEllipsis:()=>Ys,BreadcrumbItem:()=>Ws,BreadcrumbLink:()=>Vs,BreadcrumbList:()=>$s,BreadcrumbPage:()=>Us,BreadcrumbSeparator:()=>Xs,Breadcrumbs:()=>Sn,Button:()=>I,CMSLink:()=>Ut,CRMKanbanBoard:()=>fu,Calendar:()=>ur,CalendarView:()=>Hn,CallToActionBlock:()=>no,Card:()=>vr,Categories:()=>Nr,Checkbox:()=>Ot,CodeBlock:()=>Zi,Collapsible:()=>ea,CollapsibleContent:()=>ka,CollapsibleTrigger:()=>Pa,CollectionArchive:()=>Fp,Command:()=>Kr,CommandDialog:()=>Jl,CommandEmpty:()=>Ei,CommandGroup:()=>zi,CommandInput:()=>Li,CommandItem:()=>Fi,CommandList:()=>Bi,CommandSeparator:()=>Hi,CommandShortcut:()=>Oi,ContactSection:()=>Su,Container:()=>Ve,ContentBlock:()=>yr,ContentCard:()=>sn,CopyButton:()=>Qi,CustomLink:()=>_e,CustomerCard:()=>gd,DealCard:()=>On,DealDetails:()=>Fn,Dialog:()=>Rt,DialogClose:()=>Yr,DialogContent:()=>bt,DialogDescription:()=>Ii,DialogFooter:()=>Ai,DialogHeader:()=>Ht,DialogOverlay:()=>qr,DialogPortal:()=>Mi,DialogTitle:()=>Ft,DialogTrigger:()=>Xr,DropdownMenu:()=>ll,DropdownMenuCheckboxItem:()=>Zs,DropdownMenuContent:()=>Qs,DropdownMenuGroup:()=>cl,DropdownMenuItem:()=>Js,DropdownMenuLabel:()=>ti,DropdownMenuPortal:()=>ml,DropdownMenuRadioGroup:()=>ul,DropdownMenuRadioItem:()=>ei,DropdownMenuSeparator:()=>ai,DropdownMenuShortcut:()=>oi,DropdownMenuSub:()=>pl,DropdownMenuSubContent:()=>Ks,DropdownMenuSubTrigger:()=>qs,DropdownMenuTrigger:()=>dl,DynamicIcon:()=>et,EventCard:()=>fd,FeatureCard:()=>md,FeatureGrid:()=>Ed,FeaturesBlock:()=>co,Filter:()=>xn,FlowPrintable:()=>oc,Footer:()=>lu,Header:()=>du,HeaderDesktop:()=>kr,HeaderMobile:()=>Sr,HeadingImage:()=>Bp,Hero:()=>Np,HighImpactHero:()=>wn,HolidayGrid:()=>zn,HolidayTracker:()=>uu,HoverCard:()=>Xl,HoverCardContent:()=>Di,HoverCardTrigger:()=>Yl,Image:()=>xd,ImageBlock:()=>rn,ImageSection:()=>Au,InfoTile:()=>Sp,Input:()=>lt,Insight:()=>kp,KanbanColumn:()=>jn,Label:()=>ue,Logo:()=>Op,LowImpactHero:()=>Pn,MOTD:()=>Tp,MainPageSection:()=>Du,Media:()=>ma,MediaBlock:()=>pa,MediumImpactHero:()=>Cn,NewCustomerForm:()=>_n,NewDealForm:()=>Gn,NewsGrid:()=>tc,OrgChart:()=>Ap,PagePrintable:()=>rc,PageRange:()=>jp,Pagination:()=>vn,PayloadPagination:()=>$p,Popover:()=>dr,PopoverAnchor:()=>jl,PopoverContent:()=>Ao,PopoverTrigger:()=>cr,PostHero:()=>Zp,PricingCard:()=>Yi,PricingSection:()=>yu,Printable:()=>fn,ProjectCard:()=>hd,ProjectTeam:()=>Kp,ProposalSummary:()=>Ip,Publish:()=>Lu,RelatedContent:()=>Qp,RelatedPosts:()=>Hp,RenderBlocks:()=>mo,RenderHero:()=>tu,RequestLeave:()=>En,ReusableContentBlock:()=>nn,RichText:()=>ge,ScrollArea:()=>La,ScrollBar:()=>Ur,SectionHero:()=>kn,Select:()=>ao,SelectContent:()=>Ha,SelectGroup:()=>gp,SelectItem:()=>Fa,SelectLabel:()=>rd,SelectScrollDownButton:()=>Vi,SelectScrollUpButton:()=>Wi,SelectSeparator:()=>sd,SelectTrigger:()=>za,SelectValue:()=>oo,Separator:()=>Ko,ServiceCard:()=>Xi,ServiceSection:()=>bu,Sheet:()=>Lr,SheetClose:()=>wl,SheetContent:()=>Jo,SheetDescription:()=>di,SheetFooter:()=>ni,SheetHeader:()=>ii,SheetOverlay:()=>Br,SheetPortal:()=>si,SheetTitle:()=>li,SheetTrigger:()=>xl,Sidebar:()=>qa,SidebarContent:()=>Ra,SidebarFooter:()=>Qa,SidebarGroup:()=>Pt,SidebarGroupAction:()=>bi,SidebarGroupContent:()=>Et,SidebarGroupLabel:()=>aa,SidebarHeader:()=>Ka,SidebarInput:()=>fi,SidebarInset:()=>gi,SidebarLeft:()=>Up,SidebarMenu:()=>dt,SidebarMenuAction:()=>tr,SidebarMenuBadge:()=>yi,SidebarMenuButton:()=>kt,SidebarMenuItem:()=>Ue,SidebarMenuSkeleton:()=>vi,SidebarMenuSub:()=>Ta,SidebarMenuSubButton:()=>Ma,SidebarMenuSubItem:()=>Da,SidebarProvider:()=>mi,SidebarRail:()=>ui,SidebarRight:()=>qp,SidebarSeparator:()=>er,SidebarTrigger:()=>pi,SimpleHeader:()=>ou,Skeleton:()=>Ne,SlideShow:()=>us,TextAndImages:()=>ac,Textarea:()=>Oa,Theme:()=>ms,ThemeProvider:()=>cu,Toast:()=>rr,ToastAction:()=>wi,ToastClose:()=>sr,ToastDescription:()=>nr,ToastProvider:()=>Wr,ToastTitle:()=>ir,ToastViewport:()=>or,Toaster:()=>zl,Toggle:()=>Ci,ToggleGroup:()=>Pi,ToggleGroupItem:()=>ki,Tooltip:()=>Fr,TooltipContent:()=>Zo,TooltipProvider:()=>Hr,TooltipTrigger:()=>Or,VideoHeader:()=>iu,WhyUs:()=>Lp,badgeVariants:()=>$i,buttonVariants:()=>Sa,cn:()=>l,getTableOfContents:()=>Po,reducer:()=>Il,toast:()=>Ll,toggleVariants:()=>lr,useIsMobile:()=>zr,useSidebar:()=>Do,useToast:()=>$r});module.exports=xm(Eu);var ko=h(require("react")),Ir=require("@radix-ui/react-icons"),nl=require("@radix-ui/react-slot");var ol=require("clsx");var _s="-",wm=e=>{let t=Cm(e),{conflictingClassGroups:a,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:n=>{let i=n.split(_s);return i[0]===""&&i.length!==1&&i.shift(),Qn(i,t)||Nm(n)},getConflictingClassGroupIds:(n,i)=>{let c=a[n]||[];return i&&o[n]?[...c,...o[n]]:c}}},Qn=(e,t)=>{var n;if(e.length===0)return t.classGroupId;let a=e[0],o=t.nextPart.get(a),r=o?Qn(e.slice(1),o):void 0;if(r)return r;if(t.validators.length===0)return;let s=e.join(_s);return(n=t.validators.find(({validator:i})=>i(s)))==null?void 0:n.classGroupId},qn=/^\[(.+)\]$/,Nm=e=>{if(qn.test(e)){let t=qn.exec(e)[1],a=t==null?void 0:t.substring(0,t.indexOf(":"));if(a)return"arbitrary.."+a}},Cm=e=>{let{theme:t,prefix:a}=e,o={nextPart:new Map,validators:[]};return km(Object.entries(e.classGroups),a).forEach(([s,n])=>{Os(n,o,s,t)}),o},Os=(e,t,a,o)=>{e.forEach(r=>{if(typeof r=="string"){let s=r===""?t:Kn(t,r);s.classGroupId=a;return}if(typeof r=="function"){if(Pm(r)){Os(r(o),t,a,o);return}t.validators.push({validator:r,classGroupId:a});return}Object.entries(r).forEach(([s,n])=>{Os(n,Kn(t,s),a,o)})})},Kn=(e,t)=>{let a=e;return t.split(_s).forEach(o=>{a.nextPart.has(o)||a.nextPart.set(o,{nextPart:new Map,validators:[]}),a=a.nextPart.get(o)}),a},Pm=e=>e.isThemeGetter,km=(e,t)=>t?e.map(([a,o])=>{let r=o.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([n,i])=>[t+n,i])):s);return[a,r]}):e,Sm=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,a=new Map,o=new Map,r=(s,n)=>{a.set(s,n),t++,t>e&&(t=0,o=a,a=new Map)};return{get(s){let n=a.get(s);if(n!==void 0)return n;if((n=o.get(s))!==void 0)return r(s,n),n},set(s,n){a.has(s)?a.set(s,n):r(s,n)}}},Jn="!",Rm=e=>{let{separator:t,experimentalParseClassName:a}=e,o=t.length===1,r=t[0],s=t.length,n=i=>{let c=[],m=0,d=0,p;for(let v=0;v<i.length;v++){let k=i[v];if(m===0){if(k===r&&(o||i.slice(v,v+s)===t)){c.push(i.slice(d,v)),d=v+s;continue}if(k==="/"){p=v;continue}}k==="["?m++:k==="]"&&m--}let u=c.length===0?i:i.substring(d),f=u.startsWith(Jn),y=f?u.substring(1):u,g=p&&p>d?p-d:void 0;return{modifiers:c,hasImportantModifier:f,baseClassName:y,maybePostfixModifierPosition:g}};return a?i=>a({className:i,parseClassName:n}):n},Tm=e=>{if(e.length<=1)return e;let t=[],a=[];return e.forEach(o=>{o[0]==="["?(t.push(...a.sort(),o),a=[]):a.push(o)}),t.push(...a.sort()),t},Dm=e=>({cache:Sm(e.cacheSize),parseClassName:Rm(e),...wm(e)}),Mm=/\s+/,Am=(e,t)=>{let{parseClassName:a,getClassGroupId:o,getConflictingClassGroupIds:r}=t,s=[],n=e.trim().split(Mm),i="";for(let c=n.length-1;c>=0;c-=1){let m=n[c],{modifiers:d,hasImportantModifier:p,baseClassName:u,maybePostfixModifierPosition:f}=a(m),y=!!f,g=o(y?u.substring(0,f):u);if(!g){if(!y){i=m+(i.length>0?" "+i:i);continue}if(g=o(u),!g){i=m+(i.length>0?" "+i:i);continue}y=!1}let v=Tm(d).join(":"),k=p?v+Jn:v,D=k+g;if(s.includes(D))continue;s.push(D);let E=r(g,y);for(let B=0;B<E.length;++B){let le=E[B];s.push(k+le)}i=m+(i.length>0?" "+i:i)}return i};function Im(){let e=0,t,a,o="";for(;e<arguments.length;)(t=arguments[e++])&&(a=Zn(t))&&(o&&(o+=" "),o+=a);return o}var Zn=e=>{if(typeof e=="string")return e;let t,a="";for(let o=0;o<e.length;o++)e[o]&&(t=Zn(e[o]))&&(a&&(a+=" "),a+=t);return a};function Lm(e,...t){let a,o,r,s=n;function n(c){let m=t.reduce((d,p)=>p(d),e());return a=Dm(m),o=a.cache.get,r=a.cache.set,s=i,i(c)}function i(c){let m=o(c);if(m)return m;let d=Am(c,a);return r(c,d),d}return function(){return s(Im.apply(null,arguments))}}var pe=e=>{let t=a=>a[e]||[];return t.isThemeGetter=!0,t},el=/^\[(?:([a-Ct-]+):)?(.+)\]$/i,Bm=/^\d+\/\d+$/,Em=new Set(["px","full","screen"]),zm=/^(\d+(\.\d+)?)?(xs|$d|md|lg|xl)$/,Hm=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|Dl|in|cm|sl|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Fm=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Om=/^(inset_)?-?((\d+)?\.?(\d+)[a-Ct]+|0)Ct-?((\d+)?\.?(\d+)[a-Ct]+|0)/,_m=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Zt=e=>No(e)||Em.has(e)||Bm.test(e),Na=e=>Co(e,"length",Ym),No=e=>!!e&&!Number.isNaN(Number(e)),Fs=e=>Co(e,"number",No),Xo=e=>!!e&&Number.isInteger(Number(e)),Gm=e=>e.endsWith("%")&&No(e.slice(0,-1)),F=e=>el.test(e),Ca=e=>zm.test(e),jm=new Set(["length","size","percentage"]),$m=e=>Co(e,jm,tl),Wm=e=>Co(e,"position",tl),Vm=new Set(["image","url"]),Um=e=>Co(e,Vm,Km),Xm=e=>Co(e,"",qm),Yo=()=>!0,Co=(e,t,a)=>{let o=el.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):a(o[2]):!1},Ym=e=>Hm.test(e)&&!Fm.test(e),tl=()=>!1,qm=e=>Om.test(e),Km=e=>_m.test(e);var Qm=()=>{let e=pe("colors"),t=pe("spacing"),a=pe("blur"),o=pe("brightness"),r=pe("borderColor"),s=pe("borderRadius"),n=pe("borderSpacing"),i=pe("borderWidth"),c=pe("contrast"),m=pe("grayscale"),d=pe("hueRotate"),p=pe("invert"),u=pe("gap"),f=pe("gradientColorStops"),y=pe("gradientColorStopPositions"),g=pe("inset"),v=pe("margin"),k=pe("opacity"),D=pe("padding"),E=pe("saturate"),B=pe("scale"),le=pe("sepia"),j=pe("skew"),C=pe("space"),L=pe("translate"),S=()=>["auto","contain","none"],b=()=>["auto","hidden","clip","visible","scroll"],N=()=>["auto",F,t],w=()=>[F,t],be=()=>["",Zt,Na],ve=()=>["auto",No,F],Oe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],rt=()=>["solid","dashed","dotted","double","none"],Nt=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],pt=()=>["start","end","center","between","around","evenly","stretch"],st=()=>["","0",F],it=()=>["auto","avoid","all","avoid-page","page","left","right","column"],ne=()=>[No,F];return{cacheSize:500,separator:":",theme:{colors:[Yo],spacing:[Zt,Na],blur:["none","",Ca,F],brightness:ne(),borderColor:[e],borderRadius:["none","","full",Ca,F],borderSpacing:w(),borderWidth:be(),contrast:ne(),grayscale:st(),hueRotate:ne(),invert:st(),gap:w(),gradientColorStops:[e],gradientColorStopPositions:[Gm,Na],inset:N(),margin:N(),opacity:ne(),padding:w(),saturate:ne(),scale:ne(),sepia:st(),skew:ne(),space:w(),translate:w()},classGroups:{aspect:[{aspect:["auto","square","video",F]}],container:["container"],columns:[{columns:[Ca]}],"break-after":[{"break-after":it()}],"break-before":[{"break-before":it()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...Oe(),F]}],overflow:[{overflow:b()}],"overflow-Ct":[{"overflow-Ct":b()}],"overflow-y":[{"overflow-y":b()}],overscroll:[{overscroll:S()}],"overscroll-Ct":[{"overscroll-Ct":S()}],"overscroll-y":[{"overscroll-y":S()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-Ct":[{"inset-Ct":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],Ct:[{Ct:["auto",Xo,F]}],basis:[{basis:N()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",F]}],grow:[{grow:st()}],shrink:[{shrink:st()}],order:[{order:["first","last","none",Xo,F]}],"grid-cols":[{"grid-cols":[Yo]}],"col-start-end":[{col:["auto",{span:["full",Xo,F]},F]}],"col-start":[{"col-start":ve()}],"col-end":[{"col-end":ve()}],"grid-rows":[{"grid-rows":[Yo]}],"row-start-end":[{row:["auto",{span:[Xo,F]},F]}],"row-start":[{"row-start":ve()}],"row-end":[{"row-end":ve()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",F]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",F]}],gap:[{gap:[u]}],"gap-Ct":[{"gap-Ct":[u]}],"gap-y":[{"gap-y":[u]}],"justify-content":[{justify:["normal",...pt()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...pt(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...pt(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[D]}],px:[{px:[D]}],py:[{py:[D]}],ps:[{ps:[D]}],pe:[{pe:[D]}],pt:[{pt:[D]}],pr:[{pr:[D]}],pb:[{pb:[D]}],pl:[{pl:[D]}],m:[{m:[v]}],mx:[{mx:[v]}],my:[{my:[v]}],ms:[{ms:[v]}],Ct:[{Ct:[v]}],Ct:[{Ct:[v]}],mr:[{mr:[v]}],mb:[{mb:[v]}],ml:[{ml:[v]}],"space-Ct":[{"space-Ct":[C]}],"space-Ct-reverse":["space-Ct-reverse"],"space-y":[{"space-y":[C]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",F,t]}],"min-w":[{"min-w":[F,t,"min","max","fit"]}],"max-w":[{"max-w":[F,t,"none","full","min","max","fit","prose",{screen:[Ca]},Ca]}],h:[{h:[F,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[F,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[F,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[F,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Ca,Na]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Fs]}],"font-family":[{font:[Yo]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",F]}],"line-clamp":[{"line-clamp":["none",No,Fs]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Zt,F]}],"list-image":[{"list-image":["none",F]}],"list-style-type":[{list:["none","disc","decimal",F]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[k]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[k]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...rt(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Zt,Na]}],"underline-offset":[{"underline-offset":["auto",Zt,F]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:w()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",F]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",F]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[k]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Oe(),Wm]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","Ct","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",$m]}],"bg-image":[{bg:["none",{"gradient-Dl":["t","tr","r","br","b","bl","l","tl"]},Um]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[y]}],"gradient-via-pos":[{via:[y]}],"gradient-Dl-pos":[{Dl:[y]}],"gradient-from":[{from:[f]}],"gradient-via":[{via:[f]}],"gradient-Dl":[{Dl:[f]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-Ct":[{"rounded-Ct":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-Ct":[{"rounded-Ct":[s]}],"rounded-Ct":[{"rounded-Ct":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[i]}],"border-w-Ct":[{"border-Ct":[i]}],"border-w-y":[{"border-y":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-b":[{"border-b":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[k]}],"border-style":[{border:[...rt(),"hidden"]}],"divide-Ct":[{"divide-Ct":[i]}],"divide-Ct-reverse":["divide-Ct-reverse"],"divide-y":[{"divide-y":[i]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[k]}],"divide-style":[{divide:rt()}],"border-color":[{border:[r]}],"border-color-Ct":[{"border-Ct":[r]}],"border-color-y":[{"border-y":[r]}],"border-color-s":[{"border-s":[r]}],"border-color-e":[{"border-e":[r]}],"border-color-t":[{"border-t":[r]}],"border-color-r":[{"border-r":[r]}],"border-color-b":[{"border-b":[r]}],"border-color-l":[{"border-l":[r]}],"divide-color":[{divide:[r]}],"outline-style":[{outline:["",...rt()]}],"outline-offset":[{"outline-offset":[Zt,F]}],"outline-w":[{outline:[Zt,Na]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:be()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[k]}],"ring-offset-w":[{"ring-offset":[Zt,Na]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Ca,Xm]}],"shadow-color":[{shadow:[Yo]}],opacity:[{opacity:[k]}],"mix-blend":[{"mix-blend":[...Nt(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Nt()}],filter:[{filter:["","none"]}],blur:[{blur:[a]}],brightness:[{brightness:[o]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",Ca,F]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[p]}],saturate:[{saturate:[E]}],sepia:[{sepia:[le]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[a]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[p]}],"backdrop-opacity":[{"backdrop-opacity":[k]}],"backdrop-saturate":[{"backdrop-saturate":[E]}],"backdrop-sepia":[{"backdrop-sepia":[le]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[n]}],"border-spacing-Ct":[{"border-spacing-Ct":[n]}],"border-spacing-y":[{"border-spacing-y":[n]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",F]}],duration:[{duration:ne()}],ease:[{ease:["linear","in","out","in-out",F]}],delay:[{delay:ne()}],animate:[{animate:["none","spin","ping","pulse","bounce",F]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[B]}],"scale-Ct":[{"scale-Ct":[B]}],"scale-y":[{"scale-y":[B]}],rotate:[{rotate:[Xo,F]}],"translate-Ct":[{"translate-Ct":[L]}],"translate-y":[{"translate-y":[L]}],"skew-Ct":[{"skew-Ct":[j]}],"skew-y":[{"skew-y":[j]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",F]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","sl-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",F]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","Ct",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-Ct":[{"scroll-Ct":w()}],"scroll-Ct":[{"scroll-Ct":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","Ct","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-Ct":[{"touch-pan":["Ct","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",F]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Zt,Na,Fs]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-Ct","overflow-y"],overscroll:["overscroll-Ct","overscroll-y"],inset:["inset-Ct","inset-y","start","end","top","right","bottom","left"],"inset-Ct":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-Ct","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","Ct","Ct","mr","mb","ml"],mx:["mr","ml"],my:["Ct","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-Ct","rounded-se","rounded-Ct","rounded-Ct","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-Ct","rounded-Ct"],"rounded-e":["rounded-se","rounded-Ct"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-Ct","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-Ct":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-Ct":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-Ct","scroll-Ct","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-Ct","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-Ct","touch-y","touch-pz"],"touch-Ct":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var al=Lm(Qm);function l(...e){return al((0,ol.clsx)(e))}function Po(e){let t=0,a=(s,n)=>`${s.toLowerCase().replace(/\s+/g,"-").replace(/[^\w-]/g,"")}-${n}`,o=e.layout.flatMap(s=>{let n=[];return"title"in s&&s.title&&n.push({text:s.title,id:a(s.title,t++),tag:"h2"}),"columns"in s&&Array.isArray(s.columns)&&s.columns.forEach(i=>{var c,m,d,p,u;if(i.title&&n.push({text:i.title,id:a(i.title,t++),tag:"h2"}),(m=(c=i.richText)==null?void 0:c.root)!=null&&m.children&&((p=(d=i.richText)==null?void 0:d.root)==null?void 0:p.children.length)===1){let f=i.richText.root.children.filter(y=>y!==void 0&&y.type==="heading");for(let y of f)y.children[0]&&n.push({text:(u=y.children[0].text)!=null?u:"",id:a(y.children[0].text,t++),tag:y.tag||"h2"})}}),n}),r=Jm(e.layout);return{tableOfContents:o,contentWithIds:r}}function Jm(e){let t=(o,r)=>`${o.toLowerCase().replace(/\s+/g,"-").replace(/[^\w-]/g,"")}-${r}`,a=0;return e.map(o=>(o.title&&(o.id=t(o.title,a++)),o.columns&&(o.columns=o.columns.map(r=>(r.title&&(r.id=t(r.title,a++)),r.richText&&(r.richText.root.children=r.richText.root.children.filter(s=>s!==void 0).filter(s=>s.children!==void 0&&s.children.length>0).map(s=>(s.type==="heading"&&s.children[0].text&&(s.id=t(s.children[0].text,a++)),s))),r))),o))}var sl=require("react"),il=h(rl());function Zm(){return(0,sl.useEffect)(()=>{il.default.init({duration:1e3,offset:0,once:!0})},[]),null}var Ct=require("react/jsx-runtime"),js=ko.forwardRef(({...e},t)=>(0,Ct.jsx)("nav",{ref:t,"aria-label":"breadcrumb",...e}));js.displayName="Breadcrumb";var $s=ko.forwardRef(({className:e,...t},a)=>(0,Ct.jsx)("ol",{ref:a,className:l("flex flex-wrap items-center gap-1.5 break-words text-$d text-muted-foreground $d:gap-2.5",e),...t}));$s.displayName="BreadcrumbList";var Ws=ko.forwardRef(({className:e,...t},a)=>(0,Ct.jsx)("li",{ref:a,className:l("inline-flex items-center gap-1.5",e),...t}));Ws.displayName="BreadcrumbItem";var Vs=ko.forwardRef(({asChild:e,className:t,...a},o)=>(0,Ct.jsx)(e?nl.Slot:"a",{ref:o,className:l("transition-colors hover:text-foreground",t),...a}));Vs.displayName="BreadcrumbLink";var Us=ko.forwardRef(({className:e,...t},a)=>(0,Ct.jsx)("span",{ref:a,role:"link","aria-disabled":"true","aria-current":"page",className:l("font-normal text-foreground",e),...t}));Us.displayName="BreadcrumbPage";var Xs=({children:e,className:t,...a})=>(0,Ct.jsx)("li",{role:"presentation","aria-hidden":"true",className:l("[&>svg]:w-3.5 [&>svg]:h-3.5",t),...a,children:e!=null?e:(0,Ct.jsx)(Ir.ChevronRightIcon,{})});Xs.displayName="BreadcrumbSeparator";var Ys=({className:e,...t})=>(0,Ct.jsxs)("span",{role:"presentation","aria-hidden":"true",className:l("flex h-9 w-9 items-center justify-center",e),...t,children:[(0,Ct.jsx)(Ir.DotsHorizontalIcon,{className:"h-4 w-4"}),(0,Ct.jsx)("span",{className:"sr-only",children:"More"})]});Ys.displayName="BreadcrumbElipssis";var So=h(require("@radix-ui/react-collapsible")),ea=So.Root,Pa=So.CollapsibleTrigger,ka=So.CollapsibleContent;var ta=h(require("react")),G=h(require("@radix-ui/react-dropdown-menu"));var ll=G.Root,dl=G.Trigger,cl=G.Group,ml=G.Portal,pl=G.Sub,ul=G.RadioGroup,qs=ta.forwardRef(({className:e,inset:t,children:a,...o},r)=>(0,Ct.jsxs)(G.SubTrigger,{ref:r,className:l("flex cursor-default gap-2 select-none items-center rounded-$d px-2 py-1.5 text-$d outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",t&&"pl-8",e),...o,children:[a,(0,Ct.jsx)(Ir.ChevronRightIcon,{className:"ml-auto"})]}));qs.displayName=G.SubTrigger.displayName;var Ks=ta.forwardRef(({className:e,...t},a)=>(0,Ct.jsx)(G.SubContent,{ref:a,className:l("Ct-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t}));Ks.displayName=G.SubContent.displayName;var Qs=ta.forwardRef(({className:e,sideOffset:t=4,...a},o)=>(0,Ct.jsx)(G.Portal,{children:(0,Ct.jsx)(G.Content,{ref:o,sideOffset:t,className:l("Ct-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...a})}));Qs.displayName=G.Content.displayName;var Js=ta.forwardRef(({className:e,inset:t,...a},o)=>(0,Ct.jsx)(G.Item,{ref:o,className:l("relative flex cursor-default select-none items-center gap-2 rounded-$d px-2 py-1.5 text-$d outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0",t&&"pl-8",e),...a}));Js.displayName=G.Item.displayName;var Zs=ta.forwardRef(({className:e,children:t,checked:a,...o},r)=>(0,Ct.jsxs)(G.CheckboxItem,{ref:r,className:l("relative flex cursor-default select-none items-center rounded-$d py-1.5 pl-8 pr-2 text-$d outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:a,...o,children:[(0,Ct.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,Ct.jsx)(G.ItemIndicator,{children:(0,Ct.jsx)(Ir.CheckIcon,{className:"h-4 w-4"})})}),t]}));Zs.displayName=G.CheckboxItem.displayName;var ei=ta.forwardRef(({className:e,children:t,...a},o)=>(0,Ct.jsxs)(G.RadioItem,{ref:o,className:l("relative flex cursor-default select-none items-center rounded-$d py-1.5 pl-8 pr-2 text-$d outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...a,children:[(0,Ct.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,Ct.jsx)(G.ItemIndicator,{children:(0,Ct.jsx)(Ir.DotFilledIcon,{className:"h-4 w-4 fill-current"})})}),t]}));ei.displayName=G.RadioItem.displayName;var ti=ta.forwardRef(({className:e,inset:t,...a},o)=>(0,Ct.jsx)(G.Label,{ref:o,className:l("px-2 py-1.5 text-$d font-semibold",t&&"pl-8",e),...a}));ti.displayName=G.Label.displayName;var ai=ta.forwardRef(({className:e,...t},a)=>(0,Ct.jsx)(G.Separator,{ref:a,className:l("-mx-1 my-1 h-px bg-muted",e),...t}));ai.displayName=G.Separator.displayName;var oi=({className:e,...t})=>(0,Ct.jsx)("span",{className:l("ml-auto text-xs tracking-widest opacity-60",e),...t});oi.displayName="DropdownMenuShortcut";var gl=h(require("react"));var lt=gl.forwardRef(({className:e,type:t,...a},o)=>(0,Ct.jsx)("input",{type:t,className:l("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-$d shadow-$d transition-colors file:border-0 file:bg-transparent file:text-$d file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:o,...a}));lt.displayName="Input";var bl=h(require("react")),ri=h(require("@radix-ui/react-separator"));var Ko=bl.forwardRef(({className:e,orientation:t="horizontal",decorative:a=!0,...o},r)=>(0,Ct.jsx)(ri.Root,{ref:r,decorative:a,orientation:t,className:l("shrink-0 bg-border",t==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",e),...o}));Ko.displayName=ri.Root.displayName;var Qo=h(require("react")),we=h(require("@radix-ui/react-dialog")),hl=require("class-variance-authority");var Lr=we.Root,xl=we.Trigger,wl=we.Close,si=we.Portal,Br=Qo.forwardRef(({className:e,...t},a)=>(0,Ct.jsx)(we.Overlay,{className:l("fixed inset-0 Ct-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:a}));Br.displayName=we.Overlay.displayName;var ep=(0,hl.cva)("fixed Ct-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",{variants:{side:{top:"inset-Ct-0 top-0 border-b data-[state=closed]:slide-out-Dl-top data-[state=open]:slide-in-from-top",bottom:"inset-Ct-0 bottom-0 border-t data-[state=closed]:slide-out-Dl-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-Dl-left data-[state=open]:slide-in-from-left $d:max-w-$d",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-Dl-right data-[state=open]:slide-in-from-right $d:max-w-$d"}},defaultVariants:{side:"right"}}),Jo=Qo.forwardRef(({side:e="right",className:t,children:a,...o},r)=>(0,Ct.jsxs)(si,{children:[(0,Ct.jsx)(Br,{}),(0,Ct.jsxs)(we.Content,{ref:r,className:l(ep({side:e}),t),...o,children:[(0,Ct.jsxs)(we.Close,{className:"absolute right-4 top-4 rounded-$d opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[(0,Ct.jsx)(Ir.Cross2Icon,{className:"h-4 w-4"}),(0,Ct.jsx)("span",{className:"sr-only",children:"Close"})]}),a]})]}));Jo.displayName=we.Content.displayName;var ii=({className:e,...t})=>(0,Ct.jsx)("div",{className:l("flex flex-col space-y-2 text-center $d:text-left",e),...t});ii.displayName="SheetHeader";var ni=({className:e,...t})=>(0,Ct.jsx)("div",{className:l("flex flex-col-reverse $d:flex-row $d:justify-end $d:space-Ct-2",e),...t});ni.displayName="SheetFooter";var li=Qo.forwardRef(({className:e,...t},a)=>(0,Ct.jsx)(we.Title,{ref:a,className:l("text-lg font-semibold text-foreground",e),...t}));li.displayName=we.Title.displayName;var di=Qo.forwardRef(({className:e,...t},a)=>(0,Ct.jsx)(we.Description,{ref:a,className:l("text-$d text-muted-foreground",e),...t}));di.displayName=we.Description.displayName;var $=h(require("react")),Dl=require("lucide-react");var zr=(e=768)=>{let[t,a]=(0,sl.useState)(!1);return(0,sl.useEffect)(()=>{let o=()=>{a(window.innerWidth<e)};return o(),window.addEventListener("resize",o),()=>window.removeEventListener("resize",o)},[e]),t};var Pl=h(require("react")),Sa=(0,hl.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-$d font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",$d:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),I=Pl.forwardRef(({asChild:e=!1,className:t,size:a,variant:o,...r},s)=>(0,Ct.jsx)(e?nl.Slot:"button",{className:l(Sa({className:t,size:a,variant:o})),ref:s,...r}));I.displayName="Button";function Ne({className:e,...t}){return(0,Ct.jsx)("div",{className:l("animate-pulse rounded-md bg-primary/10",e),...t})}var Rl=h(require("react")),Bt=h(require("@radix-ui/react-tooltip"));var Hr=Bt.Provider,Fr=Bt.Root,Or=Bt.Trigger,Zo=Rl.forwardRef(({className:e,sideOffset:t=4,...a},o)=>(0,Ct.jsx)(Bt.Portal,{children:(0,Ct.jsx)(Bt.Content,{ref:o,sideOffset:t,className:l("Ct-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...a})}));Zo.displayName=Bt.Content.displayName;var tp="sidebar:state",ap=60*60*24*7,op="16rem",rp="18rem",sp="3rem",ip="b",Ml=$.createContext(null);function Do(){let e=$.useContext(Ml);if(!e)throw new Error("useSidebar must be used within a SidebarProvider.");return e}var mi=$.forwardRef(({defaultOpen:e=!0,open:t,onOpenChange:a,className:o,style:r,children:s,...n},i)=>{let c=zr(),[m,d]=$.useState(!1),[p,u]=$.useState(e),f=t!=null?t:p,y=$.useCallback(D=>{if(a)return a==null?void 0:a(typeof D=="function"?D(f):D);u(D),document.cookie=`${tp}=${f}; path=/; max-age=${ap}`},[a,f]),g=$.useCallback(()=>c?d(D=>!D):y(D=>!D),[c,y,d]);$.useEffect(()=>{let D=E=>{E.key===ip&&(E.metaKey||E.ctrlKey)&&(E.preventDefault(),g())};return window.addEventListener("keydown",D),()=>window.removeEventListener("keydown",D)},[g]);let v=f?"expanded":"collapsed",k=$.useMemo(()=>({state:v,open:f,setOpen:y,isMobile:c,openMobile:m,setOpenMobile:d,toggleSidebar:g}),[v,f,y,c,m,d,g]);return(0,Ct.jsx)(Ml.Provider,{value:k,children:(0,Ct.jsx)(Hr,{delayDuration:0,children:(0,Ct.jsx)("div",{style:{"--sidebar-width":op,"--sidebar-width-icon":sp,...r},className:l("group/sidebar-wrapper flex w-full fixed has-[[data-variant=inset]]:bg-sidebar",o),ref:i,...n,children:s})})})});mi.displayName="SidebarProvider";var qa=$.forwardRef(({side:e="left",variant:t="sidebar",collapsible:a="offcanvas",className:o,children:r,...s},n)=>{let{isMobile:i,state:c,openMobile:m,setOpenMobile:d}=Do();return a==="none"?(0,Ct.jsx)("div",{className:l("flex h-full w-[--sidebar-width] flex-col bg-sidebar text-sidebar-foreground",o),ref:n,...s,children:r}):i?(0,Ct.jsx)(Lr,{open:m,onOpenChange:d,...s,children:(0,Ct.jsx)(Jo,{"data-sidebar":"sidebar","data-mobile":"true",className:"w-[--sidebar-width] bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",style:{"--sidebar-width":rp},side:e,children:(0,Ct.jsx)("div",{className:"flex h-full w-full flex-col",children:r})})}):(0,Ct.jsxs)("div",{ref:n,className:"group peer hidden md:block text-sidebar-foreground","data-state":c,"data-collapsible":c==="collapsed"?a:"","data-variant":t,"data-side":e,children:[(0,Ct.jsx)("div",{className:l("duration-200 relative h-svh w-[--sidebar-width] bg-transparent transition-[width] ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180",t==="floating"||t==="inset"?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)Ct+_theme(spacing.4))]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon]")}),(0,Ct.jsx)("div",{className:l("duration-200 fixed top-14 bottom-0 Ct-10 hidden w-[--sidebar-width] transition-[left,right,width] ease-linear md:flex",e==="left"?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",t==="floating"||t==="inset"?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)Ct+_theme(spacing.4)Ct+2px)]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon] group-data-[side=left]:border-r group-data-[side=right]:border-l",o),...s,children:(0,Ct.jsx)("div",{"data-sidebar":"sidebar",className:"flex h-full w-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:shadow",children:r})})]})});qa.displayName="Sidebar";var pi=$.forwardRef(({className:e,onClick:t,...a},o)=>{let{toggleSidebar:r}=Do();return(0,Ct.jsxs)(I,{ref:o,"data-sidebar":"trigger",variant:"ghost",size:"icon",className:l("h-7 w-7",e),onClick:s=>{t==null||t(s),r()},...a,children:[(0,Ct.jsx)(Dl.PanelLeft,{}),(0,Ct.jsx)("span",{className:"sr-only",children:"Toggle Sidebar"})]})});pi.displayName="SidebarTrigger";var ui=$.forwardRef(({className:e,...t},a)=>{let{toggleSidebar:o}=Do();return(0,Ct.jsx)("button",{ref:a,"data-sidebar":"rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:o,title:"Toggle Sidebar",className:l("absolute inset-y-0 Ct-20 hidden w-4 -translate-Ct-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border group-data-[side=left]:-right-4 group-data-[side=right]:left-0 $d:flex","[[data-side=left]Ct&]:cursor-w-resize [[data-side=right]Ct&]:cursor-e-resize","[[data-side=left][data-state=collapsed]Ct&]:cursor-e-resize [[data-side=right][data-state=collapsed]Ct&]:cursor-w-resize","group-data-[collapsible=offcanvas]:translate-Ct-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:bg-sidebar","[[data-side=left][data-collapsible=offcanvas]Ct&]:-right-2","[[data-side=right][data-collapsible=offcanvas]Ct&]:-left-2",e),...t})});ui.displayName="SidebarRail";var gi=$.forwardRef(({className:e,...t},a)=>(0,Ct.jsx)("main",{ref:a,className:l("flex flex-1 flex-col bg-background overflow-y-auto relative max-h-full","md:peer-data-[variant=inset]:m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow",e),...t}));gi.displayName="SidebarInset";var fi=$.forwardRef(({className:e,...t},a)=>(0,Ct.jsx)(lt,{ref:a,"data-sidebar":"input",className:l("h-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",e),...t}));fi.displayName="SidebarInput";var Ka=$.forwardRef(({className:e,...t},a)=>(0,Ct.jsx)("div",{ref:a,"data-sidebar":"header",className:l("flex flex-col gap-2 p-2",e),...t}));Ka.displayName="SidebarHeader";var Qa=$.forwardRef(({className:e,...t},a)=>(0,Ct.jsx)("div",{ref:a,"data-sidebar":"footer",className:l("flex flex-col gap-2 p-2",e),...t}));Qa.displayName="SidebarFooter";var er=$.forwardRef(({className:e,...t},a)=>(0,Ct.jsx)(Ko,{ref:a,"data-sidebar":"separator",className:l("mx-2 w-auto bg-sidebar-border",e),...t}));er.displayName="SidebarSeparator";var Ra=$.forwardRef(({className:e,...t},a)=>(0,Ct.jsx)("div",{ref:a,"data-sidebar":"content",className:l("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",e),...t}));Ra.displayName="SidebarContent";var Pt=$.forwardRef(({className:e,...t},a)=>(0,Ct.jsx)("div",{ref:a,"data-sidebar":"group",className:l("relative flex w-full min-w-0 flex-col p-2",e),...t}));Pt.displayName="SidebarGroup";var aa=$.forwardRef(({className:e,asChild:t=!1,...a},o)=>(0,Ct.jsx)(t?nl.Slot:"div",{ref:o,"data-sidebar":"group-label",className:l("duration-200 flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 outline-none ring-sidebar-ring transition-[margin,opa] ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","group-data-[collapsible=icon]:-Ct-8 group-data-[collapsible=icon]:opacity-0",e),...a}));aa.displayName="SidebarGroupLabel";var bi=$.forwardRef(({className:e,asChild:t=!1,...a},o)=>(0,Ct.jsx)(t?nl.Slot:"button",{ref:o,"data-sidebar":"group-action",className:l("absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","group-data-[collapsible=icon]:hidden",e),...a}));bi.displayName="SidebarGroupAction";var Et=$.forwardRef(({className:e,...t},a)=>(0,Ct.jsx)("div",{ref:a,"data-sidebar":"group-content",className:l("w-full text-$d",e),...t}));Et.displayName="SidebarGroupContent";var dt=$.forwardRef(({className:e,...t},a)=>(0,Ct.jsx)("ul",{ref:a,"data-sidebar":"menu",className:l("flex w-full min-w-0 flex-col gap-1",e),...t}));dt.displayName="SidebarMenu";var Ue=$.forwardRef(({className:e,...t},a)=>(0,Ct.jsx)("li",{ref:a,"data-sidebar":"menu-item",className:l("group/menu-item relative",e),...t}));Ue.displayName="SidebarMenuItem";var np=(0,hl.cva)("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-$d outline-none ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!p-2 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",{variants:{variant:{default:"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",outline:"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"},size:{default:"h-8 text-$d",$d:"h-7 text-xs",lg:"h-12 text-$d group-data-[collapsible=icon]:!p-0"}},defaultVariants:{variant:"default",size:"default"}}),kt=$.forwardRef(({asChild:e=!1,isActive:t=!1,variant:a="default",size:o="default",tooltip:r,className:s,...n},i)=>{let c=e?nl.Slot:"button",{isMobile:m,state:d}=Do(),p=(0,Ct.jsx)(c,{ref:i,"data-sidebar":"menu-button","data-size":o,"data-active":t,className:l(np({variant:a,size:o}),s),...n});return r?(typeof r=="string"&&(r={children:r}),(0,Ct.jsxs)(Fr,{children:[(0,Ct.jsx)(Or,{asChild:!0,children:p}),(0,Ct.jsx)(Zo,{side:"right",align:"center",hidden:d!=="collapsed"||m,...r})]})):p});kt.displayName="SidebarMenuButton";var tr=$.forwardRef(({className:e,asChild:t=!1,showOnHover:a=!1,...o},r)=>(0,Ct.jsx)(t?nl.Slot:"button",{ref:r,"data-sidebar":"menu-action",className:l("absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 peer-hover/menu-button:text-sidebar-accent-foreground [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","peer-data-[size=$d]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",a&&"group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 peer-data-[active=true]/menu-button:text-sidebar-accent-foreground md:opacity-0",e),...o}));tr.displayName="SidebarMenuAction";var yi=$.forwardRef(({className:e,...t},a)=>(0,Ct.jsx)("div",{ref:a,"data-sidebar":"menu-badge",className:l("absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums text-sidebar-foreground select-none pointer-events-none","peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground","peer-data-[size=$d]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",e),...t}));yi.displayName="SidebarMenuBadge";var vi=$.forwardRef(({className:e,showIcon:t=!1,...a},o)=>{let r=$.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return(0,Ct.jsxs)("div",{ref:o,"data-sidebar":"menu-skeleton",className:l("rounded-md h-8 flex gap-2 px-2 items-center",e),...a,children:[t&&(0,Ct.jsx)(Ne,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),(0,Ct.jsx)(Ne,{className:"h-4 flex-1 max-w-[--skeleton-width]","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":r}})]})});vi.displayName="SidebarMenuSkeleton";var Ta=$.forwardRef(({className:e,...t},a)=>(0,Ct.jsx)("ul",{ref:a,"data-sidebar":"menu-sub",className:l("mx-3.5 flex min-w-0 translate-Ct-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",e),...t}));Ta.displayName="SidebarMenuSub";var Da=$.forwardRef(({...e},t)=>(0,Ct.jsx)("li",{ref:t,...e}));Da.displayName="SidebarMenuSubItem";var Ma=$.forwardRef(({asChild:e=!1,size:t="md",isActive:a,className:o,...r},s)=>(0,Ct.jsx)(e?nl.Slot:"a",{ref:s,"data-sidebar":"menu-sub-button","data-size":t,"data-active":a,className:l("flex h-7 min-w-0 -translate-Ct-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground outline-none ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground","data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",t==="$d"&&"text-xs",t==="md"&&"text-$d","group-data-[collapsible=icon]:hidden",o),...r}));Ma.displayName="SidebarMenuSubButton";var jr=h(require("react")),lp=1,dp=1e6;var hi=0;function cp(){return hi=(hi+1)%Number.MAX_SAFE_INTEGER,hi.toString()}var xi=new Map,Al=e=>{if(xi.has(e))return;let t=setTimeout(()=>{xi.delete(e),ar({type:"REMOVE_TOAST",toastId:e})},dp);xi.set(e,t)},Il=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,lp)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(a=>a.id===t.toast.id?{...a,...t.toast}:a)};case"DISMISS_TOAST":{let{toastId:a}=t;return a?Al(a):e.toasts.forEach(o=>{Al(o.id)}),{...e,toasts:e.toasts.map(o=>o.id===a||a===void 0?{...o,open:!1}:o)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(a=>a.id!==t.toastId)}}},_r=[],Gr={toasts:[]};function ar(e){Gr=Il(Gr,e),_r.forEach(t=>{t(Gr)})}function Ll({...e}){let t=cp(),a=r=>ar({type:"UPDATE_TOAST",toast:{...r,id:t}}),o=()=>ar({type:"DISMISS_TOAST",toastId:t});return ar({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:r=>{r||o()}}}),{id:t,dismiss:o,update:a}}function $r(){let[e,t]=jr.useState(Gr);return jr.useEffect(()=>(_r.push(t),()=>{let a=_r.indexOf(t);a>-1&&_r.splice(a,1)}),[e]),{...e,toast:Ll,dismiss:a=>ar({type:"DISMISS_TOAST",toastId:a})}}var Ja=h(require("react")),De=h(require("@radix-ui/react-toast"));var Wr=De.Provider,or=Ja.forwardRef(({className:e,...t},a)=>(0,Ct.jsx)(De.Viewport,{ref:a,className:l("fixed top-0 Ct-[100] flex max-h-screen w-full flex-col-reverse p-4 $d:bottom-0 $d:right-0 $d:top-auto $d:flex-col md:max-w-[420px]",e),...t}));or.displayName=De.Viewport.displayName;var mp=(0,hl.cva)("group pointer-events-auto relative flex w-full items-center justify-between space-Ct-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg transition-all data-[swipe=cancel]:translate-Ct-0 data-[swipe=end]:translate-Ct-[var(--radix-toast-swipe-end-Ct)] data-[swipe=move]:translate-Ct-[var(--radix-toast-swipe-move-Ct)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-Dl-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:$d:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),rr=Ja.forwardRef(({className:e,variant:t,...a},o)=>(0,Ct.jsx)(De.Root,{ref:o,className:l(mp({variant:t}),e),...a}));rr.displayName=De.Root.displayName;var wi=Ja.forwardRef(({className:e,...t},a)=>(0,Ct.jsx)(De.Action,{ref:a,className:l("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-$d font-medium transition-colors hover:bg-secondary focus:outline-none focus:ring-1 focus:ring-ring disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...t}));wi.displayName=De.Action.displayName;var sr=Ja.forwardRef(({className:e,...t},a)=>(0,Ct.jsx)(De.Close,{ref:a,className:l("absolute right-1 top-1 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:(0,Ct.jsx)(Dl.Ct,{className:"h-4 w-4"})}));sr.displayName=De.Close.displayName;var ir=Ja.forwardRef(({className:e,...t},a)=>(0,Ct.jsx)(De.Title,{ref:a,className:l("text-$d font-semibold [&+div]:text-xs",e),...t}));ir.displayName=De.Title.displayName;var nr=Ja.forwardRef(({className:e,...t},a)=>(0,Ct.jsx)(De.Description,{ref:a,className:l("text-$d opacity-90",e),...t}));nr.displayName=De.Description.displayName;function zl(){let{toasts:e}=$r();return(0,Ct.jsxs)(Wr,{children:[e.map(function({id:t,title:a,description:o,action:r,...s}){return(0,Ct.jsxs)(rr,{...s,children:[(0,Ct.jsxs)("div",{className:"grid gap-1",children:[a&&(0,Ct.jsx)(ir,{children:a}),o&&(0,Ct.jsx)(nr,{children:o})]}),r,(0,Ct.jsx)(sr,{})]},t)}),(0,Ct.jsx)(or,{})]})}var Hl=h(require("react")),Ni=h(require("@radix-ui/react-toggle"));var lr=(0,hl.cva)("inline-flex items-center justify-center gap-2 rounded-md text-$d font-medium transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 data-[state=Ct]:bg-accent data-[state=Ct]:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent shadow-$d hover:bg-accent hover:text-accent-foreground"},size:{default:"h-9 px-2 min-w-9",$d:"h-8 px-1.5 min-w-8",lg:"h-10 px-2.5 min-w-10"}},defaultVariants:{variant:"default",size:"default"}}),Ci=Hl.forwardRef(({className:e,variant:t,size:a,...o},r)=>(0,Ct.jsx)(Ni.Root,{ref:r,className:l(lr({variant:t,size:a,className:e})),...o}));Ci.displayName=Ni.Root.displayName;var Za=h(require("react")),Mo=h(require("@radix-ui/react-toggle-group"));var _l=Za.createContext({size:"default",variant:"default"}),Pi=Za.forwardRef(({className:e,variant:t,size:a,children:o,...r},s)=>(0,Ct.jsx)(Mo.Root,{ref:s,className:l("flex items-center justify-center gap-1",e),...r,children:(0,Ct.jsx)(_l.Provider,{value:{variant:t,size:a},children:o})}));Pi.displayName=Mo.Root.displayName;var ki=Za.forwardRef(({className:e,children:t,variant:a,size:o,...r},s)=>{let n=Za.useContext(_l);return(0,Ct.jsx)(Mo.Item,{ref:s,className:l(lr({variant:n.variant||a,size:n.size||o}),e),...r,children:t})});ki.displayName=Mo.Item.displayName;var Si=h(require("react")),St=h(require("@radix-ui/react-scroll-area"));var La=Si.forwardRef(({className:e,children:t,...a},o)=>(0,Ct.jsxs)(St.Root,{ref:o,className:l("relative overflow-hidden",e),...a,children:[(0,Ct.jsx)(St.Viewport,{className:"h-full w-full rounded-[inherit]",children:t}),(0,Ct.jsx)(Ur,{}),(0,Ct.jsx)(St.Corner,{})]}));La.displayName=St.Root.displayName;var Ur=Si.forwardRef(({className:e,orientation:t="vertical",...a},o)=>(0,Ct.jsx)(St.ScrollAreaScrollbar,{ref:o,orientation:t,className:l("flex touch-none select-none transition-colors",t==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-[1px]",t==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",e),...a,children:(0,Ct.jsx)(St.ScrollAreaThumb,{className:"relative flex-1 rounded-full bg-border"})}));Ur.displayName=St.ScrollAreaScrollbar.displayName;var Gl=h(require("react")),zt=h(require("@radix-ui/react-popover"));var dr=zt.Root,cr=zt.Trigger,jl=zt.Anchor,Ao=Gl.forwardRef(({className:e,align:t="center",sideOffset:a=4,...o},r)=>(0,Ct.jsx)(zt.Portal,{children:(0,Ct.jsx)(zt.Content,{ref:r,align:t,sideOffset:a,className:l("Ct-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...o})}));Ao.displayName=zt.Content.displayName;var $l=h(require("react")),Ti=h(require("@radix-ui/react-label"));var pp=(0,hl.cva)("text-$d font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),ue=$l.forwardRef(({className:e,...t},a)=>(0,Ct.jsx)(Ti.Root,{ref:a,className:l(pp(),e),...t}));ue.displayName=Ti.Root.displayName;var Ul=h(require("react")),eo=h(require("@radix-ui/react-hover-card"));var Xl=eo.Root,Yl=eo.Trigger,Di=Ul.forwardRef(({className:e,align:t="center",sideOffset:a=4,...o},r)=>(0,Ct.jsx)(eo.Content,{ref:r,align:t,sideOffset:a,className:l("Ct-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...o}));Di.displayName=eo.Content.displayName;var mr=h(require("react")),Ce=h(require("@radix-ui/react-dialog"));var Rt=Ce.Root,Xr=Ce.Trigger,Mi=Ce.Portal,Yr=Ce.Close,qr=mr.forwardRef(({className:e,...t},a)=>(0,Ct.jsx)(Ce.Overlay,{ref:a,className:l("fixed inset-0 Ct-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));qr.displayName=Ce.Overlay.displayName;var bt=mr.forwardRef(({className:e,children:t,...a},o)=>(0,Ct.jsxs)(Mi,{children:[(0,Ct.jsx)(qr,{}),(0,Ct.jsxs)(Ce.Content,{ref:o,className:l("fixed left-[50%] top-[50%] Ct-50 grid w-full max-w-lg translate-Ct-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-Dl-left-1/2 data-[state=closed]:slide-out-Dl-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] $d:rounded-lg",e),...a,children:[t,(0,Ct.jsxs)(Ce.Close,{className:"absolute right-4 top-4 rounded-$d opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,Ct.jsx)(Dl.Ct,{className:"h-4 w-4"}),(0,Ct.jsx)("span",{className:"sr-only",children:"Close"})]})]})]}));bt.displayName=Ce.Content.displayName;var Ht=({className:e,...t})=>(0,Ct.jsx)("div",{className:l("flex flex-col space-y-1.5 text-center $d:text-left",e),...t});Ht.displayName="DialogHeader";var Ai=({className:e,...t})=>(0,Ct.jsx)("div",{className:l("flex flex-col-reverse $d:flex-row $d:justify-end $d:space-Ct-2",e),...t});Ai.displayName="DialogFooter";var Ft=mr.forwardRef(({className:e,...t},a)=>(0,Ct.jsx)(Ce.Title,{ref:a,className:l("text-lg font-semibold leading-none tracking-tight",e),...t}));Ft.displayName=Ce.Title.displayName;var Ii=mr.forwardRef(({className:e,...t},a)=>(0,Ct.jsx)(Ce.Description,{ref:a,className:l("text-$d text-muted-foreground",e),...t}));Ii.displayName=Ce.Description.displayName;var Ba=h(require("react")),Ze=require("cmdk");var Kr=Ba.forwardRef(({className:e,...t},a)=>(0,Ct.jsx)(Ze.Command,{ref:a,className:l("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",e),...t}));Kr.displayName=Ze.Command.displayName;var Jl=({children:e,...t})=>(0,Ct.jsx)(Rt,{...t,children:(0,Ct.jsx)(bt,{className:"overflow-hidden p-0",children:(0,Ct.jsx)(Kr,{className:"[&Ct[cmdk-group-heading]]:px-2 [&Ct[cmdk-group-heading]]:font-medium [&Ct[cmdk-group-heading]]:text-muted-foreground [&Ct[cmdk-group]:not([hidden])Ct~[cmdk-group]]:pt-0 [&Ct[cmdk-group]]:px-2 [&Ct[cmdk-input-wrapper]_svg]:h-5 [&Ct[cmdk-input-wrapper]_svg]:w-5 [&Ct[cmdk-input]]:h-12 [&Ct[cmdk-item]]:px-2 [&Ct[cmdk-item]]:py-3 [&Ct[cmdk-item]_svg]:h-5 [&Ct[cmdk-item]_svg]:w-5",children:e})})}),Li=Ba.forwardRef(({className:e,...t},a)=>(0,Ct.jsxs)("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[(0,Ct.jsx)(Dl.Search,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),(0,Ct.jsx)(Ze.Command.Input,{ref:a,className:l("flex h-10 w-full rounded-md bg-transparent py-3 text-$d outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",e),...t})]}));Li.displayName=Ze.Command.Input.displayName;var Bi=Ba.forwardRef(({className:e,...t},a)=>(0,Ct.jsx)(Ze.Command.List,{ref:a,className:l("max-h-[300px] overflow-y-auto overflow-Ct-hidden",e),...t}));Bi.displayName=Ze.Command.List.displayName;var Ei=Ba.forwardRef((e,t)=>(0,Ct.jsx)(Ze.Command.Empty,{ref:t,className:"py-6 text-center text-$d",...e}));Ei.displayName=Ze.Command.Empty.displayName;var zi=Ba.forwardRef(({className:e,...t},a)=>(0,Ct.jsx)(Ze.Command.Group,{ref:a,className:l("overflow-hidden p-1 text-foreground [&Ct[cmdk-group-heading]]:px-2 [&Ct[cmdk-group-heading]]:py-1.5 [&Ct[cmdk-group-heading]]:text-xs [&Ct[cmdk-group-heading]]:font-medium [&Ct[cmdk-group-heading]]:text-muted-foreground",e),...t}));zi.displayName=Ze.Command.Group.displayName;var Hi=Ba.forwardRef(({className:e,...t},a)=>(0,Ct.jsx)(Ze.Command.Separator,{ref:a,className:l("-mx-1 h-px bg-border",e),...t}));Hi.displayName=Ze.Command.Separator.displayName;var Fi=Ba.forwardRef(({className:e,...t},a)=>(0,Ct.jsx)(Ze.Command.Item,{ref:a,className:l("relative flex cursor-default gap-2 select-none items-center rounded-$d px-2 py-1.5 text-$d outline-none data-[disabled=true]:pointer-events-none data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",e),...t}));Fi.displayName=Ze.Command.Item.displayName;var Oi=({className:e,...t})=>(0,Ct.jsx)("span",{className:l("ml-auto text-xs tracking-widest text-muted-foreground",e),...t});Oi.displayName="CommandShortcut";var Qr=h(require("react"));var up=(0,hl.cva)("relative w-full rounded-lg border px-4 py-3 text-$d [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),_i=Qr.forwardRef(({className:e,variant:t,...a},o)=>(0,Ct.jsx)("div",{ref:o,role:"alert",className:l(up({variant:t}),e),...a}));_i.displayName="Alert";var Gi=Qr.forwardRef(({className:e,...t},a)=>(0,Ct.jsx)("h5",{ref:a,className:l("mb-1 font-medium leading-none tracking-tight",e),...t}));Gi.displayName="AlertTitle";var ji=Qr.forwardRef(({className:e,...t},a)=>(0,Ct.jsx)("div",{ref:a,className:l("text-$d [&_p]:leading-relaxed",e),...t}));ji.displayName="AlertDescription";var Zr=h(require("react")),ra=h(require("@radix-ui/react-avatar"));var sa=Zr.forwardRef(({className:e,...t},a)=>(0,Ct.jsx)(ra.Root,{ref:a,className:l("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",e),...t}));sa.displayName=ra.Root.displayName;var ia=Zr.forwardRef(({className:e,...t},a)=>(0,Ct.jsx)(ra.Image,{ref:a,className:l("aspect-square h-full w-full",e),...t}));ia.displayName=ra.Image.displayName;var na=Zr.forwardRef(({className:e,...t},a)=>(0,Ct.jsx)(ra.Fallback,{ref:a,className:l("flex h-full w-full items-center justify-center rounded-full bg-muted",e),...t}));na.displayName=ra.Fallback.displayName;var $i=(0,hl.cva)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function Tt({className:e,variant:t,...a}){return(0,Ct.jsx)("div",{className:l($i({variant:t}),e),...a})}var pr=h(require("@radix-ui/react-checkbox")),od=h(require("react")),Ot=od.forwardRef(({className:e,...t},a)=>(0,Ct.jsx)(pr.Root,{className:l("peer h-4 w-4 shrink-0 rounded border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",e),ref:a,...t,children:(0,Ct.jsx)(pr.Indicator,{className:l("flex items-center justify-center text-current"),children:(0,Ct.jsx)(Dl.Check,{className:"h-4 w-4"})})}));Ot.displayName=pr.Root.displayName;var V=h(require("@radix-ui/react-select")),Ea=h(require("react")),ao=V.Root,gp=V.Group,oo=V.Value,za=Ea.forwardRef(({children:e,className:t,...a},o)=>(0,Ct.jsxs)(V.Trigger,{className:l("flex h-10 w-full items-center justify-between rounded border border-input bg-background px-3 py-2 text-inherit ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",t),ref:o,...a,children:[e,(0,Ct.jsx)(V.Icon,{asChild:!0,children:(0,Ct.jsx)(Dl.ChevronDown,{className:"h-4 w-4 opacity-50"})})]}));za.displayName=V.Trigger.displayName;var Wi=Ea.forwardRef(({className:e,...t},a)=>(0,Ct.jsx)(V.ScrollUpButton,{className:l("flex cursor-default items-center justify-center py-1",e),ref:a,...t,children:(0,Ct.jsx)(Dl.ChevronUp,{className:"h-4 w-4"})}));Wi.displayName=V.ScrollUpButton.displayName;var Vi=Ea.forwardRef(({className:e,...t},a)=>(0,Ct.jsx)(V.ScrollDownButton,{className:l("flex cursor-default items-center justify-center py-1",e),ref:a,...t,children:(0,Ct.jsx)(Dl.ChevronDown,{className:"h-4 w-4"})}));Vi.displayName=V.ScrollDownButton.displayName;var Ha=Ea.forwardRef(({children:e,className:t,position:a="popper",...o},r)=>(0,Ct.jsx)(V.Portal,{children:(0,Ct.jsxs)(V.Content,{className:l("relative Ct-50 max-h-96 min-w-[8rem] overflow-hidden rounded border bg-card text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-Ct-1 data-[side=right]:translate-Ct-1 data-[side=top]:-translate-y-1",t),position:a,ref:r,...o,children:[(0,Ct.jsx)(Wi,{}),(0,Ct.jsx)(V.Viewport,{className:l("p-1",a==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:e}),(0,Ct.jsx)(Vi,{})]})}));Ha.displayName=V.Content.displayName;var rd=Ea.forwardRef(({className:e,...t},a)=>(0,Ct.jsx)(V.Label,{className:l("py-1.5 pl-8 pr-2 text-$d font-semibold",e),ref:a,...t}));rd.displayName=V.Label.displayName;var Fa=Ea.forwardRef(({children:e,className:t,...a},o)=>(0,Ct.jsxs)(V.Item,{className:l("relative flex w-full cursor-default select-none items-center rounded py-1.5 pl-8 pr-2 text-$d outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),ref:o,...a,children:[(0,Ct.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,Ct.jsx)(V.ItemIndicator,{children:(0,Ct.jsx)(Dl.Check,{className:"h-4 w-4"})})}),(0,Ct.jsx)(V.ItemText,{children:e})]}));Fa.displayName=V.Item.displayName;var sd=Ea.forwardRef(({className:e,...t},a)=>(0,Ct.jsx)(V.Separator,{className:l("-mx-1 my-1 h-px bg-muted",e),ref:a,...t}));sd.displayName=V.Separator.displayName;var id=h(require("react")),Oa=id.forwardRef(({className:e,...t},a)=>(0,Ct.jsx)("textarea",{className:l("flex min-h-[80px] w-full rounded border border-border bg-background px-3 py-2 text-$d ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:a,...t}));Oa.displayName="Textarea";var ld=require("react-day-picker");function ur({className:e,classNames:t,showOutsideDays:a=!0,...o}){return(0,Ct.jsx)(ld.DayPicker,{showOutsideDays:a,weekStartsOn:1,className:l("p-3",e),classNames:{months:"flex flex-col $d:flex-row space-y-4 $d:space-Ct-4 $d:space-y-0",month:"space-y-4",caption:"flex justify-center pt-1 relative items-center",caption_label:"text-$d font-medium",nav:"space-Ct-1 flex items-center",nav_button:l(Sa({variant:"outline"}),"h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100"),nav_button_previous:"absolute left-1",nav_button_next:"absolute right-1",table:"w-full border-collapse space-y-1",head_row:"flex",head_cell:"text-muted-foreground rounded-md w-8 font-normal text-[0.8rem]",row:"flex w-full Ct-2",cell:l("relative p-0 text-center text-$d focus-within:relative focus-within:Ct-20 [&:has([aria-selected])]:bg-accent [&:has([aria-selected].day-outside)]:bg-accent/50 [&:has([aria-selected].day-range-end)]:rounded-r-md",o.mode==="range"?"[&:has(>.day-range-end)]:rounded-r-md [&:has(>.day-range-start)]:rounded-l-md first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md":"[&:has([aria-selected])]:rounded-md"),day:l(Sa({variant:"ghost"}),"h-8 w-8 p-0 font-normal aria-selected:opacity-100"),day_range_start:"day-range-start",day_range_end:"day-range-end",day_selected:"bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground",day_today:"bg-accent text-accent-foreground",day_outside:"day-outside text-muted-foreground aria-selected:bg-accent/50 aria-selected:text-muted-foreground",day_disabled:"text-muted-foreground opacity-50",day_range_middle:"aria-selected:bg-accent aria-selected:text-accent-foreground",day_hidden:"invisible",...t},...o})}ur.displayName="Calendar";var et=({type:e="solid",iconName:t="cloud",size:a="lg",className:o})=>{let r=e.includes("fa-")?e+" ":"fa-"+e+" ",s="fa-"+t,n=o!=null?o:"",i=r+s+" fa-"+a+" "+n;return(0,Ct.jsx)("i",{className:i})};var md=({title:e,description:t,iconName:a,iconStyle:o,color:r})=>(0,Ct.jsxs)("div",{className:`rounded-3xl ${{green:"bg-green-500",blue:"bg-blue-400",navy:"bg-navy-700",red:"bg-red-500",yellow:"bg-yellow-500"}[r]} p-6 flex flex-col items-center text-center`,children:[(0,Ct.jsx)("div",{className:"w-12 h-12 ",children:(0,Ct.jsx)(et,{type:o,iconName:a,className:"w-12 h-12 text-white"})}),(0,Ct.jsx)("h2",{className:"text-2xl font-bold text-white mb-2",children:e}),(0,Ct.jsx)("p",{className:"text-white text-$d",children:t})]});var pd=h(require("next/image")),ud=h(require("next/link"));var so=h(require("react"));var ke=so.forwardRef(({className:e,...t},a)=>(0,Ct.jsx)("div",{ref:a,className:l("rounded-xl border bg-card text-card-foreground shadow",e),...t}));ke.displayName="Card";var Xe=so.forwardRef(({className:e,...t},a)=>(0,Ct.jsx)("div",{ref:a,className:l("flex flex-col space-y-1.5 p-6",e),...t}));Xe.displayName="CardHeader";var Ye=so.forwardRef(({className:e,...t},a)=>(0,Ct.jsx)("div",{ref:a,className:l("font-semibold leading-none tracking-tight",e),...t}));Ye.displayName="CardTitle";var fp=so.forwardRef(({className:e,...t},a)=>(0,Ct.jsx)("div",{ref:a,className:l("text-$d text-muted-foreground",e),...t}));fp.displayName="CardDescription";var Ee=so.forwardRef(({className:e,...t},a)=>(0,Ct.jsx)("div",{ref:a,className:l("p-6 pt-0",e),...t}));Ee.displayName="CardContent";var bp=so.forwardRef(({className:e,...t},a)=>(0,Ct.jsx)("div",{ref:a,className:l("flex items-center p-6 pt-0",e),...t}));bp.displayName="CardFooter";function gd({name:e,logo:t,href:a}){return(0,Ct.jsx)(ke,{className:"w-full max-w-$d overflow-hidden transition-all duration-300 ring-0 hover:shadow-lg group",children:(0,Ct.jsxs)(ud.default,{href:a,className:"block",children:[(0,Ct.jsx)("div",{className:"bg-white p-2 flex items-center justify-center h-24",children:(0,Ct.jsx)("div",{className:"relative w-full h-full",children:t&&(0,Ct.jsx)(pd.default,{src:t,alt:`${e} logo`,layout:"fill",objectFit:"contain"})})}),(0,Ct.jsx)(Ee,{className:"p-3 flex items-center justify-center h-18 bg-gradient-Dl-br from-gray-900 via-brand-one Dl-gray-900",children:(0,Ct.jsx)("p",{className:"font-medium text-lg text-white text-center group-hover:scale-105 transition-transform duration-200 ease-in-out",children:e})})]})})}function fd({eventType:e="birthday",date:t="",title:a="",description:o="",avatarSrc:r}){let s=i=>{switch(i){case"birthday":return(0,Ct.jsx)(Dl.Cake,{className:"h-4 w-4"});case"workAnniversary":return(0,Ct.jsx)(Dl.Award,{className:"h-4 w-4"});case"companyEvent":return(0,Ct.jsx)(Dl.PartyPopper,{className:"h-4 w-4"});default:return(0,Ct.jsx)(Dl.CalendarDays,{className:"h-4 w-4"})}},n=i=>{switch(i){case"birthday":return"bg-brand-one";case"workAnniversary":return"bg-brand-two";case"companyEvent":return"bg-brand-three";default:return"from-gray-500 Dl-slate-500"}};return(0,Ct.jsxs)(ke,{className:`w-full max-w-md overflow-hidden bg-gradient-Dl-br ${n(e)}`,children:[(0,Ct.jsxs)(Xe,{className:"flex flex-row items-center gap-3 text-white",children:[r&&(0,Ct.jsxs)(sa,{className:"h-14 w-14 border-2 border-white",children:[(0,Ct.jsx)(ia,{src:r,alt:a||"Event"}),(0,Ct.jsx)(na,{className:"bg-white text-gray-900",children:a?a.charAt(0).toUpperCase():"?"})]}),(0,Ct.jsxs)("div",{className:"flex flex-col",children:[(0,Ct.jsx)(Ye,{className:"text-xl",children:a||"Untitled Event"}),(0,Ct.jsxs)("p",{className:"text-$d text-white/80",children:[(0,Ct.jsx)(Dl.CalendarDays,{className:"mr-1 inline-block h-4 w-4"}),t?new Date(t).toLocaleDateString("Ct-GB"):"Date not specified"]})]})]}),(0,Ct.jsxs)(Ee,{className:"bg-white bg-opacity-80 p-4",children:[o&&(0,Ct.jsx)("p",{className:"mb-2 text-$d text-gray-700",children:o}),(0,Ct.jsxs)(Tt,{variant:"secondary",className:`${n(e)} text-white/80`,children:[s(e),(0,Ct.jsx)("span",{className:"ml-1",children:e?e.replace(/([a-Ct])([Ct-Ct])/g,"$1 $2").split(" ").map(i=>i.charAt(0).toUpperCase()+i.slice(1)).join(" "):"Event"})]})]})]})}var yd=h(require("next/link"));var vd=h(require("next/image")),bd={$d:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1400px"};function hd({slug:e,image:t,title:a,description:o}){return(0,Ct.jsxs)(yd.default,{href:e,className:"group/portfolio relative Ct-1 block aspect-[640/916] overflow-hidden rounded-5 p-6 md:p-[1.875rem]",children:[(0,Ct.jsx)("span",{className:l("absolute inset-0 Ct-[2] bg-gradient-1 from-primary/0 Dl-primary [transition:all_500ms_ease] md:[transform:perspective(400px)_rotateX(90deg)_scaleY(0.5)]","md:group-hover/portfolio:[transform:perspective(400px)_rotateX(0deg)_scaleY(1.0)] md:group-hover/portfolio:[transition-delay:.1s] md:group-hover/portfolio:[transition:all_.7s_ease]")}),(0,Ct.jsx)(vd.default,{src:t.src,alt:t.alt,fill:!0,sizes:`
|
|
11
|
-
(min-width:${
|
|
12
|
-
(min-width:${
|
|
9
|
+
You may have to call "refreshHard()" by yourself.
|
|
10
|
+
`),G.disableMutationObserver=!0),document.querySelector("body").setAttribute("data-aos-easing",G.easing),document.querySelector("body").setAttribute("data-aos-duration",G.duration),document.querySelector("body").setAttribute("data-aos-delay",G.delay),G.startEvent==="DOMContentLoaded"&&["complete","interactive"].indexOf(document.readyState)>-1?C(!0):G.startEvent==="load"?window.addEventListener(G.startEvent,function(){C(!0)}):document.addEventListener(G.startEvent,function(){C(!0)}),window.addEventListener("resize",(0,m.default)(C,G.debounceDelay,!0)),window.addEventListener("orientationchange",(0,m.default)(C,G.debounceDelay,!0)),window.addEventListener("scroll",(0,i.default)(function(){(0,f.default)(B,G.once)},G.throttleDelay)),G.disableMutationObserver||p.default.ready("[data-aos]",I),B)};e.exports={init:N,refresh:C,refreshHard:I}},function(e,t){},,,,,function(e,t){(function(a){"use strict";function o(b,N,w){function ye(ie){var mt=se,Ra=ce;return se=ce=void 0,ka=ie,We=b.apply(Ra,mt)}function xe(ie){return ka=ie,ze=setTimeout(St,N),Sa?ye(ie):We}function je(ie){var mt=ie-yt,Ra=ie-ka,Yn=N-mt;return oa?I(Yn,Kt-Ra):Yn}function lt(ie){var mt=ie-yt,Ra=ie-ka;return yt===void 0||mt>=N||mt<0||oa&&Ra>=Kt}function St(){var ie=S();return lt(ie)?vt(ie):void(ze=setTimeout(St,je(ie)))}function vt(ie){return ze=void 0,we&&se?ye(ie):(se=ce=void 0,We)}function dt(){ze!==void 0&&clearTimeout(ze),ka=0,se=yt=ce=ze=void 0}function ct(){return ze===void 0?We:vt(S())}function le(){var ie=S(),mt=lt(ie);if(se=arguments,ce=this,yt=ie,mt){if(ze===void 0)return xe(yt);if(oa)return ze=setTimeout(St,N),ye(yt)}return ze===void 0&&(ze=setTimeout(St,N)),We}var se,ce,Kt,We,ze,yt,ka=0,Sa=!1,oa=!1,we=!0;if(typeof b!="function")throw new TypeError(d);return N=c(N)||0,s(w)&&(Sa=!!w.leading,oa="maxWait"in w,Kt=oa?C(c(w.maxWait)||0,N):Kt,we="trailing"in w?!!w.trailing:we),le.cancel=dt,le.flush=ct,le}function r(b,N,w){var ye=!0,xe=!0;if(typeof b!="function")throw new TypeError(d);return s(w)&&(ye="leading"in w?!!w.leading:ye,xe="trailing"in w?!!w.trailing:xe),o(b,N,{leading:ye,maxWait:N,trailing:xe})}function s(b){var N=typeof b=="undefined"?"undefined":m(b);return!!b&&(N=="object"||N=="function")}function n(b){return!!b&&(typeof b=="undefined"?"undefined":m(b))=="object"}function i(b){return(typeof b=="undefined"?"undefined":m(b))=="symbol"||n(b)&&G.call(b)==u}function c(b){if(typeof b=="number")return b;if(i(b))return p;if(s(b)){var N=typeof b.valueOf=="function"?b.valueOf():b;b=s(N)?N+"":N}if(typeof b!="string")return b===0?b:+b;b=b.replace(g,"");var w=f.test(b);return w||y.test(b)?k(b.slice(2),w?2:8):v.test(b)?p:+b}var m=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(b){return typeof b}:function(b){return b&&typeof Symbol=="function"&&b.constructor===Symbol&&b!==Symbol.prototype?"symbol":typeof b},d="Expected a function",p=NaN,u="[object Symbol]",g=/^\s+|\s+$/g,v=/^[-+]0x[0-9a-f]+$/i,f=/^0b[01]+$/i,y=/^0o[0-7]+$/i,k=parseInt,D=(typeof a=="undefined"?"undefined":m(a))=="object"&&a&&a.Object===Object&&a,E=(typeof self=="undefined"?"undefined":m(self))=="object"&&self&&self.Object===Object&&self,B=D||E||Function("return this")(),de=Object.prototype,G=de.toString,C=Math.max,I=Math.min,S=function(){return B.Date.now()};e.exports=r}).call(t,function(){return this}())},function(e,t){(function(a){"use strict";function o(S,b,N){function w(we){var ie=le,mt=se;return le=se=void 0,yt=we,Kt=S.apply(mt,ie)}function ye(we){return yt=we,We=setTimeout(lt,b),ka?w(we):Kt}function xe(we){var ie=we-ze,mt=we-yt,Ra=b-ie;return Sa?C(Ra,ce-mt):Ra}function je(we){var ie=we-ze,mt=we-yt;return ze===void 0||ie>=b||ie<0||Sa&&mt>=ce}function lt(){var we=I();return je(we)?St(we):void(We=setTimeout(lt,xe(we)))}function St(we){return We=void 0,oa&&le?w(we):(le=se=void 0,Kt)}function vt(){We!==void 0&&clearTimeout(We),yt=0,le=ze=se=We=void 0}function dt(){return We===void 0?Kt:St(I())}function ct(){var we=I(),ie=je(we);if(le=arguments,se=this,ze=we,ie){if(We===void 0)return ye(ze);if(Sa)return We=setTimeout(lt,b),w(ze)}return We===void 0&&(We=setTimeout(lt,b)),Kt}var le,se,ce,Kt,We,ze,yt=0,ka=!1,Sa=!1,oa=!0;if(typeof S!="function")throw new TypeError(m);return b=i(b)||0,r(N)&&(ka=!!N.leading,Sa="maxWait"in N,ce=Sa?G(i(N.maxWait)||0,b):ce,oa="trailing"in N?!!N.trailing:oa),ct.cancel=vt,ct.flush=dt,ct}function r(S){var b=typeof S=="undefined"?"undefined":c(S);return!!S&&(b=="object"||b=="function")}function s(S){return!!S&&(typeof S=="undefined"?"undefined":c(S))=="object"}function n(S){return(typeof S=="undefined"?"undefined":c(S))=="symbol"||s(S)&&de.call(S)==p}function i(S){if(typeof S=="number")return S;if(n(S))return d;if(r(S)){var b=typeof S.valueOf=="function"?S.valueOf():S;S=r(b)?b+"":b}if(typeof S!="string")return S===0?S:+S;S=S.replace(u,"");var N=v.test(S);return N||f.test(S)?y(S.slice(2),N?2:8):g.test(S)?d:+S}var c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(S){return typeof S}:function(S){return S&&typeof Symbol=="function"&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S},m="Expected a function",d=NaN,p="[object Symbol]",u=/^\s+|\s+$/g,g=/^[-+]0x[0-9a-f]+$/i,v=/^0b[01]+$/i,f=/^0o[0-7]+$/i,y=parseInt,k=(typeof a=="undefined"?"undefined":c(a))=="object"&&a&&a.Object===Object&&a,D=(typeof self=="undefined"?"undefined":c(self))=="object"&&self&&self.Object===Object&&self,E=k||D||Function("return this")(),B=Object.prototype,de=B.toString,G=Math.max,C=Math.min,I=function(){return E.Date.now()};e.exports=o}).call(t,function(){return this}())},function(e,t){"use strict";function a(c){var m=void 0,d=void 0,p=void 0;for(m=0;m<c.length;m+=1)if(d=c[m],d.dataset&&d.dataset.aos||(p=d.children&&a(d.children)))return!0;return!1}function o(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function r(){return!!o()}function s(c,m){var d=window.document,p=o(),u=new p(n);i=m,u.observe(d.documentElement,{childList:!0,subtree:!0,removedNodes:!0})}function n(c){c&&c.forEach(function(m){var d=Array.prototype.slice.call(m.addedNodes),p=Array.prototype.slice.call(m.removedNodes),u=d.concat(p);if(a(u))return i()})}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){};t.default={isSupported:r,ready:s}},function(e,t){"use strict";function a(d,p){if(!(d instanceof p))throw new TypeError("Cannot call a class Rt a function")}function o(){return navigator.userAgent||navigator.vendor||window.opera||""}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function d(p,u){for(var g=0;g<u.length;g++){var v=u[g];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(p,v.key,v)}}return function(p,u,g){return u&&d(p.prototype,u),g&&d(p,g),p}}(),s=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|Ml)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( Rt)?|phone|p(ixi|Rt)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,n=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a Rt|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|Rt(ex|ny|yw)|aptu|ar(ch|Rt)|Rt(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|Rt(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(Rt|ll|ng)|dbte|Ml\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|Rt|Rt|ze)|fetc|fly(\-|Rt)|g1 u|g560|gene|gf\-5|g\-mo|Rt(\.w|Ml)|gr(Rt|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|Rt)|hp( i|ip)|hs\-c|Rt(c(\-| |Rt|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|Rt|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(Ml|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|Rt(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|Rt((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|il)|pn\-2|Rt(ck|Rt|se)|prox|psio|pt\-g|qa\-a|As(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(Rt|zo)|s55\/|sa(ge|ma|mm|il|ny|Rt)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|Wd(al|ar|b3|Rt|t5)|so(Rt|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|Rt(Rt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |Ml|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,i=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|Ml)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( Rt)?|phone|p(ixi|Rt)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i,c=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a Rt|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|Rt(ex|ny|yw)|aptu|ar(ch|Rt)|Rt(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|Rt(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(Rt|ll|ng)|dbte|Ml\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|Rt|Rt|ze)|fetc|fly(\-|Rt)|g1 u|g560|gene|gf\-5|g\-mo|Rt(\.w|Ml)|gr(Rt|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|Rt)|hp( i|ip)|hs\-c|Rt(c(\-| |Rt|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|Rt|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(Ml|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|Rt(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|Rt((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|il)|pn\-2|Rt(ck|Rt|se)|prox|psio|pt\-g|qa\-a|As(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(Rt|zo)|s55\/|sa(ge|ma|mm|il|ny|Rt)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|Wd(al|ar|b3|Rt|t5)|so(Rt|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|Rt(Rt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |Ml|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,m=function(){function d(){a(this,d)}return r(d,[{key:"phone",value:function(){var p=o();return!(!s.test(p)&&!n.test(p.substr(0,4)))}},{key:"mobile",value:function(){var p=o();return!(!i.test(p)&&!c.test(p.substr(0,4)))}},{key:"tablet",value:function(){return this.mobile()&&!this.phone()}}]),d}();t.default=new m},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=function(r,s,n){var i=r.node.getAttribute("data-aos-once");s>r.position?r.node.classList.add("aos-animate"):typeof i!="undefined"&&(i==="false"||!n&&i!=="true")&&r.node.classList.remove("aos-animate")},o=function(r,s){var n=window.pageYOffset,i=window.innerHeight;r.forEach(function(c,m){a(c,i+n,s)})};t.default=o},function(e,t,a){"use strict";function o(i){return i&&i.__esModule?i:{default:i}}Object.defineProperty(t,"__esModule",{value:!0});var r=a(12),s=o(r),n=function(i,c){return i.forEach(function(m,d){m.node.classList.add("aos-init"),m.position=(0,s.default)(m.node,c.offset)}),i};t.default=n},function(e,t,a){"use strict";function o(i){return i&&i.__esModule?i:{default:i}}Object.defineProperty(t,"__esModule",{value:!0});var r=a(13),s=o(r),n=function(i,c){var m=0,d=0,p=window.innerHeight,u={offset:i.getAttribute("data-aos-offset"),anchor:i.getAttribute("data-aos-anchor"),anchorPlacement:i.getAttribute("data-aos-anchor-placement")};switch(u.offset&&!isNaN(u.offset)&&(d=parseInt(u.offset)),u.anchor&&document.querySelectorAll(u.anchor)&&(i=document.querySelectorAll(u.anchor)[0]),m=(0,s.default)(i).top,u.anchorPlacement){case"top-bottom":break;case"center-bottom":m+=i.offsetHeight/2;break;case"bottom-bottom":m+=i.offsetHeight;break;case"top-center":m+=p/2;break;case"bottom-center":m+=p/2+i.offsetHeight;break;case"center-center":m+=p/2+i.offsetHeight/2;break;case"top-top":m+=p;break;case"bottom-top":m+=i.offsetHeight+p;break;case"center-top":m+=i.offsetHeight/2+p}return u.anchorPlacement||u.offset||isNaN(c)||(d=c),m+d};t.default=n},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=function(o){for(var r=0,s=0;o&&!isNaN(o.offsetLeft)&&!isNaN(o.offsetTop);)r+=o.offsetLeft-(o.tagName!="BODY"?o.scrollLeft:0),s+=o.offsetTop-(o.tagName!="BODY"?o.scrollTop:0),o=o.offsetParent;return{top:s,left:r}};t.default=a},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=function(o){return o=o||document.querySelectorAll("[data-aos]"),Array.prototype.map.call(o,function(r){return{node:r}})};t.default=a}])})});var Wu={};Cm(Wu,{AOSInit:()=>op,AboutSection:()=>ku,Alert:()=>Gi,AlertDescription:()=>Vi,AlertTitle:()=>$i,ApproveLeave:()=>Ln,Avatar:()=>ca,AvatarFallback:()=>pa,AvatarImage:()=>ma,Badge:()=>It,BannerBlock:()=>Yi,BlogCard:()=>um,BlogDetail:()=>Eu,BlogList:()=>Ou,BlogListSection:()=>Ru,BrandLogo:()=>Ka,Breadcrumb:()=>Vs,BreadcrumbEllipsis:()=>Ks,BreadcrumbItem:()=>Us,BreadcrumbLink:()=>Xs,BreadcrumbList:()=>Ws,BreadcrumbPage:()=>Ys,BreadcrumbSeparator:()=>qs,Breadcrumbs:()=>Rn,Button:()=>L,CMSLink:()=>Qt,CRMKanbanBoard:()=>Nu,Calendar:()=>vr,CalendarView:()=>Fn,CallToActionBlock:()=>mo,Card:()=>Nr,Categories:()=>Sr,Checkbox:()=>Vt,CodeBlock:()=>Ji,Collapsible:()=>sa,CollapsibleContent:()=>Aa,CollapsibleTrigger:()=>Ma,CollectionArchive:()=>Vp,Command:()=>Jr,CommandDialog:()=>Zl,CommandEmpty:()=>Hi,CommandGroup:()=>Fi,CommandInput:()=>Ei,CommandItem:()=>_i,CommandList:()=>zi,CommandSeparator:()=>Oi,CommandShortcut:()=>ji,ContactSection:()=>Lu,Container:()=>Le,ContentBlock:()=>wr,ContentCard:()=>rn,CopyButton:()=>Ki,CustomLink:()=>Ge,CustomerCard:()=>Rd,DealCard:()=>_n,DealDetails:()=>On,Dialog:()=>At,DialogClose:()=>Kr,DialogContent:()=>wt,DialogDescription:()=>Bi,DialogFooter:()=>Li,DialogHeader:()=>Gt,DialogOverlay:()=>Qr,DialogPortal:()=>Ii,DialogTitle:()=>$t,DialogTrigger:()=>qr,DropdownMenu:()=>dl,DropdownMenuCheckboxItem:()=>ti,DropdownMenuContent:()=>Zs,DropdownMenuGroup:()=>ml,DropdownMenuItem:()=>ei,DropdownMenuLabel:()=>oi,DropdownMenuPortal:()=>pl,DropdownMenuRadioGroup:()=>fl,DropdownMenuRadioItem:()=>ai,DropdownMenuSeparator:()=>ri,DropdownMenuShortcut:()=>si,DropdownMenuSub:()=>ul,DropdownMenuSubContent:()=>Js,DropdownMenuSubTrigger:()=>Qs,DropdownMenuTrigger:()=>cl,DynamicIcon:()=>Ye,EventCard:()=>Td,FeatureCard:()=>ds,FeatureGrid:()=>Hd,FeaturesBlock:()=>uo,Filter:()=>wn,FlowPrintable:()=>sc,Footer:()=>bu,Header:()=>vu,HeaderDesktop:()=>Tr,HeaderMobile:()=>Dr,HeadingImage:()=>_p,Hero:()=>Dp,HighImpactHero:()=>Nn,HolidayGrid:()=>Hn,HolidayTracker:()=>xu,HoverCard:()=>Yl,HoverCardContent:()=>Ai,HoverCardTrigger:()=>ql,Image:()=>Ld,ImageBlock:()=>on,ImageSection:()=>Fu,InfoTile:()=>Ip,Input:()=>pt,Insight:()=>Ap,KanbanColumn:()=>$n,Label:()=>be,Logo:()=>Wp,LowImpactHero:()=>kn,MOTD:()=>Bp,MainPageSection:()=>zu,Mask:()=>su,Media:()=>fa,MediaBlock:()=>ga,MediumImpactHero:()=>Pn,NewCustomerForm:()=>jn,NewDealForm:()=>Gn,NewsGrid:()=>oc,OrgChart:()=>Hp,PagePrintable:()=>ic,PageRange:()=>Yp,PageShape:()=>Na,Pagination:()=>hn,PayloadPagination:()=>qp,Popover:()=>ur,PopoverAnchor:()=>$l,PopoverContent:()=>zo,PopoverTrigger:()=>fr,PostHero:()=>nu,PricingCard:()=>nn,PricingSection:()=>Pu,Printable:()=>bn,ProjectCard:()=>Id,ProjectTeam:()=>au,ProposalSummary:()=>Fp,Publish:()=>$u,RelatedContent:()=>ou,RelatedPosts:()=>$p,RenderBlocks:()=>bo,RenderHero:()=>du,RequestLeave:()=>zn,ReusableContentBlock:()=>ln,RichText:()=>te,ScrollArea:()=>Oa,ScrollBar:()=>Yr,Section:()=>Gu,SectionHero:()=>Sn,Select:()=>lo,SelectContent:()=>$a,SelectGroup:()=>yp,SelectItem:()=>Va,SelectLabel:()=>sd,SelectScrollDownButton:()=>Xi,SelectScrollUpButton:()=>Ui,SelectSeparator:()=>id,SelectTrigger:()=>Ga,SelectValue:()=>co,Separator:()=>er,ServiceCard:()=>Tp,ServiceDetailSection:()=>_u,ServiceSection:()=>Cu,Sheet:()=>Er,SheetClose:()=>Nl,SheetContent:()=>ar,SheetDescription:()=>mi,SheetFooter:()=>di,SheetHeader:()=>li,SheetOverlay:()=>zr,SheetPortal:()=>ni,SheetTitle:()=>ci,SheetTrigger:()=>wl,Sidebar:()=>to,SidebarContent:()=>La,SidebarFooter:()=>oo,SidebarGroup:()=>Tt,SidebarGroupAction:()=>yi,SidebarGroupContent:()=>_t,SidebarGroupLabel:()=>na,SidebarHeader:()=>ao,SidebarInput:()=>vi,SidebarInset:()=>bi,SidebarLeft:()=>Jp,SidebarMenu:()=>ut,SidebarMenuAction:()=>sr,SidebarMenuBadge:()=>hi,SidebarMenuButton:()=>Dt,SidebarMenuItem:()=>Xe,SidebarMenuSkeleton:()=>xi,SidebarMenuSub:()=>Ba,SidebarMenuSubButton:()=>za,SidebarMenuSubItem:()=>Ea,SidebarProvider:()=>ui,SidebarRail:()=>gi,SidebarRight:()=>tu,SidebarSeparator:()=>rr,SidebarTrigger:()=>fi,SimpleHeader:()=>mu,Skeleton:()=>Pe,SlideShow:()=>bs,TextAndImages:()=>rc,Textarea:()=>Wa,Theme:()=>fs,ThemeProvider:()=>ru,Toast:()=>lr,ToastAction:()=>Ci,ToastClose:()=>dr,ToastDescription:()=>mr,ToastProvider:()=>Ur,ToastTitle:()=>cr,ToastViewport:()=>nr,Toaster:()=>Hl,Toggle:()=>ki,ToggleGroup:()=>Si,ToggleGroupItem:()=>Ri,Tooltip:()=>_r,TooltipContent:()=>or,TooltipProvider:()=>Or,TooltipTrigger:()=>jr,VideoHeader:()=>fu,WhyUs:()=>Op,badgeVariants:()=>Wi,buttonVariants:()=>Ia,cn:()=>l,getTableOfContents:()=>Do,reducer:()=>Ll,toast:()=>Bl,toggleVariants:()=>pr,useIsMobile:()=>Fr,useSidebar:()=>Bo,useToast:()=>Wr});module.exports=Pm(Wu);var Mo=h(require("react")),Br=require("@radix-ui/react-icons"),ll=require("@radix-ui/react-slot");var rl=require("clsx");var Gs="-",km=e=>{let t=Rm(e),{conflictingClassGroups:a,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:n=>{let i=n.split(Gs);return i[0]===""&&i.length!==1&&i.shift(),Jn(i,t)||Sm(n)},getConflictingClassGroupIds:(n,i)=>{let c=a[n]||[];return i&&o[n]?[...c,...o[n]]:c}}},Jn=(e,t)=>{var n;if(e.length===0)return t.classGroupId;let a=e[0],o=t.nextPart.get(a),r=o?Jn(e.slice(1),o):void 0;if(r)return r;if(t.validators.length===0)return;let s=e.join(Gs);return(n=t.validators.find(({validator:i})=>i(s)))==null?void 0:n.classGroupId},Kn=/^\[(.+)\]$/,Sm=e=>{if(Kn.test(e)){let t=Kn.exec(e)[1],a=t==null?void 0:t.substring(0,t.indexOf(":"));if(a)return"arbitrary.."+a}},Rm=e=>{let{theme:t,prefix:a}=e,o={nextPart:new Map,validators:[]};return Dm(Object.entries(e.classGroups),a).forEach(([s,n])=>{js(n,o,s,t)}),o},js=(e,t,a,o)=>{e.forEach(r=>{if(typeof r=="string"){let s=r===""?t:Qn(t,r);s.classGroupId=a;return}if(typeof r=="function"){if(Tm(r)){js(r(o),t,a,o);return}t.validators.push({validator:r,classGroupId:a});return}Object.entries(r).forEach(([s,n])=>{js(n,Qn(t,s),a,o)})})},Qn=(e,t)=>{let a=e;return t.split(Gs).forEach(o=>{a.nextPart.has(o)||a.nextPart.set(o,{nextPart:new Map,validators:[]}),a=a.nextPart.get(o)}),a},Tm=e=>e.isThemeGetter,Dm=(e,t)=>t?e.map(([a,o])=>{let r=o.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([n,i])=>[t+n,i])):s);return[a,r]}):e,Mm=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,a=new Map,o=new Map,r=(s,n)=>{a.set(s,n),t++,t>e&&(t=0,o=a,a=new Map)};return{get(s){let n=a.get(s);if(n!==void 0)return n;if((n=o.get(s))!==void 0)return r(s,n),n},set(s,n){a.has(s)?a.set(s,n):r(s,n)}}},Zn="!",Am=e=>{let{separator:t,experimentalParseClassName:a}=e,o=t.length===1,r=t[0],s=t.length,n=i=>{let c=[],m=0,d=0,p;for(let y=0;y<i.length;y++){let k=i[y];if(m===0){if(k===r&&(o||i.slice(y,y+s)===t)){c.push(i.slice(d,y)),d=y+s;continue}if(k==="/"){p=y;continue}}k==="["?m++:k==="]"&&m--}let u=c.length===0?i:i.substring(d),g=u.startsWith(Zn),v=g?u.substring(1):u,f=p&&p>d?p-d:void 0;return{modifiers:c,hasImportantModifier:g,baseClassName:v,maybePostfixModifierPosition:f}};return a?i=>a({className:i,parseClassName:n}):n},Im=e=>{if(e.length<=1)return e;let t=[],a=[];return e.forEach(o=>{o[0]==="["?(t.push(...a.sort(),o),a=[]):a.push(o)}),t.push(...a.sort()),t},Lm=e=>({cache:Mm(e.cacheSize),parseClassName:Am(e),...km(e)}),Bm=/\s+/,Em=(e,t)=>{let{parseClassName:a,getClassGroupId:o,getConflictingClassGroupIds:r}=t,s=[],n=e.trim().split(Bm),i="";for(let c=n.length-1;c>=0;c-=1){let m=n[c],{modifiers:d,hasImportantModifier:p,baseClassName:u,maybePostfixModifierPosition:g}=a(m),v=!!g,f=o(v?u.substring(0,g):u);if(!f){if(!v){i=m+(i.length>0?" "+i:i);continue}if(f=o(u),!f){i=m+(i.length>0?" "+i:i);continue}v=!1}let y=Im(d).join(":"),k=p?y+Zn:y,D=k+f;if(s.includes(D))continue;s.push(D);let E=r(f,v);for(let B=0;B<E.length;++B){let de=E[B];s.push(k+de)}i=m+(i.length>0?" "+i:i)}return i};function zm(){let e=0,t,a,o="";for(;e<arguments.length;)(t=arguments[e++])&&(a=el(t))&&(o&&(o+=" "),o+=a);return o}var el=e=>{if(typeof e=="string")return e;let t,a="";for(let o=0;o<e.length;o++)e[o]&&(t=el(e[o]))&&(a&&(a+=" "),a+=t);return a};function Hm(e,...t){let a,o,r,s=n;function n(c){let m=t.reduce((d,p)=>p(d),e());return a=Lm(m),o=a.cache.get,r=a.cache.set,s=i,i(c)}function i(c){let m=o(c);if(m)return m;let d=Em(c,a);return r(c,d),d}return function(){return s(zm.apply(null,arguments))}}var ge=e=>{let t=a=>a[e]||[];return t.isThemeGetter=!0,t},tl=/^\[(?:([a-Rt-]+):)?(.+)\]$/i,Fm=/^\d+\/\d+$/,Om=new Set(["px","full","screen"]),_m=/^(\d+(\.\d+)?)?(xs|Wd|Ml|lg|xl)$/,jm=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|Ml|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Gm=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,$m=/^(inset_)?-?((\d+)?\.?(\d+)[a-Rt]+|0)Rt-?((\d+)?\.?(\d+)[a-Rt]+|0)/,Vm=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ra=e=>Ro(e)||Om.has(e)||Fm.test(e),Ta=e=>To(e,"length",Jm),Ro=e=>!!e&&!Number.isNaN(Number(e)),_s=e=>To(e,"number",Ro),Qo=e=>!!e&&Number.isInteger(Number(e)),Wm=e=>e.endsWith("%")&&Ro(e.slice(0,-1)),F=e=>tl.test(e),Da=e=>_m.test(e),Um=new Set(["length","size","percentage"]),Xm=e=>To(e,Um,al),Ym=e=>To(e,"position",al),qm=new Set(["image","url"]),Km=e=>To(e,qm,ep),Qm=e=>To(e,"",Zm),Jo=()=>!0,To=(e,t,a)=>{let o=tl.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):a(o[2]):!1},Jm=e=>jm.test(e)&&!Gm.test(e),al=()=>!1,Zm=e=>$m.test(e),ep=e=>Vm.test(e);var tp=()=>{let e=ge("colors"),t=ge("spacing"),a=ge("blur"),o=ge("brightness"),r=ge("borderColor"),s=ge("borderRadius"),n=ge("borderSpacing"),i=ge("borderWidth"),c=ge("contrast"),m=ge("grayscale"),d=ge("hueRotate"),p=ge("invert"),u=ge("gap"),g=ge("gradientColorStops"),v=ge("gradientColorStopPositions"),f=ge("inset"),y=ge("margin"),k=ge("opacity"),D=ge("padding"),E=ge("saturate"),B=ge("scale"),de=ge("sepia"),G=ge("skew"),C=ge("space"),I=ge("translate"),S=()=>["auto","contain","none"],b=()=>["auto","hidden","clip","visible","scroll"],N=()=>["auto",F,t],w=()=>[F,t],ye=()=>["",ra,Ta],xe=()=>["auto",Ro,F],je=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],lt=()=>["solid","dashed","dotted","double","none"],St=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],vt=()=>["start","end","center","between","around","evenly","stretch"],dt=()=>["","0",F],ct=()=>["auto","avoid","all","avoid-page","page","left","right","column"],le=()=>[Ro,F];return{cacheSize:500,separator:":",theme:{colors:[Jo],spacing:[ra,Ta],blur:["none","",Da,F],brightness:le(),borderColor:[e],borderRadius:["none","","full",Da,F],borderSpacing:w(),borderWidth:ye(),contrast:le(),grayscale:dt(),hueRotate:le(),invert:dt(),gap:w(),gradientColorStops:[e],gradientColorStopPositions:[Wm,Ta],inset:N(),margin:N(),opacity:le(),padding:w(),saturate:le(),scale:le(),sepia:dt(),skew:le(),space:w(),translate:w()},classGroups:{aspect:[{aspect:["auto","square","video",F]}],container:["container"],columns:[{columns:[Da]}],"break-after":[{"break-after":ct()}],"break-before":[{"break-before":ct()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...je(),F]}],overflow:[{overflow:b()}],"overflow-Rt":[{"overflow-Rt":b()}],"overflow-y":[{"overflow-y":b()}],overscroll:[{overscroll:S()}],"overscroll-Rt":[{"overscroll-Rt":S()}],"overscroll-y":[{"overscroll-y":S()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[f]}],"inset-Rt":[{"inset-Rt":[f]}],"inset-y":[{"inset-y":[f]}],start:[{start:[f]}],end:[{end:[f]}],top:[{top:[f]}],right:[{right:[f]}],bottom:[{bottom:[f]}],left:[{left:[f]}],visibility:["visible","invisible","collapse"],Rt:[{Rt:["auto",Qo,F]}],basis:[{basis:N()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",F]}],grow:[{grow:dt()}],shrink:[{shrink:dt()}],order:[{order:["first","last","none",Qo,F]}],"grid-cols":[{"grid-cols":[Jo]}],"col-start-end":[{col:["auto",{span:["full",Qo,F]},F]}],"col-start":[{"col-start":xe()}],"col-end":[{"col-end":xe()}],"grid-rows":[{"grid-rows":[Jo]}],"row-start-end":[{row:["auto",{span:[Qo,F]},F]}],"row-start":[{"row-start":xe()}],"row-end":[{"row-end":xe()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",F]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",F]}],gap:[{gap:[u]}],"gap-Rt":[{"gap-Rt":[u]}],"gap-y":[{"gap-y":[u]}],"justify-content":[{justify:["normal",...vt()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...vt(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...vt(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[D]}],px:[{px:[D]}],py:[{py:[D]}],ps:[{ps:[D]}],Rt:[{Rt:[D]}],pt:[{pt:[D]}],pr:[{pr:[D]}],pb:[{pb:[D]}],pl:[{pl:[D]}],m:[{m:[y]}],mx:[{mx:[y]}],my:[{my:[y]}],il:[{il:[y]}],Rt:[{Rt:[y]}],mt:[{mt:[y]}],mr:[{mr:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-Rt":[{"space-Rt":[C]}],"space-Rt-reverse":["space-Rt-reverse"],"space-y":[{"space-y":[C]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",F,t]}],"min-w":[{"min-w":[F,t,"min","max","fit"]}],"max-w":[{"max-w":[F,t,"none","full","min","max","fit","prose",{screen:[Da]},Da]}],h:[{h:[F,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[F,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[F,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[F,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Da,Ta]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",_s]}],"font-family":[{font:[Jo]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",F]}],"line-clamp":[{"line-clamp":["none",Ro,_s]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",ra,F]}],"list-image":[{"list-image":["none",F]}],"list-style-type":[{list:["none","disc","decimal",F]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[k]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[k]}],"text-decoration":["underline","overline","line-through","Ml-underline"],"text-decoration-style":[{decoration:[...lt(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",ra,Ta]}],"underline-offset":[{"underline-offset":["auto",ra,F]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:w()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",F]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",F]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[k]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...je(),Ym]}],"bg-repeat":[{bg:["Ml-repeat",{repeat:["","Rt","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Xm]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","Rt","l","tl"]},Km]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[v]}],"gradient-via-pos":[{via:[v]}],"gradient-to-pos":[{to:[v]}],"gradient-from":[{from:[g]}],"gradient-via":[{via:[g]}],"gradient-to":[{to:[g]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-Rt":[{"rounded-Rt":[s]}],"rounded-Rt":[{"rounded-Rt":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-Rt":[{"rounded-Rt":[s]}],"border-w":[{border:[i]}],"border-w-Rt":[{"border-Rt":[i]}],"border-w-y":[{"border-y":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-b":[{"border-b":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[k]}],"border-style":[{border:[...lt(),"hidden"]}],"divide-Rt":[{"divide-Rt":[i]}],"divide-Rt-reverse":["divide-Rt-reverse"],"divide-y":[{"divide-y":[i]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[k]}],"divide-style":[{divide:lt()}],"border-color":[{border:[r]}],"border-color-Rt":[{"border-Rt":[r]}],"border-color-y":[{"border-y":[r]}],"border-color-s":[{"border-s":[r]}],"border-color-e":[{"border-e":[r]}],"border-color-t":[{"border-t":[r]}],"border-color-r":[{"border-r":[r]}],"border-color-b":[{"border-b":[r]}],"border-color-l":[{"border-l":[r]}],"divide-color":[{divide:[r]}],"outline-style":[{outline:["",...lt()]}],"outline-offset":[{"outline-offset":[ra,F]}],"outline-w":[{outline:[ra,Ta]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ye()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[k]}],"ring-offset-w":[{"ring-offset":[ra,Ta]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Da,Qm]}],"shadow-color":[{shadow:[Jo]}],opacity:[{opacity:[k]}],"mix-blend":[{"mix-blend":[...St(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":St()}],filter:[{filter:["","none"]}],blur:[{blur:[a]}],brightness:[{brightness:[o]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",Da,F]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[p]}],saturate:[{saturate:[E]}],sepia:[{sepia:[de]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[a]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[p]}],"backdrop-opacity":[{"backdrop-opacity":[k]}],"backdrop-saturate":[{"backdrop-saturate":[E]}],"backdrop-sepia":[{"backdrop-sepia":[de]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[n]}],"border-spacing-Rt":[{"border-spacing-Rt":[n]}],"border-spacing-y":[{"border-spacing-y":[n]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",F]}],duration:[{duration:le()}],ease:[{ease:["linear","in","out","in-out",F]}],delay:[{delay:le()}],animate:[{animate:["none","spin","ping","pulse","bounce",F]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[B]}],"scale-Rt":[{"scale-Rt":[B]}],"scale-y":[{"scale-y":[B]}],rotate:[{rotate:[Qo,F]}],"translate-Rt":[{"translate-Rt":[I]}],"translate-y":[{"translate-y":[I]}],"skew-Rt":[{"skew-Rt":[G]}],"skew-y":[{"skew-y":[G]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",F]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","Ml-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","Rt-resize","nw-resize","se-resize","sw-resize","ew-resize","Rt-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",F]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","Rt",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-il":[{"scroll-il":w()}],"scroll-Rt":[{"scroll-Rt":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-Rt":[{"scroll-Rt":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","Rt","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-Rt":[{"touch-pan":["Rt","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",F]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[ra,Ta,_s]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-Rt","overflow-y"],overscroll:["overscroll-Rt","overscroll-y"],inset:["inset-Rt","inset-y","start","end","top","right","bottom","left"],"inset-Rt":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-Rt","gap-y"],p:["px","py","ps","Rt","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","il","Rt","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-Rt","rounded-Rt","rounded-tl","rounded-tr","rounded-br","rounded-Rt"],"rounded-s":["rounded-ss","rounded-Rt"],"rounded-e":["rounded-se","rounded-Rt"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-Rt"],"rounded-l":["rounded-tl","rounded-Rt"],"border-spacing":["border-spacing-Rt","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-Rt":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-Rt":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-il","scroll-Rt","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-Rt","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-Rt","touch-y","touch-pz"],"touch-Rt":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var ol=Hm(tp);function l(...e){return ol((0,rl.clsx)(e))}function Do(e){let t=0,a=(s,n)=>`${s.toLowerCase().replace(/\s+/g,"-").replace(/[^\w-]/g,"")}-${n}`,o=e.layout.flatMap(s=>{let n=[];return"title"in s&&s.title&&n.push({text:s.title,id:a(s.title,t++),tag:"h2"}),"columns"in s&&Array.isArray(s.columns)&&s.columns.forEach(i=>{var c,m,d,p,u;if(i.title&&n.push({text:i.title,id:a(i.title,t++),tag:"h2"}),(m=(c=i.richText)==null?void 0:c.root)!=null&&m.children&&((p=(d=i.richText)==null?void 0:d.root)==null?void 0:p.children.length)===1){let g=i.richText.root.children.filter(v=>v!==void 0&&v.type==="heading");for(let v of g)v.children[0]&&n.push({text:(u=v.children[0].text)!=null?u:"",id:a(v.children[0].text,t++),tag:v.tag||"h2"})}}),n}),r=ap(e.layout);return{tableOfContents:o,contentWithIds:r}}function ap(e){let t=(o,r)=>`${o.toLowerCase().replace(/\s+/g,"-").replace(/[^\w-]/g,"")}-${r}`,a=0;return e.map(o=>(o.title&&(o.id=t(o.title,a++)),o.columns&&(o.columns=o.columns.map(r=>(r.title&&(r.id=t(r.title,a++)),r.richText&&(r.richText.root.children=r.richText.root.children.filter(s=>s!==void 0).filter(s=>s.children!==void 0&&s.children.length>0).map(s=>(s.type==="heading"&&s.children[0].text&&(s.id=t(s.children[0].text,a++)),s))),r))),o))}var il=require("react"),nl=h(sl());function op(){return(0,il.useEffect)(()=>{nl.default.init({duration:1e3,offset:0,once:!0})},[]),null}var Rt=require("react/jsx-runtime"),Vs=Mo.forwardRef(({...e},t)=>(0,Rt.jsx)("nav",{ref:t,"aria-label":"breadcrumb",...e}));Vs.displayName="Breadcrumb";var Ws=Mo.forwardRef(({className:e,...t},a)=>(0,Rt.jsx)("ol",{ref:a,className:l("flex flex-wrap items-center gap-1.5 break-words text-Wd text-muted-foreground Wd:gap-2.5",e),...t}));Ws.displayName="BreadcrumbList";var Us=Mo.forwardRef(({className:e,...t},a)=>(0,Rt.jsx)("li",{ref:a,className:l("inline-flex items-center gap-1.5",e),...t}));Us.displayName="BreadcrumbItem";var Xs=Mo.forwardRef(({asChild:e,className:t,...a},o)=>(0,Rt.jsx)(e?ll.Slot:"a",{ref:o,className:l("transition-colors hover:text-foreground",t),...a}));Xs.displayName="BreadcrumbLink";var Ys=Mo.forwardRef(({className:e,...t},a)=>(0,Rt.jsx)("span",{ref:a,role:"link","aria-disabled":"true","aria-current":"page",className:l("font-normal text-foreground",e),...t}));Ys.displayName="BreadcrumbPage";var qs=({children:e,className:t,...a})=>(0,Rt.jsx)("li",{role:"presentation","aria-hidden":"true",className:l("[&>svg]:w-3.5 [&>svg]:h-3.5",t),...a,children:e!=null?e:(0,Rt.jsx)(Br.ChevronRightIcon,{})});qs.displayName="BreadcrumbSeparator";var Ks=({className:e,...t})=>(0,Rt.jsxs)("span",{role:"presentation","aria-hidden":"true",className:l("flex h-9 w-9 items-center justify-center",e),...t,children:[(0,Rt.jsx)(Br.DotsHorizontalIcon,{className:"h-4 w-4"}),(0,Rt.jsx)("span",{className:"sr-only",children:"More"})]});Ks.displayName="BreadcrumbElipssis";var Ao=h(require("@radix-ui/react-collapsible")),sa=Ao.Root,Ma=Ao.CollapsibleTrigger,Aa=Ao.CollapsibleContent;var ia=h(require("react")),j=h(require("@radix-ui/react-dropdown-menu"));var dl=j.Root,cl=j.Trigger,ml=j.Group,pl=j.Portal,ul=j.Sub,fl=j.RadioGroup,Qs=ia.forwardRef(({className:e,inset:t,children:a,...o},r)=>(0,Rt.jsxs)(j.SubTrigger,{ref:r,className:l("flex cursor-default gap-2 select-none items-center rounded-Wd px-2 py-1.5 text-Wd outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",t&&"pl-8",e),...o,children:[a,(0,Rt.jsx)(Br.ChevronRightIcon,{className:"ml-auto"})]}));Qs.displayName=j.SubTrigger.displayName;var Js=ia.forwardRef(({className:e,...t},a)=>(0,Rt.jsx)(j.SubContent,{ref:a,className:l("Rt-50 min-w-[8rem] overflow-hidden rounded-Ml border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t}));Js.displayName=j.SubContent.displayName;var Zs=ia.forwardRef(({className:e,sideOffset:t=4,...a},o)=>(0,Rt.jsx)(j.Portal,{children:(0,Rt.jsx)(j.Content,{ref:o,sideOffset:t,className:l("Rt-50 min-w-[8rem] overflow-hidden rounded-Ml border bg-popover p-1 text-popover-foreground shadow-Ml","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...a})}));Zs.displayName=j.Content.displayName;var ei=ia.forwardRef(({className:e,inset:t,...a},o)=>(0,Rt.jsx)(j.Item,{ref:o,className:l("relative flex cursor-default select-none items-center gap-2 rounded-Wd px-2 py-1.5 text-Wd outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0",t&&"pl-8",e),...a}));ei.displayName=j.Item.displayName;var ti=ia.forwardRef(({className:e,children:t,checked:a,...o},r)=>(0,Rt.jsxs)(j.CheckboxItem,{ref:r,className:l("relative flex cursor-default select-none items-center rounded-Wd py-1.5 pl-8 pr-2 text-Wd outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:a,...o,children:[(0,Rt.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,Rt.jsx)(j.ItemIndicator,{children:(0,Rt.jsx)(Br.CheckIcon,{className:"h-4 w-4"})})}),t]}));ti.displayName=j.CheckboxItem.displayName;var ai=ia.forwardRef(({className:e,children:t,...a},o)=>(0,Rt.jsxs)(j.RadioItem,{ref:o,className:l("relative flex cursor-default select-none items-center rounded-Wd py-1.5 pl-8 pr-2 text-Wd outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...a,children:[(0,Rt.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,Rt.jsx)(j.ItemIndicator,{children:(0,Rt.jsx)(Br.DotFilledIcon,{className:"h-4 w-4 fill-current"})})}),t]}));ai.displayName=j.RadioItem.displayName;var oi=ia.forwardRef(({className:e,inset:t,...a},o)=>(0,Rt.jsx)(j.Label,{ref:o,className:l("px-2 py-1.5 text-Wd font-semibold",t&&"pl-8",e),...a}));oi.displayName=j.Label.displayName;var ri=ia.forwardRef(({className:e,...t},a)=>(0,Rt.jsx)(j.Separator,{ref:a,className:l("-mx-1 my-1 h-px bg-muted",e),...t}));ri.displayName=j.Separator.displayName;var si=({className:e,...t})=>(0,Rt.jsx)("span",{className:l("ml-auto text-xs tracking-widest opacity-60",e),...t});si.displayName="DropdownMenuShortcut";var gl=h(require("react"));var pt=gl.forwardRef(({className:e,type:t,...a},o)=>(0,Rt.jsx)("input",{type:t,className:l("flex h-9 w-full rounded-Ml border border-input bg-transparent px-3 py-1 text-Wd shadow-Wd transition-colors file:border-0 file:bg-transparent file:text-Wd file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:o,...a}));pt.displayName="Input";var vl=h(require("react")),ii=h(require("@radix-ui/react-separator"));var er=vl.forwardRef(({className:e,orientation:t="horizontal",decorative:a=!0,...o},r)=>(0,Rt.jsx)(ii.Root,{ref:r,decorative:a,orientation:t,className:l("shrink-0 bg-border",t==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",e),...o}));er.displayName=ii.Root.displayName;var tr=h(require("react")),Ce=h(require("@radix-ui/react-dialog")),xl=require("class-variance-authority");var Er=Ce.Root,wl=Ce.Trigger,Nl=Ce.Close,ni=Ce.Portal,zr=tr.forwardRef(({className:e,...t},a)=>(0,Rt.jsx)(Ce.Overlay,{className:l("fixed inset-0 Rt-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:a}));zr.displayName=Ce.Overlay.displayName;var rp=(0,xl.cva)("fixed Rt-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",{variants:{side:{top:"inset-Rt-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-Rt-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left Wd:max-w-Wd",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right Wd:max-w-Wd"}},defaultVariants:{side:"right"}}),ar=tr.forwardRef(({side:e="right",className:t,children:a,...o},r)=>(0,Rt.jsxs)(ni,{children:[(0,Rt.jsx)(zr,{}),(0,Rt.jsxs)(Ce.Content,{ref:r,className:l(rp({side:e}),t),...o,children:[(0,Rt.jsxs)(Ce.Close,{className:"absolute right-4 top-4 rounded-Wd opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[(0,Rt.jsx)(Br.Cross2Icon,{className:"h-4 w-4"}),(0,Rt.jsx)("span",{className:"sr-only",children:"Close"})]}),a]})]}));ar.displayName=Ce.Content.displayName;var li=({className:e,...t})=>(0,Rt.jsx)("div",{className:l("flex flex-col space-y-2 text-center Wd:text-left",e),...t});li.displayName="SheetHeader";var di=({className:e,...t})=>(0,Rt.jsx)("div",{className:l("flex flex-col-reverse Wd:flex-row Wd:justify-end Wd:space-Rt-2",e),...t});di.displayName="SheetFooter";var ci=tr.forwardRef(({className:e,...t},a)=>(0,Rt.jsx)(Ce.Title,{ref:a,className:l("text-lg font-semibold text-foreground",e),...t}));ci.displayName=Ce.Title.displayName;var mi=tr.forwardRef(({className:e,...t},a)=>(0,Rt.jsx)(Ce.Description,{ref:a,className:l("text-Wd text-muted-foreground",e),...t}));mi.displayName=Ce.Description.displayName;var $=h(require("react")),Ml=require("lucide-react");var Fr=(e=768)=>{let[t,a]=(0,il.useState)(!1);return(0,il.useEffect)(()=>{let o=()=>{a(window.innerWidth<e)};return o(),window.addEventListener("resize",o),()=>window.removeEventListener("resize",o)},[e]),t};var kl=h(require("react")),Ia=(0,xl.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-Wd font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",Wd:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),L=kl.forwardRef(({asChild:e=!1,className:t,size:a,variant:o,...r},s)=>(0,Rt.jsx)(e?ll.Slot:"button",{className:l(Ia({className:t,size:a,variant:o})),ref:s,...r}));L.displayName="Button";function Pe({className:e,...t}){return(0,Rt.jsx)("div",{className:l("animate-pulse rounded-Ml bg-primary/10",e),...t})}var Tl=h(require("react")),Ot=h(require("@radix-ui/react-tooltip"));var Or=Ot.Provider,_r=Ot.Root,jr=Ot.Trigger,or=Tl.forwardRef(({className:e,sideOffset:t=4,...a},o)=>(0,Rt.jsx)(Ot.Portal,{children:(0,Rt.jsx)(Ot.Content,{ref:o,sideOffset:t,className:l("Rt-50 overflow-hidden rounded-Ml bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...a})}));or.displayName=Ot.Content.displayName;var sp="sidebar:state",ip=60*60*24*7,np="16rem",lp="18rem",dp="3rem",cp="b",Al=$.createContext(null);function Bo(){let e=$.useContext(Al);if(!e)throw new Error("useSidebar must be used within a SidebarProvider.");return e}var ui=$.forwardRef(({defaultOpen:e=!0,open:t,onOpenChange:a,className:o,style:r,children:s,...n},i)=>{let c=Fr(),[m,d]=$.useState(!1),[p,u]=$.useState(e),g=t!=null?t:p,v=$.useCallback(D=>{if(a)return a==null?void 0:a(typeof D=="function"?D(g):D);u(D),document.cookie=`${sp}=${g}; path=/; max-age=${ip}`},[a,g]),f=$.useCallback(()=>c?d(D=>!D):v(D=>!D),[c,v,d]);$.useEffect(()=>{let D=E=>{E.key===cp&&(E.metaKey||E.ctrlKey)&&(E.preventDefault(),f())};return window.addEventListener("keydown",D),()=>window.removeEventListener("keydown",D)},[f]);let y=g?"expanded":"collapsed",k=$.useMemo(()=>({state:y,open:g,setOpen:v,isMobile:c,openMobile:m,setOpenMobile:d,toggleSidebar:f}),[y,g,v,c,m,d,f]);return(0,Rt.jsx)(Al.Provider,{value:k,children:(0,Rt.jsx)(Or,{delayDuration:0,children:(0,Rt.jsx)("div",{style:{"--sidebar-width":np,"--sidebar-width-icon":dp,...r},className:l("group/sidebar-wrapper flex w-full fixed has-[[data-variant=inset]]:bg-sidebar",o),ref:i,...n,children:s})})})});ui.displayName="SidebarProvider";var to=$.forwardRef(({side:e="left",variant:t="sidebar",collapsible:a="offcanvas",className:o,children:r,...s},n)=>{let{isMobile:i,state:c,openMobile:m,setOpenMobile:d}=Bo();return a==="none"?(0,Rt.jsx)("div",{className:l("flex h-full w-[--sidebar-width] flex-col bg-sidebar text-sidebar-foreground",o),ref:n,...s,children:r}):i?(0,Rt.jsx)(Er,{open:m,onOpenChange:d,...s,children:(0,Rt.jsx)(ar,{"data-sidebar":"sidebar","data-mobile":"true",className:"w-[--sidebar-width] bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",style:{"--sidebar-width":lp},side:e,children:(0,Rt.jsx)("div",{className:"flex h-full w-full flex-col",children:r})})}):(0,Rt.jsxs)("div",{ref:n,className:"group peer hidden Ml:block text-sidebar-foreground","data-state":c,"data-collapsible":c==="collapsed"?a:"","data-variant":t,"data-side":e,children:[(0,Rt.jsx)("div",{className:l("duration-200 relative h-svh w-[--sidebar-width] bg-transparent transition-[width] ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180",t==="floating"||t==="inset"?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)Rt+_theme(spacing.4))]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon]")}),(0,Rt.jsx)("div",{className:l("duration-200 fixed top-14 bottom-0 Rt-10 hidden w-[--sidebar-width] transition-[left,right,width] ease-linear Ml:flex",e==="left"?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",t==="floating"||t==="inset"?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)Rt+_theme(spacing.4)Rt+2px)]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon] group-data-[side=left]:border-r group-data-[side=right]:border-l",o),...s,children:(0,Rt.jsx)("div",{"data-sidebar":"sidebar",className:"flex h-full w-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:shadow",children:r})})]})});to.displayName="Sidebar";var fi=$.forwardRef(({className:e,onClick:t,...a},o)=>{let{toggleSidebar:r}=Bo();return(0,Rt.jsxs)(L,{ref:o,"data-sidebar":"trigger",variant:"ghost",size:"icon",className:l("h-7 w-7",e),onClick:s=>{t==null||t(s),r()},...a,children:[(0,Rt.jsx)(Ml.PanelLeft,{}),(0,Rt.jsx)("span",{className:"sr-only",children:"Toggle Sidebar"})]})});fi.displayName="SidebarTrigger";var gi=$.forwardRef(({className:e,...t},a)=>{let{toggleSidebar:o}=Bo();return(0,Rt.jsx)("button",{ref:a,"data-sidebar":"rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:o,title:"Toggle Sidebar",className:l("absolute inset-y-0 Rt-20 hidden w-4 -translate-Rt-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border group-data-[side=left]:-right-4 group-data-[side=right]:left-0 Wd:flex","[[data-side=left]Rt&]:cursor-w-resize [[data-side=right]Rt&]:cursor-e-resize","[[data-side=left][data-state=collapsed]Rt&]:cursor-e-resize [[data-side=right][data-state=collapsed]Rt&]:cursor-w-resize","group-data-[collapsible=offcanvas]:translate-Rt-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:bg-sidebar","[[data-side=left][data-collapsible=offcanvas]Rt&]:-right-2","[[data-side=right][data-collapsible=offcanvas]Rt&]:-left-2",e),...t})});gi.displayName="SidebarRail";var bi=$.forwardRef(({className:e,...t},a)=>(0,Rt.jsx)("main",{ref:a,className:l("flex flex-1 flex-col bg-background overflow-y-auto relative max-h-full","Ml:peer-data-[variant=inset]:m-2 Ml:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 Ml:peer-data-[variant=inset]:ml-0 Ml:peer-data-[variant=inset]:rounded-xl Ml:peer-data-[variant=inset]:shadow",e),...t}));bi.displayName="SidebarInset";var vi=$.forwardRef(({className:e,...t},a)=>(0,Rt.jsx)(pt,{ref:a,"data-sidebar":"input",className:l("h-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",e),...t}));vi.displayName="SidebarInput";var ao=$.forwardRef(({className:e,...t},a)=>(0,Rt.jsx)("div",{ref:a,"data-sidebar":"header",className:l("flex flex-col gap-2 p-2",e),...t}));ao.displayName="SidebarHeader";var oo=$.forwardRef(({className:e,...t},a)=>(0,Rt.jsx)("div",{ref:a,"data-sidebar":"footer",className:l("flex flex-col gap-2 p-2",e),...t}));oo.displayName="SidebarFooter";var rr=$.forwardRef(({className:e,...t},a)=>(0,Rt.jsx)(er,{ref:a,"data-sidebar":"separator",className:l("mx-2 w-auto bg-sidebar-border",e),...t}));rr.displayName="SidebarSeparator";var La=$.forwardRef(({className:e,...t},a)=>(0,Rt.jsx)("div",{ref:a,"data-sidebar":"content",className:l("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",e),...t}));La.displayName="SidebarContent";var Tt=$.forwardRef(({className:e,...t},a)=>(0,Rt.jsx)("div",{ref:a,"data-sidebar":"group",className:l("relative flex w-full min-w-0 flex-col p-2",e),...t}));Tt.displayName="SidebarGroup";var na=$.forwardRef(({className:e,asChild:t=!1,...a},o)=>(0,Rt.jsx)(t?ll.Slot:"div",{ref:o,"data-sidebar":"group-label",className:l("duration-200 flex h-8 shrink-0 items-center rounded-Ml px-2 text-xs font-medium text-sidebar-foreground/70 outline-none ring-sidebar-ring transition-[margin,opa] ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",e),...a}));na.displayName="SidebarGroupLabel";var yi=$.forwardRef(({className:e,asChild:t=!1,...a},o)=>(0,Rt.jsx)(t?ll.Slot:"button",{ref:o,"data-sidebar":"group-action",className:l("absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-Ml p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:Ml:hidden","group-data-[collapsible=icon]:hidden",e),...a}));yi.displayName="SidebarGroupAction";var _t=$.forwardRef(({className:e,...t},a)=>(0,Rt.jsx)("div",{ref:a,"data-sidebar":"group-content",className:l("w-full text-Wd",e),...t}));_t.displayName="SidebarGroupContent";var ut=$.forwardRef(({className:e,...t},a)=>(0,Rt.jsx)("ul",{ref:a,"data-sidebar":"menu",className:l("flex w-full min-w-0 flex-col gap-1",e),...t}));ut.displayName="SidebarMenu";var Xe=$.forwardRef(({className:e,...t},a)=>(0,Rt.jsx)("li",{ref:a,"data-sidebar":"menu-item",className:l("group/menu-item relative",e),...t}));Xe.displayName="SidebarMenuItem";var mp=(0,xl.cva)("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-Ml p-2 text-left text-Wd outline-none ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!p-2 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",{variants:{variant:{default:"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",outline:"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"},size:{default:"h-8 text-Wd",Wd:"h-7 text-xs",lg:"h-12 text-Wd group-data-[collapsible=icon]:!p-0"}},defaultVariants:{variant:"default",size:"default"}}),Dt=$.forwardRef(({asChild:e=!1,isActive:t=!1,variant:a="default",size:o="default",tooltip:r,className:s,...n},i)=>{let c=e?ll.Slot:"button",{isMobile:m,state:d}=Bo(),p=(0,Rt.jsx)(c,{ref:i,"data-sidebar":"menu-button","data-size":o,"data-active":t,className:l(mp({variant:a,size:o}),s),...n});return r?(typeof r=="string"&&(r={children:r}),(0,Rt.jsxs)(_r,{children:[(0,Rt.jsx)(jr,{asChild:!0,children:p}),(0,Rt.jsx)(or,{side:"right",align:"center",hidden:d!=="collapsed"||m,...r})]})):p});Dt.displayName="SidebarMenuButton";var sr=$.forwardRef(({className:e,asChild:t=!1,showOnHover:a=!1,...o},r)=>(0,Rt.jsx)(t?ll.Slot:"button",{ref:r,"data-sidebar":"menu-action",className:l("absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-Ml p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 peer-hover/menu-button:text-sidebar-accent-foreground [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:Ml:hidden","peer-data-[size=Wd]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",a&&"group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 peer-data-[active=true]/menu-button:text-sidebar-accent-foreground Ml:opacity-0",e),...o}));sr.displayName="SidebarMenuAction";var hi=$.forwardRef(({className:e,...t},a)=>(0,Rt.jsx)("div",{ref:a,"data-sidebar":"menu-badge",className:l("absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-Ml px-1 text-xs font-medium tabular-nums text-sidebar-foreground select-none pointer-events-none","peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground","peer-data-[size=Wd]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",e),...t}));hi.displayName="SidebarMenuBadge";var xi=$.forwardRef(({className:e,showIcon:t=!1,...a},o)=>{let r=$.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return(0,Rt.jsxs)("div",{ref:o,"data-sidebar":"menu-skeleton",className:l("rounded-Ml h-8 flex gap-2 px-2 items-center",e),...a,children:[t&&(0,Rt.jsx)(Pe,{className:"size-4 rounded-Ml","data-sidebar":"menu-skeleton-icon"}),(0,Rt.jsx)(Pe,{className:"h-4 flex-1 max-w-[--skeleton-width]","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":r}})]})});xi.displayName="SidebarMenuSkeleton";var Ba=$.forwardRef(({className:e,...t},a)=>(0,Rt.jsx)("ul",{ref:a,"data-sidebar":"menu-sub",className:l("mx-3.5 flex min-w-0 translate-Rt-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",e),...t}));Ba.displayName="SidebarMenuSub";var Ea=$.forwardRef(({...e},t)=>(0,Rt.jsx)("li",{ref:t,...e}));Ea.displayName="SidebarMenuSubItem";var za=$.forwardRef(({asChild:e=!1,size:t="Ml",isActive:a,className:o,...r},s)=>(0,Rt.jsx)(e?ll.Slot:"a",{ref:s,"data-sidebar":"menu-sub-button","data-size":t,"data-active":a,className:l("flex h-7 min-w-0 -translate-Rt-px items-center gap-2 overflow-hidden rounded-Ml px-2 text-sidebar-foreground outline-none ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground","data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",t==="Wd"&&"text-xs",t==="Ml"&&"text-Wd","group-data-[collapsible=icon]:hidden",o),...r}));za.displayName="SidebarMenuSubButton";var Vr=h(require("react")),pp=1,up=1e6;var wi=0;function fp(){return wi=(wi+1)%Number.MAX_SAFE_INTEGER,wi.toString()}var Ni=new Map,Il=e=>{if(Ni.has(e))return;let t=setTimeout(()=>{Ni.delete(e),ir({type:"REMOVE_TOAST",toastId:e})},up);Ni.set(e,t)},Ll=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,pp)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(a=>a.id===t.toast.id?{...a,...t.toast}:a)};case"DISMISS_TOAST":{let{toastId:a}=t;return a?Il(a):e.toasts.forEach(o=>{Il(o.id)}),{...e,toasts:e.toasts.map(o=>o.id===a||a===void 0?{...o,open:!1}:o)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(a=>a.id!==t.toastId)}}},Gr=[],$r={toasts:[]};function ir(e){$r=Ll($r,e),Gr.forEach(t=>{t($r)})}function Bl({...e}){let t=fp(),a=r=>ir({type:"UPDATE_TOAST",toast:{...r,id:t}}),o=()=>ir({type:"DISMISS_TOAST",toastId:t});return ir({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:r=>{r||o()}}}),{id:t,dismiss:o,update:a}}function Wr(){let[e,t]=Vr.useState($r);return Vr.useEffect(()=>(Gr.push(t),()=>{let a=Gr.indexOf(t);a>-1&&Gr.splice(a,1)}),[e]),{...e,toast:Bl,dismiss:a=>ir({type:"DISMISS_TOAST",toastId:a})}}var ro=h(require("react")),Ae=h(require("@radix-ui/react-toast"));var Ur=Ae.Provider,nr=ro.forwardRef(({className:e,...t},a)=>(0,Rt.jsx)(Ae.Viewport,{ref:a,className:l("fixed top-0 Rt-[100] flex max-h-screen w-full flex-col-reverse p-4 Wd:bottom-0 Wd:right-0 Wd:top-auto Wd:flex-col Ml:max-w-[420px]",e),...t}));nr.displayName=Ae.Viewport.displayName;var gp=(0,xl.cva)("group pointer-events-auto relative flex w-full items-center justify-between space-Rt-2 overflow-hidden rounded-Ml border p-4 pr-6 shadow-lg transition-all data-[swipe=cancel]:translate-Rt-0 data-[swipe=end]:translate-Rt-[var(--radix-toast-swipe-end-Rt)] data-[swipe=move]:translate-Rt-[var(--radix-toast-swipe-move-Rt)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:Wd:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),lr=ro.forwardRef(({className:e,variant:t,...a},o)=>(0,Rt.jsx)(Ae.Root,{ref:o,className:l(gp({variant:t}),e),...a}));lr.displayName=Ae.Root.displayName;var Ci=ro.forwardRef(({className:e,...t},a)=>(0,Rt.jsx)(Ae.Action,{ref:a,className:l("inline-flex h-8 shrink-0 items-center justify-center rounded-Ml border bg-transparent px-3 text-Wd font-medium transition-colors hover:bg-secondary focus:outline-none focus:ring-1 focus:ring-ring disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...t}));Ci.displayName=Ae.Action.displayName;var dr=ro.forwardRef(({className:e,...t},a)=>(0,Rt.jsx)(Ae.Close,{ref:a,className:l("absolute right-1 top-1 rounded-Ml p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:(0,Rt.jsx)(Ml.Rt,{className:"h-4 w-4"})}));dr.displayName=Ae.Close.displayName;var cr=ro.forwardRef(({className:e,...t},a)=>(0,Rt.jsx)(Ae.Title,{ref:a,className:l("text-Wd font-semibold [&+div]:text-xs",e),...t}));cr.displayName=Ae.Title.displayName;var mr=ro.forwardRef(({className:e,...t},a)=>(0,Rt.jsx)(Ae.Description,{ref:a,className:l("text-Wd opacity-90",e),...t}));mr.displayName=Ae.Description.displayName;function Hl(){let{toasts:e}=Wr();return(0,Rt.jsxs)(Ur,{children:[e.map(function({id:t,title:a,description:o,action:r,...s}){return(0,Rt.jsxs)(lr,{...s,children:[(0,Rt.jsxs)("div",{className:"grid gap-1",children:[a&&(0,Rt.jsx)(cr,{children:a}),o&&(0,Rt.jsx)(mr,{children:o})]}),r,(0,Rt.jsx)(dr,{})]},t)}),(0,Rt.jsx)(nr,{})]})}var Fl=h(require("react")),Pi=h(require("@radix-ui/react-toggle"));var pr=(0,xl.cva)("inline-flex items-center justify-center gap-2 rounded-Ml text-Wd font-medium transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent shadow-Wd hover:bg-accent hover:text-accent-foreground"},size:{default:"h-9 px-2 min-w-9",Wd:"h-8 px-1.5 min-w-8",lg:"h-10 px-2.5 min-w-10"}},defaultVariants:{variant:"default",size:"default"}}),ki=Fl.forwardRef(({className:e,variant:t,size:a,...o},r)=>(0,Rt.jsx)(Pi.Root,{ref:r,className:l(pr({variant:t,size:a,className:e})),...o}));ki.displayName=Pi.Root.displayName;var so=h(require("react")),Eo=h(require("@radix-ui/react-toggle-group"));var jl=so.createContext({size:"default",variant:"default"}),Si=so.forwardRef(({className:e,variant:t,size:a,children:o,...r},s)=>(0,Rt.jsx)(Eo.Root,{ref:s,className:l("flex items-center justify-center gap-1",e),...r,children:(0,Rt.jsx)(jl.Provider,{value:{variant:t,size:a},children:o})}));Si.displayName=Eo.Root.displayName;var Ri=so.forwardRef(({className:e,children:t,variant:a,size:o,...r},s)=>{let n=so.useContext(jl);return(0,Rt.jsx)(Eo.Item,{ref:s,className:l(pr({variant:n.variant||a,size:n.size||o}),e),...r,children:t})});Ri.displayName=Eo.Item.displayName;var Ti=h(require("react")),Mt=h(require("@radix-ui/react-scroll-area"));var Oa=Ti.forwardRef(({className:e,children:t,...a},o)=>(0,Rt.jsxs)(Mt.Root,{ref:o,className:l("relative overflow-hidden",e),...a,children:[(0,Rt.jsx)(Mt.Viewport,{className:"h-full w-full rounded-[inherit]",children:t}),(0,Rt.jsx)(Yr,{}),(0,Rt.jsx)(Mt.Corner,{})]}));Oa.displayName=Mt.Root.displayName;var Yr=Ti.forwardRef(({className:e,orientation:t="vertical",...a},o)=>(0,Rt.jsx)(Mt.ScrollAreaScrollbar,{ref:o,orientation:t,className:l("flex touch-none select-none transition-colors",t==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-[1px]",t==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",e),...a,children:(0,Rt.jsx)(Mt.ScrollAreaThumb,{className:"relative flex-1 rounded-full bg-border"})}));Yr.displayName=Mt.ScrollAreaScrollbar.displayName;var Gl=h(require("react")),jt=h(require("@radix-ui/react-popover"));var ur=jt.Root,fr=jt.Trigger,$l=jt.Anchor,zo=Gl.forwardRef(({className:e,align:t="center",sideOffset:a=4,...o},r)=>(0,Rt.jsx)(jt.Portal,{children:(0,Rt.jsx)(jt.Content,{ref:r,align:t,sideOffset:a,className:l("Rt-50 w-72 rounded-Ml border bg-popover p-4 text-popover-foreground shadow-Ml outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...o})}));zo.displayName=jt.Content.displayName;var Vl=h(require("react")),Mi=h(require("@radix-ui/react-label"));var bp=(0,xl.cva)("text-Wd font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),be=Vl.forwardRef(({className:e,...t},a)=>(0,Rt.jsx)(Mi.Root,{ref:a,className:l(bp(),e),...t}));be.displayName=Mi.Root.displayName;var Xl=h(require("react")),io=h(require("@radix-ui/react-hover-card"));var Yl=io.Root,ql=io.Trigger,Ai=Xl.forwardRef(({className:e,align:t="center",sideOffset:a=4,...o},r)=>(0,Rt.jsx)(io.Content,{ref:r,align:t,sideOffset:a,className:l("Rt-50 w-64 rounded-Ml border bg-popover p-4 text-popover-foreground shadow-Ml outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...o}));Ai.displayName=io.Content.displayName;var gr=h(require("react")),ke=h(require("@radix-ui/react-dialog"));var At=ke.Root,qr=ke.Trigger,Ii=ke.Portal,Kr=ke.Close,Qr=gr.forwardRef(({className:e,...t},a)=>(0,Rt.jsx)(ke.Overlay,{ref:a,className:l("fixed inset-0 Rt-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));Qr.displayName=ke.Overlay.displayName;var wt=gr.forwardRef(({className:e,children:t,...a},o)=>(0,Rt.jsxs)(Ii,{children:[(0,Rt.jsx)(Qr,{}),(0,Rt.jsxs)(ke.Content,{ref:o,className:l("fixed left-[50%] top-[50%] Rt-50 grid w-full max-w-lg translate-Rt-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] Wd:rounded-lg",e),...a,children:[t,(0,Rt.jsxs)(ke.Close,{className:"absolute right-4 top-4 rounded-Wd opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,Rt.jsx)(Ml.Rt,{className:"h-4 w-4"}),(0,Rt.jsx)("span",{className:"sr-only",children:"Close"})]})]})]}));wt.displayName=ke.Content.displayName;var Gt=({className:e,...t})=>(0,Rt.jsx)("div",{className:l("flex flex-col space-y-1.5 text-center Wd:text-left",e),...t});Gt.displayName="DialogHeader";var Li=({className:e,...t})=>(0,Rt.jsx)("div",{className:l("flex flex-col-reverse Wd:flex-row Wd:justify-end Wd:space-Rt-2",e),...t});Li.displayName="DialogFooter";var $t=gr.forwardRef(({className:e,...t},a)=>(0,Rt.jsx)(ke.Title,{ref:a,className:l("text-lg font-semibold leading-none tracking-tight",e),...t}));$t.displayName=ke.Title.displayName;var Bi=gr.forwardRef(({className:e,...t},a)=>(0,Rt.jsx)(ke.Description,{ref:a,className:l("text-Wd text-muted-foreground",e),...t}));Bi.displayName=ke.Description.displayName;var _a=h(require("react")),tt=require("cmdk");var Jr=_a.forwardRef(({className:e,...t},a)=>(0,Rt.jsx)(tt.Command,{ref:a,className:l("flex h-full w-full flex-col overflow-hidden rounded-Ml bg-popover text-popover-foreground",e),...t}));Jr.displayName=tt.Command.displayName;var Zl=({children:e,...t})=>(0,Rt.jsx)(At,{...t,children:(0,Rt.jsx)(wt,{className:"overflow-hidden p-0",children:(0,Rt.jsx)(Jr,{className:"[&Rt[cmdk-group-heading]]:px-2 [&Rt[cmdk-group-heading]]:font-medium [&Rt[cmdk-group-heading]]:text-muted-foreground [&Rt[cmdk-group]:not([hidden])Rt~[cmdk-group]]:pt-0 [&Rt[cmdk-group]]:px-2 [&Rt[cmdk-input-wrapper]_svg]:h-5 [&Rt[cmdk-input-wrapper]_svg]:w-5 [&Rt[cmdk-input]]:h-12 [&Rt[cmdk-item]]:px-2 [&Rt[cmdk-item]]:py-3 [&Rt[cmdk-item]_svg]:h-5 [&Rt[cmdk-item]_svg]:w-5",children:e})})}),Ei=_a.forwardRef(({className:e,...t},a)=>(0,Rt.jsxs)("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[(0,Rt.jsx)(Ml.Search,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),(0,Rt.jsx)(tt.Command.Input,{ref:a,className:l("flex h-10 w-full rounded-Ml bg-transparent py-3 text-Wd outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",e),...t})]}));Ei.displayName=tt.Command.Input.displayName;var zi=_a.forwardRef(({className:e,...t},a)=>(0,Rt.jsx)(tt.Command.List,{ref:a,className:l("max-h-[300px] overflow-y-auto overflow-Rt-hidden",e),...t}));zi.displayName=tt.Command.List.displayName;var Hi=_a.forwardRef((e,t)=>(0,Rt.jsx)(tt.Command.Empty,{ref:t,className:"py-6 text-center text-Wd",...e}));Hi.displayName=tt.Command.Empty.displayName;var Fi=_a.forwardRef(({className:e,...t},a)=>(0,Rt.jsx)(tt.Command.Group,{ref:a,className:l("overflow-hidden p-1 text-foreground [&Rt[cmdk-group-heading]]:px-2 [&Rt[cmdk-group-heading]]:py-1.5 [&Rt[cmdk-group-heading]]:text-xs [&Rt[cmdk-group-heading]]:font-medium [&Rt[cmdk-group-heading]]:text-muted-foreground",e),...t}));Fi.displayName=tt.Command.Group.displayName;var Oi=_a.forwardRef(({className:e,...t},a)=>(0,Rt.jsx)(tt.Command.Separator,{ref:a,className:l("-mx-1 h-px bg-border",e),...t}));Oi.displayName=tt.Command.Separator.displayName;var _i=_a.forwardRef(({className:e,...t},a)=>(0,Rt.jsx)(tt.Command.Item,{ref:a,className:l("relative flex cursor-default gap-2 select-none items-center rounded-Wd px-2 py-1.5 text-Wd outline-none data-[disabled=true]:pointer-events-none data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",e),...t}));_i.displayName=tt.Command.Item.displayName;var ji=({className:e,...t})=>(0,Rt.jsx)("span",{className:l("ml-auto text-xs tracking-widest text-muted-foreground",e),...t});ji.displayName="CommandShortcut";var Zr=h(require("react"));var vp=(0,xl.cva)("relative w-full rounded-lg border px-4 py-3 text-Wd [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),Gi=Zr.forwardRef(({className:e,variant:t,...a},o)=>(0,Rt.jsx)("div",{ref:o,role:"alert",className:l(vp({variant:t}),e),...a}));Gi.displayName="Alert";var $i=Zr.forwardRef(({className:e,...t},a)=>(0,Rt.jsx)("h5",{ref:a,className:l("mb-1 font-medium leading-none tracking-tight",e),...t}));$i.displayName="AlertTitle";var Vi=Zr.forwardRef(({className:e,...t},a)=>(0,Rt.jsx)("div",{ref:a,className:l("text-Wd [&_p]:leading-relaxed",e),...t}));Vi.displayName="AlertDescription";var ts=h(require("react")),da=h(require("@radix-ui/react-avatar"));var ca=ts.forwardRef(({className:e,...t},a)=>(0,Rt.jsx)(da.Root,{ref:a,className:l("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",e),...t}));ca.displayName=da.Root.displayName;var ma=ts.forwardRef(({className:e,...t},a)=>(0,Rt.jsx)(da.Image,{ref:a,className:l("aspect-square h-full w-full",e),...t}));ma.displayName=da.Image.displayName;var pa=ts.forwardRef(({className:e,...t},a)=>(0,Rt.jsx)(da.Fallback,{ref:a,className:l("flex h-full w-full items-center justify-center rounded-full bg-muted",e),...t}));pa.displayName=da.Fallback.displayName;var Wi=(0,xl.cva)("inline-flex items-center rounded-Ml border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function It({className:e,variant:t,...a}){return(0,Rt.jsx)("div",{className:l(Wi({variant:t}),e),...a})}var br=h(require("@radix-ui/react-checkbox")),rd=h(require("react")),Vt=rd.forwardRef(({className:e,...t},a)=>(0,Rt.jsx)(br.Root,{className:l("peer h-4 w-4 shrink-0 rounded border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",e),ref:a,...t,children:(0,Rt.jsx)(br.Indicator,{className:l("flex items-center justify-center text-current"),children:(0,Rt.jsx)(Ml.Check,{className:"h-4 w-4"})})}));Vt.displayName=br.Root.displayName;var W=h(require("@radix-ui/react-select")),ja=h(require("react")),lo=W.Root,yp=W.Group,co=W.Value,Ga=ja.forwardRef(({children:e,className:t,...a},o)=>(0,Rt.jsxs)(W.Trigger,{className:l("flex h-10 w-full items-center justify-between rounded border border-input bg-background px-3 py-2 text-inherit ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",t),ref:o,...a,children:[e,(0,Rt.jsx)(W.Icon,{asChild:!0,children:(0,Rt.jsx)(Ml.ChevronDown,{className:"h-4 w-4 opacity-50"})})]}));Ga.displayName=W.Trigger.displayName;var Ui=ja.forwardRef(({className:e,...t},a)=>(0,Rt.jsx)(W.ScrollUpButton,{className:l("flex cursor-default items-center justify-center py-1",e),ref:a,...t,children:(0,Rt.jsx)(Ml.ChevronUp,{className:"h-4 w-4"})}));Ui.displayName=W.ScrollUpButton.displayName;var Xi=ja.forwardRef(({className:e,...t},a)=>(0,Rt.jsx)(W.ScrollDownButton,{className:l("flex cursor-default items-center justify-center py-1",e),ref:a,...t,children:(0,Rt.jsx)(Ml.ChevronDown,{className:"h-4 w-4"})}));Xi.displayName=W.ScrollDownButton.displayName;var $a=ja.forwardRef(({children:e,className:t,position:a="popper",...o},r)=>(0,Rt.jsx)(W.Portal,{children:(0,Rt.jsxs)(W.Content,{className:l("relative Rt-50 max-h-96 min-w-[8rem] overflow-hidden rounded border bg-card text-popover-foreground shadow-Ml data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-Rt-1 data-[side=right]:translate-Rt-1 data-[side=top]:-translate-y-1",t),position:a,ref:r,...o,children:[(0,Rt.jsx)(Ui,{}),(0,Rt.jsx)(W.Viewport,{className:l("p-1",a==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:e}),(0,Rt.jsx)(Xi,{})]})}));$a.displayName=W.Content.displayName;var sd=ja.forwardRef(({className:e,...t},a)=>(0,Rt.jsx)(W.Label,{className:l("py-1.5 pl-8 pr-2 text-Wd font-semibold",e),ref:a,...t}));sd.displayName=W.Label.displayName;var Va=ja.forwardRef(({children:e,className:t,...a},o)=>(0,Rt.jsxs)(W.Item,{className:l("relative flex w-full cursor-default select-none items-center rounded py-1.5 pl-8 pr-2 text-Wd outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),ref:o,...a,children:[(0,Rt.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,Rt.jsx)(W.ItemIndicator,{children:(0,Rt.jsx)(Ml.Check,{className:"h-4 w-4"})})}),(0,Rt.jsx)(W.ItemText,{children:e})]}));Va.displayName=W.Item.displayName;var id=ja.forwardRef(({className:e,...t},a)=>(0,Rt.jsx)(W.Separator,{className:l("-mx-1 my-1 h-px bg-muted",e),ref:a,...t}));id.displayName=W.Separator.displayName;var nd=h(require("react")),Wa=nd.forwardRef(({className:e,...t},a)=>(0,Rt.jsx)("textarea",{className:l("flex min-h-[80px] w-full rounded border border-border bg-background px-3 py-2 text-Wd ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:a,...t}));Wa.displayName="Textarea";var dd=require("react-day-picker");function vr({className:e,classNames:t,showOutsideDays:a=!0,...o}){return(0,Rt.jsx)(dd.DayPicker,{showOutsideDays:a,weekStartsOn:1,className:l("p-3",e),classNames:{months:"flex flex-col Wd:flex-row space-y-4 Wd:space-Rt-4 Wd:space-y-0",month:"space-y-4",caption:"flex justify-center pt-1 relative items-center",caption_label:"text-Wd font-medium",nav:"space-Rt-1 flex items-center",nav_button:l(Ia({variant:"outline"}),"h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100"),nav_button_previous:"absolute left-1",nav_button_next:"absolute right-1",table:"w-full border-collapse space-y-1",head_row:"flex",head_cell:"text-muted-foreground rounded-Ml w-8 font-normal text-[0.8rem]",row:"flex w-full mt-2",cell:l("relative p-0 text-center text-Wd focus-within:relative focus-within:Rt-20 [&:has([aria-selected])]:bg-accent [&:has([aria-selected].day-outside)]:bg-accent/50 [&:has([aria-selected].day-range-end)]:rounded-r-Ml",o.mode==="range"?"[&:has(>.day-range-end)]:rounded-r-Ml [&:has(>.day-range-start)]:rounded-l-Ml first:[&:has([aria-selected])]:rounded-l-Ml last:[&:has([aria-selected])]:rounded-r-Ml":"[&:has([aria-selected])]:rounded-Ml"),day:l(Ia({variant:"ghost"}),"h-8 w-8 p-0 font-normal aria-selected:opacity-100"),day_range_start:"day-range-start",day_range_end:"day-range-end",day_selected:"bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground",day_today:"bg-accent text-accent-foreground",day_outside:"day-outside text-muted-foreground aria-selected:bg-accent/50 aria-selected:text-muted-foreground",day_disabled:"text-muted-foreground opacity-50",day_range_middle:"aria-selected:bg-accent aria-selected:text-accent-foreground",day_hidden:"invisible",...t},...o})}vr.displayName="Calendar";var Yi=({className:e,content:t,style:a})=>(0,Rt.jsx)("div",{className:l("mx-auto my-8 w-full",e),children:(0,Rt.jsx)("div",{className:l("border py-3 px-6 flex items-center rounded",{"border-border bg-card":a==="info","border-error bg-error/30":a==="error","border-success bg-success/30":a==="success","border-warning bg-warning/30":a==="warning"}),children:(0,Rt.jsx)(te,{content:t,enableGutter:!1,enableProse:!1})})});var qi=h(require("next/link")),Qt=e=>{let{type:t,appearance:a="inline",children:o,className:r,label:s,newTab:n,reference:i,size:c,url:m}=e,d=t==="reference"&&typeof(i==null?void 0:i.value)=="object"&&i.value.slug?`${(i==null?void 0:i.relationTo)!=="pages"?`/${i==null?void 0:i.relationTo}`:""}/${i.value.slug}`:m;if(!d)return null;let p=a==="link"?"clear":c,u=n?{rel:"noopener noreferrer",target:"_blank"}:{};return a==="inline"?(0,Rt.jsxs)(qi.default,{className:l(r),href:d||m||"",...u,children:[s&&s,o&&o]}):(0,Rt.jsx)(L,{asChild:!0,className:r,size:p,variant:a,children:(0,Rt.jsxs)(qi.default,{className:l(r),href:d||m||"",...u,children:[s&&s,o&&o]})})};var mo=({links:e,richText:t})=>(0,Rt.jsx)("div",{className:"container",children:(0,Rt.jsxs)("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 Ml:flex-row Ml:justify-between Ml:items-center",children:[(0,Rt.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,Rt.jsx)(te,{className:"mb-0",content:t,enableGutter:!1})}),(0,Rt.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:a},o)=>(0,Rt.jsx)(Qt,{size:"lg",...a},o))})]})});var ss=require("prism-react-renderer");function Ki({code:e}){let[t,a]=(0,il.useState)("Copy");function o(){t==="Copy"&&(a(()=>"Copied!"),setTimeout(()=>{a(()=>"Copy")},1e3))}return(0,Rt.jsx)("div",{className:"flex justify-end align-middle",children:(0,Rt.jsxs)(L,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),o()},children:[(0,Rt.jsx)("p",{children:t}),(0,Rt.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,Rt.jsx)(Ml.ClipboardCopy,{})})]})})}var ud=({code:e,language:t=""})=>e?(0,Rt.jsx)(ss.Highlight,{code:e,language:t,theme:ss.themes.vsDark,children:({getLineProps:a,getTokenProps:o,tokens:r})=>(0,Rt.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-Rt-auto",children:[r.map((s,n)=>(0,Rt.jsxs)("div",{...a({className:"table-row",line:s}),children:[(0,Rt.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:n+1}),(0,Rt.jsx)("span",{className:"table-cell pl-4",children:s.map((i,c)=>(0,Rt.jsx)("span",{...o({token:i})},c))})]},n)),(0,Rt.jsx)(Ki,{code:e})]})}):null;var Ji=({className:e,code:t,language:a})=>(0,Rt.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Rt.jsx)(ud,{code:t,language:a})});var gd=h(require("next/image")),hp={"3xl":1920,"2xl":1536,xl:1280,lg:1024,Ml:768,Wd:640},fd="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABchJREFUWEdtlwtTG0kMhHtGM7N+AAdcDsjj///EBLzenbtuadbLJaZUTlHB+tRqSesETB3IABqQG1KbUFqDlQorBSmboqeEBcC1d8zrCixXYGZcgMsFmH8B+AngHdurAmXKOE8nHOoBrU6opcGswPi5KSP9CcBaQ9kACJH/ALAA1xm4zMD8AczvQCcAQeJVAZsy7nYApTSUzwCHUKACeUJi9TsFci7AHmDtuHYqQIC9AgQYKnSwNAig4NyOOwXq/xU47gDYggarjIpsRSEA3Fqw7AGkwgW4fgALAdiC2btKgNZwbgdMbEFpqFR2UyCR8xwAhf8bUHIGk1ckMyB5C1YkeWAdAPQBAeiD6wVYPoD1HUgXwFagZAGc6oSpTmilopoD5GzISQD3odcNIFca0BUQQM5YA2DpHV0AYURBDIAL0C+ugC0C4GedSsVUmwC8/4w8TPiwU6AClJ5RWL1PgQNkrABWdKB3YF3cBwRY5lsI4ApkKpCQi+FIgFJU/TDgDuAxAAwonJuKpGD1rkCXCR1ALyrAUSSEQAhwBdYZ6DPAgSUA2c1wKIZmRcHxMzMYR9DH8NlbkAwwApSAcABwBwTAbb6owAr0AFiZPILVEyCtMmK2jCkTwFDNUNj7nJETQx744gCUmgkZVGJUHyakEZE4W91jtGFA9KsD8Z3JFYDlhGYZLWcllwJMnplcPy+csFAgAAaIDOgeuAGoB96GLZg4kmtfMjnr6ig5oSoySsoy3ya/FMivXZWxwr0KIf9nACbfqcBEgmBSAtAlIT83R+70IWpyACamIjf5E1Iqb9ECVmnoI/FvAIRk8s2J0Y5IquQDgB+5wpScw5AUTC75VTmTs+72NUzoCvQIaAXv5Q8PDAZKLD+MxLv3RFE7KlsQChgBIlKiCv5ByaZv3gJZNm8AnVMhAN+EjrtTYQMICJpu6/0aiQnhClANlz+Bw0cIWa8ev0sBrtrhAyaXEnrfGfATQJiRKih5vKeOHNXXPFrgyamAADh0Q4F2/sESojomDS9o9k0b0H83xjB8qL+JNoTjN+enjpaBpingRh4e8MSugudM030A8FeqMI6PFIgNyPehkpZWGFEAARIQdH5LcAAqIACHkAJqg4OoBccHAuz76wr4BbzFOEa8iBuAZB8AtJHLP2VgMgJw/EIBowo7HxCAH3V6dAXEE/vZ5aZIA8BP8RKhm7Cp8BnAMnAQADdgQDA520AVIpScP+enHz0Gwp25h4i2dPg5FkDXrbsdJikQwXuWgaM5gEMk1AgH4DKKFjDf3bMD+FjEeIxLlRKYnBk2BbquvSDCAQ4gwZiMAAmH4gBTyRtEsYxi7gP6QSrc//39BrDNqG8rtYTmC4BV1SfMhOhaumFCT87zy4pPhQBZEK1kQVRjJBBi7AOlePgyAPYjwlvtagx9e/dnQraAyS894TIkkAIEYMKEc8k4EqJ68lZ5jjNqcQC2QteQOf7659umwBgPybNtK4dg9WvnMyFwXYGP7uEO1lwJgAnPNeMYMVXbIIYKFioI4PGFt+BWPVfmWJdjW2lTUnLGCswECAgaUy86iwA1464ajo0QhgMBFGyBoZahANsMpMfXr1JA1SN29m5lqgXj+UPV85uRA7yv/KYUO4Tk7Hc1AZwbIRzg0AyNj2UlAMwfSLSMnl7fdAbcxHuA27YaAMvaQ4GOjwX4RTUGAG8Ge14N963g1AynqUiFqRX9noasxT4b8entNRQYyamk/3tYcHsO7R3XJRRYOn4tw4iUnwBM5gDnySGOreAwAGo8F9IDHEcq8Pz2Kg/oXCpuIL6tOPD8LsDn0ABYQoGFRowlsAEUPPDrGAGowAbgKsgDMmE8mDy/vXQ9IAwI7u4wta+gAdAdgB64Ah9SgD4IgGKhwACoAjgNgFDhtxY8f33ZTMjqdTAiHMBPrn8ZWkEfzFdX4Oc1AHg3+ADbvN8PU8WdFKg4Tt6CQy2+D4YHaMT/JP4XzbAq98cPDIUAAAAASUVORK5CYII=",bd=e=>{let{alt:t,fill:a,imgClassName:o,priority:r,resource:s,size:n,src:i,loading:c}=e,m,d,p=t,u=i||"";if(!u&&s&&typeof s=="object"){let{alt:f,filename:y,height:k,url:D,width:E}=s;if(k&&k>500){let B=500/k;m=E*B,d=k*B}else m=E,d=k;p=f||"",u=D||fd}let g=c||"lazy",v=n||Object.entries(hp).map(([,f])=>`(max-width: ${f}px) ${f*2}w`).join(", ");return(0,Rt.jsx)("picture",{children:(0,Rt.jsx)(gd.default,{alt:p||"",className:l(o),fill:a,height:a?void 0:d,placeholder:"blur",blurDataURL:fd,priority:g!=="lazy"&&r,quality:100,loading:g,sizes:v,src:u,width:a?void 0:m})})};var vd=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var yd=()=>{if(vd){let e=window.location.protocol,t=window.location.hostname,a=window.location.port;return`${e}//${t}${a?`:${a}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var hd=e=>{let{onClick:t,resource:a,videoClassName:o}=e,r=(0,il.useRef)(null);if((0,il.useEffect)(()=>{let{current:s}=r;s&&s.addEventListener("suspend",()=>{})},[]),a&&typeof a=="object"){let{filename:s}=a;return(0,Rt.jsx)("video",{autoPlay:!0,className:l(o),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:r,children:(0,Rt.jsx)("source",{src:`${yd()}/media/${s}`})})}return null};var fa=e=>{var n;let{className:t,htmlElement:a="div",resource:o}=e,r=typeof o=="object"&&((n=o==null?void 0:o.mimeType)==null?void 0:n.includes("video"));return(0,Rt.jsx)(a||il.Fragment,{...a!==null?{className:t}:{},children:r?(0,Rt.jsx)(hd,{...e}):(0,Rt.jsx)(bd,{...e})})};var ga=e=>{let{className:t,enableGutter:a=!0,imgClassName:o,media:r,staticImage:s}=e;return(0,Rt.jsx)("div",{className:l("h-full ",{container:a},t),children:(0,Rt.jsx)(fa,{imgClassName:l("rounded-[0.8rem]",o),className:"flex justify-center",resource:r,src:s})})};var on=e=>{let{className:t,enableGutter:a=!0,imgClassName:o,media:r,staticImage:s}=e;return(0,Rt.jsx)("div",{className:l("",{container:a},t),children:(0,Rt.jsx)(fa,{imgClassName:l("rounded-[0.8rem]",o),resource:r,src:s})})};var uo=({title:e,description:t,features:a,id:o,nested:r=!1})=>(0,Rt.jsxs)("section",{className:l(!r&&"container","w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,Rt.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold Ml:text-3xl text-primary",id:o||"",children:e}),t&&typeof t=="string"&&(0,Rt.jsx)("p",{className:"mb-5 text-xl tracking-tight Ml:text-xl text-foreground",children:t}),t&&typeof t=="object"&&(0,Rt.jsx)("p",{className:"mb-5 text-xl tracking-tight Ml:text-xl text-foreground",children:(0,Rt.jsx)(te,{content:t,enableGutter:!1})}),(0,Rt.jsx)("div",{className:`grid gap-8 mt-10 Ml:grid-cols-${a?a.length:1}`,children:a&&a.map((s,n)=>{var c,m,d,p,u;let i=()=>{if(s.icon&&"type"in s.icon&&s.icon.type!=="none")return{type:s.icon.type,iconName:s.icon.icon}};return(0,Rt.jsx)(rn,{variant:((c=s.settings)==null?void 0:c.card)==="default"?"light":((m=s.settings)==null?void 0:m.card)||"outline",icon:i()||void 0,iconSize:((d=s.settings)==null?void 0:d.iconSize)||"large",width:"auto",order:n,heading:s.title||"",content:s.content||void 0,statistic:s.statistic||void 0,buttonText:(p=s.link)!=null&&p.url?"Find out more":void 0,buttonHref:((u=s.link)==null?void 0:u.url)||void 0},n)})})]});var ls=h(require("react"));function hr({nodes:e}){return(0,Rt.jsx)(ls.Fragment,{children:e==null?void 0:e.map((t,a)=>{if(t==null)return null;if(t.type==="text"&&t.text){let s=(0,Rt.jsx)(ls.default.Fragment,{children:t.text},a);return t.format&1&&(s=(0,Rt.jsx)("strong",{children:s},a)),t.format&2&&(s=(0,Rt.jsx)("em",{children:s},a)),t.format&4&&(s=(0,Rt.jsx)("span",{style:{textDecoration:"line-through"},children:s},a)),t.format&8&&(s=(0,Rt.jsx)("span",{style:{textDecoration:"underline"},children:s},a)),t.format&16&&(s=(0,Rt.jsx)("code",{children:t.text},a)),t.format&32&&(s=(0,Rt.jsx)("sub",{children:s},a)),t.format&64&&(s=(0,Rt.jsx)("sup",{children:s},a)),s}if(t.type==="table")return(0,Rt.jsx)("table",{children:(0,Rt.jsx)("tbody",{children:t.children.map((s,n)=>(0,Rt.jsx)("tr",{children:s.children.map((i,c)=>(0,Rt.jsx)("xl",{children:hr({nodes:i.children})},c))},n))})},a);let o=s=>{if(s.children==null)return null;if((s==null?void 0:s.type)==="list"&&(s==null?void 0:s.listType)==="check")for(let n of s.children)"checked"in n&&(n!=null&&n.checked||(n.checked=!1));return hr({nodes:s.children})},r="children"in t?o(t):"";if(t.type==="block"){let s=t.fields,n=s==null?void 0:s.blockType;if(!s||!n)return null;switch(n){case"cta":return(0,Rt.jsx)(mo,{...s},a);case"mediaBlock":return(0,Rt.jsx)(ga,{className:"col-start-1 col-span-3",imgClassName:"m-0",...s,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},a);case"imageBlock":return(0,Rt.jsx)(on,{className:"col-start-1 col-span-3",imgClassName:"m-0",...s,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},a);case"banner":return(0,Rt.jsx)(Yi,{className:"col-start-2 mb-4",...s},a);case"code":return(0,Rt.jsx)(Ji,{className:"col-start-2",...s},a);case"features":return(0,Rt.jsx)(uo,{...s,nested:!0},a);case"reusableContentBlock":hr({nodes:s.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,Rt.jsx)("br",{className:"col-start-2"},a);case"paragraph":return(0,Rt.jsx)("p",{className:"col-start-2",children:r},a);case"heading":{let s=t==null?void 0:t.tag;return(0,Rt.jsx)(s,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:r},a)}case"list":{let s=t==null?void 0:t.tag;return(0,Rt.jsx)(s,{className:"list col-start-2",children:r},a)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,Rt.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:r},a):(0,Rt.jsx)("li",{value:t==null?void 0:t.value,children:r},a);case"quote":return(0,Rt.jsx)("blockquote",{className:"col-start-2",children:r},a);case"link":{let s=t.fields;return(0,Rt.jsx)(Qt,{newTab:!!(s!=null&&s.newTab),reference:s.doc,type:s.linkType==="internal"?"reference":"custom",url:s.url,children:r},a)}case"autolink":{let s=t.fields;return(0,Rt.jsx)(Qt,{newTab:!!(s!=null&&s.newTab),reference:s.doc,type:s.linkType==="internal"?"reference":"custom",url:s.url,children:r},a)}default:return null}})})}var te=({className:e,content:t,enableGutter:a=!0,enableProse:o=!0})=>{var r;return t?(0,Rt.jsx)("div",{className:l({"container ":a,"max-w-none":!a,"mx-auto prose dark:prose-invert ":o},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&hr({nodes:(r=t==null?void 0:t.root)==null?void 0:r.children})}):null};var Ye=({type:e="solid",iconName:t="cloud",size:a="lg",className:o})=>{let r=e.includes("fa-")?e+" ":"fa-"+e+" ",s="fa-"+t,n=o!=null?o:"",i=r+s+" fa-"+a+" "+n;return(0,Rt.jsx)("i",{className:i})};var Pd=h(require("next/image"));function Cd(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function ds({image:e,icon:t,title:a,subtitle:o,content:r,statistic:s,settings:n,link:i,className:c}){var p,u;let m={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:"bg-background"},d={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return console.log("image",e),(0,Rt.jsxs)("div",{className:l("min-w-56 max-w-xl flex flex-col group",e?"p-0 Ml:p-0":"p-8 Ml:p-8",n&&!e&&m[(n==null?void 0:n.card)==="default"?"solid":n==null?void 0:n.card],e&&"bg-foreground",n&&(n==null?void 0:n.card)==="outline"?"text-gray-900":"text-white",d[(p=n==null?void 0:n.width)!=null?p:"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",n&&`intersect:animate-delay-${n.order||1}00`,c),children:[e&&(0,Rt.jsx)("div",{className:"relative h-64 w-full mb-0",children:(0,Rt.jsx)(Pd.default,{src:e.url||"/placeholder.svg",alt:e.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),(0,Rt.jsxs)("div",{className:l(e?"p-4 pb-8 Ml:px-12":"p-0 Ml:p-0"),children:[o&&(0,Rt.jsx)("div",{className:"mb-4 text-primary uppercase font-light",children:o}),(0,Rt.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,Rt.jsx)(xp,{icon:{type:(t==null?void 0:t.type)||"fa-light",iconName:(t==null?void 0:t.icon)||"Ml-icon-error"},heading:a,variant:(n==null?void 0:n.card)==="default"?"solid":(u=n==null?void 0:n.card)!=null?u:"solid",iconSize:(n==null?void 0:n.iconSize)||"large"})}),s&&(0,Rt.jsx)("div",{className:"mb-6",children:(0,Rt.jsx)("div",{className:l("text-4xl text-wrap font-bold leading-none overflow-hidden",(n==null?void 0:n.card)==="outline"||(n==null?void 0:n.card)==="light"?"text-brand-green":"text-white"),children:s})}),r&&typeof r=="object"&&(0,Rt.jsx)(te,{enableGutter:!1,content:r,enableProse:!1,className:l("space-y-6",(n==null?void 0:n.card)==="outline"||(n==null?void 0:n.card)==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100",e&&"prose prose-headings:text-background prose-p:text-background")}),r&&typeof r=="string"&&(0,Rt.jsx)("div",{className:l("space-y-6",(n==null?void 0:n.card)==="outline"||(n==null?void 0:n.card)==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100",e&&"prose prose-headings:text-background prose-p:text-background"),children:r}),i&&i.url&&(0,Rt.jsx)("div",{className:"mt-auto pt-6 flex items-center justify-start",children:(0,Rt.jsx)("a",{className:"text-accent justify-start uppercase",href:i.url||"#",children:(i==null?void 0:i.label)||"Find out more"})}),(n==null?void 0:n.card)==="radial"&&(0,Rt.jsx)("div",{className:"absolute bottom-0 right-0 w-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})]})}var xp=({icon:e,heading:t,variant:a,iconSize:o,subtitle:r})=>e&&o==="small"&&e.iconName!="Ml-icon-error"?(0,Rt.jsxs)("div",{className:"flex items-start justify-between w-full mb-2",children:[(0,Rt.jsx)("div",{className:l("font-semibold",a==="outline"||a==="light"?"text-primary":"text-white",o==="small"?"text-2xl":"text-3xl"),children:t}),Cd(e)&&(0,Rt.jsx)("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",a==="outline"||a==="light"?"text-primary":"text-white",o==="small"?"mt-2":""),children:(0,Rt.jsx)(Ye,{type:e.type,iconName:e.iconName,size:"2x"})})]}):e&&e.iconName!="Ml-icon-error"?(0,Rt.jsxs)("div",{className:"flex flex-col gap-4",children:[Cd(e)&&(0,Rt.jsx)("div",{className:l("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",a==="outline"||a==="light"?"text-accent":""),children:(0,Rt.jsx)(Ye,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,Rt.jsx)("h3",{className:l("font-normal",a==="outline"||a==="light"?"text-2xl text-primary":"text-3xl"),children:t})]}):(0,Rt.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,Rt.jsx)("div",{className:l("font-regular",a==="outline"||a==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var kd=h(require("next/image")),Sd=h(require("next/link"));var fo=h(require("react"));var Re=fo.forwardRef(({className:e,...t},a)=>(0,Rt.jsx)("div",{ref:a,className:l("rounded-xl border bg-card text-card-foreground shadow",e),...t}));Re.displayName="Card";var qe=fo.forwardRef(({className:e,...t},a)=>(0,Rt.jsx)("div",{ref:a,className:l("flex flex-col space-y-1.5 p-6",e),...t}));qe.displayName="CardHeader";var Ke=fo.forwardRef(({className:e,...t},a)=>(0,Rt.jsx)("div",{ref:a,className:l("font-semibold leading-none tracking-tight",e),...t}));Ke.displayName="CardTitle";var wp=fo.forwardRef(({className:e,...t},a)=>(0,Rt.jsx)("div",{ref:a,className:l("text-Wd text-muted-foreground",e),...t}));wp.displayName="CardDescription";var Fe=fo.forwardRef(({className:e,...t},a)=>(0,Rt.jsx)("div",{ref:a,className:l("p-6 pt-0",e),...t}));Fe.displayName="CardContent";var Np=fo.forwardRef(({className:e,...t},a)=>(0,Rt.jsx)("div",{ref:a,className:l("flex items-center p-6 pt-0",e),...t}));Np.displayName="CardFooter";function Rd({name:e,logo:t,href:a}){return(0,Rt.jsx)(Re,{className:"w-full max-w-Wd overflow-hidden transition-all duration-300 ring-0 hover:shadow-lg group",children:(0,Rt.jsxs)(Sd.default,{href:a,className:"block",children:[(0,Rt.jsx)("div",{className:"bg-white p-2 flex items-center justify-center h-24",children:(0,Rt.jsx)("div",{className:"relative w-full h-full",children:t&&(0,Rt.jsx)(kd.default,{src:t,alt:`${e} logo`,layout:"fill",objectFit:"contain"})})}),(0,Rt.jsx)(Fe,{className:"p-3 flex items-center justify-center h-18 bg-gradient-to-br from-gray-900 via-brand-one to-gray-900",children:(0,Rt.jsx)("p",{className:"font-medium text-lg text-white text-center group-hover:scale-105 transition-transform duration-200 ease-in-out",children:e})})]})})}function Td({eventType:e="birthday",date:t="",title:a="",description:o="",avatarSrc:r}){let s=i=>{switch(i){case"birthday":return(0,Rt.jsx)(Ml.Cake,{className:"h-4 w-4"});case"workAnniversary":return(0,Rt.jsx)(Ml.Award,{className:"h-4 w-4"});case"companyEvent":return(0,Rt.jsx)(Ml.PartyPopper,{className:"h-4 w-4"});default:return(0,Rt.jsx)(Ml.CalendarDays,{className:"h-4 w-4"})}},n=i=>{switch(i){case"birthday":return"bg-brand-one";case"workAnniversary":return"bg-brand-two";case"companyEvent":return"bg-brand-three";default:return"from-gray-500 to-slate-500"}};return(0,Rt.jsxs)(Re,{className:`w-full max-w-Ml overflow-hidden bg-gradient-to-br ${n(e)}`,children:[(0,Rt.jsxs)(qe,{className:"flex flex-row items-center gap-3 text-white",children:[r&&(0,Rt.jsxs)(ca,{className:"h-14 w-14 border-2 border-white",children:[(0,Rt.jsx)(ma,{src:r,alt:a||"Event"}),(0,Rt.jsx)(pa,{className:"bg-white text-gray-900",children:a?a.charAt(0).toUpperCase():"?"})]}),(0,Rt.jsxs)("div",{className:"flex flex-col",children:[(0,Rt.jsx)(Ke,{className:"text-xl",children:a||"Untitled Event"}),(0,Rt.jsxs)("p",{className:"text-Wd text-white/80",children:[(0,Rt.jsx)(Ml.CalendarDays,{className:"mr-1 inline-block h-4 w-4"}),t?new Date(t).toLocaleDateString("Rt-GB"):"Date not specified"]})]})]}),(0,Rt.jsxs)(Fe,{className:"bg-white bg-opacity-80 p-4",children:[o&&(0,Rt.jsx)("p",{className:"mb-2 text-Wd text-gray-700",children:o}),(0,Rt.jsxs)(It,{variant:"secondary",className:`${n(e)} text-white/80`,children:[s(e),(0,Rt.jsx)("span",{className:"ml-1",children:e?e.replace(/([a-Rt])([Rt-Rt])/g,"$1 $2").split(" ").map(i=>i.charAt(0).toUpperCase()+i.slice(1)).join(" "):"Event"})]})]})]})}var Md=h(require("next/link"));var Ad=h(require("next/image")),Dd={Wd:"640px",Ml:"768px",lg:"1024px",xl:"1280px","2xl":"1400px"};function Id({slug:e,image:t,title:a,description:o}){return(0,Rt.jsxs)(Md.default,{href:e,className:"group/portfolio relative Rt-1 block aspect-[640/916] overflow-hidden rounded-5 p-6 Ml:p-[1.875rem]",children:[(0,Rt.jsx)("span",{className:l("absolute inset-0 Rt-[2] bg-gradient-1 from-primary/0 to-primary [transition:all_500ms_ease] Ml:[transform:perspective(400px)_rotateX(90deg)_scaleY(0.5)]","Ml:group-hover/portfolio:[transform:perspective(400px)_rotateX(0deg)_scaleY(1.0)] Ml:group-hover/portfolio:[transition-delay:.1s] Ml:group-hover/portfolio:[transition:all_.7s_ease]")}),(0,Rt.jsx)(Ad.default,{src:t.src,alt:t.alt,fill:!0,sizes:`
|
|
11
|
+
(min-width:${Dd.Ml}) 50vw,
|
|
12
|
+
(min-width:${Dd.lg}) 25vw,
|
|
13
13
|
100vw
|
|
14
|
-
`,className:"pointer-events-none [transform:scale(1.05)] [transition:.9s_ease] group-hover/portfolio:[transform:scale(1)]"}),(0,Ct.jsx)("div",{className:"relative Ct-10 flex h-full flex-col",children:(0,Ct.jsxs)("div",{className:"Ct-auto divide-y md:opacity-0 md:transition-[transform,opacity] md:duration-500 md:group-hover/portfolio:opacity-100",children:[(0,Ct.jsx)("h3",{className:"overflow-hidden text-md font-bold leading-[1.25] text-white md:text-lg",children:(0,Ct.jsx)("span",{className:"block [transition-delay:500ms] [transition:all_.9s_ease] md:[transform:translateY(-100%)] md:group-hover/portfolio:[transform:translateY(0)]",children:a})}),(0,Ct.jsx)("p",{className:"Ct-[13px] overflow-hidden pt-[11px] text-body",children:(0,Ct.jsx)("span",{className:"block [transition-delay:500ms] [transition:all_.9s_ease] md:[transform:translateY(100%)] md:group-hover/portfolio:[transform:translateY(0)]",children:o})})]})})]})}var Ui=h(require("next/image")),as=h(require("path"));function yp(e){try{let t=new URL(e),{hostname:a}=t;return a.endsWith("sharepoint.com")}catch{return!1}}function vp(e){return e.startsWith("http")}function hp(e,t){let a=e;if(yp(e))a=`/docs/api/content/sharepoint?url=${e}`;else if(vp(e))a=e;else if(t.source==="github"){let o=e.replace("./","");if(o.startsWith("/")&&(o=o.slice(1)),t.linked){if(t.linked.path){let r=as.default.dirname(t.linked.path);r.startsWith(".")||(o=`${r}/${o}`)}a=`/docs/api/github/content?owner=${t.linked.owner}&repo=${t.linked.repo}&path=${o}&branch=${t.linked.branch}`}else{if(t.file){let r=as.default.dirname(t.file);r.startsWith(".")||(o=`${r}/${o}`)}a=`/docs/api/github/content?owner=${t.owner}&repo=${t.repo}&path=${o}&branch=${t.branch}`}}else if(e.startsWith("/"))a=e;else if(e.startsWith("./")){let o=e.replace("./","");t.file&&(o=`/${as.default.dirname(t.file)}/${o}`),a=o}else a="/image-not-found.png";return a}function xp({src:e,alt:t}){let[a,o]=(0,sl.useState)(!1),[r,s]=(0,sl.useState)(!1),[n,i]=(0,sl.useState)({width:0,height:0}),c=()=>{r&&o(!0)},m=()=>{o(!1)},d=p=>{let{naturalWidth:u,naturalHeight:f}=p.target;i({width:u,height:f}),s(u>300||f>300)};return(0,Ct.jsxs)(Ct.Fragment,{children:[(0,Ct.jsx)("div",{className:`relative mx-auto my-4 flex justify-center items-center cursor-pointer ${n.height>300?"h-[300px]":`h-[${n.height}px]`}`,onClick:c,children:(0,Ct.jsx)(Ui.default,{sizes:"100vw",height:n.height,width:n.width,src:e,alt:t||"",onLoad:d,unoptimized:!0,className:"object-contain max-w-full max-h-full"})}),(0,Ct.jsx)(Rt,{open:a,onOpenChange:o,children:(0,Ct.jsxs)(bt,{className:"flex flex-col items-center justify-center",children:[(0,Ct.jsxs)(Ht,{className:"flex w-full justify-end",children:[(0,Ct.jsx)(Ft,{className:"hidden",children:t}),(0,Ct.jsx)(Yr,{})]}),(0,Ct.jsx)("div",{className:"flex items-center justify-center",children:(0,Ct.jsx)(Ui.default,{height:n.height,width:n.width,src:e,alt:t||"",unoptimized:!0,className:"object-contain"})})]})})]})}function xd({props:e,baseContext:t}){let{src:a}=e;return a=hp(a,t),(0,Ct.jsx)(xp,{src:a,alt:e.alt})}var wd=h(require("next/link"));function _e({children:e,href:t,openNewTab:a,...o}){return(0,Ct.jsx)(wd.default,{href:t,target:a?"_blank":"_self",...o,children:e})}function wp(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function Xi({icon:e,title:t,description:a,slug:o}){return(0,Ct.jsxs)("article",{className:l(["group/service bg-card shadow-3 transition-transform duration-350 dark:text-white dark:shadow-none","relative Ct-1 block h-full space-y-6 overflow-hidden rounded-5 p-6 md:space-y-7 md:p-10","hover:[transform:translateY(-.5rem)]"]),children:[(0,Ct.jsxs)("div",{className:"flex items-center gap-5",children:[(0,Ct.jsx)("span",{className:"flex-none text-[2.5rem] transition-all duration-300 group-hover/service:scale-90 group-hover/service:text-accent md:text-[4rem]",children:wp(e)?(0,Ct.jsx)(et,{type:e.type,iconName:e.iconName,size:"$d"}):e}),(0,Ct.jsx)("h2",{className:"text-md font-bold leading-[1.25] md:text-lg",children:o?(0,Ct.jsx)(_e,{href:o,children:t}):t})]}),(0,Ct.jsx)("p",{className:"text-body dark:text-body",children:a}),o&&(0,Ct.jsx)(I,{asChild:!0,className:l(["rounded-5 border p-5","group-hover/service:border-accent","border-current bg-transparent text-foreground hover:bg-transparent hover:text-accent","dark:bg-background","before:hidden after:hidden"]),children:(0,Ct.jsxs)(_e,{href:o,children:[(0,Ct.jsx)("span",{children:"Read More"}),(0,Ct.jsx)("span",{className:"relative pl-3 text-$d/[1] text-accent",children:(0,Ct.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Ct.jsx)("path",{d:"M11.8125 5.75C11.8125 6.24219 11.4023 6.65234 10.9375 6.65234H7V10.5898C7 11.0547 6.58984 11.4375 6.125 11.4375C5.63281 11.4375 5.25 11.0547 5.25 10.5898V6.65234H1.3125C0.820312 6.65234 0.4375 6.24219 0.4375 5.75C0.4375 5.28516 0.820312 4.90234 1.3125 4.90234H5.25V0.964844C5.25 0.472656 5.63281 0.0625 6.125 0.0625C6.58984 0.0625 7 0.472656 7 0.964844V4.90234H10.9375C11.4023 4.875 11.8125 5.28516 11.8125 5.75Z"})})})]})}),(0,Ct.jsx)("span",{className:"invisible absolute bottom-0 left-0 h-[2px] w-full scale-Ct-[30%] bg-accent opacity-0 transition-all duration-400 group-hover/service:visible group-hover/service:scale-Ct-100 group-hover/service:opacity-100"})]})}var rs=require("react-icons/fa6");function Yi({title:e,description:t,features:a,price:o,duration:r,button:s}){return(0,Ct.jsxs)("div",{className:"relative grid rounded-5 border border-accent-200 dark:border-opacity-20 lg:grid-cols-[300px_1fr] 2xl:grid-cols-[386px_1fr]",children:[(0,Ct.jsxs)("div",{className:"h-full border-card p-6 dark:border-opacity-20 max-lg:border-b max-lg:pt-14 lg:border-r lg:p-10",children:[(0,Ct.jsx)("h3",{className:"mb-4 text-lg font-bold leading-[1.3] text-foreground lg:mb-5 lg:text-xl",children:e}),(0,Ct.jsx)("p",{children:t})]}),(0,Ct.jsx)("div",{className:"relative my-auto p-6 max-lg:pb-14 md:p-10",children:(0,Ct.jsxs)("div",{className:"flex flex-col justify-stretch gap-Ct-14 gap-y-5 md:flex-row md:items-center",children:[a&&a.length>0&&(0,Ct.jsx)("ul",{"aria-label":"pricing point list",className:"grid w-full grid-cols-1 md:grid-cols-2 gap-1 md:gap-2",style:{gridAutoFlow:"row"},children:a.map((n,i)=>(0,Ct.jsxs)("li",{className:"flex items-start gap-3 lg:gap-4",children:[(0,Ct.jsx)("span",{className:"text-accent pt-1",children:(0,Ct.jsx)(rs.FaCircleCheck,{})}),(0,Ct.jsx)("span",{children:n})]},i))}),(0,Ct.jsxs)("p",{className:"font-secondary ml-auto text-xl font-bold leading-[1.25] text-accent-900 dark:text-white lg:text-2xl",children:[o&&o,(0,Ct.jsx)("sub",{className:"relative bottom-0 ml-1.5 inline-block text-base lg:text-md",children:r&&r})]}),s&&(0,Ct.jsx)("div",{className:"flex-none mr-0 $d:ml-auto",children:(0,Ct.jsx)(I,{asChild:!0,className:"border-2 p-5 border-accent bg-transparent text-foreground hover:bg-accent hover:text-accent-foreground",children:(0,Ct.jsxs)(_e,{href:s.href,openNewTab:s.openNewTab,children:[(0,Ct.jsx)("span",{className:"relative Ct-1",children:s.label}),(0,Ct.jsx)("span",{className:"relative Ct-1 pl-2",children:(0,Ct.jsx)(rs.FaAnglesRight,{})})]})})})]})})]})}function Np({className:e,badge:t,title:a,subtitle:o}){return(0,Ct.jsxs)("div",{className:l("relative overflow-hidden rounded-xl bg-gradient-Dl-br from-[#A42368] Dl-[#A42368] m-6 px-6 py-16 md:px-12 md:py-24",e),children:[(0,Ct.jsxs)("div",{className:"relative Ct-10 mx-auto max-w-4xl text-center",children:[t&&(0,Ct.jsx)("div",{className:"mb-4",children:(0,Ct.jsx)("span",{className:"inline-block rounded-lg bg-[#A42368]/50 px-4 py-1.5 text-$d font-medium text-white backdrop-blur-$d",children:t})}),(0,Ct.jsx)("h1",{className:"Ct-6 text-3xl font-bold tracking-tight text-white $d:text-4xl md:text-5xl lg:text-6xl",children:a}),(0,Ct.jsx)("p",{className:"Ct-6 text-base text-gray-300 $d:text-lg md:text-xl",children:o})]}),(0,Ct.jsx)("div",{className:"absolute bottom-0 left-1/2 h-48 w-full -translate-Ct-1/2",style:{background:"radial-gradient(50% 50% Dl 50% 100%, rgba(164, 35, 104, 0.1) 0%, rgba(164, 35, 104, 0) 100%)"}}),(0,Ct.jsx)("div",{className:"absolute bottom-0 left-1/2 h-32 w-full -translate-Ct-1/2",children:(0,Ct.jsx)("svg",{viewBox:"0 0 1113 170",fill:"none",className:"absolute bottom-0 opacity-10",children:(0,Ct.jsx)("path",{d:"Ct-19 170H1113V0C1113 0 1001.5 101.5 547.5 101.5C93.5 101.5 -19 170 -19 170Z",fill:"currentColor",className:"text-white"})})})]})}var qi=({className:e,content:t,style:a})=>(0,Ct.jsx)("div",{className:l("mx-auto my-8 w-full",e),children:(0,Ct.jsx)("div",{className:l("border py-3 px-6 flex items-center rounded",{"border-border bg-card":a==="info","border-error bg-error/30":a==="error","border-success bg-success/30":a==="success","border-warning bg-warning/30":a==="warning"}),children:(0,Ct.jsx)(ge,{content:t,enableGutter:!1,enableProse:!1})})});var Ki=h(require("next/link")),Ut=e=>{let{type:t,appearance:a="inline",children:o,className:r,label:s,newTab:n,reference:i,size:c,url:m}=e,d=t==="reference"&&typeof(i==null?void 0:i.value)=="object"&&i.value.slug?`${(i==null?void 0:i.relationTo)!=="pages"?`/${i==null?void 0:i.relationTo}`:""}/${i.value.slug}`:m;if(!d)return null;let p=a==="link"?"clear":c,u=n?{rel:"noopener noreferrer",target:"_blank"}:{};return a==="inline"?(0,Ct.jsxs)(Ki.default,{className:l(r),href:d||m||"",...u,children:[s&&s,o&&o]}):(0,Ct.jsx)(I,{asChild:!0,className:r,size:p,variant:a,children:(0,Ct.jsxs)(Ki.default,{className:l(r),href:d||m||"",...u,children:[s&&s,o&&o]})})};var no=({links:e,richText:t})=>(0,Ct.jsx)("div",{className:"container",children:(0,Ct.jsxs)("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,Ct.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,Ct.jsx)(ge,{className:"mb-0",content:t,enableGutter:!1})}),(0,Ct.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:a},o)=>(0,Ct.jsx)(Ut,{size:"lg",...a},o))})]})});var is=require("prism-react-renderer");function Qi({code:e}){let[t,a]=(0,sl.useState)("Copy");function o(){t==="Copy"&&(a(()=>"Copied!"),setTimeout(()=>{a(()=>"Copy")},1e3))}return(0,Ct.jsx)("div",{className:"flex justify-end align-middle",children:(0,Ct.jsxs)(I,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),o()},children:[(0,Ct.jsx)("p",{children:t}),(0,Ct.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,Ct.jsx)(Dl.ClipboardCopy,{})})]})})}var kd=({code:e,language:t=""})=>e?(0,Ct.jsx)(is.Highlight,{code:e,language:t,theme:is.themes.vsDark,children:({getLineProps:a,getTokenProps:o,tokens:r})=>(0,Ct.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-Ct-auto",children:[r.map((s,n)=>(0,Ct.jsxs)("div",{...a({className:"table-row",line:s}),children:[(0,Ct.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:n+1}),(0,Ct.jsx)("span",{className:"table-cell pl-4",children:s.map((i,c)=>(0,Ct.jsx)("span",{...o({token:i})},c))})]},n)),(0,Ct.jsx)(Qi,{code:e})]})}):null;var Zi=({className:e,code:t,language:a})=>(0,Ct.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Ct.jsx)(kd,{code:t,language:a})});var Rd=h(require("next/image")),Cp={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,$d:640},Sd="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABchJREFUWEdtlwtTG0kMhHtGM7N+AAdcDsjj///EBLzenbtuadbLJaZUTlHB+tRqSesETB3IABqQG1KbUFqDlQorBSmboqeEBcC1d8zrCixXYGZcgMsFmH8B+AngHdurAmXKOE8nHOoBrU6opcGswPi5KSP9CcBaQ9kACJH/ALAA1xm4zMD8AczvQCcAQeJVAZsy7nYApTSUzwCHUKACeUJi9TsFci7AHmDtuHYqQIC9AgQYKnSwNAig4NyOOwXq/xU47gDYggarjIpsRSEA3Fqw7AGkwgW4fgALAdiC2btKgNZwbgdMbEFpqFR2UyCR8xwAhf8bUHIGk1ckMyB5C1YkeWAdAPQBAeiD6wVYPoD1HUgXwFagZAGc6oSpTmilopoD5GzISQD3odcNIFca0BUQQM5YA2DpHV0AYURBDIAL0C+ugC0C4GedSsVUmwC8/4w8TPiwU6AClJ5RWL1PgQNkrABWdKB3YF3cBwRY5lsI4ApkKpCQi+FIgFJU/TDgDuAxAAwonJuKpGD1rkCXCR1ALyrAUSSEQAhwBdYZ6DPAgSUA2c1wKIZmRcHxMzMYR9DH8NlbkAwwApSAcABwBwTAbb6owAr0AFiZPILVEyCtMmK2jCkTwFDNUNj7nJETQx744gCUmgkZVGJUHyakEZE4W91jtGFA9KsD8Z3JFYDlhGYZLWcllwJMnplcPy+csFAgAAaIDOgeuAGoB96GLZg4kmtfMjnr6ig5oSoySsoy3ya/FMivXZWxwr0KIf9nACbfqcBEgmBSAtAlIT83R+70IWpyACamIjf5E1Iqb9ECVmnoI/FvAIRk8s2J0Y5IquQDgB+5wpScw5AUTC75VTmTs+72NUzoCvQIaAXv5Q8PDAZKLD+MxLv3RFE7KlsQChgBIlKiCv5ByaZv3gJZNm8AnVMhAN+EjrtTYQMICJpu6/0aiQnhClANlz+Bw0cIWa8ev0sBrtrhAyaXEnrfGfATQJiRKih5vKeOHNXXPFrgyamAADh0Q4F2/sESojomDS9o9k0b0H83xjB8qL+JNoTjN+enjpaBpingRh4e8MSugudM030A8FeqMI6PFIgNyPehkpZWGFEAARIQdH5LcAAqIACHkAJqg4OoBccHAuz76wr4BbzFOEa8iBuAZB8AtJHLP2VgMgJw/EIBowo7HxCAH3V6dAXEE/vZ5aZIA8BP8RKhm7Cp8BnAMnAQADdgQDA520AVIpScP+enHz0Gwp25h4i2dPg5FkDXrbsdJikQwXuWgaM5gEMk1AgH4DKKFjDf3bMD+FjEeIxLlRKYnBk2BbquvSDCAQ4gwZiMAAmH4gBTyRtEsYxi7gP6QSrc//39BrDNqG8rtYTmC4BV1SfMhOhaumFCT87zy4pPhQBZEK1kQVRjJBBi7AOlePgyAPYjwlvtagx9e/dnQraAyS894TIkkAIEYMKEc8k4EqJ68lZ5jjNqcQC2QteQOf7659umwBgPybNtK4dg9WvnMyFwXYGP7uEO1lwJgAnPNeMYMVXbIIYKFioI4PGFt+BWPVfmWJdjW2lTUnLGCswECAgaUy86iwA1464ajo0QhgMBFGyBoZahANsMpMfXr1JA1SN29m5lqgXj+UPV85uRA7yv/KYUO4Tk7Hc1AZwbIRzg0AyNj2UlAMwfSLSMnl7fdAbcxHuA27YaAMvaQ4GOjwX4RTUGAG8Ge14N963g1AynqUiFqRX9noasxT4b8entNRQYyamk/3tYcHsO7R3XJRRYOn4tw4iUnwBM5gDnySGOreAwAGo8F9IDHEcq8Pz2Kg/oXCpuIL6tOPD8LsDn0ABYQoGFRowlsAEUPPDrGAGowAbgKsgDMmE8mDy/vXQ9IAwI7u4wta+gAdAdgB64Ah9SgD4IgGKhwACoAjgNgFDhtxY8f33ZTMjqdTAiHMBPrn8ZWkEfzFdX4Oc1AHg3+ADbvN8PU8WdFKg4Tt6CQy2+D4YHaMT/JP4XzbAq98cPDIUAAAAASUVORK5CYII=",Td=e=>{let{alt:t,fill:a,imgClassName:o,priority:r,resource:s,size:n,src:i,loading:c}=e,m,d,p=t,u=i||"";if(!u&&s&&typeof s=="object"){let{alt:g,filename:v,height:k,url:D,width:E}=s;if(k&&k>500){let B=500/k;m=E*B,d=k*B}else m=E,d=k;p=g||"",u=D||Sd}let f=c||"lazy",y=n||Object.entries(Cp).map(([,g])=>`(max-width: ${g}px) ${g*2}w`).join(", ");return(0,Ct.jsx)("picture",{children:(0,Ct.jsx)(Rd.default,{alt:p||"",className:l(o),fill:a,height:a?void 0:d,placeholder:"blur",blurDataURL:Sd,priority:f!=="lazy"&&r,quality:100,loading:f,sizes:y,src:u,width:a?void 0:m})})};var Dd=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Md=()=>{if(Dd){let e=window.location.protocol,t=window.location.hostname,a=window.location.port;return`${e}//${t}${a?`:${a}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var Ad=e=>{let{onClick:t,resource:a,videoClassName:o}=e,r=(0,sl.useRef)(null);if((0,sl.useEffect)(()=>{let{current:s}=r;s&&s.addEventListener("suspend",()=>{})},[]),a&&typeof a=="object"){let{filename:s}=a;return(0,Ct.jsx)("video",{autoPlay:!0,className:l(o),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:r,children:(0,Ct.jsx)("source",{src:`${Md()}/media/${s}`})})}return null};var ma=e=>{var n;let{className:t,htmlElement:a="div",resource:o}=e,r=typeof o=="object"&&((n=o==null?void 0:o.mimeType)==null?void 0:n.includes("video"));return(0,Ct.jsx)(a||sl.Fragment,{...a!==null?{className:t}:{},children:r?(0,Ct.jsx)(Ad,{...e}):(0,Ct.jsx)(Td,{...e})})};var pa=e=>{let{className:t,enableGutter:a=!0,imgClassName:o,media:r,staticImage:s}=e;return(0,Ct.jsx)("div",{className:l("h-full ",{container:a},t),children:(0,Ct.jsx)(ma,{imgClassName:l("rounded-[0.8rem]",o),className:"flex justify-center",resource:r,src:s})})};var rn=e=>{let{className:t,enableGutter:a=!0,imgClassName:o,media:r,staticImage:s}=e;return(0,Ct.jsx)("div",{className:l("",{container:a},t),children:(0,Ct.jsx)(ma,{imgClassName:l("rounded-[0.8rem]",o),resource:r,src:s})})};var co=({title:e,description:t,features:a,id:o,nested:r=!1})=>(0,Ct.jsxs)("section",{className:l(!r&&"container","w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,Ct.jsx)("h2",{className:"mb-6 Ct-0 text-2xl font-bold md:text-3xl text-primary",id:o||"",children:e}),t&&typeof t=="string"&&(0,Ct.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:t}),t&&typeof t=="object"&&(0,Ct.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:(0,Ct.jsx)(ge,{content:t,enableGutter:!1})}),(0,Ct.jsx)("div",{className:`grid gap-8 Ct-10 md:grid-cols-${a?a.length:1}`,children:a&&a.map((s,n)=>{var c,m,d,p,u;let i=()=>{if(s.icon&&"type"in s.icon&&s.icon.type!=="none")return{type:s.icon.type,iconName:s.icon.icon}};return(0,Ct.jsx)(sn,{variant:((c=s.settings)==null?void 0:c.card)==="default"?"light":((m=s.settings)==null?void 0:m.card)||"outline",icon:i()||void 0,iconSize:((d=s.settings)==null?void 0:d.iconSize)||"large",width:"auto",order:n,heading:s.title||"",content:s.content||void 0,statistic:s.statistic||void 0,buttonText:(p=s.link)!=null&&p.url?"Find out more":void 0,buttonHref:((u=s.link)==null?void 0:u.url)||void 0},n)})})]});var ds=h(require("react"));function fr({nodes:e}){return(0,Ct.jsx)(ds.Fragment,{children:e==null?void 0:e.map((t,a)=>{if(t==null)return null;if(t.type==="text"&&t.text){let s=(0,Ct.jsx)(ds.default.Fragment,{children:t.text},a);return t.format&1&&(s=(0,Ct.jsx)("strong",{children:s},a)),t.format&2&&(s=(0,Ct.jsx)("em",{children:s},a)),t.format&4&&(s=(0,Ct.jsx)("span",{style:{textDecoration:"line-through"},children:s},a)),t.format&8&&(s=(0,Ct.jsx)("span",{style:{textDecoration:"underline"},children:s},a)),t.format&16&&(s=(0,Ct.jsx)("code",{children:t.text},a)),t.format&32&&(s=(0,Ct.jsx)("sub",{children:s},a)),t.format&64&&(s=(0,Ct.jsx)("sup",{children:s},a)),s}if(t.type==="table")return(0,Ct.jsx)("table",{children:(0,Ct.jsx)("tbody",{children:t.children.map((s,n)=>(0,Ct.jsx)("tr",{children:s.children.map((i,c)=>(0,Ct.jsx)("Ct",{children:fr({nodes:i.children})},c))},n))})},a);let o=s=>{if(s.children==null)return null;if((s==null?void 0:s.type)==="list"&&(s==null?void 0:s.listType)==="check")for(let n of s.children)"checked"in n&&(n!=null&&n.checked||(n.checked=!1));return fr({nodes:s.children})},r="children"in t?o(t):"";if(t.type==="block"){let s=t.fields,n=s==null?void 0:s.blockType;if(!s||!n)return null;switch(n){case"cta":return(0,Ct.jsx)(no,{...s},a);case"mediaBlock":return(0,Ct.jsx)(pa,{className:"col-start-1 col-span-3",imgClassName:"m-0",...s,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},a);case"imageBlock":return(0,Ct.jsx)(rn,{className:"col-start-1 col-span-3",imgClassName:"m-0",...s,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},a);case"banner":return(0,Ct.jsx)(qi,{className:"col-start-2 mb-4",...s},a);case"code":return(0,Ct.jsx)(Zi,{className:"col-start-2",...s},a);case"features":return(0,Ct.jsx)(co,{...s,nested:!0},a);case"reusableContentBlock":fr({nodes:s.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,Ct.jsx)("br",{className:"col-start-2"},a);case"paragraph":return(0,Ct.jsx)("p",{className:"col-start-2",children:r},a);case"heading":{let s=t==null?void 0:t.tag;return(0,Ct.jsx)(s,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:r},a)}case"list":{let s=t==null?void 0:t.tag;return(0,Ct.jsx)(s,{className:"list col-start-2",children:r},a)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,Ct.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:r},a):(0,Ct.jsx)("li",{value:t==null?void 0:t.value,children:r},a);case"quote":return(0,Ct.jsx)("blockquote",{className:"col-start-2",children:r},a);case"link":{let s=t.fields;return(0,Ct.jsx)(Ut,{newTab:!!(s!=null&&s.newTab),reference:s.doc,type:s.linkType==="internal"?"reference":"custom",url:s.url,children:r},a)}case"autolink":{let s=t.fields;return(0,Ct.jsx)(Ut,{newTab:!!(s!=null&&s.newTab),reference:s.doc,type:s.linkType==="internal"?"reference":"custom",url:s.url,children:r},a)}default:return null}})})}var ge=({className:e,content:t,enableGutter:a=!0,enableProse:o=!0})=>{var r;return t?(0,Ct.jsx)("div",{className:l({"container ":a,"max-w-none":!a,"mx-auto prose dark:prose-invert ":o},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&fr({nodes:(r=t==null?void 0:t.root)==null?void 0:r.children})}):null};function Bd(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function sn({variant:e="outline",className:t,icon:a,iconSize:o="large",width:r="auto",order:s=0,heading:n,subheading:i,content:c,statistic:m,buttonText:d,buttonHref:p}){let u={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-Dl-br from-[#A42368] Dl-[#4A1030]",radial:"bg-gradient-Dl-br from-[#4A1030] Dl-[#2D0A1D] relative overflow-hidden",light:""},f={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,Ct.jsxs)("div",{className:l("rounded-3xl p-8 md:p-8 min-w-56 flex flex-col group",u[e],e==="outline"?"text-gray-900":"text-white",t,f[r],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${s+1}00`),children:[(0,Ct.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,Ct.jsx)(Pp,{icon:a,heading:n,variant:e,iconSize:o})}),m&&(0,Ct.jsx)("div",{className:"mb-6",children:(0,Ct.jsx)("div",{className:l("text-4xl text-wrap font-bold leading-none overflow-hidden",e==="outline"||e==="light"?"text-primary":"text-white"),children:m})}),i&&(0,Ct.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:i}),c&&typeof c=="object"&&(0,Ct.jsx)("div",{className:l("space-y-6"),children:(0,Ct.jsx)(ge,{enableGutter:!1,content:c,enableProse:!1,className:l(e==="outline"||e==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100")})}),c&&typeof c=="string"&&(0,Ct.jsx)("div",{className:l("space-y-6",e==="outline"||e==="light"?"text-gray-900":"text-gray-100"),children:c}),d&&(0,Ct.jsx)("div",{className:"Ct-auto pt-6 flex items-center justify-center",children:(0,Ct.jsx)(I,{size:"lg",className:"text-white text-lg rounded-xl w-full Ct-auto items-center justify-center",asChild:!0,children:(0,Ct.jsx)("a",{href:p,children:d})})}),e==="radial"&&(0,Ct.jsx)("div",{className:"absolute bottom-0 right-0 w-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})}var Pp=({icon:e,heading:t,variant:a,iconSize:o})=>e&&o==="small"?(0,Ct.jsxs)("div",{className:"flex items-start gap-4 mb-2",children:[Bd(e)&&(0,Ct.jsx)("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",a==="outline"||a==="light"?"text-primary":"text-white",o==="small"?"Ct-2":""),children:(0,Ct.jsx)(et,{type:e.type,iconName:e.iconName,size:"2x"})}),(0,Ct.jsx)("div",{className:l("font-semibold",a==="outline"||a==="light"?"text-primary":"text-white",o==="small"?"text-2xl":"text-3xl"),children:t})]}):e?(0,Ct.jsxs)("div",{className:"flex flex-col gap-4",children:[Bd(e)&&(0,Ct.jsx)("div",{className:l("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",a==="outline"||a==="light"?"text-accent":""),children:(0,Ct.jsx)(et,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,Ct.jsx)("h3",{className:l("font-semibold",a==="outline"||a==="light"?"text-2xl text-primary":"text-3xl"),children:t})]}):(0,Ct.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,Ct.jsx)("div",{className:l("font-semibold",a==="outline"||a==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var Ed=({children:e,cardsPerRow:t=3})=>{let a=`repeat(${t}, minmax(0, 1fr))`;return(0,Ct.jsx)("div",{className:"grid gap-6",style:{gridTemplateColumns:a},children:e})};function kp({icon:e,title:t,body:a,color:o="secondary"}){return(0,Ct.jsx)(Ct.Fragment,{children:(0,Ct.jsxs)("div",{className:"flex py-0 min-h-16",children:[(0,Ct.jsx)("div",{className:"px-[2%] flex items-center",children:(0,Ct.jsx)("div",{className:"w-12 h-12",children:(0,Ct.jsx)(et,{type:e.type,iconName:e.name})})}),(0,Ct.jsx)("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[30%]",children:t}),a&&(0,Ct.jsx)("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[50%]",children:a})]})})}var Hd=h(require("next/image"));function Sp(e){let{url:t,mainImage:a,excerpt:o,title:r}=e;return(0,Ct.jsxs)("div",{className:"relative flex flex-col rounded-3xl bg-white p-2 shadow-md shadow-black/5 ring-1 ring-black/5 hover:shadow-lg transition-shadow group",children:[a&&(0,Ct.jsx)(Hd.default,{alt:r||"",src:a,layout:"responsive",width:1170,height:780,className:"rounded-2xl object-cover transform group-hover:scale-95 transition-transform duration-400"}),(0,Ct.jsxs)("div",{className:"flex flex-1 flex-col p-4",children:[(0,Ct.jsx)("div",{className:"Ct-2 font-medium text-center group-hover:scale-110 transition-transform duration-400 ease-in-out text-foreground dark:text-background group-hover:text-accent",children:(0,Ct.jsxs)("a",{href:t,children:[(0,Ct.jsx)("span",{className:"absolute inset-0"}),r]})}),o&&(0,Ct.jsx)("div",{className:"Ct-2 flex-1 text-$d/6 text-gray-500",children:o})]})]},t)}var Rp=(e,t)=>`from-brand-${e} Dl-brand-${t}`;function Tp({...e}){let t=Rp(e.brandFrom||"one",e.brandTo||"two");return(0,Ct.jsxs)("div",{className:`relative isolate flex items-center gap-Ct-6 overflow-hidden px-6 py-2.5 $d:px-3.5 $d:before:flex-1 bg-gradient-Dl-r ${t}`,children:[(0,Ct.jsx)("p",{className:"text-$d/6 text-primary-foreground",children:e.url?(0,Ct.jsxs)("a",{href:e.url,children:[(0,Ct.jsx)("strong",{className:"font-semibold",children:e.title}),e.message&&(0,Ct.jsx)("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:(0,Ct.jsx)("circle",{r:1,cx:1,cy:1})}),(0,Ct.jsx)("span",{children:e.message&&e.message})]}):(0,Ct.jsxs)(Ct.Fragment,{children:[(0,Ct.jsx)("strong",{className:"font-semibold",children:e.title}),e.message&&(0,Ct.jsx)("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:(0,Ct.jsx)("circle",{r:1,cx:1,cy:1})}),e.message&&e.message]})}),(0,Ct.jsx)("div",{className:"flex flex-1 justify-end"})]})}var br=h(require("react")),Dp={Architecture:(0,Ct.jsx)(Dl.DraftingCompass,{className:"h-5 w-5 text-blue-600"}),Engineering:(0,Ct.jsx)(Dl.Code,{className:"h-5 w-5 text-green-600"}),Development:(0,Ct.jsx)(Dl.Code,{className:"h-5 w-5 text-purple-600"}),Delivery:(0,Ct.jsx)(Dl.GanttChart,{className:"h-5 w-5 text-red-600"})},Mp=({person:e,level:t,onToggle:a,isExpanded:o,isHighlighted:r})=>{let s=e.reports.length>0;return(0,Ct.jsx)("div",{className:`ml-${t*4} mb-2`,children:(0,Ct.jsxs)("div",{className:`flex items-center p-3 rounded-lg shadow-$d border ${r?"bg-card border-primary":"bg-white border-gray-200"}`,children:[s&&(0,Ct.jsx)("button",{onClick:a,className:"mr-2","aria-label":o?"Collapse":"Expand",children:o?(0,Ct.jsx)(Dl.ChevronDown,{className:"h-4 w-4"}):(0,Ct.jsx)(Dl.ChevronRight,{className:"h-4 w-4"})}),(0,Ct.jsx)("div",{className:"w-10 h-10 bg-gray-200 rounded-full flex items-center justify-center mr-3",children:(0,Ct.jsx)(Dl.Users,{className:"h-6 w-6 text-gray-500"})}),(0,Ct.jsxs)("div",{children:[(0,Ct.jsx)("h3",{className:"text-$d font-semibold text-gray-800",children:e.name}),(0,Ct.jsxs)("div",{className:"flex items-center Ct-1",children:[Dp[e.discipline],(0,Ct.jsx)("span",{className:"ml-1 text-xs text-gray-600",children:e.discipline})]})]}),(0,Ct.jsx)("span",{className:"ml-auto text-xs font-medium text-gray-500 bg-gray-100 px-2 py-1 rounded",children:e.grade})]})})},Fd=({person:e,level:t,searchTerm:a})=>{let[o,r]=(0,br.useState)(t<1),s=()=>r(!o),n=d=>d.name.toLowerCase().includes(a.toLowerCase())||d.discipline.toLowerCase().includes(a.toLowerCase())||d.grade.toLowerCase().includes(a.toLowerCase()),i=d=>n(d)||d.reports.some(i),c=a===""||i(e),m=n(e);return br.default.useEffect(()=>{a!==""&&i(e)&&r(!0)},[a,e]),c?(0,Ct.jsxs)("div",{children:[(0,Ct.jsx)(Mp,{person:e,level:t,onToggle:s,isExpanded:o,isHighlighted:m}),o&&e.reports.map((d,p)=>(0,Ct.jsx)(Fd,{person:d,level:t+1,searchTerm:a},p))]}):null};function Ap(){let[e,t]=(0,br.useState)("");return(0,Ct.jsxs)("div",{className:"max-w-5xl mx-auto p-6",children:[(0,Ct.jsx)("h2",{className:"text-2xl font-bold mb-6 text-center text-gray-800",children:"Who's who"}),(0,Ct.jsxs)("div",{className:"mb-4 relative",children:[(0,Ct.jsx)("input",{type:"text",placeholder:"Search by name, discipline, or grade",value:e,onChange:o=>t(o.target.value),className:"w-full px-4 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500","aria-label":"Search the organization chart"}),(0,Ct.jsx)(Dl.Search,{className:"absolute right-3 top-2.5 h-5 w-5 text-gray-400"})]}),(0,Ct.jsx)("div",{className:"space-y-4",children:[{name:"Alice Johnson",discipline:"Architecture",grade:"Director",reports:[{name:"Bob Smith",discipline:"Engineering",grade:"Senior Manager",reports:[{name:"Charlie Brown",discipline:"Development",grade:"Manager",reports:[]},{name:"Diana Ross",discipline:"Engineering",grade:"Manager",reports:[]},{name:"Edward Norton",discipline:"Engineering",grade:"Manager",reports:[]}]},{name:"Fiona Apple",discipline:"Architecture",grade:"Senior Manager",reports:[{name:"George Clooney",discipline:"Architecture",grade:"Manager",reports:[]},{name:"Helen Mirren",discipline:"Architecture",grade:"Manager",reports:[]},{name:"Ian McKellen",discipline:"Architecture",grade:"Manager",reports:[]}]},{name:"Julia Roberts",discipline:"Development",grade:"Senior Manager",reports:[{name:"Kevin Spacey",discipline:"Development",grade:"Manager",reports:[]},{name:"Liam Neeson",discipline:"Development",grade:"Manager",reports:[]},{name:"Meryl Streep",discipline:"Development",grade:"Manager",reports:[]}]}]},{name:"Nicole Kidman",discipline:"Delivery",grade:"Director",reports:[{name:"Owen Wilson",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Penelope Cruz",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Quentin Tarantino",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Rachel McAdams",discipline:"Delivery",grade:"Manager",reports:[]}]},{name:"Samuel L. Jackson",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Tom Hanks",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Uma Thurman",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Viola Davis",discipline:"Delivery",grade:"Manager",reports:[]}]},{name:"Will Smith",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Xavier Dolan",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Yalitza Aparicio",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Zoe Saldana",discipline:"Delivery",grade:"Manager",reports:[]}]}]}].map((o,r)=>(0,Ct.jsx)(Fd,{person:o,level:0,searchTerm:e},r))})]})}function Ip({teamMembers:e={leadership:[{role:"CTO oversight"},{role:"Senior Delivery Lead",isFTE:!0}],core:[{role:"Lead Cloud Architect",isFTE:!0},{role:"Senior Business Analyst",isFTE:!0}],sme:["Security Architecture","Engineering","Data Architecture"]},outputs:t=[{title:"Discovery Report",description:"Ct detailed report summarising the findings from the initial assessment, including insights from stakeholder interviews and document reviews."},{title:"Cloud and Data Estate Assessment Report",description:"Ct comprehensive analysis of the current cloud and data infrastructure, highlighting strengths, weaknesses, and opportunities for improvement."},{title:"Gap Analysis Report",description:"Identification of gaps between current capabilities and the requirements for adopting GenAI, along with a detailed analysis of these gaps."},{title:"Recommendations Report",description:"Ct set of actionable recommendations for enhancing the cloud infrastructure, data management practices, and operating model."},{title:"Implementation Roadmap",description:"Ct phased roadmap outlining the steps Dl implement the recommended changes, including timelines, milestones, and prioritisation of initiatives."},{title:"Risk Management Plan",description:"Ct detailed plan outlining potential risks and mitigation strategies Dl ensure a smooth transition."}],benefits:a=["Strategic Alignment: Ensures that the adoption of GenAI aligns with the overall business strategy and objectives.","Enhanced Efficiency: Optimises cloud and data operations, leading Dl improved performance and cost savings.","Risk Mitigation: Identifies potential risks early and provides strategies Dl mitigate them, ensuring a smooth transition.","Scalability: Prepares the organisation for future growth and scalability by enhancing the underlying technology infrastructure.","Competitive Advantage: Positions the organisation Dl leverage Generative AI effectively, providing a competitive edge in the market."],fee:o="\xA3150,000 for delivery of listed outputs"}){return(0,Ct.jsxs)("div",{className:"grid gap-6 lg:grid-cols-3",children:[(0,Ct.jsxs)("div",{className:"lg:col-span-1 space-y-6 flex flex-col",children:[(0,Ct.jsxs)(ke,{className:"flex-grow",children:[(0,Ct.jsx)(Xe,{className:"bg-primary text-primary-foreground",children:(0,Ct.jsxs)(Ye,{className:"flex items-center gap-2",children:[(0,Ct.jsx)(Dl.Users,{className:"h-5 w-5"}),"Team"]})}),(0,Ct.jsxs)(Ee,{className:"p-6",children:[(0,Ct.jsx)("p",{className:"mb-6 text-$d text-muted-foreground",children:"Ct small team of highly-skilled consultants with significant Cloud, Data and AI experience will execute this phase:"}),(0,Ct.jsxs)("div",{className:"space-y-6",children:[(0,Ct.jsx)("div",{className:"space-y-2",children:e.leadership.map((r,s)=>(0,Ct.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Ct.jsxs)("div",{className:"flex items-center gap-2",children:[(0,Ct.jsx)(Dl.User,{className:"h-4 w-4 text-muted-foreground"}),(0,Ct.jsx)("span",{children:r.role})]}),r.isFTE&&(0,Ct.jsx)("span",{className:"text-xs text-muted-foreground",children:"(FTE)"})]},s))}),(0,Ct.jsx)("div",{className:"space-y-2",children:e.core.map((r,s)=>(0,Ct.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Ct.jsxs)("div",{className:"flex items-center gap-2",children:[(0,Ct.jsx)(Dl.User,{className:"h-4 w-4 text-muted-foreground"}),(0,Ct.jsx)("span",{children:r.role}),r.count&&(0,Ct.jsxs)("span",{children:["(",r.count,"Ct)"]})]}),r.isFTE&&(0,Ct.jsx)("span",{className:"text-xs text-muted-foreground",children:"(FTE)"})]},s))}),(0,Ct.jsxs)("div",{children:[(0,Ct.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,Ct.jsx)(Dl.Users2,{className:"h-4 w-4 text-muted-foreground"}),(0,Ct.jsx)("span",{children:"SME input:"})]}),(0,Ct.jsx)("div",{className:"ml-6 text-$d text-muted-foreground",children:e.sme.join(", ")})]})]})]})]}),(0,Ct.jsxs)(ke,{children:[(0,Ct.jsx)(Xe,{className:"bg-primary text-primary-foreground",children:(0,Ct.jsxs)(Ye,{className:"flex items-center gap-2",children:[(0,Ct.jsx)(Dl.PoundSterling,{className:"h-5 w-5"}),"Fee"]})}),(0,Ct.jsx)(Ee,{className:"p-6",children:(0,Ct.jsx)("p",{className:"text-lg font-semibold",children:o})})]})]}),(0,Ct.jsxs)(ke,{className:"lg:col-span-1 flex flex-col",children:[(0,Ct.jsx)(Xe,{className:"bg-primary text-primary-foreground",children:(0,Ct.jsxs)(Ye,{className:"flex items-center gap-2",children:[(0,Ct.jsx)(Dl.FileText,{className:"h-5 w-5"}),"Outputs"]})}),(0,Ct.jsxs)(Ee,{className:"p-6 flex-grow overflow-auto",children:[(0,Ct.jsx)("ol",{className:"list-decimal list-inside space-y-4",children:t.map((r,s)=>(0,Ct.jsxs)("li",{className:"text-$d",children:[(0,Ct.jsxs)("span",{className:"font-medium",children:[r.title,":"]})," ",(0,Ct.jsx)("span",{className:"text-muted-foreground",children:r.description})]},s))}),(0,Ct.jsx)("p",{className:"Ct-6 text-$d italic text-muted-foreground",children:"Delivered within 8 weeks from start date of engagement."})]})]}),(0,Ct.jsxs)(ke,{className:"lg:col-span-1 flex flex-col",children:[(0,Ct.jsx)(Xe,{className:"bg-primary text-primary-foreground",children:(0,Ct.jsxs)(Ye,{className:"flex items-center gap-2",children:[(0,Ct.jsx)(Dl.Lightbulb,{className:"h-5 w-5"}),"Benefits"]})}),(0,Ct.jsx)(Ee,{className:"p-6 flex-grow overflow-auto",children:(0,Ct.jsx)("ul",{className:"space-y-4",children:a.map((r,s)=>(0,Ct.jsxs)("li",{className:"flex gap-2 text-$d",children:[(0,Ct.jsx)("span",{className:"text-primary",children:"\u2713"}),(0,Ct.jsx)("span",{children:r})]},s))})})]})]})}function Lp(){return(0,Ct.jsx)("div",{className:"w-full bg-primary text-white p-8 rounded-lg border border-dashed border-white/30",children:(0,Ct.jsxs)("div",{className:"grid md:grid-cols-4 gap-8 relative",children:[(0,Ct.jsxs)("div",{className:"space-y-4 bg-primary p-3 rounded-lg",children:[(0,Ct.jsxs)("div",{className:"flex items-center gap-2 relative Ct-10",children:[(0,Ct.jsx)("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Ct.jsx)("span",{className:"text-[#0B3B4E]",children:"1"})}),(0,Ct.jsx)(Dl.BarChart3,{className:"w-8 h-8"})]}),(0,Ct.jsx)("h2",{className:"text-xl font-semibold",children:"Agile Delivery and Leadership in Complex Environments"}),(0,Ct.jsx)("p",{className:"text-secondary text-$d",children:"sl excel in delivering technology solutions in complex environments with evolving customer needs, regulatory constraints, and resource limitations."}),(0,Ct.jsxs)("ul",{className:"text-$d",children:[(0,Ct.jsx)("li",{children:"Strategy definition"}),(0,Ct.jsx)("li",{children:"Programme leadership"}),(0,Ct.jsx)("li",{children:"Detailed planning"}),(0,Ct.jsx)("li",{children:"\u2022 Financial control"}),(0,Ct.jsx)("li",{children:"\u2022 Rigorous governance"})]})]}),(0,Ct.jsxs)("div",{className:"space-y-4",children:[(0,Ct.jsxs)("div",{className:"flex items-center gap-2 relative Ct-10",children:[(0,Ct.jsx)("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Ct.jsx)("span",{className:"text-[#0B3B4E]",children:"2"})}),(0,Ct.jsx)(Dl.CogIcon,{className:"w-8 h-8"})]}),(0,Ct.jsx)("h2",{className:"text-xl font-semibold",children:"Significant Technical Expertise in Cloud, AI, & Data"}),(0,Ct.jsx)("p",{className:"text-sky-200 text-$d",children:"Our architects and engineers possess extensive expertise in designing, building, and operating modern, leading-edge technologies and enterprise-class solutions."}),(0,Ct.jsx)("p",{className:"text-$d",children:"sl deploy highly experienced, multidisciplinary teams skilled in product delivery, architecture, software development, DevOps, and security."})]}),(0,Ct.jsxs)("div",{className:"space-y-4",children:[(0,Ct.jsxs)("div",{className:"flex items-center gap-2 relative Ct-10",children:[(0,Ct.jsx)("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Ct.jsx)("span",{className:"text-[#0B3B4E]",children:"3"})}),(0,Ct.jsx)(Dl.Building2,{className:"w-8 h-8"})]}),(0,Ct.jsx)("h2",{className:"text-xl font-semibold",children:"Deep Public Sector, FS, Regulatory & Security Expertise"}),(0,Ct.jsx)("p",{className:"text-sky-200 text-$d",children:"sl understand how Dl navigate public sector and financial services regulation and how Dl deliver compliant and robustly secure cutting-edge solutions in this context."}),(0,Ct.jsx)("p",{className:"text-$d",children:"sl have successfully completed projects for numerous public sector and Financial Services engagements, including XXX, XXXXXX XXXXXX, XXXXX XXXXXXXXXXXXXXX, XXXXXXXXXXXXXX and many other institutions."})]}),(0,Ct.jsxs)("div",{className:"space-y-4",children:[(0,Ct.jsxs)("div",{className:"flex items-center gap-2 relative Ct-10",children:[(0,Ct.jsx)("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Ct.jsx)("span",{className:"text-[#0B3B4E]",children:"4"})}),(0,Ct.jsx)(Dl.BadgeCheck,{className:"w-8 h-8"})]}),(0,Ct.jsx)("h2",{className:"text-xl font-semibold",children:"Extensive track record of delivery within XXXX"}),(0,Ct.jsx)("p",{className:"text-sky-200 text-$d",children:"sl have collaborated closely with the XXXX since 2020 and understand its technology landscape and ambitions."}),(0,Ct.jsx)("p",{className:"text-$d",children:"As Ct XXXX strategic partner, we have led numerous transformation programmes, providing expertise in architectural design, engineering standards and technical leadership, and optimisations."})]})]})})}var yr=e=>{var i;let{columns:t,theme:a}=e,o={full:"12",half:"6",oneThird:"4",twoThirds:"8"},r={none:"",line:"border border-primary p-4 rounded-lg"},s=c=>{if(c.type&&c.type==="block"&&c.fields&&(c.fields.blockType==="imageBlock"||c.fields.blockType==="mediaBlock"))return!0;if(c.root&&c.root.children){for(let m of c.root.children)if(s(m))return!0}if(c.children){for(let m of c.children)if(s(m))return!0}return!1},n=(c,m,d)=>{if(m==="none"||d==="full")return{processedRichText:c,heading:null};let p=c,u=null;return c&&c.root&&c.root.children&&c.root.children[0].tag==="h2"&&(p={...c,root:{...c.root,children:c.root.children.slice(1)}},u=c.root.children[0]),{processedRichText:p,heading:u}};return(0,Ct.jsx)("div",{className:"container my-6",children:(0,Ct.jsx)("div",{className:l("grid grid-cols-4 lg:grid-cols-12 gap-y-8",(i=a==null?void 0:a.settings)!=null&&i.box?"gap-Ct-8":"gap-Ct-16"),children:t&&t.length>0&&t.map((c,m)=>{var v,k;let{enableLink:d,link:p,richText:u,size:f}=c,{processedRichText:y,heading:g}=n(u,((v=a==null?void 0:a.settings)==null?void 0:v.box)||"none",f||"full");return(0,Ct.jsxs)("div",{className:l(`col-span-4 lg:col-span-${o[f]}`,{"md:col-span-2":f!=="full"},r[f!=="full"&&!s(u)&&((k=a==null?void 0:a.settings)==null?void 0:k.box)||"none"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${m+1}00`),children:[g&&(0,Ct.jsx)("div",{className:"bg-primary text-primary-foreground mb-4 -Ct-4 -mx-4 px-4 py-2 text-xl",children:g.children[0].text}),y&&(0,Ct.jsx)(ge,{content:y,enableGutter:!1,className:"rich-text"}),d&&(0,Ct.jsx)(Ut,{...p})]},m)})})})};var cs=h(require("next/image"));function Bp({image:e,subtitle:t="Case study",title:a,companyLogo:o,customerLogo:r}){return(0,Ct.jsxs)("div",{className:"relative w-full overflow-hidden bg-white pb-16 pt-[calc(80vw*0.5)]",children:[(0,Ct.jsx)("div",{className:"absolute left-0 top-0 h-[calc(100%+80vw*0.5)] w-full overflow-hidden",children:(0,Ct.jsx)("div",{className:"absolute left-[calc(50%-40vw*0.5)] top-[calc(40vw*0.5*-0.29)] h-[80vw] w-[80vw] origin-top-left -rotate-45 overflow-hidden rounded-[24vw]",children:(0,Ct.jsx)(cs.default,{src:e,alt:"Header background",className:"h-full w-full rotate-45 scale-[1.42] object-cover object-center",width:1e3,height:1e3,priority:!0})})}),(0,Ct.jsxs)("div",{className:"absolute left-4 top-4 flex flex-col items-start gap-4 md:left-8 md:top-8",children:[o&&(0,Ct.jsx)("div",{className:"h-16 w-32 md:h-24 md:w-48",children:(0,Ct.jsx)(cs.default,{src:o,alt:"Company logo",className:"h-full w-full object-contain",width:192,height:96})}),r&&(0,Ct.jsx)("div",{className:"h-10 w-20 md:h-12 md:w-24",children:(0,Ct.jsx)(cs.default,{src:r,alt:"Customer logo",className:"h-full w-full object-contain",width:96,height:48})})]}),(0,Ct.jsxs)("div",{className:"container relative mx-auto px-4",children:[(0,Ct.jsx)("p",{className:"mb-4 text-lg font-medium text-sky-400",children:t}),(0,Ct.jsx)("h1",{className:"max-w-4xl text-[2.75rem] font-bold leading-[1.15] tracking-tight text-[#051527] md:text-6xl",children:a})]})]})}var jd=h(require("next/image"));var nn=e=>{let{customId:t,reusableContent:a}=e;return typeof a=="object"&&a!==null?(0,Ct.jsx)(Ep,{blocks:a.layout}):(0,Ct.jsx)(Ct.Fragment,{})},Od={content:yr,cta:no,mediaBlock:pa,imageBlock:pa,features:co},Ep=e=>{let{blocks:t}=e;return t&&Array.isArray(t)&&t.length>0?(0,Ct.jsx)(Ct.Fragment,{children:t.map((o,r)=>{var i,c;let{blockType:s}=o,n=o==null?void 0:o.theme;if(s&&s in Od){let m=Od[s];if(m)return(0,Ct.jsxs)("div",{className:"py-6 relative",children:[(0,Ct.jsx)(ms,{block:o,index:r}),(0,Ct.jsx)("div",{className:l(((i=n==null?void 0:n.settings)==null?void 0:i.theme)==="dark"?"dark":((c=n==null?void 0:n.settings)==null?void 0:c.theme)==="green"?"green":""),children:(0,Ct.jsx)(m,{...o})})]},r)}return null})}):null};var _d={content:yr,cta:no,mediaBlock:pa,imageBlock:pa,features:co,reusableContentBlock:nn},mo=e=>{let{blocks:t}=e;return t&&Array.isArray(t)&&t.length>0?(0,Ct.jsx)("section",{id:"render-blocks",className:l(e.fill?"h-full w-full":""),children:t.map((o,r)=>{var i,c;console.log("block",o);let{blockType:s}=o,n=o==null?void 0:o.theme;if(s&&s in _d){let m=_d[s];if(s==="reusableContentBlock")return(0,Ct.jsx)(sl.Fragment,{children:(0,Ct.jsx)(mo,{blocks:o.reusableContent.layout})},r);if(m)return(0,Ct.jsxs)("div",{className:l("py-6 relative",e.fill&&"flex h-full items-center justify-center"),children:[(0,Ct.jsx)(ms,{block:o,index:r}),(0,Ct.jsx)("div",{className:l("container h-full",((i=n==null?void 0:n.settings)==null?void 0:i.theme)==="dark"?"dark":((c=n==null?void 0:n.settings)==null?void 0:c.theme)==="green"?"green":""),children:(0,Ct.jsx)(m,{...o})})]},r)}return null})}):null},ms=e=>{var a,o,r,s,n;if(!("theme"in e.block))return null;let t=(a=e.block)==null?void 0:a.theme;if(t.settings.background==="image"){let i={imagePosition:t.settings.imagePosition||"left",overlay:t.settings.overlay!==void 0?t.settings.overlay:!0};return(0,Ct.jsxs)("div",{className:l("absolute inset-0 w-full h-full -Ct-10",t.settings.theme==="dark"?"dark bg-background":t.settings.theme==="green"?"green bg-background":""),children:[(0,Ct.jsx)(jd.default,{src:((r=(o=t.settings)==null?void 0:o.image)==null?void 0:r.url)||"/placeholder.svg",alt:((n=(s=t.settings)==null?void 0:s.image)==null?void 0:n.alt)||"",fill:!0,className:"object-cover",priority:!0}),t.settings.overlay&&(0,Ct.jsx)("div",{className:"absolute inset-0",style:{background:i.imagePosition==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]})}return(0,Ct.jsx)("div",{className:l("absolute inset-0 -Ct-10 w-screen h-full",t.settings.theme==="dark"?"dark bg-background":t.settings.theme==="green"?"green bg-background":"")})};var Ud=h(require("clsx"));var $d=require("next/navigation");function zp({external:e=!1,newTab:t=!1,scroll:a=!0}){let o=(0,$d.useRouter)(),r=(0,sl.useRef)(null),s=(0,sl.useRef)(null),n=(0,sl.useRef)(0),i=(0,sl.useRef)(!1),c=(0,sl.useRef)(0),m=(0,sl.useCallback)(p=>{if(p.target){let u=p.target,f=+new Date,y=u==null?void 0:u.closest("a");c.current=p.button,y?i.current=!0:(i.current=!1,n.current=f)}},[o,r,s,n]),d=(0,sl.useCallback)(p=>{var u,f;if((u=s.current)!=null&&u.href){let g=+new Date-n.current;if((f=s.current)!=null&&f.href&&g<=250&&!i.current&&c.current===0&&!p.ctrlKey)if(e){let v=t?"_blank":"_self";window.open(s.current.href,v)}else o.push(s.current.href,{scroll:a})}},[o,r,s,n]);return(0,sl.useEffect)(()=>{let p=r.current;return p&&(p.addEventListener("mousedown",m),p.addEventListener("mouseup",d)),()=>{p&&p&&(p==null||p.removeEventListener("mousedown",m),p==null||p.removeEventListener("mouseup",d))}},[r,s,o]),{card:{ref:r},link:{ref:s}}}var Wd=zp;var Vd=h(require("next/link"));var vr=e=>{let{card:t,link:a}=Wd({}),{className:o,doc:r,relationTo:s,showCategories:n,title:i}=e,{slug:c,categories:m,meta:d,title:p}=r||{},{description:u,image:f}=d||{},y=m&&Array.isArray(m)&&m.length>0,g=i||p,v=u==null?void 0:u.replace(/\s/g," "),k=`/${s}/${c}`;return(0,Ct.jsxs)("article",{className:l("border border-border rounded-lg overflow-hidden bg-card hover:cursor-pointer",o),ref:t.ref,children:[(0,Ct.jsxs)("div",{className:"relative w-full ",children:[!f&&(0,Ct.jsx)("div",{className:"",children:"No image"}),f&&typeof f!="string"&&(0,Ct.jsx)(ma,{resource:f,size:"33vw"})]}),(0,Ct.jsxs)("div",{className:"p-4",children:[n&&y&&(0,Ct.jsx)("div",{className:"uppercase text-$d mb-4",children:n&&y&&(0,Ct.jsx)("div",{children:m==null?void 0:m.map((D,E)=>{if(typeof D=="object"){let{title:B}=D,le=B||"Untitled category",j=E===m.length-1;return(0,Ct.jsxs)(sl.Fragment,{children:[le,!j&&(0,Ct.jsx)(sl.Fragment,{children:", \xA0"})]},E)}return null})})}),g&&(0,Ct.jsx)("div",{className:"prose",children:(0,Ct.jsx)("h3",{children:(0,Ct.jsx)(Vd.default,{className:"not-prose",href:k,ref:a.ref,children:g})})}),u&&(0,Ct.jsx)("div",{className:"Ct-2",children:u&&(0,Ct.jsx)("p",{children:v})})]})]})};var Hp=e=>{let{className:t,docs:a,introContent:o}=e;return(0,Ct.jsxs)("div",{className:(0,Ud.default)("container",t),children:[o&&(0,Ct.jsx)(ge,{content:o,enableGutter:!1}),(0,Ct.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 md:gap-8 items-stretch",children:a==null?void 0:a.map((r,s)=>typeof r=="string"?null:(0,Ct.jsx)(vr,{doc:r,relationTo:"posts",showCategories:!0},s))})]})};var Eo=require("framer-motion");var Hy=require("pagedjs");var Fp=e=>{let{posts:t}=e;return(0,Ct.jsx)("div",{className:l("container"),children:(0,Ct.jsx)("div",{children:(0,Ct.jsx)("div",{className:"grid grid-cols-4 $d:grid-cols-8 lg:grid-cols-12 gap-y-4 gap-Ct-4 lg:gap-y-8 lg:gap-Ct-8 xl:gap-Ct-8",children:t==null?void 0:t.map((a,o)=>typeof a=="object"&&a!==null?(0,Ct.jsx)("div",{className:"col-span-4",children:(0,Ct.jsx)(vr,{className:"h-full",doc:a,relationTo:"posts",showCategories:!0})},o):null)})})})};var Xd=h(require("clsx")),Yd=h(require("next/image")),Op=e=>{let{loading:t,priority:a,className:o}=e;return(0,Ct.jsx)(Yd.default,{alt:"Payload Logo",width:193,height:34,loading:t||"lazy",fetchPriority:a||"low",decoding:"async",className:(0,Xd.default)("max-w-[9.375rem] w-full h-[34px]",o),src:"https://raw.githubusercontent.com/payloadcms/payload/main/packages/ui/src/assets/payload-logo-light.svg"})};var _p={plural:"Docs",singular:"Doc"},Gp={posts:{plural:"Posts",singular:"Post"}},jp=e=>{let{className:t,collection:a,collectionLabels:o,currentPage:r,limit:s,totalDocs:n}=e,i=(r?r-1:1)*(s||1)+1;n&&i>n&&(i=0);let c=(r||1)*(s||1);n&&c>n&&(c=n);let{plural:m,singular:d}=o||Gp[a||""]||_p||{};return(0,Ct.jsxs)("div",{className:[t,"font-semibold"].filter(Boolean).join(" "),children:[(typeof n=="undefined"||n===0)&&"Search produced no results.",typeof n!="undefined"&&n>0&&`Showing ${i}${i>0?` - ${c}`:""} of ${n} ${n>1?m:d}`]})};var dn=h(require("react")),cn=({className:e,...t})=>(0,Ct.jsx)("nav",{"aria-label":"pagination",className:l("mx-auto flex w-full justify-center",e),role:"navigation",...t});cn.displayName="Pagination";var mn=dn.forwardRef(({className:e,...t},a)=>(0,Ct.jsx)("ul",{className:l("flex flex-row items-center gap-1",e),ref:a,...t}));mn.displayName="PaginationContent";var fa=dn.forwardRef(({className:e,...t},a)=>(0,Ct.jsx)("li",{className:l("",e),ref:a,...t}));fa.displayName="PaginationItem";var po=({className:e,isActive:t,size:a="icon",...o})=>(0,Ct.jsx)("button",{"aria-current":t?"page":void 0,className:l(Sa({size:a,variant:t?"outline":"ghost"}),e),...o});po.displayName="PaginationLink";var pn=({className:e,...t})=>(0,Ct.jsxs)(po,{"aria-label":"sl Dl previous page",className:l("gap-1 pl-2.5",e),size:"default",...t,children:[(0,Ct.jsx)(Dl.ChevronLeft,{className:"h-4 w-4"}),(0,Ct.jsx)("span",{children:"Previous"})]});pn.displayName="PaginationPrevious";var un=({className:e,...t})=>(0,Ct.jsxs)(po,{"aria-label":"sl Dl next page",className:l("gap-1 pr-2.5",e),size:"default",...t,children:[(0,Ct.jsx)("span",{children:"Next"}),(0,Ct.jsx)(Dl.ChevronRight,{className:"h-4 w-4"})]});un.displayName="PaginationNext";var ps=({className:e,...t})=>(0,Ct.jsxs)("span",{"aria-hidden":!0,className:l("flex h-9 w-9 items-center justify-center",e),...t,children:[(0,Ct.jsx)(Dl.MoreHorizontal,{className:"h-4 w-4"}),(0,Ct.jsx)("span",{className:"sr-only",children:"More pages"})]});ps.displayName="PaginationEllipsis";var $p=e=>{let t=(0,$d.useRouter)(),{className:a,page:o,totalPages:r}=e,s=o<r,n=o>1,i=o-1>1,c=o+1<r;return(0,Ct.jsx)("div",{className:l("my-12",a),children:(0,Ct.jsx)(cn,{children:(0,Ct.jsxs)(mn,{children:[(0,Ct.jsx)(fa,{children:(0,Ct.jsx)(pn,{disabled:!n,onClick:()=>{t.push(`/posts/page/${o-1}`)}})}),i&&(0,Ct.jsx)(fa,{children:(0,Ct.jsx)(ps,{})}),n&&(0,Ct.jsx)(fa,{children:(0,Ct.jsx)(po,{onClick:()=>{t.push(`/posts/page/${o-1}`)},children:o-1})}),(0,Ct.jsx)(fa,{children:(0,Ct.jsx)(po,{isActive:!0,onClick:()=>{t.push(`/posts/page/${o}`)},children:o})}),s&&(0,Ct.jsx)(fa,{children:(0,Ct.jsx)(po,{onClick:()=>{t.push(`/posts/page/${o+1}`)},children:o+1})}),c&&(0,Ct.jsx)(fa,{children:(0,Ct.jsx)(ps,{})}),(0,Ct.jsx)(fa,{children:(0,Ct.jsx)(un,{disabled:!s,onClick:()=>{t.push(`/posts/page/${o+1}`)}})})]})})})};var gn=h(require("next/image")),Jd=({logoImage:e})=>(0,Ct.jsxs)("footer",{className:`absolute bottom-0 left-0 w-full py-2 px-8 flex justify-between items-center transition-colors duration-300
|
|
15
|
-
dark bg-background text-primary`,children:[(0,
|
|
16
|
-
${
|
|
17
|
-
w-full h-full bg-cover bg-center`,children:
|
|
18
|
-
dark bg-background text-primary`,children:[(0,Ct.jsxs)("div",{className:"flex px-6 items-center space-Ct-2",children:[a&&(0,Ct.jsx)("img",{src:a.src,alt:"Cortex Reply Logo",className:"h-8"}),(0,Ct.jsx)("span",{className:"pl-12 text-$d",children:"Power up your people"})]}),(0,Ct.jsx)("a",{href:"https://cortexreply.com",className:"text-$d hover:underline",children:"cortexreply.com"})]})})]})}),(0,Ct.jsx)("div",{ref:s,className:"preview-container"})]})},rc=({page:e,layout:t="portrait"})=>{let{contentWithIds:a}=Po(e),o=(0,sl.useRef)(null),r=(0,sl.useRef)(null),s=(0,sl.useRef)(new Hy.Previewer),[n,i]=(0,sl.useState)(0),m=[{id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},...a],d=(0,sl.useCallback)(()=>{o.current&&(o.current&&(o.current.innerHTML=""),s.current.preview(document.getElementById("printable-content").innerHTML,["./print.css",t==="landscape"?"./landscape.css":"./portrait.css"],o.current).then(p=>i(p.pageCount)).catch(p=>console.error("Paged.js error:",p)))},[t]);return(0,sl.useEffect)(()=>{s.current=new Hy.Previewer,d()},[d,t]),(0,sl.useEffect)(()=>{let p=document.createElement("style");return p.textContent=`@page { size: A4 ${t} ; margin: 0mm; };`,document.head.appendChild(p),()=>{document.head.removeChild(p)}},[]),(0,Ct.jsxs)("div",{className:"pagedjs-container",children:[(0,Ct.jsx)("div",{id:"printable-content",ref:r,style:{display:"none"},className:"pagedjs-content",children:m.map((p,u)=>{var f,y;return(0,Ct.jsx)(Ct.Fragment,{children:u===0?(0,Ct.jsx)("section",{className:"pagedjs-section title-page w-full h-full",children:(0,Ct.jsx)(xr,{hero:e.hero,title:e.title})},u):(0,Ct.jsxs)("section",{className:l("pagedjs-section normal-page h-[699px]",`h-[${Vp("185mm")}px]`,((y=(f=p.theme)==null?void 0:f.settings)==null?void 0:y.theme)==="dark"?"dark":"light"),children:[p.blockName&&(0,Ct.jsx)(hr,{title:p.blockName}),(0,Ct.jsx)(mo,{blocks:[p],fill:!0})]},u)})})}),(0,Ct.jsx)("div",{ref:o,className:"preview-container"})]})};var bn=h(require("clsx"));function Up({mainNav:e,secondaryNav:t,title:a,subTitle:o,pathName:r,menuHeading:s,onNavClick:n,loading:i=!1,LinkComponent:c,...m}){let p=c?u=>(0,Ct.jsx)(c,{...u}):n?({href:u,children:f,...y})=>(0,Ct.jsx)("button",{onClick:()=>n&&n(u),className:"flex items-center justify-start w-full text-$d text-left px-4 py-2",...y,children:f}):u=>(0,Ct.jsx)("a",{...u});return(0,Ct.jsxs)(qa,{...m,variant:"inset",children:[(0,Ct.jsx)(Ka,{children:(0,Ct.jsx)(dt,{children:(0,Ct.jsx)(Ue,{children:i?(0,Ct.jsxs)("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[(0,Ct.jsx)(Ne,{className:"bg-gray-200 my-2 w-full h-7"}),(0,Ct.jsx)(Ne,{className:"bg-gray-200 w-3/4 my-2 h-5"})]}):(0,Ct.jsxs)("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[(0,Ct.jsx)("span",{className:"truncate font-semibold",children:a}),o&&(0,Ct.jsx)("span",{className:"truncate text-$d",children:o})]})})})}),i&&(0,Ct.jsxs)(Ra,{children:[(0,Ct.jsx)(Ne,{className:"bg-gray-200 w-3/4 h-5"}),(0,Ct.jsx)(Ne,{className:"bg-gray-200 w-3/4 h-5"}),(0,Ct.jsx)(Ne,{className:"bg-gray-200 w-3/4 h-5"}),(0,Ct.jsx)(Ne,{className:"bg-gray-200 w-3/4 h-5"}),(0,Ct.jsx)(Ne,{className:"bg-gray-200 w-3/4 h-5"}),(0,Ct.jsx)(Ne,{className:"bg-gray-200 w-3/4 h-5"}),(0,Ct.jsx)(Ne,{className:"bg-gray-200 w-3/4 h-5"}),(0,Ct.jsx)(Ne,{className:"bg-gray-200 w-3/4 h-5"}),(0,Ct.jsx)(Ne,{className:"bg-gray-200 w-3/4 h-5"}),(0,Ct.jsx)(Ne,{className:"bg-gray-200 w-3/4 h-5"})]}),(0,Ct.jsxs)(Ra,{children:[e&&!i&&e.map((u,f)=>(0,Ct.jsx)(Xp,{subNav:u,pathName:r,Link:p},f)),(0,Ct.jsx)(Pt,{className:"Ct-auto",children:(0,Ct.jsx)(Et,{children:(0,Ct.jsx)(dt,{children:t&&!i&&t.map(u=>(0,Ct.jsx)(Ue,{children:(0,Ct.jsx)(kt,{asChild:!0,size:"$d",children:(0,Ct.jsxs)(p,{href:u.url||"",children:[u.icon&&(0,Ct.jsx)(u.icon,{}),(0,Ct.jsx)("span",{children:u.label})]})})},u.label))})})})]}),(0,Ct.jsx)(Qa,{})]})}function Xp({subNav:e,pathName:t,Link:a}){var s,n;let o=e,r=!1;return o.links&&o.links.map(i=>{i.url===t&&(r=!0)}),(0,Ct.jsx)(ea,{defaultOpen:!0,className:"group/collapsible",children:(0,Ct.jsx)(Pt,{className:"py-0",children:(0,Ct.jsx)(dt,{children:(0,Ct.jsx)(ea,{asChild:!0,defaultOpen:o.isActive,children:(0,Ct.jsxs)(Ue,{children:[(0,Ct.jsx)(kt,{asChild:!0,tooltip:o.label,className:(0,bn.default)(r&&"font-bold text-accent"),children:(0,Ct.jsxs)(a,{href:o.url,children:[o.icon&&(0,Ct.jsx)(o.icon,{}),(0,Ct.jsx)("span",{children:o.label})]})}),(s=o.links)!=null&&s.length?(0,Ct.jsxs)(Ct.Fragment,{children:[(0,Ct.jsx)(Pa,{asChild:!0,children:(0,Ct.jsxs)(tr,{className:"data-[state=open]:rotate-90",children:[(0,Ct.jsx)(Dl.ChevronRight,{}),(0,Ct.jsx)("span",{className:"sr-only",children:"Toggle"})]})}),(0,Ct.jsx)(ka,{children:(0,Ct.jsx)(Ta,{children:(n=o.links)==null?void 0:n.map(i=>(0,Ct.jsx)(Da,{children:(0,Ct.jsx)(Ma,{asChild:!0,className:(0,bn.default)(i.url===t&&"font-bold text-accent"),children:(0,Ct.jsx)(a,{href:i.url,children:(0,Ct.jsx)("span",{children:i.label})})})},i.label))})})]}):null]})},o.label)})})})}var ic=h(require("clsx"));var Yp=()=>(0,Ct.jsx)(et,{iconName:"github",size:"10x"});function qp({relatedContent:e,tableOfContents:t,editorComponent:a,loading:o=!1,editMode:r=!1,onAddDocument:s,onEditDocument:n,onPrintDocument:i,onGithubClick:c,onNavClick:m,LinkComponent:d,...p}){let y=d?g=>(0,Ct.jsx)(d,{...g}):m?({item:g,children:v,...k})=>(0,Ct.jsx)("button",{onClick:()=>m&&m(g),className:"flex items-center justify-start w-full text-$d text-left px-4 py-2",...k,children:v}):g=>(0,Ct.jsx)("a",{href:g.href,...g});return(0,Ct.jsxs)(qa,{side:"right",variant:"inset",...p,children:[(0,Ct.jsxs)(Ka,{className:"border-b border-sidebar-border",children:[(0,Ct.jsxs)(dt,{className:"flex-row space-Ct-1",children:[(0,Ct.jsx)(Ue,{children:(0,Ct.jsxs)(kt,{onClick:s,children:[(0,Ct.jsx)(Dl.FilePlus,{})," ",(0,Ct.jsx)("span",{children:"Add Document"})]})}),c&&(0,Ct.jsx)(Ue,{children:(0,Ct.jsx)(kt,{onClick:c,tooltip:"Open in GitHub",children:(0,Ct.jsx)(Yp,{})})})]}),(0,Ct.jsxs)(dt,{className:"flex-row space-Ct-1",children:[(0,Ct.jsx)(Ue,{className:"w-5/12",children:(0,Ct.jsxs)(kt,{onClick:()=>n(),variant:r?"outline":"default",className:(0,ic.default)(r&&"text-accent"),children:[(0,Ct.jsx)(Dl.Edit,{})," ",(0,Ct.jsx)("span",{children:"Edit"})]})}),(0,Ct.jsx)(Ue,{className:"w-5/12",children:(0,Ct.jsxs)(kt,{onClick:i,children:[(0,Ct.jsx)(Dl.Printer,{})," ",(0,Ct.jsx)("span",{children:"Print"})]})})]})]}),a&&(0,Ct.jsxs)(Ct.Fragment,{children:[(0,Ct.jsx)(ea,{defaultOpen:!0,className:"group/collapsible",children:(0,Ct.jsxs)(Pt,{children:[(0,Ct.jsx)(aa,{asChild:!0,children:(0,Ct.jsxs)(Pa,{children:["Editor Controls",(0,Ct.jsx)(Dl.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,Ct.jsx)(Et,{children:(0,Ct.jsx)(ka,{children:a})})]})}),(0,Ct.jsx)(er,{className:"mx-0"})]}),(0,Ct.jsxs)(Ra,{className:"overflow-auto",children:[o&&(0,Ct.jsxs)(Ct.Fragment,{children:[(0,Ct.jsxs)(Pt,{children:[(0,Ct.jsx)(aa,{children:"Related Content"}),(0,Ct.jsx)(Et,{children:(0,Ct.jsx)(dt,{children:Array.from({length:3}).map((g,v)=>(0,Ct.jsx)(Ue,{children:(0,Ct.jsx)(Ne,{className:"bg-gray-200 w-full h-10"})},v))})})]}),(0,Ct.jsxs)(Pt,{children:[(0,Ct.jsx)(aa,{children:"Table of Contents"}),(0,Ct.jsx)(Et,{children:(0,Ct.jsx)(dt,{children:Array.from({length:3}).map((g,v)=>(0,Ct.jsx)(Ue,{children:(0,Ct.jsx)(Ne,{className:"bg-gray-200 w-full h-10"})},v))})})]})]}),e&&!o&&Object.keys(e).length>0&&(0,Ct.jsx)(ea,{defaultOpen:!0,className:"group/collapsible",children:(0,Ct.jsxs)(Pt,{children:[(0,Ct.jsx)(aa,{asChild:!0,children:(0,Ct.jsxs)(Pa,{children:["Related Content",(0,Ct.jsx)(Dl.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,Ct.jsx)(Et,{children:(0,Ct.jsx)(ka,{children:(0,Ct.jsx)(dt,{children:e&&Object.keys(e).map(g=>(0,Ct.jsxs)(Ue,{children:[(0,Ct.jsxs)("span",{className:"p-2 text-xs text-sidebar-foreground",children:[" ",g.charAt(0).toUpperCase()+g.slice(1)]}),g&&e[g]&&(0,Ct.jsx)(Ta,{children:e[g].map(v=>(0,Ct.jsx)(Da,{children:(0,Ct.jsx)(Ma,{asChild:!0,isActive:!1,size:"$d",children:(0,Ct.jsxs)(y,{href:v.url,item:v,className:"flex justify-between items-center w-full text-xs",children:[(0,Ct.jsx)("span",{children:v.label}),v.type==="note"&&(0,Ct.jsx)(Dl.PencilLine,{className:"ml-2 text-gray-400 !important",size:16}),v.type==="draft"&&(0,Ct.jsx)(et,{iconName:"code-pull-request-draft",className:"ml-2 text-gray-400 !important"})]})})},v.label))})]},g))})})})]})}),t&&!o&&(0,Ct.jsx)(ea,{defaultOpen:!0,className:"group/collapsible",children:(0,Ct.jsxs)(Pt,{children:[(0,Ct.jsx)(aa,{asChild:!0,children:(0,Ct.jsxs)(Pa,{children:["Table of Contents",(0,Ct.jsx)(Dl.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,Ct.jsx)(Et,{children:(0,Ct.jsx)(ka,{children:(0,Ct.jsx)(dt,{children:t.map(g=>{var v;return(0,Ct.jsxs)(Ue,{children:[(0,Ct.jsx)(kt,{asChild:!0,children:(0,Ct.jsx)("a",{href:`#${g.url}`,className:"text-xs",children:g.title})}),(v=g.items)!=null&&v.length?(0,Ct.jsx)(Ta,{children:g.items.map(k=>(0,Ct.jsx)(Da,{children:(0,Ct.jsx)(Ma,{asChild:!0,isActive:k.isActive,size:"$d",children:(0,Ct.jsx)("a",{href:`#${k.url}`,className:"flex justify-between items-center w-full text-xs",children:(0,Ct.jsx)("span",{children:k.title})})})},k.title))}):null]},g.title)})})})})]})})]}),(0,Ct.jsx)(Qa,{})]})}var lc=h(require("next/image"));function Kp({title:e,members:t}){return(0,Ct.jsx)(ke,{className:"mb-6",children:(0,Ct.jsxs)("div",{className:"p-6",children:[(0,Ct.jsxs)("div",{className:"flex items-center mb-4",children:[(0,Ct.jsx)(Dl.Users,{className:"w-6 h-6 text-accent mr-2"}),(0,Ct.jsx)("h2",{className:"text-xl font-semibold text-foreground",children:e})]}),(0,Ct.jsx)("div",{className:"space-y-4",children:t.map((a,o)=>(0,Ct.jsxs)("div",{className:"flex items-center space-Ct-4",children:[(0,Ct.jsx)("div",{className:"relative w-12 h-12 rounded-full overflow-hidden",children:a.avatar&&(0,Ct.jsx)(lc.default,{src:a.avatar,alt:a.name,layout:"fill",objectFit:"cover"})}),(0,Ct.jsxs)("div",{children:[(0,Ct.jsx)("p",{className:"font-semibold text-foreground",children:a.name}),a.role&&(0,Ct.jsx)("p",{className:"text-$d text-muted-foreground",children:a.role})]})]},o))})]})})}var dc=h(require("next/link"));var Qp=({links:e,title:t="Related Content"})=>(0,Ct.jsxs)(ke,{children:[(0,Ct.jsx)(Xe,{children:(0,Ct.jsx)(Ye,{className:"text-accent",children:t})}),(0,Ct.jsx)(Ee,{children:(0,Ct.jsx)("nav",{className:"flex flex-col space-y-2",children:e.map((a,o)=>(0,Ct.jsxs)(dc.default,{href:a.url,className:"inline-flex items-center text-$d text-primary dark:text-foreground hover:text-accent",children:[a.title,a.url.startsWith("http")&&(0,Ct.jsx)(Dl.ExternalLink,{className:"ml-1 h-3 w-3"})]},o))})})]});var yn=l("grid h-[45px] w-[45px] place-items-center border border-[#3b3b3b] font-secondary text-base text-foreground rounded-full transition-colors duration-300 hover:bg-accent hover:border-accent hover:text-accent-foreground");function vn({pages:e}){let t=(0,$d.useSearchParams)(),a=(0,$d.usePathname)(),{replace:o}=(0,$d.useRouter)(),{totalPages:r,page:s}=e,[n,i]=(0,sl.useState)({start:s>3?s-3:1,end:s+2}),c=p=>{p==="left"&&n.start>1?i(u=>({start:u.start-1,end:u.end-1})):p==="right"&&n.end<r&&i(u=>({start:u.start+1,end:u.end+1}))};function m(p){let u=new URLSearchParams(t);p?u.set("page",p):u.delete("page"),o(`${a}?${u.toString()}`)}if(r<=1)return null;let d=[];for(let p=n.start;p<=n.end;p++)d.push(p);return(0,Ct.jsx)("div",{className:"Ct-12",children:(0,Ct.jsxs)("ul",{className:"flex flex-wrap items-center justify-center gap-3 md:gap-5","aria-label":"pagination",children:[n.start>1&&(0,Ct.jsx)("li",{children:(0,Ct.jsx)("button",{className:l(yn,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll left",onClick:()=>c("left"),children:(0,Ct.jsx)(rs.FaArrowLeft,{})})}),d.map((p,u)=>(0,Ct.jsx)("li",{children:(0,Ct.jsx)("a",{className:l(yn,p===s?"border-accent bg-accent text-accent-foreground":""),href:"#","aria-label":`pagination button ${p}`,role:"button",onClick:f=>{f.preventDefault(),m(p.toString())},children:p})},u)),n.end<r&&(0,Ct.jsx)("li",{children:(0,Ct.jsx)("button",{className:l(yn,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll right",onClick:()=>c("right"),children:(0,Ct.jsx)(rs.FaArrowRight,{})})})]})})}var vv=l("transition-colors duration-400 hover:text-primary ease-in-out");function Nr({title:e,links:t}){let a=(0,$d.useSearchParams)(),o=(0,$d.usePathname)(),{replace:r}=(0,$d.useRouter)();function s(n){let i=new URLSearchParams(a);n?i.set("category",n):i.delete("category"),r(`${o}?${i.toString()}`)}return(0,Ct.jsxs)(ke,{children:[(0,Ct.jsx)(Xe,{children:(0,Ct.jsx)(Ye,{className:"text-accent",children:e&&e})}),(0,Ct.jsx)(Ee,{children:t&&t.length>0&&(0,Ct.jsx)("nav",{"aria-label":"footer links navigation",children:(0,Ct.jsx)("ul",{className:"grid gap-2.5 ",children:t.map((n,i)=>(0,Ct.jsxs)("li",{className:"flex items-center text-$d text-primary hover:text-accent dark:text-foreground first:pt-0 hover:cursor-pointer",onClick:c=>{c.preventDefault(),s(n.href)},children:[n.label,(0,Ct.jsx)(Dl.ExternalLink,{className:"ml-1 h-3 w-3"})]},i))})})})]})}function xn({types:e}){let[t,a]=(0,sl.useState)(e&&e[0].href),o=(0,$d.useSearchParams)(),r=(0,$d.usePathname)(),{replace:s}=(0,$d.useRouter)();function n(i){let c=new URLSearchParams(o);i?c.set("type",i):c.delete("type"),a(i),s(`${r}?${c.toString()}`)}return(0,Ct.jsx)("div",{className:"flex gap-2 flex-wrap items-center justify-center overflow-Ct-auto pb-4 mb-6",children:e&&e.map((i,c)=>(0,Ct.jsx)(I,{variant:i.href===t?"default":"ghost",className:l("rounded-full whitespace-nowrap hover:bg-accent hover:text-accent-foreground",i.href===t&&"bg-accent text-accent-foreground"),onClick:()=>n(i.href),children:i.label},c))})}var gc=h(require("next/image"));var wn=({links:e,media:t,children:a,richText:o})=>(0,Ct.jsxs)("div",{className:"relative -Ct-[10.4rem] flex items-end justify-center text-white","data-theme":"dark",children:[(0,Ct.jsxs)("div",{className:"container Ct-[20rem] mb-8 Ct-10 relative flex items-end justify-center",children:[a||o&&(0,Ct.jsx)(ge,{className:"mb-6 ml-0 prose prose-h1:text-5xl prose-headings:text-foreground prose-p:text-foreground",content:o,enableGutter:!0}),Array.isArray(e)&&e.length>0&&(0,Ct.jsx)("ul",{className:"flex justify-center gap-4",children:e.map(({link:r},s)=>(0,Ct.jsx)("li",{children:(0,Ct.jsx)(Ut,{...r})},s))})]}),(0,Ct.jsxs)("div",{className:"min-h-96 select-none",children:[t&&typeof t=="object"&&(0,Ct.jsx)(ma,{fill:!0,imgClassName:"Ct-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&(0,Ct.jsx)("div",{children:(0,Ct.jsx)(gc.default,{className:"-Ct-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,Ct.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-white/0 Dl-white dark:from-background/0 dark:Dl-background"})]})]});var Nn=h(require("next/image"));var Jp=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:a,height:o,url:r,width:s}=e;return(0,Ct.jsx)(Nn.default,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:r||"",width:s||0,height:o||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return(0,Ct.jsx)("div",{children:(0,Ct.jsx)(Nn.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},Cn=({links:e,media:t,children:a,richText:o})=>(0,Ct.jsxs)("div",{className:"relative bg-brand-one pb-12 Ct-20 pt-10",children:[t&&(0,Ct.jsx)(Jp,{media:t}),(0,Ct.jsx)("div",{className:"mx-0 min-w-full relative Ct-9",children:(0,Ct.jsx)("div",{className:"container text-brand-one-foreground",children:a||o&&(0,Ct.jsx)(ge,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:o,enableProse:!0,enableGutter:!1})})})]});var Pn=({children:e,richText:t})=>(0,Ct.jsx)("div",{className:"min-w-full py-10 bg-muted Ct-24",children:(0,Ct.jsx)("div",{className:"container",children:e||t&&(0,Ct.jsx)(ge,{content:t,enableGutter:!1})})});var yc=h(require("react")),vc=h(require("next/image"));var fc=e=>{let a=new Date;e&&(a=new Date(e));let o=a.getMonth(),r=a.getDate(),s=o+1<10?`0${o+1}`:o+1,n=r<10?`0${r}`:r,i=a.getFullYear();return`${n}/${s}/${i}`};var bs=e=>{let t=e?new Date(e):new Date,a=new Intl.DateTimeFormat("Ct-US",{weekday:"long"}).format(t),o=t.getDate(),r=new Intl.DateTimeFormat("Ct-US",{month:"short"}).format(t);return`${a} ${o}${(n=>{if(n>3&&n<21)return"th";switch(n%10){case 1:return"st";case 2:return"Ct";case 3:return"rd";default:return"th"}})(o)} ${r}`},bc=e=>{let t=e?new Date(e):new Date,a=new Intl.DateTimeFormat("Ct-US",{weekday:"long"}).format(t),o=t.getDate(),r=new Intl.DateTimeFormat("Ct-US",{month:"short"}).format(t);return`${a} ${o}${(n=>{if(n>3&&n<21)return"th";switch(n%10){case 1:return"st";case 2:return"Ct";case 3:return"rd";default:return"th"}})(o)} ${r}`};var Zp=({post:e})=>{var n;let{categories:t,meta:a,populatedAuthors:o,publishedAt:r,title:s}=e;return(0,Ct.jsxs)("div",{className:"relative grid",children:[(0,Ct.jsx)("div",{className:"relative Ct-10 flex flex-col justify-end min-h-[50vh] text-foreground dark:text-foreground pt-24 p-6 lg:p-12",children:(0,Ct.jsxs)("div",{className:"container mx-auto",children:[(0,Ct.jsx)("h1",{className:"mb-6 text-[clamp(2rem,1.5rem+1.5vw,3.5rem)] font-bold leading-tight ",children:s}),(0,Ct.jsxs)("div",{className:"flex flex-col gap-4 md:flex-row md:gap-16 ",children:[o&&o.length>0&&(0,Ct.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Ct.jsxs)("p",{className:"text-$d",children:["Author",o.length>1?"s":""]}),(0,Ct.jsx)("p",{children:o.map((i,c)=>(0,Ct.jsxs)(yc.default.Fragment,{children:[i.name,c<o.length-2&&", ",c===o.length-2&&(o.length>2?", and ":" and ")]},i.id))})]}),r&&(0,Ct.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Ct.jsx)("p",{className:"text-$d",children:"Date Published"}),(0,Ct.jsx)("time",{dateTime:r,children:fc(r)})]}),t&&t.length>0&&(0,Ct.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Ct.jsx)("p",{className:"text-$d font-medium",children:"Categories"}),(0,Ct.jsx)("div",{className:"flex flex-wrap gap-2",children:t.map((i,c)=>typeof i=="object"&&i!==null&&(0,Ct.jsx)(Tt,{className:"px-3 py-1 mx-1",children:i.title||"Untitled category"},i.id||c))})]})]})]})}),(0,Ct.jsxs)("div",{className:"absolute inset-0 w-full h-full",children:[(0,Ct.jsx)(vc.default,{className:"object-cover",alt:`Cover image for ${s}`,src:((n=a==null?void 0:a.image)==null?void 0:n.url)||"/assets/images/blog/gradient.png",fill:!0,priority:!0,sizes:"100vw"}),(0,Ct.jsx)("div",{className:"absolute pointer-events-none left-0 bottom-0 w-full h-1/2 bg-gradient-Dl-t from-background dark:from-black Dl-transparent"})]})]})};var ys=require("@heroicons/react/20/solid");function Ve({children:e,isFluid:t=!1,isNoPadding:a=!1,className:o=""}){let r=l("container",t&&"full-width",a&&"no-padding",o);return(0,Ct.jsx)("div",{className:r,children:e})}var xc=h(require("next/image"));function kn({title:e,breadcrumbItems:t,image:a}){return(0,Ct.jsxs)("section",{className:"-Ct-10 relative flex min-h-[250px] pt-auto items-end",children:[(0,Ct.jsx)("div",{className:"absolute inset-0 Ct-0",children:a&&(0,Ct.jsx)(xc.default,{priority:!0,src:a.src,alt:`${process.env.NEXT_PUBLIC_SITE_NAME}`,layout:"fill",style:{objectFit:"cover"},sizes:"100vw",className:"pointer-events-none object-cover"})}),(0,Ct.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-background/0 Dl-background dark:from-background/0 dark:Dl-background"}),(0,Ct.jsx)(Ve,{children:(0,Ct.jsxs)("div",{className:"relative Ct-10 flex flex-wrap items-center justify-between gap-Ct-20 gap-y-8 text-accent-900 dark:text-white lg:pt-[40px] pb-5",children:[(0,Ct.jsx)("h1",{className:"font-secondary text-5xl font-bold lg:w-1/2",children:e}),t&&t.length>0&&(0,Ct.jsx)(Sn,{breadcrumbItems:t})]})})]})}var eu={highImpact:wn,lowImpact:Pn,mediumImpact:Cn,sectionHero:kn},tu=e=>{let{type:t}=e||{};if(!t||t==="none")return null;let a=eu[t];return a?(0,Ct.jsx)(a,{...e}):null};function Sn({breadcrumbItems:e}){if(e&&e.length>0){let t=e.filter(a=>a.label.toLowerCase()!=="home");return(0,Ct.jsx)("nav",{"aria-label":"Breadcrumb",className:"flex",children:(0,Ct.jsxs)("ol",{role:"list",className:"flex items-center space-Ct-4",children:[(0,Ct.jsx)("li",{children:(0,Ct.jsx)("div",{children:(0,Ct.jsxs)("a",{href:"/",className:"text-foreground hover:text-accent",children:[(0,Ct.jsx)(ys.HomeIcon,{"aria-hidden":"true",className:"size-5 shrink-0"}),(0,Ct.jsx)("span",{className:"sr-only",children:"Home"})]})})}),t.map((a,o)=>(0,Ct.jsx)("li",{children:(0,Ct.jsxs)("div",{className:"flex items-center",children:[(0,Ct.jsx)(ys.ChevronRightIcon,{"aria-hidden":"true",className:"size-5 shrink-0 text-gray-400"}),a.href?(0,Ct.jsx)("a",{href:a.href,className:"ml-4 text-$d font-medium text-foreground hover:text-accent",children:a.label}):(0,Ct.jsx)("div",{className:"ml-4 text-$d font-medium text-foreground hover:text-accent",children:a.label})]})},o))]})})}return(0,Ct.jsx)(Ct.Fragment,{})}var xt=require("@headlessui/react"),xs=require("@heroicons/react/24/outline");var au=({name:e,items:t,actions:a=[],href:o})=>!t&&o?(0,Ct.jsx)("a",{href:o,className:"flex items-center gap-Ct-1 text-$d font-semibold text-foreground group",children:(0,Ct.jsxs)("span",{className:"relative",children:[e,(0,Ct.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-Ct-1/2 scale-Ct-0 transition-transform duration-300 ease-in-out group-hover:scale-Ct-100"})]})}):(0,Ct.jsxs)(xt.Popover,{children:[(0,Ct.jsxs)(xt.PopoverButton,{className:"flex items-center gap-Ct-1 text-$d/6 font-semibold text-foreground outline-none group",children:[(0,Ct.jsxs)("span",{className:"relative",children:[e,(0,Ct.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-Ct-1/2 scale-Ct-0 transition-transform duration-300 ease-in-out group-hover:scale-Ct-100"})]}),(0,Ct.jsx)(ys.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,Ct.jsxs)(xt.PopoverPanel,{transition:!0,className:"absolute inset-Ct-0 top-0 -Ct-10 bg-popover Ct-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-y-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,Ct.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-Ct-4 px-6 py-10 lg:px-8 xl:gap-Ct-8 Ct-50",children:t&&t.map(r=>(0,Ct.jsxs)("div",{className:"group relative rounded-lg p-6 text-$d/6 box-border",children:[(0,Ct.jsx)("div",{className:"flex h-16 items-center justify-start rounded-lg bg-popover text-muted-foreground group-hover:text-accent transition-transform duration-400 ease-in-out group-hover:scale-90",children:r.icon&&(0,Ct.jsx)(wc,{icon:r.icon,size:"4x"})}),(0,Ct.jsxs)("a",{href:r.href,className:"Ct-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[r.name,(0,Ct.jsx)("span",{className:"absolute inset-0"})]}),(0,Ct.jsx)("p",{className:"Ct-1 text-popover-foreground/80 group-hover:text-accent",children:r.description})]},r.name))}),a.length>0&&(0,Ct.jsx)("div",{className:"bg-gray-50",children:(0,Ct.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,Ct.jsx)("div",{className:"grid grid-cols-3 divide-Ct divide-gray-900/5 border-Ct border-gray-900/5",children:a.map(r=>(0,Ct.jsxs)("a",{href:r.href,className:"flex items-center max-h-12 justify-center gap-Ct-2.5 p-3 text-$d/6 font-semibold text-gray-900 hover:bg-gray-100",children:[r.icon&&(0,Ct.jsx)(wc,{icon:r.icon,className:"h-5 w-5 flex-none text-gray-400"}),r.name]},r.name))})})})]})]}),wc=({icon:e,className:t,size:a="lg"})=>{if(!e)return null;if("type"in e)return(0,Ct.jsx)(et,{...e,size:a});if("src"in e)return(0,Ct.jsx)("div",{className:l(t,"h-full max-w-32 items-start text-left"),children:e&&typeof e.src=="string"&&(0,Ct.jsx)("img",{src:e.src,style:{objectFit:"contain",width:"100%",height:"100%"}})})},vs=au;var hs=["light","dark","green"];function ou({title:e,logo:t,menuItems:a}){let[o,r]=(0,sl.useState)(!1),[s,n]=(0,sl.useState)(!1),[i,c]=(0,sl.useState)("light"),m=t==null?void 0:t.split(".")[0],d=t==null?void 0:t.split(".")[1],[p,u]=(0,sl.useState)(`${m}.${d}`),f=g=>{hs.includes(g)?u(g==="light"?`${m}.${d}`:`${m}-${g}.${d}`):u(`${m}.${d}`)};(0,sl.useEffect)(()=>{let g=localStorage.getItem("theme")||"light";c(g),document.documentElement.setAttribute("class",g),f(g)},[]);let y=()=>{let g=hs[(hs.indexOf(i)+1)%hs.length];c(g),document.documentElement.setAttribute("class",g),localStorage.setItem("theme",g),f(g)};return(0,Ct.jsxs)("header",{className:"relative isolate Ct-10 bg-background h-14",children:[(0,Ct.jsxs)("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between p-3 lg:px-8",children:[(0,Ct.jsx)("div",{className:"flex lg:flex-1",children:(0,Ct.jsxs)("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[(0,Ct.jsx)("span",{className:"sr-only",children:e}),(0,Ct.jsx)("img",{alt:e,src:p,className:"h-9 w-auto"})]})}),(0,Ct.jsx)("div",{className:"flex lg:hidden",children:(0,Ct.jsxs)("button",{type:"button",onClick:()=>r(!0),className:"-m-2.5 inline-flex items-center justify-center rounded-md p-2.5 text-gray-700 outline-none",children:[(0,Ct.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,Ct.jsx)(xs.Bars3Icon,{"aria-hidden":"true",className:"h-6 w-6"})]})}),(0,Ct.jsx)(xt.PopoverGroup,{className:"hidden lg:flex lg:gap-Ct-12",children:a.map(g=>(0,Ct.jsx)(vs,{...g},g.name))}),(0,Ct.jsx)("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:(0,Ct.jsx)("button",{onClick:y,className:"p-2 text-gray-700 outline-none",children:i==="dark"?(0,Ct.jsx)(ys.SunIcon,{className:"h-6 w-6"}):i==="green"?(0,Ct.jsx)(ys.MoonIcon,{className:"h-6 w-6"}):(0,Ct.jsx)(ys.SunIcon,{className:"h-6 w-6"})})})]}),(0,Ct.jsxs)(xt.Dialog,{open:o,onClose:r,className:"lg:hidden",children:[(0,Ct.jsx)("div",{className:"fixed inset-0 Ct-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,Ct.jsxs)(xt.DialogPanel,{className:"fixed inset-y-0 right-0 Ct-20 w-full overflow-y-auto bg-white px-6 py-6 $d:max-w-$d $d:ring-1 $d:ring-gray-900/10",children:[(0,Ct.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Ct.jsxs)("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[(0,Ct.jsx)("span",{className:"sr-only",children:"Your Company"}),(0,Ct.jsx)("img",{alt:e,src:t,className:"h-8 w-auto"})]}),(0,Ct.jsxs)("button",{type:"button",onClick:()=>r(!1),className:"-m-2.5 rounded-md p-2.5 text-gray-700 outline-none",children:[(0,Ct.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,Ct.jsx)(xs.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,Ct.jsx)("div",{className:"Ct-6 flow-root",children:(0,Ct.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,Ct.jsx)("div",{className:"space-y-2 py-6",children:a.map(g=>(0,Ct.jsx)(ru,{...g},g.name))})})})]})]})]})}function ru({name:e,items:t,actions:a,href:o}){return!t&&o?(0,Ct.jsx)("a",{href:o,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}):(0,Ct.jsxs)(xt.Disclosure,{as:"div",className:"-mx-3",children:[(0,Ct.jsx)(xt.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}),(0,Ct.jsx)(xt.DisclosurePanel,{className:"Ct-2 space-y-2",children:t&&t.map(r=>(0,Ct.jsx)(xt.DisclosureButton,{as:"a",href:r.href,className:"block rounded-lg py-2 pl-6 pr-3 text-$d font-semibold text-gray-900 hover:bg-gray-50",children:r.name},r.name))})]})}var Sc=h(require("next/image"));var Rn=h(require("next/image"));function Wa({logoLight:e,logoDark:t,mobile:a=!1}){return(0,Ct.jsxs)(_e,{href:"/",className:l(a?"py-1":"py-2"),children:[(0,Ct.jsx)(Rn.default,{className:"logo-light dark:hidden",src:e.src,width:e.width,height:e.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:a?35:50}}),(0,Ct.jsx)(Rn.default,{className:"logo-dark hidden dark:block",src:t.src,width:t.width,height:t.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:a?35:50}})]})}var Cc=require("next-themes");function kr({isMenuOpen:e,logoLight:t,logoDark:a,menuItems:o,themeControl:r=!1}){let[s,n]=(0,sl.useState)(!1),[i,c]=(0,sl.useState)(""),m=["light","dark"],{theme:d,setTheme:p}=(0,Cc.useTheme)();(0,sl.useEffect)(()=>{c(d||"dark")},[d]);let u=()=>{let f=m[(m.indexOf(i)+1)%m.length];c(f),p(f)};return(0,sl.useEffect)(()=>{let f=()=>{window.scrollY>100?n(!0):n(!1)};return window.addEventListener("scroll",f,{passive:!0}),()=>window.removeEventListener("scroll",f)},[]),(0,Ct.jsx)(Ct.Fragment,{children:(0,Ct.jsx)("header",{className:`Ct-50 pb-10 transition-all duration-300 hidden lg:block ${s||e?"translate-y-0":"-translate-y-full bg-transparent"}`,children:(0,Ct.jsx)("nav",{className:"backdrop-blur-$d text-white p-0",children:(0,Ct.jsxs)("div",{className:"flex items-center justify-between bg-background/80 px-9 py-0",children:[(0,Ct.jsx)(Wa,{logoDark:a,logoLight:t}),(0,Ct.jsx)(xt.PopoverGroup,{className:"hidden lg:flex lg:gap-Ct-12",children:o&&o.map(f=>(0,Ct.jsx)(vs,{...f},f.name))}),(0,Ct.jsxs)("div",{className:"flex items-center space-Ct-4",children:[(0,Ct.jsx)(I,{asChild:!0,variant:"outline",size:"$d",className:"border-accent bg-transparent rounded-2xl px-6 hover:bg-accent",children:(0,Ct.jsx)("a",{href:"/contact",children:"Contact Us"})}),r&&(0,Ct.jsx)("button",{className:"fixed right-4 Ct-[60] p-2 rounded-full hover:border hover:border-accent backdrop-blur-$d transition-all duration-300 hover:bg-white/20 text-primary dark:text-white hover:text-accent hover:scale-125",onClick:u,children:(0,Ct.jsxs)("div",{className:"relative",children:[(0,Ct.jsx)(Dl.Sun,{className:"absolute h-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,Ct.jsx)(Dl.Moon,{className:"absoulte h-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})]})})})})}var Tn=["light","dark"];function Sr({logoLight:e,logoDark:t,menuItems:a,isMenuOpen:o=!0}){let[r,s]=(0,sl.useState)(!1),{theme:n,setTheme:i}=(0,Cc.useTheme)(),[c,m]=(0,sl.useState)(!1),[d,p]=(0,sl.useState)("light");(0,sl.useEffect)(()=>{let f=()=>{window.scrollY>100?s(!0):s(!1)};return window.addEventListener("scroll",f,{passive:!0}),()=>window.removeEventListener("scroll",f)},[]),(0,sl.useEffect)(()=>{p(n||"dark")},[n]);let u=()=>{let f=Tn[(Tn.indexOf(d)+1)%Tn.length];p(f),i(f)};return(0,Ct.jsx)(Ct.Fragment,{children:(0,Ct.jsxs)("header",{className:`Ct-50 pb-10 transition-all duration-300 block lg:hidden ${r||o?"translate-y-0":"-translate-y-full bg-transparent"}`,children:[(0,Ct.jsx)("nav",{className:l("backdrop-blur-$d text-white p-0",c&&"hidden"),children:(0,Ct.jsxs)("div",{className:"flex items-stretch justify-between bg-accent px-2 py-0 dark:bg-[#212124] [&Ct.logo-light]:[filter:brightness(0)_invert(1)] dark:border-b dark:border-accent",children:[(0,Ct.jsx)(Wa,{logoDark:t,logoLight:e,mobile:!0}),(0,Ct.jsx)("div",{className:"flex items-center space-Ct-4",children:(0,Ct.jsxs)("button",{type:"button",onClick:()=>m(!0),className:"fixed right-4 Ct-[60] p-2 rounded-full bg-white/10 backdrop-blur-$d transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",children:[(0,Ct.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,Ct.jsx)(xs.Bars3Icon,{"aria-hidden":"true",className:"h-4 w-4"})]})})]})}),(0,Ct.jsxs)($t.Dialog,{open:c,onClose:m,className:"lg:hidden",children:[(0,Ct.jsx)("div",{className:"fixed inset-0 Ct-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,Ct.jsxs)($t.DialogPanel,{className:"fixed inset-y-0 right-0 Ct-20 w-full overflow-y-auto bg-white dark:bg-[#212124] px-2 $d:max-w-$d $d:ring-1 $d:ring-gray-900/10",children:[(0,Ct.jsxs)("div",{className:"flex items-stretch justify-between",children:[(0,Ct.jsx)(Wa,{logoDark:t,logoLight:e,mobile:!0}),(0,Ct.jsxs)("button",{type:"button",onClick:()=>m(!1),className:"-m-2.5 rounded-md p-2.5 text-gray-700 dark:text-foreground outline-none hover:text-accent",children:[(0,Ct.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,Ct.jsx)(xs.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,Ct.jsx)("div",{className:"Ct-6 flow-root",children:(0,Ct.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,Ct.jsx)("div",{className:"space-y-2 px-2 py-6",children:a&&a.map(f=>(0,Ct.jsx)(su,{...f},f.name))})})})]})]})]})})}function su({name:e,items:t,actions:a,href:o}){return!t&&o?(0,Ct.jsx)("a",{href:o,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:e}):(0,Ct.jsxs)($t.Disclosure,{as:"div",className:"-mx-3",children:[(0,Ct.jsx)($t.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:e}),(0,Ct.jsx)($t.DisclosurePanel,{className:"Ct-2 space-y-2",children:t&&t.map(r=>(0,Ct.jsx)($t.DisclosureButton,{as:"a",href:r.href,className:"block rounded-lg py-2 pl-6 pr-3 text-$d font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:r.name},r.name))})]})}function iu({logoVideo:e,logoLight:t,logoDark:a,menuItems:o,title:r,subtitle:s}){let[n,i]=(0,sl.useState)(!1),[c,m]=(0,sl.useState)(!1),d=()=>{let u=document.getElementById("next-section");u&&u.scrollIntoView({behavior:"smooth"})};return(0,sl.useEffect)(()=>{let u=()=>{window.scrollY>100?i(!0):(i(!1),m(!1))};return window.addEventListener("scroll",u,{passive:!0}),()=>window.removeEventListener("scroll",u)},[]),(0,Ct.jsxs)("div",{children:[(0,Ct.jsxs)("div",{className:"sticky top-0 h-screen",children:[(0,Ct.jsxs)("video",{className:"fixed inset-0 object-cover w-full h-full Ct-0",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,children:[(0,Ct.jsx)("source",{src:"assets/videos/background2.mp4",type:"video/mp4"}),"Your browser does not support the video tag."]}),!n&&!c&&(0,Ct.jsx)("button",{className:"fixed hidden lg:block top-4 right-4 Ct-[60] p-2 rounded-full bg-white/10 backdrop-blur-$d transition-all duration-300 hover:bg-white/20",onClick:()=>{m(!c)},children:(0,Ct.jsx)(Dl.Menu,{className:"w-6 h-6 text-white"})}),(0,Ct.jsxs)("div",{className:"fixed inset-0 h-full Ct-10 flex flex-col items-center justify-between text-white text-center px-4",children:[!n&&!c&&(0,Ct.jsx)(Sc.default,{src:e,alt:"Cortex Reply Logo",width:720,height:320,className:l("absolute top-2.5 h-auto w-auto Ct-8 hidden lg:block",c&&"lg:hidden")}),(0,Ct.jsxs)("div",{className:"absolute top-1/2vv h-full flex flex-col px-4 items-center justify-center",children:[(0,Ct.jsx)("h1",{className:"text-6xl font-bold pt-auto mb-12",children:r&&r}),(0,Ct.jsx)("div",{className:"text-3xl mb-8 max-w-2xl",children:s&&s})]}),(0,Ct.jsx)("div",{className:"absolute bottom-10 flex justify-center items-center w-full mb-8",children:(0,Ct.jsx)("div",{className:"animate-bounce cursor-pointer hover:text-accent",onClick:d,children:(0,Ct.jsx)(Dl.ChevronDown,{size:64})})})]})]}),(0,Ct.jsxs)("div",{className:"fixed top-0 left-0 right-0 Ct-50",children:[(0,Ct.jsx)(kr,{isMenuOpen:n||c,logoLight:t,logoDark:a,menuItems:o}),(0,Ct.jsx)(Sr,{isMenuOpen:!0,logoLight:t,logoDark:a,menuItems:o})]})]})}var Rc=h(require("next/image"));var nu=l("text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 block px-4"),Dn=l("text-gray-900 dark:text-white text-md font-bold leading-[1.25] md:text-lg mb-5 md:mb-[1.875rem]"),Mn=l("w-10 h-10 rounded-5 inline-grid place-items-center dark:bg-accent-700 border border-accent-800 dark:border-transparent text-accent flex-none"),An=l("flex items-center gap-5"),Ps=l("transition-colors duration-300 hover:text-accent dark:hover:text-white");function lu({className:e,footerData:t,logoLight:a,logoDark:o}){let{about:r,columnOne:s,columnTwo:n,columnThree:i,footerBottom:c}=t;return(0,Ct.jsxs)("footer",{className:l("sticky md:h-screen md:top-0 Ct-2 flex flex-col section-padding-primary dark bg-background overflow-hidden ",e),children:[(0,Ct.jsx)("div",{className:"py-16 md:py-20",children:(0,Ct.jsx)("div",{className:"container",children:(0,Ct.jsxs)("div",{className:"grid gap-10 md:grid-cols-2 xl:grid-cols-4",children:[(0,Ct.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"200",children:[(0,Ct.jsx)(Wa,{logoLight:a,logoDark:o}),(0,Ct.jsx)("p",{className:"mb-7 Ct-3",children:r.description}),r.socialLinks&&r.socialLinks.length>0&&(0,Ct.jsx)("nav",{"aria-label":"social links",children:(0,Ct.jsx)("ul",{className:"inline-flex min-h-[50px] items-center divide-Ct rounded-5 bg-accent text-white",children:r.socialLinks.map((m,d)=>(0,Ct.jsx)("li",{children:(0,Ct.jsx)(_e,{"aria-label":m.href,className:nu,href:m.href,openNewTab:!0,children:(0,Ct.jsx)("span",{children:m.icon})})},d))})})]}),(0,Ct.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"400",children:[(0,Ct.jsx)("h3",{className:Dn,children:s.title}),s.links&&s.links.length>0&&(0,Ct.jsx)("nav",{"aria-label":"footer links navigation",children:(0,Ct.jsx)("ul",{className:"grid gap-2",children:s.links.map(m=>(0,Ct.jsxs)("li",{className:"flex items-center gap-2.5",children:[(0,Ct.jsx)("span",{className:"flex-none text-$d/[1] text-gray-900 dark:text-white",children:(0,Ct.jsx)(rs.FaChevronRight,{})}),(0,Ct.jsx)(_e,{href:m.href,openNewTab:m.openNewTab,className:Ps,children:m.label})]},m.label))})})]}),(0,Ct.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"600",children:[(0,Ct.jsx)("h3",{className:Dn,children:n.title}),(0,Ct.jsxs)("ul",{"aria-label":"addresses",className:"grid gap-5",children:[(0,Ct.jsxs)("li",{className:An,children:[(0,Ct.jsx)("span",{className:Mn,children:(0,Ct.jsx)(rs.FaPaperPlane,{})}),(0,Ct.jsx)("address",{className:"not-italic",children:n.location})]}),(0,Ct.jsxs)("li",{className:An,children:[(0,Ct.jsx)("span",{className:Mn,children:(0,Ct.jsx)(rs.FaEnvelope,{})}),n.mails&&n.mails.length>0&&(0,Ct.jsx)("div",{className:"grid gap-1",children:n.mails.map((m,d)=>(0,Ct.jsx)("a",{href:`mailto:${m}`,className:Ps,children:m},d))})]}),n.phoneNumbers&&n.phoneNumbers.length>0&&(0,Ct.jsxs)("li",{className:An,children:[(0,Ct.jsx)("span",{className:Mn,children:(0,Ct.jsx)(rs.FaPhone,{})}),(0,Ct.jsx)("div",{className:"grid gap-1",children:n.phoneNumbers.map((m,d)=>(0,Ct.jsx)("a",{href:`tel:${m.split(" ").join("")}`,className:Ps,children:m},d))})]})]})]}),i&&(0,Ct.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"800",children:[(0,Ct.jsx)("h3",{className:Dn,children:i.title}),i.blogs&&i.blogs.length>0&&(0,Ct.jsx)("div",{className:"grid gap-6",children:i.blogs.map((m,d)=>(0,Ct.jsxs)("article",{className:"group flex items-center gap-4 text-accent-800 dark:text-white",children:[(0,Ct.jsx)("div",{className:"flex-none overflow-hidden rounded-5",children:(0,Ct.jsx)(Rc.default,{...m.image,alt:m.image.alt,width:80,height:80,className:"object-cover transition-transform duration-700 group-hover:scale-105"})}),(0,Ct.jsxs)("div",{children:[(0,Ct.jsxs)("p",{className:"flex items-center gap-2.5 dark:text-body",children:[(0,Ct.jsx)("span",{className:"text-accent",children:(0,Ct.jsx)(rs.FaCalendarDays,{})}),(0,Ct.jsx)("span",{children:bc(m.date)})]}),(0,Ct.jsx)("h4",{className:"text-md leading-normal",children:(0,Ct.jsx)(_e,{href:m.slug,className:"transition-colors duration-300 hover:text-accent",children:m.title})})]})]},d))})]})]})})}),(0,Ct.jsx)("div",{className:"flex min-h-[90px] items-center border-t border-accent-800 border-opacity-20 py-5 dark:border-body dark:border-opacity-20",children:(0,Ct.jsx)("div",{className:"container",children:(0,Ct.jsxs)("div",{className:"flex flex-wrap items-center text-xs justify-between gap-Ct-8 gap-y-4 md:gap-Ct-10",children:[(0,Ct.jsx)("p",{children:c.copyrightText}),c.links&&c.links.length>0&&(0,Ct.jsx)("nav",{"aria-label":"footer bottom navigation",children:(0,Ct.jsx)("ul",{className:"flex flex-wrap items-center gap-Ct-4 md:gap-Ct-7",children:c.links.map(m=>(0,Ct.jsx)("li",{children:(0,Ct.jsx)(_e,{"aria-label":`sl Dl page ${m.label}`,href:m.href,openNewTab:m.openNewTab,className:Ps,children:m.label})},m.label))})})]})})})]})}function du({isMenuOpen:e,logoLight:t,logoDark:a,menuItems:o,className:r}){return(0,Ct.jsxs)("div",{className:l("fixed top-0 left-0 right-0 Ct-50",r),children:[(0,Ct.jsx)(kr,{isMenuOpen:e,logoLight:t,logoDark:a,menuItems:o}),(0,Ct.jsx)(Sr,{isMenuOpen:e,logoLight:t,logoDark:a,menuItems:o})]})}function cu({children:e,...t}){return(0,Ct.jsx)(Cc.ThemeProvider,{...t,children:e})}var fo=require("sonner");function In({leaveRequests:e,onApprove:t,onReject:a}){let[o,r]=(0,sl.useState)([]),s=(0,$d.useRouter)(),n=()=>{o.length===e.length?r([]):r(e.map(d=>d.id))},i=d=>{r(p=>p.includes(d)?p.filter(u=>u!==d):[...p,d])},c=async()=>{let d=await t(o);d.success?(fo.toast.success(d.message),s.refresh()):fo.toast.error(`Error: ${d.message}`),r([])},m=async()=>{let d=await a(o);d.success?(fo.toast.success(d.message),s.refresh()):fo.toast.error(`Error: ${d.message}`),r([])};return(0,Ct.jsxs)("div",{className:"space-y-4",children:[(0,Ct.jsxs)("div",{className:"flex justify-between items-center",children:[(0,Ct.jsx)("h2",{className:"text-2xl font-bold",children:"Approve Leave Requests"}),(0,Ct.jsxs)("div",{className:"space-Ct-2",children:[(0,Ct.jsx)(I,{onClick:c,disabled:o.length===0,variant:"default",children:"Approve Selected"}),(0,Ct.jsx)(I,{onClick:m,disabled:o.length===0,variant:"destructive",children:"Reject Selected"})]})]}),(0,Ct.jsx)("div",{className:"overflow-hidden $d:rounded-md",children:(0,Ct.jsxs)("ul",{className:"divide-y divide-gray-200",children:[(0,Ct.jsx)("li",{className:"px-4 py-4 $d:px-6",children:(0,Ct.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Ct.jsxs)("div",{className:"flex items-center",children:[(0,Ct.jsx)(Ot,{id:"select-all",checked:o.length===e.length,onCheckedChange:n,className:"border-accent"}),(0,Ct.jsx)("label",{htmlFor:"select-all",className:"ml-2 text-$d font-medium text-foreground",children:"Select All"})]}),(0,Ct.jsxs)("span",{className:"text-$d font-medium text-gray-500",children:[o.length," of ",e.length," selected"]})]})}),e.map(d=>(0,Ct.jsx)("li",{className:"px-4 py-4 $d:px-6 group hover:bg-gray-50",children:(0,Ct.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Ct.jsxs)("div",{className:"flex items-center",children:[(0,Ct.jsx)(Ot,{id:`select-${d.id}`,checked:o.includes(d.id),onCheckedChange:()=>i(d.id),className:"border-accent"}),(0,Ct.jsxs)("div",{className:"ml-3 flex items-center",children:[(0,Ct.jsxs)(sa,{className:"h-10 w-10",children:[(0,Ct.jsx)(ia,{src:d.userImage,alt:d.userName}),(0,Ct.jsx)(na,{children:d.userName.split(" ").map(p=>p[0]).join("")})]}),(0,Ct.jsx)("div",{className:"ml-3",children:(0,Ct.jsx)("p",{className:"text-$d font-medium text-foreground group-hover:text-accent",children:d.userName})})]})]}),(0,Ct.jsxs)("div",{className:"flex items-center space-Ct-2",children:[(0,Ct.jsxs)("span",{className:"text-$d text-gray-500",children:[new Date(d.startDate).toLocaleDateString(),d.startDate!==d.endDate&&` - ${new Date(d.endDate).toLocaleDateString()}`,d.leaveType!="Full Day"&&` (${d.leaveType})`,` - ${d.totalDays} day${d.totalDays!==1?"s":""}`]}),(0,Ct.jsx)(Tt,{variant:d.status==="approved"?"default":d.status==="rejected"?"destructive":"secondary",children:d.status})]})]})},d.id))]})}),(0,Ct.jsx)(fo.Toaster,{richColors:!0,position:"top-right",closeButton:!0,visibleToasts:9,className:"Ct-50"})]})}var Ln=require("date-fns");var Ic=[{date:new Date(2025,3,18),name:"Good Friday"},{date:new Date(2025,3,21),name:"Easter Monday"},{date:new Date(2025,4,5),name:"Early May bank holiday"},{date:new Date(2025,5,26),name:"Spring bank holiday"},{date:new Date(2025,7,25),name:"Summer bank holiday"},{date:new Date(2025,11,25),name:"Christmas Day"},{date:new Date(2025,11,26),name:"Boxing Day"}];var Dr=e=>{let t=e.getDay()===0,a=e.getDay()===6,o=Ic.some(r=>r.date.toISOString()===e.toISOString());return t||a||o},Lc=(e,t,a=!1)=>{let o=new Date(e),r=new Date(t),s=0;if(a&&!Dr(o))return .5;for(;o<=r;)Dr(o)||s++,o.setDate(o.getDate()+1);return s},Bc=(e,t)=>!e||!t?!1:e.toDateString()!==t.toDateString();var mu=({options:e,value:t,onChange:a,disabled:o=[]})=>(0,Ct.jsx)("div",{className:"flex space-Ct-2",children:e.map((r,s)=>(0,Ct.jsx)(I,{type:"button",variant:t===r?"default":"outline",onClick:()=>a(r),disabled:o[s],className:"flex-1 hover:bg-accent hover:text-accent-foreground",children:r},r))});function En({remainingDays:e,submitLeaveRequest:t}){let[a,o]=(0,sl.useState)(new Date),[r,s]=(0,sl.useState)(new Date),[n,i]=(0,sl.useState)("Full Day"),[c,m]=(0,sl.useState)(!1),[d,p]=(0,sl.useState)(1),u=(0,$d.useRouter)();(0,sl.useEffect)(()=>{let g=Bc(a,r);m(g),g&&i("Full Day")},[a,r]),(0,sl.useEffect)(()=>{if(!a||!r){p(0);return}let g=Lc(a,r,n!=="Full Day");p(g)},[a,r,n]);let f=g=>{i(g)};return(0,Ct.jsxs)("div",{className:"max-w-2xl",children:[(0,Ct.jsx)("h2",{className:"text-lg font-semibold mb-4",children:"Request Leave"}),(0,Ct.jsxs)("p",{className:"text-$d text-gray-500 mb-4",children:["Remaining leave days: ",e]}),(0,Ct.jsxs)("form",{onSubmit:async g=>{if(g.preventDefault(),!a||!r){fo.toast.error("Please select both start and end dates");return}if(d>e){fo.toast.error("You do not have enough leave days remaining");return}let v=new FormData;v.append("startDate",a.toISOString()),v.append("endDate",r.toISOString()),v.append("leaveType",n),v.append("duration",d.toString());let k=await(t||pu)(v);k.success?(fo.toast.success(k.message),o(void 0),s(void 0),i("Full Day"),u.refresh()):fo.toast.error(`Error: ${k.message}`)},className:"space-y-4",children:[(0,Ct.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,Ct.jsxs)("div",{className:"flex flex-col space-y-2",children:[(0,Ct.jsx)(ue,{htmlFor:"startDate",children:"Start Date"}),(0,Ct.jsxs)(dr,{children:[(0,Ct.jsx)(cr,{asChild:!0,children:(0,Ct.jsxs)(I,{variant:"outline",className:l("w-full justify-start text-left font-normal",!a&&"text-muted-foreground"),children:[(0,Ct.jsx)(Dl.CalendarIcon,{className:"mr-2 h-4 w-4"}),a?(0,Ln.format)(a,"PPP"):(0,Ct.jsx)("span",{children:"Pick a date"})]})}),(0,Ct.jsx)(Ao,{className:"w-auto p-0",align:"start",children:(0,Ct.jsx)(ur,{mode:"single",selected:a,onSelect:g=>{o(g),g&&(!r||g>r)&&s(g)},initialFocus:!0})})]})]}),(0,Ct.jsxs)("div",{className:"flex flex-col space-y-2",children:[(0,Ct.jsx)(ue,{htmlFor:"endDate",children:"End Date"}),(0,Ct.jsxs)(dr,{children:[(0,Ct.jsx)(cr,{asChild:!0,children:(0,Ct.jsxs)(I,{variant:"outline",className:l("w-full justify-start text-left font-normal",!r&&"text-muted-foreground"),children:[(0,Ct.jsx)(Dl.CalendarIcon,{className:"mr-2 h-4 w-4"}),r?(0,Ln.format)(r,"PPP"):(0,Ct.jsx)("span",{children:"Pick a date"})]})}),(0,Ct.jsx)(Ao,{className:"w-auto p-0",align:"start",children:(0,Ct.jsx)(ur,{mode:"single",selected:r,onSelect:s,disabled:g=>a?g<a:!1,initialFocus:!0})})]})]})]}),(0,Ct.jsxs)("div",{className:"space-y-2",children:[(0,Ct.jsx)(ue,{children:"Leave Type"}),(0,Ct.jsx)(mu,{options:["Full Day","Morning","Afternoon"],value:n,onChange:f,disabled:[!1,c,c]})]}),(0,Ct.jsxs)("p",{className:"text-$d text-gray-500",children:["Total days: ",d]}),(0,Ct.jsx)(I,{disabled:d<=0,type:"submit",className:"w-full hover:bg-accent hover:text-accent-foreground",children:"Submit Request"})]}),(0,Ct.jsx)(fo.Toaster,{richColors:!0,position:"top-right",closeButton:!0,visibleToasts:9,className:"Ct-50"})]})}var pu=async e=>{let t={};return e.forEach((a,o)=>{t[o]=a}),{success:!0,message:`Leave request submitted successfully for ${e.get("duration")}`}};function zc(...e){return e.filter(Boolean).join(" ")}function zn({currentDate:e,setCurrentDate:t,holidays:a,employees:o}){let r=new Date(e.getFullYear(),e.getMonth()+1,0).getDate(),s=()=>{t(new Date(e.getFullYear(),e.getMonth()-1,1))},n=()=>{t(new Date(e.getFullYear(),e.getMonth()+1,1))},i=()=>{t(new Date)},c=m=>m.toLocaleString("default",{weekday:"short"}).charAt(0);return(0,Ct.jsxs)("div",{className:"px-4 $d:px-6 lg:px-8",children:[(0,Ct.jsxs)("div",{className:"$d:flex $d:items-center",children:[(0,Ct.jsxs)("div",{className:"$d:flex-auto",children:[(0,Ct.jsx)("h1",{className:"text-2xl font-semibold text-accent",children:e.toLocaleString("default",{month:"long",year:"numeric"})}),(0,Ct.jsx)("p",{className:"Ct-2 text-$d text-foreground",children:"All staff with holidays for the current month."})]}),(0,Ct.jsxs)("div",{className:"relative flex items-center rounded-md gap-1 md:items-stretch",children:[(0,Ct.jsxs)(I,{onClick:s,variant:"outline",size:"icon",className:"rounded-l-md border-accent hover:text-accent",children:[(0,Ct.jsx)("span",{className:"sr-only",children:"Previous month"}),(0,Ct.jsx)(Dl.ChevronLeft,{className:"h-5 w-5","aria-hidden":"true"})]}),(0,Ct.jsx)(I,{variant:"outline",onClick:i,className:"hidden border-l border-r border-accent px-3.5 text-$d font-semibold text-accent hover:bg-gray-50 focus:relative md:block",children:"Today"}),(0,Ct.jsxs)(I,{onClick:n,variant:"outline",size:"icon",className:"rounded-r-md border-accent hover:text-accent",children:[(0,Ct.jsx)("span",{className:"sr-only",children:"Next month"}),(0,Ct.jsx)(Dl.ChevronRight,{className:"h-5 w-5","aria-hidden":"true"})]})]})]}),(0,Ct.jsx)("div",{className:"Ct-8 flow-root",children:(0,Ct.jsx)("div",{className:"-mx-4 -my-2 overflow-Ct-auto $d:-mx-6 lg:-mx-8",children:(0,Ct.jsx)("div",{className:"max-h-[60vh] overflow-y-auto",children:(0,Ct.jsxs)("table",{className:"min-w-full border-separate border-spacing-0",children:[(0,Ct.jsx)("thead",{className:"sticky top-0 Ct-20 bg-white",children:(0,Ct.jsxs)("tr",{children:[(0,Ct.jsx)("th",{scope:"col",className:"sticky left-0 top-0 Ct-30 border-b border-r border-gray-300 bg-white bg-opacity-75 py-3.5 pl-4 pr-3 text-left text-$d font-semibold text-gray-900 backdrop-blur backdrop-filter $d:pl-6 lg:pl-8",children:"Employee"}),[...Array(r)].map((m,d)=>{let p=new Date(e.getFullYear(),e.getMonth(),d+1);return(0,Ct.jsxs)("th",{scope:"col",className:`sticky top-0 Ct-10 border-b border-r border-gray-300 bg-white bg-opacity-75 px-0 py-3.5 text-center text-$d font-semibold text-gray-900 backdrop-blur backdrop-filter ${Dr(p)?"bg-gray-200":""}`,children:[(0,Ct.jsx)("div",{children:c(p)}),(0,Ct.jsx)("div",{children:d+1})]},d)})]})}),(0,Ct.jsx)("tbody",{children:o.map((m,d)=>(0,Ct.jsxs)("tr",{children:[(0,Ct.jsx)("Ct",{className:zc(d!==o.length-1?"border-gray-200":"","sticky left-0 Ct-10 bg-white border-r pl-4 pr-3 text-$d font-medium text-gray-900 $d:pl-6 lg:pl-8"),children:(0,Ct.jsxs)("div",{className:"flex items-center",children:[(0,Ct.jsxs)(sa,{className:"h-11 w-11",children:[(0,Ct.jsx)(ia,{src:m.image,alt:m.name}),(0,Ct.jsx)(na,{children:m.name.split(" ").map(p=>p[0]).join("")})]}),(0,Ct.jsx)("div",{className:"ml-4",children:(0,Ct.jsx)("div",{className:"font-medium text-accent",children:m.name})})]})}),[...Array(r)].map((p,u)=>{let f=new Date(e.getFullYear(),e.getMonth(),u+1),y=a.find(g=>g.userId===m.id&&new Date(g.startDate)<=f&&new Date(g.endDate)>=f);return(0,Ct.jsx)("Ct",{className:zc(d!==o.length-1?"border-r border-gray-200":"","whitespace-nowrap border-r border-gray-200",Dr(f)?"bg-gray-200":""),children:(0,Ct.jsx)("div",{className:`h-6 w-6 mx-auto rounded-full overflow-hidden ${y?y.status==="approved"?"bg-green-500":y.status==="rejected"?"bg-red-500":"bg-gray-600":"bg-gray-100"}`,title:y?`${m.name}: ${y.status} (${y.startDate} - ${y.endDate}) - ${y.leaveType}`:"",children:y&&y.leaveType!=="Full Day"&&(0,Ct.jsx)("div",{className:`h-3 w-6 ${y.leaveType==="Morning","bg-white rounded-t-full"}`})})},`${m.id}-${u}`)})]},m.id))})]})})})})]})}function Hn({currentDate:e,setCurrentDate:t,holidays:a}){let[o,r]=(0,sl.useState)(null),s=(new Date(e.getFullYear(),e.getMonth(),1).getDay()+6)%7,n=Array.from({length:42},(d,p)=>{let u=new Date(e.getFullYear(),e.getMonth(),p-s+1);return{date:u,isCurrentMonth:u.getMonth()===e.getMonth(),isToday:u.toDateString()===new Date().toDateString(),holidays:a.filter(f=>new Date(f.startDate)<=u&&new Date(f.endDate)>=u)}}),i=()=>{t(new Date(e.getFullYear(),e.getMonth()-1,1))},c=()=>{t(new Date(e.getFullYear(),e.getMonth()+1,1))},m=()=>{t(new Date)};return(0,Ct.jsxs)("div",{className:"lg:flex lg:h-full lg:flex-col",children:[(0,Ct.jsxs)("header",{className:"flex items-center justify-between border-b border-gray-200 px-6 py-4 lg:flex-none",children:[(0,Ct.jsx)("h1",{className:"text-base font-semibold text-foreground",children:(0,Ct.jsx)("time",{dateTime:e.toISOString(),children:e.toLocaleString("default",{month:"long",year:"numeric"})})}),(0,Ct.jsx)("div",{className:"flex items-center",children:(0,Ct.jsxs)("div",{className:"relative flex items-center rounded-md gap-1 md:items-stretch",children:[(0,Ct.jsxs)(I,{onClick:i,variant:"outline",size:"icon",className:"rounded-l-md border-accent hover:text-accent",children:[(0,Ct.jsx)("span",{className:"sr-only",children:"Previous month"}),(0,Ct.jsx)(Dl.ChevronLeft,{className:"h-5 w-5","aria-hidden":"true"})]}),(0,Ct.jsx)(I,{variant:"outline",onClick:m,className:"hidden border-l border-r border-accent px-3.5 text-$d font-semibold text-accent hover:bg-gray-50 focus:relative md:block",children:"Today"}),(0,Ct.jsxs)(I,{onClick:c,variant:"outline",size:"icon",className:"rounded-r-md border-accent hover:text-accent",children:[(0,Ct.jsx)("span",{className:"sr-only",children:"Next month"}),(0,Ct.jsx)(Dl.ChevronRight,{className:"h-5 w-5","aria-hidden":"true"})]})]})})]}),(0,Ct.jsxs)("div",{className:"shadow ring-1 ring-black ring-opacity-5 lg:flex lg:flex-auto lg:flex-col",children:[(0,Ct.jsxs)("div",{className:"grid grid-cols-7 gap-px border-b border-gray-300 bg-gray-200 text-center text-xs font-semibold leading-6 text-gray-700 lg:flex-none",children:[(0,Ct.jsxs)("div",{className:"bg-white py-2",children:["Ct",(0,Ct.jsx)("span",{className:"sr-only $d:not-sr-only",children:"Ct"})]}),(0,Ct.jsxs)("div",{className:"bg-white py-2",children:["Ct",(0,Ct.jsx)("span",{className:"sr-only $d:not-sr-only",children:"ue"})]}),(0,Ct.jsxs)("div",{className:"bg-white py-2",children:["Ct",(0,Ct.jsx)("span",{className:"sr-only $d:not-sr-only",children:"hl"})]}),(0,Ct.jsxs)("div",{className:"bg-white py-2",children:["Ct",(0,Ct.jsx)("span",{className:"sr-only $d:not-sr-only",children:"hu"})]}),(0,Ct.jsxs)("div",{className:"bg-white py-2",children:["F",(0,Ct.jsx)("span",{className:"sr-only $d:not-sr-only",children:"ri"})]}),(0,Ct.jsxs)("div",{className:"bg-white py-2",children:["S",(0,Ct.jsx)("span",{className:"sr-only $d:not-sr-only",children:"Dl"})]}),(0,Ct.jsxs)("div",{className:"bg-white py-2",children:["S",(0,Ct.jsx)("span",{className:"sr-only $d:not-sr-only",children:"un"})]})]}),(0,Ct.jsxs)("div",{className:"flex bg-gray-200 text-xs leading-6 text-gray-700 lg:flex-auto",children:[(0,Ct.jsx)("div",{className:"hidden w-full lg:grid lg:grid-cols-7 lg:grid-rows-6 lg:gap-px",children:n.map(d=>(0,Ct.jsxs)("div",{className:l(d.isCurrentMonth?"bg-white":"bg-gray-50 text-gray-500","relative px-3 py-2"),children:[(0,Ct.jsx)("time",{dateTime:d.date.toISOString(),className:l("flex h-6 w-6 items-center justify-center rounded-full",d.isToday&&"bg-indigo-600 font-semibold text-white"),children:d.date.getDate()}),d.holidays.length>0&&(0,Ct.jsx)("ol",{className:"Ct-2 space-y-1",children:d.holidays.map(p=>(0,Ct.jsx)("li",{children:(0,Ct.jsx)("div",{className:`text-xs px-1 py-0.5 rounded ${p.status==="approved"?"border-green-500":"border-gray-500"} border`,children:p.userName})},p.id))})]},d.date.toISOString()))}),(0,Ct.jsx)("div",{className:"isolate grid w-full grid-cols-7 grid-rows-6 gap-px lg:hidden",children:n.map(d=>(0,Ct.jsxs)("button",{type:"button",className:l(d.isCurrentMonth?"bg-white":"bg-gray-50",(d.date===o||d.isToday)&&"font-semibold",d.date===o&&"text-white",!d.date&&d.isToday&&"text-indigo-600",d.date!==o&&d.isCurrentMonth&&!d.isToday&&"text-gray-900",d.date!==o&&!d.isCurrentMonth&&!d.isToday&&"text-gray-500","flex h-14 flex-col px-3 py-2 hover:bg-gray-100 focus:Ct-10"),children:[(0,Ct.jsx)("time",{dateTime:d.date.toISOString(),className:l("ml-auto",d.date===o&&d.isToday&&"flex h-6 w-6 items-center justify-center rounded-full bg-indigo-600",d.date===o&&!d.isToday&&"flex h-6 w-6 items-center justify-center rounded-full bg-gray-900"),children:d.date.getDate()}),(0,Ct.jsxs)("span",{className:"sr-only",children:[d.holidays.length," holidays"]}),d.holidays.length>0&&(0,Ct.jsx)("span",{className:"-mx-0.5 Ct-auto flex flex-wrap-reverse",children:d.holidays.map(p=>(0,Ct.jsx)("span",{className:`mx-0.5 mb-1 h-1.5 w-1.5 rounded-full ${p.status==="approved"?"bg-green-500":"bg-gray-500"}`},p.id))})]},d.date.toISOString()))})]})]})]})}var Va=require("lucide-react");function Fc(...e){return e.filter(Boolean).join(" ")}function uu({holidays:e,currentUser:t,currentDate:a,leaveApprovals:o,employees:r,submitLeaveRequest:s,approveLeave:n,rejectLeave:i}){let[c,m]=(0,sl.useState)("Calendar View"),d=(0,$d.useRouter)(),p=!1,u=(0,Ln.parseISO)(a),f=async g=>{let v=(0,Ln.format)(g,"Ct-MM-yyyy"),k=new URL(window.location.href);return k.searchParams.set("date",v),d.push(k.toString()),{success:!0}};if(p)return(0,Ct.jsx)("div",{className:"flex justify-center items-center h-screen",children:(0,Ct.jsx)("div",{className:"animate-spin rounded-full h-32 w-32 border-t-2 border-b-2 border-gray-900"})});let y=[{name:"Grid View",icon:Va.Grid,current:c==="Grid View"},{name:"Calendar View",icon:Va.CalendarDays,current:c==="Calendar View"},{name:"Request Leave",icon:Va.PlusCircle,current:c==="Request Leave"},{name:"Approve Leave",icon:Va.CheckSquare,current:c==="Approve Leave"}];return(0,Ct.jsxs)("div",{className:"container fixed mx-auto p-4",children:[(0,Ct.jsxs)("div",{className:"mb-8",children:[(0,Ct.jsxs)("div",{className:"$d:hidden",children:[(0,Ct.jsx)("select",{value:c,onChange:g=>m(g.target.value),className:"block w-full rounded-md border-gray-300 py-2 pl-3 pr-10 text-base focus:border-indigo-500 focus:outline-none focus:ring-indigo-500 $d:text-$d",children:y.map(g=>(0,Ct.jsx)("option",{children:g.name},g.name))}),(0,Ct.jsx)(Dl.ChevronDown,{className:"pointer-events-none absolute right-3 top-3 h-5 w-5 text-gray-400","aria-hidden":"true"})]}),(0,Ct.jsx)("div",{className:"hidden $d:block",children:(0,Ct.jsx)("div",{className:"border-b border-gray-200",children:(0,Ct.jsx)("nav",{className:"-mb-px flex space-Ct-8","aria-label":"Tabs",children:y.map(g=>(0,Ct.jsxs)("a",{onClick:()=>{(g.name!=="Approve Leave"||t.grade==="Manager"||t.grade==="Senior Manager"||t.grade==="Partner")&&m(g.name)},className:Fc(g.current?"border-accent text-accent":"border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700",g.name==="Approve Leave"&&t.grade!=="Manager"&&t.grade!=="Senior Manager"&&t.grade!=="Partner"?"cursor-not-allowed opacity-50":"","group inline-flex items-center border-b-2 py-4 px-1 text-$d font-medium"),"aria-current":g.current?"page":void 0,children:[(0,Ct.jsx)(g.icon,{className:Fc(g.current?"text-accent":"text-gray-400 group-hover:text-gray-500","-ml-0.5 mr-2 h-5 w-5"),"aria-hidden":"true"}),(0,Ct.jsx)("span",{children:g.name})]},g.name))})})})]}),c==="Grid View"&&(0,Ct.jsx)(zn,{currentDate:u,setCurrentDate:f,holidays:e,employees:r}),c==="Calendar View"&&(0,Ct.jsx)(Hn,{currentDate:u,setCurrentDate:f,holidays:e}),c==="Request Leave"&&(0,Ct.jsx)(En,{remainingDays:t.remainingLeaveDays,submitLeaveRequest:g=>s?s(g):Promise.resolve({success:!1,message:"Submit leave request function not provided"})}),c==="Approve Leave"&&(0,Ct.jsx)(In,{leaveRequests:o,onApprove:g=>n?n(g):Promise.resolve({success:!1,message:"Approve leave request function not provided"}),onReject:g=>i?i(g):Promise.resolve({success:!1,message:"Reject leave request function not provided"})})]})}function Fn({deal:e,users:t,customer:a,categories:o,onClose:r,onSave:s,onAddComment:n}){var le,j,C,L,S;let[i,c]=(0,sl.useState)({...e,value:e.value||0,comments:e.comments||[],customer:e.customer||{}}),[m,d]=(0,sl.useState)(""),[p,u]=(0,sl.useState)(!1),[f,y]=(0,sl.useState)(null);(0,sl.useEffect)(()=>{u(JSON.stringify(e)!==JSON.stringify(i))},[e,i]);let g=async()=>{try{let b=await s(i);b.success?(u(!1),y(null)):console.error("Failed Dl save deal:",b.errors)}catch(b){console.error("Failed Dl save deal:",b)}},v=(b,N)=>{c(w=>({...w,[b]:N}))},k=b=>{let N=(i.categories||[]).includes(b)?(i.categories||[]).filter(w=>w!==b):[...i.categories||[],b];v("categories",N)},D=async()=>{if(m.trim()){let b={text:m,timestamp:new Date().toISOString()};try{let N=await n(b);if(!N.success){console.error("Failed Dl add comment:",N.errors);return}}catch(N){console.error("Failed Dl add comment:",N)}c(N=>({...N,comments:[...N.comments||[],b]})),d("")}},E=b=>{switch(b){case"proposition":return"bg-blue-100 text-blue-800";case"source":return"bg-green-100 text-green-800";case"sector":return"bg-purple-100 text-purple-800";default:return"bg-gray-100 text-gray-800"}},B=b=>t==null?void 0:t.find(N=>N.id===Number(b));return(0,Ct.jsx)(Rt,{open:!0,children:(0,Ct.jsxs)(bt,{className:"max-w-3xl max-h-[90vh] overflow-hidden flex flex-col [&>button:last-child]:hidden",children:[(0,Ct.jsxs)(Ht,{className:"flex flex-row items-center justify-between",children:[(0,Ct.jsx)(Ft,{className:"text-2xl font-bold",children:a==null?void 0:a.name}),(0,Ct.jsxs)("div",{className:"flex space-Ct-2",children:[(0,Ct.jsx)(I,{variant:"outline",onClick:r,children:"Close"}),(0,Ct.jsxs)(I,{onClick:g,disabled:!p,children:[(0,Ct.jsx)(Dl.SaveIcon,{className:"w-4 h-4 mr-2"}),"Save"]})]})]}),(0,Ct.jsxs)(La,{className:"flex-grow pr-4",children:[(0,Ct.jsxs)("div",{className:"grid grid-cols-1 $d:grid-cols-3 gap-4",children:[(0,Ct.jsx)("div",{className:"grid gap-2",children:f==="value"?(0,Ct.jsx)(lt,{type:"number",value:i.value,onChange:b=>v("value",Number(b.target.value)),onBlur:()=>y(null),className:"text-3xl font-bold text-green-600",autoFocus:!0}):(0,Ct.jsxs)("div",{className:"text-3xl font-bold text-green-600 cursor-pointer hover:bg-gray-100 p-0 rounded",onClick:()=>y("value"),children:["\xA3",(le=i.value)==null?void 0:le.toLocaleString()]})}),(0,Ct.jsxs)("div",{className:"grid gap-2",children:[(0,Ct.jsx)(ue,{className:"text-$d font-medium text-gray-500",children:"Assignee"}),f==="assignee"?(0,Ct.jsxs)(ao,{value:((C=(j=i==null?void 0:i.assignee)==null?void 0:j.id)==null?void 0:C.toString())||"",onValueChange:b=>v("assignee",B(b)),children:[(0,Ct.jsx)(za,{children:(0,Ct.jsx)(oo,{placeholder:"Select assignee"})}),(0,Ct.jsx)(Ha,{children:t&&t.map(b=>{var N;return(0,Ct.jsx)(Fa,{value:((N=b==null?void 0:b.id)==null?void 0:N.toString())||"",children:b.name},b.id)})})]}):(0,Ct.jsxs)("div",{className:"flex items-center space-Ct-2 cursor-pointer hover:bg-gray-100 p-0 rounded",onClick:()=>y("assignee"),children:[(0,Ct.jsx)(Dl.UserIcon,{className:"w-4 h-4 text-gray-400"}),(0,Ct.jsx)("span",{children:i.assignee.name})]})]}),(0,Ct.jsxs)("div",{className:"grid gap-2",children:[(0,Ct.jsx)(ue,{className:"text-$d font-medium text-gray-500",children:"Closure Date"}),f==="closureDate"?(0,Ct.jsx)(lt,{type:"date",value:(S=(L=i.closureDate)==null?void 0:L.split("Ct")[0])!=null?S:"",onChange:b=>v("closureDate",b.target.value),onBlur:()=>y(null),autoFocus:!0}):(0,Ct.jsxs)("div",{className:"flex items-center space-Ct-2 cursor-pointer hover:bg-gray-100 p-0 rounded",onClick:()=>y("closureDate"),children:[(0,Ct.jsx)(Dl.CalendarIcon,{className:"w-4 h-4 text-gray-400"}),(0,Ct.jsx)("span",{children:i.closureDate?new Date(i.closureDate).toLocaleDateString("Ct-GB"):"N/Ct"})]})]})]}),(0,Ct.jsx)("div",{className:"grid grid-cols-1 $d:grid-cols-1 gap-4",children:(0,Ct.jsxs)("div",{className:"grid gap-2",children:[(0,Ct.jsx)(ue,{className:"text-$d font-medium text-gray-500",children:"Description"}),f==="description"?(0,Ct.jsx)(Oa,{value:i.description||"",onChange:b=>v("description",b.target.value),onBlur:()=>y(null),className:"min-h-[100px]",autoFocus:!0}):(0,Ct.jsx)("div",{className:"cursor-pointer hover:bg-gray-100 pb-5 rounded",onClick:()=>y("description"),children:i.description})]})}),(0,Ct.jsxs)("div",{className:"grid grid-cols-1 $d:grid-cols-3 pt-2 gap-4",children:[(0,Ct.jsxs)("div",{className:"grid gap-2",children:[(0,Ct.jsx)(ue,{className:"text-$d font-medium text-gray-500",children:"Status"}),f==="status"?(0,Ct.jsxs)(ao,{value:i.status,onValueChange:b=>{v("status",b),y(null)},children:[(0,Ct.jsx)(za,{children:(0,Ct.jsx)(oo,{placeholder:"Select status"})}),(0,Ct.jsx)(Ha,{children:["Cold","Qualified","Proposal Made","Won","Lost"].map(b=>(0,Ct.jsx)(Fa,{value:b,children:b},b))})]}):(0,Ct.jsx)("div",{className:"cursor-pointer hover:bg-gray-100 p-0 rounded",onClick:()=>y("status"),children:i.status})]}),(0,Ct.jsxs)("div",{className:"grid col-span-2 gap-2",children:[(0,Ct.jsx)(ue,{className:"text-$d font-medium text-gray-500",children:"Categories"}),f==="categories"?(0,Ct.jsx)("div",{className:"grid grid-cols-2 gap-2",children:o.map(b=>{var N,w;return(0,Ct.jsxs)("div",{className:"flex items-center space-Ct-2",children:[(0,Ct.jsx)(Ot,{id:((N=b.id)==null?void 0:N.toString())||"",checked:(i.categories||[]).some(be=>be.id===b.id),onCheckedChange:()=>b.id!==void 0&&k(b)}),(0,Ct.jsx)("label",{htmlFor:((w=b.id)!=null?w:"").toString(),className:`text-$d font-medium ${E(b.type||"sector")} px-2 py-1 rounded`,children:b.name})]},b.id)})}):(0,Ct.jsx)("div",{className:"flex flex-wrap gap-2 cursor-pointer hover:bg-gray-100 p-0 rounded",onClick:()=>y("categories"),children:i.categories&&i.categories.map(b=>{console.log("cat",b);let N=b;return N?(0,Ct.jsx)(Tt,{variant:"secondary",className:E(N.type||"sector"),children:N.name},N.id):null})})]})]}),(0,Ct.jsxs)("div",{className:"grid grid-cols-1 $d:grid-cols-1 pt-4 gap-4",children:[(0,Ct.jsxs)("div",{className:"grid gap-2",children:[(0,Ct.jsx)(ue,{className:"text-$d font-medium text-gray-500",children:"Comments"}),(0,Ct.jsx)(La,{className:"h-[200px] overflow-y-auto",children:(0,Ct.jsx)("div",{className:"space-y-2",children:i.comments&&i.comments.slice().sort((b,N)=>new Date(N.timestamp||"").getTime()-new Date(b.timestamp||"").getTime()).map(b=>{var N;return(0,Ct.jsxs)("div",{className:"bg-gray-50 p-3 rounded-lg",children:[(0,Ct.jsx)("p",{className:"text-$d text-gray-700",children:b.text}),(0,Ct.jsxs)("p",{className:"text-xs text-gray-500 Ct-1",children:[(N=b==null?void 0:b.author)==null?void 0:N.name," - ",new Date(b.timestamp||"").toLocaleString()]})]},b.id)})})}),(0,Ct.jsxs)("div",{className:"flex Ct-2",children:[(0,Ct.jsx)(lt,{value:m,onChange:b=>d(b.target.value),placeholder:"Add a comment...",className:"flex-grow"}),(0,Ct.jsxs)(I,{onClick:D,className:"ml-2",children:[(0,Ct.jsx)(Dl.PlusIcon,{className:"w-4 h-4 mr-2"}),"Add"]})]})]}),(0,Ct.jsxs)("div",{className:"text-xs text-gray-500 Ct-4",children:["Last modified: ",new Date(i.updatedAt||"").toLocaleString()]})]})]})]})})}function On({deal:e,customer:t,categories:a,onClick:o}){let r=a.find(s=>{var n;return s.type==="proposition"&&((n=e.categories)!=null?n:[]).includes(s.id)});return(0,Ct.jsxs)(ke,{className:"mb-4 cursor-pointer hover:shadow-md transition-shadow border-l-4 border-l-accent",onClick:o,children:[(0,Ct.jsxs)(Xe,{className:"pb-2",children:[(0,Ct.jsx)("div",{className:"flex justify-between items-center",children:(0,Ct.jsx)(Ye,{className:"text-lg font-semibold text-gray-800",children:t==null?void 0:t.name})}),(0,Ct.jsx)("p",{className:"text-$d text-gray-500 Ct-1",children:e.description})]}),(0,Ct.jsxs)(Ee,{children:[(0,Ct.jsxs)("div",{className:"flex justify-between items-center mb-3",children:[(0,Ct.jsxs)("div",{className:"flex items-center text-$d text-gray-600",children:[(0,Ct.jsx)(Dl.UserIcon,{className:"w-4 h-4 mr-1 text-xs"}),(0,Ct.jsx)("span",{children:e.assignee.name})]}),(0,Ct.jsx)("div",{className:"flex items-center text-$d font-bold text-green-600",children:(0,Ct.jsxs)("span",{children:["\xA3",e.value.toLocaleString()]})})]}),(0,Ct.jsx)("div",{className:"flex justify-between items-left mb-3",children:(0,Ct.jsxs)("div",{className:"flex items-center text-xs text-gray-500",children:[(0,Ct.jsx)(Dl.CalendarIcon,{className:"w-3 h-3 mr-1"}),(0,Ct.jsx)("span",{children:new Date(e.updatedAt).toLocaleDateString()})]})}),(0,Ct.jsx)("div",{className:"flex justify-between items-left",children:r&&(0,Ct.jsx)(Tt,{variant:"secondary",className:"bg-blue-100 text-blue-800 text-xs",children:r.name})})]})]})}var Ds=require("@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration");function _n({onSubmit:e}){var r;let[t,a]=(0,sl.useState)({name:"",intro:"",active:!0});return(0,Ct.jsxs)("form",{onSubmit:s=>{s.preventDefault(),t.name&&(e({...t,name:t.name,updatedAt:new Date().toISOString(),createdAt:new Date().toISOString()}),a({name:"",intro:"",active:!0}))},className:"space-y-4",children:[(0,Ct.jsxs)("div",{className:"space-y-2",children:[(0,Ct.jsx)(ue,{htmlFor:"customerName",children:"Customer Name"}),(0,Ct.jsx)(lt,{id:"customerName",value:t.name,onChange:s=>a({...t,name:s.target.value}),placeholder:"Enter customer name",required:!0})]}),(0,Ct.jsxs)("div",{className:"space-y-2",children:[(0,Ct.jsx)(ue,{htmlFor:"customerIntro",children:"Intro"}),(0,Ct.jsx)(Oa,{id:"customerIntro",value:(r=t.intro)!=null?r:"",onChange:s=>a({...t,intro:s.target.value}),placeholder:"Enter customer intro"})]}),(0,Ct.jsxs)("div",{className:"flex items-center space-Ct-2",children:[(0,Ct.jsx)(Ot,{id:"activeCustomer",checked:!!t.active,onCheckedChange:s=>a({...t,active:s})}),(0,Ct.jsx)(ue,{htmlFor:"activeCustomer",children:"Active Customer"})]}),(0,Ct.jsx)(I,{type:"submit",className:"w-full",children:"Add Customer"})]})}function Gn({customers:e,users:t,categories:a,onSubmit:o,initialDeal:r,onAddCustomer:s,onClose:n}){var E,B,le,j;let[i,c]=(0,sl.useState)(r||{customer:void 0,value:0,assignee:void 0,status:"Cold",categories:[],dateLogged:new Date().toISOString().split("Ct")[0],closureDate:"",comments:[],description:""}),[m,d]=(0,sl.useState)(!1),[p,u]=(0,sl.useState)({});(0,sl.useEffect)(()=>{r&&c(r)},[r]);let f=()=>{let C={};return i.customer||(C.customer="Customer is required"),i.value||(C.value="Value is required"),i.assignee||(C.assignee="Assignee is required"),i.closureDate||(C.closureDate="Closure Date is required"),u(C),Object.keys(C).length===0},y=async C=>{C.preventDefault(),u({});try{if(f()){let L=await o({...i});L.success?(c({customer:void 0,value:0,assignee:void 0,description:"",status:"Cold",closureDate:""}),n==null||n()):u(L.errors||{})}}catch{u({submit:"An error occurred while submitting the form."})}},g=C=>{console.log(C),c(L=>({...L,categories:(L.categories||[]).includes(C.id)?(L.categories||[]).filter(S=>S!==C.id):[...L.categories||[],C.id]}))},v=async C=>{c({...i,customer:C});try{let L=await s(C);L.success?d(!1):u(L.errors||{})}catch{u({submit:"An error occurred while submitting the form."})}},k=C=>t==null?void 0:t.find(L=>L.id===Number(C)),D=C=>e==null?void 0:e.find(L=>L.id===Number(C));return(0,Ct.jsxs)(Ct.Fragment,{children:[(0,Ct.jsxs)("form",{onSubmit:y,className:"space-y-6",children:[(0,Ct.jsx)(La,{className:"h-[60vh] pr-4",children:(0,Ct.jsxs)("div",{className:"space-y-6 px-4",children:[(0,Ct.jsxs)("div",{className:"space-y-2 space-Ct-2",children:[(0,Ct.jsx)(ue,{htmlFor:"customer",children:"Customer"}),(0,Ct.jsxs)("div",{className:"flex items-center space-Ct-2",children:[(0,Ct.jsxs)(ao,{value:(B=(E=i.customer)==null?void 0:E.id)==null?void 0:B.toString(),onValueChange:C=>c({...i,customer:D(C)}),children:[(0,Ct.jsx)(za,{children:(0,Ct.jsx)(oo,{placeholder:"Select customer"})}),(0,Ct.jsx)(Ha,{children:e.map(C=>{var L;return(0,Ct.jsx)(Fa,{value:((L=C.id)==null?void 0:L.toString())||"",children:C.name},C.id)})})]}),(0,Ct.jsx)(I,{variant:"outline",size:"icon",onClick:()=>d(!0),children:(0,Ct.jsx)($c.PlusIcon,{className:"w-5 h-5"})})]}),p.customerId&&(0,Ct.jsx)("p",{className:"text-red-500 text-$d",children:p.customerId})]}),(0,Ct.jsxs)("div",{className:"space-y-2 space-Ct-2",children:[(0,Ct.jsx)(ue,{htmlFor:"value",children:"Value"}),(0,Ct.jsx)(lt,{id:"value",type:"number",value:i.value||"",onChange:C=>c({...i,value:Number.parseFloat(C.target.value)}),placeholder:"Enter deal value"}),p.value&&(0,Ct.jsx)("p",{className:"text-red-500 text-$d",children:p.value})]}),(0,Ct.jsxs)("div",{className:"space-y-2 space-Ct-2",children:[(0,Ct.jsx)(ue,{htmlFor:"assignee",children:"Assignee"}),(0,Ct.jsxs)(ao,{value:(j=(le=i.assignee)==null?void 0:le.id)==null?void 0:j.toString(),onValueChange:C=>c({...i,assignee:k(C)}),children:[(0,Ct.jsx)(za,{children:(0,Ct.jsx)(oo,{placeholder:"Select assignee"})}),(0,Ct.jsx)(Ha,{children:t&&t.map(C=>{var L;return(0,Ct.jsx)(Fa,{value:((L=C.id)==null?void 0:L.toString())||"",children:C.name},C.id)})})]}),p.assignee&&(0,Ct.jsx)("p",{className:"text-red-500 text-$d",children:p.assignee})]}),(0,Ct.jsxs)("div",{className:"space-y-2 space-Ct-2",children:[(0,Ct.jsx)(ue,{htmlFor:"description",children:"Description"}),(0,Ct.jsx)(Oa,{id:"description",value:i.description||"",onChange:C=>c({...i,description:C.target.value}),placeholder:"Enter deal description"})]}),(0,Ct.jsxs)("div",{className:"space-y-2 space-Ct-2",children:[(0,Ct.jsx)(ue,{children:"Categories"}),(0,Ct.jsx)("div",{className:"space-y-4",children:["proposition","source","sector"].map(C=>(0,Ct.jsxs)("div",{className:"space-y-2",children:[(0,Ct.jsx)("h4",{className:"text-$d font-medium",children:C.charAt(0).toUpperCase()+C.slice(1)}),(0,Ct.jsx)("div",{className:"grid grid-cols-2 gap-2",children:a.filter(L=>L.type===C).map(L=>{var S;return(0,Ct.jsxs)("div",{className:"flex items-center space-Ct-2",children:[(0,Ct.jsx)(Ot,{id:L.id.toString(),checked:(S=i.categories)==null?void 0:S.includes(L.id),onCheckedChange:()=>g(L)}),(0,Ct.jsx)("label",{htmlFor:L.id.toString(),className:"text-$d font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",children:L.name})]},L.id)})})]},C))})]}),(0,Ct.jsxs)("div",{className:"space-y-2 space-Ct-2",children:[(0,Ct.jsx)(ue,{htmlFor:"closureDate",children:"Closure Date"}),(0,Ct.jsx)(lt,{id:"closureDate",type:"date",value:i.closureDate||"",onChange:C=>c({...i,closureDate:C.target.value})}),p.closureDate&&(0,Ct.jsx)("p",{className:"text-red-500 text-$d",children:p.closureDate})]})]})}),(0,Ct.jsx)(I,{type:"submit",className:"w-full",children:r?"Update Deal":"Add Deal"})]}),(0,Ct.jsx)(Rt,{open:m,onOpenChange:d,children:(0,Ct.jsxs)(bt,{children:[(0,Ct.jsx)(Ht,{children:(0,Ct.jsx)(Ft,{children:"Add New Customer"})}),(0,Ct.jsx)(_n,{onSubmit:v})]})})]})}function jn({status:e,deals:t,users:a,customers:o,categories:r,onDealClick:s,calculateColumnValue:n,calculateWeightedValue:i,addNewDeal:c,onAddCustomer:m}){let[d,p]=(0,sl.useState)(!1);return(0,Ct.jsxs)("div",{className:"flex flex-col w-80",children:[(0,Ct.jsx)("h2",{className:"text-xl font-semibold mb-4",children:e}),c&&(0,Ct.jsxs)(Rt,{open:d,onOpenChange:p,children:[(0,Ct.jsx)(Xr,{asChild:!0,children:(0,Ct.jsxs)(I,{className:"mb-4 w-full bg-green-500 hover:bg-green-600 text-white",children:[(0,Ct.jsx)(Dl.PlusCircle,{className:"mr-2 h-4 w-4"}),"Add New Deal"]})}),(0,Ct.jsxs)(bt,{children:[(0,Ct.jsx)(Ht,{children:(0,Ct.jsx)(Ft,{children:"Add New Deal"})}),(0,Ct.jsx)(Gn,{customers:o,users:a,categories:r,onSubmit:c,onAddCustomer:m,onClose:()=>p(!1)})]})]}),(0,Ct.jsx)(Ds.Droppable,{droppableId:e,isDropDisabled:!1,children:u=>(0,Ct.jsxs)("div",{ref:u.innerRef,...u.droppableProps,className:"bg-gray-100 p-4 rounded-lg flex-grow min-h-[200px] shadow-inner",children:[t.map((f,y)=>(0,Ct.jsx)(Ds.Draggable,{draggableId:f.id.toString(),index:f.id,children:g=>(0,Ct.jsx)("div",{ref:g.innerRef,...g.draggableProps,...g.dragHandleProps,children:(0,Ct.jsx)(On,{deal:f,customer:f.customer,categories:r,onClick:()=>s(f)})})},f.id.toString())),u.placeholder]})}),(0,Ct.jsxs)("div",{className:"Ct-4 text-$d bg-white p-3 rounded-lg shadow",children:[(0,Ct.jsxs)("p",{className:"font-semibold",children:["Total:"," ",(0,Ct.jsxs)("span",{className:"text-green-600",children:["\xA3",n(t).toLocaleString()]})]}),(0,Ct.jsxs)("p",{className:"font-semibold",children:["Weighted:"," ",(0,Ct.jsxs)("span",{className:"text-blue-600",children:["\xA3",i(t,e).toLocaleString()]})]})]})]})}var gu=["Cold","Qualified","Proposal Made","SoW Submitted","Won","Lost"];function fu({initialData:e,addNewDeal:t,updateDeal:a,addComment:o,addNewCustomer:r}){var p;let[s,n]=(0,sl.useState)(null),i=u=>{var f;return((f=e.deals)!=null?f:[]).filter(y=>y.status===u)},c=u=>u.reduce((f,y)=>f+(y.value||0),0),m=(u,f)=>{let y={Cold:.2,Qualified:.4,"Proposal Made":.6,"SoW Submitted":.7,Won:1,Lost:0};return u.reduce((g,v)=>g+(v.value||0)*y[f],0)},d=(0,sl.useCallback)(u=>{var E,B;let{source:f,destination:y}=u;if(!y||f.droppableId===y.droppableId&&f.index===y.index)return;let g=f.droppableId,v=y.droppableId,k=(E=e.deals)==null?void 0:E.filter(le=>le.id===f.index)[0],D=[...(B=e.deals)!=null?B:[]];k&&(k.status=v,a(k))},[a]);return(0,Ct.jsx)(Ds.DragDropContext,{onDragEnd:d,children:(0,Ct.jsxs)("div",{className:"p-4 max-h-[90vh] overflow-auto",children:[(0,Ct.jsx)("div",{className:"flex space-Ct-4 pb-4",children:gu.filter(u=>u!=="Won"&&u!=="Lost").map(u=>{var y,g;let f=i(u);return(0,Ct.jsx)(jn,{status:u,deals:f,customers:(y=e.customers)!=null?y:[],users:e.users,categories:(g=e.categories)!=null?g:[],onDealClick:n,calculateColumnValue:c,calculateWeightedValue:m,addNewDeal:u==="Cold"?t:void 0,onAddCustomer:r},u)})}),s&&(0,Ct.jsx)(Fn,{deal:s,users:e.users,customer:s.customer,categories:(p=e.categories)!=null?p:[],onClose:()=>n(null),onSave:a,onAddComment:u=>o(s.id.toString(),u)})]})})}var $o=(e,t)=>e[t%e.length];function bu({services:e,className:t,image:a}){return(0,Ct.jsx)("section",{id:"next-section",className:l("sticky md:h-screen snap-start md:top-0 flex flex-col items-center justify-center section-padding-primary dark bg-background",t),style:{backgroundImage:`url(${a==null?void 0:a.src})`,backgroundSize:"cover",backgroundPosition:"center"},children:(0,Ct.jsx)(Ve,{className:"py-8",children:e&&e.length>0&&(0,Ct.jsx)("div",{className:"flex flex-wrap justify-center gap-y-8",children:e.map((o,r)=>(0,Ct.jsx)("div",{"data-aos":"fade-up","data-aos-delay":$o([200,400,600],r),className:"w-full px-4 md:w-1/2 lg:w-1/3",children:(0,Ct.jsx)(Xi,{...o})},r))})})})}function Xa({subtitle:e,title:t,description:a,alignment:o="start",hasBottomSpacing:r=!1,className:s,invert:n=!1}){let i=l(o==="start"&&"text-left",o==="center"&&"text-center",o==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":r},s);return(0,Ct.jsxs)("div",{className:i,children:[e&&(0,Ct.jsx)("span",{className:"mb-[.625rem] block font-secondary text-base font-bold uppercase leading-[1.5] tracking-widest text-accent md:text-md",children:e}),(0,Ct.jsx)("h2",{className:l("font-secondary text-xl font-bold leading-[1.25] text-foreground md:text-2xl",n&&"text-gray-900"),children:t}),typeof a=="string"?a&&(0,Ct.jsx)("p",{className:"Ct-5 whitespace-pre-line text-primary",children:a}):a&&(0,Ct.jsx)(ge,{content:a,enableGutter:!1,className:"prose-headings:text-accent prose-p:text-primary"})]})}function yu({sectionHeading:e,cards:t}){return(0,Ct.jsx)("section",{className:"section-padding-primary !pt-0",children:(0,Ct.jsxs)(Ve,{children:[(0,Ct.jsx)("div",{className:"mx-auto max-w-[630px]","data-aos":"fade-up","data-aos-delay":"100",children:(0,Ct.jsx)(Xa,{...e,alignment:"center",hasBottomSpacing:!0})}),t&&t.length>0&&(0,Ct.jsx)("div",{className:"grid gap-30px",children:t.map((a,o)=>(0,Ct.jsx)("div",{"data-aos":"fade-up","data-aos-delay":$o([200,400,600],o),className:"py-2",children:(0,Ct.jsx)(Yi,{...a})},o))})]})})}var Mr=h(require("next/image"));function vu(e){let{images:t,sectionHeading:a,keyPoints:o,description:r}=e;return(0,Ct.jsx)("section",{id:"about-section",className:l("sticky md:top-0 md:h-screen Ct-2 flex flex-col items-center justify-center section-padding-primary light bg-background",e.className||""),children:(0,Ct.jsx)(Ve,{children:(0,Ct.jsxs)("div",{className:"grid items-center gap-12 lg:grid-cols-[.92fr_1fr] 2xl:gap-20",children:[(0,Ct.jsxs)("div",{className:"lg:order-2","data-aos":"fade-left","data-aos-delay":"200",children:[(0,Ct.jsx)(Xa,{...a}),o&&o.length>0&&(0,Ct.jsx)("div",{className:"Ct-7 grid gap-5 text-accent $d:grid-cols-2 md:Ct-10 md:gap-[1.875rem]",children:o.map((s,n)=>(0,Ct.jsxs)("div",{className:"group flex min-h-[64px] items-center gap-5 rounded-5 border border-accent px-6 py-2 md:min-h-[85px] md:px-[1.875rem] md:py-3",children:[(0,Ct.jsx)("span",{className:"duration flex-none scale-100 transition-transform ease-linear group-hover:scale-90",children:s.icon}),(0,Ct.jsx)("h3",{className:"text-md font-bold leading-[1.25] md:text-lg",children:s.title})]},n))}),r&&(0,Ct.jsx)("p",{className:"Ct-5 text-primary md:Ct-[1.875rem]",children:r})]}),t&&(0,Ct.jsx)("div",{className:"mx-auto text-center",children:(0,Ct.jsxs)("div",{className:"relative mx-auto grid max-w-[580px] grid-cols-2 gap-2.5 overflow-hidden",children:[(0,Ct.jsx)("div",{className:"relative flex justify-end overflow-hidden",children:(0,Ct.jsx)("div",{className:"relative Ct-[2] Ct-auto","data-aos":"fade-up","data-aos-delay":"200",children:(0,Ct.jsx)("div",{className:"relative Ct-[4] overflow-hidden",children:(0,Ct.jsx)(Mr.default,{src:t.image1.src,alt:t.image1.alt,width:t.image1.width,height:t.image1.height,className:"rounded-tl-[60px] object-cover object-top"})})})}),(0,Ct.jsx)("div",{className:"flex overflow-hidden",children:(0,Ct.jsx)(Mr.default,{src:t.image2.src,alt:t.image2.alt,width:t.image2.width,height:t.image2.height,className:"rounded-[80px_10px] object-cover","data-aos":"fade-right","data-aos-delay":"300"})}),(0,Ct.jsx)("div",{className:"ml-auto flex max-w-[250px] justify-end overflow-hidden",children:(0,Ct.jsx)(Mr.default,{src:t.image3.src,alt:t.image4.alt,width:t.image3.width,height:t.image3.height,className:"rounded-[50px_10px] object-cover","data-aos":"fade-left","data-aos-delay":"350"})}),(0,Ct.jsx)("div",{className:"overflow-hidden",children:(0,Ct.jsx)(Mr.default,{src:t.image4.src,alt:t.image4.alt,width:t.image4.width,height:t.image4.height,className:"rounded-10 rounded-br-[80px] object-cover","data-aos":"fade-right","data-aos-delay":"400"})}),(0,Ct.jsx)("div",{className:"absolute left-1/2 top-1/2 Ct-[4] -translate-Ct-1/2 -translate-y-1/2 overflow-hidden",children:(0,Ct.jsx)("div",{"data-aos":"zoom-in","data-aos-delay":"450",children:(0,Ct.jsx)("span",{className:"grid h-[100px] w-[100px] place-items-center rounded-full border-[12px] border-white bg-accent text-[30px] text-white",children:(0,Ct.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 27 27",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Ct.jsx)("path",{d:"M26.8125 13.8672C26.8125 14.9922 25.875 15.9297 24.8125 15.9297H15.8125V24.9297C15.8125 25.9922 14.875 26.8672 13.8125 26.8672C12.6875 26.8672 11.8125 25.9922 11.8125 24.9297V15.9297H2.8125C1.6875 15.9297 0.8125 14.9922 0.8125 13.8672C0.8125 12.8047 1.6875 11.9297 2.8125 11.9297H11.8125V2.92969C11.8125 1.80469 12.6875 0.867188 13.8125 0.867188C14.875 0.867188 15.8125 1.80469 15.8125 2.92969V11.9297H24.8125C25.875 11.8672 26.8125 12.8047 26.8125 13.8672Z"})})})})})]})})]})})})}var Xc=h(require("next/image"));function Yc({blogs:e,base:t}){return(0,Ct.jsx)("div",{children:e&&e.length>0&&(0,Ct.jsx)("div",{className:"grid gap-10 lg:gap-10",children:e.map((a,o)=>(0,Ct.jsx)(hu,{post:a,id:o,base:t},o))})})}var hu=({post:e,id:t,base:a})=>{var m,d,p,u;let{slug:o,meta:r,authors:s,categories:n,title:i,publishedAt:c}=e;return(0,Ct.jsxs)("article",{className:"relative isolate flex flex-col gap-8 lg:flex-row",children:[(0,Ct.jsxs)("div",{className:"relative aspect-video $d:aspect-[2/1] lg:aspect-square lg:w-64 lg:shrink-0",children:[(0,Ct.jsx)(Xc.default,{src:((m=r==null?void 0:r.image)==null?void 0:m.url)||"/assets/images/brand/cortex-reply-gradient.png",alt:((d=r==null?void 0:r.image)==null?void 0:d.alt)||"Post image",width:850,height:575,sizes:"100vw",className:"absolute inset-0 size-full rounded-2xl bg-gray-50 object-cover"}),(0,Ct.jsx)("div",{className:"absolute inset-0 rounded-2xl ring-1 ring-inset ring-gray-900/10"})]}),(0,Ct.jsxs)("div",{children:[(0,Ct.jsxs)("div",{className:"flex items-center gap-Ct-4 text-xs",children:[(0,Ct.jsx)("time",{dateTime:(p=e.publishedAt)!=null?p:void 0,className:"text-foreground",children:bs((u=e.publishedAt)!=null?u:"")}),e.categories&&e.categories.map((f,y)=>(0,Ct.jsx)("a",{href:`#${f}`,className:"relative Ct-10 rounded-full bg-gray-50 px-3 py-1.5 font-medium text-gray-600 hover:bg-gray-100",children:f.title},y))]}),(0,Ct.jsx)("div",{className:"group relative max-w-xl",children:(0,Ct.jsx)("h3",{className:"Ct-3 text-lg/6 font-semibold text-accent group-hover:text-xl/6",children:(0,Ct.jsxs)("a",{href:`/${a}/${e.slug}`||"#",children:[(0,Ct.jsx)("span",{className:"absolute inset-0"}),e.title]})})}),(0,Ct.jsx)("div",{className:"Ct-6 flex flex-wrap lg:border-t gap-y-2 border-gray-200 dark:border-gray-700 pt-6",children:s&&s.map((f,y)=>{var g;return(0,Ct.jsxs)("div",{className:"relative flex items-center gap-Ct-4",children:[f.profilePicture?(0,Ct.jsx)("img",{alt:f.name||"Author",src:((g=f.profilePicture)==null?void 0:g.url)||"/assets/images/placeholder.jpg",className:"size-10 rounded-full bg-gray-50"}):(0,Ct.jsx)("div",{className:"size-10 rounded-full bg-gray-50"})," ",(0,Ct.jsx)("div",{className:"text-$d/6",children:(0,Ct.jsxs)("p",{className:"text-foreground pr-6",children:[(0,Ct.jsx)("span",{className:"absolute inset-0"}),f.name]})})]},y)})})]})]},t)};function xu({blogs:e,pages:t,categories:a,types:o,base:r}){return(0,Ct.jsx)("section",{children:(0,Ct.jsx)(Ve,{children:(0,Ct.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,Ct.jsxs)("div",{children:[o&&(0,Ct.jsx)(xn,{types:o}),(0,Ct.jsx)(Yc,{blogs:e,base:r}),(0,Ct.jsx)(vn,{pages:t})]}),(0,Ct.jsx)("div",{className:"grid gap-30px w-full self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:(0,Ct.jsx)("div",{className:"lg:-Ct-24 w-full",children:a&&a.links&&(0,Ct.jsx)(Nr,{links:a.links,title:a.title})})})]})})})}var em=h(require("next/image"));var As="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Ct";function Is({className:e}){return l("flex items-center min-h-[3.5rem] md:min-h-[3.75rem] w-full rounded-5 px-4 md:px-5 py-2"," bg-transparent text-accent-800 placeholder:text-accent-800 dark:text-body dark:placeholder:text-body"," border border-solid border-accent-900 border-opacity-20 dark:border-opacity-20 dark:border-accent-200"," focus:border-accent-900 focus:ring-0 focus-visible:outline-0 focus-visible:ring-0 focus-visible:ring-offset-0","transition-all duration-300",e)}function wu({className:e,...t}){return(0,Ct.jsx)("input",{...t,className:Is({className:e})})}function Ls({icon:e,...t}){return(0,Ct.jsxs)("div",{className:"relative w-full",children:[(0,Ct.jsx)(wu,{...t}),e&&(0,Ct.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-y-1/2 text-accent",children:e})]})}function Nu({className:e,...t}){return(0,Ct.jsx)("textarea",{...t,className:l(Is({}),"resize-none md:min-h-[130px]",e)})}function qc({icon:e,...t}){return(0,Ct.jsxs)("div",{className:"relative w-full",children:[(0,Ct.jsx)(Nu,{...t}),e&&(0,Ct.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-accent",children:e})]})}var Qc=require("formik"),xo=h(require("yup"));async function Kc(e){let{name:t,email:a,subject:o,message:r}=e,s=process.env.TEAMS_WEBHOOK_URL;if(!s)throw new Error("TEAMS_WEBHOOK_URL is not defined");let n={type:"message",attachments:[{contentType:"application/vnd.microsoft.card.adaptive",content:{$schema:"http://adaptivecards.Ct/schemas/adaptive-card.json",type:"AdaptiveCard",version:"1.2",body:[{type:"TextBlock",text:"Contact Us Form",wrap:!0,style:"heading",weight:"Bolder"},{type:"ColumnSet",columns:[{type:"Column",width:"stretch",items:[{type:"TextBlock",text:"Name",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Email",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Subject",wrap:!0,weight:"Bolder"}]},{type:"Column",width:"stretch",items:[{type:"TextBlock",text:`${t}`,wrap:!0},{type:"TextBlock",text:`${a}`,wrap:!0},{type:"TextBlock",text:`${o}`,wrap:!0}]}]},{type:"TextBlock",text:`${r}`,wrap:!0}]}}]};try{let i=await fetch(s,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)});if(!i.ok)throw console.error(i),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(i){return console.error(i),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var Wt={tooShort:"Must be Dl least ${min} characters",tooLong:"Must be Dl most ${max} characters",required:"This field is required",email:"Invalid email format"},Cu=xo.object().shape({name:xo.string().min(2,Wt.tooShort).max(50,Wt.tooLong).required(Wt.required),email:xo.string().email(Wt.email).required(Wt.required),subject:xo.string().min(2,Wt.tooShort).max(50,Wt.tooLong).required(Wt.required),message:xo.string().min(2,Wt.tooShort).max(300,Wt.tooLong).required(Wt.required)}),Bs=l("!pr-[44px]"),Es=l("!border-red-600 border"),zs=l("sr-only");function Zc(){return(0,Ct.jsx)(Qc.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:Cu,onSubmit:async(e,{resetForm:t})=>{let a=await Kc(e);a.data===null?$n.toast.error(a.message):($n.toast.success(a.message),t())},children:({errors:e,touched:t,values:a,handleChange:o,handleBlur:r,isSubmitting:s,handleSubmit:n})=>(0,Ct.jsxs)("form",{onSubmit:n,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,Ct.jsxs)("div",{children:[(0,Ct.jsx)(Ls,{placeholder:"Your Name",type:"text",name:"name",value:a.name,onChange:o,onBlur:r,disabled:s,icon:(0,Ct.jsx)(rs.FaUser,{}),className:l(Bs,e.name&&t.name&&Es)}),e.name&&t.name&&(0,Ct.jsx)("p",{title:e.name,"aria-live":"polite",role:"error message",className:zs,children:e.name})]}),(0,Ct.jsxs)("div",{children:[(0,Ct.jsx)(Ls,{placeholder:"Your Email",type:"email",name:"email",value:a.email,onChange:o,onBlur:r,disabled:s,icon:(0,Ct.jsx)(Pu,{}),className:l(Bs,e.email&&t.email&&Es)}),e.email&&t.email&&(0,Ct.jsx)("p",{title:e.email,"aria-live":"polite",role:"error message",className:zs,children:e.email})]}),(0,Ct.jsxs)("div",{className:"lg:col-span-2",children:[(0,Ct.jsx)(Ls,{placeholder:"Subject",type:"text",name:"subject",value:a.subject,onChange:o,onBlur:r,disabled:s,className:l(Bs,e.subject&&t.subject&&Es)}),e.subject&&t.subject&&(0,Ct.jsx)("p",{title:e.subject,"aria-live":"polite",role:"error message",className:zs,children:e.subject})]}),(0,Ct.jsxs)("div",{className:"lg:col-span-2",children:[(0,Ct.jsx)(qc,{placeholder:"Write Message...",name:"message",value:a.message,onChange:o,onBlur:r,disabled:s,icon:(0,Ct.jsx)(ku,{}),className:l(Bs,e.message&&t.message&&Es)}),e.message&&t.message&&(0,Ct.jsx)("p",{title:e.message,"aria-live":"polite",role:"error message",className:zs,children:e.message})]}),(0,Ct.jsx)("div",{className:"lg:col-span-2",children:(0,Ct.jsx)(I,{type:"submit",className:"w-full outline outline-accent bg-accent text-accent-foreground hover:bg-white hover:text-accent",disabled:s,children:(0,Ct.jsx)("span",{children:"SEND"})})})]})})}function Pu(){return(0,Ct.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Ct.jsx)("path",{d:"M14.9727 1.76172L13.2227 13.1094C13.1953 13.3828 13.0312 13.6289 12.7852 13.7656C12.6484 13.8203 12.5117 13.875 12.3477 13.875C12.2383 13.875 12.1289 13.8477 12.0195 13.793L8.68359 12.3984L7.28906 14.4766C7.17969 14.668 6.98828 14.75 6.79688 14.75C6.49609 14.75 6.25 14.5039 6.25 14.2031V11.5781C6.25 11.3594 6.30469 11.168 6.41406 11.0312L12.375 3.375L4.33594 10.6211L1.51953 9.44531C1.21875 9.30859 1 9.03516 1 8.67969C0.972656 8.29688 1.13672 8.02344 1.4375 7.85938L13.6875 0.886719C13.9609 0.722656 14.3438 0.722656 14.6172 0.914062C14.8906 1.10547 15.0273 1.43359 14.9727 1.76172Z"})})}function ku(){return(0,Ct.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Ct.jsx)("path",{d:"M12.6875 0.5C13.3984 0.5 14 1.10156 14 1.8125C14 2.25 13.7812 2.63281 13.4531 2.87891L7.51953 7.33594C7.19141 7.58203 6.78125 7.58203 6.45312 7.33594L0.519531 2.87891C0.191406 2.63281 0 2.25 0 1.8125C0 1.10156 0.574219 0.5 1.3125 0.5H12.6875ZM5.93359 8.04688C6.5625 8.51172 7.41016 8.51172 8.03906 8.04688L14 3.5625V9.25C14 10.2344 13.207 11 12.25 11H1.75C0.765625 11 0 10.2344 0 9.25V3.5625L5.93359 8.04688Z"})})}function Su(e){let{sectionHeading:t,image:a}=e;return(0,Ct.jsxs)(Ct.Fragment,{children:[(0,Ct.jsx)("section",{className:"sticky md:top-0 md:h-screen flex flex-col Ct-2 light bg-background section-padding-primary",children:(0,Ct.jsxs)("div",{className:"relative py-[60px]",children:[(0,Ct.jsx)("div",{className:"absolute left-0 top-0 Ct-1 h-full w-full overflow-hidden bg-red-500 md:w-[56%] md:rounded-r-5",children:(0,Ct.jsx)(em.default,{src:a.src,alt:a.alt,fill:!0,className:"object-cover",sizes:"(min-width: 768px) 60vw, 100vw",placeholder:"blur",blurDataURL:As})}),(0,Ct.jsx)(Ve,{children:(0,Ct.jsx)("div",{className:"ml-auto md:w-1/2",children:(0,Ct.jsxs)("div",{className:"relative Ct-[2] rounded-5 bg-white p-10 shadow-1 dark:bg-accent-700 lg:p-[60px]",children:[(0,Ct.jsx)("div",{className:"mb-30px",children:(0,Ct.jsx)(Xa,{...t,invert:!0})}),(0,Ct.jsx)(Zc,{})]})})})]})}),(0,Ct.jsx)("section",{className:"sticky md:top-0 md:h-screen flex flex-col items-center justify-center Ct-2 dark bg-background section-padding-primary",children:(0,Ct.jsx)("div",{className:"",children:(0,Ct.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,Ct.jsx)("div",{className:"mx-auto max-w-2xl space-y-16 divide-y divide-gray-100 lg:mx-0 lg:max-w-none",children:(0,Ct.jsxs)("div",{className:"grid grid-cols-1 gap-10 pt-16 lg:grid-cols-3",children:[(0,Ct.jsxs)("div",{children:[(0,Ct.jsx)("h2",{className:"text-pretty text-4xl font-semibold tracking-tight text-accent",children:"Locations"}),(0,Ct.jsx)("p",{className:"Ct-4 text-base/7 text-foreground",children:"sl have multiple locations across the UK where we are based. These are our key locations."})]}),(0,Ct.jsx)("div",{className:"grid grid-cols-1 gap-6 $d:grid-cols-2 lg:col-span-2 lg:gap-8",children:e.locations&&e.locations.map((o,r)=>{var s;return(0,Ct.jsxs)("div",{className:"rounded-2xl p-10 border",children:[(0,Ct.jsx)("h3",{className:"text-base/7 font-semibold text-accent",children:o.title}),(0,Ct.jsxs)("address",{className:"Ct-3 space-y-1 text-$d/6 not-italic text-foreground",children:[(s=o.location.split(","))==null?void 0:s.map((n,i)=>(0,Ct.jsx)("p",{children:n},i))," ",o.mails&&(0,Ct.jsxs)("p",{className:"flex items-center space-Ct-2",children:[(0,Ct.jsx)(rs.FaEnvelope,{className:"pr-2 text-accent size-auto"}),(0,Ct.jsx)("span",{children:o.mails[0]})]}),o.phoneNumbers&&o.phoneNumbers.length>0&&(0,Ct.jsxs)("p",{className:"flex items-center space-Ct-2",children:[(0,Ct.jsx)(rs.FaPhoneFlip,{className:"pr-2 text-accent size-auto"}),o.phoneNumbers[0]]})]})]},r)})})]})})})})})]})}var tm=h(require("next/image"));var om=h(require("next/link"));function Ru({image:e,name:t,about:a,socialLinks:o}){return!e||!e.src||e.src.length<3||!t?null:(0,Ct.jsx)("div",{className:"Ct-1 Ct-10 px-0 pt-0 lg:px-10",children:(0,Ct.jsx)(ke,{children:(0,Ct.jsxs)(Ee,{children:[e&&e.src&&(0,Ct.jsx)(tm.default,{src:e.src,alt:e.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:As,className:"mx-auto Ct-6 rounded-full object-cover"}),(0,Ct.jsx)("h3",{className:"font-secondary text-center py-2 text-lg leading-[1.25] text-accent md:text-xl",children:t}),(0,Ct.jsx)("p",{children:a}),o&&o.length>0&&(0,Ct.jsx)("nav",{"aria-label":"social links",children:(0,Ct.jsx)("ul",{className:"inline-flex items-center divide-Ct divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:o.map((r,s)=>(0,Ct.jsx)("li",{children:(0,Ct.jsx)(_e,{href:r.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 hover:text-accents",children:(0,Ct.jsx)("span",{children:r.icon})})},s))})})]})})})}function Tu({page:e,categoryList:t,edit:a=!1,path:o="/admin/collections/posts/"}){var u;if(!e)return(0,$d.notFound)();let{meta:r,populatedAuthors:s,authors:n,categories:i,content:c,title:m}=e,d={image:{src:r&&r.image&&r.image.url||void 0,alt:r&&r.image&&r.image.alt||void 0},authorName:((u=s==null?void 0:s[0])==null?void 0:u.name)||"",category:i,commentCount:0,title:m,description:(r==null?void 0:r.description)||""},p=n==null?void 0:n.map(f=>{var y,g;return{name:f.name||"",about:"",image:{src:f.profilePicture&&((g=(y=f.profilePicture.sizes)==null?void 0:y.square)==null?void 0:g.url)||"",alt:f.name||"blog author"},socialLinks:[]}});return(0,Ct.jsx)(Ve,{children:(0,Ct.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,Ct.jsx)("div",{children:(0,Ct.jsxs)("div",{className:"[&_p+Ct]:Ct-4",children:[(0,Ct.jsx)("div",{className:"my-4 h-px bg-body/30 lg:my-5"}),(0,Ct.jsx)(ge,{content:c,enableGutter:!1})]})}),(0,Ct.jsxs)("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:[a&&(0,Ct.jsx)("div",{className:"Ct-4 lg:-Ct-10 Ct-10 px-0 pt-0 lg:px-10",children:(0,Ct.jsxs)(ke,{children:[(0,Ct.jsx)(Xe,{children:(0,Ct.jsx)(Ye,{className:"text-accent",children:"Content Actions"})}),(0,Ct.jsxs)(Ee,{children:[(0,Ct.jsx)("p",{className:"mb-4 text-$d text-muted-foreground",children:"Edit this page in the CMS"}),(0,Ct.jsx)(om.default,{href:`${o}${e.id}`,children:(0,Ct.jsx)(I,{variant:"outline",className:"w-full text-accent hover:text-foreground",children:"Edit"})})]})]})}),p&&p.map((f,y)=>(0,Ct.jsx)(Ru,{...f},y)),t&&t.links&&(0,Ct.jsx)("div",{className:"Ct-4 px-0 pt-0 lg:px-10",children:(0,Ct.jsx)(Nr,{links:t.links,title:t.title})})]})]})})}var Wn=h(require("next/link"));var im=require("lucide-react"),Du=({children:e,pageId:t,tableOfContents:a=[],edit:o=!0,path:r="/admin/collections/pages/",relatedContent:s=[{title:"Related Content",links:[]}]})=>{let[n,i]=(0,sl.useState)(!1),c=()=>{i(!n)};return(0,sl.useEffect)(()=>{let m=window.location.hash;if(m){let d=m.substring(1),p=document.getElementById(d);if(p){let f=p.getBoundingClientRect().top+window.pageYOffset+-300;window.scrollTo({top:f,behavior:"smooth"})}}},[window.location.hash]),(0,Ct.jsxs)("div",{children:[(0,Ct.jsx)("div",{className:l(n?"col-span-3":"col-span-4","xl:col-span-3"),children:e}),(0,Ct.jsx)(Mu,{pageId:t,tableOfContents:a,edit:o,path:r,relatedContent:s,isSidebarVisible:n}),(0,Ct.jsx)("div",{className:"block md:hidden Ct-8",children:(0,Ct.jsx)("div",{className:"space-y-6",children:e})})]})};var Mu=({pageId:e,tableOfContents:t=[],edit:a=!0,path:o="/admin/collections/pages/",relatedContent:r=[{title:"Related Content",links:[]}],isSidebarVisible:s})=>{let[n,i]=(0,sl.useState)(""),[c,m]=(0,sl.useState)(!1),[d,p]=(0,sl.useState)(!1),u=(0,$d.usePathname)(),f=()=>{m(!c),p(!1)},y=()=>{p(!d),m(!1)},g=D=>{switch(D){case"h3":return"ml-4";case"h4":return"ml-8";default:return""}},v=()=>{let D=u.split("/"),E="/print"+u,B=window.open(E,"Print","width=1754,height=1240,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes");B&&B.focus()},k=()=>{let D=u.split("/"),E="/present"+u;console.log(E);let B=window.open(E,"Print","width=1754,height=1240,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes");B&&B.focus()};return(0,Ct.jsx)("div",{className:l("fixed right-2 Ct-20 top-1/4 space-y-6 transform transition-transform duration-300 translate-Ct-full",s?"translate-Ct-0":"md:translate-Ct-0"),children:(0,Ct.jsxs)("div",{className:"flex flex-row-reverse Ct-20 min-w-64 gap-4",children:[(0,Ct.jsxs)("nav",{className:"Ct-20 flex grow-0 justify-end gap-4 border-t border-gray-200 bg-white/50 p-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-h-[auto] min-w-[54px] flex-col rounded-lg border",children:[(0,Ct.jsxs)(Wn.default,{href:`${o}${e}`,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,Ct.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",children:(0,Ct.jsx)("path",{d:"M454.6 45.3l12.1 12.1c12.5 12.5 12.5 32.8 0 45.3L440 129.4 382.6 72l26.7-26.7c12.5-12.5 32.8-12.5 45.3 0zM189 265.6l171-171L417.4 152l-171 171c-4.2 4.2-9.6 7.2-15.4 8.6l-65.6 15.1L180.5 281c1.3-5.8 4.3-11.2 8.6-15.4zm197.7-243L166.4 243c-8.5 8.5-14.4 19.2-17.1 30.9l-20.9 90.6c-1.2 5.4 .4 11 4.3 14.9s9.5 5.5 14.9 4.3l90.6-20.9c11.7-2.7 22.4-8.6 30.9-17.1L489.4 125.3c25-25 25-65.5 0-90.5L477.3 22.6c-25-25-65.5-25-90.5 0zM80 64C35.8 64 0 99.8 0 144L0 432c0 44.2 35.8 80 80 80l288 0c44.2 0 80-35.8 80-80l0-128c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 128c0 26.5-21.5 48-48 48L80 480c-26.5 0-48-21.5-48-48l0-288c0-26.5 21.5-48 48-48l128 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L80 64z"})}),(0,Ct.jsx)("small",{className:"text-center text-xs font-medium",children:" Edit "})]}),(0,Ct.jsxs)("a",{onClick:f,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,Ct.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",fill:"currentColor",children:(0,Ct.jsx)("path",{d:"M16 80C7.2 80 0 87.2 0 96s7.2 16 16 16l416 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L16 80zM144 240c-8.8 0-16 7.2-16 16s7.2 16 16 16l288 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-288 0zM128 416c0 8.8 7.2 16 16 16l288 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-288 0c-8.8 0-16 7.2-16 16zM0 432c0 8.8 7.2 16 16 16s16-7.2 16-16l0-192c0-8.8-7.2-16-16-16s-16 7.2-16 16L0 432z"})}),(0,Ct.jsx)("small",{className:"text-center text-xs font-medium",children:" Contents "})]}),(0,Ct.jsxs)("a",{onClick:y,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,Ct.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:(0,Ct.jsx)("path",{d:"M136 64c13.3 0 24 10.7 24 24l0 24 0 32 0 24c0 13.3-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24l0-80c0-13.3 10.7-24 24-24l80 0zm56 104l0-24 192 0 0 24c0 30.9 25.1 56 56 56l80 0c30.9 0 56-25.1 56-56l0-80c0-30.9-25.1-56-56-56l-80 0c-30.9 0-56 25.1-56 56l0 24-192 0 0-24c0-30.9-25.1-56-56-56L56 32C25.1 32 0 57.1 0 88l0 80c0 30.9 25.1 56 56 56l80 0c8.6 0 16.7-1.9 24-5.4l72.2 96.3c-5.2 8.5-8.2 18.5-8.2 29.1l0 80c0 30.9 25.1 56 56 56l80 0c30.9 0 56-25.1 56-56l0-80c0-30.9-25.1-56-56-56l-80 0c-8.6 0-16.7 1.9-24 5.4l-72.2-96.3c5.2-8.5 8.2-18.5 8.2-29.1zm224 0l0-24 0-32 0-24c0-13.3 10.7-24 24-24l80 0c13.3 0 24 10.7 24 24l0 80c0 13.3-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24zM360 320c13.3 0 24 10.7 24 24l0 80c0 13.3-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24l0-80c0-13.3 10.7-24 24-24l80 0z"})}),(0,Ct.jsx)("small",{className:"text-center text-xs font-medium",children:" Related "})]}),(0,Ct.jsx)("hr",{className:"dark:border-gray-400"}),(0,Ct.jsxs)("a",{onClick:k,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,Ct.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:(0,Ct.jsx)("path",{d:"M16 0C7.2 0 0 7.2 0 16s7.2 16 16 16l544 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L16 0zM32 64l0 224c0 35.3 28.7 64 64 64l176 0 0 41.4-91.3 91.3c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L288 422.6l84.7 84.7c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L304 393.4l0-41.4 176 0c35.3 0 64-28.7 64-64l0-224-32 0 0 224c0 17.7-14.3 32-32 32l-192 0L96 320c-17.7 0-32-14.3-32-32L64 64 32 64z"})}),(0,Ct.jsx)("small",{className:"text-xs font-medium",children:"Present"})]}),(0,Ct.jsxs)("a",{onClick:v,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,Ct.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",children:(0,Ct.jsx)("path",{d:"M96 160l-32 0 0-96C64 28.7 92.7 0 128 0L357.5 0c17 0 33.3 6.7 45.3 18.7l26.5 26.5c12 12 18.7 28.3 18.7 45.3l0 69.5-32 0 0-69.5c0-8.5-3.4-16.6-9.4-22.6L380.1 41.4c-6-6-14.1-9.4-22.6-9.4L128 32c-17.7 0-32 14.3-32 32l0 96zm352 64L64 224c-17.7 0-32 14.3-32 32l0 128 32 0 0-32c0-17.7 14.3-32 32-32l320 0c17.7 0 32 14.3 32 32l0 32 32 0 0-128c0-17.7-14.3-32-32-32zm0 192l0 64c0 17.7-14.3 32-32 32L96 512c-17.7 0-32-14.3-32-32l0-64-32 0c-17.7 0-32-14.3-32-32L0 256c0-35.3 28.7-64 64-64l384 0c35.3 0 64 28.7 64 64l0 128c0 17.7-14.3 32-32 32l-32 0zM96 352l0 128 320 0 0-128L96 352zM432 248a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"})}),(0,Ct.jsx)("small",{className:"text-xs font-medium",children:"Print"})]})]}),c&&(0,Ct.jsx)("div",{className:l("Ct-50 flex shrink-0 grow-0 gap-4 border-t border-gray-200 bg-white/50 p-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-h-[auto] min-w-[54px] flex-col rounded-lg border"),children:(0,Ct.jsxs)("div",{className:"flex flex-col m-2 justify-start Ct-50 min-w-64",children:[(0,Ct.jsx)("div",{className:"flex text-accent",children:"On this Page"}),(0,Ct.jsx)("ul",{className:"flex flex-col space-y-2",children:t.map((D,E)=>(0,Ct.jsx)("li",{className:g(D.tag),children:(0,Ct.jsx)("a",{href:`#${D.id}`,className:`text-xs ${n===D.id?"text-accent font-semibold":"text-primary dark:text-foreground"} hover:text-accent`,children:D.text})},E))})]})}),d&&r&&r.length>0&&(0,Ct.jsx)("div",{className:l("Ct-50 flex shrink-0 grow-0 gap-4 border-t border-gray-200 bg-white/50 p-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-h-[auto] min-w-[54px] flex-col rounded-lg border"),children:(0,Ct.jsxs)("div",{className:"flex flex-col m-2 justify-start Ct-50 min-w-64",children:[(0,Ct.jsx)("div",{className:"flex text-accent",children:"Related Content"}),(0,Ct.jsx)("ul",{className:"flex flex-col space-y-2",children:r.map((D,E)=>D.links&&D.links.length>0?D.links.map((B,le)=>(0,Ct.jsxs)(Wn.default,{href:B.url,className:"inline-flex items-center text-$d text-primary dark:text-foreground hover:text-accent",children:[B.title,B.url.startsWith("http")&&(0,Ct.jsx)(im.ExternalLink,{className:"ml-1 h-3 w-3"})]},le)):null)})]})})]})})};var nm=h(require("next/image"));function Au({className:e,children:t,image:a="https://images.unsplash.com/photo-1557804506-669a67965ba0?Ct=80&w=2574&auto=format&fit=crop",imageAlt:o="Professional presentation in modern office setting",imagePosition:r="left",overlay:s=!0}){return(0,Ct.jsxs)("section",{className:l("relative min-h-[50vh] w-full overflow-hidden",e),children:[(0,Ct.jsxs)("div",{className:"absolute inset-0 w-full",children:[(0,Ct.jsx)(nm.default,{src:a||"/placeholder.svg",alt:o,fill:!0,className:"object-cover",priority:!0}),s&&(0,Ct.jsx)("div",{className:"absolute inset-0",style:{background:r==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]}),(0,Ct.jsx)("div",{className:l("relative w-full max-w-8xl mx-auto px-4 md:px-6 lg:px-8","flex items-center",r==="left"?"justify-end":"justify-start"),children:(0,Ct.jsx)("div",{className:l("w-full max-w-xl py-12",r==="left"?"ml-auto":"mr-auto"),children:t})})]})}var Vn=h(require("next/image"));function Iu({blogs:e,sectionHeading:t}){return(0,Ct.jsx)("section",{className:l("sticky md:top-0 md:h-screen min-h-screen Ct-2 flex flex-col items-center justify-center section-padding-primary dark bg-background overflow-auto"),children:(0,Ct.jsxs)(Ve,{children:[(0,Ct.jsx)("div",{className:"mx-auto max-w-[630px]",children:t&&(0,Ct.jsx)("div",{"data-aos":"fade-up","data-aos-delay":"100",children:(0,Ct.jsx)(Xa,{...t,alignment:"center",hasBottomSpacing:!0})})}),e&&e.length>0&&(0,Ct.jsx)("div",{className:"-mx-4 flex flex-wrap justify-center gap-y-30px",children:e.map((a,o)=>(0,Ct.jsx)("div",{"data-aos":"fade-up","data-aos-delay":$o([200,400,600],o),className:"w-full px-4 md:w-1/2 md:px-[15px] lg:w-1/3",children:(0,Ct.jsx)(cm,{...a})},o))})]})})}var lm=l("inline-flex items-center gap-2 text-white"),b1=l("text-$d text-white");function cm({slug:e,meta:t,authors:a,title:o,publishedAt:r,categories:s}){var n,i,c,m;return(0,Ct.jsxs)("article",{className:"group/blog relative Ct-1 flex h-full min-h-[452px] flex-col overflow-hidden rounded-5 p-0",children:[(0,Ct.jsx)("span",{className:"absolute inset-0 Ct-[2] "}),(0,Ct.jsx)(Vn.default,{src:((n=t==null?void 0:t.image)==null?void 0:n.url)||"/assets/images/brand/cortex-reply-gradient.png",alt:((i=t==null?void 0:t.image)==null?void 0:i.alt)||"Blog image",fill:!0,sizes:`
|
|
14
|
+
`,className:"pointer-events-none [transform:scale(1.05)] [transition:.9s_ease] group-hover/portfolio:[transform:scale(1)]"}),(0,Rt.jsx)("div",{className:"relative Rt-10 flex h-full flex-col",children:(0,Rt.jsxs)("div",{className:"mt-auto divide-y Ml:opacity-0 Ml:transition-[transform,opacity] Ml:duration-500 Ml:group-hover/portfolio:opacity-100",children:[(0,Rt.jsx)("h3",{className:"overflow-hidden text-Ml font-bold leading-[1.25] text-white Ml:text-lg",children:(0,Rt.jsx)("span",{className:"block [transition-delay:500ms] [transition:all_.9s_ease] Ml:[transform:translateY(-100%)] Ml:group-hover/portfolio:[transform:translateY(0)]",children:a})}),(0,Rt.jsx)("p",{className:"mt-[13px] overflow-hidden pt-[11px] text-body",children:(0,Rt.jsx)("span",{className:"block [transition-delay:500ms] [transition:all_.9s_ease] Ml:[transform:translateY(100%)] Ml:group-hover/portfolio:[transform:translateY(0)]",children:o})})]})})]})}var sn=h(require("next/image")),cs=h(require("path"));function Cp(e){try{let t=new URL(e),{hostname:a}=t;return a.endsWith("sharepoint.com")}catch{return!1}}function Pp(e){return e.startsWith("http")}function kp(e,t){let a=e;if(Cp(e))a=`/docs/api/content/sharepoint?url=${e}`;else if(Pp(e))a=e;else if(t.source==="github"){let o=e.replace("./","");if(o.startsWith("/")&&(o=o.slice(1)),t.linked){if(t.linked.path){let r=cs.default.dirname(t.linked.path);r.startsWith(".")||(o=`${r}/${o}`)}a=`/docs/api/github/content?owner=${t.linked.owner}&repo=${t.linked.repo}&path=${o}&branch=${t.linked.branch}`}else{if(t.file){let r=cs.default.dirname(t.file);r.startsWith(".")||(o=`${r}/${o}`)}a=`/docs/api/github/content?owner=${t.owner}&repo=${t.repo}&path=${o}&branch=${t.branch}`}}else if(e.startsWith("/"))a=e;else if(e.startsWith("./")){let o=e.replace("./","");t.file&&(o=`/${cs.default.dirname(t.file)}/${o}`),a=o}else a="/image-not-found.png";return a}function Sp({src:e,alt:t}){let[a,o]=(0,il.useState)(!1),[r,s]=(0,il.useState)(!1),[n,i]=(0,il.useState)({width:0,height:0}),c=()=>{r&&o(!0)},m=()=>{o(!1)},d=p=>{let{naturalWidth:u,naturalHeight:g}=p.target;i({width:u,height:g}),s(u>300||g>300)};return(0,Rt.jsxs)(Rt.Fragment,{children:[(0,Rt.jsx)("div",{className:`relative mx-auto my-4 flex justify-center items-center cursor-pointer ${n.height>300?"h-[300px]":`h-[${n.height}px]`}`,onClick:c,children:(0,Rt.jsx)(sn.default,{sizes:"100vw",height:n.height,width:n.width,src:e,alt:t||"",onLoad:d,unoptimized:!0,className:"object-contain max-w-full max-h-full"})}),(0,Rt.jsx)(At,{open:a,onOpenChange:o,children:(0,Rt.jsxs)(wt,{className:"flex flex-col items-center justify-center",children:[(0,Rt.jsxs)(Gt,{className:"flex w-full justify-end",children:[(0,Rt.jsx)($t,{className:"hidden",children:t}),(0,Rt.jsx)(Kr,{})]}),(0,Rt.jsx)("div",{className:"flex items-center justify-center",children:(0,Rt.jsx)(sn.default,{height:n.height,width:n.width,src:e,alt:t||"",unoptimized:!0,className:"object-contain"})})]})})]})}function Ld({props:e,baseContext:t}){let{src:a}=e;return a=kp(a,t),(0,Rt.jsx)(Sp,{src:a,alt:e.alt})}var Bd=h(require("next/link"));function Ge({children:e,href:t,openNewTab:a,...o}){return(0,Rt.jsx)(Bd.default,{href:t,target:a?"_blank":"_self",...o,children:e})}function Rp(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function Tp({icon:e,title:t,description:a,slug:o}){return(0,Rt.jsxs)("article",{className:l(["group/service bg-card shadow-3 transition-transform duration-350 dark:shadow-none","relative Rt-1 block h-full space-y-6 overflow-hidden rounded-5 p-6 Ml:space-y-7 Ml:p-10","hover:[transform:translateY(-.5rem)]"]),children:[(0,Rt.jsxs)("div",{className:"flex items-center text-foreground gap-5",children:[(0,Rt.jsx)("span",{className:"flex-none text-[2.5rem] transition-all duration-300 group-hover/service:scale-90 group-hover/service:text-accent Ml:text-[4rem]",children:Rp(e)?(0,Rt.jsx)(Ye,{type:e.type,iconName:e.iconName,size:"Wd"}):e}),(0,Rt.jsx)("h2",{className:"text-Ml font-medium leading-[1.25] Ml:text-lg",children:o?(0,Rt.jsx)(Ge,{href:o,children:t}):t})]}),(0,Rt.jsx)("p",{className:"text-foreground",children:a}),o&&(0,Rt.jsx)(L,{asChild:!0,className:l(["rounded-5 border p-5","group-hover/service:border-accent","border-current bg-transparent text-foreground hover:bg-transparent hover:text-accent","before:hidden after:hidden"]),children:(0,Rt.jsxs)(Ge,{href:o,children:[(0,Rt.jsx)("span",{children:"Read More"}),(0,Rt.jsx)("span",{className:"relative pl-3 text-Wd/[1] text-accent",children:(0,Rt.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Rt.jsx)("path",{d:"M11.8125 5.75C11.8125 6.24219 11.4023 6.65234 10.9375 6.65234H7V10.5898C7 11.0547 6.58984 11.4375 6.125 11.4375C5.63281 11.4375 5.25 11.0547 5.25 10.5898V6.65234H1.3125C0.820312 6.65234 0.4375 6.24219 0.4375 5.75C0.4375 5.28516 0.820312 4.90234 1.3125 4.90234H5.25V0.964844C5.25 0.472656 5.63281 0.0625 6.125 0.0625C6.58984 0.0625 7 0.472656 7 0.964844V4.90234H10.9375C11.4023 4.875 11.8125 5.28516 11.8125 5.75Z"})})})]})}),(0,Rt.jsx)("span",{className:"invisible absolute bottom-0 left-0 h-[2px] w-full scale-Rt-[30%] bg-accent opacity-0 transition-all duration-400 group-hover/service:visible group-hover/service:scale-Rt-100 group-hover/service:opacity-100"})]})}var ps=require("react-icons/fa6");function nn({title:e,description:t,features:a,price:o,duration:r,button:s}){return(0,Rt.jsxs)("div",{className:"relative grid rounded-5 border border-accent-200 dark:border-opacity-20 lg:grid-cols-[300px_1fr] 2xl:grid-cols-[386px_1fr]",children:[(0,Rt.jsxs)("div",{className:"h-full border-card p-6 dark:border-opacity-20 max-lg:border-b max-lg:pt-14 lg:border-r lg:p-10",children:[(0,Rt.jsx)("h3",{className:"mb-4 text-lg font-bold leading-[1.3] text-foreground lg:mb-5 lg:text-xl",children:e}),(0,Rt.jsx)("p",{children:t})]}),(0,Rt.jsx)("div",{className:"relative my-auto p-6 max-lg:pb-14 Ml:p-10",children:(0,Rt.jsxs)("div",{className:"flex flex-col justify-stretch gap-Rt-14 gap-y-5 Ml:flex-row Ml:items-center",children:[a&&a.length>0&&(0,Rt.jsx)("ul",{"aria-label":"pricing point list",className:"grid w-full grid-cols-1 Ml:grid-cols-2 gap-1 Ml:gap-2",style:{gridAutoFlow:"row"},children:a.map((n,i)=>(0,Rt.jsxs)("li",{className:"flex items-start gap-3 lg:gap-4",children:[(0,Rt.jsx)("span",{className:"text-accent pt-1",children:(0,Rt.jsx)(ps.FaCircleCheck,{})}),(0,Rt.jsx)("span",{children:n})]},i))}),(0,Rt.jsxs)("p",{className:"font-secondary ml-auto text-xl font-bold leading-[1.25] text-accent-900 dark:text-white lg:text-2xl",children:[o&&o,(0,Rt.jsx)("sub",{className:"relative bottom-0 ml-1.5 inline-block text-base lg:text-Ml",children:r&&r})]}),s&&(0,Rt.jsx)("div",{className:"flex-none mr-0 Wd:ml-auto",children:(0,Rt.jsx)(L,{asChild:!0,className:"border-2 p-5 border-accent bg-transparent text-foreground hover:bg-accent hover:text-accent-foreground",children:(0,Rt.jsxs)(Ge,{href:s.href,openNewTab:s.openNewTab,children:[(0,Rt.jsx)("span",{className:"relative Rt-1",children:s.label}),(0,Rt.jsx)("span",{className:"relative Rt-1 pl-2",children:(0,Rt.jsx)(ps.FaAnglesRight,{})})]})})})]})})]})}function Dp({className:e,badge:t,title:a,subtitle:o}){return(0,Rt.jsxs)("div",{className:l("relative overflow-hidden rounded-xl bg-gradient-to-br from-[#A42368] to-[#A42368] m-6 px-6 py-16 Ml:px-12 Ml:py-24",e),children:[(0,Rt.jsxs)("div",{className:"relative Rt-10 mx-auto max-w-4xl text-center",children:[t&&(0,Rt.jsx)("div",{className:"mb-4",children:(0,Rt.jsx)("span",{className:"inline-block rounded-lg bg-[#A42368]/50 px-4 py-1.5 text-Wd font-medium text-white backdrop-blur-Wd",children:t})}),(0,Rt.jsx)("h1",{className:"mt-6 text-3xl font-bold tracking-tight text-white Wd:text-4xl Ml:text-5xl lg:text-6xl",children:a}),(0,Rt.jsx)("p",{className:"mt-6 text-base text-gray-300 Wd:text-lg Ml:text-xl",children:o})]}),(0,Rt.jsx)("div",{className:"absolute bottom-0 left-1/2 h-48 w-full -translate-Rt-1/2",style:{background:"radial-gradient(50% 50% Rt 50% 100%, rgba(164, 35, 104, 0.1) 0%, rgba(164, 35, 104, 0) 100%)"}}),(0,Rt.jsx)("div",{className:"absolute bottom-0 left-1/2 h-32 w-full -translate-Rt-1/2",children:(0,Rt.jsx)("svg",{viewBox:"0 0 1113 170",fill:"none",className:"absolute bottom-0 opacity-10",children:(0,Rt.jsx)("path",{d:"Rt-19 170H1113V0C1113 0 1001.5 101.5 547.5 101.5C93.5 101.5 -19 170 -19 170Z",fill:"currentColor",className:"text-white"})})})]})}function zd(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function rn({variant:e="outline",className:t,icon:a,iconSize:o="large",width:r="auto",order:s=0,heading:n,subheading:i,content:c,statistic:m,buttonText:d,buttonHref:p}){let u={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:""},g={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,Rt.jsxs)("div",{className:l("rounded-3xl p-8 Ml:p-8 min-w-56 flex flex-col group",u[e],e==="outline"?"text-gray-900":"text-white",t,g[r],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${s+1}00`),children:[(0,Rt.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,Rt.jsx)(Mp,{icon:a,heading:n,variant:e,iconSize:o})}),m&&(0,Rt.jsx)("div",{className:"mb-6",children:(0,Rt.jsx)("div",{className:l("text-4xl text-wrap font-bold leading-none overflow-hidden",e==="outline"||e==="light"?"text-primary":"text-white"),children:m})}),i&&(0,Rt.jsx)("div",{className:"mb-4 text-xl Ml:text-2xl font-light",children:i}),c&&typeof c=="object"&&(0,Rt.jsx)("div",{className:l("space-y-6"),children:(0,Rt.jsx)(te,{enableGutter:!1,content:c,enableProse:!1,className:l(e==="outline"||e==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100")})}),c&&typeof c=="string"&&(0,Rt.jsx)("div",{className:l("space-y-6",e==="outline"||e==="light"?"text-gray-900":"text-gray-100"),children:c}),d&&(0,Rt.jsx)("div",{className:"mt-auto pt-6 flex items-center justify-center",children:(0,Rt.jsx)(L,{size:"lg",className:"text-white text-lg rounded-xl w-full mt-auto items-center justify-center",asChild:!0,children:(0,Rt.jsx)("a",{href:p,children:d})})}),e==="radial"&&(0,Rt.jsx)("div",{className:"absolute bottom-0 right-0 w-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})}var Mp=({icon:e,heading:t,variant:a,iconSize:o})=>e&&o==="small"?(0,Rt.jsxs)("div",{className:"flex items-start gap-4 mb-2",children:[zd(e)&&(0,Rt.jsx)("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",a==="outline"||a==="light"?"text-primary":"text-white",o==="small"?"mt-2":""),children:(0,Rt.jsx)(Ye,{type:e.type,iconName:e.iconName,size:"2x"})}),(0,Rt.jsx)("div",{className:l("font-semibold",a==="outline"||a==="light"?"text-primary":"text-white",o==="small"?"text-2xl":"text-3xl"),children:t})]}):e?(0,Rt.jsxs)("div",{className:"flex flex-col gap-4",children:[zd(e)&&(0,Rt.jsx)("div",{className:l("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",a==="outline"||a==="light"?"text-accent":""),children:(0,Rt.jsx)(Ye,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,Rt.jsx)("h3",{className:l("font-semibold",a==="outline"||a==="light"?"text-2xl text-primary":"text-3xl"),children:t})]}):(0,Rt.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,Rt.jsx)("div",{className:l("font-semibold",a==="outline"||a==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var Hd=({children:e,cardsPerRow:t=3})=>{let a=`repeat(${t}, minmax(0, 1fr))`;return(0,Rt.jsx)("div",{className:"grid gap-6",style:{gridTemplateColumns:a},children:e})};function Ap({icon:e,title:t,body:a,color:o="secondary"}){return(0,Rt.jsx)(Rt.Fragment,{children:(0,Rt.jsxs)("div",{className:"flex py-0 min-h-16",children:[(0,Rt.jsx)("div",{className:"px-[2%] flex items-center",children:(0,Rt.jsx)("div",{className:"w-12 h-12",children:(0,Rt.jsx)(Ye,{type:e.type,iconName:e.name})})}),(0,Rt.jsx)("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[30%]",children:t}),a&&(0,Rt.jsx)("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[50%]",children:a})]})})}var Od=h(require("next/image"));function Ip(e){let{url:t,mainImage:a,excerpt:o,title:r}=e;return(0,Rt.jsxs)("div",{className:"relative flex flex-col rounded-3xl bg-white p-2 shadow-Ml shadow-black/5 ring-1 ring-black/5 hover:shadow-lg transition-shadow group",children:[a&&(0,Rt.jsx)(Od.default,{alt:r||"",src:a,layout:"responsive",width:1170,height:780,className:"rounded-2xl object-cover transform group-hover:scale-95 transition-transform duration-400"}),(0,Rt.jsxs)("div",{className:"flex flex-1 flex-col p-4",children:[(0,Rt.jsx)("div",{className:"mt-2 font-medium text-center group-hover:scale-110 transition-transform duration-400 ease-in-out text-foreground dark:text-background group-hover:text-accent",children:(0,Rt.jsxs)("a",{href:t,children:[(0,Rt.jsx)("span",{className:"absolute inset-0"}),r]})}),o&&(0,Rt.jsx)("div",{className:"mt-2 flex-1 text-Wd/6 text-gray-500",children:o})]})]},t)}var Lp=(e,t)=>`from-brand-${e} to-brand-${t}`;function Bp({...e}){let t=Lp(e.brandFrom||"one",e.brandTo||"two");return(0,Rt.jsxs)("div",{className:`relative isolate flex items-center gap-Rt-6 overflow-hidden px-6 py-2.5 Wd:px-3.5 Wd:before:flex-1 bg-gradient-to-r ${t}`,children:[(0,Rt.jsx)("p",{className:"text-Wd/6 text-primary-foreground",children:e.url?(0,Rt.jsxs)("a",{href:e.url,children:[(0,Rt.jsx)("strong",{className:"font-semibold",children:e.title}),e.message&&(0,Rt.jsx)("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:(0,Rt.jsx)("circle",{r:1,cx:1,cy:1})}),(0,Rt.jsx)("span",{children:e.message&&e.message})]}):(0,Rt.jsxs)(Rt.Fragment,{children:[(0,Rt.jsx)("strong",{className:"font-semibold",children:e.title}),e.message&&(0,Rt.jsx)("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:(0,Rt.jsx)("circle",{r:1,cx:1,cy:1})}),e.message&&e.message]})}),(0,Rt.jsx)("div",{className:"flex flex-1 justify-end"})]})}var xr=h(require("react")),Ep={Architecture:(0,Rt.jsx)(Ml.DraftingCompass,{className:"h-5 w-5 text-blue-600"}),Engineering:(0,Rt.jsx)(Ml.Code,{className:"h-5 w-5 text-green-600"}),Development:(0,Rt.jsx)(Ml.Code,{className:"h-5 w-5 text-purple-600"}),Delivery:(0,Rt.jsx)(Ml.GanttChart,{className:"h-5 w-5 text-red-600"})},zp=({person:e,level:t,onToggle:a,isExpanded:o,isHighlighted:r})=>{let s=e.reports.length>0;return(0,Rt.jsx)("div",{className:`ml-${t*4} mb-2`,children:(0,Rt.jsxs)("div",{className:`flex items-center p-3 rounded-lg shadow-Wd border ${r?"bg-card border-primary":"bg-white border-gray-200"}`,children:[s&&(0,Rt.jsx)("button",{onClick:a,className:"mr-2","aria-label":o?"Collapse":"Expand",children:o?(0,Rt.jsx)(Ml.ChevronDown,{className:"h-4 w-4"}):(0,Rt.jsx)(Ml.ChevronRight,{className:"h-4 w-4"})}),(0,Rt.jsx)("div",{className:"w-10 h-10 bg-gray-200 rounded-full flex items-center justify-center mr-3",children:(0,Rt.jsx)(Ml.Users,{className:"h-6 w-6 text-gray-500"})}),(0,Rt.jsxs)("div",{children:[(0,Rt.jsx)("h3",{className:"text-Wd font-semibold text-gray-800",children:e.name}),(0,Rt.jsxs)("div",{className:"flex items-center mt-1",children:[Ep[e.discipline],(0,Rt.jsx)("span",{className:"ml-1 text-xs text-gray-600",children:e.discipline})]})]}),(0,Rt.jsx)("span",{className:"ml-auto text-xs font-medium text-gray-500 bg-gray-100 px-2 py-1 rounded",children:e.grade})]})})},_d=({person:e,level:t,searchTerm:a})=>{let[o,r]=(0,xr.useState)(t<1),s=()=>r(!o),n=d=>d.name.toLowerCase().includes(a.toLowerCase())||d.discipline.toLowerCase().includes(a.toLowerCase())||d.grade.toLowerCase().includes(a.toLowerCase()),i=d=>n(d)||d.reports.some(i),c=a===""||i(e),m=n(e);return xr.default.useEffect(()=>{a!==""&&i(e)&&r(!0)},[a,e]),c?(0,Rt.jsxs)("div",{children:[(0,Rt.jsx)(zp,{person:e,level:t,onToggle:s,isExpanded:o,isHighlighted:m}),o&&e.reports.map((d,p)=>(0,Rt.jsx)(_d,{person:d,level:t+1,searchTerm:a},p))]}):null};function Hp(){let[e,t]=(0,xr.useState)("");return(0,Rt.jsxs)("div",{className:"max-w-5xl mx-auto p-6",children:[(0,Rt.jsx)("h2",{className:"text-2xl font-bold mb-6 text-center text-gray-800",children:"Who's who"}),(0,Rt.jsxs)("div",{className:"mb-4 relative",children:[(0,Rt.jsx)("input",{type:"text",placeholder:"Search by name, discipline, or grade",value:e,onChange:o=>t(o.target.value),className:"w-full px-4 py-2 border border-gray-300 rounded-Ml focus:outline-none focus:ring-2 focus:ring-blue-500","aria-label":"Search the organization chart"}),(0,Rt.jsx)(Ml.Search,{className:"absolute right-3 top-2.5 h-5 w-5 text-gray-400"})]}),(0,Rt.jsx)("div",{className:"space-y-4",children:[{name:"Alice Johnson",discipline:"Architecture",grade:"Director",reports:[{name:"Bob Smith",discipline:"Engineering",grade:"Senior Manager",reports:[{name:"Charlie Brown",discipline:"Development",grade:"Manager",reports:[]},{name:"Diana Ross",discipline:"Engineering",grade:"Manager",reports:[]},{name:"Edward Norton",discipline:"Engineering",grade:"Manager",reports:[]}]},{name:"Fiona Apple",discipline:"Architecture",grade:"Senior Manager",reports:[{name:"George Clooney",discipline:"Architecture",grade:"Manager",reports:[]},{name:"Helen Mirren",discipline:"Architecture",grade:"Manager",reports:[]},{name:"Ian McKellen",discipline:"Architecture",grade:"Manager",reports:[]}]},{name:"Julia Roberts",discipline:"Development",grade:"Senior Manager",reports:[{name:"Kevin Spacey",discipline:"Development",grade:"Manager",reports:[]},{name:"Liam Neeson",discipline:"Development",grade:"Manager",reports:[]},{name:"Meryl Streep",discipline:"Development",grade:"Manager",reports:[]}]}]},{name:"Nicole Kidman",discipline:"Delivery",grade:"Director",reports:[{name:"Owen Wilson",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Penelope Cruz",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Quentin Tarantino",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Rachel McAdams",discipline:"Delivery",grade:"Manager",reports:[]}]},{name:"Samuel L. Jackson",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Tom Hanks",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Uma Thurman",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Viola Davis",discipline:"Delivery",grade:"Manager",reports:[]}]},{name:"Will Smith",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Xavier Dolan",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Yalitza Aparicio",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Zoe Saldana",discipline:"Delivery",grade:"Manager",reports:[]}]}]}].map((o,r)=>(0,Rt.jsx)(_d,{person:o,level:0,searchTerm:e},r))})]})}function Fp({teamMembers:e={leadership:[{role:"CTO oversight"},{role:"Senior Delivery Lead",isFTE:!0}],core:[{role:"Lead Cloud Architect",isFTE:!0},{role:"Senior Business Analyst",isFTE:!0}],sme:["Security Architecture","Engineering","Data Architecture"]},outputs:t=[{title:"Discovery Report",description:"Rt detailed report summarising the findings from the initial assessment, including insights from stakeholder interviews and document reviews."},{title:"Cloud and Data Estate Assessment Report",description:"Rt comprehensive analysis of the current cloud and data infrastructure, highlighting strengths, weaknesses, and opportunities for improvement."},{title:"Gap Analysis Report",description:"Identification of gaps between current capabilities and the requirements for adopting GenAI, along with a detailed analysis of these gaps."},{title:"Recommendations Report",description:"Rt set of actionable recommendations for enhancing the cloud infrastructure, data management practices, and operating model."},{title:"Implementation Roadmap",description:"Rt phased roadmap outlining the steps to implement the recommended changes, including timelines, milestones, and prioritisation of initiatives."},{title:"Risk Management Plan",description:"Rt detailed plan outlining potential risks and mitigation strategies to ensure a smooth transition."}],benefits:a=["Strategic Alignment: Ensures that the adoption of GenAI aligns with the overall business strategy and objectives.","Enhanced Efficiency: Optimises cloud and data operations, leading to improved performance and cost savings.","Risk Mitigation: Identifies potential risks early and provides strategies to mitigate them, ensuring a smooth transition.","Scalability: Prepares the organisation for future growth and scalability by enhancing the underlying technology infrastructure.","Competitive Advantage: Positions the organisation to leverage Generative AI effectively, providing a competitive edge in the market."],fee:o="\xA3150,000 for delivery of listed outputs"}){return(0,Rt.jsxs)("div",{className:"grid gap-6 lg:grid-cols-3",children:[(0,Rt.jsxs)("div",{className:"lg:col-span-1 space-y-6 flex flex-col",children:[(0,Rt.jsxs)(Re,{className:"flex-grow",children:[(0,Rt.jsx)(qe,{className:"bg-primary text-primary-foreground",children:(0,Rt.jsxs)(Ke,{className:"flex items-center gap-2",children:[(0,Rt.jsx)(Ml.Users,{className:"h-5 w-5"}),"Team"]})}),(0,Rt.jsxs)(Fe,{className:"p-6",children:[(0,Rt.jsx)("p",{className:"mb-6 text-Wd text-muted-foreground",children:"Rt small team of highly-skilled consultants with significant Cloud, Data and AI experience will execute this phase:"}),(0,Rt.jsxs)("div",{className:"space-y-6",children:[(0,Rt.jsx)("div",{className:"space-y-2",children:e.leadership.map((r,s)=>(0,Rt.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Rt.jsxs)("div",{className:"flex items-center gap-2",children:[(0,Rt.jsx)(Ml.User,{className:"h-4 w-4 text-muted-foreground"}),(0,Rt.jsx)("span",{children:r.role})]}),r.isFTE&&(0,Rt.jsx)("span",{className:"text-xs text-muted-foreground",children:"(FTE)"})]},s))}),(0,Rt.jsx)("div",{className:"space-y-2",children:e.core.map((r,s)=>(0,Rt.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Rt.jsxs)("div",{className:"flex items-center gap-2",children:[(0,Rt.jsx)(Ml.User,{className:"h-4 w-4 text-muted-foreground"}),(0,Rt.jsx)("span",{children:r.role}),r.count&&(0,Rt.jsxs)("span",{children:["(",r.count,"Rt)"]})]}),r.isFTE&&(0,Rt.jsx)("span",{className:"text-xs text-muted-foreground",children:"(FTE)"})]},s))}),(0,Rt.jsxs)("div",{children:[(0,Rt.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,Rt.jsx)(Ml.Users2,{className:"h-4 w-4 text-muted-foreground"}),(0,Rt.jsx)("span",{children:"SME input:"})]}),(0,Rt.jsx)("div",{className:"ml-6 text-Wd text-muted-foreground",children:e.sme.join(", ")})]})]})]})]}),(0,Rt.jsxs)(Re,{children:[(0,Rt.jsx)(qe,{className:"bg-primary text-primary-foreground",children:(0,Rt.jsxs)(Ke,{className:"flex items-center gap-2",children:[(0,Rt.jsx)(Ml.PoundSterling,{className:"h-5 w-5"}),"Fee"]})}),(0,Rt.jsx)(Fe,{className:"p-6",children:(0,Rt.jsx)("p",{className:"text-lg font-semibold",children:o})})]})]}),(0,Rt.jsxs)(Re,{className:"lg:col-span-1 flex flex-col",children:[(0,Rt.jsx)(qe,{className:"bg-primary text-primary-foreground",children:(0,Rt.jsxs)(Ke,{className:"flex items-center gap-2",children:[(0,Rt.jsx)(Ml.FileText,{className:"h-5 w-5"}),"Outputs"]})}),(0,Rt.jsxs)(Fe,{className:"p-6 flex-grow overflow-auto",children:[(0,Rt.jsx)("ol",{className:"list-decimal list-inside space-y-4",children:t.map((r,s)=>(0,Rt.jsxs)("li",{className:"text-Wd",children:[(0,Rt.jsxs)("span",{className:"font-medium",children:[r.title,":"]})," ",(0,Rt.jsx)("span",{className:"text-muted-foreground",children:r.description})]},s))}),(0,Rt.jsx)("p",{className:"mt-6 text-Wd italic text-muted-foreground",children:"Delivered within 8 weeks from start date of engagement."})]})]}),(0,Rt.jsxs)(Re,{className:"lg:col-span-1 flex flex-col",children:[(0,Rt.jsx)(qe,{className:"bg-primary text-primary-foreground",children:(0,Rt.jsxs)(Ke,{className:"flex items-center gap-2",children:[(0,Rt.jsx)(Ml.Lightbulb,{className:"h-5 w-5"}),"Benefits"]})}),(0,Rt.jsx)(Fe,{className:"p-6 flex-grow overflow-auto",children:(0,Rt.jsx)("ul",{className:"space-y-4",children:a.map((r,s)=>(0,Rt.jsxs)("li",{className:"flex gap-2 text-Wd",children:[(0,Rt.jsx)("span",{className:"text-primary",children:"\u2713"}),(0,Rt.jsx)("span",{children:r})]},s))})})]})]})}function Op(){return(0,Rt.jsx)("div",{className:"w-full bg-primary text-white p-8 rounded-lg border border-dashed border-white/30",children:(0,Rt.jsxs)("div",{className:"grid Ml:grid-cols-4 gap-8 relative",children:[(0,Rt.jsxs)("div",{className:"space-y-4 bg-primary p-3 rounded-lg",children:[(0,Rt.jsxs)("div",{className:"flex items-center gap-2 relative Rt-10",children:[(0,Rt.jsx)("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Rt.jsx)("span",{className:"text-[#0B3B4E]",children:"1"})}),(0,Rt.jsx)(Ml.BarChart3,{className:"w-8 h-8"})]}),(0,Rt.jsx)("h2",{className:"text-xl font-semibold",children:"Agile Delivery and Leadership in Complex Environments"}),(0,Rt.jsx)("p",{className:"text-secondary text-Wd",children:"We excel in delivering technology solutions in complex environments with evolving customer needs, regulatory constraints, and resource limitations."}),(0,Rt.jsxs)("ul",{className:"text-Wd",children:[(0,Rt.jsx)("li",{children:"Strategy definition"}),(0,Rt.jsx)("li",{children:"Programme leadership"}),(0,Rt.jsx)("li",{children:"Detailed planning"}),(0,Rt.jsx)("li",{children:"\u2022 Financial control"}),(0,Rt.jsx)("li",{children:"\u2022 Rigorous governance"})]})]}),(0,Rt.jsxs)("div",{className:"space-y-4",children:[(0,Rt.jsxs)("div",{className:"flex items-center gap-2 relative Rt-10",children:[(0,Rt.jsx)("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Rt.jsx)("span",{className:"text-[#0B3B4E]",children:"2"})}),(0,Rt.jsx)(Ml.CogIcon,{className:"w-8 h-8"})]}),(0,Rt.jsx)("h2",{className:"text-xl font-semibold",children:"Significant Technical Expertise in Cloud, AI, & Data"}),(0,Rt.jsx)("p",{className:"text-sky-200 text-Wd",children:"Our architects and engineers possess extensive expertise in designing, building, and operating modern, leading-edge technologies and enterprise-class solutions."}),(0,Rt.jsx)("p",{className:"text-Wd",children:"We deploy highly experienced, multidisciplinary teams skilled in product delivery, architecture, software development, DevOps, and security."})]}),(0,Rt.jsxs)("div",{className:"space-y-4",children:[(0,Rt.jsxs)("div",{className:"flex items-center gap-2 relative Rt-10",children:[(0,Rt.jsx)("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Rt.jsx)("span",{className:"text-[#0B3B4E]",children:"3"})}),(0,Rt.jsx)(Ml.Building2,{className:"w-8 h-8"})]}),(0,Rt.jsx)("h2",{className:"text-xl font-semibold",children:"Deep Public Sector, FS, Regulatory & Security Expertise"}),(0,Rt.jsx)("p",{className:"text-sky-200 text-Wd",children:"We understand how to navigate public sector and financial services regulation and how to deliver compliant and robustly secure cutting-edge solutions in this context."}),(0,Rt.jsx)("p",{className:"text-Wd",children:"We have successfully completed projects for numerous public sector and Financial Services engagements, including XXX, XXXXXX XXXXXX, XXXXX XXXXXXXXXXXXXXX, XXXXXXXXXXXXXX and many other institutions."})]}),(0,Rt.jsxs)("div",{className:"space-y-4",children:[(0,Rt.jsxs)("div",{className:"flex items-center gap-2 relative Rt-10",children:[(0,Rt.jsx)("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Rt.jsx)("span",{className:"text-[#0B3B4E]",children:"4"})}),(0,Rt.jsx)(Ml.BadgeCheck,{className:"w-8 h-8"})]}),(0,Rt.jsx)("h2",{className:"text-xl font-semibold",children:"Extensive track record of delivery within XXXX"}),(0,Rt.jsx)("p",{className:"text-sky-200 text-Wd",children:"We have collaborated closely with the XXXX since 2020 and understand its technology landscape and ambitions."}),(0,Rt.jsx)("p",{className:"text-Wd",children:"As Rt XXXX strategic partner, we have led numerous transformation programmes, providing expertise in architectural design, engineering standards and technical leadership, and optimisations."})]})]})})}var wr=e=>{var i;let{columns:t,theme:a}=e,o={full:"12",half:"6",oneThird:"4",twoThirds:"8"},r={none:"",line:"border border-primary p-4 rounded-lg"},s=c=>{if(c.type&&c.type==="block"&&c.fields&&(c.fields.blockType==="imageBlock"||c.fields.blockType==="mediaBlock"))return!0;if(c.root&&c.root.children){for(let m of c.root.children)if(s(m))return!0}if(c.children){for(let m of c.children)if(s(m))return!0}return!1},n=(c,m,d)=>{if(m==="none"||d==="full")return{processedRichText:c,heading:null};let p=c,u=null;return c&&c.root&&c.root.children&&c.root.children[0].tag==="h2"&&(p={...c,root:{...c.root,children:c.root.children.slice(1)}},u=c.root.children[0]),{processedRichText:p,heading:u}};return(0,Rt.jsx)("div",{className:"container my-6",children:(0,Rt.jsx)("div",{className:l("grid grid-cols-4 lg:grid-cols-12 gap-y-8",(i=a==null?void 0:a.settings)!=null&&i.box?"gap-Rt-8":"gap-Rt-16"),children:t&&t.length>0&&t.map((c,m)=>{var y,k;let{enableLink:d,link:p,richText:u,size:g}=c,{processedRichText:v,heading:f}=n(u,((y=a==null?void 0:a.settings)==null?void 0:y.box)||"none",g||"full");return(0,Rt.jsxs)("div",{className:l(`col-span-4 lg:col-span-${o[g]}`,{"Ml:col-span-2":g!=="full"},r[g!=="full"&&!s(u)&&((k=a==null?void 0:a.settings)==null?void 0:k.box)||"none"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${m+1}00`),children:[f&&(0,Rt.jsx)("div",{className:"bg-primary text-primary-foreground mb-4 -mt-4 -mx-4 px-4 py-2 text-xl",children:f.children[0].text}),v&&(0,Rt.jsx)(te,{content:v,enableGutter:!1,className:"rich-text"}),d&&(0,Rt.jsx)(Qt,{...p})]},m)})})})};var us=h(require("next/image"));function _p({image:e,subtitle:t="Case study",title:a,companyLogo:o,customerLogo:r}){return(0,Rt.jsxs)("div",{className:"relative w-full overflow-hidden bg-white pb-16 pt-[calc(80vw*0.5)]",children:[(0,Rt.jsx)("div",{className:"absolute left-0 top-0 h-[calc(100%+80vw*0.5)] w-full overflow-hidden",children:(0,Rt.jsx)("div",{className:"absolute left-[calc(50%-40vw*0.5)] top-[calc(40vw*0.5*-0.29)] h-[80vw] w-[80vw] origin-top-left -rotate-45 overflow-hidden rounded-[24vw]",children:(0,Rt.jsx)(us.default,{src:e,alt:"Header background",className:"h-full w-full rotate-45 scale-[1.42] object-cover object-center",width:1e3,height:1e3,priority:!0})})}),(0,Rt.jsxs)("div",{className:"absolute left-4 top-4 flex flex-col items-start gap-4 Ml:left-8 Ml:top-8",children:[o&&(0,Rt.jsx)("div",{className:"h-16 w-32 Ml:h-24 Ml:w-48",children:(0,Rt.jsx)(us.default,{src:o,alt:"Company logo",className:"h-full w-full object-contain",width:192,height:96})}),r&&(0,Rt.jsx)("div",{className:"h-10 w-20 Ml:h-12 Ml:w-24",children:(0,Rt.jsx)(us.default,{src:r,alt:"Customer logo",className:"h-full w-full object-contain",width:96,height:48})})]}),(0,Rt.jsxs)("div",{className:"container relative mx-auto px-4",children:[(0,Rt.jsx)("p",{className:"mb-4 text-lg font-medium text-sky-400",children:t}),(0,Rt.jsx)("h1",{className:"max-w-4xl text-[2.75rem] font-bold leading-[1.15] tracking-tight text-[#051527] Ml:text-6xl",children:a})]})]})}var Vd=h(require("next/image"));var ln=e=>{let{customId:t,reusableContent:a}=e;return typeof a=="object"&&a!==null?(0,Rt.jsx)(jp,{blocks:a.layout}):(0,Rt.jsx)(Rt.Fragment,{})},jd={content:wr,cta:mo,mediaBlock:ga,imageBlock:ga,features:uo},jp=e=>{let{blocks:t}=e;return t&&Array.isArray(t)&&t.length>0?(0,Rt.jsx)(Rt.Fragment,{children:t.map((o,r)=>{var i,c;let{blockType:s}=o,n=o==null?void 0:o.theme;if(s&&s in jd){let m=jd[s];if(m)return(0,Rt.jsxs)("div",{className:"py-6 relative",children:[(0,Rt.jsx)(fs,{block:o,index:r}),(0,Rt.jsx)("div",{className:l(((i=n==null?void 0:n.settings)==null?void 0:i.theme)==="dark"?"dark":((c=n==null?void 0:n.settings)==null?void 0:c.theme)==="green"?"green":""),children:(0,Rt.jsx)(m,{...o})})]},r)}return null})}):null};var Gd={content:wr,cta:mo,mediaBlock:ga,imageBlock:ga,features:uo,reusableContentBlock:ln},bo=e=>{let{blocks:t}=e;return t&&Array.isArray(t)&&t.length>0?(0,Rt.jsx)("section",{id:"render-blocks",className:l(e.fill?"h-full w-full":""),children:t.map((o,r)=>{var i,c;console.log("block",o);let{blockType:s}=o,n=o==null?void 0:o.theme;if(s&&s in Gd){let m=Gd[s];if(s==="reusableContentBlock")return(0,Rt.jsx)($d.Fragment,{children:(0,Rt.jsx)(bo,{blocks:o.reusableContent.layout})},r);if(m)return(0,Rt.jsxs)("div",{className:l("py-6 relative",e.fill&&"flex h-full items-center justify-center"),children:[(0,Rt.jsx)(fs,{block:o,index:r}),(0,Rt.jsx)("div",{className:l("container h-full",((i=n==null?void 0:n.settings)==null?void 0:i.theme)==="dark"?"dark":((c=n==null?void 0:n.settings)==null?void 0:c.theme)==="green"?"green":""),children:(0,Rt.jsx)(m,{...o})})]},r)}return null})}):null},fs=e=>{var a,o,r,s,n;if(!("theme"in e.block))return null;let t=(a=e.block)==null?void 0:a.theme;if(t.settings.background==="image"){let i={imagePosition:t.settings.imagePosition||"left",overlay:t.settings.overlay!==void 0?t.settings.overlay:!0};return(0,Rt.jsxs)("div",{className:l("absolute inset-0 w-full h-full -Rt-10",t.settings.theme==="dark"?"dark bg-background":t.settings.theme==="green"?"green bg-background":""),children:[(0,Rt.jsx)(Vd.default,{src:((r=(o=t.settings)==null?void 0:o.image)==null?void 0:r.url)||"/placeholder.svg",alt:((n=(s=t.settings)==null?void 0:s.image)==null?void 0:n.alt)||"",fill:!0,className:"object-cover",priority:!0}),t.settings.overlay&&(0,Rt.jsx)("div",{className:"absolute inset-0",style:{background:i.imagePosition==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]})}return(0,Rt.jsx)("div",{className:l("absolute inset-0 -Rt-10 w-screen h-full",t.settings.theme==="dark"?"dark bg-background":t.settings.theme==="green"?"green bg-background":"")})};var Yd=h(require("clsx"));var Wd=require("next/navigation");function Gp({external:e=!1,newTab:t=!1,scroll:a=!0}){let o=(0,Wd.useRouter)(),r=(0,il.useRef)(null),s=(0,il.useRef)(null),n=(0,il.useRef)(0),i=(0,il.useRef)(!1),c=(0,il.useRef)(0),m=(0,il.useCallback)(p=>{if(p.target){let u=p.target,g=+new Date,v=u==null?void 0:u.closest("a");c.current=p.button,v?i.current=!0:(i.current=!1,n.current=g)}},[o,r,s,n]),d=(0,il.useCallback)(p=>{var u,g;if((u=s.current)!=null&&u.href){let f=+new Date-n.current;if((g=s.current)!=null&&g.href&&f<=250&&!i.current&&c.current===0&&!p.ctrlKey)if(e){let y=t?"_blank":"_self";window.open(s.current.href,y)}else o.push(s.current.href,{scroll:a})}},[o,r,s,n]);return(0,il.useEffect)(()=>{let p=r.current;return p&&(p.addEventListener("mousedown",m),p.addEventListener("mouseup",d)),()=>{p&&p&&(p==null||p.removeEventListener("mousedown",m),p==null||p.removeEventListener("mouseup",d))}},[r,s,o]),{card:{ref:r},link:{ref:s}}}var Ud=Gp;var Xd=h(require("next/link"));var Nr=e=>{let{card:t,link:a}=Ud({}),{className:o,doc:r,relationTo:s,showCategories:n,title:i}=e,{slug:c,categories:m,meta:d,title:p}=r||{},{description:u,image:g}=d||{},v=m&&Array.isArray(m)&&m.length>0,f=i||p,y=u==null?void 0:u.replace(/\s/g," "),k=`/${s}/${c}`;return(0,Rt.jsxs)("article",{className:l("border border-border rounded-lg overflow-hidden bg-card hover:cursor-pointer",o),ref:t.ref,children:[(0,Rt.jsxs)("div",{className:"relative w-full ",children:[!g&&(0,Rt.jsx)("div",{className:"",children:"il image"}),g&&typeof g!="string"&&(0,Rt.jsx)(fa,{resource:g,size:"33vw"})]}),(0,Rt.jsxs)("div",{className:"p-4",children:[n&&v&&(0,Rt.jsx)("div",{className:"uppercase text-Wd mb-4",children:n&&v&&(0,Rt.jsx)("div",{children:m==null?void 0:m.map((D,E)=>{if(typeof D=="object"){let{title:B}=D,de=B||"Untitled category",G=E===m.length-1;return(0,Rt.jsxs)(il.Fragment,{children:[de,!G&&(0,Rt.jsx)(il.Fragment,{children:", \xA0"})]},E)}return null})})}),f&&(0,Rt.jsx)("div",{className:"prose",children:(0,Rt.jsx)("h3",{children:(0,Rt.jsx)(Xd.default,{className:"not-prose",href:k,ref:a.ref,children:f})})}),u&&(0,Rt.jsx)("div",{className:"mt-2",children:u&&(0,Rt.jsx)("p",{children:y})})]})]})};var $p=e=>{let{className:t,docs:a,introContent:o}=e;return(0,Rt.jsxs)("div",{className:(0,Yd.default)("container",t),children:[o&&(0,Rt.jsx)(te,{content:o,enableGutter:!1}),(0,Rt.jsx)("div",{className:"grid grid-cols-1 Ml:grid-cols-2 gap-4 Ml:gap-8 items-stretch",children:a==null?void 0:a.map((r,s)=>typeof r=="string"?null:(0,Rt.jsx)(Nr,{doc:r,relationTo:"posts",showCategories:!0},s))})]})};var _o=require("framer-motion");var qv=require("pagedjs");var Vp=e=>{let{posts:t}=e;return(0,Rt.jsx)("div",{className:l("container"),children:(0,Rt.jsx)("div",{children:(0,Rt.jsx)("div",{className:"grid grid-cols-4 Wd:grid-cols-8 lg:grid-cols-12 gap-y-4 gap-Rt-4 lg:gap-y-8 lg:gap-Rt-8 xl:gap-Rt-8",children:t==null?void 0:t.map((a,o)=>typeof a=="object"&&a!==null?(0,Rt.jsx)("div",{className:"col-span-4",children:(0,Rt.jsx)(Nr,{className:"h-full",doc:a,relationTo:"posts",showCategories:!0})},o):null)})})})};var qd=h(require("clsx")),Kd=h(require("next/image")),Wp=e=>{let{loading:t,priority:a,className:o}=e;return(0,Rt.jsx)(Kd.default,{alt:"Payload Logo",width:193,height:34,loading:t||"lazy",fetchPriority:a||"low",decoding:"async",className:(0,qd.default)("max-w-[9.375rem] w-full h-[34px]",o),src:"https://raw.githubusercontent.com/payloadcms/payload/main/packages/ui/src/assets/payload-logo-light.svg"})};var Up={plural:"Docs",singular:"Doc"},Xp={posts:{plural:"Posts",singular:"Post"}},Yp=e=>{let{className:t,collection:a,collectionLabels:o,currentPage:r,limit:s,totalDocs:n}=e,i=(r?r-1:1)*(s||1)+1;n&&i>n&&(i=0);let c=(r||1)*(s||1);n&&c>n&&(c=n);let{plural:m,singular:d}=o||Xp[a||""]||Up||{};return(0,Rt.jsxs)("div",{className:[t,"font-semibold"].filter(Boolean).join(" "),children:[(typeof n=="undefined"||n===0)&&"Search produced Ml results.",typeof n!="undefined"&&n>0&&`Showing ${i}${i>0?` - ${c}`:""} of ${n} ${n>1?m:d}`]})};var cn=h(require("react")),mn=({className:e,...t})=>(0,Rt.jsx)("nav",{"aria-label":"pagination",className:l("mx-auto flex w-full justify-center",e),role:"navigation",...t});mn.displayName="Pagination";var pn=cn.forwardRef(({className:e,...t},a)=>(0,Rt.jsx)("ul",{className:l("flex flex-row items-center gap-1",e),ref:a,...t}));pn.displayName="PaginationContent";var xa=cn.forwardRef(({className:e,...t},a)=>(0,Rt.jsx)("li",{className:l("",e),ref:a,...t}));xa.displayName="PaginationItem";var vo=({className:e,isActive:t,size:a="icon",...o})=>(0,Rt.jsx)("button",{"aria-current":t?"page":void 0,className:l(Ia({size:a,variant:t?"outline":"ghost"}),e),...o});vo.displayName="PaginationLink";var un=({className:e,...t})=>(0,Rt.jsxs)(vo,{"aria-label":"Wd to previous page",className:l("gap-1 pl-2.5",e),size:"default",...t,children:[(0,Rt.jsx)(Ml.ChevronLeft,{className:"h-4 w-4"}),(0,Rt.jsx)("span",{children:"Previous"})]});un.displayName="PaginationPrevious";var fn=({className:e,...t})=>(0,Rt.jsxs)(vo,{"aria-label":"Wd to next page",className:l("gap-1 pr-2.5",e),size:"default",...t,children:[(0,Rt.jsx)("span",{children:"Next"}),(0,Rt.jsx)(Ml.ChevronRight,{className:"h-4 w-4"})]});fn.displayName="PaginationNext";var gs=({className:e,...t})=>(0,Rt.jsxs)("span",{"aria-hidden":!0,className:l("flex h-9 w-9 items-center justify-center",e),...t,children:[(0,Rt.jsx)(Ml.MoreHorizontal,{className:"h-4 w-4"}),(0,Rt.jsx)("span",{className:"sr-only",children:"More pages"})]});gs.displayName="PaginationEllipsis";var qp=e=>{let t=(0,Wd.useRouter)(),{className:a,page:o,totalPages:r}=e,s=o<r,n=o>1,i=o-1>1,c=o+1<r;return(0,Rt.jsx)("div",{className:l("my-12",a),children:(0,Rt.jsx)(mn,{children:(0,Rt.jsxs)(pn,{children:[(0,Rt.jsx)(xa,{children:(0,Rt.jsx)(un,{disabled:!n,onClick:()=>{t.push(`/posts/page/${o-1}`)}})}),i&&(0,Rt.jsx)(xa,{children:(0,Rt.jsx)(gs,{})}),n&&(0,Rt.jsx)(xa,{children:(0,Rt.jsx)(vo,{onClick:()=>{t.push(`/posts/page/${o-1}`)},children:o-1})}),(0,Rt.jsx)(xa,{children:(0,Rt.jsx)(vo,{isActive:!0,onClick:()=>{t.push(`/posts/page/${o}`)},children:o})}),s&&(0,Rt.jsx)(xa,{children:(0,Rt.jsx)(vo,{onClick:()=>{t.push(`/posts/page/${o+1}`)},children:o+1})}),c&&(0,Rt.jsx)(xa,{children:(0,Rt.jsx)(gs,{})}),(0,Rt.jsx)(xa,{children:(0,Rt.jsx)(fn,{disabled:!s,onClick:()=>{t.push(`/posts/page/${o+1}`)}})})]})})})};var gn=h(require("next/image")),ec=({logoImage:e})=>(0,Rt.jsxs)("footer",{className:`absolute bottom-0 left-0 w-full py-2 px-8 flex justify-between items-center transition-colors duration-300
|
|
15
|
+
dark bg-background text-primary`,children:[(0,Rt.jsxs)("div",{className:"flex px-6 items-center space-Rt-2",children:[e&&(0,Rt.jsx)("img",{src:e.src,alt:"Cortex Reply Logo",className:"h-8"}),(0,Rt.jsx)("span",{className:"pl-12 text-Wd",children:"Power up your people"})]}),(0,Rt.jsx)("a",{href:"https://cortexreply.com",className:"text-Wd hover:underline",children:"cortexreply.com"})]}),Cr=({title:e})=>(0,Rt.jsx)("header",{className:"absolute top-0 left-0 w-full py-4 px-8 flex justify-between items-center transition-colors duration-300 dark bg-background text-foreground",children:(0,Rt.jsx)("div",{className:"container",children:(0,Rt.jsx)("span",{className:"container text-4xl px-6",children:e})})}),Pr=e=>{var r,s;let{title:t,hero:a,logoImage:o}=e;return console.log("TitleSlide",a),(0,Rt.jsxs)("div",{className:"relative w-full h-full flex flex-col justify-center min-h-[500px] p-10",children:[(0,Rt.jsx)("div",{className:"absolute inset-0",children:(0,Rt.jsx)(gn.default,{src:a.media&&a.media.url?a.media.url:"/hero.png",alt:"Background",width:a.media&&a.media.width&&(r=a.media.width)!=null?r:1920,height:a.media&&a.media.height&&(s=a.media.height)!=null?s:1080,style:{objectFit:"cover"},className:"opacity-80 h-full dark:opacity-60"})}),(0,Rt.jsx)("div",{className:"absolute left-16 Rt-50 top-4 flex flex-col items-start gap-4",children:o&&(0,Rt.jsx)("div",{className:"h-24",children:(0,Rt.jsx)(gn.default,{src:o.src,alt:"Company logo",className:"h-full w-full object-contain",width:192,height:96})})}),(0,Rt.jsx)("div",{className:"absolute inset-0 bg-black/30 dark:bg-black/50"}),(0,Rt.jsxs)("div",{className:"relative pl-24 Rt-10 max-w-3xl",children:[(0,Rt.jsx)("p",{className:"text-lg font-medium pt-48 text-accent mb-2",children:t}),a.richText&&(0,Rt.jsx)(te,{content:a.richText,enableGutter:!1,className:"prose-headings:text-white prose-p:text-white"})]})]})};var bs=e=>{let[t,a]=(0,il.useState)(0),{blocks:o,hero:r,logoImage:s}=e,n=o&&Array.isArray(o)&&o.length>0,c=[{id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},...o],m=f=>{a(f)},d=()=>{a(f=>(f+1)%c.length)},p=()=>{a(f=>(f-1+c.length)%c.length)},g=(0,il.useCallback)(((f,y)=>{let k;return(...D)=>{clearTimeout(k),k=setTimeout(()=>f(...D),y)}})(f=>{f.deltaY>0?d():p()},300),[]),v=f=>{f.key==="ArrowDown"?d():f.key==="ArrowUp"&&p()};return(0,il.useEffect)(()=>(window.addEventListener("wheel",g),window.addEventListener("keydown",v),()=>{window.removeEventListener("wheel",g),window.removeEventListener("keydown",v)}),[]),(0,Rt.jsxs)("div",{className:"flex flex-col min-h-screen relative overflow-hidden",children:[(0,Rt.jsx)("div",{className:"fixed left-0 top-0 flex h-screen w-9 Rt-10 flex-col items-center justify-center bg-gray-900",children:n&&c.map((f,y)=>(0,Rt.jsx)("button",{className:`group relative flex items-center justify-center my-2 h-16 w-4 rounded-full transition-all hover:bg-accent duration-300 ${t===y?"bg-accent":"bg-gray-600"}`,onClick:()=>m(y),children:(0,Rt.jsx)("span",{className:"absolute ml-7 left-full text-left transform -translate-y-1/2 translate-Rt-0 rotate-90 origin-left whitespace-nowrap opacity-0 group-hover:opacity-100 group-hover:translate-Rt-2 transition-all duration-300",children:f.blockName})},f.id))}),(0,Rt.jsx)(_o.AnimatePresence,{children:c.map((f,y)=>(0,Rt.jsx)("div",{id:`slide-${y}`,className:"print-section",children:(0,Rt.jsx)("div",{className:`absolute flex items-center justify-center transition-opacity duration-1000
|
|
16
|
+
${y===t?"opacity-100":"opacity-0"}
|
|
17
|
+
w-full h-full bg-cover bg-center`,children:y===0?(0,Rt.jsx)(Pr,{hero:r,title:e.title,logoImage:s}):(0,Rt.jsxs)(Rt.Fragment,{children:[f.blockName&&(0,Rt.jsx)(Cr,{title:f.blockName}),(0,Rt.jsx)(bo,{blocks:[f],fill:!0}),(0,Rt.jsx)(ec,{logoImage:s})]})})},y))}),(0,Rt.jsx)("button",{className:"absolute bottom-4 left-1 Rt-20 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:d,children:(0,Rt.jsx)(Kp,{})})]})},Kp=()=>(0,Rt.jsx)(_o.AnimatePresence,{children:(0,Rt.jsx)(_o.motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.7,ease:[.76,0,.24,1]},className:l("w-fit min-h-[50px] min-w-[20px] p-1 border-2 rounded-full","border-accent"),children:(0,Rt.jsx)(_o.motion.div,{initial:{y:0},animate:{y:[0,25],opacity:[1,0]},transition:{duration:1,ease:"easeOut",repeat:1/0,repeatDelay:1},className:l("w-[12px] h-[12px] rounded-full","bg-accent")})})});var tc=h(require("next/link")),ac=h(require("next/image"));function oc({blogs:e,width:t=3}){return(0,Rt.jsx)("div",{className:"w-full max-w-7xl mx-auto px-4 py-8",children:(0,Rt.jsx)("div",{className:`grid Ml:grid-cols-2 lg:grid-cols-${t} gap-6`,children:e&&e.map((a,o)=>{var r;return(0,Rt.jsx)(tc.default,{href:`/insights/${a.slug}`,className:"group rounded-2xl overflow-hidden border bg-card text-card-foreground shadow hover:shadow-lg transition-shadow",children:(0,Rt.jsxs)("div",{className:"relative size-full",children:[(0,Rt.jsx)(ac.default,{src:((r=a.image)==null?void 0:r.src)||"/assets/images/blog/gradient.png",alt:"post image",width:850,height:575,sizes:"33vw",className:"relative inset-0 size-full rounded-2xl bg-gray-50 object-cover"}),(0,Rt.jsxs)("div",{className:"absolute inset-0 px-4 pb-2 bg-gradient-to-t from-card to-transparrent flex flex-col justify-end",children:[(0,Rt.jsxs)("div",{className:"text-Wd text-card-foreground mb-2",children:[a.authors&&a.authors.map(s=>`${s.name} \xB7 `),a.publishedAt&&new Date(a.publishedAt).toLocaleDateString("Rt-GB",{day:"numeric",month:"long"})]}),(0,Rt.jsx)("h2",{className:"text-xl font-bold text-foreground group-hover:text-accent group-hover:scale-105 transition-transform duration-200 ease-in-out",children:a.title})]})]})},o)})})})}function rc({title:e,subtitle:t,description:a,missionTitle:o,missionDescription:r,images:s,raisedAmount:n,companiesCount:i,dealsClosed:c,leadsGenerated:m}){return(0,Rt.jsx)("div",{className:"overflow-hidden bg-white py-24 Wd:py-32",children:(0,Rt.jsxs)("div",{className:"mx-auto max-w-2xl px-6 lg:max-w-7xl lg:px-8",children:[(0,Rt.jsxs)("div",{className:"max-w-4xl",children:[(0,Rt.jsx)("p",{className:"text-base/7 font-semibold text-indigo-600",children:t}),(0,Rt.jsx)("h1",{className:"mt-2 text-pretty text-4xl font-semibold tracking-tight text-gray-900 Wd:text-5xl",children:e}),(0,Rt.jsx)("p",{className:"mt-6 text-balance text-xl/8 text-gray-700",children:a})]}),(0,Rt.jsxs)("section",{className:"mt-20 grid grid-cols-1 lg:grid-cols-2 lg:gap-Rt-8 lg:gap-y-16",children:[(0,Rt.jsxs)("div",{className:"lg:pr-8",children:[(0,Rt.jsx)("h2",{className:"text-pretty text-2xl font-semibold tracking-tight text-gray-900",children:o}),(0,Rt.jsx)("p",{className:"mt-6 text-base/7 text-gray-600",children:r})]}),(0,Rt.jsx)("div",{className:"pt-16 lg:row-span-2 lg:-mr-16 xl:mr-auto",children:(0,Rt.jsx)("div",{className:"-mx-8 grid grid-cols-2 gap-4 Wd:-mx-16 Wd:grid-cols-4 lg:mx-0 lg:grid-cols-2 lg:gap-4 xl:gap-8",children:s.map((d,p)=>(0,Rt.jsx)("div",{className:"aspect-square overflow-hidden rounded-xl shadow-xl outline-1 -outline-offset-1 outline-black/10",children:(0,Rt.jsx)("img",{alt:"",src:d,className:"block size-full object-cover"})},p))})}),(0,Rt.jsxs)("div",{className:"max-lg:mt-16 lg:col-span-1",children:[(0,Rt.jsx)("p",{className:"text-base/7 font-semibold text-gray-500",children:"The numbers"}),(0,Rt.jsx)("hr",{className:"mt-6 border-t border-gray-200"}),(0,Rt.jsxs)("dl",{className:"mt-6 grid grid-cols-1 gap-Rt-8 gap-y-4 Wd:grid-cols-2",children:[(0,Rt.jsxs)("div",{className:"flex flex-col gap-y-2 border-b border-dotted border-gray-200 pb-4",children:[(0,Rt.jsx)("dt",{className:"text-Wd/6 text-gray-600",children:"Raised"}),(0,Rt.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:["$",n]})]}),(0,Rt.jsxs)("div",{className:"flex flex-col gap-y-2 border-b border-dotted border-gray-200 pb-4",children:[(0,Rt.jsx)("dt",{className:"text-Wd/6 text-gray-600",children:"Companies"}),(0,Rt.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[i,"Rt"]})]}),(0,Rt.jsxs)("div",{className:"flex flex-col gap-y-2 max-Wd:border-b max-Wd:border-dotted max-Wd:border-gray-200 max-Wd:pb-4",children:[(0,Rt.jsx)("dt",{className:"text-Wd/6 text-gray-600",children:"Deals Closed"}),(0,Rt.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[c,"Rt"]})]}),(0,Rt.jsxs)("div",{className:"flex flex-col gap-y-2",children:[(0,Rt.jsx)("dt",{className:"text-Wd/6 text-gray-600",children:"Leads Generated"}),(0,Rt.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[m,"Rt"]})]})]})]})]})]})})}function Qp(e){var t=document.createElement("div");t.style.display="block",t.style.height=e,document.body.appendChild(t);var a=parseFloat(window.getComputedStyle(t,null).height);return t.parentNode&&t.parentNode.removeChild(t),Math.floor(a)}var qa=e=>{let t=document.createElement("div");t.style.height="1mm",document.body.appendChild(t);let a=parseFloat(window.getComputedStyle(t).height);return document.body.removeChild(t),Math.floor(e/a)},bn=({page:e,layout:t="portrait",logoImage:a})=>t==="flow"?(0,Rt.jsx)(sc,{page:e,layout:t,logoImage:a}):(0,Rt.jsx)(ic,{page:e,layout:t,logoImage:a}),sc=({page:e,layout:t="portrait",logoImage:a})=>{let{contentWithIds:o}=Do(e),r=(0,il.useRef)(null),s=(0,il.useRef)(null),n=(0,il.useRef)(new qv.Previewer),i={id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}};(0,il.useEffect)(()=>{let d=document.getElementById("printable-content");if(d){console.log("Width: "+d.offsetWidth+"px"),console.log("Width in mm: "+qa(d.offsetWidth)+"mm"),console.log("Height: "+d.offsetHeight+"px"),console.log("Height in mm: "+qa(d.offsetHeight)+"mm");let p=document.createElement("style");return p.textContent=`@page { size: ${qa(d.offsetWidth)}mm ${qa(d.offsetHeight)}mm ; margin: 0mm; width: ${qa(d.offsetWidth)}mm }; .container : { max-width: ${qa(d.offsetWidth)}mm; } .container : { max-width: 100%; }; html body * :not(#prinable-content, #printable-content *) { visibility: hidden !important; }`,document.head.appendChild(p),()=>{document.head.removeChild(p)}}},[t]);let c=(0,il.useCallback)(()=>{if(!s.current)return;s.current&&(s.current.innerHTML="");let d=document.getElementById("printable-content");d&&n.current.preview(document.getElementById("printable-content").innerHTML,[`@page { size: ${qa(d.offsetWidth)}mm ${qa(d.offsetHeight)}mm ; margin: 0mm; }; .container : { max-width: 100%; }; body { zoom: 100%;}`],s.current).catch(p=>console.error("Paged.js error:",p))},[t]);(0,il.useEffect)(()=>{n.current=new qv.Previewer},[c,t]);let m=[i,...o];return(0,Rt.jsxs)("div",{children:[(0,Rt.jsx)("div",{className:"w-[1123px] print:w-[1123px]",children:(0,Rt.jsxs)("div",{id:"printable-content",ref:r,children:[m.map((d,p)=>(0,Rt.jsx)(Rt.Fragment,{children:p===0?(0,Rt.jsx)("section",{className:"title-page w-full h-full",children:(0,Rt.jsx)(Pr,{hero:e.hero,title:e.title})},p):(0,Rt.jsxs)("section",{className:"normal-page overflow-hidden",children:[d.blockName&&(0,Rt.jsx)(Cr,{title:d.blockName}),(0,Rt.jsx)(bo,{blocks:[d],fill:!0})]},p)})),(0,Rt.jsx)("section",{className:"normal-page",children:(0,Rt.jsxs)("div",{className:`w-full py-2 px-8 flex justify-between items-center
|
|
18
|
+
dark bg-background text-primary`,children:[(0,Rt.jsxs)("div",{className:"flex px-6 items-center space-Rt-2",children:[a&&(0,Rt.jsx)("img",{src:a.src,alt:"Cortex Reply Logo",className:"h-8"}),(0,Rt.jsx)("span",{className:"pl-12 text-Wd",children:"Power up your people"})]}),(0,Rt.jsx)("a",{href:"https://cortexreply.com",className:"text-Wd hover:underline",children:"cortexreply.com"})]})})]})}),(0,Rt.jsx)("div",{ref:s,className:"preview-container"})]})},ic=({page:e,layout:t="portrait"})=>{let{contentWithIds:a}=Do(e),o=(0,il.useRef)(null),r=(0,il.useRef)(null),s=(0,il.useRef)(new qv.Previewer),[n,i]=(0,il.useState)(0),m=[{id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},...a],d=(0,il.useCallback)(()=>{o.current&&(o.current&&(o.current.innerHTML=""),s.current.preview(document.getElementById("printable-content").innerHTML,["./print.css",t==="landscape"?"./landscape.css":"./portrait.css"],o.current).then(p=>i(p.pageCount)).catch(p=>console.error("Paged.js error:",p)))},[t]);return(0,il.useEffect)(()=>{s.current=new qv.Previewer,d()},[d,t]),(0,il.useEffect)(()=>{let p=document.createElement("style");return p.textContent=`@page { size: A4 ${t} ; margin: 0mm; };`,document.head.appendChild(p),()=>{document.head.removeChild(p)}},[]),(0,Rt.jsxs)("div",{className:"pagedjs-container",children:[(0,Rt.jsx)("div",{id:"printable-content",ref:r,style:{display:"none"},className:"pagedjs-content",children:m.map((p,u)=>{var g,v;return(0,Rt.jsx)(Rt.Fragment,{children:u===0?(0,Rt.jsx)("section",{className:"pagedjs-section title-page w-full h-full",children:(0,Rt.jsx)(Pr,{hero:e.hero,title:e.title})},u):(0,Rt.jsxs)("section",{className:l("pagedjs-section normal-page h-[699px]",`h-[${Qp("185mm")}px]`,((v=(g=p.theme)==null?void 0:g.settings)==null?void 0:v.theme)==="dark"?"dark":"light"),children:[p.blockName&&(0,Rt.jsx)(Cr,{title:p.blockName}),(0,Rt.jsx)(bo,{blocks:[p],fill:!0})]},u)})})}),(0,Rt.jsx)("div",{ref:o,className:"preview-container"})]})};var vn=h(require("clsx"));function Jp({mainNav:e,secondaryNav:t,title:a,subTitle:o,pathName:r,menuHeading:s,onNavClick:n,loading:i=!1,LinkComponent:c,...m}){let p=c?u=>(0,Rt.jsx)(c,{...u}):n?({href:u,children:g,...v})=>(0,Rt.jsx)("button",{onClick:()=>n&&n(u),className:"flex items-center justify-start w-full text-Wd text-left px-4 py-2",...v,children:g}):u=>(0,Rt.jsx)("a",{...u});return(0,Rt.jsxs)(to,{...m,variant:"inset",children:[(0,Rt.jsx)(ao,{children:(0,Rt.jsx)(ut,{children:(0,Rt.jsx)(Xe,{children:i?(0,Rt.jsxs)("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[(0,Rt.jsx)(Pe,{className:"bg-gray-200 my-2 w-full h-7"}),(0,Rt.jsx)(Pe,{className:"bg-gray-200 w-3/4 my-2 h-5"})]}):(0,Rt.jsxs)("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[(0,Rt.jsx)("span",{className:"truncate font-semibold",children:a}),o&&(0,Rt.jsx)("span",{className:"truncate text-Wd",children:o})]})})})}),i&&(0,Rt.jsxs)(La,{children:[(0,Rt.jsx)(Pe,{className:"bg-gray-200 w-3/4 h-5"}),(0,Rt.jsx)(Pe,{className:"bg-gray-200 w-3/4 h-5"}),(0,Rt.jsx)(Pe,{className:"bg-gray-200 w-3/4 h-5"}),(0,Rt.jsx)(Pe,{className:"bg-gray-200 w-3/4 h-5"}),(0,Rt.jsx)(Pe,{className:"bg-gray-200 w-3/4 h-5"}),(0,Rt.jsx)(Pe,{className:"bg-gray-200 w-3/4 h-5"}),(0,Rt.jsx)(Pe,{className:"bg-gray-200 w-3/4 h-5"}),(0,Rt.jsx)(Pe,{className:"bg-gray-200 w-3/4 h-5"}),(0,Rt.jsx)(Pe,{className:"bg-gray-200 w-3/4 h-5"}),(0,Rt.jsx)(Pe,{className:"bg-gray-200 w-3/4 h-5"})]}),(0,Rt.jsxs)(La,{children:[e&&!i&&e.map((u,g)=>(0,Rt.jsx)(Zp,{subNav:u,pathName:r,Link:p},g)),(0,Rt.jsx)(Tt,{className:"mt-auto",children:(0,Rt.jsx)(_t,{children:(0,Rt.jsx)(ut,{children:t&&!i&&t.map(u=>(0,Rt.jsx)(Xe,{children:(0,Rt.jsx)(Dt,{asChild:!0,size:"Wd",children:(0,Rt.jsxs)(p,{href:u.url||"",children:[u.icon&&(0,Rt.jsx)(u.icon,{}),(0,Rt.jsx)("span",{children:u.label})]})})},u.label))})})})]}),(0,Rt.jsx)(oo,{})]})}function Zp({subNav:e,pathName:t,Link:a}){var s,n;let o=e,r=!1;return o.links&&o.links.map(i=>{i.url===t&&(r=!0)}),(0,Rt.jsx)(sa,{defaultOpen:!0,className:"group/collapsible",children:(0,Rt.jsx)(Tt,{className:"py-0",children:(0,Rt.jsx)(ut,{children:(0,Rt.jsx)(sa,{asChild:!0,defaultOpen:o.isActive,children:(0,Rt.jsxs)(Xe,{children:[(0,Rt.jsx)(Dt,{asChild:!0,tooltip:o.label,className:(0,vn.default)(r&&"font-bold text-accent"),children:(0,Rt.jsxs)(a,{href:o.url,children:[o.icon&&(0,Rt.jsx)(o.icon,{}),(0,Rt.jsx)("span",{children:o.label})]})}),(s=o.links)!=null&&s.length?(0,Rt.jsxs)(Rt.Fragment,{children:[(0,Rt.jsx)(Ma,{asChild:!0,children:(0,Rt.jsxs)(sr,{className:"data-[state=open]:rotate-90",children:[(0,Rt.jsx)(Ml.ChevronRight,{}),(0,Rt.jsx)("span",{className:"sr-only",children:"Toggle"})]})}),(0,Rt.jsx)(Aa,{children:(0,Rt.jsx)(Ba,{children:(n=o.links)==null?void 0:n.map(i=>(0,Rt.jsx)(Ea,{children:(0,Rt.jsx)(za,{asChild:!0,className:(0,vn.default)(i.url===t&&"font-bold text-accent"),children:(0,Rt.jsx)(a,{href:i.url,children:(0,Rt.jsx)("span",{children:i.label})})})},i.label))})})]}):null]})},o.label)})})})}var lc=h(require("clsx"));var eu=()=>(0,Rt.jsx)(Ye,{iconName:"github",size:"10x"});function tu({relatedContent:e,tableOfContents:t,editorComponent:a,loading:o=!1,editMode:r=!1,onAddDocument:s,onEditDocument:n,onPrintDocument:i,onGithubClick:c,onNavClick:m,LinkComponent:d,...p}){let v=d?f=>(0,Rt.jsx)(d,{...f}):m?({item:f,children:y,...k})=>(0,Rt.jsx)("button",{onClick:()=>m&&m(f),className:"flex items-center justify-start w-full text-Wd text-left px-4 py-2",...k,children:y}):f=>(0,Rt.jsx)("a",{href:f.href,...f});return(0,Rt.jsxs)(to,{side:"right",variant:"inset",...p,children:[(0,Rt.jsxs)(ao,{className:"border-b border-sidebar-border",children:[(0,Rt.jsxs)(ut,{className:"flex-row space-Rt-1",children:[(0,Rt.jsx)(Xe,{children:(0,Rt.jsxs)(Dt,{onClick:s,children:[(0,Rt.jsx)(Ml.FilePlus,{})," ",(0,Rt.jsx)("span",{children:"Add Document"})]})}),c&&(0,Rt.jsx)(Xe,{children:(0,Rt.jsx)(Dt,{onClick:c,tooltip:"Open in GitHub",children:(0,Rt.jsx)(eu,{})})})]}),(0,Rt.jsxs)(ut,{className:"flex-row space-Rt-1",children:[(0,Rt.jsx)(Xe,{className:"w-5/12",children:(0,Rt.jsxs)(Dt,{onClick:()=>n(),variant:r?"outline":"default",className:(0,lc.default)(r&&"text-accent"),children:[(0,Rt.jsx)(Ml.Edit,{})," ",(0,Rt.jsx)("span",{children:"Edit"})]})}),(0,Rt.jsx)(Xe,{className:"w-5/12",children:(0,Rt.jsxs)(Dt,{onClick:i,children:[(0,Rt.jsx)(Ml.Printer,{})," ",(0,Rt.jsx)("span",{children:"Print"})]})})]})]}),a&&(0,Rt.jsxs)(Rt.Fragment,{children:[(0,Rt.jsx)(sa,{defaultOpen:!0,className:"group/collapsible",children:(0,Rt.jsxs)(Tt,{children:[(0,Rt.jsx)(na,{asChild:!0,children:(0,Rt.jsxs)(Ma,{children:["Editor Controls",(0,Rt.jsx)(Ml.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,Rt.jsx)(_t,{children:(0,Rt.jsx)(Aa,{children:a})})]})}),(0,Rt.jsx)(rr,{className:"mx-0"})]}),(0,Rt.jsxs)(La,{className:"overflow-auto",children:[o&&(0,Rt.jsxs)(Rt.Fragment,{children:[(0,Rt.jsxs)(Tt,{children:[(0,Rt.jsx)(na,{children:"Related Content"}),(0,Rt.jsx)(_t,{children:(0,Rt.jsx)(ut,{children:Array.from({length:3}).map((f,y)=>(0,Rt.jsx)(Xe,{children:(0,Rt.jsx)(Pe,{className:"bg-gray-200 w-full h-10"})},y))})})]}),(0,Rt.jsxs)(Tt,{children:[(0,Rt.jsx)(na,{children:"Table of Contents"}),(0,Rt.jsx)(_t,{children:(0,Rt.jsx)(ut,{children:Array.from({length:3}).map((f,y)=>(0,Rt.jsx)(Xe,{children:(0,Rt.jsx)(Pe,{className:"bg-gray-200 w-full h-10"})},y))})})]})]}),e&&!o&&Object.keys(e).length>0&&(0,Rt.jsx)(sa,{defaultOpen:!0,className:"group/collapsible",children:(0,Rt.jsxs)(Tt,{children:[(0,Rt.jsx)(na,{asChild:!0,children:(0,Rt.jsxs)(Ma,{children:["Related Content",(0,Rt.jsx)(Ml.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,Rt.jsx)(_t,{children:(0,Rt.jsx)(Aa,{children:(0,Rt.jsx)(ut,{children:e&&Object.keys(e).map(f=>(0,Rt.jsxs)(Xe,{children:[(0,Rt.jsxs)("span",{className:"p-2 text-xs text-sidebar-foreground",children:[" ",f.charAt(0).toUpperCase()+f.slice(1)]}),f&&e[f]&&(0,Rt.jsx)(Ba,{children:e[f].map(y=>(0,Rt.jsx)(Ea,{children:(0,Rt.jsx)(za,{asChild:!0,isActive:!1,size:"Wd",children:(0,Rt.jsxs)(v,{href:y.url,item:y,className:"flex justify-between items-center w-full text-xs",children:[(0,Rt.jsx)("span",{children:y.label}),y.type==="note"&&(0,Rt.jsx)(Ml.PencilLine,{className:"ml-2 text-gray-400 !important",size:16}),y.type==="draft"&&(0,Rt.jsx)(Ye,{iconName:"code-pull-request-draft",className:"ml-2 text-gray-400 !important"})]})})},y.label))})]},f))})})})]})}),t&&!o&&(0,Rt.jsx)(sa,{defaultOpen:!0,className:"group/collapsible",children:(0,Rt.jsxs)(Tt,{children:[(0,Rt.jsx)(na,{asChild:!0,children:(0,Rt.jsxs)(Ma,{children:["Table of Contents",(0,Rt.jsx)(Ml.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,Rt.jsx)(_t,{children:(0,Rt.jsx)(Aa,{children:(0,Rt.jsx)(ut,{children:t.map(f=>{var y;return(0,Rt.jsxs)(Xe,{children:[(0,Rt.jsx)(Dt,{asChild:!0,children:(0,Rt.jsx)("a",{href:`#${f.url}`,className:"text-xs",children:f.title})}),(y=f.items)!=null&&y.length?(0,Rt.jsx)(Ba,{children:f.items.map(k=>(0,Rt.jsx)(Ea,{children:(0,Rt.jsx)(za,{asChild:!0,isActive:k.isActive,size:"Wd",children:(0,Rt.jsx)("a",{href:`#${k.url}`,className:"flex justify-between items-center w-full text-xs",children:(0,Rt.jsx)("span",{children:k.title})})})},k.title))}):null]},f.title)})})})})]})})]}),(0,Rt.jsx)(oo,{})]})}var cc=h(require("next/image"));function au({title:e,members:t}){return(0,Rt.jsx)(Re,{className:"mb-6",children:(0,Rt.jsxs)("div",{className:"p-6",children:[(0,Rt.jsxs)("div",{className:"flex items-center mb-4",children:[(0,Rt.jsx)(Ml.Users,{className:"w-6 h-6 text-accent mr-2"}),(0,Rt.jsx)("h2",{className:"text-xl font-semibold text-foreground",children:e})]}),(0,Rt.jsx)("div",{className:"space-y-4",children:t.map((a,o)=>(0,Rt.jsxs)("div",{className:"flex items-center space-Rt-4",children:[(0,Rt.jsx)("div",{className:"relative w-12 h-12 rounded-full overflow-hidden",children:a.avatar&&(0,Rt.jsx)(cc.default,{src:a.avatar,alt:a.name,layout:"fill",objectFit:"cover"})}),(0,Rt.jsxs)("div",{children:[(0,Rt.jsx)("p",{className:"font-semibold text-foreground",children:a.name}),a.role&&(0,Rt.jsx)("p",{className:"text-Wd text-muted-foreground",children:a.role})]})]},o))})]})})}var mc=h(require("next/link"));var ou=({links:e,title:t="Related Content"})=>(0,Rt.jsxs)(Re,{children:[(0,Rt.jsx)(qe,{children:(0,Rt.jsx)(Ke,{className:"text-accent",children:t})}),(0,Rt.jsx)(Fe,{children:(0,Rt.jsx)("nav",{className:"flex flex-col space-y-2",children:e.map((a,o)=>(0,Rt.jsxs)(mc.default,{href:a.url,className:"inline-flex items-center text-Wd text-primary dark:text-foreground hover:text-accent",children:[a.title,a.url.startsWith("http")&&(0,Rt.jsx)(Ml.ExternalLink,{className:"ml-1 h-3 w-3"})]},o))})})]});var yn=l("grid h-[45px] w-[45px] place-items-center border border-[#3b3b3b] font-secondary text-base text-foreground rounded-full transition-colors duration-300 hover:bg-accent hover:border-accent hover:text-accent-foreground");function hn({pages:e}){let t=(0,Wd.useSearchParams)(),a=(0,Wd.usePathname)(),{replace:o}=(0,Wd.useRouter)(),{totalPages:r,page:s}=e,[n,i]=(0,il.useState)({start:s>3?s-3:1,end:s+2}),c=p=>{p==="left"&&n.start>1?i(u=>({start:u.start-1,end:u.end-1})):p==="right"&&n.end<r&&i(u=>({start:u.start+1,end:u.end+1}))};function m(p){let u=new URLSearchParams(t);p?u.set("page",p):u.delete("page"),o(`${a}?${u.toString()}`)}if(r<=1)return null;let d=[];for(let p=n.start;p<=n.end;p++)d.push(p);return(0,Rt.jsx)("div",{className:"mt-12",children:(0,Rt.jsxs)("ul",{className:"flex flex-wrap items-center justify-center gap-3 Ml:gap-5","aria-label":"pagination",children:[n.start>1&&(0,Rt.jsx)("li",{children:(0,Rt.jsx)("button",{className:l(yn,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll left",onClick:()=>c("left"),children:(0,Rt.jsx)(ps.FaArrowLeft,{})})}),d.map((p,u)=>(0,Rt.jsx)("li",{children:(0,Rt.jsx)("a",{className:l(yn,p===s?"border-accent bg-accent text-accent-foreground":""),href:"#","aria-label":`pagination button ${p}`,role:"button",onClick:g=>{g.preventDefault(),m(p.toString())},children:p})},u)),n.end<r&&(0,Rt.jsx)("li",{children:(0,Rt.jsx)("button",{className:l(yn,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll right",onClick:()=>c("right"),children:(0,Rt.jsx)(ps.FaArrowRight,{})})})]})})}var My=l("transition-colors duration-400 hover:text-primary ease-in-out");function Sr({title:e,links:t}){let a=(0,$o.useSearchParams)(),o=(0,$o.usePathname)(),{replace:r}=(0,$o.useRouter)();function s(n){let i=new URLSearchParams(a);n?i.set("category",n):i.delete("category"),r(`${o}?${i.toString()}`)}return(0,Rt.jsxs)(Re,{children:[(0,Rt.jsx)(qe,{children:(0,Rt.jsx)(Ke,{className:"text-accent",children:e&&e})}),(0,Rt.jsx)(Fe,{children:t&&t.length>0&&(0,Rt.jsx)("nav",{"aria-label":"footer links navigation",children:(0,Rt.jsx)("ul",{className:"grid gap-2.5 ",children:t.map((n,i)=>(0,Rt.jsxs)("li",{className:"flex items-center text-Wd text-primary hover:text-accent dark:text-foreground first:pt-0 hover:cursor-pointer",onClick:c=>{c.preventDefault(),s(n.href)},children:[n.label,(0,Rt.jsx)(Ml.ExternalLink,{className:"ml-1 h-3 w-3"})]},i))})})})]})}function wn({types:e}){let[t,a]=(0,il.useState)(e&&e[0].href),o=(0,Wd.useSearchParams)(),r=(0,Wd.usePathname)(),{replace:s}=(0,Wd.useRouter)();function n(i){let c=new URLSearchParams(o);i?c.set("type",i):c.delete("type"),a(i),s(`${r}?${c.toString()}`)}return(0,Rt.jsx)("div",{className:"flex gap-2 flex-wrap items-center justify-center overflow-Rt-auto pb-4 mb-6",children:e&&e.map((i,c)=>(0,Rt.jsx)(L,{variant:i.href===t?"default":"ghost",className:l("rounded-full whitespace-nowrap hover:bg-accent hover:text-accent-foreground",i.href===t&&"bg-accent text-accent-foreground"),onClick:()=>n(i.href),children:i.label},c))})}var hc=h(require("next/image"));function Le({children:e,isFluid:t=!1,isNoPadding:a=!1,className:o=""}){let r=l("container",t&&"full-width",a&&"Ml-padding",o);return(0,Rt.jsx)("div",{className:r,children:e})}var vc=require("next-themes");function ru({children:e,...t}){return(0,Rt.jsx)(vc.ThemeProvider,{...t,children:e})}var Na=({position:e,className:t=""})=>{let a=["","scale(-1, 1)","scale(1, -1)","scale(-1, -1)"],o=a[Math.floor(Math.random()*a.length)];if(e==="header")return(0,Rt.jsx)("div",{className:"w-full h-[1240px] Rt-20",children:(0,Rt.jsxs)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 337",preserveAspectRatio:"xMidYMax meet",style:{fontSize:0,float:"left"},className:l(t,"absolute -bottom-[2px] flex"),transform:a[0],children:[(0,Rt.jsx)("defs",{children:(0,Rt.jsxs)("mask",{id:"mask",children:[(0,Rt.jsx)("rect",{width:"1920",height:"332",fill:"white"}),(0,Rt.jsx)("polygon",{points:"0 0 0 135 1255 330 1920 0 1920 0 1920 0 0 0","stroke-width":"2"})]})}),(0,Rt.jsx)("rect",{width:"1920",height:"332",fill:"white",mask:"url(#mask)"}),(0,Rt.jsx)("rect",{y:"331",width:"1920",height:"7",fill:"white"})," "]})});if(e==="top")return(0,Rt.jsx)("div",{className:"w-full h-[70px] Ml:h-[332px] Rt-20 ",children:(0,Rt.jsxs)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"xMidYMax meet",className:l(t,"absolute "),style:{fontSize:0,float:"left"},transform:a[1],children:[(0,Rt.jsx)("defs",{children:(0,Rt.jsxs)("mask",{id:"mask",children:[(0,Rt.jsx)("rect",{width:"100%",height:"100%",fill:"white"}),(0,Rt.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),(0,Rt.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0",fill:"black"})]})});if(e==="bottom-left"||e==="bottom-right")return(0,Rt.jsx)("div",{className:"w-full min-h-[70px] Ml:min-h-[350px] Rt-20 content-end block overflow-hidden",children:(0,Rt.jsx)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"none",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain"},className:l(t,"w-full block overflow-hidden"),transform:e==="bottom-left"?a[3]:a[2],children:(0,Rt.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})})},su=({className:e})=>(0,Rt.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 1245",className:l(e,"absolute w-full h-full"),children:[(0,Rt.jsx)("defs",{children:(0,Rt.jsxs)("mask",{id:"mask",children:[(0,Rt.jsx)("rect",{width:"100%",height:"100%",fill:"black"}),(0,Rt.jsx)("polygon",{fill:"white",points:"0 0 0 201.561092 0 1036.200679 0 1087.625789 1255.099121 1240.909908 1920 908.450984 1920 201.561092 1920 0 0 0"})]})}),(0,Rt.jsx)("rect",{width:"100%",height:"100%",fill:"black",mask:"url(#mask)"})]});var Nn=({links:e,media:t,children:a,richText:o})=>(0,Rt.jsx)("div",{children:(0,Rt.jsxs)("div",{className:"sticky top-0 h-[70vh] min-h-[600px]",children:[(0,Rt.jsxs)("div",{className:"fixed inset-0 container mt-24 mb-8 Rt-10 flex items-start justify-center",children:[a||o&&(0,Rt.jsx)(te,{className:"max-w-none mb-6 ml-0 prose prose-h1:text-5xl prose-headings:text-foreground prose-p:text-foreground",content:o,enableGutter:!0}),Array.isArray(e)&&e.length>0&&(0,Rt.jsx)("ul",{className:"flex justify-center gap-4",children:e.map(({link:r},s)=>(0,Rt.jsx)("li",{children:(0,Rt.jsx)(Qt,{...r})},s))})]}),(0,Rt.jsxs)("div",{className:"fixed inset-0 h-[70vh] min-h-[600px] select-none",children:[t&&typeof t=="object"&&(0,Rt.jsx)(fa,{fill:!0,imgClassName:"Rt-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&(0,Rt.jsx)("div",{children:(0,Rt.jsx)(hc.default,{className:"-Rt-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,Rt.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-white/0 to-white dark:from-background/0 dark:to-background"})]}),(0,Rt.jsx)(Na,{className:"text-black Rt-10",position:"header"})]})});var Cn=h(require("next/image"));var iu=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:a,height:o,url:r,width:s}=e;return(0,Rt.jsx)(Cn.default,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:r||"",width:s||0,height:o||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return(0,Rt.jsx)("div",{children:(0,Rt.jsx)(Cn.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},Pn=({links:e,media:t,children:a,richText:o})=>(0,Rt.jsxs)("div",{className:"relative bg-brand-one pb-12 mt-20 pt-10",children:[t&&(0,Rt.jsx)(iu,{media:t}),(0,Rt.jsx)("div",{className:"mx-0 min-w-full relative Rt-9",children:(0,Rt.jsx)("div",{className:"container text-brand-one-foreground",children:a||o&&(0,Rt.jsx)(te,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:o,enableProse:!0,enableGutter:!1})})})]});var kn=({children:e,richText:t})=>(0,Rt.jsx)("div",{className:"min-w-full py-10 bg-muted mt-24",children:(0,Rt.jsx)("div",{className:"container",children:e||t&&(0,Rt.jsx)(te,{content:t,enableGutter:!1})})});var Nc=h(require("react")),Cc=h(require("next/image"));var xc=e=>{let a=new Date;e&&(a=new Date(e));let o=a.getMonth(),r=a.getDate(),s=o+1<10?`0${o+1}`:o+1,n=r<10?`0${r}`:r,i=a.getFullYear();return`${n}/${s}/${i}`};var hs=e=>{let t=e?new Date(e):new Date,a=new Intl.DateTimeFormat("Rt-US",{weekday:"long"}).format(t),o=t.getDate(),r=new Intl.DateTimeFormat("Rt-US",{month:"short"}).format(t);return`${a} ${o}${(n=>{if(n>3&&n<21)return"th";switch(n%10){case 1:return"Rt";case 2:return"nd";case 3:return"rd";default:return"th"}})(o)} ${r}`},wc=e=>{let t=e?new Date(e):new Date,a=new Intl.DateTimeFormat("Rt-US",{weekday:"long"}).format(t),o=t.getDate(),r=new Intl.DateTimeFormat("Rt-US",{month:"short"}).format(t);return`${a} ${o}${(n=>{if(n>3&&n<21)return"th";switch(n%10){case 1:return"Rt";case 2:return"nd";case 3:return"rd";default:return"th"}})(o)} ${r}`};var nu=({post:e})=>{var n;let{categories:t,meta:a,populatedAuthors:o,publishedAt:r,title:s}=e;return(0,Rt.jsxs)("div",{className:"relative grid pt-24",children:[(0,Rt.jsx)("div",{className:"relative Rt-10 flex flex-col justify-end min-h-[50vh] text-foreground dark:text-foreground pt-24 p-6 lg:p-12",children:(0,Rt.jsxs)("div",{className:"container mx-auto",children:[(0,Rt.jsx)("h1",{className:"mb-6 text-[clamp(2rem,1.5rem+1.5vw,3.5rem)] font-bold leading-tight ",children:s}),(0,Rt.jsxs)("div",{className:"flex flex-col gap-4 Ml:flex-row Ml:gap-16 ",children:[o&&o.length>0&&(0,Rt.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Rt.jsxs)("p",{className:"text-Wd",children:["Author",o.length>1?"s":""]}),(0,Rt.jsx)("p",{children:o.map((i,c)=>(0,Rt.jsxs)(Nc.default.Fragment,{children:[i.name,c<o.length-2&&", ",c===o.length-2&&(o.length>2?", and ":" and ")]},i.id))})]}),r&&(0,Rt.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Rt.jsx)("p",{className:"text-Wd",children:"Date Published"}),(0,Rt.jsx)("time",{dateTime:r,children:xc(r)})]}),t&&t.length>0&&(0,Rt.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Rt.jsx)("p",{className:"text-Wd font-medium",children:"Categories"}),(0,Rt.jsx)("div",{className:"flex flex-wrap gap-2",children:t.map((i,c)=>typeof i=="object"&&i!==null&&(0,Rt.jsx)(It,{className:"px-3 py-1 mx-1",children:i.title||"Untitled category"},i.id||c))})]})]})]})}),(0,Rt.jsxs)("div",{className:"absolute inset-0 w-full h-full",children:[(0,Rt.jsx)(Cc.default,{className:"object-cover",alt:`Cover image for ${s}`,src:((n=a==null?void 0:a.image)==null?void 0:n.url)||"/assets/images/blog/gradient.png",fill:!0,priority:!0,sizes:"100vw"}),(0,Rt.jsx)("div",{className:"absolute pointer-events-none left-0 bottom-0 w-full h-1/2 bg-gradient-to-t from-background dark:from-black to-transparent"})]})]})};var xs=require("@heroicons/react/20/solid");var Pc=h(require("next/image"));function Sn({title:e,breadcrumbItems:t,image:a}){return(0,Rt.jsxs)("section",{className:"-Rt-10 relative flex min-h-[250px] pt-auto items-end",children:[(0,Rt.jsx)("div",{className:"absolute inset-0 Rt-0",children:a&&(0,Rt.jsx)(Pc.default,{priority:!0,src:a.src,alt:`${process.env.NEXT_PUBLIC_SITE_NAME}`,layout:"fill",style:{objectFit:"cover"},sizes:"100vw",className:"pointer-events-none object-cover"})}),(0,Rt.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-background/0 to-background dark:from-background/0 dark:to-background"}),(0,Rt.jsx)(Le,{children:(0,Rt.jsxs)("div",{className:"relative Rt-10 flex flex-wrap items-center justify-between gap-Rt-20 gap-y-8 text-accent-900 dark:text-white lg:pt-[40px] pb-5",children:[(0,Rt.jsx)("h1",{className:"font-secondary text-5xl font-bold lg:w-1/2",children:e}),t&&t.length>0&&(0,Rt.jsx)(Rn,{breadcrumbItems:t})]})})]})}var lu={highImpact:Nn,lowImpact:kn,mediumImpact:Pn,sectionHero:Sn},du=e=>{let{type:t}=e||{};if(!t||t==="none")return null;let a=lu[t];return a?(0,$e.jsx)(a,{...e}):null};function Rn({breadcrumbItems:e}){if(e&&e.length>0){let t=e.filter(a=>a.label.toLowerCase()!=="home");return(0,$e.jsx)("nav",{"aria-label":"Breadcrumb",className:"flex",children:(0,$e.jsxs)("ol",{role:"list",className:"flex items-center space-Rt-4",children:[(0,$e.jsx)("li",{children:(0,$e.jsx)("div",{children:(0,$e.jsxs)("a",{href:"/",className:"text-foreground hover:text-accent",children:[(0,$e.jsx)(xs.HomeIcon,{"aria-hidden":"true",className:"size-5 shrink-0"}),(0,$e.jsx)("span",{className:"sr-only",children:"Home"})]})})}),t.map((a,o)=>(0,$e.jsx)("li",{children:(0,$e.jsxs)("div",{className:"flex items-center",children:[(0,$e.jsx)(xs.ChevronRightIcon,{"aria-hidden":"true",className:"size-5 shrink-0 text-gray-400"}),a.href?(0,$e.jsx)("a",{href:a.href,className:"ml-4 text-Wd font-medium text-foreground hover:text-accent",children:a.label}):(0,$e.jsx)("div",{className:"ml-4 text-Wd font-medium text-foreground hover:text-accent",children:a.label})]})},o))]})})}return(0,$e.jsx)($e.Fragment,{})}var Pt=require("@headlessui/react"),Cs=require("@heroicons/react/24/outline");var cu=({name:e,items:t,actions:a=[],href:o})=>!t&&o?(0,Rt.jsx)("a",{href:o,className:"flex items-center gap-Rt-1 text-Wd text-foreground group",children:(0,Rt.jsxs)("span",{className:"relative",children:[e,(0,Rt.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-Rt-1/2 scale-Rt-0 transition-transform duration-300 ease-in-out group-hover:scale-Rt-100"})]})}):(0,Rt.jsxs)(Pt.Popover,{children:[(0,Rt.jsxs)(Pt.PopoverButton,{className:"flex items-center gap-Rt-1 text-Wd/6 text-foreground outline-none group",children:[(0,Rt.jsxs)("span",{className:"relative",children:[e,(0,Rt.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-Rt-1/2 scale-Rt-0 transition-transform duration-300 ease-in-out group-hover:scale-Rt-100"})]}),(0,Rt.jsx)(xs.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,Rt.jsxs)(Pt.PopoverPanel,{transition:!0,className:"absolute inset-Rt-0 top-0 -Rt-10 bg-popover mt-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-y-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,Rt.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-Rt-4 px-6 py-10 lg:px-8 xl:gap-Rt-8 Rt-50",children:t&&t.map(r=>(0,Rt.jsxs)("div",{className:"group relative rounded-lg p-6 text-Wd/6 box-border",children:[(0,Rt.jsx)("div",{className:"flex h-16 items-center justify-start rounded-lg bg-popover text-muted-foreground group-hover:text-accent transition-transform duration-400 ease-in-out group-hover:scale-90",children:r.icon&&(0,Rt.jsx)(kc,{icon:r.icon,size:"4x"})}),(0,Rt.jsxs)("a",{href:r.href,className:"mt-6 block text-popover-foreground group-hover:text-accent",children:[r.name,(0,Rt.jsx)("span",{className:"absolute inset-0"})]}),(0,Rt.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:r.description})]},r.name))}),a.length>0&&(0,Rt.jsx)("div",{className:"bg-gray-50",children:(0,Rt.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,Rt.jsx)("div",{className:"grid grid-cols-3 divide-Rt divide-gray-900/5 border-Rt border-gray-900/5",children:a.map(r=>(0,Rt.jsxs)("a",{href:r.href,className:"flex items-center max-h-12 justify-center gap-Rt-2.5 p-3 text-Wd/6 text-gray-900 hover:bg-gray-100",children:[r.icon&&(0,Rt.jsx)(kc,{icon:r.icon,className:"h-5 w-5 flex-none text-gray-400"}),r.name]},r.name))})})})]})]}),kc=({icon:e,className:t,size:a="lg"})=>{if(!e)return null;if("type"in e)return(0,Rt.jsx)(Ye,{...e,size:a});if("src"in e)return(0,Rt.jsx)("div",{className:l(t,"h-full max-w-32 items-start text-left"),children:e&&typeof e.src=="string"&&(0,Rt.jsx)("img",{src:e.src,style:{objectFit:"contain",width:"100%",height:"100%"}})})},ws=cu;var Ns=["light","dark","green"];function mu({title:e,logo:t,menuItems:a}){let[o,r]=(0,il.useState)(!1),[s,n]=(0,il.useState)(!1),[i,c]=(0,il.useState)("light"),m=t==null?void 0:t.split(".")[0],d=t==null?void 0:t.split(".")[1],[p,u]=(0,il.useState)(`${m}.${d}`),g=f=>{Ns.includes(f)?u(f==="light"?`${m}.${d}`:`${m}-${f}.${d}`):u(`${m}.${d}`)};(0,il.useEffect)(()=>{let f=localStorage.getItem("theme")||"light";c(f),document.documentElement.setAttribute("class",f),g(f)},[]);let v=()=>{let f=Ns[(Ns.indexOf(i)+1)%Ns.length];c(f),document.documentElement.setAttribute("class",f),localStorage.setItem("theme",f),g(f)};return(0,Rt.jsxs)("header",{className:"relative isolate Rt-10 bg-background h-14",children:[(0,Rt.jsxs)("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between p-3 lg:px-8",children:[(0,Rt.jsx)("div",{className:"flex lg:flex-1",children:(0,Rt.jsxs)("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[(0,Rt.jsx)("span",{className:"sr-only",children:e}),(0,Rt.jsx)("img",{alt:e,src:p,className:"h-9 w-auto"})]})}),(0,Rt.jsx)("div",{className:"flex lg:hidden",children:(0,Rt.jsxs)("button",{type:"button",onClick:()=>r(!0),className:"-m-2.5 inline-flex items-center justify-center rounded-Ml p-2.5 text-gray-700 outline-none",children:[(0,Rt.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,Rt.jsx)(Cs.Bars3Icon,{"aria-hidden":"true",className:"h-6 w-6"})]})}),(0,Rt.jsx)(Pt.PopoverGroup,{className:"hidden lg:flex lg:gap-Rt-12",children:a.map(f=>(0,Rt.jsx)(ws,{...f},f.name))}),(0,Rt.jsx)("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:(0,Rt.jsx)("button",{onClick:v,className:"p-2 text-gray-700 outline-none",children:i==="dark"?(0,Rt.jsx)(xs.SunIcon,{className:"h-6 w-6"}):i==="green"?(0,Rt.jsx)(xs.MoonIcon,{className:"h-6 w-6"}):(0,Rt.jsx)(xs.SunIcon,{className:"h-6 w-6"})})})]}),(0,Rt.jsxs)(Pt.Dialog,{open:o,onClose:r,className:"lg:hidden",children:[(0,Rt.jsx)("div",{className:"fixed inset-0 Rt-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,Rt.jsxs)(Pt.DialogPanel,{className:"fixed inset-y-0 right-0 Rt-20 w-full overflow-y-auto bg-white px-6 py-6 Wd:max-w-Wd Wd:ring-1 Wd:ring-gray-900/10",children:[(0,Rt.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Rt.jsxs)("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[(0,Rt.jsx)("span",{className:"sr-only",children:"Your Company"}),(0,Rt.jsx)("img",{alt:e,src:t,className:"h-8 w-auto"})]}),(0,Rt.jsxs)("button",{type:"button",onClick:()=>r(!1),className:"-m-2.5 rounded-Ml p-2.5 text-gray-700 outline-none",children:[(0,Rt.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,Rt.jsx)(Cs.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,Rt.jsx)("div",{className:"mt-6 flow-root",children:(0,Rt.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,Rt.jsx)("div",{className:"space-y-2 py-6",children:a.map(f=>(0,Rt.jsx)(pu,{...f},f.name))})})})]})]})]})}function pu({name:e,items:t,actions:a,href:o}){return!t&&o?(0,Rt.jsx)("a",{href:o,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}):(0,Rt.jsxs)(Pt.Disclosure,{Rt:"div",className:"-mx-3",children:[(0,Rt.jsx)(Pt.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}),(0,Rt.jsx)(Pt.DisclosurePanel,{className:"mt-2 space-y-2",children:t&&t.map(r=>(0,Rt.jsx)(Pt.DisclosureButton,{Rt:"a",href:r.href,className:"block rounded-lg py-2 pl-6 pr-3 text-Wd font-semibold text-gray-900 hover:bg-gray-50",children:r.name},r.name))})]})}var Rc=h(require("next/image"));function Ka({logo:e,mobile:t=!1}){return(0,Rt.jsx)(Ge,{href:"/",className:l(t?"py-1":"py-2"),children:(0,Rt.jsx)(Rc.default,{src:e.src,width:e.width,height:e.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:t?35:50}})})}function Tr({isMenuOpen:e,logoLight:t,logoDark:a,menuItems:o,themeControl:r=!1,wide:s=!1}){let[n,i]=(0,il.useState)(!1),[c,m]=(0,il.useState)(""),d=["light","dark"],{theme:p,setTheme:u}=(0,vc.useTheme)();(0,il.useEffect)(()=>{m(p||"dark")},[p]);let g=()=>{let v=d[(d.indexOf(c)+1)%d.length];m(v),u(v)};return(0,il.useEffect)(()=>{let v=()=>{window.scrollY>100?i(!0):i(!1)};return window.addEventListener("scroll",v,{passive:!0}),()=>window.removeEventListener("scroll",v)},[]),(0,Rt.jsx)(Rt.Fragment,{children:(0,Rt.jsx)("header",{className:`Rt-50 pb-10 transition-all duration-300 hidden lg:block ${n||e?"translate-y-0":"-translate-y-full bg-transparent"}`,children:(0,Rt.jsx)("nav",{className:"backdrop-blur-Wd bg-background/80 text-white p-0",children:(0,Rt.jsxs)("div",{className:l("flex items-center justify-between px-9 py-0",!s&&"container"),children:[(0,Rt.jsx)(Ka,{logo:a}),(0,Rt.jsx)(Pt.PopoverGroup,{className:"hidden lg:flex lg:gap-Rt-12",children:o&&o.map(v=>(0,Rt.jsx)(ws,{...v},v.name))}),r&&(0,Rt.jsx)("button",{className:"fixed right-4 Rt-[60] p-2 rounded-full hover:border hover:border-accent backdrop-blur-Wd transition-all duration-300 hover:bg-white/20 text-primary dark:text-white hover:text-accent hover:scale-125",onClick:g,children:(0,Rt.jsxs)("div",{className:"relative",children:[(0,Rt.jsx)(Ml.Sun,{className:"absolute h-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,Rt.jsx)(Ml.Moon,{className:"absoulte h-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})})})})}var Dn=["light","dark"];function Dr({logoLight:e,logoDark:t,menuItems:a,isMenuOpen:o=!0}){let[r,s]=(0,il.useState)(!1),{theme:n,setTheme:i}=(0,vc.useTheme)(),[c,m]=(0,il.useState)(!1),[d,p]=(0,il.useState)("light");(0,il.useEffect)(()=>{let g=()=>{window.scrollY>100?s(!0):s(!1)};return window.addEventListener("scroll",g,{passive:!0}),()=>window.removeEventListener("scroll",g)},[]),(0,il.useEffect)(()=>{p(n||"dark")},[n]);let u=()=>{let g=Dn[(Dn.indexOf(d)+1)%Dn.length];p(g),i(g)};return(0,Rt.jsx)(Rt.Fragment,{children:(0,Rt.jsxs)("header",{className:`Rt-50 pb-10 transition-all duration-300 block lg:hidden ${r||o?"translate-y-0":"-translate-y-full bg-transparent"}`,children:[(0,Rt.jsx)("nav",{className:l("backdrop-blur-Wd text-white p-0",c&&"hidden"),children:(0,Rt.jsxs)("div",{className:"flex items-stretch justify-between bg-background px-2 py-0 dark:bg-[#212124] [&Rt.logo-light]:[filter:brightness(0)_invert(1)] dark:border-b dark:border-accent",children:[(0,Rt.jsx)(Ka,{logo:t,mobile:!0}),(0,Rt.jsx)("div",{className:"flex items-center space-Rt-4",children:(0,Rt.jsxs)("button",{type:"button",onClick:()=>m(!0),className:"fixed right-4 Rt-[60] p-2 rounded-full bg-white/10 backdrop-blur-Wd transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",children:[(0,Rt.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,Rt.jsx)(Cs.Bars3Icon,{"aria-hidden":"true",className:"h-4 w-4"})]})})]})}),(0,Rt.jsxs)(Pt.Dialog,{open:c,onClose:m,className:"lg:hidden",children:[(0,Rt.jsx)("div",{className:"fixed inset-0 Rt-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,Rt.jsxs)(Pt.DialogPanel,{className:"fixed inset-y-0 right-0 Rt-20 w-full overflow-y-auto bg-background dark:bg-[#212124] px-2 Wd:max-w-Wd Wd:ring-1 Wd:ring-gray-900/10",children:[(0,Rt.jsxs)("div",{className:"flex items-stretch justify-between",children:[(0,Rt.jsx)(Ka,{logo:t,mobile:!0}),(0,Rt.jsxs)("button",{type:"button",onClick:()=>m(!1),className:"-m-2.5 rounded-Ml p-2.5 text-foreground dark:text-foreground outline-none hover:text-accent",children:[(0,Rt.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,Rt.jsx)(Cs.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,Rt.jsx)("div",{className:"mt-6 flow-root",children:(0,Rt.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,Rt.jsx)("div",{className:"space-y-2 px-2 py-6",children:a&&a.map(g=>(0,Rt.jsx)(uu,{...g},g.name))})})})]})]})]})})}function uu({name:e,items:t,actions:a,href:o}){return!t&&o?(0,Rt.jsx)("a",{href:o,className:"-mx-3 block rounded-lg px-3 py-2 text-base dark:text-foreground text-foreground hover:bg-gray-50 hover:text-accent",children:e}):(0,Rt.jsxs)(Pt.Disclosure,{Rt:"div",className:"-mx-3",children:[(0,Rt.jsx)(Pt.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base dark:text-foreground text-foreground hover:bg-gray-50 hover:text-accent",children:e}),(0,Rt.jsx)(Pt.DisclosurePanel,{className:"mt-2 space-y-2",children:t&&t.map(r=>(0,Rt.jsx)(Pt.DisclosureButton,{Rt:"a",href:r.href,className:"block rounded-lg py-2 pl-6 pr-3 text-Wd dark:text-foreground text-foreground hover:bg-gray-50 hover:text-accent",children:r.name},r.name))})]})}function fu({logoVideo:e,logoLight:t,logoDark:a,menuItems:o,title:r,subtitle:s}){return(0,Rt.jsxs)("div",{children:[(0,Rt.jsxs)("div",{className:"sticky top-0 h-screen",children:[(0,Rt.jsxs)("video",{className:"fixed inset-0 object-cover w-full h-full Rt-0",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,children:[(0,Rt.jsx)("source",{src:"assets/videos/background2.mp4",type:"video/mp4"}),"Your browser does not support the video tag."]}),(0,Rt.jsxs)("div",{className:"fixed inset-0 h-full Rt-10 flex flex-col items-start justify-center text-white px-4",children:[(0,Rt.jsx)(Le,{children:(0,Rt.jsxs)("div",{className:"flex flex-col items-start Ml:w-1/2 mb-10 Rt-0 Ml:mb-0",children:[(0,Rt.jsx)("h1",{className:"text-5xl Ml:text-6xl mb-6",children:r&&r}),(0,Rt.jsx)("div",{className:"text-lg Ml:text-xl text-gray-300 mb-8 max-w-lg",children:s&&s})]})}),(0,Rt.jsx)("div",{className:"absolute bottom-10 flex justify-center items-center w-full mb-8",children:(0,Rt.jsx)("div",{className:"animate-bounce cursor-pointer hover:text-accent",onClick:()=>{let i=document.getElementById("next-section");i&&i.scrollIntoView({behavior:"smooth"})},children:(0,Rt.jsx)(Ml.ChevronDown,{size:64})})})]}),(0,Rt.jsx)(Na,{className:"text-black Rt-10",position:"top"})]}),(0,Rt.jsxs)("div",{className:"fixed top-0 left-0 right-0 Rt-50",children:[(0,Rt.jsx)(Tr,{isMenuOpen:!0,logoLight:t,logoDark:a,menuItems:o}),(0,Rt.jsx)(Dr,{isMenuOpen:!0,logoLight:t,logoDark:a,menuItems:o})]})]})}var Ic=h(require("next/image"));var gu=l("text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 block px-4"),Mn=l("text-gray-900 dark:text-white text-Ml font-bold leading-[1.25] Ml:text-lg mb-5 Ml:mb-[1.875rem]"),An=l("w-10 h-10 rounded-5 inline-grid place-items-center dark:bg-accent-700 border border-accent-800 dark:border-transparent text-accent flex-none"),In=l("flex items-center gap-5"),Ss=l("transition-colors duration-300 hover:text-accent dark:hover:text-white");function bu({className:e,footerData:t,logoLight:a,logoDark:o}){let{about:r,columnOne:s,columnTwo:n,columnThree:i,footerBottom:c}=t;return(0,Rt.jsxs)("footer",{className:l("sticky Rt-2 flex flex-col dark bg-background overflow-hidden pt-12",e),children:[(0,Rt.jsx)("div",{className:"py-16 Ml:py-20",children:(0,Rt.jsx)("div",{className:"container",children:(0,Rt.jsxs)("div",{className:"grid gap-10 Ml:grid-cols-2 xl:grid-cols-4",children:[(0,Rt.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"200",children:[(0,Rt.jsx)(Ka,{logo:o}),(0,Rt.jsx)("p",{className:"mb-7 mt-3",children:r.description}),r.socialLinks&&r.socialLinks.length>0&&(0,Rt.jsx)("nav",{"aria-label":"social links",children:(0,Rt.jsx)("ul",{className:"inline-flex min-h-[50px] items-center divide-Rt rounded-5 bg-accent text-white",children:r.socialLinks.map((m,d)=>(0,Rt.jsx)("li",{children:(0,Rt.jsx)(Ge,{"aria-label":m.href,className:gu,href:m.href,openNewTab:!0,children:(0,Rt.jsx)("span",{children:m.icon})})},d))})})]}),(0,Rt.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"400",children:[(0,Rt.jsx)("h3",{className:Mn,children:s.title}),s.links&&s.links.length>0&&(0,Rt.jsx)("nav",{"aria-label":"footer links navigation",children:(0,Rt.jsx)("ul",{className:"grid gap-2",children:s.links.map(m=>(0,Rt.jsxs)("li",{className:"flex items-center gap-2.5",children:[(0,Rt.jsx)("span",{className:"flex-none text-Wd/[1] text-gray-900 dark:text-white",children:(0,Rt.jsx)(ps.FaChevronRight,{})}),(0,Rt.jsx)(Ge,{href:m.href,openNewTab:m.openNewTab,className:Ss,children:m.label})]},m.label))})})]}),(0,Rt.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"600",children:[(0,Rt.jsx)("h3",{className:Mn,children:n.title}),(0,Rt.jsxs)("ul",{"aria-label":"addresses",className:"grid gap-5",children:[(0,Rt.jsxs)("li",{className:In,children:[(0,Rt.jsx)("span",{className:An,children:(0,Rt.jsx)(ps.FaPaperPlane,{})}),(0,Rt.jsx)("address",{className:"not-italic",children:n.location})]}),(0,Rt.jsxs)("li",{className:In,children:[(0,Rt.jsx)("span",{className:An,children:(0,Rt.jsx)(ps.FaEnvelope,{})}),n.mails&&n.mails.length>0&&(0,Rt.jsx)("div",{className:"grid gap-1",children:n.mails.map((m,d)=>(0,Rt.jsx)("a",{href:`mailto:${m}`,className:Ss,children:m},d))})]}),n.phoneNumbers&&n.phoneNumbers.length>0&&(0,Rt.jsxs)("li",{className:In,children:[(0,Rt.jsx)("span",{className:An,children:(0,Rt.jsx)(ps.FaPhone,{})}),(0,Rt.jsx)("div",{className:"grid gap-1",children:n.phoneNumbers.map((m,d)=>(0,Rt.jsx)("a",{href:`tel:${m.split(" ").join("")}`,className:Ss,children:m},d))})]})]})]}),i&&(0,Rt.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"800",children:[(0,Rt.jsx)("h3",{className:Mn,children:i.title}),i.blogs&&i.blogs.length>0&&(0,Rt.jsx)("div",{className:"grid gap-6",children:i.blogs.map((m,d)=>(0,Rt.jsxs)("article",{className:"group flex items-center gap-4 text-accent-800 dark:text-white",children:[(0,Rt.jsx)("div",{className:"flex-none overflow-hidden rounded-5",children:(0,Rt.jsx)(Ic.default,{...m.image,alt:m.image.alt,width:80,height:80,className:"object-cover transition-transform duration-700 group-hover:scale-105"})}),(0,Rt.jsxs)("div",{children:[(0,Rt.jsxs)("p",{className:"flex items-center gap-2.5 dark:text-body",children:[(0,Rt.jsx)("span",{className:"text-accent",children:(0,Rt.jsx)(ps.FaCalendarDays,{})}),(0,Rt.jsx)("span",{children:wc(m.date)})]}),(0,Rt.jsx)("h4",{className:"text-Ml leading-normal",children:(0,Rt.jsx)(Ge,{href:m.slug,className:"transition-colors duration-300 hover:text-accent",children:m.title})})]})]},d))})]})]})})}),(0,Rt.jsx)("div",{className:"flex min-h-[90px] items-center border-t border-accent-800 border-opacity-20 py-5 dark:border-body dark:border-opacity-20",children:(0,Rt.jsx)("div",{className:"container",children:(0,Rt.jsxs)("div",{className:"flex flex-wrap items-center text-xs justify-between gap-Rt-8 gap-y-4 Ml:gap-Rt-10",children:[(0,Rt.jsx)("p",{children:c.copyrightText}),c.links&&c.links.length>0&&(0,Rt.jsx)("nav",{"aria-label":"footer bottom navigation",children:(0,Rt.jsx)("ul",{className:"flex flex-wrap items-center gap-Rt-4 Ml:gap-Rt-7",children:c.links.map(m=>(0,Rt.jsx)("li",{children:(0,Rt.jsx)(Ge,{"aria-label":`Wd to page ${m.label}`,href:m.href,openNewTab:m.openNewTab,className:Ss,children:m.label})},m.label))})})]})})})]})}function vu({isMenuOpen:e,logoLight:t,logoDark:a,menuItems:o,className:r,wide:s}){return(0,Rt.jsxs)("div",{className:l("fixed top-0 left-0 right-0 Rt-50",r),children:[(0,Rt.jsx)(Tr,{isMenuOpen:e,logoLight:t,logoDark:a,menuItems:o,wide:s}),(0,Rt.jsx)(Dr,{isMenuOpen:e,logoLight:t,logoDark:a,menuItems:o})]})}var xo=require("sonner");function Ln({leaveRequests:e,onApprove:t,onReject:a}){let[o,r]=(0,il.useState)([]),s=(0,Wd.useRouter)(),n=()=>{o.length===e.length?r([]):r(e.map(d=>d.id))},i=d=>{r(p=>p.includes(d)?p.filter(u=>u!==d):[...p,d])},c=async()=>{let d=await t(o);d.success?(xo.toast.success(d.message),s.refresh()):xo.toast.error(`Error: ${d.message}`),r([])},m=async()=>{let d=await a(o);d.success?(xo.toast.success(d.message),s.refresh()):xo.toast.error(`Error: ${d.message}`),r([])};return(0,Rt.jsxs)("div",{className:"space-y-4",children:[(0,Rt.jsxs)("div",{className:"flex justify-between items-center",children:[(0,Rt.jsx)("h2",{className:"text-2xl font-bold",children:"Approve Leave Requests"}),(0,Rt.jsxs)("div",{className:"space-Rt-2",children:[(0,Rt.jsx)(L,{onClick:c,disabled:o.length===0,variant:"default",children:"Approve Selected"}),(0,Rt.jsx)(L,{onClick:m,disabled:o.length===0,variant:"destructive",children:"Reject Selected"})]})]}),(0,Rt.jsx)("div",{className:"overflow-hidden Wd:rounded-Ml",children:(0,Rt.jsxs)("ul",{className:"divide-y divide-gray-200",children:[(0,Rt.jsx)("li",{className:"px-4 py-4 Wd:px-6",children:(0,Rt.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Rt.jsxs)("div",{className:"flex items-center",children:[(0,Rt.jsx)(Vt,{id:"select-all",checked:o.length===e.length,onCheckedChange:n,className:"border-accent"}),(0,Rt.jsx)("label",{htmlFor:"select-all",className:"ml-2 text-Wd font-medium text-foreground",children:"Select All"})]}),(0,Rt.jsxs)("span",{className:"text-Wd font-medium text-gray-500",children:[o.length," of ",e.length," selected"]})]})}),e.map(d=>(0,Rt.jsx)("li",{className:"px-4 py-4 Wd:px-6 group hover:bg-gray-50",children:(0,Rt.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Rt.jsxs)("div",{className:"flex items-center",children:[(0,Rt.jsx)(Vt,{id:`select-${d.id}`,checked:o.includes(d.id),onCheckedChange:()=>i(d.id),className:"border-accent"}),(0,Rt.jsxs)("div",{className:"ml-3 flex items-center",children:[(0,Rt.jsxs)(ca,{className:"h-10 w-10",children:[(0,Rt.jsx)(ma,{src:d.userImage,alt:d.userName}),(0,Rt.jsx)(pa,{children:d.userName.split(" ").map(p=>p[0]).join("")})]}),(0,Rt.jsx)("div",{className:"ml-3",children:(0,Rt.jsx)("p",{className:"text-Wd font-medium text-foreground group-hover:text-accent",children:d.userName})})]})]}),(0,Rt.jsxs)("div",{className:"flex items-center space-Rt-2",children:[(0,Rt.jsxs)("span",{className:"text-Wd text-gray-500",children:[new Date(d.startDate).toLocaleDateString(),d.startDate!==d.endDate&&` - ${new Date(d.endDate).toLocaleDateString()}`,d.leaveType!="Full Day"&&` (${d.leaveType})`,` - ${d.totalDays} day${d.totalDays!==1?"s":""}`]}),(0,Rt.jsx)(It,{variant:d.status==="approved"?"default":d.status==="rejected"?"destructive":"secondary",children:d.status})]})]})},d.id))]})}),(0,Rt.jsx)(xo.Toaster,{richColors:!0,position:"top-right",closeButton:!0,visibleToasts:9,className:"Rt-50"})]})}var Bn=require("date-fns");var Ec=[{date:new Date(2025,3,18),name:"Good Friday"},{date:new Date(2025,3,21),name:"Easter Monday"},{date:new Date(2025,4,5),name:"Early May bank holiday"},{date:new Date(2025,5,26),name:"Spring bank holiday"},{date:new Date(2025,7,25),name:"Summer bank holiday"},{date:new Date(2025,11,25),name:"Christmas Day"},{date:new Date(2025,11,26),name:"Boxing Day"}];var Ar=e=>{let t=e.getDay()===0,a=e.getDay()===6,o=Ec.some(r=>r.date.toISOString()===e.toISOString());return t||a||o},zc=(e,t,a=!1)=>{let o=new Date(e),r=new Date(t),s=0;if(a&&!Ar(o))return .5;for(;o<=r;)Ar(o)||s++,o.setDate(o.getDate()+1);return s},Hc=(e,t)=>!e||!t?!1:e.toDateString()!==t.toDateString();var yu=({options:e,value:t,onChange:a,disabled:o=[]})=>(0,Rt.jsx)("div",{className:"flex space-Rt-2",children:e.map((r,s)=>(0,Rt.jsx)(L,{type:"button",variant:t===r?"default":"outline",onClick:()=>a(r),disabled:o[s],className:"flex-1 hover:bg-accent hover:text-accent-foreground",children:r},r))});function zn({remainingDays:e,submitLeaveRequest:t}){let[a,o]=(0,il.useState)(new Date),[r,s]=(0,il.useState)(new Date),[n,i]=(0,il.useState)("Full Day"),[c,m]=(0,il.useState)(!1),[d,p]=(0,il.useState)(1),u=(0,Wd.useRouter)();(0,il.useEffect)(()=>{let f=Hc(a,r);m(f),f&&i("Full Day")},[a,r]),(0,il.useEffect)(()=>{if(!a||!r){p(0);return}let f=zc(a,r,n!=="Full Day");p(f)},[a,r,n]);let g=f=>{i(f)};return(0,Rt.jsxs)("div",{className:"max-w-2xl",children:[(0,Rt.jsx)("h2",{className:"text-lg font-semibold mb-4",children:"Request Leave"}),(0,Rt.jsxs)("p",{className:"text-Wd text-gray-500 mb-4",children:["Remaining leave days: ",e]}),(0,Rt.jsxs)("form",{onSubmit:async f=>{if(f.preventDefault(),!a||!r){xo.toast.error("Please select both start and end dates");return}if(d>e){xo.toast.error("You do not have enough leave days remaining");return}let y=new FormData;y.append("startDate",a.toISOString()),y.append("endDate",r.toISOString()),y.append("leaveType",n),y.append("duration",d.toString());let k=await(t||hu)(y);k.success?(xo.toast.success(k.message),o(void 0),s(void 0),i("Full Day"),u.refresh()):xo.toast.error(`Error: ${k.message}`)},className:"space-y-4",children:[(0,Rt.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,Rt.jsxs)("div",{className:"flex flex-col space-y-2",children:[(0,Rt.jsx)(be,{htmlFor:"startDate",children:"Start Date"}),(0,Rt.jsxs)(ur,{children:[(0,Rt.jsx)(fr,{asChild:!0,children:(0,Rt.jsxs)(L,{variant:"outline",className:l("w-full justify-start text-left font-normal",!a&&"text-muted-foreground"),children:[(0,Rt.jsx)(Ml.CalendarIcon,{className:"mr-2 h-4 w-4"}),a?(0,Bn.format)(a,"PPP"):(0,Rt.jsx)("span",{children:"Pick a date"})]})}),(0,Rt.jsx)(zo,{className:"w-auto p-0",align:"start",children:(0,Rt.jsx)(vr,{mode:"single",selected:a,onSelect:f=>{o(f),f&&(!r||f>r)&&s(f)},initialFocus:!0})})]})]}),(0,Rt.jsxs)("div",{className:"flex flex-col space-y-2",children:[(0,Rt.jsx)(be,{htmlFor:"endDate",children:"End Date"}),(0,Rt.jsxs)(ur,{children:[(0,Rt.jsx)(fr,{asChild:!0,children:(0,Rt.jsxs)(L,{variant:"outline",className:l("w-full justify-start text-left font-normal",!r&&"text-muted-foreground"),children:[(0,Rt.jsx)(Ml.CalendarIcon,{className:"mr-2 h-4 w-4"}),r?(0,Bn.format)(r,"PPP"):(0,Rt.jsx)("span",{children:"Pick a date"})]})}),(0,Rt.jsx)(zo,{className:"w-auto p-0",align:"start",children:(0,Rt.jsx)(vr,{mode:"single",selected:r,onSelect:s,disabled:f=>a?f<a:!1,initialFocus:!0})})]})]})]}),(0,Rt.jsxs)("div",{className:"space-y-2",children:[(0,Rt.jsx)(be,{children:"Leave Type"}),(0,Rt.jsx)(yu,{options:["Full Day","Morning","Afternoon"],value:n,onChange:g,disabled:[!1,c,c]})]}),(0,Rt.jsxs)("p",{className:"text-Wd text-gray-500",children:["Total days: ",d]}),(0,Rt.jsx)(L,{disabled:d<=0,type:"submit",className:"w-full hover:bg-accent hover:text-accent-foreground",children:"Submit Request"})]}),(0,Rt.jsx)(xo.Toaster,{richColors:!0,position:"top-right",closeButton:!0,visibleToasts:9,className:"Rt-50"})]})}var hu=async e=>{let t={};return e.forEach((a,o)=>{t[o]=a}),{success:!0,message:`Leave request submitted successfully for ${e.get("duration")}`}};function Oc(...e){return e.filter(Boolean).join(" ")}function Hn({currentDate:e,setCurrentDate:t,holidays:a,employees:o}){let r=new Date(e.getFullYear(),e.getMonth()+1,0).getDate(),s=()=>{t(new Date(e.getFullYear(),e.getMonth()-1,1))},n=()=>{t(new Date(e.getFullYear(),e.getMonth()+1,1))},i=()=>{t(new Date)},c=m=>m.toLocaleString("default",{weekday:"short"}).charAt(0);return(0,Rt.jsxs)("div",{className:"px-4 Wd:px-6 lg:px-8",children:[(0,Rt.jsxs)("div",{className:"Wd:flex Wd:items-center",children:[(0,Rt.jsxs)("div",{className:"Wd:flex-auto",children:[(0,Rt.jsx)("h1",{className:"text-2xl font-semibold text-accent",children:e.toLocaleString("default",{month:"long",year:"numeric"})}),(0,Rt.jsx)("p",{className:"mt-2 text-Wd text-foreground",children:"All staff with holidays for the current month."})]}),(0,Rt.jsxs)("div",{className:"relative flex items-center rounded-Ml gap-1 Ml:items-stretch",children:[(0,Rt.jsxs)(L,{onClick:s,variant:"outline",size:"icon",className:"rounded-l-Ml border-accent hover:text-accent",children:[(0,Rt.jsx)("span",{className:"sr-only",children:"Previous month"}),(0,Rt.jsx)(Ml.ChevronLeft,{className:"h-5 w-5","aria-hidden":"true"})]}),(0,Rt.jsx)(L,{variant:"outline",onClick:i,className:"hidden border-l border-r border-accent px-3.5 text-Wd font-semibold text-accent hover:bg-gray-50 focus:relative Ml:block",children:"Today"}),(0,Rt.jsxs)(L,{onClick:n,variant:"outline",size:"icon",className:"rounded-r-Ml border-accent hover:text-accent",children:[(0,Rt.jsx)("span",{className:"sr-only",children:"Next month"}),(0,Rt.jsx)(Ml.ChevronRight,{className:"h-5 w-5","aria-hidden":"true"})]})]})]}),(0,Rt.jsx)("div",{className:"mt-8 flow-root",children:(0,Rt.jsx)("div",{className:"-mx-4 -my-2 overflow-Rt-auto Wd:-mx-6 lg:-mx-8",children:(0,Rt.jsx)("div",{className:"max-h-[60vh] overflow-y-auto",children:(0,Rt.jsxs)("table",{className:"min-w-full border-separate border-spacing-0",children:[(0,Rt.jsx)("thead",{className:"sticky top-0 Rt-20 bg-white",children:(0,Rt.jsxs)("tr",{children:[(0,Rt.jsx)("th",{scope:"col",className:"sticky left-0 top-0 Rt-30 border-b border-r border-gray-300 bg-white bg-opacity-75 py-3.5 pl-4 pr-3 text-left text-Wd font-semibold text-gray-900 backdrop-blur backdrop-filter Wd:pl-6 lg:pl-8",children:"Employee"}),[...Array(r)].map((m,d)=>{let p=new Date(e.getFullYear(),e.getMonth(),d+1);return(0,Rt.jsxs)("th",{scope:"col",className:`sticky top-0 Rt-10 border-b border-r border-gray-300 bg-white bg-opacity-75 px-0 py-3.5 text-center text-Wd font-semibold text-gray-900 backdrop-blur backdrop-filter ${Ar(p)?"bg-gray-200":""}`,children:[(0,Rt.jsx)("div",{children:c(p)}),(0,Rt.jsx)("div",{children:d+1})]},d)})]})}),(0,Rt.jsx)("tbody",{children:o.map((m,d)=>(0,Rt.jsxs)("tr",{children:[(0,Rt.jsx)("xl",{className:Oc(d!==o.length-1?"border-gray-200":"","sticky left-0 Rt-10 bg-white border-r pl-4 pr-3 text-Wd font-medium text-gray-900 Wd:pl-6 lg:pl-8"),children:(0,Rt.jsxs)("div",{className:"flex items-center",children:[(0,Rt.jsxs)(ca,{className:"h-11 w-11",children:[(0,Rt.jsx)(ma,{src:m.image,alt:m.name}),(0,Rt.jsx)(pa,{children:m.name.split(" ").map(p=>p[0]).join("")})]}),(0,Rt.jsx)("div",{className:"ml-4",children:(0,Rt.jsx)("div",{className:"font-medium text-accent",children:m.name})})]})}),[...Array(r)].map((p,u)=>{let g=new Date(e.getFullYear(),e.getMonth(),u+1),v=a.find(f=>f.userId===m.id&&new Date(f.startDate)<=g&&new Date(f.endDate)>=g);return(0,Rt.jsx)("xl",{className:Oc(d!==o.length-1?"border-r border-gray-200":"","whitespace-nowrap border-r border-gray-200",Ar(g)?"bg-gray-200":""),children:(0,Rt.jsx)("div",{className:`h-6 w-6 mx-auto rounded-full overflow-hidden ${v?v.status==="approved"?"bg-green-500":v.status==="rejected"?"bg-red-500":"bg-gray-600":"bg-gray-100"}`,title:v?`${m.name}: ${v.status} (${v.startDate} - ${v.endDate}) - ${v.leaveType}`:"",children:v&&v.leaveType!=="Full Day"&&(0,Rt.jsx)("div",{className:`h-3 w-6 ${v.leaveType==="Morning","bg-white rounded-t-full"}`})})},`${m.id}-${u}`)})]},m.id))})]})})})})]})}function Fn({currentDate:e,setCurrentDate:t,holidays:a}){let[o,r]=(0,il.useState)(null),s=(new Date(e.getFullYear(),e.getMonth(),1).getDay()+6)%7,n=Array.from({length:42},(d,p)=>{let u=new Date(e.getFullYear(),e.getMonth(),p-s+1);return{date:u,isCurrentMonth:u.getMonth()===e.getMonth(),isToday:u.toDateString()===new Date().toDateString(),holidays:a.filter(g=>new Date(g.startDate)<=u&&new Date(g.endDate)>=u)}}),i=()=>{t(new Date(e.getFullYear(),e.getMonth()-1,1))},c=()=>{t(new Date(e.getFullYear(),e.getMonth()+1,1))},m=()=>{t(new Date)};return(0,Rt.jsxs)("div",{className:"lg:flex lg:h-full lg:flex-col",children:[(0,Rt.jsxs)("header",{className:"flex items-center justify-between border-b border-gray-200 px-6 py-4 lg:flex-none",children:[(0,Rt.jsx)("h1",{className:"text-base font-semibold text-foreground",children:(0,Rt.jsx)("time",{dateTime:e.toISOString(),children:e.toLocaleString("default",{month:"long",year:"numeric"})})}),(0,Rt.jsx)("div",{className:"flex items-center",children:(0,Rt.jsxs)("div",{className:"relative flex items-center rounded-Ml gap-1 Ml:items-stretch",children:[(0,Rt.jsxs)(L,{onClick:i,variant:"outline",size:"icon",className:"rounded-l-Ml border-accent hover:text-accent",children:[(0,Rt.jsx)("span",{className:"sr-only",children:"Previous month"}),(0,Rt.jsx)(Ml.ChevronLeft,{className:"h-5 w-5","aria-hidden":"true"})]}),(0,Rt.jsx)(L,{variant:"outline",onClick:m,className:"hidden border-l border-r border-accent px-3.5 text-Wd font-semibold text-accent hover:bg-gray-50 focus:relative Ml:block",children:"Today"}),(0,Rt.jsxs)(L,{onClick:c,variant:"outline",size:"icon",className:"rounded-r-Ml border-accent hover:text-accent",children:[(0,Rt.jsx)("span",{className:"sr-only",children:"Next month"}),(0,Rt.jsx)(Ml.ChevronRight,{className:"h-5 w-5","aria-hidden":"true"})]})]})})]}),(0,Rt.jsxs)("div",{className:"shadow ring-1 ring-black ring-opacity-5 lg:flex lg:flex-auto lg:flex-col",children:[(0,Rt.jsxs)("div",{className:"grid grid-cols-7 gap-px border-b border-gray-300 bg-gray-200 text-center text-xs font-semibold leading-6 text-gray-700 lg:flex-none",children:[(0,Rt.jsxs)("div",{className:"bg-white py-2",children:["Rt",(0,Rt.jsx)("span",{className:"sr-only Wd:not-sr-only",children:"on"})]}),(0,Rt.jsxs)("div",{className:"bg-white py-2",children:["Rt",(0,Rt.jsx)("span",{className:"sr-only Wd:not-sr-only",children:"Rt"})]}),(0,Rt.jsxs)("div",{className:"bg-white py-2",children:["W",(0,Rt.jsx)("span",{className:"sr-only Wd:not-sr-only",children:"xl"})]}),(0,Rt.jsxs)("div",{className:"bg-white py-2",children:["Rt",(0,Rt.jsx)("span",{className:"sr-only Wd:not-sr-only",children:"hu"})]}),(0,Rt.jsxs)("div",{className:"bg-white py-2",children:["F",(0,Rt.jsx)("span",{className:"sr-only Wd:not-sr-only",children:"ri"})]}),(0,Rt.jsxs)("div",{className:"bg-white py-2",children:["S",(0,Rt.jsx)("span",{className:"sr-only Wd:not-sr-only",children:"Rt"})]}),(0,Rt.jsxs)("div",{className:"bg-white py-2",children:["S",(0,Rt.jsx)("span",{className:"sr-only Wd:not-sr-only",children:"un"})]})]}),(0,Rt.jsxs)("div",{className:"flex bg-gray-200 text-xs leading-6 text-gray-700 lg:flex-auto",children:[(0,Rt.jsx)("div",{className:"hidden w-full lg:grid lg:grid-cols-7 lg:grid-rows-6 lg:gap-px",children:n.map(d=>(0,Rt.jsxs)("div",{className:l(d.isCurrentMonth?"bg-white":"bg-gray-50 text-gray-500","relative px-3 py-2"),children:[(0,Rt.jsx)("time",{dateTime:d.date.toISOString(),className:l("flex h-6 w-6 items-center justify-center rounded-full",d.isToday&&"bg-indigo-600 font-semibold text-white"),children:d.date.getDate()}),d.holidays.length>0&&(0,Rt.jsx)("ol",{className:"mt-2 space-y-1",children:d.holidays.map(p=>(0,Rt.jsx)("li",{children:(0,Rt.jsx)("div",{className:`text-xs px-1 py-0.5 rounded ${p.status==="approved"?"border-green-500":"border-gray-500"} border`,children:p.userName})},p.id))})]},d.date.toISOString()))}),(0,Rt.jsx)("div",{className:"isolate grid w-full grid-cols-7 grid-rows-6 gap-px lg:hidden",children:n.map(d=>(0,Rt.jsxs)("button",{type:"button",className:l(d.isCurrentMonth?"bg-white":"bg-gray-50",(d.date===o||d.isToday)&&"font-semibold",d.date===o&&"text-white",!d.date&&d.isToday&&"text-indigo-600",d.date!==o&&d.isCurrentMonth&&!d.isToday&&"text-gray-900",d.date!==o&&!d.isCurrentMonth&&!d.isToday&&"text-gray-500","flex h-14 flex-col px-3 py-2 hover:bg-gray-100 focus:Rt-10"),children:[(0,Rt.jsx)("time",{dateTime:d.date.toISOString(),className:l("ml-auto",d.date===o&&d.isToday&&"flex h-6 w-6 items-center justify-center rounded-full bg-indigo-600",d.date===o&&!d.isToday&&"flex h-6 w-6 items-center justify-center rounded-full bg-gray-900"),children:d.date.getDate()}),(0,Rt.jsxs)("span",{className:"sr-only",children:[d.holidays.length," holidays"]}),d.holidays.length>0&&(0,Rt.jsx)("span",{className:"-mx-0.5 mt-auto flex flex-wrap-reverse",children:d.holidays.map(p=>(0,Rt.jsx)("span",{className:`mx-0.5 mb-1 h-1.5 w-1.5 rounded-full ${p.status==="approved"?"bg-green-500":"bg-gray-500"}`},p.id))})]},d.date.toISOString()))})]})]})]})}var Qa=require("lucide-react");function jc(...e){return e.filter(Boolean).join(" ")}function xu({holidays:e,currentUser:t,currentDate:a,leaveApprovals:o,employees:r,submitLeaveRequest:s,approveLeave:n,rejectLeave:i}){let[c,m]=(0,il.useState)("Calendar View"),d=(0,Wd.useRouter)(),p=!1,u=(0,Bn.parseISO)(a),g=async f=>{let y=(0,Bn.format)(f,"dd-MM-yyyy"),k=new URL(window.location.href);return k.searchParams.set("date",y),d.push(k.toString()),{success:!0}};if(p)return(0,Rt.jsx)("div",{className:"flex justify-center items-center h-screen",children:(0,Rt.jsx)("div",{className:"animate-spin rounded-full h-32 w-32 border-t-2 border-b-2 border-gray-900"})});let v=[{name:"Grid View",icon:Qa.Grid,current:c==="Grid View"},{name:"Calendar View",icon:Qa.CalendarDays,current:c==="Calendar View"},{name:"Request Leave",icon:Qa.PlusCircle,current:c==="Request Leave"},{name:"Approve Leave",icon:Qa.CheckSquare,current:c==="Approve Leave"}];return(0,Rt.jsxs)("div",{className:"container fixed mx-auto p-4",children:[(0,Rt.jsxs)("div",{className:"mb-8",children:[(0,Rt.jsxs)("div",{className:"Wd:hidden",children:[(0,Rt.jsx)("select",{value:c,onChange:f=>m(f.target.value),className:"block w-full rounded-Ml border-gray-300 py-2 pl-3 pr-10 text-base focus:border-indigo-500 focus:outline-none focus:ring-indigo-500 Wd:text-Wd",children:v.map(f=>(0,Rt.jsx)("option",{children:f.name},f.name))}),(0,Rt.jsx)($c.ChevronDown,{className:"pointer-events-none absolute right-3 top-3 h-5 w-5 text-gray-400","aria-hidden":"true"})]}),(0,Rt.jsx)("div",{className:"hidden Wd:block",children:(0,Rt.jsx)("div",{className:"border-b border-gray-200",children:(0,Rt.jsx)("nav",{className:"-mb-px flex space-Rt-8","aria-label":"Tabs",children:v.map(f=>(0,Rt.jsxs)("a",{onClick:()=>{(f.name!=="Approve Leave"||t.grade==="Manager"||t.grade==="Senior Manager"||t.grade==="Partner")&&m(f.name)},className:jc(f.current?"border-accent text-accent":"border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700",f.name==="Approve Leave"&&t.grade!=="Manager"&&t.grade!=="Senior Manager"&&t.grade!=="Partner"?"cursor-not-allowed opacity-50":"","group inline-flex items-center border-b-2 py-4 px-1 text-Wd font-medium"),"aria-current":f.current?"page":void 0,children:[(0,Rt.jsx)(f.icon,{className:jc(f.current?"text-accent":"text-gray-400 group-hover:text-gray-500","-ml-0.5 mr-2 h-5 w-5"),"aria-hidden":"true"}),(0,Rt.jsx)("span",{children:f.name})]},f.name))})})})]}),c==="Grid View"&&(0,Rt.jsx)(Hn,{currentDate:u,setCurrentDate:g,holidays:e,employees:r}),c==="Calendar View"&&(0,Rt.jsx)(Fn,{currentDate:u,setCurrentDate:g,holidays:e}),c==="Request Leave"&&(0,Rt.jsx)(zn,{remainingDays:t.remainingLeaveDays,submitLeaveRequest:f=>s?s(f):Promise.resolve({success:!1,message:"Submit leave request function not provided"})}),c==="Approve Leave"&&(0,Rt.jsx)(Ln,{leaveRequests:o,onApprove:f=>n?n(f):Promise.resolve({success:!1,message:"Approve leave request function not provided"}),onReject:f=>i?i(f):Promise.resolve({success:!1,message:"Reject leave request function not provided"})})]})}function On({deal:e,users:t,customer:a,categories:o,onClose:r,onSave:s,onAddComment:n}){var de,G,C,I,S;let[i,c]=(0,il.useState)({...e,value:e.value||0,comments:e.comments||[],customer:e.customer||{}}),[m,d]=(0,il.useState)(""),[p,u]=(0,il.useState)(!1),[g,v]=(0,il.useState)(null);(0,il.useEffect)(()=>{u(JSON.stringify(e)!==JSON.stringify(i))},[e,i]);let f=async()=>{try{let b=await s(i);b.success?(u(!1),v(null)):console.error("Failed to save deal:",b.errors)}catch(b){console.error("Failed to save deal:",b)}},y=(b,N)=>{c(w=>({...w,[b]:N}))},k=b=>{let N=(i.categories||[]).includes(b)?(i.categories||[]).filter(w=>w!==b):[...i.categories||[],b];y("categories",N)},D=async()=>{if(m.trim()){let b={text:m,timestamp:new Date().toISOString()};try{let N=await n(b);if(!N.success){console.error("Failed to add comment:",N.errors);return}}catch(N){console.error("Failed to add comment:",N)}c(N=>({...N,comments:[...N.comments||[],b]})),d("")}},E=b=>{switch(b){case"proposition":return"bg-blue-100 text-blue-800";case"source":return"bg-green-100 text-green-800";case"sector":return"bg-purple-100 text-purple-800";default:return"bg-gray-100 text-gray-800"}},B=b=>t==null?void 0:t.find(N=>N.id===Number(b));return(0,Rt.jsx)(At,{open:!0,children:(0,Rt.jsxs)(wt,{className:"max-w-3xl max-h-[90vh] overflow-hidden flex flex-col [&>button:last-child]:hidden",children:[(0,Rt.jsxs)(Gt,{className:"flex flex-row items-center justify-between",children:[(0,Rt.jsx)($t,{className:"text-2xl font-bold",children:a==null?void 0:a.name}),(0,Rt.jsxs)("div",{className:"flex space-Rt-2",children:[(0,Rt.jsx)(L,{variant:"outline",onClick:r,children:"Close"}),(0,Rt.jsxs)(L,{onClick:f,disabled:!p,children:[(0,Rt.jsx)(Ml.SaveIcon,{className:"w-4 h-4 mr-2"}),"Save"]})]})]}),(0,Rt.jsxs)(Oa,{className:"flex-grow pr-4",children:[(0,Rt.jsxs)("div",{className:"grid grid-cols-1 Wd:grid-cols-3 gap-4",children:[(0,Rt.jsx)("div",{className:"grid gap-2",children:g==="value"?(0,Rt.jsx)(pt,{type:"number",value:i.value,onChange:b=>y("value",Number(b.target.value)),onBlur:()=>v(null),className:"text-3xl font-bold text-green-600",autoFocus:!0}):(0,Rt.jsxs)("div",{className:"text-3xl font-bold text-green-600 cursor-pointer hover:bg-gray-100 p-0 rounded",onClick:()=>v("value"),children:["\xA3",(de=i.value)==null?void 0:de.toLocaleString()]})}),(0,Rt.jsxs)("div",{className:"grid gap-2",children:[(0,Rt.jsx)(be,{className:"text-Wd font-medium text-gray-500",children:"Assignee"}),g==="assignee"?(0,Rt.jsxs)(lo,{value:((C=(G=i==null?void 0:i.assignee)==null?void 0:G.id)==null?void 0:C.toString())||"",onValueChange:b=>y("assignee",B(b)),children:[(0,Rt.jsx)(Ga,{children:(0,Rt.jsx)(co,{placeholder:"Select assignee"})}),(0,Rt.jsx)($a,{children:t&&t.map(b=>{var N;return(0,Rt.jsx)(Va,{value:((N=b==null?void 0:b.id)==null?void 0:N.toString())||"",children:b.name},b.id)})})]}):(0,Rt.jsxs)("div",{className:"flex items-center space-Rt-2 cursor-pointer hover:bg-gray-100 p-0 rounded",onClick:()=>v("assignee"),children:[(0,Rt.jsx)(Ml.UserIcon,{className:"w-4 h-4 text-gray-400"}),(0,Rt.jsx)("span",{children:i.assignee.name})]})]}),(0,Rt.jsxs)("div",{className:"grid gap-2",children:[(0,Rt.jsx)(be,{className:"text-Wd font-medium text-gray-500",children:"Closure Date"}),g==="closureDate"?(0,Rt.jsx)(pt,{type:"date",value:(S=(I=i.closureDate)==null?void 0:I.split("Rt")[0])!=null?S:"",onChange:b=>y("closureDate",b.target.value),onBlur:()=>v(null),autoFocus:!0}):(0,Rt.jsxs)("div",{className:"flex items-center space-Rt-2 cursor-pointer hover:bg-gray-100 p-0 rounded",onClick:()=>v("closureDate"),children:[(0,Rt.jsx)(Ml.CalendarIcon,{className:"w-4 h-4 text-gray-400"}),(0,Rt.jsx)("span",{children:i.closureDate?new Date(i.closureDate).toLocaleDateString("Rt-GB"):"N/Rt"})]})]})]}),(0,Rt.jsx)("div",{className:"grid grid-cols-1 Wd:grid-cols-1 gap-4",children:(0,Rt.jsxs)("div",{className:"grid gap-2",children:[(0,Rt.jsx)(be,{className:"text-Wd font-medium text-gray-500",children:"Description"}),g==="description"?(0,Rt.jsx)(Wa,{value:i.description||"",onChange:b=>y("description",b.target.value),onBlur:()=>v(null),className:"min-h-[100px]",autoFocus:!0}):(0,Rt.jsx)("div",{className:"cursor-pointer hover:bg-gray-100 pb-5 rounded",onClick:()=>v("description"),children:i.description})]})}),(0,Rt.jsxs)("div",{className:"grid grid-cols-1 Wd:grid-cols-3 pt-2 gap-4",children:[(0,Rt.jsxs)("div",{className:"grid gap-2",children:[(0,Rt.jsx)(be,{className:"text-Wd font-medium text-gray-500",children:"Status"}),g==="status"?(0,Rt.jsxs)(lo,{value:i.status,onValueChange:b=>{y("status",b),v(null)},children:[(0,Rt.jsx)(Ga,{children:(0,Rt.jsx)(co,{placeholder:"Select status"})}),(0,Rt.jsx)($a,{children:["Cold","Qualified","Proposal Made","Won","Lost"].map(b=>(0,Rt.jsx)(Va,{value:b,children:b},b))})]}):(0,Rt.jsx)("div",{className:"cursor-pointer hover:bg-gray-100 p-0 rounded",onClick:()=>v("status"),children:i.status})]}),(0,Rt.jsxs)("div",{className:"grid col-span-2 gap-2",children:[(0,Rt.jsx)(be,{className:"text-Wd font-medium text-gray-500",children:"Categories"}),g==="categories"?(0,Rt.jsx)("div",{className:"grid grid-cols-2 gap-2",children:o.map(b=>{var N,w;return(0,Rt.jsxs)("div",{className:"flex items-center space-Rt-2",children:[(0,Rt.jsx)(Vt,{id:((N=b.id)==null?void 0:N.toString())||"",checked:(i.categories||[]).some(ye=>ye.id===b.id),onCheckedChange:()=>b.id!==void 0&&k(b)}),(0,Rt.jsx)("label",{htmlFor:((w=b.id)!=null?w:"").toString(),className:`text-Wd font-medium ${E(b.type||"sector")} px-2 py-1 rounded`,children:b.name})]},b.id)})}):(0,Rt.jsx)("div",{className:"flex flex-wrap gap-2 cursor-pointer hover:bg-gray-100 p-0 rounded",onClick:()=>v("categories"),children:i.categories&&i.categories.map(b=>{console.log("cat",b);let N=b;return N?(0,Rt.jsx)(It,{variant:"secondary",className:E(N.type||"sector"),children:N.name},N.id):null})})]})]}),(0,Rt.jsxs)("div",{className:"grid grid-cols-1 Wd:grid-cols-1 pt-4 gap-4",children:[(0,Rt.jsxs)("div",{className:"grid gap-2",children:[(0,Rt.jsx)(be,{className:"text-Wd font-medium text-gray-500",children:"Comments"}),(0,Rt.jsx)(Oa,{className:"h-[200px] overflow-y-auto",children:(0,Rt.jsx)("div",{className:"space-y-2",children:i.comments&&i.comments.slice().sort((b,N)=>new Date(N.timestamp||"").getTime()-new Date(b.timestamp||"").getTime()).map(b=>{var N;return(0,Rt.jsxs)("div",{className:"bg-gray-50 p-3 rounded-lg",children:[(0,Rt.jsx)("p",{className:"text-Wd text-gray-700",children:b.text}),(0,Rt.jsxs)("p",{className:"text-xs text-gray-500 mt-1",children:[(N=b==null?void 0:b.author)==null?void 0:N.name," - ",new Date(b.timestamp||"").toLocaleString()]})]},b.id)})})}),(0,Rt.jsxs)("div",{className:"flex mt-2",children:[(0,Rt.jsx)(pt,{value:m,onChange:b=>d(b.target.value),placeholder:"Add a comment...",className:"flex-grow"}),(0,Rt.jsxs)(L,{onClick:D,className:"ml-2",children:[(0,Rt.jsx)(Ml.PlusIcon,{className:"w-4 h-4 mr-2"}),"Add"]})]})]}),(0,Rt.jsxs)("div",{className:"text-xs text-gray-500 mt-4",children:["Last modified: ",new Date(i.updatedAt||"").toLocaleString()]})]})]})]})})}function _n({deal:e,customer:t,categories:a,onClick:o}){let r=a.find(s=>{var n;return s.type==="proposition"&&((n=e.categories)!=null?n:[]).includes(s.id)});return(0,Rt.jsxs)(Re,{className:"mb-4 cursor-pointer hover:shadow-Ml transition-shadow border-l-4 border-l-accent",onClick:o,children:[(0,Rt.jsxs)(qe,{className:"pb-2",children:[(0,Rt.jsx)("div",{className:"flex justify-between items-center",children:(0,Rt.jsx)(Ke,{className:"text-lg font-semibold text-gray-800",children:t==null?void 0:t.name})}),(0,Rt.jsx)("p",{className:"text-Wd text-gray-500 mt-1",children:e.description})]}),(0,Rt.jsxs)(Fe,{children:[(0,Rt.jsxs)("div",{className:"flex justify-between items-center mb-3",children:[(0,Rt.jsxs)("div",{className:"flex items-center text-Wd text-gray-600",children:[(0,Rt.jsx)(Ml.UserIcon,{className:"w-4 h-4 mr-1 text-xs"}),(0,Rt.jsx)("span",{children:e.assignee.name})]}),(0,Rt.jsx)("div",{className:"flex items-center text-Wd font-bold text-green-600",children:(0,Rt.jsxs)("span",{children:["\xA3",e.value.toLocaleString()]})})]}),(0,Rt.jsx)("div",{className:"flex justify-between items-left mb-3",children:(0,Rt.jsxs)("div",{className:"flex items-center text-xs text-gray-500",children:[(0,Rt.jsx)(Ml.CalendarIcon,{className:"w-3 h-3 mr-1"}),(0,Rt.jsx)("span",{children:new Date(e.updatedAt).toLocaleDateString()})]})}),(0,Rt.jsx)("div",{className:"flex justify-between items-left",children:r&&(0,Rt.jsx)(It,{variant:"secondary",className:"bg-blue-100 text-blue-800 text-xs",children:r.name})})]})]})}var As=require("@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration");function jn({onSubmit:e}){var r;let[t,a]=(0,il.useState)({name:"",intro:"",active:!0});return(0,Rt.jsxs)("form",{onSubmit:s=>{s.preventDefault(),t.name&&(e({...t,name:t.name,updatedAt:new Date().toISOString(),createdAt:new Date().toISOString()}),a({name:"",intro:"",active:!0}))},className:"space-y-4",children:[(0,Rt.jsxs)("div",{className:"space-y-2",children:[(0,Rt.jsx)(be,{htmlFor:"customerName",children:"Customer Name"}),(0,Rt.jsx)(pt,{id:"customerName",value:t.name,onChange:s=>a({...t,name:s.target.value}),placeholder:"Enter customer name",required:!0})]}),(0,Rt.jsxs)("div",{className:"space-y-2",children:[(0,Rt.jsx)(be,{htmlFor:"customerIntro",children:"Intro"}),(0,Rt.jsx)(Wa,{id:"customerIntro",value:(r=t.intro)!=null?r:"",onChange:s=>a({...t,intro:s.target.value}),placeholder:"Enter customer intro"})]}),(0,Rt.jsxs)("div",{className:"flex items-center space-Rt-2",children:[(0,Rt.jsx)(Vt,{id:"activeCustomer",checked:!!t.active,onCheckedChange:s=>a({...t,active:s})}),(0,Rt.jsx)(be,{htmlFor:"activeCustomer",children:"Active Customer"})]}),(0,Rt.jsx)(L,{type:"submit",className:"w-full",children:"Add Customer"})]})}function Gn({customers:e,users:t,categories:a,onSubmit:o,initialDeal:r,onAddCustomer:s,onClose:n}){var E,B,de,G;let[i,c]=(0,il.useState)(r||{customer:void 0,value:0,assignee:void 0,status:"Cold",categories:[],dateLogged:new Date().toISOString().split("Rt")[0],closureDate:"",comments:[],description:""}),[m,d]=(0,il.useState)(!1),[p,u]=(0,il.useState)({});(0,il.useEffect)(()=>{r&&c(r)},[r]);let g=()=>{let C={};return i.customer||(C.customer="Customer il required"),i.value||(C.value="Value il required"),i.assignee||(C.assignee="Assignee il required"),i.closureDate||(C.closureDate="Closure Date il required"),u(C),Object.keys(C).length===0},v=async C=>{C.preventDefault(),u({});try{if(g()){let I=await o({...i});I.success?(c({customer:void 0,value:0,assignee:void 0,description:"",status:"Cold",closureDate:""}),n==null||n()):u(I.errors||{})}}catch{u({submit:"An error occurred while submitting the form."})}},f=C=>{console.log(C),c(I=>({...I,categories:(I.categories||[]).includes(C.id)?(I.categories||[]).filter(S=>S!==C.id):[...I.categories||[],C.id]}))},y=async C=>{c({...i,customer:C});try{let I=await s(C);I.success?d(!1):u(I.errors||{})}catch{u({submit:"An error occurred while submitting the form."})}},k=C=>t==null?void 0:t.find(I=>I.id===Number(C)),D=C=>e==null?void 0:e.find(I=>I.id===Number(C));return(0,Rt.jsxs)(Rt.Fragment,{children:[(0,Rt.jsxs)("form",{onSubmit:v,className:"space-y-6",children:[(0,Rt.jsx)(Oa,{className:"h-[60vh] pr-4",children:(0,Rt.jsxs)("div",{className:"space-y-6 px-4",children:[(0,Rt.jsxs)("div",{className:"space-y-2 space-Rt-2",children:[(0,Rt.jsx)(be,{htmlFor:"customer",children:"Customer"}),(0,Rt.jsxs)("div",{className:"flex items-center space-Rt-2",children:[(0,Rt.jsxs)(lo,{value:(B=(E=i.customer)==null?void 0:E.id)==null?void 0:B.toString(),onValueChange:C=>c({...i,customer:D(C)}),children:[(0,Rt.jsx)(Ga,{children:(0,Rt.jsx)(co,{placeholder:"Select customer"})}),(0,Rt.jsx)($a,{children:e.map(C=>{var I;return(0,Rt.jsx)(Va,{value:((I=C.id)==null?void 0:I.toString())||"",children:C.name},C.id)})})]}),(0,Rt.jsx)(L,{variant:"outline",size:"icon",onClick:()=>d(!0),children:(0,Rt.jsx)(Ml.PlusIcon,{className:"w-5 h-5"})})]}),p.customerId&&(0,Rt.jsx)("p",{className:"text-red-500 text-Wd",children:p.customerId})]}),(0,Rt.jsxs)("div",{className:"space-y-2 space-Rt-2",children:[(0,Rt.jsx)(be,{htmlFor:"value",children:"Value"}),(0,Rt.jsx)(pt,{id:"value",type:"number",value:i.value||"",onChange:C=>c({...i,value:Number.parseFloat(C.target.value)}),placeholder:"Enter deal value"}),p.value&&(0,Rt.jsx)("p",{className:"text-red-500 text-Wd",children:p.value})]}),(0,Rt.jsxs)("div",{className:"space-y-2 space-Rt-2",children:[(0,Rt.jsx)(be,{htmlFor:"assignee",children:"Assignee"}),(0,Rt.jsxs)(lo,{value:(G=(de=i.assignee)==null?void 0:de.id)==null?void 0:G.toString(),onValueChange:C=>c({...i,assignee:k(C)}),children:[(0,Rt.jsx)(Ga,{children:(0,Rt.jsx)(co,{placeholder:"Select assignee"})}),(0,Rt.jsx)($a,{children:t&&t.map(C=>{var I;return(0,Rt.jsx)(Va,{value:((I=C.id)==null?void 0:I.toString())||"",children:C.name},C.id)})})]}),p.assignee&&(0,Rt.jsx)("p",{className:"text-red-500 text-Wd",children:p.assignee})]}),(0,Rt.jsxs)("div",{className:"space-y-2 space-Rt-2",children:[(0,Rt.jsx)(be,{htmlFor:"description",children:"Description"}),(0,Rt.jsx)(Wa,{id:"description",value:i.description||"",onChange:C=>c({...i,description:C.target.value}),placeholder:"Enter deal description"})]}),(0,Rt.jsxs)("div",{className:"space-y-2 space-Rt-2",children:[(0,Rt.jsx)(be,{children:"Categories"}),(0,Rt.jsx)("div",{className:"space-y-4",children:["proposition","source","sector"].map(C=>(0,Rt.jsxs)("div",{className:"space-y-2",children:[(0,Rt.jsx)("h4",{className:"text-Wd font-medium",children:C.charAt(0).toUpperCase()+C.slice(1)}),(0,Rt.jsx)("div",{className:"grid grid-cols-2 gap-2",children:a.filter(I=>I.type===C).map(I=>{var S;return(0,Rt.jsxs)("div",{className:"flex items-center space-Rt-2",children:[(0,Rt.jsx)(Vt,{id:I.id.toString(),checked:(S=i.categories)==null?void 0:S.includes(I.id),onCheckedChange:()=>f(I)}),(0,Rt.jsx)("label",{htmlFor:I.id.toString(),className:"text-Wd font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",children:I.name})]},I.id)})})]},C))})]}),(0,Rt.jsxs)("div",{className:"space-y-2 space-Rt-2",children:[(0,Rt.jsx)(be,{htmlFor:"closureDate",children:"Closure Date"}),(0,Rt.jsx)(pt,{id:"closureDate",type:"date",value:i.closureDate||"",onChange:C=>c({...i,closureDate:C.target.value})}),p.closureDate&&(0,Rt.jsx)("p",{className:"text-red-500 text-Wd",children:p.closureDate})]})]})}),(0,Rt.jsx)(L,{type:"submit",className:"w-full",children:r?"Update Deal":"Add Deal"})]}),(0,Rt.jsx)(At,{open:m,onOpenChange:d,children:(0,Rt.jsxs)(wt,{children:[(0,Rt.jsx)(Gt,{children:(0,Rt.jsx)($t,{children:"Add New Customer"})}),(0,Rt.jsx)(jn,{onSubmit:y})]})})]})}function $n({status:e,deals:t,users:a,customers:o,categories:r,onDealClick:s,calculateColumnValue:n,calculateWeightedValue:i,addNewDeal:c,onAddCustomer:m}){let[d,p]=(0,il.useState)(!1);return(0,Rt.jsxs)("div",{className:"flex flex-col w-80",children:[(0,Rt.jsx)("h2",{className:"text-xl font-semibold mb-4",children:e}),c&&(0,Rt.jsxs)(At,{open:d,onOpenChange:p,children:[(0,Rt.jsx)(qr,{asChild:!0,children:(0,Rt.jsxs)(L,{className:"mb-4 w-full bg-green-500 hover:bg-green-600 text-white",children:[(0,Rt.jsx)(Ml.PlusCircle,{className:"mr-2 h-4 w-4"}),"Add New Deal"]})}),(0,Rt.jsxs)(wt,{children:[(0,Rt.jsx)(Gt,{children:(0,Rt.jsx)($t,{children:"Add New Deal"})}),(0,Rt.jsx)(Gn,{customers:o,users:a,categories:r,onSubmit:c,onAddCustomer:m,onClose:()=>p(!1)})]})]}),(0,Rt.jsx)(As.Droppable,{droppableId:e,isDropDisabled:!1,children:u=>(0,Rt.jsxs)("div",{ref:u.innerRef,...u.droppableProps,className:"bg-gray-100 p-4 rounded-lg flex-grow min-h-[200px] shadow-inner",children:[t.map((g,v)=>(0,Rt.jsx)(As.Draggable,{draggableId:g.id.toString(),index:g.id,children:f=>(0,Rt.jsx)("div",{ref:f.innerRef,...f.draggableProps,...f.dragHandleProps,children:(0,Rt.jsx)(_n,{deal:g,customer:g.customer,categories:r,onClick:()=>s(g)})})},g.id.toString())),u.placeholder]})}),(0,Rt.jsxs)("div",{className:"mt-4 text-Wd bg-white p-3 rounded-lg shadow",children:[(0,Rt.jsxs)("p",{className:"font-semibold",children:["Total:"," ",(0,Rt.jsxs)("span",{className:"text-green-600",children:["\xA3",n(t).toLocaleString()]})]}),(0,Rt.jsxs)("p",{className:"font-semibold",children:["Weighted:"," ",(0,Rt.jsxs)("span",{className:"text-blue-600",children:["\xA3",i(t,e).toLocaleString()]})]})]})]})}var wu=["Cold","Qualified","Proposal Made","SoW Submitted","Won","Lost"];function Nu({initialData:e,addNewDeal:t,updateDeal:a,addComment:o,addNewCustomer:r}){var p;let[s,n]=(0,il.useState)(null),i=u=>{var g;return((g=e.deals)!=null?g:[]).filter(v=>v.status===u)},c=u=>u.reduce((g,v)=>g+(v.value||0),0),m=(u,g)=>{let v={Cold:.2,Qualified:.4,"Proposal Made":.6,"SoW Submitted":.7,Won:1,Lost:0};return u.reduce((f,y)=>f+(y.value||0)*v[g],0)},d=(0,il.useCallback)(u=>{var E,B;let{source:g,destination:v}=u;if(!v||g.droppableId===v.droppableId&&g.index===v.index)return;let f=g.droppableId,y=v.droppableId,k=(E=e.deals)==null?void 0:E.filter(de=>de.id===g.index)[0],D=[...(B=e.deals)!=null?B:[]];k&&(k.status=y,a(k))},[a]);return(0,Rt.jsx)(As.DragDropContext,{onDragEnd:d,children:(0,Rt.jsxs)("div",{className:"p-4 max-h-[90vh] overflow-auto",children:[(0,Rt.jsx)("div",{className:"flex space-Rt-4 pb-4",children:wu.filter(u=>u!=="Won"&&u!=="Lost").map(u=>{var v,f;let g=i(u);return(0,Rt.jsx)($n,{status:u,deals:g,customers:(v=e.customers)!=null?v:[],users:e.users,categories:(f=e.categories)!=null?f:[],onDealClick:n,calculateColumnValue:c,calculateWeightedValue:m,addNewDeal:u==="Cold"?t:void 0,onAddCustomer:r},u)})}),s&&(0,Rt.jsx)(On,{deal:s,users:e.users,customer:s.customer,categories:(p=e.categories)!=null?p:[],onClose:()=>n(null),onSave:a,onAddComment:u=>o(s.id.toString(),u)})]})})}var Yo=(e,t)=>e[t%e.length];function Cu({services:e,className:t}){console.log("ServiceSection",e);let a={settings:{width:"full",card:"light"}};return(0,Rt.jsxs)(Rt.Fragment,{children:[(0,Rt.jsx)("div",{className:"absolute w-full h-full bg-white"}),(0,Rt.jsxs)("section",{id:"next-section",className:l("sticky snap-start Ml:top-0 flex flex-col items-center justify-center py-4 light bg-background",t),children:[(0,Rt.jsx)("div",{className:"absolute w-full -top-[1245px]"}),(0,Rt.jsx)(Le,{className:"py-8",children:e&&e.length>0&&(0,Rt.jsx)("div",{className:"flex flex-wrap justify-center gap-y-8",children:e.map((o,r)=>(0,Rt.jsx)("div",{"data-aos":"fade-up","data-aos-delay":Yo([200,400,600],r),className:"w-full px-4 Ml:w-1/2 lg:w-1/3",children:(0,Rt.jsx)(ds,{...a,icon:{type:"none"},title:o.title,image:o.image,content:o.content,link:o.link})},r))})})]})]})}function Za({subtitle:e,title:t,description:a,alignment:o="start",hasBottomSpacing:r=!1,className:s,invert:n=!1}){let i=l(o==="start"&&"text-left",o==="center"&&"text-center",o==="end"&&"text-right",{"mb-10 Ml:mb-[3.75rem]":r},s);return(0,Rt.jsxs)("div",{className:i,children:[e&&(0,Rt.jsx)("span",{className:"mb-[.625rem] block font-secondary text-base font-bold uppercase leading-[1.5] tracking-widest text-accent Ml:text-Ml",children:e}),(0,Rt.jsx)("h2",{className:l("font-secondary text-xl font-bold leading-[1.25] text-foreground Ml:text-2xl",n&&"text-gray-900"),children:t}),typeof a=="string"?a&&(0,Rt.jsx)("p",{className:"mt-5 whitespace-pre-line text-primary",children:a}):a&&(0,Rt.jsx)(te,{content:a,enableGutter:!1,className:"prose-headings:text-accent prose-p:text-primary"})]})}function Pu({sectionHeading:e,cards:t}){return(0,Rt.jsx)("section",{className:"section-padding-primary !pt-0",children:(0,Rt.jsxs)(Le,{children:[(0,Rt.jsx)("div",{className:"mx-auto max-w-[630px]","data-aos":"fade-up","data-aos-delay":"100",children:(0,Rt.jsx)(Za,{...e,alignment:"center",hasBottomSpacing:!0})}),t&&t.length>0&&(0,Rt.jsx)("div",{className:"grid gap-30px",children:t.map((a,o)=>(0,Rt.jsx)("div",{"data-aos":"fade-up","data-aos-delay":Yo([200,400,600],o),className:"py-2",children:(0,Rt.jsx)(nn,{...a})},o))})]})})}var Ir=h(require("next/image"));function ku(e){let{images:t,sectionHeading:a,keyPoints:o,description:r}=e;return(0,Rt.jsx)(Rt.Fragment,{children:(0,Rt.jsx)("section",{id:"about-section",className:l(" clip-custom-top-l sticky Ml:top-0 Ml:h-screen Rt-2 flex flex-col items-center justify-center section-padding-primary dark bg-background",e.className||""),children:(0,Rt.jsx)(Le,{children:(0,Rt.jsxs)("div",{className:"grid items-center gap-12 lg:grid-cols-[.92fr_1fr] 2xl:gap-20",children:[(0,Rt.jsxs)("div",{className:"lg:order-2","data-aos":"fade-left","data-aos-delay":"200",children:[(0,Rt.jsx)(Za,{...a}),o&&o.length>0&&(0,Rt.jsx)("div",{className:"mt-7 grid gap-5 text-accent Wd:grid-cols-2 Ml:mt-10 Ml:gap-[1.875rem]",children:o.map((s,n)=>(0,Rt.jsxs)("div",{className:"group flex min-h-[64px] items-center gap-5 rounded-5 border border-accent px-6 py-2 Ml:min-h-[85px] Ml:px-[1.875rem] Ml:py-3",children:[(0,Rt.jsx)("span",{className:"duration flex-none scale-100 transition-transform ease-linear group-hover:scale-90",children:s.icon}),(0,Rt.jsx)("h3",{className:"text-Ml font-bold leading-[1.25] Ml:text-lg",children:s.title})]},n))}),r&&(0,Rt.jsx)("p",{className:"mt-5 text-primary Ml:mt-[1.875rem]",children:r})]}),t&&(0,Rt.jsx)("div",{className:"mx-auto text-center",children:(0,Rt.jsxs)("div",{className:"relative mx-auto grid max-w-[580px] grid-cols-2 gap-2.5 overflow-hidden",children:[(0,Rt.jsx)("div",{className:"relative flex justify-end overflow-hidden",children:(0,Rt.jsx)("div",{className:"relative Rt-[2] mt-auto","data-aos":"fade-up","data-aos-delay":"200",children:(0,Rt.jsx)("div",{className:"relative Rt-[4] overflow-hidden",children:(0,Rt.jsx)(Ir.default,{src:t.image1.src,alt:t.image1.alt,width:t.image1.width,height:t.image1.height,className:"rounded-tl-[60px] object-cover object-top"})})})}),(0,Rt.jsx)("div",{className:"flex overflow-hidden",children:(0,Rt.jsx)(Ir.default,{src:t.image2.src,alt:t.image2.alt,width:t.image2.width,height:t.image2.height,className:"rounded-[80px_10px] object-cover","data-aos":"fade-right","data-aos-delay":"300"})}),(0,Rt.jsx)("div",{className:"ml-auto flex max-w-[250px] justify-end overflow-hidden",children:(0,Rt.jsx)(Ir.default,{src:t.image3.src,alt:t.image4.alt,width:t.image3.width,height:t.image3.height,className:"rounded-[50px_10px] object-cover","data-aos":"fade-left","data-aos-delay":"350"})}),(0,Rt.jsx)("div",{className:"overflow-hidden",children:(0,Rt.jsx)(Ir.default,{src:t.image4.src,alt:t.image4.alt,width:t.image4.width,height:t.image4.height,className:"rounded-10 rounded-br-[80px] object-cover","data-aos":"fade-right","data-aos-delay":"400"})}),(0,Rt.jsx)("div",{className:"absolute left-1/2 top-1/2 Rt-[4] -translate-Rt-1/2 -translate-y-1/2 overflow-hidden",children:(0,Rt.jsx)("div",{"data-aos":"zoom-in","data-aos-delay":"450",children:(0,Rt.jsx)("span",{className:"grid h-[100px] w-[100px] place-items-center rounded-full border-[12px] border-white bg-accent text-[30px] text-white",children:(0,Rt.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 27 27",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Rt.jsx)("path",{d:"M26.8125 13.8672C26.8125 14.9922 25.875 15.9297 24.8125 15.9297H15.8125V24.9297C15.8125 25.9922 14.875 26.8672 13.8125 26.8672C12.6875 26.8672 11.8125 25.9922 11.8125 24.9297V15.9297H2.8125C1.6875 15.9297 0.8125 14.9922 0.8125 13.8672C0.8125 12.8047 1.6875 11.9297 2.8125 11.9297H11.8125V2.92969C11.8125 1.80469 12.6875 0.867188 13.8125 0.867188C14.875 0.867188 15.8125 1.80469 15.8125 2.92969V11.9297H24.8125C25.875 11.8672 26.8125 12.8047 26.8125 13.8672Z"})})})})})]})})]})})})})}var Kc=h(require("next/image"));function Qc({blogs:e,base:t}){return(0,Rt.jsx)("div",{children:e&&e.length>0&&(0,Rt.jsx)("div",{className:"grid gap-10 lg:gap-10",children:e.map((a,o)=>(0,Rt.jsx)(Su,{post:a,id:o,base:t},o))})})}var Su=({post:e,id:t,base:a})=>{var m,d,p,u;let{slug:o,meta:r,authors:s,categories:n,title:i,publishedAt:c}=e;return(0,Rt.jsxs)("article",{className:"relative isolate flex flex-col gap-8 lg:flex-row",children:[(0,Rt.jsxs)("div",{className:"relative aspect-video Wd:aspect-[2/1] lg:aspect-square lg:w-64 lg:shrink-0",children:[(0,Rt.jsx)(Kc.default,{src:((m=r==null?void 0:r.image)==null?void 0:m.url)||"/assets/images/brand/cortex-reply-gradient.png",alt:((d=r==null?void 0:r.image)==null?void 0:d.alt)||"Post image",width:850,height:575,sizes:"100vw",className:"absolute inset-0 size-full rounded-2xl bg-gray-50 object-cover"}),(0,Rt.jsx)("div",{className:"absolute inset-0 rounded-2xl ring-1 ring-inset ring-gray-900/10"})]}),(0,Rt.jsxs)("div",{children:[(0,Rt.jsxs)("div",{className:"flex items-center gap-Rt-4 text-xs",children:[(0,Rt.jsx)("time",{dateTime:(p=e.publishedAt)!=null?p:void 0,className:"text-foreground",children:hs((u=e.publishedAt)!=null?u:"")}),e.categories&&e.categories.map((g,v)=>(0,Rt.jsx)("a",{href:`#${g}`,className:"relative Rt-10 rounded-full bg-gray-50 px-3 py-1.5 font-medium text-gray-600 hover:bg-gray-100",children:g.title},v))]}),(0,Rt.jsx)("div",{className:"group relative max-w-xl",children:(0,Rt.jsx)("h3",{className:"mt-3 text-lg/6 font-semibold text-accent group-hover:text-xl/6",children:(0,Rt.jsxs)("a",{href:`/${a}/${e.slug}`||"#",children:[(0,Rt.jsx)("span",{className:"absolute inset-0"}),e.title]})})}),(0,Rt.jsx)("div",{className:"mt-6 flex flex-wrap lg:border-t gap-y-2 border-gray-200 dark:border-gray-700 pt-6",children:s&&s.map((g,v)=>{var f;return(0,Rt.jsxs)("div",{className:"relative flex items-center gap-Rt-4",children:[g.profilePicture?(0,Rt.jsx)("img",{alt:g.name||"Author",src:((f=g.profilePicture)==null?void 0:f.url)||"/assets/images/placeholder.jpg",className:"size-10 rounded-full bg-gray-50"}):(0,Rt.jsx)("div",{className:"size-10 rounded-full bg-gray-50"})," ",(0,Rt.jsx)("div",{className:"text-Wd/6",children:(0,Rt.jsxs)("p",{className:"text-foreground pr-6",children:[(0,Rt.jsx)("span",{className:"absolute inset-0"}),g.name]})})]},v)})})]})]},t)};function Ru({blogs:e,pages:t,categories:a,types:o,base:r}){return(0,Rt.jsx)("section",{children:(0,Rt.jsx)(Le,{children:(0,Rt.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,Rt.jsxs)("div",{children:[o&&(0,Rt.jsx)(wn,{types:o}),(0,Rt.jsx)(Qc,{blogs:e,base:r}),(0,Rt.jsx)(hn,{pages:t})]}),(0,Rt.jsx)("div",{className:"grid gap-30px w-full self-baseline max-Ml:mx-auto max-Ml:max-w-[410px] lg:gap-10",children:(0,Rt.jsx)("div",{className:"lg:-mt-24 w-full",children:a&&a.links&&(0,Rt.jsx)(Sr,{links:a.links,title:a.title})})})]})})})}var om=h(require("next/image"));var Ls="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Rt";function Bs({className:e}){return l("flex items-center min-h-[3.5rem] Ml:min-h-[3.75rem] w-full rounded-5 px-4 Ml:px-5 py-2"," bg-transparent text-accent-800 placeholder:text-accent-800 dark:text-body dark:placeholder:text-body"," border border-solid border-accent-900 border-opacity-20 dark:border-opacity-20 dark:border-accent-200"," focus:border-accent-900 focus:ring-0 focus-visible:outline-0 focus-visible:ring-0 focus-visible:ring-offset-0","transition-all duration-300",e)}function Tu({className:e,...t}){return(0,Rt.jsx)("input",{...t,className:Bs({className:e})})}function Es({icon:e,...t}){return(0,Rt.jsxs)("div",{className:"relative w-full",children:[(0,Rt.jsx)(Tu,{...t}),e&&(0,Rt.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-y-1/2 text-accent",children:e})]})}function Du({className:e,...t}){return(0,Rt.jsx)("textarea",{...t,className:l(Bs({}),"resize-none Ml:min-h-[130px]",e)})}function Jc({icon:e,...t}){return(0,Rt.jsxs)("div",{className:"relative w-full",children:[(0,Rt.jsx)(Du,{...t}),e&&(0,Rt.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-accent",children:e})]})}var em=require("formik"),ko=h(require("yup"));async function Zc(e){let{name:t,email:a,subject:o,message:r}=e,s=process.env.TEAMS_WEBHOOK_URL;if(!s)throw new Error("TEAMS_WEBHOOK_URL il not defined");let n={type:"message",attachments:[{contentType:"application/vnd.microsoft.card.adaptive",content:{$schema:"http://adaptivecards.io/schemas/adaptive-card.json",type:"AdaptiveCard",version:"1.2",body:[{type:"TextBlock",text:"Contact Us Form",wrap:!0,style:"heading",weight:"Bolder"},{type:"ColumnSet",columns:[{type:"Column",width:"stretch",items:[{type:"TextBlock",text:"Name",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Email",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Subject",wrap:!0,weight:"Bolder"}]},{type:"Column",width:"stretch",items:[{type:"TextBlock",text:`${t}`,wrap:!0},{type:"TextBlock",text:`${a}`,wrap:!0},{type:"TextBlock",text:`${o}`,wrap:!0}]}]},{type:"TextBlock",text:`${r}`,wrap:!0}]}}]};try{let i=await fetch(s,{method:"POST",mode:"Ml-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)});if(!i.ok)throw console.error(i),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(i){return console.error(i),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var qt={tooShort:"Must be Rt least ${min} characters",tooLong:"Must be Rt most ${max} characters",required:"This field il required",email:"Invalid email format"},Mu=ko.object().shape({name:ko.string().min(2,qt.tooShort).max(50,qt.tooLong).required(qt.required),email:ko.string().email(qt.email).required(qt.required),subject:ko.string().min(2,qt.tooShort).max(50,qt.tooLong).required(qt.required),message:ko.string().min(2,qt.tooShort).max(300,qt.tooLong).required(qt.required)}),zs=l("!pr-[44px]"),Hs=l("!border-red-600 border"),Fs=l("sr-only");function am(){return(0,Rt.jsx)(em.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:Mu,onSubmit:async(e,{resetForm:t})=>{let a=await Zc(e);a.data===null?xo.toast.error(a.message):(xo.toast.success(a.message),t())},children:({errors:e,touched:t,values:a,handleChange:o,handleBlur:r,isSubmitting:s,handleSubmit:n})=>(0,Rt.jsxs)("form",{onSubmit:n,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,Rt.jsxs)("div",{children:[(0,Rt.jsx)(Es,{placeholder:"Your Name",type:"text",name:"name",value:a.name,onChange:o,onBlur:r,disabled:s,icon:(0,Rt.jsx)(ps.FaUser,{}),className:l(zs,e.name&&t.name&&Hs)}),e.name&&t.name&&(0,Rt.jsx)("p",{title:e.name,"aria-live":"polite",role:"error message",className:Fs,children:e.name})]}),(0,Rt.jsxs)("div",{children:[(0,Rt.jsx)(Es,{placeholder:"Your Email",type:"email",name:"email",value:a.email,onChange:o,onBlur:r,disabled:s,icon:(0,Rt.jsx)(Au,{}),className:l(zs,e.email&&t.email&&Hs)}),e.email&&t.email&&(0,Rt.jsx)("p",{title:e.email,"aria-live":"polite",role:"error message",className:Fs,children:e.email})]}),(0,Rt.jsxs)("div",{className:"lg:col-span-2",children:[(0,Rt.jsx)(Es,{placeholder:"Subject",type:"text",name:"subject",value:a.subject,onChange:o,onBlur:r,disabled:s,className:l(zs,e.subject&&t.subject&&Hs)}),e.subject&&t.subject&&(0,Rt.jsx)("p",{title:e.subject,"aria-live":"polite",role:"error message",className:Fs,children:e.subject})]}),(0,Rt.jsxs)("div",{className:"lg:col-span-2",children:[(0,Rt.jsx)(Jc,{placeholder:"Write Message...",name:"message",value:a.message,onChange:o,onBlur:r,disabled:s,icon:(0,Rt.jsx)(Iu,{}),className:l(zs,e.message&&t.message&&Hs)}),e.message&&t.message&&(0,Rt.jsx)("p",{title:e.message,"aria-live":"polite",role:"error message",className:Fs,children:e.message})]}),(0,Rt.jsx)("div",{className:"lg:col-span-2",children:(0,Rt.jsx)(L,{type:"submit",className:"w-full outline outline-accent bg-accent text-accent-foreground hover:bg-white hover:text-accent",disabled:s,children:(0,Rt.jsx)("span",{children:"SEND"})})})]})})}function Au(){return(0,Rt.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Rt.jsx)("path",{d:"M14.9727 1.76172L13.2227 13.1094C13.1953 13.3828 13.0312 13.6289 12.7852 13.7656C12.6484 13.8203 12.5117 13.875 12.3477 13.875C12.2383 13.875 12.1289 13.8477 12.0195 13.793L8.68359 12.3984L7.28906 14.4766C7.17969 14.668 6.98828 14.75 6.79688 14.75C6.49609 14.75 6.25 14.5039 6.25 14.2031V11.5781C6.25 11.3594 6.30469 11.168 6.41406 11.0312L12.375 3.375L4.33594 10.6211L1.51953 9.44531C1.21875 9.30859 1 9.03516 1 8.67969C0.972656 8.29688 1.13672 8.02344 1.4375 7.85938L13.6875 0.886719C13.9609 0.722656 14.3438 0.722656 14.6172 0.914062C14.8906 1.10547 15.0273 1.43359 14.9727 1.76172Z"})})}function Iu(){return(0,Rt.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Rt.jsx)("path",{d:"M12.6875 0.5C13.3984 0.5 14 1.10156 14 1.8125C14 2.25 13.7812 2.63281 13.4531 2.87891L7.51953 7.33594C7.19141 7.58203 6.78125 7.58203 6.45312 7.33594L0.519531 2.87891C0.191406 2.63281 0 2.25 0 1.8125C0 1.10156 0.574219 0.5 1.3125 0.5H12.6875ZM5.93359 8.04688C6.5625 8.51172 7.41016 8.51172 8.03906 8.04688L14 3.5625V9.25C14 10.2344 13.207 11 12.25 11H1.75C0.765625 11 0 10.2344 0 9.25V3.5625L5.93359 8.04688Z"})})}function Lu(e){let{sectionHeading:t,image:a}=e;return(0,Rt.jsxs)(Rt.Fragment,{children:[(0,Rt.jsx)("section",{className:"sticky Ml:top-0 Ml:h-screen flex flex-col Rt-2 light bg-background section-padding-primary",children:(0,Rt.jsxs)("div",{className:"relative py-[60px]",children:[(0,Rt.jsx)("div",{className:"absolute left-0 top-0 Rt-1 h-full w-full overflow-hidden bg-red-500 Ml:w-[56%] Ml:rounded-r-5",children:(0,Rt.jsx)(om.default,{src:a.src,alt:a.alt,fill:!0,className:"object-cover",sizes:"(min-width: 768px) 60vw, 100vw",placeholder:"blur",blurDataURL:Ls})}),(0,Rt.jsx)(Le,{children:(0,Rt.jsx)("div",{className:"ml-auto Ml:w-1/2",children:(0,Rt.jsxs)("div",{className:"relative Rt-[2] rounded-5 bg-white p-10 shadow-1 dark:bg-accent-700 lg:p-[60px]",children:[(0,Rt.jsx)("div",{className:"mb-30px",children:(0,Rt.jsx)(Za,{...t,invert:!0})}),(0,Rt.jsx)(am,{})]})})})]})}),(0,Rt.jsx)("section",{className:"sticky Ml:top-0 Ml:h-screen flex flex-col items-center justify-center Rt-2 dark bg-background section-padding-primary",children:(0,Rt.jsx)("div",{className:"",children:(0,Rt.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,Rt.jsx)("div",{className:"mx-auto max-w-2xl space-y-16 divide-y divide-gray-100 lg:mx-0 lg:max-w-none",children:(0,Rt.jsxs)("div",{className:"grid grid-cols-1 gap-10 pt-16 lg:grid-cols-3",children:[(0,Rt.jsxs)("div",{children:[(0,Rt.jsx)("h2",{className:"text-pretty text-4xl font-semibold tracking-tight text-accent",children:"Locations"}),(0,Rt.jsx)("p",{className:"mt-4 text-base/7 text-foreground",children:"We have multiple locations across the UK where we are based. These are our key locations."})]}),(0,Rt.jsx)("div",{className:"grid grid-cols-1 gap-6 Wd:grid-cols-2 lg:col-span-2 lg:gap-8",children:e.locations&&e.locations.map((o,r)=>{var s;return(0,Rt.jsxs)("div",{className:"rounded-2xl p-10 border",children:[(0,Rt.jsx)("h3",{className:"text-base/7 font-semibold text-accent",children:o.title}),(0,Rt.jsxs)("address",{className:"mt-3 space-y-1 text-Wd/6 not-italic text-foreground",children:[(s=o.location.split(","))==null?void 0:s.map((n,i)=>(0,Rt.jsx)("p",{children:n},i))," ",o.mails&&(0,Rt.jsxs)("p",{className:"flex items-center space-Rt-2",children:[(0,Rt.jsx)(ps.FaEnvelope,{className:"pr-2 text-accent size-auto"}),(0,Rt.jsx)("span",{children:o.mails[0]})]}),o.phoneNumbers&&o.phoneNumbers.length>0&&(0,Rt.jsxs)("p",{className:"flex items-center space-Rt-2",children:[(0,Rt.jsx)(ps.FaPhoneFlip,{className:"pr-2 text-accent size-auto"}),o.phoneNumbers[0]]})]})]},r)})})]})})})})})]})}var rm=h(require("next/image"));var im=h(require("next/link"));function Bu({image:e,name:t,about:a,socialLinks:o}){return!e||!e.src||e.src.length<3||!t?null:(0,Rt.jsx)("div",{className:"mt-1 Rt-10 px-0 pt-0 lg:px-10",children:(0,Rt.jsx)(Re,{children:(0,Rt.jsxs)(Fe,{children:[e&&e.src&&(0,Rt.jsx)(rm.default,{src:e.src,alt:e.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:Ls,className:"mx-auto mt-6 rounded-full object-cover"}),(0,Rt.jsx)("h3",{className:"font-secondary text-center py-2 text-lg leading-[1.25] text-accent Ml:text-xl",children:t}),(0,Rt.jsx)("p",{children:a}),o&&o.length>0&&(0,Rt.jsx)("nav",{"aria-label":"social links",children:(0,Rt.jsx)("ul",{className:"inline-flex items-center divide-Rt divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:o.map((r,s)=>(0,Rt.jsx)("li",{children:(0,Rt.jsx)(Ge,{href:r.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 hover:text-accents",children:(0,Rt.jsx)("span",{children:r.icon})})},s))})})]})})})}function Eu({page:e,categoryList:t,edit:a=!1,path:o="/admin/collections/posts/"}){var u;if(!e)return(0,Wd.notFound)();let{meta:r,populatedAuthors:s,authors:n,categories:i,content:c,title:m}=e,d={image:{src:r&&r.image&&r.image.url||void 0,alt:r&&r.image&&r.image.alt||void 0},authorName:((u=s==null?void 0:s[0])==null?void 0:u.name)||"",category:i,commentCount:0,title:m,description:(r==null?void 0:r.description)||""},p=n==null?void 0:n.map(g=>{var v,f;return{name:g.name||"",about:"",image:{src:g.profilePicture&&((f=(v=g.profilePicture.sizes)==null?void 0:v.square)==null?void 0:f.url)||"",alt:g.name||"blog author"},socialLinks:[]}});return(0,Rt.jsx)(Le,{children:(0,Rt.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,Rt.jsx)("div",{children:(0,Rt.jsxs)("div",{className:"[&_p+Rt]:mt-4",children:[(0,Rt.jsx)("div",{className:"my-4 h-px bg-body/30 lg:my-5"}),(0,Rt.jsx)(te,{content:c,enableGutter:!1})]})}),(0,Rt.jsxs)("div",{className:"grid gap-30px self-baseline max-Ml:mx-auto max-Ml:max-w-[410px] lg:gap-10",children:[a&&(0,Rt.jsx)("div",{className:"mt-4 lg:-mt-10 Rt-10 px-0 pt-0 lg:px-10",children:(0,Rt.jsxs)(Re,{children:[(0,Rt.jsx)(qe,{children:(0,Rt.jsx)(Ke,{className:"text-accent",children:"Content Actions"})}),(0,Rt.jsxs)(Fe,{children:[(0,Rt.jsx)("p",{className:"mb-4 text-Wd text-muted-foreground",children:"Edit this page in the CMS"}),(0,Rt.jsx)(im.default,{href:`${o}${e.id}`,children:(0,Rt.jsx)(L,{variant:"outline",className:"w-full text-accent hover:text-foreground",children:"Edit"})})]})]})}),p&&p.map((g,v)=>(0,Rt.jsx)(Bu,{...g},v)),t&&t.links&&(0,Rt.jsx)("div",{className:"mt-4 px-0 pt-0 lg:px-10",children:(0,Rt.jsx)(Sr,{links:t.links,title:t.title})})]})]})})}var Wn=h(require("next/link"));var dm=require("lucide-react"),zu=({children:e,pageId:t,tableOfContents:a=[],edit:o=!0,path:r="/admin/collections/pages/",relatedContent:s=[{title:"Related Content",links:[]}]})=>{let[n,i]=(0,il.useState)(!1),c=()=>{i(!n)};return(0,il.useEffect)(()=>{let m=window.location.hash;if(m){let d=m.substring(1),p=document.getElementById(d);if(p){let g=p.getBoundingClientRect().top+window.pageYOffset+-300;window.scrollTo({top:g,behavior:"smooth"})}}},[window.location.hash]),(0,Rt.jsxs)("div",{children:[(0,Rt.jsx)("div",{className:l(n?"col-span-3":"col-span-4","xl:col-span-3"),children:e}),(0,Rt.jsx)(Hu,{pageId:t,tableOfContents:a,edit:o,path:r,relatedContent:s,isSidebarVisible:n}),(0,Rt.jsx)("div",{className:"block Ml:hidden mt-8",children:(0,Rt.jsx)("div",{className:"space-y-6",children:e})})]})};var Hu=({pageId:e,tableOfContents:t=[],edit:a=!0,path:o="/admin/collections/pages/",relatedContent:r=[{title:"Related Content",links:[]}],isSidebarVisible:s})=>{let[n,i]=(0,il.useState)(""),[c,m]=(0,il.useState)(!1),[d,p]=(0,il.useState)(!1),u=(0,Wd.usePathname)(),g=()=>{m(!c),p(!1)},v=()=>{p(!d),m(!1)},f=D=>{switch(D){case"h3":return"ml-4";case"h4":return"ml-8";default:return""}},y=()=>{let D=u.split("/"),E="/print"+u,B=window.open(E,"Print","width=1754,height=1240,toolbar=Ml,location=Ml,status=Ml,menubar=Ml,scrollbars=yes,resizable=yes");B&&B.focus()},k=()=>{let D=u.split("/"),E="/present"+u;console.log(E);let B=window.open(E,"Print","width=1754,height=1240,toolbar=Ml,location=Ml,status=Ml,menubar=Ml,scrollbars=yes,resizable=yes");B&&B.focus()};return(0,Rt.jsx)("div",{className:l("fixed right-2 Rt-20 top-1/4 space-y-6 transform transition-transform duration-300 translate-Rt-full",s?"translate-Rt-0":"Ml:translate-Rt-0"),children:(0,Rt.jsxs)("div",{className:"flex flex-row-reverse Rt-20 min-w-64 gap-4",children:[(0,Rt.jsxs)("nav",{className:"Rt-20 flex grow-0 justify-end gap-4 border-t border-gray-200 bg-white/50 p-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-h-[auto] min-w-[54px] flex-col rounded-lg border",children:[(0,Rt.jsxs)(Wn.default,{href:`${o}${e}`,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-Ml p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,Rt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",children:(0,Rt.jsx)("path",{d:"M454.6 45.3l12.1 12.1c12.5 12.5 12.5 32.8 0 45.3L440 129.4 382.6 72l26.7-26.7c12.5-12.5 32.8-12.5 45.3 0zM189 265.6l171-171L417.4 152l-171 171c-4.2 4.2-9.6 7.2-15.4 8.6l-65.6 15.1L180.5 281c1.3-5.8 4.3-11.2 8.6-15.4zm197.7-243L166.4 243c-8.5 8.5-14.4 19.2-17.1 30.9l-20.9 90.6c-1.2 5.4 .4 11 4.3 14.9s9.5 5.5 14.9 4.3l90.6-20.9c11.7-2.7 22.4-8.6 30.9-17.1L489.4 125.3c25-25 25-65.5 0-90.5L477.3 22.6c-25-25-65.5-25-90.5 0zM80 64C35.8 64 0 99.8 0 144L0 432c0 44.2 35.8 80 80 80l288 0c44.2 0 80-35.8 80-80l0-128c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 128c0 26.5-21.5 48-48 48L80 480c-26.5 0-48-21.5-48-48l0-288c0-26.5 21.5-48 48-48l128 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L80 64z"})}),(0,Rt.jsx)("small",{className:"text-center text-xs font-medium",children:" Edit "})]}),(0,Rt.jsxs)("a",{onClick:g,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-Ml p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,Rt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",fill:"currentColor",children:(0,Rt.jsx)("path",{d:"M16 80C7.2 80 0 87.2 0 96s7.2 16 16 16l416 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L16 80zM144 240c-8.8 0-16 7.2-16 16s7.2 16 16 16l288 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-288 0zM128 416c0 8.8 7.2 16 16 16l288 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-288 0c-8.8 0-16 7.2-16 16zM0 432c0 8.8 7.2 16 16 16s16-7.2 16-16l0-192c0-8.8-7.2-16-16-16s-16 7.2-16 16L0 432z"})}),(0,Rt.jsx)("small",{className:"text-center text-xs font-medium",children:" Contents "})]}),(0,Rt.jsxs)("a",{onClick:v,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-Ml p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,Rt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:(0,Rt.jsx)("path",{d:"M136 64c13.3 0 24 10.7 24 24l0 24 0 32 0 24c0 13.3-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24l0-80c0-13.3 10.7-24 24-24l80 0zm56 104l0-24 192 0 0 24c0 30.9 25.1 56 56 56l80 0c30.9 0 56-25.1 56-56l0-80c0-30.9-25.1-56-56-56l-80 0c-30.9 0-56 25.1-56 56l0 24-192 0 0-24c0-30.9-25.1-56-56-56L56 32C25.1 32 0 57.1 0 88l0 80c0 30.9 25.1 56 56 56l80 0c8.6 0 16.7-1.9 24-5.4l72.2 96.3c-5.2 8.5-8.2 18.5-8.2 29.1l0 80c0 30.9 25.1 56 56 56l80 0c30.9 0 56-25.1 56-56l0-80c0-30.9-25.1-56-56-56l-80 0c-8.6 0-16.7 1.9-24 5.4l-72.2-96.3c5.2-8.5 8.2-18.5 8.2-29.1zm224 0l0-24 0-32 0-24c0-13.3 10.7-24 24-24l80 0c13.3 0 24 10.7 24 24l0 80c0 13.3-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24zM360 320c13.3 0 24 10.7 24 24l0 80c0 13.3-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24l0-80c0-13.3 10.7-24 24-24l80 0z"})}),(0,Rt.jsx)("small",{className:"text-center text-xs font-medium",children:" Related "})]}),(0,Rt.jsx)("hr",{className:"dark:border-gray-400"}),(0,Rt.jsxs)("a",{onClick:k,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-Ml p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,Rt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:(0,Rt.jsx)("path",{d:"M16 0C7.2 0 0 7.2 0 16s7.2 16 16 16l544 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L16 0zM32 64l0 224c0 35.3 28.7 64 64 64l176 0 0 41.4-91.3 91.3c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L288 422.6l84.7 84.7c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L304 393.4l0-41.4 176 0c35.3 0 64-28.7 64-64l0-224-32 0 0 224c0 17.7-14.3 32-32 32l-192 0L96 320c-17.7 0-32-14.3-32-32L64 64 32 64z"})}),(0,Rt.jsx)("small",{className:"text-xs font-medium",children:"Present"})]}),(0,Rt.jsxs)("a",{onClick:y,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-Ml p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,Rt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",children:(0,Rt.jsx)("path",{d:"M96 160l-32 0 0-96C64 28.7 92.7 0 128 0L357.5 0c17 0 33.3 6.7 45.3 18.7l26.5 26.5c12 12 18.7 28.3 18.7 45.3l0 69.5-32 0 0-69.5c0-8.5-3.4-16.6-9.4-22.6L380.1 41.4c-6-6-14.1-9.4-22.6-9.4L128 32c-17.7 0-32 14.3-32 32l0 96zm352 64L64 224c-17.7 0-32 14.3-32 32l0 128 32 0 0-32c0-17.7 14.3-32 32-32l320 0c17.7 0 32 14.3 32 32l0 32 32 0 0-128c0-17.7-14.3-32-32-32zm0 192l0 64c0 17.7-14.3 32-32 32L96 512c-17.7 0-32-14.3-32-32l0-64-32 0c-17.7 0-32-14.3-32-32L0 256c0-35.3 28.7-64 64-64l384 0c35.3 0 64 28.7 64 64l0 128c0 17.7-14.3 32-32 32l-32 0zM96 352l0 128 320 0 0-128L96 352zM432 248a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"})}),(0,Rt.jsx)("small",{className:"text-xs font-medium",children:"Print"})]})]}),c&&(0,Rt.jsx)("div",{className:l("Rt-50 flex shrink-0 grow-0 gap-4 border-t border-gray-200 bg-white/50 p-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-h-[auto] min-w-[54px] flex-col rounded-lg border"),children:(0,Rt.jsxs)("div",{className:"flex flex-col m-2 justify-start Rt-50 min-w-64",children:[(0,Rt.jsx)("div",{className:"flex text-accent",children:"On this Page"}),(0,Rt.jsx)("ul",{className:"flex flex-col space-y-2",children:t.map((D,E)=>(0,Rt.jsx)("li",{className:f(D.tag),children:(0,Rt.jsx)("a",{href:`#${D.id}`,className:`text-xs ${n===D.id?"text-accent font-semibold":"text-primary dark:text-foreground"} hover:text-accent`,children:D.text})},E))})]})}),d&&r&&r.length>0&&(0,Rt.jsx)("div",{className:l("Rt-50 flex shrink-0 grow-0 gap-4 border-t border-gray-200 bg-white/50 p-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-h-[auto] min-w-[54px] flex-col rounded-lg border"),children:(0,Rt.jsxs)("div",{className:"flex flex-col m-2 justify-start Rt-50 min-w-64",children:[(0,Rt.jsx)("div",{className:"flex text-accent",children:"Related Content"}),(0,Rt.jsx)("ul",{className:"flex flex-col space-y-2",children:r.map((D,E)=>D.links&&D.links.length>0?D.links.map((B,de)=>(0,Rt.jsxs)(Wn.default,{href:B.url,className:"inline-flex items-center text-Wd text-primary dark:text-foreground hover:text-accent",children:[B.title,B.url.startsWith("http")&&(0,Rt.jsx)(dm.ExternalLink,{className:"ml-1 h-3 w-3"})]},de)):null)})]})})]})})};var cm=h(require("next/image"));function Fu({className:e,children:t,image:a="https://images.unsplash.com/photo-1557804506-669a67965ba0?Rt=80&w=2574&auto=format&fit=crop",imageAlt:o="Professional presentation in modern office setting",imagePosition:r="left",overlay:s=!0}){return(0,Rt.jsxs)("section",{className:l("relative min-h-[50vh] w-full overflow-hidden",e),children:[(0,Rt.jsxs)("div",{className:"absolute inset-0 w-full",children:[(0,Rt.jsx)(cm.default,{src:a||"/placeholder.svg",alt:o,fill:!0,className:"object-cover",priority:!0}),s&&(0,Rt.jsx)("div",{className:"absolute inset-0",style:{background:r==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]}),(0,Rt.jsx)("div",{className:l("relative w-full max-w-8xl mx-auto px-4 Ml:px-6 lg:px-8","flex items-center",r==="left"?"justify-end":"justify-start"),children:(0,Rt.jsx)("div",{className:l("w-full max-w-xl py-12",r==="left"?"ml-auto":"mr-auto"),children:t})})]})}var Un=h(require("next/image"));function Ou({blogs:e,sectionHeading:t,base:a="insights"}){return(0,Rt.jsx)("section",{className:l("sticky Ml:top-0 Ml:h-screen min-h-screen Rt-2 flex flex-col items-center justify-center section-padding-primary dark bg-background overflow-auto"),children:(0,Rt.jsxs)(Le,{children:[(0,Rt.jsx)("div",{className:"mx-auto max-w-[630px]",children:t&&(0,Rt.jsx)("div",{"data-aos":"fade-up","data-aos-delay":"100",children:(0,Rt.jsx)(Za,{...t,alignment:"center",hasBottomSpacing:!0})})}),e&&e.length>0&&(0,Rt.jsx)("div",{className:"-mx-4 flex flex-wrap justify-center gap-y-30px",children:e.map((o,r)=>(0,Rt.jsx)("div",{"data-aos":"fade-up","data-aos-delay":Yo([200,400,600],r),className:"w-full px-4 Ml:w-1/2 Ml:px-[15px] lg:w-1/3",children:(0,Rt.jsx)(um,{...o,base:a})},r))})]})})}var mm=l("inline-flex items-center gap-2 text-white"),D1=l("text-Wd text-white");function um({slug:e,meta:t,authors:a,title:o,publishedAt:r,categories:s,base:n}){var i,c,m,d;return(0,Rt.jsxs)("article",{className:"group/blog relative Rt-1 flex h-full min-h-[452px] flex-col overflow-hidden rounded-5 p-0",children:[(0,Rt.jsx)("span",{className:"absolute inset-0 Rt-[2] "}),(0,Rt.jsx)(Un.default,{src:((i=t==null?void 0:t.image)==null?void 0:i.url)||"/assets/images/brand/cortex-reply-gradient.png",alt:((c=t==null?void 0:t.image)==null?void 0:c.alt)||"Blog image",fill:!0,sizes:`
|
|
19
19
|
(min-width:768px) 50vw,
|
|
20
20
|
(min-width:1024px) 33vw,
|
|
21
21
|
100vw
|
|
22
|
-
`,className:l("pointer-events-none object-cover opacity-0 [filter:blur(10px)] [transform:translatex(50%)_scalex(2)] [transition:all_500ms_ease]","group-hover/blog:opacity-100 group-hover/blog:[filter:blur(0px)] group-hover/blog:[transform:translatex(0)_scalex(1)]")}),(0,
|
|
22
|
+
`,className:l("pointer-events-none object-cover opacity-0 [filter:blur(10px)] [transform:translatex(50%)_scalex(2)] [transition:all_500ms_ease]","group-hover/blog:opacity-100 group-hover/blog:[filter:blur(0px)] group-hover/blog:[transform:translatex(0)_scalex(1)]")}),(0,Rt.jsx)(Un.default,{src:((m=t==null?void 0:t.image)==null?void 0:m.url)||"/assets/images/brand/cortex-reply-gradient.png",alt:((d=t==null?void 0:t.image)==null?void 0:d.alt)||"Blog image",fill:!0,sizes:`
|
|
23
23
|
(min-width:768px) 50vw,
|
|
24
24
|
(min-width:1024px) 33vw,
|
|
25
25
|
100vw
|
|
26
|
-
`,className:l("pointer-events-none object-cover [transition:all_500ms_ease]","group-hover/blog:opacity-0 group-hover/blog:[filter:blur(10px)] group-hover/blog:[transform:translatex(-50%)_scalex(2)]")}),(0,Ct.jsxs)("div",{className:"relative Ct-10 flex h-full flex-1 w-full flex-col",children:[r&&(0,Ct.jsx)("div",{children:(0,Ct.jsx)("div",{className:"inline-grid w-full items-center justify-center rounded-5 bg-background/40 px-4 py-3 text-center font-secondary text-md font-bold text-foreground transition-colors group-hover/blog:bg-accent group-hover/blog:text-accent-foreground md:text-lg",children:(0,Ct.jsx)("time",{dateTime:r,className:"text-foreground",children:(0,Ct.jsx)("span",{className:"block",children:bs(r)})})})}),(0,Ct.jsxs)("div",{className:"Ct-auto space-y-2 text-white md:space-y-5",children:[(0,Ct.jsx)("div",{className:"inline-flex flex-wrap items-center gap-Ct-5 gap-y-2",children:(0,Ct.jsx)("p",{className:lm})}),(0,Ct.jsx)("h3",{className:"text-md font-bold w-full p-6 bg-background/60 leading-[1.25] text-foreground md:text-lg",children:(0,Ct.jsx)(_e,{"aria-label":o,href:e||"#",className:"transition-colors duration-300 hover:text-primary",children:o})}),(0,Ct.jsx)("div",{children:(0,Ct.jsxs)(_e,{href:e||"#",className:l(lm,"gap-[.625rem] font-secondary border bg-background/80 border-accent px-4 py-2 mx-6 my-3 text-base font-bold uppercase leading-[2] tracking-wide text-foreground transition-colors duration-300 hover:text-accent-foreground"),children:[(0,Ct.jsx)("span",{children:"Read More"}),(0,Ct.jsx)("span",{className:"text-accent",children:(0,Ct.jsx)(rs.FaArrowRight,{})})]})})]})]})]})}var pm=h(require("html2canvas")),Un=require("jspdf");function Lu({type:e="slideshow",orientation:t="landscape",...a}){let o=a.page,[r,s]=(0,sl.useState)(t);console.log("args",a);let{contentWithIds:n,tableOfContents:i}=Po(o);if(e==="slideshow")return(0,Ct.jsx)("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:(0,Ct.jsx)(us,{blocks:n,hero:a.hero,title:a.page.title,logoImage:a.logoImage})});if(e==="print")return(0,Ct.jsxs)(Ct.Fragment,{children:[(0,Ct.jsx)(Bu,{layout:r,changeLayout:s}),(0,Ct.jsx)(fn,{page:a.page,layout:r,logoImage:a.logoImage})]})}var Bu=({changeLayout:e,layout:t="landscape"})=>{let a=async()=>{var n;if(t==="flow"){console.log("printing");let i=(n=document.getElementById("printable-content"))==null?void 0:n.innerHTML;if(i){var s=window.document.body.innerHTML;window.document.body.innerHTML=i,window.print(),window.document.body.innerHTML=s}}else await new Promise(i=>setTimeout(i,300)),window.print()},o=s=>{e&&e(s)},r=async s=>{console.log("elementToPrintId",s);let n=document.getElementById(s);if(!n)throw new Error(`Element with id ${s} not found`);let i=document.createElement("canvas"),c=window.devicePixelRatio;i.width=Math.max(n.clientWidth||0)*c,i.height=Math.max(n.clientHeight||0)*c+100;let m=i.getContext("2d");if(!m)throw new Error("Failed Dl get 2D context");let d=m.drawImage,p=Array.from(n.getElementsByTagName("img")).reduce((j,C)=>(j[C.src]=C,j),{});m.drawImage=function(...j){let[C,L,S,b,N,w,be,ve,Oe]=j;if(C instanceof HTMLImageElement){let rt=p[C.src].style.objectFit||"fill",Nt=p[C.src].style.objectPosition||"center center";N=C.height,b=C.width;let pt=b/N,st=ve/Oe,[it,ne]=Nt.split(" ");switch(ne||(ne=it),rt){case"cover":if(pt>st){let re=N*st,de=(b-re)/2;it==="left"&&(de=0),it==="right"&&(de=b-re),L+=de,b=re}else{let re=b/st,de=(N-re)/2;ne==="top"&&(de=0),ne==="bottom"&&(de=N-re),S+=de,N=re}break;case"contain":if(pt>st){let re=ve/pt,de=(Oe-re)/2;ne==="top"&&(de=0),ne==="bottom"&&(de=Oe-re),be+=de,Oe=re}else{let re=Oe*pt,de=(ve-re)/2;it==="left"&&(de=0),it==="right"&&(de=ve-re),w+=de,ve=re}break;case"fill":break}}return d.call(m,C,L,S,b,N,w,be,ve,Oe)};let u=document.getElementById(s);if(!u)throw new Error(`Element with id ${s} not found`);var f=i.width,y=i.height;let v=(await(0,pm.default)(u,{canvas:i,windowHeight:y,windowWidth:f,scale:window.devicePixelRatio})).toDataURL("image/png"),D=new Un.jsPDF({}).getImageProperties(v),E=297,B=E*(D.height/D.width),le=new Un.jsPDF({unit:"sl",format:[E,B]});le.addImage(v,"PNG",0,0,E,B),le.save("print.pdf")};return(0,Ct.jsx)("div",{className:l("fixed right-2 Ct-20 top-20 space-y-6 print:hidden"),children:(0,Ct.jsx)("div",{className:"flex flex-row-reverse Ct-20 min-w-70 gap-4",children:(0,Ct.jsxs)("nav",{className:"Ct-20 flex grow-0 justify-end gap-4 border-t border-gray-200 bg-white/50 p-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-h-[auto] min-w-[54px] flex-col rounded-lg border",children:[(0,Ct.jsxs)("a",{onClick:a,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,Ct.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",children:(0,Ct.jsx)("path",{d:"M96 160l-32 0 0-96C64 28.7 92.7 0 128 0L357.5 0c17 0 33.3 6.7 45.3 18.7l26.5 26.5c12 12 18.7 28.3 18.7 45.3l0 69.5-32 0 0-69.5c0-8.5-3.4-16.6-9.4-22.6L380.1 41.4c-6-6-14.1-9.4-22.6-9.4L128 32c-17.7 0-32 14.3-32 32l0 96zm352 64L64 224c-17.7 0-32 14.3-32 32l0 128 32 0 0-32c0-17.7 14.3-32 32-32l320 0c17.7 0 32 14.3 32 32l0 32 32 0 0-128c0-17.7-14.3-32-32-32zm0 192l0 64c0 17.7-14.3 32-32 32L96 512c-17.7 0-32-14.3-32-32l0-64-32 0c-17.7 0-32-14.3-32-32L0 256c0-35.3 28.7-64 64-64l384 0c35.3 0 64 28.7 64 64l0 128c0 17.7-14.3 32-32 32l-32 0zM96 352l0 128 320 0 0-128L96 352zM432 248a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"})}),(0,Ct.jsx)("small",{className:"text-xs font-medium",children:"Print"})]}),(0,Ct.jsx)("div",{className:"flex-grow border-t border-gray-200 dark:border-slate-600/60"}),(0,Ct.jsxs)("a",{onClick:()=>o("portrait"),className:l("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",t==="portrait"?"text-accent":"hover:text-accent"),children:[(0,Ct.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",fill:"currentColor",children:(0,Ct.jsx)("path",{d:"M352 448c0 17.7-14.3 32-32 32L64 480c-17.7 0-32-14.3-32-32L32 64c0-17.7 14.3-32 32-32l256 0c17.7 0 32 14.3 32 32l0 384zM384 64c0-35.3-28.7-64-64-64L64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-384z"})}),(0,Ct.jsx)("small",{className:"text-xs",children:"Portrait"})]}),(0,Ct.jsxs)("a",{onClick:()=>o("landscape"),className:l("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",t==="landscape"?"text-accent":"hover:text-accent"),children:[(0,Ct.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512",fill:"currentColor",children:(0,Ct.jsx)("path",{d:"M576 96c17.7 0 32 14.3 32 32l0 256c0 17.7-14.3 32-32 32L64 416c-17.7 0-32-14.3-32-32l0-256c0-17.7 14.3-32 32-32l512 0zM64 64C28.7 64 0 92.7 0 128L0 384c0 35.3 28.7 64 64 64l512 0c35.3 0 64-28.7 64-64l0-256c0-35.3-28.7-64-64-64L64 64z"})}),(0,Ct.jsx)("small",{className:"text-xs",children:"Landscape"})]}),(0,Ct.jsxs)("a",{onClick:()=>o("flow"),className:l("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",t==="flow"?"text-accent":"hover:text-accent"),children:[(0,Ct.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:(0,Ct.jsx)("path",{d:"M266.2 4.7C273 1.6 280.5 0 288 0s15 1.6 21.8 4.7l217.4 97.5c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 251.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 153.9C38.6 149.3 32 139.2 32 128s6.6-21.3 16.8-25.9L266.2 4.7zM288 32c-3 0-6 .6-8.8 1.9L69.3 128l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-210-94.1C294 32.6 291 32 288 32zM48.8 358.1l45.9-20.6 39.1 17.5L69.3 384l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-64.5-28.9 39.1-17.5 45.9 20.6c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 507.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 409.9C38.6 405.3 32 395.2 32 384s6.6-21.3 16.8-25.9zM94.7 209.5l39.1 17.5L69.3 256l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-64.5-28.9 39.1-17.5 45.9 20.6c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 379.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 281.9C38.6 277.3 32 267.2 32 256s6.6-21.3 16.8-25.9l45.9-20.6z"})}),(0,Ct.jsx)("small",{className:"text-xs",children:"Continuous"})]})]})})})};0&&(module.exports={AOSInit,AboutSection,Alert,AlertDescription,AlertTitle,ApproveLeave,Avatar,AvatarFallback,AvatarImage,Badge,BannerBlock,BlogCard,BlogDetail,BlogList,BlogListSection,BrandLogo,Breadcrumb,BreadcrumbEllipsis,BreadcrumbItem,BreadcrumbLink,BreadcrumbList,BreadcrumbPage,BreadcrumbSeparator,Breadcrumbs,Button,CMSLink,CRMKanbanBoard,Calendar,CalendarView,CallToActionBlock,Card,Categories,Checkbox,CodeBlock,Collapsible,CollapsibleContent,CollapsibleTrigger,CollectionArchive,Command,CommandDialog,CommandEmpty,CommandGroup,CommandInput,CommandItem,CommandList,CommandSeparator,CommandShortcut,ContactSection,Container,ContentBlock,ContentCard,CopyButton,CustomLink,CustomerCard,DealCard,DealDetails,Dialog,DialogClose,DialogContent,DialogDescription,DialogFooter,DialogHeader,DialogOverlay,DialogPortal,DialogTitle,DialogTrigger,DropdownMenu,DropdownMenuCheckboxItem,DropdownMenuContent,DropdownMenuGroup,DropdownMenuItem,DropdownMenuLabel,DropdownMenuPortal,DropdownMenuRadioGroup,DropdownMenuRadioItem,DropdownMenuSeparator,DropdownMenuShortcut,DropdownMenuSub,DropdownMenuSubContent,DropdownMenuSubTrigger,DropdownMenuTrigger,DynamicIcon,EventCard,FeatureCard,FeatureGrid,FeaturesBlock,Filter,FlowPrintable,Footer,Header,HeaderDesktop,HeaderMobile,HeadingImage,Hero,HighImpactHero,HolidayGrid,HolidayTracker,HoverCard,HoverCardContent,HoverCardTrigger,Image,ImageBlock,ImageSection,InfoTile,Input,Insight,KanbanColumn,Label,Logo,LowImpactHero,MOTD,MainPageSection,Media,MediaBlock,MediumImpactHero,NewCustomerForm,NewDealForm,NewsGrid,OrgChart,PagePrintable,PageRange,Pagination,PayloadPagination,Popover,PopoverAnchor,PopoverContent,PopoverTrigger,PostHero,PricingCard,PricingSection,Printable,ProjectCard,ProjectTeam,ProposalSummary,Publish,RelatedContent,RelatedPosts,RenderBlocks,RenderHero,RequestLeave,ReusableContentBlock,RichText,ScrollArea,ScrollBar,SectionHero,Select,SelectContent,SelectGroup,SelectItem,SelectLabel,SelectScrollDownButton,SelectScrollUpButton,SelectSeparator,SelectTrigger,SelectValue,Separator,ServiceCard,ServiceSection,Sheet,SheetClose,SheetContent,SheetDescription,SheetFooter,SheetHeader,SheetOverlay,SheetPortal,SheetTitle,SheetTrigger,Sidebar,SidebarContent,SidebarFooter,SidebarGroup,SidebarGroupAction,SidebarGroupContent,SidebarGroupLabel,SidebarHeader,SidebarInput,SidebarInset,SidebarLeft,SidebarMenu,SidebarMenuAction,SidebarMenuBadge,SidebarMenuButton,SidebarMenuItem,SidebarMenuSkeleton,SidebarMenuSub,SidebarMenuSubButton,SidebarMenuSubItem,SidebarProvider,SidebarRail,SidebarRight,SidebarSeparator,SidebarTrigger,SimpleHeader,Skeleton,SlideShow,TextAndImages,Textarea,Theme,ThemeProvider,Toast,ToastAction,ToastClose,ToastDescription,ToastProvider,ToastTitle,ToastViewport,Toaster,Toggle,ToggleGroup,ToggleGroupItem,Tooltip,TooltipContent,TooltipProvider,TooltipTrigger,VideoHeader,WhyUs,badgeVariants,buttonVariants,cn,getTableOfContents,reducer,toast,toggleVariants,useIsMobile,useSidebar,useToast});
|
|
26
|
+
`,className:l("pointer-events-none object-cover [transition:all_500ms_ease]","group-hover/blog:opacity-0 group-hover/blog:[filter:blur(10px)] group-hover/blog:[transform:translatex(-50%)_scalex(2)]")}),(0,Rt.jsxs)("div",{className:"relative Rt-10 flex h-full flex-1 w-full flex-col",children:[r&&(0,Rt.jsx)("div",{children:(0,Rt.jsx)("div",{className:"inline-grid w-full items-center justify-center rounded-5 bg-background/40 px-4 py-3 text-center font-secondary text-Ml font-bold text-foreground transition-colors group-hover/blog:bg-accent group-hover/blog:text-accent-foreground Ml:text-lg",children:(0,Rt.jsx)("time",{dateTime:r,className:"text-foreground",children:(0,Rt.jsx)("span",{className:"block",children:hs(r)})})})}),(0,Rt.jsxs)("div",{className:"mt-auto space-y-2 text-white Ml:space-y-5",children:[(0,Rt.jsx)("div",{className:"inline-flex flex-wrap items-center gap-Rt-5 gap-y-2",children:(0,Rt.jsx)("p",{className:mm})}),(0,Rt.jsx)("h3",{className:"text-Ml font-bold w-full p-6 bg-background/60 leading-[1.25] text-foreground Ml:text-lg",children:(0,Rt.jsx)(Ge,{"aria-label":o,href:`/${n}/${e}`||"#",className:"transition-colors duration-300 hover:text-primary",children:o})}),(0,Rt.jsx)("div",{children:(0,Rt.jsxs)(Ge,{href:`/${n}/${e}`||"#",className:l(mm,"gap-[.625rem] font-secondary border bg-background/80 border-accent px-4 py-2 mx-6 my-3 text-base font-bold uppercase leading-[2] tracking-wide text-foreground transition-colors duration-300 hover:text-accent-foreground"),children:[(0,Rt.jsx)("span",{children:"Read More"}),(0,Rt.jsx)("span",{className:"text-accent",children:(0,Rt.jsx)(ps.FaArrowRight,{})})]})})]})]})]})}var fm=h(require("next/image"));function _u({image:e,title:t,content:a,link:o,theme:r}){return console.log("ServiceDetailSectionProps",e,t,a,o,r),(0,Rt.jsxs)("section",{className:"container relative",children:[(0,Rt.jsx)("div",{className:l("absolute mt-[50%] w-full h-full",r==="dark"?"bg-white":"bg-black")}),(0,Rt.jsx)("div",{className:l("flex flex-col Ml:flex-row items-center justify-between gap-12 px-6 Ml:px-16 py-16 bg-background",r,r==="dark"&&"bg-black clip-custom-top-r"),children:(0,Rt.jsxs)("div",{className:"w-full flex flex-row items-center justify-center",children:[(0,Rt.jsxs)("div",{className:l("w-full Ml:w-1/2 max-w-lg text-left",r==="dark"&&"mt-48"),children:[(0,Rt.jsx)("h2",{className:"text-3xl Ml:text-5xl text-primary",children:t}),(0,Rt.jsx)("p",{className:"mt-4 text-gray-700 text-lg",children:a&&(0,Rt.jsx)(te,{enableGutter:!1,content:a,enableProse:!1,className:l("prose prose-headings:text-gray-700 prose-p:text-gray-700")})}),(0,Rt.jsx)("button",{className:"mt-6 px-6 py-3 border border-1 border-accent text-foreground rounded-full text-base hover:bg-accent hover:text-white transition",children:(0,Rt.jsx)("a",{href:o.url||"#",children:o.label||"Learn more"})})]}),(0,Rt.jsx)("div",{className:"w-full Ml:w-1/2 flex justify-center",children:e&&e.url&&(0,Rt.jsx)(fm.default,{src:e.url,alt:e.alt||`Image of ${t}`,width:400,height:400,className:"max-w-full"})})]})})]})}var ju=h(require("next/image"));var Gu=({children:e,theme:t})=>{if(t==="first")return(0,Rt.jsx)("section",{id:"next-section",className:"",children:(0,Rt.jsx)("div",{className:"sticky top-0 light bg-background pt-6 min-h-[80vh]",children:(0,Rt.jsxs)("div",{className:"relative",children:[(0,Rt.jsx)("div",{className:"flex items-center justify-center pt-12",children:e}),(0,Rt.jsx)(Na,{className:"text-black Rt-10",position:"bottom-right"})]})})});if(t==="light")return(0,Rt.jsx)("section",{id:"next-section",className:"",children:(0,Rt.jsxs)("div",{className:"sticky top-0 light bg-background pt-6 min-h-[80vh]",children:[(0,Rt.jsx)("div",{className:"flex items-center justify-center pt-12",children:e}),(0,Rt.jsx)(Na,{className:"text-black Rt-10",position:"bottom-right"})]})});if(t==="dark")return(0,Rt.jsx)("section",{id:"next-section",className:"",children:(0,Rt.jsxs)("div",{className:"sticky top-0 dark min-h-[80vh] bg-white",children:[(0,Rt.jsx)("div",{className:"flex items-center justify-center pt-12 bg-black",children:e}),(0,Rt.jsx)(Na,{className:"text-accent Rt-10",position:"top"})]})})};var bm=h(require("html2canvas")),Xn=require("jspdf");function $u({type:e="slideshow",orientation:t="landscape",...a}){let o=a.page,[r,s]=(0,il.useState)(t);console.log("args",a);let{contentWithIds:n,tableOfContents:i}=Do(o);if(e==="slideshow")return(0,Rt.jsx)("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:(0,Rt.jsx)(bs,{blocks:n,hero:a.hero,title:a.page.title,logoImage:a.logoImage})});if(e==="print")return(0,Rt.jsxs)(Rt.Fragment,{children:[(0,Rt.jsx)(Vu,{layout:r,changeLayout:s}),(0,Rt.jsx)(bn,{page:a.page,layout:r,logoImage:a.logoImage})]})}var Vu=({changeLayout:e,layout:t="landscape"})=>{let a=async()=>{var n;if(t==="flow"){console.log("printing");let i=(n=document.getElementById("printable-content"))==null?void 0:n.innerHTML;if(i){var s=window.document.body.innerHTML;window.document.body.innerHTML=i,window.print(),window.document.body.innerHTML=s}}else await new Promise(i=>setTimeout(i,300)),window.print()},o=s=>{e&&e(s)},r=async s=>{console.log("elementToPrintId",s);let n=document.getElementById(s);if(!n)throw new Error(`Element with id ${s} not found`);let i=document.createElement("canvas"),c=window.devicePixelRatio;i.width=Math.max(n.clientWidth||0)*c,i.height=Math.max(n.clientHeight||0)*c+100;let m=i.getContext("2d");if(!m)throw new Error("Failed to get 2D context");let d=m.drawImage,p=Array.from(n.getElementsByTagName("img")).reduce((G,C)=>(G[C.src]=C,G),{});m.drawImage=function(...G){let[C,I,S,b,N,w,ye,xe,je]=G;if(C instanceof HTMLImageElement){let lt=p[C.src].style.objectFit||"fill",St=p[C.src].style.objectPosition||"center center";N=C.height,b=C.width;let vt=b/N,dt=xe/je,[ct,le]=St.split(" ");switch(le||(le=ct),lt){case"cover":if(vt>dt){let se=N*dt,ce=(b-se)/2;ct==="left"&&(ce=0),ct==="right"&&(ce=b-se),I+=ce,b=se}else{let se=b/dt,ce=(N-se)/2;le==="top"&&(ce=0),le==="bottom"&&(ce=N-se),S+=ce,N=se}break;case"contain":if(vt>dt){let se=xe/vt,ce=(je-se)/2;le==="top"&&(ce=0),le==="bottom"&&(ce=je-se),ye+=ce,je=se}else{let se=je*vt,ce=(xe-se)/2;ct==="left"&&(ce=0),ct==="right"&&(ce=xe-se),w+=ce,xe=se}break;case"fill":break}}return d.call(m,C,I,S,b,N,w,ye,xe,je)};let u=document.getElementById(s);if(!u)throw new Error(`Element with id ${s} not found`);var g=i.width,v=i.height;let y=(await(0,bm.default)(u,{canvas:i,windowHeight:v,windowWidth:g,scale:window.devicePixelRatio})).toDataURL("image/png"),D=new Xn.jsPDF({}).getImageProperties(y),E=297,B=E*(D.height/D.width),de=new Xn.jsPDF({unit:"mm",format:[E,B]});de.addImage(y,"PNG",0,0,E,B),de.save("print.pdf")};return(0,Rt.jsx)("div",{className:l("fixed right-2 Rt-20 top-20 space-y-6 print:hidden"),children:(0,Rt.jsx)("div",{className:"flex flex-row-reverse Rt-20 min-w-70 gap-4",children:(0,Rt.jsxs)("nav",{className:"Rt-20 flex grow-0 justify-end gap-4 border-t border-gray-200 bg-white/50 p-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-h-[auto] min-w-[54px] flex-col rounded-lg border",children:[(0,Rt.jsxs)("a",{onClick:a,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-Ml p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,Rt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",children:(0,Rt.jsx)("path",{d:"M96 160l-32 0 0-96C64 28.7 92.7 0 128 0L357.5 0c17 0 33.3 6.7 45.3 18.7l26.5 26.5c12 12 18.7 28.3 18.7 45.3l0 69.5-32 0 0-69.5c0-8.5-3.4-16.6-9.4-22.6L380.1 41.4c-6-6-14.1-9.4-22.6-9.4L128 32c-17.7 0-32 14.3-32 32l0 96zm352 64L64 224c-17.7 0-32 14.3-32 32l0 128 32 0 0-32c0-17.7 14.3-32 32-32l320 0c17.7 0 32 14.3 32 32l0 32 32 0 0-128c0-17.7-14.3-32-32-32zm0 192l0 64c0 17.7-14.3 32-32 32L96 512c-17.7 0-32-14.3-32-32l0-64-32 0c-17.7 0-32-14.3-32-32L0 256c0-35.3 28.7-64 64-64l384 0c35.3 0 64 28.7 64 64l0 128c0 17.7-14.3 32-32 32l-32 0zM96 352l0 128 320 0 0-128L96 352zM432 248a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"})}),(0,Rt.jsx)("small",{className:"text-xs font-medium",children:"Print"})]}),(0,Rt.jsx)("div",{className:"flex-grow border-t border-gray-200 dark:border-slate-600/60"}),(0,Rt.jsxs)("a",{onClick:()=>o("portrait"),className:l("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-Ml p-1.5 hover:text-accent",t==="portrait"?"text-accent":"hover:text-accent"),children:[(0,Rt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",fill:"currentColor",children:(0,Rt.jsx)("path",{d:"M352 448c0 17.7-14.3 32-32 32L64 480c-17.7 0-32-14.3-32-32L32 64c0-17.7 14.3-32 32-32l256 0c17.7 0 32 14.3 32 32l0 384zM384 64c0-35.3-28.7-64-64-64L64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-384z"})}),(0,Rt.jsx)("small",{className:"text-xs",children:"Portrait"})]}),(0,Rt.jsxs)("a",{onClick:()=>o("landscape"),className:l("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-Ml p-1.5 hover:text-accent",t==="landscape"?"text-accent":"hover:text-accent"),children:[(0,Rt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512",fill:"currentColor",children:(0,Rt.jsx)("path",{d:"M576 96c17.7 0 32 14.3 32 32l0 256c0 17.7-14.3 32-32 32L64 416c-17.7 0-32-14.3-32-32l0-256c0-17.7 14.3-32 32-32l512 0zM64 64C28.7 64 0 92.7 0 128L0 384c0 35.3 28.7 64 64 64l512 0c35.3 0 64-28.7 64-64l0-256c0-35.3-28.7-64-64-64L64 64z"})}),(0,Rt.jsx)("small",{className:"text-xs",children:"Landscape"})]}),(0,Rt.jsxs)("a",{onClick:()=>o("flow"),className:l("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-Ml p-1.5 hover:text-accent",t==="flow"?"text-accent":"hover:text-accent"),children:[(0,Rt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:(0,Rt.jsx)("path",{d:"M266.2 4.7C273 1.6 280.5 0 288 0s15 1.6 21.8 4.7l217.4 97.5c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 251.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 153.9C38.6 149.3 32 139.2 32 128s6.6-21.3 16.8-25.9L266.2 4.7zM288 32c-3 0-6 .6-8.8 1.9L69.3 128l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-210-94.1C294 32.6 291 32 288 32zM48.8 358.1l45.9-20.6 39.1 17.5L69.3 384l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-64.5-28.9 39.1-17.5 45.9 20.6c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 507.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 409.9C38.6 405.3 32 395.2 32 384s6.6-21.3 16.8-25.9zM94.7 209.5l39.1 17.5L69.3 256l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-64.5-28.9 39.1-17.5 45.9 20.6c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 379.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 281.9C38.6 277.3 32 267.2 32 256s6.6-21.3 16.8-25.9l45.9-20.6z"})}),(0,Rt.jsx)("small",{className:"text-xs",children:"Continuous"})]})]})})})};0&&(module.exports={AOSInit,AboutSection,Alert,AlertDescription,AlertTitle,ApproveLeave,Avatar,AvatarFallback,AvatarImage,Badge,BannerBlock,BlogCard,BlogDetail,BlogList,BlogListSection,BrandLogo,Breadcrumb,BreadcrumbEllipsis,BreadcrumbItem,BreadcrumbLink,BreadcrumbList,BreadcrumbPage,BreadcrumbSeparator,Breadcrumbs,Button,CMSLink,CRMKanbanBoard,Calendar,CalendarView,CallToActionBlock,Card,Categories,Checkbox,CodeBlock,Collapsible,CollapsibleContent,CollapsibleTrigger,CollectionArchive,Command,CommandDialog,CommandEmpty,CommandGroup,CommandInput,CommandItem,CommandList,CommandSeparator,CommandShortcut,ContactSection,Container,ContentBlock,ContentCard,CopyButton,CustomLink,CustomerCard,DealCard,DealDetails,Dialog,DialogClose,DialogContent,DialogDescription,DialogFooter,DialogHeader,DialogOverlay,DialogPortal,DialogTitle,DialogTrigger,DropdownMenu,DropdownMenuCheckboxItem,DropdownMenuContent,DropdownMenuGroup,DropdownMenuItem,DropdownMenuLabel,DropdownMenuPortal,DropdownMenuRadioGroup,DropdownMenuRadioItem,DropdownMenuSeparator,DropdownMenuShortcut,DropdownMenuSub,DropdownMenuSubContent,DropdownMenuSubTrigger,DropdownMenuTrigger,DynamicIcon,EventCard,FeatureCard,FeatureGrid,FeaturesBlock,Filter,FlowPrintable,Footer,Header,HeaderDesktop,HeaderMobile,HeadingImage,Hero,HighImpactHero,HolidayGrid,HolidayTracker,HoverCard,HoverCardContent,HoverCardTrigger,Image,ImageBlock,ImageSection,InfoTile,Input,Insight,KanbanColumn,Label,Logo,LowImpactHero,MOTD,MainPageSection,Mask,Media,MediaBlock,MediumImpactHero,NewCustomerForm,NewDealForm,NewsGrid,OrgChart,PagePrintable,PageRange,PageShape,Pagination,PayloadPagination,Popover,PopoverAnchor,PopoverContent,PopoverTrigger,PostHero,PricingCard,PricingSection,Printable,ProjectCard,ProjectTeam,ProposalSummary,Publish,RelatedContent,RelatedPosts,RenderBlocks,RenderHero,RequestLeave,ReusableContentBlock,RichText,ScrollArea,ScrollBar,Section,SectionHero,Select,SelectContent,SelectGroup,SelectItem,SelectLabel,SelectScrollDownButton,SelectScrollUpButton,SelectSeparator,SelectTrigger,SelectValue,Separator,ServiceCard,ServiceDetailSection,ServiceSection,Sheet,SheetClose,SheetContent,SheetDescription,SheetFooter,SheetHeader,SheetOverlay,SheetPortal,SheetTitle,SheetTrigger,Sidebar,SidebarContent,SidebarFooter,SidebarGroup,SidebarGroupAction,SidebarGroupContent,SidebarGroupLabel,SidebarHeader,SidebarInput,SidebarInset,SidebarLeft,SidebarMenu,SidebarMenuAction,SidebarMenuBadge,SidebarMenuButton,SidebarMenuItem,SidebarMenuSkeleton,SidebarMenuSub,SidebarMenuSubButton,SidebarMenuSubItem,SidebarProvider,SidebarRail,SidebarRight,SidebarSeparator,SidebarTrigger,SimpleHeader,Skeleton,SlideShow,TextAndImages,Textarea,Theme,ThemeProvider,Toast,ToastAction,ToastClose,ToastDescription,ToastProvider,ToastTitle,ToastViewport,Toaster,Toggle,ToggleGroup,ToggleGroupItem,Tooltip,TooltipContent,TooltipProvider,TooltipTrigger,VideoHeader,WhyUs,badgeVariants,buttonVariants,cn,getTableOfContents,reducer,toast,toggleVariants,useIsMobile,useSidebar,useToast});
|