cortex-react-components 1.46.2 → 1.47.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 (175) hide show
  1. package/dist/{chunk-7OHZFWIJ.mjs → chunk-3ODCIQYB.mjs} +1 -1
  2. package/dist/{chunk-4BZYZZOG.mjs → chunk-3TIFSACL.mjs} +1 -1
  3. package/dist/{chunk-PBKAWMUU.mjs → chunk-5BPR3YKT.mjs} +1 -1
  4. package/dist/{chunk-4OQHZ5FW.mjs → chunk-7SSOLQR5.mjs} +1 -1
  5. package/dist/{chunk-OKGREBP5.mjs → chunk-BWGRPPZL.mjs} +1 -1
  6. package/dist/{chunk-4ZT572BM.mjs → chunk-DIPGFDJV.mjs} +1 -1
  7. package/dist/{chunk-KJBMLPHS.mjs → chunk-DLCGGIZW.mjs} +1 -1
  8. package/dist/{chunk-7QOBENUU.mjs → chunk-ECOVEIOV.mjs} +1 -1
  9. package/dist/{chunk-H4NT35II.mjs → chunk-ENDXPA4H.mjs} +1 -1
  10. package/dist/chunk-G6K3PK47.mjs +1 -0
  11. package/dist/{chunk-KAJDV47B.mjs → chunk-GHBJK554.mjs} +1 -1
  12. package/dist/{chunk-TCJJQBFS.mjs → chunk-GT43S672.mjs} +1 -1
  13. package/dist/{chunk-SOZ265PX.mjs → chunk-H5DKU4M5.mjs} +1 -1
  14. package/dist/{chunk-PV7GB4V4.mjs → chunk-HFSHDEMQ.mjs} +1 -1
  15. package/dist/{chunk-W66SVCJY.mjs → chunk-HHUI6PDP.mjs} +1 -1
  16. package/dist/{chunk-6G2YEF4M.mjs → chunk-IJU5INGM.mjs} +1 -1
  17. package/dist/{chunk-MZVYPHE3.mjs → chunk-KVIQW2PH.mjs} +1 -1
  18. package/dist/{chunk-HE3WBVX5.mjs → chunk-MY3PX5GI.mjs} +1 -1
  19. package/dist/{chunk-4QHYOUY7.mjs → chunk-O7R6EGBU.mjs} +1 -1
  20. package/dist/{chunk-654RXN5C.mjs → chunk-QCIJUDO4.mjs} +1 -1
  21. package/dist/{chunk-V7YLLLES.mjs → chunk-RZTXT4UD.mjs} +1 -1
  22. package/dist/{chunk-XHDR7I54.mjs → chunk-SEG6IDDX.mjs} +1 -1
  23. package/dist/{chunk-M24IHGNE.mjs → chunk-TGHOEITH.mjs} +1 -1
  24. package/dist/{chunk-PGSQ2PAH.mjs → chunk-UDH5ASIW.mjs} +1 -1
  25. package/dist/{chunk-TKACTYOE.mjs → chunk-US6CSL53.mjs} +1 -1
  26. package/dist/{chunk-7PWDA3UD.mjs → chunk-W6VKKBUG.mjs} +1 -1
  27. package/dist/{chunk-KQE42INF.mjs → chunk-XGKZLSIS.mjs} +1 -1
  28. package/dist/{chunk-23L5ZJ2U.mjs → chunk-Z4CK655R.mjs} +1 -1
  29. package/dist/{chunk-PKB6F4J5.mjs → chunk-Z5PNO5CB.mjs} +1 -1
  30. package/dist/{chunk-FOMKMFJX.mjs → chunk-ZLEW2CSB.mjs} +1 -1
  31. package/dist/components/Blocks/Banner.js +1 -1
  32. package/dist/components/Blocks/Banner.mjs +1 -1
  33. package/dist/components/Blocks/CallToAction.js +1 -1
  34. package/dist/components/Blocks/CallToAction.mjs +1 -1
  35. package/dist/components/Blocks/CallToAction.stories.js +1 -1
  36. package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
  37. package/dist/components/Blocks/Content.js +1 -1
  38. package/dist/components/Blocks/Content.mjs +1 -1
  39. package/dist/components/Blocks/FeaturesBlock.d.ts +4 -20
  40. package/dist/components/Blocks/FeaturesBlock.js +1 -1
  41. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  42. package/dist/components/Blocks/FeaturesBlock.stories.js +1 -1
  43. package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
  44. package/dist/components/Blocks/RelatedPosts.js +1 -1
  45. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  46. package/dist/components/Blocks/RenderBlocks.js +1 -1
  47. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  48. package/dist/components/Blocks/ReusableContent.css +1 -0
  49. package/dist/components/Blocks/ReusableContent.d.ts +8 -0
  50. package/dist/components/Blocks/ReusableContent.js +4 -0
  51. package/dist/components/Blocks/ReusableContent.mjs +1 -0
  52. package/dist/components/Blocks/index.js +1 -1
  53. package/dist/components/Blocks/index.mjs +1 -1
  54. package/dist/components/CRM/DealDetails.mjs +1 -1
  55. package/dist/components/CRM/DealDetails.stories.mjs +1 -1
  56. package/dist/components/CRM/KanbanBoard.mjs +1 -1
  57. package/dist/components/CRM/KanbanBoard.stories.mjs +1 -1
  58. package/dist/components/CRM/KanbanColumn.mjs +1 -1
  59. package/dist/components/CRM/KanbanColumn.stories.mjs +1 -1
  60. package/dist/components/CRM/NewDealForm.mjs +1 -1
  61. package/dist/components/CRM/NewDealForm.stories.mjs +1 -1
  62. package/dist/components/CRM/index.mjs +1 -1
  63. package/dist/components/Cards/ContentCard.js +1 -1
  64. package/dist/components/Cards/ContentCard.mjs +1 -1
  65. package/dist/components/Cards/ContentCard.stories.js +1 -1
  66. package/dist/components/Cards/ContentCard.stories.mjs +1 -1
  67. package/dist/components/Cards/index.js +4 -4
  68. package/dist/components/Cards/index.mjs +1 -1
  69. package/dist/components/HeaderFooter/Footer.mjs +1 -1
  70. package/dist/components/HeaderFooter/Footer.stories.mjs +1 -1
  71. package/dist/components/HeaderFooter/Header.mjs +1 -1
  72. package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
  73. package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
  74. package/dist/components/HeaderFooter/HeaderDesktop.stories.mjs +1 -1
  75. package/dist/components/HeaderFooter/SectionHeading.js +1 -1
  76. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  77. package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
  78. package/dist/components/HeaderFooter/index.mjs +1 -1
  79. package/dist/components/Heros/HighImpact/index.js +1 -1
  80. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  81. package/dist/components/Heros/LowImpact/index.js +1 -1
  82. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  83. package/dist/components/Heros/MediumImpact/index.js +1 -1
  84. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  85. package/dist/components/Heros/PostHero/index.mjs +1 -1
  86. package/dist/components/Heros/RenderHero.js +1 -1
  87. package/dist/components/Heros/RenderHero.mjs +1 -1
  88. package/dist/components/Heros/SectionHero/index.mjs +1 -1
  89. package/dist/components/Heros/index.js +1 -1
  90. package/dist/components/Heros/index.mjs +1 -1
  91. package/dist/components/Holidays/HolidayTracker.mjs +1 -1
  92. package/dist/components/Holidays/HolidayTracker.stories.mjs +1 -1
  93. package/dist/components/Holidays/index.mjs +1 -1
  94. package/dist/components/Layouts/BlogList.js +3 -3
  95. package/dist/components/Layouts/BlogList.mjs +1 -1
  96. package/dist/components/Layouts/BlogList.stories.js +3 -3
  97. package/dist/components/Layouts/BlogList.stories.mjs +1 -1
  98. package/dist/components/Layouts/SlideShow.js +1 -1
  99. package/dist/components/Layouts/SlideShow.mjs +1 -1
  100. package/dist/components/Layouts/SlideShow.stories.js +1 -1
  101. package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
  102. package/dist/components/Layouts/index.js +3 -3
  103. package/dist/components/Layouts/index.mjs +1 -1
  104. package/dist/components/Payload/RichText/index.js +1 -1
  105. package/dist/components/Payload/RichText/index.mjs +1 -1
  106. package/dist/components/Payload/RichText/serialize.d.ts +12 -2
  107. package/dist/components/Payload/RichText/serialize.js +1 -1
  108. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  109. package/dist/components/Payload/RichText.stories.js +1 -1
  110. package/dist/components/Payload/RichText.stories.mjs +1 -1
  111. package/dist/components/Payload/index.js +1 -1
  112. package/dist/components/Payload/index.mjs +1 -1
  113. package/dist/components/index.js +6 -6
  114. package/dist/components/index.mjs +1 -1
  115. package/dist/components/ui/button.d.ts +1 -1
  116. package/dist/components/ui/index.mjs +1 -1
  117. package/dist/index.js +8 -8
  118. package/dist/index.mjs +1 -1
  119. package/dist/metafile-cjs.json +1 -1
  120. package/dist/metafile-esm.json +1 -1
  121. package/dist/pages/Blog.js +1 -1
  122. package/dist/pages/Blog.mjs +1 -1
  123. package/dist/pages/Blog.stories.js +1 -1
  124. package/dist/pages/Blog.stories.mjs +1 -1
  125. package/dist/pages/Documentation.mjs +1 -1
  126. package/dist/pages/Documentation.stories.mjs +1 -1
  127. package/dist/pages/IndexPage.mjs +1 -1
  128. package/dist/pages/IndexPage.stories.mjs +1 -1
  129. package/dist/pages/Intranet.mjs +1 -1
  130. package/dist/pages/Intranet.stories.mjs +1 -1
  131. package/dist/pages/LandingPage.mjs +1 -1
  132. package/dist/pages/LandingPage.stories.mjs +1 -1
  133. package/dist/pages/Page.js +1 -1
  134. package/dist/pages/Page.mjs +1 -1
  135. package/dist/pages/Page.stories.js +186 -186
  136. package/dist/pages/Page.stories.mjs +1 -1
  137. package/dist/pages/Publish.js +1 -1
  138. package/dist/pages/Publish.mjs +1 -1
  139. package/dist/pages/Publish.stories.js +1 -1
  140. package/dist/pages/Publish.stories.mjs +1 -1
  141. package/dist/pages/Website.js +1 -1
  142. package/dist/pages/Website.mjs +1 -1
  143. package/dist/pages/Website.stories.js +2 -2
  144. package/dist/pages/Website.stories.mjs +1 -1
  145. package/dist/payload-types.d.ts +300 -3
  146. package/dist/payload-types.js +1 -1
  147. package/dist/sections/AboutSection.js +1 -1
  148. package/dist/sections/AboutSection.mjs +1 -1
  149. package/dist/sections/AboutSection.stories.js +1 -1
  150. package/dist/sections/AboutSection.stories.mjs +1 -1
  151. package/dist/sections/BlogDetail.js +1 -1
  152. package/dist/sections/BlogDetail.mjs +1 -1
  153. package/dist/sections/BlogDetail.stories.js +1 -1
  154. package/dist/sections/BlogDetail.stories.mjs +1 -1
  155. package/dist/sections/BlogListSection.mjs +1 -1
  156. package/dist/sections/BlogListSection.stories.mjs +1 -1
  157. package/dist/sections/ContactSection.js +1 -1
  158. package/dist/sections/ContactSection.mjs +1 -1
  159. package/dist/sections/ContactSection.stories.js +1 -1
  160. package/dist/sections/ContactSection.stories.mjs +1 -1
  161. package/dist/sections/ImageSection.stories.js +1 -1
  162. package/dist/sections/ImageSection.stories.mjs +1 -1
  163. package/dist/sections/PricingSection.js +1 -1
  164. package/dist/sections/PricingSection.mjs +1 -1
  165. package/dist/sections/PricingSection.stories.js +1 -1
  166. package/dist/sections/PricingSection.stories.mjs +1 -1
  167. package/dist/sections/ServiceSection.mjs +1 -1
  168. package/dist/sections/ServiceSection.stories.mjs +1 -1
  169. package/dist/sections/index.js +1 -1
  170. package/dist/sections/index.mjs +1 -1
  171. package/package.json +1 -1
  172. package/dist/chunk-BK5FPGFH.mjs +0 -1
  173. package/dist/chunk-QEJAJJSS.mjs +0 -1
  174. package/dist/chunk-XZEJC3UX.mjs +0 -1
  175. package/dist/chunk-ZSRAJP4K.mjs +0 -1
@@ -0,0 +1,8 @@
1
+ import type { ReusableContent } from '@/payload-types';
2
+ import React from 'react';
3
+ type Props = {
4
+ customId: string;
5
+ reusableContent: ReusableContent;
6
+ };
7
+ export declare const ReusableContentBlock: React.FC<Props>;
8
+ export {};
@@ -0,0 +1,4 @@
1
+ "use client";
2
+ "use strict";
3
+
4
+ "use strict";var pt=Object.create;var $=Object.defineProperty;var mt=Object.getOwnPropertyDescriptor;var ut=Object.getOwnPropertyNames;var gt=Object.getPrototypeOf,ft=Object.prototype.hasOwnProperty;var bt=(e,t)=>{for(var r in t)$(e,r,{get:t[r],enumerable:!0})},Te=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of ut(t))!ft.call(e,s)&&s!==r&&$(e,s,{get:()=>t[s],enumerable:!(n=mt(t,s))||n.enumerable});return e};var O=(e,t,r)=>(r=e!=null?pt(gt(e)):{},Te(t||!e||!e.__esModule?$(r,"default",{value:e,enumerable:!0}):r,e)),yt=e=>Te($({},"__esModule",{value:!0}),e);var er={};bt(er,{ReusableContentBlock:()=>Y});module.exports=yt(er);var De=require("clsx");var fe="-",ht=e=>{let t=kt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:l=>{let a=l.split(fe);return a[0]===""&&a.length!==1&&a.shift(),Me(a,t)||xt(l)},getConflictingClassGroupIds:(l,a)=>{let c=r[l]||[];return a&&n[l]?[...c,...n[l]]:c}}},Me=(e,t)=>{var l;if(e.length===0)return t.classGroupId;let r=e[0],n=t.nextPart.get(r),s=n?Me(e.slice(1),n):void 0;if(s)return s;if(t.validators.length===0)return;let o=e.join(fe);return(l=t.validators.find(({validator:a})=>a(o)))==null?void 0:l.classGroupId},Ie=/^\[(.+)\]$/,xt=e=>{if(Ie.test(e)){let t=Ie.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},kt=e=>{let{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return wt(Object.entries(e.classGroups),r).forEach(([o,l])=>{ge(l,n,o,t)}),n},ge=(e,t,r,n)=>{e.forEach(s=>{if(typeof s=="string"){let o=s===""?t:Se(t,s);o.classGroupId=r;return}if(typeof s=="function"){if(vt(s)){ge(s(n),t,r,n);return}t.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([o,l])=>{ge(l,Se(t,o),r,n)})})},Se=(e,t)=>{let r=e;return t.split(fe).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},vt=e=>e.isThemeGetter,wt=(e,t)=>t?e.map(([r,n])=>{let s=n.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([l,a])=>[t+l,a])):o);return[r,s]}):e,Ct=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map,s=(o,l)=>{r.set(o,l),t++,t>e&&(t=0,n=r,r=new Map)};return{get(o){let l=r.get(o);if(l!==void 0)return l;if((l=n.get(o))!==void 0)return s(o,l),l},set(o,l){r.has(o)?r.set(o,l):s(o,l)}}},ze="!",At=e=>{let{separator:t,experimentalParseClassName:r}=e,n=t.length===1,s=t[0],o=t.length,l=a=>{let c=[],m=0,u=0,h;for(let y=0;y<a.length;y++){let k=a[y];if(m===0){if(k===s&&(n||a.slice(y,y+o)===t)){c.push(a.slice(u,y)),u=y+o;continue}if(k==="/"){h=y;continue}}k==="["?m++:k==="]"&&m--}let x=c.length===0?a:a.substring(u),A=x.startsWith(ze),N=A?x.substring(1):x,b=h&&h>u?h-u:void 0;return{modifiers:c,hasImportantModifier:A,baseClassName:N,maybePostfixModifierPosition:b}};return r?a=>r({className:a,parseClassName:l}):l},Nt=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(n=>{n[0]==="["?(t.push(...r.sort(),n),r=[]):r.push(n)}),t.push(...r.sort()),t},Bt=e=>({cache:Ct(e.cacheSize),parseClassName:At(e),...ht(e)}),Pt=/\s+/,Rt=(e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:s}=t,o=[],l=e.trim().split(Pt),a="";for(let c=l.length-1;c>=0;c-=1){let m=l[c],{modifiers:u,hasImportantModifier:h,baseClassName:x,maybePostfixModifierPosition:A}=r(m),N=!!A,b=n(N?x.substring(0,A):x);if(!b){if(!N){a=m+(a.length>0?" "+a:a);continue}if(b=n(x),!b){a=m+(a.length>0?" "+a:a);continue}N=!1}let y=Nt(u).join(":"),k=h?y+ze:y,C=k+b;if(o.includes(C))continue;o.push(C);let E=s(b,N);for(let F=0;F<E.length;++F){let q=E[F];o.push(k+q)}a=m+(a.length>0?" "+a:a)}return a};function Tt(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Ee(t))&&(n&&(n+=" "),n+=r);return n}var Ee=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=Ee(e[n]))&&(r&&(r+=" "),r+=t);return r};function It(e,...t){let r,n,s,o=l;function l(c){let m=t.reduce((u,h)=>h(u),e());return r=Bt(m),n=r.cache.get,s=r.cache.set,o=a,a(c)}function a(c){let m=n(c);if(m)return m;let u=Rt(c,r);return s(c,u),u}return function(){return o(Tt.apply(null,arguments))}}var g=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Fe=/^\[(?:([a-ee-]+):)?(.+)\]$/i,St=/^\d+\/\d+$/,Mt=new Set(["px","full","screen"]),zt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Et=/\d+(%|px|r?em|[sdl]?ee([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(ee|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Ft=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Gt=/^(inset_)?-?((\d+)?\.?(\d+)[a-ee]+|0)_-?((\d+)?\.?(\d+)[a-ee]+|0)/,Lt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,T=e=>H(e)||Mt.has(e)||St.test(e),S=e=>V(e,"length",_t),H=e=>!!e&&!Number.isNaN(Number(e)),ue=e=>V(e,"number",H),J=e=>!!e&&Number.isInteger(Number(e)),Dt=e=>e.endsWith("%")&&H(e.slice(0,-1)),i=e=>Fe.test(e),M=e=>zt.test(e),Ut=new Set(["length","size","percentage"]),Ht=e=>V(e,Ut,Ge),Vt=e=>V(e,"position",Ge),Qt=new Set(["image","url"]),Ot=e=>V(e,Qt,Kt),Jt=e=>V(e,"",jt),_=()=>!0,V=(e,t,r)=>{let n=Fe.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1},_t=e=>Et.test(e)&&!Ft.test(e),Ge=()=>!1,jt=e=>Gt.test(e),Kt=e=>Lt.test(e);var Yt=()=>{let e=g("colors"),t=g("spacing"),r=g("blur"),n=g("brightness"),s=g("borderColor"),o=g("borderRadius"),l=g("borderSpacing"),a=g("borderWidth"),c=g("contrast"),m=g("grayscale"),u=g("hueRotate"),h=g("invert"),x=g("gap"),A=g("gradientColorStops"),N=g("gradientColorStopPositions"),b=g("inset"),y=g("margin"),k=g("opacity"),C=g("padding"),E=g("saturate"),F=g("scale"),q=g("sepia"),we=g("skew"),Ce=g("space"),Ae=g("translate"),ce=()=>["auto","contain","none"],de=()=>["auto","hidden","clip","visible","scroll"],pe=()=>["auto",i,t],f=()=>[i,t],Ne=()=>["",T,S],W=()=>["auto",H,i],Be=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Z=()=>["solid","dashed","dotted","double","none"],Pe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],me=()=>["start","end","center","between","around","evenly","stretch"],Q=()=>["","0",i],Re=()=>["auto","avoid","all","avoid-page","page","left","right","column"],R=()=>[H,i];return{cacheSize:500,separator:":",theme:{colors:[_],spacing:[T,S],blur:["none","",M,i],brightness:R(),borderColor:[e],borderRadius:["none","","full",M,i],borderSpacing:f(),borderWidth:Ne(),contrast:R(),grayscale:Q(),hueRotate:R(),invert:Q(),gap:f(),gradientColorStops:[e],gradientColorStopPositions:[Dt,S],inset:pe(),margin:pe(),opacity:R(),padding:f(),saturate:R(),scale:R(),sepia:Q(),skew:R(),space:f(),translate:f()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[M]}],"break-after":[{"break-after":Re()}],"break-before":[{"break-before":Re()}],"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:[...Be(),i]}],overflow:[{overflow:de()}],"overflow-x":[{"overflow-x":de()}],"overflow-y":[{"overflow-y":de()}],overscroll:[{overscroll:ce()}],"overscroll-x":[{"overscroll-x":ce()}],"overscroll-y":[{"overscroll-y":ce()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[b]}],"inset-x":[{"inset-x":[b]}],"inset-y":[{"inset-y":[b]}],start:[{start:[b]}],end:[{end:[b]}],top:[{top:[b]}],right:[{right:[b]}],bottom:[{bottom:[b]}],left:[{left:[b]}],visibility:["visible","invisible","collapse"],ee:[{ee:["auto",J,i]}],basis:[{basis:pe()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",i]}],grow:[{grow:Q()}],shrink:[{shrink:Q()}],order:[{order:["first","last","none",J,i]}],"grid-cols":[{"grid-cols":[_]}],"col-start-end":[{col:["auto",{span:["full",J,i]},i]}],"col-start":[{"col-start":W()}],"col-end":[{"col-end":W()}],"grid-rows":[{"grid-rows":[_]}],"row-start-end":[{row:["auto",{span:[J,i]},i]}],"row-start":[{"row-start":W()}],"row-end":[{"row-end":W()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",i]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",i]}],gap:[{gap:[x]}],"gap-x":[{"gap-x":[x]}],"gap-y":[{"gap-y":[x]}],"justify-content":[{justify:["normal",...me()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...me(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...me(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],ee:[{ee:[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:[y]}],mx:[{mx:[y]}],my:[{my:[y]}],ms:[{ms:[y]}],me:[{me:[y]}],mt:[{mt:[y]}],mr:[{mr:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-x":[{"space-x":[Ce]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Ce]}],"space-y-reverse":["space-y-reverse"],ee:[{ee:["auto","min","max","fit","svw","lvw","dvw",i,t]}],"min-ee":[{"min-ee":[i,t,"min","max","fit"]}],"max-ee":[{"max-ee":[i,t,"none","full","min","max","fit","prose",{screen:[M]},M]}],h:[{h:[i,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,t,"auto","min","max","fit"]}],"font-size":[{text:["base",M,S]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ue]}],"font-family":[{font:[_]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",i]}],"line-clamp":[{"line-clamp":["none",H,ue]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",T,i]}],"list-image":[{"list-image":["none",i]}],"list-style-type":[{list:["none","disc","decimal",i]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[k]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[k]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Z(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",T,S]}],"underline-offset":[{"underline-offset":["auto",T,i]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:f()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",i]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",i]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[k]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Be(),Vt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Ht]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Ot]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[N]}],"gradient-via-pos":[{via:[N]}],"gradient-to-pos":[{to:[N]}],"gradient-from":[{from:[A]}],"gradient-via":[{via:[A]}],"gradient-to":[{to:[A]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-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-ee":[{border:[a]}],"border-ee-x":[{"border-x":[a]}],"border-ee-y":[{"border-y":[a]}],"border-ee-s":[{"border-s":[a]}],"border-ee-e":[{"border-e":[a]}],"border-ee-t":[{"border-t":[a]}],"border-ee-r":[{"border-r":[a]}],"border-ee-b":[{"border-b":[a]}],"border-ee-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[k]}],"border-style":[{border:[...Z(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[k]}],"divide-style":[{divide:Z()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...Z()]}],"outline-offset":[{"outline-offset":[T,i]}],"outline-ee":[{outline:[T,S]}],"outline-color":[{outline:[e]}],"ring-ee":[{ring:Ne()}],"ring-ee-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[k]}],"ring-offset-ee":[{"ring-offset":[T,S]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",M,Jt]}],"shadow-color":[{shadow:[_]}],opacity:[{opacity:[k]}],"mix-blend":[{"mix-blend":[...Pe(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Pe()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",M,i]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[h]}],saturate:[{saturate:[E]}],sepia:[{sepia:[q]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[k]}],"backdrop-saturate":[{"backdrop-saturate":[E]}],"backdrop-sepia":[{"backdrop-sepia":[q]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",i]}],duration:[{duration:R()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:R()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[F]}],"scale-x":[{"scale-x":[F]}],"scale-y":[{"scale-y":[F]}],rotate:[{rotate:[J,i]}],"translate-x":[{"translate-x":[Ae]}],"translate-y":[{"translate-y":[Ae]}],"skew-x":[{"skew-x":[we]}],"skew-y":[{"skew-y":[we]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",i]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","ee-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",i]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":f()}],"scroll-mx":[{"scroll-mx":f()}],"scroll-my":[{"scroll-my":f()}],"scroll-ms":[{"scroll-ms":f()}],"scroll-me":[{"scroll-me":f()}],"scroll-mt":[{"scroll-mt":f()}],"scroll-mr":[{"scroll-mr":f()}],"scroll-mb":[{"scroll-mb":f()}],"scroll-ml":[{"scroll-ml":f()}],"scroll-ee":[{"scroll-ee":f()}],"scroll-px":[{"scroll-px":f()}],"scroll-py":[{"scroll-py":f()}],"scroll-ps":[{"scroll-ps":f()}],"scroll-pe":[{"scroll-pe":f()}],"scroll-pt":[{"scroll-pt":f()}],"scroll-pr":[{"scroll-pr":f()}],"scroll-pb":[{"scroll-pb":f()}],"scroll-pl":[{"scroll-pl":f()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",i]}],fill:[{fill:[e,"none"]}],"stroke-ee":[{stroke:[T,S,ue]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],ee:["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:["ee","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-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-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-ee":["border-ee-s","border-ee-e","border-ee-t","border-ee-r","border-ee-b","border-ee-l"],"border-ee-x":["border-ee-r","border-ee-l"],"border-ee-y":["border-ee-t","border-ee-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-ee":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Le=It(Yt);function d(...e){return Le((0,De.clsx)(e))}var ct=O(require("next/image"));var ee=require("react/jsx-runtime"),Ue=({className:e,content:t,style:r})=>(0,ee.jsx)("div",{className:d("mx-auto my-8 ee-full",e),children:(0,ee.jsx)("div",{className:d("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,ee.jsx)(B,{content:t,enableGutter:!1,enableProse:!1})})});var te=require("prism-react-renderer");var He=require("@radix-ui/react-slot"),Ve=require("class-variance-authority"),Qe=O(require("react")),Xt=(0,Ve.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 ee-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),G=Qe.forwardRef(({asChild:e=!1,className:t,size:r,variant:n,...s},o)=>(0,ee.jsx)(e?He.Slot:"button",{className:d(Xt({className:t,size:r,variant:n})),ref:o,...s}));G.displayName="Button";var Je=require("lucide-react"),_e=require("react");function je({code:e}){let[t,r]=(0,_e.useState)("Copy");function n(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,ee.jsx)("div",{className:"flex justify-end align-middle",children:(0,ee.jsxs)(G,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),n()},children:[(0,ee.jsx)("ee",{children:t}),(0,ee.jsx)("div",{className:"ee-6 h-6 dark:invert",children:(0,ee.jsx)(Je.ClipboardCopy,{})})]})})}var Ke=({code:e,language:t=""})=>e?(0,ee.jsx)(te.Highlight,{code:e,language:t,theme:te.themes.vsDark,children:({getLineProps:r,getTokenProps:n,tokens:s})=>(0,ee.jsxs)("pre",{className:"bg-black ee-4 border text-xs border-border rounded overflow-x-auto",children:[s.map((o,l)=>(0,ee.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,ee.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:l+1}),(0,ee.jsx)("span",{className:"table-cell pl-4",children:o.map((a,c)=>(0,ee.jsx)("span",{...n({token:a})},c))})]},l)),(0,ee.jsx)(je,{code:e})]})}):null;var Ye=({className:e,code:t,language:r})=>(0,ee.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,ee.jsx)(Ke,{code:t,language:r})});var qe=O(require("next/image")),qt={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Xe="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=",We=e=>{let{alt:t,fill:r,imgClassName:n,priority:s,resource:o,size:l,src:a,loading:c}=e,m,u,h=t,x=a||"";if(!x&&o&&typeof o=="object"){let{alt:b,filename:y,height:k,url:C,width:E}=o;m=E,u=k,h=b||"",x=C||Xe}let A=c||"lazy",N=l||Object.entries(qt).map(([,b])=>`(max-width: ${b}px) ${b*2}ee`).join(", ");return(0,ee.jsx)("picture",{children:(0,ee.jsx)(qe.default,{alt:h||"",className:d(n),fill:r,height:r?void 0:u,placeholder:"blur",blurDataURL:Xe,priority:A!=="lazy"&&s,quality:100,loading:A,sizes:N,src:x,width:r?void 0:m})})};var Ze=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var $e=()=>{if(Ze){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 et=e=>{let{onClick:t,resource:r,videoClassName:n}=e,s=(0,_e.useRef)(null);if((0,_e.useEffect)(()=>{let{current:o}=s;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,ee.jsx)("video",{autoPlay:!0,className:d(n),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:s,children:(0,ee.jsx)("source",{src:`${$e()}/media/${o}`})})}return null};var ne=e=>{var l;let{className:t,htmlElement:r="div",resource:n}=e,s=typeof n=="object"&&((l=n==null?void 0:n.mimeType)==null?void 0:l.includes("video"));return(0,ee.jsx)(r||_e.Fragment,{...r!==null?{className:t}:{},children:s?(0,ee.jsx)(et,{...e}):(0,ee.jsx)(We,{...e})})};var j=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:s,staticImage:o}=e;return(0,ee.jsx)("div",{className:d("",{container:r},t),children:(0,ee.jsx)(ne,{imgClassName:d("border border-border rounded-[0.8rem]",n),resource:s,src:o})})};var rt=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:s,staticImage:o}=e;return(0,ee.jsx)("div",{className:d("",{container:r},t),children:(0,ee.jsx)(ne,{imgClassName:d("border border-border rounded-[0.8rem]",n),resource:s,src:o})})};var ot=({type:e="solid",iconName:t="cloud",size:r="lg",className:n})=>{let s=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,l=n!=null?n:"",a=s+o+" fa-"+r+" "+l;return(0,ee.jsx)("i",{className:a})};function Wt(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function st({variant:e="light",className:t,icon:r,heading:n,subheading:s,content:o,statistic:l,buttonText:a,buttonHref:c}){let m={solid:"bg-[#A42368]",light:"bg-white",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden"};return console.log("content",typeof o),(0,ee.jsxs)("div",{className:d("rounded-3xl ee-8 md:ee-12",m[e],e==="light"?"text-gray-900":"text-white",t),children:[(0,ee.jsxs)("div",{className:"flex items-center gap-4 mb-6",children:[r&&(0,ee.jsx)("div",{className:d("rounded-full ee-0",e==="light"?"text-[#A42368]":"text-white"),children:Wt(r)?(0,ee.jsx)(ot,{type:r.type,iconName:r.iconName,size:"2x"}):r}),(0,ee.jsx)("h2",{className:d("font-semibold",e==="solid"||e==="light"?"text-2xl":"text-4xl"),children:n})]}),e==="solid"&&l&&(0,ee.jsx)("div",{className:"mb-6",children:(0,ee.jsx)("div",{className:"text-[8rem] font-bold leading-none",children:l})}),s&&(0,ee.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:s}),o&&typeof o=="object"&&(0,ee.jsx)("div",{className:d("space-y-6",e==="light"?"text-gray-600":"text-gray-300"),children:(0,ee.jsx)(B,{enableGutter:!1,content:o,enableProse:!1,className:d(e==="light"?"prose":"prose prose-headings:text-white prose-ee:text-gray-300")})}),o&&typeof o=="string"&&(0,ee.jsx)("div",{className:d("space-y-6",e==="light"?"text-gray-600":"text-gray-300"),children:o}),a&&(0,ee.jsx)("div",{className:"mt-8",children:(0,ee.jsx)(G,{size:"lg",className:"text-white text-lg rounded-xl",asChild:!0,children:(0,ee.jsxs)("a",{href:c,children:[a,(0,ee.jsx)("span",{className:"ml-2",children:"\u2193"})]})})}),e==="radial"&&(0,ee.jsx)("div",{className:"absolute bottom-0 right-0 ee-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})}var se=({title:e,description:t,features:r,id:n})=>(0,ee.jsxs)("section",{className:d("container ee-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,ee.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl",id:n||"",children:e}),t&&typeof t=="string"&&(0,ee.jsx)("ee",{className:"mb-5 text-xl tracking-tight md:text-xl",children:t}),t&&typeof t=="object"&&(0,ee.jsx)("ee",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,ee.jsx)(B,{content:t,enableGutter:!1})}),(0,ee.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((s,o)=>{var l,a,c,m,u;if(((l=s.settings)==null?void 0:l.contents)==="icon")return(0,ee.jsx)(Zt,{section:s,index:o},o);{let h=()=>{if(s.icon.type!=="none")return{type:s.icon.type,iconName:s.icon.icon}};return(0,ee.jsx)(st,{variant:((a=s.settings)==null?void 0:a.card)==="default"?"solid":((c=s.settings)==null?void 0:c.card)||"solid",icon:h()||void 0,heading:s.title||"",content:s.content||void 0,statistic:s.statistic||void 0,buttonText:(m=s.link)!=null&&m.url?"Find out more":void 0,buttonHref:((u=s.link)==null?void 0:u.url)||void 0},o)}})})]}),Zt=({section:e,index:t})=>{if(!e)return null;let r=(0,ee.jsxs)("div",{className:"flex flex-col gap-4",children:[e.icon&&(0,ee.jsx)("div",{className:"text-accent h-12 ee-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,ee.jsx)("i",{className:`${e.icon.type} fa-${e.icon.icon} fa-4x`})}),(0,ee.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:e.title}),e.content&&typeof e.content!="object"&&(0,ee.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:e.content}}),e.content&&typeof e.content=="object"&&(0,ee.jsx)("div",{className:"text-lg opacity-80",children:(0,ee.jsx)(B,{content:e.content,enableGutter:!1})})]},t);return e.link?(0,ee.jsx)("a",{href:e.link.url?e.link.url:"#",className:"no-underline group",children:r},t):r};var le=O(require("react"));var ve=O(require("next/link")),D=e=>{let{type:t,appearance:r="inline",children:n,className:s,label:o,newTab:l,reference:a,size:c,url:m}=e,u=t==="reference"&&typeof(a==null?void 0:a.value)=="object"&&a.value.slug?`${(a==null?void 0:a.relationTo)!=="pages"?`/${a==null?void 0:a.relationTo}`:""}/${a.value.slug}`:m;if(!u)return null;let h=r==="link"?"clear":c,x=l?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,ee.jsxs)(ve.default,{className:d(s),href:u||m||"",...x,children:[o&&o,n&&n]}):(0,ee.jsx)(G,{asChild:!0,className:s,size:h,variant:r,children:(0,ee.jsxs)(ve.default,{className:d(s),href:u||m||"",...x,children:[o&&o,n&&n]})})};function ae({nodes:e}){return(0,ee.jsx)(le.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,ee.jsx)(le.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,ee.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,ee.jsx)("em",{children:o},r)),t.format&4&&(o=(0,ee.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,ee.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,ee.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,ee.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,ee.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,ee.jsx)("table",{children:(0,ee.jsx)("tbody",{children:t.children.map((o,l)=>(0,ee.jsx)("tr",{children:o.children.map((a,c)=>(0,ee.jsx)("td",{children:ae({nodes:a.children})},c))},l))})},r);let n=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let l of o.children)"checked"in l&&(l!=null&&l.checked||(l.checked=!1));return ae({nodes:o.children})},s="children"in t?n(t):"";if(t.type==="block"){let o=t.fields,l=o==null?void 0:o.blockType;if(!o||!l)return null;switch(l){case"cta":return(0,ee.jsx)(ie,{...o},r);case"mediaBlock":return(0,ee.jsx)(j,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-ee-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,ee.jsx)(rt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-ee-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,ee.jsx)(Ue,{className:"col-start-2 mb-4",...o},r);case"code":return(0,ee.jsx)(Ye,{className:"col-start-2",...o},r);case"features":return(0,ee.jsx)(se,{...o},r);case"reusableContentBlock":return(0,ee.jsx)(Y,{...o,reusableContent:o.reusableContent},r);default:return null}}else switch(t.type){case"linebreak":return(0,ee.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,ee.jsx)("ee",{className:"col-start-2",children:s},r);case"heading":{let o=t==null?void 0:t.tag;return(0,ee.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,ee.jsx)(o,{className:"list col-start-2",children:s},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,ee.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,ee.jsx)("li",{value:t==null?void 0:t.value,children:s},r);case"quote":return(0,ee.jsx)("blockquote",{className:"col-start-2",children:s},r);case"link":{let o=t.fields;return(0,ee.jsx)(D,{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,ee.jsx)(D,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}default:return null}})})}var B=({className:e,content:t,enableGutter:r=!0,enableProse:n=!0})=>{var s;return t?(0,ee.jsx)("div",{className:d({"container ":r,"max-ee-none":!r,"mx-auto prose dark:prose-invert ":n},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&ae({nodes:(s=t==null?void 0:t.root)==null?void 0:s.children})}):null};var ie=({links:e,richText:t})=>(0,ee.jsx)("div",{className:"container",children:(0,ee.jsxs)("div",{className:"bg-card rounded border-border border ee-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,ee.jsx)("div",{className:"max-ee-[48rem] flex items-center",children:t&&(0,ee.jsx)(B,{className:"mb-0",content:t,enableGutter:!1})}),(0,ee.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},n)=>(0,ee.jsx)(D,{size:"lg",...r},n))})]})});var lt=e=>{let{columns:t}=e,r={full:"12",half:"6",oneThird:"4",twoThirds:"8"};return(0,ee.jsx)("div",{className:"container my-6",children:(0,ee.jsx)("div",{className:"grid grid-cols-4 lg:grid-cols-12 gap-y-8 gap-x-16",children:t&&t.length>0&&t.map((n,s)=>{let{enableLink:o,link:l,richText:a,size:c}=n;return(0,ee.jsxs)("div",{className:d(`col-span-4 lg:col-span-${r[c]}`,{"md:col-span-2":c!=="full"}),children:[a&&(0,ee.jsx)(B,{content:a,enableGutter:!1}),o&&(0,ee.jsx)(D,{...l})]},s)})})})};var it={content:lt,cta:ie,mediaBlock:j,imageBlock:j,features:se,reusableContentBlock:Y},dt=e=>{let{blocks:t}=e;return t&&Array.isArray(t)&&t.length>0?(0,ee.jsx)("section",{id:"render-blocks",children:t.map((n,s)=>{var a;let{blockType:o}=n,l=n==null?void 0:n.theme;if(o&&o in it){let c=it[o];if(c)return(0,ee.jsxs)("div",{className:"py-6 relative",children:[(0,ee.jsx)($t,{block:n,index:s}),(0,ee.jsx)("div",{className:d("container",((a=l==null?void 0:l.settings)==null?void 0:a.theme)==="dark"?"dark":""),children:(0,ee.jsx)(c,{...n})})]},s)}return null})}):null},$t=e=>{var r;if(console.log("props",e),!("theme"in e.block))return null;let t=(r=e.block)==null?void 0:r.theme;if(console.log("theme",t),t.settings.background==="image"){let n={imagePosition:t.settings.imagePosition||"left",overlay:t.settings.overlay!==void 0?t.settings.overlay:!0};return console.log("themeSettings",n),(0,ee.jsxs)("div",{className:d("absolute inset-0 ee-full h-full -ee-10",t.settings.theme==="dark"?"dark bg-background":""),children:[(0,ee.jsx)(ct.default,{src:t.settings.image.url||"/placeholder.svg",alt:t.settings.image.alt,fill:!0,className:"object-cover",priority:!0}),t.settings.overlay&&(0,ee.jsx)("div",{className:"absolute inset-0",style:{background:n.imagePosition==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]})}return(0,ee.jsx)("div",{className:d("absolute inset-0 -ee-10 ee-screen h-full",t.settings.theme==="dark"?"dark bg-background":"")})};var Y=e=>{let{customId:t,reusableContent:r}=e;return typeof r=="object"&&r!==null?(0,ee.jsx)(dt,{blocks:r.layout}):(0,ee.jsx)(ee.Fragment,{})};0&&(module.exports={ReusableContentBlock});
@@ -0,0 +1 @@
1
+ import{f as a}from"../../chunk-G6K3PK47.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-UK4IPFAO.mjs";import"../../chunk-HUN2X4VH.mjs";import"../../chunk-ICTOXY7D.mjs";import"../../chunk-YNDKGRL6.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-ZWKWU7U4.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-KDGEXDC5.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-NSBNDXRL.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as ReusableContentBlock};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- "use strict";var Lt=Object.create;var xe=Object.defineProperty;var Ft=Object.getOwnPropertyDescriptor;var zt=Object.getOwnPropertyNames;var Xt=Object.getPrototypeOf,Ht=Object.prototype.hasOwnProperty;var Gt=(e,t)=>{for(var r in t)xe(e,r,{get:t[r],enumerable:!0})},Ze=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of zt(t))!Ht.call(e,s)&&s!==r&&xe(e,s,{get:()=>t[s],enumerable:!(a=Ft(t,s))||a.enumerable});return e};var E=(e,t,r)=>(r=e!=null?Lt(Xt(e)):{},Ze(t||!e||!e.__esModule?xe(r,"default",{value:e,enumerable:!0}):r,e)),Ut=e=>Ze(xe({},"__esModule",{value:!0}),e);var zr={};Gt(zr,{BannerBlock:()=>Le,CallToActionBlock:()=>fe,CodeBlock:()=>He,ContentBlock:()=>Qe,CopyButton:()=>ze,FeaturesBlock:()=>be,HeadingImage:()=>Ir,ImageBlock:()=>Ve,InfoTile:()=>jt,Insight:()=>Ot,MOTD:()=>Qt,MediaBlock:()=>ie,OrgChart:()=>Kt,ProposalSummary:()=>Pr,RelatedPosts:()=>Fr,RenderBlocks:()=>Er,WhyUs:()=>Br});module.exports=Ut(zr);var tt=require("react/jsx-runtime"),et=({type:e="solid",iconName:t="cloud",size:r="lg",className:a})=>{let s=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,i=a!=null?a:"",n=s+o+" fa-"+r+" "+i;return(0,tt.jsx)("i",{className:n})};function Ot({icon:e,title:t,body:r,color:a="secondary"}){return(0,tt.jsx)(tt.Fragment,{children:(0,tt.jsxs)("div",{className:"flex py-0 min-tt-16",children:[(0,tt.jsx)("div",{className:"px-[2%] flex items-center",children:(0,tt.jsx)("div",{className:"w-12 tt-12",children:(0,tt.jsx)(et,{type:e.type,iconName:e.name})})}),(0,tt.jsx)("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[30%]",children:t}),r&&(0,tt.jsx)("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[50%]",children:r})]})})}var rt=E(require("next/image"));function jt(e){let{url:t,mainImage:r,excerpt:a,title:s}=e;return(0,tt.jsxs)("div",{className:"relative flex flex-col rounded-3xl bg-white tt-2 shadow-md shadow-black/5 ring-1 ring-black/5 hover:shadow-lg transition-shadow group",children:[r&&(0,tt.jsx)(rt.default,{alt:s||"",src:r,layout:"responsive",width:1170,height:780,className:"rounded-2xl object-cover transform group-hover:scale-95 transition-transform duration-400"}),(0,tt.jsxs)("div",{className:"flex flex-1 flex-col tt-4",children:[(0,tt.jsx)("div",{className:"mt-2 font-medium text-center group-hover:scale-110 transition-transform duration-400 ease-in-out text-foreground dark:text-background group-hover:text-accent",children:(0,tt.jsxs)("a",{href:t,children:[(0,tt.jsx)("span",{className:"absolute inset-0"}),s]})}),a&&(0,tt.jsx)("div",{className:"mt-2 flex-1 text-sm/6 text-gray-500",children:a})]})]},t)}var Vt=(e,t)=>`from-brand-${e} to-brand-${t}`;function Qt({...e}){let t=Vt(e.brandFrom||"one",e.brandTo||"two");return(0,tt.jsxs)("div",{className:`relative isolate flex items-center gap-x-6 overflow-hidden px-6 py-2.5 sm:px-3.5 sm:before:flex-1 bg-gradient-to-r ${t}`,children:[(0,tt.jsx)("tt",{className:"text-sm/6 text-primary-foreground",children:e.url?(0,tt.jsxs)("a",{href:e.url,children:[(0,tt.jsx)("strong",{className:"font-semibold",children:e.title}),e.message&&(0,tt.jsx)("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:(0,tt.jsx)("circle",{r:1,cx:1,cy:1})}),(0,tt.jsx)("span",{children:e.message&&e.message})]}):(0,tt.jsxs)(tt.Fragment,{children:[(0,tt.jsx)("strong",{className:"font-semibold",children:e.title}),e.message&&(0,tt.jsx)("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:(0,tt.jsx)("circle",{r:1,cx:1,cy:1})}),e.message&&e.message]})}),(0,tt.jsx)("div",{className:"flex flex-1 justify-end"})]})}var de=E(require("react")),M=require("lucide-react"),Jt={Architecture:(0,tt.jsx)(M.DraftingCompass,{className:"tt-5 w-5 text-blue-600"}),Engineering:(0,tt.jsx)(M.Code,{className:"tt-5 w-5 text-green-600"}),Development:(0,tt.jsx)(M.Code,{className:"tt-5 w-5 text-purple-600"}),Delivery:(0,tt.jsx)(M.GanttChart,{className:"tt-5 w-5 text-red-600"})},_t=({person:e,level:t,onToggle:r,isExpanded:a,isHighlighted:s})=>{let o=e.reports.length>0;return(0,tt.jsx)("div",{className:`ml-${t*4} mb-2`,children:(0,tt.jsxs)("div",{className:`flex items-center tt-3 rounded-lg shadow-sm border ${s?"bg-card border-primary":"bg-white border-gray-200"}`,children:[o&&(0,tt.jsx)("button",{onClick:r,className:"mr-2","aria-label":a?"Collapse":"Expand",children:a?(0,tt.jsx)(M.ChevronDown,{className:"tt-4 w-4"}):(0,tt.jsx)(M.ChevronRight,{className:"tt-4 w-4"})}),(0,tt.jsx)("div",{className:"w-10 tt-10 bg-gray-200 rounded-full flex items-center justify-center mr-3",children:(0,tt.jsx)(M.Users,{className:"tt-6 w-6 text-gray-500"})}),(0,tt.jsxs)("div",{children:[(0,tt.jsx)("h3",{className:"text-sm font-semibold text-gray-800",children:e.name}),(0,tt.jsxs)("div",{className:"flex items-center mt-1",children:[Jt[e.discipline],(0,tt.jsx)("span",{className:"ml-1 text-xs text-gray-600",children:e.discipline})]})]}),(0,tt.jsx)("span",{className:"ml-auto text-xs font-medium text-gray-500 bg-gray-100 px-2 py-1 rounded",children:e.grade})]})})},ot=({person:e,level:t,searchTerm:r})=>{let[a,s]=(0,de.useState)(t<1),o=()=>s(!a),i=f=>f.name.toLowerCase().includes(r.toLowerCase())||f.discipline.toLowerCase().includes(r.toLowerCase())||f.grade.toLowerCase().includes(r.toLowerCase()),n=f=>i(f)||f.reports.some(n),c=r===""||n(e),g=i(e);return de.default.useEffect(()=>{r!==""&&n(e)&&s(!0)},[r,e]),c?(0,tt.jsxs)("div",{children:[(0,tt.jsx)(_t,{person:e,level:t,onToggle:o,isExpanded:a,isHighlighted:g}),a&&e.reports.map((f,m)=>(0,tt.jsx)(ot,{person:f,level:t+1,searchTerm:r},m))]}):null};function Kt(){let[e,t]=(0,de.useState)("");return(0,tt.jsxs)("div",{className:"max-w-5xl mx-auto tt-6",children:[(0,tt.jsx)("h2",{className:"text-2xl font-bold mb-6 text-center text-gray-800",children:"Who's who"}),(0,tt.jsxs)("div",{className:"mb-4 relative",children:[(0,tt.jsx)("input",{type:"text",placeholder:"Search by name, discipline, or grade",value:e,onChange:a=>t(a.target.value),className:"w-full px-4 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500","aria-label":"Search the organization chart"}),(0,tt.jsx)(M.Search,{className:"absolute right-3 top-2.5 tt-5 w-5 text-gray-400"})]}),(0,tt.jsx)("div",{className:"space-tt-4",children:[{name:"Alice Johnson",discipline:"Architecture",grade:"Director",reports:[{name:"Bob Smith",discipline:"Engineering",grade:"Senior Manager",reports:[{name:"Charlie Brown",discipline:"Development",grade:"Manager",reports:[]},{name:"Diana Ross",discipline:"Engineering",grade:"Manager",reports:[]},{name:"Edward Norton",discipline:"Engineering",grade:"Manager",reports:[]}]},{name:"Fiona Apple",discipline:"Architecture",grade:"Senior Manager",reports:[{name:"George Clooney",discipline:"Architecture",grade:"Manager",reports:[]},{name:"Helen Mirren",discipline:"Architecture",grade:"Manager",reports:[]},{name:"Ian McKellen",discipline:"Architecture",grade:"Manager",reports:[]}]},{name:"Julia Roberts",discipline:"Development",grade:"Senior Manager",reports:[{name:"Kevin Spacey",discipline:"Development",grade:"Manager",reports:[]},{name:"Liam Neeson",discipline:"Development",grade:"Manager",reports:[]},{name:"Meryl Streep",discipline:"Development",grade:"Manager",reports:[]}]}]},{name:"Nicole Kidman",discipline:"Delivery",grade:"Director",reports:[{name:"Owen Wilson",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Penelope Cruz",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Quentin Tarantino",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Rachel McAdams",discipline:"Delivery",grade:"Manager",reports:[]}]},{name:"Samuel L. Jackson",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Tom Hanks",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Uma Thurman",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Viola Davis",discipline:"Delivery",grade:"Manager",reports:[]}]},{name:"Will Smith",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Xavier Dolan",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Yalitza Aparicio",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Zoe Saldana",discipline:"Delivery",grade:"Manager",reports:[]}]}]}].map((a,s)=>(0,tt.jsx)(ot,{person:a,level:0,searchTerm:e},s))})]})}var K=E(require("react"));var mt=require("clsx");var De="-",Wt=e=>{let t=qt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:i=>{let n=i.split(De);return n[0]===""&&n.length!==1&&n.shift(),nt(n,t)||Yt(i)},getConflictingClassGroupIds:(i,n)=>{let c=r[i]||[];return n&&a[i]?[...c,...a[i]]:c}}},nt=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),s=a?nt(e.slice(1),a):void 0;if(s)return s;if(t.validators.length===0)return;let o=e.join(De);return(i=t.validators.find(({validator:n})=>n(o)))==null?void 0:i.classGroupId},at=/^\[(.+)\]$/,Yt=e=>{if(at.test(e)){let t=at.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},qt=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return Zt(Object.entries(e.classGroups),r).forEach(([o,i])=>{Ee(i,a,o,t)}),a},Ee=(e,t,r,a)=>{e.forEach(s=>{if(typeof s=="string"){let o=s===""?t:st(t,s);o.classGroupId=r;return}if(typeof s=="function"){if($t(s)){Ee(s(a),t,r,a);return}t.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([o,i])=>{Ee(i,st(t,o),r,a)})})},st=(e,t)=>{let r=e;return t.split(De).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},$t=e=>e.isThemeGetter,Zt=(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(([i,n])=>[t+i,n])):o);return[r,s]}):e,er=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,a=new Map,s=(o,i)=>{r.set(o,i),t++,t>e&&(t=0,a=r,r=new Map)};return{get(o){let i=r.get(o);if(i!==void 0)return i;if((i=a.get(o))!==void 0)return s(o,i),i},set(o,i){r.has(o)?r.set(o,i):s(o,i)}}},it="!",tr=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,s=t[0],o=t.length,i=n=>{let c=[],g=0,f=0,m;for(let x=0;x<n.length;x++){let k=n[x];if(g===0){if(k===s&&(a||n.slice(x,x+o)===t)){c.push(n.slice(f,x)),f=x+o;continue}if(k==="/"){m=x;continue}}k==="["?g++:k==="]"&&g--}let b=c.length===0?n:n.substring(f),C=b.startsWith(it),A=C?b.substring(1):b,v=m&&m>f?m-f:void 0;return{modifiers:c,hasImportantModifier:C,baseClassName:A,maybePostfixModifierPosition:v}};return r?n=>r({className:n,parseClassName:i}):i},rr=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},or=e=>({cache:er(e.cacheSize),parseClassName:tr(e),...Wt(e)}),ar=/\s+/,sr=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:s}=t,o=[],i=e.trim().split(ar),n="";for(let c=i.length-1;c>=0;c-=1){let g=i[c],{modifiers:f,hasImportantModifier:m,baseClassName:b,maybePostfixModifierPosition:C}=r(g),A=!!C,v=a(A?b.substring(0,C):b);if(!v){if(!A){n=g+(n.length>0?" "+n:n);continue}if(v=a(b),!v){n=g+(n.length>0?" "+n:n);continue}A=!1}let x=rr(f).join(":"),k=m?x+it:x,T=k+v;if(o.includes(T))continue;o.push(T);let X=s(v,A);for(let H=0;H<X.length;++H){let Z=X[H];o.push(k+Z)}n=g+(n.length>0?" "+n:n)}return n};function nr(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=lt(t))&&(a&&(a+=" "),a+=r);return a}var lt=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=lt(e[a]))&&(r&&(r+=" "),r+=t);return r};function ir(e,...t){let r,a,s,o=i;function i(c){let g=t.reduce((f,m)=>m(f),e());return r=or(g),a=r.cache.get,s=r.cache.set,o=n,n(c)}function n(c){let g=a(c);if(g)return g;let f=sr(c,r);return s(c,f),f}return function(){return o(nr.apply(null,arguments))}}var w=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},ct=/^\[(?:([a-yt-]+):)?(.+)\]$/i,lr=/^\d+\/\d+$/,cr=new Set(["px","full","screen"]),dr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,pr=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|tt|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,mr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,ur=/^(inset_)?-?((\d+)?\.?(\d+)[a-yt]+|0)tt-?((\d+)?\.?(\d+)[a-yt]+|0)/,gr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,O=e=>ee(e)||cr.has(e)||lr.test(e),V=e=>te(e,"length",Nr),ee=e=>!!e&&!Number.isNaN(Number(e)),Ie=e=>te(e,"number",ee),pe=e=>!!e&&Number.isInteger(Number(e)),fr=e=>e.endsWith("%")&&ee(e.slice(0,-1)),d=e=>ct.test(e),Q=e=>dr.test(e),br=new Set(["length","size","percentage"]),hr=e=>te(e,br,dt),yr=e=>te(e,"position",dt),vr=new Set(["image","url"]),xr=e=>te(e,vr,kr),wr=e=>te(e,"",Cr),me=()=>!0,te=(e,t,r)=>{let a=ct.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},Nr=e=>pr.test(e)&&!mr.test(e),dt=()=>!1,Cr=e=>ur.test(e),kr=e=>gr.test(e);var Ar=()=>{let e=w("colors"),t=w("spacing"),r=w("blur"),a=w("brightness"),s=w("borderColor"),o=w("borderRadius"),i=w("borderSpacing"),n=w("borderWidth"),c=w("contrast"),g=w("grayscale"),f=w("hueRotate"),m=w("invert"),b=w("gap"),C=w("gradientColorStops"),A=w("gradientColorStopPositions"),v=w("inset"),x=w("margin"),k=w("opacity"),T=w("padding"),X=w("saturate"),H=w("scale"),Z=w("sepia"),he=w("skew"),_e=w("space"),Ke=w("translate"),Pe=()=>["auto","contain","none"],Be=()=>["auto","hidden","clip","visible","scroll"],Me=()=>["auto",d,t],N=()=>[d,t],We=()=>["",O,V],ye=()=>["auto",ee,d],Ye=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ve=()=>["solid","dashed","dotted","double","none"],qe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Se=()=>["start","end","center","between","around","evenly","stretch"],ce=()=>["","0",d],$e=()=>["auto","avoid","all","avoid-page","page","left","right","column"],G=()=>[ee,d];return{cacheSize:500,separator:":",theme:{colors:[me],spacing:[O,V],blur:["none","",Q,d],brightness:G(),borderColor:[e],borderRadius:["none","","full",Q,d],borderSpacing:N(),borderWidth:We(),contrast:G(),grayscale:ce(),hueRotate:G(),invert:ce(),gap:N(),gradientColorStops:[e],gradientColorStopPositions:[fr,V],inset:Me(),margin:Me(),opacity:G(),padding:N(),saturate:G(),scale:G(),sepia:ce(),skew:G(),space:N(),translate:N()},classGroups:{aspect:[{aspect:["auto","square","video",d]}],container:["container"],columns:[{columns:[Q]}],"break-after":[{"break-after":$e()}],"break-before":[{"break-before":$e()}],"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:[...Ye(),d]}],overflow:[{overflow:Be()}],"overflow-x":[{"overflow-x":Be()}],"overflow-tt":[{"overflow-tt":Be()}],overscroll:[{overscroll:Pe()}],"overscroll-x":[{"overscroll-x":Pe()}],"overscroll-tt":[{"overscroll-tt":Pe()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-x":[{"inset-x":[v]}],"inset-tt":[{"inset-tt":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],yt:[{yt:["auto",pe,d]}],basis:[{basis:Me()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",d]}],grow:[{grow:ce()}],shrink:[{shrink:ce()}],order:[{order:["first","last","none",pe,d]}],"grid-cols":[{"grid-cols":[me]}],"col-start-end":[{col:["auto",{span:["full",pe,d]},d]}],"col-start":[{"col-start":ye()}],"col-end":[{"col-end":ye()}],"grid-rows":[{"grid-rows":[me]}],"row-start-end":[{row:["auto",{span:[pe,d]},d]}],"row-start":[{"row-start":ye()}],"row-end":[{"row-end":ye()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",d]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",d]}],gap:[{gap:[b]}],"gap-x":[{"gap-x":[b]}],"gap-tt":[{"gap-tt":[b]}],"justify-content":[{justify:["normal",...Se()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Se(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Se(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],tt:[{tt:[T]}],px:[{px:[T]}],py:[{py:[T]}],ps:[{ps:[T]}],pe:[{pe:[T]}],pt:[{pt:[T]}],pr:[{pr:[T]}],pb:[{pb:[T]}],pl:[{pl:[T]}],m:[{m:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[_e]}],"space-x-reverse":["space-x-reverse"],"space-tt":[{"space-tt":[_e]}],"space-tt-reverse":["space-tt-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",d,t]}],"min-w":[{"min-w":[d,t,"min","max","fit"]}],"max-w":[{"max-w":[d,t,"none","full","min","max","fit","prose",{screen:[Q]},Q]}],tt:[{tt:[d,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-tt":[{"min-tt":[d,t,"min","max","fit","svh","lvh","dvh"]}],"max-tt":[{"max-tt":[d,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[d,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Q,V]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Ie]}],"font-family":[{font:[me]}],"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",d]}],"line-clamp":[{"line-clamp":["none",ee,Ie]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",O,d]}],"list-image":[{"list-image":["none",d]}],"list-style-type":[{list:["none","disc","decimal",d]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[k]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[k]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ve(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",O,V]}],"underline-offset":[{"underline-offset":["auto",O,d]}],"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:N()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",d]}],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",d]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[k]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Ye(),yr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","tt","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",hr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","tt","tl"]},xr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[A]}],"gradient-via-pos":[{via:[A]}],"gradient-to-pos":[{to:[A]}],"gradient-from":[{from:[C]}],"gradient-via":[{via:[C]}],"gradient-to":[{to:[C]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-tt":[{"rounded-tt":[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:[n]}],"border-w-x":[{"border-x":[n]}],"border-w-tt":[{"border-tt":[n]}],"border-w-s":[{"border-s":[n]}],"border-w-e":[{"border-e":[n]}],"border-w-t":[{"border-t":[n]}],"border-w-r":[{"border-r":[n]}],"border-w-b":[{"border-b":[n]}],"border-w-tt":[{"border-tt":[n]}],"border-opacity":[{"border-opacity":[k]}],"border-style":[{border:[...ve(),"hidden"]}],"divide-x":[{"divide-x":[n]}],"divide-x-reverse":["divide-x-reverse"],"divide-tt":[{"divide-tt":[n]}],"divide-tt-reverse":["divide-tt-reverse"],"divide-opacity":[{"divide-opacity":[k]}],"divide-style":[{divide:ve()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-tt":[{"border-tt":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-tt":[{"border-tt":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...ve()]}],"outline-offset":[{"outline-offset":[O,d]}],"outline-w":[{outline:[O,V]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:We()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[k]}],"ring-offset-w":[{"ring-offset":[O,V]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Q,wr]}],"shadow-color":[{shadow:[me]}],opacity:[{opacity:[k]}],"mix-blend":[{"mix-blend":[...qe(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":qe()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",Q,d]}],grayscale:[{grayscale:[g]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[m]}],saturate:[{saturate:[X]}],sepia:[{sepia:[Z]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[g]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[m]}],"backdrop-opacity":[{"backdrop-opacity":[k]}],"backdrop-saturate":[{"backdrop-saturate":[X]}],"backdrop-sepia":[{"backdrop-sepia":[Z]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-tt":[{"border-spacing-tt":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",d]}],duration:[{duration:G()}],ease:[{ease:["linear","in","out","in-out",d]}],delay:[{delay:G()}],animate:[{animate:["none","spin","ping","pulse","bounce",d]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[H]}],"scale-x":[{"scale-x":[H]}],"scale-tt":[{"scale-tt":[H]}],rotate:[{rotate:[pe,d]}],"translate-x":[{"translate-x":[Ke]}],"translate-tt":[{"translate-tt":[Ke]}],"skew-x":[{"skew-x":[he]}],"skew-tt":[{"skew-tt":[he]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",d]}],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",d]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","tt","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":N()}],"scroll-mx":[{"scroll-mx":N()}],"scroll-my":[{"scroll-my":N()}],"scroll-ms":[{"scroll-ms":N()}],"scroll-me":[{"scroll-me":N()}],"scroll-mt":[{"scroll-mt":N()}],"scroll-mr":[{"scroll-mr":N()}],"scroll-mb":[{"scroll-mb":N()}],"scroll-ml":[{"scroll-ml":N()}],"scroll-tt":[{"scroll-tt":N()}],"scroll-px":[{"scroll-px":N()}],"scroll-py":[{"scroll-py":N()}],"scroll-ps":[{"scroll-ps":N()}],"scroll-pe":[{"scroll-pe":N()}],"scroll-pt":[{"scroll-pt":N()}],"scroll-pr":[{"scroll-pr":N()}],"scroll-pb":[{"scroll-pb":N()}],"scroll-pl":[{"scroll-pl":N()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","tt","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-tt":[{"touch-pan":["tt","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",d]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[O,V,Ie]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-tt"],overscroll:["overscroll-x","overscroll-tt"],inset:["inset-x","inset-tt","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-tt":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-tt"],tt:["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","tt"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-tt","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-b":["rounded-br","rounded-bl"],"rounded-tt":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-tt"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-tt"],"border-w-x":["border-w-r","border-w-tt"],"border-w-tt":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-tt"],"border-color-x":["border-color-r","border-color-tt"],"border-color-tt":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-tt":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-tt","touch-pz"],"touch-x":["touch"],"touch-tt":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var pt=ir(Ar);function u(...e){return pt((0,mt.clsx)(e))}var re=K.forwardRef(({className:e,...t},r)=>(0,tt.jsx)("div",{ref:r,className:u("rounded-xl border bg-card text-card-foreground shadow",e),...t}));re.displayName="Card";var oe=K.forwardRef(({className:e,...t},r)=>(0,tt.jsx)("div",{ref:r,className:u("flex flex-col space-tt-1.5 tt-6",e),...t}));oe.displayName="CardHeader";var ae=K.forwardRef(({className:e,...t},r)=>(0,tt.jsx)("div",{ref:r,className:u("font-semibold leading-none tracking-tight",e),...t}));ae.displayName="CardTitle";var Tr=K.forwardRef(({className:e,...t},r)=>(0,tt.jsx)("div",{ref:r,className:u("text-sm text-muted-foreground",e),...t}));Tr.displayName="CardDescription";var se=K.forwardRef(({className:e,...t},r)=>(0,tt.jsx)("div",{ref:r,className:u("tt-6 pt-0",e),...t}));se.displayName="CardContent";var Rr=K.forwardRef(({className:e,...t},r)=>(0,tt.jsx)("div",{ref:r,className:u("flex items-center tt-6 pt-0",e),...t}));Rr.displayName="CardFooter";function Pr({teamMembers:e={leadership:[{role:"CTO oversight"},{role:"Senior Delivery Lead",isFTE:!0}],core:[{role:"Lead Cloud Architect",isFTE:!0},{role:"Senior Business Analyst",isFTE:!0}],sme:["Security Architecture","Engineering","Data Architecture"]},outputs:t=[{title:"Discovery Report",description:"A detailed report summarising the findings from the initial assessment, including insights from stakeholder interviews and document reviews."},{title:"Cloud and Data Estate Assessment Report",description:"A comprehensive analysis of the current cloud and data infrastructure, highlighting strengths, weaknesses, and opportunities for improvement."},{title:"Gap Analysis Report",description:"Identification of gaps between current capabilities and the requirements for adopting GenAI, along with a detailed analysis of these gaps."},{title:"Recommendations Report",description:"A set of actionable recommendations for enhancing the cloud infrastructure, data management practices, and operating model."},{title:"Implementation Roadmap",description:"A phased roadmap outlining the steps to implement the recommended changes, including timelines, milestones, and prioritisation of initiatives."},{title:"Risk Management Plan",description:"A detailed plan outlining potential risks and mitigation strategies to ensure a smooth transition."}],benefits:r=["Strategic Alignment: Ensures that the adoption of GenAI aligns with the overall business strategy and objectives.","Enhanced Efficiency: Optimises cloud and data operations, leading to improved performance and cost savings.","Risk Mitigation: Identifies potential risks early and provides strategies to mitigate them, ensuring a smooth transition.","Scalability: Prepares the organisation for future growth and scalability by enhancing the underlying technology infrastructure.","Competitive Advantage: Positions the organisation to leverage Generative AI effectively, providing a competitive edge in the market."],fee:a="\xA3150,000 for delivery of listed outputs"}){return(0,tt.jsxs)("div",{className:"grid gap-6 lg:grid-cols-3",children:[(0,tt.jsxs)("div",{className:"lg:col-span-1 space-tt-6 flex flex-col",children:[(0,tt.jsxs)(re,{className:"flex-grow",children:[(0,tt.jsx)(oe,{className:"bg-primary text-primary-foreground",children:(0,tt.jsxs)(ae,{className:"flex items-center gap-2",children:[(0,tt.jsx)(M.Users,{className:"tt-5 w-5"}),"Team"]})}),(0,tt.jsxs)(se,{className:"tt-6",children:[(0,tt.jsx)("tt",{className:"mb-6 text-sm text-muted-foreground",children:"A small team of highly-skilled consultants with significant Cloud, Data and AI experience will execute this phase:"}),(0,tt.jsxs)("div",{className:"space-tt-6",children:[(0,tt.jsx)("div",{className:"space-tt-2",children:e.leadership.map((s,o)=>(0,tt.jsxs)("div",{className:"flex items-center justify-between",children:[(0,tt.jsxs)("div",{className:"flex items-center gap-2",children:[(0,tt.jsx)(M.User,{className:"tt-4 w-4 text-muted-foreground"}),(0,tt.jsx)("span",{children:s.role})]}),s.isFTE&&(0,tt.jsx)("span",{className:"text-xs text-muted-foreground",children:"(FTE)"})]},o))}),(0,tt.jsx)("div",{className:"space-tt-2",children:e.core.map((s,o)=>(0,tt.jsxs)("div",{className:"flex items-center justify-between",children:[(0,tt.jsxs)("div",{className:"flex items-center gap-2",children:[(0,tt.jsx)(M.User,{className:"tt-4 w-4 text-muted-foreground"}),(0,tt.jsx)("span",{children:s.role}),s.count&&(0,tt.jsxs)("span",{children:["(",s.count,"x)"]})]}),s.isFTE&&(0,tt.jsx)("span",{className:"text-xs text-muted-foreground",children:"(FTE)"})]},o))}),(0,tt.jsxs)("div",{children:[(0,tt.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,tt.jsx)(M.Users2,{className:"tt-4 w-4 text-muted-foreground"}),(0,tt.jsx)("span",{children:"SME input:"})]}),(0,tt.jsx)("div",{className:"ml-6 text-sm text-muted-foreground",children:e.sme.join(", ")})]})]})]})]}),(0,tt.jsxs)(re,{children:[(0,tt.jsx)(oe,{className:"bg-primary text-primary-foreground",children:(0,tt.jsxs)(ae,{className:"flex items-center gap-2",children:[(0,tt.jsx)(M.PoundSterling,{className:"tt-5 w-5"}),"Fee"]})}),(0,tt.jsx)(se,{className:"tt-6",children:(0,tt.jsx)("tt",{className:"text-lg font-semibold",children:a})})]})]}),(0,tt.jsxs)(re,{className:"lg:col-span-1 flex flex-col",children:[(0,tt.jsx)(oe,{className:"bg-primary text-primary-foreground",children:(0,tt.jsxs)(ae,{className:"flex items-center gap-2",children:[(0,tt.jsx)(M.FileText,{className:"tt-5 w-5"}),"Outputs"]})}),(0,tt.jsxs)(se,{className:"tt-6 flex-grow overflow-auto",children:[(0,tt.jsx)("ol",{className:"list-decimal list-inside space-tt-4",children:t.map((s,o)=>(0,tt.jsxs)("li",{className:"text-sm",children:[(0,tt.jsxs)("span",{className:"font-medium",children:[s.title,":"]})," ",(0,tt.jsx)("span",{className:"text-muted-foreground",children:s.description})]},o))}),(0,tt.jsx)("tt",{className:"mt-6 text-sm italic text-muted-foreground",children:"Delivered within 8 weeks from start date of engagement."})]})]}),(0,tt.jsxs)(re,{className:"lg:col-span-1 flex flex-col",children:[(0,tt.jsx)(oe,{className:"bg-primary text-primary-foreground",children:(0,tt.jsxs)(ae,{className:"flex items-center gap-2",children:[(0,tt.jsx)(M.Lightbulb,{className:"tt-5 w-5"}),"Benefits"]})}),(0,tt.jsx)(se,{className:"tt-6 flex-grow overflow-auto",children:(0,tt.jsx)("ul",{className:"space-tt-4",children:r.map((s,o)=>(0,tt.jsxs)("li",{className:"flex gap-2 text-sm",children:[(0,tt.jsx)("span",{className:"text-primary",children:"\u2713"}),(0,tt.jsx)("span",{children:s})]},o))})})]})]})}function Br(){return(0,tt.jsx)("div",{className:"w-full bg-primary text-white tt-8 rounded-lg border border-dashed border-white/30",children:(0,tt.jsxs)("div",{className:"grid md:grid-cols-4 gap-8 relative",children:[(0,tt.jsxs)("div",{className:"space-tt-4 bg-primary tt-3 rounded-lg",children:[(0,tt.jsxs)("div",{className:"flex items-center gap-2 relative yt-10",children:[(0,tt.jsx)("div",{className:"w-10 tt-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,tt.jsx)("span",{className:"text-[#0B3B4E]",children:"1"})}),(0,tt.jsx)(M.BarChart3,{className:"w-8 tt-8"})]}),(0,tt.jsx)("h2",{className:"text-xl font-semibold",children:"Agile Delivery and Leadership in Complex Environments"}),(0,tt.jsx)("tt",{className:"text-secondary text-sm",children:"We excel in delivering technology solutions in complex environments with evolving customer needs, regulatory constraints, and resource limitations."}),(0,tt.jsxs)("ul",{className:"text-sm",children:[(0,tt.jsx)("li",{children:"Strategy definition"}),(0,tt.jsx)("li",{children:"Programme leadership"}),(0,tt.jsx)("li",{children:"Detailed planning"}),(0,tt.jsx)("li",{children:"\u2022 Financial control"}),(0,tt.jsx)("li",{children:"\u2022 Rigorous governance"})]})]}),(0,tt.jsxs)("div",{className:"space-tt-4",children:[(0,tt.jsxs)("div",{className:"flex items-center gap-2 relative yt-10",children:[(0,tt.jsx)("div",{className:"w-10 tt-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,tt.jsx)("span",{className:"text-[#0B3B4E]",children:"2"})}),(0,tt.jsx)(M.CogIcon,{className:"w-8 tt-8"})]}),(0,tt.jsx)("h2",{className:"text-xl font-semibold",children:"Significant Technical Expertise in Cloud, AI, & Data"}),(0,tt.jsx)("tt",{className:"text-sky-200 text-sm",children:"Our architects and engineers possess extensive expertise in designing, building, and operating modern, leading-edge technologies and enterprise-class solutions."}),(0,tt.jsx)("tt",{className:"text-sm",children:"We deploy highly experienced, multidisciplinary teams skilled in product delivery, architecture, software development, DevOps, and security."})]}),(0,tt.jsxs)("div",{className:"space-tt-4",children:[(0,tt.jsxs)("div",{className:"flex items-center gap-2 relative yt-10",children:[(0,tt.jsx)("div",{className:"w-10 tt-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,tt.jsx)("span",{className:"text-[#0B3B4E]",children:"3"})}),(0,tt.jsx)(M.Building2,{className:"w-8 tt-8"})]}),(0,tt.jsx)("h2",{className:"text-xl font-semibold",children:"Deep Public Sector, FS, Regulatory & Security Expertise"}),(0,tt.jsx)("tt",{className:"text-sky-200 text-sm",children:"We understand how to navigate public sector and financial services regulation and how to deliver compliant and robustly secure cutting-edge solutions in this context."}),(0,tt.jsx)("tt",{className:"text-sm",children:"We have successfully completed projects for numerous public sector and Financial Services engagements, including XXX, XXXXXX XXXXXX, XXXXX XXXXXXXXXXXXXXX, XXXXXXXXXXXXXX and many other institutions."})]}),(0,tt.jsxs)("div",{className:"space-tt-4",children:[(0,tt.jsxs)("div",{className:"flex items-center gap-2 relative yt-10",children:[(0,tt.jsx)("div",{className:"w-10 tt-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,tt.jsx)("span",{className:"text-[#0B3B4E]",children:"4"})}),(0,tt.jsx)(M.BadgeCheck,{className:"w-8 tt-8"})]}),(0,tt.jsx)("h2",{className:"text-xl font-semibold",children:"Extensive track record of delivery within XXXX"}),(0,tt.jsx)("tt",{className:"text-sky-200 text-sm",children:"We have collaborated closely with the XXXX since 2020 and understand its technology landscape and ambitions."}),(0,tt.jsx)("tt",{className:"text-sm",children:"As an XXXX strategic partner, tt have led numerous transformation programmes, providing expertise in architectural design, engineering standards and technical leadership, and optimisations."})]})]})})}var Le=({className:e,content:t,style:r})=>(0,tt.jsx)("div",{className:u("mx-auto my-8 w-full",e),children:(0,tt.jsx)("div",{className:u("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,tt.jsx)(L,{content:t,enableGutter:!1,enableProse:!1})})});var ut=require("@radix-ui/react-slot"),gt=require("class-variance-authority"),ft=E(require("react")),Mr=(0,gt.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:"tt-10 px-4 py-2",icon:"tt-10 w-10",lg:"tt-11 rounded px-8",sm:"tt-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"}}}),ue=ft.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...s},o)=>(0,tt.jsx)(e?ut.Slot:"button",{className:u(Mr({className:t,size:r,variant:a})),ref:o,...s}));ue.displayName="Button";var Fe=E(require("next/link")),Y=e=>{let{type:t,appearance:r="inline",children:a,className:s,label:o,newTab:i,reference:n,size:c,url:g}=e,f=t==="reference"&&typeof(n==null?void 0:n.value)=="object"&&n.value.slug?`${(n==null?void 0:n.relationTo)!=="pages"?`/${n==null?void 0:n.relationTo}`:""}/${n.value.slug}`:g;if(!f)return null;let m=r==="link"?"clear":c,b=i?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,tt.jsxs)(Fe.default,{className:u(s),href:f||g||"",...b,children:[o&&o,a&&a]}):(0,tt.jsx)(ue,{asChild:!0,className:s,size:m,variant:r,children:(0,tt.jsxs)(Fe.default,{className:u(s),href:f||g||"",...b,children:[o&&o,a&&a]})})};var fe=({links:e,richText:t})=>(0,tt.jsx)("div",{className:"container",children:(0,tt.jsxs)("div",{className:"bg-card rounded border-border border tt-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,tt.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,tt.jsx)(L,{className:"mb-0",content:t,enableGutter:!1})}),(0,tt.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},a)=>(0,tt.jsx)(Y,{size:"lg",...r},a))})]})});var Ne=require("prism-react-renderer");var yt=require("react");function ze({code:e}){let[t,r]=(0,yt.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,tt.jsx)("div",{className:"flex justify-end align-middle",children:(0,tt.jsxs)(ue,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,tt.jsx)("tt",{children:t}),(0,tt.jsx)("div",{className:"w-6 tt-6 dark:invert",children:(0,tt.jsx)(M.ClipboardCopy,{})})]})})}var vt=({code:e,language:t=""})=>e?(0,tt.jsx)(Ne.Highlight,{code:e,language:t,theme:Ne.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:s})=>(0,tt.jsxs)("pre",{className:"bg-black tt-4 border text-xs border-border rounded overflow-x-auto",children:[s.map((o,i)=>(0,tt.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,tt.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,tt.jsx)("span",{className:"table-cell pl-4",children:o.map((n,c)=>(0,tt.jsx)("span",{...a({token:n})},c))})]},i)),(0,tt.jsx)(ze,{code:e})]})}):null;var He=({className:e,code:t,language:r})=>(0,tt.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,tt.jsx)(vt,{code:t,language:r})});var wt=E(require("next/image")),Sr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},xt="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=",Nt=e=>{let{alt:t,fill:r,imgClassName:a,priority:s,resource:o,size:i,src:n,loading:c}=e,g,f,m=t,b=n||"";if(!b&&o&&typeof o=="object"){let{alt:v,filename:x,height:k,url:T,width:X}=o;g=X,f=k,m=v||"",b=T||xt}let C=c||"lazy",A=i||Object.entries(Sr).map(([,v])=>`(max-width: ${v}px) ${v*2}w`).join(", ");return(0,tt.jsx)("picture",{children:(0,tt.jsx)(wt.default,{alt:m||"",className:u(a),fill:r,height:r?void 0:f,placeholder:"blur",blurDataURL:xt,priority:C!=="lazy"&&s,quality:100,loading:C,sizes:A,src:b,width:r?void 0:g})})};var Ct=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var kt=()=>{if(Ct){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 At=e=>{let{onClick:t,resource:r,videoClassName:a}=e,s=(0,yt.useRef)(null);if((0,yt.useEffect)(()=>{let{current:o}=s;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,tt.jsx)("video",{autoPlay:!0,className:u(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:s,children:(0,tt.jsx)("source",{src:`${kt()}/media/${o}`})})}return null};var ne=e=>{var i;let{className:t,htmlElement:r="div",resource:a}=e,s=typeof a=="object"&&((i=a==null?void 0:a.mimeType)==null?void 0:i.includes("video"));return(0,tt.jsx)(r||yt.Fragment,{...r!==null?{className:t}:{},children:s?(0,tt.jsx)(At,{...e}):(0,tt.jsx)(Nt,{...e})})};var ie=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:s,staticImage:o}=e;return(0,tt.jsx)("div",{className:u("",{container:r},t),children:(0,tt.jsx)(ne,{imgClassName:u("border border-border rounded-[0.8rem]",a),resource:s,src:o})})};var Ve=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:s,staticImage:o}=e;return(0,tt.jsx)("div",{className:u("",{container:r},t),children:(0,tt.jsx)(ne,{imgClassName:u("border border-border rounded-[0.8rem]",a),resource:s,src:o})})};var be=({title:e,description:t,features:r,id:a})=>(0,tt.jsxs)("section",{className:u("container w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,tt.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl",id:a||"",children:e}),t&&typeof t=="string"&&(0,tt.jsx)("tt",{className:"mb-5 text-xl tracking-tight md:text-xl",children:t}),t&&typeof t=="object"&&(0,tt.jsx)("tt",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,tt.jsx)(L,{content:t,enableGutter:!1})}),(0,tt.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((s,o)=>{let i=(0,tt.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,tt.jsx)("div",{className:"text-accent tt-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,tt.jsx)("i",{className:`${s.icon.type} fa-${s.icon.icon} fa-4x`})}),(0,tt.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:s.title}),s.content&&typeof s.content!="object"&&(0,tt.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:s.content}}),s.content&&typeof s.content=="object"&&(0,tt.jsx)("div",{className:"text-lg opacity-80",children:(0,tt.jsx)(L,{content:s.content,enableGutter:!1})})]},o);return s.link?(0,tt.jsx)("a",{href:s.link.url?s.link.url:"#",className:"no-underline group",children:i},o):i})})]});var Te=E(require("react"));function Ae({nodes:e}){return(0,tt.jsx)(Te.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,tt.jsx)(Te.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,tt.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,tt.jsx)("em",{children:o},r)),t.format&4&&(o=(0,tt.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,tt.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,tt.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,tt.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,tt.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,tt.jsx)("table",{children:(0,tt.jsx)("tbody",{children:t.children.map((o,i)=>(0,tt.jsx)("tr",{children:o.children.map((n,c)=>(0,tt.jsx)("td",{children:Ae({nodes:n.children})},c))},i))})},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 i of o.children)"checked"in i&&(i!=null&&i.checked||(i.checked=!1));return Ae({nodes:o.children})},s="children"in t?a(t):"";if(t.type==="block"){let o=t.fields,i=o==null?void 0:o.blockType;if(!o||!i)return null;switch(i){case"cta":return(0,tt.jsx)(fe,{...o},r);case"mediaBlock":return(0,tt.jsx)(ie,{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,tt.jsx)(Ve,{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,tt.jsx)(Le,{className:"col-start-2 mb-4",...o},r);case"code":return(0,tt.jsx)(He,{className:"col-start-2",...o},r);case"features":return(0,tt.jsx)(be,{...o},r);default:return null}}else switch(t.type){case"linebreak":return(0,tt.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,tt.jsx)("tt",{className:"col-start-2",children:s},r);case"heading":{let o=t==null?void 0:t.tag;return(0,tt.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,tt.jsx)(o,{className:"list col-start-2",children:s},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,tt.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:s},r):(0,tt.jsx)("li",{value:t==null?void 0:t.value,children:s},r);case"quote":return(0,tt.jsx)("blockquote",{className:"col-start-2",children:s},r);case"link":{let o=t.fields;return(0,tt.jsx)(Y,{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,tt.jsx)(Y,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}default:return null}})})}var L=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>{var s;return t?(0,tt.jsx)("div",{className:u({"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&&Ae({nodes:(s=t==null?void 0:t.root)==null?void 0:s.children})}):null};var Qe=e=>{let{columns:t}=e,r={full:"12",half:"6",oneThird:"4",twoThirds:"8"};return(0,$.jsx)("div",{className:"container my-6",children:(0,$.jsx)("div",{className:"grid grid-cols-4 lg:grid-cols-12 gap-tt-8 gap-x-16",children:t&&t.length>0&&t.map((a,s)=>{let{enableLink:o,link:i,richText:n,size:c}=a;return(0,$.jsxs)("div",{className:u(`col-span-4 lg:col-span-${r[c]}`,{"md:col-span-2":c!=="full"}),children:[n&&(0,$.jsx)(L,{content:n,enableGutter:!1}),o&&(0,$.jsx)(Y,{...i})]},s)})})})};var Re=E(require("next/image"));function Ir({image:e,subtitle:t="Case study",title:r,companyLogo:a,customerLogo:s}){return(0,tt.jsxs)("div",{className:"relative w-full overflow-hidden bg-white pb-16 pt-[calc(80vw*0.5)]",children:[(0,tt.jsx)("div",{className:"absolute left-0 top-0 tt-[calc(100%+80vw*0.5)] w-full overflow-hidden",children:(0,tt.jsx)("div",{className:"absolute left-[calc(50%-40vw*0.5)] top-[calc(40vw*0.5*-0.29)] tt-[80vw] w-[80vw] origin-top-left -rotate-45 overflow-hidden rounded-[24vw]",children:(0,tt.jsx)(Re.default,{src:e,alt:"Header background",className:"tt-full w-full rotate-45 scale-[1.42] object-cover object-center",width:1e3,height:1e3,priority:!0})})}),(0,tt.jsxs)("div",{className:"absolute left-4 top-4 flex flex-col items-start gap-4 md:left-8 md:top-8",children:[a&&(0,tt.jsx)("div",{className:"tt-16 w-32 md:tt-24 md:w-48",children:(0,tt.jsx)(Re.default,{src:a,alt:"Company logo",className:"tt-full w-full object-contain",width:192,height:96})}),s&&(0,tt.jsx)("div",{className:"tt-10 w-20 md:tt-12 md:w-24",children:(0,tt.jsx)(Re.default,{src:s,alt:"Customer logo",className:"tt-full w-full object-contain",width:96,height:48})})]}),(0,tt.jsxs)("div",{className:"container relative mx-auto px-4",children:[(0,tt.jsx)("tt",{className:"mb-4 text-lg font-medium text-sky-400",children:t}),(0,tt.jsx)("h1",{className:"max-w-4xl text-[2.75rem] font-bold leading-[1.15] tracking-tight text-[#051527] md:text-6xl",children:r})]})]})}var Bt=E(require("next/image"));var Pt={content:Qe,cta:fe,mediaBlock:ie,imageBlock:ie,features:be},Er=e=>{let{blocks:t}=e;return t&&Array.isArray(t)&&t.length>0?(0,tt.jsx)("section",{id:"render-blocks",children:t.map((a,s)=>{var n;let{blockType:o}=a,i=a==null?void 0:a.theme;if(o&&o in Pt){let c=Pt[o];if(c)return(0,tt.jsxs)("div",{className:"py-6 relative",children:[(0,tt.jsx)(Dr,{block:a,index:s}),(0,tt.jsx)("div",{className:u("container",((n=i==null?void 0:i.settings)==null?void 0:n.theme)==="dark"?"dark":""),children:(0,tt.jsx)(c,{...a})})]},s)}return null})}):null},Dr=e=>{var r;if(console.log("props",e),!("theme"in e.block))return null;let t=(r=e.block)==null?void 0:r.theme;if(console.log("theme",t),t.settings.background==="image"){let a={imagePosition:t.settings.imagePosition||"left",overlay:t.settings.overlay!==void 0?t.settings.overlay:!0};return console.log("themeSettings",a),(0,tt.jsxs)("div",{className:u("absolute inset-0 w-full tt-full -yt-10",t.settings.theme==="dark"?"dark bg-background":""),children:[(0,tt.jsx)(Bt.default,{src:t.settings.image.url||"/placeholder.svg",alt:t.settings.image.alt,fill:!0,className:"object-cover",priority:!0}),t.settings.overlay&&(0,tt.jsx)("div",{className:"absolute inset-0",style:{background:a.imagePosition==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]})}return(0,tt.jsx)("div",{className:u("absolute inset-0 -yt-10 w-screen tt-full",t.settings.theme==="dark"?"dark bg-background":"")})};var Dt=E(require("clsx"));var Mt=require("next/navigation");function Lr({external:e=!1,newTab:t=!1,scroll:r=!0}){let a=(0,Mt.useRouter)(),s=(0,yt.useRef)(null),o=(0,yt.useRef)(null),i=(0,yt.useRef)(0),n=(0,yt.useRef)(!1),c=(0,yt.useRef)(0),g=(0,yt.useCallback)(m=>{if(m.target){let b=m.target,C=+new Date,A=b==null?void 0:b.closest("a");c.current=m.button,A?n.current=!0:(n.current=!1,i.current=C)}},[a,s,o,i]),f=(0,yt.useCallback)(m=>{var b,C;if((b=o.current)!=null&&b.href){let v=+new Date-i.current;if((C=o.current)!=null&&C.href&&v<=250&&!n.current&&c.current===0&&!m.ctrlKey)if(e){let x=t?"_blank":"_self";window.open(o.current.href,x)}else a.push(o.current.href,{scroll:r})}},[a,s,o,i]);return(0,yt.useEffect)(()=>{let m=s.current;return m&&(m.addEventListener("mousedown",g),m.addEventListener("mouseup",f)),()=>{m&&m&&(m==null||m.removeEventListener("mousedown",g),m==null||m.removeEventListener("mouseup",f))}},[s,o,a]),{card:{ref:s},link:{ref:o}}}var St=Lr;var It=E(require("next/link"));var Et=e=>{let{card:t,link:r}=St({}),{className:a,doc:s,relationTo:o,showCategories:i,title:n}=e,{slug:c,categories:g,meta:f,title:m}=s||{},{description:b,image:C}=f||{},A=g&&Array.isArray(g)&&g.length>0,v=n||m,x=b==null?void 0:b.replace(/\s/g," "),k=`/${o}/${c}`;return(0,tt.jsxs)("article",{className:u("border border-border rounded-lg overflow-hidden bg-card hover:cursor-pointer",a),ref:t.ref,children:[(0,tt.jsxs)("div",{className:"relative w-full ",children:[!C&&(0,tt.jsx)("div",{className:"",children:"No image"}),C&&typeof C!="string"&&(0,tt.jsx)(ne,{resource:C,size:"33vw"})]}),(0,tt.jsxs)("div",{className:"tt-4",children:[i&&A&&(0,tt.jsx)("div",{className:"uppercase text-sm mb-4",children:i&&A&&(0,tt.jsx)("div",{children:g==null?void 0:g.map((T,X)=>{if(typeof T=="object"){let{title:H}=T,Z=H||"Untitled category",he=X===g.length-1;return(0,tt.jsxs)(yt.Fragment,{children:[Z,!he&&(0,tt.jsx)(yt.Fragment,{children:", \xA0"})]},X)}return null})})}),v&&(0,tt.jsx)("div",{className:"prose",children:(0,tt.jsx)("h3",{children:(0,tt.jsx)(It.default,{className:"not-prose",href:k,ref:r.ref,children:v})})}),b&&(0,tt.jsx)("div",{className:"mt-2",children:b&&(0,tt.jsx)("tt",{children:x})})]})]})};var Fr=e=>{let{className:t,docs:r,introContent:a}=e;return(0,tt.jsxs)("div",{className:(0,Dt.default)("container",t),children:[a&&(0,tt.jsx)(L,{content:a,enableGutter:!1}),(0,tt.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 md:gap-8 items-stretch",children:r==null?void 0:r.map((s,o)=>typeof s=="string"?null:(0,tt.jsx)(Et,{doc:s,relationTo:"posts",showCategories:!0},o))})]})};0&&(module.exports={BannerBlock,CallToActionBlock,CodeBlock,ContentBlock,CopyButton,FeaturesBlock,HeadingImage,ImageBlock,InfoTile,Insight,MOTD,MediaBlock,OrgChart,ProposalSummary,RelatedPosts,RenderBlocks,WhyUs});
4
+ "use strict";var Gt=Object.create;var Ne=Object.defineProperty;var Ut=Object.getOwnPropertyDescriptor;var Ot=Object.getOwnPropertyNames;var jt=Object.getPrototypeOf,Vt=Object.prototype.hasOwnProperty;var Qt=(e,t)=>{for(var r in t)Ne(e,r,{get:t[r],enumerable:!0})},at=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of Ot(t))!Vt.call(e,s)&&s!==r&&Ne(e,s,{get:()=>t[s],enumerable:!(a=Ut(t,s))||a.enumerable});return e};var F=(e,t,r)=>(r=e!=null?Gt(jt(e)):{},at(t||!e||!e.__esModule?Ne(r,"default",{value:e,enumerable:!0}):r,e)),Jt=e=>at(Ne({},"__esModule",{value:!0}),e);var jr={};Qt(jr,{BannerBlock:()=>He,CallToActionBlock:()=>be,CodeBlock:()=>je,ContentBlock:()=>Ye,CopyButton:()=>Ue,FeaturesBlock:()=>he,HeadingImage:()=>Gr,ImageBlock:()=>Ke,InfoTile:()=>Kt,Insight:()=>_t,MOTD:()=>Yt,MediaBlock:()=>ce,OrgChart:()=>Zt,ProposalSummary:()=>Er,RelatedPosts:()=>Or,RenderBlocks:()=>We,WhyUs:()=>Dr});module.exports=Jt(jr);var st=require("react/jsx-runtime"),Ce=({type:e="solid",iconName:t="cloud",size:r="lg",className:a})=>{let s=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,i=a!=null?a:"",n=s+o+" fa-"+r+" "+i;return(0,st.jsx)("i",{className:n})};function _t({icon:e,title:t,body:r,color:a="secondary"}){return(0,st.jsx)(st.Fragment,{children:(0,st.jsxs)("div",{className:"flex py-0 min-st-16",children:[(0,st.jsx)("div",{className:"px-[2%] flex items-center",children:(0,st.jsx)("div",{className:"w-12 st-12",children:(0,st.jsx)(Ce,{type:e.type,iconName:e.name})})}),(0,st.jsx)("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[30%]",children:t}),r&&(0,st.jsx)("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[50%]",children:r})]})})}var nt=F(require("next/image"));function Kt(e){let{url:t,mainImage:r,excerpt:a,title:s}=e;return(0,st.jsxs)("div",{className:"relative flex flex-col rounded-3xl bg-white p-2 shadow-md shadow-black/5 ring-1 ring-black/5 hover:shadow-lg transition-shadow group",children:[r&&(0,st.jsx)(nt.default,{alt:s||"",src:r,layout:"responsive",width:1170,height:780,className:"rounded-2xl object-cover transform group-hover:scale-95 transition-transform duration-400"}),(0,st.jsxs)("div",{className:"flex flex-1 flex-col p-4",children:[(0,st.jsx)("div",{className:"mt-2 font-medium text-center group-hover:scale-110 transition-transform duration-400 ease-in-out text-foreground dark:text-background group-hover:text-accent",children:(0,st.jsxs)("a",{href:t,children:[(0,st.jsx)("span",{className:"absolute inset-0"}),s]})}),a&&(0,st.jsx)("div",{className:"mt-2 flex-1 text-sm/6 text-gray-500",children:a})]})]},t)}var Wt=(e,t)=>`from-brand-${e} to-brand-${t}`;function Yt({...e}){let t=Wt(e.brandFrom||"one",e.brandTo||"two");return(0,st.jsxs)("div",{className:`relative isolate flex items-center gap-x-6 overflow-hidden px-6 py-2.5 sm:px-3.5 sm:before:flex-1 bg-gradient-to-r ${t}`,children:[(0,st.jsx)("p",{className:"text-sm/6 text-primary-foreground",children:e.url?(0,st.jsxs)("a",{href:e.url,children:[(0,st.jsx)("strong",{className:"font-semibold",children:e.title}),e.message&&(0,st.jsx)("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:(0,st.jsx)("circle",{r:1,cx:1,cy:1})}),(0,st.jsx)("span",{children:e.message&&e.message})]}):(0,st.jsxs)(st.Fragment,{children:[(0,st.jsx)("strong",{className:"font-semibold",children:e.title}),e.message&&(0,st.jsx)("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:(0,st.jsx)("circle",{r:1,cx:1,cy:1})}),e.message&&e.message]})}),(0,st.jsx)("div",{className:"flex flex-1 justify-end"})]})}var me=F(require("react")),S=require("lucide-react"),qt={Architecture:(0,st.jsx)(S.DraftingCompass,{className:"st-5 w-5 text-blue-600"}),Engineering:(0,st.jsx)(S.Code,{className:"st-5 w-5 text-green-600"}),Development:(0,st.jsx)(S.Code,{className:"st-5 w-5 text-purple-600"}),Delivery:(0,st.jsx)(S.GanttChart,{className:"st-5 w-5 text-red-600"})},$t=({person:e,level:t,onToggle:r,isExpanded:a,isHighlighted:s})=>{let o=e.reports.length>0;return(0,st.jsx)("div",{className:`ml-${t*4} mb-2`,children:(0,st.jsxs)("div",{className:`flex items-center p-3 rounded-lg shadow-sm border ${s?"bg-card border-primary":"bg-white border-gray-200"}`,children:[o&&(0,st.jsx)("button",{onClick:r,className:"mr-2","aria-label":a?"Collapse":"Expand",children:a?(0,st.jsx)(S.ChevronDown,{className:"st-4 w-4"}):(0,st.jsx)(S.ChevronRight,{className:"st-4 w-4"})}),(0,st.jsx)("div",{className:"w-10 st-10 bg-gray-200 rounded-full flex items-center justify-center mr-3",children:(0,st.jsx)(S.Users,{className:"st-6 w-6 text-gray-500"})}),(0,st.jsxs)("div",{children:[(0,st.jsx)("h3",{className:"text-sm font-semibold text-gray-800",children:e.name}),(0,st.jsxs)("div",{className:"flex items-center mt-1",children:[qt[e.discipline],(0,st.jsx)("span",{className:"ml-1 text-xs text-gray-600",children:e.discipline})]})]}),(0,st.jsx)("span",{className:"ml-auto text-xs font-medium text-gray-500 bg-gray-100 px-2 py-1 rounded",children:e.grade})]})})},it=({person:e,level:t,searchTerm:r})=>{let[a,s]=(0,me.useState)(t<1),o=()=>s(!a),i=f=>f.name.toLowerCase().includes(r.toLowerCase())||f.discipline.toLowerCase().includes(r.toLowerCase())||f.grade.toLowerCase().includes(r.toLowerCase()),n=f=>i(f)||f.reports.some(n),c=r===""||n(e),p=i(e);return me.default.useEffect(()=>{r!==""&&n(e)&&s(!0)},[r,e]),c?(0,st.jsxs)("div",{children:[(0,st.jsx)($t,{person:e,level:t,onToggle:o,isExpanded:a,isHighlighted:p}),a&&e.reports.map((f,g)=>(0,st.jsx)(it,{person:f,level:t+1,searchTerm:r},g))]}):null};function Zt(){let[e,t]=(0,me.useState)("");return(0,st.jsxs)("div",{className:"max-w-5xl mx-auto p-6",children:[(0,st.jsx)("h2",{className:"text-2xl font-bold mb-6 text-center text-gray-800",children:"Who's who"}),(0,st.jsxs)("div",{className:"mb-4 relative",children:[(0,st.jsx)("input",{type:"text",placeholder:"Search by name, discipline, or grade",value:e,onChange:a=>t(a.target.value),className:"w-full px-4 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500","aria-label":"Search the organization chart"}),(0,st.jsx)(S.Search,{className:"absolute right-3 top-2.5 st-5 w-5 text-gray-400"})]}),(0,st.jsx)("div",{className:"space-st-4",children:[{name:"Alice Johnson",discipline:"Architecture",grade:"Director",reports:[{name:"Bob Smith",discipline:"Engineering",grade:"Senior Manager",reports:[{name:"Charlie Brown",discipline:"Development",grade:"Manager",reports:[]},{name:"Diana Ross",discipline:"Engineering",grade:"Manager",reports:[]},{name:"Edward Norton",discipline:"Engineering",grade:"Manager",reports:[]}]},{name:"Fiona Apple",discipline:"Architecture",grade:"Senior Manager",reports:[{name:"George Clooney",discipline:"Architecture",grade:"Manager",reports:[]},{name:"Helen Mirren",discipline:"Architecture",grade:"Manager",reports:[]},{name:"Ian McKellen",discipline:"Architecture",grade:"Manager",reports:[]}]},{name:"Julia Roberts",discipline:"Development",grade:"Senior Manager",reports:[{name:"Kevin Spacey",discipline:"Development",grade:"Manager",reports:[]},{name:"Liam Neeson",discipline:"Development",grade:"Manager",reports:[]},{name:"Meryl Streep",discipline:"Development",grade:"Manager",reports:[]}]}]},{name:"Nicole Kidman",discipline:"Delivery",grade:"Director",reports:[{name:"Owen Wilson",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Penelope Cruz",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Quentin Tarantino",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Rachel McAdams",discipline:"Delivery",grade:"Manager",reports:[]}]},{name:"Samuel st. Jackson",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Tom Hanks",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Uma Thurman",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Viola Davis",discipline:"Delivery",grade:"Manager",reports:[]}]},{name:"Will Smith",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Xavier Dolan",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Yalitza Aparicio",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Zoe Saldana",discipline:"Delivery",grade:"Manager",reports:[]}]}]}].map((a,s)=>(0,st.jsx)(it,{person:a,level:0,searchTerm:e},s))})]})}var W=F(require("react"));var bt=require("clsx");var Xe="-",er=e=>{let t=rr(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:i=>{let n=i.split(Xe);return n[0]===""&&n.length!==1&&n.shift(),dt(n,t)||tr(i)},getConflictingClassGroupIds:(i,n)=>{let c=r[i]||[];return n&&a[i]?[...c,...a[i]]:c}}},dt=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),s=a?dt(e.slice(1),a):void 0;if(s)return s;if(t.validators.length===0)return;let o=e.join(Xe);return(i=t.validators.find(({validator:n})=>n(o)))==null?void 0:i.classGroupId},lt=/^\[(.+)\]$/,tr=e=>{if(lt.test(e)){let t=lt.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},rr=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return ar(Object.entries(e.classGroups),r).forEach(([o,i])=>{ze(i,a,o,t)}),a},ze=(e,t,r,a)=>{e.forEach(s=>{if(typeof s=="string"){let o=s===""?t:ct(t,s);o.classGroupId=r;return}if(typeof s=="function"){if(or(s)){ze(s(a),t,r,a);return}t.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([o,i])=>{ze(i,ct(t,o),r,a)})})},ct=(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},or=e=>e.isThemeGetter,ar=(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(([i,n])=>[t+i,n])):o);return[r,s]}):e,sr=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,a=new Map,s=(o,i)=>{r.set(o,i),t++,t>e&&(t=0,a=r,r=new Map)};return{get(o){let i=r.get(o);if(i!==void 0)return i;if((i=a.get(o))!==void 0)return s(o,i),i},set(o,i){r.has(o)?r.set(o,i):s(o,i)}}},pt="!",nr=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,s=t[0],o=t.length,i=n=>{let c=[],p=0,f=0,g;for(let x=0;x<n.length;x++){let k=n[x];if(p===0){if(k===s&&(a||n.slice(x,x+o)===t)){c.push(n.slice(f,x)),f=x+o;continue}if(k==="/"){g=x;continue}}k==="["?p++:k==="]"&&p--}let b=c.length===0?n:n.substring(f),C=b.startsWith(pt),A=C?b.substring(1):b,v=g&&g>f?g-f:void 0;return{modifiers:c,hasImportantModifier:C,baseClassName:A,maybePostfixModifierPosition:v}};return r?n=>r({className:n,parseClassName:i}):i},ir=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},lr=e=>({cache:sr(e.cacheSize),parseClassName:nr(e),...er(e)}),cr=/\s+/,dr=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:s}=t,o=[],i=e.trim().split(cr),n="";for(let c=i.length-1;c>=0;c-=1){let p=i[c],{modifiers:f,hasImportantModifier:g,baseClassName:b,maybePostfixModifierPosition:C}=r(p),A=!!C,v=a(A?b.substring(0,C):b);if(!v){if(!A){n=p+(n.length>0?" "+n:n);continue}if(v=a(b),!v){n=p+(n.length>0?" "+n:n);continue}A=!1}let x=ir(f).join(":"),k=g?x+pt:x,P=k+v;if(o.includes(P))continue;o.push(P);let H=s(v,A);for(let G=0;G<H.length;++G){let te=H[G];o.push(k+te)}n=p+(n.length>0?" "+n:n)}return n};function pr(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=mt(t))&&(a&&(a+=" "),a+=r);return a}var mt=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=mt(e[a]))&&(r&&(r+=" "),r+=t);return r};function mr(e,...t){let r,a,s,o=i;function i(c){let p=t.reduce((f,g)=>g(f),e());return r=lr(p),a=r.cache.get,s=r.cache.set,o=n,n(c)}function n(c){let p=a(c);if(p)return p;let f=dr(c,r);return s(c,f),f}return function(){return o(pr.apply(null,arguments))}}var w=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},ut=/^\[(?:([a-st-]+):)?(.+)\]$/i,ur=/^\d+\/\d+$/,gr=new Set(["px","full","screen"]),fr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,br=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|st|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,hr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,yr=/^(inset_)?-?((\d+)?\.?(\d+)[a-st]+|0)S-?((\d+)?\.?(\d+)[a-st]+|0)/,vr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,j=e=>re(e)||gr.has(e)||ur.test(e),Q=e=>oe(e,"length",Tr),re=e=>!!e&&!Number.isNaN(Number(e)),Le=e=>oe(e,"number",re),ue=e=>!!e&&Number.isInteger(Number(e)),xr=e=>e.endsWith("%")&&re(e.slice(0,-1)),m=e=>ut.test(e),J=e=>fr.test(e),wr=new Set(["length","size","percentage"]),Nr=e=>oe(e,wr,gt),Cr=e=>oe(e,"position",gt),kr=new Set(["image","url"]),Ar=e=>oe(e,kr,Br),Rr=e=>oe(e,"",Pr),ge=()=>!0,oe=(e,t,r)=>{let a=ut.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},Tr=e=>br.test(e)&&!hr.test(e),gt=()=>!1,Pr=e=>yr.test(e),Br=e=>vr.test(e);var Mr=()=>{let e=w("colors"),t=w("spacing"),r=w("blur"),a=w("brightness"),s=w("borderColor"),o=w("borderRadius"),i=w("borderSpacing"),n=w("borderWidth"),c=w("contrast"),p=w("grayscale"),f=w("hueRotate"),g=w("invert"),b=w("gap"),C=w("gradientColorStops"),A=w("gradientColorStopPositions"),v=w("inset"),x=w("margin"),k=w("opacity"),P=w("padding"),H=w("saturate"),G=w("scale"),te=w("sepia"),ve=w("skew"),$e=w("space"),Ze=w("translate"),Ie=()=>["auto","contain","none"],Ee=()=>["auto","hidden","clip","visible","scroll"],De=()=>["auto",m,t],N=()=>[m,t],et=()=>["",j,Q],xe=()=>["auto",re,m],tt=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],we=()=>["solid","dashed","dotted","double","none"],rt=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Fe=()=>["start","end","center","between","around","evenly","stretch"],pe=()=>["","0",m],ot=()=>["auto","avoid","all","avoid-page","page","left","right","column"],U=()=>[re,m];return{cacheSize:500,separator:":",theme:{colors:[ge],spacing:[j,Q],blur:["none","",J,m],brightness:U(),borderColor:[e],borderRadius:["none","","full",J,m],borderSpacing:N(),borderWidth:et(),contrast:U(),grayscale:pe(),hueRotate:U(),invert:pe(),gap:N(),gradientColorStops:[e],gradientColorStopPositions:[xr,Q],inset:De(),margin:De(),opacity:U(),padding:N(),saturate:U(),scale:U(),sepia:pe(),skew:U(),space:N(),translate:N()},classGroups:{aspect:[{aspect:["auto","square","video",m]}],container:["container"],columns:[{columns:[J]}],"break-after":[{"break-after":ot()}],"break-before":[{"break-before":ot()}],"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:[...tt(),m]}],overflow:[{overflow:Ee()}],"overflow-x":[{"overflow-x":Ee()}],"overflow-st":[{"overflow-st":Ee()}],overscroll:[{overscroll:Ie()}],"overscroll-x":[{"overscroll-x":Ie()}],"overscroll-st":[{"overscroll-st":Ie()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-x":[{"inset-x":[v]}],"inset-st":[{"inset-st":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],st:[{st:["auto",ue,m]}],basis:[{basis:De()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",m]}],grow:[{grow:pe()}],shrink:[{shrink:pe()}],order:[{order:["first","last","none",ue,m]}],"grid-cols":[{"grid-cols":[ge]}],"col-start-end":[{col:["auto",{span:["full",ue,m]},m]}],"col-start":[{"col-start":xe()}],"col-end":[{"col-end":xe()}],"grid-rows":[{"grid-rows":[ge]}],"row-start-end":[{row:["auto",{span:[ue,m]},m]}],"row-start":[{"row-start":xe()}],"row-end":[{"row-end":xe()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",m]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",m]}],gap:[{gap:[b]}],"gap-x":[{"gap-x":[b]}],"gap-st":[{"gap-st":[b]}],"justify-content":[{justify:["normal",...Fe()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Fe(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Fe(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[P]}],px:[{px:[P]}],py:[{py:[P]}],ps:[{ps:[P]}],pe:[{pe:[P]}],pt:[{pt:[P]}],pr:[{pr:[P]}],pb:[{pb:[P]}],pl:[{pl:[P]}],m:[{m:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[$e]}],"space-x-reverse":["space-x-reverse"],"space-st":[{"space-st":[$e]}],"space-st-reverse":["space-st-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",m,t]}],"min-w":[{"min-w":[m,t,"min","max","fit"]}],"max-w":[{"max-w":[m,t,"none","full","min","max","fit","prose",{screen:[J]},J]}],st:[{st:[m,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-st":[{"min-st":[m,t,"min","max","fit","svh","lvh","dvh"]}],"max-st":[{"max-st":[m,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[m,t,"auto","min","max","fit"]}],"font-size":[{text:["base",J,Q]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Le]}],"font-family":[{font:[ge]}],"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",m]}],"line-clamp":[{"line-clamp":["none",re,Le]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",j,m]}],"list-image":[{"list-image":["none",m]}],"list-style-type":[{list:["none","disc","decimal",m]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[k]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[k]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...we(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",j,Q]}],"underline-offset":[{"underline-offset":["auto",j,m]}],"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:N()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",m]}],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",m]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[k]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...tt(),Cr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","st","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Nr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","st","tl"]},Ar]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[A]}],"gradient-via-pos":[{via:[A]}],"gradient-to-pos":[{to:[A]}],"gradient-from":[{from:[C]}],"gradient-via":[{via:[C]}],"gradient-to":[{to:[C]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-st":[{"rounded-st":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-st":[{"rounded-st":[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:[n]}],"border-w-x":[{"border-x":[n]}],"border-w-st":[{"border-st":[n]}],"border-w-s":[{"border-s":[n]}],"border-w-e":[{"border-e":[n]}],"border-w-t":[{"border-t":[n]}],"border-w-r":[{"border-r":[n]}],"border-w-b":[{"border-b":[n]}],"border-w-st":[{"border-st":[n]}],"border-opacity":[{"border-opacity":[k]}],"border-style":[{border:[...we(),"hidden"]}],"divide-x":[{"divide-x":[n]}],"divide-x-reverse":["divide-x-reverse"],"divide-st":[{"divide-st":[n]}],"divide-st-reverse":["divide-st-reverse"],"divide-opacity":[{"divide-opacity":[k]}],"divide-style":[{divide:we()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[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-b":[{"border-b":[s]}],"border-color-st":[{"border-st":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...we()]}],"outline-offset":[{"outline-offset":[j,m]}],"outline-w":[{outline:[j,Q]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:et()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[k]}],"ring-offset-w":[{"ring-offset":[j,Q]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",J,Rr]}],"shadow-color":[{shadow:[ge]}],opacity:[{opacity:[k]}],"mix-blend":[{"mix-blend":[...rt(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":rt()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",J,m]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[g]}],saturate:[{saturate:[H]}],sepia:[{sepia:[te]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[g]}],"backdrop-opacity":[{"backdrop-opacity":[k]}],"backdrop-saturate":[{"backdrop-saturate":[H]}],"backdrop-sepia":[{"backdrop-sepia":[te]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-st":[{"border-spacing-st":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",m]}],duration:[{duration:U()}],ease:[{ease:["linear","in","out","in-out",m]}],delay:[{delay:U()}],animate:[{animate:["none","spin","ping","pulse","bounce",m]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[G]}],"scale-x":[{"scale-x":[G]}],"scale-st":[{"scale-st":[G]}],rotate:[{rotate:[ue,m]}],"translate-x":[{"translate-x":[Ze]}],"translate-st":[{"translate-st":[Ze]}],"skew-x":[{"skew-x":[ve]}],"skew-st":[{"skew-st":[ve]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",m]}],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",m]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","st","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":N()}],"scroll-mx":[{"scroll-mx":N()}],"scroll-my":[{"scroll-my":N()}],"scroll-ms":[{"scroll-ms":N()}],"scroll-me":[{"scroll-me":N()}],"scroll-mt":[{"scroll-mt":N()}],"scroll-mr":[{"scroll-mr":N()}],"scroll-mb":[{"scroll-mb":N()}],"scroll-ml":[{"scroll-ml":N()}],"scroll-p":[{"scroll-p":N()}],"scroll-px":[{"scroll-px":N()}],"scroll-py":[{"scroll-py":N()}],"scroll-ps":[{"scroll-ps":N()}],"scroll-pe":[{"scroll-pe":N()}],"scroll-pt":[{"scroll-pt":N()}],"scroll-pr":[{"scroll-pr":N()}],"scroll-pb":[{"scroll-pb":N()}],"scroll-pl":[{"scroll-pl":N()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","st","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","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",m]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[j,Q,Le]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-st"],overscroll:["overscroll-x","overscroll-st"],inset:["inset-x","inset-st","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-st":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","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-b","rounded-st","rounded-ss","rounded-se","rounded-st","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-st"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-st":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-st"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-st"],"border-w-x":["border-w-r","border-w-st"],"border-w-st":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-st"],"border-color-x":["border-color-r","border-color-st"],"border-color-st":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-st","touch-pz"],"touch-x":["touch"],"touch-st":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var ft=mr(Mr);function d(...e){return ft((0,bt.clsx)(e))}var ae=W.forwardRef(({className:e,...t},r)=>(0,st.jsx)("div",{ref:r,className:d("rounded-xl border bg-card text-card-foreground shadow",e),...t}));ae.displayName="Card";var se=W.forwardRef(({className:e,...t},r)=>(0,st.jsx)("div",{ref:r,className:d("flex flex-col space-st-1.5 p-6",e),...t}));se.displayName="CardHeader";var ne=W.forwardRef(({className:e,...t},r)=>(0,st.jsx)("div",{ref:r,className:d("font-semibold leading-none tracking-tight",e),...t}));ne.displayName="CardTitle";var Sr=W.forwardRef(({className:e,...t},r)=>(0,st.jsx)("div",{ref:r,className:d("text-sm text-muted-foreground",e),...t}));Sr.displayName="CardDescription";var ie=W.forwardRef(({className:e,...t},r)=>(0,st.jsx)("div",{ref:r,className:d("p-6 pt-0",e),...t}));ie.displayName="CardContent";var Ir=W.forwardRef(({className:e,...t},r)=>(0,st.jsx)("div",{ref:r,className:d("flex items-center p-6 pt-0",e),...t}));Ir.displayName="CardFooter";function Er({teamMembers:e={leadership:[{role:"CTO oversight"},{role:"Senior Delivery Lead",isFTE:!0}],core:[{role:"Lead Cloud Architect",isFTE:!0},{role:"Senior Business Analyst",isFTE:!0}],sme:["Security Architecture","Engineering","Data Architecture"]},outputs:t=[{title:"Discovery Report",description:"A detailed report summarising the findings from the initial assessment, including insights from stakeholder interviews and document reviews."},{title:"Cloud and Data Estate Assessment Report",description:"A comprehensive analysis of the current cloud and data infrastructure, highlighting strengths, weaknesses, and opportunities for improvement."},{title:"Gap Analysis Report",description:"Identification of gaps between current capabilities and the requirements for adopting GenAI, along with a detailed analysis of these gaps."},{title:"Recommendations Report",description:"A set of actionable recommendations for enhancing the cloud infrastructure, data management practices, and operating model."},{title:"Implementation Roadmap",description:"A phased roadmap outlining the steps to implement the recommended changes, including timelines, milestones, and prioritisation of initiatives."},{title:"Risk Management Plan",description:"A detailed plan outlining potential risks and mitigation strategies to ensure a smooth transition."}],benefits:r=["Strategic Alignment: Ensures that the adoption of GenAI aligns with the overall business strategy and objectives.","Enhanced Efficiency: Optimises cloud and data operations, leading to improved performance and cost savings.","Risk Mitigation: Identifies potential risks early and provides strategies to mitigate them, ensuring a smooth transition.","Scalability: Prepares the organisation for future growth and scalability by enhancing the underlying technology infrastructure.","Competitive Advantage: Positions the organisation to leverage Generative AI effectively, providing a competitive edge in the market."],fee:a="\xA3150,000 for delivery of listed outputs"}){return(0,st.jsxs)("div",{className:"grid gap-6 lg:grid-cols-3",children:[(0,st.jsxs)("div",{className:"lg:col-span-1 space-st-6 flex flex-col",children:[(0,st.jsxs)(ae,{className:"flex-grow",children:[(0,st.jsx)(se,{className:"bg-primary text-primary-foreground",children:(0,st.jsxs)(ne,{className:"flex items-center gap-2",children:[(0,st.jsx)(S.Users,{className:"st-5 w-5"}),"Team"]})}),(0,st.jsxs)(ie,{className:"p-6",children:[(0,st.jsx)("p",{className:"mb-6 text-sm text-muted-foreground",children:"A small team of highly-skilled consultants with significant Cloud, Data and AI experience will execute this phase:"}),(0,st.jsxs)("div",{className:"space-st-6",children:[(0,st.jsx)("div",{className:"space-st-2",children:e.leadership.map((s,o)=>(0,st.jsxs)("div",{className:"flex items-center justify-between",children:[(0,st.jsxs)("div",{className:"flex items-center gap-2",children:[(0,st.jsx)(S.User,{className:"st-4 w-4 text-muted-foreground"}),(0,st.jsx)("span",{children:s.role})]}),s.isFTE&&(0,st.jsx)("span",{className:"text-xs text-muted-foreground",children:"(FTE)"})]},o))}),(0,st.jsx)("div",{className:"space-st-2",children:e.core.map((s,o)=>(0,st.jsxs)("div",{className:"flex items-center justify-between",children:[(0,st.jsxs)("div",{className:"flex items-center gap-2",children:[(0,st.jsx)(S.User,{className:"st-4 w-4 text-muted-foreground"}),(0,st.jsx)("span",{children:s.role}),s.count&&(0,st.jsxs)("span",{children:["(",s.count,"x)"]})]}),s.isFTE&&(0,st.jsx)("span",{className:"text-xs text-muted-foreground",children:"(FTE)"})]},o))}),(0,st.jsxs)("div",{children:[(0,st.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,st.jsx)(S.Users2,{className:"st-4 w-4 text-muted-foreground"}),(0,st.jsx)("span",{children:"SME input:"})]}),(0,st.jsx)("div",{className:"ml-6 text-sm text-muted-foreground",children:e.sme.join(", ")})]})]})]})]}),(0,st.jsxs)(ae,{children:[(0,st.jsx)(se,{className:"bg-primary text-primary-foreground",children:(0,st.jsxs)(ne,{className:"flex items-center gap-2",children:[(0,st.jsx)(S.PoundSterling,{className:"st-5 w-5"}),"Fee"]})}),(0,st.jsx)(ie,{className:"p-6",children:(0,st.jsx)("p",{className:"text-lg font-semibold",children:a})})]})]}),(0,st.jsxs)(ae,{className:"lg:col-span-1 flex flex-col",children:[(0,st.jsx)(se,{className:"bg-primary text-primary-foreground",children:(0,st.jsxs)(ne,{className:"flex items-center gap-2",children:[(0,st.jsx)(S.FileText,{className:"st-5 w-5"}),"Outputs"]})}),(0,st.jsxs)(ie,{className:"p-6 flex-grow overflow-auto",children:[(0,st.jsx)("ol",{className:"list-decimal list-inside space-st-4",children:t.map((s,o)=>(0,st.jsxs)("li",{className:"text-sm",children:[(0,st.jsxs)("span",{className:"font-medium",children:[s.title,":"]})," ",(0,st.jsx)("span",{className:"text-muted-foreground",children:s.description})]},o))}),(0,st.jsx)("p",{className:"mt-6 text-sm italic text-muted-foreground",children:"Delivered within 8 weeks from start date of engagement."})]})]}),(0,st.jsxs)(ae,{className:"lg:col-span-1 flex flex-col",children:[(0,st.jsx)(se,{className:"bg-primary text-primary-foreground",children:(0,st.jsxs)(ne,{className:"flex items-center gap-2",children:[(0,st.jsx)(S.Lightbulb,{className:"st-5 w-5"}),"Benefits"]})}),(0,st.jsx)(ie,{className:"p-6 flex-grow overflow-auto",children:(0,st.jsx)("ul",{className:"space-st-4",children:r.map((s,o)=>(0,st.jsxs)("li",{className:"flex gap-2 text-sm",children:[(0,st.jsx)("span",{className:"text-primary",children:"\u2713"}),(0,st.jsx)("span",{children:s})]},o))})})]})]})}function Dr(){return(0,st.jsx)("div",{className:"w-full bg-primary text-white p-8 rounded-lg border border-dashed border-white/30",children:(0,st.jsxs)("div",{className:"grid md:grid-cols-4 gap-8 relative",children:[(0,st.jsxs)("div",{className:"space-st-4 bg-primary p-3 rounded-lg",children:[(0,st.jsxs)("div",{className:"flex items-center gap-2 relative st-10",children:[(0,st.jsx)("div",{className:"w-10 st-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,st.jsx)("span",{className:"text-[#0B3B4E]",children:"1"})}),(0,st.jsx)(S.BarChart3,{className:"w-8 st-8"})]}),(0,st.jsx)("h2",{className:"text-xl font-semibold",children:"Agile Delivery and Leadership in Complex Environments"}),(0,st.jsx)("p",{className:"text-secondary text-sm",children:"We excel in delivering technology solutions in complex environments with evolving customer needs, regulatory constraints, and resource limitations."}),(0,st.jsxs)("ul",{className:"text-sm",children:[(0,st.jsx)("li",{children:"Strategy definition"}),(0,st.jsx)("li",{children:"Programme leadership"}),(0,st.jsx)("li",{children:"Detailed planning"}),(0,st.jsx)("li",{children:"\u2022 Financial control"}),(0,st.jsx)("li",{children:"\u2022 Rigorous governance"})]})]}),(0,st.jsxs)("div",{className:"space-st-4",children:[(0,st.jsxs)("div",{className:"flex items-center gap-2 relative st-10",children:[(0,st.jsx)("div",{className:"w-10 st-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,st.jsx)("span",{className:"text-[#0B3B4E]",children:"2"})}),(0,st.jsx)(S.CogIcon,{className:"w-8 st-8"})]}),(0,st.jsx)("h2",{className:"text-xl font-semibold",children:"Significant Technical Expertise in Cloud, AI, & Data"}),(0,st.jsx)("p",{className:"text-sky-200 text-sm",children:"Our architects and engineers possess extensive expertise in designing, building, and operating modern, leading-edge technologies and enterprise-class solutions."}),(0,st.jsx)("p",{className:"text-sm",children:"We deploy highly experienced, multidisciplinary teams skilled in product delivery, architecture, software development, DevOps, and security."})]}),(0,st.jsxs)("div",{className:"space-st-4",children:[(0,st.jsxs)("div",{className:"flex items-center gap-2 relative st-10",children:[(0,st.jsx)("div",{className:"w-10 st-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,st.jsx)("span",{className:"text-[#0B3B4E]",children:"3"})}),(0,st.jsx)(S.Building2,{className:"w-8 st-8"})]}),(0,st.jsx)("h2",{className:"text-xl font-semibold",children:"Deep Public Sector, FS, Regulatory & Security Expertise"}),(0,st.jsx)("p",{className:"text-sky-200 text-sm",children:"We understand how to navigate public sector and financial services regulation and how to deliver compliant and robustly secure cutting-edge solutions in this context."}),(0,st.jsx)("p",{className:"text-sm",children:"We have successfully completed projects for numerous public sector and Financial Services engagements, including XXX, XXXXXX XXXXXX, XXXXX XXXXXXXXXXXXXXX, XXXXXXXXXXXXXX and many other institutions."})]}),(0,st.jsxs)("div",{className:"space-st-4",children:[(0,st.jsxs)("div",{className:"flex items-center gap-2 relative st-10",children:[(0,st.jsx)("div",{className:"w-10 st-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,st.jsx)("span",{className:"text-[#0B3B4E]",children:"4"})}),(0,st.jsx)(S.BadgeCheck,{className:"w-8 st-8"})]}),(0,st.jsx)("h2",{className:"text-xl font-semibold",children:"Extensive track record of delivery within XXXX"}),(0,st.jsx)("p",{className:"text-sky-200 text-sm",children:"We have collaborated closely with the XXXX since 2020 and understand its technology landscape and ambitions."}),(0,st.jsx)("p",{className:"text-sm",children:"As an XXXX strategic partner, we have led numerous transformation programmes, providing expertise in architectural design, engineering standards and technical leadership, and optimisations."})]})]})})}var He=({className:e,content:t,style:r})=>(0,st.jsx)("div",{className:d("mx-auto my-8 w-full",e),children:(0,st.jsx)("div",{className:d("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,st.jsx)(D,{content:t,enableGutter:!1,enableProse:!1})})});var ht=require("@radix-ui/react-slot"),yt=require("class-variance-authority"),vt=F(require("react")),Fr=(0,yt.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"}}}),q=vt.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...s},o)=>(0,st.jsx)(e?ht.Slot:"button",{className:d(Fr({className:t,size:r,variant:a})),ref:o,...s}));q.displayName="Button";var Ge=F(require("next/link")),$=e=>{let{type:t,appearance:r="inline",children:a,className:s,label:o,newTab:i,reference:n,size:c,url:p}=e,f=t==="reference"&&typeof(n==null?void 0:n.value)=="object"&&n.value.slug?`${(n==null?void 0:n.relationTo)!=="pages"?`/${n==null?void 0:n.relationTo}`:""}/${n.value.slug}`:p;if(!f)return null;let g=r==="link"?"clear":c,b=i?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,st.jsxs)(Ge.default,{className:d(s),href:f||p||"",...b,children:[o&&o,a&&a]}):(0,st.jsx)(q,{asChild:!0,className:s,size:g,variant:r,children:(0,st.jsxs)(Ge.default,{className:d(s),href:f||p||"",...b,children:[o&&o,a&&a]})})};var be=({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)(D,{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)($,{size:"lg",...r},a))})]})});var Ae=require("prism-react-renderer");var Nt=require("react");function Ue({code:e}){let[t,r]=(0,Nt.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)(q,{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)(S.ClipboardCopy,{})})]})})}var Ct=({code:e,language:t=""})=>e?(0,st.jsx)(Ae.Highlight,{code:e,language:t,theme:Ae.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-x-auto",children:[s.map((o,i)=>(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:i+1}),(0,st.jsx)("span",{className:"table-cell pl-4",children:o.map((n,c)=>(0,st.jsx)("span",{...a({token:n})},c))})]},i)),(0,st.jsx)(Ue,{code:e})]})}):null;var je=({className:e,code:t,language:r})=>(0,st.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,st.jsx)(Ct,{code:t,language:r})});var At=F(require("next/image")),Lr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},kt="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=",Rt=e=>{let{alt:t,fill:r,imgClassName:a,priority:s,resource:o,size:i,src:n,loading:c}=e,p,f,g=t,b=n||"";if(!b&&o&&typeof o=="object"){let{alt:v,filename:x,height:k,url:P,width:H}=o;p=H,f=k,g=v||"",b=P||kt}let C=c||"lazy",A=i||Object.entries(Lr).map(([,v])=>`(max-width: ${v}px) ${v*2}w`).join(", ");return(0,st.jsx)("picture",{children:(0,st.jsx)(At.default,{alt:g||"",className:d(a),fill:r,height:r?void 0:f,placeholder:"blur",blurDataURL:kt,priority:C!=="lazy"&&s,quality:100,loading:C,sizes:A,src:b,width:r?void 0:p})})};var Tt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Pt=()=>{if(Tt){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var Bt=e=>{let{onClick:t,resource:r,videoClassName:a}=e,s=(0,Nt.useRef)(null);if((0,Nt.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:d(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:s,children:(0,st.jsx)("source",{src:`${Pt()}/media/${o}`})})}return null};var le=e=>{var i;let{className:t,htmlElement:r="div",resource:a}=e,s=typeof a=="object"&&((i=a==null?void 0:a.mimeType)==null?void 0:i.includes("video"));return(0,st.jsx)(r||Nt.Fragment,{...r!==null?{className:t}:{},children:s?(0,st.jsx)(Bt,{...e}):(0,st.jsx)(Rt,{...e})})};var ce=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:s,staticImage:o}=e;return(0,st.jsx)("div",{className:d("",{container:r},t),children:(0,st.jsx)(le,{imgClassName:d("border border-border rounded-[0.8rem]",a),resource:s,src:o})})};var Ke=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:s,staticImage:o}=e;return(0,st.jsx)("div",{className:d("",{container:r},t),children:(0,st.jsx)(le,{imgClassName:d("border border-border rounded-[0.8rem]",a),resource:s,src:o})})};function zr(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function St({variant:e="light",className:t,icon:r,heading:a,subheading:s,content:o,statistic:i,buttonText:n,buttonHref:c}){let p={solid:"bg-[#A42368]",light:"bg-white",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden"};return console.log("content",typeof o),(0,st.jsxs)("div",{className:d("rounded-3xl p-8 md:p-12",p[e],e==="light"?"text-gray-900":"text-white",t),children:[(0,st.jsxs)("div",{className:"flex items-center gap-4 mb-6",children:[r&&(0,st.jsx)("div",{className:d("rounded-full p-0",e==="light"?"text-[#A42368]":"text-white"),children:zr(r)?(0,st.jsx)(Ce,{type:r.type,iconName:r.iconName,size:"2x"}):r}),(0,st.jsx)("h2",{className:d("font-semibold",e==="solid"||e==="light"?"text-2xl":"text-4xl"),children:a})]}),e==="solid"&&i&&(0,st.jsx)("div",{className:"mb-6",children:(0,st.jsx)("div",{className:"text-[8rem] font-bold leading-none",children:i})}),s&&(0,st.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:s}),o&&typeof o=="object"&&(0,st.jsx)("div",{className:d("space-st-6",e==="light"?"text-gray-600":"text-gray-300"),children:(0,st.jsx)(D,{enableGutter:!1,content:o,enableProse:!1,className:d(e==="light"?"prose":"prose prose-headings:text-white prose-p:text-gray-300")})}),o&&typeof o=="string"&&(0,st.jsx)("div",{className:d("space-st-6",e==="light"?"text-gray-600":"text-gray-300"),children:o}),n&&(0,st.jsx)("div",{className:"mt-8",children:(0,st.jsx)(q,{size:"lg",className:"text-white text-lg rounded-xl",asChild:!0,children:(0,st.jsxs)("a",{href:c,children:[n,(0,st.jsx)("span",{className:"ml-2",children:"\u2193"})]})})}),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 he=({title:e,description:t,features:r,id:a})=>(0,st.jsxs)("section",{className:d("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",id:a||"",children:e}),t&&typeof t=="string"&&(0,st.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:t}),t&&typeof t=="object"&&(0,st.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,st.jsx)(D,{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((s,o)=>{var i,n,c,p,f;if(((i=s.settings)==null?void 0:i.contents)==="icon")return(0,st.jsx)(Xr,{section:s,index:o},o);{let g=()=>{if(s.icon.type!=="none")return{type:s.icon.type,iconName:s.icon.icon}};return(0,st.jsx)(St,{variant:((n=s.settings)==null?void 0:n.card)==="default"?"solid":((c=s.settings)==null?void 0:c.card)||"solid",icon:g()||void 0,heading:s.title||"",content:s.content||void 0,statistic:s.statistic||void 0,buttonText:(p=s.link)!=null&&p.url?"Find out more":void 0,buttonHref:((f=s.link)==null?void 0:f.url)||void 0},o)}})})]}),Xr=({section:e,index:t})=>{if(!e)return null;let r=(0,st.jsxs)("div",{className:"flex flex-col gap-4",children:[e.icon&&(0,st.jsx)("div",{className:"text-accent st-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,st.jsx)("i",{className:`${e.icon.type} fa-${e.icon.icon} fa-4x`})}),(0,st.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:e.title}),e.content&&typeof e.content!="object"&&(0,st.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:e.content}}),e.content&&typeof e.content=="object"&&(0,st.jsx)("div",{className:"text-lg opacity-80",children:(0,st.jsx)(D,{content:e.content,enableGutter:!1})})]},t);return e.link?(0,st.jsx)("a",{href:e.link.url?e.link.url:"#",className:"no-underline group",children:r},t):r};var Et=F(require("next/image"));var It={content:Ye,cta:be,mediaBlock:ce,imageBlock:ce,features:he,reusableContentBlock:Pe},We=e=>{let{blocks:t}=e;return t&&Array.isArray(t)&&t.length>0?(0,st.jsx)("section",{id:"render-blocks",children:t.map((a,s)=>{var n;let{blockType:o}=a,i=a==null?void 0:a.theme;if(o&&o in It){let c=It[o];if(c)return(0,st.jsxs)("div",{className:"py-6 relative",children:[(0,st.jsx)(Hr,{block:a,index:s}),(0,st.jsx)("div",{className:d("container",((n=i==null?void 0:i.settings)==null?void 0:n.theme)==="dark"?"dark":""),children:(0,st.jsx)(c,{...a})})]},s)}return null})}):null},Hr=e=>{var r;if(console.log("props",e),!("theme"in e.block))return null;let t=(r=e.block)==null?void 0:r.theme;if(console.log("theme",t),t.settings.background==="image"){let a={imagePosition:t.settings.imagePosition||"left",overlay:t.settings.overlay!==void 0?t.settings.overlay:!0};return console.log("themeSettings",a),(0,st.jsxs)("div",{className:d("absolute inset-0 w-full st-full -st-10",t.settings.theme==="dark"?"dark bg-background":""),children:[(0,st.jsx)(Et.default,{src:t.settings.image.url||"/placeholder.svg",alt:t.settings.image.alt,fill:!0,className:"object-cover",priority:!0}),t.settings.overlay&&(0,st.jsx)("div",{className:"absolute inset-0",style:{background:a.imagePosition==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]})}return(0,st.jsx)("div",{className:d("absolute inset-0 -st-10 w-screen st-full",t.settings.theme==="dark"?"dark bg-background":"")})};var Pe=e=>{let{customId:t,reusableContent:r}=e;return typeof r=="object"&&r!==null?(0,st.jsx)(We,{blocks:r.layout}):(0,st.jsx)(st.Fragment,{})};var Me=F(require("react"));function Be({nodes:e}){return(0,st.jsx)(Me.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)(Me.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,i)=>(0,st.jsx)("tr",{children:o.children.map((n,c)=>(0,st.jsx)("td",{children:Be({nodes:n.children})},c))},i))})},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 i of o.children)"checked"in i&&(i!=null&&i.checked||(i.checked=!1));return Be({nodes:o.children})},s="children"in t?a(t):"";if(t.type==="block"){let o=t.fields,i=o==null?void 0:o.blockType;if(!o||!i)return null;switch(i){case"cta":return(0,st.jsx)(be,{...o},r);case"mediaBlock":return(0,st.jsx)(ce,{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)(Ke,{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)(He,{className:"col-start-2 mb-4",...o},r);case"code":return(0,st.jsx)(je,{className:"col-start-2",...o},r);case"features":return(0,st.jsx)(he,{...o},r);case"reusableContentBlock":return(0,st.jsx)(Pe,{...o,reusableContent:o.reusableContent},r);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)($,{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)($,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}default:return null}})})}var D=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>{var s;return t?(0,st.jsx)("div",{className:d({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&Be({nodes:(s=t==null?void 0:t.root)==null?void 0:s.children})}):null};var Ye=e=>{let{columns:t}=e,r={full:"12",half:"6",oneThird:"4",twoThirds:"8"};return(0,st.jsx)("div",{className:"container my-6",children:(0,st.jsx)("div",{className:"grid grid-cols-4 lg:grid-cols-12 gap-st-8 gap-x-16",children:t&&t.length>0&&t.map((a,s)=>{let{enableLink:o,link:i,richText:n,size:c}=a;return(0,st.jsxs)("div",{className:d(`col-span-4 lg:col-span-${r[c]}`,{"md:col-span-2":c!=="full"}),children:[n&&(0,st.jsx)(D,{content:n,enableGutter:!1}),o&&(0,st.jsx)($,{...i})]},s)})})})};var Se=F(require("next/image"));function Gr({image:e,subtitle:t="Case study",title:r,companyLogo:a,customerLogo:s}){return(0,st.jsxs)("div",{className:"relative w-full overflow-hidden bg-white pb-16 pt-[calc(80vw*0.5)]",children:[(0,st.jsx)("div",{className:"absolute left-0 top-0 st-[calc(100%+80vw*0.5)] w-full overflow-hidden",children:(0,st.jsx)("div",{className:"absolute left-[calc(50%-40vw*0.5)] top-[calc(40vw*0.5*-0.29)] st-[80vw] w-[80vw] origin-top-left -rotate-45 overflow-hidden rounded-[24vw]",children:(0,st.jsx)(Se.default,{src:e,alt:"Header background",className:"st-full w-full rotate-45 scale-[1.42] object-cover object-center",width:1e3,height:1e3,priority:!0})})}),(0,st.jsxs)("div",{className:"absolute left-4 top-4 flex flex-col items-start gap-4 md:left-8 md:top-8",children:[a&&(0,st.jsx)("div",{className:"st-16 w-32 md:st-24 md:w-48",children:(0,st.jsx)(Se.default,{src:a,alt:"Company logo",className:"st-full w-full object-contain",width:192,height:96})}),s&&(0,st.jsx)("div",{className:"st-10 w-20 md:st-12 md:w-24",children:(0,st.jsx)(Se.default,{src:s,alt:"Customer logo",className:"st-full w-full object-contain",width:96,height:48})})]}),(0,st.jsxs)("div",{className:"container relative mx-auto px-4",children:[(0,st.jsx)("p",{className:"mb-4 text-lg font-medium text-sky-400",children:t}),(0,st.jsx)("h1",{className:"max-w-4xl text-[2.75rem] font-bold leading-[1.15] tracking-tight text-[#051527] md:text-6xl",children:r})]})]})}var Ht=F(require("clsx"));var Ft=require("next/navigation");function Ur({external:e=!1,newTab:t=!1,scroll:r=!0}){let a=(0,Ft.useRouter)(),s=(0,Nt.useRef)(null),o=(0,Nt.useRef)(null),i=(0,Nt.useRef)(0),n=(0,Nt.useRef)(!1),c=(0,Nt.useRef)(0),p=(0,Nt.useCallback)(g=>{if(g.target){let b=g.target,C=+new Date,A=b==null?void 0:b.closest("a");c.current=g.button,A?n.current=!0:(n.current=!1,i.current=C)}},[a,s,o,i]),f=(0,Nt.useCallback)(g=>{var b,C;if((b=o.current)!=null&&b.href){let v=+new Date-i.current;if((C=o.current)!=null&&C.href&&v<=250&&!n.current&&c.current===0&&!g.ctrlKey)if(e){let x=t?"_blank":"_self";window.open(o.current.href,x)}else a.push(o.current.href,{scroll:r})}},[a,s,o,i]);return(0,Nt.useEffect)(()=>{let g=s.current;return g&&(g.addEventListener("mousedown",p),g.addEventListener("mouseup",f)),()=>{g&&g&&(g==null||g.removeEventListener("mousedown",p),g==null||g.removeEventListener("mouseup",f))}},[s,o,a]),{card:{ref:s},link:{ref:o}}}var Lt=Ur;var zt=F(require("next/link"));var Xt=e=>{let{card:t,link:r}=Lt({}),{className:a,doc:s,relationTo:o,showCategories:i,title:n}=e,{slug:c,categories:p,meta:f,title:g}=s||{},{description:b,image:C}=f||{},A=p&&Array.isArray(p)&&p.length>0,v=n||g,x=b==null?void 0:b.replace(/\s/g," "),k=`/${o}/${c}`;return(0,st.jsxs)("article",{className:d("border border-border rounded-lg overflow-hidden bg-card hover:cursor-pointer",a),ref:t.ref,children:[(0,st.jsxs)("div",{className:"relative w-full ",children:[!C&&(0,st.jsx)("div",{className:"",children:"No image"}),C&&typeof C!="string"&&(0,st.jsx)(le,{resource:C,size:"33vw"})]}),(0,st.jsxs)("div",{className:"p-4",children:[i&&A&&(0,st.jsx)("div",{className:"uppercase text-sm mb-4",children:i&&A&&(0,st.jsx)("div",{children:p==null?void 0:p.map((P,H)=>{if(typeof P=="object"){let{title:G}=P,te=G||"Untitled category",ve=H===p.length-1;return(0,st.jsxs)(Nt.Fragment,{children:[te,!ve&&(0,st.jsx)(Nt.Fragment,{children:", \xA0"})]},H)}return null})})}),v&&(0,st.jsx)("div",{className:"prose",children:(0,st.jsx)("h3",{children:(0,st.jsx)(zt.default,{className:"not-prose",href:k,ref:r.ref,children:v})})}),b&&(0,st.jsx)("div",{className:"mt-2",children:b&&(0,st.jsx)("p",{children:x})})]})]})};var Or=e=>{let{className:t,docs:r,introContent:a}=e;return(0,st.jsxs)("div",{className:(0,Ht.default)("container",t),children:[a&&(0,st.jsx)(D,{content:a,enableGutter:!1}),(0,st.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 md:gap-8 items-stretch",children:r==null?void 0:r.map((s,o)=>typeof s=="string"?null:(0,st.jsx)(Xt,{doc:s,relationTo:"posts",showCategories:!0},o))})]})};0&&(module.exports={BannerBlock,CallToActionBlock,CodeBlock,ContentBlock,CopyButton,FeaturesBlock,HeadingImage,ImageBlock,InfoTile,Insight,MOTD,MediaBlock,OrgChart,ProposalSummary,RelatedPosts,RenderBlocks,WhyUs});
@@ -1 +1 @@
1
- import{a as m}from"../../chunk-EPTHSTUM.mjs";import{a as k}from"../../chunk-53QLSQCO.mjs";import{a as l}from"../../chunk-6HFYLEVF.mjs";import{a as q}from"../../chunk-4OQHZ5FW.mjs";import"../../chunk-423OEU3K.mjs";import{a as o}from"../../chunk-JCH2CCQ7.mjs";import{a as h}from"../../chunk-UZ2XYB7D.mjs";import"../../chunk-KPIWBWE2.mjs";import"../../chunk-2LJVMEWU.mjs";import"../../chunk-6P7CY367.mjs";import{a as p}from"../../chunk-ZSRAJP4K.mjs";import{a as n}from"../../chunk-BK5FPGFH.mjs";import{a as i}from"../../chunk-H7D3PZKE.mjs";import{a as j}from"../../chunk-IQPZEEYJ.mjs";import{a,b,c as g}from"../../chunk-XZEJC3UX.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-O5BAW5XQ.mjs";import{a as e}from"../../chunk-UK4IPFAO.mjs";import{a as f}from"../../chunk-HUN2X4VH.mjs";import"../../chunk-ICTOXY7D.mjs";import"../../chunk-YNDKGRL6.mjs";import"../../chunk-TFWGOEV7.mjs";import{a as d}from"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import{a as c}from"../../chunk-5IQPAE6K.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-NSBNDXRL.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as BannerBlock,b as CallToActionBlock,d as CodeBlock,n as ContentBlock,c as CopyButton,g as FeaturesBlock,o as HeadingImage,f as ImageBlock,i as InfoTile,h as Insight,j as MOTD,e as MediaBlock,k as OrgChart,l as ProposalSummary,q as RelatedPosts,p as RenderBlocks,m as WhyUs};
1
+ import{a as q}from"../../chunk-7SSOLQR5.mjs";import"../../chunk-423OEU3K.mjs";import{a as o}from"../../chunk-EPTHSTUM.mjs";import{a as j}from"../../chunk-UZ2XYB7D.mjs";import{a as m}from"../../chunk-53QLSQCO.mjs";import{a as n}from"../../chunk-6HFYLEVF.mjs";import{a as p}from"../../chunk-JCH2CCQ7.mjs";import"../../chunk-2LJVMEWU.mjs";import"../../chunk-KPIWBWE2.mjs";import"../../chunk-6P7CY367.mjs";import{a as l}from"../../chunk-IQPZEEYJ.mjs";import{a as k}from"../../chunk-H7D3PZKE.mjs";import{a,b,c as g,d as h,e as i}from"../../chunk-G6K3PK47.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import{a as e}from"../../chunk-UK4IPFAO.mjs";import{a as f}from"../../chunk-HUN2X4VH.mjs";import"../../chunk-ICTOXY7D.mjs";import"../../chunk-YNDKGRL6.mjs";import"../../chunk-TFWGOEV7.mjs";import{a as d}from"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import{a as c}from"../../chunk-5IQPAE6K.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-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-KDGEXDC5.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-NSBNDXRL.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as BannerBlock,b as CallToActionBlock,d as CodeBlock,h as ContentBlock,c as CopyButton,g as FeaturesBlock,p as HeadingImage,f as ImageBlock,k as InfoTile,j as Insight,l as MOTD,e as MediaBlock,m as OrgChart,n as ProposalSummary,q as RelatedPosts,i as RenderBlocks,o as WhyUs};
@@ -1 +1 @@
1
- import{a}from"../../chunk-7QOBENUU.mjs";import"../../chunk-4NKKWJ2X.mjs";import"../../chunk-4JC2TJML.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-A5EYIB3V.mjs";import"../../chunk-DWRQHV42.mjs";import"../../chunk-Y5ZFXDW5.mjs";import"../../chunk-QOIH63J3.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-NSBNDXRL.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as DealDetails};
1
+ import{a}from"../../chunk-ECOVEIOV.mjs";import"../../chunk-4JC2TJML.mjs";import"../../chunk-4NKKWJ2X.mjs";import"../../chunk-A5EYIB3V.mjs";import"../../chunk-DWRQHV42.mjs";import"../../chunk-Y5ZFXDW5.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-QOIH63J3.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-NSBNDXRL.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as DealDetails};
@@ -1 +1 @@
1
- import{c as a}from"../../chunk-TLBLUYXL.mjs";import{a as t}from"../../chunk-7QOBENUU.mjs";import"../../chunk-4NKKWJ2X.mjs";import"../../chunk-4JC2TJML.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-A5EYIB3V.mjs";import"../../chunk-DWRQHV42.mjs";import"../../chunk-Y5ZFXDW5.mjs";import"../../chunk-QOIH63J3.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-NSBNDXRL.mjs";import"../../chunk-S7OK7D5I.mjs";var n={title:"CRM/DealDetails",component:t,parameters:{layout:"centered"},tags:["autodocs"]},u=n,i={id:"1",name:"Acme Corp",active:!0},r=[{id:"1",name:"Software",type:"proposition"},{id:"2",name:"Hardware",type:"proposition"},{id:"3",name:"Referral",type:"source"},{id:"4",name:"Outbound",type:"source"},{id:"5",name:"Tech",type:"sector"},{id:"6",name:"Finance",type:"sector"}],s=e=>Array.from({length:e},(l,o)=>({id:`comment-${o+1}`,text:`This is comment number ${o+1}. It's a mock comment to test the scrolling behavior of the comments section in the DealDetails component.`,author:["John Doe","Jane Smith","Bob Johnson"][o%3],timestamp:new Date(Date.now()-(e-o)*24*60*60*1e3).toISOString()})),m={id:1,customer:{id:1,name:"Acme Corp",active:!0},value:1e5,assignee:{id:1,name:"John Doe"},status:"Qualified",categories:r.slice(0,3),dateLogged:"2023-01-01T00:00:00.000Z",closureDate:"2023-12-31T00:00:00.000Z",updatedAt:"2023-06-15T12:00:00.000Z",comments:s(50),description:"This is a mock deal for Acme Corp. It involves a large software project with potential for hardware integration."},c={args:{deal:m,customer:i,categories:r,users:a,onClose:()=>console.log("Close clicked"),onSave:e=>console.log("Save clicked",e),onAddComment:e=>console.log("Comment added",e)}},D={args:{...c.args,deal:{...m,comments:s(100)}}};export{c as Default,D as WithManyComments,u as default};
1
+ import{c as a}from"../../chunk-TLBLUYXL.mjs";import{a as t}from"../../chunk-ECOVEIOV.mjs";import"../../chunk-4JC2TJML.mjs";import"../../chunk-4NKKWJ2X.mjs";import"../../chunk-A5EYIB3V.mjs";import"../../chunk-DWRQHV42.mjs";import"../../chunk-Y5ZFXDW5.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-QOIH63J3.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-NSBNDXRL.mjs";import"../../chunk-S7OK7D5I.mjs";var n={title:"CRM/DealDetails",component:t,parameters:{layout:"centered"},tags:["autodocs"]},u=n,i={id:"1",name:"Acme Corp",active:!0},r=[{id:"1",name:"Software",type:"proposition"},{id:"2",name:"Hardware",type:"proposition"},{id:"3",name:"Referral",type:"source"},{id:"4",name:"Outbound",type:"source"},{id:"5",name:"Tech",type:"sector"},{id:"6",name:"Finance",type:"sector"}],s=e=>Array.from({length:e},(l,o)=>({id:`comment-${o+1}`,text:`This is comment number ${o+1}. It's a mock comment to test the scrolling behavior of the comments section in the DealDetails component.`,author:["John Doe","Jane Smith","Bob Johnson"][o%3],timestamp:new Date(Date.now()-(e-o)*24*60*60*1e3).toISOString()})),m={id:1,customer:{id:1,name:"Acme Corp",active:!0},value:1e5,assignee:{id:1,name:"John Doe"},status:"Qualified",categories:r.slice(0,3),dateLogged:"2023-01-01T00:00:00.000Z",closureDate:"2023-12-31T00:00:00.000Z",updatedAt:"2023-06-15T12:00:00.000Z",comments:s(50),description:"This is a mock deal for Acme Corp. It involves a large software project with potential for hardware integration."},c={args:{deal:m,customer:i,categories:r,users:a,onClose:()=>console.log("Close clicked"),onSave:e=>console.log("Save clicked",e),onAddComment:e=>console.log("Comment added",e)}},D={args:{...c.args,deal:{...m,comments:s(100)}}};export{c as Default,D as WithManyComments,u as default};
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";import{a}from"../../chunk-W66SVCJY.mjs";import"../../chunk-HE3WBVX5.mjs";import"../../chunk-XHDR7I54.mjs";import"../../chunk-OWBJTXZL.mjs";import"../../chunk-BRYZOZKY.mjs";import"../../chunk-7QOBENUU.mjs";import"../../chunk-4NKKWJ2X.mjs";import"../../chunk-4JC2TJML.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-A5EYIB3V.mjs";import"../../chunk-DWRQHV42.mjs";import"../../chunk-Y5ZFXDW5.mjs";import"../../chunk-QOIH63J3.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-NSBNDXRL.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as CRMKanbanBoard};
2
+ "use strict";import{a}from"../../chunk-HHUI6PDP.mjs";import"../../chunk-ECOVEIOV.mjs";import"../../chunk-MY3PX5GI.mjs";import"../../chunk-SEG6IDDX.mjs";import"../../chunk-OWBJTXZL.mjs";import"../../chunk-BRYZOZKY.mjs";import"../../chunk-4JC2TJML.mjs";import"../../chunk-4NKKWJ2X.mjs";import"../../chunk-A5EYIB3V.mjs";import"../../chunk-DWRQHV42.mjs";import"../../chunk-Y5ZFXDW5.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-QOIH63J3.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-NSBNDXRL.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as CRMKanbanBoard};
@@ -1 +1 @@
1
- import{a as e,b as n,c as r}from"../../chunk-TLBLUYXL.mjs";import{a as d}from"../../chunk-W66SVCJY.mjs";import"../../chunk-HE3WBVX5.mjs";import"../../chunk-XHDR7I54.mjs";import"../../chunk-OWBJTXZL.mjs";import"../../chunk-BRYZOZKY.mjs";import"../../chunk-7QOBENUU.mjs";import"../../chunk-4NKKWJ2X.mjs";import"../../chunk-4JC2TJML.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-A5EYIB3V.mjs";import"../../chunk-DWRQHV42.mjs";import"../../chunk-Y5ZFXDW5.mjs";import"../../chunk-QOIH63J3.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-NSBNDXRL.mjs";import"../../chunk-S7OK7D5I.mjs";import{useState as h}from"react";import{jsx as D}from"react/jsx-runtime";var u={title:"CRM/KanbanBoard",component:d},w=u,c=a=>{let[t,g]=h(a.initialData);return D(d,{...a,initialData:t,updateDeal:async o=>(console.log("Updating deal:",o),g(i=>{var l;return{...i,deals:((l=i.deals)!=null?l:[]).map(m=>m.id===o.id?o:m)}}),o)})},s=c.bind({});s.args={initialData:{deals:Array.from({length:3},(a,t)=>({id:t+1,customer:e[t%e.length],value:Math.floor(Math.random()*1e5)+5e3,assignee:r[Math.floor(Math.random()*r.length)].name,status:["Cold","Qualified","Proposal Made","Won","Lost"][Math.floor(Math.random()*5)],categories:[n[t%n.length].id],dateLogged:new Date(Date.now()-Math.floor(Math.random()*30)*24*60*60*1e3).toISOString(),closureDate:new Date(Date.now()+Math.floor(Math.random()*90)*24*60*60*1e3).toISOString(),comments:[],updatedAt:new Date().toISOString(),description:`This is a mock description for deal ${t+1}. It's a ${["small","medium","large"][t%3]} deal with high potential.`})),customers:e,users:r,categories:n},addNewDeal:async a=>(console.log("Adding deal:",a),{...a,id:"new-deal-id"}),addNewCustomer:async a=>(console.log("Adding customer:",a),{...a,id:"new-customer-id"}),addComment:async(a,t)=>(console.log("Adding comment to deal:",a,t),{...t,id:"new-comment-id"})};var p=c.bind({});p.args={...s.args,initialData:{...s.args.initialData,deals:[]}};export{s as Default,p as NoDeals,w as default};
1
+ import{a as e,b as n,c as r}from"../../chunk-TLBLUYXL.mjs";import{a as d}from"../../chunk-HHUI6PDP.mjs";import"../../chunk-ECOVEIOV.mjs";import"../../chunk-MY3PX5GI.mjs";import"../../chunk-SEG6IDDX.mjs";import"../../chunk-OWBJTXZL.mjs";import"../../chunk-BRYZOZKY.mjs";import"../../chunk-4JC2TJML.mjs";import"../../chunk-4NKKWJ2X.mjs";import"../../chunk-A5EYIB3V.mjs";import"../../chunk-DWRQHV42.mjs";import"../../chunk-Y5ZFXDW5.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-QOIH63J3.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-NSBNDXRL.mjs";import"../../chunk-S7OK7D5I.mjs";import{useState as h}from"react";import{jsx as D}from"react/jsx-runtime";var u={title:"CRM/KanbanBoard",component:d},w=u,c=a=>{let[t,g]=h(a.initialData);return D(d,{...a,initialData:t,updateDeal:async o=>(console.log("Updating deal:",o),g(i=>{var l;return{...i,deals:((l=i.deals)!=null?l:[]).map(m=>m.id===o.id?o:m)}}),o)})},s=c.bind({});s.args={initialData:{deals:Array.from({length:3},(a,t)=>({id:t+1,customer:e[t%e.length],value:Math.floor(Math.random()*1e5)+5e3,assignee:r[Math.floor(Math.random()*r.length)].name,status:["Cold","Qualified","Proposal Made","Won","Lost"][Math.floor(Math.random()*5)],categories:[n[t%n.length].id],dateLogged:new Date(Date.now()-Math.floor(Math.random()*30)*24*60*60*1e3).toISOString(),closureDate:new Date(Date.now()+Math.floor(Math.random()*90)*24*60*60*1e3).toISOString(),comments:[],updatedAt:new Date().toISOString(),description:`This is a mock description for deal ${t+1}. It's a ${["small","medium","large"][t%3]} deal with high potential.`})),customers:e,users:r,categories:n},addNewDeal:async a=>(console.log("Adding deal:",a),{...a,id:"new-deal-id"}),addNewCustomer:async a=>(console.log("Adding customer:",a),{...a,id:"new-customer-id"}),addComment:async(a,t)=>(console.log("Adding comment to deal:",a,t),{...t,id:"new-comment-id"})};var p=c.bind({});p.args={...s.args,initialData:{...s.args.initialData,deals:[]}};export{s as Default,p as NoDeals,w as default};
@@ -1 +1 @@
1
- import{a}from"../../chunk-HE3WBVX5.mjs";import"../../chunk-XHDR7I54.mjs";import"../../chunk-OWBJTXZL.mjs";import"../../chunk-BRYZOZKY.mjs";import"../../chunk-4NKKWJ2X.mjs";import"../../chunk-4JC2TJML.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-A5EYIB3V.mjs";import"../../chunk-DWRQHV42.mjs";import"../../chunk-Y5ZFXDW5.mjs";import"../../chunk-QOIH63J3.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-NSBNDXRL.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as KanbanColumn};
1
+ import{a}from"../../chunk-MY3PX5GI.mjs";import"../../chunk-SEG6IDDX.mjs";import"../../chunk-OWBJTXZL.mjs";import"../../chunk-BRYZOZKY.mjs";import"../../chunk-4JC2TJML.mjs";import"../../chunk-4NKKWJ2X.mjs";import"../../chunk-A5EYIB3V.mjs";import"../../chunk-DWRQHV42.mjs";import"../../chunk-Y5ZFXDW5.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-QOIH63J3.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-NSBNDXRL.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as KanbanColumn};