cortex-react-components 1.57.12 → 1.58.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (101) hide show
  1. package/dist/chunk-45W23LOP.mjs +1 -0
  2. package/dist/chunk-4YUYG6QU.mjs +1 -0
  3. package/dist/{chunk-34HO5VLY.mjs → chunk-7RB3HCXX.mjs} +1 -1
  4. package/dist/{chunk-SDWF6SX5.mjs → chunk-B67CUKBL.mjs} +1 -1
  5. package/dist/{chunk-DZAMK735.mjs → chunk-B6SAYT2S.mjs} +1 -1
  6. package/dist/{chunk-466MOEEP.mjs → chunk-CI5RPNQ3.mjs} +1 -1
  7. package/dist/chunk-FEPYCAGJ.mjs +4 -0
  8. package/dist/chunk-H6K4WVVT.mjs +1 -0
  9. package/dist/{chunk-GTYFC5BD.mjs → chunk-K2SFDQHA.mjs} +1 -1
  10. package/dist/{chunk-YTQXBSBR.mjs → chunk-NN2DJYNF.mjs} +1 -1
  11. package/dist/{chunk-CHCARJTF.mjs → chunk-O3CVEPMW.mjs} +1 -1
  12. package/dist/{chunk-3Z6DIZMR.mjs → chunk-SFLXXPBH.mjs} +1 -1
  13. package/dist/{chunk-K7HMLEAG.mjs → chunk-TEORJDWG.mjs} +1 -1
  14. package/dist/{chunk-OSVNMQXM.mjs → chunk-TWOXANR5.mjs} +1 -1
  15. package/dist/components/Blocks/RenderBlocks.d.ts +16 -0
  16. package/dist/components/Blocks/RenderBlocks.js +1 -1
  17. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  18. package/dist/components/Blocks/ReusableContentBlock.js +1 -1
  19. package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
  20. package/dist/components/Blocks/index.js +1 -1
  21. package/dist/components/Blocks/index.mjs +1 -1
  22. package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
  23. package/dist/components/DigitalColleagues/MainPage.stories.mjs +1 -1
  24. package/dist/components/HeaderFooter/VideoHeader.js +1 -1
  25. package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
  26. package/dist/components/HeaderFooter/index.js +1 -1
  27. package/dist/components/HeaderFooter/index.mjs +1 -1
  28. package/dist/components/Heros/HighImpact/index.js +1 -1
  29. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  30. package/dist/components/Heros/PostHero/index.mjs +1 -1
  31. package/dist/components/Heros/RenderHero.js +1 -1
  32. package/dist/components/Heros/RenderHero.mjs +1 -1
  33. package/dist/components/Heros/SectionHero/index.js +1 -1
  34. package/dist/components/Heros/SectionHero/index.mjs +1 -1
  35. package/dist/components/Heros/index.js +1 -1
  36. package/dist/components/Heros/index.mjs +1 -1
  37. package/dist/components/Layouts/Print.js +2 -2
  38. package/dist/components/Layouts/Print.mjs +1 -1
  39. package/dist/components/Layouts/Print.stories.js +1 -1
  40. package/dist/components/Layouts/Print.stories.mjs +1 -1
  41. package/dist/components/Layouts/SlideShow.js +3 -3
  42. package/dist/components/Layouts/SlideShow.mjs +1 -1
  43. package/dist/components/Layouts/SlideShow.stories.js +3 -3
  44. package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
  45. package/dist/components/Layouts/index.js +5 -5
  46. package/dist/components/Layouts/index.mjs +1 -1
  47. package/dist/components/Other/PageShape.js +1 -1
  48. package/dist/components/Other/PageShape.mjs +1 -1
  49. package/dist/components/Other/index.js +1 -1
  50. package/dist/components/Other/index.mjs +1 -1
  51. package/dist/components/index.js +8 -8
  52. package/dist/components/index.mjs +1 -1
  53. package/dist/components/ui/index.mjs +1 -1
  54. package/dist/hooks/index.mjs +1 -1
  55. package/dist/index.js +12 -12
  56. package/dist/index.mjs +1 -1
  57. package/dist/metafile-cjs.json +1 -1
  58. package/dist/metafile-esm.json +1 -1
  59. package/dist/pages/Blog.mjs +1 -1
  60. package/dist/pages/Blog.stories.mjs +1 -1
  61. package/dist/pages/Documentation.mjs +1 -1
  62. package/dist/pages/Documentation.stories.mjs +1 -1
  63. package/dist/pages/IndexPage.mjs +1 -1
  64. package/dist/pages/IndexPage.stories.mjs +1 -1
  65. package/dist/pages/Intranet.mjs +1 -1
  66. package/dist/pages/Intranet.stories.mjs +1 -1
  67. package/dist/pages/LandingPage.js +1 -1
  68. package/dist/pages/LandingPage.mjs +1 -1
  69. package/dist/pages/LandingPage.stories.js +1 -1
  70. package/dist/pages/LandingPage.stories.mjs +1 -1
  71. package/dist/pages/Page.js +1 -1
  72. package/dist/pages/Page.mjs +1 -1
  73. package/dist/pages/Page.stories.js +1 -1
  74. package/dist/pages/Page.stories.mjs +1 -1
  75. package/dist/pages/Printable.stories.js +4 -4
  76. package/dist/pages/Printable.stories.mjs +1 -1
  77. package/dist/pages/Publish.js +5 -5
  78. package/dist/pages/Publish.mjs +1 -1
  79. package/dist/pages/Publish.stories.js +4 -4
  80. package/dist/pages/Publish.stories.mjs +1 -1
  81. package/dist/pages/Website.js +1 -1
  82. package/dist/pages/Website.mjs +1 -1
  83. package/dist/pages/Website.stories.js +1 -1
  84. package/dist/pages/Website.stories.mjs +1 -1
  85. package/dist/sections/MainPageSection.js +1 -1
  86. package/dist/sections/MainPageSection.mjs +1 -1
  87. package/dist/sections/PageSections.js +1 -1
  88. package/dist/sections/PageSections.mjs +1 -1
  89. package/dist/sections/PageSections.stories.js +1 -1
  90. package/dist/sections/PageSections.stories.mjs +1 -1
  91. package/dist/sections/ServiceDetailList.js +1 -1
  92. package/dist/sections/ServiceDetailList.mjs +1 -1
  93. package/dist/sections/ServiceSection.mjs +1 -1
  94. package/dist/sections/ServiceSection.stories.mjs +1 -1
  95. package/dist/sections/index.js +1 -1
  96. package/dist/sections/index.mjs +1 -1
  97. package/package.json +1 -1
  98. package/dist/chunk-BYVWBEWQ.mjs +0 -1
  99. package/dist/chunk-CJMWAH7C.mjs +0 -1
  100. package/dist/chunk-FZY4DR3G.mjs +0 -1
  101. package/dist/chunk-L4FTRAKV.mjs +0 -4
@@ -0,0 +1 @@
1
+ import{a as m}from"./chunk-WU3JMLSC.mjs";import{a as s}from"./chunk-BZAYEKYC.mjs";import{a as n}from"./chunk-B6SAYT2S.mjs";import{d as r}from"./chunk-H6K4WVVT.mjs";import{a}from"./chunk-RQ23CZK5.mjs";import{a as i}from"./chunk-JFR3WUHP.mjs";import{a as t}from"./chunk-C5XNOZXC.mjs";import{Observer as l}from"tailwindcss-intersect";import{useEffect as c}from"react";import{jsx as e,jsxs as d}from"react/jsx-runtime";function g({...o}){let p=o.page,{contentWithIds:f,tableOfContents:b}=t(p);return c(()=>{l.start()},[]),d("div",{className:"relative overflow-none scroll-smooth snap-y snap-mandatory overscroll-contain",children:[e(a,{isMenuOpen:!0,logoLight:s,logoDark:m}),e("div",{children:e(n,{...o.hero})}),e(r,{blocks:f}),e(i,{...o.footer})]})}export{g as a};
@@ -0,0 +1 @@
1
+ import{a as s}from"./chunk-NIQ4466A.mjs";import{jsx as t,jsxs as o}from"react/jsx-runtime";var n=({position:e,className:l=""})=>{let a=["","scale(-1, 1)","scale(1, -1)","scale(-1, -1)"],i=a[Math.floor(Math.random()*a.length)];if(e==="header")return t("div",{className:"w-full h-[1240px] z-20",children:o("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 337",preserveAspectRatio:"xMidYMax meet",style:{fontSize:0,float:"left"},className:s(l,"absolute -bottom-[2px] flex"),children:[t("defs",{children:o("mask",{id:"mask",children:[t("rect",{width:"1920",height:"332",fill:"white"}),t("polygon",{points:"0 0 0 135 1255 330 1920 0 1920 0 1920 0 0 0"})]})}),t("rect",{width:"1920",height:"332",fill:"white",mask:"url(#mask)"}),t("rect",{y:"331",width:"1920",height:"7",fill:"white"})," "]})});if(e==="top")return o("div",{className:"w-full z-20 aspect-[1920/332] overflow-hidden ",children:[o("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",className:s(l,"absolute "),style:{fontSize:0,float:"left",alignContent:"flex-end",transform:"scale(-1, 1)"},children:[t("defs",{children:o("mask",{id:"mask",children:[t("rect",{width:"100%",height:"100%",fill:"white"}),t("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),t("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0",fill:"black"})]}),t("div",{className:"absolute -bottom-[5px] border-none left-0 w-full h-[6px] z-10 bg-white"})]});if(e==="dark-top")return t("div",{className:"w-full aspect-[1920/332] z-20 content-end block overflow-hidden",children:o("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"xMidYMax meet",className:s(l,"relative "),style:{fontSize:0,float:"left"},transform:a[3],children:[t("defs",{children:o("mask",{id:"mask",children:[t("rect",{width:"100%",height:"100%",fill:"white"}),t("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),t("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0",fill:"black"})]})});if(e==="dark-bottom")return t("div",{className:"w-full aspect-[1920/332] z-20 content-start block overflow-hidden bg-white",children:t("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain",transform:"scale(1, -1)"},className:s(l,"w-full block overflow-hidden"),children:t("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})});if(e==="light-bottom")return t("div",{className:"w-full aspect-[1920/332] z-20 content-end block overflow-hidden",children:t("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"none",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain"},className:s(l,"w-full block overflow-hidden"),transform:a[3],children:t("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})});if(e==="bottom-left"||e==="bottom-right")return t("div",{className:"w-full aspect-[1920/332] z-20 relative -bottom-[1px]",children:t("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"none",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain",transform:"rotateX(180deg)"},className:s(l,"w-full block overflow-hidden"),children:t("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})})},d=({className:e})=>o("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 1245",className:s(e,"absolute w-full h-full"),children:[t("defs",{children:o("mask",{id:"mask",children:[t("rect",{width:"100%",height:"100%",fill:"black"}),t("polygon",{fill:"white",points:"0 0 0 201.561092 0 1036.200679 0 1087.625789 1255.099121 1240.909908 1920 908.450984 1920 201.561092 1920 0 0 0"})]})}),t("rect",{width:"100%",height:"100%",fill:"black",mask:"url(#mask)"})]});export{n as a,d as b};
@@ -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-DUYFR7BN.mjs";import{a as p}from"./chunk-HA3UNFOE.mjs";import{a as l}from"./chunk-YTQXBSBR.mjs";import{a as c}from"./chunk-A7563CVR.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-RQ23CZK5.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 u}from"./chunk-DUYFR7BN.mjs";import{a as p}from"./chunk-HA3UNFOE.mjs";import{a as l}from"./chunk-NN2DJYNF.mjs";import{a as c}from"./chunk-A7563CVR.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-RQ23CZK5.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 +1 @@
1
- import{a as r}from"./chunk-FZY4DR3G.mjs";import a from"next/image";import{jsx as t,jsxs as i}from"react/jsx-runtime";var n=({title:o,image:e})=>t("div",{children:i("div",{className:"sticky top-0 h-[50vh] min-h-[400px]",children:[t("div",{className:"fixed inset-0 container mt-24 mb-8 z-10 flex items-start justify-start",children:t("h1",{className:"text-5xl md:text-6xl",children:o})}),i("div",{className:"fixed inset-0 h-[50vh] min-h-[400px] select-none",children:[e&&typeof e=="object"&&t(a,{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"}),e&&typeof e=="string"&&t("div",{children:t(a,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:e})}),t("span",{className:"absolute inset-0 bg-gradient-to-b from-white dark:from-black"})]}),t(r,{className:"text-black z-10",position:"header"})]})});export{n as a};
1
+ import{a as r}from"./chunk-4YUYG6QU.mjs";import a from"next/image";import{jsx as t,jsxs as i}from"react/jsx-runtime";var n=({title:o,image:e})=>t("div",{children:i("div",{className:"sticky top-0 h-[50vh] min-h-[400px]",children:[t("div",{className:"fixed inset-0 container mt-24 mb-8 z-10 flex items-start justify-start",children:t("h1",{className:"text-5xl md:text-6xl",children:o})}),i("div",{className:"fixed inset-0 h-[50vh] min-h-[400px] select-none",children:[e&&typeof e=="object"&&t(a,{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"}),e&&typeof e=="string"&&t("div",{children:t(a,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:e})}),t("span",{className:"absolute inset-0 bg-gradient-to-b from-white dark:from-black"})]}),t(r,{className:"text-black z-10",position:"header"})]})});export{n as a};
@@ -1 +1 @@
1
- import{a as n}from"./chunk-SDWF6SX5.mjs";import{a as l}from"./chunk-DUYFR7BN.mjs";import{a as m}from"./chunk-HA3UNFOE.mjs";import{a as i}from"./chunk-YTQXBSBR.mjs";import{ChevronRightIcon as c,HomeIcon as f}from"@heroicons/react/20/solid";import{Fragment as h,jsx as e,jsxs as a}from"react/jsx-runtime";var d={highImpact:i,lowImpact:l,mediumImpact:m,sectionHero:n},H=t=>{let{type:o}=t||{};if(!o||o==="none")return null;let r=d[o];return r?e(r,{...t}):null};function N({breadcrumbItems:t}){if(t&&t.length>0){let o=t.filter(r=>r.label.toLowerCase()!=="home");return e("nav",{"aria-label":"Breadcrumb",className:"flex",children:a("ol",{role:"list",className:"flex items-center space-x-4",children:[e("li",{children:e("div",{children:a("a",{href:"/",className:"text-foreground hover:text-accent",children:[e(f,{"aria-hidden":"true",className:"size-5 shrink-0"}),e("span",{className:"sr-only",children:"Home"})]})})}),o.map((r,s)=>e("li",{children:a("div",{className:"flex items-center",children:[e(c,{"aria-hidden":"true",className:"size-5 shrink-0 text-gray-400"}),r.href?e("a",{href:r.href,className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:r.label}):e("div",{className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:r.label})]})},s))]})})}return e(h,{})}export{H as a,N as b};
1
+ import{a as n}from"./chunk-B67CUKBL.mjs";import{a as l}from"./chunk-DUYFR7BN.mjs";import{a as m}from"./chunk-HA3UNFOE.mjs";import{a as i}from"./chunk-NN2DJYNF.mjs";import{ChevronRightIcon as c,HomeIcon as f}from"@heroicons/react/20/solid";import{Fragment as h,jsx as e,jsxs as a}from"react/jsx-runtime";var d={highImpact:i,lowImpact:l,mediumImpact:m,sectionHero:n},H=t=>{let{type:o}=t||{};if(!o||o==="none")return null;let r=d[o];return r?e(r,{...t}):null};function N({breadcrumbItems:t}){if(t&&t.length>0){let o=t.filter(r=>r.label.toLowerCase()!=="home");return e("nav",{"aria-label":"Breadcrumb",className:"flex",children:a("ol",{role:"list",className:"flex items-center space-x-4",children:[e("li",{children:e("div",{children:a("a",{href:"/",className:"text-foreground hover:text-accent",children:[e(f,{"aria-hidden":"true",className:"size-5 shrink-0"}),e("span",{className:"sr-only",children:"Home"})]})})}),o.map((r,s)=>e("li",{children:a("div",{className:"flex items-center",children:[e(c,{"aria-hidden":"true",className:"size-5 shrink-0 text-gray-400"}),r.href?e("a",{href:r.href,className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:r.label}):e("div",{className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:r.label})]})},s))]})})}return e(h,{})}export{H as a,N as b};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as S}from"./chunk-HDTY4G45.mjs";import{a as P}from"./chunk-VKYDAH7Y.mjs";import{a as w,b as C}from"./chunk-4J7K65LS.mjs";import{a as R}from"./chunk-WU3JMLSC.mjs";import{a as j}from"./chunk-BZAYEKYC.mjs";import{a as y}from"./chunk-SDWF6SX5.mjs";import{a as N}from"./chunk-DUYFR7BN.mjs";import{a as x}from"./chunk-HA3UNFOE.mjs";import{a as g}from"./chunk-YTQXBSBR.mjs";import{c as f,f as d}from"./chunk-2OBJ2XBF.mjs";import{a as v}from"./chunk-FCCL6W7R.mjs";import{b as u}from"./chunk-BDX257W2.mjs";import{a as k}from"./chunk-RQ23CZK5.mjs";import{a as s}from"./chunk-FZY4DR3G.mjs";import{a as b}from"./chunk-JFR3WUHP.mjs";import{a as h}from"./chunk-UESKYRNK.mjs";import{a as c}from"./chunk-NIQ4466A.mjs";import H from"next/image";import T from"next/link";import{jsx as a,jsxs as L}from"react/jsx-runtime";var K=({dynamicServiceDetail:t,style:i})=>t.map((o,p)=>a(n,{id:o.slug,theme:p%2===0?"dark":"light",style:i,children:a("div",{className:"container",children:L("div",{className:"w-full grid grid-cols-1 md:grid-cols-2 gap-1 items-center justify-center",children:[L("div",{className:c("w-full text-left prose"),children:[a("h2",{className:"text-primary",children:o.title}),a("div",{className:"",children:a(d,{enableGutter:!1,content:o.description,enableProse:!1,className:c("prose prose-headings:text-foreground prose-p:text-foreground")})}),a(u,{asChild:!0,className:"mt-6 px-6 py-3 border border-accent text-foreground bg-background rounded-full hover:bg-accent hover:text-accent-foreground transition no-underline",children:a(T,{href:`/${o.slug}`,children:"Learn more"})})]}),o.icon&&typeof o.icon=="object"&&"type"in o.icon&&"iconName"in o.icon&&a("div",{className:c("w-full h-full min-h-96 py-6 p-0 md:p-16 flex justify-center"),children:a("i",{className:`${o.icon.type} fa-${o.icon.iconName} fa-10x w-3/4 h-full text-foreground fill-gradient-linear`,style:{width:"90%"}})})]})})},p));import{jsx as e,jsxs as r}from"react/jsx-runtime";var D=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"}}),I=({children:t})=>e("div",{children:r("div",{className:"sticky top-0 h-screen",children:[t,e(s,{className:"text-black z-10",position:"header"})]})}),B=()=>r(I,{children:[r("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(h,{children:r("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-7xl mb-6",children:"Lorum ipsum."}),e("div",{className:"text-lg md:text-2xl text-gray-300 mb-8 max-w-lg",children:"Lorum ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec dui ac odio."})]})})})]}),M={highImpact:g,lowImpact:N,mediumImpact:x,sectionHero:y,dummy:B};function F({...t}){let i=t.style;return r("div",{className:"relative overflow-y-none scroll-smooth snap-y snap-mandatory",children:[e(k,{isMenuOpen:!0,logoLight:j,logoDark:R,...t.header}),e(G,{...t.hero}),e(n,{theme:"light",style:i,children:e(S,{...t.service})}),e(n,{theme:"dark",style:i,image:t.service.services[0].image,children:e(z,{})}),e(n,{theme:"light",style:i,children:e(z,{})}),e(n,{theme:"dark",style:i,children:e(w,{...t.contact})}),e(n,{theme:"light",style:i,children:e(C,{...t.contact})}),e(n,{theme:"last",style:i,children:e(P,{...t.blog})}),e(f,{...t.cta}),e(b,{...t.footer})]})}var G=t=>{let{type:i}=t||{};if(!i||i==="none")return null;let o=M[i];return o?e(o,{...t}):null},z=()=>{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:r("div",{className:"w-full grid grid-cols-1 md:grid-cols-2 gap-1 items-center justify-center",children:[r("div",{className:c("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(d,{enableGutter:!1,content:D("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:c("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(H,{src:t.url,alt:"image",width:t.width,height:t.height,className:"max-w-full"})})]})})},n=({children:t,theme:i,style:o,neighbours:p,shape:$,image:A,id:l,continueTheme:V})=>{let O=m=>r("div",{className:"select-none",children:[m&&typeof m=="object"&&e(v,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:m}),m&&typeof m=="string"&&e("div",{children:e(H,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:m})})]});if(i==="dark"&&o==="slide")return e("section",{id:l||"next-section",className:"sticky md:top-0 h-screen",children:r("div",{className:"dark pt-0 min-h-[80vh]",children:[e(s,{className:"z-10",position:"dark-top"}),r("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:"z-10",position:"dark-bottom"})]})]})});if(i==="light"&&o==="slide")return e("section",{id:l||"next-section",className:"sticky top-0 light pt-0 h-screen",children:r("div",{className:"sticky top-0 light pt-0 h-screen",children:[e(s,{className:"z-10",position:"light-top"}),r("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:l||"next-section",className:"",children:e("div",{className:"sticky top-0 light bg-background pt-6 min-h-[80vh]",children:r("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:l||"next-section",className:"",children:e("div",{className:c("sticky top-0 light bg-background min-h-[50vh]","pb-10"),children:e("div",{className:"flex items-center pt-8 justify-center",children:e("div",{className:"container",children:t})})})});if(i==="dark")return e("section",{id:l||"next-section",className:"",children:r("div",{className:"sticky -top-[1px] 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:l||"next-section",className:"",children:r("div",{className:"sticky -top-[1px] 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{F as a,n as b,K as c};
4
+ import{a as S}from"./chunk-HDTY4G45.mjs";import{a as P}from"./chunk-VKYDAH7Y.mjs";import{a as w,b as C}from"./chunk-4J7K65LS.mjs";import{a as R}from"./chunk-WU3JMLSC.mjs";import{a as j}from"./chunk-BZAYEKYC.mjs";import{a as y}from"./chunk-B67CUKBL.mjs";import{a as N}from"./chunk-DUYFR7BN.mjs";import{a as x}from"./chunk-HA3UNFOE.mjs";import{a as g}from"./chunk-NN2DJYNF.mjs";import{c as f,f as d}from"./chunk-2OBJ2XBF.mjs";import{a as v}from"./chunk-FCCL6W7R.mjs";import{b as u}from"./chunk-BDX257W2.mjs";import{a as k}from"./chunk-RQ23CZK5.mjs";import{a as s}from"./chunk-4YUYG6QU.mjs";import{a as b}from"./chunk-JFR3WUHP.mjs";import{a as h}from"./chunk-UESKYRNK.mjs";import{a as c}from"./chunk-NIQ4466A.mjs";import H from"next/image";import T from"next/link";import{jsx as a,jsxs as L}from"react/jsx-runtime";var K=({dynamicServiceDetail:t,style:i})=>t.map((o,p)=>a(n,{id:o.slug,theme:p%2===0?"dark":"light",style:i,children:a("div",{className:"container",children:L("div",{className:"w-full grid grid-cols-1 md:grid-cols-2 gap-1 items-center justify-center",children:[L("div",{className:c("w-full text-left prose"),children:[a("h2",{className:"text-primary",children:o.title}),a("div",{className:"",children:a(d,{enableGutter:!1,content:o.description,enableProse:!1,className:c("prose prose-headings:text-foreground prose-p:text-foreground")})}),a(u,{asChild:!0,className:"mt-6 px-6 py-3 border border-accent text-foreground bg-background rounded-full hover:bg-accent hover:text-accent-foreground transition no-underline",children:a(T,{href:`/${o.slug}`,children:"Learn more"})})]}),o.icon&&typeof o.icon=="object"&&"type"in o.icon&&"iconName"in o.icon&&a("div",{className:c("w-full h-full min-h-96 py-6 p-0 md:p-16 flex justify-center"),children:a("i",{className:`${o.icon.type} fa-${o.icon.iconName} fa-10x w-3/4 h-full text-foreground fill-gradient-linear`,style:{width:"90%"}})})]})})},p));import{jsx as e,jsxs as r}from"react/jsx-runtime";var D=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"}}),I=({children:t})=>e("div",{children:r("div",{className:"sticky top-0 h-screen",children:[t,e(s,{className:"text-black z-10",position:"header"})]})}),B=()=>r(I,{children:[r("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(h,{children:r("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-7xl mb-6",children:"Lorum ipsum."}),e("div",{className:"text-lg md:text-2xl text-gray-300 mb-8 max-w-lg",children:"Lorum ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec dui ac odio."})]})})})]}),M={highImpact:g,lowImpact:N,mediumImpact:x,sectionHero:y,dummy:B};function F({...t}){let i=t.style;return r("div",{className:"relative overflow-y-none scroll-smooth snap-y snap-mandatory",children:[e(k,{isMenuOpen:!0,logoLight:j,logoDark:R,...t.header}),e(G,{...t.hero}),e(n,{theme:"light",style:i,children:e(S,{...t.service})}),e(n,{theme:"dark",style:i,image:t.service.services[0].image,children:e(z,{})}),e(n,{theme:"light",style:i,children:e(z,{})}),e(n,{theme:"dark",style:i,children:e(w,{...t.contact})}),e(n,{theme:"light",style:i,children:e(C,{...t.contact})}),e(n,{theme:"last",style:i,children:e(P,{...t.blog})}),e(f,{...t.cta}),e(b,{...t.footer})]})}var G=t=>{let{type:i}=t||{};if(!i||i==="none")return null;let o=M[i];return o?e(o,{...t}):null},z=()=>{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:r("div",{className:"w-full grid grid-cols-1 md:grid-cols-2 gap-1 items-center justify-center",children:[r("div",{className:c("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(d,{enableGutter:!1,content:D("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:c("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(H,{src:t.url,alt:"image",width:t.width,height:t.height,className:"max-w-full"})})]})})},n=({children:t,theme:i,style:o,neighbours:p,shape:$,image:A,id:l,continueTheme:V})=>{let O=m=>r("div",{className:"select-none",children:[m&&typeof m=="object"&&e(v,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:m}),m&&typeof m=="string"&&e("div",{children:e(H,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:m})})]});if(i==="dark"&&o==="slide")return e("section",{id:l||"next-section",className:"sticky md:top-0 h-screen",children:r("div",{className:"dark pt-0 min-h-[80vh]",children:[e(s,{className:"z-10",position:"dark-top"}),r("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:"z-10",position:"dark-bottom"})]})]})});if(i==="light"&&o==="slide")return e("section",{id:l||"next-section",className:"sticky top-0 light pt-0 h-screen",children:r("div",{className:"sticky top-0 light pt-0 h-screen",children:[e(s,{className:"z-10",position:"light-top"}),r("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:l||"next-section",className:"",children:e("div",{className:"sticky top-0 light bg-background pt-6 min-h-[80vh]",children:r("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:l||"next-section",className:"",children:e("div",{className:c("sticky top-0 light bg-background min-h-[50vh]","pb-10"),children:e("div",{className:"flex items-center pt-8 justify-center",children:e("div",{className:"container",children:t})})})});if(i==="dark")return e("section",{id:l||"next-section",className:"",children:r("div",{className:"sticky -top-[1px] 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:l||"next-section",className:"",children:r("div",{className:"sticky -top-[1px] 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{F as a,n as b,K as c};
@@ -0,0 +1,4 @@
1
+ "use client";
2
+ "use strict";
3
+
4
+ import{a as d}from"./chunk-NIQ4466A.mjs";import{useState as x,useEffect as P}from"react";import C from"next/link";import{Printer as V,Presentation as $}from"lucide-react";import{usePathname as R}from"next/navigation";import{ExternalLink as M}from"lucide-react";import{jsx as e,jsxs as a}from"react/jsx-runtime";var H=({children:m,pageId:g,tableOfContents:v=[],edit:u=!0,path:n="/admin/collections/pages/",relatedContent:h=[{title:"Related Content",links:[]}]})=>{let[o,b]=x(!1),w=()=>{b(!o)};return P(()=>{let r=window.location.hash;if(r){let f=r.substring(1),c=document.getElementById(f);if(c){let p=c.getBoundingClientRect().top+window.pageYOffset+-300;window.scrollTo({top:p,behavior:"smooth"})}}},[window.location.hash]),a("div",{className:"",children:[e("div",{className:d(o?"col-span-3":"col-span-4","xl:col-span-3"),children:m}),e(I,{pageId:g,tableOfContents:v,edit:u,path:n,relatedContent:h,isSidebarVisible:o}),e("div",{className:"block md:hidden mt-8",children:e("div",{className:"space-y-6",children:m})})]})};var I=({pageId:m,tableOfContents:g=[],edit:v=!0,path:u="/admin/collections/pages/",relatedContent:n=[{title:"Related Content",links:[]}],isSidebarVisible:h})=>{let[o,b]=x(""),[w,r]=x(!1),[f,c]=x(!1),i=R(),p=()=>{r(!w),c(!1)},y=()=>{c(!f),r(!1)},N=t=>{switch(t){case"h3":return"ml-4";case"h4":return"ml-8";default:return""}},k=()=>{let t=i.split("/"),l="/print"+i,s=window.open(l,"Print","width=1754,height=1240,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes");s&&s.focus()},z=()=>{let t=i.split("/"),l="/present"+i,s=window.open(l,"Print","width=1754,height=1240,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes");s&&s.focus()};return e("div",{className:d("fixed right-2 z-20 top-1/4 space-y-6 transform transition-transform duration-300 translate-x-full",h?"translate-x-0":"md:translate-x-0"),children:a("div",{className:"flex flex-row-reverse z-20 min-w-64 gap-4",children:[a("nav",{className:"z-20 flex grow-0 justify-end gap-4 border-gray-200 bg-card p-2.5 shadow-lg backdrop-blur-lg min-h-[auto] min-w-[54px] flex-col rounded-lg border",children:[a(C,{href:`${u}${m}`,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:"M454.6 45.3l12.1 12.1c12.5 12.5 12.5 32.8 0 45.3L440 129.4 382.6 72l26.7-26.7c12.5-12.5 32.8-12.5 45.3 0zM189 265.6l171-171L417.4 152l-171 171c-4.2 4.2-9.6 7.2-15.4 8.6l-65.6 15.1L180.5 281c1.3-5.8 4.3-11.2 8.6-15.4zm197.7-243L166.4 243c-8.5 8.5-14.4 19.2-17.1 30.9l-20.9 90.6c-1.2 5.4 .4 11 4.3 14.9s9.5 5.5 14.9 4.3l90.6-20.9c11.7-2.7 22.4-8.6 30.9-17.1L489.4 125.3c25-25 25-65.5 0-90.5L477.3 22.6c-25-25-65.5-25-90.5 0zM80 64C35.8 64 0 99.8 0 144L0 432c0 44.2 35.8 80 80 80l288 0c44.2 0 80-35.8 80-80l0-128c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 128c0 26.5-21.5 48-48 48L80 480c-26.5 0-48-21.5-48-48l0-288c0-26.5 21.5-48 48-48l128 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L80 64z"})}),e("small",{className:"text-center text-xs font-medium",children:" Edit "})]}),a("a",{onClick:p,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 448 512",fill:"currentColor",children:e("path",{d:"M16 80C7.2 80 0 87.2 0 96s7.2 16 16 16l416 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L16 80zM144 240c-8.8 0-16 7.2-16 16s7.2 16 16 16l288 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-288 0zM128 416c0 8.8 7.2 16 16 16l288 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-288 0c-8.8 0-16 7.2-16 16zM0 432c0 8.8 7.2 16 16 16s16-7.2 16-16l0-192c0-8.8-7.2-16-16-16s-16 7.2-16 16L0 432z"})}),e("small",{className:"text-center text-xs font-medium",children:" Contents "})]}),a("a",{onClick:y,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 576 512",fill:"currentColor",children:e("path",{d:"M136 64c13.3 0 24 10.7 24 24l0 24 0 32 0 24c0 13.3-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24l0-80c0-13.3 10.7-24 24-24l80 0zm56 104l0-24 192 0 0 24c0 30.9 25.1 56 56 56l80 0c30.9 0 56-25.1 56-56l0-80c0-30.9-25.1-56-56-56l-80 0c-30.9 0-56 25.1-56 56l0 24-192 0 0-24c0-30.9-25.1-56-56-56L56 32C25.1 32 0 57.1 0 88l0 80c0 30.9 25.1 56 56 56l80 0c8.6 0 16.7-1.9 24-5.4l72.2 96.3c-5.2 8.5-8.2 18.5-8.2 29.1l0 80c0 30.9 25.1 56 56 56l80 0c30.9 0 56-25.1 56-56l0-80c0-30.9-25.1-56-56-56l-80 0c-8.6 0-16.7 1.9-24 5.4l-72.2-96.3c5.2-8.5 8.2-18.5 8.2-29.1zm224 0l0-24 0-32 0-24c0-13.3 10.7-24 24-24l80 0c13.3 0 24 10.7 24 24l0 80c0 13.3-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24zM360 320c13.3 0 24 10.7 24 24l0 80c0 13.3-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24l0-80c0-13.3 10.7-24 24-24l80 0z"})}),e("small",{className:"text-center text-xs font-medium",children:" Related "})]}),e("hr",{className:"dark:border-gray-400"}),a("a",{onClick:z,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 576 512",fill:"currentColor",children:e("path",{d:"M16 0C7.2 0 0 7.2 0 16s7.2 16 16 16l544 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L16 0zM32 64l0 224c0 35.3 28.7 64 64 64l176 0 0 41.4-91.3 91.3c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L288 422.6l84.7 84.7c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L304 393.4l0-41.4 176 0c35.3 0 64-28.7 64-64l0-224-32 0 0 224c0 17.7-14.3 32-32 32l-192 0L96 320c-17.7 0-32-14.3-32-32L64 64 32 64z"})}),e("small",{className:"text-xs font-medium",children:"Present"})]}),a("a",{onClick:k,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"})]})]}),w&&e("div",{className:d("z-50 flex shrink-0 grow-0 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:a("div",{className:"flex flex-col m-2 justify-start z-50 min-w-64",children:[e("div",{className:"flex text-accent",children:"On this Page"}),e("ul",{className:"flex flex-col space-y-2",children:g.map((t,l)=>e("li",{className:N(t.tag),children:e("a",{href:`#${t.id}`,className:`text-xs ${o===t.id?"text-accent font-semibold":"text-primary dark:text-foreground"} hover:text-accent`,children:t.text})},l))})]})}),f&&n&&n.length>0&&e("div",{className:d("z-50 flex shrink-0 grow-0 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:a("div",{className:"flex flex-col m-2 justify-start z-50 min-w-64",children:[e("div",{className:"flex text-accent",children:"Related Content"}),e("ul",{className:"flex flex-col space-y-2",children:n.map((t,l)=>t.links&&t.links.length>0?t.links.map((s,L)=>a(C,{href:s.url,className:"inline-flex items-center text-sm text-primary dark:text-foreground hover:text-accent",children:[s.title,s.url.startsWith("http")&&e(M,{className:"ml-1 h-3 w-3"})]},L)):null)})]})})]})})};export{H as a};
@@ -0,0 +1 @@
1
+ import{a as w}from"./chunk-LGHVM5IZ.mjs";import{a as F}from"./chunk-3KAKEHMV.mjs";import{c as B,d as x}from"./chunk-2OBJ2XBF.mjs";import{a as k}from"./chunk-2A6JF3LE.mjs";import{a as o}from"./chunk-NIQ4466A.mjs";import{Fragment as j}from"react";import I from"next/image";import{jsx as t,jsxs as g}from"react/jsx-runtime";var N={content:w,cta:B,mediaBlock:k,collapsibleArea:F,imageBlock:k,features:x,reusableContentBlock:z},M=e=>{let{blocks:a}=e;return a&&Array.isArray(a)&&a.length>0?t("section",{id:"render-blocks",className:o(e.fill?"h-full w-full":""),children:a.map((n,s)=>{var c;let{blockType:r}=n,i=n==null?void 0:n.theme;if(r&&r in N){let u=N[r];if(r==="reusableContentBlock")return t(j,{children:t(M,{blocks:n.reusableContent.layout})},s);if(u)return g("div",{className:o("py-6 relative",e.fill&&"flex h-full items-center justify-center"),children:[t(C,{block:n,index:s}),t("div",{className:o("container h-full relative",((c=i==null?void 0:i.settings)==null?void 0:c.theme)||"dark"),children:t(u,{...n})})]},s)}return null})}):null},C=e=>{var m,n,s,r,i;if(!("theme"in e.block))return t("div",{className:o("absolute inset-0 w-screen h-full dark bg-background")});let a=(m=e.block)==null?void 0:m.theme;if(a.settings.background==="image"){let c={imagePosition:a.settings.imagePosition||"left",overlay:a.settings.overlay!==void 0?a.settings.overlay:!0};return g("div",{className:o("absolute inset-0 w-full h-full bg-background",a.settings.theme||"dark"),children:[t(I,{src:((s=(n=a.settings)==null?void 0:n.image)==null?void 0:s.url)||"/placeholder.svg",alt:((i=(r=a.settings)==null?void 0:r.image)==null?void 0:i.alt)||"",fill:!0,className:"object-cover",priority:!0}),a.settings.overlay&&t("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 t("div",{className:o("absolute inset-0 w-screen h-full bg-background",a.settings.theme||"dark")})},V=e=>{let{blocks:a}=e;return a&&Array.isArray(a)&&a.length>0?t("section",{id:"content-blocks",className:o(e.fill?"h-full w-full":""),children:a.map((n,s)=>{let{blockType:r}=n,i=n==null?void 0:n.theme;if(r&&r in N){let c=N[r];if(r==="reusableContentBlock")return t(j,{children:t(M,{blocks:n.reusableContent.layout})},s);if(c)return t("div",{className:o("relative flex w-full",e.fill&&"h-full items-center justify-center"),children:t(L,{block:n,allBlocks:a,index:s,children:t(c,{...n})})},s)}return null})}):null},L=e=>{var u,b,R,P,T;if(e.index===0)return g("div",{className:"w-full",children:[t("div",{className:o("absolute inset-0 w-screen h-full light bg-background")}),t("div",{className:o("container h-full relative","light bg-background"),children:e.children})]});let a=l=>l%2===0?"light":"dark",m=({index:l,allBlocks:d})=>l===1?t(A,{position:"left"}):s(l,d)==="dark"&&i(d[l])==="light"?t(S,{position:"left"}):s(l,d)==="light"&&i(d[l])==="dark"?t(A,{position:"left"}):null,n=({index:l,allBlocks:d})=>(console.log("BlockBottom index:",l,r(l,d),i(d[l])),r(l,d)==="light"&&i(d[l])==="dark"?(console.log("BlockBottom index:",l,"returning dark bottom"),t(S,{position:"left"})):null),s=(l,d)=>{var v,y;if(l===0)return"light";let h=d[l-1];return"theme"in h&&((y=(v=h.theme)==null?void 0:v.settings)==null?void 0:y.theme)==="light"?"light":"dark"},r=(l,d)=>{var v,y;if(l===d.length-1)return"dark";if(l===0)return"light";let h=d[l+1];return"theme"in h&&((y=(v=h.theme)==null?void 0:v.settings)==null?void 0:y.theme)==="light"?"light":"dark"},i=l=>l.theme&&l.theme.settings.theme==="light"?"light":"dark";if(console.log("theme",e.block.theme,e.index),!e.block.theme||!e.block.theme.settings)return s(e.index,e.allBlocks)==="dark"?(console.log("no theme... index:",e.index,"continue as dark"),g("section",{id:e.block.name||"content-block",className:"w-full pt-12",children:[t("div",{className:o("absolute inset-0 w-screen dark bg-background")}),t("div",{className:o("container relative","dark bg-background"),children:e.children}),t(n,{index:e.index,allBlocks:e.allBlocks})]})):(console.log("no theme... index:",e.index,"new dark section"),g("section",{id:e.block.name||"content-block-start",className:"w-full",children:[t(m,{index:e.index,allBlocks:e.allBlocks}),t("div",{className:o("absolute inset-0 w-screen")}),g("div",{className:"bg-black",children:[t("div",{className:o("container relative","dark bg-background"),children:e.children}),t(n,{index:e.index,allBlocks:e.allBlocks})]})]}));if(!("theme"in e.block)||s(e.index,e.allBlocks)===i(e.block))return console.log("contiune theme. index:",e.index),console.log("prevBlockTheme:",e.index,s(e.index,e.allBlocks)),console.log("currentBlockTheme:",e.index,i(e.block)),console.log("nextBlockTheme:",e.index,r(e.index,e.allBlocks)),g("section",{id:e.block.name||"content-block-continue",className:"w-full pt-12",children:[t("div",{className:o("absolute inset-0 w-screen dark bg-background")}),t("div",{className:o("container relative","dark bg-background"),children:e.children})]});if(s(e.index,e.allBlocks)!==i(e.block)){console.log("new theme. index:",e.index,"theme:",i(e.block)),console.log("prevBlockTheme:",e.index,s(e.index,e.allBlocks)),console.log("currentBlockTheme:",e.index,i(e.block)),console.log("nextBlockTheme:",e.index,r(e.index,e.allBlocks)),console.log(e.index,"content: ",e.block);let l=i(e.block);return g("section",{id:e.block.blockName||"content-block-continue",className:"w-full",children:[t(m,{index:e.index,allBlocks:e.allBlocks}),t("div",{className:o("absolute inset-0 w-screen bg-background",l)}),t("div",{className:o("container relative","bg-background",l),children:e.children})]})}if(!("theme"in e.block))return g("div",{className:o("container h-full relative","dark"),children:[t("div",{className:o("absolute inset-0 w-screen h-full dark bg-background")}),e.children]});let c=(u=e.block)==null?void 0:u.theme;if(c.settings.background==="image"){let l={imagePosition:c.settings.imagePosition||"left",overlay:c.settings.overlay!==void 0?c.settings.overlay:!0};return g("div",{className:o("absolute inset-0 w-full h-full bg-background",c.settings.theme||"dark"),children:[t(I,{src:((R=(b=c.settings)==null?void 0:b.image)==null?void 0:R.url)||"/placeholder.svg",alt:((T=(P=c.settings)==null?void 0:P.image)==null?void 0:T.alt)||"",fill:!0,className:"object-cover",priority:!0}),c.settings.overlay&&t("div",{className:"absolute inset-0",style:{background:l.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 t("div",{className:o("absolute inset-0 w-screen h-full bg-background",c.settings.theme||"dark")})},A=({position:e})=>t("div",{className:"w-full aspect-[1920/332] z-20 relative bg-white",children:t("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"none",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain",transform:"rotateX(180deg)"},className:o("w-full block overflow-hidden"),children:t("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})}),S=({position:e})=>t("div",{className:"relative bg-white w-full z-20 aspect-[1920/332] overflow-hidden",children:t("div",{className:"relative w-full z-20 aspect-[1920/332] text-white bg-black",style:{clipPath:"polygon(0% 0%, 0% 40.66%, 65.36% 100%, 100% 0%)"}})});import{Fragment as D,jsx as f,jsxs as X}from"react/jsx-runtime";var z=e=>{let{customId:a,reusableContent:m}=e;return typeof m=="object"&&m!==null?f(_,{blocks:m.layout}):f(D,{})},W={content:w,cta:B,mediaBlock:k,imageBlock:k,features:x},_=e=>{let{blocks:a}=e;return a&&Array.isArray(a)&&a.length>0?f(D,{children:a.map((n,s)=>{var c,u;let{blockType:r}=n,i=n==null?void 0:n.theme;if(r&&r in W){let b=W[r];if(b)return X("div",{className:"py-6 relative",children:[f(C,{block:n,index:s}),f("div",{className:o(((c=i==null?void 0:i.settings)==null?void 0:c.theme)==="dark"?"dark":((u=i==null?void 0:i.settings)==null?void 0:u.theme)==="green"?"green":""),children:f(b,{...n})})]},s)}return null})}):null};export{z as a,M as b,C as c,V as d,L as e,A as f,S as g};
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as g,b as h,c as b}from"./chunk-FO4JQMF6.mjs";import{b as y}from"./chunk-CJMWAH7C.mjs";import{a as l}from"./chunk-NIQ4466A.mjs";import{useState as C,useEffect as D,useCallback as A}from"react";import{AnimatePresence as k,motion as v}from"framer-motion";import"pagedjs";import{Fragment as I,jsx as t,jsxs as w}from"react/jsx-runtime";var K=c=>{let[s,i]=C(0),{blocks:a,hero:x,logoImage:m}=c,N=a&&Array.isArray(a)&&a.length>0,n=[{id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},...a],S=e=>{i(e)},r=()=>{i(e=>(e+1)%n.length)},d=()=>{i(e=>(e-1+n.length)%n.length)},u=A(((e,o)=>{let f;return(...T)=>{clearTimeout(f),f=setTimeout(()=>e(...T),o)}})(e=>{e.deltaY>0?r():d()},300),[]),p=e=>{e.key==="ArrowDown"?r():e.key==="ArrowUp"&&d()};return D(()=>(window.addEventListener("wheel",u),window.addEventListener("keydown",p),()=>{window.removeEventListener("wheel",u),window.removeEventListener("keydown",p)}),[]),w("div",{className:"flex flex-col min-h-screen relative overflow-hidden",children:[t("div",{className:"fixed left-0 top-0 flex h-screen w-9 z-10 flex-col items-center justify-center bg-gray-900",children:N&&n.map((e,o)=>t("button",{className:`group relative flex items-center justify-center my-2 h-16 w-4 rounded-full transition-all hover:bg-accent duration-300 ${s===o?"bg-accent":"bg-gray-600"}`,onClick:()=>S(o),children:t("span",{className:"absolute ml-7 left-full text-left transform -translate-y-1/2 translate-x-0 rotate-90 origin-left whitespace-nowrap opacity-0 group-hover:opacity-100 group-hover:translate-x-2 transition-all duration-300",children:e.blockName})},e.id))}),t(k,{children:n.map((e,o)=>t("div",{id:`slide-${o}`,className:"print-section",children:t("div",{className:`absolute flex items-center justify-center transition-opacity duration-1000
4
+ import{a as g,b as h,c as b}from"./chunk-FO4JQMF6.mjs";import{b as y}from"./chunk-H6K4WVVT.mjs";import{a as l}from"./chunk-NIQ4466A.mjs";import{useState as C,useEffect as D,useCallback as A}from"react";import{AnimatePresence as k,motion as v}from"framer-motion";import"pagedjs";import{Fragment as I,jsx as t,jsxs as w}from"react/jsx-runtime";var K=c=>{let[s,i]=C(0),{blocks:a,hero:x,logoImage:m}=c,N=a&&Array.isArray(a)&&a.length>0,n=[{id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},...a],S=e=>{i(e)},r=()=>{i(e=>(e+1)%n.length)},d=()=>{i(e=>(e-1+n.length)%n.length)},u=A(((e,o)=>{let f;return(...T)=>{clearTimeout(f),f=setTimeout(()=>e(...T),o)}})(e=>{e.deltaY>0?r():d()},300),[]),p=e=>{e.key==="ArrowDown"?r():e.key==="ArrowUp"&&d()};return D(()=>(window.addEventListener("wheel",u),window.addEventListener("keydown",p),()=>{window.removeEventListener("wheel",u),window.removeEventListener("keydown",p)}),[]),w("div",{className:"flex flex-col min-h-screen relative overflow-hidden",children:[t("div",{className:"fixed left-0 top-0 flex h-screen w-9 z-10 flex-col items-center justify-center bg-gray-900",children:N&&n.map((e,o)=>t("button",{className:`group relative flex items-center justify-center my-2 h-16 w-4 rounded-full transition-all hover:bg-accent duration-300 ${s===o?"bg-accent":"bg-gray-600"}`,onClick:()=>S(o),children:t("span",{className:"absolute ml-7 left-full text-left transform -translate-y-1/2 translate-x-0 rotate-90 origin-left whitespace-nowrap opacity-0 group-hover:opacity-100 group-hover:translate-x-2 transition-all duration-300",children:e.blockName})},e.id))}),t(k,{children:n.map((e,o)=>t("div",{id:`slide-${o}`,className:"print-section",children:t("div",{className:`absolute flex items-center justify-center transition-opacity duration-1000
5
5
  ${o===s?"opacity-100":"opacity-0"}
6
6
  w-full h-full bg-cover bg-center`,children:o===0?t(b,{hero:x,title:c.title,logoImage:m}):w(I,{children:[e.blockName&&t(h,{title:e.blockName}),t(y,{blocks:[e],fill:!0}),t(g,{logoImage:m})]})})},o))}),t("button",{className:"absolute bottom-4 left-1 z-20 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:r,children:t(E,{})})]})},E=()=>t(k,{children:t(v.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.7,ease:[.76,0,.24,1]},className:l("w-fit min-h-[50px] min-w-[20px] p-1 border-2 rounded-full","border-accent"),children:t(v.div,{initial:{y:0},animate:{y:[0,25],opacity:[1,0]},transition:{duration:1,ease:"easeOut",repeat:1/0,repeatDelay:1},className:l("w-[12px] h-[12px] rounded-full","bg-accent")})})});export{K as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{f as m}from"./chunk-2OBJ2XBF.mjs";import{a as o}from"./chunk-44VMK4FL.mjs";import{a as s}from"./chunk-FCCL6W7R.mjs";import{a as c}from"./chunk-FZY4DR3G.mjs";import h from"next/image";import{jsx as e,jsxs as i}from"react/jsx-runtime";var x=({links:r,media:t,children:l,richText:a})=>e("div",{children:i("div",{className:"sticky top-0 h-[70vh] min-h-[600px]",children:[i("div",{className:"fixed inset-0 container mt-24 mb-8 z-10 flex items-start justify-center",children:[l||a&&e(m,{className:"max-w-none mb-6 ml-0 prose prose-headings:text-foreground prose-p:text-foreground",content:a,enableGutter:!0}),Array.isArray(r)&&r.length>0&&e("ul",{className:"flex justify-center gap-4",children:r.map(({link:n},p)=>e("li",{children:e(o,{...n})},p))})]}),i("div",{className:"fixed inset-0 h-[70vh] min-h-[600px] select-none",children:[t&&typeof t=="object"&&e(s,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&e("div",{children:e(h,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),e("span",{className:"absolute inset-0 bg-gradient-to-b from-white dark:from-black"})]}),e(c,{className:"text-black z-10",position:"header"})]})});export{x as a};
4
+ import{f as m}from"./chunk-2OBJ2XBF.mjs";import{a as o}from"./chunk-44VMK4FL.mjs";import{a as s}from"./chunk-FCCL6W7R.mjs";import{a as c}from"./chunk-4YUYG6QU.mjs";import h from"next/image";import{jsx as e,jsxs as i}from"react/jsx-runtime";var x=({links:r,media:t,children:l,richText:a})=>e("div",{children:i("div",{className:"sticky top-0 h-[70vh] min-h-[600px]",children:[i("div",{className:"fixed inset-0 container mt-24 mb-8 z-10 flex items-start justify-center",children:[l||a&&e(m,{className:"max-w-none mb-6 ml-0 prose prose-headings:text-foreground prose-p:text-foreground",content:a,enableGutter:!0}),Array.isArray(r)&&r.length>0&&e("ul",{className:"flex justify-center gap-4",children:r.map(({link:n},p)=>e("li",{children:e(o,{...n})},p))})]}),i("div",{className:"fixed inset-0 h-[70vh] min-h-[600px] select-none",children:[t&&typeof t=="object"&&e(s,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&e("div",{children:e(h,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),e("span",{className:"absolute inset-0 bg-gradient-to-b from-white dark:from-black"})]}),e(c,{className:"text-black z-10",position:"header"})]})});export{x as a};
@@ -1,5 +1,5 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{b as w,c as C}from"./chunk-FO4JQMF6.mjs";import{b as y}from"./chunk-CJMWAH7C.mjs";import{a as N}from"./chunk-NIQ4466A.mjs";import{a as b}from"./chunk-C5XNOZXC.mjs";import{useEffect as d,useRef as s,useState as E,useCallback as H}from"react";import{Previewer as p}from"pagedjs";import{Fragment as T,jsx as n,jsxs as l}from"react/jsx-runtime";function B(r){var e=document.createElement("div");e.style.display="block",e.style.height=r,document.body.appendChild(e);var i=parseFloat(window.getComputedStyle(e,null).height);return e.parentNode&&e.parentNode.removeChild(e),Math.floor(i)}var m=r=>{let e=document.createElement("div");e.style.height="1mm",document.body.appendChild(e);let i=parseFloat(window.getComputedStyle(e).height);return document.body.removeChild(e),Math.floor(r/i)},z=({page:r,layout:e="portrait",logoImage:i})=>e==="flow"?n(I,{page:r,layout:e,logoImage:i}):n(M,{page:r,layout:e,logoImage:i}),I=({page:r,layout:e="portrait",logoImage:i})=>{let{contentWithIds:c}=b(r),u=s(null),a=s(null),h=s(new p),f={id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}};d(()=>{let o=document.getElementById("printable-content");if(o){let t=document.createElement("style");return t.textContent=`@page { size: ${m(o.offsetWidth)}mm ${m(o.offsetHeight)}mm ; margin: 0mm; width: ${m(o.offsetWidth)}mm }; .container : { max-width: ${m(o.offsetWidth)}mm; } .container : { max-width: 100%; }; html body * :not(#prinable-content, #printable-content *) { visibility: hidden !important; }`,document.head.appendChild(t),()=>{document.head.removeChild(t)}}},[e]);let k=H(()=>{if(!a.current)return;a.current&&(a.current.innerHTML="");let o=document.getElementById("printable-content");o&&h.current.preview(document.getElementById("printable-content").innerHTML,[`@page { size: ${m(o.offsetWidth)}mm ${m(o.offsetHeight)}mm ; margin: 0mm; }; .container : { max-width: 100%; }; body { zoom: 100%;}`],a.current).catch(t=>console.error("Paged.js error:",t))},[e]);d(()=>{h.current=new p},[k,e]);let g=[f,...c];return l("div",{children:[n("div",{className:"w-[1123px] print:w-[1123px]",children:l("div",{id:"printable-content",ref:u,children:[g.map((o,t)=>n(T,{children:t===0?n("section",{className:"title-page w-full h-full",children:n(C,{hero:r.hero,title:r.title})},t):l("section",{className:"normal-page overflow-hidden",children:[o.blockName&&n(w,{title:o.blockName}),n(y,{blocks:[o],fill:!0})]},t)})),n("section",{className:"normal-page",children:l("div",{className:`w-full py-2 px-8 flex justify-between items-center
4
+ import{b as w,c as C}from"./chunk-FO4JQMF6.mjs";import{b as y}from"./chunk-H6K4WVVT.mjs";import{a as N}from"./chunk-NIQ4466A.mjs";import{a as b}from"./chunk-C5XNOZXC.mjs";import{useEffect as d,useRef as s,useState as E,useCallback as H}from"react";import{Previewer as p}from"pagedjs";import{Fragment as T,jsx as n,jsxs as l}from"react/jsx-runtime";function B(r){var e=document.createElement("div");e.style.display="block",e.style.height=r,document.body.appendChild(e);var i=parseFloat(window.getComputedStyle(e,null).height);return e.parentNode&&e.parentNode.removeChild(e),Math.floor(i)}var m=r=>{let e=document.createElement("div");e.style.height="1mm",document.body.appendChild(e);let i=parseFloat(window.getComputedStyle(e).height);return document.body.removeChild(e),Math.floor(r/i)},z=({page:r,layout:e="portrait",logoImage:i})=>e==="flow"?n(I,{page:r,layout:e,logoImage:i}):n(M,{page:r,layout:e,logoImage:i}),I=({page:r,layout:e="portrait",logoImage:i})=>{let{contentWithIds:c}=b(r),u=s(null),a=s(null),h=s(new p),f={id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}};d(()=>{let o=document.getElementById("printable-content");if(o){let t=document.createElement("style");return t.textContent=`@page { size: ${m(o.offsetWidth)}mm ${m(o.offsetHeight)}mm ; margin: 0mm; width: ${m(o.offsetWidth)}mm }; .container : { max-width: ${m(o.offsetWidth)}mm; } .container : { max-width: 100%; }; html body * :not(#prinable-content, #printable-content *) { visibility: hidden !important; }`,document.head.appendChild(t),()=>{document.head.removeChild(t)}}},[e]);let k=H(()=>{if(!a.current)return;a.current&&(a.current.innerHTML="");let o=document.getElementById("printable-content");o&&h.current.preview(document.getElementById("printable-content").innerHTML,[`@page { size: ${m(o.offsetWidth)}mm ${m(o.offsetHeight)}mm ; margin: 0mm; }; .container : { max-width: 100%; }; body { zoom: 100%;}`],a.current).catch(t=>console.error("Paged.js error:",t))},[e]);d(()=>{h.current=new p},[k,e]);let g=[f,...c];return l("div",{children:[n("div",{className:"w-[1123px] print:w-[1123px]",children:l("div",{id:"printable-content",ref:u,children:[g.map((o,t)=>n(T,{children:t===0?n("section",{className:"title-page w-full h-full",children:n(C,{hero:r.hero,title:r.title})},t):l("section",{className:"normal-page overflow-hidden",children:[o.blockName&&n(w,{title:o.blockName}),n(y,{blocks:[o],fill:!0})]},t)})),n("section",{className:"normal-page",children:l("div",{className:`w-full py-2 px-8 flex justify-between items-center
5
5
  dark bg-background text-primary`,children:[l("div",{className:"flex px-6 items-center space-x-2",children:[i&&n("img",{src:i.src,alt:"Cortex Reply Logo",className:"h-8"}),n("span",{className:"pl-12 text-sm",children:"Power up your people"})]}),n("a",{href:"https://cortexreply.com",className:"text-sm hover:underline",children:"cortexreply.com"})]})})]})}),n("div",{ref:a,className:"preview-container"})]})},M=({page:r,layout:e="portrait"})=>{let{contentWithIds:i}=b(r),c=s(null),u=s(null),a=s(new p),[h,f]=E(0),g=[{id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},...i],o=H(()=>{c.current&&(c.current&&(c.current.innerHTML=""),a.current.preview(document.getElementById("printable-content").innerHTML,["./print.css",e==="landscape"?"./landscape.css":"./portrait.css"],c.current).then(t=>f(t.pageCount)).catch(t=>console.error("Paged.js error:",t)))},[e]);return d(()=>{a.current=new p,o()},[o,e]),d(()=>{let t=document.createElement("style");return t.textContent=`@page { size: A4 ${e} ; margin: 0mm; };`,document.head.appendChild(t),()=>{document.head.removeChild(t)}},[]),l("div",{className:"pagedjs-container",children:[n("div",{id:"printable-content",ref:u,style:{display:"none"},className:"pagedjs-content",children:g.map((t,v)=>{var P,x;return n(T,{children:v===0?n("section",{className:"pagedjs-section title-page w-full h-full",children:n(C,{hero:r.hero,title:r.title})},v):l("section",{className:N("pagedjs-section normal-page h-[699px]",`h-[${B("185mm")}px]`,((x=(P=t.theme)==null?void 0:P.settings)==null?void 0:x.theme)==="dark"?"dark":"light"),children:[t.blockName&&n(w,{title:t.blockName}),n(y,{blocks:[t],fill:!0})]},v)})})}),n("div",{ref:c,className:"preview-container"})]})};export{z as a,I as b,M as c};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as F}from"./chunk-CHCARJTF.mjs";import{a as T}from"./chunk-GTYFC5BD.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 g}from"react/jsx-runtime";function ae({type:p="slideshow",orientation:d="landscape",...i}){let h=i.page,[C,n]=A(d),{contentWithIds:s,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:s,hero:i.hero,title:i.page.title,logoImage:i.logoImage})});if(p==="print")return g(J,{children:[e(U,{layout:C,changeLayout:n}),e(F,{page:i.page,layout:C,logoImage:i.logoImage})]})}var U=({changeLayout:p,layout:d="landscape"})=>{let i=async()=>{var s;if(d==="flow"){let a=(s=document.getElementById("printable-content"))==null?void 0:s.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=>{let s=document.getElementById(n);if(!s)throw new Error(`Element with id ${n} not found`);let a=document.createElement("canvas"),P=window.devicePixelRatio;a.width=Math.max(s.clientWidth||0)*P,a.height=Math.max(s.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(s.getElementsByTagName("img")).reduce((y,c)=>(y[c.src]=c,y),{});u.drawImage=function(...y){let[c,S,j,l,r,D,B,m,w]=y;if(c instanceof HTMLImageElement){let Y=z[c.src].style.objectFit||"fill",$=z[c.src].style.objectPosition||"center center";r=c.height,l=c.width;let L=l/r,b=m/w,[x,f]=$.split(" ");switch(f||(f=x),Y){case"cover":if(L>b){let t=r*b,o=(l-t)/2;x==="left"&&(o=0),x==="right"&&(o=l-t),S+=o,l=t}else{let t=l/b,o=(r-t)/2;f==="top"&&(o=0),f==="bottom"&&(o=r-t),j+=o,r=t}break;case"contain":if(L>b){let t=m/L,o=(w-t)/2;f==="top"&&(o=0),f==="bottom"&&(o=w-t),B+=o,w=t}else{let t=w*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,c,S,j,l,r,D,B,m,w)};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:g("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:[g("a",{onClick:i,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"}),g("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"})]}),g("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"})]}),g("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-O3CVEPMW.mjs";import{a as T}from"./chunk-K2SFDQHA.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 g}from"react/jsx-runtime";function ae({type:p="slideshow",orientation:d="landscape",...i}){let h=i.page,[C,n]=A(d),{contentWithIds:s,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:s,hero:i.hero,title:i.page.title,logoImage:i.logoImage})});if(p==="print")return g(J,{children:[e(U,{layout:C,changeLayout:n}),e(F,{page:i.page,layout:C,logoImage:i.logoImage})]})}var U=({changeLayout:p,layout:d="landscape"})=>{let i=async()=>{var s;if(d==="flow"){let a=(s=document.getElementById("printable-content"))==null?void 0:s.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=>{let s=document.getElementById(n);if(!s)throw new Error(`Element with id ${n} not found`);let a=document.createElement("canvas"),P=window.devicePixelRatio;a.width=Math.max(s.clientWidth||0)*P,a.height=Math.max(s.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(s.getElementsByTagName("img")).reduce((y,c)=>(y[c.src]=c,y),{});u.drawImage=function(...y){let[c,S,j,l,r,D,B,m,w]=y;if(c instanceof HTMLImageElement){let Y=z[c.src].style.objectFit||"fill",$=z[c.src].style.objectPosition||"center center";r=c.height,l=c.width;let L=l/r,b=m/w,[x,f]=$.split(" ");switch(f||(f=x),Y){case"cover":if(L>b){let t=r*b,o=(l-t)/2;x==="left"&&(o=0),x==="right"&&(o=l-t),S+=o,l=t}else{let t=l/b,o=(r-t)/2;f==="top"&&(o=0),f==="bottom"&&(o=r-t),j+=o,r=t}break;case"contain":if(L>b){let t=m/L,o=(w-t)/2;f==="top"&&(o=0),f==="bottom"&&(o=w-t),B+=o,w=t}else{let t=w*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,c,S,j,l,r,D,B,m,w)};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:g("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:[g("a",{onClick:i,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"}),g("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"})]}),g("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"})]}),g("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,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as s}from"./chunk-FZY4DR3G.mjs";import{a as m}from"./chunk-UESKYRNK.mjs";import{jsx as e,jsxs as t}from"react/jsx-runtime";function f({logoVideo:r,logoLight:l,logoDark:n,menuItems:d,title:o,subtitle:i}){let c=()=>{let a=document.getElementById("next-section");a&&a.scrollIntoView({behavior:"smooth"})};return e("div",{children:t("div",{className:"sticky top-0 h-screen",children:[t("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(m,{children:t("div",{className:"flex flex-col items-start md:w-2/3 mb-10 z-0 md:mb-0",children:[e("h1",{className:"text-5xl md:text-7xl mb-6",children:o&&o}),e("div",{className:"text-lg md:text-2xl text-gray-300 mb-8 max-w-lg",children:i&&i})]})})}),e(s,{className:"text-black z-10",position:"header"})]})})}export{f as a};
4
+ import{a as s}from"./chunk-4YUYG6QU.mjs";import{a as m}from"./chunk-UESKYRNK.mjs";import{jsx as e,jsxs as t}from"react/jsx-runtime";function f({logoVideo:r,logoLight:l,logoDark:n,menuItems:d,title:o,subtitle:i}){let c=()=>{let a=document.getElementById("next-section");a&&a.scrollIntoView({behavior:"smooth"})};return e("div",{children:t("div",{className:"sticky top-0 h-screen",children:[t("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(m,{children:t("div",{className:"flex flex-col items-start md:w-2/3 mb-10 z-0 md:mb-0",children:[e("h1",{className:"text-5xl md:text-7xl mb-6",children:o&&o}),e("div",{className:"text-lg md:text-2xl text-gray-300 mb-8 max-w-lg",children:i&&i})]})})}),e(s,{className:"text-black z-10",position:"header"})]})})}export{f 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-NFKHGNX5.mjs";import{a}from"./chunk-HDTY4G45.mjs";import{a as d}from"./chunk-VKYDAH7Y.mjs";import{a as n}from"./chunk-4J7K65LS.mjs";import{a as u}from"./chunk-WU3JMLSC.mjs";import{a as S}from"./chunk-BZAYEKYC.mjs";import{a as t}from"./chunk-K7HMLEAG.mjs";import{a as i}from"./chunk-JFR3WUHP.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-NFKHGNX5.mjs";import{a}from"./chunk-HDTY4G45.mjs";import{a as d}from"./chunk-VKYDAH7Y.mjs";import{a as n}from"./chunk-4J7K65LS.mjs";import{a as u}from"./chunk-WU3JMLSC.mjs";import{a as S}from"./chunk-BZAYEKYC.mjs";import{a as t}from"./chunk-TEORJDWG.mjs";import{a as i}from"./chunk-JFR3WUHP.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};
@@ -8,3 +8,19 @@ export declare const Theme: React.FC<{
8
8
  block: any;
9
9
  index: number;
10
10
  }>;
11
+ export declare const RenderBlocksWithShapes: React.FC<{
12
+ blocks: Page['layout'][0][];
13
+ fill?: boolean;
14
+ }>;
15
+ export declare const ThemeWithShapes: React.FC<{
16
+ block: any;
17
+ allBlocks: Page['layout'][0][];
18
+ index: number;
19
+ children: React.ReactNode;
20
+ }>;
21
+ interface PageShapeProps {
22
+ position?: 'left' | 'right' | 'random';
23
+ }
24
+ export declare const DarkTop: React.FC<PageShapeProps>;
25
+ export declare const DarkBottom: React.FC<PageShapeProps>;
26
+ export {};