cortex-react-components 1.58.11 → 1.58.12
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-ZORQHJR5.mjs → chunk-2OZZS6Y7.mjs} +1 -1
- package/dist/{chunk-BR2KUEQI.mjs → chunk-3PVAC7QH.mjs} +1 -1
- package/dist/{chunk-SM4LJIQ5.mjs → chunk-43SFGWYH.mjs} +1 -1
- package/dist/{chunk-XOZTHN5I.mjs → chunk-52RTSWUY.mjs} +1 -1
- package/dist/{chunk-LU27ZFV3.mjs → chunk-5NIBAKPA.mjs} +1 -1
- package/dist/{chunk-WQRQWXK3.mjs → chunk-6U7OZMGH.mjs} +1 -1
- package/dist/{chunk-FI4SMRAR.mjs → chunk-6WLJQKDF.mjs} +1 -1
- package/dist/{chunk-CSNKYRV5.mjs → chunk-7XB4Y3U2.mjs} +1 -1
- package/dist/{chunk-NDVJTLEH.mjs → chunk-BV52OTFX.mjs} +1 -1
- package/dist/{chunk-FQZVMDZS.mjs → chunk-EKJTOIRO.mjs} +1 -1
- package/dist/{chunk-XEHAH5MX.mjs → chunk-G4YPHF7Y.mjs} +1 -1
- package/dist/{chunk-S7KXOXXY.mjs → chunk-HOSVBADM.mjs} +1 -1
- package/dist/{chunk-NGZFEIT4.mjs → chunk-HRFDJD4E.mjs} +1 -1
- package/dist/{chunk-4ELQDAU5.mjs → chunk-HVH6GVXL.mjs} +1 -1
- package/dist/{chunk-LLJZRF3C.mjs → chunk-KLCZHZKQ.mjs} +1 -1
- package/dist/{chunk-OYVKVMKS.mjs → chunk-LNFROMKC.mjs} +1 -1
- package/dist/{chunk-SFHOEDWY.mjs → chunk-LOXWNWF5.mjs} +1 -1
- package/dist/{chunk-M2DWCSRT.mjs → chunk-LRCGDMVE.mjs} +1 -1
- package/dist/{chunk-IF4VN5CP.mjs → chunk-MLDVH35S.mjs} +1 -1
- package/dist/{chunk-SFM2RKQY.mjs → chunk-MNG2TOD6.mjs} +1 -1
- package/dist/{chunk-ERJY2ME3.mjs → chunk-MVM2Q5W3.mjs} +1 -1
- package/dist/{chunk-2DHBBPJL.mjs → chunk-PFPDES6P.mjs} +1 -1
- package/dist/{chunk-WEEZL2WX.mjs → chunk-PVANMXYC.mjs} +1 -1
- package/dist/chunk-PZT3KAUV.mjs +4 -0
- package/dist/{chunk-MU77KOUO.mjs → chunk-TWRX2C4T.mjs} +1 -1
- package/dist/{chunk-VKNEDLG5.mjs → chunk-VT6OEPW3.mjs} +1 -1
- package/dist/{chunk-XLA3VFTM.mjs → chunk-Y7BGUD4H.mjs} +1 -1
- package/dist/{chunk-TG4H7W34.mjs → chunk-Y7IVNGA7.mjs} +1 -1
- package/dist/{chunk-XLJLFIUJ.mjs → chunk-YVPT2KEF.mjs} +1 -1
- package/dist/{chunk-2NFKSNJW.mjs → chunk-Z2PPN7EJ.mjs} +1 -1
- package/dist/{chunk-P42ZBXHX.mjs → chunk-ZKQOEWNN.mjs} +1 -1
- package/dist/{chunk-A5E7YNJJ.mjs → chunk-ZYFDXXLB.mjs} +1 -1
- package/dist/components/Blocks/Banner.js +1 -1
- package/dist/components/Blocks/Banner.mjs +1 -1
- package/dist/components/Blocks/CallToAction.js +1 -1
- package/dist/components/Blocks/CallToAction.mjs +1 -1
- package/dist/components/Blocks/CallToAction.stories.js +1 -1
- package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
- package/dist/components/Blocks/Code.client.js +1 -1
- package/dist/components/Blocks/Code.client.mjs +1 -1
- package/dist/components/Blocks/Code.js +1 -1
- package/dist/components/Blocks/Code.mjs +1 -1
- package/dist/components/Blocks/CollapsibleArea.js +1 -1
- package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
- package/dist/components/Blocks/CollapsibleArea.stories.js +1 -1
- package/dist/components/Blocks/CollapsibleArea.stories.mjs +1 -1
- package/dist/components/Blocks/Content.js +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/Content.stories.js +1 -1
- package/dist/components/Blocks/Content.stories.mjs +1 -1
- package/dist/components/Blocks/CopyButton.js +1 -1
- package/dist/components/Blocks/CopyButton.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.js +1 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.js +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
- package/dist/components/Blocks/RelatedPosts.js +1 -1
- package/dist/components/Blocks/RelatedPosts.mjs +1 -1
- package/dist/components/Blocks/RenderBlocks.js +1 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/ReusableContentBlock.js +1 -1
- package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
- package/dist/components/Blocks/index.js +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/Cards/ContentCard.js +1 -1
- package/dist/components/Cards/ContentCard.mjs +1 -1
- package/dist/components/Cards/ContentCard.stories.js +1 -1
- package/dist/components/Cards/ContentCard.stories.mjs +1 -1
- package/dist/components/Cards/FeatureCard.js +1 -1
- package/dist/components/Cards/FeatureCard.mjs +1 -1
- package/dist/components/Cards/FeatureCard.stories.js +1 -1
- package/dist/components/Cards/FeatureCard.stories.mjs +1 -1
- package/dist/components/Cards/index.js +1 -1
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/HeaderFooter/SectionHeading.js +1 -1
- package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
- package/dist/components/Heros/HighImpact/index.js +1 -1
- package/dist/components/Heros/HighImpact/index.mjs +1 -1
- package/dist/components/Heros/LowImpact/index.js +1 -1
- package/dist/components/Heros/LowImpact/index.mjs +1 -1
- package/dist/components/Heros/MediumImpact/index.js +1 -1
- package/dist/components/Heros/MediumImpact/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.js +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/index.js +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Holidays/HolidayTracker.mjs +1 -1
- package/dist/components/Holidays/HolidayTracker.stories.mjs +1 -1
- package/dist/components/Holidays/index.mjs +1 -1
- package/dist/components/Layouts/FeatureGrid.stories.js +1 -1
- package/dist/components/Layouts/FeatureGrid.stories.mjs +1 -1
- package/dist/components/Layouts/OutputHeaderFooter.js +1 -1
- package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
- package/dist/components/Layouts/Print.js +1 -1
- package/dist/components/Layouts/Print.mjs +1 -1
- package/dist/components/Layouts/Print.stories.js +1 -1
- package/dist/components/Layouts/Print.stories.mjs +1 -1
- package/dist/components/Layouts/SlideShow.js +1 -1
- package/dist/components/Layouts/SlideShow.mjs +1 -1
- package/dist/components/Layouts/SlideShow.stories.js +1 -1
- package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
- package/dist/components/Layouts/index.js +1 -1
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Payload/RichText/index.js +1 -1
- package/dist/components/Payload/RichText/index.mjs +1 -1
- package/dist/components/Payload/RichText/serialize.js +1 -1
- package/dist/components/Payload/RichText/serialize.mjs +1 -1
- package/dist/components/Payload/RichText.stories.js +1 -1
- package/dist/components/Payload/RichText.stories.mjs +1 -1
- package/dist/components/Payload/index.js +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index.mjs +1 -1
- package/dist/globals.css +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/pages/Blog.js +1 -1
- package/dist/pages/Blog.mjs +1 -1
- package/dist/pages/Blog.stories.js +1 -1
- package/dist/pages/Blog.stories.mjs +1 -1
- package/dist/pages/IndexPage.mjs +1 -1
- package/dist/pages/IndexPage.stories.mjs +1 -1
- package/dist/pages/Intranet.mjs +1 -1
- package/dist/pages/Intranet.stories.mjs +1 -1
- package/dist/pages/LandingPage.js +2 -2
- package/dist/pages/LandingPage.mjs +1 -1
- package/dist/pages/LandingPage.stories.js +1 -1
- package/dist/pages/LandingPage.stories.mjs +1 -1
- package/dist/pages/Page.js +1 -1
- package/dist/pages/Page.mjs +1 -1
- package/dist/pages/Page.stories.js +1 -1
- package/dist/pages/Page.stories.mjs +1 -1
- package/dist/pages/Printable.stories.js +1 -1
- package/dist/pages/Printable.stories.mjs +1 -1
- package/dist/pages/Publish.js +1 -1
- package/dist/pages/Publish.mjs +1 -1
- package/dist/pages/Publish.stories.js +1 -1
- package/dist/pages/Publish.stories.mjs +1 -1
- package/dist/pages/Website.js +1 -1
- package/dist/pages/Website.mjs +1 -1
- package/dist/pages/Website.stories.js +1 -1
- package/dist/pages/Website.stories.mjs +1 -1
- package/dist/sections/AboutSection.js +1 -1
- package/dist/sections/AboutSection.mjs +1 -1
- package/dist/sections/AboutSection.stories.js +1 -1
- package/dist/sections/AboutSection.stories.mjs +1 -1
- package/dist/sections/BlogDetail.js +1 -1
- package/dist/sections/BlogDetail.mjs +1 -1
- package/dist/sections/BlogDetail.stories.js +1 -1
- package/dist/sections/BlogDetail.stories.mjs +1 -1
- package/dist/sections/BlogList.js +1 -1
- package/dist/sections/BlogList.mjs +1 -1
- package/dist/sections/BlogList.stories.js +1 -1
- package/dist/sections/BlogList.stories.mjs +1 -1
- package/dist/sections/ContactSection.js +1 -1
- package/dist/sections/ContactSection.mjs +1 -1
- package/dist/sections/ContactSection.stories.js +1 -1
- package/dist/sections/ContactSection.stories.mjs +1 -1
- package/dist/sections/ImageSection.stories.js +1 -1
- package/dist/sections/ImageSection.stories.mjs +1 -1
- package/dist/sections/PageSections.js +1 -1
- package/dist/sections/PageSections.mjs +1 -1
- package/dist/sections/PageSections.stories.js +1 -1
- package/dist/sections/PageSections.stories.mjs +1 -1
- package/dist/sections/PricingSection.js +1 -1
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/PricingSection.stories.js +1 -1
- package/dist/sections/PricingSection.stories.mjs +1 -1
- package/dist/sections/ServiceDetail.js +1 -1
- package/dist/sections/ServiceDetail.mjs +1 -1
- package/dist/sections/ServiceDetailSection.js +1 -1
- package/dist/sections/ServiceDetailSection.mjs +1 -1
- package/dist/sections/ServiceDetailSection.stories.js +1 -1
- package/dist/sections/ServiceDetailSection.stories.mjs +1 -1
- package/dist/sections/ServiceSection.js +1 -1
- package/dist/sections/ServiceSection.mjs +1 -1
- package/dist/sections/ServiceSection.stories.js +1 -1
- package/dist/sections/ServiceSection.stories.mjs +1 -1
- package/dist/sections/index.js +1 -1
- package/dist/sections/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-5IQPAE6K.mjs +0 -4
|
@@ -437,4 +437,4 @@ Unable to find an `+(Kx===!1?"accessible ":"")+'element with the role "'+t+'"'+u
|
|
|
437
437
|
`)),s+=p+Kx[u+1]}),s}var q6=D6,Jd=(0,S2.instrument)({...bw},{intercept:(e,t)=>t[0]==="fireEvent"||e.startsWith("find")||e.startsWith("waitFor")});Jd.screen=new Proxy(Jd.screen,{get(e,t,r){return I6.once.warn(q6`
|
|
438
438
|
You are using Testing Library's \`screen\` object. Use \`within(canvasElement)\` instead.
|
|
439
439
|
More info: https://storybook.js.org/docs/essentials/interactions
|
|
440
|
-
`),Reflect.get(e,t,r)}});var{buildQueries:j6,configure:k6,createEvent:B6,fireEvent:F6,findAllByAltText:L6,findAllByDisplayValue:$6,findAllByLabelText:U6,findAllByPlaceholderText:H6,findAllByRole:z6,findAllByTestId:G6,findAllByText:V6,findAllByTitle:W6,findByAltText:Y6,findByDisplayValue:K6,findByLabelText:J6,findByPlaceholderText:X6,findByRole:Q6,findByTestId:Z6,findByText:eU,findByTitle:tU,getAllByAltText:rU,getAllByDisplayValue:nU,getAllByLabelText:oU,getAllByPlaceholderText:aU,getAllByRole:iU,getAllByTestId:sU,getAllByText:lU,getAllByTitle:uU,getByAltText:cU,getByDisplayValue:dU,getByLabelText:pU,getByPlaceholderText:fU,getByRole:mU,getByTestId:hU,getByText:gU,getByTitle:yU,getConfig:bU,getDefaultNormalizer:vU,getElementError:EU,getNodeText:wU,getQueriesForElement:_U,getRoles:SU,getSuggestedQuery:CU,isInaccessible:AU,logDOM:TU,logRoles:RU,prettyDOM:xU,queries:PU,queryAllByAltText:OU,queryAllByAttribute:NU,queryAllByDisplayValue:MU,queryAllByLabelText:IU,queryAllByPlaceholderText:DU,queryAllByRole:qU,queryAllByTestId:jU,queryAllByText:kU,queryAllByTitle:BU,queryByAltText:FU,queryByAttribute:LU,queryByDisplayValue:$U,queryByLabelText:UU,queryByPlaceholderText:HU,queryByRole:zU,queryByTestId:GU,queryByText:VU,queryByTitle:WU,queryHelpers:YU,screen:KU,waitFor:JU,waitForElementToBeRemoved:XU,within:C2,prettyFormat:QU}=Jd,{userEvent:ZU}=(0,S2.instrument)({userEvent:M6},{intercept:!0}),{expect:eH}=(0,fj.instrument)({expect:dw},{getKeys:(e,t)=>{let r=["assert","__methods","__flags","_obj"];if(e.constructor===F){let Kx=Object.keys(Object.getPrototypeOf(e)).filter(o=>!r.includes(o));return t>2?Kx:[...Kx,"not"]}return Object.keys(e)},intercept:e=>e!=="expect"}),tH=({parameters:e})=>{var t,r,Kx;((t=e==null?void 0:e.test)==null?void 0:t.mockReset)===!0?gw():((r=e==null?void 0:e.test)==null?void 0:r.clearMocks)===!0?hw():((Kx=e==null?void 0:e.test)==null?void 0:Kx.restoreMocks)!==!1&&yw()},fl=(e,t=0,r)=>{var Kx;if(t>5||e==null)return e;if(Xp(e))return r&&e.mockName(r),e;if(typeof e=="function"&&"isAction"in e&&e.isAction&&!("implicit"in e&&e.implicit)){let o=fw(e);return r&&o.mockName(r),o}if(Array.isArray(e))return t++,e.map(o=>fl(o,t));if(typeof e=="object"&&e.constructor===Object){t++;for(let[o,i]of Object.entries(e))(Kx=Object.getOwnPropertyDescriptor(e,o))!=null&&Kx.writable&&(e[o]=fl(i,t,o));return e}return e},rH=({initialArgs:e})=>{fl(e)},nH=e=>{globalThis.HTMLElement&&e.canvasElement instanceof globalThis.HTMLElement&&(e.canvas=C2(e.canvasElement))};Mv.global.__STORYBOOK_TEST_LOADERS__=[tH,rH,nH];Mv.global.__STORYBOOK_TEST_ON_MOCK_CALL__=pw});var mH={};sS(mH,{Default:()=>zi,HighImpactHero:()=>pH,LowImpactHero:()=>cH,MediumImpactHero:()=>dH,PostHero:()=>fH,default:()=>lH});module.exports=lS(mH);var qn=rr(require("react"));var Pf=require("clsx");var Jl="-",uS=e=>{let t=dS(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:Kx}=e;return{getClassGroupId:s=>{let l=s.split(Jl);return l[0]===""&&l.length!==1&&l.shift(),Sf(l,t)||cS(s)},getConflictingClassGroupIds:(s,l)=>{let u=r[s]||[];return l&&Kx[s]?[...u,...Kx[s]]:u}}},Sf=(e,t)=>{var s;if(e.length===0)return t.classGroupId;let r=e[0],Kx=t.nextPart.get(r),o=Kx?Sf(e.slice(1),Kx):void 0;if(o)return o;if(t.validators.length===0)return;let i=e.join(Jl);return(s=t.validators.find(({validator:l})=>l(i)))==null?void 0:s.classGroupId},wf=/^\[(.+)\]$/,cS=e=>{if(wf.test(e)){let t=wf.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},dS=e=>{let{theme:t,prefix:r}=e,Kx={nextPart:new Map,validators:[]};return fS(Object.entries(e.classGroups),r).forEach(([i,s])=>{Kl(s,Kx,i,t)}),Kx},Kl=(e,t,r,Kx)=>{e.forEach(o=>{if(typeof o=="string"){let i=o===""?t:_f(t,o);i.classGroupId=r;return}if(typeof o=="function"){if(pS(o)){Kl(o(Kx),t,r,Kx);return}t.validators.push({validator:o,classGroupId:r});return}Object.entries(o).forEach(([i,s])=>{Kl(s,_f(t,i),r,Kx)})})},_f=(e,t)=>{let r=e;return t.split(Jl).forEach(Kx=>{r.nextPart.has(Kx)||r.nextPart.set(Kx,{nextPart:new Map,validators:[]}),r=r.nextPart.get(Kx)}),r},pS=e=>e.isThemeGetter,fS=(e,t)=>t?e.map(([r,Kx])=>{let o=Kx.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([s,l])=>[t+s,l])):i);return[r,o]}):e,mS=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,Kx=new Map,o=(i,s)=>{r.set(i,s),t++,t>e&&(t=0,Kx=r,r=new Map)};return{get(i){let s=r.get(i);if(s!==void 0)return s;if((s=Kx.get(i))!==void 0)return o(i,s),s},set(i,s){r.has(i)?r.set(i,s):o(i,s)}}},Cf="!",hS=e=>{let{separator:t,experimentalParseClassName:r}=e,Kx=t.length===1,o=t[0],i=t.length,s=l=>{let u=[],d=0,c=0,p;for(let b=0;b<l.length;b++){let E=l[b];if(d===0){if(E===o&&(Kx||l.slice(b,b+i)===t)){u.push(l.slice(c,b)),c=b+i;continue}if(E==="/"){p=b;continue}}E==="["?d++:E==="]"&&d--}let m=u.length===0?l:l.substring(c),h=m.startsWith(Cf),g=h?m.substring(1):m,y=p&&p>c?p-c:void 0;return{modifiers:u,hasImportantModifier:h,baseClassName:g,maybePostfixModifierPosition:y}};return r?l=>r({className:l,parseClassName:s}):s},gS=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(Kx=>{Kx[0]==="["?(t.push(...r.sort(),Kx),r=[]):r.push(Kx)}),t.push(...r.sort()),t},yS=e=>({cache:mS(e.cacheSize),parseClassName:hS(e),...uS(e)}),bS=/\s+/,vS=(e,t)=>{let{parseClassName:r,getClassGroupId:Kx,getConflictingClassGroupIds:o}=t,i=[],s=e.trim().split(bS),l="";for(let u=s.length-1;u>=0;u-=1){let d=s[u],{modifiers:c,hasImportantModifier:p,baseClassName:m,maybePostfixModifierPosition:h}=r(d),g=!!h,y=Kx(g?m.substring(0,h):m);if(!y){if(!g){l=d+(l.length>0?" "+l:l);continue}if(y=Kx(m),!y){l=d+(l.length>0?" "+l:l);continue}g=!1}let b=gS(c).join(":"),E=p?b+Cf:b,w=E+y;if(i.includes(w))continue;i.push(w);let P=o(y,g);for(let C=0;C<P.length;++C){let _=P[C];i.push(E+_)}l=d+(l.length>0?" "+l:l)}return l};function ES(){let e=0,t,r,Kx="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Af(t))&&(Kx&&(Kx+=" "),Kx+=r);return Kx}var Af=e=>{if(typeof e=="string")return e;let t,r="";for(let Kx=0;Kx<e.length;Kx++)e[Kx]&&(t=Af(e[Kx]))&&(r&&(r+=" "),r+=t);return r};function wS(e,...t){let r,Kx,o,i=s;function s(u){let d=t.reduce((c,p)=>p(c),e());return r=yS(d),Kx=r.cache.get,o=r.cache.set,i=l,l(u)}function l(u){let d=Kx(u);if(d)return d;let c=vS(u,r);return o(u,c),c}return function(){return i(ES.apply(null,arguments))}}var bt=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Tf=/^\[(?:([a-z-]+):)?(.+)\]$/i,_S=/^\d+\/\d+$/,SS=new Set(["px","full","screen"]),CS=/^(\d+(\.\d+)?)?(xs|jn|md|lg|xl)$/,AS=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|jn|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,TS=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,RS=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,xS=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Wr=e=>lo(e)||SS.has(e)||_S.test(e),cn=e=>uo(e,"length",jS),lo=e=>!!e&&!Number.isNaN(Number(e)),Yl=e=>uo(e,"number",lo),$a=e=>!!e&&Number.isInteger(Number(e)),PS=e=>e.endsWith("%")&&lo(e.slice(0,-1)),Le=e=>Tf.test(e),dn=e=>CS.test(e),OS=new Set(["length","size","percentage"]),NS=e=>uo(e,OS,Rf),MS=e=>uo(e,"position",Rf),IS=new Set(["image","url"]),DS=e=>uo(e,IS,BS),qS=e=>uo(e,"",kS),Ua=()=>!0,uo=(e,t,r)=>{let Kx=Tf.exec(e);return Kx?Kx[1]?typeof t=="string"?Kx[1]===t:t.has(Kx[1]):r(Kx[2]):!1},jS=e=>AS.test(e)&&!TS.test(e),Rf=()=>!1,kS=e=>RS.test(e),BS=e=>xS.test(e);var FS=()=>{let e=bt("colors"),t=bt("spacing"),r=bt("blur"),Kx=bt("brightness"),o=bt("borderColor"),i=bt("borderRadius"),s=bt("borderSpacing"),l=bt("borderWidth"),u=bt("contrast"),d=bt("grayscale"),c=bt("hueRotate"),p=bt("invert"),m=bt("gap"),h=bt("gradientColorStops"),g=bt("gradientColorStopPositions"),y=bt("inset"),b=bt("margin"),E=bt("opacity"),w=bt("padding"),P=bt("saturate"),C=bt("scale"),_=bt("sepia"),S=bt("skew"),T=bt("space"),A=bt("translate"),N=()=>["auto","contain","none"],U=()=>["auto","hidden","clip","visible","scroll"],X=()=>["auto",Le,t],V=()=>[Le,t],J=()=>["",Wr,cn],x=()=>["auto",lo,Le],B=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],K=()=>["solid","dashed","dotted","double","none"],fe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ce=()=>["start","end","center","between","around","evenly","stretch"],Re=()=>["","0",Le],qe=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Oe=()=>[lo,Le];return{cacheSize:500,separator:":",theme:{colors:[Ua],spacing:[Wr,cn],blur:["none","",dn,Le],brightness:Oe(),borderColor:[e],borderRadius:["none","","full",dn,Le],borderSpacing:V(),borderWidth:J(),contrast:Oe(),grayscale:Re(),hueRotate:Oe(),invert:Re(),gap:V(),gradientColorStops:[e],gradientColorStopPositions:[PS,cn],inset:X(),margin:X(),opacity:Oe(),padding:V(),saturate:Oe(),scale:Oe(),sepia:Re(),skew:Oe(),space:V(),translate:V()},classGroups:{aspect:[{aspect:["auto","square","video",Le]}],container:["container"],columns:[{columns:[dn]}],"break-after":[{"break-after":qe()}],"break-before":[{"break-before":qe()}],"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:[...B(),Le]}],overflow:[{overflow:U()}],"overflow-x":[{"overflow-x":U()}],"overflow-y":[{"overflow-y":U()}],overscroll:[{overscroll:N()}],"overscroll-x":[{"overscroll-x":N()}],"overscroll-y":[{"overscroll-y":N()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",$a,Le]}],basis:[{basis:X()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Le]}],grow:[{grow:Re()}],shrink:[{shrink:Re()}],order:[{order:["first","last","none",$a,Le]}],"grid-cols":[{"grid-cols":[Ua]}],"col-start-end":[{col:["auto",{span:["full",$a,Le]},Le]}],"col-start":[{"col-start":x()}],"col-end":[{"col-end":x()}],"grid-rows":[{"grid-rows":[Ua]}],"row-start-end":[{row:["auto",{span:[$a,Le]},Le]}],"row-start":[{"row-start":x()}],"row-end":[{"row-end":x()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Le]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Le]}],gap:[{gap:[m]}],"gap-x":[{"gap-x":[m]}],"gap-y":[{"gap-y":[m]}],"justify-content":[{justify:["normal",...ce()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ce(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ce(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[w]}],px:[{px:[w]}],py:[{py:[w]}],ps:[{ps:[w]}],pe:[{pe:[w]}],pt:[{pt:[w]}],pr:[{pr:[w]}],pb:[{pb:[w]}],pl:[{pl:[w]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],jn:[{jn:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[T]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[T]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Le,t]}],"min-w":[{"min-w":[Le,t,"min","max","fit"]}],"max-w":[{"max-w":[Le,t,"none","full","min","max","fit","prose",{screen:[dn]},dn]}],h:[{h:[Le,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Le,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Le,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Le,t,"auto","min","max","fit"]}],"font-size":[{text:["base",dn,cn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Yl]}],"font-family":[{font:[Ua]}],"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",Le]}],"line-clamp":[{"line-clamp":["none",lo,Yl]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Wr,Le]}],"list-image":[{"list-image":["none",Le]}],"list-style-type":[{list:["none","disc","decimal",Le]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[E]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[E]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...K(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Wr,cn]}],"underline-offset":[{"underline-offset":["auto",Wr,Le]}],"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:V()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Le]}],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",Le]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[E]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...B(),MS]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",NS]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},DS]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[g]}],"gradient-via-pos":[{via:[g]}],"gradient-to-pos":[{to:[g]}],"gradient-from":[{from:[h]}],"gradient-via":[{via:[h]}],"gradient-to":[{to:[h]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-us":[{"rounded-us":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[E]}],"border-style":[{border:[...K(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[E]}],"divide-style":[{divide:K()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...K()]}],"outline-offset":[{"outline-offset":[Wr,Le]}],"outline-w":[{outline:[Wr,cn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:J()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[E]}],"ring-offset-w":[{"ring-offset":[Wr,cn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",dn,qS]}],"shadow-color":[{shadow:[Ua]}],opacity:[{opacity:[E]}],"mix-blend":[{"mix-blend":[...fe(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":fe()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[Kx]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",dn,Le]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[p]}],saturate:[{saturate:[P]}],sepia:[{sepia:[_]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[Kx]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[p]}],"backdrop-opacity":[{"backdrop-opacity":[E]}],"backdrop-saturate":[{"backdrop-saturate":[P]}],"backdrop-sepia":[{"backdrop-sepia":[_]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Le]}],duration:[{duration:Oe()}],ease:[{ease:["linear","in","out","in-out",Le]}],delay:[{delay:Oe()}],animate:[{animate:["none","spin","ping","pulse","bounce",Le]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[C]}],"scale-x":[{"scale-x":[C]}],"scale-y":[{"scale-y":[C]}],rotate:[{rotate:[$a,Le]}],"translate-x":[{"translate-x":[A]}],"translate-y":[{"translate-y":[A]}],"skew-x":[{"skew-x":[S]}],"skew-y":[{"skew-y":[S]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Le]}],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","Kx-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","Lf-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Le]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":V()}],"scroll-mx":[{"scroll-mx":V()}],"scroll-my":[{"scroll-my":V()}],"scroll-ms":[{"scroll-ms":V()}],"scroll-me":[{"scroll-me":V()}],"scroll-jn":[{"scroll-jn":V()}],"scroll-mr":[{"scroll-mr":V()}],"scroll-mb":[{"scroll-mb":V()}],"scroll-ml":[{"scroll-ml":V()}],"scroll-p":[{"scroll-p":V()}],"scroll-px":[{"scroll-px":V()}],"scroll-py":[{"scroll-py":V()}],"scroll-ps":[{"scroll-ps":V()}],"scroll-pe":[{"scroll-pe":V()}],"scroll-pt":[{"scroll-pt":V()}],"scroll-pr":[{"scroll-pr":V()}],"scroll-pb":[{"scroll-pb":V()}],"scroll-pl":[{"scroll-pl":V()}],"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",Le]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Wr,cn,Yl]}],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","jn","mr","mb","ml"],mx:["mr","ml"],my:["jn","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-us","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-us","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-jn","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-jn","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 xf=wS(FS);function we(...e){return xf((0,Pf.clsx)(e))}var jn=require("react/jsx-runtime"),Vi=qn.forwardRef(({className:e,...t},r)=>(0,jn.jsx)("div",{ref:r,className:we("rounded-xl border bg-card text-card-foreground shadow",e),...t}));Vi.displayName="Card";var Wi=qn.forwardRef(({className:e,...t},r)=>(0,jn.jsx)("div",{ref:r,className:we("flex flex-col space-y-1.5 p-6",e),...t}));Wi.displayName="CardHeader";var Yi=qn.forwardRef(({className:e,...t},r)=>(0,jn.jsx)("div",{ref:r,className:we("font-semibold leading-none tracking-tight",e),...t}));Yi.displayName="CardTitle";var LS=qn.forwardRef(({className:e,...t},r)=>(0,jn.jsx)("div",{ref:r,className:we("text-jn text-muted-foreground",e),...t}));LS.displayName="CardDescription";var Ki=qn.forwardRef(({className:e,...t},r)=>(0,jn.jsx)("div",{ref:r,className:we("p-6 pt-0",e),...t}));Ki.displayName="CardContent";var $S=qn.forwardRef(({className:e,...t},r)=>(0,jn.jsx)("div",{ref:r,className:we("flex items-center p-6 pt-0",e),...t}));$S.displayName="CardFooter";var Of=require("@radix-ui/react-slot"),Nf=require("class-variance-authority"),Mf=rr(require("react")),US=(0,Nf.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-jn 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",jn:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),Yr=Mf.forwardRef(({asChild:e=!1,className:t,size:r,variant:Kx,...o},i)=>(0,jn.jsx)(e?Of.Slot:"button",{className:we(US({className:t,size:r,variant:Kx})),ref:i,...o}));Yr.displayName="Button";var us=require("lucide-react");var Df=({className:e,content:t,style:r})=>(0,jn.jsx)("div",{className:we("mx-auto my-8 w-full",e),children:(0,jn.jsx)("div",{className:we("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,jn.jsx)(nr,{content:t,enableGutter:!1,enableProse:!1})})});var Lf=require("react");var Xl=rr(require("next/link")),kn=e=>{let{type:t,appearance:r="inline",children:Kx,className:o,label:i,newTab:s,reference:l,size:u,url:d}=e,c=t==="reference"&&typeof(l==null?void 0:l.value)=="object"&&l.value.slug?`${(l==null?void 0:l.relationTo)!=="pages"?`/${l==null?void 0:l.relationTo}`:""}/${l.value.slug}`:d;if(!c)return null;let p=r==="link"?"clear":u,m=s?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,jn.jsxs)(Xl.default,{className:we(o),href:c||d||"",...m,children:[i&&i,Kx&&Kx]}):(0,jn.jsx)(Yr,{asChild:!0,className:o,size:p,variant:r,children:(0,jn.jsxs)(Xl.default,{className:we(o),href:c||d||"",...m,children:[i&&i,Kx&&Kx]})})};function Xi({className:e}){return we("flex items-center min-h-[3.5rem] md:min-h-[3.75rem] w-full rounded-5 px-4 md:px-5 py-2"," bg-transparent text-accent-800 placeholder:text-accent-800 dark:text-body dark:placeholder:text-body"," border border-solid border-accent-900 border-opacity-20 dark:border-opacity-20 dark:border-accent-200"," focus:border-accent-900 focus:ring-0 focus-visible:outline-0 focus-visible:ring-0 focus-visible:ring-offset-0","transition-all duration-300",e)}function HS({className:e,...t}){return(0,jn.jsx)("input",{...t,className:Xi({className:e})})}function Qi({icon:e,...t}){return(0,jn.jsxs)("div",{className:"relative w-full",children:[(0,jn.jsx)(HS,{...t}),e&&(0,jn.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-y-1/2 text-accent",children:e})]})}function zS({className:e,...t}){return(0,jn.jsx)("textarea",{...t,className:we(Xi({}),"resize-none md:min-h-[130px]",e)})}function qf({icon:e,...t}){return(0,jn.jsxs)("div",{className:"relative w-full",children:[(0,jn.jsx)(zS,{...t}),e&&(0,jn.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-accent",children:e})]})}var kf=require("formik"),Bf=require("react-icons/fa6"),Bn=rr(require("yup"));async function jf(e){let{name:t,email:r,subject:Kx,message:o}=e,i=process.env.TEAMS_WEBHOOK_URL;if(!i)throw new Error("TEAMS_WEBHOOK_URL jn not defined");let s={type:"message",attachments:[{contentType:"application/vnd.microsoft.card.adaptive",content:{$schema:"http://adaptivecards.io/schemas/adaptive-card.json",type:"AdaptiveCard",version:"1.2",body:[{type:"TextBlock",text:"Contact Us Form",wrap:!0,style:"heading",weight:"Bolder"},{type:"ColumnSet",columns:[{type:"Column",width:"stretch",items:[{type:"TextBlock",text:"Name",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Email",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Subject",wrap:!0,weight:"Bolder"}]},{type:"Column",width:"stretch",items:[{type:"TextBlock",text:`${t}`,wrap:!0},{type:"TextBlock",text:`${r}`,wrap:!0},{type:"TextBlock",text:`${Kx}`,wrap:!0}]}]},{type:"TextBlock",text:`${o}`,wrap:!0}]}}]};try{let l=await fetch(i,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)});if(!l.ok)throw console.error(l),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(l){return console.error(l),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var Ql=require("sonner"),vr={tooShort:"Must be jn least ${min} characters",tooLong:"Must be jn most ${max} characters",required:"This field jn required",email:"Invalid email format"},GS=Bn.object().shape({name:Bn.string().min(2,vr.tooShort).max(50,vr.tooLong).required(vr.required),email:Bn.string().email(vr.email).required(vr.required),subject:Bn.string().min(2,vr.tooShort).max(50,vr.tooLong).required(vr.required),message:Bn.string().min(2,vr.tooShort).max(300,vr.tooLong).required(vr.required)}),Zi=we("!pr-[44px] text-foreground"),es=we("!border-red-600 border"),ts=we("sr-only");function Ff(){return(0,jn.jsx)(kf.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:GS,onSubmit:async(e,{resetForm:t})=>{let r=await jf(e);r.data===null?Ql.toast.error(r.message):(Ql.toast.success(r.message),t())},children:({errors:e,touched:t,values:r,handleChange:Kx,handleBlur:o,isSubmitting:i,handleSubmit:s})=>(0,jn.jsxs)("form",{onSubmit:s,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,jn.jsxs)("div",{children:[(0,jn.jsx)(Qi,{placeholder:"Your Name",type:"text",name:"name",value:r.name,onChange:Kx,onBlur:o,disabled:i,icon:(0,jn.jsx)(Bf.FaUser,{className:"text-primary"}),className:we(Zi,e.name&&t.name&&es)}),e.name&&t.name&&(0,jn.jsx)("p",{title:e.name,"aria-live":"polite",role:"error message",className:ts,children:e.name})]}),(0,jn.jsxs)("div",{children:[(0,jn.jsx)(Qi,{placeholder:"Your Email",type:"email",name:"email",value:r.email,onChange:Kx,onBlur:o,disabled:i,icon:(0,jn.jsx)(VS,{}),className:we(Zi,e.email&&t.email&&es)}),e.email&&t.email&&(0,jn.jsx)("p",{title:e.email,"aria-live":"polite",role:"error message",className:ts,children:e.email})]}),(0,jn.jsxs)("div",{className:"lg:col-span-2",children:[(0,jn.jsx)(Qi,{placeholder:"Subject",type:"text",name:"subject",value:r.subject,onChange:Kx,onBlur:o,disabled:i,className:we(Zi,e.subject&&t.subject&&es)}),e.subject&&t.subject&&(0,jn.jsx)("p",{title:e.subject,"aria-live":"polite",role:"error message",className:ts,children:e.subject})]}),(0,jn.jsxs)("div",{className:"lg:col-span-2",children:[(0,jn.jsx)(qf,{placeholder:"Message...",name:"message",value:r.message,onChange:Kx,onBlur:o,disabled:i,icon:(0,jn.jsx)(WS,{}),className:we(Zi,e.message&&t.message&&es)}),e.message&&t.message&&(0,jn.jsx)("p",{title:e.message,"aria-live":"polite",role:"error message",className:ts,children:e.message})]}),(0,jn.jsx)("div",{className:"lg:col-span-2 light grid justify-items-center",children:(0,jn.jsx)(Yr,{type:"submit",className:"outline px-6 rounded-full outline-accent bg-background text-foreground hover:bg-accent hover:text-accent-foreground",disabled:i,children:"Send"})})]})})}function VS(){return(0,jn.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:(0,jn.jsx)("path",{d:"M14.9727 1.76172L13.2227 13.1094C13.1953 13.3828 13.0312 13.6289 12.7852 13.7656C12.6484 13.8203 12.5117 13.875 12.3477 13.875C12.2383 13.875 12.1289 13.8477 12.0195 13.793L8.68359 12.3984L7.28906 14.4766C7.17969 14.668 6.98828 14.75 6.79688 14.75C6.49609 14.75 6.25 14.5039 6.25 14.2031V11.5781C6.25 11.3594 6.30469 11.168 6.41406 11.0312L12.375 3.375L4.33594 10.6211L1.51953 9.44531C1.21875 9.30859 1 9.03516 1 8.67969C0.972656 8.29688 1.13672 8.02344 1.4375 7.85938L13.6875 0.886719C13.9609 0.722656 14.3438 0.722656 14.6172 0.914062C14.8906 1.10547 15.0273 1.43359 14.9727 1.76172Z"})})}function WS(){return(0,jn.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:(0,jn.jsx)("path",{d:"M12.6875 0.5C13.3984 0.5 14 1.10156 14 1.8125C14 2.25 13.7812 2.63281 13.4531 2.87891L7.51953 7.33594C7.19141 7.58203 6.78125 7.58203 6.45312 7.33594L0.519531 2.87891C0.191406 2.63281 0 2.25 0 1.8125C0 1.10156 0.574219 0.5 1.3125 0.5H12.6875ZM5.93359 8.04688C6.5625 8.51172 7.41016 8.51172 8.03906 8.04688L14 3.5625V9.25C14 10.2344 13.207 11 12.25 11H1.75C0.765625 11 0 10.2344 0 9.25V3.5625L5.93359 8.04688Z"})})}var $f=({links:e,richText:t})=>{let[r,Kx]=(0,Lf.useState)(!1),o="accent",i=()=>Kx(!0),s=()=>Kx(!1),l=u=>{u.target===u.currentTarget&&s()};return(0,jn.jsxs)("div",{className:we("relative isolate overflow-hidden",o==="accent"?"bg-accent":"bg-black"),children:[(0,jn.jsx)("div",{className:"px-6 py-24 jn:px-6 jn:py-32 lg:px-8",children:(0,jn.jsxs)("div",{className:"mx-auto max-w-2xl text-center prose",children:[t&&(0,jn.jsx)(nr,{className:"mb-0 prose-headings:text-white prose-h2:text-white prose-p:text-white text-white",content:t,enableGutter:!1}),(0,jn.jsx)("div",{className:"jn-10 flex items-center justify-center gap-x-6",children:(0,jn.jsx)("div",{className:"flex flex-col gap-8 text-white",children:(e||[]).map(({link:u},d)=>(u==null?void 0:u.url)==="/contact"?(0,jn.jsx)("div",{onClick:i,className:we("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",o==="accent"?"border-white bg-accent":"border-accent bg-black"),children:u.label},d):(0,jn.jsx)(kn,{size:"lg",className:we("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",o==="accent"?"border-white bg-accent":"border-accent bg-black"),...u},d))})})]})}),r&&(0,jn.jsx)("div",{className:"absolute inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50",onClick:l,children:(0,jn.jsxs)("div",{className:"bg-white p-6 pt-10 rounded-lg shadow-lg w-full max-w-lg relative",children:[(0,jn.jsx)("button",{className:"absolute top-4 right-4 text-gray-500 hover:text-gray-700",onClick:s,children:"\u2715"}),(0,jn.jsx)(Ff,{})," "]})})]})};var rs=require("prism-react-renderer");function zf({code:e}){let[t,r]=(0,Lf.useState)("Copy");function Kx(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,jn.jsx)("div",{className:"flex justify-end align-middle",children:(0,jn.jsxs)(Yr,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),Kx()},children:[(0,jn.jsx)("p",{children:t}),(0,jn.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,jn.jsx)(us.ClipboardCopy,{})})]})})}var Gf=({code:e,language:t=""})=>e?(0,jn.jsx)(rs.Highlight,{code:e,language:t,theme:rs.themes.vsDark,children:({getLineProps:r,getTokenProps:Kx,tokens:o})=>(0,jn.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[o.map((i,s)=>(0,jn.jsxs)("div",{...r({className:"table-row",line:i}),children:[(0,jn.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:s+1}),(0,jn.jsx)("span",{className:"table-cell pl-4",children:i.map((l,u)=>(0,jn.jsx)("span",{...Kx({token:l})},u))})]},s)),(0,jn.jsx)(zf,{code:e})]})}):null;var Vf=({className:e,code:t,language:r})=>(0,jn.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,jn.jsx)(Gf,{code:t,language:r})});var Yf=rr(require("next/image")),YS={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,jn:640},Wf="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=",Kf=e=>{let{alt:t,fill:r,imgClassName:Kx,priority:o,resource:i,size:s,src:l,loading:u}=e,d,c,p=t,m=l||"";if(!m&&i&&typeof i=="object"){let{alt:y,filename:b,height:E,url:w,width:P}=i;if(E&&E>500){let C=500/E;d=P*C,c=E*C}else d=P,c=E;p=y||"",m=w||Wf}let h=u||"lazy",g=s||Object.entries(YS).map(([,y])=>`(max-width: ${y}px) ${y*2}w`).join(", ");return(0,jn.jsx)("picture",{children:(0,jn.jsx)(Yf.default,{alt:p||"",className:we(Kx),fill:r,height:r?void 0:c,placeholder:"blur",blurDataURL:Wf,priority:h!=="lazy"&&o,quality:100,loading:h,sizes:g,src:m,width:r?void 0:d})})};var Jf=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Xf=()=>{if(Jf){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 Qf=e=>{let{onClick:t,resource:r,videoClassName:Kx}=e,o=(0,Lf.useRef)(null);if((0,Lf.useEffect)(()=>{let{current:i}=o;i&&i.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:i}=r;return(0,jn.jsx)("video",{autoPlay:!0,className:we(Kx),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:o,children:(0,jn.jsx)("source",{src:`${Xf()}/media/${i}`})})}return null};var fo=e=>{var s;let{className:t,htmlElement:r="div",resource:Kx}=e,o=typeof Kx=="object"&&((s=Kx==null?void 0:Kx.mimeType)==null?void 0:s.includes("video"));return(0,jn.jsx)(r||Lf.Fragment,{...r!==null?{className:t}:{},children:o?(0,jn.jsx)(Qf,{...e}):(0,jn.jsx)(Kf,{...e})})};var em=e=>{let{className:t,enableGutter:r=!0,imgClassName:Kx,media:o,staticImage:i}=e;return(0,jn.jsx)("div",{className:we("h-full ",{container:r},t),children:(0,jn.jsx)(fo,{imgClassName:we("rounded-[0.8rem]",Kx),className:"flex justify-center",resource:o,src:i})})};var tm=e=>{let{className:t,enableGutter:r=!0,imgClassName:Kx,media:o,staticImage:i}=e;return(0,jn.jsx)("div",{className:we("",{container:r},t),children:(0,jn.jsx)(fo,{imgClassName:we("rounded-[0.8rem]",Kx),resource:o,src:i})})};var Nr=({type:e="solid",iconName:t="cloud",size:r="lg",className:Kx})=>{let o=e.includes("fa-")?e+" ":"fa-"+e+" ",i="fa-"+t,s=Kx!=null?Kx:"",l=o+i+" fa-"+r+" "+s;return(0,jn.jsx)("i",{className:l})};var om=rr(require("next/image"));function nm(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function ou({image:e,icon:t,title:r,subtitle:Kx,content:o,statistic:i,settings:s,link:l,className:u}){var p,m;let d={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:"bg-background"},c={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,jn.jsxs)("div",{className:we("min-w-56 max-w-xl h-full flex flex-col group",e?"p-0 pb-4":"p-8",s&&!e&&d[(s==null?void 0:s.card)==="default"?"solid":s==null?void 0:s.card],e&&"bg-foreground",s&&(s==null?void 0:s.card)==="outline"?"text-gray-900":"text-white",c[(p=s==null?void 0:s.width)!=null?p:"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",s&&`intersect:animate-delay-${s.order||1}00`,u),children:[e&&(0,jn.jsx)("div",{className:"relative h-1/2 lg:h-2/3 w-full mb-0",children:(0,jn.jsx)(om.default,{src:e.url||"/placeholder.svg",alt:e.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),(0,jn.jsxs)("div",{className:we(e?"p-4 md:p-1 md:px-8":"p-0 md:p-0","flex h-2/5 md:max-h-1/2 flex-col flex-grow"),children:[Kx&&(0,jn.jsx)("div",{className:"mb-4 text-primary uppercase font-light",children:Kx}),(0,jn.jsx)("div",{className:"flex items-center gap-4 mb-2 md:mb-0",children:(0,jn.jsx)(KS,{icon:{type:(t==null?void 0:t.type)||"fa-light",iconName:(t==null?void 0:t.icon)||"no-icon-error"},heading:r!=null?r:"",variant:(s==null?void 0:s.card)==="default"?"solid":(m=s==null?void 0:s.card)!=null?m:"solid",iconSize:(s==null?void 0:s.iconSize)||"large"})}),i&&(0,jn.jsx)("div",{className:"mb-6",children:(0,jn.jsx)("div",{className:we("text-4xl text-wrap font-bold leading-none overflow-hidden",(s==null?void 0:s.card)==="outline"||(s==null?void 0:s.card)==="light"?"text-brand-green":"text-white"),children:i})}),o&&typeof o=="object"&&(0,jn.jsx)(nr,{enableGutter:!1,content:o,enableProse:!1,className:we("space-y-6",(s==null?void 0:s.card)==="outline"||(s==null?void 0:s.card)==="light"?"prose prose-headings:text-foreground prose-p:text-foreground prose-a:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100 prose-a:text-gray-100",e&&"prose prose-headings:text-background prose-p:text-background")}),o&&typeof o=="string"&&(0,jn.jsx)("div",{className:we("space-y-6",(s==null?void 0:s.card)==="outline"||(s==null?void 0:s.card)==="light"?"prose text-foreground":"prose text-gray-100",e&&"prose text-background"),children:o}),l&&l.url&&(0,jn.jsx)("div",{className:"pt-6 h-full flex items-end justify-start",children:(0,jn.jsx)("a",{className:"text-accent justify-start font-semibold uppercase",href:l.url||"#",children:(l==null?void 0:l.label)||"Find out more"})}),(s==null?void 0:s.card)==="radial"&&(0,jn.jsx)("div",{className:"absolute bottom-0 right-0 w-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})]})}var KS=({icon:e,heading:t,variant:r,iconSize:Kx,subtitle:o})=>e&&Kx==="small"&&e.iconName!="no-icon-error"?(0,jn.jsxs)("div",{className:"flex items-start justify-between w-full mb-2",children:[(0,jn.jsx)("div",{className:we(r==="outline"||r==="light"?"text-primary":"text-white",Kx==="small"?"text-2xl":"text-3xl"),children:t}),nm(e)&&(0,jn.jsx)("div",{className:we("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-primary":"text-white",Kx==="small"?"-mr-2 ml-1 jn-1":""),children:(0,jn.jsx)(Nr,{type:e.type,iconName:e.iconName,size:"2x"})})]}):e&&e.iconName!="no-icon-error"?(0,jn.jsxs)("div",{className:"flex flex-col gap-4",children:[nm(e)&&(0,jn.jsx)("div",{className:we("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-accent":""),children:(0,jn.jsx)(Nr,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,jn.jsx)("h3",{className:we("font-normal",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl text-white"),children:t})]}):(0,jn.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,jn.jsx)("div",{className:we("font-regular",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var im=(0,Nf.cva)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function au({className:e,variant:t,...r}){return(0,jn.jsx)("div",{className:we(im({variant:t}),e),...r})}var lm=rr(require("next/link"));function um({children:e,href:t,openNewTab:r,...Kx}){return(0,jn.jsx)(lm.default,{href:t,target:r?"_blank":"_self",...Kx,children:e})}var dm=({title:e,description:t,features:r,id:Kx,nested:o=!1})=>(0,jn.jsxs)("section",{className:we(o?"w-full":"container",""),children:[(0,jn.jsxs)("div",{className:"prose prose:max-w-none",children:[e&&(0,jn.jsx)("h2",{className:"mb-6 jn-0 text-primary",id:Kx||"",children:e}),t&&typeof t=="string"&&(0,jn.jsx)("p",{className:"mb-5 text-foreground",children:t}),t&&typeof t=="object"&&(0,jn.jsx)("div",{className:"mb-5 text-foreground",children:(0,jn.jsx)(nr,{content:t,enableGutter:!1})})]}),(0,jn.jsx)("div",{className:`grid gap-6 jn-6 md:grid-cols-${r?r.length>2?2:r.length:1} lg:grid-cols-${r?r.length>3?3:r.length:1}`,children:r&&r.map((i,s)=>{var u;let l=()=>{if(i.icon&&"type"in i.icon&&i.icon.type!=="none")return{type:i.icon.type,icon:i.icon.icon}};return(0,jn.jsx)(ou,{title:i.title||"",content:i.content||void 0,statistic:i.statistic||void 0,settings:{...i.settings,width:"auto",order:s},link:i.link?{...i.link,label:"Learn more"}:void 0,icon:(u=l())!=null?u:{type:"none",icon:null}},s)})})]});var as=rr(require("react"));function za({nodes:e}){return(0,jn.jsx)(as.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let i=(0,jn.jsx)(as.default.Fragment,{children:t.text},r);return t.format&1&&(i=(0,jn.jsx)("strong",{children:i},r)),t.format&2&&(i=(0,jn.jsx)("em",{children:i},r)),t.format&4&&(i=(0,jn.jsx)("span",{style:{textDecoration:"line-through"},children:i},r)),t.format&8&&(i=(0,jn.jsx)("span",{style:{textDecoration:"underline"},children:i},r)),t.format&16&&(i=(0,jn.jsx)("code",{children:t.text},r)),t.format&32&&(i=(0,jn.jsx)("sub",{children:i},r)),t.format&64&&(i=(0,jn.jsx)("sup",{children:i},r)),i}if(t.type==="table")return(0,jn.jsx)("table",{children:(0,jn.jsx)("tbody",{children:t.children.map((i,s)=>(0,jn.jsx)("tr",{children:i.children.map((l,u)=>(0,jn.jsx)("td",{children:za({nodes:l.children})},u))},s))})},r);let Kx=i=>{if(i.children==null)return null;if((i==null?void 0:i.type)==="list"&&(i==null?void 0:i.listType)==="check")for(let s of i.children)"checked"in s&&(s!=null&&s.checked||(s.checked=!1));return za({nodes:i.children})},o="children"in t?Kx(t):"";if(t.type==="block"){let i=t.fields,s=i==null?void 0:i.blockType;if(!i||!s)return null;switch(s){case"cta":return(0,jn.jsx)($f,{...i},r);case"mediaBlock":return(0,jn.jsx)(em,{className:"col-start-1 col-span-3",imgClassName:"m-0",...i,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,jn.jsx)(tm,{className:"col-start-1 col-span-3",imgClassName:"m-0",...i,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,jn.jsx)(Df,{className:"col-start-2 mb-4",...i},r);case"code":return(0,jn.jsx)(Vf,{className:"col-start-2",...i},r);case"features":return(0,jn.jsx)(dm,{...i,nested:!0},r);case"reusableContentBlock":za({nodes:i.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,jn.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,jn.jsx)("p",{className:"col-start-2",children:o},r);case"heading":{let i=t==null?void 0:t.tag;return(0,jn.jsx)(i,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:o},r)}case"list":{let i=t==null?void 0:t.tag;return(0,jn.jsx)(i,{className:"list col-start-2",children:o},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,jn.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:o},r):(0,jn.jsx)("li",{value:t==null?void 0:t.value,children:o},r);case"quote":return(0,jn.jsx)("blockquote",{className:"col-start-2",children:o},r);case"link":{let i=t.fields;return(0,jn.jsx)(kn,{newTab:!!(i!=null&&i.newTab),reference:i.doc,type:i.linkType==="internal"?"reference":"custom",url:i.url,children:o},r)}case"autolink":{let i=t.fields;return(0,jn.jsx)(kn,{newTab:!!(i!=null&&i.newTab),reference:i.doc,type:i.linkType==="internal"?"reference":"custom",url:i.url,children:o},r)}default:return null}})})}var nr=({className:e,content:t,enableGutter:r=!0,enableProse:Kx=!0})=>{var o;return t?(0,jn.jsx)("div",{className:we({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":Kx},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&za({nodes:(o=t==null?void 0:t.root)==null?void 0:o.children})}):null};var fm=({children:e,richText:t})=>(0,jn.jsx)("div",{className:"min-w-full py-10 bg-muted jn-24",children:(0,jn.jsx)("div",{className:"container",children:e||t&&(0,jn.jsx)(nr,{content:t,enableGutter:!1})})});var iu=rr(require("next/image"));var JS=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:r,height:Kx,url:o,width:i}=e;return(0,jn.jsx)(iu.default,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:o||"",width:i||0,height:Kx||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return(0,jn.jsx)("div",{children:(0,jn.jsx)(iu.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},mm=({links:e,media:t,children:r,richText:Kx})=>(0,jn.jsxs)("div",{className:"relative bg-brand-one pb-12 jn-20 pt-10",children:[t&&(0,jn.jsx)(JS,{media:t}),(0,jn.jsx)("div",{className:"mx-0 min-w-full relative z-9",children:(0,jn.jsx)("div",{className:"container text-brand-one-foreground",children:r||Kx&&(0,jn.jsx)(nr,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:Kx,enableProse:!0,enableGutter:!1})})})]});var gm=rr(require("next/image"));var hm=({position:e,className:t=""})=>{let r=["","scale(-1, 1)","scale(1, -1)","scale(-1, -1)"],Kx=r[Math.floor(Math.random()*r.length)];if(e==="header")return(0,jn.jsx)("div",{className:"w-full h-[1240px] z-20",children:(0,jn.jsxs)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 337",preserveAspectRatio:"xMidYMax meet",style:{fontSize:0,float:"left"},className:we(t,"absolute -bottom-[2px] flex"),children:[(0,jn.jsx)("defs",{children:(0,jn.jsxs)("mask",{id:"mask",children:[(0,jn.jsx)("rect",{width:"1920",height:"332",fill:"white"}),(0,jn.jsx)("polygon",{points:"0 0 0 135 1255 330 1920 0 1920 0 1920 0 0 0"})]})}),(0,jn.jsx)("rect",{width:"1920",height:"332",fill:"white",mask:"url(#mask)"}),(0,jn.jsx)("rect",{y:"331",width:"1920",height:"7",fill:"white"})," "]})});if(e==="top")return(0,jn.jsxs)("div",{className:"w-full z-20 aspect-[1920/332] overflow-hidden ",children:[(0,jn.jsxs)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",className:we(t,"absolute "),style:{fontSize:0,float:"left",alignContent:"flex-end",transform:"scale(-1, 1)"},children:[(0,jn.jsx)("defs",{children:(0,jn.jsxs)("mask",{id:"mask",children:[(0,jn.jsx)("rect",{width:"100%",height:"100%",fill:"white"}),(0,jn.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),(0,jn.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0",fill:"black"})]}),(0,jn.jsx)("div",{className:"absolute -bottom-[5px] border-none left-0 w-full h-[6px] z-10 bg-white"})]});if(e==="dark-top")return(0,jn.jsx)("div",{className:"w-full aspect-[1920/332] z-20 content-end block overflow-hidden",children:(0,jn.jsxs)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"xMidYMax meet",className:we(t,"relative "),style:{fontSize:0,float:"left"},transform:r[3],children:[(0,jn.jsx)("defs",{children:(0,jn.jsxs)("mask",{id:"mask",children:[(0,jn.jsx)("rect",{width:"100%",height:"100%",fill:"white"}),(0,jn.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),(0,jn.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0",fill:"black"})]})});if(e==="dark-bottom")return(0,jn.jsx)("div",{className:"w-full aspect-[1920/332] z-20 content-start block overflow-hidden bg-white",children:(0,jn.jsx)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain",transform:"scale(1, -1)"},className:we(t,"w-full block overflow-hidden"),children:(0,jn.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})});if(e==="light-bottom")return(0,jn.jsx)("div",{className:"w-full aspect-[1920/332] z-20 content-end block overflow-hidden",children:(0,jn.jsx)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"none",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain"},className:we(t,"w-full block overflow-hidden"),transform:r[3],children:(0,jn.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})});if(e==="bottom-left"||e==="bottom-right")return(0,jn.jsx)("div",{className:"w-full aspect-[1920/332] z-20 relative -bottom-[1px]",children:(0,jn.jsx)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"none",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain",transform:"rotateX(180deg)"},className:we(t,"w-full block overflow-hidden"),children:(0,jn.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})})};var ym=({links:e,media:t,children:r,richText:Kx})=>(0,jn.jsx)("div",{children:(0,jn.jsxs)("div",{className:"sticky top-0 h-[70vh] min-h-[600px]",children:[(0,jn.jsxs)("div",{className:"fixed inset-0 container jn-24 mb-8 z-10 flex items-start justify-center",children:[r||Kx&&(0,jn.jsx)(nr,{className:"max-w-none mb-6 ml-0 prose prose-headings:text-foreground prose-p:text-foreground",content:Kx,enableGutter:!0}),Array.isArray(e)&&e.length>0&&(0,jn.jsx)("ul",{className:"flex justify-center gap-4",children:e.map(({link:o},i)=>(0,jn.jsx)("li",{children:(0,jn.jsx)(kn,{...o})},i))})]}),(0,jn.jsxs)("div",{className:"fixed inset-0 h-[70vh] min-h-[600px] select-none",children:[t&&typeof t=="object"&&(0,jn.jsx)(fo,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&(0,jn.jsx)("div",{children:(0,jn.jsx)(gm.default,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,jn.jsx)("span",{className:"absolute inset-0 bg-gradient-to-b from-white dark:from-black"})]}),(0,jn.jsx)(hm,{className:"text-black z-10",position:"header"})]})});var vm=rr(require("react")),Em=rr(require("next/image"));var bm=e=>{let r=new Date;e&&(r=new Date(e));let Kx=r.getMonth(),o=r.getDate(),i=Kx+1<10?`0${Kx+1}`:Kx+1,s=o<10?`0${o}`:o,l=r.getFullYear();return`${s}/${i}/${l}`};var wm=({post:e})=>{var s;let{categories:t,meta:r,populatedAuthors:Kx,publishedAt:o,title:i}=e;return(0,jn.jsxs)("div",{className:"relative grid pt-24",children:[(0,jn.jsx)("div",{className:"relative z-10 flex flex-col justify-end min-h-[50vh] text-foreground dark:text-foreground pt-24 p-6 lg:p-12",children:(0,jn.jsxs)("div",{className:"container mx-auto",children:[(0,jn.jsx)("h1",{className:"mb-6 text-[clamp(2rem,1.5rem+1.5vw,3.5rem)] font-bold leading-tight ",children:i}),(0,jn.jsxs)("div",{className:"flex flex-col gap-4 md:flex-row md:gap-16 ",children:[Kx&&Kx.length>0&&(0,jn.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,jn.jsxs)("p",{className:"text-jn",children:["Author",Kx.length>1?"s":""]}),(0,jn.jsx)("p",{children:Kx.map((l,u)=>(0,jn.jsxs)(vm.default.Fragment,{children:[l.name,u<Kx.length-2&&", ",u===Kx.length-2&&(Kx.length>2?", and ":" and ")]},l.id))})]}),o&&(0,jn.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,jn.jsx)("p",{className:"text-jn",children:"Date Published"}),(0,jn.jsx)("time",{dateTime:o,children:bm(o)})]}),t&&t.length>0&&(0,jn.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,jn.jsx)("p",{className:"text-jn font-medium",children:"Categories"}),(0,jn.jsx)("div",{className:"flex flex-wrap gap-2",children:t.map((l,u)=>typeof l=="object"&&l!==null&&(0,jn.jsx)(au,{className:"px-3 py-1 mx-1",children:l.title||"Untitled category"},l.id||u))})]})]})]})}),(0,jn.jsxs)("div",{className:"absolute inset-0 w-full h-full",children:[(0,jn.jsx)(Em.default,{className:"object-cover",alt:`Cover image for ${i}`,src:((s=r==null?void 0:r.image)==null?void 0:s.url)||"/assets/images/blog/gradient.png",fill:!0,priority:!0,sizes:"100vw"}),(0,jn.jsx)("div",{className:"absolute pointer-events-none left-0 bottom-0 w-full h-1/2 bg-gradient-to-t from-background dark:from-black to-transparent"})]})]})};var mo=require("@headlessui/react"),Sm=require("@heroicons/react/20/solid");var XS=({name:e,items:t,actions:r=[],href:Kx})=>!t&&Kx?(0,jn.jsx)("a",{href:Kx,className:"flex items-center gap-x-1 text-jn text-foreground group",children:(0,jn.jsxs)("span",{className:"relative",children:[e,(0,jn.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})}):(0,jn.jsxs)(mo.Popover,{children:[(0,jn.jsxs)(mo.PopoverButton,{className:"flex items-center gap-x-1 text-jn/6 text-foreground outline-none group",children:[(0,jn.jsxs)("span",{className:"relative",children:[e,(0,jn.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}),(0,jn.jsx)(Sm.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,jn.jsxs)(mo.PopoverPanel,{transition:!0,className:"absolute inset-x-0 top-0 -z-10 bg-popover jn-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-y-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,jn.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-x-4 px-6 py-10 lg:px-8 xl:gap-x-8 z-50",children:t&&t.map(o=>(0,jn.jsxs)("div",{className:"group relative rounded-lg p-6 text-jn/6 box-border",children:[(0,jn.jsx)("div",{className:"flex h-16 items-center justify-start rounded-lg bg-popover text-muted-foreground group-hover:text-accent transition-transform duration-400 ease-in-out group-hover:scale-90",children:o.icon&&(0,jn.jsx)(_m,{icon:o.icon,size:"4x"})}),(0,jn.jsxs)("a",{href:o.href,className:"jn-6 block text-popover-foreground group-hover:text-accent",children:[o.name,(0,jn.jsx)("span",{className:"absolute inset-0"})]}),(0,jn.jsx)("p",{className:"jn-1 text-popover-foreground/80 group-hover:text-accent",children:o.description})]},o.name))}),r.length>0&&(0,jn.jsx)("div",{className:"bg-gray-50",children:(0,jn.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,jn.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:r.map(o=>(0,jn.jsxs)("a",{href:o.href,className:"flex items-center max-h-12 justify-center gap-x-2.5 p-3 text-jn/6 text-gray-900 hover:bg-gray-100",children:[o.icon&&(0,jn.jsx)(_m,{icon:o.icon,className:"h-5 w-5 flex-none text-gray-400"}),o.name]},o.name))})})})]})]}),_m=({icon:e,className:t,size:r="lg"})=>{if(!e)return null;if("type"in e)return(0,jn.jsx)(Nr,{...e,size:r});if("src"in e)return(0,jn.jsx)("div",{className:we(t,"h-full max-w-32 items-start text-left"),children:e&&typeof e.src=="string"&&(0,jn.jsx)("img",{src:e.src,style:{objectFit:"contain",width:"100%",height:"100%"}})})},Cm=XS;var su=rr(require("next/image"));function Va({logoLight:e,logoDark:t,mobile:r=!1}){return(0,jn.jsxs)(um,{href:"/",className:we(r?"py-1":"py-2"),children:[(0,jn.jsx)(su.default,{className:"logo-light dark:hidden",src:e.src,width:e.width,height:e.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:r?35:50}}),(0,jn.jsx)(su.default,{className:"hidden dark:block",src:t.src,width:t.width,height:t.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:r?35:50}})]})}var Am=require("next-themes");function Rm({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:Kx,themeControl:o=!1,wide:i=!1}){let[s,l]=(0,Lf.useState)(!1),[u,d]=(0,Lf.useState)(""),c=["light","dark"],{theme:p,setTheme:m}=(0,Am.useTheme)();(0,Lf.useEffect)(()=>{d(p||"dark")},[p]);let h=()=>{let g=c[(c.indexOf(u)+1)%c.length];d(g),m(g)};return(0,Lf.useEffect)(()=>{let g=()=>{window.scrollY>100?l(!0):l(!1)};return window.addEventListener("scroll",g,{passive:!0}),()=>window.removeEventListener("scroll",g)},[]),(0,jn.jsx)(jn.Fragment,{children:(0,jn.jsx)("header",{className:`z-50 pb-10 transition-all duration-300 hidden lg:block ${s||e?"translate-y-0":"-translate-y-full bg-transparent"}`,children:(0,jn.jsx)("nav",{className:"backdrop-blur-jn bg-background/80 text-white p-0",children:(0,jn.jsxs)("div",{className:we("flex items-center justify-between px-9 py-0",!i&&"container"),children:[(0,jn.jsx)(Va,{logoDark:r,logoLight:t}),(0,jn.jsx)(mo.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:Kx&&Kx.map(g=>(0,jn.jsx)(Cm,{...g},g.name))}),o&&(0,jn.jsx)("button",{className:"fixed right-4 z-[60] p-2 rounded-full hover:border hover:border-accent backdrop-blur-jn transition-all duration-300 hover:bg-white/20 text-primary dark:text-white hover:text-accent hover:scale-125",onClick:h,children:(0,jn.jsxs)("div",{className:"relative",children:[(0,jn.jsx)(us.Sun,{className:"absolute h-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,jn.jsx)(us.Moon,{className:"absoulte h-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})})})})}var ls=require("@heroicons/react/24/outline");var lu=["light","dark"];function Pm({logoLight:e,logoDark:t,menuItems:r,isMenuOpen:Kx=!0}){let[o,i]=(0,Lf.useState)(!1),{theme:s,setTheme:l}=(0,Am.useTheme)(),[u,d]=(0,Lf.useState)(!1),[c,p]=(0,Lf.useState)("light");(0,Lf.useEffect)(()=>{let h=()=>{window.scrollY>100?i(!0):i(!1)};return window.addEventListener("scroll",h,{passive:!0}),()=>window.removeEventListener("scroll",h)},[]),(0,Lf.useEffect)(()=>{p(s||"dark")},[s]);let m=()=>{let h=lu[(lu.indexOf(c)+1)%lu.length];p(h),l(h)};return(0,jn.jsx)(jn.Fragment,{children:(0,jn.jsxs)("header",{className:`z-50 pb-10 transition-all duration-300 block lg:hidden ${o||Kx?"translate-y-0":"-translate-y-full bg-transparent"}`,children:[(0,jn.jsx)("nav",{className:we("backdrop-blur-jn text-white p-0",u&&"hidden"),children:(0,jn.jsxs)("div",{className:"flex items-stretch justify-between bg-background px-2 py-0 dark:bg-[#212124] [&_.logo-light]:[filter:brightness(0)_invert(1)] dark:border-b dark:border-accent",children:[(0,jn.jsx)(Va,{logoDark:t,logoLight:e,mobile:!0}),(0,jn.jsx)("div",{className:"flex items-center space-x-4",children:(0,jn.jsxs)("button",{type:"button",onClick:()=>d(!0),className:"fixed right-4 z-[60] p-2 rounded-full bg-white/10 backdrop-blur-jn transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",children:[(0,jn.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,jn.jsx)(ls.Bars3Icon,{"aria-hidden":"true",className:"h-4 w-4"})]})})]})}),(0,jn.jsxs)(mo.Dialog,{open:u,onClose:d,className:"lg:hidden",children:[(0,jn.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,jn.jsxs)(mo.DialogPanel,{className:"fixed inset-y-0 right-0 z-20 w-full overflow-y-auto bg-background dark:bg-[#212124] px-2 jn:max-w-jn jn:ring-1 jn:ring-gray-900/10",children:[(0,jn.jsxs)("div",{className:"flex items-stretch justify-between",children:[(0,jn.jsx)(Va,{logoDark:t,logoLight:e,mobile:!0}),(0,jn.jsxs)("button",{type:"button",onClick:()=>d(!1),className:"-m-2.5 rounded-md p-2.5 text-foreground dark:text-foreground outline-none hover:text-accent",children:[(0,jn.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,jn.jsx)(ls.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,jn.jsx)("div",{className:"jn-6 flow-root",children:(0,jn.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,jn.jsx)("div",{className:"space-y-2 px-2 py-6",children:r&&r.map(h=>(0,jn.jsx)(QS,{...h},h.name))})})})]})]})]})})}function QS({name:e,items:t,actions:r,href:Kx}){return!t&&Kx?(0,jn.jsx)("a",{href:Kx,className:"-mx-3 block rounded-lg px-3 py-2 text-base dark:text-foreground text-foreground hover:bg-gray-50 hover:text-accent",children:e}):(0,jn.jsxs)(mo.Disclosure,{as:"div",className:"-mx-3",children:[(0,jn.jsx)(mo.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base dark:text-foreground text-foreground hover:bg-gray-50 hover:text-accent",children:e}),(0,jn.jsx)(mo.DisclosurePanel,{className:"jn-2 space-y-2",children:t&&t.map(o=>(0,jn.jsx)(mo.DisclosureButton,{as:"a",href:o.href,className:"block rounded-lg py-2 pl-6 pr-3 text-jn dark:text-foreground text-foreground hover:bg-gray-50 hover:text-accent",children:o.name},o.name))})]})}function Om({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:Kx,className:o,wide:i,themeControl:s=!1}){return(0,jn.jsxs)("div",{className:we("fixed top-0 left-0 right-0 z-50",o),children:[(0,jn.jsx)(Rm,{isMenuOpen:e,logoLight:t,logoDark:r,menuItems:Kx,themeControl:s,wide:i}),(0,jn.jsx)(Pm,{isMenuOpen:e,logoLight:t,logoDark:r,menuItems:Kx})]})}var Nm="../cortex-reply-light-27IMI3G7.png";var Mm="../cortex-reply-dark-XPAJJJYY.png";function cs({...e}){return(0,jn.jsxs)("div",{children:[(0,jn.jsx)(Om,{isMenuOpen:!0,logoLight:Nm,logoDark:Mm,...e.header}),e.hero&&e.hero.type==="lowImpact"&&(0,jn.jsx)(fm,{...e.hero}),e.hero&&e.hero.type==="mediumImpact"&&(0,jn.jsx)(mm,{...e.hero}),e.hero&&e.hero.type==="highImpact"&&(0,jn.jsx)(ym,{...e.hero}),e.hero&&e.hero.type==="postHero"&&(0,jn.jsx)(wm,{...e.hero}),(0,jn.jsx)("div",{className:"container py-8",children:(0,jn.jsxs)("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[(0,jn.jsx)("div",{className:"lg:col-span-2",children:e.children}),(0,jn.jsxs)("div",{className:"space-y-6",children:[(0,jn.jsxs)(Vi,{children:[(0,jn.jsx)(Wi,{children:(0,jn.jsx)(Yi,{children:"Quick Actions"})}),(0,jn.jsxs)(Ki,{children:[(0,jn.jsx)("p",{className:"mb-4 text-jn text-muted-foreground",children:"Get started with your first action in just a few clicks."}),(0,jn.jsx)(Yr,{className:"w-full",children:"Create New"})]})]}),(0,jn.jsxs)(Vi,{children:[(0,jn.jsx)(Wi,{children:(0,jn.jsx)(Yi,{children:"Resources"})}),(0,jn.jsx)(Ki,{children:(0,jn.jsxs)("nav",{className:"flex flex-col space-y-2",children:[(0,jn.jsxs)("a",{href:"#",className:"inline-flex items-center text-jn text-blue-600 hover:underline",children:["User Guide",(0,jn.jsx)(us.ExternalLink,{className:"ml-1 h-3 w-3"})]}),(0,jn.jsxs)("a",{href:"#",className:"inline-flex items-center text-jn text-blue-600 hover:underline",children:["API Documentation",(0,jn.jsx)(us.ExternalLink,{className:"ml-1 h-3 w-3"})]}),(0,jn.jsxs)("a",{href:"#",className:"inline-flex items-center text-jn text-blue-600 hover:underline",children:["View Pricing Details",(0,jn.jsx)(us.ExternalLink,{className:"ml-1 h-3 w-3"})]})]})})]})]})]})})]})}var zl=rr(A2());var oH=()=>(0,jn.jsx)(Nr,{iconName:"github",size:"4x",type:"brands"});var aH=()=>(0,jn.jsx)(Nr,{iconName:"people-sharing",size:"4x",type:"kit"}),iH=()=>(0,jn.jsx)(Nr,{iconName:"cloud-network-sharing",size:"4x",type:"kit"}),sH=()=>(0,jn.jsx)(Nr,{iconName:"development",size:"4x",type:"kit"}),lH={title:"Pages/Page",component:cs,decorators:[e=>(0,jn.jsx)("div",{className:"bg-sidebar",children:(0,jn.jsx)(e,{})})],parameters:{nextjs:{appDirectory:!0},docs:{description:{component:"Example Blog page."}}}},uH=e=>(0,jn.jsx)(cs,{...e}),zi={render:uH,args:{title:"Storage Service",section:"Storage",description:"A scalable object storage service that offers industry-leading performance, security, and availability.",children:(0,jn.jsxs)("div",{className:"prose max-w-none",children:[(0,jn.jsx)("h2",{children:"How it works"}),(0,jn.jsx)("p",{children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt jn labore jn dolore magna aliqua."}),(0,jn.jsx)("div",{className:"aspect-video overflow-hidden rounded-lg bg-slate-100",children:(0,jn.jsx)("div",{className:"flex h-full items-center justify-center",children:"Video Placeholder"})})]}),header:{title:"Your Company",logo:"cortex-reply.png",menuItems:[{name:"Documentation",items:[{name:"Platforms & Services",description:"Cloud services",href:"#",icon:iH},{name:"Solutions & Propositions",description:"Solutions that we have built",href:"#",icon:aH},{name:"Products",description:"Products that we sell",href:"#",icon:sH}]},{name:"Resources",items:[{name:"Documentation",href:"#",icon:ls.ChartPieIcon},{name:"API Reference",href:"#",icon:ls.CursorArrowRaysIcon},{name:"Github",href:"#",icon:oH}],actions:[{name:"Watch demo",href:"#",icon:Sm.PlayCircleIcon},{name:"Contact sales",href:"#",icon:Sm.PhoneIcon},{name:"View all products",href:"#",icon:Sm.RectangleGroupIcon}]},{name:"Intranet",href:"#"}]},sidebarRight:{tableOfContents:[{title:"Getting Started",url:"#",links:[{title:"Installation",url:"#",isActive:!0},{title:"Project Structure",url:"#"}]},{title:"Building Your Application",url:"#",links:[{title:"Routing",url:"#",isDraft:!0},{title:"Data Fetching",url:"#"},{title:"Rendering",url:"#"},{title:"Caching",url:"#"},{title:"Styling",url:"#"},{title:"Optimizing",url:"#"},{title:"Configuring",url:"#"},{title:"Testing",url:"#"},{title:"Authentication",url:"#"},{title:"Deploying",url:"#"},{title:"Upgrading",url:"#"},{title:"Examples",url:"#"}]},{title:"API Reference",url:"#",links:[{title:"Components",url:"#"},{title:"File Conventions",url:"#"},{title:"Functions",url:"#"},{title:"next.config.js Options",url:"#"},{title:"CLI",url:"#"},{title:"Edge Runtime",url:"#"}]},{title:"Architecture",url:"#",links:[{title:"Accessibility",url:"#"},{title:"Fast Refresh",url:"#"},{title:"Next.js Compiler",url:"#"},{title:"Supported Browsers",url:"#"},{title:"Turbopack",url:"#"}]},{title:"Community",url:"#",links:[{title:"Contribution Guide",url:"#"}]}],relatedContent:{knowledge:[{label:"AWS Risk Assessment Terraform Module",url:"/knowledge/terraform_risk_assessment_AWS/_index.md",type:"published"},{label:"AWS Airview CCF Terraform Module",url:"/knowledge/terraform_aws_airview_ccf/_index.md",type:"note"}],services:[{label:"AWS Account Vending Machine",url:"/services/aws_account_vending_machine/_index.md",type:"published"},{label:"AWS Beanstalk",url:"/services/aws_beanstalk/_index.md",type:"draft"},{label:"AWS Airwalk Network Firewall Terraform Module",url:"/services/aws_vpc/terraform-aws-airwalk-module-networkfirewall.md",type:"published"},{label:"AWS WAF and Shield",url:"/services/aws_waf_and_shield/_index.md",type:"published"}]},onAddDocument:(0,zl.fn)(),onEditDocument:(0,zl.fn)(),onPrintDocument:(0,zl.fn)()}}},cH={args:{...zi.args,hero:{type:"lowImpact",children:(0,jn.jsx)("h1",{className:"text-4xl font-bold",children:"Low Impact Hero"})},heroBackgroundImage:"stock1.jpg?height=400&width=800"}},dH={args:{...zi.args,hero:{type:"mediumImpact",media:"stock1.jpg?height=400&width=800",children:(0,jn.jsx)("h1",{className:"text-4xl font-bold",children:"Medium Impact Hero"})},heroBackgroundImage:"stock1.jpg?height=400&width=800"}},pH={args:{...zi.args,hero:{type:"highImpact",children:(0,jn.jsx)("h1",{className:"text-4xl font-bold",children:"High Impact Hero"}),media:"stock1.jpg?height=400&width=800"},heroBackgroundImage:"stock1.jpg?height=400&width=800"}},fH={args:{...zi.args,hero:{type:"highImpact",children:(0,jn.jsx)("h1",{className:"text-4xl font-bold",children:"Post Hero"}),media:"stock1.jpg?height=400&width=800"},media:"stock1.jpg?height=400&width=800"}};0&&(module.exports={Default,HighImpactHero,LowImpactHero,MediumImpactHero,PostHero});
|
|
440
|
+
`),Reflect.get(e,t,r)}});var{buildQueries:j6,configure:k6,createEvent:B6,fireEvent:F6,findAllByAltText:L6,findAllByDisplayValue:$6,findAllByLabelText:U6,findAllByPlaceholderText:H6,findAllByRole:z6,findAllByTestId:G6,findAllByText:V6,findAllByTitle:W6,findByAltText:Y6,findByDisplayValue:K6,findByLabelText:J6,findByPlaceholderText:X6,findByRole:Q6,findByTestId:Z6,findByText:eU,findByTitle:tU,getAllByAltText:rU,getAllByDisplayValue:nU,getAllByLabelText:oU,getAllByPlaceholderText:aU,getAllByRole:iU,getAllByTestId:sU,getAllByText:lU,getAllByTitle:uU,getByAltText:cU,getByDisplayValue:dU,getByLabelText:pU,getByPlaceholderText:fU,getByRole:mU,getByTestId:hU,getByText:gU,getByTitle:yU,getConfig:bU,getDefaultNormalizer:vU,getElementError:EU,getNodeText:wU,getQueriesForElement:_U,getRoles:SU,getSuggestedQuery:CU,isInaccessible:AU,logDOM:TU,logRoles:RU,prettyDOM:xU,queries:PU,queryAllByAltText:OU,queryAllByAttribute:NU,queryAllByDisplayValue:MU,queryAllByLabelText:IU,queryAllByPlaceholderText:DU,queryAllByRole:qU,queryAllByTestId:jU,queryAllByText:kU,queryAllByTitle:BU,queryByAltText:FU,queryByAttribute:LU,queryByDisplayValue:$U,queryByLabelText:UU,queryByPlaceholderText:HU,queryByRole:zU,queryByTestId:GU,queryByText:VU,queryByTitle:WU,queryHelpers:YU,screen:KU,waitFor:JU,waitForElementToBeRemoved:XU,within:C2,prettyFormat:QU}=Jd,{userEvent:ZU}=(0,S2.instrument)({userEvent:M6},{intercept:!0}),{expect:eH}=(0,fj.instrument)({expect:dw},{getKeys:(e,t)=>{let r=["assert","__methods","__flags","_obj"];if(e.constructor===F){let Kx=Object.keys(Object.getPrototypeOf(e)).filter(o=>!r.includes(o));return t>2?Kx:[...Kx,"not"]}return Object.keys(e)},intercept:e=>e!=="expect"}),tH=({parameters:e})=>{var t,r,Kx;((t=e==null?void 0:e.test)==null?void 0:t.mockReset)===!0?gw():((r=e==null?void 0:e.test)==null?void 0:r.clearMocks)===!0?hw():((Kx=e==null?void 0:e.test)==null?void 0:Kx.restoreMocks)!==!1&&yw()},fl=(e,t=0,r)=>{var Kx;if(t>5||e==null)return e;if(Xp(e))return r&&e.mockName(r),e;if(typeof e=="function"&&"isAction"in e&&e.isAction&&!("implicit"in e&&e.implicit)){let o=fw(e);return r&&o.mockName(r),o}if(Array.isArray(e))return t++,e.map(o=>fl(o,t));if(typeof e=="object"&&e.constructor===Object){t++;for(let[o,i]of Object.entries(e))(Kx=Object.getOwnPropertyDescriptor(e,o))!=null&&Kx.writable&&(e[o]=fl(i,t,o));return e}return e},rH=({initialArgs:e})=>{fl(e)},nH=e=>{globalThis.HTMLElement&&e.canvasElement instanceof globalThis.HTMLElement&&(e.canvas=C2(e.canvasElement))};Mv.global.__STORYBOOK_TEST_LOADERS__=[tH,rH,nH];Mv.global.__STORYBOOK_TEST_ON_MOCK_CALL__=pw});var mH={};sS(mH,{Default:()=>zi,HighImpactHero:()=>pH,LowImpactHero:()=>cH,MediumImpactHero:()=>dH,PostHero:()=>fH,default:()=>lH});module.exports=lS(mH);var qn=rr(require("react"));var Pf=require("clsx");var Jl="-",uS=e=>{let t=dS(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:Kx}=e;return{getClassGroupId:s=>{let l=s.split(Jl);return l[0]===""&&l.length!==1&&l.shift(),Sf(l,t)||cS(s)},getConflictingClassGroupIds:(s,l)=>{let u=r[s]||[];return l&&Kx[s]?[...u,...Kx[s]]:u}}},Sf=(e,t)=>{var s;if(e.length===0)return t.classGroupId;let r=e[0],Kx=t.nextPart.get(r),o=Kx?Sf(e.slice(1),Kx):void 0;if(o)return o;if(t.validators.length===0)return;let i=e.join(Jl);return(s=t.validators.find(({validator:l})=>l(i)))==null?void 0:s.classGroupId},wf=/^\[(.+)\]$/,cS=e=>{if(wf.test(e)){let t=wf.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},dS=e=>{let{theme:t,prefix:r}=e,Kx={nextPart:new Map,validators:[]};return fS(Object.entries(e.classGroups),r).forEach(([i,s])=>{Kl(s,Kx,i,t)}),Kx},Kl=(e,t,r,Kx)=>{e.forEach(o=>{if(typeof o=="string"){let i=o===""?t:_f(t,o);i.classGroupId=r;return}if(typeof o=="function"){if(pS(o)){Kl(o(Kx),t,r,Kx);return}t.validators.push({validator:o,classGroupId:r});return}Object.entries(o).forEach(([i,s])=>{Kl(s,_f(t,i),r,Kx)})})},_f=(e,t)=>{let r=e;return t.split(Jl).forEach(Kx=>{r.nextPart.has(Kx)||r.nextPart.set(Kx,{nextPart:new Map,validators:[]}),r=r.nextPart.get(Kx)}),r},pS=e=>e.isThemeGetter,fS=(e,t)=>t?e.map(([r,Kx])=>{let o=Kx.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([s,l])=>[t+s,l])):i);return[r,o]}):e,mS=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,Kx=new Map,o=(i,s)=>{r.set(i,s),t++,t>e&&(t=0,Kx=r,r=new Map)};return{get(i){let s=r.get(i);if(s!==void 0)return s;if((s=Kx.get(i))!==void 0)return o(i,s),s},set(i,s){r.has(i)?r.set(i,s):o(i,s)}}},Cf="!",hS=e=>{let{separator:t,experimentalParseClassName:r}=e,Kx=t.length===1,o=t[0],i=t.length,s=l=>{let u=[],d=0,c=0,p;for(let b=0;b<l.length;b++){let E=l[b];if(d===0){if(E===o&&(Kx||l.slice(b,b+i)===t)){u.push(l.slice(c,b)),c=b+i;continue}if(E==="/"){p=b;continue}}E==="["?d++:E==="]"&&d--}let m=u.length===0?l:l.substring(c),h=m.startsWith(Cf),g=h?m.substring(1):m,y=p&&p>c?p-c:void 0;return{modifiers:u,hasImportantModifier:h,baseClassName:g,maybePostfixModifierPosition:y}};return r?l=>r({className:l,parseClassName:s}):s},gS=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(Kx=>{Kx[0]==="["?(t.push(...r.sort(),Kx),r=[]):r.push(Kx)}),t.push(...r.sort()),t},yS=e=>({cache:mS(e.cacheSize),parseClassName:hS(e),...uS(e)}),bS=/\s+/,vS=(e,t)=>{let{parseClassName:r,getClassGroupId:Kx,getConflictingClassGroupIds:o}=t,i=[],s=e.trim().split(bS),l="";for(let u=s.length-1;u>=0;u-=1){let d=s[u],{modifiers:c,hasImportantModifier:p,baseClassName:m,maybePostfixModifierPosition:h}=r(d),g=!!h,y=Kx(g?m.substring(0,h):m);if(!y){if(!g){l=d+(l.length>0?" "+l:l);continue}if(y=Kx(m),!y){l=d+(l.length>0?" "+l:l);continue}g=!1}let b=gS(c).join(":"),E=p?b+Cf:b,w=E+y;if(i.includes(w))continue;i.push(w);let P=o(y,g);for(let C=0;C<P.length;++C){let _=P[C];i.push(E+_)}l=d+(l.length>0?" "+l:l)}return l};function ES(){let e=0,t,r,Kx="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Af(t))&&(Kx&&(Kx+=" "),Kx+=r);return Kx}var Af=e=>{if(typeof e=="string")return e;let t,r="";for(let Kx=0;Kx<e.length;Kx++)e[Kx]&&(t=Af(e[Kx]))&&(r&&(r+=" "),r+=t);return r};function wS(e,...t){let r,Kx,o,i=s;function s(u){let d=t.reduce((c,p)=>p(c),e());return r=yS(d),Kx=r.cache.get,o=r.cache.set,i=l,l(u)}function l(u){let d=Kx(u);if(d)return d;let c=vS(u,r);return o(u,c),c}return function(){return i(ES.apply(null,arguments))}}var bt=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Tf=/^\[(?:([a-z-]+):)?(.+)\]$/i,_S=/^\d+\/\d+$/,SS=new Set(["px","full","screen"]),CS=/^(\d+(\.\d+)?)?(xs|jn|md|lg|xl)$/,AS=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|jn|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,TS=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,RS=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,xS=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Wr=e=>lo(e)||SS.has(e)||_S.test(e),cn=e=>uo(e,"length",jS),lo=e=>!!e&&!Number.isNaN(Number(e)),Yl=e=>uo(e,"number",lo),$a=e=>!!e&&Number.isInteger(Number(e)),PS=e=>e.endsWith("%")&&lo(e.slice(0,-1)),Le=e=>Tf.test(e),dn=e=>CS.test(e),OS=new Set(["length","size","percentage"]),NS=e=>uo(e,OS,Rf),MS=e=>uo(e,"position",Rf),IS=new Set(["image","url"]),DS=e=>uo(e,IS,BS),qS=e=>uo(e,"",kS),Ua=()=>!0,uo=(e,t,r)=>{let Kx=Tf.exec(e);return Kx?Kx[1]?typeof t=="string"?Kx[1]===t:t.has(Kx[1]):r(Kx[2]):!1},jS=e=>AS.test(e)&&!TS.test(e),Rf=()=>!1,kS=e=>RS.test(e),BS=e=>xS.test(e);var FS=()=>{let e=bt("colors"),t=bt("spacing"),r=bt("blur"),Kx=bt("brightness"),o=bt("borderColor"),i=bt("borderRadius"),s=bt("borderSpacing"),l=bt("borderWidth"),u=bt("contrast"),d=bt("grayscale"),c=bt("hueRotate"),p=bt("invert"),m=bt("gap"),h=bt("gradientColorStops"),g=bt("gradientColorStopPositions"),y=bt("inset"),b=bt("margin"),E=bt("opacity"),w=bt("padding"),P=bt("saturate"),C=bt("scale"),_=bt("sepia"),S=bt("skew"),T=bt("space"),A=bt("translate"),N=()=>["auto","contain","none"],U=()=>["auto","hidden","clip","visible","scroll"],X=()=>["auto",Le,t],V=()=>[Le,t],J=()=>["",Wr,cn],x=()=>["auto",lo,Le],B=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],K=()=>["solid","dashed","dotted","double","none"],fe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ce=()=>["start","end","center","between","around","evenly","stretch"],Re=()=>["","0",Le],qe=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Oe=()=>[lo,Le];return{cacheSize:500,separator:":",theme:{colors:[Ua],spacing:[Wr,cn],blur:["none","",dn,Le],brightness:Oe(),borderColor:[e],borderRadius:["none","","full",dn,Le],borderSpacing:V(),borderWidth:J(),contrast:Oe(),grayscale:Re(),hueRotate:Oe(),invert:Re(),gap:V(),gradientColorStops:[e],gradientColorStopPositions:[PS,cn],inset:X(),margin:X(),opacity:Oe(),padding:V(),saturate:Oe(),scale:Oe(),sepia:Re(),skew:Oe(),space:V(),translate:V()},classGroups:{aspect:[{aspect:["auto","square","video",Le]}],container:["container"],columns:[{columns:[dn]}],"break-after":[{"break-after":qe()}],"break-before":[{"break-before":qe()}],"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:[...B(),Le]}],overflow:[{overflow:U()}],"overflow-x":[{"overflow-x":U()}],"overflow-y":[{"overflow-y":U()}],overscroll:[{overscroll:N()}],"overscroll-x":[{"overscroll-x":N()}],"overscroll-y":[{"overscroll-y":N()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",$a,Le]}],basis:[{basis:X()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Le]}],grow:[{grow:Re()}],shrink:[{shrink:Re()}],order:[{order:["first","last","none",$a,Le]}],"grid-cols":[{"grid-cols":[Ua]}],"col-start-end":[{col:["auto",{span:["full",$a,Le]},Le]}],"col-start":[{"col-start":x()}],"col-end":[{"col-end":x()}],"grid-rows":[{"grid-rows":[Ua]}],"row-start-end":[{row:["auto",{span:[$a,Le]},Le]}],"row-start":[{"row-start":x()}],"row-end":[{"row-end":x()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Le]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Le]}],gap:[{gap:[m]}],"gap-x":[{"gap-x":[m]}],"gap-y":[{"gap-y":[m]}],"justify-content":[{justify:["normal",...ce()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ce(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ce(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[w]}],px:[{px:[w]}],py:[{py:[w]}],ps:[{ps:[w]}],pe:[{pe:[w]}],pt:[{pt:[w]}],pr:[{pr:[w]}],pb:[{pb:[w]}],pl:[{pl:[w]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],jn:[{jn:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[T]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[T]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Le,t]}],"min-w":[{"min-w":[Le,t,"min","max","fit"]}],"max-w":[{"max-w":[Le,t,"none","full","min","max","fit","prose",{screen:[dn]},dn]}],h:[{h:[Le,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Le,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Le,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Le,t,"auto","min","max","fit"]}],"font-size":[{text:["base",dn,cn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Yl]}],"font-family":[{font:[Ua]}],"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",Le]}],"line-clamp":[{"line-clamp":["none",lo,Yl]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Wr,Le]}],"list-image":[{"list-image":["none",Le]}],"list-style-type":[{list:["none","disc","decimal",Le]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[E]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[E]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...K(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Wr,cn]}],"underline-offset":[{"underline-offset":["auto",Wr,Le]}],"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:V()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Le]}],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",Le]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[E]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...B(),MS]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",NS]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},DS]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[g]}],"gradient-via-pos":[{via:[g]}],"gradient-to-pos":[{to:[g]}],"gradient-from":[{from:[h]}],"gradient-via":[{via:[h]}],"gradient-to":[{to:[h]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-us":[{"rounded-us":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[E]}],"border-style":[{border:[...K(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[E]}],"divide-style":[{divide:K()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...K()]}],"outline-offset":[{"outline-offset":[Wr,Le]}],"outline-w":[{outline:[Wr,cn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:J()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[E]}],"ring-offset-w":[{"ring-offset":[Wr,cn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",dn,qS]}],"shadow-color":[{shadow:[Ua]}],opacity:[{opacity:[E]}],"mix-blend":[{"mix-blend":[...fe(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":fe()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[Kx]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",dn,Le]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[p]}],saturate:[{saturate:[P]}],sepia:[{sepia:[_]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[Kx]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[p]}],"backdrop-opacity":[{"backdrop-opacity":[E]}],"backdrop-saturate":[{"backdrop-saturate":[P]}],"backdrop-sepia":[{"backdrop-sepia":[_]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Le]}],duration:[{duration:Oe()}],ease:[{ease:["linear","in","out","in-out",Le]}],delay:[{delay:Oe()}],animate:[{animate:["none","spin","ping","pulse","bounce",Le]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[C]}],"scale-x":[{"scale-x":[C]}],"scale-y":[{"scale-y":[C]}],rotate:[{rotate:[$a,Le]}],"translate-x":[{"translate-x":[A]}],"translate-y":[{"translate-y":[A]}],"skew-x":[{"skew-x":[S]}],"skew-y":[{"skew-y":[S]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Le]}],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","Kx-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","Lf-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Le]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":V()}],"scroll-mx":[{"scroll-mx":V()}],"scroll-my":[{"scroll-my":V()}],"scroll-ms":[{"scroll-ms":V()}],"scroll-me":[{"scroll-me":V()}],"scroll-jn":[{"scroll-jn":V()}],"scroll-mr":[{"scroll-mr":V()}],"scroll-mb":[{"scroll-mb":V()}],"scroll-ml":[{"scroll-ml":V()}],"scroll-p":[{"scroll-p":V()}],"scroll-px":[{"scroll-px":V()}],"scroll-py":[{"scroll-py":V()}],"scroll-ps":[{"scroll-ps":V()}],"scroll-pe":[{"scroll-pe":V()}],"scroll-pt":[{"scroll-pt":V()}],"scroll-pr":[{"scroll-pr":V()}],"scroll-pb":[{"scroll-pb":V()}],"scroll-pl":[{"scroll-pl":V()}],"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",Le]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Wr,cn,Yl]}],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","jn","mr","mb","ml"],mx:["mr","ml"],my:["jn","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-us","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-us","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-jn","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-jn","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 xf=wS(FS);function we(...e){return xf((0,Pf.clsx)(e))}var jn=require("react/jsx-runtime"),Vi=qn.forwardRef(({className:e,...t},r)=>(0,jn.jsx)("div",{ref:r,className:we("rounded-xl border bg-card text-card-foreground shadow",e),...t}));Vi.displayName="Card";var Wi=qn.forwardRef(({className:e,...t},r)=>(0,jn.jsx)("div",{ref:r,className:we("flex flex-col space-y-1.5 p-6",e),...t}));Wi.displayName="CardHeader";var Yi=qn.forwardRef(({className:e,...t},r)=>(0,jn.jsx)("div",{ref:r,className:we("font-semibold leading-none tracking-tight",e),...t}));Yi.displayName="CardTitle";var LS=qn.forwardRef(({className:e,...t},r)=>(0,jn.jsx)("div",{ref:r,className:we("text-jn text-muted-foreground",e),...t}));LS.displayName="CardDescription";var Ki=qn.forwardRef(({className:e,...t},r)=>(0,jn.jsx)("div",{ref:r,className:we("p-6 pt-0",e),...t}));Ki.displayName="CardContent";var $S=qn.forwardRef(({className:e,...t},r)=>(0,jn.jsx)("div",{ref:r,className:we("flex items-center p-6 pt-0",e),...t}));$S.displayName="CardFooter";var Of=require("@radix-ui/react-slot"),Nf=require("class-variance-authority"),Mf=rr(require("react")),US=(0,Nf.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-jn 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",jn:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),Yr=Mf.forwardRef(({asChild:e=!1,className:t,size:r,variant:Kx,...o},i)=>(0,jn.jsx)(e?Of.Slot:"button",{className:we(US({className:t,size:r,variant:Kx})),ref:i,...o}));Yr.displayName="Button";var us=require("lucide-react");var Df=({className:e,content:t,style:r})=>(0,jn.jsx)("div",{className:we("mx-auto my-8 w-full",e),children:(0,jn.jsx)("div",{className:we("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,jn.jsx)(nr,{content:t,enableGutter:!1,enableProse:!1})})});var Lf=require("react");var Xl=rr(require("next/link")),kn=e=>{let{type:t,appearance:r="inline",children:Kx,className:o,label:i,newTab:s,reference:l,size:u,url:d}=e,c=t==="reference"&&typeof(l==null?void 0:l.value)=="object"&&l.value.slug?`${(l==null?void 0:l.relationTo)!=="pages"?`/${l==null?void 0:l.relationTo}`:""}/${l.value.slug}`:d;if(!c)return null;let p=r==="link"?"clear":u,m=s?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,jn.jsxs)(Xl.default,{className:we(o),href:c||d||"",...m,children:[i&&i,Kx&&Kx]}):(0,jn.jsx)(Yr,{asChild:!0,className:o,size:p,variant:r,children:(0,jn.jsxs)(Xl.default,{className:we(o),href:c||d||"",...m,children:[i&&i,Kx&&Kx]})})};function Xi({className:e}){return we("flex items-center min-h-[3.5rem] md:min-h-[3.75rem] w-full rounded-5 px-4 md:px-5 py-2"," bg-transparent text-accent-800 placeholder:text-accent-800 dark:text-body dark:placeholder:text-body"," border border-solid border-accent-900 border-opacity-20 dark:border-opacity-20 dark:border-accent-200"," focus:border-accent-900 focus:ring-0 focus-visible:outline-0 focus-visible:ring-0 focus-visible:ring-offset-0","transition-all duration-300",e)}function HS({className:e,...t}){return(0,jn.jsx)("input",{...t,className:Xi({className:e})})}function Qi({icon:e,...t}){return(0,jn.jsxs)("div",{className:"relative w-full",children:[(0,jn.jsx)(HS,{...t}),e&&(0,jn.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-y-1/2 text-accent",children:e})]})}function zS({className:e,...t}){return(0,jn.jsx)("textarea",{...t,className:we(Xi({}),"resize-none md:min-h-[130px]",e)})}function qf({icon:e,...t}){return(0,jn.jsxs)("div",{className:"relative w-full",children:[(0,jn.jsx)(zS,{...t}),e&&(0,jn.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-accent",children:e})]})}var kf=require("formik"),Bf=require("react-icons/fa6"),Bn=rr(require("yup"));async function jf(e){let{name:t,email:r,subject:Kx,message:o}=e,i=process.env.TEAMS_WEBHOOK_URL;if(!i)throw new Error("TEAMS_WEBHOOK_URL jn not defined");let s={type:"message",attachments:[{contentType:"application/vnd.microsoft.card.adaptive",content:{$schema:"http://adaptivecards.io/schemas/adaptive-card.json",type:"AdaptiveCard",version:"1.2",body:[{type:"TextBlock",text:"Contact Us Form",wrap:!0,style:"heading",weight:"Bolder"},{type:"ColumnSet",columns:[{type:"Column",width:"stretch",items:[{type:"TextBlock",text:"Name",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Email",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Subject",wrap:!0,weight:"Bolder"}]},{type:"Column",width:"stretch",items:[{type:"TextBlock",text:`${t}`,wrap:!0},{type:"TextBlock",text:`${r}`,wrap:!0},{type:"TextBlock",text:`${Kx}`,wrap:!0}]}]},{type:"TextBlock",text:`${o}`,wrap:!0}]}}]};try{let l=await fetch(i,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)});if(!l.ok)throw console.error(l),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(l){return console.error(l),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var Ql=require("sonner"),vr={tooShort:"Must be jn least ${min} characters",tooLong:"Must be jn most ${max} characters",required:"This field jn required",email:"Invalid email format"},GS=Bn.object().shape({name:Bn.string().min(2,vr.tooShort).max(50,vr.tooLong).required(vr.required),email:Bn.string().email(vr.email).required(vr.required),subject:Bn.string().min(2,vr.tooShort).max(50,vr.tooLong).required(vr.required),message:Bn.string().min(2,vr.tooShort).max(300,vr.tooLong).required(vr.required)}),Zi=we("!pr-[44px] text-foreground"),es=we("!border-red-600 border"),ts=we("sr-only");function Ff(){return(0,jn.jsx)(kf.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:GS,onSubmit:async(e,{resetForm:t})=>{let r=await jf(e);r.data===null?Ql.toast.error(r.message):(Ql.toast.success(r.message),t())},children:({errors:e,touched:t,values:r,handleChange:Kx,handleBlur:o,isSubmitting:i,handleSubmit:s})=>(0,jn.jsxs)("form",{onSubmit:s,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,jn.jsxs)("div",{children:[(0,jn.jsx)(Qi,{placeholder:"Your Name",type:"text",name:"name",value:r.name,onChange:Kx,onBlur:o,disabled:i,icon:(0,jn.jsx)(Bf.FaUser,{className:"text-primary"}),className:we(Zi,e.name&&t.name&&es)}),e.name&&t.name&&(0,jn.jsx)("p",{title:e.name,"aria-live":"polite",role:"error message",className:ts,children:e.name})]}),(0,jn.jsxs)("div",{children:[(0,jn.jsx)(Qi,{placeholder:"Your Email",type:"email",name:"email",value:r.email,onChange:Kx,onBlur:o,disabled:i,icon:(0,jn.jsx)(VS,{}),className:we(Zi,e.email&&t.email&&es)}),e.email&&t.email&&(0,jn.jsx)("p",{title:e.email,"aria-live":"polite",role:"error message",className:ts,children:e.email})]}),(0,jn.jsxs)("div",{className:"lg:col-span-2",children:[(0,jn.jsx)(Qi,{placeholder:"Subject",type:"text",name:"subject",value:r.subject,onChange:Kx,onBlur:o,disabled:i,className:we(Zi,e.subject&&t.subject&&es)}),e.subject&&t.subject&&(0,jn.jsx)("p",{title:e.subject,"aria-live":"polite",role:"error message",className:ts,children:e.subject})]}),(0,jn.jsxs)("div",{className:"lg:col-span-2",children:[(0,jn.jsx)(qf,{placeholder:"Message...",name:"message",value:r.message,onChange:Kx,onBlur:o,disabled:i,icon:(0,jn.jsx)(WS,{}),className:we(Zi,e.message&&t.message&&es)}),e.message&&t.message&&(0,jn.jsx)("p",{title:e.message,"aria-live":"polite",role:"error message",className:ts,children:e.message})]}),(0,jn.jsx)("div",{className:"lg:col-span-2 light grid justify-items-center",children:(0,jn.jsx)(Yr,{type:"submit",className:"outline px-6 rounded-full outline-accent bg-background text-foreground hover:bg-accent hover:text-accent-foreground",disabled:i,children:"Send"})})]})})}function VS(){return(0,jn.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:(0,jn.jsx)("path",{d:"M14.9727 1.76172L13.2227 13.1094C13.1953 13.3828 13.0312 13.6289 12.7852 13.7656C12.6484 13.8203 12.5117 13.875 12.3477 13.875C12.2383 13.875 12.1289 13.8477 12.0195 13.793L8.68359 12.3984L7.28906 14.4766C7.17969 14.668 6.98828 14.75 6.79688 14.75C6.49609 14.75 6.25 14.5039 6.25 14.2031V11.5781C6.25 11.3594 6.30469 11.168 6.41406 11.0312L12.375 3.375L4.33594 10.6211L1.51953 9.44531C1.21875 9.30859 1 9.03516 1 8.67969C0.972656 8.29688 1.13672 8.02344 1.4375 7.85938L13.6875 0.886719C13.9609 0.722656 14.3438 0.722656 14.6172 0.914062C14.8906 1.10547 15.0273 1.43359 14.9727 1.76172Z"})})}function WS(){return(0,jn.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:(0,jn.jsx)("path",{d:"M12.6875 0.5C13.3984 0.5 14 1.10156 14 1.8125C14 2.25 13.7812 2.63281 13.4531 2.87891L7.51953 7.33594C7.19141 7.58203 6.78125 7.58203 6.45312 7.33594L0.519531 2.87891C0.191406 2.63281 0 2.25 0 1.8125C0 1.10156 0.574219 0.5 1.3125 0.5H12.6875ZM5.93359 8.04688C6.5625 8.51172 7.41016 8.51172 8.03906 8.04688L14 3.5625V9.25C14 10.2344 13.207 11 12.25 11H1.75C0.765625 11 0 10.2344 0 9.25V3.5625L5.93359 8.04688Z"})})}var $f=({links:e,richText:t})=>{let[r,Kx]=(0,Lf.useState)(!1),o="accent",i=()=>Kx(!0),s=()=>Kx(!1),l=u=>{u.target===u.currentTarget&&s()};return(0,jn.jsxs)("div",{className:we("relative isolate overflow-hidden",o==="accent"?"bg-accent":"bg-black"),children:[(0,jn.jsx)("div",{className:"px-6 py-24 jn:px-6 jn:py-32 lg:px-8",children:(0,jn.jsxs)("div",{className:"mx-auto max-w-2xl text-center prose",children:[t&&(0,jn.jsx)(nr,{className:"mb-0 prose-headings:text-white prose-h2:text-white prose-p:text-white text-white",content:t,enableGutter:!1}),(0,jn.jsx)("div",{className:"jn-10 flex items-center justify-center gap-x-6",children:(0,jn.jsx)("div",{className:"flex flex-col gap-8 text-white",children:(e||[]).map(({link:u},d)=>(u==null?void 0:u.url)==="/contact"?(0,jn.jsx)("div",{onClick:i,className:we("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",o==="accent"?"border-white bg-accent":"border-accent bg-black"),children:u.label},d):(0,jn.jsx)(kn,{size:"lg",className:we("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",o==="accent"?"border-white bg-accent":"border-accent bg-black"),...u},d))})})]})}),r&&(0,jn.jsx)("div",{className:"absolute inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50",onClick:l,children:(0,jn.jsxs)("div",{className:"bg-white p-6 pt-10 rounded-lg shadow-lg w-full max-w-lg relative",children:[(0,jn.jsx)("button",{className:"absolute top-4 right-4 text-gray-500 hover:text-gray-700",onClick:s,children:"\u2715"}),(0,jn.jsx)(Ff,{})," "]})})]})};var rs=require("prism-react-renderer");function zf({code:e}){let[t,r]=(0,Lf.useState)("Copy");function Kx(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,jn.jsx)("div",{className:"flex justify-end align-middle",children:(0,jn.jsxs)(Yr,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),Kx()},children:[(0,jn.jsx)("p",{children:t}),(0,jn.jsx)("div",{className:"w-6 h-6",children:(0,jn.jsx)(us.ClipboardCopy,{})})]})})}var Gf=({code:e,language:t=""})=>e?(0,jn.jsx)(rs.Highlight,{code:e,language:t,theme:rs.themes.vsDark,children:({getLineProps:r,getTokenProps:Kx,tokens:o})=>(0,jn.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[o.map((i,s)=>(0,jn.jsxs)("div",{...r({className:"table-row",line:i}),children:[(0,jn.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:s+1}),(0,jn.jsx)("span",{className:"table-cell pl-4",children:i.map((l,u)=>(0,jn.jsx)("span",{...Kx({token:l})},u))})]},s)),(0,jn.jsx)(zf,{code:e})]})}):null;var Vf=({className:e,code:t,language:r})=>(0,jn.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,jn.jsx)(Gf,{code:t,language:r})});var Yf=rr(require("next/image")),YS={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,jn:640},Wf="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=",Kf=e=>{let{alt:t,fill:r,imgClassName:Kx,priority:o,resource:i,size:s,src:l,loading:u}=e,d,c,p=t,m=l||"";if(!m&&i&&typeof i=="object"){let{alt:y,filename:b,height:E,url:w,width:P}=i;if(E&&E>500){let C=500/E;d=P*C,c=E*C}else d=P,c=E;p=y||"",m=w||Wf}let h=u||"lazy",g=s||Object.entries(YS).map(([,y])=>`(max-width: ${y}px) ${y*2}w`).join(", ");return(0,jn.jsx)("picture",{children:(0,jn.jsx)(Yf.default,{alt:p||"",className:we(Kx),fill:r,height:r?void 0:c,placeholder:"blur",blurDataURL:Wf,priority:h!=="lazy"&&o,quality:100,loading:h,sizes:g,src:m,width:r?void 0:d})})};var Jf=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Xf=()=>{if(Jf){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 Qf=e=>{let{onClick:t,resource:r,videoClassName:Kx}=e,o=(0,Lf.useRef)(null);if((0,Lf.useEffect)(()=>{let{current:i}=o;i&&i.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:i}=r;return(0,jn.jsx)("video",{autoPlay:!0,className:we(Kx),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:o,children:(0,jn.jsx)("source",{src:`${Xf()}/media/${i}`})})}return null};var fo=e=>{var s;let{className:t,htmlElement:r="div",resource:Kx}=e,o=typeof Kx=="object"&&((s=Kx==null?void 0:Kx.mimeType)==null?void 0:s.includes("video"));return(0,jn.jsx)(r||Lf.Fragment,{...r!==null?{className:t}:{},children:o?(0,jn.jsx)(Qf,{...e}):(0,jn.jsx)(Kf,{...e})})};var em=e=>{let{className:t,enableGutter:r=!0,imgClassName:Kx,media:o,staticImage:i}=e;return(0,jn.jsx)("div",{className:we("h-full ",{container:r},t),children:(0,jn.jsx)(fo,{imgClassName:we("rounded-[0.8rem]",Kx),className:"flex justify-center",resource:o,src:i})})};var tm=e=>{let{className:t,enableGutter:r=!0,imgClassName:Kx,media:o,staticImage:i}=e;return(0,jn.jsx)("div",{className:we("",{container:r},t),children:(0,jn.jsx)(fo,{imgClassName:we("rounded-[0.8rem]",Kx),resource:o,src:i})})};var Nr=({type:e="solid",iconName:t="cloud",size:r="lg",className:Kx})=>{let o=e.includes("fa-")?e+" ":"fa-"+e+" ",i="fa-"+t,s=Kx!=null?Kx:"",l=o+i+" fa-"+r+" "+s;return(0,jn.jsx)("i",{className:l})};var om=rr(require("next/image"));function nm(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function ou({image:e,icon:t,title:r,subtitle:Kx,content:o,statistic:i,settings:s,link:l,className:u}){var p,m;let d={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:"bg-background"},c={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,jn.jsxs)("div",{className:we("min-w-56 max-w-xl h-full flex flex-col group",e?"p-0 pb-4":"p-8",s&&!e&&d[(s==null?void 0:s.card)==="default"?"solid":s==null?void 0:s.card],e&&"bg-foreground",s&&(s==null?void 0:s.card)==="outline"?"text-gray-900":"text-white",c[(p=s==null?void 0:s.width)!=null?p:"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",s&&`intersect:animate-delay-${s.order||1}00`,u),children:[e&&(0,jn.jsx)("div",{className:"relative h-1/2 lg:h-2/3 w-full mb-0",children:(0,jn.jsx)(om.default,{src:e.url||"/placeholder.svg",alt:e.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),(0,jn.jsxs)("div",{className:we(e?"p-4 md:p-1 md:px-8":"p-0 md:p-0","flex h-2/5 md:max-h-1/2 flex-col flex-grow"),children:[Kx&&(0,jn.jsx)("div",{className:"mb-4 text-primary uppercase font-light",children:Kx}),(0,jn.jsx)("div",{className:"flex items-center gap-4 mb-2 md:mb-0",children:(0,jn.jsx)(KS,{icon:{type:(t==null?void 0:t.type)||"fa-light",iconName:(t==null?void 0:t.icon)||"no-icon-error"},heading:r!=null?r:"",variant:(s==null?void 0:s.card)==="default"?"solid":(m=s==null?void 0:s.card)!=null?m:"solid",iconSize:(s==null?void 0:s.iconSize)||"large"})}),i&&(0,jn.jsx)("div",{className:"mb-6",children:(0,jn.jsx)("div",{className:we("text-4xl text-wrap font-bold leading-none overflow-hidden",(s==null?void 0:s.card)==="outline"||(s==null?void 0:s.card)==="light"?"text-brand-green":"text-white"),children:i})}),o&&typeof o=="object"&&(0,jn.jsx)(nr,{enableGutter:!1,content:o,enableProse:!1,className:we("space-y-6",(s==null?void 0:s.card)==="outline"||(s==null?void 0:s.card)==="light"?"prose prose-headings:text-foreground prose-p:text-foreground prose-a:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100 prose-a:text-gray-100",e&&"prose prose-headings:text-background prose-p:text-background")}),o&&typeof o=="string"&&(0,jn.jsx)("div",{className:we("space-y-6",(s==null?void 0:s.card)==="outline"||(s==null?void 0:s.card)==="light"?"prose text-foreground":"prose text-gray-100",e&&"prose text-background"),children:o}),l&&l.url&&(0,jn.jsx)("div",{className:"pt-6 h-full flex items-end justify-start",children:(0,jn.jsx)("a",{className:"text-accent justify-start font-semibold uppercase",href:l.url||"#",children:(l==null?void 0:l.label)||"Find out more"})}),(s==null?void 0:s.card)==="radial"&&(0,jn.jsx)("div",{className:"absolute bottom-0 right-0 w-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})]})}var KS=({icon:e,heading:t,variant:r,iconSize:Kx,subtitle:o})=>e&&Kx==="small"&&e.iconName!="no-icon-error"?(0,jn.jsxs)("div",{className:"flex items-start justify-between w-full mb-2",children:[(0,jn.jsx)("div",{className:we(r==="outline"||r==="light"?"text-primary":"text-white",Kx==="small"?"text-2xl":"text-3xl"),children:t}),nm(e)&&(0,jn.jsx)("div",{className:we("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-primary":"text-white",Kx==="small"?"-mr-2 ml-1 jn-1":""),children:(0,jn.jsx)(Nr,{type:e.type,iconName:e.iconName,size:"2x"})})]}):e&&e.iconName!="no-icon-error"?(0,jn.jsxs)("div",{className:"flex flex-col gap-4",children:[nm(e)&&(0,jn.jsx)("div",{className:we("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-accent":""),children:(0,jn.jsx)(Nr,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,jn.jsx)("h3",{className:we("font-normal",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl text-white"),children:t})]}):(0,jn.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,jn.jsx)("div",{className:we("font-regular",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var im=(0,Nf.cva)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function au({className:e,variant:t,...r}){return(0,jn.jsx)("div",{className:we(im({variant:t}),e),...r})}var lm=rr(require("next/link"));function um({children:e,href:t,openNewTab:r,...Kx}){return(0,jn.jsx)(lm.default,{href:t,target:r?"_blank":"_self",...Kx,children:e})}var dm=({title:e,description:t,features:r,id:Kx,nested:o=!1})=>(0,jn.jsxs)("section",{className:we(o?"w-full":"container",""),children:[(0,jn.jsxs)("div",{className:"prose prose:max-w-none",children:[e&&(0,jn.jsx)("h2",{className:"mb-6 jn-0 text-primary",id:Kx||"",children:e}),t&&typeof t=="string"&&(0,jn.jsx)("p",{className:"mb-5 text-foreground",children:t}),t&&typeof t=="object"&&(0,jn.jsx)("div",{className:"mb-5 text-foreground",children:(0,jn.jsx)(nr,{content:t,enableGutter:!1})})]}),(0,jn.jsx)("div",{className:`grid gap-6 jn-6 md:grid-cols-${r?r.length>2?2:r.length:1} lg:grid-cols-${r?r.length>3?3:r.length:1}`,children:r&&r.map((i,s)=>{var u;let l=()=>{if(i.icon&&"type"in i.icon&&i.icon.type!=="none")return{type:i.icon.type,icon:i.icon.icon}};return(0,jn.jsx)(ou,{title:i.title||"",content:i.content||void 0,statistic:i.statistic||void 0,settings:{...i.settings,width:"auto",order:s},link:i.link?{...i.link,label:"Learn more"}:void 0,icon:(u=l())!=null?u:{type:"none",icon:null}},s)})})]});var as=rr(require("react"));function za({nodes:e}){return(0,jn.jsx)(as.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let i=(0,jn.jsx)(as.default.Fragment,{children:t.text},r);return t.format&1&&(i=(0,jn.jsx)("strong",{children:i},r)),t.format&2&&(i=(0,jn.jsx)("em",{children:i},r)),t.format&4&&(i=(0,jn.jsx)("span",{style:{textDecoration:"line-through"},children:i},r)),t.format&8&&(i=(0,jn.jsx)("span",{style:{textDecoration:"underline"},children:i},r)),t.format&16&&(i=(0,jn.jsx)("code",{children:t.text},r)),t.format&32&&(i=(0,jn.jsx)("sub",{children:i},r)),t.format&64&&(i=(0,jn.jsx)("sup",{children:i},r)),i}if(t.type==="table")return(0,jn.jsx)("table",{children:(0,jn.jsx)("tbody",{children:t.children.map((i,s)=>(0,jn.jsx)("tr",{children:i.children.map((l,u)=>(0,jn.jsx)("td",{children:za({nodes:l.children})},u))},s))})},r);let Kx=i=>{if(i.children==null)return null;if((i==null?void 0:i.type)==="list"&&(i==null?void 0:i.listType)==="check")for(let s of i.children)"checked"in s&&(s!=null&&s.checked||(s.checked=!1));return za({nodes:i.children})},o="children"in t?Kx(t):"";if(t.type==="block"){let i=t.fields,s=i==null?void 0:i.blockType;if(!i||!s)return null;switch(s){case"cta":return(0,jn.jsx)($f,{...i},r);case"mediaBlock":return(0,jn.jsx)(em,{className:"col-start-1 col-span-3",imgClassName:"m-0",...i,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,jn.jsx)(tm,{className:"col-start-1 col-span-3",imgClassName:"m-0",...i,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,jn.jsx)(Df,{className:"col-start-2 mb-4",...i},r);case"code":return(0,jn.jsx)(Vf,{className:"col-start-2",...i},r);case"features":return(0,jn.jsx)(dm,{...i,nested:!0},r);case"reusableContentBlock":za({nodes:i.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,jn.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,jn.jsx)("p",{className:"col-start-2",children:o},r);case"heading":{let i=t==null?void 0:t.tag;return(0,jn.jsx)(i,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:o},r)}case"list":{let i=t==null?void 0:t.tag;return(0,jn.jsx)(i,{className:"list col-start-2",children:o},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,jn.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:o},r):(0,jn.jsx)("li",{value:t==null?void 0:t.value,children:o},r);case"quote":return(0,jn.jsx)("blockquote",{className:"col-start-2",children:o},r);case"link":{let i=t.fields;return(0,jn.jsx)(kn,{newTab:!!(i!=null&&i.newTab),reference:i.doc,type:i.linkType==="internal"?"reference":"custom",url:i.url,children:o},r)}case"autolink":{let i=t.fields;return(0,jn.jsx)(kn,{newTab:!!(i!=null&&i.newTab),reference:i.doc,type:i.linkType==="internal"?"reference":"custom",url:i.url,children:o},r)}default:return null}})})}var nr=({className:e,content:t,enableGutter:r=!0,enableProse:Kx=!0})=>{var o;return t?(0,jn.jsx)("div",{className:we({"container ":r,"max-w-none":!r,"mx-auto prose":Kx},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&za({nodes:(o=t==null?void 0:t.root)==null?void 0:o.children})}):null};var fm=({children:e,richText:t})=>(0,jn.jsx)("div",{className:"min-w-full py-10 bg-muted jn-24",children:(0,jn.jsx)("div",{className:"container",children:e||t&&(0,jn.jsx)(nr,{content:t,enableGutter:!1})})});var iu=rr(require("next/image"));var JS=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:r,height:Kx,url:o,width:i}=e;return(0,jn.jsx)(iu.default,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:o||"",width:i||0,height:Kx||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return(0,jn.jsx)("div",{children:(0,jn.jsx)(iu.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},mm=({links:e,media:t,children:r,richText:Kx})=>(0,jn.jsxs)("div",{className:"relative bg-brand-one pb-12 jn-20 pt-10",children:[t&&(0,jn.jsx)(JS,{media:t}),(0,jn.jsx)("div",{className:"mx-0 min-w-full relative z-9",children:(0,jn.jsx)("div",{className:"container text-brand-one-foreground",children:r||Kx&&(0,jn.jsx)(nr,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:Kx,enableProse:!0,enableGutter:!1})})})]});var gm=rr(require("next/image"));var hm=({position:e,className:t=""})=>{let r=["","scale(-1, 1)","scale(1, -1)","scale(-1, -1)"],Kx=r[Math.floor(Math.random()*r.length)];if(e==="header")return(0,jn.jsx)("div",{className:"w-full h-[1240px] z-20",children:(0,jn.jsxs)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 337",preserveAspectRatio:"xMidYMax meet",style:{fontSize:0,float:"left"},className:we(t,"absolute -bottom-[2px] flex"),children:[(0,jn.jsx)("defs",{children:(0,jn.jsxs)("mask",{id:"mask",children:[(0,jn.jsx)("rect",{width:"1920",height:"332",fill:"white"}),(0,jn.jsx)("polygon",{points:"0 0 0 135 1255 330 1920 0 1920 0 1920 0 0 0"})]})}),(0,jn.jsx)("rect",{width:"1920",height:"332",fill:"white",mask:"url(#mask)"}),(0,jn.jsx)("rect",{y:"331",width:"1920",height:"7",fill:"white"})," "]})});if(e==="top")return(0,jn.jsxs)("div",{className:"w-full z-20 aspect-[1920/332] overflow-hidden ",children:[(0,jn.jsxs)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",className:we(t,"absolute "),style:{fontSize:0,float:"left",alignContent:"flex-end",transform:"scale(-1, 1)"},children:[(0,jn.jsx)("defs",{children:(0,jn.jsxs)("mask",{id:"mask",children:[(0,jn.jsx)("rect",{width:"100%",height:"100%",fill:"white"}),(0,jn.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),(0,jn.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0",fill:"black"})]}),(0,jn.jsx)("div",{className:"absolute -bottom-[5px] border-none left-0 w-full h-[6px] z-10 bg-white"})]});if(e==="dark-top")return(0,jn.jsx)("div",{className:"w-full aspect-[1920/332] z-20 content-end block overflow-hidden",children:(0,jn.jsxs)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"xMidYMax meet",className:we(t,"relative "),style:{fontSize:0,float:"left"},transform:r[3],children:[(0,jn.jsx)("defs",{children:(0,jn.jsxs)("mask",{id:"mask",children:[(0,jn.jsx)("rect",{width:"100%",height:"100%",fill:"white"}),(0,jn.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),(0,jn.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0",fill:"black"})]})});if(e==="dark-bottom")return(0,jn.jsx)("div",{className:"w-full aspect-[1920/332] z-20 content-start block overflow-hidden bg-white",children:(0,jn.jsx)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain",transform:"scale(1, -1)"},className:we(t,"w-full block overflow-hidden"),children:(0,jn.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})});if(e==="light-bottom")return(0,jn.jsx)("div",{className:"w-full aspect-[1920/332] z-20 content-end block overflow-hidden",children:(0,jn.jsx)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"none",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain"},className:we(t,"w-full block overflow-hidden"),transform:r[3],children:(0,jn.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})});if(e==="bottom-left"||e==="bottom-right")return(0,jn.jsx)("div",{className:"w-full aspect-[1920/332] z-20 relative -bottom-[1px]",children:(0,jn.jsx)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"none",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain",transform:"rotateX(180deg)"},className:we(t,"w-full block overflow-hidden"),children:(0,jn.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})})};var ym=({links:e,media:t,children:r,richText:Kx})=>(0,jn.jsx)("div",{children:(0,jn.jsxs)("div",{className:"sticky top-0 h-[70vh] min-h-[600px]",children:[(0,jn.jsxs)("div",{className:"fixed inset-0 container jn-24 mb-8 z-10 flex items-start justify-center",children:[r||Kx&&(0,jn.jsx)(nr,{className:"max-w-none mb-6 ml-0 prose prose-headings:text-foreground prose-p:text-foreground",content:Kx,enableGutter:!0}),Array.isArray(e)&&e.length>0&&(0,jn.jsx)("ul",{className:"flex justify-center gap-4",children:e.map(({link:o},i)=>(0,jn.jsx)("li",{children:(0,jn.jsx)(kn,{...o})},i))})]}),(0,jn.jsxs)("div",{className:"fixed inset-0 h-[70vh] min-h-[600px] select-none",children:[t&&typeof t=="object"&&(0,jn.jsx)(fo,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&(0,jn.jsx)("div",{children:(0,jn.jsx)(gm.default,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,jn.jsx)("span",{className:"absolute inset-0 bg-gradient-to-b from-white dark:from-black"})]}),(0,jn.jsx)(hm,{className:"text-black z-10",position:"header"})]})});var vm=rr(require("react")),Em=rr(require("next/image"));var bm=e=>{let r=new Date;e&&(r=new Date(e));let Kx=r.getMonth(),o=r.getDate(),i=Kx+1<10?`0${Kx+1}`:Kx+1,s=o<10?`0${o}`:o,l=r.getFullYear();return`${s}/${i}/${l}`};var wm=({post:e})=>{var s;let{categories:t,meta:r,populatedAuthors:Kx,publishedAt:o,title:i}=e;return(0,jn.jsxs)("div",{className:"relative grid pt-24",children:[(0,jn.jsx)("div",{className:"relative z-10 flex flex-col justify-end min-h-[50vh] text-foreground dark:text-foreground pt-24 p-6 lg:p-12",children:(0,jn.jsxs)("div",{className:"container mx-auto",children:[(0,jn.jsx)("h1",{className:"mb-6 text-[clamp(2rem,1.5rem+1.5vw,3.5rem)] font-bold leading-tight ",children:i}),(0,jn.jsxs)("div",{className:"flex flex-col gap-4 md:flex-row md:gap-16 ",children:[Kx&&Kx.length>0&&(0,jn.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,jn.jsxs)("p",{className:"text-jn",children:["Author",Kx.length>1?"s":""]}),(0,jn.jsx)("p",{children:Kx.map((l,u)=>(0,jn.jsxs)(vm.default.Fragment,{children:[l.name,u<Kx.length-2&&", ",u===Kx.length-2&&(Kx.length>2?", and ":" and ")]},l.id))})]}),o&&(0,jn.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,jn.jsx)("p",{className:"text-jn",children:"Date Published"}),(0,jn.jsx)("time",{dateTime:o,children:bm(o)})]}),t&&t.length>0&&(0,jn.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,jn.jsx)("p",{className:"text-jn font-medium",children:"Categories"}),(0,jn.jsx)("div",{className:"flex flex-wrap gap-2",children:t.map((l,u)=>typeof l=="object"&&l!==null&&(0,jn.jsx)(au,{className:"px-3 py-1 mx-1",children:l.title||"Untitled category"},l.id||u))})]})]})]})}),(0,jn.jsxs)("div",{className:"absolute inset-0 w-full h-full",children:[(0,jn.jsx)(Em.default,{className:"object-cover",alt:`Cover image for ${i}`,src:((s=r==null?void 0:r.image)==null?void 0:s.url)||"/assets/images/blog/gradient.png",fill:!0,priority:!0,sizes:"100vw"}),(0,jn.jsx)("div",{className:"absolute pointer-events-none left-0 bottom-0 w-full h-1/2 bg-gradient-to-t from-background dark:from-black to-transparent"})]})]})};var mo=require("@headlessui/react"),Sm=require("@heroicons/react/20/solid");var XS=({name:e,items:t,actions:r=[],href:Kx})=>!t&&Kx?(0,jn.jsx)("a",{href:Kx,className:"flex items-center gap-x-1 text-jn text-foreground group",children:(0,jn.jsxs)("span",{className:"relative",children:[e,(0,jn.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})}):(0,jn.jsxs)(mo.Popover,{children:[(0,jn.jsxs)(mo.PopoverButton,{className:"flex items-center gap-x-1 text-jn/6 text-foreground outline-none group",children:[(0,jn.jsxs)("span",{className:"relative",children:[e,(0,jn.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}),(0,jn.jsx)(Sm.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,jn.jsxs)(mo.PopoverPanel,{transition:!0,className:"absolute inset-x-0 top-0 -z-10 bg-popover jn-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-y-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,jn.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-x-4 px-6 py-10 lg:px-8 xl:gap-x-8 z-50",children:t&&t.map(o=>(0,jn.jsxs)("div",{className:"group relative rounded-lg p-6 text-jn/6 box-border",children:[(0,jn.jsx)("div",{className:"flex h-16 items-center justify-start rounded-lg bg-popover text-muted-foreground group-hover:text-accent transition-transform duration-400 ease-in-out group-hover:scale-90",children:o.icon&&(0,jn.jsx)(_m,{icon:o.icon,size:"4x"})}),(0,jn.jsxs)("a",{href:o.href,className:"jn-6 block text-popover-foreground group-hover:text-accent",children:[o.name,(0,jn.jsx)("span",{className:"absolute inset-0"})]}),(0,jn.jsx)("p",{className:"jn-1 text-popover-foreground/80 group-hover:text-accent",children:o.description})]},o.name))}),r.length>0&&(0,jn.jsx)("div",{className:"bg-gray-50",children:(0,jn.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,jn.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:r.map(o=>(0,jn.jsxs)("a",{href:o.href,className:"flex items-center max-h-12 justify-center gap-x-2.5 p-3 text-jn/6 text-gray-900 hover:bg-gray-100",children:[o.icon&&(0,jn.jsx)(_m,{icon:o.icon,className:"h-5 w-5 flex-none text-gray-400"}),o.name]},o.name))})})})]})]}),_m=({icon:e,className:t,size:r="lg"})=>{if(!e)return null;if("type"in e)return(0,jn.jsx)(Nr,{...e,size:r});if("src"in e)return(0,jn.jsx)("div",{className:we(t,"h-full max-w-32 items-start text-left"),children:e&&typeof e.src=="string"&&(0,jn.jsx)("img",{src:e.src,style:{objectFit:"contain",width:"100%",height:"100%"}})})},Cm=XS;var su=rr(require("next/image"));function Va({logoLight:e,logoDark:t,mobile:r=!1}){return(0,jn.jsxs)(um,{href:"/",className:we(r?"py-1":"py-2"),children:[(0,jn.jsx)(su.default,{className:"logo-light dark:hidden",src:e.src,width:e.width,height:e.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:r?35:50}}),(0,jn.jsx)(su.default,{className:"hidden dark:block",src:t.src,width:t.width,height:t.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:r?35:50}})]})}var Am=require("next-themes");function Rm({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:Kx,themeControl:o=!1,wide:i=!1}){let[s,l]=(0,Lf.useState)(!1),[u,d]=(0,Lf.useState)(""),c=["light","dark"],{theme:p,setTheme:m}=(0,Am.useTheme)();(0,Lf.useEffect)(()=>{d(p||"dark")},[p]);let h=()=>{let g=c[(c.indexOf(u)+1)%c.length];d(g),m(g)};return(0,Lf.useEffect)(()=>{let g=()=>{window.scrollY>100?l(!0):l(!1)};return window.addEventListener("scroll",g,{passive:!0}),()=>window.removeEventListener("scroll",g)},[]),(0,jn.jsx)(jn.Fragment,{children:(0,jn.jsx)("header",{className:`z-50 pb-10 transition-all duration-300 hidden lg:block ${s||e?"translate-y-0":"-translate-y-full bg-transparent"}`,children:(0,jn.jsx)("nav",{className:"backdrop-blur-jn bg-background/80 text-white p-0",children:(0,jn.jsxs)("div",{className:we("flex items-center justify-between px-9 py-0",!i&&"container"),children:[(0,jn.jsx)(Va,{logoDark:r,logoLight:t}),(0,jn.jsx)(mo.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:Kx&&Kx.map(g=>(0,jn.jsx)(Cm,{...g},g.name))}),o&&(0,jn.jsx)("button",{className:"fixed right-4 z-[60] p-2 rounded-full hover:border hover:border-accent backdrop-blur-jn transition-all duration-300 hover:bg-white/20 text-primary dark:text-white hover:text-accent hover:scale-125",onClick:h,children:(0,jn.jsxs)("div",{className:"relative",children:[(0,jn.jsx)(us.Sun,{className:"absolute h-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,jn.jsx)(us.Moon,{className:"absoulte h-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})})})})}var ls=require("@heroicons/react/24/outline");var lu=["light","dark"];function Pm({logoLight:e,logoDark:t,menuItems:r,isMenuOpen:Kx=!0}){let[o,i]=(0,Lf.useState)(!1),{theme:s,setTheme:l}=(0,Am.useTheme)(),[u,d]=(0,Lf.useState)(!1),[c,p]=(0,Lf.useState)("light");(0,Lf.useEffect)(()=>{let h=()=>{window.scrollY>100?i(!0):i(!1)};return window.addEventListener("scroll",h,{passive:!0}),()=>window.removeEventListener("scroll",h)},[]),(0,Lf.useEffect)(()=>{p(s||"dark")},[s]);let m=()=>{let h=lu[(lu.indexOf(c)+1)%lu.length];p(h),l(h)};return(0,jn.jsx)(jn.Fragment,{children:(0,jn.jsxs)("header",{className:`z-50 pb-10 transition-all duration-300 block lg:hidden ${o||Kx?"translate-y-0":"-translate-y-full bg-transparent"}`,children:[(0,jn.jsx)("nav",{className:we("backdrop-blur-jn text-white p-0",u&&"hidden"),children:(0,jn.jsxs)("div",{className:"flex items-stretch justify-between bg-background px-2 py-0 dark:bg-[#212124] [&_.logo-light]:[filter:brightness(0)_invert(1)] dark:border-b dark:border-accent",children:[(0,jn.jsx)(Va,{logoDark:t,logoLight:e,mobile:!0}),(0,jn.jsx)("div",{className:"flex items-center space-x-4",children:(0,jn.jsxs)("button",{type:"button",onClick:()=>d(!0),className:"fixed right-4 z-[60] p-2 rounded-full bg-white/10 backdrop-blur-jn transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",children:[(0,jn.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,jn.jsx)(ls.Bars3Icon,{"aria-hidden":"true",className:"h-4 w-4"})]})})]})}),(0,jn.jsxs)(mo.Dialog,{open:u,onClose:d,className:"lg:hidden",children:[(0,jn.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,jn.jsxs)(mo.DialogPanel,{className:"fixed inset-y-0 right-0 z-20 w-full overflow-y-auto bg-background dark:bg-[#212124] px-2 jn:max-w-jn jn:ring-1 jn:ring-gray-900/10",children:[(0,jn.jsxs)("div",{className:"flex items-stretch justify-between",children:[(0,jn.jsx)(Va,{logoDark:t,logoLight:e,mobile:!0}),(0,jn.jsxs)("button",{type:"button",onClick:()=>d(!1),className:"-m-2.5 rounded-md p-2.5 text-foreground dark:text-foreground outline-none hover:text-accent",children:[(0,jn.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,jn.jsx)(ls.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,jn.jsx)("div",{className:"jn-6 flow-root",children:(0,jn.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,jn.jsx)("div",{className:"space-y-2 px-2 py-6",children:r&&r.map(h=>(0,jn.jsx)(QS,{...h},h.name))})})})]})]})]})})}function QS({name:e,items:t,actions:r,href:Kx}){return!t&&Kx?(0,jn.jsx)("a",{href:Kx,className:"-mx-3 block rounded-lg px-3 py-2 text-base dark:text-foreground text-foreground hover:bg-gray-50 hover:text-accent",children:e}):(0,jn.jsxs)(mo.Disclosure,{as:"div",className:"-mx-3",children:[(0,jn.jsx)(mo.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base dark:text-foreground text-foreground hover:bg-gray-50 hover:text-accent",children:e}),(0,jn.jsx)(mo.DisclosurePanel,{className:"jn-2 space-y-2",children:t&&t.map(o=>(0,jn.jsx)(mo.DisclosureButton,{as:"a",href:o.href,className:"block rounded-lg py-2 pl-6 pr-3 text-jn dark:text-foreground text-foreground hover:bg-gray-50 hover:text-accent",children:o.name},o.name))})]})}function Om({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:Kx,className:o,wide:i,themeControl:s=!1}){return(0,jn.jsxs)("div",{className:we("fixed top-0 left-0 right-0 z-50",o),children:[(0,jn.jsx)(Rm,{isMenuOpen:e,logoLight:t,logoDark:r,menuItems:Kx,themeControl:s,wide:i}),(0,jn.jsx)(Pm,{isMenuOpen:e,logoLight:t,logoDark:r,menuItems:Kx})]})}var Nm="../cortex-reply-light-27IMI3G7.png";var Mm="../cortex-reply-dark-XPAJJJYY.png";function cs({...e}){return(0,jn.jsxs)("div",{children:[(0,jn.jsx)(Om,{isMenuOpen:!0,logoLight:Nm,logoDark:Mm,...e.header}),e.hero&&e.hero.type==="lowImpact"&&(0,jn.jsx)(fm,{...e.hero}),e.hero&&e.hero.type==="mediumImpact"&&(0,jn.jsx)(mm,{...e.hero}),e.hero&&e.hero.type==="highImpact"&&(0,jn.jsx)(ym,{...e.hero}),e.hero&&e.hero.type==="postHero"&&(0,jn.jsx)(wm,{...e.hero}),(0,jn.jsx)("div",{className:"container py-8",children:(0,jn.jsxs)("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[(0,jn.jsx)("div",{className:"lg:col-span-2",children:e.children}),(0,jn.jsxs)("div",{className:"space-y-6",children:[(0,jn.jsxs)(Vi,{children:[(0,jn.jsx)(Wi,{children:(0,jn.jsx)(Yi,{children:"Quick Actions"})}),(0,jn.jsxs)(Ki,{children:[(0,jn.jsx)("p",{className:"mb-4 text-jn text-muted-foreground",children:"Get started with your first action in just a few clicks."}),(0,jn.jsx)(Yr,{className:"w-full",children:"Create New"})]})]}),(0,jn.jsxs)(Vi,{children:[(0,jn.jsx)(Wi,{children:(0,jn.jsx)(Yi,{children:"Resources"})}),(0,jn.jsx)(Ki,{children:(0,jn.jsxs)("nav",{className:"flex flex-col space-y-2",children:[(0,jn.jsxs)("a",{href:"#",className:"inline-flex items-center text-jn text-blue-600 hover:underline",children:["User Guide",(0,jn.jsx)(us.ExternalLink,{className:"ml-1 h-3 w-3"})]}),(0,jn.jsxs)("a",{href:"#",className:"inline-flex items-center text-jn text-blue-600 hover:underline",children:["API Documentation",(0,jn.jsx)(us.ExternalLink,{className:"ml-1 h-3 w-3"})]}),(0,jn.jsxs)("a",{href:"#",className:"inline-flex items-center text-jn text-blue-600 hover:underline",children:["View Pricing Details",(0,jn.jsx)(us.ExternalLink,{className:"ml-1 h-3 w-3"})]})]})})]})]})]})})]})}var zl=rr(A2());var oH=()=>(0,jn.jsx)(Nr,{iconName:"github",size:"4x",type:"brands"});var aH=()=>(0,jn.jsx)(Nr,{iconName:"people-sharing",size:"4x",type:"kit"}),iH=()=>(0,jn.jsx)(Nr,{iconName:"cloud-network-sharing",size:"4x",type:"kit"}),sH=()=>(0,jn.jsx)(Nr,{iconName:"development",size:"4x",type:"kit"}),lH={title:"Pages/Page",component:cs,decorators:[e=>(0,jn.jsx)("div",{className:"bg-sidebar",children:(0,jn.jsx)(e,{})})],parameters:{nextjs:{appDirectory:!0},docs:{description:{component:"Example Blog page."}}}},uH=e=>(0,jn.jsx)(cs,{...e}),zi={render:uH,args:{title:"Storage Service",section:"Storage",description:"A scalable object storage service that offers industry-leading performance, security, and availability.",children:(0,jn.jsxs)("div",{className:"prose max-w-none",children:[(0,jn.jsx)("h2",{children:"How it works"}),(0,jn.jsx)("p",{children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt jn labore jn dolore magna aliqua."}),(0,jn.jsx)("div",{className:"aspect-video overflow-hidden rounded-lg bg-slate-100",children:(0,jn.jsx)("div",{className:"flex h-full items-center justify-center",children:"Video Placeholder"})})]}),header:{title:"Your Company",logo:"cortex-reply.png",menuItems:[{name:"Documentation",items:[{name:"Platforms & Services",description:"Cloud services",href:"#",icon:iH},{name:"Solutions & Propositions",description:"Solutions that we have built",href:"#",icon:aH},{name:"Products",description:"Products that we sell",href:"#",icon:sH}]},{name:"Resources",items:[{name:"Documentation",href:"#",icon:ls.ChartPieIcon},{name:"API Reference",href:"#",icon:ls.CursorArrowRaysIcon},{name:"Github",href:"#",icon:oH}],actions:[{name:"Watch demo",href:"#",icon:Sm.PlayCircleIcon},{name:"Contact sales",href:"#",icon:Sm.PhoneIcon},{name:"View all products",href:"#",icon:Sm.RectangleGroupIcon}]},{name:"Intranet",href:"#"}]},sidebarRight:{tableOfContents:[{title:"Getting Started",url:"#",links:[{title:"Installation",url:"#",isActive:!0},{title:"Project Structure",url:"#"}]},{title:"Building Your Application",url:"#",links:[{title:"Routing",url:"#",isDraft:!0},{title:"Data Fetching",url:"#"},{title:"Rendering",url:"#"},{title:"Caching",url:"#"},{title:"Styling",url:"#"},{title:"Optimizing",url:"#"},{title:"Configuring",url:"#"},{title:"Testing",url:"#"},{title:"Authentication",url:"#"},{title:"Deploying",url:"#"},{title:"Upgrading",url:"#"},{title:"Examples",url:"#"}]},{title:"API Reference",url:"#",links:[{title:"Components",url:"#"},{title:"File Conventions",url:"#"},{title:"Functions",url:"#"},{title:"next.config.js Options",url:"#"},{title:"CLI",url:"#"},{title:"Edge Runtime",url:"#"}]},{title:"Architecture",url:"#",links:[{title:"Accessibility",url:"#"},{title:"Fast Refresh",url:"#"},{title:"Next.js Compiler",url:"#"},{title:"Supported Browsers",url:"#"},{title:"Turbopack",url:"#"}]},{title:"Community",url:"#",links:[{title:"Contribution Guide",url:"#"}]}],relatedContent:{knowledge:[{label:"AWS Risk Assessment Terraform Module",url:"/knowledge/terraform_risk_assessment_AWS/_index.md",type:"published"},{label:"AWS Airview CCF Terraform Module",url:"/knowledge/terraform_aws_airview_ccf/_index.md",type:"note"}],services:[{label:"AWS Account Vending Machine",url:"/services/aws_account_vending_machine/_index.md",type:"published"},{label:"AWS Beanstalk",url:"/services/aws_beanstalk/_index.md",type:"draft"},{label:"AWS Airwalk Network Firewall Terraform Module",url:"/services/aws_vpc/terraform-aws-airwalk-module-networkfirewall.md",type:"published"},{label:"AWS WAF and Shield",url:"/services/aws_waf_and_shield/_index.md",type:"published"}]},onAddDocument:(0,zl.fn)(),onEditDocument:(0,zl.fn)(),onPrintDocument:(0,zl.fn)()}}},cH={args:{...zi.args,hero:{type:"lowImpact",children:(0,jn.jsx)("h1",{className:"text-4xl font-bold",children:"Low Impact Hero"})},heroBackgroundImage:"stock1.jpg?height=400&width=800"}},dH={args:{...zi.args,hero:{type:"mediumImpact",media:"stock1.jpg?height=400&width=800",children:(0,jn.jsx)("h1",{className:"text-4xl font-bold",children:"Medium Impact Hero"})},heroBackgroundImage:"stock1.jpg?height=400&width=800"}},pH={args:{...zi.args,hero:{type:"highImpact",children:(0,jn.jsx)("h1",{className:"text-4xl font-bold",children:"High Impact Hero"}),media:"stock1.jpg?height=400&width=800"},heroBackgroundImage:"stock1.jpg?height=400&width=800"}},fH={args:{...zi.args,hero:{type:"highImpact",children:(0,jn.jsx)("h1",{className:"text-4xl font-bold",children:"Post Hero"}),media:"stock1.jpg?height=400&width=800"},media:"stock1.jpg?height=400&width=800"}};0&&(module.exports={Default,HighImpactHero,LowImpactHero,MediumImpactHero,PostHero});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as n}from"../chunk-
|
|
1
|
+
import{a as n}from"../chunk-MVM2Q5W3.mjs";import{a as l}from"../chunk-VXZJ3JK5.mjs";import"../chunk-WU3JMLSC.mjs";import"../chunk-BZAYEKYC.mjs";import"../chunk-LRCGDMVE.mjs";import"../chunk-3PVAC7QH.mjs";import"../chunk-Y7IVNGA7.mjs";import"../chunk-A7563CVR.mjs";import"../chunk-PRUIYGQW.mjs";import"../chunk-H4Y4SZIU.mjs";import"../chunk-7VKHSE4O.mjs";import"../chunk-RBZMFLLA.mjs";import"../chunk-WRPART4J.mjs";import"../chunk-N6EJQZAV.mjs";import"../chunk-HWEPDRG6.mjs";import"../chunk-3LJZCM5A.mjs";import"../chunk-4JC2TJML.mjs";import"../chunk-4NKKWJ2X.mjs";import"../chunk-A5EYIB3V.mjs";import"../chunk-DWRQHV42.mjs";import"../chunk-Y5ZFXDW5.mjs";import"../chunk-YNNW2C2U.mjs";import"../chunk-AWFQEK7A.mjs";import"../chunk-PFPDES6P.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-44VMK4FL.mjs";import"../chunk-L2QAYSRV.mjs";import"../chunk-NOEITQK2.mjs";import"../chunk-EG6XIOOJ.mjs";import"../chunk-MMBUMBDU.mjs";import"../chunk-CTKUF2I6.mjs";import"../chunk-M6M43TLT.mjs";import"../chunk-FGWIT6CV.mjs";import"../chunk-OI2YT2ZF.mjs";import"../chunk-EY5QX73B.mjs";import"../chunk-YCX5N23N.mjs";import"../chunk-RJGKFNZL.mjs";import"../chunk-6DHYRATS.mjs";import"../chunk-JPFBD2KD.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-WLBZXBU3.mjs";import"../chunk-Z2PPN7EJ.mjs";import"../chunk-6WLJQKDF.mjs";import"../chunk-PZT3KAUV.mjs";import"../chunk-JWDVKGZL.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-3YZN4MJB.mjs";import"../chunk-WNPA7YT3.mjs";import"../chunk-KB6PO4K4.mjs";import"../chunk-Y5VTKEKS.mjs";import"../chunk-CGBVZQYY.mjs";import"../chunk-BSQVKZCW.mjs";import"../chunk-YNCJATT7.mjs";import"../chunk-QOIH63J3.mjs";import"../chunk-OAOCXXC2.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-Y2KKUQDU.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-VZXLXNVY.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-54Y2MUCQ.mjs";import"../chunk-TEORJDWG.mjs";import"../chunk-RQ23CZK5.mjs";import"../chunk-DHEI2PBB.mjs";import"../chunk-CQOXWC6U.mjs";import"../chunk-AY65F2J7.mjs";import"../chunk-ZDPQXVTF.mjs";import"../chunk-4YUYG6QU.mjs";import"../chunk-X5KZKO2V.mjs";import"../chunk-CS77R54Z.mjs";import"../chunk-JFR3WUHP.mjs";import"../chunk-VQJUNVRU.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-WISCWNL2.mjs";import{a as t}from"../chunk-SFLOMJ2U.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-C5XNOZXC.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-CV7PH2KH.mjs";import"../chunk-FRWX5YES.mjs";import{d as a}from"../chunk-S7OK7D5I.mjs";var i=a(l());import{PhoneIcon as s,PlayCircleIcon as c,RectangleGroupIcon as d}from"@heroicons/react/20/solid";import{ChartPieIcon as m,CursorArrowRaysIcon as u}from"@heroicons/react/24/outline";import{jsx as e,jsxs as y}from"react/jsx-runtime";var p=()=>e(t,{iconName:"github",size:"4x",type:"brands"});var h=()=>e(t,{iconName:"people-sharing",size:"4x",type:"kit"}),g=()=>e(t,{iconName:"cloud-network-sharing",size:"4x",type:"kit"}),f=()=>e(t,{iconName:"development",size:"4x",type:"kit"}),x={title:"Pages/Page",component:n,decorators:[o=>e("div",{className:"bg-sidebar",children:e(o,{})})],parameters:{nextjs:{appDirectory:!0},docs:{description:{component:"Example Blog page."}}}},w=o=>e(n,{...o}),r={render:w,args:{title:"Storage Service",section:"Storage",description:"A scalable object storage service that offers industry-leading performance, security, and availability.",children:y("div",{className:"prose max-w-none",children:[e("h2",{children:"How it works"}),e("p",{children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."}),e("div",{className:"aspect-video overflow-hidden rounded-lg bg-slate-100",children:e("div",{className:"flex h-full items-center justify-center",children:"Video Placeholder"})})]}),header:{title:"Your Company",logo:"cortex-reply.png",menuItems:[{name:"Documentation",items:[{name:"Platforms & Services",description:"Cloud services",href:"#",icon:g},{name:"Solutions & Propositions",description:"Solutions that we have built",href:"#",icon:h},{name:"Products",description:"Products that we sell",href:"#",icon:f}]},{name:"Resources",items:[{name:"Documentation",href:"#",icon:m},{name:"API Reference",href:"#",icon:u},{name:"Github",href:"#",icon:p}],actions:[{name:"Watch demo",href:"#",icon:c},{name:"Contact sales",href:"#",icon:s},{name:"View all products",href:"#",icon:d}]},{name:"Intranet",href:"#"}]},sidebarRight:{tableOfContents:[{title:"Getting Started",url:"#",links:[{title:"Installation",url:"#",isActive:!0},{title:"Project Structure",url:"#"}]},{title:"Building Your Application",url:"#",links:[{title:"Routing",url:"#",isDraft:!0},{title:"Data Fetching",url:"#"},{title:"Rendering",url:"#"},{title:"Caching",url:"#"},{title:"Styling",url:"#"},{title:"Optimizing",url:"#"},{title:"Configuring",url:"#"},{title:"Testing",url:"#"},{title:"Authentication",url:"#"},{title:"Deploying",url:"#"},{title:"Upgrading",url:"#"},{title:"Examples",url:"#"}]},{title:"API Reference",url:"#",links:[{title:"Components",url:"#"},{title:"File Conventions",url:"#"},{title:"Functions",url:"#"},{title:"next.config.js Options",url:"#"},{title:"CLI",url:"#"},{title:"Edge Runtime",url:"#"}]},{title:"Architecture",url:"#",links:[{title:"Accessibility",url:"#"},{title:"Fast Refresh",url:"#"},{title:"Next.js Compiler",url:"#"},{title:"Supported Browsers",url:"#"},{title:"Turbopack",url:"#"}]},{title:"Community",url:"#",links:[{title:"Contribution Guide",url:"#"}]}],relatedContent:{knowledge:[{label:"AWS Risk Assessment Terraform Module",url:"/knowledge/terraform_risk_assessment_AWS/_index.md",type:"published"},{label:"AWS Airview CCF Terraform Module",url:"/knowledge/terraform_aws_airview_ccf/_index.md",type:"note"}],services:[{label:"AWS Account Vending Machine",url:"/services/aws_account_vending_machine/_index.md",type:"published"},{label:"AWS Beanstalk",url:"/services/aws_beanstalk/_index.md",type:"draft"},{label:"AWS Airwalk Network Firewall Terraform Module",url:"/services/aws_vpc/terraform-aws-airwalk-module-networkfirewall.md",type:"published"},{label:"AWS WAF and Shield",url:"/services/aws_waf_and_shield/_index.md",type:"published"}]},onAddDocument:(0,i.fn)(),onEditDocument:(0,i.fn)(),onPrintDocument:(0,i.fn)()}}},C={args:{...r.args,hero:{type:"lowImpact",children:e("h1",{className:"text-4xl font-bold",children:"Low Impact Hero"})},heroBackgroundImage:"stock1.jpg?height=400&width=800"}},P={args:{...r.args,hero:{type:"mediumImpact",media:"stock1.jpg?height=400&width=800",children:e("h1",{className:"text-4xl font-bold",children:"Medium Impact Hero"})},heroBackgroundImage:"stock1.jpg?height=400&width=800"}},A={args:{...r.args,hero:{type:"highImpact",children:e("h1",{className:"text-4xl font-bold",children:"High Impact Hero"}),media:"stock1.jpg?height=400&width=800"},heroBackgroundImage:"stock1.jpg?height=400&width=800"}},_={args:{...r.args,hero:{type:"highImpact",children:e("h1",{className:"text-4xl font-bold",children:"Post Hero"}),media:"stock1.jpg?height=400&width=800"},media:"stock1.jpg?height=400&width=800"}};export{r as Default,A as HighImpactHero,C as LowImpactHero,P as MediumImpactHero,_ as PostHero,x as default};
|