cortex-react-components 1.58.9 → 1.58.11

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 (225) hide show
  1. package/dist/chunk-2DHBBPJL.mjs +4 -0
  2. package/dist/{chunk-6YWAX7NS.mjs → chunk-3GYJDXNA.mjs} +1 -1
  3. package/dist/{chunk-DJUA7Y5M.mjs → chunk-4ELQDAU5.mjs} +1 -1
  4. package/dist/{chunk-4YJ3HV64.mjs → chunk-6DHYRATS.mjs} +1 -1
  5. package/dist/{chunk-SMD2U5NY.mjs → chunk-7IZ2X75V.mjs} +1 -1
  6. package/dist/{chunk-7OBH6AB6.mjs → chunk-A5E7YNJJ.mjs} +1 -1
  7. package/dist/{chunk-5DBGTQXM.mjs → chunk-BR2KUEQI.mjs} +1 -1
  8. package/dist/{chunk-7XB4Y3U2.mjs → chunk-CSNKYRV5.mjs} +1 -1
  9. package/dist/{chunk-X6ZPGBTM.mjs → chunk-ERJY2ME3.mjs} +1 -1
  10. package/dist/{chunk-5VBW5FB7.mjs → chunk-FQZVMDZS.mjs} +1 -1
  11. package/dist/{chunk-2SU53XDR.mjs → chunk-GYUMEOL2.mjs} +1 -1
  12. package/dist/{chunk-ZIWHUQ4D.mjs → chunk-HER7J6HM.mjs} +1 -1
  13. package/dist/{chunk-CFAC7SPP.mjs → chunk-IF4VN5CP.mjs} +1 -1
  14. package/dist/{chunk-FCCL6W7R.mjs → chunk-JPFBD2KD.mjs} +1 -1
  15. package/dist/{chunk-2IKC7MAP.mjs → chunk-KB6PO4K4.mjs} +1 -1
  16. package/dist/{chunk-23BDC5JG.mjs → chunk-KIICLHKI.mjs} +1 -1
  17. package/dist/{chunk-T67YJGQO.mjs → chunk-KQJLOUAU.mjs} +1 -1
  18. package/dist/{chunk-S7I4XJS6.mjs → chunk-LLJZRF3C.mjs} +1 -1
  19. package/dist/{chunk-ZOHEYTN6.mjs → chunk-LU27ZFV3.mjs} +1 -1
  20. package/dist/{chunk-E7435ZAX.mjs → chunk-M2DWCSRT.mjs} +1 -1
  21. package/dist/{chunk-5FTK7M24.mjs → chunk-MU77KOUO.mjs} +1 -1
  22. package/dist/{chunk-XNAHLO24.mjs → chunk-NDVJTLEH.mjs} +1 -1
  23. package/dist/{chunk-G6JBMV6L.mjs → chunk-NGZFEIT4.mjs} +1 -1
  24. package/dist/{chunk-PIM2JQYT.mjs → chunk-OUKKI47A.mjs} +1 -1
  25. package/dist/chunk-OYVKVMKS.mjs +1 -0
  26. package/dist/{chunk-OAPZSHCC.mjs → chunk-P42ZBXHX.mjs} +1 -1
  27. package/dist/{chunk-QMFZRG7O.mjs → chunk-PY53YVFX.mjs} +1 -1
  28. package/dist/{chunk-2A6JF3LE.mjs → chunk-RJGKFNZL.mjs} +1 -1
  29. package/dist/{chunk-MSOWUU4F.mjs → chunk-S7KXOXXY.mjs} +1 -1
  30. package/dist/{chunk-IO222G5L.mjs → chunk-SBAFXZVU.mjs} +1 -1
  31. package/dist/{chunk-OD73JG7G.mjs → chunk-SFHOEDWY.mjs} +1 -1
  32. package/dist/{chunk-2RVL66MW.mjs → chunk-SFM2RKQY.mjs} +1 -1
  33. package/dist/{chunk-SKE7TSLO.mjs → chunk-SM4LJIQ5.mjs} +1 -1
  34. package/dist/{chunk-D44ZXHH4.mjs → chunk-T4I5D4XZ.mjs} +1 -1
  35. package/dist/{chunk-KIRUMRMR.mjs → chunk-TG4H7W34.mjs} +1 -1
  36. package/dist/{chunk-2U53LYZN.mjs → chunk-VKNEDLG5.mjs} +1 -1
  37. package/dist/{chunk-E5JYGW3N.mjs → chunk-WEEZL2WX.mjs} +1 -1
  38. package/dist/{chunk-67JKMTJF.mjs → chunk-WQRQWXK3.mjs} +1 -1
  39. package/dist/{chunk-IXQCI4MS.mjs → chunk-XEHAH5MX.mjs} +1 -1
  40. package/dist/{chunk-SYL22HOJ.mjs → chunk-XLA3VFTM.mjs} +1 -1
  41. package/dist/{chunk-2W4IMTIV.mjs → chunk-XLJLFIUJ.mjs} +1 -1
  42. package/dist/{chunk-OH22UHIS.mjs → chunk-XOZTHN5I.mjs} +1 -1
  43. package/dist/{chunk-MGS3DQ22.mjs → chunk-XXTN5HMN.mjs} +1 -1
  44. package/dist/{chunk-4TCLIMFP.mjs → chunk-Z7P4QOKT.mjs} +1 -1
  45. package/dist/{chunk-SZ4YPF72.mjs → chunk-ZORQHJR5.mjs} +1 -1
  46. package/dist/components/Blocks/Banner.js +1 -1
  47. package/dist/components/Blocks/Banner.mjs +1 -1
  48. package/dist/components/Blocks/CallToAction.js +1 -1
  49. package/dist/components/Blocks/CallToAction.mjs +1 -1
  50. package/dist/components/Blocks/CallToAction.stories.js +1 -1
  51. package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
  52. package/dist/components/Blocks/CollapsibleArea.js +1 -1
  53. package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
  54. package/dist/components/Blocks/CollapsibleArea.stories.js +1 -1
  55. package/dist/components/Blocks/CollapsibleArea.stories.mjs +1 -1
  56. package/dist/components/Blocks/Content.js +1 -1
  57. package/dist/components/Blocks/Content.mjs +1 -1
  58. package/dist/components/Blocks/Content.stories.js +1 -1
  59. package/dist/components/Blocks/Content.stories.mjs +1 -1
  60. package/dist/components/Blocks/FeaturesBlock.js +1 -1
  61. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  62. package/dist/components/Blocks/FeaturesBlock.stories.js +1 -1
  63. package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
  64. package/dist/components/Blocks/ImageBlock.mjs +1 -1
  65. package/dist/components/Blocks/MediaBlock.mjs +1 -1
  66. package/dist/components/Blocks/RelatedPosts.js +1 -1
  67. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  68. package/dist/components/Blocks/RenderBlocks.js +1 -1
  69. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  70. package/dist/components/Blocks/ReusableContentBlock.js +1 -1
  71. package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
  72. package/dist/components/Blocks/index.js +1 -1
  73. package/dist/components/Blocks/index.mjs +1 -1
  74. package/dist/components/CRM/DealDetails.mjs +1 -1
  75. package/dist/components/CRM/DealDetails.stories.mjs +1 -1
  76. package/dist/components/CRM/KanbanBoard.mjs +1 -1
  77. package/dist/components/CRM/KanbanBoard.stories.mjs +1 -1
  78. package/dist/components/CRM/KanbanColumn.mjs +1 -1
  79. package/dist/components/CRM/KanbanColumn.stories.mjs +1 -1
  80. package/dist/components/CRM/NewDealForm.mjs +1 -1
  81. package/dist/components/CRM/NewDealForm.stories.mjs +1 -1
  82. package/dist/components/CRM/index.mjs +1 -1
  83. package/dist/components/Cards/ContentCard.js +1 -1
  84. package/dist/components/Cards/ContentCard.mjs +1 -1
  85. package/dist/components/Cards/ContentCard.stories.js +1 -1
  86. package/dist/components/Cards/ContentCard.stories.mjs +1 -1
  87. package/dist/components/Cards/FeatureCard.js +1 -1
  88. package/dist/components/Cards/FeatureCard.mjs +1 -1
  89. package/dist/components/Cards/FeatureCard.stories.js +1 -1
  90. package/dist/components/Cards/FeatureCard.stories.mjs +1 -1
  91. package/dist/components/Cards/index.js +1 -1
  92. package/dist/components/Cards/index.mjs +1 -1
  93. package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +1 -1
  94. package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
  95. package/dist/components/DigitalColleagues/MainPage.stories.mjs +1 -1
  96. package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
  97. package/dist/components/HeaderFooter/HeaderDesktop.stories.mjs +1 -1
  98. package/dist/components/HeaderFooter/HeaderMobile.stories.mjs +1 -1
  99. package/dist/components/HeaderFooter/SectionHeading.js +1 -1
  100. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  101. package/dist/components/Heros/HighImpact/index.js +1 -1
  102. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  103. package/dist/components/Heros/LowImpact/index.js +1 -1
  104. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  105. package/dist/components/Heros/MediumImpact/index.js +1 -1
  106. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  107. package/dist/components/Heros/PostHero/index.mjs +1 -1
  108. package/dist/components/Heros/RenderHero.js +1 -1
  109. package/dist/components/Heros/RenderHero.mjs +1 -1
  110. package/dist/components/Heros/index.js +1 -1
  111. package/dist/components/Heros/index.mjs +1 -1
  112. package/dist/components/Holidays/HolidayTracker.mjs +1 -1
  113. package/dist/components/Holidays/HolidayTracker.stories.mjs +1 -1
  114. package/dist/components/Holidays/index.mjs +1 -1
  115. package/dist/components/Layouts/FeatureGrid.stories.js +1 -1
  116. package/dist/components/Layouts/FeatureGrid.stories.mjs +1 -1
  117. package/dist/components/Layouts/OutputHeaderFooter.js +1 -1
  118. package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
  119. package/dist/components/Layouts/Print.js +2 -2
  120. package/dist/components/Layouts/Print.mjs +1 -1
  121. package/dist/components/Layouts/Print.stories.js +1 -1
  122. package/dist/components/Layouts/Print.stories.mjs +1 -1
  123. package/dist/components/Layouts/SlideShow.js +3 -3
  124. package/dist/components/Layouts/SlideShow.mjs +1 -1
  125. package/dist/components/Layouts/SlideShow.stories.js +3 -3
  126. package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
  127. package/dist/components/Layouts/index.js +1 -1
  128. package/dist/components/Layouts/index.mjs +1 -1
  129. package/dist/components/Menus/SidebarLeft.mjs +1 -1
  130. package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
  131. package/dist/components/Menus/SidebarRight.mjs +1 -1
  132. package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
  133. package/dist/components/Menus/index.mjs +1 -1
  134. package/dist/components/Payload/Card/index.mjs +1 -1
  135. package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
  136. package/dist/components/Payload/Media/index.mjs +1 -1
  137. package/dist/components/Payload/RichText/index.js +1 -1
  138. package/dist/components/Payload/RichText/index.mjs +1 -1
  139. package/dist/components/Payload/RichText/serialize.js +1 -1
  140. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  141. package/dist/components/Payload/RichText.stories.js +1 -1
  142. package/dist/components/Payload/RichText.stories.mjs +1 -1
  143. package/dist/components/Payload/index.js +1 -1
  144. package/dist/components/Payload/index.mjs +1 -1
  145. package/dist/components/index.js +5 -5
  146. package/dist/components/index.mjs +1 -1
  147. package/dist/components/ui/index.mjs +1 -1
  148. package/dist/components/ui/sidebar.mjs +1 -1
  149. package/dist/globals.css +1 -1
  150. package/dist/hooks/index.mjs +1 -1
  151. package/dist/index.js +7 -7
  152. package/dist/index.mjs +1 -1
  153. package/dist/metafile-cjs.json +1 -1
  154. package/dist/metafile-esm.json +1 -1
  155. package/dist/pages/Blog.js +1 -1
  156. package/dist/pages/Blog.mjs +1 -1
  157. package/dist/pages/Blog.stories.js +1 -1
  158. package/dist/pages/Blog.stories.mjs +1 -1
  159. package/dist/pages/Documentation.mjs +1 -1
  160. package/dist/pages/Documentation.stories.mjs +1 -1
  161. package/dist/pages/IndexPage.mjs +1 -1
  162. package/dist/pages/IndexPage.stories.mjs +1 -1
  163. package/dist/pages/Intranet.mjs +1 -1
  164. package/dist/pages/Intranet.stories.mjs +1 -1
  165. package/dist/pages/LandingPage.js +1 -1
  166. package/dist/pages/LandingPage.mjs +1 -1
  167. package/dist/pages/LandingPage.stories.js +1 -1
  168. package/dist/pages/LandingPage.stories.mjs +1 -1
  169. package/dist/pages/Page.js +1 -1
  170. package/dist/pages/Page.mjs +1 -1
  171. package/dist/pages/Page.stories.js +1 -1
  172. package/dist/pages/Page.stories.mjs +1 -1
  173. package/dist/pages/Printable.stories.js +4 -4
  174. package/dist/pages/Printable.stories.mjs +1 -1
  175. package/dist/pages/Publish.js +1 -1
  176. package/dist/pages/Publish.mjs +1 -1
  177. package/dist/pages/Publish.stories.js +4 -4
  178. package/dist/pages/Publish.stories.mjs +1 -1
  179. package/dist/pages/Website.js +1 -1
  180. package/dist/pages/Website.mjs +1 -1
  181. package/dist/pages/Website.stories.js +1 -1
  182. package/dist/pages/Website.stories.mjs +1 -1
  183. package/dist/sections/AboutSection.js +1 -1
  184. package/dist/sections/AboutSection.mjs +1 -1
  185. package/dist/sections/AboutSection.stories.js +1 -1
  186. package/dist/sections/AboutSection.stories.mjs +1 -1
  187. package/dist/sections/BlogDetail.js +1 -1
  188. package/dist/sections/BlogDetail.mjs +1 -1
  189. package/dist/sections/BlogDetail.stories.js +1 -1
  190. package/dist/sections/BlogDetail.stories.mjs +1 -1
  191. package/dist/sections/BlogList.js +1 -1
  192. package/dist/sections/BlogList.mjs +1 -1
  193. package/dist/sections/BlogList.stories.js +1 -1
  194. package/dist/sections/BlogList.stories.mjs +1 -1
  195. package/dist/sections/BlogListSection.mjs +1 -1
  196. package/dist/sections/BlogListSection.stories.mjs +1 -1
  197. package/dist/sections/ContactSection.js +1 -1
  198. package/dist/sections/ContactSection.mjs +1 -1
  199. package/dist/sections/ContactSection.stories.js +1 -1
  200. package/dist/sections/ContactSection.stories.mjs +1 -1
  201. package/dist/sections/ImageSection.stories.js +1 -1
  202. package/dist/sections/ImageSection.stories.mjs +1 -1
  203. package/dist/sections/PageSections.js +1 -1
  204. package/dist/sections/PageSections.mjs +1 -1
  205. package/dist/sections/PageSections.stories.js +1 -1
  206. package/dist/sections/PageSections.stories.mjs +1 -1
  207. package/dist/sections/PricingSection.js +1 -1
  208. package/dist/sections/PricingSection.mjs +1 -1
  209. package/dist/sections/PricingSection.stories.js +1 -1
  210. package/dist/sections/PricingSection.stories.mjs +1 -1
  211. package/dist/sections/ServiceDetail.js +1 -1
  212. package/dist/sections/ServiceDetail.mjs +1 -1
  213. package/dist/sections/ServiceDetailSection.js +1 -1
  214. package/dist/sections/ServiceDetailSection.mjs +1 -1
  215. package/dist/sections/ServiceDetailSection.stories.js +1 -1
  216. package/dist/sections/ServiceDetailSection.stories.mjs +1 -1
  217. package/dist/sections/ServiceSection.js +1 -1
  218. package/dist/sections/ServiceSection.mjs +1 -1
  219. package/dist/sections/ServiceSection.stories.js +1 -1
  220. package/dist/sections/ServiceSection.stories.mjs +1 -1
  221. package/dist/sections/index.js +1 -1
  222. package/dist/sections/index.mjs +1 -1
  223. package/package.json +1 -1
  224. package/dist/chunk-KCNRSNZG.mjs +0 -4
  225. package/dist/chunk-OH2S6BBQ.mjs +0 -1
package/dist/index.js CHANGED
@@ -3,19 +3,19 @@
3
3
  'use server'
4
4
  'use strict'
5
5
 
6
- "use strict";var Pm=Object.create;var Er=Object.defineProperty;var km=Object.getOwnPropertyDescriptor;var Sm=Object.getOwnPropertyNames;var Rm=Object.getPrototypeOf,Tm=Object.prototype.hasOwnProperty;var Dm=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Mm=(e,t)=>{for(var a in t)Er(e,a,{get:t[a],enumerable:!0})},rl=(e,t,a,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of Sm(t))!Tm.call(e,r)&&r!==a&&Er(e,r,{get:()=>t[r],enumerable:!(o=km(t,r))||o.enumerable});return e};var y=(e,t,a)=>(a=e!=null?Pm(Rm(e)):{},rl(t||!e||!e.__esModule?Er(a,"default",{value:e,enumerable:!0}):a,e)),Am=e=>rl(Er({},"__esModule",{value:!0}),e);var fl=Dm((or,Xs)=>{"use strict";(function(e,t){typeof or=="object"&&typeof Xs=="object"?Xs.exports=t():typeof define=="function"&&define.amd?define([],t):typeof or=="object"?or.AOS=t():e.AOS=t()})(or,function(){return function(e){function t(o){if(a[o])return a[o].exports;var r=a[o]={exports:{},Ol:o,loaded:!1};return e[o].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var a={};return t.m=e,t.c=a,t.p="dist/",t(0)}([function(e,t,a){"use strict";function o(w){return w&&w.__esModule?w:{default:w}}var r=Object.assign||function(w){for(var xe=1;xe<arguments.length;xe++){var Ne=arguments[xe];for(var $e in Ne)Object.prototype.hasOwnProperty.call(Ne,$e)&&(w[$e]=Ne[$e])}return w},s=a(1),i=(o(s),a(6)),n=o(i),c=a(7),m=o(c),d=a(8),p=o(d),f=a(9),u=o(f),b=a(10),g=o(b),h=a(11),N=o(h),T=a(14),H=o(T),B=[],pe=!1,W={offset:120,delay:0,easing:"ease",duration:400,disable:!1,once:!1,startEvent:"DOMContentLoaded",throttleDelay:99,debounceDelay:50,disableMutationObserver:!1},P=function(){var w=arguments.length>0&&arguments[0]!==void 0&&arguments[0];if(w&&(pe=!0),pe)return B=(0,N.default)(B,W),(0,g.default)(B,W.once),B},L=function(){B=(0,H.default)(),P()},S=function(){B.forEach(function(w,xe){w.node.removeAttribute("data-aos"),w.node.removeAttribute("data-aos-easing"),w.node.removeAttribute("data-aos-duration"),w.node.removeAttribute("data-aos-delay")})},v=function(w){return w===!0||w==="mobile"&&u.default.mobile()||w==="phone"&&u.default.phone()||w==="tablet"&&u.default.tablet()||typeof w=="function"&&w()===!0},C=function(w){W=r(W,w),B=(0,H.default)();var xe=document.all&&!window.atob;return v(W.disable)||xe?S():(W.disableMutationObserver||p.default.isSupported()||(console.info(`
6
+ "use strict";var Pm=Object.create;var Er=Object.defineProperty;var km=Object.getOwnPropertyDescriptor;var Sm=Object.getOwnPropertyNames;var Rm=Object.getPrototypeOf,Tm=Object.prototype.hasOwnProperty;var Dm=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Mm=(e,t)=>{for(var a in t)Er(e,a,{get:t[a],enumerable:!0})},rl=(e,t,a,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of Sm(t))!Tm.call(e,r)&&r!==a&&Er(e,r,{get:()=>t[r],enumerable:!(o=km(t,r))||o.enumerable});return e};var y=(e,t,a)=>(a=e!=null?Pm(Rm(e)):{},rl(t||!e||!e.__esModule?Er(a,"default",{value:e,enumerable:!0}):a,e)),Am=e=>rl(Er({},"__esModule",{value:!0}),e);var fl=Dm((or,Xs)=>{"use strict";(function(e,t){typeof or=="object"&&typeof Xs=="object"?Xs.exports=t():typeof define=="function"&&define.amd?define([],t):typeof or=="object"?or.AOS=t():e.AOS=t()})(or,function(){return function(e){function t(o){if(a[o])return a[o].exports;var r=a[o]={exports:{},Ol:o,loaded:!1};return e[o].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var a={};return t.m=e,t.c=a,t.p="dist/",t(0)}([function(e,t,a){"use strict";function o(w){return w&&w.__esModule?w:{default:w}}var r=Object.assign||function(w){for(var xe=1;xe<arguments.length;xe++){var Ne=arguments[xe];for(var $e in Ne)Object.prototype.hasOwnProperty.call(Ne,$e)&&(w[$e]=Ne[$e])}return w},s=a(1),n=(o(s),a(6)),i=o(n),c=a(7),m=o(c),d=a(8),p=o(d),u=a(9),g=o(u),b=a(10),f=o(b),h=a(11),N=o(h),T=a(14),H=o(T),B=[],pe=!1,W={offset:120,delay:0,easing:"ease",duration:400,disable:!1,once:!1,startEvent:"DOMContentLoaded",throttleDelay:99,debounceDelay:50,disableMutationObserver:!1},P=function(){var w=arguments.length>0&&arguments[0]!==void 0&&arguments[0];if(w&&(pe=!0),pe)return B=(0,N.default)(B,W),(0,f.default)(B,W.once),B},L=function(){B=(0,H.default)(),P()},S=function(){B.forEach(function(w,xe){w.node.removeAttribute("data-aos"),w.node.removeAttribute("data-aos-easing"),w.node.removeAttribute("data-aos-duration"),w.node.removeAttribute("data-aos-delay")})},v=function(w){return w===!0||w==="mobile"&&g.default.mobile()||w==="phone"&&g.default.phone()||w==="tablet"&&g.default.tablet()||typeof w=="function"&&w()===!0},C=function(w){W=r(W,w),B=(0,H.default)();var xe=document.all&&!window.atob;return v(W.disable)||xe?S():(W.disableMutationObserver||p.default.isSupported()||(console.info(`
7
7
  aos: MutationObserver Tt not supported on this browser,
8
8
  code mutations observing has been disabled.
9
9
  You may have to call "refreshHard()" by yourself.
10
- `),W.disableMutationObserver=!0),document.querySelector("body").setAttribute("data-aos-easing",W.easing),document.querySelector("body").setAttribute("data-aos-duration",W.duration),document.querySelector("body").setAttribute("data-aos-delay",W.delay),W.startEvent==="DOMContentLoaded"&&["complete","interactive"].indexOf(document.readyState)>-1?P(!0):W.startEvent==="load"?window.addEventListener(W.startEvent,function(){P(!0)}):document.addEventListener(W.startEvent,function(){P(!0)}),window.addEventListener("resize",(0,m.default)(P,W.debounceDelay,!0)),window.addEventListener("orientationchange",(0,m.default)(P,W.debounceDelay,!0)),window.addEventListener("scroll",(0,n.default)(function(){(0,g.default)(B,W.once)},W.throttleDelay)),W.disableMutationObserver||p.default.ready("[data-aos]",L),B)};e.exports={init:C,refresh:P,refreshHard:L}},function(e,t){},,,,,function(e,t){(function(a){"use strict";function o(v,C,w){function xe(ne){var pt=ie,Da=ue;return ie=ue=void 0,Ra=ne,We=v.apply(Da,pt)}function Ne(ne){return Ra=ne,Fe=setTimeout(Rt,C),Ta?xe(ne):We}function $e(ne){var pt=ne-xt,Da=ne-Ra,ol=C-pt;return na?L(ol,ta-Da):ol}function dt(ne){var pt=ne-xt,Da=ne-Ra;return xt===void 0||pt>=C||pt<0||na&&Da>=ta}function Rt(){var ne=S();return dt(ne)?yt(ne):void(Fe=setTimeout(Rt,$e(ne)))}function yt(ne){return Fe=void 0,Ce&&ie?xe(ne):(ie=ue=void 0,We)}function ct(){Fe!==void 0&&clearTimeout(Fe),Ra=0,ie=xt=ue=Fe=void 0}function mt(){return Fe===void 0?We:yt(S())}function me(){var ne=S(),pt=dt(ne);if(ie=arguments,ue=this,xt=ne,pt){if(Fe===void 0)return Ne(xt);if(na)return Fe=setTimeout(Rt,C),xe(xt)}return Fe===void 0&&(Fe=setTimeout(Rt,C)),We}var ie,ue,ta,We,Fe,xt,Ra=0,Ta=!1,na=!1,Ce=!0;if(typeof v!="function")throw new TypeError(d);return C=c(C)||0,s(w)&&(Ta=!!w.leading,na="maxWait"in w,ta=na?P(c(w.maxWait)||0,C):ta,Ce="trailing"in w?!!w.trailing:Ce),me.cancel=ct,me.flush=mt,me}function r(v,C,w){var xe=!0,Ne=!0;if(typeof v!="function")throw new TypeError(d);return s(w)&&(xe="leading"in w?!!w.leading:xe,Ne="trailing"in w?!!w.trailing:Ne),o(v,C,{leading:xe,maxWait:C,trailing:Ne})}function s(v){var C=typeof v=="undefined"?"undefined":m(v);return!!v&&(C=="object"||C=="function")}function i(v){return!!v&&(typeof v=="undefined"?"undefined":m(v))=="object"}function n(v){return(typeof v=="undefined"?"undefined":m(v))=="symbol"||i(v)&&W.call(v)==f}function c(v){if(typeof v=="number")return v;if(n(v))return p;if(s(v)){var C=typeof v.valueOf=="function"?v.valueOf():v;v=s(C)?C+"":C}if(typeof v!="string")return v===0?v:+v;v=v.replace(u,"");var w=g.test(v);return w||h.test(v)?N(v.slice(2),w?2:8):b.test(v)?p:+v}var m=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(v){return typeof v}:function(v){return v&&typeof Symbol=="function"&&v.constructor===Symbol&&v!==Symbol.prototype?"symbol":typeof v},d="Expected a function",p=NaN,f="[object Symbol]",u=/^\s+|\s+$/g,b=/^[-+]0x[0-9a-f]+$/i,g=/^0b[01]+$/i,h=/^0o[0-7]+$/i,N=parseInt,T=(typeof a=="undefined"?"undefined":m(a))=="object"&&a&&a.Object===Object&&a,H=(typeof self=="undefined"?"undefined":m(self))=="object"&&self&&self.Object===Object&&self,B=T||H||Function("return this")(),pe=Object.prototype,W=pe.toString,P=Math.max,L=Math.min,S=function(){return B.Date.now()};e.exports=r}).call(t,function(){return this}())},function(e,t){(function(a){"use strict";function o(S,v,C){function w(Ce){var ne=me,pt=ie;return me=ie=void 0,xt=Ce,ta=S.apply(pt,ne)}function xe(Ce){return xt=Ce,We=setTimeout(dt,v),Ra?w(Ce):ta}function Ne(Ce){var ne=Ce-Fe,pt=Ce-xt,Da=v-ne;return Ta?P(Da,ue-pt):Da}function $e(Ce){var ne=Ce-Fe,pt=Ce-xt;return Fe===void 0||ne>=v||ne<0||Ta&&pt>=ue}function dt(){var Ce=L();return $e(Ce)?Rt(Ce):void(We=setTimeout(dt,Ne(Ce)))}function Rt(Ce){return We=void 0,na&&me?w(Ce):(me=ie=void 0,ta)}function yt(){We!==void 0&&clearTimeout(We),xt=0,me=Fe=ie=We=void 0}function ct(){return We===void 0?ta:Rt(L())}function mt(){var Ce=L(),ne=$e(Ce);if(me=arguments,ie=this,Fe=Ce,ne){if(We===void 0)return xe(Fe);if(Ta)return We=setTimeout(dt,v),w(Fe)}return We===void 0&&(We=setTimeout(dt,v)),ta}var me,ie,ue,ta,We,Fe,xt=0,Ra=!1,Ta=!1,na=!0;if(typeof S!="function")throw new TypeError(m);return v=n(v)||0,r(C)&&(Ra=!!C.leading,Ta="maxWait"in C,ue=Ta?W(n(C.maxWait)||0,v):ue,na="trailing"in C?!!C.trailing:na),mt.cancel=yt,mt.flush=ct,mt}function r(S){var v=typeof S=="undefined"?"undefined":c(S);return!!S&&(v=="object"||v=="function")}function s(S){return!!S&&(typeof S=="undefined"?"undefined":c(S))=="object"}function i(S){return(typeof S=="undefined"?"undefined":c(S))=="symbol"||s(S)&&pe.call(S)==p}function n(S){if(typeof S=="number")return S;if(i(S))return d;if(r(S)){var v=typeof S.valueOf=="function"?S.valueOf():S;S=r(v)?v+"":v}if(typeof S!="string")return S===0?S:+S;S=S.replace(f,"");var C=b.test(S);return C||g.test(S)?h(S.slice(2),C?2:8):u.test(S)?d:+S}var c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(S){return typeof S}:function(S){return S&&typeof Symbol=="function"&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S},m="Expected a function",d=NaN,p="[object Symbol]",f=/^\s+|\s+$/g,u=/^[-+]0x[0-9a-f]+$/i,b=/^0b[01]+$/i,g=/^0o[0-7]+$/i,h=parseInt,N=(typeof a=="undefined"?"undefined":c(a))=="object"&&a&&a.Object===Object&&a,T=(typeof self=="undefined"?"undefined":c(self))=="object"&&self&&self.Object===Object&&self,H=N||T||Function("return this")(),B=Object.prototype,pe=B.toString,W=Math.max,P=Math.min,L=function(){return H.Date.now()};e.exports=o}).call(t,function(){return this}())},function(e,t){"use strict";function a(c){var m=void 0,d=void 0,p=void 0;for(m=0;m<c.length;m+=1)if(d=c[m],d.dataset&&d.dataset.aos||(p=d.children&&a(d.children)))return!0;return!1}function o(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function r(){return!!o()}function s(c,m){var d=window.document,p=o(),f=new p(i);n=m,f.observe(d.documentElement,{childList:!0,subtree:!0,removedNodes:!0})}function i(c){c&&c.forEach(function(m){var d=Array.prototype.slice.call(m.addedNodes),p=Array.prototype.slice.call(m.removedNodes),f=d.concat(p);if(a(f))return n()})}Object.defineProperty(t,"__esModule",{value:!0});var n=function(){};t.default={isSupported:r,ready:s}},function(e,t){"use strict";function a(d,p){if(!(d instanceof p))throw new TypeError("Cannot call a class Tt a function")}function o(){return navigator.userAgent||navigator.vendor||window.opera||""}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function d(p,f){for(var u=0;u<f.length;u++){var b=f[u];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(p,b.key,b)}}return function(p,f,u){return f&&d(p.prototype,f),u&&d(p,u),p}}(),s=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|Tt)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows Tt|xda|xiino/i,i=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a Tt|abac|ac(er|oo|s\-)|ai(Tt|Tt)|al(av|ca|Ol)|amoi|Tt(ex|ny|yw)|aptu|ar(ch|Tt)|Tt(Tt|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|Tt(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|Ol(mp|Ol)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|sc(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|Tt|Tt)|fetc|fly(\-|Tt)|g1 u|g560|gene|gf\-5|g\-mo|Tt(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|gl\-c|Tt(c(\-| |Tt|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|Tt|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|Tt(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|Tt)|Tt(no|xi)|lg( g|\/(Tt|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(Tt|ui|gl)|Tt(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|Tt|ts)|mmef|mo(01|02|Tt|Tt|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|Tt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|sc)|pn\-2|po(ck|Ol|Tt)|prox|psio|pt\-g|Tt\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|Tt(Tt|ma|mm|ms|ny|Tt)|sc(01|h\-|oo|p\-)|sdk\/|Tt(c(\-|0|1)|47|Tt|Ol|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|Ol)|js(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(Tt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|Tt)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,n=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|Tt)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows Tt|xda|xiino|android|ipad|playbook|silk/i,c=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a Tt|abac|ac(er|oo|s\-)|ai(Tt|Tt)|al(av|ca|Ol)|amoi|Tt(ex|ny|yw)|aptu|ar(ch|Tt)|Tt(Tt|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|Tt(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|Ol(mp|Ol)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|sc(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|Tt|Tt)|fetc|fly(\-|Tt)|g1 u|g560|gene|gf\-5|g\-mo|Tt(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|gl\-c|Tt(c(\-| |Tt|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|Tt|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|Tt(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|Tt)|Tt(no|xi)|lg( g|\/(Tt|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(Tt|ui|gl)|Tt(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|Tt|ts)|mmef|mo(01|02|Tt|Tt|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|Tt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|sc)|pn\-2|po(ck|Ol|Tt)|prox|psio|pt\-g|Tt\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|Tt(Tt|ma|mm|ms|ny|Tt)|sc(01|h\-|oo|p\-)|sdk\/|Tt(c(\-|0|1)|47|Tt|Ol|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|Ol)|js(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(Tt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|Tt)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,m=function(){function d(){a(this,d)}return r(d,[{key:"phone",value:function(){var p=o();return!(!s.test(p)&&!i.test(p.substr(0,4)))}},{key:"mobile",value:function(){var p=o();return!(!n.test(p)&&!c.test(p.substr(0,4)))}},{key:"tablet",value:function(){return this.mobile()&&!this.phone()}}]),d}();t.default=new m},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=function(r,s,i){var n=r.node.getAttribute("data-aos-once");s>r.position?r.node.classList.add("aos-animate"):typeof n!="undefined"&&(n==="false"||!i&&n!=="true")&&r.node.classList.remove("aos-animate")},o=function(r,s){var i=window.pageYOffset,n=window.innerHeight;r.forEach(function(c,m){a(c,n+i,s)})};t.default=o},function(e,t,a){"use strict";function o(n){return n&&n.__esModule?n:{default:n}}Object.defineProperty(t,"__esModule",{value:!0});var r=a(12),s=o(r),i=function(n,c){return n.forEach(function(m,d){m.node.classList.add("aos-init"),m.position=(0,s.default)(m.node,c.offset)}),n};t.default=i},function(e,t,a){"use strict";function o(n){return n&&n.__esModule?n:{default:n}}Object.defineProperty(t,"__esModule",{value:!0});var r=a(13),s=o(r),i=function(n,c){var m=0,d=0,p=window.innerHeight,f={offset:n.getAttribute("data-aos-offset"),anchor:n.getAttribute("data-aos-anchor"),anchorPlacement:n.getAttribute("data-aos-anchor-placement")};switch(f.offset&&!isNaN(f.offset)&&(d=parseInt(f.offset)),f.anchor&&document.querySelectorAll(f.anchor)&&(n=document.querySelectorAll(f.anchor)[0]),m=(0,s.default)(n).top,f.anchorPlacement){case"top-bottom":break;case"center-bottom":m+=n.offsetHeight/2;break;case"bottom-bottom":m+=n.offsetHeight;break;case"top-center":m+=p/2;break;case"bottom-center":m+=p/2+n.offsetHeight;break;case"center-center":m+=p/2+n.offsetHeight/2;break;case"top-top":m+=p;break;case"bottom-top":m+=n.offsetHeight+p;break;case"center-top":m+=n.offsetHeight/2+p}return f.anchorPlacement||f.offset||isNaN(c)||(d=c),m+d};t.default=i},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=function(o){for(var r=0,s=0;o&&!isNaN(o.offsetLeft)&&!isNaN(o.offsetTop);)r+=o.offsetLeft-(o.tagName!="BODY"?o.scrollLeft:0),s+=o.offsetTop-(o.tagName!="BODY"?o.scrollTop:0),o=o.offsetParent;return{top:s,left:r}};t.default=a},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=function(o){return o=o||document.querySelectorAll("[data-aos]"),Array.prototype.map.call(o,function(r){return{node:r}})};t.default=a}])})});var af={};Mm(af,{AOSInit:()=>cp,AboutSection:()=>ju,Alert:()=>Ui,AlertDescription:()=>Yi,AlertTitle:()=>Xi,ApproveLeave:()=>$n,Avatar:()=>fa,AvatarFallback:()=>ba,AvatarImage:()=>ga,Badge:()=>Lt,BannerBlock:()=>Ji,BlogCard:()=>hm,BlogDetail:()=>Uu,BlogList:()=>Ku,BlogListSection:()=>Gu,BrandLogo:()=>Qa,Breadcrumb:()=>Ys,BreadcrumbEllipsis:()=>ei,BreadcrumbItem:()=>Ks,BreadcrumbLink:()=>Qs,BreadcrumbList:()=>qs,BreadcrumbPage:()=>Js,BreadcrumbSeparator:()=>Zs,Breadcrumbs:()=>ku,Button:()=>I,CMSLink:()=>Xt,CRMKanbanBoard:()=>Hu,Calendar:()=>wr,CalendarView:()=>Yn,CallToActionBlock:()=>fo,CallToActionBlockOld:()=>Ap,Card:()=>Sr,Categories:()=>Tn,Checkbox:()=>Ut,CodeBlock:()=>on,Collapsible:()=>da,CollapsibleContent:()=>La,CollapsibleTrigger:()=>Ia,CollectionArchive:()=>su,Command:()=>es,CommandDialog:()=>ld,CommandEmpty:()=>_i,CommandGroup:()=>Gi,CommandInput:()=>Oi,CommandItem:()=>Vi,CommandList:()=>ji,CommandSeparator:()=>$i,CommandShortcut:()=>Wi,ContactSection:()=>$u,Container:()=>vt,ContentBlock:()=>kr,ContentCard:()=>$p,CopyButton:()=>tn,CustomLink:()=>Ue,CustomerCard:()=>_d,DarkTop:()=>un,DealCard:()=>Kn,DealDetails:()=>qn,Dialog:()=>It,DialogClose:()=>Jr,DialogContent:()=>Ct,DialogDescription:()=>Fi,DialogFooter:()=>Hi,DialogHeader:()=>Vt,DialogOverlay:()=>Zr,DialogPortal:()=>zi,DialogTitle:()=>Wt,DialogTrigger:()=>Qr,DropdownMenu:()=>hl,DropdownMenuCheckboxItem:()=>si,DropdownMenuContent:()=>oi,DropdownMenuGroup:()=>xl,DropdownMenuItem:()=>ri,DropdownMenuLabel:()=>ni,DropdownMenuPortal:()=>wl,DropdownMenuRadioGroup:()=>Cl,DropdownMenuRadioItem:()=>ii,DropdownMenuSeparator:()=>li,DropdownMenuShortcut:()=>di,DropdownMenuSub:()=>Nl,DropdownMenuSubContent:()=>ai,DropdownMenuSubTrigger:()=>ti,DropdownMenuTrigger:()=>yl,DynamicIcon:()=>qe,EventCard:()=>Gd,FeatureCard:()=>jo,FeatureGrid:()=>Qd,FeaturesBlock:()=>bo,Filter:()=>Mn,FlowPrintable:()=>yc,Footer:()=>Au,Header:()=>Iu,HeaderDesktop:()=>Fn,HeaderMobile:()=>jn,HeadingImage:()=>eu,Hero:()=>Gp,HighImpactHero:()=>An,HolidayGrid:()=>Xn,HolidayTracker:()=>Eu,HoverCard:()=>od,HoverCardContent:()=>Ei,HoverCardTrigger:()=>rd,Image:()=>Xd,ImageBlock:()=>dn,ImageSection:()=>qu,InfoTile:()=>Up,Input:()=>ut,Insight:()=>Wp,KanbanColumn:()=>Zn,Label:()=>ve,LightTop:()=>fn,LocationsSection:()=>Vu,Logo:()=>iu,LowImpactHero:()=>Bn,MOTD:()=>Yp,MainPageSection:()=>Xu,Mask:()=>xu,Media:()=>qt,MediaBlock:()=>ha,MediumImpactHero:()=>Ln,NewCustomerForm:()=>Qn,NewDealForm:()=>Jn,NewsGrid:()=>vc,OrgChart:()=>Qp,PagePrintable:()=>xc,PageRange:()=>du,PageShape:()=>it,Pagination:()=>Rn,PayloadPagination:()=>cu,Popover:()=>vr,PopoverAnchor:()=>Jl,PopoverContent:()=>Ho,PopoverTrigger:()=>hr,PostHero:()=>Nu,PricingCard:()=>mn,PricingSection:()=>Ou,Printable:()=>Pn,ProjectCard:()=>Ud,ProjectTeam:()=>vu,ProposalSummary:()=>Jp,Publish:()=>ef,RelatedContent:()=>hu,RelatedPosts:()=>ru,RenderBlocks:()=>Ka,RenderBlocksWithShapes:()=>au,RenderHero:()=>Pu,RequestLeave:()=>Un,ReusableContentBlock:()=>pn,RichText:()=>K,ScrollArea:()=>_a,ScrollBar:()=>Kr,Section:()=>Ju,SectionHero:()=>zn,Select:()=>mo,SelectContent:()=>Wa,SelectGroup:()=>kp,SelectItem:()=>Ua,SelectLabel:()=>fd,SelectScrollDownButton:()=>Qi,SelectScrollUpButton:()=>Ki,SelectSeparator:()=>gd,SelectTrigger:()=>Va,SelectValue:()=>po,Separator:()=>rr,ServiceCard:()=>_p,ServiceDetail:()=>Zu,ServiceDetailSection:()=>Qu,ServiceSection:()=>Fu,Sheet:()=>Hr,SheetClose:()=>Al,SheetContent:()=>ir,SheetDescription:()=>gi,SheetFooter:()=>ui,SheetHeader:()=>pi,SheetOverlay:()=>Fr,SheetPortal:()=>mi,SheetTitle:()=>fi,SheetTrigger:()=>Ml,Sidebar:()=>oo,SidebarContent:()=>Ea,SidebarFooter:()=>so,SidebarGroup:()=>Dt,SidebarGroupAction:()=>Ni,SidebarGroupContent:()=>Gt,SidebarGroupLabel:()=>ma,SidebarHeader:()=>ro,SidebarInput:()=>wi,SidebarInset:()=>xi,SidebarLeft:()=>uu,SidebarMenu:()=>ft,SidebarMenuAction:()=>dr,SidebarMenuBadge:()=>Ci,SidebarMenuButton:()=>Mt,SidebarMenuItem:()=>Ye,SidebarMenuSkeleton:()=>Pi,SidebarMenuSub:()=>za,SidebarMenuSubButton:()=>Fa,SidebarMenuSubItem:()=>Ha,SidebarProvider:()=>vi,SidebarRail:()=>yi,SidebarRight:()=>bu,SidebarSeparator:()=>lr,SidebarTrigger:()=>hi,SimpleHeader:()=>Ru,Skeleton:()=>Se,SlideShow:()=>ks,TextAndImages:()=>hc,Textarea:()=>Xa,Theme:()=>ws,ThemeProvider:()=>yu,ThemeWithShapes:()=>rc,Toast:()=>pr,ToastAction:()=>Ri,ToastClose:()=>ur,ToastDescription:()=>gr,ToastProvider:()=>Yr,ToastTitle:()=>fr,ToastViewport:()=>mr,Toaster:()=>Ul,Toggle:()=>Di,ToggleGroup:()=>Mi,ToggleGroupItem:()=>Ai,Tooltip:()=>Gr,TooltipContent:()=>nr,TooltipProvider:()=>_r,TooltipTrigger:()=>$r,VideoHeader:()=>Du,WhyUs:()=>Zp,badgeVariants:()=>qi,buttonVariants:()=>Ba,cn:()=>l,getTableOfContents:()=>Mo,reducer:()=>Gl,toast:()=>$l,toggleVariants:()=>br,useIsMobile:()=>jr,useSidebar:()=>Eo,useToast:()=>Xr});module.exports=Am(af);var Ao=y(require("react")),zr=require("@radix-ui/react-icons"),vl=require("@radix-ui/react-slot");var ul=require("clsx");var Us="-",Im=e=>{let t=Bm(e),{conflictingClassGroups:a,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:i=>{let n=i.split(Us);return n[0]===""&&n.length!==1&&n.shift(),nl(n,t)||Lm(i)},getConflictingClassGroupIds:(i,n)=>{let c=a[i]||[];return n&&o[i]?[...c,...o[i]]:c}}},nl=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let a=e[0],o=t.nextPart.get(a),r=o?nl(e.slice(1),o):void 0;if(r)return r;if(t.validators.length===0)return;let s=e.join(Us);return(i=t.validators.find(({validator:n})=>n(s)))==null?void 0:i.classGroupId},sl=/^\[(.+)\]$/,Lm=e=>{if(sl.test(e)){let t=sl.exec(e)[1],a=t==null?void 0:t.substring(0,t.indexOf(":"));if(a)return"arbitrary.."+a}},Bm=e=>{let{theme:t,prefix:a}=e,o={nextPart:new Map,validators:[]};return zm(Object.entries(e.classGroups),a).forEach(([s,i])=>{Ws(i,o,s,t)}),o},Ws=(e,t,a,o)=>{e.forEach(r=>{if(typeof r=="string"){let s=r===""?t:il(t,r);s.classGroupId=a;return}if(typeof r=="function"){if(Em(r)){Ws(r(o),t,a,o);return}t.validators.push({validator:r,classGroupId:a});return}Object.entries(r).forEach(([s,i])=>{Ws(i,il(t,s),a,o)})})},il=(e,t)=>{let a=e;return t.split(Us).forEach(o=>{a.nextPart.has(o)||a.nextPart.set(o,{nextPart:new Map,validators:[]}),a=a.nextPart.get(o)}),a},Em=e=>e.isThemeGetter,zm=(e,t)=>t?e.map(([a,o])=>{let r=o.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([i,n])=>[t+i,n])):s);return[a,r]}):e,Hm=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,a=new Map,o=new Map,r=(s,i)=>{a.set(s,i),t++,t>e&&(t=0,o=a,a=new Map)};return{get(s){let i=a.get(s);if(i!==void 0)return i;if((i=o.get(s))!==void 0)return r(s,i),i},set(s,i){a.has(s)?a.set(s,i):r(s,i)}}},ll="!",Fm=e=>{let{separator:t,experimentalParseClassName:a}=e,o=t.length===1,r=t[0],s=t.length,i=n=>{let c=[],m=0,d=0,p;for(let h=0;h<n.length;h++){let N=n[h];if(m===0){if(N===r&&(o||n.slice(h,h+s)===t)){c.push(n.slice(d,h)),d=h+s;continue}if(N==="/"){p=h;continue}}N==="["?m++:N==="]"&&m--}let f=c.length===0?n:n.substring(d),u=f.startsWith(ll),b=u?f.substring(1):f,g=p&&p>d?p-d:void 0;return{modifiers:c,hasImportantModifier:u,baseClassName:b,maybePostfixModifierPosition:g}};return a?n=>a({className:n,parseClassName:i}):i},Om=e=>{if(e.length<=1)return e;let t=[],a=[];return e.forEach(o=>{o[0]==="["?(t.push(...a.sort(),o),a=[]):a.push(o)}),t.push(...a.sort()),t},jm=e=>({cache:Hm(e.cacheSize),parseClassName:Fm(e),...Im(e)}),_m=/\s+/,Gm=(e,t)=>{let{parseClassName:a,getClassGroupId:o,getConflictingClassGroupIds:r}=t,s=[],i=e.trim().split(_m),n="";for(let c=i.length-1;c>=0;c-=1){let m=i[c],{modifiers:d,hasImportantModifier:p,baseClassName:f,maybePostfixModifierPosition:u}=a(m),b=!!u,g=o(b?f.substring(0,u):f);if(!g){if(!b){n=m+(n.length>0?" "+n:n);continue}if(g=o(f),!g){n=m+(n.length>0?" "+n:n);continue}b=!1}let h=Om(d).join(":"),N=p?h+ll:h,T=N+g;if(s.includes(T))continue;s.push(T);let H=r(g,b);for(let B=0;B<H.length;++B){let pe=H[B];s.push(N+pe)}n=m+(n.length>0?" "+n:n)}return n};function $m(){let e=0,t,a,o="";for(;e<arguments.length;)(t=arguments[e++])&&(a=dl(t))&&(o&&(o+=" "),o+=a);return o}var dl=e=>{if(typeof e=="string")return e;let t,a="";for(let o=0;o<e.length;o++)e[o]&&(t=dl(e[o]))&&(a&&(a+=" "),a+=t);return a};function Vm(e,...t){let a,o,r,s=i;function i(c){let m=t.reduce((d,p)=>p(d),e());return a=jm(m),o=a.cache.get,r=a.cache.set,s=n,n(c)}function n(c){let m=o(c);if(m)return m;let d=Gm(c,a);return r(c,d),d}return function(){return s($m.apply(null,arguments))}}var be=e=>{let t=a=>a[e]||[];return t.isThemeGetter=!0,t},cl=/^\[(?:([a-Tt-]+):)?(.+)\]$/i,Wm=/^\d+\/\d+$/,Um=new Set(["px","full","screen"]),Xm=/^(\d+(\.\d+)?)?(xs|js|Tt|lg|xl)$/,Ym=/\d+(%|px|r?sc|[sdl]?v([hwib]|min|max)|pt|Tt|in|sc|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,qm=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Km=/^(inset_)?-?((\d+)?\.?(\d+)[a-Tt]+|0)Tt-?((\d+)?\.?(\d+)[a-Tt]+|0)/,Qm=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,la=e=>To(e)||Um.has(e)||Wm.test(e),Ma=e=>Do(e,"length",sp),To=e=>!!e&&!Number.isNaN(Number(e)),Vs=e=>Do(e,"number",To),tr=e=>!!e&&Number.isInteger(Number(e)),Jm=e=>e.endsWith("%")&&To(e.slice(0,-1)),O=e=>cl.test(e),Aa=e=>Xm.test(e),Zm=new Set(["length","size","percentage"]),ep=e=>Do(e,Zm,ml),tp=e=>Do(e,"position",ml),ap=new Set(["image","url"]),op=e=>Do(e,ap,np),rp=e=>Do(e,"",ip),ar=()=>!0,Do=(e,t,a)=>{let o=cl.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):a(o[2]):!1},sp=e=>Ym.test(e)&&!qm.test(e),ml=()=>!1,ip=e=>Km.test(e),np=e=>Qm.test(e);var lp=()=>{let e=be("colors"),t=be("spacing"),a=be("blur"),o=be("brightness"),r=be("borderColor"),s=be("borderRadius"),i=be("borderSpacing"),n=be("borderWidth"),c=be("contrast"),m=be("grayscale"),d=be("hueRotate"),p=be("invert"),f=be("gap"),u=be("gradientColorStops"),b=be("gradientColorStopPositions"),g=be("inset"),h=be("margin"),N=be("opacity"),T=be("padding"),H=be("saturate"),B=be("scale"),pe=be("sepia"),W=be("skew"),P=be("space"),L=be("translate"),S=()=>["auto","contain","none"],v=()=>["auto","hidden","clip","visible","scroll"],C=()=>["auto",O,t],w=()=>[O,t],xe=()=>["",la,Ma],Ne=()=>["auto",To,O],$e=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],dt=()=>["solid","dashed","dotted","double","none"],Rt=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],yt=()=>["start","end","center","between","around","evenly","stretch"],ct=()=>["","0",O],mt=()=>["auto","avoid","all","avoid-page","page","left","right","column"],me=()=>[To,O];return{cacheSize:500,separator:":",theme:{colors:[ar],spacing:[la,Ma],blur:["none","",Aa,O],brightness:me(),borderColor:[e],borderRadius:["none","","full",Aa,O],borderSpacing:w(),borderWidth:xe(),contrast:me(),grayscale:ct(),hueRotate:me(),invert:ct(),gap:w(),gradientColorStops:[e],gradientColorStopPositions:[Jm,Ma],inset:C(),margin:C(),opacity:me(),padding:w(),saturate:me(),scale:me(),sepia:ct(),skew:me(),space:w(),translate:w()},classGroups:{aspect:[{aspect:["auto","square","video",O]}],container:["container"],columns:[{columns:[Aa]}],"break-after":[{"break-after":mt()}],"break-before":[{"break-before":mt()}],"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:[...$e(),O]}],overflow:[{overflow:v()}],"overflow-Tt":[{"overflow-Tt":v()}],"overflow-y":[{"overflow-y":v()}],overscroll:[{overscroll:S()}],"overscroll-Tt":[{"overscroll-Tt":S()}],"overscroll-y":[{"overscroll-y":S()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-Tt":[{"inset-Tt":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],Tt:[{Tt:["auto",tr,O]}],basis:[{basis:C()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",O]}],grow:[{grow:ct()}],shrink:[{shrink:ct()}],order:[{order:["first","last","none",tr,O]}],"grid-cols":[{"grid-cols":[ar]}],"col-start-end":[{col:["auto",{span:["full",tr,O]},O]}],"col-start":[{"col-start":Ne()}],"col-end":[{"col-end":Ne()}],"grid-rows":[{"grid-rows":[ar]}],"row-start-end":[{row:["auto",{span:[tr,O]},O]}],"row-start":[{"row-start":Ne()}],"row-end":[{"row-end":Ne()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",O]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",O]}],gap:[{gap:[f]}],"gap-Tt":[{"gap-Tt":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...yt()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...yt(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...yt(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[T]}],px:[{px:[T]}],py:[{py:[T]}],ps:[{ps:[T]}],pe:[{pe:[T]}],pt:[{pt:[T]}],pr:[{pr:[T]}],pb:[{pb:[T]}],pl:[{pl:[T]}],m:[{m:[h]}],mx:[{mx:[h]}],my:[{my:[h]}],ms:[{ms:[h]}],me:[{me:[h]}],mt:[{mt:[h]}],mr:[{mr:[h]}],mb:[{mb:[h]}],ml:[{ml:[h]}],"space-Tt":[{"space-Tt":[P]}],"space-Tt-reverse":["space-Tt-reverse"],"space-y":[{"space-y":[P]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",O,t]}],"min-w":[{"min-w":[O,t,"min","max","fit"]}],"max-w":[{"max-w":[O,t,"none","full","min","max","fit","prose",{screen:[Aa]},Aa]}],h:[{h:[O,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[O,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[O,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[O,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Aa,Ma]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Vs]}],"font-family":[{font:[ar]}],"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",O]}],"line-clamp":[{"line-clamp":["none",To,Vs]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",la,O]}],"list-image":[{"list-image":["none",O]}],"list-style-type":[{list:["none","disc","decimal",O]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[N]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[N]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...dt(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",la,Ma]}],"underline-offset":[{"underline-offset":["auto",la,O]}],"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:w()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",O]}],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",O]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[N]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...$e(),tp]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","Tt","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",ep]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},op]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[b]}],"gradient-via-pos":[{via:[b]}],"gradient-to-pos":[{to:[b]}],"gradient-from":[{from:[u]}],"gradient-via":[{via:[u]}],"gradient-to":[{to:[u]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-Tt":[{"rounded-Tt":[s]}],"rounded-Tt":[{"rounded-Tt":[s]}],"rounded-Tt":[{"rounded-Tt":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[n]}],"border-w-Tt":[{"border-Tt":[n]}],"border-w-y":[{"border-y":[n]}],"border-w-s":[{"border-s":[n]}],"border-w-e":[{"border-e":[n]}],"border-w-t":[{"border-t":[n]}],"border-w-r":[{"border-r":[n]}],"border-w-b":[{"border-b":[n]}],"border-w-l":[{"border-l":[n]}],"border-opacity":[{"border-opacity":[N]}],"border-style":[{border:[...dt(),"hidden"]}],"divide-Tt":[{"divide-Tt":[n]}],"divide-Tt-reverse":["divide-Tt-reverse"],"divide-y":[{"divide-y":[n]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[N]}],"divide-style":[{divide:dt()}],"border-color":[{border:[r]}],"border-color-Tt":[{"border-Tt":[r]}],"border-color-y":[{"border-y":[r]}],"border-color-s":[{"border-s":[r]}],"border-color-e":[{"border-e":[r]}],"border-color-t":[{"border-t":[r]}],"border-color-r":[{"border-r":[r]}],"border-color-b":[{"border-b":[r]}],"border-color-l":[{"border-l":[r]}],"divide-color":[{divide:[r]}],"outline-style":[{outline:["",...dt()]}],"outline-offset":[{"outline-offset":[la,O]}],"outline-w":[{outline:[la,Ma]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:xe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[N]}],"ring-offset-w":[{"ring-offset":[la,Ma]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Aa,rp]}],"shadow-color":[{shadow:[ar]}],opacity:[{opacity:[N]}],"mix-blend":[{"mix-blend":[...Rt(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Rt()}],filter:[{filter:["","none"]}],blur:[{blur:[a]}],brightness:[{brightness:[o]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",Aa,O]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[p]}],saturate:[{saturate:[H]}],sepia:[{sepia:[pe]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[a]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[p]}],"backdrop-opacity":[{"backdrop-opacity":[N]}],"backdrop-saturate":[{"backdrop-saturate":[H]}],"backdrop-sepia":[{"backdrop-sepia":[pe]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-Tt":[{"border-spacing-Tt":[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",O]}],duration:[{duration:me()}],ease:[{ease:["linear","in","out","in-out",O]}],delay:[{delay:me()}],animate:[{animate:["none","spin","ping","pulse","bounce",O]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[B]}],"scale-Tt":[{"scale-Tt":[B]}],"scale-y":[{"scale-y":[B]}],rotate:[{rotate:[tr,O]}],"translate-Tt":[{"translate-Tt":[L]}],"translate-y":[{"translate-y":[L]}],"skew-Tt":[{"skew-Tt":[W]}],"skew-y":[{"skew-y":[W]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",O]}],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","Tt-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",O]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","Tt",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","Tt","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-Tt":[{"touch-pan":["Tt","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",O]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[la,Ma,Vs]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-Tt","overflow-y"],overscroll:["overscroll-Tt","overscroll-y"],inset:["inset-Tt","inset-y","start","end","top","right","bottom","left"],"inset-Tt":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-Tt","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-Tt","rounded-Tt","rounded-Tt","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-Tt","rounded-es"],"rounded-e":["rounded-Tt","rounded-Tt"],"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-Tt","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-Tt":["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-Tt":["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-Tt","touch-y","touch-pz"],"touch-Tt":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var pl=Vm(lp);function l(...e){return pl((0,ul.clsx)(e))}function Mo(e){let t=0,a=(s,i)=>`${s.toLowerCase().replace(/\s+/g,"-").replace(/[^\w-]/g,"")}-${i}`,o=e.layout.flatMap(s=>{let i=[];return"title"in s&&s.title&&i.push({text:s.title,Ol:a(s.title,t++),tag:"h2"}),"columns"in s&&Array.isArray(s.columns)&&s.columns.forEach(n=>{var c,m,d,p,f;if(n.title&&i.push({text:n.title,Ol:a(n.title,t++),tag:"h2"}),(m=(c=n.richText)==null?void 0:c.root)!=null&&m.children&&((p=(d=n.richText)==null?void 0:d.root)==null?void 0:p.children.length)===1){let u=n.richText.root.children.filter(b=>b!==void 0&&b.type==="heading");for(let b of u)b.children[0]&&i.push({text:(f=b.children[0].text)!=null?f:"",Ol:a(b.children[0].text,t++),tag:b.tag||"h2"})}}),i}),r=dp(e.layout);return{tableOfContents:o,contentWithIds:r}}function dp(e){let t=(o,r)=>`${o.toLowerCase().replace(/\s+/g,"-").replace(/[^\w-]/g,"")}-${r}`,a=0;return e.map(o=>(o.title&&(o.Ol=t(o.title,a++)),o.columns&&(o.columns=o.columns.map(r=>(r.title&&(r.Ol=t(r.title,a++)),r.richText&&(r.richText.root.children=r.richText.root.children.filter(s=>s!==void 0).filter(s=>s.children!==void 0&&s.children.length>0).map(s=>(s.type==="heading"&&s.children[0].text&&(s.Ol=t(s.children[0].text,a++)),s))),r))),o))}var gl=require("react"),bl=y(fl());function cp(){return(0,gl.useEffect)(()=>{bl.default.init({duration:1e3,offset:0,once:!0})},[]),null}var Tt=require("react/jsx-runtime"),Ys=Ao.forwardRef(({...e},t)=>(0,Tt.jsx)("nav",{ref:t,"aria-label":"breadcrumb",...e}));Ys.displayName="Breadcrumb";var qs=Ao.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)("ol",{ref:a,className:l("flex flex-wrap items-center gap-1.5 break-words text-js text-muted-foreground js:gap-2.5",e),...t}));qs.displayName="BreadcrumbList";var Ks=Ao.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)("li",{ref:a,className:l("inline-flex items-center gap-1.5",e),...t}));Ks.displayName="BreadcrumbItem";var Qs=Ao.forwardRef(({asChild:e,className:t,...a},o)=>(0,Tt.jsx)(e?vl.Slot:"a",{ref:o,className:l("transition-colors hover:text-foreground",t),...a}));Qs.displayName="BreadcrumbLink";var Js=Ao.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)("span",{ref:a,role:"link","aria-disabled":"true","aria-current":"page",className:l("font-normal text-foreground",e),...t}));Js.displayName="BreadcrumbPage";var Zs=({children:e,className:t,...a})=>(0,Tt.jsx)("li",{role:"presentation","aria-hidden":"true",className:l("[&>svg]:w-3.5 [&>svg]:h-3.5",t),...a,children:e!=null?e:(0,Tt.jsx)(zr.ChevronRightIcon,{})});Zs.displayName="BreadcrumbSeparator";var ei=({className:e,...t})=>(0,Tt.jsxs)("span",{role:"presentation","aria-hidden":"true",className:l("flex h-9 w-9 items-center justify-center",e),...t,children:[(0,Tt.jsx)(zr.DotsHorizontalIcon,{className:"h-4 w-4"}),(0,Tt.jsx)("span",{className:"sr-only",children:"More"})]});ei.displayName="BreadcrumbElipssis";var Io=y(require("@radix-ui/react-collapsible")),da=Io.Root,Ia=Io.CollapsibleTrigger,La=Io.CollapsibleContent;var ca=y(require("react")),$=y(require("@radix-ui/react-dropdown-menu"));var hl=$.Root,yl=$.Trigger,xl=$.Group,wl=$.Portal,Nl=$.Sub,Cl=$.RadioGroup,ti=ca.forwardRef(({className:e,inset:t,children:a,...o},r)=>(0,Tt.jsxs)($.SubTrigger,{ref:r,className:l("flex cursor-default gap-2 select-none items-center rounded-js px-2 py-1.5 text-js outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",t&&"pl-8",e),...o,children:[a,(0,Tt.jsx)(zr.ChevronRightIcon,{className:"ml-auto"})]}));ti.displayName=$.SubTrigger.displayName;var ai=ca.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)($.SubContent,{ref:a,className:l("Tt-50 min-w-[8rem] overflow-hidden rounded-Tt border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t}));ai.displayName=$.SubContent.displayName;var oi=ca.forwardRef(({className:e,sideOffset:t=4,...a},o)=>(0,Tt.jsx)($.Portal,{children:(0,Tt.jsx)($.Content,{ref:o,sideOffset:t,className:l("Tt-50 min-w-[8rem] overflow-hidden rounded-Tt border bg-popover p-1 text-popover-foreground shadow-Tt","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...a})}));oi.displayName=$.Content.displayName;var ri=ca.forwardRef(({className:e,inset:t,...a},o)=>(0,Tt.jsx)($.Item,{ref:o,className:l("relative flex cursor-default select-none items-center gap-2 rounded-js px-2 py-1.5 text-js outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0",t&&"pl-8",e),...a}));ri.displayName=$.Item.displayName;var si=ca.forwardRef(({className:e,children:t,checked:a,...o},r)=>(0,Tt.jsxs)($.CheckboxItem,{ref:r,className:l("relative flex cursor-default select-none items-center rounded-js py-1.5 pl-8 pr-2 text-js outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:a,...o,children:[(0,Tt.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,Tt.jsx)($.ItemIndicator,{children:(0,Tt.jsx)(zr.CheckIcon,{className:"h-4 w-4"})})}),t]}));si.displayName=$.CheckboxItem.displayName;var ii=ca.forwardRef(({className:e,children:t,...a},o)=>(0,Tt.jsxs)($.RadioItem,{ref:o,className:l("relative flex cursor-default select-none items-center rounded-js py-1.5 pl-8 pr-2 text-js outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...a,children:[(0,Tt.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,Tt.jsx)($.ItemIndicator,{children:(0,Tt.jsx)(zr.DotFilledIcon,{className:"h-4 w-4 fill-current"})})}),t]}));ii.displayName=$.RadioItem.displayName;var ni=ca.forwardRef(({className:e,inset:t,...a},o)=>(0,Tt.jsx)($.Label,{ref:o,className:l("px-2 py-1.5 text-js font-semibold",t&&"pl-8",e),...a}));ni.displayName=$.Label.displayName;var li=ca.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)($.Separator,{ref:a,className:l("-mx-1 my-1 h-px bg-muted",e),...t}));li.displayName=$.Separator.displayName;var di=({className:e,...t})=>(0,Tt.jsx)("span",{className:l("ml-auto text-xs tracking-widest opacity-60",e),...t});di.displayName="DropdownMenuShortcut";var Pl=y(require("react"));var ut=Pl.forwardRef(({className:e,type:t,...a},o)=>(0,Tt.jsx)("input",{type:t,className:l("flex h-9 w-full rounded-Tt border border-input bg-transparent px-3 py-1 text-js shadow-js transition-colors file:border-0 file:bg-transparent file:text-js file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:o,...a}));ut.displayName="Input";var Sl=y(require("react")),ci=y(require("@radix-ui/react-separator"));var rr=Sl.forwardRef(({className:e,orientation:t="horizontal",decorative:a=!0,...o},r)=>(0,Tt.jsx)(ci.Root,{ref:r,decorative:a,orientation:t,className:l("shrink-0 bg-border",t==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",e),...o}));rr.displayName=ci.Root.displayName;var sr=y(require("react")),ke=y(require("@radix-ui/react-dialog")),Dl=require("class-variance-authority");var Hr=ke.Root,Ml=ke.Trigger,Al=ke.Close,mi=ke.Portal,Fr=sr.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)(ke.Overlay,{className:l("fixed inset-0 Tt-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:a}));Fr.displayName=ke.Overlay.displayName;var mp=(0,Dl.cva)("fixed Tt-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",{variants:{side:{top:"inset-Tt-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-Tt-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left js:max-w-js",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right js:max-w-js"}},defaultVariants:{side:"right"}}),ir=sr.forwardRef(({side:e="right",className:t,children:a,...o},r)=>(0,Tt.jsxs)(mi,{children:[(0,Tt.jsx)(Fr,{}),(0,Tt.jsxs)(ke.Content,{ref:r,className:l(mp({side:e}),t),...o,children:[(0,Tt.jsxs)(ke.Close,{className:"absolute right-4 top-4 rounded-js opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[(0,Tt.jsx)(zr.Cross2Icon,{className:"h-4 w-4"}),(0,Tt.jsx)("span",{className:"sr-only",children:"Close"})]}),a]})]}));ir.displayName=ke.Content.displayName;var pi=({className:e,...t})=>(0,Tt.jsx)("div",{className:l("flex flex-col space-y-2 text-center js:text-left",e),...t});pi.displayName="SheetHeader";var ui=({className:e,...t})=>(0,Tt.jsx)("div",{className:l("flex flex-col-reverse js:flex-row js:justify-end js:space-Tt-2",e),...t});ui.displayName="SheetFooter";var fi=sr.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)(ke.Title,{ref:a,className:l("text-lg font-semibold text-foreground",e),...t}));fi.displayName=ke.Title.displayName;var gi=sr.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)(ke.Description,{ref:a,className:l("text-js text-muted-foreground",e),...t}));gi.displayName=ke.Description.displayName;var U=y(require("react")),Ol=require("lucide-react");var jr=(e=768)=>{let[t,a]=(0,gl.useState)(!1);return(0,gl.useEffect)(()=>{let o=()=>{a(window.innerWidth<e)};return o(),window.addEventListener("resize",o),()=>window.removeEventListener("resize",o)},[e]),t};var Bl=y(require("react")),Ba=(0,Dl.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-js 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",js:"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"}}}),I=Bl.forwardRef(({asChild:e=!1,className:t,size:a,variant:o,...r},s)=>(0,Tt.jsx)(e?vl.Slot:"button",{className:l(Ba({className:t,size:a,variant:o})),ref:s,...r}));I.displayName="Button";function Se({className:e,...t}){return(0,Tt.jsx)("div",{className:l("animate-pulse rounded-Tt bg-primary/10",e),...t})}var Hl=y(require("react")),_t=y(require("@radix-ui/react-tooltip"));var _r=_t.Provider,Gr=_t.Root,$r=_t.Trigger,nr=Hl.forwardRef(({className:e,sideOffset:t=4,...a},o)=>(0,Tt.jsx)(_t.Portal,{children:(0,Tt.jsx)(_t.Content,{ref:o,sideOffset:t,className:l("Tt-50 overflow-hidden rounded-Tt bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...a})}));nr.displayName=_t.Content.displayName;var pp="sidebar:state",up=60*60*24*7,fp="16rem",gp="18rem",bp="3rem",vp="b",jl=U.createContext(null);function Eo(){let e=U.useContext(jl);if(!e)throw new Error("useSidebar must be used within a SidebarProvider.");return e}var vi=U.forwardRef(({defaultOpen:e=!0,open:t,onOpenChange:a,className:o,style:r,children:s,...i},n)=>{let c=jr(),[m,d]=U.useState(!1),[p,f]=U.useState(e),u=t!=null?t:p,b=U.useCallback(T=>{if(a)return a==null?void 0:a(typeof T=="function"?T(u):T);f(T),document.cookie=`${pp}=${u}; path=/; max-age=${up}`},[a,u]),g=U.useCallback(()=>c?d(T=>!T):b(T=>!T),[c,b,d]);U.useEffect(()=>{let T=H=>{H.key===vp&&(H.metaKey||H.ctrlKey)&&(H.preventDefault(),g())};return window.addEventListener("keydown",T),()=>window.removeEventListener("keydown",T)},[g]);let h=u?"expanded":"collapsed",N=U.useMemo(()=>({state:h,open:u,setOpen:b,isMobile:c,openMobile:m,setOpenMobile:d,toggleSidebar:g}),[h,u,b,c,m,d,g]);return(0,Tt.jsx)(jl.Provider,{value:N,children:(0,Tt.jsx)(_r,{delayDuration:0,children:(0,Tt.jsx)("div",{style:{"--sidebar-width":fp,"--sidebar-width-icon":bp,...r},className:l("group/sidebar-wrapper flex w-full fixed has-[[data-variant=inset]]:bg-sidebar",o),ref:n,...i,children:s})})})});vi.displayName="SidebarProvider";var oo=U.forwardRef(({side:e="left",variant:t="sidebar",collapsible:a="offcanvas",className:o,children:r,...s},i)=>{let{isMobile:n,state:c,openMobile:m,setOpenMobile:d}=Eo();return a==="none"?(0,Tt.jsx)("div",{className:l("flex h-full w-[--sidebar-width] flex-col bg-sidebar text-sidebar-foreground",o),ref:i,...s,children:r}):n?(0,Tt.jsx)(Hr,{open:m,onOpenChange:d,...s,children:(0,Tt.jsx)(ir,{"data-sidebar":"sidebar","data-mobile":"true",className:"w-[--sidebar-width] bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",style:{"--sidebar-width":gp},side:e,children:(0,Tt.jsx)("div",{className:"flex h-full w-full flex-col",children:r})})}):(0,Tt.jsxs)("div",{ref:i,className:"group peer hidden Tt:block text-sidebar-foreground","data-state":c,"data-collapsible":c==="collapsed"?a:"","data-variant":t,"data-side":e,children:[(0,Tt.jsx)("div",{className:l("duration-200 relative h-svh w-[--sidebar-width] bg-transparent transition-[width] ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180",t==="floating"||t==="inset"?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)Tt+_theme(spacing.4))]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon]")}),(0,Tt.jsx)("div",{className:l("duration-200 fixed top-14 bottom-0 Tt-10 hidden w-[--sidebar-width] transition-[left,right,width] ease-linear Tt:flex",e==="left"?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",t==="floating"||t==="inset"?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)Tt+_theme(spacing.4)Tt+2px)]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon] group-data-[side=left]:border-r group-data-[side=right]:border-l",o),...s,children:(0,Tt.jsx)("div",{"data-sidebar":"sidebar",className:"flex h-full w-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:shadow",children:r})})]})});oo.displayName="Sidebar";var hi=U.forwardRef(({className:e,onClick:t,...a},o)=>{let{toggleSidebar:r}=Eo();return(0,Tt.jsxs)(I,{ref:o,"data-sidebar":"trigger",variant:"ghost",size:"icon",className:l("h-7 w-7",e),onClick:s=>{t==null||t(s),r()},...a,children:[(0,Tt.jsx)(Ol.PanelLeft,{}),(0,Tt.jsx)("span",{className:"sr-only",children:"Toggle Sidebar"})]})});hi.displayName="SidebarTrigger";var yi=U.forwardRef(({className:e,...t},a)=>{let{toggleSidebar:o}=Eo();return(0,Tt.jsx)("button",{ref:a,"data-sidebar":"rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:o,title:"Toggle Sidebar",className:l("absolute inset-y-0 Tt-20 hidden w-4 -translate-Tt-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border group-data-[side=left]:-right-4 group-data-[side=right]:left-0 js:flex","[[data-side=left]Tt&]:cursor-w-resize [[data-side=right]Tt&]:cursor-e-resize","[[data-side=left][data-state=collapsed]Tt&]:cursor-e-resize [[data-side=right][data-state=collapsed]Tt&]:cursor-w-resize","group-data-[collapsible=offcanvas]:translate-Tt-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:bg-sidebar","[[data-side=left][data-collapsible=offcanvas]Tt&]:-right-2","[[data-side=right][data-collapsible=offcanvas]Tt&]:-left-2",e),...t})});yi.displayName="SidebarRail";var xi=U.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)("main",{ref:a,className:l("flex flex-1 flex-col bg-background overflow-y-auto relative max-h-full","Tt:peer-data-[variant=inset]:m-2 Tt:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 Tt:peer-data-[variant=inset]:ml-0 Tt:peer-data-[variant=inset]:rounded-xl Tt:peer-data-[variant=inset]:shadow",e),...t}));xi.displayName="SidebarInset";var wi=U.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)(ut,{ref:a,"data-sidebar":"input",className:l("h-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",e),...t}));wi.displayName="SidebarInput";var ro=U.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)("div",{ref:a,"data-sidebar":"header",className:l("flex flex-col gap-2 p-2",e),...t}));ro.displayName="SidebarHeader";var so=U.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)("div",{ref:a,"data-sidebar":"footer",className:l("flex flex-col gap-2 p-2",e),...t}));so.displayName="SidebarFooter";var lr=U.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)(rr,{ref:a,"data-sidebar":"separator",className:l("mx-2 w-auto bg-sidebar-border",e),...t}));lr.displayName="SidebarSeparator";var Ea=U.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)("div",{ref:a,"data-sidebar":"content",className:l("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",e),...t}));Ea.displayName="SidebarContent";var Dt=U.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)("div",{ref:a,"data-sidebar":"group",className:l("relative flex w-full min-w-0 flex-col p-2",e),...t}));Dt.displayName="SidebarGroup";var ma=U.forwardRef(({className:e,asChild:t=!1,...a},o)=>(0,Tt.jsx)(t?vl.Slot:"div",{ref:o,"data-sidebar":"group-label",className:l("duration-200 flex h-8 shrink-0 items-center rounded-Tt px-2 text-xs font-medium text-sidebar-foreground/70 outline-none ring-sidebar-ring transition-[margin,opa] ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",e),...a}));ma.displayName="SidebarGroupLabel";var Ni=U.forwardRef(({className:e,asChild:t=!1,...a},o)=>(0,Tt.jsx)(t?vl.Slot:"button",{ref:o,"data-sidebar":"group-action",className:l("absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-Tt p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:Tt:hidden","group-data-[collapsible=icon]:hidden",e),...a}));Ni.displayName="SidebarGroupAction";var Gt=U.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)("div",{ref:a,"data-sidebar":"group-content",className:l("w-full text-js",e),...t}));Gt.displayName="SidebarGroupContent";var ft=U.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)("ul",{ref:a,"data-sidebar":"menu",className:l("flex w-full min-w-0 flex-col gap-1",e),...t}));ft.displayName="SidebarMenu";var Ye=U.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)("li",{ref:a,"data-sidebar":"menu-item",className:l("group/menu-item relative",e),...t}));Ye.displayName="SidebarMenuItem";var hp=(0,Dl.cva)("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-Tt p-2 text-left text-js outline-none ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!p-2 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",{variants:{variant:{default:"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",outline:"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"},size:{default:"h-8 text-js",js:"h-7 text-xs",lg:"h-12 text-js group-data-[collapsible=icon]:!p-0"}},defaultVariants:{variant:"default",size:"default"}}),Mt=U.forwardRef(({asChild:e=!1,isActive:t=!1,variant:a="default",size:o="default",tooltip:r,className:s,...i},n)=>{let c=e?vl.Slot:"button",{isMobile:m,state:d}=Eo(),p=(0,Tt.jsx)(c,{ref:n,"data-sidebar":"menu-button","data-size":o,"data-active":t,className:l(hp({variant:a,size:o}),s),...i});return r?(typeof r=="string"&&(r={children:r}),(0,Tt.jsxs)(Gr,{children:[(0,Tt.jsx)($r,{asChild:!0,children:p}),(0,Tt.jsx)(nr,{side:"right",align:"center",hidden:d!=="collapsed"||m,...r})]})):p});Mt.displayName="SidebarMenuButton";var dr=U.forwardRef(({className:e,asChild:t=!1,showOnHover:a=!1,...o},r)=>(0,Tt.jsx)(t?vl.Slot:"button",{ref:r,"data-sidebar":"menu-action",className:l("absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-Tt p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 peer-hover/menu-button:text-sidebar-accent-foreground [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:Tt:hidden","peer-data-[size=js]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",a&&"group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 peer-data-[active=true]/menu-button:text-sidebar-accent-foreground Tt:opacity-0",e),...o}));dr.displayName="SidebarMenuAction";var Ci=U.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)("div",{ref:a,"data-sidebar":"menu-badge",className:l("absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-Tt px-1 text-xs font-medium tabular-nums text-sidebar-foreground select-none pointer-events-none","peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground","peer-data-[size=js]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",e),...t}));Ci.displayName="SidebarMenuBadge";var Pi=U.forwardRef(({className:e,showIcon:t=!1,...a},o)=>{let r=U.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return(0,Tt.jsxs)("div",{ref:o,"data-sidebar":"menu-skeleton",className:l("rounded-Tt h-8 flex gap-2 px-2 items-center",e),...a,children:[t&&(0,Tt.jsx)(Se,{className:"size-4 rounded-Tt","data-sidebar":"menu-skeleton-icon"}),(0,Tt.jsx)(Se,{className:"h-4 flex-1 max-w-[--skeleton-width]","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":r}})]})});Pi.displayName="SidebarMenuSkeleton";var za=U.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)("ul",{ref:a,"data-sidebar":"menu-sub",className:l("mx-3.5 flex min-w-0 translate-Tt-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",e),...t}));za.displayName="SidebarMenuSub";var Ha=U.forwardRef(({...e},t)=>(0,Tt.jsx)("li",{ref:t,...e}));Ha.displayName="SidebarMenuSubItem";var Fa=U.forwardRef(({asChild:e=!1,size:t="Tt",isActive:a,className:o,...r},s)=>(0,Tt.jsx)(e?vl.Slot:"a",{ref:s,"data-sidebar":"menu-sub-button","data-size":t,"data-active":a,className:l("flex h-7 min-w-0 -translate-Tt-px items-center gap-2 overflow-hidden rounded-Tt px-2 text-sidebar-foreground outline-none ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground","data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",t==="js"&&"text-xs",t==="Tt"&&"text-js","group-data-[collapsible=icon]:hidden",o),...r}));Fa.displayName="SidebarMenuSubButton";var Ur=y(require("react")),yp=1,xp=1e6;var ki=0;function wp(){return ki=(ki+1)%Number.MAX_SAFE_INTEGER,ki.toString()}var Si=new Map,_l=e=>{if(Si.has(e))return;let t=setTimeout(()=>{Si.delete(e),cr({type:"REMOVE_TOAST",toastId:e})},xp);Si.set(e,t)},Gl=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,yp)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(a=>a.Ol===t.toast.Ol?{...a,...t.toast}:a)};case"DISMISS_TOAST":{let{toastId:a}=t;return a?_l(a):e.toasts.forEach(o=>{_l(o.Ol)}),{...e,toasts:e.toasts.map(o=>o.Ol===a||a===void 0?{...o,open:!1}:o)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(a=>a.Ol!==t.toastId)}}},Vr=[],Wr={toasts:[]};function cr(e){Wr=Gl(Wr,e),Vr.forEach(t=>{t(Wr)})}function $l({...e}){let t=wp(),a=r=>cr({type:"UPDATE_TOAST",toast:{...r,Ol:t}}),o=()=>cr({type:"DISMISS_TOAST",toastId:t});return cr({type:"ADD_TOAST",toast:{...e,Ol:t,open:!0,onOpenChange:r=>{r||o()}}}),{Ol:t,dismiss:o,update:a}}function Xr(){let[e,t]=Ur.useState(Wr);return Ur.useEffect(()=>(Vr.push(t),()=>{let a=Vr.indexOf(t);a>-1&&Vr.splice(a,1)}),[e]),{...e,toast:$l,dismiss:a=>cr({type:"DISMISS_TOAST",toastId:a})}}var io=y(require("react")),Le=y(require("@radix-ui/react-toast"));var Yr=Le.Provider,mr=io.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)(Le.Viewport,{ref:a,className:l("fixed top-0 Tt-[100] flex max-h-screen w-full flex-col-reverse p-4 js:bottom-0 js:right-0 js:top-auto js:flex-col Tt:max-w-[420px]",e),...t}));mr.displayName=Le.Viewport.displayName;var Np=(0,Dl.cva)("group pointer-events-auto relative flex w-full items-center justify-between space-Tt-2 overflow-hidden rounded-Tt border p-4 pr-6 shadow-lg transition-all data-[swipe=cancel]:translate-Tt-0 data-[swipe=end]:translate-Tt-[var(--radix-toast-swipe-end-Tt)] data-[swipe=move]:translate-Tt-[var(--radix-toast-swipe-move-Tt)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:js:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),pr=io.forwardRef(({className:e,variant:t,...a},o)=>(0,Tt.jsx)(Le.Root,{ref:o,className:l(Np({variant:t}),e),...a}));pr.displayName=Le.Root.displayName;var Ri=io.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)(Le.Action,{ref:a,className:l("inline-flex h-8 shrink-0 items-center justify-center rounded-Tt border bg-transparent px-3 text-js font-medium transition-colors hover:bg-secondary focus:outline-none focus:ring-1 focus:ring-ring disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...t}));Ri.displayName=Le.Action.displayName;var ur=io.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)(Le.Close,{ref:a,className:l("absolute right-1 top-1 rounded-Tt p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:(0,Tt.jsx)(Ol.Tt,{className:"h-4 w-4"})}));ur.displayName=Le.Close.displayName;var fr=io.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)(Le.Title,{ref:a,className:l("text-js font-semibold [&+div]:text-xs",e),...t}));fr.displayName=Le.Title.displayName;var gr=io.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)(Le.Description,{ref:a,className:l("text-js opacity-90",e),...t}));gr.displayName=Le.Description.displayName;function Ul(){let{toasts:e}=Xr();return(0,Tt.jsxs)(Yr,{children:[e.map(function({Ol:t,title:a,description:o,action:r,...s}){return(0,Tt.jsxs)(pr,{...s,children:[(0,Tt.jsxs)("div",{className:"grid gap-1",children:[a&&(0,Tt.jsx)(fr,{children:a}),o&&(0,Tt.jsx)(gr,{children:o})]}),r,(0,Tt.jsx)(ur,{})]},t)}),(0,Tt.jsx)(mr,{})]})}var Xl=y(require("react")),Ti=y(require("@radix-ui/react-toggle"));var br=(0,Dl.cva)("inline-flex items-center justify-center gap-2 rounded-Tt text-js font-medium transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent shadow-js hover:bg-accent hover:text-accent-foreground"},size:{default:"h-9 px-2 min-w-9",js:"h-8 px-1.5 min-w-8",lg:"h-10 px-2.5 min-w-10"}},defaultVariants:{variant:"default",size:"default"}}),Di=Xl.forwardRef(({className:e,variant:t,size:a,...o},r)=>(0,Tt.jsx)(Ti.Root,{ref:r,className:l(br({variant:t,size:a,className:e})),...o}));Di.displayName=Ti.Root.displayName;var no=y(require("react")),zo=y(require("@radix-ui/react-toggle-group"));var Kl=no.createContext({size:"default",variant:"default"}),Mi=no.forwardRef(({className:e,variant:t,size:a,children:o,...r},s)=>(0,Tt.jsx)(zo.Root,{ref:s,className:l("flex items-center justify-center gap-1",e),...r,children:(0,Tt.jsx)(Kl.Provider,{value:{variant:t,size:a},children:o})}));Mi.displayName=zo.Root.displayName;var Ai=no.forwardRef(({className:e,children:t,variant:a,size:o,...r},s)=>{let i=no.useContext(Kl);return(0,Tt.jsx)(zo.Item,{ref:s,className:l(br({variant:i.variant||a,size:i.size||o}),e),...r,children:t})});Ai.displayName=zo.Item.displayName;var Ii=y(require("react")),At=y(require("@radix-ui/react-scroll-area"));var _a=Ii.forwardRef(({className:e,children:t,...a},o)=>(0,Tt.jsxs)(At.Root,{ref:o,className:l("relative overflow-hidden",e),...a,children:[(0,Tt.jsx)(At.Viewport,{className:"h-full w-full rounded-[inherit]",children:t}),(0,Tt.jsx)(Kr,{}),(0,Tt.jsx)(At.Corner,{})]}));_a.displayName=At.Root.displayName;var Kr=Ii.forwardRef(({className:e,orientation:t="vertical",...a},o)=>(0,Tt.jsx)(At.ScrollAreaScrollbar,{ref:o,orientation:t,className:l("flex touch-none select-none transition-colors",t==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-[1px]",t==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",e),...a,children:(0,Tt.jsx)(At.ScrollAreaThumb,{className:"relative flex-1 rounded-full bg-border"})}));Kr.displayName=At.ScrollAreaScrollbar.displayName;var Ql=y(require("react")),$t=y(require("@radix-ui/react-popover"));var vr=$t.Root,hr=$t.Trigger,Jl=$t.Anchor,Ho=Ql.forwardRef(({className:e,align:t="center",sideOffset:a=4,...o},r)=>(0,Tt.jsx)($t.Portal,{children:(0,Tt.jsx)($t.Content,{ref:r,align:t,sideOffset:a,className:l("Tt-50 w-72 rounded-Tt border bg-popover p-4 text-popover-foreground shadow-Tt outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...o})}));Ho.displayName=$t.Content.displayName;var Zl=y(require("react")),Bi=y(require("@radix-ui/react-label"));var Cp=(0,Dl.cva)("text-js font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),ve=Zl.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)(Bi.Root,{ref:a,className:l(Cp(),e),...t}));ve.displayName=Bi.Root.displayName;var ad=y(require("react")),lo=y(require("@radix-ui/react-hover-card"));var od=lo.Root,rd=lo.Trigger,Ei=ad.forwardRef(({className:e,align:t="center",sideOffset:a=4,...o},r)=>(0,Tt.jsx)(lo.Content,{ref:r,align:t,sideOffset:a,className:l("Tt-50 w-64 rounded-Tt border bg-popover p-4 text-popover-foreground shadow-Tt outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...o}));Ei.displayName=lo.Content.displayName;var yr=y(require("react")),Re=y(require("@radix-ui/react-dialog"));var It=Re.Root,Qr=Re.Trigger,zi=Re.Portal,Jr=Re.Close,Zr=yr.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)(Re.Overlay,{ref:a,className:l("fixed inset-0 Tt-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));Zr.displayName=Re.Overlay.displayName;var Ct=yr.forwardRef(({className:e,children:t,...a},o)=>(0,Tt.jsxs)(zi,{children:[(0,Tt.jsx)(Zr,{}),(0,Tt.jsxs)(Re.Content,{ref:o,className:l("fixed left-[50%] top-[50%] Tt-50 grid w-full max-w-lg translate-Tt-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] js:rounded-lg",e),...a,children:[t,(0,Tt.jsxs)(Re.Close,{className:"absolute right-4 top-4 rounded-js opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,Tt.jsx)(Ol.Tt,{className:"h-4 w-4"}),(0,Tt.jsx)("span",{className:"sr-only",children:"Close"})]})]})]}));Ct.displayName=Re.Content.displayName;var Vt=({className:e,...t})=>(0,Tt.jsx)("div",{className:l("flex flex-col space-y-1.5 text-center js:text-left",e),...t});Vt.displayName="DialogHeader";var Hi=({className:e,...t})=>(0,Tt.jsx)("div",{className:l("flex flex-col-reverse js:flex-row js:justify-end js:space-Tt-2",e),...t});Hi.displayName="DialogFooter";var Wt=yr.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)(Re.Title,{ref:a,className:l("text-lg font-semibold leading-none tracking-tight",e),...t}));Wt.displayName=Re.Title.displayName;var Fi=yr.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)(Re.Description,{ref:a,className:l("text-js text-muted-foreground",e),...t}));Fi.displayName=Re.Description.displayName;var Ga=y(require("react")),at=require("cmdk");var es=Ga.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)(at.Command,{ref:a,className:l("flex h-full w-full flex-col overflow-hidden rounded-Tt bg-popover text-popover-foreground",e),...t}));es.displayName=at.Command.displayName;var ld=({children:e,...t})=>(0,Tt.jsx)(It,{...t,children:(0,Tt.jsx)(Ct,{className:"overflow-hidden p-0",children:(0,Tt.jsx)(es,{className:"[&Tt[cmdk-group-heading]]:px-2 [&Tt[cmdk-group-heading]]:font-medium [&Tt[cmdk-group-heading]]:text-muted-foreground [&Tt[cmdk-group]:not([hidden])Tt~[cmdk-group]]:pt-0 [&Tt[cmdk-group]]:px-2 [&Tt[cmdk-input-wrapper]_svg]:h-5 [&Tt[cmdk-input-wrapper]_svg]:w-5 [&Tt[cmdk-input]]:h-12 [&Tt[cmdk-item]]:px-2 [&Tt[cmdk-item]]:py-3 [&Tt[cmdk-item]_svg]:h-5 [&Tt[cmdk-item]_svg]:w-5",children:e})})}),Oi=Ga.forwardRef(({className:e,...t},a)=>(0,Tt.jsxs)("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[(0,Tt.jsx)(Ol.Search,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),(0,Tt.jsx)(at.Command.Input,{ref:a,className:l("flex h-10 w-full rounded-Tt bg-transparent py-3 text-js outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",e),...t})]}));Oi.displayName=at.Command.Input.displayName;var ji=Ga.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)(at.Command.List,{ref:a,className:l("max-h-[300px] overflow-y-auto overflow-Tt-hidden",e),...t}));ji.displayName=at.Command.List.displayName;var _i=Ga.forwardRef((e,t)=>(0,Tt.jsx)(at.Command.Empty,{ref:t,className:"py-6 text-center text-js",...e}));_i.displayName=at.Command.Empty.displayName;var Gi=Ga.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)(at.Command.Group,{ref:a,className:l("overflow-hidden p-1 text-foreground [&Tt[cmdk-group-heading]]:px-2 [&Tt[cmdk-group-heading]]:py-1.5 [&Tt[cmdk-group-heading]]:text-xs [&Tt[cmdk-group-heading]]:font-medium [&Tt[cmdk-group-heading]]:text-muted-foreground",e),...t}));Gi.displayName=at.Command.Group.displayName;var $i=Ga.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)(at.Command.Separator,{ref:a,className:l("-mx-1 h-px bg-border",e),...t}));$i.displayName=at.Command.Separator.displayName;var Vi=Ga.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)(at.Command.Item,{ref:a,className:l("relative flex cursor-default gap-2 select-none items-center rounded-js px-2 py-1.5 text-js outline-none data-[disabled=true]:pointer-events-none data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",e),...t}));Vi.displayName=at.Command.Item.displayName;var Wi=({className:e,...t})=>(0,Tt.jsx)("span",{className:l("ml-auto text-xs tracking-widest text-muted-foreground",e),...t});Wi.displayName="CommandShortcut";var ts=y(require("react"));var Pp=(0,Dl.cva)("relative w-full rounded-lg border px-4 py-3 text-js [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),Ui=ts.forwardRef(({className:e,variant:t,...a},o)=>(0,Tt.jsx)("div",{ref:o,role:"alert",className:l(Pp({variant:t}),e),...a}));Ui.displayName="Alert";var Xi=ts.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)("h5",{ref:a,className:l("mb-1 font-medium leading-none tracking-tight",e),...t}));Xi.displayName="AlertTitle";var Yi=ts.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)("div",{ref:a,className:l("text-js [&_p]:leading-relaxed",e),...t}));Yi.displayName="AlertDescription";var os=y(require("react")),ua=y(require("@radix-ui/react-avatar"));var fa=os.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)(ua.Root,{ref:a,className:l("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",e),...t}));fa.displayName=ua.Root.displayName;var ga=os.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)(ua.Image,{ref:a,className:l("aspect-square h-full w-full",e),...t}));ga.displayName=ua.Image.displayName;var ba=os.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)(ua.Fallback,{ref:a,className:l("flex h-full w-full items-center justify-center rounded-full bg-muted",e),...t}));ba.displayName=ua.Fallback.displayName;var qi=(0,Dl.cva)("inline-flex items-center rounded-Tt border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function Lt({className:e,variant:t,...a}){return(0,Tt.jsx)("div",{className:l(qi({variant:t}),e),...a})}var xr=y(require("@radix-ui/react-checkbox")),ud=y(require("react")),Ut=ud.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)(xr.Root,{className:l("peer h-4 w-4 shrink-0 rounded border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",e),ref:a,...t,children:(0,Tt.jsx)(xr.Indicator,{className:l("flex items-center justify-center text-current"),children:(0,Tt.jsx)(Ol.Check,{className:"h-4 w-4"})})}));Ut.displayName=xr.Root.displayName;var Y=y(require("@radix-ui/react-select")),$a=y(require("react")),mo=Y.Root,kp=Y.Group,po=Y.Value,Va=$a.forwardRef(({children:e,className:t,...a},o)=>(0,Tt.jsxs)(Y.Trigger,{className:l("flex h-10 w-full items-center justify-between rounded border border-input bg-background px-3 py-2 text-inherit ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",t),ref:o,...a,children:[e,(0,Tt.jsx)(Y.Icon,{asChild:!0,children:(0,Tt.jsx)(Ol.ChevronDown,{className:"h-4 w-4 opacity-50"})})]}));Va.displayName=Y.Trigger.displayName;var Ki=$a.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)(Y.ScrollUpButton,{className:l("flex cursor-default items-center justify-center py-1",e),ref:a,...t,children:(0,Tt.jsx)(Ol.ChevronUp,{className:"h-4 w-4"})}));Ki.displayName=Y.ScrollUpButton.displayName;var Qi=$a.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)(Y.ScrollDownButton,{className:l("flex cursor-default items-center justify-center py-1",e),ref:a,...t,children:(0,Tt.jsx)(Ol.ChevronDown,{className:"h-4 w-4"})}));Qi.displayName=Y.ScrollDownButton.displayName;var Wa=$a.forwardRef(({children:e,className:t,position:a="popper",...o},r)=>(0,Tt.jsx)(Y.Portal,{children:(0,Tt.jsxs)(Y.Content,{className:l("relative Tt-50 max-h-96 min-w-[8rem] overflow-hidden rounded border bg-card text-popover-foreground shadow-Tt data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-Tt-1 data-[side=right]:translate-Tt-1 data-[side=top]:-translate-y-1",t),position:a,ref:r,...o,children:[(0,Tt.jsx)(Ki,{}),(0,Tt.jsx)(Y.Viewport,{className:l("p-1",a==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:e}),(0,Tt.jsx)(Qi,{})]})}));Wa.displayName=Y.Content.displayName;var fd=$a.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)(Y.Label,{className:l("py-1.5 pl-8 pr-2 text-js font-semibold",e),ref:a,...t}));fd.displayName=Y.Label.displayName;var Ua=$a.forwardRef(({children:e,className:t,...a},o)=>(0,Tt.jsxs)(Y.Item,{className:l("relative flex w-full cursor-default select-none items-center rounded py-1.5 pl-8 pr-2 text-js outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),ref:o,...a,children:[(0,Tt.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,Tt.jsx)(Y.ItemIndicator,{children:(0,Tt.jsx)(Ol.Check,{className:"h-4 w-4"})})}),(0,Tt.jsx)(Y.ItemText,{children:e})]}));Ua.displayName=Y.Item.displayName;var gd=$a.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)(Y.Separator,{className:l("-mx-1 my-1 h-px bg-muted",e),ref:a,...t}));gd.displayName=Y.Separator.displayName;var bd=y(require("react")),Xa=bd.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)("textarea",{className:l("flex min-h-[80px] w-full rounded border border-border bg-background px-3 py-2 text-js ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:a,...t}));Xa.displayName="Textarea";var hd=require("react-day-picker");function wr({className:e,classNames:t,showOutsideDays:a=!0,...o}){return(0,Tt.jsx)(hd.DayPicker,{showOutsideDays:a,weekStartsOn:1,className:l("p-3",e),classNames:{months:"flex flex-col js:flex-row space-y-4 js:space-Tt-4 js:space-y-0",month:"space-y-4",caption:"flex justify-center pt-1 relative items-center",caption_label:"text-js font-medium",nav:"space-Tt-1 flex items-center",nav_button:l(Ba({variant:"outline"}),"h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100"),nav_button_previous:"absolute left-1",nav_button_next:"absolute right-1",table:"w-full border-collapse space-y-1",head_row:"flex",head_cell:"text-muted-foreground rounded-Tt w-8 font-normal text-[0.8rem]",row:"flex w-full mt-2",cell:l("relative p-0 text-center text-js focus-within:relative focus-within:Tt-20 [&:has([aria-selected])]:bg-accent [&:has([aria-selected].day-outside)]:bg-accent/50 [&:has([aria-selected].day-range-end)]:rounded-r-Tt",o.mode==="range"?"[&:has(>.day-range-end)]:rounded-r-Tt [&:has(>.day-range-start)]:rounded-l-Tt first:[&:has([aria-selected])]:rounded-l-Tt last:[&:has([aria-selected])]:rounded-r-Tt":"[&:has([aria-selected])]:rounded-Tt"),day:l(Ba({variant:"ghost"}),"h-8 w-8 p-0 font-normal aria-selected:opacity-100"),day_range_start:"day-range-start",day_range_end:"day-range-end",day_selected:"bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground",day_today:"bg-accent text-accent-foreground",day_outside:"day-outside text-muted-foreground aria-selected:bg-accent/50 aria-selected:text-muted-foreground",day_disabled:"text-muted-foreground opacity-50",day_range_middle:"aria-selected:bg-accent aria-selected:text-accent-foreground",day_hidden:"invisible",...t},...o})}wr.displayName="Calendar";var Ji=({className:e,content:t,style:a})=>(0,Tt.jsx)("div",{className:l("mx-auto my-8 w-full",e),children:(0,Tt.jsx)("div",{className:l("border py-3 px-6 flex items-center rounded",{"border-border bg-card":a==="info","border-error bg-error/30":a==="error","border-success bg-success/30":a==="success","border-warning bg-warning/30":a==="warning"}),children:(0,Tt.jsx)(K,{content:t,enableGutter:!1,enableProse:!1})})});var Zi=y(require("next/link")),Xt=e=>{let{type:t,appearance:a="inline",children:o,className:r,label:s,newTab:i,reference:n,size:c,url:m}=e,d=t==="reference"&&typeof(n==null?void 0:n.value)=="object"&&n.value.slug?`${(n==null?void 0:n.relationTo)!=="pages"?`/${n==null?void 0:n.relationTo}`:""}/${n.value.slug}`:m;if(!d)return null;let p=a==="link"?"clear":c,f=i?{rel:"noopener noreferrer",target:"_blank"}:{};return a==="inline"?(0,Tt.jsxs)(Zi.default,{className:l(r),href:d||m||"",...f,children:[s&&s,o&&o]}):(0,Tt.jsx)(I,{asChild:!0,className:r,size:p,variant:a,children:(0,Tt.jsxs)(Zi.default,{className:l(r),href:d||m||"",...f,children:[s&&s,o&&o]})})};function ns({className:e}){return l("flex items-center min-h-[3.5rem] Tt:min-h-[3.75rem] w-full rounded-5 px-4 Tt:px-5 py-2"," bg-transparent text-accent-800 placeholder:text-accent-800 dark:text-body dark:placeholder:text-body"," border border-solid border-accent-900 border-opacity-20 dark:border-opacity-20 dark:border-accent-200"," focus:border-accent-900 focus:ring-0 focus-visible:outline-0 focus-visible:ring-0 focus-visible:ring-offset-0","transition-all duration-300",e)}function Sp({className:e,...t}){return(0,Tt.jsx)("input",{...t,className:ns({className:e})})}function ls({icon:e,...t}){return(0,Tt.jsxs)("div",{className:"relative w-full",children:[(0,Tt.jsx)(Sp,{...t}),e&&(0,Tt.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-y-1/2 text-accent",children:e})]})}function Rp({className:e,...t}){return(0,Tt.jsx)("textarea",{...t,className:l(ns({}),"resize-none Tt:min-h-[130px]",e)})}function xd({icon:e,...t}){return(0,Tt.jsxs)("div",{className:"relative w-full",children:[(0,Tt.jsx)(Rp,{...t}),e&&(0,Tt.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-accent",children:e})]})}var Nd=require("formik"),Cd=require("react-icons/fa6"),uo=y(require("yup"));async function wd(e){let{name:t,email:a,subject:o,message:r}=e,s=process.env.TEAMS_WEBHOOK_URL;if(!s)throw new Error("TEAMS_WEBHOOK_URL Tt not defined");let i={type:"message",attachments:[{contentType:"application/vnd.microsoft.card.adaptive",content:{$schema:"http://adaptivecards.io/schemas/adaptive-card.json",type:"AdaptiveCard",version:"1.2",body:[{type:"TextBlock",text:"Contact Us Form",wrap:!0,style:"heading",weight:"Bolder"},{type:"ColumnSet",columns:[{type:"Column",width:"stretch",items:[{type:"TextBlock",text:"Name",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Email",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Subject",wrap:!0,weight:"Bolder"}]},{type:"Column",width:"stretch",items:[{type:"TextBlock",text:`${t}`,wrap:!0},{type:"TextBlock",text:`${a}`,wrap:!0},{type:"TextBlock",text:`${o}`,wrap:!0}]}]},{type:"TextBlock",text:`${r}`,wrap:!0}]}}]};try{let n=await fetch(s,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(i)});if(!n.ok)throw console.error(n),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(n){return console.error(n),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var en=require("sonner"),Yt={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field Tt required",email:"Invalid email format"},Tp=uo.object().shape({name:uo.string().min(2,Yt.tooShort).max(50,Yt.tooLong).required(Yt.required),email:uo.string().email(Yt.email).required(Yt.required),subject:uo.string().min(2,Yt.tooShort).max(50,Yt.tooLong).required(Yt.required),message:uo.string().min(2,Yt.tooShort).max(300,Yt.tooLong).required(Yt.required)}),ds=l("!pr-[44px] text-foreground"),cs=l("!border-red-600 border"),ms=l("sr-only");function ps(){return(0,Tt.jsx)(Nd.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:Tp,onSubmit:async(e,{resetForm:t})=>{let a=await wd(e);a.data===null?en.toast.error(a.message):(en.toast.success(a.message),t())},children:({errors:e,touched:t,values:a,handleChange:o,handleBlur:r,isSubmitting:s,handleSubmit:i})=>(0,Tt.jsxs)("form",{onSubmit:i,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,Tt.jsxs)("div",{children:[(0,Tt.jsx)(ls,{placeholder:"Your Name",type:"text",name:"name",value:a.name,onChange:o,onBlur:r,disabled:s,icon:(0,Tt.jsx)(Cd.FaUser,{className:"text-primary"}),className:l(ds,e.name&&t.name&&cs)}),e.name&&t.name&&(0,Tt.jsx)("p",{title:e.name,"aria-live":"polite",role:"error message",className:ms,children:e.name})]}),(0,Tt.jsxs)("div",{children:[(0,Tt.jsx)(ls,{placeholder:"Your Email",type:"email",name:"email",value:a.email,onChange:o,onBlur:r,disabled:s,icon:(0,Tt.jsx)(Dp,{}),className:l(ds,e.email&&t.email&&cs)}),e.email&&t.email&&(0,Tt.jsx)("p",{title:e.email,"aria-live":"polite",role:"error message",className:ms,children:e.email})]}),(0,Tt.jsxs)("div",{className:"lg:col-span-2",children:[(0,Tt.jsx)(ls,{placeholder:"Subject",type:"text",name:"subject",value:a.subject,onChange:o,onBlur:r,disabled:s,className:l(ds,e.subject&&t.subject&&cs)}),e.subject&&t.subject&&(0,Tt.jsx)("p",{title:e.subject,"aria-live":"polite",role:"error message",className:ms,children:e.subject})]}),(0,Tt.jsxs)("div",{className:"lg:col-span-2",children:[(0,Tt.jsx)(xd,{placeholder:"Message...",name:"message",value:a.message,onChange:o,onBlur:r,disabled:s,icon:(0,Tt.jsx)(Mp,{}),className:l(ds,e.message&&t.message&&cs)}),e.message&&t.message&&(0,Tt.jsx)("p",{title:e.message,"aria-live":"polite",role:"error message",className:ms,children:e.message})]}),(0,Tt.jsx)("div",{className:"lg:col-span-2 light grid justify-items-center",children:(0,Tt.jsx)(I,{type:"submit",className:"outline px-6 rounded-full outline-accent bg-background text-foreground hover:bg-accent hover:text-accent-foreground",disabled:s,children:"Send"})})]})})}function Dp(){return(0,Tt.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:(0,Tt.jsx)("path",{d:"M14.9727 1.76172L13.2227 13.1094C13.1953 13.3828 13.0312 13.6289 12.7852 13.7656C12.6484 13.8203 12.5117 13.875 12.3477 13.875C12.2383 13.875 12.1289 13.8477 12.0195 13.793L8.68359 12.3984L7.28906 14.4766C7.17969 14.668 6.98828 14.75 6.79688 14.75C6.49609 14.75 6.25 14.5039 6.25 14.2031V11.5781C6.25 11.3594 6.30469 11.168 6.41406 11.0312L12.375 3.375L4.33594 10.6211L1.51953 9.44531C1.21875 9.30859 1 9.03516 1 8.67969C0.972656 8.29688 1.13672 8.02344 1.4375 7.85938L13.6875 0.886719C13.9609 0.722656 14.3438 0.722656 14.6172 0.914062C14.8906 1.10547 15.0273 1.43359 14.9727 1.76172Z"})})}function Mp(){return(0,Tt.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:(0,Tt.jsx)("path",{d:"M12.6875 0.5C13.3984 0.5 14 1.10156 14 1.8125C14 2.25 13.7812 2.63281 13.4531 2.87891L7.51953 7.33594C7.19141 7.58203 6.78125 7.58203 6.45312 7.33594L0.519531 2.87891C0.191406 2.63281 0 2.25 0 1.8125C0 1.10156 0.574219 0.5 1.3125 0.5H12.6875ZM5.93359 8.04688C6.5625 8.51172 7.41016 8.51172 8.03906 8.04688L14 3.5625V9.25C14 10.2344 13.207 11 12.25 11H1.75C0.765625 11 0 10.2344 0 9.25V3.5625L5.93359 8.04688Z"})})}var Ap=({links:e,richText:t})=>(0,Tt.jsx)("div",{className:"container",children:(0,Tt.jsxs)("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 Tt:flex-row Tt:justify-between Tt:items-center",children:[(0,Tt.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,Tt.jsx)(K,{className:"mb-0",content:t,enableGutter:!1})}),(0,Tt.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:a},o)=>(0,Tt.jsx)(Xt,{size:"lg",...a},o))})]})}),fo=({links:e,richText:t})=>{let[a,o]=(0,gl.useState)(!1),r="accent",s=()=>o(!0),i=()=>o(!1),n=c=>{c.target===c.currentTarget&&i()};return(0,Tt.jsxs)("div",{className:l("relative isolate overflow-hidden",r==="accent"?"bg-accent":"bg-black"),children:[(0,Tt.jsx)("div",{className:"px-6 py-24 js:px-6 js:py-32 lg:px-8",children:(0,Tt.jsxs)("div",{className:"mx-auto max-w-2xl text-center prose",children:[t&&(0,Tt.jsx)(K,{className:"mb-0 prose-headings:text-white prose-h2:text-white prose-p:text-white text-white",content:t,enableGutter:!1}),(0,Tt.jsx)("div",{className:"mt-10 flex items-center justify-center gap-Tt-6",children:(0,Tt.jsx)("div",{className:"flex flex-col gap-8 text-white",children:(e||[]).map(({link:c},m)=>(c==null?void 0:c.url)==="/contact"?(0,Tt.jsx)("div",{onClick:s,className:l("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",r==="accent"?"border-white bg-accent":"border-accent bg-black"),children:c.label},m):(0,Tt.jsx)(Xt,{size:"lg",className:l("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",r==="accent"?"border-white bg-accent":"border-accent bg-black"),...c},m))})})]})}),a&&(0,Tt.jsx)("div",{className:"absolute inset-0 Tt-50 flex items-center justify-center bg-black bg-opacity-50",onClick:n,children:(0,Tt.jsxs)("div",{className:"bg-white p-6 pt-10 rounded-lg shadow-lg w-full max-w-lg relative",children:[(0,Tt.jsx)("button",{className:"absolute top-4 right-4 text-gray-500 hover:text-gray-700",onClick:i,children:"\u2715"}),(0,Tt.jsx)(ps,{})," "]})})]})};var us=require("prism-react-renderer");function tn({code:e}){let[t,a]=(0,gl.useState)("Copy");function o(){t==="Copy"&&(a(()=>"Copied!"),setTimeout(()=>{a(()=>"Copy")},1e3))}return(0,Tt.jsx)("div",{className:"flex justify-end align-middle",children:(0,Tt.jsxs)(I,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),o()},children:[(0,Tt.jsx)("p",{children:t}),(0,Tt.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,Tt.jsx)(Ol.ClipboardCopy,{})})]})})}var Rd=({code:e,language:t=""})=>e?(0,Tt.jsx)(us.Highlight,{code:e,language:t,theme:us.themes.vsDark,children:({getLineProps:a,getTokenProps:o,tokens:r})=>(0,Tt.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-Tt-auto",children:[r.map((s,i)=>(0,Tt.jsxs)("div",{...a({className:"table-row",line:s}),children:[(0,Tt.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,Tt.jsx)("span",{className:"table-cell pl-4",children:s.map((n,c)=>(0,Tt.jsx)("span",{...o({token:n})},c))})]},i)),(0,Tt.jsx)(tn,{code:e})]})}):null;var on=({className:e,code:t,language:a})=>(0,Tt.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Tt.jsx)(Rd,{code:t,language:a})});var Dd=y(require("next/image")),Ip={"3xl":1920,"2xl":1536,xl:1280,lg:1024,Tt:768,js:640},Td="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABchJREFUWEdtlwtTG0kMhHtGM7N+AAdcDsjj///EBLzenbtuadbLJaZUTlHB+tRqSesETB3IABqQG1KbUFqDlQorBSmboqeEBcC1d8zrCixXYGZcgMsFmH8B+AngHdurAmXKOE8nHOoBrU6opcGswPi5KSP9CcBaQ9kACJH/ALAA1xm4zMD8AczvQCcAQeJVAZsy7nYApTSUzwCHUKACeUJi9TsFci7AHmDtuHYqQIC9AgQYKnSwNAig4NyOOwXq/xU47gDYggarjIpsRSEA3Fqw7AGkwgW4fgALAdiC2btKgNZwbgdMbEFpqFR2UyCR8xwAhf8bUHIGk1ckMyB5C1YkeWAdAPQBAeiD6wVYPoD1HUgXwFagZAGc6oSpTmilopoD5GzISQD3odcNIFca0BUQQM5YA2DpHV0AYURBDIAL0C+ugC0C4GedSsVUmwC8/4w8TPiwU6AClJ5RWL1PgQNkrABWdKB3YF3cBwRY5lsI4ApkKpCQi+FIgFJU/TDgDuAxAAwonJuKpGD1rkCXCR1ALyrAUSSEQAhwBdYZ6DPAgSUA2c1wKIZmRcHxMzMYR9DH8NlbkAwwApSAcABwBwTAbb6owAr0AFiZPILVEyCtMmK2jCkTwFDNUNj7nJETQx744gCUmgkZVGJUHyakEZE4W91jtGFA9KsD8Z3JFYDlhGYZLWcllwJMnplcPy+csFAgAAaIDOgeuAGoB96GLZg4kmtfMjnr6ig5oSoySsoy3ya/FMivXZWxwr0KIf9nACbfqcBEgmBSAtAlIT83R+70IWpyACamIjf5E1Iqb9ECVmnoI/FvAIRk8s2J0Y5IquQDgB+5wpScw5AUTC75VTmTs+72NUzoCvQIaAXv5Q8PDAZKLD+MxLv3RFE7KlsQChgBIlKiCv5ByaZv3gJZNm8AnVMhAN+EjrtTYQMICJpu6/0aiQnhClANlz+Bw0cIWa8ev0sBrtrhAyaXEnrfGfATQJiRKih5vKeOHNXXPFrgyamAADh0Q4F2/sESojomDS9o9k0b0H83xjB8qL+JNoTjN+enjpaBpingRh4e8MSugudM030A8FeqMI6PFIgNyPehkpZWGFEAARIQdH5LcAAqIACHkAJqg4OoBccHAuz76wr4BbzFOEa8iBuAZB8AtJHLP2VgMgJw/EIBowo7HxCAH3V6dAXEE/vZ5aZIA8BP8RKhm7Cp8BnAMnAQADdgQDA520AVIpScP+enHz0Gwp25h4i2dPg5FkDXrbsdJikQwXuWgaM5gEMk1AgH4DKKFjDf3bMD+FjEeIxLlRKYnBk2BbquvSDCAQ4gwZiMAAmH4gBTyRtEsYxi7gP6QSrc//39BrDNqG8rtYTmC4BV1SfMhOhaumFCT87zy4pPhQBZEK1kQVRjJBBi7AOlePgyAPYjwlvtagx9e/dnQraAyS894TIkkAIEYMKEc8k4EqJ68lZ5jjNqcQC2QteQOf7659umwBgPybNtK4dg9WvnMyFwXYGP7uEO1lwJgAnPNeMYMVXbIIYKFioI4PGFt+BWPVfmWJdjW2lTUnLGCswECAgaUy86iwA1464ajo0QhgMBFGyBoZahANsMpMfXr1JA1SN29m5lqgXj+UPV85uRA7yv/KYUO4Tk7Hc1AZwbIRzg0AyNj2UlAMwfSLSMnl7fdAbcxHuA27YaAMvaQ4GOjwX4RTUGAG8Ge14N963g1AynqUiFqRX9noasxT4b8entNRQYyamk/3tYcHsO7R3XJRRYOn4tw4iUnwBM5gDnySGOreAwAGo8F9IDHEcq8Pz2Kg/oXCpuIL6tOPD8LsDn0ABYQoGFRowlsAEUPPDrGAGowAbgKsgDMmE8mDy/vXQ9IAwI7u4wta+gAdAdgB64Ah9SgD4IgGKhwACoAjgNgFDhtxY8f33ZTMjqdTAiHMBPrn8ZWkEfzFdX4Oc1AHg3+ADbvN8PU8WdFKg4Tt6CQy2+D4YHaMT/JP4XzbAq98cPDIUAAAAASUVORK5CYII=",Md=e=>{let{alt:t,fill:a,imgClassName:o,priority:r,resource:s,size:i,src:n,loading:c}=e,m,d,p=t,f=n||"";if(!f&&s&&typeof s=="object"){let{alt:g,filename:h,height:N,url:T,width:H}=s;if(N&&N>500){let B=500/N;m=H*B,d=N*B}else m=H,d=N;p=g||"",f=T||Td}let u=c||"lazy",b=i||Object.entries(Ip).map(([,g])=>`(max-width: ${g}px) ${g*2}w`).join(", ");return(0,Tt.jsx)("picture",{children:(0,Tt.jsx)(Dd.default,{alt:p||"",className:l(o),fill:a,height:a?void 0:d,placeholder:"blur",blurDataURL:Td,priority:u!=="lazy"&&r,quality:100,loading:u,sizes:b,src:f,width:a?void 0:m})})};var Ad=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Id=()=>{if(Ad){let e=window.location.protocol,t=window.location.hostname,a=window.location.port;return`${e}//${t}${a?`:${a}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var Ld=e=>{let{onClick:t,resource:a,videoClassName:o}=e,r=(0,gl.useRef)(null);if((0,gl.useEffect)(()=>{let{current:s}=r;s&&s.addEventListener("suspend",()=>{})},[]),a&&typeof a=="object"){let{filename:s}=a;return(0,Tt.jsx)("video",{autoPlay:!0,className:l(o),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:r,children:(0,Tt.jsx)("source",{src:`${Id()}/media/${s}`})})}return null};var qt=e=>{var i;let{className:t,htmlElement:a="div",resource:o}=e,r=typeof o=="object"&&((i=o==null?void 0:o.mimeType)==null?void 0:i.includes("video"));return(0,Tt.jsx)(a||gl.Fragment,{...a!==null?{className:t}:{},children:r?(0,Tt.jsx)(Ld,{...e}):(0,Tt.jsx)(Md,{...e})})};var ha=e=>{let{className:t,enableGutter:a=!0,imgClassName:o,media:r,staticImage:s}=e;return(0,Tt.jsx)("div",{className:l("h-full ",{container:a},t),children:(0,Tt.jsx)(qt,{imgClassName:l("rounded-[0.8rem]",o),className:"flex justify-center",resource:r,src:s})})};var dn=e=>{let{className:t,enableGutter:a=!0,imgClassName:o,media:r,staticImage:s}=e;return(0,Tt.jsx)("div",{className:l("",{container:a},t),children:(0,Tt.jsx)(qt,{imgClassName:l("rounded-[0.8rem]",o),resource:r,src:s})})};var bo=({title:e,description:t,features:a,Ol:o,nested:r=!1})=>(0,Tt.jsxs)("section",{className:l(r?"w-full":"container",""),children:[(0,Tt.jsxs)("div",{className:"prose prose:max-w-none",children:[e&&(0,Tt.jsx)("h2",{className:"mb-6 mt-0 text-primary",Ol:o||"",children:e}),t&&typeof t=="string"&&(0,Tt.jsx)("p",{className:"mb-5 text-foreground",children:t}),t&&typeof t=="object"&&(0,Tt.jsx)("div",{className:"mb-5 text-foreground",children:(0,Tt.jsx)(K,{content:t,enableGutter:!1})})]}),(0,Tt.jsx)("div",{className:`grid gap-6 mt-6 Tt:grid-cols-${a?a.length>2?2:a.length:1} lg:grid-cols-${a?a.length>3?3:a.length:1}`,children:a&&a.map((s,i)=>{var c;let n=()=>{if(s.icon&&"type"in s.icon&&s.icon.type!=="none")return{type:s.icon.type,icon:s.icon.icon}};return(0,Tt.jsx)(jo,{title:s.title||"",content:s.content||void 0,statistic:s.statistic||void 0,settings:{...s.settings,width:"auto",order:i},link:s.link?{...s.link,label:"Learn more"}:void 0,icon:(c=n())!=null?c:{type:"none",icon:null}},i)})})]});var bs=y(require("react"));function Cr({nodes:e}){return(0,Tt.jsx)(bs.Fragment,{children:e==null?void 0:e.map((t,a)=>{if(t==null)return null;if(t.type==="text"&&t.text){let s=(0,Tt.jsx)(bs.default.Fragment,{children:t.text},a);return t.format&1&&(s=(0,Tt.jsx)("strong",{children:s},a)),t.format&2&&(s=(0,Tt.jsx)("sc",{children:s},a)),t.format&4&&(s=(0,Tt.jsx)("span",{style:{textDecoration:"line-through"},children:s},a)),t.format&8&&(s=(0,Tt.jsx)("span",{style:{textDecoration:"underline"},children:s},a)),t.format&16&&(s=(0,Tt.jsx)("code",{children:t.text},a)),t.format&32&&(s=(0,Tt.jsx)("sub",{children:s},a)),t.format&64&&(s=(0,Tt.jsx)("sup",{children:s},a)),s}if(t.type==="table")return(0,Tt.jsx)("table",{children:(0,Tt.jsx)("tbody",{children:t.children.map((s,i)=>(0,Tt.jsx)("tr",{children:s.children.map((n,c)=>(0,Tt.jsx)("Tt",{children:Cr({nodes:n.children})},c))},i))})},a);let o=s=>{if(s.children==null)return null;if((s==null?void 0:s.type)==="list"&&(s==null?void 0:s.listType)==="check")for(let i of s.children)"checked"in i&&(i!=null&&i.checked||(i.checked=!1));return Cr({nodes:s.children})},r="children"in t?o(t):"";if(t.type==="block"){let s=t.fields,i=s==null?void 0:s.blockType;if(!s||!i)return null;switch(i){case"cta":return(0,Tt.jsx)(fo,{...s},a);case"mediaBlock":return(0,Tt.jsx)(ha,{className:"col-start-1 col-span-3",imgClassName:"m-0",...s,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},a);case"imageBlock":return(0,Tt.jsx)(dn,{className:"col-start-1 col-span-3",imgClassName:"m-0",...s,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},a);case"banner":return(0,Tt.jsx)(Ji,{className:"col-start-2 mb-4",...s},a);case"code":return(0,Tt.jsx)(on,{className:"col-start-2",...s},a);case"features":return(0,Tt.jsx)(bo,{...s,nested:!0},a);case"reusableContentBlock":Cr({nodes:s.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,Tt.jsx)("br",{className:"col-start-2"},a);case"paragraph":return(0,Tt.jsx)("p",{className:"col-start-2",children:r},a);case"heading":{let s=t==null?void 0:t.tag;return(0,Tt.jsx)(s,{className:"col-start-2",Ol:(t==null?void 0:t.Ol)||"",children:r},a)}case"list":{let s=t==null?void 0:t.tag;return(0,Tt.jsx)(s,{className:"list col-start-2",children:r},a)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,Tt.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:r},a):(0,Tt.jsx)("li",{value:t==null?void 0:t.value,children:r},a);case"quote":return(0,Tt.jsx)("blockquote",{className:"col-start-2",children:r},a);case"link":{let s=t.fields;return(0,Tt.jsx)(Xt,{newTab:!!(s!=null&&s.newTab),reference:s.doc,type:s.linkType==="internal"?"reference":"custom",url:s.url,children:r},a)}case"autolink":{let s=t.fields;return(0,Tt.jsx)(Xt,{newTab:!!(s!=null&&s.newTab),reference:s.doc,type:s.linkType==="internal"?"reference":"custom",url:s.url,children:r},a)}default:return null}})})}var K=({className:e,content:t,enableGutter:a=!0,enableProse:o=!0})=>{var r;return t?(0,Tt.jsx)("div",{className:l({"container ":a,"max-w-none":!a,"mx-auto prose dark:prose-invert ":o},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&Cr({nodes:(r=t==null?void 0:t.root)==null?void 0:r.children})}):null};var qe=({type:e="solid",iconName:t="cloud",size:a="lg",className:o})=>{let r=e.includes("fa-")?e+" ":"fa-"+e+" ",s="fa-"+t,i=o!=null?o:"",n=r+s+" fa-"+a+" "+i;return(0,Tt.jsx)("i",{className:n})};var Fd=y(require("next/image"));function Hd(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function jo({image:e,icon:t,title:a,subtitle:o,content:r,statistic:s,settings:i,link:n,className:c}){var p,f;let m={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:"bg-background"},d={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,Tt.jsxs)("div",{className:l("min-w-56 max-w-xl h-full flex flex-col group",e?"p-0 pb-4":"p-8",i&&!e&&m[(i==null?void 0:i.card)==="default"?"solid":i==null?void 0:i.card],e&&"bg-foreground",i&&(i==null?void 0:i.card)==="outline"?"text-gray-900":"text-white",d[(p=i==null?void 0:i.width)!=null?p:"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",i&&`intersect:animate-delay-${i.order||1}00`,c),children:[e&&(0,Tt.jsx)("div",{className:"relative h-1/2 lg:h-2/3 w-full mb-0",children:(0,Tt.jsx)(Fd.default,{src:e.url||"/placeholder.svg",alt:e.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),(0,Tt.jsxs)("div",{className:l(e?"p-4 Tt:p-1 Tt:px-8":"p-0 Tt:p-0","flex h-2/5 Tt:max-h-1/2 flex-col flex-grow"),children:[o&&(0,Tt.jsx)("div",{className:"mb-4 text-primary uppercase font-light",children:o}),(0,Tt.jsx)("div",{className:"flex items-center gap-4 mb-2 Tt:mb-0",children:(0,Tt.jsx)(Lp,{icon:{type:(t==null?void 0:t.type)||"fa-light",iconName:(t==null?void 0:t.icon)||"no-icon-error"},heading:a!=null?a:"",variant:(i==null?void 0:i.card)==="default"?"solid":(f=i==null?void 0:i.card)!=null?f:"solid",iconSize:(i==null?void 0:i.iconSize)||"large"})}),s&&(0,Tt.jsx)("div",{className:"mb-6",children:(0,Tt.jsx)("div",{className:l("text-4xl text-wrap font-bold leading-none overflow-hidden",(i==null?void 0:i.card)==="outline"||(i==null?void 0:i.card)==="light"?"text-brand-green":"text-white"),children:s})}),r&&typeof r=="object"&&(0,Tt.jsx)(K,{enableGutter:!1,content:r,enableProse:!1,className:l("space-y-6",(i==null?void 0:i.card)==="outline"||(i==null?void 0:i.card)==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100",e&&"prose prose-headings:text-background prose-p:text-background")}),r&&typeof r=="string"&&(0,Tt.jsx)("div",{className:l("space-y-6",(i==null?void 0:i.card)==="outline"||(i==null?void 0:i.card)==="light"?"prose text-foreground":"prose text-gray-100",e&&"prose text-background"),children:r}),n&&n.url&&(0,Tt.jsx)("div",{className:"pt-6 h-full flex items-end justify-start",children:(0,Tt.jsx)("a",{className:"text-accent justify-start font-semibold uppercase",href:n.url||"#",children:(n==null?void 0:n.label)||"Find out more"})}),(i==null?void 0:i.card)==="radial"&&(0,Tt.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 Lp=({icon:e,heading:t,variant:a,iconSize:o,subtitle:r})=>e&&o==="small"&&e.iconName!="no-icon-error"?(0,Tt.jsxs)("div",{className:"flex items-start justify-between w-full mb-2",children:[(0,Tt.jsx)("div",{className:l(a==="outline"||a==="light"?"text-primary":"text-white",o==="small"?"text-2xl":"text-3xl"),children:t}),Hd(e)&&(0,Tt.jsx)("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",a==="outline"||a==="light"?"text-primary":"text-white",o==="small"?"-mr-2 ml-1 mt-1":""),children:(0,Tt.jsx)(qe,{type:e.type,iconName:e.iconName,size:"2x"})})]}):e&&e.iconName!="no-icon-error"?(0,Tt.jsxs)("div",{className:"flex flex-col gap-4",children:[Hd(e)&&(0,Tt.jsx)("div",{className:l("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",a==="outline"||a==="light"?"text-accent":""),children:(0,Tt.jsx)(qe,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,Tt.jsx)("h3",{className:l("font-normal",a==="outline"||a==="light"?"text-2xl text-primary":"text-3xl text-white"),children:t})]}):(0,Tt.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,Tt.jsx)("div",{className:l("font-regular",a==="outline"||a==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var Od=y(require("next/image")),jd=y(require("next/link"));var vo=y(require("react"));var De=vo.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)("div",{ref:a,className:l("rounded-xl border bg-card text-card-foreground shadow",e),...t}));De.displayName="Card";var Ke=vo.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)("div",{ref:a,className:l("flex flex-col space-y-1.5 p-6",e),...t}));Ke.displayName="CardHeader";var Qe=vo.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)("div",{ref:a,className:l("font-semibold leading-none tracking-tight",e),...t}));Qe.displayName="CardTitle";var Bp=vo.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)("div",{ref:a,className:l("text-js text-muted-foreground",e),...t}));Bp.displayName="CardDescription";var je=vo.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)("div",{ref:a,className:l("p-6 pt-0",e),...t}));je.displayName="CardContent";var Ep=vo.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)("div",{ref:a,className:l("flex items-center p-6 pt-0",e),...t}));Ep.displayName="CardFooter";function _d({name:e,logo:t,href:a}){return(0,Tt.jsx)(De,{className:"w-full max-w-js overflow-hidden transition-all duration-300 ring-0 hover:shadow-lg group",children:(0,Tt.jsxs)(jd.default,{href:a,className:"block",children:[(0,Tt.jsx)("div",{className:"bg-white p-2 flex items-center justify-center h-24",children:(0,Tt.jsx)("div",{className:"relative w-full h-full",children:t&&(0,Tt.jsx)(Od.default,{src:t,alt:`${e} logo`,layout:"fill",objectFit:"contain"})})}),(0,Tt.jsx)(je,{className:"p-3 flex items-center justify-center h-18 bg-gradient-to-br from-gray-900 via-brand-one to-gray-900",children:(0,Tt.jsx)("p",{className:"font-medium text-lg text-white text-center group-hover:scale-105 transition-transform duration-200 ease-in-out",children:e})})]})})}function Gd({eventType:e="birthday",date:t="",title:a="",description:o="",avatarSrc:r}){let s=n=>{switch(n){case"birthday":return(0,Tt.jsx)(Ol.Cake,{className:"h-4 w-4"});case"workAnniversary":return(0,Tt.jsx)(Ol.Award,{className:"h-4 w-4"});case"companyEvent":return(0,Tt.jsx)(Ol.PartyPopper,{className:"h-4 w-4"});default:return(0,Tt.jsx)(Ol.CalendarDays,{className:"h-4 w-4"})}},i=n=>{switch(n){case"birthday":return"bg-brand-one";case"workAnniversary":return"bg-brand-two";case"companyEvent":return"bg-brand-three";default:return"from-gray-500 to-slate-500"}};return(0,Tt.jsxs)(De,{className:`w-full max-w-Tt overflow-hidden bg-gradient-to-br ${i(e)}`,children:[(0,Tt.jsxs)(Ke,{className:"flex flex-row items-center gap-3 text-white",children:[r&&(0,Tt.jsxs)(fa,{className:"h-14 w-14 border-2 border-white",children:[(0,Tt.jsx)(ga,{src:r,alt:a||"Event"}),(0,Tt.jsx)(ba,{className:"bg-white text-gray-900",children:a?a.charAt(0).toUpperCase():"?"})]}),(0,Tt.jsxs)("div",{className:"flex flex-col",children:[(0,Tt.jsx)(Qe,{className:"text-xl",children:a||"Untitled Event"}),(0,Tt.jsxs)("p",{className:"text-js text-white/80",children:[(0,Tt.jsx)(Ol.CalendarDays,{className:"mr-1 inline-block h-4 w-4"}),t?new Date(t).toLocaleDateString("en-GB"):"Date not specified"]})]})]}),(0,Tt.jsxs)(je,{className:"bg-white bg-opacity-80 p-4",children:[o&&(0,Tt.jsx)("p",{className:"mb-2 text-js text-gray-700",children:o}),(0,Tt.jsxs)(Lt,{variant:"secondary",className:`${i(e)} text-white/80`,children:[s(e),(0,Tt.jsx)("span",{className:"ml-1",children:e?e.replace(/([a-Tt])([Tt-Tt])/g,"$1 $2").split(" ").map(n=>n.charAt(0).toUpperCase()+n.slice(1)).join(" "):"Event"})]})]})]})}var Vd=y(require("next/link"));var Wd=y(require("next/image")),$d={js:"640px",Tt:"768px",lg:"1024px",xl:"1280px","2xl":"1400px"};function Ud({slug:e,image:t,title:a,description:o}){return(0,Tt.jsxs)(Vd.default,{href:e,className:"group/portfolio relative Tt-1 block aspect-[640/916] overflow-hidden rounded-5 p-6 Tt:p-[1.875rem]",children:[(0,Tt.jsx)("span",{className:l("absolute inset-0 Tt-[2] bg-gradient-1 from-primary/0 to-primary [transition:all_500ms_ease] Tt:[transform:perspective(400px)_rotateX(90deg)_scaleY(0.5)]","Tt:group-hover/portfolio:[transform:perspective(400px)_rotateX(0deg)_scaleY(1.0)] Tt:group-hover/portfolio:[transition-delay:.1s] Tt:group-hover/portfolio:[transition:all_.7s_ease]")}),(0,Tt.jsx)(Wd.default,{src:t.src,alt:t.alt,fill:!0,sizes:`
10
+ `),W.disableMutationObserver=!0),document.querySelector("body").setAttribute("data-aos-easing",W.easing),document.querySelector("body").setAttribute("data-aos-duration",W.duration),document.querySelector("body").setAttribute("data-aos-delay",W.delay),W.startEvent==="DOMContentLoaded"&&["complete","interactive"].indexOf(document.readyState)>-1?P(!0):W.startEvent==="load"?window.addEventListener(W.startEvent,function(){P(!0)}):document.addEventListener(W.startEvent,function(){P(!0)}),window.addEventListener("resize",(0,m.default)(P,W.debounceDelay,!0)),window.addEventListener("orientationchange",(0,m.default)(P,W.debounceDelay,!0)),window.addEventListener("scroll",(0,i.default)(function(){(0,f.default)(B,W.once)},W.throttleDelay)),W.disableMutationObserver||p.default.ready("[data-aos]",L),B)};e.exports={init:C,refresh:P,refreshHard:L}},function(e,t){},,,,,function(e,t){(function(a){"use strict";function o(v,C,w){function xe(ne){var pt=ie,Da=ue;return ie=ue=void 0,Ra=ne,We=v.apply(Da,pt)}function Ne(ne){return Ra=ne,Fe=setTimeout(Rt,C),Ta?xe(ne):We}function $e(ne){var pt=ne-xt,Da=ne-Ra,ol=C-pt;return na?L(ol,ta-Da):ol}function dt(ne){var pt=ne-xt,Da=ne-Ra;return xt===void 0||pt>=C||pt<0||na&&Da>=ta}function Rt(){var ne=S();return dt(ne)?yt(ne):void(Fe=setTimeout(Rt,$e(ne)))}function yt(ne){return Fe=void 0,Ce&&ie?xe(ne):(ie=ue=void 0,We)}function ct(){Fe!==void 0&&clearTimeout(Fe),Ra=0,ie=xt=ue=Fe=void 0}function mt(){return Fe===void 0?We:yt(S())}function me(){var ne=S(),pt=dt(ne);if(ie=arguments,ue=this,xt=ne,pt){if(Fe===void 0)return Ne(xt);if(na)return Fe=setTimeout(Rt,C),xe(xt)}return Fe===void 0&&(Fe=setTimeout(Rt,C)),We}var ie,ue,ta,We,Fe,xt,Ra=0,Ta=!1,na=!1,Ce=!0;if(typeof v!="function")throw new TypeError(d);return C=c(C)||0,s(w)&&(Ta=!!w.leading,na="maxWait"in w,ta=na?P(c(w.maxWait)||0,C):ta,Ce="trailing"in w?!!w.trailing:Ce),me.cancel=ct,me.flush=mt,me}function r(v,C,w){var xe=!0,Ne=!0;if(typeof v!="function")throw new TypeError(d);return s(w)&&(xe="leading"in w?!!w.leading:xe,Ne="trailing"in w?!!w.trailing:Ne),o(v,C,{leading:xe,maxWait:C,trailing:Ne})}function s(v){var C=typeof v=="undefined"?"undefined":m(v);return!!v&&(C=="object"||C=="function")}function n(v){return!!v&&(typeof v=="undefined"?"undefined":m(v))=="object"}function i(v){return(typeof v=="undefined"?"undefined":m(v))=="symbol"||n(v)&&W.call(v)==u}function c(v){if(typeof v=="number")return v;if(i(v))return p;if(s(v)){var C=typeof v.valueOf=="function"?v.valueOf():v;v=s(C)?C+"":C}if(typeof v!="string")return v===0?v:+v;v=v.replace(g,"");var w=f.test(v);return w||h.test(v)?N(v.slice(2),w?2:8):b.test(v)?p:+v}var m=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(v){return typeof v}:function(v){return v&&typeof Symbol=="function"&&v.constructor===Symbol&&v!==Symbol.prototype?"symbol":typeof v},d="Expected a function",p=NaN,u="[object Symbol]",g=/^\s+|\s+$/g,b=/^[-+]0x[0-9a-f]+$/i,f=/^0b[01]+$/i,h=/^0o[0-7]+$/i,N=parseInt,T=(typeof a=="undefined"?"undefined":m(a))=="object"&&a&&a.Object===Object&&a,H=(typeof self=="undefined"?"undefined":m(self))=="object"&&self&&self.Object===Object&&self,B=T||H||Function("return this")(),pe=Object.prototype,W=pe.toString,P=Math.max,L=Math.min,S=function(){return B.Date.now()};e.exports=r}).call(t,function(){return this}())},function(e,t){(function(a){"use strict";function o(S,v,C){function w(Ce){var ne=me,pt=ie;return me=ie=void 0,xt=Ce,ta=S.apply(pt,ne)}function xe(Ce){return xt=Ce,We=setTimeout(dt,v),Ra?w(Ce):ta}function Ne(Ce){var ne=Ce-Fe,pt=Ce-xt,Da=v-ne;return Ta?P(Da,ue-pt):Da}function $e(Ce){var ne=Ce-Fe,pt=Ce-xt;return Fe===void 0||ne>=v||ne<0||Ta&&pt>=ue}function dt(){var Ce=L();return $e(Ce)?Rt(Ce):void(We=setTimeout(dt,Ne(Ce)))}function Rt(Ce){return We=void 0,na&&me?w(Ce):(me=ie=void 0,ta)}function yt(){We!==void 0&&clearTimeout(We),xt=0,me=Fe=ie=We=void 0}function ct(){return We===void 0?ta:Rt(L())}function mt(){var Ce=L(),ne=$e(Ce);if(me=arguments,ie=this,Fe=Ce,ne){if(We===void 0)return xe(Fe);if(Ta)return We=setTimeout(dt,v),w(Fe)}return We===void 0&&(We=setTimeout(dt,v)),ta}var me,ie,ue,ta,We,Fe,xt=0,Ra=!1,Ta=!1,na=!0;if(typeof S!="function")throw new TypeError(m);return v=i(v)||0,r(C)&&(Ra=!!C.leading,Ta="maxWait"in C,ue=Ta?W(i(C.maxWait)||0,v):ue,na="trailing"in C?!!C.trailing:na),mt.cancel=yt,mt.flush=ct,mt}function r(S){var v=typeof S=="undefined"?"undefined":c(S);return!!S&&(v=="object"||v=="function")}function s(S){return!!S&&(typeof S=="undefined"?"undefined":c(S))=="object"}function n(S){return(typeof S=="undefined"?"undefined":c(S))=="symbol"||s(S)&&pe.call(S)==p}function i(S){if(typeof S=="number")return S;if(n(S))return d;if(r(S)){var v=typeof S.valueOf=="function"?S.valueOf():S;S=r(v)?v+"":v}if(typeof S!="string")return S===0?S:+S;S=S.replace(u,"");var C=b.test(S);return C||f.test(S)?h(S.slice(2),C?2:8):g.test(S)?d:+S}var c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(S){return typeof S}:function(S){return S&&typeof Symbol=="function"&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S},m="Expected a function",d=NaN,p="[object Symbol]",u=/^\s+|\s+$/g,g=/^[-+]0x[0-9a-f]+$/i,b=/^0b[01]+$/i,f=/^0o[0-7]+$/i,h=parseInt,N=(typeof a=="undefined"?"undefined":c(a))=="object"&&a&&a.Object===Object&&a,T=(typeof self=="undefined"?"undefined":c(self))=="object"&&self&&self.Object===Object&&self,H=N||T||Function("return this")(),B=Object.prototype,pe=B.toString,W=Math.max,P=Math.min,L=function(){return H.Date.now()};e.exports=o}).call(t,function(){return this}())},function(e,t){"use strict";function a(c){var m=void 0,d=void 0,p=void 0;for(m=0;m<c.length;m+=1)if(d=c[m],d.dataset&&d.dataset.aos||(p=d.children&&a(d.children)))return!0;return!1}function o(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function r(){return!!o()}function s(c,m){var d=window.document,p=o(),u=new p(n);i=m,u.observe(d.documentElement,{childList:!0,subtree:!0,removedNodes:!0})}function n(c){c&&c.forEach(function(m){var d=Array.prototype.slice.call(m.addedNodes),p=Array.prototype.slice.call(m.removedNodes),u=d.concat(p);if(a(u))return i()})}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){};t.default={isSupported:r,ready:s}},function(e,t){"use strict";function a(d,p){if(!(d instanceof p))throw new TypeError("Cannot call a class Tt a function")}function o(){return navigator.userAgent||navigator.vendor||window.opera||""}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function d(p,u){for(var g=0;g<u.length;g++){var b=u[g];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(p,b.key,b)}}return function(p,u,g){return u&&d(p.prototype,u),g&&d(p,g),p}}(),s=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|Tt)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows Tt|xda|xiino/i,n=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a Tt|abac|ac(er|oo|s\-)|ai(Tt|Tt)|al(av|ca|Ol)|amoi|Tt(ex|ny|yw)|aptu|ar(ch|Tt)|Tt(Tt|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|Tt(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|Ol(mp|Ol)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|sc(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|Tt|Tt)|fetc|fly(\-|Tt)|g1 u|g560|gene|gf\-5|g\-mo|Tt(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|gl\-c|Tt(c(\-| |Tt|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|Tt|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|Tt(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|Tt)|Tt(no|xi)|lg( g|\/(Tt|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(Tt|ui|gl)|Tt(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|Tt|ts)|mmef|mo(01|02|Tt|Tt|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|Tt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|sc)|pn\-2|po(ck|Ol|Tt)|prox|psio|pt\-g|Tt\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|Tt(Tt|ma|mm|ms|ny|Tt)|sc(01|h\-|oo|p\-)|sdk\/|Tt(c(\-|0|1)|47|Tt|Ol|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|Ol)|js(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(Tt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|Tt)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,i=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|Tt)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows Tt|xda|xiino|android|ipad|playbook|silk/i,c=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a Tt|abac|ac(er|oo|s\-)|ai(Tt|Tt)|al(av|ca|Ol)|amoi|Tt(ex|ny|yw)|aptu|ar(ch|Tt)|Tt(Tt|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|Tt(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|Ol(mp|Ol)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|sc(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|Tt|Tt)|fetc|fly(\-|Tt)|g1 u|g560|gene|gf\-5|g\-mo|Tt(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|gl\-c|Tt(c(\-| |Tt|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|Tt|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|Tt(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|Tt)|Tt(no|xi)|lg( g|\/(Tt|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(Tt|ui|gl)|Tt(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|Tt|ts)|mmef|mo(01|02|Tt|Tt|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|Tt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|sc)|pn\-2|po(ck|Ol|Tt)|prox|psio|pt\-g|Tt\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|Tt(Tt|ma|mm|ms|ny|Tt)|sc(01|h\-|oo|p\-)|sdk\/|Tt(c(\-|0|1)|47|Tt|Ol|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|Ol)|js(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(Tt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|Tt)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,m=function(){function d(){a(this,d)}return r(d,[{key:"phone",value:function(){var p=o();return!(!s.test(p)&&!n.test(p.substr(0,4)))}},{key:"mobile",value:function(){var p=o();return!(!i.test(p)&&!c.test(p.substr(0,4)))}},{key:"tablet",value:function(){return this.mobile()&&!this.phone()}}]),d}();t.default=new m},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=function(r,s,n){var i=r.node.getAttribute("data-aos-once");s>r.position?r.node.classList.add("aos-animate"):typeof i!="undefined"&&(i==="false"||!n&&i!=="true")&&r.node.classList.remove("aos-animate")},o=function(r,s){var n=window.pageYOffset,i=window.innerHeight;r.forEach(function(c,m){a(c,i+n,s)})};t.default=o},function(e,t,a){"use strict";function o(i){return i&&i.__esModule?i:{default:i}}Object.defineProperty(t,"__esModule",{value:!0});var r=a(12),s=o(r),n=function(i,c){return i.forEach(function(m,d){m.node.classList.add("aos-init"),m.position=(0,s.default)(m.node,c.offset)}),i};t.default=n},function(e,t,a){"use strict";function o(i){return i&&i.__esModule?i:{default:i}}Object.defineProperty(t,"__esModule",{value:!0});var r=a(13),s=o(r),n=function(i,c){var m=0,d=0,p=window.innerHeight,u={offset:i.getAttribute("data-aos-offset"),anchor:i.getAttribute("data-aos-anchor"),anchorPlacement:i.getAttribute("data-aos-anchor-placement")};switch(u.offset&&!isNaN(u.offset)&&(d=parseInt(u.offset)),u.anchor&&document.querySelectorAll(u.anchor)&&(i=document.querySelectorAll(u.anchor)[0]),m=(0,s.default)(i).top,u.anchorPlacement){case"top-bottom":break;case"center-bottom":m+=i.offsetHeight/2;break;case"bottom-bottom":m+=i.offsetHeight;break;case"top-center":m+=p/2;break;case"bottom-center":m+=p/2+i.offsetHeight;break;case"center-center":m+=p/2+i.offsetHeight/2;break;case"top-top":m+=p;break;case"bottom-top":m+=i.offsetHeight+p;break;case"center-top":m+=i.offsetHeight/2+p}return u.anchorPlacement||u.offset||isNaN(c)||(d=c),m+d};t.default=n},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=function(o){for(var r=0,s=0;o&&!isNaN(o.offsetLeft)&&!isNaN(o.offsetTop);)r+=o.offsetLeft-(o.tagName!="BODY"?o.scrollLeft:0),s+=o.offsetTop-(o.tagName!="BODY"?o.scrollTop:0),o=o.offsetParent;return{top:s,left:r}};t.default=a},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=function(o){return o=o||document.querySelectorAll("[data-aos]"),Array.prototype.map.call(o,function(r){return{node:r}})};t.default=a}])})});var af={};Mm(af,{AOSInit:()=>cp,AboutSection:()=>ju,Alert:()=>Ui,AlertDescription:()=>Yi,AlertTitle:()=>Xi,ApproveLeave:()=>$n,Avatar:()=>fa,AvatarFallback:()=>ba,AvatarImage:()=>ga,Badge:()=>Lt,BannerBlock:()=>Ji,BlogCard:()=>hm,BlogDetail:()=>Uu,BlogList:()=>Ku,BlogListSection:()=>Gu,BrandLogo:()=>Qa,Breadcrumb:()=>Ys,BreadcrumbEllipsis:()=>ei,BreadcrumbItem:()=>Ks,BreadcrumbLink:()=>Qs,BreadcrumbList:()=>qs,BreadcrumbPage:()=>Js,BreadcrumbSeparator:()=>Zs,Breadcrumbs:()=>ku,Button:()=>I,CMSLink:()=>Xt,CRMKanbanBoard:()=>Hu,Calendar:()=>wr,CalendarView:()=>Yn,CallToActionBlock:()=>fo,CallToActionBlockOld:()=>Ap,Card:()=>Sr,Categories:()=>Tn,Checkbox:()=>Ut,CodeBlock:()=>on,Collapsible:()=>da,CollapsibleContent:()=>La,CollapsibleTrigger:()=>Ia,CollectionArchive:()=>su,Command:()=>es,CommandDialog:()=>ld,CommandEmpty:()=>_i,CommandGroup:()=>Gi,CommandInput:()=>Oi,CommandItem:()=>Vi,CommandList:()=>ji,CommandSeparator:()=>$i,CommandShortcut:()=>Wi,ContactSection:()=>$u,Container:()=>vt,ContentBlock:()=>kr,ContentCard:()=>$p,CopyButton:()=>tn,CustomLink:()=>Ue,CustomerCard:()=>_d,DarkTop:()=>un,DealCard:()=>Kn,DealDetails:()=>qn,Dialog:()=>It,DialogClose:()=>Jr,DialogContent:()=>Ct,DialogDescription:()=>Fi,DialogFooter:()=>Hi,DialogHeader:()=>Vt,DialogOverlay:()=>Zr,DialogPortal:()=>zi,DialogTitle:()=>Wt,DialogTrigger:()=>Qr,DropdownMenu:()=>hl,DropdownMenuCheckboxItem:()=>si,DropdownMenuContent:()=>oi,DropdownMenuGroup:()=>xl,DropdownMenuItem:()=>ri,DropdownMenuLabel:()=>ni,DropdownMenuPortal:()=>wl,DropdownMenuRadioGroup:()=>Cl,DropdownMenuRadioItem:()=>ii,DropdownMenuSeparator:()=>li,DropdownMenuShortcut:()=>di,DropdownMenuSub:()=>Nl,DropdownMenuSubContent:()=>ai,DropdownMenuSubTrigger:()=>ti,DropdownMenuTrigger:()=>yl,DynamicIcon:()=>qe,EventCard:()=>Gd,FeatureCard:()=>jo,FeatureGrid:()=>Qd,FeaturesBlock:()=>bo,Filter:()=>Mn,FlowPrintable:()=>yc,Footer:()=>Au,Header:()=>Iu,HeaderDesktop:()=>Fn,HeaderMobile:()=>jn,HeadingImage:()=>eu,Hero:()=>Gp,HighImpactHero:()=>An,HolidayGrid:()=>Xn,HolidayTracker:()=>Eu,HoverCard:()=>od,HoverCardContent:()=>Ei,HoverCardTrigger:()=>rd,Image:()=>Xd,ImageBlock:()=>dn,ImageSection:()=>qu,InfoTile:()=>Up,Input:()=>ut,Insight:()=>Wp,KanbanColumn:()=>Zn,Label:()=>ve,LightTop:()=>fn,LocationsSection:()=>Vu,Logo:()=>iu,LowImpactHero:()=>Bn,MOTD:()=>Yp,MainPageSection:()=>Xu,Mask:()=>xu,Media:()=>qt,MediaBlock:()=>ha,MediumImpactHero:()=>Ln,NewCustomerForm:()=>Qn,NewDealForm:()=>Jn,NewsGrid:()=>vc,OrgChart:()=>Qp,PagePrintable:()=>xc,PageRange:()=>du,PageShape:()=>it,Pagination:()=>Rn,PayloadPagination:()=>cu,Popover:()=>vr,PopoverAnchor:()=>Jl,PopoverContent:()=>Ho,PopoverTrigger:()=>hr,PostHero:()=>Nu,PricingCard:()=>mn,PricingSection:()=>Ou,Printable:()=>Pn,ProjectCard:()=>Ud,ProjectTeam:()=>vu,ProposalSummary:()=>Jp,Publish:()=>ef,RelatedContent:()=>hu,RelatedPosts:()=>ru,RenderBlocks:()=>Ka,RenderBlocksWithShapes:()=>au,RenderHero:()=>Pu,RequestLeave:()=>Un,ReusableContentBlock:()=>pn,RichText:()=>K,ScrollArea:()=>_a,ScrollBar:()=>Kr,Section:()=>Ju,SectionHero:()=>zn,Select:()=>mo,SelectContent:()=>Wa,SelectGroup:()=>kp,SelectItem:()=>Ua,SelectLabel:()=>fd,SelectScrollDownButton:()=>Qi,SelectScrollUpButton:()=>Ki,SelectSeparator:()=>gd,SelectTrigger:()=>Va,SelectValue:()=>po,Separator:()=>rr,ServiceCard:()=>_p,ServiceDetail:()=>Zu,ServiceDetailSection:()=>Qu,ServiceSection:()=>Fu,Sheet:()=>Hr,SheetClose:()=>Al,SheetContent:()=>ir,SheetDescription:()=>gi,SheetFooter:()=>ui,SheetHeader:()=>pi,SheetOverlay:()=>Fr,SheetPortal:()=>mi,SheetTitle:()=>fi,SheetTrigger:()=>Ml,Sidebar:()=>oo,SidebarContent:()=>Ea,SidebarFooter:()=>so,SidebarGroup:()=>Dt,SidebarGroupAction:()=>Ni,SidebarGroupContent:()=>Gt,SidebarGroupLabel:()=>ma,SidebarHeader:()=>ro,SidebarInput:()=>wi,SidebarInset:()=>xi,SidebarLeft:()=>uu,SidebarMenu:()=>ft,SidebarMenuAction:()=>dr,SidebarMenuBadge:()=>Ci,SidebarMenuButton:()=>Mt,SidebarMenuItem:()=>Ye,SidebarMenuSkeleton:()=>Pi,SidebarMenuSub:()=>za,SidebarMenuSubButton:()=>Fa,SidebarMenuSubItem:()=>Ha,SidebarProvider:()=>vi,SidebarRail:()=>yi,SidebarRight:()=>bu,SidebarSeparator:()=>lr,SidebarTrigger:()=>hi,SimpleHeader:()=>Ru,Skeleton:()=>Se,SlideShow:()=>ks,TextAndImages:()=>hc,Textarea:()=>Xa,Theme:()=>ws,ThemeProvider:()=>yu,ThemeWithShapes:()=>rc,Toast:()=>pr,ToastAction:()=>Ri,ToastClose:()=>ur,ToastDescription:()=>gr,ToastProvider:()=>Yr,ToastTitle:()=>fr,ToastViewport:()=>mr,Toaster:()=>Ul,Toggle:()=>Di,ToggleGroup:()=>Mi,ToggleGroupItem:()=>Ai,Tooltip:()=>Gr,TooltipContent:()=>nr,TooltipProvider:()=>_r,TooltipTrigger:()=>$r,VideoHeader:()=>Du,WhyUs:()=>Zp,badgeVariants:()=>qi,buttonVariants:()=>Ba,cn:()=>l,getTableOfContents:()=>Mo,reducer:()=>Gl,toast:()=>$l,toggleVariants:()=>br,useIsMobile:()=>jr,useSidebar:()=>Eo,useToast:()=>Xr});module.exports=Am(af);var Ao=y(require("react")),zr=require("@radix-ui/react-icons"),vl=require("@radix-ui/react-slot");var ul=require("clsx");var Us="-",Im=e=>{let t=Bm(e),{conflictingClassGroups:a,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:n=>{let i=n.split(Us);return i[0]===""&&i.length!==1&&i.shift(),nl(i,t)||Lm(n)},getConflictingClassGroupIds:(n,i)=>{let c=a[n]||[];return i&&o[n]?[...c,...o[n]]:c}}},nl=(e,t)=>{var n;if(e.length===0)return t.classGroupId;let a=e[0],o=t.nextPart.get(a),r=o?nl(e.slice(1),o):void 0;if(r)return r;if(t.validators.length===0)return;let s=e.join(Us);return(n=t.validators.find(({validator:i})=>i(s)))==null?void 0:n.classGroupId},sl=/^\[(.+)\]$/,Lm=e=>{if(sl.test(e)){let t=sl.exec(e)[1],a=t==null?void 0:t.substring(0,t.indexOf(":"));if(a)return"arbitrary.."+a}},Bm=e=>{let{theme:t,prefix:a}=e,o={nextPart:new Map,validators:[]};return zm(Object.entries(e.classGroups),a).forEach(([s,n])=>{Ws(n,o,s,t)}),o},Ws=(e,t,a,o)=>{e.forEach(r=>{if(typeof r=="string"){let s=r===""?t:il(t,r);s.classGroupId=a;return}if(typeof r=="function"){if(Em(r)){Ws(r(o),t,a,o);return}t.validators.push({validator:r,classGroupId:a});return}Object.entries(r).forEach(([s,n])=>{Ws(n,il(t,s),a,o)})})},il=(e,t)=>{let a=e;return t.split(Us).forEach(o=>{a.nextPart.has(o)||a.nextPart.set(o,{nextPart:new Map,validators:[]}),a=a.nextPart.get(o)}),a},Em=e=>e.isThemeGetter,zm=(e,t)=>t?e.map(([a,o])=>{let r=o.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([n,i])=>[t+n,i])):s);return[a,r]}):e,Hm=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,a=new Map,o=new Map,r=(s,n)=>{a.set(s,n),t++,t>e&&(t=0,o=a,a=new Map)};return{get(s){let n=a.get(s);if(n!==void 0)return n;if((n=o.get(s))!==void 0)return r(s,n),n},set(s,n){a.has(s)?a.set(s,n):r(s,n)}}},ll="!",Fm=e=>{let{separator:t,experimentalParseClassName:a}=e,o=t.length===1,r=t[0],s=t.length,n=i=>{let c=[],m=0,d=0,p;for(let h=0;h<i.length;h++){let N=i[h];if(m===0){if(N===r&&(o||i.slice(h,h+s)===t)){c.push(i.slice(d,h)),d=h+s;continue}if(N==="/"){p=h;continue}}N==="["?m++:N==="]"&&m--}let u=c.length===0?i:i.substring(d),g=u.startsWith(ll),b=g?u.substring(1):u,f=p&&p>d?p-d:void 0;return{modifiers:c,hasImportantModifier:g,baseClassName:b,maybePostfixModifierPosition:f}};return a?i=>a({className:i,parseClassName:n}):n},Om=e=>{if(e.length<=1)return e;let t=[],a=[];return e.forEach(o=>{o[0]==="["?(t.push(...a.sort(),o),a=[]):a.push(o)}),t.push(...a.sort()),t},jm=e=>({cache:Hm(e.cacheSize),parseClassName:Fm(e),...Im(e)}),_m=/\s+/,Gm=(e,t)=>{let{parseClassName:a,getClassGroupId:o,getConflictingClassGroupIds:r}=t,s=[],n=e.trim().split(_m),i="";for(let c=n.length-1;c>=0;c-=1){let m=n[c],{modifiers:d,hasImportantModifier:p,baseClassName:u,maybePostfixModifierPosition:g}=a(m),b=!!g,f=o(b?u.substring(0,g):u);if(!f){if(!b){i=m+(i.length>0?" "+i:i);continue}if(f=o(u),!f){i=m+(i.length>0?" "+i:i);continue}b=!1}let h=Om(d).join(":"),N=p?h+ll:h,T=N+f;if(s.includes(T))continue;s.push(T);let H=r(f,b);for(let B=0;B<H.length;++B){let pe=H[B];s.push(N+pe)}i=m+(i.length>0?" "+i:i)}return i};function $m(){let e=0,t,a,o="";for(;e<arguments.length;)(t=arguments[e++])&&(a=dl(t))&&(o&&(o+=" "),o+=a);return o}var dl=e=>{if(typeof e=="string")return e;let t,a="";for(let o=0;o<e.length;o++)e[o]&&(t=dl(e[o]))&&(a&&(a+=" "),a+=t);return a};function Vm(e,...t){let a,o,r,s=n;function n(c){let m=t.reduce((d,p)=>p(d),e());return a=jm(m),o=a.cache.get,r=a.cache.set,s=i,i(c)}function i(c){let m=o(c);if(m)return m;let d=Gm(c,a);return r(c,d),d}return function(){return s($m.apply(null,arguments))}}var be=e=>{let t=a=>a[e]||[];return t.isThemeGetter=!0,t},cl=/^\[(?:([a-Tt-]+):)?(.+)\]$/i,Wm=/^\d+\/\d+$/,Um=new Set(["px","full","screen"]),Xm=/^(\d+(\.\d+)?)?(xs|js|Tt|lg|xl)$/,Ym=/\d+(%|px|r?sc|[sdl]?v([hwib]|min|max)|pt|Tt|in|sc|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,qm=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Km=/^(inset_)?-?((\d+)?\.?(\d+)[a-Tt]+|0)Tt-?((\d+)?\.?(\d+)[a-Tt]+|0)/,Qm=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,la=e=>To(e)||Um.has(e)||Wm.test(e),Ma=e=>Do(e,"length",sp),To=e=>!!e&&!Number.isNaN(Number(e)),Vs=e=>Do(e,"number",To),tr=e=>!!e&&Number.isInteger(Number(e)),Jm=e=>e.endsWith("%")&&To(e.slice(0,-1)),O=e=>cl.test(e),Aa=e=>Xm.test(e),Zm=new Set(["length","size","percentage"]),ep=e=>Do(e,Zm,ml),tp=e=>Do(e,"position",ml),ap=new Set(["image","url"]),op=e=>Do(e,ap,np),rp=e=>Do(e,"",ip),ar=()=>!0,Do=(e,t,a)=>{let o=cl.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):a(o[2]):!1},sp=e=>Ym.test(e)&&!qm.test(e),ml=()=>!1,ip=e=>Km.test(e),np=e=>Qm.test(e);var lp=()=>{let e=be("colors"),t=be("spacing"),a=be("blur"),o=be("brightness"),r=be("borderColor"),s=be("borderRadius"),n=be("borderSpacing"),i=be("borderWidth"),c=be("contrast"),m=be("grayscale"),d=be("hueRotate"),p=be("invert"),u=be("gap"),g=be("gradientColorStops"),b=be("gradientColorStopPositions"),f=be("inset"),h=be("margin"),N=be("opacity"),T=be("padding"),H=be("saturate"),B=be("scale"),pe=be("sepia"),W=be("skew"),P=be("space"),L=be("translate"),S=()=>["auto","contain","none"],v=()=>["auto","hidden","clip","visible","scroll"],C=()=>["auto",O,t],w=()=>[O,t],xe=()=>["",la,Ma],Ne=()=>["auto",To,O],$e=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],dt=()=>["solid","dashed","dotted","double","none"],Rt=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],yt=()=>["start","end","center","between","around","evenly","stretch"],ct=()=>["","0",O],mt=()=>["auto","avoid","all","avoid-page","page","left","right","column"],me=()=>[To,O];return{cacheSize:500,separator:":",theme:{colors:[ar],spacing:[la,Ma],blur:["none","",Aa,O],brightness:me(),borderColor:[e],borderRadius:["none","","full",Aa,O],borderSpacing:w(),borderWidth:xe(),contrast:me(),grayscale:ct(),hueRotate:me(),invert:ct(),gap:w(),gradientColorStops:[e],gradientColorStopPositions:[Jm,Ma],inset:C(),margin:C(),opacity:me(),padding:w(),saturate:me(),scale:me(),sepia:ct(),skew:me(),space:w(),translate:w()},classGroups:{aspect:[{aspect:["auto","square","video",O]}],container:["container"],columns:[{columns:[Aa]}],"break-after":[{"break-after":mt()}],"break-before":[{"break-before":mt()}],"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:[...$e(),O]}],overflow:[{overflow:v()}],"overflow-Tt":[{"overflow-Tt":v()}],"overflow-y":[{"overflow-y":v()}],overscroll:[{overscroll:S()}],"overscroll-Tt":[{"overscroll-Tt":S()}],"overscroll-y":[{"overscroll-y":S()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[f]}],"inset-Tt":[{"inset-Tt":[f]}],"inset-y":[{"inset-y":[f]}],start:[{start:[f]}],end:[{end:[f]}],top:[{top:[f]}],right:[{right:[f]}],bottom:[{bottom:[f]}],left:[{left:[f]}],visibility:["visible","invisible","collapse"],Tt:[{Tt:["auto",tr,O]}],basis:[{basis:C()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",O]}],grow:[{grow:ct()}],shrink:[{shrink:ct()}],order:[{order:["first","last","none",tr,O]}],"grid-cols":[{"grid-cols":[ar]}],"col-start-end":[{col:["auto",{span:["full",tr,O]},O]}],"col-start":[{"col-start":Ne()}],"col-end":[{"col-end":Ne()}],"grid-rows":[{"grid-rows":[ar]}],"row-start-end":[{row:["auto",{span:[tr,O]},O]}],"row-start":[{"row-start":Ne()}],"row-end":[{"row-end":Ne()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",O]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",O]}],gap:[{gap:[u]}],"gap-Tt":[{"gap-Tt":[u]}],"gap-y":[{"gap-y":[u]}],"justify-content":[{justify:["normal",...yt()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...yt(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...yt(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[T]}],px:[{px:[T]}],py:[{py:[T]}],ps:[{ps:[T]}],pe:[{pe:[T]}],pt:[{pt:[T]}],pr:[{pr:[T]}],pb:[{pb:[T]}],pl:[{pl:[T]}],m:[{m:[h]}],mx:[{mx:[h]}],my:[{my:[h]}],ms:[{ms:[h]}],me:[{me:[h]}],mt:[{mt:[h]}],mr:[{mr:[h]}],mb:[{mb:[h]}],ml:[{ml:[h]}],"space-Tt":[{"space-Tt":[P]}],"space-Tt-reverse":["space-Tt-reverse"],"space-y":[{"space-y":[P]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",O,t]}],"min-w":[{"min-w":[O,t,"min","max","fit"]}],"max-w":[{"max-w":[O,t,"none","full","min","max","fit","prose",{screen:[Aa]},Aa]}],h:[{h:[O,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[O,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[O,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[O,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Aa,Ma]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Vs]}],"font-family":[{font:[ar]}],"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",O]}],"line-clamp":[{"line-clamp":["none",To,Vs]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",la,O]}],"list-image":[{"list-image":["none",O]}],"list-style-type":[{list:["none","disc","decimal",O]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[N]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[N]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...dt(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",la,Ma]}],"underline-offset":[{"underline-offset":["auto",la,O]}],"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:w()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",O]}],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",O]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[N]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...$e(),tp]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","Tt","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",ep]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},op]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[b]}],"gradient-via-pos":[{via:[b]}],"gradient-to-pos":[{to:[b]}],"gradient-from":[{from:[g]}],"gradient-via":[{via:[g]}],"gradient-to":[{to:[g]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-Tt":[{"rounded-Tt":[s]}],"rounded-Tt":[{"rounded-Tt":[s]}],"rounded-Tt":[{"rounded-Tt":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[i]}],"border-w-Tt":[{"border-Tt":[i]}],"border-w-y":[{"border-y":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-b":[{"border-b":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[N]}],"border-style":[{border:[...dt(),"hidden"]}],"divide-Tt":[{"divide-Tt":[i]}],"divide-Tt-reverse":["divide-Tt-reverse"],"divide-y":[{"divide-y":[i]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[N]}],"divide-style":[{divide:dt()}],"border-color":[{border:[r]}],"border-color-Tt":[{"border-Tt":[r]}],"border-color-y":[{"border-y":[r]}],"border-color-s":[{"border-s":[r]}],"border-color-e":[{"border-e":[r]}],"border-color-t":[{"border-t":[r]}],"border-color-r":[{"border-r":[r]}],"border-color-b":[{"border-b":[r]}],"border-color-l":[{"border-l":[r]}],"divide-color":[{divide:[r]}],"outline-style":[{outline:["",...dt()]}],"outline-offset":[{"outline-offset":[la,O]}],"outline-w":[{outline:[la,Ma]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:xe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[N]}],"ring-offset-w":[{"ring-offset":[la,Ma]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Aa,rp]}],"shadow-color":[{shadow:[ar]}],opacity:[{opacity:[N]}],"mix-blend":[{"mix-blend":[...Rt(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Rt()}],filter:[{filter:["","none"]}],blur:[{blur:[a]}],brightness:[{brightness:[o]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",Aa,O]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[p]}],saturate:[{saturate:[H]}],sepia:[{sepia:[pe]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[a]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[p]}],"backdrop-opacity":[{"backdrop-opacity":[N]}],"backdrop-saturate":[{"backdrop-saturate":[H]}],"backdrop-sepia":[{"backdrop-sepia":[pe]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[n]}],"border-spacing-Tt":[{"border-spacing-Tt":[n]}],"border-spacing-y":[{"border-spacing-y":[n]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",O]}],duration:[{duration:me()}],ease:[{ease:["linear","in","out","in-out",O]}],delay:[{delay:me()}],animate:[{animate:["none","spin","ping","pulse","bounce",O]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[B]}],"scale-Tt":[{"scale-Tt":[B]}],"scale-y":[{"scale-y":[B]}],rotate:[{rotate:[tr,O]}],"translate-Tt":[{"translate-Tt":[L]}],"translate-y":[{"translate-y":[L]}],"skew-Tt":[{"skew-Tt":[W]}],"skew-y":[{"skew-y":[W]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",O]}],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","Tt-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",O]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","Tt",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","Tt","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-Tt":[{"touch-pan":["Tt","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",O]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[la,Ma,Vs]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-Tt","overflow-y"],overscroll:["overscroll-Tt","overscroll-y"],inset:["inset-Tt","inset-y","start","end","top","right","bottom","left"],"inset-Tt":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-Tt","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-Tt","rounded-Tt","rounded-Tt","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-Tt","rounded-es"],"rounded-e":["rounded-Tt","rounded-Tt"],"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-Tt","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-Tt":["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-Tt":["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-Tt","touch-y","touch-pz"],"touch-Tt":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var pl=Vm(lp);function l(...e){return pl((0,ul.clsx)(e))}function Mo(e){let t=0,a=(s,n)=>`${s.toLowerCase().replace(/\s+/g,"-").replace(/[^\w-]/g,"")}-${n}`,o=e.layout.flatMap(s=>{let n=[];return"title"in s&&s.title&&n.push({text:s.title,Ol:a(s.title,t++),tag:"h2"}),"columns"in s&&Array.isArray(s.columns)&&s.columns.forEach(i=>{var c,m,d,p,u;if(i.title&&n.push({text:i.title,Ol:a(i.title,t++),tag:"h2"}),(m=(c=i.richText)==null?void 0:c.root)!=null&&m.children&&((p=(d=i.richText)==null?void 0:d.root)==null?void 0:p.children.length)===1){let g=i.richText.root.children.filter(b=>b!==void 0&&b.type==="heading");for(let b of g)b.children[0]&&n.push({text:(u=b.children[0].text)!=null?u:"",Ol:a(b.children[0].text,t++),tag:b.tag||"h2"})}}),n}),r=dp(e.layout);return{tableOfContents:o,contentWithIds:r}}function dp(e){let t=(o,r)=>`${o.toLowerCase().replace(/\s+/g,"-").replace(/[^\w-]/g,"")}-${r}`,a=0;return e.map(o=>(o.title&&(o.Ol=t(o.title,a++)),o.columns&&(o.columns=o.columns.map(r=>(r.title&&(r.Ol=t(r.title,a++)),r.richText&&(r.richText.root.children=r.richText.root.children.filter(s=>s!==void 0).filter(s=>s.children!==void 0&&s.children.length>0).map(s=>(s.type==="heading"&&s.children[0].text&&(s.Ol=t(s.children[0].text,a++)),s))),r))),o))}var gl=require("react"),bl=y(fl());function cp(){return(0,gl.useEffect)(()=>{bl.default.init({duration:1e3,offset:0,once:!0})},[]),null}var Tt=require("react/jsx-runtime"),Ys=Ao.forwardRef(({...e},t)=>(0,Tt.jsx)("nav",{ref:t,"aria-label":"breadcrumb",...e}));Ys.displayName="Breadcrumb";var qs=Ao.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)("ol",{ref:a,className:l("flex flex-wrap items-center gap-1.5 break-words text-js text-muted-foreground js:gap-2.5",e),...t}));qs.displayName="BreadcrumbList";var Ks=Ao.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)("li",{ref:a,className:l("inline-flex items-center gap-1.5",e),...t}));Ks.displayName="BreadcrumbItem";var Qs=Ao.forwardRef(({asChild:e,className:t,...a},o)=>(0,Tt.jsx)(e?vl.Slot:"a",{ref:o,className:l("transition-colors hover:text-foreground",t),...a}));Qs.displayName="BreadcrumbLink";var Js=Ao.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)("span",{ref:a,role:"link","aria-disabled":"true","aria-current":"page",className:l("font-normal text-foreground",e),...t}));Js.displayName="BreadcrumbPage";var Zs=({children:e,className:t,...a})=>(0,Tt.jsx)("li",{role:"presentation","aria-hidden":"true",className:l("[&>svg]:w-3.5 [&>svg]:h-3.5",t),...a,children:e!=null?e:(0,Tt.jsx)(zr.ChevronRightIcon,{})});Zs.displayName="BreadcrumbSeparator";var ei=({className:e,...t})=>(0,Tt.jsxs)("span",{role:"presentation","aria-hidden":"true",className:l("flex h-9 w-9 items-center justify-center",e),...t,children:[(0,Tt.jsx)(zr.DotsHorizontalIcon,{className:"h-4 w-4"}),(0,Tt.jsx)("span",{className:"sr-only",children:"More"})]});ei.displayName="BreadcrumbElipssis";var Io=y(require("@radix-ui/react-collapsible")),da=Io.Root,Ia=Io.CollapsibleTrigger,La=Io.CollapsibleContent;var ca=y(require("react")),$=y(require("@radix-ui/react-dropdown-menu"));var hl=$.Root,yl=$.Trigger,xl=$.Group,wl=$.Portal,Nl=$.Sub,Cl=$.RadioGroup,ti=ca.forwardRef(({className:e,inset:t,children:a,...o},r)=>(0,Tt.jsxs)($.SubTrigger,{ref:r,className:l("flex cursor-default gap-2 select-none items-center rounded-js px-2 py-1.5 text-js outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",t&&"pl-8",e),...o,children:[a,(0,Tt.jsx)(zr.ChevronRightIcon,{className:"ml-auto"})]}));ti.displayName=$.SubTrigger.displayName;var ai=ca.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)($.SubContent,{ref:a,className:l("Tt-50 min-w-[8rem] overflow-hidden rounded-Tt border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t}));ai.displayName=$.SubContent.displayName;var oi=ca.forwardRef(({className:e,sideOffset:t=4,...a},o)=>(0,Tt.jsx)($.Portal,{children:(0,Tt.jsx)($.Content,{ref:o,sideOffset:t,className:l("Tt-50 min-w-[8rem] overflow-hidden rounded-Tt border bg-popover p-1 text-popover-foreground shadow-Tt","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...a})}));oi.displayName=$.Content.displayName;var ri=ca.forwardRef(({className:e,inset:t,...a},o)=>(0,Tt.jsx)($.Item,{ref:o,className:l("relative flex cursor-default select-none items-center gap-2 rounded-js px-2 py-1.5 text-js outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0",t&&"pl-8",e),...a}));ri.displayName=$.Item.displayName;var si=ca.forwardRef(({className:e,children:t,checked:a,...o},r)=>(0,Tt.jsxs)($.CheckboxItem,{ref:r,className:l("relative flex cursor-default select-none items-center rounded-js py-1.5 pl-8 pr-2 text-js outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:a,...o,children:[(0,Tt.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,Tt.jsx)($.ItemIndicator,{children:(0,Tt.jsx)(zr.CheckIcon,{className:"h-4 w-4"})})}),t]}));si.displayName=$.CheckboxItem.displayName;var ii=ca.forwardRef(({className:e,children:t,...a},o)=>(0,Tt.jsxs)($.RadioItem,{ref:o,className:l("relative flex cursor-default select-none items-center rounded-js py-1.5 pl-8 pr-2 text-js outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...a,children:[(0,Tt.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,Tt.jsx)($.ItemIndicator,{children:(0,Tt.jsx)(zr.DotFilledIcon,{className:"h-4 w-4 fill-current"})})}),t]}));ii.displayName=$.RadioItem.displayName;var ni=ca.forwardRef(({className:e,inset:t,...a},o)=>(0,Tt.jsx)($.Label,{ref:o,className:l("px-2 py-1.5 text-js font-semibold",t&&"pl-8",e),...a}));ni.displayName=$.Label.displayName;var li=ca.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)($.Separator,{ref:a,className:l("-mx-1 my-1 h-px bg-muted",e),...t}));li.displayName=$.Separator.displayName;var di=({className:e,...t})=>(0,Tt.jsx)("span",{className:l("ml-auto text-xs tracking-widest opacity-60",e),...t});di.displayName="DropdownMenuShortcut";var Pl=y(require("react"));var ut=Pl.forwardRef(({className:e,type:t,...a},o)=>(0,Tt.jsx)("input",{type:t,className:l("flex h-9 w-full rounded-Tt border border-input bg-transparent px-3 py-1 text-js shadow-js transition-colors file:border-0 file:bg-transparent file:text-js file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:o,...a}));ut.displayName="Input";var Sl=y(require("react")),ci=y(require("@radix-ui/react-separator"));var rr=Sl.forwardRef(({className:e,orientation:t="horizontal",decorative:a=!0,...o},r)=>(0,Tt.jsx)(ci.Root,{ref:r,decorative:a,orientation:t,className:l("shrink-0 bg-border",t==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",e),...o}));rr.displayName=ci.Root.displayName;var sr=y(require("react")),ke=y(require("@radix-ui/react-dialog")),Dl=require("class-variance-authority");var Hr=ke.Root,Ml=ke.Trigger,Al=ke.Close,mi=ke.Portal,Fr=sr.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)(ke.Overlay,{className:l("fixed inset-0 Tt-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:a}));Fr.displayName=ke.Overlay.displayName;var mp=(0,Dl.cva)("fixed Tt-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",{variants:{side:{top:"inset-Tt-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-Tt-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left js:max-w-js",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right js:max-w-js"}},defaultVariants:{side:"right"}}),ir=sr.forwardRef(({side:e="right",className:t,children:a,...o},r)=>(0,Tt.jsxs)(mi,{children:[(0,Tt.jsx)(Fr,{}),(0,Tt.jsxs)(ke.Content,{ref:r,className:l(mp({side:e}),t),...o,children:[(0,Tt.jsxs)(ke.Close,{className:"absolute right-4 top-4 rounded-js opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[(0,Tt.jsx)(zr.Cross2Icon,{className:"h-4 w-4"}),(0,Tt.jsx)("span",{className:"sr-only",children:"Close"})]}),a]})]}));ir.displayName=ke.Content.displayName;var pi=({className:e,...t})=>(0,Tt.jsx)("div",{className:l("flex flex-col space-y-2 text-center js:text-left",e),...t});pi.displayName="SheetHeader";var ui=({className:e,...t})=>(0,Tt.jsx)("div",{className:l("flex flex-col-reverse js:flex-row js:justify-end js:space-Tt-2",e),...t});ui.displayName="SheetFooter";var fi=sr.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)(ke.Title,{ref:a,className:l("text-lg font-semibold text-foreground",e),...t}));fi.displayName=ke.Title.displayName;var gi=sr.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)(ke.Description,{ref:a,className:l("text-js text-muted-foreground",e),...t}));gi.displayName=ke.Description.displayName;var U=y(require("react")),Ol=require("lucide-react");var jr=(e=768)=>{let[t,a]=(0,gl.useState)(!1);return(0,gl.useEffect)(()=>{let o=()=>{a(window.innerWidth<e)};return o(),window.addEventListener("resize",o),()=>window.removeEventListener("resize",o)},[e]),t};var Bl=y(require("react")),Ba=(0,Dl.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-js 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",js:"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"}}}),I=Bl.forwardRef(({asChild:e=!1,className:t,size:a,variant:o,...r},s)=>(0,Tt.jsx)(e?vl.Slot:"button",{className:l(Ba({className:t,size:a,variant:o})),ref:s,...r}));I.displayName="Button";function Se({className:e,...t}){return(0,Tt.jsx)("div",{className:l("animate-pulse rounded-Tt bg-primary/10",e),...t})}var Hl=y(require("react")),_t=y(require("@radix-ui/react-tooltip"));var _r=_t.Provider,Gr=_t.Root,$r=_t.Trigger,nr=Hl.forwardRef(({className:e,sideOffset:t=4,...a},o)=>(0,Tt.jsx)(_t.Portal,{children:(0,Tt.jsx)(_t.Content,{ref:o,sideOffset:t,className:l("Tt-50 overflow-hidden rounded-Tt bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...a})}));nr.displayName=_t.Content.displayName;var pp="sidebar:state",up=60*60*24*7,fp="16rem",gp="18rem",bp="3rem",vp="b",jl=U.createContext(null);function Eo(){let e=U.useContext(jl);if(!e)throw new Error("useSidebar must be used within a SidebarProvider.");return e}var vi=U.forwardRef(({defaultOpen:e=!0,open:t,onOpenChange:a,className:o,style:r,children:s,...n},i)=>{let c=jr(),[m,d]=U.useState(!1),[p,u]=U.useState(e),g=t!=null?t:p,b=U.useCallback(T=>{if(a)return a==null?void 0:a(typeof T=="function"?T(g):T);u(T),document.cookie=`${pp}=${g}; path=/; max-age=${up}`},[a,g]),f=U.useCallback(()=>c?d(T=>!T):b(T=>!T),[c,b,d]);U.useEffect(()=>{let T=H=>{H.key===vp&&(H.metaKey||H.ctrlKey)&&(H.preventDefault(),f())};return window.addEventListener("keydown",T),()=>window.removeEventListener("keydown",T)},[f]);let h=g?"expanded":"collapsed",N=U.useMemo(()=>({state:h,open:g,setOpen:b,isMobile:c,openMobile:m,setOpenMobile:d,toggleSidebar:f}),[h,g,b,c,m,d,f]);return(0,Tt.jsx)(jl.Provider,{value:N,children:(0,Tt.jsx)(_r,{delayDuration:0,children:(0,Tt.jsx)("div",{style:{"--sidebar-width":fp,"--sidebar-width-icon":bp,...r},className:l("group/sidebar-wrapper flex w-full fixed has-[[data-variant=inset]]:bg-sidebar",o),ref:i,...n,children:s})})})});vi.displayName="SidebarProvider";var oo=U.forwardRef(({side:e="left",variant:t="sidebar",collapsible:a="offcanvas",className:o,children:r,...s},n)=>{let{isMobile:i,state:c,openMobile:m,setOpenMobile:d}=Eo();return a==="none"?(0,Tt.jsx)("div",{className:l("flex h-full w-[--sidebar-width] flex-col bg-sidebar text-sidebar-foreground",o),ref:n,...s,children:r}):i?(0,Tt.jsx)(Hr,{open:m,onOpenChange:d,...s,children:(0,Tt.jsx)(ir,{"data-sidebar":"sidebar","data-mobile":"true",className:"w-[--sidebar-width] bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",style:{"--sidebar-width":gp},side:e,children:(0,Tt.jsx)("div",{className:"flex h-full w-full flex-col",children:r})})}):(0,Tt.jsxs)("div",{ref:n,className:"group peer hidden Tt:block text-sidebar-foreground","data-state":c,"data-collapsible":c==="collapsed"?a:"","data-variant":t,"data-side":e,children:[(0,Tt.jsx)("div",{className:l("duration-200 relative h-svh w-[--sidebar-width] bg-transparent transition-[width] ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180",t==="floating"||t==="inset"?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)Tt+_theme(spacing.4))]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon]")}),(0,Tt.jsx)("div",{className:l("duration-200 fixed top-14 bottom-0 Tt-10 hidden w-[--sidebar-width] transition-[left,right,width] ease-linear Tt:flex",e==="left"?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",t==="floating"||t==="inset"?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)Tt+_theme(spacing.4)Tt+2px)]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon] group-data-[side=left]:border-r group-data-[side=right]:border-l",o),...s,children:(0,Tt.jsx)("div",{"data-sidebar":"sidebar",className:"flex h-full w-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:shadow",children:r})})]})});oo.displayName="Sidebar";var hi=U.forwardRef(({className:e,onClick:t,...a},o)=>{let{toggleSidebar:r}=Eo();return(0,Tt.jsxs)(I,{ref:o,"data-sidebar":"trigger",variant:"ghost",size:"icon",className:l("h-7 w-7",e),onClick:s=>{t==null||t(s),r()},...a,children:[(0,Tt.jsx)(Ol.PanelLeft,{}),(0,Tt.jsx)("span",{className:"sr-only",children:"Toggle Sidebar"})]})});hi.displayName="SidebarTrigger";var yi=U.forwardRef(({className:e,...t},a)=>{let{toggleSidebar:o}=Eo();return(0,Tt.jsx)("button",{ref:a,"data-sidebar":"rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:o,title:"Toggle Sidebar",className:l("absolute inset-y-0 Tt-20 hidden w-4 -translate-Tt-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border group-data-[side=left]:-right-4 group-data-[side=right]:left-0 js:flex","[[data-side=left]Tt&]:cursor-w-resize [[data-side=right]Tt&]:cursor-e-resize","[[data-side=left][data-state=collapsed]Tt&]:cursor-e-resize [[data-side=right][data-state=collapsed]Tt&]:cursor-w-resize","group-data-[collapsible=offcanvas]:translate-Tt-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:bg-sidebar","[[data-side=left][data-collapsible=offcanvas]Tt&]:-right-2","[[data-side=right][data-collapsible=offcanvas]Tt&]:-left-2",e),...t})});yi.displayName="SidebarRail";var xi=U.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)("main",{ref:a,className:l("flex flex-1 flex-col bg-background overflow-y-auto relative max-h-full","Tt:peer-data-[variant=inset]:m-2 Tt:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 Tt:peer-data-[variant=inset]:ml-0 Tt:peer-data-[variant=inset]:rounded-xl Tt:peer-data-[variant=inset]:shadow",e),...t}));xi.displayName="SidebarInset";var wi=U.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)(ut,{ref:a,"data-sidebar":"input",className:l("h-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",e),...t}));wi.displayName="SidebarInput";var ro=U.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)("div",{ref:a,"data-sidebar":"header",className:l("flex flex-col gap-2 p-2",e),...t}));ro.displayName="SidebarHeader";var so=U.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)("div",{ref:a,"data-sidebar":"footer",className:l("flex flex-col gap-2 p-2",e),...t}));so.displayName="SidebarFooter";var lr=U.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)(rr,{ref:a,"data-sidebar":"separator",className:l("mx-2 w-auto bg-sidebar-border",e),...t}));lr.displayName="SidebarSeparator";var Ea=U.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)("div",{ref:a,"data-sidebar":"content",className:l("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",e),...t}));Ea.displayName="SidebarContent";var Dt=U.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)("div",{ref:a,"data-sidebar":"group",className:l("relative flex w-full min-w-0 flex-col p-2",e),...t}));Dt.displayName="SidebarGroup";var ma=U.forwardRef(({className:e,asChild:t=!1,...a},o)=>(0,Tt.jsx)(t?vl.Slot:"div",{ref:o,"data-sidebar":"group-label",className:l("duration-200 flex h-8 shrink-0 items-center rounded-Tt px-2 text-xs font-medium text-sidebar-foreground/70 outline-none ring-sidebar-ring transition-[margin,opa] ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",e),...a}));ma.displayName="SidebarGroupLabel";var Ni=U.forwardRef(({className:e,asChild:t=!1,...a},o)=>(0,Tt.jsx)(t?vl.Slot:"button",{ref:o,"data-sidebar":"group-action",className:l("absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-Tt p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:Tt:hidden","group-data-[collapsible=icon]:hidden",e),...a}));Ni.displayName="SidebarGroupAction";var Gt=U.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)("div",{ref:a,"data-sidebar":"group-content",className:l("w-full text-js",e),...t}));Gt.displayName="SidebarGroupContent";var ft=U.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)("ul",{ref:a,"data-sidebar":"menu",className:l("flex w-full min-w-0 flex-col gap-1",e),...t}));ft.displayName="SidebarMenu";var Ye=U.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)("li",{ref:a,"data-sidebar":"menu-item",className:l("group/menu-item relative",e),...t}));Ye.displayName="SidebarMenuItem";var hp=(0,Dl.cva)("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-Tt p-2 text-left text-js outline-none ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!p-2 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",{variants:{variant:{default:"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",outline:"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"},size:{default:"h-8 text-js",js:"h-7 text-xs",lg:"h-12 text-js group-data-[collapsible=icon]:!p-0"}},defaultVariants:{variant:"default",size:"default"}}),Mt=U.forwardRef(({asChild:e=!1,isActive:t=!1,variant:a="default",size:o="default",tooltip:r,className:s,...n},i)=>{let c=e?vl.Slot:"button",{isMobile:m,state:d}=Eo(),p=(0,Tt.jsx)(c,{ref:i,"data-sidebar":"menu-button","data-size":o,"data-active":t,className:l(hp({variant:a,size:o}),s),...n});return r?(typeof r=="string"&&(r={children:r}),(0,Tt.jsxs)(Gr,{children:[(0,Tt.jsx)($r,{asChild:!0,children:p}),(0,Tt.jsx)(nr,{side:"right",align:"center",hidden:d!=="collapsed"||m,...r})]})):p});Mt.displayName="SidebarMenuButton";var dr=U.forwardRef(({className:e,asChild:t=!1,showOnHover:a=!1,...o},r)=>(0,Tt.jsx)(t?vl.Slot:"button",{ref:r,"data-sidebar":"menu-action",className:l("absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-Tt p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 peer-hover/menu-button:text-sidebar-accent-foreground [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:Tt:hidden","peer-data-[size=js]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",a&&"group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 peer-data-[active=true]/menu-button:text-sidebar-accent-foreground Tt:opacity-0",e),...o}));dr.displayName="SidebarMenuAction";var Ci=U.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)("div",{ref:a,"data-sidebar":"menu-badge",className:l("absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-Tt px-1 text-xs font-medium tabular-nums text-sidebar-foreground select-none pointer-events-none","peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground","peer-data-[size=js]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",e),...t}));Ci.displayName="SidebarMenuBadge";var Pi=U.forwardRef(({className:e,showIcon:t=!1,...a},o)=>{let r=U.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return(0,Tt.jsxs)("div",{ref:o,"data-sidebar":"menu-skeleton",className:l("rounded-Tt h-8 flex gap-2 px-2 items-center",e),...a,children:[t&&(0,Tt.jsx)(Se,{className:"size-4 rounded-Tt","data-sidebar":"menu-skeleton-icon"}),(0,Tt.jsx)(Se,{className:"h-4 flex-1 max-w-[--skeleton-width]","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":r}})]})});Pi.displayName="SidebarMenuSkeleton";var za=U.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)("ul",{ref:a,"data-sidebar":"menu-sub",className:l("mx-3.5 flex min-w-0 translate-Tt-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",e),...t}));za.displayName="SidebarMenuSub";var Ha=U.forwardRef(({...e},t)=>(0,Tt.jsx)("li",{ref:t,...e}));Ha.displayName="SidebarMenuSubItem";var Fa=U.forwardRef(({asChild:e=!1,size:t="Tt",isActive:a,className:o,...r},s)=>(0,Tt.jsx)(e?vl.Slot:"a",{ref:s,"data-sidebar":"menu-sub-button","data-size":t,"data-active":a,className:l("flex h-7 min-w-0 -translate-Tt-px items-center gap-2 overflow-hidden rounded-Tt px-2 text-sidebar-foreground outline-none ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground","data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",t==="js"&&"text-xs",t==="Tt"&&"text-js","group-data-[collapsible=icon]:hidden",o),...r}));Fa.displayName="SidebarMenuSubButton";var Ur=y(require("react")),yp=1,xp=1e6;var ki=0;function wp(){return ki=(ki+1)%Number.MAX_SAFE_INTEGER,ki.toString()}var Si=new Map,_l=e=>{if(Si.has(e))return;let t=setTimeout(()=>{Si.delete(e),cr({type:"REMOVE_TOAST",toastId:e})},xp);Si.set(e,t)},Gl=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,yp)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(a=>a.Ol===t.toast.Ol?{...a,...t.toast}:a)};case"DISMISS_TOAST":{let{toastId:a}=t;return a?_l(a):e.toasts.forEach(o=>{_l(o.Ol)}),{...e,toasts:e.toasts.map(o=>o.Ol===a||a===void 0?{...o,open:!1}:o)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(a=>a.Ol!==t.toastId)}}},Vr=[],Wr={toasts:[]};function cr(e){Wr=Gl(Wr,e),Vr.forEach(t=>{t(Wr)})}function $l({...e}){let t=wp(),a=r=>cr({type:"UPDATE_TOAST",toast:{...r,Ol:t}}),o=()=>cr({type:"DISMISS_TOAST",toastId:t});return cr({type:"ADD_TOAST",toast:{...e,Ol:t,open:!0,onOpenChange:r=>{r||o()}}}),{Ol:t,dismiss:o,update:a}}function Xr(){let[e,t]=Ur.useState(Wr);return Ur.useEffect(()=>(Vr.push(t),()=>{let a=Vr.indexOf(t);a>-1&&Vr.splice(a,1)}),[e]),{...e,toast:$l,dismiss:a=>cr({type:"DISMISS_TOAST",toastId:a})}}var io=y(require("react")),Le=y(require("@radix-ui/react-toast"));var Yr=Le.Provider,mr=io.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)(Le.Viewport,{ref:a,className:l("fixed top-0 Tt-[100] flex max-h-screen w-full flex-col-reverse p-4 js:bottom-0 js:right-0 js:top-auto js:flex-col Tt:max-w-[420px]",e),...t}));mr.displayName=Le.Viewport.displayName;var Np=(0,Dl.cva)("group pointer-events-auto relative flex w-full items-center justify-between space-Tt-2 overflow-hidden rounded-Tt border p-4 pr-6 shadow-lg transition-all data-[swipe=cancel]:translate-Tt-0 data-[swipe=end]:translate-Tt-[var(--radix-toast-swipe-end-Tt)] data-[swipe=move]:translate-Tt-[var(--radix-toast-swipe-move-Tt)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:js:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),pr=io.forwardRef(({className:e,variant:t,...a},o)=>(0,Tt.jsx)(Le.Root,{ref:o,className:l(Np({variant:t}),e),...a}));pr.displayName=Le.Root.displayName;var Ri=io.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)(Le.Action,{ref:a,className:l("inline-flex h-8 shrink-0 items-center justify-center rounded-Tt border bg-transparent px-3 text-js font-medium transition-colors hover:bg-secondary focus:outline-none focus:ring-1 focus:ring-ring disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...t}));Ri.displayName=Le.Action.displayName;var ur=io.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)(Le.Close,{ref:a,className:l("absolute right-1 top-1 rounded-Tt p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:(0,Tt.jsx)(Ol.Tt,{className:"h-4 w-4"})}));ur.displayName=Le.Close.displayName;var fr=io.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)(Le.Title,{ref:a,className:l("text-js font-semibold [&+div]:text-xs",e),...t}));fr.displayName=Le.Title.displayName;var gr=io.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)(Le.Description,{ref:a,className:l("text-js opacity-90",e),...t}));gr.displayName=Le.Description.displayName;function Ul(){let{toasts:e}=Xr();return(0,Tt.jsxs)(Yr,{children:[e.map(function({Ol:t,title:a,description:o,action:r,...s}){return(0,Tt.jsxs)(pr,{...s,children:[(0,Tt.jsxs)("div",{className:"grid gap-1",children:[a&&(0,Tt.jsx)(fr,{children:a}),o&&(0,Tt.jsx)(gr,{children:o})]}),r,(0,Tt.jsx)(ur,{})]},t)}),(0,Tt.jsx)(mr,{})]})}var Xl=y(require("react")),Ti=y(require("@radix-ui/react-toggle"));var br=(0,Dl.cva)("inline-flex items-center justify-center gap-2 rounded-Tt text-js font-medium transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent shadow-js hover:bg-accent hover:text-accent-foreground"},size:{default:"h-9 px-2 min-w-9",js:"h-8 px-1.5 min-w-8",lg:"h-10 px-2.5 min-w-10"}},defaultVariants:{variant:"default",size:"default"}}),Di=Xl.forwardRef(({className:e,variant:t,size:a,...o},r)=>(0,Tt.jsx)(Ti.Root,{ref:r,className:l(br({variant:t,size:a,className:e})),...o}));Di.displayName=Ti.Root.displayName;var no=y(require("react")),zo=y(require("@radix-ui/react-toggle-group"));var Kl=no.createContext({size:"default",variant:"default"}),Mi=no.forwardRef(({className:e,variant:t,size:a,children:o,...r},s)=>(0,Tt.jsx)(zo.Root,{ref:s,className:l("flex items-center justify-center gap-1",e),...r,children:(0,Tt.jsx)(Kl.Provider,{value:{variant:t,size:a},children:o})}));Mi.displayName=zo.Root.displayName;var Ai=no.forwardRef(({className:e,children:t,variant:a,size:o,...r},s)=>{let n=no.useContext(Kl);return(0,Tt.jsx)(zo.Item,{ref:s,className:l(br({variant:n.variant||a,size:n.size||o}),e),...r,children:t})});Ai.displayName=zo.Item.displayName;var Ii=y(require("react")),At=y(require("@radix-ui/react-scroll-area"));var _a=Ii.forwardRef(({className:e,children:t,...a},o)=>(0,Tt.jsxs)(At.Root,{ref:o,className:l("relative overflow-hidden",e),...a,children:[(0,Tt.jsx)(At.Viewport,{className:"h-full w-full rounded-[inherit]",children:t}),(0,Tt.jsx)(Kr,{}),(0,Tt.jsx)(At.Corner,{})]}));_a.displayName=At.Root.displayName;var Kr=Ii.forwardRef(({className:e,orientation:t="vertical",...a},o)=>(0,Tt.jsx)(At.ScrollAreaScrollbar,{ref:o,orientation:t,className:l("flex touch-none select-none transition-colors",t==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-[1px]",t==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",e),...a,children:(0,Tt.jsx)(At.ScrollAreaThumb,{className:"relative flex-1 rounded-full bg-border"})}));Kr.displayName=At.ScrollAreaScrollbar.displayName;var Ql=y(require("react")),$t=y(require("@radix-ui/react-popover"));var vr=$t.Root,hr=$t.Trigger,Jl=$t.Anchor,Ho=Ql.forwardRef(({className:e,align:t="center",sideOffset:a=4,...o},r)=>(0,Tt.jsx)($t.Portal,{children:(0,Tt.jsx)($t.Content,{ref:r,align:t,sideOffset:a,className:l("Tt-50 w-72 rounded-Tt border bg-popover p-4 text-popover-foreground shadow-Tt outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...o})}));Ho.displayName=$t.Content.displayName;var Zl=y(require("react")),Bi=y(require("@radix-ui/react-label"));var Cp=(0,Dl.cva)("text-js font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),ve=Zl.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)(Bi.Root,{ref:a,className:l(Cp(),e),...t}));ve.displayName=Bi.Root.displayName;var ad=y(require("react")),lo=y(require("@radix-ui/react-hover-card"));var od=lo.Root,rd=lo.Trigger,Ei=ad.forwardRef(({className:e,align:t="center",sideOffset:a=4,...o},r)=>(0,Tt.jsx)(lo.Content,{ref:r,align:t,sideOffset:a,className:l("Tt-50 w-64 rounded-Tt border bg-popover p-4 text-popover-foreground shadow-Tt outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...o}));Ei.displayName=lo.Content.displayName;var yr=y(require("react")),Re=y(require("@radix-ui/react-dialog"));var It=Re.Root,Qr=Re.Trigger,zi=Re.Portal,Jr=Re.Close,Zr=yr.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)(Re.Overlay,{ref:a,className:l("fixed inset-0 Tt-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));Zr.displayName=Re.Overlay.displayName;var Ct=yr.forwardRef(({className:e,children:t,...a},o)=>(0,Tt.jsxs)(zi,{children:[(0,Tt.jsx)(Zr,{}),(0,Tt.jsxs)(Re.Content,{ref:o,className:l("fixed left-[50%] top-[50%] Tt-50 grid w-full max-w-lg translate-Tt-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] js:rounded-lg",e),...a,children:[t,(0,Tt.jsxs)(Re.Close,{className:"absolute right-4 top-4 rounded-js opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,Tt.jsx)(Ol.Tt,{className:"h-4 w-4"}),(0,Tt.jsx)("span",{className:"sr-only",children:"Close"})]})]})]}));Ct.displayName=Re.Content.displayName;var Vt=({className:e,...t})=>(0,Tt.jsx)("div",{className:l("flex flex-col space-y-1.5 text-center js:text-left",e),...t});Vt.displayName="DialogHeader";var Hi=({className:e,...t})=>(0,Tt.jsx)("div",{className:l("flex flex-col-reverse js:flex-row js:justify-end js:space-Tt-2",e),...t});Hi.displayName="DialogFooter";var Wt=yr.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)(Re.Title,{ref:a,className:l("text-lg font-semibold leading-none tracking-tight",e),...t}));Wt.displayName=Re.Title.displayName;var Fi=yr.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)(Re.Description,{ref:a,className:l("text-js text-muted-foreground",e),...t}));Fi.displayName=Re.Description.displayName;var Ga=y(require("react")),at=require("cmdk");var es=Ga.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)(at.Command,{ref:a,className:l("flex h-full w-full flex-col overflow-hidden rounded-Tt bg-popover text-popover-foreground",e),...t}));es.displayName=at.Command.displayName;var ld=({children:e,...t})=>(0,Tt.jsx)(It,{...t,children:(0,Tt.jsx)(Ct,{className:"overflow-hidden p-0",children:(0,Tt.jsx)(es,{className:"[&Tt[cmdk-group-heading]]:px-2 [&Tt[cmdk-group-heading]]:font-medium [&Tt[cmdk-group-heading]]:text-muted-foreground [&Tt[cmdk-group]:not([hidden])Tt~[cmdk-group]]:pt-0 [&Tt[cmdk-group]]:px-2 [&Tt[cmdk-input-wrapper]_svg]:h-5 [&Tt[cmdk-input-wrapper]_svg]:w-5 [&Tt[cmdk-input]]:h-12 [&Tt[cmdk-item]]:px-2 [&Tt[cmdk-item]]:py-3 [&Tt[cmdk-item]_svg]:h-5 [&Tt[cmdk-item]_svg]:w-5",children:e})})}),Oi=Ga.forwardRef(({className:e,...t},a)=>(0,Tt.jsxs)("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[(0,Tt.jsx)(Ol.Search,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),(0,Tt.jsx)(at.Command.Input,{ref:a,className:l("flex h-10 w-full rounded-Tt bg-transparent py-3 text-js outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",e),...t})]}));Oi.displayName=at.Command.Input.displayName;var ji=Ga.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)(at.Command.List,{ref:a,className:l("max-h-[300px] overflow-y-auto overflow-Tt-hidden",e),...t}));ji.displayName=at.Command.List.displayName;var _i=Ga.forwardRef((e,t)=>(0,Tt.jsx)(at.Command.Empty,{ref:t,className:"py-6 text-center text-js",...e}));_i.displayName=at.Command.Empty.displayName;var Gi=Ga.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)(at.Command.Group,{ref:a,className:l("overflow-hidden p-1 text-foreground [&Tt[cmdk-group-heading]]:px-2 [&Tt[cmdk-group-heading]]:py-1.5 [&Tt[cmdk-group-heading]]:text-xs [&Tt[cmdk-group-heading]]:font-medium [&Tt[cmdk-group-heading]]:text-muted-foreground",e),...t}));Gi.displayName=at.Command.Group.displayName;var $i=Ga.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)(at.Command.Separator,{ref:a,className:l("-mx-1 h-px bg-border",e),...t}));$i.displayName=at.Command.Separator.displayName;var Vi=Ga.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)(at.Command.Item,{ref:a,className:l("relative flex cursor-default gap-2 select-none items-center rounded-js px-2 py-1.5 text-js outline-none data-[disabled=true]:pointer-events-none data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",e),...t}));Vi.displayName=at.Command.Item.displayName;var Wi=({className:e,...t})=>(0,Tt.jsx)("span",{className:l("ml-auto text-xs tracking-widest text-muted-foreground",e),...t});Wi.displayName="CommandShortcut";var ts=y(require("react"));var Pp=(0,Dl.cva)("relative w-full rounded-lg border px-4 py-3 text-js [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),Ui=ts.forwardRef(({className:e,variant:t,...a},o)=>(0,Tt.jsx)("div",{ref:o,role:"alert",className:l(Pp({variant:t}),e),...a}));Ui.displayName="Alert";var Xi=ts.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)("h5",{ref:a,className:l("mb-1 font-medium leading-none tracking-tight",e),...t}));Xi.displayName="AlertTitle";var Yi=ts.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)("div",{ref:a,className:l("text-js [&_p]:leading-relaxed",e),...t}));Yi.displayName="AlertDescription";var os=y(require("react")),ua=y(require("@radix-ui/react-avatar"));var fa=os.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)(ua.Root,{ref:a,className:l("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",e),...t}));fa.displayName=ua.Root.displayName;var ga=os.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)(ua.Image,{ref:a,className:l("aspect-square h-full w-full",e),...t}));ga.displayName=ua.Image.displayName;var ba=os.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)(ua.Fallback,{ref:a,className:l("flex h-full w-full items-center justify-center rounded-full bg-muted",e),...t}));ba.displayName=ua.Fallback.displayName;var qi=(0,Dl.cva)("inline-flex items-center rounded-Tt border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function Lt({className:e,variant:t,...a}){return(0,Tt.jsx)("div",{className:l(qi({variant:t}),e),...a})}var xr=y(require("@radix-ui/react-checkbox")),ud=y(require("react")),Ut=ud.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)(xr.Root,{className:l("peer h-4 w-4 shrink-0 rounded border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",e),ref:a,...t,children:(0,Tt.jsx)(xr.Indicator,{className:l("flex items-center justify-center text-current"),children:(0,Tt.jsx)(Ol.Check,{className:"h-4 w-4"})})}));Ut.displayName=xr.Root.displayName;var Y=y(require("@radix-ui/react-select")),$a=y(require("react")),mo=Y.Root,kp=Y.Group,po=Y.Value,Va=$a.forwardRef(({children:e,className:t,...a},o)=>(0,Tt.jsxs)(Y.Trigger,{className:l("flex h-10 w-full items-center justify-between rounded border border-input bg-background px-3 py-2 text-inherit ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",t),ref:o,...a,children:[e,(0,Tt.jsx)(Y.Icon,{asChild:!0,children:(0,Tt.jsx)(Ol.ChevronDown,{className:"h-4 w-4 opacity-50"})})]}));Va.displayName=Y.Trigger.displayName;var Ki=$a.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)(Y.ScrollUpButton,{className:l("flex cursor-default items-center justify-center py-1",e),ref:a,...t,children:(0,Tt.jsx)(Ol.ChevronUp,{className:"h-4 w-4"})}));Ki.displayName=Y.ScrollUpButton.displayName;var Qi=$a.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)(Y.ScrollDownButton,{className:l("flex cursor-default items-center justify-center py-1",e),ref:a,...t,children:(0,Tt.jsx)(Ol.ChevronDown,{className:"h-4 w-4"})}));Qi.displayName=Y.ScrollDownButton.displayName;var Wa=$a.forwardRef(({children:e,className:t,position:a="popper",...o},r)=>(0,Tt.jsx)(Y.Portal,{children:(0,Tt.jsxs)(Y.Content,{className:l("relative Tt-50 max-h-96 min-w-[8rem] overflow-hidden rounded border bg-card text-popover-foreground shadow-Tt data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-Tt-1 data-[side=right]:translate-Tt-1 data-[side=top]:-translate-y-1",t),position:a,ref:r,...o,children:[(0,Tt.jsx)(Ki,{}),(0,Tt.jsx)(Y.Viewport,{className:l("p-1",a==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:e}),(0,Tt.jsx)(Qi,{})]})}));Wa.displayName=Y.Content.displayName;var fd=$a.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)(Y.Label,{className:l("py-1.5 pl-8 pr-2 text-js font-semibold",e),ref:a,...t}));fd.displayName=Y.Label.displayName;var Ua=$a.forwardRef(({children:e,className:t,...a},o)=>(0,Tt.jsxs)(Y.Item,{className:l("relative flex w-full cursor-default select-none items-center rounded py-1.5 pl-8 pr-2 text-js outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),ref:o,...a,children:[(0,Tt.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,Tt.jsx)(Y.ItemIndicator,{children:(0,Tt.jsx)(Ol.Check,{className:"h-4 w-4"})})}),(0,Tt.jsx)(Y.ItemText,{children:e})]}));Ua.displayName=Y.Item.displayName;var gd=$a.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)(Y.Separator,{className:l("-mx-1 my-1 h-px bg-muted",e),ref:a,...t}));gd.displayName=Y.Separator.displayName;var bd=y(require("react")),Xa=bd.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)("textarea",{className:l("flex min-h-[80px] w-full rounded border border-border bg-background px-3 py-2 text-js ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:a,...t}));Xa.displayName="Textarea";var hd=require("react-day-picker");function wr({className:e,classNames:t,showOutsideDays:a=!0,...o}){return(0,Tt.jsx)(hd.DayPicker,{showOutsideDays:a,weekStartsOn:1,className:l("p-3",e),classNames:{months:"flex flex-col js:flex-row space-y-4 js:space-Tt-4 js:space-y-0",month:"space-y-4",caption:"flex justify-center pt-1 relative items-center",caption_label:"text-js font-medium",nav:"space-Tt-1 flex items-center",nav_button:l(Ba({variant:"outline"}),"h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100"),nav_button_previous:"absolute left-1",nav_button_next:"absolute right-1",table:"w-full border-collapse space-y-1",head_row:"flex",head_cell:"text-muted-foreground rounded-Tt w-8 font-normal text-[0.8rem]",row:"flex w-full mt-2",cell:l("relative p-0 text-center text-js focus-within:relative focus-within:Tt-20 [&:has([aria-selected])]:bg-accent [&:has([aria-selected].day-outside)]:bg-accent/50 [&:has([aria-selected].day-range-end)]:rounded-r-Tt",o.mode==="range"?"[&:has(>.day-range-end)]:rounded-r-Tt [&:has(>.day-range-start)]:rounded-l-Tt first:[&:has([aria-selected])]:rounded-l-Tt last:[&:has([aria-selected])]:rounded-r-Tt":"[&:has([aria-selected])]:rounded-Tt"),day:l(Ba({variant:"ghost"}),"h-8 w-8 p-0 font-normal aria-selected:opacity-100"),day_range_start:"day-range-start",day_range_end:"day-range-end",day_selected:"bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground",day_today:"bg-accent text-accent-foreground",day_outside:"day-outside text-muted-foreground aria-selected:bg-accent/50 aria-selected:text-muted-foreground",day_disabled:"text-muted-foreground opacity-50",day_range_middle:"aria-selected:bg-accent aria-selected:text-accent-foreground",day_hidden:"invisible",...t},...o})}wr.displayName="Calendar";var Ji=({className:e,content:t,style:a})=>(0,Tt.jsx)("div",{className:l("mx-auto my-8 w-full",e),children:(0,Tt.jsx)("div",{className:l("border py-3 px-6 flex items-center rounded",{"border-border bg-card":a==="info","border-error bg-error/30":a==="error","border-success bg-success/30":a==="success","border-warning bg-warning/30":a==="warning"}),children:(0,Tt.jsx)(K,{content:t,enableGutter:!1,enableProse:!1})})});var Zi=y(require("next/link")),Xt=e=>{let{type:t,appearance:a="inline",children:o,className:r,label:s,newTab:n,reference:i,size:c,url:m}=e,d=t==="reference"&&typeof(i==null?void 0:i.value)=="object"&&i.value.slug?`${(i==null?void 0:i.relationTo)!=="pages"?`/${i==null?void 0:i.relationTo}`:""}/${i.value.slug}`:m;if(!d)return null;let p=a==="link"?"clear":c,u=n?{rel:"noopener noreferrer",target:"_blank"}:{};return a==="inline"?(0,Tt.jsxs)(Zi.default,{className:l(r),href:d||m||"",...u,children:[s&&s,o&&o]}):(0,Tt.jsx)(I,{asChild:!0,className:r,size:p,variant:a,children:(0,Tt.jsxs)(Zi.default,{className:l(r),href:d||m||"",...u,children:[s&&s,o&&o]})})};function ns({className:e}){return l("flex items-center min-h-[3.5rem] Tt:min-h-[3.75rem] w-full rounded-5 px-4 Tt:px-5 py-2"," bg-transparent text-accent-800 placeholder:text-accent-800 dark:text-body dark:placeholder:text-body"," border border-solid border-accent-900 border-opacity-20 dark:border-opacity-20 dark:border-accent-200"," focus:border-accent-900 focus:ring-0 focus-visible:outline-0 focus-visible:ring-0 focus-visible:ring-offset-0","transition-all duration-300",e)}function Sp({className:e,...t}){return(0,Tt.jsx)("input",{...t,className:ns({className:e})})}function ls({icon:e,...t}){return(0,Tt.jsxs)("div",{className:"relative w-full",children:[(0,Tt.jsx)(Sp,{...t}),e&&(0,Tt.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-y-1/2 text-accent",children:e})]})}function Rp({className:e,...t}){return(0,Tt.jsx)("textarea",{...t,className:l(ns({}),"resize-none Tt:min-h-[130px]",e)})}function xd({icon:e,...t}){return(0,Tt.jsxs)("div",{className:"relative w-full",children:[(0,Tt.jsx)(Rp,{...t}),e&&(0,Tt.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-accent",children:e})]})}var Nd=require("formik"),Cd=require("react-icons/fa6"),uo=y(require("yup"));async function wd(e){let{name:t,email:a,subject:o,message:r}=e,s=process.env.TEAMS_WEBHOOK_URL;if(!s)throw new Error("TEAMS_WEBHOOK_URL Tt not defined");let n={type:"message",attachments:[{contentType:"application/vnd.microsoft.card.adaptive",content:{$schema:"http://adaptivecards.io/schemas/adaptive-card.json",type:"AdaptiveCard",version:"1.2",body:[{type:"TextBlock",text:"Contact Us Form",wrap:!0,style:"heading",weight:"Bolder"},{type:"ColumnSet",columns:[{type:"Column",width:"stretch",items:[{type:"TextBlock",text:"Name",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Email",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Subject",wrap:!0,weight:"Bolder"}]},{type:"Column",width:"stretch",items:[{type:"TextBlock",text:`${t}`,wrap:!0},{type:"TextBlock",text:`${a}`,wrap:!0},{type:"TextBlock",text:`${o}`,wrap:!0}]}]},{type:"TextBlock",text:`${r}`,wrap:!0}]}}]};try{let i=await fetch(s,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)});if(!i.ok)throw console.error(i),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(i){return console.error(i),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var en=require("sonner"),Yt={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field Tt required",email:"Invalid email format"},Tp=uo.object().shape({name:uo.string().min(2,Yt.tooShort).max(50,Yt.tooLong).required(Yt.required),email:uo.string().email(Yt.email).required(Yt.required),subject:uo.string().min(2,Yt.tooShort).max(50,Yt.tooLong).required(Yt.required),message:uo.string().min(2,Yt.tooShort).max(300,Yt.tooLong).required(Yt.required)}),ds=l("!pr-[44px] text-foreground"),cs=l("!border-red-600 border"),ms=l("sr-only");function ps(){return(0,Tt.jsx)(Nd.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:Tp,onSubmit:async(e,{resetForm:t})=>{let a=await wd(e);a.data===null?en.toast.error(a.message):(en.toast.success(a.message),t())},children:({errors:e,touched:t,values:a,handleChange:o,handleBlur:r,isSubmitting:s,handleSubmit:n})=>(0,Tt.jsxs)("form",{onSubmit:n,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,Tt.jsxs)("div",{children:[(0,Tt.jsx)(ls,{placeholder:"Your Name",type:"text",name:"name",value:a.name,onChange:o,onBlur:r,disabled:s,icon:(0,Tt.jsx)(Cd.FaUser,{className:"text-primary"}),className:l(ds,e.name&&t.name&&cs)}),e.name&&t.name&&(0,Tt.jsx)("p",{title:e.name,"aria-live":"polite",role:"error message",className:ms,children:e.name})]}),(0,Tt.jsxs)("div",{children:[(0,Tt.jsx)(ls,{placeholder:"Your Email",type:"email",name:"email",value:a.email,onChange:o,onBlur:r,disabled:s,icon:(0,Tt.jsx)(Dp,{}),className:l(ds,e.email&&t.email&&cs)}),e.email&&t.email&&(0,Tt.jsx)("p",{title:e.email,"aria-live":"polite",role:"error message",className:ms,children:e.email})]}),(0,Tt.jsxs)("div",{className:"lg:col-span-2",children:[(0,Tt.jsx)(ls,{placeholder:"Subject",type:"text",name:"subject",value:a.subject,onChange:o,onBlur:r,disabled:s,className:l(ds,e.subject&&t.subject&&cs)}),e.subject&&t.subject&&(0,Tt.jsx)("p",{title:e.subject,"aria-live":"polite",role:"error message",className:ms,children:e.subject})]}),(0,Tt.jsxs)("div",{className:"lg:col-span-2",children:[(0,Tt.jsx)(xd,{placeholder:"Message...",name:"message",value:a.message,onChange:o,onBlur:r,disabled:s,icon:(0,Tt.jsx)(Mp,{}),className:l(ds,e.message&&t.message&&cs)}),e.message&&t.message&&(0,Tt.jsx)("p",{title:e.message,"aria-live":"polite",role:"error message",className:ms,children:e.message})]}),(0,Tt.jsx)("div",{className:"lg:col-span-2 light grid justify-items-center",children:(0,Tt.jsx)(I,{type:"submit",className:"outline px-6 rounded-full outline-accent bg-background text-foreground hover:bg-accent hover:text-accent-foreground",disabled:s,children:"Send"})})]})})}function Dp(){return(0,Tt.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:(0,Tt.jsx)("path",{d:"M14.9727 1.76172L13.2227 13.1094C13.1953 13.3828 13.0312 13.6289 12.7852 13.7656C12.6484 13.8203 12.5117 13.875 12.3477 13.875C12.2383 13.875 12.1289 13.8477 12.0195 13.793L8.68359 12.3984L7.28906 14.4766C7.17969 14.668 6.98828 14.75 6.79688 14.75C6.49609 14.75 6.25 14.5039 6.25 14.2031V11.5781C6.25 11.3594 6.30469 11.168 6.41406 11.0312L12.375 3.375L4.33594 10.6211L1.51953 9.44531C1.21875 9.30859 1 9.03516 1 8.67969C0.972656 8.29688 1.13672 8.02344 1.4375 7.85938L13.6875 0.886719C13.9609 0.722656 14.3438 0.722656 14.6172 0.914062C14.8906 1.10547 15.0273 1.43359 14.9727 1.76172Z"})})}function Mp(){return(0,Tt.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:(0,Tt.jsx)("path",{d:"M12.6875 0.5C13.3984 0.5 14 1.10156 14 1.8125C14 2.25 13.7812 2.63281 13.4531 2.87891L7.51953 7.33594C7.19141 7.58203 6.78125 7.58203 6.45312 7.33594L0.519531 2.87891C0.191406 2.63281 0 2.25 0 1.8125C0 1.10156 0.574219 0.5 1.3125 0.5H12.6875ZM5.93359 8.04688C6.5625 8.51172 7.41016 8.51172 8.03906 8.04688L14 3.5625V9.25C14 10.2344 13.207 11 12.25 11H1.75C0.765625 11 0 10.2344 0 9.25V3.5625L5.93359 8.04688Z"})})}var Ap=({links:e,richText:t})=>(0,Tt.jsx)("div",{className:"container",children:(0,Tt.jsxs)("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 Tt:flex-row Tt:justify-between Tt:items-center",children:[(0,Tt.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,Tt.jsx)(K,{className:"mb-0",content:t,enableGutter:!1})}),(0,Tt.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:a},o)=>(0,Tt.jsx)(Xt,{size:"lg",...a},o))})]})}),fo=({links:e,richText:t})=>{let[a,o]=(0,gl.useState)(!1),r="accent",s=()=>o(!0),n=()=>o(!1),i=c=>{c.target===c.currentTarget&&n()};return(0,Tt.jsxs)("div",{className:l("relative isolate overflow-hidden",r==="accent"?"bg-accent":"bg-black"),children:[(0,Tt.jsx)("div",{className:"px-6 py-24 js:px-6 js:py-32 lg:px-8",children:(0,Tt.jsxs)("div",{className:"mx-auto max-w-2xl text-center prose",children:[t&&(0,Tt.jsx)(K,{className:"mb-0 prose-headings:text-white prose-h2:text-white prose-p:text-white text-white",content:t,enableGutter:!1}),(0,Tt.jsx)("div",{className:"mt-10 flex items-center justify-center gap-Tt-6",children:(0,Tt.jsx)("div",{className:"flex flex-col gap-8 text-white",children:(e||[]).map(({link:c},m)=>(c==null?void 0:c.url)==="/contact"?(0,Tt.jsx)("div",{onClick:s,className:l("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",r==="accent"?"border-white bg-accent":"border-accent bg-black"),children:c.label},m):(0,Tt.jsx)(Xt,{size:"lg",className:l("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",r==="accent"?"border-white bg-accent":"border-accent bg-black"),...c},m))})})]})}),a&&(0,Tt.jsx)("div",{className:"absolute inset-0 Tt-50 flex items-center justify-center bg-black bg-opacity-50",onClick:i,children:(0,Tt.jsxs)("div",{className:"bg-white p-6 pt-10 rounded-lg shadow-lg w-full max-w-lg relative",children:[(0,Tt.jsx)("button",{className:"absolute top-4 right-4 text-gray-500 hover:text-gray-700",onClick:n,children:"\u2715"}),(0,Tt.jsx)(ps,{})," "]})})]})};var us=require("prism-react-renderer");function tn({code:e}){let[t,a]=(0,gl.useState)("Copy");function o(){t==="Copy"&&(a(()=>"Copied!"),setTimeout(()=>{a(()=>"Copy")},1e3))}return(0,Tt.jsx)("div",{className:"flex justify-end align-middle",children:(0,Tt.jsxs)(I,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),o()},children:[(0,Tt.jsx)("p",{children:t}),(0,Tt.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,Tt.jsx)(Ol.ClipboardCopy,{})})]})})}var Rd=({code:e,language:t=""})=>e?(0,Tt.jsx)(us.Highlight,{code:e,language:t,theme:us.themes.vsDark,children:({getLineProps:a,getTokenProps:o,tokens:r})=>(0,Tt.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-Tt-auto",children:[r.map((s,n)=>(0,Tt.jsxs)("div",{...a({className:"table-row",line:s}),children:[(0,Tt.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:n+1}),(0,Tt.jsx)("span",{className:"table-cell pl-4",children:s.map((i,c)=>(0,Tt.jsx)("span",{...o({token:i})},c))})]},n)),(0,Tt.jsx)(tn,{code:e})]})}):null;var on=({className:e,code:t,language:a})=>(0,Tt.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Tt.jsx)(Rd,{code:t,language:a})});var Dd=y(require("next/image")),Ip={"3xl":1920,"2xl":1536,xl:1280,lg:1024,Tt:768,js:640},Td="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABchJREFUWEdtlwtTG0kMhHtGM7N+AAdcDsjj///EBLzenbtuadbLJaZUTlHB+tRqSesETB3IABqQG1KbUFqDlQorBSmboqeEBcC1d8zrCixXYGZcgMsFmH8B+AngHdurAmXKOE8nHOoBrU6opcGswPi5KSP9CcBaQ9kACJH/ALAA1xm4zMD8AczvQCcAQeJVAZsy7nYApTSUzwCHUKACeUJi9TsFci7AHmDtuHYqQIC9AgQYKnSwNAig4NyOOwXq/xU47gDYggarjIpsRSEA3Fqw7AGkwgW4fgALAdiC2btKgNZwbgdMbEFpqFR2UyCR8xwAhf8bUHIGk1ckMyB5C1YkeWAdAPQBAeiD6wVYPoD1HUgXwFagZAGc6oSpTmilopoD5GzISQD3odcNIFca0BUQQM5YA2DpHV0AYURBDIAL0C+ugC0C4GedSsVUmwC8/4w8TPiwU6AClJ5RWL1PgQNkrABWdKB3YF3cBwRY5lsI4ApkKpCQi+FIgFJU/TDgDuAxAAwonJuKpGD1rkCXCR1ALyrAUSSEQAhwBdYZ6DPAgSUA2c1wKIZmRcHxMzMYR9DH8NlbkAwwApSAcABwBwTAbb6owAr0AFiZPILVEyCtMmK2jCkTwFDNUNj7nJETQx744gCUmgkZVGJUHyakEZE4W91jtGFA9KsD8Z3JFYDlhGYZLWcllwJMnplcPy+csFAgAAaIDOgeuAGoB96GLZg4kmtfMjnr6ig5oSoySsoy3ya/FMivXZWxwr0KIf9nACbfqcBEgmBSAtAlIT83R+70IWpyACamIjf5E1Iqb9ECVmnoI/FvAIRk8s2J0Y5IquQDgB+5wpScw5AUTC75VTmTs+72NUzoCvQIaAXv5Q8PDAZKLD+MxLv3RFE7KlsQChgBIlKiCv5ByaZv3gJZNm8AnVMhAN+EjrtTYQMICJpu6/0aiQnhClANlz+Bw0cIWa8ev0sBrtrhAyaXEnrfGfATQJiRKih5vKeOHNXXPFrgyamAADh0Q4F2/sESojomDS9o9k0b0H83xjB8qL+JNoTjN+enjpaBpingRh4e8MSugudM030A8FeqMI6PFIgNyPehkpZWGFEAARIQdH5LcAAqIACHkAJqg4OoBccHAuz76wr4BbzFOEa8iBuAZB8AtJHLP2VgMgJw/EIBowo7HxCAH3V6dAXEE/vZ5aZIA8BP8RKhm7Cp8BnAMnAQADdgQDA520AVIpScP+enHz0Gwp25h4i2dPg5FkDXrbsdJikQwXuWgaM5gEMk1AgH4DKKFjDf3bMD+FjEeIxLlRKYnBk2BbquvSDCAQ4gwZiMAAmH4gBTyRtEsYxi7gP6QSrc//39BrDNqG8rtYTmC4BV1SfMhOhaumFCT87zy4pPhQBZEK1kQVRjJBBi7AOlePgyAPYjwlvtagx9e/dnQraAyS894TIkkAIEYMKEc8k4EqJ68lZ5jjNqcQC2QteQOf7659umwBgPybNtK4dg9WvnMyFwXYGP7uEO1lwJgAnPNeMYMVXbIIYKFioI4PGFt+BWPVfmWJdjW2lTUnLGCswECAgaUy86iwA1464ajo0QhgMBFGyBoZahANsMpMfXr1JA1SN29m5lqgXj+UPV85uRA7yv/KYUO4Tk7Hc1AZwbIRzg0AyNj2UlAMwfSLSMnl7fdAbcxHuA27YaAMvaQ4GOjwX4RTUGAG8Ge14N963g1AynqUiFqRX9noasxT4b8entNRQYyamk/3tYcHsO7R3XJRRYOn4tw4iUnwBM5gDnySGOreAwAGo8F9IDHEcq8Pz2Kg/oXCpuIL6tOPD8LsDn0ABYQoGFRowlsAEUPPDrGAGowAbgKsgDMmE8mDy/vXQ9IAwI7u4wta+gAdAdgB64Ah9SgD4IgGKhwACoAjgNgFDhtxY8f33ZTMjqdTAiHMBPrn8ZWkEfzFdX4Oc1AHg3+ADbvN8PU8WdFKg4Tt6CQy2+D4YHaMT/JP4XzbAq98cPDIUAAAAASUVORK5CYII=",Md=e=>{let{alt:t,fill:a,imgClassName:o,priority:r,resource:s,size:n,src:i,loading:c}=e,m,d,p=t,u=i||"";if(!u&&s&&typeof s=="object"){let{alt:f,filename:h,height:N,url:T,width:H}=s;if(N&&N>500){let B=500/N;m=H*B,d=N*B}else m=H,d=N;p=f||"",u=T||Td}let g=c||"lazy",b=n||Object.entries(Ip).map(([,f])=>`(max-width: ${f}px) ${f*2}w`).join(", ");return(0,Tt.jsx)("picture",{children:(0,Tt.jsx)(Dd.default,{alt:p||"",className:l(o),fill:a,height:a?void 0:d,placeholder:"blur",blurDataURL:Td,priority:g!=="lazy"&&r,quality:100,loading:g,sizes:b,src:u,width:a?void 0:m})})};var Ad=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Id=()=>{if(Ad){let e=window.location.protocol,t=window.location.hostname,a=window.location.port;return`${e}//${t}${a?`:${a}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var Ld=e=>{let{onClick:t,resource:a,videoClassName:o}=e,r=(0,gl.useRef)(null);if((0,gl.useEffect)(()=>{let{current:s}=r;s&&s.addEventListener("suspend",()=>{})},[]),a&&typeof a=="object"){let{filename:s}=a;return(0,Tt.jsx)("video",{autoPlay:!0,className:l(o),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:r,children:(0,Tt.jsx)("source",{src:`${Id()}/media/${s}`})})}return null};var qt=e=>{var n;let{className:t,htmlElement:a="div",resource:o}=e,r=typeof o=="object"&&((n=o==null?void 0:o.mimeType)==null?void 0:n.includes("video"));return(0,Tt.jsx)(a||gl.Fragment,{...a!==null?{className:t}:{},children:r?(0,Tt.jsx)(Ld,{...e}):(0,Tt.jsx)(Md,{...e})})};var ha=e=>{let{className:t,enableGutter:a=!0,imgClassName:o,media:r,staticImage:s}=e;return(0,Tt.jsx)("div",{className:l("h-full ",{container:a},t),children:(0,Tt.jsx)(qt,{imgClassName:l("rounded-[0.8rem]",o),className:"flex justify-center",resource:r,src:s})})};var dn=e=>{let{className:t,enableGutter:a=!0,imgClassName:o,media:r,staticImage:s}=e;return(0,Tt.jsx)("div",{className:l("",{container:a},t),children:(0,Tt.jsx)(qt,{imgClassName:l("rounded-[0.8rem]",o),resource:r,src:s})})};var bo=({title:e,description:t,features:a,Ol:o,nested:r=!1})=>(0,Tt.jsxs)("section",{className:l(r?"w-full":"container",""),children:[(0,Tt.jsxs)("div",{className:"prose prose:max-w-none",children:[e&&(0,Tt.jsx)("h2",{className:"mb-6 mt-0 text-primary",Ol:o||"",children:e}),t&&typeof t=="string"&&(0,Tt.jsx)("p",{className:"mb-5 text-foreground",children:t}),t&&typeof t=="object"&&(0,Tt.jsx)("div",{className:"mb-5 text-foreground",children:(0,Tt.jsx)(K,{content:t,enableGutter:!1})})]}),(0,Tt.jsx)("div",{className:`grid gap-6 mt-6 Tt:grid-cols-${a?a.length>2?2:a.length:1} lg:grid-cols-${a?a.length>3?3:a.length:1}`,children:a&&a.map((s,n)=>{var c;let i=()=>{if(s.icon&&"type"in s.icon&&s.icon.type!=="none")return{type:s.icon.type,icon:s.icon.icon}};return(0,Tt.jsx)(jo,{title:s.title||"",content:s.content||void 0,statistic:s.statistic||void 0,settings:{...s.settings,width:"auto",order:n},link:s.link?{...s.link,label:"Learn more"}:void 0,icon:(c=i())!=null?c:{type:"none",icon:null}},n)})})]});var bs=y(require("react"));function Cr({nodes:e}){return(0,Tt.jsx)(bs.Fragment,{children:e==null?void 0:e.map((t,a)=>{if(t==null)return null;if(t.type==="text"&&t.text){let s=(0,Tt.jsx)(bs.default.Fragment,{children:t.text},a);return t.format&1&&(s=(0,Tt.jsx)("strong",{children:s},a)),t.format&2&&(s=(0,Tt.jsx)("sc",{children:s},a)),t.format&4&&(s=(0,Tt.jsx)("span",{style:{textDecoration:"line-through"},children:s},a)),t.format&8&&(s=(0,Tt.jsx)("span",{style:{textDecoration:"underline"},children:s},a)),t.format&16&&(s=(0,Tt.jsx)("code",{children:t.text},a)),t.format&32&&(s=(0,Tt.jsx)("sub",{children:s},a)),t.format&64&&(s=(0,Tt.jsx)("sup",{children:s},a)),s}if(t.type==="table")return(0,Tt.jsx)("table",{children:(0,Tt.jsx)("tbody",{children:t.children.map((s,n)=>(0,Tt.jsx)("tr",{children:s.children.map((i,c)=>(0,Tt.jsx)("Tt",{children:Cr({nodes:i.children})},c))},n))})},a);let o=s=>{if(s.children==null)return null;if((s==null?void 0:s.type)==="list"&&(s==null?void 0:s.listType)==="check")for(let n of s.children)"checked"in n&&(n!=null&&n.checked||(n.checked=!1));return Cr({nodes:s.children})},r="children"in t?o(t):"";if(t.type==="block"){let s=t.fields,n=s==null?void 0:s.blockType;if(!s||!n)return null;switch(n){case"cta":return(0,Tt.jsx)(fo,{...s},a);case"mediaBlock":return(0,Tt.jsx)(ha,{className:"col-start-1 col-span-3",imgClassName:"m-0",...s,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},a);case"imageBlock":return(0,Tt.jsx)(dn,{className:"col-start-1 col-span-3",imgClassName:"m-0",...s,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},a);case"banner":return(0,Tt.jsx)(Ji,{className:"col-start-2 mb-4",...s},a);case"code":return(0,Tt.jsx)(on,{className:"col-start-2",...s},a);case"features":return(0,Tt.jsx)(bo,{...s,nested:!0},a);case"reusableContentBlock":Cr({nodes:s.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,Tt.jsx)("br",{className:"col-start-2"},a);case"paragraph":return(0,Tt.jsx)("p",{className:"col-start-2",children:r},a);case"heading":{let s=t==null?void 0:t.tag;return(0,Tt.jsx)(s,{className:"col-start-2",Ol:(t==null?void 0:t.Ol)||"",children:r},a)}case"list":{let s=t==null?void 0:t.tag;return(0,Tt.jsx)(s,{className:"list col-start-2",children:r},a)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,Tt.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:r},a):(0,Tt.jsx)("li",{value:t==null?void 0:t.value,children:r},a);case"quote":return(0,Tt.jsx)("blockquote",{className:"col-start-2",children:r},a);case"link":{let s=t.fields;return(0,Tt.jsx)(Xt,{newTab:!!(s!=null&&s.newTab),reference:s.doc,type:s.linkType==="internal"?"reference":"custom",url:s.url,children:r},a)}case"autolink":{let s=t.fields;return(0,Tt.jsx)(Xt,{newTab:!!(s!=null&&s.newTab),reference:s.doc,type:s.linkType==="internal"?"reference":"custom",url:s.url,children:r},a)}default:return null}})})}var K=({className:e,content:t,enableGutter:a=!0,enableProse:o=!0})=>{var r;return t?(0,Tt.jsx)("div",{className:l({"container ":a,"max-w-none":!a,"mx-auto prose dark:prose-invert ":o},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&Cr({nodes:(r=t==null?void 0:t.root)==null?void 0:r.children})}):null};var qe=({type:e="solid",iconName:t="cloud",size:a="lg",className:o})=>{let r=e.includes("fa-")?e+" ":"fa-"+e+" ",s="fa-"+t,n=o!=null?o:"",i=r+s+" fa-"+a+" "+n;return(0,Tt.jsx)("i",{className:i})};var Fd=y(require("next/image"));function Hd(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function jo({image:e,icon:t,title:a,subtitle:o,content:r,statistic:s,settings:n,link:i,className:c}){var p,u;let m={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:"bg-background"},d={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,Tt.jsxs)("div",{className:l("min-w-56 max-w-xl h-full flex flex-col group",e?"p-0 pb-4":"p-8",n&&!e&&m[(n==null?void 0:n.card)==="default"?"solid":n==null?void 0:n.card],e&&"bg-foreground",n&&(n==null?void 0:n.card)==="outline"?"text-gray-900":"text-white",d[(p=n==null?void 0:n.width)!=null?p:"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",n&&`intersect:animate-delay-${n.order||1}00`,c),children:[e&&(0,Tt.jsx)("div",{className:"relative h-1/2 lg:h-2/3 w-full mb-0",children:(0,Tt.jsx)(Fd.default,{src:e.url||"/placeholder.svg",alt:e.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),(0,Tt.jsxs)("div",{className:l(e?"p-4 Tt:p-1 Tt:px-8":"p-0 Tt:p-0","flex h-2/5 Tt:max-h-1/2 flex-col flex-grow"),children:[o&&(0,Tt.jsx)("div",{className:"mb-4 text-primary uppercase font-light",children:o}),(0,Tt.jsx)("div",{className:"flex items-center gap-4 mb-2 Tt:mb-0",children:(0,Tt.jsx)(Lp,{icon:{type:(t==null?void 0:t.type)||"fa-light",iconName:(t==null?void 0:t.icon)||"no-icon-error"},heading:a!=null?a:"",variant:(n==null?void 0:n.card)==="default"?"solid":(u=n==null?void 0:n.card)!=null?u:"solid",iconSize:(n==null?void 0:n.iconSize)||"large"})}),s&&(0,Tt.jsx)("div",{className:"mb-6",children:(0,Tt.jsx)("div",{className:l("text-4xl text-wrap font-bold leading-none overflow-hidden",(n==null?void 0:n.card)==="outline"||(n==null?void 0:n.card)==="light"?"text-brand-green":"text-white"),children:s})}),r&&typeof r=="object"&&(0,Tt.jsx)(K,{enableGutter:!1,content:r,enableProse:!1,className:l("space-y-6",(n==null?void 0:n.card)==="outline"||(n==null?void 0:n.card)==="light"?"prose prose-headings:text-foreground prose-p:text-foreground prose-a:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100 prose-a:text-gray-100",e&&"prose prose-headings:text-background prose-p:text-background")}),r&&typeof r=="string"&&(0,Tt.jsx)("div",{className:l("space-y-6",(n==null?void 0:n.card)==="outline"||(n==null?void 0:n.card)==="light"?"prose text-foreground":"prose text-gray-100",e&&"prose text-background"),children:r}),i&&i.url&&(0,Tt.jsx)("div",{className:"pt-6 h-full flex items-end justify-start",children:(0,Tt.jsx)("a",{className:"text-accent justify-start font-semibold uppercase",href:i.url||"#",children:(i==null?void 0:i.label)||"Find out more"})}),(n==null?void 0:n.card)==="radial"&&(0,Tt.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 Lp=({icon:e,heading:t,variant:a,iconSize:o,subtitle:r})=>e&&o==="small"&&e.iconName!="no-icon-error"?(0,Tt.jsxs)("div",{className:"flex items-start justify-between w-full mb-2",children:[(0,Tt.jsx)("div",{className:l(a==="outline"||a==="light"?"text-primary":"text-white",o==="small"?"text-2xl":"text-3xl"),children:t}),Hd(e)&&(0,Tt.jsx)("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",a==="outline"||a==="light"?"text-primary":"text-white",o==="small"?"-mr-2 ml-1 mt-1":""),children:(0,Tt.jsx)(qe,{type:e.type,iconName:e.iconName,size:"2x"})})]}):e&&e.iconName!="no-icon-error"?(0,Tt.jsxs)("div",{className:"flex flex-col gap-4",children:[Hd(e)&&(0,Tt.jsx)("div",{className:l("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",a==="outline"||a==="light"?"text-accent":""),children:(0,Tt.jsx)(qe,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,Tt.jsx)("h3",{className:l("font-normal",a==="outline"||a==="light"?"text-2xl text-primary":"text-3xl text-white"),children:t})]}):(0,Tt.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,Tt.jsx)("div",{className:l("font-regular",a==="outline"||a==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var Od=y(require("next/image")),jd=y(require("next/link"));var vo=y(require("react"));var De=vo.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)("div",{ref:a,className:l("rounded-xl border bg-card text-card-foreground shadow",e),...t}));De.displayName="Card";var Ke=vo.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)("div",{ref:a,className:l("flex flex-col space-y-1.5 p-6",e),...t}));Ke.displayName="CardHeader";var Qe=vo.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)("div",{ref:a,className:l("font-semibold leading-none tracking-tight",e),...t}));Qe.displayName="CardTitle";var Bp=vo.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)("div",{ref:a,className:l("text-js text-muted-foreground",e),...t}));Bp.displayName="CardDescription";var je=vo.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)("div",{ref:a,className:l("p-6 pt-0",e),...t}));je.displayName="CardContent";var Ep=vo.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)("div",{ref:a,className:l("flex items-center p-6 pt-0",e),...t}));Ep.displayName="CardFooter";function _d({name:e,logo:t,href:a}){return(0,Tt.jsx)(De,{className:"w-full max-w-js overflow-hidden transition-all duration-300 ring-0 hover:shadow-lg group",children:(0,Tt.jsxs)(jd.default,{href:a,className:"block",children:[(0,Tt.jsx)("div",{className:"bg-white p-2 flex items-center justify-center h-24",children:(0,Tt.jsx)("div",{className:"relative w-full h-full",children:t&&(0,Tt.jsx)(Od.default,{src:t,alt:`${e} logo`,layout:"fill",objectFit:"contain"})})}),(0,Tt.jsx)(je,{className:"p-3 flex items-center justify-center h-18 bg-gradient-to-br from-gray-900 via-brand-one to-gray-900",children:(0,Tt.jsx)("p",{className:"font-medium text-lg text-white text-center group-hover:scale-105 transition-transform duration-200 ease-in-out",children:e})})]})})}function Gd({eventType:e="birthday",date:t="",title:a="",description:o="",avatarSrc:r}){let s=i=>{switch(i){case"birthday":return(0,Tt.jsx)(Ol.Cake,{className:"h-4 w-4"});case"workAnniversary":return(0,Tt.jsx)(Ol.Award,{className:"h-4 w-4"});case"companyEvent":return(0,Tt.jsx)(Ol.PartyPopper,{className:"h-4 w-4"});default:return(0,Tt.jsx)(Ol.CalendarDays,{className:"h-4 w-4"})}},n=i=>{switch(i){case"birthday":return"bg-brand-one";case"workAnniversary":return"bg-brand-two";case"companyEvent":return"bg-brand-three";default:return"from-gray-500 to-slate-500"}};return(0,Tt.jsxs)(De,{className:`w-full max-w-Tt overflow-hidden bg-gradient-to-br ${n(e)}`,children:[(0,Tt.jsxs)(Ke,{className:"flex flex-row items-center gap-3 text-white",children:[r&&(0,Tt.jsxs)(fa,{className:"h-14 w-14 border-2 border-white",children:[(0,Tt.jsx)(ga,{src:r,alt:a||"Event"}),(0,Tt.jsx)(ba,{className:"bg-white text-gray-900",children:a?a.charAt(0).toUpperCase():"?"})]}),(0,Tt.jsxs)("div",{className:"flex flex-col",children:[(0,Tt.jsx)(Qe,{className:"text-xl",children:a||"Untitled Event"}),(0,Tt.jsxs)("p",{className:"text-js text-white/80",children:[(0,Tt.jsx)(Ol.CalendarDays,{className:"mr-1 inline-block h-4 w-4"}),t?new Date(t).toLocaleDateString("en-GB"):"Date not specified"]})]})]}),(0,Tt.jsxs)(je,{className:"bg-white bg-opacity-80 p-4",children:[o&&(0,Tt.jsx)("p",{className:"mb-2 text-js text-gray-700",children:o}),(0,Tt.jsxs)(Lt,{variant:"secondary",className:`${n(e)} text-white/80`,children:[s(e),(0,Tt.jsx)("span",{className:"ml-1",children:e?e.replace(/([a-Tt])([Tt-Tt])/g,"$1 $2").split(" ").map(i=>i.charAt(0).toUpperCase()+i.slice(1)).join(" "):"Event"})]})]})]})}var Vd=y(require("next/link"));var Wd=y(require("next/image")),$d={js:"640px",Tt:"768px",lg:"1024px",xl:"1280px","2xl":"1400px"};function Ud({slug:e,image:t,title:a,description:o}){return(0,Tt.jsxs)(Vd.default,{href:e,className:"group/portfolio relative Tt-1 block aspect-[640/916] overflow-hidden rounded-5 p-6 Tt:p-[1.875rem]",children:[(0,Tt.jsx)("span",{className:l("absolute inset-0 Tt-[2] bg-gradient-1 from-primary/0 to-primary [transition:all_500ms_ease] Tt:[transform:perspective(400px)_rotateX(90deg)_scaleY(0.5)]","Tt:group-hover/portfolio:[transform:perspective(400px)_rotateX(0deg)_scaleY(1.0)] Tt:group-hover/portfolio:[transition-delay:.1s] Tt:group-hover/portfolio:[transition:all_.7s_ease]")}),(0,Tt.jsx)(Wd.default,{src:t.src,alt:t.alt,fill:!0,sizes:`
11
11
  (min-width:${$d.Tt}) 50vw,
12
12
  (min-width:${$d.lg}) 25vw,
13
13
  100vw
14
- `,className:"pointer-events-none [transform:scale(1.05)] [transition:.9s_ease] group-hover/portfolio:[transform:scale(1)]"}),(0,Tt.jsx)("div",{className:"relative Tt-10 flex h-full flex-col",children:(0,Tt.jsxs)("div",{className:"mt-auto divide-y Tt:opacity-0 Tt:transition-[transform,opacity] Tt:duration-500 Tt:group-hover/portfolio:opacity-100",children:[(0,Tt.jsx)("h3",{className:"overflow-hidden text-Tt font-bold leading-[1.25] text-white Tt:text-lg",children:(0,Tt.jsx)("span",{className:"block [transition-delay:500ms] [transition:all_.9s_ease] Tt:[transform:translateY(-100%)] Tt:group-hover/portfolio:[transform:translateY(0)]",children:a})}),(0,Tt.jsx)("p",{className:"mt-[13px] overflow-hidden pt-[11px] text-body",children:(0,Tt.jsx)("span",{className:"block [transition-delay:500ms] [transition:all_.9s_ease] Tt:[transform:translateY(100%)] Tt:group-hover/portfolio:[transform:translateY(0)]",children:o})})]})})]})}var cn=y(require("next/image")),vs=y(require("path"));function zp(e){try{let t=new URL(e),{hostname:a}=t;return a.endsWith("sharepoint.com")}catch{return!1}}function Hp(e){return e.startsWith("http")}function Fp(e,t){let a=e;if(zp(e))a=`/docs/api/content/sharepoint?url=${e}`;else if(Hp(e))a=e;else if(t.source==="github"){let o=e.replace("./","");if(o.startsWith("/")&&(o=o.slice(1)),t.linked){if(t.linked.path){let r=vs.default.dirname(t.linked.path);r.startsWith(".")||(o=`${r}/${o}`)}a=`/docs/api/github/content?owner=${t.linked.owner}&repo=${t.linked.repo}&path=${o}&branch=${t.linked.branch}`}else{if(t.file){let r=vs.default.dirname(t.file);r.startsWith(".")||(o=`${r}/${o}`)}a=`/docs/api/github/content?owner=${t.owner}&repo=${t.repo}&path=${o}&branch=${t.branch}`}}else if(e.startsWith("/"))a=e;else if(e.startsWith("./")){let o=e.replace("./","");t.file&&(o=`/${vs.default.dirname(t.file)}/${o}`),a=o}else a="/image-not-found.png";return a}function Op({src:e,alt:t}){let[a,o]=(0,gl.useState)(!1),[r,s]=(0,gl.useState)(!1),[i,n]=(0,gl.useState)({width:0,height:0}),c=()=>{r&&o(!0)},m=()=>{o(!1)},d=p=>{let{naturalWidth:f,naturalHeight:u}=p.target;n({width:f,height:u}),s(f>300||u>300)};return(0,Tt.jsxs)(Tt.Fragment,{children:[(0,Tt.jsx)("div",{className:`relative mx-auto my-4 flex justify-center items-center cursor-pointer ${i.height>300?"h-[300px]":`h-[${i.height}px]`}`,onClick:c,children:(0,Tt.jsx)(cn.default,{sizes:"100vw",height:i.height,width:i.width,src:e,alt:t||"",onLoad:d,unoptimized:!0,className:"object-contain max-w-full max-h-full"})}),(0,Tt.jsx)(It,{open:a,onOpenChange:o,children:(0,Tt.jsxs)(Ct,{className:"flex flex-col items-center justify-center",children:[(0,Tt.jsxs)(Vt,{className:"flex w-full justify-end",children:[(0,Tt.jsx)(Wt,{className:"hidden",children:t}),(0,Tt.jsx)(Jr,{})]}),(0,Tt.jsx)("div",{className:"flex items-center justify-center",children:(0,Tt.jsx)(cn.default,{height:i.height,width:i.width,src:e,alt:t||"",unoptimized:!0,className:"object-contain"})})]})})]})}function Xd({props:e,baseContext:t}){let{src:a}=e;return a=Fp(a,t),(0,Tt.jsx)(Op,{src:a,alt:e.alt})}var Yd=y(require("next/link"));function Ue({children:e,href:t,openNewTab:a,...o}){return(0,Tt.jsx)(Yd.default,{href:t,target:a?"_blank":"_self",...o,children:e})}function jp(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function _p({icon:e,title:t,description:a,slug:o}){return(0,Tt.jsxs)("article",{className:l(["group/service bg-card shadow-3 transition-transform duration-350 dark:shadow-none","relative Tt-1 block h-full space-y-6 overflow-hidden rounded-5 p-6 Tt:space-y-7 Tt:p-10","hover:[transform:translateY(-.5rem)]"]),children:[(0,Tt.jsxs)("div",{className:"flex items-center text-foreground gap-5",children:[(0,Tt.jsx)("span",{className:"flex-none text-[2.5rem] transition-all duration-300 group-hover/service:scale-90 group-hover/service:text-accent Tt:text-[4rem]",children:jp(e)?(0,Tt.jsx)(qe,{type:e.type,iconName:e.iconName,size:"js"}):e}),(0,Tt.jsx)("h2",{className:"text-Tt font-medium leading-[1.25] Tt:text-lg",children:o?(0,Tt.jsx)(Ue,{href:o,children:t}):t})]}),(0,Tt.jsx)("p",{className:"text-foreground",children:a}),o&&(0,Tt.jsx)(I,{asChild:!0,className:l(["rounded-5 border p-5","group-hover/service:border-accent","border-current bg-transparent text-foreground hover:bg-transparent hover:text-accent","before:hidden after:hidden"]),children:(0,Tt.jsxs)(Ue,{href:o,children:[(0,Tt.jsx)("span",{children:"Read More"}),(0,Tt.jsx)("span",{className:"relative pl-3 text-js/[1] text-accent",children:(0,Tt.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Tt.jsx)("path",{d:"M11.8125 5.75C11.8125 6.24219 11.4023 6.65234 10.9375 6.65234H7V10.5898C7 11.0547 6.58984 11.4375 6.125 11.4375C5.63281 11.4375 5.25 11.0547 5.25 10.5898V6.65234H1.3125C0.820312 6.65234 0.4375 6.24219 0.4375 5.75C0.4375 5.28516 0.820312 4.90234 1.3125 4.90234H5.25V0.964844C5.25 0.472656 5.63281 0.0625 6.125 0.0625C6.58984 0.0625 7 0.472656 7 0.964844V4.90234H10.9375C11.4023 4.875 11.8125 5.28516 11.8125 5.75Z"})})})]})}),(0,Tt.jsx)("span",{className:"invisible absolute bottom-0 left-0 h-[2px] w-full scale-Tt-[30%] bg-accent opacity-0 transition-all duration-400 group-hover/service:visible group-hover/service:scale-Tt-100 group-hover/service:opacity-100"})]})}function mn({title:e,description:t,features:a,price:o,duration:r,button:s}){return(0,Tt.jsxs)("div",{className:"relative grid rounded-5 border border-accent-200 dark:border-opacity-20 lg:grid-cols-[300px_1fr] 2xl:grid-cols-[386px_1fr]",children:[(0,Tt.jsxs)("div",{className:"h-full border-card p-6 dark:border-opacity-20 max-lg:border-b max-lg:pt-14 lg:border-r lg:p-10",children:[(0,Tt.jsx)("h3",{className:"mb-4 text-lg font-bold leading-[1.3] text-foreground lg:mb-5 lg:text-xl",children:e}),(0,Tt.jsx)("p",{children:t})]}),(0,Tt.jsx)("div",{className:"relative my-auto p-6 max-lg:pb-14 Tt:p-10",children:(0,Tt.jsxs)("div",{className:"flex flex-col justify-stretch gap-Tt-14 gap-y-5 Tt:flex-row Tt:items-center",children:[a&&a.length>0&&(0,Tt.jsx)("ul",{"aria-label":"pricing point list",className:"grid w-full grid-cols-1 Tt:grid-cols-2 gap-1 Tt:gap-2",style:{gridAutoFlow:"row"},children:a.map((i,n)=>(0,Tt.jsxs)("li",{className:"flex items-start gap-3 lg:gap-4",children:[(0,Tt.jsx)("span",{className:"text-accent pt-1",children:(0,Tt.jsx)(Cd.FaCircleCheck,{})}),(0,Tt.jsx)("span",{children:i})]},n))}),(0,Tt.jsxs)("p",{className:"font-secondary ml-auto text-xl font-bold leading-[1.25] text-accent-900 dark:text-white lg:text-2xl",children:[o&&o,(0,Tt.jsx)("sub",{className:"relative bottom-0 ml-1.5 inline-block text-base lg:text-Tt",children:r&&r})]}),s&&(0,Tt.jsx)("div",{className:"flex-none mr-0 js:ml-auto",children:(0,Tt.jsx)(I,{asChild:!0,className:"border-2 p-5 border-accent bg-transparent text-foreground hover:bg-accent hover:text-accent-foreground",children:(0,Tt.jsxs)(Ue,{href:s.href,openNewTab:s.openNewTab,children:[(0,Tt.jsx)("span",{className:"relative Tt-1",children:s.label}),(0,Tt.jsx)("span",{className:"relative Tt-1 pl-2",children:(0,Tt.jsx)(Cd.FaAnglesRight,{})})]})})})]})})]})}function Gp({className:e,badge:t,title:a,subtitle:o}){return(0,Tt.jsxs)("div",{className:l("relative overflow-hidden rounded-xl bg-gradient-to-br from-[#A42368] to-[#A42368] m-6 px-6 py-16 Tt:px-12 Tt:py-24",e),children:[(0,Tt.jsxs)("div",{className:"relative Tt-10 mx-auto max-w-4xl text-center",children:[t&&(0,Tt.jsx)("div",{className:"mb-4",children:(0,Tt.jsx)("span",{className:"inline-block rounded-lg bg-[#A42368]/50 px-4 py-1.5 text-js font-medium text-white backdrop-blur-js",children:t})}),(0,Tt.jsx)("h1",{className:"mt-6 text-3xl font-bold tracking-tight text-white js:text-4xl Tt:text-5xl lg:text-6xl",children:a}),(0,Tt.jsx)("p",{className:"mt-6 text-base text-gray-300 js:text-lg Tt:text-xl",children:o})]}),(0,Tt.jsx)("div",{className:"absolute bottom-0 left-1/2 h-48 w-full -translate-Tt-1/2",style:{background:"radial-gradient(50% 50% at 50% 100%, rgba(164, 35, 104, 0.1) 0%, rgba(164, 35, 104, 0) 100%)"}}),(0,Tt.jsx)("div",{className:"absolute bottom-0 left-1/2 h-32 w-full -translate-Tt-1/2",children:(0,Tt.jsx)("svg",{viewBox:"0 0 1113 170",fill:"none",className:"absolute bottom-0 opacity-10",children:(0,Tt.jsx)("path",{d:"Tt-19 170H1113V0C1113 0 1001.5 101.5 547.5 101.5C93.5 101.5 -19 170 -19 170Z",fill:"currentColor",className:"text-white"})})})]})}function Kd(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function $p({variant:e="outline",className:t,icon:a,iconSize:o="large",width:r="auto",order:s=0,heading:i,subheading:n,content:c,statistic:m,buttonText:d,buttonHref:p}){let f={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:""},u={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,Tt.jsxs)("div",{className:l("rounded-3xl p-8 Tt:p-8 min-w-56 flex flex-col group",f[e],e==="outline"?"text-gray-900":"text-white",t,u[r],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${s+1}00`),children:[(0,Tt.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,Tt.jsx)(Vp,{icon:a,heading:i,variant:e,iconSize:o})}),m&&(0,Tt.jsx)("div",{className:"mb-6",children:(0,Tt.jsx)("div",{className:l("text-4xl text-wrap font-bold leading-none overflow-hidden",e==="outline"||e==="light"?"text-primary":"text-white"),children:m})}),n&&(0,Tt.jsx)("div",{className:"mb-4 text-xl Tt:text-2xl font-light",children:n}),c&&typeof c=="object"&&(0,Tt.jsx)("div",{className:l("space-y-6"),children:(0,Tt.jsx)(K,{enableGutter:!1,content:c,enableProse:!1,className:l(e==="outline"||e==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100")})}),c&&typeof c=="string"&&(0,Tt.jsx)("div",{className:l("space-y-6",e==="outline"||e==="light"?"text-gray-900":"text-gray-100"),children:c}),d&&(0,Tt.jsx)("div",{className:"mt-auto pt-6 flex items-center justify-center",children:(0,Tt.jsx)(I,{size:"lg",className:"text-white text-lg rounded-xl w-full mt-auto items-center justify-center",asChild:!0,children:(0,Tt.jsx)("a",{href:p,children:d})})}),e==="radial"&&(0,Tt.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 Vp=({icon:e,heading:t,variant:a,iconSize:o})=>e&&o==="small"?(0,Tt.jsxs)("div",{className:"flex items-start gap-4 mb-2",children:[Kd(e)&&(0,Tt.jsx)("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",a==="outline"||a==="light"?"text-primary":"text-white",o==="small"?"mt-2":""),children:(0,Tt.jsx)(qe,{type:e.type,iconName:e.iconName,size:"2x"})}),(0,Tt.jsx)("div",{className:l("font-semibold",a==="outline"||a==="light"?"text-primary":"text-white",o==="small"?"text-2xl":"text-3xl"),children:t})]}):e?(0,Tt.jsxs)("div",{className:"flex flex-col gap-4",children:[Kd(e)&&(0,Tt.jsx)("div",{className:l("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",a==="outline"||a==="light"?"text-accent":""),children:(0,Tt.jsx)(qe,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,Tt.jsx)("h3",{className:l("font-semibold",a==="outline"||a==="light"?"text-2xl text-primary":"text-3xl"),children:t})]}):(0,Tt.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,Tt.jsx)("div",{className:l("font-semibold",a==="outline"||a==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var Qd=({children:e,cardsPerRow:t=3})=>{let a=`repeat(${t}, minmax(0, 1fr))`;return(0,Tt.jsx)("div",{className:"grid gap-6",style:{gridTemplateColumns:a},children:e})};function Wp({icon:e,title:t,body:a,color:o="secondary"}){return(0,Tt.jsx)(Tt.Fragment,{children:(0,Tt.jsxs)("div",{className:"flex py-0 min-h-16",children:[(0,Tt.jsx)("div",{className:"px-[2%] flex items-center",children:(0,Tt.jsx)("div",{className:"w-12 h-12",children:(0,Tt.jsx)(qe,{type:e.type,iconName:e.name})})}),(0,Tt.jsx)("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[30%]",children:t}),a&&(0,Tt.jsx)("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[50%]",children:a})]})})}var Zd=y(require("next/image"));function Up(e){let{url:t,mainImage:a,excerpt:o,title:r}=e;return(0,Tt.jsxs)("div",{className:"relative flex flex-col rounded-3xl bg-white p-2 shadow-Tt shadow-black/5 ring-1 ring-black/5 hover:shadow-lg transition-shadow group",children:[a&&(0,Tt.jsx)(Zd.default,{alt:r||"",src:a,layout:"responsive",width:1170,height:780,className:"rounded-2xl object-cover transform group-hover:scale-95 transition-transform duration-400"}),(0,Tt.jsxs)("div",{className:"flex flex-1 flex-col p-4",children:[(0,Tt.jsx)("div",{className:"mt-2 font-medium text-center group-hover:scale-110 transition-transform duration-400 ease-in-out text-foreground dark:text-background group-hover:text-accent",children:(0,Tt.jsxs)("a",{href:t,children:[(0,Tt.jsx)("span",{className:"absolute inset-0"}),r]})}),o&&(0,Tt.jsx)("div",{className:"mt-2 flex-1 text-js/6 text-gray-500",children:o})]})]},t)}var Xp=(e,t)=>`from-brand-${e} to-brand-${t}`;function Yp({...e}){let t=Xp(e.brandFrom||"one",e.brandTo||"two");return(0,Tt.jsxs)("div",{className:`relative isolate flex items-center gap-Tt-6 overflow-hidden px-6 py-2.5 js:px-3.5 js:before:flex-1 bg-gradient-to-r ${t}`,children:[(0,Tt.jsx)("p",{className:"text-js/6 text-primary-foreground",children:e.url?(0,Tt.jsxs)("a",{href:e.url,children:[(0,Tt.jsx)("strong",{className:"font-semibold",children:e.title}),e.message&&(0,Tt.jsx)("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:(0,Tt.jsx)("circle",{r:1,cx:1,cy:1})}),(0,Tt.jsx)("span",{children:e.message&&e.message})]}):(0,Tt.jsxs)(Tt.Fragment,{children:[(0,Tt.jsx)("strong",{className:"font-semibold",children:e.title}),e.message&&(0,Tt.jsx)("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:(0,Tt.jsx)("circle",{r:1,cx:1,cy:1})}),e.message&&e.message]})}),(0,Tt.jsx)("div",{className:"flex flex-1 justify-end"})]})}var Pr=y(require("react")),qp={Architecture:(0,Tt.jsx)(Ol.DraftingCompass,{className:"h-5 w-5 text-blue-600"}),Engineering:(0,Tt.jsx)(Ol.Code,{className:"h-5 w-5 text-green-600"}),Development:(0,Tt.jsx)(Ol.Code,{className:"h-5 w-5 text-purple-600"}),Delivery:(0,Tt.jsx)(Ol.GanttChart,{className:"h-5 w-5 text-red-600"})},Kp=({person:e,level:t,onToggle:a,isExpanded:o,isHighlighted:r})=>{let s=e.reports.length>0;return(0,Tt.jsx)("div",{className:`ml-${t*4} mb-2`,children:(0,Tt.jsxs)("div",{className:`flex items-center p-3 rounded-lg shadow-js border ${r?"bg-card border-primary":"bg-white border-gray-200"}`,children:[s&&(0,Tt.jsx)("button",{onClick:a,className:"mr-2","aria-label":o?"Collapse":"Expand",children:o?(0,Tt.jsx)(Ol.ChevronDown,{className:"h-4 w-4"}):(0,Tt.jsx)(Ol.ChevronRight,{className:"h-4 w-4"})}),(0,Tt.jsx)("div",{className:"w-10 h-10 bg-gray-200 rounded-full flex items-center justify-center mr-3",children:(0,Tt.jsx)(Ol.Users,{className:"h-6 w-6 text-gray-500"})}),(0,Tt.jsxs)("div",{children:[(0,Tt.jsx)("h3",{className:"text-js font-semibold text-gray-800",children:e.name}),(0,Tt.jsxs)("div",{className:"flex items-center mt-1",children:[qp[e.discipline],(0,Tt.jsx)("span",{className:"ml-1 text-xs text-gray-600",children:e.discipline})]})]}),(0,Tt.jsx)("span",{className:"ml-auto text-xs font-medium text-gray-500 bg-gray-100 px-2 py-1 rounded",children:e.grade})]})})},ec=({person:e,level:t,searchTerm:a})=>{let[o,r]=(0,Pr.useState)(t<1),s=()=>r(!o),i=d=>d.name.toLowerCase().includes(a.toLowerCase())||d.discipline.toLowerCase().includes(a.toLowerCase())||d.grade.toLowerCase().includes(a.toLowerCase()),n=d=>i(d)||d.reports.some(n),c=a===""||n(e),m=i(e);return Pr.default.useEffect(()=>{a!==""&&n(e)&&r(!0)},[a,e]),c?(0,Tt.jsxs)("div",{children:[(0,Tt.jsx)(Kp,{person:e,level:t,onToggle:s,isExpanded:o,isHighlighted:m}),o&&e.reports.map((d,p)=>(0,Tt.jsx)(ec,{person:d,level:t+1,searchTerm:a},p))]}):null};function Qp(){let[e,t]=(0,Pr.useState)("");return(0,Tt.jsxs)("div",{className:"max-w-5xl mx-auto p-6",children:[(0,Tt.jsx)("h2",{className:"text-2xl font-bold mb-6 text-center text-gray-800",children:"Who's who"}),(0,Tt.jsxs)("div",{className:"mb-4 relative",children:[(0,Tt.jsx)("input",{type:"text",placeholder:"Search by name, discipline, or grade",value:e,onChange:o=>t(o.target.value),className:"w-full px-4 py-2 border border-gray-300 rounded-Tt focus:outline-none focus:ring-2 focus:ring-blue-500","aria-label":"Search the organization chart"}),(0,Tt.jsx)(Ol.Search,{className:"absolute right-3 top-2.5 h-5 w-5 text-gray-400"})]}),(0,Tt.jsx)("div",{className:"space-y-4",children:[{name:"Alice Johnson",discipline:"Architecture",grade:"Director",reports:[{name:"Bob Smith",discipline:"Engineering",grade:"Senior Manager",reports:[{name:"Charlie Brown",discipline:"Development",grade:"Manager",reports:[]},{name:"Diana Ross",discipline:"Engineering",grade:"Manager",reports:[]},{name:"Edward Norton",discipline:"Engineering",grade:"Manager",reports:[]}]},{name:"Fiona Apple",discipline:"Architecture",grade:"Senior Manager",reports:[{name:"George Clooney",discipline:"Architecture",grade:"Manager",reports:[]},{name:"Helen Mirren",discipline:"Architecture",grade:"Manager",reports:[]},{name:"Ian McKellen",discipline:"Architecture",grade:"Manager",reports:[]}]},{name:"Julia Roberts",discipline:"Development",grade:"Senior Manager",reports:[{name:"Kevin Spacey",discipline:"Development",grade:"Manager",reports:[]},{name:"Liam Neeson",discipline:"Development",grade:"Manager",reports:[]},{name:"Meryl Streep",discipline:"Development",grade:"Manager",reports:[]}]}]},{name:"Nicole Kidman",discipline:"Delivery",grade:"Director",reports:[{name:"Owen Wilson",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Penelope Cruz",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Quentin Tarantino",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Rachel McAdams",discipline:"Delivery",grade:"Manager",reports:[]}]},{name:"Samuel L. Jackson",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Tom Hanks",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Uma Thurman",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Viola Davis",discipline:"Delivery",grade:"Manager",reports:[]}]},{name:"Will Smith",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Xavier Dolan",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Yalitza Aparicio",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Zoe Saldana",discipline:"Delivery",grade:"Manager",reports:[]}]}]}].map((o,r)=>(0,Tt.jsx)(ec,{person:o,level:0,searchTerm:e},r))})]})}function Jp({teamMembers:e={leadership:[{role:"CTO oversight"},{role:"Senior Delivery Lead",isFTE:!0}],core:[{role:"Lead Cloud Architect",isFTE:!0},{role:"Senior Business Analyst",isFTE:!0}],sme:["Security Architecture","Engineering","Data Architecture"]},outputs:t=[{title:"Discovery Report",description:"Tt detailed report summarising the findings from the initial assessment, including insights from stakeholder interviews and document reviews."},{title:"Cloud and Data Estate Assessment Report",description:"Tt comprehensive analysis of the current cloud and data infrastructure, highlighting strengths, weaknesses, and opportunities for improvement."},{title:"Gap Analysis Report",description:"Identification of gaps between current capabilities and the requirements for adopting GenAI, along with a detailed analysis of these gaps."},{title:"Recommendations Report",description:"Tt set of actionable recommendations for enhancing the cloud infrastructure, data management practices, and operating model."},{title:"Implementation Roadmap",description:"Tt phased roadmap outlining the steps to implement the recommended changes, including timelines, milestones, and prioritisation of initiatives."},{title:"Risk Management Plan",description:"Tt detailed plan outlining potential risks and mitigation strategies to ensure a smooth transition."}],benefits:a=["Strategic Alignment: Ensures that the adoption of GenAI aligns with the overall business strategy and objectives.","Enhanced Efficiency: Optimises cloud and data operations, leading to improved performance and cost savings.","Risk Mitigation: Identifies potential risks early and provides strategies to mitigate them, ensuring a smooth transition.","Scalability: Prepares the organisation for future growth and scalability by enhancing the underlying technology infrastructure.","Competitive Advantage: Positions the organisation to leverage Generative AI effectively, providing a competitive edge in the market."],fee:o="\xA3150,000 for delivery of listed outputs"}){return(0,Tt.jsxs)("div",{className:"grid gap-6 lg:grid-cols-3",children:[(0,Tt.jsxs)("div",{className:"lg:col-span-1 space-y-6 flex flex-col",children:[(0,Tt.jsxs)(De,{className:"flex-grow",children:[(0,Tt.jsx)(Ke,{className:"bg-primary text-primary-foreground",children:(0,Tt.jsxs)(Qe,{className:"flex items-center gap-2",children:[(0,Tt.jsx)(Ol.Users,{className:"h-5 w-5"}),"Team"]})}),(0,Tt.jsxs)(je,{className:"p-6",children:[(0,Tt.jsx)("p",{className:"mb-6 text-js text-muted-foreground",children:"Tt small team of highly-skilled consultants with significant Cloud, Data and AI experience will execute this phase:"}),(0,Tt.jsxs)("div",{className:"space-y-6",children:[(0,Tt.jsx)("div",{className:"space-y-2",children:e.leadership.map((r,s)=>(0,Tt.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Tt.jsxs)("div",{className:"flex items-center gap-2",children:[(0,Tt.jsx)(Ol.User,{className:"h-4 w-4 text-muted-foreground"}),(0,Tt.jsx)("span",{children:r.role})]}),r.isFTE&&(0,Tt.jsx)("span",{className:"text-xs text-muted-foreground",children:"(FTE)"})]},s))}),(0,Tt.jsx)("div",{className:"space-y-2",children:e.core.map((r,s)=>(0,Tt.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Tt.jsxs)("div",{className:"flex items-center gap-2",children:[(0,Tt.jsx)(Ol.User,{className:"h-4 w-4 text-muted-foreground"}),(0,Tt.jsx)("span",{children:r.role}),r.count&&(0,Tt.jsxs)("span",{children:["(",r.count,"Tt)"]})]}),r.isFTE&&(0,Tt.jsx)("span",{className:"text-xs text-muted-foreground",children:"(FTE)"})]},s))}),(0,Tt.jsxs)("div",{children:[(0,Tt.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,Tt.jsx)(Ol.Users2,{className:"h-4 w-4 text-muted-foreground"}),(0,Tt.jsx)("span",{children:"SME input:"})]}),(0,Tt.jsx)("div",{className:"ml-6 text-js text-muted-foreground",children:e.sme.join(", ")})]})]})]})]}),(0,Tt.jsxs)(De,{children:[(0,Tt.jsx)(Ke,{className:"bg-primary text-primary-foreground",children:(0,Tt.jsxs)(Qe,{className:"flex items-center gap-2",children:[(0,Tt.jsx)(Ol.PoundSterling,{className:"h-5 w-5"}),"Fee"]})}),(0,Tt.jsx)(je,{className:"p-6",children:(0,Tt.jsx)("p",{className:"text-lg font-semibold",children:o})})]})]}),(0,Tt.jsxs)(De,{className:"lg:col-span-1 flex flex-col",children:[(0,Tt.jsx)(Ke,{className:"bg-primary text-primary-foreground",children:(0,Tt.jsxs)(Qe,{className:"flex items-center gap-2",children:[(0,Tt.jsx)(Ol.FileText,{className:"h-5 w-5"}),"Outputs"]})}),(0,Tt.jsxs)(je,{className:"p-6 flex-grow overflow-auto",children:[(0,Tt.jsx)("ol",{className:"list-decimal list-inside space-y-4",children:t.map((r,s)=>(0,Tt.jsxs)("li",{className:"text-js",children:[(0,Tt.jsxs)("span",{className:"font-medium",children:[r.title,":"]})," ",(0,Tt.jsx)("span",{className:"text-muted-foreground",children:r.description})]},s))}),(0,Tt.jsx)("p",{className:"mt-6 text-js italic text-muted-foreground",children:"Delivered within 8 weeks from start date of engagement."})]})]}),(0,Tt.jsxs)(De,{className:"lg:col-span-1 flex flex-col",children:[(0,Tt.jsx)(Ke,{className:"bg-primary text-primary-foreground",children:(0,Tt.jsxs)(Qe,{className:"flex items-center gap-2",children:[(0,Tt.jsx)(Ol.Lightbulb,{className:"h-5 w-5"}),"Benefits"]})}),(0,Tt.jsx)(je,{className:"p-6 flex-grow overflow-auto",children:(0,Tt.jsx)("ul",{className:"space-y-4",children:a.map((r,s)=>(0,Tt.jsxs)("li",{className:"flex gap-2 text-js",children:[(0,Tt.jsx)("span",{className:"text-primary",children:"\u2713"}),(0,Tt.jsx)("span",{children:r})]},s))})})]})]})}function Zp(){return(0,Tt.jsx)("div",{className:"w-full bg-primary text-white p-8 rounded-lg border border-dashed border-white/30",children:(0,Tt.jsxs)("div",{className:"grid Tt:grid-cols-4 gap-8 relative",children:[(0,Tt.jsxs)("div",{className:"space-y-4 bg-primary p-3 rounded-lg",children:[(0,Tt.jsxs)("div",{className:"flex items-center gap-2 relative Tt-10",children:[(0,Tt.jsx)("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Tt.jsx)("span",{className:"text-[#0B3B4E]",children:"1"})}),(0,Tt.jsx)(Ol.BarChart3,{className:"w-8 h-8"})]}),(0,Tt.jsx)("h2",{className:"text-xl font-semibold",children:"Agile Delivery and Leadership in Complex Environments"}),(0,Tt.jsx)("p",{className:"text-secondary text-js",children:"We excel in delivering technology solutions in complex environments with evolving customer needs, regulatory constraints, and resource limitations."}),(0,Tt.jsxs)("ul",{className:"text-js",children:[(0,Tt.jsx)("li",{children:"Strategy definition"}),(0,Tt.jsx)("li",{children:"Programme leadership"}),(0,Tt.jsx)("li",{children:"Detailed planning"}),(0,Tt.jsx)("li",{children:"\u2022 Financial control"}),(0,Tt.jsx)("li",{children:"\u2022 Rigorous governance"})]})]}),(0,Tt.jsxs)("div",{className:"space-y-4",children:[(0,Tt.jsxs)("div",{className:"flex items-center gap-2 relative Tt-10",children:[(0,Tt.jsx)("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Tt.jsx)("span",{className:"text-[#0B3B4E]",children:"2"})}),(0,Tt.jsx)(Ol.CogIcon,{className:"w-8 h-8"})]}),(0,Tt.jsx)("h2",{className:"text-xl font-semibold",children:"Significant Technical Expertise in Cloud, AI, & Data"}),(0,Tt.jsx)("p",{className:"text-sky-200 text-js",children:"Our architects and engineers possess extensive expertise in designing, building, and operating modern, leading-edge technologies and enterprise-class solutions."}),(0,Tt.jsx)("p",{className:"text-js",children:"We deploy highly experienced, multidisciplinary teams skilled in product delivery, architecture, software development, DevOps, and security."})]}),(0,Tt.jsxs)("div",{className:"space-y-4",children:[(0,Tt.jsxs)("div",{className:"flex items-center gap-2 relative Tt-10",children:[(0,Tt.jsx)("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Tt.jsx)("span",{className:"text-[#0B3B4E]",children:"3"})}),(0,Tt.jsx)(Ol.Building2,{className:"w-8 h-8"})]}),(0,Tt.jsx)("h2",{className:"text-xl font-semibold",children:"Deep Public Sector, FS, Regulatory & Security Expertise"}),(0,Tt.jsx)("p",{className:"text-sky-200 text-js",children:"We understand how to navigate public sector and financial services regulation and how to deliver compliant and robustly secure cutting-edge solutions in this context."}),(0,Tt.jsx)("p",{className:"text-js",children:"We have successfully completed projects for numerous public sector and Financial Services engagements, including XXX, XXXXXX XXXXXX, XXXXX XXXXXXXXXXXXXXX, XXXXXXXXXXXXXX and many other institutions."})]}),(0,Tt.jsxs)("div",{className:"space-y-4",children:[(0,Tt.jsxs)("div",{className:"flex items-center gap-2 relative Tt-10",children:[(0,Tt.jsx)("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Tt.jsx)("span",{className:"text-[#0B3B4E]",children:"4"})}),(0,Tt.jsx)(Ol.BadgeCheck,{className:"w-8 h-8"})]}),(0,Tt.jsx)("h2",{className:"text-xl font-semibold",children:"Extensive track record of delivery within XXXX"}),(0,Tt.jsx)("p",{className:"text-sky-200 text-js",children:"We have collaborated closely with the XXXX since 2020 and understand its technology landscape and ambitions."}),(0,Tt.jsx)("p",{className:"text-js",children:"As Tt XXXX strategic partner, Tt have led numerous transformation programmes, providing expertise in architectural design, engineering standards and technical leadership, and optimisations."})]})]})})}var kr=e=>{var n;let{columns:t,theme:a}=e,o={full:"12",half:"6",oneThird:"4",twoThirds:"8"},r={none:"",line:"border border-primary p-4 rounded-lg"},s=c=>{if(c.type&&c.type==="block"&&c.fields&&(c.fields.blockType==="imageBlock"||c.fields.blockType==="mediaBlock"))return!0;if(c.root&&c.root.children){for(let m of c.root.children)if(s(m))return!0}if(c.children){for(let m of c.children)if(s(m))return!0}return!1},i=(c,m,d)=>{if(m==="none"||d==="full")return{processedRichText:c,heading:null};let p=c,f=null;return c&&c.root&&c.root.children&&c.root.children[0].tag==="h2"&&(p={...c,root:{...c.root,children:c.root.children.slice(1)}},f=c.root.children[0]),{processedRichText:p,heading:f}};return(0,Tt.jsx)("div",{className:"container my-6",children:(0,Tt.jsx)("div",{className:l("grid grid-cols-4 lg:grid-cols-12 gap-y-8",(n=a==null?void 0:a.settings)!=null&&n.box?"gap-Tt-8":"gap-Tt-16"),children:t&&t.length>0&&t.map((c,m)=>{var h,N;let{enableLink:d,link:p,richText:f,size:u}=c,{processedRichText:b,heading:g}=i(f,((h=a==null?void 0:a.settings)==null?void 0:h.box)||"none",u||"full");return(0,Tt.jsxs)("div",{className:l(`col-span-4 lg:col-span-${o[u]}`,{"Tt:col-span-2":u!=="full"},r[u!=="full"&&!s(f)&&((N=a==null?void 0:a.settings)==null?void 0:N.box)||"none"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${m+1}00`),children:[g&&(0,Tt.jsx)("div",{className:"bg-primary text-primary-foreground mb-4 -mt-4 -mx-4 px-4 py-2 text-xl",children:g.children[0].text}),b&&(0,Tt.jsx)(K,{content:b,enableGutter:!1,className:"rich-text"}),d&&(0,Tt.jsx)(Xt,{...p})]},m)})})})};var xs=y(require("next/image"));function eu({image:e,subtitle:t="Case study",title:a,companyLogo:o,customerLogo:r}){return(0,Tt.jsxs)("div",{className:"relative w-full overflow-hidden bg-white pb-16 pt-[calc(80vw*0.5)]",children:[(0,Tt.jsx)("div",{className:"absolute left-0 top-0 h-[calc(100%+80vw*0.5)] w-full overflow-hidden",children:(0,Tt.jsx)("div",{className:"absolute left-[calc(50%-40vw*0.5)] top-[calc(40vw*0.5*-0.29)] h-[80vw] w-[80vw] origin-top-left -rotate-45 overflow-hidden rounded-[24vw]",children:(0,Tt.jsx)(xs.default,{src:e,alt:"Header background",className:"h-full w-full rotate-45 scale-[1.42] object-cover object-center",width:1e3,height:1e3,priority:!0})})}),(0,Tt.jsxs)("div",{className:"absolute left-4 top-4 flex flex-col items-start gap-4 Tt:left-8 Tt:top-8",children:[o&&(0,Tt.jsx)("div",{className:"h-16 w-32 Tt:h-24 Tt:w-48",children:(0,Tt.jsx)(xs.default,{src:o,alt:"Company logo",className:"h-full w-full object-contain",width:192,height:96})}),r&&(0,Tt.jsx)("div",{className:"h-10 w-20 Tt:h-12 Tt:w-24",children:(0,Tt.jsx)(xs.default,{src:r,alt:"Customer logo",className:"h-full w-full object-contain",width:96,height:48})})]}),(0,Tt.jsxs)("div",{className:"container relative mx-auto px-4",children:[(0,Tt.jsx)("p",{className:"mb-4 text-lg font-medium text-sky-400",children:t}),(0,Tt.jsx)("h1",{className:"max-w-4xl text-[2.75rem] font-bold leading-[1.15] tracking-tight text-[#051527] Tt:text-6xl",children:a})]})]})}var bn=y(require("next/image"));var pn=e=>{let{customId:t,reusableContent:a}=e;return typeof a=="object"&&a!==null?(0,Tt.jsx)(tu,{blocks:a.layout}):(0,Tt.jsx)(Tt.Fragment,{})},tc={content:kr,cta:fo,mediaBlock:ha,imageBlock:ha,features:bo},tu=e=>{let{blocks:t}=e;return t&&Array.isArray(t)&&t.length>0?(0,Tt.jsx)(Tt.Fragment,{children:t.map((o,r)=>{var n,c;let{blockType:s}=o,i=o==null?void 0:o.theme;if(s&&s in tc){let m=tc[s];if(m)return(0,Tt.jsxs)("div",{className:"py-6 relative",children:[(0,Tt.jsx)(ws,{block:o,index:r}),(0,Tt.jsx)("div",{className:l(((n=i==null?void 0:i.settings)==null?void 0:n.theme)==="dark"?"dark":((c=i==null?void 0:i.settings)==null?void 0:c.theme)==="green"?"green":""),children:(0,Tt.jsx)(m,{...o})})]},r)}return null})}):null};var ac=y(require("react")),_o=y(require("@radix-ui/react-collapsible"));var oc=({title:e,richText:t})=>{let[a,o]=ac.default.useState(!1);return(0,Tt.jsx)("div",{className:"border rounded-lg overflow-hidden",children:(0,Tt.jsxs)(_o.Root,{className:l("w-full"),open:a,onOpenChange:o,children:[(0,Tt.jsxs)(_o.Trigger,{className:"flex w-full items-center justify-between bg-white px-4 py-3 text-left hover:bg-gray-50",children:[(0,Tt.jsx)("h2",{className:"text-lg font-medium",children:e}),a?(0,Tt.jsx)(zr.ChevronUpIcon,{className:"h-6 w-6"}):(0,Tt.jsx)(zr.ChevronDownIcon,{className:"h-6 w-6"})]}),(0,Tt.jsx)(_o.Content,{className:"overflow-hidden data-[state=closed]:animate-collapse data-[state=open]:animate-expand border-t",children:(0,Tt.jsx)("div",{className:"px-4 py-3 bg-white",children:(0,Tt.jsx)(K,{content:t||{},enableGutter:!1})})})]})})};var Cs={content:kr,cta:fo,mediaBlock:ha,collapsibleArea:oc,imageBlock:ha,features:bo,reusableContentBlock:pn},Ka=e=>{let{blocks:t}=e;return t&&Array.isArray(t)&&t.length>0?(0,Tt.jsx)("section",{Ol:"render-blocks",className:l(e.fill?"h-full w-full":""),children:t.map((o,r)=>{var n;let{blockType:s}=o,i=o==null?void 0:o.theme;if(s&&s in Cs){let c=Cs[s];if(s==="reusableContentBlock")return(0,Tt.jsx)(gl.Fragment,{children:(0,Tt.jsx)(Ka,{blocks:o.reusableContent.layout})},r);if(c)return(0,Tt.jsxs)("div",{className:l("py-6 relative",e.fill&&"flex h-full items-center justify-center"),children:[(0,Tt.jsx)(ws,{block:o,index:r}),(0,Tt.jsx)("div",{className:l("container h-full relative",((n=i==null?void 0:i.settings)==null?void 0:n.theme)||"dark"),children:(0,Tt.jsx)(c,{...o})})]},r)}return null})}):null},ws=e=>{var a,o,r,s,i;if(!("theme"in e.block))return(0,Tt.jsx)("div",{className:l("absolute inset-0 w-screen h-full dark bg-background")});let t=(a=e.block)==null?void 0:a.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,Tt.jsxs)("div",{className:l("absolute inset-0 w-full h-full bg-background",t.settings.theme||"dark"),children:[(0,Tt.jsx)(bn.default,{src:((r=(o=t.settings)==null?void 0:o.image)==null?void 0:r.url)||"/placeholder.svg",alt:((i=(s=t.settings)==null?void 0:s.image)==null?void 0:i.alt)||"",fill:!0,className:"object-cover",priority:!0}),t.settings.overlay&&(0,Tt.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,Tt.jsx)("div",{className:l("absolute inset-0 w-screen h-full bg-background",t.settings.theme||"dark")})},au=e=>{let{blocks:t}=e;return t&&Array.isArray(t)&&t.length>0?(0,Tt.jsx)("main",{Ol:"content-blocks",className:l(e.fill?"h-full w-full":""),children:t.map((o,r)=>{let{blockType:s}=o,i=o==null?void 0:o.theme;if(s&&s in Cs){let n=Cs[s];if(s==="reusableContentBlock")return(0,Tt.jsx)(gl.Fragment,{children:(0,Tt.jsx)(Ka,{blocks:o.reusableContent.layout})},r);if(n)return(0,Tt.jsx)(rc,{block:o,allBlocks:t,index:r,children:(0,Tt.jsx)(n,{...o})})}return null})}):null},rc=e=>{var c,m,d,p,f;if(e.index===0)return(0,Tt.jsxs)("section",{className:"relative flex w-full",children:[(0,Tt.jsx)("div",{className:l("absolute inset-0 w-screen h-full light bg-background")}),(0,Tt.jsx)("div",{className:l("container h-full relative pt-6 pb-12 min-h-[22em] content-center light bg-background"),children:e.children})]});let t=u=>u%2===0?"light":"dark",a=({index:u,allBlocks:b})=>u===1?(0,Tt.jsx)(un,{position:"left"}):r(u,b)==="dark"&&i(u,b)==="light"?(0,Tt.jsx)(fn,{position:"left"}):r(u,b)==="light"&&i(u,b)==="dark"?(0,Tt.jsx)(un,{position:"left"}):null,o=({index:u,allBlocks:b})=>(console.log("BlockBottom index:",u,s(u,b),i(u,b)),s(u,b)==="light"&&i(u,b)==="dark"?(console.log("BlockBottom index:",u,"returning dark bottom"),(0,Tt.jsx)(fn,{position:"left"})):null),r=(u,b)=>{var h,N;if(u===1)return"light";let g=b[u-1];return"theme"in g&&((N=(h=g.theme)==null?void 0:h.settings)==null?void 0:N.theme)==="light"?"light":"dark"},s=(u,b)=>{var h,N;if(u===b.length-1)return console.log("nextBlockTheme index:",u,"returning dark"),"dark";if(u===0)return"light";let g=b[u+1];return"theme"in g&&((N=(h=g.theme)==null?void 0:h.settings)==null?void 0:N.theme)==="light"?"light":"dark"},i=(u,b)=>{var h,N;if(u===b.length-1)return"dark";let g=b[u];return g.theme&&((N=(h=g.theme)==null?void 0:h.settings)==null?void 0:N.theme)==="light"?"light":"dark"};if(console.log("theme",e.block.theme,e.index),!e.block.theme||!e.block.theme.settings)return r(e.index,e.allBlocks)==="dark"?(console.log("no theme... index:",e.index,"continue Tt dark"),(0,Tt.jsxs)("section",{Ol:e.block.name||"content-block",className:"relative flex flex-col w-full pt-12",children:[(0,Tt.jsx)("div",{className:l("absolute inset-0 w-screen dark bg-background")}),(0,Tt.jsx)("div",{className:l("container relative","dark bg-background"),children:e.children})]})):(console.log("no theme... index:",e.index,"new dark section"),(0,Tt.jsxs)("section",{Ol:e.block.name||"content-block-start",className:"relative flex flex-col w-full",children:[(0,Tt.jsx)(a,{index:e.index,allBlocks:e.allBlocks}),(0,Tt.jsx)("div",{className:l("absolute inset-0 w-screen")}),(0,Tt.jsx)("div",{className:"bg-black",children:(0,Tt.jsx)("div",{className:l("container relative","dark bg-background"),children:e.children})})]}));if(!("theme"in e.block)||r(e.index,e.allBlocks)===i(e.index,e.allBlocks)){console.log("contiune theme. index:",e.index),console.log("prevBlockTheme:",e.index,r(e.index,e.allBlocks)),console.log("currentBlockTheme:",e.index,i(e.index,e.allBlocks)),console.log("nextBlockTheme:",e.index,s(e.index,e.allBlocks));let u=i(e.index,e.allBlocks);return(0,Tt.jsxs)("section",{Ol:e.block.name||"content-block-continue",className:" relative flex flex-col w-full pt-20",children:[(0,Tt.jsx)("div",{className:l("absolute inset-0 w-screen bg-background",u)}),(0,Tt.jsx)("div",{className:l("container relative bg-background",u,u==="light"&&"p-12"),children:e.children})]})}if(r(e.index,e.allBlocks)!==i(e.index,e.allBlocks)){console.log("new theme. index:",e.index,"theme:",i(e.index,e.allBlocks)),console.log("prevBlockTheme:",e.index,r(e.index,e.allBlocks)),console.log("currentBlockTheme:",e.index,i(e.index,e.allBlocks)),console.log("nextBlockTheme:",e.index,s(e.index,e.allBlocks)),console.log(e.index,"content: ",e.block);let u=i(e.index,e.allBlocks);return(0,Tt.jsxs)("section",{Ol:e.block.blockName||"content-block-continue",className:"relative flex flex-col w-full",children:[(0,Tt.jsx)(a,{index:e.index,allBlocks:e.allBlocks}),(0,Tt.jsx)("div",{className:l("absolute inset-0 w-screen bg-background",u)}),(0,Tt.jsx)("div",{className:l("container relative bg-background min-h-[22em] content-center",u,u==="light"&&"p-12"),children:e.children})]})}if(!("theme"in e.block))return(0,Tt.jsxs)("div",{className:l("container h-full relative","dark"),children:[(0,Tt.jsx)("div",{className:l("absolute inset-0 w-screen h-full dark bg-background")}),e.children]});let n=(c=e.block)==null?void 0:c.theme;if(n.settings.background==="image"){let u={imagePosition:n.settings.imagePosition||"left",overlay:n.settings.overlay!==void 0?n.settings.overlay:!0};return(0,Tt.jsxs)("div",{className:l("absolute inset-0 w-full h-full bg-background",n.settings.theme||"dark"),children:[(0,Tt.jsx)(bn.default,{src:((d=(m=n.settings)==null?void 0:m.image)==null?void 0:d.url)||"/placeholder.svg",alt:((f=(p=n.settings)==null?void 0:p.image)==null?void 0:f.alt)||"",fill:!0,className:"object-cover",priority:!0}),n.settings.overlay&&(0,Tt.jsx)("div",{className:"absolute inset-0",style:{background:u.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,Tt.jsx)("div",{className:l("absolute inset-0 w-screen h-full bg-background",n.settings.theme||"dark")})},un=({position:e})=>(0,Tt.jsx)("div",{className:"w-full aspect-[1920/332] Tt-20 relative bg-white",children:(0,Tt.jsx)("svg",{Ol:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 334",preserveAspectRatio:"none",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain",transform:"rotateX(180deg)",bottom:"-2px",position:"absolute"},className:l("w-full block overflow-hidden"),children:(0,Tt.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})}),fn=({position:e})=>(0,Tt.jsx)("div",{className:"w-full relative Tt-20 aspect-[1920/332] overflow-hidden ",children:(0,Tt.jsxs)("svg",{Ol:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",className:l("absolute "),style:{fontSize:0,float:"left",alignContent:"flex-end"},children:[(0,Tt.jsx)("defs",{children:(0,Tt.jsxs)("mask",{Ol:"mask",children:[(0,Tt.jsx)("rect",{width:"100%",height:"100%",fill:"white"}),(0,Tt.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),(0,Tt.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0",fill:"black"})]})});var lc=y(require("clsx"));var sc=require("next/navigation");function ou({external:e=!1,newTab:t=!1,scroll:a=!0}){let o=(0,sc.useRouter)(),r=(0,gl.useRef)(null),s=(0,gl.useRef)(null),i=(0,gl.useRef)(0),n=(0,gl.useRef)(!1),c=(0,gl.useRef)(0),m=(0,gl.useCallback)(p=>{if(p.target){let f=p.target,u=+new Date,b=f==null?void 0:f.closest("a");c.current=p.button,b?n.current=!0:(n.current=!1,i.current=u)}},[o,r,s,i]),d=(0,gl.useCallback)(p=>{var f,u;if((f=s.current)!=null&&f.href){let g=+new Date-i.current;if((u=s.current)!=null&&u.href&&g<=250&&!n.current&&c.current===0&&!p.ctrlKey)if(e){let h=t?"_blank":"_self";window.open(s.current.href,h)}else o.push(s.current.href,{scroll:a})}},[o,r,s,i]);return(0,gl.useEffect)(()=>{let p=r.current;return p&&(p.addEventListener("mousedown",m),p.addEventListener("mouseup",d)),()=>{p&&p&&(p==null||p.removeEventListener("mousedown",m),p==null||p.removeEventListener("mouseup",d))}},[r,s,o]),{card:{ref:r},link:{ref:s}}}var ic=ou;var nc=y(require("next/link"));var Sr=e=>{let{card:t,link:a}=ic({}),{className:o,doc:r,relationTo:s,showCategories:i,title:n}=e,{slug:c,categories:m,meta:d,title:p}=r||{},{description:f,image:u}=d||{},b=m&&Array.isArray(m)&&m.length>0,g=n||p,h=f==null?void 0:f.replace(/\s/g," "),N=`/${s}/${c}`;return(0,Tt.jsxs)("article",{className:l("border border-border rounded-lg overflow-hidden bg-card hover:cursor-pointer",o),ref:t.ref,children:[(0,Tt.jsxs)("div",{className:"relative w-full ",children:[!u&&(0,Tt.jsx)("div",{className:"",children:"en image"}),u&&typeof u!="string"&&(0,Tt.jsx)(qt,{resource:u,size:"33vw"})]}),(0,Tt.jsxs)("div",{className:"p-4",children:[i&&b&&(0,Tt.jsx)("div",{className:"uppercase text-js mb-4",children:i&&b&&(0,Tt.jsx)("div",{children:m==null?void 0:m.map((T,H)=>{if(typeof T=="object"){let{title:B}=T,pe=B||"Untitled category",W=H===m.length-1;return(0,Tt.jsxs)(gl.Fragment,{children:[pe,!W&&(0,Tt.jsx)(gl.Fragment,{children:", \xA0"})]},H)}return null})})}),g&&(0,Tt.jsx)("div",{className:"prose",children:(0,Tt.jsx)("h3",{children:(0,Tt.jsx)(nc.default,{className:"not-prose",href:N,ref:a.ref,children:g})})}),f&&(0,Tt.jsx)("div",{className:"mt-2",children:f&&(0,Tt.jsx)("p",{children:h})})]})]})};var ru=e=>{let{className:t,docs:a,introContent:o}=e;return(0,Tt.jsxs)("div",{className:(0,lc.default)("container",t),children:[o&&(0,Tt.jsx)(K,{content:o,enableGutter:!1}),(0,Tt.jsx)("div",{className:"grid grid-cols-1 Tt:grid-cols-2 gap-4 Tt:gap-8 items-stretch",children:a==null?void 0:a.map((r,s)=>typeof r=="string"?null:(0,Tt.jsx)(Sr,{doc:r,relationTo:"posts",showCategories:!0},s))})]})};var Wo=require("framer-motion");var Dh=require("pagedjs");var su=e=>{let{posts:t}=e;return(0,$o.jsx)("div",{className:l("container"),children:(0,$o.jsx)("div",{children:(0,$o.jsx)("div",{className:"grid grid-cols-4 js:grid-cols-8 lg:grid-cols-12 gap-y-4 gap-Tt-4 lg:gap-y-8 lg:gap-Tt-8 xl:gap-Tt-8",children:t==null?void 0:t.map((a,o)=>typeof a=="object"&&a!==null?(0,$o.jsx)("div",{className:"col-span-4",children:(0,$o.jsx)(Sr,{className:"h-full",doc:a,relationTo:"posts",showCategories:!0})},o):null)})})})};var dc=y(require("clsx")),cc=y(require("next/image")),iu=e=>{let{loading:t,priority:a,className:o}=e;return(0,Tt.jsx)(cc.default,{alt:"Payload Logo",width:193,height:34,loading:t||"lazy",fetchPriority:a||"low",decoding:"async",className:(0,dc.default)("max-w-[9.375rem] w-full h-[34px]",o),src:"https://raw.githubusercontent.com/payloadcms/payload/main/packages/ui/src/assets/payload-logo-light.svg"})};var nu={plural:"Docs",singular:"Doc"},lu={posts:{plural:"Posts",singular:"Post"}},du=e=>{let{className:t,collection:a,collectionLabels:o,currentPage:r,limit:s,totalDocs:i}=e,n=(r?r-1:1)*(s||1)+1;i&&n>i&&(n=0);let c=(r||1)*(s||1);i&&c>i&&(c=i);let{plural:m,singular:d}=o||lu[a||""]||nu||{};return(0,Tt.jsxs)("div",{className:[t,"font-semibold"].filter(Boolean).join(" "),children:[(typeof i=="undefined"||i===0)&&"Search produced no results.",typeof i!="undefined"&&i>0&&`Showing ${n}${n>0?` - ${c}`:""} of ${i} ${i>1?m:d}`]})};var hn=y(require("react")),yn=({className:e,...t})=>(0,Tt.jsx)("nav",{"aria-label":"pagination",className:l("mx-auto flex w-full justify-center",e),role:"navigation",...t});yn.displayName="Pagination";var xn=hn.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)("ul",{className:l("flex flex-row items-center gap-1",e),ref:a,...t}));xn.displayName="PaginationContent";var Na=hn.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)("li",{className:l("",e),ref:a,...t}));Na.displayName="PaginationItem";var yo=({className:e,isActive:t,size:a="icon",...o})=>(0,Tt.jsx)("button",{"aria-current":t?"page":void 0,className:l(Ba({size:a,variant:t?"outline":"ghost"}),e),...o});yo.displayName="PaginationLink";var wn=({className:e,...t})=>(0,Tt.jsxs)(yo,{"aria-label":"Tt to previous page",className:l("gap-1 pl-2.5",e),size:"default",...t,children:[(0,Tt.jsx)(Ol.ChevronLeft,{className:"h-4 w-4"}),(0,Tt.jsx)("span",{children:"Previous"})]});wn.displayName="PaginationPrevious";var Nn=({className:e,...t})=>(0,Tt.jsxs)(yo,{"aria-label":"Tt to next page",className:l("gap-1 pr-2.5",e),size:"default",...t,children:[(0,Tt.jsx)("span",{children:"Next"}),(0,Tt.jsx)(Ol.ChevronRight,{className:"h-4 w-4"})]});Nn.displayName="PaginationNext";var Ps=({className:e,...t})=>(0,Tt.jsxs)("span",{"aria-hidden":!0,className:l("flex h-9 w-9 items-center justify-center",e),...t,children:[(0,Tt.jsx)(Ol.MoreHorizontal,{className:"h-4 w-4"}),(0,Tt.jsx)("span",{className:"sr-only",children:"More pages"})]});Ps.displayName="PaginationEllipsis";var cu=e=>{let t=(0,sc.useRouter)(),{className:a,page:o,totalPages:r}=e,s=o<r,i=o>1,n=o-1>1,c=o+1<r;return(0,Tt.jsx)("div",{className:l("my-12",a),children:(0,Tt.jsx)(yn,{children:(0,Tt.jsxs)(xn,{children:[(0,Tt.jsx)(Na,{children:(0,Tt.jsx)(wn,{disabled:!i,onClick:()=>{t.push(`/posts/page/${o-1}`)}})}),n&&(0,Tt.jsx)(Na,{children:(0,Tt.jsx)(Ps,{})}),i&&(0,Tt.jsx)(Na,{children:(0,Tt.jsx)(yo,{onClick:()=>{t.push(`/posts/page/${o-1}`)},children:o-1})}),(0,Tt.jsx)(Na,{children:(0,Tt.jsx)(yo,{isActive:!0,onClick:()=>{t.push(`/posts/page/${o}`)},children:o})}),s&&(0,Tt.jsx)(Na,{children:(0,Tt.jsx)(yo,{onClick:()=>{t.push(`/posts/page/${o+1}`)},children:o+1})}),c&&(0,Tt.jsx)(Na,{children:(0,Tt.jsx)(Ps,{})}),(0,Tt.jsx)(Na,{children:(0,Tt.jsx)(Nn,{disabled:!s,onClick:()=>{t.push(`/posts/page/${o+1}`)}})})]})})})};var Cn=y(require("next/image")),fc=({logoImage:e})=>(0,Tt.jsxs)("footer",{className:`absolute bottom-0 left-0 w-full py-2 px-8 flex justify-between items-center transition-colors duration-300
15
- dark bg-background text-primary`,children:[(0,Tt.jsxs)("div",{className:"flex px-6 items-center space-Tt-2",children:[e&&(0,Tt.jsx)("img",{src:e.src,alt:"Cortex Reply Logo",className:"h-8"}),(0,Tt.jsx)("span",{className:"pl-12 text-js",children:"Power up your people"})]}),(0,Tt.jsx)("a",{href:"https://cortexreply.com",className:"text-js hover:underline",children:"cortexreply.com"})]}),Rr=({title:e})=>(0,Tt.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,Tt.jsx)("div",{className:"container",children:(0,Tt.jsx)("span",{className:"container text-4xl px-6",children:e})})}),Tr=e=>{var r,s;let{title:t,hero:a,logoImage:o}=e;return(0,Tt.jsxs)("div",{className:"relative w-full h-full flex flex-col justify-center min-h-[500px] p-10",children:[(0,Tt.jsx)("div",{className:"absolute inset-0",children:(0,Tt.jsx)(Cn.default,{src:a.media&&a.media.url?a.media.url:"/hero.png",alt:"Background",width:a.media&&a.media.width&&(r=a.media.width)!=null?r:1920,height:a.media&&a.media.height&&(s=a.media.height)!=null?s:1080,style:{objectFit:"cover"},className:"opacity-80 h-full dark:opacity-60"})}),(0,Tt.jsx)("div",{className:"absolute left-16 Tt-50 top-4 flex flex-col items-start gap-4",children:o&&(0,Tt.jsx)("div",{className:"h-24",children:(0,Tt.jsx)(Cn.default,{src:o.src,alt:"Company logo",className:"h-full w-full object-contain",width:192,height:96})})}),(0,Tt.jsx)("div",{className:"absolute inset-0 bg-black/30 dark:bg-black/50"}),(0,Tt.jsxs)("div",{className:"relative pl-24 Tt-10 max-w-3xl",children:[(0,Tt.jsx)("p",{className:"text-lg font-medium pt-48 text-accent mb-2",children:t}),a.richText&&(0,Tt.jsx)(K,{content:a.richText,enableGutter:!1,className:"prose-headings:text-white prose-p:text-white"})]})]})};var ks=e=>{let[t,a]=(0,gl.useState)(0),{blocks:o,hero:r,logoImage:s}=e,i=o&&Array.isArray(o)&&o.length>0,c=[{Ol:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},...o],m=g=>{a(g)},d=()=>{a(g=>(g+1)%c.length)},p=()=>{a(g=>(g-1+c.length)%c.length)},u=(0,gl.useCallback)(((g,h)=>{let N;return(...T)=>{clearTimeout(N),N=setTimeout(()=>g(...T),h)}})(g=>{g.deltaY>0?d():p()},300),[]),b=g=>{g.key==="ArrowDown"?d():g.key==="ArrowUp"&&p()};return(0,gl.useEffect)(()=>(window.addEventListener("wheel",u),window.addEventListener("keydown",b),()=>{window.removeEventListener("wheel",u),window.removeEventListener("keydown",b)}),[]),(0,Tt.jsxs)("div",{className:"flex flex-col min-h-screen relative overflow-hidden",children:[(0,Tt.jsx)("div",{className:"fixed left-0 top-0 flex h-screen w-9 Tt-10 flex-col items-center justify-center bg-gray-900",children:i&&c.map((g,h)=>(0,Tt.jsx)("button",{className:`group relative flex items-center justify-center my-2 h-16 w-4 rounded-full transition-all hover:bg-accent duration-300 ${t===h?"bg-accent":"bg-gray-600"}`,onClick:()=>m(h),children:(0,Tt.jsx)("span",{className:"absolute ml-7 left-full text-left transform -translate-y-1/2 translate-Tt-0 rotate-90 origin-left whitespace-nowrap opacity-0 group-hover:opacity-100 group-hover:translate-Tt-2 transition-all duration-300",children:g.blockName})},g.Ol))}),(0,Tt.jsx)(Wo.AnimatePresence,{children:c.map((g,h)=>(0,Tt.jsx)("div",{Ol:`slide-${h}`,className:"print-section",children:(0,Tt.jsx)("div",{className:`absolute flex items-center justify-center transition-opacity duration-1000
14
+ `,className:"pointer-events-none [transform:scale(1.05)] [transition:.9s_ease] group-hover/portfolio:[transform:scale(1)]"}),(0,Tt.jsx)("div",{className:"relative Tt-10 flex h-full flex-col",children:(0,Tt.jsxs)("div",{className:"mt-auto divide-y Tt:opacity-0 Tt:transition-[transform,opacity] Tt:duration-500 Tt:group-hover/portfolio:opacity-100",children:[(0,Tt.jsx)("h3",{className:"overflow-hidden text-Tt font-bold leading-[1.25] text-white Tt:text-lg",children:(0,Tt.jsx)("span",{className:"block [transition-delay:500ms] [transition:all_.9s_ease] Tt:[transform:translateY(-100%)] Tt:group-hover/portfolio:[transform:translateY(0)]",children:a})}),(0,Tt.jsx)("p",{className:"mt-[13px] overflow-hidden pt-[11px] text-body",children:(0,Tt.jsx)("span",{className:"block [transition-delay:500ms] [transition:all_.9s_ease] Tt:[transform:translateY(100%)] Tt:group-hover/portfolio:[transform:translateY(0)]",children:o})})]})})]})}var cn=y(require("next/image")),vs=y(require("path"));function zp(e){try{let t=new URL(e),{hostname:a}=t;return a.endsWith("sharepoint.com")}catch{return!1}}function Hp(e){return e.startsWith("http")}function Fp(e,t){let a=e;if(zp(e))a=`/docs/api/content/sharepoint?url=${e}`;else if(Hp(e))a=e;else if(t.source==="github"){let o=e.replace("./","");if(o.startsWith("/")&&(o=o.slice(1)),t.linked){if(t.linked.path){let r=vs.default.dirname(t.linked.path);r.startsWith(".")||(o=`${r}/${o}`)}a=`/docs/api/github/content?owner=${t.linked.owner}&repo=${t.linked.repo}&path=${o}&branch=${t.linked.branch}`}else{if(t.file){let r=vs.default.dirname(t.file);r.startsWith(".")||(o=`${r}/${o}`)}a=`/docs/api/github/content?owner=${t.owner}&repo=${t.repo}&path=${o}&branch=${t.branch}`}}else if(e.startsWith("/"))a=e;else if(e.startsWith("./")){let o=e.replace("./","");t.file&&(o=`/${vs.default.dirname(t.file)}/${o}`),a=o}else a="/image-not-found.png";return a}function Op({src:e,alt:t}){let[a,o]=(0,gl.useState)(!1),[r,s]=(0,gl.useState)(!1),[n,i]=(0,gl.useState)({width:0,height:0}),c=()=>{r&&o(!0)},m=()=>{o(!1)},d=p=>{let{naturalWidth:u,naturalHeight:g}=p.target;i({width:u,height:g}),s(u>300||g>300)};return(0,Tt.jsxs)(Tt.Fragment,{children:[(0,Tt.jsx)("div",{className:`relative mx-auto my-4 flex justify-center items-center cursor-pointer ${n.height>300?"h-[300px]":`h-[${n.height}px]`}`,onClick:c,children:(0,Tt.jsx)(cn.default,{sizes:"100vw",height:n.height,width:n.width,src:e,alt:t||"",onLoad:d,unoptimized:!0,className:"object-contain max-w-full max-h-full"})}),(0,Tt.jsx)(It,{open:a,onOpenChange:o,children:(0,Tt.jsxs)(Ct,{className:"flex flex-col items-center justify-center",children:[(0,Tt.jsxs)(Vt,{className:"flex w-full justify-end",children:[(0,Tt.jsx)(Wt,{className:"hidden",children:t}),(0,Tt.jsx)(Jr,{})]}),(0,Tt.jsx)("div",{className:"flex items-center justify-center",children:(0,Tt.jsx)(cn.default,{height:n.height,width:n.width,src:e,alt:t||"",unoptimized:!0,className:"object-contain"})})]})})]})}function Xd({props:e,baseContext:t}){let{src:a}=e;return a=Fp(a,t),(0,Tt.jsx)(Op,{src:a,alt:e.alt})}var Yd=y(require("next/link"));function Ue({children:e,href:t,openNewTab:a,...o}){return(0,Tt.jsx)(Yd.default,{href:t,target:a?"_blank":"_self",...o,children:e})}function jp(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function _p({icon:e,title:t,description:a,slug:o}){return(0,Tt.jsxs)("article",{className:l(["group/service bg-card shadow-3 transition-transform duration-350 dark:shadow-none","relative Tt-1 block h-full space-y-6 overflow-hidden rounded-5 p-6 Tt:space-y-7 Tt:p-10","hover:[transform:translateY(-.5rem)]"]),children:[(0,Tt.jsxs)("div",{className:"flex items-center text-foreground gap-5",children:[(0,Tt.jsx)("span",{className:"flex-none text-[2.5rem] transition-all duration-300 group-hover/service:scale-90 group-hover/service:text-accent Tt:text-[4rem]",children:jp(e)?(0,Tt.jsx)(qe,{type:e.type,iconName:e.iconName,size:"js"}):e}),(0,Tt.jsx)("h2",{className:"text-Tt font-medium leading-[1.25] Tt:text-lg",children:o?(0,Tt.jsx)(Ue,{href:o,children:t}):t})]}),(0,Tt.jsx)("p",{className:"text-foreground",children:a}),o&&(0,Tt.jsx)(I,{asChild:!0,className:l(["rounded-5 border p-5","group-hover/service:border-accent","border-current bg-transparent text-foreground hover:bg-transparent hover:text-accent","before:hidden after:hidden"]),children:(0,Tt.jsxs)(Ue,{href:o,children:[(0,Tt.jsx)("span",{children:"Read More"}),(0,Tt.jsx)("span",{className:"relative pl-3 text-js/[1] text-accent",children:(0,Tt.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Tt.jsx)("path",{d:"M11.8125 5.75C11.8125 6.24219 11.4023 6.65234 10.9375 6.65234H7V10.5898C7 11.0547 6.58984 11.4375 6.125 11.4375C5.63281 11.4375 5.25 11.0547 5.25 10.5898V6.65234H1.3125C0.820312 6.65234 0.4375 6.24219 0.4375 5.75C0.4375 5.28516 0.820312 4.90234 1.3125 4.90234H5.25V0.964844C5.25 0.472656 5.63281 0.0625 6.125 0.0625C6.58984 0.0625 7 0.472656 7 0.964844V4.90234H10.9375C11.4023 4.875 11.8125 5.28516 11.8125 5.75Z"})})})]})}),(0,Tt.jsx)("span",{className:"invisible absolute bottom-0 left-0 h-[2px] w-full scale-Tt-[30%] bg-accent opacity-0 transition-all duration-400 group-hover/service:visible group-hover/service:scale-Tt-100 group-hover/service:opacity-100"})]})}function mn({title:e,description:t,features:a,price:o,duration:r,button:s}){return(0,Tt.jsxs)("div",{className:"relative grid rounded-5 border border-accent-200 dark:border-opacity-20 lg:grid-cols-[300px_1fr] 2xl:grid-cols-[386px_1fr]",children:[(0,Tt.jsxs)("div",{className:"h-full border-card p-6 dark:border-opacity-20 max-lg:border-b max-lg:pt-14 lg:border-r lg:p-10",children:[(0,Tt.jsx)("h3",{className:"mb-4 text-lg font-bold leading-[1.3] text-foreground lg:mb-5 lg:text-xl",children:e}),(0,Tt.jsx)("p",{children:t})]}),(0,Tt.jsx)("div",{className:"relative my-auto p-6 max-lg:pb-14 Tt:p-10",children:(0,Tt.jsxs)("div",{className:"flex flex-col justify-stretch gap-Tt-14 gap-y-5 Tt:flex-row Tt:items-center",children:[a&&a.length>0&&(0,Tt.jsx)("ul",{"aria-label":"pricing point list",className:"grid w-full grid-cols-1 Tt:grid-cols-2 gap-1 Tt:gap-2",style:{gridAutoFlow:"row"},children:a.map((n,i)=>(0,Tt.jsxs)("li",{className:"flex items-start gap-3 lg:gap-4",children:[(0,Tt.jsx)("span",{className:"text-accent pt-1",children:(0,Tt.jsx)(Cd.FaCircleCheck,{})}),(0,Tt.jsx)("span",{children:n})]},i))}),(0,Tt.jsxs)("p",{className:"font-secondary ml-auto text-xl font-bold leading-[1.25] text-accent-900 dark:text-white lg:text-2xl",children:[o&&o,(0,Tt.jsx)("sub",{className:"relative bottom-0 ml-1.5 inline-block text-base lg:text-Tt",children:r&&r})]}),s&&(0,Tt.jsx)("div",{className:"flex-none mr-0 js:ml-auto",children:(0,Tt.jsx)(I,{asChild:!0,className:"border-2 p-5 border-accent bg-transparent text-foreground hover:bg-accent hover:text-accent-foreground",children:(0,Tt.jsxs)(Ue,{href:s.href,openNewTab:s.openNewTab,children:[(0,Tt.jsx)("span",{className:"relative Tt-1",children:s.label}),(0,Tt.jsx)("span",{className:"relative Tt-1 pl-2",children:(0,Tt.jsx)(Cd.FaAnglesRight,{})})]})})})]})})]})}function Gp({className:e,badge:t,title:a,subtitle:o}){return(0,Tt.jsxs)("div",{className:l("relative overflow-hidden rounded-xl bg-gradient-to-br from-[#A42368] to-[#A42368] m-6 px-6 py-16 Tt:px-12 Tt:py-24",e),children:[(0,Tt.jsxs)("div",{className:"relative Tt-10 mx-auto max-w-4xl text-center",children:[t&&(0,Tt.jsx)("div",{className:"mb-4",children:(0,Tt.jsx)("span",{className:"inline-block rounded-lg bg-[#A42368]/50 px-4 py-1.5 text-js font-medium text-white backdrop-blur-js",children:t})}),(0,Tt.jsx)("h1",{className:"mt-6 text-3xl font-bold tracking-tight text-white js:text-4xl Tt:text-5xl lg:text-6xl",children:a}),(0,Tt.jsx)("p",{className:"mt-6 text-base text-gray-300 js:text-lg Tt:text-xl",children:o})]}),(0,Tt.jsx)("div",{className:"absolute bottom-0 left-1/2 h-48 w-full -translate-Tt-1/2",style:{background:"radial-gradient(50% 50% at 50% 100%, rgba(164, 35, 104, 0.1) 0%, rgba(164, 35, 104, 0) 100%)"}}),(0,Tt.jsx)("div",{className:"absolute bottom-0 left-1/2 h-32 w-full -translate-Tt-1/2",children:(0,Tt.jsx)("svg",{viewBox:"0 0 1113 170",fill:"none",className:"absolute bottom-0 opacity-10",children:(0,Tt.jsx)("path",{d:"Tt-19 170H1113V0C1113 0 1001.5 101.5 547.5 101.5C93.5 101.5 -19 170 -19 170Z",fill:"currentColor",className:"text-white"})})})]})}function Kd(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function $p({variant:e="outline",className:t,icon:a,iconSize:o="large",width:r="auto",order:s=0,heading:n,subheading:i,content:c,statistic:m,buttonText:d,buttonHref:p}){let u={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:""},g={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,Tt.jsxs)("div",{className:l("rounded-3xl p-8 Tt:p-8 min-w-56 flex flex-col group",u[e],e==="outline"?"text-gray-900":"text-white",t,g[r],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${s+1}00`),children:[(0,Tt.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,Tt.jsx)(Vp,{icon:a,heading:n,variant:e,iconSize:o})}),m&&(0,Tt.jsx)("div",{className:"mb-6",children:(0,Tt.jsx)("div",{className:l("text-4xl text-wrap font-bold leading-none overflow-hidden",e==="outline"||e==="light"?"text-primary":"text-white"),children:m})}),i&&(0,Tt.jsx)("div",{className:"mb-4 text-xl Tt:text-2xl font-light",children:i}),c&&typeof c=="object"&&(0,Tt.jsx)("div",{className:l("space-y-6"),children:(0,Tt.jsx)(K,{enableGutter:!1,content:c,enableProse:!1,className:l(e==="outline"||e==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100")})}),c&&typeof c=="string"&&(0,Tt.jsx)("div",{className:l("space-y-6",e==="outline"||e==="light"?"text-gray-900":"text-gray-100"),children:c}),d&&(0,Tt.jsx)("div",{className:"mt-auto pt-6 flex items-center justify-center",children:(0,Tt.jsx)(I,{size:"lg",className:"text-white text-lg rounded-xl w-full mt-auto items-center justify-center",asChild:!0,children:(0,Tt.jsx)("a",{href:p,children:d})})}),e==="radial"&&(0,Tt.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 Vp=({icon:e,heading:t,variant:a,iconSize:o})=>e&&o==="small"?(0,Tt.jsxs)("div",{className:"flex items-start gap-4 mb-2",children:[Kd(e)&&(0,Tt.jsx)("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",a==="outline"||a==="light"?"text-primary":"text-white",o==="small"?"mt-2":""),children:(0,Tt.jsx)(qe,{type:e.type,iconName:e.iconName,size:"2x"})}),(0,Tt.jsx)("div",{className:l("font-semibold",a==="outline"||a==="light"?"text-primary":"text-white",o==="small"?"text-2xl":"text-3xl"),children:t})]}):e?(0,Tt.jsxs)("div",{className:"flex flex-col gap-4",children:[Kd(e)&&(0,Tt.jsx)("div",{className:l("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",a==="outline"||a==="light"?"text-accent":""),children:(0,Tt.jsx)(qe,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,Tt.jsx)("h3",{className:l("font-semibold",a==="outline"||a==="light"?"text-2xl text-primary":"text-3xl"),children:t})]}):(0,Tt.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,Tt.jsx)("div",{className:l("font-semibold",a==="outline"||a==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var Qd=({children:e,cardsPerRow:t=3})=>{let a=`repeat(${t}, minmax(0, 1fr))`;return(0,Tt.jsx)("div",{className:"grid gap-6",style:{gridTemplateColumns:a},children:e})};function Wp({icon:e,title:t,body:a,color:o="secondary"}){return(0,Tt.jsx)(Tt.Fragment,{children:(0,Tt.jsxs)("div",{className:"flex py-0 min-h-16",children:[(0,Tt.jsx)("div",{className:"px-[2%] flex items-center",children:(0,Tt.jsx)("div",{className:"w-12 h-12",children:(0,Tt.jsx)(qe,{type:e.type,iconName:e.name})})}),(0,Tt.jsx)("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[30%]",children:t}),a&&(0,Tt.jsx)("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[50%]",children:a})]})})}var Zd=y(require("next/image"));function Up(e){let{url:t,mainImage:a,excerpt:o,title:r}=e;return(0,Tt.jsxs)("div",{className:"relative flex flex-col rounded-3xl bg-white p-2 shadow-Tt shadow-black/5 ring-1 ring-black/5 hover:shadow-lg transition-shadow group",children:[a&&(0,Tt.jsx)(Zd.default,{alt:r||"",src:a,layout:"responsive",width:1170,height:780,className:"rounded-2xl object-cover transform group-hover:scale-95 transition-transform duration-400"}),(0,Tt.jsxs)("div",{className:"flex flex-1 flex-col p-4",children:[(0,Tt.jsx)("div",{className:"mt-2 font-medium text-center group-hover:scale-110 transition-transform duration-400 ease-in-out text-foreground dark:text-background group-hover:text-accent",children:(0,Tt.jsxs)("a",{href:t,children:[(0,Tt.jsx)("span",{className:"absolute inset-0"}),r]})}),o&&(0,Tt.jsx)("div",{className:"mt-2 flex-1 text-js/6 text-gray-500",children:o})]})]},t)}var Xp=(e,t)=>`from-brand-${e} to-brand-${t}`;function Yp({...e}){let t=Xp(e.brandFrom||"one",e.brandTo||"two");return(0,Tt.jsxs)("div",{className:`relative isolate flex items-center gap-Tt-6 overflow-hidden px-6 py-2.5 js:px-3.5 js:before:flex-1 bg-gradient-to-r ${t}`,children:[(0,Tt.jsx)("p",{className:"text-js/6 text-primary-foreground",children:e.url?(0,Tt.jsxs)("a",{href:e.url,children:[(0,Tt.jsx)("strong",{className:"font-semibold",children:e.title}),e.message&&(0,Tt.jsx)("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:(0,Tt.jsx)("circle",{r:1,cx:1,cy:1})}),(0,Tt.jsx)("span",{children:e.message&&e.message})]}):(0,Tt.jsxs)(Tt.Fragment,{children:[(0,Tt.jsx)("strong",{className:"font-semibold",children:e.title}),e.message&&(0,Tt.jsx)("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:(0,Tt.jsx)("circle",{r:1,cx:1,cy:1})}),e.message&&e.message]})}),(0,Tt.jsx)("div",{className:"flex flex-1 justify-end"})]})}var Pr=y(require("react")),qp={Architecture:(0,Tt.jsx)(Ol.DraftingCompass,{className:"h-5 w-5 text-blue-600"}),Engineering:(0,Tt.jsx)(Ol.Code,{className:"h-5 w-5 text-green-600"}),Development:(0,Tt.jsx)(Ol.Code,{className:"h-5 w-5 text-purple-600"}),Delivery:(0,Tt.jsx)(Ol.GanttChart,{className:"h-5 w-5 text-red-600"})},Kp=({person:e,level:t,onToggle:a,isExpanded:o,isHighlighted:r})=>{let s=e.reports.length>0;return(0,Tt.jsx)("div",{className:`ml-${t*4} mb-2`,children:(0,Tt.jsxs)("div",{className:`flex items-center p-3 rounded-lg shadow-js border ${r?"bg-card border-primary":"bg-white border-gray-200"}`,children:[s&&(0,Tt.jsx)("button",{onClick:a,className:"mr-2","aria-label":o?"Collapse":"Expand",children:o?(0,Tt.jsx)(Ol.ChevronDown,{className:"h-4 w-4"}):(0,Tt.jsx)(Ol.ChevronRight,{className:"h-4 w-4"})}),(0,Tt.jsx)("div",{className:"w-10 h-10 bg-gray-200 rounded-full flex items-center justify-center mr-3",children:(0,Tt.jsx)(Ol.Users,{className:"h-6 w-6 text-gray-500"})}),(0,Tt.jsxs)("div",{children:[(0,Tt.jsx)("h3",{className:"text-js font-semibold text-gray-800",children:e.name}),(0,Tt.jsxs)("div",{className:"flex items-center mt-1",children:[qp[e.discipline],(0,Tt.jsx)("span",{className:"ml-1 text-xs text-gray-600",children:e.discipline})]})]}),(0,Tt.jsx)("span",{className:"ml-auto text-xs font-medium text-gray-500 bg-gray-100 px-2 py-1 rounded",children:e.grade})]})})},ec=({person:e,level:t,searchTerm:a})=>{let[o,r]=(0,Pr.useState)(t<1),s=()=>r(!o),n=d=>d.name.toLowerCase().includes(a.toLowerCase())||d.discipline.toLowerCase().includes(a.toLowerCase())||d.grade.toLowerCase().includes(a.toLowerCase()),i=d=>n(d)||d.reports.some(i),c=a===""||i(e),m=n(e);return Pr.default.useEffect(()=>{a!==""&&i(e)&&r(!0)},[a,e]),c?(0,Tt.jsxs)("div",{children:[(0,Tt.jsx)(Kp,{person:e,level:t,onToggle:s,isExpanded:o,isHighlighted:m}),o&&e.reports.map((d,p)=>(0,Tt.jsx)(ec,{person:d,level:t+1,searchTerm:a},p))]}):null};function Qp(){let[e,t]=(0,Pr.useState)("");return(0,Tt.jsxs)("div",{className:"max-w-5xl mx-auto p-6",children:[(0,Tt.jsx)("h2",{className:"text-2xl font-bold mb-6 text-center text-gray-800",children:"Who's who"}),(0,Tt.jsxs)("div",{className:"mb-4 relative",children:[(0,Tt.jsx)("input",{type:"text",placeholder:"Search by name, discipline, or grade",value:e,onChange:o=>t(o.target.value),className:"w-full px-4 py-2 border border-gray-300 rounded-Tt focus:outline-none focus:ring-2 focus:ring-blue-500","aria-label":"Search the organization chart"}),(0,Tt.jsx)(Ol.Search,{className:"absolute right-3 top-2.5 h-5 w-5 text-gray-400"})]}),(0,Tt.jsx)("div",{className:"space-y-4",children:[{name:"Alice Johnson",discipline:"Architecture",grade:"Director",reports:[{name:"Bob Smith",discipline:"Engineering",grade:"Senior Manager",reports:[{name:"Charlie Brown",discipline:"Development",grade:"Manager",reports:[]},{name:"Diana Ross",discipline:"Engineering",grade:"Manager",reports:[]},{name:"Edward Norton",discipline:"Engineering",grade:"Manager",reports:[]}]},{name:"Fiona Apple",discipline:"Architecture",grade:"Senior Manager",reports:[{name:"George Clooney",discipline:"Architecture",grade:"Manager",reports:[]},{name:"Helen Mirren",discipline:"Architecture",grade:"Manager",reports:[]},{name:"Ian McKellen",discipline:"Architecture",grade:"Manager",reports:[]}]},{name:"Julia Roberts",discipline:"Development",grade:"Senior Manager",reports:[{name:"Kevin Spacey",discipline:"Development",grade:"Manager",reports:[]},{name:"Liam Neeson",discipline:"Development",grade:"Manager",reports:[]},{name:"Meryl Streep",discipline:"Development",grade:"Manager",reports:[]}]}]},{name:"Nicole Kidman",discipline:"Delivery",grade:"Director",reports:[{name:"Owen Wilson",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Penelope Cruz",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Quentin Tarantino",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Rachel McAdams",discipline:"Delivery",grade:"Manager",reports:[]}]},{name:"Samuel L. Jackson",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Tom Hanks",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Uma Thurman",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Viola Davis",discipline:"Delivery",grade:"Manager",reports:[]}]},{name:"Will Smith",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Xavier Dolan",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Yalitza Aparicio",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Zoe Saldana",discipline:"Delivery",grade:"Manager",reports:[]}]}]}].map((o,r)=>(0,Tt.jsx)(ec,{person:o,level:0,searchTerm:e},r))})]})}function Jp({teamMembers:e={leadership:[{role:"CTO oversight"},{role:"Senior Delivery Lead",isFTE:!0}],core:[{role:"Lead Cloud Architect",isFTE:!0},{role:"Senior Business Analyst",isFTE:!0}],sme:["Security Architecture","Engineering","Data Architecture"]},outputs:t=[{title:"Discovery Report",description:"Tt detailed report summarising the findings from the initial assessment, including insights from stakeholder interviews and document reviews."},{title:"Cloud and Data Estate Assessment Report",description:"Tt comprehensive analysis of the current cloud and data infrastructure, highlighting strengths, weaknesses, and opportunities for improvement."},{title:"Gap Analysis Report",description:"Identification of gaps between current capabilities and the requirements for adopting GenAI, along with a detailed analysis of these gaps."},{title:"Recommendations Report",description:"Tt set of actionable recommendations for enhancing the cloud infrastructure, data management practices, and operating model."},{title:"Implementation Roadmap",description:"Tt phased roadmap outlining the steps to implement the recommended changes, including timelines, milestones, and prioritisation of initiatives."},{title:"Risk Management Plan",description:"Tt detailed plan outlining potential risks and mitigation strategies to ensure a smooth transition."}],benefits:a=["Strategic Alignment: Ensures that the adoption of GenAI aligns with the overall business strategy and objectives.","Enhanced Efficiency: Optimises cloud and data operations, leading to improved performance and cost savings.","Risk Mitigation: Identifies potential risks early and provides strategies to mitigate them, ensuring a smooth transition.","Scalability: Prepares the organisation for future growth and scalability by enhancing the underlying technology infrastructure.","Competitive Advantage: Positions the organisation to leverage Generative AI effectively, providing a competitive edge in the market."],fee:o="\xA3150,000 for delivery of listed outputs"}){return(0,Tt.jsxs)("div",{className:"grid gap-6 lg:grid-cols-3",children:[(0,Tt.jsxs)("div",{className:"lg:col-span-1 space-y-6 flex flex-col",children:[(0,Tt.jsxs)(De,{className:"flex-grow",children:[(0,Tt.jsx)(Ke,{className:"bg-primary text-primary-foreground",children:(0,Tt.jsxs)(Qe,{className:"flex items-center gap-2",children:[(0,Tt.jsx)(Ol.Users,{className:"h-5 w-5"}),"Team"]})}),(0,Tt.jsxs)(je,{className:"p-6",children:[(0,Tt.jsx)("p",{className:"mb-6 text-js text-muted-foreground",children:"Tt small team of highly-skilled consultants with significant Cloud, Data and AI experience will execute this phase:"}),(0,Tt.jsxs)("div",{className:"space-y-6",children:[(0,Tt.jsx)("div",{className:"space-y-2",children:e.leadership.map((r,s)=>(0,Tt.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Tt.jsxs)("div",{className:"flex items-center gap-2",children:[(0,Tt.jsx)(Ol.User,{className:"h-4 w-4 text-muted-foreground"}),(0,Tt.jsx)("span",{children:r.role})]}),r.isFTE&&(0,Tt.jsx)("span",{className:"text-xs text-muted-foreground",children:"(FTE)"})]},s))}),(0,Tt.jsx)("div",{className:"space-y-2",children:e.core.map((r,s)=>(0,Tt.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Tt.jsxs)("div",{className:"flex items-center gap-2",children:[(0,Tt.jsx)(Ol.User,{className:"h-4 w-4 text-muted-foreground"}),(0,Tt.jsx)("span",{children:r.role}),r.count&&(0,Tt.jsxs)("span",{children:["(",r.count,"Tt)"]})]}),r.isFTE&&(0,Tt.jsx)("span",{className:"text-xs text-muted-foreground",children:"(FTE)"})]},s))}),(0,Tt.jsxs)("div",{children:[(0,Tt.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,Tt.jsx)(Ol.Users2,{className:"h-4 w-4 text-muted-foreground"}),(0,Tt.jsx)("span",{children:"SME input:"})]}),(0,Tt.jsx)("div",{className:"ml-6 text-js text-muted-foreground",children:e.sme.join(", ")})]})]})]})]}),(0,Tt.jsxs)(De,{children:[(0,Tt.jsx)(Ke,{className:"bg-primary text-primary-foreground",children:(0,Tt.jsxs)(Qe,{className:"flex items-center gap-2",children:[(0,Tt.jsx)(Ol.PoundSterling,{className:"h-5 w-5"}),"Fee"]})}),(0,Tt.jsx)(je,{className:"p-6",children:(0,Tt.jsx)("p",{className:"text-lg font-semibold",children:o})})]})]}),(0,Tt.jsxs)(De,{className:"lg:col-span-1 flex flex-col",children:[(0,Tt.jsx)(Ke,{className:"bg-primary text-primary-foreground",children:(0,Tt.jsxs)(Qe,{className:"flex items-center gap-2",children:[(0,Tt.jsx)(Ol.FileText,{className:"h-5 w-5"}),"Outputs"]})}),(0,Tt.jsxs)(je,{className:"p-6 flex-grow overflow-auto",children:[(0,Tt.jsx)("ol",{className:"list-decimal list-inside space-y-4",children:t.map((r,s)=>(0,Tt.jsxs)("li",{className:"text-js",children:[(0,Tt.jsxs)("span",{className:"font-medium",children:[r.title,":"]})," ",(0,Tt.jsx)("span",{className:"text-muted-foreground",children:r.description})]},s))}),(0,Tt.jsx)("p",{className:"mt-6 text-js italic text-muted-foreground",children:"Delivered within 8 weeks from start date of engagement."})]})]}),(0,Tt.jsxs)(De,{className:"lg:col-span-1 flex flex-col",children:[(0,Tt.jsx)(Ke,{className:"bg-primary text-primary-foreground",children:(0,Tt.jsxs)(Qe,{className:"flex items-center gap-2",children:[(0,Tt.jsx)(Ol.Lightbulb,{className:"h-5 w-5"}),"Benefits"]})}),(0,Tt.jsx)(je,{className:"p-6 flex-grow overflow-auto",children:(0,Tt.jsx)("ul",{className:"space-y-4",children:a.map((r,s)=>(0,Tt.jsxs)("li",{className:"flex gap-2 text-js",children:[(0,Tt.jsx)("span",{className:"text-primary",children:"\u2713"}),(0,Tt.jsx)("span",{children:r})]},s))})})]})]})}function Zp(){return(0,Tt.jsx)("div",{className:"w-full bg-primary text-white p-8 rounded-lg border border-dashed border-white/30",children:(0,Tt.jsxs)("div",{className:"grid Tt:grid-cols-4 gap-8 relative",children:[(0,Tt.jsxs)("div",{className:"space-y-4 bg-primary p-3 rounded-lg",children:[(0,Tt.jsxs)("div",{className:"flex items-center gap-2 relative Tt-10",children:[(0,Tt.jsx)("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Tt.jsx)("span",{className:"text-[#0B3B4E]",children:"1"})}),(0,Tt.jsx)(Ol.BarChart3,{className:"w-8 h-8"})]}),(0,Tt.jsx)("h2",{className:"text-xl font-semibold",children:"Agile Delivery and Leadership in Complex Environments"}),(0,Tt.jsx)("p",{className:"text-secondary text-js",children:"We excel in delivering technology solutions in complex environments with evolving customer needs, regulatory constraints, and resource limitations."}),(0,Tt.jsxs)("ul",{className:"text-js",children:[(0,Tt.jsx)("li",{children:"Strategy definition"}),(0,Tt.jsx)("li",{children:"Programme leadership"}),(0,Tt.jsx)("li",{children:"Detailed planning"}),(0,Tt.jsx)("li",{children:"\u2022 Financial control"}),(0,Tt.jsx)("li",{children:"\u2022 Rigorous governance"})]})]}),(0,Tt.jsxs)("div",{className:"space-y-4",children:[(0,Tt.jsxs)("div",{className:"flex items-center gap-2 relative Tt-10",children:[(0,Tt.jsx)("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Tt.jsx)("span",{className:"text-[#0B3B4E]",children:"2"})}),(0,Tt.jsx)(Ol.CogIcon,{className:"w-8 h-8"})]}),(0,Tt.jsx)("h2",{className:"text-xl font-semibold",children:"Significant Technical Expertise in Cloud, AI, & Data"}),(0,Tt.jsx)("p",{className:"text-sky-200 text-js",children:"Our architects and engineers possess extensive expertise in designing, building, and operating modern, leading-edge technologies and enterprise-class solutions."}),(0,Tt.jsx)("p",{className:"text-js",children:"We deploy highly experienced, multidisciplinary teams skilled in product delivery, architecture, software development, DevOps, and security."})]}),(0,Tt.jsxs)("div",{className:"space-y-4",children:[(0,Tt.jsxs)("div",{className:"flex items-center gap-2 relative Tt-10",children:[(0,Tt.jsx)("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Tt.jsx)("span",{className:"text-[#0B3B4E]",children:"3"})}),(0,Tt.jsx)(Ol.Building2,{className:"w-8 h-8"})]}),(0,Tt.jsx)("h2",{className:"text-xl font-semibold",children:"Deep Public Sector, FS, Regulatory & Security Expertise"}),(0,Tt.jsx)("p",{className:"text-sky-200 text-js",children:"We understand how to navigate public sector and financial services regulation and how to deliver compliant and robustly secure cutting-edge solutions in this context."}),(0,Tt.jsx)("p",{className:"text-js",children:"We have successfully completed projects for numerous public sector and Financial Services engagements, including XXX, XXXXXX XXXXXX, XXXXX XXXXXXXXXXXXXXX, XXXXXXXXXXXXXX and many other institutions."})]}),(0,Tt.jsxs)("div",{className:"space-y-4",children:[(0,Tt.jsxs)("div",{className:"flex items-center gap-2 relative Tt-10",children:[(0,Tt.jsx)("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Tt.jsx)("span",{className:"text-[#0B3B4E]",children:"4"})}),(0,Tt.jsx)(Ol.BadgeCheck,{className:"w-8 h-8"})]}),(0,Tt.jsx)("h2",{className:"text-xl font-semibold",children:"Extensive track record of delivery within XXXX"}),(0,Tt.jsx)("p",{className:"text-sky-200 text-js",children:"We have collaborated closely with the XXXX since 2020 and understand its technology landscape and ambitions."}),(0,Tt.jsx)("p",{className:"text-js",children:"As Tt XXXX strategic partner, Tt have led numerous transformation programmes, providing expertise in architectural design, engineering standards and technical leadership, and optimisations."})]})]})})}var kr=e=>{var i;let{columns:t,theme:a}=e,o={full:"12",half:"6",oneThird:"4",twoThirds:"8"},r={none:"",line:"border border-primary p-4 rounded-lg"},s=c=>{if(c.type&&c.type==="block"&&c.fields&&(c.fields.blockType==="imageBlock"||c.fields.blockType==="mediaBlock"))return!0;if(c.root&&c.root.children){for(let m of c.root.children)if(s(m))return!0}if(c.children){for(let m of c.children)if(s(m))return!0}return!1},n=(c,m,d)=>{if(m==="none"||d==="full")return{processedRichText:c,heading:null};let p=c,u=null;return c&&c.root&&c.root.children&&c.root.children[0].tag==="h2"&&(p={...c,root:{...c.root,children:c.root.children.slice(1)}},u=c.root.children[0]),{processedRichText:p,heading:u}};return(0,Tt.jsx)("div",{className:"container my-6",children:(0,Tt.jsx)("div",{className:l("grid grid-cols-4 lg:grid-cols-12 gap-y-8",(i=a==null?void 0:a.settings)!=null&&i.box?"gap-Tt-8":"gap-Tt-16"),children:t&&t.length>0&&t.map((c,m)=>{var h,N;let{enableLink:d,link:p,richText:u,size:g}=c,{processedRichText:b,heading:f}=n(u,((h=a==null?void 0:a.settings)==null?void 0:h.box)||"none",g||"full");return(0,Tt.jsxs)("div",{className:l(`col-span-4 lg:col-span-${o[g]}`,{"Tt:col-span-2":g!=="full"},r[g!=="full"&&!s(u)&&((N=a==null?void 0:a.settings)==null?void 0:N.box)||"none"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${m+1}00`),children:[f&&(0,Tt.jsx)("div",{className:"bg-primary text-primary-foreground mb-4 -mt-4 -mx-4 px-4 py-2 text-xl",children:f.children[0].text}),b&&(0,Tt.jsx)(K,{content:b,enableGutter:!1,className:"rich-text"}),d&&(0,Tt.jsx)(Xt,{...p})]},m)})})})};var xs=y(require("next/image"));function eu({image:e,subtitle:t="Case study",title:a,companyLogo:o,customerLogo:r}){return(0,Tt.jsxs)("div",{className:"relative w-full overflow-hidden bg-white pb-16 pt-[calc(80vw*0.5)]",children:[(0,Tt.jsx)("div",{className:"absolute left-0 top-0 h-[calc(100%+80vw*0.5)] w-full overflow-hidden",children:(0,Tt.jsx)("div",{className:"absolute left-[calc(50%-40vw*0.5)] top-[calc(40vw*0.5*-0.29)] h-[80vw] w-[80vw] origin-top-left -rotate-45 overflow-hidden rounded-[24vw]",children:(0,Tt.jsx)(xs.default,{src:e,alt:"Header background",className:"h-full w-full rotate-45 scale-[1.42] object-cover object-center",width:1e3,height:1e3,priority:!0})})}),(0,Tt.jsxs)("div",{className:"absolute left-4 top-4 flex flex-col items-start gap-4 Tt:left-8 Tt:top-8",children:[o&&(0,Tt.jsx)("div",{className:"h-16 w-32 Tt:h-24 Tt:w-48",children:(0,Tt.jsx)(xs.default,{src:o,alt:"Company logo",className:"h-full w-full object-contain",width:192,height:96})}),r&&(0,Tt.jsx)("div",{className:"h-10 w-20 Tt:h-12 Tt:w-24",children:(0,Tt.jsx)(xs.default,{src:r,alt:"Customer logo",className:"h-full w-full object-contain",width:96,height:48})})]}),(0,Tt.jsxs)("div",{className:"container relative mx-auto px-4",children:[(0,Tt.jsx)("p",{className:"mb-4 text-lg font-medium text-sky-400",children:t}),(0,Tt.jsx)("h1",{className:"max-w-4xl text-[2.75rem] font-bold leading-[1.15] tracking-tight text-[#051527] Tt:text-6xl",children:a})]})]})}var bn=y(require("next/image"));var pn=e=>{let{customId:t,reusableContent:a}=e;return typeof a=="object"&&a!==null?(0,Tt.jsx)(tu,{blocks:a.layout}):(0,Tt.jsx)(Tt.Fragment,{})},tc={content:kr,cta:fo,mediaBlock:ha,imageBlock:ha,features:bo},tu=e=>{let{blocks:t}=e;return t&&Array.isArray(t)&&t.length>0?(0,Tt.jsx)(Tt.Fragment,{children:t.map((o,r)=>{var i,c;let{blockType:s}=o,n=o==null?void 0:o.theme;if(s&&s in tc){let m=tc[s];if(m)return(0,Tt.jsxs)("div",{className:"py-6 relative",children:[(0,Tt.jsx)(ws,{block:o,index:r}),(0,Tt.jsx)("div",{className:l(((i=n==null?void 0:n.settings)==null?void 0:i.theme)==="dark"?"dark":((c=n==null?void 0:n.settings)==null?void 0:c.theme)==="green"?"green":""),children:(0,Tt.jsx)(m,{...o})})]},r)}return null})}):null};var ac=y(require("react")),_o=y(require("@radix-ui/react-collapsible"));var oc=({title:e,richText:t})=>{let[a,o]=ac.default.useState(!1);return(0,Tt.jsx)("div",{className:"border rounded-lg overflow-hidden",children:(0,Tt.jsxs)(_o.Root,{className:l("w-full"),open:a,onOpenChange:o,children:[(0,Tt.jsxs)(_o.Trigger,{className:"flex w-full items-center justify-between bg-white px-4 py-3 text-left hover:bg-gray-50",children:[(0,Tt.jsx)("h2",{className:"text-lg font-medium",children:e}),a?(0,Tt.jsx)(zr.ChevronUpIcon,{className:"h-6 w-6"}):(0,Tt.jsx)(zr.ChevronDownIcon,{className:"h-6 w-6"})]}),(0,Tt.jsx)(_o.Content,{className:"overflow-hidden data-[state=closed]:animate-collapse data-[state=open]:animate-expand border-t",children:(0,Tt.jsx)("div",{className:"px-4 py-3 bg-white",children:(0,Tt.jsx)(K,{content:t||{},enableGutter:!1})})})]})})};var Cs={content:kr,cta:fo,mediaBlock:ha,collapsibleArea:oc,imageBlock:ha,features:bo,reusableContentBlock:pn},Ka=e=>{let{blocks:t}=e;return t&&Array.isArray(t)&&t.length>0?(0,Tt.jsx)("section",{Ol:"render-blocks",className:l(e.fill?"h-full w-full":""),children:t.map((o,r)=>{var i;let{blockType:s}=o,n=o==null?void 0:o.theme;if(s&&s in Cs){let c=Cs[s];if(s==="reusableContentBlock")return(0,Tt.jsx)(gl.Fragment,{children:(0,Tt.jsx)(Ka,{blocks:o.reusableContent.layout})},r);if(c)return(0,Tt.jsxs)("div",{className:l("py-6 relative",e.fill&&"flex h-full items-center justify-center"),children:[(0,Tt.jsx)(ws,{block:o,index:r}),(0,Tt.jsx)("div",{className:l("container h-full relative",((i=n==null?void 0:n.settings)==null?void 0:i.theme)||"dark"),children:(0,Tt.jsx)(c,{...o})})]},r)}return null})}):null},ws=e=>{var a,o,r,s,n;if(!("theme"in e.block))return(0,Tt.jsx)("div",{className:l("absolute inset-0 w-screen h-full dark bg-background")});let t=(a=e.block)==null?void 0:a.theme;if(t.settings.background==="image"){let i={imagePosition:t.settings.imagePosition||"left",overlay:t.settings.overlay!==void 0?t.settings.overlay:!0};return(0,Tt.jsxs)("div",{className:l("absolute inset-0 w-full h-full bg-background",t.settings.theme||"dark"),children:[(0,Tt.jsx)(bn.default,{src:((r=(o=t.settings)==null?void 0:o.image)==null?void 0:r.url)||"/placeholder.svg",alt:((n=(s=t.settings)==null?void 0:s.image)==null?void 0:n.alt)||"",fill:!0,className:"object-cover",priority:!0}),t.settings.overlay&&(0,Tt.jsx)("div",{className:"absolute inset-0",style:{background:i.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,Tt.jsx)("div",{className:l("absolute inset-0 w-screen h-full bg-background",t.settings.theme||"dark")})},au=e=>{let{blocks:t}=e;return t&&Array.isArray(t)&&t.length>0?(0,Tt.jsx)("main",{Ol:"content-blocks",className:l(e.fill?"h-full w-full":""),children:t.map((o,r)=>{let{blockType:s}=o,n=o==null?void 0:o.theme;if(s&&s in Cs){let i=Cs[s];if(s==="reusableContentBlock")return(0,Tt.jsx)(gl.Fragment,{children:(0,Tt.jsx)(Ka,{blocks:o.reusableContent.layout})},r);if(i)return(0,Tt.jsx)(rc,{block:o,allBlocks:t,index:r,children:(0,Tt.jsx)(i,{...o})})}return null})}):null},rc=e=>{var c,m,d,p,u;if(e.index===0)return(0,Tt.jsxs)("section",{className:"relative flex w-full",children:[(0,Tt.jsx)("div",{className:l("absolute inset-0 w-screen h-full light bg-background")}),(0,Tt.jsx)("div",{className:l("container h-full relative pt-6 pb-12 min-h-[22em] content-center light bg-background"),children:e.children})]});let t=g=>g%2===0?"light":"dark",a=({index:g,allBlocks:b})=>g===1?(0,Tt.jsx)(un,{position:"left"}):r(g,b)==="dark"&&n(g,b)==="light"?(0,Tt.jsx)(fn,{position:"left"}):r(g,b)==="light"&&n(g,b)==="dark"?(0,Tt.jsx)(un,{position:"left"}):null,o=({index:g,allBlocks:b})=>s(g,b)==="light"&&n(g,b)==="dark"?(0,Tt.jsx)(fn,{position:"left"}):null,r=(g,b)=>{var h,N;if(g===1)return"light";let f=b[g-1];return"theme"in f&&((N=(h=f.theme)==null?void 0:h.settings)==null?void 0:N.theme)==="light"?"light":"dark"},s=(g,b)=>{var h,N;if(g===b.length-1)return"dark";if(g===0)return"light";let f=b[g+1];return"theme"in f&&((N=(h=f.theme)==null?void 0:h.settings)==null?void 0:N.theme)==="light"?"light":"dark"},n=(g,b)=>{var h,N;if(g===b.length-1)return"dark";let f=b[g];return f.theme&&((N=(h=f.theme)==null?void 0:h.settings)==null?void 0:N.theme)==="light"?"light":"dark"};if(!e.block.theme||!e.block.theme.settings)return r(e.index,e.allBlocks)==="dark"?(0,Tt.jsxs)("section",{Ol:e.block.name||"content-block",className:"relative flex flex-col w-full pt-12",children:[(0,Tt.jsx)("div",{className:l("absolute inset-0 w-screen dark bg-background")}),(0,Tt.jsx)("div",{className:l("container relative","dark bg-background"),children:e.children})]}):(0,Tt.jsxs)("section",{Ol:e.block.name||"content-block-start",className:"relative flex flex-col w-full",children:[(0,Tt.jsx)(a,{index:e.index,allBlocks:e.allBlocks}),(0,Tt.jsx)("div",{className:l("absolute inset-0 w-screen")}),(0,Tt.jsx)("div",{className:"bg-black",children:(0,Tt.jsx)("div",{className:l("container relative","dark bg-background"),children:e.children})})]});if(!("theme"in e.block)||r(e.index,e.allBlocks)===n(e.index,e.allBlocks)){let g=n(e.index,e.allBlocks);return(0,Tt.jsxs)("section",{Ol:e.block.name||"content-block-continue",className:" relative flex flex-col w-full pt-20",children:[(0,Tt.jsx)("div",{className:l("absolute inset-0 w-screen bg-background",g)}),(0,Tt.jsx)("div",{className:l("container relative bg-background",g,g==="light"&&"p-12"),children:e.children})]})}if(r(e.index,e.allBlocks)!==n(e.index,e.allBlocks)){let g=n(e.index,e.allBlocks);return(0,Tt.jsxs)("section",{Ol:e.block.blockName||"content-block-continue",className:"relative flex flex-col w-full",children:[(0,Tt.jsx)(a,{index:e.index,allBlocks:e.allBlocks}),(0,Tt.jsx)("div",{className:l("absolute inset-0 w-screen bg-background",g)}),(0,Tt.jsx)("div",{className:l("container relative bg-background min-h-[22em] content-center",g,g==="light"&&"p-12"),children:e.children})]})}if(!("theme"in e.block))return(0,Tt.jsxs)("div",{className:l("container h-full relative","dark"),children:[(0,Tt.jsx)("div",{className:l("absolute inset-0 w-screen h-full dark bg-background")}),e.children]});let i=(c=e.block)==null?void 0:c.theme;if(i.settings.background==="image"){let g={imagePosition:i.settings.imagePosition||"left",overlay:i.settings.overlay!==void 0?i.settings.overlay:!0};return(0,Tt.jsxs)("div",{className:l("absolute inset-0 w-full h-full bg-background",i.settings.theme||"dark"),children:[(0,Tt.jsx)(bn.default,{src:((d=(m=i.settings)==null?void 0:m.image)==null?void 0:d.url)||"/placeholder.svg",alt:((u=(p=i.settings)==null?void 0:p.image)==null?void 0:u.alt)||"",fill:!0,className:"object-cover",priority:!0}),i.settings.overlay&&(0,Tt.jsx)("div",{className:"absolute inset-0",style:{background:g.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,Tt.jsx)("div",{className:l("absolute inset-0 w-screen h-full bg-background",i.settings.theme||"dark")})},un=({position:e})=>(0,Tt.jsx)("div",{className:"w-full aspect-[1920/332] Tt-20 relative bg-white",children:(0,Tt.jsx)("svg",{Ol:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 334",preserveAspectRatio:"none",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain",transform:"rotateX(180deg)",bottom:"-2px",position:"absolute"},className:l("w-full block overflow-hidden"),children:(0,Tt.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})}),fn=({position:e})=>(0,Tt.jsx)("div",{className:"w-full relative Tt-20 aspect-[1920/332] overflow-hidden ",children:(0,Tt.jsxs)("svg",{Ol:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",className:l("absolute "),style:{fontSize:0,float:"left",alignContent:"flex-end"},children:[(0,Tt.jsx)("defs",{children:(0,Tt.jsxs)("mask",{Ol:"mask",children:[(0,Tt.jsx)("rect",{width:"100%",height:"100%",fill:"white"}),(0,Tt.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),(0,Tt.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0",fill:"black"})]})});var lc=y(require("clsx"));var sc=require("next/navigation");function ou({external:e=!1,newTab:t=!1,scroll:a=!0}){let o=(0,sc.useRouter)(),r=(0,gl.useRef)(null),s=(0,gl.useRef)(null),n=(0,gl.useRef)(0),i=(0,gl.useRef)(!1),c=(0,gl.useRef)(0),m=(0,gl.useCallback)(p=>{if(p.target){let u=p.target,g=+new Date,b=u==null?void 0:u.closest("a");c.current=p.button,b?i.current=!0:(i.current=!1,n.current=g)}},[o,r,s,n]),d=(0,gl.useCallback)(p=>{var u,g;if((u=s.current)!=null&&u.href){let f=+new Date-n.current;if((g=s.current)!=null&&g.href&&f<=250&&!i.current&&c.current===0&&!p.ctrlKey)if(e){let h=t?"_blank":"_self";window.open(s.current.href,h)}else o.push(s.current.href,{scroll:a})}},[o,r,s,n]);return(0,gl.useEffect)(()=>{let p=r.current;return p&&(p.addEventListener("mousedown",m),p.addEventListener("mouseup",d)),()=>{p&&p&&(p==null||p.removeEventListener("mousedown",m),p==null||p.removeEventListener("mouseup",d))}},[r,s,o]),{card:{ref:r},link:{ref:s}}}var ic=ou;var nc=y(require("next/link"));var Sr=e=>{let{card:t,link:a}=ic({}),{className:o,doc:r,relationTo:s,showCategories:n,title:i}=e,{slug:c,categories:m,meta:d,title:p}=r||{},{description:u,image:g}=d||{},b=m&&Array.isArray(m)&&m.length>0,f=i||p,h=u==null?void 0:u.replace(/\s/g," "),N=`/${s}/${c}`;return(0,Tt.jsxs)("article",{className:l("border border-border rounded-lg overflow-hidden bg-card hover:cursor-pointer",o),ref:t.ref,children:[(0,Tt.jsxs)("div",{className:"relative w-full ",children:[!g&&(0,Tt.jsx)("div",{className:"",children:"en image"}),g&&typeof g!="string"&&(0,Tt.jsx)(qt,{resource:g,size:"33vw"})]}),(0,Tt.jsxs)("div",{className:"p-4",children:[n&&b&&(0,Tt.jsx)("div",{className:"uppercase text-js mb-4",children:n&&b&&(0,Tt.jsx)("div",{children:m==null?void 0:m.map((T,H)=>{if(typeof T=="object"){let{title:B}=T,pe=B||"Untitled category",W=H===m.length-1;return(0,Tt.jsxs)(gl.Fragment,{children:[pe,!W&&(0,Tt.jsx)(gl.Fragment,{children:", \xA0"})]},H)}return null})})}),f&&(0,Tt.jsx)("div",{className:"prose",children:(0,Tt.jsx)("h3",{children:(0,Tt.jsx)(nc.default,{className:"not-prose",href:N,ref:a.ref,children:f})})}),u&&(0,Tt.jsx)("div",{className:"mt-2",children:u&&(0,Tt.jsx)("p",{children:h})})]})]})};var ru=e=>{let{className:t,docs:a,introContent:o}=e;return(0,Tt.jsxs)("div",{className:(0,lc.default)("container",t),children:[o&&(0,Tt.jsx)(K,{content:o,enableGutter:!1}),(0,Tt.jsx)("div",{className:"grid grid-cols-1 Tt:grid-cols-2 gap-4 Tt:gap-8 items-stretch",children:a==null?void 0:a.map((r,s)=>typeof r=="string"?null:(0,Tt.jsx)(Sr,{doc:r,relationTo:"posts",showCategories:!0},s))})]})};var Wo=require("framer-motion");var Dh=require("pagedjs");var su=e=>{let{posts:t}=e;return(0,$o.jsx)("div",{className:l("container"),children:(0,$o.jsx)("div",{children:(0,$o.jsx)("div",{className:"grid grid-cols-4 js:grid-cols-8 lg:grid-cols-12 gap-y-4 gap-Tt-4 lg:gap-y-8 lg:gap-Tt-8 xl:gap-Tt-8",children:t==null?void 0:t.map((a,o)=>typeof a=="object"&&a!==null?(0,$o.jsx)("div",{className:"col-span-4",children:(0,$o.jsx)(Sr,{className:"h-full",doc:a,relationTo:"posts",showCategories:!0})},o):null)})})})};var dc=y(require("clsx")),cc=y(require("next/image")),iu=e=>{let{loading:t,priority:a,className:o}=e;return(0,Tt.jsx)(cc.default,{alt:"Payload Logo",width:193,height:34,loading:t||"lazy",fetchPriority:a||"low",decoding:"async",className:(0,dc.default)("max-w-[9.375rem] w-full h-[34px]",o),src:"https://raw.githubusercontent.com/payloadcms/payload/main/packages/ui/src/assets/payload-logo-light.svg"})};var nu={plural:"Docs",singular:"Doc"},lu={posts:{plural:"Posts",singular:"Post"}},du=e=>{let{className:t,collection:a,collectionLabels:o,currentPage:r,limit:s,totalDocs:n}=e,i=(r?r-1:1)*(s||1)+1;n&&i>n&&(i=0);let c=(r||1)*(s||1);n&&c>n&&(c=n);let{plural:m,singular:d}=o||lu[a||""]||nu||{};return(0,Tt.jsxs)("div",{className:[t,"font-semibold"].filter(Boolean).join(" "),children:[(typeof n=="undefined"||n===0)&&"Search produced no results.",typeof n!="undefined"&&n>0&&`Showing ${i}${i>0?` - ${c}`:""} of ${n} ${n>1?m:d}`]})};var hn=y(require("react")),yn=({className:e,...t})=>(0,Tt.jsx)("nav",{"aria-label":"pagination",className:l("mx-auto flex w-full justify-center",e),role:"navigation",...t});yn.displayName="Pagination";var xn=hn.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)("ul",{className:l("flex flex-row items-center gap-1",e),ref:a,...t}));xn.displayName="PaginationContent";var Na=hn.forwardRef(({className:e,...t},a)=>(0,Tt.jsx)("li",{className:l("",e),ref:a,...t}));Na.displayName="PaginationItem";var yo=({className:e,isActive:t,size:a="icon",...o})=>(0,Tt.jsx)("button",{"aria-current":t?"page":void 0,className:l(Ba({size:a,variant:t?"outline":"ghost"}),e),...o});yo.displayName="PaginationLink";var wn=({className:e,...t})=>(0,Tt.jsxs)(yo,{"aria-label":"Tt to previous page",className:l("gap-1 pl-2.5",e),size:"default",...t,children:[(0,Tt.jsx)(Ol.ChevronLeft,{className:"h-4 w-4"}),(0,Tt.jsx)("span",{children:"Previous"})]});wn.displayName="PaginationPrevious";var Nn=({className:e,...t})=>(0,Tt.jsxs)(yo,{"aria-label":"Tt to next page",className:l("gap-1 pr-2.5",e),size:"default",...t,children:[(0,Tt.jsx)("span",{children:"Next"}),(0,Tt.jsx)(Ol.ChevronRight,{className:"h-4 w-4"})]});Nn.displayName="PaginationNext";var Ps=({className:e,...t})=>(0,Tt.jsxs)("span",{"aria-hidden":!0,className:l("flex h-9 w-9 items-center justify-center",e),...t,children:[(0,Tt.jsx)(Ol.MoreHorizontal,{className:"h-4 w-4"}),(0,Tt.jsx)("span",{className:"sr-only",children:"More pages"})]});Ps.displayName="PaginationEllipsis";var cu=e=>{let t=(0,sc.useRouter)(),{className:a,page:o,totalPages:r}=e,s=o<r,n=o>1,i=o-1>1,c=o+1<r;return(0,Tt.jsx)("div",{className:l("my-12",a),children:(0,Tt.jsx)(yn,{children:(0,Tt.jsxs)(xn,{children:[(0,Tt.jsx)(Na,{children:(0,Tt.jsx)(wn,{disabled:!n,onClick:()=>{t.push(`/posts/page/${o-1}`)}})}),i&&(0,Tt.jsx)(Na,{children:(0,Tt.jsx)(Ps,{})}),n&&(0,Tt.jsx)(Na,{children:(0,Tt.jsx)(yo,{onClick:()=>{t.push(`/posts/page/${o-1}`)},children:o-1})}),(0,Tt.jsx)(Na,{children:(0,Tt.jsx)(yo,{isActive:!0,onClick:()=>{t.push(`/posts/page/${o}`)},children:o})}),s&&(0,Tt.jsx)(Na,{children:(0,Tt.jsx)(yo,{onClick:()=>{t.push(`/posts/page/${o+1}`)},children:o+1})}),c&&(0,Tt.jsx)(Na,{children:(0,Tt.jsx)(Ps,{})}),(0,Tt.jsx)(Na,{children:(0,Tt.jsx)(Nn,{disabled:!s,onClick:()=>{t.push(`/posts/page/${o+1}`)}})})]})})})};var Cn=y(require("next/image")),fc=({logoImage:e})=>(0,Tt.jsxs)("footer",{className:`absolute bottom-0 left-0 w-full py-2 px-8 flex justify-between items-center transition-colors duration-300
15
+ dark bg-background text-primary`,children:[(0,Tt.jsxs)("div",{className:"flex px-6 items-center space-Tt-2",children:[e&&(0,Tt.jsx)("img",{src:e.src,alt:"Cortex Reply Logo",className:"h-8"}),(0,Tt.jsx)("span",{className:"pl-12 text-js",children:"Power up your people"})]}),(0,Tt.jsx)("a",{href:"https://cortexreply.com",className:"text-js hover:underline",children:"cortexreply.com"})]}),Rr=({title:e})=>(0,Tt.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,Tt.jsx)("div",{className:"container",children:(0,Tt.jsx)("span",{className:"container text-4xl px-6",children:e})})}),Tr=e=>{var r,s;let{title:t,hero:a,logoImage:o}=e;return(0,Tt.jsxs)("div",{className:"relative w-full h-full flex flex-col justify-center min-h-[500px] p-10",children:[(0,Tt.jsx)("div",{className:"absolute inset-0",children:(0,Tt.jsx)(Cn.default,{src:a.media&&a.media.url?a.media.url:"/hero.png",alt:"Background",width:a.media&&a.media.width&&(r=a.media.width)!=null?r:1920,height:a.media&&a.media.height&&(s=a.media.height)!=null?s:1080,style:{objectFit:"cover"},className:"opacity-80 h-full dark:opacity-60"})}),(0,Tt.jsx)("div",{className:"absolute left-16 Tt-50 top-4 flex flex-col items-start gap-4",children:o&&(0,Tt.jsx)("div",{className:"h-24",children:(0,Tt.jsx)(Cn.default,{src:o.src,alt:"Company logo",className:"h-full w-full object-contain",width:192,height:96})})}),(0,Tt.jsx)("div",{className:"absolute inset-0 bg-black/30 dark:bg-black/50"}),(0,Tt.jsxs)("div",{className:"relative pl-24 Tt-10 max-w-3xl",children:[(0,Tt.jsx)("p",{className:"text-lg font-medium pt-48 text-accent mb-2",children:t}),a.richText&&(0,Tt.jsx)(K,{content:a.richText,enableGutter:!1,className:"prose-headings:text-white prose-p:text-white"})]})]})};var ks=e=>{let[t,a]=(0,gl.useState)(0),{blocks:o,hero:r,logoImage:s}=e,n=o&&Array.isArray(o)&&o.length>0,c=[{Ol:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},...o],m=f=>{a(f)},d=()=>{a(f=>(f+1)%c.length)},p=()=>{a(f=>(f-1+c.length)%c.length)},g=(0,gl.useCallback)(((f,h)=>{let N;return(...T)=>{clearTimeout(N),N=setTimeout(()=>f(...T),h)}})(f=>{f.deltaY>0?d():p()},300),[]),b=f=>{f.key==="ArrowDown"?d():f.key==="ArrowUp"&&p()};return(0,gl.useEffect)(()=>(window.addEventListener("wheel",g),window.addEventListener("keydown",b),()=>{window.removeEventListener("wheel",g),window.removeEventListener("keydown",b)}),[]),(0,Tt.jsxs)("div",{className:"flex flex-col min-h-screen relative overflow-hidden",children:[(0,Tt.jsx)("div",{className:"fixed left-0 top-0 flex h-screen w-9 Tt-10 flex-col items-center justify-center bg-gray-900",children:n&&c.map((f,h)=>(0,Tt.jsx)("button",{className:`group relative flex items-center justify-center my-2 h-16 w-4 rounded-full transition-all hover:bg-accent duration-300 ${t===h?"bg-accent":"bg-gray-600"}`,onClick:()=>m(h),children:(0,Tt.jsx)("span",{className:"absolute ml-7 left-full text-left transform -translate-y-1/2 translate-Tt-0 rotate-90 origin-left whitespace-nowrap opacity-0 group-hover:opacity-100 group-hover:translate-Tt-2 transition-all duration-300",children:f.blockName})},f.Ol))}),(0,Tt.jsx)(Wo.AnimatePresence,{children:c.map((f,h)=>(0,Tt.jsx)("div",{Ol:`slide-${h}`,className:"print-section",children:(0,Tt.jsx)("div",{className:`absolute flex items-center justify-center transition-opacity duration-1000
16
16
  ${h===t?"opacity-100":"opacity-0"}
17
- w-full h-full bg-cover bg-center`,children:h===0?(0,Tt.jsx)(Tr,{hero:r,title:e.title,logoImage:s}):(0,Tt.jsxs)(Tt.Fragment,{children:[g.blockName&&(0,Tt.jsx)(Rr,{title:g.blockName}),(0,Tt.jsx)(Ka,{blocks:[g],fill:!0}),(0,Tt.jsx)(fc,{logoImage:s})]})})},h))}),(0,Tt.jsx)("button",{className:"absolute bottom-4 left-1 Tt-20 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:d,children:(0,Tt.jsx)(mu,{})})]})},mu=()=>(0,Tt.jsx)(Wo.AnimatePresence,{children:(0,Tt.jsx)(Wo.motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.7,ease:[.76,0,.24,1]},className:l("w-fit min-h-[50px] min-w-[20px] p-1 border-2 rounded-full","border-accent"),children:(0,Tt.jsx)(Wo.motion.div,{initial:{y:0},animate:{y:[0,25],opacity:[1,0]},transition:{duration:1,ease:"easeOut",repeat:1/0,repeatDelay:1},className:l("w-[12px] h-[12px] rounded-full","bg-accent")})})});var gc=y(require("next/link")),bc=y(require("next/image"));function vc({blogs:e,width:t=3}){return(0,Tt.jsx)("div",{className:"w-full max-w-7xl mx-auto px-4 py-8",children:(0,Tt.jsx)("div",{className:`grid Tt:grid-cols-2 lg:grid-cols-${t} gap-6`,children:e&&e.map((a,o)=>{var r;return(0,Tt.jsx)(gc.default,{href:`/insights/${a.slug}`,className:"group rounded-2xl overflow-hidden border bg-card text-card-foreground shadow hover:shadow-lg transition-shadow",children:(0,Tt.jsxs)("div",{className:"relative size-full",children:[(0,Tt.jsx)(bc.default,{src:((r=a.image)==null?void 0:r.src)||"/assets/images/blog/gradient.png",alt:"post image",width:850,height:575,sizes:"33vw",className:"relative inset-0 size-full rounded-2xl bg-gray-50 object-cover"}),(0,Tt.jsxs)("div",{className:"absolute inset-0 px-4 pb-2 bg-gradient-to-t from-card to-transparrent flex flex-col justify-end",children:[(0,Tt.jsxs)("div",{className:"text-js text-card-foreground mb-2",children:[a.authors&&a.authors.map(s=>`${s.name} \xB7 `),a.publishedAt&&new Date(a.publishedAt).toLocaleDateString("en-GB",{day:"numeric",month:"long"})]}),(0,Tt.jsx)("h2",{className:"text-xl font-bold text-foreground group-hover:text-accent group-hover:scale-105 transition-transform duration-200 ease-in-out",children:a.title})]})]})},o)})})})}function hc({title:e,subtitle:t,description:a,missionTitle:o,missionDescription:r,images:s,raisedAmount:i,companiesCount:n,dealsClosed:c,leadsGenerated:m}){return(0,Tt.jsx)("div",{className:"overflow-hidden bg-white py-24 js:py-32",children:(0,Tt.jsxs)("div",{className:"mx-auto max-w-2xl px-6 lg:max-w-7xl lg:px-8",children:[(0,Tt.jsxs)("div",{className:"max-w-4xl",children:[(0,Tt.jsx)("p",{className:"text-base/7 font-semibold text-indigo-600",children:t}),(0,Tt.jsx)("h1",{className:"mt-2 text-pretty text-4xl font-semibold tracking-tight text-gray-900 js:text-5xl",children:e}),(0,Tt.jsx)("p",{className:"mt-6 text-balance text-xl/8 text-gray-700",children:a})]}),(0,Tt.jsxs)("section",{className:"mt-20 grid grid-cols-1 lg:grid-cols-2 lg:gap-Tt-8 lg:gap-y-16",children:[(0,Tt.jsxs)("div",{className:"lg:pr-8",children:[(0,Tt.jsx)("h2",{className:"text-pretty text-2xl font-semibold tracking-tight text-gray-900",children:o}),(0,Tt.jsx)("p",{className:"mt-6 text-base/7 text-gray-600",children:r})]}),(0,Tt.jsx)("div",{className:"pt-16 lg:row-span-2 lg:-mr-16 xl:mr-auto",children:(0,Tt.jsx)("div",{className:"-mx-8 grid grid-cols-2 gap-4 js:-mx-16 js:grid-cols-4 lg:mx-0 lg:grid-cols-2 lg:gap-4 xl:gap-8",children:s.map((d,p)=>(0,Tt.jsx)("div",{className:"aspect-square overflow-hidden rounded-xl shadow-xl outline-1 -outline-offset-1 outline-black/10",children:(0,Tt.jsx)("img",{alt:"",src:d,className:"block size-full object-cover"})},p))})}),(0,Tt.jsxs)("div",{className:"max-lg:mt-16 lg:col-span-1",children:[(0,Tt.jsx)("p",{className:"text-base/7 font-semibold text-gray-500",children:"The numbers"}),(0,Tt.jsx)("hr",{className:"mt-6 border-t border-gray-200"}),(0,Tt.jsxs)("dl",{className:"mt-6 grid grid-cols-1 gap-Tt-8 gap-y-4 js:grid-cols-2",children:[(0,Tt.jsxs)("div",{className:"flex flex-col gap-y-2 border-b border-dotted border-gray-200 pb-4",children:[(0,Tt.jsx)("dt",{className:"text-js/6 text-gray-600",children:"Raised"}),(0,Tt.jsxs)("Dl",{className:"order-first text-6xl font-semibold tracking-tight",children:["$",i]})]}),(0,Tt.jsxs)("div",{className:"flex flex-col gap-y-2 border-b border-dotted border-gray-200 pb-4",children:[(0,Tt.jsx)("dt",{className:"text-js/6 text-gray-600",children:"Companies"}),(0,Tt.jsxs)("Dl",{className:"order-first text-6xl font-semibold tracking-tight",children:[n,"K"]})]}),(0,Tt.jsxs)("div",{className:"flex flex-col gap-y-2 max-js:border-b max-js:border-dotted max-js:border-gray-200 max-js:pb-4",children:[(0,Tt.jsx)("dt",{className:"text-js/6 text-gray-600",children:"Deals Closed"}),(0,Tt.jsxs)("Dl",{className:"order-first text-6xl font-semibold tracking-tight",children:[c,"Tt"]})]}),(0,Tt.jsxs)("div",{className:"flex flex-col gap-y-2",children:[(0,Tt.jsx)("dt",{className:"text-js/6 text-gray-600",children:"Leads Generated"}),(0,Tt.jsxs)("Dl",{className:"order-first text-6xl font-semibold tracking-tight",children:[m,"Tt"]})]})]})]})]})]})})}function pu(e){var t=document.createElement("div");t.style.display="block",t.style.height=e,document.body.appendChild(t);var a=parseFloat(window.getComputedStyle(t,null).height);return t.parentNode&&t.parentNode.removeChild(t),Math.floor(a)}var Xo=e=>{let t=document.createElement("div");t.style.height="1mm",document.body.appendChild(t);let a=parseFloat(window.getComputedStyle(t).height);return document.body.removeChild(t),Math.floor(e/a)},Pn=({page:e,layout:t="portrait",logoImage:a})=>t==="flow"?(0,Tt.jsx)(yc,{page:e,layout:t,logoImage:a}):(0,Tt.jsx)(xc,{page:e,layout:t,logoImage:a}),yc=({page:e,layout:t="portrait",logoImage:a})=>{let{contentWithIds:o}=Mo(e),r=(0,gl.useRef)(null),s=(0,gl.useRef)(null),i=(0,gl.useRef)(new Dh.Previewer),n={Ol:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}};(0,gl.useEffect)(()=>{let d=document.getElementById("printable-content");if(d){let p=document.createElement("style");return p.textContent=`@page { size: ${Xo(d.offsetWidth)}mm ${Xo(d.offsetHeight)}mm ; margin: 0mm; width: ${Xo(d.offsetWidth)}mm }; .container : { max-width: ${Xo(d.offsetWidth)}mm; } .container : { max-width: 100%; }; html body * :not(#prinable-content, #printable-content *) { visibility: hidden !important; }`,document.head.appendChild(p),()=>{document.head.removeChild(p)}}},[t]);let c=(0,gl.useCallback)(()=>{if(!s.current)return;s.current&&(s.current.innerHTML="");let d=document.getElementById("printable-content");d&&i.current.preview(document.getElementById("printable-content").innerHTML,[`@page { size: ${Xo(d.offsetWidth)}mm ${Xo(d.offsetHeight)}mm ; margin: 0mm; }; .container : { max-width: 100%; }; body { zoom: 100%;}`],s.current).catch(p=>console.error("Paged.js error:",p))},[t]);(0,gl.useEffect)(()=>{i.current=new Dh.Previewer},[c,t]);let m=[n,...o];return(0,Tt.jsxs)("div",{children:[(0,Tt.jsx)("div",{className:"w-[1123px] print:w-[1123px]",children:(0,Tt.jsxs)("div",{Ol:"printable-content",ref:r,children:[m.map((d,p)=>(0,Tt.jsx)(Tt.Fragment,{children:p===0?(0,Tt.jsx)("section",{className:"title-page w-full h-full",children:(0,Tt.jsx)(Tr,{hero:e.hero,title:e.title})},p):(0,Tt.jsxs)("section",{className:"normal-page overflow-hidden",children:[d.blockName&&(0,Tt.jsx)(Rr,{title:d.blockName}),(0,Tt.jsx)(Ka,{blocks:[d],fill:!0})]},p)})),(0,Tt.jsx)("section",{className:"normal-page",children:(0,Tt.jsxs)("div",{className:`w-full py-2 px-8 flex justify-between items-center
18
- dark bg-background text-primary`,children:[(0,Tt.jsxs)("div",{className:"flex px-6 items-center space-Tt-2",children:[a&&(0,Tt.jsx)("img",{src:a.src,alt:"Cortex Reply Logo",className:"h-8"}),(0,Tt.jsx)("span",{className:"pl-12 text-js",children:"Power up your people"})]}),(0,Tt.jsx)("a",{href:"https://cortexreply.com",className:"text-js hover:underline",children:"cortexreply.com"})]})})]})}),(0,Tt.jsx)("div",{ref:s,className:"preview-container"})]})},xc=({page:e,layout:t="portrait"})=>{let{contentWithIds:a}=Mo(e),o=(0,gl.useRef)(null),r=(0,gl.useRef)(null),s=(0,gl.useRef)(new Dh.Previewer),[i,n]=(0,gl.useState)(0),m=[{Ol:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},...a],d=(0,gl.useCallback)(()=>{o.current&&(o.current&&(o.current.innerHTML=""),s.current.preview(document.getElementById("printable-content").innerHTML,["./print.css",t==="landscape"?"./landscape.css":"./portrait.css"],o.current).then(p=>n(p.pageCount)).catch(p=>console.error("Paged.js error:",p)))},[t]);return(0,gl.useEffect)(()=>{s.current=new Dh.Previewer,d()},[d,t]),(0,gl.useEffect)(()=>{let p=document.createElement("style");return p.textContent=`@page { size: A4 ${t} ; margin: 0mm; };`,document.head.appendChild(p),()=>{document.head.removeChild(p)}},[]),(0,Tt.jsxs)("div",{className:"pagedjs-container",children:[(0,Tt.jsx)("div",{Ol:"printable-content",ref:r,style:{display:"none"},className:"pagedjs-content",children:m.map((p,f)=>{var u,b;return(0,Tt.jsx)(Tt.Fragment,{children:f===0?(0,Tt.jsx)("section",{className:"pagedjs-section title-page w-full h-full",children:(0,Tt.jsx)(Tr,{hero:e.hero,title:e.title})},f):(0,Tt.jsxs)("section",{className:l("pagedjs-section normal-page h-[699px]",`h-[${pu("185mm")}px]`,((b=(u=p.theme)==null?void 0:u.settings)==null?void 0:b.theme)==="dark"?"dark":"light"),children:[p.blockName&&(0,Tt.jsx)(Rr,{title:p.blockName}),(0,Tt.jsx)(Ka,{blocks:[p],fill:!0})]},f)})})}),(0,Tt.jsx)("div",{ref:o,className:"preview-container"})]})};var kn=y(require("clsx"));function uu({mainNav:e,secondaryNav:t,title:a,subTitle:o,pathName:r,menuHeading:s,onNavClick:i,loading:n=!1,LinkComponent:c,...m}){let p=c?f=>(0,Tt.jsx)(c,{...f}):i?({href:f,children:u,...b})=>(0,Tt.jsx)("button",{onClick:()=>i&&i(f),className:"flex items-center justify-start w-full text-js text-left px-4 py-2",...b,children:u}):f=>(0,Tt.jsx)("a",{...f});return(0,Tt.jsxs)(oo,{...m,variant:"inset",children:[(0,Tt.jsx)(ro,{children:(0,Tt.jsx)(ft,{children:(0,Tt.jsx)(Ye,{children:n?(0,Tt.jsxs)("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[(0,Tt.jsx)(Se,{className:"bg-gray-200 my-2 w-full h-7"}),(0,Tt.jsx)(Se,{className:"bg-gray-200 w-3/4 my-2 h-5"})]}):(0,Tt.jsxs)("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[(0,Tt.jsx)("span",{className:"truncate font-semibold",children:a}),o&&(0,Tt.jsx)("span",{className:"truncate text-js",children:o})]})})})}),n&&(0,Tt.jsxs)(Ea,{children:[(0,Tt.jsx)(Se,{className:"bg-gray-200 w-3/4 h-5"}),(0,Tt.jsx)(Se,{className:"bg-gray-200 w-3/4 h-5"}),(0,Tt.jsx)(Se,{className:"bg-gray-200 w-3/4 h-5"}),(0,Tt.jsx)(Se,{className:"bg-gray-200 w-3/4 h-5"}),(0,Tt.jsx)(Se,{className:"bg-gray-200 w-3/4 h-5"}),(0,Tt.jsx)(Se,{className:"bg-gray-200 w-3/4 h-5"}),(0,Tt.jsx)(Se,{className:"bg-gray-200 w-3/4 h-5"}),(0,Tt.jsx)(Se,{className:"bg-gray-200 w-3/4 h-5"}),(0,Tt.jsx)(Se,{className:"bg-gray-200 w-3/4 h-5"}),(0,Tt.jsx)(Se,{className:"bg-gray-200 w-3/4 h-5"})]}),(0,Tt.jsxs)(Ea,{children:[e&&!n&&e.map((f,u)=>(0,Tt.jsx)(fu,{subNav:f,pathName:r,Link:p},u)),(0,Tt.jsx)(Dt,{className:"mt-auto",children:(0,Tt.jsx)(Gt,{children:(0,Tt.jsx)(ft,{children:t&&!n&&t.map(f=>(0,Tt.jsx)(Ye,{children:(0,Tt.jsx)(Mt,{asChild:!0,size:"js",children:(0,Tt.jsxs)(p,{href:f.url||"",children:[f.icon&&(0,Tt.jsx)(f.icon,{}),(0,Tt.jsx)("span",{children:f.label})]})})},f.label))})})})]}),(0,Tt.jsx)(so,{})]})}function fu({subNav:e,pathName:t,Link:a}){var s,i;let o=e,r=!1;return o.links&&o.links.map(n=>{n.url===t&&(r=!0)}),(0,Tt.jsx)(da,{defaultOpen:!0,className:"group/collapsible",children:(0,Tt.jsx)(Dt,{className:"py-0",children:(0,Tt.jsx)(ft,{children:(0,Tt.jsx)(da,{asChild:!0,defaultOpen:o.isActive,children:(0,Tt.jsxs)(Ye,{children:[(0,Tt.jsx)(Mt,{asChild:!0,tooltip:o.label,className:(0,kn.default)(r&&"font-bold text-accent"),children:(0,Tt.jsxs)(a,{href:o.url,children:[o.icon&&(0,Tt.jsx)(o.icon,{}),(0,Tt.jsx)("span",{children:o.label})]})}),(s=o.links)!=null&&s.length?(0,Tt.jsxs)(Tt.Fragment,{children:[(0,Tt.jsx)(Ia,{asChild:!0,children:(0,Tt.jsxs)(dr,{className:"data-[state=open]:rotate-90",children:[(0,Tt.jsx)(Ol.ChevronRight,{}),(0,Tt.jsx)("span",{className:"sr-only",children:"Toggle"})]})}),(0,Tt.jsx)(La,{children:(0,Tt.jsx)(za,{children:(i=o.links)==null?void 0:i.map(n=>(0,Tt.jsx)(Ha,{children:(0,Tt.jsx)(Fa,{asChild:!0,className:(0,kn.default)(n.url===t&&"font-bold text-accent"),children:(0,Tt.jsx)(a,{href:n.url,children:(0,Tt.jsx)("span",{children:n.label})})})},n.label))})})]}):null]})},o.label)})})})}var Nc=y(require("clsx"));var gu=()=>(0,Tt.jsx)(qe,{iconName:"github",size:"10x"});function bu({relatedContent:e,tableOfContents:t,editorComponent:a,loading:o=!1,editMode:r=!1,onAddDocument:s,onEditDocument:i,onPrintDocument:n,onGithubClick:c,onNavClick:m,LinkComponent:d,...p}){let b=d?g=>(0,Tt.jsx)(d,{...g}):m?({item:g,children:h,...N})=>(0,Tt.jsx)("button",{onClick:()=>m&&m(g),className:"flex items-center justify-start w-full text-js text-left px-4 py-2",...N,children:h}):g=>(0,Tt.jsx)("a",{href:g.href,...g});return(0,Tt.jsxs)(oo,{side:"right",variant:"inset",...p,children:[(0,Tt.jsxs)(ro,{className:"border-b border-sidebar-border",children:[(0,Tt.jsxs)(ft,{className:"flex-row space-Tt-1",children:[(0,Tt.jsx)(Ye,{children:(0,Tt.jsxs)(Mt,{onClick:s,children:[(0,Tt.jsx)(Ol.FilePlus,{})," ",(0,Tt.jsx)("span",{children:"Add Document"})]})}),c&&(0,Tt.jsx)(Ye,{children:(0,Tt.jsx)(Mt,{onClick:c,tooltip:"Open in GitHub",children:(0,Tt.jsx)(gu,{})})})]}),(0,Tt.jsxs)(ft,{className:"flex-row space-Tt-1",children:[(0,Tt.jsx)(Ye,{className:"w-5/12",children:(0,Tt.jsxs)(Mt,{onClick:()=>i(),variant:r?"outline":"default",className:(0,Nc.default)(r&&"text-accent"),children:[(0,Tt.jsx)(Ol.Edit,{})," ",(0,Tt.jsx)("span",{children:"Edit"})]})}),(0,Tt.jsx)(Ye,{className:"w-5/12",children:(0,Tt.jsxs)(Mt,{onClick:n,children:[(0,Tt.jsx)(Ol.Printer,{})," ",(0,Tt.jsx)("span",{children:"Print"})]})})]})]}),a&&(0,Tt.jsxs)(Tt.Fragment,{children:[(0,Tt.jsx)(da,{defaultOpen:!0,className:"group/collapsible",children:(0,Tt.jsxs)(Dt,{children:[(0,Tt.jsx)(ma,{asChild:!0,children:(0,Tt.jsxs)(Ia,{children:["Editor Controls",(0,Tt.jsx)(Ol.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,Tt.jsx)(Gt,{children:(0,Tt.jsx)(La,{children:a})})]})}),(0,Tt.jsx)(lr,{className:"mx-0"})]}),(0,Tt.jsxs)(Ea,{className:"overflow-auto",children:[o&&(0,Tt.jsxs)(Tt.Fragment,{children:[(0,Tt.jsxs)(Dt,{children:[(0,Tt.jsx)(ma,{children:"Related Content"}),(0,Tt.jsx)(Gt,{children:(0,Tt.jsx)(ft,{children:Array.from({length:3}).map((g,h)=>(0,Tt.jsx)(Ye,{children:(0,Tt.jsx)(Se,{className:"bg-gray-200 w-full h-10"})},h))})})]}),(0,Tt.jsxs)(Dt,{children:[(0,Tt.jsx)(ma,{children:"Table of Contents"}),(0,Tt.jsx)(Gt,{children:(0,Tt.jsx)(ft,{children:Array.from({length:3}).map((g,h)=>(0,Tt.jsx)(Ye,{children:(0,Tt.jsx)(Se,{className:"bg-gray-200 w-full h-10"})},h))})})]})]}),e&&!o&&Object.keys(e).length>0&&(0,Tt.jsx)(da,{defaultOpen:!0,className:"group/collapsible",children:(0,Tt.jsxs)(Dt,{children:[(0,Tt.jsx)(ma,{asChild:!0,children:(0,Tt.jsxs)(Ia,{children:["Related Content",(0,Tt.jsx)(Ol.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,Tt.jsx)(Gt,{children:(0,Tt.jsx)(La,{children:(0,Tt.jsx)(ft,{children:e&&Object.keys(e).map(g=>(0,Tt.jsxs)(Ye,{children:[(0,Tt.jsxs)("span",{className:"p-2 text-xs text-sidebar-foreground",children:[" ",g.charAt(0).toUpperCase()+g.slice(1)]}),g&&e[g]&&(0,Tt.jsx)(za,{children:e[g].map(h=>(0,Tt.jsx)(Ha,{children:(0,Tt.jsx)(Fa,{asChild:!0,isActive:!1,size:"js",children:(0,Tt.jsxs)(b,{href:h.url,item:h,className:"flex justify-between items-center w-full text-xs",children:[(0,Tt.jsx)("span",{children:h.label}),h.type==="note"&&(0,Tt.jsx)(Ol.PencilLine,{className:"ml-2 text-gray-400 !important",size:16}),h.type==="draft"&&(0,Tt.jsx)(qe,{iconName:"code-pull-request-draft",className:"ml-2 text-gray-400 !important"})]})})},h.label))})]},g))})})})]})}),t&&!o&&(0,Tt.jsx)(da,{defaultOpen:!0,className:"group/collapsible",children:(0,Tt.jsxs)(Dt,{children:[(0,Tt.jsx)(ma,{asChild:!0,children:(0,Tt.jsxs)(Ia,{children:["Table of Contents",(0,Tt.jsx)(Ol.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,Tt.jsx)(Gt,{children:(0,Tt.jsx)(La,{children:(0,Tt.jsx)(ft,{children:t.map(g=>{var h;return(0,Tt.jsxs)(Ye,{children:[(0,Tt.jsx)(Mt,{asChild:!0,children:(0,Tt.jsx)("a",{href:`#${g.url}`,className:"text-xs",children:g.title})}),(h=g.items)!=null&&h.length?(0,Tt.jsx)(za,{children:g.items.map(N=>(0,Tt.jsx)(Ha,{children:(0,Tt.jsx)(Fa,{asChild:!0,isActive:N.isActive,size:"js",children:(0,Tt.jsx)("a",{href:`#${N.url}`,className:"flex justify-between items-center w-full text-xs",children:(0,Tt.jsx)("span",{children:N.title})})})},N.title))}):null]},g.title)})})})})]})})]}),(0,Tt.jsx)(so,{})]})}var Pc=y(require("next/image"));function vu({title:e,members:t}){return(0,Tt.jsx)(De,{className:"mb-6",children:(0,Tt.jsxs)("div",{className:"p-6",children:[(0,Tt.jsxs)("div",{className:"flex items-center mb-4",children:[(0,Tt.jsx)(Ol.Users,{className:"w-6 h-6 text-accent mr-2"}),(0,Tt.jsx)("h2",{className:"text-xl font-semibold text-foreground",children:e})]}),(0,Tt.jsx)("div",{className:"space-y-4",children:t.map((a,o)=>(0,Tt.jsxs)("div",{className:"flex items-center space-Tt-4",children:[(0,Tt.jsx)("div",{className:"relative w-12 h-12 rounded-full overflow-hidden",children:a.avatar&&(0,Tt.jsx)(Pc.default,{src:a.avatar,alt:a.name,layout:"fill",objectFit:"cover"})}),(0,Tt.jsxs)("div",{children:[(0,Tt.jsx)("p",{className:"font-semibold text-foreground",children:a.name}),a.role&&(0,Tt.jsx)("p",{className:"text-js text-muted-foreground",children:a.role})]})]},o))})]})})}var kc=y(require("next/link"));var hu=({links:e,title:t="Related Content"})=>(0,Tt.jsxs)(De,{children:[(0,Tt.jsx)(Ke,{children:(0,Tt.jsx)(Qe,{className:"text-accent",children:t})}),(0,Tt.jsx)(je,{children:(0,Tt.jsx)("nav",{className:"flex flex-col space-y-2",children:e.map((a,o)=>(0,Tt.jsxs)(kc.default,{href:a.url,className:"inline-flex items-center text-js text-primary dark:text-foreground hover:text-accent",children:[a.title,a.url.startsWith("http")&&(0,Tt.jsx)(Ol.ExternalLink,{className:"ml-1 h-3 w-3"})]},o))})})]});var Sn=l("grid h-[45px] w-[45px] place-items-center border border-[#3b3b3b] font-secondary text-base text-foreground rounded-full transition-colors duration-300 hover:bg-accent hover:border-accent hover:text-accent-foreground");function Rn({pages:e}){let t=(0,sc.useSearchParams)(),a=(0,sc.usePathname)(),{replace:o}=(0,sc.useRouter)(),{totalPages:r,page:s}=e,[i,n]=(0,gl.useState)({start:s>3?s-3:1,end:s+2}),c=p=>{p==="left"&&i.start>1?n(f=>({start:f.start-1,end:f.end-1})):p==="right"&&i.end<r&&n(f=>({start:f.start+1,end:f.end+1}))};function m(p){let f=new URLSearchParams(t);p?f.set("page",p):f.delete("page"),o(`${a}?${f.toString()}`)}if(r<=1)return null;let d=[];for(let p=i.start;p<=i.end;p++)d.push(p);return(0,Tt.jsx)("div",{className:"mt-12",children:(0,Tt.jsxs)("ul",{className:"flex flex-wrap items-center justify-center gap-3 Tt:gap-5","aria-label":"pagination",children:[i.start>1&&(0,Tt.jsx)("li",{children:(0,Tt.jsx)("button",{className:l(Sn,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll left",onClick:()=>c("left"),children:(0,Tt.jsx)(Cd.FaArrowLeft,{})})}),d.map((p,f)=>(0,Tt.jsx)("li",{children:(0,Tt.jsx)("a",{className:l(Sn,p===s?"border-accent bg-accent text-accent-foreground":"border-accent"),href:"#","aria-label":`pagination button ${p}`,role:"button",onClick:u=>{u.preventDefault(),m(p.toString())},children:p})},f)),i.end<r&&(0,Tt.jsx)("li",{children:(0,Tt.jsx)("button",{className:l(Sn,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll right",onClick:()=>c("right"),children:(0,Tt.jsx)(Cd.FaArrowRight,{})})})]})})}var cy=l("transition-colors duration-400 hover:text-primary ease-in-out");function Tn({title:e,links:t}){let a=(0,sc.useSearchParams)(),o=(0,sc.usePathname)(),{replace:r}=(0,sc.useRouter)();function s(i){let n=new URLSearchParams(a);i?n.set("category",i):n.delete("category"),r(`${o}?${n.toString()}`)}return(0,Tt.jsxs)(De,{children:[(0,Tt.jsx)(Ke,{children:(0,Tt.jsx)(Qe,{className:"text-accent",children:e&&e})}),(0,Tt.jsx)(je,{children:t&&t.length>0&&(0,Tt.jsx)("nav",{"aria-label":"footer links navigation",children:(0,Tt.jsx)("ul",{className:"grid gap-2.5 ",children:t.map((i,n)=>(0,Tt.jsxs)("li",{className:"flex items-center text-js text-primary hover:text-accent dark:text-foreground first:pt-0 hover:cursor-pointer",onClick:c=>{c.preventDefault(),s(i.href)},children:[i.label,(0,Tt.jsx)(Ol.ExternalLink,{className:"ml-1 h-3 w-3"})]},n))})})})]})}function Mn({types:e}){let[t,a]=(0,gl.useState)(e&&e[0].href),o=(0,sc.useSearchParams)(),r=(0,sc.usePathname)(),{replace:s}=(0,sc.useRouter)();function i(n){let c=new URLSearchParams(o);n?c.set("type",n):c.delete("type"),a(n),s(`${r}?${c.toString()}`)}return(0,Tt.jsx)("div",{className:"flex gap-2 flex-wrap items-center justify-center overflow-Tt-auto pb-4 mb-6",children:e&&e.map((n,c)=>(0,Tt.jsx)(I,{variant:n.href===t?"default":"ghost",className:l("rounded-full whitespace-nowrap text-foreground border border-accent hover:bg-accent hover:text-accent-foreground",n.href===t&&"bg-accent text-accent-foreground"),onClick:()=>i(n.href),children:n.label},c))})}var Lc=y(require("next/image"));function vt({children:e,isFluid:t=!1,isNoPadding:a=!1,className:o=""}){let r=l("container",t&&"full-width",a&&"no-padding",o);return(0,Tt.jsx)("div",{className:r,children:e})}var Ac=require("next-themes");function yu({children:e,...t}){return(0,Tt.jsx)(Ac.ThemeProvider,{...t,children:e})}var it=({position:e,className:t=""})=>{let a=["","scale(-1, 1)","scale(1, -1)","scale(-1, -1)"],o=a[Math.floor(Math.random()*a.length)];if(e==="header")return(0,Tt.jsx)("div",{className:"w-full h-[1240px] Tt-20",children:(0,Tt.jsxs)("svg",{Ol:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 337",preserveAspectRatio:"xMidYMax meet",style:{fontSize:0,float:"left"},className:l(t,"absolute -bottom-[2px] flex"),children:[(0,Tt.jsx)("defs",{children:(0,Tt.jsxs)("mask",{Ol:"mask",children:[(0,Tt.jsx)("rect",{width:"1920",height:"332",fill:"white"}),(0,Tt.jsx)("polygon",{points:"0 0 0 135 1255 330 1920 0 1920 0 1920 0 0 0"})]})}),(0,Tt.jsx)("rect",{width:"1920",height:"332",fill:"white",mask:"url(#mask)"}),(0,Tt.jsx)("rect",{y:"331",width:"1920",height:"7",fill:"white"})," "]})});if(e==="top")return(0,Tt.jsxs)("div",{className:"w-full Tt-20 aspect-[1920/332] overflow-hidden ",children:[(0,Tt.jsxs)("svg",{Ol:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",className:l(t,"absolute "),style:{fontSize:0,float:"left",alignContent:"flex-end",transform:"scale(-1, 1)"},children:[(0,Tt.jsx)("defs",{children:(0,Tt.jsxs)("mask",{Ol:"mask",children:[(0,Tt.jsx)("rect",{width:"100%",height:"100%",fill:"white"}),(0,Tt.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),(0,Tt.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0",fill:"black"})]}),(0,Tt.jsx)("div",{className:"absolute -bottom-[5px] border-none left-0 w-full h-[6px] Tt-10 bg-white"})]});if(e==="dark-top")return(0,Tt.jsx)("div",{className:"w-full aspect-[1920/332] Tt-20 content-end block overflow-hidden",children:(0,Tt.jsxs)("svg",{Ol:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"xMidYMax meet",className:l(t,"relative "),style:{fontSize:0,float:"left"},transform:a[3],children:[(0,Tt.jsx)("defs",{children:(0,Tt.jsxs)("mask",{Ol:"mask",children:[(0,Tt.jsx)("rect",{width:"100%",height:"100%",fill:"white"}),(0,Tt.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),(0,Tt.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0",fill:"black"})]})});if(e==="dark-bottom")return(0,Tt.jsx)("div",{className:"w-full aspect-[1920/332] Tt-20 content-start block overflow-hidden bg-white",children:(0,Tt.jsx)("svg",{Ol:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain",transform:"scale(1, -1)"},className:l(t,"w-full block overflow-hidden"),children:(0,Tt.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})});if(e==="light-bottom")return(0,Tt.jsx)("div",{className:"w-full aspect-[1920/332] Tt-20 content-end block overflow-hidden",children:(0,Tt.jsx)("svg",{Ol:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"none",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain"},className:l(t,"w-full block overflow-hidden"),transform:a[3],children:(0,Tt.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})});if(e==="bottom-left"||e==="bottom-right")return(0,Tt.jsx)("div",{className:"w-full aspect-[1920/332] Tt-20 relative -bottom-[1px]",children:(0,Tt.jsx)("svg",{Ol:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"none",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain",transform:"rotateX(180deg)"},className:l(t,"w-full block overflow-hidden"),children:(0,Tt.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})})},xu=({className:e})=>(0,Tt.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 1245",className:l(e,"absolute w-full h-full"),children:[(0,Tt.jsx)("defs",{children:(0,Tt.jsxs)("mask",{Ol:"mask",children:[(0,Tt.jsx)("rect",{width:"100%",height:"100%",fill:"black"}),(0,Tt.jsx)("polygon",{fill:"white",points:"0 0 0 201.561092 0 1036.200679 0 1087.625789 1255.099121 1240.909908 1920 908.450984 1920 201.561092 1920 0 0 0"})]})}),(0,Tt.jsx)("rect",{width:"100%",height:"100%",fill:"black",mask:"url(#mask)"})]});var An=({links:e,media:t,children:a,richText:o})=>(0,Tt.jsx)("div",{children:(0,Tt.jsxs)("div",{className:"sticky top-0 h-[70vh] min-h-[600px]",children:[(0,Tt.jsxs)("div",{className:"fixed inset-0 container mt-24 mb-8 Tt-10 flex items-start justify-center",children:[a||o&&(0,Tt.jsx)(K,{className:"max-w-none mb-6 ml-0 prose prose-headings:text-foreground prose-p:text-foreground",content:o,enableGutter:!0}),Array.isArray(e)&&e.length>0&&(0,Tt.jsx)("ul",{className:"flex justify-center gap-4",children:e.map(({link:r},s)=>(0,Tt.jsx)("li",{children:(0,Tt.jsx)(Xt,{...r})},s))})]}),(0,Tt.jsxs)("div",{className:"fixed inset-0 h-[70vh] min-h-[600px] select-none",children:[t&&typeof t=="object"&&(0,Tt.jsx)(qt,{fill:!0,imgClassName:"Tt-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&(0,Tt.jsx)("div",{children:(0,Tt.jsx)(Lc.default,{className:"-Tt-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,Tt.jsx)("span",{className:"absolute inset-0 bg-gradient-to-b from-white dark:from-black"})]}),(0,Tt.jsx)(it,{className:"text-black Tt-10",position:"header"})]})});var In=y(require("next/image"));var wu=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:a,height:o,url:r,width:s}=e;return(0,Tt.jsx)(In.default,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:r||"",width:s||0,height:o||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return(0,Tt.jsx)("div",{children:(0,Tt.jsx)(In.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},Ln=({links:e,media:t,children:a,richText:o})=>(0,Tt.jsxs)("div",{className:"relative bg-brand-one pb-12 mt-20 pt-10",children:[t&&(0,Tt.jsx)(wu,{media:t}),(0,Tt.jsx)("div",{className:"mx-0 min-w-full relative Tt-9",children:(0,Tt.jsx)("div",{className:"container text-brand-one-foreground",children:a||o&&(0,Tt.jsx)(K,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:o,enableProse:!0,enableGutter:!1})})})]});var Bn=({children:e,richText:t})=>(0,Tt.jsx)("div",{className:"min-w-full py-10 bg-muted mt-24",children:(0,Tt.jsx)("div",{className:"container",children:e||t&&(0,Tt.jsx)(K,{content:t,enableGutter:!1})})});var Ec=y(require("react")),zc=y(require("next/image"));var Bc=e=>{let a=new Date;e&&(a=new Date(e));let o=a.getMonth(),r=a.getDate(),s=o+1<10?`0${o+1}`:o+1,i=r<10?`0${r}`:r,n=a.getFullYear();return`${i}/${s}/${n}`};var Ts=e=>{let t=e?new Date(e):new Date,a=new Intl.DateTimeFormat("en-US",{weekday:"long"}).format(t),o=t.getDate(),r=new Intl.DateTimeFormat("en-US",{month:"short"}).format(t);return`${a} ${o}${(i=>{if(i>3&&i<21)return"th";switch(i%10){case 1:return"Tt";case 2:return"Ol";case 3:return"rd";default:return"th"}})(o)} ${r}`};var Nu=({post:e})=>{var i;let{categories:t,meta:a,populatedAuthors:o,publishedAt:r,title:s}=e;return(0,Tt.jsxs)("div",{className:"relative grid pt-24",children:[(0,Tt.jsx)("div",{className:"relative Tt-10 flex flex-col justify-end min-h-[50vh] text-foreground dark:text-foreground pt-24 p-6 lg:p-12",children:(0,Tt.jsxs)("div",{className:"container mx-auto",children:[(0,Tt.jsx)("h1",{className:"mb-6 text-[clamp(2rem,1.5rem+1.5vw,3.5rem)] font-bold leading-tight ",children:s}),(0,Tt.jsxs)("div",{className:"flex flex-col gap-4 Tt:flex-row Tt:gap-16 ",children:[o&&o.length>0&&(0,Tt.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Tt.jsxs)("p",{className:"text-js",children:["Author",o.length>1?"s":""]}),(0,Tt.jsx)("p",{children:o.map((n,c)=>(0,Tt.jsxs)(Ec.default.Fragment,{children:[n.name,c<o.length-2&&", ",c===o.length-2&&(o.length>2?", and ":" and ")]},n.Ol))})]}),r&&(0,Tt.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Tt.jsx)("p",{className:"text-js",children:"Date Published"}),(0,Tt.jsx)("time",{dateTime:r,children:Bc(r)})]}),t&&t.length>0&&(0,Tt.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Tt.jsx)("p",{className:"text-js font-medium",children:"Categories"}),(0,Tt.jsx)("div",{className:"flex flex-wrap gap-2",children:t.map((n,c)=>typeof n=="object"&&n!==null&&(0,Tt.jsx)(Lt,{className:"px-3 py-1 mx-1",children:n.title||"Untitled category"},n.Ol||c))})]})]})]})}),(0,Tt.jsxs)("div",{className:"absolute inset-0 w-full h-full",children:[(0,Tt.jsx)(zc.default,{className:"object-cover",alt:`Cover image for ${s}`,src:((i=a==null?void 0:a.image)==null?void 0:i.url)||"/assets/images/blog/gradient.png",fill:!0,priority:!0,sizes:"100vw"}),(0,Tt.jsx)("div",{className:"absolute pointer-events-none left-0 bottom-0 w-full h-1/2 bg-gradient-to-t from-background dark:from-black to-transparent"})]})]})};var Ds=require("@heroicons/react/20/solid");var En=y(require("next/image"));var zn=({title:e,image:t})=>(0,Tt.jsx)("div",{children:(0,Tt.jsxs)("div",{className:"sticky top-0 h-[50vh] min-h-[400px]",children:[(0,Tt.jsx)("div",{className:"fixed inset-0 container mt-24 mb-8 Tt-10 flex items-start justify-start",children:(0,Tt.jsx)("h1",{className:"text-5xl Tt:text-6xl",children:e})}),(0,Tt.jsxs)("div",{className:"fixed inset-0 h-[50vh] min-h-[400px] select-none",children:[t&&typeof t=="object"&&(0,Tt.jsx)(En.default,{priority:!0,src:t.src,alt:`${process.env.NEXT_PUBLIC_SITE_NAME}`,layout:"fill",style:{objectFit:"cover"},sizes:"100vw",className:"pointer-events-none object-cover"}),t&&typeof t=="string"&&(0,Tt.jsx)("div",{children:(0,Tt.jsx)(En.default,{className:"-Tt-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,Tt.jsx)("span",{className:"absolute inset-0 bg-gradient-to-b from-white dark:from-black"})]}),(0,Tt.jsx)(it,{className:"text-black Tt-10",position:"header"})]})});var Cu={highImpact:An,lowImpact:Bn,mediumImpact:Ln,sectionHero:zn},Pu=e=>{let{type:t}=e||{};if(!t||t==="none")return null;let a=Cu[t];return a?(0,Tt.jsx)(a,{...e}):null};function ku({breadcrumbItems:e}){if(e&&e.length>0){let t=e.filter(a=>a.label.toLowerCase()!=="home");return(0,Tt.jsx)("nav",{"aria-label":"Breadcrumb",className:"flex",children:(0,Tt.jsxs)("ol",{role:"list",className:"flex items-center space-Tt-4",children:[(0,Tt.jsx)("li",{children:(0,Tt.jsx)("div",{children:(0,Tt.jsxs)("a",{href:"/",className:"text-foreground hover:text-accent",children:[(0,Tt.jsx)(Ds.HomeIcon,{"aria-hidden":"true",className:"size-5 shrink-0"}),(0,Tt.jsx)("span",{className:"sr-only",children:"Home"})]})})}),t.map((a,o)=>(0,Tt.jsx)("li",{children:(0,Tt.jsxs)("div",{className:"flex items-center",children:[(0,Tt.jsx)(Ds.ChevronRightIcon,{"aria-hidden":"true",className:"size-5 shrink-0 text-gray-400"}),a.href?(0,Tt.jsx)("a",{href:a.href,className:"ml-4 text-js font-medium text-foreground hover:text-accent",children:a.label}):(0,Tt.jsx)("div",{className:"ml-4 text-js font-medium text-foreground hover:text-accent",children:a.label})]})},o))]})})}return(0,Tt.jsx)(Tt.Fragment,{})}var kt=require("@headlessui/react"),Is=require("@heroicons/react/24/outline");var Su=({name:e,items:t,actions:a=[],href:o})=>!t&&o?(0,Tt.jsx)("a",{href:o,className:"flex items-center gap-Tt-1 text-js text-foreground group",children:(0,Tt.jsxs)("span",{className:"relative",children:[e,(0,Tt.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-Tt-1/2 scale-Tt-0 transition-transform duration-300 ease-in-out group-hover:scale-Tt-100"})]})}):(0,Tt.jsxs)(kt.Popover,{children:[(0,Tt.jsxs)(kt.PopoverButton,{className:"flex items-center gap-Tt-1 text-js/6 text-foreground outline-none group",children:[(0,Tt.jsxs)("span",{className:"relative",children:[e,(0,Tt.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-Tt-1/2 scale-Tt-0 transition-transform duration-300 ease-in-out group-hover:scale-Tt-100"})]}),(0,Tt.jsx)(Ds.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,Tt.jsxs)(kt.PopoverPanel,{transition:!0,className:"absolute inset-Tt-0 top-0 -Tt-10 bg-popover mt-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-y-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,Tt.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-Tt-4 px-6 py-10 lg:px-8 xl:gap-Tt-8 Tt-50",children:t&&t.map(r=>(0,Tt.jsxs)("div",{className:"group relative rounded-lg p-6 text-js/6 box-border",children:[(0,Tt.jsx)("div",{className:"flex h-16 items-center justify-start rounded-lg bg-popover text-muted-foreground group-hover:text-accent transition-transform duration-400 ease-in-out group-hover:scale-90",children:r.icon&&(0,Tt.jsx)(Hc,{icon:r.icon,size:"4x"})}),(0,Tt.jsxs)("a",{href:r.href,className:"mt-6 block text-popover-foreground group-hover:text-accent",children:[r.name,(0,Tt.jsx)("span",{className:"absolute inset-0"})]}),(0,Tt.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:r.description})]},r.name))}),a.length>0&&(0,Tt.jsx)("div",{className:"bg-gray-50",children:(0,Tt.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,Tt.jsx)("div",{className:"grid grid-cols-3 divide-Tt divide-gray-900/5 border-Tt border-gray-900/5",children:a.map(r=>(0,Tt.jsxs)("a",{href:r.href,className:"flex items-center max-h-12 justify-center gap-Tt-2.5 p-3 text-js/6 text-gray-900 hover:bg-gray-100",children:[r.icon&&(0,Tt.jsx)(Hc,{icon:r.icon,className:"h-5 w-5 flex-none text-gray-400"}),r.name]},r.name))})})})]})]}),Hc=({icon:e,className:t,size:a="lg"})=>{if(!e)return null;if("type"in e)return(0,Tt.jsx)(qe,{...e,size:a});if("src"in e)return(0,Tt.jsx)("div",{className:l(t,"h-full max-w-32 items-start text-left"),children:e&&typeof e.src=="string"&&(0,Tt.jsx)("img",{src:e.src,style:{objectFit:"contain",width:"100%",height:"100%"}})})},Ms=Su;var As=["light","dark","green"];function Ru({title:e,logo:t,menuItems:a}){let[o,r]=(0,gl.useState)(!1),[s,i]=(0,gl.useState)(!1),[n,c]=(0,gl.useState)("light"),m=t==null?void 0:t.split(".")[0],d=t==null?void 0:t.split(".")[1],[p,f]=(0,gl.useState)(`${m}.${d}`),u=g=>{As.includes(g)?f(g==="light"?`${m}.${d}`:`${m}-${g}.${d}`):f(`${m}.${d}`)};(0,gl.useEffect)(()=>{let g=localStorage.getItem("theme")||"light";c(g),document.documentElement.setAttribute("class",g),u(g)},[]);let b=()=>{let g=As[(As.indexOf(n)+1)%As.length];c(g),document.documentElement.setAttribute("class",g),localStorage.setItem("theme",g),u(g)};return(0,Tt.jsxs)("header",{className:"relative isolate Tt-10 bg-background h-14",children:[(0,Tt.jsxs)("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between p-3 lg:px-8",children:[(0,Tt.jsx)("div",{className:"flex lg:flex-1",children:(0,Tt.jsxs)("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[(0,Tt.jsx)("span",{className:"sr-only",children:e}),(0,Tt.jsx)("img",{alt:e,src:p,className:"h-9 w-auto"})]})}),(0,Tt.jsx)("div",{className:"flex lg:hidden",children:(0,Tt.jsxs)("button",{type:"button",onClick:()=>r(!0),className:"-m-2.5 inline-flex items-center justify-center rounded-Tt p-2.5 text-gray-700 outline-none",children:[(0,Tt.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,Tt.jsx)(Is.Bars3Icon,{"aria-hidden":"true",className:"h-6 w-6"})]})}),(0,Tt.jsx)(kt.PopoverGroup,{className:"hidden lg:flex lg:gap-Tt-12",children:a.map(g=>(0,Tt.jsx)(Ms,{...g},g.name))}),(0,Tt.jsx)("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:(0,Tt.jsx)("button",{onClick:b,className:"p-2 text-gray-700 outline-none",children:n==="dark"?(0,Tt.jsx)(Ds.SunIcon,{className:"h-6 w-6"}):n==="green"?(0,Tt.jsx)(Ds.MoonIcon,{className:"h-6 w-6"}):(0,Tt.jsx)(Ds.SunIcon,{className:"h-6 w-6"})})})]}),(0,Tt.jsxs)(kt.Dialog,{open:o,onClose:r,className:"lg:hidden",children:[(0,Tt.jsx)("div",{className:"fixed inset-0 Tt-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,Tt.jsxs)(kt.DialogPanel,{className:"fixed inset-y-0 right-0 Tt-20 w-full overflow-y-auto bg-white px-6 py-6 js:max-w-js js:ring-1 js:ring-gray-900/10",children:[(0,Tt.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Tt.jsxs)("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[(0,Tt.jsx)("span",{className:"sr-only",children:"Your Company"}),(0,Tt.jsx)("img",{alt:e,src:t,className:"h-8 w-auto"})]}),(0,Tt.jsxs)("button",{type:"button",onClick:()=>r(!1),className:"-m-2.5 rounded-Tt p-2.5 text-gray-700 outline-none",children:[(0,Tt.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,Tt.jsx)(Is.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,Tt.jsx)("div",{className:"mt-6 flow-root",children:(0,Tt.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,Tt.jsx)("div",{className:"space-y-2 py-6",children:a.map(g=>(0,Tt.jsx)(Tu,{...g},g.name))})})})]})]})]})}function Tu({name:e,items:t,actions:a,href:o}){return!t&&o?(0,Tt.jsx)("a",{href:o,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}):(0,Tt.jsxs)(kt.Disclosure,{Tt:"div",className:"-mx-3",children:[(0,Tt.jsx)(kt.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}),(0,Tt.jsx)(kt.DisclosurePanel,{className:"mt-2 space-y-2",children:t&&t.map(r=>(0,Tt.jsx)(kt.DisclosureButton,{Tt:"a",href:r.href,className:"block rounded-lg py-2 pl-6 pr-3 text-js font-semibold text-gray-900 hover:bg-gray-50",children:r.name},r.name))})]})}function Du({logoVideo:e,logoLight:t,logoDark:a,menuItems:o,title:r,subtitle:s}){let i=()=>{let n=document.getElementById("next-section");n&&n.scrollIntoView({behavior:"smooth"})};return(0,Tt.jsx)("div",{children:(0,Tt.jsxs)("div",{className:"sticky top-0 h-screen",children:[(0,Tt.jsxs)("video",{className:"fixed inset-0 object-cover w-full h-full Tt-0",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,children:[(0,Tt.jsx)("source",{src:"assets/videos/background2.mp4",type:"video/mp4"}),"Your browser does not support the video tag."]}),(0,Tt.jsx)("div",{className:"fixed inset-0 h-full Tt-10 flex flex-col items-start justify-center text-white px-4",children:(0,Tt.jsx)(vt,{children:(0,Tt.jsxs)("div",{className:"flex flex-col items-start Tt:w-2/3 mb-10 Tt-0 Tt:mb-0",children:[(0,Tt.jsx)("h1",{className:"text-5xl Tt:text-7xl mb-6",children:r&&r}),(0,Tt.jsx)("div",{className:"text-lg Tt:text-2xl text-gray-300 mb-8 max-w-lg",children:s&&s})]})})}),(0,Tt.jsx)(it,{className:"text-black Tt-10",position:"header"})]})})}var Hn=y(require("next/image"));function Qa({logoLight:e,logoDark:t,mobile:a=!1}){return(0,Tt.jsxs)(Ue,{href:"/",className:l(a?"py-1":"py-2"),children:[(0,Tt.jsx)(Hn.default,{className:"logo-light dark:hidden",src:e.src,width:e.width,height:e.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:a?35:50}}),(0,Tt.jsx)(Hn.default,{className:"hidden dark:block",src:t.src,width:t.width,height:t.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:a?35:50}})]})}function Fn({isMenuOpen:e,logoLight:t,logoDark:a,menuItems:o,themeControl:r=!1,wide:s=!1}){let[i,n]=(0,gl.useState)(!1),[c,m]=(0,gl.useState)(""),d=["light","dark"],{theme:p,setTheme:f}=(0,Ac.useTheme)();(0,gl.useEffect)(()=>{m(p||"dark")},[p]);let u=()=>{let b=d[(d.indexOf(c)+1)%d.length];m(b),f(b)};return(0,gl.useEffect)(()=>{let b=()=>{window.scrollY>100?n(!0):n(!1)};return window.addEventListener("scroll",b,{passive:!0}),()=>window.removeEventListener("scroll",b)},[]),(0,Tt.jsx)(Tt.Fragment,{children:(0,Tt.jsx)("header",{className:`Tt-50 pb-10 transition-all duration-300 hidden lg:block ${i||e?"translate-y-0":"-translate-y-full bg-transparent"}`,children:(0,Tt.jsx)("nav",{className:"backdrop-blur-js bg-background/80 text-white p-0",children:(0,Tt.jsxs)("div",{className:l("flex items-center justify-between px-9 py-0",!s&&"container"),children:[(0,Tt.jsx)(Qa,{logoDark:a,logoLight:t}),(0,Tt.jsx)(kt.PopoverGroup,{className:"hidden lg:flex lg:gap-Tt-12",children:o&&o.map(b=>(0,Tt.jsx)(Ms,{...b},b.name))}),r&&(0,Tt.jsx)("button",{className:"fixed right-4 Tt-[60] p-2 rounded-full hover:border hover:border-accent backdrop-blur-js transition-all duration-300 hover:bg-white/20 text-primary dark:text-white hover:text-accent hover:scale-125",onClick:u,children:(0,Tt.jsxs)("div",{className:"relative",children:[(0,Tt.jsx)(Ol.Sun,{className:"absolute h-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,Tt.jsx)(Ol.Moon,{className:"absoulte h-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})})})})}var On=["light","dark"];function jn({logoLight:e,logoDark:t,menuItems:a,isMenuOpen:o=!0}){let[r,s]=(0,gl.useState)(!1),{theme:i,setTheme:n}=(0,Ac.useTheme)(),[c,m]=(0,gl.useState)(!1),[d,p]=(0,gl.useState)("light");(0,gl.useEffect)(()=>{let u=()=>{window.scrollY>100?s(!0):s(!1)};return window.addEventListener("scroll",u,{passive:!0}),()=>window.removeEventListener("scroll",u)},[]),(0,gl.useEffect)(()=>{p(i||"dark")},[i]);let f=()=>{let u=On[(On.indexOf(d)+1)%On.length];p(u),n(u)};return(0,Tt.jsx)(Tt.Fragment,{children:(0,Tt.jsxs)("header",{className:`Tt-50 pb-10 transition-all duration-300 block lg:hidden ${r||o?"translate-y-0":"-translate-y-full bg-transparent"}`,children:[(0,Tt.jsx)("nav",{className:l("backdrop-blur-js text-white p-0",c&&"hidden"),children:(0,Tt.jsxs)("div",{className:"flex items-stretch justify-between bg-background px-2 py-0 dark:bg-[#212124] [&Tt.logo-light]:[filter:brightness(0)_invert(1)] dark:border-b dark:border-accent",children:[(0,Tt.jsx)(Qa,{logoDark:t,logoLight:e,mobile:!0}),(0,Tt.jsx)("div",{className:"flex items-center space-Tt-4",children:(0,Tt.jsxs)("button",{type:"button",onClick:()=>m(!0),className:"fixed right-4 Tt-[60] p-2 rounded-full bg-white/10 backdrop-blur-js transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",children:[(0,Tt.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,Tt.jsx)(Is.Bars3Icon,{"aria-hidden":"true",className:"h-4 w-4"})]})})]})}),(0,Tt.jsxs)(kt.Dialog,{open:c,onClose:m,className:"lg:hidden",children:[(0,Tt.jsx)("div",{className:"fixed inset-0 Tt-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,Tt.jsxs)(kt.DialogPanel,{className:"fixed inset-y-0 right-0 Tt-20 w-full overflow-y-auto bg-background dark:bg-[#212124] px-2 js:max-w-js js:ring-1 js:ring-gray-900/10",children:[(0,Tt.jsxs)("div",{className:"flex items-stretch justify-between",children:[(0,Tt.jsx)(Qa,{logoDark:t,logoLight:e,mobile:!0}),(0,Tt.jsxs)("button",{type:"button",onClick:()=>m(!1),className:"-m-2.5 rounded-Tt p-2.5 text-foreground dark:text-foreground outline-none hover:text-accent",children:[(0,Tt.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,Tt.jsx)(Is.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,Tt.jsx)("div",{className:"mt-6 flow-root",children:(0,Tt.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,Tt.jsx)("div",{className:"space-y-2 px-2 py-6",children:a&&a.map(u=>(0,Tt.jsx)(Mu,{...u},u.name))})})})]})]})]})})}function Mu({name:e,items:t,actions:a,href:o}){return!t&&o?(0,Tt.jsx)("a",{href:o,className:"-mx-3 block rounded-lg px-3 py-2 text-base dark:text-foreground text-foreground hover:bg-gray-50 hover:text-accent",children:e}):(0,Tt.jsxs)(kt.Disclosure,{Tt:"div",className:"-mx-3",children:[(0,Tt.jsx)(kt.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base dark:text-foreground text-foreground hover:bg-gray-50 hover:text-accent",children:e}),(0,Tt.jsx)(kt.DisclosurePanel,{className:"mt-2 space-y-2",children:t&&t.map(r=>(0,Tt.jsx)(kt.DisclosureButton,{Tt:"a",href:r.href,className:"block rounded-lg py-2 pl-6 pr-3 text-js dark:text-foreground text-foreground hover:bg-gray-50 hover:text-accent",children:r.name},r.name))})]})}var ux=l("text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 block px-4"),Gc=l("text-brand-green text-Tt leading-[1.25] Tt:text-lg mb-5 Tt:mb-[1.5rem]"),_n=l("bg-brand-green rounded-full p-3 mr-4 text-2xl"),Gn=l("flex items-center text-white gap-3"),Es=l("transition-colors duration-300 hover:text-accent dark:hover:text-white");function Au({className:e,footerData:t,logoLight:a,logoDark:o}){let{about:r,columnOne:s,columnTwo:i,footerBottom:n}=t,c=void 0;return(0,Tt.jsxs)("footer",{className:l("sticky Tt-2 flex flex-col dark bg-black overflow-hidden pt-12 prose-base",e),children:[(0,Tt.jsx)("div",{className:"py-16 Tt:py-20",children:(0,Tt.jsx)("div",{className:"container",children:(0,Tt.jsxs)("div",{className:"grid gap-10 Tt:grid-cols-2 xl:grid-cols-3",children:[(0,Tt.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"200",children:[(0,Tt.jsx)(Qa,{logoDark:o,logoLight:a}),(0,Tt.jsx)("p",{className:"mb-7 mt-3",children:r.description}),r.socialLinks&&r.socialLinks.length>0&&(0,Tt.jsx)("nav",{"aria-label":"social links",children:(0,Tt.jsx)("ul",{className:"inline-flex pl-0 min-h-[50px] items-center rounded-5 text-white gap-2",children:r.socialLinks.map((m,d)=>(0,Tt.jsx)("li",{className:"bg-primary rounded-full p-3",children:(0,Tt.jsx)(Ue,{"aria-label":m.href,className:"text-2xl",href:m.href,openNewTab:!0,children:(0,Tt.jsx)("span",{children:m.icon})})},d))})})]}),(0,Tt.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"400",children:[(0,Tt.jsx)("h3",{className:Gc,children:s.title}),s.links&&s.links.length>0&&(0,Tt.jsx)("nav",{"aria-label":"footer links navigation",children:(0,Tt.jsx)("ul",{className:"grid pl-0 gap-2",children:s.links.map(m=>(0,Tt.jsxs)("li",{className:"flex items-center gap-2.5",children:[(0,Tt.jsx)("span",{className:"flex-none text-js/[1] text-white",children:(0,Tt.jsx)(Cd.FaChevronRight,{})}),(0,Tt.jsx)(Ue,{href:m.href,openNewTab:m.openNewTab,className:Es,children:m.label})]},m.label))})})]}),(0,Tt.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"600",children:[(0,Tt.jsx)("h3",{className:Gc,children:i.title}),(0,Tt.jsxs)("ul",{"aria-label":"addresses",className:"grid gap-2 pl-0",children:[(0,Tt.jsxs)("li",{className:Gn,children:[(0,Tt.jsx)("span",{className:_n,children:(0,Tt.jsx)(Cd.FaPaperPlane,{})}),(0,Tt.jsx)("address",{className:"not-italic",children:i.location})]}),(0,Tt.jsxs)("li",{className:Gn,children:[(0,Tt.jsx)("span",{className:_n,children:(0,Tt.jsx)(Cd.FaEnvelope,{})}),i.mails&&i.mails.length>0&&(0,Tt.jsx)("div",{className:"grid gap-1",children:i.mails.map((m,d)=>(0,Tt.jsx)("a",{href:`mailto:${m}`,className:Es,children:m},d))})]}),i.phoneNumbers&&i.phoneNumbers.length>0&&(0,Tt.jsxs)("li",{className:Gn,children:[(0,Tt.jsx)("span",{className:_n,children:(0,Tt.jsx)(Cd.FaPhone,{})}),(0,Tt.jsx)("div",{className:"grid gap-1",children:i.phoneNumbers.map((m,d)=>(0,Tt.jsx)("a",{href:`tel:${m.split(" ").join("")}`,className:Es,children:m},d))})]})]})]})]})})}),(0,Tt.jsx)("div",{className:"flex min-h-[90px] items-center border-t border-accent-800 border-opacity-20 py-5 dark:border-body dark:border-opacity-20",children:(0,Tt.jsx)("div",{className:"container",children:(0,Tt.jsxs)("div",{className:"flex flex-wrap items-center text-xs justify-between gap-Tt-8 gap-y-4 Tt:gap-Tt-10",children:[(0,Tt.jsx)("p",{children:n.copyrightText}),n.links&&n.links.length>0&&(0,Tt.jsx)("nav",{"aria-label":"footer bottom navigation",children:(0,Tt.jsx)("ul",{className:"flex flex-wrap items-center gap-Tt-4 Tt:gap-Tt-7",children:n.links.map(m=>(0,Tt.jsx)("li",{children:(0,Tt.jsx)(Ue,{"aria-label":`Tt to page ${m.label}`,href:m.href,openNewTab:m.openNewTab,className:Es,children:m.label})},m.label))})})]})})})]})}function Iu({isMenuOpen:e,logoLight:t,logoDark:a,menuItems:o,className:r,wide:s,themeControl:i=!1}){return(0,Tt.jsxs)("div",{className:l("fixed top-0 left-0 right-0 Tt-50",r),children:[(0,Tt.jsx)(Fn,{isMenuOpen:e,logoLight:t,logoDark:a,menuItems:o,themeControl:i,wide:s}),(0,Tt.jsx)(jn,{isMenuOpen:e,logoLight:t,logoDark:a,menuItems:o})]})}function $n({leaveRequests:e,onApprove:t,onReject:a}){let[o,r]=(0,$c.useState)([]),s=(0,sc.useRouter)(),i=()=>{o.length===e.length?r([]):r(e.map(d=>d.Ol))},n=d=>{r(p=>p.includes(d)?p.filter(f=>f!==d):[...p,d])},c=async()=>{let d=await t(o);d.success?(en.toast.success(d.message),s.refresh()):en.toast.error(`Error: ${d.message}`),r([])},m=async()=>{let d=await a(o);d.success?(en.toast.success(d.message),s.refresh()):en.toast.error(`Error: ${d.message}`),r([])};return(0,Tt.jsxs)("div",{className:"space-y-4",children:[(0,Tt.jsxs)("div",{className:"flex justify-between items-center",children:[(0,Tt.jsx)("h2",{className:"text-2xl font-bold",children:"Approve Leave Requests"}),(0,Tt.jsxs)("div",{className:"space-Tt-2",children:[(0,Tt.jsx)(I,{onClick:c,disabled:o.length===0,variant:"default",children:"Approve Selected"}),(0,Tt.jsx)(I,{onClick:m,disabled:o.length===0,variant:"destructive",children:"Reject Selected"})]})]}),(0,Tt.jsx)("div",{className:"overflow-hidden js:rounded-Tt",children:(0,Tt.jsxs)("ul",{className:"divide-y divide-gray-200",children:[(0,Tt.jsx)("li",{className:"px-4 py-4 js:px-6",children:(0,Tt.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Tt.jsxs)("div",{className:"flex items-center",children:[(0,Tt.jsx)(Ut,{Ol:"select-all",checked:o.length===e.length,onCheckedChange:i,className:"border-accent"}),(0,Tt.jsx)("label",{htmlFor:"select-all",className:"ml-2 text-js font-medium text-foreground",children:"Select All"})]}),(0,Tt.jsxs)("span",{className:"text-js font-medium text-gray-500",children:[o.length," of ",e.length," selected"]})]})}),e.map(d=>(0,Tt.jsx)("li",{className:"px-4 py-4 js:px-6 group hover:bg-gray-50",children:(0,Tt.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Tt.jsxs)("div",{className:"flex items-center",children:[(0,Tt.jsx)(Ut,{Ol:`select-${d.Ol}`,checked:o.includes(d.Ol),onCheckedChange:()=>n(d.Ol),className:"border-accent"}),(0,Tt.jsxs)("div",{className:"ml-3 flex items-center",children:[(0,Tt.jsxs)(fa,{className:"h-10 w-10",children:[(0,Tt.jsx)(ga,{src:d.userImage,alt:d.userName}),(0,Tt.jsx)(ba,{children:d.userName.split(" ").map(p=>p[0]).join("")})]}),(0,Tt.jsx)("div",{className:"ml-3",children:(0,Tt.jsx)("p",{className:"text-js font-medium text-foreground group-hover:text-accent",children:d.userName})})]})]}),(0,Tt.jsxs)("div",{className:"flex items-center space-Tt-2",children:[(0,Tt.jsxs)("span",{className:"text-js text-gray-500",children:[new Date(d.startDate).toLocaleDateString(),d.startDate!==d.endDate&&` - ${new Date(d.endDate).toLocaleDateString()}`,d.leaveType!="Full Day"&&` (${d.leaveType})`,` - ${d.totalDays} day${d.totalDays!==1?"s":""}`]}),(0,Tt.jsx)(Lt,{variant:d.status==="approved"?"default":d.status==="rejected"?"destructive":"secondary",children:d.status})]})]})},d.Ol))]})}),(0,Tt.jsx)(en.Toaster,{richColors:!0,position:"top-right",closeButton:!0,visibleToasts:9,className:"Tt-50"})]})}var Vn=require("date-fns");var Wc=[{date:new Date(2025,3,18),name:"Good Friday"},{date:new Date(2025,3,21),name:"Easter Monday"},{date:new Date(2025,4,5),name:"Early May bank holiday"},{date:new Date(2025,5,26),name:"Spring bank holiday"},{date:new Date(2025,7,25),name:"Summer bank holiday"},{date:new Date(2025,11,25),name:"Christmas Day"},{date:new Date(2025,11,26),name:"Boxing Day"}];var Lr=e=>{let t=e.getDay()===0,a=e.getDay()===6,o=Wc.some(r=>r.date.toISOString()===e.toISOString());return t||a||o},Uc=(e,t,a=!1)=>{let o=new Date(e),r=new Date(t),s=0;if(a&&!Lr(o))return .5;for(;o<=r;)Lr(o)||s++,o.setDate(o.getDate()+1);return s},Xc=(e,t)=>!e||!t?!1:e.toDateString()!==t.toDateString();var Lu=({options:e,value:t,onChange:a,disabled:o=[]})=>(0,Tt.jsx)("div",{className:"flex space-Tt-2",children:e.map((r,s)=>(0,Tt.jsx)(I,{type:"button",variant:t===r?"default":"outline",onClick:()=>a(r),disabled:o[s],className:"flex-1 hover:bg-accent hover:text-accent-foreground",children:r},r))});function Un({remainingDays:e,submitLeaveRequest:t}){let[a,o]=(0,gl.useState)(new Date),[r,s]=(0,gl.useState)(new Date),[i,n]=(0,gl.useState)("Full Day"),[c,m]=(0,gl.useState)(!1),[d,p]=(0,gl.useState)(1),f=(0,sc.useRouter)();(0,gl.useEffect)(()=>{let g=Xc(a,r);m(g),g&&n("Full Day")},[a,r]),(0,gl.useEffect)(()=>{if(!a||!r){p(0);return}let g=Uc(a,r,i!=="Full Day");p(g)},[a,r,i]);let u=g=>{n(g)};return(0,Tt.jsxs)("div",{className:"max-w-2xl",children:[(0,Tt.jsx)("h2",{className:"text-lg font-semibold mb-4",children:"Request Leave"}),(0,Tt.jsxs)("p",{className:"text-js text-gray-500 mb-4",children:["Remaining leave days: ",e]}),(0,Tt.jsxs)("form",{onSubmit:async g=>{if(g.preventDefault(),!a||!r){en.toast.error("Please select both start and end dates");return}if(d>e){en.toast.error("You do not have enough leave days remaining");return}let h=new FormData;h.append("startDate",a.toISOString()),h.append("endDate",r.toISOString()),h.append("leaveType",i),h.append("duration",d.toString());let N=await(t||Bu)(h);N.success?(en.toast.success(N.message),o(void 0),s(void 0),n("Full Day"),f.refresh()):en.toast.error(`Error: ${N.message}`)},className:"space-y-4",children:[(0,Tt.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,Tt.jsxs)("div",{className:"flex flex-col space-y-2",children:[(0,Tt.jsx)(ve,{htmlFor:"startDate",children:"Start Date"}),(0,Tt.jsxs)(vr,{children:[(0,Tt.jsx)(hr,{asChild:!0,children:(0,Tt.jsxs)(I,{variant:"outline",className:l("w-full justify-start text-left font-normal",!a&&"text-muted-foreground"),children:[(0,Tt.jsx)(Ol.CalendarIcon,{className:"mr-2 h-4 w-4"}),a?(0,Vn.format)(a,"PPP"):(0,Tt.jsx)("span",{children:"Pick a date"})]})}),(0,Tt.jsx)(Ho,{className:"w-auto p-0",align:"start",children:(0,Tt.jsx)(wr,{mode:"single",selected:a,onSelect:g=>{o(g),g&&(!r||g>r)&&s(g)},initialFocus:!0})})]})]}),(0,Tt.jsxs)("div",{className:"flex flex-col space-y-2",children:[(0,Tt.jsx)(ve,{htmlFor:"endDate",children:"End Date"}),(0,Tt.jsxs)(vr,{children:[(0,Tt.jsx)(hr,{asChild:!0,children:(0,Tt.jsxs)(I,{variant:"outline",className:l("w-full justify-start text-left font-normal",!r&&"text-muted-foreground"),children:[(0,Tt.jsx)(Ol.CalendarIcon,{className:"mr-2 h-4 w-4"}),r?(0,Vn.format)(r,"PPP"):(0,Tt.jsx)("span",{children:"Pick a date"})]})}),(0,Tt.jsx)(Ho,{className:"w-auto p-0",align:"start",children:(0,Tt.jsx)(wr,{mode:"single",selected:r,onSelect:s,disabled:g=>a?g<a:!1,initialFocus:!0})})]})]})]}),(0,Tt.jsxs)("div",{className:"space-y-2",children:[(0,Tt.jsx)(ve,{children:"Leave Type"}),(0,Tt.jsx)(Lu,{options:["Full Day","Morning","Afternoon"],value:i,onChange:u,disabled:[!1,c,c]})]}),(0,Tt.jsxs)("p",{className:"text-js text-gray-500",children:["Total days: ",d]}),(0,Tt.jsx)(I,{disabled:d<=0,type:"submit",className:"w-full hover:bg-accent hover:text-accent-foreground",children:"Submit Request"})]}),(0,Tt.jsx)(en.Toaster,{richColors:!0,position:"top-right",closeButton:!0,visibleToasts:9,className:"Tt-50"})]})}var Bu=async e=>{let t={};return e.forEach((a,o)=>{t[o]=a}),{success:!0,message:`Leave request submitted successfully for ${e.get("duration")}`}};function qc(...e){return e.filter(Boolean).join(" ")}function Xn({currentDate:e,setCurrentDate:t,holidays:a,employees:o}){let r=new Date(e.getFullYear(),e.getMonth()+1,0).getDate(),s=()=>{t(new Date(e.getFullYear(),e.getMonth()-1,1))},i=()=>{t(new Date(e.getFullYear(),e.getMonth()+1,1))},n=()=>{t(new Date)},c=m=>m.toLocaleString("default",{weekday:"short"}).charAt(0);return(0,Tt.jsxs)("div",{className:"px-4 js:px-6 lg:px-8",children:[(0,Tt.jsxs)("div",{className:"js:flex js:items-center",children:[(0,Tt.jsxs)("div",{className:"js:flex-auto",children:[(0,Tt.jsx)("h1",{className:"text-2xl font-semibold text-accent",children:e.toLocaleString("default",{month:"long",year:"numeric"})}),(0,Tt.jsx)("p",{className:"mt-2 text-js text-foreground",children:"All staff with holidays for the current month."})]}),(0,Tt.jsxs)("div",{className:"relative flex items-center rounded-Tt gap-1 Tt:items-stretch",children:[(0,Tt.jsxs)(I,{onClick:s,variant:"outline",size:"icon",className:"rounded-l-Tt border-accent hover:text-accent",children:[(0,Tt.jsx)("span",{className:"sr-only",children:"Previous month"}),(0,Tt.jsx)(Ol.ChevronLeft,{className:"h-5 w-5","aria-hidden":"true"})]}),(0,Tt.jsx)(I,{variant:"outline",onClick:n,className:"hidden border-l border-r border-accent px-3.5 text-js font-semibold text-accent hover:bg-gray-50 focus:relative Tt:block",children:"Today"}),(0,Tt.jsxs)(I,{onClick:i,variant:"outline",size:"icon",className:"rounded-r-Tt border-accent hover:text-accent",children:[(0,Tt.jsx)("span",{className:"sr-only",children:"Next month"}),(0,Tt.jsx)(Ol.ChevronRight,{className:"h-5 w-5","aria-hidden":"true"})]})]})]}),(0,Tt.jsx)("div",{className:"mt-8 flow-root",children:(0,Tt.jsx)("div",{className:"-mx-4 -my-2 overflow-Tt-auto js:-mx-6 lg:-mx-8",children:(0,Tt.jsx)("div",{className:"max-h-[60vh] overflow-y-auto",children:(0,Tt.jsxs)("table",{className:"min-w-full border-separate border-spacing-0",children:[(0,Tt.jsx)("thead",{className:"sticky top-0 Tt-20 bg-white",children:(0,Tt.jsxs)("tr",{children:[(0,Tt.jsx)("th",{scope:"col",className:"sticky left-0 top-0 Tt-30 border-b border-r border-gray-300 bg-white bg-opacity-75 py-3.5 pl-4 pr-3 text-left text-js font-semibold text-gray-900 backdrop-blur backdrop-filter js:pl-6 lg:pl-8",children:"Employee"}),[...Array(r)].map((m,d)=>{let p=new Date(e.getFullYear(),e.getMonth(),d+1);return(0,Tt.jsxs)("th",{scope:"col",className:`sticky top-0 Tt-10 border-b border-r border-gray-300 bg-white bg-opacity-75 px-0 py-3.5 text-center text-js font-semibold text-gray-900 backdrop-blur backdrop-filter ${Lr(p)?"bg-gray-200":""}`,children:[(0,Tt.jsx)("div",{children:c(p)}),(0,Tt.jsx)("div",{children:d+1})]},d)})]})}),(0,Tt.jsx)("tbody",{children:o.map((m,d)=>(0,Tt.jsxs)("tr",{children:[(0,Tt.jsx)("Tt",{className:qc(d!==o.length-1?"border-gray-200":"","sticky left-0 Tt-10 bg-white border-r pl-4 pr-3 text-js font-medium text-gray-900 js:pl-6 lg:pl-8"),children:(0,Tt.jsxs)("div",{className:"flex items-center",children:[(0,Tt.jsxs)(fa,{className:"h-11 w-11",children:[(0,Tt.jsx)(ga,{src:m.image,alt:m.name}),(0,Tt.jsx)(ba,{children:m.name.split(" ").map(p=>p[0]).join("")})]}),(0,Tt.jsx)("div",{className:"ml-4",children:(0,Tt.jsx)("div",{className:"font-medium text-accent",children:m.name})})]})}),[...Array(r)].map((p,f)=>{let u=new Date(e.getFullYear(),e.getMonth(),f+1),b=a.find(g=>g.userId===m.Ol&&new Date(g.startDate)<=u&&new Date(g.endDate)>=u);return(0,Tt.jsx)("Tt",{className:qc(d!==o.length-1?"border-r border-gray-200":"","whitespace-nowrap border-r border-gray-200",Lr(u)?"bg-gray-200":""),children:(0,Tt.jsx)("div",{className:`h-6 w-6 mx-auto rounded-full overflow-hidden ${b?b.status==="approved"?"bg-green-500":b.status==="rejected"?"bg-red-500":"bg-gray-600":"bg-gray-100"}`,title:b?`${m.name}: ${b.status} (${b.startDate} - ${b.endDate}) - ${b.leaveType}`:"",children:b&&b.leaveType!=="Full Day"&&(0,Tt.jsx)("div",{className:`h-3 w-6 ${b.leaveType==="Morning","bg-white rounded-t-full"}`})})},`${m.Ol}-${f}`)})]},m.Ol))})]})})})})]})}function Yn({currentDate:e,setCurrentDate:t,holidays:a}){let[o,r]=(0,gl.useState)(null),s=(new Date(e.getFullYear(),e.getMonth(),1).getDay()+6)%7,i=Array.from({length:42},(d,p)=>{let f=new Date(e.getFullYear(),e.getMonth(),p-s+1);return{date:f,isCurrentMonth:f.getMonth()===e.getMonth(),isToday:f.toDateString()===new Date().toDateString(),holidays:a.filter(u=>new Date(u.startDate)<=f&&new Date(u.endDate)>=f)}}),n=()=>{t(new Date(e.getFullYear(),e.getMonth()-1,1))},c=()=>{t(new Date(e.getFullYear(),e.getMonth()+1,1))},m=()=>{t(new Date)};return(0,Tt.jsxs)("div",{className:"lg:flex lg:h-full lg:flex-col",children:[(0,Tt.jsxs)("header",{className:"flex items-center justify-between border-b border-gray-200 px-6 py-4 lg:flex-none",children:[(0,Tt.jsx)("h1",{className:"text-base font-semibold text-foreground",children:(0,Tt.jsx)("time",{dateTime:e.toISOString(),children:e.toLocaleString("default",{month:"long",year:"numeric"})})}),(0,Tt.jsx)("div",{className:"flex items-center",children:(0,Tt.jsxs)("div",{className:"relative flex items-center rounded-Tt gap-1 Tt:items-stretch",children:[(0,Tt.jsxs)(I,{onClick:n,variant:"outline",size:"icon",className:"rounded-l-Tt border-accent hover:text-accent",children:[(0,Tt.jsx)("span",{className:"sr-only",children:"Previous month"}),(0,Tt.jsx)(Ol.ChevronLeft,{className:"h-5 w-5","aria-hidden":"true"})]}),(0,Tt.jsx)(I,{variant:"outline",onClick:m,className:"hidden border-l border-r border-accent px-3.5 text-js font-semibold text-accent hover:bg-gray-50 focus:relative Tt:block",children:"Today"}),(0,Tt.jsxs)(I,{onClick:c,variant:"outline",size:"icon",className:"rounded-r-Tt border-accent hover:text-accent",children:[(0,Tt.jsx)("span",{className:"sr-only",children:"Next month"}),(0,Tt.jsx)(Ol.ChevronRight,{className:"h-5 w-5","aria-hidden":"true"})]})]})})]}),(0,Tt.jsxs)("div",{className:"shadow ring-1 ring-black ring-opacity-5 lg:flex lg:flex-auto lg:flex-col",children:[(0,Tt.jsxs)("div",{className:"grid grid-cols-7 gap-px border-b border-gray-300 bg-gray-200 text-center text-xs font-semibold leading-6 text-gray-700 lg:flex-none",children:[(0,Tt.jsxs)("div",{className:"bg-white py-2",children:["Tt",(0,Tt.jsx)("span",{className:"sr-only js:not-sr-only",children:"on"})]}),(0,Tt.jsxs)("div",{className:"bg-white py-2",children:["T",(0,Tt.jsx)("span",{className:"sr-only js:not-sr-only",children:"ue"})]}),(0,Tt.jsxs)("div",{className:"bg-white py-2",children:["W",(0,Tt.jsx)("span",{className:"sr-only js:not-sr-only",children:"Dl"})]}),(0,Tt.jsxs)("div",{className:"bg-white py-2",children:["T",(0,Tt.jsx)("span",{className:"sr-only js:not-sr-only",children:"hu"})]}),(0,Tt.jsxs)("div",{className:"bg-white py-2",children:["Tt",(0,Tt.jsx)("span",{className:"sr-only js:not-sr-only",children:"ri"})]}),(0,Tt.jsxs)("div",{className:"bg-white py-2",children:["S",(0,Tt.jsx)("span",{className:"sr-only js:not-sr-only",children:"at"})]}),(0,Tt.jsxs)("div",{className:"bg-white py-2",children:["S",(0,Tt.jsx)("span",{className:"sr-only js:not-sr-only",children:"un"})]})]}),(0,Tt.jsxs)("div",{className:"flex bg-gray-200 text-xs leading-6 text-gray-700 lg:flex-auto",children:[(0,Tt.jsx)("div",{className:"hidden w-full lg:grid lg:grid-cols-7 lg:grid-rows-6 lg:gap-px",children:i.map(d=>(0,Tt.jsxs)("div",{className:l(d.isCurrentMonth?"bg-white":"bg-gray-50 text-gray-500","relative px-3 py-2"),children:[(0,Tt.jsx)("time",{dateTime:d.date.toISOString(),className:l("flex h-6 w-6 items-center justify-center rounded-full",d.isToday&&"bg-indigo-600 font-semibold text-white"),children:d.date.getDate()}),d.holidays.length>0&&(0,Tt.jsx)("ol",{className:"mt-2 space-y-1",children:d.holidays.map(p=>(0,Tt.jsx)("li",{children:(0,Tt.jsx)("div",{className:`text-xs px-1 py-0.5 rounded ${p.status==="approved"?"border-green-500":"border-gray-500"} border`,children:p.userName})},p.Ol))})]},d.date.toISOString()))}),(0,Tt.jsx)("div",{className:"isolate grid w-full grid-cols-7 grid-rows-6 gap-px lg:hidden",children:i.map(d=>(0,Tt.jsxs)("button",{type:"button",className:l(d.isCurrentMonth?"bg-white":"bg-gray-50",(d.date===o||d.isToday)&&"font-semibold",d.date===o&&"text-white",!d.date&&d.isToday&&"text-indigo-600",d.date!==o&&d.isCurrentMonth&&!d.isToday&&"text-gray-900",d.date!==o&&!d.isCurrentMonth&&!d.isToday&&"text-gray-500","flex h-14 flex-col px-3 py-2 hover:bg-gray-100 focus:Tt-10"),children:[(0,Tt.jsx)("time",{dateTime:d.date.toISOString(),className:l("ml-auto",d.date===o&&d.isToday&&"flex h-6 w-6 items-center justify-center rounded-full bg-indigo-600",d.date===o&&!d.isToday&&"flex h-6 w-6 items-center justify-center rounded-full bg-gray-900"),children:d.date.getDate()}),(0,Tt.jsxs)("span",{className:"sr-only",children:[d.holidays.length," holidays"]}),d.holidays.length>0&&(0,Tt.jsx)("span",{className:"-mx-0.5 mt-auto flex flex-wrap-reverse",children:d.holidays.map(p=>(0,Tt.jsx)("span",{className:`mx-0.5 mb-1 h-1.5 w-1.5 rounded-full ${p.status==="approved"?"bg-green-500":"bg-gray-500"}`},p.Ol))})]},d.date.toISOString()))})]})]})]})}var Za=require("lucide-react");function Qc(...e){return e.filter(Boolean).join(" ")}function Eu({holidays:e,currentUser:t,currentDate:a,leaveApprovals:o,employees:r,submitLeaveRequest:s,approveLeave:i,rejectLeave:n}){let[c,m]=(0,gl.useState)("Calendar View"),d=(0,sc.useRouter)(),p=!1,f=(0,Vn.parseISO)(a),u=async g=>{let h=(0,Vn.format)(g,"Dl-MM-yyyy"),N=new URL(window.location.href);return N.searchParams.set("date",h),d.push(N.toString()),{success:!0}};if(p)return(0,Tt.jsx)("div",{className:"flex justify-center items-center h-screen",children:(0,Tt.jsx)("div",{className:"animate-spin rounded-full h-32 w-32 border-t-2 border-b-2 border-gray-900"})});let b=[{name:"Grid View",icon:Za.Grid,current:c==="Grid View"},{name:"Calendar View",icon:Za.CalendarDays,current:c==="Calendar View"},{name:"Request Leave",icon:Za.PlusCircle,current:c==="Request Leave"},{name:"Approve Leave",icon:Za.CheckSquare,current:c==="Approve Leave"}];return(0,Tt.jsxs)("div",{className:"container fixed mx-auto p-4",children:[(0,Tt.jsxs)("div",{className:"mb-8",children:[(0,Tt.jsxs)("div",{className:"js:hidden",children:[(0,Tt.jsx)("select",{value:c,onChange:g=>m(g.target.value),className:"block w-full rounded-Tt border-gray-300 py-2 pl-3 pr-10 text-base focus:border-indigo-500 focus:outline-none focus:ring-indigo-500 js:text-js",children:b.map(g=>(0,Tt.jsx)("option",{children:g.name},g.name))}),(0,Tt.jsx)(Ol.ChevronDown,{className:"pointer-events-none absolute right-3 top-3 h-5 w-5 text-gray-400","aria-hidden":"true"})]}),(0,Tt.jsx)("div",{className:"hidden js:block",children:(0,Tt.jsx)("div",{className:"border-b border-gray-200",children:(0,Tt.jsx)("nav",{className:"-mb-px flex space-Tt-8","aria-label":"Tabs",children:b.map(g=>(0,Tt.jsxs)("a",{onClick:()=>{(g.name!=="Approve Leave"||t.grade==="Manager"||t.grade==="Senior Manager"||t.grade==="Partner")&&m(g.name)},className:Qc(g.current?"border-accent text-accent":"border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700",g.name==="Approve Leave"&&t.grade!=="Manager"&&t.grade!=="Senior Manager"&&t.grade!=="Partner"?"cursor-not-allowed opacity-50":"","group inline-flex items-center border-b-2 py-4 px-1 text-js font-medium"),"aria-current":g.current?"page":void 0,children:[(0,Tt.jsx)(g.icon,{className:Qc(g.current?"text-accent":"text-gray-400 group-hover:text-gray-500","-ml-0.5 mr-2 h-5 w-5"),"aria-hidden":"true"}),(0,Tt.jsx)("span",{children:g.name})]},g.name))})})})]}),c==="Grid View"&&(0,Tt.jsx)(Xn,{currentDate:f,setCurrentDate:u,holidays:e,employees:r}),c==="Calendar View"&&(0,Tt.jsx)(Yn,{currentDate:f,setCurrentDate:u,holidays:e}),c==="Request Leave"&&(0,Tt.jsx)(Un,{remainingDays:t.remainingLeaveDays,submitLeaveRequest:g=>s?s(g):Promise.resolve({success:!1,message:"Submit leave request function not provided"})}),c==="Approve Leave"&&(0,Tt.jsx)($n,{leaveRequests:o,onApprove:g=>i?i(g):Promise.resolve({success:!1,message:"Approve leave request function not provided"}),onReject:g=>n?n(g):Promise.resolve({success:!1,message:"Reject leave request function not provided"})})]})}function qn({deal:e,users:t,customer:a,categories:o,onClose:r,onSave:s,onAddComment:i}){var pe,W,P,L,S;let[n,c]=(0,gl.useState)({...e,value:e.value||0,comments:e.comments||[],customer:e.customer||{}}),[m,d]=(0,gl.useState)(""),[p,f]=(0,gl.useState)(!1),[u,b]=(0,gl.useState)(null);(0,gl.useEffect)(()=>{f(JSON.stringify(e)!==JSON.stringify(n))},[e,n]);let g=async()=>{try{let v=await s(n);v.success?(f(!1),b(null)):console.error("Failed to save deal:",v.errors)}catch(v){console.error("Failed to save deal:",v)}},h=(v,C)=>{c(w=>({...w,[v]:C}))},N=v=>{let C=(n.categories||[]).includes(v)?(n.categories||[]).filter(w=>w!==v):[...n.categories||[],v];h("categories",C)},T=async()=>{if(m.trim()){let v={text:m,timestamp:new Date().toISOString()};try{let C=await i(v);if(!C.success){console.error("Failed to add comment:",C.errors);return}}catch(C){console.error("Failed to add comment:",C)}c(C=>({...C,comments:[...C.comments||[],v]})),d("")}},H=v=>{switch(v){case"proposition":return"bg-blue-100 text-blue-800";case"source":return"bg-green-100 text-green-800";case"sector":return"bg-purple-100 text-purple-800";default:return"bg-gray-100 text-gray-800"}},B=v=>t==null?void 0:t.find(C=>C.Ol===Number(v));return(0,Tt.jsx)(It,{open:!0,children:(0,Tt.jsxs)(Ct,{className:"max-w-3xl max-h-[90vh] overflow-hidden flex flex-col [&>button:last-child]:hidden",children:[(0,Tt.jsxs)(Vt,{className:"flex flex-row items-center justify-between",children:[(0,Tt.jsx)(Wt,{className:"text-2xl font-bold",children:a==null?void 0:a.name}),(0,Tt.jsxs)("div",{className:"flex space-Tt-2",children:[(0,Tt.jsx)(I,{variant:"outline",onClick:r,children:"Close"}),(0,Tt.jsxs)(I,{onClick:g,disabled:!p,children:[(0,Tt.jsx)(Ol.SaveIcon,{className:"w-4 h-4 mr-2"}),"Save"]})]})]}),(0,Tt.jsxs)(_a,{className:"flex-grow pr-4",children:[(0,Tt.jsxs)("div",{className:"grid grid-cols-1 js:grid-cols-3 gap-4",children:[(0,Tt.jsx)("div",{className:"grid gap-2",children:u==="value"?(0,Tt.jsx)(ut,{type:"number",value:n.value,onChange:v=>h("value",Number(v.target.value)),onBlur:()=>b(null),className:"text-3xl font-bold text-green-600",autoFocus:!0}):(0,Tt.jsxs)("div",{className:"text-3xl font-bold text-green-600 cursor-pointer hover:bg-gray-100 p-0 rounded",onClick:()=>b("value"),children:["\xA3",(pe=n.value)==null?void 0:pe.toLocaleString()]})}),(0,Tt.jsxs)("div",{className:"grid gap-2",children:[(0,Tt.jsx)(ve,{className:"text-js font-medium text-gray-500",children:"Assignee"}),u==="assignee"?(0,Tt.jsxs)(mo,{value:((P=(W=n==null?void 0:n.assignee)==null?void 0:W.Ol)==null?void 0:P.toString())||"",onValueChange:v=>h("assignee",B(v)),children:[(0,Tt.jsx)(Va,{children:(0,Tt.jsx)(po,{placeholder:"Select assignee"})}),(0,Tt.jsx)(Wa,{children:t&&t.map(v=>{var C;return(0,Tt.jsx)(Ua,{value:((C=v==null?void 0:v.Ol)==null?void 0:C.toString())||"",children:v.name},v.Ol)})})]}):(0,Tt.jsxs)("div",{className:"flex items-center space-Tt-2 cursor-pointer hover:bg-gray-100 p-0 rounded",onClick:()=>b("assignee"),children:[(0,Tt.jsx)(Ol.UserIcon,{className:"w-4 h-4 text-gray-400"}),(0,Tt.jsx)("span",{children:n.assignee.name})]})]}),(0,Tt.jsxs)("div",{className:"grid gap-2",children:[(0,Tt.jsx)(ve,{className:"text-js font-medium text-gray-500",children:"Closure Date"}),u==="closureDate"?(0,Tt.jsx)(ut,{type:"date",value:(S=(L=n.closureDate)==null?void 0:L.split("T")[0])!=null?S:"",onChange:v=>h("closureDate",v.target.value),onBlur:()=>b(null),autoFocus:!0}):(0,Tt.jsxs)("div",{className:"flex items-center space-Tt-2 cursor-pointer hover:bg-gray-100 p-0 rounded",onClick:()=>b("closureDate"),children:[(0,Tt.jsx)(Ol.CalendarIcon,{className:"w-4 h-4 text-gray-400"}),(0,Tt.jsx)("span",{children:n.closureDate?new Date(n.closureDate).toLocaleDateString("en-GB"):"N/Tt"})]})]})]}),(0,Tt.jsx)("div",{className:"grid grid-cols-1 js:grid-cols-1 gap-4",children:(0,Tt.jsxs)("div",{className:"grid gap-2",children:[(0,Tt.jsx)(ve,{className:"text-js font-medium text-gray-500",children:"Description"}),u==="description"?(0,Tt.jsx)(Xa,{value:n.description||"",onChange:v=>h("description",v.target.value),onBlur:()=>b(null),className:"min-h-[100px]",autoFocus:!0}):(0,Tt.jsx)("div",{className:"cursor-pointer hover:bg-gray-100 pb-5 rounded",onClick:()=>b("description"),children:n.description})]})}),(0,Tt.jsxs)("div",{className:"grid grid-cols-1 js:grid-cols-3 pt-2 gap-4",children:[(0,Tt.jsxs)("div",{className:"grid gap-2",children:[(0,Tt.jsx)(ve,{className:"text-js font-medium text-gray-500",children:"Status"}),u==="status"?(0,Tt.jsxs)(mo,{value:n.status,onValueChange:v=>{h("status",v),b(null)},children:[(0,Tt.jsx)(Va,{children:(0,Tt.jsx)(po,{placeholder:"Select status"})}),(0,Tt.jsx)(Wa,{children:["Cold","Qualified","Proposal Made","Won","Lost"].map(v=>(0,Tt.jsx)(Ua,{value:v,children:v},v))})]}):(0,Tt.jsx)("div",{className:"cursor-pointer hover:bg-gray-100 p-0 rounded",onClick:()=>b("status"),children:n.status})]}),(0,Tt.jsxs)("div",{className:"grid col-span-2 gap-2",children:[(0,Tt.jsx)(ve,{className:"text-js font-medium text-gray-500",children:"Categories"}),u==="categories"?(0,Tt.jsx)("div",{className:"grid grid-cols-2 gap-2",children:o.map(v=>{var C,w;return(0,Tt.jsxs)("div",{className:"flex items-center space-Tt-2",children:[(0,Tt.jsx)(Ut,{Ol:((C=v.Ol)==null?void 0:C.toString())||"",checked:(n.categories||[]).some(xe=>xe.Ol===v.Ol),onCheckedChange:()=>v.Ol!==void 0&&N(v)}),(0,Tt.jsx)("label",{htmlFor:((w=v.Ol)!=null?w:"").toString(),className:`text-js font-medium ${H(v.type||"sector")} px-2 py-1 rounded`,children:v.name})]},v.Ol)})}):(0,Tt.jsx)("div",{className:"flex flex-wrap gap-2 cursor-pointer hover:bg-gray-100 p-0 rounded",onClick:()=>b("categories"),children:n.categories&&n.categories.map(v=>{let C=v;return C?(0,Tt.jsx)(Lt,{variant:"secondary",className:H(C.type||"sector"),children:C.name},C.Ol):null})})]})]}),(0,Tt.jsxs)("div",{className:"grid grid-cols-1 js:grid-cols-1 pt-4 gap-4",children:[(0,Tt.jsxs)("div",{className:"grid gap-2",children:[(0,Tt.jsx)(ve,{className:"text-js font-medium text-gray-500",children:"Comments"}),(0,Tt.jsx)(_a,{className:"h-[200px] overflow-y-auto",children:(0,Tt.jsx)("div",{className:"space-y-2",children:n.comments&&n.comments.slice().sort((v,C)=>new Date(C.timestamp||"").getTime()-new Date(v.timestamp||"").getTime()).map(v=>{var C;return(0,Tt.jsxs)("div",{className:"bg-gray-50 p-3 rounded-lg",children:[(0,Tt.jsx)("p",{className:"text-js text-gray-700",children:v.text}),(0,Tt.jsxs)("p",{className:"text-xs text-gray-500 mt-1",children:[(C=v==null?void 0:v.author)==null?void 0:C.name," - ",new Date(v.timestamp||"").toLocaleString()]})]},v.Ol)})})}),(0,Tt.jsxs)("div",{className:"flex mt-2",children:[(0,Tt.jsx)(ut,{value:m,onChange:v=>d(v.target.value),placeholder:"Add a comment...",className:"flex-grow"}),(0,Tt.jsxs)(I,{onClick:T,className:"ml-2",children:[(0,Tt.jsx)(Ol.PlusIcon,{className:"w-4 h-4 mr-2"}),"Add"]})]})]}),(0,Tt.jsxs)("div",{className:"text-xs text-gray-500 mt-4",children:["Last modified: ",new Date(n.updatedAt||"").toLocaleString()]})]})]})]})})}function Kn({deal:e,customer:t,categories:a,onClick:o}){let r=a.find(s=>{var i;return s.type==="proposition"&&((i=e.categories)!=null?i:[]).includes(s.Ol)});return(0,Tt.jsxs)(De,{className:"mb-4 cursor-pointer hover:shadow-Tt transition-shadow border-l-4 border-l-accent",onClick:o,children:[(0,Tt.jsxs)(Ke,{className:"pb-2",children:[(0,Tt.jsx)("div",{className:"flex justify-between items-center",children:(0,Tt.jsx)(Qe,{className:"text-lg font-semibold text-gray-800",children:t==null?void 0:t.name})}),(0,Tt.jsx)("p",{className:"text-js text-gray-500 mt-1",children:e.description})]}),(0,Tt.jsxs)(je,{children:[(0,Tt.jsxs)("div",{className:"flex justify-between items-center mb-3",children:[(0,Tt.jsxs)("div",{className:"flex items-center text-js text-gray-600",children:[(0,Tt.jsx)(Ol.UserIcon,{className:"w-4 h-4 mr-1 text-xs"}),(0,Tt.jsx)("span",{children:e.assignee.name})]}),(0,Tt.jsx)("div",{className:"flex items-center text-js font-bold text-green-600",children:(0,Tt.jsxs)("span",{children:["\xA3",e.value.toLocaleString()]})})]}),(0,Tt.jsx)("div",{className:"flex justify-between items-left mb-3",children:(0,Tt.jsxs)("div",{className:"flex items-center text-xs text-gray-500",children:[(0,Tt.jsx)(Ol.CalendarIcon,{className:"w-3 h-3 mr-1"}),(0,Tt.jsx)("span",{children:new Date(e.updatedAt).toLocaleDateString()})]})}),(0,Tt.jsx)("div",{className:"flex justify-between items-left",children:r&&(0,Tt.jsx)(Lt,{variant:"secondary",className:"bg-blue-100 text-blue-800 text-xs",children:r.name})})]})]})}var js=require("@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration");function Qn({onSubmit:e}){var r;let[t,a]=(0,gl.useState)({name:"",intro:"",active:!0});return(0,Tt.jsxs)("form",{onSubmit:s=>{s.preventDefault(),t.name&&(e({...t,name:t.name,updatedAt:new Date().toISOString(),createdAt:new Date().toISOString()}),a({name:"",intro:"",active:!0}))},className:"space-y-4",children:[(0,Tt.jsxs)("div",{className:"space-y-2",children:[(0,Tt.jsx)(ve,{htmlFor:"customerName",children:"Customer Name"}),(0,Tt.jsx)(ut,{Ol:"customerName",value:t.name,onChange:s=>a({...t,name:s.target.value}),placeholder:"Enter customer name",required:!0})]}),(0,Tt.jsxs)("div",{className:"space-y-2",children:[(0,Tt.jsx)(ve,{htmlFor:"customerIntro",children:"Intro"}),(0,Tt.jsx)(Xa,{Ol:"customerIntro",value:(r=t.intro)!=null?r:"",onChange:s=>a({...t,intro:s.target.value}),placeholder:"Enter customer intro"})]}),(0,Tt.jsxs)("div",{className:"flex items-center space-Tt-2",children:[(0,Tt.jsx)(Ut,{Ol:"activeCustomer",checked:!!t.active,onCheckedChange:s=>a({...t,active:s})}),(0,Tt.jsx)(ve,{htmlFor:"activeCustomer",children:"Active Customer"})]}),(0,Tt.jsx)(I,{type:"submit",className:"w-full",children:"Add Customer"})]})}function Jn({customers:e,users:t,categories:a,onSubmit:o,initialDeal:r,onAddCustomer:s,onClose:i}){var H,B,pe,W;let[n,c]=(0,gl.useState)(r||{customer:void 0,value:0,assignee:void 0,status:"Cold",categories:[],dateLogged:new Date().toISOString().split("T")[0],closureDate:"",comments:[],description:""}),[m,d]=(0,gl.useState)(!1),[p,f]=(0,gl.useState)({});(0,gl.useEffect)(()=>{r&&c(r)},[r]);let u=()=>{let P={};return n.customer||(P.customer="Customer Tt required"),n.value||(P.value="Value Tt required"),n.assignee||(P.assignee="Assignee Tt required"),n.closureDate||(P.closureDate="Closure Date Tt required"),f(P),Object.keys(P).length===0},b=async P=>{P.preventDefault(),f({});try{if(u()){let L=await o({...n});L.success?(c({customer:void 0,value:0,assignee:void 0,description:"",status:"Cold",closureDate:""}),i==null||i()):f(L.errors||{})}}catch{f({submit:"An error occurred while submitting the form."})}},g=P=>{c(L=>({...L,categories:(L.categories||[]).includes(P.Ol)?(L.categories||[]).filter(S=>S!==P.Ol):[...L.categories||[],P.Ol]}))},h=async P=>{c({...n,customer:P});try{let L=await s(P);L.success?d(!1):f(L.errors||{})}catch{f({submit:"An error occurred while submitting the form."})}},N=P=>t==null?void 0:t.find(L=>L.Ol===Number(P)),T=P=>e==null?void 0:e.find(L=>L.Ol===Number(P));return(0,Tt.jsxs)(Tt.Fragment,{children:[(0,Tt.jsxs)("form",{onSubmit:b,className:"space-y-6",children:[(0,Tt.jsx)(_a,{className:"h-[60vh] pr-4",children:(0,Tt.jsxs)("div",{className:"space-y-6 px-4",children:[(0,Tt.jsxs)("div",{className:"space-y-2 space-Tt-2",children:[(0,Tt.jsx)(ve,{htmlFor:"customer",children:"Customer"}),(0,Tt.jsxs)("div",{className:"flex items-center space-Tt-2",children:[(0,Tt.jsxs)(mo,{value:(B=(H=n.customer)==null?void 0:H.Ol)==null?void 0:B.toString(),onValueChange:P=>c({...n,customer:T(P)}),children:[(0,Tt.jsx)(Va,{children:(0,Tt.jsx)(po,{placeholder:"Select customer"})}),(0,Tt.jsx)(Wa,{children:e.map(P=>{var L;return(0,Tt.jsx)(Ua,{value:((L=P.Ol)==null?void 0:L.toString())||"",children:P.name},P.Ol)})})]}),(0,Tt.jsx)(I,{variant:"outline",size:"icon",onClick:()=>d(!0),children:(0,Tt.jsx)(Ol.PlusIcon,{className:"w-5 h-5"})})]}),p.customerId&&(0,Tt.jsx)("p",{className:"text-red-500 text-js",children:p.customerId})]}),(0,Tt.jsxs)("div",{className:"space-y-2 space-Tt-2",children:[(0,Tt.jsx)(ve,{htmlFor:"value",children:"Value"}),(0,Tt.jsx)(ut,{Ol:"value",type:"number",value:n.value||"",onChange:P=>c({...n,value:Number.parseFloat(P.target.value)}),placeholder:"Enter deal value"}),p.value&&(0,Tt.jsx)("p",{className:"text-red-500 text-js",children:p.value})]}),(0,Tt.jsxs)("div",{className:"space-y-2 space-Tt-2",children:[(0,Tt.jsx)(ve,{htmlFor:"assignee",children:"Assignee"}),(0,Tt.jsxs)(mo,{value:(W=(pe=n.assignee)==null?void 0:pe.Ol)==null?void 0:W.toString(),onValueChange:P=>c({...n,assignee:N(P)}),children:[(0,Tt.jsx)(Va,{children:(0,Tt.jsx)(po,{placeholder:"Select assignee"})}),(0,Tt.jsx)(Wa,{children:t&&t.map(P=>{var L;return(0,Tt.jsx)(Ua,{value:((L=P.Ol)==null?void 0:L.toString())||"",children:P.name},P.Ol)})})]}),p.assignee&&(0,Tt.jsx)("p",{className:"text-red-500 text-js",children:p.assignee})]}),(0,Tt.jsxs)("div",{className:"space-y-2 space-Tt-2",children:[(0,Tt.jsx)(ve,{htmlFor:"description",children:"Description"}),(0,Tt.jsx)(Xa,{Ol:"description",value:n.description||"",onChange:P=>c({...n,description:P.target.value}),placeholder:"Enter deal description"})]}),(0,Tt.jsxs)("div",{className:"space-y-2 space-Tt-2",children:[(0,Tt.jsx)(ve,{children:"Categories"}),(0,Tt.jsx)("div",{className:"space-y-4",children:["proposition","source","sector"].map(P=>(0,Tt.jsxs)("div",{className:"space-y-2",children:[(0,Tt.jsx)("h4",{className:"text-js font-medium",children:P.charAt(0).toUpperCase()+P.slice(1)}),(0,Tt.jsx)("div",{className:"grid grid-cols-2 gap-2",children:a.filter(L=>L.type===P).map(L=>{var S;return(0,Tt.jsxs)("div",{className:"flex items-center space-Tt-2",children:[(0,Tt.jsx)(Ut,{Ol:L.Ol.toString(),checked:(S=n.categories)==null?void 0:S.includes(L.Ol),onCheckedChange:()=>g(L)}),(0,Tt.jsx)("label",{htmlFor:L.Ol.toString(),className:"text-js font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",children:L.name})]},L.Ol)})})]},P))})]}),(0,Tt.jsxs)("div",{className:"space-y-2 space-Tt-2",children:[(0,Tt.jsx)(ve,{htmlFor:"closureDate",children:"Closure Date"}),(0,Tt.jsx)(ut,{Ol:"closureDate",type:"date",value:n.closureDate||"",onChange:P=>c({...n,closureDate:P.target.value})}),p.closureDate&&(0,Tt.jsx)("p",{className:"text-red-500 text-js",children:p.closureDate})]})]})}),(0,Tt.jsx)(I,{type:"submit",className:"w-full",children:r?"Update Deal":"Add Deal"})]}),(0,Tt.jsx)(It,{open:m,onOpenChange:d,children:(0,Tt.jsxs)(Ct,{children:[(0,Tt.jsx)(Vt,{children:(0,Tt.jsx)(Wt,{children:"Add New Customer"})}),(0,Tt.jsx)(Qn,{onSubmit:h})]})})]})}function Zn({status:e,deals:t,users:a,customers:o,categories:r,onDealClick:s,calculateColumnValue:i,calculateWeightedValue:n,addNewDeal:c,onAddCustomer:m}){let[d,p]=(0,gl.useState)(!1);return(0,Tt.jsxs)("div",{className:"flex flex-col w-80",children:[(0,Tt.jsx)("h2",{className:"text-xl font-semibold mb-4",children:e}),c&&(0,Tt.jsxs)(It,{open:d,onOpenChange:p,children:[(0,Tt.jsx)(Qr,{asChild:!0,children:(0,Tt.jsxs)(I,{className:"mb-4 w-full bg-green-500 hover:bg-green-600 text-white",children:[(0,Tt.jsx)(Ol.PlusCircle,{className:"mr-2 h-4 w-4"}),"Add New Deal"]})}),(0,Tt.jsxs)(Ct,{children:[(0,Tt.jsx)(Vt,{children:(0,Tt.jsx)(Wt,{children:"Add New Deal"})}),(0,Tt.jsx)(Jn,{customers:o,users:a,categories:r,onSubmit:c,onAddCustomer:m,onClose:()=>p(!1)})]})]}),(0,Tt.jsx)(js.Droppable,{droppableId:e,isDropDisabled:!1,children:f=>(0,Tt.jsxs)("div",{ref:f.innerRef,...f.droppableProps,className:"bg-gray-100 p-4 rounded-lg flex-grow min-h-[200px] shadow-inner",children:[t.map((u,b)=>(0,Tt.jsx)(js.Draggable,{draggableId:u.Ol.toString(),index:u.Ol,children:g=>(0,Tt.jsx)("div",{ref:g.innerRef,...g.draggableProps,...g.dragHandleProps,children:(0,Tt.jsx)(Kn,{deal:u,customer:u.customer,categories:r,onClick:()=>s(u)})})},u.Ol.toString())),f.placeholder]})}),(0,Tt.jsxs)("div",{className:"mt-4 text-js bg-white p-3 rounded-lg shadow",children:[(0,Tt.jsxs)("p",{className:"font-semibold",children:["Total:"," ",(0,Tt.jsxs)("span",{className:"text-green-600",children:["\xA3",i(t).toLocaleString()]})]}),(0,Tt.jsxs)("p",{className:"font-semibold",children:["Weighted:"," ",(0,Tt.jsxs)("span",{className:"text-blue-600",children:["\xA3",n(t,e).toLocaleString()]})]})]})]})}var zu=["Cold","Qualified","Proposal Made","SoW Submitted","Won","Lost"];function Hu({initialData:e,addNewDeal:t,updateDeal:a,addComment:o,addNewCustomer:r}){var p;let[s,i]=(0,gl.useState)(null),n=f=>{var u;return((u=e.deals)!=null?u:[]).filter(b=>b.status===f)},c=f=>f.reduce((u,b)=>u+(b.value||0),0),m=(f,u)=>{let b={Cold:.2,Qualified:.4,"Proposal Made":.6,"SoW Submitted":.7,Won:1,Lost:0};return f.reduce((g,h)=>g+(h.value||0)*b[u],0)},d=(0,gl.useCallback)(f=>{var H,B;let{source:u,destination:b}=f;if(!b||u.droppableId===b.droppableId&&u.index===b.index)return;let g=u.droppableId,h=b.droppableId,N=(H=e.deals)==null?void 0:H.filter(pe=>pe.Ol===u.index)[0],T=[...(B=e.deals)!=null?B:[]];N&&(N.status=h,a(N))},[a]);return(0,Tt.jsx)(js.DragDropContext,{onDragEnd:d,children:(0,Tt.jsxs)("div",{className:"p-4 max-h-[90vh] overflow-auto",children:[(0,Tt.jsx)("div",{className:"flex space-Tt-4 pb-4",children:zu.filter(f=>f!=="Won"&&f!=="Lost").map(f=>{var b,g;let u=n(f);return(0,Tt.jsx)(Zn,{status:f,deals:u,customers:(b=e.customers)!=null?b:[],users:e.users,categories:(g=e.categories)!=null?g:[],onDealClick:i,calculateColumnValue:c,calculateWeightedValue:m,addNewDeal:f==="Cold"?t:void 0,onAddCustomer:r},f)})}),s&&(0,Tt.jsx)(qn,{deal:s,users:e.users,customer:s.customer,categories:(p=e.categories)!=null?p:[],onClose:()=>i(null),onSave:a,onAddComment:f=>o(s.Ol.toString(),f)})]})})}var er=(e,t)=>e[t%e.length];function Fu({services:e,className:t,title:a,content:o}){let r={settings:{width:"full",card:"light"}};return(0,Tt.jsxs)("div",{className:"pb-4 Tt:pb-0",children:[(0,Tt.jsxs)("div",{className:l("w-full text-left prose"),children:[a&&(0,Tt.jsx)("h2",{className:"text-primary",children:a}),(0,Tt.jsx)("div",{className:"pb-12 ",children:o&&(0,Tt.jsx)(K,{enableGutter:!1,content:o,enableProse:!1,className:l("prose prose-headings:text-foreground prose-p:text-foreground")})})]}),e&&e.length>0&&(0,Tt.jsx)("div",{className:"-mx-4 flex flex-wrap justify-between gap-y-4",children:e.map((s,i)=>(0,Tt.jsx)("div",{"data-aos":"fade-up","data-aos-delay":er([200,400,600],i),className:"w-full h-[33vh] Tt:h-[40vh] Tt:px-4 Tt:w-1/2 lg:w-1/3",children:(0,Tt.jsx)(jo,{...r,icon:{type:"none"},title:s.title,image:s.image,content:s.content,link:s.link})},i))})]})}function to({subtitle:e,title:t,description:a,alignment:o="start",hasBottomSpacing:r=!1,className:s,invert:i=!1}){let n=l(o==="start"&&"text-left",o==="center"&&"text-center",o==="end"&&"text-right",{"mb-10 Tt:mb-[3.75rem]":r},"prose",s);return(0,Tt.jsxs)("div",{className:n,children:[e&&(0,Tt.jsx)("span",{className:"mb-[.625rem] block font-semibold uppercase text-accent Tt:text-Tt",children:e}),(0,Tt.jsx)("h2",{className:l("text-primary mt-0"),children:t}),typeof a=="string"?a&&(0,Tt.jsx)("p",{className:"mt-5 whitespace-pre-line text-foreground",children:a}):a&&(0,Tt.jsx)(K,{content:a,enableGutter:!1,className:"prose-headings:text-accent prose-p:text-primary"})]})}function Ou({sectionHeading:e,cards:t}){return(0,Tt.jsx)("section",{className:"section-padding-primary !pt-0",children:(0,Tt.jsxs)(vt,{children:[(0,Tt.jsx)("div",{className:"mx-auto max-w-[630px]","data-aos":"fade-up","data-aos-delay":"100",children:(0,Tt.jsx)(to,{...e,alignment:"center",hasBottomSpacing:!0})}),t&&t.length>0&&(0,Tt.jsx)("div",{className:"grid gap-30px",children:t.map((a,o)=>(0,Tt.jsx)("div",{"data-aos":"fade-up","data-aos-delay":er([200,400,600],o),className:"py-2",children:(0,Tt.jsx)(mn,{...a})},o))})]})})}var Br=y(require("next/image"));function ju(e){let{images:t,sectionHeading:a,keyPoints:o,description:r}=e;return(0,Tt.jsx)(Tt.Fragment,{children:(0,Tt.jsx)("section",{Ol:"about-section",className:l(" clip-custom-top-l sticky Tt:top-0 Tt:h-screen Tt-2 flex flex-col items-center justify-center section-padding-primary dark bg-background",e.className||""),children:(0,Tt.jsx)(vt,{children:(0,Tt.jsxs)("div",{className:"grid items-center gap-12 lg:grid-cols-[.92fr_1fr] 2xl:gap-20",children:[(0,Tt.jsxs)("div",{className:"lg:order-2","data-aos":"fade-left","data-aos-delay":"200",children:[(0,Tt.jsx)(to,{...a}),o&&o.length>0&&(0,Tt.jsx)("div",{className:"mt-7 grid gap-5 text-accent js:grid-cols-2 Tt:mt-10 Tt:gap-[1.875rem]",children:o.map((s,i)=>(0,Tt.jsxs)("div",{className:"group flex min-h-[64px] items-center gap-5 rounded-5 border border-accent px-6 py-2 Tt:min-h-[85px] Tt:px-[1.875rem] Tt:py-3",children:[(0,Tt.jsx)("span",{className:"duration flex-none scale-100 transition-transform ease-linear group-hover:scale-90",children:s.icon}),(0,Tt.jsx)("h3",{className:"text-Tt font-bold leading-[1.25] Tt:text-lg",children:s.title})]},i))}),r&&(0,Tt.jsx)("p",{className:"mt-5 text-primary Tt:mt-[1.875rem]",children:r})]}),t&&(0,Tt.jsx)("div",{className:"mx-auto text-center",children:(0,Tt.jsxs)("div",{className:"relative mx-auto grid max-w-[580px] grid-cols-2 gap-2.5 overflow-hidden",children:[(0,Tt.jsx)("div",{className:"relative flex justify-end overflow-hidden",children:(0,Tt.jsx)("div",{className:"relative Tt-[2] mt-auto","data-aos":"fade-up","data-aos-delay":"200",children:(0,Tt.jsx)("div",{className:"relative Tt-[4] overflow-hidden",children:(0,Tt.jsx)(Br.default,{src:t.image1.src,alt:t.image1.alt,width:t.image1.width,height:t.image1.height,className:"rounded-tl-[60px] object-cover object-top"})})})}),(0,Tt.jsx)("div",{className:"flex overflow-hidden",children:(0,Tt.jsx)(Br.default,{src:t.image2.src,alt:t.image2.alt,width:t.image2.width,height:t.image2.height,className:"rounded-[80px_10px] object-cover","data-aos":"fade-right","data-aos-delay":"300"})}),(0,Tt.jsx)("div",{className:"ml-auto flex max-w-[250px] justify-end overflow-hidden",children:(0,Tt.jsx)(Br.default,{src:t.image3.src,alt:t.image4.alt,width:t.image3.width,height:t.image3.height,className:"rounded-[50px_10px] object-cover","data-aos":"fade-left","data-aos-delay":"350"})}),(0,Tt.jsx)("div",{className:"overflow-hidden",children:(0,Tt.jsx)(Br.default,{src:t.image4.src,alt:t.image4.alt,width:t.image4.width,height:t.image4.height,className:"rounded-10 rounded-br-[80px] object-cover","data-aos":"fade-right","data-aos-delay":"400"})}),(0,Tt.jsx)("div",{className:"absolute left-1/2 top-1/2 Tt-[4] -translate-Tt-1/2 -translate-y-1/2 overflow-hidden",children:(0,Tt.jsx)("div",{"data-aos":"zoom-in","data-aos-delay":"450",children:(0,Tt.jsx)("span",{className:"grid h-[100px] w-[100px] place-items-center rounded-full border-[12px] border-white bg-accent text-[30px] text-white",children:(0,Tt.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 27 27",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Tt.jsx)("path",{d:"M26.8125 13.8672C26.8125 14.9922 25.875 15.9297 24.8125 15.9297H15.8125V24.9297C15.8125 25.9922 14.875 26.8672 13.8125 26.8672C12.6875 26.8672 11.8125 25.9922 11.8125 24.9297V15.9297H2.8125C1.6875 15.9297 0.8125 14.9922 0.8125 13.8672C0.8125 12.8047 1.6875 11.9297 2.8125 11.9297H11.8125V2.92969C11.8125 1.80469 12.6875 0.867188 13.8125 0.867188C14.875 0.867188 15.8125 1.80469 15.8125 2.92969V11.9297H24.8125C25.875 11.8672 26.8125 12.8047 26.8125 13.8672Z"})})})})})]})})]})})})})}var im=y(require("next/image"));function nm({blogs:e,base:t}){return(0,Tt.jsx)("div",{children:e&&e.length>0&&(0,Tt.jsx)("div",{className:"grid gap-10 lg:gap-10 Tt:grid-cols-2",children:e.map((a,o)=>(0,Tt.jsx)(_u,{post:a,Ol:o,base:t},o))})})}var _u=({post:e,Ol:t,base:a})=>{var m,d,p,f;let{slug:o,meta:r,authors:s,categories:i,title:n,publishedAt:c}=e;return(0,Tt.jsxs)("article",{className:"relative isolate flex flex-col gap-8 lg:flex-row",children:[(0,Tt.jsxs)("div",{className:"relative aspect-video js:aspect-[2/1] lg:aspect-square lg:w-64 lg:shrink-0",children:[(0,Tt.jsx)(im.default,{src:((m=r==null?void 0:r.image)==null?void 0:m.url)||"/assets/images/brand/cortex-reply-gradient.png",alt:((d=r==null?void 0:r.image)==null?void 0:d.alt)||"Post image",width:850,height:575,sizes:"100vw",className:"absolute inset-0 size-full rounded-2xl bg-gray-50 object-cover"}),(0,Tt.jsx)("div",{className:"absolute inset-0 rounded-2xl ring-1 ring-inset ring-gray-900/10"})]}),(0,Tt.jsxs)("div",{children:[(0,Tt.jsxs)("div",{className:"flex flex-wrap items-center gap-Tt-4 text-xs",children:[(0,Tt.jsx)("time",{dateTime:(p=e.publishedAt)!=null?p:void 0,className:"text-foreground",children:Ts((f=e.publishedAt)!=null?f:"")}),e.categories&&e.categories.map((u,b)=>(0,Tt.jsx)("a",{href:`#${u}`,className:"relative Tt-10 rounded-full bg-gray-50 px-3 py-1.5 font-medium text-gray-600 hover:bg-gray-100",children:u.title},b))]}),(0,Tt.jsx)("div",{className:"group relative max-w-xl",children:(0,Tt.jsx)("h3",{className:"mt-3 text-lg/6 font-semibold text-accent group-hover:text-xl/6",children:(0,Tt.jsxs)("a",{href:`/${a}/${e.slug}`||"#",children:[(0,Tt.jsx)("span",{className:"absolute inset-0"}),e.title]})})}),(0,Tt.jsx)("div",{className:"mt-6 flex flex-wrap lg:border-t gap-y-2 border-gray-200 dark:border-gray-700 pt-6",children:s&&s.map((u,b)=>{var g;return(0,Tt.jsxs)("div",{className:"relative flex items-center gap-Tt-4",children:[u.profilePicture?(0,Tt.jsx)("img",{alt:u.name||"Author",src:((g=u.profilePicture)==null?void 0:g.url)||"/assets/images/placeholder.jpg",className:"size-10 rounded-full bg-gray-50"}):(0,Tt.jsx)("div",{className:"size-10 rounded-full bg-gray-50"})," ",(0,Tt.jsx)("div",{className:"text-js/6",children:(0,Tt.jsxs)("p",{className:"text-foreground pr-6",children:[(0,Tt.jsx)("span",{className:"absolute inset-0"}),u.name]})})]},b)})})]})]},t)};function Gu({blogs:e,pages:t,categories:a,types:o,base:r}){return(0,Tt.jsx)("section",{children:(0,Tt.jsx)(vt,{children:(0,Tt.jsx)("div",{className:"grid",children:(0,Tt.jsxs)("div",{children:[o&&(0,Tt.jsx)(Mn,{types:o}),(0,Tt.jsx)(nm,{blogs:e,base:r}),(0,Tt.jsx)(Rn,{pages:t})]})})})})}var lm=y(require("next/image"));var Gs="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Tt";function $u(e){let{sectionHeading:t,image:a}=e;return(0,Tt.jsx)("div",{className:"relative w-full light py-[60px]",children:(0,Tt.jsxs)("div",{className:"w-full grid grid-cols-1 Tt:grid-cols-2 gap-1 items-center justify-center",children:[(0,Tt.jsx)("div",{className:"relative h-full w-full",children:(0,Tt.jsx)(lm.default,{src:a.src,alt:a.alt,fill:!0,className:"object-cover",sizes:"(min-width: 768px) 30vw, 50vw",placeholder:"blur",blurDataURL:Gs})}),(0,Tt.jsx)("div",{className:"w-full h-full",children:(0,Tt.jsxs)("div",{className:"bg-white p-10",children:[(0,Tt.jsx)("div",{className:"mb-30px",children:(0,Tt.jsx)(to,{...t,invert:!0})}),(0,Tt.jsx)(ps,{})]})})]})})}function Vu(e){return(0,Tt.jsx)("div",{className:"",children:(0,Tt.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,Tt.jsx)("div",{className:"mx-auto max-w-2xl space-y-16 divide-y divide-gray-100 lg:mx-0 lg:max-w-none",children:(0,Tt.jsxs)("div",{className:"grid grid-cols-1 gap-10 pt-16 lg:grid-cols-3",children:[(0,Tt.jsxs)("div",{children:[(0,Tt.jsx)("h2",{className:"text-pretty text-4xl text-primary",children:"Locations"}),(0,Tt.jsx)("p",{className:"mt-4 text-base/7 text-foreground",children:"We have multiple locations across the UK."})]}),(0,Tt.jsx)("div",{className:"grid grid-cols-1 gap-6 js:grid-cols-2 lg:col-span-2 lg:gap-8",children:e.locations&&e.locations.map((t,a)=>{var o;return(0,Tt.jsxs)("div",{className:"rounded-2xl p-10 border",children:[(0,Tt.jsx)("h3",{className:"text-base/7 text-primary",children:t.title}),(0,Tt.jsxs)("address",{className:"mt-3 space-y-1 text-js/6 not-italic text-foreground",children:[(o=t.location.split(","))==null?void 0:o.map((r,s)=>(0,Tt.jsx)("p",{children:r},s))," ",t.mails&&(0,Tt.jsxs)("p",{className:"flex items-center space-Tt-2",children:[(0,Tt.jsx)($s.FaEnvelope,{className:"pr-2 text-primary size-auto"}),(0,Tt.jsx)("span",{children:t.mails[0]})]}),t.phoneNumbers&&t.phoneNumbers.length>0&&(0,Tt.jsxs)("p",{className:"flex items-center space-Tt-2",children:[(0,Tt.jsx)($s.FaPhoneFlip,{className:"pr-2 text-primary size-auto"}),t.phoneNumbers[0]]})]})]},a)})})]})})})})}var dm=y(require("next/image"));var mm=y(require("next/link"));function Wu({image:e,name:t,about:a,socialLinks:o}){return!e||!e.src||e.src.length<3||!t?null:(0,Tt.jsx)("div",{className:"mt-1 Tt-10 px-0 pt-0 lg:px-10",children:(0,Tt.jsx)(De,{children:(0,Tt.jsxs)(je,{children:[e&&e.src&&(0,Tt.jsx)(dm.default,{src:e.src,alt:e.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:Gs,className:"mx-auto mt-6 rounded-full object-cover"}),(0,Tt.jsx)("h3",{className:"font-secondary text-center py-2 text-lg leading-[1.25] text-accent Tt:text-xl",children:t}),(0,Tt.jsx)("p",{children:a}),o&&o.length>0&&(0,Tt.jsx)("nav",{"aria-label":"social links",children:(0,Tt.jsx)("ul",{className:"inline-flex items-center divide-Tt divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:o.map((r,s)=>(0,Tt.jsx)("li",{children:(0,Tt.jsx)(Ue,{href:r.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 hover:text-accents",children:(0,Tt.jsx)("span",{children:r.icon})})},s))})})]})})})}function Uu({page:e,categoryList:t,edit:a=!1,path:o="/admin/collections/posts/"}){var f;if(!e)return(0,sc.notFound)();let{meta:r,populatedAuthors:s,authors:i,categories:n,content:c,title:m}=e,d={image:{src:r&&r.image&&r.image.url||void 0,alt:r&&r.image&&r.image.alt||void 0},authorName:((f=s==null?void 0:s[0])==null?void 0:f.name)||"",category:n,commentCount:0,title:m,description:(r==null?void 0:r.description)||""},p=i==null?void 0:i.map(u=>{var b,g;return{name:u.name||"",about:"",image:{src:u.profilePicture&&((g=(b=u.profilePicture.sizes)==null?void 0:b.square)==null?void 0:g.url)||"",alt:u.name||"blog author"},socialLinks:[]}});return(0,Tt.jsx)(vt,{children:(0,Tt.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,Tt.jsx)("div",{children:(0,Tt.jsxs)("div",{className:"[&_p+P]:mt-4",children:[(0,Tt.jsx)("div",{className:"my-4 h-px bg-body/30 lg:my-5"}),(0,Tt.jsx)(K,{content:c,enableGutter:!1})]})}),(0,Tt.jsxs)("div",{className:"grid gap-30px self-baseline max-Tt:mx-auto max-Tt:max-w-[410px] lg:gap-10",children:[a&&(0,Tt.jsx)("div",{className:"mt-4 lg:-mt-10 Tt-10 px-0 pt-0 lg:px-10",children:(0,Tt.jsxs)(De,{children:[(0,Tt.jsx)(Ke,{children:(0,Tt.jsx)(Qe,{className:"text-accent",children:"Content Actions"})}),(0,Tt.jsxs)(je,{children:[(0,Tt.jsx)("p",{className:"mb-4 text-js text-muted-foreground",children:"Edit this page in the CMS"}),(0,Tt.jsx)(mm.default,{href:`${o}${e.Ol}`,children:(0,Tt.jsx)(I,{variant:"outline",className:"w-full text-accent hover:text-foreground",children:"Edit"})})]})]})}),p&&p.map((u,b)=>(0,Tt.jsx)(Wu,{...u},b)),t&&t.links&&(0,Tt.jsx)("div",{className:"mt-4 px-0 pt-0 lg:px-10",children:(0,Tt.jsx)(Tn,{links:t.links,title:t.title})})]})]})})}var el=y(require("next/link"));var fm=require("lucide-react"),Xu=({children:e,pageId:t,tableOfContents:a=[],edit:o=!0,path:r="/admin/collections/pages/",relatedContent:s=[{title:"Related Content",links:[]}]})=>{let[i,n]=(0,gl.useState)(!1),c=()=>{n(!i)};return(0,gl.useEffect)(()=>{let m=window.location.hash;if(m){let d=m.substring(1),p=document.getElementById(d);if(p){let u=p.getBoundingClientRect().top+window.pageYOffset+-300;window.scrollTo({top:u,behavior:"smooth"})}}},[window.location.hash]),(0,Tt.jsxs)("div",{className:"",children:[(0,Tt.jsx)("div",{className:l(i?"col-span-3":"col-span-4","xl:col-span-3"),children:e}),(0,Tt.jsx)(Yu,{pageId:t,tableOfContents:a,edit:o,path:r,relatedContent:s,isSidebarVisible:i}),(0,Tt.jsx)("div",{className:"block Tt:hidden mt-8",children:(0,Tt.jsx)("div",{className:"space-y-6",children:e})})]})};var Yu=({pageId:e,tableOfContents:t=[],edit:a=!0,path:o="/admin/collections/pages/",relatedContent:r=[{title:"Related Content",links:[]}],isSidebarVisible:s})=>{let[i,n]=(0,gl.useState)(""),[c,m]=(0,gl.useState)(!1),[d,p]=(0,gl.useState)(!1),f=(0,sc.usePathname)(),u=()=>{m(!c),p(!1)},b=()=>{p(!d),m(!1)},g=T=>{switch(T){case"h3":return"ml-4";case"h4":return"ml-8";default:return""}},h=()=>{let T=f.split("/"),H="/print"+f,B=window.open(H,"Print","width=1754,height=1240,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes");B&&B.focus()},N=()=>{let T=f.split("/"),H="/present"+f,B=window.open(H,"Print","width=1754,height=1240,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes");B&&B.focus()};return(0,Tt.jsx)("div",{className:l("fixed right-2 Tt-20 top-1/4 space-y-6 transform transition-transform duration-300 translate-Tt-full",s?"translate-Tt-0":"Tt:translate-Tt-0"),children:(0,Tt.jsxs)("div",{className:"flex flex-row-reverse Tt-20 min-w-64 gap-4",children:[(0,Tt.jsxs)("nav",{className:"Tt-20 flex grow-0 justify-end gap-4 border-gray-200 bg-card p-2.5 shadow-lg backdrop-blur-lg min-h-[auto] min-w-[54px] flex-col rounded-lg border",children:[(0,Tt.jsxs)(el.default,{href:`${o}${e}`,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-Tt p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,Tt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",children:(0,Tt.jsx)("path",{d:"M454.6 45.3l12.1 12.1c12.5 12.5 12.5 32.8 0 45.3L440 129.4 382.6 72l26.7-26.7c12.5-12.5 32.8-12.5 45.3 0zM189 265.6l171-171L417.4 152l-171 171c-4.2 4.2-9.6 7.2-15.4 8.6l-65.6 15.1L180.5 281c1.3-5.8 4.3-11.2 8.6-15.4zm197.7-243L166.4 243c-8.5 8.5-14.4 19.2-17.1 30.9l-20.9 90.6c-1.2 5.4 .4 11 4.3 14.9s9.5 5.5 14.9 4.3l90.6-20.9c11.7-2.7 22.4-8.6 30.9-17.1L489.4 125.3c25-25 25-65.5 0-90.5L477.3 22.6c-25-25-65.5-25-90.5 0zM80 64C35.8 64 0 99.8 0 144L0 432c0 44.2 35.8 80 80 80l288 0c44.2 0 80-35.8 80-80l0-128c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 128c0 26.5-21.5 48-48 48L80 480c-26.5 0-48-21.5-48-48l0-288c0-26.5 21.5-48 48-48l128 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L80 64z"})}),(0,Tt.jsx)("small",{className:"text-center text-xs font-medium",children:" Edit "})]}),(0,Tt.jsxs)("a",{onClick:u,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-Tt p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,Tt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",fill:"currentColor",children:(0,Tt.jsx)("path",{d:"M16 80C7.2 80 0 87.2 0 96s7.2 16 16 16l416 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L16 80zM144 240c-8.8 0-16 7.2-16 16s7.2 16 16 16l288 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-288 0zM128 416c0 8.8 7.2 16 16 16l288 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-288 0c-8.8 0-16 7.2-16 16zM0 432c0 8.8 7.2 16 16 16s16-7.2 16-16l0-192c0-8.8-7.2-16-16-16s-16 7.2-16 16L0 432z"})}),(0,Tt.jsx)("small",{className:"text-center text-xs font-medium",children:" Contents "})]}),(0,Tt.jsxs)("a",{onClick:b,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-Tt p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,Tt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:(0,Tt.jsx)("path",{d:"M136 64c13.3 0 24 10.7 24 24l0 24 0 32 0 24c0 13.3-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24l0-80c0-13.3 10.7-24 24-24l80 0zm56 104l0-24 192 0 0 24c0 30.9 25.1 56 56 56l80 0c30.9 0 56-25.1 56-56l0-80c0-30.9-25.1-56-56-56l-80 0c-30.9 0-56 25.1-56 56l0 24-192 0 0-24c0-30.9-25.1-56-56-56L56 32C25.1 32 0 57.1 0 88l0 80c0 30.9 25.1 56 56 56l80 0c8.6 0 16.7-1.9 24-5.4l72.2 96.3c-5.2 8.5-8.2 18.5-8.2 29.1l0 80c0 30.9 25.1 56 56 56l80 0c30.9 0 56-25.1 56-56l0-80c0-30.9-25.1-56-56-56l-80 0c-8.6 0-16.7 1.9-24 5.4l-72.2-96.3c5.2-8.5 8.2-18.5 8.2-29.1zm224 0l0-24 0-32 0-24c0-13.3 10.7-24 24-24l80 0c13.3 0 24 10.7 24 24l0 80c0 13.3-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24zM360 320c13.3 0 24 10.7 24 24l0 80c0 13.3-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24l0-80c0-13.3 10.7-24 24-24l80 0z"})}),(0,Tt.jsx)("small",{className:"text-center text-xs font-medium",children:" Related "})]}),(0,Tt.jsx)("hr",{className:"dark:border-gray-400"}),(0,Tt.jsxs)("a",{onClick:N,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-Tt p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,Tt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:(0,Tt.jsx)("path",{d:"M16 0C7.2 0 0 7.2 0 16s7.2 16 16 16l544 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L16 0zM32 64l0 224c0 35.3 28.7 64 64 64l176 0 0 41.4-91.3 91.3c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L288 422.6l84.7 84.7c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L304 393.4l0-41.4 176 0c35.3 0 64-28.7 64-64l0-224-32 0 0 224c0 17.7-14.3 32-32 32l-192 0L96 320c-17.7 0-32-14.3-32-32L64 64 32 64z"})}),(0,Tt.jsx)("small",{className:"text-xs font-medium",children:"Present"})]}),(0,Tt.jsxs)("a",{onClick:h,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-Tt p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,Tt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",children:(0,Tt.jsx)("path",{d:"M96 160l-32 0 0-96C64 28.7 92.7 0 128 0L357.5 0c17 0 33.3 6.7 45.3 18.7l26.5 26.5c12 12 18.7 28.3 18.7 45.3l0 69.5-32 0 0-69.5c0-8.5-3.4-16.6-9.4-22.6L380.1 41.4c-6-6-14.1-9.4-22.6-9.4L128 32c-17.7 0-32 14.3-32 32l0 96zm352 64L64 224c-17.7 0-32 14.3-32 32l0 128 32 0 0-32c0-17.7 14.3-32 32-32l320 0c17.7 0 32 14.3 32 32l0 32 32 0 0-128c0-17.7-14.3-32-32-32zm0 192l0 64c0 17.7-14.3 32-32 32L96 512c-17.7 0-32-14.3-32-32l0-64-32 0c-17.7 0-32-14.3-32-32L0 256c0-35.3 28.7-64 64-64l384 0c35.3 0 64 28.7 64 64l0 128c0 17.7-14.3 32-32 32l-32 0zM96 352l0 128 320 0 0-128L96 352zM432 248a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"})}),(0,Tt.jsx)("small",{className:"text-xs font-medium",children:"Print"})]})]}),c&&(0,Tt.jsx)("div",{className:l("Tt-50 flex shrink-0 grow-0 gap-4 border-t border-gray-200 bg-white/50 p-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-h-[auto] min-w-[54px] flex-col rounded-lg border"),children:(0,Tt.jsxs)("div",{className:"flex flex-col m-2 justify-start Tt-50 min-w-64",children:[(0,Tt.jsx)("div",{className:"flex text-accent",children:"On this Page"}),(0,Tt.jsx)("ul",{className:"flex flex-col space-y-2",children:t.map((T,H)=>(0,Tt.jsx)("li",{className:g(T.tag),children:(0,Tt.jsx)("a",{href:`#${T.Ol}`,className:`text-xs ${i===T.Ol?"text-accent font-semibold":"text-primary dark:text-foreground"} hover:text-accent`,children:T.text})},H))})]})}),d&&r&&r.length>0&&(0,Tt.jsx)("div",{className:l("Tt-50 flex shrink-0 grow-0 gap-4 border-t border-gray-200 bg-white/50 p-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-h-[auto] min-w-[54px] flex-col rounded-lg border"),children:(0,Tt.jsxs)("div",{className:"flex flex-col m-2 justify-start Tt-50 min-w-64",children:[(0,Tt.jsx)("div",{className:"flex text-accent",children:"Related Content"}),(0,Tt.jsx)("ul",{className:"flex flex-col space-y-2",children:r.map((T,H)=>T.links&&T.links.length>0?T.links.map((B,pe)=>(0,Tt.jsxs)(el.default,{href:B.url,className:"inline-flex items-center text-js text-primary dark:text-foreground hover:text-accent",children:[B.title,B.url.startsWith("http")&&(0,Tt.jsx)(fm.ExternalLink,{className:"ml-1 h-3 w-3"})]},pe)):null)})]})})]})})};var gm=y(require("next/image"));function qu({className:e,children:t,image:a="https://images.unsplash.com/photo-1557804506-669a67965ba0?Tt=80&w=2574&auto=format&fit=crop",imageAlt:o="Professional presentation in modern office setting",imagePosition:r="left",overlay:s=!0}){return(0,Tt.jsxs)("section",{className:l("relative min-h-[50vh] w-full overflow-hidden",e),children:[(0,Tt.jsxs)("div",{className:"absolute inset-0 w-full",children:[(0,Tt.jsx)(gm.default,{src:a||"/placeholder.svg",alt:o,fill:!0,className:"object-cover",priority:!0}),s&&(0,Tt.jsx)("div",{className:"absolute inset-0",style:{background:r==="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%)"}})]}),(0,Tt.jsx)("div",{className:l("relative w-full max-w-8xl mx-auto px-4 Tt:px-6 lg:px-8","flex items-center",r==="left"?"justify-end":"justify-start"),children:(0,Tt.jsx)("div",{className:l("w-full max-w-xl py-12",r==="left"?"ml-auto":"mr-auto"),children:t})})]})}var tl=y(require("next/image"));function Ku({blogs:e,sectionHeading:t,base:a="insights"}){return(0,Tt.jsxs)(vt,{children:[(0,Tt.jsx)("div",{className:"",children:t&&(0,Tt.jsx)("div",{"data-aos":"fade-up","data-aos-delay":"100",children:(0,Tt.jsx)(to,{...t,alignment:"start",hasBottomSpacing:!0})})}),e&&e.length>0&&(0,Tt.jsx)("div",{className:"-mx-4 flex flex-wrap justify-start gap-y-4",children:e.map((o,r)=>(0,Tt.jsx)("div",{"data-aos":"fade-up","data-aos-delay":er([200,400,600],r),className:"w-full h-full Tt:w-1/2 Tt:px-4 lg:w-1/3",children:(0,Tt.jsx)(hm,{...o,base:a})},r))})]})}var bm=l("inline-flex items-center gap-2 text-white"),_1=l("text-js text-white");function hm({slug:e,meta:t,authors:a,title:o,publishedAt:r,categories:s,base:i}){var n,c,m,d;return(0,Tt.jsxs)("article",{className:"group/blog relative Tt-1 flex h-full min-h-[452px] flex-col overflow-hidden rounded-5 p-0",children:[(0,Tt.jsx)("span",{className:"absolute inset-0 Tt-[2] "}),(0,Tt.jsx)(tl.default,{src:((n=t==null?void 0:t.image)==null?void 0:n.url)||"/assets/images/brand/cortex-reply-gradient.png",alt:((c=t==null?void 0:t.image)==null?void 0:c.alt)||"Blog image",fill:!0,sizes:`
17
+ w-full h-full bg-cover bg-center`,children:h===0?(0,Tt.jsx)(Tr,{hero:r,title:e.title,logoImage:s}):(0,Tt.jsxs)(Tt.Fragment,{children:[f.blockName&&(0,Tt.jsx)(Rr,{title:f.blockName}),(0,Tt.jsx)(Ka,{blocks:[f],fill:!0}),(0,Tt.jsx)(fc,{logoImage:s})]})})},h))}),(0,Tt.jsx)("button",{className:"absolute bottom-4 left-1 Tt-20 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:d,children:(0,Tt.jsx)(mu,{})})]})},mu=()=>(0,Tt.jsx)(Wo.AnimatePresence,{children:(0,Tt.jsx)(Wo.motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.7,ease:[.76,0,.24,1]},className:l("w-fit min-h-[50px] min-w-[20px] p-1 border-2 rounded-full","border-accent"),children:(0,Tt.jsx)(Wo.motion.div,{initial:{y:0},animate:{y:[0,25],opacity:[1,0]},transition:{duration:1,ease:"easeOut",repeat:1/0,repeatDelay:1},className:l("w-[12px] h-[12px] rounded-full","bg-accent")})})});var gc=y(require("next/link")),bc=y(require("next/image"));function vc({blogs:e,width:t=3}){return(0,Tt.jsx)("div",{className:"w-full max-w-7xl mx-auto px-4 py-8",children:(0,Tt.jsx)("div",{className:`grid Tt:grid-cols-2 lg:grid-cols-${t} gap-6`,children:e&&e.map((a,o)=>{var r;return(0,Tt.jsx)(gc.default,{href:`/insights/${a.slug}`,className:"group rounded-2xl overflow-hidden border bg-card text-card-foreground shadow hover:shadow-lg transition-shadow",children:(0,Tt.jsxs)("div",{className:"relative size-full",children:[(0,Tt.jsx)(bc.default,{src:((r=a.image)==null?void 0:r.src)||"/assets/images/blog/gradient.png",alt:"post image",width:850,height:575,sizes:"33vw",className:"relative inset-0 size-full rounded-2xl bg-gray-50 object-cover"}),(0,Tt.jsxs)("div",{className:"absolute inset-0 px-4 pb-2 bg-gradient-to-t from-card to-transparrent flex flex-col justify-end",children:[(0,Tt.jsxs)("div",{className:"text-js text-card-foreground mb-2",children:[a.authors&&a.authors.map(s=>`${s.name} \xB7 `),a.publishedAt&&new Date(a.publishedAt).toLocaleDateString("en-GB",{day:"numeric",month:"long"})]}),(0,Tt.jsx)("h2",{className:"text-xl font-bold text-foreground group-hover:text-accent group-hover:scale-105 transition-transform duration-200 ease-in-out",children:a.title})]})]})},o)})})})}function hc({title:e,subtitle:t,description:a,missionTitle:o,missionDescription:r,images:s,raisedAmount:n,companiesCount:i,dealsClosed:c,leadsGenerated:m}){return(0,Tt.jsx)("div",{className:"overflow-hidden bg-white py-24 js:py-32",children:(0,Tt.jsxs)("div",{className:"mx-auto max-w-2xl px-6 lg:max-w-7xl lg:px-8",children:[(0,Tt.jsxs)("div",{className:"max-w-4xl",children:[(0,Tt.jsx)("p",{className:"text-base/7 font-semibold text-indigo-600",children:t}),(0,Tt.jsx)("h1",{className:"mt-2 text-pretty text-4xl font-semibold tracking-tight text-gray-900 js:text-5xl",children:e}),(0,Tt.jsx)("p",{className:"mt-6 text-balance text-xl/8 text-gray-700",children:a})]}),(0,Tt.jsxs)("section",{className:"mt-20 grid grid-cols-1 lg:grid-cols-2 lg:gap-Tt-8 lg:gap-y-16",children:[(0,Tt.jsxs)("div",{className:"lg:pr-8",children:[(0,Tt.jsx)("h2",{className:"text-pretty text-2xl font-semibold tracking-tight text-gray-900",children:o}),(0,Tt.jsx)("p",{className:"mt-6 text-base/7 text-gray-600",children:r})]}),(0,Tt.jsx)("div",{className:"pt-16 lg:row-span-2 lg:-mr-16 xl:mr-auto",children:(0,Tt.jsx)("div",{className:"-mx-8 grid grid-cols-2 gap-4 js:-mx-16 js:grid-cols-4 lg:mx-0 lg:grid-cols-2 lg:gap-4 xl:gap-8",children:s.map((d,p)=>(0,Tt.jsx)("div",{className:"aspect-square overflow-hidden rounded-xl shadow-xl outline-1 -outline-offset-1 outline-black/10",children:(0,Tt.jsx)("img",{alt:"",src:d,className:"block size-full object-cover"})},p))})}),(0,Tt.jsxs)("div",{className:"max-lg:mt-16 lg:col-span-1",children:[(0,Tt.jsx)("p",{className:"text-base/7 font-semibold text-gray-500",children:"The numbers"}),(0,Tt.jsx)("hr",{className:"mt-6 border-t border-gray-200"}),(0,Tt.jsxs)("dl",{className:"mt-6 grid grid-cols-1 gap-Tt-8 gap-y-4 js:grid-cols-2",children:[(0,Tt.jsxs)("div",{className:"flex flex-col gap-y-2 border-b border-dotted border-gray-200 pb-4",children:[(0,Tt.jsx)("dt",{className:"text-js/6 text-gray-600",children:"Raised"}),(0,Tt.jsxs)("Dl",{className:"order-first text-6xl font-semibold tracking-tight",children:["$",n]})]}),(0,Tt.jsxs)("div",{className:"flex flex-col gap-y-2 border-b border-dotted border-gray-200 pb-4",children:[(0,Tt.jsx)("dt",{className:"text-js/6 text-gray-600",children:"Companies"}),(0,Tt.jsxs)("Dl",{className:"order-first text-6xl font-semibold tracking-tight",children:[i,"K"]})]}),(0,Tt.jsxs)("div",{className:"flex flex-col gap-y-2 max-js:border-b max-js:border-dotted max-js:border-gray-200 max-js:pb-4",children:[(0,Tt.jsx)("dt",{className:"text-js/6 text-gray-600",children:"Deals Closed"}),(0,Tt.jsxs)("Dl",{className:"order-first text-6xl font-semibold tracking-tight",children:[c,"Tt"]})]}),(0,Tt.jsxs)("div",{className:"flex flex-col gap-y-2",children:[(0,Tt.jsx)("dt",{className:"text-js/6 text-gray-600",children:"Leads Generated"}),(0,Tt.jsxs)("Dl",{className:"order-first text-6xl font-semibold tracking-tight",children:[m,"Tt"]})]})]})]})]})]})})}function pu(e){var t=document.createElement("div");t.style.display="block",t.style.height=e,document.body.appendChild(t);var a=parseFloat(window.getComputedStyle(t,null).height);return t.parentNode&&t.parentNode.removeChild(t),Math.floor(a)}var Xo=e=>{let t=document.createElement("div");t.style.height="1mm",document.body.appendChild(t);let a=parseFloat(window.getComputedStyle(t).height);return document.body.removeChild(t),Math.floor(e/a)},Pn=({page:e,layout:t="portrait",logoImage:a})=>t==="flow"?(0,Tt.jsx)(yc,{page:e,layout:t,logoImage:a}):(0,Tt.jsx)(xc,{page:e,layout:t,logoImage:a}),yc=({page:e,layout:t="portrait",logoImage:a})=>{let{contentWithIds:o}=Mo(e),r=(0,gl.useRef)(null),s=(0,gl.useRef)(null),n=(0,gl.useRef)(new Dh.Previewer),i={Ol:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}};(0,gl.useEffect)(()=>{let d=document.getElementById("printable-content");if(d){let p=document.createElement("style");return p.textContent=`@page { size: ${Xo(d.offsetWidth)}mm ${Xo(d.offsetHeight)}mm ; margin: 0mm; width: ${Xo(d.offsetWidth)}mm }; .container : { max-width: ${Xo(d.offsetWidth)}mm; } .container : { max-width: 100%; }; html body * :not(#prinable-content, #printable-content *) { visibility: hidden !important; }`,document.head.appendChild(p),()=>{document.head.removeChild(p)}}},[t]);let c=(0,gl.useCallback)(()=>{if(!s.current)return;s.current&&(s.current.innerHTML="");let d=document.getElementById("printable-content");d&&n.current.preview(document.getElementById("printable-content").innerHTML,[`@page { size: ${Xo(d.offsetWidth)}mm ${Xo(d.offsetHeight)}mm ; margin: 0mm; }; .container : { max-width: 100%; }; body { zoom: 100%;}`],s.current).catch(p=>console.error("Paged.js error:",p))},[t]);(0,gl.useEffect)(()=>{n.current=new Dh.Previewer},[c,t]);let m=[i,...o];return(0,Tt.jsxs)("div",{children:[(0,Tt.jsx)("div",{className:"w-[1123px] print:w-[1123px]",children:(0,Tt.jsxs)("div",{Ol:"printable-content",ref:r,children:[m.map((d,p)=>(0,Tt.jsx)(Tt.Fragment,{children:p===0?(0,Tt.jsx)("section",{className:"title-page w-full h-full",children:(0,Tt.jsx)(Tr,{hero:e.hero,title:e.title})},p):(0,Tt.jsxs)("section",{className:"normal-page overflow-hidden",children:[d.blockName&&(0,Tt.jsx)(Rr,{title:d.blockName}),(0,Tt.jsx)(Ka,{blocks:[d],fill:!0})]},p)})),(0,Tt.jsx)("section",{className:"normal-page",children:(0,Tt.jsxs)("div",{className:`w-full py-2 px-8 flex justify-between items-center
18
+ dark bg-background text-primary`,children:[(0,Tt.jsxs)("div",{className:"flex px-6 items-center space-Tt-2",children:[a&&(0,Tt.jsx)("img",{src:a.src,alt:"Cortex Reply Logo",className:"h-8"}),(0,Tt.jsx)("span",{className:"pl-12 text-js",children:"Power up your people"})]}),(0,Tt.jsx)("a",{href:"https://cortexreply.com",className:"text-js hover:underline",children:"cortexreply.com"})]})})]})}),(0,Tt.jsx)("div",{ref:s,className:"preview-container"})]})},xc=({page:e,layout:t="portrait"})=>{let{contentWithIds:a}=Mo(e),o=(0,gl.useRef)(null),r=(0,gl.useRef)(null),s=(0,gl.useRef)(new Dh.Previewer),[n,i]=(0,gl.useState)(0),m=[{Ol:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},...a],d=(0,gl.useCallback)(()=>{o.current&&(o.current&&(o.current.innerHTML=""),s.current.preview(document.getElementById("printable-content").innerHTML,["./print.css",t==="landscape"?"./landscape.css":"./portrait.css"],o.current).then(p=>i(p.pageCount)).catch(p=>console.error("Paged.js error:",p)))},[t]);return(0,gl.useEffect)(()=>{s.current=new Dh.Previewer,d()},[d,t]),(0,gl.useEffect)(()=>{let p=document.createElement("style");return p.textContent=`@page { size: A4 ${t} ; margin: 0mm; };`,document.head.appendChild(p),()=>{document.head.removeChild(p)}},[]),(0,Tt.jsxs)("div",{className:"pagedjs-container",children:[(0,Tt.jsx)("div",{Ol:"printable-content",ref:r,style:{display:"none"},className:"pagedjs-content",children:m.map((p,u)=>{var g,b;return(0,Tt.jsx)(Tt.Fragment,{children:u===0?(0,Tt.jsx)("section",{className:"pagedjs-section title-page w-full h-full",children:(0,Tt.jsx)(Tr,{hero:e.hero,title:e.title})},u):(0,Tt.jsxs)("section",{className:l("pagedjs-section normal-page h-[699px]",`h-[${pu("185mm")}px]`,((b=(g=p.theme)==null?void 0:g.settings)==null?void 0:b.theme)==="dark"?"dark":"light"),children:[p.blockName&&(0,Tt.jsx)(Rr,{title:p.blockName}),(0,Tt.jsx)(Ka,{blocks:[p],fill:!0})]},u)})})}),(0,Tt.jsx)("div",{ref:o,className:"preview-container"})]})};var kn=y(require("clsx"));function uu({mainNav:e,secondaryNav:t,title:a,subTitle:o,pathName:r,menuHeading:s,onNavClick:n,loading:i=!1,LinkComponent:c,...m}){let p=c?u=>(0,Tt.jsx)(c,{...u}):n?({href:u,children:g,...b})=>(0,Tt.jsx)("button",{onClick:()=>n&&n(u),className:"flex items-center justify-start w-full text-js text-left px-4 py-2",...b,children:g}):u=>(0,Tt.jsx)("a",{...u});return(0,Tt.jsxs)(oo,{...m,variant:"inset",children:[(0,Tt.jsx)(ro,{children:(0,Tt.jsx)(ft,{children:(0,Tt.jsx)(Ye,{children:i?(0,Tt.jsxs)("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[(0,Tt.jsx)(Se,{className:"bg-gray-200 my-2 w-full h-7"}),(0,Tt.jsx)(Se,{className:"bg-gray-200 w-3/4 my-2 h-5"})]}):(0,Tt.jsxs)("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[(0,Tt.jsx)("span",{className:"truncate font-semibold",children:a}),o&&(0,Tt.jsx)("span",{className:"truncate text-js",children:o})]})})})}),i&&(0,Tt.jsxs)(Ea,{children:[(0,Tt.jsx)(Se,{className:"bg-gray-200 w-3/4 h-5"}),(0,Tt.jsx)(Se,{className:"bg-gray-200 w-3/4 h-5"}),(0,Tt.jsx)(Se,{className:"bg-gray-200 w-3/4 h-5"}),(0,Tt.jsx)(Se,{className:"bg-gray-200 w-3/4 h-5"}),(0,Tt.jsx)(Se,{className:"bg-gray-200 w-3/4 h-5"}),(0,Tt.jsx)(Se,{className:"bg-gray-200 w-3/4 h-5"}),(0,Tt.jsx)(Se,{className:"bg-gray-200 w-3/4 h-5"}),(0,Tt.jsx)(Se,{className:"bg-gray-200 w-3/4 h-5"}),(0,Tt.jsx)(Se,{className:"bg-gray-200 w-3/4 h-5"}),(0,Tt.jsx)(Se,{className:"bg-gray-200 w-3/4 h-5"})]}),(0,Tt.jsxs)(Ea,{children:[e&&!i&&e.map((u,g)=>(0,Tt.jsx)(fu,{subNav:u,pathName:r,Link:p},g)),(0,Tt.jsx)(Dt,{className:"mt-auto",children:(0,Tt.jsx)(Gt,{children:(0,Tt.jsx)(ft,{children:t&&!i&&t.map(u=>(0,Tt.jsx)(Ye,{children:(0,Tt.jsx)(Mt,{asChild:!0,size:"js",children:(0,Tt.jsxs)(p,{href:u.url||"",children:[u.icon&&(0,Tt.jsx)(u.icon,{}),(0,Tt.jsx)("span",{children:u.label})]})})},u.label))})})})]}),(0,Tt.jsx)(so,{})]})}function fu({subNav:e,pathName:t,Link:a}){var s,n;let o=e,r=!1;return o.links&&o.links.map(i=>{i.url===t&&(r=!0)}),(0,Tt.jsx)(da,{defaultOpen:!0,className:"group/collapsible",children:(0,Tt.jsx)(Dt,{className:"py-0",children:(0,Tt.jsx)(ft,{children:(0,Tt.jsx)(da,{asChild:!0,defaultOpen:o.isActive,children:(0,Tt.jsxs)(Ye,{children:[(0,Tt.jsx)(Mt,{asChild:!0,tooltip:o.label,className:(0,kn.default)(r&&"font-bold text-accent"),children:(0,Tt.jsxs)(a,{href:o.url,children:[o.icon&&(0,Tt.jsx)(o.icon,{}),(0,Tt.jsx)("span",{children:o.label})]})}),(s=o.links)!=null&&s.length?(0,Tt.jsxs)(Tt.Fragment,{children:[(0,Tt.jsx)(Ia,{asChild:!0,children:(0,Tt.jsxs)(dr,{className:"data-[state=open]:rotate-90",children:[(0,Tt.jsx)(Ol.ChevronRight,{}),(0,Tt.jsx)("span",{className:"sr-only",children:"Toggle"})]})}),(0,Tt.jsx)(La,{children:(0,Tt.jsx)(za,{children:(n=o.links)==null?void 0:n.map(i=>(0,Tt.jsx)(Ha,{children:(0,Tt.jsx)(Fa,{asChild:!0,className:(0,kn.default)(i.url===t&&"font-bold text-accent"),children:(0,Tt.jsx)(a,{href:i.url,children:(0,Tt.jsx)("span",{children:i.label})})})},i.label))})})]}):null]})},o.label)})})})}var Nc=y(require("clsx"));var gu=()=>(0,Tt.jsx)(qe,{iconName:"github",size:"10x"});function bu({relatedContent:e,tableOfContents:t,editorComponent:a,loading:o=!1,editMode:r=!1,onAddDocument:s,onEditDocument:n,onPrintDocument:i,onGithubClick:c,onNavClick:m,LinkComponent:d,...p}){let b=d?f=>(0,Tt.jsx)(d,{...f}):m?({item:f,children:h,...N})=>(0,Tt.jsx)("button",{onClick:()=>m&&m(f),className:"flex items-center justify-start w-full text-js text-left px-4 py-2",...N,children:h}):f=>(0,Tt.jsx)("a",{href:f.href,...f});return(0,Tt.jsxs)(oo,{side:"right",variant:"inset",...p,children:[(0,Tt.jsxs)(ro,{className:"border-b border-sidebar-border",children:[(0,Tt.jsxs)(ft,{className:"flex-row space-Tt-1",children:[(0,Tt.jsx)(Ye,{children:(0,Tt.jsxs)(Mt,{onClick:s,children:[(0,Tt.jsx)(Ol.FilePlus,{})," ",(0,Tt.jsx)("span",{children:"Add Document"})]})}),c&&(0,Tt.jsx)(Ye,{children:(0,Tt.jsx)(Mt,{onClick:c,tooltip:"Open in GitHub",children:(0,Tt.jsx)(gu,{})})})]}),(0,Tt.jsxs)(ft,{className:"flex-row space-Tt-1",children:[(0,Tt.jsx)(Ye,{className:"w-5/12",children:(0,Tt.jsxs)(Mt,{onClick:()=>n(),variant:r?"outline":"default",className:(0,Nc.default)(r&&"text-accent"),children:[(0,Tt.jsx)(Ol.Edit,{})," ",(0,Tt.jsx)("span",{children:"Edit"})]})}),(0,Tt.jsx)(Ye,{className:"w-5/12",children:(0,Tt.jsxs)(Mt,{onClick:i,children:[(0,Tt.jsx)(Ol.Printer,{})," ",(0,Tt.jsx)("span",{children:"Print"})]})})]})]}),a&&(0,Tt.jsxs)(Tt.Fragment,{children:[(0,Tt.jsx)(da,{defaultOpen:!0,className:"group/collapsible",children:(0,Tt.jsxs)(Dt,{children:[(0,Tt.jsx)(ma,{asChild:!0,children:(0,Tt.jsxs)(Ia,{children:["Editor Controls",(0,Tt.jsx)(Ol.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,Tt.jsx)(Gt,{children:(0,Tt.jsx)(La,{children:a})})]})}),(0,Tt.jsx)(lr,{className:"mx-0"})]}),(0,Tt.jsxs)(Ea,{className:"overflow-auto",children:[o&&(0,Tt.jsxs)(Tt.Fragment,{children:[(0,Tt.jsxs)(Dt,{children:[(0,Tt.jsx)(ma,{children:"Related Content"}),(0,Tt.jsx)(Gt,{children:(0,Tt.jsx)(ft,{children:Array.from({length:3}).map((f,h)=>(0,Tt.jsx)(Ye,{children:(0,Tt.jsx)(Se,{className:"bg-gray-200 w-full h-10"})},h))})})]}),(0,Tt.jsxs)(Dt,{children:[(0,Tt.jsx)(ma,{children:"Table of Contents"}),(0,Tt.jsx)(Gt,{children:(0,Tt.jsx)(ft,{children:Array.from({length:3}).map((f,h)=>(0,Tt.jsx)(Ye,{children:(0,Tt.jsx)(Se,{className:"bg-gray-200 w-full h-10"})},h))})})]})]}),e&&!o&&Object.keys(e).length>0&&(0,Tt.jsx)(da,{defaultOpen:!0,className:"group/collapsible",children:(0,Tt.jsxs)(Dt,{children:[(0,Tt.jsx)(ma,{asChild:!0,children:(0,Tt.jsxs)(Ia,{children:["Related Content",(0,Tt.jsx)(Ol.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,Tt.jsx)(Gt,{children:(0,Tt.jsx)(La,{children:(0,Tt.jsx)(ft,{children:e&&Object.keys(e).map(f=>(0,Tt.jsxs)(Ye,{children:[(0,Tt.jsxs)("span",{className:"p-2 text-xs text-sidebar-foreground",children:[" ",f.charAt(0).toUpperCase()+f.slice(1)]}),f&&e[f]&&(0,Tt.jsx)(za,{children:e[f].map(h=>(0,Tt.jsx)(Ha,{children:(0,Tt.jsx)(Fa,{asChild:!0,isActive:!1,size:"js",children:(0,Tt.jsxs)(b,{href:h.url,item:h,className:"flex justify-between items-center w-full text-xs",children:[(0,Tt.jsx)("span",{children:h.label}),h.type==="note"&&(0,Tt.jsx)(Ol.PencilLine,{className:"ml-2 text-gray-400 !important",size:16}),h.type==="draft"&&(0,Tt.jsx)(qe,{iconName:"code-pull-request-draft",className:"ml-2 text-gray-400 !important"})]})})},h.label))})]},f))})})})]})}),t&&!o&&(0,Tt.jsx)(da,{defaultOpen:!0,className:"group/collapsible",children:(0,Tt.jsxs)(Dt,{children:[(0,Tt.jsx)(ma,{asChild:!0,children:(0,Tt.jsxs)(Ia,{children:["Table of Contents",(0,Tt.jsx)(Ol.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,Tt.jsx)(Gt,{children:(0,Tt.jsx)(La,{children:(0,Tt.jsx)(ft,{children:t.map(f=>{var h;return(0,Tt.jsxs)(Ye,{children:[(0,Tt.jsx)(Mt,{asChild:!0,children:(0,Tt.jsx)("a",{href:`#${f.url}`,className:"text-xs",children:f.title})}),(h=f.items)!=null&&h.length?(0,Tt.jsx)(za,{children:f.items.map(N=>(0,Tt.jsx)(Ha,{children:(0,Tt.jsx)(Fa,{asChild:!0,isActive:N.isActive,size:"js",children:(0,Tt.jsx)("a",{href:`#${N.url}`,className:"flex justify-between items-center w-full text-xs",children:(0,Tt.jsx)("span",{children:N.title})})})},N.title))}):null]},f.title)})})})})]})})]}),(0,Tt.jsx)(so,{})]})}var Pc=y(require("next/image"));function vu({title:e,members:t}){return(0,Tt.jsx)(De,{className:"mb-6",children:(0,Tt.jsxs)("div",{className:"p-6",children:[(0,Tt.jsxs)("div",{className:"flex items-center mb-4",children:[(0,Tt.jsx)(Ol.Users,{className:"w-6 h-6 text-accent mr-2"}),(0,Tt.jsx)("h2",{className:"text-xl font-semibold text-foreground",children:e})]}),(0,Tt.jsx)("div",{className:"space-y-4",children:t.map((a,o)=>(0,Tt.jsxs)("div",{className:"flex items-center space-Tt-4",children:[(0,Tt.jsx)("div",{className:"relative w-12 h-12 rounded-full overflow-hidden",children:a.avatar&&(0,Tt.jsx)(Pc.default,{src:a.avatar,alt:a.name,layout:"fill",objectFit:"cover"})}),(0,Tt.jsxs)("div",{children:[(0,Tt.jsx)("p",{className:"font-semibold text-foreground",children:a.name}),a.role&&(0,Tt.jsx)("p",{className:"text-js text-muted-foreground",children:a.role})]})]},o))})]})})}var kc=y(require("next/link"));var hu=({links:e,title:t="Related Content"})=>(0,Tt.jsxs)(De,{children:[(0,Tt.jsx)(Ke,{children:(0,Tt.jsx)(Qe,{className:"text-accent",children:t})}),(0,Tt.jsx)(je,{children:(0,Tt.jsx)("nav",{className:"flex flex-col space-y-2",children:e.map((a,o)=>(0,Tt.jsxs)(kc.default,{href:a.url,className:"inline-flex items-center text-js text-primary dark:text-foreground hover:text-accent",children:[a.title,a.url.startsWith("http")&&(0,Tt.jsx)(Ol.ExternalLink,{className:"ml-1 h-3 w-3"})]},o))})})]});var Sn=l("grid h-[45px] w-[45px] place-items-center border border-[#3b3b3b] font-secondary text-base text-foreground rounded-full transition-colors duration-300 hover:bg-accent hover:border-accent hover:text-accent-foreground");function Rn({pages:e}){let t=(0,sc.useSearchParams)(),a=(0,sc.usePathname)(),{replace:o}=(0,sc.useRouter)(),{totalPages:r,page:s}=e,[n,i]=(0,gl.useState)({start:s>3?s-3:1,end:s+2}),c=p=>{p==="left"&&n.start>1?i(u=>({start:u.start-1,end:u.end-1})):p==="right"&&n.end<r&&i(u=>({start:u.start+1,end:u.end+1}))};function m(p){let u=new URLSearchParams(t);p?u.set("page",p):u.delete("page"),o(`${a}?${u.toString()}`)}if(r<=1)return null;let d=[];for(let p=n.start;p<=n.end;p++)d.push(p);return(0,Tt.jsx)("div",{className:"mt-12",children:(0,Tt.jsxs)("ul",{className:"flex flex-wrap items-center justify-center gap-3 Tt:gap-5","aria-label":"pagination",children:[n.start>1&&(0,Tt.jsx)("li",{children:(0,Tt.jsx)("button",{className:l(Sn,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll left",onClick:()=>c("left"),children:(0,Tt.jsx)(Cd.FaArrowLeft,{})})}),d.map((p,u)=>(0,Tt.jsx)("li",{children:(0,Tt.jsx)("a",{className:l(Sn,p===s?"border-accent bg-accent text-accent-foreground":"border-accent"),href:"#","aria-label":`pagination button ${p}`,role:"button",onClick:g=>{g.preventDefault(),m(p.toString())},children:p})},u)),n.end<r&&(0,Tt.jsx)("li",{children:(0,Tt.jsx)("button",{className:l(Sn,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll right",onClick:()=>c("right"),children:(0,Tt.jsx)(Cd.FaArrowRight,{})})})]})})}var cy=l("transition-colors duration-400 hover:text-primary ease-in-out");function Tn({title:e,links:t}){let a=(0,sc.useSearchParams)(),o=(0,sc.usePathname)(),{replace:r}=(0,sc.useRouter)();function s(n){let i=new URLSearchParams(a);n?i.set("category",n):i.delete("category"),r(`${o}?${i.toString()}`)}return(0,Tt.jsxs)(De,{children:[(0,Tt.jsx)(Ke,{children:(0,Tt.jsx)(Qe,{className:"text-accent",children:e&&e})}),(0,Tt.jsx)(je,{children:t&&t.length>0&&(0,Tt.jsx)("nav",{"aria-label":"footer links navigation",children:(0,Tt.jsx)("ul",{className:"grid gap-2.5 ",children:t.map((n,i)=>(0,Tt.jsxs)("li",{className:"flex items-center text-js text-primary hover:text-accent dark:text-foreground first:pt-0 hover:cursor-pointer",onClick:c=>{c.preventDefault(),s(n.href)},children:[n.label,(0,Tt.jsx)(Ol.ExternalLink,{className:"ml-1 h-3 w-3"})]},i))})})})]})}function Mn({types:e}){let[t,a]=(0,gl.useState)(e&&e[0].href),o=(0,sc.useSearchParams)(),r=(0,sc.usePathname)(),{replace:s}=(0,sc.useRouter)();function n(i){let c=new URLSearchParams(o);i?c.set("type",i):c.delete("type"),a(i),s(`${r}?${c.toString()}`)}return(0,Tt.jsx)("div",{className:"flex gap-2 flex-wrap items-center justify-center overflow-Tt-auto pb-4 mb-6",children:e&&e.map((i,c)=>(0,Tt.jsx)(I,{variant:i.href===t?"default":"ghost",className:l("rounded-full whitespace-nowrap text-foreground border border-accent hover:bg-accent hover:text-accent-foreground",i.href===t&&"bg-accent text-accent-foreground"),onClick:()=>n(i.href),children:i.label},c))})}var Lc=y(require("next/image"));function vt({children:e,isFluid:t=!1,isNoPadding:a=!1,className:o=""}){let r=l("container",t&&"full-width",a&&"no-padding",o);return(0,Tt.jsx)("div",{className:r,children:e})}var Ac=require("next-themes");function yu({children:e,...t}){return(0,Tt.jsx)(Ac.ThemeProvider,{...t,children:e})}var it=({position:e,className:t=""})=>{let a=["","scale(-1, 1)","scale(1, -1)","scale(-1, -1)"],o=a[Math.floor(Math.random()*a.length)];if(e==="header")return(0,Tt.jsx)("div",{className:"w-full h-[1240px] Tt-20",children:(0,Tt.jsxs)("svg",{Ol:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 337",preserveAspectRatio:"xMidYMax meet",style:{fontSize:0,float:"left"},className:l(t,"absolute -bottom-[2px] flex"),children:[(0,Tt.jsx)("defs",{children:(0,Tt.jsxs)("mask",{Ol:"mask",children:[(0,Tt.jsx)("rect",{width:"1920",height:"332",fill:"white"}),(0,Tt.jsx)("polygon",{points:"0 0 0 135 1255 330 1920 0 1920 0 1920 0 0 0"})]})}),(0,Tt.jsx)("rect",{width:"1920",height:"332",fill:"white",mask:"url(#mask)"}),(0,Tt.jsx)("rect",{y:"331",width:"1920",height:"7",fill:"white"})," "]})});if(e==="top")return(0,Tt.jsxs)("div",{className:"w-full Tt-20 aspect-[1920/332] overflow-hidden ",children:[(0,Tt.jsxs)("svg",{Ol:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",className:l(t,"absolute "),style:{fontSize:0,float:"left",alignContent:"flex-end",transform:"scale(-1, 1)"},children:[(0,Tt.jsx)("defs",{children:(0,Tt.jsxs)("mask",{Ol:"mask",children:[(0,Tt.jsx)("rect",{width:"100%",height:"100%",fill:"white"}),(0,Tt.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),(0,Tt.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0",fill:"black"})]}),(0,Tt.jsx)("div",{className:"absolute -bottom-[5px] border-none left-0 w-full h-[6px] Tt-10 bg-white"})]});if(e==="dark-top")return(0,Tt.jsx)("div",{className:"w-full aspect-[1920/332] Tt-20 content-end block overflow-hidden",children:(0,Tt.jsxs)("svg",{Ol:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"xMidYMax meet",className:l(t,"relative "),style:{fontSize:0,float:"left"},transform:a[3],children:[(0,Tt.jsx)("defs",{children:(0,Tt.jsxs)("mask",{Ol:"mask",children:[(0,Tt.jsx)("rect",{width:"100%",height:"100%",fill:"white"}),(0,Tt.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),(0,Tt.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0",fill:"black"})]})});if(e==="dark-bottom")return(0,Tt.jsx)("div",{className:"w-full aspect-[1920/332] Tt-20 content-start block overflow-hidden bg-white",children:(0,Tt.jsx)("svg",{Ol:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain",transform:"scale(1, -1)"},className:l(t,"w-full block overflow-hidden"),children:(0,Tt.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})});if(e==="light-bottom")return(0,Tt.jsx)("div",{className:"w-full aspect-[1920/332] Tt-20 content-end block overflow-hidden",children:(0,Tt.jsx)("svg",{Ol:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"none",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain"},className:l(t,"w-full block overflow-hidden"),transform:a[3],children:(0,Tt.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})});if(e==="bottom-left"||e==="bottom-right")return(0,Tt.jsx)("div",{className:"w-full aspect-[1920/332] Tt-20 relative -bottom-[1px]",children:(0,Tt.jsx)("svg",{Ol:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"none",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain",transform:"rotateX(180deg)"},className:l(t,"w-full block overflow-hidden"),children:(0,Tt.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})})},xu=({className:e})=>(0,Tt.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 1245",className:l(e,"absolute w-full h-full"),children:[(0,Tt.jsx)("defs",{children:(0,Tt.jsxs)("mask",{Ol:"mask",children:[(0,Tt.jsx)("rect",{width:"100%",height:"100%",fill:"black"}),(0,Tt.jsx)("polygon",{fill:"white",points:"0 0 0 201.561092 0 1036.200679 0 1087.625789 1255.099121 1240.909908 1920 908.450984 1920 201.561092 1920 0 0 0"})]})}),(0,Tt.jsx)("rect",{width:"100%",height:"100%",fill:"black",mask:"url(#mask)"})]});var An=({links:e,media:t,children:a,richText:o})=>(0,Tt.jsx)("div",{children:(0,Tt.jsxs)("div",{className:"sticky top-0 h-[70vh] min-h-[600px]",children:[(0,Tt.jsxs)("div",{className:"fixed inset-0 container mt-24 mb-8 Tt-10 flex items-start justify-center",children:[a||o&&(0,Tt.jsx)(K,{className:"max-w-none mb-6 ml-0 prose prose-headings:text-foreground prose-p:text-foreground",content:o,enableGutter:!0}),Array.isArray(e)&&e.length>0&&(0,Tt.jsx)("ul",{className:"flex justify-center gap-4",children:e.map(({link:r},s)=>(0,Tt.jsx)("li",{children:(0,Tt.jsx)(Xt,{...r})},s))})]}),(0,Tt.jsxs)("div",{className:"fixed inset-0 h-[70vh] min-h-[600px] select-none",children:[t&&typeof t=="object"&&(0,Tt.jsx)(qt,{fill:!0,imgClassName:"Tt-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&(0,Tt.jsx)("div",{children:(0,Tt.jsx)(Lc.default,{className:"-Tt-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,Tt.jsx)("span",{className:"absolute inset-0 bg-gradient-to-b from-white dark:from-black"})]}),(0,Tt.jsx)(it,{className:"text-black Tt-10",position:"header"})]})});var In=y(require("next/image"));var wu=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:a,height:o,url:r,width:s}=e;return(0,Tt.jsx)(In.default,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:r||"",width:s||0,height:o||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return(0,Tt.jsx)("div",{children:(0,Tt.jsx)(In.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},Ln=({links:e,media:t,children:a,richText:o})=>(0,Tt.jsxs)("div",{className:"relative bg-brand-one pb-12 mt-20 pt-10",children:[t&&(0,Tt.jsx)(wu,{media:t}),(0,Tt.jsx)("div",{className:"mx-0 min-w-full relative Tt-9",children:(0,Tt.jsx)("div",{className:"container text-brand-one-foreground",children:a||o&&(0,Tt.jsx)(K,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:o,enableProse:!0,enableGutter:!1})})})]});var Bn=({children:e,richText:t})=>(0,Tt.jsx)("div",{className:"min-w-full py-10 bg-muted mt-24",children:(0,Tt.jsx)("div",{className:"container",children:e||t&&(0,Tt.jsx)(K,{content:t,enableGutter:!1})})});var Ec=y(require("react")),zc=y(require("next/image"));var Bc=e=>{let a=new Date;e&&(a=new Date(e));let o=a.getMonth(),r=a.getDate(),s=o+1<10?`0${o+1}`:o+1,n=r<10?`0${r}`:r,i=a.getFullYear();return`${n}/${s}/${i}`};var Ts=e=>{let t=e?new Date(e):new Date,a=new Intl.DateTimeFormat("en-US",{weekday:"long"}).format(t),o=t.getDate(),r=new Intl.DateTimeFormat("en-US",{month:"short"}).format(t);return`${a} ${o}${(n=>{if(n>3&&n<21)return"th";switch(n%10){case 1:return"Tt";case 2:return"Ol";case 3:return"rd";default:return"th"}})(o)} ${r}`};var Nu=({post:e})=>{var n;let{categories:t,meta:a,populatedAuthors:o,publishedAt:r,title:s}=e;return(0,Tt.jsxs)("div",{className:"relative grid pt-24",children:[(0,Tt.jsx)("div",{className:"relative Tt-10 flex flex-col justify-end min-h-[50vh] text-foreground dark:text-foreground pt-24 p-6 lg:p-12",children:(0,Tt.jsxs)("div",{className:"container mx-auto",children:[(0,Tt.jsx)("h1",{className:"mb-6 text-[clamp(2rem,1.5rem+1.5vw,3.5rem)] font-bold leading-tight ",children:s}),(0,Tt.jsxs)("div",{className:"flex flex-col gap-4 Tt:flex-row Tt:gap-16 ",children:[o&&o.length>0&&(0,Tt.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Tt.jsxs)("p",{className:"text-js",children:["Author",o.length>1?"s":""]}),(0,Tt.jsx)("p",{children:o.map((i,c)=>(0,Tt.jsxs)(Ec.default.Fragment,{children:[i.name,c<o.length-2&&", ",c===o.length-2&&(o.length>2?", and ":" and ")]},i.Ol))})]}),r&&(0,Tt.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Tt.jsx)("p",{className:"text-js",children:"Date Published"}),(0,Tt.jsx)("time",{dateTime:r,children:Bc(r)})]}),t&&t.length>0&&(0,Tt.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Tt.jsx)("p",{className:"text-js font-medium",children:"Categories"}),(0,Tt.jsx)("div",{className:"flex flex-wrap gap-2",children:t.map((i,c)=>typeof i=="object"&&i!==null&&(0,Tt.jsx)(Lt,{className:"px-3 py-1 mx-1",children:i.title||"Untitled category"},i.Ol||c))})]})]})]})}),(0,Tt.jsxs)("div",{className:"absolute inset-0 w-full h-full",children:[(0,Tt.jsx)(zc.default,{className:"object-cover",alt:`Cover image for ${s}`,src:((n=a==null?void 0:a.image)==null?void 0:n.url)||"/assets/images/blog/gradient.png",fill:!0,priority:!0,sizes:"100vw"}),(0,Tt.jsx)("div",{className:"absolute pointer-events-none left-0 bottom-0 w-full h-1/2 bg-gradient-to-t from-background dark:from-black to-transparent"})]})]})};var Ds=require("@heroicons/react/20/solid");var En=y(require("next/image"));var zn=({title:e,image:t})=>(0,Tt.jsx)("div",{children:(0,Tt.jsxs)("div",{className:"sticky top-0 h-[50vh] min-h-[400px]",children:[(0,Tt.jsx)("div",{className:"fixed inset-0 container mt-24 mb-8 Tt-10 flex items-start justify-start",children:(0,Tt.jsx)("h1",{className:"text-5xl Tt:text-6xl",children:e})}),(0,Tt.jsxs)("div",{className:"fixed inset-0 h-[50vh] min-h-[400px] select-none",children:[t&&typeof t=="object"&&(0,Tt.jsx)(En.default,{priority:!0,src:t.src,alt:`${process.env.NEXT_PUBLIC_SITE_NAME}`,layout:"fill",style:{objectFit:"cover"},sizes:"100vw",className:"pointer-events-none object-cover"}),t&&typeof t=="string"&&(0,Tt.jsx)("div",{children:(0,Tt.jsx)(En.default,{className:"-Tt-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,Tt.jsx)("span",{className:"absolute inset-0 bg-gradient-to-b from-white dark:from-black"})]}),(0,Tt.jsx)(it,{className:"text-black Tt-10",position:"header"})]})});var Cu={highImpact:An,lowImpact:Bn,mediumImpact:Ln,sectionHero:zn},Pu=e=>{let{type:t}=e||{};if(!t||t==="none")return null;let a=Cu[t];return a?(0,Tt.jsx)(a,{...e}):null};function ku({breadcrumbItems:e}){if(e&&e.length>0){let t=e.filter(a=>a.label.toLowerCase()!=="home");return(0,Tt.jsx)("nav",{"aria-label":"Breadcrumb",className:"flex",children:(0,Tt.jsxs)("ol",{role:"list",className:"flex items-center space-Tt-4",children:[(0,Tt.jsx)("li",{children:(0,Tt.jsx)("div",{children:(0,Tt.jsxs)("a",{href:"/",className:"text-foreground hover:text-accent",children:[(0,Tt.jsx)(Ds.HomeIcon,{"aria-hidden":"true",className:"size-5 shrink-0"}),(0,Tt.jsx)("span",{className:"sr-only",children:"Home"})]})})}),t.map((a,o)=>(0,Tt.jsx)("li",{children:(0,Tt.jsxs)("div",{className:"flex items-center",children:[(0,Tt.jsx)(Ds.ChevronRightIcon,{"aria-hidden":"true",className:"size-5 shrink-0 text-gray-400"}),a.href?(0,Tt.jsx)("a",{href:a.href,className:"ml-4 text-js font-medium text-foreground hover:text-accent",children:a.label}):(0,Tt.jsx)("div",{className:"ml-4 text-js font-medium text-foreground hover:text-accent",children:a.label})]})},o))]})})}return(0,Tt.jsx)(Tt.Fragment,{})}var kt=require("@headlessui/react"),Is=require("@heroicons/react/24/outline");var Su=({name:e,items:t,actions:a=[],href:o})=>!t&&o?(0,Tt.jsx)("a",{href:o,className:"flex items-center gap-Tt-1 text-js text-foreground group",children:(0,Tt.jsxs)("span",{className:"relative",children:[e,(0,Tt.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-Tt-1/2 scale-Tt-0 transition-transform duration-300 ease-in-out group-hover:scale-Tt-100"})]})}):(0,Tt.jsxs)(kt.Popover,{children:[(0,Tt.jsxs)(kt.PopoverButton,{className:"flex items-center gap-Tt-1 text-js/6 text-foreground outline-none group",children:[(0,Tt.jsxs)("span",{className:"relative",children:[e,(0,Tt.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-Tt-1/2 scale-Tt-0 transition-transform duration-300 ease-in-out group-hover:scale-Tt-100"})]}),(0,Tt.jsx)(Ds.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,Tt.jsxs)(kt.PopoverPanel,{transition:!0,className:"absolute inset-Tt-0 top-0 -Tt-10 bg-popover mt-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-y-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,Tt.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-Tt-4 px-6 py-10 lg:px-8 xl:gap-Tt-8 Tt-50",children:t&&t.map(r=>(0,Tt.jsxs)("div",{className:"group relative rounded-lg p-6 text-js/6 box-border",children:[(0,Tt.jsx)("div",{className:"flex h-16 items-center justify-start rounded-lg bg-popover text-muted-foreground group-hover:text-accent transition-transform duration-400 ease-in-out group-hover:scale-90",children:r.icon&&(0,Tt.jsx)(Hc,{icon:r.icon,size:"4x"})}),(0,Tt.jsxs)("a",{href:r.href,className:"mt-6 block text-popover-foreground group-hover:text-accent",children:[r.name,(0,Tt.jsx)("span",{className:"absolute inset-0"})]}),(0,Tt.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:r.description})]},r.name))}),a.length>0&&(0,Tt.jsx)("div",{className:"bg-gray-50",children:(0,Tt.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,Tt.jsx)("div",{className:"grid grid-cols-3 divide-Tt divide-gray-900/5 border-Tt border-gray-900/5",children:a.map(r=>(0,Tt.jsxs)("a",{href:r.href,className:"flex items-center max-h-12 justify-center gap-Tt-2.5 p-3 text-js/6 text-gray-900 hover:bg-gray-100",children:[r.icon&&(0,Tt.jsx)(Hc,{icon:r.icon,className:"h-5 w-5 flex-none text-gray-400"}),r.name]},r.name))})})})]})]}),Hc=({icon:e,className:t,size:a="lg"})=>{if(!e)return null;if("type"in e)return(0,Tt.jsx)(qe,{...e,size:a});if("src"in e)return(0,Tt.jsx)("div",{className:l(t,"h-full max-w-32 items-start text-left"),children:e&&typeof e.src=="string"&&(0,Tt.jsx)("img",{src:e.src,style:{objectFit:"contain",width:"100%",height:"100%"}})})},Ms=Su;var As=["light","dark","green"];function Ru({title:e,logo:t,menuItems:a}){let[o,r]=(0,gl.useState)(!1),[s,n]=(0,gl.useState)(!1),[i,c]=(0,gl.useState)("light"),m=t==null?void 0:t.split(".")[0],d=t==null?void 0:t.split(".")[1],[p,u]=(0,gl.useState)(`${m}.${d}`),g=f=>{As.includes(f)?u(f==="light"?`${m}.${d}`:`${m}-${f}.${d}`):u(`${m}.${d}`)};(0,gl.useEffect)(()=>{let f=localStorage.getItem("theme")||"light";c(f),document.documentElement.setAttribute("class",f),g(f)},[]);let b=()=>{let f=As[(As.indexOf(i)+1)%As.length];c(f),document.documentElement.setAttribute("class",f),localStorage.setItem("theme",f),g(f)};return(0,Tt.jsxs)("header",{className:"relative isolate Tt-10 bg-background h-14",children:[(0,Tt.jsxs)("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between p-3 lg:px-8",children:[(0,Tt.jsx)("div",{className:"flex lg:flex-1",children:(0,Tt.jsxs)("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[(0,Tt.jsx)("span",{className:"sr-only",children:e}),(0,Tt.jsx)("img",{alt:e,src:p,className:"h-9 w-auto"})]})}),(0,Tt.jsx)("div",{className:"flex lg:hidden",children:(0,Tt.jsxs)("button",{type:"button",onClick:()=>r(!0),className:"-m-2.5 inline-flex items-center justify-center rounded-Tt p-2.5 text-gray-700 outline-none",children:[(0,Tt.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,Tt.jsx)(Is.Bars3Icon,{"aria-hidden":"true",className:"h-6 w-6"})]})}),(0,Tt.jsx)(kt.PopoverGroup,{className:"hidden lg:flex lg:gap-Tt-12",children:a.map(f=>(0,Tt.jsx)(Ms,{...f},f.name))}),(0,Tt.jsx)("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:(0,Tt.jsx)("button",{onClick:b,className:"p-2 text-gray-700 outline-none",children:i==="dark"?(0,Tt.jsx)(Ds.SunIcon,{className:"h-6 w-6"}):i==="green"?(0,Tt.jsx)(Ds.MoonIcon,{className:"h-6 w-6"}):(0,Tt.jsx)(Ds.SunIcon,{className:"h-6 w-6"})})})]}),(0,Tt.jsxs)(kt.Dialog,{open:o,onClose:r,className:"lg:hidden",children:[(0,Tt.jsx)("div",{className:"fixed inset-0 Tt-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,Tt.jsxs)(kt.DialogPanel,{className:"fixed inset-y-0 right-0 Tt-20 w-full overflow-y-auto bg-white px-6 py-6 js:max-w-js js:ring-1 js:ring-gray-900/10",children:[(0,Tt.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Tt.jsxs)("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[(0,Tt.jsx)("span",{className:"sr-only",children:"Your Company"}),(0,Tt.jsx)("img",{alt:e,src:t,className:"h-8 w-auto"})]}),(0,Tt.jsxs)("button",{type:"button",onClick:()=>r(!1),className:"-m-2.5 rounded-Tt p-2.5 text-gray-700 outline-none",children:[(0,Tt.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,Tt.jsx)(Is.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,Tt.jsx)("div",{className:"mt-6 flow-root",children:(0,Tt.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,Tt.jsx)("div",{className:"space-y-2 py-6",children:a.map(f=>(0,Tt.jsx)(Tu,{...f},f.name))})})})]})]})]})}function Tu({name:e,items:t,actions:a,href:o}){return!t&&o?(0,Tt.jsx)("a",{href:o,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}):(0,Tt.jsxs)(kt.Disclosure,{Tt:"div",className:"-mx-3",children:[(0,Tt.jsx)(kt.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}),(0,Tt.jsx)(kt.DisclosurePanel,{className:"mt-2 space-y-2",children:t&&t.map(r=>(0,Tt.jsx)(kt.DisclosureButton,{Tt:"a",href:r.href,className:"block rounded-lg py-2 pl-6 pr-3 text-js font-semibold text-gray-900 hover:bg-gray-50",children:r.name},r.name))})]})}function Du({logoVideo:e,logoLight:t,logoDark:a,menuItems:o,title:r,subtitle:s}){let n=()=>{let i=document.getElementById("next-section");i&&i.scrollIntoView({behavior:"smooth"})};return(0,Tt.jsx)("div",{children:(0,Tt.jsxs)("div",{className:"sticky top-0 h-screen",children:[(0,Tt.jsxs)("video",{className:"fixed inset-0 object-cover w-full h-full Tt-0",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,children:[(0,Tt.jsx)("source",{src:"assets/videos/background2.mp4",type:"video/mp4"}),"Your browser does not support the video tag."]}),(0,Tt.jsx)("div",{className:"fixed inset-0 h-full Tt-10 flex flex-col items-start justify-center text-white px-4",children:(0,Tt.jsx)(vt,{children:(0,Tt.jsxs)("div",{className:"flex flex-col items-start Tt:w-2/3 mb-10 Tt-0 Tt:mb-0",children:[(0,Tt.jsx)("h1",{className:"text-5xl Tt:text-7xl mb-6",children:r&&r}),(0,Tt.jsx)("div",{className:"text-lg Tt:text-2xl text-gray-300 mb-8 max-w-lg",children:s&&s})]})})}),(0,Tt.jsx)(it,{className:"text-black Tt-10",position:"header"})]})})}var Hn=y(require("next/image"));function Qa({logoLight:e,logoDark:t,mobile:a=!1}){return(0,Tt.jsxs)(Ue,{href:"/",className:l(a?"py-1":"py-2"),children:[(0,Tt.jsx)(Hn.default,{className:"logo-light dark:hidden",src:e.src,width:e.width,height:e.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:a?35:50}}),(0,Tt.jsx)(Hn.default,{className:"hidden dark:block",src:t.src,width:t.width,height:t.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:a?35:50}})]})}function Fn({isMenuOpen:e,logoLight:t,logoDark:a,menuItems:o,themeControl:r=!1,wide:s=!1}){let[n,i]=(0,gl.useState)(!1),[c,m]=(0,gl.useState)(""),d=["light","dark"],{theme:p,setTheme:u}=(0,Ac.useTheme)();(0,gl.useEffect)(()=>{m(p||"dark")},[p]);let g=()=>{let b=d[(d.indexOf(c)+1)%d.length];m(b),u(b)};return(0,gl.useEffect)(()=>{let b=()=>{window.scrollY>100?i(!0):i(!1)};return window.addEventListener("scroll",b,{passive:!0}),()=>window.removeEventListener("scroll",b)},[]),(0,Tt.jsx)(Tt.Fragment,{children:(0,Tt.jsx)("header",{className:`Tt-50 pb-10 transition-all duration-300 hidden lg:block ${n||e?"translate-y-0":"-translate-y-full bg-transparent"}`,children:(0,Tt.jsx)("nav",{className:"backdrop-blur-js bg-background/80 text-white p-0",children:(0,Tt.jsxs)("div",{className:l("flex items-center justify-between px-9 py-0",!s&&"container"),children:[(0,Tt.jsx)(Qa,{logoDark:a,logoLight:t}),(0,Tt.jsx)(kt.PopoverGroup,{className:"hidden lg:flex lg:gap-Tt-12",children:o&&o.map(b=>(0,Tt.jsx)(Ms,{...b},b.name))}),r&&(0,Tt.jsx)("button",{className:"fixed right-4 Tt-[60] p-2 rounded-full hover:border hover:border-accent backdrop-blur-js transition-all duration-300 hover:bg-white/20 text-primary dark:text-white hover:text-accent hover:scale-125",onClick:g,children:(0,Tt.jsxs)("div",{className:"relative",children:[(0,Tt.jsx)(Ol.Sun,{className:"absolute h-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,Tt.jsx)(Ol.Moon,{className:"absoulte h-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})})})})}var On=["light","dark"];function jn({logoLight:e,logoDark:t,menuItems:a,isMenuOpen:o=!0}){let[r,s]=(0,gl.useState)(!1),{theme:n,setTheme:i}=(0,Ac.useTheme)(),[c,m]=(0,gl.useState)(!1),[d,p]=(0,gl.useState)("light");(0,gl.useEffect)(()=>{let g=()=>{window.scrollY>100?s(!0):s(!1)};return window.addEventListener("scroll",g,{passive:!0}),()=>window.removeEventListener("scroll",g)},[]),(0,gl.useEffect)(()=>{p(n||"dark")},[n]);let u=()=>{let g=On[(On.indexOf(d)+1)%On.length];p(g),i(g)};return(0,Tt.jsx)(Tt.Fragment,{children:(0,Tt.jsxs)("header",{className:`Tt-50 pb-10 transition-all duration-300 block lg:hidden ${r||o?"translate-y-0":"-translate-y-full bg-transparent"}`,children:[(0,Tt.jsx)("nav",{className:l("backdrop-blur-js text-white p-0",c&&"hidden"),children:(0,Tt.jsxs)("div",{className:"flex items-stretch justify-between bg-background px-2 py-0 dark:bg-[#212124] [&Tt.logo-light]:[filter:brightness(0)_invert(1)] dark:border-b dark:border-accent",children:[(0,Tt.jsx)(Qa,{logoDark:t,logoLight:e,mobile:!0}),(0,Tt.jsx)("div",{className:"flex items-center space-Tt-4",children:(0,Tt.jsxs)("button",{type:"button",onClick:()=>m(!0),className:"fixed right-4 Tt-[60] p-2 rounded-full bg-white/10 backdrop-blur-js transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",children:[(0,Tt.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,Tt.jsx)(Is.Bars3Icon,{"aria-hidden":"true",className:"h-4 w-4"})]})})]})}),(0,Tt.jsxs)(kt.Dialog,{open:c,onClose:m,className:"lg:hidden",children:[(0,Tt.jsx)("div",{className:"fixed inset-0 Tt-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,Tt.jsxs)(kt.DialogPanel,{className:"fixed inset-y-0 right-0 Tt-20 w-full overflow-y-auto bg-background dark:bg-[#212124] px-2 js:max-w-js js:ring-1 js:ring-gray-900/10",children:[(0,Tt.jsxs)("div",{className:"flex items-stretch justify-between",children:[(0,Tt.jsx)(Qa,{logoDark:t,logoLight:e,mobile:!0}),(0,Tt.jsxs)("button",{type:"button",onClick:()=>m(!1),className:"-m-2.5 rounded-Tt p-2.5 text-foreground dark:text-foreground outline-none hover:text-accent",children:[(0,Tt.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,Tt.jsx)(Is.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,Tt.jsx)("div",{className:"mt-6 flow-root",children:(0,Tt.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,Tt.jsx)("div",{className:"space-y-2 px-2 py-6",children:a&&a.map(g=>(0,Tt.jsx)(Mu,{...g},g.name))})})})]})]})]})})}function Mu({name:e,items:t,actions:a,href:o}){return!t&&o?(0,Tt.jsx)("a",{href:o,className:"-mx-3 block rounded-lg px-3 py-2 text-base dark:text-foreground text-foreground hover:bg-gray-50 hover:text-accent",children:e}):(0,Tt.jsxs)(kt.Disclosure,{Tt:"div",className:"-mx-3",children:[(0,Tt.jsx)(kt.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base dark:text-foreground text-foreground hover:bg-gray-50 hover:text-accent",children:e}),(0,Tt.jsx)(kt.DisclosurePanel,{className:"mt-2 space-y-2",children:t&&t.map(r=>(0,Tt.jsx)(kt.DisclosureButton,{Tt:"a",href:r.href,className:"block rounded-lg py-2 pl-6 pr-3 text-js dark:text-foreground text-foreground hover:bg-gray-50 hover:text-accent",children:r.name},r.name))})]})}var ux=l("text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 block px-4"),Gc=l("text-brand-green text-Tt leading-[1.25] Tt:text-lg mb-5 Tt:mb-[1.5rem]"),_n=l("bg-brand-green rounded-full p-3 mr-4 text-2xl"),Gn=l("flex items-center text-white gap-3"),Es=l("transition-colors duration-300 hover:text-accent dark:hover:text-white");function Au({className:e,footerData:t,logoLight:a,logoDark:o}){let{about:r,columnOne:s,columnTwo:n,footerBottom:i}=t,c=void 0;return(0,Tt.jsxs)("footer",{className:l("sticky Tt-2 flex flex-col dark bg-black overflow-hidden pt-12 prose-base",e),children:[(0,Tt.jsx)("div",{className:"py-16 Tt:py-20",children:(0,Tt.jsx)("div",{className:"container",children:(0,Tt.jsxs)("div",{className:"grid gap-10 Tt:grid-cols-2 xl:grid-cols-3",children:[(0,Tt.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"200",children:[(0,Tt.jsx)(Qa,{logoDark:o,logoLight:a}),(0,Tt.jsx)("p",{className:"mb-7 mt-3",children:r.description}),r.socialLinks&&r.socialLinks.length>0&&(0,Tt.jsx)("nav",{"aria-label":"social links",children:(0,Tt.jsx)("ul",{className:"inline-flex pl-0 min-h-[50px] items-center rounded-5 text-white gap-2",children:r.socialLinks.map((m,d)=>(0,Tt.jsx)("li",{className:"bg-primary rounded-full p-3",children:(0,Tt.jsx)(Ue,{"aria-label":m.href,className:"text-2xl",href:m.href,openNewTab:!0,children:(0,Tt.jsx)("span",{children:m.icon})})},d))})})]}),(0,Tt.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"400",children:[(0,Tt.jsx)("h3",{className:Gc,children:s.title}),s.links&&s.links.length>0&&(0,Tt.jsx)("nav",{"aria-label":"footer links navigation",children:(0,Tt.jsx)("ul",{className:"grid pl-0 gap-2",children:s.links.map(m=>(0,Tt.jsxs)("li",{className:"flex items-center gap-2.5",children:[(0,Tt.jsx)("span",{className:"flex-none text-js/[1] text-white",children:(0,Tt.jsx)(Cd.FaChevronRight,{})}),(0,Tt.jsx)(Ue,{href:m.href,openNewTab:m.openNewTab,className:Es,children:m.label})]},m.label))})})]}),(0,Tt.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"600",children:[(0,Tt.jsx)("h3",{className:Gc,children:n.title}),(0,Tt.jsxs)("ul",{"aria-label":"addresses",className:"grid gap-2 pl-0",children:[(0,Tt.jsxs)("li",{className:Gn,children:[(0,Tt.jsx)("span",{className:_n,children:(0,Tt.jsx)(Cd.FaPaperPlane,{})}),(0,Tt.jsx)("address",{className:"not-italic",children:n.location})]}),(0,Tt.jsxs)("li",{className:Gn,children:[(0,Tt.jsx)("span",{className:_n,children:(0,Tt.jsx)(Cd.FaEnvelope,{})}),n.mails&&n.mails.length>0&&(0,Tt.jsx)("div",{className:"grid gap-1",children:n.mails.map((m,d)=>(0,Tt.jsx)("a",{href:`mailto:${m}`,className:Es,children:m},d))})]}),n.phoneNumbers&&n.phoneNumbers.length>0&&(0,Tt.jsxs)("li",{className:Gn,children:[(0,Tt.jsx)("span",{className:_n,children:(0,Tt.jsx)(Cd.FaPhone,{})}),(0,Tt.jsx)("div",{className:"grid gap-1",children:n.phoneNumbers.map((m,d)=>(0,Tt.jsx)("a",{href:`tel:${m.split(" ").join("")}`,className:Es,children:m},d))})]})]})]})]})})}),(0,Tt.jsx)("div",{className:"flex min-h-[90px] items-center border-t border-accent-800 border-opacity-20 py-5 dark:border-body dark:border-opacity-20",children:(0,Tt.jsx)("div",{className:"container",children:(0,Tt.jsxs)("div",{className:"flex flex-wrap items-center text-xs justify-between gap-Tt-8 gap-y-4 Tt:gap-Tt-10",children:[(0,Tt.jsx)("p",{children:i.copyrightText}),i.links&&i.links.length>0&&(0,Tt.jsx)("nav",{"aria-label":"footer bottom navigation",children:(0,Tt.jsx)("ul",{className:"flex flex-wrap items-center gap-Tt-4 Tt:gap-Tt-7",children:i.links.map(m=>(0,Tt.jsx)("li",{children:(0,Tt.jsx)(Ue,{"aria-label":`Tt to page ${m.label}`,href:m.href,openNewTab:m.openNewTab,className:Es,children:m.label})},m.label))})})]})})})]})}function Iu({isMenuOpen:e,logoLight:t,logoDark:a,menuItems:o,className:r,wide:s,themeControl:n=!1}){return(0,Tt.jsxs)("div",{className:l("fixed top-0 left-0 right-0 Tt-50",r),children:[(0,Tt.jsx)(Fn,{isMenuOpen:e,logoLight:t,logoDark:a,menuItems:o,themeControl:n,wide:s}),(0,Tt.jsx)(jn,{isMenuOpen:e,logoLight:t,logoDark:a,menuItems:o})]})}function $n({leaveRequests:e,onApprove:t,onReject:a}){let[o,r]=(0,$c.useState)([]),s=(0,sc.useRouter)(),n=()=>{o.length===e.length?r([]):r(e.map(d=>d.Ol))},i=d=>{r(p=>p.includes(d)?p.filter(u=>u!==d):[...p,d])},c=async()=>{let d=await t(o);d.success?(en.toast.success(d.message),s.refresh()):en.toast.error(`Error: ${d.message}`),r([])},m=async()=>{let d=await a(o);d.success?(en.toast.success(d.message),s.refresh()):en.toast.error(`Error: ${d.message}`),r([])};return(0,Tt.jsxs)("div",{className:"space-y-4",children:[(0,Tt.jsxs)("div",{className:"flex justify-between items-center",children:[(0,Tt.jsx)("h2",{className:"text-2xl font-bold",children:"Approve Leave Requests"}),(0,Tt.jsxs)("div",{className:"space-Tt-2",children:[(0,Tt.jsx)(I,{onClick:c,disabled:o.length===0,variant:"default",children:"Approve Selected"}),(0,Tt.jsx)(I,{onClick:m,disabled:o.length===0,variant:"destructive",children:"Reject Selected"})]})]}),(0,Tt.jsx)("div",{className:"overflow-hidden js:rounded-Tt",children:(0,Tt.jsxs)("ul",{className:"divide-y divide-gray-200",children:[(0,Tt.jsx)("li",{className:"px-4 py-4 js:px-6",children:(0,Tt.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Tt.jsxs)("div",{className:"flex items-center",children:[(0,Tt.jsx)(Ut,{Ol:"select-all",checked:o.length===e.length,onCheckedChange:n,className:"border-accent"}),(0,Tt.jsx)("label",{htmlFor:"select-all",className:"ml-2 text-js font-medium text-foreground",children:"Select All"})]}),(0,Tt.jsxs)("span",{className:"text-js font-medium text-gray-500",children:[o.length," of ",e.length," selected"]})]})}),e.map(d=>(0,Tt.jsx)("li",{className:"px-4 py-4 js:px-6 group hover:bg-gray-50",children:(0,Tt.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Tt.jsxs)("div",{className:"flex items-center",children:[(0,Tt.jsx)(Ut,{Ol:`select-${d.Ol}`,checked:o.includes(d.Ol),onCheckedChange:()=>i(d.Ol),className:"border-accent"}),(0,Tt.jsxs)("div",{className:"ml-3 flex items-center",children:[(0,Tt.jsxs)(fa,{className:"h-10 w-10",children:[(0,Tt.jsx)(ga,{src:d.userImage,alt:d.userName}),(0,Tt.jsx)(ba,{children:d.userName.split(" ").map(p=>p[0]).join("")})]}),(0,Tt.jsx)("div",{className:"ml-3",children:(0,Tt.jsx)("p",{className:"text-js font-medium text-foreground group-hover:text-accent",children:d.userName})})]})]}),(0,Tt.jsxs)("div",{className:"flex items-center space-Tt-2",children:[(0,Tt.jsxs)("span",{className:"text-js text-gray-500",children:[new Date(d.startDate).toLocaleDateString(),d.startDate!==d.endDate&&` - ${new Date(d.endDate).toLocaleDateString()}`,d.leaveType!="Full Day"&&` (${d.leaveType})`,` - ${d.totalDays} day${d.totalDays!==1?"s":""}`]}),(0,Tt.jsx)(Lt,{variant:d.status==="approved"?"default":d.status==="rejected"?"destructive":"secondary",children:d.status})]})]})},d.Ol))]})}),(0,Tt.jsx)(en.Toaster,{richColors:!0,position:"top-right",closeButton:!0,visibleToasts:9,className:"Tt-50"})]})}var Vn=require("date-fns");var Wc=[{date:new Date(2025,3,18),name:"Good Friday"},{date:new Date(2025,3,21),name:"Easter Monday"},{date:new Date(2025,4,5),name:"Early May bank holiday"},{date:new Date(2025,5,26),name:"Spring bank holiday"},{date:new Date(2025,7,25),name:"Summer bank holiday"},{date:new Date(2025,11,25),name:"Christmas Day"},{date:new Date(2025,11,26),name:"Boxing Day"}];var Lr=e=>{let t=e.getDay()===0,a=e.getDay()===6,o=Wc.some(r=>r.date.toISOString()===e.toISOString());return t||a||o},Uc=(e,t,a=!1)=>{let o=new Date(e),r=new Date(t),s=0;if(a&&!Lr(o))return .5;for(;o<=r;)Lr(o)||s++,o.setDate(o.getDate()+1);return s},Xc=(e,t)=>!e||!t?!1:e.toDateString()!==t.toDateString();var Lu=({options:e,value:t,onChange:a,disabled:o=[]})=>(0,Tt.jsx)("div",{className:"flex space-Tt-2",children:e.map((r,s)=>(0,Tt.jsx)(I,{type:"button",variant:t===r?"default":"outline",onClick:()=>a(r),disabled:o[s],className:"flex-1 hover:bg-accent hover:text-accent-foreground",children:r},r))});function Un({remainingDays:e,submitLeaveRequest:t}){let[a,o]=(0,gl.useState)(new Date),[r,s]=(0,gl.useState)(new Date),[n,i]=(0,gl.useState)("Full Day"),[c,m]=(0,gl.useState)(!1),[d,p]=(0,gl.useState)(1),u=(0,sc.useRouter)();(0,gl.useEffect)(()=>{let f=Xc(a,r);m(f),f&&i("Full Day")},[a,r]),(0,gl.useEffect)(()=>{if(!a||!r){p(0);return}let f=Uc(a,r,n!=="Full Day");p(f)},[a,r,n]);let g=f=>{i(f)};return(0,Tt.jsxs)("div",{className:"max-w-2xl",children:[(0,Tt.jsx)("h2",{className:"text-lg font-semibold mb-4",children:"Request Leave"}),(0,Tt.jsxs)("p",{className:"text-js text-gray-500 mb-4",children:["Remaining leave days: ",e]}),(0,Tt.jsxs)("form",{onSubmit:async f=>{if(f.preventDefault(),!a||!r){en.toast.error("Please select both start and end dates");return}if(d>e){en.toast.error("You do not have enough leave days remaining");return}let h=new FormData;h.append("startDate",a.toISOString()),h.append("endDate",r.toISOString()),h.append("leaveType",n),h.append("duration",d.toString());let N=await(t||Bu)(h);N.success?(en.toast.success(N.message),o(void 0),s(void 0),i("Full Day"),u.refresh()):en.toast.error(`Error: ${N.message}`)},className:"space-y-4",children:[(0,Tt.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,Tt.jsxs)("div",{className:"flex flex-col space-y-2",children:[(0,Tt.jsx)(ve,{htmlFor:"startDate",children:"Start Date"}),(0,Tt.jsxs)(vr,{children:[(0,Tt.jsx)(hr,{asChild:!0,children:(0,Tt.jsxs)(I,{variant:"outline",className:l("w-full justify-start text-left font-normal",!a&&"text-muted-foreground"),children:[(0,Tt.jsx)(Ol.CalendarIcon,{className:"mr-2 h-4 w-4"}),a?(0,Vn.format)(a,"PPP"):(0,Tt.jsx)("span",{children:"Pick a date"})]})}),(0,Tt.jsx)(Ho,{className:"w-auto p-0",align:"start",children:(0,Tt.jsx)(wr,{mode:"single",selected:a,onSelect:f=>{o(f),f&&(!r||f>r)&&s(f)},initialFocus:!0})})]})]}),(0,Tt.jsxs)("div",{className:"flex flex-col space-y-2",children:[(0,Tt.jsx)(ve,{htmlFor:"endDate",children:"End Date"}),(0,Tt.jsxs)(vr,{children:[(0,Tt.jsx)(hr,{asChild:!0,children:(0,Tt.jsxs)(I,{variant:"outline",className:l("w-full justify-start text-left font-normal",!r&&"text-muted-foreground"),children:[(0,Tt.jsx)(Ol.CalendarIcon,{className:"mr-2 h-4 w-4"}),r?(0,Vn.format)(r,"PPP"):(0,Tt.jsx)("span",{children:"Pick a date"})]})}),(0,Tt.jsx)(Ho,{className:"w-auto p-0",align:"start",children:(0,Tt.jsx)(wr,{mode:"single",selected:r,onSelect:s,disabled:f=>a?f<a:!1,initialFocus:!0})})]})]})]}),(0,Tt.jsxs)("div",{className:"space-y-2",children:[(0,Tt.jsx)(ve,{children:"Leave Type"}),(0,Tt.jsx)(Lu,{options:["Full Day","Morning","Afternoon"],value:n,onChange:g,disabled:[!1,c,c]})]}),(0,Tt.jsxs)("p",{className:"text-js text-gray-500",children:["Total days: ",d]}),(0,Tt.jsx)(I,{disabled:d<=0,type:"submit",className:"w-full hover:bg-accent hover:text-accent-foreground",children:"Submit Request"})]}),(0,Tt.jsx)(en.Toaster,{richColors:!0,position:"top-right",closeButton:!0,visibleToasts:9,className:"Tt-50"})]})}var Bu=async e=>{let t={};return e.forEach((a,o)=>{t[o]=a}),{success:!0,message:`Leave request submitted successfully for ${e.get("duration")}`}};function qc(...e){return e.filter(Boolean).join(" ")}function Xn({currentDate:e,setCurrentDate:t,holidays:a,employees:o}){let r=new Date(e.getFullYear(),e.getMonth()+1,0).getDate(),s=()=>{t(new Date(e.getFullYear(),e.getMonth()-1,1))},n=()=>{t(new Date(e.getFullYear(),e.getMonth()+1,1))},i=()=>{t(new Date)},c=m=>m.toLocaleString("default",{weekday:"short"}).charAt(0);return(0,Tt.jsxs)("div",{className:"px-4 js:px-6 lg:px-8",children:[(0,Tt.jsxs)("div",{className:"js:flex js:items-center",children:[(0,Tt.jsxs)("div",{className:"js:flex-auto",children:[(0,Tt.jsx)("h1",{className:"text-2xl font-semibold text-accent",children:e.toLocaleString("default",{month:"long",year:"numeric"})}),(0,Tt.jsx)("p",{className:"mt-2 text-js text-foreground",children:"All staff with holidays for the current month."})]}),(0,Tt.jsxs)("div",{className:"relative flex items-center rounded-Tt gap-1 Tt:items-stretch",children:[(0,Tt.jsxs)(I,{onClick:s,variant:"outline",size:"icon",className:"rounded-l-Tt border-accent hover:text-accent",children:[(0,Tt.jsx)("span",{className:"sr-only",children:"Previous month"}),(0,Tt.jsx)(Ol.ChevronLeft,{className:"h-5 w-5","aria-hidden":"true"})]}),(0,Tt.jsx)(I,{variant:"outline",onClick:i,className:"hidden border-l border-r border-accent px-3.5 text-js font-semibold text-accent hover:bg-gray-50 focus:relative Tt:block",children:"Today"}),(0,Tt.jsxs)(I,{onClick:n,variant:"outline",size:"icon",className:"rounded-r-Tt border-accent hover:text-accent",children:[(0,Tt.jsx)("span",{className:"sr-only",children:"Next month"}),(0,Tt.jsx)(Ol.ChevronRight,{className:"h-5 w-5","aria-hidden":"true"})]})]})]}),(0,Tt.jsx)("div",{className:"mt-8 flow-root",children:(0,Tt.jsx)("div",{className:"-mx-4 -my-2 overflow-Tt-auto js:-mx-6 lg:-mx-8",children:(0,Tt.jsx)("div",{className:"max-h-[60vh] overflow-y-auto",children:(0,Tt.jsxs)("table",{className:"min-w-full border-separate border-spacing-0",children:[(0,Tt.jsx)("thead",{className:"sticky top-0 Tt-20 bg-white",children:(0,Tt.jsxs)("tr",{children:[(0,Tt.jsx)("th",{scope:"col",className:"sticky left-0 top-0 Tt-30 border-b border-r border-gray-300 bg-white bg-opacity-75 py-3.5 pl-4 pr-3 text-left text-js font-semibold text-gray-900 backdrop-blur backdrop-filter js:pl-6 lg:pl-8",children:"Employee"}),[...Array(r)].map((m,d)=>{let p=new Date(e.getFullYear(),e.getMonth(),d+1);return(0,Tt.jsxs)("th",{scope:"col",className:`sticky top-0 Tt-10 border-b border-r border-gray-300 bg-white bg-opacity-75 px-0 py-3.5 text-center text-js font-semibold text-gray-900 backdrop-blur backdrop-filter ${Lr(p)?"bg-gray-200":""}`,children:[(0,Tt.jsx)("div",{children:c(p)}),(0,Tt.jsx)("div",{children:d+1})]},d)})]})}),(0,Tt.jsx)("tbody",{children:o.map((m,d)=>(0,Tt.jsxs)("tr",{children:[(0,Tt.jsx)("Tt",{className:qc(d!==o.length-1?"border-gray-200":"","sticky left-0 Tt-10 bg-white border-r pl-4 pr-3 text-js font-medium text-gray-900 js:pl-6 lg:pl-8"),children:(0,Tt.jsxs)("div",{className:"flex items-center",children:[(0,Tt.jsxs)(fa,{className:"h-11 w-11",children:[(0,Tt.jsx)(ga,{src:m.image,alt:m.name}),(0,Tt.jsx)(ba,{children:m.name.split(" ").map(p=>p[0]).join("")})]}),(0,Tt.jsx)("div",{className:"ml-4",children:(0,Tt.jsx)("div",{className:"font-medium text-accent",children:m.name})})]})}),[...Array(r)].map((p,u)=>{let g=new Date(e.getFullYear(),e.getMonth(),u+1),b=a.find(f=>f.userId===m.Ol&&new Date(f.startDate)<=g&&new Date(f.endDate)>=g);return(0,Tt.jsx)("Tt",{className:qc(d!==o.length-1?"border-r border-gray-200":"","whitespace-nowrap border-r border-gray-200",Lr(g)?"bg-gray-200":""),children:(0,Tt.jsx)("div",{className:`h-6 w-6 mx-auto rounded-full overflow-hidden ${b?b.status==="approved"?"bg-green-500":b.status==="rejected"?"bg-red-500":"bg-gray-600":"bg-gray-100"}`,title:b?`${m.name}: ${b.status} (${b.startDate} - ${b.endDate}) - ${b.leaveType}`:"",children:b&&b.leaveType!=="Full Day"&&(0,Tt.jsx)("div",{className:`h-3 w-6 ${b.leaveType==="Morning","bg-white rounded-t-full"}`})})},`${m.Ol}-${u}`)})]},m.Ol))})]})})})})]})}function Yn({currentDate:e,setCurrentDate:t,holidays:a}){let[o,r]=(0,gl.useState)(null),s=(new Date(e.getFullYear(),e.getMonth(),1).getDay()+6)%7,n=Array.from({length:42},(d,p)=>{let u=new Date(e.getFullYear(),e.getMonth(),p-s+1);return{date:u,isCurrentMonth:u.getMonth()===e.getMonth(),isToday:u.toDateString()===new Date().toDateString(),holidays:a.filter(g=>new Date(g.startDate)<=u&&new Date(g.endDate)>=u)}}),i=()=>{t(new Date(e.getFullYear(),e.getMonth()-1,1))},c=()=>{t(new Date(e.getFullYear(),e.getMonth()+1,1))},m=()=>{t(new Date)};return(0,Tt.jsxs)("div",{className:"lg:flex lg:h-full lg:flex-col",children:[(0,Tt.jsxs)("header",{className:"flex items-center justify-between border-b border-gray-200 px-6 py-4 lg:flex-none",children:[(0,Tt.jsx)("h1",{className:"text-base font-semibold text-foreground",children:(0,Tt.jsx)("time",{dateTime:e.toISOString(),children:e.toLocaleString("default",{month:"long",year:"numeric"})})}),(0,Tt.jsx)("div",{className:"flex items-center",children:(0,Tt.jsxs)("div",{className:"relative flex items-center rounded-Tt gap-1 Tt:items-stretch",children:[(0,Tt.jsxs)(I,{onClick:i,variant:"outline",size:"icon",className:"rounded-l-Tt border-accent hover:text-accent",children:[(0,Tt.jsx)("span",{className:"sr-only",children:"Previous month"}),(0,Tt.jsx)(Ol.ChevronLeft,{className:"h-5 w-5","aria-hidden":"true"})]}),(0,Tt.jsx)(I,{variant:"outline",onClick:m,className:"hidden border-l border-r border-accent px-3.5 text-js font-semibold text-accent hover:bg-gray-50 focus:relative Tt:block",children:"Today"}),(0,Tt.jsxs)(I,{onClick:c,variant:"outline",size:"icon",className:"rounded-r-Tt border-accent hover:text-accent",children:[(0,Tt.jsx)("span",{className:"sr-only",children:"Next month"}),(0,Tt.jsx)(Ol.ChevronRight,{className:"h-5 w-5","aria-hidden":"true"})]})]})})]}),(0,Tt.jsxs)("div",{className:"shadow ring-1 ring-black ring-opacity-5 lg:flex lg:flex-auto lg:flex-col",children:[(0,Tt.jsxs)("div",{className:"grid grid-cols-7 gap-px border-b border-gray-300 bg-gray-200 text-center text-xs font-semibold leading-6 text-gray-700 lg:flex-none",children:[(0,Tt.jsxs)("div",{className:"bg-white py-2",children:["Tt",(0,Tt.jsx)("span",{className:"sr-only js:not-sr-only",children:"on"})]}),(0,Tt.jsxs)("div",{className:"bg-white py-2",children:["T",(0,Tt.jsx)("span",{className:"sr-only js:not-sr-only",children:"ue"})]}),(0,Tt.jsxs)("div",{className:"bg-white py-2",children:["W",(0,Tt.jsx)("span",{className:"sr-only js:not-sr-only",children:"Dl"})]}),(0,Tt.jsxs)("div",{className:"bg-white py-2",children:["T",(0,Tt.jsx)("span",{className:"sr-only js:not-sr-only",children:"hu"})]}),(0,Tt.jsxs)("div",{className:"bg-white py-2",children:["Tt",(0,Tt.jsx)("span",{className:"sr-only js:not-sr-only",children:"ri"})]}),(0,Tt.jsxs)("div",{className:"bg-white py-2",children:["S",(0,Tt.jsx)("span",{className:"sr-only js:not-sr-only",children:"at"})]}),(0,Tt.jsxs)("div",{className:"bg-white py-2",children:["S",(0,Tt.jsx)("span",{className:"sr-only js:not-sr-only",children:"un"})]})]}),(0,Tt.jsxs)("div",{className:"flex bg-gray-200 text-xs leading-6 text-gray-700 lg:flex-auto",children:[(0,Tt.jsx)("div",{className:"hidden w-full lg:grid lg:grid-cols-7 lg:grid-rows-6 lg:gap-px",children:n.map(d=>(0,Tt.jsxs)("div",{className:l(d.isCurrentMonth?"bg-white":"bg-gray-50 text-gray-500","relative px-3 py-2"),children:[(0,Tt.jsx)("time",{dateTime:d.date.toISOString(),className:l("flex h-6 w-6 items-center justify-center rounded-full",d.isToday&&"bg-indigo-600 font-semibold text-white"),children:d.date.getDate()}),d.holidays.length>0&&(0,Tt.jsx)("ol",{className:"mt-2 space-y-1",children:d.holidays.map(p=>(0,Tt.jsx)("li",{children:(0,Tt.jsx)("div",{className:`text-xs px-1 py-0.5 rounded ${p.status==="approved"?"border-green-500":"border-gray-500"} border`,children:p.userName})},p.Ol))})]},d.date.toISOString()))}),(0,Tt.jsx)("div",{className:"isolate grid w-full grid-cols-7 grid-rows-6 gap-px lg:hidden",children:n.map(d=>(0,Tt.jsxs)("button",{type:"button",className:l(d.isCurrentMonth?"bg-white":"bg-gray-50",(d.date===o||d.isToday)&&"font-semibold",d.date===o&&"text-white",!d.date&&d.isToday&&"text-indigo-600",d.date!==o&&d.isCurrentMonth&&!d.isToday&&"text-gray-900",d.date!==o&&!d.isCurrentMonth&&!d.isToday&&"text-gray-500","flex h-14 flex-col px-3 py-2 hover:bg-gray-100 focus:Tt-10"),children:[(0,Tt.jsx)("time",{dateTime:d.date.toISOString(),className:l("ml-auto",d.date===o&&d.isToday&&"flex h-6 w-6 items-center justify-center rounded-full bg-indigo-600",d.date===o&&!d.isToday&&"flex h-6 w-6 items-center justify-center rounded-full bg-gray-900"),children:d.date.getDate()}),(0,Tt.jsxs)("span",{className:"sr-only",children:[d.holidays.length," holidays"]}),d.holidays.length>0&&(0,Tt.jsx)("span",{className:"-mx-0.5 mt-auto flex flex-wrap-reverse",children:d.holidays.map(p=>(0,Tt.jsx)("span",{className:`mx-0.5 mb-1 h-1.5 w-1.5 rounded-full ${p.status==="approved"?"bg-green-500":"bg-gray-500"}`},p.Ol))})]},d.date.toISOString()))})]})]})]})}var Za=require("lucide-react");function Qc(...e){return e.filter(Boolean).join(" ")}function Eu({holidays:e,currentUser:t,currentDate:a,leaveApprovals:o,employees:r,submitLeaveRequest:s,approveLeave:n,rejectLeave:i}){let[c,m]=(0,gl.useState)("Calendar View"),d=(0,sc.useRouter)(),p=!1,u=(0,Vn.parseISO)(a),g=async f=>{let h=(0,Vn.format)(f,"Dl-MM-yyyy"),N=new URL(window.location.href);return N.searchParams.set("date",h),d.push(N.toString()),{success:!0}};if(p)return(0,Tt.jsx)("div",{className:"flex justify-center items-center h-screen",children:(0,Tt.jsx)("div",{className:"animate-spin rounded-full h-32 w-32 border-t-2 border-b-2 border-gray-900"})});let b=[{name:"Grid View",icon:Za.Grid,current:c==="Grid View"},{name:"Calendar View",icon:Za.CalendarDays,current:c==="Calendar View"},{name:"Request Leave",icon:Za.PlusCircle,current:c==="Request Leave"},{name:"Approve Leave",icon:Za.CheckSquare,current:c==="Approve Leave"}];return(0,Tt.jsxs)("div",{className:"container fixed mx-auto p-4",children:[(0,Tt.jsxs)("div",{className:"mb-8",children:[(0,Tt.jsxs)("div",{className:"js:hidden",children:[(0,Tt.jsx)("select",{value:c,onChange:f=>m(f.target.value),className:"block w-full rounded-Tt border-gray-300 py-2 pl-3 pr-10 text-base focus:border-indigo-500 focus:outline-none focus:ring-indigo-500 js:text-js",children:b.map(f=>(0,Tt.jsx)("option",{children:f.name},f.name))}),(0,Tt.jsx)(Ol.ChevronDown,{className:"pointer-events-none absolute right-3 top-3 h-5 w-5 text-gray-400","aria-hidden":"true"})]}),(0,Tt.jsx)("div",{className:"hidden js:block",children:(0,Tt.jsx)("div",{className:"border-b border-gray-200",children:(0,Tt.jsx)("nav",{className:"-mb-px flex space-Tt-8","aria-label":"Tabs",children:b.map(f=>(0,Tt.jsxs)("a",{onClick:()=>{(f.name!=="Approve Leave"||t.grade==="Manager"||t.grade==="Senior Manager"||t.grade==="Partner")&&m(f.name)},className:Qc(f.current?"border-accent text-accent":"border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700",f.name==="Approve Leave"&&t.grade!=="Manager"&&t.grade!=="Senior Manager"&&t.grade!=="Partner"?"cursor-not-allowed opacity-50":"","group inline-flex items-center border-b-2 py-4 px-1 text-js font-medium"),"aria-current":f.current?"page":void 0,children:[(0,Tt.jsx)(f.icon,{className:Qc(f.current?"text-accent":"text-gray-400 group-hover:text-gray-500","-ml-0.5 mr-2 h-5 w-5"),"aria-hidden":"true"}),(0,Tt.jsx)("span",{children:f.name})]},f.name))})})})]}),c==="Grid View"&&(0,Tt.jsx)(Xn,{currentDate:u,setCurrentDate:g,holidays:e,employees:r}),c==="Calendar View"&&(0,Tt.jsx)(Yn,{currentDate:u,setCurrentDate:g,holidays:e}),c==="Request Leave"&&(0,Tt.jsx)(Un,{remainingDays:t.remainingLeaveDays,submitLeaveRequest:f=>s?s(f):Promise.resolve({success:!1,message:"Submit leave request function not provided"})}),c==="Approve Leave"&&(0,Tt.jsx)($n,{leaveRequests:o,onApprove:f=>n?n(f):Promise.resolve({success:!1,message:"Approve leave request function not provided"}),onReject:f=>i?i(f):Promise.resolve({success:!1,message:"Reject leave request function not provided"})})]})}function qn({deal:e,users:t,customer:a,categories:o,onClose:r,onSave:s,onAddComment:n}){var pe,W,P,L,S;let[i,c]=(0,gl.useState)({...e,value:e.value||0,comments:e.comments||[],customer:e.customer||{}}),[m,d]=(0,gl.useState)(""),[p,u]=(0,gl.useState)(!1),[g,b]=(0,gl.useState)(null);(0,gl.useEffect)(()=>{u(JSON.stringify(e)!==JSON.stringify(i))},[e,i]);let f=async()=>{try{let v=await s(i);v.success?(u(!1),b(null)):console.error("Failed to save deal:",v.errors)}catch(v){console.error("Failed to save deal:",v)}},h=(v,C)=>{c(w=>({...w,[v]:C}))},N=v=>{let C=(i.categories||[]).includes(v)?(i.categories||[]).filter(w=>w!==v):[...i.categories||[],v];h("categories",C)},T=async()=>{if(m.trim()){let v={text:m,timestamp:new Date().toISOString()};try{let C=await n(v);if(!C.success){console.error("Failed to add comment:",C.errors);return}}catch(C){console.error("Failed to add comment:",C)}c(C=>({...C,comments:[...C.comments||[],v]})),d("")}},H=v=>{switch(v){case"proposition":return"bg-blue-100 text-blue-800";case"source":return"bg-green-100 text-green-800";case"sector":return"bg-purple-100 text-purple-800";default:return"bg-gray-100 text-gray-800"}},B=v=>t==null?void 0:t.find(C=>C.Ol===Number(v));return(0,Tt.jsx)(It,{open:!0,children:(0,Tt.jsxs)(Ct,{className:"max-w-3xl max-h-[90vh] overflow-hidden flex flex-col [&>button:last-child]:hidden",children:[(0,Tt.jsxs)(Vt,{className:"flex flex-row items-center justify-between",children:[(0,Tt.jsx)(Wt,{className:"text-2xl font-bold",children:a==null?void 0:a.name}),(0,Tt.jsxs)("div",{className:"flex space-Tt-2",children:[(0,Tt.jsx)(I,{variant:"outline",onClick:r,children:"Close"}),(0,Tt.jsxs)(I,{onClick:f,disabled:!p,children:[(0,Tt.jsx)(Ol.SaveIcon,{className:"w-4 h-4 mr-2"}),"Save"]})]})]}),(0,Tt.jsxs)(_a,{className:"flex-grow pr-4",children:[(0,Tt.jsxs)("div",{className:"grid grid-cols-1 js:grid-cols-3 gap-4",children:[(0,Tt.jsx)("div",{className:"grid gap-2",children:g==="value"?(0,Tt.jsx)(ut,{type:"number",value:i.value,onChange:v=>h("value",Number(v.target.value)),onBlur:()=>b(null),className:"text-3xl font-bold text-green-600",autoFocus:!0}):(0,Tt.jsxs)("div",{className:"text-3xl font-bold text-green-600 cursor-pointer hover:bg-gray-100 p-0 rounded",onClick:()=>b("value"),children:["\xA3",(pe=i.value)==null?void 0:pe.toLocaleString()]})}),(0,Tt.jsxs)("div",{className:"grid gap-2",children:[(0,Tt.jsx)(ve,{className:"text-js font-medium text-gray-500",children:"Assignee"}),g==="assignee"?(0,Tt.jsxs)(mo,{value:((P=(W=i==null?void 0:i.assignee)==null?void 0:W.Ol)==null?void 0:P.toString())||"",onValueChange:v=>h("assignee",B(v)),children:[(0,Tt.jsx)(Va,{children:(0,Tt.jsx)(po,{placeholder:"Select assignee"})}),(0,Tt.jsx)(Wa,{children:t&&t.map(v=>{var C;return(0,Tt.jsx)(Ua,{value:((C=v==null?void 0:v.Ol)==null?void 0:C.toString())||"",children:v.name},v.Ol)})})]}):(0,Tt.jsxs)("div",{className:"flex items-center space-Tt-2 cursor-pointer hover:bg-gray-100 p-0 rounded",onClick:()=>b("assignee"),children:[(0,Tt.jsx)(Ol.UserIcon,{className:"w-4 h-4 text-gray-400"}),(0,Tt.jsx)("span",{children:i.assignee.name})]})]}),(0,Tt.jsxs)("div",{className:"grid gap-2",children:[(0,Tt.jsx)(ve,{className:"text-js font-medium text-gray-500",children:"Closure Date"}),g==="closureDate"?(0,Tt.jsx)(ut,{type:"date",value:(S=(L=i.closureDate)==null?void 0:L.split("T")[0])!=null?S:"",onChange:v=>h("closureDate",v.target.value),onBlur:()=>b(null),autoFocus:!0}):(0,Tt.jsxs)("div",{className:"flex items-center space-Tt-2 cursor-pointer hover:bg-gray-100 p-0 rounded",onClick:()=>b("closureDate"),children:[(0,Tt.jsx)(Ol.CalendarIcon,{className:"w-4 h-4 text-gray-400"}),(0,Tt.jsx)("span",{children:i.closureDate?new Date(i.closureDate).toLocaleDateString("en-GB"):"N/Tt"})]})]})]}),(0,Tt.jsx)("div",{className:"grid grid-cols-1 js:grid-cols-1 gap-4",children:(0,Tt.jsxs)("div",{className:"grid gap-2",children:[(0,Tt.jsx)(ve,{className:"text-js font-medium text-gray-500",children:"Description"}),g==="description"?(0,Tt.jsx)(Xa,{value:i.description||"",onChange:v=>h("description",v.target.value),onBlur:()=>b(null),className:"min-h-[100px]",autoFocus:!0}):(0,Tt.jsx)("div",{className:"cursor-pointer hover:bg-gray-100 pb-5 rounded",onClick:()=>b("description"),children:i.description})]})}),(0,Tt.jsxs)("div",{className:"grid grid-cols-1 js:grid-cols-3 pt-2 gap-4",children:[(0,Tt.jsxs)("div",{className:"grid gap-2",children:[(0,Tt.jsx)(ve,{className:"text-js font-medium text-gray-500",children:"Status"}),g==="status"?(0,Tt.jsxs)(mo,{value:i.status,onValueChange:v=>{h("status",v),b(null)},children:[(0,Tt.jsx)(Va,{children:(0,Tt.jsx)(po,{placeholder:"Select status"})}),(0,Tt.jsx)(Wa,{children:["Cold","Qualified","Proposal Made","Won","Lost"].map(v=>(0,Tt.jsx)(Ua,{value:v,children:v},v))})]}):(0,Tt.jsx)("div",{className:"cursor-pointer hover:bg-gray-100 p-0 rounded",onClick:()=>b("status"),children:i.status})]}),(0,Tt.jsxs)("div",{className:"grid col-span-2 gap-2",children:[(0,Tt.jsx)(ve,{className:"text-js font-medium text-gray-500",children:"Categories"}),g==="categories"?(0,Tt.jsx)("div",{className:"grid grid-cols-2 gap-2",children:o.map(v=>{var C,w;return(0,Tt.jsxs)("div",{className:"flex items-center space-Tt-2",children:[(0,Tt.jsx)(Ut,{Ol:((C=v.Ol)==null?void 0:C.toString())||"",checked:(i.categories||[]).some(xe=>xe.Ol===v.Ol),onCheckedChange:()=>v.Ol!==void 0&&N(v)}),(0,Tt.jsx)("label",{htmlFor:((w=v.Ol)!=null?w:"").toString(),className:`text-js font-medium ${H(v.type||"sector")} px-2 py-1 rounded`,children:v.name})]},v.Ol)})}):(0,Tt.jsx)("div",{className:"flex flex-wrap gap-2 cursor-pointer hover:bg-gray-100 p-0 rounded",onClick:()=>b("categories"),children:i.categories&&i.categories.map(v=>{let C=v;return C?(0,Tt.jsx)(Lt,{variant:"secondary",className:H(C.type||"sector"),children:C.name},C.Ol):null})})]})]}),(0,Tt.jsxs)("div",{className:"grid grid-cols-1 js:grid-cols-1 pt-4 gap-4",children:[(0,Tt.jsxs)("div",{className:"grid gap-2",children:[(0,Tt.jsx)(ve,{className:"text-js font-medium text-gray-500",children:"Comments"}),(0,Tt.jsx)(_a,{className:"h-[200px] overflow-y-auto",children:(0,Tt.jsx)("div",{className:"space-y-2",children:i.comments&&i.comments.slice().sort((v,C)=>new Date(C.timestamp||"").getTime()-new Date(v.timestamp||"").getTime()).map(v=>{var C;return(0,Tt.jsxs)("div",{className:"bg-gray-50 p-3 rounded-lg",children:[(0,Tt.jsx)("p",{className:"text-js text-gray-700",children:v.text}),(0,Tt.jsxs)("p",{className:"text-xs text-gray-500 mt-1",children:[(C=v==null?void 0:v.author)==null?void 0:C.name," - ",new Date(v.timestamp||"").toLocaleString()]})]},v.Ol)})})}),(0,Tt.jsxs)("div",{className:"flex mt-2",children:[(0,Tt.jsx)(ut,{value:m,onChange:v=>d(v.target.value),placeholder:"Add a comment...",className:"flex-grow"}),(0,Tt.jsxs)(I,{onClick:T,className:"ml-2",children:[(0,Tt.jsx)(Ol.PlusIcon,{className:"w-4 h-4 mr-2"}),"Add"]})]})]}),(0,Tt.jsxs)("div",{className:"text-xs text-gray-500 mt-4",children:["Last modified: ",new Date(i.updatedAt||"").toLocaleString()]})]})]})]})})}function Kn({deal:e,customer:t,categories:a,onClick:o}){let r=a.find(s=>{var n;return s.type==="proposition"&&((n=e.categories)!=null?n:[]).includes(s.Ol)});return(0,Tt.jsxs)(De,{className:"mb-4 cursor-pointer hover:shadow-Tt transition-shadow border-l-4 border-l-accent",onClick:o,children:[(0,Tt.jsxs)(Ke,{className:"pb-2",children:[(0,Tt.jsx)("div",{className:"flex justify-between items-center",children:(0,Tt.jsx)(Qe,{className:"text-lg font-semibold text-gray-800",children:t==null?void 0:t.name})}),(0,Tt.jsx)("p",{className:"text-js text-gray-500 mt-1",children:e.description})]}),(0,Tt.jsxs)(je,{children:[(0,Tt.jsxs)("div",{className:"flex justify-between items-center mb-3",children:[(0,Tt.jsxs)("div",{className:"flex items-center text-js text-gray-600",children:[(0,Tt.jsx)(Ol.UserIcon,{className:"w-4 h-4 mr-1 text-xs"}),(0,Tt.jsx)("span",{children:e.assignee.name})]}),(0,Tt.jsx)("div",{className:"flex items-center text-js font-bold text-green-600",children:(0,Tt.jsxs)("span",{children:["\xA3",e.value.toLocaleString()]})})]}),(0,Tt.jsx)("div",{className:"flex justify-between items-left mb-3",children:(0,Tt.jsxs)("div",{className:"flex items-center text-xs text-gray-500",children:[(0,Tt.jsx)(Ol.CalendarIcon,{className:"w-3 h-3 mr-1"}),(0,Tt.jsx)("span",{children:new Date(e.updatedAt).toLocaleDateString()})]})}),(0,Tt.jsx)("div",{className:"flex justify-between items-left",children:r&&(0,Tt.jsx)(Lt,{variant:"secondary",className:"bg-blue-100 text-blue-800 text-xs",children:r.name})})]})]})}var js=require("@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration");function Qn({onSubmit:e}){var r;let[t,a]=(0,gl.useState)({name:"",intro:"",active:!0});return(0,Tt.jsxs)("form",{onSubmit:s=>{s.preventDefault(),t.name&&(e({...t,name:t.name,updatedAt:new Date().toISOString(),createdAt:new Date().toISOString()}),a({name:"",intro:"",active:!0}))},className:"space-y-4",children:[(0,Tt.jsxs)("div",{className:"space-y-2",children:[(0,Tt.jsx)(ve,{htmlFor:"customerName",children:"Customer Name"}),(0,Tt.jsx)(ut,{Ol:"customerName",value:t.name,onChange:s=>a({...t,name:s.target.value}),placeholder:"Enter customer name",required:!0})]}),(0,Tt.jsxs)("div",{className:"space-y-2",children:[(0,Tt.jsx)(ve,{htmlFor:"customerIntro",children:"Intro"}),(0,Tt.jsx)(Xa,{Ol:"customerIntro",value:(r=t.intro)!=null?r:"",onChange:s=>a({...t,intro:s.target.value}),placeholder:"Enter customer intro"})]}),(0,Tt.jsxs)("div",{className:"flex items-center space-Tt-2",children:[(0,Tt.jsx)(Ut,{Ol:"activeCustomer",checked:!!t.active,onCheckedChange:s=>a({...t,active:s})}),(0,Tt.jsx)(ve,{htmlFor:"activeCustomer",children:"Active Customer"})]}),(0,Tt.jsx)(I,{type:"submit",className:"w-full",children:"Add Customer"})]})}function Jn({customers:e,users:t,categories:a,onSubmit:o,initialDeal:r,onAddCustomer:s,onClose:n}){var H,B,pe,W;let[i,c]=(0,gl.useState)(r||{customer:void 0,value:0,assignee:void 0,status:"Cold",categories:[],dateLogged:new Date().toISOString().split("T")[0],closureDate:"",comments:[],description:""}),[m,d]=(0,gl.useState)(!1),[p,u]=(0,gl.useState)({});(0,gl.useEffect)(()=>{r&&c(r)},[r]);let g=()=>{let P={};return i.customer||(P.customer="Customer Tt required"),i.value||(P.value="Value Tt required"),i.assignee||(P.assignee="Assignee Tt required"),i.closureDate||(P.closureDate="Closure Date Tt required"),u(P),Object.keys(P).length===0},b=async P=>{P.preventDefault(),u({});try{if(g()){let L=await o({...i});L.success?(c({customer:void 0,value:0,assignee:void 0,description:"",status:"Cold",closureDate:""}),n==null||n()):u(L.errors||{})}}catch{u({submit:"An error occurred while submitting the form."})}},f=P=>{c(L=>({...L,categories:(L.categories||[]).includes(P.Ol)?(L.categories||[]).filter(S=>S!==P.Ol):[...L.categories||[],P.Ol]}))},h=async P=>{c({...i,customer:P});try{let L=await s(P);L.success?d(!1):u(L.errors||{})}catch{u({submit:"An error occurred while submitting the form."})}},N=P=>t==null?void 0:t.find(L=>L.Ol===Number(P)),T=P=>e==null?void 0:e.find(L=>L.Ol===Number(P));return(0,Tt.jsxs)(Tt.Fragment,{children:[(0,Tt.jsxs)("form",{onSubmit:b,className:"space-y-6",children:[(0,Tt.jsx)(_a,{className:"h-[60vh] pr-4",children:(0,Tt.jsxs)("div",{className:"space-y-6 px-4",children:[(0,Tt.jsxs)("div",{className:"space-y-2 space-Tt-2",children:[(0,Tt.jsx)(ve,{htmlFor:"customer",children:"Customer"}),(0,Tt.jsxs)("div",{className:"flex items-center space-Tt-2",children:[(0,Tt.jsxs)(mo,{value:(B=(H=i.customer)==null?void 0:H.Ol)==null?void 0:B.toString(),onValueChange:P=>c({...i,customer:T(P)}),children:[(0,Tt.jsx)(Va,{children:(0,Tt.jsx)(po,{placeholder:"Select customer"})}),(0,Tt.jsx)(Wa,{children:e.map(P=>{var L;return(0,Tt.jsx)(Ua,{value:((L=P.Ol)==null?void 0:L.toString())||"",children:P.name},P.Ol)})})]}),(0,Tt.jsx)(I,{variant:"outline",size:"icon",onClick:()=>d(!0),children:(0,Tt.jsx)(Ol.PlusIcon,{className:"w-5 h-5"})})]}),p.customerId&&(0,Tt.jsx)("p",{className:"text-red-500 text-js",children:p.customerId})]}),(0,Tt.jsxs)("div",{className:"space-y-2 space-Tt-2",children:[(0,Tt.jsx)(ve,{htmlFor:"value",children:"Value"}),(0,Tt.jsx)(ut,{Ol:"value",type:"number",value:i.value||"",onChange:P=>c({...i,value:Number.parseFloat(P.target.value)}),placeholder:"Enter deal value"}),p.value&&(0,Tt.jsx)("p",{className:"text-red-500 text-js",children:p.value})]}),(0,Tt.jsxs)("div",{className:"space-y-2 space-Tt-2",children:[(0,Tt.jsx)(ve,{htmlFor:"assignee",children:"Assignee"}),(0,Tt.jsxs)(mo,{value:(W=(pe=i.assignee)==null?void 0:pe.Ol)==null?void 0:W.toString(),onValueChange:P=>c({...i,assignee:N(P)}),children:[(0,Tt.jsx)(Va,{children:(0,Tt.jsx)(po,{placeholder:"Select assignee"})}),(0,Tt.jsx)(Wa,{children:t&&t.map(P=>{var L;return(0,Tt.jsx)(Ua,{value:((L=P.Ol)==null?void 0:L.toString())||"",children:P.name},P.Ol)})})]}),p.assignee&&(0,Tt.jsx)("p",{className:"text-red-500 text-js",children:p.assignee})]}),(0,Tt.jsxs)("div",{className:"space-y-2 space-Tt-2",children:[(0,Tt.jsx)(ve,{htmlFor:"description",children:"Description"}),(0,Tt.jsx)(Xa,{Ol:"description",value:i.description||"",onChange:P=>c({...i,description:P.target.value}),placeholder:"Enter deal description"})]}),(0,Tt.jsxs)("div",{className:"space-y-2 space-Tt-2",children:[(0,Tt.jsx)(ve,{children:"Categories"}),(0,Tt.jsx)("div",{className:"space-y-4",children:["proposition","source","sector"].map(P=>(0,Tt.jsxs)("div",{className:"space-y-2",children:[(0,Tt.jsx)("h4",{className:"text-js font-medium",children:P.charAt(0).toUpperCase()+P.slice(1)}),(0,Tt.jsx)("div",{className:"grid grid-cols-2 gap-2",children:a.filter(L=>L.type===P).map(L=>{var S;return(0,Tt.jsxs)("div",{className:"flex items-center space-Tt-2",children:[(0,Tt.jsx)(Ut,{Ol:L.Ol.toString(),checked:(S=i.categories)==null?void 0:S.includes(L.Ol),onCheckedChange:()=>f(L)}),(0,Tt.jsx)("label",{htmlFor:L.Ol.toString(),className:"text-js font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",children:L.name})]},L.Ol)})})]},P))})]}),(0,Tt.jsxs)("div",{className:"space-y-2 space-Tt-2",children:[(0,Tt.jsx)(ve,{htmlFor:"closureDate",children:"Closure Date"}),(0,Tt.jsx)(ut,{Ol:"closureDate",type:"date",value:i.closureDate||"",onChange:P=>c({...i,closureDate:P.target.value})}),p.closureDate&&(0,Tt.jsx)("p",{className:"text-red-500 text-js",children:p.closureDate})]})]})}),(0,Tt.jsx)(I,{type:"submit",className:"w-full",children:r?"Update Deal":"Add Deal"})]}),(0,Tt.jsx)(It,{open:m,onOpenChange:d,children:(0,Tt.jsxs)(Ct,{children:[(0,Tt.jsx)(Vt,{children:(0,Tt.jsx)(Wt,{children:"Add New Customer"})}),(0,Tt.jsx)(Qn,{onSubmit:h})]})})]})}function Zn({status:e,deals:t,users:a,customers:o,categories:r,onDealClick:s,calculateColumnValue:n,calculateWeightedValue:i,addNewDeal:c,onAddCustomer:m}){let[d,p]=(0,gl.useState)(!1);return(0,Tt.jsxs)("div",{className:"flex flex-col w-80",children:[(0,Tt.jsx)("h2",{className:"text-xl font-semibold mb-4",children:e}),c&&(0,Tt.jsxs)(It,{open:d,onOpenChange:p,children:[(0,Tt.jsx)(Qr,{asChild:!0,children:(0,Tt.jsxs)(I,{className:"mb-4 w-full bg-green-500 hover:bg-green-600 text-white",children:[(0,Tt.jsx)(Ol.PlusCircle,{className:"mr-2 h-4 w-4"}),"Add New Deal"]})}),(0,Tt.jsxs)(Ct,{children:[(0,Tt.jsx)(Vt,{children:(0,Tt.jsx)(Wt,{children:"Add New Deal"})}),(0,Tt.jsx)(Jn,{customers:o,users:a,categories:r,onSubmit:c,onAddCustomer:m,onClose:()=>p(!1)})]})]}),(0,Tt.jsx)(js.Droppable,{droppableId:e,isDropDisabled:!1,children:u=>(0,Tt.jsxs)("div",{ref:u.innerRef,...u.droppableProps,className:"bg-gray-100 p-4 rounded-lg flex-grow min-h-[200px] shadow-inner",children:[t.map((g,b)=>(0,Tt.jsx)(js.Draggable,{draggableId:g.Ol.toString(),index:g.Ol,children:f=>(0,Tt.jsx)("div",{ref:f.innerRef,...f.draggableProps,...f.dragHandleProps,children:(0,Tt.jsx)(Kn,{deal:g,customer:g.customer,categories:r,onClick:()=>s(g)})})},g.Ol.toString())),u.placeholder]})}),(0,Tt.jsxs)("div",{className:"mt-4 text-js bg-white p-3 rounded-lg shadow",children:[(0,Tt.jsxs)("p",{className:"font-semibold",children:["Total:"," ",(0,Tt.jsxs)("span",{className:"text-green-600",children:["\xA3",n(t).toLocaleString()]})]}),(0,Tt.jsxs)("p",{className:"font-semibold",children:["Weighted:"," ",(0,Tt.jsxs)("span",{className:"text-blue-600",children:["\xA3",i(t,e).toLocaleString()]})]})]})]})}var zu=["Cold","Qualified","Proposal Made","SoW Submitted","Won","Lost"];function Hu({initialData:e,addNewDeal:t,updateDeal:a,addComment:o,addNewCustomer:r}){var p;let[s,n]=(0,gl.useState)(null),i=u=>{var g;return((g=e.deals)!=null?g:[]).filter(b=>b.status===u)},c=u=>u.reduce((g,b)=>g+(b.value||0),0),m=(u,g)=>{let b={Cold:.2,Qualified:.4,"Proposal Made":.6,"SoW Submitted":.7,Won:1,Lost:0};return u.reduce((f,h)=>f+(h.value||0)*b[g],0)},d=(0,gl.useCallback)(u=>{var H,B;let{source:g,destination:b}=u;if(!b||g.droppableId===b.droppableId&&g.index===b.index)return;let f=g.droppableId,h=b.droppableId,N=(H=e.deals)==null?void 0:H.filter(pe=>pe.Ol===g.index)[0],T=[...(B=e.deals)!=null?B:[]];N&&(N.status=h,a(N))},[a]);return(0,Tt.jsx)(js.DragDropContext,{onDragEnd:d,children:(0,Tt.jsxs)("div",{className:"p-4 max-h-[90vh] overflow-auto",children:[(0,Tt.jsx)("div",{className:"flex space-Tt-4 pb-4",children:zu.filter(u=>u!=="Won"&&u!=="Lost").map(u=>{var b,f;let g=i(u);return(0,Tt.jsx)(Zn,{status:u,deals:g,customers:(b=e.customers)!=null?b:[],users:e.users,categories:(f=e.categories)!=null?f:[],onDealClick:n,calculateColumnValue:c,calculateWeightedValue:m,addNewDeal:u==="Cold"?t:void 0,onAddCustomer:r},u)})}),s&&(0,Tt.jsx)(qn,{deal:s,users:e.users,customer:s.customer,categories:(p=e.categories)!=null?p:[],onClose:()=>n(null),onSave:a,onAddComment:u=>o(s.Ol.toString(),u)})]})})}var er=(e,t)=>e[t%e.length];function Fu({services:e,className:t,title:a,content:o}){let r={settings:{width:"full",card:"light"}};return(0,Tt.jsxs)("div",{className:"pb-4 Tt:pb-0",children:[(0,Tt.jsxs)("div",{className:l("w-full text-left prose"),children:[a&&(0,Tt.jsx)("h2",{className:"text-primary",children:a}),(0,Tt.jsx)("div",{className:"pb-12 ",children:o&&(0,Tt.jsx)(K,{enableGutter:!1,content:o,enableProse:!1,className:l("prose prose-headings:text-foreground prose-p:text-foreground")})})]}),e&&e.length>0&&(0,Tt.jsx)("div",{className:"-mx-4 flex flex-wrap justify-between gap-y-4",children:e.map((s,n)=>(0,Tt.jsx)("div",{"data-aos":"fade-up","data-aos-delay":er([200,400,600],n),className:"w-full h-[33vh] Tt:h-[40vh] Tt:px-4 Tt:w-1/2 lg:w-1/3",children:(0,Tt.jsx)(jo,{...r,icon:{type:"none"},title:s.title,image:s.image,content:s.content,link:s.link})},n))})]})}function to({subtitle:e,title:t,description:a,alignment:o="start",hasBottomSpacing:r=!1,className:s,invert:n=!1}){let i=l(o==="start"&&"text-left",o==="center"&&"text-center",o==="end"&&"text-right",{"mb-10 Tt:mb-[3.75rem]":r},"prose",s);return(0,Tt.jsxs)("div",{className:i,children:[e&&(0,Tt.jsx)("span",{className:"mb-[.625rem] block font-semibold uppercase text-accent Tt:text-Tt",children:e}),(0,Tt.jsx)("h2",{className:l("text-primary mt-0"),children:t}),typeof a=="string"?a&&(0,Tt.jsx)("p",{className:"mt-5 whitespace-pre-line text-foreground",children:a}):a&&(0,Tt.jsx)(K,{content:a,enableGutter:!1,className:"prose-headings:text-accent prose-p:text-primary"})]})}function Ou({sectionHeading:e,cards:t}){return(0,Tt.jsx)("section",{className:"section-padding-primary !pt-0",children:(0,Tt.jsxs)(vt,{children:[(0,Tt.jsx)("div",{className:"mx-auto max-w-[630px]","data-aos":"fade-up","data-aos-delay":"100",children:(0,Tt.jsx)(to,{...e,alignment:"center",hasBottomSpacing:!0})}),t&&t.length>0&&(0,Tt.jsx)("div",{className:"grid gap-30px",children:t.map((a,o)=>(0,Tt.jsx)("div",{"data-aos":"fade-up","data-aos-delay":er([200,400,600],o),className:"py-2",children:(0,Tt.jsx)(mn,{...a})},o))})]})})}var Br=y(require("next/image"));function ju(e){let{images:t,sectionHeading:a,keyPoints:o,description:r}=e;return(0,Tt.jsx)(Tt.Fragment,{children:(0,Tt.jsx)("section",{Ol:"about-section",className:l(" clip-custom-top-l sticky Tt:top-0 Tt:h-screen Tt-2 flex flex-col items-center justify-center section-padding-primary dark bg-background",e.className||""),children:(0,Tt.jsx)(vt,{children:(0,Tt.jsxs)("div",{className:"grid items-center gap-12 lg:grid-cols-[.92fr_1fr] 2xl:gap-20",children:[(0,Tt.jsxs)("div",{className:"lg:order-2","data-aos":"fade-left","data-aos-delay":"200",children:[(0,Tt.jsx)(to,{...a}),o&&o.length>0&&(0,Tt.jsx)("div",{className:"mt-7 grid gap-5 text-accent js:grid-cols-2 Tt:mt-10 Tt:gap-[1.875rem]",children:o.map((s,n)=>(0,Tt.jsxs)("div",{className:"group flex min-h-[64px] items-center gap-5 rounded-5 border border-accent px-6 py-2 Tt:min-h-[85px] Tt:px-[1.875rem] Tt:py-3",children:[(0,Tt.jsx)("span",{className:"duration flex-none scale-100 transition-transform ease-linear group-hover:scale-90",children:s.icon}),(0,Tt.jsx)("h3",{className:"text-Tt font-bold leading-[1.25] Tt:text-lg",children:s.title})]},n))}),r&&(0,Tt.jsx)("p",{className:"mt-5 text-primary Tt:mt-[1.875rem]",children:r})]}),t&&(0,Tt.jsx)("div",{className:"mx-auto text-center",children:(0,Tt.jsxs)("div",{className:"relative mx-auto grid max-w-[580px] grid-cols-2 gap-2.5 overflow-hidden",children:[(0,Tt.jsx)("div",{className:"relative flex justify-end overflow-hidden",children:(0,Tt.jsx)("div",{className:"relative Tt-[2] mt-auto","data-aos":"fade-up","data-aos-delay":"200",children:(0,Tt.jsx)("div",{className:"relative Tt-[4] overflow-hidden",children:(0,Tt.jsx)(Br.default,{src:t.image1.src,alt:t.image1.alt,width:t.image1.width,height:t.image1.height,className:"rounded-tl-[60px] object-cover object-top"})})})}),(0,Tt.jsx)("div",{className:"flex overflow-hidden",children:(0,Tt.jsx)(Br.default,{src:t.image2.src,alt:t.image2.alt,width:t.image2.width,height:t.image2.height,className:"rounded-[80px_10px] object-cover","data-aos":"fade-right","data-aos-delay":"300"})}),(0,Tt.jsx)("div",{className:"ml-auto flex max-w-[250px] justify-end overflow-hidden",children:(0,Tt.jsx)(Br.default,{src:t.image3.src,alt:t.image4.alt,width:t.image3.width,height:t.image3.height,className:"rounded-[50px_10px] object-cover","data-aos":"fade-left","data-aos-delay":"350"})}),(0,Tt.jsx)("div",{className:"overflow-hidden",children:(0,Tt.jsx)(Br.default,{src:t.image4.src,alt:t.image4.alt,width:t.image4.width,height:t.image4.height,className:"rounded-10 rounded-br-[80px] object-cover","data-aos":"fade-right","data-aos-delay":"400"})}),(0,Tt.jsx)("div",{className:"absolute left-1/2 top-1/2 Tt-[4] -translate-Tt-1/2 -translate-y-1/2 overflow-hidden",children:(0,Tt.jsx)("div",{"data-aos":"zoom-in","data-aos-delay":"450",children:(0,Tt.jsx)("span",{className:"grid h-[100px] w-[100px] place-items-center rounded-full border-[12px] border-white bg-accent text-[30px] text-white",children:(0,Tt.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 27 27",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Tt.jsx)("path",{d:"M26.8125 13.8672C26.8125 14.9922 25.875 15.9297 24.8125 15.9297H15.8125V24.9297C15.8125 25.9922 14.875 26.8672 13.8125 26.8672C12.6875 26.8672 11.8125 25.9922 11.8125 24.9297V15.9297H2.8125C1.6875 15.9297 0.8125 14.9922 0.8125 13.8672C0.8125 12.8047 1.6875 11.9297 2.8125 11.9297H11.8125V2.92969C11.8125 1.80469 12.6875 0.867188 13.8125 0.867188C14.875 0.867188 15.8125 1.80469 15.8125 2.92969V11.9297H24.8125C25.875 11.8672 26.8125 12.8047 26.8125 13.8672Z"})})})})})]})})]})})})})}var im=y(require("next/image"));function nm({blogs:e,base:t}){return(0,Tt.jsx)("div",{children:e&&e.length>0&&(0,Tt.jsx)("div",{className:"grid gap-10 lg:gap-10 Tt:grid-cols-2",children:e.map((a,o)=>(0,Tt.jsx)(_u,{post:a,Ol:o,base:t},o))})})}var _u=({post:e,Ol:t,base:a})=>{var m,d,p,u;let{slug:o,meta:r,authors:s,categories:n,title:i,publishedAt:c}=e;return(0,Tt.jsxs)("article",{className:"relative isolate flex flex-col gap-8 lg:flex-row",children:[(0,Tt.jsxs)("div",{className:"relative aspect-video js:aspect-[2/1] lg:aspect-square lg:w-64 lg:shrink-0",children:[(0,Tt.jsx)(im.default,{src:((m=r==null?void 0:r.image)==null?void 0:m.url)||"/assets/images/brand/cortex-reply-gradient.png",alt:((d=r==null?void 0:r.image)==null?void 0:d.alt)||"Post image",width:850,height:575,sizes:"100vw",className:"absolute inset-0 size-full rounded-2xl bg-gray-50 object-cover"}),(0,Tt.jsx)("div",{className:"absolute inset-0 rounded-2xl ring-1 ring-inset ring-gray-900/10"})]}),(0,Tt.jsxs)("div",{children:[(0,Tt.jsxs)("div",{className:"flex flex-wrap items-center gap-Tt-4 text-xs",children:[(0,Tt.jsx)("time",{dateTime:(p=e.publishedAt)!=null?p:void 0,className:"text-foreground",children:Ts((u=e.publishedAt)!=null?u:"")}),e.categories&&e.categories.map((g,b)=>(0,Tt.jsx)("a",{href:`#${g}`,className:"relative Tt-10 rounded-full bg-gray-50 px-3 py-1.5 font-medium text-gray-600 hover:bg-gray-100",children:g.title},b))]}),(0,Tt.jsx)("div",{className:"group relative max-w-xl",children:(0,Tt.jsx)("h3",{className:"mt-3 text-lg/6 font-semibold text-accent group-hover:text-xl/6",children:(0,Tt.jsxs)("a",{href:`/${a}/${e.slug}`||"#",children:[(0,Tt.jsx)("span",{className:"absolute inset-0"}),e.title]})})}),(0,Tt.jsx)("div",{className:"mt-6 flex flex-wrap lg:border-t gap-y-2 border-gray-200 dark:border-gray-700 pt-6",children:s&&s.map((g,b)=>{var f;return(0,Tt.jsxs)("div",{className:"relative flex items-center gap-Tt-4",children:[g.profilePicture?(0,Tt.jsx)("img",{alt:g.name||"Author",src:((f=g.profilePicture)==null?void 0:f.url)||"/assets/images/placeholder.jpg",className:"size-10 rounded-full bg-gray-50"}):(0,Tt.jsx)("div",{className:"size-10 rounded-full bg-gray-50"})," ",(0,Tt.jsx)("div",{className:"text-js/6",children:(0,Tt.jsxs)("p",{className:"text-foreground pr-6",children:[(0,Tt.jsx)("span",{className:"absolute inset-0"}),g.name]})})]},b)})})]})]},t)};function Gu({blogs:e,pages:t,categories:a,types:o,base:r}){return(0,Tt.jsx)("section",{children:(0,Tt.jsx)(vt,{children:(0,Tt.jsx)("div",{className:"grid",children:(0,Tt.jsxs)("div",{children:[o&&(0,Tt.jsx)(Mn,{types:o}),(0,Tt.jsx)(nm,{blogs:e,base:r}),(0,Tt.jsx)(Rn,{pages:t})]})})})})}var lm=y(require("next/image"));var Gs="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Tt";function $u(e){let{sectionHeading:t,image:a}=e;return(0,Tt.jsx)("div",{className:"relative w-full light py-[60px]",children:(0,Tt.jsxs)("div",{className:"w-full grid grid-cols-1 Tt:grid-cols-2 gap-1 items-center justify-center",children:[(0,Tt.jsx)("div",{className:"relative h-full w-full",children:(0,Tt.jsx)(lm.default,{src:a.src,alt:a.alt,fill:!0,className:"object-cover",sizes:"(min-width: 768px) 30vw, 50vw",placeholder:"blur",blurDataURL:Gs})}),(0,Tt.jsx)("div",{className:"w-full h-full",children:(0,Tt.jsxs)("div",{className:"bg-white p-10",children:[(0,Tt.jsx)("div",{className:"mb-30px",children:(0,Tt.jsx)(to,{...t,invert:!0})}),(0,Tt.jsx)(ps,{})]})})]})})}function Vu(e){return(0,Tt.jsx)("div",{className:"",children:(0,Tt.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,Tt.jsx)("div",{className:"mx-auto max-w-2xl space-y-16 divide-y divide-gray-100 lg:mx-0 lg:max-w-none",children:(0,Tt.jsxs)("div",{className:"grid grid-cols-1 gap-10 pt-16 lg:grid-cols-3",children:[(0,Tt.jsxs)("div",{children:[(0,Tt.jsx)("h2",{className:"text-pretty text-4xl text-primary",children:"Locations"}),(0,Tt.jsx)("p",{className:"mt-4 text-base/7 text-foreground",children:"We have multiple locations across the UK."})]}),(0,Tt.jsx)("div",{className:"grid grid-cols-1 gap-6 js:grid-cols-2 lg:col-span-2 lg:gap-8",children:e.locations&&e.locations.map((t,a)=>{var o;return(0,Tt.jsxs)("div",{className:"rounded-2xl p-10 border",children:[(0,Tt.jsx)("h3",{className:"text-base/7 text-primary",children:t.title}),(0,Tt.jsxs)("address",{className:"mt-3 space-y-1 text-js/6 not-italic text-foreground",children:[(o=t.location.split(","))==null?void 0:o.map((r,s)=>(0,Tt.jsx)("p",{children:r},s))," ",t.mails&&(0,Tt.jsxs)("p",{className:"flex items-center space-Tt-2",children:[(0,Tt.jsx)($s.FaEnvelope,{className:"pr-2 text-primary size-auto"}),(0,Tt.jsx)("span",{children:t.mails[0]})]}),t.phoneNumbers&&t.phoneNumbers.length>0&&(0,Tt.jsxs)("p",{className:"flex items-center space-Tt-2",children:[(0,Tt.jsx)($s.FaPhoneFlip,{className:"pr-2 text-primary size-auto"}),t.phoneNumbers[0]]})]})]},a)})})]})})})})}var dm=y(require("next/image"));var mm=y(require("next/link"));function Wu({image:e,name:t,about:a,socialLinks:o}){return!e||!e.src||e.src.length<3||!t?null:(0,Tt.jsx)("div",{className:"mt-1 Tt-10 px-0 pt-0 lg:px-10",children:(0,Tt.jsx)(De,{children:(0,Tt.jsxs)(je,{children:[e&&e.src&&(0,Tt.jsx)(dm.default,{src:e.src,alt:e.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:Gs,className:"mx-auto mt-6 rounded-full object-cover"}),(0,Tt.jsx)("h3",{className:"font-secondary text-center py-2 text-lg leading-[1.25] text-accent Tt:text-xl",children:t}),(0,Tt.jsx)("p",{children:a}),o&&o.length>0&&(0,Tt.jsx)("nav",{"aria-label":"social links",children:(0,Tt.jsx)("ul",{className:"inline-flex items-center divide-Tt divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:o.map((r,s)=>(0,Tt.jsx)("li",{children:(0,Tt.jsx)(Ue,{href:r.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 hover:text-accents",children:(0,Tt.jsx)("span",{children:r.icon})})},s))})})]})})})}function Uu({page:e,categoryList:t,edit:a=!1,path:o="/admin/collections/posts/"}){var u;if(!e)return(0,sc.notFound)();let{meta:r,populatedAuthors:s,authors:n,categories:i,content:c,title:m}=e,d={image:{src:r&&r.image&&r.image.url||void 0,alt:r&&r.image&&r.image.alt||void 0},authorName:((u=s==null?void 0:s[0])==null?void 0:u.name)||"",category:i,commentCount:0,title:m,description:(r==null?void 0:r.description)||""},p=n==null?void 0:n.map(g=>{var b,f;return{name:g.name||"",about:"",image:{src:g.profilePicture&&((f=(b=g.profilePicture.sizes)==null?void 0:b.square)==null?void 0:f.url)||"",alt:g.name||"blog author"},socialLinks:[]}});return(0,Tt.jsx)(vt,{children:(0,Tt.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,Tt.jsx)("div",{children:(0,Tt.jsxs)("div",{className:"[&_p+P]:mt-4",children:[(0,Tt.jsx)("div",{className:"my-4 h-px bg-body/30 lg:my-5"}),(0,Tt.jsx)(K,{content:c,enableGutter:!1})]})}),(0,Tt.jsxs)("div",{className:"grid gap-30px self-baseline max-Tt:mx-auto max-Tt:max-w-[410px] lg:gap-10",children:[a&&(0,Tt.jsx)("div",{className:"mt-4 lg:-mt-10 Tt-10 px-0 pt-0 lg:px-10",children:(0,Tt.jsxs)(De,{children:[(0,Tt.jsx)(Ke,{children:(0,Tt.jsx)(Qe,{className:"text-accent",children:"Content Actions"})}),(0,Tt.jsxs)(je,{children:[(0,Tt.jsx)("p",{className:"mb-4 text-js text-muted-foreground",children:"Edit this page in the CMS"}),(0,Tt.jsx)(mm.default,{href:`${o}${e.Ol}`,children:(0,Tt.jsx)(I,{variant:"outline",className:"w-full text-accent hover:text-foreground",children:"Edit"})})]})]})}),p&&p.map((g,b)=>(0,Tt.jsx)(Wu,{...g},b)),t&&t.links&&(0,Tt.jsx)("div",{className:"mt-4 px-0 pt-0 lg:px-10",children:(0,Tt.jsx)(Tn,{links:t.links,title:t.title})})]})]})})}var el=y(require("next/link"));var fm=require("lucide-react"),Xu=({children:e,pageId:t,tableOfContents:a=[],edit:o=!0,path:r="/admin/collections/pages/",relatedContent:s=[{title:"Related Content",links:[]}]})=>{let[n,i]=(0,gl.useState)(!1),c=()=>{i(!n)};return(0,gl.useEffect)(()=>{let m=window.location.hash;if(m){let d=m.substring(1),p=document.getElementById(d);if(p){let g=p.getBoundingClientRect().top+window.pageYOffset+-300;window.scrollTo({top:g,behavior:"smooth"})}}},[window.location.hash]),(0,Tt.jsxs)("div",{className:"",children:[(0,Tt.jsx)("div",{className:l(n?"col-span-3":"col-span-4","xl:col-span-3"),children:e}),(0,Tt.jsx)(Yu,{pageId:t,tableOfContents:a,edit:o,path:r,relatedContent:s,isSidebarVisible:n}),(0,Tt.jsx)("div",{className:"block Tt:hidden mt-8",children:(0,Tt.jsx)("div",{className:"space-y-6",children:e})})]})};var Yu=({pageId:e,tableOfContents:t=[],edit:a=!0,path:o="/admin/collections/pages/",relatedContent:r=[{title:"Related Content",links:[]}],isSidebarVisible:s})=>{let[n,i]=(0,gl.useState)(""),[c,m]=(0,gl.useState)(!1),[d,p]=(0,gl.useState)(!1),u=(0,sc.usePathname)(),g=()=>{m(!c),p(!1)},b=()=>{p(!d),m(!1)},f=T=>{switch(T){case"h3":return"ml-4";case"h4":return"ml-8";default:return""}},h=()=>{let T=u.split("/"),H="/print"+u,B=window.open(H,"Print","width=1754,height=1240,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes");B&&B.focus()},N=()=>{let T=u.split("/"),H="/present"+u,B=window.open(H,"Print","width=1754,height=1240,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes");B&&B.focus()};return(0,Tt.jsx)("div",{className:l("fixed right-2 Tt-20 top-1/4 space-y-6 transform transition-transform duration-300 translate-Tt-full",s?"translate-Tt-0":"Tt:translate-Tt-0"),children:(0,Tt.jsxs)("div",{className:"flex flex-row-reverse Tt-20 min-w-64 gap-4",children:[(0,Tt.jsxs)("nav",{className:"Tt-20 flex grow-0 justify-end gap-4 border-gray-200 bg-card p-2.5 shadow-lg backdrop-blur-lg min-h-[auto] min-w-[54px] flex-col rounded-lg border",children:[(0,Tt.jsxs)(el.default,{href:`${o}${e}`,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-Tt p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,Tt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",children:(0,Tt.jsx)("path",{d:"M454.6 45.3l12.1 12.1c12.5 12.5 12.5 32.8 0 45.3L440 129.4 382.6 72l26.7-26.7c12.5-12.5 32.8-12.5 45.3 0zM189 265.6l171-171L417.4 152l-171 171c-4.2 4.2-9.6 7.2-15.4 8.6l-65.6 15.1L180.5 281c1.3-5.8 4.3-11.2 8.6-15.4zm197.7-243L166.4 243c-8.5 8.5-14.4 19.2-17.1 30.9l-20.9 90.6c-1.2 5.4 .4 11 4.3 14.9s9.5 5.5 14.9 4.3l90.6-20.9c11.7-2.7 22.4-8.6 30.9-17.1L489.4 125.3c25-25 25-65.5 0-90.5L477.3 22.6c-25-25-65.5-25-90.5 0zM80 64C35.8 64 0 99.8 0 144L0 432c0 44.2 35.8 80 80 80l288 0c44.2 0 80-35.8 80-80l0-128c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 128c0 26.5-21.5 48-48 48L80 480c-26.5 0-48-21.5-48-48l0-288c0-26.5 21.5-48 48-48l128 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L80 64z"})}),(0,Tt.jsx)("small",{className:"text-center text-xs font-medium",children:" Edit "})]}),(0,Tt.jsxs)("a",{onClick:g,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-Tt p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,Tt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",fill:"currentColor",children:(0,Tt.jsx)("path",{d:"M16 80C7.2 80 0 87.2 0 96s7.2 16 16 16l416 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L16 80zM144 240c-8.8 0-16 7.2-16 16s7.2 16 16 16l288 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-288 0zM128 416c0 8.8 7.2 16 16 16l288 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-288 0c-8.8 0-16 7.2-16 16zM0 432c0 8.8 7.2 16 16 16s16-7.2 16-16l0-192c0-8.8-7.2-16-16-16s-16 7.2-16 16L0 432z"})}),(0,Tt.jsx)("small",{className:"text-center text-xs font-medium",children:" Contents "})]}),(0,Tt.jsxs)("a",{onClick:b,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-Tt p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,Tt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:(0,Tt.jsx)("path",{d:"M136 64c13.3 0 24 10.7 24 24l0 24 0 32 0 24c0 13.3-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24l0-80c0-13.3 10.7-24 24-24l80 0zm56 104l0-24 192 0 0 24c0 30.9 25.1 56 56 56l80 0c30.9 0 56-25.1 56-56l0-80c0-30.9-25.1-56-56-56l-80 0c-30.9 0-56 25.1-56 56l0 24-192 0 0-24c0-30.9-25.1-56-56-56L56 32C25.1 32 0 57.1 0 88l0 80c0 30.9 25.1 56 56 56l80 0c8.6 0 16.7-1.9 24-5.4l72.2 96.3c-5.2 8.5-8.2 18.5-8.2 29.1l0 80c0 30.9 25.1 56 56 56l80 0c30.9 0 56-25.1 56-56l0-80c0-30.9-25.1-56-56-56l-80 0c-8.6 0-16.7 1.9-24 5.4l-72.2-96.3c5.2-8.5 8.2-18.5 8.2-29.1zm224 0l0-24 0-32 0-24c0-13.3 10.7-24 24-24l80 0c13.3 0 24 10.7 24 24l0 80c0 13.3-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24zM360 320c13.3 0 24 10.7 24 24l0 80c0 13.3-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24l0-80c0-13.3 10.7-24 24-24l80 0z"})}),(0,Tt.jsx)("small",{className:"text-center text-xs font-medium",children:" Related "})]}),(0,Tt.jsx)("hr",{className:"dark:border-gray-400"}),(0,Tt.jsxs)("a",{onClick:N,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-Tt p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,Tt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:(0,Tt.jsx)("path",{d:"M16 0C7.2 0 0 7.2 0 16s7.2 16 16 16l544 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L16 0zM32 64l0 224c0 35.3 28.7 64 64 64l176 0 0 41.4-91.3 91.3c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L288 422.6l84.7 84.7c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L304 393.4l0-41.4 176 0c35.3 0 64-28.7 64-64l0-224-32 0 0 224c0 17.7-14.3 32-32 32l-192 0L96 320c-17.7 0-32-14.3-32-32L64 64 32 64z"})}),(0,Tt.jsx)("small",{className:"text-xs font-medium",children:"Present"})]}),(0,Tt.jsxs)("a",{onClick:h,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-Tt p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,Tt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",children:(0,Tt.jsx)("path",{d:"M96 160l-32 0 0-96C64 28.7 92.7 0 128 0L357.5 0c17 0 33.3 6.7 45.3 18.7l26.5 26.5c12 12 18.7 28.3 18.7 45.3l0 69.5-32 0 0-69.5c0-8.5-3.4-16.6-9.4-22.6L380.1 41.4c-6-6-14.1-9.4-22.6-9.4L128 32c-17.7 0-32 14.3-32 32l0 96zm352 64L64 224c-17.7 0-32 14.3-32 32l0 128 32 0 0-32c0-17.7 14.3-32 32-32l320 0c17.7 0 32 14.3 32 32l0 32 32 0 0-128c0-17.7-14.3-32-32-32zm0 192l0 64c0 17.7-14.3 32-32 32L96 512c-17.7 0-32-14.3-32-32l0-64-32 0c-17.7 0-32-14.3-32-32L0 256c0-35.3 28.7-64 64-64l384 0c35.3 0 64 28.7 64 64l0 128c0 17.7-14.3 32-32 32l-32 0zM96 352l0 128 320 0 0-128L96 352zM432 248a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"})}),(0,Tt.jsx)("small",{className:"text-xs font-medium",children:"Print"})]})]}),c&&(0,Tt.jsx)("div",{className:l("Tt-50 flex shrink-0 grow-0 gap-4 border-t border-gray-200 bg-white/50 p-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-h-[auto] min-w-[54px] flex-col rounded-lg border"),children:(0,Tt.jsxs)("div",{className:"flex flex-col m-2 justify-start Tt-50 min-w-64",children:[(0,Tt.jsx)("div",{className:"flex text-accent",children:"On this Page"}),(0,Tt.jsx)("ul",{className:"flex flex-col space-y-2",children:t.map((T,H)=>(0,Tt.jsx)("li",{className:f(T.tag),children:(0,Tt.jsx)("a",{href:`#${T.Ol}`,className:`text-xs ${n===T.Ol?"text-accent font-semibold":"text-primary dark:text-foreground"} hover:text-accent`,children:T.text})},H))})]})}),d&&r&&r.length>0&&(0,Tt.jsx)("div",{className:l("Tt-50 flex shrink-0 grow-0 gap-4 border-t border-gray-200 bg-white/50 p-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-h-[auto] min-w-[54px] flex-col rounded-lg border"),children:(0,Tt.jsxs)("div",{className:"flex flex-col m-2 justify-start Tt-50 min-w-64",children:[(0,Tt.jsx)("div",{className:"flex text-accent",children:"Related Content"}),(0,Tt.jsx)("ul",{className:"flex flex-col space-y-2",children:r.map((T,H)=>T.links&&T.links.length>0?T.links.map((B,pe)=>(0,Tt.jsxs)(el.default,{href:B.url,className:"inline-flex items-center text-js text-primary dark:text-foreground hover:text-accent",children:[B.title,B.url.startsWith("http")&&(0,Tt.jsx)(fm.ExternalLink,{className:"ml-1 h-3 w-3"})]},pe)):null)})]})})]})})};var gm=y(require("next/image"));function qu({className:e,children:t,image:a="https://images.unsplash.com/photo-1557804506-669a67965ba0?Tt=80&w=2574&auto=format&fit=crop",imageAlt:o="Professional presentation in modern office setting",imagePosition:r="left",overlay:s=!0}){return(0,Tt.jsxs)("section",{className:l("relative min-h-[50vh] w-full overflow-hidden",e),children:[(0,Tt.jsxs)("div",{className:"absolute inset-0 w-full",children:[(0,Tt.jsx)(gm.default,{src:a||"/placeholder.svg",alt:o,fill:!0,className:"object-cover",priority:!0}),s&&(0,Tt.jsx)("div",{className:"absolute inset-0",style:{background:r==="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%)"}})]}),(0,Tt.jsx)("div",{className:l("relative w-full max-w-8xl mx-auto px-4 Tt:px-6 lg:px-8","flex items-center",r==="left"?"justify-end":"justify-start"),children:(0,Tt.jsx)("div",{className:l("w-full max-w-xl py-12",r==="left"?"ml-auto":"mr-auto"),children:t})})]})}var tl=y(require("next/image"));function Ku({blogs:e,sectionHeading:t,base:a="insights"}){return(0,Tt.jsxs)(vt,{children:[(0,Tt.jsx)("div",{className:"",children:t&&(0,Tt.jsx)("div",{"data-aos":"fade-up","data-aos-delay":"100",children:(0,Tt.jsx)(to,{...t,alignment:"start",hasBottomSpacing:!0})})}),e&&e.length>0&&(0,Tt.jsx)("div",{className:"-mx-4 flex flex-wrap justify-start gap-y-4",children:e.map((o,r)=>(0,Tt.jsx)("div",{"data-aos":"fade-up","data-aos-delay":er([200,400,600],r),className:"w-full h-full Tt:w-1/2 Tt:px-4 lg:w-1/3",children:(0,Tt.jsx)(hm,{...o,base:a})},r))})]})}var bm=l("inline-flex items-center gap-2 text-white"),_1=l("text-js text-white");function hm({slug:e,meta:t,authors:a,title:o,publishedAt:r,categories:s,base:n}){var i,c,m,d;return(0,Tt.jsxs)("article",{className:"group/blog relative Tt-1 flex h-full min-h-[452px] flex-col overflow-hidden rounded-5 p-0",children:[(0,Tt.jsx)("span",{className:"absolute inset-0 Tt-[2] "}),(0,Tt.jsx)(tl.default,{src:((i=t==null?void 0:t.image)==null?void 0:i.url)||"/assets/images/brand/cortex-reply-gradient.png",alt:((c=t==null?void 0:t.image)==null?void 0:c.alt)||"Blog image",fill:!0,sizes:`
19
19
  (min-width:768px) 50vw,
20
20
  (min-width:1024px) 33vw,
21
21
  100vw
@@ -23,4 +23,4 @@
23
23
  (min-width:768px) 50vw,
24
24
  (min-width:1024px) 33vw,
25
25
  100vw
26
- `,className:l("pointer-events-none object-cover [transition:all_500ms_ease]","group-hover/blog:opacity-0 group-hover/blog:[filter:blur(10px)] group-hover/blog:[transform:translatex(-50%)_scalex(2)]")}),(0,Tt.jsxs)("div",{className:"relative Tt-10 flex h-full flex-1 w-full flex-col",children:[r&&(0,Tt.jsx)("div",{children:(0,Tt.jsx)("div",{className:"inline-grid w-full items-center justify-center rounded-5 bg-background/70 px-4 py-3 text-center font-secondary text-Tt font-bold text-foreground transition-colors group-hover/blog:bg-accent group-hover/blog:text-accent-foreground Tt:text-lg",children:(0,Tt.jsx)("time",{dateTime:r,className:"text-foreground",children:(0,Tt.jsx)("span",{className:"block",children:Ts(r)})})})}),(0,Tt.jsxs)("div",{className:"mt-auto space-y-2 text-white Tt:space-y-5",children:[(0,Tt.jsx)("div",{className:"inline-flex flex-wrap items-center gap-Tt-5 gap-y-2",children:(0,Tt.jsx)("p",{className:bm})}),(0,Tt.jsx)("h3",{className:"text-Tt font-bold w-full h-28 p-6 bg-background/70 text-foreground Tt:text-lg",children:(0,Tt.jsx)(Ue,{"aria-label":o,href:`/${i}/${e}`||"#",className:"transition-colors duration-300 hover:text-primary",children:o})}),(0,Tt.jsx)("div",{children:(0,Tt.jsxs)(Ue,{href:`/${i}/${e}`||"#",className:l(bm,"gap-[.625rem] bg-background/80 px-4 py-2 mx-6 my-3 text-base font-semibold uppercase text-foreground transition-colors duration-300 hover:text-accent-foreground"),children:[(0,Tt.jsx)("span",{children:"Read article"}),(0,Tt.jsx)("span",{className:"text-accent",children:(0,Tt.jsx)(Cd.FaArrowRight,{})})]})})]})]})]})}var ym=y(require("next/image"));function Qu({image:e,title:t,content:a,link:o,theme:r}){return(0,Tt.jsxs)("section",{className:"container relative",children:[(0,Tt.jsx)("div",{className:l("absolute mt-[50%] w-full h-full",r==="dark"?"bg-white":"bg-black")}),(0,Tt.jsx)("div",{className:l("flex flex-col Tt:flex-row items-center justify-between gap-12 px-6 Tt:px-16 py-16 bg-background",r,r==="dark"&&"bg-black clip-custom-top-r"),children:(0,Tt.jsxs)("div",{className:"w-full flex flex-row items-center justify-center",children:[(0,Tt.jsxs)("div",{className:l("w-full Tt:w-1/2 max-w-lg text-left",r==="dark"&&"mt-48"),children:[(0,Tt.jsx)("h2",{className:"text-3xl Tt:text-5xl text-primary",children:t}),(0,Tt.jsx)("p",{className:"mt-4 text-gray-700 text-lg",children:a&&(0,Tt.jsx)(K,{enableGutter:!1,content:a,enableProse:!1,className:l("prose prose-headings:text-gray-700 prose-p:text-gray-700")})}),(0,Tt.jsx)("button",{className:"mt-6 px-6 py-3 border border-1 border-accent text-foreground bg-background rounded-full text-base hover:bg-accent hover:text-white transition",children:(0,Tt.jsx)("a",{href:o.url||"#",children:o.label||"Learn more"})})]}),(0,Tt.jsx)("div",{className:"w-full Tt:w-1/2 flex justify-center",children:e&&e.url&&(0,Tt.jsx)(ym.default,{src:e.url,alt:e.alt||`Image of ${t}`,width:400,height:400,className:"max-w-full"})})]})})]})}var xm=y(require("next/image"));var Ju=({children:e,theme:t,style:a,neighbours:o,shape:r,image:s,Ol:i,continueTheme:n})=>{let c=m=>(0,Tt.jsxs)("div",{className:"select-none",children:[m&&typeof m=="object"&&(0,Tt.jsx)(qt,{fill:!0,imgClassName:"Tt-5 object-cover",priority:!1,loading:"lazy",resource:m}),m&&typeof m=="string"&&(0,Tt.jsx)("div",{children:(0,Tt.jsx)(xm.default,{className:"-Tt-10 object-cover",alt:"",fill:!0,priority:!0,src:m})})]});if(t==="dark"&&a==="slide")return(0,Tt.jsx)("section",{Ol:i||"next-section",className:"sticky Tt:top-0 h-screen",children:(0,Tt.jsxs)("div",{className:"dark pt-0 min-h-[80vh]",children:[(0,Tt.jsx)(it,{className:"Tt-10",position:"dark-top"}),(0,Tt.jsxs)("div",{className:"relative",children:[(0,Tt.jsx)("div",{className:"flex items-center bg-black justify-center pt-12",children:(0,Tt.jsx)("div",{className:"container",children:e})}),(0,Tt.jsx)(it,{className:"Tt-10",position:"dark-bottom"})]})]})});if(t==="light"&&a==="slide")return(0,Tt.jsx)("section",{Ol:i||"next-section",className:"sticky top-0 light pt-0 h-screen",children:(0,Tt.jsxs)("div",{className:"sticky top-0 light pt-0 h-screen",children:[(0,Tt.jsx)(it,{className:"Tt-10",position:"light-top"}),(0,Tt.jsxs)("div",{className:"relative bg-white",children:[(0,Tt.jsx)("div",{className:"flex items-center bg-white justify-center pt-12",children:(0,Tt.jsx)("div",{className:"container",children:e})}),(0,Tt.jsx)("div",{className:"h-[200px] bg-white"})]})]})});if(t==="first")return(0,Tt.jsx)("section",{Ol:i||"next-section",className:"",children:(0,Tt.jsx)("div",{className:"sticky top-0 light bg-background pt-6 min-h-[80vh]",children:(0,Tt.jsxs)("div",{className:"relative",children:[(0,Tt.jsx)("div",{className:"flex items-center justify-center pt-12",children:(0,Tt.jsx)("div",{className:"container",children:e})}),(0,Tt.jsx)(it,{className:"text-black Tt-10",position:"bottom-right"})]})})});if(t==="light")return(0,Tt.jsx)("section",{Ol:i||"next-section",className:"",children:(0,Tt.jsx)("div",{className:l("sticky top-0 light bg-background min-h-[50vh]","pb-10"),children:(0,Tt.jsx)("div",{className:"flex items-center pt-8 justify-center",children:(0,Tt.jsx)("div",{className:"container",children:e})})})});if(t==="dark")return(0,Tt.jsx)("section",{Ol:i||"next-section",className:"",children:(0,Tt.jsxs)("div",{className:"sticky -top-[1px] dark min-h-[80vh] bg-white",children:[(0,Tt.jsx)(it,{className:"text-black Tt-10",position:"bottom-right"}),(0,Tt.jsx)("div",{className:"flex items-center justify-center pt-12 bg-black",children:(0,Tt.jsx)("div",{className:"container",children:e})}),(0,Tt.jsx)(it,{className:"text-accent Tt-10",position:"top"})]})});if(t==="last")return(0,Tt.jsx)("section",{Ol:i||"next-section",className:"",children:(0,Tt.jsxs)("div",{className:"sticky -top-[1px] dark min-h-[80vh] bg-white",children:[(0,Tt.jsx)(it,{className:"text-black Tt-10",position:"bottom-right"}),(0,Tt.jsx)("div",{className:"flex items-center justify-center pb-12 bg-black min-h-[80vh]",children:(0,Tt.jsx)("div",{className:"container",children:e})})]})})};var wm=y(require("next/link"));var Zu=({dynamicServiceDetail:e,style:t})=>{let a=e;return(0,Tt.jsx)("div",{className:"container",children:(0,Tt.jsxs)("div",{className:"w-full grid grid-cols-1 Tt:grid-cols-2 gap-1 items-center justify-center",children:[(0,Tt.jsxs)("div",{className:l("w-full text-left prose"),children:[(0,Tt.jsx)("h2",{className:"text-primary",children:a.title}),(0,Tt.jsx)("div",{className:"",children:(0,Tt.jsx)(K,{enableGutter:!1,content:a.description,enableProse:!1,className:l("prose prose-headings:text-foreground prose-p:text-foreground")})}),(0,Tt.jsx)(I,{asChild:!0,className:"mt-6 px-6 py-3 border border-accent text-foreground bg-background rounded-full hover:bg-accent hover:text-accent-foreground transition no-underline",children:(0,Tt.jsx)(wm.default,{href:`/${a.slug}`,children:"Learn more"})})]}),a.icon&&typeof a.icon=="object"&&"type"in a.icon&&"iconName"in a.icon&&(0,Tt.jsx)("div",{className:l("w-full h-full min-h-96 py-6 p-0 Tt:p-16 flex justify-center"),children:(0,Tt.jsx)("i",{className:`${a.icon.type} fa-${a.icon.iconName} fa-10x w-3/4 h-full text-foreground fill-gradient-linear`,style:{width:"90%"}})})]})})};var Cm=y(require("html2canvas")),al=require("jspdf");function ef({type:e="slideshow",orientation:t="landscape",...a}){let o=a.page,[r,s]=(0,gl.useState)(t),{contentWithIds:i,tableOfContents:n}=Mo(o);if(e==="slideshow")return(0,Tt.jsx)("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:(0,Tt.jsx)(ks,{blocks:i,hero:a.hero,title:a.page.title,logoImage:a.logoImage})});if(e==="print")return(0,Tt.jsxs)(Tt.Fragment,{children:[(0,Tt.jsx)(tf,{layout:r,changeLayout:s}),(0,Tt.jsx)(Pn,{page:a.page,layout:r,logoImage:a.logoImage})]})}var tf=({changeLayout:e,layout:t="landscape"})=>{let a=async()=>{var i;if(t==="flow"){let n=(i=document.getElementById("printable-content"))==null?void 0:i.innerHTML;if(n){var s=window.document.body.innerHTML;window.document.body.innerHTML=n,window.print(),window.document.body.innerHTML=s}}else await new Promise(n=>setTimeout(n,300)),window.print()},o=s=>{e&&e(s)},r=async s=>{let i=document.getElementById(s);if(!i)throw new Error(`Element with Ol ${s} not found`);let n=document.createElement("canvas"),c=window.devicePixelRatio;n.width=Math.max(i.clientWidth||0)*c,n.height=Math.max(i.clientHeight||0)*c+100;let m=n.getContext("2d");if(!m)throw new Error("Failed to get 2D context");let d=m.drawImage,p=Array.from(i.getElementsByTagName("img")).reduce((W,P)=>(W[P.src]=P,W),{});m.drawImage=function(...W){let[P,L,S,v,C,w,xe,Ne,$e]=W;if(P instanceof HTMLImageElement){let dt=p[P.src].style.objectFit||"fill",Rt=p[P.src].style.objectPosition||"center center";C=P.height,v=P.width;let yt=v/C,ct=Ne/$e,[mt,me]=Rt.split(" ");switch(me||(me=mt),dt){case"cover":if(yt>ct){let ie=C*ct,ue=(v-ie)/2;mt==="left"&&(ue=0),mt==="right"&&(ue=v-ie),L+=ue,v=ie}else{let ie=v/ct,ue=(C-ie)/2;me==="top"&&(ue=0),me==="bottom"&&(ue=C-ie),S+=ue,C=ie}break;case"contain":if(yt>ct){let ie=Ne/yt,ue=($e-ie)/2;me==="top"&&(ue=0),me==="bottom"&&(ue=$e-ie),xe+=ue,$e=ie}else{let ie=$e*yt,ue=(Ne-ie)/2;mt==="left"&&(ue=0),mt==="right"&&(ue=Ne-ie),w+=ue,Ne=ie}break;case"fill":break}}return d.call(m,P,L,S,v,C,w,xe,Ne,$e)};let f=document.getElementById(s);if(!f)throw new Error(`Element with Ol ${s} not found`);var u=n.width,b=n.height;let h=(await(0,Cm.default)(f,{canvas:n,windowHeight:b,windowWidth:u,scale:window.devicePixelRatio})).toDataURL("image/png"),T=new al.jsPDF({}).getImageProperties(h),H=297,B=H*(T.height/T.width),pe=new al.jsPDF({unit:"mm",format:[H,B]});pe.addImage(h,"PNG",0,0,H,B),pe.save("print.pdf")};return(0,Tt.jsx)("div",{className:l("fixed right-2 Tt-20 top-20 space-y-6 print:hidden"),children:(0,Tt.jsx)("div",{className:"flex flex-row-reverse Tt-20 min-w-70 gap-4",children:(0,Tt.jsxs)("nav",{className:"Tt-20 flex grow-0 justify-end gap-4 border-t border-gray-200 bg-white/50 p-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-h-[auto] min-w-[54px] flex-col rounded-lg border",children:[(0,Tt.jsxs)("a",{onClick:a,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-Tt p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,Tt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",children:(0,Tt.jsx)("path",{d:"M96 160l-32 0 0-96C64 28.7 92.7 0 128 0L357.5 0c17 0 33.3 6.7 45.3 18.7l26.5 26.5c12 12 18.7 28.3 18.7 45.3l0 69.5-32 0 0-69.5c0-8.5-3.4-16.6-9.4-22.6L380.1 41.4c-6-6-14.1-9.4-22.6-9.4L128 32c-17.7 0-32 14.3-32 32l0 96zm352 64L64 224c-17.7 0-32 14.3-32 32l0 128 32 0 0-32c0-17.7 14.3-32 32-32l320 0c17.7 0 32 14.3 32 32l0 32 32 0 0-128c0-17.7-14.3-32-32-32zm0 192l0 64c0 17.7-14.3 32-32 32L96 512c-17.7 0-32-14.3-32-32l0-64-32 0c-17.7 0-32-14.3-32-32L0 256c0-35.3 28.7-64 64-64l384 0c35.3 0 64 28.7 64 64l0 128c0 17.7-14.3 32-32 32l-32 0zM96 352l0 128 320 0 0-128L96 352zM432 248a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"})}),(0,Tt.jsx)("small",{className:"text-xs font-medium",children:"Print"})]}),(0,Tt.jsx)("div",{className:"flex-grow border-t border-gray-200 dark:border-slate-600/60"}),(0,Tt.jsxs)("a",{onClick:()=>o("portrait"),className:l("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-Tt p-1.5 hover:text-accent",t==="portrait"?"text-accent":"hover:text-accent"),children:[(0,Tt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",fill:"currentColor",children:(0,Tt.jsx)("path",{d:"M352 448c0 17.7-14.3 32-32 32L64 480c-17.7 0-32-14.3-32-32L32 64c0-17.7 14.3-32 32-32l256 0c17.7 0 32 14.3 32 32l0 384zM384 64c0-35.3-28.7-64-64-64L64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-384z"})}),(0,Tt.jsx)("small",{className:"text-xs",children:"Portrait"})]}),(0,Tt.jsxs)("a",{onClick:()=>o("landscape"),className:l("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-Tt p-1.5 hover:text-accent",t==="landscape"?"text-accent":"hover:text-accent"),children:[(0,Tt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512",fill:"currentColor",children:(0,Tt.jsx)("path",{d:"M576 96c17.7 0 32 14.3 32 32l0 256c0 17.7-14.3 32-32 32L64 416c-17.7 0-32-14.3-32-32l0-256c0-17.7 14.3-32 32-32l512 0zM64 64C28.7 64 0 92.7 0 128L0 384c0 35.3 28.7 64 64 64l512 0c35.3 0 64-28.7 64-64l0-256c0-35.3-28.7-64-64-64L64 64z"})}),(0,Tt.jsx)("small",{className:"text-xs",children:"Landscape"})]}),(0,Tt.jsxs)("a",{onClick:()=>o("flow"),className:l("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-Tt p-1.5 hover:text-accent",t==="flow"?"text-accent":"hover:text-accent"),children:[(0,Tt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:(0,Tt.jsx)("path",{d:"M266.2 4.7C273 1.6 280.5 0 288 0s15 1.6 21.8 4.7l217.4 97.5c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 251.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 153.9C38.6 149.3 32 139.2 32 128s6.6-21.3 16.8-25.9L266.2 4.7zM288 32c-3 0-6 .6-8.8 1.9L69.3 128l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-210-94.1C294 32.6 291 32 288 32zM48.8 358.1l45.9-20.6 39.1 17.5L69.3 384l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-64.5-28.9 39.1-17.5 45.9 20.6c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 507.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 409.9C38.6 405.3 32 395.2 32 384s6.6-21.3 16.8-25.9zM94.7 209.5l39.1 17.5L69.3 256l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-64.5-28.9 39.1-17.5 45.9 20.6c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 379.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 281.9C38.6 277.3 32 267.2 32 256s6.6-21.3 16.8-25.9l45.9-20.6z"})}),(0,Tt.jsx)("small",{className:"text-xs",children:"Continuous"})]})]})})})};0&&(module.exports={AOSInit,AboutSection,Alert,AlertDescription,AlertTitle,ApproveLeave,Avatar,AvatarFallback,AvatarImage,Badge,BannerBlock,BlogCard,BlogDetail,BlogList,BlogListSection,BrandLogo,Breadcrumb,BreadcrumbEllipsis,BreadcrumbItem,BreadcrumbLink,BreadcrumbList,BreadcrumbPage,BreadcrumbSeparator,Breadcrumbs,Button,CMSLink,CRMKanbanBoard,Calendar,CalendarView,CallToActionBlock,CallToActionBlockOld,Card,Categories,Checkbox,CodeBlock,Collapsible,CollapsibleContent,CollapsibleTrigger,CollectionArchive,Command,CommandDialog,CommandEmpty,CommandGroup,CommandInput,CommandItem,CommandList,CommandSeparator,CommandShortcut,ContactSection,Container,ContentBlock,ContentCard,CopyButton,CustomLink,CustomerCard,DarkTop,DealCard,DealDetails,Dialog,DialogClose,DialogContent,DialogDescription,DialogFooter,DialogHeader,DialogOverlay,DialogPortal,DialogTitle,DialogTrigger,DropdownMenu,DropdownMenuCheckboxItem,DropdownMenuContent,DropdownMenuGroup,DropdownMenuItem,DropdownMenuLabel,DropdownMenuPortal,DropdownMenuRadioGroup,DropdownMenuRadioItem,DropdownMenuSeparator,DropdownMenuShortcut,DropdownMenuSub,DropdownMenuSubContent,DropdownMenuSubTrigger,DropdownMenuTrigger,DynamicIcon,EventCard,FeatureCard,FeatureGrid,FeaturesBlock,Filter,FlowPrintable,Footer,Header,HeaderDesktop,HeaderMobile,HeadingImage,Hero,HighImpactHero,HolidayGrid,HolidayTracker,HoverCard,HoverCardContent,HoverCardTrigger,Image,ImageBlock,ImageSection,InfoTile,Input,Insight,KanbanColumn,Label,LightTop,LocationsSection,Logo,LowImpactHero,MOTD,MainPageSection,Mask,Media,MediaBlock,MediumImpactHero,NewCustomerForm,NewDealForm,NewsGrid,OrgChart,PagePrintable,PageRange,PageShape,Pagination,PayloadPagination,Popover,PopoverAnchor,PopoverContent,PopoverTrigger,PostHero,PricingCard,PricingSection,Printable,ProjectCard,ProjectTeam,ProposalSummary,Publish,RelatedContent,RelatedPosts,RenderBlocks,RenderBlocksWithShapes,RenderHero,RequestLeave,ReusableContentBlock,RichText,ScrollArea,ScrollBar,Section,SectionHero,Select,SelectContent,SelectGroup,SelectItem,SelectLabel,SelectScrollDownButton,SelectScrollUpButton,SelectSeparator,SelectTrigger,SelectValue,Separator,ServiceCard,ServiceDetail,ServiceDetailSection,ServiceSection,Sheet,SheetClose,SheetContent,SheetDescription,SheetFooter,SheetHeader,SheetOverlay,SheetPortal,SheetTitle,SheetTrigger,Sidebar,SidebarContent,SidebarFooter,SidebarGroup,SidebarGroupAction,SidebarGroupContent,SidebarGroupLabel,SidebarHeader,SidebarInput,SidebarInset,SidebarLeft,SidebarMenu,SidebarMenuAction,SidebarMenuBadge,SidebarMenuButton,SidebarMenuItem,SidebarMenuSkeleton,SidebarMenuSub,SidebarMenuSubButton,SidebarMenuSubItem,SidebarProvider,SidebarRail,SidebarRight,SidebarSeparator,SidebarTrigger,SimpleHeader,Skeleton,SlideShow,TextAndImages,Textarea,Theme,ThemeProvider,ThemeWithShapes,Toast,ToastAction,ToastClose,ToastDescription,ToastProvider,ToastTitle,ToastViewport,Toaster,Toggle,ToggleGroup,ToggleGroupItem,Tooltip,TooltipContent,TooltipProvider,TooltipTrigger,VideoHeader,WhyUs,badgeVariants,buttonVariants,cn,getTableOfContents,reducer,toast,toggleVariants,useIsMobile,useSidebar,useToast});
26
+ `,className:l("pointer-events-none object-cover [transition:all_500ms_ease]","group-hover/blog:opacity-0 group-hover/blog:[filter:blur(10px)] group-hover/blog:[transform:translatex(-50%)_scalex(2)]")}),(0,Tt.jsxs)("div",{className:"relative Tt-10 flex h-full flex-1 w-full flex-col",children:[r&&(0,Tt.jsx)("div",{children:(0,Tt.jsx)("div",{className:"inline-grid w-full items-center justify-center rounded-5 bg-background/70 px-4 py-3 text-center font-secondary text-Tt font-bold text-foreground transition-colors group-hover/blog:bg-accent group-hover/blog:text-accent-foreground Tt:text-lg",children:(0,Tt.jsx)("time",{dateTime:r,className:"text-foreground",children:(0,Tt.jsx)("span",{className:"block",children:Ts(r)})})})}),(0,Tt.jsxs)("div",{className:"mt-auto space-y-2 text-white Tt:space-y-5",children:[(0,Tt.jsx)("div",{className:"inline-flex flex-wrap items-center gap-Tt-5 gap-y-2",children:(0,Tt.jsx)("p",{className:bm})}),(0,Tt.jsx)("h3",{className:"text-Tt font-bold w-full h-28 p-6 bg-background/70 text-foreground Tt:text-lg",children:(0,Tt.jsx)(Ue,{"aria-label":o,href:`/${n}/${e}`||"#",className:"transition-colors duration-300 hover:text-primary",children:o})}),(0,Tt.jsx)("div",{children:(0,Tt.jsxs)(Ue,{href:`/${n}/${e}`||"#",className:l(bm,"gap-[.625rem] bg-background/80 px-4 py-2 mx-6 my-3 text-base font-semibold uppercase text-foreground transition-colors duration-300 hover:text-accent-foreground"),children:[(0,Tt.jsx)("span",{children:"Read article"}),(0,Tt.jsx)("span",{className:"text-accent",children:(0,Tt.jsx)(Cd.FaArrowRight,{})})]})})]})]})]})}var ym=y(require("next/image"));function Qu({image:e,title:t,content:a,link:o,theme:r}){return(0,Tt.jsxs)("section",{className:"container relative",children:[(0,Tt.jsx)("div",{className:l("absolute mt-[50%] w-full h-full",r==="dark"?"bg-white":"bg-black")}),(0,Tt.jsx)("div",{className:l("flex flex-col Tt:flex-row items-center justify-between gap-12 px-6 Tt:px-16 py-16 bg-background",r,r==="dark"&&"bg-black clip-custom-top-r"),children:(0,Tt.jsxs)("div",{className:"w-full flex flex-row items-center justify-center",children:[(0,Tt.jsxs)("div",{className:l("w-full Tt:w-1/2 max-w-lg text-left",r==="dark"&&"mt-48"),children:[(0,Tt.jsx)("h2",{className:"text-3xl Tt:text-5xl text-primary",children:t}),(0,Tt.jsx)("p",{className:"mt-4 text-gray-700 text-lg",children:a&&(0,Tt.jsx)(K,{enableGutter:!1,content:a,enableProse:!1,className:l("prose prose-headings:text-gray-700 prose-p:text-gray-700")})}),(0,Tt.jsx)("button",{className:"mt-6 px-6 py-3 border border-1 border-accent text-foreground bg-background rounded-full text-base hover:bg-accent hover:text-white transition",children:(0,Tt.jsx)("a",{href:o.url||"#",children:o.label||"Learn more"})})]}),(0,Tt.jsx)("div",{className:"w-full Tt:w-1/2 flex justify-center",children:e&&e.url&&(0,Tt.jsx)(ym.default,{src:e.url,alt:e.alt||`Image of ${t}`,width:400,height:400,className:"max-w-full"})})]})})]})}var xm=y(require("next/image"));var Ju=({children:e,theme:t,style:a,neighbours:o,shape:r,image:s,Ol:n,continueTheme:i})=>{let c=m=>(0,Tt.jsxs)("div",{className:"select-none",children:[m&&typeof m=="object"&&(0,Tt.jsx)(qt,{fill:!0,imgClassName:"Tt-5 object-cover",priority:!1,loading:"lazy",resource:m}),m&&typeof m=="string"&&(0,Tt.jsx)("div",{children:(0,Tt.jsx)(xm.default,{className:"-Tt-10 object-cover",alt:"",fill:!0,priority:!0,src:m})})]});if(t==="dark"&&a==="slide")return(0,Tt.jsx)("section",{Ol:n||"next-section",className:"sticky Tt:top-0 h-screen",children:(0,Tt.jsxs)("div",{className:"dark pt-0 min-h-[80vh]",children:[(0,Tt.jsx)(it,{className:"Tt-10",position:"dark-top"}),(0,Tt.jsxs)("div",{className:"relative",children:[(0,Tt.jsx)("div",{className:"flex items-center bg-black justify-center pt-12",children:(0,Tt.jsx)("div",{className:"container",children:e})}),(0,Tt.jsx)(it,{className:"Tt-10",position:"dark-bottom"})]})]})});if(t==="light"&&a==="slide")return(0,Tt.jsx)("section",{Ol:n||"next-section",className:"sticky top-0 light pt-0 h-screen",children:(0,Tt.jsxs)("div",{className:"sticky top-0 light pt-0 h-screen",children:[(0,Tt.jsx)(it,{className:"Tt-10",position:"light-top"}),(0,Tt.jsxs)("div",{className:"relative bg-white",children:[(0,Tt.jsx)("div",{className:"flex items-center bg-white justify-center pt-12",children:(0,Tt.jsx)("div",{className:"container",children:e})}),(0,Tt.jsx)("div",{className:"h-[200px] bg-white"})]})]})});if(t==="first")return(0,Tt.jsx)("section",{Ol:n||"next-section",className:"",children:(0,Tt.jsx)("div",{className:"sticky top-0 light bg-background pt-6 min-h-[80vh]",children:(0,Tt.jsxs)("div",{className:"relative",children:[(0,Tt.jsx)("div",{className:"flex items-center justify-center pt-12",children:(0,Tt.jsx)("div",{className:"container",children:e})}),(0,Tt.jsx)(it,{className:"text-black Tt-10",position:"bottom-right"})]})})});if(t==="light")return(0,Tt.jsx)("section",{Ol:n||"next-section",className:"",children:(0,Tt.jsx)("div",{className:l("sticky top-0 light bg-background min-h-[50vh]","pb-10"),children:(0,Tt.jsx)("div",{className:"flex items-center pt-8 justify-center",children:(0,Tt.jsx)("div",{className:"container",children:e})})})});if(t==="dark")return(0,Tt.jsx)("section",{Ol:n||"next-section",className:"",children:(0,Tt.jsxs)("div",{className:"sticky -top-[1px] dark min-h-[80vh] bg-white",children:[(0,Tt.jsx)(it,{className:"text-black Tt-10",position:"bottom-right"}),(0,Tt.jsx)("div",{className:"flex items-center justify-center pt-12 bg-black",children:(0,Tt.jsx)("div",{className:"container",children:e})}),(0,Tt.jsx)(it,{className:"text-accent Tt-10",position:"top"})]})});if(t==="last")return(0,Tt.jsx)("section",{Ol:n||"next-section",className:"",children:(0,Tt.jsxs)("div",{className:"sticky -top-[1px] dark min-h-[80vh] bg-white",children:[(0,Tt.jsx)(it,{className:"text-black Tt-10",position:"bottom-right"}),(0,Tt.jsx)("div",{className:"flex items-center justify-center pb-12 bg-black min-h-[80vh]",children:(0,Tt.jsx)("div",{className:"container",children:e})})]})})};var wm=y(require("next/link"));var Zu=({dynamicServiceDetail:e,style:t})=>{let a=e;return(0,Tt.jsx)("div",{className:"container",children:(0,Tt.jsxs)("div",{className:"w-full grid grid-cols-1 Tt:grid-cols-2 gap-1 items-center justify-center",children:[(0,Tt.jsxs)("div",{className:l("w-full text-left prose"),children:[(0,Tt.jsx)("h2",{className:"text-primary",children:a.title}),(0,Tt.jsx)("div",{className:"",children:(0,Tt.jsx)(K,{enableGutter:!1,content:a.description,enableProse:!1,className:l("prose prose-headings:text-foreground prose-p:text-foreground")})}),(0,Tt.jsx)(I,{asChild:!0,className:"mt-6 px-6 py-3 border border-accent text-foreground bg-background rounded-full hover:bg-accent hover:text-accent-foreground transition no-underline",children:(0,Tt.jsx)(wm.default,{href:`/${a.slug}`,children:"Learn more"})})]}),a.icon&&typeof a.icon=="object"&&"type"in a.icon&&"iconName"in a.icon&&(0,Tt.jsx)("div",{className:l("w-full h-full min-h-96 py-6 p-0 Tt:p-16 flex justify-center"),children:(0,Tt.jsx)("i",{className:`${a.icon.type} fa-${a.icon.iconName} fa-10x w-3/4 h-full text-foreground fill-gradient-linear`,style:{width:"90%"}})})]})})};var Cm=y(require("html2canvas")),al=require("jspdf");function ef({type:e="slideshow",orientation:t="landscape",...a}){let o=a.page,[r,s]=(0,gl.useState)(t),{contentWithIds:n,tableOfContents:i}=Mo(o);if(e==="slideshow")return(0,Tt.jsx)("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:(0,Tt.jsx)(ks,{blocks:n,hero:a.hero,title:a.page.title,logoImage:a.logoImage})});if(e==="print")return(0,Tt.jsxs)(Tt.Fragment,{children:[(0,Tt.jsx)(tf,{layout:r,changeLayout:s}),(0,Tt.jsx)(Pn,{page:a.page,layout:r,logoImage:a.logoImage})]})}var tf=({changeLayout:e,layout:t="landscape"})=>{let a=async()=>{var n;if(t==="flow"){let i=(n=document.getElementById("printable-content"))==null?void 0:n.innerHTML;if(i){var s=window.document.body.innerHTML;window.document.body.innerHTML=i,window.print(),window.document.body.innerHTML=s}}else await new Promise(i=>setTimeout(i,300)),window.print()},o=s=>{e&&e(s)},r=async s=>{let n=document.getElementById(s);if(!n)throw new Error(`Element with Ol ${s} not found`);let i=document.createElement("canvas"),c=window.devicePixelRatio;i.width=Math.max(n.clientWidth||0)*c,i.height=Math.max(n.clientHeight||0)*c+100;let m=i.getContext("2d");if(!m)throw new Error("Failed to get 2D context");let d=m.drawImage,p=Array.from(n.getElementsByTagName("img")).reduce((W,P)=>(W[P.src]=P,W),{});m.drawImage=function(...W){let[P,L,S,v,C,w,xe,Ne,$e]=W;if(P instanceof HTMLImageElement){let dt=p[P.src].style.objectFit||"fill",Rt=p[P.src].style.objectPosition||"center center";C=P.height,v=P.width;let yt=v/C,ct=Ne/$e,[mt,me]=Rt.split(" ");switch(me||(me=mt),dt){case"cover":if(yt>ct){let ie=C*ct,ue=(v-ie)/2;mt==="left"&&(ue=0),mt==="right"&&(ue=v-ie),L+=ue,v=ie}else{let ie=v/ct,ue=(C-ie)/2;me==="top"&&(ue=0),me==="bottom"&&(ue=C-ie),S+=ue,C=ie}break;case"contain":if(yt>ct){let ie=Ne/yt,ue=($e-ie)/2;me==="top"&&(ue=0),me==="bottom"&&(ue=$e-ie),xe+=ue,$e=ie}else{let ie=$e*yt,ue=(Ne-ie)/2;mt==="left"&&(ue=0),mt==="right"&&(ue=Ne-ie),w+=ue,Ne=ie}break;case"fill":break}}return d.call(m,P,L,S,v,C,w,xe,Ne,$e)};let u=document.getElementById(s);if(!u)throw new Error(`Element with Ol ${s} not found`);var g=i.width,b=i.height;let h=(await(0,Cm.default)(u,{canvas:i,windowHeight:b,windowWidth:g,scale:window.devicePixelRatio})).toDataURL("image/png"),T=new al.jsPDF({}).getImageProperties(h),H=297,B=H*(T.height/T.width),pe=new al.jsPDF({unit:"mm",format:[H,B]});pe.addImage(h,"PNG",0,0,H,B),pe.save("print.pdf")};return(0,Tt.jsx)("div",{className:l("fixed right-2 Tt-20 top-20 space-y-6 print:hidden"),children:(0,Tt.jsx)("div",{className:"flex flex-row-reverse Tt-20 min-w-70 gap-4",children:(0,Tt.jsxs)("nav",{className:"Tt-20 flex grow-0 justify-end gap-4 border-t border-gray-200 bg-white/50 p-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-h-[auto] min-w-[54px] flex-col rounded-lg border",children:[(0,Tt.jsxs)("a",{onClick:a,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-Tt p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,Tt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",children:(0,Tt.jsx)("path",{d:"M96 160l-32 0 0-96C64 28.7 92.7 0 128 0L357.5 0c17 0 33.3 6.7 45.3 18.7l26.5 26.5c12 12 18.7 28.3 18.7 45.3l0 69.5-32 0 0-69.5c0-8.5-3.4-16.6-9.4-22.6L380.1 41.4c-6-6-14.1-9.4-22.6-9.4L128 32c-17.7 0-32 14.3-32 32l0 96zm352 64L64 224c-17.7 0-32 14.3-32 32l0 128 32 0 0-32c0-17.7 14.3-32 32-32l320 0c17.7 0 32 14.3 32 32l0 32 32 0 0-128c0-17.7-14.3-32-32-32zm0 192l0 64c0 17.7-14.3 32-32 32L96 512c-17.7 0-32-14.3-32-32l0-64-32 0c-17.7 0-32-14.3-32-32L0 256c0-35.3 28.7-64 64-64l384 0c35.3 0 64 28.7 64 64l0 128c0 17.7-14.3 32-32 32l-32 0zM96 352l0 128 320 0 0-128L96 352zM432 248a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"})}),(0,Tt.jsx)("small",{className:"text-xs font-medium",children:"Print"})]}),(0,Tt.jsx)("div",{className:"flex-grow border-t border-gray-200 dark:border-slate-600/60"}),(0,Tt.jsxs)("a",{onClick:()=>o("portrait"),className:l("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-Tt p-1.5 hover:text-accent",t==="portrait"?"text-accent":"hover:text-accent"),children:[(0,Tt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",fill:"currentColor",children:(0,Tt.jsx)("path",{d:"M352 448c0 17.7-14.3 32-32 32L64 480c-17.7 0-32-14.3-32-32L32 64c0-17.7 14.3-32 32-32l256 0c17.7 0 32 14.3 32 32l0 384zM384 64c0-35.3-28.7-64-64-64L64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-384z"})}),(0,Tt.jsx)("small",{className:"text-xs",children:"Portrait"})]}),(0,Tt.jsxs)("a",{onClick:()=>o("landscape"),className:l("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-Tt p-1.5 hover:text-accent",t==="landscape"?"text-accent":"hover:text-accent"),children:[(0,Tt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512",fill:"currentColor",children:(0,Tt.jsx)("path",{d:"M576 96c17.7 0 32 14.3 32 32l0 256c0 17.7-14.3 32-32 32L64 416c-17.7 0-32-14.3-32-32l0-256c0-17.7 14.3-32 32-32l512 0zM64 64C28.7 64 0 92.7 0 128L0 384c0 35.3 28.7 64 64 64l512 0c35.3 0 64-28.7 64-64l0-256c0-35.3-28.7-64-64-64L64 64z"})}),(0,Tt.jsx)("small",{className:"text-xs",children:"Landscape"})]}),(0,Tt.jsxs)("a",{onClick:()=>o("flow"),className:l("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-Tt p-1.5 hover:text-accent",t==="flow"?"text-accent":"hover:text-accent"),children:[(0,Tt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:(0,Tt.jsx)("path",{d:"M266.2 4.7C273 1.6 280.5 0 288 0s15 1.6 21.8 4.7l217.4 97.5c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 251.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 153.9C38.6 149.3 32 139.2 32 128s6.6-21.3 16.8-25.9L266.2 4.7zM288 32c-3 0-6 .6-8.8 1.9L69.3 128l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-210-94.1C294 32.6 291 32 288 32zM48.8 358.1l45.9-20.6 39.1 17.5L69.3 384l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-64.5-28.9 39.1-17.5 45.9 20.6c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 507.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 409.9C38.6 405.3 32 395.2 32 384s6.6-21.3 16.8-25.9zM94.7 209.5l39.1 17.5L69.3 256l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-64.5-28.9 39.1-17.5 45.9 20.6c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 379.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 281.9C38.6 277.3 32 267.2 32 256s6.6-21.3 16.8-25.9l45.9-20.6z"})}),(0,Tt.jsx)("small",{className:"text-xs",children:"Continuous"})]})]})})})};0&&(module.exports={AOSInit,AboutSection,Alert,AlertDescription,AlertTitle,ApproveLeave,Avatar,AvatarFallback,AvatarImage,Badge,BannerBlock,BlogCard,BlogDetail,BlogList,BlogListSection,BrandLogo,Breadcrumb,BreadcrumbEllipsis,BreadcrumbItem,BreadcrumbLink,BreadcrumbList,BreadcrumbPage,BreadcrumbSeparator,Breadcrumbs,Button,CMSLink,CRMKanbanBoard,Calendar,CalendarView,CallToActionBlock,CallToActionBlockOld,Card,Categories,Checkbox,CodeBlock,Collapsible,CollapsibleContent,CollapsibleTrigger,CollectionArchive,Command,CommandDialog,CommandEmpty,CommandGroup,CommandInput,CommandItem,CommandList,CommandSeparator,CommandShortcut,ContactSection,Container,ContentBlock,ContentCard,CopyButton,CustomLink,CustomerCard,DarkTop,DealCard,DealDetails,Dialog,DialogClose,DialogContent,DialogDescription,DialogFooter,DialogHeader,DialogOverlay,DialogPortal,DialogTitle,DialogTrigger,DropdownMenu,DropdownMenuCheckboxItem,DropdownMenuContent,DropdownMenuGroup,DropdownMenuItem,DropdownMenuLabel,DropdownMenuPortal,DropdownMenuRadioGroup,DropdownMenuRadioItem,DropdownMenuSeparator,DropdownMenuShortcut,DropdownMenuSub,DropdownMenuSubContent,DropdownMenuSubTrigger,DropdownMenuTrigger,DynamicIcon,EventCard,FeatureCard,FeatureGrid,FeaturesBlock,Filter,FlowPrintable,Footer,Header,HeaderDesktop,HeaderMobile,HeadingImage,Hero,HighImpactHero,HolidayGrid,HolidayTracker,HoverCard,HoverCardContent,HoverCardTrigger,Image,ImageBlock,ImageSection,InfoTile,Input,Insight,KanbanColumn,Label,LightTop,LocationsSection,Logo,LowImpactHero,MOTD,MainPageSection,Mask,Media,MediaBlock,MediumImpactHero,NewCustomerForm,NewDealForm,NewsGrid,OrgChart,PagePrintable,PageRange,PageShape,Pagination,PayloadPagination,Popover,PopoverAnchor,PopoverContent,PopoverTrigger,PostHero,PricingCard,PricingSection,Printable,ProjectCard,ProjectTeam,ProposalSummary,Publish,RelatedContent,RelatedPosts,RenderBlocks,RenderBlocksWithShapes,RenderHero,RequestLeave,ReusableContentBlock,RichText,ScrollArea,ScrollBar,Section,SectionHero,Select,SelectContent,SelectGroup,SelectItem,SelectLabel,SelectScrollDownButton,SelectScrollUpButton,SelectSeparator,SelectTrigger,SelectValue,Separator,ServiceCard,ServiceDetail,ServiceDetailSection,ServiceSection,Sheet,SheetClose,SheetContent,SheetDescription,SheetFooter,SheetHeader,SheetOverlay,SheetPortal,SheetTitle,SheetTrigger,Sidebar,SidebarContent,SidebarFooter,SidebarGroup,SidebarGroupAction,SidebarGroupContent,SidebarGroupLabel,SidebarHeader,SidebarInput,SidebarInset,SidebarLeft,SidebarMenu,SidebarMenuAction,SidebarMenuBadge,SidebarMenuButton,SidebarMenuItem,SidebarMenuSkeleton,SidebarMenuSub,SidebarMenuSubButton,SidebarMenuSubItem,SidebarProvider,SidebarRail,SidebarRight,SidebarSeparator,SidebarTrigger,SimpleHeader,Skeleton,SlideShow,TextAndImages,Textarea,Theme,ThemeProvider,ThemeWithShapes,Toast,ToastAction,ToastClose,ToastDescription,ToastProvider,ToastTitle,ToastViewport,Toaster,Toggle,ToggleGroup,ToggleGroupItem,Tooltip,TooltipContent,TooltipProvider,TooltipTrigger,VideoHeader,WhyUs,badgeVariants,buttonVariants,cn,getTableOfContents,reducer,toast,toggleVariants,useIsMobile,useSidebar,useToast});