cortex-react-components 1.16.2 → 1.17.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-WASENCYA.mjs → chunk-343CWVUF.mjs} +1 -1
- package/dist/chunk-52UEE46P.mjs +1 -0
- package/dist/{chunk-E7J5XS32.mjs → chunk-5M4ELXL3.mjs} +1 -1
- package/dist/{chunk-QETNP6ST.mjs → chunk-6MWJ4LJP.mjs} +1 -1
- package/dist/{chunk-TM4ETY55.mjs → chunk-ERWTLUYM.mjs} +1 -1
- package/dist/{chunk-HKHLTISI.mjs → chunk-G3JKNT32.mjs} +1 -1
- package/dist/chunk-H2JWQHUC.mjs +4 -0
- package/dist/chunk-HGT54DGN.mjs +1 -0
- package/dist/chunk-J3CPOHE6.mjs +1 -0
- package/dist/chunk-KML6U7IE.mjs +1 -0
- package/dist/chunk-MMBUMBDU.mjs +1 -0
- package/dist/chunk-NV7LUI3U.mjs +4 -0
- package/dist/{chunk-RFWJV4YU.mjs → chunk-PMSQWXAT.mjs} +1 -1
- package/dist/{chunk-4LYK6VPP.mjs → chunk-QCZZL6MD.mjs} +1 -1
- package/dist/{chunk-SXONQUDJ.mjs → chunk-QRV2F2XT.mjs} +1 -1
- package/dist/{chunk-ID2MGE2G.mjs → chunk-WASMU2IJ.mjs} +1 -1
- package/dist/{chunk-WZMQHIAK.mjs → chunk-XS2GYYRB.mjs} +1 -1
- package/dist/chunk-Y7INXZZZ.mjs +1 -0
- package/dist/chunk-YLVDYTR5.mjs +1 -0
- package/dist/common-types.mjs +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.js +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.stories.js +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.stories.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderMenu.js +1 -1
- package/dist/components/HeaderFooter/HeaderMenu.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderMenu.stories.js +1 -1
- package/dist/components/HeaderFooter/HeaderMenu.stories.mjs +1 -1
- package/dist/components/HeaderFooter/SimpleHeader.js +1 -1
- package/dist/components/HeaderFooter/SimpleHeader.mjs +1 -1
- package/dist/components/HeaderFooter/SimpleHeader.stories.js +1 -1
- package/dist/components/HeaderFooter/SimpleHeader.stories.mjs +1 -1
- package/dist/components/HeaderFooter/VideoHeader.js +1 -1
- package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
- package/dist/components/HeaderFooter/index.js +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Layouts/index.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/Pages/Documentation.js +1 -1
- package/dist/components/Pages/Documentation.mjs +1 -1
- package/dist/components/Pages/Documentation.stories.js +9 -9
- package/dist/components/Pages/Documentation.stories.mjs +1 -1
- package/dist/components/Pages/IndexPage.js +1 -1
- package/dist/components/Pages/IndexPage.mjs +1 -1
- package/dist/components/Pages/IndexPage.stories.js +9 -9
- package/dist/components/Pages/IndexPage.stories.mjs +1 -1
- package/dist/components/Pages/Intranet.js +1 -1
- package/dist/components/Pages/Intranet.mjs +1 -1
- package/dist/components/Pages/Intranet.stories.js +1 -1
- package/dist/components/Pages/Intranet.stories.mjs +1 -1
- package/dist/components/Pages/LandingPage.js +1 -1
- package/dist/components/Pages/LandingPage.mjs +1 -1
- package/dist/components/Pages/LandingPage.stories.js +9 -9
- package/dist/components/Pages/LandingPage.stories.mjs +1 -1
- package/dist/components/Pages/Page.js +1 -1
- package/dist/components/Pages/Page.mjs +1 -1
- package/dist/components/Pages/Page.stories.js +9 -9
- package/dist/components/Pages/Page.stories.mjs +1 -1
- package/dist/components/Pages/Website.js +1 -1
- package/dist/components/Pages/Website.mjs +1 -1
- package/dist/components/Pages/Website.stories.js +9 -9
- package/dist/components/Pages/Website.stories.mjs +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/components/ui/inputs/common/styles/index.d.ts +3 -0
- package/dist/components/ui/inputs/common/styles/index.js +1 -0
- package/dist/components/ui/inputs/common/styles/index.mjs +1 -0
- package/dist/components/ui/inputs/text-input/index.d.ts +6 -0
- package/dist/components/ui/inputs/text-input/index.js +1 -0
- package/dist/components/ui/inputs/text-input/index.mjs +1 -0
- package/dist/components/ui/inputs/textarea-input/index.d.ts +6 -0
- package/dist/components/ui/inputs/textarea-input/index.js +1 -0
- package/dist/components/ui/inputs/textarea-input/index.mjs +1 -0
- package/dist/globals.css +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/sections/ContactSection.d.ts +20 -0
- package/dist/sections/ContactSection.js +5 -0
- package/dist/sections/ContactSection.mjs +1 -0
- package/dist/sections/ContactSection.stories.js +5 -0
- package/dist/sections/ContactSection.stories.mjs +1 -0
- 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/form/index.d.ts +15 -0
- package/dist/sections/form/index.js +5 -0
- package/dist/sections/form/index.mjs +2 -0
- package/dist/sections/form/server/contact-us-form-submit.d.ts +3 -0
- package/dist/sections/form/server/contact-us-form-submit.js +4 -0
- package/dist/sections/form/server/contact-us-form-submit.mjs +2 -0
- package/dist/sections/index.js +1 -1
- package/dist/sections/index.mjs +1 -1
- package/package.json +7 -3
- package/dist/chunk-7ZPEE4NV.mjs +0 -1
- package/dist/chunk-LZII3MF4.mjs +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as h}from"./chunk-
|
|
4
|
+
import{a as h}from"./chunk-HGT54DGN.mjs";import{useState as m,useEffect as v}from"react";import{Dialog as w,DialogPanel as k,Disclosure as D,DisclosureButton as y,DisclosurePanel as P,PopoverGroup as M}from"@headlessui/react";import{Bars3Icon as I,XMarkIcon as $}from"@heroicons/react/24/outline";import{SunIcon as N,MoonIcon as C}from"@heroicons/react/20/solid";import{jsx as e,jsxs as t}from"react/jsx-runtime";var c=["light","dark","green"];function A({title:l,logo:a,menuItems:d}){let[o,n]=m(!1),[S,T]=m(!1),[u,g]=m("light"),r=a==null?void 0:a.split(".")[0],i=a==null?void 0:a.split(".")[1],[b,p]=m(`${r}.${i}`),f=s=>{c.includes(s)?p(s==="light"?`${r}.${i}`:`${r}-${s}.${i}`):p(`${r}.${i}`)};v(()=>{let s=localStorage.getItem("theme")||"light";console.log("storedTheme",s),g(s),document.documentElement.setAttribute("class",s),f(s)},[]);let x=()=>{let s=c[(c.indexOf(u)+1)%c.length];g(s),document.documentElement.setAttribute("class",s),localStorage.setItem("theme",s),f(s)};return t("header",{className:"relative isolate z-10 bg-background h-14",children:[t("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between p-3 lg:px-8",children:[e("div",{className:"flex lg:flex-1",children:t("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[e("span",{className:"sr-only",children:l}),e("img",{alt:l,src:b,className:"h-9 w-auto"})]})}),e("div",{className:"flex lg:hidden",children:t("button",{type:"button",onClick:()=>n(!0),className:"-m-2.5 inline-flex items-center justify-center rounded-md p-2.5 text-gray-700 outline-none",children:[e("span",{className:"sr-only",children:"Open main menu"}),e(I,{"aria-hidden":"true",className:"h-6 w-6"})]})}),e(M,{className:"hidden lg:flex lg:gap-x-12",children:d.map(s=>e(h,{...s},s.name))}),e("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:e("button",{onClick:x,className:"p-2 text-gray-700 outline-none",children:u==="dark"?e(N,{className:"h-6 w-6"}):u==="green"?e(C,{className:"h-6 w-6"}):e(N,{className:"h-6 w-6"})})})]}),t(w,{open:o,onClose:n,className:"lg:hidden",children:[e("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),t(k,{className:"fixed inset-y-0 right-0 z-20 w-full overflow-y-auto bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[t("div",{className:"flex items-center justify-between",children:[t("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[e("span",{className:"sr-only",children:"Your Company"}),e("img",{alt:l,src:a,className:"h-8 w-auto"})]}),t("button",{type:"button",onClick:()=>n(!1),className:"-m-2.5 rounded-md p-2.5 text-gray-700 outline-none",children:[e("span",{className:"sr-only",children:"Close menu"}),e($,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),e("div",{className:"mt-6 flow-root",children:e("div",{className:"-my-6 divide-y divide-gray-500/10",children:e("div",{className:"space-y-2 py-6",children:d.map(s=>e(H,{...s},s.name))})})})]})]})]})}function H({name:l,items:a,actions:d,href:o}){return!a&&o?e("a",{href:o,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold text-gray-900 hover:bg-gray-50",children:l}):t(D,{as:"div",className:"-mx-3",children:[e(y,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold text-gray-900 hover:bg-gray-50",children:l}),e(P,{className:"mt-2 space-y-2",children:a&&a.map(n=>e(y,{as:"a",href:n.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold text-gray-900 hover:bg-gray-50",children:n.name},n.name))})]})}export{A as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as n}from"./chunk-MMBUMBDU.mjs";import{jsx as e,jsxs as r}from"react/jsx-runtime";function o({className:t,...p}){return e("input",{...p,className:n({className:t})})}function a({icon:t,...p}){return r("div",{className:"relative w-full",children:[e(o,{...p}),t&&e("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-y-1/2 text-primary",children:t})]})}export{a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as m}from"./chunk-3YZN4MJB.mjs";import{a as d}from"./chunk-LBKMUSVR.mjs";import{b as i,f as o}from"./chunk-IPHHUHS3.mjs";import{a as s}from"./chunk-
|
|
4
|
+
import{a as m}from"./chunk-3YZN4MJB.mjs";import{a as d}from"./chunk-LBKMUSVR.mjs";import{b as i,f as o}from"./chunk-IPHHUHS3.mjs";import{a as s}from"./chunk-343CWVUF.mjs";import{a as l}from"./chunk-72BBXZKW.mjs";import{jsx as e,jsxs as r}from"react/jsx-runtime";function n({...t}){return r("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:[e(s,{...t.header}),r(i,{className:"top-14 mb-4 h-full max-h-[calc(100vh-3.5rem)] flex-1 flex-row overflow-y-clip",children:[e(d,{...t.sidebarLeft,className:"flex-none"}),e(o,{className:"grow overflow-hidden",children:r("div",{className:"max-h-full top-0 absolute max-w-full",children:[e("div",{"aria-hidden":"true",className:"inset-x-0 -z-10 transform-gpu overflow-hidden blur-3xl",children:e("div",{style:{clipPath:"polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%)"},className:"relative left-[calc(50%-11rem)] aspect-[1155/678] w-[36.125rem] -translate-x-1/2 rotate-[30deg] bg-gradient-to-tr from-primary to-secondary opacity-30 sm:left-[calc(50%-30rem)] sm:w-[72.1875rem]"})}),e("div",{className:"absolute top-0 w-full",children:e("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:r("div",{className:"mx-auto max-w-2xl text-center pt-4",children:[e("h1",{className:"text-balance text-5xl font-semibold tracking-tight text-primary sm:text-7xl",children:"Anim aute id magna aliqua ad ad non deserunt sunt."}),e("p",{className:"mt-8 text-pretty text-lg font-medium text-gray-500 sm:text-xl/8",children:"Anim aute id magna aliqua ad ad non deserunt sunt. Qui irure qui lorem cupidatat commodo. Elit sunt amet fugiat veniam occaecat."}),e("div",{className:"mt-10 flex items-center justify-center gap-x-6",children:e("div",{className:"mt-6 px-10 grid grid-cols-1 gap-8 lg:grid-cols-3",children:t.tiles.map(a=>e(l,{url:a.slug,title:a.title,mainImage:a.mainImage,excerpt:a.excerpt},a.slug))})})]})})}),e("div",{"aria-hidden":"true",className:"absolute inset-x-0 top-[calc(100%-13rem)] -z-10 transform-gpu overflow-hidden blur-3xl sm:top-[calc(100%-30rem)]",children:e("div",{style:{clipPath:"polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%)"},className:"relative left-[calc(50%+3rem)] aspect-[1155/678] w-[36.125rem] -translate-x-1/2 bg-gradient-to-tr from-[#ff80b5] to-[#9089fc] opacity-30 sm:left-[calc(50%+36rem)] sm:w-[72.1875rem]"})})]})})]}),e(m,{})]})}export{n as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as d}from"./chunk-WU3JMLSC.mjs";import{a as n}from"./chunk-BZAYEKYC.mjs";import{a as f}from"./chunk-456IOI6A.mjs";import{a as h}from"./chunk-MLVUDDTJ.mjs";import{a as s}from"./chunk-FHRWUBJS.mjs";import{a as
|
|
1
|
+
import{a as d}from"./chunk-WU3JMLSC.mjs";import{a as n}from"./chunk-BZAYEKYC.mjs";import{a as f}from"./chunk-456IOI6A.mjs";import{a as h}from"./chunk-MLVUDDTJ.mjs";import{a as s}from"./chunk-FHRWUBJS.mjs";import{a as p}from"./chunk-QXFTL6FL.mjs";import{a as u}from"./chunk-GCVL4HMJ.mjs";import{a as S}from"./chunk-I2GY5WTT.mjs";import{a as b}from"./chunk-G3JKNT32.mjs";import{a as t,b as i,c as a,e as m}from"./chunk-D76EO57Z.mjs";import{b as c}from"./chunk-GLEWUUGS.mjs";import{ExternalLink as l}from"lucide-react";import{jsx as e,jsxs as o}from"react/jsx-runtime";function C({...r}){return o("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:[o("div",{className:"fixed top-0 left-0 right-0 z-50",children:[e(b,{isMenuOpen:!0,logoLight:n,logoDark:d}),e(S,{isMenuOpen:!0,logoLight:n,logoDark:d,...r.header})]}),r.hero&&r.hero.type==="lowImpact"&&e(u,{...r.hero}),r.hero&&r.hero.type==="mediumImpact"&&e(p,{...r.hero}),r.hero&&r.hero.type==="highImpact"&&e(s,{...r.hero}),r.hero&&r.hero.type==="postHero"&&e(h,{...r.hero}),r.hero&&r.hero.type==="sectionHero"&&e(f,{...r.hero}),e("div",{className:"container py-8",children:o("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[e("div",{className:"lg:col-span-2",children:r.children}),o("div",{className:"space-y-6",children:[o(t,{children:[e(i,{children:e(a,{children:"Quick Actions"})}),o(m,{children:[e("p",{className:"mb-4 text-sm text-muted-foreground",children:"Get started with your first action in just a few clicks."}),e(c,{className:"w-full bg-accent text-accent-foreground",children:"Create New"})]})]}),o(t,{children:[e(i,{children:e(a,{children:"Resources"})}),e(m,{children:o("nav",{className:"flex flex-col space-y-2",children:[o("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["User Guide",e(l,{className:"ml-1 h-3 w-3"})]}),o("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["API Documentation",e(l,{className:"ml-1 h-3 w-3"})]}),o("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["View Pricing Details",e(l,{className:"ml-1 h-3 w-3"})]})]})})]})]})]})})]})}export{C as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as s}from"./chunk-4DJ6HKHR.mjs";import{a as c}from"./chunk-WU3JMLSC.mjs";import{a as u}from"./chunk-BZAYEKYC.mjs";import{a as l}from"./chunk-
|
|
4
|
+
import{a as s}from"./chunk-4DJ6HKHR.mjs";import{a as c}from"./chunk-WU3JMLSC.mjs";import{a as u}from"./chunk-BZAYEKYC.mjs";import{a as l}from"./chunk-WASMU2IJ.mjs";import{a,b as i,c as t,e as o}from"./chunk-D76EO57Z.mjs";import{b as n}from"./chunk-GLEWUUGS.mjs";import{ExternalLink as d}from"lucide-react";import{jsx as e,jsxs as r}from"react/jsx-runtime";function p({...m}){return r("div",{className:"relative",children:[e("div",{className:"h-screen relative overflow-hidden",children:e(l,{...m.header,logoVideo:s,logoLight:u,logoDark:c})}),r("div",{id:"next-section",className:"mt-16 pt-16 min-h-screen",children:[" ",e("div",{className:"container py-8",children:r("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[e("div",{className:"lg:col-span-2",children:m.children}),r("div",{className:"space-y-6",children:[r(a,{children:[e(i,{children:e(t,{children:"Quick Actions"})}),r(o,{children:[e("p",{className:"mb-4 text-sm text-muted-foreground",children:"Get started with your first action in just a few clicks."}),e(n,{className:"w-full",children:"Create New"})]})]}),r(a,{children:[e(i,{children:e(t,{children:"Resources"})}),e(o,{children:r("nav",{className:"flex flex-col space-y-2",children:[r("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["User Guide",e(d,{className:"ml-1 h-3 w-3"})]}),r("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["API Documentation",e(d,{className:"ml-1 h-3 w-3"})]}),r("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["View Pricing Details",e(d,{className:"ml-1 h-3 w-3"})]})]})})]})]})]})})]})]})}export{p as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as
|
|
4
|
+
import{a as n}from"./chunk-HGT54DGN.mjs";import{a as c}from"./chunk-HAYRX2WO.mjs";import{a as l}from"./chunk-UESKYRNK.mjs";import{useState as i,useEffect as d}from"react";import{Moon as v,Sun as k}from"lucide-react";import{PopoverGroup as x}from"@headlessui/react";import{Fragment as w,jsx as t,jsxs as m}from"react/jsx-runtime";function T({isMenuOpen:u,logoLight:p,logoDark:g,menuItems:o}){let[h,a]=i(!1),[b,s]=i("light"),r=["light","dark"];d(()=>{let e=localStorage.getItem("theme")||"light";console.log("storedTheme",e),s(e),document.documentElement.setAttribute("class",e)},[]);let f=()=>{let e=r[(r.indexOf(b)+1)%r.length];s(e),document.documentElement.setAttribute("class",e),localStorage.setItem("theme",e)};return d(()=>{let e=()=>{window.scrollY>100?a(!0):a(!1)};return window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[]),t(w,{children:t("header",{className:`z-50 pb-10 transition-all duration-300 hidden lg:block ${h||u?"translate-y-0":"-translate-y-full bg-transparent"}`,children:t(l,{className:"px-0",children:t("nav",{className:"backdrop-blur-sm text-white p-0 rounded-b-xl",children:m("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:[t(c,{logoDark:g,logoLight:p}),t(x,{className:"hidden lg:flex lg:gap-x-12",children:o&&o.map(e=>t(n,{...e},e.name))}),t("div",{className:"flex items-center space-x-4",children:t("button",{className:"fixed right-4 z-[60] p-2 rounded-full bg-accent/30 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-primary dark:text-white hover:text-accent hover:scale-125",onClick:f,children:m("div",{className:"relative",children:[t(k,{className:"absolute h-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),t(v,{className:"absoulte h-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}export{T as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use server";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
async function i(o){let{name:r,email:a,subject:s,message:n}=o,e="https://reply.webhook.office.com/webhookb2/bd96f013-d306-4244-8611-743f6bf96fb9@b00367e2-193a-4f48-94de-7245d45c0947/IncomingWebhook/03eafcb222a24d38aa7af5b5c09af0f0/a03e7d9d-7fba-4893-8c70-fcfcf540483d/V2TvPmNJLZgvGfNKyLJP51BEpKG04B-XU3o8hEp0vLFcU1";if(!e)throw new Error("TEAMS_WEBHOOK_URL is not defined");let c={type:"message",attachments:[{contentType:"application/vnd.microsoft.card.adaptive",content:{type:"AdaptiveCard",version:"1.2",body:[{type:"TextBlock",text:"New Contact Us Form Submission",weight:"Bolder",size:"Medium"},{type:"TextBlock",text:`**Name:** ${r}`,wrap:!0},{type:"TextBlock",text:`**Email:** ${a}`,wrap:!0},{type:"TextBlock",text:`**Subject:** ${s}`,wrap:!0},{type:"TextBlock",text:`**Message:** ${n}`,wrap:!0}]}}]};try{if(!(await fetch(e,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(c)})).ok)throw new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(t){return console.error(t),{isSuccess:!1,data:null,message:"Internal Server Error"}}}export{i as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Popover as i,PopoverButton as l,PopoverPanel as d}from"@headlessui/react";import{ChevronDownIcon as p}from"@heroicons/react/20/solid";import{jsx as e,jsxs as t}from"react/jsx-runtime";var c=({name:o,items:r,actions:n=[],href:s})=>!r&&s?e("a",{href:s,className:"flex items-center gap-x-1 text-sm font-semibold text-foreground group",children:t("span",{className:"relative",children:[o,e("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})}):t(i,{children:[t(l,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[t("span",{className:"relative",children:[o,e("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}),e(p,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),t(d,{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:[e("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:r&&r.map(a=>t("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[e("div",{className:"flex h-16 w-16 items-center justify-center rounded-lg bg-popover text-foreground group-hover:text-accent transition-transform duration-300 ease-in-out group-hover:scale-90",children:e(a.icon,{"aria-hidden":"true",size:"6x"})}),t("a",{href:a.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[a.name,e("span",{className:"absolute inset-0"})]}),e("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:a.description})]},a.name))}),n.length>0&&e("div",{className:"bg-gray-50",children:e("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:e("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:n.map(a=>t("a",{href:a.href,className:"flex items-center justify-center gap-x-2.5 p-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[e(a.icon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-gray-400"}),a.name]},a.name))})})})]})]}),x=c;export{x as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as o}from"./chunk-MMBUMBDU.mjs";import{a}from"./chunk-NIQ4466A.mjs";import{jsx as r,jsxs as n}from"react/jsx-runtime";function p({className:e,...t}){return r("textarea",{...t,className:a(o({}),"resize-none md:min-h-[130px]",e)})}function x({icon:e,...t}){return n("div",{className:"relative w-full",children:[r(p,{...t}),e&&r("span",{className:"absolute right-5 top-[18px] w-[14px] text-primary",children:e})]})}export{x as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var A="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Z";export{A as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as e}from"./chunk-NIQ4466A.mjs";function o({className:r}){return e("flex items-center min-h-[3.5rem] md:min-h-[3.75rem] w-full rounded-5 px-4 md:px-5 py-2"," bg-transparent text-accent-800 placeholder:text-accent-800 dark:text-body dark:placeholder:text-body"," border border-solid border-accent-900 border-opacity-20 dark:border-opacity-20 dark:border-accent-200"," focus:border-accent-900 focus:ring-0 focus-visible:outline-0 focus-visible:ring-0 focus-visible:ring-offset-0","transition-all duration-300",r)}export{o as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as p}from"./chunk-52UEE46P.mjs";import{a as C}from"./chunk-J3CPOHE6.mjs";import{a as b}from"./chunk-H2JWQHUC.mjs";import{b as v}from"./chunk-GLEWUUGS.mjs";import{a as i}from"./chunk-NIQ4466A.mjs";import{Formik as x}from"formik";import{FaUser as L}from"react-icons/fa6";import*as m from"yup";import{toast as f}from"sonner";import{jsx as e,jsxs as n}from"react/jsx-runtime";var s={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},N=m.object().shape({name:m.string().min(2,s.tooShort).max(50,s.tooLong).required(s.required),email:m.string().email(s.email).required(s.required),subject:m.string().min(2,s.tooShort).max(50,s.tooLong).required(s.required),message:m.string().min(2,s.tooShort).max(300,s.tooLong).required(s.required)}),u=i("!pr-[44px]"),g=i("!border-red-600 border"),d=i("sr-only");function T(){return e(x,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:N,onSubmit:async(a,{resetForm:t})=>{let o=await b(a);o.data===null?f.error(o.message):(f.success(o.message),t())},children:({errors:a,touched:t,values:o,handleChange:r,handleBlur:c,isSubmitting:l,handleSubmit:h})=>n("form",{onSubmit:h,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[n("div",{children:[e(p,{placeholder:"Your Name",type:"text",name:"name",value:o.name,onChange:r,onBlur:c,disabled:l,icon:e(L,{}),className:i(u,a.name&&t.name&&g)}),a.name&&t.name&&e("p",{title:a.name,"aria-live":"polite",role:"error message",className:d,children:a.name})]}),n("div",{children:[e(p,{placeholder:"Your Email",type:"email",name:"email",value:o.email,onChange:r,onBlur:c,disabled:l,icon:e(w,{}),className:i(u,a.email&&t.email&&g)}),a.email&&t.email&&e("p",{title:a.email,"aria-live":"polite",role:"error message",className:d,children:a.email})]}),n("div",{className:"lg:col-span-2",children:[e(p,{placeholder:"Subject",type:"text",name:"subject",value:o.subject,onChange:r,onBlur:c,disabled:l,className:i(u,a.subject&&t.subject&&g)}),a.subject&&t.subject&&e("p",{title:a.subject,"aria-live":"polite",role:"error message",className:d,children:a.subject})]}),n("div",{className:"lg:col-span-2",children:[e(C,{placeholder:"Write Message...",name:"message",value:o.message,onChange:r,onBlur:c,disabled:l,icon:e(S,{}),className:i(u,a.message&&t.message&&g)}),a.message&&t.message&&e("p",{title:a.message,"aria-live":"polite",role:"error message",className:d,children:a.message})]}),e("div",{className:"lg:col-span-2",children:e(v,{type:"submit",className:"w-full outline outline-accent bg-background text-accent hover:bg-accent hover:text-accent-foreground",disabled:l,children:e("span",{children:"SEND"})})})]})})}function w(){return e("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M14.9727 1.76172L13.2227 13.1094C13.1953 13.3828 13.0312 13.6289 12.7852 13.7656C12.6484 13.8203 12.5117 13.875 12.3477 13.875C12.2383 13.875 12.1289 13.8477 12.0195 13.793L8.68359 12.3984L7.28906 14.4766C7.17969 14.668 6.98828 14.75 6.79688 14.75C6.49609 14.75 6.25 14.5039 6.25 14.2031V11.5781C6.25 11.3594 6.30469 11.168 6.41406 11.0312L12.375 3.375L4.33594 10.6211L1.51953 9.44531C1.21875 9.30859 1 9.03516 1 8.67969C0.972656 8.29688 1.13672 8.02344 1.4375 7.85938L13.6875 0.886719C13.9609 0.722656 14.3438 0.722656 14.6172 0.914062C14.8906 1.10547 15.0273 1.43359 14.9727 1.76172Z"})})}function S(){return e("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M12.6875 0.5C13.3984 0.5 14 1.10156 14 1.8125C14 2.25 13.7812 2.63281 13.4531 2.87891L7.51953 7.33594C7.19141 7.58203 6.78125 7.58203 6.45312 7.33594L0.519531 2.87891C0.191406 2.63281 0 2.25 0 1.8125C0 1.10156 0.574219 0.5 1.3125 0.5H12.6875ZM5.93359 8.04688C6.5625 8.51172 7.41016 8.51172 8.03906 8.04688L14 3.5625V9.25C14 10.2344 13.207 11 12.25 11H1.75C0.765625 11 0 10.2344 0 9.25V3.5625L5.93359 8.04688Z"})})}export{T as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as d,b as o,c as i,d as t,e as m,f as l}from"./chunk-AWFQEK7A.mjs";import{a as b}from"./chunk-3YZN4MJB.mjs";import{a as
|
|
4
|
+
import{a as d,b as o,c as i,d as t,e as m,f as l}from"./chunk-AWFQEK7A.mjs";import{a as b}from"./chunk-3YZN4MJB.mjs";import{a as p}from"./chunk-LBKMUSVR.mjs";import{a as S}from"./chunk-GCBC75DA.mjs";import{b as s,d as c,f as u}from"./chunk-IPHHUHS3.mjs";import{a as n}from"./chunk-Y5VTKEKS.mjs";import{a as f}from"./chunk-343CWVUF.mjs";import{jsx as e,jsxs as r}from"react/jsx-runtime";function h({...a}){return r("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:[e(f,{...a.header}),r(s,{className:"top-14 mb-4 h-full max-h-[calc(100vh-3.5rem)] flex-1 flex-row overflow-y-clip",children:[e(p,{...a.sidebarLeft,className:"flex-none"}),r(u,{className:"grow overflow-hidden",children:[e("header",{className:"flex h-16 shrink-0 items-center gap-2",children:r("div",{className:"flex items-center gap-2 px-4",children:[e(c,{className:"-ml-1"}),e(n,{orientation:"vertical",className:"mr-2 h-4"}),e(d,{children:r(o,{children:[e(i,{className:"hidden md:block",children:e(t,{href:"#",children:"Building Your Application"})}),e(l,{className:"hidden md:block"}),e(i,{children:e(m,{children:"Data Fetching"})})]})})]})}),r("div",{className:"flex flex-1 flex-col gap-4 p-4 pt-0",children:[r("div",{className:"grid auto-rows-min gap-4 md:grid-cols-3",children:[e("div",{className:"aspect-video rounded-xl bg-muted/50"}),e("div",{className:"aspect-video rounded-xl bg-muted/50"}),e("div",{className:"aspect-video rounded-xl bg-muted/50"})]}),e("div",{className:"flex-1 rounded-xl bg-muted/50 md:min-h-min"})]})]}),e(S,{...a.sidebarRight,className:"flex-none"})]}),e(b,{})]})}export{h as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as m}from"./chunk-RQKTHY3B.mjs";import{a as x}from"./chunk-
|
|
1
|
+
import{a as m}from"./chunk-RQKTHY3B.mjs";import{a as x}from"./chunk-343CWVUF.mjs";import{a as o}from"./chunk-VZXLXNVY.mjs";import{a as s}from"./chunk-LQZTCLMG.mjs";import{a}from"./chunk-72BBXZKW.mjs";import{a as d}from"./chunk-IQPZEEYJ.mjs";import{Fragment as n,jsx as e,jsxs as l}from"react/jsx-runtime";function p({...t}){return e(n,{children:l("div",{className:"flex min-h-full flex-col",children:[e("div",{className:"relative isolate"}),e(x,{...t.header}),e(d,{...t.motd}),l("div",{className:"mx-auto w-full max-w-screen-2xl grow lg:flex xl:px-2",children:[l("div",{className:"flex-1 xl:flex",children:[e("div",{className:"border-b border-gray-200 px-4 py-6 sm:px-6 lg:pl-8 xl:w-64 xl:shrink-0 xl:border-b-0 xl:border-r xl:pl-6",children:t.customers.map((r,i)=>e("div",{className:"py-2 w-full flex justify-center",children:e(o,{...r})},i))}),l("div",{className:"px-4 py-4 sm:px-6 lg:pl-8 xl:flex-1 xl:pl-6",children:[l("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:[e(a,{mainImage:"/placeholder/ai.png",title:"AI Enablement",color:"primary"}),e(a,{mainImage:"/placeholder/finops.png",title:"FinOps",color:"primary2"}),e(a,{mainImage:"/placeholder/metahuman.png",title:"Metahumans",color:"primary3"})]}),e("h1",{className:"text-balance text-3xl m-5 font-semibold tracking-tight text-primary sm:text-5xl",children:"News & Updates"}),e(m,{})]})]}),l("div",{className:"shrink-0 border-t border-gray-200 px-4 py-4 sm:px-4 lg:w-96 lg:border-l lg:border-t-0 lg:pr-8 xl:pr-6",children:[e("div",{className:"mx-auto max-w-7xl",children:l("div",{className:"relative isolate overflow-hidden bg-gradient-to-br from-gray-900 via-brand-one to-brand-two px-2 py-4 text-center shadow-2xl sm:rounded-xl sm:px-2",children:[e("h2",{className:"text-balance text-xl font-semibold tracking-tight text-white sm:text-2xl",children:"Ways of working"}),e("p",{className:"mx-3 mt-4 max-w-xl text-pretty text-lg/8 text-gray-300",children:"Guides, Templates and Tools to help you work smarter."}),e("div",{className:"mt-4 flex items-center justify-center gap-x-6",children:e("a",{href:"#",className:"rounded-md bg-white px-3.5 py-2.5 text-sm font-semibold text-gray-900 shadow-sm hover:bg-accent focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-white",children:"Get started"})})]})}),e("div",{className:"mx-auto max-w-7xl flex flex-col items-center",children:t.events.map((r,i)=>e("div",{className:"py-2 w-full flex justify-center",children:e(s,{...r})},i))})]})]})]})})}export{p as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as t}from"./chunk-FHRWUBJS.mjs";import{a as
|
|
1
|
+
import{a as t}from"./chunk-FHRWUBJS.mjs";import{a as m}from"./chunk-QXFTL6FL.mjs";import{a as p}from"./chunk-GCVL4HMJ.mjs";import{jsx as a}from"react/jsx-runtime";var n={highImpact:t,lowImpact:p,mediumImpact:m},l=e=>{let{type:o}=e||{};if(!o||o==="none")return null;let r=n[o];return r?a(r,{...e}):null};export{l as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as f}from"./chunk-I2GY5WTT.mjs";import{a as m}from"./chunk-
|
|
4
|
+
import{a as f}from"./chunk-I2GY5WTT.mjs";import{a as m}from"./chunk-G3JKNT32.mjs";import{useState as i,useEffect as p}from"react";import{Menu as w,X as b,ChevronDown as x}from"lucide-react";import N from"next/image";import{jsx as e,jsxs as o}from"react/jsx-runtime";function L({logoVideo:v,logoLight:a,logoDark:r,menuItems:n}){let[c,d]=i(!1),[h,u]=i(!1),[l,s]=i(!1),g=()=>{let t=document.getElementById("next-section");t&&t.scrollIntoView({behavior:"smooth"})};return p(()=>{let t=()=>{window.scrollY>100?(u(!0),s(!1)):(u(!1),s(!0))};return window.addEventListener("scroll",t,{passive:!0}),()=>window.removeEventListener("scroll",t)},[]),p(()=>{let t=()=>{window.scrollY>100?d(!0):d(!1)};return window.addEventListener("scroll",t,{passive:!0}),()=>window.removeEventListener("scroll",t)},[]),o("div",{className:"relative h-screen",children:[o("div",{className:"absolute inset-0 w-full h-screen overflow-hidden",children:[o("video",{className:"object-cover w-full h-full",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,children:[e("source",{src:"assets/videos/background.mov",type:"video/mp4"}),"Your browser does not support the video tag."]}),e("div",{className:"absolute inset-0 bg-primary-900/50"})]}),!c&&e("button",{className:"fixed hidden lg:block top-4 right-4 z-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20",onClick:()=>{s(!l)},children:l?e(b,{className:"w-6 h-6 text-white"}):e(w,{className:"w-6 h-6 text-white"})}),o("div",{className:"fixed top-0 left-0 right-0 z-50",children:[e(m,{isMenuOpen:c,logoLight:a,logoDark:r,menuItems:n}),e(f,{isMenuOpen:!0,logoLight:a,logoDark:r,menuItems:n})]}),e("div",{className:`fixed top-4 left-4 z-50 transition-all duration-300 ${h||l?"opacity-0":"opacity-100"}`}),o("div",{className:"absolute inset-0 h-full z-10 flex flex-col items-center justify-between text-white text-center px-4",children:[e(N,{src:v,alt:"Cortex Reply Logo",width:720,height:320,className:"h-auto w-auto mt-8 hidden lg:block"}),o("div",{className:"h-full flex flex-col items-center justify-center",children:[e("h1",{className:"text-4xl font-bold pt-auto mb-4",children:"We are Cortex Reply."}),e("p",{className:"text-2xl mb-8 max-w-2xl",children:"Efficiency through technology."})]}),e("div",{className:"flex justify-center items-center w-full mb-8",children:e("div",{className:"animate-bounce cursor-pointer hover:text-accent",onClick:g,children:e(x,{size:64})})})]})]})}export{L as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as u}from"./chunk-MLVUDDTJ.mjs";import{a as l}from"./chunk-FHRWUBJS.mjs";import{a as
|
|
4
|
+
import{a as u}from"./chunk-MLVUDDTJ.mjs";import{a as l}from"./chunk-FHRWUBJS.mjs";import{a as c}from"./chunk-QXFTL6FL.mjs";import{a as s}from"./chunk-GCVL4HMJ.mjs";import{a as p}from"./chunk-343CWVUF.mjs";import{a,b as o,c as i,e as m}from"./chunk-D76EO57Z.mjs";import{b as n}from"./chunk-GLEWUUGS.mjs";import{ExternalLink as d}from"lucide-react";import{jsx as e,jsxs as t}from"react/jsx-runtime";function h({...r}){return t("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:[e(p,{...r.header}),t("div",{className:"relative",children:[r.hero&&r.hero.type==="lowImpact"&&e(s,{...r.hero}),r.hero&&r.hero.type==="mediumImpact"&&e(c,{...r.hero}),r.hero&&r.hero.type==="highImpact"&&e(l,{...r.hero}),r.hero&&r.hero.type==="postHero"&&e(u,{...r.hero}),e("div",{className:"container py-8",children:t("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[e("div",{className:"lg:col-span-2",children:r.children}),t("div",{className:"space-y-6",children:[t(a,{children:[e(o,{children:e(i,{children:"Quick Actions"})}),t(m,{children:[e("p",{className:"mb-4 text-sm text-muted-foreground",children:"Get started with your first action in just a few clicks."}),e(n,{className:"w-full",children:"Create New"})]})]}),t(a,{children:[e(o,{children:e(i,{children:"Resources"})}),e(m,{children:t("nav",{className:"flex flex-col space-y-2",children:[t("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["User Guide",e(d,{className:"ml-1 h-3 w-3"})]}),t("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["API Documentation",e(d,{className:"ml-1 h-3 w-3"})]}),t("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["View Pricing Details",e(d,{className:"ml-1 h-3 w-3"})]})]})})]})]})]})})]})]})}export{h as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as r}from"./chunk-KHYUZ2PB.mjs";import{a as n}from"./chunk-SV7NMNDI.mjs";import{a as o}from"./chunk-FNCXXX4V.mjs";import{a as e}from"./chunk-UESKYRNK.mjs";import{jsx as i,jsxs as c}from"react/jsx-runtime";function S({sectionHeading:p,cards:a}){return i("section",{className:"section-padding-primary !pt-0",children:c(e,{children:[i("div",{className:"mx-auto max-w-[630px]","data-aos":"fade-up","data-aos-delay":"100",children:i(r,{...p,alignment:"center",hasBottomSpacing:!0})}),a&&a.length>0&&i("div",{className:"grid gap-30px",children:a.map((d,t)=>i("div",{"data-aos":"fade-up","data-aos-delay":n([200,400,600],t),className:"py-2",children:i(o,{...d})},t))})]})})}export{S as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as m}from"./chunk-NV7LUI3U.mjs";import{a as r}from"./chunk-KML6U7IE.mjs";import{a as n}from"./chunk-KHYUZ2PB.mjs";import{a as l}from"./chunk-UESKYRNK.mjs";import v from"next/image";import{FaEnvelope as x,FaPhoneFlip as h}from"react-icons/fa6";import{Fragment as N,jsx as e,jsxs as t}from"react/jsx-runtime";function H(s){let{sectionHeading:d,image:a}=s;return t(N,{children:[e("section",{className:"section-padding-primary",children:e("div",{className:"",children:e("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:e("div",{className:"mx-auto max-w-2xl space-y-16 divide-y divide-gray-100 lg:mx-0 lg:max-w-none",children:t("div",{className:"grid grid-cols-1 gap-10 pt-16 lg:grid-cols-3",children:[t("div",{children:[e("h2",{className:"text-pretty text-4xl font-semibold tracking-tight text-accent",children:"Locations"}),e("p",{className:"mt-4 text-base/7 text-foreground",children:"We have multiple locations across the UK where we are based. These are our key locations."})]}),e("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2 lg:col-span-2 lg:gap-8",children:s.locations&&s.locations.map((i,c)=>{var o;return t("div",{className:"rounded-2xl p-10 border",children:[e("h3",{className:"text-base/7 font-semibold text-accent",children:i.title}),t("address",{className:"mt-3 space-y-1 text-sm/6 not-italic text-foreground",children:[(o=i.location.split(","))==null?void 0:o.map((p,g)=>e("p",{children:p},g))," ",i.mails&&t("p",{className:"flex items-center space-x-2",children:[e(x,{className:"pr-2 text-accent size-auto"}),e("span",{children:i.mails[0]})]}),i.phoneNumbers&&i.phoneNumbers.length>0&&t("p",{className:"flex items-center space-x-2",children:[e(h,{className:"pr-2 text-accent size-auto"}),i.phoneNumbers[0]]})]})]},c)})})]})})})})}),e("section",{className:"section-padding-primary",children:t("div",{className:"relative py-[60px]",children:[e("div",{className:"absolute left-0 top-0 z-1 h-full w-full overflow-hidden bg-red-500 md:w-[56%] md:rounded-r-5",children:e(v,{src:a.src,alt:a.alt,fill:!0,className:"object-cover",sizes:"(min-width: 768px) 60vw, 100vw",placeholder:"blur",blurDataURL:r})}),e(l,{children:e("div",{className:"ml-auto md:w-1/2",children:t("div",{className:"relative z-[2] rounded-5 bg-white p-10 shadow-1 dark:bg-accent-700 lg:p-[60px]",children:[e("div",{className:"mb-30px",children:e(n,{...d})}),e(m,{})]})})})]})})]})}export{H as a};
|
package/dist/common-types.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./chunk-
|
|
1
|
+
import{a}from"./chunk-KML6U7IE.mjs";import"./chunk-D2WXBUVJ.mjs";export{a as blurDataUrl};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as i}from"../../chunk-53QLSQCO.mjs";import{a as j}from"../../chunk-6HFYLEVF.mjs";import{a as q}from"../../chunk-Q3HKMCDA.mjs";import"../../chunk-IB72MBM7.mjs";import{a as p}from"../../chunk-Q24IVBS5.mjs";import{a as
|
|
1
|
+
import{a as k}from"../../chunk-EPTHSTUM.mjs";import{a as i}from"../../chunk-53QLSQCO.mjs";import{a as j}from"../../chunk-6HFYLEVF.mjs";import{a as q}from"../../chunk-Q3HKMCDA.mjs";import"../../chunk-IB72MBM7.mjs";import{a as p}from"../../chunk-Q24IVBS5.mjs";import{a as n}from"../../chunk-JCH2CCQ7.mjs";import{a as o}from"../../chunk-OEM7RQ4Q.mjs";import{a as g}from"../../chunk-72BBXZKW.mjs";import{a as f}from"../../chunk-56XJMQVR.mjs";import{a as h}from"../../chunk-IQPZEEYJ.mjs";import"../../chunk-KPIWBWE2.mjs";import{a as l}from"../../chunk-KVLKXXVS.mjs";import{a as m}from"../../chunk-N7Z6I6KY.mjs";import"../../chunk-6P7CY367.mjs";import"../../chunk-2LJVMEWU.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import{a,b}from"../../chunk-NSUCU5DU.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-YAH6C5YX.mjs";import{a as e}from"../../chunk-ODLDYXPZ.mjs";import"../../chunk-QRNJ7O2L.mjs";import"../../chunk-7WBETZEV.mjs";import"../../chunk-TFWGOEV7.mjs";import{a as d}from"../../chunk-763KMQIQ.mjs";import"../../chunk-J2VQUYES.mjs";import{a as c}from"../../chunk-SJWGFZJ6.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-SABHLBUI.mjs";import"../../chunk-GLEWUUGS.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-D2WXBUVJ.mjs";export{a as BannerBlock,b as CallToActionBlock,d as CodeBlock,l as ContentBlock,c as CopyButton,m as FeaturesBlock,n as HeadingImage,o as ImageBlock,g as InfoTile,f as Insight,h as MOTD,e as MediaBlock,i as OrgChart,j as ProposalSummary,q as RelatedPosts,p as RenderBlocks,k as WhyUs};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as
|
|
1
|
+
import{a as e}from"../../chunk-P5NVJTJ5.mjs";import"../../chunk-JWDVKGZL.mjs";import{a as d}from"../../chunk-FGWIT6CV.mjs";import{a as b}from"../../chunk-VZXLXNVY.mjs";import{a as c}from"../../chunk-LQZTCLMG.mjs";import"../../chunk-SBM5HULF.mjs";import{a}from"../../chunk-WWXGKYL4.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import{a as g}from"../../chunk-FNCXXX4V.mjs";import{a as f}from"../../chunk-C4W4JBZN.mjs";import"../../chunk-SABHLBUI.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-GLEWUUGS.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-D2WXBUVJ.mjs";export{b as CustomerCard,c as EventCard,a as FeatureCard,e as Image,g as PricingCard,d as ProjectCard,f as ServiceCard};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";"use client";var Pe=Object.create;var V=Object.defineProperty;var ze=Object.getOwnPropertyDescriptor;var Se=Object.getOwnPropertyNames;var Me=Object.getPrototypeOf,Ie=Object.prototype.hasOwnProperty;var Ae=(e,r)=>{for(var t in r)V(e,t,{get:r[t],enumerable:!0})},se=(e,r,t,o)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of Se(r))!Ie.call(e,n)&&n!==t&&V(e,n,{get:()=>r[n],enumerable:!(o=ze(r,n))||o.enumerable});return e};var ae=(e,r,t)=>(t=e!=null?Pe(Me(e)):{},se(r||!e||!e.__esModule?V(t,"default",{value:e,enumerable:!0}):t,e)),Le=e=>se(V({},"__esModule",{value:!0}),e);var pr={};Ae(pr,{HeaderDesktop:()=>dr});module.exports=Le(pr);var R=require("react");var be=require("clsx");var J="-",Re=e=>{let r=Ge(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:i=>{let a=i.split(J);return a[0]===""&&a.length!==1&&a.shift(),ce(a,r)||Te(i)},getConflictingClassGroupIds:(i,a)=>{let p=t[i]||[];return a&&o[i]?[...p,...o[i]]:p}}},ce=(e,r)=>{var i;if(e.length===0)return r.classGroupId;let t=e[0],o=r.nextPart.get(t),n=o?ce(e.slice(1),o):void 0;if(n)return n;if(r.validators.length===0)return;let s=e.join(J);return(i=r.validators.find(({validator:a})=>a(s)))==null?void 0:i.classGroupId},le=/^\[(.+)\]$/,Te=e=>{if(le.test(e)){let r=le.exec(e)[1],t=r==null?void 0:r.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}},Ge=e=>{let{theme:r,prefix:t}=e,o={nextPart:new Map,validators:[]};return _e(Object.entries(e.classGroups),t).forEach(([s,i])=>{q(i,o,s,r)}),o},q=(e,r,t,o)=>{e.forEach(n=>{if(typeof n=="string"){let s=n===""?r:ie(r,n);s.classGroupId=t;return}if(typeof n=="function"){if(Ee(n)){q(n(o),r,t,o);return}r.validators.push({validator:n,classGroupId:t});return}Object.entries(n).forEach(([s,i])=>{q(i,ie(r,s),t,o)})})},ie=(e,r)=>{let t=e;return r.split(J).forEach(o=>{t.nextPart.has(o)||t.nextPart.set(o,{nextPart:new Map,validators:[]}),t=t.nextPart.get(o)}),t},Ee=e=>e.isThemeGetter,_e=(e,r)=>r?e.map(([t,o])=>{let n=o.map(s=>typeof s=="string"?r+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([i,a])=>[r+i,a])):s);return[t,n]}):e,He=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,t=new Map,o=new Map,n=(s,i)=>{t.set(s,i),r++,r>e&&(r=0,o=t,t=new Map)};return{get(s){let i=t.get(s);if(i!==void 0)return i;if((i=o.get(s))!==void 0)return n(s,i),i},set(s,i){t.has(s)?t.set(s,i):n(s,i)}}},de="!",We=e=>{let{separator:r,experimentalParseClassName:t}=e,o=r.length===1,n=r[0],s=r.length,i=a=>{let p=[],b=0,c=0,y;for(let m=0;m<a.length;m++){let x=a[m];if(b===0){if(x===n&&(o||a.slice(m,m+s)===r)){p.push(a.slice(c,m)),c=m+s;continue}if(x==="/"){y=m;continue}}x==="["?b++:x==="]"&&b--}let w=p.length===0?a:a.substring(c),C=w.startsWith(de),k=C?w.substring(1):w,f=y&&y>c?y-c:void 0;return{modifiers:p,hasImportantModifier:C,baseClassName:k,maybePostfixModifierPosition:f}};return t?a=>t({className:a,parseClassName:i}):i},Be=e=>{if(e.length<=1)return e;let r=[],t=[];return e.forEach(o=>{o[0]==="["?(r.push(...t.sort(),o),t=[]):t.push(o)}),r.push(...t.sort()),r},Ue=e=>({cache:He(e.cacheSize),parseClassName:We(e),...Re(e)}),je=/\s+/,Ve=(e,r)=>{let{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:n}=r,s=[],i=e.trim().split(je),a="";for(let p=i.length-1;p>=0;p-=1){let b=i[p],{modifiers:c,hasImportantModifier:y,baseClassName:w,maybePostfixModifierPosition:C}=t(b),k=!!C,f=o(k?w.substring(0,C):w);if(!f){if(!k){a=b+(a.length>0?" "+a:a);continue}if(f=o(w),!f){a=b+(a.length>0?" "+a:a);continue}k=!1}let m=Be(c).join(":"),x=y?m+de:m,v=x+f;if(s.includes(v))continue;s.push(v);let T=n(f,k);for(let M=0;M<T.length;++M){let B=T[M];s.push(x+B)}a=b+(a.length>0?" "+a:a)}return a};function $e(){let e=0,r,t,o="";for(;e<arguments.length;)(r=arguments[e++])&&(t=pe(r))&&(o&&(o+=" "),o+=t);return o}var pe=e=>{if(typeof e=="string")return e;let r,t="";for(let o=0;o<e.length;o++)e[o]&&(r=pe(e[o]))&&(t&&(t+=" "),t+=r);return t};function De(e,...r){let t,o,n,s=i;function i(p){let b=r.reduce((c,y)=>y(c),e());return t=Ue(b),o=t.cache.get,n=t.cache.set,s=a,a(p)}function a(p){let b=o(p);if(b)return b;let c=Ve(p,t);return n(p,c),c}return function(){return s($e.apply(null,arguments))}}var d=e=>{let r=t=>t[e]||[];return r.isThemeGetter=!0,r},ue=/^\[(?:([a-z-]+):)?(.+)\]$/i,Oe=/^\d+\/\d+$/,Fe=new Set(["px","full","screen"]),Xe=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ye=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|he|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,qe=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Je=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Ke=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,P=e=>I(e)||Fe.has(e)||Oe.test(e),z=e=>A(e,"length",sr),I=e=>!!e&&!Number.isNaN(Number(e)),Y=e=>A(e,"number",I),E=e=>!!e&&Number.isInteger(Number(e)),Ze=e=>e.endsWith("%")&&I(e.slice(0,-1)),l=e=>ue.test(e),S=e=>Xe.test(e),Qe=new Set(["length","size","percentage"]),er=e=>A(e,Qe,ge),rr=e=>A(e,"position",ge),tr=new Set(["image","url"]),or=e=>A(e,tr,lr),nr=e=>A(e,"",ar),_=()=>!0,A=(e,r,t)=>{let o=ue.exec(e);return o?o[1]?typeof r=="string"?o[1]===r:r.has(o[1]):t(o[2]):!1},sr=e=>Ye.test(e)&&!qe.test(e),ge=()=>!1,ar=e=>Je.test(e),lr=e=>Ke.test(e);var ir=()=>{let e=d("colors"),r=d("spacing"),t=d("blur"),o=d("brightness"),n=d("borderColor"),s=d("borderRadius"),i=d("borderSpacing"),a=d("borderWidth"),p=d("contrast"),b=d("grayscale"),c=d("hueRotate"),y=d("invert"),w=d("gap"),C=d("gradientColorStops"),k=d("gradientColorStopPositions"),f=d("inset"),m=d("margin"),x=d("opacity"),v=d("padding"),T=d("saturate"),M=d("scale"),B=d("sepia"),Z=d("skew"),Q=d("space"),ee=d("translate"),D=()=>["auto","contain","none"],O=()=>["auto","hidden","clip","visible","scroll"],F=()=>["auto",l,r],u=()=>[l,r],re=()=>["",P,z],U=()=>["auto",I,l],te=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],j=()=>["solid","dashed","dotted","double","none"],oe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],X=()=>["start","end","center","between","around","evenly","stretch"],G=()=>["","0",l],ne=()=>["auto","avoid","all","avoid-page","page","left","right","column"],N=()=>[I,l];return{cacheSize:500,separator:":",theme:{colors:[_],spacing:[P,z],blur:["none","",S,l],brightness:N(),borderColor:[e],borderRadius:["none","","full",S,l],borderSpacing:u(),borderWidth:re(),contrast:N(),grayscale:G(),hueRotate:N(),invert:G(),gap:u(),gradientColorStops:[e],gradientColorStopPositions:[Ze,z],inset:F(),margin:F(),opacity:N(),padding:u(),saturate:N(),scale:N(),sepia:G(),skew:N(),space:u(),translate:u()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[S]}],"break-after":[{"break-after":ne()}],"break-before":[{"break-before":ne()}],"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:[...te(),l]}],overflow:[{overflow:O()}],"overflow-x":[{"overflow-x":O()}],"overflow-y":[{"overflow-y":O()}],overscroll:[{overscroll:D()}],"overscroll-x":[{"overscroll-x":D()}],"overscroll-y":[{"overscroll-y":D()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[f]}],"inset-x":[{"inset-x":[f]}],"inset-y":[{"inset-y":[f]}],start:[{start:[f]}],end:[{end:[f]}],top:[{top:[f]}],right:[{right:[f]}],bottom:[{bottom:[f]}],left:[{left:[f]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",E,l]}],basis:[{basis:F()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",l]}],grow:[{grow:G()}],shrink:[{shrink:G()}],order:[{order:["first","last","none",E,l]}],"grid-cols":[{"grid-cols":[_]}],"col-start-end":[{col:["auto",{span:["full",E,l]},l]}],"col-start":[{"col-start":U()}],"col-end":[{"col-end":U()}],"grid-rows":[{"grid-rows":[_]}],"row-start-end":[{row:["auto",{span:[E,l]},l]}],"row-start":[{"row-start":U()}],"row-end":[{"row-end":U()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",l]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",l]}],gap:[{gap:[w]}],"gap-x":[{"gap-x":[w]}],"gap-y":[{"gap-y":[w]}],"justify-content":[{justify:["normal",...X()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...X(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...X(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[v]}],px:[{px:[v]}],py:[{py:[v]}],ps:[{ps:[v]}],pe:[{pe:[v]}],pt:[{pt:[v]}],pr:[{pr:[v]}],pb:[{pb:[v]}],pl:[{pl:[v]}],m:[{m:[m]}],mx:[{mx:[m]}],my:[{my:[m]}],ms:[{ms:[m]}],me:[{me:[m]}],mt:[{mt:[m]}],mr:[{mr:[m]}],mb:[{mb:[m]}],ml:[{ml:[m]}],"space-x":[{"space-x":[Q]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Q]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",l,r]}],"min-w":[{"min-w":[l,r,"min","max","fit"]}],"max-w":[{"max-w":[l,r,"none","full","min","max","fit","prose",{screen:[S]},S]}],he:[{he:[l,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-he":[{"min-he":[l,r,"min","max","fit","svh","lvh","dvh"]}],"max-he":[{"max-he":[l,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,r,"auto","min","max","fit"]}],"font-size":[{text:["base",S,z]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Y]}],"font-family":[{font:[_]}],"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",l]}],"line-clamp":[{"line-clamp":["none",I,Y]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",P,l]}],"list-image":[{"list-image":["none",l]}],"list-style-type":[{list:["none","disc","decimal",l]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[x]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[x]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...j(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",P,z]}],"underline-offset":[{"underline-offset":["auto",P,l]}],"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:u()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",l]}],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",l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[x]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...te(),rr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",er]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},or]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[k]}],"gradient-via-pos":[{via:[k]}],"gradient-to-pos":[{to:[k]}],"gradient-from":[{from:[C]}],"gradient-via":[{via:[C]}],"gradient-to":[{to:[C]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[x]}],"border-style":[{border:[...j(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[x]}],"divide-style":[{divide:j()}],"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:["",...j()]}],"outline-offset":[{"outline-offset":[P,l]}],"outline-w":[{outline:[P,z]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:re()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[x]}],"ring-offset-w":[{"ring-offset":[P,z]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",S,nr]}],"shadow-color":[{shadow:[_]}],opacity:[{opacity:[x]}],"mix-blend":[{"mix-blend":[...oe(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":oe()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[o]}],contrast:[{contrast:[p]}],"drop-shadow":[{"drop-shadow":["","none",S,l]}],grayscale:[{grayscale:[b]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[y]}],saturate:[{saturate:[T]}],sepia:[{sepia:[B]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[p]}],"backdrop-grayscale":[{"backdrop-grayscale":[b]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[y]}],"backdrop-opacity":[{"backdrop-opacity":[x]}],"backdrop-saturate":[{"backdrop-saturate":[T]}],"backdrop-sepia":[{"backdrop-sepia":[B]}],"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",l]}],duration:[{duration:N()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:N()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[M]}],"scale-x":[{"scale-x":[M]}],"scale-y":[{"scale-y":[M]}],rotate:[{rotate:[E,l]}],"translate-x":[{"translate-x":[ee]}],"translate-y":[{"translate-y":[ee]}],"skew-x":[{"skew-x":[Z]}],"skew-y":[{"skew-y":[Z]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",l]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",l]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":u()}],"scroll-mx":[{"scroll-mx":u()}],"scroll-my":[{"scroll-my":u()}],"scroll-ms":[{"scroll-ms":u()}],"scroll-me":[{"scroll-me":u()}],"scroll-mt":[{"scroll-mt":u()}],"scroll-mr":[{"scroll-mr":u()}],"scroll-mb":[{"scroll-mb":u()}],"scroll-ml":[{"scroll-ml":u()}],"scroll-p":[{"scroll-p":u()}],"scroll-px":[{"scroll-px":u()}],"scroll-py":[{"scroll-py":u()}],"scroll-ps":[{"scroll-ps":u()}],"scroll-pe":[{"scroll-pe":u()}],"scroll-pt":[{"scroll-pt":u()}],"scroll-pr":[{"scroll-pr":u()}],"scroll-pb":[{"scroll-pb":u()}],"scroll-pl":[{"scroll-pl":u()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",l]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[P,z,Y]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","he"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var me=De(ir);function H(...e){return me((0,be.clsx)(e))}var he=require("react/jsx-runtime");function fe({children:e,isFluid:r=!1,isNoPadding:t=!1,className:o=""}){let n=H("container",r&&"full-width",t&&"no-padding",o);return(0,he.jsx)("div",{className:n,children:e})}var xe=ae(require("next/link"));function ye({children:e,href:r,openNewTab:t,...o}){return(0,he.jsx)(xe.default,{href:r,target:t?"_blank":"_self",...o,children:e})}var K=ae(require("next/image"));function we({logoLight:e,logoDark:r,mobile:t=!1}){return(0,he.jsxs)(ye,{href:"/",className:H(t?"py-1":"py-2"),children:[(0,he.jsx)(K.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:t?35:50}}),(0,he.jsx)(K.default,{className:"logo-dark hidden dark:block",src:r.src,width:r.width,height:r.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:t?35:50}})]})}var $=require("lucide-react");var L=require("@headlessui/react"),ke=require("@heroicons/react/20/solid"),cr=({name:e,items:r,actions:t=[],href:o})=>!r&&o?(0,he.jsxs)("a",{href:o,className:"relative inline-block text-sm font-semibold text-foreground group",children:[e,(0,he.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 he-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,he.jsxs)(L.Popover,{children:[(0,he.jsxs)(L.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,he.jsxs)("span",{className:"relative",children:[e,(0,he.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 he-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,he.jsx)(ke.ChevronDownIcon,{"aria-hidden":"true",className:"he-5 w-5 flex-none text-accent"})]}),(0,he.jsxs)(L.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,he.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:r&&r.map(n=>(0,he.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,he.jsx)("div",{className:"flex he-16 w-16 items-center justify-center rounded-lg bg-popover text-foreground group-hover:text-accent transition-transform duration-300 ease-in-out group-hover:scale-90",children:(0,he.jsx)(n.icon,{"aria-hidden":"true",size:"6x"})}),(0,he.jsxs)("a",{href:n.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[n.name,(0,he.jsx)("span",{className:"absolute inset-0"})]}),(0,he.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:n.description})]},n.name))}),t.length>0&&(0,he.jsx)("div",{className:"bg-gray-50",children:(0,he.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,he.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:t.map(n=>(0,he.jsxs)("a",{href:n.href,className:"flex items-center justify-center gap-x-2.5 p-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[(0,he.jsx)(n.icon,{"aria-hidden":"true",className:"he-5 w-5 flex-none text-gray-400"}),n.name]},n.name))})})})]})]}),Ce=cr;function dr({isMenuOpen:e,logoLight:r,logoDark:t,menuItems:o}){let[n,s]=(0,R.useState)(!1),[i,a]=(0,R.useState)("light"),p=["light","dark"];(0,R.useEffect)(()=>{let c=localStorage.getItem("theme")||"light";console.log("storedTheme",c),a(c),document.documentElement.setAttribute("class",c)},[]);let b=()=>{let c=p[(p.indexOf(i)+1)%p.length];a(c),document.documentElement.setAttribute("class",c),localStorage.setItem("theme",c)};return(0,R.useEffect)(()=>{let c=()=>{window.scrollY>100?s(!0):s(!1)};return window.addEventListener("scroll",c,{passive:!0}),()=>window.removeEventListener("scroll",c)},[]),(0,he.jsx)(he.Fragment,{children:(0,he.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,he.jsx)(fe,{className:"px-0",children:(0,he.jsx)("nav",{className:"backdrop-blur-sm text-white p-0 rounded-b-xl",children:(0,he.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,he.jsx)(we,{logoDark:t,logoLight:r}),(0,he.jsx)(L.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:o&&o.map(c=>(0,he.jsx)(Ce,{...c},c.name))}),(0,he.jsx)("div",{className:"flex items-center space-x-4",children:(0,he.jsx)("button",{className:"fixed right-4 z-[60] p-2 rounded-full bg-accent/30 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-primary dark:text-white hover:text-accent hover:scale-125",onClick:b,children:(0,he.jsxs)("div",{className:"relative",children:[(0,he.jsx)($.Sun,{className:"absolute he-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,he.jsx)($.Moon,{className:"absoulte he-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}0&&(module.exports={HeaderDesktop});
|
|
4
|
+
"use strict";"use client";var Pe=Object.create;var V=Object.defineProperty;var ze=Object.getOwnPropertyDescriptor;var Se=Object.getOwnPropertyNames;var Me=Object.getPrototypeOf,Ie=Object.prototype.hasOwnProperty;var Ae=(e,r)=>{for(var t in r)V(e,t,{get:r[t],enumerable:!0})},se=(e,r,t,o)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of Se(r))!Ie.call(e,n)&&n!==t&&V(e,n,{get:()=>r[n],enumerable:!(o=ze(r,n))||o.enumerable});return e};var ae=(e,r,t)=>(t=e!=null?Pe(Me(e)):{},se(r||!e||!e.__esModule?V(t,"default",{value:e,enumerable:!0}):t,e)),Le=e=>se(V({},"__esModule",{value:!0}),e);var pr={};Ae(pr,{HeaderDesktop:()=>dr});module.exports=Le(pr);var R=require("react");var be=require("clsx");var J="-",Re=e=>{let r=Ge(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:i=>{let a=i.split(J);return a[0]===""&&a.length!==1&&a.shift(),ce(a,r)||Te(i)},getConflictingClassGroupIds:(i,a)=>{let p=t[i]||[];return a&&o[i]?[...p,...o[i]]:p}}},ce=(e,r)=>{var i;if(e.length===0)return r.classGroupId;let t=e[0],o=r.nextPart.get(t),n=o?ce(e.slice(1),o):void 0;if(n)return n;if(r.validators.length===0)return;let s=e.join(J);return(i=r.validators.find(({validator:a})=>a(s)))==null?void 0:i.classGroupId},le=/^\[(.+)\]$/,Te=e=>{if(le.test(e)){let r=le.exec(e)[1],t=r==null?void 0:r.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}},Ge=e=>{let{theme:r,prefix:t}=e,o={nextPart:new Map,validators:[]};return _e(Object.entries(e.classGroups),t).forEach(([s,i])=>{q(i,o,s,r)}),o},q=(e,r,t,o)=>{e.forEach(n=>{if(typeof n=="string"){let s=n===""?r:ie(r,n);s.classGroupId=t;return}if(typeof n=="function"){if(Ee(n)){q(n(o),r,t,o);return}r.validators.push({validator:n,classGroupId:t});return}Object.entries(n).forEach(([s,i])=>{q(i,ie(r,s),t,o)})})},ie=(e,r)=>{let t=e;return r.split(J).forEach(o=>{t.nextPart.has(o)||t.nextPart.set(o,{nextPart:new Map,validators:[]}),t=t.nextPart.get(o)}),t},Ee=e=>e.isThemeGetter,_e=(e,r)=>r?e.map(([t,o])=>{let n=o.map(s=>typeof s=="string"?r+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([i,a])=>[r+i,a])):s);return[t,n]}):e,He=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,t=new Map,o=new Map,n=(s,i)=>{t.set(s,i),r++,r>e&&(r=0,o=t,t=new Map)};return{get(s){let i=t.get(s);if(i!==void 0)return i;if((i=o.get(s))!==void 0)return n(s,i),i},set(s,i){t.has(s)?t.set(s,i):n(s,i)}}},de="!",We=e=>{let{separator:r,experimentalParseClassName:t}=e,o=r.length===1,n=r[0],s=r.length,i=a=>{let p=[],b=0,c=0,y;for(let m=0;m<a.length;m++){let x=a[m];if(b===0){if(x===n&&(o||a.slice(m,m+s)===r)){p.push(a.slice(c,m)),c=m+s;continue}if(x==="/"){y=m;continue}}x==="["?b++:x==="]"&&b--}let w=p.length===0?a:a.substring(c),C=w.startsWith(de),k=C?w.substring(1):w,f=y&&y>c?y-c:void 0;return{modifiers:p,hasImportantModifier:C,baseClassName:k,maybePostfixModifierPosition:f}};return t?a=>t({className:a,parseClassName:i}):i},Be=e=>{if(e.length<=1)return e;let r=[],t=[];return e.forEach(o=>{o[0]==="["?(r.push(...t.sort(),o),t=[]):t.push(o)}),r.push(...t.sort()),r},Ue=e=>({cache:He(e.cacheSize),parseClassName:We(e),...Re(e)}),je=/\s+/,Ve=(e,r)=>{let{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:n}=r,s=[],i=e.trim().split(je),a="";for(let p=i.length-1;p>=0;p-=1){let b=i[p],{modifiers:c,hasImportantModifier:y,baseClassName:w,maybePostfixModifierPosition:C}=t(b),k=!!C,f=o(k?w.substring(0,C):w);if(!f){if(!k){a=b+(a.length>0?" "+a:a);continue}if(f=o(w),!f){a=b+(a.length>0?" "+a:a);continue}k=!1}let m=Be(c).join(":"),x=y?m+de:m,v=x+f;if(s.includes(v))continue;s.push(v);let T=n(f,k);for(let M=0;M<T.length;++M){let B=T[M];s.push(x+B)}a=b+(a.length>0?" "+a:a)}return a};function $e(){let e=0,r,t,o="";for(;e<arguments.length;)(r=arguments[e++])&&(t=pe(r))&&(o&&(o+=" "),o+=t);return o}var pe=e=>{if(typeof e=="string")return e;let r,t="";for(let o=0;o<e.length;o++)e[o]&&(r=pe(e[o]))&&(t&&(t+=" "),t+=r);return t};function De(e,...r){let t,o,n,s=i;function i(p){let b=r.reduce((c,y)=>y(c),e());return t=Ue(b),o=t.cache.get,n=t.cache.set,s=a,a(p)}function a(p){let b=o(p);if(b)return b;let c=Ve(p,t);return n(p,c),c}return function(){return s($e.apply(null,arguments))}}var d=e=>{let r=t=>t[e]||[];return r.isThemeGetter=!0,r},ue=/^\[(?:([a-z-]+):)?(.+)\]$/i,Oe=/^\d+\/\d+$/,Fe=new Set(["px","full","screen"]),Xe=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ye=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|he|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,qe=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Je=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Ke=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,P=e=>I(e)||Fe.has(e)||Oe.test(e),z=e=>A(e,"length",sr),I=e=>!!e&&!Number.isNaN(Number(e)),Y=e=>A(e,"number",I),E=e=>!!e&&Number.isInteger(Number(e)),Ze=e=>e.endsWith("%")&&I(e.slice(0,-1)),l=e=>ue.test(e),S=e=>Xe.test(e),Qe=new Set(["length","size","percentage"]),er=e=>A(e,Qe,ge),rr=e=>A(e,"position",ge),tr=new Set(["image","url"]),or=e=>A(e,tr,lr),nr=e=>A(e,"",ar),_=()=>!0,A=(e,r,t)=>{let o=ue.exec(e);return o?o[1]?typeof r=="string"?o[1]===r:r.has(o[1]):t(o[2]):!1},sr=e=>Ye.test(e)&&!qe.test(e),ge=()=>!1,ar=e=>Je.test(e),lr=e=>Ke.test(e);var ir=()=>{let e=d("colors"),r=d("spacing"),t=d("blur"),o=d("brightness"),n=d("borderColor"),s=d("borderRadius"),i=d("borderSpacing"),a=d("borderWidth"),p=d("contrast"),b=d("grayscale"),c=d("hueRotate"),y=d("invert"),w=d("gap"),C=d("gradientColorStops"),k=d("gradientColorStopPositions"),f=d("inset"),m=d("margin"),x=d("opacity"),v=d("padding"),T=d("saturate"),M=d("scale"),B=d("sepia"),Z=d("skew"),Q=d("space"),ee=d("translate"),D=()=>["auto","contain","none"],O=()=>["auto","hidden","clip","visible","scroll"],F=()=>["auto",l,r],u=()=>[l,r],re=()=>["",P,z],U=()=>["auto",I,l],te=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],j=()=>["solid","dashed","dotted","double","none"],oe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],X=()=>["start","end","center","between","around","evenly","stretch"],G=()=>["","0",l],ne=()=>["auto","avoid","all","avoid-page","page","left","right","column"],N=()=>[I,l];return{cacheSize:500,separator:":",theme:{colors:[_],spacing:[P,z],blur:["none","",S,l],brightness:N(),borderColor:[e],borderRadius:["none","","full",S,l],borderSpacing:u(),borderWidth:re(),contrast:N(),grayscale:G(),hueRotate:N(),invert:G(),gap:u(),gradientColorStops:[e],gradientColorStopPositions:[Ze,z],inset:F(),margin:F(),opacity:N(),padding:u(),saturate:N(),scale:N(),sepia:G(),skew:N(),space:u(),translate:u()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[S]}],"break-after":[{"break-after":ne()}],"break-before":[{"break-before":ne()}],"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:[...te(),l]}],overflow:[{overflow:O()}],"overflow-x":[{"overflow-x":O()}],"overflow-y":[{"overflow-y":O()}],overscroll:[{overscroll:D()}],"overscroll-x":[{"overscroll-x":D()}],"overscroll-y":[{"overscroll-y":D()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[f]}],"inset-x":[{"inset-x":[f]}],"inset-y":[{"inset-y":[f]}],start:[{start:[f]}],end:[{end:[f]}],top:[{top:[f]}],right:[{right:[f]}],bottom:[{bottom:[f]}],left:[{left:[f]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",E,l]}],basis:[{basis:F()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",l]}],grow:[{grow:G()}],shrink:[{shrink:G()}],order:[{order:["first","last","none",E,l]}],"grid-cols":[{"grid-cols":[_]}],"col-start-end":[{col:["auto",{span:["full",E,l]},l]}],"col-start":[{"col-start":U()}],"col-end":[{"col-end":U()}],"grid-rows":[{"grid-rows":[_]}],"row-start-end":[{row:["auto",{span:[E,l]},l]}],"row-start":[{"row-start":U()}],"row-end":[{"row-end":U()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",l]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",l]}],gap:[{gap:[w]}],"gap-x":[{"gap-x":[w]}],"gap-y":[{"gap-y":[w]}],"justify-content":[{justify:["normal",...X()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...X(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...X(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[v]}],px:[{px:[v]}],py:[{py:[v]}],ps:[{ps:[v]}],pe:[{pe:[v]}],pt:[{pt:[v]}],pr:[{pr:[v]}],pb:[{pb:[v]}],pl:[{pl:[v]}],m:[{m:[m]}],mx:[{mx:[m]}],my:[{my:[m]}],ms:[{ms:[m]}],me:[{me:[m]}],mt:[{mt:[m]}],mr:[{mr:[m]}],mb:[{mb:[m]}],ml:[{ml:[m]}],"space-x":[{"space-x":[Q]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Q]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",l,r]}],"min-w":[{"min-w":[l,r,"min","max","fit"]}],"max-w":[{"max-w":[l,r,"none","full","min","max","fit","prose",{screen:[S]},S]}],he:[{he:[l,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-he":[{"min-he":[l,r,"min","max","fit","svh","lvh","dvh"]}],"max-he":[{"max-he":[l,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,r,"auto","min","max","fit"]}],"font-size":[{text:["base",S,z]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Y]}],"font-family":[{font:[_]}],"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",l]}],"line-clamp":[{"line-clamp":["none",I,Y]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",P,l]}],"list-image":[{"list-image":["none",l]}],"list-style-type":[{list:["none","disc","decimal",l]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[x]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[x]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...j(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",P,z]}],"underline-offset":[{"underline-offset":["auto",P,l]}],"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:u()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",l]}],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",l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[x]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...te(),rr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",er]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},or]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[k]}],"gradient-via-pos":[{via:[k]}],"gradient-to-pos":[{to:[k]}],"gradient-from":[{from:[C]}],"gradient-via":[{via:[C]}],"gradient-to":[{to:[C]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[x]}],"border-style":[{border:[...j(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[x]}],"divide-style":[{divide:j()}],"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:["",...j()]}],"outline-offset":[{"outline-offset":[P,l]}],"outline-w":[{outline:[P,z]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:re()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[x]}],"ring-offset-w":[{"ring-offset":[P,z]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",S,nr]}],"shadow-color":[{shadow:[_]}],opacity:[{opacity:[x]}],"mix-blend":[{"mix-blend":[...oe(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":oe()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[o]}],contrast:[{contrast:[p]}],"drop-shadow":[{"drop-shadow":["","none",S,l]}],grayscale:[{grayscale:[b]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[y]}],saturate:[{saturate:[T]}],sepia:[{sepia:[B]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[p]}],"backdrop-grayscale":[{"backdrop-grayscale":[b]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[y]}],"backdrop-opacity":[{"backdrop-opacity":[x]}],"backdrop-saturate":[{"backdrop-saturate":[T]}],"backdrop-sepia":[{"backdrop-sepia":[B]}],"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",l]}],duration:[{duration:N()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:N()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[M]}],"scale-x":[{"scale-x":[M]}],"scale-y":[{"scale-y":[M]}],rotate:[{rotate:[E,l]}],"translate-x":[{"translate-x":[ee]}],"translate-y":[{"translate-y":[ee]}],"skew-x":[{"skew-x":[Z]}],"skew-y":[{"skew-y":[Z]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",l]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",l]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":u()}],"scroll-mx":[{"scroll-mx":u()}],"scroll-my":[{"scroll-my":u()}],"scroll-ms":[{"scroll-ms":u()}],"scroll-me":[{"scroll-me":u()}],"scroll-mt":[{"scroll-mt":u()}],"scroll-mr":[{"scroll-mr":u()}],"scroll-mb":[{"scroll-mb":u()}],"scroll-ml":[{"scroll-ml":u()}],"scroll-p":[{"scroll-p":u()}],"scroll-px":[{"scroll-px":u()}],"scroll-py":[{"scroll-py":u()}],"scroll-ps":[{"scroll-ps":u()}],"scroll-pe":[{"scroll-pe":u()}],"scroll-pt":[{"scroll-pt":u()}],"scroll-pr":[{"scroll-pr":u()}],"scroll-pb":[{"scroll-pb":u()}],"scroll-pl":[{"scroll-pl":u()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",l]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[P,z,Y]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","he"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var me=De(ir);function H(...e){return me((0,be.clsx)(e))}var he=require("react/jsx-runtime");function fe({children:e,isFluid:r=!1,isNoPadding:t=!1,className:o=""}){let n=H("container",r&&"full-width",t&&"no-padding",o);return(0,he.jsx)("div",{className:n,children:e})}var xe=ae(require("next/link"));function ye({children:e,href:r,openNewTab:t,...o}){return(0,he.jsx)(xe.default,{href:r,target:t?"_blank":"_self",...o,children:e})}var K=ae(require("next/image"));function we({logoLight:e,logoDark:r,mobile:t=!1}){return(0,he.jsxs)(ye,{href:"/",className:H(t?"py-1":"py-2"),children:[(0,he.jsx)(K.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:t?35:50}}),(0,he.jsx)(K.default,{className:"logo-dark hidden dark:block",src:r.src,width:r.width,height:r.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:t?35:50}})]})}var $=require("lucide-react");var L=require("@headlessui/react"),ke=require("@heroicons/react/20/solid"),cr=({name:e,items:r,actions:t=[],href:o})=>!r&&o?(0,he.jsx)("a",{href:o,className:"flex items-center gap-x-1 text-sm font-semibold text-foreground group",children:(0,he.jsxs)("span",{className:"relative",children:[e,(0,he.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 he-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,he.jsxs)(L.Popover,{children:[(0,he.jsxs)(L.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,he.jsxs)("span",{className:"relative",children:[e,(0,he.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 he-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,he.jsx)(ke.ChevronDownIcon,{"aria-hidden":"true",className:"he-5 w-5 flex-none text-accent"})]}),(0,he.jsxs)(L.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,he.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:r&&r.map(n=>(0,he.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,he.jsx)("div",{className:"flex he-16 w-16 items-center justify-center rounded-lg bg-popover text-foreground group-hover:text-accent transition-transform duration-300 ease-in-out group-hover:scale-90",children:(0,he.jsx)(n.icon,{"aria-hidden":"true",size:"6x"})}),(0,he.jsxs)("a",{href:n.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[n.name,(0,he.jsx)("span",{className:"absolute inset-0"})]}),(0,he.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:n.description})]},n.name))}),t.length>0&&(0,he.jsx)("div",{className:"bg-gray-50",children:(0,he.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,he.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:t.map(n=>(0,he.jsxs)("a",{href:n.href,className:"flex items-center justify-center gap-x-2.5 p-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[(0,he.jsx)(n.icon,{"aria-hidden":"true",className:"he-5 w-5 flex-none text-gray-400"}),n.name]},n.name))})})})]})]}),Ce=cr;function dr({isMenuOpen:e,logoLight:r,logoDark:t,menuItems:o}){let[n,s]=(0,R.useState)(!1),[i,a]=(0,R.useState)("light"),p=["light","dark"];(0,R.useEffect)(()=>{let c=localStorage.getItem("theme")||"light";console.log("storedTheme",c),a(c),document.documentElement.setAttribute("class",c)},[]);let b=()=>{let c=p[(p.indexOf(i)+1)%p.length];a(c),document.documentElement.setAttribute("class",c),localStorage.setItem("theme",c)};return(0,R.useEffect)(()=>{let c=()=>{window.scrollY>100?s(!0):s(!1)};return window.addEventListener("scroll",c,{passive:!0}),()=>window.removeEventListener("scroll",c)},[]),(0,he.jsx)(he.Fragment,{children:(0,he.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,he.jsx)(fe,{className:"px-0",children:(0,he.jsx)("nav",{className:"backdrop-blur-sm text-white p-0 rounded-b-xl",children:(0,he.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,he.jsx)(we,{logoDark:t,logoLight:r}),(0,he.jsx)(L.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:o&&o.map(c=>(0,he.jsx)(Ce,{...c},c.name))}),(0,he.jsx)("div",{className:"flex items-center space-x-4",children:(0,he.jsx)("button",{className:"fixed right-4 z-[60] p-2 rounded-full bg-accent/30 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-primary dark:text-white hover:text-accent hover:scale-125",onClick:b,children:(0,he.jsxs)("div",{className:"relative",children:[(0,he.jsx)($.Sun,{className:"absolute he-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,he.jsx)($.Moon,{className:"absoulte he-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}0&&(module.exports={HeaderDesktop});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";import{a}from"../../chunk-
|
|
2
|
+
"use strict";import{a}from"../../chunk-G3JKNT32.mjs";import"../../chunk-HGT54DGN.mjs";import"../../chunk-HAYRX2WO.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-UESKYRNK.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-D2WXBUVJ.mjs";export{a as HeaderDesktop};
|