cortex-react-components 1.51.4 → 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-N6PIPF2S.mjs → chunk-2FDK3K3W.mjs} +1 -1
- package/dist/chunk-4QEWBUVW.mjs +2 -0
- package/dist/{chunk-JH5QRN2H.mjs → chunk-ANBHH4VA.mjs} +1 -1
- package/dist/{chunk-5YTZGM3C.mjs → chunk-AOM6WKTN.mjs} +1 -1
- package/dist/{chunk-2IKC7MAP.mjs → chunk-KB6PO4K4.mjs} +1 -1
- package/dist/{chunk-23BDC5JG.mjs → chunk-KIICLHKI.mjs} +1 -1
- package/dist/{chunk-FEBBHXAP.mjs → chunk-KZR5SK2K.mjs} +1 -1
- package/dist/chunk-P2XZI7A4.mjs +6 -0
- package/dist/{chunk-QMFZRG7O.mjs → chunk-PY53YVFX.mjs} +1 -1
- package/dist/{chunk-SLJD7B75.mjs → chunk-QHA556PO.mjs} +2 -2
- package/dist/{chunk-VW3DZPRR.mjs → chunk-RJFBQZFX.mjs} +1 -1
- package/dist/{chunk-IO222G5L.mjs → chunk-SBAFXZVU.mjs} +1 -1
- package/dist/{chunk-22FHCZJD.mjs → chunk-SPOYKTBR.mjs} +1 -1
- package/dist/{chunk-DIPGFDJV.mjs → chunk-VLUAFB54.mjs} +1 -1
- package/dist/components/Blocks/Banner.mjs +1 -1
- package/dist/components/Blocks/CallToAction.mjs +1 -1
- package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
- package/dist/components/Blocks/CaseStudy.mjs +1 -1
- package/dist/components/Blocks/CaseStudy.stories.mjs +1 -1
- package/dist/components/Blocks/Code.client.mjs +1 -1
- package/dist/components/Blocks/Code.mjs +1 -1
- package/dist/components/Blocks/ConsultantProfile.mjs +1 -1
- package/dist/components/Blocks/ConsultantProfile.stories.mjs +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/Content.stories.mjs +1 -1
- package/dist/components/Blocks/CopyButton.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
- package/dist/components/Blocks/ProposalSummary.mjs +1 -1
- package/dist/components/Blocks/ProposalSummary.stories.mjs +1 -1
- package/dist/components/Blocks/RelatedPosts.mjs +1 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/CRM/DealCard.mjs +1 -1
- package/dist/components/CRM/DealCard.stories.mjs +1 -1
- package/dist/components/CRM/DealDetails.mjs +1 -1
- package/dist/components/CRM/DealDetails.stories.mjs +1 -1
- package/dist/components/CRM/KanbanBoard.mjs +1 -1
- package/dist/components/CRM/KanbanBoard.stories.mjs +1 -1
- package/dist/components/CRM/KanbanColumn.mjs +1 -1
- package/dist/components/CRM/KanbanColumn.stories.mjs +1 -1
- package/dist/components/CRM/NewCustomerForm.mjs +1 -1
- package/dist/components/CRM/NewCustomerForm.stories.mjs +1 -1
- package/dist/components/CRM/NewDealForm.mjs +1 -1
- package/dist/components/CRM/NewDealForm.stories.mjs +1 -1
- package/dist/components/CRM/index.mjs +1 -1
- package/dist/components/Cards/ContentCard.mjs +1 -1
- package/dist/components/Cards/ContentCard.stories.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.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.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.mjs +1 -1
- package/dist/components/Heros/LowImpact/index.mjs +1 -1
- package/dist/components/Heros/MediumImpact/index.mjs +1 -1
- package/dist/components/Heros/PostHero/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/SectionHero/index.mjs +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.mjs +1 -1
- 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/Link/index.mjs +1 -1
- package/dist/components/Payload/Pagination/index.mjs +1 -1
- package/dist/components/Payload/RichText/index.mjs +1 -1
- package/dist/components/Payload/RichText/serialize.mjs +1 -1
- package/dist/components/Payload/RichText.stories.mjs +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/index.js +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/images/hero/hero-3.mjs +1 -1
- package/dist/index.js +9 -9
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/pages/Blog.mjs +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.mjs +1 -1
- package/dist/pages/Page.stories.mjs +1 -1
- package/dist/pages/Printable.stories.js +5 -9
- package/dist/pages/Printable.stories.mjs +1 -1
- package/dist/pages/Publish.js +5 -9
- package/dist/pages/Publish.mjs +1 -1
- package/dist/pages/Publish.stories.js +5 -9
- package/dist/pages/Publish.stories.mjs +1 -1
- package/dist/pages/Website.mjs +1 -1
- package/dist/pages/Website.stories.mjs +1 -1
- package/dist/sections/AboutSection.mjs +1 -1
- package/dist/sections/AboutSection.stories.mjs +1 -1
- package/dist/sections/BlogDetail.mjs +1 -1
- package/dist/sections/BlogDetail.stories.mjs +1 -1
- package/dist/sections/BlogListSection.mjs +1 -1
- package/dist/sections/BlogListSection.stories.mjs +1 -1
- package/dist/sections/ContactSection.mjs +1 -1
- package/dist/sections/ContactSection.stories.mjs +1 -1
- package/dist/sections/ImageSection.mjs +1 -1
- package/dist/sections/ImageSection.stories.mjs +1 -1
- package/dist/sections/MainPageSection.mjs +1 -1
- package/dist/sections/PricingSection.mjs +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.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 +1 -1
- package/dist/chunk-COURVNHG.mjs +0 -2
- package/dist/chunk-LBOKY4QT.mjs +0 -6
- package/dist/chunk-X6QN5C6U.mjs +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as e,d as a}from"../chunk-UXX4Q6IQ.mjs";import{a as t}from"../chunk-
|
|
1
|
+
import{c as e,d as a}from"../chunk-UXX4Q6IQ.mjs";import{a as t}from"../chunk-ANBHH4VA.mjs";import"../chunk-QHA556PO.mjs";import"../chunk-P2XZI7A4.mjs";import"../chunk-4QEWBUVW.mjs";import"../chunk-AUBKJ4XO.mjs";import"../chunk-6YV7RK6Q.mjs";import"../chunk-NRL4U42W.mjs";import"../chunk-ZIWHUQ4D.mjs";import"../chunk-6LKCK2EH.mjs";import"../chunk-L2CGDHVO.mjs";import"../chunk-YRJ7YWPV.mjs";import"../chunk-CSWXKGJE.mjs";import"../chunk-7DINW2AE.mjs";import"../chunk-XGNF75KY.mjs";import"../chunk-XB5WL3OT.mjs";import"../chunk-Y74ENEUN.mjs";import"../chunk-IJCMUPNH.mjs";import"../chunk-ZSUPFOXY.mjs";import"../chunk-X5KZKO2V.mjs";import"../chunk-VZWV4G25.mjs";import"../chunk-IQ7LAP7P.mjs";import"../chunk-G5HD4IFA.mjs";import"../chunk-OWBJTXZL.mjs";import"../chunk-BRYZOZKY.mjs";import"../chunk-NETY6BCN.mjs";import"../chunk-A24EPYUY.mjs";import"../chunk-QKGEV7LG.mjs";import"../chunk-SV7NMNDI.mjs";import"../chunk-FIBF6KMI.mjs";import"../chunk-MNLXTN7B.mjs";import"../chunk-KJ2C7CBU.mjs";import"../chunk-WZLEEZ5C.mjs";import"../chunk-JODGODRI.mjs";import"../chunk-MGZMAVEP.mjs";import"../chunk-WMMLX5GC.mjs";import"../chunk-HJX2VPMY.mjs";import"../chunk-F4V6VUT7.mjs";import"../chunk-TXXFXCXB.mjs";import"../chunk-KSCHUMVE.mjs";import"../chunk-PRUIYGQW.mjs";import"../chunk-H4Y4SZIU.mjs";import"../chunk-7VKHSE4O.mjs";import"../chunk-RBZMFLLA.mjs";import"../chunk-WRPART4J.mjs";import"../chunk-N6EJQZAV.mjs";import"../chunk-HWEPDRG6.mjs";import"../chunk-3LJZCM5A.mjs";import"../chunk-4NKKWJ2X.mjs";import"../chunk-4JC2TJML.mjs";import"../chunk-A5EYIB3V.mjs";import"../chunk-DWRQHV42.mjs";import"../chunk-Y5ZFXDW5.mjs";import"../chunk-SBAFXZVU.mjs";import"../chunk-AWFQEK7A.mjs";import"../chunk-EPTHSTUM.mjs";import"../chunk-53QLSQCO.mjs";import"../chunk-6HFYLEVF.mjs";import"../chunk-R2WQNVEX.mjs";import"../chunk-MGS3DQ22.mjs";import"../chunk-JCH2CCQ7.mjs";import"../chunk-UZ2XYB7D.mjs";import"../chunk-KPIWBWE2.mjs";import"../chunk-2LJVMEWU.mjs";import"../chunk-6P7CY367.mjs";import"../chunk-HPMMYTRI.mjs";import"../chunk-3AA3AMNV.mjs";import"../chunk-FBEB6K6X.mjs";import"../chunk-H7D3PZKE.mjs";import"../chunk-IQPZEEYJ.mjs";import"../chunk-L7YJN6PG.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-44VMK4FL.mjs";import"../chunk-YCX5N23N.mjs";import"../chunk-M6M43TLT.mjs";import"../chunk-FGWIT6CV.mjs";import"../chunk-ZWKWU7U4.mjs";import"../chunk-EY5QX73B.mjs";import"../chunk-2A6JF3LE.mjs";import"../chunk-4YJ3HV64.mjs";import"../chunk-FCCL6W7R.mjs";import"../chunk-WLBZXBU3.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-2NFKSNJW.mjs";import"../chunk-FI4SMRAR.mjs";import"../chunk-5IQPAE6K.mjs";import"../chunk-JWDVKGZL.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-KDGEXDC5.mjs";import"../chunk-VZXLXNVY.mjs";import"../chunk-Y2KKUQDU.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-PY53YVFX.mjs";import"../chunk-3YZN4MJB.mjs";import"../chunk-WNPA7YT3.mjs";import"../chunk-KB6PO4K4.mjs";import"../chunk-Y5VTKEKS.mjs";import"../chunk-CGBVZQYY.mjs";import"../chunk-BSQVKZCW.mjs";import"../chunk-YNCJATT7.mjs";import"../chunk-QOIH63J3.mjs";import"../chunk-OAOCXXC2.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-DRJBYVJB.mjs";import"../chunk-GOMLTG5W.mjs";import"../chunk-DESYC5BB.mjs";import"../chunk-XDP6BKTK.mjs";import"../chunk-3TIFSACL.mjs";import"../chunk-SV3TTIPR.mjs";import"../chunk-ZDPQXVTF.mjs";import"../chunk-CS77R54Z.mjs";import"../chunk-23L5ZJ2U.mjs";import"../chunk-HAYRX2WO.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-YNNW2C2U.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-C5XNOZXC.mjs";import"../chunk-WU3JMLSC.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-CV7PH2KH.mjs";import"../chunk-S7OK7D5I.mjs";import{jsx as l}from"react/jsx-runtime";var u={title:"Example Pages/Print",component:t},n=r=>l(t,{...r}),i={render:n,args:{type:"print",orientation:"portrait",page:{title:"Demo Page 1",hero:a.highImpactSimple,layout:[e.content.oneThirdWithImageThemeShort,e.content.oneThirdWithImageTheme3Collumns,e.content.headerAndTheme3Collumns,e.content.halfWithEmbeddedImage,e.content.media,e.content.boxesWithThreeColumns,{id:"67a74c276365f244c8b6d149",blockName:null,columns:[{id:"67a74ea16365f244c8b6d14b",size:"full",richText:{root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus lacinia odio vitae vestibulum vestibulum. Cras vehicula, libero a pharetra dictum, urna lectus porttitor lacus, at dapibus justo quam vel metus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Sed non velit nec arcu volutpat dignissim in a lorem.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[],direction:null,textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Proin sagittis sem et elit fringilla, nec fringilla eros maximus. Nulla facilisi. Ut sit amet facilisis lectus. Fusce ornare metus at ante tristique, nec elementum eros fermentum. Integer volutpat magna sed justo tincidunt, sit amet aliquam arcu pellentesque. Phasellus imperdiet mi vitae ligula pharetra, a dignissim velit vehicula.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}},enableLink:null,link:{type:"reference",newTab:null,url:null,label:null,appearance:"default"}}],blockType:"content",theme:{settings:{theme:"dark",background:"image",image:{id:1,alt:null,prefix:"media",updatedAt:"2025-02-08T12:27:55.461Z",createdAt:"2025-02-08T12:27:55.461Z",url:"/stock1.jpg",thumbnailURL:"/stock1.jpg",filename:"stock1.jpg",mimeType:"image/jpeg",filesize:346701,width:2190,height:1369,focalX:50,focalY:50,sizes:{thumbnail:{url:"/api/media/file/etpN-LCfCvz_906z2BUPn-300x188.jpg",width:300,height:188,mimeType:"image/jpeg",filesize:15812,filename:"etpN-LCfCvz_906z2BUPn-300x188.jpg"},square:{url:"/api/media/file/etpN-LCfCvz_906z2BUPn-500x500.jpg",width:500,height:500,mimeType:"image/jpeg",filesize:51438,filename:"etpN-LCfCvz_906z2BUPn-500x500.jpg"},small:{url:"/api/media/file/etpN-LCfCvz_906z2BUPn-600x375.jpg",width:600,height:375,mimeType:"image/jpeg",filesize:46315,filename:"etpN-LCfCvz_906z2BUPn-600x375.jpg"},medium:{url:"/api/media/file/etpN-LCfCvz_906z2BUPn-900x563.jpg",width:900,height:563,mimeType:"image/jpeg",filesize:88535,filename:"etpN-LCfCvz_906z2BUPn-900x563.jpg"},large:{url:"/api/media/file/etpN-LCfCvz_906z2BUPn-1400x875.jpg",width:1400,height:875,mimeType:"image/jpeg",filesize:172764,filename:"etpN-LCfCvz_906z2BUPn-1400x875.jpg"},xlarge:{url:"/api/media/file/etpN-LCfCvz_906z2BUPn-1920x1200.jpg",width:1920,height:1200,mimeType:"image/jpeg",filesize:279466,filename:"etpN-LCfCvz_906z2BUPn-1920x1200.jpg"}}}}}},{id:"67a7859083ee5e530f094671",blockName:null,columns:[{id:"67a7859883ee5e530f094673",size:"full",richText:{root:{type:"root",format:"",indent:0,version:1,children:[{tag:"h2",type:"heading",format:"",indent:0,version:1,children:[{mode:"normal",text:"Suspendisse potenti. ",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr"},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Donec malesuada arcu at velit laoreet convallis. Sed at eros vel lacus varius varius nec id metus. Praesent faucibus, orci a varius dapibus, lorem libero convallis est, et consequat libero magna sit amet risus. Maecenas tincidunt erat et felis sodales, nec malesuada sem tincidunt. Duis sed nisl euismod, ullamcorper augue at, rutrum felis.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[],direction:null,textStyle:"",textFormat:0},{tag:"h3",type:"heading",format:"",indent:0,version:1,children:[{mode:"normal",text:"Sed at eros vel lacus varius varius nec id metus. ",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr"},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Praesent faucibus, orci a varius dapibus, lorem libero convallis est, et consequat libero magna sit amet risus. Maecenas tincidunt erat et felis sodales, nec malesuada sem tincidunt. Duis sed nisl euismod, ullamcorper augue at, rutrum felis.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[],direction:null,textStyle:"",textFormat:0},{tag:"h2",type:"heading",format:"",indent:0,version:1,children:[{mode:"normal",text:"Duis sed nisl euismod, ullamcorper augue at.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr"},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Praesent faucibus, orci a varius dapibus, lorem libero convallis est, et consequat libero magna sit amet risus. Maecenas tincidunt erat et felis sodales, nec malesuada sem tincidunt. Duis sed nisl euismod, ullamcorper augue at, rutrum felis.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}},enableLink:null,link:{type:"reference",newTab:null,url:null,label:null,appearance:"default"}}],blockType:"content",theme:{settings:{theme:"default",background:"transparent",image:null,overlay:null}}}]}}},d={args:{...i.args,orientation:"portrait"}},p={args:{...i.args,orientation:"landscape"}},c={args:{...i.args,orientation:"flow"}};export{i as Default,c as Flow,p as Landscape,d as Portrait,u as default};
|
package/dist/pages/Publish.js
CHANGED
|
@@ -2,12 +2,8 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
'use client'
|
|
4
4
|
|
|
5
|
-
"use strict";"use client";var Zt=Object.create;var Oa=Object.defineProperty;var Kt=Object.getOwnPropertyDescriptor;var $t=Object.getOwnPropertyNames;var ao=Object.getPrototypeOf,to=Object.prototype.hasOwnProperty;var oo=(t,a)=>()=>(a||t((a={exports:{}}).exports,a),a.exports),eo=(t,a)=>{for(var o in a)Oa(t,o,{get:a[o],enumerable:!0})},dt=(t,a,o,s)=>{if(a&&typeof a=="object"||typeof a=="function")for(let r of $t(a))!to.call(t,r)&&r!==o&&Oa(t,r,{get:()=>a[r],enumerable:!(s=Kt(a,r))||s.enumerable});return t};var pa=(t,a,o)=>(o=t!=null?Zt(ao(t)):{},dt(a||!t||!t.__esModule?Oa(o,"default",{value:t,enumerable:!0}):o,t)),so=t=>dt(Oa({},"__esModule",{value:!0}),t);var ht=oo((Ia,Qa)=>{"use strict";(function(t,a){typeof Ia=="object"&&typeof Qa=="object"?Qa.exports=a():typeof define=="function"&&define.amd?define([],a):typeof Ia=="object"?Ia.AOS=a():t.AOS=a()})(Ia,function(){return function(t){function a(s){if(o[s])return o[s].exports;var r=o[s]={exports:{},id:s,loaded:!1};return t[s].call(r.exports,r,r.exports,a),r.loaded=!0,r.exports}var o={};return a.m=t,a.c=o,a.p="dist/",a(0)}([function(t,a,o){"use strict";function s(p){return p&&p.__esModule?p:{default:p}}var r=Object.assign||function(p){for(var D=1;D<arguments.length;D++){var L=arguments[D];for(var W in L)Object.prototype.hasOwnProperty.call(L,W)&&(p[W]=L[W])}return p},e=o(1),i=(s(e),o(6)),n=s(i),d=o(7),l=s(d),c=o(8),u=s(c),f=o(9),h=s(f),y=o(10),v=s(y),k=o(11),C=s(k),F=o(14),q=s(F),z=[],J=!1,N={offset:120,delay:0,easing:"ease",duration:400,disable:!1,once:!1,startEvent:"DOMContentLoaded",throttleDelay:99,debounceDelay:50,disableMutationObserver:!1},j=function(){var p=arguments.length>0&&arguments[0]!==void 0&&arguments[0];if(p&&(J=!0),J)return z=(0,C.default)(z,N),(0,v.default)(z,N.once),z},Y=function(){z=(0,q.default)(),j()},g=function(){z.forEach(function(p,D){p.node.removeAttribute("data-aos"),p.node.removeAttribute("data-aos-easing"),p.node.removeAttribute("data-aos-duration"),p.node.removeAttribute("data-aos-delay")})},m=function(p){return p===!0||p==="mobile"&&h.default.mobile()||p==="phone"&&h.default.phone()||p==="tablet"&&h.default.tablet()||typeof p=="function"&&p()===!0},x=function(p){N=r(N,p),z=(0,q.default)();var D=document.all&&!window.atob;return m(N.disable)||D?g():(N.disableMutationObserver||u.default.isSupported()||(console.info(`
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
`),N.disableMutationObserver=!0),document.querySelector("body").setAttribute("data-aos-easing",N.easing),document.querySelector("body").setAttribute("data-aos-duration",N.duration),document.querySelector("body").setAttribute("data-aos-delay",N.delay),N.startEvent==="DOMContentLoaded"&&["complete","interactive"].indexOf(document.readyState)>-1?j(!0):N.startEvent==="load"?window.addEventListener(N.startEvent,function(){j(!0)}):document.addEventListener(N.startEvent,function(){j(!0)}),window.addEventListener("resize",(0,l.default)(j,N.debounceDelay,!0)),window.addEventListener("orientationchange",(0,l.default)(j,N.debounceDelay,!0)),window.addEventListener("scroll",(0,n.default)(function(){(0,v.default)(z,N.once)},N.throttleDelay)),N.disableMutationObserver||u.default.ready("[data-aos]",Y),z)};t.exports={init:x,refresh:j,refreshHard:Y}},function(t,a){},,,,,function(t,a){(function(o){"use strict";function s(m,x,p){function D(R){var Z=T,ma=I;return T=I=void 0,ca=R,U=m.apply(ma,Z)}function L(R){return ca=R,H=setTimeout(aa,x),ua?D(R):U}function W(R){var Z=R-$,ma=R-ca,it=x-Z;return ra?Y(it,ea-ma):it}function V(R){var Z=R-$,ma=R-ca;return $===void 0||Z>=x||Z<0||ra&&ma>=ea}function aa(){var R=g();return V(R)?K(R):void(H=setTimeout(aa,W(R)))}function K(R){return H=void 0,O&&T?D(R):(T=I=void 0,U)}function Q(){H!==void 0&&clearTimeout(H),ca=0,T=$=I=H=void 0}function X(){return H===void 0?U:K(g())}function S(){var R=g(),Z=V(R);if(T=arguments,I=this,$=R,Z){if(H===void 0)return L($);if(ra)return H=setTimeout(aa,x),D($)}return H===void 0&&(H=setTimeout(aa,x)),U}var T,I,ea,U,H,$,ca=0,ua=!1,ra=!1,O=!0;if(typeof m!="function")throw new TypeError(c);return x=d(x)||0,e(p)&&(ua=!!p.leading,ra="maxWait"in p,ea=ra?j(d(p.maxWait)||0,x):ea,O="trailing"in p?!!p.trailing:O),S.cancel=Q,S.flush=X,S}function r(m,x,p){var D=!0,L=!0;if(typeof m!="function")throw new TypeError(c);return e(p)&&(D="leading"in p?!!p.leading:D,L="trailing"in p?!!p.trailing:L),s(m,x,{leading:D,maxWait:x,trailing:L})}function e(m){var x=typeof m=="undefined"?"undefined":l(m);return!!m&&(x=="object"||x=="function")}function i(m){return!!m&&(typeof m=="undefined"?"undefined":l(m))=="object"}function n(m){return(typeof m=="undefined"?"undefined":l(m))=="symbol"||i(m)&&N.call(m)==f}function d(m){if(typeof m=="number")return m;if(n(m))return u;if(e(m)){var x=typeof m.valueOf=="function"?m.valueOf():m;m=e(x)?x+"":x}if(typeof m!="string")return m===0?m:+m;m=m.replace(h,"");var p=v.test(m);return p||k.test(m)?C(m.slice(2),p?2:8):y.test(m)?u:+m}var l=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(m){return typeof m}:function(m){return m&&typeof Symbol=="function"&&m.constructor===Symbol&&m!==Symbol.prototype?"symbol":typeof m},c="Expected a function",u=NaN,f="[object Symbol]",h=/^\s+|\s+$/g,y=/^[-+]0x[0-9a-f]+$/i,v=/^0b[01]+$/i,k=/^0o[0-7]+$/i,C=parseInt,F=(typeof o=="undefined"?"undefined":l(o))=="object"&&o&&o.Object===Object&&o,q=(typeof self=="undefined"?"undefined":l(self))=="object"&&self&&self.Object===Object&&self,z=F||q||Function("return this")(),J=Object.prototype,N=J.toString,j=Math.max,Y=Math.min,g=function(){return z.Date.now()};t.exports=r}).call(a,function(){return this}())},function(t,a){(function(o){"use strict";function s(g,m,x){function p(O){var R=S,Z=T;return S=T=void 0,$=O,ea=g.apply(Z,R)}function D(O){return $=O,U=setTimeout(V,m),ca?p(O):ea}function L(O){var R=O-H,Z=O-$,ma=m-R;return ua?j(ma,I-Z):ma}function W(O){var R=O-H,Z=O-$;return H===void 0||R>=m||R<0||ua&&Z>=I}function V(){var O=Y();return W(O)?aa(O):void(U=setTimeout(V,L(O)))}function aa(O){return U=void 0,ra&&S?p(O):(S=T=void 0,ea)}function K(){U!==void 0&&clearTimeout(U),$=0,S=H=T=U=void 0}function Q(){return U===void 0?ea:aa(Y())}function X(){var O=Y(),R=W(O);if(S=arguments,T=this,H=O,R){if(U===void 0)return D(H);if(ua)return U=setTimeout(V,m),p(H)}return U===void 0&&(U=setTimeout(V,m)),ea}var S,T,I,ea,U,H,$=0,ca=!1,ua=!1,ra=!0;if(typeof g!="function")throw new TypeError(l);return m=n(m)||0,r(x)&&(ca=!!x.leading,ua="maxWait"in x,I=ua?N(n(x.maxWait)||0,m):I,ra="trailing"in x?!!x.trailing:ra),X.cancel=K,X.flush=Q,X}function r(g){var m=typeof g=="undefined"?"undefined":d(g);return!!g&&(m=="object"||m=="function")}function e(g){return!!g&&(typeof g=="undefined"?"undefined":d(g))=="object"}function i(g){return(typeof g=="undefined"?"undefined":d(g))=="symbol"||e(g)&&J.call(g)==u}function n(g){if(typeof g=="number")return g;if(i(g))return c;if(r(g)){var m=typeof g.valueOf=="function"?g.valueOf():g;g=r(m)?m+"":m}if(typeof g!="string")return g===0?g:+g;g=g.replace(f,"");var x=y.test(g);return x||v.test(g)?k(g.slice(2),x?2:8):h.test(g)?c:+g}var d=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(g){return typeof g}:function(g){return g&&typeof Symbol=="function"&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g},l="Expected a function",c=NaN,u="[object Symbol]",f=/^\s+|\s+$/g,h=/^[-+]0x[0-9a-f]+$/i,y=/^0b[01]+$/i,v=/^0o[0-7]+$/i,k=parseInt,C=(typeof o=="undefined"?"undefined":d(o))=="object"&&o&&o.Object===Object&&o,F=(typeof self=="undefined"?"undefined":d(self))=="object"&&self&&self.Object===Object&&self,q=C||F||Function("return this")(),z=Object.prototype,J=z.toString,N=Math.max,j=Math.min,Y=function(){return q.Date.now()};t.exports=s}).call(a,function(){return this}())},function(t,a){"use strict";function o(d){var l=void 0,c=void 0,u=void 0;for(l=0;l<d.length;l+=1)if(c=d[l],c.dataset&&c.dataset.aos||(u=c.children&&o(c.children)))return!0;return!1}function s(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function r(){return!!s()}function e(d,l){var c=window.document,u=s(),f=new u(i);n=l,f.observe(c.documentElement,{childList:!0,subtree:!0,removedNodes:!0})}function i(d){d&&d.forEach(function(l){var c=Array.prototype.slice.call(l.addedNodes),u=Array.prototype.slice.call(l.removedNodes),f=c.concat(u);if(o(f))return n()})}Object.defineProperty(a,"__esModule",{value:!0});var n=function(){};a.default={isSupported:r,ready:e}},function(t,a){"use strict";function o(c,u){if(!(c instanceof u))throw new TypeError("Cannot call a class as a function")}function s(){return navigator.userAgent||navigator.vendor||window.opera||""}Object.defineProperty(a,"__esModule",{value:!0});var r=function(){function c(u,f){for(var h=0;h<f.length;h++){var y=f[h];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(u,y.key,y)}}return function(u,f,h){return f&&c(u.prototype,f),h&&c(u,h),u}}(),e=/(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,i=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a kt|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|kt(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|kt|ze)|fetc|fly(\-|kt)|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(\-| |kt|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|kt|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|Xs|se)|prox|psio|pt\-g|kt\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|Qt(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,n=/(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,d=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a kt|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|kt(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|kt|ze)|fetc|fly(\-|kt)|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(\-| |kt|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|kt|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|Xs|se)|prox|psio|pt\-g|kt\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|Qt(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,l=function(){function c(){o(this,c)}return r(c,[{key:"phone",value:function(){var u=s();return!(!e.test(u)&&!i.test(u.substr(0,4)))}},{key:"mobile",value:function(){var u=s();return!(!n.test(u)&&!d.test(u.substr(0,4)))}},{key:"tablet",value:function(){return this.mobile()&&!this.phone()}}]),c}();a.default=new l},function(t,a){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var o=function(r,e,i){var n=r.node.getAttribute("data-aos-once");e>r.position?r.node.classList.add("aos-animate"):typeof n!="undefined"&&(n==="false"||!i&&n!=="true")&&r.node.classList.remove("aos-animate")},s=function(r,e){var i=window.pageYOffset,n=window.innerHeight;r.forEach(function(d,l){o(d,n+i,e)})};a.default=s},function(t,a,o){"use strict";function s(n){return n&&n.__esModule?n:{default:n}}Object.defineProperty(a,"__esModule",{value:!0});var r=o(12),e=s(r),i=function(n,d){return n.forEach(function(l,c){l.node.classList.add("aos-init"),l.position=(0,e.default)(l.node,d.offset)}),n};a.default=i},function(t,a,o){"use strict";function s(n){return n&&n.__esModule?n:{default:n}}Object.defineProperty(a,"__esModule",{value:!0});var r=o(13),e=s(r),i=function(n,d){var l=0,c=0,u=window.innerHeight,f={offset:n.getAttribute("data-aos-offset"),anchor:n.getAttribute("data-aos-anchor"),anchorPlacement:n.getAttribute("data-aos-anchor-placement")};switch(f.offset&&!isNaN(f.offset)&&(c=parseInt(f.offset)),f.anchor&&document.querySelectorAll(f.anchor)&&(n=document.querySelectorAll(f.anchor)[0]),l=(0,e.default)(n).top,f.anchorPlacement){case"top-bottom":break;case"center-bottom":l+=n.offsetHeight/2;break;case"bottom-bottom":l+=n.offsetHeight;break;case"top-center":l+=u/2;break;case"bottom-center":l+=u/2+n.offsetHeight;break;case"center-center":l+=u/2+n.offsetHeight/2;break;case"top-top":l+=u;break;case"bottom-top":l+=n.offsetHeight+u;break;case"center-top":l+=n.offsetHeight/2+u}return f.anchorPlacement||f.offset||isNaN(d)||(c=d),l+c};a.default=i},function(t,a){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var o=function(s){for(var r=0,e=0;s&&!isNaN(s.offsetLeft)&&!isNaN(s.offsetTop);)r+=s.offsetLeft-(s.tagName!="BODY"?s.scrollLeft:0),e+=s.offsetTop-(s.tagName!="BODY"?s.scrollTop:0),s=s.offsetParent;return{top:e,left:r}};a.default=o},function(t,a){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var o=function(s){return s=s||document.querySelectorAll("[data-aos]"),Array.prototype.map.call(s,function(r){return{node:r}})};a.default=o}])})});var Zo={};eo(Zo,{Publish:()=>Qo});module.exports=so(Zo);var Qt=require("react");var bt=require("clsx");var Va="-",ro=t=>{let a=io(t),{conflictingClassGroups:o,conflictingClassGroupModifiers:s}=t;return{getClassGroupId:i=>{let n=i.split(Va);return n[0]===""&&n.length!==1&&n.shift(),ut(n,a)||no(i)},getConflictingClassGroupIds:(i,n)=>{let d=o[i]||[];return n&&s[i]?[...d,...s[i]]:d}}},ut=(t,a)=>{var i;if(t.length===0)return a.classGroupId;let o=t[0],s=a.nextPart.get(o),r=s?ut(t.slice(1),s):void 0;if(r)return r;if(a.validators.length===0)return;let e=t.join(Va);return(i=a.validators.find(({validator:n})=>n(e)))==null?void 0:i.classGroupId},lt=/^\[(.+)\]$/,no=t=>{if(lt.test(t)){let a=lt.exec(t)[1],o=a==null?void 0:a.substring(0,a.indexOf(":"));if(o)return"arbitrary.."+o}},io=t=>{let{theme:a,prefix:o}=t,s={nextPart:new Map,validators:[]};return co(Object.entries(t.classGroups),o).forEach(([e,i])=>{Ya(i,s,e,a)}),s},Ya=(t,a,o,s)=>{t.forEach(r=>{if(typeof r=="string"){let e=r===""?a:ct(a,r);e.classGroupId=o;return}if(typeof r=="function"){if(lo(r)){Ya(r(s),a,o,s);return}a.validators.push({validator:r,classGroupId:o});return}Object.entries(r).forEach(([e,i])=>{Ya(i,ct(a,e),o,s)})})},ct=(t,a)=>{let o=t;return a.split(Va).forEach(s=>{o.nextPart.has(s)||o.nextPart.set(s,{nextPart:new Map,validators:[]}),o=o.nextPart.get(s)}),o},lo=t=>t.isThemeGetter,co=(t,a)=>a?t.map(([o,s])=>{let r=s.map(e=>typeof e=="string"?a+e:typeof e=="object"?Object.fromEntries(Object.entries(e).map(([i,n])=>[a+i,n])):e);return[o,r]}):t,uo=t=>{if(t<1)return{get:()=>{},set:()=>{}};let a=0,o=new Map,s=new Map,r=(e,i)=>{o.set(e,i),a++,a>t&&(a=0,s=o,o=new Map)};return{get(e){let i=o.get(e);if(i!==void 0)return i;if((i=s.get(e))!==void 0)return r(e,i),i},set(e,i){o.has(e)?o.set(e,i):r(e,i)}}},mt="!",mo=t=>{let{separator:a,experimentalParseClassName:o}=t,s=a.length===1,r=a[0],e=a.length,i=n=>{let d=[],l=0,c=0,u;for(let k=0;k<n.length;k++){let C=n[k];if(l===0){if(C===r&&(s||n.slice(k,k+e)===a)){d.push(n.slice(c,k)),c=k+e;continue}if(C==="/"){u=k;continue}}C==="["?l++:C==="]"&&l--}let f=d.length===0?n:n.substring(c),h=f.startsWith(mt),y=h?f.substring(1):f,v=u&&u>c?u-c:void 0;return{modifiers:d,hasImportantModifier:h,baseClassName:y,maybePostfixModifierPosition:v}};return o?n=>o({className:n,parseClassName:i}):i},po=t=>{if(t.length<=1)return t;let a=[],o=[];return t.forEach(s=>{s[0]==="["?(a.push(...o.sort(),s),o=[]):o.push(s)}),a.push(...o.sort()),a},fo=t=>({cache:uo(t.cacheSize),parseClassName:mo(t),...ro(t)}),yo=/\s+/,go=(t,a)=>{let{parseClassName:o,getClassGroupId:s,getConflictingClassGroupIds:r}=a,e=[],i=t.trim().split(yo),n="";for(let d=i.length-1;d>=0;d-=1){let l=i[d],{modifiers:c,hasImportantModifier:u,baseClassName:f,maybePostfixModifierPosition:h}=o(l),y=!!h,v=s(y?f.substring(0,h):f);if(!v){if(!y){n=l+(n.length>0?" "+n:n);continue}if(v=s(f),!v){n=l+(n.length>0?" "+n:n);continue}y=!1}let k=po(c).join(":"),C=u?k+mt:k,F=C+v;if(e.includes(F))continue;e.push(F);let q=r(v,y);for(let z=0;z<q.length;++z){let J=q[z];e.push(C+J)}n=l+(n.length>0?" "+n:n)}return n};function bo(){let t=0,a,o,s="";for(;t<arguments.length;)(a=arguments[t++])&&(o=pt(a))&&(s&&(s+=" "),s+=o);return s}var pt=t=>{if(typeof t=="string")return t;let a,o="";for(let s=0;s<t.length;s++)t[s]&&(a=pt(t[s]))&&(o&&(o+=" "),o+=a);return o};function ho(t,...a){let o,s,r,e=i;function i(d){let l=a.reduce((c,u)=>u(c),t());return o=fo(l),s=o.cache.get,r=o.cache.set,e=n,n(d)}function n(d){let l=s(d);if(l)return l;let c=go(d,o);return r(d,c),c}return function(){return e(bo.apply(null,arguments))}}var E=t=>{let a=o=>o[t]||[];return a.isThemeGetter=!0,a},ft=/^\[(?:([a-z-]+):)?(.+)\]$/i,vo=/^\d+\/\d+$/,xo=new Set(["px","full","screen"]),wo=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ko=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Co=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,No=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)kt-?((\d+)?\.?(\d+)[a-z]+|0)/,Po=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,na=t=>ka(t)||xo.has(t)||vo.test(t),fa=t=>Ca(t,"length",Eo),ka=t=>!!t&&!Number.isNaN(Number(t)),Ja=t=>Ca(t,"number",ka),Ra=t=>!!t&&Number.isInteger(Number(t)),Ao=t=>t.endsWith("%")&&ka(t.slice(0,-1)),w=t=>ft.test(t),ya=t=>wo.test(t),Bo=new Set(["length","size","percentage"]),To=t=>Ca(t,Bo,yt),Ro=t=>Ca(t,"position",yt),zo=new Set(["image","url"]),So=t=>Ca(t,zo,jo),Io=t=>Ca(t,"",Mo),za=()=>!0,Ca=(t,a,o)=>{let s=ft.exec(t);return s?s[1]?typeof a=="string"?s[1]===a:a.has(s[1]):o(s[2]):!1},Eo=t=>ko.test(t)&&!Co.test(t),yt=()=>!1,Mo=t=>No.test(t),jo=t=>Po.test(t);var Fo=()=>{let t=E("colors"),a=E("spacing"),o=E("blur"),s=E("brightness"),r=E("borderColor"),e=E("borderRadius"),i=E("borderSpacing"),n=E("borderWidth"),d=E("contrast"),l=E("grayscale"),c=E("hueRotate"),u=E("invert"),f=E("gap"),h=E("gradientColorStops"),y=E("gradientColorStopPositions"),v=E("inset"),k=E("margin"),C=E("opacity"),F=E("padding"),q=E("saturate"),z=E("scale"),J=E("sepia"),N=E("skew"),j=E("space"),Y=E("translate"),g=()=>["auto","contain","none"],m=()=>["auto","hidden","clip","visible","scroll"],x=()=>["auto",w,a],p=()=>[w,a],D=()=>["",na,fa],L=()=>["auto",ka,w],W=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],V=()=>["solid","dashed","dotted","double","none"],aa=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],K=()=>["start","end","center","between","around","evenly","stretch"],Q=()=>["","0",w],X=()=>["auto","avoid","all","avoid-page","page","left","right","column"],S=()=>[ka,w];return{cacheSize:500,separator:":",theme:{colors:[za],spacing:[na,fa],blur:["none","",ya,w],brightness:S(),borderColor:[t],borderRadius:["none","","full",ya,w],borderSpacing:p(),borderWidth:D(),contrast:S(),grayscale:Q(),hueRotate:S(),invert:Q(),gap:p(),gradientColorStops:[t],gradientColorStopPositions:[Ao,fa],inset:x(),margin:x(),opacity:S(),padding:p(),saturate:S(),scale:S(),sepia:Q(),skew:S(),space:p(),translate:p()},classGroups:{aspect:[{aspect:["auto","square","video",w]}],container:["container"],columns:[{columns:[ya]}],"break-after":[{"break-after":X()}],"break-before":[{"break-before":X()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...W(),w]}],overflow:[{overflow:m()}],"overflow-x":[{"overflow-x":m()}],"overflow-y":[{"overflow-y":m()}],overscroll:[{overscroll:g()}],"overscroll-x":[{"overscroll-x":g()}],"overscroll-y":[{"overscroll-y":g()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-x":[{"inset-x":[v]}],"inset-y":[{"inset-y":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Ra,w]}],basis:[{basis:x()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",w]}],grow:[{grow:Q()}],shrink:[{shrink:Q()}],order:[{order:["first","last","none",Ra,w]}],"grid-cols":[{"grid-cols":[za]}],"col-start-end":[{col:["auto",{span:["full",Ra,w]},w]}],"col-start":[{"col-start":L()}],"col-end":[{"col-end":L()}],"grid-rows":[{"grid-rows":[za]}],"row-start-end":[{row:["auto",{span:[Ra,w]},w]}],"row-start":[{"row-start":L()}],"row-end":[{"row-end":L()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",w]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",w]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...K()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...K(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...K(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[F]}],px:[{px:[F]}],py:[{py:[F]}],ps:[{ps:[F]}],pe:[{pe:[F]}],pt:[{pt:[F]}],pr:[{pr:[F]}],pb:[{pb:[F]}],pl:[{pl:[F]}],m:[{m:[k]}],mx:[{mx:[k]}],my:[{my:[k]}],ms:[{ms:[k]}],me:[{me:[k]}],mt:[{mt:[k]}],mr:[{mr:[k]}],mb:[{mb:[k]}],ml:[{ml:[k]}],"space-x":[{"space-x":[j]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[j]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",w,a]}],"min-w":[{"min-w":[w,a,"min","max","fit"]}],"max-w":[{"max-w":[w,a,"none","full","min","max","fit","prose",{screen:[ya]},ya]}],h:[{h:[w,a,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[w,a,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[w,a,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[w,a,"auto","min","max","fit"]}],"font-size":[{text:["base",ya,fa]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Ja]}],"font-family":[{font:[za]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",w]}],"line-clamp":[{"line-clamp":["none",ka,Ja]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",na,w]}],"list-image":[{"list-image":["none",w]}],"list-style-type":[{list:["none","disc","decimal",w]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[C]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[C]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...V(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",na,fa]}],"underline-offset":[{"underline-offset":["auto",na,w]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:p()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",w]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",w]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[C]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...W(),Ro]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",To]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},So]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[y]}],"gradient-via-pos":[{via:[y]}],"gradient-to-pos":[{to:[y]}],"gradient-from":[{from:[h]}],"gradient-via":[{via:[h]}],"gradient-to":[{to:[h]}],rounded:[{rounded:[e]}],"rounded-s":[{"rounded-s":[e]}],"rounded-e":[{"rounded-e":[e]}],"rounded-t":[{"rounded-t":[e]}],"rounded-r":[{"rounded-r":[e]}],"rounded-b":[{"rounded-b":[e]}],"rounded-l":[{"rounded-l":[e]}],"rounded-ss":[{"rounded-ss":[e]}],"rounded-se":[{"rounded-se":[e]}],"rounded-ee":[{"rounded-ee":[e]}],"rounded-es":[{"rounded-es":[e]}],"rounded-tl":[{"rounded-tl":[e]}],"rounded-tr":[{"rounded-tr":[e]}],"rounded-br":[{"rounded-br":[e]}],"rounded-bl":[{"rounded-bl":[e]}],"border-w":[{border:[n]}],"border-w-x":[{"border-x":[n]}],"border-w-y":[{"border-y":[n]}],"border-w-s":[{"border-s":[n]}],"border-w-e":[{"border-e":[n]}],"border-w-t":[{"border-t":[n]}],"border-w-r":[{"border-r":[n]}],"border-w-b":[{"border-b":[n]}],"border-w-l":[{"border-l":[n]}],"border-opacity":[{"border-opacity":[C]}],"border-style":[{border:[...V(),"hidden"]}],"divide-x":[{"divide-x":[n]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[n]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[C]}],"divide-style":[{divide:V()}],"border-color":[{border:[r]}],"border-color-x":[{"border-x":[r]}],"border-color-y":[{"border-y":[r]}],"border-color-s":[{"border-s":[r]}],"border-color-e":[{"border-e":[r]}],"border-color-t":[{"border-t":[r]}],"border-color-r":[{"border-r":[r]}],"border-color-b":[{"border-b":[r]}],"border-color-l":[{"border-l":[r]}],"divide-color":[{divide:[r]}],"outline-style":[{outline:["",...V()]}],"outline-offset":[{"outline-offset":[na,w]}],"outline-w":[{outline:[na,fa]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:D()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[C]}],"ring-offset-w":[{"ring-offset":[na,fa]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",ya,Io]}],"shadow-color":[{shadow:[za]}],opacity:[{opacity:[C]}],"mix-blend":[{"mix-blend":[...aa(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":aa()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[s]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",ya,w]}],grayscale:[{grayscale:[l]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[u]}],saturate:[{saturate:[q]}],sepia:[{sepia:[J]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[s]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[l]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[u]}],"backdrop-opacity":[{"backdrop-opacity":[C]}],"backdrop-saturate":[{"backdrop-saturate":[q]}],"backdrop-sepia":[{"backdrop-sepia":[J]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",w]}],duration:[{duration:S()}],ease:[{ease:["linear","in","out","in-out",w]}],delay:[{delay:S()}],animate:[{animate:["none","spin","ping","pulse","bounce",w]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[z]}],"scale-x":[{"scale-x":[z]}],"scale-y":[{"scale-y":[z]}],rotate:[{rotate:[Ra,w]}],"translate-x":[{"translate-x":[Y]}],"translate-y":[{"translate-y":[Y]}],"skew-x":[{"skew-x":[N]}],"skew-y":[{"skew-y":[N]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",w]}],accent:[{accent:["auto",t]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",w]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":p()}],"scroll-mx":[{"scroll-mx":p()}],"scroll-my":[{"scroll-my":p()}],"scroll-ms":[{"scroll-ms":p()}],"scroll-me":[{"scroll-me":p()}],"scroll-mt":[{"scroll-mt":p()}],"scroll-mr":[{"scroll-mr":p()}],"scroll-mb":[{"scroll-mb":p()}],"scroll-ml":[{"scroll-ml":p()}],"scroll-p":[{"scroll-p":p()}],"scroll-px":[{"scroll-px":p()}],"scroll-py":[{"scroll-py":p()}],"scroll-ps":[{"scroll-ps":p()}],"scroll-pe":[{"scroll-pe":p()}],"scroll-pt":[{"scroll-pt":p()}],"scroll-pr":[{"scroll-pr":p()}],"scroll-pb":[{"scroll-pb":p()}],"scroll-pl":[{"scroll-pl":p()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",w]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[na,fa,Ja]}],stroke:[{stroke:[t,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var gt=ho(Fo);function b(...t){return gt((0,bt.clsx)(t))}function Sa(t){let a=0,o=(e,i)=>`${e.toLowerCase().replace(/\s+/g,"-").replace(/[^\w-]/g,"")}-${i}`,s=t.layout.flatMap(e=>{let i=[];return"title"in e&&e.title&&i.push({text:e.title,id:o(e.title,a++),tag:"h2"}),"columns"in e&&Array.isArray(e.columns)&&e.columns.forEach(n=>{var d,l,c,u,f;if(n.title&&i.push({text:n.title,id:o(n.title,a++),tag:"h2"}),(l=(d=n.richText)==null?void 0:d.root)!=null&&l.children&&((u=(c=n.richText)==null?void 0:c.root)==null?void 0:u.children.length)===1){let h=n.richText.root.children.filter(y=>y!==void 0&&y.type==="heading");for(let y of h)y.children[0]&&i.push({text:(f=y.children[0].text)!=null?f:"",id:o(y.children[0].text,a++),tag:y.tag||"h2"})}}),i}),r=Lo(t.layout);return{tableOfContents:s,contentWithIds:r}}function Lo(t){let a=(s,r)=>`${s.toLowerCase().replace(/\s+/g,"-").replace(/[^\w-]/g,"")}-${r}`,o=0;return t.map(s=>(s.title&&(s.id=a(s.title,o++)),s.columns&&(s.columns=s.columns.map(r=>(r.title&&(r.id=a(r.title,o++)),r.richText&&(r.richText.root.children=r.richText.root.children.filter(e=>e!==void 0).filter(e=>e.children!==void 0&&e.children.length>0).map(e=>(e.type==="heading"&&e.children[0].text&&(e.id=a(e.children[0].text,o++)),e))),r))),s))}var vt=require("@radix-ui/react-slot"),xt=require("class-variance-authority"),wt=pa(require("react")),kt=require("react/jsx-runtime"),Oo=(0,xt.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),va=wt.forwardRef(({asChild:t=!1,className:a,size:o,variant:s,...r},e)=>(0,kt.jsx)(t?vt.Slot:"button",{className:b(Oo({className:a,size:o,variant:s})),ref:e,...r}));va.displayName="Button";var Xa=({type:t="solid",iconName:a="cloud",size:o="lg",className:s})=>{let r=t.includes("fa-")?t+" ":"fa-"+t+" ",e="fa-"+a,i=s!=null?s:"",n=r+e+" fa-"+o+" "+i;return(0,kt.jsx)("i",{className:n})};var Nt=({className:t,content:a,style:o})=>(0,kt.jsx)("div",{className:b("mx-auto my-8 w-full",t),children:(0,kt.jsx)("div",{className:b("border py-3 px-6 flex items-center rounded",{"border-border bg-card":o==="info","border-error bg-error/30":o==="error","border-success bg-success/30":o==="success","border-warning bg-warning/30":o==="warning"}),children:(0,kt.jsx)(ta,{content:a,enableGutter:!1,enableProse:!1})})});var Za=pa(require("next/link")),xa=t=>{let{type:a,appearance:o="inline",children:s,className:r,label:e,newTab:i,reference:n,size:d,url:l}=t,c=a==="reference"&&typeof(n==null?void 0:n.value)=="object"&&n.value.slug?`${(n==null?void 0:n.relationTo)!=="pages"?`/${n==null?void 0:n.relationTo}`:""}/${n.value.slug}`:l;if(!c)return null;let u=o==="link"?"clear":d,f=i?{rel:"noopener noreferrer",target:"_blank"}:{};return o==="inline"?(0,kt.jsxs)(Za.default,{className:b(r),href:c||l||"",...f,children:[e&&e,s&&s]}):(0,kt.jsx)(va,{asChild:!0,className:r,size:u,variant:o,children:(0,kt.jsxs)(Za.default,{className:b(r),href:c||l||"",...f,children:[e&&e,s&&s]})})};var Na=({links:t,richText:a})=>(0,kt.jsx)("div",{className:"container",children:(0,kt.jsxs)("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,kt.jsx)("div",{className:"max-w-[48rem] flex items-center",children:a&&(0,kt.jsx)(ta,{className:"mb-0",content:a,enableGutter:!1})}),(0,kt.jsx)("div",{className:"flex flex-col gap-8",children:(t||[]).map(({link:o},s)=>(0,kt.jsx)(xa,{size:"lg",...o},s))})]})});var Ga=require("prism-react-renderer");var Pt=require("lucide-react");function Bt({code:t}){let[a,o]=(0,Qt.useState)("Copy");function s(){a==="Copy"&&(o(()=>"Copied!"),setTimeout(()=>{o(()=>"Copy")},1e3))}return(0,kt.jsx)("div",{className:"flex justify-end align-middle",children:(0,kt.jsxs)(va,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(t),s()},children:[(0,kt.jsx)("p",{children:a}),(0,kt.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,kt.jsx)(Pt.ClipboardCopy,{})})]})})}var Tt=({code:t,language:a=""})=>t?(0,kt.jsx)(Ga.Highlight,{code:t,language:a,theme:Ga.themes.vsDark,children:({getLineProps:o,getTokenProps:s,tokens:r})=>(0,kt.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[r.map((e,i)=>(0,kt.jsxs)("div",{...o({className:"table-row",line:e}),children:[(0,kt.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,kt.jsx)("span",{className:"table-cell pl-4",children:e.map((n,d)=>(0,kt.jsx)("span",{...s({token:n})},d))})]},i)),(0,kt.jsx)(Bt,{code:t})]})}):null;var Rt=({className:t,code:a,language:o})=>(0,kt.jsx)("div",{className:[t,"not-prose"].filter(Boolean).join(" "),children:(0,kt.jsx)(Tt,{code:a,language:o})});var St=pa(require("next/image")),Do={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},zt="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=",It=t=>{let{alt:a,fill:o,imgClassName:s,priority:r,resource:e,size:i,src:n,loading:d}=t,l,c,u=a,f=n||"";if(!f&&e&&typeof e=="object"){let{alt:v,filename:k,height:C,url:F,width:q}=e;if(C&&C>500){let z=500/C;l=q*z,c=C*z}else l=q,c=C;u=v||"",f=F||zt}let h=d||"lazy",y=i||Object.entries(Do).map(([,v])=>`(max-width: ${v}px) ${v*2}w`).join(", ");return(0,$a.jsx)("picture",{children:(0,$a.jsx)(St.default,{alt:u||"",className:b(s),fill:o,height:o?void 0:c,placeholder:"blur",blurDataURL:zt,priority:h!=="lazy"&&r,quality:100,loading:h,sizes:y,src:f,width:o?void 0:l})})};var Et=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Mt=()=>{if(Et){let t=window.location.protocol,a=window.location.hostname,o=window.location.port;return`${t}//${a}${o?`:${o}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var jt=t=>{let{onClick:a,resource:o,videoClassName:s}=t,r=(0,Qt.useRef)(null);if((0,Qt.useEffect)(()=>{let{current:e}=r;e&&e.addEventListener("suspend",()=>{})},[]),o&&typeof o=="object"){let{filename:e}=o;return(0,kt.jsx)("video",{autoPlay:!0,className:b(s),controls:!1,loop:!0,muted:!0,onClick:a,playsInline:!0,ref:r,children:(0,kt.jsx)("source",{src:`${Mt()}/media/${e}`})})}return null};var Ha=t=>{var i;let{className:a,htmlElement:o="div",resource:s}=t,r=typeof s=="object"&&((i=s==null?void 0:s.mimeType)==null?void 0:i.includes("video"));return(0,kt.jsx)(o||Qt.Fragment,{...o!==null?{className:a}:{},children:r?(0,kt.jsx)(jt,{...t}):(0,kt.jsx)(It,{...t})})};var ba=t=>{let{className:a,enableGutter:o=!0,imgClassName:s,media:r,staticImage:e}=t;return(0,kt.jsx)("div",{className:b("h-full ",{container:o},a),children:(0,kt.jsx)(Ha,{imgClassName:b("rounded-[0.8rem]",s),className:"flex justify-center",resource:r,src:e})})};var Lt=t=>{let{className:a,enableGutter:o=!0,imgClassName:s,media:r,staticImage:e}=t;return(0,kt.jsx)("div",{className:b("",{container:o},a),children:(0,kt.jsx)(Ha,{imgClassName:b("rounded-[0.8rem]",s),resource:r,src:e})})};var Pa=({title:t,description:a,features:o,id:s,nested:r=!1})=>(0,kt.jsxs)("section",{className:b(!r&&"container","w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[t&&(0,kt.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl text-primary",id:s||"",children:t}),a&&typeof a=="string"&&(0,kt.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:a}),a&&typeof a=="object"&&(0,kt.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:(0,kt.jsx)(ta,{content:a,enableGutter:!1})}),(0,kt.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${o?o.length:1}`,children:o&&o.map((e,i)=>{var d,l,c,u,f;let n=()=>{if(e.icon&&"type"in e.icon&&e.icon.type!=="none")return{type:e.icon.type,iconName:e.icon.icon}};return(0,kt.jsx)(Ot,{variant:((d=e.settings)==null?void 0:d.card)==="default"?"light":((l=e.settings)==null?void 0:l.card)||"outline",icon:n()||void 0,iconSize:((c=e.settings)==null?void 0:c.iconSize)||"large",width:"auto",order:i,heading:e.title||"",content:e.content||void 0,statistic:e.statistic||void 0,buttonText:(u=e.link)!=null&&u.url?"Find out more":void 0,buttonHref:((f=e.link)==null?void 0:f.url)||void 0},i)})})]});var Wa=pa(require("react"));function Ma({nodes:t}){return(0,kt.jsx)(Wa.Fragment,{children:t==null?void 0:t.map((a,o)=>{if(a==null)return null;if(a.type==="text"&&a.text){let e=(0,kt.jsx)(Wa.default.Fragment,{children:a.text},o);return a.format&1&&(e=(0,kt.jsx)("strong",{children:e},o)),a.format&2&&(e=(0,kt.jsx)("em",{children:e},o)),a.format&4&&(e=(0,kt.jsx)("span",{style:{textDecoration:"line-through"},children:e},o)),a.format&8&&(e=(0,kt.jsx)("span",{style:{textDecoration:"underline"},children:e},o)),a.format&16&&(e=(0,kt.jsx)("code",{children:a.text},o)),a.format&32&&(e=(0,kt.jsx)("sub",{children:e},o)),a.format&64&&(e=(0,kt.jsx)("sup",{children:e},o)),e}if(a.type==="table")return(0,kt.jsx)("table",{children:(0,kt.jsx)("tbody",{children:a.children.map((e,i)=>(0,kt.jsx)("tr",{children:e.children.map((n,d)=>(0,kt.jsx)("td",{children:Ma({nodes:n.children})},d))},i))})},o);let s=e=>{if(e.children==null)return null;if((e==null?void 0:e.type)==="list"&&(e==null?void 0:e.listType)==="check")for(let i of e.children)"checked"in i&&(i!=null&&i.checked||(i.checked=!1));return Ma({nodes:e.children})},r="children"in a?s(a):"";if(a.type==="block"){let e=a.fields,i=e==null?void 0:e.blockType;if(!e||!i)return null;switch(i){case"cta":return(0,kt.jsx)(Na,{...e},o);case"mediaBlock":return(0,kt.jsx)(ba,{className:"col-start-1 col-span-3",imgClassName:"m-0",...e,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},o);case"imageBlock":return(0,kt.jsx)(Lt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...e,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},o);case"banner":return(0,kt.jsx)(Nt,{className:"col-start-2 mb-4",...e},o);case"code":return(0,kt.jsx)(Rt,{className:"col-start-2",...e},o);case"features":return(0,kt.jsx)(Pa,{...e,nested:!0},o);case"reusableContentBlock":Ma({nodes:e.reusableContent.layout});default:return null}}else switch(a.type){case"linebreak":return(0,kt.jsx)("br",{className:"col-start-2"},o);case"paragraph":return(0,kt.jsx)("p",{className:"col-start-2",children:r},o);case"heading":{let e=a==null?void 0:a.tag;return(0,kt.jsx)(e,{className:"col-start-2",id:(a==null?void 0:a.id)||"",children:r},o)}case"list":{let e=a==null?void 0:a.tag;return(0,kt.jsx)(e,{className:"list col-start-2",children:r},o)}case"listitem":return(a==null?void 0:a.checked)!=null?(0,kt.jsx)("li",{"aria-checked":a.checked?"true":"false",className:` ${a.checked,""}`,role:"checkbox",tabIndex:-1,value:a==null?void 0:a.value,children:r},o):(0,kt.jsx)("li",{value:a==null?void 0:a.value,children:r},o);case"quote":return(0,kt.jsx)("blockquote",{className:"col-start-2",children:r},o);case"link":{let e=a.fields;return(0,kt.jsx)(xa,{newTab:!!(e!=null&&e.newTab),reference:e.doc,type:e.linkType==="internal"?"reference":"custom",url:e.url,children:r},o)}case"autolink":{let e=a.fields;return(0,kt.jsx)(xa,{newTab:!!(e!=null&&e.newTab),reference:e.doc,type:e.linkType==="internal"?"reference":"custom",url:e.url,children:r},o)}default:return null}})})}var ta=({className:t,content:a,enableGutter:o=!0,enableProse:s=!0})=>{var r;return a?(0,kt.jsx)("div",{className:b({"container ":o,"max-w-none":!o,"mx-auto prose dark:prose-invert ":s},t),children:a&&!Array.isArray(a)&&typeof a=="object"&&"root"in a&&Ma({nodes:(r=a==null?void 0:a.root)==null?void 0:r.children})}):null};function Gt(t){return t&&typeof t=="object"&&"type"in t&&"iconName"in t}function Ot({variant:t="outline",className:a,icon:o,iconSize:s="large",width:r="auto",order:e=0,heading:i,subheading:n,content:d,statistic:l,buttonText:c,buttonHref:u}){let f={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:""},h={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,kt.jsxs)("div",{className:b("rounded-3xl p-8 md:p-8 min-w-56 flex flex-col group",f[t],t==="outline"?"text-gray-900":"text-white",a,h[r],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${e+1}00`),children:[(0,kt.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,kt.jsx)(Go,{icon:o,heading:i,variant:t,iconSize:s})}),l&&(0,kt.jsx)("div",{className:"mb-6",children:(0,kt.jsx)("div",{className:b("text-4xl text-wrap font-bold leading-none overflow-hidden",t==="outline"||t==="light"?"text-primary":"text-white"),children:l})}),n&&(0,kt.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:n}),d&&typeof d=="object"&&(0,kt.jsx)("div",{className:b("space-y-6"),children:(0,kt.jsx)(ta,{enableGutter:!1,content:d,enableProse:!1,className:b(t==="outline"||t==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100")})}),d&&typeof d=="string"&&(0,kt.jsx)("div",{className:b("space-y-6",t==="outline"||t==="light"?"text-gray-900":"text-gray-100"),children:d}),c&&(0,kt.jsx)("div",{className:"mt-auto pt-6 flex items-center justify-center",children:(0,kt.jsx)(va,{size:"lg",className:"text-white text-lg rounded-xl w-full mt-auto items-center justify-center",asChild:!0,children:(0,kt.jsx)("a",{href:u,children:c})})}),t==="radial"&&(0,kt.jsx)("div",{className:"absolute bottom-0 right-0 w-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})}var Go=({icon:t,heading:a,variant:o,iconSize:s})=>t&&s==="small"?(0,kt.jsxs)("div",{className:"flex items-start gap-4 mb-2",children:[Gt(t)&&(0,kt.jsx)("div",{className:b("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",o==="outline"||o==="light"?"text-primary":"text-white",s==="small"?"mt-2":""),children:(0,kt.jsx)(Xa,{type:t.type,iconName:t.iconName,size:"2x"})}),(0,kt.jsx)("div",{className:b("font-semibold",o==="outline"||o==="light"?"text-primary":"text-white",s==="small"?"text-2xl":"text-3xl"),children:a})]}):t?(0,kt.jsxs)("div",{className:"flex flex-col gap-4",children:[Gt(t)&&(0,kt.jsx)("div",{className:b("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",o==="outline"||o==="light"?"text-accent":""),children:(0,kt.jsx)(Xa,{type:t.type,iconName:t.iconName,size:"4x"})}),(0,kt.jsx)("h3",{className:b("font-semibold",o==="outline"||o==="light"?"text-2xl text-primary":"text-3xl"),children:a})]}):(0,kt.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,kt.jsx)("div",{className:b("font-semibold",o==="outline"||o==="light"?"text-2xl text-primary":"text-3xl"),children:a})});var Ua=t=>{var n;let{columns:a,theme:o}=t,s={full:"12",half:"6",oneThird:"4",twoThirds:"8"},r={none:"",line:"border border-primary p-4 rounded-lg"},e=d=>{if(d.type&&d.type==="block"&&d.fields&&(d.fields.blockType==="imageBlock"||d.fields.blockType==="mediaBlock"))return!0;if(d.root&&d.root.children){for(let l of d.root.children)if(e(l))return!0}if(d.children){for(let l of d.children)if(e(l))return!0}return!1},i=(d,l,c)=>{if(l==="none"||c==="full")return{processedRichText:d,heading:null};let u=d,f=null;return d&&d.root&&d.root.children&&d.root.children[0].tag==="h2"&&(u={...d,root:{...d.root,children:d.root.children.slice(1)}},f=d.root.children[0]),{processedRichText:u,heading:f}};return(0,kt.jsx)("div",{className:"container my-6",children:(0,kt.jsx)("div",{className:b("grid grid-cols-4 lg:grid-cols-12 gap-y-8",(n=o==null?void 0:o.settings)!=null&&n.box?"gap-x-8":"gap-x-16"),children:a&&a.length>0&&a.map((d,l)=>{var k,C;let{enableLink:c,link:u,richText:f,size:h}=d,{processedRichText:y,heading:v}=i(f,((k=o==null?void 0:o.settings)==null?void 0:k.box)||"none",h||"full");return(0,kt.jsxs)("div",{className:b(`col-span-4 lg:col-span-${s[h]}`,{"md:col-span-2":h!=="full"},r[h!=="full"&&!e(f)&&((C=o==null?void 0:o.settings)==null?void 0:C.box)||"none"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${l+1}00`),children:[v&&(0,kt.jsx)("div",{className:"bg-primary text-primary-foreground mb-4 -mt-4 -mx-4 px-4 py-2 text-xl",children:v.children[0].text}),y&&(0,kt.jsx)(ta,{content:y,enableGutter:!1,className:"rich-text"}),c&&(0,kt.jsx)(xa,{...u})]},l)})})})};var Wt=pa(require("next/image"));var qt=t=>{let{customId:a,reusableContent:o}=t;return typeof o=="object"&&o!==null?(0,kt.jsx)(_o,{blocks:o.layout}):(0,kt.jsx)(kt.Fragment,{})},_t={content:Ua,cta:Na,mediaBlock:ba,imageBlock:ba,features:Pa},_o=t=>{let{blocks:a}=t;return a&&Array.isArray(a)&&a.length>0?(0,kt.jsx)("section",{id:"render-blocks",children:a.map((s,r)=>{var n,d;let{blockType:e}=s,i=s==null?void 0:s.theme;if(e&&e in _t){let l=_t[e];if(l)return(0,kt.jsx)("div",{className:"py-6 relative",children:(0,kt.jsx)("div",{className:b(((n=i==null?void 0:i.settings)==null?void 0:n.theme)==="dark"?"dark":((d=i==null?void 0:i.settings)==null?void 0:d.theme)==="green"?"green":""),children:(0,kt.jsx)(l,{...s})})},r)}return null})}):null};var Ht={content:Ua,cta:Na,mediaBlock:ba,imageBlock:ba,features:Pa,reusableContentBlock:qt},ja=t=>{let{blocks:a}=t;return a&&Array.isArray(a)&&a.length>0?(0,kt.jsx)("section",{id:"render-blocks",className:b(t.fill?"h-full w-full":""),children:a.map((s,r)=>{var n,d;let{blockType:e}=s,i=s==null?void 0:s.theme;if(e&&e in Ht){let l=Ht[e];if(l)return(0,kt.jsxs)("div",{className:b("py-6 relative",t.fill&&"flex h-full items-center justify-center"),children:[(0,kt.jsx)(qo,{block:s,index:r}),(0,kt.jsx)("div",{className:b("container h-full",((n=i==null?void 0:i.settings)==null?void 0:n.theme)==="dark"?"dark":((d=i==null?void 0:i.settings)==null?void 0:d.theme)==="green"?"green":""),children:(0,kt.jsx)(l,{...s})})]},r)}return null})}):null},qo=t=>{var o,s,r,e,i;if(!("theme"in t.block))return null;let a=(o=t.block)==null?void 0:o.theme;if(a.settings.background==="image"){let n={imagePosition:a.settings.imagePosition||"left",overlay:a.settings.overlay!==void 0?a.settings.overlay:!0};return(0,kt.jsxs)("div",{className:b("absolute inset-0 w-full h-full -z-10",a.settings.theme==="dark"?"dark bg-background":a.settings.theme==="green"?"green bg-background":""),children:[(0,kt.jsx)(Wt.default,{src:((r=(s=a.settings)==null?void 0:s.image)==null?void 0:r.url)||"/placeholder.svg",alt:((i=(e=a.settings)==null?void 0:e.image)==null?void 0:i.alt)||"",fill:!0,className:"object-cover",priority:!0}),a.settings.overlay&&(0,kt.jsx)("div",{className:"absolute inset-0",style:{background:n.imagePosition==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]})}return(0,kt.jsx)("div",{className:b("absolute inset-0 -z-10 w-screen h-full",a.settings.theme==="dark"?"dark bg-background":a.settings.theme==="green"?"green bg-background":"")})};var Ba=require("framer-motion");var Yt=pa(ht());var Xs=require("pagedjs");var Ut="../hero-3-N2CBGEV6.jpg";var et=pa(require("next/image"));var Aa="../cortex-reply-dark-XPAJJJYY.png";var Jt=()=>(0,kt.jsxs)("footer",{className:`absolute bottom-0 left-0 w-full py-2 px-8 flex justify-between items-center transition-colors duration-300
|
|
10
|
-
dark bg-background text-primary`,children:[(0,kt.jsxs)("div",{className:"flex px-6 items-center space-x-2",children:[(0,kt.jsx)("img",{src:Aa.src,alt:"Cortex Reply Logo",className:"h-8"}),(0,kt.jsx)("span",{className:"pl-12 text-sm",children:"Power up your people"})]}),(0,kt.jsx)("a",{href:"https://cortexreply.com",className:"text-sm hover:underline",children:"cortexreply.com"})]}),Fa=({title:t})=>(0,kt.jsx)("header",{className:"absolute top-0 left-0 w-full py-4 px-8 flex justify-between items-center transition-colors duration-300 dark bg-background text-foreground",children:(0,kt.jsx)("div",{className:"container",children:(0,kt.jsx)("span",{className:"container text-4xl px-6",children:t})})}),La=t=>{var s,r;let{title:a,hero:o}=t;return(0,kt.jsxs)("div",{className:"relative w-full h-full flex flex-col justify-center min-h-[500px] p-10",children:[(0,kt.jsx)("div",{className:"absolute inset-0",children:(0,kt.jsx)(et.default,{src:o.media?o.media.url:Ut,alt:"Background",width:o.media&&o.media.width&&(s=o.media.width)!=null?s:1920,height:o.media&&o.media.height&&(r=o.media.height)!=null?r:1080,style:{objectFit:"cover"},className:"opacity-80 h-full dark:opacity-60"})}),(0,kt.jsx)("div",{className:"absolute left-16 z-50 top-4 flex flex-col items-start gap-4",children:Aa&&(0,kt.jsx)("div",{className:"h-24",children:(0,kt.jsx)(et.default,{src:Aa,alt:"Company logo",className:"h-full w-full object-contain",width:192,height:96})})}),(0,kt.jsx)("div",{className:"absolute inset-0 bg-black/30 dark:bg-black/50"}),(0,kt.jsxs)("div",{className:"relative pl-24 z-10 max-w-3xl",children:[(0,kt.jsx)("p",{className:"text-lg font-medium pt-48 text-accent mb-2",children:a}),o.richText&&(0,kt.jsx)(ta,{content:o.richText,enableGutter:!1,className:"prose-headings:text-white prose-p:text-white"})]})]})};var st=t=>{let[a,o]=(0,Qt.useState)(0),{blocks:s,hero:r}=t,e=s&&Array.isArray(s)&&s.length>0,n=[{id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},...s],d=y=>{o(y)},l=()=>{o(y=>(y+1)%n.length)},c=()=>{o(y=>(y-1+n.length)%n.length)},f=(0,Qt.useCallback)(((y,v)=>{let k;return(...C)=>{clearTimeout(k),k=setTimeout(()=>y(...C),v)}})(y=>{y.deltaY>0?l():c()},300),[]),h=y=>{y.key==="ArrowDown"?l():y.key==="ArrowUp"&&c()};return(0,Qt.useEffect)(()=>(Yt.default.init({duration:1e3}),window.addEventListener("wheel",f),window.addEventListener("keydown",h),()=>{window.removeEventListener("wheel",f),window.removeEventListener("keydown",h)}),[]),(0,kt.jsxs)("div",{className:"flex flex-col min-h-screen relative overflow-hidden",children:[(0,kt.jsx)("div",{className:"fixed left-0 top-0 flex h-screen w-9 z-10 flex-col items-center justify-center bg-gray-900",children:e&&n.map((y,v)=>(0,kt.jsx)("button",{className:`group relative flex items-center justify-center my-2 h-16 w-4 rounded-full transition-all hover:bg-accent duration-300 ${a===v?"bg-accent":"bg-gray-600"}`,onClick:()=>d(v),children:(0,kt.jsx)("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:y.blockName})},y.id))}),(0,kt.jsx)(Ba.AnimatePresence,{children:n.map((y,v)=>(0,kt.jsx)("div",{id:`slide-${v}`,className:"print-section",children:(0,kt.jsx)("div",{className:`absolute flex items-center justify-center transition-opacity duration-1000
|
|
11
|
-
${v===a?"opacity-100":"opacity-0"}
|
|
12
|
-
w-full h-full bg-cover bg-center`,children:v===0?(0,kt.jsx)(La,{hero:r,title:t.title}):(0,kt.jsxs)(kt.Fragment,{children:[y.blockName&&(0,kt.jsx)(Fa,{title:y.blockName}),(0,kt.jsx)(ja,{blocks:[y],fill:!0}),(0,kt.jsx)(Jt,{})]})})},v))}),(0,kt.jsx)("button",{className:"absolute bottom-4 left-1 z-20 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:l,children:(0,kt.jsx)(Uo,{})})]})},Uo=()=>(0,kt.jsx)(Ba.AnimatePresence,{children:(0,kt.jsx)(Ba.motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.7,ease:[.76,0,.24,1]},className:b("w-fit min-h-[50px] min-w-[20px] p-1 border-2 rounded-full","border-accent"),children:(0,kt.jsx)(Ba.motion.div,{initial:{y:0},animate:{y:[0,25],opacity:[1,0]},transition:{duration:1,ease:"easeOut",repeat:1/0,repeatDelay:1},className:b("w-[12px] h-[12px] rounded-full","bg-accent")})})});function Jo(t){var a=document.createElement("div");a.style.display="block",a.style.height=t,document.body.appendChild(a);var o=parseFloat(window.getComputedStyle(a,null).height);return a.parentNode&&a.parentNode.removeChild(a),Math.floor(o)}var Vt=({page:t,layout:a="portrait"})=>a==="flow"?(0,kt.jsx)(Yo,{page:t,layout:a}):(0,kt.jsx)(Vo,{page:t,layout:a}),Yo=({page:t,layout:a="portrait"})=>{let{contentWithIds:o}=Sa(t),r=[{id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},...o];return(0,kt.jsx)("div",{className:"w-[297mm]",children:(0,kt.jsxs)("div",{id:"printable-content",children:[r.map((e,i)=>(0,kt.jsx)(kt.Fragment,{children:i===0?(0,kt.jsx)("section",{className:"title-page w-full h-full",children:(0,kt.jsx)(La,{hero:t.hero,title:t.title})},i):(0,kt.jsxs)("section",{className:"normal-page overflow-hidden",children:[e.blockName&&(0,kt.jsx)(Fa,{title:e.blockName}),(0,kt.jsx)(ja,{blocks:[e],fill:!0})]},i)})),(0,kt.jsx)("section",{className:"normal-page",children:(0,kt.jsxs)("div",{className:`w-full py-2 px-8 flex justify-between items-center
|
|
13
|
-
dark bg-background text-primary`,children:[(0,kt.jsxs)("div",{className:"flex px-6 items-center space-x-2",children:[(0,kt.jsx)("img",{src:Aa.src,alt:"Cortex Reply Logo",className:"h-8"}),(0,kt.jsx)("span",{className:"pl-12 text-sm",children:"Power up your people"})]}),(0,kt.jsx)("a",{href:"https://cortexreply.com",className:"text-sm hover:underline",children:"cortexreply.com"})]})})]})})},Vo=({page:t,layout:a="portrait"})=>{let{contentWithIds:o}=Sa(t),s=(0,Qt.useRef)(null),r=(0,Qt.useRef)(null),e=(0,Qt.useRef)(new Xs.Previewer),[i,n]=(0,Qt.useState)(0),l=[{id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},...o],c=(0,Qt.useCallback)(()=>{s.current&&(s.current&&(s.current.innerHTML=""),e.current.preview(document.getElementById("printable-content").innerHTML,["./print.css",a==="landscape"?"./landscape.css":"./portrait.css"],s.current).then(u=>n(u.pageCount)).catch(u=>console.error("Paged.js error:",u)))},[]);return(0,Qt.useEffect)(()=>{e.current=new Xs.Previewer,c()},[c,a]),(0,kt.jsxs)("div",{className:"pagedjs-container",children:[(0,kt.jsx)("div",{id:"printable-content",ref:r,style:{display:"none"},className:"pagedjs-content",children:l.map((u,f)=>{var h,y;return(0,kt.jsx)(kt.Fragment,{children:f===0?(0,kt.jsx)("section",{className:"pagedjs-section title-page w-full h-full",children:(0,kt.jsx)(La,{hero:t.hero,title:t.title})},f):(0,kt.jsxs)("section",{className:b("pagedjs-section normal-page h-[699px]",`h-[${Jo("185mm")}px]`,((y=(h=u.theme)==null?void 0:h.settings)==null?void 0:y.theme)==="dark"?"dark":"light"),children:[u.blockName&&(0,kt.jsx)(Fa,{title:u.blockName}),(0,kt.jsx)(ja,{blocks:[u],fill:!0})]},f)})})}),(0,kt.jsx)("div",{ref:s,className:"preview-container"})]})};var Xt=pa(require("html2canvas")),nt=require("jspdf");function Qo({type:t="slideshow",orientation:a="landscape",...o}){let s=o.page,[r,e]=(0,Qt.useState)(a);console.log("args",o);let{contentWithIds:i,tableOfContents:n}=Sa(s);if(t==="slideshow")return(0,kt.jsx)("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:(0,kt.jsx)(st,{blocks:i,hero:o.hero,title:o.page.title})});if(t==="print")return(0,kt.jsxs)(kt.Fragment,{children:[(0,kt.jsx)(Xo,{layout:r,changeLayout:e}),(0,kt.jsx)(Vt,{page:o.page,layout:r})]})}var Xo=({changeLayout:t,layout:a="landscape"})=>{let o=async()=>{a==="flow"?r("printable-content"):(await new Promise(e=>setTimeout(e,300)),window.print())},s=e=>{t&&t(e)},r=async e=>{console.log("elementToPrintId",e);let i=document.getElementById(e);if(!i)throw new Error(`Element with id ${e} not found`);let n=document.createElement("canvas"),d=window.devicePixelRatio;n.width=Math.max(i.clientWidth||0)*d,n.height=Math.max(i.clientHeight||0)*d+100;let l=n.getContext("2d");if(!l)throw new Error("Failed to get 2D context");let c=l.drawImage,u=Array.from(i.getElementsByTagName("img")).reduce((N,j)=>(N[j.src]=j,N),{});l.drawImage=function(...N){let[j,Y,g,m,x,p,D,L,W]=N;if(j instanceof HTMLImageElement){let V=u[j.src].style.objectFit||"fill",aa=u[j.src].style.objectPosition||"center center";x=j.height,m=j.width;let K=m/x,Q=L/W,[X,S]=aa.split(" ");switch(S||(S=X),V){case"cover":if(K>Q){let T=x*Q,I=(m-T)/2;X==="left"&&(I=0),X==="right"&&(I=m-T),Y+=I,m=T}else{let T=m/Q,I=(x-T)/2;S==="top"&&(I=0),S==="bottom"&&(I=x-T),g+=I,x=T}break;case"contain":if(K>Q){let T=L/K,I=(W-T)/2;S==="top"&&(I=0),S==="bottom"&&(I=W-T),D+=I,W=T}else{let T=W*K,I=(L-T)/2;X==="left"&&(I=0),X==="right"&&(I=L-T),p+=I,L=T}break;case"fill":break}}return c.call(l,j,Y,g,m,x,p,D,L,W)};let f=document.getElementById(e);if(!f)throw new Error(`Element with id ${e} not found`);var h=n.width,y=n.height;let k=(await(0,Xt.default)(f,{canvas:n,windowHeight:y,windowWidth:h,scale:window.devicePixelRatio})).toDataURL("image/png"),F=new nt.jsPDF({}).getImageProperties(k),q=297,z=q*(F.height/F.width),J=new nt.jsPDF({unit:"mm",format:[q,z]});J.addImage(k,"PNG",0,0,q,z),J.save("print.pdf")};return(0,kt.jsx)("div",{className:b("fixed right-2 z-20 top-20 space-y-6 print:hidden"),children:(0,kt.jsx)("div",{className:"flex flex-row-reverse z-20 min-w-70 gap-4",children:(0,kt.jsxs)("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:[(0,kt.jsxs)("a",{onClick:o,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,kt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",children:(0,kt.jsx)("path",{d:"M96 160l-32 0 0-96C64 28.7 92.7 0 128 0L357.5 0c17 0 33.3 6.7 45.3 18.7l26.5 26.5c12 12 18.7 28.3 18.7 45.3l0 69.5-32 0 0-69.5c0-8.5-3.4-16.6-9.4-22.6L380.1 41.4c-6-6-14.1-9.4-22.6-9.4L128 32c-17.7 0-32 14.3-32 32l0 96zm352 64L64 224c-17.7 0-32 14.3-32 32l0 128 32 0 0-32c0-17.7 14.3-32 32-32l320 0c17.7 0 32 14.3 32 32l0 32 32 0 0-128c0-17.7-14.3-32-32-32zm0 192l0 64c0 17.7-14.3 32-32 32L96 512c-17.7 0-32-14.3-32-32l0-64-32 0c-17.7 0-32-14.3-32-32L0 256c0-35.3 28.7-64 64-64l384 0c35.3 0 64 28.7 64 64l0 128c0 17.7-14.3 32-32 32l-32 0zM96 352l0 128 320 0 0-128L96 352zM432 248a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"})}),(0,kt.jsx)("small",{className:"text-xs font-medium",children:"Print"})]}),(0,kt.jsx)("div",{className:"flex-grow border-t border-gray-200 dark:border-slate-600/60"}),(0,kt.jsxs)("a",{onClick:()=>s("portrait"),className:b("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",a==="portrait"?"text-accent":"hover:text-accent"),children:[(0,kt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",fill:"currentColor",children:(0,kt.jsx)("path",{d:"M352 448c0 17.7-14.3 32-32 32L64 480c-17.7 0-32-14.3-32-32L32 64c0-17.7 14.3-32 32-32l256 0c17.7 0 32 14.3 32 32l0 384zM384 64c0-35.3-28.7-64-64-64L64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-384z"})}),(0,kt.jsx)("small",{className:"text-xs",children:"Portrait"})]}),(0,kt.jsxs)("a",{onClick:()=>s("landscape"),className:b("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",a==="landscape"?"text-accent":"hover:text-accent"),children:[(0,kt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512",fill:"currentColor",children:(0,kt.jsx)("path",{d:"M576 96c17.7 0 32 14.3 32 32l0 256c0 17.7-14.3 32-32 32L64 416c-17.7 0-32-14.3-32-32l0-256c0-17.7 14.3-32 32-32l512 0zM64 64C28.7 64 0 92.7 0 128L0 384c0 35.3 28.7 64 64 64l512 0c35.3 0 64-28.7 64-64l0-256c0-35.3-28.7-64-64-64L64 64z"})}),(0,kt.jsx)("small",{className:"text-xs",children:"Landscape"})]}),(0,kt.jsxs)("a",{onClick:()=>s("flow"),className:b("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",a==="flow"?"text-accent":"hover:text-accent"),children:[(0,kt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:(0,kt.jsx)("path",{d:"M266.2 4.7C273 1.6 280.5 0 288 0s15 1.6 21.8 4.7l217.4 97.5c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 251.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 153.9C38.6 149.3 32 139.2 32 128s6.6-21.3 16.8-25.9L266.2 4.7zM288 32c-3 0-6 .6-8.8 1.9L69.3 128l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-210-94.1C294 32.6 291 32 288 32zM48.8 358.1l45.9-20.6 39.1 17.5L69.3 384l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-64.5-28.9 39.1-17.5 45.9 20.6c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 507.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 409.9C38.6 405.3 32 395.2 32 384s6.6-21.3 16.8-25.9zM94.7 209.5l39.1 17.5L69.3 256l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-64.5-28.9 39.1-17.5 45.9 20.6c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 379.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 281.9C38.6 277.3 32 267.2 32 256s6.6-21.3 16.8-25.9l45.9-20.6z"})}),(0,kt.jsx)("small",{className:"text-xs",children:"Continuous"})]})]})})})};0&&(module.exports={Publish});
|
|
5
|
+
"use strict";"use client";var Et=Object.create;var Ba=Object.defineProperty;var Ft=Object.getOwnPropertyDescriptor;var Lt=Object.getOwnPropertyNames;var Dt=Object.getPrototypeOf,Ht=Object.prototype.hasOwnProperty;var Gt=(t,a)=>{for(var o in a)Ba(t,o,{get:a[o],enumerable:!0})},Xa=(t,a,o,s)=>{if(a&&typeof a=="object"||typeof a=="function")for(let r of Lt(a))!Ht.call(t,r)&&r!==o&&Ba(t,r,{get:()=>a[r],enumerable:!(s=Ft(a,r))||s.enumerable});return t};var oa=(t,a,o)=>(o=t!=null?Et(Dt(t)):{},Xa(a||!t||!t.__esModule?Ba(o,"default",{value:t,enumerable:!0}):o,t)),Ut=t=>Xa(Ba({},"__esModule",{value:!0}),t);var zo={};Gt(zo,{Publish:()=>Io});module.exports=Ut(zo);var zt=require("react");var et=require("clsx");var La="-",jt=t=>{let a=Jt(t),{conflictingClassGroups:o,conflictingClassGroupModifiers:s}=t;return{getClassGroupId:n=>{let d=n.split(La);return d[0]===""&&d.length!==1&&d.shift(),$a(d,a)||Ot(n)},getConflictingClassGroupIds:(n,d)=>{let i=o[n]||[];return d&&s[n]?[...i,...s[n]]:i}}},$a=(t,a)=>{var n;if(t.length===0)return a.classGroupId;let o=t[0],s=a.nextPart.get(o),r=s?$a(t.slice(1),s):void 0;if(r)return r;if(a.validators.length===0)return;let e=t.join(La);return(n=a.validators.find(({validator:d})=>d(e)))==null?void 0:n.classGroupId},Qa=/^\[(.+)\]$/,Ot=t=>{if(Qa.test(t)){let a=Qa.exec(t)[1],o=a==null?void 0:a.substring(0,a.indexOf(":"));if(o)return"arbitrary.."+o}},Jt=t=>{let{theme:a,prefix:o}=t,s={nextPart:new Map,validators:[]};return Wt(Object.entries(t.classGroups),o).forEach(([e,n])=>{Fa(n,s,e,a)}),s},Fa=(t,a,o,s)=>{t.forEach(r=>{if(typeof r=="string"){let e=r===""?a:Va(a,r);e.classGroupId=o;return}if(typeof r=="function"){if(qt(r)){Fa(r(s),a,o,s);return}a.validators.push({validator:r,classGroupId:o});return}Object.entries(r).forEach(([e,n])=>{Fa(n,Va(a,e),o,s)})})},Va=(t,a)=>{let o=t;return a.split(La).forEach(s=>{o.nextPart.has(s)||o.nextPart.set(s,{nextPart:new Map,validators:[]}),o=o.nextPart.get(s)}),o},qt=t=>t.isThemeGetter,Wt=(t,a)=>a?t.map(([o,s])=>{let r=s.map(e=>typeof e=="string"?a+e:typeof e=="object"?Object.fromEntries(Object.entries(e).map(([n,d])=>[a+n,d])):e);return[o,r]}):t,Yt=t=>{if(t<1)return{get:()=>{},set:()=>{}};let a=0,o=new Map,s=new Map,r=(e,n)=>{o.set(e,n),a++,a>t&&(a=0,s=o,o=new Map)};return{get(e){let n=o.get(e);if(n!==void 0)return n;if((n=s.get(e))!==void 0)return r(e,n),n},set(e,n){o.has(e)?o.set(e,n):r(e,n)}}},_a="!",Kt=t=>{let{separator:a,experimentalParseClassName:o}=t,s=a.length===1,r=a[0],e=a.length,n=d=>{let i=[],l=0,p=0,u;for(let b=0;b<d.length;b++){let k=d[b];if(l===0){if(k===r&&(s||d.slice(b,b+e)===a)){i.push(d.slice(p,b)),p=b+e;continue}if(k==="/"){u=b;continue}}k==="["?l++:k==="]"&&l--}let y=i.length===0?d:d.substring(p),x=y.startsWith(_a),m=x?y.substring(1):y,f=u&&u>p?u-p:void 0;return{modifiers:i,hasImportantModifier:x,baseClassName:m,maybePostfixModifierPosition:f}};return o?d=>o({className:d,parseClassName:n}):n},Xt=t=>{if(t.length<=1)return t;let a=[],o=[];return t.forEach(s=>{s[0]==="["?(a.push(...o.sort(),s),o=[]):o.push(s)}),a.push(...o.sort()),a},Qt=t=>({cache:Yt(t.cacheSize),parseClassName:Kt(t),...jt(t)}),Vt=/\s+/,$t=(t,a)=>{let{parseClassName:o,getClassGroupId:s,getConflictingClassGroupIds:r}=a,e=[],n=t.trim().split(Vt),d="";for(let i=n.length-1;i>=0;i-=1){let l=n[i],{modifiers:p,hasImportantModifier:u,baseClassName:y,maybePostfixModifierPosition:x}=o(l),m=!!x,f=s(m?y.substring(0,x):y);if(!f){if(!m){d=l+(d.length>0?" "+d:d);continue}if(f=s(y),!f){d=l+(d.length>0?" "+d:d);continue}m=!1}let b=Xt(p).join(":"),k=u?b+_a:b,A=k+f;if(e.includes(A))continue;e.push(A);let M=r(f,m);for(let z=0;z<M.length;++z){let aa=M[z];e.push(k+aa)}d=l+(d.length>0?" "+d:d)}return d};function _t(){let t=0,a,o,s="";for(;t<arguments.length;)(a=arguments[t++])&&(o=Za(a))&&(s&&(s+=" "),s+=o);return s}var Za=t=>{if(typeof t=="string")return t;let a,o="";for(let s=0;s<t.length;s++)t[s]&&(a=Za(t[s]))&&(o&&(o+=" "),o+=a);return o};function Zt(t,...a){let o,s,r,e=n;function n(i){let l=a.reduce((p,u)=>u(p),t());return o=Qt(l),s=o.cache.get,r=o.cache.set,e=d,d(i)}function d(i){let l=s(i);if(l)return l;let p=$t(i,o);return r(i,p),p}return function(){return e(_t.apply(null,arguments))}}var N=t=>{let a=o=>o[t]||[];return a.isThemeGetter=!0,a},at=/^\[(?:([a-z-]+):)?(.+)\]$/i,ao=/^\d+\/\d+$/,to=new Set(["px","full","screen"]),oo=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,eo=/\d+(%|px|r?em|[sdl]?dt([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(dt|dt|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,so=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,ro=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,no=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,J=t=>ia(t)||to.has(t)||ao.test(t),Q=t=>la(t,"length",go),ia=t=>!!t&&!Number.isNaN(Number(t)),Ea=t=>la(t,"number",ia),ba=t=>!!t&&Number.isInteger(Number(t)),io=t=>t.endsWith("%")&&ia(t.slice(0,-1)),g=t=>at.test(t),V=t=>oo.test(t),lo=new Set(["length","size","percentage"]),co=t=>la(t,lo,tt),mo=t=>la(t,"position",tt),po=new Set(["image","url"]),uo=t=>la(t,po,bo),yo=t=>la(t,"",fo),ha=()=>!0,la=(t,a,o)=>{let s=at.exec(t);return s?s[1]?typeof a=="string"?s[1]===a:a.has(s[1]):o(s[2]):!1},go=t=>eo.test(t)&&!so.test(t),tt=()=>!1,fo=t=>ro.test(t),bo=t=>no.test(t);var ho=()=>{let t=N("colors"),a=N("spacing"),o=N("blur"),s=N("brightness"),r=N("borderColor"),e=N("borderRadius"),n=N("borderSpacing"),d=N("borderWidth"),i=N("contrast"),l=N("grayscale"),p=N("hueRotate"),u=N("invert"),y=N("gap"),x=N("gradientColorStops"),m=N("gradientColorStopPositions"),f=N("inset"),b=N("margin"),k=N("opacity"),A=N("padding"),M=N("saturate"),z=N("scale"),aa=N("sepia"),ta=N("skew"),E=N("space"),ga=N("translate"),na=()=>["auto","contain","none"],L=()=>["auto","hidden","clip","visible","scroll"],D=()=>["auto",g,a],C=()=>[g,a],fa=()=>["",J,Q],H=()=>["auto",ia,g],O=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],da=()=>["solid","dashed","dotted","double","none"],Pa=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],K=()=>["start","end","center","between","around","evenly","stretch"],U=()=>["","0",g],X=()=>["auto","avoid","all","avoid-page","page","left","right","column"],T=()=>[ia,g];return{cacheSize:500,separator:":",theme:{colors:[ha],spacing:[J,Q],blur:["none","",V,g],brightness:T(),borderColor:[t],borderRadius:["none","","full",V,g],borderSpacing:C(),borderWidth:fa(),contrast:T(),grayscale:U(),hueRotate:T(),invert:U(),gap:C(),gradientColorStops:[t],gradientColorStopPositions:[io,Q],inset:D(),margin:D(),opacity:T(),padding:C(),saturate:T(),scale:T(),sepia:U(),skew:T(),space:C(),translate:C()},classGroups:{aspect:[{aspect:["auto","square","video",g]}],container:["container"],columns:[{columns:[V]}],"break-after":[{"break-after":X()}],"break-before":[{"break-before":X()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...O(),g]}],overflow:[{overflow:L()}],"overflow-x":[{"overflow-x":L()}],"overflow-y":[{"overflow-y":L()}],overscroll:[{overscroll:na()}],"overscroll-x":[{"overscroll-x":na()}],"overscroll-y":[{"overscroll-y":na()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[f]}],"inset-x":[{"inset-x":[f]}],"inset-y":[{"inset-y":[f]}],start:[{start:[f]}],end:[{end:[f]}],top:[{top:[f]}],right:[{right:[f]}],bottom:[{bottom:[f]}],left:[{left:[f]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",ba,g]}],basis:[{basis:D()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",g]}],grow:[{grow:U()}],shrink:[{shrink:U()}],order:[{order:["first","last","none",ba,g]}],"grid-cols":[{"grid-cols":[ha]}],"col-start-end":[{col:["auto",{span:["full",ba,g]},g]}],"col-start":[{"col-start":H()}],"col-end":[{"col-end":H()}],"grid-rows":[{"grid-rows":[ha]}],"row-start-end":[{row:["auto",{span:[ba,g]},g]}],"row-start":[{"row-start":H()}],"row-end":[{"row-end":H()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",g]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",g]}],gap:[{gap:[y]}],"gap-x":[{"gap-x":[y]}],"gap-y":[{"gap-y":[y]}],"justify-content":[{justify:["normal",...K()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...K(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...K(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[A]}],px:[{px:[A]}],py:[{py:[A]}],ps:[{ps:[A]}],pe:[{pe:[A]}],pt:[{pt:[A]}],pr:[{pr:[A]}],pb:[{pb:[A]}],pl:[{pl:[A]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],zt:[{zt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[E]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[E]}],"space-y-reverse":["space-y-reverse"],dt:[{dt:["auto","min","max","fit","svw","lvw","dvw",g,a]}],"min-dt":[{"min-dt":[g,a,"min","max","fit"]}],"max-dt":[{"max-dt":[g,a,"none","full","min","max","fit","prose",{screen:[V]},V]}],dt:[{dt:[g,a,"auto","min","max","fit","svh","lvh","dvh"]}],"min-dt":[{"min-dt":[g,a,"min","max","fit","svh","lvh","dvh"]}],"max-dt":[{"max-dt":[g,a,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[g,a,"auto","min","max","fit"]}],"font-size":[{text:["base",V,Q]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Ea]}],"font-family":[{font:[ha]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",g]}],"line-clamp":[{"line-clamp":["none",ia,Ea]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",J,g]}],"list-image":[{"list-image":["none",g]}],"list-style-type":[{list:["none","disc","decimal",g]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[k]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[k]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...da(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",J,Q]}],"underline-offset":[{"underline-offset":["auto",J,g]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:C()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",g]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",g]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[k]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...O(),mo]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",co]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},uo]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[m]}],"gradient-via-pos":[{via:[m]}],"gradient-to-pos":[{to:[m]}],"gradient-from":[{from:[x]}],"gradient-via":[{via:[x]}],"gradient-to":[{to:[x]}],rounded:[{rounded:[e]}],"rounded-s":[{"rounded-s":[e]}],"rounded-e":[{"rounded-e":[e]}],"rounded-t":[{"rounded-t":[e]}],"rounded-r":[{"rounded-r":[e]}],"rounded-b":[{"rounded-b":[e]}],"rounded-l":[{"rounded-l":[e]}],"rounded-ss":[{"rounded-ss":[e]}],"rounded-se":[{"rounded-se":[e]}],"rounded-ee":[{"rounded-ee":[e]}],"rounded-es":[{"rounded-es":[e]}],"rounded-tl":[{"rounded-tl":[e]}],"rounded-tr":[{"rounded-tr":[e]}],"rounded-br":[{"rounded-br":[e]}],"rounded-bl":[{"rounded-bl":[e]}],"border-dt":[{border:[d]}],"border-dt-x":[{"border-x":[d]}],"border-dt-y":[{"border-y":[d]}],"border-dt-s":[{"border-s":[d]}],"border-dt-e":[{"border-e":[d]}],"border-dt-t":[{"border-t":[d]}],"border-dt-r":[{"border-r":[d]}],"border-dt-b":[{"border-b":[d]}],"border-dt-l":[{"border-l":[d]}],"border-opacity":[{"border-opacity":[k]}],"border-style":[{border:[...da(),"hidden"]}],"divide-x":[{"divide-x":[d]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[d]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[k]}],"divide-style":[{divide:da()}],"border-color":[{border:[r]}],"border-color-x":[{"border-x":[r]}],"border-color-y":[{"border-y":[r]}],"border-color-s":[{"border-s":[r]}],"border-color-e":[{"border-e":[r]}],"border-color-t":[{"border-t":[r]}],"border-color-r":[{"border-r":[r]}],"border-color-b":[{"border-b":[r]}],"border-color-l":[{"border-l":[r]}],"divide-color":[{divide:[r]}],"outline-style":[{outline:["",...da()]}],"outline-offset":[{"outline-offset":[J,g]}],"outline-dt":[{outline:[J,Q]}],"outline-color":[{outline:[t]}],"ring-dt":[{ring:fa()}],"ring-dt-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[k]}],"ring-offset-dt":[{"ring-offset":[J,Q]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",V,yo]}],"shadow-color":[{shadow:[ha]}],opacity:[{opacity:[k]}],"mix-blend":[{"mix-blend":[...Pa(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Pa()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[s]}],contrast:[{contrast:[i]}],"drop-shadow":[{"drop-shadow":["","none",V,g]}],grayscale:[{grayscale:[l]}],"hue-rotate":[{"hue-rotate":[p]}],invert:[{invert:[u]}],saturate:[{saturate:[M]}],sepia:[{sepia:[aa]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[s]}],"backdrop-contrast":[{"backdrop-contrast":[i]}],"backdrop-grayscale":[{"backdrop-grayscale":[l]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[p]}],"backdrop-invert":[{"backdrop-invert":[u]}],"backdrop-opacity":[{"backdrop-opacity":[k]}],"backdrop-saturate":[{"backdrop-saturate":[M]}],"backdrop-sepia":[{"backdrop-sepia":[aa]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[n]}],"border-spacing-x":[{"border-spacing-x":[n]}],"border-spacing-y":[{"border-spacing-y":[n]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",g]}],duration:[{duration:T()}],ease:[{ease:["linear","in","out","in-out",g]}],delay:[{delay:T()}],animate:[{animate:["none","spin","ping","pulse","bounce",g]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[z]}],"scale-x":[{"scale-x":[z]}],"scale-y":[{"scale-y":[z]}],rotate:[{rotate:[ba,g]}],"translate-x":[{"translate-x":[ga]}],"translate-y":[{"translate-y":[ga]}],"skew-x":[{"skew-x":[ta]}],"skew-y":[{"skew-y":[ta]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",g]}],accent:[{accent:["auto",t]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","dt-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",g]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":C()}],"scroll-mx":[{"scroll-mx":C()}],"scroll-my":[{"scroll-my":C()}],"scroll-ms":[{"scroll-ms":C()}],"scroll-me":[{"scroll-me":C()}],"scroll-zt":[{"scroll-zt":C()}],"scroll-mr":[{"scroll-mr":C()}],"scroll-mb":[{"scroll-mb":C()}],"scroll-ml":[{"scroll-ml":C()}],"scroll-p":[{"scroll-p":C()}],"scroll-px":[{"scroll-px":C()}],"scroll-py":[{"scroll-py":C()}],"scroll-ps":[{"scroll-ps":C()}],"scroll-pe":[{"scroll-pe":C()}],"scroll-pt":[{"scroll-pt":C()}],"scroll-pr":[{"scroll-pr":C()}],"scroll-pb":[{"scroll-pb":C()}],"scroll-pl":[{"scroll-pl":C()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",g]}],fill:[{fill:[t,"none"]}],"stroke-dt":[{stroke:[J,Q,Ea]}],stroke:[{stroke:[t,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","zt","mr","mb","ml"],mx:["mr","ml"],my:["zt","mb"],size:["dt","dt"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-dt":["border-dt-s","border-dt-e","border-dt-t","border-dt-r","border-dt-b","border-dt-l"],"border-dt-x":["border-dt-r","border-dt-l"],"border-dt-y":["border-dt-t","border-dt-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-zt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-zt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var ot=Zt(ho);function c(...t){return ot((0,et.clsx)(t))}function xa(t){let a=0,o=(e,n)=>`${e.toLowerCase().replace(/\s+/g,"-").replace(/[^\dt-]/g,"")}-${n}`,s=t.layout.flatMap(e=>{let n=[];return"title"in e&&e.title&&n.push({text:e.title,id:o(e.title,a++),tag:"h2"}),"columns"in e&&Array.isArray(e.columns)&&e.columns.forEach(d=>{var i,l,p,u,y;if(d.title&&n.push({text:d.title,id:o(d.title,a++),tag:"h2"}),(l=(i=d.richText)==null?void 0:i.root)!=null&&l.children&&((u=(p=d.richText)==null?void 0:p.root)==null?void 0:u.children.length)===1){let x=d.richText.root.children.filter(m=>m!==void 0&&m.type==="heading");for(let m of x)m.children[0]&&n.push({text:(y=m.children[0].text)!=null?y:"",id:o(m.children[0].text,a++),tag:m.tag||"h2"})}}),n}),r=xo(t.layout);return{tableOfContents:s,contentWithIds:r}}function xo(t){let a=(s,r)=>`${s.toLowerCase().replace(/\s+/g,"-").replace(/[^\dt-]/g,"")}-${r}`,o=0;return t.map(s=>(s.title&&(s.id=a(s.title,o++)),s.columns&&(s.columns=s.columns.map(r=>(r.title&&(r.id=a(r.title,o++)),r.richText&&(r.richText.root.children=r.richText.root.children.filter(e=>e!==void 0).filter(e=>e.children!==void 0&&e.children.length>0).map(e=>(e.type==="heading"&&e.children[0].text&&(e.id=a(e.children[0].text,o++)),e))),r))),s))}var st=require("@radix-ui/react-slot"),rt=require("class-variance-authority"),nt=oa(require("react")),dt=require("react/jsx-runtime"),vo=(0,rt.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"dt-10 px-4 py-2",icon:"dt-10 dt-10",lg:"dt-11 rounded px-8",sm:"dt-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),ea=nt.forwardRef(({asChild:t=!1,className:a,size:o,variant:s,...r},e)=>(0,dt.jsx)(t?st.Slot:"button",{className:c(vo({className:a,size:o,variant:s})),ref:e,...r}));ea.displayName="Button";var Da=({type:t="solid",iconName:a="cloud",size:o="lg",className:s})=>{let r=t.includes("fa-")?t+" ":"fa-"+t+" ",e="fa-"+a,n=s!=null?s:"",d=r+e+" fa-"+o+" "+n;return(0,dt.jsx)("i",{className:d})};var lt=({className:t,content:a,style:o})=>(0,dt.jsx)("div",{className:c("mx-auto my-8 dt-full",t),children:(0,dt.jsx)("div",{className:c("border py-3 px-6 flex items-center rounded",{"border-border bg-card":o==="info","border-error bg-error/30":o==="error","border-success bg-success/30":o==="success","border-warning bg-warning/30":o==="warning"}),children:(0,dt.jsx)(F,{content:a,enableGutter:!1,enableProse:!1})})});var Ha=oa(require("next/link")),sa=t=>{let{type:a,appearance:o="inline",children:s,className:r,label:e,newTab:n,reference:d,size:i,url:l}=t,p=a==="reference"&&typeof(d==null?void 0:d.value)=="object"&&d.value.slug?`${(d==null?void 0:d.relationTo)!=="pages"?`/${d==null?void 0:d.relationTo}`:""}/${d.value.slug}`:l;if(!p)return null;let u=o==="link"?"clear":i,y=n?{rel:"noopener noreferrer",target:"_blank"}:{};return o==="inline"?(0,dt.jsxs)(Ha.default,{className:c(r),href:p||l||"",...y,children:[e&&e,s&&s]}):(0,dt.jsx)(ea,{asChild:!0,className:r,size:u,variant:o,children:(0,dt.jsxs)(Ha.default,{className:c(r),href:p||l||"",...y,children:[e&&e,s&&s]})})};var ca=({links:t,richText:a})=>(0,$.jsx)("div",{className:"container",children:(0,$.jsxs)("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,$.jsx)("div",{className:"max-dt-[48rem] flex items-center",children:a&&(0,$.jsx)(F,{className:"mb-0",content:a,enableGutter:!1})}),(0,$.jsx)("div",{className:"flex flex-col gap-8",children:(t||[]).map(({link:o},s)=>(0,$.jsx)(sa,{size:"lg",...o},s))})]})});var Aa=require("prism-react-renderer");var ct=require("lucide-react");function pt({code:t}){let[a,o]=(0,zt.useState)("Copy");function s(){a==="Copy"&&(o(()=>"Copied!"),setTimeout(()=>{o(()=>"Copy")},1e3))}return(0,dt.jsx)("div",{className:"flex justify-end align-middle",children:(0,dt.jsxs)(ea,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(t),s()},children:[(0,dt.jsx)("p",{children:a}),(0,dt.jsx)("div",{className:"dt-6 dt-6 dark:invert",children:(0,dt.jsx)(ct.ClipboardCopy,{})})]})})}var ut=({code:t,language:a=""})=>t?(0,dt.jsx)(Aa.Highlight,{code:t,language:a,theme:Aa.themes.vsDark,children:({getLineProps:o,getTokenProps:s,tokens:r})=>(0,dt.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[r.map((e,n)=>(0,dt.jsxs)("div",{...o({className:"table-row",line:e}),children:[(0,dt.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:n+1}),(0,dt.jsx)("span",{className:"table-cell pl-4",children:e.map((d,i)=>(0,dt.jsx)("span",{...s({token:d})},i))})]},n)),(0,dt.jsx)(pt,{code:t})]})}):null;var yt=({className:t,code:a,language:o})=>(0,dt.jsx)("div",{className:[t,"not-prose"].filter(Boolean).join(" "),children:(0,dt.jsx)(ut,{code:a,language:o})});var ft=oa(require("next/image")),wo={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},gt="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=",bt=t=>{let{alt:a,fill:o,imgClassName:s,priority:r,resource:e,size:n,src:d,loading:i}=t,l,p,u=a,y=d||"";if(!y&&e&&typeof e=="object"){let{alt:f,filename:b,height:k,url:A,width:M}=e;if(k&&k>500){let z=500/k;l=M*z,p=k*z}else l=M,p=k;u=f||"",y=A||gt}let x=i||"lazy",m=n||Object.entries(wo).map(([,f])=>`(max-width: ${f}px) ${f*2}dt`).join(", ");return(0,dt.jsx)("picture",{children:(0,dt.jsx)(ft.default,{alt:u||"",className:c(s),fill:o,height:o?void 0:p,placeholder:"blur",blurDataURL:gt,priority:x!=="lazy"&&r,quality:100,loading:x,sizes:m,src:y,width:o?void 0:l})})};var ht=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var xt=()=>{if(ht){let t=window.location.protocol,a=window.location.hostname,o=window.location.port;return`${t}//${a}${o?`:${o}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var vt=t=>{let{onClick:a,resource:o,videoClassName:s}=t,r=(0,zt.useRef)(null);if((0,zt.useEffect)(()=>{let{current:e}=r;e&&e.addEventListener("suspend",()=>{})},[]),o&&typeof o=="object"){let{filename:e}=o;return(0,dt.jsx)("video",{autoPlay:!0,className:c(s),controls:!1,loop:!0,muted:!0,onClick:a,playsInline:!0,ref:r,children:(0,dt.jsx)("source",{src:`${xt()}/media/${e}`})})}return null};var Sa=t=>{var n;let{className:a,htmlElement:o="div",resource:s}=t,r=typeof s=="object"&&((n=s==null?void 0:s.mimeType)==null?void 0:n.includes("video"));return(0,dt.jsx)(o||zt.Fragment,{...o!==null?{className:a}:{},children:r?(0,dt.jsx)(vt,{...t}):(0,dt.jsx)(bt,{...t})})};var _=t=>{let{className:a,enableGutter:o=!0,imgClassName:s,media:r,staticImage:e}=t;return(0,dt.jsx)("div",{className:c("dt-full ",{container:o},a),children:(0,dt.jsx)(Sa,{imgClassName:c("rounded-[0.8rem]",s),className:"flex justify-center",resource:r,src:e})})};var kt=t=>{let{className:a,enableGutter:o=!0,imgClassName:s,media:r,staticImage:e}=t;return(0,dt.jsx)("div",{className:c("",{container:o},a),children:(0,dt.jsx)(Sa,{imgClassName:c("rounded-[0.8rem]",s),resource:r,src:e})})};var ma=({title:t,description:a,features:o,id:s,nested:r=!1})=>(0,dt.jsxs)("section",{className:c(!r&&"container","dt-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[t&&(0,dt.jsx)("h2",{className:"mb-6 zt-0 text-2xl font-bold md:text-3xl text-primary",id:s||"",children:t}),a&&typeof a=="string"&&(0,dt.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:a}),a&&typeof a=="object"&&(0,dt.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:(0,dt.jsx)(F,{content:a,enableGutter:!1})}),(0,dt.jsx)("div",{className:`grid gap-8 zt-10 md:grid-cols-${o?o.length:1}`,children:o&&o.map((e,n)=>{var i,l,p,u,y;let d=()=>{if(e.icon&&"type"in e.icon&&e.icon.type!=="none")return{type:e.icon.type,iconName:e.icon.icon}};return(0,dt.jsx)(Ct,{variant:((i=e.settings)==null?void 0:i.card)==="default"?"light":((l=e.settings)==null?void 0:l.card)||"outline",icon:d()||void 0,iconSize:((p=e.settings)==null?void 0:p.iconSize)||"large",width:"auto",order:n,heading:e.title||"",content:e.content||void 0,statistic:e.statistic||void 0,buttonText:(u=e.link)!=null&&u.url?"Find out more":void 0,buttonHref:((y=e.link)==null?void 0:y.url)||void 0},n)})})]});var za=oa(require("react"));function wa({nodes:t}){return(0,dt.jsx)(za.Fragment,{children:t==null?void 0:t.map((a,o)=>{if(a==null)return null;if(a.type==="text"&&a.text){let e=(0,dt.jsx)(za.default.Fragment,{children:a.text},o);return a.format&1&&(e=(0,dt.jsx)("strong",{children:e},o)),a.format&2&&(e=(0,dt.jsx)("em",{children:e},o)),a.format&4&&(e=(0,dt.jsx)("span",{style:{textDecoration:"line-through"},children:e},o)),a.format&8&&(e=(0,dt.jsx)("span",{style:{textDecoration:"underline"},children:e},o)),a.format&16&&(e=(0,dt.jsx)("code",{children:a.text},o)),a.format&32&&(e=(0,dt.jsx)("sub",{children:e},o)),a.format&64&&(e=(0,dt.jsx)("sup",{children:e},o)),e}if(a.type==="table")return(0,dt.jsx)("table",{children:(0,dt.jsx)("tbody",{children:a.children.map((e,n)=>(0,dt.jsx)("tr",{children:e.children.map((d,i)=>(0,dt.jsx)("td",{children:wa({nodes:d.children})},i))},n))})},o);let s=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 wa({nodes:e.children})},r="children"in a?s(a):"";if(a.type==="block"){let e=a.fields,n=e==null?void 0:e.blockType;if(!e||!n)return null;switch(n){case"cta":return(0,dt.jsx)(ca,{...e},o);case"mediaBlock":return(0,dt.jsx)(_,{className:"col-start-1 col-span-3",imgClassName:"m-0",...e,captionClassName:"mx-auto max-dt-[48rem]",enableGutter:!1,disableInnerContainer:!0},o);case"imageBlock":return(0,dt.jsx)(kt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...e,captionClassName:"mx-auto max-dt-[48rem]",enableGutter:!1,disableInnerContainer:!0},o);case"banner":return(0,dt.jsx)(lt,{className:"col-start-2 mb-4",...e},o);case"code":return(0,dt.jsx)(yt,{className:"col-start-2",...e},o);case"features":return(0,dt.jsx)(ma,{...e,nested:!0},o);case"reusableContentBlock":wa({nodes:e.reusableContent.layout});default:return null}}else switch(a.type){case"linebreak":return(0,dt.jsx)("br",{className:"col-start-2"},o);case"paragraph":return(0,dt.jsx)("p",{className:"col-start-2",children:r},o);case"heading":{let e=a==null?void 0:a.tag;return(0,dt.jsx)(e,{className:"col-start-2",id:(a==null?void 0:a.id)||"",children:r},o)}case"list":{let e=a==null?void 0:a.tag;return(0,dt.jsx)(e,{className:"list col-start-2",children:r},o)}case"listitem":return(a==null?void 0:a.checked)!=null?(0,dt.jsx)("li",{"aria-checked":a.checked?"true":"false",className:` ${a.checked,""}`,role:"checkbox",tabIndex:-1,value:a==null?void 0:a.value,children:r},o):(0,dt.jsx)("li",{value:a==null?void 0:a.value,children:r},o);case"quote":return(0,dt.jsx)("blockquote",{className:"col-start-2",children:r},o);case"link":{let e=a.fields;return(0,dt.jsx)(sa,{newTab:!!(e!=null&&e.newTab),reference:e.doc,type:e.linkType==="internal"?"reference":"custom",url:e.url,children:r},o)}case"autolink":{let e=a.fields;return(0,dt.jsx)(sa,{newTab:!!(e!=null&&e.newTab),reference:e.doc,type:e.linkType==="internal"?"reference":"custom",url:e.url,children:r},o)}default:return null}})})}var F=({className:t,content:a,enableGutter:o=!0,enableProse:s=!0})=>{var r;return a?(0,dt.jsx)("div",{className:c({"container ":o,"max-dt-none":!o,"mx-auto prose dark:prose-invert ":s},t),children:a&&!Array.isArray(a)&&typeof a=="object"&&"root"in a&&wa({nodes:(r=a==null?void 0:a.root)==null?void 0:r.children})}):null};function Pt(t){return t&&typeof t=="object"&&"type"in t&&"iconName"in t}function Ct({variant:t="outline",className:a,icon:o,iconSize:s="large",width:r="auto",order:e=0,heading:n,subheading:d,content:i,statistic:l,buttonText:p,buttonHref:u}){let y={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:""},x={"1/4":"dt-1/4","1/3":"dt-1/3","1/2":"dt-1/2",full:"dt-full",auto:"dt-full"};return(0,dt.jsxs)("div",{className:c("rounded-3xl p-8 md:p-8 min-dt-56 flex flex-col group",y[t],t==="outline"?"text-gray-900":"text-white",a,x[r],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${e+1}00`),children:[(0,dt.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,dt.jsx)(ko,{icon:o,heading:n,variant:t,iconSize:s})}),l&&(0,dt.jsx)("div",{className:"mb-6",children:(0,dt.jsx)("div",{className:c("text-4xl text-wrap font-bold leading-none overflow-hidden",t==="outline"||t==="light"?"text-primary":"text-white"),children:l})}),d&&(0,dt.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:d}),i&&typeof i=="object"&&(0,dt.jsx)("div",{className:c("space-y-6"),children:(0,dt.jsx)(F,{enableGutter:!1,content:i,enableProse:!1,className:c(t==="outline"||t==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100")})}),i&&typeof i=="string"&&(0,dt.jsx)("div",{className:c("space-y-6",t==="outline"||t==="light"?"text-gray-900":"text-gray-100"),children:i}),p&&(0,dt.jsx)("div",{className:"zt-auto pt-6 flex items-center justify-center",children:(0,dt.jsx)(ea,{size:"lg",className:"text-white text-lg rounded-xl dt-full zt-auto items-center justify-center",asChild:!0,children:(0,dt.jsx)("a",{href:u,children:p})})}),t==="radial"&&(0,dt.jsx)("div",{className:"absolute bottom-0 right-0 dt-2/3 dt-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 ko=({icon:t,heading:a,variant:o,iconSize:s})=>t&&s==="small"?(0,dt.jsxs)("div",{className:"flex items-start gap-4 mb-2",children:[Pt(t)&&(0,dt.jsx)("div",{className:c("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",o==="outline"||o==="light"?"text-primary":"text-white",s==="small"?"zt-2":""),children:(0,dt.jsx)(Da,{type:t.type,iconName:t.iconName,size:"2x"})}),(0,dt.jsx)("div",{className:c("font-semibold",o==="outline"||o==="light"?"text-primary":"text-white",s==="small"?"text-2xl":"text-3xl"),children:a})]}):t?(0,dt.jsxs)("div",{className:"flex flex-col gap-4",children:[Pt(t)&&(0,dt.jsx)("div",{className:c("dt-12 dt-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",o==="outline"||o==="light"?"text-accent":""),children:(0,dt.jsx)(Da,{type:t.type,iconName:t.iconName,size:"4x"})}),(0,dt.jsx)("h3",{className:c("font-semibold",o==="outline"||o==="light"?"text-2xl text-primary":"text-3xl"),children:a})]}):(0,dt.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,dt.jsx)("div",{className:c("font-semibold",o==="outline"||o==="light"?"text-2xl text-primary":"text-3xl"),children:a})});var Ma=t=>{var d;let{columns:a,theme:o}=t,s={full:"12",half:"6",oneThird:"4",twoThirds:"8"},r={none:"",line:"border border-primary p-4 rounded-lg"},e=i=>{if(i.type&&i.type==="block"&&i.fields&&(i.fields.blockType==="imageBlock"||i.fields.blockType==="mediaBlock"))return!0;if(i.root&&i.root.children){for(let l of i.root.children)if(e(l))return!0}if(i.children){for(let l of i.children)if(e(l))return!0}return!1},n=(i,l,p)=>{if(l==="none"||p==="full")return{processedRichText:i,heading:null};let u=i,y=null;return i&&i.root&&i.root.children&&i.root.children[0].tag==="h2"&&(u={...i,root:{...i.root,children:i.root.children.slice(1)}},y=i.root.children[0]),{processedRichText:u,heading:y}};return(0,dt.jsx)("div",{className:"container my-6",children:(0,dt.jsx)("div",{className:c("grid grid-cols-4 lg:grid-cols-12 gap-y-8",(d=o==null?void 0:o.settings)!=null&&d.box?"gap-x-8":"gap-x-16"),children:a&&a.length>0&&a.map((i,l)=>{var b,k;let{enableLink:p,link:u,richText:y,size:x}=i,{processedRichText:m,heading:f}=n(y,((b=o==null?void 0:o.settings)==null?void 0:b.box)||"none",x||"full");return(0,dt.jsxs)("div",{className:c(`col-span-4 lg:col-span-${s[x]}`,{"md:col-span-2":x!=="full"},r[x!=="full"&&!e(y)&&((k=o==null?void 0:o.settings)==null?void 0:k.box)||"none"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${l+1}00`),children:[f&&(0,dt.jsx)("div",{className:"bg-primary text-primary-foreground mb-4 -zt-4 -mx-4 px-4 py-2 text-xl",children:f.children[0].text}),m&&(0,dt.jsx)(F,{content:m,enableGutter:!1,className:"rich-text"}),p&&(0,dt.jsx)(sa,{...u})]},l)})})})};var Tt=oa(require("next/image"));var Rt=t=>{let{customId:a,reusableContent:o}=t;return typeof o=="object"&&o!==null?(0,dt.jsx)(Co,{blocks:o.layout}):(0,dt.jsx)(dt.Fragment,{})},Bt={content:Ma,cta:ca,mediaBlock:_,imageBlock:_,features:ma},Co=t=>{let{blocks:a}=t;return a&&Array.isArray(a)&&a.length>0?(0,dt.jsx)("section",{id:"render-blocks",children:a.map((s,r)=>{var d,i;let{blockType:e}=s,n=s==null?void 0:s.theme;if(e&&e in Bt){let l=Bt[e];if(l)return(0,dt.jsx)("div",{className:"py-6 relative",children:(0,dt.jsx)("div",{className:c(((d=n==null?void 0:n.settings)==null?void 0:d.theme)==="dark"?"dark":((i=n==null?void 0:n.settings)==null?void 0:i.theme)==="green"?"green":""),children:(0,dt.jsx)(l,{...s})})},r)}return null})}):null};var At={content:Ma,cta:ca,mediaBlock:_,imageBlock:_,features:ma,reusableContentBlock:Rt},ka=t=>{let{blocks:a}=t;return a&&Array.isArray(a)&&a.length>0?(0,dt.jsx)("section",{id:"render-blocks",className:c(t.fill?"dt-full dt-full":""),children:a.map((s,r)=>{var d,i;let{blockType:e}=s,n=s==null?void 0:s.theme;if(e&&e in At){let l=At[e];if(l)return(0,dt.jsxs)("div",{className:c("py-6 relative",t.fill&&"flex dt-full items-center justify-center"),children:[(0,dt.jsx)(No,{block:s,index:r}),(0,dt.jsx)("div",{className:c("container dt-full",((d=n==null?void 0:n.settings)==null?void 0:d.theme)==="dark"?"dark":((i=n==null?void 0:n.settings)==null?void 0:i.theme)==="green"?"green":""),children:(0,dt.jsx)(l,{...s})})]},r)}return null})}):null},No=t=>{var o,s,r,e,n;if(!("theme"in t.block))return null;let a=(o=t.block)==null?void 0:o.theme;if(a.settings.background==="image"){let d={imagePosition:a.settings.imagePosition||"left",overlay:a.settings.overlay!==void 0?a.settings.overlay:!0};return(0,dt.jsxs)("div",{className:c("absolute inset-0 dt-full dt-full -z-10",a.settings.theme==="dark"?"dark bg-background":a.settings.theme==="green"?"green bg-background":""),children:[(0,dt.jsx)(Tt.default,{src:((r=(s=a.settings)==null?void 0:s.image)==null?void 0:r.url)||"/placeholder.svg",alt:((n=(e=a.settings)==null?void 0:e.image)==null?void 0:n.alt)||"",fill:!0,className:"object-cover",priority:!0}),a.settings.overlay&&(0,dt.jsx)("div",{className:"absolute inset-0",style:{background:d.imagePosition==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]})}return(0,dt.jsx)("div",{className:c("absolute inset-0 -z-10 dt-screen dt-full",a.settings.theme==="dark"?"dark bg-background":a.settings.theme==="green"?"green bg-background":"")})};var ua=require("framer-motion");var Ts=require("pagedjs");var qa=oa(require("next/image"));var pa="../cortex-reply-dark-XPAJJJYY.png";var It=()=>(0,dt.jsxs)("footer",{className:`absolute bottom-0 left-0 dt-full py-2 px-8 flex justify-between items-center transition-colors duration-300
|
|
6
|
+
dark bg-background text-primary`,children:[(0,dt.jsxs)("div",{className:"flex px-6 items-center space-x-2",children:[(0,dt.jsx)("img",{src:pa.src,alt:"Cortex Reply Logo",className:"dt-8"}),(0,dt.jsx)("span",{className:"pl-12 text-sm",children:"Power up your people"})]}),(0,dt.jsx)("a",{href:"https://cortexreply.com",className:"text-sm hover:underline",children:"cortexreply.com"})]}),Ca=({title:t})=>(0,dt.jsx)("header",{className:"absolute top-0 left-0 dt-full py-4 px-8 flex justify-between items-center transition-colors duration-300 dark bg-background text-foreground",children:(0,dt.jsx)("div",{className:"container",children:(0,dt.jsx)("span",{className:"container text-4xl px-6",children:t})})}),Na=t=>{var s,r;let{title:a,hero:o}=t;return(0,dt.jsxs)("div",{className:"relative dt-full dt-full flex flex-col justify-center min-dt-[500px] p-10",children:[(0,dt.jsx)("div",{className:"absolute inset-0",children:(0,dt.jsx)(qa.default,{src:o.media&&o.media.url?o.media.url:"/hero.png",alt:"Background",width:o.media&&o.media.width&&(s=o.media.width)!=null?s:1920,height:o.media&&o.media.height&&(r=o.media.height)!=null?r:1080,style:{objectFit:"cover"},className:"opacity-80 dt-full dark:opacity-60"})}),(0,dt.jsx)("div",{className:"absolute left-16 z-50 top-4 flex flex-col items-start gap-4",children:pa&&(0,dt.jsx)("div",{className:"dt-24",children:(0,dt.jsx)(qa.default,{src:pa,alt:"Company logo",className:"dt-full dt-full object-contain",width:192,height:96})})}),(0,dt.jsx)("div",{className:"absolute inset-0 bg-black/30 dark:bg-black/50"}),(0,dt.jsxs)("div",{className:"relative pl-24 z-10 max-dt-3xl",children:[(0,dt.jsx)("p",{className:"text-lg font-medium pt-48 text-accent mb-2",children:a}),o.richText&&(0,dt.jsx)(F,{content:o.richText,enableGutter:!1,className:"prose-headings:text-white prose-p:text-white"})]})]})};var Wa=t=>{let[a,o]=(0,zt.useState)(0),{blocks:s,hero:r}=t,e=s&&Array.isArray(s)&&s.length>0,d=[{id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},...s],i=m=>{o(m)},l=()=>{o(m=>(m+1)%d.length)},p=()=>{o(m=>(m-1+d.length)%d.length)},y=(0,zt.useCallback)(((m,f)=>{let b;return(...k)=>{clearTimeout(b),b=setTimeout(()=>m(...k),f)}})(m=>{m.deltaY>0?l():p()},300),[]),x=m=>{m.key==="ArrowDown"?l():m.key==="ArrowUp"&&p()};return(0,zt.useEffect)(()=>(window.addEventListener("wheel",y),window.addEventListener("keydown",x),()=>{window.removeEventListener("wheel",y),window.removeEventListener("keydown",x)}),[]),(0,dt.jsxs)("div",{className:"flex flex-col min-dt-screen relative overflow-hidden",children:[(0,dt.jsx)("div",{className:"fixed left-0 top-0 flex dt-screen dt-9 z-10 flex-col items-center justify-center bg-gray-900",children:e&&d.map((m,f)=>(0,dt.jsx)("button",{className:`group relative flex items-center justify-center my-2 dt-16 dt-4 rounded-full transition-all hover:bg-accent duration-300 ${a===f?"bg-accent":"bg-gray-600"}`,onClick:()=>i(f),children:(0,dt.jsx)("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:m.blockName})},m.id))}),(0,dt.jsx)(ua.AnimatePresence,{children:d.map((m,f)=>(0,dt.jsx)("div",{id:`slide-${f}`,className:"print-section",children:(0,dt.jsx)("div",{className:`absolute flex items-center justify-center transition-opacity duration-1000
|
|
7
|
+
${f===a?"opacity-100":"opacity-0"}
|
|
8
|
+
dt-full dt-full bg-cover bg-center`,children:f===0?(0,dt.jsx)(Na,{hero:r,title:t.title}):(0,dt.jsxs)(dt.Fragment,{children:[m.blockName&&(0,dt.jsx)(Ca,{title:m.blockName}),(0,dt.jsx)(ka,{blocks:[m],fill:!0}),(0,dt.jsx)(It,{})]})})},f))}),(0,dt.jsx)("button",{className:"absolute bottom-4 left-1 z-20 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:l,children:(0,dt.jsx)(Bo,{})})]})},Bo=()=>(0,dt.jsx)(ua.AnimatePresence,{children:(0,dt.jsx)(ua.motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.7,ease:[.76,0,.24,1]},className:c("dt-fit min-dt-[50px] min-dt-[20px] p-1 border-2 rounded-full","border-accent"),children:(0,dt.jsx)(ua.motion.div,{initial:{y:0},animate:{y:[0,25],opacity:[1,0]},transition:{duration:1,ease:"easeOut",repeat:1/0,repeatDelay:1},className:c("dt-[12px] dt-[12px] rounded-full","bg-accent")})})});function Ro(t){var a=document.createElement("div");a.style.display="block",a.style.height=t,document.body.appendChild(a);var o=parseFloat(window.getComputedStyle(a,null).height);return a.parentNode&&a.parentNode.removeChild(a),Math.floor(o)}var St=({page:t,layout:a="portrait"})=>a==="flow"?(0,dt.jsx)(Ao,{page:t,layout:a}):(0,dt.jsx)(To,{page:t,layout:a}),Ao=({page:t,layout:a="portrait"})=>{let{contentWithIds:o}=xa(t),r=[{id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},...o];return(0,dt.jsx)("div",{className:"dt-[297mm]",children:(0,dt.jsxs)("div",{id:"printable-content",children:[r.map((e,n)=>(0,dt.jsx)(dt.Fragment,{children:n===0?(0,dt.jsx)("section",{className:"title-page dt-full dt-full",children:(0,dt.jsx)(Na,{hero:t.hero,title:t.title})},n):(0,dt.jsxs)("section",{className:"normal-page overflow-hidden",children:[e.blockName&&(0,dt.jsx)(Ca,{title:e.blockName}),(0,dt.jsx)(ka,{blocks:[e],fill:!0})]},n)})),(0,dt.jsx)("section",{className:"normal-page",children:(0,dt.jsxs)("div",{className:`dt-full py-2 px-8 flex justify-between items-center
|
|
9
|
+
dark bg-background text-primary`,children:[(0,dt.jsxs)("div",{className:"flex px-6 items-center space-x-2",children:[(0,dt.jsx)("img",{src:pa.src,alt:"Cortex Reply Logo",className:"dt-8"}),(0,dt.jsx)("span",{className:"pl-12 text-sm",children:"Power up your people"})]}),(0,dt.jsx)("a",{href:"https://cortexreply.com",className:"text-sm hover:underline",children:"cortexreply.com"})]})})]})})},To=({page:t,layout:a="portrait"})=>{let{contentWithIds:o}=xa(t),s=(0,zt.useRef)(null),r=(0,zt.useRef)(null),e=(0,zt.useRef)(new Ts.Previewer),[n,d]=(0,zt.useState)(0),l=[{id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},...o],p=(0,zt.useCallback)(()=>{s.current&&(s.current&&(s.current.innerHTML=""),e.current.preview(document.getElementById("printable-content").innerHTML,["./print.css",a==="landscape"?"./landscape.css":"./portrait.css"],s.current).then(u=>d(u.pageCount)).catch(u=>console.error("Paged.js error:",u)))},[]);return(0,zt.useEffect)(()=>{e.current=new Ts.Previewer,p()},[p,a]),(0,dt.jsxs)("div",{className:"pagedjs-container",children:[(0,dt.jsx)("div",{id:"printable-content",ref:r,style:{display:"none"},className:"pagedjs-content",children:l.map((u,y)=>{var x,m;return(0,dt.jsx)(dt.Fragment,{children:y===0?(0,dt.jsx)("section",{className:"pagedjs-section title-page dt-full dt-full",children:(0,dt.jsx)(Na,{hero:t.hero,title:t.title})},y):(0,dt.jsxs)("section",{className:c("pagedjs-section normal-page dt-[699px]",`dt-[${Ro("185mm")}px]`,((m=(x=u.theme)==null?void 0:x.settings)==null?void 0:m.theme)==="dark"?"dark":"light"),children:[u.blockName&&(0,dt.jsx)(Ca,{title:u.blockName}),(0,dt.jsx)(ka,{blocks:[u],fill:!0})]},y)})})}),(0,dt.jsx)("div",{ref:s,className:"preview-container"})]})};var Mt=oa(require("html2canvas")),Ka=require("jspdf");function Io({type:t="slideshow",orientation:a="landscape",...o}){let s=o.page,[r,e]=(0,zt.useState)(a);console.log("args",o);let{contentWithIds:n,tableOfContents:d}=xa(s);if(t==="slideshow")return(0,dt.jsx)("div",{className:"flex fixed flex-col dt-screen dt-screen max-dt-screen overflow-auto overscroll-contain",children:(0,dt.jsx)(Wa,{blocks:n,hero:o.hero,title:o.page.title})});if(t==="print")return(0,dt.jsxs)(dt.Fragment,{children:[(0,dt.jsx)(So,{layout:r,changeLayout:e}),(0,dt.jsx)(St,{page:o.page,layout:r})]})}var So=({changeLayout:t,layout:a="landscape"})=>{let o=async()=>{a==="flow"?r("printable-content"):(await new Promise(e=>setTimeout(e,300)),window.print())},s=e=>{t&&t(e)},r=async e=>{console.log("elementToPrintId",e);let n=document.getElementById(e);if(!n)throw new Error(`Element with id ${e} not found`);let d=document.createElement("canvas"),i=window.devicePixelRatio;d.width=Math.max(n.clientWidth||0)*i,d.height=Math.max(n.clientHeight||0)*i+100;let l=d.getContext("2d");if(!l)throw new Error("Failed to get 2D context");let p=l.drawImage,u=Array.from(n.getElementsByTagName("img")).reduce((ta,E)=>(ta[E.src]=E,ta),{});l.drawImage=function(...ta){let[E,ga,na,L,D,C,fa,H,O]=ta;if(E instanceof HTMLImageElement){let da=u[E.src].style.objectFit||"fill",Pa=u[E.src].style.objectPosition||"center center";D=E.height,L=E.width;let K=L/D,U=H/O,[X,T]=Pa.split(" ");switch(T||(T=X),da){case"cover":if(K>U){let I=D*U,S=(L-I)/2;X==="left"&&(S=0),X==="right"&&(S=L-I),ga+=S,L=I}else{let I=L/U,S=(D-I)/2;T==="top"&&(S=0),T==="bottom"&&(S=D-I),na+=S,D=I}break;case"contain":if(K>U){let I=H/K,S=(O-I)/2;T==="top"&&(S=0),T==="bottom"&&(S=O-I),fa+=S,O=I}else{let I=O*K,S=(H-I)/2;X==="left"&&(S=0),X==="right"&&(S=H-I),C+=S,H=I}break;case"fill":break}}return p.call(l,E,ga,na,L,D,C,fa,H,O)};let y=document.getElementById(e);if(!y)throw new Error(`Element with id ${e} not found`);var x=d.width,m=d.height;let b=(await(0,Mt.default)(y,{canvas:d,windowHeight:m,windowWidth:x,scale:window.devicePixelRatio})).toDataURL("image/png"),A=new Ka.jsPDF({}).getImageProperties(b),M=297,z=M*(A.height/A.width),aa=new Ka.jsPDF({unit:"mm",format:[M,z]});aa.addImage(b,"PNG",0,0,M,z),aa.save("print.pdf")};return(0,dt.jsx)("div",{className:c("fixed right-2 z-20 top-20 space-y-6 print:hidden"),children:(0,dt.jsx)("div",{className:"flex flex-row-reverse z-20 min-dt-70 gap-4",children:(0,dt.jsxs)("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-dt-[auto] min-dt-[54px] flex-col rounded-lg border",children:[(0,dt.jsxs)("a",{onClick:o,className:"flex aspect-square min-dt-[25px] dt-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,dt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",children:(0,dt.jsx)("path",{d:"M96 160l-32 0 0-96C64 28.7 92.7 0 128 0L357.5 0c17 0 33.3 6.7 45.3 18.7l26.5 26.5c12 12 18.7 28.3 18.7 45.3l0 69.5-32 0 0-69.5c0-8.5-3.4-16.6-9.4-22.6L380.1 41.4c-6-6-14.1-9.4-22.6-9.4L128 32c-17.7 0-32 14.3-32 32l0 96zm352 64L64 224c-17.7 0-32 14.3-32 32l0 128 32 0 0-32c0-17.7 14.3-32 32-32l320 0c17.7 0 32 14.3 32 32l0 32 32 0 0-128c0-17.7-14.3-32-32-32zm0 192l0 64c0 17.7-14.3 32-32 32L96 512c-17.7 0-32-14.3-32-32l0-64-32 0c-17.7 0-32-14.3-32-32L0 256c0-35.3 28.7-64 64-64l384 0c35.3 0 64 28.7 64 64l0 128c0 17.7-14.3 32-32 32l-32 0zM96 352l0 128 320 0 0-128L96 352zM432 248a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"})}),(0,dt.jsx)("small",{className:"text-xs font-medium",children:"Print"})]}),(0,dt.jsx)("div",{className:"flex-grow border-t border-gray-200 dark:border-slate-600/60"}),(0,dt.jsxs)("a",{onClick:()=>s("portrait"),className:c("flex aspect-square min-dt-[25px] dt-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",a==="portrait"?"text-accent":"hover:text-accent"),children:[(0,dt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",fill:"currentColor",children:(0,dt.jsx)("path",{d:"M352 448c0 17.7-14.3 32-32 32L64 480c-17.7 0-32-14.3-32-32L32 64c0-17.7 14.3-32 32-32l256 0c17.7 0 32 14.3 32 32l0 384zM384 64c0-35.3-28.7-64-64-64L64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-384z"})}),(0,dt.jsx)("small",{className:"text-xs",children:"Portrait"})]}),(0,dt.jsxs)("a",{onClick:()=>s("landscape"),className:c("flex aspect-square min-dt-[25px] dt-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",a==="landscape"?"text-accent":"hover:text-accent"),children:[(0,dt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512",fill:"currentColor",children:(0,dt.jsx)("path",{d:"M576 96c17.7 0 32 14.3 32 32l0 256c0 17.7-14.3 32-32 32L64 416c-17.7 0-32-14.3-32-32l0-256c0-17.7 14.3-32 32-32l512 0zM64 64C28.7 64 0 92.7 0 128L0 384c0 35.3 28.7 64 64 64l512 0c35.3 0 64-28.7 64-64l0-256c0-35.3-28.7-64-64-64L64 64z"})}),(0,dt.jsx)("small",{className:"text-xs",children:"Landscape"})]}),(0,dt.jsxs)("a",{onClick:()=>s("flow"),className:c("flex aspect-square min-dt-[25px] dt-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",a==="flow"?"text-accent":"hover:text-accent"),children:[(0,dt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:(0,dt.jsx)("path",{d:"M266.2 4.7C273 1.6 280.5 0 288 0s15 1.6 21.8 4.7l217.4 97.5c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 251.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 153.9C38.6 149.3 32 139.2 32 128s6.6-21.3 16.8-25.9L266.2 4.7zM288 32c-3 0-6 .6-8.8 1.9L69.3 128l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-210-94.1C294 32.6 291 32 288 32zM48.8 358.1l45.9-20.6 39.1 17.5L69.3 384l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-64.5-28.9 39.1-17.5 45.9 20.6c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 507.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 409.9C38.6 405.3 32 395.2 32 384s6.6-21.3 16.8-25.9zM94.7 209.5l39.1 17.5L69.3 256l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-64.5-28.9 39.1-17.5 45.9 20.6c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 379.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 281.9C38.6 277.3 32 267.2 32 256s6.6-21.3 16.8-25.9l45.9-20.6z"})}),(0,dt.jsx)("small",{className:"text-xs",children:"Continuous"})]})]})})})};0&&(module.exports={Publish});
|
package/dist/pages/Publish.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";import{a}from"../chunk-
|
|
2
|
+
"use strict";import{a}from"../chunk-ANBHH4VA.mjs";import"../chunk-QHA556PO.mjs";import"../chunk-P2XZI7A4.mjs";import"../chunk-4QEWBUVW.mjs";import"../chunk-AUBKJ4XO.mjs";import"../chunk-6YV7RK6Q.mjs";import"../chunk-NRL4U42W.mjs";import"../chunk-ZIWHUQ4D.mjs";import"../chunk-6LKCK2EH.mjs";import"../chunk-L2CGDHVO.mjs";import"../chunk-YRJ7YWPV.mjs";import"../chunk-CSWXKGJE.mjs";import"../chunk-7DINW2AE.mjs";import"../chunk-XGNF75KY.mjs";import"../chunk-XB5WL3OT.mjs";import"../chunk-Y74ENEUN.mjs";import"../chunk-IJCMUPNH.mjs";import"../chunk-ZSUPFOXY.mjs";import"../chunk-X5KZKO2V.mjs";import"../chunk-VZWV4G25.mjs";import"../chunk-IQ7LAP7P.mjs";import"../chunk-G5HD4IFA.mjs";import"../chunk-OWBJTXZL.mjs";import"../chunk-BRYZOZKY.mjs";import"../chunk-NETY6BCN.mjs";import"../chunk-A24EPYUY.mjs";import"../chunk-QKGEV7LG.mjs";import"../chunk-SV7NMNDI.mjs";import"../chunk-FIBF6KMI.mjs";import"../chunk-MNLXTN7B.mjs";import"../chunk-KJ2C7CBU.mjs";import"../chunk-WZLEEZ5C.mjs";import"../chunk-JODGODRI.mjs";import"../chunk-MGZMAVEP.mjs";import"../chunk-WMMLX5GC.mjs";import"../chunk-HJX2VPMY.mjs";import"../chunk-F4V6VUT7.mjs";import"../chunk-TXXFXCXB.mjs";import"../chunk-KSCHUMVE.mjs";import"../chunk-PRUIYGQW.mjs";import"../chunk-H4Y4SZIU.mjs";import"../chunk-7VKHSE4O.mjs";import"../chunk-RBZMFLLA.mjs";import"../chunk-WRPART4J.mjs";import"../chunk-N6EJQZAV.mjs";import"../chunk-HWEPDRG6.mjs";import"../chunk-3LJZCM5A.mjs";import"../chunk-4NKKWJ2X.mjs";import"../chunk-4JC2TJML.mjs";import"../chunk-A5EYIB3V.mjs";import"../chunk-DWRQHV42.mjs";import"../chunk-Y5ZFXDW5.mjs";import"../chunk-SBAFXZVU.mjs";import"../chunk-AWFQEK7A.mjs";import"../chunk-EPTHSTUM.mjs";import"../chunk-53QLSQCO.mjs";import"../chunk-6HFYLEVF.mjs";import"../chunk-R2WQNVEX.mjs";import"../chunk-MGS3DQ22.mjs";import"../chunk-JCH2CCQ7.mjs";import"../chunk-UZ2XYB7D.mjs";import"../chunk-KPIWBWE2.mjs";import"../chunk-2LJVMEWU.mjs";import"../chunk-6P7CY367.mjs";import"../chunk-HPMMYTRI.mjs";import"../chunk-3AA3AMNV.mjs";import"../chunk-FBEB6K6X.mjs";import"../chunk-H7D3PZKE.mjs";import"../chunk-IQPZEEYJ.mjs";import"../chunk-L7YJN6PG.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-44VMK4FL.mjs";import"../chunk-YCX5N23N.mjs";import"../chunk-M6M43TLT.mjs";import"../chunk-FGWIT6CV.mjs";import"../chunk-ZWKWU7U4.mjs";import"../chunk-EY5QX73B.mjs";import"../chunk-2A6JF3LE.mjs";import"../chunk-4YJ3HV64.mjs";import"../chunk-FCCL6W7R.mjs";import"../chunk-WLBZXBU3.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-2NFKSNJW.mjs";import"../chunk-FI4SMRAR.mjs";import"../chunk-5IQPAE6K.mjs";import"../chunk-JWDVKGZL.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-KDGEXDC5.mjs";import"../chunk-VZXLXNVY.mjs";import"../chunk-Y2KKUQDU.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-PY53YVFX.mjs";import"../chunk-3YZN4MJB.mjs";import"../chunk-WNPA7YT3.mjs";import"../chunk-KB6PO4K4.mjs";import"../chunk-Y5VTKEKS.mjs";import"../chunk-CGBVZQYY.mjs";import"../chunk-BSQVKZCW.mjs";import"../chunk-YNCJATT7.mjs";import"../chunk-QOIH63J3.mjs";import"../chunk-OAOCXXC2.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-DRJBYVJB.mjs";import"../chunk-GOMLTG5W.mjs";import"../chunk-DESYC5BB.mjs";import"../chunk-XDP6BKTK.mjs";import"../chunk-3TIFSACL.mjs";import"../chunk-SV3TTIPR.mjs";import"../chunk-ZDPQXVTF.mjs";import"../chunk-CS77R54Z.mjs";import"../chunk-23L5ZJ2U.mjs";import"../chunk-HAYRX2WO.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-YNNW2C2U.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-C5XNOZXC.mjs";import"../chunk-WU3JMLSC.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-CV7PH2KH.mjs";import"../chunk-S7OK7D5I.mjs";export{a as Publish};
|