cortex-react-components 1.57.11 → 1.58.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (171) hide show
  1. package/dist/{chunk-RQJTX4RH.mjs → chunk-3GYJDXNA.mjs} +1 -1
  2. package/dist/{chunk-JH6KWM3J.mjs → chunk-5DV435RE.mjs} +1 -1
  3. package/dist/{chunk-YUJMW5S2.mjs → chunk-5VN6PZPM.mjs} +1 -1
  4. package/dist/{chunk-4YJ3HV64.mjs → chunk-6DHYRATS.mjs} +1 -1
  5. package/dist/{chunk-L36FDQDJ.mjs → chunk-73MDEHPR.mjs} +1 -1
  6. package/dist/{chunk-V5N56VWG.mjs → chunk-7IZ2X75V.mjs} +1 -1
  7. package/dist/{chunk-F2FWXTP2.mjs → chunk-BVTYCPMN.mjs} +1 -1
  8. package/dist/{chunk-7KGKA366.mjs → chunk-BZ2UQENB.mjs} +1 -1
  9. package/dist/{chunk-XGNF75KY.mjs → chunk-CSNKYRV5.mjs} +1 -1
  10. package/dist/{chunk-7I7R6NLO.mjs → chunk-DBBGAANE.mjs} +1 -1
  11. package/dist/{chunk-6R3XIKZA.mjs → chunk-DZYUZVJJ.mjs} +1 -1
  12. package/dist/{chunk-5AOTUGTY.mjs → chunk-EQNHLIHD.mjs} +1 -1
  13. package/dist/chunk-FEPYCAGJ.mjs +4 -0
  14. package/dist/{chunk-VJY7XPWL.mjs → chunk-FXBGJHV5.mjs} +1 -1
  15. package/dist/{chunk-ZIWHUQ4D.mjs → chunk-HER7J6HM.mjs} +1 -1
  16. package/dist/chunk-HVHUFF2S.mjs +1 -0
  17. package/dist/{chunk-5PISVFWK.mjs → chunk-HWF26OCH.mjs} +1 -1
  18. package/dist/{chunk-FCCL6W7R.mjs → chunk-JPFBD2KD.mjs} +1 -1
  19. package/dist/{chunk-3JBSB22N.mjs → chunk-JWOXXQVU.mjs} +1 -1
  20. package/dist/chunk-KBICGIFJ.mjs +4 -0
  21. package/dist/{chunk-5RBQ77B3.mjs → chunk-KQJLOUAU.mjs} +1 -1
  22. package/dist/{chunk-KSM3ANPF.mjs → chunk-MI5INF4Z.mjs} +1 -1
  23. package/dist/{chunk-BPNYTLNT.mjs → chunk-N6DAFURD.mjs} +1 -1
  24. package/dist/{chunk-HQYTCPWJ.mjs → chunk-NCHGLVBP.mjs} +1 -1
  25. package/dist/{chunk-ZSUPFOXY.mjs → chunk-PJSCXNH4.mjs} +1 -1
  26. package/dist/{chunk-2A6JF3LE.mjs → chunk-RJGKFNZL.mjs} +1 -1
  27. package/dist/chunk-RKOFDQMG.mjs +1 -0
  28. package/dist/{chunk-Q5FMCLLU.mjs → chunk-RMX3YKSS.mjs} +1 -1
  29. package/dist/{chunk-F55C2C5H.mjs → chunk-RQ23CZK5.mjs} +1 -1
  30. package/dist/{chunk-WRPTP2UD.mjs → chunk-S7I4XJS6.mjs} +1 -1
  31. package/dist/{chunk-57YERGED.mjs → chunk-SASRX7CE.mjs} +1 -1
  32. package/dist/{chunk-Y74ENEUN.mjs → chunk-SPAW5K3E.mjs} +1 -1
  33. package/dist/{chunk-YLJVFQO2.mjs → chunk-SRDGEJI2.mjs} +1 -1
  34. package/dist/{chunk-UH44KM6Z.mjs → chunk-SZHV3XVB.mjs} +1 -1
  35. package/dist/{chunk-67KS5YFZ.mjs → chunk-T4I5D4XZ.mjs} +1 -1
  36. package/dist/{chunk-OMKNW65S.mjs → chunk-TIRMZCEM.mjs} +1 -1
  37. package/dist/{chunk-OKPPMTH4.mjs → chunk-V23ZMV5O.mjs} +1 -1
  38. package/dist/{chunk-KRNWLSLQ.mjs → chunk-VHLI76DR.mjs} +1 -1
  39. package/dist/{chunk-ICKMUS6D.mjs → chunk-W2KYFKE4.mjs} +1 -1
  40. package/dist/{chunk-OCXU6DZY.mjs → chunk-WZ3TEDR2.mjs} +1 -1
  41. package/dist/{chunk-KEE2V4EL.mjs → chunk-X2RZFRS5.mjs} +1 -1
  42. package/dist/{chunk-MGS3DQ22.mjs → chunk-XXTN5HMN.mjs} +1 -1
  43. package/dist/components/Blocks/Banner.mjs +1 -1
  44. package/dist/components/Blocks/CallToAction.mjs +1 -1
  45. package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
  46. package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
  47. package/dist/components/Blocks/CollapsibleArea.stories.mjs +1 -1
  48. package/dist/components/Blocks/Content.mjs +1 -1
  49. package/dist/components/Blocks/Content.stories.mjs +1 -1
  50. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  51. package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
  52. package/dist/components/Blocks/ImageBlock.mjs +1 -1
  53. package/dist/components/Blocks/MediaBlock.mjs +1 -1
  54. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  55. package/dist/components/Blocks/RenderBlocks.d.ts +16 -0
  56. package/dist/components/Blocks/RenderBlocks.js +1 -1
  57. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  58. package/dist/components/Blocks/ReusableContentBlock.js +1 -1
  59. package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
  60. package/dist/components/Blocks/index.js +1 -1
  61. package/dist/components/Blocks/index.mjs +1 -1
  62. package/dist/components/CRM/DealDetails.mjs +1 -1
  63. package/dist/components/CRM/DealDetails.stories.mjs +1 -1
  64. package/dist/components/CRM/KanbanBoard.mjs +1 -1
  65. package/dist/components/CRM/KanbanBoard.stories.mjs +1 -1
  66. package/dist/components/CRM/KanbanColumn.mjs +1 -1
  67. package/dist/components/CRM/KanbanColumn.stories.mjs +1 -1
  68. package/dist/components/CRM/index.mjs +1 -1
  69. package/dist/components/Cards/ContentCard.mjs +1 -1
  70. package/dist/components/Cards/ContentCard.stories.mjs +1 -1
  71. package/dist/components/Cards/FeatureCard.mjs +1 -1
  72. package/dist/components/Cards/FeatureCard.stories.mjs +1 -1
  73. package/dist/components/Cards/index.mjs +1 -1
  74. package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
  75. package/dist/components/DigitalColleagues/MainPage.stories.mjs +1 -1
  76. package/dist/components/HeaderFooter/Header.mjs +1 -1
  77. package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
  78. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  79. package/dist/components/HeaderFooter/index.mjs +1 -1
  80. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  81. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  82. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  83. package/dist/components/Heros/PostHero/index.mjs +1 -1
  84. package/dist/components/Heros/RenderHero.mjs +1 -1
  85. package/dist/components/Heros/index.mjs +1 -1
  86. package/dist/components/Holidays/ApproveLeave.mjs +1 -1
  87. package/dist/components/Holidays/ApproveLeave.stories.mjs +1 -1
  88. package/dist/components/Holidays/HolidayGrid.mjs +1 -1
  89. package/dist/components/Holidays/HolidayGrid.stories.mjs +1 -1
  90. package/dist/components/Holidays/HolidayTracker.mjs +1 -1
  91. package/dist/components/Holidays/HolidayTracker.stories.mjs +1 -1
  92. package/dist/components/Holidays/index.mjs +1 -1
  93. package/dist/components/Layouts/FeatureGrid.stories.mjs +1 -1
  94. package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
  95. package/dist/components/Layouts/Print.js +2 -2
  96. package/dist/components/Layouts/Print.mjs +1 -1
  97. package/dist/components/Layouts/Print.stories.js +1 -1
  98. package/dist/components/Layouts/Print.stories.mjs +1 -1
  99. package/dist/components/Layouts/SlideShow.js +3 -3
  100. package/dist/components/Layouts/SlideShow.mjs +1 -1
  101. package/dist/components/Layouts/SlideShow.stories.js +3 -3
  102. package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
  103. package/dist/components/Layouts/index.js +5 -5
  104. package/dist/components/Layouts/index.mjs +1 -1
  105. package/dist/components/Menus/index.mjs +1 -1
  106. package/dist/components/Payload/Card/index.mjs +1 -1
  107. package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
  108. package/dist/components/Payload/Media/index.mjs +1 -1
  109. package/dist/components/Payload/RichText/index.mjs +1 -1
  110. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  111. package/dist/components/Payload/RichText.stories.mjs +1 -1
  112. package/dist/components/Payload/index.mjs +1 -1
  113. package/dist/components/index.js +8 -8
  114. package/dist/components/index.mjs +1 -1
  115. package/dist/components/ui/index.mjs +1 -1
  116. package/dist/index.js +12 -12
  117. package/dist/index.mjs +1 -1
  118. package/dist/metafile-cjs.json +1 -1
  119. package/dist/metafile-esm.json +1 -1
  120. package/dist/pages/Blog.mjs +1 -1
  121. package/dist/pages/Blog.stories.mjs +1 -1
  122. package/dist/pages/Documentation.mjs +1 -1
  123. package/dist/pages/Documentation.stories.mjs +1 -1
  124. package/dist/pages/IndexPage.mjs +1 -1
  125. package/dist/pages/IndexPage.stories.mjs +1 -1
  126. package/dist/pages/Intranet.mjs +1 -1
  127. package/dist/pages/Intranet.stories.mjs +1 -1
  128. package/dist/pages/LandingPage.mjs +1 -1
  129. package/dist/pages/LandingPage.stories.mjs +1 -1
  130. package/dist/pages/Page.mjs +1 -1
  131. package/dist/pages/Page.stories.mjs +1 -1
  132. package/dist/pages/Printable.stories.js +4 -4
  133. package/dist/pages/Printable.stories.mjs +1 -1
  134. package/dist/pages/Publish.js +5 -5
  135. package/dist/pages/Publish.mjs +1 -1
  136. package/dist/pages/Publish.stories.js +4 -4
  137. package/dist/pages/Publish.stories.mjs +1 -1
  138. package/dist/pages/Website.js +1 -1
  139. package/dist/pages/Website.mjs +1 -1
  140. package/dist/pages/Website.stories.js +1 -1
  141. package/dist/pages/Website.stories.mjs +1 -1
  142. package/dist/sections/AboutSection.mjs +1 -1
  143. package/dist/sections/AboutSection.stories.mjs +1 -1
  144. package/dist/sections/BlogDetail.mjs +1 -1
  145. package/dist/sections/BlogDetail.stories.mjs +1 -1
  146. package/dist/sections/BlogList.mjs +1 -1
  147. package/dist/sections/BlogList.stories.mjs +1 -1
  148. package/dist/sections/BlogListSection.mjs +1 -1
  149. package/dist/sections/BlogListSection.stories.mjs +1 -1
  150. package/dist/sections/ContactSection.mjs +1 -1
  151. package/dist/sections/ContactSection.stories.mjs +1 -1
  152. package/dist/sections/ImageSection.stories.mjs +1 -1
  153. package/dist/sections/MainPageSection.js +1 -1
  154. package/dist/sections/MainPageSection.mjs +1 -1
  155. package/dist/sections/PageSections.mjs +1 -1
  156. package/dist/sections/PageSections.stories.mjs +1 -1
  157. package/dist/sections/PricingSection.mjs +1 -1
  158. package/dist/sections/PricingSection.stories.mjs +1 -1
  159. package/dist/sections/ServiceDetailList.js +1 -1
  160. package/dist/sections/ServiceDetailList.mjs +1 -1
  161. package/dist/sections/ServiceDetailSection.mjs +1 -1
  162. package/dist/sections/ServiceDetailSection.stories.mjs +1 -1
  163. package/dist/sections/ServiceSection.mjs +1 -1
  164. package/dist/sections/ServiceSection.stories.mjs +1 -1
  165. package/dist/sections/index.js +2 -2
  166. package/dist/sections/index.mjs +1 -1
  167. package/package.json +1 -1
  168. package/dist/chunk-BDRS3ZIV.mjs +0 -1
  169. package/dist/chunk-L4FTRAKV.mjs +0 -4
  170. package/dist/chunk-SP6YCTLD.mjs +0 -1
  171. package/dist/chunk-VKR2MJ5F.mjs +0 -4
@@ -1,4 +0,0 @@
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",{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};
@@ -1 +0,0 @@
1
- import{a as b}from"./chunk-57YERGED.mjs";import{a as k}from"./chunk-6R3XIKZA.mjs";import{c as f,d}from"./chunk-KEE2V4EL.mjs";import{a as m}from"./chunk-2A6JF3LE.mjs";import{a as l}from"./chunk-NIQ4466A.mjs";import{Fragment as F}from"react";import N from"next/image";import{jsx as s,jsxs as v}from"react/jsx-runtime";var C={content:k,cta:f,mediaBlock:m,collapsibleArea:b,imageBlock:m,features:d,reusableContentBlock:B},P=a=>{let{blocks:e}=a;return e&&Array.isArray(e)&&e.length>0?s("section",{id:"render-blocks",className:l(a.fill?"h-full w-full":""),children:e.map((t,r)=>{var c;console.log("block",t);let{blockType:n}=t,o=t==null?void 0:t.theme;if(n&&n in C){let g=C[n];if(n==="reusableContentBlock")return s(F,{children:s(P,{blocks:t.reusableContent.layout})},r);if(g)return v("div",{className:l("py-6 relative",a.fill&&"flex h-full items-center justify-center"),children:[s(p,{block:t,index:r}),s("div",{className:l("container h-full relative",((c=o==null?void 0:o.settings)==null?void 0:c.theme)||"dark"),children:s(g,{...t})})]},r)}return null})}):null},p=a=>{var i,t,r,n,o;if(!("theme"in a.block))return s("div",{className:l("absolute inset-0 w-screen h-full dark bg-background")});let e=(i=a.block)==null?void 0:i.theme;if(e.settings.background==="image"){let c={imagePosition:e.settings.imagePosition||"left",overlay:e.settings.overlay!==void 0?e.settings.overlay:!0};return v("div",{className:l("absolute inset-0 w-full h-full bg-background",e.settings.theme||"dark"),children:[s(N,{src:((r=(t=e.settings)==null?void 0:t.image)==null?void 0:r.url)||"/placeholder.svg",alt:((o=(n=e.settings)==null?void 0:n.image)==null?void 0:o.alt)||"",fill:!0,className:"object-cover",priority:!0}),e.settings.overlay&&s("div",{className:"absolute inset-0",style:{background:c.imagePosition==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]})}return s("div",{className:l("absolute inset-0 w-screen h-full bg-background",e.settings.theme||"dark")})};import{Fragment as R,jsx as u,jsxs as A}from"react/jsx-runtime";var B=a=>{let{customId:e,reusableContent:i}=a;return typeof i=="object"&&i!==null?u(T,{blocks:i.layout}):u(R,{})},h={content:k,cta:f,mediaBlock:m,imageBlock:m,features:d},T=a=>{let{blocks:e}=a;return e&&Array.isArray(e)&&e.length>0?u(R,{children:e.map((t,r)=>{var c,g;let{blockType:n}=t,o=t==null?void 0:t.theme;if(n&&n in h){let y=h[n];if(y)return A("div",{className:"py-6 relative",children:[u(p,{block:t,index:r}),u("div",{className:l(((c=o==null?void 0:o.settings)==null?void 0:c.theme)==="dark"?"dark":((g=o==null?void 0:o.settings)==null?void 0:g.theme)==="green"?"green":""),children:u(y,{...t})})]},r)}return null})}):null};export{B as a,P as b,p as c};
@@ -1,4 +0,0 @@
1
- "use client";
2
- "use strict";
3
-
4
- import{a as S}from"./chunk-OCXU6DZY.mjs";import{a as P}from"./chunk-YLJVFQO2.mjs";import{a as w,b as C}from"./chunk-7I7R6NLO.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 x}from"./chunk-OMKNW65S.mjs";import{a as N}from"./chunk-3JBSB22N.mjs";import{a as g}from"./chunk-F2FWXTP2.mjs";import{c as f,f as d}from"./chunk-KEE2V4EL.mjs";import{a as v}from"./chunk-FCCL6W7R.mjs";import{b as u}from"./chunk-BDX257W2.mjs";import{a as s}from"./chunk-FZY4DR3G.mjs";import{a as b}from"./chunk-JFR3WUHP.mjs";import{a as k}from"./chunk-F55C2C5H.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-1 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};