cortex-react-components 1.51.3 → 1.51.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-2A6JF3LE.mjs +1 -0
- package/dist/{chunk-WRX5GLJV.mjs → chunk-3AA3AMNV.mjs} +1 -1
- package/dist/chunk-4QEWBUVW.mjs +2 -0
- package/dist/{chunk-IBV34MLI.mjs → chunk-4YJ3HV64.mjs} +1 -1
- package/dist/{chunk-6DLX67SZ.mjs → chunk-6MY4ZWHR.mjs} +1 -1
- package/dist/{chunk-PCCBWQD7.mjs → chunk-6NMCAPQL.mjs} +1 -1
- package/dist/chunk-ANBHH4VA.mjs +4 -0
- package/dist/{chunk-EZ3I4MMX.mjs → chunk-F4V6VUT7.mjs} +1 -1
- package/dist/{chunk-PPWX73XF.mjs → chunk-FBEB6K6X.mjs} +1 -1
- package/dist/{chunk-ICTOXY7D.mjs → chunk-FCCL6W7R.mjs} +1 -1
- package/dist/{chunk-XXPOYQ7J.mjs → chunk-FIBF6KMI.mjs} +1 -1
- package/dist/{chunk-5WS3LL7J.mjs → chunk-FW4TOABU.mjs} +1 -1
- package/dist/{chunk-LEO3X5GA.mjs → chunk-HJX2VPMY.mjs} +1 -1
- package/dist/{chunk-P5KTTDP2.mjs → chunk-HPMMYTRI.mjs} +1 -1
- package/dist/{chunk-PT5NTB4Y.mjs → chunk-IJXFDLYU.mjs} +1 -1
- package/dist/{chunk-FEBBHXAP.mjs → chunk-KZR5SK2K.mjs} +1 -1
- package/dist/{chunk-4Y4IPE52.mjs → chunk-L7YJN6PG.mjs} +1 -1
- package/dist/{chunk-423OEU3K.mjs → chunk-MGS3DQ22.mjs} +1 -1
- package/dist/{chunk-YPDFTCBL.mjs → chunk-MNLXTN7B.mjs} +1 -1
- package/dist/chunk-P2XZI7A4.mjs +6 -0
- package/dist/chunk-QHA556PO.mjs +5 -0
- package/dist/{chunk-X6UKMJDE.mjs → chunk-R2WQNVEX.mjs} +1 -1
- package/dist/{chunk-22FHCZJD.mjs → chunk-SPOYKTBR.mjs} +1 -1
- package/dist/{chunk-HFU6TQLF.mjs → chunk-SQAWSBOK.mjs} +1 -1
- package/dist/{chunk-HPIXBZWF.mjs → chunk-TVSMN2BG.mjs} +1 -1
- package/dist/{chunk-MTMQVLB3.mjs → chunk-UMILL4LR.mjs} +1 -1
- package/dist/{chunk-YNDKGRL6.mjs → chunk-WLBZXBU3.mjs} +1 -1
- package/dist/{chunk-LLGYRD34.mjs → chunk-WMMLX5GC.mjs} +1 -1
- package/dist/{chunk-BXLP27FT.mjs → chunk-XGNF75KY.mjs} +1 -1
- package/dist/{chunk-EVKYY4AE.mjs → chunk-XYRN4ZV2.mjs} +1 -1
- package/dist/{chunk-7OUNEQNT.mjs → chunk-YRJ7YWPV.mjs} +1 -1
- package/dist/{chunk-MANZDSTF.mjs → chunk-ZIWHUQ4D.mjs} +1 -1
- package/dist/components/Blocks/Banner.js +1 -1
- package/dist/components/Blocks/Banner.mjs +1 -1
- package/dist/components/Blocks/CallToAction.js +1 -1
- package/dist/components/Blocks/CallToAction.mjs +1 -1
- package/dist/components/Blocks/CallToAction.stories.js +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.js +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/Content.stories.js +1 -1
- package/dist/components/Blocks/Content.stories.mjs +1 -1
- package/dist/components/Blocks/CopyButton.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.js +1 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.js +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
- package/dist/components/Blocks/ImageBlock.js +1 -1
- package/dist/components/Blocks/ImageBlock.mjs +1 -1
- package/dist/components/Blocks/MediaBlock.js +1 -1
- package/dist/components/Blocks/MediaBlock.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.js +1 -1
- package/dist/components/Blocks/RelatedPosts.mjs +1 -1
- package/dist/components/Blocks/RenderBlocks.js +1 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/ReusableContentBlock.js +1 -1
- package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
- package/dist/components/Blocks/index.js +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.js +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/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.mjs +1 -1
- package/dist/components/Cards/ServiceCard.stories.mjs +1 -1
- package/dist/components/Cards/index.js +2 -2
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +1 -1
- package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
- package/dist/components/DigitalColleagues/MainPage.stories.mjs +1 -1
- package/dist/components/HeaderFooter/Footer.mjs +1 -1
- package/dist/components/HeaderFooter/Footer.stories.mjs +1 -1
- package/dist/components/HeaderFooter/Header.mjs +1 -1
- package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.stories.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderMenu.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderMenu.stories.mjs +1 -1
- package/dist/components/HeaderFooter/SectionHeading.js +1 -1
- package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
- package/dist/components/HeaderFooter/SimpleHeader.mjs +1 -1
- package/dist/components/HeaderFooter/SimpleHeader.stories.mjs +1 -1
- package/dist/components/HeaderFooter/VideoHeader.mjs +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.js +1 -1
- package/dist/components/Heros/LowImpact/index.mjs +1 -1
- package/dist/components/Heros/MediumImpact/index.js +1 -1
- package/dist/components/Heros/MediumImpact/index.mjs +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/BlogList.js +2 -2
- package/dist/components/Layouts/BlogList.mjs +1 -1
- package/dist/components/Layouts/BlogList.stories.js +2 -2
- package/dist/components/Layouts/BlogList.stories.mjs +1 -1
- package/dist/components/Layouts/OutputHeaderFooter.js +2 -2
- package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
- package/dist/components/Layouts/Print.js +2 -2
- package/dist/components/Layouts/Print.mjs +1 -1
- package/dist/components/Layouts/Print.stories.js +1 -1
- package/dist/components/Layouts/Print.stories.mjs +1 -1
- package/dist/components/Layouts/SlideShow.js +4 -8
- package/dist/components/Layouts/SlideShow.mjs +1 -1
- package/dist/components/Layouts/SlideShow.stories.js +4 -8
- package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
- package/dist/components/Layouts/index.js +7 -11
- 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/index.mjs +1 -1
- package/dist/components/Payload/Card/index.js +1 -1
- package/dist/components/Payload/Card/index.mjs +1 -1
- package/dist/components/Payload/CollectionArchive/index.js +1 -1
- package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
- package/dist/components/Payload/Link/index.mjs +1 -1
- package/dist/components/Payload/Media/ImageMedia/index.js +1 -1
- package/dist/components/Payload/Media/ImageMedia/index.mjs +1 -1
- package/dist/components/Payload/Media/index.js +1 -1
- package/dist/components/Payload/Media/index.mjs +1 -1
- package/dist/components/Payload/Pagination/index.mjs +1 -1
- package/dist/components/Payload/RichText/index.js +1 -1
- package/dist/components/Payload/RichText/index.mjs +1 -1
- package/dist/components/Payload/RichText/serialize.js +1 -1
- package/dist/components/Payload/RichText/serialize.mjs +1 -1
- package/dist/components/Payload/RichText.stories.js +1 -1
- package/dist/components/Payload/RichText.stories.mjs +1 -1
- package/dist/components/Payload/index.js +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/index.js +10 -14
- 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/globals.css +1 -1
- package/dist/images/hero/hero-3.mjs +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +12 -11
- 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.mjs +1 -1
- package/dist/pages/Documentation.stories.mjs +1 -1
- package/dist/pages/IndexPage.mjs +1 -1
- package/dist/pages/IndexPage.stories.mjs +1 -1
- package/dist/pages/Intranet.mjs +1 -1
- package/dist/pages/Intranet.stories.mjs +1 -1
- package/dist/pages/LandingPage.mjs +1 -1
- 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 +1 -1
- package/dist/pages/Page.stories.mjs +1 -1
- package/dist/pages/Printable.stories.js +6 -9
- package/dist/pages/Printable.stories.mjs +1 -1
- package/dist/pages/Publish.d.ts +1 -1
- package/dist/pages/Publish.js +6 -9
- package/dist/pages/Publish.mjs +2 -1
- package/dist/pages/Publish.stories.js +6 -9
- 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/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.js +1 -1
- package/dist/sections/BlogDetail.mjs +1 -1
- package/dist/sections/BlogDetail.stories.js +1 -1
- package/dist/sections/BlogDetail.stories.mjs +1 -1
- package/dist/sections/BlogListSection.mjs +1 -1
- package/dist/sections/BlogListSection.stories.mjs +1 -1
- package/dist/sections/ContactSection.js +1 -1
- package/dist/sections/ContactSection.mjs +1 -1
- package/dist/sections/ContactSection.stories.js +1 -1
- package/dist/sections/ContactSection.stories.mjs +1 -1
- package/dist/sections/ImageSection.mjs +1 -1
- package/dist/sections/ImageSection.stories.js +1 -1
- package/dist/sections/ImageSection.stories.mjs +1 -1
- package/dist/sections/MainPageSection.mjs +1 -1
- package/dist/sections/PricingSection.js +1 -1
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/PricingSection.stories.js +1 -1
- package/dist/sections/PricingSection.stories.mjs +1 -1
- package/dist/sections/ServiceSection.mjs +1 -1
- package/dist/sections/ServiceSection.stories.mjs +1 -1
- package/dist/sections/form/index.mjs +1 -1
- package/dist/sections/index.js +1 -1
- package/dist/sections/index.mjs +1 -1
- package/dist/styles/Colors.mjs +1 -1
- package/dist/styles/Colors.stories.mjs +1 -1
- package/dist/utils/AOSInit.mjs +1 -1
- package/dist/utils/index.mjs +1 -1
- package/package.json +2 -1
- package/dist/chunk-2JGEXP2O.mjs +0 -2
- package/dist/chunk-ALTFHQW6.mjs +0 -1
- package/dist/chunk-DSUL2K64.mjs +0 -6
- package/dist/chunk-FR7LDOVB.mjs +0 -1
- package/dist/chunk-ODHS7GXR.mjs +0 -5
- package/dist/chunk-X6QN5C6U.mjs +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-FCCL6W7R.mjs";import{a as e}from"./chunk-NIQ4466A.mjs";import{jsx as r}from"react/jsx-runtime";var d=o=>{let{className:t,enableGutter:s=!0,imgClassName:m,media:i,staticImage:l}=o;return r("div",{className:e("h-full ",{container:s},t),children:r(a,{imgClassName:e("rounded-[0.8rem]",m),className:"flex justify-center",resource:i,src:l})})};export{d as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as f}from"./chunk-
|
|
1
|
+
import{a as f}from"./chunk-FBEB6K6X.mjs";import{b as u,c as y}from"./chunk-L7YJN6PG.mjs";import{a as c}from"./chunk-2A6JF3LE.mjs";import{a as p}from"./chunk-NIQ4466A.mjs";import{Fragment as g,jsx as t}from"react/jsx-runtime";var F=s=>{let{customId:o,reusableContent:r}=s;return typeof r=="object"&&r!==null?t(C,{blocks:r.layout}):t(g,{})},k={content:f,cta:u,mediaBlock:c,imageBlock:c,features:y},C=s=>{let{blocks:o}=s;return o&&Array.isArray(o)&&o.length>0?t("section",{id:"render-blocks",children:o.map((n,d)=>{var l,i;let{blockType:a}=n,e=n==null?void 0:n.theme;if(a&&a in k){let m=k[a];if(m)return t("div",{className:"py-6 relative",children:t("div",{className:p(((l=e==null?void 0:e.settings)==null?void 0:l.theme)==="dark"?"dark":((i=e==null?void 0:e.settings)==null?void 0:i.theme)==="green"?"green":""),children:t(m,{...n})})},d)}return null})}):null};export{F as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{e as l}from"./chunk-L7YJN6PG.mjs";import{a}from"./chunk-WU3JMLSC.mjs";import c from"next/image";import{jsx as e,jsxs as i}from"react/jsx-runtime";var h=()=>i("footer",{className:`absolute bottom-0 left-0 w-full py-2 px-8 flex justify-between items-center transition-colors duration-300
|
|
2
|
+
dark bg-background text-primary`,children:[i("div",{className:"flex px-6 items-center space-x-2",children:[e("img",{src:a.src,alt:"Cortex Reply Logo",className:"h-8"}),e("span",{className:"pl-12 text-sm",children:"Power up your people"})]}),e("a",{href:"https://cortexreply.com",className:"text-sm hover:underline",children:"cortexreply.com"})]}),x=({title:s})=>e("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:e("div",{className:"container",children:e("span",{className:"container text-4xl px-6",children:s})})}),f=s=>{var o,r;let{title:d,hero:t}=s;return i("div",{className:"relative w-full h-full flex flex-col justify-center min-h-[500px] p-10",children:[e("div",{className:"absolute inset-0",children:e(c,{src:t.media&&t.media.url?t.media.url:"/hero.png",alt:"Background",width:t.media&&t.media.width&&(o=t.media.width)!=null?o:1920,height:t.media&&t.media.height&&(r=t.media.height)!=null?r:1080,style:{objectFit:"cover"},className:"opacity-80 h-full dark:opacity-60"})}),e("div",{className:"absolute left-16 z-50 top-4 flex flex-col items-start gap-4",children:a&&e("div",{className:"h-24",children:e(c,{src:a,alt:"Company logo",className:"h-full w-full object-contain",width:192,height:96})})}),e("div",{className:"absolute inset-0 bg-black/30 dark:bg-black/50"}),i("div",{className:"relative pl-24 z-10 max-w-3xl",children:[e("p",{className:"text-lg font-medium pt-48 text-accent mb-2",children:d}),t.richText&&e(l,{content:t.richText,enableGutter:!1,className:"prose-headings:text-white prose-p:text-white"})]})]})};export{h as a,x as b,f as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e}from"./chunk-
|
|
1
|
+
import{a as e}from"./chunk-FCCL6W7R.mjs";import{a}from"./chunk-NIQ4466A.mjs";import{jsx as o}from"react/jsx-runtime";var g=r=>{let{className:t,enableGutter:m=!0,imgClassName:s,media:i,staticImage:n}=r;return o("div",{className:a("",{container:m},t),children:o(e,{imgClassName:a("rounded-[0.8rem]",s),resource:i,src:n})})};export{g as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as r}from"./chunk-SV7NMNDI.mjs";import{a as e}from"./chunk-
|
|
1
|
+
import{a as r}from"./chunk-SV7NMNDI.mjs";import{a as e}from"./chunk-MNLXTN7B.mjs";import{a as o}from"./chunk-M6M43TLT.mjs";import{a as n}from"./chunk-UESKYRNK.mjs";import{jsx as i,jsxs as c}from"react/jsx-runtime";function S({sectionHeading:p,cards:a}){return i("section",{className:"section-padding-primary !pt-0",children:c(n,{children:[i("div",{className:"mx-auto max-w-[630px]","data-aos":"fade-up","data-aos-delay":"100",children:i(e,{...p,alignment:"center",hasBottomSpacing:!0})}),a&&a.length>0&&i("div",{className:"grid gap-30px",children:a.map((d,t)=>i("div",{"data-aos":"fade-up","data-aos-delay":r([200,400,600],t),className:"py-2",children:i(o,{...d})},t))})]})})}export{S as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as m}from"./chunk-
|
|
1
|
+
import{a as m}from"./chunk-UMILL4LR.mjs";import{a as r}from"./chunk-KML6U7IE.mjs";import{a as l}from"./chunk-MNLXTN7B.mjs";import{a as n}from"./chunk-UESKYRNK.mjs";import v from"next/image";import{FaEnvelope as x,FaPhoneFlip as h}from"react-icons/fa6";import{Fragment as N,jsx as e,jsxs as t}from"react/jsx-runtime";function H(s){let{sectionHeading:d,image:a}=s;return t(N,{children:[e("section",{className:"section-padding-primary",children:e("div",{className:"",children:e("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:e("div",{className:"mx-auto max-w-2xl space-y-16 divide-y divide-gray-100 lg:mx-0 lg:max-w-none",children:t("div",{className:"grid grid-cols-1 gap-10 pt-16 lg:grid-cols-3",children:[t("div",{children:[e("h2",{className:"text-pretty text-4xl font-semibold tracking-tight text-accent",children:"Locations"}),e("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."})]}),e("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2 lg:col-span-2 lg:gap-8",children:s.locations&&s.locations.map((i,c)=>{var o;return t("div",{className:"rounded-2xl p-10 border",children:[e("h3",{className:"text-base/7 font-semibold text-accent",children:i.title}),t("address",{className:"mt-3 space-y-1 text-sm/6 not-italic text-foreground",children:[(o=i.location.split(","))==null?void 0:o.map((p,g)=>e("p",{children:p},g))," ",i.mails&&t("p",{className:"flex items-center space-x-2",children:[e(x,{className:"pr-2 text-accent size-auto"}),e("span",{children:i.mails[0]})]}),i.phoneNumbers&&i.phoneNumbers.length>0&&t("p",{className:"flex items-center space-x-2",children:[e(h,{className:"pr-2 text-accent size-auto"}),i.phoneNumbers[0]]})]})]},c)})})]})})})})}),e("section",{className:"section-padding-primary",children:t("div",{className:"relative py-[60px]",children:[e("div",{className:"absolute left-0 top-0 z-1 h-full w-full overflow-hidden bg-red-500 md:w-[56%] md:rounded-r-5",children:e(v,{src:a.src,alt:a.alt,fill:!0,className:"object-cover",sizes:"(min-width: 768px) 60vw, 100vw",placeholder:"blur",blurDataURL:r})}),e(n,{children:e("div",{className:"ml-auto md:w-1/2",children:t("div",{className:"relative z-[2] rounded-5 bg-white p-10 shadow-1 dark:bg-accent-700 lg:p-[60px]",children:[e("div",{className:"mb-30px",children:e(l,{...d,invert:!0})}),e(m,{})]})})})]})})]})}export{H as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as W}from"./chunk-QHA556PO.mjs";import{a as F}from"./chunk-P2XZI7A4.mjs";import{a as v}from"./chunk-NIQ4466A.mjs";import{a as R}from"./chunk-C5XNOZXC.mjs";import{useState as A}from"react";import G from"html2canvas";import{jsPDF as q}from"jspdf";import{Fragment as J,jsx as e,jsxs as p}from"react/jsx-runtime";function ae({type:g="slideshow",orientation:r="landscape",...n}){let h=n.page,[u,a]=A(r);console.log("args",n);let{contentWithIds:d,tableOfContents:c}=R(h);if(g==="slideshow")return e("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:e(F,{blocks:d,hero:n.hero,title:n.page.title})});if(g==="print")return p(J,{children:[e(U,{layout:u,changeLayout:a}),e(W,{page:n.page,layout:u})]})}var U=({changeLayout:g,layout:r="landscape"})=>{let n=async()=>{r==="flow"?u("printable-content"):(await new Promise(a=>setTimeout(a,300)),window.print())},h=a=>{g&&g(a)},u=async a=>{console.log("elementToPrintId",a);let d=document.getElementById(a);if(!d)throw new Error(`Element with id ${a} not found`);let c=document.createElement("canvas"),z=window.devicePixelRatio;c.width=Math.max(d.clientWidth||0)*z,c.height=Math.max(d.clientHeight||0)*z+100;let L=c.getContext("2d");if(!L)throw new Error("Failed to get 2D context");let O=L.drawImage,k=Array.from(d.getElementsByTagName("img")).reduce((y,s)=>(y[s.src]=s,y),{});L.drawImage=function(...y){let[s,S,B,l,i,D,H,m,f]=y;if(s instanceof HTMLImageElement){let Y=k[s.src].style.objectFit||"fill",$=k[s.src].style.objectPosition||"center center";i=s.height,l=s.width;let b=l/i,C=m/f,[x,w]=$.split(" ");switch(w||(w=x),Y){case"cover":if(b>C){let t=i*C,o=(l-t)/2;x==="left"&&(o=0),x==="right"&&(o=l-t),S+=o,l=t}else{let t=l/C,o=(i-t)/2;w==="top"&&(o=0),w==="bottom"&&(o=i-t),B+=o,i=t}break;case"contain":if(b>C){let t=m/b,o=(f-t)/2;w==="top"&&(o=0),w==="bottom"&&(o=f-t),H+=o,f=t}else{let t=f*b,o=(m-t)/2;x==="left"&&(o=0),x==="right"&&(o=m-t),D+=o,m=t}break;case"fill":break}}return O.call(L,s,S,B,l,i,D,H,m,f)};let M=document.getElementById(a);if(!M)throw new Error(`Element with id ${a} not found`);var T=c.width,X=c.height;let N=(await G(M,{canvas:c,windowHeight:X,windowWidth:T,scale:window.devicePixelRatio})).toDataURL("image/png"),E=new q({}).getImageProperties(N),P=297,j=P*(E.height/E.width),I=new q({unit:"mm",format:[P,j]});I.addImage(N,"PNG",0,0,P,j),I.save("print.pdf")};return e("div",{className:v("fixed right-2 z-20 top-20 space-y-6 print:hidden"),children:e("div",{className:"flex flex-row-reverse z-20 min-w-70 gap-4",children:p("nav",{className:"z-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:[p("a",{onClick:n,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:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",children:e("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"})}),e("small",{className:"text-xs font-medium",children:"Print"})]}),e("div",{className:"flex-grow border-t border-gray-200 dark:border-slate-600/60"}),p("a",{onClick:()=>h("portrait"),className:v("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",r==="portrait"?"text-accent":"hover:text-accent"),children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",fill:"currentColor",children:e("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"})}),e("small",{className:"text-xs",children:"Portrait"})]}),p("a",{onClick:()=>h("landscape"),className:v("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",r==="landscape"?"text-accent":"hover:text-accent"),children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512",fill:"currentColor",children:e("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"})}),e("small",{className:"text-xs",children:"Landscape"})]}),p("a",{onClick:()=>h("flow"),className:v("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",r==="flow"?"text-accent":"hover:text-accent"),children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:e("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"})}),e("small",{className:"text-xs",children:"Continuous"})]})]})})})};export{ae as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as o}from"./chunk-
|
|
1
|
+
import{e as o}from"./chunk-L7YJN6PG.mjs";import n from"next/image";import{jsx as r,jsxs as m}from"react/jsx-runtime";var s=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:a,height:i,url:l,width:c}=e;return r(n,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:l||"",width:c||0,height:i||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return r("div",{children:r(n,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},p=({links:e,media:t,children:a,richText:i})=>m("div",{className:"relative bg-brand-one pb-12 mt-20 pt-10",children:[t&&r(s,{media:t}),r("div",{className:"mx-0 min-w-full relative z-9",children:r("div",{className:"container text-brand-one-foreground",children:a||i&&r(o,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:i,enableProse:!0,enableGutter:!1})})})]});export{p as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as b}from"./chunk-
|
|
1
|
+
import{e as b}from"./chunk-L7YJN6PG.mjs";import{a as y}from"./chunk-44VMK4FL.mjs";import{a as d}from"./chunk-NIQ4466A.mjs";import{jsx as s,jsxs as h}from"react/jsx-runtime";var H=k=>{var p;let{columns:i,theme:n}=k,T={full:"12",half:"6",oneThird:"4",twoThirds:"8"},R={none:"",line:"border border-primary p-4 rounded-lg"},c=o=>{if(o.type&&o.type==="block"&&o.fields&&(o.fields.blockType==="imageBlock"||o.fields.blockType==="mediaBlock"))return!0;if(o.root&&o.root.children){for(let e of o.root.children)if(c(e))return!0}if(o.children){for(let e of o.children)if(c(e))return!0}return!1},v=(o,e,r)=>{if(e==="none"||r==="full")return{processedRichText:o,heading:null};let t=o,l=null;return o&&o.root&&o.root.children&&o.root.children[0].tag==="h2"&&(t={...o,root:{...o.root,children:o.root.children.slice(1)}},l=o.root.children[0]),{processedRichText:t,heading:l}};return s("div",{className:"container my-6",children:s("div",{className:d("grid grid-cols-4 lg:grid-cols-12 gap-y-8",(p=n==null?void 0:n.settings)!=null&&p.box?"gap-x-8":"gap-x-16"),children:i&&i.length>0&&i.map((o,e)=>{var m,g;let{enableLink:r,link:t,richText:l,size:a}=o,{processedRichText:f,heading:u}=v(l,((m=n==null?void 0:n.settings)==null?void 0:m.box)||"none",a||"full");return h("div",{className:d(`col-span-4 lg:col-span-${T[a]}`,{"md:col-span-2":a!=="full"},R[a!=="full"&&!c(l)&&((g=n==null?void 0:n.settings)==null?void 0:g.box)||"none"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${e+1}00`),children:[u&&s("div",{className:"bg-primary text-primary-foreground mb-4 -mt-4 -mx-4 px-4 py-2 text-xl",children:u.children[0].text}),f&&s(b,{content:f,enableGutter:!1,className:"rich-text"}),r&&s(y,{...t})]},e)})})})};export{H as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-WLBZXBU3.mjs";import{a as n}from"./chunk-TFWGOEV7.mjs";import{Fragment as c}from"react";import{jsx as o}from"react/jsx-runtime";var T=t=>{var m;let{className:s,htmlElement:i="div",resource:e}=t,r=typeof e=="object"&&((m=e==null?void 0:e.mimeType)==null?void 0:m.includes("video"));return o(i||c,{...i!==null?{className:s}:{},children:r?o(n,{...t}):o(a,{...t})})};export{T as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as s}from"./chunk-
|
|
1
|
+
import{a as s}from"./chunk-WMMLX5GC.mjs";import{a as l}from"./chunk-HJX2VPMY.mjs";import{a as c}from"./chunk-F4V6VUT7.mjs";import{a as n}from"./chunk-UESKYRNK.mjs";import b from"next/image";import{ChevronRightIcon as u,HomeIcon as g}from"@heroicons/react/20/solid";import{Fragment as x,jsx as t,jsxs as i}from"react/jsx-runtime";var h={highImpact:s,lowImpact:l,mediumImpact:c,sectionHero:m},k=a=>{let{type:r}=a||{};if(!r||r==="none")return null;let e=h[r];return e?t(e,{...a}):null};function f({breadcrumbItems:a}){if(a&&a.length>0){let r=a.filter(e=>e.label.toLowerCase()!=="home");return t("nav",{"aria-label":"Breadcrumb",className:"flex",children:i("ol",{role:"list",className:"flex items-center space-x-4",children:[t("li",{children:t("div",{children:i("a",{href:"/",className:"text-foreground hover:text-accent",children:[t(g,{"aria-hidden":"true",className:"size-5 shrink-0"}),t("span",{className:"sr-only",children:"Home"})]})})}),r.map((e,p)=>t("li",{children:i("div",{className:"flex items-center",children:[t(u,{"aria-hidden":"true",className:"size-5 shrink-0 text-gray-400"}),e.href?t("a",{href:e.href,className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:e.label}):t("div",{className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:e.label})]})},p))]})})}return t(x,{})}import{jsx as o,jsxs as d}from"react/jsx-runtime";function m({title:a,breadcrumbItems:r,image:e}){return d("section",{className:"-z-10 relative flex min-h-[250px] pt-auto items-end",children:[o("div",{className:"absolute inset-0 z-0",children:e&&o(b,{priority:!0,src:e.src,alt:`${process.env.NEXT_PUBLIC_SITE_NAME}`,layout:"fill",style:{objectFit:"cover"},sizes:"100vw",className:"pointer-events-none object-cover"})}),o("span",{className:"absolute inset-0 bg-gradient-1 from-background/0 to-background dark:from-background/0 dark:to-background"}),o(n,{children:d("div",{className:"relative z-10 flex flex-wrap items-center justify-between gap-x-20 gap-y-8 text-accent-900 dark:text-white lg:pt-[40px] pb-5",children:[o("h1",{className:"font-secondary text-5xl font-bold lg:w-1/2",children:a}),r&&r.length>0&&o(f,{breadcrumbItems:r})]})})]})}export{m as a,k as b,f as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as m}from"./chunk-BZAYEKYC.mjs";import{a}from"./chunk-
|
|
1
|
+
import{a as m}from"./chunk-BZAYEKYC.mjs";import{a}from"./chunk-XYRN4ZV2.mjs";import{a as t}from"./chunk-KSCHUMVE.mjs";import{a as i}from"./chunk-DESYC5BB.mjs";import{a as o}from"./chunk-WU3JMLSC.mjs";import{jsx as r,jsxs as n}from"react/jsx-runtime";function d({...e}){return n("div",{children:[r(i,{isMenuOpen:!0,logoLight:m,logoDark:o}),r(t,{...e.hero}),r(a,{className:"!pb-0",...e.blog})]})}export{d as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as r}from"./chunk-
|
|
1
|
+
import{e as r}from"./chunk-L7YJN6PG.mjs";import{jsx as e}from"react/jsx-runtime";var c=({children:o,richText:t})=>e("div",{className:"min-w-full py-10 bg-muted mt-24",children:e("div",{className:"container",children:o||t&&e(r,{content:t,enableGutter:!1})})});export{c as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as b}from"./chunk-
|
|
1
|
+
import{a as b}from"./chunk-3AA3AMNV.mjs";import{a as k}from"./chunk-FBEB6K6X.mjs";import{b as u,c as f}from"./chunk-L7YJN6PG.mjs";import{a as g}from"./chunk-2A6JF3LE.mjs";import{a as s}from"./chunk-NIQ4466A.mjs";import p from"next/image";import{jsx as a,jsxs as h}from"react/jsx-runtime";var y={content:k,cta:u,mediaBlock:g,imageBlock:g,features:f,reusableContentBlock:b},w=r=>{let{blocks:e}=r;return e&&Array.isArray(e)&&e.length>0?a("section",{id:"render-blocks",className:s(r.fill?"h-full w-full":""),children:e.map((t,i)=>{var l,m;let{blockType:o}=t,n=t==null?void 0:t.theme;if(o&&o in y){let d=y[o];if(d)return h("div",{className:s("py-6 relative",r.fill&&"flex h-full items-center justify-center"),children:[a(v,{block:t,index:i}),a("div",{className:s("container h-full",((l=n==null?void 0:n.settings)==null?void 0:l.theme)==="dark"?"dark":((m=n==null?void 0:n.settings)==null?void 0:m.theme)==="green"?"green":""),children:a(d,{...t})})]},i)}return null})}):null},v=r=>{var c,t,i,o,n;if(!("theme"in r.block))return null;let e=(c=r.block)==null?void 0:c.theme;if(e.settings.background==="image"){let l={imagePosition:e.settings.imagePosition||"left",overlay:e.settings.overlay!==void 0?e.settings.overlay:!0};return h("div",{className:s("absolute inset-0 w-full h-full -z-10",e.settings.theme==="dark"?"dark bg-background":e.settings.theme==="green"?"green bg-background":""),children:[a(p,{src:((i=(t=e.settings)==null?void 0:t.image)==null?void 0:i.url)||"/placeholder.svg",alt:((n=(o=e.settings)==null?void 0:o.image)==null?void 0:n.alt)||"",fill:!0,className:"object-cover",priority:!0}),e.settings.overlay&&a("div",{className:"absolute inset-0",style:{background:l.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 a("div",{className:s("absolute inset-0 -z-10 w-screen h-full",e.settings.theme==="dark"?"dark bg-background":e.settings.theme==="green"?"green bg-background":"")})};export{w as a,v as b};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as f}from"./chunk-BZAYEKYC.mjs";import{a as p}from"./chunk-
|
|
4
|
+
import{a as f}from"./chunk-BZAYEKYC.mjs";import{a as p}from"./chunk-WMMLX5GC.mjs";import{a as c}from"./chunk-HJX2VPMY.mjs";import{a as u}from"./chunk-F4V6VUT7.mjs";import{a as s}from"./chunk-KSCHUMVE.mjs";import{a as o,b as a,c as i,e as m}from"./chunk-D76EO57Z.mjs";import{b as n}from"./chunk-BDX257W2.mjs";import{a as h}from"./chunk-DESYC5BB.mjs";import{a as l}from"./chunk-WU3JMLSC.mjs";import{ExternalLink as d}from"lucide-react";import{jsx as e,jsxs as t}from"react/jsx-runtime";function b({...r}){return t("div",{children:[e(h,{isMenuOpen:!0,logoLight:f,logoDark:l,...r.header}),r.hero&&r.hero.type==="lowImpact"&&e(c,{...r.hero}),r.hero&&r.hero.type==="mediumImpact"&&e(u,{...r.hero}),r.hero&&r.hero.type==="highImpact"&&e(p,{...r.hero}),r.hero&&r.hero.type==="postHero"&&e(s,{...r.hero}),e("div",{className:"container py-8",children:t("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[e("div",{className:"lg:col-span-2",children:r.children}),t("div",{className:"space-y-6",children:[t(o,{children:[e(a,{children:e(i,{children:"Quick Actions"})}),t(m,{children:[e("p",{className:"mb-4 text-sm text-muted-foreground",children:"Get started with your first action in just a few clicks."}),e(n,{className:"w-full",children:"Create New"})]})]}),t(o,{children:[e(a,{children:e(i,{children:"Resources"})}),e(m,{children:t("nav",{className:"flex flex-col space-y-2",children:[t("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["User Guide",e(d,{className:"ml-1 h-3 w-3"})]}),t("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["API Documentation",e(d,{className:"ml-1 h-3 w-3"})]}),t("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["View Pricing Details",e(d,{className:"ml-1 h-3 w-3"})]})]})})]})]})]})})]})}export{b as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as
|
|
4
|
+
import{a as u}from"./chunk-BZAYEKYC.mjs";import{a,b as i,c as t,e as o}from"./chunk-D76EO57Z.mjs";import{b as l}from"./chunk-BDX257W2.mjs";import{a as s}from"./chunk-GOMLTG5W.mjs";import{a as m}from"./chunk-WU3JMLSC.mjs";import{a as c}from"./chunk-4DJ6HKHR.mjs";import{ExternalLink as d}from"lucide-react";import{jsx as e,jsxs as r}from"react/jsx-runtime";function b({...n}){return r("div",{className:"relative",children:[e("div",{className:"h-screen relative overflow-hidden",children:e(s,{...n.header,logoVideo:c,logoLight:u,logoDark:m})}),r("div",{id:"next-section",className:"mt-16 pt-16 min-h-screen",children:[" ",e("div",{className:"container py-8",children:r("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[e("div",{className:"lg:col-span-2",children:n.children}),r("div",{className:"space-y-6",children:[r(a,{children:[e(i,{children:e(t,{children:"Quick Actions"})}),r(o,{children:[e("p",{className:"mb-4 text-sm text-muted-foreground",children:"Get started with your first action in just a few clicks."}),e(l,{className:"w-full",children:"Create New"})]})]}),r(a,{children:[e(i,{children:e(t,{children:"Resources"})}),e(o,{children:r("nav",{className:"flex flex-col space-y-2",children:[r("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["User Guide",e(d,{className:"ml-1 h-3 w-3"})]}),r("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["API Documentation",e(d,{className:"ml-1 h-3 w-3"})]}),r("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["View Pricing Details",e(d,{className:"ml-1 h-3 w-3"})]})]})})]})]})]})})]})]})}export{b as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as D,j as H,k as L,l as E,m as M,n as _,o as G}from"./chunk-O5BAW5XQ.mjs";import{a as g}from"./chunk-44VMK4FL.mjs";import{a as P}from"./chunk-
|
|
1
|
+
import{i as D,j as H,k as L,l as E,m as M,n as _,o as G}from"./chunk-O5BAW5XQ.mjs";import{a as g}from"./chunk-44VMK4FL.mjs";import{a as P}from"./chunk-2A6JF3LE.mjs";import{a as w}from"./chunk-4YJ3HV64.mjs";import{a as T}from"./chunk-2NFKSNJW.mjs";import{b as C}from"./chunk-BDX257W2.mjs";import{a as h}from"./chunk-SFLOMJ2U.mjs";import{a as s}from"./chunk-NIQ4466A.mjs";import{jsx as b,jsxs as j}from"react/jsx-runtime";var R=({links:a,richText:t})=>b("div",{className:"container",children:j("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:[b("div",{className:"max-w-[48rem] flex items-center",children:t&&b(p,{className:"mb-0",content:t,enableGutter:!1})}),b("div",{className:"flex flex-col gap-8",children:(a||[]).map(({link:r},c)=>b(g,{size:"lg",...r},c))})]})});import{jsx as o,jsxs as B}from"react/jsx-runtime";function S(a){return a&&typeof a=="object"&&"type"in a&&"iconName"in a}function I({variant:a="outline",className:t,icon:r,iconSize:c="large",width:i="auto",order:e=0,heading:n,subheading:u,content:m,statistic:f,buttonText:y,buttonHref:x}){let N={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:""},A={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return B("div",{className:s("rounded-3xl p-8 md:p-8 min-w-56 flex flex-col group",N[a],a==="outline"?"text-gray-900":"text-white",t,A[i],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${e+1}00`),children:[o("div",{className:"flex items-center gap-4 mb-2",children:o($,{icon:r,heading:n,variant:a,iconSize:c})}),f&&o("div",{className:"mb-6",children:o("div",{className:s("text-4xl text-wrap font-bold leading-none overflow-hidden",a==="outline"||a==="light"?"text-primary":"text-white"),children:f})}),u&&o("div",{className:"mb-4 text-xl md:text-2xl font-light",children:u}),m&&typeof m=="object"&&o("div",{className:s("space-y-6"),children:o(p,{enableGutter:!1,content:m,enableProse:!1,className:s(a==="outline"||a==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100")})}),m&&typeof m=="string"&&o("div",{className:s("space-y-6",a==="outline"||a==="light"?"text-gray-900":"text-gray-100"),children:m}),y&&o("div",{className:"mt-auto pt-6 flex items-center justify-center",children:o(C,{size:"lg",className:"text-white text-lg rounded-xl w-full mt-auto items-center justify-center",asChild:!0,children:o("a",{href:x,children:y})})}),a==="radial"&&o("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 $=({icon:a,heading:t,variant:r,iconSize:c})=>a&&c==="small"?B("div",{className:"flex items-start gap-4 mb-2",children:[S(a)&&o("div",{className:s("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-primary":"text-white",c==="small"?"mt-2":""),children:o(h,{type:a.type,iconName:a.iconName,size:"2x"})}),o("div",{className:s("font-semibold",r==="outline"||r==="light"?"text-primary":"text-white",c==="small"?"text-2xl":"text-3xl"),children:t})]}):a?B("div",{className:"flex flex-col gap-4",children:[S(a)&&o("div",{className:s("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-accent":""),children:o(h,{type:a.type,iconName:a.iconName,size:"4x"})}),o("h3",{className:s("font-semibold",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})]}):o("div",{className:"flex items-center gap-4 mb-2",children:o("div",{className:s("font-semibold",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})});import{jsx as d,jsxs as J}from"react/jsx-runtime";var F=({title:a,description:t,features:r,id:c,nested:i=!1})=>J("section",{className:s(!i&&"container","w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[a&&d("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl text-primary",id:c||"",children:a}),t&&typeof t=="string"&&d("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:t}),t&&typeof t=="object"&&d("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:d(p,{content:t,enableGutter:!1})}),d("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((e,n)=>{var m,f,y,x,N;let u=()=>{if(e.icon&&"type"in e.icon&&e.icon.type!=="none")return{type:e.icon.type,iconName:e.icon.icon}};return d(I,{variant:((m=e.settings)==null?void 0:m.card)==="default"?"light":((f=e.settings)==null?void 0:f.card)||"outline",icon:u()||void 0,iconSize:((y=e.settings)==null?void 0:y.iconSize)||"large",width:"auto",order:n,heading:e.title||"",content:e.content||void 0,statistic:e.statistic||void 0,buttonText:(x=e.link)!=null&&x.url?"Find out more":void 0,buttonHref:((N=e.link)==null?void 0:N.url)||void 0},n)})})]});import U,{Fragment as X}from"react";import{jsx as l}from"react/jsx-runtime";function k({nodes:a}){return l(X,{children:a==null?void 0:a.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let e=l(U.Fragment,{children:t.text},r);return t.format&1&&(e=l("strong",{children:e},r)),t.format&2&&(e=l("em",{children:e},r)),t.format&4&&(e=l("span",{style:{textDecoration:"line-through"},children:e},r)),t.format&8&&(e=l("span",{style:{textDecoration:"underline"},children:e},r)),t.format&16&&(e=l("code",{children:t.text},r)),t.format&32&&(e=l("sub",{children:e},r)),t.format&64&&(e=l("sup",{children:e},r)),e}if(t.type==="table")return l("table",{children:l("tbody",{children:t.children.map((e,n)=>l("tr",{children:e.children.map((u,m)=>l("td",{children:k({nodes:u.children})},m))},n))})},r);let c=e=>{if(e.children==null)return null;if((e==null?void 0:e.type)==="list"&&(e==null?void 0:e.listType)==="check")for(let n of e.children)"checked"in n&&(n!=null&&n.checked||(n.checked=!1));return k({nodes:e.children})},i="children"in t?c(t):"";if(t.type==="block"){let e=t.fields,n=e==null?void 0:e.blockType;if(!e||!n)return null;switch(n){case"cta":return l(R,{...e},r);case"mediaBlock":return l(P,{className:"col-start-1 col-span-3",imgClassName:"m-0",...e,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return l(w,{className:"col-start-1 col-span-3",imgClassName:"m-0",...e,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return l(z,{className:"col-start-2 mb-4",...e},r);case"code":return l(T,{className:"col-start-2",...e},r);case"features":return l(F,{...e,nested:!0},r);case"reusableContentBlock":k({nodes:e.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return l("br",{className:"col-start-2"},r);case"paragraph":return l("p",{className:"col-start-2",children:i},r);case"heading":{let e=t==null?void 0:t.tag;return l(e,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:i},r)}case"list":{let e=t==null?void 0:t.tag;return l(e,{className:"list col-start-2",children:i},r)}case"listitem":return(t==null?void 0:t.checked)!=null?l("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:i},r):l("li",{value:t==null?void 0:t.value,children:i},r);case"quote":return l("blockquote",{className:"col-start-2",children:i},r);case"link":{let e=t.fields;return l(g,{newTab:!!(e!=null&&e.newTab),reference:e.doc,type:e.linkType==="internal"?"reference":"custom",url:e.url,children:i},r)}case"autolink":{let e=t.fields;return l(g,{newTab:!!(e!=null&&e.newTab),reference:e.doc,type:e.linkType==="internal"?"reference":"custom",url:e.url,children:i},r)}default:return null}})})}import{jsx as q}from"react/jsx-runtime";var p=({className:a,content:t,enableGutter:r=!0,enableProse:c=!0})=>{var i;return t?q("div",{className:s({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":c},a),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&k({nodes:(i=t==null?void 0:t.root)==null?void 0:i.children})}):null};import{jsx as v}from"react/jsx-runtime";var z=({className:a,content:t,style:r})=>v("div",{className:s("mx-auto my-8 w-full",a),children:v("div",{className:s("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:v(p,{content:t,enableGutter:!1,enableProse:!1})})});export{z as a,R as b,F as c,k as d,p as e,I as f};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as p}from"./chunk-6P7CY367.mjs";import{a as d}from"./chunk-
|
|
4
|
+
import{a as p}from"./chunk-6P7CY367.mjs";import{a as d}from"./chunk-FCCL6W7R.mjs";import{a as m}from"./chunk-NIQ4466A.mjs";import A from"next/link";import{Fragment as g}from"react";import{jsx as e,jsxs as s}from"react/jsx-runtime";var j=v=>{let{card:f,link:h}=p({}),{className:u,doc:N,relationTo:y,showCategories:a,title:b}=v,{slug:C,categories:t,meta:F,title:k}=N||{},{description:r,image:o}=F||{},i=t&&Array.isArray(t)&&t.length>0,l=b||k,w=r==null?void 0:r.replace(/\s/g," "),T=`/${y}/${C}`;return s("article",{className:m("border border-border rounded-lg overflow-hidden bg-card hover:cursor-pointer",u),ref:f.ref,children:[s("div",{className:"relative w-full ",children:[!o&&e("div",{className:"",children:"No image"}),o&&typeof o!="string"&&e(d,{resource:o,size:"33vw"})]}),s("div",{className:"p-4",children:[a&&i&&e("div",{className:"uppercase text-sm mb-4",children:a&&i&&e("div",{children:t==null?void 0:t.map((n,c)=>{if(typeof n=="object"){let{title:L}=n,P=L||"Untitled category",z=c===t.length-1;return s(g,{children:[P,!z&&e(g,{children:", \xA0"})]},c)}return null})})}),l&&e("div",{className:"prose",children:e("h3",{children:e(A,{className:"not-prose",href:T,ref:h.ref,children:l})})}),r&&e("div",{className:"mt-2",children:r&&e("p",{children:w})})]})]})};export{j as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as s}from"./chunk-
|
|
1
|
+
import{e as s}from"./chunk-L7YJN6PG.mjs";import{a}from"./chunk-NIQ4466A.mjs";import{jsx as e,jsxs as p}from"react/jsx-runtime";function f({subtitle:o,title:r,description:t,alignment:n="start",hasBottomSpacing:i=!1,className:l,invert:c=!1}){let m=a(n==="start"&&"text-left",n==="center"&&"text-center",n==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":i},l);return p("div",{className:m,children:[o&&e("span",{className:"mb-[.625rem] block font-secondary text-base font-bold uppercase leading-[1.5] tracking-widest text-accent md:text-md",children:o}),e("h2",{className:a("font-secondary text-xl font-bold leading-[1.25] text-foreground md:text-2xl",c&&"text-gray-900"),children:r}),typeof t=="string"?t&&e("p",{className:"mt-5 whitespace-pre-line",children:t}):t&&e(s,{content:t,enableGutter:!1})]})}export{f as a};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as y,b as h,c as b}from"./chunk-4QEWBUVW.mjs";import{a as f}from"./chunk-HPMMYTRI.mjs";import{a as l}from"./chunk-NIQ4466A.mjs";import{useState as T,useEffect as C,useCallback as A}from"react";import{AnimatePresence as w,motion as v}from"framer-motion";import"pagedjs";import{Fragment as E,jsx as t,jsxs as g}from"react/jsx-runtime";var z=c=>{let[s,r]=T(0),{blocks:i,hero:k}=c,x=i&&Array.isArray(i)&&i.length>0,n=[{id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},...i],N=e=>{r(e)},a=()=>{r(e=>(e+1)%n.length)},m=()=>{r(e=>(e-1+n.length)%n.length)},d=A(((e,o)=>{let p;return(...S)=>{clearTimeout(p),p=setTimeout(()=>e(...S),o)}})(e=>{e.deltaY>0?a():m()},300),[]),u=e=>{e.key==="ArrowDown"?a():e.key==="ArrowUp"&&m()};return C(()=>(window.addEventListener("wheel",d),window.addEventListener("keydown",u),()=>{window.removeEventListener("wheel",d),window.removeEventListener("keydown",u)}),[]),g("div",{className:"flex flex-col min-h-screen relative overflow-hidden",children:[t("div",{className:"fixed left-0 top-0 flex h-screen w-9 z-10 flex-col items-center justify-center bg-gray-900",children:x&&n.map((e,o)=>t("button",{className:`group relative flex items-center justify-center my-2 h-16 w-4 rounded-full transition-all hover:bg-accent duration-300 ${s===o?"bg-accent":"bg-gray-600"}`,onClick:()=>N(o),children:t("span",{className:"absolute ml-7 left-full text-left transform -translate-y-1/2 translate-x-0 rotate-90 origin-left whitespace-nowrap opacity-0 group-hover:opacity-100 group-hover:translate-x-2 transition-all duration-300",children:e.blockName})},e.id))}),t(w,{children:n.map((e,o)=>t("div",{id:`slide-${o}`,className:"print-section",children:t("div",{className:`absolute flex items-center justify-center transition-opacity duration-1000
|
|
5
|
+
${o===s?"opacity-100":"opacity-0"}
|
|
6
|
+
w-full h-full bg-cover bg-center`,children:o===0?t(b,{hero:k,title:c.title}):g(E,{children:[e.blockName&&t(h,{title:e.blockName}),t(f,{blocks:[e],fill:!0}),t(y,{})]})})},o))}),t("button",{className:"absolute bottom-4 left-1 z-20 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:a,children:t(D,{})})]})},D=()=>t(w,{children:t(v.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:t(v.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")})})});export{z as a};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{b as u,c as f}from"./chunk-4QEWBUVW.mjs";import{a as d}from"./chunk-HPMMYTRI.mjs";import{a as b}from"./chunk-NIQ4466A.mjs";import{a as p}from"./chunk-C5XNOZXC.mjs";import{a as y}from"./chunk-WU3JMLSC.mjs";import{useEffect as x,useRef as g,useState as T,useCallback as B}from"react";import{Previewer as C}from"pagedjs";import{Fragment as N,jsx as e,jsxs as l}from"react/jsx-runtime";function H(o){var t=document.createElement("div");t.style.display="block",t.style.height=o,document.body.appendChild(t);var i=parseFloat(window.getComputedStyle(t,null).height);return t.parentNode&&t.parentNode.removeChild(t),Math.floor(i)}var $=({page:o,layout:t="portrait"})=>t==="flow"?e(R,{page:o,layout:t}):e(I,{page:o,layout:t}),R=({page:o,layout:t="portrait"})=>{let{contentWithIds:i}=p(o),c=[{id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},...i];return e("div",{className:"w-[297mm]",children:l("div",{id:"printable-content",children:[c.map((a,s)=>e(N,{children:s===0?e("section",{className:"title-page w-full h-full",children:e(f,{hero:o.hero,title:o.title})},s):l("section",{className:"normal-page overflow-hidden",children:[a.blockName&&e(u,{title:a.blockName}),e(d,{blocks:[a],fill:!0})]},s)})),e("section",{className:"normal-page",children:l("div",{className:`w-full py-2 px-8 flex justify-between items-center
|
|
5
|
+
dark bg-background text-primary`,children:[l("div",{className:"flex px-6 items-center space-x-2",children:[e("img",{src:y.src,alt:"Cortex Reply Logo",className:"h-8"}),e("span",{className:"pl-12 text-sm",children:"Power up your people"})]}),e("a",{href:"https://cortexreply.com",className:"text-sm hover:underline",children:"cortexreply.com"})]})})]})})},I=({page:o,layout:t="portrait"})=>{let{contentWithIds:i}=p(o),n=g(null),c=g(null),a=g(new C),[s,P]=T(0),w=[{id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},...i],h=B(()=>{n.current&&(n.current&&(n.current.innerHTML=""),a.current.preview(document.getElementById("printable-content").innerHTML,["./print.css",t==="landscape"?"./landscape.css":"./portrait.css"],n.current).then(r=>P(r.pageCount)).catch(r=>console.error("Paged.js error:",r)))},[]);return x(()=>{a.current=new C,h()},[h,t]),l("div",{className:"pagedjs-container",children:[e("div",{id:"printable-content",ref:c,style:{display:"none"},className:"pagedjs-content",children:w.map((r,m)=>{var k,v;return e(N,{children:m===0?e("section",{className:"pagedjs-section title-page w-full h-full",children:e(f,{hero:o.hero,title:o.title})},m):l("section",{className:b("pagedjs-section normal-page h-[699px]",`h-[${H("185mm")}px]`,((v=(k=r.theme)==null?void 0:k.settings)==null?void 0:v.theme)==="dark"?"dark":"light"),children:[r.blockName&&e(u,{title:r.blockName}),e(d,{blocks:[r],fill:!0})]},m)})})}),e("div",{ref:n,className:"preview-container"})]})};export{$ as a,R as b,I as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-MGS3DQ22.mjs";import{e as r}from"./chunk-L7YJN6PG.mjs";import m from"clsx";import{jsx as o,jsxs as l}from"react/jsx-runtime";var g=i=>{let{className:n,docs:t,introContent:e}=i;return l("div",{className:m("container",n),children:[e&&o(r,{content:e,enableGutter:!1}),o("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 md:gap-8 items-stretch",children:t==null?void 0:t.map((s,p)=>typeof s=="string"?null:o(a,{doc:s,relationTo:"posts",showCategories:!0},p))})]})};export{g as a};
|
|
@@ -5,4 +5,4 @@ import{b as oa,d as da}from"./chunk-S7OK7D5I.mjs";var aa=oa((J,U)=>{"use strict"
|
|
|
5
5
|
aos: MutationObserver is not supported on this browser,
|
|
6
6
|
code mutations observing has been disabled.
|
|
7
7
|
You may have to call "refreshHard()" by yourself.
|
|
8
|
-
`),p.disableMutationObserver=!0),document.querySelector("body").setAttribute("data-aos-easing",p.easing),document.querySelector("body").setAttribute("data-aos-duration",p.duration),document.querySelector("body").setAttribute("data-aos-delay",p.delay),p.startEvent==="DOMContentLoaded"&&["complete","interactive"].indexOf(document.readyState)>-1?_(!0):p.startEvent==="load"?window.addEventListener(p.startEvent,function(){_(!0)}):document.addEventListener(p.startEvent,function(){_(!0)}),window.addEventListener("resize",(0,i.default)(_,p.debounceDelay,!0)),window.addEventListener("orientationchange",(0,i.default)(_,p.debounceDelay,!0)),window.addEventListener("scroll",(0,s.default)(function(){(0,X.default)(S,p.once)},p.throttleDelay)),p.disableMutationObserver||r.default.ready("[data-aos]",P),S)};h.exports={init:u,refresh:_,refreshHard:P}},function(h,e){},,,,,function(h,e){(function(n){"use strict";function o(a,u,d){function x(c){var j=M,$=N;return M=N=void 0,H=c,k=a.apply($,j)}function A(c){return H=c,v=setTimeout(I,u),Y?x(c):k}function D(c){var j=c-q,$=c-H,V=u-j;return L?P(V,T-$):V}function W(c){var j=c-q,$=c-H;return q===void 0||j>=u||j<0||L&&$>=T}function I(){var c=t();return W(c)?Q(c):void(v=setTimeout(I,D(c)))}function Q(c){return v=void 0,g&&M?x(c):(M=N=void 0,k)}function R(){v!==void 0&&clearTimeout(v),H=0,M=q=N=v=void 0}function G(){return v===void 0?k:Q(t())}function E(){var c=t(),j=W(c);if(M=arguments,N=this,q=c,j){if(v===void 0)return A(q);if(L)return v=setTimeout(I,u),x(q)}return v===void 0&&(v=setTimeout(I,u)),k}var M,N,T,k,v,q,H=0,Y=!1,L=!1,g=!0;if(typeof a!="function")throw new TypeError(y);return u=b(u)||0,m(d)&&(Y=!!d.leading,L="maxWait"in d,T=L?_(b(d.maxWait)||0,u):T,g="trailing"in d?!!d.trailing:g),E.cancel=R,E.flush=G,E}function l(a,u,d){var x=!0,A=!0;if(typeof a!="function")throw new TypeError(y);return m(d)&&(x="leading"in d?!!d.leading:x,A="trailing"in d?!!d.trailing:A),o(a,u,{leading:x,maxWait:u,trailing:A})}function m(a){var u=typeof a=="undefined"?"undefined":i(a);return!!a&&(u=="object"||u=="function")}function w(a){return!!a&&(typeof a=="undefined"?"undefined":i(a))=="object"}function s(a){return(typeof a=="undefined"?"undefined":i(a))=="symbol"||w(a)&&p.call(a)==f}function b(a){if(typeof a=="number")return a;if(s(a))return r;if(m(a)){var u=typeof a.valueOf=="function"?a.valueOf():a;a=m(u)?u+"":u}if(typeof a!="string")return a===0?a:+a;a=a.replace(z,"");var d=X.test(a);return d||B.test(a)?F(a.slice(2),d?2:8):O.test(a)?r:+a}var i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},y="Expected a function",r=NaN,f="[object Symbol]",z=/^\s+|\s+$/g,O=/^[-+]0x[0-9a-f]+$/i,X=/^0b[01]+$/i,B=/^0o[0-7]+$/i,F=parseInt,K=(typeof n=="undefined"?"undefined":i(n))=="object"&&n&&n.Object===Object&&n,C=(typeof self=="undefined"?"undefined":i(self))=="object"&&self&&self.Object===Object&&self,S=K||C||Function("return this")(),Z=Object.prototype,p=Z.toString,_=Math.max,P=Math.min,t=function(){return S.Date.now()};h.exports=l}).call(e,function(){return this}())},function(h,e){(function(n){"use strict";function o(t,a,u){function d(g){var c=E,j=M;return E=M=void 0,q=g,T=t.apply(j,c)}function x(g){return q=g,k=setTimeout(W,a),H?d(g):T}function A(g){var c=g-v,j=g-q,$=a-c;return Y?_($,N-j):$}function D(g){var c=g-v,j=g-q;return v===void 0||c>=a||c<0||Y&&j>=N}function W(){var g=P();return D(g)?I(g):void(k=setTimeout(W,A(g)))}function I(g){return k=void 0,L&&E?d(g):(E=M=void 0,T)}function Q(){k!==void 0&&clearTimeout(k),q=0,E=v=M=k=void 0}function R(){return k===void 0?T:I(P())}function G(){var g=P(),c=D(g);if(E=arguments,M=this,v=g,c){if(k===void 0)return x(v);if(Y)return k=setTimeout(W,a),d(v)}return k===void 0&&(k=setTimeout(W,a)),T}var E,M,N,T,k,v,q=0,H=!1,Y=!1,L=!0;if(typeof t!="function")throw new TypeError(i);return a=s(a)||0,l(u)&&(H=!!u.leading,Y="maxWait"in u,N=Y?p(s(u.maxWait)||0,a):N,L="trailing"in u?!!u.trailing:L),G.cancel=Q,G.flush=R,G}function l(t){var a=typeof t=="undefined"?"undefined":b(t);return!!t&&(a=="object"||a=="function")}function m(t){return!!t&&(typeof t=="undefined"?"undefined":b(t))=="object"}function w(t){return(typeof t=="undefined"?"undefined":b(t))=="symbol"||m(t)&&Z.call(t)==r}function s(t){if(typeof t=="number")return t;if(w(t))return y;if(l(t)){var a=typeof t.valueOf=="function"?t.valueOf():t;t=l(a)?a+"":a}if(typeof t!="string")return t===0?t:+t;t=t.replace(f,"");var u=O.test(t);return u||X.test(t)?B(t.slice(2),u?2:8):z.test(t)?y:+t}var b=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i="Expected a function",y=NaN,r="[object Symbol]",f=/^\s+|\s+$/g,z=/^[-+]0x[0-9a-f]+$/i,O=/^0b[01]+$/i,X=/^0o[0-7]+$/i,B=parseInt,F=(typeof n=="undefined"?"undefined":b(n))=="object"&&n&&n.Object===Object&&n,K=(typeof self=="undefined"?"undefined":b(self))=="object"&&self&&self.Object===Object&&self,C=F||K||Function("return this")(),S=Object.prototype,Z=S.toString,p=Math.max,_=Math.min,P=function(){return C.Date.now()};h.exports=o}).call(e,function(){return this}())},function(h,e){"use strict";function n(b){var i=void 0,y=void 0,r=void 0;for(i=0;i<b.length;i+=1)if(y=b[i],y.dataset&&y.dataset.aos||(r=y.children&&n(y.children)))return!0;return!1}function o(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function l(){return!!o()}function m(b,i){var y=window.document,r=o(),f=new r(w);s=i,f.observe(y.documentElement,{childList:!0,subtree:!0,removedNodes:!0})}function w(b){b&&b.forEach(function(i){var y=Array.prototype.slice.call(i.addedNodes),r=Array.prototype.slice.call(i.removedNodes),f=y.concat(r);if(n(f))return s()})}Object.defineProperty(e,"__esModule",{value:!0});var s=function(){};e.default={isSupported:l,ready:m}},function(h,e){"use strict";function n(y,r){if(!(y instanceof r))throw new TypeError("Cannot call a class as a function")}function o(){return navigator.userAgent||navigator.vendor||window.opera||""}Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function y(r,f){for(var z=0;z<f.length;z++){var O=f[z];O.enumerable=O.enumerable||!1,O.configurable=!0,"value"in O&&(O.writable=!0),Object.defineProperty(r,O.key,O)}}return function(r,f,z){return f&&y(r.prototype,f),z&&y(r,z),r}}(),m=/(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( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,w=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|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|nd)|craw|da(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|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|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(no|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|me(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)|ne((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|uc)|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|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|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 |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,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( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i,b=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|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|nd)|craw|da(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|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|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(no|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|me(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)|ne((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|uc)|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|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|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 |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,i=function(){function y(){n(this,y)}return l(y,[{key:"phone",value:function(){var r=o();return!(!m.test(r)&&!w.test(r.substr(0,4)))}},{key:"mobile",value:function(){var r=o();return!(!s.test(r)&&!b.test(r.substr(0,4)))}},{key:"tablet",value:function(){return this.mobile()&&!this.phone()}}]),y}();e.default=new i},function(h,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(l,m,w){var s=l.node.getAttribute("data-aos-once");m>l.position?l.node.classList.add("aos-animate"):typeof s!="undefined"&&(s==="false"||!w&&s!=="true")&&l.node.classList.remove("aos-animate")},o=function(l,m){var w=window.pageYOffset,s=window.innerHeight;l.forEach(function(b,i){n(b,s+w,m)})};e.default=o},function(h,e,n){"use strict";function o(s){return s&&s.__esModule?s:{default:s}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(12),m=o(l),w=function(s,b){return s.forEach(function(i,y){i.node.classList.add("aos-init"),i.position=(0,m.default)(i.node,b.offset)}),s};e.default=w},function(h,e,n){"use strict";function o(s){return s&&s.__esModule?s:{default:s}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(13),m=o(l),w=function(s,b){var i=0,y=0,r=window.innerHeight,f={offset:s.getAttribute("data-aos-offset"),anchor:s.getAttribute("data-aos-anchor"),anchorPlacement:s.getAttribute("data-aos-anchor-placement")};switch(f.offset&&!isNaN(f.offset)&&(y=parseInt(f.offset)),f.anchor&&document.querySelectorAll(f.anchor)&&(s=document.querySelectorAll(f.anchor)[0]),i=(0,m.default)(s).top,f.anchorPlacement){case"top-bottom":break;case"center-bottom":i+=s.offsetHeight/2;break;case"bottom-bottom":i+=s.offsetHeight;break;case"top-center":i+=r/2;break;case"bottom-center":i+=r/2+s.offsetHeight;break;case"center-center":i+=r/2+s.offsetHeight/2;break;case"top-top":i+=r;break;case"bottom-top":i+=s.offsetHeight+r;break;case"center-top":i+=s.offsetHeight/2+r}return f.anchorPlacement||f.offset||isNaN(b)||(y=b),i+y};e.default=w},function(h,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(o){for(var l=0,m=0;o&&!isNaN(o.offsetLeft)&&!isNaN(o.offsetTop);)l+=o.offsetLeft-(o.tagName!="BODY"?o.scrollLeft:0),m+=o.offsetTop-(o.tagName!="BODY"?o.scrollTop:0),o=o.offsetParent;return{top:m,left:l}};e.default=n},function(h,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(o){return o=o||document.querySelectorAll("[data-aos]"),Array.prototype.map.call(o,function(l){return{node:l}})};e.default=n}])})});var ta=da(aa());import{useEffect as sa}from"react";function la(){return sa(()=>{ta.default.init({duration:1e3,offset:0,once:!0})},[]),null}export{aa as a,la as b};
|
|
8
|
+
`),p.disableMutationObserver=!0),document.querySelector("body").setAttribute("data-aos-easing",p.easing),document.querySelector("body").setAttribute("data-aos-duration",p.duration),document.querySelector("body").setAttribute("data-aos-delay",p.delay),p.startEvent==="DOMContentLoaded"&&["complete","interactive"].indexOf(document.readyState)>-1?_(!0):p.startEvent==="load"?window.addEventListener(p.startEvent,function(){_(!0)}):document.addEventListener(p.startEvent,function(){_(!0)}),window.addEventListener("resize",(0,i.default)(_,p.debounceDelay,!0)),window.addEventListener("orientationchange",(0,i.default)(_,p.debounceDelay,!0)),window.addEventListener("scroll",(0,s.default)(function(){(0,X.default)(S,p.once)},p.throttleDelay)),p.disableMutationObserver||r.default.ready("[data-aos]",P),S)};h.exports={init:u,refresh:_,refreshHard:P}},function(h,e){},,,,,function(h,e){(function(n){"use strict";function o(a,u,d){function x(c){var j=M,$=N;return M=N=void 0,H=c,k=a.apply($,j)}function A(c){return H=c,v=setTimeout(I,u),Y?x(c):k}function D(c){var j=c-q,$=c-H,V=u-j;return L?P(V,T-$):V}function W(c){var j=c-q,$=c-H;return q===void 0||j>=u||j<0||L&&$>=T}function I(){var c=t();return W(c)?Q(c):void(v=setTimeout(I,D(c)))}function Q(c){return v=void 0,g&&M?x(c):(M=N=void 0,k)}function R(){v!==void 0&&clearTimeout(v),H=0,M=q=N=v=void 0}function G(){return v===void 0?k:Q(t())}function E(){var c=t(),j=W(c);if(M=arguments,N=this,q=c,j){if(v===void 0)return A(q);if(L)return v=setTimeout(I,u),x(q)}return v===void 0&&(v=setTimeout(I,u)),k}var M,N,T,k,v,q,H=0,Y=!1,L=!1,g=!0;if(typeof a!="function")throw new TypeError(y);return u=b(u)||0,m(d)&&(Y=!!d.leading,L="maxWait"in d,T=L?_(b(d.maxWait)||0,u):T,g="trailing"in d?!!d.trailing:g),E.cancel=R,E.flush=G,E}function l(a,u,d){var x=!0,A=!0;if(typeof a!="function")throw new TypeError(y);return m(d)&&(x="leading"in d?!!d.leading:x,A="trailing"in d?!!d.trailing:A),o(a,u,{leading:x,maxWait:u,trailing:A})}function m(a){var u=typeof a=="undefined"?"undefined":i(a);return!!a&&(u=="object"||u=="function")}function w(a){return!!a&&(typeof a=="undefined"?"undefined":i(a))=="object"}function s(a){return(typeof a=="undefined"?"undefined":i(a))=="symbol"||w(a)&&p.call(a)==f}function b(a){if(typeof a=="number")return a;if(s(a))return r;if(m(a)){var u=typeof a.valueOf=="function"?a.valueOf():a;a=m(u)?u+"":u}if(typeof a!="string")return a===0?a:+a;a=a.replace(z,"");var d=X.test(a);return d||B.test(a)?F(a.slice(2),d?2:8):O.test(a)?r:+a}var i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},y="Expected a function",r=NaN,f="[object Symbol]",z=/^\s+|\s+$/g,O=/^[-+]0x[0-9a-f]+$/i,X=/^0b[01]+$/i,B=/^0o[0-7]+$/i,F=parseInt,K=(typeof n=="undefined"?"undefined":i(n))=="object"&&n&&n.Object===Object&&n,C=(typeof self=="undefined"?"undefined":i(self))=="object"&&self&&self.Object===Object&&self,S=K||C||Function("return this")(),Z=Object.prototype,p=Z.toString,_=Math.max,P=Math.min,t=function(){return S.Date.now()};h.exports=l}).call(e,function(){return this}())},function(h,e){(function(n){"use strict";function o(t,a,u){function d(g){var c=E,j=M;return E=M=void 0,q=g,T=t.apply(j,c)}function x(g){return q=g,k=setTimeout(W,a),H?d(g):T}function A(g){var c=g-v,j=g-q,$=a-c;return Y?_($,N-j):$}function D(g){var c=g-v,j=g-q;return v===void 0||c>=a||c<0||Y&&j>=N}function W(){var g=P();return D(g)?I(g):void(k=setTimeout(W,A(g)))}function I(g){return k=void 0,L&&E?d(g):(E=M=void 0,T)}function Q(){k!==void 0&&clearTimeout(k),q=0,E=v=M=k=void 0}function R(){return k===void 0?T:I(P())}function G(){var g=P(),c=D(g);if(E=arguments,M=this,v=g,c){if(k===void 0)return x(v);if(Y)return k=setTimeout(W,a),d(v)}return k===void 0&&(k=setTimeout(W,a)),T}var E,M,N,T,k,v,q=0,H=!1,Y=!1,L=!0;if(typeof t!="function")throw new TypeError(i);return a=s(a)||0,l(u)&&(H=!!u.leading,Y="maxWait"in u,N=Y?p(s(u.maxWait)||0,a):N,L="trailing"in u?!!u.trailing:L),G.cancel=Q,G.flush=R,G}function l(t){var a=typeof t=="undefined"?"undefined":b(t);return!!t&&(a=="object"||a=="function")}function m(t){return!!t&&(typeof t=="undefined"?"undefined":b(t))=="object"}function w(t){return(typeof t=="undefined"?"undefined":b(t))=="symbol"||m(t)&&Z.call(t)==r}function s(t){if(typeof t=="number")return t;if(w(t))return y;if(l(t)){var a=typeof t.valueOf=="function"?t.valueOf():t;t=l(a)?a+"":a}if(typeof t!="string")return t===0?t:+t;t=t.replace(f,"");var u=O.test(t);return u||X.test(t)?B(t.slice(2),u?2:8):z.test(t)?y:+t}var b=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i="Expected a function",y=NaN,r="[object Symbol]",f=/^\s+|\s+$/g,z=/^[-+]0x[0-9a-f]+$/i,O=/^0b[01]+$/i,X=/^0o[0-7]+$/i,B=parseInt,F=(typeof n=="undefined"?"undefined":b(n))=="object"&&n&&n.Object===Object&&n,K=(typeof self=="undefined"?"undefined":b(self))=="object"&&self&&self.Object===Object&&self,C=F||K||Function("return this")(),S=Object.prototype,Z=S.toString,p=Math.max,_=Math.min,P=function(){return C.Date.now()};h.exports=o}).call(e,function(){return this}())},function(h,e){"use strict";function n(b){var i=void 0,y=void 0,r=void 0;for(i=0;i<b.length;i+=1)if(y=b[i],y.dataset&&y.dataset.aos||(r=y.children&&n(y.children)))return!0;return!1}function o(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function l(){return!!o()}function m(b,i){var y=window.document,r=o(),f=new r(w);s=i,f.observe(y.documentElement,{childList:!0,subtree:!0,removedNodes:!0})}function w(b){b&&b.forEach(function(i){var y=Array.prototype.slice.call(i.addedNodes),r=Array.prototype.slice.call(i.removedNodes),f=y.concat(r);if(n(f))return s()})}Object.defineProperty(e,"__esModule",{value:!0});var s=function(){};e.default={isSupported:l,ready:m}},function(h,e){"use strict";function n(y,r){if(!(y instanceof r))throw new TypeError("Cannot call a class as a function")}function o(){return navigator.userAgent||navigator.vendor||window.opera||""}Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function y(r,f){for(var z=0;z<f.length;z++){var O=f[z];O.enumerable=O.enumerable||!1,O.configurable=!0,"value"in O&&(O.writable=!0),Object.defineProperty(r,O.key,O)}}return function(r,f,z){return f&&y(r.prototype,f),z&&y(r,z),r}}(),m=/(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( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,w=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|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|nd)|craw|da(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|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|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(no|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|me(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)|ne((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|uc)|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|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|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 |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,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( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i,b=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|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|nd)|craw|da(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|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|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(no|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|me(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)|ne((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|uc)|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|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|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 |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,i=function(){function y(){n(this,y)}return l(y,[{key:"phone",value:function(){var r=o();return!(!m.test(r)&&!w.test(r.substr(0,4)))}},{key:"mobile",value:function(){var r=o();return!(!s.test(r)&&!b.test(r.substr(0,4)))}},{key:"tablet",value:function(){return this.mobile()&&!this.phone()}}]),y}();e.default=new i},function(h,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(l,m,w){var s=l.node.getAttribute("data-aos-once");m>l.position?l.node.classList.add("aos-animate"):typeof s!="undefined"&&(s==="false"||!w&&s!=="true")&&l.node.classList.remove("aos-animate")},o=function(l,m){var w=window.pageYOffset,s=window.innerHeight;l.forEach(function(b,i){n(b,s+w,m)})};e.default=o},function(h,e,n){"use strict";function o(s){return s&&s.__esModule?s:{default:s}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(12),m=o(l),w=function(s,b){return s.forEach(function(i,y){i.node.classList.add("aos-init"),i.position=(0,m.default)(i.node,b.offset)}),s};e.default=w},function(h,e,n){"use strict";function o(s){return s&&s.__esModule?s:{default:s}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(13),m=o(l),w=function(s,b){var i=0,y=0,r=window.innerHeight,f={offset:s.getAttribute("data-aos-offset"),anchor:s.getAttribute("data-aos-anchor"),anchorPlacement:s.getAttribute("data-aos-anchor-placement")};switch(f.offset&&!isNaN(f.offset)&&(y=parseInt(f.offset)),f.anchor&&document.querySelectorAll(f.anchor)&&(s=document.querySelectorAll(f.anchor)[0]),i=(0,m.default)(s).top,f.anchorPlacement){case"top-bottom":break;case"center-bottom":i+=s.offsetHeight/2;break;case"bottom-bottom":i+=s.offsetHeight;break;case"top-center":i+=r/2;break;case"bottom-center":i+=r/2+s.offsetHeight;break;case"center-center":i+=r/2+s.offsetHeight/2;break;case"top-top":i+=r;break;case"bottom-top":i+=s.offsetHeight+r;break;case"center-top":i+=s.offsetHeight/2+r}return f.anchorPlacement||f.offset||isNaN(b)||(y=b),i+y};e.default=w},function(h,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(o){for(var l=0,m=0;o&&!isNaN(o.offsetLeft)&&!isNaN(o.offsetTop);)l+=o.offsetLeft-(o.tagName!="BODY"?o.scrollLeft:0),m+=o.offsetTop-(o.tagName!="BODY"?o.scrollTop:0),o=o.offsetParent;return{top:m,left:l}};e.default=n},function(h,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(o){return o=o||document.querySelectorAll("[data-aos]"),Array.prototype.map.call(o,function(l){return{node:l}})};e.default=n}])})});var ta=da(aa());import{useEffect as sa}from"react";function la(){return sa(()=>{ta.default.init({duration:1e3,offset:0,once:!0})},[]),null}export{la as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as c}from"./chunk-BZAYEKYC.mjs";import{a as f}from"./chunk-WKD2UQGO.mjs";import{b as s}from"./chunk-
|
|
1
|
+
import{a as c}from"./chunk-BZAYEKYC.mjs";import{a as f}from"./chunk-WKD2UQGO.mjs";import{b as s}from"./chunk-FIBF6KMI.mjs";import{a as i}from"./chunk-HPMMYTRI.mjs";import{a as l}from"./chunk-DESYC5BB.mjs";import{a as r}from"./chunk-C5XNOZXC.mjs";import{a}from"./chunk-WU3JMLSC.mjs";import{Observer as p}from"tailwindcss-intersect";import{useEffect as g}from"react";import{jsx as t,jsxs as b}from"react/jsx-runtime";function d({...e}){let o=e.page;console.log("page",o.layout);let{contentWithIds:n,tableOfContents:m}=r(o);return console.log("contentWithIds",n),g(()=>{p.start()},[]),b("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:[t(l,{isMenuOpen:!0,logoLight:c,logoDark:a}),t(s,{...e.hero}),t(f,{edit:e.edit,pageId:e.page.id,tableOfContents:m,relatedContent:e.relatedContent,children:t(i,{blocks:n})})]})}export{d as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as l}from"./chunk-
|
|
1
|
+
import{a as l}from"./chunk-MNLXTN7B.mjs";import{a as n}from"./chunk-UESKYRNK.mjs";import{a as m}from"./chunk-NIQ4466A.mjs";import t from"next/image";import{jsx as e,jsxs as i}from"react/jsx-runtime";function u(o){let{images:a,sectionHeading:c,keyPoints:d,description:s}=o;return e("section",{id:"about-section",className:m("section-padding-primary",o.className||""),children:e(n,{children:i("div",{className:"grid items-center gap-12 lg:grid-cols-[.92fr_1fr] 2xl:gap-20",children:[i("div",{className:"lg:order-2","data-aos":"fade-left","data-aos-delay":"200",children:[e(l,{...c}),d&&d.length>0&&e("div",{className:"mt-7 grid gap-5 text-accent sm:grid-cols-2 md:mt-10 md:gap-[1.875rem]",children:d.map((r,g)=>i("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:[e("span",{className:"duration flex-none scale-100 transition-transform ease-linear group-hover:scale-90",children:r.icon}),e("h3",{className:"text-md font-bold leading-[1.25] md:text-lg",children:r.title})]},g))}),s&&e("p",{className:"mt-5 md:mt-[1.875rem]",children:s})]}),a&&e("div",{className:"mx-auto text-center",children:i("div",{className:"relative mx-auto grid max-w-[580px] grid-cols-2 gap-2.5 overflow-hidden",children:[e("div",{className:"relative flex justify-end overflow-hidden",children:e("div",{className:"relative z-[2] mt-auto","data-aos":"fade-up","data-aos-delay":"200",children:e("div",{className:"relative z-[4] overflow-hidden",children:e(t,{src:a.image1.src,alt:a.image1.alt,width:a.image1.width,height:a.image1.height,className:"rounded-tl-[60px] object-cover object-top"})})})}),e("div",{className:"flex overflow-hidden",children:e(t,{src:a.image2.src,alt:a.image2.alt,width:a.image2.width,height:a.image2.height,className:"rounded-[80px_10px] object-cover","data-aos":"fade-right","data-aos-delay":"300"})}),e("div",{className:"ml-auto flex max-w-[250px] justify-end overflow-hidden",children:e(t,{src:a.image3.src,alt:a.image4.alt,width:a.image3.width,height:a.image3.height,className:"rounded-[50px_10px] object-cover","data-aos":"fade-left","data-aos-delay":"350"})}),e("div",{className:"overflow-hidden",children:e(t,{src:a.image4.src,alt:a.image4.alt,width:a.image4.width,height:a.image4.height,className:"rounded-10 rounded-br-[80px] object-cover","data-aos":"fade-right","data-aos-delay":"400"})}),e("div",{className:"absolute left-1/2 top-1/2 z-[4] -translate-x-1/2 -translate-y-1/2 overflow-hidden",children:e("div",{"data-aos":"zoom-in","data-aos-delay":"450",children:e("span",{className:"grid h-[100px] w-[100px] place-items-center rounded-full border-[12px] border-white bg-accent text-[30px] text-white",children:e("svg",{width:"1em",height:"1em",viewBox:"0 0 27 27",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:e("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"})})})})})]})})]})})})}export{u as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as
|
|
4
|
+
import{a as f}from"./chunk-CTKUF2I6.mjs";import{a as p}from"./chunk-NOEITQK2.mjs";import{a as C}from"./chunk-EG6XIOOJ.mjs";import{b as v}from"./chunk-BDX257W2.mjs";import{a as i}from"./chunk-NIQ4466A.mjs";import{Formik as x}from"formik";import{FaUser as w}from"react-icons/fa6";import*as m from"yup";import{toast as b}from"sonner";import{jsx as e,jsxs as n}from"react/jsx-runtime";var s={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},L=m.object().shape({name:m.string().min(2,s.tooShort).max(50,s.tooLong).required(s.required),email:m.string().email(s.email).required(s.required),subject:m.string().min(2,s.tooShort).max(50,s.tooLong).required(s.required),message:m.string().min(2,s.tooShort).max(300,s.tooLong).required(s.required)}),u=i("!pr-[44px]"),g=i("!border-red-600 border"),d=i("sr-only");function U(){return e(x,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:L,onSubmit:async(a,{resetForm:t})=>{let o=await f(a);o.data===null?b.error(o.message):(b.success(o.message),t())},children:({errors:a,touched:t,values:o,handleChange:r,handleBlur:c,isSubmitting:l,handleSubmit:h})=>n("form",{onSubmit:h,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[n("div",{children:[e(p,{placeholder:"Your Name",type:"text",name:"name",value:o.name,onChange:r,onBlur:c,disabled:l,icon:e(w,{}),className:i(u,a.name&&t.name&&g)}),a.name&&t.name&&e("p",{title:a.name,"aria-live":"polite",role:"error message",className:d,children:a.name})]}),n("div",{children:[e(p,{placeholder:"Your Email",type:"email",name:"email",value:o.email,onChange:r,onBlur:c,disabled:l,icon:e(N,{}),className:i(u,a.email&&t.email&&g)}),a.email&&t.email&&e("p",{title:a.email,"aria-live":"polite",role:"error message",className:d,children:a.email})]}),n("div",{className:"lg:col-span-2",children:[e(p,{placeholder:"Subject",type:"text",name:"subject",value:o.subject,onChange:r,onBlur:c,disabled:l,className:i(u,a.subject&&t.subject&&g)}),a.subject&&t.subject&&e("p",{title:a.subject,"aria-live":"polite",role:"error message",className:d,children:a.subject})]}),n("div",{className:"lg:col-span-2",children:[e(C,{placeholder:"Write Message...",name:"message",value:o.message,onChange:r,onBlur:c,disabled:l,icon:e(S,{}),className:i(u,a.message&&t.message&&g)}),a.message&&t.message&&e("p",{title:a.message,"aria-live":"polite",role:"error message",className:d,children:a.message})]}),e("div",{className:"lg:col-span-2",children:e(v,{type:"submit",className:"w-full outline outline-accent bg-accent text-accent-foreground hover:bg-white hover:text-accent",disabled:l,children:e("span",{children:"SEND"})})})]})})}function N(){return e("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:e("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 S(){return e("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:e("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"})})}export{U as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as
|
|
4
|
+
import{a as m}from"./chunk-NIQ4466A.mjs";import Q from"next/image";import{jsx as B}from"react/jsx-runtime";var u={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},w="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=",h=d=>{let{alt:p,fill:t,imgClassName:I,priority:C,resource:g,size:r,src:D,loading:F}=d,i,o,l=p,a=D||"";if(!a&&g&&typeof g=="object"){let{alt:e,filename:y,height:A,url:P,width:s}=g;if(A&&A>500){let c=500/A;i=s*c,o=A*c}else i=s,o=A;l=e||"",a=P||w}let n=F||"lazy",M=r||Object.entries(u).map(([,e])=>`(max-width: ${e}px) ${e*2}w`).join(", ");return B("picture",{children:B(Q,{alt:l||"",className:m(I),fill:t,height:t?void 0:o,placeholder:"blur",blurDataURL:w,priority:n!=="lazy"&&C,quality:100,loading:n,sizes:M,src:a,width:t?void 0:i})})};export{h as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{e as c}from"./chunk-
|
|
4
|
+
import{e as c}from"./chunk-L7YJN6PG.mjs";import{a as o}from"./chunk-44VMK4FL.mjs";import{a as s}from"./chunk-FCCL6W7R.mjs";import p from"next/image";import{jsx as e,jsxs as a}from"react/jsx-runtime";var y=({links:r,media:t,children:m,richText:i})=>a("div",{className:"relative -mt-[10.4rem] flex items-end justify-center text-white","data-theme":"dark",children:[e("div",{className:"container mt-[20rem] mb-8 z-10 relative flex items-end justify-center",children:a("div",{className:"text-center container",children:[m||i&&e(c,{className:"mb-6 prose prose-h1:text-5xl prose-headings:text-foreground prose-p:text-foreground",content:i,enableGutter:!0}),Array.isArray(r)&&r.length>0&&e("ul",{className:"flex justify-center gap-4",children:r.map(({link:n},l)=>e("li",{children:e(o,{...n})},l))})]})}),a("div",{className:"min-h-96 select-none",children:[t&&typeof t=="object"&&e(s,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&e("div",{children:e(p,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),e("span",{className:"absolute inset-0 bg-gradient-1 from-white/0 to-white dark:from-background/0 dark:to-background"})]})]});export{y as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as
|
|
4
|
+
import{a as g}from"./chunk-XB5WL3OT.mjs";import{a as v}from"./chunk-Y74ENEUN.mjs";import{a as y}from"./chunk-IJCMUPNH.mjs";import{a as f}from"./chunk-ZSUPFOXY.mjs";import{useState as N}from"react";import{ChevronDown as q}from"lucide-react";import{CalendarDays as P,Grid as R,PlusCircle as k,CheckSquare as A}from"lucide-react";import{useRouter as V}from"next/navigation";import{format as S,parseISO as H}from"date-fns";import{jsx as r,jsxs as t}from"react/jsx-runtime";function b(...s){return s.filter(Boolean).join(" ")}function z({holidays:s,currentUser:o,currentDate:h,leaveApprovals:x,employees:w,submitLeaveRequest:n,approveLeave:i,rejectLeave:m}){let[a,d]=N("Calendar View"),L=V(),C=!1,c=H(h),l=async e=>{let D=S(e,"dd-MM-yyyy"),p=new URL(window.location.href);return p.searchParams.set("date",D),L.push(p.toString()),{success:!0}};if(C)return r("div",{className:"flex justify-center items-center h-screen",children:r("div",{className:"animate-spin rounded-full h-32 w-32 border-t-2 border-b-2 border-gray-900"})});let u=[{name:"Grid View",icon:R,current:a==="Grid View"},{name:"Calendar View",icon:P,current:a==="Calendar View"},{name:"Request Leave",icon:k,current:a==="Request Leave"},{name:"Approve Leave",icon:A,current:a==="Approve Leave"}];return t("div",{className:"container fixed mx-auto p-4",children:[t("div",{className:"mb-8",children:[t("div",{className:"sm:hidden",children:[r("select",{value:a,onChange:e=>d(e.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 sm:text-sm",children:u.map(e=>r("option",{children:e.name},e.name))}),r(q,{className:"pointer-events-none absolute right-3 top-3 h-5 w-5 text-gray-400","aria-hidden":"true"})]}),r("div",{className:"hidden sm:block",children:r("div",{className:"border-b border-gray-200",children:r("nav",{className:"-mb-px flex space-x-8","aria-label":"Tabs",children:u.map(e=>t("a",{onClick:()=>{(e.name!=="Approve Leave"||o.grade==="Manager"||o.grade==="Senior Manager"||o.grade==="Partner")&&d(e.name)},className:b(e.current?"border-accent text-accent":"border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700",e.name==="Approve Leave"&&o.grade!=="Manager"&&o.grade!=="Senior Manager"&&o.grade!=="Partner"?"cursor-not-allowed opacity-50":"","group inline-flex items-center border-b-2 py-4 px-1 text-sm font-medium"),"aria-current":e.current?"page":void 0,children:[r(e.icon,{className:b(e.current?"text-accent":"text-gray-400 group-hover:text-gray-500","-ml-0.5 mr-2 h-5 w-5"),"aria-hidden":"true"}),r("span",{children:e.name})]},e.name))})})})]}),a==="Grid View"&&r(f,{currentDate:c,setCurrentDate:l,holidays:s,employees:w}),a==="Calendar View"&&r(y,{currentDate:c,setCurrentDate:l,holidays:s}),a==="Request Leave"&&r(g,{remainingDays:o.remainingLeaveDays,submitLeaveRequest:e=>n?n(e):Promise.resolve({success:!1,message:"Submit leave request function not provided"})}),a==="Approve Leave"&&r(v,{leaveRequests:x,onApprove:e=>i?i(e):Promise.resolve({success:!1,message:"Approve leave request function not provided"}),onReject:e=>m?m(e):Promise.resolve({success:!1,message:"Reject leave request function not provided"})})]})}export{z as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as x}from"./chunk-KML6U7IE.mjs";import{a as k}from"./chunk-TXXFXCXB.mjs";import{e as P}from"./chunk-
|
|
1
|
+
import{a as x}from"./chunk-KML6U7IE.mjs";import{a as k}from"./chunk-TXXFXCXB.mjs";import{e as P}from"./chunk-L7YJN6PG.mjs";import{a as c,b as h,c as C,e as p}from"./chunk-D76EO57Z.mjs";import{b as v}from"./chunk-BDX257W2.mjs";import{a as b}from"./chunk-WISCWNL2.mjs";import{a as N}from"./chunk-UESKYRNK.mjs";import L from"next/image";import{notFound as M}from"next/navigation";import I from"next/link";import{jsx as t,jsxs as o}from"react/jsx-runtime";function T({image:a,name:r,about:m,socialLinks:n}){return!a||!a.src||a.src.length<3||!r?null:t("div",{className:"mt-1 z-10 px-0 pt-0 lg:px-10",children:t(c,{children:o(p,{children:[a&&a.src&&t(L,{src:a.src,alt:a.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:x,className:"mx-auto mt-6 rounded-full object-cover"}),t("h3",{className:"font-secondary text-center py-2 text-lg leading-[1.25] text-accent md:text-xl",children:r}),t("p",{children:m}),n&&n.length>0&&t("nav",{"aria-label":"social links",children:t("ul",{className:"inline-flex items-center divide-x divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:n.map((e,s)=>t("li",{children:t(b,{href:e.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 hover:text-accents",children:t("span",{children:e.icon})})},s))})})]})})})}function j({page:a,categoryList:r,edit:m=!1,path:n="/admin/collections/posts/"}){var g;if(!a)return M();let{meta:e,populatedAuthors:s,authors:d,categories:y,content:U,title:w}=a,z={image:{src:e&&e.image&&e.image.url||void 0,alt:e&&e.image&&e.image.alt||void 0},authorName:((g=s==null?void 0:s[0])==null?void 0:g.name)||"",category:y,commentCount:0,title:w,description:(e==null?void 0:e.description)||""},u=d==null?void 0:d.map(i=>{var l,f;return{name:i.name||"",about:"",image:{src:i.profilePicture&&((f=(l=i.profilePicture.sizes)==null?void 0:l.square)==null?void 0:f.url)||"",alt:i.name||"blog author"},socialLinks:[]}});return t(N,{children:o("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[t("div",{children:o("div",{className:"[&_p+P]:mt-4",children:[t("div",{className:"my-4 h-px bg-body/30 lg:my-5"}),t(P,{content:U,enableGutter:!1})]})}),o("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:[m&&t("div",{className:"mt-4 lg:-mt-10 z-10 px-0 pt-0 lg:px-10",children:o(c,{children:[t(h,{children:t(C,{className:"text-accent",children:"Content Actions"})}),o(p,{children:[t("p",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),t(I,{href:`${n}${a.id}`,children:t(v,{variant:"outline",className:"w-full text-accent hover:text-foreground",children:"Edit"})})]})]})}),u&&u.map((i,l)=>t(T,{...i},l)),r&&r.links&&t("div",{className:"mt-4 px-0 pt-0 lg:px-10",children:t(k,{links:r.links,title:r.title})})]})]})})}export{j as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as d}from"./chunk-SV7NMNDI.mjs";import{a as p}from"./chunk-
|
|
1
|
+
import{a as d}from"./chunk-SV7NMNDI.mjs";import{a as p}from"./chunk-MNLXTN7B.mjs";import{a as n}from"./chunk-WISCWNL2.mjs";import{c}from"./chunk-YNNW2C2U.mjs";import{a as m}from"./chunk-UESKYRNK.mjs";import{a as o}from"./chunk-NIQ4466A.mjs";import g from"next/image";import{FaArrowRight as x}from"react-icons/fa6";import{jsx as e,jsxs as i}from"react/jsx-runtime";function _({blogs:a,sectionHeading:t}){return e("section",{className:o("section-padding-primary overflow-hidden "),children:i(m,{children:[e("div",{className:"mx-auto max-w-[630px]",children:t&&e("div",{"data-aos":"fade-up","data-aos-delay":"100",children:e(p,{...t,alignment:"center",hasBottomSpacing:!0})})}),a&&a.length>0&&e("div",{className:"-mx-4 flex flex-wrap justify-center gap-y-30px",children:a.map((l,r)=>e("div",{"data-aos":"fade-up","data-aos-delay":d([200,400,600],r),className:"w-full px-4 md:w-1/2 md:px-[15px] lg:w-1/3",children:e(u,{...l})},r))})]})})}var f=o("inline-flex items-center gap-2 text-white"),z=o("text-sm text-white");function u({slug:a,image:t,authors:l,title:r,publishedAt:s,categories:v}){return i("article",{className:"group/blog relative z-1 flex h-full min-h-[452px] flex-col overflow-hidden rounded-5 p-0",children:[e("span",{className:"absolute inset-0 z-[2] "}),e(g,{src:t.src,alt:t.alt,fill:!0,sizes:`
|
|
2
2
|
(min-width:768px) 50vw,
|
|
3
3
|
(min-width:1024px) 33vw,
|
|
4
4
|
100vw
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as p}from"./chunk-
|
|
1
|
+
import{a as p}from"./chunk-MGS3DQ22.mjs";import{a as i}from"./chunk-NIQ4466A.mjs";import{jsx as o}from"react/jsx-runtime";var c=s=>{let{posts:r}=s;return o("div",{className:i("container"),children:o("div",{children:o("div",{className:"grid grid-cols-4 sm:grid-cols-8 lg:grid-cols-12 gap-y-4 gap-x-4 lg:gap-y-8 lg:gap-x-8 xl:gap-x-8",children:r==null?void 0:r.map((a,t)=>typeof a=="object"&&a!==null?o("div",{className:"col-span-4",children:o(p,{className:"h-full",doc:a,relationTo:"posts",showCategories:!0})},t):null)})})})};export{c as a};
|