cortex-react-components 1.58.22 → 1.59.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-H5ZJ5FZ6.mjs → chunk-26FHIJPI.mjs} +1 -1
- package/dist/{chunk-I2PJ5ANT.mjs → chunk-3TNHR4R3.mjs} +1 -1
- package/dist/{chunk-QID6JIRX.mjs → chunk-63JLGEG4.mjs} +1 -1
- package/dist/{chunk-46OVI6RB.mjs → chunk-6ARDJ33C.mjs} +1 -1
- package/dist/{chunk-6DHYRATS.mjs → chunk-6LPSD3MQ.mjs} +1 -1
- package/dist/{chunk-XP6N7473.mjs → chunk-6SQK6BMG.mjs} +1 -1
- package/dist/{chunk-QBLN27FA.mjs → chunk-75OAUMGO.mjs} +1 -1
- package/dist/{chunk-2DGZ2JZ5.mjs → chunk-BTY3MRVI.mjs} +1 -1
- package/dist/{chunk-AX52NWUN.mjs → chunk-C2GNS62O.mjs} +1 -1
- package/dist/{chunk-MGBLZM7Q.mjs → chunk-C3TKY5VE.mjs} +1 -1
- package/dist/{chunk-QSBB2P4N.mjs → chunk-CHA4NVM5.mjs} +1 -1
- package/dist/{chunk-OJPHYSRN.mjs → chunk-DP5TBNAW.mjs} +1 -1
- package/dist/chunk-FPQBVIUS.mjs +4 -0
- package/dist/{chunk-ZQGSLXFF.mjs → chunk-GM53J62R.mjs} +1 -1
- package/dist/{chunk-D44ZXHH4.mjs → chunk-GUKEDBIY.mjs} +1 -1
- package/dist/{chunk-FGNLLSPZ.mjs → chunk-HJXEIYVK.mjs} +1 -1
- package/dist/{chunk-FPJFWQB5.mjs → chunk-HPMQRCDC.mjs} +1 -1
- package/dist/{chunk-IGYTQN3S.mjs → chunk-IABQ3JMG.mjs} +1 -1
- package/dist/{chunk-G2BJSFF4.mjs → chunk-IAP7Y2DK.mjs} +1 -1
- package/dist/{chunk-XXTN5HMN.mjs → chunk-J2IXHXCA.mjs} +1 -1
- package/dist/{chunk-UIBWSN7F.mjs → chunk-JVM2ZAN6.mjs} +1 -1
- package/dist/{chunk-F4JKB4UG.mjs → chunk-JZE6HGP6.mjs} +1 -1
- package/dist/{chunk-477T4CBB.mjs → chunk-K7XFS6IQ.mjs} +1 -1
- package/dist/{chunk-HER7J6HM.mjs → chunk-KEPEJWQO.mjs} +1 -1
- package/dist/{chunk-QNE2DK3R.mjs → chunk-MFTCHZFC.mjs} +1 -1
- package/dist/{chunk-QTO5C7WM.mjs → chunk-MTTKHEZZ.mjs} +1 -1
- package/dist/{chunk-6YWAX7NS.mjs → chunk-NHTPGUMT.mjs} +1 -1
- package/dist/chunk-ONTIR6Z3.mjs +1 -0
- package/dist/{chunk-BBCS6735.mjs → chunk-Q32SRZ5X.mjs} +1 -1
- package/dist/{chunk-MTIC2X6C.mjs → chunk-RYY3W5VY.mjs} +1 -1
- package/dist/{chunk-JPFBD2KD.mjs → chunk-SQWRG4U3.mjs} +1 -1
- package/dist/{chunk-7WDAODFS.mjs → chunk-SUIR2RAA.mjs} +1 -1
- package/dist/{chunk-S3KRL344.mjs → chunk-UFDQJZAB.mjs} +1 -1
- package/dist/{chunk-RJGKFNZL.mjs → chunk-UKJ3TIPX.mjs} +1 -1
- package/dist/{chunk-G3J6AOMR.mjs → chunk-VZ5LM33N.mjs} +1 -1
- package/dist/{chunk-X5XG7LVM.mjs → chunk-WDVSSHIB.mjs} +1 -1
- package/dist/{chunk-7XB4Y3U2.mjs → chunk-XGNF75KY.mjs} +1 -1
- package/dist/{chunk-SPAW5K3E.mjs → chunk-Y74ENEUN.mjs} +1 -1
- package/dist/{chunk-PJSCXNH4.mjs → chunk-ZSUPFOXY.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/CollapsibleArea.js +1 -1
- package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
- package/dist/components/Blocks/CollapsibleArea.stories.js +1 -1
- package/dist/components/Blocks/CollapsibleArea.stories.mjs +1 -1
- package/dist/components/Blocks/Content.js +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/Content.stories.js +1 -1
- package/dist/components/Blocks/Content.stories.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/ImageBlock.js +1 -1
- package/dist/components/Blocks/ImageBlock.mjs +1 -1
- package/dist/components/Blocks/MediaBlock.js +1 -1
- package/dist/components/Blocks/MediaBlock.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/CRM/DealDetails.mjs +1 -1
- package/dist/components/CRM/DealDetails.stories.mjs +1 -1
- package/dist/components/CRM/KanbanBoard.mjs +1 -1
- package/dist/components/CRM/KanbanBoard.stories.mjs +1 -1
- package/dist/components/CRM/KanbanColumn.mjs +1 -1
- package/dist/components/CRM/KanbanColumn.stories.mjs +1 -1
- package/dist/components/CRM/index.mjs +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/FeatureCard.js +1 -1
- package/dist/components/Cards/FeatureCard.mjs +1 -1
- package/dist/components/Cards/FeatureCard.stories.js +1 -1
- package/dist/components/Cards/FeatureCard.stories.mjs +1 -1
- package/dist/components/Cards/index.js +4 -4
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/HeaderFooter/SectionHeading.js +1 -1
- package/dist/components/HeaderFooter/SectionHeading.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/index.js +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Holidays/ApproveLeave.mjs +1 -1
- package/dist/components/Holidays/ApproveLeave.stories.mjs +1 -1
- package/dist/components/Holidays/HolidayGrid.mjs +1 -1
- package/dist/components/Holidays/HolidayGrid.stories.mjs +1 -1
- package/dist/components/Holidays/HolidayTracker.mjs +1 -1
- package/dist/components/Holidays/HolidayTracker.stories.mjs +1 -1
- package/dist/components/Holidays/index.mjs +1 -1
- package/dist/components/Layouts/FeatureGrid.stories.js +1 -1
- package/dist/components/Layouts/FeatureGrid.stories.mjs +1 -1
- package/dist/components/Layouts/OutputHeaderFooter.js +2 -2
- package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
- package/dist/components/Layouts/Print.js +2 -2
- package/dist/components/Layouts/Print.mjs +1 -1
- package/dist/components/Layouts/Print.stories.js +1 -1
- package/dist/components/Layouts/Print.stories.mjs +1 -1
- package/dist/components/Layouts/SlideShow.js +3 -3
- package/dist/components/Layouts/SlideShow.mjs +1 -1
- package/dist/components/Layouts/SlideShow.stories.js +3 -3
- package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
- package/dist/components/Layouts/index.js +4 -4
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/Payload/Card/index.js +1 -1
- package/dist/components/Payload/Card/index.mjs +1 -1
- package/dist/components/Payload/CollectionArchive/index.js +1 -1
- package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
- package/dist/components/Payload/Media/VideoMedia/index.js +1 -1
- package/dist/components/Payload/Media/VideoMedia/index.mjs +1 -1
- package/dist/components/Payload/Media/index.js +1 -1
- package/dist/components/Payload/Media/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 +7 -7
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/index.js +9 -9
- 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/IndexPage.mjs +1 -1
- package/dist/pages/IndexPage.stories.mjs +1 -1
- package/dist/pages/LandingPage.js +3 -3
- package/dist/pages/LandingPage.mjs +1 -1
- package/dist/pages/LandingPage.stories.js +2 -2
- 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 +177 -177
- package/dist/pages/Page.stories.mjs +1 -1
- package/dist/pages/Printable.stories.js +4 -4
- package/dist/pages/Printable.stories.mjs +1 -1
- package/dist/pages/Publish.js +4 -4
- package/dist/pages/Publish.mjs +1 -1
- package/dist/pages/Publish.stories.js +4 -4
- 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 +1 -1
- package/dist/pages/Website.stories.mjs +1 -1
- 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/BlogList.js +3 -3
- package/dist/sections/BlogList.mjs +1 -1
- package/dist/sections/BlogList.stories.js +3 -3
- package/dist/sections/BlogList.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/MainPageSection.mjs +1 -1
- package/dist/sections/PageSections.js +2 -2
- package/dist/sections/PageSections.mjs +1 -1
- package/dist/sections/PageSections.stories.js +2 -2
- package/dist/sections/PageSections.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/ServiceDetail.js +1 -1
- package/dist/sections/ServiceDetail.mjs +1 -1
- package/dist/sections/ServiceDetailSection.js +1 -1
- package/dist/sections/ServiceDetailSection.mjs +1 -1
- package/dist/sections/ServiceDetailSection.stories.js +1 -1
- package/dist/sections/ServiceDetailSection.stories.mjs +1 -1
- package/dist/sections/ServiceSection.js +1 -1
- package/dist/sections/ServiceSection.mjs +1 -1
- package/dist/sections/ServiceSection.stories.js +1 -1
- package/dist/sections/ServiceSection.stories.mjs +1 -1
- package/dist/sections/index.js +3 -3
- package/dist/sections/index.mjs +1 -1
- package/dist/utils/getURL.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-44TDI42O.mjs +0 -1
- package/dist/chunk-IREQMG2S.mjs +0 -1
- package/dist/chunk-TFWGOEV7.mjs +0 -4
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
'use server'
|
|
4
4
|
|
|
5
|
-
"use strict";var Qt=Object.create;var pe=Object.defineProperty;var qt=Object.getOwnPropertyDescriptor;var Jt=Object.getOwnPropertyNames;var Kt=Object.getPrototypeOf,Xt=Object.prototype.hasOwnProperty;var Wt=(e,t)=>{for(var o in t)pe(e,o,{get:t[o],enumerable:!0})},We=(e,t,o,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of Jt(t))!Xt.call(e,s)&&s!==o&&pe(e,s,{get:()=>t[s],enumerable:!(a=qt(t,s))||a.enumerable});return e};var E=(e,t,o)=>(o=e!=null?Qt(Kt(e)):{},We(t||!e||!e.__esModule?pe(o,"default",{value:e,enumerable:!0}):o,e)),Zt=e=>We(pe({},"__esModule",{value:!0}),e);var Yo={};Wt(Yo,{CMSLink:()=>W,Card:()=>Me,CollectionArchive:()=>Eo,Logo:()=>Fo,Media:()=>V,PageRange:()=>Do,PayloadPagination:()=>Go,RichText:()=>G});module.exports=Zt(Yo);var it=require("clsx");var Re="-",eo=e=>{let t=oo(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:n=>{let i=n.split(Re);return i[0]===""&&i.length!==1&&i.shift(),tt(i,t)||to(n)},getConflictingClassGroupIds:(n,i)=>{let c=o[n]||[];return i&&a[n]?[...c,...a[n]]:c}}},tt=(e,t)=>{var n;if(e.length===0)return t.classGroupId;let o=e[0],a=t.nextPart.get(o),s=a?tt(e.slice(1),a):void 0;if(s)return s;if(t.validators.length===0)return;let r=e.join(Re);return(n=t.validators.find(({validator:i})=>i(r)))==null?void 0:n.classGroupId},Ze=/^\[(.+)\]$/,to=e=>{if(Ze.test(e)){let t=Ze.exec(e)[1],o=t==null?void 0:t.substring(0,t.indexOf(":"));if(o)return"arbitrary.."+o}},oo=e=>{let{theme:t,prefix:o}=e,a={nextPart:new Map,validators:[]};return ao(Object.entries(e.classGroups),o).forEach(([r,n])=>{Te(n,a,r,t)}),a},Te=(e,t,o,a)=>{e.forEach(s=>{if(typeof s=="string"){let r=s===""?t:et(t,s);r.classGroupId=o;return}if(typeof s=="function"){if(ro(s)){Te(s(a),t,o,a);return}t.validators.push({validator:s,classGroupId:o});return}Object.entries(s).forEach(([r,n])=>{Te(n,et(t,r),o,a)})})},et=(e,t)=>{let o=e;return t.split(Re).forEach(a=>{o.nextPart.has(a)||o.nextPart.set(a,{nextPart:new Map,validators:[]}),o=o.nextPart.get(a)}),o},ro=e=>e.isThemeGetter,ao=(e,t)=>t?e.map(([o,a])=>{let s=a.map(r=>typeof r=="string"?t+r:typeof r=="object"?Object.fromEntries(Object.entries(r).map(([n,i])=>[t+n,i])):r);return[o,s]}):e,no=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,o=new Map,a=new Map,s=(r,n)=>{o.set(r,n),t++,t>e&&(t=0,a=o,o=new Map)};return{get(r){let n=o.get(r);if(n!==void 0)return n;if((n=a.get(r))!==void 0)return s(r,n),n},set(r,n){o.has(r)?o.set(r,n):s(r,n)}}},ot="!",so=e=>{let{separator:t,experimentalParseClassName:o}=e,a=t.length===1,s=t[0],r=t.length,n=i=>{let c=[],p=0,g=0,m;for(let y=0;y<i.length;y++){let v=i[y];if(p===0){if(v===s&&(a||i.slice(y,y+r)===t)){c.push(i.slice(g,y)),g=y+r;continue}if(v==="/"){m=y;continue}}v==="["?p++:v==="]"&&p--}let u=c.length===0?i:i.substring(g),k=u.startsWith(ot),P=k?u.substring(1):u,b=m&&m>g?m-g:void 0;return{modifiers:c,hasImportantModifier:k,baseClassName:P,maybePostfixModifierPosition:b}};return o?i=>o({className:i,parseClassName:n}):n},io=e=>{if(e.length<=1)return e;let t=[],o=[];return e.forEach(a=>{a[0]==="["?(t.push(...o.sort(),a),o=[]):o.push(a)}),t.push(...o.sort()),t},lo=e=>({cache:no(e.cacheSize),parseClassName:so(e),...eo(e)}),co=/\s+/,po=(e,t)=>{let{parseClassName:o,getClassGroupId:a,getConflictingClassGroupIds:s}=t,r=[],n=e.trim().split(co),i="";for(let c=n.length-1;c>=0;c-=1){let p=n[c],{modifiers:g,hasImportantModifier:m,baseClassName:u,maybePostfixModifierPosition:k}=o(p),P=!!k,b=a(P?u.substring(0,k):u);if(!b){if(!P){i=p+(i.length>0?" "+i:i);continue}if(b=a(u),!b){i=p+(i.length>0?" "+i:i);continue}P=!1}let y=io(g).join(":"),v=m?y+ot:y,A=v+b;if(r.includes(A))continue;r.push(A);let S=s(b,P);for(let I=0;I<S.length;++I){let q=S[I];r.push(v+q)}i=p+(i.length>0?" "+i:i)}return i};function mo(){let e=0,t,o,a="";for(;e<arguments.length;)(t=arguments[e++])&&(o=rt(t))&&(a&&(a+=" "),a+=o);return a}var rt=e=>{if(typeof e=="string")return e;let t,o="";for(let a=0;a<e.length;a++)e[a]&&(t=rt(e[a]))&&(o&&(o+=" "),o+=t);return o};function uo(e,...t){let o,a,s,r=n;function n(c){let p=t.reduce((g,m)=>m(g),e());return o=lo(p),a=o.cache.get,s=o.cache.set,r=i,i(c)}function i(c){let p=a(c);if(p)return p;let g=po(c,o);return s(c,g),g}return function(){return r(mo.apply(null,arguments))}}var h=e=>{let t=o=>o[e]||[];return t.isThemeGetter=!0,t},at=/^\[(?:([a-z-]+):)?(.+)\]$/i,go=/^\d+\/\d+$/,fo=new Set(["px","full","screen"]),bo=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,yo=/\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$/,ho=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,xo=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,vo=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,U=e=>J(e)||fo.has(e)||go.test(e),H=e=>K(e,"length",Ro),J=e=>!!e&&!Number.isNaN(Number(e)),Ae=e=>K(e,"number",J),re=e=>!!e&&Number.isInteger(Number(e)),wo=e=>e.endsWith("%")&&J(e.slice(0,-1)),d=e=>at.test(e),O=e=>bo.test(e),Co=new Set(["length","size","percentage"]),ko=e=>K(e,Co,nt),No=e=>K(e,"position",nt),Po=new Set(["image","url"]),Ao=e=>K(e,Po,Io),To=e=>K(e,"",Bo),ae=()=>!0,K=(e,t,o)=>{let a=at.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):o(a[2]):!1},Ro=e=>yo.test(e)&&!ho.test(e),nt=()=>!1,Bo=e=>xo.test(e),Io=e=>vo.test(e);var So=()=>{let e=h("colors"),t=h("spacing"),o=h("blur"),a=h("brightness"),s=h("borderColor"),r=h("borderRadius"),n=h("borderSpacing"),i=h("borderWidth"),c=h("contrast"),p=h("grayscale"),g=h("hueRotate"),m=h("invert"),u=h("gap"),k=h("gradientColorStops"),P=h("gradientColorStopPositions"),b=h("inset"),y=h("margin"),v=h("opacity"),A=h("padding"),S=h("saturate"),I=h("scale"),q=h("sepia"),ie=h("skew"),Ye=h("space"),Qe=h("translate"),Ce=()=>["auto","contain","none"],ke=()=>["auto","hidden","clip","visible","scroll"],Ne=()=>["auto",d,t],w=()=>[d,t],qe=()=>["",U,H],le=()=>["auto",J,d],Je=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ce=()=>["solid","dashed","dotted","double","none"],Ke=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Pe=()=>["start","end","center","between","around","evenly","stretch"],oe=()=>["","0",d],Xe=()=>["auto","avoid","all","avoid-page","page","left","right","column"],z=()=>[J,d];return{cacheSize:500,separator:":",theme:{colors:[ae],spacing:[U,H],blur:["none","",O,d],brightness:z(),borderColor:[e],borderRadius:["none","","full",O,d],borderSpacing:w(),borderWidth:qe(),contrast:z(),grayscale:oe(),hueRotate:z(),invert:oe(),gap:w(),gradientColorStops:[e],gradientColorStopPositions:[wo,H],inset:Ne(),margin:Ne(),opacity:z(),padding:w(),saturate:z(),scale:z(),sepia:oe(),skew:z(),space:w(),translate:w()},classGroups:{aspect:[{aspect:["auto","square","video",d]}],container:["container"],columns:[{columns:[O]}],"break-after":[{"break-after":Xe()}],"break-before":[{"break-before":Xe()}],"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:[...Je(),d]}],overflow:[{overflow:ke()}],"overflow-Be":[{"overflow-Be":ke()}],"overflow-y":[{"overflow-y":ke()}],overscroll:[{overscroll:Ce()}],"overscroll-Be":[{"overscroll-Be":Ce()}],"overscroll-y":[{"overscroll-y":Ce()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[b]}],"inset-Be":[{"inset-Be":[b]}],"inset-y":[{"inset-y":[b]}],start:[{start:[b]}],end:[{end:[b]}],top:[{top:[b]}],right:[{right:[b]}],bottom:[{bottom:[b]}],left:[{left:[b]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",re,d]}],basis:[{basis:Ne()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",d]}],grow:[{grow:oe()}],shrink:[{shrink:oe()}],order:[{order:["first","last","none",re,d]}],"grid-cols":[{"grid-cols":[ae]}],"col-start-end":[{col:["auto",{span:["full",re,d]},d]}],"col-start":[{"col-start":le()}],"col-end":[{"col-end":le()}],"grid-rows":[{"grid-rows":[ae]}],"row-start-end":[{row:["auto",{span:[re,d]},d]}],"row-start":[{"row-start":le()}],"row-end":[{"row-end":le()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",d]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",d]}],gap:[{gap:[u]}],"gap-Be":[{"gap-Be":[u]}],"gap-y":[{"gap-y":[u]}],"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"]}],p:[{p:[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]}],Be:[{Be:[y]}],mt:[{mt:[y]}],mr:[{mr:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-Be":[{"space-Be":[Ye]}],"space-Be-reverse":["space-Be-reverse"],"space-y":[{"space-y":[Ye]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",d,t]}],"min-w":[{"min-w":[d,t,"min","max","fit"]}],"max-w":[{"max-w":[d,t,"none","full","min","max","fit","prose",{screen:[O]},O]}],h:[{h:[d,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[d,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[d,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[d,t,"auto","min","max","fit"]}],"font-size":[{text:["base",O,H]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Ae]}],"font-family":[{font:[ae]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",d]}],"line-clamp":[{"line-clamp":["none",J,Ae]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",U,d]}],"list-image":[{"list-image":["none",d]}],"list-style-type":[{list:["none","disc","decimal",d]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ce(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",U,H]}],"underline-offset":[{"underline-offset":["auto",U,d]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:w()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",d]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",d]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Je(),No]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","Be","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",ko]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Ao]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[P]}],"gradient-via-pos":[{via:[P]}],"gradient-to-pos":[{to:[P]}],"gradient-from":[{from:[k]}],"gradient-via":[{via:[k]}],"gradient-to":[{to:[k]}],rounded:[{rounded:[r]}],"rounded-s":[{"rounded-s":[r]}],"rounded-e":[{"rounded-e":[r]}],"rounded-t":[{"rounded-t":[r]}],"rounded-r":[{"rounded-r":[r]}],"rounded-b":[{"rounded-b":[r]}],"rounded-l":[{"rounded-l":[r]}],"rounded-ss":[{"rounded-ss":[r]}],"rounded-se":[{"rounded-se":[r]}],"rounded-Be":[{"rounded-Be":[r]}],"rounded-es":[{"rounded-es":[r]}],"rounded-tl":[{"rounded-tl":[r]}],"rounded-tr":[{"rounded-tr":[r]}],"rounded-br":[{"rounded-br":[r]}],"rounded-bl":[{"rounded-bl":[r]}],"border-w":[{border:[i]}],"border-w-Be":[{"border-Be":[i]}],"border-w-y":[{"border-y":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-b":[{"border-b":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:[...ce(),"hidden"]}],"divide-Be":[{"divide-Be":[i]}],"divide-Be-reverse":["divide-Be-reverse"],"divide-y":[{"divide-y":[i]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:ce()}],"border-color":[{border:[s]}],"border-color-Be":[{"border-Be":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...ce()]}],"outline-offset":[{"outline-offset":[U,d]}],"outline-w":[{outline:[U,H]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:qe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[U,H]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",O,To]}],"shadow-color":[{shadow:[ae]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":[...Ke(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Ke()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[a]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",O,d]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[g]}],invert:[{invert:[m]}],saturate:[{saturate:[S]}],sepia:[{sepia:[q]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[g]}],"backdrop-invert":[{"backdrop-invert":[m]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[S]}],"backdrop-sepia":[{"backdrop-sepia":[q]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[n]}],"border-spacing-Be":[{"border-spacing-Be":[n]}],"border-spacing-y":[{"border-spacing-y":[n]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",d]}],duration:[{duration:z()}],ease:[{ease:["linear","in","out","in-out",d]}],delay:[{delay:z()}],animate:[{animate:["none","spin","ping","pulse","bounce",d]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[I]}],"scale-Be":[{"scale-Be":[I]}],"scale-y":[{"scale-y":[I]}],rotate:[{rotate:[re,d]}],"translate-Be":[{"translate-Be":[Qe]}],"translate-y":[{"translate-y":[Qe]}],"skew-Be":[{"skew-Be":[ie]}],"skew-y":[{"skew-y":[ie]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",d]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","Be-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",d]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","Be",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-Be":[{"scroll-Be":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","Be","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-Be":[{"touch-pan":["Be","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",d]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[U,H,Ae]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-Be","overflow-y"],overscroll:["overscroll-Be","overscroll-y"],inset:["inset-Be","inset-y","start","end","top","right","bottom","left"],"inset-Be":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-Be","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","Be","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-Be","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-Be"],"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-Be","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-Be":["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-Be":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-Be","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-Be","touch-y","touch-pz"],"touch-Be":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var st=uo(So);function l(...e){return st((0,it.clsx)(e))}var lt=require("next/navigation"),M=require("react");function Mo({external:e=!1,newTab:t=!1,scroll:o=!0}){let a=(0,lt.useRouter)(),s=(0,M.useRef)(null),r=(0,M.useRef)(null),n=(0,M.useRef)(0),i=(0,M.useRef)(!1),c=(0,M.useRef)(0),p=(0,M.useCallback)(m=>{if(m.target){let u=m.target,k=+new Date,P=u==null?void 0:u.closest("a");c.current=m.button,P?i.current=!0:(i.current=!1,n.current=k)}},[a,s,r,n]),g=(0,M.useCallback)(m=>{var u,k;if((u=r.current)!=null&&u.href){let b=+new Date-n.current;if((k=r.current)!=null&&k.href&&b<=250&&!i.current&&c.current===0&&!m.ctrlKey)if(e){let y=t?"_blank":"_self";window.open(r.current.href,y)}else a.push(r.current.href,{scroll:o})}},[a,s,r,n]);return(0,M.useEffect)(()=>{let m=s.current;return m&&(m.addEventListener("mousedown",p),m.addEventListener("mouseup",g)),()=>{m&&m&&(m==null||m.removeEventListener("mousedown",p),m==null||m.removeEventListener("mouseup",g))}},[s,r,a]),{card:{ref:s},link:{ref:r}}}var ct=Mo;var yt=E(require("next/link"));var dt=E(require("next/image")),Be=require("react/jsx-runtime"),Lo={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},pt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABchJREFUWEdtlwtTG0kMhHtGM7N+AAdcDsjj///EBLzenbtuadbLJaZUTlHB+tRqSesETB3IABqQG1KbUFqDlQorBSmboqeEBcC1d8zrCixXYGZcgMsFmH8B+AngHdurAmXKOE8nHOoBrU6opcGswPi5KSP9CcBaQ9kACJH/ALAA1xm4zMD8AczvQCcAQeJVAZsy7nYApTSUzwCHUKACeUJi9TsFci7AHmDtuHYqQIC9AgQYKnSwNAig4NyOOwXq/xU47gDYggarjIpsRSEA3Fqw7AGkwgW4fgALAdiC2btKgNZwbgdMbEFpqFR2UyCR8xwAhf8bUHIGk1ckMyB5C1YkeWAdAPQBAeiD6wVYPoD1HUgXwFagZAGc6oSpTmilopoD5GzISQD3odcNIFca0BUQQM5YA2DpHV0AYURBDIAL0C+ugC0C4GedSsVUmwC8/4w8TPiwU6AClJ5RWL1PgQNkrABWdKB3YF3cBwRY5lsI4ApkKpCQi+FIgFJU/TDgDuAxAAwonJuKpGD1rkCXCR1ALyrAUSSEQAhwBdYZ6DPAgSUA2c1wKIZmRcHxMzMYR9DH8NlbkAwwApSAcABwBwTAbb6owAr0AFiZPILVEyCtMmK2jCkTwFDNUNj7nJETQx744gCUmgkZVGJUHyakEZE4W91jtGFA9KsD8Z3JFYDlhGYZLWcllwJMnplcPy+csFAgAAaIDOgeuAGoB96GLZg4kmtfMjnr6ig5oSoySsoy3ya/FMivXZWxwr0KIf9nACbfqcBEgmBSAtAlIT83R+70IWpyACamIjf5E1Iqb9ECVmnoI/FvAIRk8s2J0Y5IquQDgB+5wpScw5AUTC75VTmTs+72NUzoCvQIaAXv5Q8PDAZKLD+MxLv3RFE7KlsQChgBIlKiCv5ByaZv3gJZNm8AnVMhAN+EjrtTYQMICJpu6/0aiQnhClANlz+Bw0cIWa8ev0sBrtrhAyaXEnrfGfATQJiRKih5vKeOHNXXPFrgyamAADh0Q4F2/sESojomDS9o9k0b0H83xjB8qL+JNoTjN+enjpaBpingRh4e8MSugudM030A8FeqMI6PFIgNyPehkpZWGFEAARIQdH5LcAAqIACHkAJqg4OoBccHAuz76wr4BbzFOEa8iBuAZB8AtJHLP2VgMgJw/EIBowo7HxCAH3V6dAXEE/vZ5aZIA8BP8RKhm7Cp8BnAMnAQADdgQDA520AVIpScP+enHz0Gwp25h4i2dPg5FkDXrbsdJikQwXuWgaM5gEMk1AgH4DKKFjDf3bMD+FjEeIxLlRKYnBk2BbquvSDCAQ4gwZiMAAmH4gBTyRtEsYxi7gP6QSrc//39BrDNqG8rtYTmC4BV1SfMhOhaumFCT87zy4pPhQBZEK1kQVRjJBBi7AOlePgyAPYjwlvtagx9e/dnQraAyS894TIkkAIEYMKEc8k4EqJ68lZ5jjNqcQC2QteQOf7659umwBgPybNtK4dg9WvnMyFwXYGP7uEO1lwJgAnPNeMYMVXbIIYKFioI4PGFt+BWPVfmWJdjW2lTUnLGCswECAgaUy86iwA1464ajo0QhgMBFGyBoZahANsMpMfXr1JA1SN29m5lqgXj+UPV85uRA7yv/KYUO4Tk7Hc1AZwbIRzg0AyNj2UlAMwfSLSMnl7fdAbcxHuA27YaAMvaQ4GOjwX4RTUGAG8Ge14N963g1AynqUiFqRX9noasxT4b8entNRQYyamk/3tYcHsO7R3XJRRYOn4tw4iUnwBM5gDnySGOreAwAGo8F9IDHEcq8Pz2Kg/oXCpuIL6tOPD8LsDn0ABYQoGFRowlsAEUPPDrGAGowAbgKsgDMmE8mDy/vXQ9IAwI7u4wta+gAdAdgB64Ah9SgD4IgGKhwACoAjgNgFDhtxY8f33ZTMjqdTAiHMBPrn8ZWkEfzFdX4Oc1AHg3+ADbvN8PU8WdFKg4Tt6CQy2+D4YHaMT/JP4XzbAq98cPDIUAAAAASUVORK5CYII=",mt=e=>{let{alt:t,fill:o,imgClassName:a,priority:s,resource:r,size:n,src:i,loading:c}=e,p,g,m=t,u=i||"";if(!u&&r&&typeof r=="object"){let{alt:b,filename:y,height:v,url:A,width:S}=r;if(v&&v>500){let I=500/v;p=S*I,g=v*I}else p=S,g=v;m=b||"",u=A||pt}let k=c||"lazy",P=n||Object.entries(Lo).map(([,b])=>`(max-width: ${b}px) ${b*2}w`).join(", ");return(0,Be.jsx)("picture",{children:(0,Be.jsx)(dt.default,{alt:m||"",className:l(a),fill:o,height:o?void 0:g,placeholder:"blur",blurDataURL:pt,priority:k!=="lazy"&&s,quality:100,loading:k,sizes:P,src:u,width:o?void 0:p})})};var ut=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var gt=()=>{if(ut){let e=window.location.protocol,t=window.location.hostname,o=window.location.port;return`${e}//${t}${o?`:${o}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var ft=e=>{let{onClick:t,resource:o,videoClassName:a}=e,s=(0,M.useRef)(null);if((0,M.useEffect)(()=>{let{current:r}=s;r&&r.addEventListener("suspend",()=>{})},[]),o&&typeof o=="object"){let{filename:r}=o;return(0,Be.jsx)("video",{autoPlay:!0,className:l(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:s,children:(0,Be.jsx)("source",{src:`${gt()}/media/${r}`})})}return null};var V=e=>{var n;let{className:t,htmlElement:o="div",resource:a}=e,s=typeof a=="object"&&((n=a==null?void 0:a.mimeType)==null?void 0:n.includes("video"));return(0,Be.jsx)(o||M.Fragment,{...o!==null?{className:t}:{},children:s?(0,Be.jsx)(ft,{...e}):(0,Be.jsx)(mt,{...e})})};var Me=e=>{let{card:t,link:o}=ct({}),{className:a,doc:s,relationTo:r,showCategories:n,title:i}=e,{slug:c,categories:p,meta:g,title:m}=s||{},{description:u,image:k}=g||{},P=p&&Array.isArray(p)&&p.length>0,b=i||m,y=u==null?void 0:u.replace(/\s/g," "),v=`/${r}/${c}`;return(0,Be.jsxs)("article",{className:l("border border-border rounded-lg overflow-hidden bg-card hover:cursor-pointer",a),ref:t.ref,children:[(0,Be.jsxs)("div",{className:"relative w-full ",children:[!k&&(0,Be.jsx)("div",{className:"",children:"No image"}),k&&typeof k!="string"&&(0,Be.jsx)(V,{resource:k,size:"33vw"})]}),(0,Be.jsxs)("div",{className:"p-4",children:[n&&P&&(0,Be.jsx)("div",{className:"uppercase text-sm mb-4",children:n&&P&&(0,Be.jsx)("div",{children:p==null?void 0:p.map((A,S)=>{if(typeof A=="object"){let{title:I}=A,q=I||"Untitled category",ie=S===p.length-1;return(0,Be.jsxs)(M.Fragment,{children:[q,!ie&&(0,Be.jsx)(M.Fragment,{children:", \xA0"})]},S)}return null})})}),b&&(0,Be.jsx)("div",{className:"prose",children:(0,Be.jsx)("h3",{children:(0,Be.jsx)(yt.default,{className:"not-prose",href:v,ref:o.ref,children:b})})}),u&&(0,Be.jsx)("div",{className:"mt-2",children:u&&(0,Be.jsx)("p",{children:y})})]})]})};var Eo=e=>{let{posts:t}=e;return(0,Be.jsx)("div",{className:l("container"),children:(0,Be.jsx)("div",{children:(0,Be.jsx)("div",{className:"grid grid-cols-4 sm:grid-cols-8 lg:grid-cols-12 gap-y-4 gap-Be-4 lg:gap-y-8 lg:gap-Be-8 xl:gap-Be-8",children:t==null?void 0:t.map((o,a)=>typeof o=="object"&&o!==null?(0,Be.jsx)("div",{className:"col-span-4",children:(0,Be.jsx)(Me,{className:"h-full",doc:o,relationTo:"posts",showCategories:!0})},a):null)})})})};var ht=require("@radix-ui/react-slot"),xt=require("class-variance-authority"),vt=E(require("react")),Le=(0,xt.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"}}}),_=vt.forwardRef(({asChild:e=!1,className:t,size:o,variant:a,...s},r)=>(0,Be.jsx)(e?ht.Slot:"button",{className:l(Le({className:t,size:o,variant:a})),ref:r,...s}));_.displayName="Button";var Ee=E(require("next/link")),W=e=>{let{type:t,appearance:o="inline",children:a,className:s,label:r,newTab:n,reference:i,size:c,url:p}=e,g=t==="reference"&&typeof(i==null?void 0:i.value)=="object"&&i.value.slug?`${(i==null?void 0:i.relationTo)!=="pages"?`/${i==null?void 0:i.relationTo}`:""}/${i.value.slug}`:p;if(!g)return null;let m=o==="link"?"clear":c,u=n?{rel:"noopener noreferrer",target:"_blank"}:{};return o==="inline"?(0,Be.jsxs)(Ee.default,{className:l(s),href:g||p||"",...u,children:[r&&r,a&&a]}):(0,Be.jsx)(_,{asChild:!0,className:s,size:m,variant:o,children:(0,Be.jsxs)(Ee.default,{className:l(s),href:g||p||"",...u,children:[r&&r,a&&a]})})};var Ct=E(require("clsx")),kt=E(require("next/image")),Fo=e=>{let{loading:t,priority:o,className:a}=e;return(0,Be.jsx)(kt.default,{alt:"Payload Logo",width:193,height:34,loading:t||"lazy",fetchPriority:o||"low",decoding:"async",className:(0,Ct.default)("max-w-[9.375rem] w-full h-[34px]",a),src:"https://raw.githubusercontent.com/payloadcms/payload/main/packages/ui/src/assets/payload-logo-light.svg"})};var zo={plural:"Docs",singular:"Doc"},Uo={posts:{plural:"Posts",singular:"Post"}},Do=e=>{let{className:t,collection:o,collectionLabels:a,currentPage:s,limit:r,totalDocs:n}=e,i=(s?s-1:1)*(r||1)+1;n&&i>n&&(i=0);let c=(s||1)*(r||1);n&&c>n&&(c=n);let{plural:p,singular:g}=a||Uo[o||""]||zo||{};return(0,Be.jsxs)("div",{className:[t,"font-semibold"].filter(Boolean).join(" "),children:[(typeof n=="undefined"||n===0)&&"Search produced no results.",typeof n!="undefined"&&n>0&&`Showing ${i}${i>0?` - ${c}`:""} of ${n} ${n>1?p:g}`]})};var Z=require("lucide-react"),Fe=E(require("react")),ze=({className:e,...t})=>(0,Be.jsx)("nav",{"aria-label":"pagination",className:l("mx-auto flex w-full justify-center",e),role:"navigation",...t});ze.displayName="Pagination";var Ue=Fe.forwardRef(({className:e,...t},o)=>(0,Be.jsx)("ul",{className:l("flex flex-row items-center gap-1",e),ref:o,...t}));Ue.displayName="PaginationContent";var D=Fe.forwardRef(({className:e,...t},o)=>(0,Be.jsx)("li",{className:l("",e),ref:o,...t}));D.displayName="PaginationItem";var $=({className:e,isActive:t,size:o="icon",...a})=>(0,Be.jsx)("button",{"aria-current":t?"page":void 0,className:l(Le({size:o,variant:t?"outline":"ghost"}),e),...a});$.displayName="PaginationLink";var De=({className:e,...t})=>(0,Be.jsxs)($,{"aria-label":"Go to previous page",className:l("gap-1 pl-2.5",e),size:"default",...t,children:[(0,Be.jsx)(Z.ChevronLeft,{className:"h-4 w-4"}),(0,Be.jsx)("span",{children:"Previous"})]});De.displayName="PaginationPrevious";var Ge=({className:e,...t})=>(0,Be.jsxs)($,{"aria-label":"Go to next page",className:l("gap-1 pr-2.5",e),size:"default",...t,children:[(0,Be.jsx)("span",{children:"Next"}),(0,Be.jsx)(Z.ChevronRight,{className:"h-4 w-4"})]});Ge.displayName="PaginationNext";var ue=({className:e,...t})=>(0,Be.jsxs)("span",{"aria-hidden":!0,className:l("flex h-9 w-9 items-center justify-center",e),...t,children:[(0,Be.jsx)(Z.MoreHorizontal,{className:"h-4 w-4"}),(0,Be.jsx)("span",{className:"sr-only",children:"More pages"})]});ue.displayName="PaginationEllipsis";var Go=e=>{let t=(0,lt.useRouter)(),{className:o,page:a,totalPages:s}=e,r=a<s,n=a>1,i=a-1>1,c=a+1<s;return(0,Be.jsx)("div",{className:l("my-12",o),children:(0,Be.jsx)(ze,{children:(0,Be.jsxs)(Ue,{children:[(0,Be.jsx)(D,{children:(0,Be.jsx)(De,{disabled:!n,onClick:()=>{t.push(`/posts/page/${a-1}`)}})}),i&&(0,Be.jsx)(D,{children:(0,Be.jsx)(ue,{})}),n&&(0,Be.jsx)(D,{children:(0,Be.jsx)($,{onClick:()=>{t.push(`/posts/page/${a-1}`)},children:a-1})}),(0,Be.jsx)(D,{children:(0,Be.jsx)($,{isActive:!0,onClick:()=>{t.push(`/posts/page/${a}`)},children:a})}),r&&(0,Be.jsx)(D,{children:(0,Be.jsx)($,{onClick:()=>{t.push(`/posts/page/${a+1}`)},children:a+1})}),c&&(0,Be.jsx)(D,{children:(0,Be.jsx)(ue,{})}),(0,Be.jsx)(D,{children:(0,Be.jsx)(Ge,{disabled:!r,onClick:()=>{t.push(`/posts/page/${a+1}`)}})})]})})})};var Tt=({className:e,content:t,style:o})=>(0,Be.jsx)("div",{className:l("mx-auto my-8 w-full",e),children:(0,Be.jsx)("div",{className:l("border py-3 px-6 flex items-center rounded",{"border-border bg-card":o==="info","border-error bg-error/30":o==="error","border-success bg-success/30":o==="success","border-warning bg-warning/30":o==="warning"}),children:(0,Be.jsx)(G,{content:t,enableGutter:!1,enableProse:!1})})});function fe({className:e}){return l("flex items-center min-h-[3.5rem] md:min-h-[3.75rem] w-full rounded-5 px-4 md:px-5 py-2"," bg-transparent text-accent-800 placeholder:text-accent-800 dark:text-body dark:placeholder:text-body"," border border-solid border-accent-900 border-opacity-20 dark:border-opacity-20 dark:border-accent-200"," focus:border-accent-900 focus:ring-0 focus-visible:outline-0 focus-visible:ring-0 focus-visible:ring-offset-0","transition-all duration-300",e)}function jo({className:e,...t}){return(0,Be.jsx)("input",{...t,className:fe({className:e})})}function be({icon:e,...t}){return(0,Be.jsxs)("div",{className:"relative w-full",children:[(0,Be.jsx)(jo,{...t}),e&&(0,Be.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-y-1/2 text-accent",children:e})]})}function Ho({className:e,...t}){return(0,Be.jsx)("textarea",{...t,className:l(fe({}),"resize-none md:min-h-[130px]",e)})}function Rt({icon:e,...t}){return(0,Be.jsxs)("div",{className:"relative w-full",children:[(0,Be.jsx)(Ho,{...t}),e&&(0,Be.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-accent",children:e})]})}var It=require("formik"),St=require("react-icons/fa6"),Y=E(require("yup"));async function Bt(e){let{name:t,email:o,subject:a,message:s}=e,r=process.env.TEAMS_WEBHOOK_URL;if(!r)throw new Error("TEAMS_WEBHOOK_URL is not defined");let n={type:"message",attachments:[{contentType:"application/vnd.microsoft.card.adaptive",content:{$schema:"http://adaptivecards.io/schemas/adaptive-card.json",type:"AdaptiveCard",version:"1.2",body:[{type:"TextBlock",text:"Contact Us Form",wrap:!0,style:"heading",weight:"Bolder"},{type:"ColumnSet",columns:[{type:"Column",width:"stretch",items:[{type:"TextBlock",text:"Name",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Email",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Subject",wrap:!0,weight:"Bolder"}]},{type:"Column",width:"stretch",items:[{type:"TextBlock",text:`${t}`,wrap:!0},{type:"TextBlock",text:`${o}`,wrap:!0},{type:"TextBlock",text:`${a}`,wrap:!0}]}]},{type:"TextBlock",text:`${s}`,wrap:!0}]}}]};try{let i=await fetch(r,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)});if(!i.ok)throw console.error(i),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(i){return console.error(i),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var je=require("sonner"),L={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},Oo=Y.object().shape({name:Y.string().min(2,L.tooShort).max(50,L.tooLong).required(L.required),email:Y.string().email(L.email).required(L.required),subject:Y.string().min(2,L.tooShort).max(50,L.tooLong).required(L.required),message:Y.string().min(2,L.tooShort).max(300,L.tooLong).required(L.required)}),ye=l("!pr-[44px] text-foreground"),he=l("!border-red-600 border"),xe=l("sr-only");function Mt(){return(0,Be.jsx)(It.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:Oo,onSubmit:async(e,{resetForm:t})=>{let o=await Bt(e);o.data===null?je.toast.error(o.message):(je.toast.success(o.message),t())},children:({errors:e,touched:t,values:o,handleChange:a,handleBlur:s,isSubmitting:r,handleSubmit:n})=>(0,Be.jsxs)("form",{onSubmit:n,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,Be.jsxs)("div",{children:[(0,Be.jsx)(be,{placeholder:"Your Name",type:"text",name:"name",value:o.name,onChange:a,onBlur:s,disabled:r,icon:(0,Be.jsx)(St.FaUser,{className:"text-primary"}),className:l(ye,e.name&&t.name&&he)}),e.name&&t.name&&(0,Be.jsx)("p",{title:e.name,"aria-live":"polite",role:"error message",className:xe,children:e.name})]}),(0,Be.jsxs)("div",{children:[(0,Be.jsx)(be,{placeholder:"Your Email",type:"email",name:"email",value:o.email,onChange:a,onBlur:s,disabled:r,icon:(0,Be.jsx)(Vo,{}),className:l(ye,e.email&&t.email&&he)}),e.email&&t.email&&(0,Be.jsx)("p",{title:e.email,"aria-live":"polite",role:"error message",className:xe,children:e.email})]}),(0,Be.jsxs)("div",{className:"lg:col-span-2",children:[(0,Be.jsx)(be,{placeholder:"Subject",type:"text",name:"subject",value:o.subject,onChange:a,onBlur:s,disabled:r,className:l(ye,e.subject&&t.subject&&he)}),e.subject&&t.subject&&(0,Be.jsx)("p",{title:e.subject,"aria-live":"polite",role:"error message",className:xe,children:e.subject})]}),(0,Be.jsxs)("div",{className:"lg:col-span-2",children:[(0,Be.jsx)(Rt,{placeholder:"Message...",name:"message",value:o.message,onChange:a,onBlur:s,disabled:r,icon:(0,Be.jsx)(_o,{}),className:l(ye,e.message&&t.message&&he)}),e.message&&t.message&&(0,Be.jsx)("p",{title:e.message,"aria-live":"polite",role:"error message",className:xe,children:e.message})]}),(0,Be.jsx)("div",{className:"lg:col-span-2 light grid justify-items-center",children:(0,Be.jsx)(_,{type:"submit",className:"outline px-6 rounded-full outline-accent bg-background text-foreground hover:bg-accent hover:text-accent-foreground",disabled:r,children:"Send"})})]})})}function Vo(){return(0,Be.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:(0,Be.jsx)("path",{d:"M14.9727 1.76172L13.2227 13.1094C13.1953 13.3828 13.0312 13.6289 12.7852 13.7656C12.6484 13.8203 12.5117 13.875 12.3477 13.875C12.2383 13.875 12.1289 13.8477 12.0195 13.793L8.68359 12.3984L7.28906 14.4766C7.17969 14.668 6.98828 14.75 6.79688 14.75C6.49609 14.75 6.25 14.5039 6.25 14.2031V11.5781C6.25 11.3594 6.30469 11.168 6.41406 11.0312L12.375 3.375L4.33594 10.6211L1.51953 9.44531C1.21875 9.30859 1 9.03516 1 8.67969C0.972656 8.29688 1.13672 8.02344 1.4375 7.85938L13.6875 0.886719C13.9609 0.722656 14.3438 0.722656 14.6172 0.914062C14.8906 1.10547 15.0273 1.43359 14.9727 1.76172Z"})})}function _o(){return(0,Be.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:(0,Be.jsx)("path",{d:"M12.6875 0.5C13.3984 0.5 14 1.10156 14 1.8125C14 2.25 13.7812 2.63281 13.4531 2.87891L7.51953 7.33594C7.19141 7.58203 6.78125 7.58203 6.45312 7.33594L0.519531 2.87891C0.191406 2.63281 0 2.25 0 1.8125C0 1.10156 0.574219 0.5 1.3125 0.5H12.6875ZM5.93359 8.04688C6.5625 8.51172 7.41016 8.51172 8.03906 8.04688L14 3.5625V9.25C14 10.2344 13.207 11 12.25 11H1.75C0.765625 11 0 10.2344 0 9.25V3.5625L5.93359 8.04688Z"})})}var Et=({links:e,richText:t})=>{let[o,a]=(0,M.useState)(!1),s="accent",r=()=>a(!0),n=()=>a(!1),i=c=>{c.target===c.currentTarget&&n()};return(0,Be.jsxs)("div",{className:l("relative isolate overflow-hidden",s==="accent"?"bg-accent":"bg-black"),children:[(0,Be.jsx)("div",{className:"px-6 py-24 sm:px-6 sm:py-32 lg:px-8",children:(0,Be.jsxs)("div",{className:"mx-auto max-w-2xl text-center prose",children:[t&&(0,Be.jsx)(G,{className:"mb-0 prose-headings:text-white prose-h2:text-white prose-p:text-white text-white",content:t,enableGutter:!1}),(0,Be.jsx)("div",{className:"mt-10 flex items-center justify-center gap-Be-6",children:(0,Be.jsx)("div",{className:"flex flex-col gap-8 text-white",children:(e||[]).map(({link:c},p)=>(c==null?void 0:c.url)==="/contact"?(0,Be.jsx)("div",{onClick:r,className:l("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",s==="accent"?"border-white bg-accent":"border-accent bg-black"),children:c.label},p):(0,Be.jsx)(W,{size:"lg",className:l("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",s==="accent"?"border-white bg-accent":"border-accent bg-black"),...c},p))})})]})}),o&&(0,Be.jsx)("div",{className:"absolute inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50",onClick:i,children:(0,Be.jsxs)("div",{className:"bg-white p-6 pt-10 rounded-lg shadow-lg w-full max-w-lg light relative",children:[(0,Be.jsx)("button",{className:"absolute top-4 right-4 text-gray-500 hover:text-gray-700",onClick:n,children:"\u2715"}),(0,Be.jsx)(Mt,{})," "]})})]})};var ve=require("prism-react-renderer");function Ut({code:e}){let[t,o]=(0,M.useState)("Copy");function a(){t==="Copy"&&(o(()=>"Copied!"),setTimeout(()=>{o(()=>"Copy")},1e3))}return(0,Be.jsx)("div",{className:"flex justify-end align-middle",children:(0,Be.jsxs)(_,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,Be.jsx)("p",{children:t}),(0,Be.jsx)("div",{className:"w-6 h-6",children:(0,Be.jsx)(Z.ClipboardCopy,{})})]})})}var Dt=({code:e,language:t=""})=>e?(0,Be.jsx)(ve.Highlight,{code:e,language:t,theme:ve.themes.vsDark,children:({getLineProps:o,getTokenProps:a,tokens:s})=>(0,Be.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-Be-auto",children:[s.map((r,n)=>(0,Be.jsxs)("div",{...o({className:"table-row",line:r}),children:[(0,Be.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:n+1}),(0,Be.jsx)("span",{className:"table-cell pl-4",children:r.map((i,c)=>(0,Be.jsx)("span",{...a({token:i})},c))})]},n)),(0,Be.jsx)(Ut,{code:e})]})}):null;var Gt=({className:e,code:t,language:o})=>(0,Be.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Be.jsx)(Dt,{code:t,language:o})});var jt=e=>{let{className:t,enableGutter:o=!0,imgClassName:a,media:s,staticImage:r}=e;return(0,Be.jsx)("div",{className:l("h-full ",{container:o},t),children:(0,Be.jsx)(V,{imgClassName:l("rounded-[0.8rem]",a),className:"flex justify-center",resource:s,src:r})})};var Ht=e=>{let{className:t,enableGutter:o=!0,imgClassName:a,media:s,staticImage:r}=e;return(0,Be.jsx)("div",{className:l("",{container:o},t),children:(0,Be.jsx)(V,{imgClassName:l("rounded-[0.8rem]",a),resource:s,src:r})})};var _e=({type:e="solid",iconName:t="cloud",size:o="lg",className:a})=>{let s=e.includes("fa-")?e+" ":"fa-"+e+" ",r="fa-"+t,n=a!=null?a:"",i=s+r+" fa-"+o+" "+n;return(0,Be.jsx)("i",{className:i})};var _t=E(require("next/image"));function Vt(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function $e({image:e,icon:t,title:o,subtitle:a,content:s,statistic:r,settings:n,link:i,className:c}){var m,u;let p={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:"bg-background"},g={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,Be.jsxs)("a",{href:(i==null?void 0:i.url)||"#",className:l("min-w-56 max-w-xl h-full flex flex-col group bg-background",e?"p-0":"p-6 md:p-8",n&&!e&&p[(n==null?void 0:n.card)==="default"?"solid":n==null?void 0:n.card],e&&"bg-foreground",n&&(n==null?void 0:n.card)==="outline"?"text-gray-900":"text-white",g[(m=n==null?void 0:n.width)!=null?m:"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",n&&`intersect:animate-delay-${n.order||1}00`,c),children:[e&&(0,Be.jsx)("div",{className:"relative aspect-[16/9] w-full",children:(0,Be.jsx)(_t.default,{src:e.url||"/placeholder.svg",alt:e.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),(0,Be.jsxs)("div",{className:l(e?"p-6 md:p-8":"p-0","flex flex-col flex-grow"),children:[(0,Be.jsxs)("div",{className:"flex flex-col flex-grow",children:[a&&(0,Be.jsx)("div",{className:"text-primary uppercase text-sm font-light mb-4",children:a}),(0,Be.jsx)("div",{className:"flex items-start gap-4 mb-4",children:(0,Be.jsx)($o,{icon:{type:(t==null?void 0:t.type)||"fa-light",iconName:(t==null?void 0:t.icon)||"no-icon-error"},heading:o!=null?o:"",variant:(n==null?void 0:n.card)==="default"?"solid":(u=n==null?void 0:n.card)!=null?u:"solid",iconSize:(n==null?void 0:n.iconSize)||"large"})}),s&&typeof s=="object"&&(0,Be.jsx)(G,{enableGutter:!1,content:s,enableProse:!1,className:l("prose-sm prose-p:text-lg prose-headings:text-xl","space-y-3",(n==null?void 0:n.card)==="outline"||(n==null?void 0:n.card)==="light"?"prose-headings:text-foreground prose-p:text-foreground prose-a:text-foreground":"prose-headings:text-white prose-p:text-gray-100 prose-a:text-gray-100",e&&"prose-headings:text-background prose-p:text-background")}),s&&typeof s=="string"&&(0,Be.jsx)("div",{className:l("prose-sm prose-p:text-lg prose-headings:text-xl","space-y-3",(n==null?void 0:n.card)==="outline"||(n==null?void 0:n.card)==="light"?"prose text-foreground":"prose text-gray-100",e&&"prose text-background"),children:s})]}),i&&i.url&&(0,Be.jsx)("div",{className:"mt-6",children:(0,Be.jsx)("span",{className:"text-accent font-semibold uppercase text-sm block hover:text-accent/80 transition-colors",children:(i==null?void 0:i.label)||"Find out more"})})]})]})}var $o=({icon:e,heading:t,variant:o,iconSize:a,subtitle:s})=>e&&a==="small"&&e.iconName!="no-icon-error"?(0,Be.jsxs)("div",{className:"flex items-start justify-between w-full mb-2",children:[(0,Be.jsx)("div",{className:l(o==="outline"||o==="light"?"text-primary":"text-white",a==="small"?"text-2xl":"text-3xl"),children:t}),Vt(e)&&(0,Be.jsx)("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",o==="outline"||o==="light"?"text-primary":"text-white",a==="small"?"-mr-2 ml-1 mt-1":""),children:(0,Be.jsx)(_e,{type:e.type,iconName:e.iconName,size:"2x"})})]}):e&&e.iconName!="no-icon-error"?(0,Be.jsxs)("div",{className:"flex flex-col gap-4",children:[Vt(e)&&(0,Be.jsx)("div",{className:l("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",o==="outline"||o==="light"?"text-accent":""),children:(0,Be.jsx)(_e,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,Be.jsx)("h3",{className:l("font-normal",o==="outline"||o==="light"?"text-2xl text-primary":"text-3xl text-white"),children:t})]}):(0,Be.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,Be.jsx)("div",{className:l("font-regular",o==="outline"||o==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var $t=({title:e,description:t,features:o,id:a,nested:s=!1})=>(0,Be.jsxs)("section",{className:l(s?"w-full":"container",""),children:[(0,Be.jsxs)("div",{className:"prose prose:max-w-none",children:[e&&(0,Be.jsx)("h2",{className:"mb-6 mt-0 text-primary",id:a||"",children:e}),t&&typeof t=="string"&&(0,Be.jsx)("p",{className:"mb-5 text-foreground",children:t}),t&&typeof t=="object"&&(0,Be.jsx)("div",{className:"mb-5 text-foreground",children:(0,Be.jsx)(G,{content:t,enableGutter:!1})})]}),(0,Be.jsx)("div",{className:`grid gap-6 mt-6 md:grid-cols-${o?o.length>2?2:o.length:1} lg:grid-cols-${o?o.length>3?3:o.length:1}`,children:o&&o.map((r,n)=>{var c;let i=()=>{if(r.icon&&"type"in r.icon&&r.icon.type!=="none")return{type:r.icon.type,icon:r.icon.icon}};return(0,Be.jsx)($e,{title:r.title||"",content:r.content||void 0,statistic:r.statistic||void 0,settings:{...r.settings,width:"auto",order:n},link:r.link?{...r.link,label:"Learn more"}:void 0,icon:(c=i())!=null?c:{type:"none",icon:null}},n)})})]});var we=E(require("react"));function se({nodes:e}){return(0,Be.jsx)(we.Fragment,{children:e==null?void 0:e.map((t,o)=>{if(t==null)return null;if(t.type==="text"&&t.text){let r=(0,Be.jsx)(we.default.Fragment,{children:t.text},o);return t.format&1&&(r=(0,Be.jsx)("strong",{children:r},o)),t.format&2&&(r=(0,Be.jsx)("em",{children:r},o)),t.format&4&&(r=(0,Be.jsx)("span",{style:{textDecoration:"line-through"},children:r},o)),t.format&8&&(r=(0,Be.jsx)("span",{style:{textDecoration:"underline"},children:r},o)),t.format&16&&(r=(0,Be.jsx)("code",{children:t.text},o)),t.format&32&&(r=(0,Be.jsx)("sub",{children:r},o)),t.format&64&&(r=(0,Be.jsx)("sup",{children:r},o)),r}if(t.type==="table")return(0,Be.jsx)("table",{children:(0,Be.jsx)("tbody",{children:t.children.map((r,n)=>(0,Be.jsx)("tr",{children:r.children.map((i,c)=>(0,Be.jsx)("td",{children:se({nodes:i.children})},c))},n))})},o);let a=r=>{if(r.children==null)return null;if((r==null?void 0:r.type)==="list"&&(r==null?void 0:r.listType)==="check")for(let n of r.children)"checked"in n&&(n!=null&&n.checked||(n.checked=!1));return se({nodes:r.children})},s="children"in t?a(t):"";if(t.type==="block"){let r=t.fields,n=r==null?void 0:r.blockType;if(!r||!n)return null;switch(n){case"cta":return(0,Be.jsx)(Et,{...r},o);case"mediaBlock":return(0,Be.jsx)(jt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...r,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},o);case"imageBlock":return(0,Be.jsx)(Ht,{className:"col-start-1 col-span-3",imgClassName:"m-0",...r,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},o);case"banner":return(0,Be.jsx)(Tt,{className:"col-start-2 mb-4",...r},o);case"code":return(0,Be.jsx)(Gt,{className:"col-start-2",...r},o);case"features":return(0,Be.jsx)($t,{...r,nested:!0},o);case"reusableContentBlock":se({nodes:r.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,Be.jsx)("br",{className:"col-start-2"},o);case"paragraph":return(0,Be.jsx)("p",{className:"col-start-2",children:s},o);case"heading":{let r=t==null?void 0:t.tag;return(0,Be.jsx)(r,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:s},o)}case"list":{let r=t==null?void 0:t.tag;return(0,Be.jsx)(r,{className:"list col-start-2",children:s},o)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,Be.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:s},o):(0,Be.jsx)("li",{value:t==null?void 0:t.value,children:s},o);case"quote":return(0,Be.jsx)("blockquote",{className:"col-start-2",children:s},o);case"link":{let r=t.fields;return(0,Be.jsx)(W,{newTab:!!(r!=null&&r.newTab),reference:r.doc,type:r.linkType==="internal"?"reference":"custom",url:r.url,children:s},o)}case"autolink":{let r=t.fields;return(0,Be.jsx)(W,{newTab:!!(r!=null&&r.newTab),reference:r.doc,type:r.linkType==="internal"?"reference":"custom",url:r.url,children:s},o)}default:return null}})})}var G=({className:e,content:t,enableGutter:o=!0,enableProse:a=!0})=>{var s;return t?(0,Be.jsx)("div",{className:l({"container ":o,"max-w-none":!o,"mx-auto prose":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&se({nodes:(s=t==null?void 0:t.root)==null?void 0:s.children})}):null};0&&(module.exports={CMSLink,Card,CollectionArchive,Logo,Media,PageRange,PayloadPagination,RichText});
|
|
5
|
+
"use strict";var Qt=Object.create;var pe=Object.defineProperty;var qt=Object.getOwnPropertyDescriptor;var Kt=Object.getOwnPropertyNames;var $t=Object.getPrototypeOf,Jt=Object.prototype.hasOwnProperty;var Wt=(e,t)=>{for(var o in t)pe(e,o,{get:t[o],enumerable:!0})},Ze=(e,t,o,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of Kt(t))!Jt.call(e,s)&&s!==o&&pe(e,s,{get:()=>t[s],enumerable:!(a=qt(t,s))||a.enumerable});return e};var L=(e,t,o)=>(o=e!=null?Qt($t(e)):{},Ze(t||!e||!e.__esModule?pe(o,"default",{value:e,enumerable:!0}):o,e)),Xt=e=>Ze(pe({},"__esModule",{value:!0}),e);var Oo={};Wt(Oo,{CMSLink:()=>Z,Card:()=>Me,CollectionArchive:()=>Mo,Logo:()=>Fo,Media:()=>V,PageRange:()=>Eo,PayloadPagination:()=>Go,RichText:()=>U});module.exports=Xt(Oo);var lt=require("clsx");var Te="-",Zt=e=>{let t=eo(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:n=>{let l=n.split(Te);return l[0]===""&&l.length!==1&&l.shift(),tt(l,t)||_t(n)},getConflictingClassGroupIds:(n,l)=>{let c=o[n]||[];return l&&a[n]?[...c,...a[n]]:c}}},tt=(e,t)=>{var n;if(e.length===0)return t.classGroupId;let o=e[0],a=t.nextPart.get(o),s=a?tt(e.slice(1),a):void 0;if(s)return s;if(t.validators.length===0)return;let r=e.join(Te);return(n=t.validators.find(({validator:l})=>l(r)))==null?void 0:n.classGroupId},_e=/^\[(.+)\]$/,_t=e=>{if(_e.test(e)){let t=_e.exec(e)[1],o=t==null?void 0:t.substring(0,t.indexOf(":"));if(o)return"arbitrary.."+o}},eo=e=>{let{theme:t,prefix:o}=e,a={nextPart:new Map,validators:[]};return oo(Object.entries(e.classGroups),o).forEach(([r,n])=>{Be(n,a,r,t)}),a},Be=(e,t,o,a)=>{e.forEach(s=>{if(typeof s=="string"){let r=s===""?t:et(t,s);r.classGroupId=o;return}if(typeof s=="function"){if(to(s)){Be(s(a),t,o,a);return}t.validators.push({validator:s,classGroupId:o});return}Object.entries(s).forEach(([r,n])=>{Be(n,et(t,r),o,a)})})},et=(e,t)=>{let o=e;return t.split(Te).forEach(a=>{o.nextPart.has(a)||o.nextPart.set(a,{nextPart:new Map,validators:[]}),o=o.nextPart.get(a)}),o},to=e=>e.isThemeGetter,oo=(e,t)=>t?e.map(([o,a])=>{let s=a.map(r=>typeof r=="string"?t+r:typeof r=="object"?Object.fromEntries(Object.entries(r).map(([n,l])=>[t+n,l])):r);return[o,s]}):e,ro=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,o=new Map,a=new Map,s=(r,n)=>{o.set(r,n),t++,t>e&&(t=0,a=o,o=new Map)};return{get(r){let n=o.get(r);if(n!==void 0)return n;if((n=a.get(r))!==void 0)return s(r,n),n},set(r,n){o.has(r)?o.set(r,n):s(r,n)}}},ot="!",ao=e=>{let{separator:t,experimentalParseClassName:o}=e,a=t.length===1,s=t[0],r=t.length,n=l=>{let c=[],p=0,g=0,m;for(let y=0;y<l.length;y++){let v=l[y];if(p===0){if(v===s&&(a||l.slice(y,y+r)===t)){c.push(l.slice(g,y)),g=y+r;continue}if(v==="/"){m=y;continue}}v==="["?p++:v==="]"&&p--}let u=c.length===0?l:l.substring(g),C=u.startsWith(ot),P=C?u.substring(1):u,b=m&&m>g?m-g:void 0;return{modifiers:c,hasImportantModifier:C,baseClassName:P,maybePostfixModifierPosition:b}};return o?l=>o({className:l,parseClassName:n}):n},no=e=>{if(e.length<=1)return e;let t=[],o=[];return e.forEach(a=>{a[0]==="["?(t.push(...o.sort(),a),o=[]):o.push(a)}),t.push(...o.sort()),t},so=e=>({cache:ro(e.cacheSize),parseClassName:ao(e),...Zt(e)}),lo=/\s+/,io=(e,t)=>{let{parseClassName:o,getClassGroupId:a,getConflictingClassGroupIds:s}=t,r=[],n=e.trim().split(lo),l="";for(let c=n.length-1;c>=0;c-=1){let p=n[c],{modifiers:g,hasImportantModifier:m,baseClassName:u,maybePostfixModifierPosition:C}=o(p),P=!!C,b=a(P?u.substring(0,C):u);if(!b){if(!P){l=p+(l.length>0?" "+l:l);continue}if(b=a(u),!b){l=p+(l.length>0?" "+l:l);continue}P=!1}let y=no(g).join(":"),v=m?y+ot:y,A=v+b;if(r.includes(A))continue;r.push(A);let S=s(b,P);for(let R=0;R<S.length;++R){let $=S[R];r.push(v+$)}l=p+(l.length>0?" "+l:l)}return l};function co(){let e=0,t,o,a="";for(;e<arguments.length;)(t=arguments[e++])&&(o=rt(t))&&(a&&(a+=" "),a+=o);return a}var rt=e=>{if(typeof e=="string")return e;let t,o="";for(let a=0;a<e.length;a++)e[a]&&(t=rt(e[a]))&&(o&&(o+=" "),o+=t);return o};function po(e,...t){let o,a,s,r=n;function n(c){let p=t.reduce((g,m)=>m(g),e());return o=so(p),a=o.cache.get,s=o.cache.set,r=l,l(c)}function l(c){let p=a(c);if(p)return p;let g=io(c,o);return s(c,g),g}return function(){return r(co.apply(null,arguments))}}var h=e=>{let t=o=>o[e]||[];return t.isThemeGetter=!0,t},at=/^\[(?:([a-Ie-]+):)?(.+)\]$/i,mo=/^\d+\/\d+$/,uo=new Set(["px","full","screen"]),go=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,fo=/\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$/,bo=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,yo=/^(inset_)?-?((\d+)?\.?(\d+)[a-Ie]+|0)_-?((\d+)?\.?(\d+)[a-Ie]+|0)/,ho=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,G=e=>J(e)||uo.has(e)||mo.test(e),H=e=>W(e,"length",Ao),J=e=>!!e&&!Number.isNaN(Number(e)),Ae=e=>W(e,"number",J),re=e=>!!e&&Number.isInteger(Number(e)),xo=e=>e.endsWith("%")&&J(e.slice(0,-1)),d=e=>at.test(e),Y=e=>go.test(e),vo=new Set(["length","size","percentage"]),wo=e=>W(e,vo,nt),ko=e=>W(e,"position",nt),Co=new Set(["image","url"]),No=e=>W(e,Co,To),Po=e=>W(e,"",Bo),ae=()=>!0,W=(e,t,o)=>{let a=at.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):o(a[2]):!1},Ao=e=>fo.test(e)&&!bo.test(e),nt=()=>!1,Bo=e=>yo.test(e),To=e=>ho.test(e);var Io=()=>{let e=h("colors"),t=h("spacing"),o=h("blur"),a=h("brightness"),s=h("borderColor"),r=h("borderRadius"),n=h("borderSpacing"),l=h("borderWidth"),c=h("contrast"),p=h("grayscale"),g=h("hueRotate"),m=h("invert"),u=h("gap"),C=h("gradientColorStops"),P=h("gradientColorStopPositions"),b=h("inset"),y=h("margin"),v=h("opacity"),A=h("padding"),S=h("saturate"),R=h("scale"),$=h("sepia"),le=h("skew"),qe=h("space"),Ke=h("translate"),ke=()=>["auto","contain","none"],Ce=()=>["auto","hidden","clip","visible","scroll"],Ne=()=>["auto",d,t],w=()=>[d,t],$e=()=>["",G,H],ie=()=>["auto",J,d],Je=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ce=()=>["solid","dashed","dotted","double","none"],We=()=>["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"],oe=()=>["","0",d],Xe=()=>["auto","avoid","all","avoid-page","page","left","right","column"],E=()=>[J,d];return{cacheSize:500,separator:":",theme:{colors:[ae],spacing:[G,H],blur:["none","",Y,d],brightness:E(),borderColor:[e],borderRadius:["none","","full",Y,d],borderSpacing:w(),borderWidth:$e(),contrast:E(),grayscale:oe(),hueRotate:E(),invert:oe(),gap:w(),gradientColorStops:[e],gradientColorStopPositions:[xo,H],inset:Ne(),margin:Ne(),opacity:E(),padding:w(),saturate:E(),scale:E(),sepia:oe(),skew:E(),space:w(),translate:w()},classGroups:{aspect:[{aspect:["auto","square","video",d]}],container:["container"],columns:[{columns:[Y]}],"break-after":[{"break-after":Xe()}],"break-before":[{"break-before":Xe()}],"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:[...Je(),d]}],overflow:[{overflow:Ce()}],"overflow-Ie":[{"overflow-Ie":Ce()}],"overflow-y":[{"overflow-y":Ce()}],overscroll:[{overscroll:ke()}],"overscroll-Ie":[{"overscroll-Ie":ke()}],"overscroll-y":[{"overscroll-y":ke()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[b]}],"inset-Ie":[{"inset-Ie":[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"],Ie:[{Ie:["auto",re,d]}],basis:[{basis:Ne()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",d]}],grow:[{grow:oe()}],shrink:[{shrink:oe()}],order:[{order:["first","last","none",re,d]}],"grid-cols":[{"grid-cols":[ae]}],"col-start-end":[{col:["auto",{span:["full",re,d]},d]}],"col-start":[{"col-start":ie()}],"col-end":[{"col-end":ie()}],"grid-rows":[{"grid-rows":[ae]}],"row-start-end":[{row:["auto",{span:[re,d]},d]}],"row-start":[{"row-start":ie()}],"row-end":[{"row-end":ie()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",d]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",d]}],gap:[{gap:[u]}],"gap-Ie":[{"gap-Ie":[u]}],"gap-y":[{"gap-y":[u]}],"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"]}],p:[{p:[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]}],Ie:[{Ie:[y]}],mt:[{mt:[y]}],mr:[{mr:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-Ie":[{"space-Ie":[qe]}],"space-Ie-reverse":["space-Ie-reverse"],"space-y":[{"space-y":[qe]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",d,t]}],"min-w":[{"min-w":[d,t,"min","max","fit"]}],"max-w":[{"max-w":[d,t,"none","full","min","max","fit","prose",{screen:[Y]},Y]}],h:[{h:[d,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[d,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[d,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[d,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Y,H]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Ae]}],"font-family":[{font:[ae]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",d]}],"line-clamp":[{"line-clamp":["none",J,Ae]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",G,d]}],"list-image":[{"list-image":["none",d]}],"list-style-type":[{list:["none","disc","decimal",d]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[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:[...ce(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",G,H]}],"underline-offset":[{"underline-offset":["auto",G,d]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:w()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",d]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",d]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Je(),ko]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","Ie","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",wo]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},No]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[P]}],"gradient-via-pos":[{via:[P]}],"gradient-to-pos":[{to:[P]}],"gradient-from":[{from:[C]}],"gradient-via":[{via:[C]}],"gradient-to":[{to:[C]}],rounded:[{rounded:[r]}],"rounded-s":[{"rounded-s":[r]}],"rounded-e":[{"rounded-e":[r]}],"rounded-t":[{"rounded-t":[r]}],"rounded-r":[{"rounded-r":[r]}],"rounded-b":[{"rounded-b":[r]}],"rounded-l":[{"rounded-l":[r]}],"rounded-ss":[{"rounded-ss":[r]}],"rounded-se":[{"rounded-se":[r]}],"rounded-Ie":[{"rounded-Ie":[r]}],"rounded-es":[{"rounded-es":[r]}],"rounded-tl":[{"rounded-tl":[r]}],"rounded-tr":[{"rounded-tr":[r]}],"rounded-br":[{"rounded-br":[r]}],"rounded-bl":[{"rounded-bl":[r]}],"border-w":[{border:[l]}],"border-w-Ie":[{"border-Ie":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:[...ce(),"hidden"]}],"divide-Ie":[{"divide-Ie":[l]}],"divide-Ie-reverse":["divide-Ie-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:ce()}],"border-color":[{border:[s]}],"border-color-Ie":[{"border-Ie":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...ce()]}],"outline-offset":[{"outline-offset":[G,d]}],"outline-w":[{outline:[G,H]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:$e()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[G,H]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Y,Po]}],"shadow-color":[{shadow:[ae]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":[...We(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":We()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[a]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",Y,d]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[g]}],invert:[{invert:[m]}],saturate:[{saturate:[S]}],sepia:[{sepia:[$]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[g]}],"backdrop-invert":[{"backdrop-invert":[m]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[S]}],"backdrop-sepia":[{"backdrop-sepia":[$]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[n]}],"border-spacing-Ie":[{"border-spacing-Ie":[n]}],"border-spacing-y":[{"border-spacing-y":[n]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",d]}],duration:[{duration:E()}],ease:[{ease:["linear","in","out","in-out",d]}],delay:[{delay:E()}],animate:[{animate:["none","spin","ping","pulse","bounce",d]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[R]}],"scale-Ie":[{"scale-Ie":[R]}],"scale-y":[{"scale-y":[R]}],rotate:[{rotate:[re,d]}],"translate-Ie":[{"translate-Ie":[Ke]}],"translate-y":[{"translate-y":[Ke]}],"skew-Ie":[{"skew-Ie":[le]}],"skew-y":[{"skew-y":[le]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",d]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","Ie-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",d]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","Ie",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-Ie":[{"scroll-Ie":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","Ie","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-Ie":[{"touch-pan":["Ie","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",d]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[G,H,Ae]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-Ie","overflow-y"],overscroll:["overscroll-Ie","overscroll-y"],inset:["inset-Ie","inset-y","start","end","top","right","bottom","left"],"inset-Ie":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-Ie","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","Ie","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-Ie","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-Ie"],"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-Ie","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-Ie":["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-Ie":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-Ie","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-Ie","touch-y","touch-pz"],"touch-Ie":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var st=po(Io);function i(...e){return st((0,lt.clsx)(e))}var it=require("next/navigation"),M=require("react");function Ro({external:e=!1,newTab:t=!1,scroll:o=!0}){let a=(0,it.useRouter)(),s=(0,M.useRef)(null),r=(0,M.useRef)(null),n=(0,M.useRef)(0),l=(0,M.useRef)(!1),c=(0,M.useRef)(0),p=(0,M.useCallback)(m=>{if(m.target){let u=m.target,C=+new Date,P=u==null?void 0:u.closest("a");c.current=m.button,P?l.current=!0:(l.current=!1,n.current=C)}},[a,s,r,n]),g=(0,M.useCallback)(m=>{var u,C;if((u=r.current)!=null&&u.href){let b=+new Date-n.current;if((C=r.current)!=null&&C.href&&b<=250&&!l.current&&c.current===0&&!m.ctrlKey)if(e){let y=t?"_blank":"_self";window.open(r.current.href,y)}else a.push(r.current.href,{scroll:o})}},[a,s,r,n]);return(0,M.useEffect)(()=>{let m=s.current;return m&&(m.addEventListener("mousedown",p),m.addEventListener("mouseup",g)),()=>{m&&m&&(m==null||m.removeEventListener("mousedown",p),m==null||m.removeEventListener("mouseup",g))}},[s,r,a]),{card:{ref:s},link:{ref:r}}}var ct=Ro;var ft=L(require("next/link"));var dt=L(require("next/image")),Ie=require("react/jsx-runtime"),So={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},pt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABchJREFUWEdtlwtTG0kMhHtGM7N+AAdcDsjj///EBLzenbtuadbLJaZUTlHB+tRqSesETB3IABqQG1KbUFqDlQorBSmboqeEBcC1d8zrCixXYGZcgMsFmH8B+AngHdurAmXKOE8nHOoBrU6opcGswPi5KSP9CcBaQ9kACJH/ALAA1xm4zMD8AczvQCcAQeJVAZsy7nYApTSUzwCHUKACeUJi9TsFci7AHmDtuHYqQIC9AgQYKnSwNAig4NyOOwXq/xU47gDYggarjIpsRSEA3Fqw7AGkwgW4fgALAdiC2btKgNZwbgdMbEFpqFR2UyCR8xwAhf8bUHIGk1ckMyB5C1YkeWAdAPQBAeiD6wVYPoD1HUgXwFagZAGc6oSpTmilopoD5GzISQD3odcNIFca0BUQQM5YA2DpHV0AYURBDIAL0C+ugC0C4GedSsVUmwC8/4w8TPiwU6AClJ5RWL1PgQNkrABWdKB3YF3cBwRY5lsI4ApkKpCQi+FIgFJU/TDgDuAxAAwonJuKpGD1rkCXCR1ALyrAUSSEQAhwBdYZ6DPAgSUA2c1wKIZmRcHxMzMYR9DH8NlbkAwwApSAcABwBwTAbb6owAr0AFiZPILVEyCtMmK2jCkTwFDNUNj7nJETQx744gCUmgkZVGJUHyakEZE4W91jtGFA9KsD8Z3JFYDlhGYZLWcllwJMnplcPy+csFAgAAaIDOgeuAGoB96GLZg4kmtfMjnr6ig5oSoySsoy3ya/FMivXZWxwr0KIf9nACbfqcBEgmBSAtAlIT83R+70IWpyACamIjf5E1Iqb9ECVmnoI/FvAIRk8s2J0Y5IquQDgB+5wpScw5AUTC75VTmTs+72NUzoCvQIaAXv5Q8PDAZKLD+MxLv3RFE7KlsQChgBIlKiCv5ByaZv3gJZNm8AnVMhAN+EjrtTYQMICJpu6/0aiQnhClANlz+Bw0cIWa8ev0sBrtrhAyaXEnrfGfATQJiRKih5vKeOHNXXPFrgyamAADh0Q4F2/sESojomDS9o9k0b0H83xjB8qL+JNoTjN+enjpaBpingRh4e8MSugudM030A8FeqMI6PFIgNyPehkpZWGFEAARIQdH5LcAAqIACHkAJqg4OoBccHAuz76wr4BbzFOEa8iBuAZB8AtJHLP2VgMgJw/EIBowo7HxCAH3V6dAXEE/vZ5aZIA8BP8RKhm7Cp8BnAMnAQADdgQDA520AVIpScP+enHz0Gwp25h4i2dPg5FkDXrbsdJikQwXuWgaM5gEMk1AgH4DKKFjDf3bMD+FjEeIxLlRKYnBk2BbquvSDCAQ4gwZiMAAmH4gBTyRtEsYxi7gP6QSrc//39BrDNqG8rtYTmC4BV1SfMhOhaumFCT87zy4pPhQBZEK1kQVRjJBBi7AOlePgyAPYjwlvtagx9e/dnQraAyS894TIkkAIEYMKEc8k4EqJ68lZ5jjNqcQC2QteQOf7659umwBgPybNtK4dg9WvnMyFwXYGP7uEO1lwJgAnPNeMYMVXbIIYKFioI4PGFt+BWPVfmWJdjW2lTUnLGCswECAgaUy86iwA1464ajo0QhgMBFGyBoZahANsMpMfXr1JA1SN29m5lqgXj+UPV85uRA7yv/KYUO4Tk7Hc1AZwbIRzg0AyNj2UlAMwfSLSMnl7fdAbcxHuA27YaAMvaQ4GOjwX4RTUGAG8Ge14N963g1AynqUiFqRX9noasxT4b8entNRQYyamk/3tYcHsO7R3XJRRYOn4tw4iUnwBM5gDnySGOreAwAGo8F9IDHEcq8Pz2Kg/oXCpuIL6tOPD8LsDn0ABYQoGFRowlsAEUPPDrGAGowAbgKsgDMmE8mDy/vXQ9IAwI7u4wta+gAdAdgB64Ah9SgD4IgGKhwACoAjgNgFDhtxY8f33ZTMjqdTAiHMBPrn8ZWkEfzFdX4Oc1AHg3+ADbvN8PU8WdFKg4Tt6CQy2+D4YHaMT/JP4XzbAq98cPDIUAAAAASUVORK5CYII=",mt=e=>{let{alt:t,fill:o,imgClassName:a,priority:s,resource:r,size:n,src:l,loading:c}=e,p,g,m=t,u=l||"";if(!u&&r&&typeof r=="object"){let{alt:b,filename:y,height:v,url:A,width:S}=r;if(v&&v>500){let R=500/v;p=S*R,g=v*R}else p=S,g=v;m=b||"",u=A||pt}let C=c||"lazy",P=n||Object.entries(So).map(([,b])=>`(max-width: ${b}px) ${b*2}w`).join(", ");return(0,Ie.jsx)("picture",{children:(0,Ie.jsx)(dt.default,{alt:m||"",className:i(a),fill:o,height:o?void 0:g,placeholder:"blur",blurDataURL:pt,priority:C!=="lazy"&&s,quality:100,loading:C,sizes:P,src:u,width:o?void 0:p})})};var ut=e=>{let{onClick:t,resource:o,videoClassName:a}=e,s=(0,M.useRef)(null);if((0,M.useEffect)(()=>{let{current:r}=s;r&&r.addEventListener("suspend",()=>{})},[]),o&&typeof o=="object"){let{filename:r}=o;return(0,Ie.jsx)("video",{autoPlay:!0,className:i(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:s,children:(0,Ie.jsx)("source",{src:o.url||""})})}return null};var V=e=>{var n;let{className:t,htmlElement:o="div",resource:a}=e,s=typeof a=="object"&&((n=a==null?void 0:a.mimeType)==null?void 0:n.includes("video"));return(0,Ie.jsx)(o||M.Fragment,{...o!==null?{className:t}:{},children:s?(0,Ie.jsx)(ut,{...e}):(0,Ie.jsx)(mt,{...e})})};var Me=e=>{let{card:t,link:o}=ct({}),{className:a,doc:s,relationTo:r,showCategories:n,title:l}=e,{slug:c,categories:p,meta:g,title:m}=s||{},{description:u,image:C}=g||{},P=p&&Array.isArray(p)&&p.length>0,b=l||m,y=u==null?void 0:u.replace(/\s/g," "),v=`/${r}/${c}`;return(0,Ie.jsxs)("article",{className:i("border border-border rounded-lg overflow-hidden bg-card hover:cursor-pointer",a),ref:t.ref,children:[(0,Ie.jsxs)("div",{className:"relative w-full ",children:[!C&&(0,Ie.jsx)("div",{className:"",children:"No image"}),C&&typeof C!="string"&&(0,Ie.jsx)(V,{resource:C,size:"33vw"})]}),(0,Ie.jsxs)("div",{className:"p-4",children:[n&&P&&(0,Ie.jsx)("div",{className:"uppercase text-sm mb-4",children:n&&P&&(0,Ie.jsx)("div",{children:p==null?void 0:p.map((A,S)=>{if(typeof A=="object"){let{title:R}=A,$=R||"Untitled category",le=S===p.length-1;return(0,Ie.jsxs)(M.Fragment,{children:[$,!le&&(0,Ie.jsx)(M.Fragment,{children:", \xA0"})]},S)}return null})})}),b&&(0,Ie.jsx)("div",{className:"prose",children:(0,Ie.jsx)("h3",{children:(0,Ie.jsx)(ft.default,{className:"not-prose",href:v,ref:o.ref,children:b})})}),u&&(0,Ie.jsx)("div",{className:"mt-2",children:u&&(0,Ie.jsx)("p",{children:y})})]})]})};var Mo=e=>{let{posts:t}=e;return(0,Ie.jsx)("div",{className:i("container"),children:(0,Ie.jsx)("div",{children:(0,Ie.jsx)("div",{className:"grid grid-cols-4 sm:grid-cols-8 lg:grid-cols-12 gap-y-4 gap-Ie-4 lg:gap-y-8 lg:gap-Ie-8 xl:gap-Ie-8",children:t==null?void 0:t.map((o,a)=>typeof o=="object"&&o!==null?(0,Ie.jsx)("div",{className:"col-span-4",children:(0,Ie.jsx)(Me,{className:"h-full",doc:o,relationTo:"posts",showCategories:!0})},a):null)})})})};var bt=require("@radix-ui/react-slot"),yt=require("class-variance-authority"),ht=L(require("react")),Fe=(0,yt.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=ht.forwardRef(({asChild:e=!1,className:t,size:o,variant:a,...s},r)=>(0,Ie.jsx)(e?bt.Slot:"button",{className:i(Fe({className:t,size:o,variant:a})),ref:r,...s}));O.displayName="Button";var Le=L(require("next/link")),Z=e=>{let{type:t,appearance:o="inline",children:a,className:s,label:r,newTab:n,reference:l,size:c,url:p}=e,g=t==="reference"&&typeof(l==null?void 0:l.value)=="object"&&l.value.slug?`${(l==null?void 0:l.relationTo)!=="pages"?`/${l==null?void 0:l.relationTo}`:""}/${l.value.slug}`:p;if(!g)return null;let m=o==="link"?"clear":c,u=n?{rel:"noopener noreferrer",target:"_blank"}:{};return o==="inline"?(0,Ie.jsxs)(Le.default,{className:i(s),href:g||p||"",...u,children:[r&&r,a&&a]}):(0,Ie.jsx)(O,{asChild:!0,className:s,size:m,variant:o,children:(0,Ie.jsxs)(Le.default,{className:i(s),href:g||p||"",...u,children:[r&&r,a&&a]})})};var vt=L(require("clsx")),wt=L(require("next/image")),Fo=e=>{let{loading:t,priority:o,className:a}=e;return(0,Ie.jsx)(wt.default,{alt:"Payload Logo",width:193,height:34,loading:t||"lazy",fetchPriority:o||"low",decoding:"async",className:(0,vt.default)("max-w-[9.375rem] w-full h-[34px]",a),src:"https://raw.githubusercontent.com/payloadcms/payload/main/packages/ui/src/assets/payload-logo-light.svg"})};var Lo={plural:"Docs",singular:"Doc"},zo={posts:{plural:"Posts",singular:"Post"}},Eo=e=>{let{className:t,collection:o,collectionLabels:a,currentPage:s,limit:r,totalDocs:n}=e,l=(s?s-1:1)*(r||1)+1;n&&l>n&&(l=0);let c=(s||1)*(r||1);n&&c>n&&(c=n);let{plural:p,singular:g}=a||zo[o||""]||Lo||{};return(0,Ie.jsxs)("div",{className:[t,"font-semibold"].filter(Boolean).join(" "),children:[(typeof n=="undefined"||n===0)&&"Search produced no results.",typeof n!="undefined"&&n>0&&`Showing ${l}${l>0?` - ${c}`:""} of ${n} ${n>1?p:g}`]})};var _=require("lucide-react"),ze=L(require("react")),Ee=({className:e,...t})=>(0,Ie.jsx)("nav",{"aria-label":"pagination",className:i("mx-auto flex w-full justify-center",e),role:"navigation",...t});Ee.displayName="Pagination";var Ge=ze.forwardRef(({className:e,...t},o)=>(0,Ie.jsx)("ul",{className:i("flex flex-row items-center gap-1",e),ref:o,...t}));Ge.displayName="PaginationContent";var D=ze.forwardRef(({className:e,...t},o)=>(0,Ie.jsx)("li",{className:i("",e),ref:o,...t}));D.displayName="PaginationItem";var Q=({className:e,isActive:t,size:o="icon",...a})=>(0,Ie.jsx)("button",{"aria-current":t?"page":void 0,className:i(Fe({size:o,variant:t?"outline":"ghost"}),e),...a});Q.displayName="PaginationLink";var De=({className:e,...t})=>(0,Ie.jsxs)(Q,{"aria-label":"Go to previous page",className:i("gap-1 pl-2.5",e),size:"default",...t,children:[(0,Ie.jsx)(_.ChevronLeft,{className:"h-4 w-4"}),(0,Ie.jsx)("span",{children:"Previous"})]});De.displayName="PaginationPrevious";var Ue=({className:e,...t})=>(0,Ie.jsxs)(Q,{"aria-label":"Go to next page",className:i("gap-1 pr-2.5",e),size:"default",...t,children:[(0,Ie.jsx)("span",{children:"Next"}),(0,Ie.jsx)(_.ChevronRight,{className:"h-4 w-4"})]});Ue.displayName="PaginationNext";var ue=({className:e,...t})=>(0,Ie.jsxs)("span",{"aria-hidden":!0,className:i("flex h-9 w-9 items-center justify-center",e),...t,children:[(0,Ie.jsx)(_.MoreHorizontal,{className:"h-4 w-4"}),(0,Ie.jsx)("span",{className:"sr-only",children:"More pages"})]});ue.displayName="PaginationEllipsis";var Go=e=>{let t=(0,it.useRouter)(),{className:o,page:a,totalPages:s}=e,r=a<s,n=a>1,l=a-1>1,c=a+1<s;return(0,Ie.jsx)("div",{className:i("my-12",o),children:(0,Ie.jsx)(Ee,{children:(0,Ie.jsxs)(Ge,{children:[(0,Ie.jsx)(D,{children:(0,Ie.jsx)(De,{disabled:!n,onClick:()=>{t.push(`/posts/page/${a-1}`)}})}),l&&(0,Ie.jsx)(D,{children:(0,Ie.jsx)(ue,{})}),n&&(0,Ie.jsx)(D,{children:(0,Ie.jsx)(Q,{onClick:()=>{t.push(`/posts/page/${a-1}`)},children:a-1})}),(0,Ie.jsx)(D,{children:(0,Ie.jsx)(Q,{isActive:!0,onClick:()=>{t.push(`/posts/page/${a}`)},children:a})}),r&&(0,Ie.jsx)(D,{children:(0,Ie.jsx)(Q,{onClick:()=>{t.push(`/posts/page/${a+1}`)},children:a+1})}),c&&(0,Ie.jsx)(D,{children:(0,Ie.jsx)(ue,{})}),(0,Ie.jsx)(D,{children:(0,Ie.jsx)(Ue,{disabled:!r,onClick:()=>{t.push(`/posts/page/${a+1}`)}})})]})})})};var Pt=({className:e,content:t,style:o})=>(0,Ie.jsx)("div",{className:i("mx-auto my-8 w-full",e),children:(0,Ie.jsx)("div",{className:i("border py-3 px-6 flex items-center rounded",{"border-border bg-card":o==="info","border-error bg-error/30":o==="error","border-success bg-success/30":o==="success","border-warning bg-warning/30":o==="warning"}),children:(0,Ie.jsx)(U,{content:t,enableGutter:!1,enableProse:!1})})});function fe({className:e}){return i("flex items-center min-h-[3.5rem] md:min-h-[3.75rem] w-full rounded-5 px-4 md:px-5 py-2"," bg-transparent text-accent-800 placeholder:text-accent-800 dark:text-body dark:placeholder:text-body"," border border-solid border-accent-900 border-opacity-20 dark:border-opacity-20 dark:border-accent-200"," focus:border-accent-900 focus:ring-0 focus-visible:outline-0 focus-visible:ring-0 focus-visible:ring-offset-0","transition-all duration-300",e)}function Do({className:e,...t}){return(0,Ie.jsx)("input",{...t,className:fe({className:e})})}function be({icon:e,...t}){return(0,Ie.jsxs)("div",{className:"relative w-full",children:[(0,Ie.jsx)(Do,{...t}),e&&(0,Ie.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-y-1/2 text-accent",children:e})]})}function Uo({className:e,...t}){return(0,Ie.jsx)("textarea",{...t,className:i(fe({}),"resize-none md:min-h-[130px]",e)})}function At({icon:e,...t}){return(0,Ie.jsxs)("div",{className:"relative w-full",children:[(0,Ie.jsx)(Uo,{...t}),e&&(0,Ie.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-accent",children:e})]})}var Tt=require("formik"),It=require("react-icons/fa6"),q=L(require("yup"));async function Bt(e){let{name:t,email:o,subject:a,message:s}=e,r=process.env.TEAMS_WEBHOOK_URL;if(!r)throw new Error("TEAMS_WEBHOOK_URL is not defined");let n={type:"message",attachments:[{contentType:"application/vnd.microsoft.card.adaptive",content:{$schema:"http://adaptivecards.io/schemas/adaptive-card.json",type:"AdaptiveCard",version:"1.2",body:[{type:"TextBlock",text:"Contact Us Form",wrap:!0,style:"heading",weight:"Bolder"},{type:"ColumnSet",columns:[{type:"Column",width:"stretch",items:[{type:"TextBlock",text:"Name",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Email",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Subject",wrap:!0,weight:"Bolder"}]},{type:"Column",width:"stretch",items:[{type:"TextBlock",text:`${t}`,wrap:!0},{type:"TextBlock",text:`${o}`,wrap:!0},{type:"TextBlock",text:`${a}`,wrap:!0}]}]},{type:"TextBlock",text:`${s}`,wrap:!0}]}}]};try{let l=await fetch(r,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)});if(!l.ok)throw console.error(l),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(l){return console.error(l),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var je=require("sonner"),F={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},jo=q.object().shape({name:q.string().min(2,F.tooShort).max(50,F.tooLong).required(F.required),email:q.string().email(F.email).required(F.required),subject:q.string().min(2,F.tooShort).max(50,F.tooLong).required(F.required),message:q.string().min(2,F.tooShort).max(300,F.tooLong).required(F.required)}),ye=i("!pr-[44px] text-foreground"),he=i("!border-red-600 border"),xe=i("sr-only");function Rt(){return(0,Ie.jsx)(Tt.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:jo,onSubmit:async(e,{resetForm:t})=>{let o=await Bt(e);o.data===null?je.toast.error(o.message):(je.toast.success(o.message),t())},children:({errors:e,touched:t,values:o,handleChange:a,handleBlur:s,isSubmitting:r,handleSubmit:n})=>(0,Ie.jsxs)("form",{onSubmit:n,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,Ie.jsxs)("div",{children:[(0,Ie.jsx)(be,{placeholder:"Your Name",type:"text",name:"name",value:o.name,onChange:a,onBlur:s,disabled:r,icon:(0,Ie.jsx)(It.FaUser,{className:"text-primary"}),className:i(ye,e.name&&t.name&&he)}),e.name&&t.name&&(0,Ie.jsx)("p",{title:e.name,"aria-live":"polite",role:"error message",className:xe,children:e.name})]}),(0,Ie.jsxs)("div",{children:[(0,Ie.jsx)(be,{placeholder:"Your Email",type:"email",name:"email",value:o.email,onChange:a,onBlur:s,disabled:r,icon:(0,Ie.jsx)(Ho,{}),className:i(ye,e.email&&t.email&&he)}),e.email&&t.email&&(0,Ie.jsx)("p",{title:e.email,"aria-live":"polite",role:"error message",className:xe,children:e.email})]}),(0,Ie.jsxs)("div",{className:"lg:col-span-2",children:[(0,Ie.jsx)(be,{placeholder:"Subject",type:"text",name:"subject",value:o.subject,onChange:a,onBlur:s,disabled:r,className:i(ye,e.subject&&t.subject&&he)}),e.subject&&t.subject&&(0,Ie.jsx)("p",{title:e.subject,"aria-live":"polite",role:"error message",className:xe,children:e.subject})]}),(0,Ie.jsxs)("div",{className:"lg:col-span-2",children:[(0,Ie.jsx)(At,{placeholder:"Message...",name:"message",value:o.message,onChange:a,onBlur:s,disabled:r,icon:(0,Ie.jsx)(Yo,{}),className:i(ye,e.message&&t.message&&he)}),e.message&&t.message&&(0,Ie.jsx)("p",{title:e.message,"aria-live":"polite",role:"error message",className:xe,children:e.message})]}),(0,Ie.jsx)("div",{className:"lg:col-span-2 light grid justify-items-center",children:(0,Ie.jsx)(O,{type:"submit",className:"outline px-6 rounded-full outline-accent bg-background text-foreground hover:bg-accent hover:text-accent-foreground",disabled:r,children:"Send"})})]})})}function Ho(){return(0,Ie.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:(0,Ie.jsx)("path",{d:"M14.9727 1.76172L13.2227 13.1094C13.1953 13.3828 13.0312 13.6289 12.7852 13.7656C12.6484 13.8203 12.5117 13.875 12.3477 13.875C12.2383 13.875 12.1289 13.8477 12.0195 13.793L8.68359 12.3984L7.28906 14.4766C7.17969 14.668 6.98828 14.75 6.79688 14.75C6.49609 14.75 6.25 14.5039 6.25 14.2031V11.5781C6.25 11.3594 6.30469 11.168 6.41406 11.0312L12.375 3.375L4.33594 10.6211L1.51953 9.44531C1.21875 9.30859 1 9.03516 1 8.67969C0.972656 8.29688 1.13672 8.02344 1.4375 7.85938L13.6875 0.886719C13.9609 0.722656 14.3438 0.722656 14.6172 0.914062C14.8906 1.10547 15.0273 1.43359 14.9727 1.76172Z"})})}function Yo(){return(0,Ie.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:(0,Ie.jsx)("path",{d:"M12.6875 0.5C13.3984 0.5 14 1.10156 14 1.8125C14 2.25 13.7812 2.63281 13.4531 2.87891L7.51953 7.33594C7.19141 7.58203 6.78125 7.58203 6.45312 7.33594L0.519531 2.87891C0.191406 2.63281 0 2.25 0 1.8125C0 1.10156 0.574219 0.5 1.3125 0.5H12.6875ZM5.93359 8.04688C6.5625 8.51172 7.41016 8.51172 8.03906 8.04688L14 3.5625V9.25C14 10.2344 13.207 11 12.25 11H1.75C0.765625 11 0 10.2344 0 9.25V3.5625L5.93359 8.04688Z"})})}var Mt=({links:e,richText:t})=>{let[o,a]=(0,M.useState)(!1),s="accent",r=()=>a(!0),n=()=>a(!1),l=c=>{c.target===c.currentTarget&&n()};return(0,Ie.jsxs)("div",{className:i("relative isolate overflow-hidden",s==="accent"?"bg-accent":"bg-black"),children:[(0,Ie.jsx)("div",{className:"px-6 py-24 sm:px-6 sm:py-32 lg:px-8",children:(0,Ie.jsxs)("div",{className:"mx-auto max-w-2xl text-center prose",children:[t&&(0,Ie.jsx)(U,{className:"mb-0 prose-headings:text-white prose-h2:text-white prose-p:text-white text-white",content:t,enableGutter:!1}),(0,Ie.jsx)("div",{className:"mt-10 flex items-center justify-center gap-Ie-6",children:(0,Ie.jsx)("div",{className:"flex flex-col gap-8 text-white",children:(e||[]).map(({link:c},p)=>(c==null?void 0:c.url)==="/contact"?(0,Ie.jsx)("div",{onClick:r,className:i("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",s==="accent"?"border-white bg-accent":"border-accent bg-black"),children:c.label},p):(0,Ie.jsx)(Z,{size:"lg",className:i("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",s==="accent"?"border-white bg-accent":"border-accent bg-black"),...c},p))})})]})}),o&&(0,Ie.jsx)("div",{className:"absolute inset-0 Ie-50 flex items-center justify-center bg-black bg-opacity-50",onClick:l,children:(0,Ie.jsxs)("div",{className:"bg-white p-6 pt-10 rounded-lg shadow-lg w-full max-w-lg light relative",children:[(0,Ie.jsx)("button",{className:"absolute top-4 right-4 text-gray-500 hover:text-gray-700",onClick:n,children:"\u2715"}),(0,Ie.jsx)(Rt,{})," "]})})]})};var ve=require("prism-react-renderer");function zt({code:e}){let[t,o]=(0,M.useState)("Copy");function a(){t==="Copy"&&(o(()=>"Copied!"),setTimeout(()=>{o(()=>"Copy")},1e3))}return(0,Ie.jsx)("div",{className:"flex justify-end align-middle",children:(0,Ie.jsxs)(O,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,Ie.jsx)("p",{children:t}),(0,Ie.jsx)("div",{className:"w-6 h-6",children:(0,Ie.jsx)(_.ClipboardCopy,{})})]})})}var Et=({code:e,language:t=""})=>e?(0,Ie.jsx)(ve.Highlight,{code:e,language:t,theme:ve.themes.vsDark,children:({getLineProps:o,getTokenProps:a,tokens:s})=>(0,Ie.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-Ie-auto",children:[s.map((r,n)=>(0,Ie.jsxs)("div",{...o({className:"table-row",line:r}),children:[(0,Ie.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:n+1}),(0,Ie.jsx)("span",{className:"table-cell pl-4",children:r.map((l,c)=>(0,Ie.jsx)("span",{...a({token:l})},c))})]},n)),(0,Ie.jsx)(zt,{code:e})]})}):null;var Gt=({className:e,code:t,language:o})=>(0,Ie.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Ie.jsx)(Et,{code:t,language:o})});var Dt=e=>{let{className:t,enableGutter:o=!0,imgClassName:a,media:s,staticImage:r}=e;return(0,Ie.jsx)("div",{className:i("h-full ",{container:o},t),children:(0,Ie.jsx)(V,{imgClassName:i("rounded-[0.8rem]",a),className:"flex justify-center",resource:s,src:r})})};var Ut=e=>{let{className:t,enableGutter:o=!0,imgClassName:a,media:s,staticImage:r}=e;return(0,Ie.jsx)("div",{className:i("",{container:o},t),children:(0,Ie.jsx)(V,{imgClassName:i("rounded-[0.8rem]",a),resource:s,src:r})})};var Oe=({type:e="solid",iconName:t="cloud",size:o="lg",className:a})=>{let s=e.includes("fa-")?e+" ":"fa-"+e+" ",r="fa-"+t,n=a!=null?a:"",l=s+r+" fa-"+o+" "+n;return(0,Ie.jsx)("i",{className:l})};var Yt=L(require("next/image"));function Ht(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function Qe({image:e,icon:t,title:o,subtitle:a,content:s,statistic:r,settings:n,link:l,className:c}){var m,u;let p={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:"bg-background"},g={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,Ie.jsxs)("a",{href:(l==null?void 0:l.url)||"#",className:i("min-w-56 max-w-xl h-full flex flex-col group bg-background",e?"p-0":"p-6 md:p-8",n&&!e&&p[(n==null?void 0:n.card)==="default"?"solid":n==null?void 0:n.card],e&&"bg-foreground",n&&(n==null?void 0:n.card)==="outline"?"text-gray-900":"text-white",g[(m=n==null?void 0:n.width)!=null?m:"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",n&&`intersect:animate-delay-${n.order||1}00`,c),children:[e&&(0,Ie.jsx)("div",{className:"relative aspect-[16/9] w-full",children:(0,Ie.jsx)(Yt.default,{src:e.url||"/placeholder.svg",alt:e.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),(0,Ie.jsxs)("div",{className:i(e?"p-6 md:p-8":"p-0","flex flex-col flex-grow"),children:[(0,Ie.jsxs)("div",{className:"flex flex-col flex-grow",children:[a&&(0,Ie.jsx)("div",{className:"text-primary uppercase text-sm font-light mb-4",children:a}),(0,Ie.jsx)("div",{className:"flex items-start gap-4 mb-4",children:(0,Ie.jsx)(Vo,{icon:{type:(t==null?void 0:t.type)||"fa-light",iconName:(t==null?void 0:t.icon)||"no-icon-error"},heading:o!=null?o:"",variant:(n==null?void 0:n.card)==="default"?"solid":(u=n==null?void 0:n.card)!=null?u:"solid",iconSize:(n==null?void 0:n.iconSize)||"large"})}),s&&typeof s=="object"&&(0,Ie.jsx)(U,{enableGutter:!1,content:s,enableProse:!1,className:i("prose-sm prose-p:text-lg prose-headings:text-xl","space-y-3",(n==null?void 0:n.card)==="outline"||(n==null?void 0:n.card)==="light"?"prose-headings:text-foreground prose-p:text-foreground prose-a:text-foreground":"prose-headings:text-white prose-p:text-gray-100 prose-a:text-gray-100",e&&"prose-headings:text-background prose-p:text-background")}),s&&typeof s=="string"&&(0,Ie.jsx)("div",{className:i("prose-sm prose-p:text-lg prose-headings:text-xl","space-y-3",(n==null?void 0:n.card)==="outline"||(n==null?void 0:n.card)==="light"?"prose text-foreground":"prose text-gray-100",e&&"prose text-background"),children:s})]}),l&&l.url&&(0,Ie.jsx)("div",{className:"mt-6",children:(0,Ie.jsx)("span",{className:"text-accent font-semibold uppercase text-sm block hover:text-accent/80 transition-colors",children:(l==null?void 0:l.label)||"Find out more"})})]})]})}var Vo=({icon:e,heading:t,variant:o,iconSize:a,subtitle:s})=>e&&a==="small"&&e.iconName!="no-icon-error"?(0,Ie.jsxs)("div",{className:"flex items-start justify-between w-full mb-2",children:[(0,Ie.jsx)("div",{className:i(o==="outline"||o==="light"?"text-primary":"text-white",a==="small"?"text-2xl":"text-3xl"),children:t}),Ht(e)&&(0,Ie.jsx)("div",{className:i("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",o==="outline"||o==="light"?"text-primary":"text-white",a==="small"?"-mr-2 ml-1 mt-1":""),children:(0,Ie.jsx)(Oe,{type:e.type,iconName:e.iconName,size:"2x"})})]}):e&&e.iconName!="no-icon-error"?(0,Ie.jsxs)("div",{className:"flex flex-col gap-4",children:[Ht(e)&&(0,Ie.jsx)("div",{className:i("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",o==="outline"||o==="light"?"text-accent":""),children:(0,Ie.jsx)(Oe,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,Ie.jsx)("h3",{className:i("font-normal",o==="outline"||o==="light"?"text-2xl text-primary":"text-3xl text-white"),children:t})]}):(0,Ie.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,Ie.jsx)("div",{className:i("font-regular",o==="outline"||o==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var Vt=({title:e,description:t,features:o,id:a,nested:s=!1})=>(0,Ie.jsxs)("section",{className:i(s?"w-full":"container",""),children:[(0,Ie.jsxs)("div",{className:"prose prose:max-w-none",children:[e&&(0,Ie.jsx)("h2",{className:"mb-6 mt-0 text-primary",id:a||"",children:e}),t&&typeof t=="string"&&(0,Ie.jsx)("p",{className:"mb-5 text-foreground",children:t}),t&&typeof t=="object"&&(0,Ie.jsx)("div",{className:"mb-5 text-foreground",children:(0,Ie.jsx)(U,{content:t,enableGutter:!1})})]}),(0,Ie.jsx)("div",{className:`grid gap-6 mt-6 md:grid-cols-${o?o.length>2?2:o.length:1} lg:grid-cols-${o?o.length>3?3:o.length:1}`,children:o&&o.map((r,n)=>{var c;let l=()=>{if(r.icon&&"type"in r.icon&&r.icon.type!=="none")return{type:r.icon.type,icon:r.icon.icon}};return(0,Ie.jsx)(Qe,{title:r.title||"",content:r.content||void 0,statistic:r.statistic||void 0,settings:{...r.settings,width:"auto",order:n},link:r.link?{...r.link,label:"Learn more"}:void 0,icon:(c=l())!=null?c:{type:"none",icon:null}},n)})})]});var we=L(require("react"));function se({nodes:e}){return(0,Ie.jsx)(we.Fragment,{children:e==null?void 0:e.map((t,o)=>{if(t==null)return null;if(t.type==="text"&&t.text){let r=(0,Ie.jsx)(we.default.Fragment,{children:t.text},o);return t.format&1&&(r=(0,Ie.jsx)("strong",{children:r},o)),t.format&2&&(r=(0,Ie.jsx)("em",{children:r},o)),t.format&4&&(r=(0,Ie.jsx)("span",{style:{textDecoration:"line-through"},children:r},o)),t.format&8&&(r=(0,Ie.jsx)("span",{style:{textDecoration:"underline"},children:r},o)),t.format&16&&(r=(0,Ie.jsx)("code",{children:t.text},o)),t.format&32&&(r=(0,Ie.jsx)("sub",{children:r},o)),t.format&64&&(r=(0,Ie.jsx)("sup",{children:r},o)),r}if(t.type==="table")return(0,Ie.jsx)("table",{children:(0,Ie.jsx)("tbody",{children:t.children.map((r,n)=>(0,Ie.jsx)("tr",{children:r.children.map((l,c)=>(0,Ie.jsx)("td",{children:se({nodes:l.children})},c))},n))})},o);let a=r=>{if(r.children==null)return null;if((r==null?void 0:r.type)==="list"&&(r==null?void 0:r.listType)==="check")for(let n of r.children)"checked"in n&&(n!=null&&n.checked||(n.checked=!1));return se({nodes:r.children})},s="children"in t?a(t):"";if(t.type==="block"){let r=t.fields,n=r==null?void 0:r.blockType;if(!r||!n)return null;switch(n){case"cta":return(0,Ie.jsx)(Mt,{...r},o);case"mediaBlock":return(0,Ie.jsx)(Dt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...r,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},o);case"imageBlock":return(0,Ie.jsx)(Ut,{className:"col-start-1 col-span-3",imgClassName:"m-0",...r,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},o);case"banner":return(0,Ie.jsx)(Pt,{className:"col-start-2 mb-4",...r},o);case"code":return(0,Ie.jsx)(Gt,{className:"col-start-2",...r},o);case"features":return(0,Ie.jsx)(Vt,{...r,nested:!0},o);case"reusableContentBlock":se({nodes:r.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,Ie.jsx)("br",{className:"col-start-2"},o);case"paragraph":return(0,Ie.jsx)("p",{className:"col-start-2",children:s},o);case"heading":{let r=t==null?void 0:t.tag;return(0,Ie.jsx)(r,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:s},o)}case"list":{let r=t==null?void 0:t.tag;return(0,Ie.jsx)(r,{className:"list col-start-2",children:s},o)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,Ie.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:s},o):(0,Ie.jsx)("li",{value:t==null?void 0:t.value,children:s},o);case"quote":return(0,Ie.jsx)("blockquote",{className:"col-start-2",children:s},o);case"link":{let r=t.fields;return(0,Ie.jsx)(Z,{newTab:!!(r!=null&&r.newTab),reference:r.doc,type:r.linkType==="internal"?"reference":"custom",url:r.url,children:s},o)}case"autolink":{let r=t.fields;return(0,Ie.jsx)(Z,{newTab:!!(r!=null&&r.newTab),reference:r.doc,type:r.linkType==="internal"?"reference":"custom",url:r.url,children:s},o)}default:return null}})})}var U=({className:e,content:t,enableGutter:o=!0,enableProse:a=!0})=>{var s;return t?(0,Ie.jsx)("div",{className:i({"container ":o,"max-w-none":!o,"mx-auto prose":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&se({nodes:(s=t==null?void 0:t.root)==null?void 0:s.children})}):null};0&&(module.exports={CMSLink,Card,CollectionArchive,Logo,Media,PageRange,PayloadPagination,RichText});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as g}from"../../chunk-6YV7RK6Q.mjs";import{a as h}from"../../chunk-NRL4U42W.mjs";import{a as e}from"../../chunk-
|
|
1
|
+
import{a as g}from"../../chunk-6YV7RK6Q.mjs";import{a as h}from"../../chunk-NRL4U42W.mjs";import{a as e}from"../../chunk-KEPEJWQO.mjs";import{a as f}from"../../chunk-AUBKJ4XO.mjs";import"../../chunk-6LKCK2EH.mjs";import{a as d}from"../../chunk-J2IXHXCA.mjs";import"../../chunk-6P7CY367.mjs";import{f as c}from"../../chunk-HPMQRCDC.mjs";import"../../chunk-O5BAW5XQ.mjs";import{a}from"../../chunk-44VMK4FL.mjs";import"../../chunk-L2QAYSRV.mjs";import"../../chunk-NOEITQK2.mjs";import"../../chunk-EG6XIOOJ.mjs";import"../../chunk-MMBUMBDU.mjs";import"../../chunk-CTKUF2I6.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-OI2YT2ZF.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-UKJ3TIPX.mjs";import"../../chunk-6LPSD3MQ.mjs";import{a as b}from"../../chunk-SQWRG4U3.mjs";import"../../chunk-WLBZXBU3.mjs";import"../../chunk-FPQBVIUS.mjs";import"../../chunk-Z2PPN7EJ.mjs";import"../../chunk-6WLJQKDF.mjs";import"../../chunk-PZT3KAUV.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as CMSLink,d as Card,e as CollectionArchive,f as Logo,b as Media,g as PageRange,h as PayloadPagination,c as RichText};
|