cortex-react-components 1.55.4 → 1.56.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 (174) hide show
  1. package/dist/{chunk-JOZRG2SF.mjs → chunk-26K34DNO.mjs} +1 -1
  2. package/dist/{chunk-6YWAX7NS.mjs → chunk-3GYJDXNA.mjs} +1 -1
  3. package/dist/{chunk-N6GIT4JB.mjs → chunk-7IZ2X75V.mjs} +1 -1
  4. package/dist/{chunk-WTXEUA2D.mjs → chunk-BWRPSU6I.mjs} +1 -1
  5. package/dist/{chunk-INWIXJW6.mjs → chunk-BXIDYE67.mjs} +1 -1
  6. package/dist/{chunk-GWT5EAND.mjs → chunk-C2WXWFU6.mjs} +1 -1
  7. package/dist/{chunk-SH4B7UKX.mjs → chunk-EEKDSPJW.mjs} +1 -1
  8. package/dist/{chunk-UWBOJY2B.mjs → chunk-EML6AVUM.mjs} +1 -1
  9. package/dist/{chunk-Y5WSECVV.mjs → chunk-EOVMD5QE.mjs} +1 -1
  10. package/dist/{chunk-WEO2W6EY.mjs → chunk-FYVORNBL.mjs} +1 -1
  11. package/dist/{chunk-QFUM35HC.mjs → chunk-GGDYYSFG.mjs} +1 -1
  12. package/dist/{chunk-OJPHYSRN.mjs → chunk-GYUMEOL2.mjs} +1 -1
  13. package/dist/{chunk-KMZRFCBY.mjs → chunk-HQOFQGRQ.mjs} +1 -1
  14. package/dist/{chunk-V5OCEXGM.mjs → chunk-IJT4XHN7.mjs} +1 -1
  15. package/dist/{chunk-VJ6LYLT5.mjs → chunk-IS27WYEV.mjs} +1 -1
  16. package/dist/{chunk-T4T7VFNP.mjs → chunk-JXPOV3A4.mjs} +1 -1
  17. package/dist/{chunk-2IKC7MAP.mjs → chunk-KB6PO4K4.mjs} +1 -1
  18. package/dist/{chunk-N3FUJBGP.mjs → chunk-KIAZOHM4.mjs} +1 -1
  19. package/dist/{chunk-23BDC5JG.mjs → chunk-KIICLHKI.mjs} +1 -1
  20. package/dist/{chunk-D7A7EUEW.mjs → chunk-KQJLOUAU.mjs} +1 -1
  21. package/dist/{chunk-QQZKTYWR.mjs → chunk-KVA4UPK2.mjs} +1 -1
  22. package/dist/{chunk-KLCZHZKQ.mjs → chunk-LLJZRF3C.mjs} +1 -1
  23. package/dist/{chunk-LH6PDD43.mjs → chunk-MIWMERSR.mjs} +1 -1
  24. package/dist/chunk-OIIEDD56.mjs +1 -0
  25. package/dist/{chunk-BP5UQ5F3.mjs → chunk-OUF4RW7E.mjs} +1 -1
  26. package/dist/{chunk-PIM2JQYT.mjs → chunk-OUKKI47A.mjs} +1 -1
  27. package/dist/chunk-OXFWH45D.mjs +4 -0
  28. package/dist/{chunk-QMFZRG7O.mjs → chunk-PY53YVFX.mjs} +1 -1
  29. package/dist/{chunk-RC3GW6LG.mjs → chunk-S3GITHJW.mjs} +1 -1
  30. package/dist/{chunk-VXYBLGPY.mjs → chunk-S66RCEAN.mjs} +1 -1
  31. package/dist/{chunk-IO222G5L.mjs → chunk-SBAFXZVU.mjs} +1 -1
  32. package/dist/{chunk-ZNBJ6AHJ.mjs → chunk-T4I5D4XZ.mjs} +1 -1
  33. package/dist/{chunk-YSFFWIW6.mjs → chunk-TT3GBHBO.mjs} +1 -1
  34. package/dist/chunk-TV6WUXSN.mjs +1 -0
  35. package/dist/{chunk-QSHRWB5J.mjs → chunk-UUQ4YJSJ.mjs} +1 -1
  36. package/dist/{chunk-CM7EYXM3.mjs → chunk-W5IV2HHX.mjs} +1 -1
  37. package/dist/{chunk-TP4ZMSJW.mjs → chunk-WMVRW4SF.mjs} +1 -1
  38. package/dist/{chunk-4TCLIMFP.mjs → chunk-Z7P4QOKT.mjs} +1 -1
  39. package/dist/components/Blocks/Banner.mjs +1 -1
  40. package/dist/components/Blocks/CallToAction.mjs +1 -1
  41. package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
  42. package/dist/components/Blocks/CollapsibleArea.d.ts +3 -0
  43. package/dist/components/Blocks/CollapsibleArea.js +4 -0
  44. package/dist/components/Blocks/CollapsibleArea.mjs +2 -0
  45. package/dist/components/Blocks/{CollapableArea.stories.js → CollapsibleArea.stories.js} +1 -1
  46. package/dist/components/Blocks/{CollapableArea.stories.mjs → CollapsibleArea.stories.mjs} +1 -1
  47. package/dist/components/Blocks/Content.mjs +1 -1
  48. package/dist/components/Blocks/Content.stories.mjs +1 -1
  49. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  50. package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
  51. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  52. package/dist/components/Blocks/RenderBlocks.js +1 -1
  53. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  54. package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
  55. package/dist/components/Blocks/index.js +1 -1
  56. package/dist/components/Blocks/index.mjs +1 -1
  57. package/dist/components/CRM/DealDetails.mjs +1 -1
  58. package/dist/components/CRM/DealDetails.stories.mjs +1 -1
  59. package/dist/components/CRM/KanbanBoard.mjs +1 -1
  60. package/dist/components/CRM/KanbanBoard.stories.mjs +1 -1
  61. package/dist/components/CRM/KanbanColumn.mjs +1 -1
  62. package/dist/components/CRM/KanbanColumn.stories.mjs +1 -1
  63. package/dist/components/CRM/NewDealForm.mjs +1 -1
  64. package/dist/components/CRM/NewDealForm.stories.mjs +1 -1
  65. package/dist/components/CRM/index.mjs +1 -1
  66. package/dist/components/Cards/ContentCard.mjs +1 -1
  67. package/dist/components/Cards/ContentCard.stories.mjs +1 -1
  68. package/dist/components/Cards/FeatureCard.js +1 -1
  69. package/dist/components/Cards/FeatureCard.mjs +1 -1
  70. package/dist/components/Cards/FeatureCard.stories.js +1 -1
  71. package/dist/components/Cards/FeatureCard.stories.mjs +1 -1
  72. package/dist/components/Cards/index.js +1 -1
  73. package/dist/components/Cards/index.mjs +1 -1
  74. package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +1 -1
  75. package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
  76. package/dist/components/DigitalColleagues/MainPage.stories.mjs +1 -1
  77. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  78. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  79. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  80. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  81. package/dist/components/Heros/PostHero/index.mjs +1 -1
  82. package/dist/components/Heros/RenderHero.mjs +1 -1
  83. package/dist/components/Heros/index.mjs +1 -1
  84. package/dist/components/Layouts/FeatureGrid.stories.js +1 -1
  85. package/dist/components/Layouts/FeatureGrid.stories.mjs +1 -1
  86. package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
  87. package/dist/components/Layouts/Print.js +2 -2
  88. package/dist/components/Layouts/Print.mjs +1 -1
  89. package/dist/components/Layouts/Print.stories.js +1 -1
  90. package/dist/components/Layouts/Print.stories.mjs +1 -1
  91. package/dist/components/Layouts/SlideShow.js +1 -1
  92. package/dist/components/Layouts/SlideShow.mjs +1 -1
  93. package/dist/components/Layouts/SlideShow.stories.js +1 -1
  94. package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
  95. package/dist/components/Layouts/index.js +1 -1
  96. package/dist/components/Layouts/index.mjs +1 -1
  97. package/dist/components/Menus/SidebarLeft.mjs +1 -1
  98. package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
  99. package/dist/components/Menus/SidebarRight.mjs +1 -1
  100. package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
  101. package/dist/components/Menus/index.mjs +1 -1
  102. package/dist/components/Payload/RichText/index.mjs +1 -1
  103. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  104. package/dist/components/Payload/RichText.stories.mjs +1 -1
  105. package/dist/components/Payload/index.mjs +1 -1
  106. package/dist/components/index.js +2 -2
  107. package/dist/components/index.mjs +1 -1
  108. package/dist/components/ui/index.mjs +1 -1
  109. package/dist/components/ui/sidebar.mjs +1 -1
  110. package/dist/globals.css +1 -1
  111. package/dist/index.js +3 -3
  112. package/dist/index.mjs +1 -1
  113. package/dist/metafile-cjs.json +1 -1
  114. package/dist/metafile-esm.json +1 -1
  115. package/dist/pages/Blog.mjs +1 -1
  116. package/dist/pages/Blog.stories.mjs +1 -1
  117. package/dist/pages/Documentation.mjs +1 -1
  118. package/dist/pages/Documentation.stories.mjs +1 -1
  119. package/dist/pages/IndexPage.mjs +1 -1
  120. package/dist/pages/IndexPage.stories.mjs +1 -1
  121. package/dist/pages/Intranet.mjs +1 -1
  122. package/dist/pages/Intranet.stories.mjs +1 -1
  123. package/dist/pages/LandingPage.js +1 -1
  124. package/dist/pages/LandingPage.mjs +1 -1
  125. package/dist/pages/LandingPage.stories.js +1 -1
  126. package/dist/pages/LandingPage.stories.mjs +1 -1
  127. package/dist/pages/Page.mjs +1 -1
  128. package/dist/pages/Page.stories.mjs +1 -1
  129. package/dist/pages/Printable.stories.js +1 -1
  130. package/dist/pages/Printable.stories.mjs +1 -1
  131. package/dist/pages/Publish.js +1 -1
  132. package/dist/pages/Publish.mjs +1 -1
  133. package/dist/pages/Publish.stories.js +1 -1
  134. package/dist/pages/Publish.stories.mjs +1 -1
  135. package/dist/pages/Website.js +1 -1
  136. package/dist/pages/Website.mjs +1 -1
  137. package/dist/pages/Website.stories.js +1 -1
  138. package/dist/pages/Website.stories.mjs +1 -1
  139. package/dist/payload-types.d.ts +13 -12
  140. package/dist/sections/AboutSection.mjs +1 -1
  141. package/dist/sections/AboutSection.stories.mjs +1 -1
  142. package/dist/sections/BlogDetail.mjs +1 -1
  143. package/dist/sections/BlogDetail.stories.mjs +1 -1
  144. package/dist/sections/BlogList.mjs +1 -1
  145. package/dist/sections/BlogList.stories.mjs +1 -1
  146. package/dist/sections/BlogListSection.mjs +1 -1
  147. package/dist/sections/BlogListSection.stories.mjs +1 -1
  148. package/dist/sections/ContactSection.mjs +1 -1
  149. package/dist/sections/ContactSection.stories.mjs +1 -1
  150. package/dist/sections/ImageSection.stories.mjs +1 -1
  151. package/dist/sections/PageSections.js +1 -1
  152. package/dist/sections/PageSections.mjs +1 -1
  153. package/dist/sections/PageSections.stories.js +1 -1
  154. package/dist/sections/PageSections.stories.mjs +1 -1
  155. package/dist/sections/PricingSection.mjs +1 -1
  156. package/dist/sections/PricingSection.stories.mjs +1 -1
  157. package/dist/sections/ServiceDetailList.mjs +1 -1
  158. package/dist/sections/ServiceDetailSection.mjs +1 -1
  159. package/dist/sections/ServiceDetailSection.stories.mjs +1 -1
  160. package/dist/sections/ServiceSection.js +1 -1
  161. package/dist/sections/ServiceSection.mjs +1 -1
  162. package/dist/sections/ServiceSection.stories.js +1 -1
  163. package/dist/sections/ServiceSection.stories.mjs +1 -1
  164. package/dist/sections/index.js +1 -1
  165. package/dist/sections/index.mjs +1 -1
  166. package/package.json +1 -1
  167. package/dist/chunk-7E2YBFAL.mjs +0 -1
  168. package/dist/chunk-GELMZJJE.mjs +0 -1
  169. package/dist/chunk-KSVSLWP6.mjs +0 -1
  170. package/dist/components/Blocks/CollapsableArea.d.ts +0 -3
  171. package/dist/components/Blocks/CollapsableArea.js +0 -4
  172. package/dist/components/Blocks/CollapsableArea.mjs +0 -1
  173. /package/dist/components/Blocks/{CollapableArea.stories.css → CollapsibleArea.css} +0 -0
  174. /package/dist/components/Blocks/{CollapsableArea.css → CollapsibleArea.stories.css} +0 -0
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{c as k,h as R,i as v,k as S,l as f,o as x,p as u,q as c,r as y,s as w,v as P,w as B,x as L}from"./chunk-2IKC7MAP.mjs";import{a as n}from"./chunk-BSQVKZCW.mjs";import{a as g,b as N,c as M}from"./chunk-YNCJATT7.mjs";import{ChevronRight as A}from"lucide-react";import T from"clsx";import{Fragment as H,jsx as e,jsxs as i}from"react/jsx-runtime";function J({mainNav:o,secondaryNav:l,title:b,subTitle:a,pathName:p,menuHeading:d,onNavClick:s,loading:r=!1,LinkComponent:h,...F}){let C=h?t=>e(h,{...t}):s?({href:t,children:m,...I})=>e("button",{onClick:()=>s&&s(t),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...I,children:m}):t=>e("a",{...t});return i(k,{...F,variant:"inset",children:[e(R,{children:e(u,{children:e(c,{children:r?i("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[e(n,{className:"bg-gray-200 my-2 w-full h-7"}),e(n,{className:"bg-gray-200 w-3/4 my-2 h-5"})]}):i("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[e("span",{className:"truncate font-semibold",children:b}),a&&e("span",{className:"truncate text-sm",children:a})]})})})}),r&&i(S,{children:[e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"})]}),i(S,{children:[o&&!r&&o.map((t,m)=>e(G,{subNav:t,pathName:p,Link:C},m)),e(f,{className:"mt-auto",children:e(x,{children:e(u,{children:l&&!r&&l.map(t=>e(c,{children:e(y,{asChild:!0,size:"sm",children:i(C,{href:t.url||"",children:[t.icon&&e(t.icon,{}),e("span",{children:t.label})]})})},t.label))})})})]}),e(v,{})]})}function G({subNav:o,pathName:l,Link:b}){var d,s;let a=o,p=!1;return a.links&&a.links.map(r=>{r.url===l&&(p=!0)}),e(g,{defaultOpen:!0,className:"group/collapsible",children:e(f,{className:"py-0",children:e(u,{children:e(g,{asChild:!0,defaultOpen:a.isActive,children:i(c,{children:[e(y,{asChild:!0,tooltip:a.label,className:T(p&&"font-bold text-accent"),children:i(b,{href:a.url,children:[a.icon&&e(a.icon,{}),e("span",{children:a.label})]})}),(d=a.links)!=null&&d.length?i(H,{children:[e(N,{asChild:!0,children:i(w,{className:"data-[state=open]:rotate-90",children:[e(A,{}),e("span",{className:"sr-only",children:"Toggle"})]})}),e(M,{children:e(P,{children:(s=a.links)==null?void 0:s.map(r=>e(B,{children:e(L,{asChild:!0,className:T(r.url===l&&"font-bold text-accent"),children:e(b,{href:r.url,children:e("span",{children:r.label})})})},r.label))})})]}):null]})},a.label)})})})}export{J as a};
4
+ import{c as k,h as R,i as v,k as S,l as f,o as x,p as u,q as c,r as y,s as w,v as P,w as B,x as L}from"./chunk-KB6PO4K4.mjs";import{a as n}from"./chunk-BSQVKZCW.mjs";import{a as g,b as N,c as M}from"./chunk-YNCJATT7.mjs";import{ChevronRight as A}from"lucide-react";import T from"clsx";import{Fragment as H,jsx as e,jsxs as i}from"react/jsx-runtime";function J({mainNav:o,secondaryNav:l,title:b,subTitle:a,pathName:p,menuHeading:d,onNavClick:s,loading:r=!1,LinkComponent:h,...F}){let C=h?t=>e(h,{...t}):s?({href:t,children:m,...I})=>e("button",{onClick:()=>s&&s(t),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...I,children:m}):t=>e("a",{...t});return i(k,{...F,variant:"inset",children:[e(R,{children:e(u,{children:e(c,{children:r?i("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[e(n,{className:"bg-gray-200 my-2 w-full h-7"}),e(n,{className:"bg-gray-200 w-3/4 my-2 h-5"})]}):i("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[e("span",{className:"truncate font-semibold",children:b}),a&&e("span",{className:"truncate text-sm",children:a})]})})})}),r&&i(S,{children:[e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"})]}),i(S,{children:[o&&!r&&o.map((t,m)=>e(G,{subNav:t,pathName:p,Link:C},m)),e(f,{className:"mt-auto",children:e(x,{children:e(u,{children:l&&!r&&l.map(t=>e(c,{children:e(y,{asChild:!0,size:"sm",children:i(C,{href:t.url||"",children:[t.icon&&e(t.icon,{}),e("span",{children:t.label})]})})},t.label))})})})]}),e(v,{})]})}function G({subNav:o,pathName:l,Link:b}){var d,s;let a=o,p=!1;return a.links&&a.links.map(r=>{r.url===l&&(p=!0)}),e(g,{defaultOpen:!0,className:"group/collapsible",children:e(f,{className:"py-0",children:e(u,{children:e(g,{asChild:!0,defaultOpen:a.isActive,children:i(c,{children:[e(y,{asChild:!0,tooltip:a.label,className:T(p&&"font-bold text-accent"),children:i(b,{href:a.url,children:[a.icon&&e(a.icon,{}),e("span",{children:a.label})]})}),(d=a.links)!=null&&d.length?i(H,{children:[e(N,{asChild:!0,children:i(w,{className:"data-[state=open]:rotate-90",children:[e(A,{}),e("span",{className:"sr-only",children:"Toggle"})]})}),e(M,{children:e(P,{children:(s=a.links)==null?void 0:s.map(r=>e(B,{children:e(L,{asChild:!0,className:T(r.url===l&&"font-bold text-accent"),children:e(b,{href:r.url,children:e("span",{children:r.label})})})},r.label))})})]}):null]})},a.label)})})})}export{J 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-UWBOJY2B.mjs";import{b as y}from"./chunk-JOZRG2SF.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-EML6AVUM.mjs";import{b as y}from"./chunk-26K34DNO.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 +1 @@
1
- import{a as i}from"./chunk-SH4B7UKX.mjs";import{a as m}from"./chunk-WU3JMLSC.mjs";import{a}from"./chunk-BZAYEKYC.mjs";import{a as o}from"./chunk-5G43IH3C.mjs";import{a as t}from"./chunk-RQ23CZK5.mjs";import{jsx as r,jsxs as n}from"react/jsx-runtime";function d({...e}){return n("div",{children:[r(t,{isMenuOpen:!0,logoLight:a,logoDark:m}),r(o,{...e.hero}),r(i,{className:"!pb-0",...e.blog})]})}export{d as a};
1
+ import{a as i}from"./chunk-EEKDSPJW.mjs";import{a as m}from"./chunk-WU3JMLSC.mjs";import{a}from"./chunk-BZAYEKYC.mjs";import{a as o}from"./chunk-5G43IH3C.mjs";import{a as t}from"./chunk-RQ23CZK5.mjs";import{jsx as r,jsxs as n}from"react/jsx-runtime";function d({...e}){return n("div",{children:[r(t,{isMenuOpen:!0,logoLight:a,logoDark:m}),r(o,{...e.hero}),r(i,{className:"!pb-0",...e.blog})]})}export{d as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{c as v,h as w,i as B,j as P,k as T,l as s,m as b,o as u,p as o,q as n,r as p,v as g,w as y,x as M}from"./chunk-2IKC7MAP.mjs";import{a as C}from"./chunk-BSQVKZCW.mjs";import{a as d,b as c,c as m}from"./chunk-YNCJATT7.mjs";import{a as h}from"./chunk-SFLOMJ2U.mjs";import{PencilLine as z,ChevronDown as x,FilePlus as E,Edit as H,Printer as _}from"lucide-react";import $ from"clsx";import{Fragment as A,jsx as e,jsxs as a}from"react/jsx-runtime";var q=()=>e(h,{iconName:"github",size:"10x"});function Z({relatedContent:i,tableOfContents:N,editorComponent:k,loading:S=!1,editMode:G=!1,onAddDocument:L,onEditDocument:O,onPrintDocument:D,onGithubClick:I,onNavClick:f,LinkComponent:R,...F}){let j=R?t=>e(R,{...t}):f?({item:t,children:r,...l})=>e("button",{onClick:()=>f&&f(t),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...l,children:r}):t=>e("a",{href:t.href,...t});return a(v,{side:"right",variant:"inset",...F,children:[a(w,{className:"border-b border-sidebar-border",children:[a(o,{className:"flex-row space-x-1",children:[e(n,{children:a(p,{onClick:L,children:[e(E,{})," ",e("span",{children:"Add Document"})]})}),I&&e(n,{children:e(p,{onClick:I,tooltip:"Open in GitHub",children:e(q,{})})})]}),a(o,{className:"flex-row space-x-1",children:[e(n,{className:"w-5/12",children:a(p,{onClick:()=>O(),variant:G?"outline":"default",className:$(G&&"text-accent"),children:[e(H,{})," ",e("span",{children:"Edit"})]})}),e(n,{className:"w-5/12",children:a(p,{onClick:D,children:[e(_,{})," ",e("span",{children:"Print"})]})})]})]}),k&&a(A,{children:[e(d,{defaultOpen:!0,className:"group/collapsible",children:a(s,{children:[e(b,{asChild:!0,children:a(c,{children:["Editor Controls",e(x,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),e(u,{children:e(m,{children:k})})]})}),e(P,{className:"mx-0"})]}),a(T,{className:"overflow-auto",children:[S&&a(A,{children:[a(s,{children:[e(b,{children:"Related Content"}),e(u,{children:e(o,{children:Array.from({length:3}).map((t,r)=>e(n,{children:e(C,{className:"bg-gray-200 w-full h-10"})},r))})})]}),a(s,{children:[e(b,{children:"Table of Contents"}),e(u,{children:e(o,{children:Array.from({length:3}).map((t,r)=>e(n,{children:e(C,{className:"bg-gray-200 w-full h-10"})},r))})})]})]}),i&&!S&&Object.keys(i).length>0&&e(d,{defaultOpen:!0,className:"group/collapsible",children:a(s,{children:[e(b,{asChild:!0,children:a(c,{children:["Related Content",e(x,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),e(u,{children:e(m,{children:e(o,{children:i&&Object.keys(i).map(t=>a(n,{children:[a("span",{className:"p-2 text-xs text-sidebar-foreground",children:[" ",t.charAt(0).toUpperCase()+t.slice(1)]}),t&&i[t]&&e(g,{children:i[t].map(r=>e(y,{children:e(M,{asChild:!0,isActive:!1,size:"sm",children:a(j,{href:r.url,item:r,className:"flex justify-between items-center w-full text-xs",children:[e("span",{children:r.label}),r.type==="note"&&e(z,{className:"ml-2 text-gray-400 !important",size:16}),r.type==="draft"&&e(h,{iconName:"code-pull-request-draft",className:"ml-2 text-gray-400 !important"})]})})},r.label))})]},t))})})})]})}),N&&!S&&e(d,{defaultOpen:!0,className:"group/collapsible",children:a(s,{children:[e(b,{asChild:!0,children:a(c,{children:["Table of Contents",e(x,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),e(u,{children:e(m,{children:e(o,{children:N.map(t=>{var r;return a(n,{children:[e(p,{asChild:!0,children:e("a",{href:`#${t.url}`,className:"text-xs",children:t.title})}),(r=t.items)!=null&&r.length?e(g,{children:t.items.map(l=>e(y,{children:e(M,{asChild:!0,isActive:l.isActive,size:"sm",children:e("a",{href:`#${l.url}`,className:"flex justify-between items-center w-full text-xs",children:e("span",{children:l.title})})})},l.title))}):null]},t.title)})})})})]})})]}),e(B,{})]})}export{Z as a};
4
+ import{c as v,h as w,i as B,j as P,k as T,l as s,m as b,o as u,p as o,q as n,r as p,v as g,w as y,x as M}from"./chunk-KB6PO4K4.mjs";import{a as C}from"./chunk-BSQVKZCW.mjs";import{a as d,b as c,c as m}from"./chunk-YNCJATT7.mjs";import{a as h}from"./chunk-SFLOMJ2U.mjs";import{PencilLine as z,ChevronDown as x,FilePlus as E,Edit as H,Printer as _}from"lucide-react";import $ from"clsx";import{Fragment as A,jsx as e,jsxs as a}from"react/jsx-runtime";var q=()=>e(h,{iconName:"github",size:"10x"});function Z({relatedContent:i,tableOfContents:N,editorComponent:k,loading:S=!1,editMode:G=!1,onAddDocument:L,onEditDocument:O,onPrintDocument:D,onGithubClick:I,onNavClick:f,LinkComponent:R,...F}){let j=R?t=>e(R,{...t}):f?({item:t,children:r,...l})=>e("button",{onClick:()=>f&&f(t),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...l,children:r}):t=>e("a",{href:t.href,...t});return a(v,{side:"right",variant:"inset",...F,children:[a(w,{className:"border-b border-sidebar-border",children:[a(o,{className:"flex-row space-x-1",children:[e(n,{children:a(p,{onClick:L,children:[e(E,{})," ",e("span",{children:"Add Document"})]})}),I&&e(n,{children:e(p,{onClick:I,tooltip:"Open in GitHub",children:e(q,{})})})]}),a(o,{className:"flex-row space-x-1",children:[e(n,{className:"w-5/12",children:a(p,{onClick:()=>O(),variant:G?"outline":"default",className:$(G&&"text-accent"),children:[e(H,{})," ",e("span",{children:"Edit"})]})}),e(n,{className:"w-5/12",children:a(p,{onClick:D,children:[e(_,{})," ",e("span",{children:"Print"})]})})]})]}),k&&a(A,{children:[e(d,{defaultOpen:!0,className:"group/collapsible",children:a(s,{children:[e(b,{asChild:!0,children:a(c,{children:["Editor Controls",e(x,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),e(u,{children:e(m,{children:k})})]})}),e(P,{className:"mx-0"})]}),a(T,{className:"overflow-auto",children:[S&&a(A,{children:[a(s,{children:[e(b,{children:"Related Content"}),e(u,{children:e(o,{children:Array.from({length:3}).map((t,r)=>e(n,{children:e(C,{className:"bg-gray-200 w-full h-10"})},r))})})]}),a(s,{children:[e(b,{children:"Table of Contents"}),e(u,{children:e(o,{children:Array.from({length:3}).map((t,r)=>e(n,{children:e(C,{className:"bg-gray-200 w-full h-10"})},r))})})]})]}),i&&!S&&Object.keys(i).length>0&&e(d,{defaultOpen:!0,className:"group/collapsible",children:a(s,{children:[e(b,{asChild:!0,children:a(c,{children:["Related Content",e(x,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),e(u,{children:e(m,{children:e(o,{children:i&&Object.keys(i).map(t=>a(n,{children:[a("span",{className:"p-2 text-xs text-sidebar-foreground",children:[" ",t.charAt(0).toUpperCase()+t.slice(1)]}),t&&i[t]&&e(g,{children:i[t].map(r=>e(y,{children:e(M,{asChild:!0,isActive:!1,size:"sm",children:a(j,{href:r.url,item:r,className:"flex justify-between items-center w-full text-xs",children:[e("span",{children:r.label}),r.type==="note"&&e(z,{className:"ml-2 text-gray-400 !important",size:16}),r.type==="draft"&&e(h,{iconName:"code-pull-request-draft",className:"ml-2 text-gray-400 !important"})]})})},r.label))})]},t))})})})]})}),N&&!S&&e(d,{defaultOpen:!0,className:"group/collapsible",children:a(s,{children:[e(b,{asChild:!0,children:a(c,{children:["Table of Contents",e(x,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),e(u,{children:e(m,{children:e(o,{children:N.map(t=>{var r;return a(n,{children:[e(p,{asChild:!0,children:e("a",{href:`#${t.url}`,className:"text-xs",children:t.title})}),(r=t.items)!=null&&r.length?e(g,{children:t.items.map(l=>e(y,{children:e(M,{asChild:!0,isActive:l.isActive,size:"sm",children:e("a",{href:`#${l.url}`,className:"flex justify-between items-center w-full text-xs",children:e("span",{children:l.title})})})},l.title))}):null]},t.title)})})})})]})})]}),e(B,{})]})}export{Z as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as d}from"./chunk-QMFZRG7O.mjs";import{a as l}from"./chunk-H7D3PZKE.mjs";import{a as m}from"./chunk-3YZN4MJB.mjs";import{b as i,f as o}from"./chunk-2IKC7MAP.mjs";import{a as s}from"./chunk-54Y2MUCQ.mjs";import{jsx as e,jsxs as r}from"react/jsx-runtime";function n({...t}){return r("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:[e(s,{...t.header}),r(i,{className:"top-14 mb-4 h-full max-h-[calc(100vh-3.5rem)] flex-1 flex-row overflow-y-clip",children:[e(d,{...t.sidebarLeft,className:"flex-none"}),e(o,{className:"grow overflow-hidden",children:r("div",{className:"max-h-full top-0 absolute max-w-full",children:[e("div",{"aria-hidden":"true",className:"inset-x-0 -z-10 transform-gpu overflow-hidden blur-3xl",children:e("div",{style:{clipPath:"polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%)"},className:"relative left-[calc(50%-11rem)] aspect-[1155/678] w-[36.125rem] -translate-x-1/2 rotate-[30deg] bg-gradient-to-tr from-primary to-secondary opacity-30 sm:left-[calc(50%-30rem)] sm:w-[72.1875rem]"})}),e("div",{className:"absolute top-0 w-full",children:e("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:r("div",{className:"mx-auto max-w-2xl text-center pt-4",children:[e("h1",{className:"text-balance text-5xl font-semibold tracking-tight text-primary sm:text-7xl",children:"Anim aute id magna aliqua ad ad non deserunt sunt."}),e("p",{className:"mt-8 text-pretty text-lg font-medium text-gray-500 sm:text-xl/8",children:"Anim aute id magna aliqua ad ad non deserunt sunt. Qui irure qui lorem cupidatat commodo. Elit sunt amet fugiat veniam occaecat."}),e("div",{className:"mt-10 flex items-center justify-center gap-x-6",children:e("div",{className:"mt-6 px-10 grid grid-cols-1 gap-8 lg:grid-cols-3",children:t.tiles.map(a=>e(l,{url:a.slug,title:a.title,mainImage:a.mainImage,excerpt:a.excerpt},a.slug))})})]})})}),e("div",{"aria-hidden":"true",className:"absolute inset-x-0 top-[calc(100%-13rem)] -z-10 transform-gpu overflow-hidden blur-3xl sm:top-[calc(100%-30rem)]",children:e("div",{style:{clipPath:"polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%)"},className:"relative left-[calc(50%+3rem)] aspect-[1155/678] w-[36.125rem] -translate-x-1/2 bg-gradient-to-tr from-[#ff80b5] to-[#9089fc] opacity-30 sm:left-[calc(50%+36rem)] sm:w-[72.1875rem]"})})]})})]}),e(m,{})]})}export{n as a};
4
+ import{a as d}from"./chunk-PY53YVFX.mjs";import{a as m}from"./chunk-3YZN4MJB.mjs";import{b as i,f as o}from"./chunk-KB6PO4K4.mjs";import{a as l}from"./chunk-H7D3PZKE.mjs";import{a as s}from"./chunk-54Y2MUCQ.mjs";import{jsx as e,jsxs as r}from"react/jsx-runtime";function n({...t}){return r("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:[e(s,{...t.header}),r(i,{className:"top-14 mb-4 h-full max-h-[calc(100vh-3.5rem)] flex-1 flex-row overflow-y-clip",children:[e(d,{...t.sidebarLeft,className:"flex-none"}),e(o,{className:"grow overflow-hidden",children:r("div",{className:"max-h-full top-0 absolute max-w-full",children:[e("div",{"aria-hidden":"true",className:"inset-x-0 -z-10 transform-gpu overflow-hidden blur-3xl",children:e("div",{style:{clipPath:"polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%)"},className:"relative left-[calc(50%-11rem)] aspect-[1155/678] w-[36.125rem] -translate-x-1/2 rotate-[30deg] bg-gradient-to-tr from-primary to-secondary opacity-30 sm:left-[calc(50%-30rem)] sm:w-[72.1875rem]"})}),e("div",{className:"absolute top-0 w-full",children:e("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:r("div",{className:"mx-auto max-w-2xl text-center pt-4",children:[e("h1",{className:"text-balance text-5xl font-semibold tracking-tight text-primary sm:text-7xl",children:"Anim aute id magna aliqua ad ad non deserunt sunt."}),e("p",{className:"mt-8 text-pretty text-lg font-medium text-gray-500 sm:text-xl/8",children:"Anim aute id magna aliqua ad ad non deserunt sunt. Qui irure qui lorem cupidatat commodo. Elit sunt amet fugiat veniam occaecat."}),e("div",{className:"mt-10 flex items-center justify-center gap-x-6",children:e("div",{className:"mt-6 px-10 grid grid-cols-1 gap-8 lg:grid-cols-3",children:t.tiles.map(a=>e(l,{url:a.slug,title:a.title,mainImage:a.mainImage,excerpt:a.excerpt},a.slug))})})]})})}),e("div",{"aria-hidden":"true",className:"absolute inset-x-0 top-[calc(100%-13rem)] -z-10 transform-gpu overflow-hidden blur-3xl sm:top-[calc(100%-30rem)]",children:e("div",{style:{clipPath:"polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%)"},className:"relative left-[calc(50%+3rem)] aspect-[1155/678] w-[36.125rem] -translate-x-1/2 bg-gradient-to-tr from-[#ff80b5] to-[#9089fc] opacity-30 sm:left-[calc(50%+36rem)] sm:w-[72.1875rem]"})})]})})]}),e(m,{})]})}export{n as a};
@@ -1 +1 @@
1
- import{a as c}from"./chunk-VJ6LYLT5.mjs";import{a as l}from"./chunk-UESKYRNK.mjs";import{a as m}from"./chunk-NIQ4466A.mjs";import t from"next/image";import{Fragment as p,jsx as e,jsxs as i}from"react/jsx-runtime";function u(d){let{images:a,sectionHeading:n,keyPoints:s,description:o}=d;return e(p,{children:e("section",{id:"about-section",className:m(" clip-custom-top-l sticky md:top-0 md:h-screen z-2 flex flex-col items-center justify-center section-padding-primary dark bg-background",d.className||""),children:e(l,{children:i("div",{className:"grid items-center gap-12 lg:grid-cols-[.92fr_1fr] 2xl:gap-20",children:[i("div",{className:"lg:order-2","data-aos":"fade-left","data-aos-delay":"200",children:[e(c,{...n}),s&&s.length>0&&e("div",{className:"mt-7 grid gap-5 text-accent sm:grid-cols-2 md:mt-10 md:gap-[1.875rem]",children:s.map((r,g)=>i("div",{className:"group flex min-h-[64px] items-center gap-5 rounded-5 border border-accent px-6 py-2 md:min-h-[85px] md:px-[1.875rem] md:py-3",children:[e("span",{className:"duration flex-none scale-100 transition-transform ease-linear group-hover:scale-90",children:r.icon}),e("h3",{className:"text-md font-bold leading-[1.25] md:text-lg",children:r.title})]},g))}),o&&e("p",{className:"mt-5 text-primary md:mt-[1.875rem]",children:o})]}),a&&e("div",{className:"mx-auto text-center",children:i("div",{className:"relative mx-auto grid max-w-[580px] grid-cols-2 gap-2.5 overflow-hidden",children:[e("div",{className:"relative flex justify-end overflow-hidden",children:e("div",{className:"relative z-[2] mt-auto","data-aos":"fade-up","data-aos-delay":"200",children:e("div",{className:"relative z-[4] overflow-hidden",children:e(t,{src:a.image1.src,alt:a.image1.alt,width:a.image1.width,height:a.image1.height,className:"rounded-tl-[60px] object-cover object-top"})})})}),e("div",{className:"flex overflow-hidden",children:e(t,{src:a.image2.src,alt:a.image2.alt,width:a.image2.width,height:a.image2.height,className:"rounded-[80px_10px] object-cover","data-aos":"fade-right","data-aos-delay":"300"})}),e("div",{className:"ml-auto flex max-w-[250px] justify-end overflow-hidden",children:e(t,{src:a.image3.src,alt:a.image4.alt,width:a.image3.width,height:a.image3.height,className:"rounded-[50px_10px] object-cover","data-aos":"fade-left","data-aos-delay":"350"})}),e("div",{className:"overflow-hidden",children:e(t,{src:a.image4.src,alt:a.image4.alt,width:a.image4.width,height:a.image4.height,className:"rounded-10 rounded-br-[80px] object-cover","data-aos":"fade-right","data-aos-delay":"400"})}),e("div",{className:"absolute left-1/2 top-1/2 z-[4] -translate-x-1/2 -translate-y-1/2 overflow-hidden",children:e("div",{"data-aos":"zoom-in","data-aos-delay":"450",children:e("span",{className:"grid h-[100px] w-[100px] place-items-center rounded-full border-[12px] border-white bg-accent text-[30px] text-white",children:e("svg",{width:"1em",height:"1em",viewBox:"0 0 27 27",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M26.8125 13.8672C26.8125 14.9922 25.875 15.9297 24.8125 15.9297H15.8125V24.9297C15.8125 25.9922 14.875 26.8672 13.8125 26.8672C12.6875 26.8672 11.8125 25.9922 11.8125 24.9297V15.9297H2.8125C1.6875 15.9297 0.8125 14.9922 0.8125 13.8672C0.8125 12.8047 1.6875 11.9297 2.8125 11.9297H11.8125V2.92969C11.8125 1.80469 12.6875 0.867188 13.8125 0.867188C14.875 0.867188 15.8125 1.80469 15.8125 2.92969V11.9297H24.8125C25.875 11.8672 26.8125 12.8047 26.8125 13.8672Z"})})})})})]})})]})})})})}export{u as a};
1
+ import{a as c}from"./chunk-IS27WYEV.mjs";import{a as l}from"./chunk-UESKYRNK.mjs";import{a as m}from"./chunk-NIQ4466A.mjs";import t from"next/image";import{Fragment as p,jsx as e,jsxs as i}from"react/jsx-runtime";function u(d){let{images:a,sectionHeading:n,keyPoints:s,description:o}=d;return e(p,{children:e("section",{id:"about-section",className:m(" clip-custom-top-l sticky md:top-0 md:h-screen z-2 flex flex-col items-center justify-center section-padding-primary dark bg-background",d.className||""),children:e(l,{children:i("div",{className:"grid items-center gap-12 lg:grid-cols-[.92fr_1fr] 2xl:gap-20",children:[i("div",{className:"lg:order-2","data-aos":"fade-left","data-aos-delay":"200",children:[e(c,{...n}),s&&s.length>0&&e("div",{className:"mt-7 grid gap-5 text-accent sm:grid-cols-2 md:mt-10 md:gap-[1.875rem]",children:s.map((r,g)=>i("div",{className:"group flex min-h-[64px] items-center gap-5 rounded-5 border border-accent px-6 py-2 md:min-h-[85px] md:px-[1.875rem] md:py-3",children:[e("span",{className:"duration flex-none scale-100 transition-transform ease-linear group-hover:scale-90",children:r.icon}),e("h3",{className:"text-md font-bold leading-[1.25] md:text-lg",children:r.title})]},g))}),o&&e("p",{className:"mt-5 text-primary md:mt-[1.875rem]",children:o})]}),a&&e("div",{className:"mx-auto text-center",children:i("div",{className:"relative mx-auto grid max-w-[580px] grid-cols-2 gap-2.5 overflow-hidden",children:[e("div",{className:"relative flex justify-end overflow-hidden",children:e("div",{className:"relative z-[2] mt-auto","data-aos":"fade-up","data-aos-delay":"200",children:e("div",{className:"relative z-[4] overflow-hidden",children:e(t,{src:a.image1.src,alt:a.image1.alt,width:a.image1.width,height:a.image1.height,className:"rounded-tl-[60px] object-cover object-top"})})})}),e("div",{className:"flex overflow-hidden",children:e(t,{src:a.image2.src,alt:a.image2.alt,width:a.image2.width,height:a.image2.height,className:"rounded-[80px_10px] object-cover","data-aos":"fade-right","data-aos-delay":"300"})}),e("div",{className:"ml-auto flex max-w-[250px] justify-end overflow-hidden",children:e(t,{src:a.image3.src,alt:a.image4.alt,width:a.image3.width,height:a.image3.height,className:"rounded-[50px_10px] object-cover","data-aos":"fade-left","data-aos-delay":"350"})}),e("div",{className:"overflow-hidden",children:e(t,{src:a.image4.src,alt:a.image4.alt,width:a.image4.width,height:a.image4.height,className:"rounded-10 rounded-br-[80px] object-cover","data-aos":"fade-right","data-aos-delay":"400"})}),e("div",{className:"absolute left-1/2 top-1/2 z-[4] -translate-x-1/2 -translate-y-1/2 overflow-hidden",children:e("div",{"data-aos":"zoom-in","data-aos-delay":"450",children:e("span",{className:"grid h-[100px] w-[100px] place-items-center rounded-full border-[12px] border-white bg-accent text-[30px] text-white",children:e("svg",{width:"1em",height:"1em",viewBox:"0 0 27 27",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M26.8125 13.8672C26.8125 14.9922 25.875 15.9297 24.8125 15.9297H15.8125V24.9297C15.8125 25.9922 14.875 26.8672 13.8125 26.8672C12.6875 26.8672 11.8125 25.9922 11.8125 24.9297V15.9297H2.8125C1.6875 15.9297 0.8125 14.9922 0.8125 13.8672C0.8125 12.8047 1.6875 11.9297 2.8125 11.9297H11.8125V2.92969C11.8125 1.80469 12.6875 0.867188 13.8125 0.867188C14.875 0.867188 15.8125 1.80469 15.8125 2.92969V11.9297H24.8125C25.875 11.8672 26.8125 12.8047 26.8125 13.8672Z"})})})})})]})})]})})})})}export{u as a};
@@ -0,0 +1 @@
1
+ import{a as n}from"./chunk-SV7NMNDI.mjs";import{e as s,f as m}from"./chunk-OIIEDD56.mjs";import{a as o}from"./chunk-NIQ4466A.mjs";import{jsx as e,jsxs as p}from"react/jsx-runtime";function u({services:a,className:f,title:r,content:i}){let d={settings:{width:"full",card:"light"}};return p("div",{className:"pb-4 md:pb-0",children:[p("div",{className:o("w-full text-left"),children:[r&&e("h2",{className:"text-3xl md:text-5xl text-primary",children:r}),e("div",{className:"mt-4 text-gray-700 py-12 ",children:i&&e(s,{enableGutter:!1,content:i,enableProse:!1,className:o("prose prose-headings:text-3xl prose-p:text-2xl prose-headings:text-foreground prose-p:text-foreground")})})]}),a&&a.length>0&&e("div",{className:"-mx-4 flex flex-wrap justify-between gap-y-4",children:a.map((t,l)=>e("div",{"data-aos":"fade-up","data-aos-delay":n([200,400,600],l),className:"w-full h-[33vh] md:h-[40vh] md:px-4 md:w-1/2 lg:w-1/3",children:e(m,{...d,icon:{type:"none"},title:t.title,image:t.image,content:t.content,link:t.link})},l))})]})}export{u as a};
@@ -1 +1 @@
1
- import{e as r}from"./chunk-GELMZJJE.mjs";import{jsx as e}from"react/jsx-runtime";var c=({children:o,richText:t})=>e("div",{className:"min-w-full py-10 bg-muted mt-24",children:e("div",{className:"container",children:o||t&&e(r,{content:t,enableGutter:!1})})});export{c as a};
1
+ import{e as r}from"./chunk-OIIEDD56.mjs";import{jsx as e}from"react/jsx-runtime";var c=({children:o,richText:t})=>e("div",{className:"min-w-full py-10 bg-muted mt-24",children:e("div",{className:"container",children:o||t&&e(r,{content:t,enableGutter:!1})})});export{c as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as f}from"./chunk-WU3JMLSC.mjs";import{a as h}from"./chunk-BZAYEKYC.mjs";import{a as p}from"./chunk-BP5UQ5F3.mjs";import{a as l}from"./chunk-GWT5EAND.mjs";import{a as u}from"./chunk-QSHRWB5J.mjs";import{a as c}from"./chunk-5G43IH3C.mjs";import{b as n}from"./chunk-BDX257W2.mjs";import{a as o,b as a,c as i,e as m}from"./chunk-D76EO57Z.mjs";import{a as s}from"./chunk-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-UUQ4YJSJ.mjs";import{a as p}from"./chunk-OUF4RW7E.mjs";import{a as l}from"./chunk-C2WXWFU6.mjs";import{a as c}from"./chunk-5G43IH3C.mjs";import{b as n}from"./chunk-BDX257W2.mjs";import{a as o,b as a,c as i,e as m}from"./chunk-D76EO57Z.mjs";import{a as s}from"./chunk-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{e as c}from"./chunk-GELMZJJE.mjs";import{a}from"./chunk-NIQ4466A.mjs";import n from"next/image";import{jsx as e,jsxs as o}from"react/jsx-runtime";function x({image:t,title:l,content:i,link:s,theme:r}){return console.log("ServiceDetailSectionProps",t,l,i,s,r),o("section",{className:"container relative",children:[e("div",{className:a("absolute mt-[50%] w-full h-full",r==="dark"?"bg-white":"bg-black")}),e("div",{className:a("flex flex-col md:flex-row items-center justify-between gap-12 px-6 md:px-16 py-16 bg-background",r,r==="dark"&&"bg-black clip-custom-top-r"),children:o("div",{className:"w-full flex flex-row items-center justify-center",children:[o("div",{className:a("w-full md:w-1/2 max-w-lg text-left",r==="dark"&&"mt-48"),children:[e("h2",{className:"text-3xl md:text-5xl text-primary",children:l}),e("p",{className:"mt-4 text-gray-700 text-lg",children:i&&e(c,{enableGutter:!1,content:i,enableProse:!1,className:a("prose prose-headings:text-gray-700 prose-p:text-gray-700")})}),e("button",{className:"mt-6 px-6 py-3 border border-1 border-accent text-foreground rounded-full text-base hover:bg-accent hover:text-white transition",children:e("a",{href:s.url||"#",children:s.label||"Learn more"})})]}),e("div",{className:"w-full md:w-1/2 flex justify-center",children:t&&t.url&&e(n,{src:t.url,alt:t.alt||`Image of ${l}`,width:400,height:400,className:"max-w-full"})})]})})]})}export{x as a};
1
+ import{e as c}from"./chunk-OIIEDD56.mjs";import{a}from"./chunk-NIQ4466A.mjs";import n from"next/image";import{jsx as e,jsxs as o}from"react/jsx-runtime";function x({image:t,title:l,content:i,link:s,theme:r}){return console.log("ServiceDetailSectionProps",t,l,i,s,r),o("section",{className:"container relative",children:[e("div",{className:a("absolute mt-[50%] w-full h-full",r==="dark"?"bg-white":"bg-black")}),e("div",{className:a("flex flex-col md:flex-row items-center justify-between gap-12 px-6 md:px-16 py-16 bg-background",r,r==="dark"&&"bg-black clip-custom-top-r"),children:o("div",{className:"w-full flex flex-row items-center justify-center",children:[o("div",{className:a("w-full md:w-1/2 max-w-lg text-left",r==="dark"&&"mt-48"),children:[e("h2",{className:"text-3xl md:text-5xl text-primary",children:l}),e("p",{className:"mt-4 text-gray-700 text-lg",children:i&&e(c,{enableGutter:!1,content:i,enableProse:!1,className:a("prose prose-headings:text-gray-700 prose-p:text-gray-700")})}),e("button",{className:"mt-6 px-6 py-3 border border-1 border-accent text-foreground rounded-full text-base hover:bg-accent hover:text-white transition",children:e("a",{href:s.url||"#",children:s.label||"Learn more"})})]}),e("div",{className:"w-full md:w-1/2 flex justify-center",children:t&&t.url&&e(n,{src:t.url,alt:t.alt||`Image of ${l}`,width:400,height:400,className:"max-w-full"})})]})})]})}export{x as a};
@@ -1 +1 @@
1
- import{a as C}from"./chunk-PIM2JQYT.mjs";import{a as b}from"./chunk-BRYZOZKY.mjs";import{a as p,b as d,f as u,g as c,i as D}from"./chunk-JWDVKGZL.mjs";import{b as g}from"./chunk-BDX257W2.mjs";import{useState as R}from"react";import{PlusCircle as y}from"lucide-react";import{Droppable as v,Draggable as T}from"@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration";import{jsx as e,jsxs as o}from"react/jsx-runtime";function L({status:r,deals:s,users:f,customers:h,categories:i,onDealClick:N,calculateColumnValue:w,calculateWeightedValue:x,addNewDeal:n,onAddCustomer:P}){let[S,m]=R(!1);return o("div",{className:"flex flex-col w-80",children:[e("h2",{className:"text-xl font-semibold mb-4",children:r}),n&&o(p,{open:S,onOpenChange:m,children:[e(d,{asChild:!0,children:o(g,{className:"mb-4 w-full bg-green-500 hover:bg-green-600 text-white",children:[e(y,{className:"mr-2 h-4 w-4"}),"Add New Deal"]})}),o(u,{children:[e(c,{children:e(D,{children:"Add New Deal"})}),e(C,{customers:h,users:f,categories:i,onSubmit:n,onAddCustomer:P,onClose:()=>m(!1)})]})]}),e(v,{droppableId:r,isDropDisabled:!1,children:l=>o("div",{ref:l.innerRef,...l.droppableProps,className:"bg-gray-100 p-4 rounded-lg flex-grow min-h-[200px] shadow-inner",children:[s.map((a,A)=>e(T,{draggableId:a.id.toString(),index:a.id,children:t=>e("div",{ref:t.innerRef,...t.draggableProps,...t.dragHandleProps,children:e(b,{deal:a,customer:a.customer,categories:i,onClick:()=>N(a)})})},a.id.toString())),l.placeholder]})}),o("div",{className:"mt-4 text-sm bg-white p-3 rounded-lg shadow",children:[o("p",{className:"font-semibold",children:["Total:"," ",o("span",{className:"text-green-600",children:["\xA3",w(s).toLocaleString()]})]}),o("p",{className:"font-semibold",children:["Weighted:"," ",o("span",{className:"text-blue-600",children:["\xA3",x(s,r).toLocaleString()]})]})]})]})}export{L as a};
1
+ import{a as C}from"./chunk-OUKKI47A.mjs";import{a as b}from"./chunk-BRYZOZKY.mjs";import{a as p,b as d,f as u,g as c,i as D}from"./chunk-JWDVKGZL.mjs";import{b as g}from"./chunk-BDX257W2.mjs";import{useState as R}from"react";import{PlusCircle as y}from"lucide-react";import{Droppable as v,Draggable as T}from"@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration";import{jsx as e,jsxs as o}from"react/jsx-runtime";function L({status:r,deals:s,users:f,customers:h,categories:i,onDealClick:N,calculateColumnValue:w,calculateWeightedValue:x,addNewDeal:n,onAddCustomer:P}){let[S,m]=R(!1);return o("div",{className:"flex flex-col w-80",children:[e("h2",{className:"text-xl font-semibold mb-4",children:r}),n&&o(p,{open:S,onOpenChange:m,children:[e(d,{asChild:!0,children:o(g,{className:"mb-4 w-full bg-green-500 hover:bg-green-600 text-white",children:[e(y,{className:"mr-2 h-4 w-4"}),"Add New Deal"]})}),o(u,{children:[e(c,{children:e(D,{children:"Add New Deal"})}),e(C,{customers:h,users:f,categories:i,onSubmit:n,onAddCustomer:P,onClose:()=>m(!1)})]})]}),e(v,{droppableId:r,isDropDisabled:!1,children:l=>o("div",{ref:l.innerRef,...l.droppableProps,className:"bg-gray-100 p-4 rounded-lg flex-grow min-h-[200px] shadow-inner",children:[s.map((a,A)=>e(T,{draggableId:a.id.toString(),index:a.id,children:t=>e("div",{ref:t.innerRef,...t.draggableProps,...t.dragHandleProps,children:e(b,{deal:a,customer:a.customer,categories:i,onClick:()=>N(a)})})},a.id.toString())),l.placeholder]})}),o("div",{className:"mt-4 text-sm bg-white p-3 rounded-lg shadow",children:[o("p",{className:"font-semibold",children:["Total:"," ",o("span",{className:"text-green-600",children:["\xA3",w(s).toLocaleString()]})]}),o("p",{className:"font-semibold",children:["Weighted:"," ",o("span",{className:"text-blue-600",children:["\xA3",x(s,r).toLocaleString()]})]})]})]})}export{L as a};
@@ -1 +1 @@
1
- import{a}from"../../chunk-GELMZJJE.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-OI2YT2ZF.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-2A6JF3LE.mjs";import"../../chunk-4YJ3HV64.mjs";import"../../chunk-FCCL6W7R.mjs";import"../../chunk-WLBZXBU3.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as BannerBlock};
1
+ import{a}from"../../chunk-OIIEDD56.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-4YJ3HV64.mjs";import"../../chunk-2A6JF3LE.mjs";import"../../chunk-FCCL6W7R.mjs";import"../../chunk-WLBZXBU3.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-OI2YT2ZF.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as BannerBlock};
@@ -1 +1 @@
1
- import{b as a}from"../../chunk-GELMZJJE.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-OI2YT2ZF.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-2A6JF3LE.mjs";import"../../chunk-4YJ3HV64.mjs";import"../../chunk-FCCL6W7R.mjs";import"../../chunk-WLBZXBU3.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as CallToActionBlock};
1
+ import{b as a}from"../../chunk-OIIEDD56.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-4YJ3HV64.mjs";import"../../chunk-2A6JF3LE.mjs";import"../../chunk-FCCL6W7R.mjs";import"../../chunk-WLBZXBU3.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-OI2YT2ZF.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as CallToActionBlock};
@@ -1 +1 @@
1
- import{b as t}from"../../chunk-GELMZJJE.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-OI2YT2ZF.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-2A6JF3LE.mjs";import"../../chunk-4YJ3HV64.mjs";import"../../chunk-FCCL6W7R.mjs";import"../../chunk-WLBZXBU3.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";import{jsx as i}from"react/jsx-runtime";var r={title:"Reusable Blocks/CallToAction",component:t},c=r,o=l=>i(t,{...l}),e=o.bind({});e.args={richText:{root:{children:[{type:"text",text:"This is a regular text."},{type:"text",text:"This is bold text.",format:1}]}},links:[{link:{type:"custom",label:"Learn More",url:"#"}},{link:{type:"custom",label:"Get Started",url:"#"}}]};var a=o.bind({});a.args={...e.args,links:[{link:{type:"custom",label:"Learn More",url:"#"}}]};export{e as Default,a as SingleLink,c as default};
1
+ import{b as t}from"../../chunk-OIIEDD56.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-4YJ3HV64.mjs";import"../../chunk-2A6JF3LE.mjs";import"../../chunk-FCCL6W7R.mjs";import"../../chunk-WLBZXBU3.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-OI2YT2ZF.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";import{jsx as i}from"react/jsx-runtime";var r={title:"Reusable Blocks/CallToAction",component:t},c=r,o=l=>i(t,{...l}),e=o.bind({});e.args={richText:{root:{children:[{type:"text",text:"This is a regular text."},{type:"text",text:"This is bold text.",format:1}]}},links:[{link:{type:"custom",label:"Learn More",url:"#"}},{link:{type:"custom",label:"Get Started",url:"#"}}]};var a=o.bind({});a.args={...e.args,links:[{link:{type:"custom",label:"Learn More",url:"#"}}]};export{e as Default,a as SingleLink,c as default};
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import type { CollapsibleAreaBlock as CollapsibleAreaBlockProps } from '@/payload-types';
3
+ export declare const CollapsibleBlock: React.FC<CollapsibleAreaBlockProps>;
@@ -0,0 +1,4 @@
1
+ "use client";
2
+ "use strict";
3
+
4
+ "use strict";"use client";var it=Object.create;var W=Object.defineProperty;var ct=Object.getOwnPropertyDescriptor;var dt=Object.getOwnPropertyNames;var pt=Object.getPrototypeOf,mt=Object.prototype.hasOwnProperty;var ut=(e,t)=>{for(var r in t)W(e,r,{get:t[r],enumerable:!0})},Pe=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of dt(t))!mt.call(e,s)&&s!==r&&W(e,s,{get:()=>t[s],enumerable:!(n=ct(t,s))||n.enumerable});return e};var L=(e,t,r)=>(r=e!=null?it(pt(e)):{},Pe(t||!e||!e.__esModule?W(r,"default",{value:e,enumerable:!0}):r,e)),gt=e=>Pe(W({},"__esModule",{value:!0}),e);var qt={};ut(qt,{CollapsibleBlock:()=>Xt});module.exports=gt(qt);var lt=L(require("react")),O=L(require("@radix-ui/react-collapsible")),ne=require("@radix-ui/react-icons");var Fe=require("clsx");var pe="-",ft=e=>{let t=yt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:l=>{let a=l.split(pe);return a[0]===""&&a.length!==1&&a.shift(),Ie(a,t)||bt(l)},getConflictingClassGroupIds:(l,a)=>{let c=r[l]||[];return a&&n[l]?[...c,...n[l]]:c}}},Ie=(e,t)=>{var l;if(e.length===0)return t.classGroupId;let r=e[0],n=t.nextPart.get(r),s=n?Ie(e.slice(1),n):void 0;if(s)return s;if(t.validators.length===0)return;let o=e.join(pe);return(l=t.validators.find(({validator:a})=>a(o)))==null?void 0:l.classGroupId},Be=/^\[(.+)\]$/,bt=e=>{if(Be.test(e)){let t=Be.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},yt=e=>{let{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return xt(Object.entries(e.classGroups),r).forEach(([o,l])=>{de(l,n,o,t)}),n},de=(e,t,r,n)=>{e.forEach(s=>{if(typeof s=="string"){let o=s===""?t:Re(t,s);o.classGroupId=r;return}if(typeof s=="function"){if(ht(s)){de(s(n),t,r,n);return}t.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([o,l])=>{de(l,Re(t,o),r,n)})})},Re=(e,t)=>{let r=e;return t.split(pe).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},ht=e=>e.isThemeGetter,xt=(e,t)=>t?e.map(([r,n])=>{let s=n.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([l,a])=>[t+l,a])):o);return[r,s]}):e,wt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map,s=(o,l)=>{r.set(o,l),t++,t>e&&(t=0,n=r,r=new Map)};return{get(o){let l=r.get(o);if(l!==void 0)return l;if((l=n.get(o))!==void 0)return s(o,l),l},set(o,l){r.has(o)?r.set(o,l):s(o,l)}}},Te="!",vt=e=>{let{separator:t,experimentalParseClassName:r}=e,n=t.length===1,s=t[0],o=t.length,l=a=>{let c=[],p=0,m=0,v;for(let x=0;x<a.length;x++){let w=a[x];if(p===0){if(w===s&&(n||a.slice(x,x+o)===t)){c.push(a.slice(m,x)),m=x+o;continue}if(w==="/"){v=x;continue}}w==="["?p++:w==="]"&&p--}let y=c.length===0?a:a.substring(m),k=y.startsWith(Te),A=k?y.substring(1):y,h=v&&v>m?v-m:void 0;return{modifiers:c,hasImportantModifier:k,baseClassName:A,maybePostfixModifierPosition:h}};return r?a=>r({className:a,parseClassName:l}):l},kt=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(n=>{n[0]==="["?(t.push(...r.sort(),n),r=[]):r.push(n)}),t.push(...r.sort()),t},Ct=e=>({cache:wt(e.cacheSize),parseClassName:vt(e),...ft(e)}),At=/\s+/,Nt=(e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:s}=t,o=[],l=e.trim().split(At),a="";for(let c=l.length-1;c>=0;c-=1){let p=l[c],{modifiers:m,hasImportantModifier:v,baseClassName:y,maybePostfixModifierPosition:k}=r(p),A=!!k,h=n(A?y.substring(0,k):y);if(!h){if(!A){a=p+(a.length>0?" "+a:a);continue}if(h=n(y),!h){a=p+(a.length>0?" "+a:a);continue}A=!1}let x=kt(m).join(":"),w=v?x+Te:x,C=w+h;if(o.includes(C))continue;o.push(C);let M=s(h,A);for(let P=0;P<M.length;++P){let Y=M[P];o.push(w+Y)}a=p+(a.length>0?" "+a:a)}return a};function Pt(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Se(t))&&(n&&(n+=" "),n+=r);return n}var Se=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=Se(e[n]))&&(r&&(r+=" "),r+=t);return r};function Bt(e,...t){let r,n,s,o=l;function l(c){let p=t.reduce((m,v)=>v(m),e());return r=Ct(p),n=r.cache.get,s=r.cache.set,o=a,a(c)}function a(c){let p=n(c);if(p)return p;let m=Nt(c,r);return s(c,m),m}return function(){return o(Pt.apply(null,arguments))}}var g=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Me=/^\[(?:([a-z-]+):)?(.+)\]$/i,Rt=/^\d+\/\d+$/,It=new Set(["px","full","screen"]),Tt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,St=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Mt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,zt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Et=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,I=e=>U(e)||It.has(e)||Rt.test(e),z=e=>H(e,"length",Vt),U=e=>!!e&&!Number.isNaN(Number(e)),ce=e=>H(e,"number",U),j=e=>!!e&&Number.isInteger(Number(e)),Ft=e=>e.endsWith("%")&&U(e.slice(0,-1)),i=e=>Me.test(e),E=e=>Tt.test(e),Gt=new Set(["length","size","percentage"]),Dt=e=>H(e,Gt,ze),Lt=e=>H(e,"position",ze),Ut=new Set(["image","url"]),Ht=e=>H(e,Ut,Qt),Ot=e=>H(e,"",jt),Q=()=>!0,H=(e,t,r)=>{let n=Me.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1},Vt=e=>St.test(e)&&!Mt.test(e),ze=()=>!1,jt=e=>zt.test(e),Qt=e=>Et.test(e);var Jt=()=>{let e=g("colors"),t=g("spacing"),r=g("blur"),n=g("brightness"),s=g("borderColor"),o=g("borderRadius"),l=g("borderSpacing"),a=g("borderWidth"),c=g("contrast"),p=g("grayscale"),m=g("hueRotate"),v=g("invert"),y=g("gap"),k=g("gradientColorStops"),A=g("gradientColorStopPositions"),h=g("inset"),x=g("margin"),w=g("opacity"),C=g("padding"),M=g("saturate"),P=g("scale"),Y=g("sepia"),xe=g("skew"),we=g("space"),ve=g("translate"),se=()=>["auto","contain","none"],ae=()=>["auto","hidden","clip","visible","scroll"],le=()=>["auto",i,t],b=()=>[i,t],ke=()=>["",I,z],X=()=>["auto",U,i],Ce=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],q=()=>["solid","dashed","dotted","double","none"],Ae=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ie=()=>["start","end","center","between","around","evenly","stretch"],V=()=>["","0",i],Ne=()=>["auto","avoid","all","avoid-page","page","left","right","column"],R=()=>[U,i];return{cacheSize:500,separator:":",theme:{colors:[Q],spacing:[I,z],blur:["none","",E,i],brightness:R(),borderColor:[e],borderRadius:["none","","full",E,i],borderSpacing:b(),borderWidth:ke(),contrast:R(),grayscale:V(),hueRotate:R(),invert:V(),gap:b(),gradientColorStops:[e],gradientColorStopPositions:[Ft,z],inset:le(),margin:le(),opacity:R(),padding:b(),saturate:R(),scale:R(),sepia:V(),skew:R(),space:b(),translate:b()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[E]}],"break-after":[{"break-after":Ne()}],"break-before":[{"break-before":Ne()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...Ce(),i]}],overflow:[{overflow:ae()}],"overflow-x":[{"overflow-x":ae()}],"overflow-y":[{"overflow-y":ae()}],overscroll:[{overscroll:se()}],"overscroll-x":[{"overscroll-x":se()}],"overscroll-y":[{"overscroll-y":se()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[h]}],"inset-x":[{"inset-x":[h]}],"inset-y":[{"inset-y":[h]}],start:[{start:[h]}],end:[{end:[h]}],top:[{top:[h]}],right:[{right:[h]}],bottom:[{bottom:[h]}],left:[{left:[h]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",j,i]}],basis:[{basis:le()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",i]}],grow:[{grow:V()}],shrink:[{shrink:V()}],order:[{order:["first","last","none",j,i]}],"grid-cols":[{"grid-cols":[Q]}],"col-start-end":[{col:["auto",{span:["full",j,i]},i]}],"col-start":[{"col-start":X()}],"col-end":[{"col-end":X()}],"grid-rows":[{"grid-rows":[Q]}],"row-start-end":[{row:["auto",{span:[j,i]},i]}],"row-start":[{"row-start":X()}],"row-end":[{"row-end":X()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",i]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",i]}],gap:[{gap:[y]}],"gap-x":[{"gap-x":[y]}],"gap-y":[{"gap-y":[y]}],"justify-content":[{justify:["normal",...ie()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ie(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ie(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[C]}],px:[{px:[C]}],py:[{py:[C]}],ps:[{ps:[C]}],pe:[{pe:[C]}],pt:[{pt:[C]}],pr:[{pr:[C]}],pb:[{pb:[C]}],pl:[{pl:[C]}],m:[{m:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[we]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[we]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",i,t]}],"min-w":[{"min-w":[i,t,"min","max","fit"]}],"max-w":[{"max-w":[i,t,"none","full","min","max","fit","prose",{screen:[E]},E]}],h:[{h:[i,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,t,"auto","min","max","fit"]}],"font-size":[{text:["base",E,z]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ce]}],"font-family":[{font:[Q]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",i]}],"line-clamp":[{"line-clamp":["none",U,ce]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",I,i]}],"list-image":[{"list-image":["none",i]}],"list-style-type":[{list:["none","disc","decimal",i]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[w]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[w]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...q(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",I,z]}],"underline-offset":[{"underline-offset":["auto",I,i]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:b()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",i]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",i]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[w]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Ce(),Lt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Dt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Ht]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[A]}],"gradient-via-pos":[{via:[A]}],"gradient-to-pos":[{to:[A]}],"gradient-from":[{from:[k]}],"gradient-via":[{via:[k]}],"gradient-to":[{to:[k]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-je":[{"rounded-je":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[w]}],"border-style":[{border:[...q(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[w]}],"divide-style":[{divide:q()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...q()]}],"outline-offset":[{"outline-offset":[I,i]}],"outline-w":[{outline:[I,z]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ke()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[w]}],"ring-offset-w":[{"ring-offset":[I,z]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",E,Ot]}],"shadow-color":[{shadow:[Q]}],opacity:[{opacity:[w]}],"mix-blend":[{"mix-blend":[...Ae(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Ae()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",E,i]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[v]}],saturate:[{saturate:[M]}],sepia:[{sepia:[Y]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[v]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[M]}],"backdrop-sepia":[{"backdrop-sepia":[Y]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",i]}],duration:[{duration:R()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:R()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[P]}],"scale-x":[{"scale-x":[P]}],"scale-y":[{"scale-y":[P]}],rotate:[{rotate:[j,i]}],"translate-x":[{"translate-x":[ve]}],"translate-y":[{"translate-y":[ve]}],"skew-x":[{"skew-x":[xe]}],"skew-y":[{"skew-y":[xe]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",i]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",i]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":b()}],"scroll-mx":[{"scroll-mx":b()}],"scroll-my":[{"scroll-my":b()}],"scroll-ms":[{"scroll-ms":b()}],"scroll-me":[{"scroll-me":b()}],"scroll-mt":[{"scroll-mt":b()}],"scroll-mr":[{"scroll-mr":b()}],"scroll-mb":[{"scroll-mb":b()}],"scroll-ml":[{"scroll-ml":b()}],"scroll-p":[{"scroll-p":b()}],"scroll-px":[{"scroll-px":b()}],"scroll-py":[{"scroll-py":b()}],"scroll-ps":[{"scroll-ps":b()}],"scroll-pe":[{"scroll-pe":b()}],"scroll-pt":[{"scroll-pt":b()}],"scroll-pr":[{"scroll-pr":b()}],"scroll-pb":[{"scroll-pb":b()}],"scroll-pl":[{"scroll-pl":b()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",i]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[I,z,ce]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-je","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-je"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Ee=Bt(Jt);function d(...e){return Ee((0,Fe.clsx)(e))}var Z=require("react/jsx-runtime"),Ge=({className:e,content:t,style:r})=>(0,Z.jsx)("div",{className:d("mx-auto my-8 w-full",e),children:(0,Z.jsx)("div",{className:d("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,Z.jsx)(B,{content:t,enableGutter:!1,enableProse:!1})})});var De=require("@radix-ui/react-slot"),Le=require("class-variance-authority"),Ue=L(require("react")),_t=(0,Le.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),G=Ue.forwardRef(({asChild:e=!1,className:t,size:r,variant:n,...s},o)=>(0,Z.jsx)(e?De.Slot:"button",{className:d(_t({className:t,size:r,variant:n})),ref:o,...s}));G.displayName="Button";var me=L(require("next/link")),_=e=>{let{type:t,appearance:r="inline",children:n,className:s,label:o,newTab:l,reference:a,size:c,url:p}=e,m=t==="reference"&&typeof(a==null?void 0:a.value)=="object"&&a.value.slug?`${(a==null?void 0:a.relationTo)!=="pages"?`/${a==null?void 0:a.relationTo}`:""}/${a.value.slug}`:p;if(!m)return null;let v=r==="link"?"clear":c,y=l?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,Z.jsxs)(me.default,{className:d(s),href:m||p||"",...y,children:[o&&o,n&&n]}):(0,Z.jsx)(G,{asChild:!0,className:s,size:v,variant:r,children:(0,Z.jsxs)(me.default,{className:d(s),href:m||p||"",...y,children:[o&&o,n&&n]})})};var Oe=({links:e,richText:t})=>(0,Z.jsx)("div",{className:"container",children:(0,Z.jsxs)("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,Z.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,Z.jsx)(B,{className:"mb-0",content:t,enableGutter:!1})}),(0,Z.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},n)=>(0,Z.jsx)(_,{size:"lg",...r},n))})]})});var $=require("prism-react-renderer");var Ve=require("lucide-react"),je=require("react");function Qe({code:e}){let[t,r]=(0,je.useState)("Copy");function n(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,Z.jsx)("div",{className:"flex justify-end align-middle",children:(0,Z.jsxs)(G,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),n()},children:[(0,Z.jsx)("p",{children:t}),(0,Z.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,Z.jsx)(Ve.ClipboardCopy,{})})]})})}var Je=({code:e,language:t=""})=>e?(0,Z.jsx)($.Highlight,{code:e,language:t,theme:$.themes.vsDark,children:({getLineProps:r,getTokenProps:n,tokens:s})=>(0,Z.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[s.map((o,l)=>(0,Z.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,Z.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:l+1}),(0,Z.jsx)("span",{className:"table-cell pl-4",children:o.map((a,c)=>(0,Z.jsx)("span",{...n({token:a})},c))})]},l)),(0,Z.jsx)(Qe,{code:e})]})}):null;var _e=({className:e,code:t,language:r})=>(0,Z.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Z.jsx)(Je,{code:t,language:r})});var Ye=L(require("next/image")),Kt={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Ke="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABchJREFUWEdtlwtTG0kMhHtGM7N+AAdcDsjj///EBLzenbtuadbLJaZUTlHB+tRqSesETB3IABqQG1KbUFqDlQorBSmboqeEBcC1d8zrCixXYGZcgMsFmH8B+AngHdurAmXKOE8nHOoBrU6opcGswPi5KSP9CcBaQ9kACJH/ALAA1xm4zMD8AczvQCcAQeJVAZsy7nYApTSUzwCHUKACeUJi9TsFci7AHmDtuHYqQIC9AgQYKnSwNAig4NyOOwXq/xU47gDYggarjIpsRSEA3Fqw7AGkwgW4fgALAdiC2btKgNZwbgdMbEFpqFR2UyCR8xwAhf8bUHIGk1ckMyB5C1YkeWAdAPQBAeiD6wVYPoD1HUgXwFagZAGc6oSpTmilopoD5GzISQD3odcNIFca0BUQQM5YA2DpHV0AYURBDIAL0C+ugC0C4GedSsVUmwC8/4w8TPiwU6AClJ5RWL1PgQNkrABWdKB3YF3cBwRY5lsI4ApkKpCQi+FIgFJU/TDgDuAxAAwonJuKpGD1rkCXCR1ALyrAUSSEQAhwBdYZ6DPAgSUA2c1wKIZmRcHxMzMYR9DH8NlbkAwwApSAcABwBwTAbb6owAr0AFiZPILVEyCtMmK2jCkTwFDNUNj7nJETQx744gCUmgkZVGJUHyakEZE4W91jtGFA9KsD8Z3JFYDlhGYZLWcllwJMnplcPy+csFAgAAaIDOgeuAGoB96GLZg4kmtfMjnr6ig5oSoySsoy3ya/FMivXZWxwr0KIf9nACbfqcBEgmBSAtAlIT83R+70IWpyACamIjf5E1Iqb9ECVmnoI/FvAIRk8s2J0Y5IquQDgB+5wpScw5AUTC75VTmTs+72NUzoCvQIaAXv5Q8PDAZKLD+MxLv3RFE7KlsQChgBIlKiCv5ByaZv3gJZNm8AnVMhAN+EjrtTYQMICJpu6/0aiQnhClANlz+Bw0cIWa8ev0sBrtrhAyaXEnrfGfATQJiRKih5vKeOHNXXPFrgyamAADh0Q4F2/sESojomDS9o9k0b0H83xjB8qL+JNoTjN+enjpaBpingRh4e8MSugudM030A8FeqMI6PFIgNyPehkpZWGFEAARIQdH5LcAAqIACHkAJqg4OoBccHAuz76wr4BbzFOEa8iBuAZB8AtJHLP2VgMgJw/EIBowo7HxCAH3V6dAXEE/vZ5aZIA8BP8RKhm7Cp8BnAMnAQADdgQDA520AVIpScP+enHz0Gwp25h4i2dPg5FkDXrbsdJikQwXuWgaM5gEMk1AgH4DKKFjDf3bMD+FjEeIxLlRKYnBk2BbquvSDCAQ4gwZiMAAmH4gBTyRtEsYxi7gP6QSrc//39BrDNqG8rtYTmC4BV1SfMhOhaumFCT87zy4pPhQBZEK1kQVRjJBBi7AOlePgyAPYjwlvtagx9e/dnQraAyS894TIkkAIEYMKEc8k4EqJ68lZ5jjNqcQC2QteQOf7659umwBgPybNtK4dg9WvnMyFwXYGP7uEO1lwJgAnPNeMYMVXbIIYKFioI4PGFt+BWPVfmWJdjW2lTUnLGCswECAgaUy86iwA1464ajo0QhgMBFGyBoZahANsMpMfXr1JA1SN29m5lqgXj+UPV85uRA7yv/KYUO4Tk7Hc1AZwbIRzg0AyNj2UlAMwfSLSMnl7fdAbcxHuA27YaAMvaQ4GOjwX4RTUGAG8Ge14N963g1AynqUiFqRX9noasxT4b8entNRQYyamk/3tYcHsO7R3XJRRYOn4tw4iUnwBM5gDnySGOreAwAGo8F9IDHEcq8Pz2Kg/oXCpuIL6tOPD8LsDn0ABYQoGFRowlsAEUPPDrGAGowAbgKsgDMmE8mDy/vXQ9IAwI7u4wta+gAdAdgB64Ah9SgD4IgGKhwACoAjgNgFDhtxY8f33ZTMjqdTAiHMBPrn8ZWkEfzFdX4Oc1AHg3+ADbvN8PU8WdFKg4Tt6CQy2+D4YHaMT/JP4XzbAq98cPDIUAAAAASUVORK5CYII=",Xe=e=>{let{alt:t,fill:r,imgClassName:n,priority:s,resource:o,size:l,src:a,loading:c}=e,p,m,v=t,y=a||"";if(!y&&o&&typeof o=="object"){let{alt:h,filename:x,height:w,url:C,width:M}=o;if(w&&w>500){let P=500/w;p=M*P,m=w*P}else p=M,m=w;v=h||"",y=C||Ke}let k=c||"lazy",A=l||Object.entries(Kt).map(([,h])=>`(max-width: ${h}px) ${h*2}w`).join(", ");return(0,Z.jsx)("picture",{children:(0,Z.jsx)(Ye.default,{alt:v||"",className:d(n),fill:r,height:r?void 0:m,placeholder:"blur",blurDataURL:Ke,priority:k!=="lazy"&&s,quality:100,loading:k,sizes:A,src:y,width:r?void 0:p})})};var qe=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var We=()=>{if(qe){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var Ze=e=>{let{onClick:t,resource:r,videoClassName:n}=e,s=(0,je.useRef)(null);if((0,je.useEffect)(()=>{let{current:o}=s;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,Z.jsx)("video",{autoPlay:!0,className:d(n),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:s,children:(0,Z.jsx)("source",{src:`${We()}/media/${o}`})})}return null};var re=e=>{var l;let{className:t,htmlElement:r="div",resource:n}=e,s=typeof n=="object"&&((l=n==null?void 0:n.mimeType)==null?void 0:l.includes("video"));return(0,Z.jsx)(r||$e.Fragment,{...r!==null?{className:t}:{},children:s?(0,Z.jsx)(Ze,{...e}):(0,Z.jsx)(Xe,{...e})})};var et=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:s,staticImage:o}=e;return(0,Z.jsx)("div",{className:d("h-full ",{container:r},t),children:(0,Z.jsx)(re,{imgClassName:d("rounded-[0.8rem]",n),className:"flex justify-center",resource:s,src:o})})};var tt=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:s,staticImage:o}=e;return(0,Z.jsx)("div",{className:d("",{container:r},t),children:(0,Z.jsx)(re,{imgClassName:d("rounded-[0.8rem]",n),resource:s,src:o})})};var he=({type:e="solid",iconName:t="cloud",size:r="lg",className:n})=>{let s=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,l=n!=null?n:"",a=s+o+" fa-"+r+" "+l;return(0,Z.jsx)("i",{className:a})};function ot(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function nt({variant:e="outline",className:t,icon:r,iconSize:n="large",width:s="auto",order:o=0,heading:l,subheading:a,content:c,statistic:p,buttonText:m,buttonHref:v}){let y={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:""},k={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,Z.jsxs)("div",{className:d("rounded-3xl p-8 md:p-8 min-w-56 flex flex-col group",y[e],e==="outline"?"text-gray-900":"text-white",t,k[s],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${o+1}00`),children:[(0,Z.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,Z.jsx)(Yt,{icon:r,heading:l,variant:e,iconSize:n})}),p&&(0,Z.jsx)("div",{className:"mb-6",children:(0,Z.jsx)("div",{className:d("text-4xl text-wrap font-bold leading-none overflow-hidden",e==="outline"||e==="light"?"text-primary":"text-white"),children:p})}),a&&(0,Z.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:a}),c&&typeof c=="object"&&(0,Z.jsx)("div",{className:d("space-y-6"),children:(0,Z.jsx)(B,{enableGutter:!1,content:c,enableProse:!1,className:d(e==="outline"||e==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100")})}),c&&typeof c=="string"&&(0,Z.jsx)("div",{className:d("space-y-6",e==="outline"||e==="light"?"text-gray-900":"text-gray-100"),children:c}),m&&(0,Z.jsx)("div",{className:"mt-auto pt-6 flex items-center justify-center",children:(0,Z.jsx)(G,{size:"lg",className:"text-white text-lg rounded-xl w-full mt-auto items-center justify-center",asChild:!0,children:(0,Z.jsx)("a",{href:v,children:m})})}),e==="radial"&&(0,Z.jsx)("div",{className:"absolute bottom-0 right-0 w-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})}var Yt=({icon:e,heading:t,variant:r,iconSize:n})=>e&&n==="small"?(0,Z.jsxs)("div",{className:"flex items-start gap-4 mb-2",children:[ot(e)&&(0,Z.jsx)("div",{className:d("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-primary":"text-white",n==="small"?"mt-2":""),children:(0,Z.jsx)(he,{type:e.type,iconName:e.iconName,size:"2x"})}),(0,Z.jsx)("div",{className:d("font-semibold",r==="outline"||r==="light"?"text-primary":"text-white",n==="small"?"text-2xl":"text-3xl"),children:t})]}):e?(0,Z.jsxs)("div",{className:"flex flex-col gap-4",children:[ot(e)&&(0,Z.jsx)("div",{className:d("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-accent":""),children:(0,Z.jsx)(he,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,Z.jsx)("h3",{className:d("font-semibold",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})]}):(0,Z.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,Z.jsx)("div",{className:d("font-semibold",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var st=({title:e,description:t,features:r,id:n,nested:s=!1})=>(0,Z.jsxs)("section",{className:d(!s&&"container","w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,Z.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl text-primary",id:n||"",children:e}),t&&typeof t=="string"&&(0,Z.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:t}),t&&typeof t=="object"&&(0,Z.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:(0,Z.jsx)(B,{content:t,enableGutter:!1})}),(0,Z.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((o,l)=>{var c,p,m,v,y;let a=()=>{if(o.icon&&"type"in o.icon&&o.icon.type!=="none")return{type:o.icon.type,iconName:o.icon.icon}};return(0,Z.jsx)(nt,{variant:((c=o.settings)==null?void 0:c.card)==="default"?"light":((p=o.settings)==null?void 0:p.card)||"outline",icon:a()||void 0,iconSize:((m=o.settings)==null?void 0:m.iconSize)||"large",width:"auto",order:l,heading:o.title||"",content:o.content||void 0,statistic:o.statistic||void 0,buttonText:(v=o.link)!=null&&v.url?"Find out more":void 0,buttonHref:((y=o.link)==null?void 0:y.url)||void 0},l)})})]});var oe=L(require("react"));function K({nodes:e}){return(0,Z.jsx)(oe.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,Z.jsx)(oe.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,Z.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,Z.jsx)("em",{children:o},r)),t.format&4&&(o=(0,Z.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,Z.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,Z.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,Z.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,Z.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,Z.jsx)("table",{children:(0,Z.jsx)("tbody",{children:t.children.map((o,l)=>(0,Z.jsx)("tr",{children:o.children.map((a,c)=>(0,Z.jsx)("td",{children:K({nodes:a.children})},c))},l))})},r);let n=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let l of o.children)"checked"in l&&(l!=null&&l.checked||(l.checked=!1));return K({nodes:o.children})},s="children"in t?n(t):"";if(t.type==="block"){let o=t.fields,l=o==null?void 0:o.blockType;if(!o||!l)return null;switch(l){case"cta":return(0,Z.jsx)(Oe,{...o},r);case"mediaBlock":return(0,Z.jsx)(et,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,Z.jsx)(tt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,Z.jsx)(Ge,{className:"col-start-2 mb-4",...o},r);case"code":return(0,Z.jsx)(_e,{className:"col-start-2",...o},r);case"features":return(0,Z.jsx)(st,{...o,nested:!0},r);case"reusableContentBlock":K({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,Z.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,Z.jsx)("p",{className:"col-start-2",children:s},r);case"heading":{let o=t==null?void 0:t.tag;return(0,Z.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:s},r)}case"list":{let o=t==null?void 0:t.tag;return(0,Z.jsx)(o,{className:"list col-start-2",children:s},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,Z.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:s},r):(0,Z.jsx)("li",{value:t==null?void 0:t.value,children:s},r);case"quote":return(0,Z.jsx)("blockquote",{className:"col-start-2",children:s},r);case"link":{let o=t.fields;return(0,Z.jsx)(_,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}case"autolink":{let o=t.fields;return(0,Z.jsx)(_,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}default:return null}})})}var B=({className:e,content:t,enableGutter:r=!0,enableProse:n=!0})=>{var s;return t?(0,Z.jsx)("div",{className:d({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":n},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&K({nodes:(s=t==null?void 0:t.root)==null?void 0:s.children})}):null};var Xt=({title:e,richText:t})=>{let[r,n]=lt.default.useState(!1);return(0,Z.jsx)("div",{className:"border rounded-lg overflow-hidden",children:(0,Z.jsxs)(O.Root,{className:d("w-full"),open:r,onOpenChange:n,children:[(0,Z.jsxs)(O.Trigger,{className:"flex w-full items-center justify-between bg-white px-4 py-3 text-left hover:bg-gray-50",children:[(0,Z.jsx)("h2",{className:"text-lg font-medium",children:e}),r?(0,Z.jsx)(ne.ChevronUpIcon,{className:"h-6 w-6"}):(0,Z.jsx)(ne.ChevronDownIcon,{className:"h-6 w-6"})]}),(0,Z.jsx)(O.Content,{className:"overflow-hidden data-[state=closed]:animate-collapse data-[state=open]:animate-expand border-t",children:(0,Z.jsx)("div",{className:"px-4 py-3 bg-white",children:(0,Z.jsx)(B,{content:t||{},enableGutter:!1})})})]})})};0&&(module.exports={CollapsibleBlock});
@@ -0,0 +1,2 @@
1
+ "use client";
2
+ "use strict";import{a}from"../../chunk-OXFWH45D.mjs";import"../../chunk-OIIEDD56.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-4YJ3HV64.mjs";import"../../chunk-2A6JF3LE.mjs";import"../../chunk-FCCL6W7R.mjs";import"../../chunk-WLBZXBU3.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-OI2YT2ZF.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as CollapsibleBlock};