cortex-react-components 1.50.1 → 1.50.2

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 (201) hide show
  1. package/dist/{chunk-FBAB23G3.mjs → chunk-2NGH7WXP.mjs} +1 -1
  2. package/dist/{chunk-36KUV6P4.mjs → chunk-3CEV5JAG.mjs} +1 -1
  3. package/dist/{chunk-RWM5ZZUL.mjs → chunk-5FZPC2CH.mjs} +1 -1
  4. package/dist/{chunk-6TTZ5CZJ.mjs → chunk-5RES3EGQ.mjs} +1 -1
  5. package/dist/{chunk-KB6PO4K4.mjs → chunk-5YTDIEDJ.mjs} +1 -1
  6. package/dist/{chunk-QWLQXVXH.mjs → chunk-63JK55U4.mjs} +1 -1
  7. package/dist/{chunk-5QGEYQCY.mjs → chunk-A5WSJINW.mjs} +1 -1
  8. package/dist/{chunk-SBAFXZVU.mjs → chunk-AAI2VZST.mjs} +1 -1
  9. package/dist/{chunk-4RWD4HBJ.mjs → chunk-ALTFHQW6.mjs} +1 -1
  10. package/dist/{chunk-G776UILH.mjs → chunk-BC4FD5AV.mjs} +1 -1
  11. package/dist/{chunk-VXYMTOPX.mjs → chunk-EQDX6HFN.mjs} +1 -1
  12. package/dist/{chunk-BRFSZTQJ.mjs → chunk-I3JB7SE2.mjs} +1 -1
  13. package/dist/{chunk-AVSI33QH.mjs → chunk-IIVWCHMJ.mjs} +1 -1
  14. package/dist/{chunk-B776KN7L.mjs → chunk-ITZ5HFK6.mjs} +1 -1
  15. package/dist/{chunk-JF4JGWIR.mjs → chunk-IV5DGAEA.mjs} +1 -1
  16. package/dist/chunk-JH57FKKK.mjs +1 -0
  17. package/dist/{chunk-PY53YVFX.mjs → chunk-KEUZSK3N.mjs} +1 -1
  18. package/dist/{chunk-KCYSP7UY.mjs → chunk-KJBMLPHS.mjs} +1 -1
  19. package/dist/{chunk-GBQKJ3RF.mjs → chunk-KPBUBVEA.mjs} +1 -1
  20. package/dist/{chunk-FS2FTCIF.mjs → chunk-LF2TON3F.mjs} +1 -1
  21. package/dist/{chunk-KI7MGWFJ.mjs → chunk-MJRUIYWE.mjs} +1 -1
  22. package/dist/{chunk-E3BQTJOB.mjs → chunk-MNDA6BQL.mjs} +1 -1
  23. package/dist/{chunk-V6QXJ5VQ.mjs → chunk-NEF5JGLN.mjs} +1 -1
  24. package/dist/{chunk-6PVDZJ4G.mjs → chunk-P7YRU4AM.mjs} +1 -1
  25. package/dist/{chunk-HBZMFHEU.mjs → chunk-QASPLGWV.mjs} +1 -1
  26. package/dist/{chunk-VJBYCOTX.mjs → chunk-R42CF5IM.mjs} +1 -1
  27. package/dist/{chunk-MQ3XW7PJ.mjs → chunk-RDTDZ7IO.mjs} +1 -1
  28. package/dist/{chunk-NLNLNGM6.mjs → chunk-RQHUMYHG.mjs} +1 -1
  29. package/dist/{chunk-USNWEWYQ.mjs → chunk-SJR3DHN4.mjs} +1 -1
  30. package/dist/{chunk-RJFBQZFX.mjs → chunk-TM37LU2K.mjs} +1 -1
  31. package/dist/{chunk-EOJQ2KKP.mjs → chunk-U76FODRW.mjs} +1 -1
  32. package/dist/{chunk-KIICLHKI.mjs → chunk-UBA3ZRKC.mjs} +1 -1
  33. package/dist/{chunk-QO2Z7WXW.mjs → chunk-UMILL4LR.mjs} +1 -1
  34. package/dist/chunk-W3LND6WX.mjs +5 -0
  35. package/dist/chunk-YCB5LFNI.mjs +1 -0
  36. package/dist/{chunk-AOM6WKTN.mjs → chunk-ZEUTWH7B.mjs} +1 -1
  37. package/dist/{chunk-RMJJ4QSC.mjs → chunk-ZLX5DHEL.mjs} +1 -1
  38. package/dist/components/Blocks/Banner.js +1 -1
  39. package/dist/components/Blocks/Banner.mjs +1 -1
  40. package/dist/components/Blocks/CallToAction.js +1 -1
  41. package/dist/components/Blocks/CallToAction.mjs +1 -1
  42. package/dist/components/Blocks/CallToAction.stories.js +1 -1
  43. package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
  44. package/dist/components/Blocks/Content.js +1 -1
  45. package/dist/components/Blocks/Content.mjs +1 -1
  46. package/dist/components/Blocks/FeaturesBlock.js +1 -1
  47. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  48. package/dist/components/Blocks/FeaturesBlock.stories.js +1 -1
  49. package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
  50. package/dist/components/Blocks/MediaBlock.js +1 -1
  51. package/dist/components/Blocks/MediaBlock.mjs +1 -1
  52. package/dist/components/Blocks/RelatedPosts.js +1 -1
  53. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  54. package/dist/components/Blocks/RenderBlocks.js +1 -1
  55. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  56. package/dist/components/Blocks/ReusableContentBlock.js +1 -1
  57. package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
  58. package/dist/components/Blocks/index.js +1 -1
  59. package/dist/components/Blocks/index.mjs +1 -1
  60. package/dist/components/CRM/DealDetails.mjs +1 -1
  61. package/dist/components/CRM/DealDetails.stories.mjs +1 -1
  62. package/dist/components/CRM/KanbanBoard.mjs +1 -1
  63. package/dist/components/CRM/KanbanBoard.stories.mjs +1 -1
  64. package/dist/components/CRM/KanbanColumn.mjs +1 -1
  65. package/dist/components/CRM/KanbanColumn.stories.mjs +1 -1
  66. package/dist/components/CRM/index.mjs +1 -1
  67. package/dist/components/Cards/ContentCard.js +1 -1
  68. package/dist/components/Cards/ContentCard.mjs +1 -1
  69. package/dist/components/Cards/ContentCard.stories.js +1 -1
  70. package/dist/components/Cards/ContentCard.stories.mjs +1 -1
  71. package/dist/components/Cards/index.js +1 -1
  72. package/dist/components/Cards/index.mjs +1 -1
  73. package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +1 -1
  74. package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
  75. package/dist/components/DigitalColleagues/MainPage.stories.mjs +1 -1
  76. package/dist/components/HeaderFooter/Header.mjs +1 -1
  77. package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
  78. package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
  79. package/dist/components/HeaderFooter/HeaderDesktop.stories.mjs +1 -1
  80. package/dist/components/HeaderFooter/SectionHeading.js +1 -1
  81. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  82. package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
  83. package/dist/components/HeaderFooter/index.mjs +1 -1
  84. package/dist/components/Heros/HighImpact/index.js +1 -1
  85. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  86. package/dist/components/Heros/LowImpact/index.js +1 -1
  87. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  88. package/dist/components/Heros/MediumImpact/index.js +1 -1
  89. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  90. package/dist/components/Heros/PostHero/index.mjs +1 -1
  91. package/dist/components/Heros/RenderHero.js +1 -1
  92. package/dist/components/Heros/RenderHero.mjs +1 -1
  93. package/dist/components/Heros/SectionHero/index.mjs +1 -1
  94. package/dist/components/Heros/index.js +1 -1
  95. package/dist/components/Heros/index.mjs +1 -1
  96. package/dist/components/Holidays/ApproveLeave.mjs +1 -1
  97. package/dist/components/Holidays/ApproveLeave.stories.mjs +1 -1
  98. package/dist/components/Holidays/HolidayGrid.mjs +1 -1
  99. package/dist/components/Holidays/HolidayGrid.stories.mjs +1 -1
  100. package/dist/components/Holidays/HolidayTracker.mjs +1 -1
  101. package/dist/components/Holidays/HolidayTracker.stories.mjs +1 -1
  102. package/dist/components/Holidays/index.mjs +1 -1
  103. package/dist/components/Layouts/BlogList.js +1 -1
  104. package/dist/components/Layouts/BlogList.mjs +1 -1
  105. package/dist/components/Layouts/BlogList.stories.js +2 -2
  106. package/dist/components/Layouts/BlogList.stories.mjs +1 -1
  107. package/dist/components/Layouts/OutputHeaderFooter.js +1 -1
  108. package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
  109. package/dist/components/Layouts/Print.d.ts +2 -0
  110. package/dist/components/Layouts/Print.js +2 -2
  111. package/dist/components/Layouts/Print.mjs +1 -1
  112. package/dist/components/Layouts/Print.stories.css +1 -0
  113. package/dist/components/Layouts/Print.stories.js +4 -0
  114. package/dist/components/Layouts/Print.stories.mjs +1 -0
  115. package/dist/components/Layouts/SlideShow.js +1 -1
  116. package/dist/components/Layouts/SlideShow.mjs +1 -1
  117. package/dist/components/Layouts/SlideShow.stories.js +1 -1
  118. package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
  119. package/dist/components/Layouts/index.js +7 -7
  120. package/dist/components/Layouts/index.mjs +1 -1
  121. package/dist/components/Menus/SidebarLeft.mjs +1 -1
  122. package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
  123. package/dist/components/Menus/SidebarRight.mjs +1 -1
  124. package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
  125. package/dist/components/Menus/index.mjs +1 -1
  126. package/dist/components/Other/index.mjs +1 -1
  127. package/dist/components/Payload/RichText/index.js +1 -1
  128. package/dist/components/Payload/RichText/index.mjs +1 -1
  129. package/dist/components/Payload/RichText/serialize.js +1 -1
  130. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  131. package/dist/components/Payload/RichText.stories.js +1 -1
  132. package/dist/components/Payload/RichText.stories.mjs +1 -1
  133. package/dist/components/Payload/index.js +1 -1
  134. package/dist/components/Payload/index.mjs +1 -1
  135. package/dist/components/index.js +6 -6
  136. package/dist/components/index.mjs +1 -1
  137. package/dist/components/ui/index.mjs +1 -1
  138. package/dist/components/ui/sidebar.mjs +1 -1
  139. package/dist/globals.css +1 -1
  140. package/dist/index.js +7 -7
  141. package/dist/index.mjs +1 -1
  142. package/dist/metafile-cjs.json +1 -1
  143. package/dist/metafile-esm.json +1 -1
  144. package/dist/pages/Blog.js +1 -1
  145. package/dist/pages/Blog.mjs +1 -1
  146. package/dist/pages/Blog.stories.js +1 -1
  147. package/dist/pages/Blog.stories.mjs +1 -1
  148. package/dist/pages/Documentation.mjs +1 -1
  149. package/dist/pages/Documentation.stories.mjs +1 -1
  150. package/dist/pages/IndexPage.mjs +1 -1
  151. package/dist/pages/IndexPage.stories.mjs +1 -1
  152. package/dist/pages/Intranet.mjs +1 -1
  153. package/dist/pages/Intranet.stories.mjs +1 -1
  154. package/dist/pages/LandingPage.mjs +1 -1
  155. package/dist/pages/LandingPage.stories.mjs +1 -1
  156. package/dist/pages/Page.js +1 -1
  157. package/dist/pages/Page.mjs +1 -1
  158. package/dist/pages/Page.stories.js +1 -1
  159. package/dist/pages/Page.stories.mjs +1 -1
  160. package/dist/pages/Printable.stories.js +5 -5
  161. package/dist/pages/Printable.stories.mjs +1 -1
  162. package/dist/pages/Publish.js +5 -5
  163. package/dist/pages/Publish.mjs +1 -1
  164. package/dist/pages/Publish.stories.js +5 -5
  165. package/dist/pages/Publish.stories.mjs +1 -1
  166. package/dist/pages/Website.js +1 -1
  167. package/dist/pages/Website.mjs +1 -1
  168. package/dist/pages/Website.stories.js +2 -2
  169. package/dist/pages/Website.stories.mjs +1 -1
  170. package/dist/sections/AboutSection.js +1 -1
  171. package/dist/sections/AboutSection.mjs +1 -1
  172. package/dist/sections/AboutSection.stories.js +1 -1
  173. package/dist/sections/AboutSection.stories.mjs +1 -1
  174. package/dist/sections/BlogDetail.js +1 -1
  175. package/dist/sections/BlogDetail.mjs +1 -1
  176. package/dist/sections/BlogDetail.stories.js +1 -1
  177. package/dist/sections/BlogDetail.stories.mjs +1 -1
  178. package/dist/sections/BlogListSection.mjs +1 -1
  179. package/dist/sections/BlogListSection.stories.mjs +1 -1
  180. package/dist/sections/ContactSection.js +1 -1
  181. package/dist/sections/ContactSection.mjs +1 -1
  182. package/dist/sections/ContactSection.stories.js +1 -1
  183. package/dist/sections/ContactSection.stories.mjs +1 -1
  184. package/dist/sections/ImageSection.stories.js +1 -1
  185. package/dist/sections/ImageSection.stories.mjs +1 -1
  186. package/dist/sections/PricingSection.js +1 -1
  187. package/dist/sections/PricingSection.mjs +1 -1
  188. package/dist/sections/PricingSection.stories.js +1 -1
  189. package/dist/sections/PricingSection.stories.mjs +1 -1
  190. package/dist/sections/ServiceSection.mjs +1 -1
  191. package/dist/sections/ServiceSection.stories.mjs +1 -1
  192. package/dist/sections/form/index.mjs +1 -1
  193. package/dist/sections/index.js +1 -1
  194. package/dist/sections/index.mjs +1 -1
  195. package/dist/tests/payload.d.ts +535 -66
  196. package/dist/tests/payload.js +1 -1
  197. package/dist/tests/payload.mjs +1 -1
  198. package/package.json +1 -1
  199. package/dist/chunk-3PLJMCNU.mjs +0 -5
  200. package/dist/chunk-3ZATINRH.mjs +0 -1
  201. package/dist/chunk-FLFKXKOI.mjs +0 -1
@@ -1,5 +1,5 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- "use strict";var it=Object.create;var Z=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)Z(e,r,{get:t[r],enumerable:!0})},Pe=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of dt(t))!mt.call(e,n)&&n!==r&&Z(e,n,{get:()=>t[n],enumerable:!(a=ct(t,n))||a.enumerable});return e};var O=(e,t,r)=>(r=e!=null?it(pt(e)):{},Pe(t||!e||!e.__esModule?Z(r,"default",{value:e,enumerable:!0}):r,e)),gt=e=>Pe(Z({},"__esModule",{value:!0}),e);var tr={};ut(tr,{Footer:()=>Xt,HeaderTop:()=>$t,TitleSlide:()=>er});module.exports=gt(tr);var Fe=require("clsx");var de="-",ft=e=>{let t=yt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:l=>{let s=l.split(de);return s[0]===""&&s.length!==1&&s.shift(),Te(s,t)||bt(l)},getConflictingClassGroupIds:(l,s)=>{let c=r[l]||[];return s&&a[l]?[...c,...a[l]]:c}}},Te=(e,t)=>{var l;if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),n=a?Te(e.slice(1),a):void 0;if(n)return n;if(t.validators.length===0)return;let o=e.join(de);return(l=t.validators.find(({validator:s})=>s(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,a={nextPart:new Map,validators:[]};return xt(Object.entries(e.classGroups),r).forEach(([o,l])=>{ce(l,a,o,t)}),a},ce=(e,t,r,a)=>{e.forEach(n=>{if(typeof n=="string"){let o=n===""?t:Re(t,n);o.classGroupId=r;return}if(typeof n=="function"){if(ht(n)){ce(n(a),t,r,a);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([o,l])=>{ce(l,Re(t,o),r,a)})})},Re=(e,t)=>{let r=e;return t.split(de).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},ht=e=>e.isThemeGetter,xt=(e,t)=>t?e.map(([r,a])=>{let n=a.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([l,s])=>[t+l,s])):o);return[r,n]}):e,vt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,a=new Map,n=(o,l)=>{r.set(o,l),t++,t>e&&(t=0,a=r,r=new Map)};return{get(o){let l=r.get(o);if(l!==void 0)return l;if((l=a.get(o))!==void 0)return n(o,l),l},set(o,l){r.has(o)?r.set(o,l):n(o,l)}}},Se="!",wt=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,n=t[0],o=t.length,l=s=>{let c=[],m=0,u=0,w;for(let h=0;h<s.length;h++){let C=s[h];if(m===0){if(C===n&&(a||s.slice(h,h+o)===t)){c.push(s.slice(u,h)),u=h+o;continue}if(C==="/"){w=h;continue}}C==="["?m++:C==="]"&&m--}let k=c.length===0?s:s.substring(u),A=k.startsWith(Se),P=A?k.substring(1):k,y=w&&w>u?w-u:void 0;return{modifiers:c,hasImportantModifier:A,baseClassName:P,maybePostfixModifierPosition:y}};return r?s=>r({className:s,parseClassName:l}):l},kt=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(a=>{a[0]==="["?(t.push(...r.sort(),a),r=[]):r.push(a)}),t.push(...r.sort()),t},Ct=e=>({cache:vt(e.cacheSize),parseClassName:wt(e),...ft(e)}),Nt=/\s+/,At=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:n}=t,o=[],l=e.trim().split(Nt),s="";for(let c=l.length-1;c>=0;c-=1){let m=l[c],{modifiers:u,hasImportantModifier:w,baseClassName:k,maybePostfixModifierPosition:A}=r(m),P=!!A,y=a(P?k.substring(0,A):k);if(!y){if(!P){s=m+(s.length>0?" "+s:s);continue}if(y=a(k),!y){s=m+(s.length>0?" "+s:s);continue}P=!1}let h=kt(u).join(":"),C=w?h+Se:h,N=C+y;if(o.includes(N))continue;o.push(N);let M=n(y,P);for(let F=0;F<M.length;++F){let q=M[F];o.push(C+q)}s=m+(s.length>0?" "+s:s)}return s};function Pt(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Ie(t))&&(a&&(a+=" "),a+=r);return a}var Ie=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=Ie(e[a]))&&(r&&(r+=" "),r+=t);return r};function Bt(e,...t){let r,a,n,o=l;function l(c){let m=t.reduce((u,w)=>w(u),e());return r=Ct(m),a=r.cache.get,n=r.cache.set,o=s,s(c)}function s(c){let m=a(c);if(m)return m;let u=At(c,r);return n(c,u),u}return function(){return o(Pt.apply(null,arguments))}}var g=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},ze=/^\[(?:([a-z-]+):)?(.+)\]$/i,Rt=/^\d+\/\d+$/,Tt=new Set(["px","full","screen"]),St=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,It=/\d+(%|px|r?em|[sdl]?pe([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$/,zt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Et=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Mt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,T=e=>U(e)||Tt.has(e)||Rt.test(e),I=e=>j(e,"length",Jt),U=e=>!!e&&!Number.isNaN(Number(e)),ie=e=>j(e,"number",U),J=e=>!!e&&Number.isInteger(Number(e)),Ft=e=>e.endsWith("%")&&U(e.slice(0,-1)),i=e=>ze.test(e),z=e=>St.test(e),Gt=new Set(["length","size","percentage"]),Dt=e=>j(e,Gt,Ee),Ut=e=>j(e,"position",Ee),jt=new Set(["image","url"]),_t=e=>j(e,jt,Wt),Ot=e=>j(e,"",Lt),L=()=>!0,j=(e,t,r)=>{let a=ze.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},Jt=e=>It.test(e)&&!zt.test(e),Ee=()=>!1,Lt=e=>Et.test(e),Wt=e=>Mt.test(e);var Vt=()=>{let e=g("colors"),t=g("spacing"),r=g("blur"),a=g("brightness"),n=g("borderColor"),o=g("borderRadius"),l=g("borderSpacing"),s=g("borderWidth"),c=g("contrast"),m=g("grayscale"),u=g("hueRotate"),w=g("invert"),k=g("gap"),A=g("gradientColorStops"),P=g("gradientColorStopPositions"),y=g("inset"),h=g("margin"),C=g("opacity"),N=g("padding"),M=g("saturate"),F=g("scale"),q=g("sepia"),xe=g("skew"),ve=g("space"),we=g("translate"),ne=()=>["auto","contain","none"],ae=()=>["auto","hidden","clip","visible","scroll"],se=()=>["auto",i,t],b=()=>[i,t],ke=()=>["",T,I],H=()=>["auto",U,i],Ce=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Y=()=>["solid","dashed","dotted","double","none"],Ne=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],le=()=>["start","end","center","between","around","evenly","stretch"],_=()=>["","0",i],Ae=()=>["auto","avoid","all","avoid-page","page","left","right","column"],R=()=>[U,i];return{cacheSize:500,separator:":",theme:{colors:[L],spacing:[T,I],blur:["none","",z,i],brightness:R(),borderColor:[e],borderRadius:["none","","full",z,i],borderSpacing:b(),borderWidth:ke(),contrast:R(),grayscale:_(),hueRotate:R(),invert:_(),gap:b(),gradientColorStops:[e],gradientColorStopPositions:[Ft,I],inset:se(),margin:se(),opacity:R(),padding:b(),saturate:R(),scale:R(),sepia:_(),skew:R(),space:b(),translate:b()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[z]}],"break-after":[{"break-after":Ae()}],"break-before":[{"break-before":Ae()}],"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-pe":[{"overflow-pe":ae()}],"overflow-y":[{"overflow-y":ae()}],overscroll:[{overscroll:ne()}],"overscroll-pe":[{"overscroll-pe":ne()}],"overscroll-y":[{"overscroll-y":ne()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-pe":[{"inset-pe":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",J,i]}],basis:[{basis:se()}],"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:_()}],shrink:[{shrink:_()}],order:[{order:["first","last","none",J,i]}],"grid-cols":[{"grid-cols":[L]}],"col-start-end":[{col:["auto",{span:["full",J,i]},i]}],"col-start":[{"col-start":H()}],"col-end":[{"col-end":H()}],"grid-rows":[{"grid-rows":[L]}],"row-start-end":[{row:["auto",{span:[J,i]},i]}],"row-start":[{"row-start":H()}],"row-end":[{"row-end":H()}],"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:[k]}],"gap-pe":[{"gap-pe":[k]}],"gap-y":[{"gap-y":[k]}],"justify-content":[{justify:["normal",...le()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...le(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...le(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],pe:[{pe:[N]}],px:[{px:[N]}],py:[{py:[N]}],ps:[{ps:[N]}],pe:[{pe:[N]}],pt:[{pt:[N]}],pr:[{pr:[N]}],pb:[{pb:[N]}],pl:[{pl:[N]}],m:[{m:[h]}],mx:[{mx:[h]}],my:[{my:[h]}],ms:[{ms:[h]}],pe:[{pe:[h]}],mt:[{mt:[h]}],mr:[{mr:[h]}],mb:[{mb:[h]}],ml:[{ml:[h]}],"space-pe":[{"space-pe":[ve]}],"space-pe-reverse":["space-pe-reverse"],"space-y":[{"space-y":[ve]}],"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:[z]},z]}],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",z,I]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ie]}],"font-family":[{font:[L]}],"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,ie]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",T,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":[C]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[C]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Y(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",T,I]}],"underline-offset":[{"underline-offset":["auto",T,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":[C]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Ce(),Ut]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","pe","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Dt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},_t]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[P]}],"gradient-via-pos":[{via:[P]}],"gradient-to-pos":[{to:[P]}],"gradient-from":[{from:[A]}],"gradient-via":[{via:[A]}],"gradient-to":[{to:[A]}],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-pe":[{"rounded-pe":[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:[s]}],"border-w-pe":[{"border-pe":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[C]}],"border-style":[{border:[...Y(),"hidden"]}],"divide-pe":[{"divide-pe":[s]}],"divide-pe-reverse":["divide-pe-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[C]}],"divide-style":[{divide:Y()}],"border-color":[{border:[n]}],"border-color-pe":[{"border-pe":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...Y()]}],"outline-offset":[{"outline-offset":[T,i]}],"outline-w":[{outline:[T,I]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ke()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[C]}],"ring-offset-w":[{"ring-offset":[T,I]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",z,Ot]}],"shadow-color":[{shadow:[L]}],opacity:[{opacity:[C]}],"mix-blend":[{"mix-blend":[...Ne(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Ne()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",z,i]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[w]}],saturate:[{saturate:[M]}],sepia:[{sepia:[q]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[w]}],"backdrop-opacity":[{"backdrop-opacity":[C]}],"backdrop-saturate":[{"backdrop-saturate":[M]}],"backdrop-sepia":[{"backdrop-sepia":[q]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-pe":[{"border-spacing-pe":[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:[F]}],"scale-pe":[{"scale-pe":[F]}],"scale-y":[{"scale-y":[F]}],rotate:[{rotate:[J,i]}],"translate-pe":[{"translate-pe":[we]}],"translate-y":[{"translate-y":[we]}],"skew-pe":[{"skew-pe":[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","pe",""]}],"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-pe":[{"scroll-pe":b()}],"scroll-mt":[{"scroll-mt":b()}],"scroll-mr":[{"scroll-mr":b()}],"scroll-mb":[{"scroll-mb":b()}],"scroll-ml":[{"scroll-ml":b()}],"scroll-pe":[{"scroll-pe":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","pe","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-pe":[{"touch-pan":["pe","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:[T,I,ie]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-pe","overflow-y"],overscroll:["overscroll-pe","overscroll-y"],inset:["inset-pe","inset-y","start","end","top","right","bottom","left"],"inset-pe":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-pe","gap-y"],pe:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","pe","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-pe","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-pe"],"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-pe","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-pe":["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-pe":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-pe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-pe":["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-pe","touch-y","touch-pz"],"touch-pe":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Me=Bt(Vt);function d(...e){return Me((0,Fe.clsx)(e))}var Je=require("react");var De=O(require("next/image")),pe=require("react/jsx-runtime"),Qt={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Ge="data:image/png;base64,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",Ue=e=>{let{alt:t,fill:r,imgClassName:a,priority:n,resource:o,size:l,src:s,loading:c}=e,m,u,w=t,k=s||"";if(!k&&o&&typeof o=="object"){let{alt:y,filename:h,height:C,url:N,width:M}=o;m=M,u=C,w=y||"",k=N||Ge}let A=c||"lazy",P=l||Object.entries(Qt).map(([,y])=>`(max-width: ${y}px) ${y*2}w`).join(", ");return(0,pe.jsx)("picture",{children:(0,pe.jsx)(De.default,{alt:w||"",className:d(a),fill:r,height:r?void 0:u,placeholder:"blur",blurDataURL:Ge,priority:A!=="lazy"&&n,quality:100,loading:A,sizes:P,src:k,width:r?void 0:m})})};var je=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var _e=()=>{if(je){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 Oe=e=>{let{onClick:t,resource:r,videoClassName:a}=e,n=(0,Je.useRef)(null);if((0,Je.useEffect)(()=>{let{current:o}=n;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,pe.jsx)("video",{autoPlay:!0,className:d(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:n,children:(0,pe.jsx)("source",{src:`${_e()}/media/${o}`})})}return null};var $=e=>{var l;let{className:t,htmlElement:r="div",resource:a}=e,n=typeof a=="object"&&((l=a==null?void 0:a.mimeType)==null?void 0:l.includes("video"));return(0,pe.jsx)(r||Je.Fragment,{...r!==null?{className:t}:{},children:n?(0,pe.jsx)(Oe,{...e}):(0,pe.jsx)(Ue,{...e})})};var Le=require("@radix-ui/react-slot"),We=require("class-variance-authority"),Ve=O(require("react")),qt=(0,We.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=Ve.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...n},o)=>(0,pe.jsx)(e?Le.Slot:"button",{className:d(qt({className:t,size:r,variant:a})),ref:o,...n}));G.displayName="Button";var ue=O(require("next/link")),V=e=>{let{type:t,appearance:r="inline",children:a,className:n,label:o,newTab:l,reference:s,size:c,url:m}=e,u=t==="reference"&&typeof(s==null?void 0:s.value)=="object"&&s.value.slug?`${(s==null?void 0:s.relationTo)!=="pages"?`/${s==null?void 0:s.relationTo}`:""}/${s.value.slug}`:m;if(!u)return null;let w=r==="link"?"clear":c,k=l?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,pe.jsxs)(ue.default,{className:d(n),href:u||m||"",...k,children:[o&&o,a&&a]}):(0,pe.jsx)(G,{asChild:!0,className:n,size:w,variant:r,children:(0,pe.jsxs)(ue.default,{className:d(n),href:u||m||"",...k,children:[o&&o,a&&a]})})};var qe=({className:e,content:t,style:r})=>(0,pe.jsx)("div",{className:d("mx-auto my-8 w-full",e),children:(0,pe.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,pe.jsx)(B,{content:t,enableGutter:!1,enableProse:!1})})});var He=({links:e,richText:t})=>(0,pe.jsx)("div",{className:"container",children:(0,pe.jsxs)("div",{className:"bg-card rounded border-border border pe-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,pe.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,pe.jsx)(B,{className:"mb-0",content:t,enableGutter:!1})}),(0,pe.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},a)=>(0,pe.jsx)(V,{size:"lg",...r},a))})]})});var te=require("prism-react-renderer");var Ye=require("lucide-react");function Ke({code:e}){let[t,r]=(0,Je.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,pe.jsx)("div",{className:"flex justify-end align-middle",children:(0,pe.jsxs)(G,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,pe.jsx)("pe",{children:t}),(0,pe.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,pe.jsx)(Ye.ClipboardCopy,{})})]})})}var Xe=({code:e,language:t=""})=>e?(0,pe.jsx)(te.Highlight,{code:e,language:t,theme:te.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:n})=>(0,pe.jsxs)("pre",{className:"bg-black pe-4 border text-xs border-border rounded overflow-pe-auto",children:[n.map((o,l)=>(0,pe.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,pe.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:l+1}),(0,pe.jsx)("span",{className:"table-cell pl-4",children:o.map((s,c)=>(0,pe.jsx)("span",{...a({token:s})},c))})]},l)),(0,pe.jsx)(Ke,{code:e})]})}):null;var $e=({className:e,code:t,language:r})=>(0,pe.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,pe.jsx)(Xe,{code:t,language:r})});var et=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,pe.jsx)("div",{className:d("",{container:r},t),children:(0,pe.jsx)($,{imgClassName:d("rounded-[0.8rem]",a),resource:n,src:o})})};var tt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,pe.jsx)("div",{className:d("",{container:r},t),children:(0,pe.jsx)($,{imgClassName:d("rounded-[0.8rem]",a),resource:n,src:o})})};var ye=({type:e="solid",iconName:t="cloud",size:r="lg",className:a})=>{let n=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,l=a!=null?a:"",s=n+o+" fa-"+r+" "+l;return(0,pe.jsx)("i",{className:s})};function ot(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function nt({variant:e="outline",className:t,icon:r,heading:a,subheading:n,content:o,statistic:l,buttonText:s,buttonHref:c}){return(0,pe.jsxs)("div",{className:d("rounded-3xl pe-8 md:pe-8 min-w-56",{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"}[e],e==="outline"?"text-gray-900":"text-white",t),children:[(0,pe.jsx)("div",{className:"flex items-center gap-4 mb-6",children:(0,pe.jsx)(Ht,{icon:r,heading:a,variant:e})}),e==="solid"&&l&&(0,pe.jsx)("div",{className:"mb-6",children:(0,pe.jsx)("div",{className:"text-4xl text-wrap font-bold leading-none overflow-hidden",children:l})}),n&&(0,pe.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:n}),o&&typeof o=="object"&&(0,pe.jsx)("div",{className:d("space-y-6","text-gray-300"),children:(0,pe.jsx)(B,{enableGutter:!1,content:o,enableProse:!1,className:d("prose prose-headings:text-white prose-pe:text-gray-300")})}),o&&typeof o=="string"&&(0,pe.jsx)("div",{className:d("space-y-6","text-gray-300"),children:o}),s&&(0,pe.jsx)("div",{className:"mt-8",children:(0,pe.jsx)(G,{size:"lg",className:"text-white text-lg rounded-xl w-full",asChild:!0,children:(0,pe.jsx)("a",{href:c,children:s})})}),e==="radial"&&(0,pe.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 Ht=({icon:e,heading:t,variant:r})=>e&&t.length<30?(0,pe.jsxs)("div",{className:"flex items-center gap-4 mb-6",children:[ot(e)&&(0,pe.jsx)("div",{className:d("rounded-full pe-0",r==="outline"?"text-accent":"text-foreground"),children:(0,pe.jsx)(ye,{type:e.type,iconName:e.iconName,size:"2x"})}),(0,pe.jsx)("div",{className:d("font-semibold",r==="outline"?"text-2xl text-primary":"text-3xl"),children:t})]}):e?(0,pe.jsxs)("div",{className:"flex flex-col gap-4",children:[ot(e)&&(0,pe.jsx)("div",{className:"text-accent h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,pe.jsx)(ye,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,pe.jsx)("h3",{className:d("font-semibold group-hover:text-accent transition-colors duration-400",r==="outline"?"text-2xl text-primary":"text-3xl"),children:t})]}):(0,pe.jsx)("div",{className:"flex items-center gap-4 mb-6",children:(0,pe.jsx)("div",{className:d("font-semibold",r==="outline"?"text-2xl text-primary":"text-3xl"),children:t})});var at=({title:e,description:t,features:r,id:a})=>(0,pe.jsxs)("section",{className:d("container w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,pe.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl text-primary",id:a||"",children:e}),t&&typeof t=="string"&&(0,pe.jsx)("pe",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:t}),t&&typeof t=="object"&&(0,pe.jsx)("pe",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:(0,pe.jsx)(B,{content:t,enableGutter:!1})}),(0,pe.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((n,o)=>{var l,s,c,m,u;if(((l=n.settings)==null?void 0:l.card)==="default"||!((s=n.settings)!=null&&s.card))return(0,pe.jsx)(Yt,{section:n,index:o},o);{let w=()=>{if(n.icon&&"type"in n.icon&&n.icon.type!=="none")return{type:n.icon.type,iconName:n.icon.icon}};return(0,pe.jsx)(nt,{variant:((c=n.settings)==null?void 0:c.card)||"outline",icon:w()||void 0,heading:n.title||"",content:n.content||void 0,statistic:n.statistic||void 0,buttonText:(m=n.link)!=null&&m.url?"Find out more":void 0,buttonHref:((u=n.link)==null?void 0:u.url)||void 0},o)}})})]}),Yt=({section:e,index:t})=>{if(!e)return null;let r=(0,pe.jsxs)("div",{className:"flex flex-col gap-4",children:[e.icon&&(0,pe.jsx)("div",{className:"text-accent h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,pe.jsx)("i",{className:`${e.icon.type} fa-${e.icon.icon} fa-4x`})}),(0,pe.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:e.title}),e.statistic&&(0,pe.jsx)("div",{className:"mb-6",children:(0,pe.jsx)("div",{className:"text-4xl text-wrap font-bold leading-none overflow-hidden text-foreground",children:e.statistic})}),e.content&&typeof e.content!="object"&&(0,pe.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:e.content}}),e.content&&typeof e.content=="object"&&(0,pe.jsx)("div",{className:"text-lg opacity-80",children:(0,pe.jsx)(B,{content:e.content,enableGutter:!1})})]},t);return e.link?(0,pe.jsx)("a",{href:e.link.url?e.link.url:"#",className:"no-underline group",children:r},t):r};var re=O(require("react"));function Q({nodes:e}){return(0,pe.jsx)(re.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,pe.jsx)(re.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,pe.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,pe.jsx)("em",{children:o},r)),t.format&4&&(o=(0,pe.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,pe.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,pe.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,pe.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,pe.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,pe.jsx)("table",{children:(0,pe.jsx)("tbody",{children:t.children.map((o,l)=>(0,pe.jsx)("tr",{children:o.children.map((s,c)=>(0,pe.jsx)("td",{children:Q({nodes:s.children})},c))},l))})},r);let a=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 Q({nodes:o.children})},n="children"in t?a(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,pe.jsx)(He,{...o},r);case"mediaBlock":return(0,pe.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,pe.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,pe.jsx)(qe,{className:"col-start-2 mb-4",...o},r);case"code":return(0,pe.jsx)($e,{className:"col-start-2",...o},r);case"features":return(0,pe.jsx)(at,{...o},r);case"reusableContentBlock":Q({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,pe.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,pe.jsx)("pe",{className:"col-start-2",children:n},r);case"heading":{let o=t==null?void 0:t.tag;return(0,pe.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:n},r)}case"list":{let o=t==null?void 0:t.tag;return(0,pe.jsx)(o,{className:"list col-start-2",children:n},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,pe.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:n},r):(0,pe.jsx)("li",{value:t==null?void 0:t.value,children:n},r);case"quote":return(0,pe.jsx)("blockquote",{className:"col-start-2",children:n},r);case"link":{let o=t.fields;return(0,pe.jsx)(V,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}case"autolink":{let o=t.fields;return(0,pe.jsx)(V,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}default:return null}})})}var B=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>{var n;return t?(0,pe.jsx)("div",{className:d({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&Q({nodes:(n=t==null?void 0:t.root)==null?void 0:n.children})}):null};var lt="../../hero-3-N2CBGEV6.jpg";var he=O(require("next/image"));var oe="../../cortex-reply-dark-XPAJJJYY.png";var Xt=()=>(0,pe.jsxs)("footer",{className:`absolute bottom-0 left-0 w-full py-2 px-8 flex justify-between items-center transition-colors duration-300
4
+ "use strict";var it=Object.create;var Z=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)Z(e,r,{get:t[r],enumerable:!0})},Pe=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of dt(t))!mt.call(e,n)&&n!==r&&Z(e,n,{get:()=>t[n],enumerable:!(a=ct(t,n))||a.enumerable});return e};var O=(e,t,r)=>(r=e!=null?it(pt(e)):{},Pe(t||!e||!e.__esModule?Z(r,"default",{value:e,enumerable:!0}):r,e)),gt=e=>Pe(Z({},"__esModule",{value:!0}),e);var tr={};ut(tr,{Footer:()=>Xt,HeaderTop:()=>$t,TitleSlide:()=>er});module.exports=gt(tr);var Fe=require("clsx");var de="-",ft=e=>{let t=yt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:l=>{let s=l.split(de);return s[0]===""&&s.length!==1&&s.shift(),Te(s,t)||bt(l)},getConflictingClassGroupIds:(l,s)=>{let c=r[l]||[];return s&&a[l]?[...c,...a[l]]:c}}},Te=(e,t)=>{var l;if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),n=a?Te(e.slice(1),a):void 0;if(n)return n;if(t.validators.length===0)return;let o=e.join(de);return(l=t.validators.find(({validator:s})=>s(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,a={nextPart:new Map,validators:[]};return xt(Object.entries(e.classGroups),r).forEach(([o,l])=>{ce(l,a,o,t)}),a},ce=(e,t,r,a)=>{e.forEach(n=>{if(typeof n=="string"){let o=n===""?t:Re(t,n);o.classGroupId=r;return}if(typeof n=="function"){if(ht(n)){ce(n(a),t,r,a);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([o,l])=>{ce(l,Re(t,o),r,a)})})},Re=(e,t)=>{let r=e;return t.split(de).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},ht=e=>e.isThemeGetter,xt=(e,t)=>t?e.map(([r,a])=>{let n=a.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([l,s])=>[t+l,s])):o);return[r,n]}):e,vt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,a=new Map,n=(o,l)=>{r.set(o,l),t++,t>e&&(t=0,a=r,r=new Map)};return{get(o){let l=r.get(o);if(l!==void 0)return l;if((l=a.get(o))!==void 0)return n(o,l),l},set(o,l){r.has(o)?r.set(o,l):n(o,l)}}},Se="!",wt=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,n=t[0],o=t.length,l=s=>{let c=[],m=0,u=0,w;for(let h=0;h<s.length;h++){let C=s[h];if(m===0){if(C===n&&(a||s.slice(h,h+o)===t)){c.push(s.slice(u,h)),u=h+o;continue}if(C==="/"){w=h;continue}}C==="["?m++:C==="]"&&m--}let k=c.length===0?s:s.substring(u),A=k.startsWith(Se),P=A?k.substring(1):k,y=w&&w>u?w-u:void 0;return{modifiers:c,hasImportantModifier:A,baseClassName:P,maybePostfixModifierPosition:y}};return r?s=>r({className:s,parseClassName:l}):l},kt=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(a=>{a[0]==="["?(t.push(...r.sort(),a),r=[]):r.push(a)}),t.push(...r.sort()),t},Ct=e=>({cache:vt(e.cacheSize),parseClassName:wt(e),...ft(e)}),Nt=/\s+/,At=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:n}=t,o=[],l=e.trim().split(Nt),s="";for(let c=l.length-1;c>=0;c-=1){let m=l[c],{modifiers:u,hasImportantModifier:w,baseClassName:k,maybePostfixModifierPosition:A}=r(m),P=!!A,y=a(P?k.substring(0,A):k);if(!y){if(!P){s=m+(s.length>0?" "+s:s);continue}if(y=a(k),!y){s=m+(s.length>0?" "+s:s);continue}P=!1}let h=kt(u).join(":"),C=w?h+Se:h,N=C+y;if(o.includes(N))continue;o.push(N);let M=n(y,P);for(let F=0;F<M.length;++F){let q=M[F];o.push(C+q)}s=m+(s.length>0?" "+s:s)}return s};function Pt(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Ie(t))&&(a&&(a+=" "),a+=r);return a}var Ie=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=Ie(e[a]))&&(r&&(r+=" "),r+=t);return r};function Bt(e,...t){let r,a,n,o=l;function l(c){let m=t.reduce((u,w)=>w(u),e());return r=Ct(m),a=r.cache.get,n=r.cache.set,o=s,s(c)}function s(c){let m=a(c);if(m)return m;let u=At(c,r);return n(c,u),u}return function(){return o(Pt.apply(null,arguments))}}var g=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},ze=/^\[(?:([a-z-]+):)?(.+)\]$/i,Rt=/^\d+\/\d+$/,Tt=new Set(["px","full","screen"]),St=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,It=/\d+(%|px|r?em|[sdl]?pe([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$/,zt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Et=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Mt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,T=e=>U(e)||Tt.has(e)||Rt.test(e),I=e=>j(e,"length",Jt),U=e=>!!e&&!Number.isNaN(Number(e)),ie=e=>j(e,"number",U),J=e=>!!e&&Number.isInteger(Number(e)),Ft=e=>e.endsWith("%")&&U(e.slice(0,-1)),i=e=>ze.test(e),z=e=>St.test(e),Gt=new Set(["length","size","percentage"]),Dt=e=>j(e,Gt,Ee),Ut=e=>j(e,"position",Ee),jt=new Set(["image","url"]),_t=e=>j(e,jt,Wt),Ot=e=>j(e,"",Lt),L=()=>!0,j=(e,t,r)=>{let a=ze.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},Jt=e=>It.test(e)&&!zt.test(e),Ee=()=>!1,Lt=e=>Et.test(e),Wt=e=>Mt.test(e);var Vt=()=>{let e=g("colors"),t=g("spacing"),r=g("blur"),a=g("brightness"),n=g("borderColor"),o=g("borderRadius"),l=g("borderSpacing"),s=g("borderWidth"),c=g("contrast"),m=g("grayscale"),u=g("hueRotate"),w=g("invert"),k=g("gap"),A=g("gradientColorStops"),P=g("gradientColorStopPositions"),y=g("inset"),h=g("margin"),C=g("opacity"),N=g("padding"),M=g("saturate"),F=g("scale"),q=g("sepia"),xe=g("skew"),ve=g("space"),we=g("translate"),ne=()=>["auto","contain","none"],ae=()=>["auto","hidden","clip","visible","scroll"],se=()=>["auto",i,t],b=()=>[i,t],ke=()=>["",T,I],H=()=>["auto",U,i],Ce=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Y=()=>["solid","dashed","dotted","double","none"],Ne=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],le=()=>["start","end","center","between","around","evenly","stretch"],_=()=>["","0",i],Ae=()=>["auto","avoid","all","avoid-page","page","left","right","column"],R=()=>[U,i];return{cacheSize:500,separator:":",theme:{colors:[L],spacing:[T,I],blur:["none","",z,i],brightness:R(),borderColor:[e],borderRadius:["none","","full",z,i],borderSpacing:b(),borderWidth:ke(),contrast:R(),grayscale:_(),hueRotate:R(),invert:_(),gap:b(),gradientColorStops:[e],gradientColorStopPositions:[Ft,I],inset:se(),margin:se(),opacity:R(),padding:b(),saturate:R(),scale:R(),sepia:_(),skew:R(),space:b(),translate:b()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[z]}],"break-after":[{"break-after":Ae()}],"break-before":[{"break-before":Ae()}],"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-pe":[{"overflow-pe":ae()}],"overflow-y":[{"overflow-y":ae()}],overscroll:[{overscroll:ne()}],"overscroll-pe":[{"overscroll-pe":ne()}],"overscroll-y":[{"overscroll-y":ne()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-pe":[{"inset-pe":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",J,i]}],basis:[{basis:se()}],"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:_()}],shrink:[{shrink:_()}],order:[{order:["first","last","none",J,i]}],"grid-cols":[{"grid-cols":[L]}],"col-start-end":[{col:["auto",{span:["full",J,i]},i]}],"col-start":[{"col-start":H()}],"col-end":[{"col-end":H()}],"grid-rows":[{"grid-rows":[L]}],"row-start-end":[{row:["auto",{span:[J,i]},i]}],"row-start":[{"row-start":H()}],"row-end":[{"row-end":H()}],"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:[k]}],"gap-pe":[{"gap-pe":[k]}],"gap-y":[{"gap-y":[k]}],"justify-content":[{justify:["normal",...le()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...le(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...le(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],pe:[{pe:[N]}],px:[{px:[N]}],py:[{py:[N]}],ps:[{ps:[N]}],pe:[{pe:[N]}],pt:[{pt:[N]}],pr:[{pr:[N]}],pb:[{pb:[N]}],pl:[{pl:[N]}],m:[{m:[h]}],mx:[{mx:[h]}],my:[{my:[h]}],ms:[{ms:[h]}],pe:[{pe:[h]}],mt:[{mt:[h]}],mr:[{mr:[h]}],mb:[{mb:[h]}],ml:[{ml:[h]}],"space-pe":[{"space-pe":[ve]}],"space-pe-reverse":["space-pe-reverse"],"space-y":[{"space-y":[ve]}],"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:[z]},z]}],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",z,I]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ie]}],"font-family":[{font:[L]}],"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,ie]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",T,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":[C]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[C]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Y(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",T,I]}],"underline-offset":[{"underline-offset":["auto",T,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":[C]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Ce(),Ut]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","pe","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Dt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},_t]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[P]}],"gradient-via-pos":[{via:[P]}],"gradient-to-pos":[{to:[P]}],"gradient-from":[{from:[A]}],"gradient-via":[{via:[A]}],"gradient-to":[{to:[A]}],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-pe":[{"rounded-pe":[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:[s]}],"border-w-pe":[{"border-pe":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[C]}],"border-style":[{border:[...Y(),"hidden"]}],"divide-pe":[{"divide-pe":[s]}],"divide-pe-reverse":["divide-pe-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[C]}],"divide-style":[{divide:Y()}],"border-color":[{border:[n]}],"border-color-pe":[{"border-pe":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...Y()]}],"outline-offset":[{"outline-offset":[T,i]}],"outline-w":[{outline:[T,I]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ke()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[C]}],"ring-offset-w":[{"ring-offset":[T,I]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",z,Ot]}],"shadow-color":[{shadow:[L]}],opacity:[{opacity:[C]}],"mix-blend":[{"mix-blend":[...Ne(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Ne()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",z,i]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[w]}],saturate:[{saturate:[M]}],sepia:[{sepia:[q]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[w]}],"backdrop-opacity":[{"backdrop-opacity":[C]}],"backdrop-saturate":[{"backdrop-saturate":[M]}],"backdrop-sepia":[{"backdrop-sepia":[q]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-pe":[{"border-spacing-pe":[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:[F]}],"scale-pe":[{"scale-pe":[F]}],"scale-y":[{"scale-y":[F]}],rotate:[{rotate:[J,i]}],"translate-pe":[{"translate-pe":[we]}],"translate-y":[{"translate-y":[we]}],"skew-pe":[{"skew-pe":[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","pe",""]}],"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-pe":[{"scroll-pe":b()}],"scroll-mt":[{"scroll-mt":b()}],"scroll-mr":[{"scroll-mr":b()}],"scroll-mb":[{"scroll-mb":b()}],"scroll-ml":[{"scroll-ml":b()}],"scroll-pe":[{"scroll-pe":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","pe","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-pe":[{"touch-pan":["pe","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:[T,I,ie]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-pe","overflow-y"],overscroll:["overscroll-pe","overscroll-y"],inset:["inset-pe","inset-y","start","end","top","right","bottom","left"],"inset-pe":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-pe","gap-y"],pe:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","pe","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-pe","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-pe"],"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-pe","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-pe":["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-pe":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-pe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-pe":["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-pe","touch-y","touch-pz"],"touch-pe":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Me=Bt(Vt);function d(...e){return Me((0,Fe.clsx)(e))}var Je=require("react");var De=O(require("next/image")),pe=require("react/jsx-runtime"),Qt={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Ge="data:image/png;base64,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",Ue=e=>{let{alt:t,fill:r,imgClassName:a,priority:n,resource:o,size:l,src:s,loading:c}=e,m,u,w=t,k=s||"";if(!k&&o&&typeof o=="object"){let{alt:y,filename:h,height:C,url:N,width:M}=o;m=M,u=C,w=y||"",k=N||Ge}let A=c||"lazy",P=l||Object.entries(Qt).map(([,y])=>`(max-width: ${y}px) ${y*2}w`).join(", ");return(0,pe.jsx)("picture",{children:(0,pe.jsx)(De.default,{alt:w||"",className:d(a),fill:r,height:r?void 0:u,placeholder:"blur",blurDataURL:Ge,priority:A!=="lazy"&&n,quality:100,loading:A,sizes:P,src:k,width:r?void 0:m})})};var je=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var _e=()=>{if(je){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 Oe=e=>{let{onClick:t,resource:r,videoClassName:a}=e,n=(0,Je.useRef)(null);if((0,Je.useEffect)(()=>{let{current:o}=n;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,pe.jsx)("video",{autoPlay:!0,className:d(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:n,children:(0,pe.jsx)("source",{src:`${_e()}/media/${o}`})})}return null};var $=e=>{var l;let{className:t,htmlElement:r="div",resource:a}=e,n=typeof a=="object"&&((l=a==null?void 0:a.mimeType)==null?void 0:l.includes("video"));return(0,pe.jsx)(r||Je.Fragment,{...r!==null?{className:t}:{},children:n?(0,pe.jsx)(Oe,{...e}):(0,pe.jsx)(Ue,{...e})})};var Le=require("@radix-ui/react-slot"),We=require("class-variance-authority"),Ve=O(require("react")),qt=(0,We.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=Ve.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...n},o)=>(0,pe.jsx)(e?Le.Slot:"button",{className:d(qt({className:t,size:r,variant:a})),ref:o,...n}));G.displayName="Button";var ue=O(require("next/link")),V=e=>{let{type:t,appearance:r="inline",children:a,className:n,label:o,newTab:l,reference:s,size:c,url:m}=e,u=t==="reference"&&typeof(s==null?void 0:s.value)=="object"&&s.value.slug?`${(s==null?void 0:s.relationTo)!=="pages"?`/${s==null?void 0:s.relationTo}`:""}/${s.value.slug}`:m;if(!u)return null;let w=r==="link"?"clear":c,k=l?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,pe.jsxs)(ue.default,{className:d(n),href:u||m||"",...k,children:[o&&o,a&&a]}):(0,pe.jsx)(G,{asChild:!0,className:n,size:w,variant:r,children:(0,pe.jsxs)(ue.default,{className:d(n),href:u||m||"",...k,children:[o&&o,a&&a]})})};var qe=({className:e,content:t,style:r})=>(0,pe.jsx)("div",{className:d("mx-auto my-8 w-full",e),children:(0,pe.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,pe.jsx)(B,{content:t,enableGutter:!1,enableProse:!1})})});var He=({links:e,richText:t})=>(0,pe.jsx)("div",{className:"container",children:(0,pe.jsxs)("div",{className:"bg-card rounded border-border border pe-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,pe.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,pe.jsx)(B,{className:"mb-0",content:t,enableGutter:!1})}),(0,pe.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},a)=>(0,pe.jsx)(V,{size:"lg",...r},a))})]})});var te=require("prism-react-renderer");var Ye=require("lucide-react");function Ke({code:e}){let[t,r]=(0,Je.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,pe.jsx)("div",{className:"flex justify-end align-middle",children:(0,pe.jsxs)(G,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,pe.jsx)("pe",{children:t}),(0,pe.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,pe.jsx)(Ye.ClipboardCopy,{})})]})})}var Xe=({code:e,language:t=""})=>e?(0,pe.jsx)(te.Highlight,{code:e,language:t,theme:te.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:n})=>(0,pe.jsxs)("pre",{className:"bg-black pe-4 border text-xs border-border rounded overflow-pe-auto",children:[n.map((o,l)=>(0,pe.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,pe.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:l+1}),(0,pe.jsx)("span",{className:"table-cell pl-4",children:o.map((s,c)=>(0,pe.jsx)("span",{...a({token:s})},c))})]},l)),(0,pe.jsx)(Ke,{code:e})]})}):null;var $e=({className:e,code:t,language:r})=>(0,pe.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,pe.jsx)(Xe,{code:t,language:r})});var et=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,pe.jsx)("div",{className:d("h-full",{container:r},t),children:(0,pe.jsx)($,{imgClassName:d("rounded-[0.8rem] max-h-full",a),className:"h-full",resource:n,src:o})})};var tt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,pe.jsx)("div",{className:d("",{container:r},t),children:(0,pe.jsx)($,{imgClassName:d("rounded-[0.8rem]",a),resource:n,src:o})})};var ye=({type:e="solid",iconName:t="cloud",size:r="lg",className:a})=>{let n=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,l=a!=null?a:"",s=n+o+" fa-"+r+" "+l;return(0,pe.jsx)("i",{className:s})};function ot(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function nt({variant:e="outline",className:t,icon:r,heading:a,subheading:n,content:o,statistic:l,buttonText:s,buttonHref:c}){return(0,pe.jsxs)("div",{className:d("rounded-3xl pe-8 md:pe-8 min-w-56",{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"}[e],e==="outline"?"text-gray-900":"text-white",t),children:[(0,pe.jsx)("div",{className:"flex items-center gap-4 mb-6",children:(0,pe.jsx)(Ht,{icon:r,heading:a,variant:e})}),e==="solid"&&l&&(0,pe.jsx)("div",{className:"mb-6",children:(0,pe.jsx)("div",{className:"text-4xl text-wrap font-bold leading-none overflow-hidden",children:l})}),n&&(0,pe.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:n}),o&&typeof o=="object"&&(0,pe.jsx)("div",{className:d("space-y-6","text-gray-300"),children:(0,pe.jsx)(B,{enableGutter:!1,content:o,enableProse:!1,className:d("prose prose-headings:text-white prose-pe:text-gray-300")})}),o&&typeof o=="string"&&(0,pe.jsx)("div",{className:d("space-y-6","text-gray-300"),children:o}),s&&(0,pe.jsx)("div",{className:"mt-8",children:(0,pe.jsx)(G,{size:"lg",className:"text-white text-lg rounded-xl w-full",asChild:!0,children:(0,pe.jsx)("a",{href:c,children:s})})}),e==="radial"&&(0,pe.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 Ht=({icon:e,heading:t,variant:r})=>e&&t.length<30?(0,pe.jsxs)("div",{className:"flex items-center gap-4 mb-6",children:[ot(e)&&(0,pe.jsx)("div",{className:d("rounded-full pe-0",r==="outline"?"text-accent":"text-foreground"),children:(0,pe.jsx)(ye,{type:e.type,iconName:e.iconName,size:"2x"})}),(0,pe.jsx)("div",{className:d("font-semibold",r==="outline"?"text-2xl text-primary":"text-3xl"),children:t})]}):e?(0,pe.jsxs)("div",{className:"flex flex-col gap-4",children:[ot(e)&&(0,pe.jsx)("div",{className:"text-accent h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,pe.jsx)(ye,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,pe.jsx)("h3",{className:d("font-semibold group-hover:text-accent transition-colors duration-400",r==="outline"?"text-2xl text-primary":"text-3xl"),children:t})]}):(0,pe.jsx)("div",{className:"flex items-center gap-4 mb-6",children:(0,pe.jsx)("div",{className:d("font-semibold",r==="outline"?"text-2xl text-primary":"text-3xl"),children:t})});var at=({title:e,description:t,features:r,id:a})=>(0,pe.jsxs)("section",{className:d("container w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,pe.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl text-primary",id:a||"",children:e}),t&&typeof t=="string"&&(0,pe.jsx)("pe",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:t}),t&&typeof t=="object"&&(0,pe.jsx)("pe",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:(0,pe.jsx)(B,{content:t,enableGutter:!1})}),(0,pe.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((n,o)=>{var l,s,c,m,u;if(((l=n.settings)==null?void 0:l.card)==="default"||!((s=n.settings)!=null&&s.card))return(0,pe.jsx)(Yt,{section:n,index:o},o);{let w=()=>{if(n.icon&&"type"in n.icon&&n.icon.type!=="none")return{type:n.icon.type,iconName:n.icon.icon}};return(0,pe.jsx)(nt,{variant:((c=n.settings)==null?void 0:c.card)||"outline",icon:w()||void 0,heading:n.title||"",content:n.content||void 0,statistic:n.statistic||void 0,buttonText:(m=n.link)!=null&&m.url?"Find out more":void 0,buttonHref:((u=n.link)==null?void 0:u.url)||void 0},o)}})})]}),Yt=({section:e,index:t})=>{if(!e)return null;let r=(0,pe.jsxs)("div",{className:"flex flex-col gap-4",children:[e.icon&&(0,pe.jsx)("div",{className:"text-accent h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,pe.jsx)("i",{className:`${e.icon.type} fa-${e.icon.icon} fa-4x`})}),(0,pe.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:e.title}),e.statistic&&(0,pe.jsx)("div",{className:"mb-6",children:(0,pe.jsx)("div",{className:"text-4xl text-wrap font-bold leading-none overflow-hidden text-foreground",children:e.statistic})}),e.content&&typeof e.content!="object"&&(0,pe.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:e.content}}),e.content&&typeof e.content=="object"&&(0,pe.jsx)("div",{className:"text-lg opacity-80",children:(0,pe.jsx)(B,{content:e.content,enableGutter:!1})})]},t);return e.link?(0,pe.jsx)("a",{href:e.link.url?e.link.url:"#",className:"no-underline group",children:r},t):r};var re=O(require("react"));function Q({nodes:e}){return(0,pe.jsx)(re.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,pe.jsx)(re.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,pe.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,pe.jsx)("em",{children:o},r)),t.format&4&&(o=(0,pe.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,pe.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,pe.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,pe.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,pe.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,pe.jsx)("table",{children:(0,pe.jsx)("tbody",{children:t.children.map((o,l)=>(0,pe.jsx)("tr",{children:o.children.map((s,c)=>(0,pe.jsx)("td",{children:Q({nodes:s.children})},c))},l))})},r);let a=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 Q({nodes:o.children})},n="children"in t?a(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,pe.jsx)(He,{...o},r);case"mediaBlock":return(0,pe.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,pe.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,pe.jsx)(qe,{className:"col-start-2 mb-4",...o},r);case"code":return(0,pe.jsx)($e,{className:"col-start-2",...o},r);case"features":return(0,pe.jsx)(at,{...o},r);case"reusableContentBlock":Q({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,pe.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,pe.jsx)("pe",{className:"col-start-2",children:n},r);case"heading":{let o=t==null?void 0:t.tag;return(0,pe.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:n},r)}case"list":{let o=t==null?void 0:t.tag;return(0,pe.jsx)(o,{className:"list col-start-2",children:n},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,pe.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:n},r):(0,pe.jsx)("li",{value:t==null?void 0:t.value,children:n},r);case"quote":return(0,pe.jsx)("blockquote",{className:"col-start-2",children:n},r);case"link":{let o=t.fields;return(0,pe.jsx)(V,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}case"autolink":{let o=t.fields;return(0,pe.jsx)(V,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}default:return null}})})}var B=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>{var n;return t?(0,pe.jsx)("div",{className:d({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&Q({nodes:(n=t==null?void 0:t.root)==null?void 0:n.children})}):null};var lt="../../hero-3-N2CBGEV6.jpg";var he=O(require("next/image"));var oe="../../cortex-reply-dark-XPAJJJYY.png";var Xt=()=>(0,pe.jsxs)("footer",{className:`absolute bottom-0 left-0 w-full py-2 px-8 flex justify-between items-center transition-colors duration-300
5
5
  dark bg-background text-primary`,children:[(0,pe.jsxs)("div",{className:"flex px-6 items-center space-pe-2",children:[(0,pe.jsx)("img",{src:oe.src,alt:"Cortex Reply Logo",className:"h-8"}),(0,pe.jsx)("span",{className:"pl-12 text-sm",children:"Power up your people"})]}),(0,pe.jsx)("a",{href:"https://cortexreply.com",className:"text-sm hover:underline",children:"cortexreply.com"})]}),$t=({title:e})=>(0,pe.jsx)("header",{className:"absolute top-0 left-0 w-full py-4 px-8 flex justify-between items-center transition-colors duration-300 dark bg-background text-foreground",children:(0,pe.jsx)("div",{className:"container",children:(0,pe.jsx)("span",{className:"container text-4xl px-6",children:e})})}),er=e=>{var a,n;let{title:t,hero:r}=e;return(0,pe.jsxs)("div",{className:"relative w-full h-full flex flex-col justify-center min-h-[500px] pe-10",children:[(0,pe.jsx)("div",{className:"absolute inset-0",children:(0,pe.jsx)(he.default,{src:r.media?r.media.url:lt,alt:"Background",width:r.media&&r.media.width&&(a=r.media.width)!=null?a:1920,height:r.media&&r.media.height&&(n=r.media.height)!=null?n:1080,style:{objectFit:"cover"},className:"opacity-80 h-full dark:opacity-60"})}),(0,pe.jsx)("div",{className:"absolute left-16 z-50 top-4 flex flex-col items-start gap-4",children:oe&&(0,pe.jsx)("div",{className:"h-24",children:(0,pe.jsx)(he.default,{src:oe,alt:"Company logo",className:"h-full w-full object-contain",width:192,height:96})})}),(0,pe.jsx)("div",{className:"absolute inset-0 bg-black/30 dark:bg-black/50"}),(0,pe.jsxs)("div",{className:"relative pl-24 z-10 max-w-3xl",children:[(0,pe.jsx)("pe",{className:"text-lg font-medium text-accent mb-2",children:t}),r.richText&&(0,pe.jsx)(B,{content:r.richText,enableGutter:!1,className:"prose-headings:text-white prose-pe:text-white"})]})]})};0&&(module.exports={Footer,HeaderTop,TitleSlide});
@@ -1 +1 @@
1
- import{a,b,c}from"../../chunk-6PVDZJ4G.mjs";import"../../chunk-MANZDSTF.mjs";import"../../chunk-AUBKJ4XO.mjs";import"../../chunk-6YV7RK6Q.mjs";import"../../chunk-NRL4U42W.mjs";import"../../chunk-6LKCK2EH.mjs";import"../../chunk-X6QN5C6U.mjs";import"../../chunk-423OEU3K.mjs";import"../../chunk-6P7CY367.mjs";import"../../chunk-GBQKJ3RF.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-ZWKWU7U4.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-4RWD4HBJ.mjs";import"../../chunk-IBV34MLI.mjs";import"../../chunk-ICTOXY7D.mjs";import"../../chunk-YNDKGRL6.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-KDGEXDC5.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-C5XNOZXC.mjs";import"../../chunk-22FHCZJD.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-WU3JMLSC.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as Footer,b as HeaderTop,c as TitleSlide};
1
+ import{a,b,c}from"../../chunk-P7YRU4AM.mjs";import"../../chunk-X6QN5C6U.mjs";import"../../chunk-AUBKJ4XO.mjs";import"../../chunk-NRL4U42W.mjs";import"../../chunk-6YV7RK6Q.mjs";import"../../chunk-MANZDSTF.mjs";import"../../chunk-6LKCK2EH.mjs";import"../../chunk-423OEU3K.mjs";import"../../chunk-6P7CY367.mjs";import"../../chunk-KPBUBVEA.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-ZWKWU7U4.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-ALTFHQW6.mjs";import"../../chunk-IBV34MLI.mjs";import"../../chunk-ICTOXY7D.mjs";import"../../chunk-YNDKGRL6.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-KDGEXDC5.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-22FHCZJD.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-WU3JMLSC.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as Footer,b as HeaderTop,c as TitleSlide};
@@ -5,4 +5,6 @@ interface PrintableProps {
5
5
  layout?: 'portrait' | 'landscape' | 'flow';
6
6
  }
7
7
  export declare const Printable: React.FC<PrintableProps>;
8
+ export declare const FlowPrintable: React.FC<PrintableProps>;
9
+ export declare const PagePrintable: React.FC<PrintableProps>;
8
10
  export {};
@@ -1,5 +1,5 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- "use strict";"use client";var Tt=Object.create;var ve=Object.defineProperty;var It=Object.getOwnPropertyDescriptor;var St=Object.getOwnPropertyNames;var Et=Object.getPrototypeOf,zt=Object.prototype.hasOwnProperty;var Ft=(e,t)=>{for(var r in t)ve(e,r,{get:t[r],enumerable:!0})},Je=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of St(t))!zt.call(e,a)&&a!==r&&ve(e,a,{get:()=>t[a],enumerable:!(n=It(t,a))||n.enumerable});return e};var $=(e,t,r)=>(r=e!=null?Tt(Et(e)):{},Je(t||!e||!e.__esModule?ve(r,"default",{value:e,enumerable:!0}):r,e)),Mt=e=>Je(ve({},"__esModule",{value:!0}),e);var Pr={};Ft(Pr,{Printable:()=>kr});module.exports=Mt(Pr);var q=require("react"),He=require("pagedjs");var et=require("clsx");var Ie="-",Gt=e=>{let t=jt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:i=>{let s=i.split(Ie);return s[0]===""&&s.length!==1&&s.shift(),qe(s,t)||Dt(i)},getConflictingClassGroupIds:(i,s)=>{let l=r[i]||[];return s&&n[i]?[...l,...n[i]]:l}}},qe=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],n=t.nextPart.get(r),a=n?qe(e.slice(1),n):void 0;if(a)return a;if(t.validators.length===0)return;let o=e.join(Ie);return(i=t.validators.find(({validator:s})=>s(o)))==null?void 0:i.classGroupId},Ve=/^\[(.+)\]$/,Dt=e=>{if(Ve.test(e)){let t=Ve.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},jt=e=>{let{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return Lt(Object.entries(e.classGroups),r).forEach(([o,i])=>{Te(i,n,o,t)}),n},Te=(e,t,r,n)=>{e.forEach(a=>{if(typeof a=="string"){let o=a===""?t:Qe(t,a);o.classGroupId=r;return}if(typeof a=="function"){if(Ut(a)){Te(a(n),t,r,n);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([o,i])=>{Te(i,Qe(t,o),r,n)})})},Qe=(e,t)=>{let r=e;return t.split(Ie).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},Ut=e=>e.isThemeGetter,Lt=(e,t)=>t?e.map(([r,n])=>{let a=n.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,s])=>[t+i,s])):o);return[r,a]}):e,Ot=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map,a=(o,i)=>{r.set(o,i),t++,t>e&&(t=0,n=r,r=new Map)};return{get(o){let i=r.get(o);if(i!==void 0)return i;if((i=n.get(o))!==void 0)return a(o,i),i},set(o,i){r.has(o)?r.set(o,i):a(o,i)}}},Ye="!",Wt=e=>{let{separator:t,experimentalParseClassName:r}=e,n=t.length===1,a=t[0],o=t.length,i=s=>{let l=[],c=0,g=0,m;for(let k=0;k<s.length;k++){let P=s[k];if(c===0){if(P===a&&(n||s.slice(k,k+o)===t)){l.push(s.slice(g,k)),g=k+o;continue}if(P==="/"){m=k;continue}}P==="["?c++:P==="]"&&c--}let y=l.length===0?s:s.substring(g),C=y.startsWith(Ye),b=C?y.substring(1):y,x=m&&m>g?m-g:void 0;return{modifiers:l,hasImportantModifier:C,baseClassName:b,maybePostfixModifierPosition:x}};return r?s=>r({className:s,parseClassName:i}):i},Ht=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},_t=e=>({cache:Ot(e.cacheSize),parseClassName:Wt(e),...Gt(e)}),Jt=/\s+/,Vt=(e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:a}=t,o=[],i=e.trim().split(Jt),s="";for(let l=i.length-1;l>=0;l-=1){let c=i[l],{modifiers:g,hasImportantModifier:m,baseClassName:y,maybePostfixModifierPosition:C}=r(c),b=!!C,x=n(b?y.substring(0,C):y);if(!x){if(!b){s=c+(s.length>0?" "+s:s);continue}if(x=n(y),!x){s=c+(s.length>0?" "+s:s);continue}b=!1}let k=Ht(g).join(":"),P=m?k+Ye:k,B=P+x;if(o.includes(B))continue;o.push(B);let W=a(x,b);for(let M=0;M<W.length;++M){let H=W[M];o.push(P+H)}s=c+(s.length>0?" "+s:s)}return s};function Qt(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Xe(t))&&(n&&(n+=" "),n+=r);return n}var Xe=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=Xe(e[n]))&&(r&&(r+=" "),r+=t);return r};function qt(e,...t){let r,n,a,o=i;function i(l){let c=t.reduce((g,m)=>m(g),e());return r=_t(c),n=r.cache.get,a=r.cache.set,o=s,s(l)}function s(l){let c=n(l);if(c)return c;let g=Vt(l,r);return a(l,g),g}return function(){return o(Qt.apply(null,arguments))}}var v=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Ze=/^\[(?:([a-z-]+):)?(.+)\]$/i,Yt=/^\d+\/\d+$/,Xt=new Set(["px","full","screen"]),Zt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Kt=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(nt|nt|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,$t=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,er=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,tr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,U=e=>se(e)||Xt.has(e)||Yt.test(e),_=e=>ie(e,"length",cr),se=e=>!!e&&!Number.isNaN(Number(e)),Ae=e=>ie(e,"number",se),fe=e=>!!e&&Number.isInteger(Number(e)),rr=e=>e.endsWith("%")&&se(e.slice(0,-1)),p=e=>Ze.test(e),J=e=>Zt.test(e),or=new Set(["length","size","percentage"]),nr=e=>ie(e,or,Ke),ar=e=>ie(e,"position",Ke),sr=new Set(["image","url"]),ir=e=>ie(e,sr,pr),lr=e=>ie(e,"",dr),be=()=>!0,ie=(e,t,r)=>{let n=Ze.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1},cr=e=>Kt.test(e)&&!$t.test(e),Ke=()=>!1,dr=e=>er.test(e),pr=e=>tr.test(e);var mr=()=>{let e=v("colors"),t=v("spacing"),r=v("blur"),n=v("brightness"),a=v("borderColor"),o=v("borderRadius"),i=v("borderSpacing"),s=v("borderWidth"),l=v("contrast"),c=v("grayscale"),g=v("hueRotate"),m=v("invert"),y=v("gap"),C=v("gradientColorStops"),b=v("gradientColorStopPositions"),x=v("inset"),k=v("margin"),P=v("opacity"),B=v("padding"),W=v("saturate"),M=v("scale"),H=v("sepia"),de=v("skew"),pe=v("space"),Y=v("translate"),S=()=>["auto","contain","none"],oe=()=>["auto","hidden","clip","visible","scroll"],ne=()=>["auto",p,t],f=()=>[p,t],G=()=>["",U,_],X=()=>["auto",se,p],me=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],z=()=>["solid","dashed","dotted","double","none"],j=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ue=()=>["start","end","center","between","around","evenly","stretch"],Z=()=>["","0",p],K=()=>["auto","avoid","all","avoid-page","page","left","right","column"],I=()=>[se,p];return{cacheSize:500,separator:":",theme:{colors:[be],spacing:[U,_],blur:["none","",J,p],brightness:I(),borderColor:[e],borderRadius:["none","","full",J,p],borderSpacing:f(),borderWidth:G(),contrast:I(),grayscale:Z(),hueRotate:I(),invert:Z(),gap:f(),gradientColorStops:[e],gradientColorStopPositions:[rr,_],inset:ne(),margin:ne(),opacity:I(),padding:f(),saturate:I(),scale:I(),sepia:Z(),skew:I(),space:f(),translate:f()},classGroups:{aspect:[{aspect:["auto","square","video",p]}],container:["container"],columns:[{columns:[J]}],"break-after":[{"break-after":K()}],"break-before":[{"break-before":K()}],"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:[...me(),p]}],overflow:[{overflow:oe()}],"overflow-x":[{"overflow-x":oe()}],"overflow-y":[{"overflow-y":oe()}],overscroll:[{overscroll:S()}],"overscroll-x":[{"overscroll-x":S()}],"overscroll-y":[{"overscroll-y":S()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[x]}],"inset-x":[{"inset-x":[x]}],"inset-y":[{"inset-y":[x]}],start:[{start:[x]}],end:[{end:[x]}],top:[{top:[x]}],right:[{right:[x]}],bottom:[{bottom:[x]}],left:[{left:[x]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",fe,p]}],basis:[{basis:ne()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",p]}],grow:[{grow:Z()}],shrink:[{shrink:Z()}],order:[{order:["first","last","none",fe,p]}],"grid-cols":[{"grid-cols":[be]}],"col-start-end":[{col:["auto",{span:["full",fe,p]},p]}],"col-start":[{"col-start":X()}],"col-end":[{"col-end":X()}],"grid-rows":[{"grid-rows":[be]}],"row-start-end":[{row:["auto",{span:[fe,p]},p]}],"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",p]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",p]}],gap:[{gap:[y]}],"gap-x":[{"gap-x":[y]}],"gap-y":[{"gap-y":[y]}],"justify-content":[{justify:["normal",...ue()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ue(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ue(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[B]}],px:[{px:[B]}],py:[{py:[B]}],ps:[{ps:[B]}],pe:[{pe:[B]}],pt:[{pt:[B]}],pr:[{pr:[B]}],pb:[{pb:[B]}],pl:[{pl:[B]}],m:[{m:[k]}],mx:[{mx:[k]}],my:[{my:[k]}],ms:[{ms:[k]}],me:[{me:[k]}],mt:[{mt:[k]}],mr:[{mr:[k]}],mb:[{mb:[k]}],ml:[{ml:[k]}],"space-x":[{"space-x":[pe]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[pe]}],"space-y-reverse":["space-y-reverse"],nt:[{nt:["auto","min","max","fit","svw","lvw","dvw",p,t]}],"min-nt":[{"min-nt":[p,t,"min","max","fit"]}],"max-nt":[{"max-nt":[p,t,"none","full","min","max","fit","prose",{screen:[J]},J]}],nt:[{nt:[p,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-nt":[{"min-nt":[p,t,"min","max","fit","svh","lvh","dvh"]}],"max-nt":[{"max-nt":[p,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[p,t,"auto","min","max","fit"]}],"font-size":[{text:["base",J,_]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Ae]}],"font-family":[{font:[be]}],"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",p]}],"line-clamp":[{"line-clamp":["none",se,Ae]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",U,p]}],"list-image":[{"list-image":["none",p]}],"list-style-type":[{list:["none","disc","decimal",p]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[P]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[P]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...z(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",U,_]}],"underline-offset":[{"underline-offset":["auto",U,p]}],"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:f()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",p]}],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",p]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[P]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...me(),ar]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",nr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},ir]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[b]}],"gradient-via-pos":[{via:[b]}],"gradient-to-pos":[{to:[b]}],"gradient-from":[{from:[C]}],"gradient-via":[{via:[C]}],"gradient-to":[{to:[C]}],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-nt":[{"rounded-nt":[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-nt":[{border:[s]}],"border-nt-x":[{"border-x":[s]}],"border-nt-y":[{"border-y":[s]}],"border-nt-s":[{"border-s":[s]}],"border-nt-e":[{"border-e":[s]}],"border-nt-t":[{"border-t":[s]}],"border-nt-r":[{"border-r":[s]}],"border-nt-b":[{"border-b":[s]}],"border-nt-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[P]}],"border-style":[{border:[...z(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[P]}],"divide-style":[{divide:z()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...z()]}],"outline-offset":[{"outline-offset":[U,p]}],"outline-nt":[{outline:[U,_]}],"outline-color":[{outline:[e]}],"ring-nt":[{ring:G()}],"ring-nt-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[P]}],"ring-offset-nt":[{"ring-offset":[U,_]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",J,lr]}],"shadow-color":[{shadow:[be]}],opacity:[{opacity:[P]}],"mix-blend":[{"mix-blend":[...j(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":j()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",J,p]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[g]}],invert:[{invert:[m]}],saturate:[{saturate:[W]}],sepia:[{sepia:[H]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[g]}],"backdrop-invert":[{"backdrop-invert":[m]}],"backdrop-opacity":[{"backdrop-opacity":[P]}],"backdrop-saturate":[{"backdrop-saturate":[W]}],"backdrop-sepia":[{"backdrop-sepia":[H]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",p]}],duration:[{duration:I()}],ease:[{ease:["linear","in","out","in-out",p]}],delay:[{delay:I()}],animate:[{animate:["none","spin","ping","pulse","bounce",p]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[M]}],"scale-x":[{"scale-x":[M]}],"scale-y":[{"scale-y":[M]}],rotate:[{rotate:[fe,p]}],"translate-x":[{"translate-x":[Y]}],"translate-y":[{"translate-y":[Y]}],"skew-x":[{"skew-x":[de]}],"skew-y":[{"skew-y":[de]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",p]}],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","nt-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",p]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":f()}],"scroll-mx":[{"scroll-mx":f()}],"scroll-my":[{"scroll-my":f()}],"scroll-ms":[{"scroll-ms":f()}],"scroll-me":[{"scroll-me":f()}],"scroll-mt":[{"scroll-mt":f()}],"scroll-mr":[{"scroll-mr":f()}],"scroll-mb":[{"scroll-mb":f()}],"scroll-ml":[{"scroll-ml":f()}],"scroll-p":[{"scroll-p":f()}],"scroll-px":[{"scroll-px":f()}],"scroll-py":[{"scroll-py":f()}],"scroll-ps":[{"scroll-ps":f()}],"scroll-pe":[{"scroll-pe":f()}],"scroll-pt":[{"scroll-pt":f()}],"scroll-pr":[{"scroll-pr":f()}],"scroll-pb":[{"scroll-pb":f()}],"scroll-pl":[{"scroll-pl":f()}],"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",p]}],fill:[{fill:[e,"none"]}],"stroke-nt":[{stroke:[U,_,Ae]}],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:["nt","nt"],"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-nt","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-nt"],"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-nt":["border-nt-s","border-nt-e","border-nt-t","border-nt-r","border-nt-b","border-nt-l"],"border-nt-x":["border-nt-r","border-nt-l"],"border-nt-y":["border-nt-t","border-nt-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 $e=qt(mr);function d(...e){return $e((0,et.clsx)(e))}function Se(e){let t=0,r=(o,i)=>`${o.toLowerCase().replace(/\s+/g,"-").replace(/[^\nt-]/g,"")}-${i}`,n=e.layout.flatMap(o=>{let i=[];return"title"in o&&o.title&&i.push({text:o.title,id:r(o.title,t++),tag:"h2"}),"columns"in o&&Array.isArray(o.columns)&&o.columns.forEach(s=>{var l,c,g,m,y;if(s.title&&i.push({text:s.title,id:r(s.title,t++),tag:"h2"}),(c=(l=s.richText)==null?void 0:l.root)!=null&&c.children&&((m=(g=s.richText)==null?void 0:g.root)==null?void 0:m.children.length)===1){let C=s.richText.root.children.filter(b=>b!==void 0&&b.type==="heading");for(let b of C)b.children[0]&&i.push({text:(y=b.children[0].text)!=null?y:"",id:r(b.children[0].text,t++),tag:b.tag||"h2"})}}),i}),a=ur(e.layout);return{tableOfContents:n,contentWithIds:a}}function ur(e){let t=(n,a)=>`${n.toLowerCase().replace(/\s+/g,"-").replace(/[^\nt-]/g,"")}-${a}`,r=0;return e.map(n=>(n.title&&(n.id=t(n.title,r++)),n.columns&&(n.columns=n.columns.map(a=>(a.title&&(a.id=t(a.title,r++)),a.richText&&(a.richText.root.children=a.richText.root.children.filter(o=>o!==void 0).filter(o=>o.children!==void 0&&o.children.length>0).map(o=>(o.type==="heading"&&o.children[0].text&&(o.id=t(o.children[0].text,r++)),o))),a))),n))}var tt=require("@radix-ui/react-slot"),rt=require("class-variance-authority"),ot=$(require("react")),nt=require("react/jsx-runtime"),gr=(0,rt.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:"nt-10 px-4 py-2",icon:"nt-10 nt-10",lg:"nt-11 rounded px-8",sm:"nt-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"}}}),D=ot.forwardRef(({asChild:e=!1,className:t,size:r,variant:n,...a},o)=>(0,nt.jsx)(e?tt.Slot:"button",{className:d(gr({className:t,size:r,variant:n})),ref:o,...a}));D.displayName="Button";var ye="../../cortex-reply-dark-XPAJJJYY.png";var Bt=$(require("next/image"));var at=({className:e,content:t,style:r})=>(0,nt.jsx)("div",{className:d("mx-auto my-8 nt-full",e),children:(0,nt.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,nt.jsx)(E,{content:t,enableGutter:!1,enableProse:!1})})});var ke=require("prism-react-renderer");var st=require("lucide-react");function lt({code:e}){let[t,r]=(0,q.useState)("Copy");function n(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,nt.jsx)("div",{className:"flex justify-end align-middle",children:(0,nt.jsxs)(D,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),n()},children:[(0,nt.jsx)("p",{children:t}),(0,nt.jsx)("div",{className:"nt-6 nt-6 dark:invert",children:(0,nt.jsx)(st.ClipboardCopy,{})})]})})}var ct=({code:e,language:t=""})=>e?(0,nt.jsx)(ke.Highlight,{code:e,language:t,theme:ke.themes.vsDark,children:({getLineProps:r,getTokenProps:n,tokens:a})=>(0,nt.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[a.map((o,i)=>(0,nt.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,nt.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,nt.jsx)("span",{className:"table-cell pl-4",children:o.map((s,l)=>(0,nt.jsx)("span",{...n({token:s})},l))})]},i)),(0,nt.jsx)(lt,{code:e})]})}):null;var dt=({className:e,code:t,language:r})=>(0,nt.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,nt.jsx)(ct,{code:t,language:r})});var mt=$(require("next/image")),br={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},pt="data:image/png;base64,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",ut=e=>{let{alt:t,fill:r,imgClassName:n,priority:a,resource:o,size:i,src:s,loading:l}=e,c,g,m=t,y=s||"";if(!y&&o&&typeof o=="object"){let{alt:x,filename:k,height:P,url:B,width:W}=o;c=W,g=P,m=x||"",y=B||pt}let C=l||"lazy",b=i||Object.entries(br).map(([,x])=>`(max-width: ${x}px) ${x*2}nt`).join(", ");return(0,nt.jsx)("picture",{children:(0,nt.jsx)(mt.default,{alt:m||"",className:d(n),fill:r,height:r?void 0:g,placeholder:"blur",blurDataURL:pt,priority:C!=="lazy"&&a,quality:100,loading:C,sizes:b,src:y,width:r?void 0:c})})};var gt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var ft=()=>{if(gt){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 bt=e=>{let{onClick:t,resource:r,videoClassName:n}=e,a=(0,q.useRef)(null);if((0,q.useEffect)(()=>{let{current:o}=a;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,nt.jsx)("video",{autoPlay:!0,className:d(n),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:a,children:(0,nt.jsx)("source",{src:`${ft()}/media/${o}`})})}return null};var Pe=e=>{var i;let{className:t,htmlElement:r="div",resource:n}=e,a=typeof n=="object"&&((i=n==null?void 0:n.mimeType)==null?void 0:i.includes("video"));return(0,nt.jsx)(r||q.Fragment,{...r!==null?{className:t}:{},children:a?(0,nt.jsx)(bt,{...e}):(0,nt.jsx)(ut,{...e})})};var V=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:a,staticImage:o}=e;return(0,nt.jsx)("div",{className:d("",{container:r},t),children:(0,nt.jsx)(Pe,{imgClassName:d("rounded-[0.8rem]",n),resource:a,src:o})})};var ht=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:a,staticImage:o}=e;return(0,nt.jsx)("div",{className:d("",{container:r},t),children:(0,nt.jsx)(Pe,{imgClassName:d("rounded-[0.8rem]",n),resource:a,src:o})})};var De=({type:e="solid",iconName:t="cloud",size:r="lg",className:n})=>{let a=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,i=n!=null?n:"",s=a+o+" fa-"+r+" "+i;return(0,nt.jsx)("i",{className:s})};function vt(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function wt({variant:e="outline",className:t,icon:r,heading:n,subheading:a,content:o,statistic:i,buttonText:s,buttonHref:l}){return(0,nt.jsxs)("div",{className:d("rounded-3xl p-8 md:p-8 min-nt-56",{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"}[e],e==="outline"?"text-gray-900":"text-white",t),children:[(0,nt.jsx)("div",{className:"flex items-center gap-4 mb-6",children:(0,nt.jsx)(yr,{icon:r,heading:n,variant:e})}),e==="solid"&&i&&(0,nt.jsx)("div",{className:"mb-6",children:(0,nt.jsx)("div",{className:"text-4xl text-wrap font-bold leading-none overflow-hidden",children:i})}),a&&(0,nt.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:a}),o&&typeof o=="object"&&(0,nt.jsx)("div",{className:d("space-y-6","text-gray-300"),children:(0,nt.jsx)(E,{enableGutter:!1,content:o,enableProse:!1,className:d("prose prose-headings:text-white prose-p:text-gray-300")})}),o&&typeof o=="string"&&(0,nt.jsx)("div",{className:d("space-y-6","text-gray-300"),children:o}),s&&(0,nt.jsx)("div",{className:"mt-8",children:(0,nt.jsx)(D,{size:"lg",className:"text-white text-lg rounded-xl nt-full",asChild:!0,children:(0,nt.jsx)("a",{href:l,children:s})})}),e==="radial"&&(0,nt.jsx)("div",{className:"absolute bottom-0 right-0 nt-2/3 nt-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 yr=({icon:e,heading:t,variant:r})=>e&&t.length<30?(0,nt.jsxs)("div",{className:"flex items-center gap-4 mb-6",children:[vt(e)&&(0,nt.jsx)("div",{className:d("rounded-full p-0",r==="outline"?"text-accent":"text-foreground"),children:(0,nt.jsx)(De,{type:e.type,iconName:e.iconName,size:"2x"})}),(0,nt.jsx)("div",{className:d("font-semibold",r==="outline"?"text-2xl text-primary":"text-3xl"),children:t})]}):e?(0,nt.jsxs)("div",{className:"flex flex-col gap-4",children:[vt(e)&&(0,nt.jsx)("div",{className:"text-accent nt-12 nt-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,nt.jsx)(De,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,nt.jsx)("h3",{className:d("font-semibold group-hover:text-accent transition-colors duration-400",r==="outline"?"text-2xl text-primary":"text-3xl"),children:t})]}):(0,nt.jsx)("div",{className:"flex items-center gap-4 mb-6",children:(0,nt.jsx)("div",{className:d("font-semibold",r==="outline"?"text-2xl text-primary":"text-3xl"),children:t})});var le=({title:e,description:t,features:r,id:n})=>(0,nt.jsxs)("section",{className:d("container nt-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,nt.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,nt.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:t}),t&&typeof t=="object"&&(0,nt.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:(0,nt.jsx)(E,{content:t,enableGutter:!1})}),(0,nt.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((a,o)=>{var i,s,l,c,g;if(((i=a.settings)==null?void 0:i.card)==="default"||!((s=a.settings)!=null&&s.card))return(0,nt.jsx)(hr,{section:a,index:o},o);{let m=()=>{if(a.icon&&"type"in a.icon&&a.icon.type!=="none")return{type:a.icon.type,iconName:a.icon.icon}};return(0,nt.jsx)(wt,{variant:((l=a.settings)==null?void 0:l.card)||"outline",icon:m()||void 0,heading:a.title||"",content:a.content||void 0,statistic:a.statistic||void 0,buttonText:(c=a.link)!=null&&c.url?"Find out more":void 0,buttonHref:((g=a.link)==null?void 0:g.url)||void 0},o)}})})]}),hr=({section:e,index:t})=>{if(!e)return null;let r=(0,nt.jsxs)("div",{className:"flex flex-col gap-4",children:[e.icon&&(0,nt.jsx)("div",{className:"text-accent nt-12 nt-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,nt.jsx)("i",{className:`${e.icon.type} fa-${e.icon.icon} fa-4x`})}),(0,nt.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:e.title}),e.statistic&&(0,nt.jsx)("div",{className:"mb-6",children:(0,nt.jsx)("div",{className:"text-4xl text-wrap font-bold leading-none overflow-hidden text-foreground",children:e.statistic})}),e.content&&typeof e.content!="object"&&(0,nt.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:e.content}}),e.content&&typeof e.content=="object"&&(0,nt.jsx)("div",{className:"text-lg opacity-80",children:(0,nt.jsx)(E,{content:e.content,enableGutter:!1})})]},t);return e.link?(0,nt.jsx)("a",{href:e.link.url?e.link.url:"#",className:"no-underline group",children:r},t):r};var Be=$(require("react"));var je=$(require("next/link")),te=e=>{let{type:t,appearance:r="inline",children:n,className:a,label:o,newTab:i,reference:s,size:l,url:c}=e,g=t==="reference"&&typeof(s==null?void 0:s.value)=="object"&&s.value.slug?`${(s==null?void 0:s.relationTo)!=="pages"?`/${s==null?void 0:s.relationTo}`:""}/${s.value.slug}`:c;if(!g)return null;let m=r==="link"?"clear":l,y=i?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,nt.jsxs)(je.default,{className:d(a),href:g||c||"",...y,children:[o&&o,n&&n]}):(0,nt.jsx)(D,{asChild:!0,className:a,size:m,variant:r,children:(0,nt.jsxs)(je.default,{className:d(a),href:g||c||"",...y,children:[o&&o,n&&n]})})};function xe({nodes:e}){return(0,nt.jsx)(Be.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,nt.jsx)(Be.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,nt.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,nt.jsx)("em",{children:o},r)),t.format&4&&(o=(0,nt.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,nt.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,nt.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,nt.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,nt.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,nt.jsx)("table",{children:(0,nt.jsx)("tbody",{children:t.children.map((o,i)=>(0,nt.jsx)("tr",{children:o.children.map((s,l)=>(0,nt.jsx)("td",{children:xe({nodes:s.children})},l))},i))})},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 i of o.children)"checked"in i&&(i!=null&&i.checked||(i.checked=!1));return xe({nodes:o.children})},a="children"in t?n(t):"";if(t.type==="block"){let o=t.fields,i=o==null?void 0:o.blockType;if(!o||!i)return null;switch(i){case"cta":return(0,nt.jsx)(ce,{...o},r);case"mediaBlock":return(0,nt.jsx)(V,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-nt-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,nt.jsx)(ht,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-nt-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,nt.jsx)(at,{className:"col-start-2 mb-4",...o},r);case"code":return(0,nt.jsx)(dt,{className:"col-start-2",...o},r);case"features":return(0,nt.jsx)(le,{...o},r);case"reusableContentBlock":xe({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,nt.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,nt.jsx)("p",{className:"col-start-2",children:a},r);case"heading":{let o=t==null?void 0:t.tag;return(0,nt.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:a},r)}case"list":{let o=t==null?void 0:t.tag;return(0,nt.jsx)(o,{className:"list col-start-2",children:a},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,nt.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:a},r):(0,nt.jsx)("li",{value:t==null?void 0:t.value,children:a},r);case"quote":return(0,nt.jsx)("blockquote",{className:"col-start-2",children:a},r);case"link":{let o=t.fields;return(0,nt.jsx)(te,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:a},r)}case"autolink":{let o=t.fields;return(0,nt.jsx)(te,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:a},r)}default:return null}})})}var E=({className:e,content:t,enableGutter:r=!0,enableProse:n=!0})=>{var a;return t?(0,nt.jsx)("div",{className:d({"container ":r,"max-nt-none":!r,"mx-auto prose dark:prose-invert ":n},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&xe({nodes:(a=t==null?void 0:t.root)==null?void 0:a.children})}):null};var ce=({links:e,richText:t})=>(0,nt.jsx)("div",{className:"container",children:(0,nt.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,nt.jsx)("div",{className:"max-nt-[48rem] flex items-center",children:t&&(0,nt.jsx)(E,{className:"mb-0",content:t,enableGutter:!1})}),(0,nt.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},n)=>(0,nt.jsx)(te,{size:"lg",...r},n))})]})});var Re=e=>{let{columns:t}=e,r={full:"12",half:"6",oneThird:"4",twoThirds:"8"};return(0,nt.jsx)("div",{className:"container my-6",children:(0,nt.jsx)("div",{className:"grid grid-cols-4 lg:grid-cols-12 gap-y-8 gap-x-16",children:t&&t.length>0&&t.map((n,a)=>{let{enableLink:o,link:i,richText:s,size:l}=n;return(0,nt.jsxs)("div",{className:d(`col-span-4 lg:col-span-${r[l]}`,{"md:col-span-2":l!=="full"}),children:[s&&(0,nt.jsx)(E,{content:s,enableGutter:!1}),o&&(0,nt.jsx)(te,{...i})]},a)})})})};var Nt=e=>{let{customId:t,reusableContent:r}=e;return typeof r=="object"&&r!==null?(0,nt.jsx)(xr,{blocks:r.layout}):(0,nt.jsx)(nt.Fragment,{})},Ct={content:Re,cta:ce,mediaBlock:V,imageBlock:V,features:le},xr=e=>{let{blocks:t}=e;return t&&Array.isArray(t)&&t.length>0?(0,nt.jsx)("section",{id:"render-blocks",children:t.map((n,a)=>{var s,l;let{blockType:o}=n,i=n==null?void 0:n.theme;if(o&&o in Ct){let c=Ct[o];if(c)return(0,nt.jsx)("div",{className:"py-6 relative",children:(0,nt.jsx)("div",{className:d(((s=i==null?void 0:i.settings)==null?void 0:s.theme)==="dark"?"dark":((l=i==null?void 0:i.settings)==null?void 0:l.theme)==="green"?"green":""),children:(0,nt.jsx)(c,{...n})})},a)}return null})}):null};var Pt={content:Re,cta:ce,mediaBlock:V,imageBlock:V,features:le,reusableContentBlock:Nt},Ue=e=>{let{blocks:t}=e;return t&&Array.isArray(t)&&t.length>0?(0,nt.jsx)("section",{id:"render-blocks",className:d(e.fill?"nt-full nt-full":""),children:t.map((n,a)=>{var s,l;let{blockType:o}=n,i=n==null?void 0:n.theme;if(o&&o in Pt){let c=Pt[o];if(c)return(0,nt.jsxs)("div",{className:d("py-6 relative",e.fill&&"flex nt-full items-center justify-center"),children:[(0,nt.jsx)(vr,{block:n,index:a}),(0,nt.jsx)("div",{className:d("container",((s=i==null?void 0:i.settings)==null?void 0:s.theme)==="dark"?"dark":((l=i==null?void 0:i.settings)==null?void 0:l.theme)==="green"?"green":""),children:(0,nt.jsx)(c,{...n})})]},a)}return null})}):null},vr=e=>{var r;if(!("theme"in e.block))return null;let t=(r=e.block)==null?void 0:r.theme;if(t.settings.background==="image"){let n={imagePosition:t.settings.imagePosition||"left",overlay:t.settings.overlay!==void 0?t.settings.overlay:!0};return(0,nt.jsxs)("div",{className:d("absolute inset-0 nt-full nt-full -z-10",t.settings.theme==="dark"?"dark bg-background":t.settings.theme==="green"?"green bg-background":""),children:[(0,nt.jsx)(Bt.default,{src:t.settings.image.url||"/placeholder.svg",alt:t.settings.image.alt,fill:!0,className:"object-cover",priority:!0}),t.settings.overlay&&(0,nt.jsx)("div",{className:"absolute inset-0",style:{background:n.imagePosition==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]})}return(0,nt.jsx)("div",{className:d("absolute inset-0 -z-10 nt-screen nt-full",t.settings.theme==="dark"?"dark bg-background":t.settings.theme==="green"?"green bg-background":"")})};var Rt="../../hero-3-N2CBGEV6.jpg";var Le=$(require("next/image"));var Oe=({title:e})=>(0,nt.jsx)("header",{className:"absolute top-0 left-0 nt-full py-4 px-8 flex justify-between items-center transition-colors duration-300 dark bg-background text-foreground",children:(0,nt.jsx)("div",{className:"container",children:(0,nt.jsx)("span",{className:"container text-4xl px-6",children:e})})}),We=e=>{var n,a;let{title:t,hero:r}=e;return(0,nt.jsxs)("div",{className:"relative nt-full nt-full flex flex-col justify-center min-nt-[500px] p-10",children:[(0,nt.jsx)("div",{className:"absolute inset-0",children:(0,nt.jsx)(Le.default,{src:r.media?r.media.url:Rt,alt:"Background",width:r.media&&r.media.width&&(n=r.media.width)!=null?n:1920,height:r.media&&r.media.height&&(a=r.media.height)!=null?a:1080,style:{objectFit:"cover"},className:"opacity-80 nt-full dark:opacity-60"})}),(0,nt.jsx)("div",{className:"absolute left-16 z-50 top-4 flex flex-col items-start gap-4",children:ye&&(0,nt.jsx)("div",{className:"nt-24",children:(0,nt.jsx)(Le.default,{src:ye,alt:"Company logo",className:"nt-full nt-full object-contain",width:192,height:96})})}),(0,nt.jsx)("div",{className:"absolute inset-0 bg-black/30 dark:bg-black/50"}),(0,nt.jsxs)("div",{className:"relative pl-24 z-10 max-nt-3xl",children:[(0,nt.jsx)("p",{className:"text-lg font-medium text-accent mb-2",children:t}),r.richText&&(0,nt.jsx)(E,{content:r.richText,enableGutter:!1,className:"prose-headings:text-white prose-p:text-white"})]})]})};var At=$(require("html2canvas")),_e=require("jspdf");var kr=({page:e,layout:t="portrait"})=>t==="flow"?(0,nt.jsx)(Cr,{page:e,layout:t}):(0,nt.jsx)(Nr,{page:e,layout:t}),Cr=({page:e,layout:t="portrait"})=>{let{contentWithIds:r}=Se(e),n={id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},a=async()=>{o("printable-content")},o=async s=>{let l=document.getElementById(s);if(!l)throw new Error(`Element with id ${s} not found`);let c=document.createElement("canvas"),g=window.devicePixelRatio;c.width=Math.max(l.clientWidth||0)*g,c.height=Math.max(l.clientHeight||0)*g+100;let m=c.getContext("2d");if(!m)throw new Error("Failed to get 2D context");let y=m.drawImage,C=Array.from(l.getElementsByTagName("img")).reduce((Y,S)=>(Y[S.src]=S,Y),{});m.drawImage=function(...Y){let[S,oe,ne,f,G,X,me,z,j]=Y;if(S instanceof HTMLImageElement){let ue=C[S.src].style.objectFit||"fill",Z=C[S.src].style.objectPosition||"center center";G=S.height,f=S.width;let K=f/G,I=z/j,[ge,ae]=Z.split(" ");switch(ae||(ae=ge),ue){case"cover":if(K>I){let R=G*I,A=(f-R)/2;ge==="left"&&(A=0),ge==="right"&&(A=f-R),oe+=A,f=R}else{let R=f/I,A=(G-R)/2;ae==="top"&&(A=0),ae==="bottom"&&(A=G-R),ne+=A,G=R}break;case"contain":if(K>I){let R=z/K,A=(j-R)/2;ae==="top"&&(A=0),ae==="bottom"&&(A=j-R),me+=A,j=R}else{let R=j*K,A=(z-R)/2;ge==="left"&&(A=0),ge==="right"&&(A=z-R),X+=A,z=R}break;case"fill":break}}return y.call(m,S,oe,ne,f,G,X,me,z,j)};let b=document.getElementById(s);if(!b)throw new Error(`Element with id ${s} not found`);var x=c.width,k=c.height;let B=(await(0,At.default)(b,{canvas:c,windowHeight:k,windowWidth:x,scale:window.devicePixelRatio})).toDataURL("image/png"),M=new _e.jsPDF({}).getImageProperties(B),H=297,de=H*(M.height/M.width),pe=new _e.jsPDF({unit:"mm",format:[H,de]});pe.addImage(B,"PNG",0,0,H,de),pe.save("print.pdf")},i=[n,...r];return(0,nt.jsxs)("div",{className:"nt-[297mm]",children:[(0,nt.jsx)("div",{className:"fixed top-20 right-4 z-[1000] print:hidden",children:(0,nt.jsx)(D,{onClick:a,variant:"outline",className:"px-5 py-2 text-sm font-semibold",children:"Print to PDF"})}),(0,nt.jsxs)("div",{id:"printable-content",children:[i.map((s,l)=>(0,nt.jsx)(nt.Fragment,{children:l===0?(0,nt.jsx)("section",{className:"title-page nt-full nt-full",children:(0,nt.jsx)(We,{hero:e.hero,title:e.title})},l):(0,nt.jsxs)("section",{className:"normal-page",children:[s.blockName&&(0,nt.jsx)(Oe,{title:s.blockName}),(0,nt.jsx)(Ue,{blocks:[s],fill:!0})]},l)})),(0,nt.jsx)("section",{className:"normal-page",children:(0,nt.jsxs)("div",{className:`nt-full py-2 px-8 flex justify-between items-center
5
- dark bg-background text-primary`,children:[(0,nt.jsxs)("div",{className:"flex px-6 items-center space-x-2",children:[(0,nt.jsx)("img",{src:ye.src,alt:"Cortex Reply Logo",className:"nt-8"}),(0,nt.jsx)("span",{className:"pl-12 text-sm",children:"Power up your people"})]}),(0,nt.jsx)("a",{href:"https://cortexreply.com",className:"text-sm hover:underline",children:"cortexreply.com"})]})})]})]})},Nr=({page:e,layout:t="portrait"})=>{let{contentWithIds:r}=Se(e),n=(0,q.useRef)(null),a=(0,q.useRef)(null),o=(0,q.useRef)(new He.Previewer),[i,s]=(0,q.useState)(0),c=[{id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},...r];return(0,q.useEffect)(()=>{let m=setTimeout(()=>{let y=new He.Previewer;if(!a.current)return;let C=`${a.current.innerHTML}`;n.current&&(n.current.innerHTML=""),y.preview(C,["./print.css",t==="landscape"?"./landscape.css":"./portrait.css"],n.current).then(b=>s(b.pageCount)).catch(b=>console.error("Paged.js error:",b))},50);return()=>clearTimeout(m)},[e,t]),(0,nt.jsxs)("div",{children:[(0,nt.jsx)("div",{className:"fixed top-20 right-4 z-[1000] print:hidden",children:(0,nt.jsx)(D,{onClick:async()=>{await new Promise(m=>setTimeout(m,300)),window.print()},variant:"outline",className:"px-5 py-2 text-sm font-semibold",children:"Print to PDF"})}),(0,nt.jsx)("div",{id:"printable-content",ref:a,style:{display:"none"},children:c.map((m,y)=>{var C,b;return(0,nt.jsx)(nt.Fragment,{children:y===0?(0,nt.jsx)("section",{className:"title-page nt-full nt-full",children:(0,nt.jsx)(We,{hero:e.hero,title:e.title})},y):(0,nt.jsxs)("section",{className:d("normal-page nt-full",((b=(C=m.theme)==null?void 0:C.settings)==null?void 0:b.theme)==="dark"?"dark bg-background":"light"),children:[m.blockName&&(0,nt.jsx)(Oe,{title:m.blockName}),(0,nt.jsx)(Ue,{blocks:[m]})]},y)})})}),(0,nt.jsx)("div",{ref:n,className:"preview-container"})]})};0&&(module.exports={Printable});
4
+ "use strict";"use client";var St=Object.create;var ve=Object.defineProperty;var Et=Object.getOwnPropertyDescriptor;var zt=Object.getOwnPropertyNames;var Ft=Object.getPrototypeOf,Mt=Object.prototype.hasOwnProperty;var Gt=(e,t)=>{for(var r in t)ve(e,r,{get:t[r],enumerable:!0})},Je=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of zt(t))!Mt.call(e,a)&&a!==r&&ve(e,a,{get:()=>t[a],enumerable:!(n=Et(t,a))||n.enumerable});return e};var $=(e,t,r)=>(r=e!=null?St(Ft(e)):{},Je(t||!e||!e.__esModule?ve(r,"default",{value:e,enumerable:!0}):r,e)),Dt=e=>Je(ve({},"__esModule",{value:!0}),e);var Br={};Gt(Br,{FlowPrintable:()=>Tt,PagePrintable:()=>It,Printable:()=>Pr});module.exports=Dt(Br);var j=require("react"),He=require("pagedjs");var et=require("clsx");var Ie="-",jt=e=>{let t=Lt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:i=>{let s=i.split(Ie);return s[0]===""&&s.length!==1&&s.shift(),qe(s,t)||Ut(i)},getConflictingClassGroupIds:(i,s)=>{let l=r[i]||[];return s&&n[i]?[...l,...n[i]]:l}}},qe=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],n=t.nextPart.get(r),a=n?qe(e.slice(1),n):void 0;if(a)return a;if(t.validators.length===0)return;let o=e.join(Ie);return(i=t.validators.find(({validator:s})=>s(o)))==null?void 0:i.classGroupId},Ve=/^\[(.+)\]$/,Ut=e=>{if(Ve.test(e)){let t=Ve.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Lt=e=>{let{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return Wt(Object.entries(e.classGroups),r).forEach(([o,i])=>{Te(i,n,o,t)}),n},Te=(e,t,r,n)=>{e.forEach(a=>{if(typeof a=="string"){let o=a===""?t:Qe(t,a);o.classGroupId=r;return}if(typeof a=="function"){if(Ot(a)){Te(a(n),t,r,n);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([o,i])=>{Te(i,Qe(t,o),r,n)})})},Qe=(e,t)=>{let r=e;return t.split(Ie).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},Ot=e=>e.isThemeGetter,Wt=(e,t)=>t?e.map(([r,n])=>{let a=n.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,s])=>[t+i,s])):o);return[r,a]}):e,Ht=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map,a=(o,i)=>{r.set(o,i),t++,t>e&&(t=0,n=r,r=new Map)};return{get(o){let i=r.get(o);if(i!==void 0)return i;if((i=n.get(o))!==void 0)return a(o,i),i},set(o,i){r.has(o)?r.set(o,i):a(o,i)}}},Ye="!",_t=e=>{let{separator:t,experimentalParseClassName:r}=e,n=t.length===1,a=t[0],o=t.length,i=s=>{let l=[],c=0,m=0,y;for(let k=0;k<s.length;k++){let P=s[k];if(c===0){if(P===a&&(n||s.slice(k,k+o)===t)){l.push(s.slice(m,k)),m=k+o;continue}if(P==="/"){y=k;continue}}P==="["?c++:P==="]"&&c--}let u=l.length===0?s:s.substring(m),C=u.startsWith(Ye),x=C?u.substring(1):u,h=y&&y>m?y-m:void 0;return{modifiers:l,hasImportantModifier:C,baseClassName:x,maybePostfixModifierPosition:h}};return r?s=>r({className:s,parseClassName:i}):i},Jt=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},Vt=e=>({cache:Ht(e.cacheSize),parseClassName:_t(e),...jt(e)}),Qt=/\s+/,qt=(e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:a}=t,o=[],i=e.trim().split(Qt),s="";for(let l=i.length-1;l>=0;l-=1){let c=i[l],{modifiers:m,hasImportantModifier:y,baseClassName:u,maybePostfixModifierPosition:C}=r(c),x=!!C,h=n(x?u.substring(0,C):u);if(!h){if(!x){s=c+(s.length>0?" "+s:s);continue}if(h=n(u),!h){s=c+(s.length>0?" "+s:s);continue}x=!1}let k=Jt(m).join(":"),P=y?k+Ye:k,B=P+h;if(o.includes(B))continue;o.push(B);let H=a(h,x);for(let M=0;M<H.length;++M){let _=H[M];o.push(P+_)}s=c+(s.length>0?" "+s:s)}return s};function Yt(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Xe(t))&&(n&&(n+=" "),n+=r);return n}var Xe=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=Xe(e[n]))&&(r&&(r+=" "),r+=t);return r};function Xt(e,...t){let r,n,a,o=i;function i(l){let c=t.reduce((m,y)=>y(m),e());return r=Vt(c),n=r.cache.get,a=r.cache.set,o=s,s(l)}function s(l){let c=n(l);if(c)return c;let m=qt(l,r);return a(l,m),m}return function(){return o(Yt.apply(null,arguments))}}var v=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Ze=/^\[(?:([a-z-]+):)?(.+)\]$/i,Zt=/^\d+\/\d+$/,Kt=new Set(["px","full","screen"]),$t=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,er=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(nt|h|i|nt|min|max))|\nt(calc|min|max|clamp)\(.+\)|^0$/,tr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,rr=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,or=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,L=e=>se(e)||Kt.has(e)||Zt.test(e),J=e=>ie(e,"length",pr),se=e=>!!e&&!Number.isNaN(Number(e)),Ae=e=>ie(e,"number",se),fe=e=>!!e&&Number.isInteger(Number(e)),nr=e=>e.endsWith("%")&&se(e.slice(0,-1)),p=e=>Ze.test(e),V=e=>$t.test(e),ar=new Set(["length","size","percentage"]),sr=e=>ie(e,ar,Ke),ir=e=>ie(e,"position",Ke),lr=new Set(["image","url"]),cr=e=>ie(e,lr,ur),dr=e=>ie(e,"",mr),be=()=>!0,ie=(e,t,r)=>{let n=Ze.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1},pr=e=>er.test(e)&&!tr.test(e),Ke=()=>!1,mr=e=>rr.test(e),ur=e=>or.test(e);var gr=()=>{let e=v("colors"),t=v("spacing"),r=v("blur"),n=v("brightness"),a=v("borderColor"),o=v("borderRadius"),i=v("borderSpacing"),s=v("borderWidth"),l=v("contrast"),c=v("grayscale"),m=v("hueRotate"),y=v("invert"),u=v("gap"),C=v("gradientColorStops"),x=v("gradientColorStopPositions"),h=v("inset"),k=v("margin"),P=v("opacity"),B=v("padding"),H=v("saturate"),M=v("scale"),_=v("sepia"),de=v("skew"),pe=v("space"),Y=v("translate"),S=()=>["auto","contain","none"],oe=()=>["auto","hidden","clip","visible","scroll"],ne=()=>["auto",p,t],f=()=>[p,t],G=()=>["",L,J],X=()=>["auto",se,p],me=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],z=()=>["solid","dashed","dotted","double","none"],U=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ue=()=>["start","end","center","between","around","evenly","stretch"],Z=()=>["","0",p],K=()=>["auto","avoid","all","avoid-page","page","left","right","column"],I=()=>[se,p];return{cacheSize:500,separator:":",theme:{colors:[be],spacing:[L,J],blur:["none","",V,p],brightness:I(),borderColor:[e],borderRadius:["none","","full",V,p],borderSpacing:f(),borderWidth:G(),contrast:I(),grayscale:Z(),hueRotate:I(),invert:Z(),gap:f(),gradientColorStops:[e],gradientColorStopPositions:[nr,J],inset:ne(),margin:ne(),opacity:I(),padding:f(),saturate:I(),scale:I(),sepia:Z(),skew:I(),space:f(),translate:f()},classGroups:{aspect:[{aspect:["auto","square","video",p]}],container:["container"],columns:[{columns:[V]}],"break-after":[{"break-after":K()}],"break-before":[{"break-before":K()}],"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:[...me(),p]}],overflow:[{overflow:oe()}],"overflow-x":[{"overflow-x":oe()}],"overflow-y":[{"overflow-y":oe()}],overscroll:[{overscroll:S()}],"overscroll-x":[{"overscroll-x":S()}],"overscroll-y":[{"overscroll-y":S()}],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",fe,p]}],basis:[{basis:ne()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",p]}],grow:[{grow:Z()}],shrink:[{shrink:Z()}],order:[{order:["first","last","none",fe,p]}],"grid-cols":[{"grid-cols":[be]}],"col-start-end":[{col:["auto",{span:["full",fe,p]},p]}],"col-start":[{"col-start":X()}],"col-end":[{"col-end":X()}],"grid-rows":[{"grid-rows":[be]}],"row-start-end":[{row:["auto",{span:[fe,p]},p]}],"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",p]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",p]}],gap:[{gap:[u]}],"gap-x":[{"gap-x":[u]}],"gap-y":[{"gap-y":[u]}],"justify-content":[{justify:["normal",...ue()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ue(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ue(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[B]}],px:[{px:[B]}],py:[{py:[B]}],ps:[{ps:[B]}],pe:[{pe:[B]}],pt:[{pt:[B]}],pr:[{pr:[B]}],pb:[{pb:[B]}],pl:[{pl:[B]}],m:[{m:[k]}],mx:[{mx:[k]}],my:[{my:[k]}],ms:[{ms:[k]}],me:[{me:[k]}],mt:[{mt:[k]}],mr:[{mr:[k]}],mb:[{mb:[k]}],ml:[{ml:[k]}],"space-x":[{"space-x":[pe]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[pe]}],"space-y-reverse":["space-y-reverse"],nt:[{nt:["auto","min","max","fit","svw","lvw","dvw",p,t]}],"min-nt":[{"min-nt":[p,t,"min","max","fit"]}],"max-nt":[{"max-nt":[p,t,"none","full","min","max","fit","prose",{screen:[V]},V]}],h:[{h:[p,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[p,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[p,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[p,t,"auto","min","max","fit"]}],"font-size":[{text:["base",V,J]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Ae]}],"font-family":[{font:[be]}],"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",p]}],"line-clamp":[{"line-clamp":["none",se,Ae]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",L,p]}],"list-image":[{"list-image":["none",p]}],"list-style-type":[{list:["none","disc","decimal",p]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[P]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[P]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...z(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",L,J]}],"underline-offset":[{"underline-offset":["auto",L,p]}],"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:f()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",p]}],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",p]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[P]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...me(),ir]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",sr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","nt","bl","l","tl"]},cr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[x]}],"gradient-via-pos":[{via:[x]}],"gradient-to-pos":[{to:[x]}],"gradient-from":[{from:[C]}],"gradient-via":[{via:[C]}],"gradient-to":[{to:[C]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-nt":[{"rounded-nt":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-nt":[{"rounded-nt":[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-nt":[{border:[s]}],"border-nt-x":[{"border-x":[s]}],"border-nt-y":[{"border-y":[s]}],"border-nt-s":[{"border-s":[s]}],"border-nt-e":[{"border-e":[s]}],"border-nt-t":[{"border-t":[s]}],"border-nt-r":[{"border-r":[s]}],"border-nt-nt":[{"border-nt":[s]}],"border-nt-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[P]}],"border-style":[{border:[...z(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[P]}],"divide-style":[{divide:z()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-nt":[{"border-nt":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...z()]}],"outline-offset":[{"outline-offset":[L,p]}],"outline-nt":[{outline:[L,J]}],"outline-color":[{outline:[e]}],"ring-nt":[{ring:G()}],"ring-nt-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[P]}],"ring-offset-nt":[{"ring-offset":[L,J]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",V,dr]}],"shadow-color":[{shadow:[be]}],opacity:[{opacity:[P]}],"mix-blend":[{"mix-blend":[...U(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":U()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",V,p]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[y]}],saturate:[{saturate:[H]}],sepia:[{sepia:[_]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[y]}],"backdrop-opacity":[{"backdrop-opacity":[P]}],"backdrop-saturate":[{"backdrop-saturate":[H]}],"backdrop-sepia":[{"backdrop-sepia":[_]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",p]}],duration:[{duration:I()}],ease:[{ease:["linear","in","out","in-out",p]}],delay:[{delay:I()}],animate:[{animate:["none","spin","ping","pulse","bounce",p]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[M]}],"scale-x":[{"scale-x":[M]}],"scale-y":[{"scale-y":[M]}],rotate:[{rotate:[fe,p]}],"translate-x":[{"translate-x":[Y]}],"translate-y":[{"translate-y":[Y]}],"skew-x":[{"skew-x":[de]}],"skew-y":[{"skew-y":[de]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",p]}],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","nt-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",p]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":f()}],"scroll-mx":[{"scroll-mx":f()}],"scroll-my":[{"scroll-my":f()}],"scroll-ms":[{"scroll-ms":f()}],"scroll-me":[{"scroll-me":f()}],"scroll-mt":[{"scroll-mt":f()}],"scroll-mr":[{"scroll-mr":f()}],"scroll-mb":[{"scroll-mb":f()}],"scroll-ml":[{"scroll-ml":f()}],"scroll-p":[{"scroll-p":f()}],"scroll-px":[{"scroll-px":f()}],"scroll-py":[{"scroll-py":f()}],"scroll-ps":[{"scroll-ps":f()}],"scroll-pe":[{"scroll-pe":f()}],"scroll-pt":[{"scroll-pt":f()}],"scroll-pr":[{"scroll-pr":f()}],"scroll-pb":[{"scroll-pb":f()}],"scroll-pl":[{"scroll-pl":f()}],"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",p]}],fill:[{fill:[e,"none"]}],"stroke-nt":[{stroke:[L,J,Ae]}],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:["nt","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-nt","rounded-l","rounded-ss","rounded-se","rounded-nt","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-nt"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-nt":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-nt":["border-nt-s","border-nt-e","border-nt-t","border-nt-r","border-nt-nt","border-nt-l"],"border-nt-x":["border-nt-r","border-nt-l"],"border-nt-y":["border-nt-t","border-nt-nt"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-nt","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-nt"],"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 $e=Xt(gr);function d(...e){return $e((0,et.clsx)(e))}function Se(e){let t=0,r=(o,i)=>`${o.toLowerCase().replace(/\s+/nt,"-").replace(/[^\nt-]/nt,"")}-${i}`,n=e.layout.flatMap(o=>{let i=[];return"title"in o&&o.title&&i.push({text:o.title,id:r(o.title,t++),tag:"h2"}),"columns"in o&&Array.isArray(o.columns)&&o.columns.forEach(s=>{var l,c,m,y,u;if(s.title&&i.push({text:s.title,id:r(s.title,t++),tag:"h2"}),(c=(l=s.richText)==null?void 0:l.root)!=null&&c.children&&((y=(m=s.richText)==null?void 0:m.root)==null?void 0:y.children.length)===1){let C=s.richText.root.children.filter(x=>x!==void 0&&x.type==="heading");for(let x of C)x.children[0]&&i.push({text:(u=x.children[0].text)!=null?u:"",id:r(x.children[0].text,t++),tag:x.tag||"h2"})}}),i}),a=fr(e.layout);return{tableOfContents:n,contentWithIds:a}}function fr(e){let t=(n,a)=>`${n.toLowerCase().replace(/\s+/nt,"-").replace(/[^\nt-]/nt,"")}-${a}`,r=0;return e.map(n=>(n.title&&(n.id=t(n.title,r++)),n.columns&&(n.columns=n.columns.map(a=>(a.title&&(a.id=t(a.title,r++)),a.richText&&(a.richText.root.children=a.richText.root.children.filter(o=>o!==void 0).filter(o=>o.children!==void 0&&o.children.length>0).map(o=>(o.type==="heading"&&o.children[0].text&&(o.id=t(o.children[0].text,r++)),o))),a))),n))}var tt=require("@radix-ui/react-slot"),rt=require("class-variance-authority"),ot=$(require("react")),nt=require("react/jsx-runtime"),br=(0,rt.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 nt-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"}}}),D=ot.forwardRef(({asChild:e=!1,className:t,size:r,variant:n,...a},o)=>(0,nt.jsx)(e?tt.Slot:"button",{className:d(br({className:t,size:r,variant:n})),ref:o,...a}));D.displayName="Button";var he="../../cortex-reply-dark-XPAJJJYY.png";var Bt=$(require("next/image"));var at=({className:e,content:t,style:r})=>(0,nt.jsx)("div",{className:d("mx-auto my-8 nt-full",e),children:(0,nt.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,nt.jsx)(E,{content:t,enableGutter:!1,enableProse:!1})})});var ke=require("prism-react-renderer");var st=require("lucide-react");function lt({code:e}){let[t,r]=(0,j.useState)("Copy");function n(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,nt.jsx)("div",{className:"flex justify-end align-middle",children:(0,nt.jsxs)(D,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),n()},children:[(0,nt.jsx)("p",{children:t}),(0,nt.jsx)("div",{className:"nt-6 h-6 dark:invert",children:(0,nt.jsx)(st.ClipboardCopy,{})})]})})}var ct=({code:e,language:t=""})=>e?(0,nt.jsx)(ke.Highlight,{code:e,language:t,theme:ke.themes.vsDark,children:({getLineProps:r,getTokenProps:n,tokens:a})=>(0,nt.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[a.map((o,i)=>(0,nt.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,nt.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,nt.jsx)("span",{className:"table-cell pl-4",children:o.map((s,l)=>(0,nt.jsx)("span",{...n({token:s})},l))})]},i)),(0,nt.jsx)(lt,{code:e})]})}):null;var dt=({className:e,code:t,language:r})=>(0,nt.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,nt.jsx)(ct,{code:t,language:r})});var mt=$(require("next/image")),yr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},pt="data:image/png;base64,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",ut=e=>{let{alt:t,fill:r,imgClassName:n,priority:a,resource:o,size:i,src:s,loading:l}=e,c,m,y=t,u=s||"";if(!u&&o&&typeof o=="object"){let{alt:h,filename:k,height:P,url:B,width:H}=o;c=H,m=P,y=h||"",u=B||pt}let C=l||"lazy",x=i||Object.entries(yr).map(([,h])=>`(max-width: ${h}px) ${h*2}nt`).join(", ");return(0,nt.jsx)("picture",{children:(0,nt.jsx)(mt.default,{alt:y||"",className:d(n),fill:r,height:r?void 0:m,placeholder:"blur",blurDataURL:pt,priority:C!=="lazy"&&a,quality:100,loading:C,sizes:x,src:u,width:r?void 0:c})})};var gt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var ft=()=>{if(gt){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 bt=e=>{let{onClick:t,resource:r,videoClassName:n}=e,a=(0,j.useRef)(null);if((0,j.useEffect)(()=>{let{current:o}=a;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,nt.jsx)("video",{autoPlay:!0,className:d(n),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:a,children:(0,nt.jsx)("source",{src:`${ft()}/media/${o}`})})}return null};var Pe=e=>{var i;let{className:t,htmlElement:r="div",resource:n}=e,a=typeof n=="object"&&((i=n==null?void 0:n.mimeType)==null?void 0:i.includes("video"));return(0,nt.jsx)(r||j.Fragment,{...r!==null?{className:t}:{},children:a?(0,nt.jsx)(bt,{...e}):(0,nt.jsx)(ut,{...e})})};var Q=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:a,staticImage:o}=e;return(0,nt.jsx)("div",{className:d("h-full",{container:r},t),children:(0,nt.jsx)(Pe,{imgClassName:d("rounded-[0.8rem] max-h-full",n),className:"h-full",resource:a,src:o})})};var yt=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:a,staticImage:o}=e;return(0,nt.jsx)("div",{className:d("",{container:r},t),children:(0,nt.jsx)(Pe,{imgClassName:d("rounded-[0.8rem]",n),resource:a,src:o})})};var De=({type:e="solid",iconName:t="cloud",size:r="lg",className:n})=>{let a=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,i=n!=null?n:"",s=a+o+" fa-"+r+" "+i;return(0,nt.jsx)("i",{className:s})};function vt(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function wt({variant:e="outline",className:t,icon:r,heading:n,subheading:a,content:o,statistic:i,buttonText:s,buttonHref:l}){return(0,nt.jsxs)("div",{className:d("rounded-3xl p-8 md:p-8 min-nt-56",{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"}[e],e==="outline"?"text-gray-900":"text-white",t),children:[(0,nt.jsx)("div",{className:"flex items-center gap-4 mb-6",children:(0,nt.jsx)(xr,{icon:r,heading:n,variant:e})}),e==="solid"&&i&&(0,nt.jsx)("div",{className:"mb-6",children:(0,nt.jsx)("div",{className:"text-4xl text-wrap font-bold leading-none overflow-hidden",children:i})}),a&&(0,nt.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:a}),o&&typeof o=="object"&&(0,nt.jsx)("div",{className:d("space-y-6","text-gray-300"),children:(0,nt.jsx)(E,{enableGutter:!1,content:o,enableProse:!1,className:d("prose prose-headings:text-white prose-p:text-gray-300")})}),o&&typeof o=="string"&&(0,nt.jsx)("div",{className:d("space-y-6","text-gray-300"),children:o}),s&&(0,nt.jsx)("div",{className:"mt-8",children:(0,nt.jsx)(D,{size:"lg",className:"text-white text-lg rounded-xl nt-full",asChild:!0,children:(0,nt.jsx)("a",{href:l,children:s})})}),e==="radial"&&(0,nt.jsx)("div",{className:"absolute bottom-0 right-0 nt-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 xr=({icon:e,heading:t,variant:r})=>e&&t.length<30?(0,nt.jsxs)("div",{className:"flex items-center gap-4 mb-6",children:[vt(e)&&(0,nt.jsx)("div",{className:d("rounded-full p-0",r==="outline"?"text-accent":"text-foreground"),children:(0,nt.jsx)(De,{type:e.type,iconName:e.iconName,size:"2x"})}),(0,nt.jsx)("div",{className:d("font-semibold",r==="outline"?"text-2xl text-primary":"text-3xl"),children:t})]}):e?(0,nt.jsxs)("div",{className:"flex flex-col gap-4",children:[vt(e)&&(0,nt.jsx)("div",{className:"text-accent h-12 nt-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,nt.jsx)(De,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,nt.jsx)("h3",{className:d("font-semibold group-hover:text-accent transition-colors duration-400",r==="outline"?"text-2xl text-primary":"text-3xl"),children:t})]}):(0,nt.jsx)("div",{className:"flex items-center gap-4 mb-6",children:(0,nt.jsx)("div",{className:d("font-semibold",r==="outline"?"text-2xl text-primary":"text-3xl"),children:t})});var le=({title:e,description:t,features:r,id:n})=>(0,nt.jsxs)("section",{className:d("container nt-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,nt.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,nt.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:t}),t&&typeof t=="object"&&(0,nt.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:(0,nt.jsx)(E,{content:t,enableGutter:!1})}),(0,nt.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((a,o)=>{var i,s,l,c,m;if(((i=a.settings)==null?void 0:i.card)==="default"||!((s=a.settings)!=null&&s.card))return(0,nt.jsx)(vr,{section:a,index:o},o);{let y=()=>{if(a.icon&&"type"in a.icon&&a.icon.type!=="none")return{type:a.icon.type,iconName:a.icon.icon}};return(0,nt.jsx)(wt,{variant:((l=a.settings)==null?void 0:l.card)||"outline",icon:y()||void 0,heading:a.title||"",content:a.content||void 0,statistic:a.statistic||void 0,buttonText:(c=a.link)!=null&&c.url?"Find out more":void 0,buttonHref:((m=a.link)==null?void 0:m.url)||void 0},o)}})})]}),vr=({section:e,index:t})=>{if(!e)return null;let r=(0,nt.jsxs)("div",{className:"flex flex-col gap-4",children:[e.icon&&(0,nt.jsx)("div",{className:"text-accent h-12 nt-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,nt.jsx)("i",{className:`${e.icon.type} fa-${e.icon.icon} fa-4x`})}),(0,nt.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:e.title}),e.statistic&&(0,nt.jsx)("div",{className:"mb-6",children:(0,nt.jsx)("div",{className:"text-4xl text-wrap font-bold leading-none overflow-hidden text-foreground",children:e.statistic})}),e.content&&typeof e.content!="object"&&(0,nt.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:e.content}}),e.content&&typeof e.content=="object"&&(0,nt.jsx)("div",{className:"text-lg opacity-80",children:(0,nt.jsx)(E,{content:e.content,enableGutter:!1})})]},t);return e.link?(0,nt.jsx)("a",{href:e.link.url?e.link.url:"#",className:"no-underline group",children:r},t):r};var Be=$(require("react"));var je=$(require("next/link")),te=e=>{let{type:t,appearance:r="inline",children:n,className:a,label:o,newTab:i,reference:s,size:l,url:c}=e,m=t==="reference"&&typeof(s==null?void 0:s.value)=="object"&&s.value.slug?`${(s==null?void 0:s.relationTo)!=="pages"?`/${s==null?void 0:s.relationTo}`:""}/${s.value.slug}`:c;if(!m)return null;let y=r==="link"?"clear":l,u=i?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,nt.jsxs)(je.default,{className:d(a),href:m||c||"",...u,children:[o&&o,n&&n]}):(0,nt.jsx)(D,{asChild:!0,className:a,size:y,variant:r,children:(0,nt.jsxs)(je.default,{className:d(a),href:m||c||"",...u,children:[o&&o,n&&n]})})};function xe({nodes:e}){return(0,nt.jsx)(Be.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,nt.jsx)(Be.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,nt.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,nt.jsx)("em",{children:o},r)),t.format&4&&(o=(0,nt.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,nt.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,nt.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,nt.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,nt.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,nt.jsx)("table",{children:(0,nt.jsx)("tbody",{children:t.children.map((o,i)=>(0,nt.jsx)("tr",{children:o.children.map((s,l)=>(0,nt.jsx)("td",{children:xe({nodes:s.children})},l))},i))})},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 i of o.children)"checked"in i&&(i!=null&&i.checked||(i.checked=!1));return xe({nodes:o.children})},a="children"in t?n(t):"";if(t.type==="block"){let o=t.fields,i=o==null?void 0:o.blockType;if(!o||!i)return null;switch(i){case"cta":return(0,nt.jsx)(ce,{...o},r);case"mediaBlock":return(0,nt.jsx)(Q,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-nt-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,nt.jsx)(yt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-nt-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,nt.jsx)(at,{className:"col-start-2 mb-4",...o},r);case"code":return(0,nt.jsx)(dt,{className:"col-start-2",...o},r);case"features":return(0,nt.jsx)(le,{...o},r);case"reusableContentBlock":xe({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,nt.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,nt.jsx)("p",{className:"col-start-2",children:a},r);case"heading":{let o=t==null?void 0:t.tag;return(0,nt.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:a},r)}case"list":{let o=t==null?void 0:t.tag;return(0,nt.jsx)(o,{className:"list col-start-2",children:a},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,nt.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:a},r):(0,nt.jsx)("li",{value:t==null?void 0:t.value,children:a},r);case"quote":return(0,nt.jsx)("blockquote",{className:"col-start-2",children:a},r);case"link":{let o=t.fields;return(0,nt.jsx)(te,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:a},r)}case"autolink":{let o=t.fields;return(0,nt.jsx)(te,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:a},r)}default:return null}})})}var E=({className:e,content:t,enableGutter:r=!0,enableProse:n=!0})=>{var a;return t?(0,nt.jsx)("div",{className:d({"container ":r,"max-nt-none":!r,"mx-auto prose dark:prose-invert ":n},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&xe({nodes:(a=t==null?void 0:t.root)==null?void 0:a.children})}):null};var ce=({links:e,richText:t})=>(0,nt.jsx)("div",{className:"container",children:(0,nt.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,nt.jsx)("div",{className:"max-nt-[48rem] flex items-center",children:t&&(0,nt.jsx)(E,{className:"mb-0",content:t,enableGutter:!1})}),(0,nt.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},n)=>(0,nt.jsx)(te,{size:"lg",...r},n))})]})});var Re=e=>{let{columns:t}=e,r={full:"12",half:"6",oneThird:"4",twoThirds:"8"};return(0,nt.jsx)("div",{className:"container my-6",children:(0,nt.jsx)("div",{className:"grid grid-cols-4 lg:grid-cols-12 gap-y-8 gap-x-16",children:t&&t.length>0&&t.map((n,a)=>{let{enableLink:o,link:i,richText:s,size:l}=n;return(0,nt.jsxs)("div",{className:d(`col-span-4 lg:col-span-${r[l]}`,{"md:col-span-2":l!=="full"}),children:[s&&(0,nt.jsx)(E,{content:s,enableGutter:!1}),o&&(0,nt.jsx)(te,{...i})]},a)})})})};var Nt=e=>{let{customId:t,reusableContent:r}=e;return typeof r=="object"&&r!==null?(0,nt.jsx)(wr,{blocks:r.layout}):(0,nt.jsx)(nt.Fragment,{})},Ct={content:Re,cta:ce,mediaBlock:Q,imageBlock:Q,features:le},wr=e=>{let{blocks:t}=e;return t&&Array.isArray(t)&&t.length>0?(0,nt.jsx)("section",{id:"render-blocks",children:t.map((n,a)=>{var s,l;let{blockType:o}=n,i=n==null?void 0:n.theme;if(o&&o in Ct){let c=Ct[o];if(c)return(0,nt.jsx)("div",{className:"py-6 relative",children:(0,nt.jsx)("div",{className:d(((s=i==null?void 0:i.settings)==null?void 0:s.theme)==="dark"?"dark":((l=i==null?void 0:i.settings)==null?void 0:l.theme)==="green"?"green":""),children:(0,nt.jsx)(c,{...n})})},a)}return null})}):null};var Pt={content:Re,cta:ce,mediaBlock:Q,imageBlock:Q,features:le,reusableContentBlock:Nt},Ue=e=>{let{blocks:t}=e;return t&&Array.isArray(t)&&t.length>0?(0,nt.jsx)("section",{id:"render-blocks",className:d(e.fill?"h-full nt-full":""),children:t.map((n,a)=>{var s,l;let{blockType:o}=n,i=n==null?void 0:n.theme;if(o&&o in Pt){let c=Pt[o];if(c)return(0,nt.jsxs)("div",{className:d("py-6 relative",e.fill&&"flex h-full items-center justify-center"),children:[(0,nt.jsx)(kr,{block:n,index:a}),(0,nt.jsx)("div",{className:d("container h-full",((s=i==null?void 0:i.settings)==null?void 0:s.theme)==="dark"?"dark":((l=i==null?void 0:i.settings)==null?void 0:l.theme)==="green"?"green":""),children:(0,nt.jsx)(c,{...n})})]},a)}return null})}):null},kr=e=>{var r;if(!("theme"in e.block))return null;let t=(r=e.block)==null?void 0:r.theme;if(t.settings.background==="image"){let n={imagePosition:t.settings.imagePosition||"left",overlay:t.settings.overlay!==void 0?t.settings.overlay:!0};return(0,nt.jsxs)("div",{className:d("absolute inset-0 nt-full h-full -z-10",t.settings.theme==="dark"?"dark bg-background":t.settings.theme==="green"?"green bg-background":""),children:[(0,nt.jsx)(Bt.default,{src:t.settings.image.url||"/placeholder.svg",alt:t.settings.image.alt,fill:!0,className:"object-cover",priority:!0}),t.settings.overlay&&(0,nt.jsx)("div",{className:"absolute inset-0",style:{background:n.imagePosition==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]})}return(0,nt.jsx)("div",{className:d("absolute inset-0 -z-10 nt-screen h-full",t.settings.theme==="dark"?"dark bg-background":t.settings.theme==="green"?"green bg-background":"")})};var Rt="../../hero-3-N2CBGEV6.jpg";var Le=$(require("next/image"));var Oe=({title:e})=>(0,nt.jsx)("header",{className:"absolute top-0 left-0 nt-full py-4 px-8 flex justify-between items-center transition-colors duration-300 dark bg-background text-foreground",children:(0,nt.jsx)("div",{className:"container",children:(0,nt.jsx)("span",{className:"container text-4xl px-6",children:e})})}),We=e=>{var n,a;let{title:t,hero:r}=e;return(0,nt.jsxs)("div",{className:"relative nt-full h-full flex flex-col justify-center min-h-[500px] p-10",children:[(0,nt.jsx)("div",{className:"absolute inset-0",children:(0,nt.jsx)(Le.default,{src:r.media?r.media.url:Rt,alt:"Background",width:r.media&&r.media.width&&(n=r.media.width)!=null?n:1920,height:r.media&&r.media.height&&(a=r.media.height)!=null?a:1080,style:{objectFit:"cover"},className:"opacity-80 h-full dark:opacity-60"})}),(0,nt.jsx)("div",{className:"absolute left-16 z-50 top-4 flex flex-col items-start gap-4",children:he&&(0,nt.jsx)("div",{className:"h-24",children:(0,nt.jsx)(Le.default,{src:he,alt:"Company logo",className:"h-full nt-full object-contain",width:192,height:96})})}),(0,nt.jsx)("div",{className:"absolute inset-0 bg-black/30 dark:bg-black/50"}),(0,nt.jsxs)("div",{className:"relative pl-24 z-10 max-nt-3xl",children:[(0,nt.jsx)("p",{className:"text-lg font-medium text-accent mb-2",children:t}),r.richText&&(0,nt.jsx)(E,{content:r.richText,enableGutter:!1,className:"prose-headings:text-white prose-p:text-white"})]})]})};var At=$(require("html2canvas")),_e=require("jspdf");function Nr(e){var t=document.createElement("div");t.style.display="block",t.style.height=e,document.body.appendChild(t);var r=parseFloat(window.getComputedStyle(t,null).height);return t.parentNode&&t.parentNode.removeChild(t),Math.floor(r)}var Pr=({page:e,layout:t="portrait"})=>t==="flow"?(0,nt.jsx)(Tt,{page:e,layout:t}):(0,nt.jsx)(It,{page:e,layout:t}),Tt=({page:e,layout:t="portrait"})=>{let{contentWithIds:r}=Se(e),n={id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},a=async()=>{o("printable-content")},o=async s=>{let l=document.getElementById(s);if(!l)throw new Error(`Element with id ${s} not found`);let c=document.createElement("canvas"),m=window.devicePixelRatio;c.width=Math.max(l.clientWidth||0)*m,c.height=Math.max(l.clientHeight||0)*m+100;let y=c.getContext("2d");if(!y)throw new Error("Failed to get 2D context");let u=y.drawImage,C=Array.from(l.getElementsByTagName("img")).reduce((Y,S)=>(Y[S.src]=S,Y),{});y.drawImage=function(...Y){let[S,oe,ne,f,G,X,me,z,U]=Y;if(S instanceof HTMLImageElement){let ue=C[S.src].style.objectFit||"fill",Z=C[S.src].style.objectPosition||"center center";G=S.height,f=S.width;let K=f/G,I=z/U,[ge,ae]=Z.split(" ");switch(ae||(ae=ge),ue){case"cover":if(K>I){let R=G*I,A=(f-R)/2;ge==="left"&&(A=0),ge==="right"&&(A=f-R),oe+=A,f=R}else{let R=f/I,A=(G-R)/2;ae==="top"&&(A=0),ae==="bottom"&&(A=G-R),ne+=A,G=R}break;case"contain":if(K>I){let R=z/K,A=(U-R)/2;ae==="top"&&(A=0),ae==="bottom"&&(A=U-R),me+=A,U=R}else{let R=U*K,A=(z-R)/2;ge==="left"&&(A=0),ge==="right"&&(A=z-R),X+=A,z=R}break;case"fill":break}}return u.call(y,S,oe,ne,f,G,X,me,z,U)};let x=document.getElementById(s);if(!x)throw new Error(`Element with id ${s} not found`);var h=c.width,k=c.height;let B=(await(0,At.default)(x,{canvas:c,windowHeight:k,windowWidth:h,scale:window.devicePixelRatio})).toDataURL("image/png"),M=new _e.jsPDF({}).getImageProperties(B),_=297,de=_*(M.height/M.width),pe=new _e.jsPDF({unit:"mm",format:[_,de]});pe.addImage(B,"PNG",0,0,_,de),pe.save("print.pdf")},i=[n,...r];return(0,nt.jsxs)("div",{className:"nt-[297mm]",children:[(0,nt.jsx)("div",{className:"fixed top-20 right-4 z-[1000] print:hidden",children:(0,nt.jsx)(D,{onClick:a,variant:"outline",className:"px-5 py-2 text-sm font-semibold",children:"Print to PDF"})}),(0,nt.jsxs)("div",{id:"printable-content",children:[i.map((s,l)=>(0,nt.jsx)(nt.Fragment,{children:l===0?(0,nt.jsx)("section",{className:"title-page nt-full h-full",children:(0,nt.jsx)(We,{hero:e.hero,title:e.title})},l):(0,nt.jsxs)("section",{className:"normal-page",children:[s.blockName&&(0,nt.jsx)(Oe,{title:s.blockName}),(0,nt.jsx)(Ue,{blocks:[s],fill:!0})]},l)})),(0,nt.jsx)("section",{className:"normal-page",children:(0,nt.jsxs)("div",{className:`nt-full py-2 px-8 flex justify-between items-center
5
+ dark bg-background text-primary`,children:[(0,nt.jsxs)("div",{className:"flex px-6 items-center space-x-2",children:[(0,nt.jsx)("img",{src:he.src,alt:"Cortex Reply Logo",className:"h-8"}),(0,nt.jsx)("span",{className:"pl-12 text-sm",children:"Power up your people"})]}),(0,nt.jsx)("a",{href:"https://cortexreply.com",className:"text-sm hover:underline",children:"cortexreply.com"})]})})]})]})},It=({page:e,layout:t="portrait"})=>{let{contentWithIds:r}=Se(e),n=(0,j.useRef)(null),a=(0,j.useRef)(null),o=(0,j.useRef)(new He.Previewer),[i,s]=(0,j.useState)(0),c=[{id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},...r],m=(0,j.useCallback)(()=>{n.current&&(n.current&&(n.current.innerHTML=""),o.current.preview(document.getElementById("printable-content").innerHTML,["./print.css",t==="landscape"?"./landscape.css":"./portrait.css"],n.current).then(u=>s(u.pageCount)).catch(u=>console.error("Paged.js error:",u)))},[]);return(0,j.useEffect)(()=>{o.current=new He.Previewer,m()},[m]),(0,nt.jsxs)("div",{className:"pagedjs-container",children:[(0,nt.jsx)("div",{className:"fixed top-20 right-4 z-[1000] print:hidden",children:(0,nt.jsx)(D,{onClick:async()=>{await new Promise(u=>setTimeout(u,300)),window.print()},variant:"outline",className:"px-5 py-2 text-sm font-semibold",children:"Print to PDF"})}),(0,nt.jsx)("div",{id:"printable-content",ref:a,style:{display:"block"},className:"pagedjs-content",children:c.map((u,C)=>{var x,h;return(0,nt.jsx)(nt.Fragment,{children:C===0?(0,nt.jsx)("section",{className:"pagedjs-section title-page nt-full h-full",children:(0,nt.jsx)(We,{hero:e.hero,title:e.title})},C):(0,nt.jsxs)("section",{className:d("pagedjs-section normal-page h-[699px]",`h-[${Nr("185mm")}px]`,((h=(x=u.theme)==null?void 0:x.settings)==null?void 0:h.theme)==="dark"?"dark":"light"),children:[u.blockName&&(0,nt.jsx)(Oe,{title:u.blockName}),(0,nt.jsx)(Ue,{blocks:[u],fill:!0})]},C)})})}),(0,nt.jsx)("div",{ref:n,className:"preview-container"})]})};0&&(module.exports={FlowPrintable,PagePrintable,Printable});