cortex-react-components 1.53.7 → 1.53.8

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.
Files changed (140) hide show
  1. package/dist/{chunk-UBA3ZRKC.mjs → chunk-23BDC5JG.mjs} +1 -1
  2. package/dist/{chunk-5YTDIEDJ.mjs → chunk-2IKC7MAP.mjs} +1 -1
  3. package/dist/{chunk-URAT6D6U.mjs → chunk-3H4I4BWV.mjs} +1 -1
  4. package/dist/{chunk-EOJQ2KKP.mjs → chunk-4MQV5KBS.mjs} +1 -1
  5. package/dist/{chunk-7BUKEFXF.mjs → chunk-6BMA4EN7.mjs} +1 -1
  6. package/dist/{chunk-AFYQS22K.mjs → chunk-BK3D55T5.mjs} +1 -1
  7. package/dist/{chunk-JB3WMW2V.mjs → chunk-CZHOJQXZ.mjs} +1 -1
  8. package/dist/{chunk-NOLDWELD.mjs → chunk-D44ZXHH4.mjs} +1 -1
  9. package/dist/{chunk-RDWF5HZG.mjs → chunk-EDNVTO7V.mjs} +1 -1
  10. package/dist/{chunk-73ZWEV2X.mjs → chunk-EE3OE4KE.mjs} +1 -1
  11. package/dist/{chunk-LGTE6VHF.mjs → chunk-FBX62APP.mjs} +1 -1
  12. package/dist/{chunk-3C45ZWAB.mjs → chunk-GOQI5TPU.mjs} +1 -1
  13. package/dist/{chunk-ZON7P23Z.mjs → chunk-HSFVPF3U.mjs} +1 -1
  14. package/dist/{chunk-GK6Z3E4K.mjs → chunk-IBKC2QY6.mjs} +1 -1
  15. package/dist/{chunk-AAI2VZST.mjs → chunk-IO222G5L.mjs} +1 -1
  16. package/dist/{chunk-ZRBQIXJM.mjs → chunk-KBVA4E4V.mjs} +1 -1
  17. package/dist/{chunk-S7I4XJS6.mjs → chunk-LLJZRF3C.mjs} +1 -1
  18. package/dist/{chunk-UBLSFHFX.mjs → chunk-LWVLORSN.mjs} +1 -1
  19. package/dist/{chunk-HBWMSYBN.mjs → chunk-M2DQADOK.mjs} +1 -1
  20. package/dist/{chunk-LMNWDTST.mjs → chunk-M4IBPAQ4.mjs} +1 -1
  21. package/dist/{chunk-7MKXHL57.mjs → chunk-NVRKB4LW.mjs} +1 -1
  22. package/dist/{chunk-XYLYPBZO.mjs → chunk-OAO4Z5WE.mjs} +1 -1
  23. package/dist/{chunk-IEMFKH5A.mjs → chunk-ORUW7NID.mjs} +1 -1
  24. package/dist/{chunk-EJWCYWV6.mjs → chunk-PLR4ZK4A.mjs} +1 -1
  25. package/dist/{chunk-OKGBIF2I.mjs → chunk-Q2H33MTB.mjs} +1 -1
  26. package/dist/{chunk-ESWNUYYT.mjs → chunk-QHKI3GAG.mjs} +1 -1
  27. package/dist/{chunk-KEUZSK3N.mjs → chunk-QMFZRG7O.mjs} +1 -1
  28. package/dist/{chunk-YZVR5WZF.mjs → chunk-RE4QWZ2N.mjs} +1 -1
  29. package/dist/{chunk-P7RZLKAN.mjs → chunk-REIGTQCW.mjs} +1 -1
  30. package/dist/{chunk-JPUN2TYN.mjs → chunk-U7FOLOH2.mjs} +1 -1
  31. package/dist/{chunk-HGUTZ3XW.mjs → chunk-UNB5JW5S.mjs} +1 -1
  32. package/dist/{chunk-4ITIJK55.mjs → chunk-V56EA7R6.mjs} +1 -1
  33. package/dist/{chunk-VYQYFS6R.mjs → chunk-XAN2JADY.mjs} +1 -1
  34. package/dist/{chunk-KGOIKNFN.mjs → chunk-YQFOV2N3.mjs} +1 -1
  35. package/dist/{chunk-HGUSGNFK.mjs → chunk-ZJRG7RA3.mjs} +1 -1
  36. package/dist/{chunk-VKA6UDCS.mjs → chunk-ZZLWY7HX.mjs} +3 -3
  37. package/dist/components/Blocks/Banner.mjs +1 -1
  38. package/dist/components/Blocks/CallToAction.mjs +1 -1
  39. package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
  40. package/dist/components/Blocks/Content.mjs +1 -1
  41. package/dist/components/Blocks/Content.stories.mjs +1 -1
  42. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  43. package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
  44. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  45. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  46. package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
  47. package/dist/components/Blocks/index.mjs +1 -1
  48. package/dist/components/CRM/KanbanBoard.mjs +1 -1
  49. package/dist/components/CRM/KanbanBoard.stories.mjs +1 -1
  50. package/dist/components/CRM/index.mjs +1 -1
  51. package/dist/components/Cards/ContentCard.mjs +1 -1
  52. package/dist/components/Cards/ContentCard.stories.mjs +1 -1
  53. package/dist/components/Cards/FeatureCard.mjs +1 -1
  54. package/dist/components/Cards/FeatureCard.stories.mjs +1 -1
  55. package/dist/components/Cards/index.mjs +1 -1
  56. package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +1 -1
  57. package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
  58. package/dist/components/DigitalColleagues/MainPage.stories.mjs +1 -1
  59. package/dist/components/HeaderFooter/Footer.mjs +1 -1
  60. package/dist/components/HeaderFooter/Footer.stories.mjs +1 -1
  61. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  62. package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
  63. package/dist/components/HeaderFooter/index.mjs +1 -1
  64. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  65. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  66. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  67. package/dist/components/Heros/PostHero/index.mjs +1 -1
  68. package/dist/components/Heros/RenderHero.mjs +1 -1
  69. package/dist/components/Heros/SectionHero/index.mjs +1 -1
  70. package/dist/components/Heros/index.mjs +1 -1
  71. package/dist/components/Layouts/FeatureGrid.stories.mjs +1 -1
  72. package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
  73. package/dist/components/Layouts/Print.mjs +1 -1
  74. package/dist/components/Layouts/Print.stories.mjs +1 -1
  75. package/dist/components/Layouts/SlideShow.mjs +1 -1
  76. package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
  77. package/dist/components/Layouts/index.mjs +1 -1
  78. package/dist/components/Menus/SidebarLeft.mjs +1 -1
  79. package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
  80. package/dist/components/Menus/SidebarRight.mjs +1 -1
  81. package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
  82. package/dist/components/Menus/index.mjs +1 -1
  83. package/dist/components/Other/index.mjs +1 -1
  84. package/dist/components/Payload/RichText/index.mjs +1 -1
  85. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  86. package/dist/components/Payload/RichText.stories.mjs +1 -1
  87. package/dist/components/Payload/index.mjs +1 -1
  88. package/dist/components/index.mjs +1 -1
  89. package/dist/components/ui/index.mjs +1 -1
  90. package/dist/components/ui/sidebar.mjs +1 -1
  91. package/dist/globals.css +1 -1
  92. package/dist/index.js +1 -1
  93. package/dist/index.mjs +1 -1
  94. package/dist/metafile-cjs.json +1 -1
  95. package/dist/metafile-esm.json +1 -1
  96. package/dist/pages/Blog.mjs +1 -1
  97. package/dist/pages/Blog.stories.mjs +1 -1
  98. package/dist/pages/Documentation.mjs +1 -1
  99. package/dist/pages/Documentation.stories.mjs +1 -1
  100. package/dist/pages/IndexPage.mjs +1 -1
  101. package/dist/pages/IndexPage.stories.mjs +1 -1
  102. package/dist/pages/Intranet.mjs +1 -1
  103. package/dist/pages/Intranet.stories.mjs +1 -1
  104. package/dist/pages/LandingPage.js +1 -1
  105. package/dist/pages/LandingPage.mjs +1 -1
  106. package/dist/pages/LandingPage.stories.js +1 -1
  107. package/dist/pages/LandingPage.stories.mjs +1 -1
  108. package/dist/pages/Page.mjs +1 -1
  109. package/dist/pages/Page.stories.mjs +1 -1
  110. package/dist/pages/Printable.stories.mjs +1 -1
  111. package/dist/pages/Publish.mjs +1 -1
  112. package/dist/pages/Publish.stories.mjs +1 -1
  113. package/dist/pages/Website.mjs +1 -1
  114. package/dist/pages/Website.stories.mjs +1 -1
  115. package/dist/sections/AboutSection.mjs +1 -1
  116. package/dist/sections/AboutSection.stories.mjs +1 -1
  117. package/dist/sections/BlogDetail.mjs +1 -1
  118. package/dist/sections/BlogDetail.stories.mjs +1 -1
  119. package/dist/sections/BlogList.js +1 -1
  120. package/dist/sections/BlogList.mjs +1 -1
  121. package/dist/sections/BlogList.stories.js +1 -1
  122. package/dist/sections/BlogList.stories.mjs +1 -1
  123. package/dist/sections/BlogListSection.mjs +1 -1
  124. package/dist/sections/BlogListSection.stories.mjs +1 -1
  125. package/dist/sections/ContactSection.mjs +1 -1
  126. package/dist/sections/ContactSection.stories.mjs +1 -1
  127. package/dist/sections/ImageSection.stories.mjs +1 -1
  128. package/dist/sections/PageSections.js +2 -2
  129. package/dist/sections/PageSections.mjs +1 -1
  130. package/dist/sections/PageSections.stories.js +2 -2
  131. package/dist/sections/PageSections.stories.mjs +1 -1
  132. package/dist/sections/PricingSection.mjs +1 -1
  133. package/dist/sections/PricingSection.stories.mjs +1 -1
  134. package/dist/sections/ServiceDetailSection.mjs +1 -1
  135. package/dist/sections/ServiceDetailSection.stories.mjs +1 -1
  136. package/dist/sections/ServiceSection.mjs +1 -1
  137. package/dist/sections/ServiceSection.stories.mjs +1 -1
  138. package/dist/sections/index.js +1 -1
  139. package/dist/sections/index.mjs +1 -1
  140. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{c as v,h as R,i as x,k as y,l as h,o as w,p as d,q as m,r as N,s as L,v as P,w as B,x as T}from"./chunk-5YTDIEDJ.mjs";import{a as n}from"./chunk-BSQVKZCW.mjs";import{a as f,b as M,c as k}from"./chunk-YNCJATT7.mjs";import{ChevronRight as H}from"lucide-react";import F from"clsx";import{Fragment as O,jsx as e,jsxs as i}from"react/jsx-runtime";function J({mainNav:c,secondaryNav:s,ongoingWork:l,title:t,subTitle:o,pathName:b,menuHeading:g,onNavClick:r,loading:p=!1,LinkComponent:C,...I}){let S=C?a=>e(C,{...a}):r?({href:a,children:u,...G})=>e("button",{onClick:()=>r&&r(a),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...G,children:u}):a=>e("a",{...a});return i(v,{...I,variant:"inset",children:[e(R,{children:e(d,{children:e(m,{children:p?i("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[e(n,{className:"bg-gray-200 my-2 w-full h-7"}),e(n,{className:"bg-gray-200 w-3/4 my-2 h-5"})]}):i("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[e("span",{className:"truncate font-semibold",children:t}),o&&e("span",{className:"truncate text-sm",children:o})]})})})}),p&&i(y,{children:[e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"})]}),i(y,{children:[e("div",{className:"px-4 text-sm",children:"Recent Work"}),l&&!p&&l.map((a,u)=>e(A,{subNav:a,pathName:b,Link:S},u)),e("div",{className:"border-t border-gray-200 my-4"}),c&&!p&&c.map((a,u)=>e(A,{subNav:a,pathName:b,Link:S},u)),e(h,{className:"mt-auto",children:e(w,{children:e(d,{children:s&&!p&&s.map(a=>e(m,{children:e(N,{asChild:!0,size:"sm",children:i(S,{href:a.url||"",children:[a.icon&&e(a.icon,{}),e("span",{children:a.label})]})})},a.label))})})})]}),e(x,{})]})}function A({subNav:c,pathName:s,Link:l}){var b,g;let t=c,o=!1;return t.links&&t.links.map(r=>{r.url===s&&(o=!0)}),e(f,{defaultOpen:!0,className:"group/collapsible",children:e(h,{className:"py-0",children:e(d,{children:e(f,{asChild:!0,defaultOpen:t.isActive,children:i(m,{children:[e(N,{asChild:!0,tooltip:t.label,className:F(o&&"font-bold text-accent"),children:i(l,{href:t.url,children:[t.icon&&e(t.icon,{}),e("span",{children:t.label})]})}),(b=t.links)!=null&&b.length?i(O,{children:[e(M,{asChild:!0,children:i(L,{className:"data-[state=open]:rotate-90",children:[e(H,{}),e("span",{className:"sr-only",children:"Toggle"})]})}),e(k,{children:e(P,{children:(g=t.links)==null?void 0:g.map(r=>e(B,{children:e(T,{asChild:!0,className:F(r.url===s&&"font-bold text-accent"),children:e(l,{href:r.url,children:e("span",{children:r.label})})})},r.label))})})]}):null]})},t.label)})})})}export{J as a};
4
+ import{c as v,h as R,i as x,k as y,l as h,o as w,p as d,q as m,r as N,s as L,v as P,w as B,x as T}from"./chunk-2IKC7MAP.mjs";import{a as n}from"./chunk-BSQVKZCW.mjs";import{a as f,b as M,c as k}from"./chunk-YNCJATT7.mjs";import{ChevronRight as H}from"lucide-react";import F from"clsx";import{Fragment as O,jsx as e,jsxs as i}from"react/jsx-runtime";function J({mainNav:c,secondaryNav:s,ongoingWork:l,title:t,subTitle:o,pathName:b,menuHeading:g,onNavClick:r,loading:p=!1,LinkComponent:C,...I}){let S=C?a=>e(C,{...a}):r?({href:a,children:u,...G})=>e("button",{onClick:()=>r&&r(a),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...G,children:u}):a=>e("a",{...a});return i(v,{...I,variant:"inset",children:[e(R,{children:e(d,{children:e(m,{children:p?i("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[e(n,{className:"bg-gray-200 my-2 w-full h-7"}),e(n,{className:"bg-gray-200 w-3/4 my-2 h-5"})]}):i("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[e("span",{className:"truncate font-semibold",children:t}),o&&e("span",{className:"truncate text-sm",children:o})]})})})}),p&&i(y,{children:[e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"})]}),i(y,{children:[e("div",{className:"px-4 text-sm",children:"Recent Work"}),l&&!p&&l.map((a,u)=>e(A,{subNav:a,pathName:b,Link:S},u)),e("div",{className:"border-t border-gray-200 my-4"}),c&&!p&&c.map((a,u)=>e(A,{subNav:a,pathName:b,Link:S},u)),e(h,{className:"mt-auto",children:e(w,{children:e(d,{children:s&&!p&&s.map(a=>e(m,{children:e(N,{asChild:!0,size:"sm",children:i(S,{href:a.url||"",children:[a.icon&&e(a.icon,{}),e("span",{children:a.label})]})})},a.label))})})})]}),e(x,{})]})}function A({subNav:c,pathName:s,Link:l}){var b,g;let t=c,o=!1;return t.links&&t.links.map(r=>{r.url===s&&(o=!0)}),e(f,{defaultOpen:!0,className:"group/collapsible",children:e(h,{className:"py-0",children:e(d,{children:e(f,{asChild:!0,defaultOpen:t.isActive,children:i(m,{children:[e(N,{asChild:!0,tooltip:t.label,className:F(o&&"font-bold text-accent"),children:i(l,{href:t.url,children:[t.icon&&e(t.icon,{}),e("span",{children:t.label})]})}),(b=t.links)!=null&&b.length?i(O,{children:[e(M,{asChild:!0,children:i(L,{className:"data-[state=open]:rotate-90",children:[e(H,{}),e("span",{className:"sr-only",children:"Toggle"})]})}),e(k,{children:e(P,{children:(g=t.links)==null?void 0:g.map(r=>e(B,{children:e(T,{asChild:!0,className:F(r.url===s&&"font-bold text-accent"),children:e(l,{href:r.url,children:e("span",{children:r.label})})})},r.label))})})]}):null]})},t.label)})})})}export{J as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as C}from"./chunk-BSQVKZCW.mjs";import{a as N}from"./chunk-Y5VTKEKS.mjs";import{a as E,f as T}from"./chunk-CGBVZQYY.mjs";import{a as M}from"./chunk-QOIH63J3.mjs";import{a as I,b as H,c as P,d as B}from"./chunk-OAOCXXC2.mjs";import{b as L}from"./chunk-BDX257W2.mjs";import{a as i}from"./chunk-NIQ4466A.mjs";import{a as _}from"./chunk-FRWX5YES.mjs";import*as r from"react";import{Slot as g}from"@radix-ui/react-slot";import{cva as A}from"class-variance-authority";import{PanelLeft as O}from"lucide-react";import{jsx as o,jsxs as S}from"react/jsx-runtime";var G="sidebar:state",K=60*60*24*7,V="16rem",$="18rem",U="3rem",W="b",D=r.createContext(null);function w(){let a=r.useContext(D);if(!a)throw new Error("useSidebar must be used within a SidebarProvider.");return a}var j=r.forwardRef(({defaultOpen:a=!0,open:e,onOpenChange:t,className:n,style:d,children:s,...u},m)=>{let c=_(),[p,b]=r.useState(!1),[v,k]=r.useState(a),f=e!=null?e:v,h=r.useCallback(l=>{if(t)return t==null?void 0:t(typeof l=="function"?l(f):l);k(l),document.cookie=`${G}=${f}; path=/; max-age=${K}`},[t,f]),x=r.useCallback(()=>c?b(l=>!l):h(l=>!l),[c,h,b]);r.useEffect(()=>{let l=R=>{R.key===W&&(R.metaKey||R.ctrlKey)&&(R.preventDefault(),x())};return window.addEventListener("keydown",l),()=>window.removeEventListener("keydown",l)},[x]);let y=f?"expanded":"collapsed",z=r.useMemo(()=>({state:y,open:f,setOpen:h,isMobile:c,openMobile:p,setOpenMobile:b,toggleSidebar:x}),[y,f,h,c,p,b,x]);return o(D.Provider,{value:z,children:o(I,{delayDuration:0,children:o("div",{style:{"--sidebar-width":V,"--sidebar-width-icon":U,...d},className:i("group/sidebar-wrapper flex w-full fixed has-[[data-variant=inset]]:bg-sidebar",n),ref:m,...u,children:s})})})});j.displayName="SidebarProvider";var q=r.forwardRef(({side:a="left",variant:e="sidebar",collapsible:t="offcanvas",className:n,children:d,...s},u)=>{let{isMobile:m,state:c,openMobile:p,setOpenMobile:b}=w();return t==="none"?o("div",{className:i("flex h-full w-[--sidebar-width] flex-col bg-sidebar text-sidebar-foreground",n),ref:u,...s,children:d}):m?o(E,{open:p,onOpenChange:b,...s,children:o(T,{"data-sidebar":"sidebar","data-mobile":"true",className:"w-[--sidebar-width] bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",style:{"--sidebar-width":$},side:a,children:o("div",{className:"flex h-full w-full flex-col",children:d})})}):S("div",{ref:u,className:"group peer hidden md:block text-sidebar-foreground","data-state":c,"data-collapsible":c==="collapsed"?t:"","data-variant":e,"data-side":a,children:[o("div",{className:i("duration-200 relative h-svh w-[--sidebar-width] bg-transparent transition-[width] ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180",e==="floating"||e==="inset"?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4))]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon]")}),o("div",{className:i("duration-200 fixed top-14 bottom-0 z-10 hidden w-[--sidebar-width] transition-[left,right,width] ease-linear md:flex",a==="left"?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",e==="floating"||e==="inset"?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4)_+2px)]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon] group-data-[side=left]:border-r group-data-[side=right]:border-l",n),...s,children:o("div",{"data-sidebar":"sidebar",className:"flex h-full w-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:shadow",children:d})})]})});q.displayName="Sidebar";var F=r.forwardRef(({className:a,onClick:e,...t},n)=>{let{toggleSidebar:d}=w();return S(L,{ref:n,"data-sidebar":"trigger",variant:"ghost",size:"icon",className:i("h-7 w-7",a),onClick:s=>{e==null||e(s),d()},...t,children:[o(O,{}),o("span",{className:"sr-only",children:"Toggle Sidebar"})]})});F.displayName="SidebarTrigger";var X=r.forwardRef(({className:a,...e},t)=>{let{toggleSidebar:n}=w();return o("button",{ref:t,"data-sidebar":"rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:n,title:"Toggle Sidebar",className:i("absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex","[[data-side=left]_&]:cursor-w-resize [[data-side=right]_&]:cursor-e-resize","[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize","group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:bg-sidebar","[[data-side=left][data-collapsible=offcanvas]_&]:-right-2","[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",a),...e})});X.displayName="SidebarRail";var Y=r.forwardRef(({className:a,...e},t)=>o("main",{ref:t,className:i("flex flex-1 flex-col bg-background overflow-y-auto relative max-h-full","md:peer-data-[variant=inset]:m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow",a),...e}));Y.displayName="SidebarInset";var J=r.forwardRef(({className:a,...e},t)=>o(M,{ref:t,"data-sidebar":"input",className:i("h-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",a),...e}));J.displayName="SidebarInput";var Q=r.forwardRef(({className:a,...e},t)=>o("div",{ref:t,"data-sidebar":"header",className:i("flex flex-col gap-2 p-2",a),...e}));Q.displayName="SidebarHeader";var Z=r.forwardRef(({className:a,...e},t)=>o("div",{ref:t,"data-sidebar":"footer",className:i("flex flex-col gap-2 p-2",a),...e}));Z.displayName="SidebarFooter";var ee=r.forwardRef(({className:a,...e},t)=>o(N,{ref:t,"data-sidebar":"separator",className:i("mx-2 w-auto bg-sidebar-border",a),...e}));ee.displayName="SidebarSeparator";var ae=r.forwardRef(({className:a,...e},t)=>o("div",{ref:t,"data-sidebar":"content",className:i("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",a),...e}));ae.displayName="SidebarContent";var te=r.forwardRef(({className:a,...e},t)=>o("div",{ref:t,"data-sidebar":"group",className:i("relative flex w-full min-w-0 flex-col p-2",a),...e}));te.displayName="SidebarGroup";var re=r.forwardRef(({className:a,asChild:e=!1,...t},n)=>o(e?g:"div",{ref:n,"data-sidebar":"group-label",className:i("duration-200 flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 outline-none ring-sidebar-ring transition-[margin,opa] ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",a),...t}));re.displayName="SidebarGroupLabel";var oe=r.forwardRef(({className:a,asChild:e=!1,...t},n)=>o(e?g:"button",{ref:n,"data-sidebar":"group-action",className:i("absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","group-data-[collapsible=icon]:hidden",a),...t}));oe.displayName="SidebarGroupAction";var ie=r.forwardRef(({className:a,...e},t)=>o("div",{ref:t,"data-sidebar":"group-content",className:i("w-full text-sm",a),...e}));ie.displayName="SidebarGroupContent";var ne=r.forwardRef(({className:a,...e},t)=>o("ul",{ref:t,"data-sidebar":"menu",className:i("flex w-full min-w-0 flex-col gap-1",a),...e}));ne.displayName="SidebarMenu";var de=r.forwardRef(({className:a,...e},t)=>o("li",{ref:t,"data-sidebar":"menu-item",className:i("group/menu-item relative",a),...e}));de.displayName="SidebarMenuItem";var se=A("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-none ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!p-2 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",{variants:{variant:{default:"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",outline:"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"},size:{default:"h-8 text-sm",sm:"h-7 text-xs",lg:"h-12 text-sm group-data-[collapsible=icon]:!p-0"}},defaultVariants:{variant:"default",size:"default"}}),le=r.forwardRef(({asChild:a=!1,isActive:e=!1,variant:t="default",size:n="default",tooltip:d,className:s,...u},m)=>{let c=a?g:"button",{isMobile:p,state:b}=w(),v=o(c,{ref:m,"data-sidebar":"menu-button","data-size":n,"data-active":e,className:i(se({variant:t,size:n}),s),...u});return d?(typeof d=="string"&&(d={children:d}),S(H,{children:[o(P,{asChild:!0,children:v}),o(B,{side:"right",align:"center",hidden:b!=="collapsed"||p,...d})]})):v});le.displayName="SidebarMenuButton";var ce=r.forwardRef(({className:a,asChild:e=!1,showOnHover:t=!1,...n},d)=>o(e?g:"button",{ref:d,"data-sidebar":"menu-action",className:i("absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 peer-hover/menu-button:text-sidebar-accent-foreground [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",t&&"group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 peer-data-[active=true]/menu-button:text-sidebar-accent-foreground md:opacity-0",a),...n}));ce.displayName="SidebarMenuAction";var be=r.forwardRef(({className:a,...e},t)=>o("div",{ref:t,"data-sidebar":"menu-badge",className:i("absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums text-sidebar-foreground select-none pointer-events-none","peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",a),...e}));be.displayName="SidebarMenuBadge";var ue=r.forwardRef(({className:a,showIcon:e=!1,...t},n)=>{let d=r.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return S("div",{ref:n,"data-sidebar":"menu-skeleton",className:i("rounded-md h-8 flex gap-2 px-2 items-center",a),...t,children:[e&&o(C,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),o(C,{className:"h-4 flex-1 max-w-[--skeleton-width]","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":d}})]})});ue.displayName="SidebarMenuSkeleton";var pe=r.forwardRef(({className:a,...e},t)=>o("ul",{ref:t,"data-sidebar":"menu-sub",className:i("mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",a),...e}));pe.displayName="SidebarMenuSub";var fe=r.forwardRef(({...a},e)=>o("li",{ref:e,...a}));fe.displayName="SidebarMenuSubItem";var me=r.forwardRef(({asChild:a=!1,size:e="md",isActive:t,className:n,...d},s)=>o(a?g:"a",{ref:s,"data-sidebar":"menu-sub-button","data-size":e,"data-active":t,className:i("flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground outline-none ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground","data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",e==="sm"&&"text-xs",e==="md"&&"text-sm","group-data-[collapsible=icon]:hidden",n),...d}));me.displayName="SidebarMenuSubButton";export{w as a,j as b,q as c,F as d,X as e,Y as f,J as g,Q as h,Z as i,ee as j,ae as k,te as l,re as m,oe as n,ie as o,ne as p,de as q,le as r,ce as s,be as t,ue as u,pe as v,fe as w,me as x};
4
+ import{a as E,f as T}from"./chunk-CGBVZQYY.mjs";import{a as C}from"./chunk-BSQVKZCW.mjs";import{a as N}from"./chunk-Y5VTKEKS.mjs";import{a as M}from"./chunk-QOIH63J3.mjs";import{a as I,b as H,c as P,d as B}from"./chunk-OAOCXXC2.mjs";import{b as L}from"./chunk-BDX257W2.mjs";import{a as i}from"./chunk-NIQ4466A.mjs";import{a as _}from"./chunk-FRWX5YES.mjs";import*as r from"react";import{Slot as g}from"@radix-ui/react-slot";import{cva as A}from"class-variance-authority";import{PanelLeft as O}from"lucide-react";import{jsx as o,jsxs as S}from"react/jsx-runtime";var G="sidebar:state",K=60*60*24*7,V="16rem",$="18rem",U="3rem",W="b",D=r.createContext(null);function w(){let a=r.useContext(D);if(!a)throw new Error("useSidebar must be used within a SidebarProvider.");return a}var j=r.forwardRef(({defaultOpen:a=!0,open:e,onOpenChange:t,className:n,style:d,children:s,...u},m)=>{let c=_(),[p,b]=r.useState(!1),[v,k]=r.useState(a),f=e!=null?e:v,h=r.useCallback(l=>{if(t)return t==null?void 0:t(typeof l=="function"?l(f):l);k(l),document.cookie=`${G}=${f}; path=/; max-age=${K}`},[t,f]),x=r.useCallback(()=>c?b(l=>!l):h(l=>!l),[c,h,b]);r.useEffect(()=>{let l=R=>{R.key===W&&(R.metaKey||R.ctrlKey)&&(R.preventDefault(),x())};return window.addEventListener("keydown",l),()=>window.removeEventListener("keydown",l)},[x]);let y=f?"expanded":"collapsed",z=r.useMemo(()=>({state:y,open:f,setOpen:h,isMobile:c,openMobile:p,setOpenMobile:b,toggleSidebar:x}),[y,f,h,c,p,b,x]);return o(D.Provider,{value:z,children:o(I,{delayDuration:0,children:o("div",{style:{"--sidebar-width":V,"--sidebar-width-icon":U,...d},className:i("group/sidebar-wrapper flex w-full fixed has-[[data-variant=inset]]:bg-sidebar",n),ref:m,...u,children:s})})})});j.displayName="SidebarProvider";var q=r.forwardRef(({side:a="left",variant:e="sidebar",collapsible:t="offcanvas",className:n,children:d,...s},u)=>{let{isMobile:m,state:c,openMobile:p,setOpenMobile:b}=w();return t==="none"?o("div",{className:i("flex h-full w-[--sidebar-width] flex-col bg-sidebar text-sidebar-foreground",n),ref:u,...s,children:d}):m?o(E,{open:p,onOpenChange:b,...s,children:o(T,{"data-sidebar":"sidebar","data-mobile":"true",className:"w-[--sidebar-width] bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",style:{"--sidebar-width":$},side:a,children:o("div",{className:"flex h-full w-full flex-col",children:d})})}):S("div",{ref:u,className:"group peer hidden md:block text-sidebar-foreground","data-state":c,"data-collapsible":c==="collapsed"?t:"","data-variant":e,"data-side":a,children:[o("div",{className:i("duration-200 relative h-svh w-[--sidebar-width] bg-transparent transition-[width] ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180",e==="floating"||e==="inset"?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4))]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon]")}),o("div",{className:i("duration-200 fixed top-14 bottom-0 z-10 hidden w-[--sidebar-width] transition-[left,right,width] ease-linear md:flex",a==="left"?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",e==="floating"||e==="inset"?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4)_+2px)]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon] group-data-[side=left]:border-r group-data-[side=right]:border-l",n),...s,children:o("div",{"data-sidebar":"sidebar",className:"flex h-full w-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:shadow",children:d})})]})});q.displayName="Sidebar";var F=r.forwardRef(({className:a,onClick:e,...t},n)=>{let{toggleSidebar:d}=w();return S(L,{ref:n,"data-sidebar":"trigger",variant:"ghost",size:"icon",className:i("h-7 w-7",a),onClick:s=>{e==null||e(s),d()},...t,children:[o(O,{}),o("span",{className:"sr-only",children:"Toggle Sidebar"})]})});F.displayName="SidebarTrigger";var X=r.forwardRef(({className:a,...e},t)=>{let{toggleSidebar:n}=w();return o("button",{ref:t,"data-sidebar":"rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:n,title:"Toggle Sidebar",className:i("absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex","[[data-side=left]_&]:cursor-w-resize [[data-side=right]_&]:cursor-e-resize","[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize","group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:bg-sidebar","[[data-side=left][data-collapsible=offcanvas]_&]:-right-2","[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",a),...e})});X.displayName="SidebarRail";var Y=r.forwardRef(({className:a,...e},t)=>o("main",{ref:t,className:i("flex flex-1 flex-col bg-background overflow-y-auto relative max-h-full","md:peer-data-[variant=inset]:m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow",a),...e}));Y.displayName="SidebarInset";var J=r.forwardRef(({className:a,...e},t)=>o(M,{ref:t,"data-sidebar":"input",className:i("h-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",a),...e}));J.displayName="SidebarInput";var Q=r.forwardRef(({className:a,...e},t)=>o("div",{ref:t,"data-sidebar":"header",className:i("flex flex-col gap-2 p-2",a),...e}));Q.displayName="SidebarHeader";var Z=r.forwardRef(({className:a,...e},t)=>o("div",{ref:t,"data-sidebar":"footer",className:i("flex flex-col gap-2 p-2",a),...e}));Z.displayName="SidebarFooter";var ee=r.forwardRef(({className:a,...e},t)=>o(N,{ref:t,"data-sidebar":"separator",className:i("mx-2 w-auto bg-sidebar-border",a),...e}));ee.displayName="SidebarSeparator";var ae=r.forwardRef(({className:a,...e},t)=>o("div",{ref:t,"data-sidebar":"content",className:i("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",a),...e}));ae.displayName="SidebarContent";var te=r.forwardRef(({className:a,...e},t)=>o("div",{ref:t,"data-sidebar":"group",className:i("relative flex w-full min-w-0 flex-col p-2",a),...e}));te.displayName="SidebarGroup";var re=r.forwardRef(({className:a,asChild:e=!1,...t},n)=>o(e?g:"div",{ref:n,"data-sidebar":"group-label",className:i("duration-200 flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 outline-none ring-sidebar-ring transition-[margin,opa] ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",a),...t}));re.displayName="SidebarGroupLabel";var oe=r.forwardRef(({className:a,asChild:e=!1,...t},n)=>o(e?g:"button",{ref:n,"data-sidebar":"group-action",className:i("absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","group-data-[collapsible=icon]:hidden",a),...t}));oe.displayName="SidebarGroupAction";var ie=r.forwardRef(({className:a,...e},t)=>o("div",{ref:t,"data-sidebar":"group-content",className:i("w-full text-sm",a),...e}));ie.displayName="SidebarGroupContent";var ne=r.forwardRef(({className:a,...e},t)=>o("ul",{ref:t,"data-sidebar":"menu",className:i("flex w-full min-w-0 flex-col gap-1",a),...e}));ne.displayName="SidebarMenu";var de=r.forwardRef(({className:a,...e},t)=>o("li",{ref:t,"data-sidebar":"menu-item",className:i("group/menu-item relative",a),...e}));de.displayName="SidebarMenuItem";var se=A("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-none ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!p-2 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",{variants:{variant:{default:"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",outline:"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"},size:{default:"h-8 text-sm",sm:"h-7 text-xs",lg:"h-12 text-sm group-data-[collapsible=icon]:!p-0"}},defaultVariants:{variant:"default",size:"default"}}),le=r.forwardRef(({asChild:a=!1,isActive:e=!1,variant:t="default",size:n="default",tooltip:d,className:s,...u},m)=>{let c=a?g:"button",{isMobile:p,state:b}=w(),v=o(c,{ref:m,"data-sidebar":"menu-button","data-size":n,"data-active":e,className:i(se({variant:t,size:n}),s),...u});return d?(typeof d=="string"&&(d={children:d}),S(H,{children:[o(P,{asChild:!0,children:v}),o(B,{side:"right",align:"center",hidden:b!=="collapsed"||p,...d})]})):v});le.displayName="SidebarMenuButton";var ce=r.forwardRef(({className:a,asChild:e=!1,showOnHover:t=!1,...n},d)=>o(e?g:"button",{ref:d,"data-sidebar":"menu-action",className:i("absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 peer-hover/menu-button:text-sidebar-accent-foreground [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",t&&"group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 peer-data-[active=true]/menu-button:text-sidebar-accent-foreground md:opacity-0",a),...n}));ce.displayName="SidebarMenuAction";var be=r.forwardRef(({className:a,...e},t)=>o("div",{ref:t,"data-sidebar":"menu-badge",className:i("absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums text-sidebar-foreground select-none pointer-events-none","peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",a),...e}));be.displayName="SidebarMenuBadge";var ue=r.forwardRef(({className:a,showIcon:e=!1,...t},n)=>{let d=r.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return S("div",{ref:n,"data-sidebar":"menu-skeleton",className:i("rounded-md h-8 flex gap-2 px-2 items-center",a),...t,children:[e&&o(C,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),o(C,{className:"h-4 flex-1 max-w-[--skeleton-width]","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":d}})]})});ue.displayName="SidebarMenuSkeleton";var pe=r.forwardRef(({className:a,...e},t)=>o("ul",{ref:t,"data-sidebar":"menu-sub",className:i("mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",a),...e}));pe.displayName="SidebarMenuSub";var fe=r.forwardRef(({...a},e)=>o("li",{ref:e,...a}));fe.displayName="SidebarMenuSubItem";var me=r.forwardRef(({asChild:a=!1,size:e="md",isActive:t,className:n,...d},s)=>o(a?g:"a",{ref:s,"data-sidebar":"menu-sub-button","data-size":e,"data-active":t,className:i("flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground outline-none ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground","data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",e==="sm"&&"text-xs",e==="md"&&"text-sm","group-data-[collapsible=icon]:hidden",n),...d}));me.displayName="SidebarMenuSubButton";export{w as a,j as b,q as c,F as d,X as e,Y as f,J as g,Q as h,Z as i,ee as j,ae as k,te as l,re as m,oe as n,ie as o,ne as p,de as q,le as r,ce as s,be as t,ue as u,pe as v,fe as w,me as x};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as g}from"./chunk-UBA3ZRKC.mjs";import{a as f}from"./chunk-WU3JMLSC.mjs";import{a as S}from"./chunk-BZAYEKYC.mjs";import{a as d,b as o,c as a,d as m,e as t,f as l}from"./chunk-AWFQEK7A.mjs";import{a as u}from"./chunk-3YZN4MJB.mjs";import{b as n,d as b,f as c}from"./chunk-5YTDIEDJ.mjs";import{a as s}from"./chunk-Y5VTKEKS.mjs";import{a as p}from"./chunk-Y57CQYEG.mjs";import{jsx as e,jsxs as r}from"react/jsx-runtime";function h({...i}){return r("div",{className:"bg-sidebar",children:[e(p,{isMenuOpen:!0,logoLight:S,logoDark:f,...i.header,className:"bg-sidebar"}),r(n,{className:"top-24 mb-4 h-full max-h-[calc(100vh-3.5rem)] flex-1 flex-row overflow-y-clip",children:[e(g,{...i.sidebarLeft,className:"flex-none top-24"}),r(c,{className:"grow overflow-hidden",children:[e("header",{className:"flex h-16 shrink-0 items-center gap-2",children:r("div",{className:"flex items-center gap-2 px-4",children:[e(b,{className:"-ml-1"}),e(s,{orientation:"vertical",className:"mr-2 h-4"}),e(d,{children:r(o,{children:[e(a,{className:"hidden md:block",children:e(m,{href:"#",children:"Building Your Application"})}),e(l,{className:"hidden md:block"}),e(a,{children:e(t,{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(u,{})]})}export{h as a};
4
+ import{a as g}from"./chunk-23BDC5JG.mjs";import{a as f}from"./chunk-WU3JMLSC.mjs";import{a as S}from"./chunk-BZAYEKYC.mjs";import{a as d,b as o,c as a,d as m,e as t,f as l}from"./chunk-AWFQEK7A.mjs";import{a as u}from"./chunk-3YZN4MJB.mjs";import{b as n,d as b,f as c}from"./chunk-2IKC7MAP.mjs";import{a as s}from"./chunk-Y5VTKEKS.mjs";import{a as p}from"./chunk-Y57CQYEG.mjs";import{jsx as e,jsxs as r}from"react/jsx-runtime";function h({...i}){return r("div",{className:"bg-sidebar",children:[e(p,{isMenuOpen:!0,logoLight:S,logoDark:f,...i.header,className:"bg-sidebar"}),r(n,{className:"top-24 mb-4 h-full max-h-[calc(100vh-3.5rem)] flex-1 flex-row overflow-y-clip",children:[e(g,{...i.sidebarLeft,className:"flex-none top-24"}),r(c,{className:"grow overflow-hidden",children:[e("header",{className:"flex h-16 shrink-0 items-center gap-2",children:r("div",{className:"flex items-center gap-2 px-4",children:[e(b,{className:"-ml-1"}),e(s,{orientation:"vertical",className:"mr-2 h-4"}),e(d,{children:r(o,{children:[e(a,{className:"hidden md:block",children:e(m,{href:"#",children:"Building Your Application"})}),e(l,{className:"hidden md:block"}),e(a,{children:e(t,{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(u,{})]})}export{h as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as C}from"./chunk-BRFSZTQJ.mjs";import{a as D}from"./chunk-IQ7LAP7P.mjs";import{useState as x,useCallback as w}from"react";import{DragDropContext as W}from"@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration";import{jsx as l,jsxs as h}from"react/jsx-runtime";var y=["Cold","Qualified","Proposal Made","SoW Submitted","Won","Lost"];function V({initialData:s,addNewDeal:g,updateDeal:n,addComment:b,addNewCustomer:f}){var i;let[r,c]=x(null),S=e=>{var o;return((o=s.deals)!=null?o:[]).filter(t=>t.status===e)},R=e=>e.reduce((o,t)=>o+(t.value||0),0),P=(e,o)=>{let t={Cold:.2,Qualified:.4,"Proposal Made":.6,"SoW Submitted":.7,Won:1,Lost:0};return e.reduce((a,d)=>a+(d.value||0)*t[o],0)},M=w(e=>{var m,p;let{source:o,destination:t}=e;if(!t||o.droppableId===t.droppableId&&o.index===t.index)return;let a=o.droppableId,d=t.droppableId,u=(m=s.deals)==null?void 0:m.filter(v=>v.id===o.index)[0],B=[...(p=s.deals)!=null?p:[]];u&&(u.status=d,n(u))},[n]);return l(W,{onDragEnd:M,children:h("div",{className:"p-4 max-h-[90vh] overflow-auto",children:[l("div",{className:"flex space-x-4 pb-4",children:y.filter(e=>e!=="Won"&&e!=="Lost").map(e=>{var t,a;let o=S(e);return l(D,{status:e,deals:o,customers:(t=s.customers)!=null?t:[],users:s.users,categories:(a=s.categories)!=null?a:[],onDealClick:c,calculateColumnValue:R,calculateWeightedValue:P,addNewDeal:e==="Cold"?g:void 0,onAddCustomer:f},e)})}),r&&l(C,{deal:r,users:s.users,customer:r.customer,categories:(i=s.categories)!=null?i:[],onClose:()=>c(null),onSave:n,onAddComment:e=>b(r.id.toString(),e)})]})})}export{V as a};
4
+ import{a as D}from"./chunk-IQ7LAP7P.mjs";import{a as C}from"./chunk-BRFSZTQJ.mjs";import{useState as x,useCallback as w}from"react";import{DragDropContext as W}from"@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration";import{jsx as l,jsxs as h}from"react/jsx-runtime";var y=["Cold","Qualified","Proposal Made","SoW Submitted","Won","Lost"];function V({initialData:s,addNewDeal:g,updateDeal:n,addComment:b,addNewCustomer:f}){var i;let[r,c]=x(null),S=e=>{var o;return((o=s.deals)!=null?o:[]).filter(t=>t.status===e)},R=e=>e.reduce((o,t)=>o+(t.value||0),0),P=(e,o)=>{let t={Cold:.2,Qualified:.4,"Proposal Made":.6,"SoW Submitted":.7,Won:1,Lost:0};return e.reduce((a,d)=>a+(d.value||0)*t[o],0)},M=w(e=>{var m,p;let{source:o,destination:t}=e;if(!t||o.droppableId===t.droppableId&&o.index===t.index)return;let a=o.droppableId,d=t.droppableId,u=(m=s.deals)==null?void 0:m.filter(v=>v.id===o.index)[0],B=[...(p=s.deals)!=null?p:[]];u&&(u.status=d,n(u))},[n]);return l(W,{onDragEnd:M,children:h("div",{className:"p-4 max-h-[90vh] overflow-auto",children:[l("div",{className:"flex space-x-4 pb-4",children:y.filter(e=>e!=="Won"&&e!=="Lost").map(e=>{var t,a;let o=S(e);return l(D,{status:e,deals:o,customers:(t=s.customers)!=null?t:[],users:s.users,categories:(a=s.categories)!=null?a:[],onDealClick:c,calculateColumnValue:R,calculateWeightedValue:P,addNewDeal:e==="Cold"?g:void 0,onAddCustomer:f},e)})}),r&&l(C,{deal:r,users:s.users,customer:r.customer,categories:(i=s.categories)!=null?i:[],onClose:()=>c(null),onSave:n,onAddComment:e=>b(r.id.toString(),e)})]})})}export{V as a};
@@ -1 +1 @@
1
- import{a as l}from"./chunk-VYQYFS6R.mjs";import{a as s}from"./chunk-OKGBIF2I.mjs";import{a as c}from"./chunk-P7RZLKAN.mjs";import{a as n}from"./chunk-UESKYRNK.mjs";import b from"next/image";import{ChevronRightIcon as u,HomeIcon as g}from"@heroicons/react/20/solid";import{Fragment as x,jsx as t,jsxs as i}from"react/jsx-runtime";var h={highImpact:s,lowImpact:l,mediumImpact:c,sectionHero:m},k=a=>{let{type:r}=a||{};if(!r||r==="none")return null;let e=h[r];return e?t(e,{...a}):null};function f({breadcrumbItems:a}){if(a&&a.length>0){let r=a.filter(e=>e.label.toLowerCase()!=="home");return t("nav",{"aria-label":"Breadcrumb",className:"flex",children:i("ol",{role:"list",className:"flex items-center space-x-4",children:[t("li",{children:t("div",{children:i("a",{href:"/",className:"text-foreground hover:text-accent",children:[t(g,{"aria-hidden":"true",className:"size-5 shrink-0"}),t("span",{className:"sr-only",children:"Home"})]})})}),r.map((e,p)=>t("li",{children:i("div",{className:"flex items-center",children:[t(u,{"aria-hidden":"true",className:"size-5 shrink-0 text-gray-400"}),e.href?t("a",{href:e.href,className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:e.label}):t("div",{className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:e.label})]})},p))]})})}return t(x,{})}import{jsx as o,jsxs as d}from"react/jsx-runtime";function m({title:a,breadcrumbItems:r,image:e}){return d("section",{className:"-z-10 relative flex min-h-[250px] pt-auto items-end",children:[o("div",{className:"absolute inset-0 z-0",children:e&&o(b,{priority:!0,src:e.src,alt:`${process.env.NEXT_PUBLIC_SITE_NAME}`,layout:"fill",style:{objectFit:"cover"},sizes:"100vw",className:"pointer-events-none object-cover"})}),o("span",{className:"absolute inset-0 bg-gradient-1 from-background/0 to-background dark:from-background/0 dark:to-background"}),o(n,{children:d("div",{className:"relative z-10 flex flex-wrap items-center justify-between gap-x-20 gap-y-8 text-accent-900 dark:text-white lg:pt-[40px] pb-5",children:[o("h1",{className:"font-secondary text-5xl font-bold lg:w-1/2",children:a}),r&&r.length>0&&o(f,{breadcrumbItems:r})]})})]})}export{m as a,k as b,f as c};
1
+ import{a as s}from"./chunk-Q2H33MTB.mjs";import{a as c}from"./chunk-REIGTQCW.mjs";import{a as l}from"./chunk-XAN2JADY.mjs";import{a as n}from"./chunk-UESKYRNK.mjs";import b from"next/image";import{ChevronRightIcon as u,HomeIcon as g}from"@heroicons/react/20/solid";import{Fragment as x,jsx as t,jsxs as i}from"react/jsx-runtime";var h={highImpact:s,lowImpact:l,mediumImpact:c,sectionHero:m},k=a=>{let{type:r}=a||{};if(!r||r==="none")return null;let e=h[r];return e?t(e,{...a}):null};function f({breadcrumbItems:a}){if(a&&a.length>0){let r=a.filter(e=>e.label.toLowerCase()!=="home");return t("nav",{"aria-label":"Breadcrumb",className:"flex",children:i("ol",{role:"list",className:"flex items-center space-x-4",children:[t("li",{children:t("div",{children:i("a",{href:"/",className:"text-foreground hover:text-accent",children:[t(g,{"aria-hidden":"true",className:"size-5 shrink-0"}),t("span",{className:"sr-only",children:"Home"})]})})}),r.map((e,p)=>t("li",{children:i("div",{className:"flex items-center",children:[t(u,{"aria-hidden":"true",className:"size-5 shrink-0 text-gray-400"}),e.href?t("a",{href:e.href,className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:e.label}):t("div",{className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:e.label})]})},p))]})})}return t(x,{})}import{jsx as o,jsxs as d}from"react/jsx-runtime";function m({title:a,breadcrumbItems:r,image:e}){return d("section",{className:"-z-10 relative flex min-h-[250px] pt-auto items-end",children:[o("div",{className:"absolute inset-0 z-0",children:e&&o(b,{priority:!0,src:e.src,alt:`${process.env.NEXT_PUBLIC_SITE_NAME}`,layout:"fill",style:{objectFit:"cover"},sizes:"100vw",className:"pointer-events-none object-cover"})}),o("span",{className:"absolute inset-0 bg-gradient-1 from-background/0 to-background dark:from-background/0 dark:to-background"}),o(n,{children:d("div",{className:"relative z-10 flex flex-wrap items-center justify-between gap-x-20 gap-y-8 text-accent-900 dark:text-white lg:pt-[40px] pb-5",children:[o("h1",{className:"font-secondary text-5xl font-bold lg:w-1/2",children:a}),r&&r.length>0&&o(f,{breadcrumbItems:r})]})})]})}export{m as a,k as b,f as c};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as h}from"./chunk-WU3JMLSC.mjs";import{a as g}from"./chunk-BZAYEKYC.mjs";import{a as S}from"./chunk-AAI2VZST.mjs";import{a as o,b as d,c as i,d as t,e as m,f as l}from"./chunk-AWFQEK7A.mjs";import{a as p}from"./chunk-KEUZSK3N.mjs";import{a as c}from"./chunk-3YZN4MJB.mjs";import{b as s,d as b,f as u}from"./chunk-5YTDIEDJ.mjs";import{a as n}from"./chunk-Y5VTKEKS.mjs";import{a as f}from"./chunk-Y57CQYEG.mjs";import{jsx as e,jsxs as r}from"react/jsx-runtime";function v({...a}){return r("div",{className:"bg-sidebar",children:[e(f,{isMenuOpen:!0,logoLight:g,logoDark:h,...a.header,wide:!0,className:"bg-sidebar"}),r(s,{className:"top-24 mb-4 h-full max-h-[calc(100vh-3.5rem)] flex-1 flex-row overflow-y-clip",children:[e(p,{...a.sidebarLeft,className:"flex-none top-24"}),r(u,{className:"grow overflow-hidden",children:[e("header",{className:"flex h-16 shrink-0 items-center gap-2",children:r("div",{className:"flex items-center gap-2 px-4",children:[e(b,{className:"-ml-1"}),e(n,{orientation:"vertical",className:"mr-2 h-4"}),e(o,{children:r(d,{children:[e(i,{className:"hidden md:block",children:e(t,{href:"#",children:"Building Your Application"})}),e(l,{className:"hidden md:block"}),e(i,{children:e(m,{children:"Data Fetching"})})]})})]})}),r("div",{className:"flex flex-1 flex-col gap-4 p-4 pt-0",children:[r("div",{className:"grid auto-rows-min gap-4 md:grid-cols-3",children:[e("div",{className:"aspect-video rounded-xl bg-muted/50"}),e("div",{className:"aspect-video rounded-xl bg-muted/50"}),e("div",{className:"aspect-video rounded-xl bg-muted/50"})]}),e("div",{className:"flex-1 rounded-xl bg-muted/50 md:min-h-min"})]})]}),e(S,{...a.sidebarRight,className:"flex-none top-24"})]}),e(c,{})]})}export{v as a};
4
+ import{a as h}from"./chunk-WU3JMLSC.mjs";import{a as g}from"./chunk-BZAYEKYC.mjs";import{a as S}from"./chunk-IO222G5L.mjs";import{a as o,b as d,c as i,d as t,e as m,f as l}from"./chunk-AWFQEK7A.mjs";import{a as p}from"./chunk-QMFZRG7O.mjs";import{a as c}from"./chunk-3YZN4MJB.mjs";import{b as s,d as b,f as u}from"./chunk-2IKC7MAP.mjs";import{a as n}from"./chunk-Y5VTKEKS.mjs";import{a as f}from"./chunk-Y57CQYEG.mjs";import{jsx as e,jsxs as r}from"react/jsx-runtime";function v({...a}){return r("div",{className:"bg-sidebar",children:[e(f,{isMenuOpen:!0,logoLight:g,logoDark:h,...a.header,wide:!0,className:"bg-sidebar"}),r(s,{className:"top-24 mb-4 h-full max-h-[calc(100vh-3.5rem)] flex-1 flex-row overflow-y-clip",children:[e(p,{...a.sidebarLeft,className:"flex-none top-24"}),r(u,{className:"grow overflow-hidden",children:[e("header",{className:"flex h-16 shrink-0 items-center gap-2",children:r("div",{className:"flex items-center gap-2 px-4",children:[e(b,{className:"-ml-1"}),e(n,{orientation:"vertical",className:"mr-2 h-4"}),e(o,{children:r(d,{children:[e(i,{className:"hidden md:block",children:e(t,{href:"#",children:"Building Your Application"})}),e(l,{className:"hidden md:block"}),e(i,{children:e(m,{children:"Data Fetching"})})]})})]})}),r("div",{className:"flex flex-1 flex-col gap-4 p-4 pt-0",children:[r("div",{className:"grid auto-rows-min gap-4 md:grid-cols-3",children:[e("div",{className:"aspect-video rounded-xl bg-muted/50"}),e("div",{className:"aspect-video rounded-xl bg-muted/50"}),e("div",{className:"aspect-video rounded-xl bg-muted/50"})]}),e("div",{className:"flex-1 rounded-xl bg-muted/50 md:min-h-min"})]})]}),e(S,{...a.sidebarRight,className:"flex-none top-24"})]}),e(c,{})]})}export{v as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as f}from"./chunk-WU3JMLSC.mjs";import{a as h}from"./chunk-BZAYEKYC.mjs";import{a as u}from"./chunk-VYQYFS6R.mjs";import{a as l}from"./chunk-OKGBIF2I.mjs";import{a as p}from"./chunk-P7RZLKAN.mjs";import{a as c}from"./chunk-5G43IH3C.mjs";import{b as n}from"./chunk-BDX257W2.mjs";import{a as o,b as a,c as i,e as m}from"./chunk-D76EO57Z.mjs";import{a as s}from"./chunk-Y57CQYEG.mjs";import{ExternalLink as d}from"lucide-react";import{jsx as e,jsxs as t}from"react/jsx-runtime";function b({...r}){return t("div",{children:[e(s,{isMenuOpen:!0,logoLight:h,logoDark:f,...r.header}),r.hero&&r.hero.type==="lowImpact"&&e(u,{...r.hero}),r.hero&&r.hero.type==="mediumImpact"&&e(p,{...r.hero}),r.hero&&r.hero.type==="highImpact"&&e(l,{...r.hero}),r.hero&&r.hero.type==="postHero"&&e(c,{...r.hero}),e("div",{className:"container py-8",children:t("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[e("div",{className:"lg:col-span-2",children:r.children}),t("div",{className:"space-y-6",children:[t(o,{children:[e(a,{children:e(i,{children:"Quick Actions"})}),t(m,{children:[e("p",{className:"mb-4 text-sm text-muted-foreground",children:"Get started with your first action in just a few clicks."}),e(n,{className:"w-full",children:"Create New"})]})]}),t(o,{children:[e(a,{children:e(i,{children:"Resources"})}),e(m,{children:t("nav",{className:"flex flex-col space-y-2",children:[t("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["User Guide",e(d,{className:"ml-1 h-3 w-3"})]}),t("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["API Documentation",e(d,{className:"ml-1 h-3 w-3"})]}),t("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["View Pricing Details",e(d,{className:"ml-1 h-3 w-3"})]})]})})]})]})]})})]})}export{b as a};
4
+ import{a as f}from"./chunk-WU3JMLSC.mjs";import{a as h}from"./chunk-BZAYEKYC.mjs";import{a as l}from"./chunk-Q2H33MTB.mjs";import{a as p}from"./chunk-REIGTQCW.mjs";import{a as u}from"./chunk-XAN2JADY.mjs";import{a as c}from"./chunk-5G43IH3C.mjs";import{b as n}from"./chunk-BDX257W2.mjs";import{a as o,b as a,c as i,e as m}from"./chunk-D76EO57Z.mjs";import{a as s}from"./chunk-Y57CQYEG.mjs";import{ExternalLink as d}from"lucide-react";import{jsx as e,jsxs as t}from"react/jsx-runtime";function b({...r}){return t("div",{children:[e(s,{isMenuOpen:!0,logoLight:h,logoDark:f,...r.header}),r.hero&&r.hero.type==="lowImpact"&&e(u,{...r.hero}),r.hero&&r.hero.type==="mediumImpact"&&e(p,{...r.hero}),r.hero&&r.hero.type==="highImpact"&&e(l,{...r.hero}),r.hero&&r.hero.type==="postHero"&&e(c,{...r.hero}),e("div",{className:"container py-8",children:t("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[e("div",{className:"lg:col-span-2",children:r.children}),t("div",{className:"space-y-6",children:[t(o,{children:[e(a,{children:e(i,{children:"Quick Actions"})}),t(m,{children:[e("p",{className:"mb-4 text-sm text-muted-foreground",children:"Get started with your first action in just a few clicks."}),e(n,{className:"w-full",children:"Create New"})]})]}),t(o,{children:[e(a,{children:e(i,{children:"Resources"})}),e(m,{children:t("nav",{className:"flex flex-col space-y-2",children:[t("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["User Guide",e(d,{className:"ml-1 h-3 w-3"})]}),t("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["API Documentation",e(d,{className:"ml-1 h-3 w-3"})]}),t("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["View Pricing Details",e(d,{className:"ml-1 h-3 w-3"})]})]})})]})]})]})})]})}export{b as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as d}from"./chunk-KEUZSK3N.mjs";import{a as m}from"./chunk-3YZN4MJB.mjs";import{b as i,f as o}from"./chunk-5YTDIEDJ.mjs";import{a as l}from"./chunk-H7D3PZKE.mjs";import{a as s}from"./chunk-54Y2MUCQ.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};
4
+ import{a as d}from"./chunk-QMFZRG7O.mjs";import{a as m}from"./chunk-3YZN4MJB.mjs";import{b as i,f as o}from"./chunk-2IKC7MAP.mjs";import{a as l}from"./chunk-H7D3PZKE.mjs";import{a as s}from"./chunk-54Y2MUCQ.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{i as H,j,k as E,l as G,m as _,n as $,o as J}from"./chunk-O5BAW5XQ.mjs";import{a as h}from"./chunk-44VMK4FL.mjs";import{a as I}from"./chunk-2A6JF3LE.mjs";import{a as S}from"./chunk-4YJ3HV64.mjs";import{a as T}from"./chunk-2NFKSNJW.mjs";import{b as P}from"./chunk-BDX257W2.mjs";import{a as g}from"./chunk-SFLOMJ2U.mjs";import{a as l}from"./chunk-NIQ4466A.mjs";import{jsx as k,jsxs as U}from"react/jsx-runtime";var R=({links:a,richText:e})=>k("div",{className:"container",children:U("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[k("div",{className:"max-w-[48rem] flex items-center",children:e&&k(u,{className:"mb-0",content:e,enableGutter:!1})}),k("div",{className:"flex flex-col gap-8",children:(a||[]).map(({link:t},s)=>k(h,{size:"lg",...t},s))})]})});import X from"next/image";import{jsx as n,jsxs as w}from"react/jsx-runtime";function F(a){return a&&typeof a=="object"&&"type"in a&&"iconName"in a}function q({image:a,icon:e,title:t,subtitle:s,content:c,statistic:r,settings:o,link:p,className:d}){var b,x;let f={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:"bg-background"},y={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return console.log("image",a),w("div",{className:l("min-w-56 max-w-xl flex flex-col group",a?"p-0 md:p-0":"p-8 md:p-8",o&&!a&&f[(o==null?void 0:o.card)==="default"?"solid":o==null?void 0:o.card],a&&"bg-foreground",o&&(o==null?void 0:o.card)==="outline"?"text-gray-900":"text-white",y[(b=o==null?void 0:o.width)!=null?b:"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",o&&`intersect:animate-delay-${o.order||1}00`,d),children:[a&&n("div",{className:"relative h-64 w-full mb-0",children:n(X,{src:a.url||"/placeholder.svg",alt:a.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),w("div",{className:l(a?"p-4 pb-8 md:px-12":"p-0 md:p-0"),children:[s&&n("div",{className:"mb-4 text-primary uppercase font-light",children:s}),n("div",{className:"flex items-center gap-4 mb-2",children:n(O,{icon:{type:(e==null?void 0:e.type)||"fa-light",iconName:(e==null?void 0:e.icon)||"no-icon-error"},heading:t,variant:(o==null?void 0:o.card)==="default"?"solid":(x=o==null?void 0:o.card)!=null?x:"solid",iconSize:(o==null?void 0:o.iconSize)||"large"})}),r&&n("div",{className:"mb-6",children:n("div",{className:l("text-4xl text-wrap font-bold leading-none overflow-hidden",(o==null?void 0:o.card)==="outline"||(o==null?void 0:o.card)==="light"?"text-brand-green":"text-white"),children:r})}),c&&typeof c=="object"&&n(u,{enableGutter:!1,content:c,enableProse:!1,className:l("space-y-6",(o==null?void 0:o.card)==="outline"||(o==null?void 0:o.card)==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100",a&&"prose prose-headings:text-background prose-p:text-background")}),c&&typeof c=="string"&&n("div",{className:l("space-y-6",(o==null?void 0:o.card)==="outline"||(o==null?void 0:o.card)==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100",a&&"prose prose-headings:text-background prose-p:text-background"),children:c}),p&&p.url&&n("div",{className:"mt-auto pt-6 flex items-center justify-start",children:n("a",{className:"text-accent justify-start font-semibold uppercase",href:p.url||"#",children:(p==null?void 0:p.label)||"Find out more"})}),(o==null?void 0:o.card)==="radial"&&n("div",{className:"absolute bottom-0 right-0 w-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})]})}var O=({icon:a,heading:e,variant:t,iconSize:s,subtitle:c})=>a&&s==="small"&&a.iconName!="no-icon-error"?w("div",{className:"flex items-start justify-between w-full mb-2",children:[n("div",{className:l("font-semibold",t==="outline"||t==="light"?"text-primary":"text-white",s==="small"?"text-2xl":"text-3xl"),children:e}),F(a)&&n("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",t==="outline"||t==="light"?"text-primary":"text-white",s==="small"?"mt-2":""),children:n(g,{type:a.type,iconName:a.iconName,size:"2x"})})]}):a&&a.iconName!="no-icon-error"?w("div",{className:"flex flex-col gap-4",children:[F(a)&&n("div",{className:l("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",t==="outline"||t==="light"?"text-accent":""),children:n(g,{type:a.type,iconName:a.iconName,size:"4x"})}),n("h3",{className:l("font-normal",t==="outline"||t==="light"?"text-2xl text-primary":"text-3xl"),children:e})]}):n("div",{className:"flex items-center gap-4 mb-2",children:n("div",{className:l("font-regular",t==="outline"||t==="light"?"text-2xl text-primary":"text-3xl"),children:e})});import{jsx as m,jsxs as B}from"react/jsx-runtime";function D(a){return a&&typeof a=="object"&&"type"in a&&"iconName"in a}function z({variant:a="outline",className:e,icon:t,iconSize:s="large",width:c="auto",order:r=0,heading:o,subheading:p,content:d,statistic:f,buttonText:y,buttonHref:b}){let x={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:""},M={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return B("div",{className:l("rounded-3xl p-8 md:p-8 min-w-56 flex flex-col group",x[a],a==="outline"?"text-gray-900":"text-white",e,M[c],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${r+1}00`),children:[m("div",{className:"flex items-center gap-4 mb-2",children:m(K,{icon:t,heading:o,variant:a,iconSize:s})}),f&&m("div",{className:"mb-6",children:m("div",{className:l("text-4xl text-wrap font-bold leading-none overflow-hidden",a==="outline"||a==="light"?"text-primary":"text-white"),children:f})}),p&&m("div",{className:"mb-4 text-xl md:text-2xl font-light",children:p}),d&&typeof d=="object"&&m("div",{className:l("space-y-6"),children:m(u,{enableGutter:!1,content:d,enableProse:!1,className:l(a==="outline"||a==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100")})}),d&&typeof d=="string"&&m("div",{className:l("space-y-6",a==="outline"||a==="light"?"text-gray-900":"text-gray-100"),children:d}),y&&m("div",{className:"mt-auto pt-6 flex items-center justify-center",children:m(P,{size:"lg",className:"text-white text-lg rounded-xl w-full mt-auto items-center justify-center",asChild:!0,children:m("a",{href:b,children:y})})}),a==="radial"&&m("div",{className:"absolute bottom-0 right-0 w-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})}var K=({icon:a,heading:e,variant:t,iconSize:s})=>a&&s==="small"?B("div",{className:"flex items-start gap-4 mb-2",children:[D(a)&&m("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",t==="outline"||t==="light"?"text-primary":"text-white",s==="small"?"mt-2":""),children:m(g,{type:a.type,iconName:a.iconName,size:"2x"})}),m("div",{className:l("font-semibold",t==="outline"||t==="light"?"text-primary":"text-white",s==="small"?"text-2xl":"text-3xl"),children:e})]}):a?B("div",{className:"flex flex-col gap-4",children:[D(a)&&m("div",{className:l("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",t==="outline"||t==="light"?"text-accent":""),children:m(g,{type:a.type,iconName:a.iconName,size:"4x"})}),m("h3",{className:l("font-semibold",t==="outline"||t==="light"?"text-2xl text-primary":"text-3xl"),children:e})]}):m("div",{className:"flex items-center gap-4 mb-2",children:m("div",{className:l("font-semibold",t==="outline"||t==="light"?"text-2xl text-primary":"text-3xl"),children:e})});import{jsx as N,jsxs as Q}from"react/jsx-runtime";var A=({title:a,description:e,features:t,id:s,nested:c=!1})=>Q("section",{className:l(!c&&"container","w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[a&&N("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl text-primary",id:s||"",children:a}),e&&typeof e=="string"&&N("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:e}),e&&typeof e=="object"&&N("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:N(u,{content:e,enableGutter:!1})}),N("div",{className:`grid gap-8 mt-10 md:grid-cols-${t?t.length:1}`,children:t&&t.map((r,o)=>{var d,f,y,b,x;let p=()=>{if(r.icon&&"type"in r.icon&&r.icon.type!=="none")return{type:r.icon.type,iconName:r.icon.icon}};return N(z,{variant:((d=r.settings)==null?void 0:d.card)==="default"?"light":((f=r.settings)==null?void 0:f.card)||"outline",icon:p()||void 0,iconSize:((y=r.settings)==null?void 0:y.iconSize)||"large",width:"auto",order:o,heading:r.title||"",content:r.content||void 0,statistic:r.statistic||void 0,buttonText:(b=r.link)!=null&&b.url?"Find out more":void 0,buttonHref:((x=r.link)==null?void 0:x.url)||void 0},o)})})]});import V,{Fragment as W}from"react";import{jsx as i}from"react/jsx-runtime";function v({nodes:a}){return i(W,{children:a==null?void 0:a.map((e,t)=>{if(e==null)return null;if(e.type==="text"&&e.text){let r=i(V.Fragment,{children:e.text},t);return e.format&1&&(r=i("strong",{children:r},t)),e.format&2&&(r=i("em",{children:r},t)),e.format&4&&(r=i("span",{style:{textDecoration:"line-through"},children:r},t)),e.format&8&&(r=i("span",{style:{textDecoration:"underline"},children:r},t)),e.format&16&&(r=i("code",{children:e.text},t)),e.format&32&&(r=i("sub",{children:r},t)),e.format&64&&(r=i("sup",{children:r},t)),r}if(e.type==="table")return i("table",{children:i("tbody",{children:e.children.map((r,o)=>i("tr",{children:r.children.map((p,d)=>i("td",{children:v({nodes:p.children})},d))},o))})},t);let s=r=>{if(r.children==null)return null;if((r==null?void 0:r.type)==="list"&&(r==null?void 0:r.listType)==="check")for(let o of r.children)"checked"in o&&(o!=null&&o.checked||(o.checked=!1));return v({nodes:r.children})},c="children"in e?s(e):"";if(e.type==="block"){let r=e.fields,o=r==null?void 0:r.blockType;if(!r||!o)return null;switch(o){case"cta":return i(R,{...r},t);case"mediaBlock":return i(I,{className:"col-start-1 col-span-3",imgClassName:"m-0",...r,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},t);case"imageBlock":return i(S,{className:"col-start-1 col-span-3",imgClassName:"m-0",...r,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},t);case"banner":return i(L,{className:"col-start-2 mb-4",...r},t);case"code":return i(T,{className:"col-start-2",...r},t);case"features":return i(A,{...r,nested:!0},t);case"reusableContentBlock":v({nodes:r.reusableContent.layout});default:return null}}else switch(e.type){case"linebreak":return i("br",{className:"col-start-2"},t);case"paragraph":return i("p",{className:"col-start-2",children:c},t);case"heading":{let r=e==null?void 0:e.tag;return i(r,{className:"col-start-2",id:(e==null?void 0:e.id)||"",children:c},t)}case"list":{let r=e==null?void 0:e.tag;return i(r,{className:"list col-start-2",children:c},t)}case"listitem":return(e==null?void 0:e.checked)!=null?i("li",{"aria-checked":e.checked?"true":"false",className:` ${e.checked,""}`,role:"checkbox",tabIndex:-1,value:e==null?void 0:e.value,children:c},t):i("li",{value:e==null?void 0:e.value,children:c},t);case"quote":return i("blockquote",{className:"col-start-2",children:c},t);case"link":{let r=e.fields;return i(h,{newTab:!!(r!=null&&r.newTab),reference:r.doc,type:r.linkType==="internal"?"reference":"custom",url:r.url,children:c},t)}case"autolink":{let r=e.fields;return i(h,{newTab:!!(r!=null&&r.newTab),reference:r.doc,type:r.linkType==="internal"?"reference":"custom",url:r.url,children:c},t)}default:return null}})})}import{jsx as Y}from"react/jsx-runtime";var u=({className:a,content:e,enableGutter:t=!0,enableProse:s=!0})=>{var c;return e?Y("div",{className:l({"container ":t,"max-w-none":!t,"mx-auto prose dark:prose-invert ":s},a),children:e&&!Array.isArray(e)&&typeof e=="object"&&"root"in e&&v({nodes:(c=e==null?void 0:e.root)==null?void 0:c.children})}):null};import{jsx as C}from"react/jsx-runtime";var L=({className:a,content:e,style:t})=>C("div",{className:l("mx-auto my-8 w-full",a),children:C("div",{className:l("border py-3 px-6 flex items-center rounded",{"border-border bg-card":t==="info","border-error bg-error/30":t==="error","border-success bg-success/30":t==="success","border-warning bg-warning/30":t==="warning"}),children:C(u,{content:e,enableGutter:!1,enableProse:!1})})});export{L as a,R as b,A as c,v as d,u as e,q as f,z as g};
1
+ import{i as H,j,k as E,l as G,m as _,n as $,o as J}from"./chunk-O5BAW5XQ.mjs";import{a as h}from"./chunk-44VMK4FL.mjs";import{a as S}from"./chunk-4YJ3HV64.mjs";import{a as I}from"./chunk-2A6JF3LE.mjs";import{a as T}from"./chunk-2NFKSNJW.mjs";import{b as P}from"./chunk-BDX257W2.mjs";import{a as g}from"./chunk-SFLOMJ2U.mjs";import{a as l}from"./chunk-NIQ4466A.mjs";import{jsx as k,jsxs as U}from"react/jsx-runtime";var R=({links:a,richText:e})=>k("div",{className:"container",children:U("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[k("div",{className:"max-w-[48rem] flex items-center",children:e&&k(u,{className:"mb-0",content:e,enableGutter:!1})}),k("div",{className:"flex flex-col gap-8",children:(a||[]).map(({link:t},s)=>k(h,{size:"lg",...t},s))})]})});import X from"next/image";import{jsx as n,jsxs as w}from"react/jsx-runtime";function F(a){return a&&typeof a=="object"&&"type"in a&&"iconName"in a}function q({image:a,icon:e,title:t,subtitle:s,content:c,statistic:r,settings:o,link:p,className:d}){var b,x;let f={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:"bg-background"},y={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return console.log("image",a),w("div",{className:l("min-w-56 max-w-xl flex flex-col group",a?"p-0 md:p-0":"p-8 md:p-8",o&&!a&&f[(o==null?void 0:o.card)==="default"?"solid":o==null?void 0:o.card],a&&"bg-foreground",o&&(o==null?void 0:o.card)==="outline"?"text-gray-900":"text-white",y[(b=o==null?void 0:o.width)!=null?b:"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",o&&`intersect:animate-delay-${o.order||1}00`,d),children:[a&&n("div",{className:"relative h-64 w-full mb-0",children:n(X,{src:a.url||"/placeholder.svg",alt:a.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),w("div",{className:l(a?"p-4 pb-8 md:px-12":"p-0 md:p-0"),children:[s&&n("div",{className:"mb-4 text-primary uppercase font-light",children:s}),n("div",{className:"flex items-center gap-4 mb-2",children:n(O,{icon:{type:(e==null?void 0:e.type)||"fa-light",iconName:(e==null?void 0:e.icon)||"no-icon-error"},heading:t,variant:(o==null?void 0:o.card)==="default"?"solid":(x=o==null?void 0:o.card)!=null?x:"solid",iconSize:(o==null?void 0:o.iconSize)||"large"})}),r&&n("div",{className:"mb-6",children:n("div",{className:l("text-4xl text-wrap font-bold leading-none overflow-hidden",(o==null?void 0:o.card)==="outline"||(o==null?void 0:o.card)==="light"?"text-brand-green":"text-white"),children:r})}),c&&typeof c=="object"&&n(u,{enableGutter:!1,content:c,enableProse:!1,className:l("space-y-6",(o==null?void 0:o.card)==="outline"||(o==null?void 0:o.card)==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100",a&&"prose prose-headings:text-background prose-p:text-background")}),c&&typeof c=="string"&&n("div",{className:l("space-y-6",(o==null?void 0:o.card)==="outline"||(o==null?void 0:o.card)==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100",a&&"prose prose-headings:text-background prose-p:text-background"),children:c}),p&&p.url&&n("div",{className:"mt-auto pt-6 flex items-center justify-start",children:n("a",{className:"text-accent justify-start font-semibold uppercase",href:p.url||"#",children:(p==null?void 0:p.label)||"Find out more"})}),(o==null?void 0:o.card)==="radial"&&n("div",{className:"absolute bottom-0 right-0 w-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})]})}var O=({icon:a,heading:e,variant:t,iconSize:s,subtitle:c})=>a&&s==="small"&&a.iconName!="no-icon-error"?w("div",{className:"flex items-start justify-between w-full mb-2",children:[n("div",{className:l("font-semibold",t==="outline"||t==="light"?"text-primary":"text-white",s==="small"?"text-2xl":"text-3xl"),children:e}),F(a)&&n("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",t==="outline"||t==="light"?"text-primary":"text-white",s==="small"?"mt-2":""),children:n(g,{type:a.type,iconName:a.iconName,size:"2x"})})]}):a&&a.iconName!="no-icon-error"?w("div",{className:"flex flex-col gap-4",children:[F(a)&&n("div",{className:l("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",t==="outline"||t==="light"?"text-accent":""),children:n(g,{type:a.type,iconName:a.iconName,size:"4x"})}),n("h3",{className:l("font-normal",t==="outline"||t==="light"?"text-2xl text-primary":"text-3xl"),children:e})]}):n("div",{className:"flex items-center gap-4 mb-2",children:n("div",{className:l("font-regular",t==="outline"||t==="light"?"text-2xl text-primary":"text-3xl"),children:e})});import{jsx as m,jsxs as B}from"react/jsx-runtime";function D(a){return a&&typeof a=="object"&&"type"in a&&"iconName"in a}function z({variant:a="outline",className:e,icon:t,iconSize:s="large",width:c="auto",order:r=0,heading:o,subheading:p,content:d,statistic:f,buttonText:y,buttonHref:b}){let x={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:""},M={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return B("div",{className:l("rounded-3xl p-8 md:p-8 min-w-56 flex flex-col group",x[a],a==="outline"?"text-gray-900":"text-white",e,M[c],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${r+1}00`),children:[m("div",{className:"flex items-center gap-4 mb-2",children:m(K,{icon:t,heading:o,variant:a,iconSize:s})}),f&&m("div",{className:"mb-6",children:m("div",{className:l("text-4xl text-wrap font-bold leading-none overflow-hidden",a==="outline"||a==="light"?"text-primary":"text-white"),children:f})}),p&&m("div",{className:"mb-4 text-xl md:text-2xl font-light",children:p}),d&&typeof d=="object"&&m("div",{className:l("space-y-6"),children:m(u,{enableGutter:!1,content:d,enableProse:!1,className:l(a==="outline"||a==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100")})}),d&&typeof d=="string"&&m("div",{className:l("space-y-6",a==="outline"||a==="light"?"text-gray-900":"text-gray-100"),children:d}),y&&m("div",{className:"mt-auto pt-6 flex items-center justify-center",children:m(P,{size:"lg",className:"text-white text-lg rounded-xl w-full mt-auto items-center justify-center",asChild:!0,children:m("a",{href:b,children:y})})}),a==="radial"&&m("div",{className:"absolute bottom-0 right-0 w-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})}var K=({icon:a,heading:e,variant:t,iconSize:s})=>a&&s==="small"?B("div",{className:"flex items-start gap-4 mb-2",children:[D(a)&&m("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",t==="outline"||t==="light"?"text-primary":"text-white",s==="small"?"mt-2":""),children:m(g,{type:a.type,iconName:a.iconName,size:"2x"})}),m("div",{className:l("font-semibold",t==="outline"||t==="light"?"text-primary":"text-white",s==="small"?"text-2xl":"text-3xl"),children:e})]}):a?B("div",{className:"flex flex-col gap-4",children:[D(a)&&m("div",{className:l("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",t==="outline"||t==="light"?"text-accent":""),children:m(g,{type:a.type,iconName:a.iconName,size:"4x"})}),m("h3",{className:l("font-semibold",t==="outline"||t==="light"?"text-2xl text-primary":"text-3xl"),children:e})]}):m("div",{className:"flex items-center gap-4 mb-2",children:m("div",{className:l("font-semibold",t==="outline"||t==="light"?"text-2xl text-primary":"text-3xl"),children:e})});import{jsx as N,jsxs as Q}from"react/jsx-runtime";var A=({title:a,description:e,features:t,id:s,nested:c=!1})=>Q("section",{className:l(!c&&"container","w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[a&&N("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl text-primary",id:s||"",children:a}),e&&typeof e=="string"&&N("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:e}),e&&typeof e=="object"&&N("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:N(u,{content:e,enableGutter:!1})}),N("div",{className:`grid gap-8 mt-10 md:grid-cols-${t?t.length:1}`,children:t&&t.map((r,o)=>{var d,f,y,b,x;let p=()=>{if(r.icon&&"type"in r.icon&&r.icon.type!=="none")return{type:r.icon.type,iconName:r.icon.icon}};return N(z,{variant:((d=r.settings)==null?void 0:d.card)==="default"?"light":((f=r.settings)==null?void 0:f.card)||"outline",icon:p()||void 0,iconSize:((y=r.settings)==null?void 0:y.iconSize)||"large",width:"auto",order:o,heading:r.title||"",content:r.content||void 0,statistic:r.statistic||void 0,buttonText:(b=r.link)!=null&&b.url?"Find out more":void 0,buttonHref:((x=r.link)==null?void 0:x.url)||void 0},o)})})]});import V,{Fragment as W}from"react";import{jsx as i}from"react/jsx-runtime";function v({nodes:a}){return i(W,{children:a==null?void 0:a.map((e,t)=>{if(e==null)return null;if(e.type==="text"&&e.text){let r=i(V.Fragment,{children:e.text},t);return e.format&1&&(r=i("strong",{children:r},t)),e.format&2&&(r=i("em",{children:r},t)),e.format&4&&(r=i("span",{style:{textDecoration:"line-through"},children:r},t)),e.format&8&&(r=i("span",{style:{textDecoration:"underline"},children:r},t)),e.format&16&&(r=i("code",{children:e.text},t)),e.format&32&&(r=i("sub",{children:r},t)),e.format&64&&(r=i("sup",{children:r},t)),r}if(e.type==="table")return i("table",{children:i("tbody",{children:e.children.map((r,o)=>i("tr",{children:r.children.map((p,d)=>i("td",{children:v({nodes:p.children})},d))},o))})},t);let s=r=>{if(r.children==null)return null;if((r==null?void 0:r.type)==="list"&&(r==null?void 0:r.listType)==="check")for(let o of r.children)"checked"in o&&(o!=null&&o.checked||(o.checked=!1));return v({nodes:r.children})},c="children"in e?s(e):"";if(e.type==="block"){let r=e.fields,o=r==null?void 0:r.blockType;if(!r||!o)return null;switch(o){case"cta":return i(R,{...r},t);case"mediaBlock":return i(I,{className:"col-start-1 col-span-3",imgClassName:"m-0",...r,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},t);case"imageBlock":return i(S,{className:"col-start-1 col-span-3",imgClassName:"m-0",...r,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},t);case"banner":return i(L,{className:"col-start-2 mb-4",...r},t);case"code":return i(T,{className:"col-start-2",...r},t);case"features":return i(A,{...r,nested:!0},t);case"reusableContentBlock":v({nodes:r.reusableContent.layout});default:return null}}else switch(e.type){case"linebreak":return i("br",{className:"col-start-2"},t);case"paragraph":return i("p",{className:"col-start-2",children:c},t);case"heading":{let r=e==null?void 0:e.tag;return i(r,{className:"col-start-2",id:(e==null?void 0:e.id)||"",children:c},t)}case"list":{let r=e==null?void 0:e.tag;return i(r,{className:"list col-start-2",children:c},t)}case"listitem":return(e==null?void 0:e.checked)!=null?i("li",{"aria-checked":e.checked?"true":"false",className:` ${e.checked,""}`,role:"checkbox",tabIndex:-1,value:e==null?void 0:e.value,children:c},t):i("li",{value:e==null?void 0:e.value,children:c},t);case"quote":return i("blockquote",{className:"col-start-2",children:c},t);case"link":{let r=e.fields;return i(h,{newTab:!!(r!=null&&r.newTab),reference:r.doc,type:r.linkType==="internal"?"reference":"custom",url:r.url,children:c},t)}case"autolink":{let r=e.fields;return i(h,{newTab:!!(r!=null&&r.newTab),reference:r.doc,type:r.linkType==="internal"?"reference":"custom",url:r.url,children:c},t)}default:return null}})})}import{jsx as Y}from"react/jsx-runtime";var u=({className:a,content:e,enableGutter:t=!0,enableProse:s=!0})=>{var c;return e?Y("div",{className:l({"container ":t,"max-w-none":!t,"mx-auto prose dark:prose-invert ":s},a),children:e&&!Array.isArray(e)&&typeof e=="object"&&"root"in e&&v({nodes:(c=e==null?void 0:e.root)==null?void 0:c.children})}):null};import{jsx as C}from"react/jsx-runtime";var L=({className:a,content:e,style:t})=>C("div",{className:l("mx-auto my-8 w-full",a),children:C("div",{className:l("border py-3 px-6 flex items-center rounded",{"border-border bg-card":t==="info","border-error bg-error/30":t==="error","border-success bg-success/30":t==="success","border-warning bg-warning/30":t==="warning"}),children:C(u,{content:e,enableGutter:!1,enableProse:!1})})});export{L as a,R as b,A as c,v as d,u as e,q as f,z as g};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as F}from"./chunk-ESWNUYYT.mjs";import{a as T}from"./chunk-JPUN2TYN.mjs";import{a as v}from"./chunk-NIQ4466A.mjs";import{a as R}from"./chunk-C5XNOZXC.mjs";import{useState as A}from"react";import G from"html2canvas";import{jsPDF as W}from"jspdf";import{Fragment as J,jsx as e,jsxs as f}from"react/jsx-runtime";function ae({type:p="slideshow",orientation:d="landscape",...s}){let h=s.page,[C,n]=A(d);console.log("args",s);let{contentWithIds:c,tableOfContents:a}=R(h);if(p==="slideshow")return e("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:e(T,{blocks:c,hero:s.hero,title:s.page.title,logoImage:s.logoImage})});if(p==="print")return f(J,{children:[e(U,{layout:C,changeLayout:n}),e(F,{page:s.page,layout:C,logoImage:s.logoImage})]})}var U=({changeLayout:p,layout:d="landscape"})=>{let s=async()=>{var c;if(d==="flow"){console.log("printing");let a=(c=document.getElementById("printable-content"))==null?void 0:c.innerHTML;if(a){var n=window.document.body.innerHTML;window.document.body.innerHTML=a,window.print(),window.document.body.innerHTML=n}}else await new Promise(a=>setTimeout(a,300)),window.print()},h=n=>{p&&p(n)},C=async n=>{console.log("elementToPrintId",n);let c=document.getElementById(n);if(!c)throw new Error(`Element with id ${n} not found`);let a=document.createElement("canvas"),P=window.devicePixelRatio;a.width=Math.max(c.clientWidth||0)*P,a.height=Math.max(c.clientHeight||0)*P+100;let u=a.getContext("2d");if(!u)throw new Error("Failed to get 2D context");let q=u.drawImage,z=Array.from(c.getElementsByTagName("img")).reduce((y,l)=>(y[l.src]=l,y),{});u.drawImage=function(...y){let[l,S,j,i,r,D,B,m,g]=y;if(l instanceof HTMLImageElement){let Y=z[l.src].style.objectFit||"fill",$=z[l.src].style.objectPosition||"center center";r=l.height,i=l.width;let L=i/r,b=m/g,[x,w]=$.split(" ");switch(w||(w=x),Y){case"cover":if(L>b){let t=r*b,o=(i-t)/2;x==="left"&&(o=0),x==="right"&&(o=i-t),S+=o,i=t}else{let t=i/b,o=(r-t)/2;w==="top"&&(o=0),w==="bottom"&&(o=r-t),j+=o,r=t}break;case"contain":if(L>b){let t=m/L,o=(g-t)/2;w==="top"&&(o=0),w==="bottom"&&(o=g-t),B+=o,g=t}else{let t=g*L,o=(m-t)/2;x==="left"&&(o=0),x==="right"&&(o=m-t),D+=o,m=t}break;case"fill":break}}return q.call(u,l,S,j,i,r,D,B,m,g)};let k=document.getElementById(n);if(!k)throw new Error(`Element with id ${n} not found`);var O=a.width,X=a.height;let I=(await G(k,{canvas:a,windowHeight:X,windowWidth:O,scale:window.devicePixelRatio})).toDataURL("image/png"),N=new W({}).getImageProperties(I),M=297,E=M*(N.height/N.width),H=new W({unit:"mm",format:[M,E]});H.addImage(I,"PNG",0,0,M,E),H.save("print.pdf")};return e("div",{className:v("fixed right-2 z-20 top-20 space-y-6 print:hidden"),children:e("div",{className:"flex flex-row-reverse z-20 min-w-70 gap-4",children:f("nav",{className:"z-20 flex grow-0 justify-end gap-4 border-t border-gray-200 bg-white/50 p-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-h-[auto] min-w-[54px] flex-col rounded-lg border",children:[f("a",{onClick:s,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",children:e("path",{d:"M96 160l-32 0 0-96C64 28.7 92.7 0 128 0L357.5 0c17 0 33.3 6.7 45.3 18.7l26.5 26.5c12 12 18.7 28.3 18.7 45.3l0 69.5-32 0 0-69.5c0-8.5-3.4-16.6-9.4-22.6L380.1 41.4c-6-6-14.1-9.4-22.6-9.4L128 32c-17.7 0-32 14.3-32 32l0 96zm352 64L64 224c-17.7 0-32 14.3-32 32l0 128 32 0 0-32c0-17.7 14.3-32 32-32l320 0c17.7 0 32 14.3 32 32l0 32 32 0 0-128c0-17.7-14.3-32-32-32zm0 192l0 64c0 17.7-14.3 32-32 32L96 512c-17.7 0-32-14.3-32-32l0-64-32 0c-17.7 0-32-14.3-32-32L0 256c0-35.3 28.7-64 64-64l384 0c35.3 0 64 28.7 64 64l0 128c0 17.7-14.3 32-32 32l-32 0zM96 352l0 128 320 0 0-128L96 352zM432 248a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"})}),e("small",{className:"text-xs font-medium",children:"Print"})]}),e("div",{className:"flex-grow border-t border-gray-200 dark:border-slate-600/60"}),f("a",{onClick:()=>h("portrait"),className:v("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",d==="portrait"?"text-accent":"hover:text-accent"),children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",fill:"currentColor",children:e("path",{d:"M352 448c0 17.7-14.3 32-32 32L64 480c-17.7 0-32-14.3-32-32L32 64c0-17.7 14.3-32 32-32l256 0c17.7 0 32 14.3 32 32l0 384zM384 64c0-35.3-28.7-64-64-64L64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-384z"})}),e("small",{className:"text-xs",children:"Portrait"})]}),f("a",{onClick:()=>h("landscape"),className:v("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",d==="landscape"?"text-accent":"hover:text-accent"),children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512",fill:"currentColor",children:e("path",{d:"M576 96c17.7 0 32 14.3 32 32l0 256c0 17.7-14.3 32-32 32L64 416c-17.7 0-32-14.3-32-32l0-256c0-17.7 14.3-32 32-32l512 0zM64 64C28.7 64 0 92.7 0 128L0 384c0 35.3 28.7 64 64 64l512 0c35.3 0 64-28.7 64-64l0-256c0-35.3-28.7-64-64-64L64 64z"})}),e("small",{className:"text-xs",children:"Landscape"})]}),f("a",{onClick:()=>h("flow"),className:v("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",d==="flow"?"text-accent":"hover:text-accent"),children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:e("path",{d:"M266.2 4.7C273 1.6 280.5 0 288 0s15 1.6 21.8 4.7l217.4 97.5c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 251.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 153.9C38.6 149.3 32 139.2 32 128s6.6-21.3 16.8-25.9L266.2 4.7zM288 32c-3 0-6 .6-8.8 1.9L69.3 128l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-210-94.1C294 32.6 291 32 288 32zM48.8 358.1l45.9-20.6 39.1 17.5L69.3 384l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-64.5-28.9 39.1-17.5 45.9 20.6c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 507.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 409.9C38.6 405.3 32 395.2 32 384s6.6-21.3 16.8-25.9zM94.7 209.5l39.1 17.5L69.3 256l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-64.5-28.9 39.1-17.5 45.9 20.6c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 379.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 281.9C38.6 277.3 32 267.2 32 256s6.6-21.3 16.8-25.9l45.9-20.6z"})}),e("small",{className:"text-xs",children:"Continuous"})]})]})})})};export{ae as a};
4
+ import{a as F}from"./chunk-QHKI3GAG.mjs";import{a as T}from"./chunk-U7FOLOH2.mjs";import{a as v}from"./chunk-NIQ4466A.mjs";import{a as R}from"./chunk-C5XNOZXC.mjs";import{useState as A}from"react";import G from"html2canvas";import{jsPDF as W}from"jspdf";import{Fragment as J,jsx as e,jsxs as f}from"react/jsx-runtime";function ae({type:p="slideshow",orientation:d="landscape",...s}){let h=s.page,[C,n]=A(d);console.log("args",s);let{contentWithIds:c,tableOfContents:a}=R(h);if(p==="slideshow")return e("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:e(T,{blocks:c,hero:s.hero,title:s.page.title,logoImage:s.logoImage})});if(p==="print")return f(J,{children:[e(U,{layout:C,changeLayout:n}),e(F,{page:s.page,layout:C,logoImage:s.logoImage})]})}var U=({changeLayout:p,layout:d="landscape"})=>{let s=async()=>{var c;if(d==="flow"){console.log("printing");let a=(c=document.getElementById("printable-content"))==null?void 0:c.innerHTML;if(a){var n=window.document.body.innerHTML;window.document.body.innerHTML=a,window.print(),window.document.body.innerHTML=n}}else await new Promise(a=>setTimeout(a,300)),window.print()},h=n=>{p&&p(n)},C=async n=>{console.log("elementToPrintId",n);let c=document.getElementById(n);if(!c)throw new Error(`Element with id ${n} not found`);let a=document.createElement("canvas"),P=window.devicePixelRatio;a.width=Math.max(c.clientWidth||0)*P,a.height=Math.max(c.clientHeight||0)*P+100;let u=a.getContext("2d");if(!u)throw new Error("Failed to get 2D context");let q=u.drawImage,z=Array.from(c.getElementsByTagName("img")).reduce((y,l)=>(y[l.src]=l,y),{});u.drawImage=function(...y){let[l,S,j,i,r,D,B,m,g]=y;if(l instanceof HTMLImageElement){let Y=z[l.src].style.objectFit||"fill",$=z[l.src].style.objectPosition||"center center";r=l.height,i=l.width;let L=i/r,b=m/g,[x,w]=$.split(" ");switch(w||(w=x),Y){case"cover":if(L>b){let t=r*b,o=(i-t)/2;x==="left"&&(o=0),x==="right"&&(o=i-t),S+=o,i=t}else{let t=i/b,o=(r-t)/2;w==="top"&&(o=0),w==="bottom"&&(o=r-t),j+=o,r=t}break;case"contain":if(L>b){let t=m/L,o=(g-t)/2;w==="top"&&(o=0),w==="bottom"&&(o=g-t),B+=o,g=t}else{let t=g*L,o=(m-t)/2;x==="left"&&(o=0),x==="right"&&(o=m-t),D+=o,m=t}break;case"fill":break}}return q.call(u,l,S,j,i,r,D,B,m,g)};let k=document.getElementById(n);if(!k)throw new Error(`Element with id ${n} not found`);var O=a.width,X=a.height;let I=(await G(k,{canvas:a,windowHeight:X,windowWidth:O,scale:window.devicePixelRatio})).toDataURL("image/png"),N=new W({}).getImageProperties(I),M=297,E=M*(N.height/N.width),H=new W({unit:"mm",format:[M,E]});H.addImage(I,"PNG",0,0,M,E),H.save("print.pdf")};return e("div",{className:v("fixed right-2 z-20 top-20 space-y-6 print:hidden"),children:e("div",{className:"flex flex-row-reverse z-20 min-w-70 gap-4",children:f("nav",{className:"z-20 flex grow-0 justify-end gap-4 border-t border-gray-200 bg-white/50 p-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-h-[auto] min-w-[54px] flex-col rounded-lg border",children:[f("a",{onClick:s,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",children:e("path",{d:"M96 160l-32 0 0-96C64 28.7 92.7 0 128 0L357.5 0c17 0 33.3 6.7 45.3 18.7l26.5 26.5c12 12 18.7 28.3 18.7 45.3l0 69.5-32 0 0-69.5c0-8.5-3.4-16.6-9.4-22.6L380.1 41.4c-6-6-14.1-9.4-22.6-9.4L128 32c-17.7 0-32 14.3-32 32l0 96zm352 64L64 224c-17.7 0-32 14.3-32 32l0 128 32 0 0-32c0-17.7 14.3-32 32-32l320 0c17.7 0 32 14.3 32 32l0 32 32 0 0-128c0-17.7-14.3-32-32-32zm0 192l0 64c0 17.7-14.3 32-32 32L96 512c-17.7 0-32-14.3-32-32l0-64-32 0c-17.7 0-32-14.3-32-32L0 256c0-35.3 28.7-64 64-64l384 0c35.3 0 64 28.7 64 64l0 128c0 17.7-14.3 32-32 32l-32 0zM96 352l0 128 320 0 0-128L96 352zM432 248a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"})}),e("small",{className:"text-xs font-medium",children:"Print"})]}),e("div",{className:"flex-grow border-t border-gray-200 dark:border-slate-600/60"}),f("a",{onClick:()=>h("portrait"),className:v("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",d==="portrait"?"text-accent":"hover:text-accent"),children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",fill:"currentColor",children:e("path",{d:"M352 448c0 17.7-14.3 32-32 32L64 480c-17.7 0-32-14.3-32-32L32 64c0-17.7 14.3-32 32-32l256 0c17.7 0 32 14.3 32 32l0 384zM384 64c0-35.3-28.7-64-64-64L64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-384z"})}),e("small",{className:"text-xs",children:"Portrait"})]}),f("a",{onClick:()=>h("landscape"),className:v("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",d==="landscape"?"text-accent":"hover:text-accent"),children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512",fill:"currentColor",children:e("path",{d:"M576 96c17.7 0 32 14.3 32 32l0 256c0 17.7-14.3 32-32 32L64 416c-17.7 0-32-14.3-32-32l0-256c0-17.7 14.3-32 32-32l512 0zM64 64C28.7 64 0 92.7 0 128L0 384c0 35.3 28.7 64 64 64l512 0c35.3 0 64-28.7 64-64l0-256c0-35.3-28.7-64-64-64L64 64z"})}),e("small",{className:"text-xs",children:"Landscape"})]}),f("a",{onClick:()=>h("flow"),className:v("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",d==="flow"?"text-accent":"hover:text-accent"),children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:e("path",{d:"M266.2 4.7C273 1.6 280.5 0 288 0s15 1.6 21.8 4.7l217.4 97.5c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 251.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 153.9C38.6 149.3 32 139.2 32 128s6.6-21.3 16.8-25.9L266.2 4.7zM288 32c-3 0-6 .6-8.8 1.9L69.3 128l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-210-94.1C294 32.6 291 32 288 32zM48.8 358.1l45.9-20.6 39.1 17.5L69.3 384l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-64.5-28.9 39.1-17.5 45.9 20.6c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 507.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 409.9C38.6 405.3 32 395.2 32 384s6.6-21.3 16.8-25.9zM94.7 209.5l39.1 17.5L69.3 256l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-64.5-28.9 39.1-17.5 45.9 20.6c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 379.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 281.9C38.6 277.3 32 267.2 32 256s6.6-21.3 16.8-25.9l45.9-20.6z"})}),e("small",{className:"text-xs",children:"Continuous"})]})]})})})};export{ae as a};
@@ -1 +1 @@
1
- import{e as b}from"./chunk-RDWF5HZG.mjs";import{a as y}from"./chunk-44VMK4FL.mjs";import{a as d}from"./chunk-NIQ4466A.mjs";import{jsx as s,jsxs as h}from"react/jsx-runtime";var H=k=>{var p;let{columns:i,theme:n}=k,T={full:"12",half:"6",oneThird:"4",twoThirds:"8"},R={none:"",line:"border border-primary p-4 rounded-lg"},c=o=>{if(o.type&&o.type==="block"&&o.fields&&(o.fields.blockType==="imageBlock"||o.fields.blockType==="mediaBlock"))return!0;if(o.root&&o.root.children){for(let e of o.root.children)if(c(e))return!0}if(o.children){for(let e of o.children)if(c(e))return!0}return!1},v=(o,e,r)=>{if(e==="none"||r==="full")return{processedRichText:o,heading:null};let t=o,l=null;return o&&o.root&&o.root.children&&o.root.children[0].tag==="h2"&&(t={...o,root:{...o.root,children:o.root.children.slice(1)}},l=o.root.children[0]),{processedRichText:t,heading:l}};return s("div",{className:"container my-6",children:s("div",{className:d("grid grid-cols-4 lg:grid-cols-12 gap-y-8",(p=n==null?void 0:n.settings)!=null&&p.box?"gap-x-8":"gap-x-16"),children:i&&i.length>0&&i.map((o,e)=>{var m,g;let{enableLink:r,link:t,richText:l,size:a}=o,{processedRichText:f,heading:u}=v(l,((m=n==null?void 0:n.settings)==null?void 0:m.box)||"none",a||"full");return h("div",{className:d(`col-span-4 lg:col-span-${T[a]}`,{"md:col-span-2":a!=="full"},R[a!=="full"&&!c(l)&&((g=n==null?void 0:n.settings)==null?void 0:g.box)||"none"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${e+1}00`),children:[u&&s("div",{className:"bg-primary text-primary-foreground mb-4 -mt-4 -mx-4 px-4 py-2 text-xl",children:u.children[0].text}),f&&s(b,{content:f,enableGutter:!1,className:"rich-text"}),r&&s(y,{...t})]},e)})})})};export{H as a};
1
+ import{e as b}from"./chunk-EDNVTO7V.mjs";import{a as y}from"./chunk-44VMK4FL.mjs";import{a as d}from"./chunk-NIQ4466A.mjs";import{jsx as s,jsxs as h}from"react/jsx-runtime";var H=k=>{var p;let{columns:i,theme:n}=k,T={full:"12",half:"6",oneThird:"4",twoThirds:"8"},R={none:"",line:"border border-primary p-4 rounded-lg"},c=o=>{if(o.type&&o.type==="block"&&o.fields&&(o.fields.blockType==="imageBlock"||o.fields.blockType==="mediaBlock"))return!0;if(o.root&&o.root.children){for(let e of o.root.children)if(c(e))return!0}if(o.children){for(let e of o.children)if(c(e))return!0}return!1},v=(o,e,r)=>{if(e==="none"||r==="full")return{processedRichText:o,heading:null};let t=o,l=null;return o&&o.root&&o.root.children&&o.root.children[0].tag==="h2"&&(t={...o,root:{...o.root,children:o.root.children.slice(1)}},l=o.root.children[0]),{processedRichText:t,heading:l}};return s("div",{className:"container my-6",children:s("div",{className:d("grid grid-cols-4 lg:grid-cols-12 gap-y-8",(p=n==null?void 0:n.settings)!=null&&p.box?"gap-x-8":"gap-x-16"),children:i&&i.length>0&&i.map((o,e)=>{var m,g;let{enableLink:r,link:t,richText:l,size:a}=o,{processedRichText:f,heading:u}=v(l,((m=n==null?void 0:n.settings)==null?void 0:m.box)||"none",a||"full");return h("div",{className:d(`col-span-4 lg:col-span-${T[a]}`,{"md:col-span-2":a!=="full"},R[a!=="full"&&!c(l)&&((g=n==null?void 0:n.settings)==null?void 0:g.box)||"none"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${e+1}00`),children:[u&&s("div",{className:"bg-primary text-primary-foreground mb-4 -mt-4 -mx-4 px-4 py-2 text-xl",children:u.children[0].text}),f&&s(b,{content:f,enableGutter:!1,className:"rich-text"}),r&&s(y,{...t})]},e)})})})};export{H as a};
@@ -1 +1 @@
1
- import{a as l}from"./chunk-WKD2UQGO.mjs";import{a as c}from"./chunk-WU3JMLSC.mjs";import{a as f}from"./chunk-BZAYEKYC.mjs";import{b as a}from"./chunk-7BUKEFXF.mjs";import{b as i}from"./chunk-HBWMSYBN.mjs";import{a as s}from"./chunk-Y57CQYEG.mjs";import{a as r}from"./chunk-C5XNOZXC.mjs";import{Observer as p}from"tailwindcss-intersect";import{useEffect as g}from"react";import{jsx as t,jsxs as b}from"react/jsx-runtime";function d({...e}){let o=e.page;console.log("page",o.layout);let{contentWithIds:n,tableOfContents:m}=r(o);return console.log("contentWithIds",n),g(()=>{p.start()},[]),b("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:[t(s,{isMenuOpen:!0,logoLight:f,logoDark:c}),t(a,{...e.hero}),t(l,{edit:e.edit,pageId:e.page.id,tableOfContents:m,relatedContent:e.relatedContent,children:t(i,{blocks:n})})]})}export{d as a};
1
+ import{a as l}from"./chunk-WKD2UQGO.mjs";import{a as c}from"./chunk-WU3JMLSC.mjs";import{a as f}from"./chunk-BZAYEKYC.mjs";import{b as a}from"./chunk-6BMA4EN7.mjs";import{b as i}from"./chunk-M2DQADOK.mjs";import{a as s}from"./chunk-Y57CQYEG.mjs";import{a as r}from"./chunk-C5XNOZXC.mjs";import{Observer as p}from"tailwindcss-intersect";import{useEffect as g}from"react";import{jsx as t,jsxs as b}from"react/jsx-runtime";function d({...e}){let o=e.page;console.log("page",o.layout);let{contentWithIds:n,tableOfContents:m}=r(o);return console.log("contentWithIds",n),g(()=>{p.start()},[]),b("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:[t(s,{isMenuOpen:!0,logoLight:f,logoDark:c}),t(a,{...e.hero}),t(l,{edit:e.edit,pageId:e.page.id,tableOfContents:m,relatedContent:e.relatedContent,children:t(i,{blocks:n})})]})}export{d as a};
@@ -1 +1 @@
1
- import{a as v}from"./chunk-JOD2CIH5.mjs";import{a as r}from"./chunk-WISCWNL2.mjs";import{d as f}from"./chunk-YNNW2C2U.mjs";import{a as o}from"./chunk-NIQ4466A.mjs";import u from"next/image";import{FaChevronRight as k,FaEnvelope as y,FaPaperPlane as w,FaPhone as C,FaCalendarDays as L}from"react-icons/fa6";import{jsx as a,jsxs as t}from"react/jsx-runtime";var P=o("text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 block px-4"),p=o("text-gray-900 dark:text-white text-md font-bold leading-[1.25] md:text-lg mb-5 md:mb-[1.875rem]"),g=o("w-10 h-10 rounded-5 inline-grid place-items-center dark:bg-accent-700 border border-accent-800 dark:border-transparent text-accent flex-none"),h=o("flex items-center gap-5"),d=o("transition-colors duration-300 hover:text-accent dark:hover:text-white");function $({className:x,footerData:N,logoLight:T,logoDark:b}){let{about:n,columnOne:c,columnTwo:s,columnThree:l,footerBottom:m}=N;return t("footer",{className:o("sticky z-2 flex flex-col dark bg-black overflow-hidden pt-12",x),children:[a("div",{className:"py-16 md:py-20",children:a("div",{className:"container",children:t("div",{className:"grid gap-10 md:grid-cols-2 xl:grid-cols-4",children:[t("div",{"data-aos":"fade-up","data-aos-delay":"200",children:[a(v,{logo:b}),a("p",{className:"mb-7 mt-3",children:n.description}),n.socialLinks&&n.socialLinks.length>0&&a("nav",{"aria-label":"social links",children:a("ul",{className:"inline-flex min-h-[50px] items-center divide-x rounded-5 bg-accent text-white",children:n.socialLinks.map((e,i)=>a("li",{children:a(r,{"aria-label":e.href,className:P,href:e.href,openNewTab:!0,children:a("span",{children:e.icon})})},i))})})]}),t("div",{"data-aos":"fade-up","data-aos-delay":"400",children:[a("h3",{className:p,children:c.title}),c.links&&c.links.length>0&&a("nav",{"aria-label":"footer links navigation",children:a("ul",{className:"grid gap-2",children:c.links.map(e=>t("li",{className:"flex items-center gap-2.5",children:[a("span",{className:"flex-none text-sm/[1] text-gray-900 dark:text-white",children:a(k,{})}),a(r,{href:e.href,openNewTab:e.openNewTab,className:d,children:e.label})]},e.label))})})]}),t("div",{"data-aos":"fade-up","data-aos-delay":"600",children:[a("h3",{className:p,children:s.title}),t("ul",{"aria-label":"addresses",className:"grid gap-5",children:[t("li",{className:h,children:[a("span",{className:g,children:a(w,{})}),a("address",{className:"not-italic",children:s.location})]}),t("li",{className:h,children:[a("span",{className:g,children:a(y,{})}),s.mails&&s.mails.length>0&&a("div",{className:"grid gap-1",children:s.mails.map((e,i)=>a("a",{href:`mailto:${e}`,className:d,children:e},i))})]}),s.phoneNumbers&&s.phoneNumbers.length>0&&t("li",{className:h,children:[a("span",{className:g,children:a(C,{})}),a("div",{className:"grid gap-1",children:s.phoneNumbers.map((e,i)=>a("a",{href:`tel:${e.split(" ").join("")}`,className:d,children:e},i))})]})]})]}),l&&t("div",{"data-aos":"fade-up","data-aos-delay":"800",children:[a("h3",{className:p,children:l.title}),l.blogs&&l.blogs.length>0&&a("div",{className:"grid gap-6",children:l.blogs.map((e,i)=>t("article",{className:"group flex items-center gap-4 text-accent-800 dark:text-white",children:[a("div",{className:"flex-none overflow-hidden rounded-5",children:a(u,{...e.image,alt:e.image.alt,width:80,height:80,className:"object-cover transition-transform duration-700 group-hover:scale-105"})}),t("div",{children:[t("p",{className:"flex items-center gap-2.5 dark:text-body",children:[a("span",{className:"text-accent",children:a(L,{})}),a("span",{children:f(e.date)})]}),a("h4",{className:"text-md leading-normal",children:a(r,{href:e.slug,className:"transition-colors duration-300 hover:text-accent",children:e.title})})]})]},i))})]})]})})}),a("div",{className:"flex min-h-[90px] items-center border-t border-accent-800 border-opacity-20 py-5 dark:border-body dark:border-opacity-20",children:a("div",{className:"container",children:t("div",{className:"flex flex-wrap items-center text-xs justify-between gap-x-8 gap-y-4 md:gap-x-10",children:[a("p",{children:m.copyrightText}),m.links&&m.links.length>0&&a("nav",{"aria-label":"footer bottom navigation",children:a("ul",{className:"flex flex-wrap items-center gap-x-4 md:gap-x-7",children:m.links.map(e=>a("li",{children:a(r,{"aria-label":`Go to page ${e.label}`,href:e.href,openNewTab:e.openNewTab,className:d,children:e.label})},e.label))})})]})})})]})}export{$ as a};
1
+ import{a as v}from"./chunk-JOD2CIH5.mjs";import{d as f}from"./chunk-YNNW2C2U.mjs";import{a as r}from"./chunk-WISCWNL2.mjs";import{a as o}from"./chunk-NIQ4466A.mjs";import u from"next/image";import{FaChevronRight as k,FaEnvelope as y,FaPaperPlane as w,FaPhone as C,FaCalendarDays as L}from"react-icons/fa6";import{jsx as a,jsxs as t}from"react/jsx-runtime";var P=o("text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 block px-4"),p=o("text-gray-900 dark:text-white text-md font-bold leading-[1.25] md:text-lg mb-5 md:mb-[1.875rem]"),g=o("w-10 h-10 rounded-5 inline-grid place-items-center dark:bg-accent-700 border border-accent-800 dark:border-transparent text-accent flex-none"),h=o("flex items-center gap-5"),d=o("transition-colors duration-300 hover:text-accent dark:hover:text-white");function $({className:x,footerData:N,logoLight:T,logoDark:b}){let{about:n,columnOne:c,columnTwo:s,columnThree:l,footerBottom:m}=N;return t("footer",{className:o("sticky z-2 flex flex-col dark bg-black overflow-hidden pt-12",x),children:[a("div",{className:"py-16 md:py-20",children:a("div",{className:"container",children:t("div",{className:"grid gap-10 md:grid-cols-2 xl:grid-cols-4",children:[t("div",{"data-aos":"fade-up","data-aos-delay":"200",children:[a(v,{logo:b}),a("p",{className:"mb-7 mt-3",children:n.description}),n.socialLinks&&n.socialLinks.length>0&&a("nav",{"aria-label":"social links",children:a("ul",{className:"inline-flex min-h-[50px] items-center divide-x rounded-5 bg-accent text-white",children:n.socialLinks.map((e,i)=>a("li",{children:a(r,{"aria-label":e.href,className:P,href:e.href,openNewTab:!0,children:a("span",{children:e.icon})})},i))})})]}),t("div",{"data-aos":"fade-up","data-aos-delay":"400",children:[a("h3",{className:p,children:c.title}),c.links&&c.links.length>0&&a("nav",{"aria-label":"footer links navigation",children:a("ul",{className:"grid gap-2",children:c.links.map(e=>t("li",{className:"flex items-center gap-2.5",children:[a("span",{className:"flex-none text-sm/[1] text-gray-900 dark:text-white",children:a(k,{})}),a(r,{href:e.href,openNewTab:e.openNewTab,className:d,children:e.label})]},e.label))})})]}),t("div",{"data-aos":"fade-up","data-aos-delay":"600",children:[a("h3",{className:p,children:s.title}),t("ul",{"aria-label":"addresses",className:"grid gap-5",children:[t("li",{className:h,children:[a("span",{className:g,children:a(w,{})}),a("address",{className:"not-italic",children:s.location})]}),t("li",{className:h,children:[a("span",{className:g,children:a(y,{})}),s.mails&&s.mails.length>0&&a("div",{className:"grid gap-1",children:s.mails.map((e,i)=>a("a",{href:`mailto:${e}`,className:d,children:e},i))})]}),s.phoneNumbers&&s.phoneNumbers.length>0&&t("li",{className:h,children:[a("span",{className:g,children:a(C,{})}),a("div",{className:"grid gap-1",children:s.phoneNumbers.map((e,i)=>a("a",{href:`tel:${e.split(" ").join("")}`,className:d,children:e},i))})]})]})]}),l&&t("div",{"data-aos":"fade-up","data-aos-delay":"800",children:[a("h3",{className:p,children:l.title}),l.blogs&&l.blogs.length>0&&a("div",{className:"grid gap-6",children:l.blogs.map((e,i)=>t("article",{className:"group flex items-center gap-4 text-accent-800 dark:text-white",children:[a("div",{className:"flex-none overflow-hidden rounded-5",children:a(u,{...e.image,alt:e.image.alt,width:80,height:80,className:"object-cover transition-transform duration-700 group-hover:scale-105"})}),t("div",{children:[t("p",{className:"flex items-center gap-2.5 dark:text-body",children:[a("span",{className:"text-accent",children:a(L,{})}),a("span",{children:f(e.date)})]}),a("h4",{className:"text-md leading-normal",children:a(r,{href:e.slug,className:"transition-colors duration-300 hover:text-accent",children:e.title})})]})]},i))})]})]})})}),a("div",{className:"flex min-h-[90px] items-center border-t border-accent-800 border-opacity-20 py-5 dark:border-body dark:border-opacity-20",children:a("div",{className:"container",children:t("div",{className:"flex flex-wrap items-center text-xs justify-between gap-x-8 gap-y-4 md:gap-x-10",children:[a("p",{children:m.copyrightText}),m.links&&m.links.length>0&&a("nav",{"aria-label":"footer bottom navigation",children:a("ul",{className:"flex flex-wrap items-center gap-x-4 md:gap-x-7",children:m.links.map(e=>a("li",{children:a(r,{"aria-label":`Go to page ${e.label}`,href:e.href,openNewTab:e.openNewTab,className:d,children:e.label})},e.label))})})]})})})]})}export{$ as a};
@@ -1 +1 @@
1
- import{e as c}from"./chunk-RDWF5HZG.mjs";import{a}from"./chunk-NIQ4466A.mjs";import n from"next/image";import{jsx as e,jsxs as o}from"react/jsx-runtime";function x({image:t,title:l,content:i,link:s,theme:r}){return console.log("ServiceDetailSectionProps",t,l,i,s,r),o("section",{className:"container relative",children:[e("div",{className:a("absolute mt-[50%] w-full h-full",r==="dark"?"bg-white":"bg-black")}),e("div",{className:a("flex flex-col md:flex-row items-center justify-between gap-12 px-6 md:px-16 py-16 bg-background",r,r==="dark"&&"bg-black clip-custom-top-r"),children:o("div",{className:"w-full flex flex-row items-center justify-center",children:[o("div",{className:a("w-full md:w-1/2 max-w-lg text-left",r==="dark"&&"mt-48"),children:[e("h2",{className:"text-3xl md:text-5xl text-primary",children:l}),e("p",{className:"mt-4 text-gray-700 text-lg",children:i&&e(c,{enableGutter:!1,content:i,enableProse:!1,className:a("prose prose-headings:text-gray-700 prose-p:text-gray-700")})}),e("button",{className:"mt-6 px-6 py-3 border border-1 border-accent text-foreground rounded-full text-base hover:bg-accent hover:text-white transition",children:e("a",{href:s.url||"#",children:s.label||"Learn more"})})]}),e("div",{className:"w-full md:w-1/2 flex justify-center",children:t&&t.url&&e(n,{src:t.url,alt:t.alt||`Image of ${l}`,width:400,height:400,className:"max-w-full"})})]})})]})}export{x as a};
1
+ import{e as c}from"./chunk-EDNVTO7V.mjs";import{a}from"./chunk-NIQ4466A.mjs";import n from"next/image";import{jsx as e,jsxs as o}from"react/jsx-runtime";function x({image:t,title:l,content:i,link:s,theme:r}){return console.log("ServiceDetailSectionProps",t,l,i,s,r),o("section",{className:"container relative",children:[e("div",{className:a("absolute mt-[50%] w-full h-full",r==="dark"?"bg-white":"bg-black")}),e("div",{className:a("flex flex-col md:flex-row items-center justify-between gap-12 px-6 md:px-16 py-16 bg-background",r,r==="dark"&&"bg-black clip-custom-top-r"),children:o("div",{className:"w-full flex flex-row items-center justify-center",children:[o("div",{className:a("w-full md:w-1/2 max-w-lg text-left",r==="dark"&&"mt-48"),children:[e("h2",{className:"text-3xl md:text-5xl text-primary",children:l}),e("p",{className:"mt-4 text-gray-700 text-lg",children:i&&e(c,{enableGutter:!1,content:i,enableProse:!1,className:a("prose prose-headings:text-gray-700 prose-p:text-gray-700")})}),e("button",{className:"mt-6 px-6 py-3 border border-1 border-accent text-foreground rounded-full text-base hover:bg-accent hover:text-white transition",children:e("a",{href:s.url||"#",children:s.label||"Learn more"})})]}),e("div",{className:"w-full md:w-1/2 flex justify-center",children:t&&t.url&&e(n,{src:t.url,alt:t.alt||`Image of ${l}`,width:400,height:400,className:"max-w-full"})})]})})]})}export{x as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{c as v,h as w,i as B,j as P,k as T,l as s,m as b,o as u,p as o,q as n,r as p,v as g,w as y,x as M}from"./chunk-5YTDIEDJ.mjs";import{a as C}from"./chunk-BSQVKZCW.mjs";import{a as d,b as c,c as m}from"./chunk-YNCJATT7.mjs";import{a as h}from"./chunk-SFLOMJ2U.mjs";import{PencilLine as z,ChevronDown as x,FilePlus as E,Edit as H,Printer as _}from"lucide-react";import $ from"clsx";import{Fragment as A,jsx as e,jsxs as a}from"react/jsx-runtime";var q=()=>e(h,{iconName:"github",size:"10x"});function Z({relatedContent:i,tableOfContents:N,editorComponent:k,loading:S=!1,editMode:G=!1,onAddDocument:L,onEditDocument:O,onPrintDocument:D,onGithubClick:I,onNavClick:f,LinkComponent:R,...F}){let j=R?t=>e(R,{...t}):f?({item:t,children:r,...l})=>e("button",{onClick:()=>f&&f(t),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...l,children:r}):t=>e("a",{href:t.href,...t});return a(v,{side:"right",variant:"inset",...F,children:[a(w,{className:"border-b border-sidebar-border",children:[a(o,{className:"flex-row space-x-1",children:[e(n,{children:a(p,{onClick:L,children:[e(E,{})," ",e("span",{children:"Add Document"})]})}),I&&e(n,{children:e(p,{onClick:I,tooltip:"Open in GitHub",children:e(q,{})})})]}),a(o,{className:"flex-row space-x-1",children:[e(n,{className:"w-5/12",children:a(p,{onClick:()=>O(),variant:G?"outline":"default",className:$(G&&"text-accent"),children:[e(H,{})," ",e("span",{children:"Edit"})]})}),e(n,{className:"w-5/12",children:a(p,{onClick:D,children:[e(_,{})," ",e("span",{children:"Print"})]})})]})]}),k&&a(A,{children:[e(d,{defaultOpen:!0,className:"group/collapsible",children:a(s,{children:[e(b,{asChild:!0,children:a(c,{children:["Editor Controls",e(x,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),e(u,{children:e(m,{children:k})})]})}),e(P,{className:"mx-0"})]}),a(T,{className:"overflow-auto",children:[S&&a(A,{children:[a(s,{children:[e(b,{children:"Related Content"}),e(u,{children:e(o,{children:Array.from({length:3}).map((t,r)=>e(n,{children:e(C,{className:"bg-gray-200 w-full h-10"})},r))})})]}),a(s,{children:[e(b,{children:"Table of Contents"}),e(u,{children:e(o,{children:Array.from({length:3}).map((t,r)=>e(n,{children:e(C,{className:"bg-gray-200 w-full h-10"})},r))})})]})]}),i&&!S&&Object.keys(i).length>0&&e(d,{defaultOpen:!0,className:"group/collapsible",children:a(s,{children:[e(b,{asChild:!0,children:a(c,{children:["Related Content",e(x,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),e(u,{children:e(m,{children:e(o,{children:i&&Object.keys(i).map(t=>a(n,{children:[a("span",{className:"p-2 text-xs text-sidebar-foreground",children:[" ",t.charAt(0).toUpperCase()+t.slice(1)]}),t&&i[t]&&e(g,{children:i[t].map(r=>e(y,{children:e(M,{asChild:!0,isActive:!1,size:"sm",children:a(j,{href:r.url,item:r,className:"flex justify-between items-center w-full text-xs",children:[e("span",{children:r.label}),r.type==="note"&&e(z,{className:"ml-2 text-gray-400 !important",size:16}),r.type==="draft"&&e(h,{iconName:"code-pull-request-draft",className:"ml-2 text-gray-400 !important"})]})})},r.label))})]},t))})})})]})}),N&&!S&&e(d,{defaultOpen:!0,className:"group/collapsible",children:a(s,{children:[e(b,{asChild:!0,children:a(c,{children:["Table of Contents",e(x,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),e(u,{children:e(m,{children:e(o,{children:N.map(t=>{var r;return a(n,{children:[e(p,{asChild:!0,children:e("a",{href:`#${t.url}`,className:"text-xs",children:t.title})}),(r=t.items)!=null&&r.length?e(g,{children:t.items.map(l=>e(y,{children:e(M,{asChild:!0,isActive:l.isActive,size:"sm",children:e("a",{href:`#${l.url}`,className:"flex justify-between items-center w-full text-xs",children:e("span",{children:l.title})})})},l.title))}):null]},t.title)})})})})]})})]}),e(B,{})]})}export{Z as a};
4
+ import{c as v,h as w,i as B,j as P,k as T,l as s,m as b,o as u,p as o,q as n,r as p,v as g,w as y,x as M}from"./chunk-2IKC7MAP.mjs";import{a as C}from"./chunk-BSQVKZCW.mjs";import{a as d,b as c,c as m}from"./chunk-YNCJATT7.mjs";import{a as h}from"./chunk-SFLOMJ2U.mjs";import{PencilLine as z,ChevronDown as x,FilePlus as E,Edit as H,Printer as _}from"lucide-react";import $ from"clsx";import{Fragment as A,jsx as e,jsxs as a}from"react/jsx-runtime";var q=()=>e(h,{iconName:"github",size:"10x"});function Z({relatedContent:i,tableOfContents:N,editorComponent:k,loading:S=!1,editMode:G=!1,onAddDocument:L,onEditDocument:O,onPrintDocument:D,onGithubClick:I,onNavClick:f,LinkComponent:R,...F}){let j=R?t=>e(R,{...t}):f?({item:t,children:r,...l})=>e("button",{onClick:()=>f&&f(t),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...l,children:r}):t=>e("a",{href:t.href,...t});return a(v,{side:"right",variant:"inset",...F,children:[a(w,{className:"border-b border-sidebar-border",children:[a(o,{className:"flex-row space-x-1",children:[e(n,{children:a(p,{onClick:L,children:[e(E,{})," ",e("span",{children:"Add Document"})]})}),I&&e(n,{children:e(p,{onClick:I,tooltip:"Open in GitHub",children:e(q,{})})})]}),a(o,{className:"flex-row space-x-1",children:[e(n,{className:"w-5/12",children:a(p,{onClick:()=>O(),variant:G?"outline":"default",className:$(G&&"text-accent"),children:[e(H,{})," ",e("span",{children:"Edit"})]})}),e(n,{className:"w-5/12",children:a(p,{onClick:D,children:[e(_,{})," ",e("span",{children:"Print"})]})})]})]}),k&&a(A,{children:[e(d,{defaultOpen:!0,className:"group/collapsible",children:a(s,{children:[e(b,{asChild:!0,children:a(c,{children:["Editor Controls",e(x,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),e(u,{children:e(m,{children:k})})]})}),e(P,{className:"mx-0"})]}),a(T,{className:"overflow-auto",children:[S&&a(A,{children:[a(s,{children:[e(b,{children:"Related Content"}),e(u,{children:e(o,{children:Array.from({length:3}).map((t,r)=>e(n,{children:e(C,{className:"bg-gray-200 w-full h-10"})},r))})})]}),a(s,{children:[e(b,{children:"Table of Contents"}),e(u,{children:e(o,{children:Array.from({length:3}).map((t,r)=>e(n,{children:e(C,{className:"bg-gray-200 w-full h-10"})},r))})})]})]}),i&&!S&&Object.keys(i).length>0&&e(d,{defaultOpen:!0,className:"group/collapsible",children:a(s,{children:[e(b,{asChild:!0,children:a(c,{children:["Related Content",e(x,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),e(u,{children:e(m,{children:e(o,{children:i&&Object.keys(i).map(t=>a(n,{children:[a("span",{className:"p-2 text-xs text-sidebar-foreground",children:[" ",t.charAt(0).toUpperCase()+t.slice(1)]}),t&&i[t]&&e(g,{children:i[t].map(r=>e(y,{children:e(M,{asChild:!0,isActive:!1,size:"sm",children:a(j,{href:r.url,item:r,className:"flex justify-between items-center w-full text-xs",children:[e("span",{children:r.label}),r.type==="note"&&e(z,{className:"ml-2 text-gray-400 !important",size:16}),r.type==="draft"&&e(h,{iconName:"code-pull-request-draft",className:"ml-2 text-gray-400 !important"})]})})},r.label))})]},t))})})})]})}),N&&!S&&e(d,{defaultOpen:!0,className:"group/collapsible",children:a(s,{children:[e(b,{asChild:!0,children:a(c,{children:["Table of Contents",e(x,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),e(u,{children:e(m,{children:e(o,{children:N.map(t=>{var r;return a(n,{children:[e(p,{asChild:!0,children:e("a",{href:`#${t.url}`,className:"text-xs",children:t.title})}),(r=t.items)!=null&&r.length?e(g,{children:t.items.map(l=>e(y,{children:e(M,{asChild:!0,isActive:l.isActive,size:"sm",children:e("a",{href:`#${l.url}`,className:"flex justify-between items-center w-full text-xs",children:e("span",{children:l.title})})})},l.title))}):null]},t.title)})})})})]})})]}),e(B,{})]})}export{Z as a};
@@ -1 +1 @@
1
- import{a as n}from"./chunk-SV7NMNDI.mjs";import{a as r}from"./chunk-HGUTZ3XW.mjs";import{a as o}from"./chunk-M6M43TLT.mjs";import{a as e}from"./chunk-UESKYRNK.mjs";import{jsx as i,jsxs as c}from"react/jsx-runtime";function S({sectionHeading:p,cards:a}){return i("section",{className:"section-padding-primary !pt-0",children:c(e,{children:[i("div",{className:"mx-auto max-w-[630px]","data-aos":"fade-up","data-aos-delay":"100",children:i(r,{...p,alignment:"center",hasBottomSpacing:!0})}),a&&a.length>0&&i("div",{className:"grid gap-30px",children:a.map((d,t)=>i("div",{"data-aos":"fade-up","data-aos-delay":n([200,400,600],t),className:"py-2",children:i(o,{...d})},t))})]})})}export{S as a};
1
+ import{a as n}from"./chunk-SV7NMNDI.mjs";import{a as r}from"./chunk-UNB5JW5S.mjs";import{a as o}from"./chunk-M6M43TLT.mjs";import{a as e}from"./chunk-UESKYRNK.mjs";import{jsx as i,jsxs as c}from"react/jsx-runtime";function S({sectionHeading:p,cards:a}){return i("section",{className:"section-padding-primary !pt-0",children:c(e,{children:[i("div",{className:"mx-auto max-w-[630px]","data-aos":"fade-up","data-aos-delay":"100",children:i(r,{...p,alignment:"center",hasBottomSpacing:!0})}),a&&a.length>0&&i("div",{className:"grid gap-30px",children:a.map((d,t)=>i("div",{"data-aos":"fade-up","data-aos-delay":n([200,400,600],t),className:"py-2",children:i(o,{...d})},t))})]})})}export{S as a};
@@ -1 +1 @@
1
- import{a as m}from"./chunk-IQPZEEYJ.mjs";import{a}from"./chunk-H7D3PZKE.mjs";import{a as o}from"./chunk-VZXLXNVY.mjs";import{a as s}from"./chunk-Y2KKUQDU.mjs";import{a as d}from"./chunk-54Y2MUCQ.mjs";import{Fragment as p,jsx as e,jsxs as l}from"react/jsx-runtime";function x({...t}){return e(p,{children:l("div",{className:"flex min-h-full flex-col",children:[e("div",{className:"relative isolate"}),e(d,{...t.header}),e(m,{...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"})]})]}),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{x as a};
1
+ import{a}from"./chunk-H7D3PZKE.mjs";import{a as m}from"./chunk-IQPZEEYJ.mjs";import{a as o}from"./chunk-VZXLXNVY.mjs";import{a as s}from"./chunk-Y2KKUQDU.mjs";import{a as d}from"./chunk-54Y2MUCQ.mjs";import{Fragment as p,jsx as e,jsxs as l}from"react/jsx-runtime";function x({...t}){return e(p,{children:l("div",{className:"flex min-h-full flex-col",children:[e("div",{className:"relative isolate"}),e(d,{...t.header}),e(m,{...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"})]})]}),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{x as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as l}from"./chunk-4DJ6HKHR.mjs";import{a as m}from"./chunk-GK6Z3E4K.mjs";import{a}from"./chunk-4ITIJK55.mjs";import{a as n}from"./chunk-HGUSGNFK.mjs";import{a as d}from"./chunk-VKA6UDCS.mjs";import{a as u}from"./chunk-WU3JMLSC.mjs";import{a as S}from"./chunk-BZAYEKYC.mjs";import{a as t}from"./chunk-GQ2G2FNR.mjs";import{a as i}from"./chunk-ZON7P23Z.mjs";import{Fragment as s,jsx as e,jsxs as f}from"react/jsx-runtime";function c({...r}){return f("div",{className:"relative overflow-y-none scroll-smooth snap-y snap-mandatory",children:[e("div",{className:"h-screen relative overflow-hidden snap-start",children:e(t,{...r.header,logoVideo:l,logoLight:S,logoDark:u})}),e(a,{...r.service}),e(p,{...r.service}),e(n,{...r.contact}),e(d,{...r.blog}),e(i,{...r.footer})]})}function p({services:r}){return e(s,{children:r.map((b,o)=>e(m,{...b,theme:o%2===0?"dark":"light"},o))})}export{c as a};
4
+ import{a as l}from"./chunk-4DJ6HKHR.mjs";import{a as m}from"./chunk-IBKC2QY6.mjs";import{a}from"./chunk-V56EA7R6.mjs";import{a as d}from"./chunk-ZZLWY7HX.mjs";import{a as n}from"./chunk-ZJRG7RA3.mjs";import{a as u}from"./chunk-WU3JMLSC.mjs";import{a as S}from"./chunk-BZAYEKYC.mjs";import{a as t}from"./chunk-GQ2G2FNR.mjs";import{a as i}from"./chunk-HSFVPF3U.mjs";import{Fragment as s,jsx as e,jsxs as f}from"react/jsx-runtime";function c({...r}){return f("div",{className:"relative overflow-y-none scroll-smooth snap-y snap-mandatory",children:[e("div",{className:"h-screen relative overflow-hidden snap-start",children:e(t,{...r.header,logoVideo:l,logoLight:S,logoDark:u})}),e(a,{...r.service}),e(p,{...r.service}),e(n,{...r.contact}),e(d,{...r.blog}),e(i,{...r.footer})]})}function p({services:r}){return e(s,{children:r.map((b,o)=>e(m,{...b,theme:o%2===0?"dark":"light"},o))})}export{c as a};
@@ -1 +1 @@
1
- import{a as y}from"./chunk-LGTE6VHF.mjs";import{b as k,c as d}from"./chunk-RDWF5HZG.mjs";import{a as m}from"./chunk-2A6JF3LE.mjs";import{a as i}from"./chunk-NIQ4466A.mjs";import{Fragment as R}from"react";import F from"next/image";import{jsx as a,jsxs as B}from"react/jsx-runtime";var b={content:y,cta:k,mediaBlock:m,imageBlock:m,features:d,reusableContentBlock:C},N=r=>{let{blocks:e}=r;return e&&Array.isArray(e)&&e.length>0?a("section",{id:"render-blocks",className:i(r.fill?"h-full w-full":""),children:e.map((t,s)=>{var c,u;console.log("block",t);let{blockType:n}=t,o=t==null?void 0:t.theme;if(n&&n in b){let f=b[n];if(n==="reusableContentBlock")return a(R,{children:a(N,{blocks:t.reusableContent.layout})},s);if(f)return B("div",{className:i("py-6 relative",r.fill&&"flex h-full items-center justify-center"),children:[a(p,{block:t,index:s}),a("div",{className:i("container h-full",((c=o==null?void 0:o.settings)==null?void 0:c.theme)==="dark"?"dark":((u=o==null?void 0:o.settings)==null?void 0:u.theme)==="green"?"green":""),children:a(f,{...t})})]},s)}return null})}):null},p=r=>{var l,t,s,n,o;if(!("theme"in r.block))return null;let e=(l=r.block)==null?void 0:l.theme;if(e.settings.background==="image"){let c={imagePosition:e.settings.imagePosition||"left",overlay:e.settings.overlay!==void 0?e.settings.overlay:!0};return B("div",{className:i("absolute inset-0 w-full h-full -z-10",e.settings.theme==="dark"?"dark bg-background":e.settings.theme==="green"?"green bg-background":""),children:[a(F,{src:((s=(t=e.settings)==null?void 0:t.image)==null?void 0:s.url)||"/placeholder.svg",alt:((o=(n=e.settings)==null?void 0:n.image)==null?void 0:o.alt)||"",fill:!0,className:"object-cover",priority:!0}),e.settings.overlay&&a("div",{className:"absolute inset-0",style:{background:c.imagePosition==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]})}return a("div",{className:i("absolute inset-0 -z-10 w-screen h-full",e.settings.theme==="dark"?"dark bg-background":e.settings.theme==="green"?"green bg-background":"")})};import{Fragment as v,jsx as g,jsxs as T}from"react/jsx-runtime";var C=r=>{let{customId:e,reusableContent:l}=r;return typeof l=="object"&&l!==null?g(P,{blocks:l.layout}):g(v,{})},h={content:y,cta:k,mediaBlock:m,imageBlock:m,features:d},P=r=>{let{blocks:e}=r;return e&&Array.isArray(e)&&e.length>0?g(v,{children:e.map((t,s)=>{var c,u;let{blockType:n}=t,o=t==null?void 0:t.theme;if(n&&n in h){let f=h[n];if(f)return T("div",{className:"py-6 relative",children:[g(p,{block:t,index:s}),g("div",{className:i(((c=o==null?void 0:o.settings)==null?void 0:c.theme)==="dark"?"dark":((u=o==null?void 0:o.settings)==null?void 0:u.theme)==="green"?"green":""),children:g(f,{...t})})]},s)}return null})}):null};export{C as a,N as b,p as c};
1
+ import{a as y}from"./chunk-FBX62APP.mjs";import{b as k,c as d}from"./chunk-EDNVTO7V.mjs";import{a as m}from"./chunk-2A6JF3LE.mjs";import{a as i}from"./chunk-NIQ4466A.mjs";import{Fragment as R}from"react";import F from"next/image";import{jsx as a,jsxs as B}from"react/jsx-runtime";var b={content:y,cta:k,mediaBlock:m,imageBlock:m,features:d,reusableContentBlock:C},N=r=>{let{blocks:e}=r;return e&&Array.isArray(e)&&e.length>0?a("section",{id:"render-blocks",className:i(r.fill?"h-full w-full":""),children:e.map((t,s)=>{var c,u;console.log("block",t);let{blockType:n}=t,o=t==null?void 0:t.theme;if(n&&n in b){let f=b[n];if(n==="reusableContentBlock")return a(R,{children:a(N,{blocks:t.reusableContent.layout})},s);if(f)return B("div",{className:i("py-6 relative",r.fill&&"flex h-full items-center justify-center"),children:[a(p,{block:t,index:s}),a("div",{className:i("container h-full",((c=o==null?void 0:o.settings)==null?void 0:c.theme)==="dark"?"dark":((u=o==null?void 0:o.settings)==null?void 0:u.theme)==="green"?"green":""),children:a(f,{...t})})]},s)}return null})}):null},p=r=>{var l,t,s,n,o;if(!("theme"in r.block))return null;let e=(l=r.block)==null?void 0:l.theme;if(e.settings.background==="image"){let c={imagePosition:e.settings.imagePosition||"left",overlay:e.settings.overlay!==void 0?e.settings.overlay:!0};return B("div",{className:i("absolute inset-0 w-full h-full -z-10",e.settings.theme==="dark"?"dark bg-background":e.settings.theme==="green"?"green bg-background":""),children:[a(F,{src:((s=(t=e.settings)==null?void 0:t.image)==null?void 0:s.url)||"/placeholder.svg",alt:((o=(n=e.settings)==null?void 0:n.image)==null?void 0:o.alt)||"",fill:!0,className:"object-cover",priority:!0}),e.settings.overlay&&a("div",{className:"absolute inset-0",style:{background:c.imagePosition==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]})}return a("div",{className:i("absolute inset-0 -z-10 w-screen h-full",e.settings.theme==="dark"?"dark bg-background":e.settings.theme==="green"?"green bg-background":"")})};import{Fragment as v,jsx as g,jsxs as T}from"react/jsx-runtime";var C=r=>{let{customId:e,reusableContent:l}=r;return typeof l=="object"&&l!==null?g(P,{blocks:l.layout}):g(v,{})},h={content:y,cta:k,mediaBlock:m,imageBlock:m,features:d},P=r=>{let{blocks:e}=r;return e&&Array.isArray(e)&&e.length>0?g(v,{children:e.map((t,s)=>{var c,u;let{blockType:n}=t,o=t==null?void 0:t.theme;if(n&&n in h){let f=h[n];if(f)return T("div",{className:"py-6 relative",children:[g(p,{block:t,index:s}),g("div",{className:i(((c=o==null?void 0:o.settings)==null?void 0:c.theme)==="dark"?"dark":((u=o==null?void 0:o.settings)==null?void 0:u.theme)==="green"?"green":""),children:g(f,{...t})})]},s)}return null})}):null};export{C as a,N as b,p as c};
@@ -1 +1 @@
1
- import{a as x}from"./chunk-KML6U7IE.mjs";import{a as N}from"./chunk-TXXFXCXB.mjs";import{e as h}from"./chunk-RDWF5HZG.mjs";import{b as v}from"./chunk-BDX257W2.mjs";import{a as c,b as C,c as b,e as p}from"./chunk-D76EO57Z.mjs";import{a as k}from"./chunk-UESKYRNK.mjs";import{a as P}from"./chunk-WISCWNL2.mjs";import L from"next/image";import{notFound as M}from"next/navigation";import I from"next/link";import{jsx as t,jsxs as o}from"react/jsx-runtime";function T({image:a,name:r,about:m,socialLinks:n}){return!a||!a.src||a.src.length<3||!r?null:t("div",{className:"mt-1 z-10 px-0 pt-0 lg:px-10",children:t(c,{children:o(p,{children:[a&&a.src&&t(L,{src:a.src,alt:a.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:x,className:"mx-auto mt-6 rounded-full object-cover"}),t("h3",{className:"font-secondary text-center py-2 text-lg leading-[1.25] text-accent md:text-xl",children:r}),t("p",{children:m}),n&&n.length>0&&t("nav",{"aria-label":"social links",children:t("ul",{className:"inline-flex items-center divide-x divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:n.map((e,s)=>t("li",{children:t(P,{href:e.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 hover:text-accents",children:t("span",{children:e.icon})})},s))})})]})})})}function j({page:a,categoryList:r,edit:m=!1,path:n="/admin/collections/posts/"}){var g;if(!a)return M();let{meta:e,populatedAuthors:s,authors:d,categories:y,content:U,title:w}=a,z={image:{src:e&&e.image&&e.image.url||void 0,alt:e&&e.image&&e.image.alt||void 0},authorName:((g=s==null?void 0:s[0])==null?void 0:g.name)||"",category:y,commentCount:0,title:w,description:(e==null?void 0:e.description)||""},u=d==null?void 0:d.map(i=>{var l,f;return{name:i.name||"",about:"",image:{src:i.profilePicture&&((f=(l=i.profilePicture.sizes)==null?void 0:l.square)==null?void 0:f.url)||"",alt:i.name||"blog author"},socialLinks:[]}});return t(k,{children:o("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[t("div",{children:o("div",{className:"[&_p+P]:mt-4",children:[t("div",{className:"my-4 h-px bg-body/30 lg:my-5"}),t(h,{content:U,enableGutter:!1})]})}),o("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:[m&&t("div",{className:"mt-4 lg:-mt-10 z-10 px-0 pt-0 lg:px-10",children:o(c,{children:[t(C,{children:t(b,{className:"text-accent",children:"Content Actions"})}),o(p,{children:[t("p",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),t(I,{href:`${n}${a.id}`,children:t(v,{variant:"outline",className:"w-full text-accent hover:text-foreground",children:"Edit"})})]})]})}),u&&u.map((i,l)=>t(T,{...i},l)),r&&r.links&&t("div",{className:"mt-4 px-0 pt-0 lg:px-10",children:t(N,{links:r.links,title:r.title})})]})]})})}export{j as a};
1
+ import{a as x}from"./chunk-KML6U7IE.mjs";import{a as N}from"./chunk-TXXFXCXB.mjs";import{e as h}from"./chunk-EDNVTO7V.mjs";import{b as v}from"./chunk-BDX257W2.mjs";import{a as c,b as C,c as b,e as p}from"./chunk-D76EO57Z.mjs";import{a as P}from"./chunk-WISCWNL2.mjs";import{a as k}from"./chunk-UESKYRNK.mjs";import L from"next/image";import{notFound as M}from"next/navigation";import I from"next/link";import{jsx as t,jsxs as o}from"react/jsx-runtime";function T({image:a,name:r,about:m,socialLinks:n}){return!a||!a.src||a.src.length<3||!r?null:t("div",{className:"mt-1 z-10 px-0 pt-0 lg:px-10",children:t(c,{children:o(p,{children:[a&&a.src&&t(L,{src:a.src,alt:a.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:x,className:"mx-auto mt-6 rounded-full object-cover"}),t("h3",{className:"font-secondary text-center py-2 text-lg leading-[1.25] text-accent md:text-xl",children:r}),t("p",{children:m}),n&&n.length>0&&t("nav",{"aria-label":"social links",children:t("ul",{className:"inline-flex items-center divide-x divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:n.map((e,s)=>t("li",{children:t(P,{href:e.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 hover:text-accents",children:t("span",{children:e.icon})})},s))})})]})})})}function j({page:a,categoryList:r,edit:m=!1,path:n="/admin/collections/posts/"}){var g;if(!a)return M();let{meta:e,populatedAuthors:s,authors:d,categories:y,content:U,title:w}=a,z={image:{src:e&&e.image&&e.image.url||void 0,alt:e&&e.image&&e.image.alt||void 0},authorName:((g=s==null?void 0:s[0])==null?void 0:g.name)||"",category:y,commentCount:0,title:w,description:(e==null?void 0:e.description)||""},u=d==null?void 0:d.map(i=>{var l,f;return{name:i.name||"",about:"",image:{src:i.profilePicture&&((f=(l=i.profilePicture.sizes)==null?void 0:l.square)==null?void 0:f.url)||"",alt:i.name||"blog author"},socialLinks:[]}});return t(k,{children:o("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[t("div",{children:o("div",{className:"[&_p+P]:mt-4",children:[t("div",{className:"my-4 h-px bg-body/30 lg:my-5"}),t(h,{content:U,enableGutter:!1})]})}),o("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:[m&&t("div",{className:"mt-4 lg:-mt-10 z-10 px-0 pt-0 lg:px-10",children:o(c,{children:[t(C,{children:t(b,{className:"text-accent",children:"Content Actions"})}),o(p,{children:[t("p",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),t(I,{href:`${n}${a.id}`,children:t(v,{variant:"outline",className:"w-full text-accent hover:text-foreground",children:"Edit"})})]})]})}),u&&u.map((i,l)=>t(T,{...i},l)),r&&r.links&&t("div",{className:"mt-4 px-0 pt-0 lg:px-10",children:t(N,{links:r.links,title:r.title})})]})]})})}export{j as a};
@@ -1,2 +1,2 @@
1
- import{e as r}from"./chunk-RDWF5HZG.mjs";import c from"next/image";import{jsx as e,jsxs as i}from"react/jsx-runtime";var h=({logoImage:a})=>i("footer",{className:`absolute bottom-0 left-0 w-full py-2 px-8 flex justify-between items-center transition-colors duration-300
1
+ import{e as r}from"./chunk-EDNVTO7V.mjs";import c from"next/image";import{jsx as e,jsxs as i}from"react/jsx-runtime";var h=({logoImage:a})=>i("footer",{className:`absolute bottom-0 left-0 w-full py-2 px-8 flex justify-between items-center transition-colors duration-300
2
2
  dark bg-background text-primary`,children:[i("div",{className:"flex px-6 items-center space-x-2",children:[a&&e("img",{src:a.src,alt:"Cortex Reply Logo",className:"h-8"}),e("span",{className:"pl-12 text-sm",children:"Power up your people"})]}),e("a",{href:"https://cortexreply.com",className:"text-sm hover:underline",children:"cortexreply.com"})]}),x=({title:a})=>e("header",{className:"absolute top-0 left-0 w-full py-4 px-8 flex justify-between items-center transition-colors duration-300 dark bg-background text-foreground",children:e("div",{className:"container",children:e("span",{className:"container text-4xl px-6",children:a})})}),g=a=>{var l,o;let{title:d,hero:t,logoImage:s}=a;return console.log("TitleSlide",t),i("div",{className:"relative w-full h-full flex flex-col justify-center min-h-[500px] p-10",children:[e("div",{className:"absolute inset-0",children:e(c,{src:t.media&&t.media.url?t.media.url:"/hero.png",alt:"Background",width:t.media&&t.media.width&&(l=t.media.width)!=null?l:1920,height:t.media&&t.media.height&&(o=t.media.height)!=null?o:1080,style:{objectFit:"cover"},className:"opacity-80 h-full dark:opacity-60"})}),e("div",{className:"absolute left-16 z-50 top-4 flex flex-col items-start gap-4",children:s&&e("div",{className:"h-24",children:e(c,{src:s.src,alt:"Company logo",className:"h-full w-full object-contain",width:192,height:96})})}),e("div",{className:"absolute inset-0 bg-black/30 dark:bg-black/50"}),i("div",{className:"relative pl-24 z-10 max-w-3xl",children:[e("p",{className:"text-lg font-medium pt-48 text-accent mb-2",children:d}),t.richText&&e(r,{content:t.richText,enableGutter:!1,className:"prose-headings:text-white prose-p:text-white"})]})]})};export{h as a,x as b,g as c};
@@ -1 +1 @@
1
- import{a}from"./chunk-VV7TUGRV.mjs";import{a as r}from"./chunk-WZLEEZ5C.mjs";import{a as o}from"./chunk-KJ2C7CBU.mjs";import{a as e}from"./chunk-TXXFXCXB.mjs";import{a as n}from"./chunk-UESKYRNK.mjs";import{jsx as i,jsxs as g}from"react/jsx-runtime";function b({blogs:l,pages:m,categories:t,types:s,base:p}){return i("section",{children:i(n,{children:g("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[g("div",{children:[s&&i(o,{types:s}),i(a,{blogs:l,base:p}),i(r,{pages:m})]}),i("div",{className:"grid gap-30px w-full self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:i("div",{className:"lg:-mt-24 w-full",children:t&&t.links&&i(e,{links:t.links,title:t.title})})})]})})})}export{b as a};
1
+ import{a}from"./chunk-VV7TUGRV.mjs";import{a as o}from"./chunk-KJ2C7CBU.mjs";import{a as r}from"./chunk-WZLEEZ5C.mjs";import{a as e}from"./chunk-TXXFXCXB.mjs";import{a as n}from"./chunk-UESKYRNK.mjs";import{jsx as i,jsxs as g}from"react/jsx-runtime";function b({blogs:l,pages:m,categories:t,types:s,base:p}){return i("section",{children:i(n,{children:g("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[g("div",{children:[s&&i(o,{types:s}),i(a,{blogs:l,base:p}),i(r,{pages:m})]}),i("div",{className:"grid gap-30px w-full self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:i("div",{className:"lg:-mt-24 w-full",children:t&&t.links&&i(e,{links:t.links,title:t.title})})})]})})})}export{b as a};
@@ -1 +1 @@
1
- import{a}from"./chunk-MGS3DQ22.mjs";import{e as r}from"./chunk-RDWF5HZG.mjs";import m from"clsx";import{jsx as o,jsxs as l}from"react/jsx-runtime";var g=i=>{let{className:n,docs:t,introContent:e}=i;return l("div",{className:m("container",n),children:[e&&o(r,{content:e,enableGutter:!1}),o("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 md:gap-8 items-stretch",children:t==null?void 0:t.map((s,p)=>typeof s=="string"?null:o(a,{doc:s,relationTo:"posts",showCategories:!0},p))})]})};export{g as a};
1
+ import{a}from"./chunk-MGS3DQ22.mjs";import{e as r}from"./chunk-EDNVTO7V.mjs";import m from"clsx";import{jsx as o,jsxs as l}from"react/jsx-runtime";var g=i=>{let{className:n,docs:t,introContent:e}=i;return l("div",{className:m("container",n),children:[e&&o(r,{content:e,enableGutter:!1}),o("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 md:gap-8 items-stretch",children:t==null?void 0:t.map((s,p)=>typeof s=="string"?null:o(a,{doc:s,relationTo:"posts",showCategories:!0},p))})]})};export{g as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as x}from"./chunk-4ITIJK55.mjs";import{a as N,b as y}from"./chunk-HGUSGNFK.mjs";import{a as b}from"./chunk-VKA6UDCS.mjs";import{a as S}from"./chunk-WU3JMLSC.mjs";import{a as k}from"./chunk-BZAYEKYC.mjs";import{a as f}from"./chunk-7BUKEFXF.mjs";import{a as v}from"./chunk-VYQYFS6R.mjs";import{a as p}from"./chunk-OKGBIF2I.mjs";import{a as u}from"./chunk-P7RZLKAN.mjs";import{e as m}from"./chunk-RDWF5HZG.mjs";import{a as n}from"./chunk-FCCL6W7R.mjs";import{a as h}from"./chunk-ZON7P23Z.mjs";import{a as g}from"./chunk-Y57CQYEG.mjs";import{a as s}from"./chunk-FC4BLPWZ.mjs";import{a as d}from"./chunk-UESKYRNK.mjs";import{a as l}from"./chunk-NIQ4466A.mjs";import C from"next/image";import{jsx as e,jsxs as o}from"react/jsx-runtime";var j=t=>({root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:t,type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}}),z=({children:t})=>e("div",{children:o("div",{className:"sticky top-0 h-screen",children:[t,e(s,{className:"text-black z-10",position:"header"})]})}),H=()=>o(z,{children:[o("video",{className:"fixed inset-0 object-cover w-full h-full z-0",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,children:[e("source",{src:"assets/videos/background2.mp4",type:"video/mp4"}),"Your browser does not support the video tag."]}),e("div",{className:"fixed inset-0 h-full z-10 flex flex-col items-start justify-center text-white px-4",children:e(d,{children:o("div",{className:"flex flex-col items-start md:w-1/2 mb-10 z-0 md:mb-0",children:[e("h1",{className:"text-5xl md:text-6xl mb-6",children:"Lorum ipsum."}),e("div",{className:"text-lg md:text-xl text-gray-300 mb-8 max-w-lg",children:"Lorum ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec dui ac odio."})]})})})]}),R={highImpact:p,lowImpact:v,mediumImpact:u,sectionHero:f,dummy:H};function L({...t}){let i=t.style;return o("div",{className:"relative overflow-y-none scroll-smooth snap-y snap-mandatory",children:[e(g,{isMenuOpen:!0,logoLight:k,logoDark:S,...t.header}),e(P,{...t.hero}),e(a,{theme:"light",style:i,children:e(x,{...t.service})}),e(a,{theme:"dark",style:i,image:t.service.services[0].image,children:e(w,{})}),e(a,{theme:"light",style:i,children:e(w,{})}),e(a,{theme:"dark",style:i,children:e(N,{...t.contact})}),e(a,{theme:"light",style:i,children:e(y,{...t.contact})}),e(a,{theme:"last",style:i,children:e(b,{...t.blog})}),e(h,{...t.footer})]})}var P=t=>{let{type:i}=t||{};if(!i||i==="none")return null;let c=R[i];return c?e(c,{...t}):null},w=()=>{let t={blurDataURL:"/assets/props/Cortex-Handshake-BG.jpg",height:1315,url:"/assets/props/Cortex-Handshake-BG.jpg",width:1920};return e("div",{className:"container",children:o("div",{className:"w-full grid grid-cols-1 md:grid-cols-2 gap-1 items-center justify-center",children:[o("div",{className:l("w-full text-left"),children:[e("h2",{className:"text-3xl md:text-5xl text-primary",children:"Lorum ipsum..."}),e("p",{className:"mt-4 text-gray-700 text-lg",children:e(m,{enableGutter:!1,content:j("Lorum ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec dui ac odio. Nulla facilisi. Nullam nec nisi nec odio ultricies ultricies. Nullam nec nisi nec odio ultricies ultricies. Nullam nec nisi nec odio ultricies ultricies. Lorum ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec dui ac odio. Nulla facilisi. Nullam nec nisi nec odio ultricies ultricies. Nullam nec nisi nec odio ultricies ultricies. Nullam nec nisi nec odio ultricies ultricies."),enableProse:!1,className:l("prose prose-headings:text-foreground prose-p:text-foreground")})}),e("button",{className:"mt-6 px-6 py-3 border border-1 border-accent text-foreground rounded-full text-base hover:bg-accent hover:text-accent-foreground transition",children:"Click here"})]}),e("div",{className:"w-full h-full min-h-96 p-6 md:p-6 flex justify-center",children:e(C,{src:t.url,alt:"image",width:t.width,height:t.height,className:"max-w-full"})})]})})},a=({children:t,theme:i,style:c,neighbours:I,shape:T,image:M})=>{let D=r=>o("div",{className:"select-none",children:[r&&typeof r=="object"&&e(n,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:r}),r&&typeof r=="string"&&e("div",{children:e(C,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:r})})]});if(i==="dark"&&c==="slide")return e("section",{id:"next-section",className:"sticky md:top-0 h-screen",children:o("div",{className:"dark pt-0 min-h-[80vh]",children:[e(s,{className:"z-10",position:"dark-top"}),o("div",{className:"relative",children:[e("div",{className:"flex items-center bg-black justify-center pt-12",children:e("div",{className:"container",children:t})}),e(s,{className:"text-black z-10",position:"dark-bottom"})]})]})});if(i==="light"&&c==="slide")return e("section",{id:"next-section",className:"sticky top-0 light pt-0 h-screen",children:o("div",{className:"sticky top-0 light pt-0 h-screen",children:[e(s,{className:"z-10",position:"light-top"}),o("div",{className:"relative bg-white",children:[e("div",{className:"flex items-center bg-white justify-center pt-12",children:e("div",{className:"container",children:t})}),e("div",{className:"h-[200px] bg-white"})]})]})});if(i==="first")return e("section",{id:"next-section",className:"",children:e("div",{className:"sticky top-0 light bg-background pt-6 min-h-[80vh]",children:o("div",{className:"relative",children:[e("div",{className:"flex items-center justify-center pt-12",children:e("div",{className:"container",children:t})}),e(s,{className:"text-black z-10",position:"bottom-right"})]})})});if(i==="light")return e("section",{id:"next-section",className:"",children:e("div",{className:"sticky top-0 light bg-background min-h-[50vh]",children:e("div",{className:"flex items-center justify-center",children:e("div",{className:"container",children:t})})})});if(i==="dark")return e("section",{id:"next-section",className:"",children:o("div",{className:"sticky top-0 dark min-h-[80vh] bg-white",children:[e(s,{className:"text-black z-10",position:"bottom-right"}),e("div",{className:"flex items-center justify-center pt-12 bg-black",children:e("div",{className:"container",children:t})}),e(s,{className:"text-accent z-10",position:"top"})]})});if(i==="last")return e("section",{id:"next-section",className:"",children:o("div",{className:"sticky top-0 dark min-h-[80vh] bg-white",children:[e(s,{className:"text-black z-10",position:"bottom-right"}),e("div",{className:"flex items-center justify-center pb-12 bg-black min-h-[80vh]",children:e("div",{className:"container",children:t})})]})})};export{L as a,a as b};
4
+ import{a as x}from"./chunk-V56EA7R6.mjs";import{a as b}from"./chunk-ZZLWY7HX.mjs";import{a as N,b as y}from"./chunk-ZJRG7RA3.mjs";import{a as S}from"./chunk-WU3JMLSC.mjs";import{a as k}from"./chunk-BZAYEKYC.mjs";import{a as f}from"./chunk-6BMA4EN7.mjs";import{a as p}from"./chunk-Q2H33MTB.mjs";import{a as u}from"./chunk-REIGTQCW.mjs";import{a as v}from"./chunk-XAN2JADY.mjs";import{e as m}from"./chunk-EDNVTO7V.mjs";import{a as n}from"./chunk-FCCL6W7R.mjs";import{a as h}from"./chunk-HSFVPF3U.mjs";import{a as g}from"./chunk-Y57CQYEG.mjs";import{a as s}from"./chunk-FC4BLPWZ.mjs";import{a as d}from"./chunk-UESKYRNK.mjs";import{a as l}from"./chunk-NIQ4466A.mjs";import C from"next/image";import{jsx as e,jsxs as o}from"react/jsx-runtime";var j=t=>({root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:t,type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}}),z=({children:t})=>e("div",{children:o("div",{className:"sticky top-0 h-screen",children:[t,e(s,{className:"text-black z-10",position:"header"})]})}),H=()=>o(z,{children:[o("video",{className:"fixed inset-0 object-cover w-full h-full z-0",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,children:[e("source",{src:"assets/videos/background2.mp4",type:"video/mp4"}),"Your browser does not support the video tag."]}),e("div",{className:"fixed inset-0 h-full z-10 flex flex-col items-start justify-center text-white px-4",children:e(d,{children:o("div",{className:"flex flex-col items-start md:w-1/2 mb-10 z-0 md:mb-0",children:[e("h1",{className:"text-5xl md:text-6xl mb-6",children:"Lorum ipsum."}),e("div",{className:"text-lg md:text-xl text-gray-300 mb-8 max-w-lg",children:"Lorum ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec dui ac odio."})]})})})]}),R={highImpact:p,lowImpact:v,mediumImpact:u,sectionHero:f,dummy:H};function L({...t}){let i=t.style;return o("div",{className:"relative overflow-y-none scroll-smooth snap-y snap-mandatory",children:[e(g,{isMenuOpen:!0,logoLight:k,logoDark:S,...t.header}),e(P,{...t.hero}),e(a,{theme:"light",style:i,children:e(x,{...t.service})}),e(a,{theme:"dark",style:i,image:t.service.services[0].image,children:e(w,{})}),e(a,{theme:"light",style:i,children:e(w,{})}),e(a,{theme:"dark",style:i,children:e(N,{...t.contact})}),e(a,{theme:"light",style:i,children:e(y,{...t.contact})}),e(a,{theme:"last",style:i,children:e(b,{...t.blog})}),e(h,{...t.footer})]})}var P=t=>{let{type:i}=t||{};if(!i||i==="none")return null;let c=R[i];return c?e(c,{...t}):null},w=()=>{let t={blurDataURL:"/assets/props/Cortex-Handshake-BG.jpg",height:1315,url:"/assets/props/Cortex-Handshake-BG.jpg",width:1920};return e("div",{className:"container",children:o("div",{className:"w-full grid grid-cols-1 md:grid-cols-2 gap-1 items-center justify-center",children:[o("div",{className:l("w-full text-left"),children:[e("h2",{className:"text-3xl md:text-5xl text-primary",children:"Lorum ipsum..."}),e("p",{className:"mt-4 text-gray-700 text-lg",children:e(m,{enableGutter:!1,content:j("Lorum ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec dui ac odio. Nulla facilisi. Nullam nec nisi nec odio ultricies ultricies. Nullam nec nisi nec odio ultricies ultricies. Nullam nec nisi nec odio ultricies ultricies. Lorum ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec dui ac odio. Nulla facilisi. Nullam nec nisi nec odio ultricies ultricies. Nullam nec nisi nec odio ultricies ultricies. Nullam nec nisi nec odio ultricies ultricies."),enableProse:!1,className:l("prose prose-headings:text-foreground prose-p:text-foreground")})}),e("button",{className:"mt-6 px-6 py-3 border border-1 border-accent text-foreground rounded-full text-base hover:bg-accent hover:text-accent-foreground transition",children:"Click here"})]}),e("div",{className:"w-full h-full min-h-96 p-6 md:p-6 flex justify-center",children:e(C,{src:t.url,alt:"image",width:t.width,height:t.height,className:"max-w-full"})})]})})},a=({children:t,theme:i,style:c,neighbours:I,shape:T,image:M})=>{let D=r=>o("div",{className:"select-none",children:[r&&typeof r=="object"&&e(n,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:r}),r&&typeof r=="string"&&e("div",{children:e(C,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:r})})]});if(i==="dark"&&c==="slide")return e("section",{id:"next-section",className:"sticky md:top-0 h-screen",children:o("div",{className:"dark pt-0 min-h-[80vh]",children:[e(s,{className:"z-10",position:"dark-top"}),o("div",{className:"relative",children:[e("div",{className:"flex items-center bg-black justify-center pt-12",children:e("div",{className:"container",children:t})}),e(s,{className:"text-black z-10",position:"dark-bottom"})]})]})});if(i==="light"&&c==="slide")return e("section",{id:"next-section",className:"sticky top-0 light pt-0 h-screen",children:o("div",{className:"sticky top-0 light pt-0 h-screen",children:[e(s,{className:"z-10",position:"light-top"}),o("div",{className:"relative bg-white",children:[e("div",{className:"flex items-center bg-white justify-center pt-12",children:e("div",{className:"container",children:t})}),e("div",{className:"h-[200px] bg-white"})]})]})});if(i==="first")return e("section",{id:"next-section",className:"",children:e("div",{className:"sticky top-0 light bg-background pt-6 min-h-[80vh]",children:o("div",{className:"relative",children:[e("div",{className:"flex items-center justify-center pt-12",children:e("div",{className:"container",children:t})}),e(s,{className:"text-black z-10",position:"bottom-right"})]})})});if(i==="light")return e("section",{id:"next-section",className:"",children:e("div",{className:"sticky top-0 light bg-background min-h-[50vh]",children:e("div",{className:"flex items-center justify-center",children:e("div",{className:"container",children:t})})})});if(i==="dark")return e("section",{id:"next-section",className:"",children:o("div",{className:"sticky top-0 dark min-h-[80vh] bg-white",children:[e(s,{className:"text-black z-10",position:"bottom-right"}),e("div",{className:"flex items-center justify-center pt-12 bg-black",children:e("div",{className:"container",children:t})}),e(s,{className:"text-accent z-10",position:"top"})]})});if(i==="last")return e("section",{id:"next-section",className:"",children:o("div",{className:"sticky top-0 dark min-h-[80vh] bg-white",children:[e(s,{className:"text-black z-10",position:"bottom-right"}),e("div",{className:"flex items-center justify-center pb-12 bg-black min-h-[80vh]",children:e("div",{className:"container",children:t})})]})})};export{L as a,a as b};