cortex-react-components 1.44.0 → 1.45.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-J75UUPRH.mjs → chunk-2CA7EIET.mjs} +1 -1
- package/dist/{chunk-EQDX6HFN.mjs → chunk-5EFOKBKA.mjs} +1 -1
- package/dist/{chunk-3KMFY6E7.mjs → chunk-5SEB2VCD.mjs} +1 -1
- package/dist/{chunk-VRZNDEJT.mjs → chunk-B7A7DBZJ.mjs} +1 -1
- package/dist/{chunk-BOZT7Z5K.mjs → chunk-CYECAKIW.mjs} +1 -1
- package/dist/{chunk-MQQN576Y.mjs → chunk-FRODLUFM.mjs} +1 -1
- package/dist/chunk-JYBIEC4W.mjs +4 -0
- package/dist/{chunk-5YTDIEDJ.mjs → chunk-KB6PO4K4.mjs} +1 -1
- package/dist/chunk-KSCHUMVE.mjs +1 -0
- package/dist/chunk-NSBNDXRL.mjs +1 -0
- package/dist/{chunk-TO55WII3.mjs → chunk-ONQSAOHR.mjs} +1 -1
- package/dist/{chunk-LGXGU4HR.mjs → chunk-PE5IHKVK.mjs} +1 -1
- package/dist/{chunk-KEUZSK3N.mjs → chunk-PY53YVFX.mjs} +1 -1
- package/dist/{chunk-AAI2VZST.mjs → chunk-SBAFXZVU.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.js +4 -0
- package/dist/components/Blocks/CallToAction.stories.mjs +1 -0
- package/dist/components/Blocks/CaseStudy.mjs +1 -1
- package/dist/components/Blocks/CaseStudy.stories.js +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/CopyButton.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.js +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
- package/dist/components/Blocks/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/index.mjs +1 -1
- package/dist/components/CRM/DealCard.mjs +1 -1
- package/dist/components/CRM/DealCard.stories.mjs +1 -1
- package/dist/components/CRM/DealDetails.mjs +1 -1
- package/dist/components/CRM/DealDetails.stories.mjs +1 -1
- package/dist/components/CRM/KanbanBoard.mjs +1 -1
- package/dist/components/CRM/KanbanBoard.stories.mjs +1 -1
- package/dist/components/CRM/KanbanColumn.mjs +1 -1
- package/dist/components/CRM/KanbanColumn.stories.mjs +1 -1
- package/dist/components/CRM/NewCustomerForm.mjs +1 -1
- package/dist/components/CRM/NewCustomerForm.stories.mjs +1 -1
- package/dist/components/CRM/NewDealForm.mjs +1 -1
- package/dist/components/CRM/NewDealForm.stories.mjs +1 -1
- package/dist/components/CRM/index.mjs +1 -1
- package/dist/components/Cards/ContentCard.mjs +1 -1
- package/dist/components/Cards/ContentCard.stories.js +1 -1
- package/dist/components/Cards/ContentCard.stories.mjs +1 -1
- package/dist/components/Cards/CustomerCard.mjs +1 -1
- package/dist/components/Cards/CustomerCard.stories.mjs +1 -1
- package/dist/components/Cards/EventCard.mjs +1 -1
- package/dist/components/Cards/EventCard.stories.mjs +1 -1
- package/dist/components/Cards/HeroCard.mjs +1 -1
- package/dist/components/Cards/HeroCard.stories.js +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/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/HeaderMobile.d.ts +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.d.ts +4 -2
- package/dist/components/Heros/PostHero/index.js +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.js +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Holidays/ApproveLeave.mjs +1 -1
- package/dist/components/Holidays/ApproveLeave.stories.mjs +1 -1
- package/dist/components/Holidays/CalendarView.mjs +1 -1
- package/dist/components/Holidays/CalendarView.stories.mjs +1 -1
- package/dist/components/Holidays/HolidayGrid.mjs +1 -1
- package/dist/components/Holidays/HolidayGrid.stories.mjs +1 -1
- package/dist/components/Holidays/HolidayTracker.mjs +1 -1
- package/dist/components/Holidays/HolidayTracker.stories.mjs +1 -1
- package/dist/components/Holidays/RequestLeave.mjs +1 -1
- package/dist/components/Holidays/RequestLeave.stories.mjs +1 -1
- package/dist/components/Holidays/index.mjs +1 -1
- package/dist/components/Layouts/BlogList.mjs +1 -1
- package/dist/components/Layouts/BlogList.stories.js +1 -1
- package/dist/components/Layouts/BlogList.stories.mjs +1 -1
- package/dist/components/Layouts/NewsGrid.stories.js +1 -1
- package/dist/components/Layouts/NewsGrid.stories.mjs +1 -1
- package/dist/components/Layouts/NewsList.stories.js +1 -1
- package/dist/components/Layouts/NewsList.stories.mjs +1 -1
- package/dist/components/Layouts/SlideShow.mjs +1 -1
- package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Menus/Categories.mjs +1 -1
- package/dist/components/Menus/Categories.stories.mjs +1 -1
- package/dist/components/Menus/Filter.mjs +1 -1
- package/dist/components/Menus/Filter.stories.mjs +1 -1
- package/dist/components/Menus/ProjectTeam.mjs +1 -1
- package/dist/components/Menus/ProjectTeam.stories.mjs +1 -1
- package/dist/components/Menus/RelatedContent.mjs +1 -1
- package/dist/components/Menus/RelatedContent.stories.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
- package/dist/components/Menus/SidebarRight.mjs +1 -1
- package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/Other/Container.mjs +1 -1
- package/dist/components/Other/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 +6 -6
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/alert.mjs +1 -1
- package/dist/components/ui/alert.stories.mjs +1 -1
- package/dist/components/ui/avatar.mjs +1 -1
- package/dist/components/ui/avatar.stories.mjs +1 -1
- package/dist/components/ui/badge.mjs +1 -1
- package/dist/components/ui/badge.stories.mjs +1 -1
- package/dist/components/ui/breadcrumb.mjs +1 -1
- package/dist/components/ui/breadcrumb.stories.mjs +1 -1
- package/dist/components/ui/button.mjs +1 -1
- package/dist/components/ui/button.stories.mjs +1 -1
- package/dist/components/ui/calendar.mjs +1 -1
- package/dist/components/ui/card.mjs +1 -1
- package/dist/components/ui/card.stories.mjs +1 -1
- package/dist/components/ui/checkbox.mjs +1 -1
- package/dist/components/ui/command.mjs +1 -1
- package/dist/components/ui/command.stories.mjs +1 -1
- package/dist/components/ui/dialog.mjs +1 -1
- package/dist/components/ui/dialog.stories.mjs +1 -1
- package/dist/components/ui/dropdown-menu.mjs +1 -1
- package/dist/components/ui/dropdown-menu.stories.mjs +1 -1
- package/dist/components/ui/hover-card.mjs +1 -1
- package/dist/components/ui/hover-card.stories.mjs +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/components/ui/input.mjs +1 -1
- package/dist/components/ui/input.stories.mjs +1 -1
- package/dist/components/ui/inputs/common/styles/index.mjs +1 -1
- package/dist/components/ui/inputs/text-input/index.mjs +1 -1
- package/dist/components/ui/inputs/textarea-input/index.mjs +1 -1
- package/dist/components/ui/label.mjs +1 -1
- package/dist/components/ui/label.stories.mjs +1 -1
- package/dist/components/ui/pagination.mjs +1 -1
- package/dist/components/ui/popover.mjs +1 -1
- package/dist/components/ui/popover.stories.mjs +1 -1
- package/dist/components/ui/scroll-area.mjs +1 -1
- package/dist/components/ui/scroll-area.stories.mjs +1 -1
- package/dist/components/ui/select.mjs +1 -1
- package/dist/components/ui/separator.mjs +1 -1
- package/dist/components/ui/separator.stories.mjs +1 -1
- package/dist/components/ui/sheet.mjs +1 -1
- package/dist/components/ui/sheet.stories.mjs +1 -1
- package/dist/components/ui/sidebar.mjs +1 -1
- package/dist/components/ui/skeleton.mjs +1 -1
- package/dist/components/ui/skeleton.stories.mjs +1 -1
- package/dist/components/ui/textarea.mjs +1 -1
- package/dist/components/ui/toast.mjs +1 -1
- package/dist/components/ui/toast.stories.mjs +1 -1
- package/dist/components/ui/toaster.mjs +1 -1
- package/dist/components/ui/toggle-group.mjs +1 -1
- package/dist/components/ui/toggle.mjs +1 -1
- package/dist/components/ui/toggle.stories.mjs +1 -1
- package/dist/components/ui/tooltip.mjs +1 -1
- package/dist/components/ui/tooltip.stories.mjs +1 -1
- package/dist/globals.css +1 -1
- package/dist/index.js +6 -6
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/pages/Blog.js +1 -1
- package/dist/pages/Blog.mjs +1 -1
- package/dist/pages/Blog.stories.js +1 -1
- package/dist/pages/Blog.stories.mjs +1 -1
- package/dist/pages/Documentation.mjs +1 -1
- package/dist/pages/Documentation.stories.js +1 -1
- package/dist/pages/Documentation.stories.mjs +1 -1
- package/dist/pages/IndexPage.mjs +1 -1
- package/dist/pages/IndexPage.stories.js +1 -1
- package/dist/pages/IndexPage.stories.mjs +1 -1
- package/dist/pages/Intranet.mjs +1 -1
- package/dist/pages/Intranet.stories.mjs +1 -1
- package/dist/pages/LandingPage.mjs +1 -1
- package/dist/pages/LandingPage.stories.js +1 -1
- package/dist/pages/LandingPage.stories.mjs +1 -1
- package/dist/pages/Page.js +1 -1
- package/dist/pages/Page.mjs +1 -1
- package/dist/pages/Page.stories.js +115 -115
- package/dist/pages/Page.stories.mjs +1 -1
- package/dist/pages/Publish.js +1 -1
- package/dist/pages/Publish.mjs +1 -1
- package/dist/pages/Publish.stories.js +1 -1
- package/dist/pages/Publish.stories.mjs +1 -1
- package/dist/pages/Website.js +1 -1
- package/dist/pages/Website.mjs +1 -1
- package/dist/pages/Website.stories.js +1 -1
- package/dist/pages/Website.stories.mjs +1 -1
- package/dist/sections/AboutSection.mjs +1 -1
- package/dist/sections/AboutSection.stories.js +1 -1
- package/dist/sections/AboutSection.stories.mjs +1 -1
- package/dist/sections/BlogDetail.mjs +1 -1
- package/dist/sections/BlogDetail.stories.js +1 -1
- package/dist/sections/BlogDetail.stories.mjs +1 -1
- package/dist/sections/BlogListSection.mjs +1 -1
- package/dist/sections/BlogListSection.stories.js +1 -1
- package/dist/sections/BlogListSection.stories.mjs +1 -1
- package/dist/sections/ContactSection.mjs +1 -1
- package/dist/sections/ContactSection.stories.js +1 -1
- package/dist/sections/ContactSection.stories.mjs +1 -1
- package/dist/sections/ImageSection.mjs +1 -1
- package/dist/sections/ImageSection.stories.js +1 -1
- package/dist/sections/ImageSection.stories.mjs +1 -1
- package/dist/sections/MainPageSection.js +1 -1
- package/dist/sections/MainPageSection.mjs +1 -1
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/PricingSection.stories.js +1 -1
- package/dist/sections/PricingSection.stories.mjs +1 -1
- package/dist/sections/ServiceSection.mjs +1 -1
- package/dist/sections/ServiceSection.stories.js +1 -1
- package/dist/sections/ServiceSection.stories.mjs +1 -1
- package/dist/sections/form/index.mjs +1 -1
- package/dist/sections/index.js +1 -1
- package/dist/sections/index.mjs +1 -1
- package/dist/styles/Colors.mjs +1 -1
- package/dist/styles/Colors.stories.mjs +1 -1
- package/dist/utils/getTableOfContents.js +1 -1
- package/dist/utils/getTableOfContents.mjs +1 -1
- package/dist/utils/index.js +1 -1
- package/dist/utils/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-6K2R3OAD.mjs +0 -1
- package/dist/chunk-CWNEDSLD.mjs +0 -1
- package/dist/chunk-S23ICHCQ.mjs +0 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as f}from"./chunk-WU3JMLSC.mjs";import{a as l}from"./chunk-BZAYEKYC.mjs";import{a}from"./chunk-
|
|
1
|
+
import{a as f}from"./chunk-WU3JMLSC.mjs";import{a as l}from"./chunk-BZAYEKYC.mjs";import{a}from"./chunk-JYBIEC4W.mjs";import{b as r}from"./chunk-PE5IHKVK.mjs";import{a as n}from"./chunk-DN5B3CRB.mjs";import{a as i}from"./chunk-DESYC5BB.mjs";import{a as o}from"./chunk-NSBNDXRL.mjs";import{jsx as t,jsxs as p}from"react/jsx-runtime";function g({...e}){let s=e.page,{contentWithIds:c,tableOfContents:m}=o(s);return p("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:[t(i,{isMenuOpen:!0,logoLight:l,logoDark:f}),t(r,{...e.hero}),t(a,{edit:e.edit,pageId:e.page.id,tableOfContents:m,relatedContent:e.relatedContent,children:t(n,{blocks:c})})]})}export{g as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as d}from"./chunk-
|
|
4
|
+
import{a as d}from"./chunk-PY53YVFX.mjs";import{a as l}from"./chunk-H7D3PZKE.mjs";import{a as m}from"./chunk-3YZN4MJB.mjs";import{b as i,f as o}from"./chunk-KB6PO4K4.mjs";import{a as s}from"./chunk-DRJBYVJB.mjs";import{jsx as e,jsxs as r}from"react/jsx-runtime";function n({...t}){return r("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:[e(s,{...t.header}),r(i,{className:"top-14 mb-4 h-full max-h-[calc(100vh-3.5rem)] flex-1 flex-row overflow-y-clip",children:[e(d,{...t.sidebarLeft,className:"flex-none"}),e(o,{className:"grow overflow-hidden",children:r("div",{className:"max-h-full top-0 absolute max-w-full",children:[e("div",{"aria-hidden":"true",className:"inset-x-0 -z-10 transform-gpu overflow-hidden blur-3xl",children:e("div",{style:{clipPath:"polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%)"},className:"relative left-[calc(50%-11rem)] aspect-[1155/678] w-[36.125rem] -translate-x-1/2 rotate-[30deg] bg-gradient-to-tr from-primary to-secondary opacity-30 sm:left-[calc(50%-30rem)] sm:w-[72.1875rem]"})}),e("div",{className:"absolute top-0 w-full",children:e("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:r("div",{className:"mx-auto max-w-2xl text-center pt-4",children:[e("h1",{className:"text-balance text-5xl font-semibold tracking-tight text-primary sm:text-7xl",children:"Anim aute id magna aliqua ad ad non deserunt sunt."}),e("p",{className:"mt-8 text-pretty text-lg font-medium text-gray-500 sm:text-xl/8",children:"Anim aute id magna aliqua ad ad non deserunt sunt. Qui irure qui lorem cupidatat commodo. Elit sunt amet fugiat veniam occaecat."}),e("div",{className:"mt-10 flex items-center justify-center gap-x-6",children:e("div",{className:"mt-6 px-10 grid grid-cols-1 gap-8 lg:grid-cols-3",children:t.tiles.map(a=>e(l,{url:a.slug,title:a.title,mainImage:a.mainImage,excerpt:a.excerpt},a.slug))})})]})})}),e("div",{"aria-hidden":"true",className:"absolute inset-x-0 top-[calc(100%-13rem)] -z-10 transform-gpu overflow-hidden blur-3xl sm:top-[calc(100%-30rem)]",children:e("div",{style:{clipPath:"polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%)"},className:"relative left-[calc(50%+3rem)] aspect-[1155/678] w-[36.125rem] -translate-x-1/2 bg-gradient-to-tr from-[#ff80b5] to-[#9089fc] opacity-30 sm:left-[calc(50%+36rem)] sm:w-[72.1875rem]"})})]})})]}),e(m,{})]})}export{n as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as g}from"./chunk-WU3JMLSC.mjs";import{a as h}from"./chunk-BZAYEKYC.mjs";import{a as S}from"./chunk-
|
|
4
|
+
import{a as g}from"./chunk-WU3JMLSC.mjs";import{a as h}from"./chunk-BZAYEKYC.mjs";import{a as S}from"./chunk-SBAFXZVU.mjs";import{a as p}from"./chunk-PY53YVFX.mjs";import{a as o,b as d,c as i,d as t,e as m,f as l}from"./chunk-AWFQEK7A.mjs";import{a as c}from"./chunk-3YZN4MJB.mjs";import{b as s,d as b,f as u}from"./chunk-KB6PO4K4.mjs";import{a as n}from"./chunk-Y5VTKEKS.mjs";import{a as f}from"./chunk-DESYC5BB.mjs";import{jsx as e,jsxs as r}from"react/jsx-runtime";function v({...a}){return r("div",{className:"bg-sidebar",children:[e(f,{isMenuOpen:!0,logoLight:h,logoDark:g,...a.header,className:"bg-sidebar"}),r(s,{className:"top-24 mb-4 h-full max-h-[calc(100vh-3.5rem)] flex-1 flex-row overflow-y-clip",children:[e(p,{...a.sidebarLeft,className:"flex-none top-24"}),r(u,{className:"grow overflow-hidden",children:[e("header",{className:"flex h-16 shrink-0 items-center gap-2",children:r("div",{className:"flex items-center gap-2 px-4",children:[e(b,{className:"-ml-1"}),e(n,{orientation:"vertical",className:"mr-2 h-4"}),e(o,{children:r(d,{children:[e(i,{className:"hidden md:block",children:e(t,{href:"#",children:"Building Your Application"})}),e(l,{className:"hidden md:block"}),e(i,{children:e(m,{children:"Data Fetching"})})]})})]})}),r("div",{className:"flex flex-1 flex-col gap-4 p-4 pt-0",children:[r("div",{className:"grid auto-rows-min gap-4 md:grid-cols-3",children:[e("div",{className:"aspect-video rounded-xl bg-muted/50"}),e("div",{className:"aspect-video rounded-xl bg-muted/50"}),e("div",{className:"aspect-video rounded-xl bg-muted/50"})]}),e("div",{className:"flex-1 rounded-xl bg-muted/50 md:min-h-min"})]})]}),e(S,{...a.sidebarRight,className:"flex-none top-24"})]}),e(c,{})]})}export{v as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as h}from"./chunk-WU3JMLSC.mjs";import{a as f}from"./chunk-BZAYEKYC.mjs";import{a as
|
|
4
|
+
import{a as h}from"./chunk-WU3JMLSC.mjs";import{a as f}from"./chunk-BZAYEKYC.mjs";import{a as p}from"./chunk-UYHCPHTK.mjs";import{a as u}from"./chunk-KJV6IC7P.mjs";import{a as l}from"./chunk-DSNHVMRZ.mjs";import{a as c}from"./chunk-KSCHUMVE.mjs";import{b as n}from"./chunk-BDX257W2.mjs";import{a as o,b as a,c as i,e as m}from"./chunk-D76EO57Z.mjs";import{a as s}from"./chunk-DESYC5BB.mjs";import{ExternalLink as d}from"lucide-react";import{jsx as e,jsxs as t}from"react/jsx-runtime";function b({...r}){return t("div",{children:[e(s,{isMenuOpen:!0,logoLight:f,logoDark:h,...r.header}),r.hero&&r.hero.type==="lowImpact"&&e(u,{...r.hero}),r.hero&&r.hero.type==="mediumImpact"&&e(p,{...r.hero}),r.hero&&r.hero.type==="highImpact"&&e(l,{...r.hero}),r.hero&&r.hero.type==="postHero"&&e(c,{...r.hero}),e("div",{className:"container py-8",children:t("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[e("div",{className:"lg:col-span-2",children:r.children}),t("div",{className:"space-y-6",children:[t(o,{children:[e(a,{children:e(i,{children:"Quick Actions"})}),t(m,{children:[e("p",{className:"mb-4 text-sm text-muted-foreground",children:"Get started with your first action in just a few clicks."}),e(n,{className:"w-full",children:"Create New"})]})]}),t(o,{children:[e(a,{children:e(i,{children:"Resources"})}),e(m,{children:t("nav",{className:"flex flex-col space-y-2",children:[t("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["User Guide",e(d,{className:"ml-1 h-3 w-3"})]}),t("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["API Documentation",e(d,{className:"ml-1 h-3 w-3"})]}),t("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["View Pricing Details",e(d,{className:"ml-1 h-3 w-3"})]})]})})]})]})]})})]})}export{b as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as g}from"./chunk-AD7PG4E2.mjs";import{a as
|
|
1
|
+
import{a as g}from"./chunk-AD7PG4E2.mjs";import{a as e}from"./chunk-WZLEEZ5C.mjs";import{a as n}from"./chunk-KJ2C7CBU.mjs";import{a as o}from"./chunk-TXXFXCXB.mjs";import{a as s}from"./chunk-UESKYRNK.mjs";import{jsx as i,jsxs as a}from"react/jsx-runtime";function f({blogs:l,pages:m,categories:t,types:r}){return i("section",{children:i(s,{children:a("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[a("div",{children:[r&&i(n,{types:r}),i(g,{blogs:l}),i(e,{pages:m})]}),i("div",{className:"grid gap-30px w-full self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:i("div",{className:"lg:-mt-24 w-full",children:t&&t.links&&i(o,{links:t.links,title:t.title})})})]})})})}export{f as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as o}from"./chunk-S5XXW3KY.mjs";import{a as e}from"./chunk-
|
|
1
|
+
import{a as o}from"./chunk-S5XXW3KY.mjs";import{a as e}from"./chunk-NSBNDXRL.mjs";import{jsx as t}from"react/jsx-runtime";function a({...r}){let n=r.page,{contentWithIds:i,tableOfContents:s}=e(n);return t("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:t(o,{blocks:i})})}export{a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as v}from"./chunk-MGZMAVEP.mjs";import{b as s}from"./chunk-BDX257W2.mjs";import{a as d,b as m,c as f,e as u}from"./chunk-D76EO57Z.mjs";import{a as r}from"./chunk-NIQ4466A.mjs";import{useState as x,useEffect as O}from"react";import b from"next/link";import{Printer as z,Presentation as S}from"lucide-react";import{usePathname as H}from"next/navigation";import{jsx as t,jsxs as a}from"react/jsx-runtime";var G=({children:p,pageId:C,tableOfContents:h=[],edit:N=!0,path:y="/admin/collections/pages/",relatedContent:i=[{title:"Related Content",links:[]}]})=>{let[c,P]=x(!1),[k,T]=x(""),g=H(),E=()=>{P(!c)},I=e=>{switch(e){case"h3":return"ml-4";case"h4":return"ml-8";default:return""}},$=(e,n)=>{e.preventDefault();let o=document.getElementById(n);if(o){let l=o.offsetTop+-100,w=document.querySelector(".container")||window;w===window?window.scrollTo({top:l,behavior:"smooth"}):w.scrollTo({top:l,behavior:"smooth"}),T(n)}else console.error(`Element with ID "${n}" not found.`)},R=()=>{let n="/print/"+g.split("/")[1],o=window.open(n,"Print","width=1754,height=1240,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes");o&&o.focus()},B=()=>{let n="/present/"+g.split("/")[1],o=window.open(n,"Print","width=1754,height=1240,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes");o&&o.focus()};return O(()=>{let e=window.location.hash;if(e){let n=e.substring(1),o=document.getElementById(n);if(o){let l=o.getBoundingClientRect().top+window.pageYOffset+-300;window.scrollTo({top:l,behavior:"smooth"})}}},[window.location.hash]),a("div",{className:"container py-8",children:[a("div",{className:"grid grid-cols-1 md:grid-cols-3 xl:grid-cols-4 gap-8",children:[t("div",{className:r(c?"col-span-2":"col-span-3","xl:col-span-3"),children:p}),a("div",{className:r("space-y-6 transform min-w-full transition-transform duration-300","col-span-4 sm:col-span-3 md:col-span-2 lg:col-span-1 xl:col-span-1 xl:-mt-20",c?"translate-x-0":"md:translate-x-full","xl:block xl:translate-x-0"),children:[N&&a(d,{className:"p-4",children:[t(m,{children:t(f,{className:"text-accent",children:"Content Actions"})}),t(u,{children:a("div",{className:"grid grid-cols-1 gap-2 mt-4 w-full",children:[t(b,{href:`${y}${C}`,className:"w-full",children:t(s,{variant:"outline",className:"w-full text-accent hover:text-foreground",children:"Edit Page"})}),t(b,{href:"/admin/collections/pages/create",className:"w-full",children:t(s,{variant:"outline",className:"w-full text-accent hover:text-foreground",children:"Create New"})}),a("div",{className:"grid grid-cols-2 gap-2",children:[a(s,{variant:"outline",className:"w-full text-accent hover:text-foreground",onClick:R,children:[t(z,{className:"mr-2 w-4 h-4"})," Print"]}),a(s,{variant:"outline",className:"w-full text-accent hover:text-foreground",onClick:B,children:[t(S,{className:"mr-2 w-4 h-4"})," Present"]})]})]})})]}),i&&i.length>0&&i.map((e,n)=>e.links&&e.links.length>0&&t(v,{...e},n)),h.length>3&&a(d,{className:"w-full max-w-sm mt-4",children:[t(m,{children:t(f,{className:"text-accent",children:"On this page"})}),t(u,{children:t("ul",{className:"space-y-2",children:h.map((e,n)=>t("li",{className:I(e.tag),children:t("a",{href:`#${e.id}`,className:`text-xs ${k===e.id?"text-accent font-semibold":"text-primary dark:text-foreground"} hover:text-accent`,children:e.text})},n))})})]})]}),t("button",{onClick:E,className:r("fixed top-1/2 right-0 z-50 h-16 w-8 bg-accent text-accent-foreground rounded-l-full transform -translate-y-1/2 flex items-center justify-center","hidden md:block xl:hidden"),children:"\u22EE"})]}),t("div",{className:"block md:hidden mt-8",children:t("div",{className:"space-y-6",children:p})})]})};export{G as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as C}from"./chunk-BSQVKZCW.mjs";import{a as N}from"./chunk-Y5VTKEKS.mjs";import{a as E,f as T}from"./chunk-CGBVZQYY.mjs";import{a as M}from"./chunk-QOIH63J3.mjs";import{a as I,b as H,c as P,d as B}from"./chunk-OAOCXXC2.mjs";import{b as L}from"./chunk-BDX257W2.mjs";import{a as i}from"./chunk-NIQ4466A.mjs";import{a as _}from"./chunk-FRWX5YES.mjs";import*as r from"react";import{Slot as g}from"@radix-ui/react-slot";import{cva as A}from"class-variance-authority";import{PanelLeft as O}from"lucide-react";import{jsx as o,jsxs as S}from"react/jsx-runtime";var G="sidebar:state",K=60*60*24*7,V="16rem",$="18rem",U="3rem",W="b",D=r.createContext(null);function w(){let a=r.useContext(D);if(!a)throw new Error("useSidebar must be used within a SidebarProvider.");return a}var j=r.forwardRef(({defaultOpen:a=!0,open:e,onOpenChange:t,className:n,style:d,children:s,...u},m)=>{let c=_(),[p,b]=r.useState(!1),[v,k]=r.useState(a),f=e!=null?e:v,h=r.useCallback(l=>{if(t)return t==null?void 0:t(typeof l=="function"?l(f):l);k(l),document.cookie=`${G}=${f}; path=/; max-age=${K}`},[t,f]),x=r.useCallback(()=>c?b(l=>!l):h(l=>!l),[c,h,b]);r.useEffect(()=>{let l=R=>{R.key===W&&(R.metaKey||R.ctrlKey)&&(R.preventDefault(),x())};return window.addEventListener("keydown",l),()=>window.removeEventListener("keydown",l)},[x]);let y=f?"expanded":"collapsed",z=r.useMemo(()=>({state:y,open:f,setOpen:h,isMobile:c,openMobile:p,setOpenMobile:b,toggleSidebar:x}),[y,f,h,c,p,b,x]);return o(D.Provider,{value:z,children:o(I,{delayDuration:0,children:o("div",{style:{"--sidebar-width":V,"--sidebar-width-icon":U,...d},className:i("group/sidebar-wrapper flex w-full fixed has-[[data-variant=inset]]:bg-sidebar",n),ref:m,...u,children:s})})})});j.displayName="SidebarProvider";var q=r.forwardRef(({side:a="left",variant:e="sidebar",collapsible:t="offcanvas",className:n,children:d,...s},u)=>{let{isMobile:m,state:c,openMobile:p,setOpenMobile:b}=w();return t==="none"?o("div",{className:i("flex h-full w-[--sidebar-width] flex-col bg-sidebar text-sidebar-foreground",n),ref:u,...s,children:d}):m?o(E,{open:p,onOpenChange:b,...s,children:o(T,{"data-sidebar":"sidebar","data-mobile":"true",className:"w-[--sidebar-width] bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",style:{"--sidebar-width":$},side:a,children:o("div",{className:"flex h-full w-full flex-col",children:d})})}):S("div",{ref:u,className:"group peer hidden md:block text-sidebar-foreground","data-state":c,"data-collapsible":c==="collapsed"?t:"","data-variant":e,"data-side":a,children:[o("div",{className:i("duration-200 relative h-svh w-[--sidebar-width] bg-transparent transition-[width] ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180",e==="floating"||e==="inset"?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4))]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon]")}),o("div",{className:i("duration-200 fixed top-14 bottom-0 z-10 hidden w-[--sidebar-width] transition-[left,right,width] ease-linear md:flex",a==="left"?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",e==="floating"||e==="inset"?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4)_+2px)]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon] group-data-[side=left]:border-r group-data-[side=right]:border-l",n),...s,children:o("div",{"data-sidebar":"sidebar",className:"flex h-full w-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:shadow",children:d})})]})});q.displayName="Sidebar";var F=r.forwardRef(({className:a,onClick:e,...t},n)=>{let{toggleSidebar:d}=w();return S(L,{ref:n,"data-sidebar":"trigger",variant:"ghost",size:"icon",className:i("h-7 w-7",a),onClick:s=>{e==null||e(s),d()},...t,children:[o(O,{}),o("span",{className:"sr-only",children:"Toggle Sidebar"})]})});F.displayName="SidebarTrigger";var X=r.forwardRef(({className:a,...e},t)=>{let{toggleSidebar:n}=w();return o("button",{ref:t,"data-sidebar":"rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:n,title:"Toggle Sidebar",className:i("absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex","[[data-side=left]_&]:cursor-w-resize [[data-side=right]_&]:cursor-e-resize","[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize","group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:bg-sidebar","[[data-side=left][data-collapsible=offcanvas]_&]:-right-2","[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",a),...e})});X.displayName="SidebarRail";var Y=r.forwardRef(({className:a,...e},t)=>o("main",{ref:t,className:i("flex flex-1 flex-col bg-background overflow-y-auto relative max-h-full","md:peer-data-[variant=inset]:m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow",a),...e}));Y.displayName="SidebarInset";var J=r.forwardRef(({className:a,...e},t)=>o(M,{ref:t,"data-sidebar":"input",className:i("h-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",a),...e}));J.displayName="SidebarInput";var Q=r.forwardRef(({className:a,...e},t)=>o("div",{ref:t,"data-sidebar":"header",className:i("flex flex-col gap-2 p-2",a),...e}));Q.displayName="SidebarHeader";var Z=r.forwardRef(({className:a,...e},t)=>o("div",{ref:t,"data-sidebar":"footer",className:i("flex flex-col gap-2 p-2",a),...e}));Z.displayName="SidebarFooter";var ee=r.forwardRef(({className:a,...e},t)=>o(N,{ref:t,"data-sidebar":"separator",className:i("mx-2 w-auto bg-sidebar-border",a),...e}));ee.displayName="SidebarSeparator";var ae=r.forwardRef(({className:a,...e},t)=>o("div",{ref:t,"data-sidebar":"content",className:i("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",a),...e}));ae.displayName="SidebarContent";var te=r.forwardRef(({className:a,...e},t)=>o("div",{ref:t,"data-sidebar":"group",className:i("relative flex w-full min-w-0 flex-col p-2",a),...e}));te.displayName="SidebarGroup";var re=r.forwardRef(({className:a,asChild:e=!1,...t},n)=>o(e?g:"div",{ref:n,"data-sidebar":"group-label",className:i("duration-200 flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 outline-none ring-sidebar-ring transition-[margin,opa] ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",a),...t}));re.displayName="SidebarGroupLabel";var oe=r.forwardRef(({className:a,asChild:e=!1,...t},n)=>o(e?g:"button",{ref:n,"data-sidebar":"group-action",className:i("absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","group-data-[collapsible=icon]:hidden",a),...t}));oe.displayName="SidebarGroupAction";var ie=r.forwardRef(({className:a,...e},t)=>o("div",{ref:t,"data-sidebar":"group-content",className:i("w-full text-sm",a),...e}));ie.displayName="SidebarGroupContent";var ne=r.forwardRef(({className:a,...e},t)=>o("ul",{ref:t,"data-sidebar":"menu",className:i("flex w-full min-w-0 flex-col gap-1",a),...e}));ne.displayName="SidebarMenu";var de=r.forwardRef(({className:a,...e},t)=>o("li",{ref:t,"data-sidebar":"menu-item",className:i("group/menu-item relative",a),...e}));de.displayName="SidebarMenuItem";var se=A("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-none ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!p-2 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",{variants:{variant:{default:"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",outline:"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"},size:{default:"h-8 text-sm",sm:"h-7 text-xs",lg:"h-12 text-sm group-data-[collapsible=icon]:!p-0"}},defaultVariants:{variant:"default",size:"default"}}),le=r.forwardRef(({asChild:a=!1,isActive:e=!1,variant:t="default",size:n="default",tooltip:d,className:s,...u},m)=>{let c=a?g:"button",{isMobile:p,state:b}=w(),v=o(c,{ref:m,"data-sidebar":"menu-button","data-size":n,"data-active":e,className:i(se({variant:t,size:n}),s),...u});return d?(typeof d=="string"&&(d={children:d}),S(H,{children:[o(P,{asChild:!0,children:v}),o(B,{side:"right",align:"center",hidden:b!=="collapsed"||p,...d})]})):v});le.displayName="SidebarMenuButton";var ce=r.forwardRef(({className:a,asChild:e=!1,showOnHover:t=!1,...n},d)=>o(e?g:"button",{ref:d,"data-sidebar":"menu-action",className:i("absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 peer-hover/menu-button:text-sidebar-accent-foreground [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",t&&"group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 peer-data-[active=true]/menu-button:text-sidebar-accent-foreground md:opacity-0",a),...n}));ce.displayName="SidebarMenuAction";var be=r.forwardRef(({className:a,...e},t)=>o("div",{ref:t,"data-sidebar":"menu-badge",className:i("absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums text-sidebar-foreground select-none pointer-events-none","peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",a),...e}));be.displayName="SidebarMenuBadge";var ue=r.forwardRef(({className:a,showIcon:e=!1,...t},n)=>{let d=r.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return S("div",{ref:n,"data-sidebar":"menu-skeleton",className:i("rounded-md h-8 flex gap-2 px-2 items-center",a),...t,children:[e&&o(C,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),o(C,{className:"h-4 flex-1 max-w-[--skeleton-width]","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":d}})]})});ue.displayName="SidebarMenuSkeleton";var pe=r.forwardRef(({className:a,...e},t)=>o("ul",{ref:t,"data-sidebar":"menu-sub",className:i("mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",a),...e}));pe.displayName="SidebarMenuSub";var fe=r.forwardRef(({...a},e)=>o("li",{ref:e,...a}));fe.displayName="SidebarMenuSubItem";var me=r.forwardRef(({asChild:a=!1,size:e="md",isActive:t,className:n,...d},s)=>o(a?g:"a",{ref:s,"data-sidebar":"menu-sub-button","data-size":e,"data-active":t,className:i("flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground outline-none ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground","data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",e==="sm"&&"text-xs",e==="md"&&"text-sm","group-data-[collapsible=icon]:hidden",n),...d}));me.displayName="SidebarMenuSubButton";export{w as a,j as b,q as c,F as d,X as e,Y as f,J as g,Q as h,Z as i,ee as j,ae as k,te as l,re as m,oe as n,ie as o,ne as p,de as q,le as r,ce as s,be as t,ue as u,pe as v,fe as w,me as x};
|
|
4
|
+
import{a as N}from"./chunk-Y5VTKEKS.mjs";import{a as E,f as T}from"./chunk-CGBVZQYY.mjs";import{a as C}from"./chunk-BSQVKZCW.mjs";import{a as M}from"./chunk-QOIH63J3.mjs";import{a as I,b as H,c as P,d as B}from"./chunk-OAOCXXC2.mjs";import{b as L}from"./chunk-BDX257W2.mjs";import{a as i}from"./chunk-NIQ4466A.mjs";import{a as _}from"./chunk-FRWX5YES.mjs";import*as r from"react";import{Slot as g}from"@radix-ui/react-slot";import{cva as A}from"class-variance-authority";import{PanelLeft as O}from"lucide-react";import{jsx as o,jsxs as S}from"react/jsx-runtime";var G="sidebar:state",K=60*60*24*7,V="16rem",$="18rem",U="3rem",W="b",D=r.createContext(null);function w(){let a=r.useContext(D);if(!a)throw new Error("useSidebar must be used within a SidebarProvider.");return a}var j=r.forwardRef(({defaultOpen:a=!0,open:e,onOpenChange:t,className:n,style:d,children:s,...u},m)=>{let c=_(),[p,b]=r.useState(!1),[v,k]=r.useState(a),f=e!=null?e:v,h=r.useCallback(l=>{if(t)return t==null?void 0:t(typeof l=="function"?l(f):l);k(l),document.cookie=`${G}=${f}; path=/; max-age=${K}`},[t,f]),x=r.useCallback(()=>c?b(l=>!l):h(l=>!l),[c,h,b]);r.useEffect(()=>{let l=R=>{R.key===W&&(R.metaKey||R.ctrlKey)&&(R.preventDefault(),x())};return window.addEventListener("keydown",l),()=>window.removeEventListener("keydown",l)},[x]);let y=f?"expanded":"collapsed",z=r.useMemo(()=>({state:y,open:f,setOpen:h,isMobile:c,openMobile:p,setOpenMobile:b,toggleSidebar:x}),[y,f,h,c,p,b,x]);return o(D.Provider,{value:z,children:o(I,{delayDuration:0,children:o("div",{style:{"--sidebar-width":V,"--sidebar-width-icon":U,...d},className:i("group/sidebar-wrapper flex w-full fixed has-[[data-variant=inset]]:bg-sidebar",n),ref:m,...u,children:s})})})});j.displayName="SidebarProvider";var q=r.forwardRef(({side:a="left",variant:e="sidebar",collapsible:t="offcanvas",className:n,children:d,...s},u)=>{let{isMobile:m,state:c,openMobile:p,setOpenMobile:b}=w();return t==="none"?o("div",{className:i("flex h-full w-[--sidebar-width] flex-col bg-sidebar text-sidebar-foreground",n),ref:u,...s,children:d}):m?o(E,{open:p,onOpenChange:b,...s,children:o(T,{"data-sidebar":"sidebar","data-mobile":"true",className:"w-[--sidebar-width] bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",style:{"--sidebar-width":$},side:a,children:o("div",{className:"flex h-full w-full flex-col",children:d})})}):S("div",{ref:u,className:"group peer hidden md:block text-sidebar-foreground","data-state":c,"data-collapsible":c==="collapsed"?t:"","data-variant":e,"data-side":a,children:[o("div",{className:i("duration-200 relative h-svh w-[--sidebar-width] bg-transparent transition-[width] ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180",e==="floating"||e==="inset"?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4))]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon]")}),o("div",{className:i("duration-200 fixed top-14 bottom-0 z-10 hidden w-[--sidebar-width] transition-[left,right,width] ease-linear md:flex",a==="left"?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",e==="floating"||e==="inset"?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4)_+2px)]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon] group-data-[side=left]:border-r group-data-[side=right]:border-l",n),...s,children:o("div",{"data-sidebar":"sidebar",className:"flex h-full w-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:shadow",children:d})})]})});q.displayName="Sidebar";var F=r.forwardRef(({className:a,onClick:e,...t},n)=>{let{toggleSidebar:d}=w();return S(L,{ref:n,"data-sidebar":"trigger",variant:"ghost",size:"icon",className:i("h-7 w-7",a),onClick:s=>{e==null||e(s),d()},...t,children:[o(O,{}),o("span",{className:"sr-only",children:"Toggle Sidebar"})]})});F.displayName="SidebarTrigger";var X=r.forwardRef(({className:a,...e},t)=>{let{toggleSidebar:n}=w();return o("button",{ref:t,"data-sidebar":"rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:n,title:"Toggle Sidebar",className:i("absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex","[[data-side=left]_&]:cursor-w-resize [[data-side=right]_&]:cursor-e-resize","[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize","group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:bg-sidebar","[[data-side=left][data-collapsible=offcanvas]_&]:-right-2","[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",a),...e})});X.displayName="SidebarRail";var Y=r.forwardRef(({className:a,...e},t)=>o("main",{ref:t,className:i("flex flex-1 flex-col bg-background overflow-y-auto relative max-h-full","md:peer-data-[variant=inset]:m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow",a),...e}));Y.displayName="SidebarInset";var J=r.forwardRef(({className:a,...e},t)=>o(M,{ref:t,"data-sidebar":"input",className:i("h-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",a),...e}));J.displayName="SidebarInput";var Q=r.forwardRef(({className:a,...e},t)=>o("div",{ref:t,"data-sidebar":"header",className:i("flex flex-col gap-2 p-2",a),...e}));Q.displayName="SidebarHeader";var Z=r.forwardRef(({className:a,...e},t)=>o("div",{ref:t,"data-sidebar":"footer",className:i("flex flex-col gap-2 p-2",a),...e}));Z.displayName="SidebarFooter";var ee=r.forwardRef(({className:a,...e},t)=>o(N,{ref:t,"data-sidebar":"separator",className:i("mx-2 w-auto bg-sidebar-border",a),...e}));ee.displayName="SidebarSeparator";var ae=r.forwardRef(({className:a,...e},t)=>o("div",{ref:t,"data-sidebar":"content",className:i("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",a),...e}));ae.displayName="SidebarContent";var te=r.forwardRef(({className:a,...e},t)=>o("div",{ref:t,"data-sidebar":"group",className:i("relative flex w-full min-w-0 flex-col p-2",a),...e}));te.displayName="SidebarGroup";var re=r.forwardRef(({className:a,asChild:e=!1,...t},n)=>o(e?g:"div",{ref:n,"data-sidebar":"group-label",className:i("duration-200 flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 outline-none ring-sidebar-ring transition-[margin,opa] ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",a),...t}));re.displayName="SidebarGroupLabel";var oe=r.forwardRef(({className:a,asChild:e=!1,...t},n)=>o(e?g:"button",{ref:n,"data-sidebar":"group-action",className:i("absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","group-data-[collapsible=icon]:hidden",a),...t}));oe.displayName="SidebarGroupAction";var ie=r.forwardRef(({className:a,...e},t)=>o("div",{ref:t,"data-sidebar":"group-content",className:i("w-full text-sm",a),...e}));ie.displayName="SidebarGroupContent";var ne=r.forwardRef(({className:a,...e},t)=>o("ul",{ref:t,"data-sidebar":"menu",className:i("flex w-full min-w-0 flex-col gap-1",a),...e}));ne.displayName="SidebarMenu";var de=r.forwardRef(({className:a,...e},t)=>o("li",{ref:t,"data-sidebar":"menu-item",className:i("group/menu-item relative",a),...e}));de.displayName="SidebarMenuItem";var se=A("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-none ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!p-2 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",{variants:{variant:{default:"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",outline:"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"},size:{default:"h-8 text-sm",sm:"h-7 text-xs",lg:"h-12 text-sm group-data-[collapsible=icon]:!p-0"}},defaultVariants:{variant:"default",size:"default"}}),le=r.forwardRef(({asChild:a=!1,isActive:e=!1,variant:t="default",size:n="default",tooltip:d,className:s,...u},m)=>{let c=a?g:"button",{isMobile:p,state:b}=w(),v=o(c,{ref:m,"data-sidebar":"menu-button","data-size":n,"data-active":e,className:i(se({variant:t,size:n}),s),...u});return d?(typeof d=="string"&&(d={children:d}),S(H,{children:[o(P,{asChild:!0,children:v}),o(B,{side:"right",align:"center",hidden:b!=="collapsed"||p,...d})]})):v});le.displayName="SidebarMenuButton";var ce=r.forwardRef(({className:a,asChild:e=!1,showOnHover:t=!1,...n},d)=>o(e?g:"button",{ref:d,"data-sidebar":"menu-action",className:i("absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 peer-hover/menu-button:text-sidebar-accent-foreground [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",t&&"group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 peer-data-[active=true]/menu-button:text-sidebar-accent-foreground md:opacity-0",a),...n}));ce.displayName="SidebarMenuAction";var be=r.forwardRef(({className:a,...e},t)=>o("div",{ref:t,"data-sidebar":"menu-badge",className:i("absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums text-sidebar-foreground select-none pointer-events-none","peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",a),...e}));be.displayName="SidebarMenuBadge";var ue=r.forwardRef(({className:a,showIcon:e=!1,...t},n)=>{let d=r.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return S("div",{ref:n,"data-sidebar":"menu-skeleton",className:i("rounded-md h-8 flex gap-2 px-2 items-center",a),...t,children:[e&&o(C,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),o(C,{className:"h-4 flex-1 max-w-[--skeleton-width]","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":d}})]})});ue.displayName="SidebarMenuSkeleton";var pe=r.forwardRef(({className:a,...e},t)=>o("ul",{ref:t,"data-sidebar":"menu-sub",className:i("mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",a),...e}));pe.displayName="SidebarMenuSub";var fe=r.forwardRef(({...a},e)=>o("li",{ref:e,...a}));fe.displayName="SidebarMenuSubItem";var me=r.forwardRef(({asChild:a=!1,size:e="md",isActive:t,className:n,...d},s)=>o(a?g:"a",{ref:s,"data-sidebar":"menu-sub-button","data-size":e,"data-active":t,className:i("flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground outline-none ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground","data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",e==="sm"&&"text-xs",e==="md"&&"text-sm","group-data-[collapsible=icon]:hidden",n),...d}));me.displayName="SidebarMenuSubButton";export{w as a,j as b,q as c,F as d,X as e,Y as f,J as g,Q as h,Z as i,ee as j,ae as k,te as l,re as m,oe as n,ie as o,ne as p,de as q,le as r,ce as s,be as t,ue as u,pe as v,fe as w,me as x};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as p}from"./chunk-Q6SEVCRG.mjs";import{a as n}from"./chunk-YNNW2C2U.mjs";import c from"react";import g from"next/image";import{jsx as e,jsxs as a}from"react/jsx-runtime";var N=({post:f})=>{var d;let{categories:o,meta:i,populatedAuthors:t,publishedAt:m,title:r}=f;return a("div",{className:"relative grid",children:[e("div",{className:"relative z-10 flex flex-col justify-end min-h-[50vh] text-foreground dark:text-foreground p-6 lg:p-12",children:a("div",{className:"container mx-auto",children:[e("h1",{className:"mb-6 text-[clamp(2rem,1.5rem+1.5vw,3.5rem)] font-bold leading-tight ",children:r}),a("div",{className:"flex flex-col gap-4 md:flex-row md:gap-16 ",children:[t&&t.length>0&&a("div",{className:"flex flex-col gap-1",children:[a("p",{className:"text-sm",children:["Author",t.length>1?"s":""]}),e("p",{children:t.map((l,s)=>a(c.Fragment,{children:[l.name,s<t.length-2&&", ",s===t.length-2&&(t.length>2?", and ":" and ")]},l.id))})]}),m&&a("div",{className:"flex flex-col gap-1",children:[e("p",{className:"text-sm",children:"Date Published"}),e("time",{dateTime:m,children:n(m)})]}),o&&o.length>0&&a("div",{className:"flex flex-col gap-1",children:[e("p",{className:"text-sm font-medium",children:"Categories"}),e("div",{className:"flex flex-wrap gap-2",children:o.map((l,s)=>typeof l=="object"&&l!==null&&e(p,{className:"px-3 py-1 mx-1",children:l.title||"Untitled category"},l.id||s))})]})]})]})}),a("div",{className:"absolute inset-0 w-full h-full",children:[e(g,{className:"object-cover",alt:`Cover image for ${r}`,src:((d=i==null?void 0:i.image)==null?void 0:d.url)||"/assets/images/blog/gradient.png",fill:!0,priority:!0,sizes:"100vw"}),e("div",{className:"absolute pointer-events-none left-0 bottom-0 w-full h-1/2 bg-gradient-to-t from-background dark:from-black to-transparent"})]})]})};export{N as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function p(d){let n=0,r=(t,g)=>`${t.toLowerCase().replace(/\s+/g,"-").replace(/[^\w-]/g,"")}-${g}`,e=d.layout.flatMap(t=>{let g=[];return"title"in t&&t.title&&g.push({text:t.title,id:r(t.title,n++),tag:"h2"}),"columns"in t&&Array.isArray(t.columns)&&t.columns.forEach(a=>{var h,l,o;if(a.title&&g.push({text:a.title,id:r(a.title,n++),tag:"h2"}),(l=(h=a.richText)==null?void 0:h.root)!=null&&l.children){let f=a.richText.root.children.filter(s=>s!==void 0&&s.type==="heading");for(let s of f)s.children[0]&&g.push({text:(o=s.children[0].text)!=null?o:"",id:r(s.children[0].text,n++),tag:s.tag||"h2"})}}),g}),i=c(d.layout);return{tableOfContents:e,contentWithIds:i}}function c(d){let n=(e,i)=>`${e.toLowerCase().replace(/\s+/g,"-").replace(/[^\w-]/g,"")}-${i}`,r=0;return d.map(e=>(e.title&&(e.id=n(e.title,r++)),e.columns&&(e.columns=e.columns.map(i=>(i.title&&(i.id=n(i.title,r++)),i.richText&&(i.richText.root.children=i.richText.root.children.filter(t=>t!==void 0).filter(t=>t.children!==void 0&&t.children.length>0).map(t=>(t.type==="heading"&&(t.id=n(t.children[0].text,r++)),t))),i))),e))}export{p as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-WU3JMLSC.mjs";import{a as m}from"./chunk-BZAYEKYC.mjs";import{a as i}from"./chunk-M6AAFZAZ.mjs";import{a as o}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-WU3JMLSC.mjs";import{a as m}from"./chunk-BZAYEKYC.mjs";import{a as i}from"./chunk-M6AAFZAZ.mjs";import{a as o}from"./chunk-KSCHUMVE.mjs";import{a as t}from"./chunk-DESYC5BB.mjs";import{jsx as r,jsxs as n}from"react/jsx-runtime";function d({...e}){return n("div",{children:[r(t,{isMenuOpen:!0,logoLight:m,logoDark:a}),r(o,{...e.hero}),r(i,{className:"!pb-0",...e.blog})]})}export{d as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as
|
|
1
|
+
import{a as c}from"./chunk-UYHCPHTK.mjs";import{a as l}from"./chunk-KJV6IC7P.mjs";import{a as s}from"./chunk-DSNHVMRZ.mjs";import{a as n}from"./chunk-UESKYRNK.mjs";import b from"next/image";import{ChevronRightIcon as u,HomeIcon as g}from"@heroicons/react/20/solid";import{Fragment as x,jsx as t,jsxs as i}from"react/jsx-runtime";var h={highImpact:s,lowImpact:l,mediumImpact:c,sectionHero:m},k=a=>{let{type:r}=a||{};if(!r||r==="none")return null;let e=h[r];return e?t(e,{...a}):null};function f({breadcrumbItems:a}){if(a&&a.length>0){let r=a.filter(e=>e.label.toLowerCase()!=="home");return t("nav",{"aria-label":"Breadcrumb",className:"flex",children:i("ol",{role:"list",className:"flex items-center space-x-4",children:[t("li",{children:t("div",{children:i("a",{href:"/",className:"text-foreground hover:text-accent",children:[t(g,{"aria-hidden":"true",className:"size-5 shrink-0"}),t("span",{className:"sr-only",children:"Home"})]})})}),r.map((e,p)=>t("li",{children:i("div",{className:"flex items-center",children:[t(u,{"aria-hidden":"true",className:"size-5 shrink-0 text-gray-400"}),e.href?t("a",{href:e.href,className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:e.label}):t("div",{className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:e.label})]})},p))]})})}return t(x,{})}import{jsx as o,jsxs as d}from"react/jsx-runtime";function m({title:a,breadcrumbItems:r,image:e}){return d("section",{className:"-z-10 relative flex min-h-[250px] pt-auto items-end",children:[o("div",{className:"absolute inset-0 z-0",children:e&&o(b,{priority:!0,src:e.src,alt:`${process.env.NEXT_PUBLIC_SITE_NAME}`,layout:"fill",style:{objectFit:"cover"},sizes:"100vw",className:"pointer-events-none object-cover"})}),o("span",{className:"absolute inset-0 bg-gradient-1 from-background/0 to-background dark:from-background/0 dark:to-background"}),o(n,{children:d("div",{className:"relative z-10 flex flex-wrap items-center justify-between gap-x-20 gap-y-8 text-accent-900 dark:text-white lg:pt-[40px] pb-5",children:[o("h1",{className:"font-secondary text-5xl font-bold lg:w-1/2",children:a}),r&&r.length>0&&o(f,{breadcrumbItems:r})]})})]})}export{m as a,k as b,f as c};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{c as k,h as R,i as v,k as S,l as f,o as x,p as u,q as c,r as y,s as w,v as P,w as B,x as L}from"./chunk-
|
|
4
|
+
import{c as k,h as R,i as v,k as S,l as f,o as x,p as u,q as c,r as y,s as w,v as P,w as B,x as L}from"./chunk-KB6PO4K4.mjs";import{a as n}from"./chunk-BSQVKZCW.mjs";import{a as g,b as N,c as M}from"./chunk-YNCJATT7.mjs";import{ChevronRight as A}from"lucide-react";import T from"clsx";import{Fragment as H,jsx as e,jsxs as i}from"react/jsx-runtime";function J({mainNav:o,secondaryNav:l,title:b,subTitle:a,pathName:p,menuHeading:d,onNavClick:s,loading:r=!1,LinkComponent:h,...F}){let C=h?t=>e(h,{...t}):s?({href:t,children:m,...I})=>e("button",{onClick:()=>s&&s(t),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...I,children:m}):t=>e("a",{...t});return i(k,{...F,variant:"inset",children:[e(R,{children:e(u,{children:e(c,{children:r?i("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[e(n,{className:"bg-gray-200 my-2 w-full h-7"}),e(n,{className:"bg-gray-200 w-3/4 my-2 h-5"})]}):i("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[e("span",{className:"truncate font-semibold",children:b}),a&&e("span",{className:"truncate text-sm",children:a})]})})})}),r&&i(S,{children:[e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"})]}),i(S,{children:[o&&!r&&o.map((t,m)=>e(G,{subNav:t,pathName:p,Link:C},m)),e(f,{className:"mt-auto",children:e(x,{children:e(u,{children:l&&!r&&l.map(t=>e(c,{children:e(y,{asChild:!0,size:"sm",children:i(C,{href:t.url||"",children:[t.icon&&e(t.icon,{}),e("span",{children:t.label})]})})},t.label))})})})]}),e(v,{})]})}function G({subNav:o,pathName:l,Link:b}){var d,s;let a=o,p=!1;return a.links&&a.links.map(r=>{r.url===l&&(p=!0)}),e(g,{defaultOpen:!0,className:"group/collapsible",children:e(f,{className:"py-0",children:e(u,{children:e(g,{asChild:!0,defaultOpen:a.isActive,children:i(c,{children:[e(y,{asChild:!0,tooltip:a.label,className:T(p&&"font-bold text-accent"),children:i(b,{href:a.url,children:[a.icon&&e(a.icon,{}),e("span",{children:a.label})]})}),(d=a.links)!=null&&d.length?i(H,{children:[e(N,{asChild:!0,children:i(w,{className:"data-[state=open]:rotate-90",children:[e(A,{}),e("span",{className:"sr-only",children:"Toggle"})]})}),e(M,{children:e(P,{children:(s=a.links)==null?void 0:s.map(r=>e(B,{children:e(L,{asChild:!0,className:T(r.url===l&&"font-bold text-accent"),children:e(b,{href:r.url,children:e("span",{children:r.label})})})},r.label))})})]}):null]})},a.label)})})})}export{J as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{c as v,h as w,i as B,j as P,k as T,l as s,m as b,o as u,p as o,q as n,r as p,v as g,w as y,x as M}from"./chunk-
|
|
4
|
+
import{c as v,h as w,i as B,j as P,k as T,l as s,m as b,o as u,p as o,q as n,r as p,v as g,w as y,x as M}from"./chunk-KB6PO4K4.mjs";import{a as C}from"./chunk-BSQVKZCW.mjs";import{a as d,b as c,c as m}from"./chunk-YNCJATT7.mjs";import{a as h}from"./chunk-SFLOMJ2U.mjs";import{PencilLine as z,ChevronDown as x,FilePlus as E,Edit as H,Printer as _}from"lucide-react";import $ from"clsx";import{Fragment as A,jsx as e,jsxs as a}from"react/jsx-runtime";var q=()=>e(h,{iconName:"github",size:"10x"});function Z({relatedContent:i,tableOfContents:N,editorComponent:k,loading:S=!1,editMode:G=!1,onAddDocument:L,onEditDocument:O,onPrintDocument:D,onGithubClick:I,onNavClick:f,LinkComponent:R,...F}){let j=R?t=>e(R,{...t}):f?({item:t,children:r,...l})=>e("button",{onClick:()=>f&&f(t),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...l,children:r}):t=>e("a",{href:t.href,...t});return a(v,{side:"right",variant:"inset",...F,children:[a(w,{className:"border-b border-sidebar-border",children:[a(o,{className:"flex-row space-x-1",children:[e(n,{children:a(p,{onClick:L,children:[e(E,{})," ",e("span",{children:"Add Document"})]})}),I&&e(n,{children:e(p,{onClick:I,tooltip:"Open in GitHub",children:e(q,{})})})]}),a(o,{className:"flex-row space-x-1",children:[e(n,{className:"w-5/12",children:a(p,{onClick:()=>O(),variant:G?"outline":"default",className:$(G&&"text-accent"),children:[e(H,{})," ",e("span",{children:"Edit"})]})}),e(n,{className:"w-5/12",children:a(p,{onClick:D,children:[e(_,{})," ",e("span",{children:"Print"})]})})]})]}),k&&a(A,{children:[e(d,{defaultOpen:!0,className:"group/collapsible",children:a(s,{children:[e(b,{asChild:!0,children:a(c,{children:["Editor Controls",e(x,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),e(u,{children:e(m,{children:k})})]})}),e(P,{className:"mx-0"})]}),a(T,{className:"overflow-auto",children:[S&&a(A,{children:[a(s,{children:[e(b,{children:"Related Content"}),e(u,{children:e(o,{children:Array.from({length:3}).map((t,r)=>e(n,{children:e(C,{className:"bg-gray-200 w-full h-10"})},r))})})]}),a(s,{children:[e(b,{children:"Table of Contents"}),e(u,{children:e(o,{children:Array.from({length:3}).map((t,r)=>e(n,{children:e(C,{className:"bg-gray-200 w-full h-10"})},r))})})]})]}),i&&!S&&Object.keys(i).length>0&&e(d,{defaultOpen:!0,className:"group/collapsible",children:a(s,{children:[e(b,{asChild:!0,children:a(c,{children:["Related Content",e(x,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),e(u,{children:e(m,{children:e(o,{children:i&&Object.keys(i).map(t=>a(n,{children:[a("span",{className:"p-2 text-xs text-sidebar-foreground",children:[" ",t.charAt(0).toUpperCase()+t.slice(1)]}),t&&i[t]&&e(g,{children:i[t].map(r=>e(y,{children:e(M,{asChild:!0,isActive:!1,size:"sm",children:a(j,{href:r.url,item:r,className:"flex justify-between items-center w-full text-xs",children:[e("span",{children:r.label}),r.type==="note"&&e(z,{className:"ml-2 text-gray-400 !important",size:16}),r.type==="draft"&&e(h,{iconName:"code-pull-request-draft",className:"ml-2 text-gray-400 !important"})]})})},r.label))})]},t))})})})]})}),N&&!S&&e(d,{defaultOpen:!0,className:"group/collapsible",children:a(s,{children:[e(b,{asChild:!0,children:a(c,{children:["Table of Contents",e(x,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),e(u,{children:e(m,{children:e(o,{children:N.map(t=>{var r;return a(n,{children:[e(p,{asChild:!0,children:e("a",{href:`#${t.url}`,className:"text-xs",children:t.title})}),(r=t.items)!=null&&r.length?e(g,{children:t.items.map(l=>e(y,{children:e(M,{asChild:!0,isActive:l.isActive,size:"sm",children:e("a",{href:`#${l.url}`,className:"flex justify-between items-center w-full text-xs",children:e("span",{children:l.title})})})},l.title))}):null]},t.title)})})})})]})})]}),e(B,{})]})}export{Z as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-S3QLIGWR.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-PVRWMAHW.mjs";import"../../chunk-Y6CZVVJF.mjs";import"../../chunk-NGK3IDFP.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-YNDKGRL6.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-S3QLIGWR.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-PVRWMAHW.mjs";import"../../chunk-Y6CZVVJF.mjs";import"../../chunk-NGK3IDFP.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-YNDKGRL6.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-NSBNDXRL.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as BannerBlock};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as a}from"../../chunk-S3QLIGWR.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-PVRWMAHW.mjs";import"../../chunk-Y6CZVVJF.mjs";import"../../chunk-NGK3IDFP.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-YNDKGRL6.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-
|
|
1
|
+
import{b as a}from"../../chunk-S3QLIGWR.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-PVRWMAHW.mjs";import"../../chunk-Y6CZVVJF.mjs";import"../../chunk-NGK3IDFP.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-YNDKGRL6.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-NSBNDXRL.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as CallToActionBlock};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
"use strict";var ot=Object.create;var K=Object.defineProperty;var nt=Object.getOwnPropertyDescriptor;var st=Object.getOwnPropertyNames;var at=Object.getPrototypeOf,lt=Object.prototype.hasOwnProperty;var it=(t,e)=>{for(var r in e)K(t,r,{get:e[r],enumerable:!0})},Ae=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of st(e))!lt.call(t,s)&&s!==r&&K(t,s,{get:()=>e[s],enumerable:!(n=nt(e,s))||n.enumerable});return t};var Y=(t,e,r)=>(r=t!=null?ot(at(t)):{},Ae(e||!t||!t.__esModule?K(r,"default",{value:t,enumerable:!0}):r,t)),ct=t=>Ae(K({},"__esModule",{value:!0}),t);var Jt={};it(Jt,{Default:()=>fe,SingleLink:()=>tt,default:()=>jt});module.exports=ct(Jt);var Me=require("clsx");var ie="-",dt=t=>{let e=ut(t),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=t;return{getClassGroupId:l=>{let a=l.split(ie);return a[0]===""&&a.length!==1&&a.shift(),Be(a,e)||pt(l)},getConflictingClassGroupIds:(l,a)=>{let d=r[l]||[];return a&&n[l]?[...d,...n[l]]:d}}},Be=(t,e)=>{var l;if(t.length===0)return e.classGroupId;let r=t[0],n=e.nextPart.get(r),s=n?Be(t.slice(1),n):void 0;if(s)return s;if(e.validators.length===0)return;let o=t.join(ie);return(l=e.validators.find(({validator:a})=>a(o)))==null?void 0:l.classGroupId},Ce=/^\[(.+)\]$/,pt=t=>{if(Ce.test(t)){let e=Ce.exec(t)[1],r=e==null?void 0:e.substring(0,e.indexOf(":"));if(r)return"arbitrary.."+r}},ut=t=>{let{theme:e,prefix:r}=t,n={nextPart:new Map,validators:[]};return gt(Object.entries(t.classGroups),r).forEach(([o,l])=>{le(l,n,o,e)}),n},le=(t,e,r,n)=>{t.forEach(s=>{if(typeof s=="string"){let o=s===""?e:Ne(e,s);o.classGroupId=r;return}if(typeof s=="function"){if(mt(s)){le(s(n),e,r,n);return}e.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([o,l])=>{le(l,Ne(e,o),r,n)})})},Ne=(t,e)=>{let r=t;return e.split(ie).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},mt=t=>t.isThemeGetter,gt=(t,e)=>e?t.map(([r,n])=>{let s=n.map(o=>typeof o=="string"?e+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([l,a])=>[e+l,a])):o);return[r,s]}):t,ft=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,r=new Map,n=new Map,s=(o,l)=>{r.set(o,l),e++,e>t&&(e=0,n=r,r=new Map)};return{get(o){let l=r.get(o);if(l!==void 0)return l;if((l=n.get(o))!==void 0)return s(o,l),l},set(o,l){r.has(o)?r.set(o,l):s(o,l)}}},Pe="!",bt=t=>{let{separator:e,experimentalParseClassName:r}=t,n=e.length===1,s=e[0],o=e.length,l=a=>{let d=[],m=0,f=0,w;for(let y=0;y<a.length;y++){let x=a[y];if(m===0){if(x===s&&(n||a.slice(y,y+o)===e)){d.push(a.slice(f,y)),f=y+o;continue}if(x==="/"){w=y;continue}}x==="["?m++:x==="]"&&m--}let h=d.length===0?a:a.substring(f),A=h.startsWith(Pe),C=A?h.substring(1):h,b=w&&w>f?w-f:void 0;return{modifiers:d,hasImportantModifier:A,baseClassName:C,maybePostfixModifierPosition:b}};return r?a=>r({className:a,parseClassName:l}):l},yt=t=>{if(t.length<=1)return t;let e=[],r=[];return t.forEach(n=>{n[0]==="["?(e.push(...r.sort(),n),r=[]):r.push(n)}),e.push(...r.sort()),e},ht=t=>({cache:ft(t.cacheSize),parseClassName:bt(t),...dt(t)}),xt=/\s+/,wt=(t,e)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:s}=e,o=[],l=t.trim().split(xt),a="";for(let d=l.length-1;d>=0;d-=1){let m=l[d],{modifiers:f,hasImportantModifier:w,baseClassName:h,maybePostfixModifierPosition:A}=r(m),C=!!A,b=n(C?h.substring(0,A):h);if(!b){if(!C){a=m+(a.length>0?" "+a:a);continue}if(b=n(h),!b){a=m+(a.length>0?" "+a:a);continue}C=!1}let y=yt(f).join(":"),x=w?y+Pe:y,k=x+b;if(o.includes(k))continue;o.push(k);let I=s(b,C);for(let M=0;M<I.length;++M){let j=I[M];o.push(x+j)}a=m+(a.length>0?" "+a:a)}return a};function vt(){let t=0,e,r,n="";for(;t<arguments.length;)(e=arguments[t++])&&(r=Re(e))&&(n&&(n+=" "),n+=r);return n}var Re=t=>{if(typeof t=="string")return t;let e,r="";for(let n=0;n<t.length;n++)t[n]&&(e=Re(t[n]))&&(r&&(r+=" "),r+=e);return r};function kt(t,...e){let r,n,s,o=l;function l(d){let m=e.reduce((f,w)=>w(f),t());return r=ht(m),n=r.cache.get,s=r.cache.set,o=a,a(d)}function a(d){let m=n(d);if(m)return m;let f=wt(d,r);return s(d,f),f}return function(){return o(vt.apply(null,arguments))}}var p=t=>{let e=r=>r[t]||[];return e.isThemeGetter=!0,e},Te=/^\[(?:([a-z-]+):)?(.+)\]$/i,At=/^\d+\/\d+$/,Ct=new Set(["px","full","screen"]),Nt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Bt=/\d+(%|px|r?em|[sdl]?X([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$/,Pt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Rt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Tt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,B=t=>F(t)||Ct.has(t)||At.test(t),R=t=>G(t,"length",Lt),F=t=>!!t&&!Number.isNaN(Number(t)),ae=t=>G(t,"number",F),U=t=>!!t&&Number.isInteger(Number(t)),St=t=>t.endsWith("%")&&F(t.slice(0,-1)),i=t=>Te.test(t),T=t=>Nt.test(t),It=new Set(["length","size","percentage"]),Mt=t=>G(t,It,Se),zt=t=>G(t,"position",Se),Et=new Set(["image","url"]),Ft=t=>G(t,Et,Dt),Gt=t=>G(t,"",Ut),D=()=>!0,G=(t,e,r)=>{let n=Te.exec(t);return n?n[1]?typeof e=="string"?n[1]===e:e.has(n[1]):r(n[2]):!1},Lt=t=>Bt.test(t)&&!Pt.test(t),Se=()=>!1,Ut=t=>Rt.test(t),Dt=t=>Tt.test(t);var Ht=()=>{let t=p("colors"),e=p("spacing"),r=p("blur"),n=p("brightness"),s=p("borderColor"),o=p("borderRadius"),l=p("borderSpacing"),a=p("borderWidth"),d=p("contrast"),m=p("grayscale"),f=p("hueRotate"),w=p("invert"),h=p("gap"),A=p("gradientColorStops"),C=p("gradientColorStopPositions"),b=p("inset"),y=p("margin"),x=p("opacity"),k=p("padding"),I=p("saturate"),M=p("scale"),j=p("sepia"),be=p("skew"),ye=p("space"),he=p("translate"),re=()=>["auto","contain","none"],oe=()=>["auto","hidden","clip","visible","scroll"],ne=()=>["auto",i,e],u=()=>[i,e],xe=()=>["",B,R],J=()=>["auto",F,i],we=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],_=()=>["solid","dashed","dotted","double","none"],ve=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],se=()=>["start","end","center","between","around","evenly","stretch"],L=()=>["","0",i],ke=()=>["auto","avoid","all","avoid-page","page","left","right","column"],N=()=>[F,i];return{cacheSize:500,separator:":",theme:{colors:[D],spacing:[B,R],blur:["none","",T,i],brightness:N(),borderColor:[t],borderRadius:["none","","full",T,i],borderSpacing:u(),borderWidth:xe(),contrast:N(),grayscale:L(),hueRotate:N(),invert:L(),gap:u(),gradientColorStops:[t],gradientColorStopPositions:[St,R],inset:ne(),margin:ne(),opacity:N(),padding:u(),saturate:N(),scale:N(),sepia:L(),skew:N(),space:u(),translate:u()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[T]}],"break-after":[{"break-after":ke()}],"break-before":[{"break-before":ke()}],"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:[...we(),i]}],overflow:[{overflow:oe()}],"overflow-x":[{"overflow-x":oe()}],"overflow-y":[{"overflow-y":oe()}],overscroll:[{overscroll:re()}],"overscroll-x":[{"overscroll-x":re()}],"overscroll-y":[{"overscroll-y":re()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[b]}],"inset-x":[{"inset-x":[b]}],"inset-y":[{"inset-y":[b]}],start:[{start:[b]}],end:[{end:[b]}],top:[{top:[b]}],right:[{right:[b]}],bottom:[{bottom:[b]}],left:[{left:[b]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",U,i]}],basis:[{basis:ne()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",i]}],grow:[{grow:L()}],shrink:[{shrink:L()}],order:[{order:["first","last","none",U,i]}],"grid-cols":[{"grid-cols":[D]}],"col-start-end":[{col:["auto",{span:["full",U,i]},i]}],"col-start":[{"col-start":J()}],"col-end":[{"col-end":J()}],"grid-rows":[{"grid-rows":[D]}],"row-start-end":[{row:["auto",{span:[U,i]},i]}],"row-start":[{"row-start":J()}],"row-end":[{"row-end":J()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",i]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",i]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...se()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...se(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...se(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[k]}],px:[{px:[k]}],py:[{py:[k]}],ps:[{ps:[k]}],X:[{X:[k]}],pt:[{pt:[k]}],pr:[{pr:[k]}],pb:[{pb:[k]}],pl:[{pl:[k]}],m:[{m:[y]}],mx:[{mx:[y]}],my:[{my:[y]}],ms:[{ms:[y]}],X:[{X:[y]}],mt:[{mt:[y]}],mr:[{mr:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-x":[{"space-x":[ye]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[ye]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",i,e]}],"min-w":[{"min-w":[i,e,"min","max","fit"]}],"max-w":[{"max-w":[i,e,"none","full","min","max","fit","prose",{screen:[T]},T]}],h:[{h:[i,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,e,"auto","min","max","fit"]}],"font-size":[{text:["base",T,R]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ae]}],"font-family":[{font:[D]}],"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",i]}],"line-clamp":[{"line-clamp":["none",F,ae]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",B,i]}],"list-image":[{"list-image":["none",i]}],"list-style-type":[{list:["none","disc","decimal",i]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[x]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[x]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[..._(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",B,R]}],"underline-offset":[{"underline-offset":["auto",B,i]}],"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:u()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",i]}],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",i]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[x]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...we(),zt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Mt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Ft]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[C]}],"gradient-via-pos":[{via:[C]}],"gradient-to-pos":[{to:[C]}],"gradient-from":[{from:[A]}],"gradient-via":[{via:[A]}],"gradient-to":[{to:[A]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[x]}],"border-style":[{border:[..._(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[x]}],"divide-style":[{divide:_()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",..._()]}],"outline-offset":[{"outline-offset":[B,i]}],"outline-w":[{outline:[B,R]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:xe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[x]}],"ring-offset-w":[{"ring-offset":[B,R]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",T,Gt]}],"shadow-color":[{shadow:[D]}],opacity:[{opacity:[x]}],"mix-blend":[{"mix-blend":[...ve(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ve()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",T,i]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[w]}],saturate:[{saturate:[I]}],sepia:[{sepia:[j]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[w]}],"backdrop-opacity":[{"backdrop-opacity":[x]}],"backdrop-saturate":[{"backdrop-saturate":[I]}],"backdrop-sepia":[{"backdrop-sepia":[j]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",i]}],duration:[{duration:N()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:N()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[M]}],"scale-x":[{"scale-x":[M]}],"scale-y":[{"scale-y":[M]}],rotate:[{rotate:[U,i]}],"translate-x":[{"translate-x":[he]}],"translate-y":[{"translate-y":[he]}],"skew-x":[{"skew-x":[be]}],"skew-y":[{"skew-y":[be]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",i]}],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",i]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":u()}],"scroll-mx":[{"scroll-mx":u()}],"scroll-my":[{"scroll-my":u()}],"scroll-ms":[{"scroll-ms":u()}],"scroll-X":[{"scroll-X":u()}],"scroll-mt":[{"scroll-mt":u()}],"scroll-mr":[{"scroll-mr":u()}],"scroll-mb":[{"scroll-mb":u()}],"scroll-ml":[{"scroll-ml":u()}],"scroll-p":[{"scroll-p":u()}],"scroll-px":[{"scroll-px":u()}],"scroll-py":[{"scroll-py":u()}],"scroll-ps":[{"scroll-ps":u()}],"scroll-X":[{"scroll-X":u()}],"scroll-pt":[{"scroll-pt":u()}],"scroll-pr":[{"scroll-pr":u()}],"scroll-pb":[{"scroll-pb":u()}],"scroll-pl":[{"scroll-pl":u()}],"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",i]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[B,R,ae]}],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","X","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","X","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-X","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-X","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 Ie=kt(Ht);function g(...t){return Ie((0,Me.clsx)(t))}var X=require("react/jsx-runtime"),ze=({className:t,content:e,style:r})=>(0,X.jsx)("div",{className:g("mx-auto my-8 w-full",t),children:(0,X.jsx)("div",{className:g("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,X.jsx)(z,{content:e,enableGutter:!1,enableProse:!1})})});var q=require("prism-react-renderer");var Ee=require("@radix-ui/react-slot"),Fe=require("class-variance-authority"),Ge=Y(require("react")),Vt=(0,Fe.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"}}}),H=Ge.forwardRef(({asChild:t=!1,className:e,size:r,variant:n,...s},o)=>(0,X.jsx)(t?Ee.Slot:"button",{className:g(Vt({className:e,size:r,variant:n})),ref:o,...s}));H.displayName="Button";var Ue=require("lucide-react"),De=require("react");function He({code:t}){let[e,r]=(0,De.useState)("Copy");function n(){e==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,X.jsx)("div",{className:"flex justify-end align-middle",children:(0,X.jsxs)(H,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(t),n()},children:[(0,X.jsx)("p",{children:e}),(0,X.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,X.jsx)(Ue.ClipboardCopy,{})})]})})}var Ve=({code:t,language:e=""})=>t?(0,X.jsx)(q.Highlight,{code:t,language:e,theme:q.themes.vsDark,children:({getLineProps:r,getTokenProps:n,tokens:s})=>(0,X.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[s.map((o,l)=>(0,X.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,X.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:l+1}),(0,X.jsx)("span",{className:"table-cell pl-4",children:o.map((a,d)=>(0,X.jsx)("span",{...n({token:a})},d))})]},l)),(0,X.jsx)(He,{code:t})]})}):null;var Oe=({className:t,code:e,language:r})=>(0,X.jsx)("div",{className:[t,"not-prose"].filter(Boolean).join(" "),children:(0,X.jsx)(Ve,{code:e,language:r})});var je=Y(require("next/image")),Ot={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Qe="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=",Je=t=>{let{alt:e,fill:r,imgClassName:n,priority:s,resource:o,size:l,src:a,loading:d}=t,m,f,w=e,h=a||"";if(!h&&o&&typeof o=="object"){let{alt:b,filename:y,height:x,url:k,width:I}=o;m=I,f=x,w=b||"",h=k||Qe}let A=d||"lazy",C=l||Object.entries(Ot).map(([,b])=>`(max-width: ${b}px) ${b*2}w`).join(", ");return(0,X.jsx)("picture",{children:(0,X.jsx)(je.default,{alt:w||"",className:g(n),fill:r,height:r?void 0:f,placeholder:"blur",blurDataURL:Qe,priority:A!=="lazy"&&s,quality:100,loading:A,sizes:C,src:h,width:r?void 0:m})})};var _e=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Ke=()=>{if(_e){let t=window.location.protocol,e=window.location.hostname,r=window.location.port;return`${t}//${e}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var Ye=t=>{let{onClick:e,resource:r,videoClassName:n}=t,s=(0,De.useRef)(null);if((0,De.useEffect)(()=>{let{current:o}=s;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,X.jsx)("video",{autoPlay:!0,className:g(n),controls:!1,loop:!0,muted:!0,onClick:e,playsInline:!0,ref:s,children:(0,X.jsx)("source",{src:`${Ke()}/media/${o}`})})}return null};var $=t=>{var l;let{className:e,htmlElement:r="div",resource:n}=t,s=typeof n=="object"&&((l=n==null?void 0:n.mimeType)==null?void 0:l.includes("video"));return(0,X.jsx)(r||De.Fragment,{...r!==null?{className:e}:{},children:s?(0,X.jsx)(Ye,{...t}):(0,X.jsx)(Je,{...t})})};var qe=t=>{let{className:e,enableGutter:r=!0,imgClassName:n,media:s,staticImage:o}=t;return(0,X.jsx)("div",{className:g("",{container:r},e),children:(0,X.jsx)($,{imgClassName:g("border border-border rounded-[0.8rem]",n),resource:s,src:o})})};var We=t=>{let{className:e,enableGutter:r=!0,imgClassName:n,media:s,staticImage:o}=t;return(0,X.jsx)("div",{className:g("",{container:r},e),children:(0,X.jsx)($,{imgClassName:g("border border-border rounded-[0.8rem]",n),resource:s,src:o})})};var Ze=({title:t,description:e,features:r,id:n})=>(0,X.jsxs)("section",{className:g("container w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[t&&(0,X.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl",id:n||"",children:t}),e&&typeof e=="string"&&(0,X.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:e}),e&&typeof e=="object"&&(0,X.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,X.jsx)(z,{content:e,enableGutter:!1})}),(0,X.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((s,o)=>{let l=(0,X.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,X.jsx)("div",{className:"text-accent h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,X.jsx)("i",{className:`${s.icon.type} fa-${s.icon.icon} fa-4x`})}),(0,X.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:s.title}),s.content&&typeof s.content!="object"&&(0,X.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:s.content}}),s.content&&typeof s.content=="object"&&(0,X.jsx)("div",{className:"text-lg opacity-80",children:(0,X.jsx)(z,{content:s.content,enableGutter:!1})})]},o);return s.link?(0,X.jsx)("a",{href:s.link.url?s.link.url:"#",className:"no-underline group",children:l},o):l})})]});var te=Y(require("react"));var ge=Y(require("next/link")),O=t=>{let{type:e,appearance:r="inline",children:n,className:s,label:o,newTab:l,reference:a,size:d,url:m}=t,f=e==="reference"&&typeof(a==null?void 0:a.value)=="object"&&a.value.slug?`${(a==null?void 0:a.relationTo)!=="pages"?`/${a==null?void 0:a.relationTo}`:""}/${a.value.slug}`:m;if(!f)return null;let w=r==="link"?"clear":d,h=l?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,X.jsxs)(ge.default,{className:g(s),href:f||m||"",...h,children:[o&&o,n&&n]}):(0,X.jsx)(H,{asChild:!0,className:s,size:w,variant:r,children:(0,X.jsxs)(ge.default,{className:g(s),href:f||m||"",...h,children:[o&&o,n&&n]})})};function ee({nodes:t}){return(0,X.jsx)(te.Fragment,{children:t==null?void 0:t.map((e,r)=>{if(e==null)return null;if(e.type==="text"&&e.text){let o=(0,X.jsx)(te.default.Fragment,{children:e.text},r);return e.format&1&&(o=(0,X.jsx)("strong",{children:o},r)),e.format&2&&(o=(0,X.jsx)("em",{children:o},r)),e.format&4&&(o=(0,X.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),e.format&8&&(o=(0,X.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),e.format&16&&(o=(0,X.jsx)("code",{children:e.text},r)),e.format&32&&(o=(0,X.jsx)("sub",{children:o},r)),e.format&64&&(o=(0,X.jsx)("sup",{children:o},r)),o}if(e.type==="table")return(0,X.jsx)("table",{children:(0,X.jsx)("tbody",{children:e.children.map((o,l)=>(0,X.jsx)("tr",{children:o.children.map((a,d)=>(0,X.jsx)("td",{children:ee({nodes:a.children})},d))},l))})},r);let n=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let l of o.children)"checked"in l&&(l!=null&&l.checked||(l.checked=!1));return ee({nodes:o.children})},s="children"in e?n(e):"";if(e.type==="block"){let o=e.fields,l=o==null?void 0:o.blockType;if(!o||!l)return null;switch(l){case"cta":return(0,X.jsx)(Q,{...o},r);case"mediaBlock":return(0,X.jsx)(qe,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,X.jsx)(We,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,X.jsx)(ze,{className:"col-start-2 mb-4",...o},r);case"code":return(0,X.jsx)(Oe,{className:"col-start-2",...o},r);case"features":return(0,X.jsx)(Ze,{...o},r);default:return null}}else switch(e.type){case"linebreak":return(0,X.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,X.jsx)("p",{className:"col-start-2",children:s},r);case"heading":{let o=e==null?void 0:e.tag;return(0,X.jsx)(o,{className:"col-start-2",id:(e==null?void 0:e.id)||"",children:s},r)}case"list":{let o=e==null?void 0:e.tag;return(0,X.jsx)(o,{className:"list col-start-2",children:s},r)}case"listitem":return(e==null?void 0:e.checked)!=null?(0,X.jsx)("li",{"aria-checked":e.checked?"true":"false",className:` ${e.checked,""}`,role:"checkbox",tabIndex:-1,value:e==null?void 0:e.value,children:s},r):(0,X.jsx)("li",{value:e==null?void 0:e.value,children:s},r);case"quote":return(0,X.jsx)("blockquote",{className:"col-start-2",children:s},r);case"link":{let o=e.fields;return(0,X.jsx)(O,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}case"autolink":{let o=e.fields;return(0,X.jsx)(O,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}default:return null}})})}var z=({className:t,content:e,enableGutter:r=!0,enableProse:n=!0})=>{var s;return e?(0,$e.jsx)("div",{className:g({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":n},t),children:e&&!Array.isArray(e)&&typeof e=="object"&&"root"in e&&ee({nodes:(s=e==null?void 0:e.root)==null?void 0:s.children})}):null};var Q=({links:t,richText:e})=>(0,X.jsx)("div",{className:"container",children:(0,X.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,X.jsx)("div",{className:"max-w-[48rem] flex items-center",children:e&&(0,X.jsx)(z,{className:"mb-0",content:e,enableGutter:!1})}),(0,X.jsx)("div",{className:"flex flex-col gap-8",children:(t||[]).map(({link:r},n)=>(0,X.jsx)(O,{size:"lg",...r},n))})]})});var Qt={title:"Reusable Blocks/CallToAction",component:Q},jt=Qt,et=t=>(0,X.jsx)(Q,{...t}),fe=et.bind({});fe.args={richText:{root:{children:[{type:"text",text:"This is a regular text."},{type:"text",text:"This is bold text.",format:1}]}},links:[{link:{type:"custom",label:"Learn More",url:"#"}},{link:{type:"custom",label:"Get Started",url:"#"}}]};var tt=et.bind({});tt.args={...fe.args,links:[{link:{type:"custom",label:"Learn More",url:"#"}}]};0&&(module.exports={Default,SingleLink});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as t}from"../../chunk-S3QLIGWR.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-PVRWMAHW.mjs";import"../../chunk-Y6CZVVJF.mjs";import"../../chunk-NGK3IDFP.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-YNDKGRL6.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-NSBNDXRL.mjs";import"../../chunk-S7OK7D5I.mjs";import{jsx as i}from"react/jsx-runtime";var r={title:"Reusable Blocks/CallToAction",component:t},c=r,o=l=>i(t,{...l}),e=o.bind({});e.args={richText:{root:{children:[{type:"text",text:"This is a regular text."},{type:"text",text:"This is bold text.",format:1}]}},links:[{link:{type:"custom",label:"Learn More",url:"#"}},{link:{type:"custom",label:"Get Started",url:"#"}}]};var a=o.bind({});a.args={...e.args,links:[{link:{type:"custom",label:"Learn More",url:"#"}}]};export{e as Default,a as SingleLink,c as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-2LJVMEWU.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-2LJVMEWU.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-NSBNDXRL.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var Ce=Object.create;var $=Object.defineProperty;var ke=Object.getOwnPropertyDescriptor;var Me=Object.getOwnPropertyNames;var Re=Object.getPrototypeOf,ze=Object.prototype.hasOwnProperty;var Ne=(e,t)=>{for(var r in t)$(e,r,{get:t[r],enumerable:!0})},ae=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Me(t))!ze.call(e,n)&&n!==r&&$(e,n,{get:()=>t[n],enumerable:!(o=ke(t,n))||o.enumerable});return e};var ie=(e,t,r)=>(r=e!=null?Ce(Re(e)):{},ae(t||!e||!e.__esModule?$(r,"default",{value:e,enumerable:!0}):r,e)),Se=e=>ae($({},"__esModule",{value:!0}),e);var bt={};Ne(bt,{DefaultCaseStudy:()=>ut,MinimalCaseStudy:()=>mt,WithChildren:()=>gt,default:()=>pt});module.exports=Se(bt);var we=ie(require("next/image"));var A=ie(require("react"));var fe=require("clsx");var J="-",Ae=e=>{let t=Le(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:l=>{let a=l.split(J);return a[0]===""&&a.length!==1&&a.shift(),de(a,t)||Te(l)},getConflictingClassGroupIds:(l,a)=>{let p=r[l]||[];return a&&o[l]?[...p,...o[l]]:p}}},de=(e,t)=>{var l;if(e.length===0)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),n=o?de(e.slice(1),o):void 0;if(n)return n;if(t.validators.length===0)return;let s=e.join(J);return(l=t.validators.find(({validator:a})=>a(s)))==null?void 0:l.classGroupId},le=/^\[(.+)\]$/,Te=e=>{if(le.test(e)){let t=le.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Le=e=>{let{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return Ee(Object.entries(e.classGroups),r).forEach(([s,l])=>{U(l,o,s,t)}),o},U=(e,t,r,o)=>{e.forEach(n=>{if(typeof n=="string"){let s=n===""?t:ce(t,n);s.classGroupId=r;return}if(typeof n=="function"){if(Pe(n)){U(n(o),t,r,o);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([s,l])=>{U(l,ce(t,s),r,o)})})},ce=(e,t)=>{let r=e;return t.split(J).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},Pe=e=>e.isThemeGetter,Ee=(e,t)=>t?e.map(([r,o])=>{let n=o.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([l,a])=>[t+l,a])):s);return[r,n]}):e,Ie=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map,n=(s,l)=>{r.set(s,l),t++,t>e&&(t=0,o=r,r=new Map)};return{get(s){let l=r.get(s);if(l!==void 0)return l;if((l=o.get(s))!==void 0)return n(s,l),l},set(s,l){r.has(s)?r.set(s,l):n(s,l)}}},pe="!",Ge=e=>{let{separator:t,experimentalParseClassName:r}=e,o=t.length===1,n=t[0],s=t.length,l=a=>{let p=[],m=0,b=0,v;for(let u=0;u<a.length;u++){let h=a[u];if(m===0){if(h===n&&(o||a.slice(u,u+s)===t)){p.push(a.slice(b,u)),b=u+s;continue}if(h==="/"){v=u;continue}}h==="["?m++:h==="]"&&m--}let y=p.length===0?a:a.substring(b),x=y.startsWith(pe),w=x?y.substring(1):y,f=v&&v>b?v-b:void 0;return{modifiers:p,hasImportantModifier:x,baseClassName:w,maybePostfixModifierPosition:f}};return r?a=>r({className:a,parseClassName:l}):l},He=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(o=>{o[0]==="["?(t.push(...r.sort(),o),r=[]):r.push(o)}),t.push(...r.sort()),t},je=e=>({cache:Ie(e.cacheSize),parseClassName:Ge(e),...Ae(e)}),Be=/\s+/,Ve=(e,t)=>{let{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:n}=t,s=[],l=e.trim().split(Be),a="";for(let p=l.length-1;p>=0;p-=1){let m=l[p],{modifiers:b,hasImportantModifier:v,baseClassName:y,maybePostfixModifierPosition:x}=r(m),w=!!x,f=o(w?y.substring(0,x):y);if(!f){if(!w){a=m+(a.length>0?" "+a:a);continue}if(f=o(y),!f){a=m+(a.length>0?" "+a:a);continue}w=!1}let u=He(b).join(":"),h=v?u+pe:u,C=h+f;if(s.includes(C))continue;s.push(C);let E=n(f,w);for(let S=0;S<E.length;++S){let B=E[S];s.push(h+B)}a=m+(a.length>0?" "+a:a)}return a};function De(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=ue(t))&&(o&&(o+=" "),o+=r);return o}var ue=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=ue(e[o]))&&(r&&(r+=" "),r+=t);return r};function $e(e,...t){let r,o,n,s=l;function l(p){let m=t.reduce((b,v)=>v(b),e());return r=je(m),o=r.cache.get,n=r.cache.set,s=a,a(p)}function a(p){let m=o(p);if(m)return m;let b=Ve(p,r);return n(p,b),b}return function(){return s(De.apply(null,arguments))}}var c=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},ge=/^\[(?:([a-z-]+):)?(.+)\]$/i,We=/^\d+\/\d+$/,_e=new Set(["px","full","screen"]),Fe=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,qe=/\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$/,Oe=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Ue=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Je=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,R=e=>L(e)||_e.has(e)||We.test(e),z=e=>P(e,"length",rt),L=e=>!!e&&!Number.isNaN(Number(e)),O=e=>P(e,"number",L),G=e=>!!e&&Number.isInteger(Number(e)),Ke=e=>e.endsWith("%")&&L(e.slice(0,-1)),i=e=>ge.test(e),N=e=>Fe.test(e),Qe=new Set(["length","size","percentage"]),Xe=e=>P(e,Qe,me),Ze=e=>P(e,"position",me),Ye=new Set(["image","url"]),et=e=>P(e,Ye,nt),tt=e=>P(e,"",ot),H=()=>!0,P=(e,t,r)=>{let o=ge.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1},rt=e=>qe.test(e)&&!Oe.test(e),me=()=>!1,ot=e=>Ue.test(e),nt=e=>Je.test(e);var st=()=>{let e=c("colors"),t=c("spacing"),r=c("blur"),o=c("brightness"),n=c("borderColor"),s=c("borderRadius"),l=c("borderSpacing"),a=c("borderWidth"),p=c("contrast"),m=c("grayscale"),b=c("hueRotate"),v=c("invert"),y=c("gap"),x=c("gradientColorStops"),w=c("gradientColorStopPositions"),f=c("inset"),u=c("margin"),h=c("opacity"),C=c("padding"),E=c("saturate"),S=c("scale"),B=c("sepia"),Y=c("skew"),ee=c("space"),te=c("translate"),W=()=>["auto","contain","none"],_=()=>["auto","hidden","clip","visible","scroll"],F=()=>["auto",i,t],d=()=>[i,t],re=()=>["",R,z],V=()=>["auto",L,i],oe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],D=()=>["solid","dashed","dotted","double","none"],ne=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],q=()=>["start","end","center","between","around","evenly","stretch"],I=()=>["","0",i],se=()=>["auto","avoid","all","avoid-page","page","left","right","column"],M=()=>[L,i];return{cacheSize:500,separator:":",theme:{colors:[H],spacing:[R,z],blur:["none","",N,i],brightness:M(),borderColor:[e],borderRadius:["none","","full",N,i],borderSpacing:d(),borderWidth:re(),contrast:M(),grayscale:I(),hueRotate:M(),invert:I(),gap:d(),gradientColorStops:[e],gradientColorStopPositions:[Ke,z],inset:F(),margin:F(),opacity:M(),padding:d(),saturate:M(),scale:M(),sepia:I(),skew:M(),space:d(),translate:d()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[N]}],"break-after":[{"break-after":se()}],"break-before":[{"break-before":se()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...oe(),i]}],overflow:[{overflow:_()}],"overflow-x":[{"overflow-x":_()}],"overflow-y":[{"overflow-y":_()}],overscroll:[{overscroll:W()}],"overscroll-x":[{"overscroll-x":W()}],"overscroll-y":[{"overscroll-y":W()}],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",G,i]}],basis:[{basis:F()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",i]}],grow:[{grow:I()}],shrink:[{shrink:I()}],order:[{order:["first","last","none",G,i]}],"grid-cols":[{"grid-cols":[H]}],"col-start-end":[{col:["auto",{span:["full",G,i]},i]}],"col-start":[{"col-start":V()}],"col-end":[{"col-end":V()}],"grid-rows":[{"grid-rows":[H]}],"row-start-end":[{row:["auto",{span:[G,i]},i]}],"row-start":[{"row-start":V()}],"row-end":[{"row-end":V()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",i]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",i]}],gap:[{gap:[y]}],"gap-x":[{"gap-x":[y]}],"gap-y":[{"gap-y":[y]}],"justify-content":[{justify:["normal",...q()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...q(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...q(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[C]}],px:[{px:[C]}],py:[{py:[C]}],ps:[{ps:[C]}],pe:[{pe:[C]}],pt:[{pt:[C]}],pr:[{pr:[C]}],pb:[{pb:[C]}],pl:[{pl:[C]}],m:[{m:[u]}],mx:[{mx:[u]}],my:[{my:[u]}],ms:[{ms:[u]}],me:[{me:[u]}],mt:[{mt:[u]}],mr:[{mr:[u]}],mb:[{mb:[u]}],ml:[{ml:[u]}],"space-x":[{"space-x":[ee]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[ee]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",i,t]}],"min-w":[{"min-w":[i,t,"min","max","fit"]}],"max-w":[{"max-w":[i,t,"none","full","min","max","fit","prose",{screen:[N]},N]}],h:[{h:[i,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,t,"auto","min","max","fit"]}],"font-size":[{text:["base",N,z]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",O]}],"font-family":[{font:[H]}],"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",i]}],"line-clamp":[{"line-clamp":["none",L,O]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",R,i]}],"list-image":[{"list-image":["none",i]}],"list-style-type":[{list:["none","disc","decimal",i]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[h]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[h]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...D(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",R,z]}],"underline-offset":[{"underline-offset":["auto",R,i]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:d()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",i]}],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",i]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[h]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...oe(),Ze]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Xe]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},et]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[w]}],"gradient-via-pos":[{via:[w]}],"gradient-to-pos":[{to:[w]}],"gradient-from":[{from:[x]}],"gradient-via":[{via:[x]}],"gradient-to":[{to:[x]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[h]}],"border-style":[{border:[...D(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[h]}],"divide-style":[{divide:D()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...D()]}],"outline-offset":[{"outline-offset":[R,i]}],"outline-w":[{outline:[R,z]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:re()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[h]}],"ring-offset-w":[{"ring-offset":[R,z]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",N,tt]}],"shadow-color":[{shadow:[H]}],opacity:[{opacity:[h]}],"mix-blend":[{"mix-blend":[...ne(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ne()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[p]}],"drop-shadow":[{"drop-shadow":["","none",N,i]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[b]}],invert:[{invert:[v]}],saturate:[{saturate:[E]}],sepia:[{sepia:[B]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[p]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[b]}],"backdrop-invert":[{"backdrop-invert":[v]}],"backdrop-opacity":[{"backdrop-opacity":[h]}],"backdrop-saturate":[{"backdrop-saturate":[E]}],"backdrop-sepia":[{"backdrop-sepia":[B]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",i]}],duration:[{duration:M()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:M()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[S]}],"scale-x":[{"scale-x":[S]}],"scale-y":[{"scale-y":[S]}],rotate:[{rotate:[G,i]}],"translate-x":[{"translate-x":[te]}],"translate-y":[{"translate-y":[te]}],"skew-x":[{"skew-x":[Y]}],"skew-y":[{"skew-y":[Y]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",i]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",i]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":d()}],"scroll-mx":[{"scroll-mx":d()}],"scroll-my":[{"scroll-my":d()}],"scroll-ms":[{"scroll-ms":d()}],"scroll-me":[{"scroll-me":d()}],"scroll-mt":[{"scroll-mt":d()}],"scroll-mr":[{"scroll-mr":d()}],"scroll-mb":[{"scroll-mb":d()}],"scroll-ml":[{"scroll-ml":d()}],"scroll-p":[{"scroll-p":d()}],"scroll-px":[{"scroll-px":d()}],"scroll-py":[{"scroll-py":d()}],"scroll-ps":[{"scroll-ps":d()}],"scroll-pe":[{"scroll-pe":d()}],"scroll-pt":[{"scroll-pt":d()}],"scroll-pr":[{"scroll-pr":d()}],"scroll-pb":[{"scroll-pb":d()}],"scroll-pl":[{"scroll-pl":d()}],"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",i]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[R,z,O]}],stroke:[{stroke:[e,"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 be=$e(st);function k(...e){return be((0,fe.clsx)(e))}var T=require("react/jsx-runtime"),K=A.forwardRef(({className:e,...t},r)=>(0,T.jsx)("div",{ref:r,className:k("rounded-xl border bg-card text-card-foreground shadow",e),...t}));K.displayName="Card";var at=A.forwardRef(({className:e,...t},r)=>(0,T.jsx)("div",{ref:r,className:k("flex flex-col space-y-1.5 p-6",e),...t}));at.displayName="CardHeader";var it=A.forwardRef(({className:e,...t},r)=>(0,T.jsx)("div",{ref:r,className:k("font-semibold leading-none tracking-tight",e),...t}));it.displayName="CardTitle";var lt=A.forwardRef(({className:e,...t},r)=>(0,T.jsx)("div",{ref:r,className:k("text-sm text-muted-foreground",e),...t}));lt.displayName="CardDescription";var Q=A.forwardRef(({className:e,...t},r)=>(0,T.jsx)("div",{ref:r,className:k("p-6 pt-0",e),...t}));Q.displayName="CardContent";var ct=A.forwardRef(({className:e,...t},r)=>(0,T.jsx)("div",{ref:r,className:k("flex items-center p-6 pt-0",e),...t}));ct.displayName="CardFooter";var he=require("class-variance-authority");var dt=(0,he.cva)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function ye({className:e,variant:t,...r}){return(0,T.jsx)("div",{className:k(dt({variant:t}),e),...r})}var X=require("lucide-react");function ve(e){let t=e.replace("#",""),r=parseInt(t.substring(0,2),16),o=parseInt(t.substring(2,4),16),n=parseInt(t.substring(4,6),16);return(r*299+o*587+n*114)/1e3<128}function Z({customerName:e="Acme Corporation",logoUrl:t,industry:r,projectDescription:o="Revolutionizing widget production with cloud technology",color:n="#3B82F6",quote:s,metrics:l=[],children:a=null}){var y;let m=((y=[{label:"Technology",value:"technology"},{label:"Finance",value:"finance"},{label:"Healthcare",value:"healthcare"},{label:"Retail",value:"retail"}].find(x=>x.value===r))==null?void 0:y.label)||void 0,b=ve(n)?"text-white":"text-gray-900",v=ve(n)?"white":n;return(0,T.jsx)(K,{className:"w-full max-w-4xl mx-auto overflow-hidden shadow-lg",children:(0,T.jsxs)(Q,{className:"p-0",children:[(0,T.jsxs)("div",{className:`flex items-center ${b}`,style:{background:`linear-gradient(to right, ${n}, ${n}80)`,padding:"1.5rem"},children:[(0,T.jsxs)("div",{className:"flex-grow pr-4",children:[(0,T.jsx)("h2",{className:"text-2xl font-bold mb-2",children:e}),m&&(0,T.jsx)(ye,{variant:"secondary",className:"text-sm font-medium",children:m}),(0,T.jsx)("p",{className:"mt-4 text-lg",children:o})]}),t&&(0,T.jsx)("div",{className:"flex items-center justify-center bg-white rounded-lg",style:{padding:"1rem",height:"100px"},children:(0,T.jsx)(we.default,{src:t,alt:`${e} logo`,width:120,height:60,className:"object-contain h-full"})})]}),(0,T.jsxs)("div",{className:"p-6",children:[s&&(0,T.jsxs)("blockquote",{className:"border-l-4 pl-4 py-2 mb-6 italic",style:{borderColor:n,color:n},children:[(0,T.jsx)(X.Quote,{className:"inline-block mr-2",size:24,style:{color:n}}),s,(0,T.jsx)(X.Quote,{className:"inline-block ml-2",size:24,style:{color:n}})]}),(0,T.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4 mt-6",children:l.map((x,w)=>(0,T.jsxs)("div",{className:"text-center",children:[(0,T.jsx)("div",{className:"text-3xl font-bold",style:{color:n},children:x.value}),(0,T.jsx)("div",{className:"text-sm text-gray-600",children:x.label})]},w))})]}),(0,T.jsx)("div",{className:"p-6",children:a})]})})}var pt={title:"Blocks/CaseStudy",component:Z,tags:["autodocs"]},ut={args:{customerName:"Acme Corporation",logoUrl:"/acme-logo.png",industry:"technology",projectDescription:"Revolutionizing widget production with cloud technology",color:"#3B82F6",quote:"This project has transformed our business operations.",metrics:[{label:"Increased Efficiency",value:"50%"},{label:"Cost Savings",value:"$1M"}]}},gt={args:{customerName:"Beta Industries",logoUrl:"cortex-reply.png",industry:"manufacturing",projectDescription:"Implementing AI-driven automation in production lines",color:"#10B981",quote:"AI has significantly improved our production quality.",metrics:[{label:"Production Increase",value:"30%"},{label:"Error Reduction",value:"20%"}],children:(0,T.jsxs)("div",{children:[(0,T.jsx)("h3",{children:"Additional Information"}),(0,T.jsx)("p",{children:"This section can include more detailed information about the case study."})]})}},mt={args:{customerName:"Gamma Enterprises",projectDescription:"Enhancing cybersecurity measures across the organization",color:"#EF4444"}};0&&(module.exports={DefaultCaseStudy,MinimalCaseStudy,WithChildren});
|
|
1
|
+
"use strict";var Ce=Object.create;var $=Object.defineProperty;var ke=Object.getOwnPropertyDescriptor;var Me=Object.getOwnPropertyNames;var Re=Object.getPrototypeOf,ze=Object.prototype.hasOwnProperty;var Ne=(e,t)=>{for(var r in t)$(e,r,{get:t[r],enumerable:!0})},ae=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Me(t))!ze.call(e,n)&&n!==r&&$(e,n,{get:()=>t[n],enumerable:!(o=ke(t,n))||o.enumerable});return e};var ie=(e,t,r)=>(r=e!=null?Ce(Re(e)):{},ae(t||!e||!e.__esModule?$(r,"default",{value:e,enumerable:!0}):r,e)),Se=e=>ae($({},"__esModule",{value:!0}),e);var bt={};Ne(bt,{DefaultCaseStudy:()=>ut,MinimalCaseStudy:()=>mt,WithChildren:()=>gt,default:()=>pt});module.exports=Se(bt);var we=ie(require("next/image"));var A=ie(require("react"));var fe=require("clsx");var J="-",Ae=e=>{let t=Le(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:l=>{let a=l.split(J);return a[0]===""&&a.length!==1&&a.shift(),de(a,t)||Te(l)},getConflictingClassGroupIds:(l,a)=>{let p=r[l]||[];return a&&o[l]?[...p,...o[l]]:p}}},de=(e,t)=>{var l;if(e.length===0)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),n=o?de(e.slice(1),o):void 0;if(n)return n;if(t.validators.length===0)return;let s=e.join(J);return(l=t.validators.find(({validator:a})=>a(s)))==null?void 0:l.classGroupId},le=/^\[(.+)\]$/,Te=e=>{if(le.test(e)){let t=le.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Le=e=>{let{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return Ee(Object.entries(e.classGroups),r).forEach(([s,l])=>{U(l,o,s,t)}),o},U=(e,t,r,o)=>{e.forEach(n=>{if(typeof n=="string"){let s=n===""?t:ce(t,n);s.classGroupId=r;return}if(typeof n=="function"){if(Pe(n)){U(n(o),t,r,o);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([s,l])=>{U(l,ce(t,s),r,o)})})},ce=(e,t)=>{let r=e;return t.split(J).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},Pe=e=>e.isThemeGetter,Ee=(e,t)=>t?e.map(([r,o])=>{let n=o.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([l,a])=>[t+l,a])):s);return[r,n]}):e,Ie=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map,n=(s,l)=>{r.set(s,l),t++,t>e&&(t=0,o=r,r=new Map)};return{get(s){let l=r.get(s);if(l!==void 0)return l;if((l=o.get(s))!==void 0)return n(s,l),l},set(s,l){r.has(s)?r.set(s,l):n(s,l)}}},pe="!",Ge=e=>{let{separator:t,experimentalParseClassName:r}=e,o=t.length===1,n=t[0],s=t.length,l=a=>{let p=[],m=0,b=0,v;for(let u=0;u<a.length;u++){let h=a[u];if(m===0){if(h===n&&(o||a.slice(u,u+s)===t)){p.push(a.slice(b,u)),b=u+s;continue}if(h==="/"){v=u;continue}}h==="["?m++:h==="]"&&m--}let y=p.length===0?a:a.substring(b),x=y.startsWith(pe),w=x?y.substring(1):y,f=v&&v>b?v-b:void 0;return{modifiers:p,hasImportantModifier:x,baseClassName:w,maybePostfixModifierPosition:f}};return r?a=>r({className:a,parseClassName:l}):l},He=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(o=>{o[0]==="["?(t.push(...r.sort(),o),r=[]):r.push(o)}),t.push(...r.sort()),t},je=e=>({cache:Ie(e.cacheSize),parseClassName:Ge(e),...Ae(e)}),Be=/\s+/,Ve=(e,t)=>{let{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:n}=t,s=[],l=e.trim().split(Be),a="";for(let p=l.length-1;p>=0;p-=1){let m=l[p],{modifiers:b,hasImportantModifier:v,baseClassName:y,maybePostfixModifierPosition:x}=r(m),w=!!x,f=o(w?y.substring(0,x):y);if(!f){if(!w){a=m+(a.length>0?" "+a:a);continue}if(f=o(y),!f){a=m+(a.length>0?" "+a:a);continue}w=!1}let u=He(b).join(":"),h=v?u+pe:u,C=h+f;if(s.includes(C))continue;s.push(C);let E=n(f,w);for(let S=0;S<E.length;++S){let B=E[S];s.push(h+B)}a=m+(a.length>0?" "+a:a)}return a};function De(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=ue(t))&&(o&&(o+=" "),o+=r);return o}var ue=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=ue(e[o]))&&(r&&(r+=" "),r+=t);return r};function $e(e,...t){let r,o,n,s=l;function l(p){let m=t.reduce((b,v)=>v(b),e());return r=je(m),o=r.cache.get,n=r.cache.set,s=a,a(p)}function a(p){let m=o(p);if(m)return m;let b=Ve(p,r);return n(p,b),b}return function(){return s(De.apply(null,arguments))}}var c=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},ge=/^\[(?:([a-z-]+):)?(.+)\]$/i,We=/^\d+\/\d+$/,_e=new Set(["px","full","screen"]),Fe=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,qe=/\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$/,Oe=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Ue=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Je=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,R=e=>L(e)||_e.has(e)||We.test(e),z=e=>P(e,"length",rt),L=e=>!!e&&!Number.isNaN(Number(e)),O=e=>P(e,"number",L),G=e=>!!e&&Number.isInteger(Number(e)),Ke=e=>e.endsWith("%")&&L(e.slice(0,-1)),i=e=>ge.test(e),N=e=>Fe.test(e),Qe=new Set(["length","size","percentage"]),Xe=e=>P(e,Qe,me),Ze=e=>P(e,"position",me),Ye=new Set(["image","url"]),et=e=>P(e,Ye,nt),tt=e=>P(e,"",ot),H=()=>!0,P=(e,t,r)=>{let o=ge.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1},rt=e=>qe.test(e)&&!Oe.test(e),me=()=>!1,ot=e=>Ue.test(e),nt=e=>Je.test(e);var st=()=>{let e=c("colors"),t=c("spacing"),r=c("blur"),o=c("brightness"),n=c("borderColor"),s=c("borderRadius"),l=c("borderSpacing"),a=c("borderWidth"),p=c("contrast"),m=c("grayscale"),b=c("hueRotate"),v=c("invert"),y=c("gap"),x=c("gradientColorStops"),w=c("gradientColorStopPositions"),f=c("inset"),u=c("margin"),h=c("opacity"),C=c("padding"),E=c("saturate"),S=c("scale"),B=c("sepia"),Y=c("skew"),ee=c("space"),te=c("translate"),W=()=>["auto","contain","none"],_=()=>["auto","hidden","clip","visible","scroll"],F=()=>["auto",i,t],d=()=>[i,t],re=()=>["",R,z],V=()=>["auto",L,i],oe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],D=()=>["solid","dashed","dotted","double","none"],ne=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],q=()=>["start","end","center","between","around","evenly","stretch"],I=()=>["","0",i],se=()=>["auto","avoid","all","avoid-page","page","left","right","column"],M=()=>[L,i];return{cacheSize:500,separator:":",theme:{colors:[H],spacing:[R,z],blur:["none","",N,i],brightness:M(),borderColor:[e],borderRadius:["none","","full",N,i],borderSpacing:d(),borderWidth:re(),contrast:M(),grayscale:I(),hueRotate:M(),invert:I(),gap:d(),gradientColorStops:[e],gradientColorStopPositions:[Ke,z],inset:F(),margin:F(),opacity:M(),padding:d(),saturate:M(),scale:M(),sepia:I(),skew:M(),space:d(),translate:d()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[N]}],"break-after":[{"break-after":se()}],"break-before":[{"break-before":se()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...oe(),i]}],overflow:[{overflow:_()}],"overflow-x":[{"overflow-x":_()}],"overflow-y":[{"overflow-y":_()}],overscroll:[{overscroll:W()}],"overscroll-x":[{"overscroll-x":W()}],"overscroll-y":[{"overscroll-y":W()}],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",G,i]}],basis:[{basis:F()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",i]}],grow:[{grow:I()}],shrink:[{shrink:I()}],order:[{order:["first","last","none",G,i]}],"grid-cols":[{"grid-cols":[H]}],"col-start-end":[{col:["auto",{span:["full",G,i]},i]}],"col-start":[{"col-start":V()}],"col-end":[{"col-end":V()}],"grid-rows":[{"grid-rows":[H]}],"row-start-end":[{row:["auto",{span:[G,i]},i]}],"row-start":[{"row-start":V()}],"row-end":[{"row-end":V()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",i]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",i]}],gap:[{gap:[y]}],"gap-x":[{"gap-x":[y]}],"gap-y":[{"gap-y":[y]}],"justify-content":[{justify:["normal",...q()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...q(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...q(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[C]}],px:[{px:[C]}],py:[{py:[C]}],ps:[{ps:[C]}],pe:[{pe:[C]}],pt:[{pt:[C]}],pr:[{pr:[C]}],pb:[{pb:[C]}],pl:[{pl:[C]}],m:[{m:[u]}],mx:[{mx:[u]}],my:[{my:[u]}],ms:[{ms:[u]}],me:[{me:[u]}],mt:[{mt:[u]}],mr:[{mr:[u]}],mb:[{mb:[u]}],ml:[{ml:[u]}],"space-x":[{"space-x":[ee]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[ee]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",i,t]}],"min-w":[{"min-w":[i,t,"min","max","fit"]}],"max-w":[{"max-w":[i,t,"none","full","min","max","fit","prose",{screen:[N]},N]}],h:[{h:[i,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,t,"auto","min","max","fit"]}],"font-size":[{text:["base",N,z]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",O]}],"font-family":[{font:[H]}],"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",i]}],"line-clamp":[{"line-clamp":["none",L,O]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",R,i]}],"list-image":[{"list-image":["none",i]}],"list-style-type":[{list:["none","disc","decimal",i]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[h]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[h]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...D(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",R,z]}],"underline-offset":[{"underline-offset":["auto",R,i]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:d()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",i]}],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",i]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[h]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...oe(),Ze]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Xe]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},et]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[w]}],"gradient-via-pos":[{via:[w]}],"gradient-to-pos":[{to:[w]}],"gradient-from":[{from:[x]}],"gradient-via":[{via:[x]}],"gradient-to":[{to:[x]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[h]}],"border-style":[{border:[...D(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[h]}],"divide-style":[{divide:D()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...D()]}],"outline-offset":[{"outline-offset":[R,i]}],"outline-w":[{outline:[R,z]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:re()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[h]}],"ring-offset-w":[{"ring-offset":[R,z]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",N,tt]}],"shadow-color":[{shadow:[H]}],opacity:[{opacity:[h]}],"mix-blend":[{"mix-blend":[...ne(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ne()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[p]}],"drop-shadow":[{"drop-shadow":["","none",N,i]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[b]}],invert:[{invert:[v]}],saturate:[{saturate:[E]}],sepia:[{sepia:[B]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[p]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[b]}],"backdrop-invert":[{"backdrop-invert":[v]}],"backdrop-opacity":[{"backdrop-opacity":[h]}],"backdrop-saturate":[{"backdrop-saturate":[E]}],"backdrop-sepia":[{"backdrop-sepia":[B]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",i]}],duration:[{duration:M()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:M()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[S]}],"scale-x":[{"scale-x":[S]}],"scale-y":[{"scale-y":[S]}],rotate:[{rotate:[G,i]}],"translate-x":[{"translate-x":[te]}],"translate-y":[{"translate-y":[te]}],"skew-x":[{"skew-x":[Y]}],"skew-y":[{"skew-y":[Y]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",i]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",i]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":d()}],"scroll-mx":[{"scroll-mx":d()}],"scroll-my":[{"scroll-my":d()}],"scroll-ms":[{"scroll-ms":d()}],"scroll-me":[{"scroll-me":d()}],"scroll-mt":[{"scroll-mt":d()}],"scroll-mr":[{"scroll-mr":d()}],"scroll-mb":[{"scroll-mb":d()}],"scroll-ml":[{"scroll-ml":d()}],"scroll-p":[{"scroll-p":d()}],"scroll-px":[{"scroll-px":d()}],"scroll-py":[{"scroll-py":d()}],"scroll-ps":[{"scroll-ps":d()}],"scroll-pe":[{"scroll-pe":d()}],"scroll-pt":[{"scroll-pt":d()}],"scroll-pr":[{"scroll-pr":d()}],"scroll-pb":[{"scroll-pb":d()}],"scroll-pl":[{"scroll-pl":d()}],"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",i]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[R,z,O]}],stroke:[{stroke:[e,"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 be=$e(st);function k(...e){return be((0,fe.clsx)(e))}var T=require("react/jsx-runtime"),K=A.forwardRef(({className:e,...t},r)=>(0,T.jsx)("div",{ref:r,className:k("rounded-xl border bg-card text-card-foreground shadow",e),...t}));K.displayName="Card";var at=A.forwardRef(({className:e,...t},r)=>(0,T.jsx)("div",{ref:r,className:k("flex flex-col space-y-1.5 p-6",e),...t}));at.displayName="CardHeader";var it=A.forwardRef(({className:e,...t},r)=>(0,T.jsx)("div",{ref:r,className:k("font-semibold leading-none tracking-tight",e),...t}));it.displayName="CardTitle";var lt=A.forwardRef(({className:e,...t},r)=>(0,T.jsx)("div",{ref:r,className:k("text-sm text-muted-foreground",e),...t}));lt.displayName="CardDescription";var Q=A.forwardRef(({className:e,...t},r)=>(0,T.jsx)("div",{ref:r,className:k("p-6 pt-0",e),...t}));Q.displayName="CardContent";var ct=A.forwardRef(({className:e,...t},r)=>(0,T.jsx)("div",{ref:r,className:k("flex items-center p-6 pt-0",e),...t}));ct.displayName="CardFooter";var he=require("class-variance-authority");var dt=(0,he.cva)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function ye({className:e,variant:t,...r}){return(0,T.jsx)("div",{className:k(dt({variant:t}),e),...r})}var X=require("lucide-react");function ve(e){let t=e.replace("#",""),r=parseInt(t.substring(0,2),16),o=parseInt(t.substring(2,4),16),n=parseInt(t.substring(4,6),16);return(r*299+o*587+n*114)/1e3<128}function Z({customerName:e="Acme Corporation",logoUrl:t,industry:r,projectDescription:o="Revolutionizing widget production with cloud technology",color:n="#3B82F6",quote:s,metrics:l=[],children:a=null}){var y;let m=((y=[{label:"Technology",value:"technology"},{label:"Finance",value:"finance"},{label:"Healthcare",value:"healthcare"},{label:"Retail",value:"retail"}].find(x=>x.value===r))==null?void 0:y.label)||void 0,b=ve(n)?"text-white":"text-gray-900",v=ve(n)?"white":n;return(0,T.jsx)(K,{className:"w-full max-w-4xl mx-auto overflow-hidden shadow-lg",children:(0,T.jsxs)(Q,{className:"p-0",children:[(0,T.jsxs)("div",{className:`flex items-center ${b}`,style:{background:`linear-gradient(to right, ${n}, ${n}80)`,padding:"1.5rem"},children:[(0,T.jsxs)("div",{className:"flex-grow pr-4",children:[(0,T.jsx)("h2",{className:"text-2xl font-bold mb-2",children:e}),m&&(0,T.jsx)(ye,{variant:"secondary",className:"text-sm font-medium",children:m}),(0,T.jsx)("p",{className:"mt-4 text-lg",children:o})]}),t&&(0,T.jsx)("div",{className:"flex items-center justify-center bg-white rounded-lg",style:{padding:"1rem",height:"100px"},children:(0,T.jsx)(we.default,{src:t,alt:`${e} logo`,width:120,height:60,className:"object-contain h-full"})})]}),(0,T.jsxs)("div",{className:"p-6",children:[s&&(0,T.jsxs)("blockquote",{className:"border-l-4 pl-4 py-2 mb-6 italic",style:{borderColor:n,color:n},children:[(0,T.jsx)(X.Quote,{className:"inline-block mr-2",size:24,style:{color:n}}),s,(0,T.jsx)(X.Quote,{className:"inline-block ml-2",size:24,style:{color:n}})]}),(0,T.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4 mt-6",children:l.map((x,w)=>(0,T.jsxs)("div",{className:"text-center",children:[(0,T.jsx)("div",{className:"text-3xl font-bold",style:{color:n},children:x.value}),(0,T.jsx)("div",{className:"text-sm text-gray-600",children:x.label})]},w))})]}),(0,T.jsx)("div",{className:"p-6",children:a})]})})}var pt={title:"Reusable Blocks/CaseStudy",component:Z,tags:["autodocs"]},ut={args:{customerName:"Acme Corporation",logoUrl:"/acme-logo.png",industry:"technology",projectDescription:"Revolutionizing widget production with cloud technology",color:"#3B82F6",quote:"This project has transformed our business operations.",metrics:[{label:"Increased Efficiency",value:"50%"},{label:"Cost Savings",value:"$1M"}]}},gt={args:{customerName:"Beta Industries",logoUrl:"cortex-reply.png",industry:"manufacturing",projectDescription:"Implementing AI-driven automation in production lines",color:"#10B981",quote:"AI has significantly improved our production quality.",metrics:[{label:"Production Increase",value:"30%"},{label:"Error Reduction",value:"20%"}],children:(0,T.jsxs)("div",{children:[(0,T.jsx)("h3",{children:"Additional Information"}),(0,T.jsx)("p",{children:"This section can include more detailed information about the case study."})]})}},mt={args:{customerName:"Gamma Enterprises",projectDescription:"Enhancing cybersecurity measures across the organization",color:"#EF4444"}};0&&(module.exports={DefaultCaseStudy,MinimalCaseStudy,WithChildren});
|