cortex-react-components 1.57.3 → 1.57.5

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 (235) hide show
  1. package/dist/{chunk-RJGKFNZL.mjs → chunk-2A6JF3LE.mjs} +1 -1
  2. package/dist/{chunk-6YWAX7NS.mjs → chunk-3GYJDXNA.mjs} +1 -1
  3. package/dist/{chunk-MM5OSOUI.mjs → chunk-3I4XHS42.mjs} +1 -1
  4. package/dist/{chunk-K67FCLDS.mjs → chunk-4RK4VTRH.mjs} +1 -1
  5. package/dist/{chunk-6DHYRATS.mjs → chunk-4YJ3HV64.mjs} +1 -1
  6. package/dist/{chunk-D7A7EUEW.mjs → chunk-5RBQ77B3.mjs} +1 -1
  7. package/dist/{chunk-RHFQGS7Z.mjs → chunk-6ADM6HQ7.mjs} +1 -1
  8. package/dist/{chunk-CXKLWUAK.mjs → chunk-7GRSRDRK.mjs} +1 -1
  9. package/dist/{chunk-CQKKIQQF.mjs → chunk-A5QVDBHE.mjs} +1 -1
  10. package/dist/{chunk-GINMTZ73.mjs → chunk-C6ZRTW77.mjs} +1 -1
  11. package/dist/{chunk-477QNPYL.mjs → chunk-DPSSRRNU.mjs} +1 -1
  12. package/dist/{chunk-RQ23CZK5.mjs → chunk-F55C2C5H.mjs} +1 -1
  13. package/dist/{chunk-JPFBD2KD.mjs → chunk-FCCL6W7R.mjs} +1 -1
  14. package/dist/{chunk-S5VKLW23.mjs → chunk-FPX5SXGK.mjs} +1 -1
  15. package/dist/{chunk-NKA2IR7R.mjs → chunk-GQNXTNY6.mjs} +1 -1
  16. package/dist/{chunk-EINDPOMP.mjs → chunk-HTBDHDEC.mjs} +1 -1
  17. package/dist/{chunk-2IKC7MAP.mjs → chunk-KB6PO4K4.mjs} +1 -1
  18. package/dist/{chunk-KMSKXSSJ.mjs → chunk-KF3JYZNM.mjs} +1 -1
  19. package/dist/{chunk-23BDC5JG.mjs → chunk-KIICLHKI.mjs} +1 -1
  20. package/dist/{chunk-SFNKSGUS.mjs → chunk-LM6OSVO3.mjs} +1 -1
  21. package/dist/{chunk-LSXC453E.mjs → chunk-LRAKNI5P.mjs} +1 -1
  22. package/dist/{chunk-XXTN5HMN.mjs → chunk-MGS3DQ22.mjs} +1 -1
  23. package/dist/chunk-MNPULCJM.mjs +1 -0
  24. package/dist/{chunk-B55YKZXE.mjs → chunk-MRHNQDVT.mjs} +1 -1
  25. package/dist/{chunk-OUMIALPT.mjs → chunk-MRKBOXYO.mjs} +1 -1
  26. package/dist/{chunk-2SU53XDR.mjs → chunk-NCHGLVBP.mjs} +1 -1
  27. package/dist/{chunk-VVV34UUI.mjs → chunk-O2KYTGOI.mjs} +1 -1
  28. package/dist/{chunk-FJ3ERQJY.mjs → chunk-O5ZDJECO.mjs} +1 -1
  29. package/dist/{chunk-PIM2JQYT.mjs → chunk-OUKKI47A.mjs} +1 -1
  30. package/dist/{chunk-THIAL3Q7.mjs → chunk-P3WLGABW.mjs} +1 -1
  31. package/dist/chunk-P6NPG5CF.mjs +4 -0
  32. package/dist/{chunk-QMFZRG7O.mjs → chunk-PY53YVFX.mjs} +1 -1
  33. package/dist/{chunk-Y3UCENWX.mjs → chunk-Q7KEK74G.mjs} +1 -1
  34. package/dist/{chunk-GPVKSBNX.mjs → chunk-QGJ63NRB.mjs} +1 -1
  35. package/dist/{chunk-RXNQUZKC.mjs → chunk-S4QYSDUZ.mjs} +1 -1
  36. package/dist/{chunk-WRPTP2UD.mjs → chunk-S7I4XJS6.mjs} +1 -1
  37. package/dist/{chunk-IO222G5L.mjs → chunk-SBAFXZVU.mjs} +1 -1
  38. package/dist/{chunk-B6A5R6IB.mjs → chunk-SUK2L2WB.mjs} +1 -1
  39. package/dist/{chunk-D44ZXHH4.mjs → chunk-T4I5D4XZ.mjs} +1 -1
  40. package/dist/{chunk-TZE7RZAV.mjs → chunk-V5N56VWG.mjs} +1 -1
  41. package/dist/{chunk-76GK6RGP.mjs → chunk-WNDVHKHU.mjs} +1 -1
  42. package/dist/{chunk-5ULWMBBF.mjs → chunk-X624OP4G.mjs} +1 -1
  43. package/dist/chunk-XWUY2XZO.mjs +4 -0
  44. package/dist/{chunk-MRDO6JFU.mjs → chunk-Z5ISLIAV.mjs} +1 -1
  45. package/dist/{chunk-CLSN4UGB.mjs → chunk-Z5S25LAQ.mjs} +1 -1
  46. package/dist/{chunk-4TCLIMFP.mjs → chunk-Z7P4QOKT.mjs} +1 -1
  47. package/dist/{chunk-HER7J6HM.mjs → chunk-ZIWHUQ4D.mjs} +1 -1
  48. package/dist/components/Blocks/Banner.js +1 -1
  49. package/dist/components/Blocks/Banner.mjs +1 -1
  50. package/dist/components/Blocks/CallToAction.js +1 -1
  51. package/dist/components/Blocks/CallToAction.mjs +1 -1
  52. package/dist/components/Blocks/CallToAction.stories.js +1 -1
  53. package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
  54. package/dist/components/Blocks/CollapsibleArea.js +1 -1
  55. package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
  56. package/dist/components/Blocks/CollapsibleArea.stories.js +1 -1
  57. package/dist/components/Blocks/CollapsibleArea.stories.mjs +1 -1
  58. package/dist/components/Blocks/Content.js +1 -1
  59. package/dist/components/Blocks/Content.mjs +1 -1
  60. package/dist/components/Blocks/Content.stories.js +1 -1
  61. package/dist/components/Blocks/Content.stories.mjs +1 -1
  62. package/dist/components/Blocks/FeaturesBlock.js +1 -1
  63. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  64. package/dist/components/Blocks/FeaturesBlock.stories.js +1 -1
  65. package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
  66. package/dist/components/Blocks/ImageBlock.mjs +1 -1
  67. package/dist/components/Blocks/MediaBlock.mjs +1 -1
  68. package/dist/components/Blocks/RelatedPosts.js +1 -1
  69. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  70. package/dist/components/Blocks/RenderBlocks.js +1 -1
  71. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  72. package/dist/components/Blocks/ReusableContentBlock.js +1 -1
  73. package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
  74. package/dist/components/Blocks/index.js +1 -1
  75. package/dist/components/Blocks/index.mjs +1 -1
  76. package/dist/components/CRM/DealDetails.mjs +1 -1
  77. package/dist/components/CRM/DealDetails.stories.mjs +1 -1
  78. package/dist/components/CRM/KanbanBoard.mjs +1 -1
  79. package/dist/components/CRM/KanbanBoard.stories.mjs +1 -1
  80. package/dist/components/CRM/KanbanColumn.mjs +1 -1
  81. package/dist/components/CRM/KanbanColumn.stories.mjs +1 -1
  82. package/dist/components/CRM/NewDealForm.mjs +1 -1
  83. package/dist/components/CRM/NewDealForm.stories.mjs +1 -1
  84. package/dist/components/CRM/index.mjs +1 -1
  85. package/dist/components/Cards/ContentCard.js +1 -1
  86. package/dist/components/Cards/ContentCard.mjs +1 -1
  87. package/dist/components/Cards/ContentCard.stories.js +1 -1
  88. package/dist/components/Cards/ContentCard.stories.mjs +1 -1
  89. package/dist/components/Cards/FeatureCard.js +1 -1
  90. package/dist/components/Cards/FeatureCard.mjs +1 -1
  91. package/dist/components/Cards/FeatureCard.stories.js +1 -1
  92. package/dist/components/Cards/FeatureCard.stories.mjs +1 -1
  93. package/dist/components/Cards/index.js +1 -1
  94. package/dist/components/Cards/index.mjs +1 -1
  95. package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +1 -1
  96. package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
  97. package/dist/components/DigitalColleagues/MainPage.stories.mjs +1 -1
  98. package/dist/components/HeaderFooter/Header.mjs +1 -1
  99. package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
  100. package/dist/components/HeaderFooter/SectionHeading.js +1 -1
  101. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  102. package/dist/components/HeaderFooter/VideoHeader.js +1 -1
  103. package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
  104. package/dist/components/HeaderFooter/index.js +1 -1
  105. package/dist/components/HeaderFooter/index.mjs +1 -1
  106. package/dist/components/Heros/HighImpact/index.js +1 -1
  107. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  108. package/dist/components/Heros/LowImpact/index.js +1 -1
  109. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  110. package/dist/components/Heros/MediumImpact/index.js +1 -1
  111. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  112. package/dist/components/Heros/PostHero/index.mjs +1 -1
  113. package/dist/components/Heros/RenderHero.js +1 -1
  114. package/dist/components/Heros/RenderHero.mjs +1 -1
  115. package/dist/components/Heros/SectionHero/index.js +1 -1
  116. package/dist/components/Heros/SectionHero/index.mjs +1 -1
  117. package/dist/components/Heros/index.js +1 -1
  118. package/dist/components/Heros/index.mjs +1 -1
  119. package/dist/components/Layouts/FeatureGrid.stories.js +1 -1
  120. package/dist/components/Layouts/FeatureGrid.stories.mjs +1 -1
  121. package/dist/components/Layouts/OutputHeaderFooter.js +1 -1
  122. package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
  123. package/dist/components/Layouts/Print.js +1 -1
  124. package/dist/components/Layouts/Print.mjs +1 -1
  125. package/dist/components/Layouts/Print.stories.js +1 -1
  126. package/dist/components/Layouts/Print.stories.mjs +1 -1
  127. package/dist/components/Layouts/SlideShow.js +1 -1
  128. package/dist/components/Layouts/SlideShow.mjs +1 -1
  129. package/dist/components/Layouts/SlideShow.stories.js +1 -1
  130. package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
  131. package/dist/components/Layouts/index.js +1 -1
  132. package/dist/components/Layouts/index.mjs +1 -1
  133. package/dist/components/Menus/SidebarLeft.mjs +1 -1
  134. package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
  135. package/dist/components/Menus/SidebarRight.mjs +1 -1
  136. package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
  137. package/dist/components/Menus/index.mjs +1 -1
  138. package/dist/components/Other/PageShape.js +1 -1
  139. package/dist/components/Other/PageShape.mjs +1 -1
  140. package/dist/components/Other/index.js +1 -1
  141. package/dist/components/Other/index.mjs +1 -1
  142. package/dist/components/Payload/Card/index.mjs +1 -1
  143. package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
  144. package/dist/components/Payload/Media/index.mjs +1 -1
  145. package/dist/components/Payload/RichText/index.js +1 -1
  146. package/dist/components/Payload/RichText/index.mjs +1 -1
  147. package/dist/components/Payload/RichText/serialize.js +1 -1
  148. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  149. package/dist/components/Payload/RichText.stories.js +1 -1
  150. package/dist/components/Payload/RichText.stories.mjs +1 -1
  151. package/dist/components/Payload/index.js +1 -1
  152. package/dist/components/Payload/index.mjs +1 -1
  153. package/dist/components/index.js +4 -4
  154. package/dist/components/index.mjs +1 -1
  155. package/dist/components/ui/index.mjs +1 -1
  156. package/dist/components/ui/sidebar.mjs +1 -1
  157. package/dist/globals.css +1 -1
  158. package/dist/hooks/index.mjs +1 -1
  159. package/dist/index.js +5 -5
  160. package/dist/index.mjs +1 -1
  161. package/dist/metafile-cjs.json +1 -1
  162. package/dist/metafile-esm.json +1 -1
  163. package/dist/pages/Blog.js +1 -1
  164. package/dist/pages/Blog.mjs +1 -1
  165. package/dist/pages/Blog.stories.js +1 -1
  166. package/dist/pages/Blog.stories.mjs +1 -1
  167. package/dist/pages/Documentation.mjs +1 -1
  168. package/dist/pages/Documentation.stories.mjs +1 -1
  169. package/dist/pages/IndexPage.mjs +1 -1
  170. package/dist/pages/IndexPage.stories.mjs +1 -1
  171. package/dist/pages/Intranet.mjs +1 -1
  172. package/dist/pages/Intranet.stories.mjs +1 -1
  173. package/dist/pages/LandingPage.js +1 -1
  174. package/dist/pages/LandingPage.mjs +1 -1
  175. package/dist/pages/LandingPage.stories.js +3 -3
  176. package/dist/pages/LandingPage.stories.mjs +1 -1
  177. package/dist/pages/Page.js +1 -1
  178. package/dist/pages/Page.mjs +1 -1
  179. package/dist/pages/Page.stories.js +140 -140
  180. package/dist/pages/Page.stories.mjs +1 -1
  181. package/dist/pages/Printable.stories.js +1 -1
  182. package/dist/pages/Printable.stories.mjs +1 -1
  183. package/dist/pages/Publish.js +1 -1
  184. package/dist/pages/Publish.mjs +1 -1
  185. package/dist/pages/Publish.stories.js +1 -1
  186. package/dist/pages/Publish.stories.mjs +1 -1
  187. package/dist/pages/Website.js +1 -1
  188. package/dist/pages/Website.mjs +1 -1
  189. package/dist/pages/Website.stories.js +1 -1
  190. package/dist/pages/Website.stories.mjs +1 -1
  191. package/dist/sections/AboutSection.js +1 -1
  192. package/dist/sections/AboutSection.mjs +1 -1
  193. package/dist/sections/AboutSection.stories.js +1 -1
  194. package/dist/sections/AboutSection.stories.mjs +1 -1
  195. package/dist/sections/BlogDetail.js +1 -1
  196. package/dist/sections/BlogDetail.mjs +1 -1
  197. package/dist/sections/BlogDetail.stories.js +1 -1
  198. package/dist/sections/BlogDetail.stories.mjs +1 -1
  199. package/dist/sections/BlogList.js +1 -1
  200. package/dist/sections/BlogList.mjs +1 -1
  201. package/dist/sections/BlogList.stories.js +1 -1
  202. package/dist/sections/BlogList.stories.mjs +1 -1
  203. package/dist/sections/BlogListSection.mjs +1 -1
  204. package/dist/sections/BlogListSection.stories.mjs +1 -1
  205. package/dist/sections/ContactSection.js +1 -1
  206. package/dist/sections/ContactSection.mjs +1 -1
  207. package/dist/sections/ContactSection.stories.js +1 -1
  208. package/dist/sections/ContactSection.stories.mjs +1 -1
  209. package/dist/sections/ImageSection.stories.js +1 -1
  210. package/dist/sections/ImageSection.stories.mjs +1 -1
  211. package/dist/sections/PageSections.d.ts +1 -0
  212. package/dist/sections/PageSections.js +2 -2
  213. package/dist/sections/PageSections.mjs +1 -1
  214. package/dist/sections/PageSections.stories.js +3 -3
  215. package/dist/sections/PageSections.stories.mjs +1 -1
  216. package/dist/sections/PricingSection.js +1 -1
  217. package/dist/sections/PricingSection.mjs +1 -1
  218. package/dist/sections/PricingSection.stories.js +1 -1
  219. package/dist/sections/PricingSection.stories.mjs +1 -1
  220. package/dist/sections/ServiceDetailList.js +1 -1
  221. package/dist/sections/ServiceDetailList.mjs +1 -1
  222. package/dist/sections/ServiceDetailSection.js +1 -1
  223. package/dist/sections/ServiceDetailSection.mjs +1 -1
  224. package/dist/sections/ServiceDetailSection.stories.js +1 -1
  225. package/dist/sections/ServiceDetailSection.stories.mjs +1 -1
  226. package/dist/sections/ServiceSection.js +1 -1
  227. package/dist/sections/ServiceSection.mjs +1 -1
  228. package/dist/sections/ServiceSection.stories.js +1 -1
  229. package/dist/sections/ServiceSection.stories.mjs +1 -1
  230. package/dist/sections/index.js +3 -3
  231. package/dist/sections/index.mjs +1 -1
  232. package/package.json +1 -1
  233. package/dist/chunk-HR7YTXSN.mjs +0 -4
  234. package/dist/chunk-HXCB4TPP.mjs +0 -4
  235. package/dist/chunk-LCJIXE22.mjs +0 -1
@@ -1,4 +0,0 @@
1
- "use client";
2
- "use strict";
3
-
4
- import{f as m}from"./chunk-B6A5R6IB.mjs";import{a as o}from"./chunk-44VMK4FL.mjs";import{a as s}from"./chunk-JPFBD2KD.mjs";import{a as c}from"./chunk-LCJIXE22.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-h1:text-5xl 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,4 +0,0 @@
1
- "use client";
2
- "use strict";
3
-
4
- import{a as k}from"./chunk-K67FCLDS.mjs";import{a as S,b as w}from"./chunk-KMSKXSSJ.mjs";import{a as C}from"./chunk-RHFQGS7Z.mjs";import{a as j}from"./chunk-WU3JMLSC.mjs";import{a as P}from"./chunk-BZAYEKYC.mjs";import{a as N}from"./chunk-S5VKLW23.mjs";import{a as h}from"./chunk-HR7YTXSN.mjs";import{a as g}from"./chunk-CXKLWUAK.mjs";import{a as x}from"./chunk-CLSN4UGB.mjs";import{f as d}from"./chunk-B6A5R6IB.mjs";import{a as f}from"./chunk-JPFBD2KD.mjs";import{b as u}from"./chunk-BDX257W2.mjs";import{a as b}from"./chunk-RQ23CZK5.mjs";import{a as s}from"./chunk-LCJIXE22.mjs";import{a as y}from"./chunk-E6MYDQ3V.mjs";import{a as v}from"./chunk-UESKYRNK.mjs";import{a as n}from"./chunk-NIQ4466A.mjs";import z from"next/image";import H from"next/link";import{jsx as a,jsxs as R}from"react/jsx-runtime";var E=({dynamicServiceDetail:t,style:i})=>t.map((o,p)=>a(c,{id:o.slug,theme:p%2===0?"dark":"light",style:i,children:a("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:n("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:n("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 rounded-full hover:bg-accent hover:text-accent-foreground transition no-underline",children:a(H,{href:`/${o.slug}`,children:"Learn more"})})]}),o.icon&&typeof o.icon=="object"&&"type"in o.icon&&"iconName"in o.icon&&a("div",{className:n("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:"70%"}})})]})})},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"})]})}),T=()=>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(v,{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:h,lowImpact:x,mediumImpact:g,sectionHero:N,dummy:T};function B({...t}){let i=t.style;return r("div",{className:"relative overflow-y-none scroll-smooth snap-y snap-mandatory",children:[e(b,{isMenuOpen:!0,logoLight:P,logoDark:j,...t.header}),e(F,{...t.hero}),e(c,{theme:"light",style:i,children:e(k,{...t.service})}),e(c,{theme:"dark",style:i,image:t.service.services[0].image,children:e(L,{})}),e(c,{theme:"light",style:i,children:e(L,{})}),e(c,{theme:"dark",style:i,children:e(S,{...t.contact})}),e(c,{theme:"light",style:i,children:e(w,{...t.contact})}),e(c,{theme:"last",style:i,children:e(C,{...t.blog})}),e(y,{...t.footer})]})}var F=t=>{let{type:i}=t||{};if(!i||i==="none")return null;let o=M[i];return o?e(o,{...t}):null},L=()=>{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:n("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:n("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(z,{src:t.url,alt:"image",width:t.width,height:t.height,className:"max-w-full"})})]})})},c=({children:t,theme:i,style:o,neighbours:p,shape:G,image:$,id:l})=>{let V=m=>r("div",{className:"select-none",children:[m&&typeof m=="object"&&e(f,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:m}),m&&typeof m=="string"&&e("div",{children:e(z,{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:"text-black 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:"sticky top-0 light bg-background min-h-[50vh]",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-0 dark min-h-[80vh] bg-white",children:[e(s,{className:"text-black z-10",position:"bottom-right"}),e("div",{className:"flex items-center justify-center pt-12 bg-black",children:e("div",{className:"container",children:t})}),e(s,{className:"text-accent z-10",position:"top"})]})});if(i==="last")return e("section",{id:l||"next-section",className:"",children:r("div",{className:"sticky top-0 dark min-h-[80vh] bg-white",children:[e(s,{className:"text-black z-10",position:"bottom-right"}),e("div",{className:"flex items-center justify-center pb-12 bg-black min-h-[80vh]",children:e("div",{className:"container",children:t})})]})})};export{B as a,c as b,E as c};
@@ -1 +0,0 @@
1
- import{a as o}from"./chunk-NIQ4466A.mjs";import{jsx as t,jsxs as s}from"react/jsx-runtime";var n=({position:e,className:l=""})=>{let i=["","scale(-1, 1)","scale(1, -1)","scale(-1, -1)"],a=i[Math.floor(Math.random()*i.length)];if(e==="header")return t("div",{className:"w-full h-[1240px] z-20",children:s("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:o(l,"absolute -bottom-[2px] flex"),children:[t("defs",{children:s("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","stroke-width":"2"})]})}),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 t("div",{className:"w-full h-[70px] md:h-[332px] z-20 ",children:s("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"xMidYMax meet",className:o(l,"absolute "),style:{fontSize:0,float:"left",transform:"scale(-1, 1)"},children:[t("defs",{children:s("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-top")return t("div",{className:"w-full h-[70px] md:h-[332px] z-20 content-end block overflow-hidden",children:s("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"xMidYMax meet",className:o(l,"relative "),style:{fontSize:0,float:"left"},transform:i[3],children:[t("defs",{children:s("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 min-h-[70px] md:min-h-[350px] 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",preserveAspectRatio:"none",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain",transform:"scale(1, -1)"},className:o(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 min-h-[70px] md:min-h-[350px] 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:o(l,"w-full block overflow-hidden"),transform:i[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 min-h-[70px] md:min-h-[350px] z-20 content-end block overflow-hidden -mb-[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:"scale(1, -1)"},className:o(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})=>s("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 1245",className:o(e,"absolute w-full h-full"),children:[t("defs",{children:s("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};