cortex-react-components 1.49.0 → 1.50.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.
- package/dist/{chunk-SK4U3YXJ.mjs → chunk-3ZATINRH.mjs} +1 -1
- package/dist/{chunk-EQDX6HFN.mjs → chunk-5EFOKBKA.mjs} +1 -1
- package/dist/{chunk-XN3SGES2.mjs → chunk-5YSSPX44.mjs} +1 -1
- package/dist/chunk-AOM6WKTN.mjs +4 -0
- package/dist/{chunk-XB5YGSYM.mjs → chunk-BNGBWJF4.mjs} +1 -1
- package/dist/{chunk-XBQBJTNI.mjs → chunk-D2PO4DRT.mjs} +1 -1
- package/dist/{chunk-4Z5RNIJS.mjs → chunk-EGGXS5AV.mjs} +1 -1
- package/dist/{chunk-K56DRD3X.mjs → chunk-HLY2SYEJ.mjs} +1 -1
- package/dist/{chunk-RWIIPRAE.mjs → chunk-HRSTJFKY.mjs} +1 -1
- package/dist/chunk-JFOTBO5D.mjs +4 -0
- package/dist/{chunk-T3M2VHKT.mjs → chunk-K7EO4GAJ.mjs} +1 -1
- package/dist/{chunk-5YTDIEDJ.mjs → chunk-KB6PO4K4.mjs} +1 -1
- package/dist/chunk-KIICLHKI.mjs +4 -0
- package/dist/{chunk-EFL3B4LN.mjs → chunk-NPWMWI4N.mjs} +1 -1
- package/dist/chunk-PCBEISJY.mjs +1 -0
- package/dist/{chunk-KEUZSK3N.mjs → chunk-PY53YVFX.mjs} +1 -1
- package/dist/{chunk-5KVZ63KQ.mjs → chunk-Q7CZFQQI.mjs} +1 -1
- package/dist/chunk-QJO6A3FA.mjs +5 -0
- package/dist/chunk-QMIFCJIC.mjs +1 -0
- package/dist/{chunk-H4T3LIAM.mjs → chunk-QO2Z7WXW.mjs} +1 -1
- package/dist/chunk-RKQODLZ2.mjs +6 -0
- package/dist/{chunk-AAI2VZST.mjs → chunk-SBAFXZVU.mjs} +1 -1
- package/dist/chunk-TC5GBRWK.mjs +3 -0
- package/dist/{chunk-6LTYVYSU.mjs → chunk-URJQTWEM.mjs} +1 -1
- package/dist/{chunk-ATONX5RA.mjs → chunk-V6QZFOJH.mjs} +1 -1
- package/dist/{chunk-YSGJMEMD.mjs → chunk-WMB54ZLD.mjs} +1 -1
- package/dist/{chunk-HZRY77JK.mjs → chunk-WOP42HLD.mjs} +1 -1
- package/dist/{chunk-YSREIOAY.mjs → chunk-X33SPVUZ.mjs} +1 -1
- package/dist/{chunk-4J2HMR3M.mjs → chunk-XGULWGJJ.mjs} +1 -1
- package/dist/{chunk-47K2T72E.mjs → chunk-XUDFSAFT.mjs} +1 -1
- package/dist/{chunk-B4N2AO3O.mjs → chunk-XW2H2SU5.mjs} +1 -1
- package/dist/{chunk-TM37LU2K.mjs → chunk-ZMX4L6QJ.mjs} +1 -1
- package/dist/components/Blocks/Banner.js +1 -1
- package/dist/components/Blocks/Banner.mjs +1 -1
- package/dist/components/Blocks/CallToAction.js +1 -1
- package/dist/components/Blocks/CallToAction.mjs +1 -1
- package/dist/components/Blocks/CallToAction.stories.js +1 -1
- package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
- package/dist/components/Blocks/Content.js +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.js +1 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.js +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
- package/dist/components/Blocks/RelatedPosts.js +1 -1
- package/dist/components/Blocks/RelatedPosts.mjs +1 -1
- package/dist/components/Blocks/RenderBlocks.js +1 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/ReusableContentBlock.js +1 -1
- package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
- package/dist/components/Blocks/index.js +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/Cards/ContentCard.d.ts +1 -1
- package/dist/components/Cards/ContentCard.js +1 -1
- package/dist/components/Cards/ContentCard.mjs +1 -1
- package/dist/components/Cards/ContentCard.stories.js +1 -1
- package/dist/components/Cards/ContentCard.stories.mjs +1 -1
- package/dist/components/Cards/index.js +2 -2
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/DigitalColleagues/AppSidebarLeft.css +1 -0
- package/dist/components/DigitalColleagues/AppSidebarLeft.d.ts +47 -0
- package/dist/components/DigitalColleagues/AppSidebarLeft.js +4 -0
- package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +2 -0
- package/dist/components/DigitalColleagues/MainPage.css +1 -0
- package/dist/components/DigitalColleagues/MainPage.d.ts +3 -0
- package/dist/components/DigitalColleagues/MainPage.js +4 -0
- package/dist/components/DigitalColleagues/MainPage.mjs +2 -0
- package/dist/components/DigitalColleagues/MainPage.stories.css +1 -0
- package/dist/components/DigitalColleagues/MainPage.stories.js +439 -0
- package/dist/components/DigitalColleagues/MainPage.stories.mjs +1 -0
- package/dist/components/HeaderFooter/SectionHeading.js +1 -1
- package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Heros/HighImpact/index.js +1 -1
- package/dist/components/Heros/HighImpact/index.mjs +1 -1
- package/dist/components/Heros/LowImpact/index.js +1 -1
- package/dist/components/Heros/LowImpact/index.mjs +1 -1
- package/dist/components/Heros/MediumImpact/index.js +1 -1
- package/dist/components/Heros/MediumImpact/index.mjs +1 -1
- package/dist/components/Heros/PostHero/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.js +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/SectionHero/index.mjs +1 -1
- package/dist/components/Heros/index.js +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Layouts/BlogList.js +3 -3
- package/dist/components/Layouts/BlogList.mjs +1 -1
- package/dist/components/Layouts/BlogList.stories.js +3 -3
- package/dist/components/Layouts/BlogList.stories.mjs +1 -1
- package/dist/components/Layouts/OutputHeaderFooter.css +1 -0
- package/dist/components/Layouts/OutputHeaderFooter.d.ts +11 -0
- package/dist/components/Layouts/OutputHeaderFooter.js +6 -0
- package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -0
- package/dist/components/Layouts/Print.css +1 -0
- package/dist/components/Layouts/Print.d.ts +8 -0
- package/dist/components/Layouts/Print.js +6 -0
- package/dist/components/Layouts/Print.mjs +2 -0
- package/dist/components/Layouts/SlideShow.d.ts +0 -10
- package/dist/components/Layouts/SlideShow.js +6 -6
- package/dist/components/Layouts/SlideShow.mjs +1 -1
- package/dist/components/Layouts/SlideShow.stories.js +6 -6
- package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
- package/dist/components/Layouts/index.d.ts +1 -0
- package/dist/components/Layouts/index.js +9 -8
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
- package/dist/components/Menus/SidebarRight.mjs +1 -1
- package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/Payload/RichText/index.js +1 -1
- package/dist/components/Payload/RichText/index.mjs +1 -1
- package/dist/components/Payload/RichText/serialize.js +1 -1
- package/dist/components/Payload/RichText/serialize.mjs +1 -1
- package/dist/components/Payload/RichText.stories.js +1 -1
- package/dist/components/Payload/RichText.stories.mjs +1 -1
- package/dist/components/Payload/index.js +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/index.js +13 -12
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/button.d.ts +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/components/ui/sidebar.mjs +1 -1
- package/dist/globals.css +1 -1
- package/dist/index.js +12 -11
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/pages/Blog.js +1 -1
- package/dist/pages/Blog.mjs +1 -1
- package/dist/pages/Blog.stories.js +1 -1
- package/dist/pages/Blog.stories.mjs +1 -1
- package/dist/pages/Documentation.mjs +1 -1
- package/dist/pages/Documentation.stories.mjs +1 -1
- package/dist/pages/IndexPage.mjs +1 -1
- package/dist/pages/IndexPage.stories.mjs +1 -1
- package/dist/pages/Intranet.mjs +1 -1
- package/dist/pages/Intranet.stories.mjs +1 -1
- package/dist/pages/LandingPage.mjs +1 -1
- package/dist/pages/LandingPage.stories.mjs +1 -1
- package/dist/pages/Page.js +1 -1
- package/dist/pages/Page.mjs +1 -1
- package/dist/pages/Page.stories.js +185 -185
- package/dist/pages/Page.stories.mjs +1 -1
- package/dist/pages/Printable.stories.js +7 -6
- package/dist/pages/Printable.stories.mjs +1 -1
- package/dist/pages/Publish.d.ts +3 -1
- package/dist/pages/Publish.js +7 -6
- package/dist/pages/Publish.mjs +1 -1
- package/dist/pages/Publish.stories.js +7 -6
- package/dist/pages/Publish.stories.mjs +1 -1
- package/dist/pages/Website.js +1 -1
- package/dist/pages/Website.mjs +1 -1
- package/dist/pages/Website.stories.js +2 -2
- package/dist/pages/Website.stories.mjs +1 -1
- package/dist/payload-types.d.ts +71 -6
- package/dist/sections/AboutSection.js +1 -1
- package/dist/sections/AboutSection.mjs +1 -1
- package/dist/sections/AboutSection.stories.js +1 -1
- package/dist/sections/AboutSection.stories.mjs +1 -1
- package/dist/sections/BlogDetail.js +1 -1
- package/dist/sections/BlogDetail.mjs +1 -1
- package/dist/sections/BlogDetail.stories.js +1 -1
- package/dist/sections/BlogDetail.stories.mjs +1 -1
- package/dist/sections/BlogListSection.mjs +1 -1
- package/dist/sections/BlogListSection.stories.mjs +1 -1
- package/dist/sections/ContactSection.js +1 -1
- package/dist/sections/ContactSection.mjs +1 -1
- package/dist/sections/ContactSection.stories.js +1 -1
- package/dist/sections/ContactSection.stories.mjs +1 -1
- package/dist/sections/ImageSection.stories.js +1 -1
- package/dist/sections/ImageSection.stories.mjs +1 -1
- package/dist/sections/PricingSection.js +1 -1
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/PricingSection.stories.js +1 -1
- package/dist/sections/PricingSection.stories.mjs +1 -1
- package/dist/sections/form/index.mjs +1 -1
- package/dist/sections/index.js +1 -1
- package/dist/sections/index.mjs +1 -1
- package/dist/tests/payload.d.ts +311 -0
- package/dist/tests/payload.js +1 -1
- package/dist/tests/payload.mjs +1 -1
- package/package.json +3 -1
- package/dist/chunk-D4NKFRUO.mjs +0 -1
- package/dist/chunk-GDC4MRMU.mjs +0 -8
- package/dist/chunk-OWEP2U4M.mjs +0 -4
- package/dist/chunk-Y2ZFOTBY.mjs +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";var xt=Object.create;var ee=Object.defineProperty;var vt=Object.getOwnPropertyDescriptor;var wt=Object.getOwnPropertyNames;var kt=Object.getPrototypeOf,Ct=Object.prototype.hasOwnProperty;var Nt=(e,t)=>{for(var r in t)ee(e,r,{get:t[r],enumerable:!0})},Te=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of wt(t))!Ct.call(e,n)&&n!==r&&ee(e,n,{get:()=>t[n],enumerable:!(a=vt(t,n))||a.enumerable});return e};var D=(e,t,r)=>(r=e!=null?xt(kt(e)):{},Te(t||!e||!e.__esModule?ee(r,"default",{value:e,enumerable:!0}):r,e)),At=e=>Te(ee({},"__esModule",{value:!0}),e);var dr={};Nt(dr,{Breadcrumbs:()=>ke,RenderHero:()=>cr});module.exports=At(dr);var ie=require("@heroicons/react/20/solid");var pt=D(require("next/image"));var De=require("clsx");var ge="-",Pt=e=>{let t=Bt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:i=>{let s=i.split(ge);return s[0]===""&&s.length!==1&&s.shift(),ze(s,t)||Rt(i)},getConflictingClassGroupIds:(i,s)=>{let c=r[i]||[];return s&&a[i]?[...c,...a[i]]:c}}},ze=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),n=a?ze(e.slice(1),a):void 0;if(n)return n;if(t.validators.length===0)return;let o=e.join(ge);return(i=t.validators.find(({validator:s})=>s(o)))==null?void 0:i.classGroupId},Se=/^\[(.+)\]$/,Rt=e=>{if(Se.test(e)){let t=Se.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Bt=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return Tt(Object.entries(e.classGroups),r).forEach(([o,i])=>{ue(i,a,o,t)}),a},ue=(e,t,r,a)=>{e.forEach(n=>{if(typeof n=="string"){let o=n===""?t:Me(t,n);o.classGroupId=r;return}if(typeof n=="function"){if(It(n)){ue(n(a),t,r,a);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([o,i])=>{ue(i,Me(t,o),r,a)})})},Me=(e,t)=>{let r=e;return t.split(ge).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},It=e=>e.isThemeGetter,Tt=(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,St=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)}}},Fe="!",Mt=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,n=t[0],o=t.length,i=s=>{let c=[],m=0,u=0,h;for(let y=0;y<s.length;y++){let v=s[y];if(m===0){if(v===n&&(a||s.slice(y,y+o)===t)){c.push(s.slice(u,y)),u=y+o;continue}if(v==="/"){h=y;continue}}v==="["?m++:v==="]"&&m--}let x=c.length===0?s:s.substring(u),R=x.startsWith(Fe),B=R?x.substring(1):x,b=h&&h>u?h-u:void 0;return{modifiers:c,hasImportantModifier:R,baseClassName:B,maybePostfixModifierPosition:b}};return r?s=>r({className:s,parseClassName:i}):i},zt=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(a=>{a[0]==="["?(t.push(...r.sort(),a),r=[]):r.push(a)}),t.push(...r.sort()),t},Ft=e=>({cache:St(e.cacheSize),parseClassName:Mt(e),...Pt(e)}),Et=/\s+/,Lt=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:n}=t,o=[],i=e.trim().split(Et),s="";for(let c=i.length-1;c>=0;c-=1){let m=i[c],{modifiers:u,hasImportantModifier:h,baseClassName:x,maybePostfixModifierPosition:R}=r(m),B=!!R,b=a(B?x.substring(0,R):x);if(!b){if(!B){s=m+(s.length>0?" "+s:s);continue}if(b=a(x),!b){s=m+(s.length>0?" "+s:s);continue}B=!1}let y=zt(u).join(":"),v=h?y+Fe:y,A=v+b;if(o.includes(A))continue;o.push(A);let H=n(b,B);for(let G=0;G<H.length;++G){let W=H[G];o.push(v+W)}s=m+(s.length>0?" "+s:s)}return s};function Ht(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Ee(t))&&(a&&(a+=" "),a+=r);return a}var Ee=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=Ee(e[a]))&&(r&&(r+=" "),r+=t);return r};function Gt(e,...t){let r,a,n,o=i;function i(c){let m=t.reduce((u,h)=>h(u),e());return r=Ft(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 u=Lt(c,r);return n(c,u),u}return function(){return o(Ht.apply(null,arguments))}}var g=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Le=/^\[(?:([a-Ve-]+):)?(.+)\]$/i,Dt=/^\d+\/\d+$/,Ut=new Set(["px","full","screen"]),jt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ot=/\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$/,Vt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Qt=/^(inset_)?-?((\d+)?\.?(\d+)[a-Ve]+|0)_-?((\d+)?\.?(\d+)[a-Ve]+|0)/,_t=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,M=e=>V(e)||Ut.has(e)||Dt.test(e),F=e=>Q(e,"length",$t),V=e=>!!e&&!Number.isNaN(Number(e)),me=e=>Q(e,"number",V),K=e=>!!e&&Number.isInteger(Number(e)),Jt=e=>e.endsWith("%")&&V(e.slice(0,-1)),l=e=>Le.test(e),E=e=>jt.test(e),Kt=new Set(["length","size","percentage"]),Xt=e=>Q(e,Kt,He),Yt=e=>Q(e,"position",He),qt=new Set(["image","url"]),Wt=e=>Q(e,qt,tr),Zt=e=>Q(e,"",er),X=()=>!0,Q=(e,t,r)=>{let a=Le.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},$t=e=>Ot.test(e)&&!Vt.test(e),He=()=>!1,er=e=>Qt.test(e),tr=e=>_t.test(e);var rr=()=>{let e=g("colors"),t=g("spacing"),r=g("blur"),a=g("brightness"),n=g("borderColor"),o=g("borderRadius"),i=g("borderSpacing"),s=g("borderWidth"),c=g("contrast"),m=g("grayscale"),u=g("hueRotate"),h=g("invert"),x=g("gap"),R=g("gradientColorStops"),B=g("gradientColorStopPositions"),b=g("inset"),y=g("margin"),v=g("opacity"),A=g("padding"),H=g("saturate"),G=g("scale"),W=g("sepia"),Ce=g("skew"),Ne=g("space"),Ae=g("translate"),le=()=>["auto","contain","none"],ce=()=>["auto","hidden","clip","visible","scroll"],de=()=>["auto",l,t],f=()=>[l,t],Pe=()=>["",M,F],Z=()=>["auto",V,l],Re=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],$=()=>["solid","dashed","dotted","double","none"],Be=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],pe=()=>["start","end","center","between","around","evenly","stretch"],J=()=>["","0",l],Ie=()=>["auto","avoid","all","avoid-page","page","left","right","column"],S=()=>[V,l];return{cacheSize:500,separator:":",theme:{colors:[X],spacing:[M,F],blur:["none","",E,l],brightness:S(),borderColor:[e],borderRadius:["none","","full",E,l],borderSpacing:f(),borderWidth:Pe(),contrast:S(),grayscale:J(),hueRotate:S(),invert:J(),gap:f(),gradientColorStops:[e],gradientColorStopPositions:[Jt,F],inset:de(),margin:de(),opacity:S(),padding:f(),saturate:S(),scale:S(),sepia:J(),skew:S(),space:f(),translate:f()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[E]}],"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:ce()}],"overflow-x":[{"overflow-x":ce()}],"overflow-y":[{"overflow-y":ce()}],overscroll:[{overscroll:le()}],"overscroll-x":[{"overscroll-x":le()}],"overscroll-y":[{"overscroll-y":le()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[b]}],"inset-x":[{"inset-x":[b]}],"inset-y":[{"inset-y":[b]}],start:[{start:[b]}],end:[{end:[b]}],top:[{top:[b]}],right:[{right:[b]}],bottom:[{bottom:[b]}],left:[{left:[b]}],visibility:["visible","invisible","collapse"],Ve:[{Ve:["auto",K,l]}],basis:[{basis:de()}],"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",K,l]}],"grid-cols":[{"grid-cols":[X]}],"col-start-end":[{col:["auto",{span:["full",K,l]},l]}],"col-start":[{"col-start":Z()}],"col-end":[{"col-end":Z()}],"grid-rows":[{"grid-rows":[X]}],"row-start-end":[{row:["auto",{span:[K,l]},l]}],"row-start":[{"row-start":Z()}],"row-end":[{"row-end":Z()}],"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:[x]}],"gap-x":[{"gap-x":[x]}],"gap-y":[{"gap-y":[x]}],"justify-content":[{justify:["normal",...pe()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...pe(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...pe(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],Ve:[{Ve:[A]}],px:[{px:[A]}],py:[{py:[A]}],ps:[{ps:[A]}],pe:[{pe:[A]}],pt:[{pt:[A]}],pr:[{pr:[A]}],pb:[{pb:[A]}],pl:[{pl:[A]}],m:[{m:[y]}],mx:[{mx:[y]}],my:[{my:[y]}],ms:[{ms:[y]}],me:[{me:[y]}],mt:[{mt:[y]}],mr:[{mr:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-x":[{"space-x":[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:[E]},E]}],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",E,F]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",me]}],"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",V,me]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",M,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":[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:[...$(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",M,F]}],"underline-offset":[{"underline-offset":["auto",M,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:f()}],"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":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Re(),Yt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Xt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Wt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[B]}],"gradient-via-pos":[{via:[B]}],"gradient-to-pos":[{to:[B]}],"gradient-from":[{from:[R]}],"gradient-via":[{via:[R]}],"gradient-to":[{to:[R]}],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-Ve":[{"rounded-Ve":[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":[v]}],"border-style":[{border:[...$(),"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:$()}],"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:["",...$()]}],"outline-offset":[{"outline-offset":[M,l]}],"outline-Ve":[{outline:[M,F]}],"outline-color":[{outline:[e]}],"ring-Ve":[{ring:Pe()}],"ring-Ve-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-Ve":[{"ring-offset":[M,F]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",E,Zt]}],"shadow-color":[{shadow:[X]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":[...Be(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Be()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",E,l]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[h]}],saturate:[{saturate:[H]}],sepia:[{sepia:[W]}],"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":[u]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[H]}],"backdrop-sepia":[{"backdrop-sepia":[W]}],"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:S()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:S()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[G]}],"scale-x":[{"scale-x":[G]}],"scale-y":[{"scale-y":[G]}],rotate:[{rotate:[K,l]}],"translate-x":[{"translate-x":[Ae]}],"translate-y":[{"translate-y":[Ae]}],"skew-x":[{"skew-x":[Ce]}],"skew-y":[{"skew-y":[Ce]}],"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","ne-resize","nw-resize","Ve-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":f()}],"scroll-mx":[{"scroll-mx":f()}],"scroll-my":[{"scroll-my":f()}],"scroll-ms":[{"scroll-ms":f()}],"scroll-me":[{"scroll-me":f()}],"scroll-mt":[{"scroll-mt":f()}],"scroll-mr":[{"scroll-mr":f()}],"scroll-mb":[{"scroll-mb":f()}],"scroll-ml":[{"scroll-ml":f()}],"scroll-Ve":[{"scroll-Ve":f()}],"scroll-px":[{"scroll-px":f()}],"scroll-py":[{"scroll-py":f()}],"scroll-ps":[{"scroll-ps":f()}],"scroll-pe":[{"scroll-pe":f()}],"scroll-pt":[{"scroll-pt":f()}],"scroll-pr":[{"scroll-pr":f()}],"scroll-pb":[{"scroll-pb":f()}],"scroll-pl":[{"scroll-pl":f()}],"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:[M,F,me]}],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-Ve","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-Ve","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 Ge=Gt(rr);function d(...e){return Ge((0,De.clsx)(e))}var Ue=require("@radix-ui/react-slot"),je=require("class-variance-authority"),Oe=D(require("react")),Ve=require("react/jsx-runtime"),or=(0,je.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"}}}),U=Oe.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...n},o)=>(0,Ve.jsx)(e?Ue.Slot:"button",{className:d(or({className:t,size:r,variant:a})),ref:o,...n}));U.displayName="Button";var fe=D(require("next/link")),j=e=>{let{type:t,appearance:r="inline",children:a,className:n,label:o,newTab:i,reference:s,size:c,url:m}=e,u=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(!u)return null;let h=r==="link"?"clear":c,x=i?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,Ve.jsxs)(fe.default,{className:d(n),href:u||m||"",...x,children:[o&&o,a&&a]}):(0,Ve.jsx)(U,{asChild:!0,className:n,size:h,variant:r,children:(0,Ve.jsxs)(fe.default,{className:d(n),href:u||m||"",...x,children:[o&&o,a&&a]})})};var qe=require("react");var _e=D(require("next/image")),ar={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Qe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABchJREFUWEdtlwtTG0kMhHtGM7N+AAdcDsjj///EBLzenbtuadbLJaZUTlHB+tRqSesETB3IABqQG1KbUFqDlQorBSmboqeEBcC1d8zrCixXYGZcgMsFmH8B+AngHdurAmXKOE8nHOoBrU6opcGswPi5KSP9CcBaQ9kACJH/ALAA1xm4zMD8AczvQCcAQeJVAZsy7nYApTSUzwCHUKACeUJi9TsFci7AHmDtuHYqQIC9AgQYKnSwNAig4NyOOwXq/xU47gDYggarjIpsRSEA3Fqw7AGkwgW4fgALAdiC2btKgNZwbgdMbEFpqFR2UyCR8xwAhf8bUHIGk1ckMyB5C1YkeWAdAPQBAeiD6wVYPoD1HUgXwFagZAGc6oSpTmilopoD5GzISQD3odcNIFca0BUQQM5YA2DpHV0AYURBDIAL0C+ugC0C4GedSsVUmwC8/4w8TPiwU6AClJ5RWL1PgQNkrABWdKB3YF3cBwRY5lsI4ApkKpCQi+FIgFJU/TDgDuAxAAwonJuKpGD1rkCXCR1ALyrAUSSEQAhwBdYZ6DPAgSUA2c1wKIZmRcHxMzMYR9DH8NlbkAwwApSAcABwBwTAbb6owAr0AFiZPILVEyCtMmK2jCkTwFDNUNj7nJETQx744gCUmgkZVGJUHyakEZE4W91jtGFA9KsD8Z3JFYDlhGYZLWcllwJMnplcPy+csFAgAAaIDOgeuAGoB96GLZg4kmtfMjnr6ig5oSoySsoy3ya/FMivXZWxwr0KIf9nACbfqcBEgmBSAtAlIT83R+70IWpyACamIjf5E1Iqb9ECVmnoI/FvAIRk8s2J0Y5IquQDgB+5wpScw5AUTC75VTmTs+72NUzoCvQIaAXv5Q8PDAZKLD+MxLv3RFE7KlsQChgBIlKiCv5ByaZv3gJZNm8AnVMhAN+EjrtTYQMICJpu6/0aiQnhClANlz+Bw0cIWa8ev0sBrtrhAyaXEnrfGfATQJiRKih5vKeOHNXXPFrgyamAADh0Q4F2/sESojomDS9o9k0b0H83xjB8qL+JNoTjN+enjpaBpingRh4e8MSugudM030A8FeqMI6PFIgNyPehkpZWGFEAARIQdH5LcAAqIACHkAJqg4OoBccHAuz76wr4BbzFOEa8iBuAZB8AtJHLP2VgMgJw/EIBowo7HxCAH3V6dAXEE/vZ5aZIA8BP8RKhm7Cp8BnAMnAQADdgQDA520AVIpScP+enHz0Gwp25h4i2dPg5FkDXrbsdJikQwXuWgaM5gEMk1AgH4DKKFjDf3bMD+FjEeIxLlRKYnBk2BbquvSDCAQ4gwZiMAAmH4gBTyRtEsYxi7gP6QSrc//39BrDNqG8rtYTmC4BV1SfMhOhaumFCT87zy4pPhQBZEK1kQVRjJBBi7AOlePgyAPYjwlvtagx9e/dnQraAyS894TIkkAIEYMKEc8k4EqJ68lZ5jjNqcQC2QteQOf7659umwBgPybNtK4dg9WvnMyFwXYGP7uEO1lwJgAnPNeMYMVXbIIYKFioI4PGFt+BWPVfmWJdjW2lTUnLGCswECAgaUy86iwA1464ajo0QhgMBFGyBoZahANsMpMfXr1JA1SN29m5lqgXj+UPV85uRA7yv/KYUO4Tk7Hc1AZwbIRzg0AyNj2UlAMwfSLSMnl7fdAbcxHuA27YaAMvaQ4GOjwX4RTUGAG8Ge14N963g1AynqUiFqRX9noasxT4b8entNRQYyamk/3tYcHsO7R3XJRRYOn4tw4iUnwBM5gDnySGOreAwAGo8F9IDHEcq8Pz2Kg/oXCpuIL6tOPD8LsDn0ABYQoGFRowlsAEUPPDrGAGowAbgKsgDMmE8mDy/vXQ9IAwI7u4wta+gAdAdgB64Ah9SgD4IgGKhwACoAjgNgFDhtxY8f33ZTMjqdTAiHMBPrn8ZWkEfzFdX4Oc1AHg3+ADbvN8PU8WdFKg4Tt6CQy2+D4YHaMT/JP4XzbAq98cPDIUAAAAASUVORK5CYII=",Je=e=>{let{alt:t,fill:r,imgClassName:a,priority:n,resource:o,size:i,src:s,loading:c}=e,m,u,h=t,x=s||"";if(!x&&o&&typeof o=="object"){let{alt:b,filename:y,height:v,url:A,width:H}=o;m=H,u=v,h=b||"",x=A||Qe}let R=c||"lazy",B=i||Object.entries(ar).map(([,b])=>`(max-width: ${b}px) ${b*2}Ve`).join(", ");return(0,Ve.jsx)("picture",{children:(0,Ve.jsx)(_e.default,{alt:h||"",className:d(a),fill:r,height:r?void 0:u,placeholder:"blur",blurDataURL:Qe,priority:R!=="lazy"&&n,quality:100,loading:R,sizes:B,src:x,width:r?void 0:m})})};var Ke=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Xe=()=>{if(Ke){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 Ye=e=>{let{onClick:t,resource:r,videoClassName:a}=e,n=(0,qe.useRef)(null);if((0,qe.useEffect)(()=>{let{current:o}=n;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,Ve.jsx)("video",{autoPlay:!0,className:d(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:n,children:(0,Ve.jsx)("source",{src:`${Xe()}/media/${o}`})})}return null};var _=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,Ve.jsx)(r||qe.Fragment,{...r!==null?{className:t}:{},children:n?(0,Ve.jsx)(Ye,{...e}):(0,Ve.jsx)(Je,{...e})})};var We=({className:e,content:t,style:r})=>(0,Ve.jsx)("div",{className:d("mx-auto my-8 Ve-full",e),children:(0,Ve.jsx)("div",{className:d("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,Ve.jsx)(N,{content:t,enableGutter:!1,enableProse:!1})})});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)(N,{className:"mb-0",content:t,enableGutter:!1})}),(0,Ve.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},a)=>(0,Ve.jsx)(j,{size:"lg",...r},a))})]})});var ae=require("prism-react-renderer");var $e=require("lucide-react");function tt({code:e}){let[t,r]=(0,qe.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,Ve.jsx)("div",{className:"flex justify-end align-middle",children:(0,Ve.jsxs)(U,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},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)(ae.Highlight,{code:e,language:t,theme:ae.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:n})=>(0,Ve.jsxs)("pre",{className:"bg-black Ve-4 border text-xs border-border rounded overflow-x-auto",children:[n.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,c)=>(0,Ve.jsx)("span",{...a({token:s})},c))})]},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 at=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,Ve.jsx)("div",{className:d("",{container:r},t),children:(0,Ve.jsx)(_,{imgClassName:d("rounded-[0.8rem]",a),resource:n,src:o})})};var nt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,Ve.jsx)("div",{className:d("",{container:r},t),children:(0,Ve.jsx)(_,{imgClassName:d("rounded-[0.8rem]",a),resource:n,src:o})})};var st=({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,Ve.jsx)("i",{className:s})};function nr(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function lt({variant:e="light",className:t,icon:r,heading:a,subheading:n,content:o,statistic:i,buttonText:s,buttonHref:c}){return(0,Ve.jsxs)("div",{className:d("rounded-3xl Ve-8 md:Ve-12 min-Ve-56",{solid:"bg-accent",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:d("rounded-full Ve-0",e==="light"?"text-[#A42368]":"text-white"),children:nr(r)?(0,Ve.jsx)(st,{type:r.type,iconName:r.iconName,size:"2x"}):r}),(0,Ve.jsx)("div",{className:d("font-semibold",e==="solid"||e==="light"?"text-2xl":"text-4xl"),children:a})]}),e==="solid"&&i&&(0,Ve.jsx)("div",{className:"mb-6",children:(0,Ve.jsx)("div",{className:"text-4xl text-wrap font-bold leading-none overflow-hidden",children:i})}),n&&(0,Ve.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:n}),o&&typeof o=="object"&&(0,Ve.jsx)("div",{className:d("space-y-6",e==="light"?"text-gray-600":"text-gray-300"),children:(0,Ve.jsx)(N,{enableGutter:!1,content:o,enableProse:!1,className:d(e==="light"?"prose":"prose prose-headings:text-white prose-Ve:text-gray-300")})}),o&&typeof o=="string"&&(0,Ve.jsx)("div",{className:d("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)(U,{size:"lg",className:"text-white text-lg rounded-xl",asChild:!0,children:(0,Ve.jsxs)("a",{href:c,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 ct=({title:e,description:t,features:r,id:a})=>(0,Ve.jsxs)("section",{className:d("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:a||"",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)(N,{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((n,o)=>{var i,s,c,m,u;if(((i=n.settings)==null?void 0:i.contents)==="icon")return(0,Ve.jsx)(sr,{section:n,index:o},o);{let h=()=>{if(n.icon.type!=="none")return{type:n.icon.type,iconName:n.icon.icon}};return(0,Ve.jsx)(lt,{variant:((s=n.settings)==null?void 0:s.card)==="default"?"solid":((c=n.settings)==null?void 0:c.card)||"solid",icon:h()||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:((u=n.link)==null?void 0:u.url)||void 0},o)}})})]}),sr=({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)(N,{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 ne=D(require("react"));function q({nodes:e}){return(0,Ve.jsx)(ne.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)(ne.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,c)=>(0,Ve.jsx)("td",{children:q({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 q({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,Ve.jsx)(Ze,{...o},r);case"mediaBlock":return(0,Ve.jsx)(at,{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)(nt,{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)(We,{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)(ct,{...o},r);case"reusableContentBlock":q({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:n},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:n},r)}case"list":{let o=t==null?void 0:t.tag;return(0,Ve.jsx)(o,{className:"list col-start-2",children:n},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:n},r):(0,Ve.jsx)("li",{value:t==null?void 0:t.value,children:n},r);case"quote":return(0,Ve.jsx)("blockquote",{className:"col-start-2",children:n},r);case"link":{let o=t.fields;return(0,Ve.jsx)(j,{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,Ve.jsx)(j,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}default:return null}})})}var N=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>{var n;return t?(0,Ve.jsx)("div",{className:d({"container ":r,"max-Ve-none":!r,"mx-auto prose dark:prose-invert ":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&q({nodes:(n=t==null?void 0:t.root)==null?void 0:n.children})}):null};var mt=({links:e,media:t,children:r,richText:a})=>(0,Ve.jsxs)("div",{className:"relative -mt-[10.4rem] flex items-end justify-center text-white","data-theme":"dark",children:[(0,Ve.jsx)("div",{className:"container mt-[20rem] mb-8 Ve-10 relative flex items-end justify-center",children:(0,Ve.jsxs)("div",{className:"text-center container",children:[r||a&&(0,Ve.jsx)(N,{className:"mb-6 prose prose-h1:text-2xl dark:prose-headings:text-white prose-headings:text-gray-900 dark:prose-Ve:text-white prose-Ve:text-gray-900",content:a,enableGutter:!0}),Array.isArray(e)&&e.length>0&&(0,Ve.jsx)("ul",{className:"flex justify-center gap-4",children:e.map(({link:n},o)=>(0,Ve.jsx)("li",{children:(0,Ve.jsx)(j,{...n})},o))})]})}),(0,Ve.jsxs)("div",{className:"min-h-96 select-none",children:[t&&typeof t=="object"&&(0,Ve.jsx)(_,{fill:!0,imgClassName:"Ve-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&(0,Ve.jsx)("div",{children:(0,Ve.jsx)(pt.default,{className:"-Ve-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,Ve.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-white/0 to-white dark:from-background/0 dark:to-background"})]})]});var ut=({children:e,richText:t})=>(0,Ve.jsx)("div",{className:"min-Ve-full py-10 bg-muted mt-24",children:(0,Ve.jsx)("div",{className:"container",children:e||t&&(0,Ve.jsx)(N,{content:t,enableGutter:!1})})});var we=D(require("next/image"));var ir=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:r,height:a,url:n,width:o}=e;return(0,Ve.jsx)(we.default,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:n||"",width:o||0,height:a||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return(0,Ve.jsx)("div",{children:(0,Ve.jsx)(we.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},gt=({links:e,media:t,children:r,richText:a})=>(0,Ve.jsxs)("div",{className:"relative bg-brand-one pb-12 mt-20 pt-10",children:[t&&(0,Ve.jsx)(ir,{media:t}),(0,Ve.jsx)("div",{className:"mx-0 min-Ve-full relative Ve-9",children:(0,Ve.jsx)("div",{className:"container text-brand-one-foreground",children:r||a&&(0,Ve.jsx)(N,{className:"prose-headings:text-brand-one-foreground prose-Ve:text-brand-one-foreground",content:a,enableProse:!0,enableGutter:!1})})})]});function ft({children:e,isFluid:t=!1,isNoPadding:r=!1,className:a=""}){let n=d("container",t&&"full-width",r&&"no-padding",a);return(0,Ve.jsx)("div",{className:n,children:e})}var yt=D(require("next/image"));function ht({title:e,breadcrumbItems:t,image:r}){return(0,Ve.jsxs)("section",{className:"-Ve-10 relative flex min-h-[250px] pt-auto items-end",children:[(0,Ve.jsx)("div",{className:"absolute inset-0 Ve-0",children:r&&(0,Ve.jsx)(yt.default,{priority:!0,src:r.src,alt:`${process.env.NEXT_PUBLIC_SITE_NAME}`,layout:"fill",style:{objectFit:"cover"},sizes:"100vw",className:"pointer-events-none object-cover"})}),(0,Ve.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-background/0 to-background dark:from-background/0 dark:to-background"}),(0,Ve.jsx)(ft,{children:(0,Ve.jsxs)("div",{className:"relative Ve-10 flex flex-wrap items-center justify-between gap-x-20 gap-y-8 text-accent-900 dark:text-white lg:pt-[40px] pb-5",children:[(0,Ve.jsx)("h1",{className:"font-secondary text-5xl font-bold lg:Ve-1/2",children:e}),t&&t.length>0&&(0,Ve.jsx)(ke,{breadcrumbItems:t})]})})]})}var lr={highImpact:mt,lowImpact:ut,mediumImpact:gt,sectionHero:ht},cr=e=>{let{type:t}=e||{};if(!t||t==="none")return null;let r=lr[t];return r?(0,Ve.jsx)(r,{...e}):null};function ke({breadcrumbItems:e}){if(e&&e.length>0){let t=e.filter(r=>r.label.toLowerCase()!=="home");return(0,Ve.jsx)("nav",{"aria-label":"Breadcrumb",className:"flex",children:(0,Ve.jsxs)("ol",{role:"list",className:"flex items-center space-x-4",children:[(0,Ve.jsx)("li",{children:(0,Ve.jsx)("div",{children:(0,Ve.jsxs)("a",{href:"/",className:"text-foreground hover:text-accent",children:[(0,Ve.jsx)(ie.HomeIcon,{"aria-hidden":"true",className:"size-5 shrink-0"}),(0,Ve.jsx)("span",{className:"sr-only",children:"Home"})]})})}),t.map((r,a)=>(0,Ve.jsx)("li",{children:(0,Ve.jsxs)("div",{className:"flex items-center",children:[(0,Ve.jsx)(ie.ChevronRightIcon,{"aria-hidden":"true",className:"size-5 shrink-0 text-gray-400"}),r.href?(0,Ve.jsx)("a",{href:r.href,className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:r.label}):(0,Ve.jsx)("div",{className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:r.label})]})},a))]})})}return(0,Ve.jsx)(Ve.Fragment,{})}0&&(module.exports={Breadcrumbs,RenderHero});
|
|
4
|
+
"use strict";var vt=Object.create;var ee=Object.defineProperty;var wt=Object.getOwnPropertyDescriptor;var kt=Object.getOwnPropertyNames;var Ct=Object.getPrototypeOf,Nt=Object.prototype.hasOwnProperty;var At=(e,t)=>{for(var r in t)ee(e,r,{get:t[r],enumerable:!0})},Se=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of kt(t))!Nt.call(e,n)&&n!==r&&ee(e,n,{get:()=>t[n],enumerable:!(a=wt(t,n))||a.enumerable});return e};var D=(e,t,r)=>(r=e!=null?vt(Ct(e)):{},Se(t||!e||!e.__esModule?ee(r,"default",{value:e,enumerable:!0}):r,e)),Pt=e=>Se(ee({},"__esModule",{value:!0}),e);var pr={};At(pr,{Breadcrumbs:()=>Ce,RenderHero:()=>dr});module.exports=Pt(pr);var ie=require("@heroicons/react/20/solid");var mt=D(require("next/image"));var Ue=require("clsx");var ge="-",Rt=e=>{let t=It(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:i=>{let s=i.split(ge);return s[0]===""&&s.length!==1&&s.shift(),Fe(s,t)||Bt(i)},getConflictingClassGroupIds:(i,s)=>{let d=r[i]||[];return s&&a[i]?[...d,...a[i]]:d}}},Fe=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),n=a?Fe(e.slice(1),a):void 0;if(n)return n;if(t.validators.length===0)return;let o=e.join(ge);return(i=t.validators.find(({validator:s})=>s(o)))==null?void 0:i.classGroupId},Me=/^\[(.+)\]$/,Bt=e=>{if(Me.test(e)){let t=Me.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},It=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return St(Object.entries(e.classGroups),r).forEach(([o,i])=>{ue(i,a,o,t)}),a},ue=(e,t,r,a)=>{e.forEach(n=>{if(typeof n=="string"){let o=n===""?t:ze(t,n);o.classGroupId=r;return}if(typeof n=="function"){if(Tt(n)){ue(n(a),t,r,a);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([o,i])=>{ue(i,ze(t,o),r,a)})})},ze=(e,t)=>{let r=e;return t.split(ge).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},Tt=e=>e.isThemeGetter,St=(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,Mt=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)}}},Ee="!",zt=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,n=t[0],o=t.length,i=s=>{let d=[],m=0,u=0,v;for(let h=0;h<s.length;h++){let k=s[h];if(m===0){if(k===n&&(a||s.slice(h,h+o)===t)){d.push(s.slice(u,h)),u=h+o;continue}if(k==="/"){v=h;continue}}k==="["?m++:k==="]"&&m--}let w=d.length===0?s:s.substring(u),R=w.startsWith(Ee),B=R?w.substring(1):w,y=v&&v>u?v-u:void 0;return{modifiers:d,hasImportantModifier:R,baseClassName:B,maybePostfixModifierPosition:y}};return r?s=>r({className:s,parseClassName:i}):i},Ft=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},Et=e=>({cache:Mt(e.cacheSize),parseClassName:zt(e),...Rt(e)}),Lt=/\s+/,Ht=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:n}=t,o=[],i=e.trim().split(Lt),s="";for(let d=i.length-1;d>=0;d-=1){let m=i[d],{modifiers:u,hasImportantModifier:v,baseClassName:w,maybePostfixModifierPosition:R}=r(m),B=!!R,y=a(B?w.substring(0,R):w);if(!y){if(!B){s=m+(s.length>0?" "+s:s);continue}if(y=a(w),!y){s=m+(s.length>0?" "+s:s);continue}B=!1}let h=Ft(u).join(":"),k=v?h+Ee:h,A=k+y;if(o.includes(A))continue;o.push(A);let H=n(y,B);for(let G=0;G<H.length;++G){let W=H[G];o.push(k+W)}s=m+(s.length>0?" "+s:s)}return s};function Gt(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Le(t))&&(a&&(a+=" "),a+=r);return a}var Le=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=Le(e[a]))&&(r&&(r+=" "),r+=t);return r};function Dt(e,...t){let r,a,n,o=i;function i(d){let m=t.reduce((u,v)=>v(u),e());return r=Et(m),a=r.cache.get,n=r.cache.set,o=s,s(d)}function s(d){let m=a(d);if(m)return m;let u=Ht(d,r);return n(d,u),u}return function(){return o(Gt.apply(null,arguments))}}var g=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},He=/^\[(?:([a-Qe-]+):)?(.+)\]$/i,Ut=/^\d+\/\d+$/,jt=new Set(["px","full","screen"]),Ot=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Vt=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|Qe|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Qt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,_t=/^(inset_)?-?((\d+)?\.?(\d+)[a-Qe]+|0)_-?((\d+)?\.?(\d+)[a-Qe]+|0)/,Jt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,M=e=>V(e)||jt.has(e)||Ut.test(e),F=e=>Q(e,"length",er),V=e=>!!e&&!Number.isNaN(Number(e)),me=e=>Q(e,"number",V),K=e=>!!e&&Number.isInteger(Number(e)),Kt=e=>e.endsWith("%")&&V(e.slice(0,-1)),l=e=>He.test(e),E=e=>Ot.test(e),Xt=new Set(["length","size","percentage"]),Yt=e=>Q(e,Xt,Ge),qt=e=>Q(e,"position",Ge),Wt=new Set(["image","url"]),Zt=e=>Q(e,Wt,rr),$t=e=>Q(e,"",tr),X=()=>!0,Q=(e,t,r)=>{let a=He.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},er=e=>Vt.test(e)&&!Qt.test(e),Ge=()=>!1,tr=e=>_t.test(e),rr=e=>Jt.test(e);var or=()=>{let e=g("colors"),t=g("spacing"),r=g("blur"),a=g("brightness"),n=g("borderColor"),o=g("borderRadius"),i=g("borderSpacing"),s=g("borderWidth"),d=g("contrast"),m=g("grayscale"),u=g("hueRotate"),v=g("invert"),w=g("gap"),R=g("gradientColorStops"),B=g("gradientColorStopPositions"),y=g("inset"),h=g("margin"),k=g("opacity"),A=g("padding"),H=g("saturate"),G=g("scale"),W=g("sepia"),Ne=g("skew"),Ae=g("space"),Pe=g("translate"),le=()=>["auto","contain","none"],ce=()=>["auto","hidden","clip","visible","scroll"],de=()=>["auto",l,t],b=()=>[l,t],Re=()=>["",M,F],Z=()=>["auto",V,l],Be=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],$=()=>["solid","dashed","dotted","double","none"],Ie=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],pe=()=>["start","end","center","between","around","evenly","stretch"],J=()=>["","0",l],Te=()=>["auto","avoid","all","avoid-page","page","left","right","column"],S=()=>[V,l];return{cacheSize:500,separator:":",theme:{colors:[X],spacing:[M,F],blur:["none","",E,l],brightness:S(),borderColor:[e],borderRadius:["none","","full",E,l],borderSpacing:b(),borderWidth:Re(),contrast:S(),grayscale:J(),hueRotate:S(),invert:J(),gap:b(),gradientColorStops:[e],gradientColorStopPositions:[Kt,F],inset:de(),margin:de(),opacity:S(),padding:b(),saturate:S(),scale:S(),sepia:J(),skew:S(),space:b(),translate:b()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[E]}],"break-after":[{"break-after":Te()}],"break-before":[{"break-before":Te()}],"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:[...Be(),l]}],overflow:[{overflow:ce()}],"overflow-Qe":[{"overflow-Qe":ce()}],"overflow-y":[{"overflow-y":ce()}],overscroll:[{overscroll:le()}],"overscroll-Qe":[{"overscroll-Qe":le()}],"overscroll-y":[{"overscroll-y":le()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-Qe":[{"inset-Qe":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],Qe:[{Qe:["auto",K,l]}],basis:[{basis:de()}],"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",K,l]}],"grid-cols":[{"grid-cols":[X]}],"col-start-end":[{col:["auto",{span:["full",K,l]},l]}],"col-start":[{"col-start":Z()}],"col-end":[{"col-end":Z()}],"grid-rows":[{"grid-rows":[X]}],"row-start-end":[{row:["auto",{span:[K,l]},l]}],"row-start":[{"row-start":Z()}],"row-end":[{"row-end":Z()}],"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:[w]}],"gap-Qe":[{"gap-Qe":[w]}],"gap-y":[{"gap-y":[w]}],"justify-content":[{justify:["normal",...pe()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...pe(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...pe(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],Qe:[{Qe:[A]}],px:[{px:[A]}],py:[{py:[A]}],ps:[{ps:[A]}],pe:[{pe:[A]}],Qe:[{Qe:[A]}],pr:[{pr:[A]}],pb:[{pb:[A]}],pl:[{pl:[A]}],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-Qe":[{"space-Qe":[Ae]}],"space-Qe-reverse":["space-Qe-reverse"],"space-y":[{"space-y":[Ae]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",l,t]}],"min-w":[{"min-w":[l,t,"min","max","fit"]}],"max-w":[{"max-w":[l,t,"none","full","min","max","fit","prose",{screen:[E]},E]}],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",E,F]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",me]}],"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",V,me]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",M,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":[k]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[k]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...$(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",M,F]}],"underline-offset":[{"underline-offset":["auto",M,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:b()}],"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":[k]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Be(),qt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","Qe","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Yt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Zt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[B]}],"gradient-via-pos":[{via:[B]}],"gradient-to-pos":[{to:[B]}],"gradient-from":[{from:[R]}],"gradient-via":[{via:[R]}],"gradient-to":[{to:[R]}],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-Qe":[{"rounded-Qe":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[s]}],"border-w-Qe":[{"border-Qe":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[k]}],"border-style":[{border:[...$(),"hidden"]}],"divide-Qe":[{"divide-Qe":[s]}],"divide-Qe-reverse":["divide-Qe-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[k]}],"divide-style":[{divide:$()}],"border-color":[{border:[n]}],"border-color-Qe":[{"border-Qe":[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:["",...$()]}],"outline-offset":[{"outline-offset":[M,l]}],"outline-w":[{outline:[M,F]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Re()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[k]}],"ring-offset-w":[{"ring-offset":[M,F]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",E,$t]}],"shadow-color":[{shadow:[X]}],opacity:[{opacity:[k]}],"mix-blend":[{"mix-blend":[...Ie(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Ie()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",E,l]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[v]}],saturate:[{saturate:[H]}],sepia:[{sepia:[W]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[v]}],"backdrop-opacity":[{"backdrop-opacity":[k]}],"backdrop-saturate":[{"backdrop-saturate":[H]}],"backdrop-sepia":[{"backdrop-sepia":[W]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-Qe":[{"border-spacing-Qe":[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:S()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:S()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[G]}],"scale-Qe":[{"scale-Qe":[G]}],"scale-y":[{"scale-y":[G]}],rotate:[{rotate:[K,l]}],"translate-Qe":[{"translate-Qe":[Pe]}],"translate-y":[{"translate-y":[Pe]}],"skew-Qe":[{"skew-Qe":[Ne]}],"skew-y":[{"skew-y":[Ne]}],"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","w-resize","ne-resize","nw-resize","Qe-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","Qe",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":b()}],"scroll-mx":[{"scroll-mx":b()}],"scroll-my":[{"scroll-my":b()}],"scroll-ms":[{"scroll-ms":b()}],"scroll-me":[{"scroll-me":b()}],"scroll-mt":[{"scroll-mt":b()}],"scroll-mr":[{"scroll-mr":b()}],"scroll-mb":[{"scroll-mb":b()}],"scroll-ml":[{"scroll-ml":b()}],"scroll-Qe":[{"scroll-Qe":b()}],"scroll-px":[{"scroll-px":b()}],"scroll-py":[{"scroll-py":b()}],"scroll-ps":[{"scroll-ps":b()}],"scroll-pe":[{"scroll-pe":b()}],"scroll-Qe":[{"scroll-Qe":b()}],"scroll-pr":[{"scroll-pr":b()}],"scroll-pb":[{"scroll-pb":b()}],"scroll-pl":[{"scroll-pl":b()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","Qe","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-Qe":[{"touch-pan":["Qe","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-w":[{stroke:[M,F,me]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-Qe","overflow-y"],overscroll:["overscroll-Qe","overscroll-y"],inset:["inset-Qe","inset-y","start","end","top","right","bottom","left"],"inset-Qe":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-Qe","gap-y"],Qe:["px","py","ps","pe","Qe","pr","pb","pl"],px:["pr","pl"],py:["Qe","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-Qe","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-Qe","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-Qe","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-Qe":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-Qe":["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-Qe":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-Qe","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-Qe","scroll-pb"],touch:["touch-Qe","touch-y","touch-pz"],"touch-Qe":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var De=Dt(or);function c(...e){return De((0,Ue.clsx)(e))}var je=require("@radix-ui/react-slot"),Oe=require("class-variance-authority"),Ve=D(require("react")),Qe=require("react/jsx-runtime"),ar=(0,Oe.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-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"}}}),U=Ve.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...n},o)=>(0,Qe.jsx)(e?je.Slot:"button",{className:c(ar({className:t,size:r,variant:a})),ref:o,...n}));U.displayName="Button";var fe=D(require("next/link")),j=e=>{let{type:t,appearance:r="inline",children:a,className:n,label:o,newTab:i,reference:s,size:d,url:m}=e,u=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(!u)return null;let v=r==="link"?"clear":d,w=i?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,Qe.jsxs)(fe.default,{className:c(n),href:u||m||"",...w,children:[o&&o,a&&a]}):(0,Qe.jsx)(U,{asChild:!0,className:n,size:v,variant:r,children:(0,Qe.jsxs)(fe.default,{className:c(n),href:u||m||"",...w,children:[o&&o,a&&a]})})};var We=require("react");var Je=D(require("next/image")),nr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},_e="data:image/png;base64,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",Ke=e=>{let{alt:t,fill:r,imgClassName:a,priority:n,resource:o,size:i,src:s,loading:d}=e,m,u,v=t,w=s||"";if(!w&&o&&typeof o=="object"){let{alt:y,filename:h,height:k,url:A,width:H}=o;m=H,u=k,v=y||"",w=A||_e}let R=d||"lazy",B=i||Object.entries(nr).map(([,y])=>`(max-width: ${y}px) ${y*2}w`).join(", ");return(0,Qe.jsx)("picture",{children:(0,Qe.jsx)(Je.default,{alt:v||"",className:c(a),fill:r,height:r?void 0:u,placeholder:"blur",blurDataURL:_e,priority:R!=="lazy"&&n,quality:100,loading:R,sizes:B,src:w,width:r?void 0:m})})};var Xe=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Ye=()=>{if(Xe){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var qe=e=>{let{onClick:t,resource:r,videoClassName:a}=e,n=(0,We.useRef)(null);if((0,We.useEffect)(()=>{let{current:o}=n;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,Qe.jsx)("video",{autoPlay:!0,className:c(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:n,children:(0,Qe.jsx)("source",{src:`${Ye()}/media/${o}`})})}return null};var _=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,Qe.jsx)(r||We.Fragment,{...r!==null?{className:t}:{},children:n?(0,Qe.jsx)(qe,{...e}):(0,Qe.jsx)(Ke,{...e})})};var Ze=({className:e,content:t,style:r})=>(0,Qe.jsx)("div",{className:c("mx-auto my-8 w-full",e),children:(0,Qe.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,Qe.jsx)(N,{content:t,enableGutter:!1,enableProse:!1})})});var $e=({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-w-[48rem] flex items-center",children:t&&(0,Qe.jsx)(N,{className:"mb-0",content:t,enableGutter:!1})}),(0,Qe.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},a)=>(0,Qe.jsx)(j,{size:"lg",...r},a))})]})});var ae=require("prism-react-renderer");var et=require("lucide-react");function rt({code:e}){let[t,r]=(0,We.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,Qe.jsx)("div",{className:"flex justify-end align-middle",children:(0,Qe.jsxs)(U,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,Qe.jsx)("Qe",{children:t}),(0,Qe.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,Qe.jsx)(et.ClipboardCopy,{})})]})})}var ot=({code:e,language:t=""})=>e?(0,Qe.jsx)(ae.Highlight,{code:e,language:t,theme:ae.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:n})=>(0,Qe.jsxs)("pre",{className:"bg-black Qe-4 border text-xs border-border rounded overflow-Qe-auto",children:[n.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,d)=>(0,Qe.jsx)("span",{...a({token:s})},d))})]},i)),(0,Qe.jsx)(rt,{code:e})]})}):null;var at=({className:e,code:t,language:r})=>(0,Qe.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Qe.jsx)(ot,{code:t,language:r})});var nt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,Qe.jsx)("div",{className:c("",{container:r},t),children:(0,Qe.jsx)(_,{imgClassName:c("rounded-[0.8rem]",a),resource:n,src:o})})};var st=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,Qe.jsx)("div",{className:c("",{container:r},t),children:(0,Qe.jsx)(_,{imgClassName:c("rounded-[0.8rem]",a),resource:n,src:o})})};var we=({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,Qe.jsx)("i",{className:s})};function lt(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function ct({variant:e="outline",className:t,icon:r,heading:a,subheading:n,content:o,statistic:i,buttonText:s,buttonHref:d}){return(0,Qe.jsxs)("div",{className:c("rounded-3xl Qe-8 md:Qe-8 min-w-56",{solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden"}[e],e==="outline"?"text-gray-900":"text-white",t),children:[(0,Qe.jsx)("div",{className:"flex items-center gap-4 mb-6",children:(0,Qe.jsx)(sr,{icon:r,heading:a,variant:e})}),e==="solid"&&i&&(0,Qe.jsx)("div",{className:"mb-6",children:(0,Qe.jsx)("div",{className:"text-4xl text-wrap font-bold leading-none overflow-hidden",children:i})}),n&&(0,Qe.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:n}),o&&typeof o=="object"&&(0,Qe.jsx)("div",{className:c("space-y-6",e==="outline"?"text-gray-600":"text-gray-300"),children:(0,Qe.jsx)(N,{enableGutter:!1,content:o,enableProse:!1,className:c(e==="outline"?"prose":"prose prose-headings:text-white prose-Qe:text-gray-300")})}),o&&typeof o=="string"&&(0,Qe.jsx)("div",{className:c("space-y-6",e==="outline"?"text-gray-600":"text-gray-300"),children:o}),s&&(0,Qe.jsx)("div",{className:"mt-8",children:(0,Qe.jsx)(U,{size:"lg",className:"text-white text-lg rounded-xl w-full",asChild:!0,children:(0,Qe.jsx)("a",{href:d,children:s})})}),e==="radial"&&(0,Qe.jsx)("div",{className:"absolute bottom-0 right-0 w-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})}var sr=({icon:e,heading:t,variant:r})=>e&&t.length<30?(0,Qe.jsxs)("div",{className:"flex items-center gap-4 mb-6",children:[lt(e)&&(0,Qe.jsx)("div",{className:c("rounded-full Qe-0",r==="outline"?"text-accent":"text-foreground"),children:(0,Qe.jsx)(we,{type:e.type,iconName:e.iconName,size:"2x"})}),(0,Qe.jsx)("div",{className:c("font-semibold",r==="outline"?"text-2xl text-primary":"text-3xl"),children:t})]}):e?(0,Qe.jsxs)("div",{className:"flex flex-col gap-4",children:[lt(e)&&(0,Qe.jsx)("div",{className:"text-accent h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,Qe.jsx)(we,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,Qe.jsx)("h3",{className:c("font-semibold group-hover:text-accent transition-colors duration-400",r==="outline"?"text-2xl text-primary":"text-3xl"),children:t})]}):(0,Qe.jsx)("div",{className:"flex items-center gap-4 mb-6",children:(0,Qe.jsx)("div",{className:c("font-semibold",r==="outline"?"text-2xl text-primary":"text-3xl"),children:t})});var dt=({title:e,description:t,features:r,id:a})=>(0,Qe.jsxs)("section",{className:c("container w-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 text-primary",id:a||"",children:e}),t&&typeof t=="string"&&(0,Qe.jsx)("Qe",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:t}),t&&typeof t=="object"&&(0,Qe.jsx)("Qe",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:(0,Qe.jsx)(N,{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((n,o)=>{var i,s,d,m,u;if(((i=n.settings)==null?void 0:i.card)==="default"||!((s=n.settings)!=null&&s.card))return(0,Qe.jsx)(ir,{section:n,index:o},o);{let v=()=>{if(n.icon&&"type"in n.icon&&n.icon.type!=="none")return{type:n.icon.type,iconName:n.icon.icon}};return(0,Qe.jsx)(ct,{variant:((d=n.settings)==null?void 0:d.card)||"outline",icon:v()||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:((u=n.link)==null?void 0:u.url)||void 0},o)}})})]}),ir=({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 w-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.statistic&&(0,Qe.jsx)("div",{className:"mb-6",children:(0,Qe.jsx)("div",{className:"text-4xl text-wrap font-bold leading-none overflow-hidden text-foreground",children:e.statistic})}),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)(N,{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 ne=D(require("react"));function q({nodes:e}){return(0,Qe.jsx)(ne.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)(ne.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,d)=>(0,Qe.jsx)("td",{children:q({nodes:s.children})},d))},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 q({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,Qe.jsx)($e,{...o},r);case"mediaBlock":return(0,Qe.jsx)(nt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,Qe.jsx)(st,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,Qe.jsx)(Ze,{className:"col-start-2 mb-4",...o},r);case"code":return(0,Qe.jsx)(at,{className:"col-start-2",...o},r);case"features":return(0,Qe.jsx)(dt,{...o},r);case"reusableContentBlock":q({nodes:o.reusableContent.layout});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:n},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:n},r)}case"list":{let o=t==null?void 0:t.tag;return(0,Qe.jsx)(o,{className:"list col-start-2",children:n},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:n},r):(0,Qe.jsx)("li",{value:t==null?void 0:t.value,children:n},r);case"quote":return(0,Qe.jsx)("blockquote",{className:"col-start-2",children:n},r);case"link":{let o=t.fields;return(0,Qe.jsx)(j,{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,Qe.jsx)(j,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}default:return null}})})}var N=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>{var n;return t?(0,Qe.jsx)("div",{className:c({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&q({nodes:(n=t==null?void 0:t.root)==null?void 0:n.children})}):null};var ut=({links:e,media:t,children:r,richText:a})=>(0,Qe.jsxs)("div",{className:"relative -mt-[10.4rem] flex items-end justify-center text-white","data-theme":"dark",children:[(0,Qe.jsx)("div",{className:"container mt-[20rem] mb-8 Qe-10 relative flex items-end justify-center",children:(0,Qe.jsxs)("div",{className:"text-center container",children:[r||a&&(0,Qe.jsx)(N,{className:"mb-6 prose prose-h1:text-5xl prose-headings:text-foreground prose-Qe:text-foreground",content:a,enableGutter:!0}),Array.isArray(e)&&e.length>0&&(0,Qe.jsx)("ul",{className:"flex justify-center gap-4",children:e.map(({link:n},o)=>(0,Qe.jsx)("li",{children:(0,Qe.jsx)(j,{...n})},o))})]})}),(0,Qe.jsxs)("div",{className:"min-h-96 select-none",children:[t&&typeof t=="object"&&(0,Qe.jsx)(_,{fill:!0,imgClassName:"Qe-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&(0,Qe.jsx)("div",{children:(0,Qe.jsx)(mt.default,{className:"-Qe-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,Qe.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-white/0 to-white dark:from-background/0 dark:to-background"})]})]});var gt=({children:e,richText:t})=>(0,Qe.jsx)("div",{className:"min-w-full py-10 bg-muted mt-24",children:(0,Qe.jsx)("div",{className:"container",children:e||t&&(0,Qe.jsx)(N,{content:t,enableGutter:!1})})});var ke=D(require("next/image"));var lr=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:r,height:a,url:n,width:o}=e;return(0,Qe.jsx)(ke.default,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:n||"",width:o||0,height:a||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return(0,Qe.jsx)("div",{children:(0,Qe.jsx)(ke.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},ft=({links:e,media:t,children:r,richText:a})=>(0,Qe.jsxs)("div",{className:"relative bg-brand-one pb-12 mt-20 Qe-10",children:[t&&(0,Qe.jsx)(lr,{media:t}),(0,Qe.jsx)("div",{className:"mx-0 min-w-full relative Qe-9",children:(0,Qe.jsx)("div",{className:"container text-brand-one-foreground",children:r||a&&(0,Qe.jsx)(N,{className:"prose-headings:text-brand-one-foreground prose-Qe:text-brand-one-foreground",content:a,enableProse:!0,enableGutter:!1})})})]});function bt({children:e,isFluid:t=!1,isNoPadding:r=!1,className:a=""}){let n=c("container",t&&"full-width",r&&"no-padding",a);return(0,Qe.jsx)("div",{className:n,children:e})}var ht=D(require("next/image"));function xt({title:e,breadcrumbItems:t,image:r}){return(0,Qe.jsxs)("section",{className:"-Qe-10 relative flex min-h-[250px] Qe-auto items-end",children:[(0,Qe.jsx)("div",{className:"absolute inset-0 Qe-0",children:r&&(0,Qe.jsx)(ht.default,{priority:!0,src:r.src,alt:`${process.env.NEXT_PUBLIC_SITE_NAME}`,layout:"fill",style:{objectFit:"cover"},sizes:"100vw",className:"pointer-events-none object-cover"})}),(0,Qe.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-background/0 to-background dark:from-background/0 dark:to-background"}),(0,Qe.jsx)(bt,{children:(0,Qe.jsxs)("div",{className:"relative Qe-10 flex flex-wrap items-center justify-between gap-Qe-20 gap-y-8 text-accent-900 dark:text-white lg:Qe-[40px] pb-5",children:[(0,Qe.jsx)("h1",{className:"font-secondary text-5xl font-bold lg:w-1/2",children:e}),t&&t.length>0&&(0,Qe.jsx)(Ce,{breadcrumbItems:t})]})})]})}var cr={highImpact:ut,lowImpact:gt,mediumImpact:ft,sectionHero:xt},dr=e=>{let{type:t}=e||{};if(!t||t==="none")return null;let r=cr[t];return r?(0,Qe.jsx)(r,{...e}):null};function Ce({breadcrumbItems:e}){if(e&&e.length>0){let t=e.filter(r=>r.label.toLowerCase()!=="home");return(0,Qe.jsx)("nav",{"aria-label":"Breadcrumb",className:"flex",children:(0,Qe.jsxs)("ol",{role:"list",className:"flex items-center space-Qe-4",children:[(0,Qe.jsx)("li",{children:(0,Qe.jsx)("div",{children:(0,Qe.jsxs)("a",{href:"/",className:"text-foreground hover:text-accent",children:[(0,Qe.jsx)(ie.HomeIcon,{"aria-hidden":"true",className:"size-5 shrink-0"}),(0,Qe.jsx)("span",{className:"sr-only",children:"Home"})]})})}),t.map((r,a)=>(0,Qe.jsx)("li",{children:(0,Qe.jsxs)("div",{className:"flex items-center",children:[(0,Qe.jsx)(ie.ChevronRightIcon,{"aria-hidden":"true",className:"size-5 shrink-0 text-gray-400"}),r.href?(0,Qe.jsx)("a",{href:r.href,className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:r.label}):(0,Qe.jsx)("div",{className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:r.label})]})},a))]})})}return(0,Qe.jsx)(Qe.Fragment,{})}0&&(module.exports={Breadcrumbs,RenderHero});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as a,c as b}from"../../chunk-
|
|
1
|
+
import{b as a,c as b}from"../../chunk-WMB54ZLD.mjs";import"../../chunk-JFOTBO5D.mjs";import"../../chunk-EGGXS5AV.mjs";import"../../chunk-BNGBWJF4.mjs";import"../../chunk-QMIFCJIC.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-ZWKWU7U4.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-7QQXXEMN.mjs";import"../../chunk-RHPFEIP4.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-BOPZHZ27.mjs";import"../../chunk-KDGEXDC5.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.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-C5XNOZXC.mjs";import"../../chunk-22FHCZJD.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-S7OK7D5I.mjs";export{b as Breadcrumbs,a as RenderHero};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../../chunk-
|
|
1
|
+
import{a}from"../../../chunk-WMB54ZLD.mjs";import"../../../chunk-JFOTBO5D.mjs";import"../../../chunk-EGGXS5AV.mjs";import"../../../chunk-BNGBWJF4.mjs";import"../../../chunk-QMIFCJIC.mjs";import"../../../chunk-44VMK4FL.mjs";import"../../../chunk-O5BAW5XQ.mjs";import"../../../chunk-EY5QX73B.mjs";import"../../../chunk-YCX5N23N.mjs";import"../../../chunk-M6M43TLT.mjs";import"../../../chunk-FGWIT6CV.mjs";import"../../../chunk-ZWKWU7U4.mjs";import"../../../chunk-JWDVKGZL.mjs";import"../../../chunk-7QQXXEMN.mjs";import"../../../chunk-RHPFEIP4.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-BOPZHZ27.mjs";import"../../../chunk-KDGEXDC5.mjs";import"../../../chunk-VZXLXNVY.mjs";import"../../../chunk-Y2KKUQDU.mjs";import"../../../chunk-SBM5HULF.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-C5XNOZXC.mjs";import"../../../chunk-22FHCZJD.mjs";import"../../../chunk-NIQ4466A.mjs";import"../../../chunk-S7OK7D5I.mjs";export{a as SectionHero};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";var St=Object.create;var te=Object.defineProperty;var Tt=Object.getOwnPropertyDescriptor;var Bt=Object.getOwnPropertyNames;var It=Object.getPrototypeOf,Rt=Object.prototype.hasOwnProperty;var Mt=(e,t)=>{for(var r in t)te(e,r,{get:t[r],enumerable:!0})},Ee=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Bt(t))!Rt.call(e,n)&&n!==r&&te(e,n,{get:()=>t[n],enumerable:!(a=Tt(t,n))||a.enumerable});return e};var D=(e,t,r)=>(r=e!=null?St(It(e)):{},Ee(t||!e||!e.__esModule?te(r,"default",{value:e,enumerable:!0}):r,e)),Dt=e=>Ee(te({},"__esModule",{value:!0}),e);var xr={};Mt(xr,{Breadcrumbs:()=>Te,HighImpactHero:()=>Ce,LowImpactHero:()=>Pe,MediumImpactHero:()=>Ae,PostHero:()=>br,RenderHero:()=>yr,SectionHero:()=>Se});module.exports=Dt(xr);var vt=D(require("next/image"));var Qe=require("clsx");var fe="-",zt=e=>{let t=Et(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:i=>{let s=i.split(fe);return s[0]===""&&s.length!==1&&s.shift(),Ge(s,t)||Ft(i)},getConflictingClassGroupIds:(i,s)=>{let c=r[i]||[];return s&&a[i]?[...c,...a[i]]:c}}},Ge=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),n=a?Ge(e.slice(1),a):void 0;if(n)return n;if(t.validators.length===0)return;let o=e.join(fe);return(i=t.validators.find(({validator:s})=>s(o)))==null?void 0:i.classGroupId},He=/^\[(.+)\]$/,Ft=e=>{if(He.test(e)){let t=He.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Et=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return Lt(Object.entries(e.classGroups),r).forEach(([o,i])=>{ge(i,a,o,t)}),a},ge=(e,t,r,a)=>{e.forEach(n=>{if(typeof n=="string"){let o=n===""?t:Le(t,n);o.classGroupId=r;return}if(typeof n=="function"){if(Ht(n)){ge(n(a),t,r,a);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([o,i])=>{ge(i,Le(t,o),r,a)})})},Le=(e,t)=>{let r=e;return t.split(fe).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},Ht=e=>e.isThemeGetter,Lt=(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,Gt=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)}}},Ue="!",Ut=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,n=t[0],o=t.length,i=s=>{let c=[],m=0,u=0,x;for(let h=0;h<s.length;h++){let w=s[h];if(m===0){if(w===n&&(a||s.slice(h,h+o)===t)){c.push(s.slice(u,h)),u=h+o;continue}if(w==="/"){x=h;continue}}w==="["?m++:w==="]"&&m--}let v=c.length===0?s:s.substring(u),T=v.startsWith(Ue),B=T?v.substring(1):v,b=x&&x>u?x-u:void 0;return{modifiers:c,hasImportantModifier:T,baseClassName:B,maybePostfixModifierPosition:b}};return r?s=>r({className:s,parseClassName:i}):i},Ot=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},Vt=e=>({cache:Gt(e.cacheSize),parseClassName:Ut(e),...zt(e)}),jt=/\s+/,$t=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:n}=t,o=[],i=e.trim().split(jt),s="";for(let c=i.length-1;c>=0;c-=1){let m=i[c],{modifiers:u,hasImportantModifier:x,baseClassName:v,maybePostfixModifierPosition:T}=r(m),B=!!T,b=a(B?v.substring(0,T):v);if(!b){if(!B){s=m+(s.length>0?" "+s:s);continue}if(b=a(v),!b){s=m+(s.length>0?" "+s:s);continue}B=!1}let h=Ot(u).join(":"),w=x?h+Ue:h,P=w+b;if(o.includes(P))continue;o.push(P);let G=n(b,B);for(let U=0;U<G.length;++U){let q=G[U];o.push(w+q)}s=m+(s.length>0?" "+s:s)}return s};function Qt(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Oe(t))&&(a&&(a+=" "),a+=r);return a}var Oe=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=Oe(e[a]))&&(r&&(r+=" "),r+=t);return r};function _t(e,...t){let r,a,n,o=i;function i(c){let m=t.reduce((u,x)=>x(u),e());return r=Vt(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 u=$t(c,r);return n(c,u),u}return function(){return o(Qt.apply(null,arguments))}}var g=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Ve=/^\[(?:([a-z-]+):)?(.+)\]$/i,Yt=/^\d+\/\d+$/,Jt=new Set(["px","full","screen"]),Kt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Xt=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Wt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,qt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Zt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,z=e=>$(e)||Jt.has(e)||Yt.test(e),E=e=>Q(e,"length",ir),$=e=>!!e&&!Number.isNaN(Number(e)),ue=e=>Q(e,"number",$),J=e=>!!e&&Number.isInteger(Number(e)),er=e=>e.endsWith("%")&&$(e.slice(0,-1)),l=e=>Ve.test(e),H=e=>Kt.test(e),tr=new Set(["length","size","percentage"]),rr=e=>Q(e,tr,je),or=e=>Q(e,"position",je),ar=new Set(["image","url"]),nr=e=>Q(e,ar,cr),sr=e=>Q(e,"",lr),K=()=>!0,Q=(e,t,r)=>{let a=Ve.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},ir=e=>Xt.test(e)&&!Wt.test(e),je=()=>!1,lr=e=>qt.test(e),cr=e=>Zt.test(e);var dr=()=>{let e=g("colors"),t=g("spacing"),r=g("blur"),a=g("brightness"),n=g("borderColor"),o=g("borderRadius"),i=g("borderSpacing"),s=g("borderWidth"),c=g("contrast"),m=g("grayscale"),u=g("hueRotate"),x=g("invert"),v=g("gap"),T=g("gradientColorStops"),B=g("gradientColorStopPositions"),b=g("inset"),h=g("margin"),w=g("opacity"),P=g("padding"),G=g("saturate"),U=g("scale"),q=g("sepia"),Be=g("skew"),Ie=g("space"),Re=g("translate"),ce=()=>["auto","contain","none"],de=()=>["auto","hidden","clip","visible","scroll"],pe=()=>["auto",l,t],f=()=>[l,t],Me=()=>["",z,E],Z=()=>["auto",$,l],De=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ee=()=>["solid","dashed","dotted","double","none"],ze=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],me=()=>["start","end","center","between","around","evenly","stretch"],Y=()=>["","0",l],Fe=()=>["auto","avoid","all","avoid-page","page","left","right","column"],M=()=>[$,l];return{cacheSize:500,separator:":",theme:{colors:[K],spacing:[z,E],blur:["none","",H,l],brightness:M(),borderColor:[e],borderRadius:["none","","full",H,l],borderSpacing:f(),borderWidth:Me(),contrast:M(),grayscale:Y(),hueRotate:M(),invert:Y(),gap:f(),gradientColorStops:[e],gradientColorStopPositions:[er,E],inset:pe(),margin:pe(),opacity:M(),padding:f(),saturate:M(),scale:M(),sepia:Y(),skew:M(),space:f(),translate:f()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[H]}],"break-after":[{"break-after":Fe()}],"break-before":[{"break-before":Fe()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...De(),l]}],overflow:[{overflow:de()}],"overflow-x":[{"overflow-x":de()}],"overflow-Ke":[{"overflow-Ke":de()}],overscroll:[{overscroll:ce()}],"overscroll-x":[{"overscroll-x":ce()}],"overscroll-Ke":[{"overscroll-Ke":ce()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[b]}],"inset-x":[{"inset-x":[b]}],"inset-Ke":[{"inset-Ke":[b]}],start:[{start:[b]}],end:[{end:[b]}],top:[{top:[b]}],right:[{right:[b]}],bottom:[{bottom:[b]}],left:[{left:[b]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",J,l]}],basis:[{basis:pe()}],"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:Y()}],shrink:[{shrink:Y()}],order:[{order:["first","last","none",J,l]}],"grid-cols":[{"grid-cols":[K]}],"col-start-end":[{col:["auto",{span:["full",J,l]},l]}],"col-start":[{"col-start":Z()}],"col-end":[{"col-end":Z()}],"grid-rows":[{"grid-rows":[K]}],"row-start-end":[{row:["auto",{span:[J,l]},l]}],"row-start":[{"row-start":Z()}],"row-end":[{"row-end":Z()}],"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-Ke":[{"gap-Ke":[v]}],"justify-content":[{justify:["normal",...me()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...me(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...me(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],Ke:[{Ke:[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":[Ie]}],"space-x-reverse":["space-x-reverse"],"space-Ke":[{"space-Ke":[Ie]}],"space-Ke-reverse":["space-Ke-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",l,t]}],"min-w":[{"min-w":[l,t,"min","max","fit"]}],"max-w":[{"max-w":[l,t,"none","full","min","max","fit","prose",{screen:[H]},H]}],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",H,E]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ue]}],"font-family":[{font:[K]}],"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",$,ue]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",z,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":[w]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[w]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ee(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",z,E]}],"underline-offset":[{"underline-offset":["auto",z,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:f()}],"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":[w]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...De(),or]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","Ke","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",rr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},nr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[B]}],"gradient-via-pos":[{via:[B]}],"gradient-to-pos":[{to:[B]}],"gradient-from":[{from:[T]}],"gradient-via":[{via:[T]}],"gradient-to":[{to:[T]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-Ke":[{"border-Ke":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[w]}],"border-style":[{border:[...ee(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-Ke":[{"divide-Ke":[s]}],"divide-Ke-reverse":["divide-Ke-reverse"],"divide-opacity":[{"divide-opacity":[w]}],"divide-style":[{divide:ee()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-Ke":[{"border-Ke":[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:["",...ee()]}],"outline-offset":[{"outline-offset":[z,l]}],"outline-w":[{outline:[z,E]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Me()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[w]}],"ring-offset-w":[{"ring-offset":[z,E]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",H,sr]}],"shadow-color":[{shadow:[K]}],opacity:[{opacity:[w]}],"mix-blend":[{"mix-blend":[...ze(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ze()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",H,l]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[x]}],saturate:[{saturate:[G]}],sepia:[{sepia:[q]}],"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":[u]}],"backdrop-invert":[{"backdrop-invert":[x]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[G]}],"backdrop-sepia":[{"backdrop-sepia":[q]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-Ke":[{"border-spacing-Ke":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",l]}],duration:[{duration:M()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:M()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[U]}],"scale-x":[{"scale-x":[U]}],"scale-Ke":[{"scale-Ke":[U]}],rotate:[{rotate:[J,l]}],"translate-x":[{"translate-x":[Re]}],"translate-Ke":[{"translate-Ke":[Re]}],"skew-x":[{"skew-x":[Be]}],"skew-Ke":[{"skew-Ke":[Be]}],"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","w-resize","ne-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","Ke","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":f()}],"scroll-mx":[{"scroll-mx":f()}],"scroll-my":[{"scroll-my":f()}],"scroll-ms":[{"scroll-ms":f()}],"scroll-me":[{"scroll-me":f()}],"scroll-mt":[{"scroll-mt":f()}],"scroll-mr":[{"scroll-mr":f()}],"scroll-mb":[{"scroll-mb":f()}],"scroll-ml":[{"scroll-ml":f()}],"scroll-Ke":[{"scroll-Ke":f()}],"scroll-px":[{"scroll-px":f()}],"scroll-py":[{"scroll-py":f()}],"scroll-ps":[{"scroll-ps":f()}],"scroll-pe":[{"scroll-pe":f()}],"scroll-pt":[{"scroll-pt":f()}],"scroll-pr":[{"scroll-pr":f()}],"scroll-pb":[{"scroll-pb":f()}],"scroll-pl":[{"scroll-pl":f()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","Ke","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-Ke":[{"touch-pan":["Ke","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-w":[{stroke:[z,E,ue]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-Ke"],overscroll:["overscroll-x","overscroll-Ke"],inset:["inset-x","inset-Ke","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-Ke":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-Ke"],Ke:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-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-Ke"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-Ke":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-Ke":["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-Ke":["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-Ke","touch-pz"],"touch-x":["touch"],"touch-Ke":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var $e=_t(dr);function d(...e){return $e((0,Qe.clsx)(e))}var _e=require("@radix-ui/react-slot"),Ye=require("class-variance-authority"),Je=D(require("react")),Ke=require("react/jsx-runtime"),pr=(0,Ye.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),O=Je.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...n},o)=>(0,Ke.jsx)(e?_e.Slot:"button",{className:d(pr({className:t,size:r,variant:a})),ref:o,...n}));O.displayName="Button";var be=D(require("next/link")),V=e=>{let{type:t,appearance:r="inline",children:a,className:n,label:o,newTab:i,reference:s,size:c,url:m}=e,u=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(!u)return null;let x=r==="link"?"clear":c,v=i?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,Ke.jsxs)(be.default,{className:d(n),href:u||m||"",...v,children:[o&&o,a&&a]}):(0,Ke.jsx)(O,{asChild:!0,className:n,size:x,variant:r,children:(0,Ke.jsxs)(be.default,{className:d(n),href:u||m||"",...v,children:[o&&o,a&&a]})})};var rt=require("react");var We=D(require("next/image")),mr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Xe="data:image/png;base64,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",qe=e=>{let{alt:t,fill:r,imgClassName:a,priority:n,resource:o,size:i,src:s,loading:c}=e,m,u,x=t,v=s||"";if(!v&&o&&typeof o=="object"){let{alt:b,filename:h,height:w,url:P,width:G}=o;m=G,u=w,x=b||"",v=P||Xe}let T=c||"lazy",B=i||Object.entries(mr).map(([,b])=>`(max-width: ${b}px) ${b*2}w`).join(", ");return(0,Ke.jsx)("picture",{children:(0,Ke.jsx)(We.default,{alt:x||"",className:d(a),fill:r,height:r?void 0:u,placeholder:"blur",blurDataURL:Xe,priority:T!=="lazy"&&n,quality:100,loading:T,sizes:B,src:v,width:r?void 0:m})})};var Ze=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var et=()=>{if(Ze){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 tt=e=>{let{onClick:t,resource:r,videoClassName:a}=e,n=(0,rt.useRef)(null);if((0,rt.useEffect)(()=>{let{current:o}=n;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,Ke.jsx)("video",{autoPlay:!0,className:d(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:n,children:(0,Ke.jsx)("source",{src:`${et()}/media/${o}`})})}return null};var _=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,Ke.jsx)(r||rt.Fragment,{...r!==null?{className:t}:{},children:n?(0,Ke.jsx)(tt,{...e}):(0,Ke.jsx)(qe,{...e})})};var ot=({className:e,content:t,style:r})=>(0,Ke.jsx)("div",{className:d("mx-auto my-8 w-full",e),children:(0,Ke.jsx)("div",{className:d("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,Ke.jsx)(A,{content:t,enableGutter:!1,enableProse:!1})})});var at=({links:e,richText:t})=>(0,Ke.jsx)("div",{className:"container",children:(0,Ke.jsxs)("div",{className:"bg-card rounded border-border border Ke-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,Ke.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,Ke.jsx)(A,{className:"mb-0",content:t,enableGutter:!1})}),(0,Ke.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},a)=>(0,Ke.jsx)(V,{size:"lg",...r},a))})]})});var ne=require("prism-react-renderer");var nt=require("lucide-react");function it({code:e}){let[t,r]=(0,rt.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,Ke.jsx)("div",{className:"flex justify-end align-middle",children:(0,Ke.jsxs)(O,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,Ke.jsx)("Ke",{children:t}),(0,Ke.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,Ke.jsx)(nt.ClipboardCopy,{})})]})})}var lt=({code:e,language:t=""})=>e?(0,Ke.jsx)(ne.Highlight,{code:e,language:t,theme:ne.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:n})=>(0,Ke.jsxs)("pre",{className:"bg-black Ke-4 border text-xs border-border rounded overflow-x-auto",children:[n.map((o,i)=>(0,Ke.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,Ke.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,Ke.jsx)("span",{className:"table-cell pl-4",children:o.map((s,c)=>(0,Ke.jsx)("span",{...a({token:s})},c))})]},i)),(0,Ke.jsx)(it,{code:e})]})}):null;var ct=({className:e,code:t,language:r})=>(0,Ke.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Ke.jsx)(lt,{code:t,language:r})});var dt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,Ke.jsx)("div",{className:d("",{container:r},t),children:(0,Ke.jsx)(_,{imgClassName:d("rounded-[0.8rem]",a),resource:n,src:o})})};var pt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,Ke.jsx)("div",{className:d("",{container:r},t),children:(0,Ke.jsx)(_,{imgClassName:d("rounded-[0.8rem]",a),resource:n,src:o})})};var mt=({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,Ke.jsx)("i",{className:s})};var ft=(0,Ye.cva)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function ke({className:e,variant:t,...r}){return(0,Ke.jsx)("div",{className:d(ft({variant:t}),e),...r})}function ur(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function ht({variant:e="light",className:t,icon:r,heading:a,subheading:n,content:o,statistic:i,buttonText:s,buttonHref:c}){return(0,Ke.jsxs)("div",{className:d("rounded-3xl Ke-8 md:Ke-12 min-w-56",{solid:"bg-accent",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,Ke.jsxs)("div",{className:"flex items-center gap-4 mb-6",children:[r&&(0,Ke.jsx)("div",{className:d("rounded-full Ke-0",e==="light"?"text-[#A42368]":"text-white"),children:ur(r)?(0,Ke.jsx)(mt,{type:r.type,iconName:r.iconName,size:"2x"}):r}),(0,Ke.jsx)("div",{className:d("font-semibold",e==="solid"||e==="light"?"text-2xl":"text-4xl"),children:a})]}),e==="solid"&&i&&(0,Ke.jsx)("div",{className:"mb-6",children:(0,Ke.jsx)("div",{className:"text-4xl text-wrap font-bold leading-none overflow-hidden",children:i})}),n&&(0,Ke.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:n}),o&&typeof o=="object"&&(0,Ke.jsx)("div",{className:d("space-Ke-6",e==="light"?"text-gray-600":"text-gray-300"),children:(0,Ke.jsx)(A,{enableGutter:!1,content:o,enableProse:!1,className:d(e==="light"?"prose":"prose prose-headings:text-white prose-Ke:text-gray-300")})}),o&&typeof o=="string"&&(0,Ke.jsx)("div",{className:d("space-Ke-6",e==="light"?"text-gray-600":"text-gray-300"),children:o}),s&&(0,Ke.jsx)("div",{className:"mt-8",children:(0,Ke.jsx)(O,{size:"lg",className:"text-white text-lg rounded-xl",asChild:!0,children:(0,Ke.jsxs)("a",{href:c,children:[s,(0,Ke.jsx)("span",{className:"ml-2",children:"\u2193"})]})})}),e==="radial"&&(0,Ke.jsx)("div",{className:"absolute bottom-0 right-0 w-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})}var yt=({title:e,description:t,features:r,id:a})=>(0,Ke.jsxs)("section",{className:d("container w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,Ke.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl",id:a||"",children:e}),t&&typeof t=="string"&&(0,Ke.jsx)("Ke",{className:"mb-5 text-xl tracking-tight md:text-xl",children:t}),t&&typeof t=="object"&&(0,Ke.jsx)("Ke",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,Ke.jsx)(A,{content:t,enableGutter:!1})}),(0,Ke.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,u;if(((i=n.settings)==null?void 0:i.contents)==="icon")return(0,Ke.jsx)(gr,{section:n,index:o},o);{let x=()=>{if(n.icon.type!=="none")return{type:n.icon.type,iconName:n.icon.icon}};return(0,Ke.jsx)(ht,{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:((u=n.link)==null?void 0:u.url)||void 0},o)}})})]}),gr=({section:e,index:t})=>{if(!e)return null;let r=(0,Ke.jsxs)("div",{className:"flex flex-col gap-4",children:[e.icon&&(0,Ke.jsx)("div",{className:"text-accent h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,Ke.jsx)("i",{className:`${e.icon.type} fa-${e.icon.icon} fa-4x`})}),(0,Ke.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,Ke.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:e.content}}),e.content&&typeof e.content=="object"&&(0,Ke.jsx)("div",{className:"text-lg opacity-80",children:(0,Ke.jsx)(A,{content:e.content,enableGutter:!1})})]},t);return e.link?(0,Ke.jsx)("a",{href:e.link.url?e.link.url:"#",className:"no-underline group",children:r},t):r};var se=D(require("react"));function W({nodes:e}){return(0,Ke.jsx)(se.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,Ke.jsx)(se.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,Ke.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,Ke.jsx)("em",{children:o},r)),t.format&4&&(o=(0,Ke.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,Ke.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,Ke.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,Ke.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,Ke.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,Ke.jsx)("table",{children:(0,Ke.jsx)("tbody",{children:t.children.map((o,i)=>(0,Ke.jsx)("tr",{children:o.children.map((s,c)=>(0,Ke.jsx)("td",{children:W({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 W({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,Ke.jsx)(at,{...o},r);case"mediaBlock":return(0,Ke.jsx)(dt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,Ke.jsx)(pt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,Ke.jsx)(ot,{className:"col-start-2 mb-4",...o},r);case"code":return(0,Ke.jsx)(ct,{className:"col-start-2",...o},r);case"features":return(0,Ke.jsx)(yt,{...o},r);case"reusableContentBlock":W({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,Ke.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,Ke.jsx)("Ke",{className:"col-start-2",children:n},r);case"heading":{let o=t==null?void 0:t.tag;return(0,Ke.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,Ke.jsx)(o,{className:"list col-start-2",children:n},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,Ke.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,Ke.jsx)("li",{value:t==null?void 0:t.value,children:n},r);case"quote":return(0,Ke.jsx)("blockquote",{className:"col-start-2",children:n},r);case"link":{let o=t.fields;return(0,Ke.jsx)(V,{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,Ke.jsx)(V,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}default:return null}})})}var A=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>{var n;return t?(0,Ke.jsx)("div",{className:d({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&W({nodes:(n=t==null?void 0:t.root)==null?void 0:n.children})}):null};var Ce=({links:e,media:t,children:r,richText:a})=>(0,Ke.jsxs)("div",{className:"relative -mt-[10.4rem] flex items-end justify-center text-white","data-theme":"dark",children:[(0,Ke.jsx)("div",{className:"container mt-[20rem] mb-8 z-10 relative flex items-end justify-center",children:(0,Ke.jsxs)("div",{className:"text-center container",children:[r||a&&(0,Ke.jsx)(A,{className:"mb-6 prose prose-h1:text-2xl dark:prose-headings:text-white prose-headings:text-gray-900 dark:prose-Ke:text-white prose-Ke:text-gray-900",content:a,enableGutter:!0}),Array.isArray(e)&&e.length>0&&(0,Ke.jsx)("ul",{className:"flex justify-center gap-4",children:e.map(({link:n},o)=>(0,Ke.jsx)("li",{children:(0,Ke.jsx)(V,{...n})},o))})]})}),(0,Ke.jsxs)("div",{className:"min-h-96 select-none",children:[t&&typeof t=="object"&&(0,Ke.jsx)(_,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&(0,Ke.jsx)("div",{children:(0,Ke.jsx)(vt.default,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,Ke.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-white/0 to-white dark:from-background/0 dark:to-background"})]})]});var Ne=D(require("next/image"));var fr=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:r,height:a,url:n,width:o}=e;return(0,Ke.jsx)(Ne.default,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:n||"",width:o||0,height:a||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return(0,Ke.jsx)("div",{children:(0,Ke.jsx)(Ne.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},Ae=({links:e,media:t,children:r,richText:a})=>(0,Ke.jsxs)("div",{className:"relative bg-brand-one pb-12 mt-20 pt-10",children:[t&&(0,Ke.jsx)(fr,{media:t}),(0,Ke.jsx)("div",{className:"mx-0 min-w-full relative z-9",children:(0,Ke.jsx)("div",{className:"container text-brand-one-foreground",children:r||a&&(0,Ke.jsx)(A,{className:"prose-headings:text-brand-one-foreground prose-Ke:text-brand-one-foreground",content:a,enableProse:!0,enableGutter:!1})})})]});var Pe=({children:e,richText:t})=>(0,Ke.jsx)("div",{className:"min-w-full py-10 bg-muted mt-24",children:(0,Ke.jsx)("div",{className:"container",children:e||t&&(0,Ke.jsx)(A,{content:t,enableGutter:!1})})});var kt=D(require("react")),Ct=D(require("next/image"));var wt=e=>{let r=new Date;e&&(r=new Date(e));let a=r.getMonth(),n=r.getDate(),o=a+1<10?`0${a+1}`:a+1,i=n<10?`0${n}`:n,s=r.getFullYear();return`${i}/${o}/${s}`};var br=({post:e})=>{var i;let{categories:t,meta:r,populatedAuthors:a,publishedAt:n,title:o}=e;return(0,Ke.jsxs)("div",{className:"relative grid",children:[(0,Ke.jsx)("div",{className:"relative z-10 flex flex-col justify-end min-h-[50vh] text-foreground dark:text-foreground Ke-6 lg:Ke-12",children:(0,Ke.jsxs)("div",{className:"container mx-auto",children:[(0,Ke.jsx)("h1",{className:"mb-6 text-[clamp(2rem,1.5rem+1.5vw,3.5rem)] font-bold leading-tight ",children:o}),(0,Ke.jsxs)("div",{className:"flex flex-col gap-4 md:flex-row md:gap-16 ",children:[a&&a.length>0&&(0,Ke.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Ke.jsxs)("Ke",{className:"text-sm",children:["Author",a.length>1?"s":""]}),(0,Ke.jsx)("Ke",{children:a.map((s,c)=>(0,Ke.jsxs)(kt.default.Fragment,{children:[s.name,c<a.length-2&&", ",c===a.length-2&&(a.length>2?", and ":" and ")]},s.id))})]}),n&&(0,Ke.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Ke.jsx)("Ke",{className:"text-sm",children:"Date Published"}),(0,Ke.jsx)("time",{dateTime:n,children:wt(n)})]}),t&&t.length>0&&(0,Ke.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Ke.jsx)("Ke",{className:"text-sm font-medium",children:"Categories"}),(0,Ke.jsx)("div",{className:"flex flex-wrap gap-2",children:t.map((s,c)=>typeof s=="object"&&s!==null&&(0,Ke.jsx)(ke,{className:"px-3 py-1 mx-1",children:s.title||"Untitled category"},s.id||c))})]})]})]})}),(0,Ke.jsxs)("div",{className:"absolute inset-0 w-full h-full",children:[(0,Ke.jsx)(Ct.default,{className:"object-cover",alt:`Cover image for ${o}`,src:((i=r==null?void 0:r.image)==null?void 0:i.url)||"/assets/images/blog/gradient.png",fill:!0,priority:!0,sizes:"100vw"}),(0,Ke.jsx)("div",{className:"absolute pointer-events-none left-0 bottom-0 w-full h-1/2 bg-gradient-to-t from-background dark:from-black to-transparent"})]})]})};var le=require("@heroicons/react/20/solid");function Nt({children:e,isFluid:t=!1,isNoPadding:r=!1,className:a=""}){let n=d("container",t&&"full-width",r&&"no-padding",a);return(0,Ke.jsx)("div",{className:n,children:e})}var Pt=D(require("next/image"));function Se({title:e,breadcrumbItems:t,image:r}){return(0,Ke.jsxs)("section",{className:"-z-10 relative flex min-h-[250px] pt-auto items-end",children:[(0,Ke.jsx)("div",{className:"absolute inset-0 z-0",children:r&&(0,Ke.jsx)(Pt.default,{priority:!0,src:r.src,alt:`${process.env.NEXT_PUBLIC_SITE_NAME}`,layout:"fill",style:{objectFit:"cover"},sizes:"100vw",className:"pointer-events-none object-cover"})}),(0,Ke.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-background/0 to-background dark:from-background/0 dark:to-background"}),(0,Ke.jsx)(Nt,{children:(0,Ke.jsxs)("div",{className:"relative z-10 flex flex-wrap items-center justify-between gap-x-20 gap-Ke-8 text-accent-900 dark:text-white lg:pt-[40px] pb-5",children:[(0,Ke.jsx)("h1",{className:"font-secondary text-5xl font-bold lg:w-1/2",children:e}),t&&t.length>0&&(0,Ke.jsx)(Te,{breadcrumbItems:t})]})})]})}var hr={highImpact:Ce,lowImpact:Pe,mediumImpact:Ae,sectionHero:Se},yr=e=>{let{type:t}=e||{};if(!t||t==="none")return null;let r=hr[t];return r?(0,Ke.jsx)(r,{...e}):null};function Te({breadcrumbItems:e}){if(e&&e.length>0){let t=e.filter(r=>r.label.toLowerCase()!=="home");return(0,Ke.jsx)("nav",{"aria-label":"Breadcrumb",className:"flex",children:(0,Ke.jsxs)("ol",{role:"list",className:"flex items-center space-x-4",children:[(0,Ke.jsx)("li",{children:(0,Ke.jsx)("div",{children:(0,Ke.jsxs)("a",{href:"/",className:"text-foreground hover:text-accent",children:[(0,Ke.jsx)(le.HomeIcon,{"aria-hidden":"true",className:"size-5 shrink-0"}),(0,Ke.jsx)("span",{className:"sr-only",children:"Home"})]})})}),t.map((r,a)=>(0,Ke.jsx)("li",{children:(0,Ke.jsxs)("div",{className:"flex items-center",children:[(0,Ke.jsx)(le.ChevronRightIcon,{"aria-hidden":"true",className:"size-5 shrink-0 text-gray-400"}),r.href?(0,Ke.jsx)("a",{href:r.href,className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:r.label}):(0,Ke.jsx)("div",{className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:r.label})]})},a))]})})}return(0,Ke.jsx)(Ke.Fragment,{})}0&&(module.exports={Breadcrumbs,HighImpactHero,LowImpactHero,MediumImpactHero,PostHero,RenderHero,SectionHero});
|
|
4
|
+
"use strict";var Tt=Object.create;var te=Object.defineProperty;var Bt=Object.getOwnPropertyDescriptor;var It=Object.getOwnPropertyNames;var Rt=Object.getPrototypeOf,Mt=Object.prototype.hasOwnProperty;var Dt=(e,t)=>{for(var r in t)te(e,r,{get:t[r],enumerable:!0})},He=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of It(t))!Mt.call(e,n)&&n!==r&&te(e,n,{get:()=>t[n],enumerable:!(a=Bt(t,n))||a.enumerable});return e};var D=(e,t,r)=>(r=e!=null?Tt(Rt(e)):{},He(t||!e||!e.__esModule?te(r,"default",{value:e,enumerable:!0}):r,e)),zt=e=>He(te({},"__esModule",{value:!0}),e);var vr={};Dt(vr,{Breadcrumbs:()=>Be,HighImpactHero:()=>Ne,LowImpactHero:()=>Se,MediumImpactHero:()=>Pe,PostHero:()=>hr,RenderHero:()=>xr,SectionHero:()=>Te});module.exports=zt(vr);var wt=D(require("next/image"));var _e=require("clsx");var fe="-",Ft=e=>{let t=Ht(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:i=>{let s=i.split(fe);return s[0]===""&&s.length!==1&&s.shift(),Ue(s,t)||Et(i)},getConflictingClassGroupIds:(i,s)=>{let c=r[i]||[];return s&&a[i]?[...c,...a[i]]:c}}},Ue=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),n=a?Ue(e.slice(1),a):void 0;if(n)return n;if(t.validators.length===0)return;let o=e.join(fe);return(i=t.validators.find(({validator:s})=>s(o)))==null?void 0:i.classGroupId},Le=/^\[(.+)\]$/,Et=e=>{if(Le.test(e)){let t=Le.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Ht=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return Gt(Object.entries(e.classGroups),r).forEach(([o,i])=>{ge(i,a,o,t)}),a},ge=(e,t,r,a)=>{e.forEach(n=>{if(typeof n=="string"){let o=n===""?t:Ge(t,n);o.classGroupId=r;return}if(typeof n=="function"){if(Lt(n)){ge(n(a),t,r,a);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([o,i])=>{ge(i,Ge(t,o),r,a)})})},Ge=(e,t)=>{let r=e;return t.split(fe).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},Lt=e=>e.isThemeGetter,Gt=(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,Ut=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)}}},Oe="!",Ot=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,n=t[0],o=t.length,i=s=>{let c=[],m=0,u=0,w;for(let y=0;y<s.length;y++){let C=s[y];if(m===0){if(C===n&&(a||s.slice(y,y+o)===t)){c.push(s.slice(u,y)),u=y+o;continue}if(C==="/"){w=y;continue}}C==="["?m++:C==="]"&&m--}let k=c.length===0?s:s.substring(u),T=k.startsWith(Oe),B=T?k.substring(1):k,h=w&&w>u?w-u:void 0;return{modifiers:c,hasImportantModifier:T,baseClassName:B,maybePostfixModifierPosition:h}};return r?s=>r({className:s,parseClassName:i}):i},Vt=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},jt=e=>({cache:Ut(e.cacheSize),parseClassName:Ot(e),...Ft(e)}),$t=/\s+/,Qt=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:n}=t,o=[],i=e.trim().split($t),s="";for(let c=i.length-1;c>=0;c-=1){let m=i[c],{modifiers:u,hasImportantModifier:w,baseClassName:k,maybePostfixModifierPosition:T}=r(m),B=!!T,h=a(B?k.substring(0,T):k);if(!h){if(!B){s=m+(s.length>0?" "+s:s);continue}if(h=a(k),!h){s=m+(s.length>0?" "+s:s);continue}B=!1}let y=Vt(u).join(":"),C=w?y+Oe:y,P=C+h;if(o.includes(P))continue;o.push(P);let G=n(h,B);for(let U=0;U<G.length;++U){let q=G[U];o.push(C+q)}s=m+(s.length>0?" "+s:s)}return s};function _t(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Ve(t))&&(a&&(a+=" "),a+=r);return a}var Ve=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=Ve(e[a]))&&(r&&(r+=" "),r+=t);return r};function Yt(e,...t){let r,a,n,o=i;function i(c){let m=t.reduce((u,w)=>w(u),e());return r=jt(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 u=Qt(c,r);return n(c,u),u}return function(){return o(_t.apply(null,arguments))}}var g=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},je=/^\[(?:([a-z-]+):)?(.+)\]$/i,Jt=/^\d+\/\d+$/,Kt=new Set(["px","full","screen"]),Xt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Wt=/\d+(%|px|r?em|[sdl]?Xe([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,qt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Zt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,er=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,z=e=>$(e)||Kt.has(e)||Jt.test(e),E=e=>Q(e,"length",lr),$=e=>!!e&&!Number.isNaN(Number(e)),ue=e=>Q(e,"number",$),J=e=>!!e&&Number.isInteger(Number(e)),tr=e=>e.endsWith("%")&&$(e.slice(0,-1)),l=e=>je.test(e),H=e=>Xt.test(e),rr=new Set(["length","size","percentage"]),or=e=>Q(e,rr,$e),ar=e=>Q(e,"position",$e),nr=new Set(["image","url"]),sr=e=>Q(e,nr,dr),ir=e=>Q(e,"",cr),K=()=>!0,Q=(e,t,r)=>{let a=je.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},lr=e=>Wt.test(e)&&!qt.test(e),$e=()=>!1,cr=e=>Zt.test(e),dr=e=>er.test(e);var pr=()=>{let e=g("colors"),t=g("spacing"),r=g("blur"),a=g("brightness"),n=g("borderColor"),o=g("borderRadius"),i=g("borderSpacing"),s=g("borderWidth"),c=g("contrast"),m=g("grayscale"),u=g("hueRotate"),w=g("invert"),k=g("gap"),T=g("gradientColorStops"),B=g("gradientColorStopPositions"),h=g("inset"),y=g("margin"),C=g("opacity"),P=g("padding"),G=g("saturate"),U=g("scale"),q=g("sepia"),Ie=g("skew"),Re=g("space"),Me=g("translate"),ce=()=>["auto","contain","none"],de=()=>["auto","hidden","clip","visible","scroll"],pe=()=>["auto",l,t],b=()=>[l,t],De=()=>["",z,E],Z=()=>["auto",$,l],ze=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ee=()=>["solid","dashed","dotted","double","none"],Fe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],me=()=>["start","end","center","between","around","evenly","stretch"],Y=()=>["","0",l],Ee=()=>["auto","avoid","all","avoid-page","page","left","right","column"],M=()=>[$,l];return{cacheSize:500,separator:":",theme:{colors:[K],spacing:[z,E],blur:["none","",H,l],brightness:M(),borderColor:[e],borderRadius:["none","","full",H,l],borderSpacing:b(),borderWidth:De(),contrast:M(),grayscale:Y(),hueRotate:M(),invert:Y(),gap:b(),gradientColorStops:[e],gradientColorStopPositions:[tr,E],inset:pe(),margin:pe(),opacity:M(),padding:b(),saturate:M(),scale:M(),sepia:Y(),skew:M(),space:b(),translate:b()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[H]}],"break-after":[{"break-after":Ee()}],"break-before":[{"break-before":Ee()}],"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:[...ze(),l]}],overflow:[{overflow:de()}],"overflow-Xe":[{"overflow-Xe":de()}],"overflow-y":[{"overflow-y":de()}],overscroll:[{overscroll:ce()}],"overscroll-Xe":[{"overscroll-Xe":ce()}],"overscroll-y":[{"overscroll-y":ce()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[h]}],"inset-Xe":[{"inset-Xe":[h]}],"inset-y":[{"inset-y":[h]}],start:[{start:[h]}],end:[{end:[h]}],top:[{top:[h]}],right:[{right:[h]}],bottom:[{bottom:[h]}],left:[{left:[h]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",J,l]}],basis:[{basis:pe()}],"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:Y()}],shrink:[{shrink:Y()}],order:[{order:["first","last","none",J,l]}],"grid-cols":[{"grid-cols":[K]}],"col-start-end":[{col:["auto",{span:["full",J,l]},l]}],"col-start":[{"col-start":Z()}],"col-end":[{"col-end":Z()}],"grid-rows":[{"grid-rows":[K]}],"row-start-end":[{row:["auto",{span:[J,l]},l]}],"row-start":[{"row-start":Z()}],"row-end":[{"row-end":Z()}],"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:[k]}],"gap-Xe":[{"gap-Xe":[k]}],"gap-y":[{"gap-y":[k]}],"justify-content":[{justify:["normal",...me()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...me(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...me(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],Xe:[{Xe:[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:[y]}],mx:[{mx:[y]}],my:[{my:[y]}],ms:[{ms:[y]}],me:[{me:[y]}],mt:[{mt:[y]}],mr:[{mr:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-Xe":[{"space-Xe":[Re]}],"space-Xe-reverse":["space-Xe-reverse"],"space-y":[{"space-y":[Re]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",l,t]}],"min-w":[{"min-w":[l,t,"min","max","fit"]}],"max-w":[{"max-w":[l,t,"none","full","min","max","fit","prose",{screen:[H]},H]}],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",H,E]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ue]}],"font-family":[{font:[K]}],"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",$,ue]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",z,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:[...ee(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",z,E]}],"underline-offset":[{"underline-offset":["auto",z,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:b()}],"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:[...ze(),ar]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","Xe","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",or]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},sr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[B]}],"gradient-via-pos":[{via:[B]}],"gradient-to-pos":[{to:[B]}],"gradient-from":[{from:[T]}],"gradient-via":[{via:[T]}],"gradient-to":[{to:[T]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[s]}],"border-w-Xe":[{"border-Xe":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[C]}],"border-style":[{border:[...ee(),"hidden"]}],"divide-Xe":[{"divide-Xe":[s]}],"divide-Xe-reverse":["divide-Xe-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[C]}],"divide-style":[{divide:ee()}],"border-color":[{border:[n]}],"border-color-Xe":[{"border-Xe":[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:["",...ee()]}],"outline-offset":[{"outline-offset":[z,l]}],"outline-w":[{outline:[z,E]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:De()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[C]}],"ring-offset-w":[{"ring-offset":[z,E]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",H,ir]}],"shadow-color":[{shadow:[K]}],opacity:[{opacity:[C]}],"mix-blend":[{"mix-blend":[...Fe(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Fe()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",H,l]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[w]}],saturate:[{saturate:[G]}],sepia:[{sepia:[q]}],"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":[u]}],"backdrop-invert":[{"backdrop-invert":[w]}],"backdrop-opacity":[{"backdrop-opacity":[C]}],"backdrop-saturate":[{"backdrop-saturate":[G]}],"backdrop-sepia":[{"backdrop-sepia":[q]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-Xe":[{"border-spacing-Xe":[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:M()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:M()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[U]}],"scale-Xe":[{"scale-Xe":[U]}],"scale-y":[{"scale-y":[U]}],rotate:[{rotate:[J,l]}],"translate-Xe":[{"translate-Xe":[Me]}],"translate-y":[{"translate-y":[Me]}],"skew-Xe":[{"skew-Xe":[Ie]}],"skew-y":[{"skew-y":[Ie]}],"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","w-resize","ne-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","Xe",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":b()}],"scroll-mx":[{"scroll-mx":b()}],"scroll-my":[{"scroll-my":b()}],"scroll-ms":[{"scroll-ms":b()}],"scroll-me":[{"scroll-me":b()}],"scroll-mt":[{"scroll-mt":b()}],"scroll-mr":[{"scroll-mr":b()}],"scroll-mb":[{"scroll-mb":b()}],"scroll-ml":[{"scroll-ml":b()}],"scroll-Xe":[{"scroll-Xe":b()}],"scroll-px":[{"scroll-px":b()}],"scroll-py":[{"scroll-py":b()}],"scroll-ps":[{"scroll-ps":b()}],"scroll-pe":[{"scroll-pe":b()}],"scroll-pt":[{"scroll-pt":b()}],"scroll-pr":[{"scroll-pr":b()}],"scroll-pb":[{"scroll-pb":b()}],"scroll-pl":[{"scroll-pl":b()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","Xe","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-Xe":[{"touch-pan":["Xe","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",l]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[z,E,ue]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-Xe","overflow-y"],overscroll:["overscroll-Xe","overscroll-y"],inset:["inset-Xe","inset-y","start","end","top","right","bottom","left"],"inset-Xe":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-Xe","gap-y"],Xe:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-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-Xe","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-Xe":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-Xe":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-Xe":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-Xe","touch-y","touch-pz"],"touch-Xe":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Qe=Yt(pr);function d(...e){return Qe((0,_e.clsx)(e))}var Ye=require("@radix-ui/react-slot"),Je=require("class-variance-authority"),Ke=D(require("react")),Xe=require("react/jsx-runtime"),mr=(0,Je.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),O=Ke.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...n},o)=>(0,Xe.jsx)(e?Ye.Slot:"button",{className:d(mr({className:t,size:r,variant:a})),ref:o,...n}));O.displayName="Button";var be=D(require("next/link")),V=e=>{let{type:t,appearance:r="inline",children:a,className:n,label:o,newTab:i,reference:s,size:c,url:m}=e,u=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(!u)return null;let w=r==="link"?"clear":c,k=i?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,Xe.jsxs)(be.default,{className:d(n),href:u||m||"",...k,children:[o&&o,a&&a]}):(0,Xe.jsx)(O,{asChild:!0,className:n,size:w,variant:r,children:(0,Xe.jsxs)(be.default,{className:d(n),href:u||m||"",...k,children:[o&&o,a&&a]})})};var ot=require("react");var qe=D(require("next/image")),ur={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},We="data:image/png;base64,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",Ze=e=>{let{alt:t,fill:r,imgClassName:a,priority:n,resource:o,size:i,src:s,loading:c}=e,m,u,w=t,k=s||"";if(!k&&o&&typeof o=="object"){let{alt:h,filename:y,height:C,url:P,width:G}=o;m=G,u=C,w=h||"",k=P||We}let T=c||"lazy",B=i||Object.entries(ur).map(([,h])=>`(max-width: ${h}px) ${h*2}w`).join(", ");return(0,Xe.jsx)("picture",{children:(0,Xe.jsx)(qe.default,{alt:w||"",className:d(a),fill:r,height:r?void 0:u,placeholder:"blur",blurDataURL:We,priority:T!=="lazy"&&n,quality:100,loading:T,sizes:B,src:k,width:r?void 0:m})})};var et=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var tt=()=>{if(et){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 rt=e=>{let{onClick:t,resource:r,videoClassName:a}=e,n=(0,ot.useRef)(null);if((0,ot.useEffect)(()=>{let{current:o}=n;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,Xe.jsx)("video",{autoPlay:!0,className:d(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:n,children:(0,Xe.jsx)("source",{src:`${tt()}/media/${o}`})})}return null};var _=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,Xe.jsx)(r||ot.Fragment,{...r!==null?{className:t}:{},children:n?(0,Xe.jsx)(rt,{...e}):(0,Xe.jsx)(Ze,{...e})})};var at=({className:e,content:t,style:r})=>(0,Xe.jsx)("div",{className:d("mx-auto my-8 w-full",e),children:(0,Xe.jsx)("div",{className:d("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,Xe.jsx)(A,{content:t,enableGutter:!1,enableProse:!1})})});var nt=({links:e,richText:t})=>(0,Xe.jsx)("div",{className:"container",children:(0,Xe.jsxs)("div",{className:"bg-card rounded border-border border Xe-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,Xe.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,Xe.jsx)(A,{className:"mb-0",content:t,enableGutter:!1})}),(0,Xe.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},a)=>(0,Xe.jsx)(V,{size:"lg",...r},a))})]})});var ne=require("prism-react-renderer");var st=require("lucide-react");function lt({code:e}){let[t,r]=(0,ot.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,Xe.jsx)("div",{className:"flex justify-end align-middle",children:(0,Xe.jsxs)(O,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,Xe.jsx)("Xe",{children:t}),(0,Xe.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,Xe.jsx)(st.ClipboardCopy,{})})]})})}var ct=({code:e,language:t=""})=>e?(0,Xe.jsx)(ne.Highlight,{code:e,language:t,theme:ne.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:n})=>(0,Xe.jsxs)("pre",{className:"bg-black Xe-4 border text-xs border-border rounded overflow-Xe-auto",children:[n.map((o,i)=>(0,Xe.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,Xe.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,Xe.jsx)("span",{className:"table-cell pl-4",children:o.map((s,c)=>(0,Xe.jsx)("span",{...a({token:s})},c))})]},i)),(0,Xe.jsx)(lt,{code:e})]})}):null;var dt=({className:e,code:t,language:r})=>(0,Xe.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Xe.jsx)(ct,{code:t,language:r})});var pt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,Xe.jsx)("div",{className:d("",{container:r},t),children:(0,Xe.jsx)(_,{imgClassName:d("rounded-[0.8rem]",a),resource:n,src:o})})};var mt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,Xe.jsx)("div",{className:d("",{container:r},t),children:(0,Xe.jsx)(_,{imgClassName:d("rounded-[0.8rem]",a),resource:n,src:o})})};var ke=({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,Xe.jsx)("i",{className:s})};var ft=(0,Je.cva)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function Ce({className:e,variant:t,...r}){return(0,Xe.jsx)("div",{className:d(ft({variant:t}),e),...r})}function ht(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function yt({variant:e="outline",className:t,icon:r,heading:a,subheading:n,content:o,statistic:i,buttonText:s,buttonHref:c}){return(0,Xe.jsxs)("div",{className:d("rounded-3xl Xe-8 md:Xe-8 min-w-56",{solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden"}[e],e==="outline"?"text-gray-900":"text-white",t),children:[(0,Xe.jsx)("div",{className:"flex items-center gap-4 mb-6",children:(0,Xe.jsx)(gr,{icon:r,heading:a,variant:e})}),e==="solid"&&i&&(0,Xe.jsx)("div",{className:"mb-6",children:(0,Xe.jsx)("div",{className:"text-4xl text-wrap font-bold leading-none overflow-hidden",children:i})}),n&&(0,Xe.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:n}),o&&typeof o=="object"&&(0,Xe.jsx)("div",{className:d("space-y-6",e==="outline"?"text-gray-600":"text-gray-300"),children:(0,Xe.jsx)(A,{enableGutter:!1,content:o,enableProse:!1,className:d(e==="outline"?"prose":"prose prose-headings:text-white prose-Xe:text-gray-300")})}),o&&typeof o=="string"&&(0,Xe.jsx)("div",{className:d("space-y-6",e==="outline"?"text-gray-600":"text-gray-300"),children:o}),s&&(0,Xe.jsx)("div",{className:"mt-8",children:(0,Xe.jsx)(O,{size:"lg",className:"text-white text-lg rounded-xl w-full",asChild:!0,children:(0,Xe.jsx)("a",{href:c,children:s})})}),e==="radial"&&(0,Xe.jsx)("div",{className:"absolute bottom-0 right-0 w-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})}var gr=({icon:e,heading:t,variant:r})=>e&&t.length<30?(0,Xe.jsxs)("div",{className:"flex items-center gap-4 mb-6",children:[ht(e)&&(0,Xe.jsx)("div",{className:d("rounded-full Xe-0",r==="outline"?"text-accent":"text-foreground"),children:(0,Xe.jsx)(ke,{type:e.type,iconName:e.iconName,size:"2x"})}),(0,Xe.jsx)("div",{className:d("font-semibold",r==="outline"?"text-2xl text-primary":"text-3xl"),children:t})]}):e?(0,Xe.jsxs)("div",{className:"flex flex-col gap-4",children:[ht(e)&&(0,Xe.jsx)("div",{className:"text-accent h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,Xe.jsx)(ke,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,Xe.jsx)("h3",{className:d("font-semibold group-hover:text-accent transition-colors duration-400",r==="outline"?"text-2xl text-primary":"text-3xl"),children:t})]}):(0,Xe.jsx)("div",{className:"flex items-center gap-4 mb-6",children:(0,Xe.jsx)("div",{className:d("font-semibold",r==="outline"?"text-2xl text-primary":"text-3xl"),children:t})});var xt=({title:e,description:t,features:r,id:a})=>(0,Xe.jsxs)("section",{className:d("container w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,Xe.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl text-primary",id:a||"",children:e}),t&&typeof t=="string"&&(0,Xe.jsx)("Xe",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:t}),t&&typeof t=="object"&&(0,Xe.jsx)("Xe",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:(0,Xe.jsx)(A,{content:t,enableGutter:!1})}),(0,Xe.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((n,o)=>{var i,s,c,m,u;if(((i=n.settings)==null?void 0:i.card)==="default"||!((s=n.settings)!=null&&s.card))return(0,Xe.jsx)(fr,{section:n,index:o},o);{let w=()=>{if(n.icon&&"type"in n.icon&&n.icon.type!=="none")return{type:n.icon.type,iconName:n.icon.icon}};return(0,Xe.jsx)(yt,{variant:((c=n.settings)==null?void 0:c.card)||"outline",icon:w()||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:((u=n.link)==null?void 0:u.url)||void 0},o)}})})]}),fr=({section:e,index:t})=>{if(!e)return null;let r=(0,Xe.jsxs)("div",{className:"flex flex-col gap-4",children:[e.icon&&(0,Xe.jsx)("div",{className:"text-accent h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,Xe.jsx)("i",{className:`${e.icon.type} fa-${e.icon.icon} fa-4x`})}),(0,Xe.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:e.title}),e.statistic&&(0,Xe.jsx)("div",{className:"mb-6",children:(0,Xe.jsx)("div",{className:"text-4xl text-wrap font-bold leading-none overflow-hidden text-foreground",children:e.statistic})}),e.content&&typeof e.content!="object"&&(0,Xe.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:e.content}}),e.content&&typeof e.content=="object"&&(0,Xe.jsx)("div",{className:"text-lg opacity-80",children:(0,Xe.jsx)(A,{content:e.content,enableGutter:!1})})]},t);return e.link?(0,Xe.jsx)("a",{href:e.link.url?e.link.url:"#",className:"no-underline group",children:r},t):r};var se=D(require("react"));function W({nodes:e}){return(0,Xe.jsx)(se.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,Xe.jsx)(se.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,Xe.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,Xe.jsx)("em",{children:o},r)),t.format&4&&(o=(0,Xe.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,Xe.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,Xe.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,Xe.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,Xe.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,Xe.jsx)("table",{children:(0,Xe.jsx)("tbody",{children:t.children.map((o,i)=>(0,Xe.jsx)("tr",{children:o.children.map((s,c)=>(0,Xe.jsx)("td",{children:W({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 W({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,Xe.jsx)(nt,{...o},r);case"mediaBlock":return(0,Xe.jsx)(pt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,Xe.jsx)(mt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,Xe.jsx)(at,{className:"col-start-2 mb-4",...o},r);case"code":return(0,Xe.jsx)(dt,{className:"col-start-2",...o},r);case"features":return(0,Xe.jsx)(xt,{...o},r);case"reusableContentBlock":W({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,Xe.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,Xe.jsx)("Xe",{className:"col-start-2",children:n},r);case"heading":{let o=t==null?void 0:t.tag;return(0,Xe.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:n},r)}case"list":{let o=t==null?void 0:t.tag;return(0,Xe.jsx)(o,{className:"list col-start-2",children:n},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,Xe.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:n},r):(0,Xe.jsx)("li",{value:t==null?void 0:t.value,children:n},r);case"quote":return(0,Xe.jsx)("blockquote",{className:"col-start-2",children:n},r);case"link":{let o=t.fields;return(0,Xe.jsx)(V,{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,Xe.jsx)(V,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}default:return null}})})}var A=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>{var n;return t?(0,Xe.jsx)("div",{className:d({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&W({nodes:(n=t==null?void 0:t.root)==null?void 0:n.children})}):null};var Ne=({links:e,media:t,children:r,richText:a})=>(0,Xe.jsxs)("div",{className:"relative -mt-[10.4rem] flex items-end justify-center text-white","data-theme":"dark",children:[(0,Xe.jsx)("div",{className:"container mt-[20rem] mb-8 z-10 relative flex items-end justify-center",children:(0,Xe.jsxs)("div",{className:"text-center container",children:[r||a&&(0,Xe.jsx)(A,{className:"mb-6 prose prose-h1:text-5xl prose-headings:text-foreground prose-Xe:text-foreground",content:a,enableGutter:!0}),Array.isArray(e)&&e.length>0&&(0,Xe.jsx)("ul",{className:"flex justify-center gap-4",children:e.map(({link:n},o)=>(0,Xe.jsx)("li",{children:(0,Xe.jsx)(V,{...n})},o))})]})}),(0,Xe.jsxs)("div",{className:"min-h-96 select-none",children:[t&&typeof t=="object"&&(0,Xe.jsx)(_,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&(0,Xe.jsx)("div",{children:(0,Xe.jsx)(wt.default,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,Xe.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-white/0 to-white dark:from-background/0 dark:to-background"})]})]});var Ae=D(require("next/image"));var br=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:r,height:a,url:n,width:o}=e;return(0,Xe.jsx)(Ae.default,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:n||"",width:o||0,height:a||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return(0,Xe.jsx)("div",{children:(0,Xe.jsx)(Ae.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},Pe=({links:e,media:t,children:r,richText:a})=>(0,Xe.jsxs)("div",{className:"relative bg-brand-one pb-12 mt-20 pt-10",children:[t&&(0,Xe.jsx)(br,{media:t}),(0,Xe.jsx)("div",{className:"mx-0 min-w-full relative z-9",children:(0,Xe.jsx)("div",{className:"container text-brand-one-foreground",children:r||a&&(0,Xe.jsx)(A,{className:"prose-headings:text-brand-one-foreground prose-Xe:text-brand-one-foreground",content:a,enableProse:!0,enableGutter:!1})})})]});var Se=({children:e,richText:t})=>(0,Xe.jsx)("div",{className:"min-w-full py-10 bg-muted mt-24",children:(0,Xe.jsx)("div",{className:"container",children:e||t&&(0,Xe.jsx)(A,{content:t,enableGutter:!1})})});var Ct=D(require("react")),Nt=D(require("next/image"));var kt=e=>{let r=new Date;e&&(r=new Date(e));let a=r.getMonth(),n=r.getDate(),o=a+1<10?`0${a+1}`:a+1,i=n<10?`0${n}`:n,s=r.getFullYear();return`${i}/${o}/${s}`};var hr=({post:e})=>{var i;let{categories:t,meta:r,populatedAuthors:a,publishedAt:n,title:o}=e;return(0,Xe.jsxs)("div",{className:"relative grid",children:[(0,Xe.jsx)("div",{className:"relative z-10 flex flex-col justify-end min-h-[50vh] text-foreground dark:text-foreground Xe-6 lg:Xe-12",children:(0,Xe.jsxs)("div",{className:"container mx-auto",children:[(0,Xe.jsx)("h1",{className:"mb-6 text-[clamp(2rem,1.5rem+1.5vw,3.5rem)] font-bold leading-tight ",children:o}),(0,Xe.jsxs)("div",{className:"flex flex-col gap-4 md:flex-row md:gap-16 ",children:[a&&a.length>0&&(0,Xe.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Xe.jsxs)("Xe",{className:"text-sm",children:["Author",a.length>1?"s":""]}),(0,Xe.jsx)("Xe",{children:a.map((s,c)=>(0,Xe.jsxs)(Ct.default.Fragment,{children:[s.name,c<a.length-2&&", ",c===a.length-2&&(a.length>2?", and ":" and ")]},s.id))})]}),n&&(0,Xe.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Xe.jsx)("Xe",{className:"text-sm",children:"Date Published"}),(0,Xe.jsx)("time",{dateTime:n,children:kt(n)})]}),t&&t.length>0&&(0,Xe.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Xe.jsx)("Xe",{className:"text-sm font-medium",children:"Categories"}),(0,Xe.jsx)("div",{className:"flex flex-wrap gap-2",children:t.map((s,c)=>typeof s=="object"&&s!==null&&(0,Xe.jsx)(Ce,{className:"px-3 py-1 mx-1",children:s.title||"Untitled category"},s.id||c))})]})]})]})}),(0,Xe.jsxs)("div",{className:"absolute inset-0 w-full h-full",children:[(0,Xe.jsx)(Nt.default,{className:"object-cover",alt:`Cover image for ${o}`,src:((i=r==null?void 0:r.image)==null?void 0:i.url)||"/assets/images/blog/gradient.png",fill:!0,priority:!0,sizes:"100vw"}),(0,Xe.jsx)("div",{className:"absolute pointer-events-none left-0 bottom-0 w-full h-1/2 bg-gradient-to-t from-background dark:from-black to-transparent"})]})]})};var le=require("@heroicons/react/20/solid");function At({children:e,isFluid:t=!1,isNoPadding:r=!1,className:a=""}){let n=d("container",t&&"full-width",r&&"no-padding",a);return(0,Xe.jsx)("div",{className:n,children:e})}var St=D(require("next/image"));function Te({title:e,breadcrumbItems:t,image:r}){return(0,Xe.jsxs)("section",{className:"-z-10 relative flex min-h-[250px] pt-auto items-end",children:[(0,Xe.jsx)("div",{className:"absolute inset-0 z-0",children:r&&(0,Xe.jsx)(St.default,{priority:!0,src:r.src,alt:`${process.env.NEXT_PUBLIC_SITE_NAME}`,layout:"fill",style:{objectFit:"cover"},sizes:"100vw",className:"pointer-events-none object-cover"})}),(0,Xe.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-background/0 to-background dark:from-background/0 dark:to-background"}),(0,Xe.jsx)(At,{children:(0,Xe.jsxs)("div",{className:"relative z-10 flex flex-wrap items-center justify-between gap-Xe-20 gap-y-8 text-accent-900 dark:text-white lg:pt-[40px] pb-5",children:[(0,Xe.jsx)("h1",{className:"font-secondary text-5xl font-bold lg:w-1/2",children:e}),t&&t.length>0&&(0,Xe.jsx)(Be,{breadcrumbItems:t})]})})]})}var yr={highImpact:Ne,lowImpact:Se,mediumImpact:Pe,sectionHero:Te},xr=e=>{let{type:t}=e||{};if(!t||t==="none")return null;let r=yr[t];return r?(0,Xe.jsx)(r,{...e}):null};function Be({breadcrumbItems:e}){if(e&&e.length>0){let t=e.filter(r=>r.label.toLowerCase()!=="home");return(0,Xe.jsx)("nav",{"aria-label":"Breadcrumb",className:"flex",children:(0,Xe.jsxs)("ol",{role:"list",className:"flex items-center space-Xe-4",children:[(0,Xe.jsx)("li",{children:(0,Xe.jsx)("div",{children:(0,Xe.jsxs)("a",{href:"/",className:"text-foreground hover:text-accent",children:[(0,Xe.jsx)(le.HomeIcon,{"aria-hidden":"true",className:"size-5 shrink-0"}),(0,Xe.jsx)("span",{className:"sr-only",children:"Home"})]})})}),t.map((r,a)=>(0,Xe.jsx)("li",{children:(0,Xe.jsxs)("div",{className:"flex items-center",children:[(0,Xe.jsx)(le.ChevronRightIcon,{"aria-hidden":"true",className:"size-5 shrink-0 text-gray-400"}),r.href?(0,Xe.jsx)("a",{href:r.href,className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:r.label}):(0,Xe.jsx)("div",{className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:r.label})]})},a))]})})}return(0,Xe.jsx)(Xe.Fragment,{})}0&&(module.exports={Breadcrumbs,HighImpactHero,LowImpactHero,MediumImpactHero,PostHero,RenderHero,SectionHero});
|