cortex-react-components 1.34.2 → 1.36.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-3ZQYE7M3.mjs → chunk-2EO72N63.mjs} +1 -1
- package/dist/chunk-3733OXCB.mjs +4 -0
- package/dist/{chunk-NZHUMOVD.mjs → chunk-3BWKZ2AC.mjs} +1 -1
- package/dist/chunk-65EMMROH.mjs +4 -0
- package/dist/{chunk-LHFZLDTD.mjs → chunk-7IV34VAC.mjs} +1 -1
- package/dist/{chunk-AO2FTKDA.mjs → chunk-BXWPTVDJ.mjs} +1 -1
- package/dist/chunk-CISFEKNL.mjs +4 -0
- package/dist/{chunk-XKUS4OC7.mjs → chunk-CWNEDSLD.mjs} +1 -1
- package/dist/{chunk-OBJPMP7L.mjs → chunk-DVCY7MNO.mjs} +1 -1
- package/dist/{chunk-OZ3WPHBH.mjs → chunk-HEWOGZDB.mjs} +1 -1
- package/dist/{chunk-OVAOTY36.mjs → chunk-IEVZUW7N.mjs} +1 -1
- package/dist/{chunk-PIHQ5WLE.mjs → chunk-IVJW45UL.mjs} +1 -1
- package/dist/chunk-LWOUUDOC.mjs +1 -0
- package/dist/{chunk-ULKXH4YN.mjs → chunk-MBCAGZ76.mjs} +1 -1
- package/dist/{chunk-A2QVFCP5.mjs → chunk-NSZZ2RZ3.mjs} +1 -1
- package/dist/chunk-NWW7KWJK.mjs +1 -0
- package/dist/{chunk-LXAGAIOE.mjs → chunk-OTP4FNET.mjs} +1 -1
- package/dist/chunk-P7QWSYDQ.mjs +1 -0
- package/dist/{chunk-3IHGGPRN.mjs → chunk-PEHJ7PCK.mjs} +1 -1
- package/dist/{chunk-6ZXYKK6J.mjs → chunk-TV5773SX.mjs} +1 -1
- package/dist/{chunk-FOMIQYMA.mjs → chunk-U4NCHUCT.mjs} +1 -1
- package/dist/{chunk-ZNC5NNDY.mjs → chunk-UIEJGUWN.mjs} +1 -1
- package/dist/chunk-UWVW5NGP.mjs +1 -0
- package/dist/{chunk-LQZTCLMG.mjs → chunk-Y2KKUQDU.mjs} +2 -2
- package/dist/{chunk-O2DBG3NV.mjs → chunk-ZK6ABH6O.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/Content.js +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.d.ts +4 -5
- package/dist/components/Blocks/FeaturesBlock.js +1 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.js +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
- package/dist/components/Blocks/RelatedPosts.js +1 -1
- package/dist/components/Blocks/RelatedPosts.mjs +1 -1
- package/dist/components/Blocks/RenderBlocks.js +1 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/index.js +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/Cards/EventCard.js +2 -2
- package/dist/components/Cards/EventCard.mjs +1 -1
- package/dist/components/Cards/EventCard.stories.js +2 -2
- package/dist/components/Cards/EventCard.stories.mjs +1 -1
- package/dist/components/Cards/index.js +2 -2
- 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/HeaderFooter/index.mjs +1 -1
- package/dist/components/Heros/HighImpact/index.js +1 -1
- package/dist/components/Heros/HighImpact/index.mjs +1 -1
- package/dist/components/Heros/LowImpact/index.js +1 -1
- package/dist/components/Heros/LowImpact/index.mjs +1 -1
- package/dist/components/Heros/MediumImpact/index.js +1 -1
- package/dist/components/Heros/MediumImpact/index.mjs +1 -1
- package/dist/components/Heros/PostHero/index.js +1 -1
- package/dist/components/Heros/PostHero/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.d.ts +8 -0
- package/dist/components/Heros/RenderHero.js +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/SectionHero/index.js +1 -1
- package/dist/components/Heros/SectionHero/index.mjs +1 -1
- package/dist/components/Heros/index.js +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Layouts/BlogList.js +3 -3
- package/dist/components/Layouts/BlogList.mjs +1 -1
- package/dist/components/Layouts/BlogList.stories.js +3 -3
- package/dist/components/Layouts/BlogList.stories.mjs +1 -1
- package/dist/components/Layouts/index.js +3 -3
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Menus/Categories.js +1 -1
- package/dist/components/Menus/Categories.mjs +1 -1
- package/dist/components/Menus/Categories.stories.js +1 -1
- package/dist/components/Menus/Categories.stories.mjs +1 -1
- package/dist/components/Menus/index.js +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/Payload/Link/index.d.ts +1 -1
- package/dist/components/Payload/Link/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.d.ts +2 -2
- 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/globals.css +1 -1
- package/dist/index.js +7 -7
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/pages/Blog.js +1 -1
- package/dist/pages/Blog.mjs +1 -1
- package/dist/pages/Blog.stories.js +1 -1
- package/dist/pages/Blog.stories.mjs +1 -1
- package/dist/pages/Documentation.mjs +1 -1
- package/dist/pages/Documentation.stories.mjs +1 -1
- package/dist/pages/IndexPage.mjs +1 -1
- package/dist/pages/IndexPage.stories.mjs +1 -1
- package/dist/pages/Intranet.js +2 -2
- package/dist/pages/Intranet.mjs +1 -1
- package/dist/pages/Intranet.stories.js +2 -2
- package/dist/pages/Intranet.stories.mjs +1 -1
- package/dist/pages/LandingPage.mjs +1 -1
- package/dist/pages/LandingPage.stories.mjs +1 -1
- package/dist/pages/Page.js +1 -1
- package/dist/pages/Page.mjs +1 -1
- package/dist/pages/Page.stories.js +190 -190
- package/dist/pages/Page.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/payload-types.d.ts +479 -111
- package/dist/payload-types.js +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/BlogListSection.js +1 -1
- package/dist/sections/BlogListSection.mjs +1 -1
- package/dist/sections/BlogListSection.stories.js +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/MainPageSection.js +1 -1
- package/dist/sections/MainPageSection.mjs +1 -1
- package/dist/sections/PricingSection.js +1 -1
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/PricingSection.stories.js +1 -1
- package/dist/sections/PricingSection.stories.mjs +1 -1
- package/dist/sections/form/index.mjs +1 -1
- package/dist/sections/index.js +1 -1
- package/dist/sections/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-3FTRFEVM.mjs +0 -4
- package/dist/chunk-456IOI6A.mjs +0 -1
- package/dist/chunk-BBLJ3L2P.mjs +0 -1
- package/dist/chunk-GFTFZ7JY.mjs +0 -4
- package/dist/chunk-K6CEB2MJ.mjs +0 -4
- package/dist/chunk-MZ45XGZG.mjs +0 -1
- package/dist/chunk-S7CP4YF5.mjs +0 -1
- package/dist/chunk-YAH6C5YX.mjs +0 -1
- package/dist/chunk-ZE5A5R73.mjs +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";var gt=Object.create;var ee=Object.defineProperty;var ft=Object.getOwnPropertyDescriptor;var bt=Object.getOwnPropertyNames;var ht=Object.getPrototypeOf,yt=Object.prototype.hasOwnProperty;var At=(e,t)=>{for(var r in t)ee(e,r,{get:t[r],enumerable:!0})},Be=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of bt(t))!yt.call(e,s)&&s!==r&&ee(e,s,{get:()=>t[s],enumerable:!(n=ft(t,s))||n.enumerable});return e};var T=(e,t,r)=>(r=e!=null?gt(ht(e)):{},Be(t||!e||!e.__esModule?ee(r,"default",{value:e,enumerable:!0}):r,e)),xt=e=>Be(ee({},"__esModule",{value:!0}),e);var sr={};At(sr,{BlogDetail:()=>nr});module.exports=xt(sr);var Te="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Z";var De=require("clsx");var fe="-",Ct=e=>{let t=wt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:i=>{let a=i.split(fe);return a[0]===""&&a.length!==1&&a.shift(),Ie(a,t)||vt(i)},getConflictingClassGroupIds:(i,a)=>{let c=r[i]||[];return a&&n[i]?[...c,...n[i]]:c}}},Ie=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],n=t.nextPart.get(r),s=n?Ie(e.slice(1),n):void 0;if(s)return s;if(t.validators.length===0)return;let o=e.join(fe);return(i=t.validators.find(({validator:a})=>a(o)))==null?void 0:i.classGroupId},Me=/^\[(.+)\]$/,vt=e=>{if(Me.test(e)){let t=Me.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},wt=e=>{let{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return Pt(Object.entries(e.classGroups),r).forEach(([o,i])=>{ge(i,n,o,t)}),n},ge=(e,t,r,n)=>{e.forEach(s=>{if(typeof s=="string"){let o=s===""?t:Se(t,s);o.classGroupId=r;return}if(typeof s=="function"){if(kt(s)){ge(s(n),t,r,n);return}t.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([o,i])=>{ge(i,Se(t,o),r,n)})})},Se=(e,t)=>{let r=e;return t.split(fe).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},kt=e=>e.isThemeGetter,Pt=(e,t)=>t?e.map(([r,n])=>{let s=n.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,a])=>[t+i,a])):o);return[r,s]}):e,Nt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map,s=(o,i)=>{r.set(o,i),t++,t>e&&(t=0,n=r,r=new Map)};return{get(o){let i=r.get(o);if(i!==void 0)return i;if((i=n.get(o))!==void 0)return s(o,i),i},set(o,i){r.has(o)?r.set(o,i):s(o,i)}}},Ee="!",Rt=e=>{let{separator:t,experimentalParseClassName:r}=e,n=t.length===1,s=t[0],o=t.length,i=a=>{let c=[],u=0,h=0,x;for(let y=0;y<a.length;y++){let v=a[y];if(u===0){if(v===s&&(n||a.slice(y,y+o)===t)){c.push(a.slice(h,y)),h=y+o;continue}if(v==="/"){x=y;continue}}v==="["?u++:v==="]"&&u--}let A=c.length===0?a:a.substring(h),C=A.startsWith(Ee),w=C?A.substring(1):A,g=x&&x>h?x-h:void 0;return{modifiers:c,hasImportantModifier:C,baseClassName:w,maybePostfixModifierPosition:g}};return r?a=>r({className:a,parseClassName:i}):i},Bt=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(n=>{n[0]==="["?(t.push(...r.sort(),n),r=[]):r.push(n)}),t.push(...r.sort()),t},Tt=e=>({cache:Nt(e.cacheSize),parseClassName:Rt(e),...Ct(e)}),Mt=/\s+/,St=(e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:s}=t,o=[],i=e.trim().split(Mt),a="";for(let c=i.length-1;c>=0;c-=1){let u=i[c],{modifiers:h,hasImportantModifier:x,baseClassName:A,maybePostfixModifierPosition:C}=r(u),w=!!C,g=n(w?A.substring(0,C):A);if(!g){if(!w){a=u+(a.length>0?" "+a:a);continue}if(g=n(A),!g){a=u+(a.length>0?" "+a:a);continue}w=!1}let y=Bt(h).join(":"),v=x?y+Ee:y,k=v+g;if(o.includes(k))continue;o.push(k);let E=s(g,w);for(let L=0;L<E.length;++L){let W=E[L];o.push(v+W)}a=u+(a.length>0?" "+a:a)}return a};function It(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Le(t))&&(n&&(n+=" "),n+=r);return n}var Le=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=Le(e[n]))&&(r&&(r+=" "),r+=t);return r};function Et(e,...t){let r,n,s,o=i;function i(c){let u=t.reduce((h,x)=>x(h),e());return r=Tt(u),n=r.cache.get,s=r.cache.set,o=a,a(c)}function a(c){let u=n(c);if(u)return u;let h=St(c,r);return s(c,h),h}return function(){return o(It.apply(null,arguments))}}var f=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},ze=/^\[(?:([a-z-]+):)?(.+)\]$/i,Lt=/^\Ge+\/\Ge+$/,zt=new Set(["px","full","screen"]),Ht=/^(\Ge+(\.\Ge+)?)?(xs|sm|md|lg|xl)$/,Ft=/\Ge+(%|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$/,Dt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Ut=/^(inset_)?-?((\Ge+)?\.?(\Ge+)[a-z]+|0)_-?((\Ge+)?\.?(\Ge+)[a-z]+|0)/,Gt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,R=e=>U(e)||zt.has(e)||Lt.test(e),M=e=>G(e,"length",jt),U=e=>!!e&&!Number.isNaN(Number(e)),ue=e=>G(e,"number",U),J=e=>!!e&&Number.isInteger(Number(e)),Kt=e=>e.endsWith("%")&&U(e.slice(0,-1)),l=e=>ze.test(e),S=e=>Ht.test(e),Qt=new Set(["length","size","percentage"]),Vt=e=>G(e,Qt,He),Ot=e=>G(e,"position",He),Yt=new Set(["image","url"]),Jt=e=>G(e,Yt,qt),_t=e=>G(e,"",Xt),_=()=>!0,G=(e,t,r)=>{let n=ze.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1},jt=e=>Ft.test(e)&&!Dt.test(e),He=()=>!1,Xt=e=>Ut.test(e),qt=e=>Gt.test(e);var Wt=()=>{let e=f("colors"),t=f("spacing"),r=f("blur"),n=f("brightness"),s=f("borderColor"),o=f("borderRadius"),i=f("borderSpacing"),a=f("borderWidth"),c=f("contrast"),u=f("grayscale"),h=f("hueRotate"),x=f("invert"),A=f("gap"),C=f("gradientColorStops"),w=f("gradientColorStopPositions"),g=f("inset"),y=f("margin"),v=f("opacity"),k=f("padding"),E=f("saturate"),L=f("scale"),W=f("sepia"),Ce=f("skew"),ve=f("space"),we=f("translate"),ce=()=>["auto","contain","none"],de=()=>["auto","hidden","clip","visible","scroll"],pe=()=>["auto",l,t],b=()=>[l,t],ke=()=>["",R,M],Z=()=>["auto",U,l],Pe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],$=()=>["solid","dashed","dotted","double","none"],Ne=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],me=()=>["start","end","center","between","around","evenly","stretch"],Y=()=>["","0",l],Re=()=>["auto","avoid","all","avoid-page","page","left","right","column"],N=()=>[U,l];return{cacheSize:500,separator:":",theme:{colors:[_],spacing:[R,M],blur:["none","",S,l],brightness:N(),borderColor:[e],borderRadius:["none","","full",S,l],borderSpacing:b(),borderWidth:ke(),contrast:N(),grayscale:Y(),hueRotate:N(),invert:Y(),gap:b(),gradientColorStops:[e],gradientColorStopPositions:[Kt,M],inset:pe(),margin:pe(),opacity:N(),padding:b(),saturate:N(),scale:N(),sepia:Y(),skew:N(),space:b(),translate:b()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[S]}],"break-after":[{"break-after":Re()}],"break-before":[{"break-before":Re()}],"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:[...Pe(),l]}],overflow:[{overflow:de()}],"overflow-x":[{"overflow-x":de()}],"overflow-y":[{"overflow-y":de()}],overscroll:[{overscroll:ce()}],"overscroll-x":[{"overscroll-x":ce()}],"overscroll-y":[{"overscroll-y":ce()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",J,l]}],basis:[{basis:pe()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",l]}],grow:[{grow:Y()}],shrink:[{shrink:Y()}],order:[{order:["first","last","none",J,l]}],"grid-cols":[{"grid-cols":[_]}],"col-start-end":[{col:["auto",{span:["full",J,l]},l]}],"col-start":[{"col-start":Z()}],"col-end":[{"col-end":Z()}],"grid-rows":[{"grid-rows":[_]}],"row-start-end":[{row:["auto",{span:[J,l]},l]}],"row-start":[{"row-start":Z()}],"row-end":[{"row-end":Z()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",l]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",l]}],gap:[{gap:[A]}],"gap-x":[{"gap-x":[A]}],"gap-y":[{"gap-y":[A]}],"justify-content":[{justify:["normal",...me()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...me(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...me(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[k]}],px:[{px:[k]}],py:[{py:[k]}],ps:[{ps:[k]}],pe:[{pe:[k]}],pt:[{pt:[k]}],pr:[{pr:[k]}],pb:[{pb:[k]}],pl:[{pl:[k]}],Ge:[{Ge:[y]}],mx:[{mx:[y]}],my:[{my:[y]}],ms:[{ms:[y]}],me:[{me:[y]}],mt:[{mt:[y]}],mr:[{mr:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-x":[{"space-x":[ve]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[ve]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",l,t]}],"min-w":[{"min-w":[l,t,"min","max","fit"]}],"max-w":[{"max-w":[l,t,"none","full","min","max","fit","prose",{screen:[S]},S]}],h:[{h:[l,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,t,"auto","min","max","fit"]}],"font-size":[{text:["base",S,M]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ue]}],"font-family":[{font:[_]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",l]}],"line-clamp":[{"line-clamp":["none",U,ue]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",R,l]}],"list-image":[{"list-image":["none",l]}],"list-style-type":[{list:["none","disc","decimal",l]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...$(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",R,M]}],"underline-offset":[{"underline-offset":["auto",R,l]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:b()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",l]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Pe(),Ot]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Vt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Jt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[w]}],"gradient-via-pos":[{via:[w]}],"gradient-to-pos":[{to:[w]}],"gradient-from":[{from:[C]}],"gradient-via":[{via:[C]}],"gradient-to":[{to:[C]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-We":[{"rounded-We":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:[...$(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:$()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...$()]}],"outline-offset":[{"outline-offset":[R,l]}],"outline-w":[{outline:[R,M]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ke()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[R,M]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",S,_t]}],"shadow-color":[{shadow:[_]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":[...Ne(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Ne()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",S,l]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[h]}],invert:[{invert:[x]}],saturate:[{saturate:[E]}],sepia:[{sepia:[W]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[h]}],"backdrop-invert":[{"backdrop-invert":[x]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[E]}],"backdrop-sepia":[{"backdrop-sepia":[W]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",l]}],duration:[{duration:N()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:N()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[L]}],"scale-x":[{"scale-x":[L]}],"scale-y":[{"scale-y":[L]}],rotate:[{rotate:[J,l]}],"translate-x":[{"translate-x":[we]}],"translate-y":[{"translate-y":[we]}],"skew-x":[{"skew-x":[Ce]}],"skew-y":[{"skew-y":[Ce]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",l]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","We-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",l]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-Ge":[{"scroll-Ge":b()}],"scroll-mx":[{"scroll-mx":b()}],"scroll-my":[{"scroll-my":b()}],"scroll-ms":[{"scroll-ms":b()}],"scroll-me":[{"scroll-me":b()}],"scroll-mt":[{"scroll-mt":b()}],"scroll-mr":[{"scroll-mr":b()}],"scroll-mb":[{"scroll-mb":b()}],"scroll-ml":[{"scroll-ml":b()}],"scroll-p":[{"scroll-p":b()}],"scroll-px":[{"scroll-px":b()}],"scroll-py":[{"scroll-py":b()}],"scroll-ps":[{"scroll-ps":b()}],"scroll-pe":[{"scroll-pe":b()}],"scroll-pt":[{"scroll-pt":b()}],"scroll-pr":[{"scroll-pr":b()}],"scroll-pb":[{"scroll-pb":b()}],"scroll-pl":[{"scroll-pl":b()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",l]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[R,M,ue]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],Ge:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-We","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-We","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-Ge":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Fe=Et(Wt);function p(...e){return Fe((0,De.clsx)(e))}var Ge=require("react/jsx-runtime");function Ue({children:e,isFluid:t=!1,isNoPadding:r=!1,className:n=""}){let s=p("container",t&&"full-width",r&&"no-padding",n);return(0,Ge.jsx)("div",{className:s,children:e})}var Ke=T(require("next/link"));function Qe({children:e,href:t,openNewTab:r,...n}){return(0,Ge.jsx)(Ke.default,{href:t,target:r?"_blank":"_self",...n,children:e})}var pt=T(require("next/image"));var Oe=({className:e,content:t,style:r})=>(0,Ge.jsx)("div",{className:p("mx-auto my-8 w-full",e),children:(0,Ge.jsx)("div",{className:p("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,Ge.jsx)(K,{content:t,enableGutter:!1,enableProse:!1})})});var Ye=require("@radix-ui/react-slot"),Je=require("class-variance-authority"),_e=T(require("react")),Zt=(0,Je.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-primary text-primary-foreground hover:bg-primary-ON_HOVER",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-secondary/80"}}}),z=_e.forwardRef(({asChild:e=!1,className:t,size:r,variant:n,...s},o)=>(0,Ge.jsx)(e?Ye.Slot:"button",{className:p(Zt({className:t,size:r,variant:n})),ref:o,...s}));z.displayName="Button";var be=T(require("next/link")),re=e=>{let{type:t,appearance:r="inline",children:n,className:s,label:o,newTab:i,reference:a,size:c,url:u}=e,h=t==="reference"&&typeof(a==null?void 0:a.value)=="object"&&a.value.slug?`${(a==null?void 0:a.relationTo)!=="pages"?`/${a==null?void 0:a.relationTo}`:""}/${a.value.slug}`:u;if(!h)return null;let x=r==="link"?"clear":c,A=i?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,Ge.jsxs)(be.default,{className:p(s),href:h||u||"",...A,children:[o&&o,n&&n]}):(0,Ge.jsx)(z,{asChild:!0,className:s,size:x,variant:r,children:(0,Ge.jsxs)(be.default,{className:p(s),href:h||u||"",...A,children:[o&&o,n&&n]})})};var Xe=({links:e,richText:t})=>(0,Ge.jsx)("div",{className:"container",children:(0,Ge.jsxs)("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,Ge.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,Ge.jsx)(K,{className:"mb-0",content:t,enableGutter:!1})}),(0,Ge.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},n)=>(0,Ge.jsx)(re,{size:"lg",...r},n))})]})});var oe=require("prism-react-renderer");var qe=require("lucide-react"),We=require("react");function Ze({code:e}){let[t,r]=(0,We.useState)("Copy");function n(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,Ge.jsx)("div",{className:"flex justify-end align-middle",children:(0,Ge.jsxs)(z,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),n()},children:[(0,Ge.jsx)("p",{children:t}),(0,Ge.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,Ge.jsx)(qe.ClipboardCopy,{})})]})})}var $e=({code:e,language:t=""})=>e?(0,Ge.jsx)(oe.Highlight,{code:e,language:t,theme:oe.themes.vsDark,children:({getLineProps:r,getTokenProps:n,tokens:s})=>(0,Ge.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[s.map((o,i)=>(0,Ge.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,Ge.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,Ge.jsx)("span",{className:"table-cell pl-4",children:o.map((a,c)=>(0,Ge.jsx)("span",{...n({token:a})},c))})]},i)),(0,Ge.jsx)(Ze,{code:e})]})}):null;var et=({className:e,code:t,language:r})=>(0,Ge.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Ge.jsx)($e,{code:t,language:r})});var rt=T(require("next/image"));var tt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var ne=()=>{if(tt){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var $t={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},er="data:image/png;base64,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",ot=e=>{let{alt:t,fill:r,imgClassName:n,priority:s,resource:o,size:i,src:a,loading:c}=e,u,h,x=t,A=a||"";if(!A&&o&&typeof o=="object"){let{alt:g,filename:y,height:v,url:k,width:E}=o;u=E,h=v,x=g||"",A=`${ne()}${k}`}let C=c||"lazy",w=i||Object.entries($t).map(([,g])=>`(max-width: ${g}px) ${g*2}w`).join(", ");return(0,Ge.jsx)("picture",{children:(0,Ge.jsx)(rt.default,{alt:x||"",className:p(n),fill:r,height:r?void 0:h,placeholder:"blur",blurDataURL:er,priority:C!=="lazy"&&s,quality:100,loading:C,sizes:w,src:A,width:r?void 0:u})})};var nt=e=>{let{onClick:t,resource:r,videoClassName:n}=e,s=(0,We.useRef)(null);if((0,We.useEffect)(()=>{let{current:o}=s;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,Ge.jsx)("video",{autoPlay:!0,className:p(n),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:s,children:(0,Ge.jsx)("source",{src:`${ne()}/media/${o}`})})}return null};var at=e=>{var i;let{className:t,htmlElement:r="div",resource:n}=e,s=typeof n=="object"&&((i=n==null?void 0:n.mimeType)==null?void 0:i.includes("video"));return(0,Ge.jsx)(r||We.Fragment,{...r!==null?{className:t}:{},children:s?(0,Ge.jsx)(nt,{...e}):(0,Ge.jsx)(ot,{...e})})};var it=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:s,staticImage:o}=e;return(0,Ge.jsx)("div",{className:p("",{container:r},t),children:(0,Ge.jsx)(at,{imgClassName:p("border border-border rounded-[0.8rem]",n),resource:s,src:o})})};var le=T(require("react"));function ie({nodes:e}){return(0,Ge.jsx)(le.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"){let o=(0,Ge.jsx)(le.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,Ge.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,Ge.jsx)("em",{children:o},r)),t.format&4&&(o=(0,Ge.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,Ge.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,Ge.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,Ge.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,Ge.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,Ge.jsx)("table",{children:(0,Ge.jsx)("tbody",{children:t.children.map((o,i)=>(0,Ge.jsx)("tr",{children:o.children.map((a,c)=>(0,Ge.jsx)("td",{children:ie({nodes:a.children})},c))},i))})},r);let n=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let i of o.children)"checked"in i&&(i!=null&&i.checked||(i.checked=!1));return ie({nodes:o.children})},s="children"in t?n(t):"";if(t.type==="block"){let o=t.fields,i=o==null?void 0:o.blockType;if(!o||!i)return null;switch(i){case"cta":return(0,Ge.jsx)(Xe,{...o},r);case"mediaBlock":return(0,Ge.jsx)(it,{className:"col-start-1 col-span-3",imgClassName:"Ge-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,Ge.jsx)(Oe,{className:"col-start-2 mb-4",...o},r);case"code":return(0,Ge.jsx)(et,{className:"col-start-2",...o},r);default:return null}}else switch(t.type){case"linebreak":return(0,Ge.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,Ge.jsx)("p",{className:"col-start-2",children:s},r);case"heading":{let o=t==null?void 0:t.tag;return(0,Ge.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:s},r)}case"list":{let o=t==null?void 0:t.tag;return(0,Ge.jsx)(o,{className:"list col-start-2",children:s},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,Ge.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:s},r):(0,Ge.jsx)("li",{value:t==null?void 0:t.value,children:s},r);case"quote":return(0,Ge.jsx)("blockquote",{className:"col-start-2",children:s},r);case"link":{let o=t.fields;return(0,Ge.jsx)(re,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}default:return null}})})}var K=({className:e,content:t,enableGutter:r=!0,enableProse:n=!0})=>{var s;return t?(0,Ge.jsx)("div",{className:p({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":n},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&ie({nodes:(s=t==null?void 0:t.root)==null?void 0:s.children})}):null};var mt=require("next/navigation");var F=T(require("react"));var Q=F.forwardRef(({className:e,...t},r)=>(0,Ge.jsx)("div",{ref:r,className:p("rounded-xl border bg-card text-card-foreground shadow",e),...t}));Q.displayName="Card";var X=F.forwardRef(({className:e,...t},r)=>(0,Ge.jsx)("div",{ref:r,className:p("flex flex-col space-y-1.5 p-6",e),...t}));X.displayName="CardHeader";var q=F.forwardRef(({className:e,...t},r)=>(0,Ge.jsx)("div",{ref:r,className:p("font-semibold leading-none tracking-tight",e),...t}));q.displayName="CardTitle";var tr=F.forwardRef(({className:e,...t},r)=>(0,Ge.jsx)("div",{ref:r,className:p("text-sm text-muted-foreground",e),...t}));tr.displayName="CardDescription";var V=F.forwardRef(({className:e,...t},r)=>(0,Ge.jsx)("div",{ref:r,className:p("p-6 pt-0",e),...t}));V.displayName="CardContent";var rr=F.forwardRef(({className:e,...t},r)=>(0,Ge.jsx)("div",{ref:r,className:p("flex items-center p-6 pt-0",e),...t}));rr.displayName="CardFooter";var Co=p("transition-colors duration-400 hover:text-primary ease-in-out");function dt({title:e,links:t}){let r=(0,mt.useSearchParams)(),n=(0,mt.usePathname)(),{replace:s}=(0,mt.useRouter)();function o(i){console.log(i);let a=new URLSearchParams(r);i?a.set("category",i):a.delete("category"),s(`${n}?${a.toString()}`)}return(0,Ge.jsxs)(Q,{children:[(0,Ge.jsx)(X,{children:(0,Ge.jsx)(q,{className:"text-accent",children:e&&e})}),(0,Ge.jsx)(V,{children:t&&t.length>0&&(0,Ge.jsx)("nav",{"aria-label":"footer links navigation",children:(0,Ge.jsx)("ul",{className:"grid gap-2.5 ",children:t.map((i,a)=>(0,Ge.jsxs)("li",{className:"flex items-center text-sm text-primary first:pt-0 hover:cursor-pointer",onClick:c=>{c.preventDefault(),o(i.href)},children:[i.label,(0,Ge.jsx)(qe.ExternalLink,{className:"ml-1 h-3 w-3"})]},a))})})})]})}var ut=T(require("next/link"));function or({image:e,name:t,about:r,socialLinks:n}){return!e||!e.src||e.src.length<3||!t?null:(0,Ge.jsx)("div",{className:"mt-1 z-10 px-0 pt-0 lg:px-10",children:(0,Ge.jsx)(Q,{children:(0,Ge.jsxs)(V,{children:[e&&e.src&&(0,Ge.jsx)(pt.default,{src:e.src,alt:e.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:Te,className:"mx-auto mt-6 rounded-full object-cover"}),(0,Ge.jsx)("h3",{className:"font-secondary text-center py-2 text-lg leading-[1.25] text-accent md:text-xl",children:t}),(0,Ge.jsx)("p",{children:r}),n&&n.length>0&&(0,Ge.jsx)("nav",{"aria-label":"social links",children:(0,Ge.jsx)("ul",{className:"inline-flex items-center divide-x divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:n.map((s,o)=>(0,Ge.jsx)("li",{children:(0,Ge.jsx)(Qe,{href:s.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 hover:text-accents",children:(0,Ge.jsx)("span",{children:s.icon})})},o))})})]})})})}function nr({page:e,categoryList:t,edit:r=!1,path:n="/admin/collections/posts/"}){var A;if(!e)return(0,mt.notFound)();let{meta:s,populatedAuthors:o,authors:i,categories:a,content:c,title:u}=e,h={image:{src:s&&s.image&&s.image.url||void 0,alt:s&&s.image&&s.image.alt||void 0},authorName:((A=o==null?void 0:o[0])==null?void 0:A.name)||"",category:a,commentCount:0,title:u,description:(s==null?void 0:s.description)||""},x=i==null?void 0:i.map(C=>{var w,g;return{name:C.name||"",about:"",image:{src:C.profilePicture&&((g=(w=C.profilePicture.sizes)==null?void 0:w.square)==null?void 0:g.url)||"",alt:C.name||"blog author"},socialLinks:[]}});return(0,Ge.jsx)(Ue,{children:(0,Ge.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,Ge.jsx)("div",{children:(0,Ge.jsxs)("div",{className:"[&_p+Ge]:mt-4",children:[(0,Ge.jsx)("div",{className:"my-4 h-px bg-body/30 lg:my-5"}),(0,Ge.jsx)(K,{content:c,enableGutter:!1})]})}),(0,Ge.jsxs)("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:[r&&(0,Ge.jsx)("div",{className:"mt-4 lg:-mt-10 z-10 px-0 pt-0 lg:px-10",children:(0,Ge.jsxs)(Q,{children:[(0,Ge.jsx)(X,{children:(0,Ge.jsx)(q,{className:"text-accent",children:"CMS Actions"})}),(0,Ge.jsxs)(V,{children:[(0,Ge.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),(0,Ge.jsx)(ut.default,{href:`${n}${e.id}`,children:(0,Ge.jsx)(z,{variant:"outline",className:"w-full text-accent",children:"Edit"})})]})]})}),x&&x.map((C,w)=>(0,Ge.jsx)(or,{...C},w)),t&&t.links&&(0,Ge.jsx)("div",{className:"mt-4 px-0 pt-0 lg:px-10",children:(0,Ge.jsx)(dt,{links:t.links,title:t.title})})]})]})})}0&&(module.exports={BlogDetail});
|
|
4
|
+
"use strict";var bt=Object.create;var te=Object.defineProperty;var ht=Object.getOwnPropertyDescriptor;var yt=Object.getOwnPropertyNames;var At=Object.getPrototypeOf,xt=Object.prototype.hasOwnProperty;var vt=(e,t)=>{for(var r in t)te(e,r,{get:t[r],enumerable:!0})},Te=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of yt(t))!xt.call(e,n)&&n!==r&&te(e,n,{get:()=>t[n],enumerable:!(a=ht(t,n))||a.enumerable});return e};var M=(e,t,r)=>(r=e!=null?bt(At(e)):{},Te(t||!e||!e.__esModule?te(r,"default",{value:e,enumerable:!0}):r,e)),Ct=e=>Te(te({},"__esModule",{value:!0}),e);var ir={};vt(ir,{BlogDetail:()=>sr});module.exports=Ct(ir);var Se="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Z";var Ge=require("clsx");var be="-",wt=e=>{let t=Nt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:s=>{let i=s.split(be);return i[0]===""&&i.length!==1&&i.shift(),Ee(i,t)||kt(s)},getConflictingClassGroupIds:(s,i)=>{let c=r[s]||[];return i&&a[s]?[...c,...a[s]]:c}}},Ee=(e,t)=>{var s;if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),n=a?Ee(e.slice(1),a):void 0;if(n)return n;if(t.validators.length===0)return;let o=e.join(be);return(s=t.validators.find(({validator:i})=>i(o)))==null?void 0:s.classGroupId},Me=/^\[(.+)\]$/,kt=e=>{if(Me.test(e)){let t=Me.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Nt=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return Rt(Object.entries(e.classGroups),r).forEach(([o,s])=>{fe(s,a,o,t)}),a},fe=(e,t,r,a)=>{e.forEach(n=>{if(typeof n=="string"){let o=n===""?t:Ie(t,n);o.classGroupId=r;return}if(typeof n=="function"){if(Pt(n)){fe(n(a),t,r,a);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([o,s])=>{fe(s,Ie(t,o),r,a)})})},Ie=(e,t)=>{let r=e;return t.split(be).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},Pt=e=>e.isThemeGetter,Rt=(e,t)=>t?e.map(([r,a])=>{let n=a.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([s,i])=>[t+s,i])):o);return[r,n]}):e,Bt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,a=new Map,n=(o,s)=>{r.set(o,s),t++,t>e&&(t=0,a=r,r=new Map)};return{get(o){let s=r.get(o);if(s!==void 0)return s;if((s=a.get(o))!==void 0)return n(o,s),s},set(o,s){r.has(o)?r.set(o,s):n(o,s)}}},Le="!",Tt=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,n=t[0],o=t.length,s=i=>{let c=[],u=0,h=0,x;for(let y=0;y<i.length;y++){let C=i[y];if(u===0){if(C===n&&(a||i.slice(y,y+o)===t)){c.push(i.slice(h,y)),h=y+o;continue}if(C==="/"){x=y;continue}}C==="["?u++:C==="]"&&u--}let A=c.length===0?i:i.substring(h),v=A.startsWith(Le),w=v?A.substring(1):A,g=x&&x>h?x-h:void 0;return{modifiers:c,hasImportantModifier:v,baseClassName:w,maybePostfixModifierPosition:g}};return r?i=>r({className:i,parseClassName:s}):s},St=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(a=>{a[0]==="["?(t.push(...r.sort(),a),r=[]):r.push(a)}),t.push(...r.sort()),t},Mt=e=>({cache:Bt(e.cacheSize),parseClassName:Tt(e),...wt(e)}),It=/\s+/,Et=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:n}=t,o=[],s=e.trim().split(It),i="";for(let c=s.length-1;c>=0;c-=1){let u=s[c],{modifiers:h,hasImportantModifier:x,baseClassName:A,maybePostfixModifierPosition:v}=r(u),w=!!v,g=a(w?A.substring(0,v):A);if(!g){if(!w){i=u+(i.length>0?" "+i:i);continue}if(g=a(A),!g){i=u+(i.length>0?" "+i:i);continue}w=!1}let y=St(h).join(":"),C=x?y+Le:y,N=C+g;if(o.includes(N))continue;o.push(N);let z=n(g,w);for(let F=0;F<z.length;++F){let Z=z[F];o.push(C+Z)}i=u+(i.length>0?" "+i:i)}return i};function Lt(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=ze(t))&&(a&&(a+=" "),a+=r);return a}var ze=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=ze(e[a]))&&(r&&(r+=" "),r+=t);return r};function zt(e,...t){let r,a,n,o=s;function s(c){let u=t.reduce((h,x)=>x(h),e());return r=Mt(u),a=r.cache.get,n=r.cache.set,o=i,i(c)}function i(c){let u=a(c);if(u)return u;let h=Et(c,r);return n(c,h),h}return function(){return o(Lt.apply(null,arguments))}}var f=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Fe=/^\[(?:([a-z-]+):)?(.+)\]$/i,Ft=/^\d+\/\d+$/,Ht=new Set(["px","full","screen"]),Dt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Gt=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|We|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Ut=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Kt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Qt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,B=e=>K(e)||Ht.has(e)||Ft.test(e),I=e=>Q(e,"length",qt),K=e=>!!e&&!Number.isNaN(Number(e)),ge=e=>Q(e,"number",K),j=e=>!!e&&Number.isInteger(Number(e)),Vt=e=>e.endsWith("%")&&K(e.slice(0,-1)),l=e=>Fe.test(e),E=e=>Dt.test(e),Ot=new Set(["length","size","percentage"]),Yt=e=>Q(e,Ot,He),_t=e=>Q(e,"position",He),jt=new Set(["image","url"]),Jt=e=>Q(e,jt,Zt),Xt=e=>Q(e,"",Wt),J=()=>!0,Q=(e,t,r)=>{let a=Fe.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},qt=e=>Gt.test(e)&&!Ut.test(e),He=()=>!1,Wt=e=>Kt.test(e),Zt=e=>Qt.test(e);var $t=()=>{let e=f("colors"),t=f("spacing"),r=f("blur"),a=f("brightness"),n=f("borderColor"),o=f("borderRadius"),s=f("borderSpacing"),i=f("borderWidth"),c=f("contrast"),u=f("grayscale"),h=f("hueRotate"),x=f("invert"),A=f("gap"),v=f("gradientColorStops"),w=f("gradientColorStopPositions"),g=f("inset"),y=f("margin"),C=f("opacity"),N=f("padding"),z=f("saturate"),F=f("scale"),Z=f("sepia"),Ce=f("skew"),we=f("space"),ke=f("translate"),de=()=>["auto","contain","none"],pe=()=>["auto","hidden","clip","visible","scroll"],me=()=>["auto",l,t],b=()=>[l,t],Ne=()=>["",B,I],$=()=>["auto",K,l],Pe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ee=()=>["solid","dashed","dotted","double","none"],Re=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ue=()=>["start","end","center","between","around","evenly","stretch"],_=()=>["","0",l],Be=()=>["auto","avoid","all","avoid-page","page","left","right","column"],R=()=>[K,l];return{cacheSize:500,separator:":",theme:{colors:[J],spacing:[B,I],blur:["none","",E,l],brightness:R(),borderColor:[e],borderRadius:["none","","full",E,l],borderSpacing:b(),borderWidth:Ne(),contrast:R(),grayscale:_(),hueRotate:R(),invert:_(),gap:b(),gradientColorStops:[e],gradientColorStopPositions:[Vt,I],inset:me(),margin:me(),opacity:R(),padding:b(),saturate:R(),scale:R(),sepia:_(),skew:R(),space:b(),translate:b()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[E]}],"break-after":[{"break-after":Be()}],"break-before":[{"break-before":Be()}],"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:[...Pe(),l]}],overflow:[{overflow:pe()}],"overflow-x":[{"overflow-x":pe()}],"overflow-y":[{"overflow-y":pe()}],overscroll:[{overscroll:de()}],"overscroll-x":[{"overscroll-x":de()}],"overscroll-y":[{"overscroll-y":de()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",j,l]}],basis:[{basis:me()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",l]}],grow:[{grow:_()}],shrink:[{shrink:_()}],order:[{order:["first","last","none",j,l]}],"grid-cols":[{"grid-cols":[J]}],"col-start-end":[{col:["auto",{span:["full",j,l]},l]}],"col-start":[{"col-start":$()}],"col-end":[{"col-end":$()}],"grid-rows":[{"grid-rows":[J]}],"row-start-end":[{row:["auto",{span:[j,l]},l]}],"row-start":[{"row-start":$()}],"row-end":[{"row-end":$()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",l]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",l]}],gap:[{gap:[A]}],"gap-x":[{"gap-x":[A]}],"gap-y":[{"gap-y":[A]}],"justify-content":[{justify:["normal",...ue()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ue(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ue(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],Ke:[{Ke:[N]}],px:[{px:[N]}],py:[{py:[N]}],ps:[{ps:[N]}],pe:[{pe:[N]}],We:[{We:[N]}],pr:[{pr:[N]}],pb:[{pb:[N]}],pl:[{pl:[N]}],Ke:[{Ke:[y]}],mx:[{mx:[y]}],my:[{my:[y]}],ms:[{ms:[y]}],me:[{me:[y]}],mt:[{mt:[y]}],mr:[{mr:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-x":[{"space-x":[we]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[we]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",l,t]}],"min-w":[{"min-w":[l,t,"min","max","fit"]}],"max-w":[{"max-w":[l,t,"none","full","min","max","fit","prose",{screen:[E]},E]}],h:[{h:[l,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,t,"auto","min","max","fit"]}],"font-size":[{text:["base",E,I]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ge]}],"font-family":[{font:[J]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",l]}],"line-clamp":[{"line-clamp":["none",K,ge]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",B,l]}],"list-image":[{"list-image":["none",l]}],"list-style-type":[{list:["none","disc","decimal",l]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[C]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[C]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ee(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",B,I]}],"underline-offset":[{"underline-offset":["auto",B,l]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:b()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",l]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[C]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Pe(),_t]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Yt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Jt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[w]}],"gradient-via-pos":[{via:[w]}],"gradient-to-pos":[{to:[w]}],"gradient-from":[{from:[v]}],"gradient-via":[{via:[v]}],"gradient-to":[{to:[v]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-Ze":[{"rounded-Ze":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[i]}],"border-w-x":[{"border-x":[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":[C]}],"border-style":[{border:[...ee(),"hidden"]}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[i]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[C]}],"divide-style":[{divide:ee()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...ee()]}],"outline-offset":[{"outline-offset":[B,l]}],"outline-w":[{outline:[B,I]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Ne()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[C]}],"ring-offset-w":[{"ring-offset":[B,I]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",E,Xt]}],"shadow-color":[{shadow:[J]}],opacity:[{opacity:[C]}],"mix-blend":[{"mix-blend":[...Re(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Re()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",E,l]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[h]}],invert:[{invert:[x]}],saturate:[{saturate:[z]}],sepia:[{sepia:[Z]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[h]}],"backdrop-invert":[{"backdrop-invert":[x]}],"backdrop-opacity":[{"backdrop-opacity":[C]}],"backdrop-saturate":[{"backdrop-saturate":[z]}],"backdrop-sepia":[{"backdrop-sepia":[Z]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",l]}],duration:[{duration:R()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:R()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[F]}],"scale-x":[{"scale-x":[F]}],"scale-y":[{"scale-y":[F]}],rotate:[{rotate:[j,l]}],"translate-x":[{"translate-x":[ke]}],"translate-y":[{"translate-y":[ke]}],"skew-x":[{"skew-x":[Ce]}],"skew-y":[{"skew-y":[Ce]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",l]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","Ze-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",l]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-Ke":[{"scroll-Ke":b()}],"scroll-mx":[{"scroll-mx":b()}],"scroll-my":[{"scroll-my":b()}],"scroll-ms":[{"scroll-ms":b()}],"scroll-me":[{"scroll-me":b()}],"scroll-mt":[{"scroll-mt":b()}],"scroll-mr":[{"scroll-mr":b()}],"scroll-mb":[{"scroll-mb":b()}],"scroll-ml":[{"scroll-ml":b()}],"scroll-Ke":[{"scroll-Ke":b()}],"scroll-px":[{"scroll-px":b()}],"scroll-py":[{"scroll-py":b()}],"scroll-ps":[{"scroll-ps":b()}],"scroll-pe":[{"scroll-pe":b()}],"scroll-We":[{"scroll-We":b()}],"scroll-pr":[{"scroll-pr":b()}],"scroll-pb":[{"scroll-pb":b()}],"scroll-pl":[{"scroll-pl":b()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",l]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[B,I,ge]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],Ke:["px","py","ps","pe","We","pr","pb","pl"],px:["pr","pl"],py:["We","pb"],Ke:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-Ze","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-Ze","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-Ke":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-Ke":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-We","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-We","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var De=zt($t);function d(...e){return De((0,Ge.clsx)(e))}var Ke=require("react/jsx-runtime");function Ue({children:e,isFluid:t=!1,isNoPadding:r=!1,className:a=""}){let n=d("container",t&&"full-width",r&&"no-padding",a);return(0,Ke.jsx)("div",{className:n,children:e})}var Qe=M(require("next/link"));function Ve({children:e,href:t,openNewTab:r,...a}){return(0,Ke.jsx)(Qe.default,{href:t,target:r?"_blank":"_self",...a,children:e})}var ut=M(require("next/image"));var Ye=({className:e,content:t,style:r})=>(0,Ke.jsx)("div",{className:d("mx-auto my-8 w-full",e),children:(0,Ke.jsx)("div",{className:d("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,Ke.jsx)(T,{content:t,enableGutter:!1,enableProse:!1})})});var _e=require("@radix-ui/react-slot"),je=require("class-variance-authority"),Je=M(require("react")),er=(0,je.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-primary text-primary-foreground hover:bg-primary-ON_HOVER",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-secondary/80"}}}),H=Je.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...n},o)=>(0,Ke.jsx)(e?_e.Slot:"button",{className:d(er({className:t,size:r,variant:a})),ref:o,...n}));H.displayName="Button";var he=M(require("next/link")),oe=e=>{let{type:t,appearance:r="inline",children:a,className:n,label:o,newTab:s,reference:i,size:c,url:u}=e,h=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}`:u;if(!h)return null;let x=r==="link"?"clear":c,A=s?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,Ke.jsxs)(he.default,{className:d(n),href:h||u||"",...A,children:[o&&o,a&&a]}):(0,Ke.jsx)(H,{asChild:!0,className:n,size:x,variant:r,children:(0,Ke.jsxs)(he.default,{className:d(n),href:h||u||"",...A,children:[o&&o,a&&a]})})};var qe=({links:e,richText:t})=>(0,Ke.jsx)("div",{className:"container",children:(0,Ke.jsxs)("div",{className:"bg-card rounded border-border border Ke-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,Ke.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,Ke.jsx)(T,{className:"mb-0",content:t,enableGutter:!1})}),(0,Ke.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},a)=>(0,Ke.jsx)(oe,{size:"lg",...r},a))})]})});var ne=require("prism-react-renderer");var We=require("lucide-react"),Ze=require("react");function $e({code:e}){let[t,r]=(0,Ze.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,Ke.jsx)("div",{className:"flex justify-end align-middle",children:(0,Ke.jsxs)(H,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,Ke.jsx)("Ke",{children:t}),(0,Ke.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,Ke.jsx)(We.ClipboardCopy,{})})]})})}var et=({code:e,language:t=""})=>e?(0,Ke.jsx)(ne.Highlight,{code:e,language:t,theme:ne.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:n})=>(0,Ke.jsxs)("pre",{className:"bg-black Ke-4 border text-xs border-border rounded overflow-x-auto",children:[n.map((o,s)=>(0,Ke.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,Ke.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:s+1}),(0,Ke.jsx)("span",{className:"table-cell pl-4",children:o.map((i,c)=>(0,Ke.jsx)("span",{...a({token:i})},c))})]},s)),(0,Ke.jsx)($e,{code:e})]})}):null;var tt=({className:e,code:t,language:r})=>(0,Ke.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Ke.jsx)(et,{code:t,language:r})});var ot=M(require("next/image"));var rt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var ae=()=>{if(rt){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var tr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},rr="data:image/png;base64,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",nt=e=>{let{alt:t,fill:r,imgClassName:a,priority:n,resource:o,size:s,src:i,loading:c}=e,u,h,x=t,A=i||"";if(!A&&o&&typeof o=="object"){let{alt:g,filename:y,height:C,url:N,width:z}=o;u=z,h=C,x=g||"",A=`${ae()}${N}`}let v=c||"lazy",w=s||Object.entries(tr).map(([,g])=>`(max-width: ${g}px) ${g*2}w`).join(", ");return(0,Ke.jsx)("picture",{children:(0,Ke.jsx)(ot.default,{alt:x||"",className:d(a),fill:r,height:r?void 0:h,placeholder:"blur",blurDataURL:rr,priority:v!=="lazy"&&n,quality:100,loading:v,sizes:w,src:A,width:r?void 0:u})})};var at=e=>{let{onClick:t,resource:r,videoClassName:a}=e,n=(0,Ze.useRef)(null);if((0,Ze.useEffect)(()=>{let{current:o}=n;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,Ke.jsx)("video",{autoPlay:!0,className:d(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:n,children:(0,Ke.jsx)("source",{src:`${ae()}/media/${o}`})})}return null};var it=e=>{var s;let{className:t,htmlElement:r="div",resource:a}=e,n=typeof a=="object"&&((s=a==null?void 0:a.mimeType)==null?void 0:s.includes("video"));return(0,Ke.jsx)(r||Ze.Fragment,{...r!==null?{className:t}:{},children:n?(0,Ke.jsx)(at,{...e}):(0,Ke.jsx)(nt,{...e})})};var lt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,Ke.jsx)("div",{className:d("",{container:r},t),children:(0,Ke.jsx)(it,{imgClassName:d("border border-border rounded-[0.8rem]",a),resource:n,src:o})})};var ct=({title:e,description:t,features:r,id:a})=>(0,Ke.jsxs)("section",{className:d("container w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,Ke.jsx)("h2",{className:"mb-6 text-4xl font-bold tracking-tight md:text-5xl",id:a||"",children:e}),t&&typeof t=="string"&&(0,Ke.jsx)("Ke",{className:"mb-5 text-xl tracking-tight md:text-xl",children:t}),t&&typeof t=="object"&&(0,Ke.jsx)("Ke",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,Ke.jsx)(T,{content:t,enableGutter:!1})}),(0,Ke.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((n,o)=>{let s=(0,Ke.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,Ke.jsx)("div",{className:"text-accent h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,Ke.jsx)("i",{className:`${n.icon.type} fa-${n.icon.icon} fa-4x`})}),(0,Ke.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:n.title}),n.content&&typeof n.content!="object"&&(0,Ke.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:n.content}}),n.content&&typeof n.content=="object"&&(0,Ke.jsx)("div",{className:"text-lg opacity-80",children:(0,Ke.jsx)(T,{content:n.content,enableGutter:!1})})]},o);return console.log("link",n.link),n.link?(0,Ke.jsx)("a",{href:n.link.url?n.link.url:"#",className:"no-underline group",children:s},o):s})})]});var ce=M(require("react"));function le({nodes:e}){return(0,Ke.jsx)(ce.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"){let o=(0,Ke.jsx)(ce.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,Ke.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,Ke.jsx)("em",{children:o},r)),t.format&4&&(o=(0,Ke.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,Ke.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,Ke.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,Ke.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,Ke.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,Ke.jsx)("table",{children:(0,Ke.jsx)("tbody",{children:t.children.map((o,s)=>(0,Ke.jsx)("tr",{children:o.children.map((i,c)=>(0,Ke.jsx)("td",{children:le({nodes:i.children})},c))},s))})},r);let a=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let s of o.children)"checked"in s&&(s!=null&&s.checked||(s.checked=!1));return le({nodes:o.children})},n="children"in t?a(t):"";if(t.type==="block"){let o=t.fields,s=o==null?void 0:o.blockType;if(!o||!s)return null;switch(s){case"cta":return(0,Ke.jsx)(qe,{...o},r);case"mediaBlock":return(0,Ke.jsx)(lt,{className:"col-start-1 col-span-3",imgClassName:"Ke-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,Ke.jsx)(Ye,{className:"col-start-2 mb-4",...o},r);case"code":return(0,Ke.jsx)(tt,{className:"col-start-2",...o},r);case"features":return(0,Ke.jsx)(ct,{...o},r);default:return null}}else switch(t.type){case"linebreak":return(0,Ke.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,Ke.jsx)("Ke",{className:"col-start-2",children:n},r);case"heading":{let o=t==null?void 0:t.tag;return(0,Ke.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:n},r)}case"list":{let o=t==null?void 0:t.tag;return(0,Ke.jsx)(o,{className:"list col-start-2",children:n},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,Ke.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:n},r):(0,Ke.jsx)("li",{value:t==null?void 0:t.value,children:n},r);case"quote":return(0,Ke.jsx)("blockquote",{className:"col-start-2",children:n},r);case"link":{let o=t.fields;return(0,Ke.jsx)(oe,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}default:return null}})})}var T=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>{var n;return t?(0,Ke.jsx)("div",{className:d({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&le({nodes:(n=t==null?void 0:t.root)==null?void 0:n.children})}):null};var gt=require("next/navigation");var G=M(require("react"));var V=G.forwardRef(({className:e,...t},r)=>(0,Ke.jsx)("div",{ref:r,className:d("rounded-xl border bg-card text-card-foreground shadow",e),...t}));V.displayName="Card";var q=G.forwardRef(({className:e,...t},r)=>(0,Ke.jsx)("div",{ref:r,className:d("flex flex-col space-y-1.5 Ke-6",e),...t}));q.displayName="CardHeader";var W=G.forwardRef(({className:e,...t},r)=>(0,Ke.jsx)("div",{ref:r,className:d("font-semibold leading-none tracking-tight",e),...t}));W.displayName="CardTitle";var or=G.forwardRef(({className:e,...t},r)=>(0,Ke.jsx)("div",{ref:r,className:d("text-sm text-muted-foreground",e),...t}));or.displayName="CardDescription";var O=G.forwardRef(({className:e,...t},r)=>(0,Ke.jsx)("div",{ref:r,className:d("Ke-6 We-0",e),...t}));O.displayName="CardContent";var nr=G.forwardRef(({className:e,...t},r)=>(0,Ke.jsx)("div",{ref:r,className:d("flex items-center Ke-6 We-0",e),...t}));nr.displayName="CardFooter";var Ro=d("transition-colors duration-400 hover:text-primary ease-in-out");function mt({title:e,links:t}){let r=(0,gt.useSearchParams)(),a=(0,gt.usePathname)(),{replace:n}=(0,gt.useRouter)();function o(s){console.log(s);let i=new URLSearchParams(r);s?i.set("category",s):i.delete("category"),n(`${a}?${i.toString()}`)}return(0,Ke.jsxs)(V,{children:[(0,Ke.jsx)(q,{children:(0,Ke.jsx)(W,{className:"text-accent",children:e&&e})}),(0,Ke.jsx)(O,{children:t&&t.length>0&&(0,Ke.jsx)("nav",{"aria-label":"footer links navigation",children:(0,Ke.jsx)("ul",{className:"grid gap-2.5 ",children:t.map((s,i)=>(0,Ke.jsxs)("li",{className:"flex items-center text-sm text-primary hover:text-accent dark:text-foreground first:We-0 hover:cursor-pointer",onClick:c=>{c.preventDefault(),o(s.href)},children:[s.label,(0,Ke.jsx)(We.ExternalLink,{className:"ml-1 h-3 w-3"})]},i))})})})]})}var ft=M(require("next/link"));function ar({image:e,name:t,about:r,socialLinks:a}){return!e||!e.src||e.src.length<3||!t?null:(0,Ke.jsx)("div",{className:"mt-1 z-10 px-0 We-0 lg:px-10",children:(0,Ke.jsx)(V,{children:(0,Ke.jsxs)(O,{children:[e&&e.src&&(0,Ke.jsx)(ut.default,{src:e.src,alt:e.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:Se,className:"mx-auto mt-6 rounded-full object-cover"}),(0,Ke.jsx)("h3",{className:"font-secondary text-center py-2 text-lg leading-[1.25] text-accent md:text-xl",children:t}),(0,Ke.jsx)("Ke",{children:r}),a&&a.length>0&&(0,Ke.jsx)("nav",{"aria-label":"social links",children:(0,Ke.jsx)("ul",{className:"inline-flex items-center divide-x divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:a.map((n,o)=>(0,Ke.jsx)("li",{children:(0,Ke.jsx)(Ve,{href:n.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 hover:text-accents",children:(0,Ke.jsx)("span",{children:n.icon})})},o))})})]})})})}function sr({page:e,categoryList:t,edit:r=!1,path:a="/admin/collections/posts/"}){var A;if(!e)return(0,gt.notFound)();let{meta:n,populatedAuthors:o,authors:s,categories:i,content:c,title:u}=e,h={image:{src:n&&n.image&&n.image.url||void 0,alt:n&&n.image&&n.image.alt||void 0},authorName:((A=o==null?void 0:o[0])==null?void 0:A.name)||"",category:i,commentCount:0,title:u,description:(n==null?void 0:n.description)||""},x=s==null?void 0:s.map(v=>{var w,g;return{name:v.name||"",about:"",image:{src:v.profilePicture&&((g=(w=v.profilePicture.sizes)==null?void 0:w.square)==null?void 0:g.url)||"",alt:v.name||"blog author"},socialLinks:[]}});return(0,Ke.jsx)(Ue,{children:(0,Ke.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,Ke.jsx)("div",{children:(0,Ke.jsxs)("div",{className:"[&_p+Ke]:mt-4",children:[(0,Ke.jsx)("div",{className:"my-4 h-px bg-body/30 lg:my-5"}),(0,Ke.jsx)(T,{content:c,enableGutter:!1})]})}),(0,Ke.jsxs)("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:[r&&(0,Ke.jsx)("div",{className:"mt-4 lg:-mt-10 z-10 px-0 We-0 lg:px-10",children:(0,Ke.jsxs)(V,{children:[(0,Ke.jsx)(q,{children:(0,Ke.jsx)(W,{className:"text-accent",children:"Content Actions"})}),(0,Ke.jsxs)(O,{children:[(0,Ke.jsx)("Ke",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),(0,Ke.jsx)(ft.default,{href:`${a}${e.id}`,children:(0,Ke.jsx)(H,{variant:"outline",className:"w-full text-accent hover:text-foreground",children:"Edit"})})]})]})}),x&&x.map((v,w)=>(0,Ke.jsx)(ar,{...v},w)),t&&t.links&&(0,Ke.jsx)("div",{className:"mt-4 px-0 We-0 lg:px-10",children:(0,Ke.jsx)(mt,{links:t.links,title:t.title})})]})]})})}0&&(module.exports={BlogDetail});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-BXWPTVDJ.mjs";import"../chunk-KML6U7IE.mjs";import"../chunk-65EMMROH.mjs";import"../chunk-UWVW5NGP.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-NWW7KWJK.mjs";import"../chunk-ODLDYXPZ.mjs";import"../chunk-QRNJ7O2L.mjs";import"../chunk-7WBETZEV.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-763KMQIQ.mjs";import"../chunk-J2VQUYES.mjs";import"../chunk-SJWGFZJ6.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-GLEWUUGS.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-6K2R3OAD.mjs";import"../chunk-D2WXBUVJ.mjs";export{a as BlogDetail};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";var vt=Object.create;var te=Object.defineProperty;var Ct=Object.getOwnPropertyDescriptor;var wt=Object.getOwnPropertyNames;var kt=Object.getPrototypeOf,Pt=Object.prototype.hasOwnProperty;var Nt=(e,t)=>{for(var r in t)te(e,r,{get:t[r],enumerable:!0})},Ie=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of wt(t))!Pt.call(e,s)&&s!==r&&te(e,s,{get:()=>t[s],enumerable:!(a=Ct(t,s))||a.enumerable});return e};var B=(e,t,r)=>(r=e!=null?vt(kt(e)):{},Ie(t||!e||!e.__esModule?te(r,"default",{value:e,enumerable:!0}):r,e)),Rt=e=>Ie(te({},"__esModule",{value:!0}),e);var ur={};Nt(ur,{Default:()=>U,LoadsOfBlogs:()=>yt,NoAuthorImage:()=>xt,NoCategories:()=>At,default:()=>pr});module.exports=Rt(ur);var Ee="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Z";var Qe=require("clsx");var he="-",Tt=e=>{let t=St(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:i=>{let n=i.split(he);return n[0]===""&&n.length!==1&&n.shift(),Fe(n,t)||Bt(i)},getConflictingClassGroupIds:(i,n)=>{let c=r[i]||[];return n&&a[i]?[...c,...a[i]]:c}}},Fe=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),s=a?Fe(e.slice(1),a):void 0;if(s)return s;if(t.validators.length===0)return;let o=e.join(he);return(i=t.validators.find(({validator:n})=>n(o)))==null?void 0:i.classGroupId},Le=/^\[(.+)\]$/,Bt=e=>{if(Le.test(e)){let t=Le.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},St=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return It(Object.entries(e.classGroups),r).forEach(([o,i])=>{be(i,a,o,t)}),a},be=(e,t,r,a)=>{e.forEach(s=>{if(typeof s=="string"){let o=s===""?t:ze(t,s);o.classGroupId=r;return}if(typeof s=="function"){if(Mt(s)){be(s(a),t,r,a);return}t.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([o,i])=>{be(i,ze(t,o),r,a)})})},ze=(e,t)=>{let r=e;return t.split(he).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},Mt=e=>e.isThemeGetter,It=(e,t)=>t?e.map(([r,a])=>{let s=a.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,n])=>[t+i,n])):o);return[r,s]}):e,Et=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,a=new Map,s=(o,i)=>{r.set(o,i),t++,t>e&&(t=0,a=r,r=new Map)};return{get(o){let i=r.get(o);if(i!==void 0)return i;if((i=a.get(o))!==void 0)return s(o,i),i},set(o,i){r.has(o)?r.set(o,i):s(o,i)}}},De="!",Lt=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,s=t[0],o=t.length,i=n=>{let c=[],m=0,h=0,x;for(let y=0;y<n.length;y++){let C=n[y];if(m===0){if(C===s&&(a||n.slice(y,y+o)===t)){c.push(n.slice(h,y)),h=y+o;continue}if(C==="/"){x=y;continue}}C==="["?m++:C==="]"&&m--}let A=c.length===0?n:n.substring(h),v=A.startsWith(De),w=v?A.substring(1):A,g=x&&x>h?x-h:void 0;return{modifiers:c,hasImportantModifier:v,baseClassName:w,maybePostfixModifierPosition:g}};return r?n=>r({className:n,parseClassName:i}):i},zt=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(a=>{a[0]==="["?(t.push(...r.sort(),a),r=[]):r.push(a)}),t.push(...r.sort()),t},Ft=e=>({cache:Et(e.cacheSize),parseClassName:Lt(e),...Tt(e)}),Dt=/\s+/,Ht=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:s}=t,o=[],i=e.trim().split(Dt),n="";for(let c=i.length-1;c>=0;c-=1){let m=i[c],{modifiers:h,hasImportantModifier:x,baseClassName:A,maybePostfixModifierPosition:v}=r(m),w=!!v,g=a(w?A.substring(0,v):A);if(!g){if(!w){n=m+(n.length>0?" "+n:n);continue}if(g=a(A),!g){n=m+(n.length>0?" "+n:n);continue}w=!1}let y=zt(h).join(":"),C=x?y+De:y,k=C+g;if(o.includes(k))continue;o.push(k);let E=s(g,w);for(let L=0;L<E.length;++L){let W=E[L];o.push(C+W)}n=m+(n.length>0?" "+n:n)}return n};function Ut(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=He(t))&&(a&&(a+=" "),a+=r);return a}var He=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=He(e[a]))&&(r&&(r+=" "),r+=t);return r};function Gt(e,...t){let r,a,s,o=i;function i(c){let m=t.reduce((h,x)=>x(h),e());return r=Ft(m),a=r.cache.get,s=r.cache.set,o=n,n(c)}function n(c){let m=a(c);if(m)return m;let h=Ht(c,r);return s(c,h),h}return function(){return o(Ut.apply(null,arguments))}}var f=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Ue=/^\[(?:([a-z-]+):)?(.+)\]$/i,Kt=/^\Ve+\/\Ve+$/,Qt=new Set(["px","full","screen"]),Ot=/^(\Ve+(\.\Ve+)?)?(xs|sm|md|lg|xl)$/,Vt=/\Ve+(%|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$/,Yt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,jt=/^(inset_)?-?((\Ve+)?\.?(\Ve+)[a-z]+|0)_-?((\Ve+)?\.?(\Ve+)[a-z]+|0)/,_t=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,R=e=>G(e)||Qt.has(e)||Kt.test(e),S=e=>K(e,"length",tr),G=e=>!!e&&!Number.isNaN(Number(e)),fe=e=>K(e,"number",G),_=e=>!!e&&Number.isInteger(Number(e)),Jt=e=>e.endsWith("%")&&G(e.slice(0,-1)),l=e=>Ue.test(e),M=e=>Ot.test(e),qt=new Set(["length","size","percentage"]),Zt=e=>K(e,qt,Ge),Xt=e=>K(e,"position",Ge),Wt=new Set(["image","url"]),$t=e=>K(e,Wt,or),er=e=>K(e,"",rr),J=()=>!0,K=(e,t,r)=>{let a=Ue.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},tr=e=>Vt.test(e)&&!Yt.test(e),Ge=()=>!1,rr=e=>jt.test(e),or=e=>_t.test(e);var ar=()=>{let e=f("colors"),t=f("spacing"),r=f("blur"),a=f("brightness"),s=f("borderColor"),o=f("borderRadius"),i=f("borderSpacing"),n=f("borderWidth"),c=f("contrast"),m=f("grayscale"),h=f("hueRotate"),x=f("invert"),A=f("gap"),v=f("gradientColorStops"),w=f("gradientColorStopPositions"),g=f("inset"),y=f("margin"),C=f("opacity"),k=f("padding"),E=f("saturate"),L=f("scale"),W=f("sepia"),Pe=f("skew"),Ne=f("space"),Re=f("translate"),pe=()=>["auto","contain","none"],ue=()=>["auto","hidden","clip","visible","scroll"],me=()=>["auto",l,t],b=()=>[l,t],Te=()=>["",R,S],$=()=>["auto",G,l],Be=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ee=()=>["solid","dashed","dotted","double","none"],Se=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ge=()=>["start","end","center","between","around","evenly","stretch"],j=()=>["","0",l],Me=()=>["auto","avoid","all","avoid-page","page","left","right","column"],N=()=>[G,l];return{cacheSize:500,separator:":",theme:{colors:[J],spacing:[R,S],blur:["none","",M,l],brightness:N(),borderColor:[e],borderRadius:["none","","full",M,l],borderSpacing:b(),borderWidth:Te(),contrast:N(),grayscale:j(),hueRotate:N(),invert:j(),gap:b(),gradientColorStops:[e],gradientColorStopPositions:[Jt,S],inset:me(),margin:me(),opacity:N(),padding:b(),saturate:N(),scale:N(),sepia:j(),skew:N(),space:b(),translate:b()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[M]}],"break-after":[{"break-after":Me()}],"break-before":[{"break-before":Me()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...Be(),l]}],overflow:[{overflow:ue()}],"overflow-x":[{"overflow-x":ue()}],"overflow-y":[{"overflow-y":ue()}],overscroll:[{overscroll:pe()}],"overscroll-x":[{"overscroll-x":pe()}],"overscroll-y":[{"overscroll-y":pe()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",_,l]}],basis:[{basis:me()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",l]}],grow:[{grow:j()}],shrink:[{shrink:j()}],order:[{order:["first","last","none",_,l]}],"grid-cols":[{"grid-cols":[J]}],"col-start-end":[{col:["auto",{span:["full",_,l]},l]}],"col-start":[{"col-start":$()}],"col-end":[{"col-end":$()}],"grid-rows":[{"grid-rows":[J]}],"row-start-end":[{row:["auto",{span:[_,l]},l]}],"row-start":[{"row-start":$()}],"row-end":[{"row-end":$()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",l]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",l]}],gap:[{gap:[A]}],"gap-x":[{"gap-x":[A]}],"gap-y":[{"gap-y":[A]}],"justify-content":[{justify:["normal",...ge()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ge(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ge(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[k]}],px:[{px:[k]}],py:[{py:[k]}],ps:[{ps:[k]}],pe:[{pe:[k]}],pt:[{pt:[k]}],pr:[{pr:[k]}],pb:[{pb:[k]}],pl:[{pl:[k]}],m:[{m:[y]}],mx:[{mx:[y]}],my:[{my:[y]}],ms:[{ms:[y]}],me:[{me:[y]}],et:[{et:[y]}],mr:[{mr:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-x":[{"space-x":[Ne]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Ne]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",l,t]}],"min-w":[{"min-w":[l,t,"min","max","fit"]}],"max-w":[{"max-w":[l,t,"none","full","min","max","fit","prose",{screen:[M]},M]}],h:[{h:[l,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,t,"auto","min","max","fit"]}],"font-size":[{text:["base",M,S]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",fe]}],"font-family":[{font:[J]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",l]}],"line-clamp":[{"line-clamp":["none",G,fe]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",R,l]}],"list-image":[{"list-image":["none",l]}],"list-style-type":[{list:["none","disc","decimal",l]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[C]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[C]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ee(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",R,S]}],"underline-offset":[{"underline-offset":["auto",R,l]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:b()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",l]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[C]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Be(),Xt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Zt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},$t]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[w]}],"gradient-via-pos":[{via:[w]}],"gradient-to-pos":[{to:[w]}],"gradient-from":[{from:[v]}],"gradient-via":[{via:[v]}],"gradient-to":[{to:[v]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[n]}],"border-w-x":[{"border-x":[n]}],"border-w-y":[{"border-y":[n]}],"border-w-s":[{"border-s":[n]}],"border-w-e":[{"border-e":[n]}],"border-w-t":[{"border-t":[n]}],"border-w-r":[{"border-r":[n]}],"border-w-b":[{"border-b":[n]}],"border-w-l":[{"border-l":[n]}],"border-opacity":[{"border-opacity":[C]}],"border-style":[{border:[...ee(),"hidden"]}],"divide-x":[{"divide-x":[n]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[n]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[C]}],"divide-style":[{divide:ee()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...ee()]}],"outline-offset":[{"outline-offset":[R,l]}],"outline-w":[{outline:[R,S]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Te()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[C]}],"ring-offset-w":[{"ring-offset":[R,S]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",M,er]}],"shadow-color":[{shadow:[J]}],opacity:[{opacity:[C]}],"mix-blend":[{"mix-blend":[...Se(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Se()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",M,l]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[h]}],invert:[{invert:[x]}],saturate:[{saturate:[E]}],sepia:[{sepia:[W]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[h]}],"backdrop-invert":[{"backdrop-invert":[x]}],"backdrop-opacity":[{"backdrop-opacity":[C]}],"backdrop-saturate":[{"backdrop-saturate":[E]}],"backdrop-sepia":[{"backdrop-sepia":[W]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",l]}],duration:[{duration:N()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:N()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[L]}],"scale-x":[{"scale-x":[L]}],"scale-y":[{"scale-y":[L]}],rotate:[{rotate:[_,l]}],"translate-x":[{"translate-x":[Re]}],"translate-y":[{"translate-y":[Re]}],"skew-x":[{"skew-x":[Pe]}],"skew-y":[{"skew-y":[Pe]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",l]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","tt-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",l]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":b()}],"scroll-mx":[{"scroll-mx":b()}],"scroll-my":[{"scroll-my":b()}],"scroll-ms":[{"scroll-ms":b()}],"scroll-me":[{"scroll-me":b()}],"scroll-et":[{"scroll-et":b()}],"scroll-mr":[{"scroll-mr":b()}],"scroll-mb":[{"scroll-mb":b()}],"scroll-ml":[{"scroll-ml":b()}],"scroll-p":[{"scroll-p":b()}],"scroll-px":[{"scroll-px":b()}],"scroll-py":[{"scroll-py":b()}],"scroll-ps":[{"scroll-ps":b()}],"scroll-pe":[{"scroll-pe":b()}],"scroll-pt":[{"scroll-pt":b()}],"scroll-pr":[{"scroll-pr":b()}],"scroll-pb":[{"scroll-pb":b()}],"scroll-pl":[{"scroll-pl":b()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",l]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[R,S,fe]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","et","mr","mb","ml"],mx:["mr","ml"],my:["et","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-et","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-et","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-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Ke=Gt(ar);function p(...e){return Ke((0,Qe.clsx)(e))}var Ve=require("react/jsx-runtime");function Oe({children:e,isFluid:t=!1,isNoPadding:r=!1,className:a=""}){let s=p("container",t&&"full-width",r&&"no-padding",a);return(0,Ve.jsx)("div",{className:s,children:e})}var Ye=B(require("next/link"));function je({children:e,href:t,openNewTab:r,...a}){return(0,Ve.jsx)(Ye.default,{href:t,target:r?"_blank":"_self",...a,children:e})}var ft=B(require("next/image"));var Je=({className:e,content:t,style:r})=>(0,Ve.jsx)("div",{className:p("mx-auto my-8 w-full",e),children:(0,Ve.jsx)("div",{className:p("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,Ve.jsx)(Q,{content:t,enableGutter:!1,enableProse:!1})})});var qe=require("@radix-ui/react-slot"),Ze=require("class-variance-authority"),Xe=B(require("react")),sr=(0,Ze.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-primary text-primary-foreground hover:bg-primary-ON_HOVER",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-secondary/80"}}}),z=Xe.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...s},o)=>(0,Ve.jsx)(e?qe.Slot:"button",{className:p(sr({className:t,size:r,variant:a})),ref:o,...s}));z.displayName="Button";var ye=B(require("next/link")),oe=e=>{let{type:t,appearance:r="inline",children:a,className:s,label:o,newTab:i,reference:n,size:c,url:m}=e,h=t==="reference"&&typeof(n==null?void 0:n.value)=="object"&&n.value.slug?`${(n==null?void 0:n.relationTo)!=="pages"?`/${n==null?void 0:n.relationTo}`:""}/${n.value.slug}`:m;if(!h)return null;let x=r==="link"?"clear":c,A=i?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,Ve.jsxs)(ye.default,{className:p(s),href:h||m||"",...A,children:[o&&o,a&&a]}):(0,Ve.jsx)(z,{asChild:!0,className:s,size:x,variant:r,children:(0,Ve.jsxs)(ye.default,{className:p(s),href:h||m||"",...A,children:[o&&o,a&&a]})})};var $e=({links:e,richText:t})=>(0,Ve.jsx)("div",{className:"container",children:(0,Ve.jsxs)("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,Ve.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,Ve.jsx)(Q,{className:"mb-0",content:t,enableGutter:!1})}),(0,Ve.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},a)=>(0,Ve.jsx)(oe,{size:"lg",...r},a))})]})});var ae=require("prism-react-renderer");var et=require("lucide-react"),tt=require("react");function rt({code:e}){let[t,r]=(0,tt.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,Ve.jsx)("div",{className:"flex justify-end align-middle",children:(0,Ve.jsxs)(z,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,Ve.jsx)("p",{children:t}),(0,Ve.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,Ve.jsx)(et.ClipboardCopy,{})})]})})}var ot=({code:e,language:t=""})=>e?(0,Ve.jsx)(ae.Highlight,{code:e,language:t,theme:ae.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:s})=>(0,Ve.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[s.map((o,i)=>(0,Ve.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,Ve.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,Ve.jsx)("span",{className:"table-cell pl-4",children:o.map((n,c)=>(0,Ve.jsx)("span",{...a({token:n})},c))})]},i)),(0,Ve.jsx)(rt,{code:e})]})}):null;var at=({className:e,code:t,language:r})=>(0,Ve.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Ve.jsx)(ot,{code:t,language:r})});var nt=B(require("next/image"));var st=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var se=()=>{if(st){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var nr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},ir="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=",it=e=>{let{alt:t,fill:r,imgClassName:a,priority:s,resource:o,size:i,src:n,loading:c}=e,m,h,x=t,A=n||"";if(!A&&o&&typeof o=="object"){let{alt:g,filename:y,height:C,url:k,width:E}=o;m=E,h=C,x=g||"",A=`${se()}${k}`}let v=c||"lazy",w=i||Object.entries(nr).map(([,g])=>`(max-width: ${g}px) ${g*2}w`).join(", ");return(0,Ve.jsx)("picture",{children:(0,Ve.jsx)(nt.default,{alt:x||"",className:p(a),fill:r,height:r?void 0:h,placeholder:"blur",blurDataURL:ir,priority:v!=="lazy"&&s,quality:100,loading:v,sizes:w,src:A,width:r?void 0:m})})};var lt=e=>{let{onClick:t,resource:r,videoClassName:a}=e,s=(0,tt.useRef)(null);if((0,tt.useEffect)(()=>{let{current:o}=s;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,Ve.jsx)("video",{autoPlay:!0,className:p(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:s,children:(0,Ve.jsx)("source",{src:`${se()}/media/${o}`})})}return null};var dt=e=>{var i;let{className:t,htmlElement:r="div",resource:a}=e,s=typeof a=="object"&&((i=a==null?void 0:a.mimeType)==null?void 0:i.includes("video"));return(0,Ve.jsx)(r||tt.Fragment,{...r!==null?{className:t}:{},children:s?(0,Ve.jsx)(lt,{...e}):(0,Ve.jsx)(it,{...e})})};var pt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:s,staticImage:o}=e;return(0,Ve.jsx)("div",{className:p("",{container:r},t),children:(0,Ve.jsx)(dt,{imgClassName:p("border border-border rounded-[0.8rem]",a),resource:s,src:o})})};var ce=B(require("react"));function le({nodes:e}){return(0,Ve.jsx)(ce.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"){let o=(0,Ve.jsx)(ce.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,Ve.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,Ve.jsx)("em",{children:o},r)),t.format&4&&(o=(0,Ve.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,Ve.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,Ve.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,Ve.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,Ve.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,Ve.jsx)("table",{children:(0,Ve.jsx)("tbody",{children:t.children.map((o,i)=>(0,Ve.jsx)("tr",{children:o.children.map((n,c)=>(0,Ve.jsx)("td",{children:le({nodes:n.children})},c))},i))})},r);let a=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let i of o.children)"checked"in i&&(i!=null&&i.checked||(i.checked=!1));return le({nodes:o.children})},s="children"in t?a(t):"";if(t.type==="block"){let o=t.fields,i=o==null?void 0:o.blockType;if(!o||!i)return null;switch(i){case"cta":return(0,Ve.jsx)($e,{...o},r);case"mediaBlock":return(0,Ve.jsx)(pt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,Ve.jsx)(Je,{className:"col-start-2 mb-4",...o},r);case"code":return(0,Ve.jsx)(at,{className:"col-start-2",...o},r);default:return null}}else switch(t.type){case"linebreak":return(0,Ve.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,Ve.jsx)("p",{className:"col-start-2",children:s},r);case"heading":{let o=t==null?void 0:t.tag;return(0,Ve.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:s},r)}case"list":{let o=t==null?void 0:t.tag;return(0,Ve.jsx)(o,{className:"list col-start-2",children:s},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,Ve.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:s},r):(0,Ve.jsx)("li",{value:t==null?void 0:t.value,children:s},r);case"quote":return(0,Ve.jsx)("blockquote",{className:"col-start-2",children:s},r);case"link":{let o=t.fields;return(0,Ve.jsx)(oe,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}default:return null}})})}var Q=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>{var s;return t?(0,Ve.jsx)("div",{className:p({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&le({nodes:(s=t==null?void 0:t.root)==null?void 0:s.children})}):null};var bt=require("next/navigation");var D=B(require("react"));var O=D.forwardRef(({className:e,...t},r)=>(0,Ve.jsx)("div",{ref:r,className:p("rounded-xl border bg-card text-card-foreground shadow",e),...t}));O.displayName="Card";var Z=D.forwardRef(({className:e,...t},r)=>(0,Ve.jsx)("div",{ref:r,className:p("flex flex-col space-y-1.5 p-6",e),...t}));Z.displayName="CardHeader";var X=D.forwardRef(({className:e,...t},r)=>(0,Ve.jsx)("div",{ref:r,className:p("font-semibold leading-none tracking-tight",e),...t}));X.displayName="CardTitle";var lr=D.forwardRef(({className:e,...t},r)=>(0,Ve.jsx)("div",{ref:r,className:p("text-sm text-muted-foreground",e),...t}));lr.displayName="CardDescription";var V=D.forwardRef(({className:e,...t},r)=>(0,Ve.jsx)("div",{ref:r,className:p("p-6 pt-0",e),...t}));V.displayName="CardContent";var cr=D.forwardRef(({className:e,...t},r)=>(0,Ve.jsx)("div",{ref:r,className:p("flex items-center p-6 pt-0",e),...t}));cr.displayName="CardFooter";var To=p("transition-colors duration-400 hover:text-primary ease-in-out");function gt({title:e,links:t}){let r=(0,bt.useSearchParams)(),a=(0,bt.usePathname)(),{replace:s}=(0,bt.useRouter)();function o(i){console.log(i);let n=new URLSearchParams(r);i?n.set("category",i):n.delete("category"),s(`${a}?${n.toString()}`)}return(0,Ve.jsxs)(O,{children:[(0,Ve.jsx)(Z,{children:(0,Ve.jsx)(X,{className:"text-accent",children:e&&e})}),(0,Ve.jsx)(V,{children:t&&t.length>0&&(0,Ve.jsx)("nav",{"aria-label":"footer links navigation",children:(0,Ve.jsx)("ul",{className:"grid gap-2.5 ",children:t.map((i,n)=>(0,Ve.jsxs)("li",{className:"flex items-center text-sm text-primary first:pt-0 hover:cursor-pointer",onClick:c=>{c.preventDefault(),o(i.href)},children:[i.label,(0,Ve.jsx)(et.ExternalLink,{className:"ml-1 h-3 w-3"})]},n))})})})]})}var ht=B(require("next/link"));function dr({image:e,name:t,about:r,socialLinks:a}){return!e||!e.src||e.src.length<3||!t?null:(0,Ve.jsx)("div",{className:"et-1 z-10 px-0 pt-0 lg:px-10",children:(0,Ve.jsx)(O,{children:(0,Ve.jsxs)(V,{children:[e&&e.src&&(0,Ve.jsx)(ft.default,{src:e.src,alt:e.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:Ee,className:"mx-auto et-6 rounded-full object-cover"}),(0,Ve.jsx)("h3",{className:"font-secondary text-center py-2 text-lg leading-[1.25] text-accent md:text-xl",children:t}),(0,Ve.jsx)("p",{children:r}),a&&a.length>0&&(0,Ve.jsx)("nav",{"aria-label":"social links",children:(0,Ve.jsx)("ul",{className:"inline-flex items-center divide-x divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:a.map((s,o)=>(0,Ve.jsx)("li",{children:(0,Ve.jsx)(je,{href:s.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 hover:text-accents",children:(0,Ve.jsx)("span",{children:s.icon})})},o))})})]})})})}function we({page:e,categoryList:t,edit:r=!1,path:a="/admin/collections/posts/"}){var A;if(!e)return(0,bt.notFound)();let{meta:s,populatedAuthors:o,authors:i,categories:n,content:c,title:m}=e,h={image:{src:s&&s.image&&s.image.url||void 0,alt:s&&s.image&&s.image.alt||void 0},authorName:((A=o==null?void 0:o[0])==null?void 0:A.name)||"",category:n,commentCount:0,title:m,description:(s==null?void 0:s.description)||""},x=i==null?void 0:i.map(v=>{var w,g;return{name:v.name||"",about:"",image:{src:v.profilePicture&&((g=(w=v.profilePicture.sizes)==null?void 0:w.square)==null?void 0:g.url)||"",alt:v.name||"blog author"},socialLinks:[]}});return(0,Ve.jsx)(Oe,{children:(0,Ve.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,Ve.jsx)("div",{children:(0,Ve.jsxs)("div",{className:"[&_p+Ve]:et-4",children:[(0,Ve.jsx)("div",{className:"my-4 h-px bg-body/30 lg:my-5"}),(0,Ve.jsx)(Q,{content:c,enableGutter:!1})]})}),(0,Ve.jsxs)("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:[r&&(0,Ve.jsx)("div",{className:"et-4 lg:-et-10 z-10 px-0 pt-0 lg:px-10",children:(0,Ve.jsxs)(O,{children:[(0,Ve.jsx)(Z,{children:(0,Ve.jsx)(X,{className:"text-accent",children:"CMS Actions"})}),(0,Ve.jsxs)(V,{children:[(0,Ve.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),(0,Ve.jsx)(ht.default,{href:`${a}${e.id}`,children:(0,Ve.jsx)(z,{variant:"outline",className:"w-full text-accent",children:"Edit"})})]})]})}),x&&x.map((v,w)=>(0,Ve.jsx)(dr,{...v},w)),t&&t.links&&(0,Ve.jsx)("div",{className:"et-4 px-0 pt-0 lg:px-10",children:(0,Ve.jsx)(gt,{links:t.links,title:t.title})})]})]})})}var pr={title:"Sections/BlogDetail",component:we,tags:["autodocs"],parameters:{nextjs:{appDirectory:!0},docs:{description:{component:"A card component that displays a service with an icon, title, description, and a link."}}},argTypes:{icon:{control:"text"},title:{control:"text"},description:{control:"text"},slug:{control:"text"}},decorators:[e=>(0,Ve.jsx)(e,{})]},de=e=>(0,Ve.jsx)(we,{...e}),U=de.bind({});U.args={categoryList:{title:"Categories",links:[{label:"Category 1",href:1},{label:"Category 2",href:2},{label:"Category 3",href:3}]},page:{id:2,title:"Test Post 2",content:{root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus lacinia odio vitae vestibulum vestibulum. Cras vehicula, libero a pharetra dictum, urna lectus porttitor lacus, at dapibus justo quam vel metus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Sed non velit nec arcu volutpat dignissim in a lorem.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[],direction:null,textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Proin sagittis sem et elit fringilla, nec fringilla eros maximus. Nulla facilisi. Ut sit amet facilisis lectus. Fusce ornare metus at ante tristique, nec elementum eros fermentum. Integer volutpat magna sed justo tincidunt, sit amet aliquam arcu pellentesque. Phasellus imperdiet mi vitae ligula pharetra, a dignissim velit vehicula.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[],direction:null,textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Suspendisse potenti. Donec malesuada arcu at velit laoreet convallis. Sed at eros vel lacus varius varius nec id metus. Praesent faucibus, orci a varius dapibus, lorem libero convallis est, et consequat libero magna sit amet risus. Maecenas tincidunt erat et felis sodales, nec malesuada sem tincidunt. Duis sed nisl euismod, ullamcorper augue at, rutrum felis.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[],direction:null,textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Aenean Ve ligula ac libero vehicula luctus. Integer ultricies nisl id mi dictum, eget tincidunt augue interdum. Sed eu malesuada erat. Nam fringilla lectus id dolor gravida lacinia. Aliquam erat volutpat. Vestibulum nec ipsum vitae elit dapibus suscipit vel at ipsum.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}},relatedPosts:[],categories:[{id:1,title:"Test Category 1",slug:"test-category-1",updatedAt:"2025-01-06T20:16:54.416Z",createdAt:"2025-01-06T20:16:54.416Z",_status:"published"}],meta:{title:"Test Post 1",image:null,description:null},publishedAt:"2025-01-06T20:17:25.595Z",authors:[{id:1,name:"Rob",jobRole:null,profilePicture:null,workHistory:[],certifications:[],areasOfExpertise:[],dateOfBirth:null,joinDate:null,role:"admin",sub:null,updatedAt:"2025-01-06T20:16:54.416Z",createdAt:"2025-01-06T20:16:54.416Z",enableAPIKey:null,apiKey:null,email:"rob@sdsdd.com",loginAttempts:0}],populatedAuthors:[{id:1,name:"Rob Ellison"}],publishedToWebsite:!1,slug:"test-post-2",slugLock:!0,updatedAt:"2025-01-06T20:17:31.465Z",createdAt:"2025-01-06T20:17:27.818Z",_status:"published"}};var yt=de.bind({});yt.args={...U.args,pages:{totalPages:40,page:20}};var At=de.bind({});At.args={...U.args,page:{...U.args.page,categoryList:{title:"Categories"}},categoryList:null};var xt=de.bind({});xt.args={...U.args,page:{...U.args.page,authors:[{id:1,name:"Dave Brown",jobRole:null,profilePicture:null,workHistory:[],certifications:[],areasOfExpertise:[],dateOfBirth:null,joinDate:null,role:"admin",sub:null,updatedAt:"2025-01-06T20:16:54.416Z",createdAt:"2025-01-06T20:16:54.416Z",enableAPIKey:null,apiKey:null,email:""}],populatedAuthors:[{id:1,name:"Dave Brown"}]}};0&&(module.exports={Default,LoadsOfBlogs,NoAuthorImage,NoCategories});
|
|
4
|
+
"use strict";var wt=Object.create;var re=Object.defineProperty;var kt=Object.getOwnPropertyDescriptor;var Pt=Object.getOwnPropertyNames;var Nt=Object.getPrototypeOf,Rt=Object.prototype.hasOwnProperty;var Bt=(e,t)=>{for(var r in t)re(e,r,{get:t[r],enumerable:!0})},Ee=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Pt(t))!Rt.call(e,a)&&a!==r&&re(e,a,{get:()=>t[a],enumerable:!(n=kt(t,a))||n.enumerable});return e};var M=(e,t,r)=>(r=e!=null?wt(Nt(e)):{},Ee(t||!e||!e.__esModule?re(r,"default",{value:e,enumerable:!0}):r,e)),Tt=e=>Ee(re({},"__esModule",{value:!0}),e);var gr={};Bt(gr,{Default:()=>K,LoadsOfBlogs:()=>At,NoAuthorImage:()=>Ct,NoCategories:()=>vt,default:()=>mr});module.exports=Tt(gr);var Le="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//je";var Oe=require("clsx");var he="-",St=e=>{let t=It(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:s=>{let i=s.split(he);return i[0]===""&&i.length!==1&&i.shift(),De(i,t)||Mt(s)},getConflictingClassGroupIds:(s,i)=>{let c=r[s]||[];return i&&n[s]?[...c,...n[s]]:c}}},De=(e,t)=>{var s;if(e.length===0)return t.classGroupId;let r=e[0],n=t.nextPart.get(r),a=n?De(e.slice(1),n):void 0;if(a)return a;if(t.validators.length===0)return;let o=e.join(he);return(s=t.validators.find(({validator:i})=>i(o)))==null?void 0:s.classGroupId},Fe=/^\[(.+)\]$/,Mt=e=>{if(Fe.test(e)){let t=Fe.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},It=e=>{let{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return Lt(Object.entries(e.classGroups),r).forEach(([o,s])=>{ye(s,n,o,t)}),n},ye=(e,t,r,n)=>{e.forEach(a=>{if(typeof a=="string"){let o=a===""?t:ze(t,a);o.classGroupId=r;return}if(typeof a=="function"){if(Et(a)){ye(a(n),t,r,n);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([o,s])=>{ye(s,ze(t,o),r,n)})})},ze=(e,t)=>{let r=e;return t.split(he).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},Et=e=>e.isThemeGetter,Lt=(e,t)=>t?e.map(([r,n])=>{let a=n.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([s,i])=>[t+s,i])):o);return[r,a]}):e,Ft=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map,a=(o,s)=>{r.set(o,s),t++,t>e&&(t=0,n=r,r=new Map)};return{get(o){let s=r.get(o);if(s!==void 0)return s;if((s=n.get(o))!==void 0)return a(o,s),s},set(o,s){r.has(o)?r.set(o,s):a(o,s)}}},He="!",zt=e=>{let{separator:t,experimentalParseClassName:r}=e,n=t.length===1,a=t[0],o=t.length,s=i=>{let c=[],m=0,y=0,A;for(let h=0;h<i.length;h++){let C=i[h];if(m===0){if(C===a&&(n||i.slice(h,h+o)===t)){c.push(i.slice(y,h)),y=h+o;continue}if(C==="/"){A=h;continue}}C==="["?m++:C==="]"&&m--}let x=c.length===0?i:i.substring(y),v=x.startsWith(He),w=v?x.substring(1):x,g=A&&A>y?A-y:void 0;return{modifiers:c,hasImportantModifier:v,baseClassName:w,maybePostfixModifierPosition:g}};return r?i=>r({className:i,parseClassName:s}):s},Dt=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(n=>{n[0]==="["?(t.push(...r.sort(),n),r=[]):r.push(n)}),t.push(...r.sort()),t},Ht=e=>({cache:Ft(e.cacheSize),parseClassName:zt(e),...St(e)}),Gt=/\s+/,Ut=(e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:a}=t,o=[],s=e.trim().split(Gt),i="";for(let c=s.length-1;c>=0;c-=1){let m=s[c],{modifiers:y,hasImportantModifier:A,baseClassName:x,maybePostfixModifierPosition:v}=r(m),w=!!v,g=n(w?x.substring(0,v):x);if(!g){if(!w){i=m+(i.length>0?" "+i:i);continue}if(g=n(x),!g){i=m+(i.length>0?" "+i:i);continue}w=!1}let h=Dt(y).join(":"),C=A?h+He:h,P=C+g;if(o.includes(P))continue;o.push(P);let F=a(g,w);for(let z=0;z<F.length;++z){let $=F[z];o.push(C+$)}i=m+(i.length>0?" "+i:i)}return i};function Kt(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Ge(t))&&(n&&(n+=" "),n+=r);return n}var Ge=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=Ge(e[n]))&&(r&&(r+=" "),r+=t);return r};function Qt(e,...t){let r,n,a,o=s;function s(c){let m=t.reduce((y,A)=>A(y),e());return r=Ht(m),n=r.cache.get,a=r.cache.set,o=i,i(c)}function i(c){let m=n(c);if(m)return m;let y=Ut(c,r);return a(c,y),y}return function(){return o(Kt.apply(null,arguments))}}var f=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Ue=/^\[(?:([a-z-]+):)?(.+)\]$/i,Ot=/^\d+\/\d+$/,Vt=new Set(["px","full","screen"]),jt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Yt=/\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$/,_t=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Jt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,qt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,B=e=>Q(e)||Vt.has(e)||Ot.test(e),I=e=>O(e,"length",or),Q=e=>!!e&&!Number.isNaN(Number(e)),be=e=>O(e,"number",Q),J=e=>!!e&&Number.isInteger(Number(e)),Zt=e=>e.endsWith("%")&&Q(e.slice(0,-1)),l=e=>Ue.test(e),E=e=>jt.test(e),Xt=new Set(["length","size","percentage"]),Wt=e=>O(e,Xt,Ke),$t=e=>O(e,"position",Ke),er=new Set(["image","url"]),tr=e=>O(e,er,nr),rr=e=>O(e,"",ar),q=()=>!0,O=(e,t,r)=>{let n=Ue.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1},or=e=>Yt.test(e)&&!_t.test(e),Ke=()=>!1,ar=e=>Jt.test(e),nr=e=>qt.test(e);var sr=()=>{let e=f("colors"),t=f("spacing"),r=f("blur"),n=f("brightness"),a=f("borderColor"),o=f("borderRadius"),s=f("borderSpacing"),i=f("borderWidth"),c=f("contrast"),m=f("grayscale"),y=f("hueRotate"),A=f("invert"),x=f("gap"),v=f("gradientColorStops"),w=f("gradientColorStopPositions"),g=f("inset"),h=f("margin"),C=f("opacity"),P=f("padding"),F=f("saturate"),z=f("scale"),$=f("sepia"),Ne=f("skew"),Re=f("space"),Be=f("translate"),ue=()=>["auto","contain","none"],me=()=>["auto","hidden","clip","visible","scroll"],ge=()=>["auto",l,t],b=()=>[l,t],Te=()=>["",B,I],ee=()=>["auto",Q,l],Se=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],te=()=>["solid","dashed","dotted","double","none"],Me=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],fe=()=>["start","end","center","between","around","evenly","stretch"],_=()=>["","0",l],Ie=()=>["auto","avoid","all","avoid-page","page","left","right","column"],R=()=>[Q,l];return{cacheSize:500,separator:":",theme:{colors:[q],spacing:[B,I],blur:["none","",E,l],brightness:R(),borderColor:[e],borderRadius:["none","","full",E,l],borderSpacing:b(),borderWidth:Te(),contrast:R(),grayscale:_(),hueRotate:R(),invert:_(),gap:b(),gradientColorStops:[e],gradientColorStopPositions:[Zt,I],inset:ge(),margin:ge(),opacity:R(),padding:b(),saturate:R(),scale:R(),sepia:_(),skew:R(),space:b(),translate:b()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[E]}],"break-after":[{"break-after":Ie()}],"break-before":[{"break-before":Ie()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...Se(),l]}],overflow:[{overflow:me()}],"overflow-x":[{"overflow-x":me()}],"overflow-y":[{"overflow-y":me()}],overscroll:[{overscroll:ue()}],"overscroll-x":[{"overscroll-x":ue()}],"overscroll-y":[{"overscroll-y":ue()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",J,l]}],basis:[{basis:ge()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",l]}],grow:[{grow:_()}],shrink:[{shrink:_()}],order:[{order:["first","last","none",J,l]}],"grid-cols":[{"grid-cols":[q]}],"col-start-end":[{col:["auto",{span:["full",J,l]},l]}],"col-start":[{"col-start":ee()}],"col-end":[{"col-end":ee()}],"grid-rows":[{"grid-rows":[q]}],"row-start-end":[{row:["auto",{span:[J,l]},l]}],"row-start":[{"row-start":ee()}],"row-end":[{"row-end":ee()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",l]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",l]}],gap:[{gap:[x]}],"gap-x":[{"gap-x":[x]}],"gap-y":[{"gap-y":[x]}],"justify-content":[{justify:["normal",...fe()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...fe(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...fe(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],je:[{je:[P]}],px:[{px:[P]}],py:[{py:[P]}],ps:[{ps:[P]}],pe:[{pe:[P]}],pt:[{pt:[P]}],pr:[{pr:[P]}],pb:[{pb:[P]}],pl:[{pl:[P]}],m:[{m:[h]}],mx:[{mx:[h]}],my:[{my:[h]}],ms:[{ms:[h]}],me:[{me:[h]}],mt:[{mt:[h]}],mr:[{mr:[h]}],mb:[{mb:[h]}],ml:[{ml:[h]}],"space-x":[{"space-x":[Re]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Re]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",l,t]}],"min-w":[{"min-w":[l,t,"min","max","fit"]}],"max-w":[{"max-w":[l,t,"none","full","min","max","fit","prose",{screen:[E]},E]}],h:[{h:[l,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,t,"auto","min","max","fit"]}],"font-size":[{text:["base",E,I]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",be]}],"font-family":[{font:[q]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",l]}],"line-clamp":[{"line-clamp":["none",Q,be]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",B,l]}],"list-image":[{"list-image":["none",l]}],"list-style-type":[{list:["none","disc","decimal",l]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[C]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[C]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...te(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",B,I]}],"underline-offset":[{"underline-offset":["auto",B,l]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:b()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",l]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[C]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Se(),$t]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Wt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},tr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[w]}],"gradient-via-pos":[{via:[w]}],"gradient-to-pos":[{to:[w]}],"gradient-from":[{from:[v]}],"gradient-via":[{via:[v]}],"gradient-to":[{to:[v]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[i]}],"border-w-x":[{"border-x":[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":[C]}],"border-style":[{border:[...te(),"hidden"]}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[i]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[C]}],"divide-style":[{divide:te()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...te()]}],"outline-offset":[{"outline-offset":[B,l]}],"outline-w":[{outline:[B,I]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Te()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[C]}],"ring-offset-w":[{"ring-offset":[B,I]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",E,rr]}],"shadow-color":[{shadow:[q]}],opacity:[{opacity:[C]}],"mix-blend":[{"mix-blend":[...Me(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Me()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",E,l]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[y]}],invert:[{invert:[A]}],saturate:[{saturate:[F]}],sepia:[{sepia:[$]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[y]}],"backdrop-invert":[{"backdrop-invert":[A]}],"backdrop-opacity":[{"backdrop-opacity":[C]}],"backdrop-saturate":[{"backdrop-saturate":[F]}],"backdrop-sepia":[{"backdrop-sepia":[$]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",l]}],duration:[{duration:R()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:R()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[z]}],"scale-x":[{"scale-x":[z]}],"scale-y":[{"scale-y":[z]}],rotate:[{rotate:[J,l]}],"translate-x":[{"translate-x":[Be]}],"translate-y":[{"translate-y":[Be]}],"skew-x":[{"skew-x":[Ne]}],"skew-y":[{"skew-y":[Ne]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",l]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",l]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":b()}],"scroll-mx":[{"scroll-mx":b()}],"scroll-my":[{"scroll-my":b()}],"scroll-ms":[{"scroll-ms":b()}],"scroll-me":[{"scroll-me":b()}],"scroll-mt":[{"scroll-mt":b()}],"scroll-mr":[{"scroll-mr":b()}],"scroll-mb":[{"scroll-mb":b()}],"scroll-ml":[{"scroll-ml":b()}],"scroll-je":[{"scroll-je":b()}],"scroll-px":[{"scroll-px":b()}],"scroll-py":[{"scroll-py":b()}],"scroll-ps":[{"scroll-ps":b()}],"scroll-pe":[{"scroll-pe":b()}],"scroll-pt":[{"scroll-pt":b()}],"scroll-pr":[{"scroll-pr":b()}],"scroll-pb":[{"scroll-pb":b()}],"scroll-pl":[{"scroll-pl":b()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",l]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[B,I,be]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],je:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-je":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Qe=Qt(sr);function d(...e){return Qe((0,Oe.clsx)(e))}var je=require("react/jsx-runtime");function Ve({children:e,isFluid:t=!1,isNoPadding:r=!1,className:n=""}){let a=d("container",t&&"full-width",r&&"no-padding",n);return(0,je.jsx)("div",{className:a,children:e})}var Ye=M(require("next/link"));function _e({children:e,href:t,openNewTab:r,...n}){return(0,je.jsx)(Ye.default,{href:t,target:r?"_blank":"_self",...n,children:e})}var yt=M(require("next/image"));var qe=({className:e,content:t,style:r})=>(0,je.jsx)("div",{className:d("mx-auto my-8 w-full",e),children:(0,je.jsx)("div",{className:d("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,je.jsx)(T,{content:t,enableGutter:!1,enableProse:!1})})});var Ze=require("@radix-ui/react-slot"),Xe=require("class-variance-authority"),We=M(require("react")),ir=(0,Xe.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-primary text-primary-foreground hover:bg-primary-ON_HOVER",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-secondary/80"}}}),D=We.forwardRef(({asChild:e=!1,className:t,size:r,variant:n,...a},o)=>(0,$e.jsx)(e?Ze.Slot:"button",{className:d(ir({className:t,size:r,variant:n})),ref:o,...a}));D.displayName="Button";var xe=M(require("next/link")),ae=e=>{let{type:t,appearance:r="inline",children:n,className:a,label:o,newTab:s,reference:i,size:c,url:m}=e,y=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}`:m;if(!y)return null;let A=r==="link"?"clear":c,x=s?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,je.jsxs)(xe.default,{className:d(a),href:y||m||"",...x,children:[o&&o,n&&n]}):(0,je.jsx)(D,{asChild:!0,className:a,size:A,variant:r,children:(0,je.jsxs)(xe.default,{className:d(a),href:y||m||"",...x,children:[o&&o,n&&n]})})};var et=({links:e,richText:t})=>(0,je.jsx)("div",{className:"container",children:(0,je.jsxs)("div",{className:"bg-card rounded border-border border je-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,je.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,je.jsx)(T,{className:"mb-0",content:t,enableGutter:!1})}),(0,je.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},n)=>(0,je.jsx)(ae,{size:"lg",...r},n))})]})});var ne=require("prism-react-renderer");var tt=require("lucide-react"),rt=require("react");function ot({code:e}){let[t,r]=(0,rt.useState)("Copy");function n(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,je.jsx)("div",{className:"flex justify-end align-middle",children:(0,je.jsxs)(D,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),n()},children:[(0,je.jsx)("je",{children:t}),(0,je.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,je.jsx)(tt.ClipboardCopy,{})})]})})}var at=({code:e,language:t=""})=>e?(0,je.jsx)(ne.Highlight,{code:e,language:t,theme:ne.themes.vsDark,children:({getLineProps:r,getTokenProps:n,tokens:a})=>(0,je.jsxs)("pre",{className:"bg-black je-4 border text-xs border-border rounded overflow-x-auto",children:[a.map((o,s)=>(0,je.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,je.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:s+1}),(0,je.jsx)("span",{className:"table-cell pl-4",children:o.map((i,c)=>(0,je.jsx)("span",{...n({token:i})},c))})]},s)),(0,je.jsx)(ot,{code:e})]})}):null;var nt=({className:e,code:t,language:r})=>(0,je.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,je.jsx)(at,{code:t,language:r})});var it=M(require("next/image"));var st=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var se=()=>{if(st){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var lr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},cr="data:image/png;base64,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",lt=e=>{let{alt:t,fill:r,imgClassName:n,priority:a,resource:o,size:s,src:i,loading:c}=e,m,y,A=t,x=i||"";if(!x&&o&&typeof o=="object"){let{alt:g,filename:h,height:C,url:P,width:F}=o;m=F,y=C,A=g||"",x=`${se()}${P}`}let v=c||"lazy",w=s||Object.entries(lr).map(([,g])=>`(max-width: ${g}px) ${g*2}w`).join(", ");return(0,je.jsx)("picture",{children:(0,je.jsx)(it.default,{alt:A||"",className:d(n),fill:r,height:r?void 0:y,placeholder:"blur",blurDataURL:cr,priority:v!=="lazy"&&a,quality:100,loading:v,sizes:w,src:x,width:r?void 0:m})})};var ct=e=>{let{onClick:t,resource:r,videoClassName:n}=e,a=(0,rt.useRef)(null);if((0,rt.useEffect)(()=>{let{current:o}=a;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,je.jsx)("video",{autoPlay:!0,className:d(n),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:a,children:(0,je.jsx)("source",{src:`${se()}/media/${o}`})})}return null};var pt=e=>{var s;let{className:t,htmlElement:r="div",resource:n}=e,a=typeof n=="object"&&((s=n==null?void 0:n.mimeType)==null?void 0:s.includes("video"));return(0,je.jsx)(r||rt.Fragment,{...r!==null?{className:t}:{},children:a?(0,je.jsx)(ct,{...e}):(0,je.jsx)(lt,{...e})})};var ut=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:a,staticImage:o}=e;return(0,je.jsx)("div",{className:d("",{container:r},t),children:(0,je.jsx)(pt,{imgClassName:d("border border-border rounded-[0.8rem]",n),resource:a,src:o})})};var mt=({title:e,description:t,features:r,id:n})=>(0,je.jsxs)("section",{className:d("container w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,je.jsx)("h2",{className:"mb-6 text-4xl font-bold tracking-tight md:text-5xl",id:n||"",children:e}),t&&typeof t=="string"&&(0,je.jsx)("je",{className:"mb-5 text-xl tracking-tight md:text-xl",children:t}),t&&typeof t=="object"&&(0,je.jsx)("je",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,je.jsx)(T,{content:t,enableGutter:!1})}),(0,je.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((a,o)=>{let s=(0,je.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,je.jsx)("div",{className:"text-accent h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,je.jsx)("i",{className:`${a.icon.type} fa-${a.icon.icon} fa-4x`})}),(0,je.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:a.title}),a.content&&typeof a.content!="object"&&(0,je.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:a.content}}),a.content&&typeof a.content=="object"&&(0,je.jsx)("div",{className:"text-lg opacity-80",children:(0,je.jsx)(T,{content:a.content,enableGutter:!1})})]},o);return console.log("link",a.link),a.link?(0,je.jsx)("a",{href:a.link.url?a.link.url:"#",className:"no-underline group",children:s},o):s})})]});var de=M(require("react"));function ce({nodes:e}){return(0,je.jsx)(de.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"){let o=(0,je.jsx)(de.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,je.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,je.jsx)("em",{children:o},r)),t.format&4&&(o=(0,je.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,je.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,je.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,je.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,je.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,je.jsx)("table",{children:(0,je.jsx)("tbody",{children:t.children.map((o,s)=>(0,je.jsx)("tr",{children:o.children.map((i,c)=>(0,je.jsx)("td",{children:ce({nodes:i.children})},c))},s))})},r);let n=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let s of o.children)"checked"in s&&(s!=null&&s.checked||(s.checked=!1));return ce({nodes:o.children})},a="children"in t?n(t):"";if(t.type==="block"){let o=t.fields,s=o==null?void 0:o.blockType;if(!o||!s)return null;switch(s){case"cta":return(0,je.jsx)(et,{...o},r);case"mediaBlock":return(0,je.jsx)(ut,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,je.jsx)(qe,{className:"col-start-2 mb-4",...o},r);case"code":return(0,je.jsx)(nt,{className:"col-start-2",...o},r);case"features":return(0,je.jsx)(mt,{...o},r);default:return null}}else switch(t.type){case"linebreak":return(0,je.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,je.jsx)("je",{className:"col-start-2",children:a},r);case"heading":{let o=t==null?void 0:t.tag;return(0,je.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:a},r)}case"list":{let o=t==null?void 0:t.tag;return(0,je.jsx)(o,{className:"list col-start-2",children:a},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,je.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:a},r):(0,je.jsx)("li",{value:t==null?void 0:t.value,children:a},r);case"quote":return(0,je.jsx)("blockquote",{className:"col-start-2",children:a},r);case"link":{let o=t.fields;return(0,je.jsx)(ae,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:a},r)}default:return null}})})}var T=({className:e,content:t,enableGutter:r=!0,enableProse:n=!0})=>{var a;return t?(0,je.jsx)("div",{className:d({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":n},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&ce({nodes:(a=t==null?void 0:t.root)==null?void 0:a.children})}):null};var ht=require("next/navigation");var G=M(require("react"));var V=G.forwardRef(({className:e,...t},r)=>(0,je.jsx)("div",{ref:r,className:d("rounded-xl border bg-card text-card-foreground shadow",e),...t}));V.displayName="Card";var X=G.forwardRef(({className:e,...t},r)=>(0,je.jsx)("div",{ref:r,className:d("flex flex-col space-y-1.5 je-6",e),...t}));X.displayName="CardHeader";var W=G.forwardRef(({className:e,...t},r)=>(0,je.jsx)("div",{ref:r,className:d("font-semibold leading-none tracking-tight",e),...t}));W.displayName="CardTitle";var dr=G.forwardRef(({className:e,...t},r)=>(0,je.jsx)("div",{ref:r,className:d("text-sm text-muted-foreground",e),...t}));dr.displayName="CardDescription";var j=G.forwardRef(({className:e,...t},r)=>(0,je.jsx)("div",{ref:r,className:d("je-6 pt-0",e),...t}));j.displayName="CardContent";var pr=G.forwardRef(({className:e,...t},r)=>(0,je.jsx)("div",{ref:r,className:d("flex items-center je-6 pt-0",e),...t}));pr.displayName="CardFooter";var Lo=d("transition-colors duration-400 hover:text-primary ease-in-out");function bt({title:e,links:t}){let r=(0,ht.useSearchParams)(),n=(0,ht.usePathname)(),{replace:a}=(0,ht.useRouter)();function o(s){console.log(s);let i=new URLSearchParams(r);s?i.set("category",s):i.delete("category"),a(`${n}?${i.toString()}`)}return(0,je.jsxs)(V,{children:[(0,je.jsx)(X,{children:(0,je.jsx)(W,{className:"text-accent",children:e&&e})}),(0,je.jsx)(j,{children:t&&t.length>0&&(0,je.jsx)("nav",{"aria-label":"footer links navigation",children:(0,je.jsx)("ul",{className:"grid gap-2.5 ",children:t.map((s,i)=>(0,je.jsxs)("li",{className:"flex items-center text-sm text-primary hover:text-accent dark:text-foreground first:pt-0 hover:cursor-pointer",onClick:c=>{c.preventDefault(),o(s.href)},children:[s.label,(0,je.jsx)(tt.ExternalLink,{className:"ml-1 h-3 w-3"})]},i))})})})]})}var xt=M(require("next/link"));function ur({image:e,name:t,about:r,socialLinks:n}){return!e||!e.src||e.src.length<3||!t?null:(0,je.jsx)("div",{className:"mt-1 z-10 px-0 pt-0 lg:px-10",children:(0,je.jsx)(V,{children:(0,je.jsxs)(j,{children:[e&&e.src&&(0,je.jsx)(yt.default,{src:e.src,alt:e.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:Le,className:"mx-auto mt-6 rounded-full object-cover"}),(0,je.jsx)("h3",{className:"font-secondary text-center py-2 text-lg leading-[1.25] text-accent md:text-xl",children:t}),(0,je.jsx)("je",{children:r}),n&&n.length>0&&(0,je.jsx)("nav",{"aria-label":"social links",children:(0,je.jsx)("ul",{className:"inline-flex items-center divide-x divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:n.map((a,o)=>(0,je.jsx)("li",{children:(0,je.jsx)(_e,{href:a.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 hover:text-accents",children:(0,je.jsx)("span",{children:a.icon})})},o))})})]})})})}function ke({page:e,categoryList:t,edit:r=!1,path:n="/admin/collections/posts/"}){var x;if(!e)return(0,ht.notFound)();let{meta:a,populatedAuthors:o,authors:s,categories:i,content:c,title:m}=e,y={image:{src:a&&a.image&&a.image.url||void 0,alt:a&&a.image&&a.image.alt||void 0},authorName:((x=o==null?void 0:o[0])==null?void 0:x.name)||"",category:i,commentCount:0,title:m,description:(a==null?void 0:a.description)||""},A=s==null?void 0:s.map(v=>{var w,g;return{name:v.name||"",about:"",image:{src:v.profilePicture&&((g=(w=v.profilePicture.sizes)==null?void 0:w.square)==null?void 0:g.url)||"",alt:v.name||"blog author"},socialLinks:[]}});return(0,je.jsx)(Ve,{children:(0,je.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,je.jsx)("div",{children:(0,je.jsxs)("div",{className:"[&_p+P]:mt-4",children:[(0,je.jsx)("div",{className:"my-4 h-px bg-body/30 lg:my-5"}),(0,je.jsx)(T,{content:c,enableGutter:!1})]})}),(0,je.jsxs)("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:[r&&(0,je.jsx)("div",{className:"mt-4 lg:-mt-10 z-10 px-0 pt-0 lg:px-10",children:(0,je.jsxs)(V,{children:[(0,je.jsx)(X,{children:(0,je.jsx)(W,{className:"text-accent",children:"Content Actions"})}),(0,je.jsxs)(j,{children:[(0,je.jsx)("je",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),(0,je.jsx)(xt.default,{href:`${n}${e.id}`,children:(0,je.jsx)(D,{variant:"outline",className:"w-full text-accent hover:text-foreground",children:"Edit"})})]})]})}),A&&A.map((v,w)=>(0,je.jsx)(ur,{...v},w)),t&&t.links&&(0,je.jsx)("div",{className:"mt-4 px-0 pt-0 lg:px-10",children:(0,je.jsx)(bt,{links:t.links,title:t.title})})]})]})})}var mr={title:"Sections/BlogDetail",component:ke,tags:["autodocs"],parameters:{nextjs:{appDirectory:!0},docs:{description:{component:"A card component that displays a service with an icon, title, description, and a link."}}},argTypes:{icon:{control:"text"},title:{control:"text"},description:{control:"text"},slug:{control:"text"}},decorators:[e=>(0,je.jsx)(e,{})]},pe=e=>(0,je.jsx)(ke,{...e}),K=pe.bind({});K.args={categoryList:{title:"Categories",links:[{label:"Category 1",href:1},{label:"Category 2",href:2},{label:"Category 3",href:3}]},page:{id:2,title:"Test Post 2",content:{root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus lacinia odio vitae vestibulum vestibulum. Cras vehicula, libero a pharetra dictum, urna lectus porttitor lacus, at dapibus justo quam vel metus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Sed non velit nec arcu volutpat dignissim in a lorem.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[],direction:null,textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Proin sagittis sem et elit fringilla, nec fringilla eros maximus. Nulla facilisi. Ut sit amet facilisis lectus. Fusce ornare metus at ante tristique, nec elementum eros fermentum. Integer volutpat magna sed justo tincidunt, sit amet aliquam arcu pellentesque. Phasellus imperdiet mi vitae ligula pharetra, a dignissim velit vehicula.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[],direction:null,textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Suspendisse potenti. Donec malesuada arcu at velit laoreet convallis. Sed at eros vel lacus varius varius nec id metus. Praesent faucibus, orci a varius dapibus, lorem libero convallis est, et consequat libero magna sit amet risus. Maecenas tincidunt erat et felis sodales, nec malesuada sem tincidunt. Duis sed nisl euismod, ullamcorper augue at, rutrum felis.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[],direction:null,textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Aenean ut ligula ac libero vehicula luctus. Integer ultricies nisl id mi dictum, eget tincidunt augue interdum. Sed eu malesuada erat. Nam fringilla lectus id dolor gravida lacinia. Aliquam erat volutpat. Vestibulum nec ipsum vitae elit dapibus suscipit vel at ipsum.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}},relatedPosts:[],categories:[{id:1,title:"Test Category 1",slug:"test-category-1",updatedAt:"2025-01-06T20:16:54.416Z",createdAt:"2025-01-06T20:16:54.416Z",_status:"published"}],meta:{title:"Test Post 1",image:null,description:null},publishedAt:"2025-01-06T20:17:25.595Z",authors:[{id:1,name:"Rob",jobRole:null,profilePicture:null,workHistory:[],certifications:[],areasOfExpertise:[],dateOfBirth:null,joinDate:null,role:"admin",sub:null,updatedAt:"2025-01-06T20:16:54.416Z",createdAt:"2025-01-06T20:16:54.416Z",enableAPIKey:null,apiKey:null,email:"rob@sdsdd.com",loginAttempts:0}],populatedAuthors:[{id:1,name:"Rob Ellison"}],publishedToWebsite:!1,slug:"test-post-2",slugLock:!0,updatedAt:"2025-01-06T20:17:31.465Z",createdAt:"2025-01-06T20:17:27.818Z",_status:"published"}};var At=pe.bind({});At.args={...K.args,pages:{totalPages:40,page:20}};var vt=pe.bind({});vt.args={...K.args,page:{...K.args.page,categoryList:{title:"Categories"}},categoryList:null};var Ct=pe.bind({});Ct.args={...K.args,page:{...K.args.page,authors:[{id:1,name:"Dave Brown",jobRole:null,profilePicture:null,workHistory:[],certifications:[],areasOfExpertise:[],dateOfBirth:null,joinDate:null,role:"admin",sub:null,updatedAt:"2025-01-06T20:16:54.416Z",createdAt:"2025-01-06T20:16:54.416Z",enableAPIKey:null,apiKey:null,email:""}],populatedAuthors:[{id:1,name:"Dave Brown"}]}};0&&(module.exports={Default,LoadsOfBlogs,NoAuthorImage,NoCategories});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as i}from"../chunk-
|
|
1
|
+
import{a as i}from"../chunk-BXWPTVDJ.mjs";import"../chunk-KML6U7IE.mjs";import"../chunk-65EMMROH.mjs";import"../chunk-UWVW5NGP.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-NWW7KWJK.mjs";import"../chunk-ODLDYXPZ.mjs";import"../chunk-QRNJ7O2L.mjs";import"../chunk-7WBETZEV.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-763KMQIQ.mjs";import"../chunk-J2VQUYES.mjs";import"../chunk-SJWGFZJ6.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-GLEWUUGS.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-6K2R3OAD.mjs";import"../chunk-D2WXBUVJ.mjs";import{jsx as r}from"react/jsx-runtime";var u={title:"Sections/BlogDetail",component:i,tags:["autodocs"],parameters:{nextjs:{appDirectory:!0},docs:{description:{component:"A card component that displays a service with an icon, title, description, and a link."}}},argTypes:{icon:{control:"text"},title:{control:"text"},description:{control:"text"},slug:{control:"text"}},decorators:[a=>r(a,{})]},e=a=>r(i,{...a}),t=e.bind({});t.args={categoryList:{title:"Categories",links:[{label:"Category 1",href:1},{label:"Category 2",href:2},{label:"Category 3",href:3}]},page:{id:2,title:"Test Post 2",content:{root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus lacinia odio vitae vestibulum vestibulum. Cras vehicula, libero a pharetra dictum, urna lectus porttitor lacus, at dapibus justo quam vel metus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Sed non velit nec arcu volutpat dignissim in a lorem.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[],direction:null,textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Proin sagittis sem et elit fringilla, nec fringilla eros maximus. Nulla facilisi. Ut sit amet facilisis lectus. Fusce ornare metus at ante tristique, nec elementum eros fermentum. Integer volutpat magna sed justo tincidunt, sit amet aliquam arcu pellentesque. Phasellus imperdiet mi vitae ligula pharetra, a dignissim velit vehicula.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[],direction:null,textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Suspendisse potenti. Donec malesuada arcu at velit laoreet convallis. Sed at eros vel lacus varius varius nec id metus. Praesent faucibus, orci a varius dapibus, lorem libero convallis est, et consequat libero magna sit amet risus. Maecenas tincidunt erat et felis sodales, nec malesuada sem tincidunt. Duis sed nisl euismod, ullamcorper augue at, rutrum felis.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[],direction:null,textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Aenean ut ligula ac libero vehicula luctus. Integer ultricies nisl id mi dictum, eget tincidunt augue interdum. Sed eu malesuada erat. Nam fringilla lectus id dolor gravida lacinia. Aliquam erat volutpat. Vestibulum nec ipsum vitae elit dapibus suscipit vel at ipsum.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}},relatedPosts:[],categories:[{id:1,title:"Test Category 1",slug:"test-category-1",updatedAt:"2025-01-06T20:16:54.416Z",createdAt:"2025-01-06T20:16:54.416Z",_status:"published"}],meta:{title:"Test Post 1",image:null,description:null},publishedAt:"2025-01-06T20:17:25.595Z",authors:[{id:1,name:"Rob",jobRole:null,profilePicture:null,workHistory:[],certifications:[],areasOfExpertise:[],dateOfBirth:null,joinDate:null,role:"admin",sub:null,updatedAt:"2025-01-06T20:16:54.416Z",createdAt:"2025-01-06T20:16:54.416Z",enableAPIKey:null,apiKey:null,email:"rob@sdsdd.com",loginAttempts:0}],populatedAuthors:[{id:1,name:"Rob Ellison"}],publishedToWebsite:!1,slug:"test-post-2",slugLock:!0,updatedAt:"2025-01-06T20:17:31.465Z",createdAt:"2025-01-06T20:17:27.818Z",_status:"published"}};var l=e.bind({});l.args={...t.args,pages:{totalPages:40,page:20}};var o=e.bind({});o.args={...t.args,page:{...t.args.page,categoryList:{title:"Categories"}},categoryList:null};var s=e.bind({});s.args={...t.args,page:{...t.args.page,authors:[{id:1,name:"Dave Brown",jobRole:null,profilePicture:null,workHistory:[],certifications:[],areasOfExpertise:[],dateOfBirth:null,joinDate:null,role:"admin",sub:null,updatedAt:"2025-01-06T20:16:54.416Z",createdAt:"2025-01-06T20:16:54.416Z",enableAPIKey:null,apiKey:null,email:""}],populatedAuthors:[{id:1,name:"Dave Brown"}]}};export{t as Default,l as LoadsOfBlogs,s as NoAuthorImage,o as NoCategories,u as default};
|