cortex-react-components 1.34.0 → 1.34.2
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-XTFOVKFL.mjs → chunk-3IHGGPRN.mjs} +1 -1
- package/dist/{chunk-Y3ZD3LIO.mjs → chunk-3PC5BLK7.mjs} +1 -1
- package/dist/{chunk-4BZYZZOG.mjs → chunk-3TIFSACL.mjs} +1 -1
- package/dist/{chunk-7QPNALSX.mjs → chunk-3ZQYE7M3.mjs} +1 -1
- package/dist/{chunk-MESSAICX.mjs → chunk-63BUZTVI.mjs} +1 -1
- package/dist/{chunk-FHE7LU6G.mjs → chunk-6ZXYKK6J.mjs} +1 -1
- package/dist/{chunk-VE7ZJ62Y.mjs → chunk-A2QVFCP5.mjs} +1 -1
- package/dist/chunk-AO2FTKDA.mjs +1 -0
- package/dist/{chunk-4BEPYHEG.mjs → chunk-BBLJ3L2P.mjs} +1 -1
- package/dist/{chunk-KAJDV47B.mjs → chunk-DESYC5BB.mjs} +1 -1
- package/dist/{chunk-KKDY7QXC.mjs → chunk-FOMIQYMA.mjs} +1 -1
- package/dist/{chunk-AYQM572B.mjs → chunk-GFTFZ7JY.mjs} +1 -1
- package/dist/{chunk-V7YLLLES.mjs → chunk-GOMLTG5W.mjs} +1 -1
- package/dist/{chunk-CP6IA4YZ.mjs → chunk-IB72MBM7.mjs} +1 -1
- package/dist/{chunk-ITOI4U3L.mjs → chunk-K6CEB2MJ.mjs} +1 -1
- package/dist/{chunk-YOIWC7S2.mjs → chunk-LHFZLDTD.mjs} +1 -1
- package/dist/{chunk-NW7VCO7D.mjs → chunk-LXAGAIOE.mjs} +1 -1
- package/dist/{chunk-M3MMOJFM.mjs → chunk-MZ45XGZG.mjs} +1 -1
- package/dist/{chunk-WY4P6RJP.mjs → chunk-NZHUMOVD.mjs} +1 -1
- package/dist/{chunk-ZFNSRYYX.mjs → chunk-O2DBG3NV.mjs} +1 -1
- package/dist/{chunk-LHFBM5DP.mjs → chunk-OBJPMP7L.mjs} +1 -1
- package/dist/{chunk-6FHLIH4J.mjs → chunk-ODLDYXPZ.mjs} +1 -1
- package/dist/{chunk-5EX5KVLO.mjs → chunk-OEM7RQ4Q.mjs} +1 -1
- package/dist/{chunk-K5QOQSAS.mjs → chunk-OVAOTY36.mjs} +1 -1
- package/dist/{chunk-MEBJNGL3.mjs → chunk-OZ3WPHBH.mjs} +1 -1
- package/dist/{chunk-IIHBXLZQ.mjs → chunk-PIHQ5WLE.mjs} +1 -1
- package/dist/{chunk-CW7WANDA.mjs → chunk-QRNJ7O2L.mjs} +1 -1
- package/dist/{chunk-WSXDK4KT.mjs → chunk-S7CP4YF5.mjs} +1 -1
- package/dist/{chunk-MBCAGZ76.mjs → chunk-ULKXH4YN.mjs} +1 -1
- package/dist/{chunk-IPG2W7EV.mjs → chunk-VP7B5S7N.mjs} +1 -1
- package/dist/{chunk-77MZDWUP.mjs → chunk-ZE5A5R73.mjs} +1 -1
- package/dist/{chunk-NYGYSEK6.mjs → chunk-ZNC5NNDY.mjs} +1 -1
- package/dist/components/Blocks/Banner.mjs +1 -1
- package/dist/components/Blocks/CallToAction.mjs +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
- package/dist/components/Blocks/ImageBlock.mjs +1 -1
- package/dist/components/Blocks/MediaBlock.mjs +1 -1
- package/dist/components/Blocks/RelatedPosts.mjs +1 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/HeaderFooter/Header.mjs +1 -1
- package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.stories.mjs +1 -1
- package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
- package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Heros/HighImpact/index.mjs +1 -1
- package/dist/components/Heros/LowImpact/index.mjs +1 -1
- package/dist/components/Heros/MediumImpact/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Layouts/BlogList.mjs +1 -1
- package/dist/components/Layouts/BlogList.stories.mjs +1 -1
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/Payload/Card/index.mjs +1 -1
- package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
- package/dist/components/Payload/Media/index.mjs +1 -1
- package/dist/components/Payload/RichText/index.mjs +1 -1
- package/dist/components/Payload/RichText/serialize.mjs +1 -1
- package/dist/components/Payload/RichText.stories.mjs +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/index.mjs +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -3
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/pages/Blog.js +1 -1
- package/dist/pages/Blog.mjs +1 -1
- package/dist/pages/Blog.stories.js +1 -1
- package/dist/pages/Blog.stories.mjs +1 -1
- package/dist/pages/Documentation.mjs +1 -1
- package/dist/pages/Documentation.stories.mjs +1 -1
- package/dist/pages/IndexPage.mjs +1 -1
- package/dist/pages/IndexPage.stories.mjs +1 -1
- package/dist/pages/Intranet.mjs +1 -1
- package/dist/pages/Intranet.stories.mjs +1 -1
- package/dist/pages/LandingPage.mjs +1 -1
- package/dist/pages/LandingPage.stories.mjs +1 -1
- package/dist/pages/Page.mjs +1 -1
- 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/sections/AboutSection.mjs +1 -1
- package/dist/sections/AboutSection.stories.mjs +1 -1
- package/dist/sections/BlogDetail.js +1 -1
- package/dist/sections/BlogDetail.mjs +1 -1
- package/dist/sections/BlogDetail.stories.js +1 -1
- package/dist/sections/BlogDetail.stories.mjs +1 -1
- package/dist/sections/BlogListSection.mjs +1 -1
- package/dist/sections/BlogListSection.stories.mjs +1 -1
- package/dist/sections/ContactSection.mjs +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.mjs +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-HU2USG4O.mjs +0 -1
|
@@ -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//Ve";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),Zt=new Set(["length","size","percentage"]),qt=e=>K(e,Zt,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",qt]}],"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 Ze=require("@radix-ui/react-slot"),qe=require("class-variance-authority"),Xe=B(require("react")),sr=(0,qe.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?Ze.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 q=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}));q.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)(q,{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.small)==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)(q,{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 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});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as i}from"../chunk-
|
|
1
|
+
import{a as i}from"../chunk-AO2FTKDA.mjs";import"../chunk-KML6U7IE.mjs";import"../chunk-3FTRFEVM.mjs";import"../chunk-BBLJ3L2P.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-YAH6C5YX.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};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-FOMIQYMA.mjs";import"../chunk-AD7PG4E2.mjs";import"../chunk-6ZNVXWZR.mjs";import"../chunk-WZLEEZ5C.mjs";import"../chunk-JODGODRI.mjs";import"../chunk-TST7OX5V.mjs";import"../chunk-IMAQJ7N3.mjs";import"../chunk-LBKMUSVR.mjs";import"../chunk-3FTRFEVM.mjs";import"../chunk-IPHHUHS3.mjs";import"../chunk-Y5VTKEKS.mjs";import"../chunk-CGBVZQYY.mjs";import"../chunk-BSQVKZCW.mjs";import"../chunk-QOIH63J3.mjs";import"../chunk-YNCJATT7.mjs";import"../chunk-OAOCXXC2.mjs";import"../chunk-GLEWUUGS.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-YNNW2C2U.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-6K2R3OAD.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-D2WXBUVJ.mjs";export{a as BlogListSection};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as t}from"../chunk-
|
|
1
|
+
import{a as t}from"../chunk-FOMIQYMA.mjs";import"../chunk-AD7PG4E2.mjs";import"../chunk-6ZNVXWZR.mjs";import"../chunk-WZLEEZ5C.mjs";import"../chunk-JODGODRI.mjs";import"../chunk-TST7OX5V.mjs";import"../chunk-IMAQJ7N3.mjs";import"../chunk-LBKMUSVR.mjs";import"../chunk-3FTRFEVM.mjs";import"../chunk-IPHHUHS3.mjs";import"../chunk-Y5VTKEKS.mjs";import"../chunk-CGBVZQYY.mjs";import"../chunk-BSQVKZCW.mjs";import"../chunk-QOIH63J3.mjs";import"../chunk-YNCJATT7.mjs";import"../chunk-OAOCXXC2.mjs";import"../chunk-GLEWUUGS.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-YNNW2C2U.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-6K2R3OAD.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-D2WXBUVJ.mjs";import{jsx as a}from"react/jsx-runtime";var n={title:"Sections/BlogListSection",component:t,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=>a(e,{})]},o=e=>a(t,{...e}),s=o.bind({});s.args={pages:{totalPages:4,page:1},types:[{label:"All",href:"1"},{label:"Announcements",href:"3"},{label:"Blogs",href:"4"},{label:"Articles",href:"5"},{label:"Case Studies",href:"6"}],categories:{title:"Categories",links:[{label:"General",href:"1"},{label:"Business Advice",href:"2"},{label:"Stock market",href:"3"},{label:"Regular start",href:"4"},{label:"Regular start",href:"5"}]},blogs:[{slug:"/blog/pioneering-progress",image:{src:"/assets/images/blog/blog-lg-1.png",alt:"Pioneering Progress, One Algorithm at a Time"},authors:[{name:"admin with a long name"},{name:"demo"}],categories:["Technology","Other"],publishedAt:"2025-01-01T17:19:41.270Z",commentCount:"05",title:"Pioneering Progress, One Algorithm at a Time",description:"Aliquam eros justo, posuere lobortis non, viverra laoreet augue mattis start fermentum ullamcorper viverra laoreet. By Admin. Technology. 28th February 2022. Leave a comment."},{slug:"/blog/innovative-solutions",image:{src:"/assets/images/blog/blog-lg-2.png",alt:"Innovative Solutions for Modern Problems"},publishedAt:"2025-01-01T17:19:41.270Z",categories:[],commentCount:"10",title:"Innovative Solutions for Modern Problems",description:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. Praesent libero. Sed cursus ante dapibus diam. By John Doe. Innovation. 15th March 2022. Leave a comment."},{slug:"/blog/future-of-tech",image:{src:"/assets/images/blog/blog-lg-3.png",alt:"The Future of Technology"},authors:[{name:"admin"},{name:"demo"}],publishedAt:"2025-01-01T17:19:41.270Z",commentCount:"08",title:"The Future of Technology",description:"Sed nisi. Nulla quis sem at nibh elementum imperdiet. Duis sagittis ipsum. Praesent mauris. Fusce nec tellus sed augue semper porta. By Jane Doe. Future. 22nd April 2022. Leave a comment."}]};var r=o.bind({});r.args={...s.args,pages:{totalPages:40,page:20}};var i=o.bind({});i.args={...s.args,categories:{title:"Categories"}};export{s as Default,r as LoadsOfBlogs,i as NoCategories,n as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-OBJPMP7L.mjs";import"../chunk-ULKXH4YN.mjs";import"../chunk-EG6XIOOJ.mjs";import"../chunk-NOEITQK2.mjs";import"../chunk-MMBUMBDU.mjs";import"../chunk-YLGJP63J.mjs";import"../chunk-KML6U7IE.mjs";import"../chunk-LHFZLDTD.mjs";import"../chunk-BBLJ3L2P.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-YAH6C5YX.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-UESKYRNK.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-6K2R3OAD.mjs";import"../chunk-D2WXBUVJ.mjs";export{a as ContactSection};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as o}from"../chunk-
|
|
1
|
+
import{a as o}from"../chunk-OBJPMP7L.mjs";import"../chunk-ULKXH4YN.mjs";import"../chunk-EG6XIOOJ.mjs";import"../chunk-NOEITQK2.mjs";import"../chunk-MMBUMBDU.mjs";import"../chunk-YLGJP63J.mjs";import"../chunk-KML6U7IE.mjs";import"../chunk-LHFZLDTD.mjs";import"../chunk-BBLJ3L2P.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-YAH6C5YX.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-UESKYRNK.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-6K2R3OAD.mjs";import"../chunk-D2WXBUVJ.mjs";import{Toaster as a}from"sonner";import{Fragment as c,jsx as e,jsxs as s}from"react/jsx-runtime";var l={title:"Sections/ContactSection",component:o,tags:["autodocs"],parameters:{docs:{description:{component:"A card component that displays a service with an icon, title, description, and a link."}}},argTypes:{},decorators:[t=>s(c,{children:[e(t,{}),e(a,{richColors:!0,position:"top-right",closeButton:!0,visibleToasts:9})]})]},n=t=>e(o,{...t}),i=n.bind({});i.args={sectionHeading:{title:"Get in Touch",subtitle:"We would love to hear from you"},image:{src:"/assets/images/contact.png",alt:"Contact Us",blurDataURL:"data:image/jpeg;base64,..."},contactInfo:{sectionHeading:{title:"Contact Information",subtitle:"Reach out to us through any of the following methods"},location:"123 Main Street, Anytown, AT 12345",mail:"info@example.com",phone:"+1 (555) 123-4567"},locations:[{title:"Head Office",location:"123 Main Street, Anytown, AT 12345",mails:["headoffice@example.com"],phoneNumbers:["+1 (555) 123-4567"],embedUrl:"https://www.google.com/maps/embed?..."},{title:"Branch Office",location:"456 Elm Street, Othertown, OT 67890",mails:["branchoffice@example.com"],phoneNumbers:["+1 (555) 987-6543"],embedUrl:"https://www.google.com/maps/embed?..."}]};export{i as Default,l as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";"use client";var Ne=Object.create;var U=Object.defineProperty;var ze=Object.getOwnPropertyDescriptor;var Le=Object.getOwnPropertyNames;var Se=Object.getPrototypeOf,Ae=Object.prototype.hasOwnProperty;var Ee=(e,t)=>{for(var r in t)U(e,r,{get:t[r],enumerable:!0})},de=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Le(t))!Ae.call(e,a)&&a!==r&&U(e,a,{get:()=>t[a],enumerable:!(o=ze(t,a))||o.enumerable});return e};var q=(e,t,r)=>(r=e!=null?Ne(Se(e)):{},de(t||!e||!e.__esModule?U(r,"default",{value:e,enumerable:!0}):r,e)),Pe=e=>de(U({},"__esModule",{value:!0}),e);var bt={};Ee(bt,{MainPageSection:()=>ft});module.exports=Pe(bt);var j=require("react");var S=q(require("react"));var ye=require("clsx");var te="-",He=e=>{let t=Ge(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:i=>{let s=i.split(te);return s[0]===""&&s.length!==1&&s.shift(),me(s,t)||Ie(i)},getConflictingClassGroupIds:(i,s)=>{let f=r[i]||[];return s&&o[i]?[...f,...o[i]]:f}}},me=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),a=o?me(e.slice(1),o):void 0;if(a)return a;if(t.validators.length===0)return;let n=e.join(te);return(i=t.validators.find(({validator:s})=>s(n)))==null?void 0:i.classGroupId},pe=/^\[(.+)\]$/,Ie=e=>{if(pe.test(e)){let t=pe.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Ge=e=>{let{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return Ve(Object.entries(e.classGroups),r).forEach(([n,i])=>{ee(i,o,n,t)}),o},ee=(e,t,r,o)=>{e.forEach(a=>{if(typeof a=="string"){let n=a===""?t:ue(t,a);n.classGroupId=r;return}if(typeof a=="function"){if(Be(a)){ee(a(o),t,r,o);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([n,i])=>{ee(i,ue(t,n),r,o)})})},ue=(e,t)=>{let r=e;return t.split(te).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},Be=e=>e.isThemeGetter,Ve=(e,t)=>t?e.map(([r,o])=>{let a=o.map(n=>typeof n=="string"?t+n:typeof n=="object"?Object.fromEntries(Object.entries(n).map(([i,s])=>[t+i,s])):n);return[r,a]}):e,Oe=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map,a=(n,i)=>{r.set(n,i),t++,t>e&&(t=0,o=r,r=new Map)};return{get(n){let i=r.get(n);if(i!==void 0)return i;if((i=o.get(n))!==void 0)return a(n,i),i},set(n,i){r.has(n)?r.set(n,i):a(n,i)}}},fe="!",_e=e=>{let{separator:t,experimentalParseClassName:r}=e,o=t.length===1,a=t[0],n=t.length,i=s=>{let f=[],h=0,y=0,C;for(let m=0;m<s.length;m++){let g=s[m];if(h===0){if(g===a&&(o||s.slice(m,m+n)===t)){f.push(s.slice(y,m)),y=m+n;continue}if(g==="/"){C=m;continue}}g==="["?h++:g==="]"&&h--}let k=f.length===0?s:s.substring(y),b=k.startsWith(fe),x=b?k.substring(1):k,d=C&&C>y?C-y:void 0;return{modifiers:f,hasImportantModifier:b,baseClassName:x,maybePostfixModifierPosition:d}};return r?s=>r({className:s,parseClassName:i}):i},$e=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(o=>{o[0]==="["?(t.push(...r.sort(),o),r=[]):r.push(o)}),t.push(...r.sort()),t},je=e=>({cache:Oe(e.cacheSize),parseClassName:_e(e),...He(e)}),We=/\s+/,De=(e,t)=>{let{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:a}=t,n=[],i=e.trim().split(We),s="";for(let f=i.length-1;f>=0;f-=1){let h=i[f],{modifiers:y,hasImportantModifier:C,baseClassName:k,maybePostfixModifierPosition:b}=r(h),x=!!b,d=o(x?k.substring(0,b):k);if(!d){if(!x){s=h+(s.length>0?" "+s:s);continue}if(d=o(k),!d){s=h+(s.length>0?" "+s:s);continue}x=!1}let m=$e(y).join(":"),g=C?m+fe:m,v=g+d;if(n.includes(v))continue;n.push(v);let V=a(d,x);for(let L=0;L<V.length;++L){let W=V[L];n.push(g+W)}s=h+(s.length>0?" "+s:s)}return s};function Fe(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=be(t))&&(o&&(o+=" "),o+=r);return o}var be=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=be(e[o]))&&(r&&(r+=" "),r+=t);return r};function Ue(e,...t){let r,o,a,n=i;function i(f){let h=t.reduce((y,C)=>C(y),e());return r=je(h),o=r.cache.get,a=r.cache.set,n=s,s(f)}function s(f){let h=o(f);if(h)return h;let y=De(f,r);return a(f,y),y}return function(){return n(Fe.apply(null,arguments))}}var p=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},ge=/^\[(?:([a-z-]+):)?(.+)\]$/i,qe=/^\d+\/\d+$/,Je=new Set(["px","full","screen"]),Ke=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Xe=/\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$/,Ye=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Ze=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Qe=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,M=e=>E(e)||Je.has(e)||qe.test(e),N=e=>P(e,"length",it),E=e=>!!e&&!Number.isNaN(Number(e)),Q=e=>P(e,"number",E),_=e=>!!e&&Number.isInteger(Number(e)),et=e=>e.endsWith("%")&&E(e.slice(0,-1)),l=e=>ge.test(e),z=e=>Ke.test(e),tt=new Set(["length","size","percentage"]),rt=e=>P(e,tt,he),ot=e=>P(e,"position",he),nt=new Set(["image","url"]),st=e=>P(e,nt,ct),at=e=>P(e,"",lt),$=()=>!0,P=(e,t,r)=>{let o=ge.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1},it=e=>Xe.test(e)&&!Ye.test(e),he=()=>!1,lt=e=>Ze.test(e),ct=e=>Qe.test(e);var dt=()=>{let e=p("colors"),t=p("spacing"),r=p("blur"),o=p("brightness"),a=p("borderColor"),n=p("borderRadius"),i=p("borderSpacing"),s=p("borderWidth"),f=p("contrast"),h=p("grayscale"),y=p("hueRotate"),C=p("invert"),k=p("gap"),b=p("gradientColorStops"),x=p("gradientColorStopPositions"),d=p("inset"),m=p("margin"),g=p("opacity"),v=p("padding"),V=p("saturate"),L=p("scale"),W=p("sepia"),oe=p("skew"),ne=p("space"),se=p("translate"),K=()=>["auto","contain","none"],X=()=>["auto","hidden","clip","visible","scroll"],Y=()=>["auto",l,t],u=()=>[l,t],ae=()=>["",M,N],D=()=>["auto",E,l],ie=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],F=()=>["solid","dashed","dotted","double","none"],le=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Z=()=>["start","end","center","between","around","evenly","stretch"],O=()=>["","0",l],ce=()=>["auto","avoid","all","avoid-page","page","left","right","column"],R=()=>[E,l];return{cacheSize:500,separator:":",theme:{colors:[$],spacing:[M,N],blur:["none","",z,l],brightness:R(),borderColor:[e],borderRadius:["none","","full",z,l],borderSpacing:u(),borderWidth:ae(),contrast:R(),grayscale:O(),hueRotate:R(),invert:O(),gap:u(),gradientColorStops:[e],gradientColorStopPositions:[et,N],inset:Y(),margin:Y(),opacity:R(),padding:u(),saturate:R(),scale:R(),sepia:O(),skew:R(),space:u(),translate:u()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[z]}],"break-after":[{"break-after":ce()}],"break-before":[{"break-before":ce()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...ie(),l]}],overflow:[{overflow:X()}],"overflow-x":[{"overflow-x":X()}],"overflow-y":[{"overflow-y":X()}],overscroll:[{overscroll:K()}],"overscroll-x":[{"overscroll-x":K()}],"overscroll-y":[{"overscroll-y":K()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[d]}],"inset-x":[{"inset-x":[d]}],"inset-y":[{"inset-y":[d]}],start:[{start:[d]}],end:[{end:[d]}],top:[{top:[d]}],right:[{right:[d]}],bottom:[{bottom:[d]}],left:[{left:[d]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",_,l]}],basis:[{basis:Y()}],"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:O()}],shrink:[{shrink:O()}],order:[{order:["first","last","none",_,l]}],"grid-cols":[{"grid-cols":[$]}],"col-start-end":[{col:["auto",{span:["full",_,l]},l]}],"col-start":[{"col-start":D()}],"col-end":[{"col-end":D()}],"grid-rows":[{"grid-rows":[$]}],"row-start-end":[{row:["auto",{span:[_,l]},l]}],"row-start":[{"row-start":D()}],"row-end":[{"row-end":D()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",l]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",l]}],gap:[{gap:[k]}],"gap-x":[{"gap-x":[k]}],"gap-y":[{"gap-y":[k]}],"justify-content":[{justify:["normal",...Z()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Z(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Z(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[v]}],px:[{px:[v]}],py:[{py:[v]}],ps:[{ps:[v]}],pe:[{pe:[v]}],pt:[{pt:[v]}],pr:[{pr:[v]}],pb:[{pb:[v]}],pl:[{pl:[v]}],m:[{m:[m]}],mx:[{mx:[m]}],my:[{my:[m]}],ms:[{ms:[m]}],me:[{me:[m]}],mt:[{mt:[m]}],mr:[{mr:[m]}],mb:[{mb:[m]}],ml:[{ml:[m]}],"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:[z]},z]}],h:[{h:[l,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,t,"auto","min","max","fit"]}],"font-size":[{text:["base",z,N]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Q]}],"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",E,Q]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",M,l]}],"list-image":[{"list-image":["none",l]}],"list-style-type":[{list:["none","disc","decimal",l]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[g]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[g]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...F(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",M,N]}],"underline-offset":[{"underline-offset":["auto",M,l]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:u()}],"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":[g]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ie(),ot]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",rt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},st]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[x]}],"gradient-via-pos":[{via:[x]}],"gradient-to-pos":[{to:[x]}],"gradient-from":[{from:[b]}],"gradient-via":[{via:[b]}],"gradient-to":[{to:[b]}],rounded:[{rounded:[n]}],"rounded-s":[{"rounded-s":[n]}],"rounded-e":[{"rounded-e":[n]}],"rounded-t":[{"rounded-t":[n]}],"rounded-r":[{"rounded-r":[n]}],"rounded-b":[{"rounded-b":[n]}],"rounded-l":[{"rounded-l":[n]}],"rounded-ss":[{"rounded-ss":[n]}],"rounded-se":[{"rounded-se":[n]}],"rounded-ee":[{"rounded-ee":[n]}],"rounded-es":[{"rounded-es":[n]}],"rounded-tl":[{"rounded-tl":[n]}],"rounded-tr":[{"rounded-tr":[n]}],"rounded-br":[{"rounded-br":[n]}],"rounded-bl":[{"rounded-bl":[n]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[g]}],"border-style":[{border:[...F(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[g]}],"divide-style":[{divide:F()}],"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:["",...F()]}],"outline-offset":[{"outline-offset":[M,l]}],"outline-w":[{outline:[M,N]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ae()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[g]}],"ring-offset-w":[{"ring-offset":[M,N]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",z,at]}],"shadow-color":[{shadow:[$]}],opacity:[{opacity:[g]}],"mix-blend":[{"mix-blend":[...le(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":le()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[f]}],"drop-shadow":[{"drop-shadow":["","none",z,l]}],grayscale:[{grayscale:[h]}],"hue-rotate":[{"hue-rotate":[y]}],invert:[{invert:[C]}],saturate:[{saturate:[V]}],sepia:[{sepia:[W]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[f]}],"backdrop-grayscale":[{"backdrop-grayscale":[h]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[y]}],"backdrop-invert":[{"backdrop-invert":[C]}],"backdrop-opacity":[{"backdrop-opacity":[g]}],"backdrop-saturate":[{"backdrop-saturate":[V]}],"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: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:[L]}],"scale-x":[{"scale-x":[L]}],"scale-y":[{"scale-y":[L]}],rotate:[{rotate:[_,l]}],"translate-x":[{"translate-x":[se]}],"translate-y":[{"translate-y":[se]}],"skew-x":[{"skew-x":[oe]}],"skew-y":[{"skew-y":[oe]}],"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":u()}],"scroll-mx":[{"scroll-mx":u()}],"scroll-my":[{"scroll-my":u()}],"scroll-ms":[{"scroll-ms":u()}],"scroll-me":[{"scroll-me":u()}],"scroll-mt":[{"scroll-mt":u()}],"scroll-mr":[{"scroll-mr":u()}],"scroll-mb":[{"scroll-mb":u()}],"scroll-ml":[{"scroll-ml":u()}],"scroll-p":[{"scroll-p":u()}],"scroll-px":[{"scroll-px":u()}],"scroll-py":[{"scroll-py":u()}],"scroll-ps":[{"scroll-ps":u()}],"scroll-pe":[{"scroll-pe":u()}],"scroll-pt":[{"scroll-pt":u()}],"scroll-pr":[{"scroll-pr":u()}],"scroll-pb":[{"scroll-pb":u()}],"scroll-pl":[{"scroll-pl":u()}],"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:[M,N,Q]}],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","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-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 xe=Ue(dt);function w(...e){return xe((0,ye.clsx)(e))}var A=require("react/jsx-runtime"),H=S.forwardRef(({className:e,...t},r)=>(0,A.jsx)("div",{ref:r,className:w("rounded-xl border bg-card text-card-foreground shadow",e),...t}));H.displayName="Card";var I=S.forwardRef(({className:e,...t},r)=>(0,A.jsx)("div",{ref:r,className:w("flex flex-col space-y-1.5 p-6",e),...t}));I.displayName="CardHeader";var G=S.forwardRef(({className:e,...t},r)=>(0,A.jsx)("div",{ref:r,className:w("font-semibold leading-none tracking-tight",e),...t}));G.displayName="CardTitle";var pt=S.forwardRef(({className:e,...t},r)=>(0,A.jsx)("div",{ref:r,className:w("text-sm text-muted-foreground",e),...t}));pt.displayName="CardDescription";var B=S.forwardRef(({className:e,...t},r)=>(0,A.jsx)("div",{ref:r,className:w("p-6 pt-0",e),...t}));B.displayName="CardContent";var ut=S.forwardRef(({className:e,...t},r)=>(0,A.jsx)("div",{ref:r,className:w("flex items-center p-6 pt-0",e),...t}));ut.displayName="CardFooter";var ve=require("@radix-ui/react-slot"),we=require("class-variance-authority"),Ce=q(require("react")),mt=(0,we.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"}}}),J=Ce.forwardRef(({asChild:e=!1,className:t,size:r,variant:o,...a},n)=>(0,A.jsx)(e?ve.Slot:"button",{className:w(mt({className:t,size:r,variant:o})),ref:n,...a}));J.displayName="Button";var re=q(require("next/link"));var Re=q(require("next/link"));var Me=require("lucide-react"),Te=({links:e,title:t="Related Content"})=>(0,A.jsxs)(H,{children:[(0,A.jsx)(I,{children:(0,A.jsx)(G,{className:"text-accent",children:t})}),(0,A.jsx)(B,{children:(0,A.jsx)("nav",{className:"flex flex-col space-y-2",children:e.map((r,o)=>(0,A.jsxs)(Re.default,{href:r.url,className:"inline-flex items-center text-sm text-primary hover:underline",children:[r.title,r.url.startsWith("http")&&(0,A.jsx)(Me.ExternalLink,{className:"ml-1 h-3 w-3"})]},o))})})]});var ft=({children:e,pageId:t,tableOfContents:r=[],edit:o=!0,path:a="/admin/collections/pages/",relatedContent:n={title:"Related Content",links:[]}})=>{let[i,s]=(0,j.useState)(!1),[f,h]=(0,j.useState)(""),y=()=>{s(!i)},C=b=>{switch(b){case"h3":return"ml-4";case"h4":return"ml-8";default:return""}},k=(b,x)=>{b.preventDefault();let d=document.getElementById(x);if(d){let g=d.offsetTop+-100,v=document.querySelector(".container")||window;v===window?window.scrollTo({top:g,behavior:"smooth"}):v.scrollTo({top:g,behavior:"smooth"}),h(x)}else console.error(`Element with ID "${x}" not found.`)};return(0,j.useEffect)(()=>{let b=window.location.hash;if(b){let x=b.substring(1),d=document.getElementById(x);if(d){let g=d.getBoundingClientRect().top+window.pageYOffset+-300;window.scrollTo({top:g,behavior:"smooth"})}}},[]),(0,A.jsxs)("div",{className:"container py-8",children:[(0,A.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 xl:grid-cols-4 gap-8",children:[(0,A.jsx)("div",{className:w(i?"col-span-2":"col-span-3","xl:col-span-3"),children:e}),(0,A.jsxs)("div",{className:w("space-y-6 transform min-w-full transition-transform duration-300","col-span-4 md:col-span-1 translate-x-0 xl:-mt-20",i?"translate-x-0":"md:translate-x-full","xl:block xl:col-span-1 xl:translate-x-0"),children:[r.length>3&&(0,A.jsxs)(H,{className:"w-full max-w-sm mt-4",children:[(0,A.jsx)(I,{children:(0,A.jsx)(G,{className:"text-accent",children:"On this page"})}),(0,A.jsx)(B,{children:(0,A.jsx)("ul",{className:"space-y-2",children:r.map((b,x)=>(0,A.jsx)("li",{className:C(b.tag),children:(0,A.jsx)("a",{href:`#${b.id}`,onClick:d=>k(d,b.id),className:`text-sm ${f===b.id?"text-accent font-semibold":"text-primary"} hover:text-accent`,children:b.text})},x))})})]}),o&&(0,A.jsxs)(H,{children:[(0,A.jsx)(I,{children:(0,A.jsx)(G,{children:"CMS Actions"})}),(0,A.jsxs)(B,{children:[(0,A.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Contribute or create new content."}),(0,A.jsx)(re.default,{href:`${a}${t}`,children:(0,A.jsx)(J,{variant:"outline",className:"w-full text-accent",children:"Edit Page"})}),(0,A.jsx)(re.default,{href:"/admin/collections/pages/create",children:(0,A.jsx)(J,{variant:"outline",className:"w-full mt-2 text-accent",children:"Create New"})})]})]}),n&&n.links.length>0&&(0,A.jsx)(Te,{...n})]}),(0,A.jsx)("button",{onClick:y,className:w("fixed top-1/2 right-0 z-50 h-16 w-8 bg-accent text-accent-foreground rounded-l-full transform -translate-y-1/2 flex items-center justify-center","hidden md:block xl:hidden"),children:"\u22EE"})]}),(0,A.jsx)("div",{className:"block md:hidden mt-8",children:(0,A.jsx)("div",{className:"space-y-6",children:e})})]})};0&&(module.exports={MainPageSection});
|
|
4
|
+
"use strict";"use client";var Ne=Object.create;var U=Object.defineProperty;var ze=Object.getOwnPropertyDescriptor;var Le=Object.getOwnPropertyNames;var Se=Object.getPrototypeOf,Ae=Object.prototype.hasOwnProperty;var Ee=(e,t)=>{for(var r in t)U(e,r,{get:t[r],enumerable:!0})},de=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Le(t))!Ae.call(e,a)&&a!==r&&U(e,a,{get:()=>t[a],enumerable:!(o=ze(t,a))||o.enumerable});return e};var q=(e,t,r)=>(r=e!=null?Ne(Se(e)):{},de(t||!e||!e.__esModule?U(r,"default",{value:e,enumerable:!0}):r,e)),Pe=e=>de(U({},"__esModule",{value:!0}),e);var bt={};Ee(bt,{MainPageSection:()=>mt});module.exports=Pe(bt);var j=require("react");var S=q(require("react"));var ye=require("clsx");var te="-",He=e=>{let t=Ge(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:i=>{let s=i.split(te);return s[0]===""&&s.length!==1&&s.shift(),fe(s,t)||Ie(i)},getConflictingClassGroupIds:(i,s)=>{let m=r[i]||[];return s&&o[i]?[...m,...o[i]]:m}}},fe=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),a=o?fe(e.slice(1),o):void 0;if(a)return a;if(t.validators.length===0)return;let n=e.join(te);return(i=t.validators.find(({validator:s})=>s(n)))==null?void 0:i.classGroupId},pe=/^\[(.+)\]$/,Ie=e=>{if(pe.test(e)){let t=pe.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Ge=e=>{let{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return Ve(Object.entries(e.classGroups),r).forEach(([n,i])=>{ee(i,o,n,t)}),o},ee=(e,t,r,o)=>{e.forEach(a=>{if(typeof a=="string"){let n=a===""?t:ue(t,a);n.classGroupId=r;return}if(typeof a=="function"){if(Be(a)){ee(a(o),t,r,o);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([n,i])=>{ee(i,ue(t,n),r,o)})})},ue=(e,t)=>{let r=e;return t.split(te).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},Be=e=>e.isThemeGetter,Ve=(e,t)=>t?e.map(([r,o])=>{let a=o.map(n=>typeof n=="string"?t+n:typeof n=="object"?Object.fromEntries(Object.entries(n).map(([i,s])=>[t+i,s])):n);return[r,a]}):e,Oe=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map,a=(n,i)=>{r.set(n,i),t++,t>e&&(t=0,o=r,r=new Map)};return{get(n){let i=r.get(n);if(i!==void 0)return i;if((i=o.get(n))!==void 0)return a(n,i),i},set(n,i){r.has(n)?r.set(n,i):a(n,i)}}},me="!",_e=e=>{let{separator:t,experimentalParseClassName:r}=e,o=t.length===1,a=t[0],n=t.length,i=s=>{let m=[],h=0,y=0,C;for(let f=0;f<s.length;f++){let g=s[f];if(h===0){if(g===a&&(o||s.slice(f,f+n)===t)){m.push(s.slice(y,f)),y=f+n;continue}if(g==="/"){C=f;continue}}g==="["?h++:g==="]"&&h--}let k=m.length===0?s:s.substring(y),b=k.startsWith(me),x=b?k.substring(1):k,d=C&&C>y?C-y:void 0;return{modifiers:m,hasImportantModifier:b,baseClassName:x,maybePostfixModifierPosition:d}};return r?s=>r({className:s,parseClassName:i}):i},$e=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(o=>{o[0]==="["?(t.push(...r.sort(),o),r=[]):r.push(o)}),t.push(...r.sort()),t},je=e=>({cache:Oe(e.cacheSize),parseClassName:_e(e),...He(e)}),We=/\s+/,De=(e,t)=>{let{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:a}=t,n=[],i=e.trim().split(We),s="";for(let m=i.length-1;m>=0;m-=1){let h=i[m],{modifiers:y,hasImportantModifier:C,baseClassName:k,maybePostfixModifierPosition:b}=r(h),x=!!b,d=o(x?k.substring(0,b):k);if(!d){if(!x){s=h+(s.length>0?" "+s:s);continue}if(d=o(k),!d){s=h+(s.length>0?" "+s:s);continue}x=!1}let f=$e(y).join(":"),g=C?f+me:f,v=g+d;if(n.includes(v))continue;n.push(v);let V=a(d,x);for(let L=0;L<V.length;++L){let W=V[L];n.push(g+W)}s=h+(s.length>0?" "+s:s)}return s};function Fe(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=be(t))&&(o&&(o+=" "),o+=r);return o}var be=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=be(e[o]))&&(r&&(r+=" "),r+=t);return r};function Ue(e,...t){let r,o,a,n=i;function i(m){let h=t.reduce((y,C)=>C(y),e());return r=je(h),o=r.cache.get,a=r.cache.set,n=s,s(m)}function s(m){let h=o(m);if(h)return h;let y=De(m,r);return a(m,y),y}return function(){return n(Fe.apply(null,arguments))}}var p=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},ge=/^\[(?:([a-z-]+):)?(.+)\]$/i,qe=/^\d+\/\d+$/,Je=new Set(["px","full","screen"]),Ke=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Xe=/\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$/,Ye=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Ze=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Qe=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,M=e=>E(e)||Je.has(e)||qe.test(e),N=e=>P(e,"length",it),E=e=>!!e&&!Number.isNaN(Number(e)),Q=e=>P(e,"number",E),_=e=>!!e&&Number.isInteger(Number(e)),et=e=>e.endsWith("%")&&E(e.slice(0,-1)),l=e=>ge.test(e),z=e=>Ke.test(e),tt=new Set(["length","size","percentage"]),rt=e=>P(e,tt,he),ot=e=>P(e,"position",he),nt=new Set(["image","url"]),st=e=>P(e,nt,ct),at=e=>P(e,"",lt),$=()=>!0,P=(e,t,r)=>{let o=ge.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1},it=e=>Xe.test(e)&&!Ye.test(e),he=()=>!1,lt=e=>Ze.test(e),ct=e=>Qe.test(e);var dt=()=>{let e=p("colors"),t=p("spacing"),r=p("blur"),o=p("brightness"),a=p("borderColor"),n=p("borderRadius"),i=p("borderSpacing"),s=p("borderWidth"),m=p("contrast"),h=p("grayscale"),y=p("hueRotate"),C=p("invert"),k=p("gap"),b=p("gradientColorStops"),x=p("gradientColorStopPositions"),d=p("inset"),f=p("margin"),g=p("opacity"),v=p("padding"),V=p("saturate"),L=p("scale"),W=p("sepia"),oe=p("skew"),ne=p("space"),se=p("translate"),K=()=>["auto","contain","none"],X=()=>["auto","hidden","clip","visible","scroll"],Y=()=>["auto",l,t],u=()=>[l,t],ae=()=>["",M,N],D=()=>["auto",E,l],ie=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],F=()=>["solid","dashed","dotted","double","none"],le=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Z=()=>["start","end","center","between","around","evenly","stretch"],O=()=>["","0",l],ce=()=>["auto","avoid","all","avoid-page","page","left","right","column"],R=()=>[E,l];return{cacheSize:500,separator:":",theme:{colors:[$],spacing:[M,N],blur:["none","",z,l],brightness:R(),borderColor:[e],borderRadius:["none","","full",z,l],borderSpacing:u(),borderWidth:ae(),contrast:R(),grayscale:O(),hueRotate:R(),invert:O(),gap:u(),gradientColorStops:[e],gradientColorStopPositions:[et,N],inset:Y(),margin:Y(),opacity:R(),padding:u(),saturate:R(),scale:R(),sepia:O(),skew:R(),space:u(),translate:u()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[z]}],"break-after":[{"break-after":ce()}],"break-before":[{"break-before":ce()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...ie(),l]}],overflow:[{overflow:X()}],"overflow-x":[{"overflow-x":X()}],"overflow-y":[{"overflow-y":X()}],overscroll:[{overscroll:K()}],"overscroll-x":[{"overscroll-x":K()}],"overscroll-y":[{"overscroll-y":K()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[d]}],"inset-x":[{"inset-x":[d]}],"inset-y":[{"inset-y":[d]}],start:[{start:[d]}],end:[{end:[d]}],top:[{top:[d]}],right:[{right:[d]}],bottom:[{bottom:[d]}],left:[{left:[d]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",_,l]}],basis:[{basis:Y()}],"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:O()}],shrink:[{shrink:O()}],order:[{order:["first","last","none",_,l]}],"grid-cols":[{"grid-cols":[$]}],"col-start-end":[{col:["auto",{span:["full",_,l]},l]}],"col-start":[{"col-start":D()}],"col-end":[{"col-end":D()}],"grid-rows":[{"grid-rows":[$]}],"row-start-end":[{row:["auto",{span:[_,l]},l]}],"row-start":[{"row-start":D()}],"row-end":[{"row-end":D()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",l]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",l]}],gap:[{gap:[k]}],"gap-x":[{"gap-x":[k]}],"gap-y":[{"gap-y":[k]}],"justify-content":[{justify:["normal",...Z()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Z(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Z(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[v]}],px:[{px:[v]}],py:[{py:[v]}],ps:[{ps:[v]}],pe:[{pe:[v]}],pt:[{pt:[v]}],pr:[{pr:[v]}],pb:[{pb:[v]}],pl:[{pl:[v]}],m:[{m:[f]}],mx:[{mx:[f]}],my:[{my:[f]}],ms:[{ms:[f]}],me:[{me:[f]}],mt:[{mt:[f]}],mr:[{mr:[f]}],mb:[{mb:[f]}],ml:[{ml:[f]}],"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:[z]},z]}],h:[{h:[l,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,t,"auto","min","max","fit"]}],"font-size":[{text:["base",z,N]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Q]}],"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",E,Q]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",M,l]}],"list-image":[{"list-image":["none",l]}],"list-style-type":[{list:["none","disc","decimal",l]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[g]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[g]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...F(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",M,N]}],"underline-offset":[{"underline-offset":["auto",M,l]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:u()}],"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":[g]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ie(),ot]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",rt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},st]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[x]}],"gradient-via-pos":[{via:[x]}],"gradient-to-pos":[{to:[x]}],"gradient-from":[{from:[b]}],"gradient-via":[{via:[b]}],"gradient-to":[{to:[b]}],rounded:[{rounded:[n]}],"rounded-s":[{"rounded-s":[n]}],"rounded-e":[{"rounded-e":[n]}],"rounded-t":[{"rounded-t":[n]}],"rounded-r":[{"rounded-r":[n]}],"rounded-b":[{"rounded-b":[n]}],"rounded-l":[{"rounded-l":[n]}],"rounded-ss":[{"rounded-ss":[n]}],"rounded-se":[{"rounded-se":[n]}],"rounded-ee":[{"rounded-ee":[n]}],"rounded-es":[{"rounded-es":[n]}],"rounded-tl":[{"rounded-tl":[n]}],"rounded-tr":[{"rounded-tr":[n]}],"rounded-br":[{"rounded-br":[n]}],"rounded-bl":[{"rounded-bl":[n]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[g]}],"border-style":[{border:[...F(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[g]}],"divide-style":[{divide:F()}],"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:["",...F()]}],"outline-offset":[{"outline-offset":[M,l]}],"outline-w":[{outline:[M,N]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ae()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[g]}],"ring-offset-w":[{"ring-offset":[M,N]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",z,at]}],"shadow-color":[{shadow:[$]}],opacity:[{opacity:[g]}],"mix-blend":[{"mix-blend":[...le(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":le()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[m]}],"drop-shadow":[{"drop-shadow":["","none",z,l]}],grayscale:[{grayscale:[h]}],"hue-rotate":[{"hue-rotate":[y]}],invert:[{invert:[C]}],saturate:[{saturate:[V]}],sepia:[{sepia:[W]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[m]}],"backdrop-grayscale":[{"backdrop-grayscale":[h]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[y]}],"backdrop-invert":[{"backdrop-invert":[C]}],"backdrop-opacity":[{"backdrop-opacity":[g]}],"backdrop-saturate":[{"backdrop-saturate":[V]}],"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: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:[L]}],"scale-x":[{"scale-x":[L]}],"scale-y":[{"scale-y":[L]}],rotate:[{rotate:[_,l]}],"translate-x":[{"translate-x":[se]}],"translate-y":[{"translate-y":[se]}],"skew-x":[{"skew-x":[oe]}],"skew-y":[{"skew-y":[oe]}],"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":u()}],"scroll-mx":[{"scroll-mx":u()}],"scroll-my":[{"scroll-my":u()}],"scroll-ms":[{"scroll-ms":u()}],"scroll-me":[{"scroll-me":u()}],"scroll-mt":[{"scroll-mt":u()}],"scroll-mr":[{"scroll-mr":u()}],"scroll-mb":[{"scroll-mb":u()}],"scroll-ml":[{"scroll-ml":u()}],"scroll-p":[{"scroll-p":u()}],"scroll-px":[{"scroll-px":u()}],"scroll-py":[{"scroll-py":u()}],"scroll-ps":[{"scroll-ps":u()}],"scroll-pe":[{"scroll-pe":u()}],"scroll-pt":[{"scroll-pt":u()}],"scroll-pr":[{"scroll-pr":u()}],"scroll-pb":[{"scroll-pb":u()}],"scroll-pl":[{"scroll-pl":u()}],"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:[M,N,Q]}],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","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-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 xe=Ue(dt);function w(...e){return xe((0,ye.clsx)(e))}var A=require("react/jsx-runtime"),H=S.forwardRef(({className:e,...t},r)=>(0,A.jsx)("div",{ref:r,className:w("rounded-xl border bg-card text-card-foreground shadow",e),...t}));H.displayName="Card";var I=S.forwardRef(({className:e,...t},r)=>(0,A.jsx)("div",{ref:r,className:w("flex flex-col space-y-1.5 p-6",e),...t}));I.displayName="CardHeader";var G=S.forwardRef(({className:e,...t},r)=>(0,A.jsx)("div",{ref:r,className:w("font-semibold leading-none tracking-tight",e),...t}));G.displayName="CardTitle";var pt=S.forwardRef(({className:e,...t},r)=>(0,A.jsx)("div",{ref:r,className:w("text-sm text-muted-foreground",e),...t}));pt.displayName="CardDescription";var B=S.forwardRef(({className:e,...t},r)=>(0,A.jsx)("div",{ref:r,className:w("p-6 pt-0",e),...t}));B.displayName="CardContent";var ut=S.forwardRef(({className:e,...t},r)=>(0,A.jsx)("div",{ref:r,className:w("flex items-center p-6 pt-0",e),...t}));ut.displayName="CardFooter";var ve=require("@radix-ui/react-slot"),we=require("class-variance-authority"),Ce=q(require("react")),ft=(0,we.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"}}}),J=Ce.forwardRef(({asChild:e=!1,className:t,size:r,variant:o,...a},n)=>(0,A.jsx)(e?ve.Slot:"button",{className:w(ft({className:t,size:r,variant:o})),ref:n,...a}));J.displayName="Button";var re=q(require("next/link"));var Re=q(require("next/link"));var Me=require("lucide-react"),Te=({links:e,title:t="Related Content"})=>(0,A.jsxs)(H,{children:[(0,A.jsx)(I,{children:(0,A.jsx)(G,{className:"text-accent",children:t})}),(0,A.jsx)(B,{children:(0,A.jsx)("nav",{className:"flex flex-col space-y-2",children:e.map((r,o)=>(0,A.jsxs)(Re.default,{href:r.url,className:"inline-flex items-center text-sm text-primary hover:underline",children:[r.title,r.url.startsWith("http")&&(0,A.jsx)(Me.ExternalLink,{className:"ml-1 h-3 w-3"})]},o))})})]});var mt=({children:e,pageId:t,tableOfContents:r=[],edit:o=!0,path:a="/admin/collections/pages/",relatedContent:n={title:"Related Content",links:[]}})=>{let[i,s]=(0,j.useState)(!1),[m,h]=(0,j.useState)(""),y=()=>{s(!i)},C=b=>{switch(b){case"h3":return"ml-4";case"h4":return"ml-8";default:return""}},k=(b,x)=>{b.preventDefault();let d=document.getElementById(x);if(d){let g=d.offsetTop+-100,v=document.querySelector(".container")||window;v===window?window.scrollTo({top:g,behavior:"smooth"}):v.scrollTo({top:g,behavior:"smooth"}),h(x)}else console.error(`Element with ID "${x}" not found.`)};return(0,j.useEffect)(()=>{let b=window.location.hash;if(b){let x=b.substring(1),d=document.getElementById(x);if(d){let g=d.getBoundingClientRect().top+window.pageYOffset+-300;window.scrollTo({top:g,behavior:"smooth"})}}},[]),(0,A.jsxs)("div",{className:"container py-8",children:[(0,A.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 xl:grid-cols-4 gap-8",children:[(0,A.jsx)("div",{className:w(i?"col-span-2":"col-span-3","xl:col-span-3"),children:e}),(0,A.jsxs)("div",{className:w("space-y-6 transform min-w-full transition-transform duration-300","col-span-4 md:col-span-1 translate-x-0 xl:-mt-20",i?"translate-x-0":"md:translate-x-full","xl:block xl:col-span-1 xl:translate-x-0"),children:[r.length>3&&(0,A.jsxs)(H,{className:"w-full max-w-sm mt-4",children:[(0,A.jsx)(I,{children:(0,A.jsx)(G,{className:"text-accent",children:"On this page"})}),(0,A.jsx)(B,{children:(0,A.jsx)("ul",{className:"space-y-2",children:r.map((b,x)=>(0,A.jsx)("li",{className:C(b.tag),children:(0,A.jsx)("a",{href:`#${b.id}`,onClick:d=>k(d,b.id),className:`text-xs ${m===b.id?"text-accent font-semibold":"text-primary"} hover:text-accent`,children:b.text})},x))})})]}),o&&(0,A.jsxs)(H,{children:[(0,A.jsx)(I,{children:(0,A.jsx)(G,{children:"CMS Actions"})}),(0,A.jsxs)(B,{children:[(0,A.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Contribute or create new content."}),(0,A.jsx)(re.default,{href:`${a}${t}`,children:(0,A.jsx)(J,{variant:"outline",className:"w-full text-accent",children:"Edit Page"})}),(0,A.jsx)(re.default,{href:"/admin/collections/pages/create",children:(0,A.jsx)(J,{variant:"outline",className:"w-full mt-2 text-accent",children:"Create New"})})]})]}),n&&n.links.length>0&&(0,A.jsx)(Te,{...n})]}),(0,A.jsx)("button",{onClick:y,className:w("fixed top-1/2 right-0 z-50 h-16 w-8 bg-accent text-accent-foreground rounded-l-full transform -translate-y-1/2 flex items-center justify-center","hidden md:block xl:hidden"),children:"\u22EE"})]}),(0,A.jsx)("div",{className:"block md:hidden mt-8",children:(0,A.jsx)("div",{className:"space-y-6",children:e})})]})};0&&(module.exports={MainPageSection});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";import{a}from"../chunk-
|
|
2
|
+
"use strict";import{a}from"../chunk-K6CEB2MJ.mjs";import"../chunk-TST7OX5V.mjs";import"../chunk-GLEWUUGS.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-6K2R3OAD.mjs";import"../chunk-D2WXBUVJ.mjs";export{a as MainPageSection};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-NZHUMOVD.mjs";import"../chunk-66ZAIUUI.mjs";import"../chunk-SV7NMNDI.mjs";import"../chunk-LHFZLDTD.mjs";import"../chunk-BBLJ3L2P.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-YAH6C5YX.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-WISCWNL2.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-6K2R3OAD.mjs";import"../chunk-D2WXBUVJ.mjs";export{a as PricingSection};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as i}from"../chunk-
|
|
1
|
+
import{a as i}from"../chunk-NZHUMOVD.mjs";import"../chunk-66ZAIUUI.mjs";import"../chunk-SV7NMNDI.mjs";import"../chunk-LHFZLDTD.mjs";import"../chunk-BBLJ3L2P.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-YAH6C5YX.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-WISCWNL2.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-6K2R3OAD.mjs";import"../chunk-D2WXBUVJ.mjs";import{jsx as o}from"react/jsx-runtime";var m={title:"Sections/PricingSection",component:i,tags:["autodocs"],parameters:{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:[t=>o(t,{})]},e=t=>o(i,{...t}),r=e.bind({});r.args={sectionHeading:{subtitle:"Pricing Action",title:"Innovating for a better tomorrow",description:"Lorem Ipsum is simply dummy text of the printing Ipsum is simply dummy text of the Lorem Ipsum is simply"},cards:[{title:"Basic Plan",description:"Lorem Ipsum is simply dummy text of the printing Ipsum is simply dummy text of the Lorem Ipsum is simply",features:["Mistakes To Avoid","Your Startup","Knew About Fonts","Winning Metric for Your Startup"],price:"$49",duration:"/month",isPopular:!1,button:{href:"/",label:"Select Plan"}},{title:"Standard Plan",description:"Lorem Ipsum is simply dummy text of the printing Ipsum is simply dummy text of the Lorem Ipsum is simply",features:["Mistakes To Avoid","Your Startup","Knew About Fonts","Winning Metric for Your Startup"],price:"$79",duration:"/month",isPopular:!0,button:{href:"/",label:"Select Plan"}},{title:"Premium Plan",description:"Lorem Ipsum is simply dummy text of the printing Ipsum is simply dummy text of the Lorem Ipsum is simply",features:["Mistakes To Avoid","Your Startup","Knew About Fonts","Winning Metric for Your Startup"],price:"$99",duration:"/month",isPopular:!1,button:{href:"/",label:"Select Plan"}}]};export{r as Default,m as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";import{a}from"../../chunk-
|
|
2
|
+
"use strict";import{a}from"../../chunk-ULKXH4YN.mjs";import"../../chunk-EG6XIOOJ.mjs";import"../../chunk-NOEITQK2.mjs";import"../../chunk-MMBUMBDU.mjs";import"../../chunk-YLGJP63J.mjs";import"../../chunk-GLEWUUGS.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-6K2R3OAD.mjs";import"../../chunk-D2WXBUVJ.mjs";export{a as Form};
|