cortex-react-components 1.58.22 → 1.58.23

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 (204) hide show
  1. package/dist/{chunk-H5ZJ5FZ6.mjs → chunk-26FHIJPI.mjs} +1 -1
  2. package/dist/{chunk-I2PJ5ANT.mjs → chunk-3TNHR4R3.mjs} +1 -1
  3. package/dist/{chunk-46OVI6RB.mjs → chunk-6ARDJ33C.mjs} +1 -1
  4. package/dist/{chunk-6DHYRATS.mjs → chunk-6LPSD3MQ.mjs} +1 -1
  5. package/dist/{chunk-XP6N7473.mjs → chunk-6SQK6BMG.mjs} +1 -1
  6. package/dist/{chunk-QBLN27FA.mjs → chunk-75OAUMGO.mjs} +1 -1
  7. package/dist/{chunk-2DGZ2JZ5.mjs → chunk-BTY3MRVI.mjs} +1 -1
  8. package/dist/{chunk-AX52NWUN.mjs → chunk-C2GNS62O.mjs} +1 -1
  9. package/dist/{chunk-MGBLZM7Q.mjs → chunk-C3TKY5VE.mjs} +1 -1
  10. package/dist/{chunk-7XB4Y3U2.mjs → chunk-CSNKYRV5.mjs} +1 -1
  11. package/dist/{chunk-DFB6DJCW.mjs → chunk-D7A7EUEW.mjs} +1 -1
  12. package/dist/chunk-FPQBVIUS.mjs +4 -0
  13. package/dist/{chunk-ZQGSLXFF.mjs → chunk-GM53J62R.mjs} +1 -1
  14. package/dist/{chunk-FGNLLSPZ.mjs → chunk-HJXEIYVK.mjs} +1 -1
  15. package/dist/{chunk-FPJFWQB5.mjs → chunk-HPMQRCDC.mjs} +1 -1
  16. package/dist/{chunk-IGYTQN3S.mjs → chunk-IABQ3JMG.mjs} +1 -1
  17. package/dist/{chunk-G2BJSFF4.mjs → chunk-IAP7Y2DK.mjs} +1 -1
  18. package/dist/{chunk-MTIC2X6C.mjs → chunk-IFZ6ABCM.mjs} +1 -1
  19. package/dist/{chunk-XXTN5HMN.mjs → chunk-J2IXHXCA.mjs} +1 -1
  20. package/dist/{chunk-UIBWSN7F.mjs → chunk-JVM2ZAN6.mjs} +1 -1
  21. package/dist/{chunk-F4JKB4UG.mjs → chunk-JZE6HGP6.mjs} +1 -1
  22. package/dist/{chunk-477T4CBB.mjs → chunk-K7XFS6IQ.mjs} +1 -1
  23. package/dist/{chunk-HER7J6HM.mjs → chunk-KEPEJWQO.mjs} +1 -1
  24. package/dist/{chunk-LLJZRF3C.mjs → chunk-KLCZHZKQ.mjs} +1 -1
  25. package/dist/{chunk-G3J6AOMR.mjs → chunk-LCRFWXVK.mjs} +1 -1
  26. package/dist/{chunk-QNE2DK3R.mjs → chunk-MFTCHZFC.mjs} +1 -1
  27. package/dist/{chunk-7WDAODFS.mjs → chunk-NO3JTFER.mjs} +1 -1
  28. package/dist/{chunk-BBCS6735.mjs → chunk-Q32SRZ5X.mjs} +1 -1
  29. package/dist/{chunk-IREQMG2S.mjs → chunk-QT5WSNLK.mjs} +1 -1
  30. package/dist/{chunk-F55C2C5H.mjs → chunk-RQ23CZK5.mjs} +1 -1
  31. package/dist/{chunk-JPFBD2KD.mjs → chunk-SQWRG4U3.mjs} +1 -1
  32. package/dist/{chunk-3BBZH3T3.mjs → chunk-TZE7RZAV.mjs} +1 -1
  33. package/dist/{chunk-S3KRL344.mjs → chunk-UFDQJZAB.mjs} +1 -1
  34. package/dist/{chunk-QTO5C7WM.mjs → chunk-UHW6FJUK.mjs} +1 -1
  35. package/dist/{chunk-RJGKFNZL.mjs → chunk-UKJ3TIPX.mjs} +1 -1
  36. package/dist/{chunk-QID6JIRX.mjs → chunk-VNPAYMAG.mjs} +1 -1
  37. package/dist/{chunk-QSBB2P4N.mjs → chunk-VV6P75VN.mjs} +1 -1
  38. package/dist/{chunk-X5XG7LVM.mjs → chunk-WDVSSHIB.mjs} +1 -1
  39. package/dist/components/Blocks/Banner.js +1 -1
  40. package/dist/components/Blocks/Banner.mjs +1 -1
  41. package/dist/components/Blocks/CallToAction.js +1 -1
  42. package/dist/components/Blocks/CallToAction.mjs +1 -1
  43. package/dist/components/Blocks/CallToAction.stories.js +1 -1
  44. package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
  45. package/dist/components/Blocks/CollapsibleArea.js +1 -1
  46. package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
  47. package/dist/components/Blocks/CollapsibleArea.stories.js +1 -1
  48. package/dist/components/Blocks/CollapsibleArea.stories.mjs +1 -1
  49. package/dist/components/Blocks/Content.js +1 -1
  50. package/dist/components/Blocks/Content.mjs +1 -1
  51. package/dist/components/Blocks/Content.stories.js +1 -1
  52. package/dist/components/Blocks/Content.stories.mjs +1 -1
  53. package/dist/components/Blocks/FeaturesBlock.js +1 -1
  54. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  55. package/dist/components/Blocks/FeaturesBlock.stories.js +1 -1
  56. package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
  57. package/dist/components/Blocks/ImageBlock.js +1 -1
  58. package/dist/components/Blocks/ImageBlock.mjs +1 -1
  59. package/dist/components/Blocks/MediaBlock.js +1 -1
  60. package/dist/components/Blocks/MediaBlock.mjs +1 -1
  61. package/dist/components/Blocks/RelatedPosts.js +1 -1
  62. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  63. package/dist/components/Blocks/RenderBlocks.js +1 -1
  64. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  65. package/dist/components/Blocks/ReusableContentBlock.js +1 -1
  66. package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
  67. package/dist/components/Blocks/index.js +1 -1
  68. package/dist/components/Blocks/index.mjs +1 -1
  69. package/dist/components/Cards/ContentCard.js +1 -1
  70. package/dist/components/Cards/ContentCard.mjs +1 -1
  71. package/dist/components/Cards/ContentCard.stories.js +1 -1
  72. package/dist/components/Cards/ContentCard.stories.mjs +1 -1
  73. package/dist/components/Cards/FeatureCard.js +1 -1
  74. package/dist/components/Cards/FeatureCard.mjs +1 -1
  75. package/dist/components/Cards/FeatureCard.stories.js +1 -1
  76. package/dist/components/Cards/FeatureCard.stories.mjs +1 -1
  77. package/dist/components/Cards/index.js +4 -4
  78. package/dist/components/Cards/index.mjs +1 -1
  79. package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
  80. package/dist/components/DigitalColleagues/MainPage.stories.mjs +1 -1
  81. package/dist/components/HeaderFooter/Header.mjs +1 -1
  82. package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
  83. package/dist/components/HeaderFooter/SectionHeading.js +1 -1
  84. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  85. package/dist/components/HeaderFooter/index.mjs +1 -1
  86. package/dist/components/Heros/HighImpact/index.js +1 -1
  87. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  88. package/dist/components/Heros/LowImpact/index.js +1 -1
  89. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  90. package/dist/components/Heros/MediumImpact/index.js +1 -1
  91. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  92. package/dist/components/Heros/RenderHero.js +1 -1
  93. package/dist/components/Heros/RenderHero.mjs +1 -1
  94. package/dist/components/Heros/index.js +1 -1
  95. package/dist/components/Heros/index.mjs +1 -1
  96. package/dist/components/Holidays/HolidayTracker.mjs +1 -1
  97. package/dist/components/Holidays/HolidayTracker.stories.mjs +1 -1
  98. package/dist/components/Holidays/index.mjs +1 -1
  99. package/dist/components/Layouts/FeatureGrid.stories.js +1 -1
  100. package/dist/components/Layouts/FeatureGrid.stories.mjs +1 -1
  101. package/dist/components/Layouts/OutputHeaderFooter.js +2 -2
  102. package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
  103. package/dist/components/Layouts/Print.js +2 -2
  104. package/dist/components/Layouts/Print.mjs +1 -1
  105. package/dist/components/Layouts/Print.stories.js +1 -1
  106. package/dist/components/Layouts/Print.stories.mjs +1 -1
  107. package/dist/components/Layouts/SlideShow.js +3 -3
  108. package/dist/components/Layouts/SlideShow.mjs +1 -1
  109. package/dist/components/Layouts/SlideShow.stories.js +3 -3
  110. package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
  111. package/dist/components/Layouts/index.js +4 -4
  112. package/dist/components/Layouts/index.mjs +1 -1
  113. package/dist/components/Payload/Card/index.js +1 -1
  114. package/dist/components/Payload/Card/index.mjs +1 -1
  115. package/dist/components/Payload/CollectionArchive/index.js +1 -1
  116. package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
  117. package/dist/components/Payload/Media/VideoMedia/index.js +1 -1
  118. package/dist/components/Payload/Media/VideoMedia/index.mjs +1 -1
  119. package/dist/components/Payload/Media/index.js +1 -1
  120. package/dist/components/Payload/Media/index.mjs +1 -1
  121. package/dist/components/Payload/RichText/index.js +1 -1
  122. package/dist/components/Payload/RichText/index.mjs +1 -1
  123. package/dist/components/Payload/RichText/serialize.js +1 -1
  124. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  125. package/dist/components/Payload/RichText.stories.js +1 -1
  126. package/dist/components/Payload/RichText.stories.mjs +1 -1
  127. package/dist/components/Payload/index.js +1 -1
  128. package/dist/components/Payload/index.mjs +1 -1
  129. package/dist/components/index.js +7 -7
  130. package/dist/components/index.mjs +1 -1
  131. package/dist/index.js +9 -9
  132. package/dist/index.mjs +1 -1
  133. package/dist/metafile-cjs.json +1 -1
  134. package/dist/metafile-esm.json +1 -1
  135. package/dist/pages/Blog.js +1 -1
  136. package/dist/pages/Blog.mjs +1 -1
  137. package/dist/pages/Blog.stories.js +1 -1
  138. package/dist/pages/Blog.stories.mjs +1 -1
  139. package/dist/pages/Documentation.mjs +1 -1
  140. package/dist/pages/Documentation.stories.mjs +1 -1
  141. package/dist/pages/IndexPage.mjs +1 -1
  142. package/dist/pages/IndexPage.stories.mjs +1 -1
  143. package/dist/pages/Intranet.mjs +1 -1
  144. package/dist/pages/Intranet.stories.mjs +1 -1
  145. package/dist/pages/LandingPage.js +3 -3
  146. package/dist/pages/LandingPage.mjs +1 -1
  147. package/dist/pages/LandingPage.stories.js +2 -2
  148. package/dist/pages/LandingPage.stories.mjs +1 -1
  149. package/dist/pages/Page.js +1 -1
  150. package/dist/pages/Page.mjs +1 -1
  151. package/dist/pages/Page.stories.js +177 -177
  152. package/dist/pages/Page.stories.mjs +1 -1
  153. package/dist/pages/Printable.stories.js +4 -4
  154. package/dist/pages/Printable.stories.mjs +1 -1
  155. package/dist/pages/Publish.js +4 -4
  156. package/dist/pages/Publish.mjs +1 -1
  157. package/dist/pages/Publish.stories.js +4 -4
  158. package/dist/pages/Publish.stories.mjs +1 -1
  159. package/dist/pages/Website.js +1 -1
  160. package/dist/pages/Website.mjs +1 -1
  161. package/dist/pages/Website.stories.js +1 -1
  162. package/dist/pages/Website.stories.mjs +1 -1
  163. package/dist/sections/AboutSection.js +1 -1
  164. package/dist/sections/AboutSection.mjs +1 -1
  165. package/dist/sections/AboutSection.stories.js +1 -1
  166. package/dist/sections/AboutSection.stories.mjs +1 -1
  167. package/dist/sections/BlogDetail.js +1 -1
  168. package/dist/sections/BlogDetail.mjs +1 -1
  169. package/dist/sections/BlogDetail.stories.js +1 -1
  170. package/dist/sections/BlogDetail.stories.mjs +1 -1
  171. package/dist/sections/BlogList.js +3 -3
  172. package/dist/sections/BlogList.mjs +1 -1
  173. package/dist/sections/BlogList.stories.js +3 -3
  174. package/dist/sections/BlogList.stories.mjs +1 -1
  175. package/dist/sections/ContactSection.js +1 -1
  176. package/dist/sections/ContactSection.mjs +1 -1
  177. package/dist/sections/ContactSection.stories.js +1 -1
  178. package/dist/sections/ContactSection.stories.mjs +1 -1
  179. package/dist/sections/ImageSection.stories.js +1 -1
  180. package/dist/sections/ImageSection.stories.mjs +1 -1
  181. package/dist/sections/PageSections.js +2 -2
  182. package/dist/sections/PageSections.mjs +1 -1
  183. package/dist/sections/PageSections.stories.js +2 -2
  184. package/dist/sections/PageSections.stories.mjs +1 -1
  185. package/dist/sections/PricingSection.js +1 -1
  186. package/dist/sections/PricingSection.mjs +1 -1
  187. package/dist/sections/PricingSection.stories.js +1 -1
  188. package/dist/sections/PricingSection.stories.mjs +1 -1
  189. package/dist/sections/ServiceDetail.js +1 -1
  190. package/dist/sections/ServiceDetail.mjs +1 -1
  191. package/dist/sections/ServiceDetailSection.js +1 -1
  192. package/dist/sections/ServiceDetailSection.mjs +1 -1
  193. package/dist/sections/ServiceDetailSection.stories.js +1 -1
  194. package/dist/sections/ServiceDetailSection.stories.mjs +1 -1
  195. package/dist/sections/ServiceSection.js +1 -1
  196. package/dist/sections/ServiceSection.mjs +1 -1
  197. package/dist/sections/ServiceSection.stories.js +1 -1
  198. package/dist/sections/ServiceSection.stories.mjs +1 -1
  199. package/dist/sections/index.js +3 -3
  200. package/dist/sections/index.mjs +1 -1
  201. package/dist/utils/getURL.mjs +1 -1
  202. package/package.json +1 -1
  203. package/dist/chunk-44TDI42O.mjs +0 -1
  204. package/dist/chunk-TFWGOEV7.mjs +0 -4
@@ -2,4 +2,4 @@
2
2
  "use strict";
3
3
  'use server'
4
4
 
5
- "use strict";var _t=Object.create;var ie=Object.defineProperty;var $t=Object.getOwnPropertyDescriptor;var Qt=Object.getOwnPropertyNames;var qt=Object.getPrototypeOf,Jt=Object.prototype.hasOwnProperty;var Kt=(e,t)=>{for(var r in t)ie(e,r,{get:t[r],enumerable:!0})},Ke=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of Qt(t))!Jt.call(e,s)&&s!==r&&ie(e,s,{get:()=>t[s],enumerable:!(a=$t(t,s))||a.enumerable});return e};var F=(e,t,r)=>(r=e!=null?_t(qt(e)):{},Ke(t||!e||!e.__esModule?ie(r,"default",{value:e,enumerable:!0}):r,e)),Wt=e=>Ke(ie({},"__esModule",{value:!0}),e);var Yr={};Kt(Yr,{Breadcrumbs:()=>Or,HighImpactHero:()=>Ee,LowImpactHero:()=>Ue,MediumImpactHero:()=>Ge,PostHero:()=>Gr,RenderHero:()=>jr,SectionHero:()=>Oe});module.exports=Wt(Yr);var Ut=F(require("next/image"));var nt=require("clsx");var Se="-",Xt=e=>{let t=er(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:n=>{let i=n.split(Se);return i[0]===""&&i.length!==1&&i.shift(),Ze(i,t)||Zt(n)},getConflictingClassGroupIds:(n,i)=>{let c=r[n]||[];return i&&a[n]?[...c,...a[n]]:c}}},Ze=(e,t)=>{var n;if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),s=a?Ze(e.slice(1),a):void 0;if(s)return s;if(t.validators.length===0)return;let o=e.join(Se);return(n=t.validators.find(({validator:i})=>i(o)))==null?void 0:n.classGroupId},We=/^\[(.+)\]$/,Zt=e=>{if(We.test(e)){let t=We.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},er=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return rr(Object.entries(e.classGroups),r).forEach(([o,n])=>{Ae(n,a,o,t)}),a},Ae=(e,t,r,a)=>{e.forEach(s=>{if(typeof s=="string"){let o=s===""?t:Xe(t,s);o.classGroupId=r;return}if(typeof s=="function"){if(tr(s)){Ae(s(a),t,r,a);return}t.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([o,n])=>{Ae(n,Xe(t,o),r,a)})})},Xe=(e,t)=>{let r=e;return t.split(Se).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},tr=e=>e.isThemeGetter,rr=(e,t)=>t?e.map(([r,a])=>{let s=a.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([n,i])=>[t+n,i])):o);return[r,s]}):e,or=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,a=new Map,s=(o,n)=>{r.set(o,n),t++,t>e&&(t=0,a=r,r=new Map)};return{get(o){let n=r.get(o);if(n!==void 0)return n;if((n=a.get(o))!==void 0)return s(o,n),n},set(o,n){r.has(o)?r.set(o,n):s(o,n)}}},et="!",ar=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,s=t[0],o=t.length,n=i=>{let c=[],u=0,g=0,A;for(let w=0;w<i.length;w++){let k=i[w];if(u===0){if(k===s&&(a||i.slice(w,w+o)===t)){c.push(i.slice(g,w)),g=w+o;continue}if(k==="/"){A=w;continue}}k==="["?u++:k==="]"&&u--}let C=c.length===0?i:i.substring(g),I=C.startsWith(et),R=I?C.substring(1):C,v=A&&A>g?A-g:void 0;return{modifiers:c,hasImportantModifier:I,baseClassName:R,maybePostfixModifierPosition:v}};return r?i=>r({className:i,parseClassName:n}):n},nr=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(a=>{a[0]==="["?(t.push(...r.sort(),a),r=[]):r.push(a)}),t.push(...r.sort()),t},sr=e=>({cache:or(e.cacheSize),parseClassName:ar(e),...Xt(e)}),ir=/\s+/,lr=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:s}=t,o=[],n=e.trim().split(ir),i="";for(let c=n.length-1;c>=0;c-=1){let u=n[c],{modifiers:g,hasImportantModifier:A,baseClassName:C,maybePostfixModifierPosition:I}=r(u),R=!!I,v=a(R?C.substring(0,I):C);if(!v){if(!R){i=u+(i.length>0?" "+i:i);continue}if(v=a(C),!v){i=u+(i.length>0?" "+i:i);continue}R=!1}let w=nr(g).join(":"),k=A?w+et:w,P=k+v;if(o.includes(P))continue;o.push(P);let j=s(v,R);for(let D=0;D<j.length;++D){let ae=j[D];o.push(k+ae)}i=u+(i.length>0?" "+i:i)}return i};function cr(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=tt(t))&&(a&&(a+=" "),a+=r);return a}var tt=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=tt(e[a]))&&(r&&(r+=" "),r+=t);return r};function dr(e,...t){let r,a,s,o=n;function n(c){let u=t.reduce((g,A)=>A(g),e());return r=sr(u),a=r.cache.get,s=r.cache.set,o=i,i(c)}function i(c){let u=a(c);if(u)return u;let g=lr(c,r);return s(c,g),g}return function(){return o(cr.apply(null,arguments))}}var b=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},rt=/^\[(?:([a-z-]+):)?(.+)\]$/i,pr=/^\d+\/\d+$/,mr=new Set(["px","full","screen"]),ur=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,fr=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|ct|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,gr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,br=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,hr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,G=e=>q(e)||mr.has(e)||pr.test(e),O=e=>J(e,"length",Ar),q=e=>!!e&&!Number.isNaN(Number(e)),Ne=e=>J(e,"number",q),ee=e=>!!e&&Number.isInteger(Number(e)),xr=e=>e.endsWith("%")&&q(e.slice(0,-1)),d=e=>rt.test(e),Y=e=>ur.test(e),yr=new Set(["length","size","percentage"]),vr=e=>J(e,yr,ot),wr=e=>J(e,"position",ot),kr=new Set(["image","url"]),Cr=e=>J(e,kr,Pr),Nr=e=>J(e,"",Sr),te=()=>!0,J=(e,t,r)=>{let a=rt.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},Ar=e=>fr.test(e)&&!gr.test(e),ot=()=>!1,Sr=e=>br.test(e),Pr=e=>hr.test(e);var Tr=()=>{let e=b("colors"),t=b("spacing"),r=b("blur"),a=b("brightness"),s=b("borderColor"),o=b("borderRadius"),n=b("borderSpacing"),i=b("borderWidth"),c=b("contrast"),u=b("grayscale"),g=b("hueRotate"),A=b("invert"),C=b("gap"),I=b("gradientColorStops"),R=b("gradientColorStopPositions"),v=b("inset"),w=b("margin"),k=b("opacity"),P=b("padding"),j=b("saturate"),D=b("scale"),ae=b("sepia"),Ye=b("skew"),Ve=b("space"),_e=b("translate"),ve=()=>["auto","contain","none"],we=()=>["auto","hidden","clip","visible","scroll"],ke=()=>["auto",d,t],x=()=>[d,t],$e=()=>["",G,O],ne=()=>["auto",q,d],Qe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],se=()=>["solid","dashed","dotted","double","none"],qe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Ce=()=>["start","end","center","between","around","evenly","stretch"],Z=()=>["","0",d],Je=()=>["auto","avoid","all","avoid-page","page","left","right","column"],H=()=>[q,d];return{cacheSize:500,separator:":",theme:{colors:[te],spacing:[G,O],blur:["none","",Y,d],brightness:H(),borderColor:[e],borderRadius:["none","","full",Y,d],borderSpacing:x(),borderWidth:$e(),contrast:H(),grayscale:Z(),hueRotate:H(),invert:Z(),gap:x(),gradientColorStops:[e],gradientColorStopPositions:[xr,O],inset:ke(),margin:ke(),opacity:H(),padding:x(),saturate:H(),scale:H(),sepia:Z(),skew:H(),space:x(),translate:x()},classGroups:{aspect:[{aspect:["auto","square","video",d]}],container:["container"],columns:[{columns:[Y]}],"break-after":[{"break-after":Je()}],"break-before":[{"break-before":Je()}],"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:[...Qe(),d]}],overflow:[{overflow:we()}],"overflow-x":[{"overflow-x":we()}],"overflow-ct":[{"overflow-ct":we()}],overscroll:[{overscroll:ve()}],"overscroll-x":[{"overscroll-x":ve()}],"overscroll-ct":[{"overscroll-ct":ve()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-x":[{"inset-x":[v]}],"inset-ct":[{"inset-ct":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",ee,d]}],basis:[{basis:ke()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",d]}],grow:[{grow:Z()}],shrink:[{shrink:Z()}],order:[{order:["first","last","none",ee,d]}],"grid-cols":[{"grid-cols":[te]}],"col-start-end":[{col:["auto",{span:["full",ee,d]},d]}],"col-start":[{"col-start":ne()}],"col-end":[{"col-end":ne()}],"grid-rows":[{"grid-rows":[te]}],"row-start-end":[{row:["auto",{span:[ee,d]},d]}],"row-start":[{"row-start":ne()}],"row-end":[{"row-end":ne()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",d]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",d]}],gap:[{gap:[C]}],"gap-x":[{"gap-x":[C]}],"gap-ct":[{"gap-ct":[C]}],"justify-content":[{justify:["normal",...Ce()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Ce(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Ce(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],ct:[{ct:[P]}],px:[{px:[P]}],py:[{py:[P]}],ps:[{ps:[P]}],pe:[{pe:[P]}],pt:[{pt:[P]}],pr:[{pr:[P]}],pb:[{pb:[P]}],pl:[{pl:[P]}],ct:[{ct:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],me:[{me:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-x":[{"space-x":[Ve]}],"space-x-reverse":["space-x-reverse"],"space-ct":[{"space-ct":[Ve]}],"space-ct-reverse":["space-ct-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",d,t]}],"min-w":[{"min-w":[d,t,"min","max","fit"]}],"max-w":[{"max-w":[d,t,"none","full","min","max","fit","prose",{screen:[Y]},Y]}],ct:[{ct:[d,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-ct":[{"min-ct":[d,t,"min","max","fit","svh","lvh","dvh"]}],"max-ct":[{"max-ct":[d,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[d,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Y,O]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Ne]}],"font-family":[{font:[te]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",d]}],"line-clamp":[{"line-clamp":["none",q,Ne]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",G,d]}],"list-image":[{"list-image":["none",d]}],"list-style-type":[{list:["none","disc","decimal",d]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[k]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[k]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...se(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",G,O]}],"underline-offset":[{"underline-offset":["auto",G,d]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:x()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",d]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",d]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[k]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Qe(),wr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","ct","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",vr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Cr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[R]}],"gradient-via-pos":[{via:[R]}],"gradient-to-pos":[{to:[R]}],"gradient-from":[{from:[I]}],"gradient-via":[{via:[I]}],"gradient-to":[{to:[I]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[i]}],"border-w-x":[{"border-x":[i]}],"border-w-ct":[{"border-ct":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-b":[{"border-b":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[k]}],"border-style":[{border:[...se(),"hidden"]}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-ct":[{"divide-ct":[i]}],"divide-ct-reverse":["divide-ct-reverse"],"divide-opacity":[{"divide-opacity":[k]}],"divide-style":[{divide:se()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-ct":[{"border-ct":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...se()]}],"outline-offset":[{"outline-offset":[G,d]}],"outline-w":[{outline:[G,O]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:$e()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[k]}],"ring-offset-w":[{"ring-offset":[G,O]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Y,Nr]}],"shadow-color":[{shadow:[te]}],opacity:[{opacity:[k]}],"mix-blend":[{"mix-blend":[...qe(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":qe()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",Y,d]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[g]}],invert:[{invert:[A]}],saturate:[{saturate:[j]}],sepia:[{sepia:[ae]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[g]}],"backdrop-invert":[{"backdrop-invert":[A]}],"backdrop-opacity":[{"backdrop-opacity":[k]}],"backdrop-saturate":[{"backdrop-saturate":[j]}],"backdrop-sepia":[{"backdrop-sepia":[ae]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[n]}],"border-spacing-x":[{"border-spacing-x":[n]}],"border-spacing-ct":[{"border-spacing-ct":[n]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",d]}],duration:[{duration:H()}],ease:[{ease:["linear","in","out","in-out",d]}],delay:[{delay:H()}],animate:[{animate:["none","spin","ping","pulse","bounce",d]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[D]}],"scale-x":[{"scale-x":[D]}],"scale-ct":[{"scale-ct":[D]}],rotate:[{rotate:[ee,d]}],"translate-x":[{"translate-x":[_e]}],"translate-ct":[{"translate-ct":[_e]}],"skew-x":[{"skew-x":[Ye]}],"skew-ct":[{"skew-ct":[Ye]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",d]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",d]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","ct","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-ct":[{"scroll-ct":x()}],"scroll-mx":[{"scroll-mx":x()}],"scroll-my":[{"scroll-my":x()}],"scroll-ms":[{"scroll-ms":x()}],"scroll-me":[{"scroll-me":x()}],"scroll-mt":[{"scroll-mt":x()}],"scroll-mr":[{"scroll-mr":x()}],"scroll-mb":[{"scroll-mb":x()}],"scroll-ml":[{"scroll-ml":x()}],"scroll-ct":[{"scroll-ct":x()}],"scroll-px":[{"scroll-px":x()}],"scroll-py":[{"scroll-py":x()}],"scroll-ps":[{"scroll-ps":x()}],"scroll-pe":[{"scroll-pe":x()}],"scroll-pt":[{"scroll-pt":x()}],"scroll-pr":[{"scroll-pr":x()}],"scroll-pb":[{"scroll-pb":x()}],"scroll-pl":[{"scroll-pl":x()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","ct","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-ct":[{"touch-pan":["ct","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",d]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[G,O,Ne]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-ct"],overscroll:["overscroll-x","overscroll-ct"],inset:["inset-x","inset-ct","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-ct":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-ct"],ct:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],ct:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","ct"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-ct"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-ct":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-ct":["border-color-t","border-color-b"],"scroll-ct":["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-ct":["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-ct","touch-pz"],"touch-x":["touch"],"touch-ct":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var at=dr(Tr);function l(...e){return at((0,nt.clsx)(e))}var st=require("@radix-ui/react-slot"),it=require("class-variance-authority"),lt=F(require("react")),ct=require("react/jsx-runtime"),Br=(0,it.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"ct-10 px-4 py-2",icon:"ct-10 w-10",lg:"ct-11 rounded px-8",sm:"ct-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),V=lt.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...s},o)=>(0,ct.jsx)(e?st.Slot:"button",{className:l(Br({className:t,size:r,variant:a})),ref:o,...s}));V.displayName="Button";var Pe=F(require("next/link")),_=e=>{let{type:t,appearance:r="inline",children:a,className:s,label:o,newTab:n,reference:i,size:c,url:u}=e,g=t==="reference"&&typeof(i==null?void 0:i.value)=="object"&&i.value.slug?`${(i==null?void 0:i.relationTo)!=="pages"?`/${i==null?void 0:i.relationTo}`:""}/${i.value.slug}`:u;if(!g)return null;let A=r==="link"?"clear":c,C=n?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,ct.jsxs)(Pe.default,{className:l(s),href:g||u||"",...C,children:[o&&o,a&&a]}):(0,ct.jsx)(V,{asChild:!0,className:s,size:A,variant:r,children:(0,ct.jsxs)(Pe.default,{className:l(s),href:g||u||"",...C,children:[o&&o,a&&a]})})};var bt=require("react");var pt=F(require("next/image")),Ir={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},dt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABchJREFUWEdtlwtTG0kMhHtGM7N+AAdcDsjj///EBLzenbtuadbLJaZUTlHB+tRqSesETB3IABqQG1KbUFqDlQorBSmboqeEBcC1d8zrCixXYGZcgMsFmH8B+AngHdurAmXKOE8nHOoBrU6opcGswPi5KSP9CcBaQ9kACJH/ALAA1xm4zMD8AczvQCcAQeJVAZsy7nYApTSUzwCHUKACeUJi9TsFci7AHmDtuHYqQIC9AgQYKnSwNAig4NyOOwXq/xU47gDYggarjIpsRSEA3Fqw7AGkwgW4fgALAdiC2btKgNZwbgdMbEFpqFR2UyCR8xwAhf8bUHIGk1ckMyB5C1YkeWAdAPQBAeiD6wVYPoD1HUgXwFagZAGc6oSpTmilopoD5GzISQD3odcNIFca0BUQQM5YA2DpHV0AYURBDIAL0C+ugC0C4GedSsVUmwC8/4w8TPiwU6AClJ5RWL1PgQNkrABWdKB3YF3cBwRY5lsI4ApkKpCQi+FIgFJU/TDgDuAxAAwonJuKpGD1rkCXCR1ALyrAUSSEQAhwBdYZ6DPAgSUA2c1wKIZmRcHxMzMYR9DH8NlbkAwwApSAcABwBwTAbb6owAr0AFiZPILVEyCtMmK2jCkTwFDNUNj7nJETQx744gCUmgkZVGJUHyakEZE4W91jtGFA9KsD8Z3JFYDlhGYZLWcllwJMnplcPy+csFAgAAaIDOgeuAGoB96GLZg4kmtfMjnr6ig5oSoySsoy3ya/FMivXZWxwr0KIf9nACbfqcBEgmBSAtAlIT83R+70IWpyACamIjf5E1Iqb9ECVmnoI/FvAIRk8s2J0Y5IquQDgB+5wpScw5AUTC75VTmTs+72NUzoCvQIaAXv5Q8PDAZKLD+MxLv3RFE7KlsQChgBIlKiCv5ByaZv3gJZNm8AnVMhAN+EjrtTYQMICJpu6/0aiQnhClANlz+Bw0cIWa8ev0sBrtrhAyaXEnrfGfATQJiRKih5vKeOHNXXPFrgyamAADh0Q4F2/sESojomDS9o9k0b0H83xjB8qL+JNoTjN+enjpaBpingRh4e8MSugudM030A8FeqMI6PFIgNyPehkpZWGFEAARIQdH5LcAAqIACHkAJqg4OoBccHAuz76wr4BbzFOEa8iBuAZB8AtJHLP2VgMgJw/EIBowo7HxCAH3V6dAXEE/vZ5aZIA8BP8RKhm7Cp8BnAMnAQADdgQDA520AVIpScP+enHz0Gwp25h4i2dPg5FkDXrbsdJikQwXuWgaM5gEMk1AgH4DKKFjDf3bMD+FjEeIxLlRKYnBk2BbquvSDCAQ4gwZiMAAmH4gBTyRtEsYxi7gP6QSrc//39BrDNqG8rtYTmC4BV1SfMhOhaumFCT87zy4pPhQBZEK1kQVRjJBBi7AOlePgyAPYjwlvtagx9e/dnQraAyS894TIkkAIEYMKEc8k4EqJ68lZ5jjNqcQC2QteQOf7659umwBgPybNtK4dg9WvnMyFwXYGP7uEO1lwJgAnPNeMYMVXbIIYKFioI4PGFt+BWPVfmWJdjW2lTUnLGCswECAgaUy86iwA1464ajo0QhgMBFGyBoZahANsMpMfXr1JA1SN29m5lqgXj+UPV85uRA7yv/KYUO4Tk7Hc1AZwbIRzg0AyNj2UlAMwfSLSMnl7fdAbcxHuA27YaAMvaQ4GOjwX4RTUGAG8Ge14N963g1AynqUiFqRX9noasxT4b8entNRQYyamk/3tYcHsO7R3XJRRYOn4tw4iUnwBM5gDnySGOreAwAGo8F9IDHEcq8Pz2Kg/oXCpuIL6tOPD8LsDn0ABYQoGFRowlsAEUPPDrGAGowAbgKsgDMmE8mDy/vXQ9IAwI7u4wta+gAdAdgB64Ah9SgD4IgGKhwACoAjgNgFDhtxY8f33ZTMjqdTAiHMBPrn8ZWkEfzFdX4Oc1AHg3+ADbvN8PU8WdFKg4Tt6CQy2+D4YHaMT/JP4XzbAq98cPDIUAAAAASUVORK5CYII=",mt=e=>{let{alt:t,fill:r,imgClassName:a,priority:s,resource:o,size:n,src:i,loading:c}=e,u,g,A=t,C=i||"";if(!C&&o&&typeof o=="object"){let{alt:v,filename:w,height:k,url:P,width:j}=o;if(k&&k>500){let D=500/k;u=j*D,g=k*D}else u=j,g=k;A=v||"",C=P||dt}let I=c||"lazy",R=n||Object.entries(Ir).map(([,v])=>`(max-width: ${v}px) ${v*2}w`).join(", ");return(0,ct.jsx)("picture",{children:(0,ct.jsx)(pt.default,{alt:A||"",className:l(a),fill:r,height:r?void 0:g,placeholder:"blur",blurDataURL:dt,priority:I!=="lazy"&&s,quality:100,loading:I,sizes:R,src:C,width:r?void 0:u})})};var ut=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var ft=()=>{if(ut){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var gt=e=>{let{onClick:t,resource:r,videoClassName:a}=e,s=(0,bt.useRef)(null);if((0,bt.useEffect)(()=>{let{current:o}=s;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,ct.jsx)("video",{autoPlay:!0,className:l(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:s,children:(0,ct.jsx)("source",{src:`${ft()}/media/${o}`})})}return null};var K=e=>{var n;let{className:t,htmlElement:r="div",resource:a}=e,s=typeof a=="object"&&((n=a==null?void 0:a.mimeType)==null?void 0:n.includes("video"));return(0,ct.jsx)(r||bt.Fragment,{...r!==null?{className:t}:{},children:s?(0,ct.jsx)(gt,{...e}):(0,ct.jsx)(mt,{...e})})};var ht=({className:e,content:t,style:r})=>(0,ct.jsx)("div",{className:l("mx-auto my-8 w-full",e),children:(0,ct.jsx)("div",{className:l("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,ct.jsx)(T,{content:t,enableGutter:!1,enableProse:!1})})});function pe({className:e}){return l("flex items-center min-ct-[3.5rem] md:min-ct-[3.75rem] w-full rounded-5 px-4 md:px-5 py-2"," bg-transparent text-accent-800 placeholder:text-accent-800 dark:text-body dark:placeholder:text-body"," border border-solid border-accent-900 border-opacity-20 dark:border-opacity-20 dark:border-accent-200"," focus:border-accent-900 focus:ring-0 focus-visible:outline-0 focus-visible:ring-0 focus-visible:ring-offset-0","transition-all duration-300",e)}function Rr({className:e,...t}){return(0,ct.jsx)("input",{...t,className:pe({className:e})})}function me({icon:e,...t}){return(0,ct.jsxs)("div",{className:"relative w-full",children:[(0,ct.jsx)(Rr,{...t}),e&&(0,ct.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-ct-1/2 text-accent",children:e})]})}function Mr({className:e,...t}){return(0,ct.jsx)("textarea",{...t,className:l(pe({}),"resize-none md:min-ct-[130px]",e)})}function xt({icon:e,...t}){return(0,ct.jsxs)("div",{className:"relative w-full",children:[(0,ct.jsx)(Mr,{...t}),e&&(0,ct.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-accent",children:e})]})}var vt=require("formik"),wt=require("react-icons/fa6"),$=F(require("yup"));async function yt(e){let{name:t,email:r,subject:a,message:s}=e,o=process.env.TEAMS_WEBHOOK_URL;if(!o)throw new Error("TEAMS_WEBHOOK_URL is not defined");let n={type:"message",attachments:[{contentType:"application/vnd.microsoft.card.adaptive",content:{$schema:"http://adaptivecards.io/schemas/adaptive-card.json",type:"AdaptiveCard",version:"1.2",body:[{type:"TextBlock",text:"Contact Us Form",wrap:!0,style:"heading",weight:"Bolder"},{type:"ColumnSet",columns:[{type:"Column",width:"stretch",items:[{type:"TextBlock",text:"Name",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Email",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Subject",wrap:!0,weight:"Bolder"}]},{type:"Column",width:"stretch",items:[{type:"TextBlock",text:`${t}`,wrap:!0},{type:"TextBlock",text:`${r}`,wrap:!0},{type:"TextBlock",text:`${a}`,wrap:!0}]}]},{type:"TextBlock",text:`${s}`,wrap:!0}]}}]};try{let i=await fetch(o,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)});if(!i.ok)throw console.error(i),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(i){return console.error(i),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var Ie=require("sonner"),z={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},Fr=$.object().shape({name:$.string().min(2,z.tooShort).max(50,z.tooLong).required(z.required),email:$.string().email(z.email).required(z.required),subject:$.string().min(2,z.tooShort).max(50,z.tooLong).required(z.required),message:$.string().min(2,z.tooShort).max(300,z.tooLong).required(z.required)}),ue=l("!pr-[44px] text-foreground"),fe=l("!border-red-600 border"),ge=l("sr-only");function kt(){return(0,ct.jsx)(vt.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:Fr,onSubmit:async(e,{resetForm:t})=>{let r=await yt(e);r.data===null?Ie.toast.error(r.message):(Ie.toast.success(r.message),t())},children:({errors:e,touched:t,values:r,handleChange:a,handleBlur:s,isSubmitting:o,handleSubmit:n})=>(0,ct.jsxs)("form",{onSubmit:n,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,ct.jsxs)("div",{children:[(0,ct.jsx)(me,{placeholder:"Your Name",type:"text",name:"name",value:r.name,onChange:a,onBlur:s,disabled:o,icon:(0,ct.jsx)(wt.FaUser,{className:"text-primary"}),className:l(ue,e.name&&t.name&&fe)}),e.name&&t.name&&(0,ct.jsx)("ct",{title:e.name,"aria-live":"polite",role:"error message",className:ge,children:e.name})]}),(0,ct.jsxs)("div",{children:[(0,ct.jsx)(me,{placeholder:"Your Email",type:"email",name:"email",value:r.email,onChange:a,onBlur:s,disabled:o,icon:(0,ct.jsx)(zr,{}),className:l(ue,e.email&&t.email&&fe)}),e.email&&t.email&&(0,ct.jsx)("ct",{title:e.email,"aria-live":"polite",role:"error message",className:ge,children:e.email})]}),(0,ct.jsxs)("div",{className:"lg:col-span-2",children:[(0,ct.jsx)(me,{placeholder:"Subject",type:"text",name:"subject",value:r.subject,onChange:a,onBlur:s,disabled:o,className:l(ue,e.subject&&t.subject&&fe)}),e.subject&&t.subject&&(0,ct.jsx)("ct",{title:e.subject,"aria-live":"polite",role:"error message",className:ge,children:e.subject})]}),(0,ct.jsxs)("div",{className:"lg:col-span-2",children:[(0,ct.jsx)(xt,{placeholder:"Message...",name:"message",value:r.message,onChange:a,onBlur:s,disabled:o,icon:(0,ct.jsx)(Dr,{}),className:l(ue,e.message&&t.message&&fe)}),e.message&&t.message&&(0,ct.jsx)("ct",{title:e.message,"aria-live":"polite",role:"error message",className:ge,children:e.message})]}),(0,ct.jsx)("div",{className:"lg:col-span-2 light grid justify-items-center",children:(0,ct.jsx)(V,{type:"submit",className:"outline px-6 rounded-full outline-accent bg-background text-foreground hover:bg-accent hover:text-accent-foreground",disabled:o,children:"Send"})})]})})}function zr(){return(0,ct.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:(0,ct.jsx)("path",{d:"M14.9727 1.76172L13.2227 13.1094C13.1953 13.3828 13.0312 13.6289 12.7852 13.7656C12.6484 13.8203 12.5117 13.875 12.3477 13.875C12.2383 13.875 12.1289 13.8477 12.0195 13.793L8.68359 12.3984L7.28906 14.4766C7.17969 14.668 6.98828 14.75 6.79688 14.75C6.49609 14.75 6.25 14.5039 6.25 14.2031V11.5781C6.25 11.3594 6.30469 11.168 6.41406 11.0312L12.375 3.375L4.33594 10.6211L1.51953 9.44531C1.21875 9.30859 1 9.03516 1 8.67969C0.972656 8.29688 1.13672 8.02344 1.4375 7.85938L13.6875 0.886719C13.9609 0.722656 14.3438 0.722656 14.6172 0.914062C14.8906 1.10547 15.0273 1.43359 14.9727 1.76172Z"})})}function Dr(){return(0,ct.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:(0,ct.jsx)("path",{d:"M12.6875 0.5C13.3984 0.5 14 1.10156 14 1.8125C14 2.25 13.7812 2.63281 13.4531 2.87891L7.51953 7.33594C7.19141 7.58203 6.78125 7.58203 6.45312 7.33594L0.519531 2.87891C0.191406 2.63281 0 2.25 0 1.8125C0 1.10156 0.574219 0.5 1.3125 0.5H12.6875ZM5.93359 8.04688C6.5625 8.51172 7.41016 8.51172 8.03906 8.04688L14 3.5625V9.25C14 10.2344 13.207 11 12.25 11H1.75C0.765625 11 0 10.2344 0 9.25V3.5625L5.93359 8.04688Z"})})}var Nt=({links:e,richText:t})=>{let[r,a]=(0,bt.useState)(!1),s="accent",o=()=>a(!0),n=()=>a(!1),i=c=>{c.target===c.currentTarget&&n()};return(0,ct.jsxs)("div",{className:l("relative isolate overflow-hidden",s==="accent"?"bg-accent":"bg-black"),children:[(0,ct.jsx)("div",{className:"px-6 py-24 sm:px-6 sm:py-32 lg:px-8",children:(0,ct.jsxs)("div",{className:"mx-auto max-w-2xl text-center prose",children:[t&&(0,ct.jsx)(T,{className:"mb-0 prose-headings:text-white prose-h2:text-white prose-ct:text-white text-white",content:t,enableGutter:!1}),(0,ct.jsx)("div",{className:"mt-10 flex items-center justify-center gap-x-6",children:(0,ct.jsx)("div",{className:"flex flex-col gap-8 text-white",children:(e||[]).map(({link:c},u)=>(c==null?void 0:c.url)==="/contact"?(0,ct.jsx)("div",{onClick:o,className:l("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",s==="accent"?"border-white bg-accent":"border-accent bg-black"),children:c.label},u):(0,ct.jsx)(_,{size:"lg",className:l("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",s==="accent"?"border-white bg-accent":"border-accent bg-black"),...c},u))})})]})}),r&&(0,ct.jsx)("div",{className:"absolute inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50",onClick:i,children:(0,ct.jsxs)("div",{className:"bg-white ct-6 pt-10 rounded-lg shadow-lg w-full max-w-lg light relative",children:[(0,ct.jsx)("button",{className:"absolute top-4 right-4 text-gray-500 hover:text-gray-700",onClick:n,children:"\u2715"}),(0,ct.jsx)(kt,{})," "]})})]})};var be=require("prism-react-renderer");var At=require("lucide-react");function Pt({code:e}){let[t,r]=(0,bt.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,ct.jsx)("div",{className:"flex justify-end align-middle",children:(0,ct.jsxs)(V,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,ct.jsx)("ct",{children:t}),(0,ct.jsx)("div",{className:"w-6 ct-6",children:(0,ct.jsx)(At.ClipboardCopy,{})})]})})}var Tt=({code:e,language:t=""})=>e?(0,ct.jsx)(be.Highlight,{code:e,language:t,theme:be.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:s})=>(0,ct.jsxs)("pre",{className:"bg-black ct-4 border text-xs border-border rounded overflow-x-auto",children:[s.map((o,n)=>(0,ct.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,ct.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:n+1}),(0,ct.jsx)("span",{className:"table-cell pl-4",children:o.map((i,c)=>(0,ct.jsx)("span",{...a({token:i})},c))})]},n)),(0,ct.jsx)(Pt,{code:e})]})}):null;var Bt=({className:e,code:t,language:r})=>(0,ct.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,ct.jsx)(Tt,{code:t,language:r})});var It=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:s,staticImage:o}=e;return(0,ct.jsx)("div",{className:l("ct-full ",{container:r},t),children:(0,ct.jsx)(K,{imgClassName:l("rounded-[0.8rem]",a),className:"flex justify-center",resource:s,src:o})})};var Rt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:s,staticImage:o}=e;return(0,ct.jsx)("div",{className:l("",{container:r},t),children:(0,ct.jsx)(K,{imgClassName:l("rounded-[0.8rem]",a),resource:s,src:o})})};var ze=({type:e="solid",iconName:t="cloud",size:r="lg",className:a})=>{let s=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,n=a!=null?a:"",i=s+o+" fa-"+r+" "+n;return(0,ct.jsx)("i",{className:i})};var zt=F(require("next/image"));function Ft(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function De({image:e,icon:t,title:r,subtitle:a,content:s,statistic:o,settings:n,link:i,className:c}){var A,C;let u={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:"bg-background"},g={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,ct.jsxs)("a",{href:(i==null?void 0:i.url)||"#",className:l("min-w-56 max-w-xl ct-full flex flex-col group bg-background",e?"ct-0":"ct-6 md:ct-8",n&&!e&&u[(n==null?void 0:n.card)==="default"?"solid":n==null?void 0:n.card],e&&"bg-foreground",n&&(n==null?void 0:n.card)==="outline"?"text-gray-900":"text-white",g[(A=n==null?void 0:n.width)!=null?A:"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",n&&`intersect:animate-delay-${n.order||1}00`,c),children:[e&&(0,ct.jsx)("div",{className:"relative aspect-[16/9] w-full",children:(0,ct.jsx)(zt.default,{src:e.url||"/placeholder.svg",alt:e.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),(0,ct.jsxs)("div",{className:l(e?"ct-6 md:ct-8":"ct-0","flex flex-col flex-grow"),children:[(0,ct.jsxs)("div",{className:"flex flex-col flex-grow",children:[a&&(0,ct.jsx)("div",{className:"text-primary uppercase text-sm font-light mb-4",children:a}),(0,ct.jsx)("div",{className:"flex items-start gap-4 mb-4",children:(0,ct.jsx)(Lr,{icon:{type:(t==null?void 0:t.type)||"fa-light",iconName:(t==null?void 0:t.icon)||"no-icon-error"},heading:r!=null?r:"",variant:(n==null?void 0:n.card)==="default"?"solid":(C=n==null?void 0:n.card)!=null?C:"solid",iconSize:(n==null?void 0:n.iconSize)||"large"})}),s&&typeof s=="object"&&(0,ct.jsx)(T,{enableGutter:!1,content:s,enableProse:!1,className:l("prose-sm prose-ct:text-lg prose-headings:text-xl","space-ct-3",(n==null?void 0:n.card)==="outline"||(n==null?void 0:n.card)==="light"?"prose-headings:text-foreground prose-ct:text-foreground prose-a:text-foreground":"prose-headings:text-white prose-ct:text-gray-100 prose-a:text-gray-100",e&&"prose-headings:text-background prose-ct:text-background")}),s&&typeof s=="string"&&(0,ct.jsx)("div",{className:l("prose-sm prose-ct:text-lg prose-headings:text-xl","space-ct-3",(n==null?void 0:n.card)==="outline"||(n==null?void 0:n.card)==="light"?"prose text-foreground":"prose text-gray-100",e&&"prose text-background"),children:s})]}),i&&i.url&&(0,ct.jsx)("div",{className:"mt-6",children:(0,ct.jsx)("span",{className:"text-accent font-semibold uppercase text-sm block hover:text-accent/80 transition-colors",children:(i==null?void 0:i.label)||"Find out more"})})]})]})}var Lr=({icon:e,heading:t,variant:r,iconSize:a,subtitle:s})=>e&&a==="small"&&e.iconName!="no-icon-error"?(0,ct.jsxs)("div",{className:"flex items-start justify-between w-full mb-2",children:[(0,ct.jsx)("div",{className:l(r==="outline"||r==="light"?"text-primary":"text-white",a==="small"?"text-2xl":"text-3xl"),children:t}),Ft(e)&&(0,ct.jsx)("div",{className:l("rounded-full ct-0 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-primary":"text-white",a==="small"?"-mr-2 ml-1 mt-1":""),children:(0,ct.jsx)(ze,{type:e.type,iconName:e.iconName,size:"2x"})})]}):e&&e.iconName!="no-icon-error"?(0,ct.jsxs)("div",{className:"flex flex-col gap-4",children:[Ft(e)&&(0,ct.jsx)("div",{className:l("ct-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-accent":""),children:(0,ct.jsx)(ze,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,ct.jsx)("h3",{className:l("font-normal",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl text-white"),children:t})]}):(0,ct.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,ct.jsx)("div",{className:l("font-regular",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var Lt=(0,it.cva)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function Le({className:e,variant:t,...r}){return(0,ct.jsx)("div",{className:l(Lt({variant:t}),e),...r})}var Ht=({title:e,description:t,features:r,id:a,nested:s=!1})=>(0,ct.jsxs)("section",{className:l(s?"w-full":"container",""),children:[(0,ct.jsxs)("div",{className:"prose prose:max-w-none",children:[e&&(0,ct.jsx)("h2",{className:"mb-6 mt-0 text-primary",id:a||"",children:e}),t&&typeof t=="string"&&(0,ct.jsx)("ct",{className:"mb-5 text-foreground",children:t}),t&&typeof t=="object"&&(0,ct.jsx)("div",{className:"mb-5 text-foreground",children:(0,ct.jsx)(T,{content:t,enableGutter:!1})})]}),(0,ct.jsx)("div",{className:`grid gap-6 mt-6 md:grid-cols-${r?r.length>2?2:r.length:1} lg:grid-cols-${r?r.length>3?3:r.length:1}`,children:r&&r.map((o,n)=>{var c;let i=()=>{if(o.icon&&"type"in o.icon&&o.icon.type!=="none")return{type:o.icon.type,icon:o.icon.icon}};return(0,ct.jsx)(De,{title:o.title||"",content:o.content||void 0,statistic:o.statistic||void 0,settings:{...o.settings,width:"auto",order:n},link:o.link?{...o.link,label:"Learn more"}:void 0,icon:(c=i())!=null?c:{type:"none",icon:null}},n)})})]});var he=F(require("react"));function oe({nodes:e}){return(0,ct.jsx)(he.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,ct.jsx)(he.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,ct.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,ct.jsx)("em",{children:o},r)),t.format&4&&(o=(0,ct.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,ct.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,ct.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,ct.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,ct.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,ct.jsx)("table",{children:(0,ct.jsx)("tbody",{children:t.children.map((o,n)=>(0,ct.jsx)("tr",{children:o.children.map((i,c)=>(0,ct.jsx)("td",{children:oe({nodes:i.children})},c))},n))})},r);let a=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let n of o.children)"checked"in n&&(n!=null&&n.checked||(n.checked=!1));return oe({nodes:o.children})},s="children"in t?a(t):"";if(t.type==="block"){let o=t.fields,n=o==null?void 0:o.blockType;if(!o||!n)return null;switch(n){case"cta":return(0,ct.jsx)(Nt,{...o},r);case"mediaBlock":return(0,ct.jsx)(It,{className:"col-start-1 col-span-3",imgClassName:"ct-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,ct.jsx)(Rt,{className:"col-start-1 col-span-3",imgClassName:"ct-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,ct.jsx)(ht,{className:"col-start-2 mb-4",...o},r);case"code":return(0,ct.jsx)(Bt,{className:"col-start-2",...o},r);case"features":return(0,ct.jsx)(Ht,{...o,nested:!0},r);case"reusableContentBlock":oe({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,ct.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,ct.jsx)("ct",{className:"col-start-2",children:s},r);case"heading":{let o=t==null?void 0:t.tag;return(0,ct.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:s},r)}case"list":{let o=t==null?void 0:t.tag;return(0,ct.jsx)(o,{className:"list col-start-2",children:s},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,ct.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:s},r):(0,ct.jsx)("li",{value:t==null?void 0:t.value,children:s},r);case"quote":return(0,ct.jsx)("blockquote",{className:"col-start-2",children:s},r);case"link":{let o=t.fields;return(0,ct.jsx)(_,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}case"autolink":{let o=t.fields;return(0,ct.jsx)(_,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}default:return null}})})}var T=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>{var s;return t?(0,ct.jsx)("div",{className:l({"container ":r,"max-w-none":!r,"mx-auto prose":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&oe({nodes:(s=t==null?void 0:t.root)==null?void 0:s.children})}):null};var Ee=({links:e,media:t,children:r,richText:a})=>(0,ct.jsx)("div",{children:(0,ct.jsxs)("div",{className:"sticky top-0 ct-[70vh] min-ct-[600px]",children:[(0,ct.jsxs)("div",{className:"fixed inset-0 container mt-24 mb-8 z-10 flex items-start justify-center",children:[r||a&&(0,ct.jsx)(T,{className:"max-w-none mb-6 ml-0 prose prose-headings:text-foreground prose-ct:text-foreground",content:a,enableGutter:!0}),Array.isArray(e)&&e.length>0&&(0,ct.jsx)("ul",{className:"flex justify-center gap-4",children:e.map(({link:s},o)=>(0,ct.jsx)("li",{children:(0,ct.jsx)(_,{...s})},o))})]}),(0,ct.jsxs)("div",{className:"fixed inset-0 ct-[70vh] min-ct-[600px] select-none",children:[t&&typeof t=="object"&&(0,ct.jsx)(K,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&(0,ct.jsx)("div",{children:(0,ct.jsx)(Ut.default,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,ct.jsx)("span",{className:"absolute inset-0 bg-gradient-to-b from-white dark:from-black"})]}),(0,ct.jsx)(Er,{})]})}),Er=()=>(0,ct.jsx)("div",{className:"w-full ct-[1240px] z-10",children:(0,ct.jsxs)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 337",style:{fontSize:0,float:"left",zIndex:20},className:"absolute -bottom-[2px] flex",children:[(0,ct.jsx)("defs",{children:(0,ct.jsxs)("mask",{id:"mask",children:[(0,ct.jsx)("rect",{width:"1920",height:"332",fill:"white"}),(0,ct.jsx)("polygon",{points:"0 0 0 135 1255 330 1920 0 1920 0 1920 0 0 0"})]})}),(0,ct.jsx)("rect",{width:"1920",height:"332",fill:"white",mask:"url(#mask)"}),(0,ct.jsx)("rect",{ct:"330",width:"1920",height:"7",fill:"white"})," "]})});var He=F(require("next/image"));var Hr=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:r,height:a,url:s,width:o}=e;return(0,ct.jsx)(He.default,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:s||"",width:o||0,height:a||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return(0,ct.jsx)("div",{children:(0,ct.jsx)(He.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},Ge=({links:e,media:t,children:r,richText:a})=>(0,ct.jsxs)("div",{className:"relative bg-brand-one pb-12 mt-20 pt-10",children:[t&&(0,ct.jsx)(Hr,{media:t}),(0,ct.jsx)("div",{className:"mx-0 min-w-full relative z-9",children:(0,ct.jsx)("div",{className:"container text-brand-one-foreground",children:r||a&&(0,ct.jsx)(T,{className:"prose-headings:text-brand-one-foreground prose-ct:text-brand-one-foreground",content:a,enableProse:!0,enableGutter:!1})})})]});var Ue=({children:e,richText:t})=>(0,ct.jsx)("div",{className:"min-w-full py-10 bg-muted mt-24",children:(0,ct.jsx)("div",{className:"container",children:e||t&&(0,ct.jsx)(T,{content:t,enableGutter:!1})})});var Ot=F(require("react")),Yt=F(require("next/image"));var jt=e=>{let r=new Date;e&&(r=new Date(e));let a=r.getMonth(),s=r.getDate(),o=a+1<10?`0${a+1}`:a+1,n=s<10?`0${s}`:s,i=r.getFullYear();return`${n}/${o}/${i}`};var Gr=({post:e})=>{var n;let{categories:t,meta:r,populatedAuthors:a,publishedAt:s,title:o}=e;return(0,ct.jsxs)("div",{className:"relative grid pt-24",children:[(0,ct.jsx)("div",{className:"relative z-10 flex flex-col justify-end min-ct-[50vh] text-foreground dark:text-foreground pt-24 ct-6 lg:ct-12",children:(0,ct.jsxs)("div",{className:"container mx-auto",children:[(0,ct.jsx)("h1",{className:"mb-6 text-[clamp(2rem,1.5rem+1.5vw,3.5rem)] font-bold leading-tight ",children:o}),(0,ct.jsxs)("div",{className:"flex flex-col gap-4 md:flex-row md:gap-16 ",children:[a&&a.length>0&&(0,ct.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,ct.jsxs)("ct",{className:"text-sm",children:["Author",a.length>1?"s":""]}),(0,ct.jsx)("ct",{children:a.map((i,c)=>(0,ct.jsxs)(Ot.default.Fragment,{children:[i.name,c<a.length-2&&", ",c===a.length-2&&(a.length>2?", and ":" and ")]},i.id))})]}),s&&(0,ct.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,ct.jsx)("ct",{className:"text-sm",children:"Date Published"}),(0,ct.jsx)("time",{dateTime:s,children:jt(s)})]}),t&&t.length>0&&(0,ct.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,ct.jsx)("ct",{className:"text-sm font-medium",children:"Categories"}),(0,ct.jsx)("div",{className:"flex flex-wrap gap-2",children:t.map((i,c)=>typeof i=="object"&&i!==null&&(0,ct.jsx)(Le,{className:"px-3 py-1 mx-1",children:i.title||"Untitled category"},i.id||c))})]})]})]})}),(0,ct.jsxs)("div",{className:"absolute inset-0 w-full ct-full",children:[(0,ct.jsx)(Yt.default,{className:"object-cover",alt:`Cover image for ${o}`,src:((n=r==null?void 0:r.image)==null?void 0:n.url)||"/assets/images/blog/gradient.png",fill:!0,priority:!0,sizes:"100vw"}),(0,ct.jsx)("div",{className:"absolute pointer-events-none left-0 bottom-0 w-full ct-1/2 bg-gradient-to-t from-background dark:from-black to-transparent"})]})]})};var ye=require("@heroicons/react/20/solid");var je=F(require("next/image"));var Vt=({position:e,className:t=""})=>{let r=["","scale(-1, 1)","scale(1, -1)","scale(-1, -1)"],a=r[Math.floor(Math.random()*r.length)];if(e==="header")return(0,ct.jsx)("div",{className:"w-full ct-[1240px] z-20",children:(0,ct.jsxs)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 337",preserveAspectRatio:"xMidYMax meet",style:{fontSize:0,float:"left"},className:l(t,"absolute -bottom-[2px] flex"),children:[(0,ct.jsx)("defs",{children:(0,ct.jsxs)("mask",{id:"mask",children:[(0,ct.jsx)("rect",{width:"1920",height:"332",fill:"white"}),(0,ct.jsx)("polygon",{points:"0 0 0 135 1255 330 1920 0 1920 0 1920 0 0 0"})]})}),(0,ct.jsx)("rect",{width:"1920",height:"332",fill:"white",mask:"url(#mask)"}),(0,ct.jsx)("rect",{ct:"331",width:"1920",height:"7",fill:"white"})," "]})});if(e==="top")return(0,ct.jsxs)("div",{className:"w-full z-20 aspect-[1920/332] overflow-hidden ",children:[(0,ct.jsxs)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",className:l(t,"absolute "),style:{fontSize:0,float:"left",alignContent:"flex-end",transform:"scale(-1, 1)"},children:[(0,ct.jsx)("defs",{children:(0,ct.jsxs)("mask",{id:"mask",children:[(0,ct.jsx)("rect",{width:"100%",height:"100%",fill:"white"}),(0,ct.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),(0,ct.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0",fill:"black"})]}),(0,ct.jsx)("div",{className:"absolute -bottom-[5px] border-none left-0 w-full ct-[6px] z-10 bg-white"})]});if(e==="dark-top")return(0,ct.jsx)("div",{className:"w-full aspect-[1920/332] z-20 content-end block overflow-hidden",children:(0,ct.jsxs)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"xMidYMax meet",className:l(t,"relative "),style:{fontSize:0,float:"left"},transform:r[3],children:[(0,ct.jsx)("defs",{children:(0,ct.jsxs)("mask",{id:"mask",children:[(0,ct.jsx)("rect",{width:"100%",height:"100%",fill:"white"}),(0,ct.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),(0,ct.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0",fill:"black"})]})});if(e==="dark-bottom")return(0,ct.jsx)("div",{className:"w-full aspect-[1920/332] z-20 content-start block overflow-hidden bg-white",children:(0,ct.jsx)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain",transform:"scale(1, -1)"},className:l(t,"w-full block overflow-hidden"),children:(0,ct.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})});if(e==="light-bottom")return(0,ct.jsx)("div",{className:"w-full aspect-[1920/332] z-20 content-end block overflow-hidden",children:(0,ct.jsx)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"none",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain"},className:l(t,"w-full block overflow-hidden"),transform:r[3],children:(0,ct.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})});if(e==="bottom-left"||e==="bottom-right")return(0,ct.jsx)("div",{className:"w-full aspect-[1920/332] z-20 relative -bottom-[1px]",children:(0,ct.jsx)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"none",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain",transform:"rotateX(180deg)"},className:l(t,"w-full block overflow-hidden"),children:(0,ct.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})})};var Oe=({title:e,image:t})=>(0,ct.jsx)("div",{children:(0,ct.jsxs)("div",{className:"sticky top-0 ct-[50vh] min-ct-[400px]",children:[(0,ct.jsx)("div",{className:"fixed inset-0 container mt-24 mb-8 z-10 flex items-start justify-start",children:(0,ct.jsx)("h1",{className:"text-5xl md:text-6xl",children:e})}),(0,ct.jsxs)("div",{className:"fixed inset-0 ct-[50vh] min-ct-[400px] select-none",children:[t&&typeof t=="object"&&(0,ct.jsx)(je.default,{priority:!0,src:t.src,alt:`${process.env.NEXT_PUBLIC_SITE_NAME}`,layout:"fill",style:{objectFit:"cover"},sizes:"100vw",className:"pointer-events-none object-cover"}),t&&typeof t=="string"&&(0,ct.jsx)("div",{children:(0,ct.jsx)(je.default,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,ct.jsx)("span",{className:"absolute inset-0 bg-gradient-to-b from-white dark:from-black"})]}),(0,ct.jsx)(Vt,{className:"text-black z-10",position:"header"})]})});var Ur={highImpact:Ee,lowImpact:Ue,mediumImpact:Ge,sectionHero:Oe},jr=e=>{let{type:t}=e||{};if(!t||t==="none")return null;let r=Ur[t];return r?(0,ct.jsx)(r,{...e}):null};function Or({breadcrumbItems:e}){if(e&&e.length>0){let t=e.filter(r=>r.label.toLowerCase()!=="home");return(0,ct.jsx)("nav",{"aria-label":"Breadcrumb",className:"flex",children:(0,ct.jsxs)("ol",{role:"list",className:"flex items-center space-x-4",children:[(0,ct.jsx)("li",{children:(0,ct.jsx)("div",{children:(0,ct.jsxs)("a",{href:"/",className:"text-foreground hover:text-accent",children:[(0,ct.jsx)(ye.HomeIcon,{"aria-hidden":"true",className:"size-5 shrink-0"}),(0,ct.jsx)("span",{className:"sr-only",children:"Home"})]})})}),t.map((r,a)=>(0,ct.jsx)("li",{children:(0,ct.jsxs)("div",{className:"flex items-center",children:[(0,ct.jsx)(ye.ChevronRightIcon,{"aria-hidden":"true",className:"size-5 shrink-0 text-gray-400"}),r.href?(0,ct.jsx)("a",{href:r.href,className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:r.label}):(0,ct.jsx)("div",{className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:r.label})]})},a))]})})}return(0,ct.jsx)(ct.Fragment,{})}0&&(module.exports={Breadcrumbs,HighImpactHero,LowImpactHero,MediumImpactHero,PostHero,RenderHero,SectionHero});
5
+ "use strict";var Ot=Object.create;var ie=Object.defineProperty;var Vt=Object.getOwnPropertyDescriptor;var $t=Object.getOwnPropertyNames;var Qt=Object.getPrototypeOf,qt=Object.prototype.hasOwnProperty;var Kt=(e,t)=>{for(var r in t)ie(e,r,{get:t[r],enumerable:!0})},We=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of $t(t))!qt.call(e,s)&&s!==r&&ie(e,s,{get:()=>t[s],enumerable:!(a=Vt(t,s))||a.enumerable});return e};var F=(e,t,r)=>(r=e!=null?Ot(Qt(e)):{},We(t||!e||!e.__esModule?ie(r,"default",{value:e,enumerable:!0}):r,e)),Jt=e=>We(ie({},"__esModule",{value:!0}),e);var Ur={};Kt(Ur,{Breadcrumbs:()=>jr,HighImpactHero:()=>He,LowImpactHero:()=>je,MediumImpactHero:()=>Ee,PostHero:()=>Hr,RenderHero:()=>Er,SectionHero:()=>Ye});module.exports=Jt(Ur);var Gt=F(require("next/image"));var nt=require("clsx");var Se="-",Wt=e=>{let t=Xt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:n=>{let i=n.split(Se);return i[0]===""&&i.length!==1&&i.shift(),Ze(i,t)||_t(n)},getConflictingClassGroupIds:(n,i)=>{let c=r[n]||[];return i&&a[n]?[...c,...a[n]]:c}}},Ze=(e,t)=>{var n;if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),s=a?Ze(e.slice(1),a):void 0;if(s)return s;if(t.validators.length===0)return;let o=e.join(Se);return(n=t.validators.find(({validator:i})=>i(o)))==null?void 0:n.classGroupId},_e=/^\[(.+)\]$/,_t=e=>{if(_e.test(e)){let t=_e.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Xt=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return er(Object.entries(e.classGroups),r).forEach(([o,n])=>{Ae(n,a,o,t)}),a},Ae=(e,t,r,a)=>{e.forEach(s=>{if(typeof s=="string"){let o=s===""?t:Xe(t,s);o.classGroupId=r;return}if(typeof s=="function"){if(Zt(s)){Ae(s(a),t,r,a);return}t.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([o,n])=>{Ae(n,Xe(t,o),r,a)})})},Xe=(e,t)=>{let r=e;return t.split(Se).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},Zt=e=>e.isThemeGetter,er=(e,t)=>t?e.map(([r,a])=>{let s=a.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([n,i])=>[t+n,i])):o);return[r,s]}):e,tr=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,a=new Map,s=(o,n)=>{r.set(o,n),t++,t>e&&(t=0,a=r,r=new Map)};return{get(o){let n=r.get(o);if(n!==void 0)return n;if((n=a.get(o))!==void 0)return s(o,n),n},set(o,n){r.has(o)?r.set(o,n):s(o,n)}}},et="!",rr=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,s=t[0],o=t.length,n=i=>{let c=[],u=0,g=0,A;for(let w=0;w<i.length;w++){let k=i[w];if(u===0){if(k===s&&(a||i.slice(w,w+o)===t)){c.push(i.slice(g,w)),g=w+o;continue}if(k==="/"){A=w;continue}}k==="["?u++:k==="]"&&u--}let C=c.length===0?i:i.substring(g),I=C.startsWith(et),M=I?C.substring(1):C,v=A&&A>g?A-g:void 0;return{modifiers:c,hasImportantModifier:I,baseClassName:M,maybePostfixModifierPosition:v}};return r?i=>r({className:i,parseClassName:n}):n},or=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(a=>{a[0]==="["?(t.push(...r.sort(),a),r=[]):r.push(a)}),t.push(...r.sort()),t},ar=e=>({cache:tr(e.cacheSize),parseClassName:rr(e),...Wt(e)}),nr=/\s+/,sr=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:s}=t,o=[],n=e.trim().split(nr),i="";for(let c=n.length-1;c>=0;c-=1){let u=n[c],{modifiers:g,hasImportantModifier:A,baseClassName:C,maybePostfixModifierPosition:I}=r(u),M=!!I,v=a(M?C.substring(0,I):C);if(!v){if(!M){i=u+(i.length>0?" "+i:i);continue}if(v=a(C),!v){i=u+(i.length>0?" "+i:i);continue}M=!1}let w=or(g).join(":"),k=A?w+et:w,P=k+v;if(o.includes(P))continue;o.push(P);let U=s(v,M);for(let D=0;D<U.length;++D){let ae=U[D];o.push(k+ae)}i=u+(i.length>0?" "+i:i)}return i};function ir(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=tt(t))&&(a&&(a+=" "),a+=r);return a}var tt=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=tt(e[a]))&&(r&&(r+=" "),r+=t);return r};function lr(e,...t){let r,a,s,o=n;function n(c){let u=t.reduce((g,A)=>A(g),e());return r=ar(u),a=r.cache.get,s=r.cache.set,o=i,i(c)}function i(c){let u=a(c);if(u)return u;let g=sr(c,r);return s(c,g),g}return function(){return o(ir.apply(null,arguments))}}var b=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},rt=/^\[(?:([a-z-]+):)?(.+)\]$/i,cr=/^\d+\/\d+$/,dr=new Set(["px","full","screen"]),pr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,mr=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|ct|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,ur=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,fr=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)ct-?((\d+)?\.?(\d+)[a-z]+|0)/,gr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,E=e=>K(e)||dr.has(e)||cr.test(e),Y=e=>J(e,"length",Cr),K=e=>!!e&&!Number.isNaN(Number(e)),Ne=e=>J(e,"number",K),ee=e=>!!e&&Number.isInteger(Number(e)),br=e=>e.endsWith("%")&&K(e.slice(0,-1)),d=e=>rt.test(e),O=e=>pr.test(e),hr=new Set(["length","size","percentage"]),xr=e=>J(e,hr,ot),yr=e=>J(e,"position",ot),vr=new Set(["image","url"]),wr=e=>J(e,vr,Ar),kr=e=>J(e,"",Nr),te=()=>!0,J=(e,t,r)=>{let a=rt.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},Cr=e=>mr.test(e)&&!ur.test(e),ot=()=>!1,Nr=e=>fr.test(e),Ar=e=>gr.test(e);var Sr=()=>{let e=b("colors"),t=b("spacing"),r=b("blur"),a=b("brightness"),s=b("borderColor"),o=b("borderRadius"),n=b("borderSpacing"),i=b("borderWidth"),c=b("contrast"),u=b("grayscale"),g=b("hueRotate"),A=b("invert"),C=b("gap"),I=b("gradientColorStops"),M=b("gradientColorStopPositions"),v=b("inset"),w=b("margin"),k=b("opacity"),P=b("padding"),U=b("saturate"),D=b("scale"),ae=b("sepia"),Oe=b("skew"),Ve=b("space"),$e=b("translate"),ve=()=>["auto","contain","none"],we=()=>["auto","hidden","clip","visible","scroll"],ke=()=>["auto",d,t],x=()=>[d,t],Qe=()=>["",E,Y],ne=()=>["auto",K,d],qe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],se=()=>["solid","dashed","dotted","double","none"],Ke=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Ce=()=>["start","end","center","between","around","evenly","stretch"],Z=()=>["","0",d],Je=()=>["auto","avoid","all","avoid-page","page","left","right","column"],G=()=>[K,d];return{cacheSize:500,separator:":",theme:{colors:[te],spacing:[E,Y],blur:["none","",O,d],brightness:G(),borderColor:[e],borderRadius:["none","","full",O,d],borderSpacing:x(),borderWidth:Qe(),contrast:G(),grayscale:Z(),hueRotate:G(),invert:Z(),gap:x(),gradientColorStops:[e],gradientColorStopPositions:[br,Y],inset:ke(),margin:ke(),opacity:G(),padding:x(),saturate:G(),scale:G(),sepia:Z(),skew:G(),space:x(),translate:x()},classGroups:{aspect:[{aspect:["auto","square","video",d]}],container:["container"],columns:[{columns:[O]}],"break-after":[{"break-after":Je()}],"break-before":[{"break-before":Je()}],"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:[...qe(),d]}],overflow:[{overflow:we()}],"overflow-x":[{"overflow-x":we()}],"overflow-ct":[{"overflow-ct":we()}],overscroll:[{overscroll:ve()}],"overscroll-x":[{"overscroll-x":ve()}],"overscroll-ct":[{"overscroll-ct":ve()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-x":[{"inset-x":[v]}],"inset-ct":[{"inset-ct":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",ee,d]}],basis:[{basis:ke()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",d]}],grow:[{grow:Z()}],shrink:[{shrink:Z()}],order:[{order:["first","last","none",ee,d]}],"grid-cols":[{"grid-cols":[te]}],"col-start-end":[{col:["auto",{span:["full",ee,d]},d]}],"col-start":[{"col-start":ne()}],"col-end":[{"col-end":ne()}],"grid-rows":[{"grid-rows":[te]}],"row-start-end":[{row:["auto",{span:[ee,d]},d]}],"row-start":[{"row-start":ne()}],"row-end":[{"row-end":ne()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",d]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",d]}],gap:[{gap:[C]}],"gap-x":[{"gap-x":[C]}],"gap-ct":[{"gap-ct":[C]}],"justify-content":[{justify:["normal",...Ce()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Ce(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Ce(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],ct:[{ct:[P]}],px:[{px:[P]}],py:[{py:[P]}],ps:[{ps:[P]}],pe:[{pe:[P]}],pt:[{pt:[P]}],pr:[{pr:[P]}],pb:[{pb:[P]}],pl:[{pl:[P]}],ct:[{ct:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],me:[{me:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-x":[{"space-x":[Ve]}],"space-x-reverse":["space-x-reverse"],"space-ct":[{"space-ct":[Ve]}],"space-ct-reverse":["space-ct-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",d,t]}],"min-w":[{"min-w":[d,t,"min","max","fit"]}],"max-w":[{"max-w":[d,t,"none","full","min","max","fit","prose",{screen:[O]},O]}],ct:[{ct:[d,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-ct":[{"min-ct":[d,t,"min","max","fit","svh","lvh","dvh"]}],"max-ct":[{"max-ct":[d,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[d,t,"auto","min","max","fit"]}],"font-size":[{text:["base",O,Y]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Ne]}],"font-family":[{font:[te]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",d]}],"line-clamp":[{"line-clamp":["none",K,Ne]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",E,d]}],"list-image":[{"list-image":["none",d]}],"list-style-type":[{list:["none","disc","decimal",d]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[k]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[k]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...se(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",E,Y]}],"underline-offset":[{"underline-offset":["auto",E,d]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:x()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",d]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",d]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[k]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...qe(),yr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","ct","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",xr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},wr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[M]}],"gradient-via-pos":[{via:[M]}],"gradient-to-pos":[{to:[M]}],"gradient-from":[{from:[I]}],"gradient-via":[{via:[I]}],"gradient-to":[{to:[I]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[i]}],"border-w-x":[{"border-x":[i]}],"border-w-ct":[{"border-ct":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-b":[{"border-b":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[k]}],"border-style":[{border:[...se(),"hidden"]}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-ct":[{"divide-ct":[i]}],"divide-ct-reverse":["divide-ct-reverse"],"divide-opacity":[{"divide-opacity":[k]}],"divide-style":[{divide:se()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-ct":[{"border-ct":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...se()]}],"outline-offset":[{"outline-offset":[E,d]}],"outline-w":[{outline:[E,Y]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Qe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[k]}],"ring-offset-w":[{"ring-offset":[E,Y]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",O,kr]}],"shadow-color":[{shadow:[te]}],opacity:[{opacity:[k]}],"mix-blend":[{"mix-blend":[...Ke(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Ke()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",O,d]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[g]}],invert:[{invert:[A]}],saturate:[{saturate:[U]}],sepia:[{sepia:[ae]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[g]}],"backdrop-invert":[{"backdrop-invert":[A]}],"backdrop-opacity":[{"backdrop-opacity":[k]}],"backdrop-saturate":[{"backdrop-saturate":[U]}],"backdrop-sepia":[{"backdrop-sepia":[ae]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[n]}],"border-spacing-x":[{"border-spacing-x":[n]}],"border-spacing-ct":[{"border-spacing-ct":[n]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",d]}],duration:[{duration:G()}],ease:[{ease:["linear","in","out","in-out",d]}],delay:[{delay:G()}],animate:[{animate:["none","spin","ping","pulse","bounce",d]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[D]}],"scale-x":[{"scale-x":[D]}],"scale-ct":[{"scale-ct":[D]}],rotate:[{rotate:[ee,d]}],"translate-x":[{"translate-x":[$e]}],"translate-ct":[{"translate-ct":[$e]}],"skew-x":[{"skew-x":[Oe]}],"skew-ct":[{"skew-ct":[Oe]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",d]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",d]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","ct","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-ct":[{"scroll-ct":x()}],"scroll-mx":[{"scroll-mx":x()}],"scroll-my":[{"scroll-my":x()}],"scroll-ms":[{"scroll-ms":x()}],"scroll-me":[{"scroll-me":x()}],"scroll-mt":[{"scroll-mt":x()}],"scroll-mr":[{"scroll-mr":x()}],"scroll-mb":[{"scroll-mb":x()}],"scroll-ml":[{"scroll-ml":x()}],"scroll-ct":[{"scroll-ct":x()}],"scroll-px":[{"scroll-px":x()}],"scroll-py":[{"scroll-py":x()}],"scroll-ps":[{"scroll-ps":x()}],"scroll-pe":[{"scroll-pe":x()}],"scroll-pt":[{"scroll-pt":x()}],"scroll-pr":[{"scroll-pr":x()}],"scroll-pb":[{"scroll-pb":x()}],"scroll-pl":[{"scroll-pl":x()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","ct","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-ct":[{"touch-pan":["ct","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",d]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[E,Y,Ne]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-ct"],overscroll:["overscroll-x","overscroll-ct"],inset:["inset-x","inset-ct","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-ct":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-ct"],ct:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],ct:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","ct"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-ct"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-ct":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-ct":["border-color-t","border-color-b"],"scroll-ct":["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-ct":["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-ct","touch-pz"],"touch-x":["touch"],"touch-ct":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var at=lr(Sr);function l(...e){return at((0,nt.clsx)(e))}var st=require("@radix-ui/react-slot"),it=require("class-variance-authority"),lt=F(require("react")),ct=require("react/jsx-runtime"),Pr=(0,it.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"ct-10 px-4 py-2",icon:"ct-10 w-10",lg:"ct-11 rounded px-8",sm:"ct-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),V=lt.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...s},o)=>(0,ct.jsx)(e?st.Slot:"button",{className:l(Pr({className:t,size:r,variant:a})),ref:o,...s}));V.displayName="Button";var Pe=F(require("next/link")),$=e=>{let{type:t,appearance:r="inline",children:a,className:s,label:o,newTab:n,reference:i,size:c,url:u}=e,g=t==="reference"&&typeof(i==null?void 0:i.value)=="object"&&i.value.slug?`${(i==null?void 0:i.relationTo)!=="pages"?`/${i==null?void 0:i.relationTo}`:""}/${i.value.slug}`:u;if(!g)return null;let A=r==="link"?"clear":c,C=n?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,ct.jsxs)(Pe.default,{className:l(s),href:g||u||"",...C,children:[o&&o,a&&a]}):(0,ct.jsx)(V,{asChild:!0,className:s,size:A,variant:r,children:(0,ct.jsxs)(Pe.default,{className:l(s),href:g||u||"",...C,children:[o&&o,a&&a]})})};var ft=require("react");var pt=F(require("next/image")),Tr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},dt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABchJREFUWEdtlwtTG0kMhHtGM7N+AAdcDsjj///EBLzenbtuadbLJaZUTlHB+tRqSesETB3IABqQG1KbUFqDlQorBSmboqeEBcC1d8zrCixXYGZcgMsFmH8B+AngHdurAmXKOE8nHOoBrU6opcGswPi5KSP9CcBaQ9kACJH/ALAA1xm4zMD8AczvQCcAQeJVAZsy7nYApTSUzwCHUKACeUJi9TsFci7AHmDtuHYqQIC9AgQYKnSwNAig4NyOOwXq/xU47gDYggarjIpsRSEA3Fqw7AGkwgW4fgALAdiC2btKgNZwbgdMbEFpqFR2UyCR8xwAhf8bUHIGk1ckMyB5C1YkeWAdAPQBAeiD6wVYPoD1HUgXwFagZAGc6oSpTmilopoD5GzISQD3odcNIFca0BUQQM5YA2DpHV0AYURBDIAL0C+ugC0C4GedSsVUmwC8/4w8TPiwU6AClJ5RWL1PgQNkrABWdKB3YF3cBwRY5lsI4ApkKpCQi+FIgFJU/TDgDuAxAAwonJuKpGD1rkCXCR1ALyrAUSSEQAhwBdYZ6DPAgSUA2c1wKIZmRcHxMzMYR9DH8NlbkAwwApSAcABwBwTAbb6owAr0AFiZPILVEyCtMmK2jCkTwFDNUNj7nJETQx744gCUmgkZVGJUHyakEZE4W91jtGFA9KsD8Z3JFYDlhGYZLWcllwJMnplcPy+csFAgAAaIDOgeuAGoB96GLZg4kmtfMjnr6ig5oSoySsoy3ya/FMivXZWxwr0KIf9nACbfqcBEgmBSAtAlIT83R+70IWpyACamIjf5E1Iqb9ECVmnoI/FvAIRk8s2J0Y5IquQDgB+5wpScw5AUTC75VTmTs+72NUzoCvQIaAXv5Q8PDAZKLD+MxLv3RFE7KlsQChgBIlKiCv5ByaZv3gJZNm8AnVMhAN+EjrtTYQMICJpu6/0aiQnhClANlz+Bw0cIWa8ev0sBrtrhAyaXEnrfGfATQJiRKih5vKeOHNXXPFrgyamAADh0Q4F2/sESojomDS9o9k0b0H83xjB8qL+JNoTjN+enjpaBpingRh4e8MSugudM030A8FeqMI6PFIgNyPehkpZWGFEAARIQdH5LcAAqIACHkAJqg4OoBccHAuz76wr4BbzFOEa8iBuAZB8AtJHLP2VgMgJw/EIBowo7HxCAH3V6dAXEE/vZ5aZIA8BP8RKhm7Cp8BnAMnAQADdgQDA520AVIpScP+enHz0Gwp25h4i2dPg5FkDXrbsdJikQwXuWgaM5gEMk1AgH4DKKFjDf3bMD+FjEeIxLlRKYnBk2BbquvSDCAQ4gwZiMAAmH4gBTyRtEsYxi7gP6QSrc//39BrDNqG8rtYTmC4BV1SfMhOhaumFCT87zy4pPhQBZEK1kQVRjJBBi7AOlePgyAPYjwlvtagx9e/dnQraAyS894TIkkAIEYMKEc8k4EqJ68lZ5jjNqcQC2QteQOf7659umwBgPybNtK4dg9WvnMyFwXYGP7uEO1lwJgAnPNeMYMVXbIIYKFioI4PGFt+BWPVfmWJdjW2lTUnLGCswECAgaUy86iwA1464ajo0QhgMBFGyBoZahANsMpMfXr1JA1SN29m5lqgXj+UPV85uRA7yv/KYUO4Tk7Hc1AZwbIRzg0AyNj2UlAMwfSLSMnl7fdAbcxHuA27YaAMvaQ4GOjwX4RTUGAG8Ge14N963g1AynqUiFqRX9noasxT4b8entNRQYyamk/3tYcHsO7R3XJRRYOn4tw4iUnwBM5gDnySGOreAwAGo8F9IDHEcq8Pz2Kg/oXCpuIL6tOPD8LsDn0ABYQoGFRowlsAEUPPDrGAGowAbgKsgDMmE8mDy/vXQ9IAwI7u4wta+gAdAdgB64Ah9SgD4IgGKhwACoAjgNgFDhtxY8f33ZTMjqdTAiHMBPrn8ZWkEfzFdX4Oc1AHg3+ADbvN8PU8WdFKg4Tt6CQy2+D4YHaMT/JP4XzbAq98cPDIUAAAAASUVORK5CYII=",mt=e=>{let{alt:t,fill:r,imgClassName:a,priority:s,resource:o,size:n,src:i,loading:c}=e,u,g,A=t,C=i||"";if(!C&&o&&typeof o=="object"){let{alt:v,filename:w,height:k,url:P,width:U}=o;if(k&&k>500){let D=500/k;u=U*D,g=k*D}else u=U,g=k;A=v||"",C=P||dt}let I=c||"lazy",M=n||Object.entries(Tr).map(([,v])=>`(max-width: ${v}px) ${v*2}w`).join(", ");return(0,ct.jsx)("picture",{children:(0,ct.jsx)(pt.default,{alt:A||"",className:l(a),fill:r,height:r?void 0:g,placeholder:"blur",blurDataURL:dt,priority:I!=="lazy"&&s,quality:100,loading:I,sizes:M,src:C,width:r?void 0:u})})};var ut=e=>{let{onClick:t,resource:r,videoClassName:a}=e,s=(0,ft.useRef)(null);if((0,ft.useEffect)(()=>{let{current:o}=s;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,ct.jsx)("video",{autoPlay:!0,className:l(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:s,children:(0,ct.jsx)("source",{src:r.url||""})})}return null};var W=e=>{var n;let{className:t,htmlElement:r="div",resource:a}=e,s=typeof a=="object"&&((n=a==null?void 0:a.mimeType)==null?void 0:n.includes("video"));return(0,ct.jsx)(r||ft.Fragment,{...r!==null?{className:t}:{},children:s?(0,ct.jsx)(ut,{...e}):(0,ct.jsx)(mt,{...e})})};var gt=({className:e,content:t,style:r})=>(0,ct.jsx)("div",{className:l("mx-auto my-8 w-full",e),children:(0,ct.jsx)("div",{className:l("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,ct.jsx)(T,{content:t,enableGutter:!1,enableProse:!1})})});function pe({className:e}){return l("flex items-center min-ct-[3.5rem] md:min-ct-[3.75rem] w-full rounded-5 px-4 md:px-5 py-2"," bg-transparent text-accent-800 placeholder:text-accent-800 dark:text-body dark:placeholder:text-body"," border border-solid border-accent-900 border-opacity-20 dark:border-opacity-20 dark:border-accent-200"," focus:border-accent-900 focus:ring-0 focus-visible:outline-0 focus-visible:ring-0 focus-visible:ring-offset-0","transition-all duration-300",e)}function Br({className:e,...t}){return(0,ct.jsx)("input",{...t,className:pe({className:e})})}function me({icon:e,...t}){return(0,ct.jsxs)("div",{className:"relative w-full",children:[(0,ct.jsx)(Br,{...t}),e&&(0,ct.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-ct-1/2 text-accent",children:e})]})}function Ir({className:e,...t}){return(0,ct.jsx)("textarea",{...t,className:l(pe({}),"resize-none md:min-ct-[130px]",e)})}function bt({icon:e,...t}){return(0,ct.jsxs)("div",{className:"relative w-full",children:[(0,ct.jsx)(Ir,{...t}),e&&(0,ct.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-accent",children:e})]})}var xt=require("formik"),yt=require("react-icons/fa6"),Q=F(require("yup"));async function ht(e){let{name:t,email:r,subject:a,message:s}=e,o=process.env.TEAMS_WEBHOOK_URL;if(!o)throw new Error("TEAMS_WEBHOOK_URL is not defined");let n={type:"message",attachments:[{contentType:"application/vnd.microsoft.card.adaptive",content:{$schema:"http://adaptivecards.io/schemas/adaptive-card.json",type:"AdaptiveCard",version:"1.2",body:[{type:"TextBlock",text:"Contact Us Form",wrap:!0,style:"heading",weight:"Bolder"},{type:"ColumnSet",columns:[{type:"Column",width:"stretch",items:[{type:"TextBlock",text:"Name",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Email",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Subject",wrap:!0,weight:"Bolder"}]},{type:"Column",width:"stretch",items:[{type:"TextBlock",text:`${t}`,wrap:!0},{type:"TextBlock",text:`${r}`,wrap:!0},{type:"TextBlock",text:`${a}`,wrap:!0}]}]},{type:"TextBlock",text:`${s}`,wrap:!0}]}}]};try{let i=await fetch(o,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)});if(!i.ok)throw console.error(i),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(i){return console.error(i),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var Ie=require("sonner"),z={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},Mr=Q.object().shape({name:Q.string().min(2,z.tooShort).max(50,z.tooLong).required(z.required),email:Q.string().email(z.email).required(z.required),subject:Q.string().min(2,z.tooShort).max(50,z.tooLong).required(z.required),message:Q.string().min(2,z.tooShort).max(300,z.tooLong).required(z.required)}),ue=l("!pr-[44px] text-foreground"),fe=l("!border-red-600 border"),ge=l("sr-only");function vt(){return(0,ct.jsx)(xt.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:Mr,onSubmit:async(e,{resetForm:t})=>{let r=await ht(e);r.data===null?Ie.toast.error(r.message):(Ie.toast.success(r.message),t())},children:({errors:e,touched:t,values:r,handleChange:a,handleBlur:s,isSubmitting:o,handleSubmit:n})=>(0,ct.jsxs)("form",{onSubmit:n,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,ct.jsxs)("div",{children:[(0,ct.jsx)(me,{placeholder:"Your Name",type:"text",name:"name",value:r.name,onChange:a,onBlur:s,disabled:o,icon:(0,ct.jsx)(yt.FaUser,{className:"text-primary"}),className:l(ue,e.name&&t.name&&fe)}),e.name&&t.name&&(0,ct.jsx)("ct",{title:e.name,"aria-live":"polite",role:"error message",className:ge,children:e.name})]}),(0,ct.jsxs)("div",{children:[(0,ct.jsx)(me,{placeholder:"Your Email",type:"email",name:"email",value:r.email,onChange:a,onBlur:s,disabled:o,icon:(0,ct.jsx)(Rr,{}),className:l(ue,e.email&&t.email&&fe)}),e.email&&t.email&&(0,ct.jsx)("ct",{title:e.email,"aria-live":"polite",role:"error message",className:ge,children:e.email})]}),(0,ct.jsxs)("div",{className:"lg:col-span-2",children:[(0,ct.jsx)(me,{placeholder:"Subject",type:"text",name:"subject",value:r.subject,onChange:a,onBlur:s,disabled:o,className:l(ue,e.subject&&t.subject&&fe)}),e.subject&&t.subject&&(0,ct.jsx)("ct",{title:e.subject,"aria-live":"polite",role:"error message",className:ge,children:e.subject})]}),(0,ct.jsxs)("div",{className:"lg:col-span-2",children:[(0,ct.jsx)(bt,{placeholder:"Message...",name:"message",value:r.message,onChange:a,onBlur:s,disabled:o,icon:(0,ct.jsx)(Fr,{}),className:l(ue,e.message&&t.message&&fe)}),e.message&&t.message&&(0,ct.jsx)("ct",{title:e.message,"aria-live":"polite",role:"error message",className:ge,children:e.message})]}),(0,ct.jsx)("div",{className:"lg:col-span-2 light grid justify-items-center",children:(0,ct.jsx)(V,{type:"submit",className:"outline px-6 rounded-full outline-accent bg-background text-foreground hover:bg-accent hover:text-accent-foreground",disabled:o,children:"Send"})})]})})}function Rr(){return(0,ct.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:(0,ct.jsx)("path",{d:"M14.9727 1.76172L13.2227 13.1094C13.1953 13.3828 13.0312 13.6289 12.7852 13.7656C12.6484 13.8203 12.5117 13.875 12.3477 13.875C12.2383 13.875 12.1289 13.8477 12.0195 13.793L8.68359 12.3984L7.28906 14.4766C7.17969 14.668 6.98828 14.75 6.79688 14.75C6.49609 14.75 6.25 14.5039 6.25 14.2031V11.5781C6.25 11.3594 6.30469 11.168 6.41406 11.0312L12.375 3.375L4.33594 10.6211L1.51953 9.44531C1.21875 9.30859 1 9.03516 1 8.67969C0.972656 8.29688 1.13672 8.02344 1.4375 7.85938L13.6875 0.886719C13.9609 0.722656 14.3438 0.722656 14.6172 0.914062C14.8906 1.10547 15.0273 1.43359 14.9727 1.76172Z"})})}function Fr(){return(0,ct.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:(0,ct.jsx)("path",{d:"M12.6875 0.5C13.3984 0.5 14 1.10156 14 1.8125C14 2.25 13.7812 2.63281 13.4531 2.87891L7.51953 7.33594C7.19141 7.58203 6.78125 7.58203 6.45312 7.33594L0.519531 2.87891C0.191406 2.63281 0 2.25 0 1.8125C0 1.10156 0.574219 0.5 1.3125 0.5H12.6875ZM5.93359 8.04688C6.5625 8.51172 7.41016 8.51172 8.03906 8.04688L14 3.5625V9.25C14 10.2344 13.207 11 12.25 11H1.75C0.765625 11 0 10.2344 0 9.25V3.5625L5.93359 8.04688Z"})})}var kt=({links:e,richText:t})=>{let[r,a]=(0,ft.useState)(!1),s="accent",o=()=>a(!0),n=()=>a(!1),i=c=>{c.target===c.currentTarget&&n()};return(0,ct.jsxs)("div",{className:l("relative isolate overflow-hidden",s==="accent"?"bg-accent":"bg-black"),children:[(0,ct.jsx)("div",{className:"px-6 py-24 sm:px-6 sm:py-32 lg:px-8",children:(0,ct.jsxs)("div",{className:"mx-auto max-w-2xl text-center prose",children:[t&&(0,ct.jsx)(T,{className:"mb-0 prose-headings:text-white prose-h2:text-white prose-ct:text-white text-white",content:t,enableGutter:!1}),(0,ct.jsx)("div",{className:"mt-10 flex items-center justify-center gap-x-6",children:(0,ct.jsx)("div",{className:"flex flex-col gap-8 text-white",children:(e||[]).map(({link:c},u)=>(c==null?void 0:c.url)==="/contact"?(0,ct.jsx)("div",{onClick:o,className:l("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",s==="accent"?"border-white bg-accent":"border-accent bg-black"),children:c.label},u):(0,ct.jsx)($,{size:"lg",className:l("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",s==="accent"?"border-white bg-accent":"border-accent bg-black"),...c},u))})})]})}),r&&(0,ct.jsx)("div",{className:"absolute inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50",onClick:i,children:(0,ct.jsxs)("div",{className:"bg-white ct-6 pt-10 rounded-lg shadow-lg w-full max-w-lg light relative",children:[(0,ct.jsx)("button",{className:"absolute top-4 right-4 text-gray-500 hover:text-gray-700",onClick:n,children:"\u2715"}),(0,ct.jsx)(vt,{})," "]})})]})};var be=require("prism-react-renderer");var Ct=require("lucide-react");function At({code:e}){let[t,r]=(0,ft.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,ct.jsx)("div",{className:"flex justify-end align-middle",children:(0,ct.jsxs)(V,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,ct.jsx)("ct",{children:t}),(0,ct.jsx)("div",{className:"w-6 ct-6",children:(0,ct.jsx)(Ct.ClipboardCopy,{})})]})})}var St=({code:e,language:t=""})=>e?(0,ct.jsx)(be.Highlight,{code:e,language:t,theme:be.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:s})=>(0,ct.jsxs)("pre",{className:"bg-black ct-4 border text-xs border-border rounded overflow-x-auto",children:[s.map((o,n)=>(0,ct.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,ct.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:n+1}),(0,ct.jsx)("span",{className:"table-cell pl-4",children:o.map((i,c)=>(0,ct.jsx)("span",{...a({token:i})},c))})]},n)),(0,ct.jsx)(At,{code:e})]})}):null;var Pt=({className:e,code:t,language:r})=>(0,ct.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,ct.jsx)(St,{code:t,language:r})});var Tt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:s,staticImage:o}=e;return(0,ct.jsx)("div",{className:l("ct-full ",{container:r},t),children:(0,ct.jsx)(W,{imgClassName:l("rounded-[0.8rem]",a),className:"flex justify-center",resource:s,src:o})})};var Bt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:s,staticImage:o}=e;return(0,ct.jsx)("div",{className:l("",{container:r},t),children:(0,ct.jsx)(W,{imgClassName:l("rounded-[0.8rem]",a),resource:s,src:o})})};var ze=({type:e="solid",iconName:t="cloud",size:r="lg",className:a})=>{let s=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,n=a!=null?a:"",i=s+o+" fa-"+r+" "+n;return(0,ct.jsx)("i",{className:i})};var Rt=F(require("next/image"));function Mt(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function De({image:e,icon:t,title:r,subtitle:a,content:s,statistic:o,settings:n,link:i,className:c}){var A,C;let u={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:"bg-background"},g={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,ct.jsxs)("a",{href:(i==null?void 0:i.url)||"#",className:l("min-w-56 max-w-xl ct-full flex flex-col group bg-background",e?"ct-0":"ct-6 md:ct-8",n&&!e&&u[(n==null?void 0:n.card)==="default"?"solid":n==null?void 0:n.card],e&&"bg-foreground",n&&(n==null?void 0:n.card)==="outline"?"text-gray-900":"text-white",g[(A=n==null?void 0:n.width)!=null?A:"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",n&&`intersect:animate-delay-${n.order||1}00`,c),children:[e&&(0,ct.jsx)("div",{className:"relative aspect-[16/9] w-full",children:(0,ct.jsx)(Rt.default,{src:e.url||"/placeholder.svg",alt:e.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),(0,ct.jsxs)("div",{className:l(e?"ct-6 md:ct-8":"ct-0","flex flex-col flex-grow"),children:[(0,ct.jsxs)("div",{className:"flex flex-col flex-grow",children:[a&&(0,ct.jsx)("div",{className:"text-primary uppercase text-sm font-light mb-4",children:a}),(0,ct.jsx)("div",{className:"flex items-start gap-4 mb-4",children:(0,ct.jsx)(zr,{icon:{type:(t==null?void 0:t.type)||"fa-light",iconName:(t==null?void 0:t.icon)||"no-icon-error"},heading:r!=null?r:"",variant:(n==null?void 0:n.card)==="default"?"solid":(C=n==null?void 0:n.card)!=null?C:"solid",iconSize:(n==null?void 0:n.iconSize)||"large"})}),s&&typeof s=="object"&&(0,ct.jsx)(T,{enableGutter:!1,content:s,enableProse:!1,className:l("prose-sm prose-ct:text-lg prose-headings:text-xl","space-ct-3",(n==null?void 0:n.card)==="outline"||(n==null?void 0:n.card)==="light"?"prose-headings:text-foreground prose-ct:text-foreground prose-a:text-foreground":"prose-headings:text-white prose-ct:text-gray-100 prose-a:text-gray-100",e&&"prose-headings:text-background prose-ct:text-background")}),s&&typeof s=="string"&&(0,ct.jsx)("div",{className:l("prose-sm prose-ct:text-lg prose-headings:text-xl","space-ct-3",(n==null?void 0:n.card)==="outline"||(n==null?void 0:n.card)==="light"?"prose text-foreground":"prose text-gray-100",e&&"prose text-background"),children:s})]}),i&&i.url&&(0,ct.jsx)("div",{className:"mt-6",children:(0,ct.jsx)("span",{className:"text-accent font-semibold uppercase text-sm block hover:text-accent/80 transition-colors",children:(i==null?void 0:i.label)||"Find out more"})})]})]})}var zr=({icon:e,heading:t,variant:r,iconSize:a,subtitle:s})=>e&&a==="small"&&e.iconName!="no-icon-error"?(0,ct.jsxs)("div",{className:"flex items-start justify-between w-full mb-2",children:[(0,ct.jsx)("div",{className:l(r==="outline"||r==="light"?"text-primary":"text-white",a==="small"?"text-2xl":"text-3xl"),children:t}),Mt(e)&&(0,ct.jsx)("div",{className:l("rounded-full ct-0 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-primary":"text-white",a==="small"?"-mr-2 ml-1 mt-1":""),children:(0,ct.jsx)(ze,{type:e.type,iconName:e.iconName,size:"2x"})})]}):e&&e.iconName!="no-icon-error"?(0,ct.jsxs)("div",{className:"flex flex-col gap-4",children:[Mt(e)&&(0,ct.jsx)("div",{className:l("ct-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-accent":""),children:(0,ct.jsx)(ze,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,ct.jsx)("h3",{className:l("font-normal",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl text-white"),children:t})]}):(0,ct.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,ct.jsx)("div",{className:l("font-regular",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var zt=(0,it.cva)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function Le({className:e,variant:t,...r}){return(0,ct.jsx)("div",{className:l(zt({variant:t}),e),...r})}var Lt=({title:e,description:t,features:r,id:a,nested:s=!1})=>(0,ct.jsxs)("section",{className:l(s?"w-full":"container",""),children:[(0,ct.jsxs)("div",{className:"prose prose:max-w-none",children:[e&&(0,ct.jsx)("h2",{className:"mb-6 mt-0 text-primary",id:a||"",children:e}),t&&typeof t=="string"&&(0,ct.jsx)("ct",{className:"mb-5 text-foreground",children:t}),t&&typeof t=="object"&&(0,ct.jsx)("div",{className:"mb-5 text-foreground",children:(0,ct.jsx)(T,{content:t,enableGutter:!1})})]}),(0,ct.jsx)("div",{className:`grid gap-6 mt-6 md:grid-cols-${r?r.length>2?2:r.length:1} lg:grid-cols-${r?r.length>3?3:r.length:1}`,children:r&&r.map((o,n)=>{var c;let i=()=>{if(o.icon&&"type"in o.icon&&o.icon.type!=="none")return{type:o.icon.type,icon:o.icon.icon}};return(0,ct.jsx)(De,{title:o.title||"",content:o.content||void 0,statistic:o.statistic||void 0,settings:{...o.settings,width:"auto",order:n},link:o.link?{...o.link,label:"Learn more"}:void 0,icon:(c=i())!=null?c:{type:"none",icon:null}},n)})})]});var he=F(require("react"));function oe({nodes:e}){return(0,ct.jsx)(he.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,ct.jsx)(he.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,ct.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,ct.jsx)("em",{children:o},r)),t.format&4&&(o=(0,ct.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,ct.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,ct.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,ct.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,ct.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,ct.jsx)("table",{children:(0,ct.jsx)("tbody",{children:t.children.map((o,n)=>(0,ct.jsx)("tr",{children:o.children.map((i,c)=>(0,ct.jsx)("td",{children:oe({nodes:i.children})},c))},n))})},r);let a=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let n of o.children)"checked"in n&&(n!=null&&n.checked||(n.checked=!1));return oe({nodes:o.children})},s="children"in t?a(t):"";if(t.type==="block"){let o=t.fields,n=o==null?void 0:o.blockType;if(!o||!n)return null;switch(n){case"cta":return(0,ct.jsx)(kt,{...o},r);case"mediaBlock":return(0,ct.jsx)(Tt,{className:"col-start-1 col-span-3",imgClassName:"ct-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,ct.jsx)(Bt,{className:"col-start-1 col-span-3",imgClassName:"ct-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,ct.jsx)(gt,{className:"col-start-2 mb-4",...o},r);case"code":return(0,ct.jsx)(Pt,{className:"col-start-2",...o},r);case"features":return(0,ct.jsx)(Lt,{...o,nested:!0},r);case"reusableContentBlock":oe({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,ct.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,ct.jsx)("ct",{className:"col-start-2",children:s},r);case"heading":{let o=t==null?void 0:t.tag;return(0,ct.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:s},r)}case"list":{let o=t==null?void 0:t.tag;return(0,ct.jsx)(o,{className:"list col-start-2",children:s},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,ct.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:s},r):(0,ct.jsx)("li",{value:t==null?void 0:t.value,children:s},r);case"quote":return(0,ct.jsx)("blockquote",{className:"col-start-2",children:s},r);case"link":{let o=t.fields;return(0,ct.jsx)($,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}case"autolink":{let o=t.fields;return(0,ct.jsx)($,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}default:return null}})})}var T=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>{var s;return t?(0,ct.jsx)("div",{className:l({"container ":r,"max-w-none":!r,"mx-auto prose":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&oe({nodes:(s=t==null?void 0:t.root)==null?void 0:s.children})}):null};var He=({links:e,media:t,children:r,richText:a})=>(0,ct.jsx)("div",{children:(0,ct.jsxs)("div",{className:"sticky top-0 ct-[70vh] min-ct-[600px]",children:[(0,ct.jsxs)("div",{className:"fixed inset-0 container mt-24 mb-8 z-10 flex items-start justify-center",children:[r||a&&(0,ct.jsx)(T,{className:"max-w-none mb-6 ml-0 prose prose-headings:text-foreground prose-ct:text-foreground",content:a,enableGutter:!0}),Array.isArray(e)&&e.length>0&&(0,ct.jsx)("ul",{className:"flex justify-center gap-4",children:e.map(({link:s},o)=>(0,ct.jsx)("li",{children:(0,ct.jsx)($,{...s})},o))})]}),(0,ct.jsxs)("div",{className:"fixed inset-0 ct-[70vh] min-ct-[600px] select-none",children:[t&&typeof t=="object"&&(0,ct.jsx)(W,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&(0,ct.jsx)("div",{children:(0,ct.jsx)(Gt.default,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,ct.jsx)("span",{className:"absolute inset-0 bg-gradient-to-b from-white dark:from-black"})]}),(0,ct.jsx)(Dr,{})]})}),Dr=()=>(0,ct.jsx)("div",{className:"w-full ct-[1240px] z-10",children:(0,ct.jsxs)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 337",style:{fontSize:0,float:"left",zIndex:20},className:"absolute -bottom-[2px] flex",children:[(0,ct.jsx)("defs",{children:(0,ct.jsxs)("mask",{id:"mask",children:[(0,ct.jsx)("rect",{width:"1920",height:"332",fill:"white"}),(0,ct.jsx)("polygon",{points:"0 0 0 135 1255 330 1920 0 1920 0 1920 0 0 0"})]})}),(0,ct.jsx)("rect",{width:"1920",height:"332",fill:"white",mask:"url(#mask)"}),(0,ct.jsx)("rect",{ct:"330",width:"1920",height:"7",fill:"white"})," "]})});var Ge=F(require("next/image"));var Lr=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:r,height:a,url:s,width:o}=e;return(0,ct.jsx)(Ge.default,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:s||"",width:o||0,height:a||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return(0,ct.jsx)("div",{children:(0,ct.jsx)(Ge.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},Ee=({links:e,media:t,children:r,richText:a})=>(0,ct.jsxs)("div",{className:"relative bg-brand-one pb-12 mt-20 pt-10",children:[t&&(0,ct.jsx)(Lr,{media:t}),(0,ct.jsx)("div",{className:"mx-0 min-w-full relative z-9",children:(0,ct.jsx)("div",{className:"container text-brand-one-foreground",children:r||a&&(0,ct.jsx)(T,{className:"prose-headings:text-brand-one-foreground prose-ct:text-brand-one-foreground",content:a,enableProse:!0,enableGutter:!1})})})]});var je=({children:e,richText:t})=>(0,ct.jsx)("div",{className:"min-w-full py-10 bg-muted mt-24",children:(0,ct.jsx)("div",{className:"container",children:e||t&&(0,ct.jsx)(T,{content:t,enableGutter:!1})})});var jt=F(require("react")),Ut=F(require("next/image"));var Et=e=>{let r=new Date;e&&(r=new Date(e));let a=r.getMonth(),s=r.getDate(),o=a+1<10?`0${a+1}`:a+1,n=s<10?`0${s}`:s,i=r.getFullYear();return`${n}/${o}/${i}`};var Hr=({post:e})=>{var n;let{categories:t,meta:r,populatedAuthors:a,publishedAt:s,title:o}=e;return(0,ct.jsxs)("div",{className:"relative grid pt-24",children:[(0,ct.jsx)("div",{className:"relative z-10 flex flex-col justify-end min-ct-[50vh] text-foreground dark:text-foreground pt-24 ct-6 lg:ct-12",children:(0,ct.jsxs)("div",{className:"container mx-auto",children:[(0,ct.jsx)("h1",{className:"mb-6 text-[clamp(2rem,1.5rem+1.5vw,3.5rem)] font-bold leading-tight ",children:o}),(0,ct.jsxs)("div",{className:"flex flex-col gap-4 md:flex-row md:gap-16 ",children:[a&&a.length>0&&(0,ct.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,ct.jsxs)("ct",{className:"text-sm",children:["Author",a.length>1?"s":""]}),(0,ct.jsx)("ct",{children:a.map((i,c)=>(0,ct.jsxs)(jt.default.Fragment,{children:[i.name,c<a.length-2&&", ",c===a.length-2&&(a.length>2?", and ":" and ")]},i.id))})]}),s&&(0,ct.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,ct.jsx)("ct",{className:"text-sm",children:"Date Published"}),(0,ct.jsx)("time",{dateTime:s,children:Et(s)})]}),t&&t.length>0&&(0,ct.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,ct.jsx)("ct",{className:"text-sm font-medium",children:"Categories"}),(0,ct.jsx)("div",{className:"flex flex-wrap gap-2",children:t.map((i,c)=>typeof i=="object"&&i!==null&&(0,ct.jsx)(Le,{className:"px-3 py-1 mx-1",children:i.title||"Untitled category"},i.id||c))})]})]})]})}),(0,ct.jsxs)("div",{className:"absolute inset-0 w-full ct-full",children:[(0,ct.jsx)(Ut.default,{className:"object-cover",alt:`Cover image for ${o}`,src:((n=r==null?void 0:r.image)==null?void 0:n.url)||"/assets/images/blog/gradient.png",fill:!0,priority:!0,sizes:"100vw"}),(0,ct.jsx)("div",{className:"absolute pointer-events-none left-0 bottom-0 w-full ct-1/2 bg-gradient-to-t from-background dark:from-black to-transparent"})]})]})};var ye=require("@heroicons/react/20/solid");var Ue=F(require("next/image"));var Yt=({position:e,className:t=""})=>{let r=["","scale(-1, 1)","scale(1, -1)","scale(-1, -1)"],a=r[Math.floor(Math.random()*r.length)];if(e==="header")return(0,ct.jsx)("div",{className:"w-full ct-[1240px] z-20",children:(0,ct.jsxs)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 337",preserveAspectRatio:"xMidYMax meet",style:{fontSize:0,float:"left"},className:l(t,"absolute -bottom-[2px] flex"),children:[(0,ct.jsx)("defs",{children:(0,ct.jsxs)("mask",{id:"mask",children:[(0,ct.jsx)("rect",{width:"1920",height:"332",fill:"white"}),(0,ct.jsx)("polygon",{points:"0 0 0 135 1255 330 1920 0 1920 0 1920 0 0 0"})]})}),(0,ct.jsx)("rect",{width:"1920",height:"332",fill:"white",mask:"url(#mask)"}),(0,ct.jsx)("rect",{ct:"331",width:"1920",height:"7",fill:"white"})," "]})});if(e==="top")return(0,ct.jsxs)("div",{className:"w-full z-20 aspect-[1920/332] overflow-hidden ",children:[(0,ct.jsxs)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",className:l(t,"absolute "),style:{fontSize:0,float:"left",alignContent:"flex-end",transform:"scale(-1, 1)"},children:[(0,ct.jsx)("defs",{children:(0,ct.jsxs)("mask",{id:"mask",children:[(0,ct.jsx)("rect",{width:"100%",height:"100%",fill:"white"}),(0,ct.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),(0,ct.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0",fill:"black"})]}),(0,ct.jsx)("div",{className:"absolute -bottom-[5px] border-none left-0 w-full ct-[6px] z-10 bg-white"})]});if(e==="dark-top")return(0,ct.jsx)("div",{className:"w-full aspect-[1920/332] z-20 content-end block overflow-hidden",children:(0,ct.jsxs)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"xMidYMax meet",className:l(t,"relative "),style:{fontSize:0,float:"left"},transform:r[3],children:[(0,ct.jsx)("defs",{children:(0,ct.jsxs)("mask",{id:"mask",children:[(0,ct.jsx)("rect",{width:"100%",height:"100%",fill:"white"}),(0,ct.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),(0,ct.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0",fill:"black"})]})});if(e==="dark-bottom")return(0,ct.jsx)("div",{className:"w-full aspect-[1920/332] z-20 content-start block overflow-hidden bg-white",children:(0,ct.jsx)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain",transform:"scale(1, -1)"},className:l(t,"w-full block overflow-hidden"),children:(0,ct.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})});if(e==="light-bottom")return(0,ct.jsx)("div",{className:"w-full aspect-[1920/332] z-20 content-end block overflow-hidden",children:(0,ct.jsx)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"none",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain"},className:l(t,"w-full block overflow-hidden"),transform:r[3],children:(0,ct.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})});if(e==="bottom-left"||e==="bottom-right")return(0,ct.jsx)("div",{className:"w-full aspect-[1920/332] z-20 relative -bottom-[1px]",children:(0,ct.jsx)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"none",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain",transform:"rotateX(180deg)"},className:l(t,"w-full block overflow-hidden"),children:(0,ct.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})})};var Ye=({title:e,image:t})=>(0,ct.jsx)("div",{children:(0,ct.jsxs)("div",{className:"sticky top-0 ct-[50vh] min-ct-[400px]",children:[(0,ct.jsx)("div",{className:"fixed inset-0 container mt-24 mb-8 z-10 flex items-start justify-start",children:(0,ct.jsx)("h1",{className:"text-5xl md:text-6xl",children:e})}),(0,ct.jsxs)("div",{className:"fixed inset-0 ct-[50vh] min-ct-[400px] select-none",children:[t&&typeof t=="object"&&(0,ct.jsx)(Ue.default,{priority:!0,src:t.src,alt:`${process.env.NEXT_PUBLIC_SITE_NAME}`,layout:"fill",style:{objectFit:"cover"},sizes:"100vw",className:"pointer-events-none object-cover"}),t&&typeof t=="string"&&(0,ct.jsx)("div",{children:(0,ct.jsx)(Ue.default,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,ct.jsx)("span",{className:"absolute inset-0 bg-gradient-to-b from-white dark:from-black"})]}),(0,ct.jsx)(Yt,{className:"text-black z-10",position:"header"})]})});var Gr={highImpact:He,lowImpact:je,mediumImpact:Ee,sectionHero:Ye},Er=e=>{let{type:t}=e||{};if(!t||t==="none")return null;let r=Gr[t];return r?(0,ct.jsx)(r,{...e}):null};function jr({breadcrumbItems:e}){if(e&&e.length>0){let t=e.filter(r=>r.label.toLowerCase()!=="home");return(0,ct.jsx)("nav",{"aria-label":"Breadcrumb",className:"flex",children:(0,ct.jsxs)("ol",{role:"list",className:"flex items-center space-x-4",children:[(0,ct.jsx)("li",{children:(0,ct.jsx)("div",{children:(0,ct.jsxs)("a",{href:"/",className:"text-foreground hover:text-accent",children:[(0,ct.jsx)(ye.HomeIcon,{"aria-hidden":"true",className:"size-5 shrink-0"}),(0,ct.jsx)("span",{className:"sr-only",children:"Home"})]})})}),t.map((r,a)=>(0,ct.jsx)("li",{children:(0,ct.jsxs)("div",{className:"flex items-center",children:[(0,ct.jsx)(ye.ChevronRightIcon,{"aria-hidden":"true",className:"size-5 shrink-0 text-gray-400"}),r.href?(0,ct.jsx)("a",{href:r.href,className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:r.label}):(0,ct.jsx)("div",{className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:r.label})]})},a))]})})}return(0,ct.jsx)(ct.Fragment,{})}0&&(module.exports={Breadcrumbs,HighImpactHero,LowImpactHero,MediumImpactHero,PostHero,RenderHero,SectionHero});
@@ -1 +1 @@
1
- import{a as f,b as g}from"../../chunk-QSBB2P4N.mjs";import{a as e}from"../../chunk-B67CUKBL.mjs";import{a}from"../../chunk-S3KRL344.mjs";import{a as b}from"../../chunk-I2PJ5ANT.mjs";import{a as c}from"../../chunk-BBCS6735.mjs";import{a as d}from"../../chunk-A7563CVR.mjs";import"../../chunk-PRUIYGQW.mjs";import"../../chunk-H4Y4SZIU.mjs";import"../../chunk-7VKHSE4O.mjs";import"../../chunk-RBZMFLLA.mjs";import"../../chunk-WRPART4J.mjs";import"../../chunk-N6EJQZAV.mjs";import"../../chunk-HWEPDRG6.mjs";import"../../chunk-3LJZCM5A.mjs";import"../../chunk-4NKKWJ2X.mjs";import"../../chunk-4JC2TJML.mjs";import"../../chunk-A5EYIB3V.mjs";import"../../chunk-DWRQHV42.mjs";import"../../chunk-Y5ZFXDW5.mjs";import"../../chunk-YNNW2C2U.mjs";import"../../chunk-AWFQEK7A.mjs";import"../../chunk-FPJFWQB5.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-L2QAYSRV.mjs";import"../../chunk-NOEITQK2.mjs";import"../../chunk-EG6XIOOJ.mjs";import"../../chunk-MMBUMBDU.mjs";import"../../chunk-CTKUF2I6.mjs";import"../../chunk-6DHYRATS.mjs";import"../../chunk-RJGKFNZL.mjs";import"../../chunk-JPFBD2KD.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-WLBZXBU3.mjs";import"../../chunk-Z2PPN7EJ.mjs";import"../../chunk-6WLJQKDF.mjs";import"../../chunk-PZT3KAUV.mjs";import"../../chunk-OI2YT2ZF.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-3YZN4MJB.mjs";import"../../chunk-WNPA7YT3.mjs";import"../../chunk-2IKC7MAP.mjs";import"../../chunk-CGBVZQYY.mjs";import"../../chunk-BSQVKZCW.mjs";import"../../chunk-Y5VTKEKS.mjs";import"../../chunk-YNCJATT7.mjs";import"../../chunk-QOIH63J3.mjs";import"../../chunk-OAOCXXC2.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-4YUYG6QU.mjs";import"../../chunk-X5KZKO2V.mjs";import"../../chunk-UESKYRNK.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-CV7PH2KH.mjs";import"../../chunk-FRWX5YES.mjs";import"../../chunk-S7OK7D5I.mjs";export{g as Breadcrumbs,a as HighImpactHero,c as LowImpactHero,b as MediumImpactHero,d as PostHero,f as RenderHero,e as SectionHero};
1
+ import{a as f,b as g}from"../../chunk-VV6P75VN.mjs";import{a as e}from"../../chunk-B67CUKBL.mjs";import{a as c}from"../../chunk-Q32SRZ5X.mjs";import{a as b}from"../../chunk-3TNHR4R3.mjs";import{a}from"../../chunk-UFDQJZAB.mjs";import{a as d}from"../../chunk-A7563CVR.mjs";import"../../chunk-PRUIYGQW.mjs";import"../../chunk-H4Y4SZIU.mjs";import"../../chunk-7VKHSE4O.mjs";import"../../chunk-RBZMFLLA.mjs";import"../../chunk-WRPART4J.mjs";import"../../chunk-N6EJQZAV.mjs";import"../../chunk-HWEPDRG6.mjs";import"../../chunk-3LJZCM5A.mjs";import"../../chunk-4NKKWJ2X.mjs";import"../../chunk-4JC2TJML.mjs";import"../../chunk-A5EYIB3V.mjs";import"../../chunk-DWRQHV42.mjs";import"../../chunk-Y5ZFXDW5.mjs";import"../../chunk-YNNW2C2U.mjs";import"../../chunk-AWFQEK7A.mjs";import"../../chunk-HPMQRCDC.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-L2QAYSRV.mjs";import"../../chunk-NOEITQK2.mjs";import"../../chunk-EG6XIOOJ.mjs";import"../../chunk-MMBUMBDU.mjs";import"../../chunk-CTKUF2I6.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-OI2YT2ZF.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-UKJ3TIPX.mjs";import"../../chunk-6LPSD3MQ.mjs";import"../../chunk-SQWRG4U3.mjs";import"../../chunk-WLBZXBU3.mjs";import"../../chunk-FPQBVIUS.mjs";import"../../chunk-Z2PPN7EJ.mjs";import"../../chunk-6WLJQKDF.mjs";import"../../chunk-PZT3KAUV.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-3YZN4MJB.mjs";import"../../chunk-WNPA7YT3.mjs";import"../../chunk-2IKC7MAP.mjs";import"../../chunk-CGBVZQYY.mjs";import"../../chunk-BSQVKZCW.mjs";import"../../chunk-Y5VTKEKS.mjs";import"../../chunk-YNCJATT7.mjs";import"../../chunk-QOIH63J3.mjs";import"../../chunk-OAOCXXC2.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-4YUYG6QU.mjs";import"../../chunk-X5KZKO2V.mjs";import"../../chunk-UESKYRNK.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-CV7PH2KH.mjs";import"../../chunk-FRWX5YES.mjs";import"../../chunk-S7OK7D5I.mjs";export{g as Breadcrumbs,a as HighImpactHero,c as LowImpactHero,b as MediumImpactHero,d as PostHero,f as RenderHero,e as SectionHero};
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";import{a}from"../../chunk-7XB4Y3U2.mjs";import"../../chunk-IJCMUPNH.mjs";import"../../chunk-PJSCXNH4.mjs";import"../../chunk-XB5WL3OT.mjs";import"../../chunk-SPAW5K3E.mjs";import"../../chunk-A24EPYUY.mjs";import"../../chunk-QKGEV7LG.mjs";import"../../chunk-HWEPDRG6.mjs";import"../../chunk-3LJZCM5A.mjs";import"../../chunk-DWRQHV42.mjs";import"../../chunk-Y5ZFXDW5.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as HolidayTracker};
2
+ "use strict";import{a}from"../../chunk-CSNKYRV5.mjs";import"../../chunk-XB5WL3OT.mjs";import"../../chunk-SPAW5K3E.mjs";import"../../chunk-IJCMUPNH.mjs";import"../../chunk-PJSCXNH4.mjs";import"../../chunk-A24EPYUY.mjs";import"../../chunk-QKGEV7LG.mjs";import"../../chunk-HWEPDRG6.mjs";import"../../chunk-3LJZCM5A.mjs";import"../../chunk-DWRQHV42.mjs";import"../../chunk-Y5ZFXDW5.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as HolidayTracker};
@@ -1 +1 @@
1
- import{a as m}from"../../chunk-VXZJ3JK5.mjs";import{a}from"../../chunk-7XB4Y3U2.mjs";import"../../chunk-IJCMUPNH.mjs";import"../../chunk-PJSCXNH4.mjs";import"../../chunk-XB5WL3OT.mjs";import"../../chunk-SPAW5K3E.mjs";import"../../chunk-A24EPYUY.mjs";import"../../chunk-QKGEV7LG.mjs";import"../../chunk-HWEPDRG6.mjs";import"../../chunk-3LJZCM5A.mjs";import"../../chunk-DWRQHV42.mjs";import"../../chunk-Y5ZFXDW5.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import{d as i}from"../../chunk-S7OK7D5I.mjs";var t=i(m());import{format as o}from"date-fns";import{jsx as s}from"react/jsx-runtime";var n={title:"Holidays/HolidayTracker",component:a,parameters:{layout:"fullscreen",nextjs:{appDirectory:!0}},decorators:[e=>s("div",{className:"container mx-auto p-4",children:s(e,{})})]},c=n,r={args:{currentDate:o(new Date(2025,0,2),"yyyy-MM-dd'T'HH:mm:ss.SSSxxx"),holidays:[{id:"1",userId:"1",userName:"John Doe",startDate:"2025-01-05",endDate:"2025-01-10",status:"approved",totalDays:6,leaveType:"Full Day"},{id:"2",userId:"2",userName:"Jane Smith",startDate:"2025-01-15",endDate:"2025-01-15",status:"requested",totalDays:.5,leaveType:"Morning"},{id:"3",userId:"3",userName:"Bob Johnson",startDate:"2025-01-25",endDate:"2025-01-30",status:"approved",totalDays:6,leaveType:"Full Day"},{id:"4",userId:"4",userName:"Alice Brown",startDate:"2025-01-20",endDate:"2025-01-20",status:"approved",totalDays:.5,leaveType:"Afternoon"}],leaveApprovals:[{id:"1",userId:"1",userName:"John Doe",userEmail:"john.doe@example.com",userImage:"https://api.dicebear.com/7.x/avataaars/svg?seed=John",startDate:"2025-01-05",endDate:"2025-01-10",status:"requested",totalDays:6,leaveType:"Full Day"},{id:"2",userId:"2",userName:"Jane Smith",userEmail:"jane.smith@example.com",userImage:"https://api.dicebear.com/7.x/avataaars/svg?seed=Jane",startDate:"2025-01-15",endDate:"2025-01-15",status:"requested",totalDays:.5,leaveType:"Morning"},{id:"3",userId:"3",userName:"Bob Johnson",userEmail:"bob.johnson@example.com",userImage:"https://api.dicebear.com/7.x/avataaars/svg?seed=Bob",startDate:"2025-01-25",endDate:"2025-01-30",status:"requested",totalDays:6,leaveType:"Full Day"},{id:"4",userId:"4",userName:"Alice Brown",userEmail:"alice.brown@example.com",startDate:"2025-01-20",endDate:"2025-01-20",status:"requested",totalDays:.5,leaveType:"Afternoon"},{id:"5",userId:"4",userName:"Alice Brown",userEmail:"alice.brown@example.com",startDate:"2025-01-20",endDate:"2025-01-20",status:"requested",totalDays:.5,leaveType:"Afternoon"},{id:"6",userId:"4",userName:"Alice Brown",userEmail:"alice.brown@example.com",startDate:"2025-01-20",endDate:"2025-01-20",status:"requested",totalDays:.5,leaveType:"Afternoon"},{id:"7",userId:"4",userName:"Alice Brown",userEmail:"alice.brown@example.com",startDate:"2025-01-20",endDate:"2025-01-20",status:"requested",totalDays:.5,leaveType:"Afternoon"},{id:"8",userId:"4",userName:"Alice Brown",userEmail:"alice.brown@example.com",startDate:"2025-01-20",endDate:"2025-01-20",status:"requested",totalDays:.5,leaveType:"Afternoon"}],employees:[{id:"1",name:"John Doe",email:"john.doe@example.com",image:"https://api.dicebear.com/7.x/avataaars/svg?seed=John"},{id:"2",name:"Jane Smith",email:"jane.smith@example.com",image:"https://api.dicebear.com/7.x/avataaars/svg?seed=Jane"},{id:"3",name:"Bob Johnson",email:"bob.johnson@example.com",image:"https://api.dicebear.com/7.x/avataaars/svg?seed=Bob"},{id:"4",name:"Alice Brown",email:"alice.brown@example.com",image:"https://api.dicebear.com/7.x/avataaars/svg?seed=Alice"},{id:"5",name:"Charlie Davis",email:"charlie.davis@example.com",image:"https://api.dicebear.com/7.x/avataaars/svg?seed=Charlie"},{id:"6",name:"Diana Evans",email:"diana.evans@example.com",image:"https://api.dicebear.com/7.x/avataaars/svg?seed=Diana"},{id:"7",name:"Ethan Foster",email:"ethan.foster@example.com",image:"https://api.dicebear.com/7.x/avataaars/svg?seed=Ethan"},{id:"8",name:"Fiona Green",email:"fiona.green@example.com",image:"https://api.dicebear.com/7.x/avataaars/svg?seed=Fiona"},{id:"9",name:"George Harris",email:"george.harris@example.com",image:"https://api.dicebear.com/7.x/avataaars/svg?seed=George"},{id:"10",name:"Hannah Irving",email:"hannah.irving@example.com",image:"https://api.dicebear.com/7.x/avataaars/svg?seed=Hannah"},{id:"11",name:"Ian Jackson",email:"ian.jackson@example.com",image:"https://api.dicebear.com/7.x/avataaars/svg?seed=Ian"},{id:"12",name:"Julia King",email:"julia.king@example.com",image:"https://api.dicebear.com/7.x/avataaars/svg?seed=Julia"},{id:"13",name:"Kevin Lewis",email:"kevin.lewis@example.com",image:"https://api.dicebear.com/7.x/avataaars/svg?seed=Kevin"},{id:"14",name:"Laura Miller",email:"laura.miller@example.com",image:"https://api.dicebear.com/7.x/avataaars/svg?seed=Laura"},{id:"15",name:"Michael Nelson",email:"michael.nelson@example.com",image:"https://api.dicebear.com/7.x/avataaars/svg?seed=Michael"},{id:"16",name:"Nina Owens",email:"nina.owens@example.com",image:"https://api.dicebear.com/7.x/avataaars/svg?seed=Nina"},{id:"17",name:"Oscar Perez",email:"oscar.perez@example.com",image:"https://api.dicebear.com/7.x/avataaars/svg?seed=Oscar"},{id:"18",name:"Paula Quinn",email:"paula.quinn@example.com",image:"https://api.dicebear.com/7.x/avataaars/svg?seed=Paula"},{id:"19",name:"Quincy Roberts",email:"quincy.roberts@example.com",image:"https://api.dicebear.com/7.x/avataaars/svg?seed=Quincy"},{id:"20",name:"Rachel Scott",email:"rachel.scott@example.com",image:"https://api.dicebear.com/7.x/avataaars/svg?seed=Rachel"}],submitLeaveRequest:(0,t.fn)(),approveLeave(e){return Promise.resolve({success:!0,message:`Approved ${e.length} request(s)`})},rejectLeave(e){return Promise.resolve({success:!0,message:`Rejected ${e.length} request(s)`})},currentUser:{grade:"Consultant 1",remainingLeaveDays:20}}},p={args:{...r.args,currentUser:{grade:"Manager",remainingLeaveDays:20}}},u={args:{...r.args,currentUser:{grade:"Manager",remainingLeaveDays:0}}};export{r as Default,p as Manger,u as NoLeave,c as default};
1
+ import{a as m}from"../../chunk-VXZJ3JK5.mjs";import{a}from"../../chunk-CSNKYRV5.mjs";import"../../chunk-XB5WL3OT.mjs";import"../../chunk-SPAW5K3E.mjs";import"../../chunk-IJCMUPNH.mjs";import"../../chunk-PJSCXNH4.mjs";import"../../chunk-A24EPYUY.mjs";import"../../chunk-QKGEV7LG.mjs";import"../../chunk-HWEPDRG6.mjs";import"../../chunk-3LJZCM5A.mjs";import"../../chunk-DWRQHV42.mjs";import"../../chunk-Y5ZFXDW5.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import{d as i}from"../../chunk-S7OK7D5I.mjs";var t=i(m());import{format as o}from"date-fns";import{jsx as s}from"react/jsx-runtime";var n={title:"Holidays/HolidayTracker",component:a,parameters:{layout:"fullscreen",nextjs:{appDirectory:!0}},decorators:[e=>s("div",{className:"container mx-auto p-4",children:s(e,{})})]},c=n,r={args:{currentDate:o(new Date(2025,0,2),"yyyy-MM-dd'T'HH:mm:ss.SSSxxx"),holidays:[{id:"1",userId:"1",userName:"John Doe",startDate:"2025-01-05",endDate:"2025-01-10",status:"approved",totalDays:6,leaveType:"Full Day"},{id:"2",userId:"2",userName:"Jane Smith",startDate:"2025-01-15",endDate:"2025-01-15",status:"requested",totalDays:.5,leaveType:"Morning"},{id:"3",userId:"3",userName:"Bob Johnson",startDate:"2025-01-25",endDate:"2025-01-30",status:"approved",totalDays:6,leaveType:"Full Day"},{id:"4",userId:"4",userName:"Alice Brown",startDate:"2025-01-20",endDate:"2025-01-20",status:"approved",totalDays:.5,leaveType:"Afternoon"}],leaveApprovals:[{id:"1",userId:"1",userName:"John Doe",userEmail:"john.doe@example.com",userImage:"https://api.dicebear.com/7.x/avataaars/svg?seed=John",startDate:"2025-01-05",endDate:"2025-01-10",status:"requested",totalDays:6,leaveType:"Full Day"},{id:"2",userId:"2",userName:"Jane Smith",userEmail:"jane.smith@example.com",userImage:"https://api.dicebear.com/7.x/avataaars/svg?seed=Jane",startDate:"2025-01-15",endDate:"2025-01-15",status:"requested",totalDays:.5,leaveType:"Morning"},{id:"3",userId:"3",userName:"Bob Johnson",userEmail:"bob.johnson@example.com",userImage:"https://api.dicebear.com/7.x/avataaars/svg?seed=Bob",startDate:"2025-01-25",endDate:"2025-01-30",status:"requested",totalDays:6,leaveType:"Full Day"},{id:"4",userId:"4",userName:"Alice Brown",userEmail:"alice.brown@example.com",startDate:"2025-01-20",endDate:"2025-01-20",status:"requested",totalDays:.5,leaveType:"Afternoon"},{id:"5",userId:"4",userName:"Alice Brown",userEmail:"alice.brown@example.com",startDate:"2025-01-20",endDate:"2025-01-20",status:"requested",totalDays:.5,leaveType:"Afternoon"},{id:"6",userId:"4",userName:"Alice Brown",userEmail:"alice.brown@example.com",startDate:"2025-01-20",endDate:"2025-01-20",status:"requested",totalDays:.5,leaveType:"Afternoon"},{id:"7",userId:"4",userName:"Alice Brown",userEmail:"alice.brown@example.com",startDate:"2025-01-20",endDate:"2025-01-20",status:"requested",totalDays:.5,leaveType:"Afternoon"},{id:"8",userId:"4",userName:"Alice Brown",userEmail:"alice.brown@example.com",startDate:"2025-01-20",endDate:"2025-01-20",status:"requested",totalDays:.5,leaveType:"Afternoon"}],employees:[{id:"1",name:"John Doe",email:"john.doe@example.com",image:"https://api.dicebear.com/7.x/avataaars/svg?seed=John"},{id:"2",name:"Jane Smith",email:"jane.smith@example.com",image:"https://api.dicebear.com/7.x/avataaars/svg?seed=Jane"},{id:"3",name:"Bob Johnson",email:"bob.johnson@example.com",image:"https://api.dicebear.com/7.x/avataaars/svg?seed=Bob"},{id:"4",name:"Alice Brown",email:"alice.brown@example.com",image:"https://api.dicebear.com/7.x/avataaars/svg?seed=Alice"},{id:"5",name:"Charlie Davis",email:"charlie.davis@example.com",image:"https://api.dicebear.com/7.x/avataaars/svg?seed=Charlie"},{id:"6",name:"Diana Evans",email:"diana.evans@example.com",image:"https://api.dicebear.com/7.x/avataaars/svg?seed=Diana"},{id:"7",name:"Ethan Foster",email:"ethan.foster@example.com",image:"https://api.dicebear.com/7.x/avataaars/svg?seed=Ethan"},{id:"8",name:"Fiona Green",email:"fiona.green@example.com",image:"https://api.dicebear.com/7.x/avataaars/svg?seed=Fiona"},{id:"9",name:"George Harris",email:"george.harris@example.com",image:"https://api.dicebear.com/7.x/avataaars/svg?seed=George"},{id:"10",name:"Hannah Irving",email:"hannah.irving@example.com",image:"https://api.dicebear.com/7.x/avataaars/svg?seed=Hannah"},{id:"11",name:"Ian Jackson",email:"ian.jackson@example.com",image:"https://api.dicebear.com/7.x/avataaars/svg?seed=Ian"},{id:"12",name:"Julia King",email:"julia.king@example.com",image:"https://api.dicebear.com/7.x/avataaars/svg?seed=Julia"},{id:"13",name:"Kevin Lewis",email:"kevin.lewis@example.com",image:"https://api.dicebear.com/7.x/avataaars/svg?seed=Kevin"},{id:"14",name:"Laura Miller",email:"laura.miller@example.com",image:"https://api.dicebear.com/7.x/avataaars/svg?seed=Laura"},{id:"15",name:"Michael Nelson",email:"michael.nelson@example.com",image:"https://api.dicebear.com/7.x/avataaars/svg?seed=Michael"},{id:"16",name:"Nina Owens",email:"nina.owens@example.com",image:"https://api.dicebear.com/7.x/avataaars/svg?seed=Nina"},{id:"17",name:"Oscar Perez",email:"oscar.perez@example.com",image:"https://api.dicebear.com/7.x/avataaars/svg?seed=Oscar"},{id:"18",name:"Paula Quinn",email:"paula.quinn@example.com",image:"https://api.dicebear.com/7.x/avataaars/svg?seed=Paula"},{id:"19",name:"Quincy Roberts",email:"quincy.roberts@example.com",image:"https://api.dicebear.com/7.x/avataaars/svg?seed=Quincy"},{id:"20",name:"Rachel Scott",email:"rachel.scott@example.com",image:"https://api.dicebear.com/7.x/avataaars/svg?seed=Rachel"}],submitLeaveRequest:(0,t.fn)(),approveLeave(e){return Promise.resolve({success:!0,message:`Approved ${e.length} request(s)`})},rejectLeave(e){return Promise.resolve({success:!0,message:`Rejected ${e.length} request(s)`})},currentUser:{grade:"Consultant 1",remainingLeaveDays:20}}},p={args:{...r.args,currentUser:{grade:"Manager",remainingLeaveDays:20}}},u={args:{...r.args,currentUser:{grade:"Manager",remainingLeaveDays:0}}};export{r as Default,p as Manger,u as NoLeave,c as default};
@@ -1 +1 @@
1
- import{a as e}from"../../chunk-7XB4Y3U2.mjs";import{a as d}from"../../chunk-IJCMUPNH.mjs";import{a as c}from"../../chunk-PJSCXNH4.mjs";import{a as b}from"../../chunk-XB5WL3OT.mjs";import{a}from"../../chunk-SPAW5K3E.mjs";import"../../chunk-A24EPYUY.mjs";import"../../chunk-QKGEV7LG.mjs";import"../../chunk-HWEPDRG6.mjs";import"../../chunk-3LJZCM5A.mjs";import"../../chunk-DWRQHV42.mjs";import"../../chunk-Y5ZFXDW5.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as ApproveLeave,d as CalendarView,c as HolidayGrid,e as HolidayTracker,b as RequestLeave};
1
+ import{a as e}from"../../chunk-CSNKYRV5.mjs";import{a as b}from"../../chunk-XB5WL3OT.mjs";import{a}from"../../chunk-SPAW5K3E.mjs";import{a as d}from"../../chunk-IJCMUPNH.mjs";import{a as c}from"../../chunk-PJSCXNH4.mjs";import"../../chunk-A24EPYUY.mjs";import"../../chunk-QKGEV7LG.mjs";import"../../chunk-HWEPDRG6.mjs";import"../../chunk-3LJZCM5A.mjs";import"../../chunk-DWRQHV42.mjs";import"../../chunk-Y5ZFXDW5.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as ApproveLeave,d as CalendarView,c as HolidayGrid,e as HolidayTracker,b as RequestLeave};