cortex-react-components 1.51.8 → 1.52.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (206) hide show
  1. package/dist/{chunk-EOGSNCBF.mjs → chunk-34FASRX2.mjs} +1 -1
  2. package/dist/{chunk-Y2KKUQDU.mjs → chunk-3IUQUN6R.mjs} +1 -1
  3. package/dist/{chunk-XZYOP3SB.mjs → chunk-3JFKZDWH.mjs} +1 -1
  4. package/dist/{chunk-KDGEXDC5.mjs → chunk-5KL4BLZI.mjs} +1 -1
  5. package/dist/{chunk-2IKC7MAP.mjs → chunk-5YTDIEDJ.mjs} +1 -1
  6. package/dist/chunk-64O5I5ZI.mjs +4 -0
  7. package/dist/{chunk-WKWWMINB.mjs → chunk-6CKPMSTB.mjs} +1 -1
  8. package/dist/{chunk-GHBJK554.mjs → chunk-6CRU4HI4.mjs} +1 -1
  9. package/dist/{chunk-4YJ3HV64.mjs → chunk-6DHYRATS.mjs} +1 -1
  10. package/dist/{chunk-M6M43TLT.mjs → chunk-6RFXR5AO.mjs} +1 -1
  11. package/dist/{chunk-HWFQKMP4.mjs → chunk-7RCXCEKM.mjs} +1 -1
  12. package/dist/{chunk-2OOCSTHH.mjs → chunk-A6RIVBDI.mjs} +1 -1
  13. package/dist/{chunk-YR4DHJCY.mjs → chunk-A6U3GEF4.mjs} +1 -1
  14. package/dist/{chunk-IO222G5L.mjs → chunk-AAI2VZST.mjs} +1 -1
  15. package/dist/{chunk-TPKSXBJL.mjs → chunk-ARDUHBRG.mjs} +1 -1
  16. package/dist/{chunk-NSVXSDEL.mjs → chunk-BA6O4DAT.mjs} +1 -1
  17. package/dist/{chunk-PG3JYPSL.mjs → chunk-BCAE5YI2.mjs} +1 -1
  18. package/dist/{chunk-XGNF75KY.mjs → chunk-BXLP27FT.mjs} +1 -1
  19. package/dist/chunk-EFUJ5SFT.mjs +5 -0
  20. package/dist/{chunk-VZWV4G25.mjs → chunk-FDNWKBQE.mjs} +1 -1
  21. package/dist/{chunk-UMJYEYEW.mjs → chunk-FFAJTZPI.mjs} +1 -1
  22. package/dist/chunk-FVVRSAJL.mjs +1 -0
  23. package/dist/{chunk-BRYZOZKY.mjs → chunk-FZFHGTZB.mjs} +1 -1
  24. package/dist/{chunk-IQ7LAP7P.mjs → chunk-G455HHXO.mjs} +1 -1
  25. package/dist/chunk-H4SBQSGY.mjs +4 -0
  26. package/dist/{chunk-ZIWHUQ4D.mjs → chunk-HER7J6HM.mjs} +1 -1
  27. package/dist/{chunk-LDEIYASJ.mjs → chunk-IG5RFSL5.mjs} +1 -1
  28. package/dist/{chunk-2LJVMEWU.mjs → chunk-ISZD24DJ.mjs} +1 -1
  29. package/dist/chunk-IZ3PDOST.mjs +1 -0
  30. package/dist/{chunk-FCCL6W7R.mjs → chunk-JPFBD2KD.mjs} +1 -1
  31. package/dist/{chunk-DIPGFDJV.mjs → chunk-K4U5ME5Y.mjs} +1 -1
  32. package/dist/{chunk-QMFZRG7O.mjs → chunk-KEUZSK3N.mjs} +1 -1
  33. package/dist/{chunk-Q2KSVDM5.mjs → chunk-LI327LRM.mjs} +1 -1
  34. package/dist/{chunk-G35WY6OG.mjs → chunk-NXYL4UBB.mjs} +1 -1
  35. package/dist/{chunk-7X6YCMFM.mjs → chunk-OCYHJJMY.mjs} +1 -1
  36. package/dist/{chunk-PZ5HTDDZ.mjs → chunk-PFWWPJYL.mjs} +1 -1
  37. package/dist/{chunk-N6PIPF2S.mjs → chunk-PXO6XB4R.mjs} +1 -1
  38. package/dist/{chunk-KPIWBWE2.mjs → chunk-PXZ36U3P.mjs} +1 -1
  39. package/dist/chunk-PYT2YQCJ.mjs +4 -0
  40. package/dist/{chunk-H5MP54DB.mjs → chunk-RCNFNCBQ.mjs} +1 -1
  41. package/dist/{chunk-2A6JF3LE.mjs → chunk-RJGKFNZL.mjs} +1 -1
  42. package/dist/{chunk-BGG55SY3.mjs → chunk-TWXXQQ2R.mjs} +1 -1
  43. package/dist/{chunk-23BDC5JG.mjs → chunk-UBA3ZRKC.mjs} +1 -1
  44. package/dist/chunk-WS2BEH2A.mjs +4 -0
  45. package/dist/{chunk-MGS3DQ22.mjs → chunk-XXTN5HMN.mjs} +1 -1
  46. package/dist/chunk-XYKGA7DT.mjs +1 -0
  47. package/dist/{chunk-O7T3D64L.mjs → chunk-Y43YEJBH.mjs} +1 -1
  48. package/dist/{chunk-RV5UUUNK.mjs → chunk-YOASVS2O.mjs} +1 -1
  49. package/dist/chunk-ZOXR3VIC.mjs +1 -0
  50. package/dist/components/Blocks/Banner.mjs +1 -1
  51. package/dist/components/Blocks/CallToAction.mjs +1 -1
  52. package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
  53. package/dist/components/Blocks/CaseStudy.mjs +1 -1
  54. package/dist/components/Blocks/CaseStudy.stories.mjs +1 -1
  55. package/dist/components/Blocks/ConsultantProfile.mjs +1 -1
  56. package/dist/components/Blocks/ConsultantProfile.stories.mjs +1 -1
  57. package/dist/components/Blocks/Content.mjs +1 -1
  58. package/dist/components/Blocks/Content.stories.mjs +1 -1
  59. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  60. package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
  61. package/dist/components/Blocks/ImageBlock.mjs +1 -1
  62. package/dist/components/Blocks/MediaBlock.mjs +1 -1
  63. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  64. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  65. package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
  66. package/dist/components/Blocks/index.mjs +1 -1
  67. package/dist/components/CRM/DealCard.mjs +1 -1
  68. package/dist/components/CRM/DealCard.stories.mjs +1 -1
  69. package/dist/components/CRM/KanbanBoard.mjs +1 -1
  70. package/dist/components/CRM/KanbanBoard.stories.mjs +1 -1
  71. package/dist/components/CRM/KanbanColumn.mjs +1 -1
  72. package/dist/components/CRM/KanbanColumn.stories.mjs +1 -1
  73. package/dist/components/CRM/index.mjs +1 -1
  74. package/dist/components/Cards/ContentCard.mjs +1 -1
  75. package/dist/components/Cards/ContentCard.stories.mjs +1 -1
  76. package/dist/components/Cards/EventCard.mjs +1 -1
  77. package/dist/components/Cards/EventCard.stories.mjs +1 -1
  78. package/dist/components/Cards/PricingCard.mjs +1 -1
  79. package/dist/components/Cards/PricingCard.stories.mjs +1 -1
  80. package/dist/components/Cards/ServiceCard.mjs +1 -1
  81. package/dist/components/Cards/ServiceCard.stories.mjs +1 -1
  82. package/dist/components/Cards/index.mjs +1 -1
  83. package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +1 -1
  84. package/dist/components/DigitalColleagues/MainPage.js +1 -1
  85. package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
  86. package/dist/components/DigitalColleagues/MainPage.stories.js +207 -207
  87. package/dist/components/DigitalColleagues/MainPage.stories.mjs +1 -1
  88. package/dist/components/HeaderFooter/Header.js +1 -1
  89. package/dist/components/HeaderFooter/Header.mjs +1 -1
  90. package/dist/components/HeaderFooter/Header.stories.js +1 -1
  91. package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
  92. package/dist/components/HeaderFooter/HeaderDesktop.d.ts +2 -1
  93. package/dist/components/HeaderFooter/HeaderDesktop.js +1 -1
  94. package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
  95. package/dist/components/HeaderFooter/HeaderDesktop.stories.js +1 -1
  96. package/dist/components/HeaderFooter/HeaderDesktop.stories.mjs +1 -1
  97. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  98. package/dist/components/HeaderFooter/VideoHeader.js +1 -1
  99. package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
  100. package/dist/components/HeaderFooter/index.js +1 -1
  101. package/dist/components/HeaderFooter/index.mjs +1 -1
  102. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  103. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  104. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  105. package/dist/components/Heros/PostHero/index.mjs +1 -1
  106. package/dist/components/Heros/RenderHero.mjs +1 -1
  107. package/dist/components/Heros/SectionHero/index.mjs +1 -1
  108. package/dist/components/Heros/index.mjs +1 -1
  109. package/dist/components/Holidays/HolidayTracker.mjs +1 -1
  110. package/dist/components/Holidays/HolidayTracker.stories.mjs +1 -1
  111. package/dist/components/Holidays/index.mjs +1 -1
  112. package/dist/components/Layouts/BlogList.mjs +1 -1
  113. package/dist/components/Layouts/BlogList.stories.mjs +1 -1
  114. package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
  115. package/dist/components/Layouts/Print.js +2 -2
  116. package/dist/components/Layouts/Print.mjs +1 -1
  117. package/dist/components/Layouts/Print.stories.js +1 -1
  118. package/dist/components/Layouts/Print.stories.mjs +1 -1
  119. package/dist/components/Layouts/SlideShow.mjs +1 -1
  120. package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
  121. package/dist/components/Layouts/index.js +5 -5
  122. package/dist/components/Layouts/index.mjs +1 -1
  123. package/dist/components/Menus/SidebarLeft.mjs +1 -1
  124. package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
  125. package/dist/components/Menus/SidebarRight.mjs +1 -1
  126. package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
  127. package/dist/components/Menus/index.mjs +1 -1
  128. package/dist/components/Other/index.mjs +1 -1
  129. package/dist/components/Payload/Card/index.mjs +1 -1
  130. package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
  131. package/dist/components/Payload/Media/index.mjs +1 -1
  132. package/dist/components/Payload/RichText/index.mjs +1 -1
  133. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  134. package/dist/components/Payload/RichText.stories.mjs +1 -1
  135. package/dist/components/Payload/index.mjs +1 -1
  136. package/dist/components/index.js +6 -6
  137. package/dist/components/index.mjs +1 -1
  138. package/dist/components/ui/index.mjs +1 -1
  139. package/dist/components/ui/sidebar.mjs +1 -1
  140. package/dist/globals.css +1 -1
  141. package/dist/index.js +10 -11
  142. package/dist/index.mjs +1 -1
  143. package/dist/metafile-cjs.json +1 -1
  144. package/dist/metafile-esm.json +1 -1
  145. package/dist/pages/Blog.js +1 -1
  146. package/dist/pages/Blog.mjs +1 -1
  147. package/dist/pages/Blog.stories.js +1 -1
  148. package/dist/pages/Blog.stories.mjs +1 -1
  149. package/dist/pages/Documentation.js +1 -1
  150. package/dist/pages/Documentation.mjs +1 -1
  151. package/dist/pages/Documentation.stories.js +187 -187
  152. package/dist/pages/Documentation.stories.mjs +1 -1
  153. package/dist/pages/IndexPage.mjs +1 -1
  154. package/dist/pages/IndexPage.stories.mjs +1 -1
  155. package/dist/pages/Intranet.js +1 -1
  156. package/dist/pages/Intranet.mjs +1 -1
  157. package/dist/pages/Intranet.stories.js +1 -1
  158. package/dist/pages/Intranet.stories.mjs +1 -1
  159. package/dist/pages/LandingPage.js +2 -1
  160. package/dist/pages/LandingPage.mjs +1 -1
  161. package/dist/pages/LandingPage.stories.js +2 -436
  162. package/dist/pages/LandingPage.stories.mjs +1 -1
  163. package/dist/pages/Page.js +1 -1
  164. package/dist/pages/Page.mjs +1 -1
  165. package/dist/pages/Page.stories.js +180 -180
  166. package/dist/pages/Page.stories.mjs +1 -1
  167. package/dist/pages/Printable.stories.js +4 -5
  168. package/dist/pages/Printable.stories.mjs +1 -1
  169. package/dist/pages/Publish.js +4 -5
  170. package/dist/pages/Publish.mjs +1 -1
  171. package/dist/pages/Publish.stories.js +4 -5
  172. package/dist/pages/Publish.stories.mjs +1 -1
  173. package/dist/pages/Website.js +1 -1
  174. package/dist/pages/Website.mjs +1 -1
  175. package/dist/pages/Website.stories.js +1 -1
  176. package/dist/pages/Website.stories.mjs +1 -1
  177. package/dist/sections/AboutSection.js +1 -1
  178. package/dist/sections/AboutSection.mjs +1 -1
  179. package/dist/sections/AboutSection.stories.js +1 -1
  180. package/dist/sections/AboutSection.stories.mjs +1 -1
  181. package/dist/sections/BlogDetail.mjs +1 -1
  182. package/dist/sections/BlogDetail.stories.mjs +1 -1
  183. package/dist/sections/BlogListSection.mjs +1 -1
  184. package/dist/sections/BlogListSection.stories.mjs +1 -1
  185. package/dist/sections/ContactSection.js +1 -1
  186. package/dist/sections/ContactSection.mjs +1 -1
  187. package/dist/sections/ContactSection.stories.js +1 -1
  188. package/dist/sections/ContactSection.stories.mjs +1 -1
  189. package/dist/sections/ImageSection.stories.mjs +1 -1
  190. package/dist/sections/PricingSection.mjs +1 -1
  191. package/dist/sections/PricingSection.stories.mjs +1 -1
  192. package/dist/sections/ServiceSection.js +1 -1
  193. package/dist/sections/ServiceSection.mjs +1 -1
  194. package/dist/sections/ServiceSection.stories.js +1 -1
  195. package/dist/sections/ServiceSection.stories.mjs +1 -1
  196. package/dist/sections/index.js +1 -1
  197. package/dist/sections/index.mjs +1 -1
  198. package/package.json +1 -1
  199. package/dist/chunk-3TIFSACL.mjs +0 -4
  200. package/dist/chunk-4CZHKFPW.mjs +0 -1
  201. package/dist/chunk-BWGRPPZL.mjs +0 -1
  202. package/dist/chunk-LM3YRNYB.mjs +0 -1
  203. package/dist/chunk-N56CFSQA.mjs +0 -4
  204. package/dist/chunk-NJUUI5AR.mjs +0 -5
  205. package/dist/chunk-RZTXT4UD.mjs +0 -4
  206. package/dist/chunk-WYHESNYU.mjs +0 -4
@@ -2,4 +2,4 @@
2
2
  "use strict";
3
3
  'use server'
4
4
 
5
- "use strict";var kr=Object.create;var Ie=Object.defineProperty;var Pr=Object.getOwnPropertyDescriptor;var Ar=Object.getOwnPropertyNames;var Sr=Object.getPrototypeOf,Br=Object.prototype.hasOwnProperty;var Ir=(e,t)=>{for(var r in t)Ie(e,r,{get:t[r],enumerable:!0})},ht=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of Ar(t))!Br.call(e,s)&&s!==r&&Ie(e,s,{get:()=>t[s],enumerable:!(a=Pr(t,s))||a.enumerable});return e};var D=(e,t,r)=>(r=e!=null?kr(Sr(e)):{},ht(t||!e||!e.__esModule?Ie(r,"default",{value:e,enumerable:!0}):r,e)),Rr=e=>ht(Ie({},"__esModule",{value:!0}),e);var To={};Ir(To,{AboutSection:()=>ho,BlogDetail:()=>So,BlogListSection:()=>yo,ContactSection:()=>Po,ImageSection:()=>Ro,MainPageSection:()=>Bo,PricingSection:()=>bo,ServiceSection:()=>mo});module.exports=Rr(To);var At=require("clsx");var Xe="-",Tr=e=>{let t=Mr(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:n=>{let i=n.split(Xe);return i[0]===""&&i.length!==1&&i.shift(),vt(i,t)||Lr(n)},getConflictingClassGroupIds:(n,i)=>{let c=r[n]||[];return i&&a[n]?[...c,...a[n]]:c}}},vt=(e,t)=>{var n;if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),s=a?vt(e.slice(1),a):void 0;if(s)return s;if(t.validators.length===0)return;let o=e.join(Xe);return(n=t.validators.find(({validator:i})=>i(o)))==null?void 0:n.classGroupId},xt=/^\[(.+)\]$/,Lr=e=>{if(xt.test(e)){let t=xt.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Mr=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return Er(Object.entries(e.classGroups),r).forEach(([o,n])=>{Ze(n,a,o,t)}),a},Ze=(e,t,r,a)=>{e.forEach(s=>{if(typeof s=="string"){let o=s===""?t:yt(t,s);o.classGroupId=r;return}if(typeof s=="function"){if(zr(s)){Ze(s(a),t,r,a);return}t.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([o,n])=>{Ze(n,yt(t,o),r,a)})})},yt=(e,t)=>{let r=e;return t.split(Xe).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},zr=e=>e.isThemeGetter,Er=(e,t)=>t?e.map(([r,a])=>{let s=a.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([n,i])=>[t+n,i])):o);return[r,s]}):e,Dr=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,a=new Map,s=(o,n)=>{r.set(o,n),t++,t>e&&(t=0,a=r,r=new Map)};return{get(o){let n=r.get(o);if(n!==void 0)return n;if((n=a.get(o))!==void 0)return s(o,n),n},set(o,n){r.has(o)?r.set(o,n):s(o,n)}}},wt="!",Fr=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,s=t[0],o=t.length,n=i=>{let c=[],d=0,u=0,m;for(let S=0;S<i.length;S++){let B=i[S];if(d===0){if(B===s&&(a||i.slice(S,S+o)===t)){c.push(i.slice(u,S)),u=S+o;continue}if(B==="/"){m=S;continue}}B==="["?d++:B==="]"&&d--}let p=c.length===0?i:i.substring(u),v=p.startsWith(wt),L=v?p.substring(1):p,w=m&&m>u?m-u:void 0;return{modifiers:c,hasImportantModifier:v,baseClassName:L,maybePostfixModifierPosition:w}};return r?i=>r({className:i,parseClassName:n}):n},Hr=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(a=>{a[0]==="["?(t.push(...r.sort(),a),r=[]):r.push(a)}),t.push(...r.sort()),t},Ur=e=>({cache:Dr(e.cacheSize),parseClassName:Fr(e),...Tr(e)}),Gr=/\s+/,Or=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:s}=t,o=[],n=e.trim().split(Gr),i="";for(let c=n.length-1;c>=0;c-=1){let d=n[c],{modifiers:u,hasImportantModifier:m,baseClassName:p,maybePostfixModifierPosition:v}=r(d),L=!!v,w=a(L?p.substring(0,v):p);if(!w){if(!L){i=d+(i.length>0?" "+i:i);continue}if(w=a(p),!w){i=d+(i.length>0?" "+i:i);continue}L=!1}let S=Hr(u).join(":"),B=m?S+wt:S,C=B+w;if(o.includes(C))continue;o.push(C);let z=s(w,L);for(let T=0;T<z.length;++T){let se=z[T];o.push(B+se)}i=d+(i.length>0?" "+i:i)}return i};function Vr(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Ct(t))&&(a&&(a+=" "),a+=r);return a}var Ct=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=Ct(e[a]))&&(r&&(r+=" "),r+=t);return r};function jr(e,...t){let r,a,s,o=n;function n(c){let d=t.reduce((u,m)=>m(u),e());return r=Ur(d),a=r.cache.get,s=r.cache.set,o=i,i(c)}function i(c){let d=a(c);if(d)return d;let u=Or(c,r);return s(c,u),u}return function(){return o(Vr.apply(null,arguments))}}var k=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Nt=/^\[(?:([a-z-]+):)?(.+)\]$/i,$r=/^\d+\/\d+$/,Yr=new Set(["px","full","screen"]),Kr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Qr=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|St|i|St|min|max))|\St(calc|min|max|clamp)\(.+\)|^0$/,Wr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,_r=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,qr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,$=e=>ne(e)||Yr.has(e)||$r.test(e),W=e=>ie(e,"length",ao),ne=e=>!!e&&!Number.isNaN(Number(e)),Je=e=>ie(e,"number",ne),xe=e=>!!e&&Number.isInteger(Number(e)),Jr=e=>e.endsWith("%")&&ne(e.slice(0,-1)),f=e=>Nt.test(e),_=e=>Kr.test(e),Zr=new Set(["length","size","percentage"]),Xr=e=>ie(e,Zr,kt),eo=e=>ie(e,"position",kt),to=new Set(["image","url"]),ro=e=>ie(e,to,no),oo=e=>ie(e,"",so),ye=()=>!0,ie=(e,t,r)=>{let a=Nt.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},ao=e=>Qr.test(e)&&!Wr.test(e),kt=()=>!1,so=e=>_r.test(e),no=e=>qr.test(e);var io=()=>{let e=k("colors"),t=k("spacing"),r=k("blur"),a=k("brightness"),s=k("borderColor"),o=k("borderRadius"),n=k("borderSpacing"),i=k("borderWidth"),c=k("contrast"),d=k("grayscale"),u=k("hueRotate"),m=k("invert"),p=k("gap"),v=k("gradientColorStops"),L=k("gradientColorStopPositions"),w=k("inset"),S=k("margin"),B=k("opacity"),C=k("padding"),z=k("saturate"),T=k("scale"),se=k("sepia"),dt=k("skew"),mt=k("space"),pt=k("translate"),Qe=()=>["auto","contain","none"],We=()=>["auto","hidden","clip","visible","scroll"],_e=()=>["auto",f,t],I=()=>[f,t],gt=()=>["",$,W],Se=()=>["auto",ne,f],ut=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Be=()=>["solid","dashed","dotted","double","none"],ft=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],qe=()=>["start","end","center","between","around","evenly","stretch"],he=()=>["","0",f],bt=()=>["auto","avoid","all","avoid-page","page","left","right","column"],j=()=>[ne,f];return{cacheSize:500,separator:":",theme:{colors:[ye],spacing:[$,W],blur:["none","",_,f],brightness:j(),borderColor:[e],borderRadius:["none","","full",_,f],borderSpacing:I(),borderWidth:gt(),contrast:j(),grayscale:he(),hueRotate:j(),invert:he(),gap:I(),gradientColorStops:[e],gradientColorStopPositions:[Jr,W],inset:_e(),margin:_e(),opacity:j(),padding:I(),saturate:j(),scale:j(),sepia:he(),skew:j(),space:I(),translate:I()},classGroups:{aspect:[{aspect:["auto","square","video",f]}],container:["container"],columns:[{columns:[_]}],"break-after":[{"break-after":bt()}],"break-before":[{"break-before":bt()}],"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:[...ut(),f]}],overflow:[{overflow:We()}],"overflow-St":[{"overflow-St":We()}],"overflow-St":[{"overflow-St":We()}],overscroll:[{overscroll:Qe()}],"overscroll-St":[{"overscroll-St":Qe()}],"overscroll-St":[{"overscroll-St":Qe()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[w]}],"inset-St":[{"inset-St":[w]}],"inset-St":[{"inset-St":[w]}],start:[{start:[w]}],end:[{end:[w]}],top:[{top:[w]}],right:[{right:[w]}],bottom:[{bottom:[w]}],left:[{left:[w]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",xe,f]}],basis:[{basis:_e()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",f]}],grow:[{grow:he()}],shrink:[{shrink:he()}],order:[{order:["first","last","none",xe,f]}],"grid-cols":[{"grid-cols":[ye]}],"col-start-end":[{col:["auto",{span:["full",xe,f]},f]}],"col-start":[{"col-start":Se()}],"col-end":[{"col-end":Se()}],"grid-rows":[{"grid-rows":[ye]}],"row-start-end":[{row:["auto",{span:[xe,f]},f]}],"row-start":[{"row-start":Se()}],"row-end":[{"row-end":Se()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",f]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",f]}],gap:[{gap:[p]}],"gap-St":[{"gap-St":[p]}],"gap-St":[{"gap-St":[p]}],"justify-content":[{justify:["normal",...qe()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...qe(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...qe(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[C]}],px:[{px:[C]}],py:[{py:[C]}],ps:[{ps:[C]}],pe:[{pe:[C]}],pt:[{pt:[C]}],pr:[{pr:[C]}],pb:[{pb:[C]}],pl:[{pl:[C]}],m:[{m:[S]}],mx:[{mx:[S]}],my:[{my:[S]}],ms:[{ms:[S]}],me:[{me:[S]}],mt:[{mt:[S]}],mr:[{mr:[S]}],mb:[{mb:[S]}],ml:[{ml:[S]}],"space-St":[{"space-St":[mt]}],"space-St-reverse":["space-St-reverse"],"space-St":[{"space-St":[mt]}],"space-St-reverse":["space-St-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",f,t]}],"min-w":[{"min-w":[f,t,"min","max","fit"]}],"max-w":[{"max-w":[f,t,"none","full","min","max","fit","prose",{screen:[_]},_]}],St:[{St:[f,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-St":[{"min-St":[f,t,"min","max","fit","svh","lvh","dvh"]}],"max-St":[{"max-St":[f,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[f,t,"auto","min","max","fit"]}],"font-size":[{text:["base",_,W]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Je]}],"font-family":[{font:[ye]}],"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",f]}],"line-clamp":[{"line-clamp":["none",ne,Je]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",$,f]}],"list-image":[{"list-image":["none",f]}],"list-style-type":[{list:["none","disc","decimal",f]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[B]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[B]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Be(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",$,W]}],"underline-offset":[{"underline-offset":["auto",$,f]}],"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:I()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",f]}],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",f]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[B]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ut(),eo]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","St","St","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Xr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","St","bl","l","tl"]},ro]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[L]}],"gradient-via-pos":[{via:[L]}],"gradient-to-pos":[{to:[L]}],"gradient-from":[{from:[v]}],"gradient-via":[{via:[v]}],"gradient-to":[{to:[v]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-St":[{"rounded-St":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[i]}],"border-w-St":[{"border-St":[i]}],"border-w-St":[{"border-St":[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-St":[{"border-St":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[B]}],"border-style":[{border:[...Be(),"hidden"]}],"divide-St":[{"divide-St":[i]}],"divide-St-reverse":["divide-St-reverse"],"divide-St":[{"divide-St":[i]}],"divide-St-reverse":["divide-St-reverse"],"divide-opacity":[{"divide-opacity":[B]}],"divide-style":[{divide:Be()}],"border-color":[{border:[s]}],"border-color-St":[{"border-St":[s]}],"border-color-St":[{"border-St":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-St":[{"border-St":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...Be()]}],"outline-offset":[{"outline-offset":[$,f]}],"outline-w":[{outline:[$,W]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:gt()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[B]}],"ring-offset-w":[{"ring-offset":[$,W]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",_,oo]}],"shadow-color":[{shadow:[ye]}],opacity:[{opacity:[B]}],"mix-blend":[{"mix-blend":[...ft(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ft()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",_,f]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[m]}],saturate:[{saturate:[z]}],sepia:[{sepia:[se]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[m]}],"backdrop-opacity":[{"backdrop-opacity":[B]}],"backdrop-saturate":[{"backdrop-saturate":[z]}],"backdrop-sepia":[{"backdrop-sepia":[se]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[n]}],"border-spacing-St":[{"border-spacing-St":[n]}],"border-spacing-St":[{"border-spacing-St":[n]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",f]}],duration:[{duration:j()}],ease:[{ease:["linear","in","out","in-out",f]}],delay:[{delay:j()}],animate:[{animate:["none","spin","ping","pulse","bounce",f]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[T]}],"scale-St":[{"scale-St":[T]}],"scale-St":[{"scale-St":[T]}],rotate:[{rotate:[xe,f]}],"translate-St":[{"translate-St":[pt]}],"translate-St":[{"translate-St":[pt]}],"skew-St":[{"skew-St":[dt]}],"skew-St":[{"skew-St":[dt]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",f]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",f]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","St","St",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":I()}],"scroll-mx":[{"scroll-mx":I()}],"scroll-my":[{"scroll-my":I()}],"scroll-ms":[{"scroll-ms":I()}],"scroll-me":[{"scroll-me":I()}],"scroll-mt":[{"scroll-mt":I()}],"scroll-mr":[{"scroll-mr":I()}],"scroll-mb":[{"scroll-mb":I()}],"scroll-ml":[{"scroll-ml":I()}],"scroll-p":[{"scroll-p":I()}],"scroll-px":[{"scroll-px":I()}],"scroll-py":[{"scroll-py":I()}],"scroll-ps":[{"scroll-ps":I()}],"scroll-pe":[{"scroll-pe":I()}],"scroll-pt":[{"scroll-pt":I()}],"scroll-pr":[{"scroll-pr":I()}],"scroll-pb":[{"scroll-pb":I()}],"scroll-pl":[{"scroll-pl":I()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","St","St","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-St":[{"touch-pan":["St","left","right"]}],"touch-St":[{"touch-pan":["St","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",f]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[$,W,Je]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-St","overflow-St"],overscroll:["overscroll-St","overscroll-St"],inset:["inset-St","inset-St","start","end","top","right","bottom","left"],"inset-St":["right","left"],"inset-St":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-St","gap-St"],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","St"],"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-St","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-St":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-St","border-spacing-St"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-St","border-w-l"],"border-w-St":["border-w-r","border-w-l"],"border-w-St":["border-w-t","border-w-St"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-St","border-color-l"],"border-color-St":["border-color-r","border-color-l"],"border-color-St":["border-color-t","border-color-St"],"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-St","touch-St","touch-pz"],"touch-St":["touch"],"touch-St":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Pt=jr(io);function l(...e){return Pt((0,At.clsx)(e))}var St=require("react/jsx-runtime");function F({children:e,isFluid:t=!1,isNoPadding:r=!1,className:a=""}){let s=l("container",t&&"full-width",r&&"no-padding",a);return(0,St.jsx)("div",{className:s,children:e})}var Re=(e,t)=>e[t%e.length];var Bt=require("@radix-ui/react-slot"),It=require("class-variance-authority"),Rt=D(require("react")),lo=(0,It.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"St-10 px-4 py-2",icon:"St-10 w-10",lg:"St-11 rounded px-8",sm:"St-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"}}}),M=Rt.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...s},o)=>(0,St.jsx)(e?Bt.Slot:"button",{className:l(lo({className:t,size:r,variant:a})),ref:o,...s}));M.displayName="Button";var ve=({type:e="solid",iconName:t="cloud",size:r="lg",className:a})=>{let s=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,n=a!=null?a:"",i=s+o+" fa-"+r+" "+n;return(0,St.jsx)("i",{className:i})};var Mt=D(require("next/link"));function Z({children:e,href:t,openNewTab:r,...a}){return(0,St.jsx)(Mt.default,{href:t,target:r?"_blank":"_self",...a,children:e})}function co(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function Et({icon:e,title:t,description:r,slug:a}){return(0,St.jsxs)("article",{className:l(["group/service bg-card shadow-3 transition-transform duration-350 dark:text-white dark:shadow-none","relative z-1 block St-full space-St-6 overflow-hidden rounded-5 p-6 md:space-St-7 md:p-10","hover:[transform:translateY(-.5rem)]"]),children:[(0,St.jsxs)("div",{className:"flex items-center gap-5",children:[(0,St.jsx)("span",{className:"flex-none text-[2.5rem] transition-all duration-300 group-hover/service:scale-90 group-hover/service:text-accent md:text-[4rem]",children:co(e)?(0,St.jsx)(ve,{type:e.type,iconName:e.iconName,size:"sm"}):e}),(0,St.jsx)("h2",{className:"text-md font-bold leading-[1.25] md:text-lg",children:a?(0,St.jsx)(Z,{href:a,children:t}):t})]}),(0,St.jsx)("p",{className:"text-body dark:text-body",children:r}),a&&(0,St.jsx)(M,{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","dark:bg-background","before:hidden after:hidden"]),children:(0,St.jsxs)(Z,{href:a,children:[(0,St.jsx)("span",{children:"Read More"}),(0,St.jsx)("span",{className:"relative pl-3 text-sm/[1] text-accent",children:(0,St.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,St.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,St.jsx)("span",{className:"invisible absolute bottom-0 left-0 St-[2px] w-full scale-St-[30%] bg-accent opacity-0 transition-all duration-400 group-hover/service:visible group-hover/service:scale-St-100 group-hover/service:opacity-100"})]})}function mo({services:e,className:t}){return(0,St.jsx)("section",{id:"next-section",className:l("section-padding-primary",t),children:(0,St.jsx)(F,{className:"py-8",children:e&&e.length>0&&(0,St.jsx)("div",{className:"flex flex-wrap justify-center gap-St-8",children:e.map((r,a)=>(0,St.jsx)("div",{"data-aos":"fade-up","data-aos-delay":Re([200,400,600],a),className:"w-full px-4 md:w-1/2 lg:w-1/3",children:(0,St.jsx)(Et,{...r})},a))})})})}var Te=require("react-icons/fa6");function Dt({title:e,description:t,features:r,price:a,duration:s,button:o}){return(0,St.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,St.jsxs)("div",{className:"St-full border-card p-6 dark:border-opacity-20 max-lg:border-St max-lg:pt-14 lg:border-r lg:p-10",children:[(0,St.jsx)("h3",{className:"mb-4 text-lg font-bold leading-[1.3] text-foreground lg:mb-5 lg:text-xl",children:e}),(0,St.jsx)("p",{children:t})]}),(0,St.jsx)("div",{className:"relative my-auto p-6 max-lg:pb-14 md:p-10",children:(0,St.jsxs)("div",{className:"flex flex-col justify-stretch gap-St-14 gap-St-5 md:flex-row md:items-center",children:[r&&r.length>0&&(0,St.jsx)("ul",{"aria-label":"pricing point list",className:"grid w-full grid-cols-1 md:grid-cols-2 gap-1 md:gap-2",style:{gridAutoFlow:"row"},children:r.map((n,i)=>(0,St.jsxs)("li",{className:"flex items-start gap-3 lg:gap-4",children:[(0,St.jsx)("span",{className:"text-accent pt-1",children:(0,St.jsx)(Te.FaCircleCheck,{})}),(0,St.jsx)("span",{children:n})]},i))}),(0,St.jsxs)("p",{className:"font-secondary ml-auto text-xl font-bold leading-[1.25] text-accent-900 dark:text-white lg:text-2xl",children:[a&&a,(0,St.jsx)("sub",{className:"relative bottom-0 ml-1.5 inline-block text-base lg:text-md",children:s&&s})]}),o&&(0,St.jsx)("div",{className:"flex-none mr-0 sm:ml-auto",children:(0,St.jsx)(M,{asChild:!0,className:"border-2 p-5 border-accent bg-transparent text-foreground hover:bg-accent hover:text-accent-foreground",children:(0,St.jsxs)(Z,{href:o.href,openNewTab:o.openNewTab,children:[(0,St.jsx)("span",{className:"relative z-1",children:o.label}),(0,St.jsx)("span",{className:"relative z-1 pl-2",children:(0,St.jsx)(Te.FaAnglesRight,{})})]})})})]})})]})}var Ft=({className:e,content:t,style:r})=>(0,St.jsx)("div",{className:l("mx-auto my-8 w-full",e),children:(0,St.jsx)("div",{className:l("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,St.jsx)(H,{content:t,enableGutter:!1,enableProse:!1})})});var et=D(require("next/link")),Ce=e=>{let{type:t,appearance:r="inline",children:a,className:s,label:o,newTab:n,reference:i,size:c,url:d}=e,u=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}`:d;if(!u)return null;let m=r==="link"?"clear":c,p=n?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,St.jsxs)(et.default,{className:l(s),href:u||d||"",...p,children:[o&&o,a&&a]}):(0,St.jsx)(M,{asChild:!0,className:s,size:m,variant:r,children:(0,St.jsxs)(et.default,{className:l(s),href:u||d||"",...p,children:[o&&o,a&&a]})})};var Ht=({links:e,richText:t})=>(0,St.jsx)("div",{className:"container",children:(0,St.jsxs)("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,St.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,St.jsx)(H,{className:"mb-0",content:t,enableGutter:!1})}),(0,St.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},a)=>(0,St.jsx)(Ce,{size:"lg",...r},a))})]})});var Me=require("prism-react-renderer");var Ut=require("lucide-react"),Gt=require("react");function Ot({code:e}){let[t,r]=(0,Gt.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,St.jsx)("div",{className:"flex justify-end align-middle",children:(0,St.jsxs)(M,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,St.jsx)("p",{children:t}),(0,St.jsx)("div",{className:"w-6 St-6 dark:invert",children:(0,St.jsx)(Ut.ClipboardCopy,{})})]})})}var Vt=({code:e,language:t=""})=>e?(0,St.jsx)(Me.Highlight,{code:e,language:t,theme:Me.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:s})=>(0,St.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-St-auto",children:[s.map((o,n)=>(0,St.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,St.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:n+1}),(0,St.jsx)("span",{className:"table-cell pl-4",children:o.map((i,c)=>(0,St.jsx)("span",{...a({token:i})},c))})]},n)),(0,St.jsx)(Ot,{code:e})]})}):null;var jt=({className:e,code:t,language:r})=>(0,St.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,St.jsx)(Vt,{code:t,language:r})});var Yt=D(require("next/image")),po={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},$t="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=",Kt=e=>{let{alt:t,fill:r,imgClassName:a,priority:s,resource:o,size:n,src:i,loading:c}=e,d,u,m=t,p=i||"";if(!p&&o&&typeof o=="object"){let{alt:w,filename:S,height:B,url:C,width:z}=o;if(B&&B>500){let T=500/B;d=z*T,u=B*T}else d=z,u=B;m=w||"",p=C||$t}let v=c||"lazy",L=n||Object.entries(po).map(([,w])=>`(max-width: ${w}px) ${w*2}w`).join(", ");return(0,St.jsx)("picture",{children:(0,St.jsx)(Yt.default,{alt:m||"",className:l(a),fill:r,height:r?void 0:u,placeholder:"blur",blurDataURL:$t,priority:v!=="lazy"&&s,quality:100,loading:v,sizes:L,src:p,width:r?void 0:d})})};var Qt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Wt=()=>{if(Qt){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var _t=e=>{let{onClick:t,resource:r,videoClassName:a}=e,s=(0,Gt.useRef)(null);if((0,Gt.useEffect)(()=>{let{current:o}=s;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,St.jsx)("video",{autoPlay:!0,className:l(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:s,children:(0,St.jsx)("source",{src:`${Wt()}/media/${o}`})})}return null};var De=e=>{var n;let{className:t,htmlElement:r="div",resource:a}=e,s=typeof a=="object"&&((n=a==null?void 0:a.mimeType)==null?void 0:n.includes("video"));return(0,St.jsx)(r||Gt.Fragment,{...r!==null?{className:t}:{},children:s?(0,St.jsx)(_t,{...e}):(0,St.jsx)(Kt,{...e})})};var Jt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:s,staticImage:o}=e;return(0,St.jsx)("div",{className:l("St-full ",{container:r},t),children:(0,St.jsx)(De,{imgClassName:l("rounded-[0.8rem]",a),className:"flex justify-center",resource:s,src:o})})};var Zt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:s,staticImage:o}=e;return(0,St.jsx)("div",{className:l("",{container:r},t),children:(0,St.jsx)(De,{imgClassName:l("rounded-[0.8rem]",a),resource:s,src:o})})};var ee=D(require("react"));var ce=ee.forwardRef(({className:e,...t},r)=>(0,St.jsx)("div",{ref:r,className:l("rounded-xl border bg-card text-card-foreground shadow",e),...t}));ce.displayName="Card";var Ne=ee.forwardRef(({className:e,...t},r)=>(0,St.jsx)("div",{ref:r,className:l("flex flex-col space-St-1.5 p-6",e),...t}));Ne.displayName="CardHeader";var ke=ee.forwardRef(({className:e,...t},r)=>(0,St.jsx)("div",{ref:r,className:l("font-semibold leading-none tracking-tight",e),...t}));ke.displayName="CardTitle";var go=ee.forwardRef(({className:e,...t},r)=>(0,St.jsx)("div",{ref:r,className:l("text-sm text-muted-foreground",e),...t}));go.displayName="CardDescription";var de=ee.forwardRef(({className:e,...t},r)=>(0,St.jsx)("div",{ref:r,className:l("p-6 pt-0",e),...t}));de.displayName="CardContent";var uo=ee.forwardRef(({className:e,...t},r)=>(0,St.jsx)("div",{ref:r,className:l("flex items-center p-6 pt-0",e),...t}));uo.displayName="CardFooter";function Xt(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function er({variant:e="outline",className:t,icon:r,iconSize:a="large",width:s="auto",order:o=0,heading:n,subheading:i,content:c,statistic:d,buttonText:u,buttonHref:m}){let p={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:""},v={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,St.jsxs)("div",{className:l("rounded-3xl p-8 md:p-8 min-w-56 flex flex-col group",p[e],e==="outline"?"text-gray-900":"text-white",t,v[s],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${o+1}00`),children:[(0,St.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,St.jsx)(fo,{icon:r,heading:n,variant:e,iconSize:a})}),d&&(0,St.jsx)("div",{className:"mb-6",children:(0,St.jsx)("div",{className:l("text-4xl text-wrap font-bold leading-none overflow-hidden",e==="outline"||e==="light"?"text-primary":"text-white"),children:d})}),i&&(0,St.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:i}),c&&typeof c=="object"&&(0,St.jsx)("div",{className:l("space-St-6"),children:(0,St.jsx)(H,{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,St.jsx)("div",{className:l("space-St-6",e==="outline"||e==="light"?"text-gray-900":"text-gray-100"),children:c}),u&&(0,St.jsx)("div",{className:"mt-auto pt-6 flex items-center justify-center",children:(0,St.jsx)(M,{size:"lg",className:"text-white text-lg rounded-xl w-full mt-auto items-center justify-center",asChild:!0,children:(0,St.jsx)("a",{href:m,children:u})})}),e==="radial"&&(0,St.jsx)("div",{className:"absolute bottom-0 right-0 w-2/3 St-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 fo=({icon:e,heading:t,variant:r,iconSize:a})=>e&&a==="small"?(0,St.jsxs)("div",{className:"flex items-start gap-4 mb-2",children:[Xt(e)&&(0,St.jsx)("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-primary":"text-white",a==="small"?"mt-2":""),children:(0,St.jsx)(ve,{type:e.type,iconName:e.iconName,size:"2x"})}),(0,St.jsx)("div",{className:l("font-semibold",r==="outline"||r==="light"?"text-primary":"text-white",a==="small"?"text-2xl":"text-3xl"),children:t})]}):e?(0,St.jsxs)("div",{className:"flex flex-col gap-4",children:[Xt(e)&&(0,St.jsx)("div",{className:l("St-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-accent":""),children:(0,St.jsx)(ve,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,St.jsx)("h3",{className:l("font-semibold",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})]}):(0,St.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,St.jsx)("div",{className:l("font-semibold",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var tr=({title:e,description:t,features:r,id:a,nested:s=!1})=>(0,St.jsxs)("section",{className:l(!s&&"container","w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,St.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl text-primary",id:a||"",children:e}),t&&typeof t=="string"&&(0,St.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:t}),t&&typeof t=="object"&&(0,St.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:(0,St.jsx)(H,{content:t,enableGutter:!1})}),(0,St.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((o,n)=>{var c,d,u,m,p;let i=()=>{if(o.icon&&"type"in o.icon&&o.icon.type!=="none")return{type:o.icon.type,iconName:o.icon.icon}};return(0,St.jsx)(er,{variant:((c=o.settings)==null?void 0:c.card)==="default"?"light":((d=o.settings)==null?void 0:d.card)||"outline",icon:i()||void 0,iconSize:((u=o.settings)==null?void 0:u.iconSize)||"large",width:"auto",order:n,heading:o.title||"",content:o.content||void 0,statistic:o.statistic||void 0,buttonText:(m=o.link)!=null&&m.url?"Find out more":void 0,buttonHref:((p=o.link)==null?void 0:p.url)||void 0},n)})})]});var Fe=D(require("react"));function Pe({nodes:e}){return(0,St.jsx)(Fe.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,St.jsx)(Fe.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,St.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,St.jsx)("em",{children:o},r)),t.format&4&&(o=(0,St.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,St.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,St.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,St.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,St.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,St.jsx)("table",{children:(0,St.jsx)("tbody",{children:t.children.map((o,n)=>(0,St.jsx)("tr",{children:o.children.map((i,c)=>(0,St.jsx)("td",{children:Pe({nodes:i.children})},c))},n))})},r);let a=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let n of o.children)"checked"in n&&(n!=null&&n.checked||(n.checked=!1));return Pe({nodes:o.children})},s="children"in t?a(t):"";if(t.type==="block"){let o=t.fields,n=o==null?void 0:o.blockType;if(!o||!n)return null;switch(n){case"cta":return(0,St.jsx)(Ht,{...o},r);case"mediaBlock":return(0,St.jsx)(Jt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,St.jsx)(Zt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,St.jsx)(Ft,{className:"col-start-2 mb-4",...o},r);case"code":return(0,St.jsx)(jt,{className:"col-start-2",...o},r);case"features":return(0,St.jsx)(tr,{...o,nested:!0},r);case"reusableContentBlock":Pe({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,St.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,St.jsx)("p",{className:"col-start-2",children:s},r);case"heading":{let o=t==null?void 0:t.tag;return(0,St.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:s},r)}case"list":{let o=t==null?void 0:t.tag;return(0,St.jsx)(o,{className:"list col-start-2",children:s},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,St.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:s},r):(0,St.jsx)("li",{value:t==null?void 0:t.value,children:s},r);case"quote":return(0,St.jsx)("blockquote",{className:"col-start-2",children:s},r);case"link":{let o=t.fields;return(0,St.jsx)(Ce,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}case"autolink":{let o=t.fields;return(0,St.jsx)(Ce,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}default:return null}})})}var H=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>{var s;return t?(0,St.jsx)("div",{className:l({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&Pe({nodes:(s=t==null?void 0:t.root)==null?void 0:s.children})}):null};function me({subtitle:e,title:t,description:r,alignment:a="start",hasBottomSpacing:s=!1,className:o,invert:n=!1}){let i=l(a==="start"&&"text-left",a==="center"&&"text-center",a==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":s},o);return(0,St.jsxs)("div",{className:i,children:[e&&(0,St.jsx)("span",{className:"mb-[.625rem] block font-secondary text-base font-bold uppercase leading-[1.5] tracking-widest text-accent md:text-md",children:e}),(0,St.jsx)("h2",{className:l("font-secondary text-xl font-bold leading-[1.25] text-foreground md:text-2xl",n&&"text-gray-900"),children:t}),typeof r=="string"?r&&(0,St.jsx)("p",{className:"mt-5 whitespace-pre-line",children:r}):r&&(0,St.jsx)(H,{content:r,enableGutter:!1})]})}function bo({sectionHeading:e,cards:t}){return(0,St.jsx)("section",{className:"section-padding-primary !pt-0",children:(0,St.jsxs)(F,{children:[(0,St.jsx)("div",{className:"mx-auto max-w-[630px]","data-aos":"fade-up","data-aos-delay":"100",children:(0,St.jsx)(me,{...e,alignment:"center",hasBottomSpacing:!0})}),t&&t.length>0&&(0,St.jsx)("div",{className:"grid gap-30px",children:t.map((r,a)=>(0,St.jsx)("div",{"data-aos":"fade-up","data-aos-delay":Re([200,400,600],a),className:"py-2",children:(0,St.jsx)(Dt,{...r})},a))})]})})}var Ae=D(require("next/image"));function ho(e){let{images:t,sectionHeading:r,keyPoints:a,description:s}=e;return(0,St.jsx)("section",{id:"about-section",className:l("section-padding-primary",e.className||""),children:(0,St.jsx)(F,{children:(0,St.jsxs)("div",{className:"grid items-center gap-12 lg:grid-cols-[.92fr_1fr] 2xl:gap-20",children:[(0,St.jsxs)("div",{className:"lg:order-2","data-aos":"fade-left","data-aos-delay":"200",children:[(0,St.jsx)(me,{...r}),a&&a.length>0&&(0,St.jsx)("div",{className:"mt-7 grid gap-5 text-accent sm:grid-cols-2 md:mt-10 md:gap-[1.875rem]",children:a.map((o,n)=>(0,St.jsxs)("div",{className:"group flex min-St-[64px] items-center gap-5 rounded-5 border border-accent px-6 py-2 md:min-St-[85px] md:px-[1.875rem] md:py-3",children:[(0,St.jsx)("span",{className:"duration flex-none scale-100 transition-transform ease-linear group-hover:scale-90",children:o.icon}),(0,St.jsx)("h3",{className:"text-md font-bold leading-[1.25] md:text-lg",children:o.title})]},n))}),s&&(0,St.jsx)("p",{className:"mt-5 md:mt-[1.875rem]",children:s})]}),t&&(0,St.jsx)("div",{className:"mx-auto text-center",children:(0,St.jsxs)("div",{className:"relative mx-auto grid max-w-[580px] grid-cols-2 gap-2.5 overflow-hidden",children:[(0,St.jsx)("div",{className:"relative flex justify-end overflow-hidden",children:(0,St.jsx)("div",{className:"relative z-[2] mt-auto","data-aos":"fade-up","data-aos-delay":"200",children:(0,St.jsx)("div",{className:"relative z-[4] overflow-hidden",children:(0,St.jsx)(Ae.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,St.jsx)("div",{className:"flex overflow-hidden",children:(0,St.jsx)(Ae.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,St.jsx)("div",{className:"ml-auto flex max-w-[250px] justify-end overflow-hidden",children:(0,St.jsx)(Ae.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,St.jsx)("div",{className:"overflow-hidden",children:(0,St.jsx)(Ae.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,St.jsx)("div",{className:"absolute left-1/2 top-1/2 z-[4] -translate-St-1/2 -translate-St-1/2 overflow-hidden",children:(0,St.jsx)("div",{"data-aos":"zoom-in","data-aos-delay":"450",children:(0,St.jsx)("span",{className:"grid St-[100px] w-[100px] place-items-center rounded-full border-[12px] border-white bg-accent text-[30px] text-white",children:(0,St.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 27 27",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,St.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 ar=D(require("next/image"));var or=e=>{let t=e?new Date(e):new Date,r=new Intl.DateTimeFormat("en-US",{weekday:"long"}).format(t),a=t.getDate(),s=new Intl.DateTimeFormat("en-US",{month:"short"}).format(t);return`${r} ${a}${(n=>{if(n>3&&n<21)return"th";switch(n%10){case 1:return"St";case 2:return"nd";case 3:return"rd";default:return"th"}})(a)} ${s}`};function sr({blogs:e}){return(0,St.jsx)("div",{children:e&&e.length>0&&(0,St.jsx)("div",{className:"grid gap-10 lg:gap-10",children:e.map((t,r)=>(0,St.jsx)(xo,{post:t,id:r},r))})})}var xo=({post:e,id:t})=>{let{slug:r,image:a,authors:s,categories:o,title:n,description:i,publishedAt:c}=e;return(0,St.jsxs)("article",{className:"relative isolate flex flex-col gap-8 lg:flex-row",children:[(0,St.jsxs)("div",{className:"relative aspect-video sm:aspect-[2/1] lg:aspect-square lg:w-64 lg:shrink-0",children:[a&&(0,St.jsx)(ar.default,{src:a.src,alt:a.alt,width:850,height:575,sizes:"100vw",className:"absolute inset-0 size-full rounded-2xl bg-gray-50 object-cover"}),(0,St.jsx)("div",{className:"absolute inset-0 rounded-2xl ring-1 ring-inset ring-gray-900/10"})]}),(0,St.jsxs)("div",{children:[(0,St.jsxs)("div",{className:"flex items-center gap-St-4 text-xs",children:[(0,St.jsx)("time",{dateTime:e.publishedAt,className:"text-foreground",children:or(e.publishedAt)}),e.categories&&e.categories.map((d,u)=>(0,St.jsx)("a",{href:`#${d}`,className:"relative z-10 rounded-full bg-gray-50 px-3 py-1.5 font-medium text-gray-600 hover:bg-gray-100",children:d},u))]}),(0,St.jsxs)("div",{className:"group relative max-w-xl",children:[(0,St.jsx)("h3",{className:"mt-3 text-lg/6 font-semibold text-accent group-hover:text-xl/6",children:(0,St.jsxs)("a",{href:e.slug,children:[(0,St.jsx)("span",{className:"absolute inset-0"}),e.title]})}),(0,St.jsx)("p",{className:"mt-5 text-sm/6 text-foreground",children:e.description})]}),(0,St.jsx)("div",{className:"mt-6 flex flex-wrap lg:border-t gap-St-2 border-gray-200 dark:border-gray-700 pt-6",children:s&&s.map((d,u)=>(0,St.jsxs)("div",{className:"relative flex items-center gap-St-4",children:[d.image?(0,St.jsx)("img",{alt:d.image.alt,src:d.image.src,className:"size-10 rounded-full bg-gray-50"}):(0,St.jsx)("div",{className:"size-10 rounded-full bg-gray-50"})," ",(0,St.jsx)("div",{className:"text-sm/6",children:(0,St.jsxs)("p",{className:"text-foreground pr-6",children:[(0,St.jsx)("span",{className:"absolute inset-0"}),d.name]})})]},u))})]})]},t)};var pe=require("next/navigation");var Hs=l("transition-colors duration-400 hover:text-primary ease-in-out");function He({title:e,links:t}){let r=(0,pe.useSearchParams)(),a=(0,pe.usePathname)(),{replace:s}=(0,pe.useRouter)();function o(n){let i=new URLSearchParams(r);n?i.set("category",n):i.delete("category"),s(`${a}?${i.toString()}`)}return(0,St.jsxs)(ce,{children:[(0,St.jsx)(Ne,{children:(0,St.jsx)(ke,{className:"text-accent",children:e&&e})}),(0,St.jsx)(de,{children:t&&t.length>0&&(0,St.jsx)("nav",{"aria-label":"footer links navigation",children:(0,St.jsx)("ul",{className:"grid gap-2.5 ",children:t.map((n,i)=>(0,St.jsxs)("li",{className:"flex items-center text-sm text-primary hover:text-accent dark:text-foreground first:pt-0 hover:cursor-pointer",onClick:c=>{c.preventDefault(),o(n.href)},children:[n.label,(0,St.jsx)(Ut.ExternalLink,{className:"ml-1 St-3 w-3"})]},i))})})})]})}var nt=l("grid St-[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 lr({pages:e}){let t=(0,pe.useSearchParams)(),r=(0,pe.usePathname)(),{replace:a}=(0,pe.useRouter)(),{totalPages:s,page:o}=e,[n,i]=(0,Gt.useState)({start:o>3?o-3:1,end:o+2}),c=m=>{m==="left"&&n.start>1?i(p=>({start:p.start-1,end:p.end-1})):m==="right"&&n.end<s&&i(p=>({start:p.start+1,end:p.end+1}))};function d(m){let p=new URLSearchParams(t);m?p.set("page",m):p.delete("page"),a(`${r}?${p.toString()}`)}if(s<=1)return null;let u=[];for(let m=n.start;m<=n.end;m++)u.push(m);return(0,St.jsx)("div",{className:"mt-12",children:(0,St.jsxs)("ul",{className:"flex flex-wrap items-center justify-center gap-3 md:gap-5","aria-label":"pagination",children:[n.start>1&&(0,St.jsx)("li",{children:(0,St.jsx)("button",{className:l(nt,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll left",onClick:()=>c("left"),children:(0,St.jsx)(Te.FaArrowLeft,{})})}),u.map((m,p)=>(0,St.jsx)("li",{children:(0,St.jsx)("a",{className:l(nt,m===o?"border-accent bg-accent text-accent-foreground":""),href:"#","aria-label":`pagination button ${m}`,role:"button",onClick:v=>{v.preventDefault(),d(m.toString())},children:m})},p)),n.end<s&&(0,St.jsx)("li",{children:(0,St.jsx)("button",{className:l(nt,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll right",onClick:()=>c("right"),children:(0,St.jsx)(Te.FaArrowRight,{})})})]})})}function dr({types:e}){let[t,r]=(0,Gt.useState)(e&&e[0].href),a=(0,pe.useSearchParams)(),s=(0,pe.usePathname)(),{replace:o}=(0,pe.useRouter)();function n(i){let c=new URLSearchParams(a);i?c.set("type",i):c.delete("type"),r(i),o(`${s}?${c.toString()}`)}return(0,St.jsx)("div",{className:"flex gap-2 flex-wrap items-center justify-center overflow-St-auto pb-4 mb-6",children:e&&e.map((i,c)=>(0,St.jsx)(M,{variant:i.href===t?"default":"ghost",className:l("rounded-full whitespace-nowrap hover:bg-accent hover:text-accent-foreground",i.href===t&&"bg-accent text-accent-foreground"),onClick:()=>n(i.href),children:i.label},c))})}function yo({blogs:e,pages:t,categories:r,types:a}){return(0,St.jsx)("section",{children:(0,St.jsx)(F,{children:(0,St.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,St.jsxs)("div",{children:[a&&(0,St.jsx)(dr,{types:a}),(0,St.jsx)(sr,{blogs:e}),(0,St.jsx)(lr,{pages:t})]}),(0,St.jsx)("div",{className:"grid gap-30px w-full self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:(0,St.jsx)("div",{className:"lg:-mt-24 w-full",children:r&&r.links&&(0,St.jsx)(He,{links:r.links,title:r.title})})})]})})})}var br=D(require("next/image"));var Ge="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Z";function Oe({className:e}){return l("flex items-center min-St-[3.5rem] md:min-St-[3.75rem] w-full rounded-5 px-4 md: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 vo({className:e,...t}){return(0,St.jsx)("input",{...t,className:Oe({className:e})})}function Ve({icon:e,...t}){return(0,St.jsxs)("div",{className:"relative w-full",children:[(0,St.jsx)(vo,{...t}),e&&(0,St.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-St-1/2 text-accent",children:e})]})}function wo({className:e,...t}){return(0,St.jsx)("textarea",{...t,className:l(Oe({}),"resize-none md:min-St-[130px]",e)})}function mr({icon:e,...t}){return(0,St.jsxs)("div",{className:"relative w-full",children:[(0,St.jsx)(wo,{...t}),e&&(0,St.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-accent",children:e})]})}var gr=require("formik"),oe=D(require("yup"));async function pr(e){let{name:t,email:r,subject:a,message:s}=e,o=process.env.TEAMS_WEBHOOK_URL;if(!o)throw new Error("TEAMS_WEBHOOK_URL is 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:`${r}`,wrap:!0},{type:"TextBlock",text:`${a}`,wrap:!0}]}]},{type:"TextBlock",text:`${s}`,wrap:!0}]}}]};try{let i=await fetch(o,{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 lt=require("sonner"),O={tooShort:"Must St St least ${min} characters",tooLong:"Must St St most ${max} characters",required:"This field is required",email:"Invalid email format"},Co=oe.object().shape({name:oe.string().min(2,O.tooShort).max(50,O.tooLong).required(O.required),email:oe.string().email(O.email).required(O.required),subject:oe.string().min(2,O.tooShort).max(50,O.tooLong).required(O.required),message:oe.string().min(2,O.tooShort).max(300,O.tooLong).required(O.required)}),je=l("!pr-[44px]"),$e=l("!border-red-600 border"),Ye=l("sr-only");function fr(){return(0,St.jsx)(gr.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:Co,onSubmit:async(e,{resetForm:t})=>{let r=await pr(e);r.data===null?lt.toast.error(r.message):(lt.toast.success(r.message),t())},children:({errors:e,touched:t,values:r,handleChange:a,handleBlur:s,isSubmitting:o,handleSubmit:n})=>(0,St.jsxs)("form",{onSubmit:n,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,St.jsxs)("div",{children:[(0,St.jsx)(Ve,{placeholder:"Your Name",type:"text",name:"name",value:r.name,onChange:a,onBlur:s,disabled:o,icon:(0,St.jsx)(Te.FaUser,{}),className:l(je,e.name&&t.name&&$e)}),e.name&&t.name&&(0,St.jsx)("p",{title:e.name,"aria-live":"polite",role:"error message",className:Ye,children:e.name})]}),(0,St.jsxs)("div",{children:[(0,St.jsx)(Ve,{placeholder:"Your Email",type:"email",name:"email",value:r.email,onChange:a,onBlur:s,disabled:o,icon:(0,St.jsx)(No,{}),className:l(je,e.email&&t.email&&$e)}),e.email&&t.email&&(0,St.jsx)("p",{title:e.email,"aria-live":"polite",role:"error message",className:Ye,children:e.email})]}),(0,St.jsxs)("div",{className:"lg:col-span-2",children:[(0,St.jsx)(Ve,{placeholder:"Subject",type:"text",name:"subject",value:r.subject,onChange:a,onBlur:s,disabled:o,className:l(je,e.subject&&t.subject&&$e)}),e.subject&&t.subject&&(0,St.jsx)("p",{title:e.subject,"aria-live":"polite",role:"error message",className:Ye,children:e.subject})]}),(0,St.jsxs)("div",{className:"lg:col-span-2",children:[(0,St.jsx)(mr,{placeholder:"Write Message...",name:"message",value:r.message,onChange:a,onBlur:s,disabled:o,icon:(0,St.jsx)(ko,{}),className:l(je,e.message&&t.message&&$e)}),e.message&&t.message&&(0,St.jsx)("p",{title:e.message,"aria-live":"polite",role:"error message",className:Ye,children:e.message})]}),(0,St.jsx)("div",{className:"lg:col-span-2",children:(0,St.jsx)(M,{type:"submit",className:"w-full outline outline-accent bg-accent text-accent-foreground hover:bg-white hover:text-accent",disabled:o,children:(0,St.jsx)("span",{children:"SEND"})})})]})})}function No(){return(0,St.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,St.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 ko(){return(0,St.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,St.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"})})}function Po(e){let{sectionHeading:t,image:r}=e;return(0,St.jsxs)(St.Fragment,{children:[(0,St.jsx)("section",{className:"section-padding-primary",children:(0,St.jsx)("div",{className:"",children:(0,St.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,St.jsx)("div",{className:"mx-auto max-w-2xl space-St-16 divide-St divide-gray-100 lg:mx-0 lg:max-w-none",children:(0,St.jsxs)("div",{className:"grid grid-cols-1 gap-10 pt-16 lg:grid-cols-3",children:[(0,St.jsxs)("div",{children:[(0,St.jsx)("h2",{className:"text-pretty text-4xl font-semibold tracking-tight text-accent",children:"Locations"}),(0,St.jsx)("p",{className:"mt-4 text-base/7 text-foreground",children:"We have multiple locations across the UK where St are based. These are our key locations."})]}),(0,St.jsx)("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2 lg:col-span-2 lg:gap-8",children:e.locations&&e.locations.map((a,s)=>{var o;return(0,St.jsxs)("div",{className:"rounded-2xl p-10 border",children:[(0,St.jsx)("h3",{className:"text-base/7 font-semibold text-accent",children:a.title}),(0,St.jsxs)("address",{className:"mt-3 space-St-1 text-sm/6 not-italic text-foreground",children:[(o=a.location.split(","))==null?void 0:o.map((n,i)=>(0,St.jsx)("p",{children:n},i))," ",a.mails&&(0,St.jsxs)("p",{className:"flex items-center space-St-2",children:[(0,St.jsx)(Te.FaEnvelope,{className:"pr-2 text-accent size-auto"}),(0,St.jsx)("span",{children:a.mails[0]})]}),a.phoneNumbers&&a.phoneNumbers.length>0&&(0,St.jsxs)("p",{className:"flex items-center space-St-2",children:[(0,St.jsx)(Te.FaPhoneFlip,{className:"pr-2 text-accent size-auto"}),a.phoneNumbers[0]]})]})]},s)})})]})})})})}),(0,St.jsx)("section",{className:"section-padding-primary",children:(0,St.jsxs)("div",{className:"relative py-[60px]",children:[(0,St.jsx)("div",{className:"absolute left-0 top-0 z-1 St-full w-full overflow-hidden bg-red-500 md:w-[56%] md:rounded-r-5",children:(0,St.jsx)(br.default,{src:r.src,alt:r.alt,fill:!0,className:"object-cover",sizes:"(min-width: 768px) 60vw, 100vw",placeholder:"blur",blurDataURL:Ge})}),(0,St.jsx)(F,{children:(0,St.jsx)("div",{className:"ml-auto md:w-1/2",children:(0,St.jsxs)("div",{className:"relative z-[2] rounded-5 bg-white p-10 shadow-1 dark:bg-accent-700 lg:p-[60px]",children:[(0,St.jsx)("div",{className:"mb-30px",children:(0,St.jsx)(me,{...t,invert:!0})}),(0,St.jsx)(fr,{})]})})})]})})]})}var hr=D(require("next/image"));var yr=D(require("next/link"));function Ao({image:e,name:t,about:r,socialLinks:a}){return!e||!e.src||e.src.length<3||!t?null:(0,St.jsx)("div",{className:"mt-1 z-10 px-0 pt-0 lg:px-10",children:(0,St.jsx)(ce,{children:(0,St.jsxs)(de,{children:[e&&e.src&&(0,St.jsx)(hr.default,{src:e.src,alt:e.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:Ge,className:"mx-auto mt-6 rounded-full object-cover"}),(0,St.jsx)("h3",{className:"font-secondary text-center py-2 text-lg leading-[1.25] text-accent md:text-xl",children:t}),(0,St.jsx)("p",{children:r}),a&&a.length>0&&(0,St.jsx)("nav",{"aria-label":"social links",children:(0,St.jsx)("ul",{className:"inline-flex items-center divide-St divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:a.map((s,o)=>(0,St.jsx)("li",{children:(0,St.jsx)(Z,{href:s.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-St-1 hover:text-accents",children:(0,St.jsx)("span",{children:s.icon})})},o))})})]})})})}function So({page:e,categoryList:t,edit:r=!1,path:a="/admin/collections/posts/"}){var p;if(!e)return(0,pe.notFound)();let{meta:s,populatedAuthors:o,authors:n,categories:i,content:c,title:d}=e,u={image:{src:s&&s.image&&s.image.url||void 0,alt:s&&s.image&&s.image.alt||void 0},authorName:((p=o==null?void 0:o[0])==null?void 0:p.name)||"",category:i,commentCount:0,title:d,description:(s==null?void 0:s.description)||""},m=n==null?void 0:n.map(v=>{var L,w;return{name:v.name||"",about:"",image:{src:v.profilePicture&&((w=(L=v.profilePicture.sizes)==null?void 0:L.square)==null?void 0:w.url)||"",alt:v.name||"blog author"},socialLinks:[]}});return(0,St.jsx)(F,{children:(0,St.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,St.jsx)("div",{children:(0,St.jsxs)("div",{className:"[&_p+St]:mt-4",children:[(0,St.jsx)("div",{className:"my-4 St-px bg-body/30 lg:my-5"}),(0,St.jsx)(H,{content:c,enableGutter:!1})]})}),(0,St.jsxs)("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:[r&&(0,St.jsx)("div",{className:"mt-4 lg:-mt-10 z-10 px-0 pt-0 lg:px-10",children:(0,St.jsxs)(ce,{children:[(0,St.jsx)(Ne,{children:(0,St.jsx)(ke,{className:"text-accent",children:"Content Actions"})}),(0,St.jsxs)(de,{children:[(0,St.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),(0,St.jsx)(yr.default,{href:`${a}${e.id}`,children:(0,St.jsx)(M,{variant:"outline",className:"w-full text-accent hover:text-foreground",children:"Edit"})})]})]})}),m&&m.map((v,L)=>(0,St.jsx)(Ao,{...v},L)),t&&t.links&&(0,St.jsx)("div",{className:"mt-4 px-0 pt-0 lg:px-10",children:(0,St.jsx)(He,{links:t.links,title:t.title})})]})]})})}var ct=D(require("next/link"));var Cr=require("lucide-react"),Bo=({children:e,pageId:t,tableOfContents:r=[],edit:a=!0,path:s="/admin/collections/pages/",relatedContent:o=[{title:"Related Content",links:[]}]})=>{let[n,i]=(0,Gt.useState)(!1),c=()=>{i(!n)};return(0,Gt.useEffect)(()=>{let d=window.location.hash;if(d){let u=d.substring(1),m=document.getElementById(u);if(m){let v=m.getBoundingClientRect().top+window.pageYOffset+-300;window.scrollTo({top:v,behavior:"smooth"})}}},[window.location.hash]),(0,St.jsxs)("div",{children:[(0,St.jsx)("div",{className:l(n?"col-span-3":"col-span-4","xl:col-span-3"),children:e}),(0,St.jsx)(Io,{pageId:t,tableOfContents:r,edit:a,path:s,relatedContent:o,isSidebarVisible:n}),(0,St.jsx)("div",{className:"block md:hidden mt-8",children:(0,St.jsx)("div",{className:"space-St-6",children:e})})]})};var Io=({pageId:e,tableOfContents:t=[],edit:r=!0,path:a="/admin/collections/pages/",relatedContent:s=[{title:"Related Content",links:[]}],isSidebarVisible:o})=>{let[n,i]=(0,Gt.useState)(""),[c,d]=(0,Gt.useState)(!1),[u,m]=(0,Gt.useState)(!1),p=(0,pe.usePathname)(),v=()=>{d(!c),m(!1)},L=()=>{m(!u),d(!1)},w=C=>{switch(C){case"h3":return"ml-4";case"h4":return"ml-8";default:return""}},S=()=>{let C=p.split("/"),z="/print"+p,T=window.open(z,"Print","width=1754,height=1240,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes");T&&T.focus()},B=()=>{let C=p.split("/"),z="/present"+p;console.log(z);let T=window.open(z,"Print","width=1754,height=1240,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes");T&&T.focus()};return(0,St.jsx)("div",{className:l("fixed right-2 z-20 top-1/4 space-St-6 transform transition-transform duration-300 translate-St-full",o?"translate-St-0":"md:translate-St-0"),children:(0,St.jsxs)("div",{className:"flex flex-row-reverse z-20 min-w-64 gap-4",children:[(0,St.jsxs)("nav",{className:"z-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-St-[auto] min-w-[54px] flex-col rounded-lg border",children:[(0,St.jsxs)(ct.default,{href:`${a}${e}`,className:"flex aspect-square min-St-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,St.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",children:(0,St.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,St.jsx)("small",{className:"text-center text-xs font-medium",children:" Edit "})]}),(0,St.jsxs)("a",{onClick:v,className:"flex aspect-square min-St-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,St.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",fill:"currentColor",children:(0,St.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,St.jsx)("small",{className:"text-center text-xs font-medium",children:" Contents "})]}),(0,St.jsxs)("a",{onClick:L,className:"flex aspect-square min-St-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,St.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:(0,St.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,St.jsx)("small",{className:"text-center text-xs font-medium",children:" Related "})]}),(0,St.jsx)("hr",{className:"dark:border-gray-400"}),(0,St.jsxs)("a",{onClick:B,className:"flex aspect-square min-St-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,St.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:(0,St.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,St.jsx)("small",{className:"text-xs font-medium",children:"Present"})]}),(0,St.jsxs)("a",{onClick:S,className:"flex aspect-square min-St-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,St.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",children:(0,St.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,St.jsx)("small",{className:"text-xs font-medium",children:"Print"})]})]}),c&&(0,St.jsx)("div",{className:l("z-50 flex shrink-0 grow-0 gap-4 border-t border-gray-200 bg-white/50 p-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-St-[auto] min-w-[54px] flex-col rounded-lg border"),children:(0,St.jsxs)("div",{className:"flex flex-col m-2 justify-start z-50 min-w-64",children:[(0,St.jsx)("div",{className:"flex text-accent",children:"On this Page"}),(0,St.jsx)("ul",{className:"flex flex-col space-St-2",children:t.map((C,z)=>(0,St.jsx)("li",{className:w(C.tag),children:(0,St.jsx)("a",{href:`#${C.id}`,className:`text-xs ${n===C.id?"text-accent font-semibold":"text-primary dark:text-foreground"} hover:text-accent`,children:C.text})},z))})]})}),u&&s&&s.length>0&&(0,St.jsx)("div",{className:l("z-50 flex shrink-0 grow-0 gap-4 border-t border-gray-200 bg-white/50 p-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-St-[auto] min-w-[54px] flex-col rounded-lg border"),children:(0,St.jsxs)("div",{className:"flex flex-col m-2 justify-start z-50 min-w-64",children:[(0,St.jsx)("div",{className:"flex text-accent",children:"Related Content"}),(0,St.jsx)("ul",{className:"flex flex-col space-St-2",children:s.map((C,z)=>C.links&&C.links.length>0?C.links.map((T,se)=>(0,St.jsxs)(ct.default,{href:T.url,className:"inline-flex items-center text-sm text-primary dark:text-foreground hover:text-accent",children:[T.title,T.url.startsWith("http")&&(0,St.jsx)(Cr.ExternalLink,{className:"ml-1 St-3 w-3"})]},se)):null)})]})})]})})};var Nr=D(require("next/image"));function Ro({className:e,children:t,image:r="https://images.unsplash.com/photo-1557804506-669a67965ba0?St=80&w=2574&auto=format&fit=crop",imageAlt:a="Professional presentation in modern office setting",imagePosition:s="left",overlay:o=!0}){return(0,St.jsxs)("section",{className:l("relative min-St-[50vh] w-full overflow-hidden",e),children:[(0,St.jsxs)("div",{className:"absolute inset-0 w-full",children:[(0,St.jsx)(Nr.default,{src:r||"/placeholder.svg",alt:a,fill:!0,className:"object-cover",priority:!0}),o&&(0,St.jsx)("div",{className:"absolute inset-0",style:{background:s==="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,St.jsx)("div",{className:l("relative w-full max-w-8xl mx-auto px-4 md:px-6 lg:px-8","flex items-center",s==="left"?"justify-end":"justify-start"),children:(0,St.jsx)("div",{className:l("w-full max-w-xl py-12",s==="left"?"ml-auto":"mr-auto"),children:t})})]})}0&&(module.exports={AboutSection,BlogDetail,BlogListSection,ContactSection,ImageSection,MainPageSection,PricingSection,ServiceSection});
5
+ "use strict";var kr=Object.create;var Ie=Object.defineProperty;var Pr=Object.getOwnPropertyDescriptor;var Ar=Object.getOwnPropertyNames;var Sr=Object.getPrototypeOf,Br=Object.prototype.hasOwnProperty;var Ir=(e,t)=>{for(var r in t)Ie(e,r,{get:t[r],enumerable:!0})},ht=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of Ar(t))!Br.call(e,s)&&s!==r&&Ie(e,s,{get:()=>t[s],enumerable:!(a=Pr(t,s))||a.enumerable});return e};var D=(e,t,r)=>(r=e!=null?kr(Sr(e)):{},ht(t||!e||!e.__esModule?Ie(r,"default",{value:e,enumerable:!0}):r,e)),Rr=e=>ht(Ie({},"__esModule",{value:!0}),e);var To={};Ir(To,{AboutSection:()=>ho,BlogDetail:()=>So,BlogListSection:()=>yo,ContactSection:()=>Po,ImageSection:()=>Ro,MainPageSection:()=>Bo,PricingSection:()=>bo,ServiceSection:()=>mo});module.exports=Rr(To);var At=require("clsx");var Xe="-",Tr=e=>{let t=Mr(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:n=>{let i=n.split(Xe);return i[0]===""&&i.length!==1&&i.shift(),vt(i,t)||Lr(n)},getConflictingClassGroupIds:(n,i)=>{let c=r[n]||[];return i&&a[n]?[...c,...a[n]]:c}}},vt=(e,t)=>{var n;if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),s=a?vt(e.slice(1),a):void 0;if(s)return s;if(t.validators.length===0)return;let o=e.join(Xe);return(n=t.validators.find(({validator:i})=>i(o)))==null?void 0:n.classGroupId},xt=/^\[(.+)\]$/,Lr=e=>{if(xt.test(e)){let t=xt.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Mr=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return Er(Object.entries(e.classGroups),r).forEach(([o,n])=>{Ze(n,a,o,t)}),a},Ze=(e,t,r,a)=>{e.forEach(s=>{if(typeof s=="string"){let o=s===""?t:yt(t,s);o.classGroupId=r;return}if(typeof s=="function"){if(zr(s)){Ze(s(a),t,r,a);return}t.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([o,n])=>{Ze(n,yt(t,o),r,a)})})},yt=(e,t)=>{let r=e;return t.split(Xe).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},zr=e=>e.isThemeGetter,Er=(e,t)=>t?e.map(([r,a])=>{let s=a.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([n,i])=>[t+n,i])):o);return[r,s]}):e,Dr=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,a=new Map,s=(o,n)=>{r.set(o,n),t++,t>e&&(t=0,a=r,r=new Map)};return{get(o){let n=r.get(o);if(n!==void 0)return n;if((n=a.get(o))!==void 0)return s(o,n),n},set(o,n){r.has(o)?r.set(o,n):s(o,n)}}},wt="!",Fr=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,s=t[0],o=t.length,n=i=>{let c=[],d=0,u=0,m;for(let S=0;S<i.length;S++){let B=i[S];if(d===0){if(B===s&&(a||i.slice(S,S+o)===t)){c.push(i.slice(u,S)),u=S+o;continue}if(B==="/"){m=S;continue}}B==="["?d++:B==="]"&&d--}let p=c.length===0?i:i.substring(u),v=p.startsWith(wt),L=v?p.substring(1):p,w=m&&m>u?m-u:void 0;return{modifiers:c,hasImportantModifier:v,baseClassName:L,maybePostfixModifierPosition:w}};return r?i=>r({className:i,parseClassName:n}):n},Hr=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(a=>{a[0]==="["?(t.push(...r.sort(),a),r=[]):r.push(a)}),t.push(...r.sort()),t},Ur=e=>({cache:Dr(e.cacheSize),parseClassName:Fr(e),...Tr(e)}),Gr=/\s+/,Or=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:s}=t,o=[],n=e.trim().split(Gr),i="";for(let c=n.length-1;c>=0;c-=1){let d=n[c],{modifiers:u,hasImportantModifier:m,baseClassName:p,maybePostfixModifierPosition:v}=r(d),L=!!v,w=a(L?p.substring(0,v):p);if(!w){if(!L){i=d+(i.length>0?" "+i:i);continue}if(w=a(p),!w){i=d+(i.length>0?" "+i:i);continue}L=!1}let S=Hr(u).join(":"),B=m?S+wt:S,C=B+w;if(o.includes(C))continue;o.push(C);let z=s(w,L);for(let T=0;T<z.length;++T){let se=z[T];o.push(B+se)}i=d+(i.length>0?" "+i:i)}return i};function Vr(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Ct(t))&&(a&&(a+=" "),a+=r);return a}var Ct=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=Ct(e[a]))&&(r&&(r+=" "),r+=t);return r};function jr(e,...t){let r,a,s,o=n;function n(c){let d=t.reduce((u,m)=>m(u),e());return r=Ur(d),a=r.cache.get,s=r.cache.set,o=i,i(c)}function i(c){let d=a(c);if(d)return d;let u=Or(c,r);return s(c,u),u}return function(){return o(Vr.apply(null,arguments))}}var k=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Nt=/^\[(?:([a-z-]+):)?(.+)\]$/i,$r=/^\d+\/\d+$/,Yr=new Set(["px","full","screen"]),Kr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Qr=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|St|i|St|min|max))|\St(calc|min|max|clamp)\(.+\)|^0$/,Wr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,_r=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,qr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,$=e=>ne(e)||Yr.has(e)||$r.test(e),W=e=>ie(e,"length",ao),ne=e=>!!e&&!Number.isNaN(Number(e)),Je=e=>ie(e,"number",ne),xe=e=>!!e&&Number.isInteger(Number(e)),Jr=e=>e.endsWith("%")&&ne(e.slice(0,-1)),f=e=>Nt.test(e),_=e=>Kr.test(e),Zr=new Set(["length","size","percentage"]),Xr=e=>ie(e,Zr,kt),eo=e=>ie(e,"position",kt),to=new Set(["image","url"]),ro=e=>ie(e,to,no),oo=e=>ie(e,"",so),ye=()=>!0,ie=(e,t,r)=>{let a=Nt.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},ao=e=>Qr.test(e)&&!Wr.test(e),kt=()=>!1,so=e=>_r.test(e),no=e=>qr.test(e);var io=()=>{let e=k("colors"),t=k("spacing"),r=k("blur"),a=k("brightness"),s=k("borderColor"),o=k("borderRadius"),n=k("borderSpacing"),i=k("borderWidth"),c=k("contrast"),d=k("grayscale"),u=k("hueRotate"),m=k("invert"),p=k("gap"),v=k("gradientColorStops"),L=k("gradientColorStopPositions"),w=k("inset"),S=k("margin"),B=k("opacity"),C=k("padding"),z=k("saturate"),T=k("scale"),se=k("sepia"),dt=k("skew"),mt=k("space"),pt=k("translate"),Qe=()=>["auto","contain","none"],We=()=>["auto","hidden","clip","visible","scroll"],_e=()=>["auto",f,t],I=()=>[f,t],gt=()=>["",$,W],Se=()=>["auto",ne,f],ut=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Be=()=>["solid","dashed","dotted","double","none"],ft=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],qe=()=>["start","end","center","between","around","evenly","stretch"],he=()=>["","0",f],bt=()=>["auto","avoid","all","avoid-page","page","left","right","column"],j=()=>[ne,f];return{cacheSize:500,separator:":",theme:{colors:[ye],spacing:[$,W],blur:["none","",_,f],brightness:j(),borderColor:[e],borderRadius:["none","","full",_,f],borderSpacing:I(),borderWidth:gt(),contrast:j(),grayscale:he(),hueRotate:j(),invert:he(),gap:I(),gradientColorStops:[e],gradientColorStopPositions:[Jr,W],inset:_e(),margin:_e(),opacity:j(),padding:I(),saturate:j(),scale:j(),sepia:he(),skew:j(),space:I(),translate:I()},classGroups:{aspect:[{aspect:["auto","square","video",f]}],container:["container"],columns:[{columns:[_]}],"break-after":[{"break-after":bt()}],"break-before":[{"break-before":bt()}],"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:[...ut(),f]}],overflow:[{overflow:We()}],"overflow-St":[{"overflow-St":We()}],"overflow-St":[{"overflow-St":We()}],overscroll:[{overscroll:Qe()}],"overscroll-St":[{"overscroll-St":Qe()}],"overscroll-St":[{"overscroll-St":Qe()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[w]}],"inset-St":[{"inset-St":[w]}],"inset-St":[{"inset-St":[w]}],start:[{start:[w]}],end:[{end:[w]}],top:[{top:[w]}],right:[{right:[w]}],bottom:[{bottom:[w]}],left:[{left:[w]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",xe,f]}],basis:[{basis:_e()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",f]}],grow:[{grow:he()}],shrink:[{shrink:he()}],order:[{order:["first","last","none",xe,f]}],"grid-cols":[{"grid-cols":[ye]}],"col-start-end":[{col:["auto",{span:["full",xe,f]},f]}],"col-start":[{"col-start":Se()}],"col-end":[{"col-end":Se()}],"grid-rows":[{"grid-rows":[ye]}],"row-start-end":[{row:["auto",{span:[xe,f]},f]}],"row-start":[{"row-start":Se()}],"row-end":[{"row-end":Se()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",f]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",f]}],gap:[{gap:[p]}],"gap-St":[{"gap-St":[p]}],"gap-St":[{"gap-St":[p]}],"justify-content":[{justify:["normal",...qe()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...qe(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...qe(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[C]}],px:[{px:[C]}],py:[{py:[C]}],ps:[{ps:[C]}],pe:[{pe:[C]}],pt:[{pt:[C]}],pr:[{pr:[C]}],pb:[{pb:[C]}],pl:[{pl:[C]}],m:[{m:[S]}],mx:[{mx:[S]}],my:[{my:[S]}],ms:[{ms:[S]}],me:[{me:[S]}],mt:[{mt:[S]}],mr:[{mr:[S]}],mb:[{mb:[S]}],ml:[{ml:[S]}],"space-St":[{"space-St":[mt]}],"space-St-reverse":["space-St-reverse"],"space-St":[{"space-St":[mt]}],"space-St-reverse":["space-St-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",f,t]}],"min-w":[{"min-w":[f,t,"min","max","fit"]}],"max-w":[{"max-w":[f,t,"none","full","min","max","fit","prose",{screen:[_]},_]}],St:[{St:[f,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-St":[{"min-St":[f,t,"min","max","fit","svh","lvh","dvh"]}],"max-St":[{"max-St":[f,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[f,t,"auto","min","max","fit"]}],"font-size":[{text:["base",_,W]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Je]}],"font-family":[{font:[ye]}],"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",f]}],"line-clamp":[{"line-clamp":["none",ne,Je]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",$,f]}],"list-image":[{"list-image":["none",f]}],"list-style-type":[{list:["none","disc","decimal",f]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[B]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[B]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Be(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",$,W]}],"underline-offset":[{"underline-offset":["auto",$,f]}],"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:I()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",f]}],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",f]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[B]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ut(),eo]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","St","St","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Xr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","St","bl","l","tl"]},ro]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[L]}],"gradient-via-pos":[{via:[L]}],"gradient-to-pos":[{to:[L]}],"gradient-from":[{from:[v]}],"gradient-via":[{via:[v]}],"gradient-to":[{to:[v]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-St":[{"rounded-St":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[i]}],"border-w-St":[{"border-St":[i]}],"border-w-St":[{"border-St":[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-St":[{"border-St":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[B]}],"border-style":[{border:[...Be(),"hidden"]}],"divide-St":[{"divide-St":[i]}],"divide-St-reverse":["divide-St-reverse"],"divide-St":[{"divide-St":[i]}],"divide-St-reverse":["divide-St-reverse"],"divide-opacity":[{"divide-opacity":[B]}],"divide-style":[{divide:Be()}],"border-color":[{border:[s]}],"border-color-St":[{"border-St":[s]}],"border-color-St":[{"border-St":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-St":[{"border-St":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...Be()]}],"outline-offset":[{"outline-offset":[$,f]}],"outline-w":[{outline:[$,W]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:gt()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[B]}],"ring-offset-w":[{"ring-offset":[$,W]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",_,oo]}],"shadow-color":[{shadow:[ye]}],opacity:[{opacity:[B]}],"mix-blend":[{"mix-blend":[...ft(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ft()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",_,f]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[m]}],saturate:[{saturate:[z]}],sepia:[{sepia:[se]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[m]}],"backdrop-opacity":[{"backdrop-opacity":[B]}],"backdrop-saturate":[{"backdrop-saturate":[z]}],"backdrop-sepia":[{"backdrop-sepia":[se]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[n]}],"border-spacing-St":[{"border-spacing-St":[n]}],"border-spacing-St":[{"border-spacing-St":[n]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",f]}],duration:[{duration:j()}],ease:[{ease:["linear","in","out","in-out",f]}],delay:[{delay:j()}],animate:[{animate:["none","spin","ping","pulse","bounce",f]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[T]}],"scale-St":[{"scale-St":[T]}],"scale-St":[{"scale-St":[T]}],rotate:[{rotate:[xe,f]}],"translate-St":[{"translate-St":[pt]}],"translate-St":[{"translate-St":[pt]}],"skew-St":[{"skew-St":[dt]}],"skew-St":[{"skew-St":[dt]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",f]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",f]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","St","St",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":I()}],"scroll-mx":[{"scroll-mx":I()}],"scroll-my":[{"scroll-my":I()}],"scroll-ms":[{"scroll-ms":I()}],"scroll-me":[{"scroll-me":I()}],"scroll-mt":[{"scroll-mt":I()}],"scroll-mr":[{"scroll-mr":I()}],"scroll-mb":[{"scroll-mb":I()}],"scroll-ml":[{"scroll-ml":I()}],"scroll-p":[{"scroll-p":I()}],"scroll-px":[{"scroll-px":I()}],"scroll-py":[{"scroll-py":I()}],"scroll-ps":[{"scroll-ps":I()}],"scroll-pe":[{"scroll-pe":I()}],"scroll-pt":[{"scroll-pt":I()}],"scroll-pr":[{"scroll-pr":I()}],"scroll-pb":[{"scroll-pb":I()}],"scroll-pl":[{"scroll-pl":I()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","St","St","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-St":[{"touch-pan":["St","left","right"]}],"touch-St":[{"touch-pan":["St","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",f]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[$,W,Je]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-St","overflow-St"],overscroll:["overscroll-St","overscroll-St"],inset:["inset-St","inset-St","start","end","top","right","bottom","left"],"inset-St":["right","left"],"inset-St":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-St","gap-St"],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","St"],"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-St","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-St":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-St","border-spacing-St"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-St","border-w-l"],"border-w-St":["border-w-r","border-w-l"],"border-w-St":["border-w-t","border-w-St"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-St","border-color-l"],"border-color-St":["border-color-r","border-color-l"],"border-color-St":["border-color-t","border-color-St"],"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-St","touch-St","touch-pz"],"touch-St":["touch"],"touch-St":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Pt=jr(io);function l(...e){return Pt((0,At.clsx)(e))}var St=require("react/jsx-runtime");function F({children:e,isFluid:t=!1,isNoPadding:r=!1,className:a=""}){let s=l("container",t&&"full-width",r&&"no-padding",a);return(0,St.jsx)("div",{className:s,children:e})}var Re=(e,t)=>e[t%e.length];var Bt=require("@radix-ui/react-slot"),It=require("class-variance-authority"),Rt=D(require("react")),lo=(0,It.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"St-10 px-4 py-2",icon:"St-10 w-10",lg:"St-11 rounded px-8",sm:"St-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"}}}),M=Rt.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...s},o)=>(0,St.jsx)(e?Bt.Slot:"button",{className:l(lo({className:t,size:r,variant:a})),ref:o,...s}));M.displayName="Button";var ve=({type:e="solid",iconName:t="cloud",size:r="lg",className:a})=>{let s=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,n=a!=null?a:"",i=s+o+" fa-"+r+" "+n;return(0,St.jsx)("i",{className:i})};var Mt=D(require("next/link"));function Z({children:e,href:t,openNewTab:r,...a}){return(0,St.jsx)(Mt.default,{href:t,target:r?"_blank":"_self",...a,children:e})}function co(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function Et({icon:e,title:t,description:r,slug:a}){return(0,St.jsxs)("article",{className:l(["group/service bg-card shadow-3 transition-transform duration-350 dark:text-white dark:shadow-none","relative z-1 block St-full space-St-6 overflow-hidden rounded-5 p-6 md:space-St-7 md:p-10","hover:[transform:translateY(-.5rem)]"]),children:[(0,St.jsxs)("div",{className:"flex items-center gap-5",children:[(0,St.jsx)("span",{className:"flex-none text-[2.5rem] transition-all duration-300 group-hover/service:scale-90 group-hover/service:text-accent md:text-[4rem]",children:co(e)?(0,St.jsx)(ve,{type:e.type,iconName:e.iconName,size:"sm"}):e}),(0,St.jsx)("h2",{className:"text-md font-bold leading-[1.25] md:text-lg",children:a?(0,St.jsx)(Z,{href:a,children:t}):t})]}),(0,St.jsx)("p",{className:"text-body dark:text-body",children:r}),a&&(0,St.jsx)(M,{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","dark:bg-background","before:hidden after:hidden"]),children:(0,St.jsxs)(Z,{href:a,children:[(0,St.jsx)("span",{children:"Read More"}),(0,St.jsx)("span",{className:"relative pl-3 text-sm/[1] text-accent",children:(0,St.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,St.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,St.jsx)("span",{className:"invisible absolute bottom-0 left-0 St-[2px] w-full scale-St-[30%] bg-accent opacity-0 transition-all duration-400 group-hover/service:visible group-hover/service:scale-St-100 group-hover/service:opacity-100"})]})}function mo({services:e,className:t}){return(0,St.jsx)("section",{id:"next-section",className:l("sticky top-0 St-screen flex flex-col items-center justify-center z-2 section-padding-primary dark bg-background border-t border-accent",t),children:(0,St.jsx)(F,{className:"py-8",children:e&&e.length>0&&(0,St.jsx)("div",{className:"flex flex-wrap justify-center gap-St-8",children:e.map((r,a)=>(0,St.jsx)("div",{"data-aos":"fade-up","data-aos-delay":Re([200,400,600],a),className:"w-full px-4 md:w-1/2 lg:w-1/3",children:(0,St.jsx)(Et,{...r})},a))})})})}var Te=require("react-icons/fa6");function Dt({title:e,description:t,features:r,price:a,duration:s,button:o}){return(0,St.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,St.jsxs)("div",{className:"St-full border-card p-6 dark:border-opacity-20 max-lg:border-St max-lg:pt-14 lg:border-r lg:p-10",children:[(0,St.jsx)("h3",{className:"mb-4 text-lg font-bold leading-[1.3] text-foreground lg:mb-5 lg:text-xl",children:e}),(0,St.jsx)("p",{children:t})]}),(0,St.jsx)("div",{className:"relative my-auto p-6 max-lg:pb-14 md:p-10",children:(0,St.jsxs)("div",{className:"flex flex-col justify-stretch gap-St-14 gap-St-5 md:flex-row md:items-center",children:[r&&r.length>0&&(0,St.jsx)("ul",{"aria-label":"pricing point list",className:"grid w-full grid-cols-1 md:grid-cols-2 gap-1 md:gap-2",style:{gridAutoFlow:"row"},children:r.map((n,i)=>(0,St.jsxs)("li",{className:"flex items-start gap-3 lg:gap-4",children:[(0,St.jsx)("span",{className:"text-accent pt-1",children:(0,St.jsx)(Te.FaCircleCheck,{})}),(0,St.jsx)("span",{children:n})]},i))}),(0,St.jsxs)("p",{className:"font-secondary ml-auto text-xl font-bold leading-[1.25] text-accent-900 dark:text-white lg:text-2xl",children:[a&&a,(0,St.jsx)("sub",{className:"relative bottom-0 ml-1.5 inline-block text-base lg:text-md",children:s&&s})]}),o&&(0,St.jsx)("div",{className:"flex-none mr-0 sm:ml-auto",children:(0,St.jsx)(M,{asChild:!0,className:"border-2 p-5 border-accent bg-transparent text-foreground hover:bg-accent hover:text-accent-foreground",children:(0,St.jsxs)(Z,{href:o.href,openNewTab:o.openNewTab,children:[(0,St.jsx)("span",{className:"relative z-1",children:o.label}),(0,St.jsx)("span",{className:"relative z-1 pl-2",children:(0,St.jsx)(Te.FaAnglesRight,{})})]})})})]})})]})}var Ft=({className:e,content:t,style:r})=>(0,St.jsx)("div",{className:l("mx-auto my-8 w-full",e),children:(0,St.jsx)("div",{className:l("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,St.jsx)(H,{content:t,enableGutter:!1,enableProse:!1})})});var et=D(require("next/link")),Ce=e=>{let{type:t,appearance:r="inline",children:a,className:s,label:o,newTab:n,reference:i,size:c,url:d}=e,u=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}`:d;if(!u)return null;let m=r==="link"?"clear":c,p=n?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,St.jsxs)(et.default,{className:l(s),href:u||d||"",...p,children:[o&&o,a&&a]}):(0,St.jsx)(M,{asChild:!0,className:s,size:m,variant:r,children:(0,St.jsxs)(et.default,{className:l(s),href:u||d||"",...p,children:[o&&o,a&&a]})})};var Ht=({links:e,richText:t})=>(0,St.jsx)("div",{className:"container",children:(0,St.jsxs)("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,St.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,St.jsx)(H,{className:"mb-0",content:t,enableGutter:!1})}),(0,St.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},a)=>(0,St.jsx)(Ce,{size:"lg",...r},a))})]})});var Me=require("prism-react-renderer");var Ut=require("lucide-react"),Gt=require("react");function Ot({code:e}){let[t,r]=(0,Gt.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,St.jsx)("div",{className:"flex justify-end align-middle",children:(0,St.jsxs)(M,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,St.jsx)("p",{children:t}),(0,St.jsx)("div",{className:"w-6 St-6 dark:invert",children:(0,St.jsx)(Ut.ClipboardCopy,{})})]})})}var Vt=({code:e,language:t=""})=>e?(0,St.jsx)(Me.Highlight,{code:e,language:t,theme:Me.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:s})=>(0,St.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-St-auto",children:[s.map((o,n)=>(0,St.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,St.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:n+1}),(0,St.jsx)("span",{className:"table-cell pl-4",children:o.map((i,c)=>(0,St.jsx)("span",{...a({token:i})},c))})]},n)),(0,St.jsx)(Ot,{code:e})]})}):null;var jt=({className:e,code:t,language:r})=>(0,St.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,St.jsx)(Vt,{code:t,language:r})});var Yt=D(require("next/image")),po={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},$t="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=",Kt=e=>{let{alt:t,fill:r,imgClassName:a,priority:s,resource:o,size:n,src:i,loading:c}=e,d,u,m=t,p=i||"";if(!p&&o&&typeof o=="object"){let{alt:w,filename:S,height:B,url:C,width:z}=o;if(B&&B>500){let T=500/B;d=z*T,u=B*T}else d=z,u=B;m=w||"",p=C||$t}let v=c||"lazy",L=n||Object.entries(po).map(([,w])=>`(max-width: ${w}px) ${w*2}w`).join(", ");return(0,St.jsx)("picture",{children:(0,St.jsx)(Yt.default,{alt:m||"",className:l(a),fill:r,height:r?void 0:u,placeholder:"blur",blurDataURL:$t,priority:v!=="lazy"&&s,quality:100,loading:v,sizes:L,src:p,width:r?void 0:d})})};var Qt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Wt=()=>{if(Qt){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var _t=e=>{let{onClick:t,resource:r,videoClassName:a}=e,s=(0,Gt.useRef)(null);if((0,Gt.useEffect)(()=>{let{current:o}=s;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,St.jsx)("video",{autoPlay:!0,className:l(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:s,children:(0,St.jsx)("source",{src:`${Wt()}/media/${o}`})})}return null};var De=e=>{var n;let{className:t,htmlElement:r="div",resource:a}=e,s=typeof a=="object"&&((n=a==null?void 0:a.mimeType)==null?void 0:n.includes("video"));return(0,St.jsx)(r||Gt.Fragment,{...r!==null?{className:t}:{},children:s?(0,St.jsx)(_t,{...e}):(0,St.jsx)(Kt,{...e})})};var Jt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:s,staticImage:o}=e;return(0,St.jsx)("div",{className:l("St-full ",{container:r},t),children:(0,St.jsx)(De,{imgClassName:l("rounded-[0.8rem]",a),className:"flex justify-center",resource:s,src:o})})};var Zt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:s,staticImage:o}=e;return(0,St.jsx)("div",{className:l("",{container:r},t),children:(0,St.jsx)(De,{imgClassName:l("rounded-[0.8rem]",a),resource:s,src:o})})};var ee=D(require("react"));var ce=ee.forwardRef(({className:e,...t},r)=>(0,St.jsx)("div",{ref:r,className:l("rounded-xl border bg-card text-card-foreground shadow",e),...t}));ce.displayName="Card";var Ne=ee.forwardRef(({className:e,...t},r)=>(0,St.jsx)("div",{ref:r,className:l("flex flex-col space-St-1.5 p-6",e),...t}));Ne.displayName="CardHeader";var ke=ee.forwardRef(({className:e,...t},r)=>(0,St.jsx)("div",{ref:r,className:l("font-semibold leading-none tracking-tight",e),...t}));ke.displayName="CardTitle";var go=ee.forwardRef(({className:e,...t},r)=>(0,St.jsx)("div",{ref:r,className:l("text-sm text-muted-foreground",e),...t}));go.displayName="CardDescription";var de=ee.forwardRef(({className:e,...t},r)=>(0,St.jsx)("div",{ref:r,className:l("p-6 pt-0",e),...t}));de.displayName="CardContent";var uo=ee.forwardRef(({className:e,...t},r)=>(0,St.jsx)("div",{ref:r,className:l("flex items-center p-6 pt-0",e),...t}));uo.displayName="CardFooter";function Xt(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function er({variant:e="outline",className:t,icon:r,iconSize:a="large",width:s="auto",order:o=0,heading:n,subheading:i,content:c,statistic:d,buttonText:u,buttonHref:m}){let p={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:""},v={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,St.jsxs)("div",{className:l("rounded-3xl p-8 md:p-8 min-w-56 flex flex-col group",p[e],e==="outline"?"text-gray-900":"text-white",t,v[s],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${o+1}00`),children:[(0,St.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,St.jsx)(fo,{icon:r,heading:n,variant:e,iconSize:a})}),d&&(0,St.jsx)("div",{className:"mb-6",children:(0,St.jsx)("div",{className:l("text-4xl text-wrap font-bold leading-none overflow-hidden",e==="outline"||e==="light"?"text-primary":"text-white"),children:d})}),i&&(0,St.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:i}),c&&typeof c=="object"&&(0,St.jsx)("div",{className:l("space-St-6"),children:(0,St.jsx)(H,{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,St.jsx)("div",{className:l("space-St-6",e==="outline"||e==="light"?"text-gray-900":"text-gray-100"),children:c}),u&&(0,St.jsx)("div",{className:"mt-auto pt-6 flex items-center justify-center",children:(0,St.jsx)(M,{size:"lg",className:"text-white text-lg rounded-xl w-full mt-auto items-center justify-center",asChild:!0,children:(0,St.jsx)("a",{href:m,children:u})})}),e==="radial"&&(0,St.jsx)("div",{className:"absolute bottom-0 right-0 w-2/3 St-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 fo=({icon:e,heading:t,variant:r,iconSize:a})=>e&&a==="small"?(0,St.jsxs)("div",{className:"flex items-start gap-4 mb-2",children:[Xt(e)&&(0,St.jsx)("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-primary":"text-white",a==="small"?"mt-2":""),children:(0,St.jsx)(ve,{type:e.type,iconName:e.iconName,size:"2x"})}),(0,St.jsx)("div",{className:l("font-semibold",r==="outline"||r==="light"?"text-primary":"text-white",a==="small"?"text-2xl":"text-3xl"),children:t})]}):e?(0,St.jsxs)("div",{className:"flex flex-col gap-4",children:[Xt(e)&&(0,St.jsx)("div",{className:l("St-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-accent":""),children:(0,St.jsx)(ve,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,St.jsx)("h3",{className:l("font-semibold",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})]}):(0,St.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,St.jsx)("div",{className:l("font-semibold",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var tr=({title:e,description:t,features:r,id:a,nested:s=!1})=>(0,St.jsxs)("section",{className:l(!s&&"container","w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,St.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl text-primary",id:a||"",children:e}),t&&typeof t=="string"&&(0,St.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:t}),t&&typeof t=="object"&&(0,St.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:(0,St.jsx)(H,{content:t,enableGutter:!1})}),(0,St.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((o,n)=>{var c,d,u,m,p;let i=()=>{if(o.icon&&"type"in o.icon&&o.icon.type!=="none")return{type:o.icon.type,iconName:o.icon.icon}};return(0,St.jsx)(er,{variant:((c=o.settings)==null?void 0:c.card)==="default"?"light":((d=o.settings)==null?void 0:d.card)||"outline",icon:i()||void 0,iconSize:((u=o.settings)==null?void 0:u.iconSize)||"large",width:"auto",order:n,heading:o.title||"",content:o.content||void 0,statistic:o.statistic||void 0,buttonText:(m=o.link)!=null&&m.url?"Find out more":void 0,buttonHref:((p=o.link)==null?void 0:p.url)||void 0},n)})})]});var Fe=D(require("react"));function Pe({nodes:e}){return(0,St.jsx)(Fe.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,St.jsx)(Fe.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,St.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,St.jsx)("em",{children:o},r)),t.format&4&&(o=(0,St.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,St.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,St.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,St.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,St.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,St.jsx)("table",{children:(0,St.jsx)("tbody",{children:t.children.map((o,n)=>(0,St.jsx)("tr",{children:o.children.map((i,c)=>(0,St.jsx)("td",{children:Pe({nodes:i.children})},c))},n))})},r);let a=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let n of o.children)"checked"in n&&(n!=null&&n.checked||(n.checked=!1));return Pe({nodes:o.children})},s="children"in t?a(t):"";if(t.type==="block"){let o=t.fields,n=o==null?void 0:o.blockType;if(!o||!n)return null;switch(n){case"cta":return(0,St.jsx)(Ht,{...o},r);case"mediaBlock":return(0,St.jsx)(Jt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,St.jsx)(Zt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,St.jsx)(Ft,{className:"col-start-2 mb-4",...o},r);case"code":return(0,St.jsx)(jt,{className:"col-start-2",...o},r);case"features":return(0,St.jsx)(tr,{...o,nested:!0},r);case"reusableContentBlock":Pe({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,St.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,St.jsx)("p",{className:"col-start-2",children:s},r);case"heading":{let o=t==null?void 0:t.tag;return(0,St.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:s},r)}case"list":{let o=t==null?void 0:t.tag;return(0,St.jsx)(o,{className:"list col-start-2",children:s},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,St.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:s},r):(0,St.jsx)("li",{value:t==null?void 0:t.value,children:s},r);case"quote":return(0,St.jsx)("blockquote",{className:"col-start-2",children:s},r);case"link":{let o=t.fields;return(0,St.jsx)(Ce,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}case"autolink":{let o=t.fields;return(0,St.jsx)(Ce,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}default:return null}})})}var H=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>{var s;return t?(0,St.jsx)("div",{className:l({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&Pe({nodes:(s=t==null?void 0:t.root)==null?void 0:s.children})}):null};function me({subtitle:e,title:t,description:r,alignment:a="start",hasBottomSpacing:s=!1,className:o,invert:n=!1}){let i=l(a==="start"&&"text-left",a==="center"&&"text-center",a==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":s},o);return(0,St.jsxs)("div",{className:i,children:[e&&(0,St.jsx)("span",{className:"mb-[.625rem] block font-secondary text-base font-bold uppercase leading-[1.5] tracking-widest text-accent md:text-md",children:e}),(0,St.jsx)("h2",{className:l("font-secondary text-xl font-bold leading-[1.25] text-foreground md:text-2xl",n&&"text-gray-900"),children:t}),typeof r=="string"?r&&(0,St.jsx)("p",{className:"mt-5 whitespace-pre-line",children:r}):r&&(0,St.jsx)(H,{content:r,enableGutter:!1})]})}function bo({sectionHeading:e,cards:t}){return(0,St.jsx)("section",{className:"section-padding-primary !pt-0",children:(0,St.jsxs)(F,{children:[(0,St.jsx)("div",{className:"mx-auto max-w-[630px]","data-aos":"fade-up","data-aos-delay":"100",children:(0,St.jsx)(me,{...e,alignment:"center",hasBottomSpacing:!0})}),t&&t.length>0&&(0,St.jsx)("div",{className:"grid gap-30px",children:t.map((r,a)=>(0,St.jsx)("div",{"data-aos":"fade-up","data-aos-delay":Re([200,400,600],a),className:"py-2",children:(0,St.jsx)(Dt,{...r})},a))})]})})}var Ae=D(require("next/image"));function ho(e){let{images:t,sectionHeading:r,keyPoints:a,description:s}=e;return(0,St.jsx)("section",{id:"about-section",className:l("sticky top-0 St-screen z-2 flex flex-col items-center justify-center section-padding-primary light bg-background",e.className||""),children:(0,St.jsx)(F,{children:(0,St.jsxs)("div",{className:"grid items-center gap-12 lg:grid-cols-[.92fr_1fr] 2xl:gap-20",children:[(0,St.jsxs)("div",{className:"lg:order-2","data-aos":"fade-left","data-aos-delay":"200",children:[(0,St.jsx)(me,{...r}),a&&a.length>0&&(0,St.jsx)("div",{className:"mt-7 grid gap-5 text-accent sm:grid-cols-2 md:mt-10 md:gap-[1.875rem]",children:a.map((o,n)=>(0,St.jsxs)("div",{className:"group flex min-St-[64px] items-center gap-5 rounded-5 border border-accent px-6 py-2 md:min-St-[85px] md:px-[1.875rem] md:py-3",children:[(0,St.jsx)("span",{className:"duration flex-none scale-100 transition-transform ease-linear group-hover:scale-90",children:o.icon}),(0,St.jsx)("h3",{className:"text-md font-bold leading-[1.25] md:text-lg",children:o.title})]},n))}),s&&(0,St.jsx)("p",{className:"mt-5 md:mt-[1.875rem]",children:s})]}),t&&(0,St.jsx)("div",{className:"mx-auto text-center",children:(0,St.jsxs)("div",{className:"relative mx-auto grid max-w-[580px] grid-cols-2 gap-2.5 overflow-hidden",children:[(0,St.jsx)("div",{className:"relative flex justify-end overflow-hidden",children:(0,St.jsx)("div",{className:"relative z-[2] mt-auto","data-aos":"fade-up","data-aos-delay":"200",children:(0,St.jsx)("div",{className:"relative z-[4] overflow-hidden",children:(0,St.jsx)(Ae.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,St.jsx)("div",{className:"flex overflow-hidden",children:(0,St.jsx)(Ae.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,St.jsx)("div",{className:"ml-auto flex max-w-[250px] justify-end overflow-hidden",children:(0,St.jsx)(Ae.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,St.jsx)("div",{className:"overflow-hidden",children:(0,St.jsx)(Ae.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,St.jsx)("div",{className:"absolute left-1/2 top-1/2 z-[4] -translate-St-1/2 -translate-St-1/2 overflow-hidden",children:(0,St.jsx)("div",{"data-aos":"zoom-in","data-aos-delay":"450",children:(0,St.jsx)("span",{className:"grid St-[100px] w-[100px] place-items-center rounded-full border-[12px] border-white bg-accent text-[30px] text-white",children:(0,St.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 27 27",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,St.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 ar=D(require("next/image"));var or=e=>{let t=e?new Date(e):new Date,r=new Intl.DateTimeFormat("en-US",{weekday:"long"}).format(t),a=t.getDate(),s=new Intl.DateTimeFormat("en-US",{month:"short"}).format(t);return`${r} ${a}${(n=>{if(n>3&&n<21)return"th";switch(n%10){case 1:return"St";case 2:return"nd";case 3:return"rd";default:return"th"}})(a)} ${s}`};function sr({blogs:e}){return(0,St.jsx)("div",{children:e&&e.length>0&&(0,St.jsx)("div",{className:"grid gap-10 lg:gap-10",children:e.map((t,r)=>(0,St.jsx)(xo,{post:t,id:r},r))})})}var xo=({post:e,id:t})=>{let{slug:r,image:a,authors:s,categories:o,title:n,description:i,publishedAt:c}=e;return(0,St.jsxs)("article",{className:"relative isolate flex flex-col gap-8 lg:flex-row",children:[(0,St.jsxs)("div",{className:"relative aspect-video sm:aspect-[2/1] lg:aspect-square lg:w-64 lg:shrink-0",children:[a&&(0,St.jsx)(ar.default,{src:a.src,alt:a.alt,width:850,height:575,sizes:"100vw",className:"absolute inset-0 size-full rounded-2xl bg-gray-50 object-cover"}),(0,St.jsx)("div",{className:"absolute inset-0 rounded-2xl ring-1 ring-inset ring-gray-900/10"})]}),(0,St.jsxs)("div",{children:[(0,St.jsxs)("div",{className:"flex items-center gap-St-4 text-xs",children:[(0,St.jsx)("time",{dateTime:e.publishedAt,className:"text-foreground",children:or(e.publishedAt)}),e.categories&&e.categories.map((d,u)=>(0,St.jsx)("a",{href:`#${d}`,className:"relative z-10 rounded-full bg-gray-50 px-3 py-1.5 font-medium text-gray-600 hover:bg-gray-100",children:d},u))]}),(0,St.jsxs)("div",{className:"group relative max-w-xl",children:[(0,St.jsx)("h3",{className:"mt-3 text-lg/6 font-semibold text-accent group-hover:text-xl/6",children:(0,St.jsxs)("a",{href:e.slug,children:[(0,St.jsx)("span",{className:"absolute inset-0"}),e.title]})}),(0,St.jsx)("p",{className:"mt-5 text-sm/6 text-foreground",children:e.description})]}),(0,St.jsx)("div",{className:"mt-6 flex flex-wrap lg:border-t gap-St-2 border-gray-200 dark:border-gray-700 pt-6",children:s&&s.map((d,u)=>(0,St.jsxs)("div",{className:"relative flex items-center gap-St-4",children:[d.image?(0,St.jsx)("img",{alt:d.image.alt,src:d.image.src,className:"size-10 rounded-full bg-gray-50"}):(0,St.jsx)("div",{className:"size-10 rounded-full bg-gray-50"})," ",(0,St.jsx)("div",{className:"text-sm/6",children:(0,St.jsxs)("p",{className:"text-foreground pr-6",children:[(0,St.jsx)("span",{className:"absolute inset-0"}),d.name]})})]},u))})]})]},t)};var pe=require("next/navigation");var Hs=l("transition-colors duration-400 hover:text-primary ease-in-out");function He({title:e,links:t}){let r=(0,pe.useSearchParams)(),a=(0,pe.usePathname)(),{replace:s}=(0,pe.useRouter)();function o(n){let i=new URLSearchParams(r);n?i.set("category",n):i.delete("category"),s(`${a}?${i.toString()}`)}return(0,St.jsxs)(ce,{children:[(0,St.jsx)(Ne,{children:(0,St.jsx)(ke,{className:"text-accent",children:e&&e})}),(0,St.jsx)(de,{children:t&&t.length>0&&(0,St.jsx)("nav",{"aria-label":"footer links navigation",children:(0,St.jsx)("ul",{className:"grid gap-2.5 ",children:t.map((n,i)=>(0,St.jsxs)("li",{className:"flex items-center text-sm text-primary hover:text-accent dark:text-foreground first:pt-0 hover:cursor-pointer",onClick:c=>{c.preventDefault(),o(n.href)},children:[n.label,(0,St.jsx)(Ut.ExternalLink,{className:"ml-1 St-3 w-3"})]},i))})})})]})}var nt=l("grid St-[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 lr({pages:e}){let t=(0,pe.useSearchParams)(),r=(0,pe.usePathname)(),{replace:a}=(0,pe.useRouter)(),{totalPages:s,page:o}=e,[n,i]=(0,Gt.useState)({start:o>3?o-3:1,end:o+2}),c=m=>{m==="left"&&n.start>1?i(p=>({start:p.start-1,end:p.end-1})):m==="right"&&n.end<s&&i(p=>({start:p.start+1,end:p.end+1}))};function d(m){let p=new URLSearchParams(t);m?p.set("page",m):p.delete("page"),a(`${r}?${p.toString()}`)}if(s<=1)return null;let u=[];for(let m=n.start;m<=n.end;m++)u.push(m);return(0,St.jsx)("div",{className:"mt-12",children:(0,St.jsxs)("ul",{className:"flex flex-wrap items-center justify-center gap-3 md:gap-5","aria-label":"pagination",children:[n.start>1&&(0,St.jsx)("li",{children:(0,St.jsx)("button",{className:l(nt,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll left",onClick:()=>c("left"),children:(0,St.jsx)(Te.FaArrowLeft,{})})}),u.map((m,p)=>(0,St.jsx)("li",{children:(0,St.jsx)("a",{className:l(nt,m===o?"border-accent bg-accent text-accent-foreground":""),href:"#","aria-label":`pagination button ${m}`,role:"button",onClick:v=>{v.preventDefault(),d(m.toString())},children:m})},p)),n.end<s&&(0,St.jsx)("li",{children:(0,St.jsx)("button",{className:l(nt,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll right",onClick:()=>c("right"),children:(0,St.jsx)(Te.FaArrowRight,{})})})]})})}function dr({types:e}){let[t,r]=(0,Gt.useState)(e&&e[0].href),a=(0,pe.useSearchParams)(),s=(0,pe.usePathname)(),{replace:o}=(0,pe.useRouter)();function n(i){let c=new URLSearchParams(a);i?c.set("type",i):c.delete("type"),r(i),o(`${s}?${c.toString()}`)}return(0,St.jsx)("div",{className:"flex gap-2 flex-wrap items-center justify-center overflow-St-auto pb-4 mb-6",children:e&&e.map((i,c)=>(0,St.jsx)(M,{variant:i.href===t?"default":"ghost",className:l("rounded-full whitespace-nowrap hover:bg-accent hover:text-accent-foreground",i.href===t&&"bg-accent text-accent-foreground"),onClick:()=>n(i.href),children:i.label},c))})}function yo({blogs:e,pages:t,categories:r,types:a}){return(0,St.jsx)("section",{children:(0,St.jsx)(F,{children:(0,St.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,St.jsxs)("div",{children:[a&&(0,St.jsx)(dr,{types:a}),(0,St.jsx)(sr,{blogs:e}),(0,St.jsx)(lr,{pages:t})]}),(0,St.jsx)("div",{className:"grid gap-30px w-full self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:(0,St.jsx)("div",{className:"lg:-mt-24 w-full",children:r&&r.links&&(0,St.jsx)(He,{links:r.links,title:r.title})})})]})})})}var br=D(require("next/image"));var Ge="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Z";function Oe({className:e}){return l("flex items-center min-St-[3.5rem] md:min-St-[3.75rem] w-full rounded-5 px-4 md: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 vo({className:e,...t}){return(0,St.jsx)("input",{...t,className:Oe({className:e})})}function Ve({icon:e,...t}){return(0,St.jsxs)("div",{className:"relative w-full",children:[(0,St.jsx)(vo,{...t}),e&&(0,St.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-St-1/2 text-accent",children:e})]})}function wo({className:e,...t}){return(0,St.jsx)("textarea",{...t,className:l(Oe({}),"resize-none md:min-St-[130px]",e)})}function mr({icon:e,...t}){return(0,St.jsxs)("div",{className:"relative w-full",children:[(0,St.jsx)(wo,{...t}),e&&(0,St.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-accent",children:e})]})}var gr=require("formik"),oe=D(require("yup"));async function pr(e){let{name:t,email:r,subject:a,message:s}=e,o=process.env.TEAMS_WEBHOOK_URL;if(!o)throw new Error("TEAMS_WEBHOOK_URL is 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:`${r}`,wrap:!0},{type:"TextBlock",text:`${a}`,wrap:!0}]}]},{type:"TextBlock",text:`${s}`,wrap:!0}]}}]};try{let i=await fetch(o,{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 lt=require("sonner"),O={tooShort:"Must St St least ${min} characters",tooLong:"Must St St most ${max} characters",required:"This field is required",email:"Invalid email format"},Co=oe.object().shape({name:oe.string().min(2,O.tooShort).max(50,O.tooLong).required(O.required),email:oe.string().email(O.email).required(O.required),subject:oe.string().min(2,O.tooShort).max(50,O.tooLong).required(O.required),message:oe.string().min(2,O.tooShort).max(300,O.tooLong).required(O.required)}),je=l("!pr-[44px]"),$e=l("!border-red-600 border"),Ye=l("sr-only");function fr(){return(0,St.jsx)(gr.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:Co,onSubmit:async(e,{resetForm:t})=>{let r=await pr(e);r.data===null?lt.toast.error(r.message):(lt.toast.success(r.message),t())},children:({errors:e,touched:t,values:r,handleChange:a,handleBlur:s,isSubmitting:o,handleSubmit:n})=>(0,St.jsxs)("form",{onSubmit:n,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,St.jsxs)("div",{children:[(0,St.jsx)(Ve,{placeholder:"Your Name",type:"text",name:"name",value:r.name,onChange:a,onBlur:s,disabled:o,icon:(0,St.jsx)(Te.FaUser,{}),className:l(je,e.name&&t.name&&$e)}),e.name&&t.name&&(0,St.jsx)("p",{title:e.name,"aria-live":"polite",role:"error message",className:Ye,children:e.name})]}),(0,St.jsxs)("div",{children:[(0,St.jsx)(Ve,{placeholder:"Your Email",type:"email",name:"email",value:r.email,onChange:a,onBlur:s,disabled:o,icon:(0,St.jsx)(No,{}),className:l(je,e.email&&t.email&&$e)}),e.email&&t.email&&(0,St.jsx)("p",{title:e.email,"aria-live":"polite",role:"error message",className:Ye,children:e.email})]}),(0,St.jsxs)("div",{className:"lg:col-span-2",children:[(0,St.jsx)(Ve,{placeholder:"Subject",type:"text",name:"subject",value:r.subject,onChange:a,onBlur:s,disabled:o,className:l(je,e.subject&&t.subject&&$e)}),e.subject&&t.subject&&(0,St.jsx)("p",{title:e.subject,"aria-live":"polite",role:"error message",className:Ye,children:e.subject})]}),(0,St.jsxs)("div",{className:"lg:col-span-2",children:[(0,St.jsx)(mr,{placeholder:"Write Message...",name:"message",value:r.message,onChange:a,onBlur:s,disabled:o,icon:(0,St.jsx)(ko,{}),className:l(je,e.message&&t.message&&$e)}),e.message&&t.message&&(0,St.jsx)("p",{title:e.message,"aria-live":"polite",role:"error message",className:Ye,children:e.message})]}),(0,St.jsx)("div",{className:"lg:col-span-2",children:(0,St.jsx)(M,{type:"submit",className:"w-full outline outline-accent bg-accent text-accent-foreground hover:bg-white hover:text-accent",disabled:o,children:(0,St.jsx)("span",{children:"SEND"})})})]})})}function No(){return(0,St.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,St.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 ko(){return(0,St.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,St.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"})})}function Po(e){let{sectionHeading:t,image:r}=e;return(0,St.jsxs)(St.Fragment,{children:[(0,St.jsx)("section",{className:"sticky top-0 St-screen flex flex-col items-center justify-center z-2 dark bg-background section-padding-primary",children:(0,St.jsx)("div",{className:"",children:(0,St.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,St.jsx)("div",{className:"mx-auto max-w-2xl space-St-16 divide-St divide-gray-100 lg:mx-0 lg:max-w-none",children:(0,St.jsxs)("div",{className:"grid grid-cols-1 gap-10 pt-16 lg:grid-cols-3",children:[(0,St.jsxs)("div",{children:[(0,St.jsx)("h2",{className:"text-pretty text-4xl font-semibold tracking-tight text-accent",children:"Locations"}),(0,St.jsx)("p",{className:"mt-4 text-base/7 text-foreground",children:"We have multiple locations across the UK where St are based. These are our key locations."})]}),(0,St.jsx)("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2 lg:col-span-2 lg:gap-8",children:e.locations&&e.locations.map((a,s)=>{var o;return(0,St.jsxs)("div",{className:"rounded-2xl p-10 border",children:[(0,St.jsx)("h3",{className:"text-base/7 font-semibold text-accent",children:a.title}),(0,St.jsxs)("address",{className:"mt-3 space-St-1 text-sm/6 not-italic text-foreground",children:[(o=a.location.split(","))==null?void 0:o.map((n,i)=>(0,St.jsx)("p",{children:n},i))," ",a.mails&&(0,St.jsxs)("p",{className:"flex items-center space-St-2",children:[(0,St.jsx)(Te.FaEnvelope,{className:"pr-2 text-accent size-auto"}),(0,St.jsx)("span",{children:a.mails[0]})]}),a.phoneNumbers&&a.phoneNumbers.length>0&&(0,St.jsxs)("p",{className:"flex items-center space-St-2",children:[(0,St.jsx)(Te.FaPhoneFlip,{className:"pr-2 text-accent size-auto"}),a.phoneNumbers[0]]})]})]},s)})})]})})})})}),(0,St.jsx)("section",{className:"section-padding-primary",children:(0,St.jsxs)("div",{className:"relative py-[60px]",children:[(0,St.jsx)("div",{className:"absolute left-0 top-0 z-1 St-full w-full overflow-hidden bg-red-500 md:w-[56%] md:rounded-r-5",children:(0,St.jsx)(br.default,{src:r.src,alt:r.alt,fill:!0,className:"object-cover",sizes:"(min-width: 768px) 60vw, 100vw",placeholder:"blur",blurDataURL:Ge})}),(0,St.jsx)(F,{children:(0,St.jsx)("div",{className:"ml-auto md:w-1/2",children:(0,St.jsxs)("div",{className:"relative z-[2] rounded-5 bg-white p-10 shadow-1 dark:bg-accent-700 lg:p-[60px]",children:[(0,St.jsx)("div",{className:"mb-30px",children:(0,St.jsx)(me,{...t,invert:!0})}),(0,St.jsx)(fr,{})]})})})]})})]})}var hr=D(require("next/image"));var yr=D(require("next/link"));function Ao({image:e,name:t,about:r,socialLinks:a}){return!e||!e.src||e.src.length<3||!t?null:(0,St.jsx)("div",{className:"mt-1 z-10 px-0 pt-0 lg:px-10",children:(0,St.jsx)(ce,{children:(0,St.jsxs)(de,{children:[e&&e.src&&(0,St.jsx)(hr.default,{src:e.src,alt:e.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:Ge,className:"mx-auto mt-6 rounded-full object-cover"}),(0,St.jsx)("h3",{className:"font-secondary text-center py-2 text-lg leading-[1.25] text-accent md:text-xl",children:t}),(0,St.jsx)("p",{children:r}),a&&a.length>0&&(0,St.jsx)("nav",{"aria-label":"social links",children:(0,St.jsx)("ul",{className:"inline-flex items-center divide-St divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:a.map((s,o)=>(0,St.jsx)("li",{children:(0,St.jsx)(Z,{href:s.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-St-1 hover:text-accents",children:(0,St.jsx)("span",{children:s.icon})})},o))})})]})})})}function So({page:e,categoryList:t,edit:r=!1,path:a="/admin/collections/posts/"}){var p;if(!e)return(0,pe.notFound)();let{meta:s,populatedAuthors:o,authors:n,categories:i,content:c,title:d}=e,u={image:{src:s&&s.image&&s.image.url||void 0,alt:s&&s.image&&s.image.alt||void 0},authorName:((p=o==null?void 0:o[0])==null?void 0:p.name)||"",category:i,commentCount:0,title:d,description:(s==null?void 0:s.description)||""},m=n==null?void 0:n.map(v=>{var L,w;return{name:v.name||"",about:"",image:{src:v.profilePicture&&((w=(L=v.profilePicture.sizes)==null?void 0:L.square)==null?void 0:w.url)||"",alt:v.name||"blog author"},socialLinks:[]}});return(0,St.jsx)(F,{children:(0,St.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,St.jsx)("div",{children:(0,St.jsxs)("div",{className:"[&_p+St]:mt-4",children:[(0,St.jsx)("div",{className:"my-4 St-px bg-body/30 lg:my-5"}),(0,St.jsx)(H,{content:c,enableGutter:!1})]})}),(0,St.jsxs)("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:[r&&(0,St.jsx)("div",{className:"mt-4 lg:-mt-10 z-10 px-0 pt-0 lg:px-10",children:(0,St.jsxs)(ce,{children:[(0,St.jsx)(Ne,{children:(0,St.jsx)(ke,{className:"text-accent",children:"Content Actions"})}),(0,St.jsxs)(de,{children:[(0,St.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),(0,St.jsx)(yr.default,{href:`${a}${e.id}`,children:(0,St.jsx)(M,{variant:"outline",className:"w-full text-accent hover:text-foreground",children:"Edit"})})]})]})}),m&&m.map((v,L)=>(0,St.jsx)(Ao,{...v},L)),t&&t.links&&(0,St.jsx)("div",{className:"mt-4 px-0 pt-0 lg:px-10",children:(0,St.jsx)(He,{links:t.links,title:t.title})})]})]})})}var ct=D(require("next/link"));var Cr=require("lucide-react"),Bo=({children:e,pageId:t,tableOfContents:r=[],edit:a=!0,path:s="/admin/collections/pages/",relatedContent:o=[{title:"Related Content",links:[]}]})=>{let[n,i]=(0,Gt.useState)(!1),c=()=>{i(!n)};return(0,Gt.useEffect)(()=>{let d=window.location.hash;if(d){let u=d.substring(1),m=document.getElementById(u);if(m){let v=m.getBoundingClientRect().top+window.pageYOffset+-300;window.scrollTo({top:v,behavior:"smooth"})}}},[window.location.hash]),(0,St.jsxs)("div",{children:[(0,St.jsx)("div",{className:l(n?"col-span-3":"col-span-4","xl:col-span-3"),children:e}),(0,St.jsx)(Io,{pageId:t,tableOfContents:r,edit:a,path:s,relatedContent:o,isSidebarVisible:n}),(0,St.jsx)("div",{className:"block md:hidden mt-8",children:(0,St.jsx)("div",{className:"space-St-6",children:e})})]})};var Io=({pageId:e,tableOfContents:t=[],edit:r=!0,path:a="/admin/collections/pages/",relatedContent:s=[{title:"Related Content",links:[]}],isSidebarVisible:o})=>{let[n,i]=(0,Gt.useState)(""),[c,d]=(0,Gt.useState)(!1),[u,m]=(0,Gt.useState)(!1),p=(0,pe.usePathname)(),v=()=>{d(!c),m(!1)},L=()=>{m(!u),d(!1)},w=C=>{switch(C){case"h3":return"ml-4";case"h4":return"ml-8";default:return""}},S=()=>{let C=p.split("/"),z="/print"+p,T=window.open(z,"Print","width=1754,height=1240,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes");T&&T.focus()},B=()=>{let C=p.split("/"),z="/present"+p;console.log(z);let T=window.open(z,"Print","width=1754,height=1240,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes");T&&T.focus()};return(0,St.jsx)("div",{className:l("fixed right-2 z-20 top-1/4 space-St-6 transform transition-transform duration-300 translate-St-full",o?"translate-St-0":"md:translate-St-0"),children:(0,St.jsxs)("div",{className:"flex flex-row-reverse z-20 min-w-64 gap-4",children:[(0,St.jsxs)("nav",{className:"z-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-St-[auto] min-w-[54px] flex-col rounded-lg border",children:[(0,St.jsxs)(ct.default,{href:`${a}${e}`,className:"flex aspect-square min-St-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,St.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",children:(0,St.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,St.jsx)("small",{className:"text-center text-xs font-medium",children:" Edit "})]}),(0,St.jsxs)("a",{onClick:v,className:"flex aspect-square min-St-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,St.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",fill:"currentColor",children:(0,St.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,St.jsx)("small",{className:"text-center text-xs font-medium",children:" Contents "})]}),(0,St.jsxs)("a",{onClick:L,className:"flex aspect-square min-St-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,St.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:(0,St.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,St.jsx)("small",{className:"text-center text-xs font-medium",children:" Related "})]}),(0,St.jsx)("hr",{className:"dark:border-gray-400"}),(0,St.jsxs)("a",{onClick:B,className:"flex aspect-square min-St-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,St.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:(0,St.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,St.jsx)("small",{className:"text-xs font-medium",children:"Present"})]}),(0,St.jsxs)("a",{onClick:S,className:"flex aspect-square min-St-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,St.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",children:(0,St.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,St.jsx)("small",{className:"text-xs font-medium",children:"Print"})]})]}),c&&(0,St.jsx)("div",{className:l("z-50 flex shrink-0 grow-0 gap-4 border-t border-gray-200 bg-white/50 p-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-St-[auto] min-w-[54px] flex-col rounded-lg border"),children:(0,St.jsxs)("div",{className:"flex flex-col m-2 justify-start z-50 min-w-64",children:[(0,St.jsx)("div",{className:"flex text-accent",children:"On this Page"}),(0,St.jsx)("ul",{className:"flex flex-col space-St-2",children:t.map((C,z)=>(0,St.jsx)("li",{className:w(C.tag),children:(0,St.jsx)("a",{href:`#${C.id}`,className:`text-xs ${n===C.id?"text-accent font-semibold":"text-primary dark:text-foreground"} hover:text-accent`,children:C.text})},z))})]})}),u&&s&&s.length>0&&(0,St.jsx)("div",{className:l("z-50 flex shrink-0 grow-0 gap-4 border-t border-gray-200 bg-white/50 p-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-St-[auto] min-w-[54px] flex-col rounded-lg border"),children:(0,St.jsxs)("div",{className:"flex flex-col m-2 justify-start z-50 min-w-64",children:[(0,St.jsx)("div",{className:"flex text-accent",children:"Related Content"}),(0,St.jsx)("ul",{className:"flex flex-col space-St-2",children:s.map((C,z)=>C.links&&C.links.length>0?C.links.map((T,se)=>(0,St.jsxs)(ct.default,{href:T.url,className:"inline-flex items-center text-sm text-primary dark:text-foreground hover:text-accent",children:[T.title,T.url.startsWith("http")&&(0,St.jsx)(Cr.ExternalLink,{className:"ml-1 St-3 w-3"})]},se)):null)})]})})]})})};var Nr=D(require("next/image"));function Ro({className:e,children:t,image:r="https://images.unsplash.com/photo-1557804506-669a67965ba0?St=80&w=2574&auto=format&fit=crop",imageAlt:a="Professional presentation in modern office setting",imagePosition:s="left",overlay:o=!0}){return(0,St.jsxs)("section",{className:l("relative min-St-[50vh] w-full overflow-hidden",e),children:[(0,St.jsxs)("div",{className:"absolute inset-0 w-full",children:[(0,St.jsx)(Nr.default,{src:r||"/placeholder.svg",alt:a,fill:!0,className:"object-cover",priority:!0}),o&&(0,St.jsx)("div",{className:"absolute inset-0",style:{background:s==="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,St.jsx)("div",{className:l("relative w-full max-w-8xl mx-auto px-4 md:px-6 lg:px-8","flex items-center",s==="left"?"justify-end":"justify-start"),children:(0,St.jsx)("div",{className:l("w-full max-w-xl py-12",s==="left"?"ml-auto":"mr-auto"),children:t})})]})}0&&(module.exports={AboutSection,BlogDetail,BlogListSection,ContactSection,ImageSection,MainPageSection,PricingSection,ServiceSection});
@@ -1 +1 @@
1
- import{a}from"../chunk-BWGRPPZL.mjs";import{a as e}from"../chunk-LM3YRNYB.mjs";import"../chunk-UMILL4LR.mjs";import"../chunk-CTKUF2I6.mjs";import"../chunk-NOEITQK2.mjs";import"../chunk-EG6XIOOJ.mjs";import"../chunk-MMBUMBDU.mjs";import{a as h}from"../chunk-X76XZNRS.mjs";import{a as b}from"../chunk-XZYOP3SB.mjs";import{a as g}from"../chunk-WKD2UQGO.mjs";import{a as c}from"../chunk-4CZHKFPW.mjs";import{a as d}from"../chunk-BOZT7Z5K.mjs";import"../chunk-AD7PG4E2.mjs";import{a as f}from"../chunk-EOGSNCBF.mjs";import"../chunk-KML6U7IE.mjs";import"../chunk-SV7NMNDI.mjs";import"../chunk-YR4DHJCY.mjs";import"../chunk-KJ2C7CBU.mjs";import"../chunk-WZLEEZ5C.mjs";import"../chunk-JODGODRI.mjs";import"../chunk-MGZMAVEP.mjs";import"../chunk-TXXFXCXB.mjs";import"../chunk-IO222G5L.mjs";import"../chunk-PG3JYPSL.mjs";import"../chunk-44VMK4FL.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-M6M43TLT.mjs";import"../chunk-FGWIT6CV.mjs";import"../chunk-ZWKWU7U4.mjs";import"../chunk-EY5QX73B.mjs";import"../chunk-YCX5N23N.mjs";import"../chunk-JWDVKGZL.mjs";import"../chunk-2A6JF3LE.mjs";import"../chunk-4YJ3HV64.mjs";import"../chunk-FCCL6W7R.mjs";import"../chunk-WLBZXBU3.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-2NFKSNJW.mjs";import"../chunk-FI4SMRAR.mjs";import"../chunk-5IQPAE6K.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-KDGEXDC5.mjs";import"../chunk-Y2KKUQDU.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-VZXLXNVY.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-QMFZRG7O.mjs";import"../chunk-2IKC7MAP.mjs";import"../chunk-CGBVZQYY.mjs";import"../chunk-BSQVKZCW.mjs";import"../chunk-Y5VTKEKS.mjs";import"../chunk-YNCJATT7.mjs";import"../chunk-QOIH63J3.mjs";import"../chunk-OAOCXXC2.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-YNNW2C2U.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-C5XNOZXC.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-S7OK7D5I.mjs";export{c as AboutSection,f as BlogDetail,d as BlogListSection,e as ContactSection,h as ImageSection,g as MainPageSection,b as PricingSection,a as ServiceSection};
1
+ import{a}from"../chunk-FVVRSAJL.mjs";import{a as e}from"../chunk-XYKGA7DT.mjs";import"../chunk-UMILL4LR.mjs";import"../chunk-CTKUF2I6.mjs";import"../chunk-NOEITQK2.mjs";import"../chunk-EG6XIOOJ.mjs";import"../chunk-MMBUMBDU.mjs";import{a as h}from"../chunk-X76XZNRS.mjs";import{a as b}from"../chunk-3JFKZDWH.mjs";import{a as g}from"../chunk-WKD2UQGO.mjs";import{a as c}from"../chunk-ZOXR3VIC.mjs";import{a as d}from"../chunk-BOZT7Z5K.mjs";import"../chunk-AD7PG4E2.mjs";import{a as f}from"../chunk-34FASRX2.mjs";import"../chunk-KML6U7IE.mjs";import"../chunk-SV7NMNDI.mjs";import"../chunk-A6U3GEF4.mjs";import"../chunk-KJ2C7CBU.mjs";import"../chunk-WZLEEZ5C.mjs";import"../chunk-JODGODRI.mjs";import"../chunk-MGZMAVEP.mjs";import"../chunk-TXXFXCXB.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-AAI2VZST.mjs";import"../chunk-BCAE5YI2.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-44VMK4FL.mjs";import"../chunk-6RFXR5AO.mjs";import"../chunk-FGWIT6CV.mjs";import"../chunk-ZWKWU7U4.mjs";import"../chunk-EY5QX73B.mjs";import"../chunk-YCX5N23N.mjs";import"../chunk-RJGKFNZL.mjs";import"../chunk-6DHYRATS.mjs";import"../chunk-JPFBD2KD.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-WLBZXBU3.mjs";import"../chunk-2NFKSNJW.mjs";import"../chunk-FI4SMRAR.mjs";import"../chunk-5IQPAE6K.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-5KL4BLZI.mjs";import"../chunk-3IUQUN6R.mjs";import"../chunk-VZXLXNVY.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-KEUZSK3N.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-JWDVKGZL.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-5YTDIEDJ.mjs";import"../chunk-BSQVKZCW.mjs";import"../chunk-Y5VTKEKS.mjs";import"../chunk-CGBVZQYY.mjs";import"../chunk-YNCJATT7.mjs";import"../chunk-QOIH63J3.mjs";import"../chunk-YNNW2C2U.mjs";import"../chunk-OAOCXXC2.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-C5XNOZXC.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-S7OK7D5I.mjs";export{c as AboutSection,f as BlogDetail,d as BlogListSection,e as ContactSection,h as ImageSection,g as MainPageSection,b as PricingSection,a as ServiceSection};
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "cortex-react-components",
3
3
  "author": "Cortex Reply",
4
4
  "private": false,
5
- "version": "1.51.8",
5
+ "version": "1.52.0",
6
6
  "description": "A library of React components with styles. Designed to seamlessly integrate with React and Next.js.",
7
7
  "license": "MPL-2.0",
8
8
  "main": "./dist/index.js",
@@ -1,4 +0,0 @@
1
- "use client";
2
- "use strict";
3
-
4
- import{a as i}from"./chunk-SV3TTIPR.mjs";import{a as c}from"./chunk-HAYRX2WO.mjs";import{a as l}from"./chunk-UESKYRNK.mjs";import{useState as d,useEffect as m}from"react";import{useTheme as x}from"next-themes";import{Moon as w,Sun as N}from"lucide-react";import{PopoverGroup as S}from"@headlessui/react";import{Fragment as y,jsx as e,jsxs as p}from"react/jsx-runtime";function E({isMenuOpen:u,logoLight:h,logoDark:f,menuItems:a}){let[b,o]=d(!1),[g,s]=d(""),t=["light","dark"],{theme:n,setTheme:v}=x();m(()=>{s(n||"dark")},[n]);let k=()=>{let r=t[(t.indexOf(g)+1)%t.length];s(r),v(r)};return m(()=>{let r=()=>{window.scrollY>100?o(!0):o(!1)};return window.addEventListener("scroll",r,{passive:!0}),()=>window.removeEventListener("scroll",r)},[]),e(y,{children:e("header",{className:`z-50 pb-10 transition-all duration-300 hidden lg:block ${b||u?"translate-y-0":"-translate-y-full bg-transparent"}`,children:e(l,{className:"px-0",children:e("nav",{className:"backdrop-blur-sm text-white p-0 rounded-b-xl",children:p("div",{className:"flex items-center justify-between bg-background px-9 py-0 dark:bg-[#212124] rounded-b-xl border border-t-0 border-accent",children:[e(c,{logoDark:f,logoLight:h}),e(S,{className:"hidden lg:flex lg:gap-x-12",children:a&&a.map(r=>e(i,{...r},r.name))}),e("div",{className:"flex items-center space-x-4",children:e("button",{className:"fixed right-4 z-[60] p-2 rounded-full hover:border hover:border-accent backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-primary dark:text-white hover:text-accent hover:scale-125",onClick:k,children:p("div",{className:"relative",children:[e(N,{className:"absolute h-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),e(w,{className:"absoulte h-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}export{E as a};
@@ -1 +0,0 @@
1
- import{a as l}from"./chunk-YR4DHJCY.mjs";import{a as n}from"./chunk-UESKYRNK.mjs";import{a as m}from"./chunk-NIQ4466A.mjs";import t from"next/image";import{jsx as e,jsxs as i}from"react/jsx-runtime";function u(o){let{images:a,sectionHeading:c,keyPoints:d,description:s}=o;return e("section",{id:"about-section",className:m("section-padding-primary",o.className||""),children:e(n,{children:i("div",{className:"grid items-center gap-12 lg:grid-cols-[.92fr_1fr] 2xl:gap-20",children:[i("div",{className:"lg:order-2","data-aos":"fade-left","data-aos-delay":"200",children:[e(l,{...c}),d&&d.length>0&&e("div",{className:"mt-7 grid gap-5 text-accent sm:grid-cols-2 md:mt-10 md:gap-[1.875rem]",children:d.map((r,g)=>i("div",{className:"group flex min-h-[64px] items-center gap-5 rounded-5 border border-accent px-6 py-2 md:min-h-[85px] md:px-[1.875rem] md:py-3",children:[e("span",{className:"duration flex-none scale-100 transition-transform ease-linear group-hover:scale-90",children:r.icon}),e("h3",{className:"text-md font-bold leading-[1.25] md:text-lg",children:r.title})]},g))}),s&&e("p",{className:"mt-5 md:mt-[1.875rem]",children:s})]}),a&&e("div",{className:"mx-auto text-center",children:i("div",{className:"relative mx-auto grid max-w-[580px] grid-cols-2 gap-2.5 overflow-hidden",children:[e("div",{className:"relative flex justify-end overflow-hidden",children:e("div",{className:"relative z-[2] mt-auto","data-aos":"fade-up","data-aos-delay":"200",children:e("div",{className:"relative z-[4] overflow-hidden",children:e(t,{src:a.image1.src,alt:a.image1.alt,width:a.image1.width,height:a.image1.height,className:"rounded-tl-[60px] object-cover object-top"})})})}),e("div",{className:"flex overflow-hidden",children:e(t,{src:a.image2.src,alt:a.image2.alt,width:a.image2.width,height:a.image2.height,className:"rounded-[80px_10px] object-cover","data-aos":"fade-right","data-aos-delay":"300"})}),e("div",{className:"ml-auto flex max-w-[250px] justify-end overflow-hidden",children:e(t,{src:a.image3.src,alt:a.image4.alt,width:a.image3.width,height:a.image3.height,className:"rounded-[50px_10px] object-cover","data-aos":"fade-left","data-aos-delay":"350"})}),e("div",{className:"overflow-hidden",children:e(t,{src:a.image4.src,alt:a.image4.alt,width:a.image4.width,height:a.image4.height,className:"rounded-10 rounded-br-[80px] object-cover","data-aos":"fade-right","data-aos-delay":"400"})}),e("div",{className:"absolute left-1/2 top-1/2 z-[4] -translate-x-1/2 -translate-y-1/2 overflow-hidden",children:e("div",{"data-aos":"zoom-in","data-aos-delay":"450",children:e("span",{className:"grid h-[100px] w-[100px] place-items-center rounded-full border-[12px] border-white bg-accent text-[30px] text-white",children:e("svg",{width:"1em",height:"1em",viewBox:"0 0 27 27",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M26.8125 13.8672C26.8125 14.9922 25.875 15.9297 24.8125 15.9297H15.8125V24.9297C15.8125 25.9922 14.875 26.8672 13.8125 26.8672C12.6875 26.8672 11.8125 25.9922 11.8125 24.9297V15.9297H2.8125C1.6875 15.9297 0.8125 14.9922 0.8125 13.8672C0.8125 12.8047 1.6875 11.9297 2.8125 11.9297H11.8125V2.92969C11.8125 1.80469 12.6875 0.867188 13.8125 0.867188C14.875 0.867188 15.8125 1.80469 15.8125 2.92969V11.9297H24.8125C25.875 11.8672 26.8125 12.8047 26.8125 13.8672Z"})})})})})]})})]})})})}export{u as a};
@@ -1 +0,0 @@
1
- import{a as s}from"./chunk-SV7NMNDI.mjs";import{a as i}from"./chunk-KDGEXDC5.mjs";import{a as t}from"./chunk-UESKYRNK.mjs";import{a as o}from"./chunk-NIQ4466A.mjs";import{jsx as e}from"react/jsx-runtime";function S({services:a,className:c}){return e("section",{id:"next-section",className:o("section-padding-primary",c),children:e(t,{className:"py-8",children:a&&a.length>0&&e("div",{className:"flex flex-wrap justify-center gap-y-8",children:a.map((p,r)=>e("div",{"data-aos":"fade-up","data-aos-delay":s([200,400,600],r),className:"w-full px-4 md:w-1/2 lg:w-1/3",children:e(i,{...p})},r))})})})}export{S as a};
@@ -1 +0,0 @@
1
- import{a as m}from"./chunk-UMILL4LR.mjs";import{a as r}from"./chunk-KML6U7IE.mjs";import{a as l}from"./chunk-YR4DHJCY.mjs";import{a as n}from"./chunk-UESKYRNK.mjs";import v from"next/image";import{FaEnvelope as x,FaPhoneFlip as h}from"react-icons/fa6";import{Fragment as N,jsx as e,jsxs as t}from"react/jsx-runtime";function H(s){let{sectionHeading:d,image:a}=s;return t(N,{children:[e("section",{className:"section-padding-primary",children:e("div",{className:"",children:e("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:e("div",{className:"mx-auto max-w-2xl space-y-16 divide-y divide-gray-100 lg:mx-0 lg:max-w-none",children:t("div",{className:"grid grid-cols-1 gap-10 pt-16 lg:grid-cols-3",children:[t("div",{children:[e("h2",{className:"text-pretty text-4xl font-semibold tracking-tight text-accent",children:"Locations"}),e("p",{className:"mt-4 text-base/7 text-foreground",children:"We have multiple locations across the UK where we are based. These are our key locations."})]}),e("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2 lg:col-span-2 lg:gap-8",children:s.locations&&s.locations.map((i,c)=>{var o;return t("div",{className:"rounded-2xl p-10 border",children:[e("h3",{className:"text-base/7 font-semibold text-accent",children:i.title}),t("address",{className:"mt-3 space-y-1 text-sm/6 not-italic text-foreground",children:[(o=i.location.split(","))==null?void 0:o.map((p,g)=>e("p",{children:p},g))," ",i.mails&&t("p",{className:"flex items-center space-x-2",children:[e(x,{className:"pr-2 text-accent size-auto"}),e("span",{children:i.mails[0]})]}),i.phoneNumbers&&i.phoneNumbers.length>0&&t("p",{className:"flex items-center space-x-2",children:[e(h,{className:"pr-2 text-accent size-auto"}),i.phoneNumbers[0]]})]})]},c)})})]})})})})}),e("section",{className:"section-padding-primary",children:t("div",{className:"relative py-[60px]",children:[e("div",{className:"absolute left-0 top-0 z-1 h-full w-full overflow-hidden bg-red-500 md:w-[56%] md:rounded-r-5",children:e(v,{src:a.src,alt:a.alt,fill:!0,className:"object-cover",sizes:"(min-width: 768px) 60vw, 100vw",placeholder:"blur",blurDataURL:r})}),e(n,{children:e("div",{className:"ml-auto md:w-1/2",children:t("div",{className:"relative z-[2] rounded-5 bg-white p-10 shadow-1 dark:bg-accent-700 lg:p-[60px]",children:[e("div",{className:"mb-30px",children:e(l,{...d,invert:!0})}),e(m,{})]})})})]})})]})}export{H as a};
@@ -1,4 +0,0 @@
1
- "use client";
2
- "use strict";
3
-
4
- import{a as s}from"./chunk-4DJ6HKHR.mjs";import{a as c}from"./chunk-WU3JMLSC.mjs";import{a as u}from"./chunk-BZAYEKYC.mjs";import{a,b as i,c as t,e as o}from"./chunk-D76EO57Z.mjs";import{b as l}from"./chunk-BDX257W2.mjs";import{a as m}from"./chunk-RZTXT4UD.mjs";import{ExternalLink as d}from"lucide-react";import{jsx as e,jsxs as r}from"react/jsx-runtime";function b({...n}){return r("div",{className:"relative",children:[e("div",{className:"h-screen relative overflow-hidden",children:e(m,{...n.header,logoVideo:s,logoLight:u,logoDark:c})}),r("div",{id:"next-section",className:"mt-16 pt-16 min-h-screen",children:[" ",e("div",{className:"container py-8",children:r("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[e("div",{className:"lg:col-span-2",children:n.children}),r("div",{className:"space-y-6",children:[r(a,{children:[e(i,{children:e(t,{children:"Quick Actions"})}),r(o,{children:[e("p",{className:"mb-4 text-sm text-muted-foreground",children:"Get started with your first action in just a few clicks."}),e(l,{className:"w-full",children:"Create New"})]})]}),r(a,{children:[e(i,{children:e(t,{children:"Resources"})}),e(o,{children:r("nav",{className:"flex flex-col space-y-2",children:[r("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["User Guide",e(d,{className:"ml-1 h-3 w-3"})]}),r("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["API Documentation",e(d,{className:"ml-1 h-3 w-3"})]}),r("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["View Pricing Details",e(d,{className:"ml-1 h-3 w-3"})]})]})})]})]})]})})]})]})}export{b as a};
@@ -1,5 +0,0 @@
1
- "use client";
2
- "use strict";
3
-
4
- import{b as y,c as w}from"./chunk-TPKSXBJL.mjs";import{b}from"./chunk-HWFQKMP4.mjs";import{a as N}from"./chunk-NIQ4466A.mjs";import{a as v}from"./chunk-C5XNOZXC.mjs";import{useEffect as k,useRef as m,useState as E,useCallback as H}from"react";import{Previewer as d}from"pagedjs";import{Fragment as T,jsx as n,jsxs as s}from"react/jsx-runtime";function B(r){var e=document.createElement("div");e.style.display="block",e.style.height=r,document.body.appendChild(e);var i=parseFloat(window.getComputedStyle(e,null).height);return e.parentNode&&e.parentNode.removeChild(e),Math.floor(i)}var l=r=>{let e=document.createElement("div");e.style.height="1mm",document.body.appendChild(e);let i=parseFloat(window.getComputedStyle(e).height);return document.body.removeChild(e),Math.floor(r/i)},z=({page:r,layout:e="portrait",logoImage:i})=>e==="flow"?n(I,{page:r,layout:e,logoImage:i}):n(W,{page:r,layout:e,logoImage:i}),I=({page:r,layout:e="portrait",logoImage:i})=>{let{contentWithIds:c}=v(r),p=m(null),a=m(null),u=m(new d),f={id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}};k(()=>{let t=document.getElementById("printable-content");if(t){console.log("Width: "+t.offsetWidth+"px"),console.log("Width in mm: "+l(t.offsetWidth)+"mm"),console.log("Height: "+t.offsetHeight+"px"),console.log("Height in mm: "+l(t.offsetHeight)+"mm");let o=document.createElement("style");return o.textContent=`@page { size: ${l(t.offsetWidth)}mm ${l(t.offsetHeight)}mm ; margin: 0mm; width: ${l(t.offsetWidth)}mm }; .container : { max-width: ${l(t.offsetWidth)}mm; } .container : { max-width: 100%; }; body { zoom: 100%;}`,document.head.appendChild(o),()=>{document.head.removeChild(o)}}},[e]);let C=H(()=>{if(!a.current)return;a.current&&(a.current.innerHTML="");let t=document.getElementById("printable-content");t&&u.current.preview(document.getElementById("printable-content").innerHTML,[`@page { size: ${l(t.offsetWidth)}mm ${l(t.offsetHeight)}mm ; margin: 0mm; }; .container : { max-width: 100%; }; body { zoom: 100%;}`],a.current).catch(o=>console.error("Paged.js error:",o))},[]);k(()=>{u.current=new d},[C,e]);let h=[f,...c];return s("div",{children:[n("div",{className:"w-[1123px] print:w-[1123px]",children:s("div",{id:"printable-content",ref:p,children:[h.map((t,o)=>n(T,{children:o===0?n("section",{className:"title-page w-full h-full",children:n(w,{hero:r.hero,title:r.title})},o):s("section",{className:"normal-page overflow-hidden",children:[t.blockName&&n(y,{title:t.blockName}),n(b,{blocks:[t],fill:!0})]},o)})),n("section",{className:"normal-page",children:s("div",{className:`w-full py-2 px-8 flex justify-between items-center
5
- dark bg-background text-primary`,children:[s("div",{className:"flex px-6 items-center space-x-2",children:[i&&n("img",{src:i.src,alt:"Cortex Reply Logo",className:"h-8"}),n("span",{className:"pl-12 text-sm",children:"Power up your people"})]}),n("a",{href:"https://cortexreply.com",className:"text-sm hover:underline",children:"cortexreply.com"})]})})]})}),n("div",{ref:a,className:"preview-container"})]})},W=({page:r,layout:e="portrait"})=>{let{contentWithIds:i}=v(r),c=m(null),p=m(null),a=m(new d),[u,f]=E(0),h=[{id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},...i],t=H(()=>{c.current&&(c.current&&(c.current.innerHTML=""),a.current.preview(document.getElementById("printable-content").innerHTML,["./print.css",e==="landscape"?"./landscape.css":"./portrait.css"],c.current).then(o=>f(o.pageCount)).catch(o=>console.error("Paged.js error:",o)))},[]);return k(()=>{a.current=new d,t()},[t,e]),s("div",{className:"pagedjs-container",children:[n("div",{id:"printable-content",ref:p,style:{display:"none"},className:"pagedjs-content",children:h.map((o,g)=>{var P,x;return n(T,{children:g===0?n("section",{className:"pagedjs-section title-page w-full h-full",children:n(w,{hero:r.hero,title:r.title})},g):s("section",{className:N("pagedjs-section normal-page h-[699px]",`h-[${B("185mm")}px]`,((x=(P=o.theme)==null?void 0:P.settings)==null?void 0:x.theme)==="dark"?"dark":"light"),children:[o.blockName&&n(y,{title:o.blockName}),n(b,{blocks:[o],fill:!0})]},g)})})}),n("div",{ref:c,className:"preview-container"})]})};export{z as a,I as b,W as c};
@@ -1,4 +0,0 @@
1
- "use client";
2
- "use strict";
3
-
4
- import{a as u}from"./chunk-3TIFSACL.mjs";import{a as v}from"./chunk-XDP6BKTK.mjs";import{a as m}from"./chunk-NIQ4466A.mjs";import{useState as f,useEffect as b}from"react";import{Menu as x,ChevronDown as w}from"lucide-react";import N from"next/image";import{jsx as e,jsxs as t}from"react/jsx-runtime";function O({logoVideo:p,logoLight:s,logoDark:i,menuItems:a,title:r,subtitle:n}){let[c,d]=f(!1),[l,g]=f(!1),h=()=>{let o=document.getElementById("next-section");o&&o.scrollIntoView({behavior:"smooth"})};return b(()=>{let o=()=>{window.scrollY>100?d(!0):d(!1)};return window.addEventListener("scroll",o,{passive:!0}),()=>window.removeEventListener("scroll",o)},[]),t("div",{className:"relative h-screen",children:[t("div",{className:"absolute inset-0 w-full h-screen overflow-hidden",children:[t("video",{className:"object-cover w-full h-full",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,children:[e("source",{src:"assets/videos/background.mov",type:"video/mp4"}),"Your browser does not support the video tag."]}),e("div",{className:"absolute inset-0 bg-primary-900/50"})]}),!c&&!l&&e("button",{className:"fixed hidden lg:block top-4 right-4 z-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20",onClick:()=>{g(!l)},children:e(x,{className:"w-6 h-6 text-white"})}),t("div",{className:"fixed top-0 left-0 right-0 z-50",children:[e(u,{isMenuOpen:c||l,logoLight:s,logoDark:i,menuItems:a}),e(v,{isMenuOpen:!0,logoLight:s,logoDark:i,menuItems:a})]}),t("div",{className:"absolute inset-0 h-full z-10 flex flex-col items-center justify-between text-white text-center px-4",children:[e(N,{src:p,alt:"Cortex Reply Logo",width:720,height:320,className:m("absolute top-2.5 h-auto w-auto mt-8 hidden lg:block",l&&"lg:hidden")}),t("div",{className:"absolute top-1/2vv h-full flex flex-col px-4 items-center justify-center",children:[e("h1",{className:"text-6xl font-bold pt-auto mb-12",children:r&&r}),e("div",{className:"text-3xl mb-8 max-w-2xl",children:n&&n})]}),e("div",{className:"absolute bottom-10 flex justify-center items-center w-full mb-8",children:e("div",{className:"animate-bounce cursor-pointer hover:text-accent",onClick:h,children:e(w,{size:64})})})]})]})}export{O as a};
@@ -1,4 +0,0 @@
1
- "use client";
2
- "use strict";
3
-
4
- import{a as W}from"./chunk-NJUUI5AR.mjs";import{a as F}from"./chunk-BGG55SY3.mjs";import{a as v}from"./chunk-NIQ4466A.mjs";import{a as R}from"./chunk-C5XNOZXC.mjs";import{useState as A}from"react";import G from"html2canvas";import{jsPDF as q}from"jspdf";import{Fragment as J,jsx as e,jsxs as p}from"react/jsx-runtime";function ae({type:w="slideshow",orientation:r="landscape",...s}){let h=s.page,[u,a]=A(r);console.log("args",s);let{contentWithIds:d,tableOfContents:c}=R(h);if(w==="slideshow")return e("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:e(F,{blocks:d,hero:s.hero,title:s.page.title,logoImage:s.logoImage})});if(w==="print")return p(J,{children:[e(U,{layout:u,changeLayout:a}),e(W,{page:s.page,layout:u,logoImage:s.logoImage})]})}var U=({changeLayout:w,layout:r="landscape"})=>{let s=async()=>{r==="flow"?u("printable-content"):(await new Promise(a=>setTimeout(a,300)),window.print())},h=a=>{w&&w(a)},u=async a=>{console.log("elementToPrintId",a);let d=document.getElementById(a);if(!d)throw new Error(`Element with id ${a} not found`);let c=document.createElement("canvas"),z=window.devicePixelRatio;c.width=Math.max(d.clientWidth||0)*z,c.height=Math.max(d.clientHeight||0)*z+100;let y=c.getContext("2d");if(!y)throw new Error("Failed to get 2D context");let O=y.drawImage,k=Array.from(d.getElementsByTagName("img")).reduce((L,n)=>(L[n.src]=n,L),{});y.drawImage=function(...L){let[n,j,D,l,i,B,H,m,f]=L;if(n instanceof HTMLImageElement){let Y=k[n.src].style.objectFit||"fill",$=k[n.src].style.objectPosition||"center center";i=n.height,l=n.width;let b=l/i,C=m/f,[x,g]=$.split(" ");switch(g||(g=x),Y){case"cover":if(b>C){let t=i*C,o=(l-t)/2;x==="left"&&(o=0),x==="right"&&(o=l-t),j+=o,l=t}else{let t=l/C,o=(i-t)/2;g==="top"&&(o=0),g==="bottom"&&(o=i-t),D+=o,i=t}break;case"contain":if(b>C){let t=m/b,o=(f-t)/2;g==="top"&&(o=0),g==="bottom"&&(o=f-t),H+=o,f=t}else{let t=f*b,o=(m-t)/2;x==="left"&&(o=0),x==="right"&&(o=m-t),B+=o,m=t}break;case"fill":break}}return O.call(y,n,j,D,l,i,B,H,m,f)};let M=document.getElementById(a);if(!M)throw new Error(`Element with id ${a} not found`);var T=c.width,X=c.height;let I=(await G(M,{canvas:c,windowHeight:X,windowWidth:T,scale:window.devicePixelRatio})).toDataURL("image/png"),N=new q({}).getImageProperties(I),P=297,E=P*(N.height/N.width),S=new q({unit:"mm",format:[P,E]});S.addImage(I,"PNG",0,0,P,E),S.save("print.pdf")};return e("div",{className:v("fixed right-2 z-20 top-20 space-y-6 print:hidden"),children:e("div",{className:"flex flex-row-reverse z-20 min-w-70 gap-4",children:p("nav",{className:"z-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:[p("a",{onClick:s,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",children:e("path",{d:"M96 160l-32 0 0-96C64 28.7 92.7 0 128 0L357.5 0c17 0 33.3 6.7 45.3 18.7l26.5 26.5c12 12 18.7 28.3 18.7 45.3l0 69.5-32 0 0-69.5c0-8.5-3.4-16.6-9.4-22.6L380.1 41.4c-6-6-14.1-9.4-22.6-9.4L128 32c-17.7 0-32 14.3-32 32l0 96zm352 64L64 224c-17.7 0-32 14.3-32 32l0 128 32 0 0-32c0-17.7 14.3-32 32-32l320 0c17.7 0 32 14.3 32 32l0 32 32 0 0-128c0-17.7-14.3-32-32-32zm0 192l0 64c0 17.7-14.3 32-32 32L96 512c-17.7 0-32-14.3-32-32l0-64-32 0c-17.7 0-32-14.3-32-32L0 256c0-35.3 28.7-64 64-64l384 0c35.3 0 64 28.7 64 64l0 128c0 17.7-14.3 32-32 32l-32 0zM96 352l0 128 320 0 0-128L96 352zM432 248a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"})}),e("small",{className:"text-xs font-medium",children:"Print"})]}),e("div",{className:"flex-grow border-t border-gray-200 dark:border-slate-600/60"}),p("a",{onClick:()=>h("portrait"),className:v("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",r==="portrait"?"text-accent":"hover:text-accent"),children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",fill:"currentColor",children:e("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"})}),e("small",{className:"text-xs",children:"Portrait"})]}),p("a",{onClick:()=>h("landscape"),className:v("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",r==="landscape"?"text-accent":"hover:text-accent"),children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512",fill:"currentColor",children:e("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"})}),e("small",{className:"text-xs",children:"Landscape"})]}),p("a",{onClick:()=>h("flow"),className:v("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",r==="flow"?"text-accent":"hover:text-accent"),children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:e("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"})}),e("small",{className:"text-xs",children:"Continuous"})]})]})})})};export{ae as a};