cortex-react-components 2.29.0 → 2.30.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (143) hide show
  1. package/dist/{chunk-ZLFZBT3K.mjs → chunk-27JY2ETY.mjs} +1 -1
  2. package/dist/{chunk-VRE6VCHX.mjs → chunk-2BR55L74.mjs} +1 -1
  3. package/dist/{chunk-7YSJAVXO.mjs → chunk-3DXSTAQP.mjs} +1 -1
  4. package/dist/{chunk-YKYDKCZZ.mjs → chunk-3QJ3NMZY.mjs} +1 -1
  5. package/dist/{chunk-EKPZXJEQ.mjs → chunk-4EQSCHSF.mjs} +1 -1
  6. package/dist/{chunk-DP6Q6ZTN.mjs → chunk-4XEM5E2A.mjs} +1 -1
  7. package/dist/{chunk-6XJDDK3X.mjs → chunk-7L6G3H4K.mjs} +1 -1
  8. package/dist/{chunk-XMA6UX5L.mjs → chunk-BMIOZYRR.mjs} +1 -1
  9. package/dist/{chunk-CLMGLIGH.mjs → chunk-DZDMH6IZ.mjs} +1 -1
  10. package/dist/{chunk-YM4ANJEW.mjs → chunk-EBIELPYW.mjs} +1 -1
  11. package/dist/{chunk-KNWUVEWH.mjs → chunk-EFH7LGKB.mjs} +1 -1
  12. package/dist/{chunk-PIDJQTAT.mjs → chunk-EWZXTRGJ.mjs} +1 -1
  13. package/dist/chunk-FYYRZXBK.mjs +1 -0
  14. package/dist/{chunk-CWH2O2IL.mjs → chunk-GCC3BYDX.mjs} +1 -1
  15. package/dist/{chunk-ZW24FGHA.mjs → chunk-HDLKX5L3.mjs} +1 -1
  16. package/dist/{chunk-DXCCPSCK.mjs → chunk-HF5DZWRY.mjs} +1 -1
  17. package/dist/{chunk-LEZ6G4X7.mjs → chunk-HJO4MBBP.mjs} +1 -1
  18. package/dist/{chunk-FC6PQ4FH.mjs → chunk-HPZDGXWQ.mjs} +1 -1
  19. package/dist/{chunk-677HVKSO.mjs → chunk-JKPT5QC3.mjs} +1 -1
  20. package/dist/{chunk-7RSWNR6N.mjs → chunk-JWS4N2JB.mjs} +1 -1
  21. package/dist/{chunk-VWMA5EO5.mjs → chunk-LTJNNUWU.mjs} +1 -1
  22. package/dist/{chunk-BS4F2F66.mjs → chunk-MPGETIGI.mjs} +1 -1
  23. package/dist/{chunk-TQNYTD3K.mjs → chunk-MZHIWEJV.mjs} +1 -1
  24. package/dist/{chunk-RIRZRO6U.mjs → chunk-P55W6AFU.mjs} +1 -1
  25. package/dist/{chunk-STU2XA7R.mjs → chunk-P5Q2KBKF.mjs} +1 -1
  26. package/dist/{chunk-EGL2ENYD.mjs → chunk-PM6RB4YG.mjs} +1 -1
  27. package/dist/{chunk-KZXYV2BA.mjs → chunk-RBDDHQHO.mjs} +1 -1
  28. package/dist/{chunk-E4XSRHJB.mjs → chunk-ROVLDUQW.mjs} +1 -1
  29. package/dist/{chunk-LE7UWORO.mjs → chunk-RRLGUIJS.mjs} +1 -1
  30. package/dist/{chunk-T5HJS6OF.mjs → chunk-RSDUFAIB.mjs} +1 -1
  31. package/dist/{chunk-CMEGGDTF.mjs → chunk-SGQHY27N.mjs} +1 -1
  32. package/dist/{chunk-VKUF2Y5T.mjs → chunk-TEJHZXUT.mjs} +1 -1
  33. package/dist/{chunk-SRUG246N.mjs → chunk-TXVA6XJT.mjs} +1 -1
  34. package/dist/{chunk-R7VGCKUP.mjs → chunk-WIXMAE3F.mjs} +1 -1
  35. package/dist/{chunk-UZSBX5GO.mjs → chunk-X3JZSN3W.mjs} +1 -1
  36. package/dist/{chunk-VNYUNZ3M.mjs → chunk-XGIYNUGC.mjs} +1 -1
  37. package/dist/{chunk-OQ7HBEWL.mjs → chunk-YCLOD6DC.mjs} +1 -1
  38. package/dist/{chunk-XKQZ57J2.mjs → chunk-YVZOJHZJ.mjs} +1 -1
  39. package/dist/{chunk-X6DLJUQF.mjs → chunk-YZIRIYAS.mjs} +1 -1
  40. package/dist/components/AdvancedComponents/index.mjs +1 -1
  41. package/dist/components/AdvancedComponents/org-chart-component/OrgChart.mjs +1 -1
  42. package/dist/components/AdvancedComponents/org-chart-component/OrgTree.mjs +1 -1
  43. package/dist/components/AdvancedComponents/org-chart-component/index.mjs +1 -1
  44. package/dist/components/Blocks/Banner.mjs +1 -1
  45. package/dist/components/Blocks/CallToAction.mjs +1 -1
  46. package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
  47. package/dist/components/Blocks/Content.js +1 -1
  48. package/dist/components/Blocks/Content.mjs +1 -1
  49. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  50. package/dist/components/Blocks/ImageBlock.mjs +1 -1
  51. package/dist/components/Blocks/MediaBlock.mjs +1 -1
  52. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  53. package/dist/components/Blocks/RenderBlocks.js +1 -1
  54. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  55. package/dist/components/Blocks/ReusableContentBlock.js +1 -1
  56. package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
  57. package/dist/components/Blocks/index.js +1 -1
  58. package/dist/components/Blocks/index.mjs +1 -1
  59. package/dist/components/Cards/ContentCard.mjs +1 -1
  60. package/dist/components/Cards/FeatureCard.mjs +1 -1
  61. package/dist/components/Cards/index.mjs +1 -1
  62. package/dist/components/Chat/ChatInterface.mjs +1 -1
  63. package/dist/components/Chat/CopilotInterface.mjs +1 -1
  64. package/dist/components/Chat/PartTypes/MessageHandler.mjs +1 -1
  65. package/dist/components/Chat/PartTypes/index.mjs +1 -1
  66. package/dist/components/Chat/demo-long-messages.mjs +1 -1
  67. package/dist/components/Chat/demo-tests.mjs +1 -1
  68. package/dist/components/Chat/demo.mjs +1 -1
  69. package/dist/components/Chat/example-usage.mjs +1 -1
  70. package/dist/components/Chat/example-with-vercel-ai.mjs +1 -1
  71. package/dist/components/Chat/index.mjs +1 -1
  72. package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
  73. package/dist/components/DigitalColleagues/Views/index.mjs +1 -1
  74. package/dist/components/DigitalColleagues/index.mjs +1 -1
  75. package/dist/components/Foundary/MainPage.mjs +1 -1
  76. package/dist/components/Foundary/Pages/dashboardpage.mjs +1 -1
  77. package/dist/components/Foundary/Views/ColleaguesView.mjs +1 -1
  78. package/dist/components/Foundary/Views/index.mjs +1 -1
  79. package/dist/components/Foundary/index.mjs +1 -1
  80. package/dist/components/HeaderFooter/Header.mjs +1 -1
  81. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  82. package/dist/components/HeaderFooter/index.mjs +1 -1
  83. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  84. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  85. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  86. package/dist/components/Heros/RenderHero.mjs +1 -1
  87. package/dist/components/Heros/index.mjs +1 -1
  88. package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
  89. package/dist/components/Layouts/Print.js +2 -2
  90. package/dist/components/Layouts/Print.mjs +1 -1
  91. package/dist/components/Layouts/SlideShow.js +3 -3
  92. package/dist/components/Layouts/SlideShow.mjs +1 -1
  93. package/dist/components/Layouts/index.js +5 -5
  94. package/dist/components/Layouts/index.mjs +1 -1
  95. package/dist/components/Menus/index.mjs +1 -1
  96. package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
  97. package/dist/components/Payload/Media/index.mjs +1 -1
  98. package/dist/components/Payload/PayloadCard/index.mjs +1 -1
  99. package/dist/components/Payload/RichText/index.mjs +1 -1
  100. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  101. package/dist/components/Payload/index.mjs +1 -1
  102. package/dist/components/Projects/KanbanBoardView.mjs +1 -1
  103. package/dist/components/Projects/ProjectPage.mjs +1 -1
  104. package/dist/components/Projects/ProjectView.mjs +1 -1
  105. package/dist/components/Projects/TaskDetailsModal.mjs +1 -1
  106. package/dist/components/Projects/index.mjs +1 -1
  107. package/dist/components/index.js +15 -15
  108. package/dist/components/index.mjs +1 -1
  109. package/dist/decorators/Intranet.css +1 -1
  110. package/dist/decorators/Intranet.mjs +1 -1
  111. package/dist/globals.css +1 -1
  112. package/dist/index.js +21 -21
  113. package/dist/index.mjs +1 -1
  114. package/dist/metafile-cjs.json +1 -1
  115. package/dist/metafile-esm.json +1 -1
  116. package/dist/pages/Blog.mjs +1 -1
  117. package/dist/pages/Documentation.mjs +1 -1
  118. package/dist/pages/IndexPage.mjs +1 -1
  119. package/dist/pages/Intranet.mjs +1 -1
  120. package/dist/pages/LandingPage.mjs +1 -1
  121. package/dist/pages/Page.mjs +1 -1
  122. package/dist/pages/Publish.js +5 -5
  123. package/dist/pages/Publish.mjs +1 -1
  124. package/dist/pages/Website.js +1 -1
  125. package/dist/pages/Website.mjs +1 -1
  126. package/dist/payload-types.d.ts +1 -1
  127. package/dist/sections/AboutSection.mjs +1 -1
  128. package/dist/sections/BlogDetail.mjs +1 -1
  129. package/dist/sections/BlogList.mjs +1 -1
  130. package/dist/sections/BlogListSection.mjs +1 -1
  131. package/dist/sections/ContactSection.mjs +1 -1
  132. package/dist/sections/PageSections.mjs +1 -1
  133. package/dist/sections/PricingSection.mjs +1 -1
  134. package/dist/sections/ServiceDetail.mjs +1 -1
  135. package/dist/sections/ServiceDetailSection.mjs +1 -1
  136. package/dist/sections/ServiceSection.mjs +1 -1
  137. package/dist/sections/form/index.mjs +1 -1
  138. package/dist/sections/index.mjs +1 -1
  139. package/dist/tests/payload.d.ts +160 -0
  140. package/dist/tests/payload.js +1 -1
  141. package/dist/tests/payload.mjs +1 -1
  142. package/package.json +1 -1
  143. package/dist/chunk-BMLVEOB3.mjs +0 -1
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- "use strict";var vt=Object.create;var te=Object.defineProperty;var wt=Object.getOwnPropertyDescriptor;var kt=Object.getOwnPropertyNames;var Ct=Object.getPrototypeOf,Nt=Object.prototype.hasOwnProperty;var At=(e,t)=>{for(var r in t)te(e,r,{get:t[r],enumerable:!0})},Le=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of kt(t))!Nt.call(e,s)&&s!==r&&te(e,s,{get:()=>t[s],enumerable:!(a=wt(t,s))||a.enumerable});return e};var Y=(e,t,r)=>(r=e!=null?vt(Ct(e)):{},Le(t||!e||!e.__esModule?te(r,"default",{value:e,enumerable:!0}):r,e)),Pt=e=>Le(te({},"__esModule",{value:!0}),e);var ur={};At(ur,{ContentBlock:()=>mr});module.exports=Pt(ur);var qe=require("clsx");var ve="-",Bt=e=>{let t=It(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:l=>{let n=l.split(ve);return n[0]===""&&n.length!==1&&n.shift(),He(n,t)||Tt(l)},getConflictingClassGroupIds:(l,n)=>{let c=r[l]||[];return n&&a[l]?[...c,...a[l]]:c}}},He=(e,t)=>{if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),s=a?He(e.slice(1),a):void 0;if(s)return s;if(t.validators.length===0)return;let o=e.join(ve);return t.validators.find(({validator:l})=>l(o))?.classGroupId},Ee=/^\[(.+)\]$/,Tt=e=>{if(Ee.test(e)){let t=Ee.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},It=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return Rt(Object.entries(e.classGroups),r).forEach(([o,l])=>{xe(l,a,o,t)}),a},xe=(e,t,r,a)=>{e.forEach(s=>{if(typeof s=="string"){let o=s===""?t:De(t,s);o.classGroupId=r;return}if(typeof s=="function"){if(St(s)){xe(s(a),t,r,a);return}t.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([o,l])=>{xe(l,De(t,o),r,a)})})},De=(e,t)=>{let r=e;return t.split(ve).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},St=e=>e.isThemeGetter,Rt=(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(([l,n])=>[t+l,n])):o);return[r,s]}):e,Mt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,a=new Map,s=(o,l)=>{r.set(o,l),t++,t>e&&(t=0,a=r,r=new Map)};return{get(o){let l=r.get(o);if(l!==void 0)return l;if((l=a.get(o))!==void 0)return s(o,l),l},set(o,l){r.has(o)?r.set(o,l):s(o,l)}}},je="!",Ft=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,s=t[0],o=t.length,l=n=>{let c=[],p=0,m=0,x;for(let w=0;w<n.length;w++){let k=n[w];if(p===0){if(k===s&&(a||n.slice(w,w+o)===t)){c.push(n.slice(m,w)),m=w+o;continue}if(k==="/"){x=w;continue}}k==="["?p++:k==="]"&&p--}let h=c.length===0?n:n.substring(m),C=h.startsWith(je),N=C?h.substring(1):h,v=x&&x>m?x-m:void 0;return{modifiers:c,hasImportantModifier:C,baseClassName:N,maybePostfixModifierPosition:v}};return r?n=>r({className:n,parseClassName:l}):l},zt=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},Gt=e=>({cache:Mt(e.cacheSize),parseClassName:Ft(e),...Bt(e)}),Lt=/\s+/,Et=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:s}=t,o=[],l=e.trim().split(Lt),n="";for(let c=l.length-1;c>=0;c-=1){let p=l[c],{modifiers:m,hasImportantModifier:x,baseClassName:h,maybePostfixModifierPosition:C}=r(p),N=!!C,v=a(N?h.substring(0,C):h);if(!v){if(!N){n=p+(n.length>0?" "+n:n);continue}if(v=a(h),!v){n=p+(n.length>0?" "+n:n);continue}N=!1}let w=zt(m).join(":"),k=x?w+je:w,A=k+v;if(o.includes(A))continue;o.push(A);let z=s(v,N);for(let T=0;T<z.length;++T){let $=z[T];o.push(k+$)}n=p+(n.length>0?" "+n:n)}return n};function Dt(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Ue(t))&&(a&&(a+=" "),a+=r);return a}var Ue=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=Ue(e[a]))&&(r&&(r+=" "),r+=t);return r};function Ht(e,...t){let r,a,s,o=l;function l(c){let p=t.reduce((m,x)=>x(m),e());return r=Gt(p),a=r.cache.get,s=r.cache.set,o=n,n(c)}function n(c){let p=a(c);if(p)return p;let m=Et(c,r);return s(c,m),m}return function(){return o(Dt.apply(null,arguments))}}var g=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Ye=/^\[(?:([a-z-]+):)?(.+)\]$/i,jt=/^\d+\/\d+$/,Ut=new Set(["px","full","screen"]),Yt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Qt=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Vt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,qt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Jt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,M=e=>Q(e)||Ut.has(e)||jt.test(e),G=e=>V(e,"length",er),Q=e=>!!e&&!Number.isNaN(Number(e)),he=e=>V(e,"number",Q),O=e=>!!e&&Number.isInteger(Number(e)),Kt=e=>e.endsWith("%")&&Q(e.slice(0,-1)),d=e=>Ye.test(e),L=e=>Yt.test(e),Ot=new Set(["length","size","percentage"]),Xt=e=>V(e,Ot,Qe),Zt=e=>V(e,"position",Qe),Wt=new Set(["image","url"]),$t=e=>V(e,Wt,rr),_t=e=>V(e,"",tr),X=()=>!0,V=(e,t,r)=>{let a=Ye.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},er=e=>Qt.test(e)&&!Vt.test(e),Qe=()=>!1,tr=e=>qt.test(e),rr=e=>Jt.test(e);var or=()=>{let e=g("colors"),t=g("spacing"),r=g("blur"),a=g("brightness"),s=g("borderColor"),o=g("borderRadius"),l=g("borderSpacing"),n=g("borderWidth"),c=g("contrast"),p=g("grayscale"),m=g("hueRotate"),x=g("invert"),h=g("gap"),C=g("gradientColorStops"),N=g("gradientColorStopPositions"),v=g("inset"),w=g("margin"),k=g("opacity"),A=g("padding"),z=g("saturate"),T=g("scale"),$=g("sepia"),Ie=g("skew"),Se=g("space"),Re=g("translate"),ge=()=>["auto","contain","none"],fe=()=>["auto","hidden","clip","visible","scroll"],be=()=>["auto",d,t],b=()=>[d,t],Me=()=>["",M,G],_=()=>["auto",Q,d],Fe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ee=()=>["solid","dashed","dotted","double","none"],ze=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ye=()=>["start","end","center","between","around","evenly","stretch"],K=()=>["","0",d],Ge=()=>["auto","avoid","all","avoid-page","page","left","right","column"],R=()=>[Q,d];return{cacheSize:500,separator:":",theme:{colors:[X],spacing:[M,G],blur:["none","",L,d],brightness:R(),borderColor:[e],borderRadius:["none","","full",L,d],borderSpacing:b(),borderWidth:Me(),contrast:R(),grayscale:K(),hueRotate:R(),invert:K(),gap:b(),gradientColorStops:[e],gradientColorStopPositions:[Kt,G],inset:be(),margin:be(),opacity:R(),padding:b(),saturate:R(),scale:R(),sepia:K(),skew:R(),space:b(),translate:b()},classGroups:{aspect:[{aspect:["auto","square","video",d]}],container:["container"],columns:[{columns:[L]}],"break-after":[{"break-after":Ge()}],"break-before":[{"break-before":Ge()}],"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:[...Fe(),d]}],overflow:[{overflow:fe()}],"overflow-x":[{"overflow-x":fe()}],"overflow-re":[{"overflow-re":fe()}],overscroll:[{overscroll:ge()}],"overscroll-x":[{"overscroll-x":ge()}],"overscroll-re":[{"overscroll-re":ge()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-x":[{"inset-x":[v]}],"inset-re":[{"inset-re":[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",O,d]}],basis:[{basis:be()}],"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:K()}],shrink:[{shrink:K()}],order:[{order:["first","last","none",O,d]}],"grid-cols":[{"grid-cols":[X]}],"col-start-end":[{col:["auto",{span:["full",O,d]},d]}],"col-start":[{"col-start":_()}],"col-end":[{"col-end":_()}],"grid-rows":[{"grid-rows":[X]}],"row-start-end":[{row:["auto",{span:[O,d]},d]}],"row-start":[{"row-start":_()}],"row-end":[{"row-end":_()}],"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:[h]}],"gap-x":[{"gap-x":[h]}],"gap-re":[{"gap-re":[h]}],"justify-content":[{justify:["normal",...ye()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ye(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ye(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[A]}],px:[{px:[A]}],py:[{py:[A]}],ps:[{ps:[A]}],re:[{re:[A]}],pt:[{pt:[A]}],pr:[{pr:[A]}],pb:[{pb:[A]}],pl:[{pl:[A]}],m:[{m:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],me:[{me:[w]}],tt:[{tt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-x":[{"space-x":[Se]}],"space-x-reverse":["space-x-reverse"],"space-re":[{"space-re":[Se]}],"space-re-reverse":["space-re-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:[L]},L]}],h:[{h:[d,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[d,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[d,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[d,t,"auto","min","max","fit"]}],"font-size":[{text:["base",L,G]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",he]}],"font-family":[{font:[X]}],"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,he]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",M,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:[...ee(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",M,G]}],"underline-offset":[{"underline-offset":["auto",M,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:b()}],"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:[...Fe(),Zt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","re","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Xt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},$t]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[N]}],"gradient-via-pos":[{via:[N]}],"gradient-to-pos":[{to:[N]}],"gradient-from":[{from:[C]}],"gradient-via":[{via:[C]}],"gradient-to":[{to:[C]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-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:[n]}],"border-w-x":[{"border-x":[n]}],"border-w-re":[{"border-re":[n]}],"border-w-s":[{"border-s":[n]}],"border-w-e":[{"border-e":[n]}],"border-w-t":[{"border-t":[n]}],"border-w-r":[{"border-r":[n]}],"border-w-b":[{"border-b":[n]}],"border-w-l":[{"border-l":[n]}],"border-opacity":[{"border-opacity":[k]}],"border-style":[{border:[...ee(),"hidden"]}],"divide-x":[{"divide-x":[n]}],"divide-x-reverse":["divide-x-reverse"],"divide-re":[{"divide-re":[n]}],"divide-re-reverse":["divide-re-reverse"],"divide-opacity":[{"divide-opacity":[k]}],"divide-style":[{divide:ee()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-re":[{"border-re":[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:["",...ee()]}],"outline-offset":[{"outline-offset":[M,d]}],"outline-w":[{outline:[M,G]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Me()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[k]}],"ring-offset-w":[{"ring-offset":[M,G]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",L,_t]}],"shadow-color":[{shadow:[X]}],opacity:[{opacity:[k]}],"mix-blend":[{"mix-blend":[...ze(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ze()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",L,d]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[x]}],saturate:[{saturate:[z]}],sepia:[{sepia:[$]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[x]}],"backdrop-opacity":[{"backdrop-opacity":[k]}],"backdrop-saturate":[{"backdrop-saturate":[z]}],"backdrop-sepia":[{"backdrop-sepia":[$]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-re":[{"border-spacing-re":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",d]}],duration:[{duration:R()}],ease:[{ease:["linear","in","out","in-out",d]}],delay:[{delay:R()}],animate:[{animate:["none","spin","ping","pulse","bounce",d]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[T]}],"scale-x":[{"scale-x":[T]}],"scale-re":[{"scale-re":[T]}],rotate:[{rotate:[O,d]}],"translate-x":[{"translate-x":[Re]}],"translate-re":[{"translate-re":[Re]}],"skew-x":[{"skew-x":[Ie]}],"skew-re":[{"skew-re":[Ie]}],"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","re","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":b()}],"scroll-mx":[{"scroll-mx":b()}],"scroll-my":[{"scroll-my":b()}],"scroll-ms":[{"scroll-ms":b()}],"scroll-me":[{"scroll-me":b()}],"scroll-tt":[{"scroll-tt":b()}],"scroll-mr":[{"scroll-mr":b()}],"scroll-mb":[{"scroll-mb":b()}],"scroll-ml":[{"scroll-ml":b()}],"scroll-p":[{"scroll-p":b()}],"scroll-px":[{"scroll-px":b()}],"scroll-py":[{"scroll-py":b()}],"scroll-ps":[{"scroll-ps":b()}],"scroll-re":[{"scroll-re":b()}],"scroll-pt":[{"scroll-pt":b()}],"scroll-pr":[{"scroll-pr":b()}],"scroll-pb":[{"scroll-pb":b()}],"scroll-pl":[{"scroll-pl":b()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","re","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-re":[{"touch-pan":["re","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:[M,G,he]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-re"],overscroll:["overscroll-x","overscroll-re"],inset:["inset-x","inset-re","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-re":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-re"],p:["px","py","ps","re","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","tt","mr","mb","ml"],mx:["mr","ml"],my:["tt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-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-re"],"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-re":["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-re":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-tt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-tt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-re","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-re","touch-pz"],"touch-x":["touch"],"touch-re":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Ve=Ht(or);function i(...e){return Ve((0,qe.clsx)(e))}var re=require("react/jsx-runtime"),Je=({className:e,content:t,style:r})=>(0,re.jsx)("div",{className:i("mx-auto my-8 w-full",e),children:(0,re.jsx)("div",{className:i("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,re.jsx)(I,{content:t,enableGutter:!1,enableProse:!1})})});var tt=require("react");var Ke=require("@radix-ui/react-slot"),Oe=require("class-variance-authority"),Xe=Y(require("react")),ar=(0,Oe.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-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",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),D=Xe.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...s},o)=>(0,re.jsx)(e?Ke.Slot:"button",{className:i(ar({className:t,size:r,variant:a})),ref:o,...s}));D.displayName="Button";var we=Y(require("next/link")),H=e=>{let{type:t,appearance:r="inline",children:a,className:s,label:o,newTab:l,reference:n,size:c,url:p}=e,m=t==="reference"&&typeof n?.value=="object"&&n.value.slug?`${n?.relationTo!=="pages"?`/${n?.relationTo}`:""}/${n.value.slug}`:p;if(!m)return null;let x=r==="link"?"clear":c,h=l?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,re.jsxs)(we.default,{className:i(s),href:m||p||"",...h,children:[o&&o,a&&a]}):(0,re.jsx)(D,{asChild:!0,className:s,size:x,variant:r,children:(0,re.jsxs)(we.default,{className:i(s),href:m||p||"",...h,children:[o&&o,a&&a]})})};function oe({className:e}){return i("flex items-center min-h-[3.5rem] md:min-h-[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 nr({className:e,...t}){return(0,re.jsx)("input",{...t,className:oe({className:e})})}function ae({icon:e,...t}){return(0,re.jsxs)("div",{className:"relative w-full",children:[(0,re.jsx)(nr,{...t}),e&&(0,re.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-re-1/2 text-accent",children:e})]})}function sr({className:e,...t}){return(0,re.jsx)("textarea",{...t,className:i(oe({}),"resize-none md:min-h-[130px]",e)})}function We({icon:e,...t}){return(0,re.jsxs)("div",{className:"relative w-full",children:[(0,re.jsx)(sr,{...t}),e&&(0,re.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-accent",children:e})]})}var $e=require("formik"),_e=require("react-icons/fa6"),j=Y(require("yup")),ie=require("sonner"),B={tooShort:"Must be tt least ${min} characters",tooLong:"Must be tt most ${max} characters",required:"This field is required",email:"Invalid email format"},lr=j.object().shape({name:j.string().min(2,B.tooShort).max(50,B.tooLong).required(B.required),email:j.string().email(B.email).required(B.required),subject:j.string().min(2,B.tooShort).max(50,B.tooLong).required(B.required),message:j.string().min(2,B.tooShort).max(300,B.tooLong).required(B.required)}),ne=i("!pr-[44px] text-foreground"),se=i("!border-red-600 border"),le=i("sr-only");function et({onSubmit:e}={}){return(0,re.jsx)($e.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:lr,onSubmit:async(t,{resetForm:r})=>{if(!e){ie.toast.error("Form submission not configured");return}let a=await e(t);a.data===null?ie.toast.error(a.message):(ie.toast.success(a.message),r())},children:({errors:t,touched:r,values:a,handleChange:s,handleBlur:o,isSubmitting:l,handleSubmit:n})=>(0,re.jsxs)("form",{onSubmit:n,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,re.jsxs)("div",{children:[(0,re.jsx)(ae,{placeholder:"Your Name",type:"text",name:"name",value:a.name,onChange:s,onBlur:o,disabled:l,icon:(0,re.jsx)(_e.FaUser,{className:"text-primary"}),className:i(ne,t.name&&r.name&&se)}),t.name&&r.name&&(0,re.jsx)("p",{title:t.name,"aria-live":"polite",role:"error message",className:le,children:t.name})]}),(0,re.jsxs)("div",{children:[(0,re.jsx)(ae,{placeholder:"Your Email",type:"email",name:"email",value:a.email,onChange:s,onBlur:o,disabled:l,icon:(0,re.jsx)(ir,{}),className:i(ne,t.email&&r.email&&se)}),t.email&&r.email&&(0,re.jsx)("p",{title:t.email,"aria-live":"polite",role:"error message",className:le,children:t.email})]}),(0,re.jsxs)("div",{className:"lg:col-span-2",children:[(0,re.jsx)(ae,{placeholder:"Subject",type:"text",name:"subject",value:a.subject,onChange:s,onBlur:o,disabled:l,className:i(ne,t.subject&&r.subject&&se)}),t.subject&&r.subject&&(0,re.jsx)("p",{title:t.subject,"aria-live":"polite",role:"error message",className:le,children:t.subject})]}),(0,re.jsxs)("div",{className:"lg:col-span-2",children:[(0,re.jsx)(We,{placeholder:"Message...",name:"message",value:a.message,onChange:s,onBlur:o,disabled:l,icon:(0,re.jsx)(cr,{}),className:i(ne,t.message&&r.message&&se)}),t.message&&r.message&&(0,re.jsx)("p",{title:t.message,"aria-live":"polite",role:"error message",className:le,children:t.message})]}),(0,re.jsx)("div",{className:"lg:col-span-2 light grid justify-items-center",children:(0,re.jsx)(D,{type:"submit",className:"outline px-6 rounded-full outline-accent bg-background text-foreground hover:bg-accent hover:text-accent-foreground",disabled:l,children:"Send"})})]})})}function ir(){return(0,re.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,re.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 cr(){return(0,re.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,re.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 rt=({links:e,richText:t})=>{let[r,a]=(0,tt.useState)(!1),s="accent",o=()=>a(!0),l=()=>a(!1),n=c=>{c.target===c.currentTarget&&l()};return(0,re.jsxs)("div",{className:i("relative isolate overflow-hidden",s==="accent"?"bg-accent":"bg-black"),children:[(0,re.jsx)("div",{className:"px-6 py-24 sm:px-6 sm:py-32 lg:px-8",children:(0,re.jsxs)("div",{className:"mx-auto max-w-2xl text-center prose",children:[t&&(0,re.jsx)(I,{className:"mb-0 prose-headings:text-white prose-h2:text-white prose-p:text-white text-white",content:t,enableGutter:!1}),(0,re.jsx)("div",{className:"tt-10 flex items-center justify-center gap-x-6",children:(0,re.jsx)("div",{className:"flex flex-col gap-8 text-white",children:(e||[]).map(({link:c},p)=>c?.url==="/contact"?(0,re.jsx)("div",{onClick:o,className:i("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},p):(0,re.jsx)(H,{size:"lg",className:i("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},p))})})]})}),r&&(0,re.jsx)("div",{className:"absolute inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50",onClick:n,children:(0,re.jsxs)("div",{className:"bg-white p-6 pt-10 rounded-lg shadow-lg w-full max-w-lg light relative",children:[(0,re.jsx)("button",{className:"absolute top-4 right-4 text-gray-500 hover:text-gray-700",onClick:l,children:"\u2715"}),(0,re.jsx)(et,{})," "]})})]})};var ce=require("prism-react-renderer");var ot=require("lucide-react");function nt({code:e}){let[t,r]=(0,tt.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,re.jsx)("div",{className:"flex justify-end align-middle",children:(0,re.jsxs)(D,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,re.jsx)("p",{children:t}),(0,re.jsx)("div",{className:"w-6 h-6",children:(0,re.jsx)(ot.ClipboardCopy,{})})]})})}var st=({code:e,language:t=""})=>e?(0,re.jsx)(ce.Highlight,{code:e,language:t,theme:ce.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:s})=>(0,re.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[s.map((o,l)=>(0,re.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,re.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:l+1}),(0,re.jsx)("span",{className:"table-cell pl-4",children:o.map((n,c)=>(0,re.jsx)("span",{...a({token:n})},c))})]},l)),(0,re.jsx)(nt,{code:e})]})}):null;var lt=({className:e,code:t,language:r})=>(0,re.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,re.jsx)(st,{code:t,language:r})});var ct=Y(require("next/image")),dr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},it="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=",dt=e=>{let{alt:t,fill:r,imgClassName:a,priority:s,resource:o,size:l,src:n,loading:c}=e,p,m,x=t,h=n||"";if(!h&&o&&typeof o=="object"){let{alt:v,filename:w,height:k,url:A,width:z}=o;if(k&&k>500){let T=500/k;p=z*T,m=k*T}else p=z,m=k;x=v||"",h=A||it}let C=c||"lazy",N=l||Object.entries(dr).map(([,v])=>`(max-width: ${v}px) ${v*2}w`).join(", ");return(0,re.jsx)("picture",{children:(0,re.jsx)(ct.default,{alt:x||"",className:i(a),fill:r,height:r?void 0:m,placeholder:"blur",blurDataURL:it,priority:C!=="lazy"&&s,quality:100,loading:C,sizes:N,src:h,width:r?void 0:p})})};var pt=e=>{let{onClick:t,resource:r,videoClassName:a}=e,s=(0,tt.useRef)(null);if((0,tt.useEffect)(()=>{let{current:o}=s;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,re.jsx)("video",{autoPlay:!0,className:i(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:s,children:(0,re.jsx)("source",{src:r.url||""})})}return null};var me=e=>{let{className:t,htmlElement:r="div",resource:a}=e,s=typeof a=="object"&&a?.mimeType?.includes("video");return(0,re.jsx)(r||tt.Fragment,{...r!==null?{className:t}:{},children:s?(0,re.jsx)(pt,{...e}):(0,re.jsx)(dt,{...e})})};var ut=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:s,staticImage:o}=e;return(0,re.jsx)("div",{className:i("h-full ",{container:r},t),children:(0,re.jsx)(me,{imgClassName:i("rounded-[0.8rem]",a),className:"flex justify-center",resource:s,src:o})})};var gt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:s,staticImage:o}=e;return(0,re.jsx)("div",{className:i("",{container:r},t),children:(0,re.jsx)(me,{imgClassName:i("rounded-[0.8rem]",a),resource:s,src:o})})};var Be=({type:e="solid",iconName:t="cloud",size:r="lg",className:a})=>{let s=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,l=a??"",n=s+o+" fa-"+r+" "+l;return(0,re.jsx)("i",{className:n})};var yt=Y(require("next/image"));function bt(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function Te({image:e,icon:t,title:r,subtitle:a,content:s,statistic:o,settings:l,link:n,className:c}){let p={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:"bg-background"},m={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,re.jsxs)("a",{href:n?.url||"#",className:i("min-w-56 max-w-xl h-full flex flex-col group bg-background",e?"p-0":"p-6 md:p-8",l&&!e&&p[l?.card==="default"?"solid":l?.card],e&&"bg-foreground",l&&l?.card==="outline"?"text-gray-900":"text-white",m[l?.width??"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",l&&`intersect:animate-delay-${l.order||1}00`,c),children:[e&&(0,re.jsx)("div",{className:"relative aspect-[16/9] w-full",children:(0,re.jsx)(yt.default,{src:e.url||"/placeholder.svg",alt:e.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),(0,re.jsxs)("div",{className:i(e?"p-6 md:p-8":"p-0","flex flex-col flex-grow"),children:[(0,re.jsxs)("div",{className:"flex flex-col flex-grow",children:[a&&(0,re.jsx)("div",{className:"text-primary uppercase text-sm font-light mb-4",children:a}),(0,re.jsx)("div",{className:"flex items-start gap-4 mb-4",children:(0,re.jsx)(pr,{icon:{type:t?.type||"fa-light",iconName:t?.icon||"no-icon-error"},heading:r??"",variant:l?.card==="default"?"solid":l?.card??"solid",iconSize:l?.iconSize||"large"})}),s&&typeof s=="object"&&(0,re.jsx)(I,{enableGutter:!1,content:s,enableProse:!1,className:i("prose-sm prose-p:text-lg prose-headings:text-xl","space-re-3",l?.card==="outline"||l?.card==="light"?"prose-headings:text-foreground prose-p:text-foreground prose-a:text-foreground":"prose-headings:text-white prose-p:text-gray-100 prose-a:text-gray-100",e&&"prose-headings:text-background prose-p:text-background")}),s&&typeof s=="string"&&(0,re.jsx)("div",{className:i("prose-sm prose-p:text-lg prose-headings:text-xl","space-re-3",l?.card==="outline"||l?.card==="light"?"prose text-foreground":"prose text-gray-100",e&&"prose text-background"),children:s})]}),n&&n.url&&(0,re.jsx)("div",{className:"tt-6",children:(0,re.jsx)("span",{className:"text-accent font-semibold uppercase text-sm block hover:text-accent/80 transition-colors",children:n?.label||"Find out more"})})]})]})}var pr=({icon:e,heading:t,variant:r,iconSize:a,subtitle:s})=>e&&a==="small"&&e.iconName!="no-icon-error"?(0,re.jsxs)("div",{className:"flex items-start justify-between w-full mb-2",children:[(0,re.jsx)("div",{className:i(r==="outline"||r==="light"?"text-primary":"text-white",a==="small"?"text-2xl":"text-3xl"),children:t}),bt(e)&&(0,re.jsx)("div",{className:i("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-primary":"text-white",a==="small"?"-mr-2 ml-1 tt-1":""),children:(0,re.jsx)(Be,{type:e.type,iconName:e.iconName,size:"2x"})})]}):e&&e.iconName!="no-icon-error"?(0,re.jsxs)("div",{className:"flex flex-col gap-4",children:[bt(e)&&(0,re.jsx)("div",{className:i("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-accent":""),children:(0,re.jsx)(Be,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,re.jsx)("h3",{className:i("font-normal",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl text-white"),children:t})]}):(0,re.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,re.jsx)("div",{className:i("font-regular",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var ht=({title:e,description:t,features:r,id:a,nested:s=!1})=>(0,re.jsxs)("section",{className:i(s?"w-full":"",""),children:[(0,re.jsxs)("div",{className:"prose prose:max-w-none",children:[e&&(0,re.jsx)("h2",{className:"mb-6 tt-0 text-primary",id:a||"",children:e}),t&&typeof t=="string"&&(0,re.jsx)("p",{className:"mb-5 text-foreground",children:t}),t&&typeof t=="object"&&(0,re.jsx)("div",{className:"mb-5 text-foreground",children:(0,re.jsx)(I,{content:t,enableGutter:!1})})]}),(0,re.jsx)("div",{className:`grid gap-6 tt-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,l)=>{let n=()=>{if(o.icon&&"type"in o.icon&&o.icon.type!=="none")return{type:o.icon.type,icon:o.icon.icon}};return(0,re.jsx)(Te,{title:o.title||"",content:o.content||void 0,statistic:o.statistic||void 0,settings:{...o.settings,width:"auto",order:l},link:o.link?{...o.link,label:"Learn more"}:void 0,icon:n()??{type:"none",icon:null}},l)})})]});var ue=Y(require("react"));function W({nodes:e}){return(0,re.jsx)(ue.Fragment,{children:e?.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,re.jsx)(ue.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,re.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,re.jsx)("em",{children:o},r)),t.format&4&&(o=(0,re.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,re.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,re.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,re.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,re.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,re.jsx)("table",{children:(0,re.jsx)("tbody",{children:t.children.map((o,l)=>(0,re.jsx)("tr",{children:o.children.map((n,c)=>(0,re.jsx)("td",{children:W({nodes:n.children})},c))},l))})},r);let a=o=>{if(o.children==null)return null;if(o?.type==="list"&&o?.listType==="check")for(let l of o.children)"checked"in l&&(l?.checked||(l.checked=!1));return W({nodes:o.children})},s="children"in t?a(t):"";if(t.type==="block"){let o=t.fields,l=o?.blockType;if(!o||!l)return null;switch(l){case"cta":return(0,re.jsx)(rt,{...o},r);case"mediaBlock":return(0,re.jsx)(ut,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,re.jsx)(gt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,re.jsx)(Je,{className:"col-start-2 mb-4",...o},r);case"code":return(0,re.jsx)(lt,{className:"col-start-2",...o},r);case"features":return(0,re.jsx)(ht,{...o,nested:!0},r);case"reusableContentBlock":W({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,re.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,re.jsx)("p",{className:"col-start-2",children:s},r);case"heading":{let o=t?.tag;return(0,re.jsx)(o,{className:"col-start-2",id:t?.id||"",children:s},r)}case"list":{let o=t?.tag;return(0,re.jsx)(o,{className:"list col-start-2",children:s},r)}case"listitem":return t?.checked!=null?(0,re.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t?.value,children:s},r):(0,re.jsx)("li",{value:t?.value,children:s},r);case"quote":return(0,re.jsx)("blockquote",{className:"col-start-2",children:s},r);case"link":{let o=t.fields;return(0,re.jsx)(H,{newTab:!!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,re.jsx)(H,{newTab:!!o?.newTab,reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}default:return null}})})}var I=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>t?(0,re.jsx)("div",{className:i({"container ":r,"max-w-none":!r,"mx-auto prose":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&W({nodes:t?.root?.children})}):null;var mr=e=>{let{columns:t,theme:r}=e,a={full:"12",half:"6",oneThird:"4",twoThirds:"8"},s={none:"",line:"border border-primary p-4 rounded-lg"},o=n=>{if(n.type&&n.type==="block"&&n.fields&&(n.fields.blockType==="imageBlock"||n.fields.blockType==="mediaBlock"))return!0;if(n.root&&n.root.children){for(let c of n.root.children)if(o(c))return!0}if(n.children){for(let c of n.children)if(o(c))return!0}return!1},l=(n,c,p)=>{if(c==="none"||p==="full")return{processedRichText:n,heading:null};let m=n,x=null;return n&&n.root&&n.root.children&&n.root.children[0].tag==="h2"&&(m={...n,root:{...n.root,children:n.root.children.slice(1)}},x=n.root.children[0]),{processedRichText:m,heading:x}};return(0,re.jsx)("div",{className:"my-6",children:(0,re.jsx)("div",{className:i("grid grid-cols-4 lg:grid-cols-12 gap-re-8",r?.settings?.box?"gap-x-8":"gap-x-16"),children:t&&t.length>0&&t.map((n,c)=>{let{enableLink:p,link:m,richText:x,size:h}=n,{processedRichText:C,heading:N}=l(x,r?.settings?.box||"none",h||"full");return(0,re.jsxs)("div",{className:i(`col-span-4 lg:col-span-${a[h]}`,{"md:col-span-2":h!=="full"},s[h!=="full"&&!o(x)&&r?.settings?.box||"none"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${c+1}00`),children:[N&&(0,re.jsx)("div",{className:"bg-primary text-primary-foreground mb-4 -tt-4 -mx-4 px-4 py-2 text-xl",children:N.children[0].text}),C&&(0,re.jsx)(I,{content:C,enableGutter:!1,className:"rich-text"}),p&&(0,re.jsx)(H,{...m})]},c)})})})};0&&(module.exports={ContentBlock});
4
+ "use strict";var vt=Object.create;var te=Object.defineProperty;var wt=Object.getOwnPropertyDescriptor;var kt=Object.getOwnPropertyNames;var Ct=Object.getPrototypeOf,Nt=Object.prototype.hasOwnProperty;var At=(e,t)=>{for(var r in t)te(e,r,{get:t[r],enumerable:!0})},Le=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of kt(t))!Nt.call(e,s)&&s!==r&&te(e,s,{get:()=>t[s],enumerable:!(a=wt(t,s))||a.enumerable});return e};var Y=(e,t,r)=>(r=e!=null?vt(Ct(e)):{},Le(t||!e||!e.__esModule?te(r,"default",{value:e,enumerable:!0}):r,e)),Pt=e=>Le(te({},"__esModule",{value:!0}),e);var ur={};At(ur,{ContentBlock:()=>mr});module.exports=Pt(ur);var qe=require("clsx");var ve="-",Bt=e=>{let t=It(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:l=>{let n=l.split(ve);return n[0]===""&&n.length!==1&&n.shift(),He(n,t)||Tt(l)},getConflictingClassGroupIds:(l,n)=>{let c=r[l]||[];return n&&a[l]?[...c,...a[l]]:c}}},He=(e,t)=>{if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),s=a?He(e.slice(1),a):void 0;if(s)return s;if(t.validators.length===0)return;let o=e.join(ve);return t.validators.find(({validator:l})=>l(o))?.classGroupId},Ee=/^\[(.+)\]$/,Tt=e=>{if(Ee.test(e)){let t=Ee.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},It=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return Rt(Object.entries(e.classGroups),r).forEach(([o,l])=>{xe(l,a,o,t)}),a},xe=(e,t,r,a)=>{e.forEach(s=>{if(typeof s=="string"){let o=s===""?t:De(t,s);o.classGroupId=r;return}if(typeof s=="function"){if(St(s)){xe(s(a),t,r,a);return}t.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([o,l])=>{xe(l,De(t,o),r,a)})})},De=(e,t)=>{let r=e;return t.split(ve).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},St=e=>e.isThemeGetter,Rt=(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(([l,n])=>[t+l,n])):o);return[r,s]}):e,Mt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,a=new Map,s=(o,l)=>{r.set(o,l),t++,t>e&&(t=0,a=r,r=new Map)};return{get(o){let l=r.get(o);if(l!==void 0)return l;if((l=a.get(o))!==void 0)return s(o,l),l},set(o,l){r.has(o)?r.set(o,l):s(o,l)}}},je="!",Ft=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,s=t[0],o=t.length,l=n=>{let c=[],p=0,m=0,f;for(let w=0;w<n.length;w++){let k=n[w];if(p===0){if(k===s&&(a||n.slice(w,w+o)===t)){c.push(n.slice(m,w)),m=w+o;continue}if(k==="/"){f=w;continue}}k==="["?p++:k==="]"&&p--}let g=c.length===0?n:n.substring(m),A=g.startsWith(je),C=A?g.substring(1):g,v=f&&f>m?f-m:void 0;return{modifiers:c,hasImportantModifier:A,baseClassName:C,maybePostfixModifierPosition:v}};return r?n=>r({className:n,parseClassName:l}):l},zt=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},Gt=e=>({cache:Mt(e.cacheSize),parseClassName:Ft(e),...Bt(e)}),Lt=/\s+/,Et=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:s}=t,o=[],l=e.trim().split(Lt),n="";for(let c=l.length-1;c>=0;c-=1){let p=l[c],{modifiers:m,hasImportantModifier:f,baseClassName:g,maybePostfixModifierPosition:A}=r(p),C=!!A,v=a(C?g.substring(0,A):g);if(!v){if(!C){n=p+(n.length>0?" "+n:n);continue}if(v=a(g),!v){n=p+(n.length>0?" "+n:n);continue}C=!1}let w=zt(m).join(":"),k=f?w+je:w,P=k+v;if(o.includes(P))continue;o.push(P);let G=s(v,C);for(let S=0;S<G.length;++S){let $=G[S];o.push(k+$)}n=p+(n.length>0?" "+n:n)}return n};function Dt(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Ue(t))&&(a&&(a+=" "),a+=r);return a}var Ue=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=Ue(e[a]))&&(r&&(r+=" "),r+=t);return r};function Ht(e,...t){let r,a,s,o=l;function l(c){let p=t.reduce((m,f)=>f(m),e());return r=Gt(p),a=r.cache.get,s=r.cache.set,o=n,n(c)}function n(c){let p=a(c);if(p)return p;let m=Et(c,r);return s(c,m),m}return function(){return o(Dt.apply(null,arguments))}}var b=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Ye=/^\[(?:([a-re-]+):)?(.+)\]$/i,jt=/^\d+\/\d+$/,Ut=new Set(["px","full","screen"]),Yt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Qt=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Vt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,qt=/^(inset_)?-?((\d+)?\.?(\d+)[a-re]+|0)_-?((\d+)?\.?(\d+)[a-re]+|0)/,Jt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,F=e=>Q(e)||Ut.has(e)||jt.test(e),L=e=>V(e,"length",er),Q=e=>!!e&&!Number.isNaN(Number(e)),he=e=>V(e,"number",Q),O=e=>!!e&&Number.isInteger(Number(e)),Kt=e=>e.endsWith("%")&&Q(e.slice(0,-1)),d=e=>Ye.test(e),E=e=>Yt.test(e),Ot=new Set(["length","size","percentage"]),Xt=e=>V(e,Ot,Qe),Zt=e=>V(e,"position",Qe),Wt=new Set(["image","url"]),$t=e=>V(e,Wt,rr),_t=e=>V(e,"",tr),X=()=>!0,V=(e,t,r)=>{let a=Ye.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},er=e=>Qt.test(e)&&!Vt.test(e),Qe=()=>!1,tr=e=>qt.test(e),rr=e=>Jt.test(e);var or=()=>{let e=b("colors"),t=b("spacing"),r=b("blur"),a=b("brightness"),s=b("borderColor"),o=b("borderRadius"),l=b("borderSpacing"),n=b("borderWidth"),c=b("contrast"),p=b("grayscale"),m=b("hueRotate"),f=b("invert"),g=b("gap"),A=b("gradientColorStops"),C=b("gradientColorStopPositions"),v=b("inset"),w=b("margin"),k=b("opacity"),P=b("padding"),G=b("saturate"),S=b("scale"),$=b("sepia"),Ie=b("skew"),Se=b("space"),Re=b("translate"),ge=()=>["auto","contain","none"],fe=()=>["auto","hidden","clip","visible","scroll"],be=()=>["auto",d,t],h=()=>[d,t],Me=()=>["",F,L],_=()=>["auto",Q,d],Fe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ee=()=>["solid","dashed","dotted","double","none"],ze=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ye=()=>["start","end","center","between","around","evenly","stretch"],K=()=>["","0",d],Ge=()=>["auto","avoid","all","avoid-page","page","left","right","column"],M=()=>[Q,d];return{cacheSize:500,separator:":",theme:{colors:[X],spacing:[F,L],blur:["none","",E,d],brightness:M(),borderColor:[e],borderRadius:["none","","full",E,d],borderSpacing:h(),borderWidth:Me(),contrast:M(),grayscale:K(),hueRotate:M(),invert:K(),gap:h(),gradientColorStops:[e],gradientColorStopPositions:[Kt,L],inset:be(),margin:be(),opacity:M(),padding:h(),saturate:M(),scale:M(),sepia:K(),skew:M(),space:h(),translate:h()},classGroups:{aspect:[{aspect:["auto","square","video",d]}],container:["container"],columns:[{columns:[E]}],"break-after":[{"break-after":Ge()}],"break-before":[{"break-before":Ge()}],"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:[...Fe(),d]}],overflow:[{overflow:fe()}],"overflow-re":[{"overflow-re":fe()}],"overflow-re":[{"overflow-re":fe()}],overscroll:[{overscroll:ge()}],"overscroll-re":[{"overscroll-re":ge()}],"overscroll-re":[{"overscroll-re":ge()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-re":[{"inset-re":[v]}],"inset-re":[{"inset-re":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],re:[{re:["auto",O,d]}],basis:[{basis:be()}],"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:K()}],shrink:[{shrink:K()}],order:[{order:["first","last","none",O,d]}],"grid-cols":[{"grid-cols":[X]}],"col-start-end":[{col:["auto",{span:["full",O,d]},d]}],"col-start":[{"col-start":_()}],"col-end":[{"col-end":_()}],"grid-rows":[{"grid-rows":[X]}],"row-start-end":[{row:["auto",{span:[O,d]},d]}],"row-start":[{"row-start":_()}],"row-end":[{"row-end":_()}],"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:[g]}],"gap-re":[{"gap-re":[g]}],"gap-re":[{"gap-re":[g]}],"justify-content":[{justify:["normal",...ye()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ye(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ye(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[P]}],px:[{px:[P]}],py:[{py:[P]}],ps:[{ps:[P]}],re:[{re:[P]}],pt:[{pt:[P]}],pr:[{pr:[P]}],pb:[{pb:[P]}],pl:[{pl:[P]}],m:[{m:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],me:[{me:[w]}],tt:[{tt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-re":[{"space-re":[Se]}],"space-re-reverse":["space-re-reverse"],"space-re":[{"space-re":[Se]}],"space-re-reverse":["space-re-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:[E]},E]}],h:[{h:[d,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[d,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[d,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[d,t,"auto","min","max","fit"]}],"font-size":[{text:["base",E,L]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",he]}],"font-family":[{font:[X]}],"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,he]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",F,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:[...ee(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",F,L]}],"underline-offset":[{"underline-offset":["auto",F,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:h()}],"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:[...Fe(),Zt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","re","re","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Xt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},$t]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[C]}],"gradient-via-pos":[{via:[C]}],"gradient-to-pos":[{to:[C]}],"gradient-from":[{from:[A]}],"gradient-via":[{via:[A]}],"gradient-to":[{to:[A]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[n]}],"border-w-re":[{"border-re":[n]}],"border-w-re":[{"border-re":[n]}],"border-w-s":[{"border-s":[n]}],"border-w-e":[{"border-e":[n]}],"border-w-t":[{"border-t":[n]}],"border-w-r":[{"border-r":[n]}],"border-w-b":[{"border-b":[n]}],"border-w-l":[{"border-l":[n]}],"border-opacity":[{"border-opacity":[k]}],"border-style":[{border:[...ee(),"hidden"]}],"divide-re":[{"divide-re":[n]}],"divide-re-reverse":["divide-re-reverse"],"divide-re":[{"divide-re":[n]}],"divide-re-reverse":["divide-re-reverse"],"divide-opacity":[{"divide-opacity":[k]}],"divide-style":[{divide:ee()}],"border-color":[{border:[s]}],"border-color-re":[{"border-re":[s]}],"border-color-re":[{"border-re":[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:["",...ee()]}],"outline-offset":[{"outline-offset":[F,d]}],"outline-w":[{outline:[F,L]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Me()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[k]}],"ring-offset-w":[{"ring-offset":[F,L]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",E,_t]}],"shadow-color":[{shadow:[X]}],opacity:[{opacity:[k]}],"mix-blend":[{"mix-blend":[...ze(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ze()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",E,d]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[f]}],saturate:[{saturate:[G]}],sepia:[{sepia:[$]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[k]}],"backdrop-saturate":[{"backdrop-saturate":[G]}],"backdrop-sepia":[{"backdrop-sepia":[$]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-re":[{"border-spacing-re":[l]}],"border-spacing-re":[{"border-spacing-re":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",d]}],duration:[{duration:M()}],ease:[{ease:["linear","in","out","in-out",d]}],delay:[{delay:M()}],animate:[{animate:["none","spin","ping","pulse","bounce",d]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[S]}],"scale-re":[{"scale-re":[S]}],"scale-re":[{"scale-re":[S]}],rotate:[{rotate:[O,d]}],"translate-re":[{"translate-re":[Re]}],"translate-re":[{"translate-re":[Re]}],"skew-re":[{"skew-re":[Ie]}],"skew-re":[{"skew-re":[Ie]}],"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","re","re",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":h()}],"scroll-mx":[{"scroll-mx":h()}],"scroll-my":[{"scroll-my":h()}],"scroll-ms":[{"scroll-ms":h()}],"scroll-me":[{"scroll-me":h()}],"scroll-tt":[{"scroll-tt":h()}],"scroll-mr":[{"scroll-mr":h()}],"scroll-mb":[{"scroll-mb":h()}],"scroll-ml":[{"scroll-ml":h()}],"scroll-p":[{"scroll-p":h()}],"scroll-px":[{"scroll-px":h()}],"scroll-py":[{"scroll-py":h()}],"scroll-ps":[{"scroll-ps":h()}],"scroll-re":[{"scroll-re":h()}],"scroll-pt":[{"scroll-pt":h()}],"scroll-pr":[{"scroll-pr":h()}],"scroll-pb":[{"scroll-pb":h()}],"scroll-pl":[{"scroll-pl":h()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","re","re","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-re":[{"touch-pan":["re","left","right"]}],"touch-re":[{"touch-pan":["re","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:[F,L,he]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-re","overflow-re"],overscroll:["overscroll-re","overscroll-re"],inset:["inset-re","inset-re","start","end","top","right","bottom","left"],"inset-re":["right","left"],"inset-re":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-re","gap-re"],p:["px","py","ps","re","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","tt","mr","mb","ml"],mx:["mr","ml"],my:["tt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-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-re","border-spacing-re"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-re":["border-w-r","border-w-l"],"border-w-re":["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-re":["border-color-r","border-color-l"],"border-color-re":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-tt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-tt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-re","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-re","touch-re","touch-pz"],"touch-re":["touch"],"touch-re":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Ve=Ht(or);function i(...e){return Ve((0,qe.clsx)(e))}var re=require("react/jsx-runtime"),Je=({className:e,content:t,style:r})=>(0,re.jsx)("div",{className:i("mx-auto my-8 w-full",e),children:(0,re.jsx)("div",{className:i("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,re.jsx)(T,{content:t,enableGutter:!1,enableProse:!1})})});var tt=require("react");var Ke=require("@radix-ui/react-slot"),Oe=require("class-variance-authority"),Xe=Y(require("react")),ar=(0,Oe.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-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",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),H=Xe.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...s},o)=>(0,re.jsx)(e?Ke.Slot:"button",{className:i(ar({className:t,size:r,variant:a})),ref:o,...s}));H.displayName="Button";var we=Y(require("next/link")),D=e=>{let{type:t,appearance:r="inline",children:a,className:s,label:o,newTab:l,reference:n,size:c,url:p}=e,m=t==="reference"&&typeof n?.value=="object"&&n.value.slug?`${n?.relationTo!=="pages"?`/${n?.relationTo}`:""}/${n.value.slug}`:p;if(!m)return null;let f=r==="link"?"clear":c,g=l?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,re.jsxs)(we.default,{className:i(s),href:m||p||"",...g,children:[o&&o,a&&a]}):(0,re.jsx)(H,{asChild:!0,className:s,size:f,variant:r,children:(0,re.jsxs)(we.default,{className:i(s),href:m||p||"",...g,children:[o&&o,a&&a]})})};function oe({className:e}){return i("flex items-center min-h-[3.5rem] md:min-h-[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 nr({className:e,...t}){return(0,re.jsx)("input",{...t,className:oe({className:e})})}function ae({icon:e,...t}){return(0,re.jsxs)("div",{className:"relative w-full",children:[(0,re.jsx)(nr,{...t}),e&&(0,re.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-re-1/2 text-accent",children:e})]})}function sr({className:e,...t}){return(0,re.jsx)("textarea",{...t,className:i(oe({}),"resize-none md:min-h-[130px]",e)})}function We({icon:e,...t}){return(0,re.jsxs)("div",{className:"relative w-full",children:[(0,re.jsx)(sr,{...t}),e&&(0,re.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-accent",children:e})]})}var $e=require("formik"),_e=require("react-icons/fa6"),j=Y(require("yup")),ie=require("sonner"),I={tooShort:"Must be tt least ${min} characters",tooLong:"Must be tt most ${max} characters",required:"This field is required",email:"Invalid email format"},lr=j.object().shape({name:j.string().min(2,I.tooShort).max(50,I.tooLong).required(I.required),email:j.string().email(I.email).required(I.required),subject:j.string().min(2,I.tooShort).max(50,I.tooLong).required(I.required),message:j.string().min(2,I.tooShort).max(300,I.tooLong).required(I.required)}),ne=i("!pr-[44px] text-foreground"),se=i("!border-red-600 border"),le=i("sr-only");function et({onSubmit:e}={}){return(0,re.jsx)($e.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:lr,onSubmit:async(t,{resetForm:r})=>{if(!e){ie.toast.error("Form submission not configured");return}let a=await e(t);a.data===null?ie.toast.error(a.message):(ie.toast.success(a.message),r())},children:({errors:t,touched:r,values:a,handleChange:s,handleBlur:o,isSubmitting:l,handleSubmit:n})=>(0,re.jsxs)("form",{onSubmit:n,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,re.jsxs)("div",{children:[(0,re.jsx)(ae,{placeholder:"Your Name",type:"text",name:"name",value:a.name,onChange:s,onBlur:o,disabled:l,icon:(0,re.jsx)(_e.FaUser,{className:"text-primary"}),className:i(ne,t.name&&r.name&&se)}),t.name&&r.name&&(0,re.jsx)("p",{title:t.name,"aria-live":"polite",role:"error message",className:le,children:t.name})]}),(0,re.jsxs)("div",{children:[(0,re.jsx)(ae,{placeholder:"Your Email",type:"email",name:"email",value:a.email,onChange:s,onBlur:o,disabled:l,icon:(0,re.jsx)(ir,{}),className:i(ne,t.email&&r.email&&se)}),t.email&&r.email&&(0,re.jsx)("p",{title:t.email,"aria-live":"polite",role:"error message",className:le,children:t.email})]}),(0,re.jsxs)("div",{className:"lg:col-span-2",children:[(0,re.jsx)(ae,{placeholder:"Subject",type:"text",name:"subject",value:a.subject,onChange:s,onBlur:o,disabled:l,className:i(ne,t.subject&&r.subject&&se)}),t.subject&&r.subject&&(0,re.jsx)("p",{title:t.subject,"aria-live":"polite",role:"error message",className:le,children:t.subject})]}),(0,re.jsxs)("div",{className:"lg:col-span-2",children:[(0,re.jsx)(We,{placeholder:"Message...",name:"message",value:a.message,onChange:s,onBlur:o,disabled:l,icon:(0,re.jsx)(cr,{}),className:i(ne,t.message&&r.message&&se)}),t.message&&r.message&&(0,re.jsx)("p",{title:t.message,"aria-live":"polite",role:"error message",className:le,children:t.message})]}),(0,re.jsx)("div",{className:"lg:col-span-2 light grid justify-items-center",children:(0,re.jsx)(H,{type:"submit",className:"outline px-6 rounded-full outline-accent bg-background text-foreground hover:bg-accent hover:text-accent-foreground",disabled:l,children:"Send"})})]})})}function ir(){return(0,re.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,re.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 cr(){return(0,re.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,re.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 rt=({links:e,richText:t})=>{let[r,a]=(0,tt.useState)(!1),s="accent",o=()=>a(!0),l=()=>a(!1),n=c=>{c.target===c.currentTarget&&l()};return(0,re.jsxs)("div",{className:i("relative isolate overflow-hidden",s==="accent"?"bg-accent":"bg-black"),children:[(0,re.jsx)("div",{className:"px-6 py-24 sm:px-6 sm:py-32 lg:px-8",children:(0,re.jsxs)("div",{className:"mx-auto max-w-2xl text-center prose",children:[t&&(0,re.jsx)(T,{className:"mb-0 prose-headings:text-white prose-h2:text-white prose-p:text-white text-white",content:t,enableGutter:!1}),(0,re.jsx)("div",{className:"tt-10 flex items-center justify-center gap-re-6",children:(0,re.jsx)("div",{className:"flex flex-col gap-8 text-white",children:(e||[]).map(({link:c},p)=>c?.url==="/contact"?(0,re.jsx)("div",{onClick:o,className:i("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},p):(0,re.jsx)(D,{size:"lg",className:i("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},p))})})]})}),r&&(0,re.jsx)("div",{className:"absolute inset-0 re-50 flex items-center justify-center bg-black bg-opacity-50",onClick:n,children:(0,re.jsxs)("div",{className:"bg-white p-6 pt-10 rounded-lg shadow-lg w-full max-w-lg light relative",children:[(0,re.jsx)("button",{className:"absolute top-4 right-4 text-gray-500 hover:text-gray-700",onClick:l,children:"\u2715"}),(0,re.jsx)(et,{})," "]})})]})};var ce=require("prism-react-renderer");var ot=require("lucide-react");function nt({code:e}){let[t,r]=(0,tt.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,re.jsx)("div",{className:"flex justify-end align-middle",children:(0,re.jsxs)(H,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,re.jsx)("p",{children:t}),(0,re.jsx)("div",{className:"w-6 h-6",children:(0,re.jsx)(ot.ClipboardCopy,{})})]})})}var st=({code:e,language:t=""})=>e?(0,re.jsx)(ce.Highlight,{code:e,language:t,theme:ce.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:s})=>(0,re.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-re-auto",children:[s.map((o,l)=>(0,re.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,re.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:l+1}),(0,re.jsx)("span",{className:"table-cell pl-4",children:o.map((n,c)=>(0,re.jsx)("span",{...a({token:n})},c))})]},l)),(0,re.jsx)(nt,{code:e})]})}):null;var lt=({className:e,code:t,language:r})=>(0,re.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,re.jsx)(st,{code:t,language:r})});var ct=Y(require("next/image")),dr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},it="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=",dt=e=>{let{alt:t,fill:r,imgClassName:a,priority:s,resource:o,size:l,src:n,loading:c}=e,p,m,f=t,g=n||"";if(!g&&o&&typeof o=="object"){let{alt:v,filename:w,height:k,url:P,width:G}=o;if(k&&k>500){let S=500/k;p=G*S,m=k*S}else p=G,m=k;f=v||"",g=P||it}let A=c||"lazy",C=l||Object.entries(dr).map(([,v])=>`(max-width: ${v}px) ${v*2}w`).join(", ");return(0,re.jsx)("picture",{children:(0,re.jsx)(ct.default,{alt:f||"",className:i(a),fill:r,height:r?void 0:m,placeholder:"blur",blurDataURL:it,priority:A!=="lazy"&&s,quality:100,loading:A,sizes:C,src:g,width:r?void 0:p})})};var pt=e=>{let{onClick:t,resource:r,videoClassName:a}=e,s=(0,tt.useRef)(null);if((0,tt.useEffect)(()=>{let{current:o}=s;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,re.jsx)("video",{autoPlay:!0,className:i(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:s,children:(0,re.jsx)("source",{src:r.url||""})})}return null};var me=e=>{let{className:t,htmlElement:r="div",resource:a}=e,s=typeof a=="object"&&a?.mimeType?.includes("video");return(0,re.jsx)(r||tt.Fragment,{...r!==null?{className:t}:{},children:s?(0,re.jsx)(pt,{...e}):(0,re.jsx)(dt,{...e})})};var ut=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:s,staticImage:o}=e;return(0,re.jsx)("div",{className:i("h-full ",{container:r},t),children:(0,re.jsx)(me,{imgClassName:i("rounded-[0.8rem]",a),className:"flex justify-center",resource:s,src:o})})};var gt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:s,staticImage:o}=e;return(0,re.jsx)("div",{className:i("",{container:r},t),children:(0,re.jsx)(me,{imgClassName:i("rounded-[0.8rem]",a),resource:s,src:o})})};var Be=({type:e="solid",iconName:t="cloud",size:r="lg",className:a})=>{let s=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,l=a??"",n=s+o+" fa-"+r+" "+l;return(0,re.jsx)("i",{className:n})};var yt=Y(require("next/image"));function bt(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function Te({image:e,icon:t,title:r,subtitle:a,content:s,statistic:o,settings:l,link:n,className:c}){let p={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:"bg-background"},m={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,re.jsxs)("a",{href:n?.url||"#",className:i("min-w-56 max-w-xl h-full flex flex-col group bg-background",e?"p-0":"p-6 md:p-8",l&&!e&&p[l?.card==="default"?"solid":l?.card],e&&"bg-foreground",l&&l?.card==="outline"?"text-gray-900":"text-white",m[l?.width??"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",l&&`intersect:animate-delay-${l.order||1}00`,c),children:[e&&(0,re.jsx)("div",{className:"relative aspect-[16/9] w-full",children:(0,re.jsx)(yt.default,{src:e.url||"/placeholder.svg",alt:e.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),(0,re.jsxs)("div",{className:i(e?"p-6 md:p-8":"p-0","flex flex-col flex-grow"),children:[(0,re.jsxs)("div",{className:"flex flex-col flex-grow",children:[a&&(0,re.jsx)("div",{className:"text-primary uppercase text-sm font-light mb-4",children:a}),(0,re.jsx)("div",{className:"flex items-start gap-4 mb-4",children:(0,re.jsx)(pr,{icon:{type:t?.type||"fa-light",iconName:t?.icon||"no-icon-error"},heading:r??"",variant:l?.card==="default"?"solid":l?.card??"solid",iconSize:l?.iconSize||"large"})}),s&&typeof s=="object"&&(0,re.jsx)(T,{enableGutter:!1,content:s,enableProse:!1,className:i("prose-sm prose-p:text-lg prose-headings:text-xl","space-re-3",l?.card==="outline"||l?.card==="light"?"prose-headings:text-foreground prose-p:text-foreground prose-a:text-foreground":"prose-headings:text-white prose-p:text-gray-100 prose-a:text-gray-100",e&&"prose-headings:text-background prose-p:text-background")}),s&&typeof s=="string"&&(0,re.jsx)("div",{className:i("prose-sm prose-p:text-lg prose-headings:text-xl","space-re-3",l?.card==="outline"||l?.card==="light"?"prose text-foreground":"prose text-gray-100",e&&"prose text-background"),children:s})]}),n&&n.url&&(0,re.jsx)("div",{className:"tt-6",children:(0,re.jsx)("span",{className:"text-accent font-semibold uppercase text-sm block hover:text-accent/80 transition-colors",children:n?.label||"Find out more"})})]})]})}var pr=({icon:e,heading:t,variant:r,iconSize:a,subtitle:s})=>e&&a==="small"&&e.iconName!="no-icon-error"?(0,re.jsxs)("div",{className:"flex items-start justify-between w-full mb-2",children:[(0,re.jsx)("div",{className:i(r==="outline"||r==="light"?"text-primary":"text-white",a==="small"?"text-2xl":"text-3xl"),children:t}),bt(e)&&(0,re.jsx)("div",{className:i("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-primary":"text-white",a==="small"?"-mr-2 ml-1 tt-1":""),children:(0,re.jsx)(Be,{type:e.type,iconName:e.iconName,size:"2x"})})]}):e&&e.iconName!="no-icon-error"?(0,re.jsxs)("div",{className:"flex flex-col gap-4",children:[bt(e)&&(0,re.jsx)("div",{className:i("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-accent":""),children:(0,re.jsx)(Be,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,re.jsx)("h3",{className:i("font-normal",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl text-white"),children:t})]}):(0,re.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,re.jsx)("div",{className:i("font-regular",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var ht=({title:e,description:t,features:r,id:a,nested:s=!1})=>(0,re.jsxs)("section",{className:i(s?"w-full":"",""),children:[(0,re.jsxs)("div",{className:"prose prose:max-w-none",children:[e&&(0,re.jsx)("h2",{className:"mb-6 tt-0 text-primary",id:a||"",children:e}),t&&typeof t=="string"&&(0,re.jsx)("p",{className:"mb-5 text-foreground",children:t}),t&&typeof t=="object"&&(0,re.jsx)("div",{className:"mb-5 text-foreground",children:(0,re.jsx)(T,{content:t,enableGutter:!1})})]}),(0,re.jsx)("div",{className:`grid gap-6 tt-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,l)=>{let n=()=>{if(o.icon&&"type"in o.icon&&o.icon.type!=="none")return{type:o.icon.type,icon:o.icon.icon}};return(0,re.jsx)(Te,{title:o.title||"",content:o.content||void 0,statistic:o.statistic||void 0,settings:{...o.settings,width:"auto",order:l},link:o.link?{...o.link,label:"Learn more"}:void 0,icon:n()??{type:"none",icon:null}},l)})})]});var ue=Y(require("react"));function W({nodes:e}){return(0,re.jsx)(ue.Fragment,{children:e?.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,re.jsx)(ue.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,re.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,re.jsx)("em",{children:o},r)),t.format&4&&(o=(0,re.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,re.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,re.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,re.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,re.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,re.jsx)("table",{children:(0,re.jsx)("tbody",{children:t.children.map((o,l)=>(0,re.jsx)("tr",{children:o.children.map((n,c)=>(0,re.jsx)("td",{children:W({nodes:n.children})},c))},l))})},r);let a=o=>{if(o.children==null)return null;if(o?.type==="list"&&o?.listType==="check")for(let l of o.children)"checked"in l&&(l?.checked||(l.checked=!1));return W({nodes:o.children})},s="children"in t?a(t):"";if(t.type==="block"){let o=t.fields,l=o?.blockType;if(!o||!l)return null;switch(l){case"cta":return(0,re.jsx)(rt,{...o},r);case"mediaBlock":return(0,re.jsx)(ut,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,re.jsx)(gt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,re.jsx)(Je,{className:"col-start-2 mb-4",...o},r);case"code":return(0,re.jsx)(lt,{className:"col-start-2",...o},r);case"features":return(0,re.jsx)(ht,{...o,nested:!0},r);case"reusableContentBlock":W({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,re.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,re.jsx)("p",{className:"col-start-2",children:s},r);case"heading":{let o=t?.tag;return(0,re.jsx)(o,{className:"col-start-2",id:t?.id||"",children:s},r)}case"list":{let o=t?.tag;return(0,re.jsx)(o,{className:"list col-start-2",children:s},r)}case"listitem":return t?.checked!=null?(0,re.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t?.value,children:s},r):(0,re.jsx)("li",{value:t?.value,children:s},r);case"quote":return(0,re.jsx)("blockquote",{className:"col-start-2",children:s},r);case"link":{let o=t.fields;return(0,re.jsx)(D,{newTab:!!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,re.jsx)(D,{newTab:!!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})=>t?(0,re.jsx)("div",{className:i({"container ":r,"max-w-none":!r,"mx-auto prose":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&W({nodes:t?.root?.children})}):null;var mr=e=>{let{columns:t,theme:r}=e,a={full:"12",half:"6",oneThird:"4",twoThirds:"8"},s={none:"",line:"border border-primary p-4 rounded-lg",collapsable:""},o=n=>{if(n.type&&n.type==="block"&&n.fields&&(n.fields.blockType==="imageBlock"||n.fields.blockType==="mediaBlock"))return!0;if(n.root&&n.root.children){for(let c of n.root.children)if(o(c))return!0}if(n.children){for(let c of n.children)if(o(c))return!0}return!1},l=(n,c,p)=>{if(console.log("separateH2 called with theme:",c,"size:",p),c==="none"||p==="full"&&c!=="collapsable")return{processedRichText:n,heading:null};let m=n,f=null;return n&&n.root&&n.root.children&&n.root.children[0].tag==="h2"&&(m={...n,root:{...n.root,children:n.root.children.slice(1)}},f=n.root.children[0]),{processedRichText:m,heading:f}};return r?.settings?.box==="collapsable"?(0,re.jsx)("div",{className:"col-span-4 lg:col-span-12 mb-4",children:(0,re.jsx)("div",{className:"tt-4",children:(0,re.jsx)("div",{className:"grid grid-cols-4 lg:grid-cols-12 gap-re-8 gap-re-8",children:t&&t.length>0&&t.map((n,c)=>{let{enableLink:p,link:m,richText:f,size:g}=n,{processedRichText:A,heading:C}=l(f,r?.settings?.box||"none",g||"full");return console.log("heading",C),(0,re.jsx)("div",{className:i(`col-span-4 lg:col-span-${a[g]}`,{"md:col-span-2":g!=="full"},s[!o(f)&&r?.settings?.box||"none"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${c+1}00`),children:(0,re.jsxs)("details",{className:"group",children:[(0,re.jsx)("summary",{className:"cursor-pointer select-none bg-primary text-primary-foreground text-3xl px-4 py-4 rounded-lg",children:C?(0,re.jsx)("span",{className:"bg-primary text-primary-foreground mb-4 px-4 py-2 text-3xl",children:C.children[0].text}):(0,re.jsx)("span",{className:"text-lg font-medium",children:"Expand to view content"})}),(0,re.jsxs)("div",{className:"tt-4",children:[A&&(0,re.jsx)(T,{content:A,enableGutter:!1,className:"rich-text"}),p&&(0,re.jsx)(D,{...m})]})]})},c)})})})}):(0,re.jsx)("div",{className:"my-6",children:(0,re.jsx)("div",{className:i("grid grid-cols-4 lg:grid-cols-12 gap-re-8",r?.settings?.box?"gap-re-8":"gap-re-16"),children:t&&t.length>0&&t.map((n,c)=>{let{enableLink:p,link:m,richText:f,size:g}=n,{processedRichText:A,heading:C}=l(f,r?.settings?.box||"none",g||"full");return(0,re.jsxs)("div",{className:i(`col-span-4 lg:col-span-${a[g]}`,{"md:col-span-2":g!=="full"},s[g!=="full"&&!o(f)&&r?.settings?.box||"none"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${c+1}00`),children:[C&&(0,re.jsx)("div",{className:"bg-primary text-primary-foreground mb-4 -tt-4 -mx-4 px-4 py-2 text-xl",children:C.children[0].text}),A&&(0,re.jsx)(T,{content:A,enableGutter:!1,className:"rich-text"}),p&&(0,re.jsx)(D,{...m})]},c)})})})};0&&(module.exports={ContentBlock});
@@ -1 +1 @@
1
- import{a}from"../../chunk-BMLVEOB3.mjs";import"../../chunk-7RSWNR6N.mjs";import"../../chunk-2QZUKVBA.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-SRUG246N.mjs";import"../../chunk-4CU7D3X2.mjs";import"../../chunk-JYL3XIJX.mjs";import"../../chunk-LVK4QE5D.mjs";import"../../chunk-LEC6GEWS.mjs";import"../../chunk-GLKM2IVW.mjs";import"../../chunk-LKGCU7H6.mjs";import"../../chunk-5WV5ZFEP.mjs";import"../../chunk-LF55USCD.mjs";import"../../chunk-UZSBX5GO.mjs";import"../../chunk-VNYUNZ3M.mjs";import"../../chunk-VRE6VCHX.mjs";import"../../chunk-KFCSVEI6.mjs";import"../../chunk-TEB67NCD.mjs";import"../../chunk-LXZAOORS.mjs";import"../../chunk-MGYV46AJ.mjs";import"../../chunk-CGDLOY7W.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-BG7QXNV5.mjs";import"../../chunk-6A3V5BMY.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-QTW33JYG.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as ContentBlock};
1
+ import{a}from"../../chunk-FYYRZXBK.mjs";import"../../chunk-JWS4N2JB.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-2QZUKVBA.mjs";import"../../chunk-TXVA6XJT.mjs";import"../../chunk-JYL3XIJX.mjs";import"../../chunk-4CU7D3X2.mjs";import"../../chunk-LVK4QE5D.mjs";import"../../chunk-LEC6GEWS.mjs";import"../../chunk-GLKM2IVW.mjs";import"../../chunk-LKGCU7H6.mjs";import"../../chunk-5WV5ZFEP.mjs";import"../../chunk-LF55USCD.mjs";import"../../chunk-X3JZSN3W.mjs";import"../../chunk-XGIYNUGC.mjs";import"../../chunk-2BR55L74.mjs";import"../../chunk-TEB67NCD.mjs";import"../../chunk-KFCSVEI6.mjs";import"../../chunk-LXZAOORS.mjs";import"../../chunk-MGYV46AJ.mjs";import"../../chunk-CGDLOY7W.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-BG7QXNV5.mjs";import"../../chunk-6A3V5BMY.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-QTW33JYG.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as ContentBlock};
@@ -1 +1 @@
1
- import{d as a}from"../../chunk-7RSWNR6N.mjs";import"../../chunk-2QZUKVBA.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-SRUG246N.mjs";import"../../chunk-4CU7D3X2.mjs";import"../../chunk-JYL3XIJX.mjs";import"../../chunk-LVK4QE5D.mjs";import"../../chunk-LEC6GEWS.mjs";import"../../chunk-GLKM2IVW.mjs";import"../../chunk-LKGCU7H6.mjs";import"../../chunk-5WV5ZFEP.mjs";import"../../chunk-LF55USCD.mjs";import"../../chunk-UZSBX5GO.mjs";import"../../chunk-VNYUNZ3M.mjs";import"../../chunk-VRE6VCHX.mjs";import"../../chunk-KFCSVEI6.mjs";import"../../chunk-TEB67NCD.mjs";import"../../chunk-LXZAOORS.mjs";import"../../chunk-MGYV46AJ.mjs";import"../../chunk-CGDLOY7W.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-BG7QXNV5.mjs";import"../../chunk-6A3V5BMY.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-QTW33JYG.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as FeaturesBlock};
1
+ import{d as a}from"../../chunk-JWS4N2JB.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-2QZUKVBA.mjs";import"../../chunk-TXVA6XJT.mjs";import"../../chunk-JYL3XIJX.mjs";import"../../chunk-4CU7D3X2.mjs";import"../../chunk-LVK4QE5D.mjs";import"../../chunk-LEC6GEWS.mjs";import"../../chunk-GLKM2IVW.mjs";import"../../chunk-LKGCU7H6.mjs";import"../../chunk-5WV5ZFEP.mjs";import"../../chunk-LF55USCD.mjs";import"../../chunk-X3JZSN3W.mjs";import"../../chunk-XGIYNUGC.mjs";import"../../chunk-2BR55L74.mjs";import"../../chunk-TEB67NCD.mjs";import"../../chunk-KFCSVEI6.mjs";import"../../chunk-LXZAOORS.mjs";import"../../chunk-MGYV46AJ.mjs";import"../../chunk-CGDLOY7W.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-BG7QXNV5.mjs";import"../../chunk-6A3V5BMY.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-QTW33JYG.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as FeaturesBlock};
@@ -1 +1 @@
1
- import{a}from"../../chunk-VNYUNZ3M.mjs";import"../../chunk-VRE6VCHX.mjs";import"../../chunk-KFCSVEI6.mjs";import"../../chunk-TEB67NCD.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as ImageBlock};
1
+ import{a}from"../../chunk-XGIYNUGC.mjs";import"../../chunk-2BR55L74.mjs";import"../../chunk-TEB67NCD.mjs";import"../../chunk-KFCSVEI6.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as ImageBlock};
@@ -1 +1 @@
1
- import{a}from"../../chunk-UZSBX5GO.mjs";import"../../chunk-VRE6VCHX.mjs";import"../../chunk-KFCSVEI6.mjs";import"../../chunk-TEB67NCD.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as MediaBlock};
1
+ import{a}from"../../chunk-X3JZSN3W.mjs";import"../../chunk-2BR55L74.mjs";import"../../chunk-TEB67NCD.mjs";import"../../chunk-KFCSVEI6.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as MediaBlock};
@@ -1 +1 @@
1
- import{a}from"../../chunk-EKPZXJEQ.mjs";import"../../chunk-T5HJS6OF.mjs";import"../../chunk-RYZTCMVC.mjs";import"../../chunk-7RSWNR6N.mjs";import"../../chunk-2QZUKVBA.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-SRUG246N.mjs";import"../../chunk-4CU7D3X2.mjs";import"../../chunk-JYL3XIJX.mjs";import"../../chunk-LVK4QE5D.mjs";import"../../chunk-LEC6GEWS.mjs";import"../../chunk-GLKM2IVW.mjs";import"../../chunk-LKGCU7H6.mjs";import"../../chunk-5WV5ZFEP.mjs";import"../../chunk-LF55USCD.mjs";import"../../chunk-UZSBX5GO.mjs";import"../../chunk-VNYUNZ3M.mjs";import"../../chunk-VRE6VCHX.mjs";import"../../chunk-KFCSVEI6.mjs";import"../../chunk-TEB67NCD.mjs";import"../../chunk-LXZAOORS.mjs";import"../../chunk-MGYV46AJ.mjs";import"../../chunk-CGDLOY7W.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-BG7QXNV5.mjs";import"../../chunk-6A3V5BMY.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-QTW33JYG.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as RelatedPosts};
1
+ import{a}from"../../chunk-4EQSCHSF.mjs";import"../../chunk-RSDUFAIB.mjs";import"../../chunk-RYZTCMVC.mjs";import"../../chunk-JWS4N2JB.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-2QZUKVBA.mjs";import"../../chunk-TXVA6XJT.mjs";import"../../chunk-JYL3XIJX.mjs";import"../../chunk-4CU7D3X2.mjs";import"../../chunk-LVK4QE5D.mjs";import"../../chunk-LEC6GEWS.mjs";import"../../chunk-GLKM2IVW.mjs";import"../../chunk-LKGCU7H6.mjs";import"../../chunk-5WV5ZFEP.mjs";import"../../chunk-LF55USCD.mjs";import"../../chunk-X3JZSN3W.mjs";import"../../chunk-XGIYNUGC.mjs";import"../../chunk-2BR55L74.mjs";import"../../chunk-TEB67NCD.mjs";import"../../chunk-KFCSVEI6.mjs";import"../../chunk-LXZAOORS.mjs";import"../../chunk-MGYV46AJ.mjs";import"../../chunk-CGDLOY7W.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-BG7QXNV5.mjs";import"../../chunk-6A3V5BMY.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-QTW33JYG.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as RelatedPosts};