cortex-react-components 1.55.5 → 1.56.1

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 (205) hide show
  1. package/dist/{chunk-KERNAICH.mjs → chunk-3KF3RVWX.mjs} +1 -1
  2. package/dist/{chunk-AOWDLX6I.mjs → chunk-4WZTO2ZR.mjs} +1 -1
  3. package/dist/{chunk-HMOEAXGJ.mjs → chunk-55QIP3TP.mjs} +1 -1
  4. package/dist/{chunk-D7A7EUEW.mjs → chunk-5MZPZWUU.mjs} +1 -1
  5. package/dist/{chunk-GHWZZAOE.mjs → chunk-7F7S63JI.mjs} +1 -1
  6. package/dist/{chunk-CSNKYRV5.mjs → chunk-7XB4Y3U2.mjs} +1 -1
  7. package/dist/{chunk-UUVM6BMY.mjs → chunk-AVJT4UGJ.mjs} +1 -1
  8. package/dist/chunk-BZL64Q7H.mjs +4 -0
  9. package/dist/{chunk-Y2EZ27IZ.mjs → chunk-CXQRNOSF.mjs} +1 -1
  10. package/dist/{chunk-37QDUTV3.mjs → chunk-E5KP7CNY.mjs} +1 -1
  11. package/dist/{chunk-IAXO6JAE.mjs → chunk-F3T5Y252.mjs} +1 -1
  12. package/dist/{chunk-RQ23CZK5.mjs → chunk-F55C2C5H.mjs} +1 -1
  13. package/dist/{chunk-IC3VQFYT.mjs → chunk-GEIWTB5J.mjs} +1 -1
  14. package/dist/{chunk-5YMLNSFW.mjs → chunk-GEUGC2OO.mjs} +1 -1
  15. package/dist/{chunk-DWNVKANO.mjs → chunk-GZN4EKV3.mjs} +1 -1
  16. package/dist/{chunk-3SM2M4FI.mjs → chunk-HFSODCS3.mjs} +1 -1
  17. package/dist/{chunk-CIOQJPVO.mjs → chunk-I6LTSJ42.mjs} +1 -1
  18. package/dist/{chunk-YFQ3OKVI.mjs → chunk-JFSDQVSM.mjs} +1 -1
  19. package/dist/{chunk-S7I4XJS6.mjs → chunk-KLCZHZKQ.mjs} +1 -1
  20. package/dist/{chunk-AZDOLWBF.mjs → chunk-LXNMVBBN.mjs} +1 -1
  21. package/dist/{chunk-6KBH34LQ.mjs → chunk-OIOU57SA.mjs} +1 -1
  22. package/dist/{chunk-HHPCESGS.mjs → chunk-PAD57NB3.mjs} +1 -1
  23. package/dist/chunk-PKS4USIV.mjs +1 -0
  24. package/dist/{chunk-KRG7X4TK.mjs → chunk-R5RMSELA.mjs} +1 -1
  25. package/dist/{chunk-BAUUQRVM.mjs → chunk-SVJCBR6O.mjs} +1 -1
  26. package/dist/{chunk-PZ23H656.mjs → chunk-UFBMHFLY.mjs} +1 -1
  27. package/dist/{chunk-BHIT4BC3.mjs → chunk-UITUJ54J.mjs} +1 -1
  28. package/dist/{chunk-PN4MU2NX.mjs → chunk-VDDV2Y4U.mjs} +1 -1
  29. package/dist/{chunk-VOWEZOIZ.mjs → chunk-VIUIIZ3L.mjs} +1 -1
  30. package/dist/{chunk-QP5BC6S5.mjs → chunk-WO2JJOVE.mjs} +1 -1
  31. package/dist/chunk-XJF3K46N.mjs +1 -0
  32. package/dist/{chunk-TZE7RZAV.mjs → chunk-XWYK6BVD.mjs} +1 -1
  33. package/dist/components/Blocks/Banner.js +1 -1
  34. package/dist/components/Blocks/Banner.mjs +1 -1
  35. package/dist/components/Blocks/CallToAction.js +1 -1
  36. package/dist/components/Blocks/CallToAction.mjs +1 -1
  37. package/dist/components/Blocks/CallToAction.stories.js +1 -1
  38. package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
  39. package/dist/components/Blocks/CollapsibleArea.d.ts +3 -0
  40. package/dist/components/Blocks/CollapsibleArea.js +4 -0
  41. package/dist/components/Blocks/CollapsibleArea.mjs +2 -0
  42. package/dist/components/Blocks/CollapsibleArea.stories.js +4 -0
  43. package/dist/components/Blocks/{CollapableArea.stories.mjs → CollapsibleArea.stories.mjs} +1 -1
  44. package/dist/components/Blocks/Content.js +1 -1
  45. package/dist/components/Blocks/Content.mjs +1 -1
  46. package/dist/components/Blocks/Content.stories.js +1 -1
  47. package/dist/components/Blocks/Content.stories.mjs +1 -1
  48. package/dist/components/Blocks/FeaturesBlock.js +1 -1
  49. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  50. package/dist/components/Blocks/FeaturesBlock.stories.js +1 -1
  51. package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
  52. package/dist/components/Blocks/RelatedPosts.js +1 -1
  53. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  54. package/dist/components/Blocks/RenderBlocks.js +1 -1
  55. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  56. package/dist/components/Blocks/ReusableContentBlock.js +1 -1
  57. package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
  58. package/dist/components/Blocks/index.js +1 -1
  59. package/dist/components/Blocks/index.mjs +1 -1
  60. package/dist/components/Cards/ContentCard.js +1 -1
  61. package/dist/components/Cards/ContentCard.mjs +1 -1
  62. package/dist/components/Cards/ContentCard.stories.js +1 -1
  63. package/dist/components/Cards/ContentCard.stories.mjs +1 -1
  64. package/dist/components/Cards/FeatureCard.js +1 -1
  65. package/dist/components/Cards/FeatureCard.mjs +1 -1
  66. package/dist/components/Cards/FeatureCard.stories.js +1 -1
  67. package/dist/components/Cards/FeatureCard.stories.mjs +1 -1
  68. package/dist/components/Cards/index.js +4 -4
  69. package/dist/components/Cards/index.mjs +1 -1
  70. package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
  71. package/dist/components/DigitalColleagues/MainPage.stories.mjs +1 -1
  72. package/dist/components/HeaderFooter/Header.mjs +1 -1
  73. package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
  74. package/dist/components/HeaderFooter/HeaderDesktop.stories.mjs +1 -1
  75. package/dist/components/HeaderFooter/HeaderMobile.stories.mjs +1 -1
  76. package/dist/components/HeaderFooter/SectionHeading.js +1 -1
  77. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  78. package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
  79. package/dist/components/HeaderFooter/index.mjs +1 -1
  80. package/dist/components/Heros/HighImpact/index.js +1 -1
  81. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  82. package/dist/components/Heros/LowImpact/index.js +1 -1
  83. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  84. package/dist/components/Heros/MediumImpact/index.js +1 -1
  85. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  86. package/dist/components/Heros/PostHero/index.mjs +1 -1
  87. package/dist/components/Heros/RenderHero.js +1 -1
  88. package/dist/components/Heros/RenderHero.mjs +1 -1
  89. package/dist/components/Heros/SectionHero/index.mjs +1 -1
  90. package/dist/components/Heros/index.js +1 -1
  91. package/dist/components/Heros/index.mjs +1 -1
  92. package/dist/components/Holidays/HolidayTracker.mjs +1 -1
  93. package/dist/components/Holidays/HolidayTracker.stories.mjs +1 -1
  94. package/dist/components/Holidays/index.mjs +1 -1
  95. package/dist/components/Layouts/FeatureGrid.stories.js +1 -1
  96. package/dist/components/Layouts/FeatureGrid.stories.mjs +1 -1
  97. package/dist/components/Layouts/OutputHeaderFooter.js +2 -2
  98. package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
  99. package/dist/components/Layouts/Print.js +2 -2
  100. package/dist/components/Layouts/Print.mjs +1 -1
  101. package/dist/components/Layouts/Print.stories.js +1 -1
  102. package/dist/components/Layouts/Print.stories.mjs +1 -1
  103. package/dist/components/Layouts/SlideShow.js +3 -3
  104. package/dist/components/Layouts/SlideShow.mjs +1 -1
  105. package/dist/components/Layouts/SlideShow.stories.js +3 -3
  106. package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
  107. package/dist/components/Layouts/index.js +5 -5
  108. package/dist/components/Layouts/index.mjs +1 -1
  109. package/dist/components/Menus/index.mjs +1 -1
  110. package/dist/components/Other/index.mjs +1 -1
  111. package/dist/components/Payload/RichText/index.js +1 -1
  112. package/dist/components/Payload/RichText/index.mjs +1 -1
  113. package/dist/components/Payload/RichText/serialize.js +1 -1
  114. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  115. package/dist/components/Payload/RichText.stories.js +1 -1
  116. package/dist/components/Payload/RichText.stories.mjs +1 -1
  117. package/dist/components/Payload/index.js +1 -1
  118. package/dist/components/Payload/index.mjs +1 -1
  119. package/dist/components/index.js +7 -7
  120. package/dist/components/index.mjs +1 -1
  121. package/dist/components/ui/index.mjs +1 -1
  122. package/dist/index.js +11 -11
  123. package/dist/index.mjs +1 -1
  124. package/dist/metafile-cjs.json +1 -1
  125. package/dist/metafile-esm.json +1 -1
  126. package/dist/pages/Blog.js +1 -1
  127. package/dist/pages/Blog.mjs +1 -1
  128. package/dist/pages/Blog.stories.js +1 -1
  129. package/dist/pages/Blog.stories.mjs +1 -1
  130. package/dist/pages/Documentation.mjs +1 -1
  131. package/dist/pages/Documentation.stories.mjs +1 -1
  132. package/dist/pages/IndexPage.mjs +1 -1
  133. package/dist/pages/IndexPage.stories.mjs +1 -1
  134. package/dist/pages/Intranet.mjs +1 -1
  135. package/dist/pages/Intranet.stories.mjs +1 -1
  136. package/dist/pages/LandingPage.js +3 -3
  137. package/dist/pages/LandingPage.mjs +1 -1
  138. package/dist/pages/LandingPage.stories.js +3 -3
  139. package/dist/pages/LandingPage.stories.mjs +1 -1
  140. package/dist/pages/Page.js +1 -1
  141. package/dist/pages/Page.mjs +1 -1
  142. package/dist/pages/Page.stories.js +189 -189
  143. package/dist/pages/Page.stories.mjs +1 -1
  144. package/dist/pages/Printable.stories.js +4 -4
  145. package/dist/pages/Printable.stories.mjs +1 -1
  146. package/dist/pages/Publish.js +5 -5
  147. package/dist/pages/Publish.mjs +1 -1
  148. package/dist/pages/Publish.stories.js +4 -4
  149. package/dist/pages/Publish.stories.mjs +1 -1
  150. package/dist/pages/Website.js +1 -1
  151. package/dist/pages/Website.mjs +1 -1
  152. package/dist/pages/Website.stories.js +1 -1
  153. package/dist/pages/Website.stories.mjs +1 -1
  154. package/dist/payload-types.d.ts +13 -12
  155. package/dist/sections/AboutSection.js +1 -1
  156. package/dist/sections/AboutSection.mjs +1 -1
  157. package/dist/sections/AboutSection.stories.js +1 -1
  158. package/dist/sections/AboutSection.stories.mjs +1 -1
  159. package/dist/sections/BlogDetail.js +1 -1
  160. package/dist/sections/BlogDetail.mjs +1 -1
  161. package/dist/sections/BlogDetail.stories.js +1 -1
  162. package/dist/sections/BlogDetail.stories.mjs +1 -1
  163. package/dist/sections/BlogList.js +3 -3
  164. package/dist/sections/BlogList.mjs +1 -1
  165. package/dist/sections/BlogList.stories.js +3 -3
  166. package/dist/sections/BlogList.stories.mjs +1 -1
  167. package/dist/sections/BlogListSection.mjs +1 -1
  168. package/dist/sections/BlogListSection.stories.mjs +1 -1
  169. package/dist/sections/ContactSection.js +1 -1
  170. package/dist/sections/ContactSection.mjs +1 -1
  171. package/dist/sections/ContactSection.stories.js +1 -1
  172. package/dist/sections/ContactSection.stories.mjs +1 -1
  173. package/dist/sections/ImageSection.stories.js +1 -1
  174. package/dist/sections/ImageSection.stories.mjs +1 -1
  175. package/dist/sections/PageSections.js +3 -3
  176. package/dist/sections/PageSections.mjs +1 -1
  177. package/dist/sections/PageSections.stories.js +3 -3
  178. package/dist/sections/PageSections.stories.mjs +1 -1
  179. package/dist/sections/PricingSection.js +1 -1
  180. package/dist/sections/PricingSection.mjs +1 -1
  181. package/dist/sections/PricingSection.stories.js +1 -1
  182. package/dist/sections/PricingSection.stories.mjs +1 -1
  183. package/dist/sections/ServiceDetailList.js +1 -1
  184. package/dist/sections/ServiceDetailList.mjs +1 -1
  185. package/dist/sections/ServiceDetailSection.js +1 -1
  186. package/dist/sections/ServiceDetailSection.mjs +1 -1
  187. package/dist/sections/ServiceDetailSection.stories.js +1 -1
  188. package/dist/sections/ServiceDetailSection.stories.mjs +1 -1
  189. package/dist/sections/ServiceSection.js +1 -1
  190. package/dist/sections/ServiceSection.mjs +1 -1
  191. package/dist/sections/ServiceSection.stories.js +1 -1
  192. package/dist/sections/ServiceSection.stories.mjs +1 -1
  193. package/dist/sections/form/index.mjs +1 -1
  194. package/dist/sections/index.js +3 -3
  195. package/dist/sections/index.mjs +1 -1
  196. package/package.json +1 -1
  197. package/dist/chunk-25HHS5PQ.mjs +0 -1
  198. package/dist/chunk-MLA2WBXX.mjs +0 -1
  199. package/dist/chunk-XHIPA45Q.mjs +0 -1
  200. package/dist/components/Blocks/CollapableArea.stories.js +0 -4
  201. package/dist/components/Blocks/CollapsableArea.d.ts +0 -3
  202. package/dist/components/Blocks/CollapsableArea.js +0 -4
  203. package/dist/components/Blocks/CollapsableArea.mjs +0 -1
  204. /package/dist/components/Blocks/{CollapableArea.stories.css → CollapsibleArea.css} +0 -0
  205. /package/dist/components/Blocks/{CollapsableArea.css → CollapsibleArea.stories.css} +0 -0
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- "use strict";var st=Object.create;var Y=Object.defineProperty;var at=Object.getOwnPropertyDescriptor;var lt=Object.getOwnPropertyNames;var it=Object.getPrototypeOf,ct=Object.prototype.hasOwnProperty;var dt=(e,t)=>{for(var r in t)Y(e,r,{get:t[r],enumerable:!0})},Ae=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of lt(t))!ct.call(e,s)&&s!==r&&Y(e,s,{get:()=>t[s],enumerable:!(n=at(t,s))||n.enumerable});return e};var X=(e,t,r)=>(r=e!=null?st(it(e)):{},Ae(t||!e||!e.__esModule?Y(r,"default",{value:e,enumerable:!0}):r,e)),pt=e=>Ae(Y({},"__esModule",{value:!0}),e);var Xt={};dt(Xt,{Default:()=>Yt,default:()=>_t});module.exports=pt(Xt);var ze=require("clsx");var ce="-",ut=e=>{let t=gt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:l=>{let a=l.split(ce);return a[0]===""&&a.length!==1&&a.shift(),Re(a,t)||mt(l)},getConflictingClassGroupIds:(l,a)=>{let c=r[l]||[];return a&&n[l]?[...c,...n[l]]:c}}},Re=(e,t)=>{var l;if(e.length===0)return t.classGroupId;let r=e[0],n=t.nextPart.get(r),s=n?Re(e.slice(1),n):void 0;if(s)return s;if(t.validators.length===0)return;let o=e.join(ce);return(l=t.validators.find(({validator:a})=>a(o)))==null?void 0:l.classGroupId},Ne=/^\[(.+)\]$/,mt=e=>{if(Ne.test(e)){let t=Ne.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},gt=e=>{let{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return bt(Object.entries(e.classGroups),r).forEach(([o,l])=>{ie(l,n,o,t)}),n},ie=(e,t,r,n)=>{e.forEach(s=>{if(typeof s=="string"){let o=s===""?t:Pe(t,s);o.classGroupId=r;return}if(typeof s=="function"){if(ft(s)){ie(s(n),t,r,n);return}t.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([o,l])=>{ie(l,Pe(t,o),r,n)})})},Pe=(e,t)=>{let r=e;return t.split(ce).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},ft=e=>e.isThemeGetter,bt=(e,t)=>t?e.map(([r,n])=>{let s=n.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([l,a])=>[t+l,a])):o);return[r,s]}):e,yt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map,s=(o,l)=>{r.set(o,l),t++,t>e&&(t=0,n=r,r=new Map)};return{get(o){let l=r.get(o);if(l!==void 0)return l;if((l=n.get(o))!==void 0)return s(o,l),l},set(o,l){r.has(o)?r.set(o,l):s(o,l)}}},Be="!",ht=e=>{let{separator:t,experimentalParseClassName:r}=e,n=t.length===1,s=t[0],o=t.length,l=a=>{let c=[],p=0,u=0,v;for(let x=0;x<a.length;x++){let w=a[x];if(p===0){if(w===s&&(n||a.slice(x,x+o)===t)){c.push(a.slice(u,x)),u=x+o;continue}if(w==="/"){v=x;continue}}w==="["?p++:w==="]"&&p--}let y=c.length===0?a:a.substring(u),k=y.startsWith(Be),A=k?y.substring(1):y,h=v&&v>u?v-u:void 0;return{modifiers:c,hasImportantModifier:k,baseClassName:A,maybePostfixModifierPosition:h}};return r?a=>r({className:a,parseClassName:l}):l},xt=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(n=>{n[0]==="["?(t.push(...r.sort(),n),r=[]):r.push(n)}),t.push(...r.sort()),t},wt=e=>({cache:yt(e.cacheSize),parseClassName:ht(e),...ut(e)}),vt=/\s+/,kt=(e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:s}=t,o=[],l=e.trim().split(vt),a="";for(let c=l.length-1;c>=0;c-=1){let p=l[c],{modifiers:u,hasImportantModifier:v,baseClassName:y,maybePostfixModifierPosition:k}=r(p),A=!!k,h=n(A?y.substring(0,k):y);if(!h){if(!A){a=p+(a.length>0?" "+a:a);continue}if(h=n(y),!h){a=p+(a.length>0?" "+a:a);continue}A=!1}let x=xt(u).join(":"),w=v?x+Be:x,C=w+h;if(o.includes(C))continue;o.push(C);let S=s(h,A);for(let P=0;P<S.length;++P){let J=S[P];o.push(w+J)}a=p+(a.length>0?" "+a:a)}return a};function Ct(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Te(t))&&(n&&(n+=" "),n+=r);return n}var Te=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=Te(e[n]))&&(r&&(r+=" "),r+=t);return r};function At(e,...t){let r,n,s,o=l;function l(c){let p=t.reduce((u,v)=>v(u),e());return r=wt(p),n=r.cache.get,s=r.cache.set,o=a,a(c)}function a(c){let p=n(c);if(p)return p;let u=kt(c,r);return s(c,u),u}return function(){return o(Ct.apply(null,arguments))}}var g=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Ie=/^\[(?:([a-z-]+):)?(.+)\]$/i,Nt=/^\d+\/\d+$/,Pt=new Set(["px","full","screen"]),Rt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Bt=/\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$/,Tt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,It=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,St=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,B=e=>D(e)||Pt.has(e)||Nt.test(e),M=e=>L(e,"length",Ut),D=e=>!!e&&!Number.isNaN(Number(e)),le=e=>L(e,"number",D),H=e=>!!e&&Number.isInteger(Number(e)),Mt=e=>e.endsWith("%")&&D(e.slice(0,-1)),i=e=>Ie.test(e),z=e=>Rt.test(e),zt=new Set(["length","size","percentage"]),Et=e=>L(e,zt,Se),Ft=e=>L(e,"position",Se),Gt=new Set(["image","url"]),Dt=e=>L(e,Gt,Vt),Lt=e=>L(e,"",Ht),V=()=>!0,L=(e,t,r)=>{let n=Ie.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1},Ut=e=>Bt.test(e)&&!Tt.test(e),Se=()=>!1,Ht=e=>It.test(e),Vt=e=>St.test(e);var jt=()=>{let e=g("colors"),t=g("spacing"),r=g("blur"),n=g("brightness"),s=g("borderColor"),o=g("borderRadius"),l=g("borderSpacing"),a=g("borderWidth"),c=g("contrast"),p=g("grayscale"),u=g("hueRotate"),v=g("invert"),y=g("gap"),k=g("gradientColorStops"),A=g("gradientColorStopPositions"),h=g("inset"),x=g("margin"),w=g("opacity"),C=g("padding"),S=g("saturate"),P=g("scale"),J=g("sepia"),ye=g("skew"),he=g("space"),xe=g("translate"),oe=()=>["auto","contain","none"],ne=()=>["auto","hidden","clip","visible","scroll"],se=()=>["auto",i,t],b=()=>[i,t],we=()=>["",B,M],_=()=>["auto",D,i],ve=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],K=()=>["solid","dashed","dotted","double","none"],ke=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ae=()=>["start","end","center","between","around","evenly","stretch"],U=()=>["","0",i],Ce=()=>["auto","avoid","all","avoid-page","page","left","right","column"],R=()=>[D,i];return{cacheSize:500,separator:":",theme:{colors:[V],spacing:[B,M],blur:["none","",z,i],brightness:R(),borderColor:[e],borderRadius:["none","","full",z,i],borderSpacing:b(),borderWidth:we(),contrast:R(),grayscale:U(),hueRotate:R(),invert:U(),gap:b(),gradientColorStops:[e],gradientColorStopPositions:[Mt,M],inset:se(),margin:se(),opacity:R(),padding:b(),saturate:R(),scale:R(),sepia:U(),skew:R(),space:b(),translate:b()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[z]}],"break-after":[{"break-after":Ce()}],"break-before":[{"break-before":Ce()}],"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:[...ve(),i]}],overflow:[{overflow:ne()}],"overflow-x":[{"overflow-x":ne()}],"overflow-y":[{"overflow-y":ne()}],overscroll:[{overscroll:oe()}],"overscroll-x":[{"overscroll-x":oe()}],"overscroll-y":[{"overscroll-y":oe()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[h]}],"inset-x":[{"inset-x":[h]}],"inset-y":[{"inset-y":[h]}],start:[{start:[h]}],end:[{end:[h]}],top:[{top:[h]}],right:[{right:[h]}],bottom:[{bottom:[h]}],left:[{left:[h]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",H,i]}],basis:[{basis:se()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",i]}],grow:[{grow:U()}],shrink:[{shrink:U()}],order:[{order:["first","last","none",H,i]}],"grid-cols":[{"grid-cols":[V]}],"col-start-end":[{col:["auto",{span:["full",H,i]},i]}],"col-start":[{"col-start":_()}],"col-end":[{"col-end":_()}],"grid-rows":[{"grid-rows":[V]}],"row-start-end":[{row:["auto",{span:[H,i]},i]}],"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",i]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",i]}],gap:[{gap:[y]}],"gap-x":[{"gap-x":[y]}],"gap-y":[{"gap-y":[y]}],"justify-content":[{justify:["normal",...ae()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ae(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ae(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[C]}],px:[{px:[C]}],py:[{py:[C]}],ps:[{ps:[C]}],q:[{q:[C]}],pt:[{pt:[C]}],pr:[{pr:[C]}],pb:[{pb:[C]}],pl:[{pl:[C]}],q:[{q:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],q:[{q:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[he]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[he]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",i,t]}],"min-w":[{"min-w":[i,t,"min","max","fit"]}],"max-w":[{"max-w":[i,t,"none","full","min","max","fit","prose",{screen:[z]},z]}],h:[{h:[i,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,t,"auto","min","max","fit"]}],"font-size":[{text:["base",z,M]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",le]}],"font-family":[{font:[V]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",i]}],"line-clamp":[{"line-clamp":["none",D,le]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",B,i]}],"list-image":[{"list-image":["none",i]}],"list-style-type":[{list:["none","disc","decimal",i]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[w]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[w]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...K(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",B,M]}],"underline-offset":[{"underline-offset":["auto",B,i]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:b()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",i]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",i]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[w]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ve(),Ft]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Et]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Dt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[A]}],"gradient-via-pos":[{via:[A]}],"gradient-to-pos":[{to:[A]}],"gradient-from":[{from:[k]}],"gradient-via":[{via:[k]}],"gradient-to":[{to:[k]}],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:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[w]}],"border-style":[{border:[...K(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[w]}],"divide-style":[{divide:K()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...K()]}],"outline-offset":[{"outline-offset":[B,i]}],"outline-w":[{outline:[B,M]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:we()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[w]}],"ring-offset-w":[{"ring-offset":[B,M]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",z,Lt]}],"shadow-color":[{shadow:[V]}],opacity:[{opacity:[w]}],"mix-blend":[{"mix-blend":[...ke(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ke()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",z,i]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[v]}],saturate:[{saturate:[S]}],sepia:[{sepia:[J]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[v]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[S]}],"backdrop-sepia":[{"backdrop-sepia":[J]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",i]}],duration:[{duration:R()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:R()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[P]}],"scale-x":[{"scale-x":[P]}],"scale-y":[{"scale-y":[P]}],rotate:[{rotate:[H,i]}],"translate-x":[{"translate-x":[xe]}],"translate-y":[{"translate-y":[xe]}],"skew-x":[{"skew-x":[ye]}],"skew-y":[{"skew-y":[ye]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",i]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",i]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-q":[{"scroll-q":b()}],"scroll-mx":[{"scroll-mx":b()}],"scroll-my":[{"scroll-my":b()}],"scroll-ms":[{"scroll-ms":b()}],"scroll-q":[{"scroll-q":b()}],"scroll-mt":[{"scroll-mt":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-q":[{"scroll-q":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","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",i]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[B,M,le]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","q","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],q:["mx","my","ms","q","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-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-y":["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-y":["border-color-t","border-color-b"],"scroll-q":["scroll-mx","scroll-my","scroll-ms","scroll-q","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-q","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Me=At(jt);function d(...e){return Me((0,ze.clsx)(e))}var q=require("react/jsx-runtime"),Ee=({className:e,content:t,style:r})=>(0,q.jsx)("div",{className:d("mx-auto my-8 w-full",e),children:(0,q.jsx)("div",{className:d("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,q.jsx)(N,{content:t,enableGutter:!1,enableProse:!1})})});var Fe=require("@radix-ui/react-slot"),Ge=require("class-variance-authority"),De=X(require("react")),Ot=(0,Ge.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-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),F=De.forwardRef(({asChild:e=!1,className:t,size:r,variant:n,...s},o)=>(0,q.jsx)(e?Fe.Slot:"button",{className:d(Ot({className:t,size:r,variant:n})),ref:o,...s}));F.displayName="Button";var de=X(require("next/link")),O=e=>{let{type:t,appearance:r="inline",children:n,className:s,label:o,newTab:l,reference:a,size:c,url:p}=e,u=t==="reference"&&typeof(a==null?void 0:a.value)=="object"&&a.value.slug?`${(a==null?void 0:a.relationTo)!=="pages"?`/${a==null?void 0:a.relationTo}`:""}/${a.value.slug}`:p;if(!u)return null;let v=r==="link"?"clear":c,y=l?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,q.jsxs)(de.default,{className:d(s),href:u||p||"",...y,children:[o&&o,n&&n]}):(0,q.jsx)(F,{asChild:!0,className:s,size:v,variant:r,children:(0,q.jsxs)(de.default,{className:d(s),href:u||p||"",...y,children:[o&&o,n&&n]})})};var Ue=({links:e,richText:t})=>(0,q.jsx)("div",{className:"container",children:(0,q.jsxs)("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,q.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,q.jsx)(N,{className:"mb-0",content:t,enableGutter:!1})}),(0,q.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},n)=>(0,q.jsx)(O,{size:"lg",...r},n))})]})});var W=require("prism-react-renderer");var He=require("lucide-react"),Ve=require("react");function je({code:e}){let[t,r]=(0,Ve.useState)("Copy");function n(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,q.jsx)("div",{className:"flex justify-end align-middle",children:(0,q.jsxs)(F,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),n()},children:[(0,q.jsx)("p",{children:t}),(0,q.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,q.jsx)(He.ClipboardCopy,{})})]})})}var Oe=({code:e,language:t=""})=>e?(0,q.jsx)(W.Highlight,{code:e,language:t,theme:W.themes.vsDark,children:({getLineProps:r,getTokenProps:n,tokens:s})=>(0,q.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[s.map((o,l)=>(0,q.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,q.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:l+1}),(0,q.jsx)("span",{className:"table-cell pl-4",children:o.map((a,c)=>(0,q.jsx)("span",{...n({token:a})},c))})]},l)),(0,q.jsx)(je,{code:e})]})}):null;var Qe=({className:e,code:t,language:r})=>(0,q.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,q.jsx)(Oe,{code:t,language:r})});var _e=X(require("next/image")),Qt={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Je="data:image/png;base64,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",Ke=e=>{let{alt:t,fill:r,imgClassName:n,priority:s,resource:o,size:l,src:a,loading:c}=e,p,u,v=t,y=a||"";if(!y&&o&&typeof o=="object"){let{alt:h,filename:x,height:w,url:C,width:S}=o;if(w&&w>500){let P=500/w;p=S*P,u=w*P}else p=S,u=w;v=h||"",y=C||Je}let k=c||"lazy",A=l||Object.entries(Qt).map(([,h])=>`(max-width: ${h}px) ${h*2}w`).join(", ");return(0,q.jsx)("picture",{children:(0,q.jsx)(_e.default,{alt:v||"",className:d(n),fill:r,height:r?void 0:u,placeholder:"blur",blurDataURL:Je,priority:k!=="lazy"&&s,quality:100,loading:k,sizes:A,src:y,width:r?void 0:p})})};var Ye=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Xe=()=>{if(Ye){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var qe=e=>{let{onClick:t,resource:r,videoClassName:n}=e,s=(0,Ve.useRef)(null);if((0,Ve.useEffect)(()=>{let{current:o}=s;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,q.jsx)("video",{autoPlay:!0,className:d(n),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:s,children:(0,q.jsx)("source",{src:`${Xe()}/media/${o}`})})}return null};var ee=e=>{var l;let{className:t,htmlElement:r="div",resource:n}=e,s=typeof n=="object"&&((l=n==null?void 0:n.mimeType)==null?void 0:l.includes("video"));return(0,$.jsx)(r||Ve.Fragment,{...r!==null?{className:t}:{},children:s?(0,$.jsx)(qe,{...e}):(0,$.jsx)(Ke,{...e})})};var Ze=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:s,staticImage:o}=e;return(0,q.jsx)("div",{className:d("h-full ",{container:r},t),children:(0,q.jsx)(ee,{imgClassName:d("rounded-[0.8rem]",n),className:"flex justify-center",resource:s,src:o})})};var $e=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:s,staticImage:o}=e;return(0,q.jsx)("div",{className:d("",{container:r},t),children:(0,q.jsx)(ee,{imgClassName:d("rounded-[0.8rem]",n),resource:s,src:o})})};var be=({type:e="solid",iconName:t="cloud",size:r="lg",className:n})=>{let s=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,l=n!=null?n:"",a=s+o+" fa-"+r+" "+l;return(0,q.jsx)("i",{className:a})};function tt(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function rt({variant:e="outline",className:t,icon:r,iconSize:n="large",width:s="auto",order:o=0,heading:l,subheading:a,content:c,statistic:p,buttonText:u,buttonHref:v}){let y={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:""},k={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,q.jsxs)("div",{className:d("rounded-3xl p-8 md:p-8 min-w-56 flex flex-col group",y[e],e==="outline"?"text-gray-900":"text-white",t,k[s],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${o+1}00`),children:[(0,q.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,q.jsx)(Jt,{icon:r,heading:l,variant:e,iconSize:n})}),p&&(0,q.jsx)("div",{className:"mb-6",children:(0,q.jsx)("div",{className:d("text-4xl text-wrap font-bold leading-none overflow-hidden",e==="outline"||e==="light"?"text-primary":"text-white"),children:p})}),a&&(0,q.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:a}),c&&typeof c=="object"&&(0,q.jsx)("div",{className:d("space-y-6"),children:(0,q.jsx)(N,{enableGutter:!1,content:c,enableProse:!1,className:d(e==="outline"||e==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100")})}),c&&typeof c=="string"&&(0,q.jsx)("div",{className:d("space-y-6",e==="outline"||e==="light"?"text-gray-900":"text-gray-100"),children:c}),u&&(0,q.jsx)("div",{className:"mt-auto pt-6 flex items-center justify-center",children:(0,q.jsx)(F,{size:"lg",className:"text-white text-lg rounded-xl w-full mt-auto items-center justify-center",asChild:!0,children:(0,q.jsx)("a",{href:v,children:u})})}),e==="radial"&&(0,q.jsx)("div",{className:"absolute bottom-0 right-0 w-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})}var Jt=({icon:e,heading:t,variant:r,iconSize:n})=>e&&n==="small"?(0,q.jsxs)("div",{className:"flex items-start gap-4 mb-2",children:[tt(e)&&(0,q.jsx)("div",{className:d("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-primary":"text-white",n==="small"?"mt-2":""),children:(0,q.jsx)(be,{type:e.type,iconName:e.iconName,size:"2x"})}),(0,q.jsx)("div",{className:d("font-semibold",r==="outline"||r==="light"?"text-primary":"text-white",n==="small"?"text-2xl":"text-3xl"),children:t})]}):e?(0,q.jsxs)("div",{className:"flex flex-col gap-4",children:[tt(e)&&(0,q.jsx)("div",{className:d("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-accent":""),children:(0,q.jsx)(be,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,q.jsx)("h3",{className:d("font-semibold",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})]}):(0,q.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,q.jsx)("div",{className:d("font-semibold",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var ot=({title:e,description:t,features:r,id:n,nested:s=!1})=>(0,q.jsxs)("section",{className:d(!s&&"container","w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,q.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl text-primary",id:n||"",children:e}),t&&typeof t=="string"&&(0,q.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:t}),t&&typeof t=="object"&&(0,q.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:(0,q.jsx)(N,{content:t,enableGutter:!1})}),(0,q.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((o,l)=>{var c,p,u,v,y;let a=()=>{if(o.icon&&"type"in o.icon&&o.icon.type!=="none")return{type:o.icon.type,iconName:o.icon.icon}};return(0,q.jsx)(rt,{variant:((c=o.settings)==null?void 0:c.card)==="default"?"light":((p=o.settings)==null?void 0:p.card)||"outline",icon:a()||void 0,iconSize:((u=o.settings)==null?void 0:u.iconSize)||"large",width:"auto",order:l,heading:o.title||"",content:o.content||void 0,statistic:o.statistic||void 0,buttonText:(v=o.link)!=null&&v.url?"Find out more":void 0,buttonHref:((y=o.link)==null?void 0:y.url)||void 0},l)})})]});var te=X(require("react"));function Q({nodes:e}){return(0,q.jsx)(te.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,q.jsx)(te.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,q.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,q.jsx)("em",{children:o},r)),t.format&4&&(o=(0,q.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,q.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,q.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,q.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,q.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,q.jsx)("table",{children:(0,q.jsx)("tbody",{children:t.children.map((o,l)=>(0,q.jsx)("tr",{children:o.children.map((a,c)=>(0,q.jsx)("td",{children:Q({nodes:a.children})},c))},l))})},r);let n=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let l of o.children)"checked"in l&&(l!=null&&l.checked||(l.checked=!1));return Q({nodes:o.children})},s="children"in t?n(t):"";if(t.type==="block"){let o=t.fields,l=o==null?void 0:o.blockType;if(!o||!l)return null;switch(l){case"cta":return(0,q.jsx)(Ue,{...o},r);case"mediaBlock":return(0,q.jsx)(Ze,{className:"col-start-1 col-span-3",imgClassName:"q-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,q.jsx)($e,{className:"col-start-1 col-span-3",imgClassName:"q-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,q.jsx)(Ee,{className:"col-start-2 mb-4",...o},r);case"code":return(0,q.jsx)(Qe,{className:"col-start-2",...o},r);case"features":return(0,q.jsx)(ot,{...o,nested:!0},r);case"reusableContentBlock":Q({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,q.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,q.jsx)("p",{className:"col-start-2",children:s},r);case"heading":{let o=t==null?void 0:t.tag;return(0,q.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:s},r)}case"list":{let o=t==null?void 0:t.tag;return(0,q.jsx)(o,{className:"list col-start-2",children:s},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,q.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:s},r):(0,q.jsx)("li",{value:t==null?void 0:t.value,children:s},r);case"quote":return(0,q.jsx)("blockquote",{className:"col-start-2",children:s},r);case"link":{let o=t.fields;return(0,q.jsx)(O,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}case"autolink":{let o=t.fields;return(0,q.jsx)(O,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}default:return null}})})}var N=({className:e,content:t,enableGutter:r=!0,enableProse:n=!0})=>{var s;return t?(0,q.jsx)("div",{className:d({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":n},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&Q({nodes:(s=t==null?void 0:t.root)==null?void 0:s.children})}):null};var _t={title:"Blocks/RichText",component:N,tags:["autodocs"],decorators:[e=>(0,q.jsx)("div",{className:"bg-white dark:bg-gray-900 p-4",children:(0,q.jsx)(e,{})})]},Kt=e=>(0,q.jsx)(N,{...e}),Yt={render:Kt,args:{content:{root:{children:[{type:"text",text:"This is a regular text."},{type:"text",text:"This is bold text.",format:1},{type:"text",text:"This is italic text.",format:2},{type:"text",text:"This is underline text.",format:4},{type:"text",text:"This is strikethrough text.",format:8},{type:"text",text:"This is subscript text.",format:16},{type:"text",text:"This is superscript text.",format:32},{type:"text",text:"This is code text.",format:64},{type:"table",children:[{type:"tableRow",children:[{type:"tableCell",children:[{type:"text",text:"Cell 1"}]},{type:"tableCell",children:[{type:"text",text:"Cell 2"}]}]},{type:"tableRow",children:[{type:"tableCell",children:[{type:"text",text:"Cell 3"}]},{type:"tableCell",children:[{type:"text",text:"Cell 4"}]}]}]}]}},enableGutter:!0,enableProse:!0}};0&&(module.exports={Default});
4
+ "use strict";var lt=Object.create;var X=Object.defineProperty;var st=Object.getOwnPropertyDescriptor;var it=Object.getOwnPropertyNames;var ct=Object.getPrototypeOf,dt=Object.prototype.hasOwnProperty;var pt=(e,t)=>{for(var r in t)X(e,r,{get:t[r],enumerable:!0})},Ne=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let l of it(t))!dt.call(e,l)&&l!==r&&X(e,l,{get:()=>t[l],enumerable:!(n=st(t,l))||n.enumerable});return e};var U=(e,t,r)=>(r=e!=null?lt(ct(e)):{},Ne(t||!e||!e.__esModule?X(r,"default",{value:e,enumerable:!0}):r,e)),ut=e=>Ne(X({},"__esModule",{value:!0}),e);var qt={};pt(qt,{Default:()=>Xt,default:()=>Kt});module.exports=ut(qt);var Fe=require("clsx");var ce="-",mt=e=>{let t=bt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:a=>{let s=a.split(ce);return s[0]===""&&s.length!==1&&s.shift(),Re(s,t)||ft(a)},getConflictingClassGroupIds:(a,s)=>{let d=r[a]||[];return s&&n[a]?[...d,...n[a]]:d}}},Re=(e,t)=>{var a;if(e.length===0)return t.classGroupId;let r=e[0],n=t.nextPart.get(r),l=n?Re(e.slice(1),n):void 0;if(l)return l;if(t.validators.length===0)return;let o=e.join(ce);return(a=t.validators.find(({validator:s})=>s(o)))==null?void 0:a.classGroupId},Pe=/^\[(.+)\]$/,ft=e=>{if(Pe.test(e)){let t=Pe.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},bt=e=>{let{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return yt(Object.entries(e.classGroups),r).forEach(([o,a])=>{ie(a,n,o,t)}),n},ie=(e,t,r,n)=>{e.forEach(l=>{if(typeof l=="string"){let o=l===""?t:Be(t,l);o.classGroupId=r;return}if(typeof l=="function"){if(gt(l)){ie(l(n),t,r,n);return}t.validators.push({validator:l,classGroupId:r});return}Object.entries(l).forEach(([o,a])=>{ie(a,Be(t,o),r,n)})})},Be=(e,t)=>{let r=e;return t.split(ce).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},gt=e=>e.isThemeGetter,yt=(e,t)=>t?e.map(([r,n])=>{let l=n.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([a,s])=>[t+a,s])):o);return[r,l]}):e,ht=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map,l=(o,a)=>{r.set(o,a),t++,t>e&&(t=0,n=r,r=new Map)};return{get(o){let a=r.get(o);if(a!==void 0)return a;if((a=n.get(o))!==void 0)return l(o,a),a},set(o,a){r.has(o)?r.set(o,a):l(o,a)}}},Te="!",xt=e=>{let{separator:t,experimentalParseClassName:r}=e,n=t.length===1,l=t[0],o=t.length,a=s=>{let d=[],u=0,f=0,v;for(let h=0;h<s.length;h++){let x=s[h];if(u===0){if(x===l&&(n||s.slice(h,h+o)===t)){d.push(s.slice(f,h)),f=h+o;continue}if(x==="/"){v=h;continue}}x==="["?u++:x==="]"&&u--}let w=d.length===0?s:s.substring(f),C=w.startsWith(Te),A=C?w.substring(1):w,y=v&&v>f?v-f:void 0;return{modifiers:d,hasImportantModifier:C,baseClassName:A,maybePostfixModifierPosition:y}};return r?s=>r({className:s,parseClassName:a}):a},wt=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(n=>{n[0]==="["?(t.push(...r.sort(),n),r=[]):r.push(n)}),t.push(...r.sort()),t},vt=e=>({cache:ht(e.cacheSize),parseClassName:xt(e),...mt(e)}),kt=/\s+/,Ct=(e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:l}=t,o=[],a=e.trim().split(kt),s="";for(let d=a.length-1;d>=0;d-=1){let u=a[d],{modifiers:f,hasImportantModifier:v,baseClassName:w,maybePostfixModifierPosition:C}=r(u),A=!!C,y=n(A?w.substring(0,C):w);if(!y){if(!A){s=u+(s.length>0?" "+s:s);continue}if(y=n(w),!y){s=u+(s.length>0?" "+s:s);continue}A=!1}let h=wt(f).join(":"),x=v?h+Te:h,k=x+y;if(o.includes(k))continue;o.push(k);let S=l(y,A);for(let P=0;P<S.length;++P){let _=S[P];o.push(x+_)}s=u+(s.length>0?" "+s:s)}return s};function At(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Ie(t))&&(n&&(n+=" "),n+=r);return n}var Ie=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=Ie(e[n]))&&(r&&(r+=" "),r+=t);return r};function Nt(e,...t){let r,n,l,o=a;function a(d){let u=t.reduce((f,v)=>v(f),e());return r=vt(u),n=r.cache.get,l=r.cache.set,o=s,s(d)}function s(d){let u=n(d);if(u)return u;let f=Ct(d,r);return l(d,f),f}return function(){return o(At.apply(null,arguments))}}var b=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Se=/^\[(?:([a-z-]+):)?(.+)\]$/i,Pt=/^\d+\/\d+$/,Bt=new Set(["px","full","screen"]),Rt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Tt=/\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$/,It=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,St=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Mt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,R=e=>G(e)||Bt.has(e)||Pt.test(e),M=e=>L(e,"length",Ht),G=e=>!!e&&!Number.isNaN(Number(e)),se=e=>L(e,"number",G),H=e=>!!e&&Number.isInteger(Number(e)),zt=e=>e.endsWith("%")&&G(e.slice(0,-1)),i=e=>Se.test(e),z=e=>Rt.test(e),Ft=new Set(["length","size","percentage"]),Et=e=>L(e,Ft,Me),Gt=e=>L(e,"position",Me),Lt=new Set(["image","url"]),Dt=e=>L(e,Lt,Vt),Ut=e=>L(e,"",jt),j=()=>!0,L=(e,t,r)=>{let n=Se.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1},Ht=e=>Tt.test(e)&&!It.test(e),Me=()=>!1,jt=e=>St.test(e),Vt=e=>Mt.test(e);var Ot=()=>{let e=b("colors"),t=b("spacing"),r=b("blur"),n=b("brightness"),l=b("borderColor"),o=b("borderRadius"),a=b("borderSpacing"),s=b("borderWidth"),d=b("contrast"),u=b("grayscale"),f=b("hueRotate"),v=b("invert"),w=b("gap"),C=b("gradientColorStops"),A=b("gradientColorStopPositions"),y=b("inset"),h=b("margin"),x=b("opacity"),k=b("padding"),S=b("saturate"),P=b("scale"),_=b("sepia"),he=b("skew"),xe=b("space"),we=b("translate"),oe=()=>["auto","contain","none"],ae=()=>["auto","hidden","clip","visible","scroll"],ne=()=>["auto",i,t],g=()=>[i,t],ve=()=>["",R,M],K=()=>["auto",G,i],ke=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Y=()=>["solid","dashed","dotted","double","none"],Ce=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],le=()=>["start","end","center","between","around","evenly","stretch"],D=()=>["","0",i],Ae=()=>["auto","avoid","all","avoid-page","page","left","right","column"],B=()=>[G,i];return{cacheSize:500,separator:":",theme:{colors:[j],spacing:[R,M],blur:["none","",z,i],brightness:B(),borderColor:[e],borderRadius:["none","","full",z,i],borderSpacing:g(),borderWidth:ve(),contrast:B(),grayscale:D(),hueRotate:B(),invert:D(),gap:g(),gradientColorStops:[e],gradientColorStopPositions:[zt,M],inset:ne(),margin:ne(),opacity:B(),padding:g(),saturate:B(),scale:B(),sepia:D(),skew:B(),space:g(),translate:g()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[z]}],"break-after":[{"break-after":Ae()}],"break-before":[{"break-before":Ae()}],"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:[...ke(),i]}],overflow:[{overflow:ae()}],"overflow-x":[{"overflow-x":ae()}],"overflow-y":[{"overflow-y":ae()}],overscroll:[{overscroll:oe()}],"overscroll-x":[{"overscroll-x":oe()}],"overscroll-y":[{"overscroll-y":oe()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",H,i]}],basis:[{basis:ne()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",i]}],grow:[{grow:D()}],shrink:[{shrink:D()}],order:[{order:["first","last","none",H,i]}],"grid-cols":[{"grid-cols":[j]}],"col-start-end":[{col:["auto",{span:["full",H,i]},i]}],"col-start":[{"col-start":K()}],"col-end":[{"col-end":K()}],"grid-rows":[{"grid-rows":[j]}],"row-start-end":[{row:["auto",{span:[H,i]},i]}],"row-start":[{"row-start":K()}],"row-end":[{"row-end":K()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",i]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",i]}],gap:[{gap:[w]}],"gap-x":[{"gap-x":[w]}],"gap-y":[{"gap-y":[w]}],"justify-content":[{justify:["normal",...le()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...le(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...le(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],q:[{q:[k]}],px:[{px:[k]}],py:[{py:[k]}],ps:[{ps:[k]}],q:[{q:[k]}],pt:[{pt:[k]}],pr:[{pr:[k]}],pb:[{pb:[k]}],pl:[{pl:[k]}],q:[{q:[h]}],mx:[{mx:[h]}],my:[{my:[h]}],ms:[{ms:[h]}],q:[{q:[h]}],mt:[{mt:[h]}],mr:[{mr:[h]}],mb:[{mb:[h]}],ml:[{ml:[h]}],"space-x":[{"space-x":[xe]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[xe]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",i,t]}],"min-w":[{"min-w":[i,t,"min","max","fit"]}],"max-w":[{"max-w":[i,t,"none","full","min","max","fit","prose",{screen:[z]},z]}],h:[{h:[i,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,t,"auto","min","max","fit"]}],"font-size":[{text:["base",z,M]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",se]}],"font-family":[{font:[j]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",i]}],"line-clamp":[{"line-clamp":["none",G,se]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",R,i]}],"list-image":[{"list-image":["none",i]}],"list-style-type":[{list:["none","disc","decimal",i]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[x]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[x]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Y(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",R,M]}],"underline-offset":[{"underline-offset":["auto",R,i]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:g()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",i]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",i]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[x]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ke(),Gt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Et]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Dt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[A]}],"gradient-via-pos":[{via:[A]}],"gradient-to-pos":[{to:[A]}],"gradient-from":[{from:[C]}],"gradient-via":[{via:[C]}],"gradient-to":[{to:[C]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-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:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[x]}],"border-style":[{border:[...Y(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[x]}],"divide-style":[{divide:Y()}],"border-color":[{border:[l]}],"border-color-x":[{"border-x":[l]}],"border-color-y":[{"border-y":[l]}],"border-color-s":[{"border-s":[l]}],"border-color-e":[{"border-e":[l]}],"border-color-t":[{"border-t":[l]}],"border-color-r":[{"border-r":[l]}],"border-color-b":[{"border-b":[l]}],"border-color-l":[{"border-l":[l]}],"divide-color":[{divide:[l]}],"outline-style":[{outline:["",...Y()]}],"outline-offset":[{"outline-offset":[R,i]}],"outline-w":[{outline:[R,M]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ve()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[x]}],"ring-offset-w":[{"ring-offset":[R,M]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",z,Ut]}],"shadow-color":[{shadow:[j]}],opacity:[{opacity:[x]}],"mix-blend":[{"mix-blend":[...Ce(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Ce()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",z,i]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[v]}],saturate:[{saturate:[S]}],sepia:[{sepia:[_]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[v]}],"backdrop-opacity":[{"backdrop-opacity":[x]}],"backdrop-saturate":[{"backdrop-saturate":[S]}],"backdrop-sepia":[{"backdrop-sepia":[_]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",i]}],duration:[{duration:B()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:B()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[P]}],"scale-x":[{"scale-x":[P]}],"scale-y":[{"scale-y":[P]}],rotate:[{rotate:[H,i]}],"translate-x":[{"translate-x":[we]}],"translate-y":[{"translate-y":[we]}],"skew-x":[{"skew-x":[he]}],"skew-y":[{"skew-y":[he]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",i]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",i]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-q":[{"scroll-q":g()}],"scroll-mx":[{"scroll-mx":g()}],"scroll-my":[{"scroll-my":g()}],"scroll-ms":[{"scroll-ms":g()}],"scroll-q":[{"scroll-q":g()}],"scroll-mt":[{"scroll-mt":g()}],"scroll-mr":[{"scroll-mr":g()}],"scroll-mb":[{"scroll-mb":g()}],"scroll-ml":[{"scroll-ml":g()}],"scroll-q":[{"scroll-q":g()}],"scroll-px":[{"scroll-px":g()}],"scroll-py":[{"scroll-py":g()}],"scroll-ps":[{"scroll-ps":g()}],"scroll-q":[{"scroll-q":g()}],"scroll-pt":[{"scroll-pt":g()}],"scroll-pr":[{"scroll-pr":g()}],"scroll-pb":[{"scroll-pb":g()}],"scroll-pl":[{"scroll-pl":g()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",i]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[R,M,se]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],q:["px","py","ps","q","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],q:["mx","my","ms","q","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-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-y":["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-y":["border-color-t","border-color-b"],"scroll-q":["scroll-mx","scroll-my","scroll-ms","scroll-q","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-q":["scroll-px","scroll-py","scroll-ps","scroll-q","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var ze=Nt(Ot);function c(...e){return ze((0,Fe.clsx)(e))}var q=require("react/jsx-runtime"),Ee=({className:e,content:t,style:r})=>(0,q.jsx)("div",{className:c("mx-auto my-8 w-full",e),children:(0,q.jsx)("div",{className:c("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,q.jsx)(N,{content:t,enableGutter:!1,enableProse:!1})})});var Ge=require("@radix-ui/react-slot"),Le=require("class-variance-authority"),De=U(require("react")),Qt=(0,Le.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-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),V=De.forwardRef(({asChild:e=!1,className:t,size:r,variant:n,...l},o)=>(0,q.jsx)(e?Ge.Slot:"button",{className:c(Qt({className:t,size:r,variant:n})),ref:o,...l}));V.displayName="Button";var de=U(require("next/link")),Q=e=>{let{type:t,appearance:r="inline",children:n,className:l,label:o,newTab:a,reference:s,size:d,url:u}=e,f=t==="reference"&&typeof(s==null?void 0:s.value)=="object"&&s.value.slug?`${(s==null?void 0:s.relationTo)!=="pages"?`/${s==null?void 0:s.relationTo}`:""}/${s.value.slug}`:u;if(!f)return null;let v=r==="link"?"clear":d,w=a?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,q.jsxs)(de.default,{className:c(l),href:f||u||"",...w,children:[o&&o,n&&n]}):(0,q.jsx)(V,{asChild:!0,className:l,size:v,variant:r,children:(0,q.jsxs)(de.default,{className:c(l),href:f||u||"",...w,children:[o&&o,n&&n]})})};var He=({links:e,richText:t})=>(0,q.jsx)("div",{className:"container",children:(0,q.jsxs)("div",{className:"bg-card rounded border-border border q-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,q.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,q.jsx)(N,{className:"mb-0",content:t,enableGutter:!1})}),(0,q.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},n)=>(0,q.jsx)(Q,{size:"lg",...r},n))})]})});var W=require("prism-react-renderer");var je=require("lucide-react"),Ve=require("react");function Oe({code:e}){let[t,r]=(0,Ve.useState)("Copy");function n(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,q.jsx)("div",{className:"flex justify-end align-middle",children:(0,q.jsxs)(V,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),n()},children:[(0,q.jsx)("q",{children:t}),(0,q.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,q.jsx)(je.ClipboardCopy,{})})]})})}var Qe=({code:e,language:t=""})=>e?(0,q.jsx)(W.Highlight,{code:e,language:t,theme:W.themes.vsDark,children:({getLineProps:r,getTokenProps:n,tokens:l})=>(0,q.jsxs)("pre",{className:"bg-black q-4 border text-xs border-border rounded overflow-x-auto",children:[l.map((o,a)=>(0,q.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,q.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:a+1}),(0,q.jsx)("span",{className:"table-cell pl-4",children:o.map((s,d)=>(0,q.jsx)("span",{...n({token:s})},d))})]},a)),(0,q.jsx)(Oe,{code:e})]})}):null;var Je=({className:e,code:t,language:r})=>(0,q.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,q.jsx)(Qe,{code:t,language:r})});var Ke=U(require("next/image")),Jt={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},_e="data:image/png;base64,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",Ye=e=>{let{alt:t,fill:r,imgClassName:n,priority:l,resource:o,size:a,src:s,loading:d}=e,u,f,v=t,w=s||"";if(!w&&o&&typeof o=="object"){let{alt:y,filename:h,height:x,url:k,width:S}=o;if(x&&x>500){let P=500/x;u=S*P,f=x*P}else u=S,f=x;v=y||"",w=k||_e}let C=d||"lazy",A=a||Object.entries(Jt).map(([,y])=>`(max-width: ${y}px) ${y*2}w`).join(", ");return(0,q.jsx)("picture",{children:(0,q.jsx)(Ke.default,{alt:v||"",className:c(n),fill:r,height:r?void 0:f,placeholder:"blur",blurDataURL:_e,priority:C!=="lazy"&&l,quality:100,loading:C,sizes:A,src:w,width:r?void 0:u})})};var Xe=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var qe=()=>{if(Xe){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var We=e=>{let{onClick:t,resource:r,videoClassName:n}=e,l=(0,Ve.useRef)(null);if((0,Ve.useEffect)(()=>{let{current:o}=l;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,q.jsx)("video",{autoPlay:!0,className:c(n),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:l,children:(0,q.jsx)("source",{src:`${qe()}/media/${o}`})})}return null};var ee=e=>{var a;let{className:t,htmlElement:r="div",resource:n}=e,l=typeof n=="object"&&((a=n==null?void 0:n.mimeType)==null?void 0:a.includes("video"));return(0,$.jsx)(r||Ve.Fragment,{...r!==null?{className:t}:{},children:l?(0,$.jsx)(We,{...e}):(0,$.jsx)(Ye,{...e})})};var $e=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:l,staticImage:o}=e;return(0,q.jsx)("div",{className:c("h-full ",{container:r},t),children:(0,q.jsx)(ee,{imgClassName:c("rounded-[0.8rem]",n),className:"flex justify-center",resource:l,src:o})})};var et=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:l,staticImage:o}=e;return(0,q.jsx)("div",{className:c("",{container:r},t),children:(0,q.jsx)(ee,{imgClassName:c("rounded-[0.8rem]",n),resource:l,src:o})})};var ge=({type:e="solid",iconName:t="cloud",size:r="lg",className:n})=>{let l=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,a=n!=null?n:"",s=l+o+" fa-"+r+" "+a;return(0,q.jsx)("i",{className:s})};var ot=U(require("next/image"));function rt(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function ye({image:e,icon:t,title:r,subtitle:n,content:l,statistic:o,settings:a,link:s,className:d}){var v,w;let u={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:"bg-background"},f={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,q.jsxs)("div",{className:c("min-w-56 max-w-xl h-full flex flex-col group",e?"q-0 md:q-0":"q-8 md:q-8",a&&!e&&u[(a==null?void 0:a.card)==="default"?"solid":a==null?void 0:a.card],e&&"bg-foreground",a&&(a==null?void 0:a.card)==="outline"?"text-gray-900":"text-white",f[(v=a==null?void 0:a.width)!=null?v:"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",a&&`intersect:animate-delay-${a.order||1}00`,d),children:[e&&(0,q.jsx)("div",{className:"relative h-1/2 lg:h-2/3 w-full mb-0",children:(0,q.jsx)(ot.default,{src:e.url||"/placeholder.svg",alt:e.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),(0,q.jsxs)("div",{className:c(e?"q-4 md:q-1 md:px-8":"q-0 md:q-0","flex h-2/5 md:max-h-1/2 flex-col flex-grow"),children:[n&&(0,q.jsx)("div",{className:"mb-4 text-primary uppercase font-light",children:n}),(0,q.jsx)("div",{className:"flex items-center gap-4 mb-2 md:mb-0",children:(0,q.jsx)(_t,{icon:{type:(t==null?void 0:t.type)||"fa-light",iconName:(t==null?void 0:t.icon)||"no-icon-error"},heading:r!=null?r:"",variant:(a==null?void 0:a.card)==="default"?"solid":(w=a==null?void 0:a.card)!=null?w:"solid",iconSize:(a==null?void 0:a.iconSize)||"large"})}),o&&(0,q.jsx)("div",{className:"mb-6",children:(0,q.jsx)("div",{className:c("text-4xl text-wrap font-bold leading-none overflow-hidden",(a==null?void 0:a.card)==="outline"||(a==null?void 0:a.card)==="light"?"text-brand-green":"text-white"),children:o})}),l&&typeof l=="object"&&(0,q.jsx)(N,{enableGutter:!1,content:l,enableProse:!1,className:c("space-y-6",(a==null?void 0:a.card)==="outline"||(a==null?void 0:a.card)==="light"?"prose prose-headings:text-foreground prose-q:text-foreground":"prose prose-headings:text-white prose-q:text-gray-100",e&&"prose prose-headings:text-background prose-q:text-background")}),l&&typeof l=="string"&&(0,q.jsx)("div",{className:c("space-y-6",(a==null?void 0:a.card)==="outline"||(a==null?void 0:a.card)==="light"?"prose text-foreground":"prose text-gray-100",e&&"prose text-background"),children:l}),s&&s.url&&(0,q.jsx)("div",{className:"pt-6 h-full flex items-end justify-start",children:(0,q.jsx)("a",{className:"text-accent justify-start font-semibold uppercase",href:s.url||"#",children:(s==null?void 0:s.label)||"Find out more"})}),(a==null?void 0:a.card)==="radial"&&(0,q.jsx)("div",{className:"absolute bottom-0 right-0 w-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})]})}var _t=({icon:e,heading:t,variant:r,iconSize:n,subtitle:l})=>e&&n==="small"&&e.iconName!="no-icon-error"?(0,q.jsxs)("div",{className:"flex items-start justify-between w-full mb-2",children:[(0,q.jsx)("div",{className:c("font-semibold",r==="outline"||r==="light"?"text-primary":"text-white",n==="small"?"text-2xl":"text-3xl"),children:t}),rt(e)&&(0,q.jsx)("div",{className:c("rounded-full q-0 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-primary":"text-white",n==="small"?"mt-2":""),children:(0,q.jsx)(ge,{type:e.type,iconName:e.iconName,size:"2x"})})]}):e&&e.iconName!="no-icon-error"?(0,q.jsxs)("div",{className:"flex flex-col gap-4",children:[rt(e)&&(0,q.jsx)("div",{className:c("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-accent":""),children:(0,q.jsx)(ge,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,q.jsx)("h3",{className:c("font-normal",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})]}):(0,q.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,q.jsx)("div",{className:c("font-regular",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var at=({title:e,description:t,features:r,id:n,nested:l=!1})=>(0,q.jsxs)("section",{className:c(!l&&"container","w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,q.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl text-primary",id:n||"",children:e}),t&&typeof t=="string"&&(0,q.jsx)("q",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:t}),t&&typeof t=="object"&&(0,q.jsx)("q",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:(0,q.jsx)(N,{content:t,enableGutter:!1})}),(0,q.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((o,a)=>{var d;let s=()=>{if(o.icon&&"type"in o.icon&&o.icon.type!=="none")return{type:o.icon.type,iconName:o.icon.icon}};return(0,q.jsx)(ye,{title:o.title||"",content:o.content||void 0,statistic:o.statistic||void 0,settings:{...o.settings,width:"auto",order:a},link:o.link?{...o.link,label:"Learn more"}:void 0,icon:(d=s())!=null?d:{type:"none",iconName:null}},a)})})]});var te=U(require("react"));function J({nodes:e}){return(0,q.jsx)(te.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,q.jsx)(te.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,q.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,q.jsx)("em",{children:o},r)),t.format&4&&(o=(0,q.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,q.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,q.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,q.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,q.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,q.jsx)("table",{children:(0,q.jsx)("tbody",{children:t.children.map((o,a)=>(0,q.jsx)("tr",{children:o.children.map((s,d)=>(0,q.jsx)("td",{children:J({nodes:s.children})},d))},a))})},r);let n=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let a of o.children)"checked"in a&&(a!=null&&a.checked||(a.checked=!1));return J({nodes:o.children})},l="children"in t?n(t):"";if(t.type==="block"){let o=t.fields,a=o==null?void 0:o.blockType;if(!o||!a)return null;switch(a){case"cta":return(0,q.jsx)(He,{...o},r);case"mediaBlock":return(0,q.jsx)($e,{className:"col-start-1 col-span-3",imgClassName:"q-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,q.jsx)(et,{className:"col-start-1 col-span-3",imgClassName:"q-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,q.jsx)(Ee,{className:"col-start-2 mb-4",...o},r);case"code":return(0,q.jsx)(Je,{className:"col-start-2",...o},r);case"features":return(0,q.jsx)(at,{...o,nested:!0},r);case"reusableContentBlock":J({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,q.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,q.jsx)("q",{className:"col-start-2",children:l},r);case"heading":{let o=t==null?void 0:t.tag;return(0,q.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:l},r)}case"list":{let o=t==null?void 0:t.tag;return(0,q.jsx)(o,{className:"list col-start-2",children:l},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,q.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:l},r):(0,q.jsx)("li",{value:t==null?void 0:t.value,children:l},r);case"quote":return(0,q.jsx)("blockquote",{className:"col-start-2",children:l},r);case"link":{let o=t.fields;return(0,q.jsx)(Q,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:l},r)}case"autolink":{let o=t.fields;return(0,q.jsx)(Q,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:l},r)}default:return null}})})}var N=({className:e,content:t,enableGutter:r=!0,enableProse:n=!0})=>{var l;return t?(0,q.jsx)("div",{className:c({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":n},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&J({nodes:(l=t==null?void 0:t.root)==null?void 0:l.children})}):null};var Kt={title:"Blocks/RichText",component:N,tags:["autodocs"],decorators:[e=>(0,q.jsx)("div",{className:"bg-white dark:bg-gray-900 q-4",children:(0,q.jsx)(e,{})})]},Yt=e=>(0,q.jsx)(N,{...e}),Xt={render:Yt,args:{content:{root:{children:[{type:"text",text:"This is a regular text."},{type:"text",text:"This is bold text.",format:1},{type:"text",text:"This is italic text.",format:2},{type:"text",text:"This is underline text.",format:4},{type:"text",text:"This is strikethrough text.",format:8},{type:"text",text:"This is subscript text.",format:16},{type:"text",text:"This is superscript text.",format:32},{type:"text",text:"This is code text.",format:64},{type:"table",children:[{type:"tableRow",children:[{type:"tableCell",children:[{type:"text",text:"Cell 1"}]},{type:"tableCell",children:[{type:"text",text:"Cell 2"}]}]},{type:"tableRow",children:[{type:"tableCell",children:[{type:"text",text:"Cell 3"}]},{type:"tableCell",children:[{type:"text",text:"Cell 4"}]}]}]}]}},enableGutter:!0,enableProse:!0}};0&&(module.exports={Default});
@@ -1 +1 @@
1
- import{e}from"../../chunk-MLA2WBXX.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-2A6JF3LE.mjs";import"../../chunk-4YJ3HV64.mjs";import"../../chunk-FCCL6W7R.mjs";import"../../chunk-WLBZXBU3.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-OI2YT2ZF.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";import{jsx as r}from"react/jsx-runtime";var o={title:"Blocks/RichText",component:e,tags:["autodocs"],decorators:[t=>r("div",{className:"bg-white dark:bg-gray-900 p-4",children:r(t,{})})]},i=t=>r(e,{...t}),x={render:i,args:{content:{root:{children:[{type:"text",text:"This is a regular text."},{type:"text",text:"This is bold text.",format:1},{type:"text",text:"This is italic text.",format:2},{type:"text",text:"This is underline text.",format:4},{type:"text",text:"This is strikethrough text.",format:8},{type:"text",text:"This is subscript text.",format:16},{type:"text",text:"This is superscript text.",format:32},{type:"text",text:"This is code text.",format:64},{type:"table",children:[{type:"tableRow",children:[{type:"tableCell",children:[{type:"text",text:"Cell 1"}]},{type:"tableCell",children:[{type:"text",text:"Cell 2"}]}]},{type:"tableRow",children:[{type:"tableCell",children:[{type:"text",text:"Cell 3"}]},{type:"tableCell",children:[{type:"text",text:"Cell 4"}]}]}]}]}},enableGutter:!0,enableProse:!0}};export{x as Default,o as default};
1
+ import{e}from"../../chunk-XJF3K46N.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-OI2YT2ZF.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-2A6JF3LE.mjs";import"../../chunk-4YJ3HV64.mjs";import"../../chunk-FCCL6W7R.mjs";import"../../chunk-WLBZXBU3.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";import{jsx as r}from"react/jsx-runtime";var o={title:"Blocks/RichText",component:e,tags:["autodocs"],decorators:[t=>r("div",{className:"bg-white dark:bg-gray-900 p-4",children:r(t,{})})]},i=t=>r(e,{...t}),x={render:i,args:{content:{root:{children:[{type:"text",text:"This is a regular text."},{type:"text",text:"This is bold text.",format:1},{type:"text",text:"This is italic text.",format:2},{type:"text",text:"This is underline text.",format:4},{type:"text",text:"This is strikethrough text.",format:8},{type:"text",text:"This is subscript text.",format:16},{type:"text",text:"This is superscript text.",format:32},{type:"text",text:"This is code text.",format:64},{type:"table",children:[{type:"tableRow",children:[{type:"tableCell",children:[{type:"text",text:"Cell 1"}]},{type:"tableCell",children:[{type:"text",text:"Cell 2"}]}]},{type:"tableRow",children:[{type:"tableCell",children:[{type:"text",text:"Cell 3"}]},{type:"tableCell",children:[{type:"text",text:"Cell 4"}]}]}]}]}},enableGutter:!0,enableProse:!0}};export{x as Default,o as default};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- "use strict";var Tt=Object.create;var ae=Object.defineProperty;var It=Object.getOwnPropertyDescriptor;var St=Object.getOwnPropertyNames;var Mt=Object.getPrototypeOf,Et=Object.prototype.hasOwnProperty;var zt=(e,t)=>{for(var o in t)ae(e,o,{get:t[o],enumerable:!0})},He=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of St(t))!Et.call(e,a)&&a!==o&&ae(e,a,{get:()=>t[a],enumerable:!(n=It(t,a))||n.enumerable});return e};var D=(e,t,o)=>(o=e!=null?Tt(Mt(e)):{},He(t||!e||!e.__esModule?ae(o,"default",{value:e,enumerable:!0}):o,e)),Lt=e=>He(ae({},"__esModule",{value:!0}),e);var Co={};zt(Co,{CMSLink:()=>Y,Card:()=>ke,CollectionArchive:()=>bo,Logo:()=>yo,Media:()=>V,PageRange:()=>vo,PayloadPagination:()=>wo,RichText:()=>z});module.exports=Lt(Co);var Ye=require("clsx");var he="-",Ft=e=>{let t=Gt(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:s=>{let i=s.split(he);return i[0]===""&&i.length!==1&&i.shift(),Oe(i,t)||Dt(s)},getConflictingClassGroupIds:(s,i)=>{let l=o[s]||[];return i&&n[s]?[...l,...n[s]]:l}}},Oe=(e,t)=>{var s;if(e.length===0)return t.classGroupId;let o=e[0],n=t.nextPart.get(o),a=n?Oe(e.slice(1),n):void 0;if(a)return a;if(t.validators.length===0)return;let r=e.join(he);return(s=t.validators.find(({validator:i})=>i(r)))==null?void 0:s.classGroupId},Ve=/^\[(.+)\]$/,Dt=e=>{if(Ve.test(e)){let t=Ve.exec(e)[1],o=t==null?void 0:t.substring(0,t.indexOf(":"));if(o)return"arbitrary.."+o}},Gt=e=>{let{theme:t,prefix:o}=e,n={nextPart:new Map,validators:[]};return Ht(Object.entries(e.classGroups),o).forEach(([r,s])=>{ye(s,n,r,t)}),n},ye=(e,t,o,n)=>{e.forEach(a=>{if(typeof a=="string"){let r=a===""?t:je(t,a);r.classGroupId=o;return}if(typeof a=="function"){if(Ut(a)){ye(a(n),t,o,n);return}t.validators.push({validator:a,classGroupId:o});return}Object.entries(a).forEach(([r,s])=>{ye(s,je(t,r),o,n)})})},je=(e,t)=>{let o=e;return t.split(he).forEach(n=>{o.nextPart.has(n)||o.nextPart.set(n,{nextPart:new Map,validators:[]}),o=o.nextPart.get(n)}),o},Ut=e=>e.isThemeGetter,Ht=(e,t)=>t?e.map(([o,n])=>{let a=n.map(r=>typeof r=="string"?t+r:typeof r=="object"?Object.fromEntries(Object.entries(r).map(([s,i])=>[t+s,i])):r);return[o,a]}):e,Vt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,o=new Map,n=new Map,a=(r,s)=>{o.set(r,s),t++,t>e&&(t=0,n=o,o=new Map)};return{get(r){let s=o.get(r);if(s!==void 0)return s;if((s=n.get(r))!==void 0)return a(r,s),s},set(r,s){o.has(r)?o.set(r,s):a(r,s)}}},Qe="!",jt=e=>{let{separator:t,experimentalParseClassName:o}=e,n=t.length===1,a=t[0],r=t.length,s=i=>{let l=[],d=0,u=0,p;for(let y=0;y<i.length;y++){let w=i[y];if(d===0){if(w===a&&(n||i.slice(y,y+r)===t)){l.push(i.slice(u,y)),u=y+r;continue}if(w==="/"){p=y;continue}}w==="["?d++:w==="]"&&d--}let g=l.length===0?i:i.substring(u),v=g.startsWith(Qe),P=v?g.substring(1):g,b=p&&p>u?p-u:void 0;return{modifiers:l,hasImportantModifier:v,baseClassName:P,maybePostfixModifierPosition:b}};return o?i=>o({className:i,parseClassName:s}):s},Ot=e=>{if(e.length<=1)return e;let t=[],o=[];return e.forEach(n=>{n[0]==="["?(t.push(...o.sort(),n),o=[]):o.push(n)}),t.push(...o.sort()),t},Qt=e=>({cache:Vt(e.cacheSize),parseClassName:jt(e),...Ft(e)}),_t=/\s+/,Jt=(e,t)=>{let{parseClassName:o,getClassGroupId:n,getConflictingClassGroupIds:a}=t,r=[],s=e.trim().split(_t),i="";for(let l=s.length-1;l>=0;l-=1){let d=s[l],{modifiers:u,hasImportantModifier:p,baseClassName:g,maybePostfixModifierPosition:v}=o(d),P=!!v,b=n(P?g.substring(0,v):g);if(!b){if(!P){i=d+(i.length>0?" "+i:i);continue}if(b=n(g),!b){i=d+(i.length>0?" "+i:i);continue}P=!1}let y=Ot(u).join(":"),w=p?y+Qe:y,N=w+b;if(r.includes(N))continue;r.push(N);let T=a(b,P);for(let B=0;B<T.length;++B){let _=T[B];r.push(w+_)}i=d+(i.length>0?" "+i:i)}return i};function $t(){let e=0,t,o,n="";for(;e<arguments.length;)(t=arguments[e++])&&(o=_e(t))&&(n&&(n+=" "),n+=o);return n}var _e=e=>{if(typeof e=="string")return e;let t,o="";for(let n=0;n<e.length;n++)e[n]&&(t=_e(e[n]))&&(o&&(o+=" "),o+=t);return o};function Kt(e,...t){let o,n,a,r=s;function s(l){let d=t.reduce((u,p)=>p(u),e());return o=Qt(d),n=o.cache.get,a=o.cache.set,r=i,i(l)}function i(l){let d=n(l);if(d)return d;let u=Jt(l,o);return a(l,u),u}return function(){return r($t.apply(null,arguments))}}var h=e=>{let t=o=>o[e]||[];return t.isThemeGetter=!0,t},Je=/^\[(?:([a-z-]+):)?(.+)\]$/i,Yt=/^\d+\/\d+$/,Xt=new Set(["px","full","screen"]),qt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Wt=/\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$/,Zt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,eo=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,to=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,M=e=>J(e)||Xt.has(e)||Yt.test(e),G=e=>$(e,"length",co),J=e=>!!e&&!Number.isNaN(Number(e)),be=e=>$(e,"number",J),W=e=>!!e&&Number.isInteger(Number(e)),oo=e=>e.endsWith("%")&&J(e.slice(0,-1)),m=e=>Je.test(e),U=e=>qt.test(e),ro=new Set(["length","size","percentage"]),no=e=>$(e,ro,$e),ao=e=>$(e,"position",$e),so=new Set(["image","url"]),io=e=>$(e,so,mo),lo=e=>$(e,"",po),Z=()=>!0,$=(e,t,o)=>{let n=Je.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):o(n[2]):!1},co=e=>Wt.test(e)&&!Zt.test(e),$e=()=>!1,po=e=>eo.test(e),mo=e=>to.test(e);var uo=()=>{let e=h("colors"),t=h("spacing"),o=h("blur"),n=h("brightness"),a=h("borderColor"),r=h("borderRadius"),s=h("borderSpacing"),i=h("borderWidth"),l=h("contrast"),d=h("grayscale"),u=h("hueRotate"),p=h("invert"),g=h("gap"),v=h("gradientColorStops"),P=h("gradientColorStopPositions"),b=h("inset"),y=h("margin"),w=h("opacity"),N=h("padding"),T=h("saturate"),B=h("scale"),_=h("sepia"),oe=h("skew"),ze=h("space"),Le=h("translate"),me=()=>["auto","contain","none"],ue=()=>["auto","hidden","clip","visible","scroll"],ge=()=>["auto",m,t],k=()=>[m,t],Fe=()=>["",M,G],re=()=>["auto",J,m],De=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ne=()=>["solid","dashed","dotted","double","none"],Ge=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],fe=()=>["start","end","center","between","around","evenly","stretch"],q=()=>["","0",m],Ue=()=>["auto","avoid","all","avoid-page","page","left","right","column"],S=()=>[J,m];return{cacheSize:500,separator:":",theme:{colors:[Z],spacing:[M,G],blur:["none","",U,m],brightness:S(),borderColor:[e],borderRadius:["none","","full",U,m],borderSpacing:k(),borderWidth:Fe(),contrast:S(),grayscale:q(),hueRotate:S(),invert:q(),gap:k(),gradientColorStops:[e],gradientColorStopPositions:[oo,G],inset:ge(),margin:ge(),opacity:S(),padding:k(),saturate:S(),scale:S(),sepia:q(),skew:S(),space:k(),translate:k()},classGroups:{aspect:[{aspect:["auto","square","video",m]}],container:["container"],columns:[{columns:[U]}],"break-after":[{"break-after":Ue()}],"break-before":[{"break-before":Ue()}],"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:[...De(),m]}],overflow:[{overflow:ue()}],"overflow-xe":[{"overflow-xe":ue()}],"overflow-y":[{"overflow-y":ue()}],overscroll:[{overscroll:me()}],"overscroll-xe":[{"overscroll-xe":me()}],"overscroll-y":[{"overscroll-y":me()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[b]}],"inset-xe":[{"inset-xe":[b]}],"inset-y":[{"inset-y":[b]}],start:[{start:[b]}],end:[{end:[b]}],top:[{top:[b]}],right:[{right:[b]}],bottom:[{bottom:[b]}],left:[{left:[b]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",W,m]}],basis:[{basis:ge()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",m]}],grow:[{grow:q()}],shrink:[{shrink:q()}],order:[{order:["first","last","none",W,m]}],"grid-cols":[{"grid-cols":[Z]}],"col-start-end":[{col:["auto",{span:["full",W,m]},m]}],"col-start":[{"col-start":re()}],"col-end":[{"col-end":re()}],"grid-rows":[{"grid-rows":[Z]}],"row-start-end":[{row:["auto",{span:[W,m]},m]}],"row-start":[{"row-start":re()}],"row-end":[{"row-end":re()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",m]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",m]}],gap:[{gap:[g]}],"gap-xe":[{"gap-xe":[g]}],"gap-y":[{"gap-y":[g]}],"justify-content":[{justify:["normal",...fe()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...fe(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...fe(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[N]}],px:[{px:[N]}],py:[{py:[N]}],ps:[{ps:[N]}],pe:[{pe:[N]}],pt:[{pt:[N]}],pr:[{pr:[N]}],pb:[{pb:[N]}],pl:[{pl:[N]}],m:[{m:[y]}],mx:[{mx:[y]}],my:[{my:[y]}],ms:[{ms:[y]}],me:[{me:[y]}],xe:[{xe:[y]}],mr:[{mr:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-xe":[{"space-xe":[ze]}],"space-xe-reverse":["space-xe-reverse"],"space-y":[{"space-y":[ze]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",m,t]}],"min-w":[{"min-w":[m,t,"min","max","fit"]}],"max-w":[{"max-w":[m,t,"none","full","min","max","fit","prose",{screen:[U]},U]}],h:[{h:[m,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[m,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[m,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[m,t,"auto","min","max","fit"]}],"font-size":[{text:["base",U,G]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",be]}],"font-family":[{font:[Z]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",m]}],"line-clamp":[{"line-clamp":["none",J,be]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",M,m]}],"list-image":[{"list-image":["none",m]}],"list-style-type":[{list:["none","disc","decimal",m]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[w]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[w]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ne(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",M,G]}],"underline-offset":[{"underline-offset":["auto",M,m]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:k()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",m]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",m]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[w]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...De(),ao]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","xe","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",no]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},io]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[P]}],"gradient-via-pos":[{via:[P]}],"gradient-to-pos":[{to:[P]}],"gradient-from":[{from:[v]}],"gradient-via":[{via:[v]}],"gradient-to":[{to:[v]}],rounded:[{rounded:[r]}],"rounded-s":[{"rounded-s":[r]}],"rounded-e":[{"rounded-e":[r]}],"rounded-t":[{"rounded-t":[r]}],"rounded-r":[{"rounded-r":[r]}],"rounded-b":[{"rounded-b":[r]}],"rounded-l":[{"rounded-l":[r]}],"rounded-ss":[{"rounded-ss":[r]}],"rounded-I":[{"rounded-I":[r]}],"rounded-xe":[{"rounded-xe":[r]}],"rounded-es":[{"rounded-es":[r]}],"rounded-tl":[{"rounded-tl":[r]}],"rounded-tr":[{"rounded-tr":[r]}],"rounded-br":[{"rounded-br":[r]}],"rounded-bl":[{"rounded-bl":[r]}],"border-w":[{border:[i]}],"border-w-xe":[{"border-xe":[i]}],"border-w-y":[{"border-y":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-b":[{"border-b":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[w]}],"border-style":[{border:[...ne(),"hidden"]}],"divide-xe":[{"divide-xe":[i]}],"divide-xe-reverse":["divide-xe-reverse"],"divide-y":[{"divide-y":[i]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[w]}],"divide-style":[{divide:ne()}],"border-color":[{border:[a]}],"border-color-xe":[{"border-xe":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...ne()]}],"outline-offset":[{"outline-offset":[M,m]}],"outline-w":[{outline:[M,G]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Fe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[w]}],"ring-offset-w":[{"ring-offset":[M,G]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",U,lo]}],"shadow-color":[{shadow:[Z]}],opacity:[{opacity:[w]}],"mix-blend":[{"mix-blend":[...Ge(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Ge()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[n]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",U,m]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[p]}],saturate:[{saturate:[T]}],sepia:[{sepia:[_]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[p]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[T]}],"backdrop-sepia":[{"backdrop-sepia":[_]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-xe":[{"border-spacing-xe":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",m]}],duration:[{duration:S()}],ease:[{ease:["linear","in","out","in-out",m]}],delay:[{delay:S()}],animate:[{animate:["none","spin","ping","pulse","bounce",m]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[B]}],"scale-xe":[{"scale-xe":[B]}],"scale-y":[{"scale-y":[B]}],rotate:[{rotate:[W,m]}],"translate-xe":[{"translate-xe":[Le]}],"translate-y":[{"translate-y":[Le]}],"skew-xe":[{"skew-xe":[oe]}],"skew-y":[{"skew-y":[oe]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",m]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","I-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",m]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","xe",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":k()}],"scroll-mx":[{"scroll-mx":k()}],"scroll-my":[{"scroll-my":k()}],"scroll-ms":[{"scroll-ms":k()}],"scroll-me":[{"scroll-me":k()}],"scroll-xe":[{"scroll-xe":k()}],"scroll-mr":[{"scroll-mr":k()}],"scroll-mb":[{"scroll-mb":k()}],"scroll-ml":[{"scroll-ml":k()}],"scroll-p":[{"scroll-p":k()}],"scroll-px":[{"scroll-px":k()}],"scroll-py":[{"scroll-py":k()}],"scroll-ps":[{"scroll-ps":k()}],"scroll-pe":[{"scroll-pe":k()}],"scroll-pt":[{"scroll-pt":k()}],"scroll-pr":[{"scroll-pr":k()}],"scroll-pb":[{"scroll-pb":k()}],"scroll-pl":[{"scroll-pl":k()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","xe","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-xe":[{"touch-pan":["xe","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",m]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[M,G,be]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-xe","overflow-y"],overscroll:["overscroll-xe","overscroll-y"],inset:["inset-xe","inset-y","start","end","top","right","bottom","left"],"inset-xe":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-xe","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","xe","mr","mb","ml"],mx:["mr","ml"],my:["xe","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-I","rounded-xe","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-I","rounded-xe"],"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-xe","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-xe":["border-w-r","border-w-l"],"border-w-y":["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-xe":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-xe","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-xe","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-xe","touch-y","touch-pz"],"touch-xe":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Ke=Kt(uo);function c(...e){return Ke((0,Ye.clsx)(e))}var Xe=require("next/navigation"),I=require("react");function go({external:e=!1,newTab:t=!1,scroll:o=!0}){let n=(0,Xe.useRouter)(),a=(0,I.useRef)(null),r=(0,I.useRef)(null),s=(0,I.useRef)(0),i=(0,I.useRef)(!1),l=(0,I.useRef)(0),d=(0,I.useCallback)(p=>{if(p.target){let g=p.target,v=+new Date,P=g==null?void 0:g.closest("a");l.current=p.button,P?i.current=!0:(i.current=!1,s.current=v)}},[n,a,r,s]),u=(0,I.useCallback)(p=>{var g,v;if((g=r.current)!=null&&g.href){let b=+new Date-s.current;if((v=r.current)!=null&&v.href&&b<=250&&!i.current&&l.current===0&&!p.ctrlKey)if(e){let y=t?"_blank":"_self";window.open(r.current.href,y)}else n.push(r.current.href,{scroll:o})}},[n,a,r,s]);return(0,I.useEffect)(()=>{let p=a.current;return p&&(p.addEventListener("mousedown",d),p.addEventListener("mouseup",u)),()=>{p&&p&&(p==null||p.removeEventListener("mousedown",d),p==null||p.removeEventListener("mouseup",u))}},[a,r,n]),{card:{ref:a},link:{ref:r}}}var qe=go;var at=D(require("next/link"));var Ze=D(require("next/image")),xe=require("react/jsx-runtime"),fo={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},We="data:image/png;base64,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",et=e=>{let{alt:t,fill:o,imgClassName:n,priority:a,resource:r,size:s,src:i,loading:l}=e,d,u,p=t,g=i||"";if(!g&&r&&typeof r=="object"){let{alt:b,filename:y,height:w,url:N,width:T}=r;if(w&&w>500){let B=500/w;d=T*B,u=w*B}else d=T,u=w;p=b||"",g=N||We}let v=l||"lazy",P=s||Object.entries(fo).map(([,b])=>`(max-width: ${b}px) ${b*2}w`).join(", ");return(0,xe.jsx)("picture",{children:(0,xe.jsx)(Ze.default,{alt:p||"",className:c(n),fill:o,height:o?void 0:u,placeholder:"blur",blurDataURL:We,priority:v!=="lazy"&&a,quality:100,loading:v,sizes:P,src:g,width:o?void 0:d})})};var tt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var ot=()=>{if(tt){let e=window.location.protocol,t=window.location.hostname,o=window.location.port;return`${e}//${t}${o?`:${o}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var rt=e=>{let{onClick:t,resource:o,videoClassName:n}=e,a=(0,I.useRef)(null);if((0,I.useEffect)(()=>{let{current:r}=a;r&&r.addEventListener("suspend",()=>{})},[]),o&&typeof o=="object"){let{filename:r}=o;return(0,xe.jsx)("video",{autoPlay:!0,className:c(n),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:a,children:(0,xe.jsx)("source",{src:`${ot()}/media/${r}`})})}return null};var V=e=>{var s;let{className:t,htmlElement:o="div",resource:n}=e,a=typeof n=="object"&&((s=n==null?void 0:n.mimeType)==null?void 0:s.includes("video"));return(0,xe.jsx)(o||I.Fragment,{...o!==null?{className:t}:{},children:a?(0,xe.jsx)(rt,{...e}):(0,xe.jsx)(et,{...e})})};var ke=e=>{let{card:t,link:o}=qe({}),{className:n,doc:a,relationTo:r,showCategories:s,title:i}=e,{slug:l,categories:d,meta:u,title:p}=a||{},{description:g,image:v}=u||{},P=d&&Array.isArray(d)&&d.length>0,b=i||p,y=g==null?void 0:g.replace(/\s/g," "),w=`/${r}/${l}`;return(0,xe.jsxs)("article",{className:c("border border-border rounded-lg overflow-hidden bg-card hover:cursor-pointer",n),ref:t.ref,children:[(0,xe.jsxs)("div",{className:"relative w-full ",children:[!v&&(0,xe.jsx)("div",{className:"",children:"No image"}),v&&typeof v!="string"&&(0,xe.jsx)(V,{resource:v,size:"33vw"})]}),(0,xe.jsxs)("div",{className:"p-4",children:[s&&P&&(0,xe.jsx)("div",{className:"uppercase text-sm mb-4",children:s&&P&&(0,xe.jsx)("div",{children:d==null?void 0:d.map((N,T)=>{if(typeof N=="object"){let{title:B}=N,_=B||"Untitled category",oe=T===d.length-1;return(0,xe.jsxs)(I.Fragment,{children:[_,!oe&&(0,xe.jsx)(I.Fragment,{children:", \xA0"})]},T)}return null})})}),b&&(0,xe.jsx)("div",{className:"prose",children:(0,xe.jsx)("h3",{children:(0,xe.jsx)(at.default,{className:"not-prose",href:w,ref:o.ref,children:b})})}),g&&(0,xe.jsx)("div",{className:"xe-2",children:g&&(0,xe.jsx)("p",{children:y})})]})]})};var bo=e=>{let{posts:t}=e;return(0,xe.jsx)("div",{className:c("container"),children:(0,xe.jsx)("div",{children:(0,xe.jsx)("div",{className:"grid grid-cols-4 sm:grid-cols-8 lg:grid-cols-12 gap-y-4 gap-xe-4 lg:gap-y-8 lg:gap-xe-8 xl:gap-xe-8",children:t==null?void 0:t.map((o,n)=>typeof o=="object"&&o!==null?(0,xe.jsx)("div",{className:"col-span-4",children:(0,xe.jsx)(ke,{className:"h-full",doc:o,relationTo:"posts",showCategories:!0})},n):null)})})})};var st=require("@radix-ui/react-slot"),it=require("class-variance-authority"),lt=D(require("react")),Ce=(0,it.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"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-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),j=lt.forwardRef(({asChild:e=!1,className:t,size:o,variant:n,...a},r)=>(0,xe.jsx)(e?st.Slot:"button",{className:c(Ce({className:t,size:o,variant:n})),ref:r,...a}));j.displayName="Button";var Pe=D(require("next/link")),Y=e=>{let{type:t,appearance:o="inline",children:n,className:a,label:r,newTab:s,reference:i,size:l,url:d}=e,u=t==="reference"&&typeof(i==null?void 0:i.value)=="object"&&i.value.slug?`${(i==null?void 0:i.relationTo)!=="pages"?`/${i==null?void 0:i.relationTo}`:""}/${i.value.slug}`:d;if(!u)return null;let p=o==="link"?"clear":l,g=s?{rel:"noopener noreferrer",target:"_blank"}:{};return o==="inline"?(0,xe.jsxs)(Pe.default,{className:c(a),href:u||d||"",...g,children:[r&&r,n&&n]}):(0,xe.jsx)(j,{asChild:!0,className:a,size:p,variant:o,children:(0,xe.jsxs)(Pe.default,{className:c(a),href:u||d||"",...g,children:[r&&r,n&&n]})})};var dt=D(require("clsx")),pt=D(require("next/image")),yo=e=>{let{loading:t,priority:o,className:n}=e;return(0,xe.jsx)(pt.default,{alt:"Payload Logo",width:193,height:34,loading:t||"lazy",fetchPriority:o||"low",decoding:"async",className:(0,dt.default)("max-w-[9.375rem] w-full h-[34px]",n),src:"https://raw.githubusercontent.com/payloadcms/payload/main/packages/ui/src/assets/payload-logo-light.svg"})};var ho={plural:"Docs",singular:"Doc"},xo={posts:{plural:"Posts",singular:"Post"}},vo=e=>{let{className:t,collection:o,collectionLabels:n,currentPage:a,limit:r,totalDocs:s}=e,i=(a?a-1:1)*(r||1)+1;s&&i>s&&(i=0);let l=(a||1)*(r||1);s&&l>s&&(l=s);let{plural:d,singular:u}=n||xo[o||""]||ho||{};return(0,xe.jsxs)("div",{className:[t,"font-semibold"].filter(Boolean).join(" "),children:[(typeof s=="undefined"||s===0)&&"Search produced no results.",typeof s!="undefined"&&s>0&&`Showing ${i}${i>0?` - ${l}`:""} of ${s} ${s>1?d:u}`]})};var X=require("lucide-react"),Ne=D(require("react")),Ae=({className:e,...t})=>(0,xe.jsx)("nav",{"aria-label":"pagination",className:c("mx-auto flex w-full justify-center",e),role:"navigation",...t});Ae.displayName="Pagination";var Re=Ne.forwardRef(({className:e,...t},o)=>(0,xe.jsx)("ul",{className:c("flex flex-row items-center gap-1",e),ref:o,...t}));Re.displayName="PaginationContent";var E=Ne.forwardRef(({className:e,...t},o)=>(0,xe.jsx)("li",{className:c("",e),ref:o,...t}));E.displayName="PaginationItem";var O=({className:e,isActive:t,size:o="icon",...n})=>(0,xe.jsx)("button",{"aria-current":t?"page":void 0,className:c(Ce({size:o,variant:t?"outline":"ghost"}),e),...n});O.displayName="PaginationLink";var Be=({className:e,...t})=>(0,xe.jsxs)(O,{"aria-label":"Go to previous page",className:c("gap-1 pl-2.5",e),size:"default",...t,children:[(0,xe.jsx)(X.ChevronLeft,{className:"h-4 w-4"}),(0,xe.jsx)("span",{children:"Previous"})]});Be.displayName="PaginationPrevious";var Te=({className:e,...t})=>(0,xe.jsxs)(O,{"aria-label":"Go to next page",className:c("gap-1 pr-2.5",e),size:"default",...t,children:[(0,xe.jsx)("span",{children:"Next"}),(0,xe.jsx)(X.ChevronRight,{className:"h-4 w-4"})]});Te.displayName="PaginationNext";var le=({className:e,...t})=>(0,xe.jsxs)("span",{"aria-hidden":!0,className:c("flex h-9 w-9 items-center justify-center",e),...t,children:[(0,xe.jsx)(X.MoreHorizontal,{className:"h-4 w-4"}),(0,xe.jsx)("span",{className:"sr-only",children:"More pages"})]});le.displayName="PaginationEllipsis";var wo=e=>{let t=(0,Xe.useRouter)(),{className:o,page:n,totalPages:a}=e,r=n<a,s=n>1,i=n-1>1,l=n+1<a;return(0,xe.jsx)("div",{className:c("my-12",o),children:(0,xe.jsx)(Ae,{children:(0,xe.jsxs)(Re,{children:[(0,xe.jsx)(E,{children:(0,xe.jsx)(Be,{disabled:!s,onClick:()=>{t.push(`/posts/page/${n-1}`)}})}),i&&(0,xe.jsx)(E,{children:(0,xe.jsx)(le,{})}),s&&(0,xe.jsx)(E,{children:(0,xe.jsx)(O,{onClick:()=>{t.push(`/posts/page/${n-1}`)},children:n-1})}),(0,xe.jsx)(E,{children:(0,xe.jsx)(O,{isActive:!0,onClick:()=>{t.push(`/posts/page/${n}`)},children:n})}),r&&(0,xe.jsx)(E,{children:(0,xe.jsx)(O,{onClick:()=>{t.push(`/posts/page/${n+1}`)},children:n+1})}),l&&(0,xe.jsx)(E,{children:(0,xe.jsx)(le,{})}),(0,xe.jsx)(E,{children:(0,xe.jsx)(Te,{disabled:!r,onClick:()=>{t.push(`/posts/page/${n+1}`)}})})]})})})};var ft=({className:e,content:t,style:o})=>(0,xe.jsx)("div",{className:c("mx-auto my-8 w-full",e),children:(0,xe.jsx)("div",{className:c("border py-3 px-6 flex items-center rounded",{"border-border bg-card":o==="info","border-error bg-error/30":o==="error","border-success bg-success/30":o==="success","border-warning bg-warning/30":o==="warning"}),children:(0,xe.jsx)(z,{content:t,enableGutter:!1,enableProse:!1})})});var bt=({links:e,richText:t})=>(0,xe.jsx)("div",{className:"container",children:(0,xe.jsxs)("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,xe.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,xe.jsx)(z,{className:"mb-0",content:t,enableGutter:!1})}),(0,xe.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:o},n)=>(0,xe.jsx)(Y,{size:"lg",...o},n))})]})});var de=require("prism-react-renderer");function xt({code:e}){let[t,o]=(0,I.useState)("Copy");function n(){t==="Copy"&&(o(()=>"Copied!"),setTimeout(()=>{o(()=>"Copy")},1e3))}return(0,xe.jsx)("div",{className:"flex justify-end align-middle",children:(0,xe.jsxs)(j,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),n()},children:[(0,xe.jsx)("p",{children:t}),(0,xe.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,xe.jsx)(X.ClipboardCopy,{})})]})})}var vt=({code:e,language:t=""})=>e?(0,xe.jsx)(de.Highlight,{code:e,language:t,theme:de.themes.vsDark,children:({getLineProps:o,getTokenProps:n,tokens:a})=>(0,xe.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-xe-auto",children:[a.map((r,s)=>(0,xe.jsxs)("div",{...o({className:"table-row",line:r}),children:[(0,xe.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:s+1}),(0,xe.jsx)("span",{className:"table-cell pl-4",children:r.map((i,l)=>(0,xe.jsx)("span",{...n({token:i})},l))})]},s)),(0,xe.jsx)(xt,{code:e})]})}):null;var wt=({className:e,code:t,language:o})=>(0,xe.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,xe.jsx)(vt,{code:t,language:o})});var kt=e=>{let{className:t,enableGutter:o=!0,imgClassName:n,media:a,staticImage:r}=e;return(0,xe.jsx)("div",{className:c("h-full ",{container:o},t),children:(0,xe.jsx)(V,{imgClassName:c("rounded-[0.8rem]",n),className:"flex justify-center",resource:a,src:r})})};var Ct=e=>{let{className:t,enableGutter:o=!0,imgClassName:n,media:a,staticImage:r}=e;return(0,xe.jsx)("div",{className:c("",{container:o},t),children:(0,xe.jsx)(V,{imgClassName:c("rounded-[0.8rem]",n),resource:a,src:r})})};var Ee=({type:e="solid",iconName:t="cloud",size:o="lg",className:n})=>{let a=e.includes("fa-")?e+" ":"fa-"+e+" ",r="fa-"+t,s=n!=null?n:"",i=a+r+" fa-"+o+" "+s;return(0,xe.jsx)("i",{className:i})};function Nt(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function At({variant:e="outline",className:t,icon:o,iconSize:n="large",width:a="auto",order:r=0,heading:s,subheading:i,content:l,statistic:d,buttonText:u,buttonHref:p}){let g={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:""},v={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,xe.jsxs)("div",{className:c("rounded-3xl p-8 md:p-8 min-w-56 flex flex-col group",g[e],e==="outline"?"text-gray-900":"text-white",t,v[a],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${r+1}00`),children:[(0,xe.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,xe.jsx)(ko,{icon:o,heading:s,variant:e,iconSize:n})}),d&&(0,xe.jsx)("div",{className:"mb-6",children:(0,xe.jsx)("div",{className:c("text-4xl text-wrap font-bold leading-none overflow-hidden",e==="outline"||e==="light"?"text-primary":"text-white"),children:d})}),i&&(0,xe.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:i}),l&&typeof l=="object"&&(0,xe.jsx)("div",{className:c("space-y-6"),children:(0,xe.jsx)(z,{enableGutter:!1,content:l,enableProse:!1,className:c(e==="outline"||e==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100")})}),l&&typeof l=="string"&&(0,xe.jsx)("div",{className:c("space-y-6",e==="outline"||e==="light"?"text-gray-900":"text-gray-100"),children:l}),u&&(0,xe.jsx)("div",{className:"xe-auto pt-6 flex items-center justify-center",children:(0,xe.jsx)(j,{size:"lg",className:"text-white text-lg rounded-xl w-full xe-auto items-center justify-center",asChild:!0,children:(0,xe.jsx)("a",{href:p,children:u})})}),e==="radial"&&(0,xe.jsx)("div",{className:"absolute bottom-0 right-0 w-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})}var ko=({icon:e,heading:t,variant:o,iconSize:n})=>e&&n==="small"?(0,xe.jsxs)("div",{className:"flex items-start gap-4 mb-2",children:[Nt(e)&&(0,xe.jsx)("div",{className:c("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",o==="outline"||o==="light"?"text-primary":"text-white",n==="small"?"xe-2":""),children:(0,xe.jsx)(Ee,{type:e.type,iconName:e.iconName,size:"2x"})}),(0,xe.jsx)("div",{className:c("font-semibold",o==="outline"||o==="light"?"text-primary":"text-white",n==="small"?"text-2xl":"text-3xl"),children:t})]}):e?(0,xe.jsxs)("div",{className:"flex flex-col gap-4",children:[Nt(e)&&(0,xe.jsx)("div",{className:c("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",o==="outline"||o==="light"?"text-accent":""),children:(0,xe.jsx)(Ee,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,xe.jsx)("h3",{className:c("font-semibold",o==="outline"||o==="light"?"text-2xl text-primary":"text-3xl"),children:t})]}):(0,xe.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,xe.jsx)("div",{className:c("font-semibold",o==="outline"||o==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var Rt=({title:e,description:t,features:o,id:n,nested:a=!1})=>(0,xe.jsxs)("section",{className:c(!a&&"container","w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,xe.jsx)("h2",{className:"mb-6 xe-0 text-2xl font-bold md:text-3xl text-primary",id:n||"",children:e}),t&&typeof t=="string"&&(0,xe.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:t}),t&&typeof t=="object"&&(0,xe.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:(0,xe.jsx)(z,{content:t,enableGutter:!1})}),(0,xe.jsx)("div",{className:`grid gap-8 xe-10 md:grid-cols-${o?o.length:1}`,children:o&&o.map((r,s)=>{var l,d,u,p,g;let i=()=>{if(r.icon&&"type"in r.icon&&r.icon.type!=="none")return{type:r.icon.type,iconName:r.icon.icon}};return(0,xe.jsx)(At,{variant:((l=r.settings)==null?void 0:l.card)==="default"?"light":((d=r.settings)==null?void 0:d.card)||"outline",icon:i()||void 0,iconSize:((u=r.settings)==null?void 0:u.iconSize)||"large",width:"auto",order:s,heading:r.title||"",content:r.content||void 0,statistic:r.statistic||void 0,buttonText:(p=r.link)!=null&&p.url?"Find out more":void 0,buttonHref:((g=r.link)==null?void 0:g.url)||void 0},s)})})]});var pe=D(require("react"));function te({nodes:e}){return(0,xe.jsx)(pe.Fragment,{children:e==null?void 0:e.map((t,o)=>{if(t==null)return null;if(t.type==="text"&&t.text){let r=(0,xe.jsx)(pe.default.Fragment,{children:t.text},o);return t.format&1&&(r=(0,xe.jsx)("strong",{children:r},o)),t.format&2&&(r=(0,xe.jsx)("em",{children:r},o)),t.format&4&&(r=(0,xe.jsx)("span",{style:{textDecoration:"line-through"},children:r},o)),t.format&8&&(r=(0,xe.jsx)("span",{style:{textDecoration:"underline"},children:r},o)),t.format&16&&(r=(0,xe.jsx)("code",{children:t.text},o)),t.format&32&&(r=(0,xe.jsx)("sub",{children:r},o)),t.format&64&&(r=(0,xe.jsx)("sup",{children:r},o)),r}if(t.type==="table")return(0,xe.jsx)("table",{children:(0,xe.jsx)("tbody",{children:t.children.map((r,s)=>(0,xe.jsx)("tr",{children:r.children.map((i,l)=>(0,xe.jsx)("td",{children:te({nodes:i.children})},l))},s))})},o);let n=r=>{if(r.children==null)return null;if((r==null?void 0:r.type)==="list"&&(r==null?void 0:r.listType)==="check")for(let s of r.children)"checked"in s&&(s!=null&&s.checked||(s.checked=!1));return te({nodes:r.children})},a="children"in t?n(t):"";if(t.type==="block"){let r=t.fields,s=r==null?void 0:r.blockType;if(!r||!s)return null;switch(s){case"cta":return(0,xe.jsx)(bt,{...r},o);case"mediaBlock":return(0,xe.jsx)(kt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...r,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},o);case"imageBlock":return(0,xe.jsx)(Ct,{className:"col-start-1 col-span-3",imgClassName:"m-0",...r,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},o);case"banner":return(0,xe.jsx)(ft,{className:"col-start-2 mb-4",...r},o);case"code":return(0,xe.jsx)(wt,{className:"col-start-2",...r},o);case"features":return(0,xe.jsx)(Rt,{...r,nested:!0},o);case"reusableContentBlock":te({nodes:r.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,xe.jsx)("br",{className:"col-start-2"},o);case"paragraph":return(0,xe.jsx)("p",{className:"col-start-2",children:a},o);case"heading":{let r=t==null?void 0:t.tag;return(0,xe.jsx)(r,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:a},o)}case"list":{let r=t==null?void 0:t.tag;return(0,xe.jsx)(r,{className:"list col-start-2",children:a},o)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,xe.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:a},o):(0,xe.jsx)("li",{value:t==null?void 0:t.value,children:a},o);case"quote":return(0,xe.jsx)("blockquote",{className:"col-start-2",children:a},o);case"link":{let r=t.fields;return(0,xe.jsx)(Y,{newTab:!!(r!=null&&r.newTab),reference:r.doc,type:r.linkType==="internal"?"reference":"custom",url:r.url,children:a},o)}case"autolink":{let r=t.fields;return(0,xe.jsx)(Y,{newTab:!!(r!=null&&r.newTab),reference:r.doc,type:r.linkType==="internal"?"reference":"custom",url:r.url,children:a},o)}default:return null}})})}var z=({className:e,content:t,enableGutter:o=!0,enableProse:n=!0})=>{var a;return t?(0,xe.jsx)("div",{className:c({"container ":o,"max-w-none":!o,"mx-auto prose dark:prose-invert ":n},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&te({nodes:(a=t==null?void 0:t.root)==null?void 0:a.children})}):null};0&&(module.exports={CMSLink,Card,CollectionArchive,Logo,Media,PageRange,PayloadPagination,RichText});
4
+ "use strict";var Tt=Object.create;var ne=Object.defineProperty;var St=Object.getOwnPropertyDescriptor;var Mt=Object.getOwnPropertyNames;var Et=Object.getPrototypeOf,Lt=Object.prototype.hasOwnProperty;var zt=(e,t)=>{for(var r in t)ne(e,r,{get:t[r],enumerable:!0})},je=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of Mt(t))!Lt.call(e,s)&&s!==r&&ne(e,s,{get:()=>t[s],enumerable:!(n=St(t,s))||n.enumerable});return e};var M=(e,t,r)=>(r=e!=null?Tt(Et(e)):{},je(t||!e||!e.__esModule?ne(r,"default",{value:e,enumerable:!0}):r,e)),Ft=e=>je(ne({},"__esModule",{value:!0}),e);var Cr={};zt(Cr,{CMSLink:()=>K,Card:()=>ke,CollectionArchive:()=>br,Logo:()=>yr,Media:()=>j,PageRange:()=>vr,PayloadPagination:()=>wr,RichText:()=>z});module.exports=Ft(Cr);var Xe=require("clsx");var he="-",Dt=e=>{let t=Ut(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:a=>{let l=a.split(he);return l[0]===""&&l.length!==1&&l.shift(),Qe(l,t)||Gt(a)},getConflictingClassGroupIds:(a,l)=>{let c=r[a]||[];return l&&n[a]?[...c,...n[a]]:c}}},Qe=(e,t)=>{var a;if(e.length===0)return t.classGroupId;let r=e[0],n=t.nextPart.get(r),s=n?Qe(e.slice(1),n):void 0;if(s)return s;if(t.validators.length===0)return;let o=e.join(he);return(a=t.validators.find(({validator:l})=>l(o)))==null?void 0:a.classGroupId},Ve=/^\[(.+)\]$/,Gt=e=>{if(Ve.test(e)){let t=Ve.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Ut=e=>{let{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return jt(Object.entries(e.classGroups),r).forEach(([o,a])=>{ye(a,n,o,t)}),n},ye=(e,t,r,n)=>{e.forEach(s=>{if(typeof s=="string"){let o=s===""?t:Oe(t,s);o.classGroupId=r;return}if(typeof s=="function"){if(Ht(s)){ye(s(n),t,r,n);return}t.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([o,a])=>{ye(a,Oe(t,o),r,n)})})},Oe=(e,t)=>{let r=e;return t.split(he).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},Ht=e=>e.isThemeGetter,jt=(e,t)=>t?e.map(([r,n])=>{let s=n.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([a,l])=>[t+a,l])):o);return[r,s]}):e,Vt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map,s=(o,a)=>{r.set(o,a),t++,t>e&&(t=0,n=r,r=new Map)};return{get(o){let a=r.get(o);if(a!==void 0)return a;if((a=n.get(o))!==void 0)return s(o,a),a},set(o,a){r.has(o)?r.set(o,a):s(o,a)}}},_e="!",Ot=e=>{let{separator:t,experimentalParseClassName:r}=e,n=t.length===1,s=t[0],o=t.length,a=l=>{let c=[],d=0,f=0,m;for(let y=0;y<l.length;y++){let v=l[y];if(d===0){if(v===s&&(n||l.slice(y,y+o)===t)){c.push(l.slice(f,y)),f=y+o;continue}if(v==="/"){m=y;continue}}v==="["?d++:v==="]"&&d--}let u=c.length===0?l:l.substring(f),k=u.startsWith(_e),P=k?u.substring(1):u,b=m&&m>f?m-f:void 0;return{modifiers:c,hasImportantModifier:k,baseClassName:P,maybePostfixModifierPosition:b}};return r?l=>r({className:l,parseClassName:a}):a},Qt=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(n=>{n[0]==="["?(t.push(...r.sort(),n),r=[]):r.push(n)}),t.push(...r.sort()),t},_t=e=>({cache:Vt(e.cacheSize),parseClassName:Ot(e),...Dt(e)}),Jt=/\s+/,$t=(e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:s}=t,o=[],a=e.trim().split(Jt),l="";for(let c=a.length-1;c>=0;c-=1){let d=a[c],{modifiers:f,hasImportantModifier:m,baseClassName:u,maybePostfixModifierPosition:k}=r(d),P=!!k,b=n(P?u.substring(0,k):u);if(!b){if(!P){l=d+(l.length>0?" "+l:l);continue}if(b=n(u),!b){l=d+(l.length>0?" "+l:l);continue}P=!1}let y=Qt(f).join(":"),v=m?y+_e:y,N=v+b;if(o.includes(N))continue;o.push(N);let I=s(b,P);for(let B=0;B<I.length;++B){let Q=I[B];o.push(v+Q)}l=d+(l.length>0?" "+l:l)}return l};function Kt(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Je(t))&&(n&&(n+=" "),n+=r);return n}var Je=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=Je(e[n]))&&(r&&(r+=" "),r+=t);return r};function Yt(e,...t){let r,n,s,o=a;function a(c){let d=t.reduce((f,m)=>m(f),e());return r=_t(d),n=r.cache.get,s=r.cache.set,o=l,l(c)}function l(c){let d=n(c);if(d)return d;let f=$t(c,r);return s(c,f),f}return function(){return o(Kt.apply(null,arguments))}}var x=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},$e=/^\[(?:([a-z-]+):)?(.+)\]$/i,Xt=/^\d+\/\d+$/,qt=new Set(["px","full","screen"]),Wt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Zt=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|xe|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|xe|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,er=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,tr=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,rr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,E=e=>_(e)||qt.has(e)||Xt.test(e),G=e=>J(e,"length",pr),_=e=>!!e&&!Number.isNaN(Number(e)),be=e=>J(e,"number",_),q=e=>!!e&&Number.isInteger(Number(e)),or=e=>e.endsWith("%")&&_(e.slice(0,-1)),p=e=>$e.test(e),U=e=>Wt.test(e),ar=new Set(["length","size","percentage"]),nr=e=>J(e,ar,Ke),sr=e=>J(e,"position",Ke),lr=new Set(["image","url"]),ir=e=>J(e,lr,mr),cr=e=>J(e,"",dr),W=()=>!0,J=(e,t,r)=>{let n=$e.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1},pr=e=>Zt.test(e)&&!er.test(e),Ke=()=>!1,dr=e=>tr.test(e),mr=e=>rr.test(e);var ur=()=>{let e=x("colors"),t=x("spacing"),r=x("blur"),n=x("brightness"),s=x("borderColor"),o=x("borderRadius"),a=x("borderSpacing"),l=x("borderWidth"),c=x("contrast"),d=x("grayscale"),f=x("hueRotate"),m=x("invert"),u=x("gap"),k=x("gradientColorStops"),P=x("gradientColorStopPositions"),b=x("inset"),y=x("margin"),v=x("opacity"),N=x("padding"),I=x("saturate"),B=x("scale"),Q=x("sepia"),re=x("skew"),ze=x("space"),Fe=x("translate"),me=()=>["auto","contain","none"],ue=()=>["auto","hidden","clip","visible","scroll"],fe=()=>["auto",p,t],w=()=>[p,t],De=()=>["",E,G],oe=()=>["auto",_,p],Ge=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ae=()=>["solid","dashed","dotted","double","none"],Ue=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ge=()=>["start","end","center","between","around","evenly","stretch"],X=()=>["","0",p],He=()=>["auto","avoid","all","avoid-page","page","left","right","column"],S=()=>[_,p];return{cacheSize:500,separator:":",theme:{colors:[W],spacing:[E,G],blur:["none","",U,p],brightness:S(),borderColor:[e],borderRadius:["none","","full",U,p],borderSpacing:w(),borderWidth:De(),contrast:S(),grayscale:X(),hueRotate:S(),invert:X(),gap:w(),gradientColorStops:[e],gradientColorStopPositions:[or,G],inset:fe(),margin:fe(),opacity:S(),padding:w(),saturate:S(),scale:S(),sepia:X(),skew:S(),space:w(),translate:w()},classGroups:{aspect:[{aspect:["auto","square","video",p]}],container:["container"],columns:[{columns:[U]}],"break-after":[{"break-after":He()}],"break-before":[{"break-before":He()}],"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:[...Ge(),p]}],overflow:[{overflow:ue()}],"overflow-x":[{"overflow-x":ue()}],"overflow-y":[{"overflow-y":ue()}],overscroll:[{overscroll:me()}],"overscroll-x":[{"overscroll-x":me()}],"overscroll-y":[{"overscroll-y":me()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[b]}],"inset-x":[{"inset-x":[b]}],"inset-y":[{"inset-y":[b]}],start:[{start:[b]}],end:[{end:[b]}],top:[{top:[b]}],right:[{right:[b]}],bottom:[{bottom:[b]}],left:[{left:[b]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",q,p]}],basis:[{basis:fe()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",p]}],grow:[{grow:X()}],shrink:[{shrink:X()}],order:[{order:["first","last","none",q,p]}],"grid-cols":[{"grid-cols":[W]}],"col-start-end":[{col:["auto",{span:["full",q,p]},p]}],"col-start":[{"col-start":oe()}],"col-end":[{"col-end":oe()}],"grid-rows":[{"grid-rows":[W]}],"row-start-end":[{row:["auto",{span:[q,p]},p]}],"row-start":[{"row-start":oe()}],"row-end":[{"row-end":oe()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",p]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",p]}],gap:[{gap:[u]}],"gap-x":[{"gap-x":[u]}],"gap-y":[{"gap-y":[u]}],"justify-content":[{justify:["normal",...ge()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ge(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ge(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[N]}],px:[{px:[N]}],py:[{py:[N]}],ps:[{ps:[N]}],pe:[{pe:[N]}],xe:[{xe:[N]}],pr:[{pr:[N]}],pb:[{pb:[N]}],pl:[{pl:[N]}],m:[{m:[y]}],mx:[{mx:[y]}],my:[{my:[y]}],ms:[{ms:[y]}],me:[{me:[y]}],mt:[{mt:[y]}],mr:[{mr:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-x":[{"space-x":[ze]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[ze]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",p,t]}],"min-w":[{"min-w":[p,t,"min","max","fit"]}],"max-w":[{"max-w":[p,t,"none","full","min","max","fit","prose",{screen:[U]},U]}],xe:[{xe:[p,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-xe":[{"min-xe":[p,t,"min","max","fit","svh","lvh","dvh"]}],"max-xe":[{"max-xe":[p,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[p,t,"auto","min","max","fit"]}],"font-size":[{text:["base",U,G]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",be]}],"font-family":[{font:[W]}],"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",p]}],"line-clamp":[{"line-clamp":["none",_,be]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",E,p]}],"list-image":[{"list-image":["none",p]}],"list-style-type":[{list:["none","disc","decimal",p]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ae(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",E,G]}],"underline-offset":[{"underline-offset":["auto",E,p]}],"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:w()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",p]}],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",p]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Ge(),sr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",nr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},ir]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[P]}],"gradient-via-pos":[{via:[P]}],"gradient-to-pos":[{to:[P]}],"gradient-from":[{from:[k]}],"gradient-via":[{via:[k]}],"gradient-to":[{to:[k]}],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-T":[{"rounded-T":[o]}],"rounded-xe":[{"rounded-xe":[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:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:[...ae(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:ae()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...ae()]}],"outline-offset":[{"outline-offset":[E,p]}],"outline-w":[{outline:[E,G]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:De()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[E,G]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",U,cr]}],"shadow-color":[{shadow:[W]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":[...Ue(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Ue()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",U,p]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[m]}],saturate:[{saturate:[I]}],sepia:[{sepia:[Q]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[m]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[I]}],"backdrop-sepia":[{"backdrop-sepia":[Q]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",p]}],duration:[{duration:S()}],ease:[{ease:["linear","in","out","in-out",p]}],delay:[{delay:S()}],animate:[{animate:["none","spin","ping","pulse","bounce",p]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[B]}],"scale-x":[{"scale-x":[B]}],"scale-y":[{"scale-y":[B]}],rotate:[{rotate:[q,p]}],"translate-x":[{"translate-x":[Fe]}],"translate-y":[{"translate-y":[Fe]}],"skew-x":[{"skew-x":[re]}],"skew-y":[{"skew-y":[re]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",p]}],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","T-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",p]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-xe":[{"scroll-xe":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",p]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[E,G,be]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","xe","pr","pb","pl"],px:["pr","pl"],py:["xe","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","xe"],"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-T","rounded-xe","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-T","rounded-xe"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-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-y":["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-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-xe","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-xe","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Ye=Yt(ur);function i(...e){return Ye((0,Xe.clsx)(e))}var qe=require("next/navigation"),T=require("react");function fr({external:e=!1,newTab:t=!1,scroll:r=!0}){let n=(0,qe.useRouter)(),s=(0,T.useRef)(null),o=(0,T.useRef)(null),a=(0,T.useRef)(0),l=(0,T.useRef)(!1),c=(0,T.useRef)(0),d=(0,T.useCallback)(m=>{if(m.target){let u=m.target,k=+new Date,P=u==null?void 0:u.closest("a");c.current=m.button,P?l.current=!0:(l.current=!1,a.current=k)}},[n,s,o,a]),f=(0,T.useCallback)(m=>{var u,k;if((u=o.current)!=null&&u.href){let b=+new Date-a.current;if((k=o.current)!=null&&k.href&&b<=250&&!l.current&&c.current===0&&!m.ctrlKey)if(e){let y=t?"_blank":"_self";window.open(o.current.href,y)}else n.push(o.current.href,{scroll:r})}},[n,s,o,a]);return(0,T.useEffect)(()=>{let m=s.current;return m&&(m.addEventListener("mousedown",d),m.addEventListener("mouseup",f)),()=>{m&&m&&(m==null||m.removeEventListener("mousedown",d),m==null||m.removeEventListener("mouseup",f))}},[s,o,n]),{card:{ref:s},link:{ref:o}}}var We=fr;var st=M(require("next/link"));var et=M(require("next/image")),xe=require("react/jsx-runtime"),gr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Ze="data:image/png;base64,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",tt=e=>{let{alt:t,fill:r,imgClassName:n,priority:s,resource:o,size:a,src:l,loading:c}=e,d,f,m=t,u=l||"";if(!u&&o&&typeof o=="object"){let{alt:b,filename:y,height:v,url:N,width:I}=o;if(v&&v>500){let B=500/v;d=I*B,f=v*B}else d=I,f=v;m=b||"",u=N||Ze}let k=c||"lazy",P=a||Object.entries(gr).map(([,b])=>`(max-width: ${b}px) ${b*2}w`).join(", ");return(0,xe.jsx)("picture",{children:(0,xe.jsx)(et.default,{alt:m||"",className:i(n),fill:r,height:r?void 0:f,placeholder:"blur",blurDataURL:Ze,priority:k!=="lazy"&&s,quality:100,loading:k,sizes:P,src:u,width:r?void 0:d})})};var rt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var ot=()=>{if(rt){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var at=e=>{let{onClick:t,resource:r,videoClassName:n}=e,s=(0,T.useRef)(null);if((0,T.useEffect)(()=>{let{current:o}=s;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,xe.jsx)("video",{autoPlay:!0,className:i(n),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:s,children:(0,xe.jsx)("source",{src:`${ot()}/media/${o}`})})}return null};var j=e=>{var a;let{className:t,htmlElement:r="div",resource:n}=e,s=typeof n=="object"&&((a=n==null?void 0:n.mimeType)==null?void 0:a.includes("video"));return(0,xe.jsx)(r||T.Fragment,{...r!==null?{className:t}:{},children:s?(0,xe.jsx)(at,{...e}):(0,xe.jsx)(tt,{...e})})};var ke=e=>{let{card:t,link:r}=We({}),{className:n,doc:s,relationTo:o,showCategories:a,title:l}=e,{slug:c,categories:d,meta:f,title:m}=s||{},{description:u,image:k}=f||{},P=d&&Array.isArray(d)&&d.length>0,b=l||m,y=u==null?void 0:u.replace(/\s/xe," "),v=`/${o}/${c}`;return(0,xe.jsxs)("article",{className:i("border border-border rounded-lg overflow-hidden bg-card hover:cursor-pointer",n),ref:t.ref,children:[(0,xe.jsxs)("div",{className:"relative w-full ",children:[!k&&(0,xe.jsx)("div",{className:"",children:"No image"}),k&&typeof k!="string"&&(0,xe.jsx)(j,{resource:k,size:"33vw"})]}),(0,xe.jsxs)("div",{className:"p-4",children:[a&&P&&(0,xe.jsx)("div",{className:"uppercase text-sm mb-4",children:a&&P&&(0,xe.jsx)("div",{children:d==null?void 0:d.map((N,I)=>{if(typeof N=="object"){let{title:B}=N,Q=B||"Untitled category",re=I===d.length-1;return(0,xe.jsxs)(T.Fragment,{children:[Q,!re&&(0,xe.jsx)(T.Fragment,{children:", \xA0"})]},I)}return null})})}),b&&(0,xe.jsx)("div",{className:"prose",children:(0,xe.jsx)("h3",{children:(0,xe.jsx)(st.default,{className:"not-prose",href:v,ref:r.ref,children:b})})}),u&&(0,xe.jsx)("div",{className:"mt-2",children:u&&(0,xe.jsx)("p",{children:y})})]})]})};var br=e=>{let{posts:t}=e;return(0,$.jsx)("div",{className:i("container"),children:(0,$.jsx)("div",{children:(0,$.jsx)("div",{className:"grid grid-cols-4 sm:grid-cols-8 lg:grid-cols-12 gap-y-4 gap-x-4 lg:gap-y-8 lg:gap-x-8 xl:gap-x-8",children:t==null?void 0:t.map((r,n)=>typeof r=="object"&&r!==null?(0,$.jsx)("div",{className:"col-span-4",children:(0,$.jsx)(ke,{className:"xe-full",doc:r,relationTo:"posts",showCategories:!0})},n):null)})})})};var lt=require("@radix-ui/react-slot"),it=require("class-variance-authority"),ct=M(require("react")),Ce=(0,it.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"xe-10 px-4 py-2",icon:"xe-10 w-10",lg:"xe-11 rounded px-8",sm:"xe-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),Z=ct.forwardRef(({asChild:e=!1,className:t,size:r,variant:n,...s},o)=>(0,xe.jsx)(e?lt.Slot:"button",{className:i(Ce({className:t,size:r,variant:n})),ref:o,...s}));Z.displayName="Button";var Pe=M(require("next/link")),K=e=>{let{type:t,appearance:r="inline",children:n,className:s,label:o,newTab:a,reference:l,size:c,url:d}=e,f=t==="reference"&&typeof(l==null?void 0:l.value)=="object"&&l.value.slug?`${(l==null?void 0:l.relationTo)!=="pages"?`/${l==null?void 0:l.relationTo}`:""}/${l.value.slug}`:d;if(!f)return null;let m=r==="link"?"clear":c,u=a?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,xe.jsxs)(Pe.default,{className:i(s),href:f||d||"",...u,children:[o&&o,n&&n]}):(0,xe.jsx)(Z,{asChild:!0,className:s,size:m,variant:r,children:(0,xe.jsxs)(Pe.default,{className:i(s),href:f||d||"",...u,children:[o&&o,n&&n]})})};var dt=M(require("clsx")),mt=M(require("next/image")),yr=e=>{let{loading:t,priority:r,className:n}=e;return(0,xe.jsx)(mt.default,{alt:"Payload Logo",width:193,height:34,loading:t||"lazy",fetchPriority:r||"low",decoding:"async",className:(0,dt.default)("max-w-[9.375rem] w-full xe-[34px]",n),src:"https://raw.githubusercontent.com/payloadcms/payload/main/packages/ui/src/assets/payload-logo-light.svg"})};var hr={plural:"Docs",singular:"Doc"},xr={posts:{plural:"Posts",singular:"Post"}},vr=e=>{let{className:t,collection:r,collectionLabels:n,currentPage:s,limit:o,totalDocs:a}=e,l=(s?s-1:1)*(o||1)+1;a&&l>a&&(l=0);let c=(s||1)*(o||1);a&&c>a&&(c=a);let{plural:d,singular:f}=n||xr[r||""]||hr||{};return(0,xe.jsxs)("div",{className:[t,"font-semibold"].filter(Boolean).join(" "),children:[(typeof a=="undefined"||a===0)&&"Search produced no results.",typeof a!="undefined"&&a>0&&`Showing ${l}${l>0?` - ${c}`:""} of ${a} ${a>1?d:f}`]})};var Y=require("lucide-react"),Ne=M(require("react")),Ae=({className:e,...t})=>(0,xe.jsx)("nav",{"aria-label":"pagination",className:i("mx-auto flex w-full justify-center",e),role:"navigation",...t});Ae.displayName="Pagination";var Re=Ne.forwardRef(({className:e,...t},r)=>(0,xe.jsx)("ul",{className:i("flex flex-row items-center gap-1",e),ref:r,...t}));Re.displayName="PaginationContent";var L=Ne.forwardRef(({className:e,...t},r)=>(0,xe.jsx)("li",{className:i("",e),ref:r,...t}));L.displayName="PaginationItem";var V=({className:e,isActive:t,size:r="icon",...n})=>(0,xe.jsx)("button",{"aria-current":t?"page":void 0,className:i(Ce({size:r,variant:t?"outline":"ghost"}),e),...n});V.displayName="PaginationLink";var Be=({className:e,...t})=>(0,xe.jsxs)(V,{"aria-label":"Go to previous page",className:i("gap-1 pl-2.5",e),size:"default",...t,children:[(0,xe.jsx)(Y.ChevronLeft,{className:"xe-4 w-4"}),(0,xe.jsx)("span",{children:"Previous"})]});Be.displayName="PaginationPrevious";var Ie=({className:e,...t})=>(0,xe.jsxs)(V,{"aria-label":"Go to next page",className:i("gap-1 pr-2.5",e),size:"default",...t,children:[(0,xe.jsx)("span",{children:"Next"}),(0,xe.jsx)(Y.ChevronRight,{className:"xe-4 w-4"})]});Ie.displayName="PaginationNext";var ie=({className:e,...t})=>(0,xe.jsxs)("span",{"aria-hidden":!0,className:i("flex xe-9 w-9 items-center justify-center",e),...t,children:[(0,xe.jsx)(Y.MoreHorizontal,{className:"xe-4 w-4"}),(0,xe.jsx)("span",{className:"sr-only",children:"More pages"})]});ie.displayName="PaginationEllipsis";var wr=e=>{let t=(0,qe.useRouter)(),{className:r,page:n,totalPages:s}=e,o=n<s,a=n>1,l=n-1>1,c=n+1<s;return(0,xe.jsx)("div",{className:i("my-12",r),children:(0,xe.jsx)(Ae,{children:(0,xe.jsxs)(Re,{children:[(0,xe.jsx)(L,{children:(0,xe.jsx)(Be,{disabled:!a,onClick:()=>{t.push(`/posts/page/${n-1}`)}})}),l&&(0,xe.jsx)(L,{children:(0,xe.jsx)(ie,{})}),a&&(0,xe.jsx)(L,{children:(0,xe.jsx)(V,{onClick:()=>{t.push(`/posts/page/${n-1}`)},children:n-1})}),(0,xe.jsx)(L,{children:(0,xe.jsx)(V,{isActive:!0,onClick:()=>{t.push(`/posts/page/${n}`)},children:n})}),o&&(0,xe.jsx)(L,{children:(0,xe.jsx)(V,{onClick:()=>{t.push(`/posts/page/${n+1}`)},children:n+1})}),c&&(0,xe.jsx)(L,{children:(0,xe.jsx)(ie,{})}),(0,xe.jsx)(L,{children:(0,xe.jsx)(Ie,{disabled:!o,onClick:()=>{t.push(`/posts/page/${n+1}`)}})})]})})})};var bt=({className:e,content:t,style:r})=>(0,xe.jsx)("div",{className:i("mx-auto my-8 w-full",e),children:(0,xe.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,xe.jsx)(z,{content:t,enableGutter:!1,enableProse:!1})})});var yt=({links:e,richText:t})=>(0,xe.jsx)("div",{className:"container",children:(0,xe.jsxs)("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,xe.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,xe.jsx)(z,{className:"mb-0",content:t,enableGutter:!1})}),(0,xe.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},n)=>(0,xe.jsx)(K,{size:"lg",...r},n))})]})});var pe=require("prism-react-renderer");function vt({code:e}){let[t,r]=(0,T.useState)("Copy");function n(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,xe.jsx)("div",{className:"flex justify-end align-middle",children:(0,xe.jsxs)(Z,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),n()},children:[(0,xe.jsx)("p",{children:t}),(0,xe.jsx)("div",{className:"w-6 xe-6 dark:invert",children:(0,xe.jsx)(Y.ClipboardCopy,{})})]})})}var wt=({code:e,language:t=""})=>e?(0,xe.jsx)(pe.Highlight,{code:e,language:t,theme:pe.themes.vsDark,children:({getLineProps:r,getTokenProps:n,tokens:s})=>(0,xe.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[s.map((o,a)=>(0,xe.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,xe.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:a+1}),(0,xe.jsx)("span",{className:"table-cell pl-4",children:o.map((l,c)=>(0,xe.jsx)("span",{...n({token:l})},c))})]},a)),(0,xe.jsx)(vt,{code:e})]})}):null;var kt=({className:e,code:t,language:r})=>(0,xe.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,xe.jsx)(wt,{code:t,language:r})});var Ct=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:s,staticImage:o}=e;return(0,xe.jsx)("div",{className:i("xe-full ",{container:r},t),children:(0,xe.jsx)(j,{imgClassName:i("rounded-[0.8rem]",n),className:"flex justify-center",resource:s,src:o})})};var Pt=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:s,staticImage:o}=e;return(0,xe.jsx)("div",{className:i("",{container:r},t),children:(0,xe.jsx)(j,{imgClassName:i("rounded-[0.8rem]",n),resource:s,src:o})})};var Ee=({type:e="solid",iconName:t="cloud",size:r="lg",className:n})=>{let s=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,a=n!=null?n:"",l=s+o+" fa-"+r+" "+a;return(0,xe.jsx)("i",{className:l})};var Rt=M(require("next/image"));function At(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function Le({image:e,icon:t,title:r,subtitle:n,content:s,statistic:o,settings:a,link:l,className:c}){var m,u;let d={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"},f={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,xe.jsxs)("div",{className:i("min-w-56 max-w-xl xe-full flex flex-col group",e?"p-0 md:p-0":"p-8 md:p-8",a&&!e&&d[(a==null?void 0:a.card)==="default"?"solid":a==null?void 0:a.card],e&&"bg-foreground",a&&(a==null?void 0:a.card)==="outline"?"text-gray-900":"text-white",f[(m=a==null?void 0:a.width)!=null?m:"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",a&&`intersect:animate-delay-${a.order||1}00`,c),children:[e&&(0,xe.jsx)("div",{className:"relative xe-1/2 lg:xe-2/3 w-full mb-0",children:(0,xe.jsx)(Rt.default,{src:e.url||"/placeholder.svg",alt:e.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),(0,xe.jsxs)("div",{className:i(e?"p-4 md:p-1 md:px-8":"p-0 md:p-0","flex xe-2/5 md:max-xe-1/2 flex-col flex-grow"),children:[n&&(0,xe.jsx)("div",{className:"mb-4 text-primary uppercase font-light",children:n}),(0,xe.jsx)("div",{className:"flex items-center gap-4 mb-2 md:mb-0",children:(0,xe.jsx)(kr,{icon:{type:(t==null?void 0:t.type)||"fa-light",iconName:(t==null?void 0:t.icon)||"no-icon-error"},heading:r!=null?r:"",variant:(a==null?void 0:a.card)==="default"?"solid":(u=a==null?void 0:a.card)!=null?u:"solid",iconSize:(a==null?void 0:a.iconSize)||"large"})}),o&&(0,xe.jsx)("div",{className:"mb-6",children:(0,xe.jsx)("div",{className:i("text-4xl text-wrap font-bold leading-none overflow-hidden",(a==null?void 0:a.card)==="outline"||(a==null?void 0:a.card)==="light"?"text-brand-green":"text-white"),children:o})}),s&&typeof s=="object"&&(0,xe.jsx)(z,{enableGutter:!1,content:s,enableProse:!1,className:i("space-y-6",(a==null?void 0:a.card)==="outline"||(a==null?void 0:a.card)==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100",e&&"prose prose-headings:text-background prose-p:text-background")}),s&&typeof s=="string"&&(0,xe.jsx)("div",{className:i("space-y-6",(a==null?void 0:a.card)==="outline"||(a==null?void 0:a.card)==="light"?"prose text-foreground":"prose text-gray-100",e&&"prose text-background"),children:s}),l&&l.url&&(0,xe.jsx)("div",{className:"xe-6 xe-full flex items-end justify-start",children:(0,xe.jsx)("a",{className:"text-accent justify-start font-semibold uppercase",href:l.url||"#",children:(l==null?void 0:l.label)||"Find out more"})}),(a==null?void 0:a.card)==="radial"&&(0,xe.jsx)("div",{className:"absolute bottom-0 right-0 w-2/3 xe-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})]})}var kr=({icon:e,heading:t,variant:r,iconSize:n,subtitle:s})=>e&&n==="small"&&e.iconName!="no-icon-error"?(0,xe.jsxs)("div",{className:"flex items-start justify-between w-full mb-2",children:[(0,xe.jsx)("div",{className:i("font-semibold",r==="outline"||r==="light"?"text-primary":"text-white",n==="small"?"text-2xl":"text-3xl"),children:t}),At(e)&&(0,xe.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",n==="small"?"mt-2":""),children:(0,xe.jsx)(Ee,{type:e.type,iconName:e.iconName,size:"2x"})})]}):e&&e.iconName!="no-icon-error"?(0,xe.jsxs)("div",{className:"flex flex-col gap-4",children:[At(e)&&(0,xe.jsx)("div",{className:i("xe-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-accent":""),children:(0,xe.jsx)(Ee,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,xe.jsx)("h3",{className:i("font-normal",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})]}):(0,xe.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,xe.jsx)("div",{className:i("font-regular",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var Bt=({title:e,description:t,features:r,id:n,nested:s=!1})=>(0,xe.jsxs)("section",{className:i(!s&&"container","w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,xe.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl text-primary",id:n||"",children:e}),t&&typeof t=="string"&&(0,xe.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:t}),t&&typeof t=="object"&&(0,xe.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:(0,xe.jsx)(z,{content:t,enableGutter:!1})}),(0,xe.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((o,a)=>{var c;let l=()=>{if(o.icon&&"type"in o.icon&&o.icon.type!=="none")return{type:o.icon.type,iconName:o.icon.icon}};return(0,xe.jsx)(Le,{title:o.title||"",content:o.content||void 0,statistic:o.statistic||void 0,settings:{...o.settings,width:"auto",order:a},link:o.link?{...o.link,label:"Learn more"}:void 0,icon:(c=l())!=null?c:{type:"none",iconName:null}},a)})})]});var de=M(require("react"));function te({nodes:e}){return(0,xe.jsx)(de.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,xe.jsx)(de.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,xe.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,xe.jsx)("em",{children:o},r)),t.format&4&&(o=(0,xe.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,xe.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,xe.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,xe.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,xe.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,xe.jsx)("table",{children:(0,xe.jsx)("tbody",{children:t.children.map((o,a)=>(0,xe.jsx)("tr",{children:o.children.map((l,c)=>(0,xe.jsx)("td",{children:te({nodes:l.children})},c))},a))})},r);let n=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let a of o.children)"checked"in a&&(a!=null&&a.checked||(a.checked=!1));return te({nodes:o.children})},s="children"in t?n(t):"";if(t.type==="block"){let o=t.fields,a=o==null?void 0:o.blockType;if(!o||!a)return null;switch(a){case"cta":return(0,xe.jsx)(yt,{...o},r);case"mediaBlock":return(0,xe.jsx)(Ct,{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,xe.jsx)(Pt,{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,xe.jsx)(bt,{className:"col-start-2 mb-4",...o},r);case"code":return(0,xe.jsx)(kt,{className:"col-start-2",...o},r);case"features":return(0,xe.jsx)(Bt,{...o,nested:!0},r);case"reusableContentBlock":te({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,xe.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,xe.jsx)("p",{className:"col-start-2",children:s},r);case"heading":{let o=t==null?void 0:t.tag;return(0,xe.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:s},r)}case"list":{let o=t==null?void 0:t.tag;return(0,xe.jsx)(o,{className:"list col-start-2",children:s},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,xe.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:s},r):(0,xe.jsx)("li",{value:t==null?void 0:t.value,children:s},r);case"quote":return(0,xe.jsx)("blockquote",{className:"col-start-2",children:s},r);case"link":{let o=t.fields;return(0,xe.jsx)(K,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}case"autolink":{let o=t.fields;return(0,xe.jsx)(K,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}default:return null}})})}var z=({className:e,content:t,enableGutter:r=!0,enableProse:n=!0})=>{var s;return t?(0,xe.jsx)("div",{className:i({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":n},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&te({nodes:(s=t==null?void 0:t.root)==null?void 0:s.children})}):null};0&&(module.exports={CMSLink,Card,CollectionArchive,Logo,Media,PageRange,PayloadPagination,RichText});
@@ -1 +1 @@
1
- import{a as g}from"../../chunk-6YV7RK6Q.mjs";import{a as h}from"../../chunk-NRL4U42W.mjs";import{a as e}from"../../chunk-ZIWHUQ4D.mjs";import{a as f}from"../../chunk-AUBKJ4XO.mjs";import"../../chunk-6LKCK2EH.mjs";import{a as d}from"../../chunk-MGS3DQ22.mjs";import"../../chunk-6P7CY367.mjs";import{e as c}from"../../chunk-MLA2WBXX.mjs";import"../../chunk-O5BAW5XQ.mjs";import{a}from"../../chunk-44VMK4FL.mjs";import"../../chunk-2A6JF3LE.mjs";import"../../chunk-4YJ3HV64.mjs";import{a as b}from"../../chunk-FCCL6W7R.mjs";import"../../chunk-WLBZXBU3.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-OI2YT2ZF.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as CMSLink,d as Card,e as CollectionArchive,f as Logo,b as Media,g as PageRange,h as PayloadPagination,c as RichText};
1
+ import{a as g}from"../../chunk-6YV7RK6Q.mjs";import{a as h}from"../../chunk-NRL4U42W.mjs";import{a as e}from"../../chunk-ZIWHUQ4D.mjs";import{a as f}from"../../chunk-AUBKJ4XO.mjs";import"../../chunk-6LKCK2EH.mjs";import{a as d}from"../../chunk-MGS3DQ22.mjs";import"../../chunk-6P7CY367.mjs";import{e as c}from"../../chunk-XJF3K46N.mjs";import"../../chunk-O5BAW5XQ.mjs";import{a}from"../../chunk-44VMK4FL.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-OI2YT2ZF.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-2A6JF3LE.mjs";import"../../chunk-4YJ3HV64.mjs";import{a as b}from"../../chunk-FCCL6W7R.mjs";import"../../chunk-WLBZXBU3.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as CMSLink,d as Card,e as CollectionArchive,f as Logo,b as Media,g as PageRange,h as PayloadPagination,c as RichText};