cortex-react-components 1.56.0 → 1.56.1
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-KIICLHKI.mjs → chunk-23BDC5JG.mjs} +1 -1
- package/dist/{chunk-KB6PO4K4.mjs → chunk-2IKC7MAP.mjs} +1 -1
- package/dist/{chunk-S3GITHJW.mjs → chunk-3KF3RVWX.mjs} +1 -1
- package/dist/{chunk-Z7P4QOKT.mjs → chunk-4TCLIMFP.mjs} +1 -1
- package/dist/{chunk-UUQ4YJSJ.mjs → chunk-4WZTO2ZR.mjs} +1 -1
- package/dist/{chunk-IS27WYEV.mjs → chunk-55QIP3TP.mjs} +1 -1
- package/dist/{chunk-KQJLOUAU.mjs → chunk-5MZPZWUU.mjs} +1 -1
- package/dist/{chunk-3GYJDXNA.mjs → chunk-6YWAX7NS.mjs} +1 -1
- package/dist/{chunk-GHWZZAOE.mjs → chunk-7F7S63JI.mjs} +1 -1
- package/dist/{chunk-MIWMERSR.mjs → chunk-AVJT4UGJ.mjs} +1 -1
- package/dist/{chunk-OXFWH45D.mjs → chunk-BZL64Q7H.mjs} +1 -1
- package/dist/{chunk-KIAZOHM4.mjs → chunk-CXQRNOSF.mjs} +1 -1
- package/dist/{chunk-T4I5D4XZ.mjs → chunk-D44ZXHH4.mjs} +1 -1
- package/dist/{chunk-JXPOV3A4.mjs → chunk-E5KP7CNY.mjs} +1 -1
- package/dist/{chunk-C2WXWFU6.mjs → chunk-F3T5Y252.mjs} +1 -1
- package/dist/{chunk-RQ23CZK5.mjs → chunk-F55C2C5H.mjs} +1 -1
- package/dist/{chunk-EEKDSPJW.mjs → chunk-GEIWTB5J.mjs} +1 -1
- package/dist/{chunk-TT3GBHBO.mjs → chunk-GEUGC2OO.mjs} +1 -1
- package/dist/{chunk-TV6WUXSN.mjs → chunk-GZN4EKV3.mjs} +1 -1
- package/dist/{chunk-HQOFQGRQ.mjs → chunk-HFSODCS3.mjs} +1 -1
- package/dist/{chunk-OUF4RW7E.mjs → chunk-I6LTSJ42.mjs} +1 -1
- package/dist/{chunk-SBAFXZVU.mjs → chunk-IO222G5L.mjs} +1 -1
- package/dist/{chunk-EML6AVUM.mjs → chunk-JFSDQVSM.mjs} +1 -1
- package/dist/{chunk-LLJZRF3C.mjs → chunk-KLCZHZKQ.mjs} +1 -1
- package/dist/{chunk-W5IV2HHX.mjs → chunk-LXNMVBBN.mjs} +1 -1
- package/dist/{chunk-KVA4UPK2.mjs → chunk-OIOU57SA.mjs} +1 -1
- package/dist/{chunk-GYUMEOL2.mjs → chunk-OJPHYSRN.mjs} +1 -1
- package/dist/{chunk-BWRPSU6I.mjs → chunk-PAD57NB3.mjs} +1 -1
- package/dist/{chunk-OUKKI47A.mjs → chunk-PIM2JQYT.mjs} +1 -1
- package/dist/chunk-PKS4USIV.mjs +1 -0
- package/dist/{chunk-PY53YVFX.mjs → chunk-QMFZRG7O.mjs} +1 -1
- package/dist/{chunk-BXIDYE67.mjs → chunk-R5RMSELA.mjs} +1 -1
- package/dist/{chunk-26K34DNO.mjs → chunk-SVJCBR6O.mjs} +1 -1
- package/dist/{chunk-EOVMD5QE.mjs → chunk-UFBMHFLY.mjs} +1 -1
- package/dist/{chunk-GGDYYSFG.mjs → chunk-UITUJ54J.mjs} +1 -1
- package/dist/{chunk-WMVRW4SF.mjs → chunk-VDDV2Y4U.mjs} +1 -1
- package/dist/{chunk-FYVORNBL.mjs → chunk-VIUIIZ3L.mjs} +1 -1
- package/dist/{chunk-IJT4XHN7.mjs → chunk-WO2JJOVE.mjs} +1 -1
- package/dist/chunk-XJF3K46N.mjs +1 -0
- package/dist/{chunk-7IZ2X75V.mjs → chunk-XWYK6BVD.mjs} +1 -1
- package/dist/components/Blocks/Banner.js +1 -1
- package/dist/components/Blocks/Banner.mjs +1 -1
- package/dist/components/Blocks/CallToAction.js +1 -1
- package/dist/components/Blocks/CallToAction.mjs +1 -1
- package/dist/components/Blocks/CallToAction.stories.js +1 -1
- package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
- package/dist/components/Blocks/CollapsibleArea.js +1 -1
- package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
- package/dist/components/Blocks/CollapsibleArea.stories.js +1 -1
- package/dist/components/Blocks/CollapsibleArea.stories.mjs +1 -1
- package/dist/components/Blocks/Content.js +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/Content.stories.js +1 -1
- package/dist/components/Blocks/Content.stories.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.js +1 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.js +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
- package/dist/components/Blocks/RelatedPosts.js +1 -1
- package/dist/components/Blocks/RelatedPosts.mjs +1 -1
- package/dist/components/Blocks/RenderBlocks.js +1 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/ReusableContentBlock.js +1 -1
- package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
- package/dist/components/Blocks/index.js +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/CRM/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/NewDealForm.mjs +1 -1
- package/dist/components/CRM/NewDealForm.stories.mjs +1 -1
- package/dist/components/CRM/index.mjs +1 -1
- package/dist/components/Cards/ContentCard.js +1 -1
- package/dist/components/Cards/ContentCard.mjs +1 -1
- package/dist/components/Cards/ContentCard.stories.js +1 -1
- package/dist/components/Cards/ContentCard.stories.mjs +1 -1
- package/dist/components/Cards/FeatureCard.js +1 -1
- package/dist/components/Cards/FeatureCard.mjs +1 -1
- package/dist/components/Cards/FeatureCard.stories.js +1 -1
- package/dist/components/Cards/FeatureCard.stories.mjs +1 -1
- package/dist/components/Cards/index.js +4 -4
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +1 -1
- package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
- package/dist/components/DigitalColleagues/MainPage.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.stories.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderMobile.stories.mjs +1 -1
- package/dist/components/HeaderFooter/SectionHeading.js +1 -1
- package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Heros/HighImpact/index.js +1 -1
- package/dist/components/Heros/HighImpact/index.mjs +1 -1
- package/dist/components/Heros/LowImpact/index.js +1 -1
- package/dist/components/Heros/LowImpact/index.mjs +1 -1
- package/dist/components/Heros/MediumImpact/index.js +1 -1
- package/dist/components/Heros/MediumImpact/index.mjs +1 -1
- package/dist/components/Heros/PostHero/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.js +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/index.js +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Layouts/FeatureGrid.stories.js +1 -1
- package/dist/components/Layouts/FeatureGrid.stories.mjs +1 -1
- package/dist/components/Layouts/OutputHeaderFooter.js +2 -2
- package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
- package/dist/components/Layouts/Print.js +2 -2
- package/dist/components/Layouts/Print.mjs +1 -1
- package/dist/components/Layouts/Print.stories.js +1 -1
- package/dist/components/Layouts/Print.stories.mjs +1 -1
- package/dist/components/Layouts/SlideShow.js +3 -3
- package/dist/components/Layouts/SlideShow.mjs +1 -1
- package/dist/components/Layouts/SlideShow.stories.js +3 -3
- package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
- package/dist/components/Layouts/index.js +5 -5
- package/dist/components/Layouts/index.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/Payload/RichText/index.js +1 -1
- package/dist/components/Payload/RichText/index.mjs +1 -1
- package/dist/components/Payload/RichText/serialize.js +1 -1
- package/dist/components/Payload/RichText/serialize.mjs +1 -1
- package/dist/components/Payload/RichText.stories.js +1 -1
- package/dist/components/Payload/RichText.stories.mjs +1 -1
- package/dist/components/Payload/index.js +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/index.js +7 -7
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/components/ui/sidebar.mjs +1 -1
- package/dist/hooks/index.mjs +1 -1
- package/dist/index.js +11 -11
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/pages/Blog.js +1 -1
- package/dist/pages/Blog.mjs +1 -1
- package/dist/pages/Blog.stories.js +1 -1
- package/dist/pages/Blog.stories.mjs +1 -1
- package/dist/pages/Documentation.mjs +1 -1
- package/dist/pages/Documentation.stories.mjs +1 -1
- package/dist/pages/IndexPage.mjs +1 -1
- package/dist/pages/IndexPage.stories.mjs +1 -1
- package/dist/pages/Intranet.mjs +1 -1
- package/dist/pages/Intranet.stories.mjs +1 -1
- package/dist/pages/LandingPage.js +3 -3
- package/dist/pages/LandingPage.mjs +1 -1
- package/dist/pages/LandingPage.stories.js +3 -3
- package/dist/pages/LandingPage.stories.mjs +1 -1
- package/dist/pages/Page.js +1 -1
- package/dist/pages/Page.mjs +1 -1
- package/dist/pages/Page.stories.js +189 -189
- package/dist/pages/Page.stories.mjs +1 -1
- package/dist/pages/Printable.stories.js +4 -4
- package/dist/pages/Printable.stories.mjs +1 -1
- package/dist/pages/Publish.js +5 -5
- package/dist/pages/Publish.mjs +1 -1
- package/dist/pages/Publish.stories.js +4 -4
- package/dist/pages/Publish.stories.mjs +1 -1
- package/dist/pages/Website.js +1 -1
- package/dist/pages/Website.mjs +1 -1
- package/dist/pages/Website.stories.js +1 -1
- package/dist/pages/Website.stories.mjs +1 -1
- package/dist/sections/AboutSection.js +1 -1
- package/dist/sections/AboutSection.mjs +1 -1
- package/dist/sections/AboutSection.stories.js +1 -1
- package/dist/sections/AboutSection.stories.mjs +1 -1
- package/dist/sections/BlogDetail.js +1 -1
- package/dist/sections/BlogDetail.mjs +1 -1
- package/dist/sections/BlogDetail.stories.js +1 -1
- package/dist/sections/BlogDetail.stories.mjs +1 -1
- package/dist/sections/BlogList.js +3 -3
- package/dist/sections/BlogList.mjs +1 -1
- package/dist/sections/BlogList.stories.js +3 -3
- package/dist/sections/BlogList.stories.mjs +1 -1
- package/dist/sections/BlogListSection.mjs +1 -1
- package/dist/sections/BlogListSection.stories.mjs +1 -1
- package/dist/sections/ContactSection.js +1 -1
- package/dist/sections/ContactSection.mjs +1 -1
- package/dist/sections/ContactSection.stories.js +1 -1
- package/dist/sections/ContactSection.stories.mjs +1 -1
- package/dist/sections/ImageSection.stories.js +1 -1
- package/dist/sections/ImageSection.stories.mjs +1 -1
- package/dist/sections/PageSections.js +3 -3
- package/dist/sections/PageSections.mjs +1 -1
- package/dist/sections/PageSections.stories.js +3 -3
- package/dist/sections/PageSections.stories.mjs +1 -1
- package/dist/sections/PricingSection.js +1 -1
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/PricingSection.stories.js +1 -1
- package/dist/sections/PricingSection.stories.mjs +1 -1
- package/dist/sections/ServiceDetailList.js +1 -1
- package/dist/sections/ServiceDetailList.mjs +1 -1
- package/dist/sections/ServiceDetailSection.js +1 -1
- package/dist/sections/ServiceDetailSection.mjs +1 -1
- package/dist/sections/ServiceDetailSection.stories.js +1 -1
- package/dist/sections/ServiceDetailSection.stories.mjs +1 -1
- package/dist/sections/ServiceSection.js +1 -1
- package/dist/sections/ServiceSection.mjs +1 -1
- package/dist/sections/ServiceSection.stories.js +1 -1
- package/dist/sections/ServiceSection.stories.mjs +1 -1
- package/dist/sections/form/index.mjs +1 -1
- package/dist/sections/index.js +3 -3
- package/dist/sections/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-OIIEDD56.mjs +0 -1
- package/dist/chunk-S66RCEAN.mjs +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as C}from"./chunk-
|
|
4
|
+
import{a as C}from"./chunk-6YWAX7NS.mjs";import{a as D}from"./chunk-4TCLIMFP.mjs";import{useState as x,useCallback as w}from"react";import{DragDropContext as W}from"@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration";import{jsx as l,jsxs as h}from"react/jsx-runtime";var y=["Cold","Qualified","Proposal Made","SoW Submitted","Won","Lost"];function V({initialData:s,addNewDeal:g,updateDeal:n,addComment:b,addNewCustomer:f}){var i;let[r,c]=x(null),S=e=>{var o;return((o=s.deals)!=null?o:[]).filter(t=>t.status===e)},R=e=>e.reduce((o,t)=>o+(t.value||0),0),P=(e,o)=>{let t={Cold:.2,Qualified:.4,"Proposal Made":.6,"SoW Submitted":.7,Won:1,Lost:0};return e.reduce((a,d)=>a+(d.value||0)*t[o],0)},M=w(e=>{var m,p;let{source:o,destination:t}=e;if(!t||o.droppableId===t.droppableId&&o.index===t.index)return;let a=o.droppableId,d=t.droppableId,u=(m=s.deals)==null?void 0:m.filter(v=>v.id===o.index)[0],B=[...(p=s.deals)!=null?p:[]];u&&(u.status=d,n(u))},[n]);return l(W,{onDragEnd:M,children:h("div",{className:"p-4 max-h-[90vh] overflow-auto",children:[l("div",{className:"flex space-x-4 pb-4",children:y.filter(e=>e!=="Won"&&e!=="Lost").map(e=>{var t,a;let o=S(e);return l(D,{status:e,deals:o,customers:(t=s.customers)!=null?t:[],users:s.users,categories:(a=s.categories)!=null?a:[],onDealClick:c,calculateColumnValue:R,calculateWeightedValue:P,addNewDeal:e==="Cold"?g:void 0,onAddCustomer:f},e)})}),r&&l(C,{deal:r,users:s.users,customer:r.customer,categories:(i=s.categories)!=null?i:[],onClose:()=>c(null),onSave:n,onAddComment:e=>b(r.id.toString(),e)})]})})}export{V as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-L4FTRAKV.mjs";import{a as
|
|
1
|
+
import{a}from"./chunk-L4FTRAKV.mjs";import{a as s}from"./chunk-BZAYEKYC.mjs";import{a as f}from"./chunk-WU3JMLSC.mjs";import{a as n}from"./chunk-UFBMHFLY.mjs";import{b as r}from"./chunk-SVJCBR6O.mjs";import{a as i}from"./chunk-F55C2C5H.mjs";import{a as o}from"./chunk-C5XNOZXC.mjs";import{Observer as c}from"tailwindcss-intersect";import{useEffect as g}from"react";import{jsx as t,jsxs as b}from"react/jsx-runtime";function d({...e}){let m=e.page,{contentWithIds:l,tableOfContents:p}=o(m);return g(()=>{c.start()},[]),b("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:[t(i,{isMenuOpen:!0,logoLight:s,logoDark:f}),t(n,{...e.hero}),t(a,{edit:e.edit,pageId:e.page.id,tableOfContents:p,relatedContent:e.relatedContent,children:t(r,{blocks:l})})]})}export{d as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as U}from"./chunk-OWBJTXZL.mjs";import{a as C,c as h,d as D,g as b,i as N}from"./chunk-4JC2TJML.mjs";import{a as
|
|
1
|
+
import{a as U}from"./chunk-OWBJTXZL.mjs";import{a as k}from"./chunk-4NKKWJ2X.mjs";import{a as C,c as h,d as D,g as b,i as N}from"./chunk-4JC2TJML.mjs";import{a as T}from"./chunk-A5EYIB3V.mjs";import{a as l}from"./chunk-DWRQHV42.mjs";import{a as L}from"./chunk-Y5ZFXDW5.mjs";import{a as A,f as I,g as E,i as P}from"./chunk-JWDVKGZL.mjs";import{a as v}from"./chunk-QOIH63J3.mjs";import{b as f}from"./chunk-BDX257W2.mjs";import{useState as S,useEffect as J}from"react";import{PlusIcon as K}from"lucide-react";import{Fragment as Q,jsx as t,jsxs as r}from"react/jsx-runtime";function oe({customers:m,users:n,categories:B,onSubmit:O,initialDeal:d,onAddCustomer:V,onClose:p}){var y,x,w,F;let[s,i]=S(d||{customer:void 0,value:0,assignee:void 0,status:"Cold",categories:[],dateLogged:new Date().toISOString().split("T")[0],closureDate:"",comments:[],description:""}),[q,g]=S(!1),[o,c]=S({});J(()=>{d&&i(d)},[d]);let R=()=>{let e={};return s.customer||(e.customer="Customer is required"),s.value||(e.value="Value is required"),s.assignee||(e.assignee="Assignee is required"),s.closureDate||(e.closureDate="Closure Date is required"),c(e),Object.keys(e).length===0},H=async e=>{e.preventDefault(),c({});try{if(R()){let a=await O({...s});a.success?(i({customer:void 0,value:0,assignee:void 0,description:"",status:"Cold",closureDate:""}),p==null||p()):c(a.errors||{})}}catch{c({submit:"An error occurred while submitting the form."})}},M=e=>{i(a=>({...a,categories:(a.categories||[]).includes(e.id)?(a.categories||[]).filter(u=>u!==e.id):[...a.categories||[],e.id]}))},z=async e=>{i({...s,customer:e});try{let a=await V(e);a.success?g(!1):c(a.errors||{})}catch{c({submit:"An error occurred while submitting the form."})}},j=e=>n==null?void 0:n.find(a=>a.id===Number(e)),G=e=>m==null?void 0:m.find(a=>a.id===Number(e));return r(Q,{children:[r("form",{onSubmit:H,className:"space-y-6",children:[t(k,{className:"h-[60vh] pr-4",children:r("div",{className:"space-y-6 px-4",children:[r("div",{className:"space-y-2 space-x-2",children:[t(l,{htmlFor:"customer",children:"Customer"}),r("div",{className:"flex items-center space-x-2",children:[r(C,{value:(x=(y=s.customer)==null?void 0:y.id)==null?void 0:x.toString(),onValueChange:e=>i({...s,customer:G(e)}),children:[t(D,{children:t(h,{placeholder:"Select customer"})}),t(b,{children:m.map(e=>{var a;return t(N,{value:((a=e.id)==null?void 0:a.toString())||"",children:e.name},e.id)})})]}),t(f,{variant:"outline",size:"icon",onClick:()=>g(!0),children:t(K,{className:"w-5 h-5"})})]}),o.customerId&&t("p",{className:"text-red-500 text-sm",children:o.customerId})]}),r("div",{className:"space-y-2 space-x-2",children:[t(l,{htmlFor:"value",children:"Value"}),t(v,{id:"value",type:"number",value:s.value||"",onChange:e=>i({...s,value:Number.parseFloat(e.target.value)}),placeholder:"Enter deal value"}),o.value&&t("p",{className:"text-red-500 text-sm",children:o.value})]}),r("div",{className:"space-y-2 space-x-2",children:[t(l,{htmlFor:"assignee",children:"Assignee"}),r(C,{value:(F=(w=s.assignee)==null?void 0:w.id)==null?void 0:F.toString(),onValueChange:e=>i({...s,assignee:j(e)}),children:[t(D,{children:t(h,{placeholder:"Select assignee"})}),t(b,{children:n&&n.map(e=>{var a;return t(N,{value:((a=e.id)==null?void 0:a.toString())||"",children:e.name},e.id)})})]}),o.assignee&&t("p",{className:"text-red-500 text-sm",children:o.assignee})]}),r("div",{className:"space-y-2 space-x-2",children:[t(l,{htmlFor:"description",children:"Description"}),t(T,{id:"description",value:s.description||"",onChange:e=>i({...s,description:e.target.value}),placeholder:"Enter deal description"})]}),r("div",{className:"space-y-2 space-x-2",children:[t(l,{children:"Categories"}),t("div",{className:"space-y-4",children:["proposition","source","sector"].map(e=>r("div",{className:"space-y-2",children:[t("h4",{className:"text-sm font-medium",children:e.charAt(0).toUpperCase()+e.slice(1)}),t("div",{className:"grid grid-cols-2 gap-2",children:B.filter(a=>a.type===e).map(a=>{var u;return r("div",{className:"flex items-center space-x-2",children:[t(L,{id:a.id.toString(),checked:(u=s.categories)==null?void 0:u.includes(a.id),onCheckedChange:()=>M(a)}),t("label",{htmlFor:a.id.toString(),className:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",children:a.name})]},a.id)})})]},e))})]}),r("div",{className:"space-y-2 space-x-2",children:[t(l,{htmlFor:"closureDate",children:"Closure Date"}),t(v,{id:"closureDate",type:"date",value:s.closureDate||"",onChange:e=>i({...s,closureDate:e.target.value})}),o.closureDate&&t("p",{className:"text-red-500 text-sm",children:o.closureDate})]})]})}),t(f,{type:"submit",className:"w-full",children:d?"Update Deal":"Add Deal"})]}),t(A,{open:q,onOpenChange:g,children:r(I,{children:[t(E,{children:t(P,{children:"Add New Customer"})}),t(U,{onSubmit:z})]})})]})}export{oe as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as i}from"./chunk-GEIWTB5J.mjs";import{a}from"./chunk-BZAYEKYC.mjs";import{a as m}from"./chunk-WU3JMLSC.mjs";import{a as o}from"./chunk-5G43IH3C.mjs";import{a as t}from"./chunk-F55C2C5H.mjs";import{jsx as r,jsxs as n}from"react/jsx-runtime";function d({...e}){return n("div",{children:[r(t,{isMenuOpen:!0,logoLight:a,logoDark:m}),r(o,{...e.hero}),r(i,{className:"!pb-0",...e.blog})]})}export{d as a};
|
|
@@ -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-2IKC7MAP.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 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-MGS3DQ22.mjs";import{e as r}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-MGS3DQ22.mjs";import{e as r}from"./chunk-XJF3K46N.mjs";import m from"clsx";import{jsx as o,jsxs as l}from"react/jsx-runtime";var g=i=>{let{className:n,docs:t,introContent:e}=i;return l("div",{className:m("container",n),children:[e&&o(r,{content:e,enableGutter:!1}),o("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 md:gap-8 items-stretch",children:t==null?void 0:t.map((s,p)=>typeof s=="string"?null:o(a,{doc:s,relationTo:"posts",showCategories:!0},p))})]})};export{g as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as k}from"./chunk-
|
|
1
|
+
import{a as k}from"./chunk-VIUIIZ3L.mjs";import{a as b}from"./chunk-BZL64Q7H.mjs";import{b as f,c as d}from"./chunk-XJF3K46N.mjs";import{a as m}from"./chunk-2A6JF3LE.mjs";import{a as l}from"./chunk-NIQ4466A.mjs";import{Fragment as F}from"react";import N from"next/image";import{jsx as s,jsxs as v}from"react/jsx-runtime";var C={content:k,cta:f,mediaBlock:m,collapsibleArea:b,imageBlock:m,features:d,reusableContentBlock:B},P=a=>{let{blocks:e}=a;return e&&Array.isArray(e)&&e.length>0?s("section",{id:"render-blocks",className:l(a.fill?"h-full w-full":""),children:e.map((t,r)=>{var c;console.log("block",t);let{blockType:n}=t,o=t==null?void 0:t.theme;if(n&&n in C){let g=C[n];if(n==="reusableContentBlock")return s(F,{children:s(P,{blocks:t.reusableContent.layout})},r);if(g)return v("div",{className:l("py-6 relative",a.fill&&"flex h-full items-center justify-center"),children:[s(p,{block:t,index:r}),s("div",{className:l("container h-full relative",((c=o==null?void 0:o.settings)==null?void 0:c.theme)||"dark"),children:s(g,{...t})})]},r)}return null})}):null},p=a=>{var i,t,r,n,o;if(!("theme"in a.block))return s("div",{className:l("absolute inset-0 w-screen h-full dark bg-background")});let e=(i=a.block)==null?void 0:i.theme;if(e.settings.background==="image"){let c={imagePosition:e.settings.imagePosition||"left",overlay:e.settings.overlay!==void 0?e.settings.overlay:!0};return v("div",{className:l("absolute inset-0 w-full h-full bg-background",e.settings.theme||"dark"),children:[s(N,{src:((r=(t=e.settings)==null?void 0:t.image)==null?void 0:r.url)||"/placeholder.svg",alt:((o=(n=e.settings)==null?void 0:n.image)==null?void 0:o.alt)||"",fill:!0,className:"object-cover",priority:!0}),e.settings.overlay&&s("div",{className:"absolute inset-0",style:{background:c.imagePosition==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]})}return s("div",{className:l("absolute inset-0 w-screen h-full bg-background",e.settings.theme||"dark")})};import{Fragment as R,jsx as u,jsxs as A}from"react/jsx-runtime";var B=a=>{let{customId:e,reusableContent:i}=a;return typeof i=="object"&&i!==null?u(T,{blocks:i.layout}):u(R,{})},h={content:k,cta:f,mediaBlock:m,imageBlock:m,features:d},T=a=>{let{blocks:e}=a;return e&&Array.isArray(e)&&e.length>0?u(R,{children:e.map((t,r)=>{var c,g;let{blockType:n}=t,o=t==null?void 0:t.theme;if(n&&n in h){let y=h[n];if(y)return A("div",{className:"py-6 relative",children:[u(p,{block:t,index:r}),u("div",{className:l(((c=o==null?void 0:o.settings)==null?void 0:c.theme)==="dark"?"dark":((g=o==null?void 0:o.settings)==null?void 0:g.theme)==="green"?"green":""),children:u(y,{...t})})]},r)}return null})}):null};export{B as a,P as b,p as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as n}from"./chunk-S5VKLW23.mjs";import{a as l}from"./chunk-
|
|
1
|
+
import{a as n}from"./chunk-S5VKLW23.mjs";import{a as l}from"./chunk-4WZTO2ZR.mjs";import{a as m}from"./chunk-I6LTSJ42.mjs";import{a as i}from"./chunk-F3T5Y252.mjs";import{ChevronRightIcon as c,HomeIcon as f}from"@heroicons/react/20/solid";import{Fragment as h,jsx as e,jsxs as a}from"react/jsx-runtime";var d={highImpact:i,lowImpact:l,mediumImpact:m,sectionHero:n},H=t=>{let{type:o}=t||{};if(!o||o==="none")return null;let r=d[o];return r?e(r,{...t}):null};function N({breadcrumbItems:t}){if(t&&t.length>0){let o=t.filter(r=>r.label.toLowerCase()!=="home");return e("nav",{"aria-label":"Breadcrumb",className:"flex",children:a("ol",{role:"list",className:"flex items-center space-x-4",children:[e("li",{children:e("div",{children:a("a",{href:"/",className:"text-foreground hover:text-accent",children:[e(f,{"aria-hidden":"true",className:"size-5 shrink-0"}),e("span",{className:"sr-only",children:"Home"})]})})}),o.map((r,s)=>e("li",{children:a("div",{className:"flex items-center",children:[e(c,{"aria-hidden":"true",className:"size-5 shrink-0 text-gray-400"}),r.href?e("a",{href:r.href,className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:r.label}):e("div",{className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:r.label})]})},s))]})})}return e(h,{})}export{H as a,N as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as n}from"./chunk-SV7NMNDI.mjs";import{a as r}from"./chunk-
|
|
1
|
+
import{a as n}from"./chunk-SV7NMNDI.mjs";import{a as r}from"./chunk-55QIP3TP.mjs";import{a as o}from"./chunk-M6M43TLT.mjs";import{a as e}from"./chunk-UESKYRNK.mjs";import{jsx as i,jsxs as c}from"react/jsx-runtime";function S({sectionHeading:p,cards:a}){return i("section",{className:"section-padding-primary !pt-0",children:c(e,{children:[i("div",{className:"mx-auto max-w-[630px]","data-aos":"fade-up","data-aos-delay":"100",children:i(r,{...p,alignment:"center",hasBottomSpacing:!0})}),a&&a.length>0&&i("div",{className:"grid gap-30px",children:a.map((d,t)=>i("div",{"data-aos":"fade-up","data-aos-delay":n([200,400,600],t),className:"py-2",children:i(o,{...d})},t))})]})})}export{S as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as c}from"./chunk-
|
|
1
|
+
import{e as c}from"./chunk-XJF3K46N.mjs";import{a}from"./chunk-NIQ4466A.mjs";import n from"next/image";import{jsx as e,jsxs as o}from"react/jsx-runtime";function x({image:t,title:l,content:i,link:s,theme:r}){return console.log("ServiceDetailSectionProps",t,l,i,s,r),o("section",{className:"container relative",children:[e("div",{className:a("absolute mt-[50%] w-full h-full",r==="dark"?"bg-white":"bg-black")}),e("div",{className:a("flex flex-col md:flex-row items-center justify-between gap-12 px-6 md:px-16 py-16 bg-background",r,r==="dark"&&"bg-black clip-custom-top-r"),children:o("div",{className:"w-full flex flex-row items-center justify-center",children:[o("div",{className:a("w-full md:w-1/2 max-w-lg text-left",r==="dark"&&"mt-48"),children:[e("h2",{className:"text-3xl md:text-5xl text-primary",children:l}),e("p",{className:"mt-4 text-gray-700 text-lg",children:i&&e(c,{enableGutter:!1,content:i,enableProse:!1,className:a("prose prose-headings:text-gray-700 prose-p:text-gray-700")})}),e("button",{className:"mt-6 px-6 py-3 border border-1 border-accent text-foreground rounded-full text-base hover:bg-accent hover:text-white transition",children:e("a",{href:s.url||"#",children:s.label||"Learn more"})})]}),e("div",{className:"w-full md:w-1/2 flex justify-center",children:t&&t.url&&e(n,{src:t.url,alt:t.alt||`Image of ${l}`,width:400,height:400,className:"max-w-full"})})]})})]})}export{x as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as b}from"./chunk-
|
|
1
|
+
import{e as b}from"./chunk-XJF3K46N.mjs";import{a as y}from"./chunk-44VMK4FL.mjs";import{a as d}from"./chunk-NIQ4466A.mjs";import{jsx as s,jsxs as h}from"react/jsx-runtime";var H=k=>{var p;let{columns:i,theme:n}=k,T={full:"12",half:"6",oneThird:"4",twoThirds:"8"},R={none:"",line:"border border-primary p-4 rounded-lg"},c=o=>{if(o.type&&o.type==="block"&&o.fields&&(o.fields.blockType==="imageBlock"||o.fields.blockType==="mediaBlock"))return!0;if(o.root&&o.root.children){for(let e of o.root.children)if(c(e))return!0}if(o.children){for(let e of o.children)if(c(e))return!0}return!1},v=(o,e,r)=>{if(e==="none"||r==="full")return{processedRichText:o,heading:null};let t=o,l=null;return o&&o.root&&o.root.children&&o.root.children[0].tag==="h2"&&(t={...o,root:{...o.root,children:o.root.children.slice(1)}},l=o.root.children[0]),{processedRichText:t,heading:l}};return s("div",{className:"container my-6",children:s("div",{className:d("grid grid-cols-4 lg:grid-cols-12 gap-y-8",(p=n==null?void 0:n.settings)!=null&&p.box?"gap-x-8":"gap-x-16"),children:i&&i.length>0&&i.map((o,e)=>{var m,g;let{enableLink:r,link:t,richText:l,size:a}=o,{processedRichText:f,heading:u}=v(l,((m=n==null?void 0:n.settings)==null?void 0:m.box)||"none",a||"full");return h("div",{className:d(`col-span-4 lg:col-span-${T[a]}`,{"md:col-span-2":a!=="full"},R[a!=="full"&&!c(l)&&((g=n==null?void 0:n.settings)==null?void 0:g.box)||"none"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${e+1}00`),children:[u&&s("div",{className:"bg-primary text-primary-foreground mb-4 -mt-4 -mx-4 px-4 py-2 text-xl",children:u.children[0].text}),f&&s(b,{content:f,enableGutter:!1,className:"rich-text"}),r&&s(y,{...t})]},e)})})})};export{H as a};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as g,b as h,c as b}from"./chunk-
|
|
4
|
+
import{a as g,b as h,c as b}from"./chunk-JFSDQVSM.mjs";import{b as y}from"./chunk-SVJCBR6O.mjs";import{a as l}from"./chunk-NIQ4466A.mjs";import{useState as C,useEffect as D,useCallback as A}from"react";import{AnimatePresence as k,motion as v}from"framer-motion";import"pagedjs";import{Fragment as I,jsx as t,jsxs as w}from"react/jsx-runtime";var K=c=>{let[s,i]=C(0),{blocks:a,hero:x,logoImage:m}=c,N=a&&Array.isArray(a)&&a.length>0,n=[{id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},...a],S=e=>{i(e)},r=()=>{i(e=>(e+1)%n.length)},d=()=>{i(e=>(e-1+n.length)%n.length)},u=A(((e,o)=>{let f;return(...T)=>{clearTimeout(f),f=setTimeout(()=>e(...T),o)}})(e=>{e.deltaY>0?r():d()},300),[]),p=e=>{e.key==="ArrowDown"?r():e.key==="ArrowUp"&&d()};return D(()=>(window.addEventListener("wheel",u),window.addEventListener("keydown",p),()=>{window.removeEventListener("wheel",u),window.removeEventListener("keydown",p)}),[]),w("div",{className:"flex flex-col min-h-screen relative overflow-hidden",children:[t("div",{className:"fixed left-0 top-0 flex h-screen w-9 z-10 flex-col items-center justify-center bg-gray-900",children:N&&n.map((e,o)=>t("button",{className:`group relative flex items-center justify-center my-2 h-16 w-4 rounded-full transition-all hover:bg-accent duration-300 ${s===o?"bg-accent":"bg-gray-600"}`,onClick:()=>S(o),children:t("span",{className:"absolute ml-7 left-full text-left transform -translate-y-1/2 translate-x-0 rotate-90 origin-left whitespace-nowrap opacity-0 group-hover:opacity-100 group-hover:translate-x-2 transition-all duration-300",children:e.blockName})},e.id))}),t(k,{children:n.map((e,o)=>t("div",{id:`slide-${o}`,className:"print-section",children:t("div",{className:`absolute flex items-center justify-center transition-opacity duration-1000
|
|
5
5
|
${o===s?"opacity-100":"opacity-0"}
|
|
6
6
|
w-full h-full bg-cover bg-center`,children:o===0?t(b,{hero:x,title:c.title,logoImage:m}):w(I,{children:[e.blockName&&t(h,{title:e.blockName}),t(y,{blocks:[e],fill:!0}),t(g,{logoImage:m})]})})},o))}),t("button",{className:"absolute bottom-4 left-1 z-20 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:r,children:t(E,{})})]})},E=()=>t(k,{children:t(v.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.7,ease:[.76,0,.24,1]},className:l("w-fit min-h-[50px] min-w-[20px] p-1 border-2 rounded-full","border-accent"),children:t(v.div,{initial:{y:0},animate:{y:[0,25],opacity:[1,0]},transition:{duration:1,ease:"easeOut",repeat:1/0,repeatDelay:1},className:l("w-[12px] h-[12px] rounded-full","bg-accent")})})});export{K as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{i as j,j as E,k as H,l as G,m as _,n as $,o as J}from"./chunk-O5BAW5XQ.mjs";import{a as b}from"./chunk-44VMK4FL.mjs";import{a as S}from"./chunk-2A6JF3LE.mjs";import{a as R}from"./chunk-4YJ3HV64.mjs";import{a as I}from"./chunk-2NFKSNJW.mjs";import{b as T}from"./chunk-BDX257W2.mjs";import{a as f}from"./chunk-SFLOMJ2U.mjs";import{a as o}from"./chunk-NIQ4466A.mjs";import{jsx as x,jsxs as U}from"react/jsx-runtime";var F=({links:a,richText:e})=>x("div",{className:"container",children:U("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:[x("div",{className:"max-w-[48rem] flex items-center",children:e&&x(u,{className:"mb-0",content:e,enableGutter:!1})}),x("div",{className:"flex flex-col gap-8",children:(a||[]).map(({link:t},s)=>x(b,{size:"lg",...t},s))})]})});import X from"next/image";import{jsx as n,jsxs as w}from"react/jsx-runtime";function D(a){return a&&typeof a=="object"&&"type"in a&&"iconName"in a}function B({image:a,icon:e,title:t,subtitle:s,content:c,statistic:r,settings:l,link:p,className:d}){var k,v;let N={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:"bg-background"},h={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return w("div",{className:o("min-w-56 max-w-xl h-full flex flex-col group",a?"p-0 md:p-0":"p-8 md:p-8",l&&!a&&N[(l==null?void 0:l.card)==="default"?"solid":l==null?void 0:l.card],a&&"bg-foreground",l&&(l==null?void 0:l.card)==="outline"?"text-gray-900":"text-white",h[(k=l==null?void 0:l.width)!=null?k:"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",l&&`intersect:animate-delay-${l.order||1}00`,d),children:[a&&n("div",{className:"relative h-1/2 lg:h-2/3 w-full mb-0",children:n(X,{src:a.url||"/placeholder.svg",alt:a.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),w("div",{className:o(a?"p-4 md:p-1 md:px-8":"p-0 md:p-0","flex h-2/5 md:max-h-1/2 flex-col flex-grow"),children:[s&&n("div",{className:"mb-4 text-primary uppercase font-light",children:s}),n("div",{className:"flex items-center gap-4 mb-2 md:mb-0",children:n(q,{icon:{type:(e==null?void 0:e.type)||"fa-light",iconName:(e==null?void 0:e.icon)||"no-icon-error"},heading:t!=null?t:"",variant:(l==null?void 0:l.card)==="default"?"solid":(v=l==null?void 0:l.card)!=null?v:"solid",iconSize:(l==null?void 0:l.iconSize)||"large"})}),r&&n("div",{className:"mb-6",children:n("div",{className:o("text-4xl text-wrap font-bold leading-none overflow-hidden",(l==null?void 0:l.card)==="outline"||(l==null?void 0:l.card)==="light"?"text-brand-green":"text-white"),children:r})}),c&&typeof c=="object"&&n(u,{enableGutter:!1,content:c,enableProse:!1,className:o("space-y-6",(l==null?void 0:l.card)==="outline"||(l==null?void 0:l.card)==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100",a&&"prose prose-headings:text-background prose-p:text-background")}),c&&typeof c=="string"&&n("div",{className:o("space-y-6",(l==null?void 0:l.card)==="outline"||(l==null?void 0:l.card)==="light"?"prose text-foreground":"prose text-gray-100",a&&"prose text-background"),children:c}),p&&p.url&&n("div",{className:"pt-6 h-full flex items-end justify-start",children:n("a",{className:"text-accent justify-start font-semibold uppercase",href:p.url||"#",children:(p==null?void 0:p.label)||"Find out more"})}),(l==null?void 0:l.card)==="radial"&&n("div",{className:"absolute bottom-0 right-0 w-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})]})}var q=({icon:a,heading:e,variant:t,iconSize:s,subtitle:c})=>a&&s==="small"&&a.iconName!="no-icon-error"?w("div",{className:"flex items-start justify-between w-full mb-2",children:[n("div",{className:o("font-semibold",t==="outline"||t==="light"?"text-primary":"text-white",s==="small"?"text-2xl":"text-3xl"),children:e}),D(a)&&n("div",{className:o("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",t==="outline"||t==="light"?"text-primary":"text-white",s==="small"?"mt-2":""),children:n(f,{type:a.type,iconName:a.iconName,size:"2x"})})]}):a&&a.iconName!="no-icon-error"?w("div",{className:"flex flex-col gap-4",children:[D(a)&&n("div",{className:o("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",t==="outline"||t==="light"?"text-accent":""),children:n(f,{type:a.type,iconName:a.iconName,size:"4x"})}),n("h3",{className:o("font-normal",t==="outline"||t==="light"?"text-2xl text-primary":"text-3xl"),children:e})]}):n("div",{className:"flex items-center gap-4 mb-2",children:n("div",{className:o("font-regular",t==="outline"||t==="light"?"text-2xl text-primary":"text-3xl"),children:e})});import{jsx as m,jsxs as C}from"react/jsx-runtime";function z(a){return a&&typeof a=="object"&&"type"in a&&"iconName"in a}function de({variant:a="outline",className:e,icon:t,iconSize:s="large",width:c="auto",order:r=0,heading:l,subheading:p,content:d,statistic:N,buttonText:h,buttonHref:k}){let v={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:""},M={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return C("div",{className:o("rounded-3xl p-8 md:p-8 min-w-56 flex flex-col group",v[a],a==="outline"?"text-gray-900":"text-white",e,M[c],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${r+1}00`),children:[m("div",{className:"flex items-center gap-4 mb-2",children:m(O,{icon:t,heading:l,variant:a,iconSize:s})}),N&&m("div",{className:"mb-6",children:m("div",{className:o("text-4xl text-wrap font-bold leading-none overflow-hidden",a==="outline"||a==="light"?"text-primary":"text-white"),children:N})}),p&&m("div",{className:"mb-4 text-xl md:text-2xl font-light",children:p}),d&&typeof d=="object"&&m("div",{className:o("space-y-6"),children:m(u,{enableGutter:!1,content:d,enableProse:!1,className:o(a==="outline"||a==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100")})}),d&&typeof d=="string"&&m("div",{className:o("space-y-6",a==="outline"||a==="light"?"text-gray-900":"text-gray-100"),children:d}),h&&m("div",{className:"mt-auto pt-6 flex items-center justify-center",children:m(T,{size:"lg",className:"text-white text-lg rounded-xl w-full mt-auto items-center justify-center",asChild:!0,children:m("a",{href:k,children:h})})}),a==="radial"&&m("div",{className:"absolute bottom-0 right-0 w-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})}var O=({icon:a,heading:e,variant:t,iconSize:s})=>a&&s==="small"?C("div",{className:"flex items-start gap-4 mb-2",children:[z(a)&&m("div",{className:o("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",t==="outline"||t==="light"?"text-primary":"text-white",s==="small"?"mt-2":""),children:m(f,{type:a.type,iconName:a.iconName,size:"2x"})}),m("div",{className:o("font-semibold",t==="outline"||t==="light"?"text-primary":"text-white",s==="small"?"text-2xl":"text-3xl"),children:e})]}):a?C("div",{className:"flex flex-col gap-4",children:[z(a)&&m("div",{className:o("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",t==="outline"||t==="light"?"text-accent":""),children:m(f,{type:a.type,iconName:a.iconName,size:"4x"})}),m("h3",{className:o("font-semibold",t==="outline"||t==="light"?"text-2xl text-primary":"text-3xl"),children:e})]}):m("div",{className:"flex items-center gap-4 mb-2",children:m("div",{className:o("font-semibold",t==="outline"||t==="light"?"text-2xl text-primary":"text-3xl"),children:e})});import{jsx as y,jsxs as K}from"react/jsx-runtime";var A=({title:a,description:e,features:t,id:s,nested:c=!1})=>K("section",{className:o(!c&&"container","w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[a&&y("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl text-primary",id:s||"",children:a}),e&&typeof e=="string"&&y("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:e}),e&&typeof e=="object"&&y("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:y(u,{content:e,enableGutter:!1})}),y("div",{className:`grid gap-8 mt-10 md:grid-cols-${t?t.length:1}`,children:t&&t.map((r,l)=>{var d;let p=()=>{if(r.icon&&"type"in r.icon&&r.icon.type!=="none")return{type:r.icon.type,iconName:r.icon.icon}};return y(B,{title:r.title||"",content:r.content||void 0,statistic:r.statistic||void 0,settings:{...r.settings,width:"auto",order:l},link:r.link?{...r.link,label:"Learn more"}:void 0,icon:(d=p())!=null?d:{type:"none",iconName:null}},l)})})]});import Q,{Fragment as V}from"react";import{jsx as i}from"react/jsx-runtime";function g({nodes:a}){return i(V,{children:a==null?void 0:a.map((e,t)=>{if(e==null)return null;if(e.type==="text"&&e.text){let r=i(Q.Fragment,{children:e.text},t);return e.format&1&&(r=i("strong",{children:r},t)),e.format&2&&(r=i("em",{children:r},t)),e.format&4&&(r=i("span",{style:{textDecoration:"line-through"},children:r},t)),e.format&8&&(r=i("span",{style:{textDecoration:"underline"},children:r},t)),e.format&16&&(r=i("code",{children:e.text},t)),e.format&32&&(r=i("sub",{children:r},t)),e.format&64&&(r=i("sup",{children:r},t)),r}if(e.type==="table")return i("table",{children:i("tbody",{children:e.children.map((r,l)=>i("tr",{children:r.children.map((p,d)=>i("td",{children:g({nodes:p.children})},d))},l))})},t);let s=r=>{if(r.children==null)return null;if((r==null?void 0:r.type)==="list"&&(r==null?void 0:r.listType)==="check")for(let l of r.children)"checked"in l&&(l!=null&&l.checked||(l.checked=!1));return g({nodes:r.children})},c="children"in e?s(e):"";if(e.type==="block"){let r=e.fields,l=r==null?void 0:r.blockType;if(!r||!l)return null;switch(l){case"cta":return i(F,{...r},t);case"mediaBlock":return i(S,{className:"col-start-1 col-span-3",imgClassName:"m-0",...r,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},t);case"imageBlock":return i(R,{className:"col-start-1 col-span-3",imgClassName:"m-0",...r,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},t);case"banner":return i(L,{className:"col-start-2 mb-4",...r},t);case"code":return i(I,{className:"col-start-2",...r},t);case"features":return i(A,{...r,nested:!0},t);case"reusableContentBlock":g({nodes:r.reusableContent.layout});default:return null}}else switch(e.type){case"linebreak":return i("br",{className:"col-start-2"},t);case"paragraph":return i("p",{className:"col-start-2",children:c},t);case"heading":{let r=e==null?void 0:e.tag;return i(r,{className:"col-start-2",id:(e==null?void 0:e.id)||"",children:c},t)}case"list":{let r=e==null?void 0:e.tag;return i(r,{className:"list col-start-2",children:c},t)}case"listitem":return(e==null?void 0:e.checked)!=null?i("li",{"aria-checked":e.checked?"true":"false",className:` ${e.checked,""}`,role:"checkbox",tabIndex:-1,value:e==null?void 0:e.value,children:c},t):i("li",{value:e==null?void 0:e.value,children:c},t);case"quote":return i("blockquote",{className:"col-start-2",children:c},t);case"link":{let r=e.fields;return i(b,{newTab:!!(r!=null&&r.newTab),reference:r.doc,type:r.linkType==="internal"?"reference":"custom",url:r.url,children:c},t)}case"autolink":{let r=e.fields;return i(b,{newTab:!!(r!=null&&r.newTab),reference:r.doc,type:r.linkType==="internal"?"reference":"custom",url:r.url,children:c},t)}default:return null}})})}import{jsx as W}from"react/jsx-runtime";var u=({className:a,content:e,enableGutter:t=!0,enableProse:s=!0})=>{var c;return e?W("div",{className:o({"container ":t,"max-w-none":!t,"mx-auto prose dark:prose-invert ":s},a),children:e&&!Array.isArray(e)&&typeof e=="object"&&"root"in e&&g({nodes:(c=e==null?void 0:e.root)==null?void 0:c.children})}):null};import{jsx as P}from"react/jsx-runtime";var L=({className:a,content:e,style:t})=>P("div",{className:o("mx-auto my-8 w-full",a),children:P("div",{className:o("border py-3 px-6 flex items-center rounded",{"border-border bg-card":t==="info","border-error bg-error/30":t==="error","border-success bg-success/30":t==="success","border-warning bg-warning/30":t==="warning"}),children:P(u,{content:e,enableGutter:!1,enableProse:!1})})});export{L as a,F as b,A as c,g as d,u as e,B as f,de as g};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as
|
|
4
|
+
import{a as g}from"./chunk-BZAYEKYC.mjs";import{a as h}from"./chunk-WU3JMLSC.mjs";import{a as S}from"./chunk-IO222G5L.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 p}from"./chunk-QMFZRG7O.mjs";import{a as c}from"./chunk-3YZN4MJB.mjs";import{b as s,d as b,f as u}from"./chunk-2IKC7MAP.mjs";import{a as n}from"./chunk-Y5VTKEKS.mjs";import{a as f}from"./chunk-F55C2C5H.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:g,logoDark:h,...a.header,wide:!0,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
|
-
"use strict";var nt=Object.create;var Y=Object.defineProperty;var st=Object.getOwnPropertyDescriptor;var at=Object.getOwnPropertyNames;var lt=Object.getPrototypeOf,it=Object.prototype.hasOwnProperty;var ct=(e,t)=>{for(var r in t)Y(e,r,{get:t[r],enumerable:!0})},Ae=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of at(t))!it.call(e,s)&&s!==r&&Y(e,s,{get:()=>t[s],enumerable:!(n=st(t,s))||n.enumerable});return e};var X=(e,t,r)=>(r=e!=null?nt(lt(e)):{},Ae(t||!e||!e.__esModule?Y(r,"default",{value:e,enumerable:!0}):r,e)),dt=e=>Ae(Y({},"__esModule",{value:!0}),e);var Jt={};ct(Jt,{BannerBlock:()=>be});module.exports=dt(Jt);var ze=require("clsx");var ie="-",pt=e=>{let t=mt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:l=>{let a=l.split(ie);return a[0]===""&&a.length!==1&&a.shift(),Be(a,t)||ut(l)},getConflictingClassGroupIds:(l,a)=>{let c=r[l]||[];return a&&n[l]?[...c,...n[l]]:c}}},Be=(e,t)=>{var l;if(e.length===0)return t.classGroupId;let r=e[0],n=t.nextPart.get(r),s=n?Be(e.slice(1),n):void 0;if(s)return s;if(t.validators.length===0)return;let o=e.join(ie);return(l=t.validators.find(({validator:a})=>a(o)))==null?void 0:l.classGroupId},Ne=/^\[(.+)\]$/,ut=e=>{if(Ne.test(e)){let t=Ne.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},mt=e=>{let{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return ft(Object.entries(e.classGroups),r).forEach(([o,l])=>{le(l,n,o,t)}),n},le=(e,t,r,n)=>{e.forEach(s=>{if(typeof s=="string"){let o=s===""?t:Pe(t,s);o.classGroupId=r;return}if(typeof s=="function"){if(gt(s)){le(s(n),t,r,n);return}t.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([o,l])=>{le(l,Pe(t,o),r,n)})})},Pe=(e,t)=>{let r=e;return t.split(ie).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},gt=e=>e.isThemeGetter,ft=(e,t)=>t?e.map(([r,n])=>{let s=n.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([l,a])=>[t+l,a])):o);return[r,s]}):e,bt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map,s=(o,l)=>{r.set(o,l),t++,t>e&&(t=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)}}},Re="!",yt=e=>{let{separator:t,experimentalParseClassName:r}=e,n=t.length===1,s=t[0],o=t.length,l=a=>{let c=[],p=0,u=0,v;for(let x=0;x<a.length;x++){let w=a[x];if(p===0){if(w===s&&(n||a.slice(x,x+o)===t)){c.push(a.slice(u,x)),u=x+o;continue}if(w==="/"){v=x;continue}}w==="["?p++:w==="]"&&p--}let y=c.length===0?a:a.substring(u),k=y.startsWith(Re),A=k?y.substring(1):y,h=v&&v>u?v-u:void 0;return{modifiers:c,hasImportantModifier:k,baseClassName:A,maybePostfixModifierPosition:h}};return r?a=>r({className:a,parseClassName:l}):l},ht=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(n=>{n[0]==="["?(t.push(...r.sort(),n),r=[]):r.push(n)}),t.push(...r.sort()),t},xt=e=>({cache:bt(e.cacheSize),parseClassName:yt(e),...pt(e)}),wt=/\s+/,vt=(e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:s}=t,o=[],l=e.trim().split(wt),a="";for(let c=l.length-1;c>=0;c-=1){let p=l[c],{modifiers:u,hasImportantModifier:v,baseClassName:y,maybePostfixModifierPosition:k}=r(p),A=!!k,h=n(A?y.substring(0,k):y);if(!h){if(!A){a=p+(a.length>0?" "+a:a);continue}if(h=n(y),!h){a=p+(a.length>0?" "+a:a);continue}A=!1}let x=ht(u).join(":"),w=v?x+Re:x,C=w+h;if(o.includes(C))continue;o.push(C);let T=s(h,A);for(let N=0;N<T.length;++N){let J=T[N];o.push(w+J)}a=p+(a.length>0?" "+a:a)}return a};function kt(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Ie(t))&&(n&&(n+=" "),n+=r);return n}var Ie=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=Ie(e[n]))&&(r&&(r+=" "),r+=t);return r};function Ct(e,...t){let r,n,s,o=l;function l(c){let p=t.reduce((u,v)=>v(u),e());return r=xt(p),n=r.cache.get,s=r.cache.set,o=a,a(c)}function a(c){let p=n(c);if(p)return p;let u=vt(c,r);return s(c,u),u}return function(){return o(kt.apply(null,arguments))}}var g=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Te=/^\[(?:([a-Le-]+):)?(.+)\]$/i,At=/^\d+\/\d+$/,Nt=new Set(["px","full","screen"]),Pt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Bt=/\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$/,Rt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,It=/^(inset_)?-?((\d+)?\.?(\d+)[a-Le]+|0)_-?((\d+)?\.?(\d+)[a-Le]+|0)/,Tt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,B=e=>L(e)||Nt.has(e)||At.test(e),S=e=>D(e,"length",Dt),L=e=>!!e&&!Number.isNaN(Number(e)),ae=e=>D(e,"number",L),H=e=>!!e&&Number.isInteger(Number(e)),St=e=>e.endsWith("%")&&L(e.slice(0,-1)),i=e=>Te.test(e),M=e=>Pt.test(e),Mt=new Set(["length","size","percentage"]),zt=e=>D(e,Mt,Se),Et=e=>D(e,"position",Se),Ft=new Set(["image","url"]),Gt=e=>D(e,Ft,Ht),Lt=e=>D(e,"",Ut),V=()=>!0,D=(e,t,r)=>{let n=Te.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1},Dt=e=>Bt.test(e)&&!Rt.test(e),Se=()=>!1,Ut=e=>It.test(e),Ht=e=>Tt.test(e);var Vt=()=>{let e=g("colors"),t=g("spacing"),r=g("blur"),n=g("brightness"),s=g("borderColor"),o=g("borderRadius"),l=g("borderSpacing"),a=g("borderWidth"),c=g("contrast"),p=g("grayscale"),u=g("hueRotate"),v=g("invert"),y=g("gap"),k=g("gradientColorStops"),A=g("gradientColorStopPositions"),h=g("inset"),x=g("margin"),w=g("opacity"),C=g("padding"),T=g("saturate"),N=g("scale"),J=g("sepia"),ye=g("skew"),he=g("space"),xe=g("translate"),re=()=>["auto","contain","none"],oe=()=>["auto","hidden","clip","visible","scroll"],ne=()=>["auto",i,t],b=()=>[i,t],we=()=>["",B,S],_=()=>["auto",L,i],ve=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],K=()=>["solid","dashed","dotted","double","none"],ke=()=>["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"],U=()=>["","0",i],Ce=()=>["auto","avoid","all","avoid-page","page","left","right","column"],P=()=>[L,i];return{cacheSize:500,separator:":",theme:{colors:[V],spacing:[B,S],blur:["none","",M,i],brightness:P(),borderColor:[e],borderRadius:["none","","full",M,i],borderSpacing:b(),borderWidth:we(),contrast:P(),grayscale:U(),hueRotate:P(),invert:U(),gap:b(),gradientColorStops:[e],gradientColorStopPositions:[St,S],inset:ne(),margin:ne(),opacity:P(),padding:b(),saturate:P(),scale:P(),sepia:U(),skew:P(),space:b(),translate:b()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[M]}],"break-after":[{"break-after":Ce()}],"break-before":[{"break-before":Ce()}],"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:[...ve(),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:[h]}],"inset-x":[{"inset-x":[h]}],"inset-y":[{"inset-y":[h]}],start:[{start:[h]}],end:[{end:[h]}],top:[{top:[h]}],right:[{right:[h]}],bottom:[{bottom:[h]}],left:[{left:[h]}],visibility:["visible","invisible","collapse"],Le:[{Le:["auto",H,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:U()}],shrink:[{shrink:U()}],order:[{order:["first","last","none",H,i]}],"grid-cols":[{"grid-cols":[V]}],"col-start-end":[{col:["auto",{span:["full",H,i]},i]}],"col-start":[{"col-start":_()}],"col-end":[{"col-end":_()}],"grid-rows":[{"grid-rows":[V]}],"row-start-end":[{row:["auto",{span:[H,i]},i]}],"row-start":[{"row-start":_()}],"row-end":[{"row-end":_()}],"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",...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:[C]}],px:[{px:[C]}],py:[{py:[C]}],ps:[{ps:[C]}],Le:[{Le:[C]}],pt:[{pt:[C]}],pr:[{pr:[C]}],pb:[{pb:[C]}],pl:[{pl:[C]}],Le:[{Le:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],Le:[{Le:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[he]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[he]}],"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:[M]},M]}],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",M,S]}],"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:[V]}],"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,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:[e]}],"placeholder-opacity":[{"placeholder-opacity":[w]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[w]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...K(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",B,S]}],"underline-offset":[{"underline-offset":["auto",B,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:b()}],"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":[w]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ve(),Et]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",zt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Gt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[A]}],"gradient-via-pos":[{via:[A]}],"gradient-to-pos":[{to:[A]}],"gradient-from":[{from:[k]}],"gradient-via":[{via:[k]}],"gradient-to":[{to:[k]}],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":[w]}],"border-style":[{border:[...K(),"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":[w]}],"divide-style":[{divide:K()}],"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:["",...K()]}],"outline-offset":[{"outline-offset":[B,i]}],"outline-w":[{outline:[B,S]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:we()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[w]}],"ring-offset-w":[{"ring-offset":[B,S]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",M,Lt]}],"shadow-color":[{shadow:[V]}],opacity:[{opacity:[w]}],"mix-blend":[{"mix-blend":[...ke(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ke()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",M,i]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[v]}],saturate:[{saturate:[T]}],sepia:[{sepia:[J]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[v]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[T]}],"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:P()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:P()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[N]}],"scale-x":[{"scale-x":[N]}],"scale-y":[{"scale-y":[N]}],rotate:[{rotate:[H,i]}],"translate-x":[{"translate-x":[xe]}],"translate-y":[{"translate-y":[xe]}],"skew-x":[{"skew-x":[ye]}],"skew-y":[{"skew-y":[ye]}],"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-Le":[{"scroll-Le":b()}],"scroll-mx":[{"scroll-mx":b()}],"scroll-my":[{"scroll-my":b()}],"scroll-ms":[{"scroll-ms":b()}],"scroll-Le":[{"scroll-Le":b()}],"scroll-mt":[{"scroll-mt":b()}],"scroll-mr":[{"scroll-mr":b()}],"scroll-mb":[{"scroll-mb":b()}],"scroll-ml":[{"scroll-ml":b()}],"scroll-p":[{"scroll-p":b()}],"scroll-px":[{"scroll-px":b()}],"scroll-py":[{"scroll-py":b()}],"scroll-ps":[{"scroll-ps":b()}],"scroll-Le":[{"scroll-Le":b()}],"scroll-pt":[{"scroll-pt":b()}],"scroll-pr":[{"scroll-pr":b()}],"scroll-pb":[{"scroll-pb":b()}],"scroll-pl":[{"scroll-pl":b()}],"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:[B,S,ae]}],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","Le","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],Le:["mx","my","ms","Le","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-Le":["scroll-mx","scroll-my","scroll-ms","scroll-Le","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-Le","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 Me=Ct(Vt);function d(...e){return Me((0,ze.clsx)(e))}var Ee=require("@radix-ui/react-slot"),Fe=require("class-variance-authority"),Ge=X(require("react")),Le=require("react/jsx-runtime"),jt=(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"}}}),F=Ge.forwardRef(({asChild:e=!1,className:t,size:r,variant:n,...s},o)=>(0,Le.jsx)(e?Ee.Slot:"button",{className:d(jt({className:t,size:r,variant:n})),ref:o,...s}));F.displayName="Button";var ce=X(require("next/link")),Q=e=>{let{type:t,appearance:r="inline",children:n,className:s,label:o,newTab:l,reference:a,size:c,url:p}=e,u=t==="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}`:p;if(!u)return null;let v=r==="link"?"clear":c,y=l?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,Le.jsxs)(ce.default,{className:d(s),href:u||p||"",...y,children:[o&&o,n&&n]}):(0,Le.jsx)(F,{asChild:!0,className:s,size:v,variant:r,children:(0,Le.jsxs)(ce.default,{className:d(s),href:u||p||"",...y,children:[o&&o,n&&n]})})};var De=({links:e,richText:t})=>(0,Le.jsx)("div",{className:"container",children:(0,Le.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,Le.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,Le.jsx)(E,{className:"mb-0",content:t,enableGutter:!1})}),(0,Le.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},n)=>(0,Le.jsx)(Q,{size:"lg",...r},n))})]})});var q=require("prism-react-renderer");var Ue=require("lucide-react"),He=require("react");function Ve({code:e}){let[t,r]=(0,He.useState)("Copy");function n(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,Le.jsx)("div",{className:"flex justify-end align-middle",children:(0,Le.jsxs)(F,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),n()},children:[(0,Le.jsx)("p",{children:t}),(0,Le.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,Le.jsx)(Ue.ClipboardCopy,{})})]})})}var je=({code:e,language:t=""})=>e?(0,Le.jsx)(q.Highlight,{code:e,language:t,theme:q.themes.vsDark,children:({getLineProps:r,getTokenProps:n,tokens:s})=>(0,Le.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[s.map((o,l)=>(0,Le.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,Le.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:l+1}),(0,Le.jsx)("span",{className:"table-cell pl-4",children:o.map((a,c)=>(0,Le.jsx)("span",{...n({token:a})},c))})]},l)),(0,Le.jsx)(Ve,{code:e})]})}):null;var Qe=({className:e,code:t,language:r})=>(0,Le.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Le.jsx)(je,{code:t,language:r})});var Je=X(require("next/image")),Qt={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Oe="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=",_e=e=>{let{alt:t,fill:r,imgClassName:n,priority:s,resource:o,size:l,src:a,loading:c}=e,p,u,v=t,y=a||"";if(!y&&o&&typeof o=="object"){let{alt:h,filename:x,height:w,url:C,width:T}=o;if(w&&w>500){let N=500/w;p=T*N,u=w*N}else p=T,u=w;v=h||"",y=C||Oe}let k=c||"lazy",A=l||Object.entries(Qt).map(([,h])=>`(max-width: ${h}px) ${h*2}w`).join(", ");return(0,Le.jsx)("picture",{children:(0,Le.jsx)(Je.default,{alt:v||"",className:d(n),fill:r,height:r?void 0:u,placeholder:"blur",blurDataURL:Oe,priority:k!=="lazy"&&s,quality:100,loading:k,sizes:A,src:y,width:r?void 0:p})})};var Ke=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Ye=()=>{if(Ke){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var Xe=e=>{let{onClick:t,resource:r,videoClassName:n}=e,s=(0,He.useRef)(null);if((0,He.useEffect)(()=>{let{current:o}=s;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,Le.jsx)("video",{autoPlay:!0,className:d(n),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:s,children:(0,Le.jsx)("source",{src:`${Ye()}/media/${o}`})})}return null};var $=e=>{var l;let{className:t,htmlElement:r="div",resource:n}=e,s=typeof n=="object"&&((l=n==null?void 0:n.mimeType)==null?void 0:l.includes("video"));return(0,Le.jsx)(r||He.Fragment,{...r!==null?{className:t}:{},children:s?(0,Le.jsx)(Xe,{...e}):(0,Le.jsx)(_e,{...e})})};var We=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:s,staticImage:o}=e;return(0,Le.jsx)("div",{className:d("h-full ",{container:r},t),children:(0,Le.jsx)($,{imgClassName:d("rounded-[0.8rem]",n),className:"flex justify-center",resource:s,src:o})})};var Ze=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:s,staticImage:o}=e;return(0,Le.jsx)("div",{className:d("",{container:r},t),children:(0,Le.jsx)($,{imgClassName:d("rounded-[0.8rem]",n),resource:s,src:o})})};var fe=({type:e="solid",iconName:t="cloud",size:r="lg",className:n})=>{let s=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,l=n!=null?n:"",a=s+o+" fa-"+r+" "+l;return(0,$e.jsx)("i",{className:a})};function et(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function tt({variant:e="outline",className:t,icon:r,iconSize:n="large",width:s="auto",order:o=0,heading:l,subheading:a,content:c,statistic:p,buttonText:u,buttonHref:v}){let y={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:""},k={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,Le.jsxs)("div",{className:d("rounded-3xl p-8 md:p-8 min-w-56 flex flex-col group",y[e],e==="outline"?"text-gray-900":"text-white",t,k[s],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${o+1}00`),children:[(0,Le.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,Le.jsx)(Ot,{icon:r,heading:l,variant:e,iconSize:n})}),p&&(0,Le.jsx)("div",{className:"mb-6",children:(0,Le.jsx)("div",{className:d("text-4xl text-wrap font-bold leading-none overflow-hidden",e==="outline"||e==="light"?"text-primary":"text-white"),children:p})}),a&&(0,Le.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:a}),c&&typeof c=="object"&&(0,Le.jsx)("div",{className:d("space-y-6"),children:(0,Le.jsx)(E,{enableGutter:!1,content:c,enableProse:!1,className:d(e==="outline"||e==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100")})}),c&&typeof c=="string"&&(0,Le.jsx)("div",{className:d("space-y-6",e==="outline"||e==="light"?"text-gray-900":"text-gray-100"),children:c}),u&&(0,Le.jsx)("div",{className:"mt-auto pt-6 flex items-center justify-center",children:(0,Le.jsx)(F,{size:"lg",className:"text-white text-lg rounded-xl w-full mt-auto items-center justify-center",asChild:!0,children:(0,Le.jsx)("a",{href:v,children:u})})}),e==="radial"&&(0,Le.jsx)("div",{className:"absolute bottom-0 right-0 w-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})}var Ot=({icon:e,heading:t,variant:r,iconSize:n})=>e&&n==="small"?(0,Le.jsxs)("div",{className:"flex items-start gap-4 mb-2",children:[et(e)&&(0,Le.jsx)("div",{className:d("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-primary":"text-white",n==="small"?"mt-2":""),children:(0,Le.jsx)(fe,{type:e.type,iconName:e.iconName,size:"2x"})}),(0,Le.jsx)("div",{className:d("font-semibold",r==="outline"||r==="light"?"text-primary":"text-white",n==="small"?"text-2xl":"text-3xl"),children:t})]}):e?(0,Le.jsxs)("div",{className:"flex flex-col gap-4",children:[et(e)&&(0,Le.jsx)("div",{className:d("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-accent":""),children:(0,Le.jsx)(fe,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,Le.jsx)("h3",{className:d("font-semibold",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})]}):(0,Le.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,Le.jsx)("div",{className:d("font-semibold",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var rt=({title:e,description:t,features:r,id:n,nested:s=!1})=>(0,Le.jsxs)("section",{className:d(!s&&"container","w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,Le.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl text-primary",id:n||"",children:e}),t&&typeof t=="string"&&(0,Le.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:t}),t&&typeof t=="object"&&(0,Le.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:(0,Le.jsx)(E,{content:t,enableGutter:!1})}),(0,Le.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((o,l)=>{var c,p,u,v,y;let a=()=>{if(o.icon&&"type"in o.icon&&o.icon.type!=="none")return{type:o.icon.type,iconName:o.icon.icon}};return(0,Le.jsx)(tt,{variant:((c=o.settings)==null?void 0:c.card)==="default"?"light":((p=o.settings)==null?void 0:p.card)||"outline",icon:a()||void 0,iconSize:((u=o.settings)==null?void 0:u.iconSize)||"large",width:"auto",order:l,heading:o.title||"",content:o.content||void 0,statistic:o.statistic||void 0,buttonText:(v=o.link)!=null&&v.url?"Find out more":void 0,buttonHref:((y=o.link)==null?void 0:y.url)||void 0},l)})})]});var ee=X(require("react"));function O({nodes:e}){return(0,Le.jsx)(ee.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,Le.jsx)(ee.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,Le.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,Le.jsx)("em",{children:o},r)),t.format&4&&(o=(0,Le.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,Le.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,Le.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,Le.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,Le.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,Le.jsx)("table",{children:(0,Le.jsx)("tbody",{children:t.children.map((o,l)=>(0,Le.jsx)("tr",{children:o.children.map((a,c)=>(0,Le.jsx)("td",{children:O({nodes:a.children})},c))},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 O({nodes:o.children})},s="children"in t?n(t):"";if(t.type==="block"){let o=t.fields,l=o==null?void 0:o.blockType;if(!o||!l)return null;switch(l){case"cta":return(0,Le.jsx)(De,{...o},r);case"mediaBlock":return(0,Le.jsx)(We,{className:"col-start-1 col-span-3",imgClassName:"Le-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,Le.jsx)(Ze,{className:"col-start-1 col-span-3",imgClassName:"Le-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,Le.jsx)(be,{className:"col-start-2 mb-4",...o},r);case"code":return(0,Le.jsx)(Qe,{className:"col-start-2",...o},r);case"features":return(0,Le.jsx)(rt,{...o,nested:!0},r);case"reusableContentBlock":O({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,Le.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,Le.jsx)("p",{className:"col-start-2",children:s},r);case"heading":{let o=t==null?void 0:t.tag;return(0,Le.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:s},r)}case"list":{let o=t==null?void 0:t.tag;return(0,Le.jsx)(o,{className:"list col-start-2",children:s},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,Le.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:s},r):(0,Le.jsx)("li",{value:t==null?void 0:t.value,children:s},r);case"quote":return(0,Le.jsx)("blockquote",{className:"col-start-2",children:s},r);case"link":{let o=t.fields;return(0,Le.jsx)(Q,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}case"autolink":{let o=t.fields;return(0,Le.jsx)(Q,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}default:return null}})})}var E=({className:e,content:t,enableGutter:r=!0,enableProse:n=!0})=>{var s;return t?(0,Le.jsx)("div",{className:d({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":n},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&O({nodes:(s=t==null?void 0:t.root)==null?void 0:s.children})}):null};var be=({className:e,content:t,style:r})=>(0,Le.jsx)("div",{className:d("mx-auto my-8 w-full",e),children:(0,Le.jsx)("div",{className:d("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,Le.jsx)(E,{content:t,enableGutter:!1,enableProse:!1})})});0&&(module.exports={BannerBlock});
|
|
4
|
+
"use strict";var nr=Object.create;var X=Object.defineProperty;var lr=Object.getOwnPropertyDescriptor;var sr=Object.getOwnPropertyNames;var ir=Object.getPrototypeOf,cr=Object.prototype.hasOwnProperty;var dr=(e,r)=>{for(var t in r)X(e,t,{get:r[t],enumerable:!0})},Ne=(e,r,t,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let l of sr(r))!cr.call(e,l)&&l!==t&&X(e,l,{get:()=>r[l],enumerable:!(n=lr(r,l))||n.enumerable});return e};var U=(e,r,t)=>(t=e!=null?nr(ir(e)):{},Ne(r||!e||!e.__esModule?X(t,"default",{value:e,enumerable:!0}):t,e)),pr=e=>Ne(X({},"__esModule",{value:!0}),e);var _r={};dr(_r,{BannerBlock:()=>ye});module.exports=pr(_r);var Fe=require("clsx");var ie="-",ur=e=>{let r=fr(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:a=>{let s=a.split(ie);return s[0]===""&&s.length!==1&&s.shift(),Re(s,r)||mr(a)},getConflictingClassGroupIds:(a,s)=>{let d=t[a]||[];return s&&n[a]?[...d,...n[a]]:d}}},Re=(e,r)=>{var a;if(e.length===0)return r.classGroupId;let t=e[0],n=r.nextPart.get(t),l=n?Re(e.slice(1),n):void 0;if(l)return l;if(r.validators.length===0)return;let o=e.join(ie);return(a=r.validators.find(({validator:s})=>s(o)))==null?void 0:a.classGroupId},Pe=/^\[(.+)\]$/,mr=e=>{if(Pe.test(e)){let r=Pe.exec(e)[1],t=r==null?void 0:r.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}},fr=e=>{let{theme:r,prefix:t}=e,n={nextPart:new Map,validators:[]};return gr(Object.entries(e.classGroups),t).forEach(([o,a])=>{se(a,n,o,r)}),n},se=(e,r,t,n)=>{e.forEach(l=>{if(typeof l=="string"){let o=l===""?r:Be(r,l);o.classGroupId=t;return}if(typeof l=="function"){if(br(l)){se(l(n),r,t,n);return}r.validators.push({validator:l,classGroupId:t});return}Object.entries(l).forEach(([o,a])=>{se(a,Be(r,o),t,n)})})},Be=(e,r)=>{let t=e;return r.split(ie).forEach(n=>{t.nextPart.has(n)||t.nextPart.set(n,{nextPart:new Map,validators:[]}),t=t.nextPart.get(n)}),t},br=e=>e.isThemeGetter,gr=(e,r)=>r?e.map(([t,n])=>{let l=n.map(o=>typeof o=="string"?r+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([a,s])=>[r+a,s])):o);return[t,l]}):e,yr=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,t=new Map,n=new Map,l=(o,a)=>{t.set(o,a),r++,r>e&&(r=0,n=t,t=new Map)};return{get(o){let a=t.get(o);if(a!==void 0)return a;if((a=n.get(o))!==void 0)return l(o,a),a},set(o,a){t.has(o)?t.set(o,a):l(o,a)}}},Ie="!",hr=e=>{let{separator:r,experimentalParseClassName:t}=e,n=r.length===1,l=r[0],o=r.length,a=s=>{let d=[],u=0,f=0,w;for(let h=0;h<s.length;h++){let x=s[h];if(u===0){if(x===l&&(n||s.slice(h,h+o)===r)){d.push(s.slice(f,h)),f=h+o;continue}if(x==="/"){w=h;continue}}x==="["?u++:x==="]"&&u--}let v=d.length===0?s:s.substring(f),C=v.startsWith(Ie),A=C?v.substring(1):v,y=w&&w>f?w-f:void 0;return{modifiers:d,hasImportantModifier:C,baseClassName:A,maybePostfixModifierPosition:y}};return t?s=>t({className:s,parseClassName:a}):a},xr=e=>{if(e.length<=1)return e;let r=[],t=[];return e.forEach(n=>{n[0]==="["?(r.push(...t.sort(),n),t=[]):t.push(n)}),r.push(...t.sort()),r},vr=e=>({cache:yr(e.cacheSize),parseClassName:hr(e),...ur(e)}),wr=/\s+/,kr=(e,r)=>{let{parseClassName:t,getClassGroupId:n,getConflictingClassGroupIds:l}=r,o=[],a=e.trim().split(wr),s="";for(let d=a.length-1;d>=0;d-=1){let u=a[d],{modifiers:f,hasImportantModifier:w,baseClassName:v,maybePostfixModifierPosition:C}=t(u),A=!!C,y=n(A?v.substring(0,C):v);if(!y){if(!A){s=u+(s.length>0?" "+s:s);continue}if(y=n(v),!y){s=u+(s.length>0?" "+s:s);continue}A=!1}let h=xr(f).join(":"),x=w?h+Ie:h,k=x+y;if(o.includes(k))continue;o.push(k);let T=l(y,A);for(let N=0;N<T.length;++N){let _=T[N];o.push(x+_)}s=u+(s.length>0?" "+s:s)}return s};function Cr(){let e=0,r,t,n="";for(;e<arguments.length;)(r=arguments[e++])&&(t=Te(r))&&(n&&(n+=" "),n+=t);return n}var Te=e=>{if(typeof e=="string")return e;let r,t="";for(let n=0;n<e.length;n++)e[n]&&(r=Te(e[n]))&&(t&&(t+=" "),t+=r);return t};function Ar(e,...r){let t,n,l,o=a;function a(d){let u=r.reduce((f,w)=>w(f),e());return t=vr(u),n=t.cache.get,l=t.cache.set,o=s,s(d)}function s(d){let u=n(d);if(u)return u;let f=kr(d,t);return l(d,f),f}return function(){return o(Cr.apply(null,arguments))}}var b=e=>{let r=t=>t[e]||[];return r.isThemeGetter=!0,r},Se=/^\[(?:([a-De-]+):)?(.+)\]$/i,Nr=/^\d+\/\d+$/,Pr=new Set(["px","full","screen"]),Br=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Rr=/\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$/,Ir=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Tr=/^(inset_)?-?((\d+)?\.?(\d+)[a-De]+|0)_-?((\d+)?\.?(\d+)[a-De]+|0)/,Sr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,B=e=>G(e)||Pr.has(e)||Nr.test(e),S=e=>L(e,"length",Ur),G=e=>!!e&&!Number.isNaN(Number(e)),le=e=>L(e,"number",G),H=e=>!!e&&Number.isInteger(Number(e)),Mr=e=>e.endsWith("%")&&G(e.slice(0,-1)),i=e=>Se.test(e),M=e=>Br.test(e),zr=new Set(["length","size","percentage"]),Fr=e=>L(e,zr,Me),Er=e=>L(e,"position",Me),Gr=new Set(["image","url"]),Lr=e=>L(e,Gr,jr),Dr=e=>L(e,"",Hr),j=()=>!0,L=(e,r,t)=>{let n=Se.exec(e);return n?n[1]?typeof r=="string"?n[1]===r:r.has(n[1]):t(n[2]):!1},Ur=e=>Rr.test(e)&&!Ir.test(e),Me=()=>!1,Hr=e=>Tr.test(e),jr=e=>Sr.test(e);var Vr=()=>{let e=b("colors"),r=b("spacing"),t=b("blur"),n=b("brightness"),l=b("borderColor"),o=b("borderRadius"),a=b("borderSpacing"),s=b("borderWidth"),d=b("contrast"),u=b("grayscale"),f=b("hueRotate"),w=b("invert"),v=b("gap"),C=b("gradientColorStops"),A=b("gradientColorStopPositions"),y=b("inset"),h=b("margin"),x=b("opacity"),k=b("padding"),T=b("saturate"),N=b("scale"),_=b("sepia"),he=b("skew"),xe=b("space"),ve=b("translate"),te=()=>["auto","contain","none"],oe=()=>["auto","hidden","clip","visible","scroll"],ae=()=>["auto",i,r],g=()=>[i,r],we=()=>["",B,S],K=()=>["auto",G,i],ke=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Y=()=>["solid","dashed","dotted","double","none"],Ce=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ne=()=>["start","end","center","between","around","evenly","stretch"],D=()=>["","0",i],Ae=()=>["auto","avoid","all","avoid-page","page","left","right","column"],P=()=>[G,i];return{cacheSize:500,separator:":",theme:{colors:[j],spacing:[B,S],blur:["none","",M,i],brightness:P(),borderColor:[e],borderRadius:["none","","full",M,i],borderSpacing:g(),borderWidth:we(),contrast:P(),grayscale:D(),hueRotate:P(),invert:D(),gap:g(),gradientColorStops:[e],gradientColorStopPositions:[Mr,S],inset:ae(),margin:ae(),opacity:P(),padding:g(),saturate:P(),scale:P(),sepia:D(),skew:P(),space:g(),translate:g()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[M]}],"break-after":[{"break-after":Ae()}],"break-before":[{"break-before":Ae()}],"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:[...ke(),i]}],overflow:[{overflow:oe()}],"overflow-x":[{"overflow-x":oe()}],"overflow-y":[{"overflow-y":oe()}],overscroll:[{overscroll:te()}],"overscroll-x":[{"overscroll-x":te()}],"overscroll-y":[{"overscroll-y":te()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],De:[{De:["auto",H,i]}],basis:[{basis:ae()}],"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:D()}],shrink:[{shrink:D()}],order:[{order:["first","last","none",H,i]}],"grid-cols":[{"grid-cols":[j]}],"col-start-end":[{col:["auto",{span:["full",H,i]},i]}],"col-start":[{"col-start":K()}],"col-end":[{"col-end":K()}],"grid-rows":[{"grid-rows":[j]}],"row-start-end":[{row:["auto",{span:[H,i]},i]}],"row-start":[{"row-start":K()}],"row-end":[{"row-end":K()}],"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:[v]}],"gap-x":[{"gap-x":[v]}],"gap-y":[{"gap-y":[v]}],"justify-content":[{justify:["normal",...ne()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ne(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ne(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],De:[{De:[k]}],px:[{px:[k]}],py:[{py:[k]}],ps:[{ps:[k]}],De:[{De:[k]}],pt:[{pt:[k]}],pr:[{pr:[k]}],pb:[{pb:[k]}],pl:[{pl:[k]}],De:[{De:[h]}],mx:[{mx:[h]}],my:[{my:[h]}],ms:[{ms:[h]}],De:[{De:[h]}],mt:[{mt:[h]}],mr:[{mr:[h]}],mb:[{mb:[h]}],ml:[{ml:[h]}],"space-x":[{"space-x":[xe]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[xe]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",i,r]}],"min-w":[{"min-w":[i,r,"min","max","fit"]}],"max-w":[{"max-w":[i,r,"none","full","min","max","fit","prose",{screen:[M]},M]}],h:[{h:[i,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,r,"auto","min","max","fit"]}],"font-size":[{text:["base",M,S]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",le]}],"font-family":[{font:[j]}],"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",G,le]}],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:[e]}],"placeholder-opacity":[{"placeholder-opacity":[x]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[x]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Y(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",B,S]}],"underline-offset":[{"underline-offset":["auto",B,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:g()}],"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:[...ke(),Er]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Fr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Lr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[A]}],"gradient-via-pos":[{via:[A]}],"gradient-to-pos":[{to:[A]}],"gradient-from":[{from:[C]}],"gradient-via":[{via:[C]}],"gradient-to":[{to:[C]}],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:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[x]}],"border-style":[{border:[...Y(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[x]}],"divide-style":[{divide:Y()}],"border-color":[{border:[l]}],"border-color-x":[{"border-x":[l]}],"border-color-y":[{"border-y":[l]}],"border-color-s":[{"border-s":[l]}],"border-color-e":[{"border-e":[l]}],"border-color-t":[{"border-t":[l]}],"border-color-r":[{"border-r":[l]}],"border-color-b":[{"border-b":[l]}],"border-color-l":[{"border-l":[l]}],"divide-color":[{divide:[l]}],"outline-style":[{outline:["",...Y()]}],"outline-offset":[{"outline-offset":[B,i]}],"outline-w":[{outline:[B,S]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:we()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[x]}],"ring-offset-w":[{"ring-offset":[B,S]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",M,Dr]}],"shadow-color":[{shadow:[j]}],opacity:[{opacity:[x]}],"mix-blend":[{"mix-blend":[...Ce(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Ce()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[n]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",M,i]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[w]}],saturate:[{saturate:[T]}],sepia:[{sepia:[_]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[w]}],"backdrop-opacity":[{"backdrop-opacity":[x]}],"backdrop-saturate":[{"backdrop-saturate":[T]}],"backdrop-sepia":[{"backdrop-sepia":[_]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",i]}],duration:[{duration:P()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:P()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[N]}],"scale-x":[{"scale-x":[N]}],"scale-y":[{"scale-y":[N]}],rotate:[{rotate:[H,i]}],"translate-x":[{"translate-x":[ve]}],"translate-y":[{"translate-y":[ve]}],"skew-x":[{"skew-x":[he]}],"skew-y":[{"skew-y":[he]}],"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-De":[{"scroll-De":g()}],"scroll-mx":[{"scroll-mx":g()}],"scroll-my":[{"scroll-my":g()}],"scroll-ms":[{"scroll-ms":g()}],"scroll-De":[{"scroll-De":g()}],"scroll-mt":[{"scroll-mt":g()}],"scroll-mr":[{"scroll-mr":g()}],"scroll-mb":[{"scroll-mb":g()}],"scroll-ml":[{"scroll-ml":g()}],"scroll-De":[{"scroll-De":g()}],"scroll-px":[{"scroll-px":g()}],"scroll-py":[{"scroll-py":g()}],"scroll-ps":[{"scroll-ps":g()}],"scroll-De":[{"scroll-De":g()}],"scroll-pt":[{"scroll-pt":g()}],"scroll-pr":[{"scroll-pr":g()}],"scroll-pb":[{"scroll-pb":g()}],"scroll-pl":[{"scroll-pl":g()}],"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:[B,S,le]}],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"],De:["px","py","ps","De","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],De:["mx","my","ms","De","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-De":["scroll-mx","scroll-my","scroll-ms","scroll-De","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-De":["scroll-px","scroll-py","scroll-ps","scroll-De","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 ze=Ar(Vr);function c(...e){return ze((0,Fe.clsx)(e))}var Ee=require("@radix-ui/react-slot"),Ge=require("class-variance-authority"),Le=U(require("react")),De=require("react/jsx-runtime"),Qr=(0,Ge.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"}}}),V=Le.forwardRef(({asChild:e=!1,className:r,size:t,variant:n,...l},o)=>(0,De.jsx)(e?Ee.Slot:"button",{className:c(Qr({className:r,size:t,variant:n})),ref:o,...l}));V.displayName="Button";var ce=U(require("next/link")),O=e=>{let{type:r,appearance:t="inline",children:n,className:l,label:o,newTab:a,reference:s,size:d,url:u}=e,f=r==="reference"&&typeof(s==null?void 0:s.value)=="object"&&s.value.slug?`${(s==null?void 0:s.relationTo)!=="pages"?`/${s==null?void 0:s.relationTo}`:""}/${s.value.slug}`:u;if(!f)return null;let w=t==="link"?"clear":d,v=a?{rel:"noopener noreferrer",target:"_blank"}:{};return t==="inline"?(0,De.jsxs)(ce.default,{className:c(l),href:f||u||"",...v,children:[o&&o,n&&n]}):(0,De.jsx)(V,{asChild:!0,className:l,size:w,variant:t,children:(0,De.jsxs)(ce.default,{className:c(l),href:f||u||"",...v,children:[o&&o,n&&n]})})};var Ue=({links:e,richText:r})=>(0,De.jsx)("div",{className:"container",children:(0,De.jsxs)("div",{className:"bg-card rounded border-border border De-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,De.jsx)("div",{className:"max-w-[48rem] flex items-center",children:r&&(0,De.jsx)(F,{className:"mb-0",content:r,enableGutter:!1})}),(0,De.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:t},n)=>(0,De.jsx)(O,{size:"lg",...t},n))})]})});var q=require("prism-react-renderer");var He=require("lucide-react"),je=require("react");function Ve({code:e}){let[r,t]=(0,je.useState)("Copy");function n(){r==="Copy"&&(t(()=>"Copied!"),setTimeout(()=>{t(()=>"Copy")},1e3))}return(0,De.jsx)("div",{className:"flex justify-end align-middle",children:(0,De.jsxs)(V,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),n()},children:[(0,De.jsx)("De",{children:r}),(0,De.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,De.jsx)(He.ClipboardCopy,{})})]})})}var Qe=({code:e,language:r=""})=>e?(0,De.jsx)(q.Highlight,{code:e,language:r,theme:q.themes.vsDark,children:({getLineProps:t,getTokenProps:n,tokens:l})=>(0,De.jsxs)("pre",{className:"bg-black De-4 border text-xs border-border rounded overflow-x-auto",children:[l.map((o,a)=>(0,De.jsxs)("div",{...t({className:"table-row",line:o}),children:[(0,De.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:a+1}),(0,De.jsx)("span",{className:"table-cell pl-4",children:o.map((s,d)=>(0,De.jsx)("span",{...n({token:s})},d))})]},a)),(0,De.jsx)(Ve,{code:e})]})}):null;var Oe=({className:e,code:r,language:t})=>(0,De.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,De.jsx)(Qe,{code:r,language:t})});var _e=U(require("next/image")),Or={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Je="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=",Ke=e=>{let{alt:r,fill:t,imgClassName:n,priority:l,resource:o,size:a,src:s,loading:d}=e,u,f,w=r,v=s||"";if(!v&&o&&typeof o=="object"){let{alt:y,filename:h,height:x,url:k,width:T}=o;if(x&&x>500){let N=500/x;u=T*N,f=x*N}else u=T,f=x;w=y||"",v=k||Je}let C=d||"lazy",A=a||Object.entries(Or).map(([,y])=>`(max-width: ${y}px) ${y*2}w`).join(", ");return(0,De.jsx)("picture",{children:(0,De.jsx)(_e.default,{alt:w||"",className:c(n),fill:t,height:t?void 0:f,placeholder:"blur",blurDataURL:Je,priority:C!=="lazy"&&l,quality:100,loading:C,sizes:A,src:v,width:t?void 0:u})})};var Ye=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Xe=()=>{if(Ye){let e=window.location.protocol,r=window.location.hostname,t=window.location.port;return`${e}//${r}${t?`:${t}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var qe=e=>{let{onClick:r,resource:t,videoClassName:n}=e,l=(0,je.useRef)(null);if((0,je.useEffect)(()=>{let{current:o}=l;o&&o.addEventListener("suspend",()=>{})},[]),t&&typeof t=="object"){let{filename:o}=t;return(0,De.jsx)("video",{autoPlay:!0,className:c(n),controls:!1,loop:!0,muted:!0,onClick:r,playsInline:!0,ref:l,children:(0,De.jsx)("source",{src:`${Xe()}/media/${o}`})})}return null};var $=e=>{var a;let{className:r,htmlElement:t="div",resource:n}=e,l=typeof n=="object"&&((a=n==null?void 0:n.mimeType)==null?void 0:a.includes("video"));return(0,De.jsx)(t||je.Fragment,{...t!==null?{className:r}:{},children:l?(0,De.jsx)(qe,{...e}):(0,De.jsx)(Ke,{...e})})};var Ze=e=>{let{className:r,enableGutter:t=!0,imgClassName:n,media:l,staticImage:o}=e;return(0,De.jsx)("div",{className:c("h-full ",{container:t},r),children:(0,De.jsx)($,{imgClassName:c("rounded-[0.8rem]",n),className:"flex justify-center",resource:l,src:o})})};var $e=e=>{let{className:r,enableGutter:t=!0,imgClassName:n,media:l,staticImage:o}=e;return(0,De.jsx)("div",{className:c("",{container:t},r),children:(0,De.jsx)($,{imgClassName:c("rounded-[0.8rem]",n),resource:l,src:o})})};var be=({type:e="solid",iconName:r="cloud",size:t="lg",className:n})=>{let l=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+r,a=n!=null?n:"",s=l+o+" fa-"+t+" "+a;return(0,De.jsx)("i",{className:s})};var tr=U(require("next/image"));function rr(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function ge({image:e,icon:r,title:t,subtitle:n,content:l,statistic:o,settings:a,link:s,className:d}){var w,v;let u={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:"bg-background"},f={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,De.jsxs)("div",{className:c("min-w-56 max-w-xl h-full flex flex-col group",e?"De-0 md:De-0":"De-8 md:De-8",a&&!e&&u[(a==null?void 0:a.card)==="default"?"solid":a==null?void 0:a.card],e&&"bg-foreground",a&&(a==null?void 0:a.card)==="outline"?"text-gray-900":"text-white",f[(w=a==null?void 0:a.width)!=null?w:"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",a&&`intersect:animate-delay-${a.order||1}00`,d),children:[e&&(0,De.jsx)("div",{className:"relative h-1/2 lg:h-2/3 w-full mb-0",children:(0,De.jsx)(tr.default,{src:e.url||"/placeholder.svg",alt:e.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),(0,De.jsxs)("div",{className:c(e?"De-4 md:De-1 md:px-8":"De-0 md:De-0","flex h-2/5 md:max-h-1/2 flex-col flex-grow"),children:[n&&(0,De.jsx)("div",{className:"mb-4 text-primary uppercase font-light",children:n}),(0,De.jsx)("div",{className:"flex items-center gap-4 mb-2 md:mb-0",children:(0,De.jsx)(Jr,{icon:{type:(r==null?void 0:r.type)||"fa-light",iconName:(r==null?void 0:r.icon)||"no-icon-error"},heading:t!=null?t:"",variant:(a==null?void 0:a.card)==="default"?"solid":(v=a==null?void 0:a.card)!=null?v:"solid",iconSize:(a==null?void 0:a.iconSize)||"large"})}),o&&(0,De.jsx)("div",{className:"mb-6",children:(0,De.jsx)("div",{className:c("text-4xl text-wrap font-bold leading-none overflow-hidden",(a==null?void 0:a.card)==="outline"||(a==null?void 0:a.card)==="light"?"text-brand-green":"text-white"),children:o})}),l&&typeof l=="object"&&(0,De.jsx)(F,{enableGutter:!1,content:l,enableProse:!1,className:c("space-y-6",(a==null?void 0:a.card)==="outline"||(a==null?void 0:a.card)==="light"?"prose prose-headings:text-foreground prose-De:text-foreground":"prose prose-headings:text-white prose-De:text-gray-100",e&&"prose prose-headings:text-background prose-De:text-background")}),l&&typeof l=="string"&&(0,De.jsx)("div",{className:c("space-y-6",(a==null?void 0:a.card)==="outline"||(a==null?void 0:a.card)==="light"?"prose text-foreground":"prose text-gray-100",e&&"prose text-background"),children:l}),s&&s.url&&(0,De.jsx)("div",{className:"pt-6 h-full flex items-end justify-start",children:(0,De.jsx)("a",{className:"text-accent justify-start font-semibold uppercase",href:s.url||"#",children:(s==null?void 0:s.label)||"Find out more"})}),(a==null?void 0:a.card)==="radial"&&(0,De.jsx)("div",{className:"absolute bottom-0 right-0 w-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})]})}var Jr=({icon:e,heading:r,variant:t,iconSize:n,subtitle:l})=>e&&n==="small"&&e.iconName!="no-icon-error"?(0,De.jsxs)("div",{className:"flex items-start justify-between w-full mb-2",children:[(0,De.jsx)("div",{className:c("font-semibold",t==="outline"||t==="light"?"text-primary":"text-white",n==="small"?"text-2xl":"text-3xl"),children:r}),rr(e)&&(0,De.jsx)("div",{className:c("rounded-full De-0 transform group-hover:scale-110 transition-transform duration-400",t==="outline"||t==="light"?"text-primary":"text-white",n==="small"?"mt-2":""),children:(0,De.jsx)(be,{type:e.type,iconName:e.iconName,size:"2x"})})]}):e&&e.iconName!="no-icon-error"?(0,De.jsxs)("div",{className:"flex flex-col gap-4",children:[rr(e)&&(0,De.jsx)("div",{className:c("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",t==="outline"||t==="light"?"text-accent":""),children:(0,De.jsx)(be,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,De.jsx)("h3",{className:c("font-normal",t==="outline"||t==="light"?"text-2xl text-primary":"text-3xl"),children:r})]}):(0,De.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,De.jsx)("div",{className:c("font-regular",t==="outline"||t==="light"?"text-2xl text-primary":"text-3xl"),children:r})});var or=({title:e,description:r,features:t,id:n,nested:l=!1})=>(0,De.jsxs)("section",{className:c(!l&&"container","w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,De.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl text-primary",id:n||"",children:e}),r&&typeof r=="string"&&(0,De.jsx)("De",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:r}),r&&typeof r=="object"&&(0,De.jsx)("De",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:(0,De.jsx)(F,{content:r,enableGutter:!1})}),(0,De.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${t?t.length:1}`,children:t&&t.map((o,a)=>{var d;let s=()=>{if(o.icon&&"type"in o.icon&&o.icon.type!=="none")return{type:o.icon.type,iconName:o.icon.icon}};return(0,De.jsx)(ge,{title:o.title||"",content:o.content||void 0,statistic:o.statistic||void 0,settings:{...o.settings,width:"auto",order:a},link:o.link?{...o.link,label:"Learn more"}:void 0,icon:(d=s())!=null?d:{type:"none",iconName:null}},a)})})]});var ee=U(require("react"));function J({nodes:e}){return(0,De.jsx)(ee.Fragment,{children:e==null?void 0:e.map((r,t)=>{if(r==null)return null;if(r.type==="text"&&r.text){let o=(0,De.jsx)(ee.default.Fragment,{children:r.text},t);return r.format&1&&(o=(0,De.jsx)("strong",{children:o},t)),r.format&2&&(o=(0,De.jsx)("em",{children:o},t)),r.format&4&&(o=(0,De.jsx)("span",{style:{textDecoration:"line-through"},children:o},t)),r.format&8&&(o=(0,De.jsx)("span",{style:{textDecoration:"underline"},children:o},t)),r.format&16&&(o=(0,De.jsx)("code",{children:r.text},t)),r.format&32&&(o=(0,De.jsx)("sub",{children:o},t)),r.format&64&&(o=(0,De.jsx)("sup",{children:o},t)),o}if(r.type==="table")return(0,De.jsx)("table",{children:(0,De.jsx)("tbody",{children:r.children.map((o,a)=>(0,De.jsx)("tr",{children:o.children.map((s,d)=>(0,De.jsx)("td",{children:J({nodes:s.children})},d))},a))})},t);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 a of o.children)"checked"in a&&(a!=null&&a.checked||(a.checked=!1));return J({nodes:o.children})},l="children"in r?n(r):"";if(r.type==="block"){let o=r.fields,a=o==null?void 0:o.blockType;if(!o||!a)return null;switch(a){case"cta":return(0,De.jsx)(Ue,{...o},t);case"mediaBlock":return(0,De.jsx)(Ze,{className:"col-start-1 col-span-3",imgClassName:"De-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},t);case"imageBlock":return(0,De.jsx)($e,{className:"col-start-1 col-span-3",imgClassName:"De-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},t);case"banner":return(0,De.jsx)(ye,{className:"col-start-2 mb-4",...o},t);case"code":return(0,De.jsx)(Oe,{className:"col-start-2",...o},t);case"features":return(0,De.jsx)(or,{...o,nested:!0},t);case"reusableContentBlock":J({nodes:o.reusableContent.layout});default:return null}}else switch(r.type){case"linebreak":return(0,De.jsx)("br",{className:"col-start-2"},t);case"paragraph":return(0,De.jsx)("De",{className:"col-start-2",children:l},t);case"heading":{let o=r==null?void 0:r.tag;return(0,De.jsx)(o,{className:"col-start-2",id:(r==null?void 0:r.id)||"",children:l},t)}case"list":{let o=r==null?void 0:r.tag;return(0,De.jsx)(o,{className:"list col-start-2",children:l},t)}case"listitem":return(r==null?void 0:r.checked)!=null?(0,De.jsx)("li",{"aria-checked":r.checked?"true":"false",className:` ${r.checked,""}`,role:"checkbox",tabIndex:-1,value:r==null?void 0:r.value,children:l},t):(0,De.jsx)("li",{value:r==null?void 0:r.value,children:l},t);case"quote":return(0,De.jsx)("blockquote",{className:"col-start-2",children:l},t);case"link":{let o=r.fields;return(0,De.jsx)(O,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:l},t)}case"autolink":{let o=r.fields;return(0,De.jsx)(O,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:l},t)}default:return null}})})}var F=({className:e,content:r,enableGutter:t=!0,enableProse:n=!0})=>{var l;return r?(0,De.jsx)("div",{className:c({"container ":t,"max-w-none":!t,"mx-auto prose dark:prose-invert ":n},e),children:r&&!Array.isArray(r)&&typeof r=="object"&&"root"in r&&J({nodes:(l=r==null?void 0:r.root)==null?void 0:l.children})}):null};var ye=({className:e,content:r,style:t})=>(0,De.jsx)("div",{className:c("mx-auto my-8 w-full",e),children:(0,De.jsx)("div",{className:c("border py-3 px-6 flex items-center rounded",{"border-border bg-card":t==="info","border-error bg-error/30":t==="error","border-success bg-success/30":t==="success","border-warning bg-warning/30":t==="warning"}),children:(0,De.jsx)(F,{content:r,enableGutter:!1,enableProse:!1})})});0&&(module.exports={BannerBlock});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-XJF3K46N.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-OI2YT2ZF.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-2A6JF3LE.mjs";import"../../chunk-4YJ3HV64.mjs";import"../../chunk-FCCL6W7R.mjs";import"../../chunk-WLBZXBU3.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as BannerBlock};
|