cortex-react-components 1.46.2 → 1.48.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-423OEU3K.mjs → chunk-23EQTK7B.mjs} +1 -1
- package/dist/{chunk-PBKAWMUU.mjs → chunk-35XLNF3G.mjs} +1 -1
- package/dist/{chunk-4BZYZZOG.mjs → chunk-3TIFSACL.mjs} +1 -1
- package/dist/{chunk-7PWDA3UD.mjs → chunk-4GX7CE6Y.mjs} +1 -1
- package/dist/{chunk-H4NT35II.mjs → chunk-4NYS3NVA.mjs} +1 -1
- package/dist/chunk-5F7XZ6XK.mjs +1 -0
- package/dist/{chunk-KB6PO4K4.mjs → chunk-5YTDIEDJ.mjs} +1 -1
- package/dist/{chunk-SOZ265PX.mjs → chunk-6KJKKF7P.mjs} +1 -1
- package/dist/{chunk-BK5FPGFH.mjs → chunk-74KJ5V34.mjs} +1 -1
- package/dist/{chunk-KJBMLPHS.mjs → chunk-7FMMXR7S.mjs} +1 -1
- package/dist/chunk-7FR5BXX2.mjs +1 -0
- package/dist/{chunk-SBAFXZVU.mjs → chunk-AAI2VZST.mjs} +1 -1
- package/dist/{chunk-PGSQ2PAH.mjs → chunk-ABQMNGD4.mjs} +1 -1
- package/dist/{chunk-4ZT572BM.mjs → chunk-ATONX5RA.mjs} +1 -1
- package/dist/{chunk-PKB6F4J5.mjs → chunk-B7DV5BIM.mjs} +1 -1
- package/dist/{chunk-654RXN5C.mjs → chunk-BI3AMPYD.mjs} +1 -1
- package/dist/{chunk-OKGREBP5.mjs → chunk-BWGRPPZL.mjs} +1 -1
- package/dist/{chunk-4OQHZ5FW.mjs → chunk-BWT2MAIT.mjs} +1 -1
- package/dist/{chunk-PV7GB4V4.mjs → chunk-E2LKSCDR.mjs} +1 -1
- package/dist/{chunk-5EFOKBKA.mjs → chunk-EQDX6HFN.mjs} +1 -1
- package/dist/{chunk-MZVYPHE3.mjs → chunk-EQFBRT7L.mjs} +1 -1
- package/dist/{chunk-4QHYOUY7.mjs → chunk-ETZFHPXX.mjs} +1 -1
- package/dist/{chunk-6G2YEF4M.mjs → chunk-FR65RGJD.mjs} +1 -1
- package/dist/{chunk-XHDR7I54.mjs → chunk-G5HD4IFA.mjs} +1 -1
- package/dist/{chunk-KAJDV47B.mjs → chunk-GHBJK554.mjs} +1 -1
- package/dist/{chunk-7QOBENUU.mjs → chunk-I3JB7SE2.mjs} +1 -1
- package/dist/{chunk-KQE42INF.mjs → chunk-I5EBXVLE.mjs} +1 -1
- package/dist/{chunk-HE3WBVX5.mjs → chunk-IQ7LAP7P.mjs} +1 -1
- package/dist/{chunk-PY53YVFX.mjs → chunk-KEUZSK3N.mjs} +1 -1
- package/dist/{chunk-M24IHGNE.mjs → chunk-KTVHPTON.mjs} +1 -1
- package/dist/{chunk-TKACTYOE.mjs → chunk-LIAT3JG5.mjs} +1 -1
- package/dist/{chunk-7OHZFWIJ.mjs → chunk-MLLI6A3T.mjs} +1 -1
- package/dist/{chunk-ICTOXY7D.mjs → chunk-NGK3IDFP.mjs} +1 -1
- package/dist/{chunk-FOMKMFJX.mjs → chunk-NRE4HHK7.mjs} +1 -1
- package/dist/{chunk-UK4IPFAO.mjs → chunk-PVRWMAHW.mjs} +1 -1
- package/dist/{chunk-UMILL4LR.mjs → chunk-QO2Z7WXW.mjs} +1 -1
- package/dist/{chunk-W66SVCJY.mjs → chunk-QZA2ZGA2.mjs} +1 -1
- package/dist/{chunk-V7YLLLES.mjs → chunk-RZTXT4UD.mjs} +1 -1
- package/dist/{chunk-TCJJQBFS.mjs → chunk-TUQRCNY6.mjs} +1 -1
- package/dist/{chunk-MANZDSTF.mjs → chunk-UD7JYMRU.mjs} +1 -1
- package/dist/{chunk-HUN2X4VH.mjs → chunk-Y6CZVVJF.mjs} +1 -1
- package/dist/{chunk-23L5ZJ2U.mjs → chunk-Z4CK655R.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/Content.js +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.d.ts +4 -20
- package/dist/components/Blocks/FeaturesBlock.js +1 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.js +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
- package/dist/components/Blocks/ImageBlock.mjs +1 -1
- package/dist/components/Blocks/MediaBlock.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/ReusableContent.css +1 -0
- package/dist/components/Blocks/ReusableContent.d.ts +8 -0
- package/dist/components/Blocks/ReusableContent.js +4 -0
- package/dist/components/Blocks/ReusableContent.mjs +1 -0
- 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/index.js +4 -4
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/HeaderFooter/Footer.mjs +1 -1
- package/dist/components/HeaderFooter/Footer.stories.mjs +1 -1
- package/dist/components/HeaderFooter/Header.mjs +1 -1
- package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.stories.mjs +1 -1
- package/dist/components/HeaderFooter/SectionHeading.js +1 -1
- package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
- package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Heros/HighImpact/index.js +1 -1
- package/dist/components/Heros/HighImpact/index.mjs +1 -1
- package/dist/components/Heros/LowImpact/index.js +1 -1
- package/dist/components/Heros/LowImpact/index.mjs +1 -1
- package/dist/components/Heros/MediumImpact/index.js +1 -1
- package/dist/components/Heros/MediumImpact/index.mjs +1 -1
- package/dist/components/Heros/PostHero/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.js +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/SectionHero/index.mjs +1 -1
- package/dist/components/Heros/index.js +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Holidays/HolidayTracker.mjs +1 -1
- package/dist/components/Holidays/HolidayTracker.stories.mjs +1 -1
- package/dist/components/Holidays/index.mjs +1 -1
- package/dist/components/Layouts/BlogList.js +3 -3
- package/dist/components/Layouts/BlogList.mjs +1 -1
- package/dist/components/Layouts/BlogList.stories.js +3 -3
- package/dist/components/Layouts/BlogList.stories.mjs +1 -1
- package/dist/components/Layouts/SlideShow.js +1 -1
- package/dist/components/Layouts/SlideShow.mjs +1 -1
- package/dist/components/Layouts/SlideShow.stories.js +1 -1
- package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
- package/dist/components/Layouts/index.js +3 -3
- 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/Card/index.mjs +1 -1
- package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
- package/dist/components/Payload/Media/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.d.ts +12 -2
- 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 +6 -6
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/button.d.ts +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/components/ui/sidebar.mjs +1 -1
- package/dist/index.js +8 -8
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/pages/Blog.js +1 -1
- package/dist/pages/Blog.mjs +1 -1
- package/dist/pages/Blog.stories.js +1 -1
- package/dist/pages/Blog.stories.mjs +1 -1
- package/dist/pages/Documentation.mjs +1 -1
- package/dist/pages/Documentation.stories.mjs +1 -1
- package/dist/pages/IndexPage.mjs +1 -1
- package/dist/pages/IndexPage.stories.mjs +1 -1
- package/dist/pages/Intranet.mjs +1 -1
- package/dist/pages/Intranet.stories.mjs +1 -1
- package/dist/pages/LandingPage.mjs +1 -1
- package/dist/pages/LandingPage.stories.mjs +1 -1
- package/dist/pages/Page.js +1 -1
- package/dist/pages/Page.mjs +1 -1
- package/dist/pages/Page.stories.js +183 -183
- package/dist/pages/Page.stories.mjs +1 -1
- package/dist/pages/Publish.js +1 -1
- package/dist/pages/Publish.mjs +1 -1
- package/dist/pages/Publish.stories.js +1 -1
- package/dist/pages/Publish.stories.mjs +1 -1
- package/dist/pages/Website.js +1 -1
- package/dist/pages/Website.mjs +1 -1
- package/dist/pages/Website.stories.js +2 -2
- package/dist/pages/Website.stories.mjs +1 -1
- package/dist/payload-types.d.ts +300 -3
- package/dist/payload-types.js +1 -1
- package/dist/sections/AboutSection.js +1 -1
- package/dist/sections/AboutSection.mjs +1 -1
- package/dist/sections/AboutSection.stories.js +1 -1
- package/dist/sections/AboutSection.stories.mjs +1 -1
- package/dist/sections/BlogDetail.js +1 -1
- package/dist/sections/BlogDetail.mjs +1 -1
- package/dist/sections/BlogDetail.stories.js +1 -1
- package/dist/sections/BlogDetail.stories.mjs +1 -1
- package/dist/sections/BlogListSection.mjs +1 -1
- package/dist/sections/BlogListSection.stories.mjs +1 -1
- package/dist/sections/ContactSection.js +1 -1
- package/dist/sections/ContactSection.mjs +1 -1
- package/dist/sections/ContactSection.stories.js +1 -1
- package/dist/sections/ContactSection.stories.mjs +1 -1
- package/dist/sections/ImageSection.stories.js +1 -1
- package/dist/sections/ImageSection.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/ServiceSection.mjs +1 -1
- package/dist/sections/ServiceSection.stories.mjs +1 -1
- package/dist/sections/form/index.mjs +1 -1
- package/dist/sections/index.js +1 -1
- package/dist/sections/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-QEJAJJSS.mjs +0 -1
- package/dist/chunk-XZEJC3UX.mjs +0 -1
- package/dist/chunk-ZSRAJP4K.mjs +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as l}from"../chunk-
|
|
1
|
+
import{a as l}from"../chunk-I5EBXVLE.mjs";import{a as s}from"../chunk-VXZJ3JK5.mjs";import"../chunk-4DJ6HKHR.mjs";import"../chunk-WU3JMLSC.mjs";import"../chunk-BZAYEKYC.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-DRJBYVJB.mjs";import"../chunk-RZTXT4UD.mjs";import"../chunk-ZDPQXVTF.mjs";import"../chunk-CS77R54Z.mjs";import"../chunk-Z4CK655R.mjs";import"../chunk-GHBJK554.mjs";import"../chunk-3TIFSACL.mjs";import"../chunk-SV3TTIPR.mjs";import"../chunk-XDP6BKTK.mjs";import"../chunk-HAYRX2WO.mjs";import"../chunk-YNNW2C2U.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-UESKYRNK.mjs";import{a as t}from"../chunk-SFLOMJ2U.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-NSBNDXRL.mjs";import{d as a}from"../chunk-S7OK7D5I.mjs";var i=a(s());import{PhoneIcon as c,PlayCircleIcon as d,RectangleGroupIcon as m}from"@heroicons/react/20/solid";import{ChartPieIcon as u,CursorArrowRaysIcon as h}from"@heroicons/react/24/outline";import{jsx as e,jsxs as n}from"react/jsx-runtime";var p=()=>e(t,{iconName:"github",size:"4x",type:"brands"});var g=()=>e(t,{iconName:"people-sharing",size:"4x",type:"kit"}),f=()=>e(t,{iconName:"cloud-network-sharing",size:"4x",type:"kit"}),b=()=>e(t,{iconName:"development",size:"4x",type:"kit"}),I={title:"Example Pages/LandingPage",component:l,decorators:[o=>e("div",{className:"bg-sidebar",children:e(o,{})})]},y=o=>e(l,{...o}),r={render:y,args:{title:"Storage Service",section:"Storage",description:"A scalable object storage service that offers industry-leading performance, security, and availability.",children:n("div",{className:"prose max-w-none",children:[e("h2",{children:"How it works"}),e("p",{children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."}),e("div",{className:"aspect-video overflow-hidden rounded-lg bg-slate-100",children:e("div",{className:"flex h-full items-center justify-center",children:"Video Placeholder"})})]}),header:{title:"Storage Service",subtitle:"A scalable object storage service that offers industry-leading performance, security, and availability.",menuItems:[{name:"Documentation",items:[{name:"Platforms & Services",description:"Cloud services",href:"#",icon:f},{name:"Solutions & Propositions",description:"Solutions that we have built",href:"#",icon:g},{name:"Products",description:"Products that we sell",href:"#",icon:b}]},{name:"Resources",items:[{name:"Documentation",href:"#",icon:u},{name:"API Reference",href:"#",icon:h},{name:"Github",href:"#",icon:p}],actions:[{name:"Watch demo",href:"#",icon:d},{name:"Contact sales",href:"#",icon:c},{name:"View all products",href:"#",icon:m}]},{name:"Intranet",href:"#"}]},sidebarRight:{tableOfContents:[{title:"Getting Started",url:"#",links:[{title:"Installation",url:"#",isActive:!0},{title:"Project Structure",url:"#"}]},{title:"Building Your Application",url:"#",links:[{title:"Routing",url:"#",isDraft:!0},{title:"Data Fetching",url:"#"},{title:"Rendering",url:"#"},{title:"Caching",url:"#"},{title:"Styling",url:"#"},{title:"Optimizing",url:"#"},{title:"Configuring",url:"#"},{title:"Testing",url:"#"},{title:"Authentication",url:"#"},{title:"Deploying",url:"#"},{title:"Upgrading",url:"#"},{title:"Examples",url:"#"}]},{title:"API Reference",url:"#",links:[{title:"Components",url:"#"},{title:"File Conventions",url:"#"},{title:"Functions",url:"#"},{title:"next.config.js Options",url:"#"},{title:"CLI",url:"#"},{title:"Edge Runtime",url:"#"}]},{title:"Architecture",url:"#",links:[{title:"Accessibility",url:"#"},{title:"Fast Refresh",url:"#"},{title:"Next.js Compiler",url:"#"},{title:"Supported Browsers",url:"#"},{title:"Turbopack",url:"#"}]},{title:"Community",url:"#",links:[{title:"Contribution Guide",url:"#"}]}],relatedContent:{knowledge:[{label:"AWS Risk Assessment Terraform Module",url:"/knowledge/terraform_risk_assessment_AWS/_index.md",type:"published"},{label:"AWS Airview CCF Terraform Module",url:"/knowledge/terraform_aws_airview_ccf/_index.md",type:"note"}],services:[{label:"AWS Account Vending Machine",url:"/services/aws_account_vending_machine/_index.md",type:"published"},{label:"AWS Beanstalk",url:"/services/aws_beanstalk/_index.md",type:"draft"},{label:"AWS Airwalk Network Firewall Terraform Module",url:"/services/aws_vpc/terraform-aws-airwalk-module-networkfirewall.md",type:"published"},{label:"AWS WAF and Shield",url:"/services/aws_waf_and_shield/_index.md",type:"published"}]},onAddDocument:(0,i.fn)(),onEditDocument:(0,i.fn)(),onPrintDocument:(0,i.fn)()}}},A={args:{...r.args,header:{title:"Page Title",subtitle:n("div",{children:[e("p",{className:"text-xl font-bold",children:"A load of text here"}),e("br",{}),e("p",{className:"text-2xl font-bold",children:"A load more text here"})]})}}},P={args:{...r.args,hero:{type:"mediumImpact",media:"stock1.jpg?height=400&width=800",children:e("h1",{className:"text-4xl font-bold",children:"Medium Impact Hero"})},heroBackgroundImage:"stock1.jpg?height=400&width=800"}},C={args:{...r.args,hero:{type:"highImpact",children:e("h1",{className:"text-4xl font-bold",children:"High Impact Hero"}),media:"stock1.jpg?height=400&width=800"},heroBackgroundImage:"stock1.jpg?height=400&width=800"}},_={args:{...r.args,hero:{type:"highImpact",children:e("h1",{className:"text-4xl font-bold",children:"Post Hero"}),media:"stock1.jpg?height=400&width=800"},media:"stock1.jpg?height=400&width=800"}};export{r as Default,C as HighImpactHero,A as HtmlSubtitle,P as MediumImpactHero,_ as PostHero,I as default};
|
package/dist/pages/Page.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";"use client";var ar=Object.create;var de=Object.defineProperty;var nr=Object.getOwnPropertyDescriptor;var sr=Object.getOwnPropertyNames;var ir=Object.getPrototypeOf,lr=Object.prototype.hasOwnProperty;var cr=(e,t)=>{for(var r in t)de(e,r,{get:t[r],enumerable:!0})},Ke=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of sr(t))!lr.call(e,n)&&n!==r&&de(e,n,{get:()=>t[n],enumerable:!(a=nr(t,n))||a.enumerable});return e};var M=(e,t,r)=>(r=e!=null?ar(ir(e)):{},Ke(t||!e||!e.__esModule?de(r,"default",{value:e,enumerable:!0}):r,e)),dr=e=>Ke(de({},"__esModule",{value:!0}),e);var Wr={};cr(Wr,{default:()=>or});module.exports=dr(Wr);var V=M(require("react"));var nt=require("clsx");var Me="-",pr=e=>{let t=ur(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:i=>{let s=i.split(Me);return s[0]===""&&s.length!==1&&s.shift(),Ze(s,t)||mr(i)},getConflictingClassGroupIds:(i,s)=>{let d=r[i]||[];return s&&a[i]?[...d,...a[i]]:d}}},Ze=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),n=a?Ze(e.slice(1),a):void 0;if(n)return n;if(t.validators.length===0)return;let o=e.join(Me);return(i=t.validators.find(({validator:s})=>s(o)))==null?void 0:i.classGroupId},We=/^\[(.+)\]$/,mr=e=>{if(We.test(e)){let t=We.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},ur=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return fr(Object.entries(e.classGroups),r).forEach(([o,i])=>{Be(i,a,o,t)}),a},Be=(e,t,r,a)=>{e.forEach(n=>{if(typeof n=="string"){let o=n===""?t:qe(t,n);o.classGroupId=r;return}if(typeof n=="function"){if(gr(n)){Be(n(a),t,r,a);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([o,i])=>{Be(i,qe(t,o),r,a)})})},qe=(e,t)=>{let r=e;return t.split(Me).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},gr=e=>e.isThemeGetter,fr=(e,t)=>t?e.map(([r,a])=>{let n=a.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,s])=>[t+i,s])):o);return[r,n]}):e,br=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,a=new Map,n=(o,i)=>{r.set(o,i),t++,t>e&&(t=0,a=r,r=new Map)};return{get(o){let i=r.get(o);if(i!==void 0)return i;if((i=a.get(o))!==void 0)return n(o,i),i},set(o,i){r.has(o)?r.set(o,i):n(o,i)}}},et="!",hr=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,n=t[0],o=t.length,i=s=>{let d=[],m=0,b=0,C;for(let k=0;k<s.length;k++){let S=s[k];if(m===0){if(S===n&&(a||s.slice(k,k+o)===t)){d.push(s.slice(b,k)),b=k+o;continue}if(S==="/"){C=k;continue}}S==="["?m++:S==="]"&&m--}let u=d.length===0?s:s.substring(b),v=u.startsWith(et),R=v?u.substring(1):u,w=C&&C>b?C-b:void 0;return{modifiers:d,hasImportantModifier:v,baseClassName:R,maybePostfixModifierPosition:w}};return r?s=>r({className:s,parseClassName:i}):i},yr=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(a=>{a[0]==="["?(t.push(...r.sort(),a),r=[]):r.push(a)}),t.push(...r.sort()),t},xr=e=>({cache:br(e.cacheSize),parseClassName:hr(e),...pr(e)}),vr=/\s+/,wr=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:n}=t,o=[],i=e.trim().split(vr),s="";for(let d=i.length-1;d>=0;d-=1){let m=i[d],{modifiers:b,hasImportantModifier:C,baseClassName:u,maybePostfixModifierPosition:v}=r(m),R=!!v,w=a(R?u.substring(0,v):u);if(!w){if(!R){s=m+(s.length>0?" "+s:s);continue}if(w=a(u),!w){s=m+(s.length>0?" "+s:s);continue}R=!1}let k=yr(b).join(":"),S=C?k+et:k,I=S+w;if(o.includes(I))continue;o.push(I);let U=n(w,R);for(let J=0;J<U.length;++J){let ie=U[J];o.push(S+ie)}s=m+(s.length>0?" "+s:s)}return s};function kr(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=tt(t))&&(a&&(a+=" "),a+=r);return a}var tt=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=tt(e[a]))&&(r&&(r+=" "),r+=t);return r};function Cr(e,...t){let r,a,n,o=i;function i(d){let m=t.reduce((b,C)=>C(b),e());return r=xr(m),a=r.cache.get,n=r.cache.set,o=s,s(d)}function s(d){let m=a(d);if(m)return m;let b=wr(d,r);return n(d,b),b}return function(){return o(kr.apply(null,arguments))}}var y=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},rt=/^\[(?:([a-Y-]+):)?(.+)\]$/i,Nr=/^\d+\/\d+$/,Sr=new Set(["px","full","screen"]),Pr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Tr=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|Y|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Ir=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Ar=/^(inset_)?-?((\d+)?\.?(\d+)[a-Y]+|0)_-?((\d+)?\.?(\d+)[a-Y]+|0)/,Rr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,F=e=>$(e)||Sr.has(e)||Nr.test(e),E=e=>K(e,"length",Er),$=e=>!!e&&!Number.isNaN(Number(e)),Re=e=>K(e,"number",$),te=e=>!!e&&Number.isInteger(Number(e)),Br=e=>e.endsWith("%")&&$(e.slice(0,-1)),c=e=>rt.test(e),G=e=>Pr.test(e),Mr=new Set(["length","size","percentage"]),Dr=e=>K(e,Mr,ot),Hr=e=>K(e,"position",ot),Lr=new Set(["image","url"]),Fr=e=>K(e,Lr,Or),zr=e=>K(e,"",Gr),re=()=>!0,K=(e,t,r)=>{let a=rt.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},Er=e=>Tr.test(e)&&!Ir.test(e),ot=()=>!1,Gr=e=>Ar.test(e),Or=e=>Rr.test(e);var Ur=()=>{let e=y("colors"),t=y("spacing"),r=y("blur"),a=y("brightness"),n=y("borderColor"),o=y("borderRadius"),i=y("borderSpacing"),s=y("borderWidth"),d=y("contrast"),m=y("grayscale"),b=y("hueRotate"),C=y("invert"),u=y("gap"),v=y("gradientColorStops"),R=y("gradientColorStopPositions"),w=y("inset"),k=y("margin"),S=y("opacity"),I=y("padding"),U=y("saturate"),J=y("scale"),ie=y("sepia"),Ve=y("skew"),Ye=y("space"),_e=y("translate"),Pe=()=>["auto","contain","none"],Te=()=>["auto","hidden","clip","visible","scroll"],Ie=()=>["auto",c,t],x=()=>[c,t],Xe=()=>["",F,E],le=()=>["auto",$,c],je=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ce=()=>["solid","dashed","dotted","double","none"],Qe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Ae=()=>["start","end","center","between","around","evenly","stretch"],ee=()=>["","0",c],$e=()=>["auto","avoid","all","avoid-page","page","left","right","column"],L=()=>[$,c];return{cacheSize:500,separator:":",theme:{colors:[re],spacing:[F,E],blur:["none","",G,c],brightness:L(),borderColor:[e],borderRadius:["none","","full",G,c],borderSpacing:x(),borderWidth:Xe(),contrast:L(),grayscale:ee(),hueRotate:L(),invert:ee(),gap:x(),gradientColorStops:[e],gradientColorStopPositions:[Br,E],inset:Ie(),margin:Ie(),opacity:L(),padding:x(),saturate:L(),scale:L(),sepia:ee(),skew:L(),space:x(),translate:x()},classGroups:{aspect:[{aspect:["auto","square","video",c]}],container:["container"],columns:[{columns:[G]}],"break-after":[{"break-after":$e()}],"break-before":[{"break-before":$e()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...je(),c]}],overflow:[{overflow:Te()}],"overflow-x":[{"overflow-x":Te()}],"overflow-y":[{"overflow-y":Te()}],overscroll:[{overscroll:Pe()}],"overscroll-x":[{"overscroll-x":Pe()}],"overscroll-y":[{"overscroll-y":Pe()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[w]}],"inset-x":[{"inset-x":[w]}],"inset-y":[{"inset-y":[w]}],start:[{start:[w]}],end:[{end:[w]}],top:[{top:[w]}],right:[{right:[w]}],bottom:[{bottom:[w]}],left:[{left:[w]}],visibility:["visible","invisible","collapse"],Y:[{Y:["auto",te,c]}],basis:[{basis:Ie()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",c]}],grow:[{grow:ee()}],shrink:[{shrink:ee()}],order:[{order:["first","last","none",te,c]}],"grid-cols":[{"grid-cols":[re]}],"col-start-end":[{col:["auto",{span:["full",te,c]},c]}],"col-start":[{"col-start":le()}],"col-end":[{"col-end":le()}],"grid-rows":[{"grid-rows":[re]}],"row-start-end":[{row:["auto",{span:[te,c]},c]}],"row-start":[{"row-start":le()}],"row-end":[{"row-end":le()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",c]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",c]}],gap:[{gap:[u]}],"gap-x":[{"gap-x":[u]}],"gap-y":[{"gap-y":[u]}],"justify-content":[{justify:["normal",...Ae()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Ae(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Ae(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],Y:[{Y:[I]}],px:[{px:[I]}],py:[{py:[I]}],ps:[{ps:[I]}],pe:[{pe:[I]}],pt:[{pt:[I]}],pr:[{pr:[I]}],pb:[{pb:[I]}],pl:[{pl:[I]}],m:[{m:[k]}],mx:[{mx:[k]}],my:[{my:[k]}],ms:[{ms:[k]}],me:[{me:[k]}],Se:[{Se:[k]}],mr:[{mr:[k]}],mb:[{mb:[k]}],ml:[{ml:[k]}],"space-x":[{"space-x":[Ye]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Ye]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",c,t]}],"min-w":[{"min-w":[c,t,"min","max","fit"]}],"max-w":[{"max-w":[c,t,"none","full","min","max","fit","prose",{screen:[G]},G]}],Y:[{Y:[c,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-Y":[{"min-Y":[c,t,"min","max","fit","svh","lvh","dvh"]}],"max-Y":[{"max-Y":[c,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[c,t,"auto","min","max","fit"]}],"font-size":[{text:["base",G,E]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Re]}],"font-family":[{font:[re]}],"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",c]}],"line-clamp":[{"line-clamp":["none",$,Re]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",F,c]}],"list-image":[{"list-image":["none",c]}],"list-style-type":[{list:["none","disc","decimal",c]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[S]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[S]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ce(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",F,E]}],"underline-offset":[{"underline-offset":["auto",F,c]}],"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:x()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",c]}],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",c]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[S]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...je(),Hr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Dr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Fr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[R]}],"gradient-via-pos":[{via:[R]}],"gradient-to-pos":[{to:[R]}],"gradient-from":[{from:[v]}],"gradient-via":[{via:[v]}],"gradient-to":[{to:[v]}],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-Y":[{"rounded-Y":[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":[S]}],"border-style":[{border:[...ce(),"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":[S]}],"divide-style":[{divide:ce()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...ce()]}],"outline-offset":[{"outline-offset":[F,c]}],"outline-w":[{outline:[F,E]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Xe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[S]}],"ring-offset-w":[{"ring-offset":[F,E]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",G,zr]}],"shadow-color":[{shadow:[re]}],opacity:[{opacity:[S]}],"mix-blend":[{"mix-blend":[...Qe(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Qe()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",G,c]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[b]}],invert:[{invert:[C]}],saturate:[{saturate:[U]}],sepia:[{sepia:[ie]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[b]}],"backdrop-invert":[{"backdrop-invert":[C]}],"backdrop-opacity":[{"backdrop-opacity":[S]}],"backdrop-saturate":[{"backdrop-saturate":[U]}],"backdrop-sepia":[{"backdrop-sepia":[ie]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",c]}],duration:[{duration:L()}],ease:[{ease:["linear","in","out","in-out",c]}],delay:[{delay:L()}],animate:[{animate:["none","spin","ping","pulse","bounce",c]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[J]}],"scale-x":[{"scale-x":[J]}],"scale-y":[{"scale-y":[J]}],rotate:[{rotate:[te,c]}],"translate-x":[{"translate-x":[_e]}],"translate-y":[{"translate-y":[_e]}],"skew-x":[{"skew-x":[Ve]}],"skew-y":[{"skew-y":[Ve]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",c]}],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","Y-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",c]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":x()}],"scroll-mx":[{"scroll-mx":x()}],"scroll-my":[{"scroll-my":x()}],"scroll-ms":[{"scroll-ms":x()}],"scroll-me":[{"scroll-me":x()}],"scroll-Se":[{"scroll-Se":x()}],"scroll-mr":[{"scroll-mr":x()}],"scroll-mb":[{"scroll-mb":x()}],"scroll-ml":[{"scroll-ml":x()}],"scroll-Y":[{"scroll-Y":x()}],"scroll-px":[{"scroll-px":x()}],"scroll-py":[{"scroll-py":x()}],"scroll-ps":[{"scroll-ps":x()}],"scroll-pe":[{"scroll-pe":x()}],"scroll-pt":[{"scroll-pt":x()}],"scroll-pr":[{"scroll-pr":x()}],"scroll-pb":[{"scroll-pb":x()}],"scroll-pl":[{"scroll-pl":x()}],"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",c]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[F,E,Re]}],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"],Y:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","Se","mr","mb","ml"],mx:["mr","ml"],my:["Se","mb"],size:["w","Y"],"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-Y","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-Y","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-Se","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-Se","scroll-mb"],"scroll-Y":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var at=Cr(Ur);function l(...e){return at((0,nt.clsx)(e))}var Y=require("react/jsx-runtime"),pe=V.forwardRef(({className:e,...t},r)=>(0,Y.jsx)("div",{ref:r,className:l("rounded-xl border bg-card text-card-foreground shadow",e),...t}));pe.displayName="Card";var me=V.forwardRef(({className:e,...t},r)=>(0,Y.jsx)("div",{ref:r,className:l("flex flex-col space-y-1.5 Y-6",e),...t}));me.displayName="CardHeader";var ue=V.forwardRef(({className:e,...t},r)=>(0,Y.jsx)("div",{ref:r,className:l("font-semibold leading-none tracking-tight",e),...t}));ue.displayName="CardTitle";var Jr=V.forwardRef(({className:e,...t},r)=>(0,Y.jsx)("div",{ref:r,className:l("text-sm text-muted-foreground",e),...t}));Jr.displayName="CardDescription";var ge=V.forwardRef(({className:e,...t},r)=>(0,Y.jsx)("div",{ref:r,className:l("Y-6 pt-0",e),...t}));ge.displayName="CardContent";var Vr=V.forwardRef(({className:e,...t},r)=>(0,Y.jsx)("div",{ref:r,className:l("flex items-center Y-6 pt-0",e),...t}));Vr.displayName="CardFooter";var st=require("@radix-ui/react-slot"),it=require("class-variance-authority"),lt=M(require("react")),Yr=(0,it.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:"Y-10 px-4 py-2",icon:"Y-10 w-10",lg:"Y-11 rounded px-8",sm:"Y-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"}}}),_=lt.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...n},o)=>(0,Y.jsx)(e?st.Slot:"button",{className:l(Yr({className:t,size:r,variant:a})),ref:o,...n}));_.displayName="Button";var Se=require("lucide-react");var dt=({className:e,content:t,style:r})=>(0,Y.jsx)("div",{className:l("mx-auto my-8 w-full",e),children:(0,Y.jsx)("div",{className:l("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,Y.jsx)(B,{content:t,enableGutter:!1,enableProse:!1})})});var De=M(require("next/link")),X=e=>{let{type:t,appearance:r="inline",children:a,className:n,label:o,newTab:i,reference:s,size:d,url:m}=e,b=t==="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}`:m;if(!b)return null;let C=r==="link"?"clear":d,u=i?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,Y.jsxs)(De.default,{className:l(n),href:b||m||"",...u,children:[o&&o,a&&a]}):(0,Y.jsx)(_,{asChild:!0,className:n,size:C,variant:r,children:(0,Y.jsxs)(De.default,{className:l(n),href:b||m||"",...u,children:[o&&o,a&&a]})})};var pt=({links:e,richText:t})=>(0,Y.jsx)("div",{className:"container",children:(0,Y.jsxs)("div",{className:"bg-card rounded border-border border Y-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,Y.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,Y.jsx)(B,{className:"mb-0",content:t,enableGutter:!1})}),(0,Y.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},a)=>(0,Y.jsx)(X,{size:"lg",...r},a))})]})});var be=require("prism-react-renderer");var ut=require("react");function gt({code:e}){let[t,r]=(0,ut.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,Y.jsx)("div",{className:"flex justify-end align-middle",children:(0,Y.jsxs)(_,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,Y.jsx)("Y",{children:t}),(0,Y.jsx)("div",{className:"w-6 Y-6 dark:invert",children:(0,Y.jsx)(Se.ClipboardCopy,{})})]})})}var ft=({code:e,language:t=""})=>e?(0,Y.jsx)(be.Highlight,{code:e,language:t,theme:be.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:n})=>(0,Y.jsxs)("pre",{className:"bg-black Y-4 border text-xs border-border rounded overflow-x-auto",children:[n.map((o,i)=>(0,Y.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,Y.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,Y.jsx)("span",{className:"table-cell pl-4",children:o.map((s,d)=>(0,Y.jsx)("span",{...a({token:s})},d))})]},i)),(0,Y.jsx)(gt,{code:e})]})}):null;var bt=({className:e,code:t,language:r})=>(0,Y.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Y.jsx)(ft,{code:t,language:r})});var yt=M(require("next/image")),_r={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},ht="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=",xt=e=>{let{alt:t,fill:r,imgClassName:a,priority:n,resource:o,size:i,src:s,loading:d}=e,m,b,C=t,u=s||"";if(!u&&o&&typeof o=="object"){let{alt:w,filename:k,height:S,url:I,width:U}=o;m=U,b=S,C=w||"",u=I||ht}let v=d||"lazy",R=i||Object.entries(_r).map(([,w])=>`(max-width: ${w}px) ${w*2}w`).join(", ");return(0,Y.jsx)("picture",{children:(0,Y.jsx)(yt.default,{alt:C||"",className:l(a),fill:r,height:r?void 0:b,placeholder:"blur",blurDataURL:ht,priority:v!=="lazy"&&n,quality:100,loading:v,sizes:R,src:u,width:r?void 0:m})})};var vt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var wt=()=>{if(vt){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 kt=e=>{let{onClick:t,resource:r,videoClassName:a}=e,n=(0,ut.useRef)(null);if((0,ut.useEffect)(()=>{let{current:o}=n;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,Y.jsx)("video",{autoPlay:!0,className:l(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:n,children:(0,Y.jsx)("source",{src:`${wt()}/media/${o}`})})}return null};var W=e=>{var i;let{className:t,htmlElement:r="div",resource:a}=e,n=typeof a=="object"&&((i=a==null?void 0:a.mimeType)==null?void 0:i.includes("video"));return(0,Y.jsx)(r||ut.Fragment,{...r!==null?{className:t}:{},children:n?(0,Y.jsx)(kt,{...e}):(0,Y.jsx)(xt,{...e})})};var Nt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,Y.jsx)("div",{className:l("",{container:r},t),children:(0,Y.jsx)(W,{imgClassName:l("border border-border rounded-[0.8rem]",a),resource:n,src:o})})};var St=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,Y.jsx)("div",{className:l("",{container:r},t),children:(0,Y.jsx)(W,{imgClassName:l("border border-border rounded-[0.8rem]",a),resource:n,src:o})})};var Pt=({title:e,description:t,features:r,id:a})=>(0,Y.jsxs)("section",{className:l("container w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,Y.jsx)("h2",{className:"mb-6 Se-0 text-2xl font-bold md:text-3xl",id:a||"",children:e}),t&&typeof t=="string"&&(0,Y.jsx)("Y",{className:"mb-5 text-xl tracking-tight md:text-xl",children:t}),t&&typeof t=="object"&&(0,Y.jsx)("Y",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,Y.jsx)(B,{content:t,enableGutter:!1})}),(0,Y.jsx)("div",{className:`grid gap-8 Se-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((n,o)=>{let i=(0,Y.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,Y.jsx)("div",{className:"text-accent Y-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,Y.jsx)("i",{className:`${n.icon.type} fa-${n.icon.icon} fa-4x`})}),(0,Y.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:n.title}),n.content&&typeof n.content!="object"&&(0,Y.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:n.content}}),n.content&&typeof n.content=="object"&&(0,Y.jsx)("div",{className:"text-lg opacity-80",children:(0,Y.jsx)(B,{content:n.content,enableGutter:!1})})]},o);return n.link?(0,Y.jsx)("a",{href:n.link.url?n.link.url:"#",className:"no-underline group",children:i},o):i})})]});var ve=M(require("react"));function xe({nodes:e}){return(0,Y.jsx)(ve.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,Y.jsx)(ve.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,Y.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,Y.jsx)("em",{children:o},r)),t.format&4&&(o=(0,Y.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,Y.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,Y.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,Y.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,Y.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,Y.jsx)("table",{children:(0,Y.jsx)("tbody",{children:t.children.map((o,i)=>(0,Y.jsx)("tr",{children:o.children.map((s,d)=>(0,Y.jsx)("td",{children:xe({nodes:s.children})},d))},i))})},r);let a=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let i of o.children)"checked"in i&&(i!=null&&i.checked||(i.checked=!1));return xe({nodes:o.children})},n="children"in t?a(t):"";if(t.type==="block"){let o=t.fields,i=o==null?void 0:o.blockType;if(!o||!i)return null;switch(i){case"cta":return(0,Y.jsx)(pt,{...o},r);case"mediaBlock":return(0,Y.jsx)(Nt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,Y.jsx)(St,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,Y.jsx)(dt,{className:"col-start-2 mb-4",...o},r);case"code":return(0,Y.jsx)(bt,{className:"col-start-2",...o},r);case"features":return(0,Y.jsx)(Pt,{...o},r);default:return null}}else switch(t.type){case"linebreak":return(0,Y.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,Y.jsx)("Y",{className:"col-start-2",children:n},r);case"heading":{let o=t==null?void 0:t.tag;return(0,Y.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:n},r)}case"list":{let o=t==null?void 0:t.tag;return(0,Y.jsx)(o,{className:"list col-start-2",children:n},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,Y.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:n},r):(0,Y.jsx)("li",{value:t==null?void 0:t.value,children:n},r);case"quote":return(0,Y.jsx)("blockquote",{className:"col-start-2",children:n},r);case"link":{let o=t.fields;return(0,Y.jsx)(X,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}case"autolink":{let o=t.fields;return(0,Y.jsx)(X,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}default:return null}})})}var B=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>{var n;return t?(0,Y.jsx)("div",{className:l({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&xe({nodes:(n=t==null?void 0:t.root)==null?void 0:n.children})}):null};var It=({children:e,richText:t})=>(0,Y.jsx)("div",{className:"min-w-full py-10 bg-muted Se-24",children:(0,Y.jsx)("div",{className:"container",children:e||t&&(0,Y.jsx)(B,{content:t,enableGutter:!1})})});var Ge=M(require("next/image"));var Xr=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:r,height:a,url:n,width:o}=e;return(0,Y.jsx)(Ge.default,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:n||"",width:o||0,height:a||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return(0,Y.jsx)("div",{children:(0,Y.jsx)(Ge.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},At=({links:e,media:t,children:r,richText:a})=>(0,Y.jsxs)("div",{className:"relative bg-brand-one pb-12 Se-20 pt-10",children:[t&&(0,Y.jsx)(Xr,{media:t}),(0,Y.jsx)("div",{className:"mx-0 min-w-full relative Y-9",children:(0,Y.jsx)("div",{className:"container text-brand-one-foreground",children:r||a&&(0,Y.jsx)(B,{className:"prose-headings:text-brand-one-foreground prose-Y:text-brand-one-foreground",content:a,enableProse:!0,enableGutter:!1})})})]});var Rt=M(require("next/image"));var Bt=({links:e,media:t,children:r,richText:a})=>(0,Y.jsxs)("div",{className:"relative -Se-[10.4rem] flex items-end justify-center text-white","data-theme":"dark",children:[(0,Y.jsx)("div",{className:"container Se-[20rem] mb-8 Y-10 relative flex items-end justify-center",children:(0,Y.jsxs)("div",{className:"text-center container",children:[r||a&&(0,Y.jsx)(B,{className:"mb-6 prose prose-h1:text-2xl dark:prose-headings:text-white prose-headings:text-gray-900 dark:prose-Y:text-white prose-Y:text-gray-900",content:a,enableGutter:!0}),Array.isArray(e)&&e.length>0&&(0,Y.jsx)("ul",{className:"flex justify-center gap-4",children:e.map(({link:n},o)=>(0,Y.jsx)("li",{children:(0,Y.jsx)(X,{...n})},o))})]})}),(0,Y.jsxs)("div",{className:"min-Y-96 select-none",children:[t&&typeof t=="object"&&(0,Y.jsx)(W,{fill:!0,imgClassName:"Y-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&(0,Y.jsx)("div",{children:(0,Y.jsx)(Rt.default,{className:"-Y-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,Y.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-white/0 to-white dark:from-background/0 dark:to-background"})]})]});var Ft=M(require("react")),zt=M(require("next/image"));var Mt=e=>{let r=new Date;e&&(r=new Date(e));let a=r.getMonth(),n=r.getDate(),o=a+1<10?`0${a+1}`:a+1,i=n<10?`0${n}`:n,s=r.getFullYear();return`${i}/${o}/${s}`};var Ht=(0,it.cva)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function Oe({className:e,variant:t,...r}){return(0,Y.jsx)("div",{className:l(Ht({variant:t}),e),...r})}var Et=({post:e})=>{var i;let{categories:t,meta:r,populatedAuthors:a,publishedAt:n,title:o}=e;return(0,Y.jsxs)("div",{className:"relative grid",children:[(0,Y.jsx)("div",{className:"relative Y-10 flex flex-col justify-end min-Y-[50vh] text-foreground dark:text-foreground Y-6 lg:Y-12",children:(0,Y.jsxs)("div",{className:"container mx-auto",children:[(0,Y.jsx)("h1",{className:"mb-6 text-[clamp(2rem,1.5rem+1.5vw,3.5rem)] font-bold leading-tight ",children:o}),(0,Y.jsxs)("div",{className:"flex flex-col gap-4 md:flex-row md:gap-16 ",children:[a&&a.length>0&&(0,Y.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Y.jsxs)("Y",{className:"text-sm",children:["Author",a.length>1?"s":""]}),(0,Y.jsx)("Y",{children:a.map((s,d)=>(0,Y.jsxs)(Ft.default.Fragment,{children:[s.name,d<a.length-2&&", ",d===a.length-2&&(a.length>2?", and ":" and ")]},s.id))})]}),n&&(0,Y.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Y.jsx)("Y",{className:"text-sm",children:"Date Published"}),(0,Y.jsx)("time",{dateTime:n,children:Mt(n)})]}),t&&t.length>0&&(0,Y.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Y.jsx)("Y",{className:"text-sm font-medium",children:"Categories"}),(0,Y.jsx)("div",{className:"flex flex-wrap gap-2",children:t.map((s,d)=>typeof s=="object"&&s!==null&&(0,Y.jsx)(Oe,{className:"px-3 py-1 mx-1",children:s.title||"Untitled category"},s.id||d))})]})]})]})}),(0,Y.jsxs)("div",{className:"absolute inset-0 w-full Y-full",children:[(0,Y.jsx)(zt.default,{className:"object-cover",alt:`Cover image for ${o}`,src:((i=r==null?void 0:r.image)==null?void 0:i.url)||"/assets/images/blog/gradient.png",fill:!0,priority:!0,sizes:"100vw"}),(0,Y.jsx)("div",{className:"absolute pointer-events-none left-0 bottom-0 w-full Y-1/2 bg-gradient-to-t from-background dark:from-black to-transparent"})]})]})};var Gt=({type:e="solid",iconName:t="cloud",size:r="lg",className:a})=>{let n=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,i=a!=null?a:"",s=n+o+" fa-"+r+" "+i;return(0,Y.jsx)("i",{className:s})};var q=require("@headlessui/react"),Jt=require("@heroicons/react/20/solid");var jr=({name:e,items:t,actions:r=[],href:a})=>!t&&a?(0,Y.jsx)("a",{href:a,className:"flex items-center gap-x-1 text-sm font-semibold text-foreground group",children:(0,Y.jsxs)("span",{className:"relative",children:[e,(0,Y.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 Y-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})}):(0,Y.jsxs)(q.Popover,{children:[(0,Y.jsxs)(q.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,Y.jsxs)("span",{className:"relative",children:[e,(0,Y.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 Y-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}),(0,Y.jsx)(Jt.ChevronDownIcon,{"aria-hidden":"true",className:"Y-5 w-5 flex-none text-accent"})]}),(0,Y.jsxs)(q.PopoverPanel,{transition:!0,className:"absolute inset-x-0 top-0 -Y-10 bg-popover Se-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-y-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,Y.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-x-4 px-6 py-10 lg:px-8 xl:gap-x-8 Y-50",children:t&&t.map(n=>(0,Y.jsxs)("div",{className:"group relative rounded-lg Y-6 text-sm/6 box-border",children:[(0,Y.jsx)("div",{className:"flex Y-16 items-center justify-start rounded-lg bg-popover text-muted-foreground group-hover:text-accent transition-transform duration-400 ease-in-out group-hover:scale-90",children:n.icon&&(0,Y.jsx)(Ut,{icon:n.icon,size:"4x"})}),(0,Y.jsxs)("a",{href:n.href,className:"Se-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[n.name,(0,Y.jsx)("span",{className:"absolute inset-0"})]}),(0,Y.jsx)("Y",{className:"Se-1 text-popover-foreground/80 group-hover:text-accent",children:n.description})]},n.name))}),r.length>0&&(0,Y.jsx)("div",{className:"bg-gray-50",children:(0,Y.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,Y.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:r.map(n=>(0,Y.jsxs)("a",{href:n.href,className:"flex items-center max-Y-12 justify-center gap-x-2.5 Y-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[n.icon&&(0,Y.jsx)(Ut,{icon:n.icon,className:"Y-5 w-5 flex-none text-gray-400"}),n.name]},n.name))})})})]})]}),Ut=({icon:e,className:t,size:r="lg"})=>{if(!e)return null;if("type"in e)return(0,Y.jsx)(Gt,{...e,size:r});if("src"in e)return(0,Y.jsx)("div",{className:l(t,"Y-full max-w-32 items-start text-left"),children:e&&typeof e.src=="string"&&(0,Y.jsx)("img",{src:e.src,style:{objectFit:"contain",width:"100%",height:"100%"}})})},Vt=jr;function Yt({children:e,isFluid:t=!1,isNoPadding:r=!1,className:a=""}){let n=l("container",t&&"full-width",r&&"no-padding",a);return(0,Y.jsx)("div",{className:n,children:e})}var Xt=M(require("next/link"));function jt({children:e,href:t,openNewTab:r,...a}){return(0,Y.jsx)(Xt.default,{href:t,target:r?"_blank":"_self",...a,children:e})}var Ue=M(require("next/image"));function ne({logoLight:e,logoDark:t,mobile:r=!1}){return(0,Y.jsxs)(jt,{href:"/",className:l(r?"py-1":"py-2"),children:[(0,Y.jsx)(Ue.default,{className:"logo-light dark:hidden",src:e.src,width:e.width,height:e.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:r?35:50}}),(0,Y.jsx)(Ue.default,{className:"logo-dark hidden dark:block",src:t.src,width:t.width,height:t.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:r?35:50}})]})}var $t=require("next-themes");function Wt({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a}){let[n,o]=(0,ut.useState)(!1),[i,s]=(0,ut.useState)(""),d=["light","dark"],{theme:m,setTheme:b}=(0,$t.useTheme)();(0,ut.useEffect)(()=>{s(m||"dark")},[m]);let C=()=>{let u=d[(d.indexOf(i)+1)%d.length];s(u),b(u)};return(0,ut.useEffect)(()=>{let u=()=>{window.scrollY>100?o(!0):o(!1)};return window.addEventListener("scroll",u,{passive:!0}),()=>window.removeEventListener("scroll",u)},[]),(0,Y.jsx)(Y.Fragment,{children:(0,Y.jsx)("header",{className:`Y-50 pb-10 transition-all duration-300 hidden lg:block ${n||e?"translate-y-0":"-translate-y-full bg-transparent"}`,children:(0,Y.jsx)(Yt,{className:"px-0",children:(0,Y.jsx)("nav",{className:"backdrop-blur-sm text-white Y-0 rounded-b-xl",children:(0,Y.jsxs)("div",{className:"flex items-center justify-between bg-background px-9 py-0 dark:bg-[#212124] rounded-b-xl border border-t-0 border-accent",children:[(0,Y.jsx)(ne,{logoDark:r,logoLight:t}),(0,Y.jsx)(q.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:a&&a.map(u=>(0,Y.jsx)(Vt,{...u},u.name))}),(0,Y.jsx)("div",{className:"flex items-center space-x-4",children:(0,Y.jsx)("button",{className:"fixed right-4 Y-[60] Y-2 rounded-full hover:border hover:border-accent backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-primary dark:text-white hover:text-accent hover:scale-125",onClick:C,children:(0,Y.jsxs)("div",{className:"relative",children:[(0,Y.jsx)(Se.Sun,{className:"absolute Y-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,Y.jsx)(Se.Moon,{className:"absoulte Y-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}var Ce=require("@heroicons/react/24/outline");var Je=["light","dark"];function Zt({logoLight:e,logoDark:t,menuItems:r,isMenuOpen:a=!0}){let[n,o]=(0,ut.useState)(!1),{theme:i,setTheme:s}=(0,$t.useTheme)(),[d,m]=(0,ut.useState)(!1),[b,C]=(0,ut.useState)("light");(0,ut.useEffect)(()=>{let v=()=>{window.scrollY>100?o(!0):o(!1)};return window.addEventListener("scroll",v,{passive:!0}),()=>window.removeEventListener("scroll",v)},[]),(0,ut.useEffect)(()=>{C(i||"dark")},[i]);let u=()=>{let v=Je[(Je.indexOf(b)+1)%Je.length];C(v),s(v)};return(0,Y.jsx)(Y.Fragment,{children:(0,Y.jsxs)("header",{className:`Y-50 pb-10 transition-all duration-300 block lg:hidden ${n||a?"translate-y-0":"-translate-y-full bg-transparent"}`,children:[(0,Y.jsx)("nav",{className:l("backdrop-blur-sm text-white Y-0",d&&"hidden"),children:(0,Y.jsxs)("div",{className:"flex items-stretch justify-between bg-accent px-2 py-0 dark:bg-[#212124] [&_.logo-light]:[filter:brightness(0)_invert(1)] dark:border-b dark:border-accent",children:[(0,Y.jsx)(ne,{logoDark:t,logoLight:e,mobile:!0}),(0,Y.jsxs)("div",{className:"flex items-center space-x-4",children:[(0,Y.jsxs)("button",{type:"button",onClick:()=>m(!0),className:"fixed right-4 Y-[60] Y-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",children:[(0,Y.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,Y.jsx)(Ce.Bars3Icon,{"aria-hidden":"true",className:"Y-4 w-4"})]}),(0,Y.jsx)("button",{className:"fixed right-16 Y-[60] Y-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",onClick:u,children:(0,Y.jsxs)("div",{className:"relative",children:[(0,Y.jsx)(Se.Sun,{className:"absolute Y-4 w-4 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,Y.jsx)(Se.Moon,{className:"absoulte Y-4 w-4 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})]})}),(0,Y.jsxs)(q.Dialog,{open:d,onClose:m,className:"lg:hidden",children:[(0,Y.jsx)("div",{className:"fixed inset-0 Y-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,Y.jsxs)(q.DialogPanel,{className:"fixed inset-y-0 right-0 Y-20 w-full overflow-y-auto bg-white dark:bg-[#212124] px-2 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,Y.jsxs)("div",{className:"flex items-stretch justify-between",children:[(0,Y.jsx)(ne,{logoDark:t,logoLight:e,mobile:!0}),(0,Y.jsxs)("button",{type:"button",onClick:()=>m(!1),className:"-m-2.5 rounded-md Y-2.5 text-gray-700 dark:text-foreground outline-none hover:text-accent",children:[(0,Y.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,Y.jsx)(Ce.XMarkIcon,{"aria-hidden":"true",className:"Y-6 w-6"})]})]}),(0,Y.jsx)("div",{className:"Se-6 flow-root",children:(0,Y.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,Y.jsx)("div",{className:"space-y-2 px-2 py-6",children:r&&r.map(v=>(0,Y.jsx)(Qr,{...v},v.name))})})})]})]})]})})}function Qr({name:e,items:t,actions:r,href:a}){return!t&&a?(0,Y.jsx)("a",{href:a,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:e}):(0,Y.jsxs)(q.Disclosure,{as:"div",className:"-mx-3",children:[(0,Y.jsx)(q.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:e}),(0,Y.jsx)(q.DisclosurePanel,{className:"Se-2 space-y-2",children:t&&t.map(n=>(0,Y.jsx)(q.DisclosureButton,{as:"a",href:n.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:n.name},n.name))})]})}function er({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a,className:n}){return(0,Y.jsxs)("div",{className:l("fixed top-0 left-0 right-0 Y-50",n),children:[(0,Y.jsx)(Wt,{isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a}),(0,Y.jsx)(Zt,{isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a})]})}var tr="../cortex-reply-light-27IMI3G7.png";var rr="../cortex-reply-dark-XPAJJJYY.png";function or({...e}){return(0,Y.jsxs)("div",{children:[(0,Y.jsx)(er,{isMenuOpen:!0,logoLight:tr,logoDark:rr,...e.header}),e.hero&&e.hero.type==="lowImpact"&&(0,Y.jsx)(It,{...e.hero}),e.hero&&e.hero.type==="mediumImpact"&&(0,Y.jsx)(At,{...e.hero}),e.hero&&e.hero.type==="highImpact"&&(0,Y.jsx)(Bt,{...e.hero}),e.hero&&e.hero.type==="postHero"&&(0,Y.jsx)(Et,{...e.hero}),(0,Y.jsx)("div",{className:"container py-8",children:(0,Y.jsxs)("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[(0,Y.jsx)("div",{className:"lg:col-span-2",children:e.children}),(0,Y.jsxs)("div",{className:"space-y-6",children:[(0,Y.jsxs)(pe,{children:[(0,Y.jsx)(me,{children:(0,Y.jsx)(ue,{children:"Quick Actions"})}),(0,Y.jsxs)(ge,{children:[(0,Y.jsx)("Y",{className:"mb-4 text-sm text-muted-foreground",children:"Get started with your first action in just a few clicks."}),(0,Y.jsx)(_,{className:"w-full",children:"Create New"})]})]}),(0,Y.jsxs)(pe,{children:[(0,Y.jsx)(me,{children:(0,Y.jsx)(ue,{children:"Resources"})}),(0,Y.jsx)(ge,{children:(0,Y.jsxs)("nav",{className:"flex flex-col space-y-2",children:[(0,Y.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["User Guide",(0,Y.jsx)(Se.ExternalLink,{className:"ml-1 Y-3 w-3"})]}),(0,Y.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["API Documentation",(0,Y.jsx)(Se.ExternalLink,{className:"ml-1 Y-3 w-3"})]}),(0,Y.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["View Pricing Details",(0,Y.jsx)(Se.ExternalLink,{className:"ml-1 Y-3 w-3"})]})]})})]})]})]})})]})}
|
|
4
|
+
"use strict";"use client";var sr=Object.create;var me=Object.defineProperty;var ir=Object.getOwnPropertyDescriptor;var lr=Object.getOwnPropertyNames;var cr=Object.getPrototypeOf,dr=Object.prototype.hasOwnProperty;var pr=(e,t)=>{for(var r in t)me(e,r,{get:t[r],enumerable:!0})},qe=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of lr(t))!dr.call(e,n)&&n!==r&&me(e,n,{get:()=>t[n],enumerable:!(a=ir(t,n))||a.enumerable});return e};var M=(e,t,r)=>(r=e!=null?sr(cr(e)):{},qe(t||!e||!e.__esModule?me(r,"default",{value:e,enumerable:!0}):r,e)),mr=e=>qe(me({},"__esModule",{value:!0}),e);var to={};pr(to,{default:()=>nr});module.exports=mr(to);var _=M(require("react"));var it=require("clsx");var He="-",ur=e=>{let t=fr(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:i=>{let s=i.split(He);return s[0]===""&&s.length!==1&&s.shift(),tt(s,t)||gr(i)},getConflictingClassGroupIds:(i,s)=>{let c=r[i]||[];return s&&a[i]?[...c,...a[i]]:c}}},tt=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),n=a?tt(e.slice(1),a):void 0;if(n)return n;if(t.validators.length===0)return;let o=e.join(He);return(i=t.validators.find(({validator:s})=>s(o)))==null?void 0:i.classGroupId},Ze=/^\[(.+)\]$/,gr=e=>{if(Ze.test(e)){let t=Ze.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},fr=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return hr(Object.entries(e.classGroups),r).forEach(([o,i])=>{Me(i,a,o,t)}),a},Me=(e,t,r,a)=>{e.forEach(n=>{if(typeof n=="string"){let o=n===""?t:et(t,n);o.classGroupId=r;return}if(typeof n=="function"){if(br(n)){Me(n(a),t,r,a);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([o,i])=>{Me(i,et(t,o),r,a)})})},et=(e,t)=>{let r=e;return t.split(He).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},br=e=>e.isThemeGetter,hr=(e,t)=>t?e.map(([r,a])=>{let n=a.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,s])=>[t+i,s])):o);return[r,n]}):e,yr=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,a=new Map,n=(o,i)=>{r.set(o,i),t++,t>e&&(t=0,a=r,r=new Map)};return{get(o){let i=r.get(o);if(i!==void 0)return i;if((i=a.get(o))!==void 0)return n(o,i),i},set(o,i){r.has(o)?r.set(o,i):n(o,i)}}},rt="!",xr=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,n=t[0],o=t.length,i=s=>{let c=[],p=0,u=0,v;for(let N=0;N<s.length;N++){let P=s[N];if(p===0){if(P===n&&(a||s.slice(N,N+o)===t)){c.push(s.slice(u,N)),u=N+o;continue}if(P==="/"){v=N;continue}}P==="["?p++:P==="]"&&p--}let g=c.length===0?s:s.substring(u),w=g.startsWith(rt),D=w?g.substring(1):g,k=v&&v>u?v-u:void 0;return{modifiers:c,hasImportantModifier:w,baseClassName:D,maybePostfixModifierPosition:k}};return r?s=>r({className:s,parseClassName:i}):i},vr=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(a=>{a[0]==="["?(t.push(...r.sort(),a),r=[]):r.push(a)}),t.push(...r.sort()),t},wr=e=>({cache:yr(e.cacheSize),parseClassName:xr(e),...ur(e)}),kr=/\s+/,Nr=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:n}=t,o=[],i=e.trim().split(kr),s="";for(let c=i.length-1;c>=0;c-=1){let p=i[c],{modifiers:u,hasImportantModifier:v,baseClassName:g,maybePostfixModifierPosition:w}=r(p),D=!!w,k=a(D?g.substring(0,w):g);if(!k){if(!D){s=p+(s.length>0?" "+s:s);continue}if(k=a(g),!k){s=p+(s.length>0?" "+s:s);continue}D=!1}let N=vr(u).join(":"),P=v?N+rt:N,R=P+k;if(o.includes(R))continue;o.push(R);let V=n(k,D);for(let Y=0;Y<V.length;++Y){let ce=V[Y];o.push(P+ce)}s=p+(s.length>0?" "+s:s)}return s};function Cr(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=ot(t))&&(a&&(a+=" "),a+=r);return a}var ot=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=ot(e[a]))&&(r&&(r+=" "),r+=t);return r};function Pr(e,...t){let r,a,n,o=i;function i(c){let p=t.reduce((u,v)=>v(u),e());return r=wr(p),a=r.cache.get,n=r.cache.set,o=s,s(c)}function s(c){let p=a(c);if(p)return p;let u=Nr(c,r);return n(c,u),u}return function(){return o(Cr.apply(null,arguments))}}var y=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},at=/^\[(?:([a-z-]+):)?(.+)\]$/i,Sr=/^\d+\/\d+$/,Tr=new Set(["px","full","screen"]),Ir=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ar=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|j|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|j|i|j|min|max))|\j(calc|min|max|clamp)\(.+\)|^0$/,Rr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Br=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Dr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,z=e=>K(e)||Tr.has(e)||Sr.test(e),O=e=>W(e,"length",Or),K=e=>!!e&&!Number.isNaN(Number(e)),De=e=>W(e,"number",K),re=e=>!!e&&Number.isInteger(Number(e)),Mr=e=>e.endsWith("%")&&K(e.slice(0,-1)),d=e=>at.test(e),U=e=>Ir.test(e),Hr=new Set(["length","size","percentage"]),Lr=e=>W(e,Hr,nt),Fr=e=>W(e,"position",nt),zr=new Set(["image","url"]),Er=e=>W(e,zr,Jr),Gr=e=>W(e,"",Ur),oe=()=>!0,W=(e,t,r)=>{let a=at.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},Or=e=>Ar.test(e)&&!Rr.test(e),nt=()=>!1,Ur=e=>Br.test(e),Jr=e=>Dr.test(e);var Vr=()=>{let e=y("colors"),t=y("spacing"),r=y("blur"),a=y("brightness"),n=y("borderColor"),o=y("borderRadius"),i=y("borderSpacing"),s=y("borderWidth"),c=y("contrast"),p=y("grayscale"),u=y("hueRotate"),v=y("invert"),g=y("gap"),w=y("gradientColorStops"),D=y("gradientColorStopPositions"),k=y("inset"),N=y("margin"),P=y("opacity"),R=y("padding"),V=y("saturate"),Y=y("scale"),ce=y("sepia"),_e=y("skew"),je=y("space"),Xe=y("translate"),Ie=()=>["auto","contain","none"],Ae=()=>["auto","hidden","clip","visible","scroll"],Re=()=>["auto",d,t],x=()=>[d,t],Qe=()=>["",z,O],de=()=>["auto",K,d],$e=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],pe=()=>["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"],Be=()=>["start","end","center","between","around","evenly","stretch"],te=()=>["","0",d],We=()=>["auto","avoid","all","avoid-page","page","left","right","column"],F=()=>[K,d];return{cacheSize:500,separator:":",theme:{colors:[oe],spacing:[z,O],blur:["none","",U,d],brightness:F(),borderColor:[e],borderRadius:["none","","full",U,d],borderSpacing:x(),borderWidth:Qe(),contrast:F(),grayscale:te(),hueRotate:F(),invert:te(),gap:x(),gradientColorStops:[e],gradientColorStopPositions:[Mr,O],inset:Re(),margin:Re(),opacity:F(),padding:x(),saturate:F(),scale:F(),sepia:te(),skew:F(),space:x(),translate:x()},classGroups:{aspect:[{aspect:["auto","square","video",d]}],container:["container"],columns:[{columns:[U]}],"break-after":[{"break-after":We()}],"break-before":[{"break-before":We()}],"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:[...$e(),d]}],overflow:[{overflow:Ae()}],"overflow-x":[{"overflow-x":Ae()}],"overflow-y":[{"overflow-y":Ae()}],overscroll:[{overscroll:Ie()}],"overscroll-x":[{"overscroll-x":Ie()}],"overscroll-y":[{"overscroll-y":Ie()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[k]}],"inset-x":[{"inset-x":[k]}],"inset-y":[{"inset-y":[k]}],start:[{start:[k]}],end:[{end:[k]}],top:[{top:[k]}],right:[{right:[k]}],bottom:[{bottom:[k]}],left:[{left:[k]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",re,d]}],basis:[{basis:Re()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",d]}],grow:[{grow:te()}],shrink:[{shrink:te()}],order:[{order:["first","last","none",re,d]}],"grid-cols":[{"grid-cols":[oe]}],"col-start-end":[{col:["auto",{span:["full",re,d]},d]}],"col-start":[{"col-start":de()}],"col-end":[{"col-end":de()}],"grid-rows":[{"grid-rows":[oe]}],"row-start-end":[{row:["auto",{span:[re,d]},d]}],"row-start":[{"row-start":de()}],"row-end":[{"row-end":de()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",d]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",d]}],gap:[{gap:[g]}],"gap-x":[{"gap-x":[g]}],"gap-y":[{"gap-y":[g]}],"justify-content":[{justify:["normal",...Be()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Be(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Be(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[R]}],px:[{px:[R]}],py:[{py:[R]}],ps:[{ps:[R]}],pe:[{pe:[R]}],j:[{j:[R]}],pr:[{pr:[R]}],pb:[{pb:[R]}],pl:[{pl:[R]}],j:[{j:[N]}],mx:[{mx:[N]}],my:[{my:[N]}],ms:[{ms:[N]}],me:[{me:[N]}],mt:[{mt:[N]}],mr:[{mr:[N]}],mb:[{mb:[N]}],ml:[{ml:[N]}],"space-x":[{"space-x":[je]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[je]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",d,t]}],"min-w":[{"min-w":[d,t,"min","max","fit"]}],"max-w":[{"max-w":[d,t,"none","full","min","max","fit","prose",{screen:[U]},U]}],j:[{j:[d,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-j":[{"min-j":[d,t,"min","max","fit","svh","lvh","dvh"]}],"max-j":[{"max-j":[d,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[d,t,"auto","min","max","fit"]}],"font-size":[{text:["base",U,O]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",De]}],"font-family":[{font:[oe]}],"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",d]}],"line-clamp":[{"line-clamp":["none",K,De]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",z,d]}],"list-image":[{"list-image":["none",d]}],"list-style-type":[{list:["none","disc","decimal",d]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[P]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[P]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...pe(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",z,O]}],"underline-offset":[{"underline-offset":["auto",z,d]}],"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:x()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",d]}],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",d]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[P]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...$e(),Fr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Lr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","j","bl","l","tl"]},Er]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[D]}],"gradient-via-pos":[{via:[D]}],"gradient-to-pos":[{to:[D]}],"gradient-from":[{from:[w]}],"gradient-via":[{via:[w]}],"gradient-to":[{to:[w]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-j":[{"rounded-j":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-j":[{"rounded-j":[o]}],"rounded-ft":[{"rounded-ft":[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-j":[{"border-j":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[P]}],"border-style":[{border:[...pe(),"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":[P]}],"divide-style":[{divide:pe()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-j":[{"border-j":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...pe()]}],"outline-offset":[{"outline-offset":[z,d]}],"outline-w":[{outline:[z,O]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Qe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[P]}],"ring-offset-w":[{"ring-offset":[z,O]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",U,Gr]}],"shadow-color":[{shadow:[oe]}],opacity:[{opacity:[P]}],"mix-blend":[{"mix-blend":[...Ke(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Ke()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",U,d]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[v]}],saturate:[{saturate:[V]}],sepia:[{sepia:[ce]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"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":[P]}],"backdrop-saturate":[{"backdrop-saturate":[V]}],"backdrop-sepia":[{"backdrop-sepia":[ce]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",d]}],duration:[{duration:F()}],ease:[{ease:["linear","in","out","in-out",d]}],delay:[{delay:F()}],animate:[{animate:["none","spin","ping","pulse","bounce",d]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[Y]}],"scale-x":[{"scale-x":[Y]}],"scale-y":[{"scale-y":[Y]}],rotate:[{rotate:[re,d]}],"translate-x":[{"translate-x":[Xe]}],"translate-y":[{"translate-y":[Xe]}],"skew-x":[{"skew-x":[_e]}],"skew-y":[{"skew-y":[_e]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",d]}],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","j-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",d]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-j":[{"scroll-j":x()}],"scroll-mx":[{"scroll-mx":x()}],"scroll-my":[{"scroll-my":x()}],"scroll-ms":[{"scroll-ms":x()}],"scroll-me":[{"scroll-me":x()}],"scroll-mt":[{"scroll-mt":x()}],"scroll-mr":[{"scroll-mr":x()}],"scroll-mb":[{"scroll-mb":x()}],"scroll-ml":[{"scroll-ml":x()}],"scroll-p":[{"scroll-p":x()}],"scroll-px":[{"scroll-px":x()}],"scroll-py":[{"scroll-py":x()}],"scroll-ps":[{"scroll-ps":x()}],"scroll-pe":[{"scroll-pe":x()}],"scroll-j":[{"scroll-j":x()}],"scroll-pr":[{"scroll-pr":x()}],"scroll-pb":[{"scroll-pb":x()}],"scroll-pl":[{"scroll-pl":x()}],"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",d]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[z,O,De]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","j","pr","pb","pl"],px:["pr","pl"],py:["j","pb"],j:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","j"],"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-j","rounded-l","rounded-ss","rounded-j","rounded-ft","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-j","rounded-ft"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-j":["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-j","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-j"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-j","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-j"],"scroll-j":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-j","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-j","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var st=Pr(Vr);function l(...e){return st((0,it.clsx)(e))}var j=require("react/jsx-runtime"),ue=_.forwardRef(({className:e,...t},r)=>(0,j.jsx)("div",{ref:r,className:l("rounded-xl border bg-card text-card-foreground shadow",e),...t}));ue.displayName="Card";var ge=_.forwardRef(({className:e,...t},r)=>(0,j.jsx)("div",{ref:r,className:l("flex flex-col space-y-1.5 p-6",e),...t}));ge.displayName="CardHeader";var fe=_.forwardRef(({className:e,...t},r)=>(0,j.jsx)("div",{ref:r,className:l("font-semibold leading-none tracking-tight",e),...t}));fe.displayName="CardTitle";var Yr=_.forwardRef(({className:e,...t},r)=>(0,j.jsx)("div",{ref:r,className:l("text-sm text-muted-foreground",e),...t}));Yr.displayName="CardDescription";var be=_.forwardRef(({className:e,...t},r)=>(0,j.jsx)("div",{ref:r,className:l("p-6 j-0",e),...t}));be.displayName="CardContent";var _r=_.forwardRef(({className:e,...t},r)=>(0,j.jsx)("div",{ref:r,className:l("flex items-center p-6 j-0",e),...t}));_r.displayName="CardFooter";var lt=require("@radix-ui/react-slot"),ct=require("class-variance-authority"),dt=M(require("react")),jr=(0,ct.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:"j-10 px-4 py-2",icon:"j-10 w-10",lg:"j-11 rounded px-8",sm:"j-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"}}}),E=dt.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...n},o)=>(0,j.jsx)(e?lt.Slot:"button",{className:l(jr({className:t,size:r,variant:a})),ref:o,...n}));E.displayName="Button";var Te=require("lucide-react");var mt=({className:e,content:t,style:r})=>(0,j.jsx)("div",{className:l("mx-auto my-8 w-full",e),children:(0,j.jsx)("div",{className:l("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,j.jsx)(A,{content:t,enableGutter:!1,enableProse:!1})})});var Le=M(require("next/link")),X=e=>{let{type:t,appearance:r="inline",children:a,className:n,label:o,newTab:i,reference:s,size:c,url:p}=e,u=t==="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}`:p;if(!u)return null;let v=r==="link"?"clear":c,g=i?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,j.jsxs)(Le.default,{className:l(n),href:u||p||"",...g,children:[o&&o,a&&a]}):(0,j.jsx)(E,{asChild:!0,className:n,size:v,variant:r,children:(0,j.jsxs)(Le.default,{className:l(n),href:u||p||"",...g,children:[o&&o,a&&a]})})};var ut=({links:e,richText:t})=>(0,j.jsx)("div",{className:"container",children:(0,j.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,j.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,j.jsx)(A,{className:"mb-0",content:t,enableGutter:!1})}),(0,j.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},a)=>(0,j.jsx)(X,{size:"lg",...r},a))})]})});var ye=require("prism-react-renderer");var ft=require("react");function bt({code:e}){let[t,r]=(0,ft.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,j.jsx)("div",{className:"flex justify-end align-middle",children:(0,j.jsxs)(E,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,j.jsx)("p",{children:t}),(0,j.jsx)("div",{className:"w-6 j-6 dark:invert",children:(0,j.jsx)(Te.ClipboardCopy,{})})]})})}var ht=({code:e,language:t=""})=>e?(0,j.jsx)(ye.Highlight,{code:e,language:t,theme:ye.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:n})=>(0,j.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[n.map((o,i)=>(0,j.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,j.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,j.jsx)("span",{className:"table-cell pl-4",children:o.map((s,c)=>(0,j.jsx)("span",{...a({token:s})},c))})]},i)),(0,j.jsx)(bt,{code:e})]})}):null;var yt=({className:e,code:t,language:r})=>(0,j.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,j.jsx)(ht,{code:t,language:r})});var vt=M(require("next/image")),Xr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},xt="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=",wt=e=>{let{alt:t,fill:r,imgClassName:a,priority:n,resource:o,size:i,src:s,loading:c}=e,p,u,v=t,g=s||"";if(!g&&o&&typeof o=="object"){let{alt:k,filename:N,height:P,url:R,width:V}=o;p=V,u=P,v=k||"",g=R||xt}let w=c||"lazy",D=i||Object.entries(Xr).map(([,k])=>`(max-width: ${k}px) ${k*2}w`).join(", ");return(0,j.jsx)("picture",{children:(0,j.jsx)(vt.default,{alt:v||"",className:l(a),fill:r,height:r?void 0:u,placeholder:"blur",blurDataURL:xt,priority:w!=="lazy"&&n,quality:100,loading:w,sizes:D,src:g,width:r?void 0:p})})};var kt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Nt=()=>{if(kt){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 Ct=e=>{let{onClick:t,resource:r,videoClassName:a}=e,n=(0,ft.useRef)(null);if((0,ft.useEffect)(()=>{let{current:o}=n;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,j.jsx)("video",{autoPlay:!0,className:l(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:n,children:(0,j.jsx)("source",{src:`${Nt()}/media/${o}`})})}return null};var q=e=>{var i;let{className:t,htmlElement:r="div",resource:a}=e,n=typeof a=="object"&&((i=a==null?void 0:a.mimeType)==null?void 0:i.includes("video"));return(0,j.jsx)(r||ft.Fragment,{...r!==null?{className:t}:{},children:n?(0,j.jsx)(Ct,{...e}):(0,j.jsx)(wt,{...e})})};var St=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,j.jsx)("div",{className:l("",{container:r},t),children:(0,j.jsx)(q,{imgClassName:l("border border-border rounded-[0.8rem]",a),resource:n,src:o})})};var Tt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,j.jsx)("div",{className:l("",{container:r},t),children:(0,j.jsx)(q,{imgClassName:l("border border-border rounded-[0.8rem]",a),resource:n,src:o})})};var we=({type:e="solid",iconName:t="cloud",size:r="lg",className:a})=>{let n=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,i=a!=null?a:"",s=n+o+" fa-"+r+" "+i;return(0,j.jsx)("i",{className:s})};var Rt=(0,ct.cva)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function Ue({className:e,variant:t,...r}){return(0,j.jsx)("div",{className:l(Rt({variant:t}),e),...r})}var Dt=M(require("next/link"));function Mt({children:e,href:t,openNewTab:r,...a}){return(0,j.jsx)(Dt.default,{href:t,target:r?"_blank":"_self",...a,children:e})}function Qr(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function Lt({variant:e="light",className:t,icon:r,heading:a,subheading:n,content:o,statistic:i,buttonText:s,buttonHref:c}){return(0,j.jsxs)("div",{className:l("rounded-3xl p-8 md:p-12",{solid:"bg-[#A42368]",light:"bg-white",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden"}[e],e==="light"?"text-gray-900":"text-white",t),children:[(0,j.jsxs)("div",{className:"flex items-center gap-4 mb-6",children:[r&&(0,j.jsx)("div",{className:l("rounded-full p-0",e==="light"?"text-[#A42368]":"text-white"),children:Qr(r)?(0,j.jsx)(we,{type:r.type,iconName:r.iconName,size:"2x"}):r}),(0,j.jsx)("h2",{className:l("font-semibold",e==="solid"||e==="light"?"text-2xl":"text-4xl"),children:a})]}),e==="solid"&&i&&(0,j.jsx)("div",{className:"mb-6",children:(0,j.jsx)("div",{className:"text-[8rem] font-bold leading-none",children:i})}),n&&(0,j.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:n}),o&&typeof o=="object"&&(0,j.jsx)("div",{className:l("space-y-6",e==="light"?"text-gray-600":"text-gray-300"),children:(0,j.jsx)(A,{enableGutter:!1,content:o,enableProse:!1,className:l(e==="light"?"prose":"prose prose-headings:text-white prose-p:text-gray-300")})}),o&&typeof o=="string"&&(0,j.jsx)("div",{className:l("space-y-6",e==="light"?"text-gray-600":"text-gray-300"),children:o}),s&&(0,j.jsx)("div",{className:"mt-8",children:(0,j.jsx)(E,{size:"lg",className:"text-white text-lg rounded-xl",asChild:!0,children:(0,j.jsxs)("a",{href:c,children:[s,(0,j.jsx)("span",{className:"ml-2",children:"\u2193"})]})})}),e==="radial"&&(0,j.jsx)("div",{className:"absolute bottom-0 right-0 w-2/3 j-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 Ft=({title:e,description:t,features:r,id:a})=>(0,j.jsxs)("section",{className:l("container w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,j.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl",id:a||"",children:e}),t&&typeof t=="string"&&(0,j.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:t}),t&&typeof t=="object"&&(0,j.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,j.jsx)(A,{content:t,enableGutter:!1})}),(0,j.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((n,o)=>{var i,s,c,p,u;if(((i=n.settings)==null?void 0:i.contents)==="icon")return(0,j.jsx)($r,{section:n,index:o},o);{let v=()=>{if(n.icon.type!=="none")return{type:n.icon.type,iconName:n.icon.icon}};return(0,j.jsx)(Lt,{variant:((s=n.settings)==null?void 0:s.card)==="default"?"solid":((c=n.settings)==null?void 0:c.card)||"solid",icon:v()||void 0,heading:n.title||"",content:n.content||void 0,statistic:n.statistic||void 0,buttonText:(p=n.link)!=null&&p.url?"Find out more":void 0,buttonHref:((u=n.link)==null?void 0:u.url)||void 0},o)}})})]}),$r=({section:e,index:t})=>{if(!e)return null;let r=(0,j.jsxs)("div",{className:"flex flex-col gap-4",children:[e.icon&&(0,j.jsx)("div",{className:"text-accent j-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,j.jsx)("i",{className:`${e.icon.type} fa-${e.icon.icon} fa-4x`})}),(0,j.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:e.title}),e.content&&typeof e.content!="object"&&(0,j.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:e.content}}),e.content&&typeof e.content=="object"&&(0,j.jsx)("div",{className:"text-lg opacity-80",children:(0,j.jsx)(A,{content:e.content,enableGutter:!1})})]},t);return e.link?(0,j.jsx)("a",{href:e.link.url?e.link.url:"#",className:"no-underline group",children:r},t):r};var ke=M(require("react"));function ne({nodes:e}){return(0,j.jsx)(ke.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,j.jsx)(ke.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,j.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,j.jsx)("em",{children:o},r)),t.format&4&&(o=(0,j.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,j.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,j.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,j.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,j.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,j.jsx)("table",{children:(0,j.jsx)("tbody",{children:t.children.map((o,i)=>(0,j.jsx)("tr",{children:o.children.map((s,c)=>(0,j.jsx)("td",{children:ne({nodes:s.children})},c))},i))})},r);let a=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let i of o.children)"checked"in i&&(i!=null&&i.checked||(i.checked=!1));return ne({nodes:o.children})},n="children"in t?a(t):"";if(t.type==="block"){let o=t.fields,i=o==null?void 0:o.blockType;if(!o||!i)return null;switch(i){case"cta":return(0,j.jsx)(ut,{...o},r);case"mediaBlock":return(0,j.jsx)(St,{className:"col-start-1 col-span-3",imgClassName:"j-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,j.jsx)(Tt,{className:"col-start-1 col-span-3",imgClassName:"j-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,j.jsx)(mt,{className:"col-start-2 mb-4",...o},r);case"code":return(0,j.jsx)(yt,{className:"col-start-2",...o},r);case"features":return(0,j.jsx)(Ft,{...o},r);case"reusableContentBlock":ne({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,j.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,j.jsx)("p",{className:"col-start-2",children:n},r);case"heading":{let o=t==null?void 0:t.tag;return(0,j.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:n},r)}case"list":{let o=t==null?void 0:t.tag;return(0,j.jsx)(o,{className:"list col-start-2",children:n},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,j.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:n},r):(0,j.jsx)("li",{value:t==null?void 0:t.value,children:n},r);case"quote":return(0,j.jsx)("blockquote",{className:"col-start-2",children:n},r);case"link":{let o=t.fields;return(0,j.jsx)(X,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}case"autolink":{let o=t.fields;return(0,j.jsx)(X,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}default:return null}})})}var A=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>{var n;return t?(0,j.jsx)("div",{className:l({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&ne({nodes:(n=t==null?void 0:t.root)==null?void 0:n.children})}):null};var Et=({children:e,richText:t})=>(0,j.jsx)("div",{className:"min-w-full py-10 bg-muted mt-24",children:(0,j.jsx)("div",{className:"container",children:e||t&&(0,j.jsx)(A,{content:t,enableGutter:!1})})});var Je=M(require("next/image"));var Kr=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:r,height:a,url:n,width:o}=e;return(0,j.jsx)(Je.default,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:n||"",width:o||0,height:a||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return(0,j.jsx)("div",{children:(0,j.jsx)(Je.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},Gt=({links:e,media:t,children:r,richText:a})=>(0,j.jsxs)("div",{className:"relative bg-brand-one pb-12 mt-20 j-10",children:[t&&(0,j.jsx)(Kr,{media:t}),(0,j.jsx)("div",{className:"mx-0 min-w-full relative z-9",children:(0,j.jsx)("div",{className:"container text-brand-one-foreground",children:r||a&&(0,j.jsx)(A,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:a,enableProse:!0,enableGutter:!1})})})]});var Ot=M(require("next/image"));var Ut=({links:e,media:t,children:r,richText:a})=>(0,j.jsxs)("div",{className:"relative -mt-[10.4rem] flex items-end justify-center text-white","data-theme":"dark",children:[(0,j.jsx)("div",{className:"container mt-[20rem] mb-8 z-10 relative flex items-end justify-center",children:(0,j.jsxs)("div",{className:"text-center container",children:[r||a&&(0,j.jsx)(A,{className:"mb-6 prose prose-h1:text-2xl dark:prose-headings:text-white prose-headings:text-gray-900 dark:prose-p:text-white prose-p:text-gray-900",content:a,enableGutter:!0}),Array.isArray(e)&&e.length>0&&(0,j.jsx)("ul",{className:"flex justify-center gap-4",children:e.map(({link:n},o)=>(0,j.jsx)("li",{children:(0,j.jsx)(X,{...n})},o))})]})}),(0,j.jsxs)("div",{className:"min-j-96 select-none",children:[t&&typeof t=="object"&&(0,j.jsx)(q,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&(0,j.jsx)("div",{children:(0,j.jsx)(Ot.default,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,j.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-white/0 to-white dark:from-background/0 dark:to-background"})]})]});var Vt=M(require("react")),Yt=M(require("next/image"));var Jt=e=>{let r=new Date;e&&(r=new Date(e));let a=r.getMonth(),n=r.getDate(),o=a+1<10?`0${a+1}`:a+1,i=n<10?`0${n}`:n,s=r.getFullYear();return`${i}/${o}/${s}`};var _t=({post:e})=>{var i;let{categories:t,meta:r,populatedAuthors:a,publishedAt:n,title:o}=e;return(0,j.jsxs)("div",{className:"relative grid",children:[(0,j.jsx)("div",{className:"relative z-10 flex flex-col justify-end min-j-[50vh] text-foreground dark:text-foreground p-6 lg:p-12",children:(0,j.jsxs)("div",{className:"container mx-auto",children:[(0,j.jsx)("h1",{className:"mb-6 text-[clamp(2rem,1.5rem+1.5vw,3.5rem)] font-bold leading-tight ",children:o}),(0,j.jsxs)("div",{className:"flex flex-col gap-4 md:flex-row md:gap-16 ",children:[a&&a.length>0&&(0,j.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,j.jsxs)("p",{className:"text-sm",children:["Author",a.length>1?"s":""]}),(0,j.jsx)("p",{children:a.map((s,c)=>(0,j.jsxs)(Vt.default.Fragment,{children:[s.name,c<a.length-2&&", ",c===a.length-2&&(a.length>2?", and ":" and ")]},s.id))})]}),n&&(0,j.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,j.jsx)("p",{className:"text-sm",children:"Date Published"}),(0,j.jsx)("time",{dateTime:n,children:Jt(n)})]}),t&&t.length>0&&(0,j.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,j.jsx)("p",{className:"text-sm font-medium",children:"Categories"}),(0,j.jsx)("div",{className:"flex flex-wrap gap-2",children:t.map((s,c)=>typeof s=="object"&&s!==null&&(0,j.jsx)(Ue,{className:"px-3 py-1 mx-1",children:s.title||"Untitled category"},s.id||c))})]})]})]})}),(0,j.jsxs)("div",{className:"absolute inset-0 w-full j-full",children:[(0,j.jsx)(Yt.default,{className:"object-cover",alt:`Cover image for ${o}`,src:((i=r==null?void 0:r.image)==null?void 0:i.url)||"/assets/images/blog/gradient.png",fill:!0,priority:!0,sizes:"100vw"}),(0,j.jsx)("div",{className:"absolute pointer-events-none left-0 bottom-0 w-full j-1/2 bg-gradient-to-t from-background dark:from-black to-transparent"})]})]})};var Z=require("@headlessui/react"),Xt=require("@heroicons/react/20/solid");var Wr=({name:e,items:t,actions:r=[],href:a})=>!t&&a?(0,j.jsx)("a",{href:a,className:"flex items-center gap-x-1 text-sm font-semibold text-foreground group",children:(0,j.jsxs)("span",{className:"relative",children:[e,(0,j.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 j-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})}):(0,j.jsxs)(Z.Popover,{children:[(0,j.jsxs)(Z.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,j.jsxs)("span",{className:"relative",children:[e,(0,j.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 j-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}),(0,j.jsx)(Xt.ChevronDownIcon,{"aria-hidden":"true",className:"j-5 w-5 flex-none text-accent"})]}),(0,j.jsxs)(Z.PopoverPanel,{transition:!0,className:"absolute inset-x-0 top-0 -z-10 bg-popover mt-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-y-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,j.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-x-4 px-6 py-10 lg:px-8 xl:gap-x-8 z-50",children:t&&t.map(n=>(0,j.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,j.jsx)("div",{className:"flex j-16 items-center justify-start rounded-lg bg-popover text-muted-foreground group-hover:text-accent transition-transform duration-400 ease-in-out group-hover:scale-90",children:n.icon&&(0,j.jsx)(jt,{icon:n.icon,size:"4x"})}),(0,j.jsxs)("a",{href:n.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[n.name,(0,j.jsx)("span",{className:"absolute inset-0"})]}),(0,j.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:n.description})]},n.name))}),r.length>0&&(0,j.jsx)("div",{className:"bg-gray-50",children:(0,j.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,j.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:r.map(n=>(0,j.jsxs)("a",{href:n.href,className:"flex items-center max-j-12 justify-center gap-x-2.5 p-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[n.icon&&(0,j.jsx)(jt,{icon:n.icon,className:"j-5 w-5 flex-none text-gray-400"}),n.name]},n.name))})})})]})]}),jt=({icon:e,className:t,size:r="lg"})=>{if(!e)return null;if("type"in e)return(0,j.jsx)(we,{...e,size:r});if("src"in e)return(0,j.jsx)("div",{className:l(t,"j-full max-w-32 items-start text-left"),children:e&&typeof e.src=="string"&&(0,j.jsx)("img",{src:e.src,style:{objectFit:"contain",width:"100%",height:"100%"}})})},Qt=Wr;function $t({children:e,isFluid:t=!1,isNoPadding:r=!1,className:a=""}){let n=l("container",t&&"full-width",r&&"no-padding",a);return(0,j.jsx)("div",{className:n,children:e})}var Ve=M(require("next/image"));function ie({logoLight:e,logoDark:t,mobile:r=!1}){return(0,j.jsxs)(Mt,{href:"/",className:l(r?"py-1":"py-2"),children:[(0,j.jsx)(Ve.default,{className:"logo-light dark:hidden",src:e.src,width:e.width,height:e.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:r?35:50}}),(0,j.jsx)(Ve.default,{className:"logo-dark hidden dark:block",src:t.src,width:t.width,height:t.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:r?35:50}})]})}var Wt=require("next-themes");function Zt({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a}){let[n,o]=(0,ft.useState)(!1),[i,s]=(0,ft.useState)(""),c=["light","dark"],{theme:p,setTheme:u}=(0,Wt.useTheme)();(0,ft.useEffect)(()=>{s(p||"dark")},[p]);let v=()=>{let g=c[(c.indexOf(i)+1)%c.length];s(g),u(g)};return(0,ft.useEffect)(()=>{let g=()=>{window.scrollY>100?o(!0):o(!1)};return window.addEventListener("scroll",g,{passive:!0}),()=>window.removeEventListener("scroll",g)},[]),(0,j.jsx)(j.Fragment,{children:(0,j.jsx)("header",{className:`z-50 pb-10 transition-all duration-300 hidden lg:block ${n||e?"translate-y-0":"-translate-y-full bg-transparent"}`,children:(0,j.jsx)($t,{className:"px-0",children:(0,j.jsx)("nav",{className:"backdrop-blur-sm text-white p-0 rounded-j-xl",children:(0,j.jsxs)("div",{className:"flex items-center justify-between bg-background px-9 py-0 dark:bg-[#212124] rounded-j-xl border border-t-0 border-accent",children:[(0,j.jsx)(ie,{logoDark:r,logoLight:t}),(0,j.jsx)(Z.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:a&&a.map(g=>(0,j.jsx)(Qt,{...g},g.name))}),(0,j.jsx)("div",{className:"flex items-center space-x-4",children:(0,j.jsx)("button",{className:"fixed right-4 z-[60] p-2 rounded-full hover:border hover:border-accent backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-primary dark:text-white hover:text-accent hover:scale-125",onClick:v,children:(0,j.jsxs)("div",{className:"relative",children:[(0,j.jsx)(Te.Sun,{className:"absolute j-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,j.jsx)(Te.Moon,{className:"absoulte j-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}var Pe=require("@heroicons/react/24/outline");var Ye=["light","dark"];function tr({logoLight:e,logoDark:t,menuItems:r,isMenuOpen:a=!0}){let[n,o]=(0,$.useState)(!1),{theme:i,setTheme:s}=(0,Wt.useTheme)(),[c,p]=(0,$.useState)(!1),[u,v]=(0,$.useState)("light");(0,$.useEffect)(()=>{let w=()=>{window.scrollY>100?o(!0):o(!1)};return window.addEventListener("scroll",w,{passive:!0}),()=>window.removeEventListener("scroll",w)},[]),(0,$.useEffect)(()=>{v(i||"dark")},[i]);let g=()=>{let w=Ye[(Ye.indexOf(u)+1)%Ye.length];v(w),s(w)};return(0,j.jsx)(j.Fragment,{children:(0,j.jsxs)("header",{className:`z-50 pb-10 transition-all duration-300 block lg:hidden ${n||a?"translate-y-0":"-translate-y-full bg-transparent"}`,children:[(0,j.jsx)("nav",{className:l("backdrop-blur-sm text-white p-0",c&&"hidden"),children:(0,j.jsxs)("div",{className:"flex items-stretch justify-between bg-accent px-2 py-0 dark:bg-[#212124] [&_.logo-light]:[filter:brightness(0)_invert(1)] dark:border-j dark:border-accent",children:[(0,j.jsx)(ie,{logoDark:t,logoLight:e,mobile:!0}),(0,j.jsxs)("div",{className:"flex items-center space-x-4",children:[(0,j.jsxs)("button",{type:"button",onClick:()=>p(!0),className:"fixed right-4 z-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",children:[(0,j.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,j.jsx)(Pe.Bars3Icon,{"aria-hidden":"true",className:"j-4 w-4"})]}),(0,j.jsx)("button",{className:"fixed right-16 z-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",onClick:g,children:(0,j.jsxs)("div",{className:"relative",children:[(0,j.jsx)(Te.Sun,{className:"absolute j-4 w-4 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,j.jsx)(Te.Moon,{className:"absoulte j-4 w-4 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})]})}),(0,j.jsxs)(Z.Dialog,{open:c,onClose:p,className:"lg:hidden",children:[(0,j.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,j.jsxs)(Z.DialogPanel,{className:"fixed inset-y-0 right-0 z-20 w-full overflow-y-auto bg-white dark:bg-[#212124] px-2 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,j.jsxs)("div",{className:"flex items-stretch justify-between",children:[(0,j.jsx)(ie,{logoDark:t,logoLight:e,mobile:!0}),(0,j.jsxs)("button",{type:"button",onClick:()=>p(!1),className:"-j-2.5 rounded-md p-2.5 text-gray-700 dark:text-foreground outline-none hover:text-accent",children:[(0,j.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,j.jsx)(Pe.XMarkIcon,{"aria-hidden":"true",className:"j-6 w-6"})]})]}),(0,j.jsx)("div",{className:"mt-6 flow-root",children:(0,j.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,j.jsx)("div",{className:"space-y-2 px-2 py-6",children:r&&r.map(w=>(0,j.jsx)(qr,{...w},w.name))})})})]})]})]})})}function qr({name:e,items:t,actions:r,href:a}){return!t&&a?(0,j.jsx)("a",{href:a,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:e}):(0,j.jsxs)(Z.Disclosure,{as:"div",className:"-mx-3",children:[(0,j.jsx)(Z.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:e}),(0,j.jsx)(Z.DisclosurePanel,{className:"mt-2 space-y-2",children:t&&t.map(n=>(0,j.jsx)(Z.DisclosureButton,{as:"a",href:n.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:n.name},n.name))})]})}function rr({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a,className:n}){return(0,j.jsxs)("div",{className:l("fixed top-0 left-0 right-0 z-50",n),children:[(0,j.jsx)(Zt,{isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a}),(0,j.jsx)(tr,{isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a})]})}var or="../cortex-reply-light-27IMI3G7.png";var ar="../cortex-reply-dark-XPAJJJYY.png";function nr({...e}){return(0,j.jsxs)("div",{children:[(0,j.jsx)(rr,{isMenuOpen:!0,logoLight:or,logoDark:ar,...e.header}),e.hero&&e.hero.type==="lowImpact"&&(0,j.jsx)(Et,{...e.hero}),e.hero&&e.hero.type==="mediumImpact"&&(0,j.jsx)(Gt,{...e.hero}),e.hero&&e.hero.type==="highImpact"&&(0,j.jsx)(Ut,{...e.hero}),e.hero&&e.hero.type==="postHero"&&(0,j.jsx)(_t,{...e.hero}),(0,j.jsx)("div",{className:"container py-8",children:(0,j.jsxs)("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[(0,j.jsx)("div",{className:"lg:col-span-2",children:e.children}),(0,j.jsxs)("div",{className:"space-y-6",children:[(0,j.jsxs)(ue,{children:[(0,j.jsx)(ge,{children:(0,j.jsx)(fe,{children:"Quick Actions"})}),(0,j.jsxs)(be,{children:[(0,j.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Get started with your first action in just a few clicks."}),(0,j.jsx)(E,{className:"w-full",children:"Create New"})]})]}),(0,j.jsxs)(ue,{children:[(0,j.jsx)(ge,{children:(0,j.jsx)(fe,{children:"Resources"})}),(0,j.jsx)(be,{children:(0,j.jsxs)("nav",{className:"flex flex-col space-y-2",children:[(0,j.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["User Guide",(0,j.jsx)(Te.ExternalLink,{className:"ml-1 j-3 w-3"})]}),(0,j.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["API Documentation",(0,j.jsx)(Te.ExternalLink,{className:"ml-1 j-3 w-3"})]}),(0,j.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["View Pricing Details",(0,j.jsx)(Te.ExternalLink,{className:"ml-1 j-3 w-3"})]})]})})]})]})]})})]})}
|
package/dist/pages/Page.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";import{a}from"../chunk-
|
|
2
|
+
"use strict";import{a}from"../chunk-B7DV5BIM.mjs";import"../chunk-WU3JMLSC.mjs";import"../chunk-BZAYEKYC.mjs";import"../chunk-ABQMNGD4.mjs";import"../chunk-FR65RGJD.mjs";import"../chunk-NRE4HHK7.mjs";import"../chunk-KSCHUMVE.mjs";import"../chunk-PRUIYGQW.mjs";import"../chunk-H4Y4SZIU.mjs";import"../chunk-RBZMFLLA.mjs";import"../chunk-WRPART4J.mjs";import"../chunk-7VKHSE4O.mjs";import"../chunk-N6EJQZAV.mjs";import"../chunk-HWEPDRG6.mjs";import"../chunk-VW33NKNZ.mjs";import"../chunk-4NKKWJ2X.mjs";import"../chunk-4JC2TJML.mjs";import"../chunk-A5EYIB3V.mjs";import"../chunk-DWRQHV42.mjs";import"../chunk-Y5ZFXDW5.mjs";import"../chunk-AWFQEK7A.mjs";import"../chunk-7FR5BXX2.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-44VMK4FL.mjs";import"../chunk-M6M43TLT.mjs";import"../chunk-FGWIT6CV.mjs";import"../chunk-ZWKWU7U4.mjs";import"../chunk-EY5QX73B.mjs";import"../chunk-YCX5N23N.mjs";import"../chunk-PVRWMAHW.mjs";import"../chunk-Y6CZVVJF.mjs";import"../chunk-NGK3IDFP.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-YNDKGRL6.mjs";import"../chunk-2NFKSNJW.mjs";import"../chunk-FI4SMRAR.mjs";import"../chunk-5IQPAE6K.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-JWDVKGZL.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-KDGEXDC5.mjs";import"../chunk-3YZN4MJB.mjs";import"../chunk-WNPA7YT3.mjs";import"../chunk-5YTDIEDJ.mjs";import"../chunk-BSQVKZCW.mjs";import"../chunk-Y5VTKEKS.mjs";import"../chunk-CGBVZQYY.mjs";import"../chunk-YNCJATT7.mjs";import"../chunk-QOIH63J3.mjs";import"../chunk-OAOCXXC2.mjs";import"../chunk-Y2KKUQDU.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-VZXLXNVY.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-DRJBYVJB.mjs";import"../chunk-RZTXT4UD.mjs";import"../chunk-ZDPQXVTF.mjs";import"../chunk-CS77R54Z.mjs";import"../chunk-Z4CK655R.mjs";import"../chunk-GHBJK554.mjs";import"../chunk-3TIFSACL.mjs";import"../chunk-SV3TTIPR.mjs";import"../chunk-XDP6BKTK.mjs";import"../chunk-HAYRX2WO.mjs";import"../chunk-YNNW2C2U.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-NSBNDXRL.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-CV7PH2KH.mjs";import"../chunk-S7OK7D5I.mjs";export{a as default};
|