cortex-react-components 1.1.0 → 1.3.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 (217) hide show
  1. package/dist/chunk-32RDLRVK.mjs +1 -0
  2. package/dist/chunk-3FH4D24Y.mjs +1 -0
  3. package/dist/chunk-44TDI42O.mjs +1 -0
  4. package/dist/chunk-4WMKXAGU.mjs +1 -0
  5. package/dist/chunk-5JPWYRNZ.mjs +1 -0
  6. package/dist/chunk-5VU5KT3M.mjs +1 -0
  7. package/dist/chunk-6P7CY367.mjs +1 -0
  8. package/dist/chunk-6VGO3JR7.mjs +1 -0
  9. package/dist/chunk-7BP5RVYA.mjs +1 -0
  10. package/dist/chunk-7GXS4GND.mjs +5 -0
  11. package/dist/chunk-BOPZHZ27.mjs +1 -0
  12. package/dist/chunk-BZVOHDLV.mjs +1 -0
  13. package/dist/chunk-CJTRVASG.mjs +1 -0
  14. package/dist/chunk-DYHP6A4B.mjs +3 -0
  15. package/dist/chunk-EEMR5C75.mjs +1 -0
  16. package/dist/chunk-EF2M7XZK.mjs +1 -0
  17. package/dist/chunk-EMNKQTUC.mjs +1 -0
  18. package/dist/{chunk-Z3GPNAQX.mjs → chunk-JYZNBFY2.mjs} +1 -1
  19. package/dist/chunk-N4CGJXNI.mjs +1 -0
  20. package/dist/chunk-NEW735FX.mjs +1 -0
  21. package/dist/chunk-OANFAQE4.mjs +1 -0
  22. package/dist/chunk-OTS4QNQ2.mjs +1 -0
  23. package/dist/chunk-OVQPFHX2.mjs +1 -0
  24. package/dist/chunk-PPQGQK27.mjs +1 -0
  25. package/dist/chunk-PV4EARTR.mjs +1 -0
  26. package/dist/chunk-QVT7M33X.mjs +1 -0
  27. package/dist/chunk-S4O43CSD.mjs +1 -0
  28. package/dist/chunk-UVJPKH6R.mjs +1 -0
  29. package/dist/chunk-VBYC64I2.mjs +1 -0
  30. package/dist/chunk-VI6PF7VY.mjs +1 -0
  31. package/dist/chunk-VSTSYVKB.mjs +1 -0
  32. package/dist/chunk-X42HILQB.mjs +1 -0
  33. package/dist/chunk-ZBSVA7YF.mjs +1 -0
  34. package/dist/client/Blocks/Banner.d.ts +7 -0
  35. package/dist/client/Blocks/Banner.js +1 -0
  36. package/dist/client/Blocks/Banner.mjs +1 -0
  37. package/dist/client/Blocks/CallToAction.d.ts +3 -0
  38. package/dist/client/Blocks/CallToAction.js +1 -0
  39. package/dist/client/Blocks/CallToAction.mjs +1 -0
  40. package/dist/client/Blocks/CaseStudy.d.ts +16 -0
  41. package/dist/client/Blocks/CaseStudy.js +1 -0
  42. package/dist/client/Blocks/CaseStudy.mjs +1 -0
  43. package/dist/client/Blocks/CaseStudy.stories.js +1 -0
  44. package/dist/client/Blocks/CaseStudy.stories.mjs +1 -0
  45. package/dist/client/Blocks/Code.client.d.ts +7 -0
  46. package/dist/client/Blocks/Code.client.js +2 -0
  47. package/dist/client/Blocks/Code.client.mjs +2 -0
  48. package/dist/client/Blocks/Code.d.ts +11 -0
  49. package/dist/client/Blocks/Code.js +1 -0
  50. package/dist/client/Blocks/Code.mjs +1 -0
  51. package/dist/client/Blocks/ConsultantProfile.d.ts +28 -0
  52. package/dist/client/Blocks/ConsultantProfile.js +1 -0
  53. package/dist/client/Blocks/ConsultantProfile.mjs +1 -0
  54. package/dist/client/Blocks/ConsultantProfile.stories.js +1 -0
  55. package/dist/client/Blocks/ConsultantProfile.stories.mjs +1 -0
  56. package/dist/client/Blocks/Content.d.ts +3 -0
  57. package/dist/client/Blocks/Content.js +1 -0
  58. package/dist/client/Blocks/Content.mjs +1 -0
  59. package/dist/client/Blocks/CopyButton.d.ts +3 -0
  60. package/dist/client/Blocks/CopyButton.js +2 -0
  61. package/dist/client/Blocks/CopyButton.mjs +2 -0
  62. package/dist/client/Blocks/FeaturesBlock.d.ts +27 -0
  63. package/dist/client/Blocks/FeaturesBlock.js +1 -0
  64. package/dist/client/Blocks/FeaturesBlock.mjs +1 -0
  65. package/dist/client/Blocks/FeaturesBlock.stories.js +1 -0
  66. package/dist/client/Blocks/FeaturesBlock.stories.mjs +1 -0
  67. package/dist/client/Blocks/HeadingImage.d.ts +9 -0
  68. package/dist/client/Blocks/HeadingImage.js +1 -0
  69. package/dist/client/Blocks/HeadingImage.mjs +1 -0
  70. package/dist/client/Blocks/HeadingImage.stories.js +1 -0
  71. package/dist/client/Blocks/HeadingImage.stories.mjs +1 -0
  72. package/dist/client/Blocks/ImageBlock.d.ts +14 -0
  73. package/dist/client/Blocks/ImageBlock.js +1 -0
  74. package/dist/client/Blocks/ImageBlock.mjs +1 -0
  75. package/dist/client/Blocks/InfoTile.d.ts +9 -0
  76. package/dist/client/Blocks/InfoTile.js +1 -0
  77. package/dist/client/Blocks/InfoTile.mjs +1 -0
  78. package/dist/client/Blocks/InfoTile.stories.js +2 -0
  79. package/dist/client/Blocks/InfoTile.stories.mjs +2 -0
  80. package/dist/client/Blocks/Insight.d.ts +11 -0
  81. package/dist/client/Blocks/Insight.js +2 -0
  82. package/dist/client/Blocks/Insight.mjs +2 -0
  83. package/dist/client/Blocks/Insight.stories.js +2 -0
  84. package/dist/client/Blocks/Insight.stories.mjs +2 -0
  85. package/dist/client/Blocks/MOTD.d.ts +9 -0
  86. package/dist/client/Blocks/MOTD.js +1 -0
  87. package/dist/client/Blocks/MOTD.mjs +1 -0
  88. package/dist/client/Blocks/MOTD.stories.js +2 -0
  89. package/dist/client/Blocks/MOTD.stories.mjs +2 -0
  90. package/dist/client/Blocks/MediaBlock.d.ts +14 -0
  91. package/dist/client/Blocks/MediaBlock.js +1 -0
  92. package/dist/client/Blocks/MediaBlock.mjs +1 -0
  93. package/dist/client/Blocks/OrgChart.d.ts +1 -0
  94. package/dist/client/Blocks/OrgChart.js +2 -0
  95. package/dist/client/Blocks/OrgChart.mjs +2 -0
  96. package/dist/client/Blocks/OrgChart.stories.js +1 -0
  97. package/dist/client/Blocks/OrgChart.stories.mjs +1 -0
  98. package/dist/client/Blocks/ProposalSummary.d.ts +20 -0
  99. package/dist/client/Blocks/ProposalSummary.js +1 -0
  100. package/dist/client/Blocks/ProposalSummary.mjs +1 -0
  101. package/dist/client/Blocks/ProposalSummary.stories.js +1 -0
  102. package/dist/client/Blocks/ProposalSummary.stories.mjs +1 -0
  103. package/dist/client/Blocks/RelatedPosts.d.ts +8 -0
  104. package/dist/client/Blocks/RelatedPosts.js +1 -0
  105. package/dist/client/Blocks/RelatedPosts.mjs +1 -0
  106. package/dist/client/Blocks/RenderBlocks.d.ts +5 -0
  107. package/dist/client/Blocks/RenderBlocks.js +1 -0
  108. package/dist/client/Blocks/RenderBlocks.mjs +1 -0
  109. package/dist/client/Blocks/WhyUs.d.ts +1 -0
  110. package/dist/client/Blocks/WhyUs.js +1 -0
  111. package/dist/client/Blocks/WhyUs.mjs +1 -0
  112. package/dist/client/Blocks/WhyUs.stories.js +1 -0
  113. package/dist/client/Blocks/WhyUs.stories.mjs +1 -0
  114. package/dist/client/Blocks/index.d.ts +6 -0
  115. package/dist/client/Blocks/index.js +1 -0
  116. package/dist/client/Blocks/index.mjs +1 -0
  117. package/dist/client/Cards/CustomerCard.d.ts +6 -0
  118. package/dist/client/Cards/CustomerCard.js +1 -0
  119. package/dist/client/Cards/CustomerCard.mjs +1 -0
  120. package/dist/client/Cards/CustomerCard.stories.js +1 -0
  121. package/dist/client/Cards/CustomerCard.stories.mjs +1 -0
  122. package/dist/client/Cards/EventCard.d.ts +10 -0
  123. package/dist/client/Cards/EventCard.js +1 -0
  124. package/dist/client/Cards/EventCard.mjs +1 -0
  125. package/dist/client/Cards/EventCard.stories.js +1 -0
  126. package/dist/client/Cards/EventCard.stories.mjs +1 -0
  127. package/dist/client/Cards/FeatureCard.d.ts +8 -0
  128. package/dist/client/Cards/FeatureCard.js +2 -0
  129. package/dist/client/Cards/FeatureCard.mjs +2 -0
  130. package/dist/client/Cards/FeatureCard.stories.js +1 -0
  131. package/dist/client/Cards/FeatureCard.stories.mjs +1 -0
  132. package/dist/client/Cards/Image.d.ts +30 -0
  133. package/dist/client/Cards/Image.js +2 -0
  134. package/dist/client/Cards/Image.mjs +2 -0
  135. package/dist/client/Cards/Image.stories.js +1 -0
  136. package/dist/client/Cards/Image.stories.mjs +1 -0
  137. package/dist/client/Cards/ProjectCard.d.ts +8 -0
  138. package/dist/client/Cards/ProjectCard.js +5 -0
  139. package/dist/client/Cards/ProjectCard.mjs +1 -0
  140. package/dist/client/Cards/ProjectCard.stories.js +5 -0
  141. package/dist/client/Cards/ProjectCard.stories.mjs +1 -0
  142. package/dist/client/Cards/index.d.ts +3 -0
  143. package/dist/client/Cards/index.js +1 -0
  144. package/dist/client/Cards/index.mjs +1 -0
  145. package/dist/client/Images/DynamicIcon.d.ts +10 -0
  146. package/dist/client/Images/DynamicIcon.js +2 -0
  147. package/dist/client/Images/DynamicIcon.mjs +2 -0
  148. package/dist/client/Images/DynamicIcon.stories.js +1 -0
  149. package/dist/client/Images/DynamicIcon.stories.mjs +1 -0
  150. package/dist/client/Images/IconIndex.js +18 -0
  151. package/dist/client/Images/IconIndex.mjs +18 -0
  152. package/dist/client/Images/customIconList.js +1 -0
  153. package/dist/client/Images/customIconList.mjs +1 -0
  154. package/dist/client/Images/index.d.ts +2 -0
  155. package/dist/client/Images/index.js +1 -0
  156. package/dist/client/Images/index.mjs +1 -0
  157. package/dist/client/Payload/Card/index.d.ts +10 -0
  158. package/dist/client/Payload/Card/index.js +2 -0
  159. package/dist/client/Payload/Card/index.mjs +2 -0
  160. package/dist/client/Payload/CollectionArchive/index.d.ts +6 -0
  161. package/dist/client/Payload/CollectionArchive/index.js +1 -0
  162. package/dist/client/Payload/CollectionArchive/index.mjs +1 -0
  163. package/dist/client/Payload/Link/index.d.ts +19 -0
  164. package/dist/client/Payload/Link/index.js +1 -0
  165. package/dist/client/Payload/Link/index.mjs +1 -0
  166. package/dist/client/Payload/Logo/Logo.d.ts +7 -0
  167. package/dist/client/Payload/Logo/Logo.js +1 -0
  168. package/dist/client/Payload/Logo/Logo.mjs +1 -0
  169. package/dist/client/Payload/Media/ImageMedia/index.d.ts +3 -0
  170. package/dist/client/Payload/Media/ImageMedia/index.js +2 -0
  171. package/dist/client/Payload/Media/ImageMedia/index.mjs +2 -0
  172. package/dist/client/Payload/Media/VideoMedia/index.d.ts +3 -0
  173. package/dist/client/Payload/Media/VideoMedia/index.js +2 -0
  174. package/dist/client/Payload/Media/VideoMedia/index.mjs +2 -0
  175. package/dist/client/Payload/Media/index.d.ts +3 -0
  176. package/dist/client/Payload/Media/index.js +1 -0
  177. package/dist/client/Payload/Media/index.mjs +1 -0
  178. package/dist/client/Payload/Media/types.d.ts +19 -0
  179. package/dist/client/Payload/Media/types.js +1 -0
  180. package/dist/client/Payload/PageRange/index.d.ts +12 -0
  181. package/dist/client/Payload/PageRange/index.js +1 -0
  182. package/dist/client/Payload/PageRange/index.mjs +1 -0
  183. package/dist/client/Payload/Pagination/index.d.ts +6 -0
  184. package/dist/client/Payload/Pagination/index.js +2 -0
  185. package/dist/client/Payload/Pagination/index.mjs +2 -0
  186. package/dist/client/Payload/RichText/index.d.ts +9 -0
  187. package/dist/client/Payload/RichText/index.js +1 -0
  188. package/dist/client/Payload/RichText/index.mjs +1 -0
  189. package/dist/client/Payload/RichText/nodeFormat.d.ts +44 -0
  190. package/dist/client/Payload/RichText/nodeFormat.js +3 -0
  191. package/dist/client/Payload/RichText/nodeFormat.mjs +1 -0
  192. package/dist/client/Payload/RichText/serialize.d.ts +10 -0
  193. package/dist/client/Payload/RichText/serialize.js +1 -0
  194. package/dist/client/Payload/RichText/serialize.mjs +1 -0
  195. package/dist/client/ui/alert.stories.js +1 -1
  196. package/dist/client/ui/alert.stories.mjs +1 -1
  197. package/dist/client/ui/badge.d.ts +1 -1
  198. package/dist/client/ui/button.d.ts +1 -1
  199. package/dist/client/ui/command.d.ts +13 -13
  200. package/dist/client/ui/index.mjs +1 -1
  201. package/dist/client/ui/pagination.mjs +1 -1
  202. package/dist/client/ui/sheet.d.ts +1 -1
  203. package/dist/client/ui/sidebar.mjs +1 -1
  204. package/dist/globals.css +1 -1
  205. package/dist/payload-types.d.ts +2225 -0
  206. package/dist/payload-types.js +1 -0
  207. package/dist/server/index.mjs +1 -1
  208. package/dist/utils/canUseDOM.d.ts +2 -0
  209. package/dist/utils/canUseDOM.js +1 -0
  210. package/dist/utils/canUseDOM.mjs +1 -0
  211. package/dist/utils/getURL.d.ts +2 -0
  212. package/dist/utils/getURL.js +1 -0
  213. package/dist/utils/getURL.mjs +1 -0
  214. package/dist/utils/useClickableCard.d.ts +16 -0
  215. package/dist/utils/useClickableCard.js +2 -0
  216. package/dist/utils/useClickableCard.mjs +2 -0
  217. package/package.json +3 -1
@@ -0,0 +1 @@
1
+ import{a as t}from"./chunk-OTS4QNQ2.mjs";import{jsx as e,jsxs as i}from"react/jsx-runtime";var d=({title:r,description:l,iconName:o,iconStyle:s,color:a})=>i("div",{className:`rounded-3xl ${{green:"bg-green-500",blue:"bg-blue-400",navy:"bg-navy-700",red:"bg-red-500",yellow:"bg-yellow-500"}[a]} p-6 flex flex-col items-center text-center`,children:[e("div",{className:"w-12 h-12 ",children:e(t,{type:s,iconName:o,className:"w-12 h-12 text-white"})}),e("h2",{className:"text-2xl font-bold text-white mb-2",children:r}),e("p",{className:"text-white text-sm",children:l})]});export{d as a};
@@ -0,0 +1 @@
1
+ import{b as p}from"./chunk-NQ4FAZ5U.mjs";import{a as s,b as i,c as l,e as d}from"./chunk-MA5FR2EM.mjs";import f from"next/image";import{jsx as a,jsxs as t}from"react/jsx-runtime";var N=({name:o,email:x,profilePicture:n,workHistory:m=[],certifications:c=[],areasOfExpertise:g=[]})=>a("div",{className:"bg-gray-100 p-6 rounded-lg shadow-lg max-w-6xl mx-auto",children:t("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[t(s,{className:"md:col-span-1",children:[t(i,{children:[a("div",{className:"w-32 h-32 mx-auto bg-gray-300 rounded-full overflow-hidden",children:n?a(f,{src:n,alt:o,width:128,height:128,className:"object-cover w-full h-full"}):a("div",{className:"w-full h-full flex items-center justify-center text-gray-500",children:"No Image"})}),a(l,{className:"text-2xl font-bold text-center mt-4",children:o||"Consultant Name"}),a("p",{className:"text-gray-600 text-center",children:x||"email@example.com"})]}),t(d,{children:[a("h3",{className:"text-xl font-semibold mb-2 text-gray-700",children:"Areas of Expertise"}),a("div",{className:"flex flex-wrap gap-2",children:g.length>0?g.map((e,r)=>a(p,{variant:"secondary",className:"text-sm",children:e.area},r)):a("p",{className:"text-gray-600",children:"No areas of expertise available"})})]})]}),t(s,{className:"md:col-span-2",children:[a(i,{children:a(l,{className:"text-xl font-semibold text-gray-700",children:"Work History"})}),a(d,{children:m.length>0?m.map((e,r)=>t("div",{className:"mb-4 pb-4 border-b border-gray-200 last:border-b-0",children:[t("h4",{className:"font-medium text-gray-800",children:[e.position," at ",e.company]}),t("p",{className:"text-sm text-gray-600",children:[e.startDate," - ",e.endDate||"Present"]}),e.description&&a("p",{className:"mt-1 text-gray-700",children:e.description})]},r)):a("p",{className:"text-gray-600",children:"No work history available"})})]}),t(s,{className:"md:col-span-3",children:[a(i,{children:a(l,{className:"text-xl font-semibold text-gray-700",children:"Certifications"})}),a(d,{children:c.length>0?a("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:c.map((e,r)=>t("div",{className:"bg-white p-4 rounded-lg shadow",children:[a("h4",{className:"font-medium text-gray-800",children:e.name}),e.issuer&&a("p",{className:"text-sm text-gray-600",children:e.issuer}),e.dateObtained&&t("p",{className:"text-xs text-gray-500 mt-1",children:["Obtained: ",e.dateObtained]})]},r))}):a("p",{className:"text-gray-600",children:"No certifications available"})})]})]})}),u=N;export{u as a};
@@ -0,0 +1 @@
1
+ import{a as e}from"./chunk-BOPZHZ27.mjs";var R=()=>{let o=process.env.NEXT_PUBLIC_SERVER_URL;return!o&&process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:(o||(o="http://localhost:3000"),o)},s=()=>{if(e){let o=window.location.protocol,r=window.location.hostname,t=window.location.port;return`${o}//${r}${t?`:${t}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};export{R as a,s as b};
@@ -0,0 +1 @@
1
+ import t from"next/image";import{jsx as e,jsxs as l}from"react/jsx-runtime";function m({image:o,subtitle:s="Case study",title:d,companyLogo:a,customerLogo:i}){return l("div",{className:"relative w-full overflow-hidden bg-white pb-16 pt-[calc(80vw*0.5)]",children:[e("div",{className:"absolute left-0 top-0 h-[calc(100%+80vw*0.5)] w-full overflow-hidden",children:e("div",{className:"absolute left-[calc(50%-40vw*0.5)] top-[calc(40vw*0.5*-0.29)] h-[80vw] w-[80vw] origin-top-left -rotate-45 overflow-hidden rounded-[24vw]",children:e(t,{src:o,alt:"Header background",className:"h-full w-full rotate-45 scale-[1.42] object-cover object-center",width:1e3,height:1e3,priority:!0})})}),l("div",{className:"absolute left-4 top-4 flex flex-col items-start gap-4 md:left-8 md:top-8",children:[a&&e("div",{className:"h-16 w-32 md:h-24 md:w-48",children:e(t,{src:a,alt:"Company logo",className:"h-full w-full object-contain",width:192,height:96})}),i&&e("div",{className:"h-10 w-20 md:h-12 md:w-24",children:e(t,{src:i,alt:"Customer logo",className:"h-full w-full object-contain",width:96,height:48})})]}),l("div",{className:"container relative mx-auto px-4",children:[e("p",{className:"mb-4 text-lg font-medium text-sky-400",children:s}),e("h1",{className:"max-w-4xl text-[2.75rem] font-bold leading-[1.15] tracking-tight text-[#051527] md:text-6xl",children:d})]})]})}export{m as a};
@@ -0,0 +1 @@
1
+ import{BarChart3 as i,CogIcon as a,Building2 as t,BadgeCheck as n}from"lucide-react";import{jsx as e,jsxs as s}from"react/jsx-runtime";function r(){return e("div",{className:"w-full bg-primary text-white p-8 rounded-lg border border-dashed border-white/30",children:s("div",{className:"grid md:grid-cols-4 gap-8 relative",children:[s("div",{className:"space-y-4 bg-primary p-3 rounded-lg",children:[s("div",{className:"flex items-center gap-2 relative z-10",children:[e("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:e("span",{className:"text-[#0B3B4E]",children:"1"})}),e(i,{className:"w-8 h-8"})]}),e("h2",{className:"text-xl font-semibold",children:"Agile Delivery and Leadership in Complex Environments"}),e("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."}),s("ul",{className:"text-sm",children:[e("li",{children:"Strategy definition"}),e("li",{children:"Programme leadership"}),e("li",{children:"Detailed planning"}),e("li",{children:"\u2022 Financial control"}),e("li",{children:"\u2022 Rigorous governance"})]})]}),s("div",{className:"space-y-4",children:[s("div",{className:"flex items-center gap-2 relative z-10",children:[e("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:e("span",{className:"text-[#0B3B4E]",children:"2"})}),e(a,{className:"w-8 h-8"})]}),e("h2",{className:"text-xl font-semibold",children:"Significant Technical Expertise in Cloud, AI, & Data"}),e("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."}),e("p",{className:"text-sm",children:"We deploy highly experienced, multidisciplinary teams skilled in product delivery, architecture, software development, DevOps, and security."})]}),s("div",{className:"space-y-4",children:[s("div",{className:"flex items-center gap-2 relative z-10",children:[e("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:e("span",{className:"text-[#0B3B4E]",children:"3"})}),e(t,{className:"w-8 h-8"})]}),e("h2",{className:"text-xl font-semibold",children:"Deep Public Sector, FS, Regulatory & Security Expertise"}),e("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."}),e("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."})]}),s("div",{className:"space-y-4",children:[s("div",{className:"flex items-center gap-2 relative z-10",children:[e("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:e("span",{className:"text-[#0B3B4E]",children:"4"})}),e(n,{className:"w-8 h-8"})]}),e("h2",{className:"text-xl font-semibold",children:"Extensive track record of delivery within XXXX"}),e("p",{className:"text-sky-200 text-sm",children:"We have collaborated closely with the XXXX since 2020 and understand its technology landscape and ambitions."}),e("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."})]})]})})}export{r as a};
@@ -0,0 +1 @@
1
+ import{Fragment as n,jsx as s,jsxs as r}from"react/jsx-runtime";var i=(e,t)=>`from-brand-${e} to-brand-${t}`;function a({...e}){let t=i(e.brandFrom||"one",e.brandTo||"two");return r("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:[s("p",{className:"text-sm/6 text-primary-foreground",children:e.url?r("a",{href:e.url,children:[s("strong",{className:"font-semibold",children:e.title}),e.message&&s("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:s("circle",{r:1,cx:1,cy:1})}),s("span",{children:e.message&&e.message})]}):r(n,{children:[s("strong",{className:"font-semibold",children:e.title}),e.message&&s("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:s("circle",{r:1,cx:1,cy:1})}),e.message&&e.message]})}),s("div",{className:"flex flex-1 justify-end"})]})}export{a};
@@ -0,0 +1 @@
1
+ import{useRouter as h}from"next/navigation";import{useCallback as p,useEffect as v,useRef as o}from"react";function k({external:b=!1,newTab:d=!1,scroll:w=!0}){let s=h(),r=o(null),t=o(null),c=o(0),u=o(!1),f=o(0),a=p(e=>{if(e.target){let n=e.target,l=+new Date,m=n==null?void 0:n.closest("a");f.current=e.button,m?u.current=!0:(u.current=!1,c.current=l)}},[s,r,t,c]),i=p(e=>{var n,l;if((n=t.current)!=null&&n.href){let E=+new Date-c.current;if((l=t.current)!=null&&l.href&&E<=250&&!u.current&&f.current===0&&!e.ctrlKey)if(b){let T=d?"_blank":"_self";window.open(t.current.href,T)}else s.push(t.current.href,{scroll:w})}},[s,r,t,c]);return v(()=>{let e=r.current;return e&&(e.addEventListener("mousedown",a),e.addEventListener("mouseup",i)),()=>{e&&e&&(e==null||e.removeEventListener("mousedown",a),e==null||e.removeEventListener("mouseup",i))}},[r,t,s]),{card:{ref:r},link:{ref:t}}}var C=k;export{C as a};
@@ -0,0 +1 @@
1
+ import{a as i}from"./chunk-BZVOHDLV.mjs";import{a as n}from"./chunk-OANFAQE4.mjs";import{Fragment as s}from"react";import{jsx as t}from"react/jsx-runtime";var y=o=>{var a;let{className:d,htmlElement:m="div",resource:e}=o,r=typeof e=="object"&&((a=e==null?void 0:e.mimeType)==null?void 0:a.includes("video"));return t(m||s,{...m!==null?{className:d}:{},children:r?t(n,{...o}):t(i,{...o})})};export{y as a};
@@ -0,0 +1 @@
1
+ import{a as d}from"./chunk-6P7CY367.mjs";import{a as p}from"./chunk-6VGO3JR7.mjs";import{a as m}from"./chunk-NIQ4466A.mjs";import A from"next/link";import{Fragment as g}from"react";import{jsx as e,jsxs as s}from"react/jsx-runtime";var j=v=>{let{card:f,link:h}=d({}),{className:u,doc:N,relationTo:y,showCategories:a,title:b}=v,{slug:C,categories:t,meta:F,title:k}=N||{},{description:r,image:o}=F||{},i=t&&Array.isArray(t)&&t.length>0,l=b||k,w=r==null?void 0:r.replace(/\s/g," "),T=`/${y}/${C}`;return s("article",{className:m("border border-border rounded-lg overflow-hidden bg-card hover:cursor-pointer",u),ref:f.ref,children:[s("div",{className:"relative w-full ",children:[!o&&e("div",{className:"",children:"No image"}),o&&typeof o!="string"&&e(p,{resource:o,size:"33vw"})]}),s("div",{className:"p-4",children:[a&&i&&e("div",{className:"uppercase text-sm mb-4",children:a&&i&&e("div",{children:t==null?void 0:t.map((n,c)=>{if(typeof n=="object"){let{title:L}=n,P=L||"Untitled category",z=c===t.length-1;return s(g,{children:[P,!z&&e(g,{children:", \xA0"})]},c)}return null})})}),l&&e("div",{className:"prose",children:e("h3",{children:e(A,{className:"not-prose",href:T,ref:h.ref,children:l})})}),r&&e("div",{className:"mt-2",children:r&&e("p",{children:w})})]})]})};export{j as a};
@@ -0,0 +1,5 @@
1
+ import{a as r}from"./chunk-NIQ4466A.mjs";import n from"next/link";import p from"next/image";import{jsx as o,jsxs as a}from"react/jsx-runtime";var e={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1400px"};function c({slug:s,image:t,title:i,description:l}){return a(n,{href:s,className:"group/portfolio relative z-1 block aspect-[640/916] overflow-hidden rounded-5 p-6 md:p-[1.875rem]",children:[o("span",{className:r("absolute inset-0 z-[2] bg-gradient-1 from-primary/0 to-primary [transition:all_500ms_ease] md:[transform:perspective(400px)_rotateX(90deg)_scaleY(0.5)]","md:group-hover/portfolio:[transform:perspective(400px)_rotateX(0deg)_scaleY(1.0)] md:group-hover/portfolio:[transition-delay:.1s] md:group-hover/portfolio:[transition:all_.7s_ease]")}),o(p,{src:t.src,alt:t.alt,fill:!0,sizes:`
2
+ (min-width:${e.md}) 50vw,
3
+ (min-width:${e.lg}) 25vw,
4
+ 100vw
5
+ `,className:"pointer-events-none [transform:scale(1.05)] [transition:.9s_ease] group-hover/portfolio:[transform:scale(1)]"}),o("div",{className:"relative z-10 flex h-full flex-col",children:a("div",{className:"mt-auto divide-y md:opacity-0 md:transition-[transform,opacity] md:duration-500 md:group-hover/portfolio:opacity-100",children:[o("h3",{className:"overflow-hidden text-md font-bold leading-[1.25] text-white md:text-lg",children:o("span",{className:"block [transition-delay:500ms] [transition:all_.9s_ease] md:[transform:translateY(-100%)] md:group-hover/portfolio:[transform:translateY(0)]",children:i})}),o("p",{className:"mt-[13px] overflow-hidden pt-[11px] text-body",children:o("span",{className:"block [transition-delay:500ms] [transition:all_.9s_ease] md:[transform:translateY(100%)] md:group-hover/portfolio:[transform:translateY(0)]",children:l})})]})})]})}export{c as a};
@@ -0,0 +1 @@
1
+ var e=!!(typeof window!="undefined"&&window.document&&window.document.createElement);export{e as a};
@@ -0,0 +1 @@
1
+ import{b as s}from"./chunk-44TDI42O.mjs";import{a as n}from"./chunk-NIQ4466A.mjs";import P from"next/image";import{jsx as c}from"react/jsx-runtime";var Q={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},u="data:image/png;base64,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",R=m=>{let{alt:w,fill:e,imgClassName:B,priority:d,resource:t,size:i,src:p,loading:I}=m,o,a,r=w,g=p||"";if(!g&&t&&typeof t=="object"){let{alt:A,filename:y,height:D,url:F,width:M}=t;o=M,a=D,r=A||"",g=`${s()}${F}`}let l=I||"lazy",C=i||Object.entries(Q).map(([,A])=>`(max-width: ${A}px) ${A*2}w`).join(", ");return c("picture",{children:c(P,{alt:r||"",className:n(B),fill:e,height:e?void 0:a,placeholder:"blur",blurDataURL:u,priority:l!=="lazy"&&d,quality:100,loading:l,sizes:C,src:g,width:e?void 0:o})})};export{R as a};
@@ -0,0 +1 @@
1
+ import{b as p}from"./chunk-TLXHEFFH.mjs";import{a as s}from"./chunk-NIQ4466A.mjs";import u from"next/link";import{jsx as P,jsxs as c}from"react/jsx-runtime";var v=m=>{let{type:g,appearance:a="inline",children:n,className:l,label:t,newTab:f,reference:e,size:y,url:o}=m,r=g==="reference"&&typeof(e==null?void 0:e.value)=="object"&&e.value.slug?`${(e==null?void 0:e.relationTo)!=="pages"?`/${e==null?void 0:e.relationTo}`:""}/${e.value.slug}`:o;if(!r)return null;let b=a==="link"?"clear":y,i=f?{rel:"noopener noreferrer",target:"_blank"}:{};return a==="inline"?c(u,{className:s(l),href:r||o||"",...i,children:[t&&t,n&&n]}):P(p,{asChild:!0,className:l,size:b,variant:a,children:c(u,{className:s(l),href:r||o||"",...i,children:[t&&t,n&&n]})})};export{v as a};
@@ -0,0 +1,3 @@
1
+ var I=1,_=3,o=0,E=1,T=2,S=0,r=1,n=2,c=1,R=2,L=4,p=8,s=16,N=32,x=64,A=128,F=255,G=1,u=2,O=1,D=2,i=3,l=4,C=5,m=6,a="\xA0";var d=`
2
+
3
+ `,t="\u0591-\u07FF\uFB1D-\uFDFD\uFE70-\uFEFC",e="A-Za-z\xC0-\xD6\xD8-\xF6\xF8-\u02B8\u0300-\u0590\u0800-\u1FFF\u200E\u2C00-\uFB1C\uFE00-\uFE6F\uFEFD-\uFFFF",M=new RegExp("^[^"+e+"]*["+t+"]"),H=new RegExp("^[^"+t+"]*["+e+"]"),P={bold:1,code:16,highlight:128,italic:2,strikethrough:4,subscript:32,superscript:64,underline:8},U={directionless:1,unmergeable:2},y={center:2,end:6,justify:4,left:1,right:3,start:5},B={2:"center",6:"end",4:"justify",1:"left",3:"right",5:"start"},Y={normal:0,segmented:2,token:1},g={0:"normal",2:"segmented",1:"token"};export{I as a,_ as b,o as c,E as d,T as e,S as f,r as g,n as h,c as i,R as j,L as k,p as l,s as m,N as n,x as o,A as p,F as q,G as r,u as s,O as t,D as u,i as v,l as w,C as x,m as y,a as z,d as A,M as B,H as C,P as D,U as E,y as F,B as G,Y as H,g as I};
@@ -0,0 +1 @@
1
+ import l from"next/image";import{jsx as e,jsxs as t}from"react/jsx-runtime";function m(s){let{url:r,mainImage:a,excerpt:i,title:o}=s;return t("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:[a&&e(l,{alt:o||"",src:a,layout:"responsive",width:1170,height:780,className:"rounded-2xl object-cover"}),t("div",{className:"flex flex-1 flex-col p-4",children:[e("div",{className:"mt-2 text-base/7 font-medium text-center group-hover:scale-105 transition-transform duration-200 ease-in-out group-hover:text-primary",children:t("a",{href:r,children:[e("span",{className:"absolute inset-0"}),o]})}),i&&e("div",{className:"mt-2 flex-1 text-sm/6 text-gray-500",children:i})]})]},r)}export{m as a};
@@ -0,0 +1 @@
1
+ import{c as g}from"./chunk-EMNKQTUC.mjs";import{a as c}from"./chunk-NIQ4466A.mjs";import{jsx as e,jsxs as m}from"react/jsx-runtime";var d=({title:r,description:l,features:n})=>m("section",{className:c("container w-full rounded-lg","dark:bg-black dark:text-gray-300 bg-white text-gray-800"),children:[r&&e("h2",{className:"mb-12 text-4xl font-bold tracking-tight md:text-5xl",children:r}),l&&e("p",{className:"mb-5 text-xl font-bold tracking-tight md:text-xl",children:l}),e("div",{className:`grid gap-8 md:grid-cols-${n?n.length:1}`,children:n&&n.map((t,o)=>{var i,s;let a=m("div",{className:"flex flex-col gap-4",children:[e("div",{className:"text-accent h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-200",children:e("i",{className:`${t.icon.type} fa-${t.icon.icon} fa-4x`})}),e("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-200",children:t.title}),typeof t.content!="object"&&e("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:t.content}}),typeof t.content=="object"&&e("div",{className:"text-lg opacity-80",children:e(g,{content:t.content,enableGutter:!1})})]},o);return console.log("link",t.link),t.link?e("a",{href:t.link.url?t.link.url:`/${(i=t.link.reference)==null?void 0:i.relationTo}/${((s=t.link.reference)==null?void 0:s.value).slug}`,className:"no-underline group",children:a},o):a})})]});export{d as a};
@@ -0,0 +1 @@
1
+ import{i as N,j as T,k as g,l as C,m as h,n as P,o as v}from"./chunk-DYHP6A4B.mjs";import{a as p}from"./chunk-CJTRVASG.mjs";import{a as y}from"./chunk-VBYC64I2.mjs";import{a as k}from"./chunk-NEW735FX.mjs";import{a as i}from"./chunk-NIQ4466A.mjs";import{jsx as f}from"react/jsx-runtime";var b=({className:s,content:e,style:a})=>f("div",{className:i("mx-auto my-8 w-full",s),children:f("div",{className:i("border py-3 px-6 flex items-center rounded",{"border-border bg-card":a==="info","border-error bg-error/30":a==="error","border-success bg-success/30":a==="success","border-warning bg-warning/30":a==="warning"}),children:f(n,{content:e,enableGutter:!1,enableProse:!1})})});import S,{Fragment as R}from"react";import{jsx as t}from"react/jsx-runtime";function u({nodes:s}){return t(R,{children:s==null?void 0:s.map((e,a)=>{if(e==null)return null;if(e.type==="text"){let r=t(S.Fragment,{children:e.text},a);return e.format&1&&(r=t("strong",{children:r},a)),e.format&2&&(r=t("em",{children:r},a)),e.format&4&&(r=t("span",{style:{textDecoration:"line-through"},children:r},a)),e.format&8&&(r=t("span",{style:{textDecoration:"underline"},children:r},a)),e.format&16&&(r=t("code",{children:e.text},a)),e.format&32&&(r=t("sub",{children:r},a)),e.format&64&&(r=t("sup",{children:r},a)),r}let c=r=>{if(r.children==null)return null;if((r==null?void 0:r.type)==="list"&&(r==null?void 0:r.listType)==="check")for(let o of r.children)"checked"in o&&(o!=null&&o.checked||(o.checked=!1));return u({nodes:r.children})},l="children"in e?c(e):"";if(e.type==="block"){let r=e.fields,o=r==null?void 0:r.blockType;if(!r||!o)return null;switch(o){case"cta":return t(B,{...r},a);case"mediaBlock":return t(y,{className:"col-start-1 col-span-3",imgClassName:"m-0",...r,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},a);case"banner":return t(b,{className:"col-start-2 mb-4",...r},a);case"code":return t(k,{className:"col-start-2",...r},a);default:return null}}else switch(e.type){case"linebreak":return t("br",{className:"col-start-2"},a);case"paragraph":return t("p",{className:"col-start-2",children:l},a);case"heading":{let r=e==null?void 0:e.tag;return t(r,{className:"col-start-2",children:l},a)}case"list":{let r=e==null?void 0:e.tag;return t(r,{className:"list col-start-2",children:l},a)}case"listitem":return(e==null?void 0:e.checked)!=null?t("li",{"aria-checked":e.checked?"true":"false",className:` ${e.checked,""}`,role:"checkbox",tabIndex:-1,value:e==null?void 0:e.value,children:l},a):t("li",{value:e==null?void 0:e.value,children:l},a);case"quote":return t("blockquote",{className:"col-start-2",children:l},a);case"link":{let r=e.fields;return t(p,{newTab:!!(r!=null&&r.newTab),reference:r.doc,type:r.linkType==="internal"?"reference":"custom",url:r.url,children:l},a)}default:return null}})})}import{jsx as w}from"react/jsx-runtime";var I=({className:s,content:e,enableGutter:a=!0,enableProse:c=!0})=>{var l;return e?w("div",{className:i({"container ":a,"max-w-none":!a,"mx-auto prose dark:prose-invert ":c},s),children:e&&!Array.isArray(e)&&typeof e=="object"&&"root"in e&&u({nodes:(l=e==null?void 0:e.root)==null?void 0:l.children})}):null},n=I;import{jsx as m,jsxs as A}from"react/jsx-runtime";var B=({links:s,richText:e})=>m("div",{className:"container",children:A("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:[m("div",{className:"max-w-[48rem] flex items-center",children:e&&m(n,{className:"mb-0",content:e,enableGutter:!1})}),m("div",{className:"flex flex-col gap-8",children:(s||[]).map(({link:a},c)=>m(p,{size:"lg",...a},c))})]})});export{B as a,u as b,n as c,b as d};
@@ -1 +1 @@
1
- import{a as P,f as B}from"./chunk-RAZKAPLW.mjs";import{a as C}from"./chunk-RBF2IQIG.mjs";import{a as H}from"./chunk-YAZZUJPQ.mjs";import{a as I}from"./chunk-G2GEVAGD.mjs";import{a as M}from"./chunk-FRWX5YES.mjs";import{a as E,b as T,c as _,d as L}from"./chunk-TNVXZARJ.mjs";import{b as N}from"./chunk-TLXHEFFH.mjs";import{a as i}from"./chunk-NIQ4466A.mjs";import*as r from"react";import{Slot as g}from"@radix-ui/react-slot";import{cva as A}from"class-variance-authority";import{PanelLeft as O}from"lucide-react";import{jsx as o,jsxs as S}from"react/jsx-runtime";var G="sidebar:state",K=60*60*24*7,V="16rem",$="18rem",U="3rem",W="b",D=r.createContext(null);function w(){let a=r.useContext(D);if(!a)throw new Error("useSidebar must be used within a SidebarProvider.");return a}var j=r.forwardRef(({defaultOpen:a=!0,open:e,onOpenChange:t,className:n,style:d,children:s,...u},m)=>{let c=M(),[p,b]=r.useState(!1),[v,k]=r.useState(a),f=e!=null?e:v,h=r.useCallback(l=>{if(t)return t==null?void 0:t(typeof l=="function"?l(f):l);k(l),document.cookie=`${G}=${f}; path=/; max-age=${K}`},[t,f]),x=r.useCallback(()=>c?b(l=>!l):h(l=>!l),[c,h,b]);r.useEffect(()=>{let l=R=>{R.key===W&&(R.metaKey||R.ctrlKey)&&(R.preventDefault(),x())};return window.addEventListener("keydown",l),()=>window.removeEventListener("keydown",l)},[x]);let y=f?"expanded":"collapsed",z=r.useMemo(()=>({state:y,open:f,setOpen:h,isMobile:c,openMobile:p,setOpenMobile:b,toggleSidebar:x}),[y,f,h,c,p,b,x]);return o(D.Provider,{value:z,children:o(E,{delayDuration:0,children:o("div",{style:{"--sidebar-width":V,"--sidebar-width-icon":U,...d},className:i("group/sidebar-wrapper flex w-full fixed has-[[data-variant=inset]]:bg-sidebar",n),ref:m,...u,children:s})})})});j.displayName="SidebarProvider";var q=r.forwardRef(({side:a="left",variant:e="sidebar",collapsible:t="offcanvas",className:n,children:d,...s},u)=>{let{isMobile:m,state:c,openMobile:p,setOpenMobile:b}=w();return t==="none"?o("div",{className:i("flex h-full w-[--sidebar-width] flex-col bg-sidebar text-sidebar-foreground",n),ref:u,...s,children:d}):m?o(P,{open:p,onOpenChange:b,...s,children:o(B,{"data-sidebar":"sidebar","data-mobile":"true",className:"w-[--sidebar-width] bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",style:{"--sidebar-width":$},side:a,children:o("div",{className:"flex h-full w-full flex-col",children:d})})}):S("div",{ref:u,className:"group peer hidden md:block text-sidebar-foreground","data-state":c,"data-collapsible":c==="collapsed"?t:"","data-variant":e,"data-side":a,children:[o("div",{className:i("duration-200 relative h-svh w-[--sidebar-width] bg-transparent transition-[width] ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180",e==="floating"||e==="inset"?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4))]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon]")}),o("div",{className:i("duration-200 fixed top-14 bottom-0 z-10 hidden w-[--sidebar-width] transition-[left,right,width] ease-linear md:flex",a==="left"?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",e==="floating"||e==="inset"?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4)_+2px)]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon] group-data-[side=left]:border-r group-data-[side=right]:border-l",n),...s,children:o("div",{"data-sidebar":"sidebar",className:"flex h-full w-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:shadow",children:d})})]})});q.displayName="Sidebar";var F=r.forwardRef(({className:a,onClick:e,...t},n)=>{let{toggleSidebar:d}=w();return S(N,{ref:n,"data-sidebar":"trigger",variant:"ghost",size:"icon",className:i("h-7 w-7",a),onClick:s=>{e==null||e(s),d()},...t,children:[o(O,{}),o("span",{className:"sr-only",children:"Toggle Sidebar"})]})});F.displayName="SidebarTrigger";var X=r.forwardRef(({className:a,...e},t)=>{let{toggleSidebar:n}=w();return o("button",{ref:t,"data-sidebar":"rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:n,title:"Toggle Sidebar",className:i("absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex","[[data-side=left]_&]:cursor-w-resize [[data-side=right]_&]:cursor-e-resize","[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize","group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:bg-sidebar","[[data-side=left][data-collapsible=offcanvas]_&]:-right-2","[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",a),...e})});X.displayName="SidebarRail";var Y=r.forwardRef(({className:a,...e},t)=>o("main",{ref:t,className:i("flex flex-1 flex-col bg-background overflow-y-auto relative max-h-full","md:peer-data-[variant=inset]:m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow",a),...e}));Y.displayName="SidebarInset";var J=r.forwardRef(({className:a,...e},t)=>o(I,{ref:t,"data-sidebar":"input",className:i("h-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",a),...e}));J.displayName="SidebarInput";var Q=r.forwardRef(({className:a,...e},t)=>o("div",{ref:t,"data-sidebar":"header",className:i("flex flex-col gap-2 p-2",a),...e}));Q.displayName="SidebarHeader";var Z=r.forwardRef(({className:a,...e},t)=>o("div",{ref:t,"data-sidebar":"footer",className:i("flex flex-col gap-2 p-2",a),...e}));Z.displayName="SidebarFooter";var ee=r.forwardRef(({className:a,...e},t)=>o(H,{ref:t,"data-sidebar":"separator",className:i("mx-2 w-auto bg-sidebar-border",a),...e}));ee.displayName="SidebarSeparator";var ae=r.forwardRef(({className:a,...e},t)=>o("div",{ref:t,"data-sidebar":"content",className:i("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",a),...e}));ae.displayName="SidebarContent";var te=r.forwardRef(({className:a,...e},t)=>o("div",{ref:t,"data-sidebar":"group",className:i("relative flex w-full min-w-0 flex-col p-2",a),...e}));te.displayName="SidebarGroup";var re=r.forwardRef(({className:a,asChild:e=!1,...t},n)=>o(e?g:"div",{ref:n,"data-sidebar":"group-label",className:i("duration-200 flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 outline-none ring-sidebar-ring transition-[margin,opa] ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",a),...t}));re.displayName="SidebarGroupLabel";var oe=r.forwardRef(({className:a,asChild:e=!1,...t},n)=>o(e?g:"button",{ref:n,"data-sidebar":"group-action",className:i("absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","group-data-[collapsible=icon]:hidden",a),...t}));oe.displayName="SidebarGroupAction";var ie=r.forwardRef(({className:a,...e},t)=>o("div",{ref:t,"data-sidebar":"group-content",className:i("w-full text-sm",a),...e}));ie.displayName="SidebarGroupContent";var ne=r.forwardRef(({className:a,...e},t)=>o("ul",{ref:t,"data-sidebar":"menu",className:i("flex w-full min-w-0 flex-col gap-1",a),...e}));ne.displayName="SidebarMenu";var de=r.forwardRef(({className:a,...e},t)=>o("li",{ref:t,"data-sidebar":"menu-item",className:i("group/menu-item relative",a),...e}));de.displayName="SidebarMenuItem";var se=A("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-none ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!p-2 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",{variants:{variant:{default:"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",outline:"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"},size:{default:"h-8 text-sm",sm:"h-7 text-xs",lg:"h-12 text-sm group-data-[collapsible=icon]:!p-0"}},defaultVariants:{variant:"default",size:"default"}}),le=r.forwardRef(({asChild:a=!1,isActive:e=!1,variant:t="default",size:n="default",tooltip:d,className:s,...u},m)=>{let c=a?g:"button",{isMobile:p,state:b}=w(),v=o(c,{ref:m,"data-sidebar":"menu-button","data-size":n,"data-active":e,className:i(se({variant:t,size:n}),s),...u});return d?(typeof d=="string"&&(d={children:d}),S(T,{children:[o(_,{asChild:!0,children:v}),o(L,{side:"right",align:"center",hidden:b!=="collapsed"||p,...d})]})):v});le.displayName="SidebarMenuButton";var ce=r.forwardRef(({className:a,asChild:e=!1,showOnHover:t=!1,...n},d)=>o(e?g:"button",{ref:d,"data-sidebar":"menu-action",className:i("absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 peer-hover/menu-button:text-sidebar-accent-foreground [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",t&&"group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 peer-data-[active=true]/menu-button:text-sidebar-accent-foreground md:opacity-0",a),...n}));ce.displayName="SidebarMenuAction";var be=r.forwardRef(({className:a,...e},t)=>o("div",{ref:t,"data-sidebar":"menu-badge",className:i("absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums text-sidebar-foreground select-none pointer-events-none","peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",a),...e}));be.displayName="SidebarMenuBadge";var ue=r.forwardRef(({className:a,showIcon:e=!1,...t},n)=>{let d=r.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return S("div",{ref:n,"data-sidebar":"menu-skeleton",className:i("rounded-md h-8 flex gap-2 px-2 items-center",a),...t,children:[e&&o(C,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),o(C,{className:"h-4 flex-1 max-w-[--skeleton-width]","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":d}})]})});ue.displayName="SidebarMenuSkeleton";var pe=r.forwardRef(({className:a,...e},t)=>o("ul",{ref:t,"data-sidebar":"menu-sub",className:i("mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",a),...e}));pe.displayName="SidebarMenuSub";var fe=r.forwardRef(({...a},e)=>o("li",{ref:e,...a}));fe.displayName="SidebarMenuSubItem";var me=r.forwardRef(({asChild:a=!1,size:e="md",isActive:t,className:n,...d},s)=>o(a?g:"a",{ref:s,"data-sidebar":"menu-sub-button","data-size":e,"data-active":t,className:i("flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground outline-none ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground","data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",e==="sm"&&"text-xs",e==="md"&&"text-sm","group-data-[collapsible=icon]:hidden",n),...d}));me.displayName="SidebarMenuSubButton";export{w as a,j as b,q as c,F as d,X as e,Y as f,J as g,Q as h,Z as i,ee as j,ae as k,te as l,re as m,oe as n,ie as o,ne as p,de as q,le as r,ce as s,be as t,ue as u,pe as v,fe as w,me as x};
1
+ import{a as H}from"./chunk-YAZZUJPQ.mjs";import{a as P,f as B}from"./chunk-RAZKAPLW.mjs";import{a as C}from"./chunk-RBF2IQIG.mjs";import{a as I}from"./chunk-G2GEVAGD.mjs";import{a as M}from"./chunk-FRWX5YES.mjs";import{a as E,b as T,c as _,d as L}from"./chunk-TNVXZARJ.mjs";import{b as N}from"./chunk-TLXHEFFH.mjs";import{a as i}from"./chunk-NIQ4466A.mjs";import*as r from"react";import{Slot as g}from"@radix-ui/react-slot";import{cva as A}from"class-variance-authority";import{PanelLeft as O}from"lucide-react";import{jsx as o,jsxs as S}from"react/jsx-runtime";var G="sidebar:state",K=60*60*24*7,V="16rem",$="18rem",U="3rem",W="b",D=r.createContext(null);function w(){let a=r.useContext(D);if(!a)throw new Error("useSidebar must be used within a SidebarProvider.");return a}var j=r.forwardRef(({defaultOpen:a=!0,open:e,onOpenChange:t,className:n,style:d,children:s,...u},m)=>{let c=M(),[p,b]=r.useState(!1),[v,k]=r.useState(a),f=e!=null?e:v,h=r.useCallback(l=>{if(t)return t==null?void 0:t(typeof l=="function"?l(f):l);k(l),document.cookie=`${G}=${f}; path=/; max-age=${K}`},[t,f]),x=r.useCallback(()=>c?b(l=>!l):h(l=>!l),[c,h,b]);r.useEffect(()=>{let l=R=>{R.key===W&&(R.metaKey||R.ctrlKey)&&(R.preventDefault(),x())};return window.addEventListener("keydown",l),()=>window.removeEventListener("keydown",l)},[x]);let y=f?"expanded":"collapsed",z=r.useMemo(()=>({state:y,open:f,setOpen:h,isMobile:c,openMobile:p,setOpenMobile:b,toggleSidebar:x}),[y,f,h,c,p,b,x]);return o(D.Provider,{value:z,children:o(E,{delayDuration:0,children:o("div",{style:{"--sidebar-width":V,"--sidebar-width-icon":U,...d},className:i("group/sidebar-wrapper flex w-full fixed has-[[data-variant=inset]]:bg-sidebar",n),ref:m,...u,children:s})})})});j.displayName="SidebarProvider";var q=r.forwardRef(({side:a="left",variant:e="sidebar",collapsible:t="offcanvas",className:n,children:d,...s},u)=>{let{isMobile:m,state:c,openMobile:p,setOpenMobile:b}=w();return t==="none"?o("div",{className:i("flex h-full w-[--sidebar-width] flex-col bg-sidebar text-sidebar-foreground",n),ref:u,...s,children:d}):m?o(P,{open:p,onOpenChange:b,...s,children:o(B,{"data-sidebar":"sidebar","data-mobile":"true",className:"w-[--sidebar-width] bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",style:{"--sidebar-width":$},side:a,children:o("div",{className:"flex h-full w-full flex-col",children:d})})}):S("div",{ref:u,className:"group peer hidden md:block text-sidebar-foreground","data-state":c,"data-collapsible":c==="collapsed"?t:"","data-variant":e,"data-side":a,children:[o("div",{className:i("duration-200 relative h-svh w-[--sidebar-width] bg-transparent transition-[width] ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180",e==="floating"||e==="inset"?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4))]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon]")}),o("div",{className:i("duration-200 fixed top-14 bottom-0 z-10 hidden w-[--sidebar-width] transition-[left,right,width] ease-linear md:flex",a==="left"?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",e==="floating"||e==="inset"?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4)_+2px)]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon] group-data-[side=left]:border-r group-data-[side=right]:border-l",n),...s,children:o("div",{"data-sidebar":"sidebar",className:"flex h-full w-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:shadow",children:d})})]})});q.displayName="Sidebar";var F=r.forwardRef(({className:a,onClick:e,...t},n)=>{let{toggleSidebar:d}=w();return S(N,{ref:n,"data-sidebar":"trigger",variant:"ghost",size:"icon",className:i("h-7 w-7",a),onClick:s=>{e==null||e(s),d()},...t,children:[o(O,{}),o("span",{className:"sr-only",children:"Toggle Sidebar"})]})});F.displayName="SidebarTrigger";var X=r.forwardRef(({className:a,...e},t)=>{let{toggleSidebar:n}=w();return o("button",{ref:t,"data-sidebar":"rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:n,title:"Toggle Sidebar",className:i("absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex","[[data-side=left]_&]:cursor-w-resize [[data-side=right]_&]:cursor-e-resize","[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize","group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:bg-sidebar","[[data-side=left][data-collapsible=offcanvas]_&]:-right-2","[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",a),...e})});X.displayName="SidebarRail";var Y=r.forwardRef(({className:a,...e},t)=>o("main",{ref:t,className:i("flex flex-1 flex-col bg-background overflow-y-auto relative max-h-full","md:peer-data-[variant=inset]:m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow",a),...e}));Y.displayName="SidebarInset";var J=r.forwardRef(({className:a,...e},t)=>o(I,{ref:t,"data-sidebar":"input",className:i("h-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",a),...e}));J.displayName="SidebarInput";var Q=r.forwardRef(({className:a,...e},t)=>o("div",{ref:t,"data-sidebar":"header",className:i("flex flex-col gap-2 p-2",a),...e}));Q.displayName="SidebarHeader";var Z=r.forwardRef(({className:a,...e},t)=>o("div",{ref:t,"data-sidebar":"footer",className:i("flex flex-col gap-2 p-2",a),...e}));Z.displayName="SidebarFooter";var ee=r.forwardRef(({className:a,...e},t)=>o(H,{ref:t,"data-sidebar":"separator",className:i("mx-2 w-auto bg-sidebar-border",a),...e}));ee.displayName="SidebarSeparator";var ae=r.forwardRef(({className:a,...e},t)=>o("div",{ref:t,"data-sidebar":"content",className:i("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",a),...e}));ae.displayName="SidebarContent";var te=r.forwardRef(({className:a,...e},t)=>o("div",{ref:t,"data-sidebar":"group",className:i("relative flex w-full min-w-0 flex-col p-2",a),...e}));te.displayName="SidebarGroup";var re=r.forwardRef(({className:a,asChild:e=!1,...t},n)=>o(e?g:"div",{ref:n,"data-sidebar":"group-label",className:i("duration-200 flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 outline-none ring-sidebar-ring transition-[margin,opa] ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",a),...t}));re.displayName="SidebarGroupLabel";var oe=r.forwardRef(({className:a,asChild:e=!1,...t},n)=>o(e?g:"button",{ref:n,"data-sidebar":"group-action",className:i("absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","group-data-[collapsible=icon]:hidden",a),...t}));oe.displayName="SidebarGroupAction";var ie=r.forwardRef(({className:a,...e},t)=>o("div",{ref:t,"data-sidebar":"group-content",className:i("w-full text-sm",a),...e}));ie.displayName="SidebarGroupContent";var ne=r.forwardRef(({className:a,...e},t)=>o("ul",{ref:t,"data-sidebar":"menu",className:i("flex w-full min-w-0 flex-col gap-1",a),...e}));ne.displayName="SidebarMenu";var de=r.forwardRef(({className:a,...e},t)=>o("li",{ref:t,"data-sidebar":"menu-item",className:i("group/menu-item relative",a),...e}));de.displayName="SidebarMenuItem";var se=A("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-none ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!p-2 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",{variants:{variant:{default:"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",outline:"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"},size:{default:"h-8 text-sm",sm:"h-7 text-xs",lg:"h-12 text-sm group-data-[collapsible=icon]:!p-0"}},defaultVariants:{variant:"default",size:"default"}}),le=r.forwardRef(({asChild:a=!1,isActive:e=!1,variant:t="default",size:n="default",tooltip:d,className:s,...u},m)=>{let c=a?g:"button",{isMobile:p,state:b}=w(),v=o(c,{ref:m,"data-sidebar":"menu-button","data-size":n,"data-active":e,className:i(se({variant:t,size:n}),s),...u});return d?(typeof d=="string"&&(d={children:d}),S(T,{children:[o(_,{asChild:!0,children:v}),o(L,{side:"right",align:"center",hidden:b!=="collapsed"||p,...d})]})):v});le.displayName="SidebarMenuButton";var ce=r.forwardRef(({className:a,asChild:e=!1,showOnHover:t=!1,...n},d)=>o(e?g:"button",{ref:d,"data-sidebar":"menu-action",className:i("absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 peer-hover/menu-button:text-sidebar-accent-foreground [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",t&&"group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 peer-data-[active=true]/menu-button:text-sidebar-accent-foreground md:opacity-0",a),...n}));ce.displayName="SidebarMenuAction";var be=r.forwardRef(({className:a,...e},t)=>o("div",{ref:t,"data-sidebar":"menu-badge",className:i("absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums text-sidebar-foreground select-none pointer-events-none","peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",a),...e}));be.displayName="SidebarMenuBadge";var ue=r.forwardRef(({className:a,showIcon:e=!1,...t},n)=>{let d=r.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return S("div",{ref:n,"data-sidebar":"menu-skeleton",className:i("rounded-md h-8 flex gap-2 px-2 items-center",a),...t,children:[e&&o(C,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),o(C,{className:"h-4 flex-1 max-w-[--skeleton-width]","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":d}})]})});ue.displayName="SidebarMenuSkeleton";var pe=r.forwardRef(({className:a,...e},t)=>o("ul",{ref:t,"data-sidebar":"menu-sub",className:i("mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",a),...e}));pe.displayName="SidebarMenuSub";var fe=r.forwardRef(({...a},e)=>o("li",{ref:e,...a}));fe.displayName="SidebarMenuSubItem";var me=r.forwardRef(({asChild:a=!1,size:e="md",isActive:t,className:n,...d},s)=>o(a?g:"a",{ref:s,"data-sidebar":"menu-sub-button","data-size":e,"data-active":t,className:i("flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground outline-none ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground","data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",e==="sm"&&"text-xs",e==="md"&&"text-sm","group-data-[collapsible=icon]:hidden",n),...d}));me.displayName="SidebarMenuSubButton";export{w as a,j as b,q as c,F as d,X as e,Y as f,J as g,Q as h,Z as i,ee as j,ae as k,te as l,re as m,oe as n,ie as o,ne as p,de as q,le as r,ce as s,be as t,ue as u,pe as v,fe as w,me as x};
@@ -0,0 +1 @@
1
+ import{a as r}from"./chunk-TLXHEFFH.mjs";import{a as t}from"./chunk-NIQ4466A.mjs";import{ChevronLeft as m,ChevronRight as c,MoreHorizontal as P}from"lucide-react";import*as i from"react";import{jsx as o,jsxs as p}from"react/jsx-runtime";var g=({className:n,...a})=>o("nav",{"aria-label":"pagination",className:t("mx-auto flex w-full justify-center",n),role:"navigation",...a});g.displayName="Pagination";var f=i.forwardRef(({className:n,...a},e)=>o("ul",{className:t("flex flex-row items-center gap-1",n),ref:e,...a}));f.displayName="PaginationContent";var u=i.forwardRef(({className:n,...a},e)=>o("li",{className:t("",n),ref:e,...a}));u.displayName="PaginationItem";var s=({className:n,isActive:a,size:e="icon",...l})=>o("button",{"aria-current":a?"page":void 0,className:t(r({size:e,variant:a?"outline":"ghost"}),n),...l});s.displayName="PaginationLink";var N=({className:n,...a})=>p(s,{"aria-label":"Go to previous page",className:t("gap-1 pl-2.5",n),size:"default",...a,children:[o(m,{className:"h-4 w-4"}),o("span",{children:"Previous"})]});N.displayName="PaginationPrevious";var d=({className:n,...a})=>p(s,{"aria-label":"Go to next page",className:t("gap-1 pr-2.5",n),size:"default",...a,children:[o("span",{children:"Next"}),o(c,{className:"h-4 w-4"})]});d.displayName="PaginationNext";var y=({className:n,...a})=>p("span",{"aria-hidden":!0,className:t("flex h-9 w-9 items-center justify-center",n),...a,children:[o(P,{className:"h-4 w-4"}),o("span",{className:"sr-only",children:"More pages"})]});y.displayName="PaginationEllipsis";export{g as a,f as b,u as c,s as d,N as e,d as f,y as g};
@@ -0,0 +1 @@
1
+ import{a as o}from"./chunk-VI6PF7VY.mjs";import{jsx as e}from"react/jsx-runtime";var c=({className:r,code:t,language:p})=>e("div",{className:[r,"not-prose"].filter(Boolean).join(" "),children:e(o,{code:t,language:p})});export{c as a};
@@ -0,0 +1 @@
1
+ import{b as i}from"./chunk-44TDI42O.mjs";import{a as s}from"./chunk-NIQ4466A.mjs";import{useEffect as a,useRef as d}from"react";import{jsx as r}from"react/jsx-runtime";var v=n=>{let{onClick:c,resource:o,videoClassName:l}=n,t=d(null);if(a(()=>{let{current:e}=t;e&&e.addEventListener("suspend",()=>{})},[]),o&&typeof o=="object"){let{filename:e}=o;return r("video",{autoPlay:!0,className:s(l),controls:!1,loop:!0,muted:!0,onClick:c,playsInline:!0,ref:t,children:r("source",{src:`${i()}/media/${e}`})})}return null};export{v as a};
@@ -0,0 +1 @@
1
+ import{jsx as a}from"react/jsx-runtime";var s=({type:t="solid",iconName:n="cloud",size:e="lg",className:o})=>{let c="fa-"+t+" ",i="fa-"+n,x=o!=null?o:"",r=c+i+" fa-"+e+" "+x;return a("i",{className:r})},l=s;export{l as a};
@@ -0,0 +1 @@
1
+ import{c}from"./chunk-EMNKQTUC.mjs";import{a as s}from"./chunk-CJTRVASG.mjs";import{a as e}from"./chunk-NIQ4466A.mjs";import{jsx as o,jsxs as f}from"react/jsx-runtime";var h=a=>{let{columns:t}=a,r={full:"12",half:"6",oneThird:"4",twoThirds:"8"};return o("div",{className:"container my-6",children:o("div",{className:"grid grid-cols-4 lg:grid-cols-12 gap-y-8 gap-x-16",children:t&&t.length>0&&t.map((i,p)=>{let{enableLink:m,link:d,richText:n,size:l}=i;return f("div",{className:e(`col-span-4 lg:col-span-${r[l]}`,{"md:col-span-2":l!=="full"}),children:[n&&o(c,{content:n,enableGutter:!1}),m&&o(s,{...d})]},p)})})})};export{h as a};
@@ -0,0 +1 @@
1
+ import{a as n}from"./chunk-OTS4QNQ2.mjs";import{Fragment as m,jsx as e,jsxs as c}from"react/jsx-runtime";function o({icon:i,title:s,body:t,color:p="secondary"}){return e(m,{children:c("div",{className:"flex py-0 min-h-16",children:[e("div",{className:"px-[2%] flex items-center",children:e("div",{className:"w-12 h-12",children:e(n,{type:i.type,iconName:i.name})})}),e("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[30%]",children:s}),t&&e("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[50%]",children:t})]})})}export{o as a};
@@ -0,0 +1 @@
1
+ import{b as e}from"./chunk-TLXHEFFH.mjs";import{ClipboardCopy as p}from"lucide-react";import{useState as r}from"react";import{jsx as t,jsxs as s}from"react/jsx-runtime";function u({code:a}){let[o,i]=r("Copy");function n(){o==="Copy"&&(i(()=>"Copied!"),setTimeout(()=>{i(()=>"Copy")},1e3))}return t("div",{className:"flex justify-end align-middle",children:s(e,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(a),n()},children:[t("p",{children:o}),t("div",{className:"w-6 h-6 dark:invert",children:t(p,{})})]})})}export{u as a};
@@ -0,0 +1 @@
1
+ import{a as i,b as r,c as n,e as o}from"./chunk-MA5FR2EM.mjs";import{Users as g,FileText as u,Lightbulb as f,PoundSterling as h,User as d,Users2 as v}from"lucide-react";import{jsx as e,jsxs as t}from"react/jsx-runtime";function y({teamMembers:l={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:m=[{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:c=["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:p="\xA3150,000 for delivery of listed outputs"}){return t("div",{className:"grid gap-6 lg:grid-cols-3",children:[t("div",{className:"lg:col-span-1 space-y-6 flex flex-col",children:[t(i,{className:"flex-grow",children:[e(r,{className:"bg-primary text-primary-foreground",children:t(n,{className:"flex items-center gap-2",children:[e(g,{className:"h-5 w-5"}),"Team"]})}),t(o,{className:"p-6",children:[e("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:"}),t("div",{className:"space-y-6",children:[e("div",{className:"space-y-2",children:l.leadership.map((a,s)=>t("div",{className:"flex items-center justify-between",children:[t("div",{className:"flex items-center gap-2",children:[e(d,{className:"h-4 w-4 text-muted-foreground"}),e("span",{children:a.role})]}),a.isFTE&&e("span",{className:"text-xs text-muted-foreground",children:"(FTE)"})]},s))}),e("div",{className:"space-y-2",children:l.core.map((a,s)=>t("div",{className:"flex items-center justify-between",children:[t("div",{className:"flex items-center gap-2",children:[e(d,{className:"h-4 w-4 text-muted-foreground"}),e("span",{children:a.role}),a.count&&t("span",{children:["(",a.count,"x)"]})]}),a.isFTE&&e("span",{className:"text-xs text-muted-foreground",children:"(FTE)"})]},s))}),t("div",{children:[t("div",{className:"flex items-center gap-2 mb-2",children:[e(v,{className:"h-4 w-4 text-muted-foreground"}),e("span",{children:"SME input:"})]}),e("div",{className:"ml-6 text-sm text-muted-foreground",children:l.sme.join(", ")})]})]})]})]}),t(i,{children:[e(r,{className:"bg-primary text-primary-foreground",children:t(n,{className:"flex items-center gap-2",children:[e(h,{className:"h-5 w-5"}),"Fee"]})}),e(o,{className:"p-6",children:e("p",{className:"text-lg font-semibold",children:p})})]})]}),t(i,{className:"lg:col-span-1 flex flex-col",children:[e(r,{className:"bg-primary text-primary-foreground",children:t(n,{className:"flex items-center gap-2",children:[e(u,{className:"h-5 w-5"}),"Outputs"]})}),t(o,{className:"p-6 flex-grow overflow-auto",children:[e("ol",{className:"list-decimal list-inside space-y-4",children:m.map((a,s)=>t("li",{className:"text-sm",children:[t("span",{className:"font-medium",children:[a.title,":"]})," ",e("span",{className:"text-muted-foreground",children:a.description})]},s))}),e("p",{className:"mt-6 text-sm italic text-muted-foreground",children:"Delivered within 8 weeks from start date of engagement."})]})]}),t(i,{className:"lg:col-span-1 flex flex-col",children:[e(r,{className:"bg-primary text-primary-foreground",children:t(n,{className:"flex items-center gap-2",children:[e(f,{className:"h-5 w-5"}),"Benefits"]})}),e(o,{className:"p-6 flex-grow overflow-auto",children:e("ul",{className:"space-y-4",children:c.map((a,s)=>t("li",{className:"flex gap-2 text-sm",children:[e("span",{className:"text-primary",children:"\u2713"}),e("span",{children:a})]},s))})})]})]})}export{y as a};
@@ -0,0 +1 @@
1
+ import{a as o,e as a}from"./chunk-MA5FR2EM.mjs";import n from"next/image";import s from"next/link";import{jsx as r,jsxs as l}from"react/jsx-runtime";function d({name:t,logo:e,href:i}){return r(o,{className:"w-full max-w-sm overflow-hidden transition-all duration-300 ring-0 hover:shadow-lg group",children:l(s,{href:i,className:"block",children:[r("div",{className:"bg-white p-2 flex items-center justify-center h-24",children:r("div",{className:"relative w-full h-full",children:e&&r(n,{src:e,alt:`${t} logo`,layout:"fill",objectFit:"contain"})})}),r(a,{className:"p-3 flex items-center justify-center h-18 bg-gradient-to-br from-gray-900 via-brand-one to-gray-900",children:r("p",{className:"font-medium text-lg text-white text-center group-hover:scale-105 transition-transform duration-200 ease-in-out",children:t})})]})})}export{d as a};
@@ -0,0 +1 @@
1
+ import{a as m,d,f as p,g as f,i as u}from"./chunk-OQNGQGJV.mjs";import w from"next/image";import a from"path";import{useState as s}from"react";import{Fragment as z,jsx as o,jsxs as c}from"react/jsx-runtime";function N(t){try{let e=new URL(t),{hostname:n}=e;return n.endsWith("sharepoint.com")}catch{return!1}}function W(t){return t.startsWith("http")}function v(t,e){let n=t;if(N(t))n=`/docs/api/content/sharepoint?url=${t}`;else if(W(t))n=t;else if(e.source==="github"){let i=t.replace("./","");if(i.startsWith("/")&&(i=i.slice(1)),e.linked){if(e.linked.path){let r=a.dirname(e.linked.path);r.startsWith(".")||(i=`${r}/${i}`)}n=`/docs/docs/api/github/content?owner=${e.linked.owner}&repo=${e.linked.repo}&path=${i}&branch=${e.linked.branch}`}else{if(e.file){let r=a.dirname(e.file);r.startsWith(".")||(i=`${r}/${i}`)}n=`/docs/docs/api/github/content?owner=${e.owner}&repo=${e.repo}&path=${i}&branch=${e.branch}`}}else if(t.startsWith("/"))n=t;else if(t.startsWith("./")){let i=t.replace("./","");e.file&&(i=`/${a.dirname(e.file)}/${i}`),n=i}else n="/image-not-found.png";return n}function S({src:t,alt:e}){let[n,i]=s(!1),[r,$]=s(!1),[l,y]=s({width:0,height:0}),k=()=>{r&&i(!0)},L=()=>{i(!1)},I=D=>{let{naturalWidth:h,naturalHeight:g}=D.target;y({width:h,height:g}),$(h>300||g>300)};return c(z,{children:[o("div",{className:`relative mx-auto my-4 flex justify-center items-center cursor-pointer ${l.height>300?"h-[300px]":`h-[${l.height}px]`}`,onClick:k,children:o(w,{sizes:"100vw",height:l.height,width:l.width,src:t,alt:e||"",onLoad:I,unoptimized:!0,className:"object-contain max-w-full max-h-full"})}),o(m,{open:n,onOpenChange:i,children:c(p,{className:"flex flex-col items-center justify-center",children:[c(f,{className:"flex w-full justify-end",children:[o(u,{className:"hidden",children:e}),o(d,{})]}),o("div",{className:"flex items-center justify-center",children:o(w,{height:l.height,width:l.width,src:t,alt:e||"",unoptimized:!0,className:"object-contain"})})]})})]})}function j({props:t,baseContext:e}){let{src:n}=t;return n=v(n,e),o(S,{src:n,alt:t.alt})}export{j as a};
@@ -0,0 +1 @@
1
+ import{a}from"./chunk-6VGO3JR7.mjs";import{a as e}from"./chunk-NIQ4466A.mjs";import{jsx as o}from"react/jsx-runtime";var p=r=>{let{className:t,enableGutter:i=!0,imgClassName:s,media:m,staticImage:c}=r;return o("div",{className:e("",{container:i},t),children:o(a,{imgClassName:e("border border-border rounded-[0.8rem]",s),resource:m,src:c})})};export{p as a};
@@ -0,0 +1 @@
1
+ import{a as o}from"./chunk-PV4EARTR.mjs";import{Highlight as i,themes as d}from"prism-react-renderer";import{jsx as e,jsxs as s}from"react/jsx-runtime";var u=({code:t,language:l=""})=>t?e(i,{code:t,language:l,theme:d.vsDark,children:({getLineProps:p,getTokenProps:n,tokens:m})=>s("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[m.map((a,r)=>s("div",{...p({className:"table-row",line:a}),children:[e("span",{className:"table-cell select-none text-right text-white/25",children:r+1}),e("span",{className:"table-cell pl-4",children:a.map((c,g)=>e("span",{...n({token:c})},g))})]},r)),e(o,{code:t})]})}):null;export{u as a};
@@ -0,0 +1 @@
1
+ import{a as v,b,c as g}from"./chunk-IYOWTF4E.mjs";import{b as w}from"./chunk-NQ4FAZ5U.mjs";import{a as i,b as m,c as d,e as p}from"./chunk-MA5FR2EM.mjs";import{CalendarDays as h,Cake as y,Award as C,PartyPopper as N}from"lucide-react";import{jsx as a,jsxs as e}from"react/jsx-runtime";function k({eventType:r="birthday",date:s="",title:n="",description:o="",avatarSrc:c}){let f=t=>{switch(t){case"birthday":return a(y,{className:"h-4 w-4"});case"workAnniversary":return a(C,{className:"h-4 w-4"});case"companyEvent":return a(N,{className:"h-4 w-4"});default:return a(h,{className:"h-4 w-4"})}},l=t=>{switch(t){case"birthday":return"from-brand-one-500 to-brand-one-800";case"workAnniversary":return"from-brand-two-500 to-brand-two-700";case"companyEvent":return"from-brand-two-300 to-brand-two-700";default:return"from-gray-500 to-slate-500"}};return e(i,{className:`w-full max-w-md overflow-hidden bg-gradient-to-br ${l(r)}`,children:[e(m,{className:"flex flex-row items-center gap-3 text-white",children:[c&&e(v,{className:"h-14 w-14 border-2 border-white",children:[a(b,{src:c,alt:n||"Event"}),a(g,{className:"bg-white text-gray-900",children:n?n.charAt(0).toUpperCase():"?"})]}),e("div",{className:"flex flex-col",children:[a(d,{className:"text-xl",children:n||"Untitled Event"}),e("p",{className:"text-sm text-white/80",children:[a(h,{className:"mr-1 inline-block h-4 w-4"}),s?new Date(s).toLocaleDateString():"Date not specified"]})]})]}),e(p,{className:"bg-white bg-opacity-80 p-4",children:[o&&a("p",{className:"mb-2 text-sm text-gray-700",children:o}),e(w,{variant:"secondary",className:`bg-gradient-to-br ${l(r)} text-white/80`,children:[f(r),a("span",{className:"ml-1",children:r?r.replace(/([a-z])([A-Z])/g,"$1 $2").split(" ").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(" "):"Event"})]})]})]})}export{k as a};
@@ -0,0 +1 @@
1
+ import y,{useState as p}from"react";import{ChevronRight as D,ChevronDown as M,Users as x,Code as g,GanttChart as b,DraftingCompass as C,Search as w}from"lucide-react";import{jsx as e,jsxs as o}from"react/jsx-runtime";var N={Architecture:e(C,{className:"h-5 w-5 text-blue-600"}),Engineering:e(g,{className:"h-5 w-5 text-green-600"}),Development:e(g,{className:"h-5 w-5 text-purple-600"}),Delivery:e(b,{className:"h-5 w-5 text-red-600"})},S=({person:r,level:t,onToggle:a,isExpanded:n,isHighlighted:s})=>{let l=r.reports.length>0;return e("div",{className:`ml-${t*4} mb-2`,children:o("div",{className:`flex items-center p-3 rounded-lg shadow-sm border ${s?"bg-card border-primary":"bg-white border-gray-200"}`,children:[l&&e("button",{onClick:a,className:"mr-2","aria-label":n?"Collapse":"Expand",children:n?e(M,{className:"h-4 w-4"}):e(D,{className:"h-4 w-4"})}),e("div",{className:"w-10 h-10 bg-gray-200 rounded-full flex items-center justify-center mr-3",children:e(x,{className:"h-6 w-6 text-gray-500"})}),o("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:r.name}),o("div",{className:"flex items-center mt-1",children:[N[r.discipline],e("span",{className:"ml-1 text-xs text-gray-600",children:r.discipline})]})]}),e("span",{className:"ml-auto text-xs font-medium text-gray-500 bg-gray-100 px-2 py-1 rounded",children:r.grade})]})})},m=({person:r,level:t,searchTerm:a})=>{let[n,s]=p(t<1),l=()=>s(!n),c=i=>i.name.toLowerCase().includes(a.toLowerCase())||i.discipline.toLowerCase().includes(a.toLowerCase())||i.grade.toLowerCase().includes(a.toLowerCase()),d=i=>c(i)||i.reports.some(d),u=a===""||d(r),h=c(r);return y.useEffect(()=>{a!==""&&d(r)&&s(!0)},[a,r]),u?o("div",{children:[e(S,{person:r,level:t,onToggle:l,isExpanded:n,isHighlighted:h}),n&&r.reports.map((i,v)=>e(m,{person:i,level:t+1,searchTerm:a},v))]}):null};function L(){let[r,t]=p("");return o("div",{className:"max-w-5xl mx-auto p-6",children:[e("h2",{className:"text-2xl font-bold mb-6 text-center text-gray-800",children:"Who's who"}),o("div",{className:"mb-4 relative",children:[e("input",{type:"text",placeholder:"Search by name, discipline, or grade",value:r,onChange:n=>t(n.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"}),e(w,{className:"absolute right-3 top-2.5 h-5 w-5 text-gray-400"})]}),e("div",{className:"space-y-4",children:[{name:"Alice Johnson",discipline:"Architecture",grade:"Director",reports:[{name:"Bob Smith",discipline:"Engineering",grade:"Senior Manager",reports:[{name:"Charlie Brown",discipline:"Development",grade:"Manager",reports:[]},{name:"Diana Ross",discipline:"Engineering",grade:"Manager",reports:[]},{name:"Edward Norton",discipline:"Engineering",grade:"Manager",reports:[]}]},{name:"Fiona Apple",discipline:"Architecture",grade:"Senior Manager",reports:[{name:"George Clooney",discipline:"Architecture",grade:"Manager",reports:[]},{name:"Helen Mirren",discipline:"Architecture",grade:"Manager",reports:[]},{name:"Ian McKellen",discipline:"Architecture",grade:"Manager",reports:[]}]},{name:"Julia Roberts",discipline:"Development",grade:"Senior Manager",reports:[{name:"Kevin Spacey",discipline:"Development",grade:"Manager",reports:[]},{name:"Liam Neeson",discipline:"Development",grade:"Manager",reports:[]},{name:"Meryl Streep",discipline:"Development",grade:"Manager",reports:[]}]}]},{name:"Nicole Kidman",discipline:"Delivery",grade:"Director",reports:[{name:"Owen Wilson",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Penelope Cruz",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Quentin Tarantino",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Rachel McAdams",discipline:"Delivery",grade:"Manager",reports:[]}]},{name:"Samuel L. Jackson",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Tom Hanks",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Uma Thurman",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Viola Davis",discipline:"Delivery",grade:"Manager",reports:[]}]},{name:"Will Smith",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Xavier Dolan",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Yalitza Aparicio",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Zoe Saldana",discipline:"Delivery",grade:"Manager",reports:[]}]}]}].map((n,s)=>e(m,{person:n,level:0,searchTerm:r},s))})]})}export{L as a};
@@ -0,0 +1 @@
1
+ import{b as u}from"./chunk-NQ4FAZ5U.mjs";import{a as m,e as g}from"./chunk-MA5FR2EM.mjs";import x from"next/image";import{Quote as p}from"lucide-react";import{jsx as t,jsxs as a}from"react/jsx-runtime";function b(l){let s=l.replace("#",""),r=parseInt(s.substring(0,2),16),n=parseInt(s.substring(2,4),16),e=parseInt(s.substring(4,6),16);return(r*299+n*587+e*114)/1e3<128}function N({customerName:l="Acme Corporation",logoUrl:s,industry:r,projectDescription:n="Revolutionizing widget production with cloud technology",color:e="#3B82F6",quote:o,metrics:v=[],children:h=null}){var c;let d=((c=[{label:"Technology",value:"technology"},{label:"Finance",value:"finance"},{label:"Healthcare",value:"healthcare"},{label:"Retail",value:"retail"}].find(i=>i.value===r))==null?void 0:c.label)||void 0,y=b(e)?"text-white":"text-gray-900",w=b(e)?"white":e;return t(m,{className:"w-full max-w-4xl mx-auto overflow-hidden shadow-lg",children:a(g,{className:"p-0",children:[a("div",{className:`flex items-center ${y}`,style:{background:`linear-gradient(to right, ${e}, ${e}80)`,padding:"1.5rem"},children:[a("div",{className:"flex-grow pr-4",children:[t("h2",{className:"text-2xl font-bold mb-2",children:l}),d&&t(u,{variant:"secondary",className:"text-sm font-medium",children:d}),t("p",{className:"mt-4 text-lg",children:n})]}),s&&t("div",{className:"flex items-center justify-center bg-white rounded-lg",style:{padding:"1rem",height:"100px"},children:t(x,{src:s,alt:`${l} logo`,width:120,height:60,className:"object-contain h-full"})})]}),a("div",{className:"p-6",children:[o&&a("blockquote",{className:"border-l-4 pl-4 py-2 mb-6 italic",style:{borderColor:e,color:e},children:[t(p,{className:"inline-block mr-2",size:24,style:{color:e}}),o,t(p,{className:"inline-block ml-2",size:24,style:{color:e}})]}),t("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4 mt-6",children:v.map((i,f)=>a("div",{className:"text-center",children:[t("div",{className:"text-3xl font-bold",style:{color:e},children:i.value}),t("div",{className:"text-sm text-gray-600",children:i.label})]},f))})]}),t("div",{className:"p-6",children:h})]})})}export{N as a};
@@ -0,0 +1,7 @@
1
+ import type { BannerBlock as BannerBlockProps } from '@/payload-types';
2
+ import React from 'react';
3
+ type Props = {
4
+ className?: string;
5
+ } & BannerBlockProps;
6
+ export declare const BannerBlock: React.FC<Props>;
7
+ export {};
@@ -0,0 +1 @@
1
+ "use strict";var Ye=Object.create;var Q=Object.defineProperty;var Xe=Object.getOwnPropertyDescriptor;var qe=Object.getOwnPropertyNames;var We=Object.getPrototypeOf,Ze=Object.prototype.hasOwnProperty;var $e=(e,r)=>{for(var t in r)Q(e,t,{get:r[t],enumerable:!0})},xe=(e,r,t,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let s of qe(r))!Ze.call(e,s)&&s!==t&&Q(e,s,{get:()=>r[s],enumerable:!(n=Xe(r,s))||n.enumerable});return e};var j=(e,r,t)=>(t=e!=null?Ye(We(e)):{},xe(r||!e||!e.__esModule?Q(t,"default",{value:e,enumerable:!0}):t,e)),er=e=>xe(Q({},"__esModule",{value:!0}),e);var Fr={};$e(Fr,{BannerBlock:()=>ue});module.exports=er(Fr);var Te=require("clsx");var se="-",rr=e=>{let r=or(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:l=>{let a=l.split(se);return a[0]===""&&a.length!==1&&a.shift(),ke(a,r)||tr(l)},getConflictingClassGroupIds:(l,a)=>{let c=t[l]||[];return a&&n[l]?[...c,...n[l]]:c}}},ke=(e,r)=>{var l;if(e.length===0)return r.classGroupId;let t=e[0],n=r.nextPart.get(t),s=n?ke(e.slice(1),n):void 0;if(s)return s;if(r.validators.length===0)return;let o=e.join(se);return(l=r.validators.find(({validator:a})=>a(o)))==null?void 0:l.classGroupId},ve=/^\[(.+)\]$/,tr=e=>{if(ve.test(e)){let r=ve.exec(e)[1],t=r==null?void 0:r.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}},or=e=>{let{theme:r,prefix:t}=e,n={nextPart:new Map,validators:[]};return sr(Object.entries(e.classGroups),t).forEach(([o,l])=>{ne(l,n,o,r)}),n},ne=(e,r,t,n)=>{e.forEach(s=>{if(typeof s=="string"){let o=s===""?r:Ae(r,s);o.classGroupId=t;return}if(typeof s=="function"){if(nr(s)){ne(s(n),r,t,n);return}r.validators.push({validator:s,classGroupId:t});return}Object.entries(s).forEach(([o,l])=>{ne(l,Ae(r,o),t,n)})})},Ae=(e,r)=>{let t=e;return r.split(se).forEach(n=>{t.nextPart.has(n)||t.nextPart.set(n,{nextPart:new Map,validators:[]}),t=t.nextPart.get(n)}),t},nr=e=>e.isThemeGetter,sr=(e,r)=>r?e.map(([t,n])=>{let s=n.map(o=>typeof o=="string"?r+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([l,a])=>[r+l,a])):o);return[t,s]}):e,ar=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,t=new Map,n=new Map,s=(o,l)=>{t.set(o,l),r++,r>e&&(r=0,n=t,t=new Map)};return{get(o){let l=t.get(o);if(l!==void 0)return l;if((l=n.get(o))!==void 0)return s(o,l),l},set(o,l){t.has(o)?t.set(o,l):s(o,l)}}},Ce="!",lr=e=>{let{separator:r,experimentalParseClassName:t}=e,n=r.length===1,s=r[0],o=r.length,l=a=>{let c=[],u=0,m=0,x;for(let f=0;f<a.length;f++){let h=a[f];if(u===0){if(h===s&&(n||a.slice(f,f+o)===r)){c.push(a.slice(m,f)),m=f+o;continue}if(h==="/"){x=f;continue}}h==="["?u++:h==="]"&&u--}let y=c.length===0?a:a.substring(m),A=y.startsWith(Ce),k=A?y.substring(1):y,g=x&&x>m?x-m:void 0;return{modifiers:c,hasImportantModifier:A,baseClassName:k,maybePostfixModifierPosition:g}};return t?a=>t({className:a,parseClassName:l}):l},ir=e=>{if(e.length<=1)return e;let r=[],t=[];return e.forEach(n=>{n[0]==="["?(r.push(...t.sort(),n),t=[]):t.push(n)}),r.push(...t.sort()),r},cr=e=>({cache:ar(e.cacheSize),parseClassName:lr(e),...rr(e)}),dr=/\s+/,pr=(e,r)=>{let{parseClassName:t,getClassGroupId:n,getConflictingClassGroupIds:s}=r,o=[],l=e.trim().split(dr),a="";for(let c=l.length-1;c>=0;c-=1){let u=l[c],{modifiers:m,hasImportantModifier:x,baseClassName:y,maybePostfixModifierPosition:A}=t(u),k=!!A,g=n(k?y.substring(0,A):y);if(!g){if(!k){a=u+(a.length>0?" "+a:a);continue}if(g=n(y),!g){a=u+(a.length>0?" "+a:a);continue}k=!1}let f=ir(m).join(":"),h=x?f+Ce:f,v=h+g;if(o.includes(v))continue;o.push(v);let S=s(g,k);for(let M=0;M<S.length;++M){let V=S[M];o.push(h+V)}a=u+(a.length>0?" "+a:a)}return a};function ur(){let e=0,r,t,n="";for(;e<arguments.length;)(r=arguments[e++])&&(t=Pe(r))&&(n&&(n+=" "),n+=t);return n}var Pe=e=>{if(typeof e=="string")return e;let r,t="";for(let n=0;n<e.length;n++)e[n]&&(r=Pe(e[n]))&&(t&&(t+=" "),t+=r);return t};function mr(e,...r){let t,n,s,o=l;function l(c){let u=r.reduce((m,x)=>x(m),e());return t=cr(u),n=t.cache.get,s=t.cache.set,o=a,a(c)}function a(c){let u=n(c);if(u)return u;let m=pr(c,t);return s(c,m),m}return function(){return o(ur.apply(null,arguments))}}var d=e=>{let r=t=>t[e]||[];return r.isThemeGetter=!0,r},Re=/^\[(?:([a-z-]+):)?(.+)\]$/i,gr=/^\d+\/\d+$/,fr=new Set(["px","full","screen"]),br=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,yr=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|Ee|min|max))|\Ee(calc|min|max|clamp)\(.+\)|^0$/,hr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,wr=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,xr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,P=e=>E(e)||fr.has(e)||gr.test(e),B=e=>z(e,"length",Nr),E=e=>!!e&&!Number.isNaN(Number(e)),oe=e=>z(e,"number",E),F=e=>!!e&&Number.isInteger(Number(e)),vr=e=>e.endsWith("%")&&E(e.slice(0,-1)),i=e=>Re.test(e),N=e=>br.test(e),Ar=new Set(["length","size","percentage"]),kr=e=>z(e,Ar,Be),Cr=e=>z(e,"position",Be),Pr=new Set(["image","url"]),Rr=e=>z(e,Pr,Sr),Br=e=>z(e,"",Tr),G=()=>!0,z=(e,r,t)=>{let n=Re.exec(e);return n?n[1]?typeof r=="string"?n[1]===r:r.has(n[1]):t(n[2]):!1},Nr=e=>yr.test(e)&&!hr.test(e),Be=()=>!1,Tr=e=>wr.test(e),Sr=e=>xr.test(e);var Mr=()=>{let e=d("colors"),r=d("spacing"),t=d("blur"),n=d("brightness"),s=d("borderColor"),o=d("borderRadius"),l=d("borderSpacing"),a=d("borderWidth"),c=d("contrast"),u=d("grayscale"),m=d("hueRotate"),x=d("invert"),y=d("gap"),A=d("gradientColorStops"),k=d("gradientColorStopPositions"),g=d("inset"),f=d("margin"),h=d("opacity"),v=d("padding"),S=d("saturate"),M=d("scale"),V=d("sepia"),me=d("skew"),ge=d("space"),fe=d("translate"),$=()=>["auto","contain","none"],ee=()=>["auto","hidden","clip","visible","scroll"],re=()=>["auto",i,r],p=()=>[i,r],be=()=>["",P,B],H=()=>["auto",E,i],ye=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],O=()=>["solid","dashed","dotted","double","none"],he=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],te=()=>["start","end","center","between","around","evenly","stretch"],L=()=>["","0",i],we=()=>["auto","avoid","all","avoid-page","page","left","right","column"],C=()=>[E,i];return{cacheSize:500,separator:":",theme:{colors:[G],spacing:[P,B],blur:["none","",N,i],brightness:C(),borderColor:[e],borderRadius:["none","","full",N,i],borderSpacing:p(),borderWidth:be(),contrast:C(),grayscale:L(),hueRotate:C(),invert:L(),gap:p(),gradientColorStops:[e],gradientColorStopPositions:[vr,B],inset:re(),margin:re(),opacity:C(),padding:p(),saturate:C(),scale:C(),sepia:L(),skew:C(),space:p(),translate:p()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[N]}],"break-after":[{"break-after":we()}],"break-before":[{"break-before":we()}],"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(),i]}],overflow:[{overflow:ee()}],"overflow-x":[{"overflow-x":ee()}],"overflow-y":[{"overflow-y":ee()}],overscroll:[{overscroll:$()}],"overscroll-x":[{"overscroll-x":$()}],"overscroll-y":[{"overscroll-y":$()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",F,i]}],basis:[{basis:re()}],"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:L()}],shrink:[{shrink:L()}],order:[{order:["first","last","none",F,i]}],"grid-cols":[{"grid-cols":[G]}],"col-start-end":[{col:["auto",{span:["full",F,i]},i]}],"col-start":[{"col-start":H()}],"col-end":[{"col-end":H()}],"grid-rows":[{"grid-rows":[G]}],"row-start-end":[{row:["auto",{span:[F,i]},i]}],"row-start":[{"row-start":H()}],"row-end":[{"row-end":H()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",i]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",i]}],gap:[{gap:[y]}],"gap-x":[{"gap-x":[y]}],"gap-y":[{"gap-y":[y]}],"justify-content":[{justify:["normal",...te()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...te(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...te(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[v]}],px:[{px:[v]}],py:[{py:[v]}],ps:[{ps:[v]}],pe:[{pe:[v]}],pt:[{pt:[v]}],pr:[{pr:[v]}],pb:[{pb:[v]}],pl:[{pl:[v]}],m:[{m:[f]}],mx:[{mx:[f]}],my:[{my:[f]}],ms:[{ms:[f]}],me:[{me:[f]}],mt:[{mt:[f]}],mr:[{mr:[f]}],mb:[{mb:[f]}],ml:[{ml:[f]}],"space-x":[{"space-x":[ge]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[ge]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",i,r]}],"min-w":[{"min-w":[i,r,"min","max","fit"]}],"max-w":[{"max-w":[i,r,"none","full","min","max","fit","prose",{screen:[N]},N]}],h:[{h:[i,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,r,"auto","min","max","fit"]}],"font-size":[{text:["base",N,B]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",oe]}],"font-family":[{font:[G]}],"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",E,oe]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",P,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":[h]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[h]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...O(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",P,B]}],"underline-offset":[{"underline-offset":["auto",P,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:p()}],"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":[h]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ye(),Cr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",kr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","Ee","bl","l","tl"]},Rr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[k]}],"gradient-via-pos":[{via:[k]}],"gradient-to-pos":[{to:[k]}],"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-Ee":[{"rounded-Ee":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-Ee":[{"border-Ee":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[h]}],"border-style":[{border:[...O(),"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":[h]}],"divide-style":[{divide:O()}],"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-Ee":[{"border-Ee":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...O()]}],"outline-offset":[{"outline-offset":[P,i]}],"outline-w":[{outline:[P,B]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:be()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[h]}],"ring-offset-w":[{"ring-offset":[P,B]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",N,Br]}],"shadow-color":[{shadow:[G]}],opacity:[{opacity:[h]}],"mix-blend":[{"mix-blend":[...he(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":he()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[n]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",N,i]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[x]}],saturate:[{saturate:[S]}],sepia:[{sepia:[V]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[x]}],"backdrop-opacity":[{"backdrop-opacity":[h]}],"backdrop-saturate":[{"backdrop-saturate":[S]}],"backdrop-sepia":[{"backdrop-sepia":[V]}],"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:C()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:C()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[M]}],"scale-x":[{"scale-x":[M]}],"scale-y":[{"scale-y":[M]}],rotate:[{rotate:[F,i]}],"translate-x":[{"translate-x":[fe]}],"translate-y":[{"translate-y":[fe]}],"skew-x":[{"skew-x":[me]}],"skew-y":[{"skew-y":[me]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",i]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",i]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":p()}],"scroll-mx":[{"scroll-mx":p()}],"scroll-my":[{"scroll-my":p()}],"scroll-ms":[{"scroll-ms":p()}],"scroll-me":[{"scroll-me":p()}],"scroll-mt":[{"scroll-mt":p()}],"scroll-mr":[{"scroll-mr":p()}],"scroll-mb":[{"scroll-mb":p()}],"scroll-ml":[{"scroll-ml":p()}],"scroll-p":[{"scroll-p":p()}],"scroll-px":[{"scroll-px":p()}],"scroll-py":[{"scroll-py":p()}],"scroll-ps":[{"scroll-ps":p()}],"scroll-pe":[{"scroll-pe":p()}],"scroll-pt":[{"scroll-pt":p()}],"scroll-pr":[{"scroll-pr":p()}],"scroll-pb":[{"scroll-pb":p()}],"scroll-pl":[{"scroll-pl":p()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",i]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[P,B,oe]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-Ee","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-Ee":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-Ee","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-Ee"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-Ee","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-Ee"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Ne=mr(Mr);function w(...e){return Ne((0,Te.clsx)(e))}var Se=require("@radix-ui/react-slot"),Me=require("class-variance-authority"),Ie=j(require("react")),Ee=require("react/jsx-runtime"),Ir=(0,Me.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-primary text-primary-foreground hover:bg-primary-ON_HOVER",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-secondary/80"}}}),U=Ie.forwardRef(({asChild:e=!1,className:r,size:t,variant:n,...s},o)=>(0,Ee.jsx)(e?Se.Slot:"button",{className:w(Ir({className:r,size:t,variant:n})),ref:o,...s}));U.displayName="Button";var ae=j(require("next/link")),_=e=>{let{type:r,appearance:t="inline",children:n,className:s,label:o,newTab:l,reference:a,size:c,url:u}=e,m=r==="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}`:u;if(!m)return null;let x=t==="link"?"clear":c,y=l?{rel:"noopener noreferrer",target:"_blank"}:{};return t==="inline"?(0,Ee.jsxs)(ae.default,{className:w(s),href:m||u||"",...y,children:[o&&o,n&&n]}):(0,Ee.jsx)(U,{asChild:!0,className:s,size:x,variant:t,children:(0,Ee.jsxs)(ae.default,{className:w(s),href:m||u||"",...y,children:[o&&o,n&&n]})})};var ze=({links:e,richText:r})=>(0,Ee.jsx)("div",{className:"container",children:(0,Ee.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,Ee.jsx)("div",{className:"max-w-[48rem] flex items-center",children:r&&(0,Ee.jsx)(J,{className:"mb-0",content:r,enableGutter:!1})}),(0,Ee.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:t},n)=>(0,Ee.jsx)(_,{size:"lg",...t},n))})]})});var K=require("prism-react-renderer");var Le=require("lucide-react"),Fe=require("react");function Ge({code:e}){let[r,t]=(0,Fe.useState)("Copy");function n(){r==="Copy"&&(t(()=>"Copied!"),setTimeout(()=>{t(()=>"Copy")},1e3))}return(0,Ee.jsx)("div",{className:"flex justify-end align-middle",children:(0,Ee.jsxs)(U,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),n()},children:[(0,Ee.jsx)("p",{children:r}),(0,Ee.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,Ee.jsx)(Le.ClipboardCopy,{})})]})})}var Ue=({code:e,language:r=""})=>e?(0,Ee.jsx)(K.Highlight,{code:e,language:r,theme:K.themes.vsDark,children:({getLineProps:t,getTokenProps:n,tokens:s})=>(0,Ee.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[s.map((o,l)=>(0,Ee.jsxs)("div",{...t({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)(Ge,{code:e})]})}):null;var De=({className:e,code:r,language:t})=>(0,Ee.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Ee.jsx)(Ue,{code:r,language:t})});var He=j(require("next/image"));var Ve=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Y=()=>{if(Ve){let e=window.location.protocol,r=window.location.hostname,t=window.location.port;return`${e}//${r}${t?`:${t}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var Er={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},zr="data:image/png;base64,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",Oe=e=>{let{alt:r,fill:t,imgClassName:n,priority:s,resource:o,size:l,src:a,loading:c}=e,u,m,x=r,y=a||"";if(!y&&o&&typeof o=="object"){let{alt:g,filename:f,height:h,url:v,width:S}=o;u=S,m=h,x=g||"",y=`${Y()}${v}`}let A=c||"lazy",k=l||Object.entries(Er).map(([,g])=>`(max-width: ${g}px) ${g*2}w`).join(", ");return(0,Ee.jsx)("picture",{children:(0,Ee.jsx)(He.default,{alt:x||"",className:w(n),fill:t,height:t?void 0:m,placeholder:"blur",blurDataURL:zr,priority:A!=="lazy"&&s,quality:100,loading:A,sizes:k,src:y,width:t?void 0:u})})};var Qe=e=>{let{onClick:r,resource:t,videoClassName:n}=e,s=(0,Fe.useRef)(null);if((0,Fe.useEffect)(()=>{let{current:o}=s;o&&o.addEventListener("suspend",()=>{})},[]),t&&typeof t=="object"){let{filename:o}=t;return(0,Ee.jsx)("video",{autoPlay:!0,className:w(n),controls:!1,loop:!0,muted:!0,onClick:r,playsInline:!0,ref:s,children:(0,Ee.jsx)("source",{src:`${Y()}/media/${o}`})})}return null};var _e=e=>{var l;let{className:r,htmlElement:t="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)(t||Fe.Fragment,{...t!==null?{className:r}:{},children:s?(0,Ee.jsx)(Qe,{...e}):(0,Ee.jsx)(Oe,{...e})})};var Je=e=>{let{className:r,enableGutter:t=!0,imgClassName:n,media:s,staticImage:o}=e;return(0,Ee.jsx)("div",{className:w("",{container:t},r),children:(0,Ee.jsx)(_e,{imgClassName:w("border border-border rounded-[0.8rem]",n),resource:s,src:o})})};var W=j(require("react"));function pe({nodes:e}){return(0,Ee.jsx)(W.Fragment,{children:e==null?void 0:e.map((r,t)=>{if(r==null)return null;if(r.type==="text"){let o=(0,Ee.jsx)(W.default.Fragment,{children:r.text},t);return r.format&1&&(o=(0,Ee.jsx)("strong",{children:o},t)),r.format&2&&(o=(0,Ee.jsx)("em",{children:o},t)),r.format&4&&(o=(0,Ee.jsx)("span",{style:{textDecoration:"line-through"},children:o},t)),r.format&8&&(o=(0,Ee.jsx)("span",{style:{textDecoration:"underline"},children:o},t)),r.format&16&&(o=(0,Ee.jsx)("code",{children:r.text},t)),r.format&32&&(o=(0,Ee.jsx)("sub",{children:o},t)),r.format&64&&(o=(0,Ee.jsx)("sup",{children:o},t)),o}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 pe({nodes:o.children})},s="children"in r?n(r):"";if(r.type==="block"){let o=r.fields,l=o==null?void 0:o.blockType;if(!o||!l)return null;switch(l){case"cta":return(0,Ee.jsx)(ze,{...o},t);case"mediaBlock":return(0,Ee.jsx)(Je,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},t);case"banner":return(0,Ee.jsx)(ue,{className:"col-start-2 mb-4",...o},t);case"code":return(0,Ee.jsx)(De,{className:"col-start-2",...o},t);default:return null}}else switch(r.type){case"linebreak":return(0,Ee.jsx)("br",{className:"col-start-2"},t);case"paragraph":return(0,Ee.jsx)("p",{className:"col-start-2",children:s},t);case"heading":{let o=r==null?void 0:r.tag;return(0,Ee.jsx)(o,{className:"col-start-2",children:s},t)}case"list":{let o=r==null?void 0:r.tag;return(0,Ee.jsx)(o,{className:"list col-start-2",children:s},t)}case"listitem":return(r==null?void 0:r.checked)!=null?(0,Ee.jsx)("li",{"aria-checked":r.checked?"true":"false",className:` ${r.checked,""}`,role:"checkbox",tabIndex:-1,value:r==null?void 0:r.value,children:s},t):(0,Ee.jsx)("li",{value:r==null?void 0:r.value,children:s},t);case"quote":return(0,Ee.jsx)("blockquote",{className:"col-start-2",children:s},t);case"link":{let o=r.fields;return(0,Ee.jsx)(_,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},t)}default:return null}})})}var Lr=({className:e,content:r,enableGutter:t=!0,enableProse:n=!0})=>{var s;return r?(0,Ee.jsx)("div",{className:w({"container ":t,"max-w-none":!t,"mx-auto prose dark:prose-invert ":n},e),children:r&&!Array.isArray(r)&&typeof r=="object"&&"root"in r&&pe({nodes:(s=r==null?void 0:r.root)==null?void 0:s.children})}):null},J=Lr;var ue=({className:e,content:r,style:t})=>(0,Ee.jsx)("div",{className:w("mx-auto my-8 w-full",e),children:(0,Ee.jsx)("div",{className:w("border py-3 px-6 flex items-center rounded",{"border-border bg-card":t==="info","border-error bg-error/30":t==="error","border-success bg-success/30":t==="success","border-warning bg-warning/30":t==="warning"}),children:(0,Ee.jsx)(J,{content:r,enableGutter:!1,enableProse:!1})})});0&&(module.exports={BannerBlock});
@@ -0,0 +1 @@
1
+ import{d as a}from"../../chunk-EMNKQTUC.mjs";import"../../chunk-DYHP6A4B.mjs";import"../../chunk-CJTRVASG.mjs";import"../../chunk-VBYC64I2.mjs";import"../../chunk-6VGO3JR7.mjs";import"../../chunk-BZVOHDLV.mjs";import"../../chunk-OANFAQE4.mjs";import"../../chunk-NEW735FX.mjs";import"../../chunk-VI6PF7VY.mjs";import"../../chunk-PV4EARTR.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-TLXHEFFH.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-BOPZHZ27.mjs";export{a as BannerBlock};
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import type { CallToActionBlock as CTABlockProps } from '@/payload-types';
3
+ export declare const CallToActionBlock: React.FC<CTABlockProps>;
@@ -0,0 +1 @@
1
+ "use strict";var Ye=Object.create;var Q=Object.defineProperty;var Xe=Object.getOwnPropertyDescriptor;var qe=Object.getOwnPropertyNames;var We=Object.getPrototypeOf,Ze=Object.prototype.hasOwnProperty;var $e=(e,r)=>{for(var t in r)Q(e,t,{get:r[t],enumerable:!0})},xe=(e,r,t,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let s of qe(r))!Ze.call(e,s)&&s!==t&&Q(e,s,{get:()=>r[s],enumerable:!(n=Xe(r,s))||n.enumerable});return e};var j=(e,r,t)=>(t=e!=null?Ye(We(e)):{},xe(r||!e||!e.__esModule?Q(t,"default",{value:e,enumerable:!0}):t,e)),er=e=>xe(Q({},"__esModule",{value:!0}),e);var Fr={};$e(Fr,{CallToActionBlock:()=>ue});module.exports=er(Fr);var Te=require("clsx");var se="-",rr=e=>{let r=or(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:l=>{let a=l.split(se);return a[0]===""&&a.length!==1&&a.shift(),ke(a,r)||tr(l)},getConflictingClassGroupIds:(l,a)=>{let c=t[l]||[];return a&&n[l]?[...c,...n[l]]:c}}},ke=(e,r)=>{var l;if(e.length===0)return r.classGroupId;let t=e[0],n=r.nextPart.get(t),s=n?ke(e.slice(1),n):void 0;if(s)return s;if(r.validators.length===0)return;let o=e.join(se);return(l=r.validators.find(({validator:a})=>a(o)))==null?void 0:l.classGroupId},ve=/^\[(.+)\]$/,tr=e=>{if(ve.test(e)){let r=ve.exec(e)[1],t=r==null?void 0:r.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}},or=e=>{let{theme:r,prefix:t}=e,n={nextPart:new Map,validators:[]};return sr(Object.entries(e.classGroups),t).forEach(([o,l])=>{ne(l,n,o,r)}),n},ne=(e,r,t,n)=>{e.forEach(s=>{if(typeof s=="string"){let o=s===""?r:Ae(r,s);o.classGroupId=t;return}if(typeof s=="function"){if(nr(s)){ne(s(n),r,t,n);return}r.validators.push({validator:s,classGroupId:t});return}Object.entries(s).forEach(([o,l])=>{ne(l,Ae(r,o),t,n)})})},Ae=(e,r)=>{let t=e;return r.split(se).forEach(n=>{t.nextPart.has(n)||t.nextPart.set(n,{nextPart:new Map,validators:[]}),t=t.nextPart.get(n)}),t},nr=e=>e.isThemeGetter,sr=(e,r)=>r?e.map(([t,n])=>{let s=n.map(o=>typeof o=="string"?r+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([l,a])=>[r+l,a])):o);return[t,s]}):e,ar=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,t=new Map,n=new Map,s=(o,l)=>{t.set(o,l),r++,r>e&&(r=0,n=t,t=new Map)};return{get(o){let l=t.get(o);if(l!==void 0)return l;if((l=n.get(o))!==void 0)return s(o,l),l},set(o,l){t.has(o)?t.set(o,l):s(o,l)}}},Ce="!",lr=e=>{let{separator:r,experimentalParseClassName:t}=e,n=r.length===1,s=r[0],o=r.length,l=a=>{let c=[],u=0,m=0,x;for(let f=0;f<a.length;f++){let h=a[f];if(u===0){if(h===s&&(n||a.slice(f,f+o)===r)){c.push(a.slice(m,f)),m=f+o;continue}if(h==="/"){x=f;continue}}h==="["?u++:h==="]"&&u--}let y=c.length===0?a:a.substring(m),A=y.startsWith(Ce),k=A?y.substring(1):y,g=x&&x>m?x-m:void 0;return{modifiers:c,hasImportantModifier:A,baseClassName:k,maybePostfixModifierPosition:g}};return t?a=>t({className:a,parseClassName:l}):l},ir=e=>{if(e.length<=1)return e;let r=[],t=[];return e.forEach(n=>{n[0]==="["?(r.push(...t.sort(),n),t=[]):t.push(n)}),r.push(...t.sort()),r},cr=e=>({cache:ar(e.cacheSize),parseClassName:lr(e),...rr(e)}),dr=/\s+/,pr=(e,r)=>{let{parseClassName:t,getClassGroupId:n,getConflictingClassGroupIds:s}=r,o=[],l=e.trim().split(dr),a="";for(let c=l.length-1;c>=0;c-=1){let u=l[c],{modifiers:m,hasImportantModifier:x,baseClassName:y,maybePostfixModifierPosition:A}=t(u),k=!!A,g=n(k?y.substring(0,A):y);if(!g){if(!k){a=u+(a.length>0?" "+a:a);continue}if(g=n(y),!g){a=u+(a.length>0?" "+a:a);continue}k=!1}let f=ir(m).join(":"),h=x?f+Ce:f,v=h+g;if(o.includes(v))continue;o.push(v);let S=s(g,k);for(let M=0;M<S.length;++M){let V=S[M];o.push(h+V)}a=u+(a.length>0?" "+a:a)}return a};function ur(){let e=0,r,t,n="";for(;e<arguments.length;)(r=arguments[e++])&&(t=Pe(r))&&(n&&(n+=" "),n+=t);return n}var Pe=e=>{if(typeof e=="string")return e;let r,t="";for(let n=0;n<e.length;n++)e[n]&&(r=Pe(e[n]))&&(t&&(t+=" "),t+=r);return t};function mr(e,...r){let t,n,s,o=l;function l(c){let u=r.reduce((m,x)=>x(m),e());return t=cr(u),n=t.cache.get,s=t.cache.set,o=a,a(c)}function a(c){let u=n(c);if(u)return u;let m=pr(c,t);return s(c,m),m}return function(){return o(ur.apply(null,arguments))}}var d=e=>{let r=t=>t[e]||[];return r.isThemeGetter=!0,r},Re=/^\[(?:([a-z-]+):)?(.+)\]$/i,gr=/^\d+\/\d+$/,fr=new Set(["px","full","screen"]),br=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,yr=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|_|min|max))|\_(calc|min|max|clamp)\(.+\)|^0$/,hr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,wr=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,xr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,P=e=>E(e)||fr.has(e)||gr.test(e),B=e=>z(e,"length",Nr),E=e=>!!e&&!Number.isNaN(Number(e)),oe=e=>z(e,"number",E),F=e=>!!e&&Number.isInteger(Number(e)),vr=e=>e.endsWith("%")&&E(e.slice(0,-1)),i=e=>Re.test(e),N=e=>br.test(e),Ar=new Set(["length","size","percentage"]),kr=e=>z(e,Ar,Be),Cr=e=>z(e,"position",Be),Pr=new Set(["image","url"]),Rr=e=>z(e,Pr,Sr),Br=e=>z(e,"",Tr),G=()=>!0,z=(e,r,t)=>{let n=Re.exec(e);return n?n[1]?typeof r=="string"?n[1]===r:r.has(n[1]):t(n[2]):!1},Nr=e=>yr.test(e)&&!hr.test(e),Be=()=>!1,Tr=e=>wr.test(e),Sr=e=>xr.test(e);var Mr=()=>{let e=d("colors"),r=d("spacing"),t=d("blur"),n=d("brightness"),s=d("borderColor"),o=d("borderRadius"),l=d("borderSpacing"),a=d("borderWidth"),c=d("contrast"),u=d("grayscale"),m=d("hueRotate"),x=d("invert"),y=d("gap"),A=d("gradientColorStops"),k=d("gradientColorStopPositions"),g=d("inset"),f=d("margin"),h=d("opacity"),v=d("padding"),S=d("saturate"),M=d("scale"),V=d("sepia"),me=d("skew"),ge=d("space"),fe=d("translate"),$=()=>["auto","contain","none"],ee=()=>["auto","hidden","clip","visible","scroll"],re=()=>["auto",i,r],p=()=>[i,r],be=()=>["",P,B],H=()=>["auto",E,i],ye=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],O=()=>["solid","dashed","dotted","double","none"],he=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],te=()=>["start","end","center","between","around","evenly","stretch"],L=()=>["","0",i],we=()=>["auto","avoid","all","avoid-page","page","left","right","column"],C=()=>[E,i];return{cacheSize:500,separator:":",theme:{colors:[G],spacing:[P,B],blur:["none","",N,i],brightness:C(),borderColor:[e],borderRadius:["none","","full",N,i],borderSpacing:p(),borderWidth:be(),contrast:C(),grayscale:L(),hueRotate:C(),invert:L(),gap:p(),gradientColorStops:[e],gradientColorStopPositions:[vr,B],inset:re(),margin:re(),opacity:C(),padding:p(),saturate:C(),scale:C(),sepia:L(),skew:C(),space:p(),translate:p()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[N]}],"break-after":[{"break-after":we()}],"break-before":[{"break-before":we()}],"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(),i]}],overflow:[{overflow:ee()}],"overflow-x":[{"overflow-x":ee()}],"overflow-y":[{"overflow-y":ee()}],overscroll:[{overscroll:$()}],"overscroll-x":[{"overscroll-x":$()}],"overscroll-y":[{"overscroll-y":$()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",F,i]}],basis:[{basis:re()}],"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:L()}],shrink:[{shrink:L()}],order:[{order:["first","last","none",F,i]}],"grid-cols":[{"grid-cols":[G]}],"col-start-end":[{col:["auto",{span:["full",F,i]},i]}],"col-start":[{"col-start":H()}],"col-end":[{"col-end":H()}],"grid-rows":[{"grid-rows":[G]}],"row-start-end":[{row:["auto",{span:[F,i]},i]}],"row-start":[{"row-start":H()}],"row-end":[{"row-end":H()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",i]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",i]}],gap:[{gap:[y]}],"gap-x":[{"gap-x":[y]}],"gap-y":[{"gap-y":[y]}],"justify-content":[{justify:["normal",...te()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...te(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...te(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[v]}],px:[{px:[v]}],py:[{py:[v]}],ps:[{ps:[v]}],pe:[{pe:[v]}],pt:[{pt:[v]}],pr:[{pr:[v]}],pb:[{pb:[v]}],pl:[{pl:[v]}],m:[{m:[f]}],mx:[{mx:[f]}],my:[{my:[f]}],ms:[{ms:[f]}],me:[{me:[f]}],mt:[{mt:[f]}],mr:[{mr:[f]}],mb:[{mb:[f]}],ml:[{ml:[f]}],"space-x":[{"space-x":[ge]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[ge]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",i,r]}],"min-w":[{"min-w":[i,r,"min","max","fit"]}],"max-w":[{"max-w":[i,r,"none","full","min","max","fit","prose",{screen:[N]},N]}],h:[{h:[i,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,r,"auto","min","max","fit"]}],"font-size":[{text:["base",N,B]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",oe]}],"font-family":[{font:[G]}],"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",E,oe]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",P,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":[h]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[h]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...O(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",P,B]}],"underline-offset":[{"underline-offset":["auto",P,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:p()}],"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":[h]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ye(),Cr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",kr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","_","bl","l","tl"]},Rr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[k]}],"gradient-via-pos":[{via:[k]}],"gradient-to-pos":[{to:[k]}],"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-_":[{"rounded-_":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-_":[{"border-_":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[h]}],"border-style":[{border:[...O(),"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":[h]}],"divide-style":[{divide:O()}],"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-_":[{"border-_":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...O()]}],"outline-offset":[{"outline-offset":[P,i]}],"outline-w":[{outline:[P,B]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:be()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[h]}],"ring-offset-w":[{"ring-offset":[P,B]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",N,Br]}],"shadow-color":[{shadow:[G]}],opacity:[{opacity:[h]}],"mix-blend":[{"mix-blend":[...he(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":he()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[n]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",N,i]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[x]}],saturate:[{saturate:[S]}],sepia:[{sepia:[V]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[x]}],"backdrop-opacity":[{"backdrop-opacity":[h]}],"backdrop-saturate":[{"backdrop-saturate":[S]}],"backdrop-sepia":[{"backdrop-sepia":[V]}],"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:C()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:C()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[M]}],"scale-x":[{"scale-x":[M]}],"scale-y":[{"scale-y":[M]}],rotate:[{rotate:[F,i]}],"translate-x":[{"translate-x":[fe]}],"translate-y":[{"translate-y":[fe]}],"skew-x":[{"skew-x":[me]}],"skew-y":[{"skew-y":[me]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",i]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",i]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":p()}],"scroll-mx":[{"scroll-mx":p()}],"scroll-my":[{"scroll-my":p()}],"scroll-ms":[{"scroll-ms":p()}],"scroll-me":[{"scroll-me":p()}],"scroll-mt":[{"scroll-mt":p()}],"scroll-mr":[{"scroll-mr":p()}],"scroll-mb":[{"scroll-mb":p()}],"scroll-ml":[{"scroll-ml":p()}],"scroll-p":[{"scroll-p":p()}],"scroll-px":[{"scroll-px":p()}],"scroll-py":[{"scroll-py":p()}],"scroll-ps":[{"scroll-ps":p()}],"scroll-pe":[{"scroll-pe":p()}],"scroll-pt":[{"scroll-pt":p()}],"scroll-pr":[{"scroll-pr":p()}],"scroll-pb":[{"scroll-pb":p()}],"scroll-pl":[{"scroll-pl":p()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",i]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[P,B,oe]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-_","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-_":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-_","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-_"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-_","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-_"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Ne=mr(Mr);function w(...e){return Ne((0,Te.clsx)(e))}var _=require("react/jsx-runtime"),Se=({className:e,content:r,style:t})=>(0,_.jsx)("div",{className:w("mx-auto my-8 w-full",e),children:(0,_.jsx)("div",{className:w("border py-3 px-6 flex items-center rounded",{"border-border bg-card":t==="info","border-error bg-error/30":t==="error","border-success bg-success/30":t==="success","border-warning bg-warning/30":t==="warning"}),children:(0,_.jsx)(J,{content:r,enableGutter:!1,enableProse:!1})})});var K=require("prism-react-renderer");var Me=require("@radix-ui/react-slot"),Ie=require("class-variance-authority"),Ee=j(require("react")),Ir=(0,Ie.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-primary text-primary-foreground hover:bg-primary-ON_HOVER",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-secondary/80"}}}),U=Ee.forwardRef(({asChild:e=!1,className:r,size:t,variant:n,...s},o)=>(0,_.jsx)(e?Me.Slot:"button",{className:w(Ir({className:r,size:t,variant:n})),ref:o,...s}));U.displayName="Button";var Le=require("lucide-react"),Fe=require("react");function Ge({code:e}){let[r,t]=(0,Fe.useState)("Copy");function n(){r==="Copy"&&(t(()=>"Copied!"),setTimeout(()=>{t(()=>"Copy")},1e3))}return(0,_.jsx)("div",{className:"flex justify-end align-middle",children:(0,_.jsxs)(U,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),n()},children:[(0,_.jsx)("p",{children:r}),(0,_.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,_.jsx)(Le.ClipboardCopy,{})})]})})}var Ue=({code:e,language:r=""})=>e?(0,_.jsx)(K.Highlight,{code:e,language:r,theme:K.themes.vsDark,children:({getLineProps:t,getTokenProps:n,tokens:s})=>(0,_.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[s.map((o,l)=>(0,_.jsxs)("div",{...t({className:"table-row",line:o}),children:[(0,_.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:l+1}),(0,_.jsx)("span",{className:"table-cell pl-4",children:o.map((a,c)=>(0,_.jsx)("span",{...n({token:a})},c))})]},l)),(0,_.jsx)(Ge,{code:e})]})}):null;var De=({className:e,code:r,language:t})=>(0,_.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,_.jsx)(Ue,{code:r,language:t})});var He=j(require("next/image"));var Ve=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Y=()=>{if(Ve){let e=window.location.protocol,r=window.location.hostname,t=window.location.port;return`${e}//${r}${t?`:${t}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var Er={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},zr="data:image/png;base64,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",Oe=e=>{let{alt:r,fill:t,imgClassName:n,priority:s,resource:o,size:l,src:a,loading:c}=e,u,m,x=r,y=a||"";if(!y&&o&&typeof o=="object"){let{alt:g,filename:f,height:h,url:v,width:S}=o;u=S,m=h,x=g||"",y=`${Y()}${v}`}let A=c||"lazy",k=l||Object.entries(Er).map(([,g])=>`(max-width: ${g}px) ${g*2}w`).join(", ");return(0,_.jsx)("picture",{children:(0,_.jsx)(He.default,{alt:x||"",className:w(n),fill:t,height:t?void 0:m,placeholder:"blur",blurDataURL:zr,priority:A!=="lazy"&&s,quality:100,loading:A,sizes:k,src:y,width:t?void 0:u})})};var Qe=e=>{let{onClick:r,resource:t,videoClassName:n}=e,s=(0,Fe.useRef)(null);if((0,Fe.useEffect)(()=>{let{current:o}=s;o&&o.addEventListener("suspend",()=>{})},[]),t&&typeof t=="object"){let{filename:o}=t;return(0,_.jsx)("video",{autoPlay:!0,className:w(n),controls:!1,loop:!0,muted:!0,onClick:r,playsInline:!0,ref:s,children:(0,_.jsx)("source",{src:`${Y()}/media/${o}`})})}return null};var _e=e=>{var l;let{className:r,htmlElement:t="div",resource:n}=e,s=typeof n=="object"&&((l=n==null?void 0:n.mimeType)==null?void 0:l.includes("video"));return(0,_.jsx)(t||Fe.Fragment,{...t!==null?{className:r}:{},children:s?(0,_.jsx)(Qe,{...e}):(0,_.jsx)(Oe,{...e})})};var Je=e=>{let{className:r,enableGutter:t=!0,imgClassName:n,media:s,staticImage:o}=e;return(0,_.jsx)("div",{className:w("",{container:t},r),children:(0,_.jsx)(_e,{imgClassName:w("border border-border rounded-[0.8rem]",n),resource:s,src:o})})};var Z=j(require("react"));var de=j(require("next/link")),W=e=>{let{type:r,appearance:t="inline",children:n,className:s,label:o,newTab:l,reference:a,size:c,url:u}=e,m=r==="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}`:u;if(!m)return null;let x=t==="link"?"clear":c,y=l?{rel:"noopener noreferrer",target:"_blank"}:{};return t==="inline"?(0,_.jsxs)(de.default,{className:w(s),href:m||u||"",...y,children:[o&&o,n&&n]}):(0,_.jsx)(U,{asChild:!0,className:s,size:x,variant:t,children:(0,_.jsxs)(de.default,{className:w(s),href:m||u||"",...y,children:[o&&o,n&&n]})})};function pe({nodes:e}){return(0,_.jsx)(Z.Fragment,{children:e==null?void 0:e.map((r,t)=>{if(r==null)return null;if(r.type==="text"){let o=(0,_.jsx)(Z.default.Fragment,{children:r.text},t);return r.format&1&&(o=(0,_.jsx)("strong",{children:o},t)),r.format&2&&(o=(0,_.jsx)("em",{children:o},t)),r.format&4&&(o=(0,_.jsx)("span",{style:{textDecoration:"line-through"},children:o},t)),r.format&8&&(o=(0,_.jsx)("span",{style:{textDecoration:"underline"},children:o},t)),r.format&16&&(o=(0,_.jsx)("code",{children:r.text},t)),r.format&32&&(o=(0,_.jsx)("sub",{children:o},t)),r.format&64&&(o=(0,_.jsx)("sup",{children:o},t)),o}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 pe({nodes:o.children})},s="children"in r?n(r):"";if(r.type==="block"){let o=r.fields,l=o==null?void 0:o.blockType;if(!o||!l)return null;switch(l){case"cta":return(0,_.jsx)(ue,{...o},t);case"mediaBlock":return(0,_.jsx)(Je,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},t);case"banner":return(0,_.jsx)(Se,{className:"col-start-2 mb-4",...o},t);case"code":return(0,_.jsx)(De,{className:"col-start-2",...o},t);default:return null}}else switch(r.type){case"linebreak":return(0,_.jsx)("br",{className:"col-start-2"},t);case"paragraph":return(0,_.jsx)("p",{className:"col-start-2",children:s},t);case"heading":{let o=r==null?void 0:r.tag;return(0,_.jsx)(o,{className:"col-start-2",children:s},t)}case"list":{let o=r==null?void 0:r.tag;return(0,_.jsx)(o,{className:"list col-start-2",children:s},t)}case"listitem":return(r==null?void 0:r.checked)!=null?(0,_.jsx)("li",{"aria-checked":r.checked?"true":"false",className:` ${r.checked,""}`,role:"checkbox",tabIndex:-1,value:r==null?void 0:r.value,children:s},t):(0,_.jsx)("li",{value:r==null?void 0:r.value,children:s},t);case"quote":return(0,_.jsx)("blockquote",{className:"col-start-2",children:s},t);case"link":{let o=r.fields;return(0,_.jsx)(W,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},t)}default:return null}})})}var Lr=({className:e,content:r,enableGutter:t=!0,enableProse:n=!0})=>{var s;return r?(0,_.jsx)("div",{className:w({"container ":t,"max-w-none":!t,"mx-auto prose dark:prose-invert ":n},e),children:r&&!Array.isArray(r)&&typeof r=="object"&&"root"in r&&pe({nodes:(s=r==null?void 0:r.root)==null?void 0:s.children})}):null},J=Lr;var ue=({links:e,richText:r})=>(0,_.jsx)("div",{className:"container",children:(0,_.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,_.jsx)("div",{className:"max-w-[48rem] flex items-center",children:r&&(0,_.jsx)(J,{className:"mb-0",content:r,enableGutter:!1})}),(0,_.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:t},n)=>(0,_.jsx)(W,{size:"lg",...t},n))})]})});0&&(module.exports={CallToActionBlock});
@@ -0,0 +1 @@
1
+ import{a}from"../../chunk-EMNKQTUC.mjs";import"../../chunk-DYHP6A4B.mjs";import"../../chunk-CJTRVASG.mjs";import"../../chunk-VBYC64I2.mjs";import"../../chunk-6VGO3JR7.mjs";import"../../chunk-BZVOHDLV.mjs";import"../../chunk-OANFAQE4.mjs";import"../../chunk-NEW735FX.mjs";import"../../chunk-VI6PF7VY.mjs";import"../../chunk-PV4EARTR.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-TLXHEFFH.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-BOPZHZ27.mjs";export{a as CallToActionBlock};
@@ -0,0 +1,16 @@
1
+ import * as React from 'react';
2
+ interface CustomerCaseStudyProps {
3
+ customerName: string;
4
+ logoUrl?: string;
5
+ industry?: string;
6
+ projectDescription: string;
7
+ color?: string;
8
+ quote?: string;
9
+ metrics?: Array<{
10
+ label: string;
11
+ value: string;
12
+ }>;
13
+ children?: React.ReactNode;
14
+ }
15
+ export default function CaseStudy({ customerName, logoUrl, industry, projectDescription, color, quote, metrics, children, }: CustomerCaseStudyProps): import("react/jsx-runtime").JSX.Element;
16
+ export {};