cortex-react-components 1.47.0 → 1.48.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (174) hide show
  1. package/dist/{chunk-423OEU3K.mjs → chunk-23EQTK7B.mjs} +1 -1
  2. package/dist/{chunk-5BPR3YKT.mjs → chunk-35XLNF3G.mjs} +1 -1
  3. package/dist/{chunk-W6VKKBUG.mjs → chunk-4GX7CE6Y.mjs} +1 -1
  4. package/dist/{chunk-ENDXPA4H.mjs → chunk-4NYS3NVA.mjs} +1 -1
  5. package/dist/chunk-5F7XZ6XK.mjs +1 -0
  6. package/dist/{chunk-KB6PO4K4.mjs → chunk-5YTDIEDJ.mjs} +1 -1
  7. package/dist/{chunk-H5DKU4M5.mjs → chunk-6KJKKF7P.mjs} +1 -1
  8. package/dist/chunk-74KJ5V34.mjs +1 -0
  9. package/dist/{chunk-DLCGGIZW.mjs → chunk-7FMMXR7S.mjs} +1 -1
  10. package/dist/chunk-7FR5BXX2.mjs +1 -0
  11. package/dist/{chunk-SBAFXZVU.mjs → chunk-AAI2VZST.mjs} +1 -1
  12. package/dist/{chunk-UDH5ASIW.mjs → chunk-ABQMNGD4.mjs} +1 -1
  13. package/dist/{chunk-DIPGFDJV.mjs → chunk-ATONX5RA.mjs} +1 -1
  14. package/dist/{chunk-Z5PNO5CB.mjs → chunk-B7DV5BIM.mjs} +1 -1
  15. package/dist/{chunk-QCIJUDO4.mjs → chunk-BI3AMPYD.mjs} +1 -1
  16. package/dist/{chunk-7SSOLQR5.mjs → chunk-BWT2MAIT.mjs} +1 -1
  17. package/dist/{chunk-HFSHDEMQ.mjs → chunk-E2LKSCDR.mjs} +1 -1
  18. package/dist/{chunk-5EFOKBKA.mjs → chunk-EQDX6HFN.mjs} +1 -1
  19. package/dist/{chunk-KVIQW2PH.mjs → chunk-EQFBRT7L.mjs} +1 -1
  20. package/dist/{chunk-O7R6EGBU.mjs → chunk-ETZFHPXX.mjs} +1 -1
  21. package/dist/{chunk-IJU5INGM.mjs → chunk-FR65RGJD.mjs} +1 -1
  22. package/dist/{chunk-SEG6IDDX.mjs → chunk-G5HD4IFA.mjs} +1 -1
  23. package/dist/{chunk-ECOVEIOV.mjs → chunk-I3JB7SE2.mjs} +1 -1
  24. package/dist/{chunk-XGKZLSIS.mjs → chunk-I5EBXVLE.mjs} +1 -1
  25. package/dist/{chunk-MY3PX5GI.mjs → chunk-IQ7LAP7P.mjs} +1 -1
  26. package/dist/{chunk-PY53YVFX.mjs → chunk-KEUZSK3N.mjs} +1 -1
  27. package/dist/{chunk-TGHOEITH.mjs → chunk-KTVHPTON.mjs} +1 -1
  28. package/dist/{chunk-US6CSL53.mjs → chunk-LIAT3JG5.mjs} +1 -1
  29. package/dist/{chunk-3ODCIQYB.mjs → chunk-MLLI6A3T.mjs} +1 -1
  30. package/dist/{chunk-ICTOXY7D.mjs → chunk-NGK3IDFP.mjs} +1 -1
  31. package/dist/{chunk-ZLEW2CSB.mjs → chunk-NRE4HHK7.mjs} +1 -1
  32. package/dist/{chunk-UK4IPFAO.mjs → chunk-PVRWMAHW.mjs} +1 -1
  33. package/dist/{chunk-UMILL4LR.mjs → chunk-QO2Z7WXW.mjs} +1 -1
  34. package/dist/{chunk-HHUI6PDP.mjs → chunk-QZA2ZGA2.mjs} +1 -1
  35. package/dist/{chunk-GT43S672.mjs → chunk-TUQRCNY6.mjs} +1 -1
  36. package/dist/{chunk-MANZDSTF.mjs → chunk-UD7JYMRU.mjs} +1 -1
  37. package/dist/{chunk-HUN2X4VH.mjs → chunk-Y6CZVVJF.mjs} +1 -1
  38. package/dist/components/Blocks/Banner.js +1 -1
  39. package/dist/components/Blocks/Banner.mjs +1 -1
  40. package/dist/components/Blocks/CallToAction.js +1 -1
  41. package/dist/components/Blocks/CallToAction.mjs +1 -1
  42. package/dist/components/Blocks/CallToAction.stories.js +1 -1
  43. package/dist/components/Blocks/CallToAction.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/FeaturesBlock.js +1 -1
  47. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  48. package/dist/components/Blocks/FeaturesBlock.stories.js +1 -1
  49. package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
  50. package/dist/components/Blocks/ImageBlock.mjs +1 -1
  51. package/dist/components/Blocks/MediaBlock.mjs +1 -1
  52. package/dist/components/Blocks/RelatedPosts.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/ReusableContent.js +1 -1
  57. package/dist/components/Blocks/ReusableContent.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/CRM/DealDetails.mjs +1 -1
  61. package/dist/components/CRM/DealDetails.stories.mjs +1 -1
  62. package/dist/components/CRM/KanbanBoard.mjs +1 -1
  63. package/dist/components/CRM/KanbanBoard.stories.mjs +1 -1
  64. package/dist/components/CRM/KanbanColumn.mjs +1 -1
  65. package/dist/components/CRM/KanbanColumn.stories.mjs +1 -1
  66. package/dist/components/CRM/NewDealForm.mjs +1 -1
  67. package/dist/components/CRM/NewDealForm.stories.mjs +1 -1
  68. package/dist/components/CRM/index.mjs +1 -1
  69. package/dist/components/Cards/ContentCard.js +1 -1
  70. package/dist/components/Cards/ContentCard.mjs +1 -1
  71. package/dist/components/Cards/ContentCard.stories.js +1 -1
  72. package/dist/components/Cards/ContentCard.stories.mjs +1 -1
  73. package/dist/components/Cards/index.js +4 -4
  74. package/dist/components/Cards/index.mjs +1 -1
  75. package/dist/components/HeaderFooter/SectionHeading.js +1 -1
  76. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  77. package/dist/components/Heros/HighImpact/index.js +1 -1
  78. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  79. package/dist/components/Heros/LowImpact/index.js +1 -1
  80. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  81. package/dist/components/Heros/MediumImpact/index.js +1 -1
  82. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  83. package/dist/components/Heros/PostHero/index.mjs +1 -1
  84. package/dist/components/Heros/RenderHero.js +1 -1
  85. package/dist/components/Heros/RenderHero.mjs +1 -1
  86. package/dist/components/Heros/SectionHero/index.mjs +1 -1
  87. package/dist/components/Heros/index.js +1 -1
  88. package/dist/components/Heros/index.mjs +1 -1
  89. package/dist/components/Holidays/HolidayTracker.mjs +1 -1
  90. package/dist/components/Holidays/HolidayTracker.stories.mjs +1 -1
  91. package/dist/components/Holidays/index.mjs +1 -1
  92. package/dist/components/Layouts/BlogList.js +3 -3
  93. package/dist/components/Layouts/BlogList.mjs +1 -1
  94. package/dist/components/Layouts/BlogList.stories.js +3 -3
  95. package/dist/components/Layouts/BlogList.stories.mjs +1 -1
  96. package/dist/components/Layouts/SlideShow.js +1 -1
  97. package/dist/components/Layouts/SlideShow.mjs +1 -1
  98. package/dist/components/Layouts/SlideShow.stories.js +1 -1
  99. package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
  100. package/dist/components/Layouts/index.js +3 -3
  101. package/dist/components/Layouts/index.mjs +1 -1
  102. package/dist/components/Menus/SidebarLeft.mjs +1 -1
  103. package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
  104. package/dist/components/Menus/SidebarRight.mjs +1 -1
  105. package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
  106. package/dist/components/Menus/index.mjs +1 -1
  107. package/dist/components/Payload/Card/index.mjs +1 -1
  108. package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
  109. package/dist/components/Payload/Media/index.mjs +1 -1
  110. package/dist/components/Payload/RichText/index.js +1 -1
  111. package/dist/components/Payload/RichText/index.mjs +1 -1
  112. package/dist/components/Payload/RichText/serialize.js +1 -1
  113. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  114. package/dist/components/Payload/RichText.stories.js +1 -1
  115. package/dist/components/Payload/RichText.stories.mjs +1 -1
  116. package/dist/components/Payload/index.js +1 -1
  117. package/dist/components/Payload/index.mjs +1 -1
  118. package/dist/components/index.js +6 -6
  119. package/dist/components/index.mjs +1 -1
  120. package/dist/components/ui/index.mjs +1 -1
  121. package/dist/components/ui/sidebar.mjs +1 -1
  122. package/dist/index.js +7 -7
  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.mjs +1 -1
  137. package/dist/pages/LandingPage.stories.mjs +1 -1
  138. package/dist/pages/Page.js +1 -1
  139. package/dist/pages/Page.mjs +1 -1
  140. package/dist/pages/Page.stories.js +186 -186
  141. package/dist/pages/Page.stories.mjs +1 -1
  142. package/dist/pages/Publish.js +1 -1
  143. package/dist/pages/Publish.mjs +1 -1
  144. package/dist/pages/Publish.stories.js +1 -1
  145. package/dist/pages/Publish.stories.mjs +1 -1
  146. package/dist/pages/Website.js +1 -1
  147. package/dist/pages/Website.mjs +1 -1
  148. package/dist/pages/Website.stories.js +2 -2
  149. package/dist/pages/Website.stories.mjs +1 -1
  150. package/dist/sections/AboutSection.js +1 -1
  151. package/dist/sections/AboutSection.mjs +1 -1
  152. package/dist/sections/AboutSection.stories.js +1 -1
  153. package/dist/sections/AboutSection.stories.mjs +1 -1
  154. package/dist/sections/BlogDetail.js +1 -1
  155. package/dist/sections/BlogDetail.mjs +1 -1
  156. package/dist/sections/BlogDetail.stories.js +1 -1
  157. package/dist/sections/BlogDetail.stories.mjs +1 -1
  158. package/dist/sections/BlogListSection.mjs +1 -1
  159. package/dist/sections/BlogListSection.stories.mjs +1 -1
  160. package/dist/sections/ContactSection.js +1 -1
  161. package/dist/sections/ContactSection.mjs +1 -1
  162. package/dist/sections/ContactSection.stories.js +1 -1
  163. package/dist/sections/ContactSection.stories.mjs +1 -1
  164. package/dist/sections/ImageSection.stories.js +1 -1
  165. package/dist/sections/ImageSection.stories.mjs +1 -1
  166. package/dist/sections/PricingSection.js +1 -1
  167. package/dist/sections/PricingSection.mjs +1 -1
  168. package/dist/sections/PricingSection.stories.js +1 -1
  169. package/dist/sections/PricingSection.stories.mjs +1 -1
  170. package/dist/sections/form/index.mjs +1 -1
  171. package/dist/sections/index.js +1 -1
  172. package/dist/sections/index.mjs +1 -1
  173. package/package.json +1 -1
  174. package/dist/chunk-G6K3PK47.mjs +0 -1
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- "use strict";var St=Object.create;var ie=Object.defineProperty;var Mt=Object.getOwnPropertyDescriptor;var Et=Object.getOwnPropertyNames;var Lt=Object.getPrototypeOf,Ft=Object.prototype.hasOwnProperty;var zt=(e,t)=>{for(var r in t)ie(e,r,{get:t[r],enumerable:!0})},He=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Et(t))!Ft.call(e,a)&&a!==r&&ie(e,a,{get:()=>t[a],enumerable:!(n=Mt(t,a))||n.enumerable});return e};var S=(e,t,r)=>(r=e!=null?St(Lt(e)):{},He(t||!e||!e.__esModule?ie(r,"default",{value:e,enumerable:!0}):r,e)),Dt=e=>He(ie({},"__esModule",{value:!0}),e);var wr={};zt(wr,{BlogDetail:()=>kr});module.exports=Dt(wr);var Ge="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Z";var je=require("clsx");var we="-",Ht=e=>{let t=Ut(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:i=>{let s=i.split(we);return s[0]===""&&s.length!==1&&s.shift(),Qe(s,t)||Gt(i)},getConflictingClassGroupIds:(i,s)=>{let c=r[i]||[];return s&&n[i]?[...c,...n[i]]:c}}},Qe=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],n=t.nextPart.get(r),a=n?Qe(e.slice(1),n):void 0;if(a)return a;if(t.validators.length===0)return;let o=e.join(we);return(i=t.validators.find(({validator:s})=>s(o)))==null?void 0:i.classGroupId},Ue=/^\[(.+)\]$/,Gt=e=>{if(Ue.test(e)){let t=Ue.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 Qt(Object.entries(e.classGroups),r).forEach(([o,i])=>{ke(i,n,o,t)}),n},ke=(e,t,r,n)=>{e.forEach(a=>{if(typeof a=="string"){let o=a===""?t:Ke(t,a);o.classGroupId=r;return}if(typeof a=="function"){if(Kt(a)){ke(a(n),t,r,n);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([o,i])=>{ke(i,Ke(t,o),r,n)})})},Ke=(e,t)=>{let r=e;return t.split(we).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},Kt=e=>e.isThemeGetter,Qt=(e,t)=>t?e.map(([r,n])=>{let a=n.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,s])=>[t+i,s])):o);return[r,a]}):e,Vt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map,a=(o,i)=>{r.set(o,i),t++,t>e&&(t=0,n=r,r=new Map)};return{get(o){let i=r.get(o);if(i!==void 0)return i;if((i=n.get(o))!==void 0)return a(o,i),i},set(o,i){r.has(o)?r.set(o,i):a(o,i)}}},Ve="!",Yt=e=>{let{separator:t,experimentalParseClassName:r}=e,n=t.length===1,a=t[0],o=t.length,i=s=>{let c=[],m=0,g=0,x;for(let h=0;h<s.length;h++){let v=s[h];if(m===0){if(v===a&&(n||s.slice(h,h+o)===t)){c.push(s.slice(g,h)),g=h+o;continue}if(v==="/"){x=h;continue}}v==="["?m++:v==="]"&&m--}let C=c.length===0?s:s.substring(g),A=C.startsWith(Ve),N=A?C.substring(1):C,f=x&&x>g?x-g:void 0;return{modifiers:c,hasImportantModifier:A,baseClassName:N,maybePostfixModifierPosition:f}};return r?s=>r({className:s,parseClassName:i}):i},Ot=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:Yt(e),...Ht(e)}),Jt=/\s+/,jt=(e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:a}=t,o=[],i=e.trim().split(Jt),s="";for(let c=i.length-1;c>=0;c-=1){let m=i[c],{modifiers:g,hasImportantModifier:x,baseClassName:C,maybePostfixModifierPosition:A}=r(m),N=!!A,f=n(N?C.substring(0,A):C);if(!f){if(!N){s=m+(s.length>0?" "+s:s);continue}if(f=n(C),!f){s=m+(s.length>0?" "+s:s);continue}N=!1}let h=Ot(g).join(":"),v=x?h+Ve:h,P=v+f;if(o.includes(P))continue;o.push(P);let H=a(f,N);for(let G=0;G<H.length;++G){let ne=H[G];o.push(v+ne)}s=m+(s.length>0?" "+s:s)}return s};function Xt(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Ye(t))&&(n&&(n+=" "),n+=r);return n}var Ye=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=Ye(e[n]))&&(r&&(r+=" "),r+=t);return r};function qt(e,...t){let r,n,a,o=i;function i(c){let m=t.reduce((g,x)=>x(g),e());return r=_t(m),n=r.cache.get,a=r.cache.set,o=s,s(c)}function s(c){let m=n(c);if(m)return m;let g=jt(c,r);return a(c,g),g}return function(){return o(Xt.apply(null,arguments))}}var b=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Oe=/^\[(?:([a-z-]+):)?(.+)\]$/i,Wt=/^\d+\/\d+$/,Zt=new Set(["px","full","screen"]),$t=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,er=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(qe|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,tr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,rr=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,or=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,M=e=>O(e)||Zt.has(e)||Wt.test(e),F=e=>_(e,"length",pr),O=e=>!!e&&!Number.isNaN(Number(e)),ve=e=>_(e,"number",O),W=e=>!!e&&Number.isInteger(Number(e)),nr=e=>e.endsWith("%")&&O(e.slice(0,-1)),d=e=>Oe.test(e),z=e=>$t.test(e),ar=new Set(["length","size","percentage"]),sr=e=>_(e,ar,_e),ir=e=>_(e,"position",_e),lr=new Set(["image","url"]),cr=e=>_(e,lr,ur),dr=e=>_(e,"",mr),Z=()=>!0,_=(e,t,r)=>{let n=Oe.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1},pr=e=>er.test(e)&&!tr.test(e),_e=()=>!1,mr=e=>rr.test(e),ur=e=>or.test(e);var gr=()=>{let e=b("colors"),t=b("spacing"),r=b("blur"),n=b("brightness"),a=b("borderColor"),o=b("borderRadius"),i=b("borderSpacing"),s=b("borderWidth"),c=b("contrast"),m=b("grayscale"),g=b("hueRotate"),x=b("invert"),C=b("gap"),A=b("gradientColorStops"),N=b("gradientColorStopPositions"),f=b("inset"),h=b("margin"),v=b("opacity"),P=b("padding"),H=b("saturate"),G=b("scale"),ne=b("sepia"),Se=b("skew"),Me=b("space"),Ee=b("translate"),he=()=>["auto","contain","none"],xe=()=>["auto","hidden","clip","visible","scroll"],Ce=()=>["auto",d,t],y=()=>[d,t],Le=()=>["",M,F],ae=()=>["auto",O,d],Fe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],se=()=>["solid","dashed","dotted","double","none"],ze=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Ae=()=>["start","end","center","between","around","evenly","stretch"],q=()=>["","0",d],De=()=>["auto","avoid","all","avoid-page","page","left","right","column"],I=()=>[O,d];return{cacheSize:500,separator:":",theme:{colors:[Z],spacing:[M,F],blur:["none","",z,d],brightness:I(),borderColor:[e],borderRadius:["none","","full",z,d],borderSpacing:y(),borderWidth:Le(),contrast:I(),grayscale:q(),hueRotate:I(),invert:q(),gap:y(),gradientColorStops:[e],gradientColorStopPositions:[nr,F],inset:Ce(),margin:Ce(),opacity:I(),padding:y(),saturate:I(),scale:I(),sepia:q(),skew:I(),space:y(),translate:y()},classGroups:{aspect:[{aspect:["auto","square","video",d]}],container:["container"],columns:[{columns:[z]}],"break-after":[{"break-after":De()}],"break-before":[{"break-before":De()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...Fe(),d]}],overflow:[{overflow:xe()}],"overflow-x":[{"overflow-x":xe()}],"overflow-y":[{"overflow-y":xe()}],overscroll:[{overscroll:he()}],"overscroll-x":[{"overscroll-x":he()}],"overscroll-y":[{"overscroll-y":he()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[f]}],"inset-x":[{"inset-x":[f]}],"inset-y":[{"inset-y":[f]}],start:[{start:[f]}],end:[{end:[f]}],top:[{top:[f]}],right:[{right:[f]}],bottom:[{bottom:[f]}],left:[{left:[f]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",W,d]}],basis:[{basis:Ce()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",d]}],grow:[{grow:q()}],shrink:[{shrink:q()}],order:[{order:["first","last","none",W,d]}],"grid-cols":[{"grid-cols":[Z]}],"col-start-end":[{col:["auto",{span:["full",W,d]},d]}],"col-start":[{"col-start":ae()}],"col-end":[{"col-end":ae()}],"grid-rows":[{"grid-rows":[Z]}],"row-start-end":[{row:["auto",{span:[W,d]},d]}],"row-start":[{"row-start":ae()}],"row-end":[{"row-end":ae()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",d]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",d]}],gap:[{gap:[C]}],"gap-x":[{"gap-x":[C]}],"gap-y":[{"gap-y":[C]}],"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"]}],qe:[{qe:[P]}],px:[{px:[P]}],py:[{py:[P]}],ps:[{ps:[P]}],st:[{st:[P]}],pt:[{pt:[P]}],pr:[{pr:[P]}],pb:[{pb:[P]}],pl:[{pl:[P]}],m:[{m:[h]}],mx:[{mx:[h]}],my:[{my:[h]}],ms:[{ms:[h]}],qe:[{qe:[h]}],mt:[{mt:[h]}],mr:[{mr:[h]}],mb:[{mb:[h]}],ml:[{ml:[h]}],"space-x":[{"space-x":[Me]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Me]}],"space-y-reverse":["space-y-reverse"],qe:[{qe:["auto","min","max","fit","svw","lvw","dvw",d,t]}],"min-qe":[{"min-qe":[d,t,"min","max","fit"]}],"max-qe":[{"max-qe":[d,t,"none","full","min","max","fit","prose",{screen:[z]},z]}],h:[{h:[d,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[d,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[d,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[d,t,"auto","min","max","fit"]}],"font-size":[{text:["base",z,F]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ve]}],"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",d]}],"line-clamp":[{"line-clamp":["none",O,ve]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",M,d]}],"list-image":[{"list-image":["none",d]}],"list-style-type":[{list:["none","disc","decimal",d]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[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:[...se(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",M,F]}],"underline-offset":[{"underline-offset":["auto",M,d]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:y()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",d]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",d]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Fe(),ir]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",sr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},cr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[N]}],"gradient-via-pos":[{via:[N]}],"gradient-to-pos":[{to:[N]}],"gradient-from":[{from:[A]}],"gradient-via":[{via:[A]}],"gradient-to":[{to:[A]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-qe":[{border:[s]}],"border-qe-x":[{"border-x":[s]}],"border-qe-y":[{"border-y":[s]}],"border-qe-s":[{"border-s":[s]}],"border-qe-e":[{"border-e":[s]}],"border-qe-t":[{"border-t":[s]}],"border-qe-r":[{"border-r":[s]}],"border-qe-b":[{"border-b":[s]}],"border-qe-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:[...se(),"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":[v]}],"divide-style":[{divide:se()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[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:["",...se()]}],"outline-offset":[{"outline-offset":[M,d]}],"outline-qe":[{outline:[M,F]}],"outline-color":[{outline:[e]}],"ring-qe":[{ring:Le()}],"ring-qe-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-qe":[{"ring-offset":[M,F]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",z,dr]}],"shadow-color":[{shadow:[Z]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":[...ze(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ze()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",z,d]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[g]}],invert:[{invert:[x]}],saturate:[{saturate:[H]}],sepia:[{sepia:[ne]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[g]}],"backdrop-invert":[{"backdrop-invert":[x]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[H]}],"backdrop-sepia":[{"backdrop-sepia":[ne]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",d]}],duration:[{duration:I()}],ease:[{ease:["linear","in","out","in-out",d]}],delay:[{delay:I()}],animate:[{animate:["none","spin","ping","pulse","bounce",d]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[G]}],"scale-x":[{"scale-x":[G]}],"scale-y":[{"scale-y":[G]}],rotate:[{rotate:[W,d]}],"translate-x":[{"translate-x":[Ee]}],"translate-y":[{"translate-y":[Ee]}],"skew-x":[{"skew-x":[Se]}],"skew-y":[{"skew-y":[Se]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",d]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","qe-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",d]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":y()}],"scroll-mx":[{"scroll-mx":y()}],"scroll-my":[{"scroll-my":y()}],"scroll-ms":[{"scroll-ms":y()}],"scroll-qe":[{"scroll-qe":y()}],"scroll-mt":[{"scroll-mt":y()}],"scroll-mr":[{"scroll-mr":y()}],"scroll-mb":[{"scroll-mb":y()}],"scroll-ml":[{"scroll-ml":y()}],"scroll-qe":[{"scroll-qe":y()}],"scroll-px":[{"scroll-px":y()}],"scroll-py":[{"scroll-py":y()}],"scroll-ps":[{"scroll-ps":y()}],"scroll-st":[{"scroll-st":y()}],"scroll-pt":[{"scroll-pt":y()}],"scroll-pr":[{"scroll-pr":y()}],"scroll-pb":[{"scroll-pb":y()}],"scroll-pl":[{"scroll-pl":y()}],"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",d]}],fill:[{fill:[e,"none"]}],"stroke-qe":[{stroke:[M,F,ve]}],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"],qe:["px","py","ps","st","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","qe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["qe","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-qe":["border-qe-s","border-qe-e","border-qe-t","border-qe-r","border-qe-b","border-qe-l"],"border-qe-x":["border-qe-r","border-qe-l"],"border-qe-y":["border-qe-t","border-qe-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-qe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-qe":["scroll-px","scroll-py","scroll-ps","scroll-st","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 Je=qt(gr);function l(...e){return Je((0,je.clsx)(e))}var qe=require("react/jsx-runtime");function Xe({children:e,isFluid:t=!1,isNoPadding:r=!1,className:n=""}){let a=l("container",t&&"full-width",r&&"no-padding",n);return(0,qe.jsx)("div",{className:a,children:e})}var We=S(require("next/link"));function Ze({children:e,href:t,openNewTab:r,...n}){return(0,$e.jsx)(We.default,{href:t,target:r?"_blank":"_self",...n,children:e})}var Rt=S(require("next/image"));var et=({className:e,content:t,style:r})=>(0,qe.jsx)("div",{className:l("mx-auto my-8 qe-full",e),children:(0,qe.jsx)("div",{className:l("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,qe.jsx)(B,{content:t,enableGutter:!1,enableProse:!1})})});var tt=require("@radix-ui/react-slot"),rt=require("class-variance-authority"),ot=S(require("react")),fr=(0,rt.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 qe-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"}}}),E=ot.forwardRef(({asChild:e=!1,className:t,size:r,variant:n,...a},o)=>(0,qe.jsx)(e?tt.Slot:"button",{className:l(fr({className:t,size:r,variant:n})),ref:o,...a}));E.displayName="Button";var Ne=S(require("next/link")),U=e=>{let{type:t,appearance:r="inline",children:n,className:a,label:o,newTab:i,reference:s,size:c,url:m}=e,g=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}`:m;if(!g)return null;let x=r==="link"?"clear":c,C=i?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,$.jsxs)(Ne.default,{className:l(a),href:g||m||"",...C,children:[o&&o,n&&n]}):(0,$.jsx)(E,{asChild:!0,className:a,size:x,variant:r,children:(0,$.jsxs)(Ne.default,{className:l(a),href:g||m||"",...C,children:[o&&o,n&&n]})})};var ce=({links:e,richText:t})=>(0,qe.jsx)("div",{className:"container",children:(0,qe.jsxs)("div",{className:"bg-card rounded border-border border qe-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,qe.jsx)("div",{className:"max-qe-[48rem] flex items-center",children:t&&(0,qe.jsx)(B,{className:"mb-0",content:t,enableGutter:!1})}),(0,qe.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},n)=>(0,qe.jsx)(U,{size:"lg",...r},n))})]})});var de=require("prism-react-renderer");var at=require("lucide-react"),st=require("react");function it({code:e}){let[t,r]=(0,st.useState)("Copy");function n(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,qe.jsx)("div",{className:"flex justify-end align-middle",children:(0,qe.jsxs)(E,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),n()},children:[(0,qe.jsx)("qe",{children:t}),(0,qe.jsx)("div",{className:"qe-6 h-6 dark:invert",children:(0,qe.jsx)(at.ClipboardCopy,{})})]})})}var lt=({code:e,language:t=""})=>e?(0,qe.jsx)(de.Highlight,{code:e,language:t,theme:de.themes.vsDark,children:({getLineProps:r,getTokenProps:n,tokens:a})=>(0,qe.jsxs)("pre",{className:"bg-black qe-4 border text-xs border-border rounded overflow-x-auto",children:[a.map((o,i)=>(0,qe.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,qe.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,qe.jsx)("span",{className:"table-cell pl-4",children:o.map((s,c)=>(0,qe.jsx)("span",{...n({token:s})},c))})]},i)),(0,qe.jsx)(it,{code:e})]})}):null;var ct=({className:e,code:t,language:r})=>(0,qe.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,qe.jsx)(lt,{code:t,language:r})});var pt=S(require("next/image")),br={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},dt="data:image/png;base64,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",mt=e=>{let{alt:t,fill:r,imgClassName:n,priority:a,resource:o,size:i,src:s,loading:c}=e,m,g,x=t,C=s||"";if(!C&&o&&typeof o=="object"){let{alt:f,filename:h,height:v,url:P,width:H}=o;m=H,g=v,x=f||"",C=P||dt}let A=c||"lazy",N=i||Object.entries(br).map(([,f])=>`(max-width: ${f}px) ${f*2}qe`).join(", ");return(0,qe.jsx)("picture",{children:(0,qe.jsx)(pt.default,{alt:x||"",className:l(n),fill:r,height:r?void 0:g,placeholder:"blur",blurDataURL:dt,priority:A!=="lazy"&&a,quality:100,loading:A,sizes:N,src:C,width:r?void 0:m})})};var ut=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var gt=()=>{if(ut){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var ft=e=>{let{onClick:t,resource:r,videoClassName:n}=e,a=(0,st.useRef)(null);if((0,st.useEffect)(()=>{let{current:o}=a;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,qe.jsx)("video",{autoPlay:!0,className:l(n),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:a,children:(0,qe.jsx)("source",{src:`${gt()}/media/${o}`})})}return null};var ue=e=>{var i;let{className:t,htmlElement:r="div",resource:n}=e,a=typeof n=="object"&&((i=n==null?void 0:n.mimeType)==null?void 0:i.includes("video"));return(0,qe.jsx)(r||st.Fragment,{...r!==null?{className:t}:{},children:a?(0,qe.jsx)(ft,{...e}):(0,qe.jsx)(mt,{...e})})};var ee=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:a,staticImage:o}=e;return(0,qe.jsx)("div",{className:l("",{container:r},t),children:(0,qe.jsx)(ue,{imgClassName:l("border border-border rounded-[0.8rem]",n),resource:a,src:o})})};var yt=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:a,staticImage:o}=e;return(0,qe.jsx)("div",{className:l("",{container:r},t),children:(0,qe.jsx)(ue,{imgClassName:l("border border-border rounded-[0.8rem]",n),resource:a,src:o})})};var ht=({type:e="solid",iconName:t="cloud",size:r="lg",className:n})=>{let a=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,i=n!=null?n:"",s=a+o+" fa-"+r+" "+i;return(0,qe.jsx)("i",{className:s})};var Q=S(require("react"));var J=Q.forwardRef(({className:e,...t},r)=>(0,qe.jsx)("div",{ref:r,className:l("rounded-xl border bg-card text-card-foreground shadow",e),...t}));J.displayName="Card";var te=Q.forwardRef(({className:e,...t},r)=>(0,qe.jsx)("div",{ref:r,className:l("flex flex-col space-y-1.5 qe-6",e),...t}));te.displayName="CardHeader";var re=Q.forwardRef(({className:e,...t},r)=>(0,qe.jsx)("div",{ref:r,className:l("font-semibold leading-none tracking-tight",e),...t}));re.displayName="CardTitle";var yr=Q.forwardRef(({className:e,...t},r)=>(0,qe.jsx)("div",{ref:r,className:l("text-sm text-muted-foreground",e),...t}));yr.displayName="CardDescription";var j=Q.forwardRef(({className:e,...t},r)=>(0,qe.jsx)("div",{ref:r,className:l("qe-6 pt-0",e),...t}));j.displayName="CardContent";var hr=Q.forwardRef(({className:e,...t},r)=>(0,qe.jsx)("div",{ref:r,className:l("flex items-center qe-6 pt-0",e),...t}));hr.displayName="CardFooter";function xr(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function Ct({variant:e="light",className:t,icon:r,heading:n,subheading:a,content:o,statistic:i,buttonText:s,buttonHref:c}){let m={solid:"bg-[#A42368]",light:"bg-white",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden"};return console.log("content",typeof o),(0,qe.jsxs)("div",{className:l("rounded-3xl qe-8 md:qe-12",m[e],e==="light"?"text-gray-900":"text-white",t),children:[(0,qe.jsxs)("div",{className:"flex items-center gap-4 mb-6",children:[r&&(0,qe.jsx)("div",{className:l("rounded-full qe-0",e==="light"?"text-[#A42368]":"text-white"),children:xr(r)?(0,qe.jsx)(ht,{type:r.type,iconName:r.iconName,size:"2x"}):r}),(0,qe.jsx)("h2",{className:l("font-semibold",e==="solid"||e==="light"?"text-2xl":"text-4xl"),children:n})]}),e==="solid"&&i&&(0,qe.jsx)("div",{className:"mb-6",children:(0,qe.jsx)("div",{className:"text-[8rem] font-bold leading-none",children:i})}),a&&(0,qe.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:a}),o&&typeof o=="object"&&(0,qe.jsx)("div",{className:l("space-y-6",e==="light"?"text-gray-600":"text-gray-300"),children:(0,qe.jsx)(B,{enableGutter:!1,content:o,enableProse:!1,className:l(e==="light"?"prose":"prose prose-headings:text-white prose-qe:text-gray-300")})}),o&&typeof o=="string"&&(0,qe.jsx)("div",{className:l("space-y-6",e==="light"?"text-gray-600":"text-gray-300"),children:o}),s&&(0,qe.jsx)("div",{className:"mt-8",children:(0,qe.jsx)(E,{size:"lg",className:"text-white text-lg rounded-xl",asChild:!0,children:(0,qe.jsxs)("a",{href:c,children:[s,(0,qe.jsx)("span",{className:"ml-2",children:"\u2193"})]})})}),e==="radial"&&(0,qe.jsx)("div",{className:"absolute bottom-0 right-0 qe-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 ge=({title:e,description:t,features:r,id:n})=>(0,qe.jsxs)("section",{className:l("container qe-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,qe.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl",id:n||"",children:e}),t&&typeof t=="string"&&(0,qe.jsx)("qe",{className:"mb-5 text-xl tracking-tight md:text-xl",children:t}),t&&typeof t=="object"&&(0,qe.jsx)("qe",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,qe.jsx)(B,{content:t,enableGutter:!1})}),(0,qe.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((a,o)=>{var i,s,c,m,g;if(((i=a.settings)==null?void 0:i.contents)==="icon")return(0,qe.jsx)(Cr,{section:a,index:o},o);{let x=()=>{if(a.icon.type!=="none")return{type:a.icon.type,iconName:a.icon.icon}};return(0,qe.jsx)(Ct,{variant:((s=a.settings)==null?void 0:s.card)==="default"?"solid":((c=a.settings)==null?void 0:c.card)||"solid",icon:x()||void 0,heading:a.title||"",content:a.content||void 0,statistic:a.statistic||void 0,buttonText:(m=a.link)!=null&&m.url?"Find out more":void 0,buttonHref:((g=a.link)==null?void 0:g.url)||void 0},o)}})})]}),Cr=({section:e,index:t})=>{if(!e)return null;let r=(0,qe.jsxs)("div",{className:"flex flex-col gap-4",children:[e.icon&&(0,qe.jsx)("div",{className:"text-accent h-12 qe-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,qe.jsx)("i",{className:`${e.icon.type} fa-${e.icon.icon} fa-4x`})}),(0,qe.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:e.title}),e.content&&typeof e.content!="object"&&(0,qe.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:e.content}}),e.content&&typeof e.content=="object"&&(0,qe.jsx)("div",{className:"text-lg opacity-80",children:(0,qe.jsx)(B,{content:e.content,enableGutter:!1})})]},t);return e.link?(0,qe.jsx)("a",{href:e.link.url?e.link.url:"#",className:"no-underline group",children:r},t):r};var kt=S(require("next/image"));var At=e=>{let{columns:t}=e,r={full:"12",half:"6",oneThird:"4",twoThirds:"8"};return(0,qe.jsx)("div",{className:"container my-6",children:(0,qe.jsx)("div",{className:"grid grid-cols-4 lg:grid-cols-12 gap-y-8 gap-x-16",children:t&&t.length>0&&t.map((n,a)=>{let{enableLink:o,link:i,richText:s,size:c}=n;return(0,qe.jsxs)("div",{className:l(`col-span-4 lg:col-span-${r[c]}`,{"md:col-span-2":c!=="full"}),children:[s&&(0,qe.jsx)(B,{content:s,enableGutter:!1}),o&&(0,qe.jsx)(U,{...i})]},a)})})})};var vt={content:At,cta:ce,mediaBlock:ee,imageBlock:ee,features:ge,reusableContentBlock:fe},wt=e=>{let{blocks:t}=e;return t&&Array.isArray(t)&&t.length>0?(0,qe.jsx)("section",{id:"render-blocks",children:t.map((n,a)=>{var s;let{blockType:o}=n,i=n==null?void 0:n.theme;if(o&&o in vt){let c=vt[o];if(c)return(0,qe.jsxs)("div",{className:"py-6 relative",children:[(0,qe.jsx)(Ar,{block:n,index:a}),(0,qe.jsx)("div",{className:l("container",((s=i==null?void 0:i.settings)==null?void 0:s.theme)==="dark"?"dark":""),children:(0,qe.jsx)(c,{...n})})]},a)}return null})}):null},Ar=e=>{var r;if(console.log("props",e),!("theme"in e.block))return null;let t=(r=e.block)==null?void 0:r.theme;if(console.log("theme",t),t.settings.background==="image"){let n={imagePosition:t.settings.imagePosition||"left",overlay:t.settings.overlay!==void 0?t.settings.overlay:!0};return console.log("themeSettings",n),(0,qe.jsxs)("div",{className:l("absolute inset-0 qe-full h-full -z-10",t.settings.theme==="dark"?"dark bg-background":""),children:[(0,qe.jsx)(kt.default,{src:t.settings.image.url||"/placeholder.svg",alt:t.settings.image.alt,fill:!0,className:"object-cover",priority:!0}),t.settings.overlay&&(0,qe.jsx)("div",{className:"absolute inset-0",style:{background:n.imagePosition==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]})}return(0,qe.jsx)("div",{className:l("absolute inset-0 -z-10 qe-screen h-full",t.settings.theme==="dark"?"dark bg-background":"")})};var fe=e=>{let{customId:t,reusableContent:r}=e;return typeof r=="object"&&r!==null?(0,qe.jsx)(wt,{blocks:r.layout}):(0,qe.jsx)(qe.Fragment,{})};var ye=S(require("react"));function be({nodes:e}){return(0,qe.jsx)(ye.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,qe.jsx)(ye.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,qe.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,qe.jsx)("em",{children:o},r)),t.format&4&&(o=(0,qe.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,qe.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,qe.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,qe.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,qe.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,qe.jsx)("table",{children:(0,qe.jsx)("tbody",{children:t.children.map((o,i)=>(0,qe.jsx)("tr",{children:o.children.map((s,c)=>(0,qe.jsx)("td",{children:be({nodes:s.children})},c))},i))})},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 i of o.children)"checked"in i&&(i!=null&&i.checked||(i.checked=!1));return be({nodes:o.children})},a="children"in t?n(t):"";if(t.type==="block"){let o=t.fields,i=o==null?void 0:o.blockType;if(!o||!i)return null;switch(i){case"cta":return(0,qe.jsx)(ce,{...o},r);case"mediaBlock":return(0,qe.jsx)(ee,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-qe-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,qe.jsx)(yt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-qe-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,qe.jsx)(et,{className:"col-start-2 mb-4",...o},r);case"code":return(0,qe.jsx)(ct,{className:"col-start-2",...o},r);case"features":return(0,qe.jsx)(ge,{...o},r);case"reusableContentBlock":return(0,qe.jsx)(fe,{...o,reusableContent:o.reusableContent},r);default:return null}}else switch(t.type){case"linebreak":return(0,qe.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,qe.jsx)("qe",{className:"col-start-2",children:a},r);case"heading":{let o=t==null?void 0:t.tag;return(0,qe.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:a},r)}case"list":{let o=t==null?void 0:t.tag;return(0,qe.jsx)(o,{className:"list col-start-2",children:a},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,qe.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:a},r):(0,qe.jsx)("li",{value:t==null?void 0:t.value,children:a},r);case"quote":return(0,qe.jsx)("blockquote",{className:"col-start-2",children:a},r);case"link":{let o=t.fields;return(0,qe.jsx)(U,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:a},r)}case"autolink":{let o=t.fields;return(0,qe.jsx)(U,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:a},r)}default:return null}})})}var B=({className:e,content:t,enableGutter:r=!0,enableProse:n=!0})=>{var a;return t?(0,qe.jsx)("div",{className:l({"container ":r,"max-qe-none":!r,"mx-auto prose dark:prose-invert ":n},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&be({nodes:(a=t==null?void 0:t.root)==null?void 0:a.children})}):null};var Tt=require("next/navigation");var bn=l("transition-colors duration-400 hover:text-primary ease-in-out");function Bt({title:e,links:t}){let r=(0,Tt.useSearchParams)(),n=(0,Tt.usePathname)(),{replace:a}=(0,Tt.useRouter)();function o(i){let s=new URLSearchParams(r);i?s.set("category",i):s.delete("category"),a(`${n}?${s.toString()}`)}return(0,qe.jsxs)(J,{children:[(0,qe.jsx)(te,{children:(0,qe.jsx)(re,{className:"text-accent",children:e&&e})}),(0,qe.jsx)(j,{children:t&&t.length>0&&(0,qe.jsx)("nav",{"aria-label":"footer links navigation",children:(0,qe.jsx)("ul",{className:"grid gap-2.5 ",children:t.map((i,s)=>(0,qe.jsxs)("li",{className:"flex items-center text-sm text-primary hover:text-accent dark:text-foreground first:pt-0 hover:cursor-pointer",onClick:c=>{c.preventDefault(),o(i.href)},children:[i.label,(0,qe.jsx)(at.ExternalLink,{className:"ml-1 h-3 qe-3"})]},s))})})})]})}var It=S(require("next/link"));function vr({image:e,name:t,about:r,socialLinks:n}){return!e||!e.src||e.src.length<3||!t?null:(0,qe.jsx)("div",{className:"mt-1 z-10 px-0 pt-0 lg:px-10",children:(0,qe.jsx)(J,{children:(0,qe.jsxs)(j,{children:[e&&e.src&&(0,qe.jsx)(Rt.default,{src:e.src,alt:e.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:Ge,className:"mx-auto mt-6 rounded-full object-cover"}),(0,qe.jsx)("h3",{className:"font-secondary text-center py-2 text-lg leading-[1.25] text-accent md:text-xl",children:t}),(0,qe.jsx)("qe",{children:r}),n&&n.length>0&&(0,qe.jsx)("nav",{"aria-label":"social links",children:(0,qe.jsx)("ul",{className:"inline-flex items-center divide-x divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:n.map((a,o)=>(0,qe.jsx)("li",{children:(0,qe.jsx)(Ze,{href:a.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 hover:text-accents",children:(0,qe.jsx)("span",{children:a.icon})})},o))})})]})})})}function kr({page:e,categoryList:t,edit:r=!1,path:n="/admin/collections/posts/"}){var C;if(!e)return(0,Tt.notFound)();let{meta:a,populatedAuthors:o,authors:i,categories:s,content:c,title:m}=e,g={image:{src:a&&a.image&&a.image.url||void 0,alt:a&&a.image&&a.image.alt||void 0},authorName:((C=o==null?void 0:o[0])==null?void 0:C.name)||"",category:s,commentCount:0,title:m,description:(a==null?void 0:a.description)||""},x=i==null?void 0:i.map(A=>{var N,f;return{name:A.name||"",about:"",image:{src:A.profilePicture&&((f=(N=A.profilePicture.sizes)==null?void 0:N.square)==null?void 0:f.url)||"",alt:A.name||"blog author"},socialLinks:[]}});return(0,qe.jsx)(Xe,{children:(0,qe.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,qe.jsx)("div",{children:(0,qe.jsxs)("div",{className:"[&_p+P]:mt-4",children:[(0,qe.jsx)("div",{className:"my-4 h-px bg-body/30 lg:my-5"}),(0,qe.jsx)(B,{content:c,enableGutter:!1})]})}),(0,qe.jsxs)("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-qe-[410px] lg:gap-10",children:[r&&(0,qe.jsx)("div",{className:"mt-4 lg:-mt-10 z-10 px-0 pt-0 lg:px-10",children:(0,qe.jsxs)(J,{children:[(0,qe.jsx)(te,{children:(0,qe.jsx)(re,{className:"text-accent",children:"Content Actions"})}),(0,qe.jsxs)(j,{children:[(0,qe.jsx)("qe",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),(0,qe.jsx)(It.default,{href:`${n}${e.id}`,children:(0,qe.jsx)(E,{variant:"outline",className:"qe-full text-accent hover:text-foreground",children:"Edit"})})]})]})}),x&&x.map((A,N)=>(0,qe.jsx)(vr,{...A},N)),t&&t.links&&(0,qe.jsx)("div",{className:"mt-4 px-0 pt-0 lg:px-10",children:(0,qe.jsx)(Bt,{links:t.links,title:t.title})})]})]})})}0&&(module.exports={BlogDetail});
4
+ "use strict";var wt=Object.create;var ae=Object.defineProperty;var kt=Object.getOwnPropertyDescriptor;var Nt=Object.getOwnPropertyNames;var Pt=Object.getPrototypeOf,Bt=Object.prototype.hasOwnProperty;var Rt=(e,t)=>{for(var r in t)ae(e,r,{get:t[r],enumerable:!0})},Se=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Nt(t))!Bt.call(e,a)&&a!==r&&ae(e,a,{get:()=>t[a],enumerable:!(n=kt(t,a))||n.enumerable});return e};var E=(e,t,r)=>(r=e!=null?wt(Pt(e)):{},Se(t||!e||!e.__esModule?ae(r,"default",{value:e,enumerable:!0}):r,e)),Tt=e=>Se(ae({},"__esModule",{value:!0}),e);var fr={};Rt(fr,{BlogDetail:()=>gr});module.exports=Tt(fr);var Me="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Z";var Ke=require("clsx");var ye="-",It=e=>{let t=Mt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:i=>{let s=i.split(ye);return s[0]===""&&s.length!==1&&s.shift(),ze(s,t)||St(i)},getConflictingClassGroupIds:(i,s)=>{let d=r[i]||[];return s&&n[i]?[...d,...n[i]]:d}}},ze=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],n=t.nextPart.get(r),a=n?ze(e.slice(1),n):void 0;if(a)return a;if(t.validators.length===0)return;let o=e.join(ye);return(i=t.validators.find(({validator:s})=>s(o)))==null?void 0:i.classGroupId},Ee=/^\[(.+)\]$/,St=e=>{if(Ee.test(e)){let t=Ee.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Mt=e=>{let{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return Lt(Object.entries(e.classGroups),r).forEach(([o,i])=>{be(i,n,o,t)}),n},be=(e,t,r,n)=>{e.forEach(a=>{if(typeof a=="string"){let o=a===""?t:Le(t,a);o.classGroupId=r;return}if(typeof a=="function"){if(Et(a)){be(a(n),t,r,n);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([o,i])=>{be(i,Le(t,o),r,n)})})},Le=(e,t)=>{let r=e;return t.split(ye).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},Et=e=>e.isThemeGetter,Lt=(e,t)=>t?e.map(([r,n])=>{let a=n.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,s])=>[t+i,s])):o);return[r,a]}):e,zt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map,a=(o,i)=>{r.set(o,i),t++,t>e&&(t=0,n=r,r=new Map)};return{get(o){let i=r.get(o);if(i!==void 0)return i;if((i=n.get(o))!==void 0)return a(o,i),i},set(o,i){r.has(o)?r.set(o,i):a(o,i)}}},Fe="!",Ft=e=>{let{separator:t,experimentalParseClassName:r}=e,n=t.length===1,a=t[0],o=t.length,i=s=>{let d=[],m=0,g=0,x;for(let h=0;h<s.length;h++){let C=s[h];if(m===0){if(C===a&&(n||s.slice(h,h+o)===t)){d.push(s.slice(g,h)),g=h+o;continue}if(C==="/"){x=h;continue}}C==="["?m++:C==="]"&&m--}let A=d.length===0?s:s.substring(g),v=A.startsWith(Fe),N=v?A.substring(1):A,f=x&&x>g?x-g:void 0;return{modifiers:d,hasImportantModifier:v,baseClassName:N,maybePostfixModifierPosition:f}};return r?s=>r({className:s,parseClassName:i}):i},Dt=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},Ht=e=>({cache:zt(e.cacheSize),parseClassName:Ft(e),...It(e)}),Gt=/\s+/,Ut=(e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:a}=t,o=[],i=e.trim().split(Gt),s="";for(let d=i.length-1;d>=0;d-=1){let m=i[d],{modifiers:g,hasImportantModifier:x,baseClassName:A,maybePostfixModifierPosition:v}=r(m),N=!!v,f=n(N?A.substring(0,v):A);if(!f){if(!N){s=m+(s.length>0?" "+s:s);continue}if(f=n(A),!f){s=m+(s.length>0?" "+s:s);continue}N=!1}let h=Dt(g).join(":"),C=x?h+Fe:h,P=C+f;if(o.includes(P))continue;o.push(P);let D=a(f,N);for(let H=0;H<D.length;++H){let te=D[H];o.push(C+te)}s=m+(s.length>0?" "+s:s)}return s};function Kt(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=De(t))&&(n&&(n+=" "),n+=r);return n}var De=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=De(e[n]))&&(r&&(r+=" "),r+=t);return r};function Qt(e,...t){let r,n,a,o=i;function i(d){let m=t.reduce((g,x)=>x(g),e());return r=Ht(m),n=r.cache.get,a=r.cache.set,o=s,s(d)}function s(d){let m=n(d);if(m)return m;let g=Ut(d,r);return a(d,g),g}return function(){return o(Kt.apply(null,arguments))}}var b=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},He=/^\[(?:([a-z-]+):)?(.+)\]$/i,Vt=/^\d+\/\d+$/,Yt=new Set(["px","full","screen"]),Ot=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,_t=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(Ve|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,jt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Jt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)vt-?((\d+)?\.?(\d+)[a-z]+|0)/,Xt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,I=e=>Q(e)||Yt.has(e)||Vt.test(e),L=e=>V(e,"length",or),Q=e=>!!e&&!Number.isNaN(Number(e)),fe=e=>V(e,"number",Q),J=e=>!!e&&Number.isInteger(Number(e)),qt=e=>e.endsWith("%")&&Q(e.slice(0,-1)),l=e=>He.test(e),z=e=>Ot.test(e),Wt=new Set(["length","size","percentage"]),Zt=e=>V(e,Wt,Ge),$t=e=>V(e,"position",Ge),er=new Set(["image","url"]),tr=e=>V(e,er,nr),rr=e=>V(e,"",ar),X=()=>!0,V=(e,t,r)=>{let n=He.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1},or=e=>_t.test(e)&&!jt.test(e),Ge=()=>!1,ar=e=>Jt.test(e),nr=e=>Xt.test(e);var sr=()=>{let e=b("colors"),t=b("spacing"),r=b("blur"),n=b("brightness"),a=b("borderColor"),o=b("borderRadius"),i=b("borderSpacing"),s=b("borderWidth"),d=b("contrast"),m=b("grayscale"),g=b("hueRotate"),x=b("invert"),A=b("gap"),v=b("gradientColorStops"),N=b("gradientColorStopPositions"),f=b("inset"),h=b("margin"),C=b("opacity"),P=b("padding"),D=b("saturate"),H=b("scale"),te=b("sepia"),ke=b("skew"),Ne=b("space"),Pe=b("translate"),pe=()=>["auto","contain","none"],me=()=>["auto","hidden","clip","visible","scroll"],ue=()=>["auto",l,t],y=()=>[l,t],Be=()=>["",I,L],re=()=>["auto",Q,l],Re=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],oe=()=>["solid","dashed","dotted","double","none"],Te=()=>["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"],j=()=>["","0",l],Ie=()=>["auto","avoid","all","avoid-page","page","left","right","column"],T=()=>[Q,l];return{cacheSize:500,separator:":",theme:{colors:[X],spacing:[I,L],blur:["none","",z,l],brightness:T(),borderColor:[e],borderRadius:["none","","full",z,l],borderSpacing:y(),borderWidth:Be(),contrast:T(),grayscale:j(),hueRotate:T(),invert:j(),gap:y(),gradientColorStops:[e],gradientColorStopPositions:[qt,L],inset:ue(),margin:ue(),opacity:T(),padding:y(),saturate:T(),scale:T(),sepia:j(),skew:T(),space:y(),translate:y()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[z]}],"break-after":[{"break-after":Ie()}],"break-before":[{"break-before":Ie()}],"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:[...Re(),l]}],overflow:[{overflow:me()}],"overflow-x":[{"overflow-x":me()}],"overflow-y":[{"overflow-y":me()}],overscroll:[{overscroll:pe()}],"overscroll-x":[{"overscroll-x":pe()}],"overscroll-y":[{"overscroll-y":pe()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[f]}],"inset-x":[{"inset-x":[f]}],"inset-y":[{"inset-y":[f]}],start:[{start:[f]}],end:[{end:[f]}],top:[{top:[f]}],right:[{right:[f]}],bottom:[{bottom:[f]}],left:[{left:[f]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",J,l]}],basis:[{basis:ue()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",l]}],grow:[{grow:j()}],shrink:[{shrink:j()}],order:[{order:["first","last","none",J,l]}],"grid-cols":[{"grid-cols":[X]}],"col-start-end":[{col:["auto",{span:["full",J,l]},l]}],"col-start":[{"col-start":re()}],"col-end":[{"col-end":re()}],"grid-rows":[{"grid-rows":[X]}],"row-start-end":[{row:["auto",{span:[J,l]},l]}],"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",l]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",l]}],gap:[{gap:[A]}],"gap-x":[{"gap-x":[A]}],"gap-y":[{"gap-y":[A]}],"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"]}],Ve:[{Ve:[P]}],px:[{px:[P]}],py:[{py:[P]}],ps:[{ps:[P]}],pe:[{pe:[P]}],pt:[{pt:[P]}],pr:[{pr:[P]}],pb:[{pb:[P]}],pl:[{pl:[P]}],m:[{m:[h]}],mx:[{mx:[h]}],my:[{my:[h]}],ms:[{ms:[h]}],me:[{me:[h]}],mt:[{mt:[h]}],mr:[{mr:[h]}],mb:[{mb:[h]}],ml:[{ml:[h]}],"space-x":[{"space-x":[Ne]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Ne]}],"space-y-reverse":["space-y-reverse"],Ve:[{Ve:["auto","min","max","fit","svw","lvw","dvw",l,t]}],"min-Ve":[{"min-Ve":[l,t,"min","max","fit"]}],"max-Ve":[{"max-Ve":[l,t,"none","full","min","max","fit","prose",{screen:[z]},z]}],h:[{h:[l,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,t,"auto","min","max","fit"]}],"font-size":[{text:["base",z,L]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",fe]}],"font-family":[{font:[X]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",l]}],"line-clamp":[{"line-clamp":["none",Q,fe]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",I,l]}],"list-image":[{"list-image":["none",l]}],"list-style-type":[{list:["none","disc","decimal",l]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[C]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[C]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...oe(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",I,L]}],"underline-offset":[{"underline-offset":["auto",I,l]}],"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:y()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",l]}],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",l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[C]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Re(),$t]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Zt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},tr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[N]}],"gradient-via-pos":[{via:[N]}],"gradient-to-pos":[{to:[N]}],"gradient-from":[{from:[v]}],"gradient-via":[{via:[v]}],"gradient-to":[{to:[v]}],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-Ve":[{border:[s]}],"border-Ve-x":[{"border-x":[s]}],"border-Ve-y":[{"border-y":[s]}],"border-Ve-s":[{"border-s":[s]}],"border-Ve-e":[{"border-e":[s]}],"border-Ve-t":[{"border-t":[s]}],"border-Ve-r":[{"border-r":[s]}],"border-Ve-b":[{"border-b":[s]}],"border-Ve-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[C]}],"border-style":[{border:[...oe(),"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":[C]}],"divide-style":[{divide:oe()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[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:["",...oe()]}],"outline-offset":[{"outline-offset":[I,l]}],"outline-Ve":[{outline:[I,L]}],"outline-color":[{outline:[e]}],"ring-Ve":[{ring:Be()}],"ring-Ve-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[C]}],"ring-offset-Ve":[{"ring-offset":[I,L]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",z,rr]}],"shadow-color":[{shadow:[X]}],opacity:[{opacity:[C]}],"mix-blend":[{"mix-blend":[...Te(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Te()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",z,l]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[g]}],invert:[{invert:[x]}],saturate:[{saturate:[D]}],sepia:[{sepia:[te]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[g]}],"backdrop-invert":[{"backdrop-invert":[x]}],"backdrop-opacity":[{"backdrop-opacity":[C]}],"backdrop-saturate":[{"backdrop-saturate":[D]}],"backdrop-sepia":[{"backdrop-sepia":[te]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",l]}],duration:[{duration:T()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:T()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[H]}],"scale-x":[{"scale-x":[H]}],"scale-y":[{"scale-y":[H]}],rotate:[{rotate:[J,l]}],"translate-x":[{"translate-x":[Pe]}],"translate-y":[{"translate-y":[Pe]}],"skew-x":[{"skew-x":[ke]}],"skew-y":[{"skew-y":[ke]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",l]}],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","Ve-resize","Ve-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",l]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":y()}],"scroll-mx":[{"scroll-mx":y()}],"scroll-my":[{"scroll-my":y()}],"scroll-ms":[{"scroll-ms":y()}],"scroll-me":[{"scroll-me":y()}],"scroll-mt":[{"scroll-mt":y()}],"scroll-mr":[{"scroll-mr":y()}],"scroll-mb":[{"scroll-mb":y()}],"scroll-ml":[{"scroll-ml":y()}],"scroll-Ve":[{"scroll-Ve":y()}],"scroll-px":[{"scroll-px":y()}],"scroll-py":[{"scroll-py":y()}],"scroll-ps":[{"scroll-ps":y()}],"scroll-pe":[{"scroll-pe":y()}],"scroll-pt":[{"scroll-pt":y()}],"scroll-pr":[{"scroll-pr":y()}],"scroll-pb":[{"scroll-pb":y()}],"scroll-pl":[{"scroll-pl":y()}],"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",l]}],fill:[{fill:[e,"none"]}],"stroke-Ve":[{stroke:[I,L,fe]}],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"],Ve:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["Ve","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-Ve":["border-Ve-s","border-Ve-e","border-Ve-t","border-Ve-r","border-Ve-b","border-Ve-l"],"border-Ve-x":["border-Ve-r","border-Ve-l"],"border-Ve-y":["border-Ve-t","border-Ve-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-Ve":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Ue=Qt(sr);function c(...e){return Ue((0,Ke.clsx)(e))}var Ve=require("react/jsx-runtime");function Qe({children:e,isFluid:t=!1,isNoPadding:r=!1,className:n=""}){let a=c("container",t&&"full-width",r&&"no-padding",n);return(0,Ve.jsx)("div",{className:a,children:e})}var Ye=E(require("next/link"));function Oe({children:e,href:t,openNewTab:r,...n}){return(0,Ve.jsx)(Ye.default,{href:t,target:r?"_blank":"_self",...n,children:e})}var At=E(require("next/image"));var je=({className:e,content:t,style:r})=>(0,Ve.jsx)("div",{className:c("mx-auto my-8 Ve-full",e),children:(0,Ve.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,Ve.jsx)(B,{content:t,enableGutter:!1,enableProse:!1})})});var Je=require("@radix-ui/react-slot"),Xe=require("class-variance-authority"),qe=E(require("react")),ir=(0,Xe.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 Ve-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"}}}),S=qe.forwardRef(({asChild:e=!1,className:t,size:r,variant:n,...a},o)=>(0,Ve.jsx)(e?Je.Slot:"button",{className:c(ir({className:t,size:r,variant:n})),ref:o,...a}));S.displayName="Button";var he=E(require("next/link")),W=e=>{let{type:t,appearance:r="inline",children:n,className:a,label:o,newTab:i,reference:s,size:d,url:m}=e,g=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}`:m;if(!g)return null;let x=r==="link"?"clear":d,A=i?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,Ve.jsxs)(he.default,{className:c(a),href:g||m||"",...A,children:[o&&o,n&&n]}):(0,Ve.jsx)(S,{asChild:!0,className:a,size:x,variant:r,children:(0,Ve.jsxs)(he.default,{className:c(a),href:g||m||"",...A,children:[o&&o,n&&n]})})};var Ze=({links:e,richText:t})=>(0,Ve.jsx)("div",{className:"container",children:(0,Ve.jsxs)("div",{className:"bg-card rounded border-border border Ve-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,Ve.jsx)("div",{className:"max-Ve-[48rem] flex items-center",children:t&&(0,Ve.jsx)(B,{className:"mb-0",content:t,enableGutter:!1})}),(0,Ve.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},n)=>(0,Ve.jsx)(W,{size:"lg",...r},n))})]})});var se=require("prism-react-renderer");var $e=require("lucide-react"),et=require("react");function tt({code:e}){let[t,r]=(0,et.useState)("Copy");function n(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,Ve.jsx)("div",{className:"flex justify-end align-middle",children:(0,Ve.jsxs)(S,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),n()},children:[(0,Ve.jsx)("Ve",{children:t}),(0,Ve.jsx)("div",{className:"Ve-6 h-6 dark:invert",children:(0,Ve.jsx)($e.ClipboardCopy,{})})]})})}var rt=({code:e,language:t=""})=>e?(0,Ve.jsx)(se.Highlight,{code:e,language:t,theme:se.themes.vsDark,children:({getLineProps:r,getTokenProps:n,tokens:a})=>(0,Ve.jsxs)("pre",{className:"bg-black Ve-4 border text-xs border-border rounded overflow-x-auto",children:[a.map((o,i)=>(0,Ve.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,Ve.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,Ve.jsx)("span",{className:"table-cell pl-4",children:o.map((s,d)=>(0,Ve.jsx)("span",{...n({token:s})},d))})]},i)),(0,Ve.jsx)(tt,{code:e})]})}):null;var ot=({className:e,code:t,language:r})=>(0,Ve.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Ve.jsx)(rt,{code:t,language:r})});var nt=E(require("next/image")),lr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},at="data:image/png;base64,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",st=e=>{let{alt:t,fill:r,imgClassName:n,priority:a,resource:o,size:i,src:s,loading:d}=e,m,g,x=t,A=s||"";if(!A&&o&&typeof o=="object"){let{alt:f,filename:h,height:C,url:P,width:D}=o;m=D,g=C,x=f||"",A=P||at}let v=d||"lazy",N=i||Object.entries(lr).map(([,f])=>`(max-width: ${f}px) ${f*2}Ve`).join(", ");return(0,Ve.jsx)("picture",{children:(0,Ve.jsx)(nt.default,{alt:x||"",className:c(n),fill:r,height:r?void 0:g,placeholder:"blur",blurDataURL:at,priority:v!=="lazy"&&a,quality:100,loading:v,sizes:N,src:A,width:r?void 0:m})})};var it=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var lt=()=>{if(it){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 ct=e=>{let{onClick:t,resource:r,videoClassName:n}=e,a=(0,et.useRef)(null);if((0,et.useEffect)(()=>{let{current:o}=a;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,Ve.jsx)("video",{autoPlay:!0,className:c(n),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:a,children:(0,Ve.jsx)("source",{src:`${lt()}/media/${o}`})})}return null};var ce=e=>{var i;let{className:t,htmlElement:r="div",resource:n}=e,a=typeof n=="object"&&((i=n==null?void 0:n.mimeType)==null?void 0:i.includes("video"));return(0,Ve.jsx)(r||et.Fragment,{...r!==null?{className:t}:{},children:a?(0,Ve.jsx)(ct,{...e}):(0,Ve.jsx)(st,{...e})})};var pt=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:a,staticImage:o}=e;return(0,Ve.jsx)("div",{className:c("",{container:r},t),children:(0,Ve.jsx)(ce,{imgClassName:c("border border-border rounded-[0.8rem]",n),resource:a,src:o})})};var mt=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:a,staticImage:o}=e;return(0,Ve.jsx)("div",{className:c("",{container:r},t),children:(0,Ve.jsx)(ce,{imgClassName:c("border border-border rounded-[0.8rem]",n),resource:a,src:o})})};var ut=({type:e="solid",iconName:t="cloud",size:r="lg",className:n})=>{let a=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,i=n!=null?n:"",s=a+o+" fa-"+r+" "+i;return(0,Ve.jsx)("i",{className:s})};var U=E(require("react"));var Y=U.forwardRef(({className:e,...t},r)=>(0,Ve.jsx)("div",{ref:r,className:c("rounded-xl border bg-card text-card-foreground shadow",e),...t}));Y.displayName="Card";var Z=U.forwardRef(({className:e,...t},r)=>(0,Ve.jsx)("div",{ref:r,className:c("flex flex-col space-y-1.5 Ve-6",e),...t}));Z.displayName="CardHeader";var $=U.forwardRef(({className:e,...t},r)=>(0,Ve.jsx)("div",{ref:r,className:c("font-semibold leading-none tracking-tight",e),...t}));$.displayName="CardTitle";var cr=U.forwardRef(({className:e,...t},r)=>(0,Ve.jsx)("div",{ref:r,className:c("text-sm text-muted-foreground",e),...t}));cr.displayName="CardDescription";var O=U.forwardRef(({className:e,...t},r)=>(0,Ve.jsx)("div",{ref:r,className:c("Ve-6 pt-0",e),...t}));O.displayName="CardContent";var dr=U.forwardRef(({className:e,...t},r)=>(0,Ve.jsx)("div",{ref:r,className:c("flex items-center Ve-6 pt-0",e),...t}));dr.displayName="CardFooter";function pr(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function ft({variant:e="light",className:t,icon:r,heading:n,subheading:a,content:o,statistic:i,buttonText:s,buttonHref:d}){return(0,Ve.jsxs)("div",{className:c("rounded-3xl Ve-8 md:Ve-12",{solid:"bg-[#A42368]",light:"bg-white",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden"}[e],e==="light"?"text-gray-900":"text-white",t),children:[(0,Ve.jsxs)("div",{className:"flex items-center gap-4 mb-6",children:[r&&(0,Ve.jsx)("div",{className:c("rounded-full Ve-0",e==="light"?"text-[#A42368]":"text-white"),children:pr(r)?(0,Ve.jsx)(ut,{type:r.type,iconName:r.iconName,size:"2x"}):r}),(0,Ve.jsx)("h2",{className:c("font-semibold",e==="solid"||e==="light"?"text-2xl":"text-4xl"),children:n})]}),e==="solid"&&i&&(0,Ve.jsx)("div",{className:"mb-6",children:(0,Ve.jsx)("div",{className:"text-[8rem] font-bold leading-none",children:i})}),a&&(0,Ve.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:a}),o&&typeof o=="object"&&(0,Ve.jsx)("div",{className:c("space-y-6",e==="light"?"text-gray-600":"text-gray-300"),children:(0,Ve.jsx)(B,{enableGutter:!1,content:o,enableProse:!1,className:c(e==="light"?"prose":"prose prose-headings:text-white prose-Ve:text-gray-300")})}),o&&typeof o=="string"&&(0,Ve.jsx)("div",{className:c("space-y-6",e==="light"?"text-gray-600":"text-gray-300"),children:o}),s&&(0,Ve.jsx)("div",{className:"mt-8",children:(0,Ve.jsx)(S,{size:"lg",className:"text-white text-lg rounded-xl",asChild:!0,children:(0,Ve.jsxs)("a",{href:d,children:[s,(0,Ve.jsx)("span",{className:"ml-2",children:"\u2193"})]})})}),e==="radial"&&(0,Ve.jsx)("div",{className:"absolute bottom-0 right-0 Ve-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 bt=({title:e,description:t,features:r,id:n})=>(0,Ve.jsxs)("section",{className:c("container Ve-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,Ve.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl",id:n||"",children:e}),t&&typeof t=="string"&&(0,Ve.jsx)("Ve",{className:"mb-5 text-xl tracking-tight md:text-xl",children:t}),t&&typeof t=="object"&&(0,Ve.jsx)("Ve",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,Ve.jsx)(B,{content:t,enableGutter:!1})}),(0,Ve.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((a,o)=>{var i,s,d,m,g;if(((i=a.settings)==null?void 0:i.contents)==="icon")return(0,Ve.jsx)(mr,{section:a,index:o},o);{let x=()=>{if(a.icon.type!=="none")return{type:a.icon.type,iconName:a.icon.icon}};return(0,Ve.jsx)(ft,{variant:((s=a.settings)==null?void 0:s.card)==="default"?"solid":((d=a.settings)==null?void 0:d.card)||"solid",icon:x()||void 0,heading:a.title||"",content:a.content||void 0,statistic:a.statistic||void 0,buttonText:(m=a.link)!=null&&m.url?"Find out more":void 0,buttonHref:((g=a.link)==null?void 0:g.url)||void 0},o)}})})]}),mr=({section:e,index:t})=>{if(!e)return null;let r=(0,Ve.jsxs)("div",{className:"flex flex-col gap-4",children:[e.icon&&(0,Ve.jsx)("div",{className:"text-accent h-12 Ve-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,Ve.jsx)("i",{className:`${e.icon.type} fa-${e.icon.icon} fa-4x`})}),(0,Ve.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:e.title}),e.content&&typeof e.content!="object"&&(0,Ve.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:e.content}}),e.content&&typeof e.content=="object"&&(0,Ve.jsx)("div",{className:"text-lg opacity-80",children:(0,Ve.jsx)(B,{content:e.content,enableGutter:!1})})]},t);return e.link?(0,Ve.jsx)("a",{href:e.link.url?e.link.url:"#",className:"no-underline group",children:r},t):r};var de=E(require("react"));function ee({nodes:e}){return(0,Ve.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,Ve.jsx)(de.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,Ve.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,Ve.jsx)("em",{children:o},r)),t.format&4&&(o=(0,Ve.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,Ve.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,Ve.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,Ve.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,Ve.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,Ve.jsx)("table",{children:(0,Ve.jsx)("tbody",{children:t.children.map((o,i)=>(0,Ve.jsx)("tr",{children:o.children.map((s,d)=>(0,Ve.jsx)("td",{children:ee({nodes:s.children})},d))},i))})},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 i of o.children)"checked"in i&&(i!=null&&i.checked||(i.checked=!1));return ee({nodes:o.children})},a="children"in t?n(t):"";if(t.type==="block"){let o=t.fields,i=o==null?void 0:o.blockType;if(!o||!i)return null;switch(i){case"cta":return(0,Ve.jsx)(Ze,{...o},r);case"mediaBlock":return(0,Ve.jsx)(pt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-Ve-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,Ve.jsx)(mt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-Ve-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,Ve.jsx)(je,{className:"col-start-2 mb-4",...o},r);case"code":return(0,Ve.jsx)(ot,{className:"col-start-2",...o},r);case"features":return(0,Ve.jsx)(bt,{...o},r);case"reusableContentBlock":ee({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,Ve.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,Ve.jsx)("Ve",{className:"col-start-2",children:a},r);case"heading":{let o=t==null?void 0:t.tag;return(0,Ve.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:a},r)}case"list":{let o=t==null?void 0:t.tag;return(0,Ve.jsx)(o,{className:"list col-start-2",children:a},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,Ve.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:a},r):(0,Ve.jsx)("li",{value:t==null?void 0:t.value,children:a},r);case"quote":return(0,Ve.jsx)("blockquote",{className:"col-start-2",children:a},r);case"link":{let o=t.fields;return(0,Ve.jsx)(W,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:a},r)}case"autolink":{let o=t.fields;return(0,Ve.jsx)(W,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:a},r)}default:return null}})})}var B=({className:e,content:t,enableGutter:r=!0,enableProse:n=!0})=>{var a;return t?(0,Ve.jsx)("div",{className:c({"container ":r,"max-Ve-none":!r,"mx-auto prose dark:prose-invert ":n},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&ee({nodes:(a=t==null?void 0:t.root)==null?void 0:a.children})}):null};var vt=require("next/navigation");var _o=c("transition-colors duration-400 hover:text-primary ease-in-out");function xt({title:e,links:t}){let r=(0,vt.useSearchParams)(),n=(0,vt.usePathname)(),{replace:a}=(0,vt.useRouter)();function o(i){let s=new URLSearchParams(r);i?s.set("category",i):s.delete("category"),a(`${n}?${s.toString()}`)}return(0,Ve.jsxs)(Y,{children:[(0,Ve.jsx)(Z,{children:(0,Ve.jsx)($,{className:"text-accent",children:e&&e})}),(0,Ve.jsx)(O,{children:t&&t.length>0&&(0,Ve.jsx)("nav",{"aria-label":"footer links navigation",children:(0,Ve.jsx)("ul",{className:"grid gap-2.5 ",children:t.map((i,s)=>(0,Ve.jsxs)("li",{className:"flex items-center text-sm text-primary hover:text-accent dark:text-foreground first:pt-0 hover:cursor-pointer",onClick:d=>{d.preventDefault(),o(i.href)},children:[i.label,(0,Ve.jsx)($e.ExternalLink,{className:"ml-1 h-3 Ve-3"})]},s))})})})]})}var Ct=E(require("next/link"));function ur({image:e,name:t,about:r,socialLinks:n}){return!e||!e.src||e.src.length<3||!t?null:(0,Ve.jsx)("div",{className:"mt-1 z-10 px-0 pt-0 lg:px-10",children:(0,Ve.jsx)(Y,{children:(0,Ve.jsxs)(O,{children:[e&&e.src&&(0,Ve.jsx)(At.default,{src:e.src,alt:e.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:Me,className:"mx-auto mt-6 rounded-full object-cover"}),(0,Ve.jsx)("h3",{className:"font-secondary text-center py-2 text-lg leading-[1.25] text-accent md:text-xl",children:t}),(0,Ve.jsx)("Ve",{children:r}),n&&n.length>0&&(0,Ve.jsx)("nav",{"aria-label":"social links",children:(0,Ve.jsx)("ul",{className:"inline-flex items-center divide-x divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:n.map((a,o)=>(0,Ve.jsx)("li",{children:(0,Ve.jsx)(Oe,{href:a.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 hover:text-accents",children:(0,Ve.jsx)("span",{children:a.icon})})},o))})})]})})})}function gr({page:e,categoryList:t,edit:r=!1,path:n="/admin/collections/posts/"}){var A;if(!e)return(0,vt.notFound)();let{meta:a,populatedAuthors:o,authors:i,categories:s,content:d,title:m}=e,g={image:{src:a&&a.image&&a.image.url||void 0,alt:a&&a.image&&a.image.alt||void 0},authorName:((A=o==null?void 0:o[0])==null?void 0:A.name)||"",category:s,commentCount:0,title:m,description:(a==null?void 0:a.description)||""},x=i==null?void 0:i.map(v=>{var N,f;return{name:v.name||"",about:"",image:{src:v.profilePicture&&((f=(N=v.profilePicture.sizes)==null?void 0:N.square)==null?void 0:f.url)||"",alt:v.name||"blog author"},socialLinks:[]}});return(0,Ve.jsx)(Qe,{children:(0,Ve.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,Ve.jsx)("div",{children:(0,Ve.jsxs)("div",{className:"[&_p+P]:mt-4",children:[(0,Ve.jsx)("div",{className:"my-4 h-px bg-body/30 lg:my-5"}),(0,Ve.jsx)(B,{content:d,enableGutter:!1})]})}),(0,Ve.jsxs)("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-Ve-[410px] lg:gap-10",children:[r&&(0,Ve.jsx)("div",{className:"mt-4 lg:-mt-10 z-10 px-0 pt-0 lg:px-10",children:(0,Ve.jsxs)(Y,{children:[(0,Ve.jsx)(Z,{children:(0,Ve.jsx)($,{className:"text-accent",children:"Content Actions"})}),(0,Ve.jsxs)(O,{children:[(0,Ve.jsx)("Ve",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),(0,Ve.jsx)(Ct.default,{href:`${n}${e.id}`,children:(0,Ve.jsx)(S,{variant:"outline",className:"Ve-full text-accent hover:text-foreground",children:"Edit"})})]})]})}),x&&x.map((v,N)=>(0,Ve.jsx)(ur,{...v},N)),t&&t.links&&(0,Ve.jsx)("div",{className:"mt-4 px-0 pt-0 lg:px-10",children:(0,Ve.jsx)(xt,{links:t.links,title:t.title})})]})]})})}0&&(module.exports={BlogDetail});
@@ -1 +1 @@
1
- import{a}from"../chunk-US6CSL53.mjs";import"../chunk-KML6U7IE.mjs";import"../chunk-TXXFXCXB.mjs";import"../chunk-G6K3PK47.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-44VMK4FL.mjs";import"../chunk-UK4IPFAO.mjs";import"../chunk-HUN2X4VH.mjs";import"../chunk-ICTOXY7D.mjs";import"../chunk-YNDKGRL6.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-2NFKSNJW.mjs";import"../chunk-FI4SMRAR.mjs";import"../chunk-5IQPAE6K.mjs";import"../chunk-M6M43TLT.mjs";import"../chunk-FGWIT6CV.mjs";import"../chunk-ZWKWU7U4.mjs";import"../chunk-EY5QX73B.mjs";import"../chunk-YCX5N23N.mjs";import"../chunk-JWDVKGZL.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-KDGEXDC5.mjs";import"../chunk-Y2KKUQDU.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-VZXLXNVY.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-NSBNDXRL.mjs";import"../chunk-S7OK7D5I.mjs";export{a as BlogDetail};
1
+ import{a}from"../chunk-LIAT3JG5.mjs";import"../chunk-KML6U7IE.mjs";import"../chunk-TXXFXCXB.mjs";import"../chunk-7FR5BXX2.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-44VMK4FL.mjs";import"../chunk-M6M43TLT.mjs";import"../chunk-FGWIT6CV.mjs";import"../chunk-ZWKWU7U4.mjs";import"../chunk-EY5QX73B.mjs";import"../chunk-YCX5N23N.mjs";import"../chunk-PVRWMAHW.mjs";import"../chunk-Y6CZVVJF.mjs";import"../chunk-NGK3IDFP.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-YNDKGRL6.mjs";import"../chunk-2NFKSNJW.mjs";import"../chunk-FI4SMRAR.mjs";import"../chunk-5IQPAE6K.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-JWDVKGZL.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-KDGEXDC5.mjs";import"../chunk-Y2KKUQDU.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-VZXLXNVY.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-NSBNDXRL.mjs";import"../chunk-S7OK7D5I.mjs";export{a as BlogDetail};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- "use strict";var Ht=Object.create;var le=Object.defineProperty;var Gt=Object.getOwnPropertyDescriptor;var Ut=Object.getOwnPropertyNames;var Kt=Object.getPrototypeOf,Qt=Object.prototype.hasOwnProperty;var Ot=(e,t)=>{for(var r in t)le(e,r,{get:t[r],enumerable:!0})},Qe=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Ut(t))!Qt.call(e,n)&&n!==r&&le(e,n,{get:()=>t[n],enumerable:!(a=Gt(t,n))||a.enumerable});return e};var S=(e,t,r)=>(r=e!=null?Ht(Kt(e)):{},Qe(t||!e||!e.__esModule?le(r,"default",{value:e,enumerable:!0}):r,e)),Vt=e=>Qe(le({},"__esModule",{value:!0}),e);var Sr={};Ot(Sr,{Default:()=>Y,LoadsOfBlogs:()=>Ft,NoAuthorImage:()=>zt,NoCategories:()=>Dt,default:()=>Ir});module.exports=Vt(Sr);var Oe="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Lt";var We=require("clsx");var Ne="-",Yt=e=>{let t=_t(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:i=>{let s=i.split(Ne);return s[0]===""&&s.length!==1&&s.shift(),je(s,t)||jt(i)},getConflictingClassGroupIds:(i,s)=>{let c=r[i]||[];return s&&a[i]?[...c,...a[i]]:c}}},je=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),n=a?je(e.slice(1),a):void 0;if(n)return n;if(t.validators.length===0)return;let o=e.join(Ne);return(i=t.validators.find(({validator:s})=>s(o)))==null?void 0:i.classGroupId},Ve=/^\[(.+)\]$/,jt=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}},_t=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return qt(Object.entries(e.classGroups),r).forEach(([o,i])=>{Pe(i,a,o,t)}),a},Pe=(e,t,r,a)=>{e.forEach(n=>{if(typeof n=="string"){let o=n===""?t:Ye(t,n);o.classGroupId=r;return}if(typeof n=="function"){if(Jt(n)){Pe(n(a),t,r,a);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([o,i])=>{Pe(i,Ye(t,o),r,a)})})},Ye=(e,t)=>{let r=e;return t.split(Ne).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},Jt=e=>e.isThemeGetter,qt=(e,t)=>t?e.map(([r,a])=>{let n=a.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,s])=>[t+i,s])):o);return[r,n]}):e,Zt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,a=new Map,n=(o,i)=>{r.set(o,i),t++,t>e&&(t=0,a=r,r=new Map)};return{get(o){let i=r.get(o);if(i!==void 0)return i;if((i=a.get(o))!==void 0)return n(o,i),i},set(o,i){r.has(o)?r.set(o,i):n(o,i)}}},_e="!",Xt=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,n=t[0],o=t.length,i=s=>{let c=[],m=0,g=0,x;for(let h=0;h<s.length;h++){let C=s[h];if(m===0){if(C===n&&(a||s.slice(h,h+o)===t)){c.push(s.slice(g,h)),g=h+o;continue}if(C==="/"){x=h;continue}}C==="["?m++:C==="]"&&m--}let v=c.length===0?s:s.substring(g),A=v.startsWith(_e),P=A?v.substring(1):v,f=x&&x>g?x-g:void 0;return{modifiers:c,hasImportantModifier:A,baseClassName:P,maybePostfixModifierPosition:f}};return r?s=>r({className:s,parseClassName:i}):i},Wt=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(a=>{a[0]==="["?(t.push(...r.sort(),a),r=[]):r.push(a)}),t.push(...r.sort()),t},$t=e=>({cache:Zt(e.cacheSize),parseClassName:Xt(e),...Yt(e)}),er=/\s+/,tr=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:n}=t,o=[],i=e.trim().split(er),s="";for(let c=i.length-1;c>=0;c-=1){let m=i[c],{modifiers:g,hasImportantModifier:x,baseClassName:v,maybePostfixModifierPosition:A}=r(m),P=!!A,f=a(P?v.substring(0,A):v);if(!f){if(!P){s=m+(s.length>0?" "+s:s);continue}if(f=a(v),!f){s=m+(s.length>0?" "+s:s);continue}P=!1}let h=Wt(g).join(":"),C=x?h+_e:h,N=C+f;if(o.includes(N))continue;o.push(N);let H=n(f,P);for(let G=0;G<H.length;++G){let ne=H[G];o.push(C+ne)}s=m+(s.length>0?" "+s:s)}return s};function rr(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Je(t))&&(a&&(a+=" "),a+=r);return a}var Je=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=Je(e[a]))&&(r&&(r+=" "),r+=t);return r};function or(e,...t){let r,a,n,o=i;function i(c){let m=t.reduce((g,x)=>x(g),e());return r=$t(m),a=r.cache.get,n=r.cache.set,o=s,s(c)}function s(c){let m=a(c);if(m)return m;let g=tr(c,r);return n(c,g),g}return function(){return o(rr.apply(null,arguments))}}var b=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},qe=/^\[(?:([a-et-]+):)?(.+)\]$/i,ar=/^\d+\/\d+$/,nr=new Set(["px","full","screen"]),sr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ir=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(et|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,lr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,cr=/^(inset_)?-?((\d+)?\.?(\d+)[a-et]+|0)_-?((\d+)?\.?(\d+)[a-et]+|0)/,dr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,M=e=>j(e)||nr.has(e)||ar.test(e),F=e=>_(e,"length",hr),j=e=>!!e&&!Number.isNaN(Number(e)),we=e=>_(e,"number",j),W=e=>!!e&&Number.isInteger(Number(e)),pr=e=>e.endsWith("%")&&j(e.slice(0,-1)),d=e=>qe.test(e),D=e=>sr.test(e),mr=new Set(["length","size","percentage"]),ur=e=>_(e,mr,Ze),gr=e=>_(e,"position",Ze),fr=new Set(["image","url"]),br=e=>_(e,fr,vr),yr=e=>_(e,"",xr),$=()=>!0,_=(e,t,r)=>{let a=qe.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},hr=e=>ir.test(e)&&!lr.test(e),Ze=()=>!1,xr=e=>cr.test(e),vr=e=>dr.test(e);var Ar=()=>{let e=b("colors"),t=b("spacing"),r=b("blur"),a=b("brightness"),n=b("borderColor"),o=b("borderRadius"),i=b("borderSpacing"),s=b("borderWidth"),c=b("contrast"),m=b("grayscale"),g=b("hueRotate"),x=b("invert"),v=b("gap"),A=b("gradientColorStops"),P=b("gradientColorStopPositions"),f=b("inset"),h=b("margin"),C=b("opacity"),N=b("padding"),H=b("saturate"),G=b("scale"),ne=b("sepia"),Fe=b("skew"),De=b("space"),ze=b("translate"),ve=()=>["auto","contain","none"],Ae=()=>["auto","hidden","clip","visible","scroll"],Ce=()=>["auto",d,t],y=()=>[d,t],He=()=>["",M,F],se=()=>["auto",j,d],Ge=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ie=()=>["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"],ke=()=>["start","end","center","between","around","evenly","stretch"],X=()=>["","0",d],Ke=()=>["auto","avoid","all","avoid-page","page","left","right","column"],I=()=>[j,d];return{cacheSize:500,separator:":",theme:{colors:[$],spacing:[M,F],blur:["none","",D,d],brightness:I(),borderColor:[e],borderRadius:["none","","full",D,d],borderSpacing:y(),borderWidth:He(),contrast:I(),grayscale:X(),hueRotate:I(),invert:X(),gap:y(),gradientColorStops:[e],gradientColorStopPositions:[pr,F],inset:Ce(),margin:Ce(),opacity:I(),padding:y(),saturate:I(),scale:I(),sepia:X(),skew:I(),space:y(),translate:y()},classGroups:{aspect:[{aspect:["auto","square","video",d]}],container:["container"],columns:[{columns:[D]}],"break-after":[{"break-after":Ke()}],"break-before":[{"break-before":Ke()}],"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(),d]}],overflow:[{overflow:Ae()}],"overflow-x":[{"overflow-x":Ae()}],"overflow-y":[{"overflow-y":Ae()}],overscroll:[{overscroll:ve()}],"overscroll-x":[{"overscroll-x":ve()}],"overscroll-y":[{"overscroll-y":ve()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[f]}],"inset-x":[{"inset-x":[f]}],"inset-y":[{"inset-y":[f]}],start:[{start:[f]}],end:[{end:[f]}],top:[{top:[f]}],right:[{right:[f]}],bottom:[{bottom:[f]}],left:[{left:[f]}],visibility:["visible","invisible","collapse"],et:[{et:["auto",W,d]}],basis:[{basis:Ce()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",d]}],grow:[{grow:X()}],shrink:[{shrink:X()}],order:[{order:["first","last","none",W,d]}],"grid-cols":[{"grid-cols":[$]}],"col-start-end":[{col:["auto",{span:["full",W,d]},d]}],"col-start":[{"col-start":se()}],"col-end":[{"col-end":se()}],"grid-rows":[{"grid-rows":[$]}],"row-start-end":[{row:["auto",{span:[W,d]},d]}],"row-start":[{"row-start":se()}],"row-end":[{"row-end":se()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",d]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",d]}],gap:[{gap:[v]}],"gap-x":[{"gap-x":[v]}],"gap-y":[{"gap-y":[v]}],"justify-content":[{justify:["normal",...ke()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ke(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ke(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],et:[{et:[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:[h]}],mx:[{mx:[h]}],my:[{my:[h]}],ms:[{ms:[h]}],dt:[{dt:[h]}],mt:[{mt:[h]}],mr:[{mr:[h]}],mb:[{mb:[h]}],ml:[{ml:[h]}],"space-x":[{"space-x":[De]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[De]}],"space-y-reverse":["space-y-reverse"],et:[{et:["auto","min","max","fit","svw","lvw","dvw",d,t]}],"min-et":[{"min-et":[d,t,"min","max","fit"]}],"max-et":[{"max-et":[d,t,"none","full","min","max","fit","prose",{screen:[D]},D]}],h:[{h:[d,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[d,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[d,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[d,t,"auto","min","max","fit"]}],"font-size":[{text:["base",D,F]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",we]}],"font-family":[{font:[$]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",d]}],"line-clamp":[{"line-clamp":["none",j,we]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",M,d]}],"list-image":[{"list-image":["none",d]}],"list-style-type":[{list:["none","disc","decimal",d]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[C]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[C]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ie(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",M,F]}],"underline-offset":[{"underline-offset":["auto",M,d]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:y()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",d]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",d]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[C]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Ge(),gr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",ur]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},br]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[P]}],"gradient-via-pos":[{via:[P]}],"gradient-to-pos":[{to:[P]}],"gradient-from":[{from:[A]}],"gradient-via":[{via:[A]}],"gradient-to":[{to:[A]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-et":[{"rounded-et":[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-et":[{border:[s]}],"border-et-x":[{"border-x":[s]}],"border-et-y":[{"border-y":[s]}],"border-et-s":[{"border-s":[s]}],"border-et-e":[{"border-e":[s]}],"border-et-t":[{"border-t":[s]}],"border-et-r":[{"border-r":[s]}],"border-et-b":[{"border-b":[s]}],"border-et-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[C]}],"border-style":[{border:[...ie(),"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":[C]}],"divide-style":[{divide:ie()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...ie()]}],"outline-offset":[{"outline-offset":[M,d]}],"outline-et":[{outline:[M,F]}],"outline-color":[{outline:[e]}],"ring-et":[{ring:He()}],"ring-et-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[C]}],"ring-offset-et":[{"ring-offset":[M,F]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",D,yr]}],"shadow-color":[{shadow:[$]}],opacity:[{opacity:[C]}],"mix-blend":[{"mix-blend":[...Ue(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Ue()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",D,d]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[g]}],invert:[{invert:[x]}],saturate:[{saturate:[H]}],sepia:[{sepia:[ne]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[g]}],"backdrop-invert":[{"backdrop-invert":[x]}],"backdrop-opacity":[{"backdrop-opacity":[C]}],"backdrop-saturate":[{"backdrop-saturate":[H]}],"backdrop-sepia":[{"backdrop-sepia":[ne]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",d]}],duration:[{duration:I()}],ease:[{ease:["linear","in","out","in-out",d]}],delay:[{delay:I()}],animate:[{animate:["none","spin","ping","pulse","bounce",d]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[G]}],"scale-x":[{"scale-x":[G]}],"scale-y":[{"scale-y":[G]}],rotate:[{rotate:[W,d]}],"translate-x":[{"translate-x":[ze]}],"translate-y":[{"translate-y":[ze]}],"skew-x":[{"skew-x":[Fe]}],"skew-y":[{"skew-y":[Fe]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",d]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","et-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",d]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":y()}],"scroll-mx":[{"scroll-mx":y()}],"scroll-my":[{"scroll-my":y()}],"scroll-ms":[{"scroll-ms":y()}],"scroll-dt":[{"scroll-dt":y()}],"scroll-mt":[{"scroll-mt":y()}],"scroll-mr":[{"scroll-mr":y()}],"scroll-mb":[{"scroll-mb":y()}],"scroll-ml":[{"scroll-ml":y()}],"scroll-et":[{"scroll-et":y()}],"scroll-px":[{"scroll-px":y()}],"scroll-py":[{"scroll-py":y()}],"scroll-ps":[{"scroll-ps":y()}],"scroll-pe":[{"scroll-pe":y()}],"scroll-pt":[{"scroll-pt":y()}],"scroll-pr":[{"scroll-pr":y()}],"scroll-pb":[{"scroll-pb":y()}],"scroll-pl":[{"scroll-pl":y()}],"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",d]}],fill:[{fill:[e,"none"]}],"stroke-et":[{stroke:[M,F,we]}],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"],et:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","dt","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["et","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-et","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-et"],"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-et":["border-et-s","border-et-e","border-et-t","border-et-r","border-et-b","border-et-l"],"border-et-x":["border-et-r","border-et-l"],"border-et-y":["border-et-t","border-et-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-dt","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-et":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Xe=or(Ar);function l(...e){return Xe((0,We.clsx)(e))}var et=require("react/jsx-runtime");function $e({children:e,isFluid:t=!1,isNoPadding:r=!1,className:a=""}){let n=l("container",t&&"full-width",r&&"no-padding",a);return(0,et.jsx)("div",{className:n,children:e})}var tt=S(require("next/link"));function rt({children:e,href:t,openNewTab:r,...a}){return(0,et.jsx)(tt.default,{href:t,target:r?"_blank":"_self",...a,children:e})}var Mt=S(require("next/image"));var at=({className:e,content:t,style:r})=>(0,et.jsx)("div",{className:l("mx-auto my-8 et-full",e),children:(0,et.jsx)("div",{className:l("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,et.jsx)(B,{content:t,enableGutter:!1,enableProse:!1})})});var nt=require("@radix-ui/react-slot"),st=require("class-variance-authority"),it=S(require("react")),Cr=(0,st.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 et-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"}}}),L=it.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...n},o)=>(0,et.jsx)(e?nt.Slot:"button",{className:l(Cr({className:t,size:r,variant:a})),ref:o,...n}));L.displayName="Button";var Be=S(require("next/link")),U=e=>{let{type:t,appearance:r="inline",children:a,className:n,label:o,newTab:i,reference:s,size:c,url:m}=e,g=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}`:m;if(!g)return null;let x=r==="link"?"clear":c,v=i?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,et.jsxs)(Be.default,{className:l(n),href:g||m||"",...v,children:[o&&o,a&&a]}):(0,et.jsx)(L,{asChild:!0,className:n,size:x,variant:r,children:(0,et.jsxs)(Be.default,{className:l(n),href:g||m||"",...v,children:[o&&o,a&&a]})})};var de=({links:e,richText:t})=>(0,et.jsx)("div",{className:"container",children:(0,et.jsxs)("div",{className:"bg-card rounded border-border border et-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,et.jsx)("div",{className:"max-et-[48rem] flex items-center",children:t&&(0,et.jsx)(B,{className:"mb-0",content:t,enableGutter:!1})}),(0,et.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},a)=>(0,et.jsx)(U,{size:"lg",...r},a))})]})});var pe=require("prism-react-renderer");var ct=require("lucide-react"),dt=require("react");function pt({code:e}){let[t,r]=(0,dt.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,et.jsx)("div",{className:"flex justify-end align-middle",children:(0,et.jsxs)(L,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,et.jsx)("et",{children:t}),(0,et.jsx)("div",{className:"et-6 h-6 dark:invert",children:(0,et.jsx)(ct.ClipboardCopy,{})})]})})}var mt=({code:e,language:t=""})=>e?(0,et.jsx)(pe.Highlight,{code:e,language:t,theme:pe.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:n})=>(0,et.jsxs)("pre",{className:"bg-black et-4 border text-xs border-border rounded overflow-x-auto",children:[n.map((o,i)=>(0,et.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,et.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,et.jsx)("span",{className:"table-cell pl-4",children:o.map((s,c)=>(0,et.jsx)("span",{...a({token:s})},c))})]},i)),(0,et.jsx)(pt,{code:e})]})}):null;var ut=({className:e,code:t,language:r})=>(0,et.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,et.jsx)(mt,{code:t,language:r})});var ft=S(require("next/image")),kr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},gt="data:image/png;base64,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",bt=e=>{let{alt:t,fill:r,imgClassName:a,priority:n,resource:o,size:i,src:s,loading:c}=e,m,g,x=t,v=s||"";if(!v&&o&&typeof o=="object"){let{alt:f,filename:h,height:C,url:N,width:H}=o;m=H,g=C,x=f||"",v=N||gt}let A=c||"lazy",P=i||Object.entries(kr).map(([,f])=>`(max-width: ${f}px) ${f*2}et`).join(", ");return(0,et.jsx)("picture",{children:(0,et.jsx)(ft.default,{alt:x||"",className:l(a),fill:r,height:r?void 0:g,placeholder:"blur",blurDataURL:gt,priority:A!=="lazy"&&n,quality:100,loading:A,sizes:P,src:v,width:r?void 0:m})})};var yt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var ht=()=>{if(yt){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 xt=e=>{let{onClick:t,resource:r,videoClassName:a}=e,n=(0,dt.useRef)(null);if((0,dt.useEffect)(()=>{let{current:o}=n;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,et.jsx)("video",{autoPlay:!0,className:l(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:n,children:(0,et.jsx)("source",{src:`${ht()}/media/${o}`})})}return null};var ge=e=>{var i;let{className:t,htmlElement:r="div",resource:a}=e,n=typeof a=="object"&&((i=a==null?void 0:a.mimeType)==null?void 0:i.includes("video"));return(0,et.jsx)(r||dt.Fragment,{...r!==null?{className:t}:{},children:n?(0,et.jsx)(xt,{...e}):(0,et.jsx)(bt,{...e})})};var te=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,et.jsx)("div",{className:l("",{container:r},t),children:(0,et.jsx)(ge,{imgClassName:l("border border-border rounded-[0.8rem]",a),resource:n,src:o})})};var At=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,et.jsx)("div",{className:l("",{container:r},t),children:(0,et.jsx)(ge,{imgClassName:l("border border-border rounded-[0.8rem]",a),resource:n,src:o})})};var Ct=({type:e="solid",iconName:t="cloud",size:r="lg",className:a})=>{let n=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,i=a!=null?a:"",s=n+o+" fa-"+r+" "+i;return(0,et.jsx)("i",{className:s})};var Q=S(require("react"));var J=Q.forwardRef(({className:e,...t},r)=>(0,et.jsx)("div",{ref:r,className:l("rounded-xl border bg-card text-card-foreground shadow",e),...t}));J.displayName="Card";var re=Q.forwardRef(({className:e,...t},r)=>(0,et.jsx)("div",{ref:r,className:l("flex flex-col space-y-1.5 et-6",e),...t}));re.displayName="CardHeader";var oe=Q.forwardRef(({className:e,...t},r)=>(0,et.jsx)("div",{ref:r,className:l("font-semibold leading-none tracking-tight",e),...t}));oe.displayName="CardTitle";var wr=Q.forwardRef(({className:e,...t},r)=>(0,et.jsx)("div",{ref:r,className:l("text-sm text-muted-foreground",e),...t}));wr.displayName="CardDescription";var q=Q.forwardRef(({className:e,...t},r)=>(0,et.jsx)("div",{ref:r,className:l("et-6 pt-0",e),...t}));q.displayName="CardContent";var Pr=Q.forwardRef(({className:e,...t},r)=>(0,et.jsx)("div",{ref:r,className:l("flex items-center et-6 pt-0",e),...t}));Pr.displayName="CardFooter";function Nr(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function wt({variant:e="light",className:t,icon:r,heading:a,subheading:n,content:o,statistic:i,buttonText:s,buttonHref:c}){let m={solid:"bg-[#A42368]",light:"bg-white",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden"};return console.log("content",typeof o),(0,et.jsxs)("div",{className:l("rounded-3xl et-8 md:et-12",m[e],e==="light"?"text-gray-900":"text-white",t),children:[(0,et.jsxs)("div",{className:"flex items-center gap-4 mb-6",children:[r&&(0,et.jsx)("div",{className:l("rounded-full et-0",e==="light"?"text-[#A42368]":"text-white"),children:Nr(r)?(0,et.jsx)(Ct,{type:r.type,iconName:r.iconName,size:"2x"}):r}),(0,et.jsx)("h2",{className:l("font-semibold",e==="solid"||e==="light"?"text-2xl":"text-4xl"),children:a})]}),e==="solid"&&i&&(0,et.jsx)("div",{className:"mb-6",children:(0,et.jsx)("div",{className:"text-[8rem] font-bold leading-none",children:i})}),n&&(0,et.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:n}),o&&typeof o=="object"&&(0,et.jsx)("div",{className:l("space-y-6",e==="light"?"text-gray-600":"text-gray-300"),children:(0,et.jsx)(B,{enableGutter:!1,content:o,enableProse:!1,className:l(e==="light"?"prose":"prose prose-headings:text-white prose-et:text-gray-300")})}),o&&typeof o=="string"&&(0,et.jsx)("div",{className:l("space-y-6",e==="light"?"text-gray-600":"text-gray-300"),children:o}),s&&(0,et.jsx)("div",{className:"mt-8",children:(0,et.jsx)(L,{size:"lg",className:"text-white text-lg rounded-xl",asChild:!0,children:(0,et.jsxs)("a",{href:c,children:[s,(0,et.jsx)("span",{className:"ml-2",children:"\u2193"})]})})}),e==="radial"&&(0,et.jsx)("div",{className:"absolute bottom-0 right-0 et-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 fe=({title:e,description:t,features:r,id:a})=>(0,et.jsxs)("section",{className:l("container et-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,et.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl",id:a||"",children:e}),t&&typeof t=="string"&&(0,et.jsx)("et",{className:"mb-5 text-xl tracking-tight md:text-xl",children:t}),t&&typeof t=="object"&&(0,et.jsx)("et",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,et.jsx)(B,{content:t,enableGutter:!1})}),(0,et.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((n,o)=>{var i,s,c,m,g;if(((i=n.settings)==null?void 0:i.contents)==="icon")return(0,et.jsx)(Br,{section:n,index:o},o);{let x=()=>{if(n.icon.type!=="none")return{type:n.icon.type,iconName:n.icon.icon}};return(0,et.jsx)(wt,{variant:((s=n.settings)==null?void 0:s.card)==="default"?"solid":((c=n.settings)==null?void 0:c.card)||"solid",icon:x()||void 0,heading:n.title||"",content:n.content||void 0,statistic:n.statistic||void 0,buttonText:(m=n.link)!=null&&m.url?"Find out more":void 0,buttonHref:((g=n.link)==null?void 0:g.url)||void 0},o)}})})]}),Br=({section:e,index:t})=>{if(!e)return null;let r=(0,et.jsxs)("div",{className:"flex flex-col gap-4",children:[e.icon&&(0,et.jsx)("div",{className:"text-accent h-12 et-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,et.jsx)("i",{className:`${e.icon.type} fa-${e.icon.icon} fa-4x`})}),(0,et.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:e.title}),e.content&&typeof e.content!="object"&&(0,et.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:e.content}}),e.content&&typeof e.content=="object"&&(0,et.jsx)("div",{className:"text-lg opacity-80",children:(0,et.jsx)(B,{content:e.content,enableGutter:!1})})]},t);return e.link?(0,et.jsx)("a",{href:e.link.url?e.link.url:"#",className:"no-underline group",children:r},t):r};var Bt=S(require("next/image"));var Pt=e=>{let{columns:t}=e,r={full:"12",half:"6",oneThird:"4",twoThirds:"8"};return(0,et.jsx)("div",{className:"container my-6",children:(0,et.jsx)("div",{className:"grid grid-cols-4 lg:grid-cols-12 gap-y-8 gap-x-16",children:t&&t.length>0&&t.map((a,n)=>{let{enableLink:o,link:i,richText:s,size:c}=a;return(0,et.jsxs)("div",{className:l(`col-span-4 lg:col-span-${r[c]}`,{"md:col-span-2":c!=="full"}),children:[s&&(0,et.jsx)(B,{content:s,enableGutter:!1}),o&&(0,et.jsx)(U,{...i})]},n)})})})};var Nt={content:Pt,cta:de,mediaBlock:te,imageBlock:te,features:fe,reusableContentBlock:be},Rt=e=>{let{blocks:t}=e;return t&&Array.isArray(t)&&t.length>0?(0,et.jsx)("section",{id:"render-blocks",children:t.map((a,n)=>{var s;let{blockType:o}=a,i=a==null?void 0:a.theme;if(o&&o in Nt){let c=Nt[o];if(c)return(0,et.jsxs)("div",{className:"py-6 relative",children:[(0,et.jsx)(Rr,{block:a,index:n}),(0,et.jsx)("div",{className:l("container",((s=i==null?void 0:i.settings)==null?void 0:s.theme)==="dark"?"dark":""),children:(0,et.jsx)(c,{...a})})]},n)}return null})}):null},Rr=e=>{var r;if(console.log("props",e),!("theme"in e.block))return null;let t=(r=e.block)==null?void 0:r.theme;if(console.log("theme",t),t.settings.background==="image"){let a={imagePosition:t.settings.imagePosition||"left",overlay:t.settings.overlay!==void 0?t.settings.overlay:!0};return console.log("themeSettings",a),(0,et.jsxs)("div",{className:l("absolute inset-0 et-full h-full -et-10",t.settings.theme==="dark"?"dark bg-background":""),children:[(0,et.jsx)(Bt.default,{src:t.settings.image.url||"/placeholder.svg",alt:t.settings.image.alt,fill:!0,className:"object-cover",priority:!0}),t.settings.overlay&&(0,et.jsx)("div",{className:"absolute inset-0",style:{background:a.imagePosition==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]})}return(0,et.jsx)("div",{className:l("absolute inset-0 -et-10 et-screen h-full",t.settings.theme==="dark"?"dark bg-background":"")})};var be=e=>{let{customId:t,reusableContent:r}=e;return typeof r=="object"&&r!==null?(0,et.jsx)(Rt,{blocks:r.layout}):(0,et.jsx)(et.Fragment,{})};var he=S(require("react"));function ye({nodes:e}){return(0,et.jsx)(he.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,et.jsx)(he.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,et.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,et.jsx)("em",{children:o},r)),t.format&4&&(o=(0,et.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,et.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,et.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,et.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,et.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,et.jsx)("table",{children:(0,et.jsx)("tbody",{children:t.children.map((o,i)=>(0,et.jsx)("tr",{children:o.children.map((s,c)=>(0,et.jsx)("td",{children:ye({nodes:s.children})},c))},i))})},r);let a=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let i of o.children)"checked"in i&&(i!=null&&i.checked||(i.checked=!1));return ye({nodes:o.children})},n="children"in t?a(t):"";if(t.type==="block"){let o=t.fields,i=o==null?void 0:o.blockType;if(!o||!i)return null;switch(i){case"cta":return(0,et.jsx)(de,{...o},r);case"mediaBlock":return(0,et.jsx)(te,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-et-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,et.jsx)(At,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-et-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,et.jsx)(at,{className:"col-start-2 mb-4",...o},r);case"code":return(0,et.jsx)(ut,{className:"col-start-2",...o},r);case"features":return(0,et.jsx)(fe,{...o},r);case"reusableContentBlock":return(0,et.jsx)(be,{...o,reusableContent:o.reusableContent},r);default:return null}}else switch(t.type){case"linebreak":return(0,et.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,et.jsx)("et",{className:"col-start-2",children:n},r);case"heading":{let o=t==null?void 0:t.tag;return(0,et.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:n},r)}case"list":{let o=t==null?void 0:t.tag;return(0,et.jsx)(o,{className:"list col-start-2",children:n},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,et.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:n},r):(0,et.jsx)("li",{value:t==null?void 0:t.value,children:n},r);case"quote":return(0,et.jsx)("blockquote",{className:"col-start-2",children:n},r);case"link":{let o=t.fields;return(0,et.jsx)(U,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}case"autolink":{let o=t.fields;return(0,et.jsx)(U,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}default:return null}})})}var B=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>{var n;return t?(0,et.jsx)("div",{className:l({"container ":r,"max-et-none":!r,"mx-auto prose dark:prose-invert ":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&ye({nodes:(n=t==null?void 0:t.root)==null?void 0:n.children})}):null};var Lt=require("next/navigation");var Ca=l("transition-colors duration-400 hover:text-primary ease-in-out");function St({title:e,links:t}){let r=(0,Lt.useSearchParams)(),a=(0,Lt.usePathname)(),{replace:n}=(0,Lt.useRouter)();function o(i){let s=new URLSearchParams(r);i?s.set("category",i):s.delete("category"),n(`${a}?${s.toString()}`)}return(0,et.jsxs)(J,{children:[(0,et.jsx)(re,{children:(0,et.jsx)(oe,{className:"text-accent",children:e&&e})}),(0,et.jsx)(q,{children:t&&t.length>0&&(0,et.jsx)("nav",{"aria-label":"footer links navigation",children:(0,et.jsx)("ul",{className:"grid gap-2.5 ",children:t.map((i,s)=>(0,et.jsxs)("li",{className:"flex items-center text-sm text-primary hover:text-accent dark:text-foreground first:pt-0 hover:cursor-pointer",onClick:c=>{c.preventDefault(),o(i.href)},children:[i.label,(0,et.jsx)(ct.ExternalLink,{className:"ml-1 h-3 et-3"})]},s))})})})]})}var Et=S(require("next/link"));function Tr({image:e,name:t,about:r,socialLinks:a}){return!e||!e.src||e.src.length<3||!t?null:(0,et.jsx)("div",{className:"mt-1 et-10 px-0 pt-0 lg:px-10",children:(0,et.jsx)(J,{children:(0,et.jsxs)(q,{children:[e&&e.src&&(0,et.jsx)(Mt.default,{src:e.src,alt:e.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:Oe,className:"mx-auto mt-6 rounded-full object-cover"}),(0,et.jsx)("h3",{className:"font-secondary text-center py-2 text-lg leading-[1.25] text-accent md:text-xl",children:t}),(0,et.jsx)("et",{children:r}),a&&a.length>0&&(0,et.jsx)("nav",{"aria-label":"social links",children:(0,et.jsx)("ul",{className:"inline-flex items-center divide-x divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:a.map((n,o)=>(0,et.jsx)("li",{children:(0,et.jsx)(rt,{href:n.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 hover:text-accents",children:(0,et.jsx)("span",{children:n.icon})})},o))})})]})})})}function Le({page:e,categoryList:t,edit:r=!1,path:a="/admin/collections/posts/"}){var v;if(!e)return(0,Lt.notFound)();let{meta:n,populatedAuthors:o,authors:i,categories:s,content:c,title:m}=e,g={image:{src:n&&n.image&&n.image.url||void 0,alt:n&&n.image&&n.image.alt||void 0},authorName:((v=o==null?void 0:o[0])==null?void 0:v.name)||"",category:s,commentCount:0,title:m,description:(n==null?void 0:n.description)||""},x=i==null?void 0:i.map(A=>{var P,f;return{name:A.name||"",about:"",image:{src:A.profilePicture&&((f=(P=A.profilePicture.sizes)==null?void 0:P.square)==null?void 0:f.url)||"",alt:A.name||"blog author"},socialLinks:[]}});return(0,et.jsx)($e,{children:(0,et.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,et.jsx)("div",{children:(0,et.jsxs)("div",{className:"[&_p+P]:mt-4",children:[(0,et.jsx)("div",{className:"my-4 h-px bg-body/30 lg:my-5"}),(0,et.jsx)(B,{content:c,enableGutter:!1})]})}),(0,et.jsxs)("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-et-[410px] lg:gap-10",children:[r&&(0,et.jsx)("div",{className:"mt-4 lg:-mt-10 et-10 px-0 pt-0 lg:px-10",children:(0,et.jsxs)(J,{children:[(0,et.jsx)(re,{children:(0,et.jsx)(oe,{className:"text-accent",children:"Content Actions"})}),(0,et.jsxs)(q,{children:[(0,et.jsx)("et",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),(0,et.jsx)(Et.default,{href:`${a}${e.id}`,children:(0,et.jsx)(L,{variant:"outline",className:"et-full text-accent hover:text-foreground",children:"Edit"})})]})]})}),x&&x.map((A,P)=>(0,et.jsx)(Tr,{...A},P)),t&&t.links&&(0,et.jsx)("div",{className:"mt-4 px-0 pt-0 lg:px-10",children:(0,et.jsx)(St,{links:t.links,title:t.title})})]})]})})}var Ir={title:"Website Components/BlogDetail",component:Le,tags:["autodocs"],parameters:{nextjs:{appDirectory:!0},docs:{description:{component:"A card component that displays a service with an icon, title, description, and a link."}}},argTypes:{icon:{control:"text"},title:{control:"text"},description:{control:"text"},slug:{control:"text"}},decorators:[e=>(0,et.jsx)(e,{})]},xe=e=>(0,et.jsx)(Le,{...e}),Y=xe.bind({});Y.args={categoryList:{title:"Categories",links:[{label:"Category 1",href:1},{label:"Category 2",href:2},{label:"Category 3",href:3}]},page:{id:2,title:"Test Post 2",content:{root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus lacinia odio vitae vestibulum vestibulum. Cras vehicula, libero a pharetra dictum, urna lectus porttitor lacus, at dapibus justo quam vel metus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Sed non velit nec arcu volutpat dignissim in a lorem.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[],direction:null,textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Proin sagittis sem et elit fringilla, nec fringilla eros maximus. Nulla facilisi. Ut sit amet facilisis lectus. Fusce ornare metus at ante tristique, nec elementum eros fermentum. Integer volutpat magna sed justo tincidunt, sit amet aliquam arcu pellentesque. Phasellus imperdiet mi vitae ligula pharetra, a dignissim velit vehicula.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[],direction:null,textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Suspendisse potenti. Donec malesuada arcu at velit laoreet convallis. Sed at eros vel lacus varius varius nec id metus. Praesent faucibus, orci a varius dapibus, lorem libero convallis est, et consequat libero magna sit amet risus. Maecenas tincidunt erat et felis sodales, nec malesuada sem tincidunt. Duis sed nisl euismod, ullamcorper augue at, rutrum felis.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[],direction:null,textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Aenean ut ligula ac libero vehicula luctus. Integer ultricies nisl id mi dictum, eget tincidunt augue interdum. Sed eu malesuada erat. Nam fringilla lectus id dolor gravida lacinia. Aliquam erat volutpat. Vestibulum nec ipsum vitae elit dapibus suscipit vel at ipsum.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}},relatedPosts:[],categories:[{id:1,title:"Test Category 1",slug:"test-category-1",updatedAt:"2025-01-06T20:16:54.416Z",createdAt:"2025-01-06T20:16:54.416Z",_status:"published"}],meta:{title:"Test Post 1",image:null,description:null},publishedAt:"2025-01-06T20:17:25.595Z",authors:[{id:1,name:"Rob",jobRole:null,profilePicture:null,workHistory:[],certifications:[],areasOfExpertise:[],dateOfBirth:null,joinDate:null,role:"admin",sub:null,updatedAt:"2025-01-06T20:16:54.416Z",createdAt:"2025-01-06T20:16:54.416Z",enableAPIKey:null,apiKey:null,email:"rob@sdsdd.com",loginAttempts:0}],populatedAuthors:[{id:1,name:"Rob Ellison"}],publishedToWebsite:!1,slug:"test-post-2",slugLock:!0,updatedAt:"2025-01-06T20:17:31.465Z",createdAt:"2025-01-06T20:17:27.818Z",_status:"published"}};var Ft=xe.bind({});Ft.args={...Y.args,pages:{totalPages:40,page:20}};var Dt=xe.bind({});Dt.args={...Y.args,page:{...Y.args.page,categoryList:{title:"Categories"}},categoryList:null};var zt=xe.bind({});zt.args={...Y.args,page:{...Y.args.page,authors:[{id:1,name:"Dave Brown",jobRole:null,profilePicture:null,workHistory:[],certifications:[],areasOfExpertise:[],dateOfBirth:null,joinDate:null,role:"admin",sub:null,updatedAt:"2025-01-06T20:16:54.416Z",createdAt:"2025-01-06T20:16:54.416Z",enableAPIKey:null,apiKey:null,email:""}],populatedAuthors:[{id:1,name:"Dave Brown"}]}};0&&(module.exports={Default,LoadsOfBlogs,NoAuthorImage,NoCategories});
4
+ "use strict";var It=Object.create;var ne=Object.defineProperty;var St=Object.getOwnPropertyDescriptor;var Mt=Object.getOwnPropertyNames;var Et=Object.getPrototypeOf,Lt=Object.prototype.hasOwnProperty;var Ft=(e,t)=>{for(var r in t)ne(e,r,{get:t[r],enumerable:!0})},Fe=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Mt(t))!Lt.call(e,a)&&a!==r&&ne(e,a,{get:()=>t[a],enumerable:!(n=St(t,a))||n.enumerable});return e};var E=(e,t,r)=>(r=e!=null?It(Et(e)):{},Fe(t||!e||!e.__esModule?ne(r,"default",{value:e,enumerable:!0}):r,e)),Dt=e=>Fe(ne({},"__esModule",{value:!0}),e);var Cr={};Ft(Cr,{Default:()=>Q,LoadsOfBlogs:()=>Bt,NoAuthorImage:()=>Tt,NoCategories:()=>Rt,default:()=>Ar});module.exports=Dt(Cr);var De="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Z";var je=require("clsx");var xe="-",zt=e=>{let t=Gt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:i=>{let s=i.split(xe);return s[0]===""&&s.length!==1&&s.shift(),Ge(s,t)||Ht(i)},getConflictingClassGroupIds:(i,s)=>{let d=r[i]||[];return s&&n[i]?[...d,...n[i]]:d}}},Ge=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],n=t.nextPart.get(r),a=n?Ge(e.slice(1),n):void 0;if(a)return a;if(t.validators.length===0)return;let o=e.join(xe);return(i=t.validators.find(({validator:s})=>s(o)))==null?void 0:i.classGroupId},ze=/^\[(.+)\]$/,Ht=e=>{if(ze.test(e)){let t=ze.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 Kt(Object.entries(e.classGroups),r).forEach(([o,i])=>{he(i,n,o,t)}),n},he=(e,t,r,n)=>{e.forEach(a=>{if(typeof a=="string"){let o=a===""?t:He(t,a);o.classGroupId=r;return}if(typeof a=="function"){if(Ut(a)){he(a(n),t,r,n);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([o,i])=>{he(i,He(t,o),r,n)})})},He=(e,t)=>{let r=e;return t.split(xe).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},Ut=e=>e.isThemeGetter,Kt=(e,t)=>t?e.map(([r,n])=>{let a=n.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,s])=>[t+i,s])):o);return[r,a]}):e,Qt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map,a=(o,i)=>{r.set(o,i),t++,t>e&&(t=0,n=r,r=new Map)};return{get(o){let i=r.get(o);if(i!==void 0)return i;if((i=n.get(o))!==void 0)return a(o,i),i},set(o,i){r.has(o)?r.set(o,i):a(o,i)}}},Ue="!",Ot=e=>{let{separator:t,experimentalParseClassName:r}=e,n=t.length===1,a=t[0],o=t.length,i=s=>{let d=[],m=0,g=0,x;for(let h=0;h<s.length;h++){let C=s[h];if(m===0){if(C===a&&(n||s.slice(h,h+o)===t)){d.push(s.slice(g,h)),g=h+o;continue}if(C==="/"){x=h;continue}}C==="["?m++:C==="]"&&m--}let v=d.length===0?s:s.substring(g),A=v.startsWith(Ue),N=A?v.substring(1):v,f=x&&x>g?x-g:void 0;return{modifiers:d,hasImportantModifier:A,baseClassName:N,maybePostfixModifierPosition:f}};return r?s=>r({className:s,parseClassName:i}):i},Vt=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},jt=e=>({cache:Qt(e.cacheSize),parseClassName:Ot(e),...zt(e)}),Yt=/\s+/,_t=(e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:a}=t,o=[],i=e.trim().split(Yt),s="";for(let d=i.length-1;d>=0;d-=1){let m=i[d],{modifiers:g,hasImportantModifier:x,baseClassName:v,maybePostfixModifierPosition:A}=r(m),N=!!A,f=n(N?v.substring(0,A):v);if(!f){if(!N){s=m+(s.length>0?" "+s:s);continue}if(f=n(v),!f){s=m+(s.length>0?" "+s:s);continue}N=!1}let h=Vt(g).join(":"),C=x?h+Ue:h,P=C+f;if(o.includes(P))continue;o.push(P);let z=a(f,N);for(let H=0;H<z.length;++H){let re=z[H];o.push(C+re)}s=m+(s.length>0?" "+s:s)}return s};function Jt(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Ke(t))&&(n&&(n+=" "),n+=r);return n}var Ke=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=Ke(e[n]))&&(r&&(r+=" "),r+=t);return r};function qt(e,...t){let r,n,a,o=i;function i(d){let m=t.reduce((g,x)=>x(g),e());return r=jt(m),n=r.cache.get,a=r.cache.set,o=s,s(d)}function s(d){let m=n(d);if(m)return m;let g=_t(d,r);return a(d,g),g}return function(){return o(Jt.apply(null,arguments))}}var b=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Qe=/^\[(?:([a-z-]+):)?(.+)\]$/i,Zt=/^\d+\/\d+$/,Xt=new Set(["px","full","screen"]),Wt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,$t=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(_e|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,er=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,tr=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)Nt-?((\d+)?\.?(\d+)[a-z]+|0)/,rr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,I=e=>O(e)||Xt.has(e)||Zt.test(e),L=e=>V(e,"length",dr),O=e=>!!e&&!Number.isNaN(Number(e)),ye=e=>V(e,"number",O),q=e=>!!e&&Number.isInteger(Number(e)),or=e=>e.endsWith("%")&&O(e.slice(0,-1)),l=e=>Qe.test(e),F=e=>Wt.test(e),ar=new Set(["length","size","percentage"]),nr=e=>V(e,ar,Oe),sr=e=>V(e,"position",Oe),ir=new Set(["image","url"]),lr=e=>V(e,ir,mr),cr=e=>V(e,"",pr),Z=()=>!0,V=(e,t,r)=>{let n=Qe.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1},dr=e=>$t.test(e)&&!er.test(e),Oe=()=>!1,pr=e=>tr.test(e),mr=e=>rr.test(e);var ur=()=>{let e=b("colors"),t=b("spacing"),r=b("blur"),n=b("brightness"),a=b("borderColor"),o=b("borderRadius"),i=b("borderSpacing"),s=b("borderWidth"),d=b("contrast"),m=b("grayscale"),g=b("hueRotate"),x=b("invert"),v=b("gap"),A=b("gradientColorStops"),N=b("gradientColorStopPositions"),f=b("inset"),h=b("margin"),C=b("opacity"),P=b("padding"),z=b("saturate"),H=b("scale"),re=b("sepia"),Re=b("skew"),Te=b("space"),Ie=b("translate"),ue=()=>["auto","contain","none"],ge=()=>["auto","hidden","clip","visible","scroll"],fe=()=>["auto",l,t],y=()=>[l,t],Se=()=>["",I,L],oe=()=>["auto",O,l],Me=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ae=()=>["solid","dashed","dotted","double","none"],Ee=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],be=()=>["start","end","center","between","around","evenly","stretch"],J=()=>["","0",l],Le=()=>["auto","avoid","all","avoid-page","page","left","right","column"],T=()=>[O,l];return{cacheSize:500,separator:":",theme:{colors:[Z],spacing:[I,L],blur:["none","",F,l],brightness:T(),borderColor:[e],borderRadius:["none","","full",F,l],borderSpacing:y(),borderWidth:Se(),contrast:T(),grayscale:J(),hueRotate:T(),invert:J(),gap:y(),gradientColorStops:[e],gradientColorStopPositions:[or,L],inset:fe(),margin:fe(),opacity:T(),padding:y(),saturate:T(),scale:T(),sepia:J(),skew:T(),space:y(),translate:y()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[F]}],"break-after":[{"break-after":Le()}],"break-before":[{"break-before":Le()}],"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:[...Me(),l]}],overflow:[{overflow:ge()}],"overflow-x":[{"overflow-x":ge()}],"overflow-y":[{"overflow-y":ge()}],overscroll:[{overscroll:ue()}],"overscroll-x":[{"overscroll-x":ue()}],"overscroll-y":[{"overscroll-y":ue()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[f]}],"inset-x":[{"inset-x":[f]}],"inset-y":[{"inset-y":[f]}],start:[{start:[f]}],end:[{end:[f]}],top:[{top:[f]}],right:[{right:[f]}],bottom:[{bottom:[f]}],left:[{left:[f]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",q,l]}],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",l]}],grow:[{grow:J()}],shrink:[{shrink:J()}],order:[{order:["first","last","none",q,l]}],"grid-cols":[{"grid-cols":[Z]}],"col-start-end":[{col:["auto",{span:["full",q,l]},l]}],"col-start":[{"col-start":oe()}],"col-end":[{"col-end":oe()}],"grid-rows":[{"grid-rows":[Z]}],"row-start-end":[{row:["auto",{span:[q,l]},l]}],"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",l]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",l]}],gap:[{gap:[v]}],"gap-x":[{"gap-x":[v]}],"gap-y":[{"gap-y":[v]}],"justify-content":[{justify:["normal",...be()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...be(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...be(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],_e:[{_e:[P]}],px:[{px:[P]}],py:[{py:[P]}],ps:[{ps:[P]}],pe:[{pe:[P]}],pt:[{pt:[P]}],pr:[{pr:[P]}],pb:[{pb:[P]}],pl:[{pl:[P]}],m:[{m:[h]}],mx:[{mx:[h]}],my:[{my:[h]}],ms:[{ms:[h]}],me:[{me:[h]}],mt:[{mt:[h]}],mr:[{mr:[h]}],mb:[{mb:[h]}],ml:[{ml:[h]}],"space-x":[{"space-x":[Te]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Te]}],"space-y-reverse":["space-y-reverse"],_e:[{_e:["auto","min","max","fit","svw","lvw","dvw",l,t]}],"min-_e":[{"min-_e":[l,t,"min","max","fit"]}],"max-_e":[{"max-_e":[l,t,"none","full","min","max","fit","prose",{screen:[F]},F]}],h:[{h:[l,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,t,"auto","min","max","fit"]}],"font-size":[{text:["base",F,L]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ye]}],"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",l]}],"line-clamp":[{"line-clamp":["none",O,ye]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",I,l]}],"list-image":[{"list-image":["none",l]}],"list-style-type":[{list:["none","disc","decimal",l]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[C]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[C]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ae(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",I,L]}],"underline-offset":[{"underline-offset":["auto",I,l]}],"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:y()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",l]}],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",l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[C]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Me(),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"]},lr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[N]}],"gradient-via-pos":[{via:[N]}],"gradient-to-pos":[{to:[N]}],"gradient-from":[{from:[A]}],"gradient-via":[{via:[A]}],"gradient-to":[{to:[A]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-_e":[{"rounded-_e":[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-_e":[{border:[s]}],"border-_e-x":[{"border-x":[s]}],"border-_e-y":[{"border-y":[s]}],"border-_e-s":[{"border-s":[s]}],"border-_e-e":[{"border-e":[s]}],"border-_e-t":[{"border-t":[s]}],"border-_e-r":[{"border-r":[s]}],"border-_e-b":[{"border-b":[s]}],"border-_e-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[C]}],"border-style":[{border:[...ae(),"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":[C]}],"divide-style":[{divide:ae()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[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:["",...ae()]}],"outline-offset":[{"outline-offset":[I,l]}],"outline-_e":[{outline:[I,L]}],"outline-color":[{outline:[e]}],"ring-_e":[{ring:Se()}],"ring-_e-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[C]}],"ring-offset-_e":[{"ring-offset":[I,L]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",F,cr]}],"shadow-color":[{shadow:[Z]}],opacity:[{opacity:[C]}],"mix-blend":[{"mix-blend":[...Ee(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Ee()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",F,l]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[g]}],invert:[{invert:[x]}],saturate:[{saturate:[z]}],sepia:[{sepia:[re]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[g]}],"backdrop-invert":[{"backdrop-invert":[x]}],"backdrop-opacity":[{"backdrop-opacity":[C]}],"backdrop-saturate":[{"backdrop-saturate":[z]}],"backdrop-sepia":[{"backdrop-sepia":[re]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",l]}],duration:[{duration:T()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:T()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[H]}],"scale-x":[{"scale-x":[H]}],"scale-y":[{"scale-y":[H]}],rotate:[{rotate:[q,l]}],"translate-x":[{"translate-x":[Ie]}],"translate-y":[{"translate-y":[Ie]}],"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",l]}],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","_e-resize","ne-resize","nw-resize","_e-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",l]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":y()}],"scroll-mx":[{"scroll-mx":y()}],"scroll-my":[{"scroll-my":y()}],"scroll-ms":[{"scroll-ms":y()}],"scroll-me":[{"scroll-me":y()}],"scroll-mt":[{"scroll-mt":y()}],"scroll-mr":[{"scroll-mr":y()}],"scroll-mb":[{"scroll-mb":y()}],"scroll-ml":[{"scroll-ml":y()}],"scroll-_e":[{"scroll-_e":y()}],"scroll-px":[{"scroll-px":y()}],"scroll-py":[{"scroll-py":y()}],"scroll-ps":[{"scroll-ps":y()}],"scroll-pe":[{"scroll-pe":y()}],"scroll-pt":[{"scroll-pt":y()}],"scroll-pr":[{"scroll-pr":y()}],"scroll-pb":[{"scroll-pb":y()}],"scroll-pl":[{"scroll-pl":y()}],"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",l]}],fill:[{fill:[e,"none"]}],"stroke-_e":[{stroke:[I,L,ye]}],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"],_e:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["_e","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-_e","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-_e","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-_e":["border-_e-s","border-_e-e","border-_e-t","border-_e-r","border-_e-b","border-_e-l"],"border-_e-x":["border-_e-r","border-_e-l"],"border-_e-y":["border-_e-t","border-_e-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-_e":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Ve=qt(ur);function c(...e){return Ve((0,je.clsx)(e))}var _e=require("react/jsx-runtime");function Ye({children:e,isFluid:t=!1,isNoPadding:r=!1,className:n=""}){let a=c("container",t&&"full-width",r&&"no-padding",n);return(0,_e.jsx)("div",{className:a,children:e})}var Je=E(require("next/link"));function qe({children:e,href:t,openNewTab:r,...n}){return(0,_e.jsx)(Je.default,{href:t,target:r?"_blank":"_self",...n,children:e})}var kt=E(require("next/image"));var Xe=({className:e,content:t,style:r})=>(0,_e.jsx)("div",{className:c("mx-auto my-8 _e-full",e),children:(0,_e.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,_e.jsx)(B,{content:t,enableGutter:!1,enableProse:!1})})});var We=require("@radix-ui/react-slot"),$e=require("class-variance-authority"),et=E(require("react")),gr=(0,$e.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 _e-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"}}}),S=et.forwardRef(({asChild:e=!1,className:t,size:r,variant:n,...a},o)=>(0,_e.jsx)(e?We.Slot:"button",{className:c(gr({className:t,size:r,variant:n})),ref:o,...a}));S.displayName="Button";var ve=E(require("next/link")),W=e=>{let{type:t,appearance:r="inline",children:n,className:a,label:o,newTab:i,reference:s,size:d,url:m}=e,g=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}`:m;if(!g)return null;let x=r==="link"?"clear":d,v=i?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,_e.jsxs)(ve.default,{className:c(a),href:g||m||"",...v,children:[o&&o,n&&n]}):(0,_e.jsx)(S,{asChild:!0,className:a,size:x,variant:r,children:(0,_e.jsxs)(ve.default,{className:c(a),href:g||m||"",...v,children:[o&&o,n&&n]})})};var rt=({links:e,richText:t})=>(0,_e.jsx)("div",{className:"container",children:(0,_e.jsxs)("div",{className:"bg-card rounded border-border border _e-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,_e.jsx)("div",{className:"max-_e-[48rem] flex items-center",children:t&&(0,_e.jsx)(B,{className:"mb-0",content:t,enableGutter:!1})}),(0,_e.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},n)=>(0,_e.jsx)(W,{size:"lg",...r},n))})]})});var ie=require("prism-react-renderer");var ot=require("lucide-react"),at=require("react");function nt({code:e}){let[t,r]=(0,at.useState)("Copy");function n(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,_e.jsx)("div",{className:"flex justify-end align-middle",children:(0,_e.jsxs)(S,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),n()},children:[(0,_e.jsx)("_e",{children:t}),(0,_e.jsx)("div",{className:"_e-6 h-6 dark:invert",children:(0,_e.jsx)(ot.ClipboardCopy,{})})]})})}var st=({code:e,language:t=""})=>e?(0,_e.jsx)(ie.Highlight,{code:e,language:t,theme:ie.themes.vsDark,children:({getLineProps:r,getTokenProps:n,tokens:a})=>(0,_e.jsxs)("pre",{className:"bg-black _e-4 border text-xs border-border rounded overflow-x-auto",children:[a.map((o,i)=>(0,_e.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,_e.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,_e.jsx)("span",{className:"table-cell pl-4",children:o.map((s,d)=>(0,_e.jsx)("span",{...n({token:s})},d))})]},i)),(0,_e.jsx)(nt,{code:e})]})}):null;var it=({className:e,code:t,language:r})=>(0,_e.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,_e.jsx)(st,{code:t,language:r})});var ct=E(require("next/image")),fr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},lt="data:image/png;base64,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",dt=e=>{let{alt:t,fill:r,imgClassName:n,priority:a,resource:o,size:i,src:s,loading:d}=e,m,g,x=t,v=s||"";if(!v&&o&&typeof o=="object"){let{alt:f,filename:h,height:C,url:P,width:z}=o;m=z,g=C,x=f||"",v=P||lt}let A=d||"lazy",N=i||Object.entries(fr).map(([,f])=>`(max-width: ${f}px) ${f*2}_e`).join(", ");return(0,_e.jsx)("picture",{children:(0,_e.jsx)(ct.default,{alt:x||"",className:c(n),fill:r,height:r?void 0:g,placeholder:"blur",blurDataURL:lt,priority:A!=="lazy"&&a,quality:100,loading:A,sizes:N,src:v,width:r?void 0:m})})};var pt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var mt=()=>{if(pt){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 ut=e=>{let{onClick:t,resource:r,videoClassName:n}=e,a=(0,at.useRef)(null);if((0,at.useEffect)(()=>{let{current:o}=a;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,_e.jsx)("video",{autoPlay:!0,className:c(n),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:a,children:(0,_e.jsx)("source",{src:`${mt()}/media/${o}`})})}return null};var de=e=>{var i;let{className:t,htmlElement:r="div",resource:n}=e,a=typeof n=="object"&&((i=n==null?void 0:n.mimeType)==null?void 0:i.includes("video"));return(0,_e.jsx)(r||at.Fragment,{...r!==null?{className:t}:{},children:a?(0,_e.jsx)(ut,{...e}):(0,_e.jsx)(dt,{...e})})};var ft=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:a,staticImage:o}=e;return(0,_e.jsx)("div",{className:c("",{container:r},t),children:(0,_e.jsx)(de,{imgClassName:c("border border-border rounded-[0.8rem]",n),resource:a,src:o})})};var bt=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:a,staticImage:o}=e;return(0,_e.jsx)("div",{className:c("",{container:r},t),children:(0,_e.jsx)(de,{imgClassName:c("border border-border rounded-[0.8rem]",n),resource:a,src:o})})};var yt=({type:e="solid",iconName:t="cloud",size:r="lg",className:n})=>{let a=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,i=n!=null?n:"",s=a+o+" fa-"+r+" "+i;return(0,_e.jsx)("i",{className:s})};var U=E(require("react"));var j=U.forwardRef(({className:e,...t},r)=>(0,_e.jsx)("div",{ref:r,className:c("rounded-xl border bg-card text-card-foreground shadow",e),...t}));j.displayName="Card";var $=U.forwardRef(({className:e,...t},r)=>(0,_e.jsx)("div",{ref:r,className:c("flex flex-col space-y-1.5 _e-6",e),...t}));$.displayName="CardHeader";var ee=U.forwardRef(({className:e,...t},r)=>(0,_e.jsx)("div",{ref:r,className:c("font-semibold leading-none tracking-tight",e),...t}));ee.displayName="CardTitle";var br=U.forwardRef(({className:e,...t},r)=>(0,_e.jsx)("div",{ref:r,className:c("text-sm text-muted-foreground",e),...t}));br.displayName="CardDescription";var Y=U.forwardRef(({className:e,...t},r)=>(0,_e.jsx)("div",{ref:r,className:c("_e-6 pt-0",e),...t}));Y.displayName="CardContent";var yr=U.forwardRef(({className:e,...t},r)=>(0,_e.jsx)("div",{ref:r,className:c("flex items-center _e-6 pt-0",e),...t}));yr.displayName="CardFooter";function hr(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function xt({variant:e="light",className:t,icon:r,heading:n,subheading:a,content:o,statistic:i,buttonText:s,buttonHref:d}){return(0,_e.jsxs)("div",{className:c("rounded-3xl _e-8 md:_e-12",{solid:"bg-[#A42368]",light:"bg-white",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden"}[e],e==="light"?"text-gray-900":"text-white",t),children:[(0,_e.jsxs)("div",{className:"flex items-center gap-4 mb-6",children:[r&&(0,_e.jsx)("div",{className:c("rounded-full _e-0",e==="light"?"text-[#A42368]":"text-white"),children:hr(r)?(0,_e.jsx)(yt,{type:r.type,iconName:r.iconName,size:"2x"}):r}),(0,_e.jsx)("h2",{className:c("font-semibold",e==="solid"||e==="light"?"text-2xl":"text-4xl"),children:n})]}),e==="solid"&&i&&(0,_e.jsx)("div",{className:"mb-6",children:(0,_e.jsx)("div",{className:"text-[8rem] font-bold leading-none",children:i})}),a&&(0,_e.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:a}),o&&typeof o=="object"&&(0,_e.jsx)("div",{className:c("space-y-6",e==="light"?"text-gray-600":"text-gray-300"),children:(0,_e.jsx)(B,{enableGutter:!1,content:o,enableProse:!1,className:c(e==="light"?"prose":"prose prose-headings:text-white prose-_e:text-gray-300")})}),o&&typeof o=="string"&&(0,_e.jsx)("div",{className:c("space-y-6",e==="light"?"text-gray-600":"text-gray-300"),children:o}),s&&(0,_e.jsx)("div",{className:"mt-8",children:(0,_e.jsx)(S,{size:"lg",className:"text-white text-lg rounded-xl",asChild:!0,children:(0,_e.jsxs)("a",{href:d,children:[s,(0,_e.jsx)("span",{className:"ml-2",children:"\u2193"})]})})}),e==="radial"&&(0,_e.jsx)("div",{className:"absolute bottom-0 right-0 _e-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 vt=({title:e,description:t,features:r,id:n})=>(0,_e.jsxs)("section",{className:c("container _e-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,_e.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl",id:n||"",children:e}),t&&typeof t=="string"&&(0,_e.jsx)("_e",{className:"mb-5 text-xl tracking-tight md:text-xl",children:t}),t&&typeof t=="object"&&(0,_e.jsx)("_e",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,_e.jsx)(B,{content:t,enableGutter:!1})}),(0,_e.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((a,o)=>{var i,s,d,m,g;if(((i=a.settings)==null?void 0:i.contents)==="icon")return(0,_e.jsx)(xr,{section:a,index:o},o);{let x=()=>{if(a.icon.type!=="none")return{type:a.icon.type,iconName:a.icon.icon}};return(0,_e.jsx)(xt,{variant:((s=a.settings)==null?void 0:s.card)==="default"?"solid":((d=a.settings)==null?void 0:d.card)||"solid",icon:x()||void 0,heading:a.title||"",content:a.content||void 0,statistic:a.statistic||void 0,buttonText:(m=a.link)!=null&&m.url?"Find out more":void 0,buttonHref:((g=a.link)==null?void 0:g.url)||void 0},o)}})})]}),xr=({section:e,index:t})=>{if(!e)return null;let r=(0,_e.jsxs)("div",{className:"flex flex-col gap-4",children:[e.icon&&(0,_e.jsx)("div",{className:"text-accent h-12 _e-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,_e.jsx)("i",{className:`${e.icon.type} fa-${e.icon.icon} fa-4x`})}),(0,_e.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:e.title}),e.content&&typeof e.content!="object"&&(0,_e.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:e.content}}),e.content&&typeof e.content=="object"&&(0,_e.jsx)("div",{className:"text-lg opacity-80",children:(0,_e.jsx)(B,{content:e.content,enableGutter:!1})})]},t);return e.link?(0,_e.jsx)("a",{href:e.link.url?e.link.url:"#",className:"no-underline group",children:r},t):r};var pe=E(require("react"));function te({nodes:e}){return(0,_e.jsx)(pe.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,_e.jsx)(pe.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,_e.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,_e.jsx)("em",{children:o},r)),t.format&4&&(o=(0,_e.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,_e.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,_e.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,_e.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,_e.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,_e.jsx)("table",{children:(0,_e.jsx)("tbody",{children:t.children.map((o,i)=>(0,_e.jsx)("tr",{children:o.children.map((s,d)=>(0,_e.jsx)("td",{children:te({nodes:s.children})},d))},i))})},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 i of o.children)"checked"in i&&(i!=null&&i.checked||(i.checked=!1));return te({nodes:o.children})},a="children"in t?n(t):"";if(t.type==="block"){let o=t.fields,i=o==null?void 0:o.blockType;if(!o||!i)return null;switch(i){case"cta":return(0,_e.jsx)(rt,{...o},r);case"mediaBlock":return(0,_e.jsx)(ft,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-_e-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,_e.jsx)(bt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-_e-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,_e.jsx)(Xe,{className:"col-start-2 mb-4",...o},r);case"code":return(0,_e.jsx)(it,{className:"col-start-2",...o},r);case"features":return(0,_e.jsx)(vt,{...o},r);case"reusableContentBlock":te({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,_e.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,_e.jsx)("_e",{className:"col-start-2",children:a},r);case"heading":{let o=t==null?void 0:t.tag;return(0,_e.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:a},r)}case"list":{let o=t==null?void 0:t.tag;return(0,_e.jsx)(o,{className:"list col-start-2",children:a},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,_e.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:a},r):(0,_e.jsx)("li",{value:t==null?void 0:t.value,children:a},r);case"quote":return(0,_e.jsx)("blockquote",{className:"col-start-2",children:a},r);case"link":{let o=t.fields;return(0,_e.jsx)(W,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:a},r)}case"autolink":{let o=t.fields;return(0,_e.jsx)(W,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:a},r)}default:return null}})})}var B=({className:e,content:t,enableGutter:r=!0,enableProse:n=!0})=>{var a;return t?(0,_e.jsx)("div",{className:c({"container ":r,"max-_e-none":!r,"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};var Nt=require("next/navigation");var $o=c("transition-colors duration-400 hover:text-primary ease-in-out");function wt({title:e,links:t}){let r=(0,Nt.useSearchParams)(),n=(0,Nt.usePathname)(),{replace:a}=(0,Nt.useRouter)();function o(i){let s=new URLSearchParams(r);i?s.set("category",i):s.delete("category"),a(`${n}?${s.toString()}`)}return(0,_e.jsxs)(j,{children:[(0,_e.jsx)($,{children:(0,_e.jsx)(ee,{className:"text-accent",children:e&&e})}),(0,_e.jsx)(Y,{children:t&&t.length>0&&(0,_e.jsx)("nav",{"aria-label":"footer links navigation",children:(0,_e.jsx)("ul",{className:"grid gap-2.5 ",children:t.map((i,s)=>(0,_e.jsxs)("li",{className:"flex items-center text-sm text-primary hover:text-accent dark:text-foreground first:pt-0 hover:cursor-pointer",onClick:d=>{d.preventDefault(),o(i.href)},children:[i.label,(0,_e.jsx)(ot.ExternalLink,{className:"ml-1 h-3 _e-3"})]},s))})})})]})}var Pt=E(require("next/link"));function vr({image:e,name:t,about:r,socialLinks:n}){return!e||!e.src||e.src.length<3||!t?null:(0,_e.jsx)("div",{className:"mt-1 z-10 px-0 pt-0 lg:px-10",children:(0,_e.jsx)(j,{children:(0,_e.jsxs)(Y,{children:[e&&e.src&&(0,_e.jsx)(kt.default,{src:e.src,alt:e.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:De,className:"mx-auto mt-6 rounded-full object-cover"}),(0,_e.jsx)("h3",{className:"font-secondary text-center py-2 text-lg leading-[1.25] text-accent md:text-xl",children:t}),(0,_e.jsx)("_e",{children:r}),n&&n.length>0&&(0,_e.jsx)("nav",{"aria-label":"social links",children:(0,_e.jsx)("ul",{className:"inline-flex items-center divide-x divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:n.map((a,o)=>(0,_e.jsx)("li",{children:(0,_e.jsx)(qe,{href:a.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 hover:text-accents",children:(0,_e.jsx)("span",{children:a.icon})})},o))})})]})})})}function Pe({page:e,categoryList:t,edit:r=!1,path:n="/admin/collections/posts/"}){var v;if(!e)return(0,Nt.notFound)();let{meta:a,populatedAuthors:o,authors:i,categories:s,content:d,title:m}=e,g={image:{src:a&&a.image&&a.image.url||void 0,alt:a&&a.image&&a.image.alt||void 0},authorName:((v=o==null?void 0:o[0])==null?void 0:v.name)||"",category:s,commentCount:0,title:m,description:(a==null?void 0:a.description)||""},x=i==null?void 0:i.map(A=>{var N,f;return{name:A.name||"",about:"",image:{src:A.profilePicture&&((f=(N=A.profilePicture.sizes)==null?void 0:N.square)==null?void 0:f.url)||"",alt:A.name||"blog author"},socialLinks:[]}});return(0,_e.jsx)(Ye,{children:(0,_e.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,_e.jsx)("div",{children:(0,_e.jsxs)("div",{className:"[&_p+P]:mt-4",children:[(0,_e.jsx)("div",{className:"my-4 h-px bg-body/30 lg:my-5"}),(0,_e.jsx)(B,{content:d,enableGutter:!1})]})}),(0,_e.jsxs)("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-_e-[410px] lg:gap-10",children:[r&&(0,_e.jsx)("div",{className:"mt-4 lg:-mt-10 z-10 px-0 pt-0 lg:px-10",children:(0,_e.jsxs)(j,{children:[(0,_e.jsx)($,{children:(0,_e.jsx)(ee,{className:"text-accent",children:"Content Actions"})}),(0,_e.jsxs)(Y,{children:[(0,_e.jsx)("_e",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),(0,_e.jsx)(Pt.default,{href:`${n}${e.id}`,children:(0,_e.jsx)(S,{variant:"outline",className:"_e-full text-accent hover:text-foreground",children:"Edit"})})]})]})}),x&&x.map((A,N)=>(0,_e.jsx)(vr,{...A},N)),t&&t.links&&(0,_e.jsx)("div",{className:"mt-4 px-0 pt-0 lg:px-10",children:(0,_e.jsx)(wt,{links:t.links,title:t.title})})]})]})})}var Ar={title:"Website Components/BlogDetail",component:Pe,tags:["autodocs"],parameters:{nextjs:{appDirectory:!0},docs:{description:{component:"A card component that displays a service with an icon, title, description, and a link."}}},argTypes:{icon:{control:"text"},title:{control:"text"},description:{control:"text"},slug:{control:"text"}},decorators:[e=>(0,_e.jsx)(e,{})]},me=e=>(0,_e.jsx)(Pe,{...e}),Q=me.bind({});Q.args={categoryList:{title:"Categories",links:[{label:"Category 1",href:1},{label:"Category 2",href:2},{label:"Category 3",href:3}]},page:{id:2,title:"Test Post 2",content:{root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus lacinia odio vitae vestibulum vestibulum. Cras vehicula, libero a pharetra dictum, urna lectus porttitor lacus, at dapibus justo quam vel metus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Sed non velit nec arcu volutpat dignissim in a lorem.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[],direction:null,textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Proin sagittis sem et elit fringilla, nec fringilla eros maximus. Nulla facilisi. Ut sit amet facilisis lectus. Fusce ornare metus at ante tristique, nec elementum eros fermentum. Integer volutpat magna sed justo tincidunt, sit amet aliquam arcu pellentesque. Phasellus imperdiet mi vitae ligula pharetra, a dignissim velit vehicula.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[],direction:null,textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Suspendisse potenti. Donec malesuada arcu at velit laoreet convallis. Sed at eros vel lacus varius varius nec id metus. Praesent faucibus, orci a varius dapibus, lorem libero convallis est, et consequat libero magna sit amet risus. Maecenas tincidunt erat et felis sodales, nec malesuada sem tincidunt. Duis sed nisl euismod, ullamcorper augue at, rutrum felis.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[],direction:null,textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Aenean ut ligula ac libero vehicula luctus. Integer ultricies nisl id mi dictum, eget tincidunt augue interdum. Sed eu malesuada erat. Nam fringilla lectus id dolor gravida lacinia. Aliquam erat volutpat. Vestibulum nec ipsum vitae elit dapibus suscipit vel at ipsum.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}},relatedPosts:[],categories:[{id:1,title:"Test Category 1",slug:"test-category-1",updatedAt:"2025-01-06T20:16:54.416Z",createdAt:"2025-01-06T20:16:54.416Z",_status:"published"}],meta:{title:"Test Post 1",image:null,description:null},publishedAt:"2025-01-06T20:17:25.595Z",authors:[{id:1,name:"Rob",jobRole:null,profilePicture:null,workHistory:[],certifications:[],areasOfExpertise:[],dateOfBirth:null,joinDate:null,role:"admin",sub:null,updatedAt:"2025-01-06T20:16:54.416Z",createdAt:"2025-01-06T20:16:54.416Z",enableAPIKey:null,apiKey:null,email:"rob@sdsdd.com",loginAttempts:0}],populatedAuthors:[{id:1,name:"Rob Ellison"}],publishedToWebsite:!1,slug:"test-post-2",slugLock:!0,updatedAt:"2025-01-06T20:17:31.465Z",createdAt:"2025-01-06T20:17:27.818Z",_status:"published"}};var Bt=me.bind({});Bt.args={...Q.args,pages:{totalPages:40,page:20}};var Rt=me.bind({});Rt.args={...Q.args,page:{...Q.args.page,categoryList:{title:"Categories"}},categoryList:null};var Tt=me.bind({});Tt.args={...Q.args,page:{...Q.args.page,authors:[{id:1,name:"Dave Brown",jobRole:null,profilePicture:null,workHistory:[],certifications:[],areasOfExpertise:[],dateOfBirth:null,joinDate:null,role:"admin",sub:null,updatedAt:"2025-01-06T20:16:54.416Z",createdAt:"2025-01-06T20:16:54.416Z",enableAPIKey:null,apiKey:null,email:""}],populatedAuthors:[{id:1,name:"Dave Brown"}]}};0&&(module.exports={Default,LoadsOfBlogs,NoAuthorImage,NoCategories});