cortex-react-components 2.8.0 → 2.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-2B5LH5XN.mjs +4 -0
- package/dist/chunk-2LINLX4S.mjs +4 -0
- package/dist/chunk-2RGAV55J.mjs +4 -0
- package/dist/chunk-3IVM6KAB.mjs +4 -0
- package/dist/chunk-3R75NUYA.mjs +4 -0
- package/dist/{chunk-QTILVWJA.mjs → chunk-4RYG24IZ.mjs} +1 -1
- package/dist/{chunk-URYIYEGY.mjs → chunk-5BV4MHV6.mjs} +1 -1
- package/dist/{chunk-ABGNIQRP.mjs → chunk-5RDLHKTK.mjs} +1 -1
- package/dist/chunk-6WQXZ6IE.mjs +4 -0
- package/dist/chunk-6XUIHSKG.mjs +4 -0
- package/dist/chunk-AREQGH47.mjs +4 -0
- package/dist/chunk-BHWGOTCJ.mjs +4 -0
- package/dist/chunk-CO6AQNZ5.mjs +4 -0
- package/dist/{chunk-TK4JC5PG.mjs → chunk-E64KWNOT.mjs} +1 -1
- package/dist/{chunk-X57JQVKC.mjs → chunk-ED7T3BDO.mjs} +1 -1
- package/dist/chunk-GHZ6CUY3.mjs +4 -0
- package/dist/{chunk-6OZUHBYJ.mjs → chunk-GN25OSET.mjs} +1 -1
- package/dist/{chunk-KOXC4RIH.mjs → chunk-I5NNEOCF.mjs} +1 -1
- package/dist/{chunk-A3YDFYEB.mjs → chunk-LUM6KEWN.mjs} +1 -1
- package/dist/{chunk-GLBQHEMQ.mjs → chunk-MO2B5CDW.mjs} +1 -1
- package/dist/chunk-MU5WPW4N.mjs +4 -0
- package/dist/chunk-NVHQBM66.mjs +4 -0
- package/dist/chunk-O46BOA4T.mjs +1 -0
- package/dist/{chunk-NZCHFTHJ.mjs → chunk-OYZX5BM4.mjs} +1 -1
- package/dist/chunk-PH67DP3M.mjs +4 -0
- package/dist/chunk-PWXCBW2H.mjs +4 -0
- package/dist/{chunk-ZFUP5NVF.mjs → chunk-PXLSH6S2.mjs} +1 -1
- package/dist/{chunk-PIOFHZSJ.mjs → chunk-QQFIVSBW.mjs} +1 -1
- package/dist/chunk-R6AYIVIR.mjs +6 -0
- package/dist/chunk-RHR3YOLG.mjs +4 -0
- package/dist/{chunk-DPZHVBGG.mjs → chunk-RRME4EHD.mjs} +1 -1
- package/dist/chunk-U67OTPTT.mjs +4 -0
- package/dist/chunk-UML2QHEN.mjs +5 -0
- package/dist/chunk-VGWDYD6Z.mjs +4 -0
- package/dist/{chunk-RAGDUV7M.mjs → chunk-XIGBDWYI.mjs} +1 -1
- package/dist/{chunk-2GNX22CR.mjs → chunk-XOH2L4XW.mjs} +1 -1
- package/dist/{chunk-S4A4VHOI.mjs → chunk-XW52WZ2B.mjs} +1 -1
- package/dist/chunk-Z22NSJMF.mjs +4 -0
- package/dist/chunk-ZXPDSSCF.mjs +4 -0
- package/dist/components/AdvancedComponents/app-header.js +1 -1
- package/dist/components/AdvancedComponents/app-header.mjs +1 -1
- package/dist/components/AdvancedComponents/index.js +1 -1
- package/dist/components/AdvancedComponents/index.mjs +1 -1
- package/dist/components/AdvancedComponents/navigation-tabs.js +1 -1
- package/dist/components/AdvancedComponents/navigation-tabs.mjs +1 -1
- package/dist/components/AdvancedComponents/notifications-panel.js +1 -1
- package/dist/components/AdvancedComponents/notifications-panel.mjs +1 -1
- package/dist/components/AdvancedComponents/user-selection.js +1 -1
- package/dist/components/AdvancedComponents/user-selection.mjs +1 -1
- package/dist/components/Chat/ChatInterface.js +1 -1
- package/dist/components/Chat/ChatInterface.mjs +1 -1
- package/dist/components/Chat/CopilotInterface.js +1 -1
- package/dist/components/Chat/CopilotInterface.mjs +1 -1
- package/dist/components/Chat/capability-menu.js +1 -1
- package/dist/components/Chat/capability-menu.mjs +1 -1
- package/dist/components/Chat/demo-long-messages.js +1 -1
- package/dist/components/Chat/demo-long-messages.mjs +1 -1
- package/dist/components/Chat/demo-tests.js +1 -1
- package/dist/components/Chat/demo-tests.mjs +1 -1
- package/dist/components/Chat/demo.js +1 -1
- package/dist/components/Chat/demo.mjs +1 -1
- package/dist/components/Chat/example-usage.js +1 -1
- package/dist/components/Chat/example-usage.mjs +1 -1
- package/dist/components/Chat/example-with-vercel-ai.js +1 -1
- package/dist/components/Chat/example-with-vercel-ai.mjs +1 -1
- package/dist/components/Chat/index.js +1 -1
- package/dist/components/Chat/index.mjs +1 -1
- package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +1 -1
- package/dist/components/DigitalColleagues/DigitalColleageusLayout.js +1 -1
- package/dist/components/DigitalColleagues/DigitalColleageusLayout.mjs +1 -1
- package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
- package/dist/components/DigitalColleagues/ManagementSidebar.mjs +1 -1
- package/dist/components/DigitalColleagues/Pages/dashboardpage.js +1 -1
- package/dist/components/DigitalColleagues/Pages/dashboardpage.mjs +1 -1
- package/dist/components/DigitalColleagues/Views/ColleaguesView.js +1 -1
- package/dist/components/DigitalColleagues/Views/ColleaguesView.mjs +1 -1
- package/dist/components/DigitalColleagues/Views/KnowledgeView.js +1 -1
- package/dist/components/DigitalColleagues/Views/KnowledgeView.mjs +1 -1
- package/dist/components/DigitalColleagues/Views/TeamsIndexView.js +1 -1
- package/dist/components/DigitalColleagues/Views/TeamsIndexView.mjs +1 -1
- package/dist/components/DigitalColleagues/Views/index.js +1 -1
- package/dist/components/DigitalColleagues/Views/index.mjs +1 -1
- package/dist/components/DigitalColleagues/colleague-type-selection.js +1 -1
- package/dist/components/DigitalColleagues/colleague-type-selection.mjs +1 -1
- package/dist/components/DigitalColleagues/digital-colleague-clone.js +1 -1
- package/dist/components/DigitalColleagues/digital-colleague-clone.mjs +1 -1
- package/dist/components/DigitalColleagues/digital-colleague-options.js +1 -1
- package/dist/components/DigitalColleagues/digital-colleague-options.mjs +1 -1
- package/dist/components/DigitalColleagues/document-edit.js +1 -1
- package/dist/components/DigitalColleagues/document-edit.mjs +1 -1
- package/dist/components/DigitalColleagues/document-preview-examples.js +1 -1
- package/dist/components/DigitalColleagues/document-preview-examples.mjs +1 -1
- package/dist/components/DigitalColleagues/document-preview.js +1 -1
- package/dist/components/DigitalColleagues/document-preview.mjs +1 -1
- package/dist/components/DigitalColleagues/index.js +1 -1
- package/dist/components/DigitalColleagues/index.mjs +1 -1
- package/dist/components/DigitalColleagues/knowledge-browser.js +1 -1
- package/dist/components/DigitalColleagues/knowledge-browser.mjs +1 -1
- package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Heros/DashboardHero/DashboardHero.js +1 -1
- package/dist/components/Heros/DashboardHero/DashboardHero.mjs +1 -1
- package/dist/components/Heros/DashboardHero/index.js +1 -1
- package/dist/components/Heros/DashboardHero/index.mjs +1 -1
- package/dist/components/Heros/PostHero/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/SectionHero/index.mjs +1 -1
- package/dist/components/Heros/index.js +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Icons/ScrollDownIcon.js +1 -1
- package/dist/components/Icons/ScrollDownIcon.mjs +1 -1
- package/dist/components/Layouts/SlideShow.js +1 -1
- package/dist/components/Layouts/SlideShow.mjs +1 -1
- package/dist/components/Layouts/index.js +1 -1
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.mjs +1 -1
- package/dist/components/Menus/SidebarRight.mjs +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/Other/AnimatedBorder.js +1 -1
- package/dist/components/Other/AnimatedBorder.mjs +1 -1
- package/dist/components/Other/index.mjs +1 -1
- package/dist/components/Projects/EpicsView.js +1 -1
- package/dist/components/Projects/EpicsView.mjs +1 -1
- package/dist/components/Projects/FileView.js +1 -1
- package/dist/components/Projects/FileView.mjs +1 -1
- package/dist/components/Projects/KanbanBoardView.js +1 -1
- package/dist/components/Projects/KanbanBoardView.mjs +1 -1
- package/dist/components/Projects/PlanningView.js +1 -1
- package/dist/components/Projects/PlanningView.mjs +1 -1
- package/dist/components/Projects/ProjectPage.js +1 -1
- package/dist/components/Projects/ProjectPage.mjs +1 -1
- package/dist/components/Projects/ProjectView.js +1 -1
- package/dist/components/Projects/ProjectView.mjs +1 -1
- package/dist/components/Projects/ProjectsIndexView.js +1 -1
- package/dist/components/Projects/ProjectsIndexView.mjs +1 -1
- package/dist/components/Projects/TasksView.js +1 -1
- package/dist/components/Projects/TasksView.mjs +1 -1
- package/dist/components/Projects/file-list.js +1 -1
- package/dist/components/Projects/file-list.mjs +1 -1
- package/dist/components/Projects/project-card.js +1 -1
- package/dist/components/Projects/project-card.mjs +1 -1
- package/dist/components/Projects/team-card.js +1 -1
- package/dist/components/Projects/team-card.mjs +1 -1
- package/dist/components/dc-temp/creative.js +1 -1
- package/dist/components/dc-temp/creative.mjs +1 -1
- package/dist/components/dc-temp/dashboard-integration-example.js +1 -1
- package/dist/components/dc-temp/dashboard-integration-example.mjs +1 -1
- package/dist/components/dc-temp/index.js +1 -1
- package/dist/components/dc-temp/index.mjs +1 -1
- package/dist/components/index.js +2 -2
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/components/ui/sidebar.mjs +1 -1
- package/dist/index.js +2 -2
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/pages/Blog.mjs +1 -1
- package/dist/pages/Documentation.mjs +1 -1
- package/dist/pages/IndexPage.mjs +1 -1
- package/dist/pages/Intranet.mjs +1 -1
- package/dist/pages/LandingPage.mjs +1 -1
- package/dist/pages/Page.mjs +1 -1
- package/dist/pages/Publish.js +1 -1
- package/dist/pages/Publish.mjs +1 -1
- package/dist/pages/Website.mjs +1 -1
- package/dist/sections/BlogListSection.mjs +1 -1
- package/dist/sections/PageSections.mjs +1 -1
- package/dist/sections/ServiceSection.mjs +1 -1
- package/dist/sections/index.mjs +1 -1
- package/package.json +2 -3
- package/dist/chunk-2NMVE5M4.mjs +0 -4
- package/dist/chunk-2SAKLSZ4.mjs +0 -4
- package/dist/chunk-2THNVSE5.mjs +0 -4
- package/dist/chunk-3KITWLRN.mjs +0 -4
- package/dist/chunk-3PHJWI4Q.mjs +0 -4
- package/dist/chunk-A2AEX4YB.mjs +0 -4
- package/dist/chunk-AVHFRD6D.mjs +0 -4
- package/dist/chunk-BADFWNRL.mjs +0 -4
- package/dist/chunk-CBLP4MXP.mjs +0 -4
- package/dist/chunk-FRKGQKEM.mjs +0 -4
- package/dist/chunk-G3WMXDFV.mjs +0 -5
- package/dist/chunk-HME6CJ6L.mjs +0 -1
- package/dist/chunk-JHYWAL24.mjs +0 -6
- package/dist/chunk-JVUSZPSP.mjs +0 -4
- package/dist/chunk-M245YHYF.mjs +0 -4
- package/dist/chunk-MNI6AM7Q.mjs +0 -4
- package/dist/chunk-O4GULNQE.mjs +0 -4
- package/dist/chunk-PEQOQ7BK.mjs +0 -4
- package/dist/chunk-RUOYGMOR.mjs +0 -4
- package/dist/chunk-UPQQQYZZ.mjs +0 -4
- package/dist/chunk-VGARU7ZT.mjs +0 -4
- package/dist/chunk-WN2LPOQP.mjs +0 -4
- package/dist/chunk-XKM35QQD.mjs +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";var we=Object.create;var _=Object.defineProperty;var ke=Object.getOwnPropertyDescriptor;var Ce=Object.getOwnPropertyNames;var ze=Object.getPrototypeOf,Se=Object.prototype.hasOwnProperty;var Me=(e,r)=>{for(var t in r)_(e,t,{get:r[t],enumerable:!0})},te=(e,r,t,o)=>{if(r&&typeof r=="object"||typeof r=="function")for(let s of Ce(r))!Se.call(e,s)&&s!==t&&_(e,s,{get:()=>r[s],enumerable:!(o=ke(r,s))||o.enumerable});return e};var Ne=(e,r,t)=>(t=e!=null?we(ze(e)):{},te(r||!e||!e.__esModule?_(t,"default",{value:e,enumerable:!0}):t,e)),Pe=e=>te(_({},"__esModule",{value:!0}),e);var cr={};Me(cr,{DashboardHero:()=>lr});module.exports=Pe(cr);var ve=require("framer-motion");var ue=require("class-variance-authority");var pe=require("clsx");var K="-",Re=e=>{let r=Ge(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:a=>{let i=a.split(K);return i[0]===""&&i.length!==1&&i.shift(),se(i,r)||Te(a)},getConflictingClassGroupIds:(a,i)=>{let c=t[a]||[];return i&&o[a]?[...c,...o[a]]:c}}},se=(e,r)=>{if(e.length===0)return r.classGroupId;let t=e[0],o=r.nextPart.get(t),s=o?se(e.slice(1),o):void 0;if(s)return s;if(r.validators.length===0)return;let n=e.join(K);return r.validators.find(({validator:a})=>a(n))?.classGroupId},oe=/^\[(.+)\]$/,Te=e=>{if(oe.test(e)){let r=oe.exec(e)[1],t=r?.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}},Ge=e=>{let{theme:r,prefix:t}=e,o={nextPart:new Map,validators:[]};return Ie(Object.entries(e.classGroups),t).forEach(([n,a])=>{q(a,o,n,r)}),o},q=(e,r,t,o)=>{e.forEach(s=>{if(typeof s=="string"){let n=s===""?r:ne(r,s);n.classGroupId=t;return}if(typeof s=="function"){if(Ae(s)){q(s(o),r,t,o);return}r.validators.push({validator:s,classGroupId:t});return}Object.entries(s).forEach(([n,a])=>{q(a,ne(r,n),t,o)})})},ne=(e,r)=>{let t=e;return r.split(K).forEach(o=>{t.nextPart.has(o)||t.nextPart.set(o,{nextPart:new Map,validators:[]}),t=t.nextPart.get(o)}),t},Ae=e=>e.isThemeGetter,Ie=(e,r)=>r?e.map(([t,o])=>{let s=o.map(n=>typeof n=="string"?r+n:typeof n=="object"?Object.fromEntries(Object.entries(n).map(([a,i])=>[r+a,i])):n);return[t,s]}):e,Be=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,t=new Map,o=new Map,s=(n,a)=>{t.set(n,a),r++,r>e&&(r=0,o=t,t=new Map)};return{get(n){let a=t.get(n);if(a!==void 0)return a;if((a=o.get(n))!==void 0)return s(n,a),a},set(n,a){t.has(n)?t.set(n,a):s(n,a)}}},ie="!",Ve=e=>{let{separator:r,experimentalParseClassName:t}=e,o=r.length===1,s=r[0],n=r.length,a=i=>{let c=[],g=0,f=0,y;for(let u=0;u<i.length;u++){let h=i[u];if(g===0){if(h===s&&(o||i.slice(u,u+n)===r)){c.push(i.slice(f,u)),f=u+n;continue}if(h==="/"){y=u;continue}}h==="["?g++:h==="]"&&g--}let v=c.length===0?i:i.substring(f),k=v.startsWith(ie),w=k?v.substring(1):v,m=y&&y>f?y-f:void 0;return{modifiers:c,hasImportantModifier:k,baseClassName:w,maybePostfixModifierPosition:m}};return t?i=>t({className:i,parseClassName:a}):a},Le=e=>{if(e.length<=1)return e;let r=[],t=[];return e.forEach(o=>{o[0]==="["?(r.push(...t.sort(),o),t=[]):t.push(o)}),r.push(...t.sort()),r},Ee=e=>({cache:Be(e.cacheSize),parseClassName:Ve(e),...Re(e)}),je=/\s+/,_e=(e,r)=>{let{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:s}=r,n=[],a=e.trim().split(je),i="";for(let c=a.length-1;c>=0;c-=1){let g=a[c],{modifiers:f,hasImportantModifier:y,baseClassName:v,maybePostfixModifierPosition:k}=t(g),w=!!k,m=o(w?v.substring(0,k):v);if(!m){if(!w){i=g+(i.length>0?" "+i:i);continue}if(m=o(v),!m){i=g+(i.length>0?" "+i:i);continue}w=!1}let u=Le(f).join(":"),h=y?u+ie:u,x=h+m;if(n.includes(x))continue;n.push(x);let T=s(m,w);for(let N=0;N<T.length;++N){let L=T[N];n.push(h+L)}i=g+(i.length>0?" "+i:i)}return i};function We(){let e=0,r,t,o="";for(;e<arguments.length;)(r=arguments[e++])&&(t=ae(r))&&(o&&(o+=" "),o+=t);return o}var ae=e=>{if(typeof e=="string")return e;let r,t="";for(let o=0;o<e.length;o++)e[o]&&(r=ae(e[o]))&&(t&&(t+=" "),t+=r);return t};function $e(e,...r){let t,o,s,n=a;function a(c){let g=r.reduce((f,y)=>y(f),e());return t=Ee(g),o=t.cache.get,s=t.cache.set,n=i,i(c)}function i(c){let g=o(c);if(g)return g;let f=_e(c,t);return s(c,f),f}return function(){return n(We.apply(null,arguments))}}var d=e=>{let r=t=>t[e]||[];return r.isThemeGetter=!0,r},le=/^\[(?:([a-z-]+):)?(.+)\]$/i,He=/^\d+\/\d+$/,Fe=new Set(["px","full","screen"]),Ue=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Oe=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|ge|min|max))|\ge(calc|min|max|clamp)\(.+\)|^0$/,Je=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,qe=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Ke=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,z=e=>P(e)||Fe.has(e)||He.test(e),S=e=>R(e,"length",tr),P=e=>!!e&&!Number.isNaN(Number(e)),J=e=>R(e,"number",P),A=e=>!!e&&Number.isInteger(Number(e)),Xe=e=>e.endsWith("%")&&P(e.slice(0,-1)),l=e=>le.test(e),M=e=>Ue.test(e),Ze=new Set(["length","size","percentage"]),Qe=e=>R(e,Ze,ce),Ye=e=>R(e,"position",ce),De=new Set(["image","url"]),er=e=>R(e,De,nr),rr=e=>R(e,"",or),I=()=>!0,R=(e,r,t)=>{let o=le.exec(e);return o?o[1]?typeof r=="string"?o[1]===r:r.has(o[1]):t(o[2]):!1},tr=e=>Oe.test(e)&&!Je.test(e),ce=()=>!1,or=e=>qe.test(e),nr=e=>Ke.test(e);var sr=()=>{let e=d("colors"),r=d("spacing"),t=d("blur"),o=d("brightness"),s=d("borderColor"),n=d("borderRadius"),a=d("borderSpacing"),i=d("borderWidth"),c=d("contrast"),g=d("grayscale"),f=d("hueRotate"),y=d("invert"),v=d("gap"),k=d("gradientColorStops"),w=d("gradientColorStopPositions"),m=d("inset"),u=d("margin"),h=d("opacity"),x=d("padding"),T=d("saturate"),N=d("scale"),L=d("sepia"),X=d("skew"),Z=d("space"),Q=d("translate"),H=()=>["auto","contain","none"],F=()=>["auto","hidden","clip","visible","scroll"],U=()=>["auto",l,r],p=()=>[l,r],Y=()=>["",z,S],E=()=>["auto",P,l],D=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],j=()=>["solid","dashed","dotted","double","none"],ee=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],O=()=>["start","end","center","between","around","evenly","stretch"],G=()=>["","0",l],re=()=>["auto","avoid","all","avoid-page","page","left","right","column"],C=()=>[P,l];return{cacheSize:500,separator:":",theme:{colors:[I],spacing:[z,S],blur:["none","",M,l],brightness:C(),borderColor:[e],borderRadius:["none","","full",M,l],borderSpacing:p(),borderWidth:Y(),contrast:C(),grayscale:G(),hueRotate:C(),invert:G(),gap:p(),gradientColorStops:[e],gradientColorStopPositions:[Xe,S],inset:U(),margin:U(),opacity:C(),padding:p(),saturate:C(),scale:C(),sepia:G(),skew:C(),space:p(),translate:p()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[M]}],"break-after":[{"break-after":re()}],"break-before":[{"break-before":re()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...D(),l]}],overflow:[{overflow:F()}],"overflow-x":[{"overflow-x":F()}],"overflow-y":[{"overflow-y":F()}],overscroll:[{overscroll:H()}],"overscroll-x":[{"overscroll-x":H()}],"overscroll-y":[{"overscroll-y":H()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",A,l]}],basis:[{basis:U()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",l]}],grow:[{grow:G()}],shrink:[{shrink:G()}],order:[{order:["first","last","none",A,l]}],"grid-cols":[{"grid-cols":[I]}],"col-start-end":[{col:["auto",{span:["full",A,l]},l]}],"col-start":[{"col-start":E()}],"col-end":[{"col-end":E()}],"grid-rows":[{"grid-rows":[I]}],"row-start-end":[{row:["auto",{span:[A,l]},l]}],"row-start":[{"row-start":E()}],"row-end":[{"row-end":E()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",l]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",l]}],gap:[{gap:[v]}],"gap-x":[{"gap-x":[v]}],"gap-y":[{"gap-y":[v]}],"justify-content":[{justify:["normal",...O()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...O(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...O(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[x]}],px:[{px:[x]}],py:[{py:[x]}],ps:[{ps:[x]}],pe:[{pe:[x]}],pt:[{pt:[x]}],pr:[{pr:[x]}],pb:[{pb:[x]}],pl:[{pl:[x]}],m:[{m:[u]}],mx:[{mx:[u]}],my:[{my:[u]}],ms:[{ms:[u]}],ue:[{ue:[u]}],mt:[{mt:[u]}],mr:[{mr:[u]}],mb:[{mb:[u]}],ml:[{ml:[u]}],"space-x":[{"space-x":[Z]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Z]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",l,r]}],"min-w":[{"min-w":[l,r,"min","max","fit"]}],"max-w":[{"max-w":[l,r,"none","full","min","max","fit","prose",{screen:[M]},M]}],h:[{h:[l,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[l,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[l,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,r,"auto","min","max","fit"]}],"font-size":[{text:["base",M,S]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",J]}],"font-family":[{font:[I]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",l]}],"line-clamp":[{"line-clamp":["none",P,J]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",z,l]}],"list-image":[{"list-image":["none",l]}],"list-style-type":[{list:["none","disc","decimal",l]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[h]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[h]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...j(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",z,S]}],"underline-offset":[{"underline-offset":["auto",z,l]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:p()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",l]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[h]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...D(),Ye]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Qe]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","ge","bl","l","tl"]},er]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[w]}],"gradient-via-pos":[{via:[w]}],"gradient-to-pos":[{to:[w]}],"gradient-from":[{from:[k]}],"gradient-via":[{via:[k]}],"gradient-to":[{to:[k]}],rounded:[{rounded:[n]}],"rounded-s":[{"rounded-s":[n]}],"rounded-e":[{"rounded-e":[n]}],"rounded-t":[{"rounded-t":[n]}],"rounded-r":[{"rounded-r":[n]}],"rounded-ge":[{"rounded-ge":[n]}],"rounded-l":[{"rounded-l":[n]}],"rounded-ss":[{"rounded-ss":[n]}],"rounded-se":[{"rounded-se":[n]}],"rounded-ee":[{"rounded-ee":[n]}],"rounded-es":[{"rounded-es":[n]}],"rounded-tl":[{"rounded-tl":[n]}],"rounded-tr":[{"rounded-tr":[n]}],"rounded-br":[{"rounded-br":[n]}],"rounded-bl":[{"rounded-bl":[n]}],"border-w":[{border:[i]}],"border-w-x":[{"border-x":[i]}],"border-w-y":[{"border-y":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-ge":[{"border-ge":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[h]}],"border-style":[{border:[...j(),"hidden"]}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[i]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[h]}],"divide-style":[{divide:j()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-ge":[{"border-ge":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...j()]}],"outline-offset":[{"outline-offset":[z,l]}],"outline-w":[{outline:[z,S]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Y()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[h]}],"ring-offset-w":[{"ring-offset":[z,S]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",M,rr]}],"shadow-color":[{shadow:[I]}],opacity:[{opacity:[h]}],"mix-blend":[{"mix-blend":[...ee(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ee()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[o]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",M,l]}],grayscale:[{grayscale:[g]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[y]}],saturate:[{saturate:[T]}],sepia:[{sepia:[L]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[g]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[y]}],"backdrop-opacity":[{"backdrop-opacity":[h]}],"backdrop-saturate":[{"backdrop-saturate":[T]}],"backdrop-sepia":[{"backdrop-sepia":[L]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",l]}],duration:[{duration:C()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:C()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[N]}],"scale-x":[{"scale-x":[N]}],"scale-y":[{"scale-y":[N]}],rotate:[{rotate:[A,l]}],"translate-x":[{"translate-x":[Q]}],"translate-y":[{"translate-y":[Q]}],"skew-x":[{"skew-x":[X]}],"skew-y":[{"skew-y":[X]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",l]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",l]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":p()}],"scroll-mx":[{"scroll-mx":p()}],"scroll-my":[{"scroll-my":p()}],"scroll-ms":[{"scroll-ms":p()}],"scroll-ue":[{"scroll-ue":p()}],"scroll-mt":[{"scroll-mt":p()}],"scroll-mr":[{"scroll-mr":p()}],"scroll-mb":[{"scroll-mb":p()}],"scroll-ml":[{"scroll-ml":p()}],"scroll-p":[{"scroll-p":p()}],"scroll-px":[{"scroll-px":p()}],"scroll-py":[{"scroll-py":p()}],"scroll-ps":[{"scroll-ps":p()}],"scroll-pe":[{"scroll-pe":p()}],"scroll-pt":[{"scroll-pt":p()}],"scroll-pr":[{"scroll-pr":p()}],"scroll-pb":[{"scroll-pb":p()}],"scroll-pl":[{"scroll-pl":p()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",l]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[z,S,J]}],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","ue","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-ge","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-ge":["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-ge","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-ge"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-ge","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-ge"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-ue","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var de=$e(sr);function B(...e){return de((0,pe.clsx)(e))}var ge=require("react/jsx-runtime"),ir=(0,ue.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 be({className:e,variant:r,...t}){return(0,ge.jsx)("div",{className:B(ir({variant:r}),e),...t})}var fe=require("@radix-ui/react-slot"),he=Ne(require("react")),ar=(0,ue.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),V=he.forwardRef(({asChild:e=!1,className:r,size:t,variant:o,...s},n)=>(0,ge.jsx)(e?fe.Slot:"button",{className:B(ar({className:r,size:t,variant:o})),ref:n,...s}));V.displayName="Button";var W=require("react");function ye(e,r){let[t,o]=(0,W.useState)(()=>{if(typeof window>"u")return r;try{let n=window.localStorage.getItem(e);return n?JSON.parse(n):r}catch{return r}}),s=n=>{try{o(n),typeof window<"u"&&window.localStorage.setItem(e,JSON.stringify(n))}catch{}};return(0,W.useEffect)(()=>{s(t)},[]),[t,s]}var $=require("react-icons/fa");function lr({title:e,description:r,badge:t,primaryAction:o,secondaryAction:s,gradient:n,children:a,className:i}){let[c,g]=ye(`hero-section-minimized-${e.replace(/\s+/g,"-").toLowerCase()}`,!s&&!r),f=!s&&!r||c;return(0,ge.jsxs)(ve.motion.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5},className:`overflow-hidden rounded-3xl ${n} p-8 text-white ${i||""}`,children:[(0,ge.jsxs)("div",{className:"flex items-center justify-between mb-2",children:[(0,ge.jsxs)("div",{className:"flex items-center gap-3",children:[t&&(0,ge.jsx)(be,{className:"bg-white/20 text-white hover:bg-white/30 rounded-xl",children:t}),(0,ge.jsx)("h2",{className:"text-3xl font-bold m-0",children:e})]}),(0,ge.jsxs)("div",{className:"flex items-center gap-3",children:[f&&o&&(0,ge.jsx)(V,{className:"rounded-2xl bg-white text-indigo-700 hover:bg-white/90",onClick:o.onClick,children:o.label}),(s||r)&&(0,ge.jsx)("button",{"aria-label":c?"Expand hero section":"Minimize hero section",className:"rounded-full bg-white/20 hover:bg-white/30 p-1 text-white transition-colors",onClick:()=>g(!c),style:{lineHeight:0},children:c?(0,ge.jsx)($.FaChevronDown,{size:22}):(0,ge.jsx)($.FaChevronUp,{size:22})})]})]}),!f&&(0,ge.jsxs)("div",{className:"flex flex-col gap-6 md:flex-row md:items-center md:justify-between",children:[(0,ge.jsxs)("div",{className:"space-y-4",children:[(0,ge.jsx)("p",{className:"max-w-[600px] text-white/80",children:r}),(0,ge.jsxs)("div",{className:"flex flex-wrap gap-3",children:[o&&(0,ge.jsx)(V,{className:"rounded-2xl bg-white text-indigo-700 hover:bg-white/90",onClick:o.onClick,children:o.label}),s&&(0,ge.jsx)(V,{variant:"outline",className:"rounded-2xl bg-transparent border-white text-white hover:bg-white/10",onClick:s.onClick,children:s.label})]})]}),a&&(0,ge.jsx)("div",{className:"hidden lg:block",children:a})]})]})}0&&(module.exports={DashboardHero});
|
|
4
|
+
"use strict";var we=Object.create;var _=Object.defineProperty;var ke=Object.getOwnPropertyDescriptor;var Ce=Object.getOwnPropertyNames;var ze=Object.getPrototypeOf,Se=Object.prototype.hasOwnProperty;var Me=(e,r)=>{for(var t in r)_(e,t,{get:r[t],enumerable:!0})},te=(e,r,t,o)=>{if(r&&typeof r=="object"||typeof r=="function")for(let s of Ce(r))!Se.call(e,s)&&s!==t&&_(e,s,{get:()=>r[s],enumerable:!(o=ke(r,s))||o.enumerable});return e};var Ne=(e,r,t)=>(t=e!=null?we(ze(e)):{},te(r||!e||!e.__esModule?_(t,"default",{value:e,enumerable:!0}):t,e)),Pe=e=>te(_({},"__esModule",{value:!0}),e);var cr={};Me(cr,{DashboardHero:()=>lr});module.exports=Pe(cr);var ve=require("motion/react");var ue=require("class-variance-authority");var pe=require("clsx");var K="-",Re=e=>{let r=Ge(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:a=>{let i=a.split(K);return i[0]===""&&i.length!==1&&i.shift(),se(i,r)||Te(a)},getConflictingClassGroupIds:(a,i)=>{let c=t[a]||[];return i&&o[a]?[...c,...o[a]]:c}}},se=(e,r)=>{if(e.length===0)return r.classGroupId;let t=e[0],o=r.nextPart.get(t),s=o?se(e.slice(1),o):void 0;if(s)return s;if(r.validators.length===0)return;let n=e.join(K);return r.validators.find(({validator:a})=>a(n))?.classGroupId},oe=/^\[(.+)\]$/,Te=e=>{if(oe.test(e)){let r=oe.exec(e)[1],t=r?.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}},Ge=e=>{let{theme:r,prefix:t}=e,o={nextPart:new Map,validators:[]};return Ie(Object.entries(e.classGroups),t).forEach(([n,a])=>{q(a,o,n,r)}),o},q=(e,r,t,o)=>{e.forEach(s=>{if(typeof s=="string"){let n=s===""?r:ne(r,s);n.classGroupId=t;return}if(typeof s=="function"){if(Ae(s)){q(s(o),r,t,o);return}r.validators.push({validator:s,classGroupId:t});return}Object.entries(s).forEach(([n,a])=>{q(a,ne(r,n),t,o)})})},ne=(e,r)=>{let t=e;return r.split(K).forEach(o=>{t.nextPart.has(o)||t.nextPart.set(o,{nextPart:new Map,validators:[]}),t=t.nextPart.get(o)}),t},Ae=e=>e.isThemeGetter,Ie=(e,r)=>r?e.map(([t,o])=>{let s=o.map(n=>typeof n=="string"?r+n:typeof n=="object"?Object.fromEntries(Object.entries(n).map(([a,i])=>[r+a,i])):n);return[t,s]}):e,Be=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,t=new Map,o=new Map,s=(n,a)=>{t.set(n,a),r++,r>e&&(r=0,o=t,t=new Map)};return{get(n){let a=t.get(n);if(a!==void 0)return a;if((a=o.get(n))!==void 0)return s(n,a),a},set(n,a){t.has(n)?t.set(n,a):s(n,a)}}},ie="!",Ve=e=>{let{separator:r,experimentalParseClassName:t}=e,o=r.length===1,s=r[0],n=r.length,a=i=>{let c=[],g=0,f=0,y;for(let u=0;u<i.length;u++){let h=i[u];if(g===0){if(h===s&&(o||i.slice(u,u+n)===r)){c.push(i.slice(f,u)),f=u+n;continue}if(h==="/"){y=u;continue}}h==="["?g++:h==="]"&&g--}let v=c.length===0?i:i.substring(f),k=v.startsWith(ie),w=k?v.substring(1):v,m=y&&y>f?y-f:void 0;return{modifiers:c,hasImportantModifier:k,baseClassName:w,maybePostfixModifierPosition:m}};return t?i=>t({className:i,parseClassName:a}):a},Le=e=>{if(e.length<=1)return e;let r=[],t=[];return e.forEach(o=>{o[0]==="["?(r.push(...t.sort(),o),t=[]):t.push(o)}),r.push(...t.sort()),r},Ee=e=>({cache:Be(e.cacheSize),parseClassName:Ve(e),...Re(e)}),je=/\s+/,_e=(e,r)=>{let{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:s}=r,n=[],a=e.trim().split(je),i="";for(let c=a.length-1;c>=0;c-=1){let g=a[c],{modifiers:f,hasImportantModifier:y,baseClassName:v,maybePostfixModifierPosition:k}=t(g),w=!!k,m=o(w?v.substring(0,k):v);if(!m){if(!w){i=g+(i.length>0?" "+i:i);continue}if(m=o(v),!m){i=g+(i.length>0?" "+i:i);continue}w=!1}let u=Le(f).join(":"),h=y?u+ie:u,x=h+m;if(n.includes(x))continue;n.push(x);let T=s(m,w);for(let N=0;N<T.length;++N){let L=T[N];n.push(h+L)}i=g+(i.length>0?" "+i:i)}return i};function We(){let e=0,r,t,o="";for(;e<arguments.length;)(r=arguments[e++])&&(t=ae(r))&&(o&&(o+=" "),o+=t);return o}var ae=e=>{if(typeof e=="string")return e;let r,t="";for(let o=0;o<e.length;o++)e[o]&&(r=ae(e[o]))&&(t&&(t+=" "),t+=r);return t};function $e(e,...r){let t,o,s,n=a;function a(c){let g=r.reduce((f,y)=>y(f),e());return t=Ee(g),o=t.cache.get,s=t.cache.set,n=i,i(c)}function i(c){let g=o(c);if(g)return g;let f=_e(c,t);return s(c,f),f}return function(){return n(We.apply(null,arguments))}}var d=e=>{let r=t=>t[e]||[];return r.isThemeGetter=!0,r},le=/^\[(?:([a-z-]+):)?(.+)\]$/i,He=/^\d+\/\d+$/,Fe=new Set(["px","full","screen"]),Ue=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Oe=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|ge|min|max))|\ge(calc|min|max|clamp)\(.+\)|^0$/,Je=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,qe=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Ke=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,z=e=>P(e)||Fe.has(e)||He.test(e),S=e=>R(e,"length",tr),P=e=>!!e&&!Number.isNaN(Number(e)),J=e=>R(e,"number",P),A=e=>!!e&&Number.isInteger(Number(e)),Xe=e=>e.endsWith("%")&&P(e.slice(0,-1)),l=e=>le.test(e),M=e=>Ue.test(e),Ze=new Set(["length","size","percentage"]),Qe=e=>R(e,Ze,ce),Ye=e=>R(e,"position",ce),De=new Set(["image","url"]),er=e=>R(e,De,nr),rr=e=>R(e,"",or),I=()=>!0,R=(e,r,t)=>{let o=le.exec(e);return o?o[1]?typeof r=="string"?o[1]===r:r.has(o[1]):t(o[2]):!1},tr=e=>Oe.test(e)&&!Je.test(e),ce=()=>!1,or=e=>qe.test(e),nr=e=>Ke.test(e);var sr=()=>{let e=d("colors"),r=d("spacing"),t=d("blur"),o=d("brightness"),s=d("borderColor"),n=d("borderRadius"),a=d("borderSpacing"),i=d("borderWidth"),c=d("contrast"),g=d("grayscale"),f=d("hueRotate"),y=d("invert"),v=d("gap"),k=d("gradientColorStops"),w=d("gradientColorStopPositions"),m=d("inset"),u=d("margin"),h=d("opacity"),x=d("padding"),T=d("saturate"),N=d("scale"),L=d("sepia"),X=d("skew"),Z=d("space"),Q=d("translate"),H=()=>["auto","contain","none"],F=()=>["auto","hidden","clip","visible","scroll"],U=()=>["auto",l,r],p=()=>[l,r],Y=()=>["",z,S],E=()=>["auto",P,l],D=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],j=()=>["solid","dashed","dotted","double","none"],ee=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],O=()=>["start","end","center","between","around","evenly","stretch"],G=()=>["","0",l],re=()=>["auto","avoid","all","avoid-page","page","left","right","column"],C=()=>[P,l];return{cacheSize:500,separator:":",theme:{colors:[I],spacing:[z,S],blur:["none","",M,l],brightness:C(),borderColor:[e],borderRadius:["none","","full",M,l],borderSpacing:p(),borderWidth:Y(),contrast:C(),grayscale:G(),hueRotate:C(),invert:G(),gap:p(),gradientColorStops:[e],gradientColorStopPositions:[Xe,S],inset:U(),margin:U(),opacity:C(),padding:p(),saturate:C(),scale:C(),sepia:G(),skew:C(),space:p(),translate:p()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[M]}],"break-after":[{"break-after":re()}],"break-before":[{"break-before":re()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...D(),l]}],overflow:[{overflow:F()}],"overflow-x":[{"overflow-x":F()}],"overflow-y":[{"overflow-y":F()}],overscroll:[{overscroll:H()}],"overscroll-x":[{"overscroll-x":H()}],"overscroll-y":[{"overscroll-y":H()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",A,l]}],basis:[{basis:U()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",l]}],grow:[{grow:G()}],shrink:[{shrink:G()}],order:[{order:["first","last","none",A,l]}],"grid-cols":[{"grid-cols":[I]}],"col-start-end":[{col:["auto",{span:["full",A,l]},l]}],"col-start":[{"col-start":E()}],"col-end":[{"col-end":E()}],"grid-rows":[{"grid-rows":[I]}],"row-start-end":[{row:["auto",{span:[A,l]},l]}],"row-start":[{"row-start":E()}],"row-end":[{"row-end":E()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",l]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",l]}],gap:[{gap:[v]}],"gap-x":[{"gap-x":[v]}],"gap-y":[{"gap-y":[v]}],"justify-content":[{justify:["normal",...O()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...O(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...O(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[x]}],px:[{px:[x]}],py:[{py:[x]}],ps:[{ps:[x]}],pe:[{pe:[x]}],pt:[{pt:[x]}],pr:[{pr:[x]}],pb:[{pb:[x]}],pl:[{pl:[x]}],m:[{m:[u]}],mx:[{mx:[u]}],my:[{my:[u]}],ms:[{ms:[u]}],ue:[{ue:[u]}],mt:[{mt:[u]}],mr:[{mr:[u]}],mb:[{mb:[u]}],ml:[{ml:[u]}],"space-x":[{"space-x":[Z]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Z]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",l,r]}],"min-w":[{"min-w":[l,r,"min","max","fit"]}],"max-w":[{"max-w":[l,r,"none","full","min","max","fit","prose",{screen:[M]},M]}],h:[{h:[l,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[l,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[l,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,r,"auto","min","max","fit"]}],"font-size":[{text:["base",M,S]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",J]}],"font-family":[{font:[I]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",l]}],"line-clamp":[{"line-clamp":["none",P,J]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",z,l]}],"list-image":[{"list-image":["none",l]}],"list-style-type":[{list:["none","disc","decimal",l]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[h]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[h]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...j(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",z,S]}],"underline-offset":[{"underline-offset":["auto",z,l]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:p()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",l]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[h]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...D(),Ye]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Qe]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","ge","bl","l","tl"]},er]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[w]}],"gradient-via-pos":[{via:[w]}],"gradient-to-pos":[{to:[w]}],"gradient-from":[{from:[k]}],"gradient-via":[{via:[k]}],"gradient-to":[{to:[k]}],rounded:[{rounded:[n]}],"rounded-s":[{"rounded-s":[n]}],"rounded-e":[{"rounded-e":[n]}],"rounded-t":[{"rounded-t":[n]}],"rounded-r":[{"rounded-r":[n]}],"rounded-ge":[{"rounded-ge":[n]}],"rounded-l":[{"rounded-l":[n]}],"rounded-ss":[{"rounded-ss":[n]}],"rounded-se":[{"rounded-se":[n]}],"rounded-ee":[{"rounded-ee":[n]}],"rounded-es":[{"rounded-es":[n]}],"rounded-tl":[{"rounded-tl":[n]}],"rounded-tr":[{"rounded-tr":[n]}],"rounded-br":[{"rounded-br":[n]}],"rounded-bl":[{"rounded-bl":[n]}],"border-w":[{border:[i]}],"border-w-x":[{"border-x":[i]}],"border-w-y":[{"border-y":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-ge":[{"border-ge":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[h]}],"border-style":[{border:[...j(),"hidden"]}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[i]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[h]}],"divide-style":[{divide:j()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-ge":[{"border-ge":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...j()]}],"outline-offset":[{"outline-offset":[z,l]}],"outline-w":[{outline:[z,S]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Y()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[h]}],"ring-offset-w":[{"ring-offset":[z,S]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",M,rr]}],"shadow-color":[{shadow:[I]}],opacity:[{opacity:[h]}],"mix-blend":[{"mix-blend":[...ee(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ee()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[o]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",M,l]}],grayscale:[{grayscale:[g]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[y]}],saturate:[{saturate:[T]}],sepia:[{sepia:[L]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[g]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[y]}],"backdrop-opacity":[{"backdrop-opacity":[h]}],"backdrop-saturate":[{"backdrop-saturate":[T]}],"backdrop-sepia":[{"backdrop-sepia":[L]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",l]}],duration:[{duration:C()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:C()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[N]}],"scale-x":[{"scale-x":[N]}],"scale-y":[{"scale-y":[N]}],rotate:[{rotate:[A,l]}],"translate-x":[{"translate-x":[Q]}],"translate-y":[{"translate-y":[Q]}],"skew-x":[{"skew-x":[X]}],"skew-y":[{"skew-y":[X]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",l]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",l]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":p()}],"scroll-mx":[{"scroll-mx":p()}],"scroll-my":[{"scroll-my":p()}],"scroll-ms":[{"scroll-ms":p()}],"scroll-ue":[{"scroll-ue":p()}],"scroll-mt":[{"scroll-mt":p()}],"scroll-mr":[{"scroll-mr":p()}],"scroll-mb":[{"scroll-mb":p()}],"scroll-ml":[{"scroll-ml":p()}],"scroll-p":[{"scroll-p":p()}],"scroll-px":[{"scroll-px":p()}],"scroll-py":[{"scroll-py":p()}],"scroll-ps":[{"scroll-ps":p()}],"scroll-pe":[{"scroll-pe":p()}],"scroll-pt":[{"scroll-pt":p()}],"scroll-pr":[{"scroll-pr":p()}],"scroll-pb":[{"scroll-pb":p()}],"scroll-pl":[{"scroll-pl":p()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",l]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[z,S,J]}],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","ue","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-ge","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-ge":["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-ge","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-ge"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-ge","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-ge"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-ue","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var de=$e(sr);function B(...e){return de((0,pe.clsx)(e))}var ge=require("react/jsx-runtime"),ir=(0,ue.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 be({className:e,variant:r,...t}){return(0,ge.jsx)("div",{className:B(ir({variant:r}),e),...t})}var fe=require("@radix-ui/react-slot"),he=Ne(require("react")),ar=(0,ue.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),V=he.forwardRef(({asChild:e=!1,className:r,size:t,variant:o,...s},n)=>(0,ge.jsx)(e?fe.Slot:"button",{className:B(ar({className:r,size:t,variant:o})),ref:n,...s}));V.displayName="Button";var W=require("react");function ye(e,r){let[t,o]=(0,W.useState)(()=>{if(typeof window>"u")return r;try{let n=window.localStorage.getItem(e);return n?JSON.parse(n):r}catch{return r}}),s=n=>{try{o(n),typeof window<"u"&&window.localStorage.setItem(e,JSON.stringify(n))}catch{}};return(0,W.useEffect)(()=>{s(t)},[]),[t,s]}var $=require("react-icons/fa");function lr({title:e,description:r,badge:t,primaryAction:o,secondaryAction:s,gradient:n,children:a,className:i}){let[c,g]=ye(`hero-section-minimized-${e.replace(/\s+/g,"-").toLowerCase()}`,!s&&!r),f=!s&&!r||c;return(0,ge.jsxs)(ve.motion.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5},className:`overflow-hidden rounded-3xl ${n} p-8 text-white ${i||""}`,children:[(0,ge.jsxs)("div",{className:"flex items-center justify-between mb-2",children:[(0,ge.jsxs)("div",{className:"flex items-center gap-3",children:[t&&(0,ge.jsx)(be,{className:"bg-white/20 text-white hover:bg-white/30 rounded-xl",children:t}),(0,ge.jsx)("h2",{className:"text-3xl font-bold m-0",children:e})]}),(0,ge.jsxs)("div",{className:"flex items-center gap-3",children:[f&&o&&(0,ge.jsx)(V,{className:"rounded-2xl bg-white text-indigo-700 hover:bg-white/90",onClick:o.onClick,children:o.label}),(s||r)&&(0,ge.jsx)("button",{"aria-label":c?"Expand hero section":"Minimize hero section",className:"rounded-full bg-white/20 hover:bg-white/30 p-1 text-white transition-colors",onClick:()=>g(!c),style:{lineHeight:0},children:c?(0,ge.jsx)($.FaChevronDown,{size:22}):(0,ge.jsx)($.FaChevronUp,{size:22})})]})]}),!f&&(0,ge.jsxs)("div",{className:"flex flex-col gap-6 md:flex-row md:items-center md:justify-between",children:[(0,ge.jsxs)("div",{className:"space-y-4",children:[(0,ge.jsx)("p",{className:"max-w-[600px] text-white/80",children:r}),(0,ge.jsxs)("div",{className:"flex flex-wrap gap-3",children:[o&&(0,ge.jsx)(V,{className:"rounded-2xl bg-white text-indigo-700 hover:bg-white/90",onClick:o.onClick,children:o.label}),s&&(0,ge.jsx)(V,{variant:"outline",className:"rounded-2xl bg-transparent border-white text-white hover:bg-white/10",onClick:s.onClick,children:s.label})]})]}),a&&(0,ge.jsx)("div",{className:"hidden lg:block",children:a})]})]})}0&&(module.exports={DashboardHero});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../../chunk-
|
|
1
|
+
import{a}from"../../../chunk-Z22NSJMF.mjs";import"../../../chunk-ZUA4KNIR.mjs";import"../../../chunk-CSBGSBEU.mjs";import"../../../chunk-MDJREBVI.mjs";import"../../../chunk-ZWHGOTSF.mjs";import"../../../chunk-Q3G5UAAD.mjs";import"../../../chunk-XGRRLABA.mjs";import"../../../chunk-FLHDNCNY.mjs";import"../../../chunk-YEKQJ4YC.mjs";export{a as DashboardHero};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../../chunk-F5N6KQA2.mjs";import"../../../chunk-
|
|
1
|
+
import{a}from"../../../chunk-F5N6KQA2.mjs";import"../../../chunk-U5PBLRRV.mjs";import"../../../chunk-Q5Q3DJWU.mjs";import"../../../chunk-4QRKVSTE.mjs";import"../../../chunk-E4TE4NV6.mjs";import"../../../chunk-JFFTEK6Z.mjs";import"../../../chunk-JHNVX4UB.mjs";import"../../../chunk-7BXIU4ZM.mjs";import"../../../chunk-YFAZQYK4.mjs";import"../../../chunk-INCYANPB.mjs";import"../../../chunk-B4H6T2GP.mjs";import"../../../chunk-TVZOULLL.mjs";import"../../../chunk-RLVKIMGU.mjs";import"../../../chunk-OCPX4QPC.mjs";import"../../../chunk-FT3AE7L2.mjs";import"../../../chunk-YNNW2C2U.mjs";import"../../../chunk-76M7JE4D.mjs";import"../../../chunk-3UMMMQEH.mjs";import"../../../chunk-OYZDAMCS.mjs";import"../../../chunk-5NRGSTPV.mjs";import"../../../chunk-YNCJATT7.mjs";import"../../../chunk-PXLSH6S2.mjs";import"../../../chunk-D4IMQTVU.mjs";import"../../../chunk-7GSXNSLD.mjs";import"../../../chunk-4UIARERB.mjs";import"../../../chunk-L5JPAKPM.mjs";import"../../../chunk-KY7WQYN4.mjs";import"../../../chunk-ZUA4KNIR.mjs";import"../../../chunk-SOLZ4VQH.mjs";import"../../../chunk-CSBGSBEU.mjs";import"../../../chunk-MDJREBVI.mjs";import"../../../chunk-ZWHGOTSF.mjs";import"../../../chunk-Q3G5UAAD.mjs";import"../../../chunk-XGRRLABA.mjs";import"../../../chunk-FRWX5YES.mjs";import"../../../chunk-CV7PH2KH.mjs";import"../../../chunk-YEKQJ4YC.mjs";export{a as PostHero};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b}from"../../chunk-
|
|
1
|
+
import{a,b}from"../../chunk-RRME4EHD.mjs";import"../../chunk-MZP7RIQZ.mjs";import"../../chunk-GETYSIZV.mjs";import"../../chunk-HKMNAXLM.mjs";import"../../chunk-U3FYDDE2.mjs";import"../../chunk-FYQBRCQM.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-2QZUKVBA.mjs";import"../../chunk-SRUG246N.mjs";import"../../chunk-4CU7D3X2.mjs";import"../../chunk-JYL3XIJX.mjs";import"../../chunk-LVK4QE5D.mjs";import"../../chunk-LKGCU7H6.mjs";import"../../chunk-5WV5ZFEP.mjs";import"../../chunk-KX2NCNCS.mjs";import"../../chunk-LEC6GEWS.mjs";import"../../chunk-NSMXJCXE.mjs";import"../../chunk-VNYUNZ3M.mjs";import"../../chunk-UZSBX5GO.mjs";import"../../chunk-VRE6VCHX.mjs";import"../../chunk-KFCSVEI6.mjs";import"../../chunk-TEB67NCD.mjs";import"../../chunk-LXZAOORS.mjs";import"../../chunk-MGYV46AJ.mjs";import"../../chunk-CGDLOY7W.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-AZ4VR5JX.mjs";import"../../chunk-BG7QXNV5.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-7WIO2CIC.mjs";import"../../chunk-X5KZKO2V.mjs";import"../../chunk-FMJBJ3HN.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.mjs";export{b as Breadcrumbs,a as RenderHero};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../../chunk-MZP7RIQZ.mjs";import"../../../chunk-
|
|
1
|
+
import{a}from"../../../chunk-MZP7RIQZ.mjs";import"../../../chunk-7WIO2CIC.mjs";import"../../../chunk-X5KZKO2V.mjs";import"../../../chunk-FMJBJ3HN.mjs";import"../../../chunk-WISCWNL2.mjs";import"../../../chunk-MDJREBVI.mjs";import"../../../chunk-ZWHGOTSF.mjs";import"../../../chunk-Q3G5UAAD.mjs";import"../../../chunk-XGRRLABA.mjs";import"../../../chunk-YEKQJ4YC.mjs";export{a as SectionHero};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
"use client"
|
|
4
4
|
|
|
5
|
-
"use strict";var qt=Object.create;var ce=Object.defineProperty;var Jt=Object.getOwnPropertyDescriptor;var Kt=Object.getOwnPropertyNames;var Wt=Object.getPrototypeOf,Xt=Object.prototype.hasOwnProperty;var Zt=(e,t)=>{for(var r in t)ce(e,r,{get:t[r],enumerable:!0})},_e=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Kt(t))!Xt.call(e,n)&&n!==r&&ce(e,n,{get:()=>t[n],enumerable:!(a=Jt(t,n))||a.enumerable});return e};var F=(e,t,r)=>(r=e!=null?qt(Wt(e)):{},_e(t||!e||!e.__esModule?ce(r,"default",{value:e,enumerable:!0}):r,e)),_t=e=>_e(ce({},"__esModule",{value:!0}),e);var Qr={};Zt(Qr,{Breadcrumbs:()=>Vr,DashboardHero:()=>$r,HighImpactHero:()=>je,LowImpactHero:()=>Oe,MediumImpactHero:()=>Ye,PostHero:()=>Ur,RenderHero:()=>Or,SectionHero:()=>$e});module.exports=_t(Qr);var jt=F(require("next/image"));var lt=require("clsx");var Me="-",er=e=>{let t=rr(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:s=>{let i=s.split(Me);return i[0]===""&&i.length!==1&&i.shift(),rt(i,t)||tr(s)},getConflictingClassGroupIds:(s,i)=>{let c=r[s]||[];return i&&a[s]?[...c,...a[s]]:c}}},rt=(e,t)=>{if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),n=a?rt(e.slice(1),a):void 0;if(n)return n;if(t.validators.length===0)return;let o=e.join(Me);return t.validators.find(({validator:s})=>s(o))?.classGroupId},et=/^\[(.+)\]$/,tr=e=>{if(et.test(e)){let t=et.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},rr=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return ar(Object.entries(e.classGroups),r).forEach(([o,s])=>{Ie(s,a,o,t)}),a},Ie=(e,t,r,a)=>{e.forEach(n=>{if(typeof n=="string"){let o=n===""?t:tt(t,n);o.classGroupId=r;return}if(typeof n=="function"){if(or(n)){Ie(n(a),t,r,a);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([o,s])=>{Ie(s,tt(t,o),r,a)})})},tt=(e,t)=>{let r=e;return t.split(Me).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},or=e=>e.isThemeGetter,ar=(e,t)=>t?e.map(([r,a])=>{let n=a.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([s,i])=>[t+s,i])):o);return[r,n]}):e,nr=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,a=new Map,n=(o,s)=>{r.set(o,s),t++,t>e&&(t=0,a=r,r=new Map)};return{get(o){let s=r.get(o);if(s!==void 0)return s;if((s=a.get(o))!==void 0)return n(o,s),s},set(o,s){r.has(o)?r.set(o,s):n(o,s)}}},ot="!",sr=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,n=t[0],o=t.length,s=i=>{let c=[],m=0,g=0,P;for(let w=0;w<i.length;w++){let k=i[w];if(m===0){if(k===n&&(a||i.slice(w,w+o)===t)){c.push(i.slice(g,w)),g=w+o;continue}if(k==="/"){P=w;continue}}k==="["?m++:k==="]"&&m--}let S=c.length===0?i:i.substring(g),M=S.startsWith(ot),R=M?S.substring(1):S,v=P&&P>g?P-g:void 0;return{modifiers:c,hasImportantModifier:M,baseClassName:R,maybePostfixModifierPosition:v}};return r?i=>r({className:i,parseClassName:s}):s},ir=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(a=>{a[0]==="["?(t.push(...r.sort(),a),r=[]):r.push(a)}),t.push(...r.sort()),t},lr=e=>({cache:nr(e.cacheSize),parseClassName:sr(e),...er(e)}),cr=/\s+/,dr=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:n}=t,o=[],s=e.trim().split(cr),i="";for(let c=s.length-1;c>=0;c-=1){let m=s[c],{modifiers:g,hasImportantModifier:P,baseClassName:S,maybePostfixModifierPosition:M}=r(m),R=!!M,v=a(R?S.substring(0,M):S);if(!v){if(!R){i=m+(i.length>0?" "+i:i);continue}if(v=a(S),!v){i=m+(i.length>0?" "+i:i);continue}R=!1}let w=ir(g).join(":"),k=P?w+ot:w,T=k+v;if(o.includes(T))continue;o.push(T);let O=n(v,R);for(let H=0;H<O.length;++H){let se=O[H];o.push(k+se)}i=m+(i.length>0?" "+i:i)}return i};function pr(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=at(t))&&(a&&(a+=" "),a+=r);return a}var at=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=at(e[a]))&&(r&&(r+=" "),r+=t);return r};function mr(e,...t){let r,a,n,o=s;function s(c){let m=t.reduce((g,P)=>P(g),e());return r=lr(m),a=r.cache.get,n=r.cache.set,o=i,i(c)}function i(c){let m=a(c);if(m)return m;let g=dr(c,r);return n(c,g),g}return function(){return o(pr.apply(null,arguments))}}var b=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},nt=/^\[(?:([a-mt-]+):)?(.+)\]$/i,ur=/^\d+\/\d+$/,fr=new Set(["px","full","screen"]),gr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,br=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|mt|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,hr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,xr=/^(inset_)?-?((\d+)?\.?(\d+)[a-mt]+|0)mt-?((\d+)?\.?(\d+)[a-mt]+|0)/,yr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,U=e=>K(e)||fr.has(e)||ur.test(e),V=e=>W(e,"length",Pr),K=e=>!!e&&!Number.isNaN(Number(e)),Be=e=>W(e,"number",K),te=e=>!!e&&Number.isInteger(Number(e)),vr=e=>e.endsWith("%")&&K(e.slice(0,-1)),d=e=>nt.test(e),$=e=>gr.test(e),wr=new Set(["length","size","percentage"]),kr=e=>W(e,wr,st),Cr=e=>W(e,"position",st),Nr=new Set(["image","url"]),Sr=e=>W(e,Nr,Br),Ar=e=>W(e,"",Tr),re=()=>!0,W=(e,t,r)=>{let a=nt.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},Pr=e=>br.test(e)&&!hr.test(e),st=()=>!1,Tr=e=>xr.test(e),Br=e=>yr.test(e);var Ir=()=>{let e=b("colors"),t=b("spacing"),r=b("blur"),a=b("brightness"),n=b("borderColor"),o=b("borderRadius"),s=b("borderSpacing"),i=b("borderWidth"),c=b("contrast"),m=b("grayscale"),g=b("hueRotate"),P=b("invert"),S=b("gap"),M=b("gradientColorStops"),R=b("gradientColorStopPositions"),v=b("inset"),w=b("margin"),k=b("opacity"),T=b("padding"),O=b("saturate"),H=b("scale"),se=b("sepia"),Qe=b("skew"),qe=b("space"),Je=b("translate"),Se=()=>["auto","contain","none"],Ae=()=>["auto","hidden","clip","visible","scroll"],Pe=()=>["auto",d,t],x=()=>[d,t],Ke=()=>["",U,V],ie=()=>["auto",K,d],We=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],le=()=>["solid","dashed","dotted","double","none"],Xe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Te=()=>["start","end","center","between","around","evenly","stretch"],ee=()=>["","0",d],Ze=()=>["auto","avoid","all","avoid-page","page","left","right","column"],j=()=>[K,d];return{cacheSize:500,separator:":",theme:{colors:[re],spacing:[U,V],blur:["none","",$,d],brightness:j(),borderColor:[e],borderRadius:["none","","full",$,d],borderSpacing:x(),borderWidth:Ke(),contrast:j(),grayscale:ee(),hueRotate:j(),invert:ee(),gap:x(),gradientColorStops:[e],gradientColorStopPositions:[vr,V],inset:Pe(),margin:Pe(),opacity:j(),padding:x(),saturate:j(),scale:j(),sepia:ee(),skew:j(),space:x(),translate:x()},classGroups:{aspect:[{aspect:["auto","square","video",d]}],container:["container"],columns:[{columns:[$]}],"break-after":[{"break-after":Ze()}],"break-before":[{"break-before":Ze()}],"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:[...We(),d]}],overflow:[{overflow:Ae()}],"overflow-x":[{"overflow-x":Ae()}],"overflow-mt":[{"overflow-mt":Ae()}],overscroll:[{overscroll:Se()}],"overscroll-x":[{"overscroll-x":Se()}],"overscroll-mt":[{"overscroll-mt":Se()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-x":[{"inset-x":[v]}],"inset-mt":[{"inset-mt":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],mt:[{mt:["auto",te,d]}],basis:[{basis:Pe()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",d]}],grow:[{grow:ee()}],shrink:[{shrink:ee()}],order:[{order:["first","last","none",te,d]}],"grid-cols":[{"grid-cols":[re]}],"col-start-end":[{col:["auto",{span:["full",te,d]},d]}],"col-start":[{"col-start":ie()}],"col-end":[{"col-end":ie()}],"grid-rows":[{"grid-rows":[re]}],"row-start-end":[{row:["auto",{span:[te,d]},d]}],"row-start":[{"row-start":ie()}],"row-end":[{"row-end":ie()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",d]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",d]}],gap:[{gap:[S]}],"gap-x":[{"gap-x":[S]}],"gap-mt":[{"gap-mt":[S]}],"justify-content":[{justify:["normal",...Te()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Te(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Te(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],mt:[{mt:[T]}],px:[{px:[T]}],py:[{py:[T]}],ps:[{ps:[T]}],mt:[{mt:[T]}],pt:[{pt:[T]}],pr:[{pr:[T]}],pb:[{pb:[T]}],pl:[{pl:[T]}],m:[{m:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],mt:[{mt:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-x":[{"space-x":[qe]}],"space-x-reverse":["space-x-reverse"],"space-mt":[{"space-mt":[qe]}],"space-mt-reverse":["space-mt-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",d,t]}],"min-w":[{"min-w":[d,t,"min","max","fit"]}],"max-w":[{"max-w":[d,t,"none","full","min","max","fit","prose",{screen:[$]},$]}],mt:[{mt:[d,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-mt":[{"min-mt":[d,t,"min","max","fit","svh","lvh","dvh"]}],"max-mt":[{"max-mt":[d,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[d,t,"auto","min","max","fit"]}],"font-size":[{text:["base",$,V]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Be]}],"font-family":[{font:[re]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",d]}],"line-clamp":[{"line-clamp":["none",K,Be]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",U,d]}],"list-image":[{"list-image":["none",d]}],"list-style-type":[{list:["none","disc","decimal",d]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[k]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[k]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...le(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",U,V]}],"underline-offset":[{"underline-offset":["auto",U,d]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:x()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",d]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",d]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[k]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...We(),Cr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","mt","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",kr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Sr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[R]}],"gradient-via-pos":[{via:[R]}],"gradient-to-pos":[{to:[R]}],"gradient-from":[{from:[M]}],"gradient-via":[{via:[M]}],"gradient-to":[{to:[M]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[i]}],"border-w-x":[{"border-x":[i]}],"border-w-mt":[{"border-mt":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-b":[{"border-b":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[k]}],"border-style":[{border:[...le(),"hidden"]}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-mt":[{"divide-mt":[i]}],"divide-mt-reverse":["divide-mt-reverse"],"divide-opacity":[{"divide-opacity":[k]}],"divide-style":[{divide:le()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-mt":[{"border-mt":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...le()]}],"outline-offset":[{"outline-offset":[U,d]}],"outline-w":[{outline:[U,V]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Ke()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[k]}],"ring-offset-w":[{"ring-offset":[U,V]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",$,Ar]}],"shadow-color":[{shadow:[re]}],opacity:[{opacity:[k]}],"mix-blend":[{"mix-blend":[...Xe(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Xe()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",$,d]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[g]}],invert:[{invert:[P]}],saturate:[{saturate:[O]}],sepia:[{sepia:[se]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[g]}],"backdrop-invert":[{"backdrop-invert":[P]}],"backdrop-opacity":[{"backdrop-opacity":[k]}],"backdrop-saturate":[{"backdrop-saturate":[O]}],"backdrop-sepia":[{"backdrop-sepia":[se]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-mt":[{"border-spacing-mt":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",d]}],duration:[{duration:j()}],ease:[{ease:["linear","in","out","in-out",d]}],delay:[{delay:j()}],animate:[{animate:["none","spin","ping","pulse","bounce",d]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[H]}],"scale-x":[{"scale-x":[H]}],"scale-mt":[{"scale-mt":[H]}],rotate:[{rotate:[te,d]}],"translate-x":[{"translate-x":[Je]}],"translate-mt":[{"translate-mt":[Je]}],"skew-x":[{"skew-x":[Qe]}],"skew-mt":[{"skew-mt":[Qe]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",d]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",d]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","mt","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":x()}],"scroll-mx":[{"scroll-mx":x()}],"scroll-my":[{"scroll-my":x()}],"scroll-ms":[{"scroll-ms":x()}],"scroll-mt":[{"scroll-mt":x()}],"scroll-mt":[{"scroll-mt":x()}],"scroll-mr":[{"scroll-mr":x()}],"scroll-mb":[{"scroll-mb":x()}],"scroll-ml":[{"scroll-ml":x()}],"scroll-mt":[{"scroll-mt":x()}],"scroll-px":[{"scroll-px":x()}],"scroll-py":[{"scroll-py":x()}],"scroll-ps":[{"scroll-ps":x()}],"scroll-mt":[{"scroll-mt":x()}],"scroll-pt":[{"scroll-pt":x()}],"scroll-pr":[{"scroll-pr":x()}],"scroll-pb":[{"scroll-pb":x()}],"scroll-pl":[{"scroll-pl":x()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","mt","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-mt":[{"touch-pan":["mt","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",d]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[U,V,Be]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-mt"],overscroll:["overscroll-x","overscroll-mt"],inset:["inset-x","inset-mt","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-mt":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-mt"],mt:["px","py","ps","mt","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","mt","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","mt"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-mt"],"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-mt":["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-mt":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-mt","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-mt":["scroll-px","scroll-py","scroll-ps","scroll-mt","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-mt","touch-pz"],"touch-x":["touch"],"touch-mt":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var it=mr(Ir);function l(...e){return it((0,lt.clsx)(e))}var ct=require("@radix-ui/react-slot"),dt=require("class-variance-authority"),pt=F(require("react")),mt=require("react/jsx-runtime"),Mr=(0,dt.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"mt-10 px-4 py-2",icon:"mt-10 w-10",lg:"mt-11 rounded px-8",sm:"mt-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",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),D=pt.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...n},o)=>(0,mt.jsx)(e?ct.Slot:"button",{className:l(Mr({className:t,size:r,variant:a})),ref:o,...n}));D.displayName="Button";var Re=F(require("next/link")),Q=e=>{let{type:t,appearance:r="inline",children:a,className:n,label:o,newTab:s,reference:i,size:c,url:m}=e,g=t==="reference"&&typeof i?.value=="object"&&i.value.slug?`${i?.relationTo!=="pages"?`/${i?.relationTo}`:""}/${i.value.slug}`:m;if(!g)return null;let P=r==="link"?"clear":c,S=s?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,mt.jsxs)(Re.default,{className:l(n),href:g||m||"",...S,children:[o&&o,a&&a]}):(0,mt.jsx)(D,{asChild:!0,className:n,size:P,variant:r,children:(0,mt.jsxs)(Re.default,{className:l(n),href:g||m||"",...S,children:[o&&o,a&&a]})})};var ht=require("react");var ft=F(require("next/image")),Rr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},ut="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=",gt=e=>{let{alt:t,fill:r,imgClassName:a,priority:n,resource:o,size:s,src:i,loading:c}=e,m,g,P=t,S=i||"";if(!S&&o&&typeof o=="object"){let{alt:v,filename:w,height:k,url:T,width:O}=o;if(k&&k>500){let H=500/k;m=O*H,g=k*H}else m=O,g=k;P=v||"",S=T||ut}let M=c||"lazy",R=s||Object.entries(Rr).map(([,v])=>`(max-width: ${v}px) ${v*2}w`).join(", ");return(0,mt.jsx)("picture",{children:(0,mt.jsx)(ft.default,{alt:P||"",className:l(a),fill:r,height:r?void 0:g,placeholder:"blur",blurDataURL:ut,priority:M!=="lazy"&&n,quality:100,loading:M,sizes:R,src:S,width:r?void 0:m})})};var bt=e=>{let{onClick:t,resource:r,videoClassName:a}=e,n=(0,ht.useRef)(null);if((0,ht.useEffect)(()=>{let{current:o}=n;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,mt.jsx)("video",{autoPlay:!0,className:l(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:n,children:(0,mt.jsx)("source",{src:r.url||""})})}return null};var X=e=>{let{className:t,htmlElement:r="div",resource:a}=e,n=typeof a=="object"&&a?.mimeType?.includes("video");return(0,mt.jsx)(r||ht.Fragment,{...r!==null?{className:t}:{},children:n?(0,mt.jsx)(bt,{...e}):(0,mt.jsx)(gt,{...e})})};var xt=({className:e,content:t,style:r})=>(0,mt.jsx)("div",{className:l("mx-auto my-8 w-full",e),children:(0,mt.jsx)("div",{className:l("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,mt.jsx)(B,{content:t,enableGutter:!1,enableProse:!1})})});function ue({className:e}){return l("flex items-center min-mt-[3.5rem] md:min-mt-[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 zr({className:e,...t}){return(0,mt.jsx)("input",{...t,className:ue({className:e})})}function fe({icon:e,...t}){return(0,mt.jsxs)("div",{className:"relative w-full",children:[(0,mt.jsx)(zr,{...t}),e&&(0,mt.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-mt-1/2 text-accent",children:e})]})}function Fr({className:e,...t}){return(0,mt.jsx)("textarea",{...t,className:l(ue({}),"resize-none md:min-mt-[130px]",e)})}function yt({icon:e,...t}){return(0,mt.jsxs)("div",{className:"relative w-full",children:[(0,mt.jsx)(Fr,{...t}),e&&(0,mt.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-accent",children:e})]})}var vt=require("formik"),wt=require("react-icons/fa6"),q=F(require("yup")),xe=require("sonner"),L={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},Dr=q.object().shape({name:q.string().min(2,L.tooShort).max(50,L.tooLong).required(L.required),email:q.string().email(L.email).required(L.required),subject:q.string().min(2,L.tooShort).max(50,L.tooLong).required(L.required),message:q.string().min(2,L.tooShort).max(300,L.tooLong).required(L.required)}),ge=l("!pr-[44px] text-foreground"),be=l("!border-red-600 border"),he=l("sr-only");function kt({onSubmit:e}={}){return(0,mt.jsx)(vt.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:Dr,onSubmit:async(t,{resetForm:r})=>{if(!e){xe.toast.error("Form submission not configured");return}let a=await e(t);a.data===null?xe.toast.error(a.message):(xe.toast.success(a.message),r())},children:({errors:t,touched:r,values:a,handleChange:n,handleBlur:o,isSubmitting:s,handleSubmit:i})=>(0,mt.jsxs)("form",{onSubmit:i,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,mt.jsxs)("div",{children:[(0,mt.jsx)(fe,{placeholder:"Your Name",type:"text",name:"name",value:a.name,onChange:n,onBlur:o,disabled:s,icon:(0,mt.jsx)(wt.FaUser,{className:"text-primary"}),className:l(ge,t.name&&r.name&&be)}),t.name&&r.name&&(0,mt.jsx)("mt",{title:t.name,"aria-live":"polite",role:"error message",className:he,children:t.name})]}),(0,mt.jsxs)("div",{children:[(0,mt.jsx)(fe,{placeholder:"Your Email",type:"email",name:"email",value:a.email,onChange:n,onBlur:o,disabled:s,icon:(0,mt.jsx)(Lr,{}),className:l(ge,t.email&&r.email&&be)}),t.email&&r.email&&(0,mt.jsx)("mt",{title:t.email,"aria-live":"polite",role:"error message",className:he,children:t.email})]}),(0,mt.jsxs)("div",{className:"lg:col-span-2",children:[(0,mt.jsx)(fe,{placeholder:"Subject",type:"text",name:"subject",value:a.subject,onChange:n,onBlur:o,disabled:s,className:l(ge,t.subject&&r.subject&&be)}),t.subject&&r.subject&&(0,mt.jsx)("mt",{title:t.subject,"aria-live":"polite",role:"error message",className:he,children:t.subject})]}),(0,mt.jsxs)("div",{className:"lg:col-span-2",children:[(0,mt.jsx)(yt,{placeholder:"Message...",name:"message",value:a.message,onChange:n,onBlur:o,disabled:s,icon:(0,mt.jsx)(Hr,{}),className:l(ge,t.message&&r.message&&be)}),t.message&&r.message&&(0,mt.jsx)("mt",{title:t.message,"aria-live":"polite",role:"error message",className:he,children:t.message})]}),(0,mt.jsx)("div",{className:"lg:col-span-2 light grid justify-items-center",children:(0,mt.jsx)(D,{type:"submit",className:"outline px-6 rounded-full outline-accent bg-background text-foreground hover:bg-accent hover:text-accent-foreground",disabled:s,children:"Send"})})]})})}function Lr(){return(0,mt.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,mt.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 Hr(){return(0,mt.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,mt.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 Nt=({links:e,richText:t})=>{let[r,a]=(0,ht.useState)(!1),n="accent",o=()=>a(!0),s=()=>a(!1),i=c=>{c.target===c.currentTarget&&s()};return(0,mt.jsxs)("div",{className:l("relative isolate overflow-hidden",n==="accent"?"bg-accent":"bg-black"),children:[(0,mt.jsx)("div",{className:"px-6 py-24 sm:px-6 sm:py-32 lg:px-8",children:(0,mt.jsxs)("div",{className:"mx-auto max-w-2xl text-center prose",children:[t&&(0,mt.jsx)(B,{className:"mb-0 prose-headings:text-white prose-h2:text-white prose-mt:text-white text-white",content:t,enableGutter:!1}),(0,mt.jsx)("div",{className:"mt-10 flex items-center justify-center gap-x-6",children:(0,mt.jsx)("div",{className:"flex flex-col gap-8 text-white",children:(e||[]).map(({link:c},m)=>c?.url==="/contact"?(0,mt.jsx)("div",{onClick:o,className:l("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",n==="accent"?"border-white bg-accent":"border-accent bg-black"),children:c.label},m):(0,mt.jsx)(Q,{size:"lg",className:l("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",n==="accent"?"border-white bg-accent":"border-accent bg-black"),...c},m))})})]})}),r&&(0,mt.jsx)("div",{className:"absolute inset-0 mt-50 flex items-center justify-center bg-black bg-opacity-50",onClick:i,children:(0,mt.jsxs)("div",{className:"bg-white mt-6 pt-10 rounded-lg shadow-lg w-full max-w-lg light relative",children:[(0,mt.jsx)("button",{className:"absolute top-4 right-4 text-gray-500 hover:text-gray-700",onClick:s,children:"\u2715"}),(0,mt.jsx)(kt,{})," "]})})]})};var ye=require("prism-react-renderer");var St=require("lucide-react");function Pt({code:e}){let[t,r]=(0,ht.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,mt.jsx)("div",{className:"flex justify-end align-middle",children:(0,mt.jsxs)(D,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,mt.jsx)("mt",{children:t}),(0,mt.jsx)("div",{className:"w-6 mt-6",children:(0,mt.jsx)(St.ClipboardCopy,{})})]})})}var Tt=({code:e,language:t=""})=>e?(0,mt.jsx)(ye.Highlight,{code:e,language:t,theme:ye.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:n})=>(0,mt.jsxs)("pre",{className:"bg-black mt-4 border text-xs border-border rounded overflow-x-auto",children:[n.map((o,s)=>(0,mt.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,mt.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:s+1}),(0,mt.jsx)("span",{className:"table-cell pl-4",children:o.map((i,c)=>(0,mt.jsx)("span",{...a({token:i})},c))})]},s)),(0,mt.jsx)(Pt,{code:e})]})}):null;var Bt=({className:e,code:t,language:r})=>(0,mt.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,mt.jsx)(Tt,{code:t,language:r})});var It=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,mt.jsx)("div",{className:l("mt-full ",{container:r},t),children:(0,mt.jsx)(X,{imgClassName:l("rounded-[0.8rem]",a),className:"flex justify-center",resource:n,src:o})})};var Mt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,mt.jsx)("div",{className:l("",{container:r},t),children:(0,mt.jsx)(X,{imgClassName:l("rounded-[0.8rem]",a),resource:n,src:o})})};var Ge=({type:e="solid",iconName:t="cloud",size:r="lg",className:a})=>{let n=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,s=a??"",i=n+o+" fa-"+r+" "+s;return(0,mt.jsx)("i",{className:i})};var Ft=F(require("next/image"));function zt(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function Ee({image:e,icon:t,title:r,subtitle:a,content:n,statistic:o,settings:s,link:i,className:c}){let m={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:"bg-background"},g={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,mt.jsxs)("a",{href:i?.url||"#",className:l("min-w-56 max-w-xl mt-full flex flex-col group bg-background",e?"mt-0":"mt-6 md:mt-8",s&&!e&&m[s?.card==="default"?"solid":s?.card],e&&"bg-foreground",s&&s?.card==="outline"?"text-gray-900":"text-white",g[s?.width??"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",s&&`intersect:animate-delay-${s.order||1}00`,c),children:[e&&(0,mt.jsx)("div",{className:"relative aspect-[16/9] w-full",children:(0,mt.jsx)(Ft.default,{src:e.url||"/placeholder.svg",alt:e.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),(0,mt.jsxs)("div",{className:l(e?"mt-6 md:mt-8":"mt-0","flex flex-col flex-grow"),children:[(0,mt.jsxs)("div",{className:"flex flex-col flex-grow",children:[a&&(0,mt.jsx)("div",{className:"text-primary uppercase text-sm font-light mb-4",children:a}),(0,mt.jsx)("div",{className:"flex items-start gap-4 mb-4",children:(0,mt.jsx)(Gr,{icon:{type:t?.type||"fa-light",iconName:t?.icon||"no-icon-error"},heading:r??"",variant:s?.card==="default"?"solid":s?.card??"solid",iconSize:s?.iconSize||"large"})}),n&&typeof n=="object"&&(0,mt.jsx)(B,{enableGutter:!1,content:n,enableProse:!1,className:l("prose-sm prose-mt:text-lg prose-headings:text-xl","space-mt-3",s?.card==="outline"||s?.card==="light"?"prose-headings:text-foreground prose-mt:text-foreground prose-a:text-foreground":"prose-headings:text-white prose-mt:text-gray-100 prose-a:text-gray-100",e&&"prose-headings:text-background prose-mt:text-background")}),n&&typeof n=="string"&&(0,mt.jsx)("div",{className:l("prose-sm prose-mt:text-lg prose-headings:text-xl","space-mt-3",s?.card==="outline"||s?.card==="light"?"prose text-foreground":"prose text-gray-100",e&&"prose text-background"),children:n})]}),i&&i.url&&(0,mt.jsx)("div",{className:"mt-6",children:(0,mt.jsx)("span",{className:"text-accent font-semibold uppercase text-sm block hover:text-accent/80 transition-colors",children:i?.label||"Find out more"})})]})]})}var Gr=({icon:e,heading:t,variant:r,iconSize:a,subtitle:n})=>e&&a==="small"&&e.iconName!="no-icon-error"?(0,mt.jsxs)("div",{className:"flex items-start justify-between w-full mb-2",children:[(0,mt.jsx)("div",{className:l(r==="outline"||r==="light"?"text-primary":"text-white",a==="small"?"text-2xl":"text-3xl"),children:t}),zt(e)&&(0,mt.jsx)("div",{className:l("rounded-full mt-0 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-primary":"text-white",a==="small"?"-mr-2 ml-1 mt-1":""),children:(0,mt.jsx)(Ge,{type:e.type,iconName:e.iconName,size:"2x"})})]}):e&&e.iconName!="no-icon-error"?(0,mt.jsxs)("div",{className:"flex flex-col gap-4",children:[zt(e)&&(0,mt.jsx)("div",{className:l("mt-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-accent":""),children:(0,mt.jsx)(Ge,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,mt.jsx)("h3",{className:l("font-normal",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl text-white"),children:t})]}):(0,mt.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,mt.jsx)("div",{className:l("font-regular",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var Lt=(0,dt.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 ae({className:e,variant:t,...r}){return(0,mt.jsx)("div",{className:l(Lt({variant:t}),e),...r})}var Gt=({title:e,description:t,features:r,id:a,nested:n=!1})=>(0,mt.jsxs)("section",{className:l(n?"w-full":"",""),children:[(0,mt.jsxs)("div",{className:"prose prose:max-w-none",children:[e&&(0,mt.jsx)("h2",{className:"mb-6 mt-0 text-primary",id:a||"",children:e}),t&&typeof t=="string"&&(0,mt.jsx)("mt",{className:"mb-5 text-foreground",children:t}),t&&typeof t=="object"&&(0,mt.jsx)("div",{className:"mb-5 text-foreground",children:(0,mt.jsx)(B,{content:t,enableGutter:!1})})]}),(0,mt.jsx)("div",{className:`grid gap-6 mt-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((o,s)=>{let i=()=>{if(o.icon&&"type"in o.icon&&o.icon.type!=="none")return{type:o.icon.type,icon:o.icon.icon}};return(0,mt.jsx)(Ee,{title:o.title||"",content:o.content||void 0,statistic:o.statistic||void 0,settings:{...o.settings,width:"auto",order:s},link:o.link?{...o.link,label:"Learn more"}:void 0,icon:i()??{type:"none",icon:null}},s)})})]});var ve=F(require("react"));function ne({nodes:e}){return(0,mt.jsx)(ve.Fragment,{children:e?.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,mt.jsx)(ve.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,mt.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,mt.jsx)("em",{children:o},r)),t.format&4&&(o=(0,mt.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,mt.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,mt.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,mt.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,mt.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,mt.jsx)("table",{children:(0,mt.jsx)("tbody",{children:t.children.map((o,s)=>(0,mt.jsx)("tr",{children:o.children.map((i,c)=>(0,mt.jsx)("td",{children:ne({nodes:i.children})},c))},s))})},r);let a=o=>{if(o.children==null)return null;if(o?.type==="list"&&o?.listType==="check")for(let s of o.children)"checked"in s&&(s?.checked||(s.checked=!1));return ne({nodes:o.children})},n="children"in t?a(t):"";if(t.type==="block"){let o=t.fields,s=o?.blockType;if(!o||!s)return null;switch(s){case"cta":return(0,mt.jsx)(Nt,{...o},r);case"mediaBlock":return(0,mt.jsx)(It,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,mt.jsx)(Mt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,mt.jsx)(xt,{className:"col-start-2 mb-4",...o},r);case"code":return(0,mt.jsx)(Bt,{className:"col-start-2",...o},r);case"features":return(0,mt.jsx)(Gt,{...o,nested:!0},r);case"reusableContentBlock":ne({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,mt.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,mt.jsx)("mt",{className:"col-start-2",children:n},r);case"heading":{let o=t?.tag;return(0,mt.jsx)(o,{className:"col-start-2",id:t?.id||"",children:n},r)}case"list":{let o=t?.tag;return(0,mt.jsx)(o,{className:"list col-start-2",children:n},r)}case"listitem":return t?.checked!=null?(0,mt.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t?.value,children:n},r):(0,mt.jsx)("li",{value:t?.value,children:n},r);case"quote":return(0,mt.jsx)("blockquote",{className:"col-start-2",children:n},r);case"link":{let o=t.fields;return(0,mt.jsx)(Q,{newTab:!!o?.newTab,reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}case"autolink":{let o=t.fields;return(0,mt.jsx)(Q,{newTab:!!o?.newTab,reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}default:return null}})})}var B=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>t?(0,mt.jsx)("div",{className:l({"container ":r,"max-w-none":!r,"mx-auto prose":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&ne({nodes:t?.root?.children})}):null;var je=({links:e,media:t,children:r,richText:a})=>(0,mt.jsx)("div",{children:(0,mt.jsxs)("div",{className:"sticky top-0 mt-[70vh] min-mt-[600px]",children:[(0,mt.jsxs)("div",{className:"fixed inset-0 container mt-24 mb-8 mt-10 flex items-start justify-center",children:[r||a&&(0,mt.jsx)(B,{className:"max-w-none mt-0 mb-6 ml-0 prose prose-headings:text-foreground prose-mt:text-foreground",content:a,enableGutter:!0}),Array.isArray(e)&&e.length>0&&(0,mt.jsx)("ul",{className:"flex justify-center gap-4",children:e.map(({link:n},o)=>(0,mt.jsx)("li",{children:(0,mt.jsx)(Q,{...n})},o))})]}),(0,mt.jsxs)("div",{className:"fixed inset-0 mt-[70vh] min-mt-[600px] select-none",children:[t&&typeof t=="object"&&(0,mt.jsx)(X,{fill:!0,imgClassName:"mt-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&(0,mt.jsx)("div",{children:(0,mt.jsx)(jt.default,{className:"-mt-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,mt.jsx)("span",{className:"absolute inset-0 bg-gradient-to-b from-white dark:from-black"})]}),(0,mt.jsx)(Er,{})]})}),Er=()=>(0,mt.jsx)("div",{className:"w-full mt-[1240px] mt-10",children:(0,mt.jsxs)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 337",style:{fontSize:0,float:"left",zIndex:20},className:"absolute -bottom-[2px] flex",children:[(0,mt.jsx)("defs",{children:(0,mt.jsxs)("mask",{id:"mask",children:[(0,mt.jsx)("rect",{width:"1920",height:"332",fill:"white"}),(0,mt.jsx)("polygon",{points:"0 0 0 135 1255 330 1920 0 1920 0 1920 0 0 0"})]})}),(0,mt.jsx)("rect",{width:"1920",height:"332",fill:"white",mask:"url(#mask)"}),(0,mt.jsx)("rect",{mt:"330",width:"1920",height:"7",fill:"white"})," "]})});var Ue=F(require("next/image"));var jr=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:r,height:a,url:n,width:o}=e;return(0,mt.jsx)(Ue.default,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:n||"",width:o||0,height:a||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return(0,mt.jsx)("div",{children:(0,mt.jsx)(Ue.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},Ye=({links:e,media:t,children:r,richText:a})=>(0,mt.jsxs)("div",{className:"relative bg-brand-one pb-12 mt-20 pt-10",children:[t&&(0,mt.jsx)(jr,{media:t}),(0,mt.jsx)("div",{className:"mx-0 min-w-full relative mt-9",children:(0,mt.jsx)("div",{className:"container text-brand-one-foreground",children:r||a&&(0,mt.jsx)(B,{className:"prose-headings:text-brand-one-foreground prose-mt:text-brand-one-foreground",content:a,enableProse:!0,enableGutter:!1})})})]});var Oe=({children:e,richText:t})=>(0,mt.jsx)("div",{className:"min-w-full py-10 bg-muted mt-24",children:(0,mt.jsx)("div",{className:"container",children:e||t&&(0,mt.jsx)(B,{content:t,enableGutter:!1})})});var Yt=F(require("react")),Ot=F(require("next/image"));var Ut=e=>{let r=new Date;e&&(r=new Date(e));let a=r.getMonth(),n=r.getDate(),o=a+1<10?`0${a+1}`:a+1,s=n<10?`0${n}`:n,i=r.getFullYear();return`${s}/${o}/${i}`};var Ur=({post:e})=>{let{categories:t,meta:r,populatedAuthors:a,publishedAt:n,title:o}=e;return(0,mt.jsxs)("div",{className:"relative grid pt-24",children:[(0,mt.jsx)("div",{className:"relative mt-10 flex flex-col justify-end min-mt-[50vh] text-foreground dark:text-foreground pt-24 mt-6 lg:mt-12",children:(0,mt.jsxs)("div",{className:"container mx-auto",children:[(0,mt.jsx)("h1",{className:"mb-6 text-[clamp(2rem,1.5rem+1.5vw,3.5rem)] font-bold leading-tight ",children:o}),(0,mt.jsxs)("div",{className:"flex flex-col gap-4 md:flex-row md:gap-16 ",children:[a&&a.length>0&&(0,mt.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,mt.jsxs)("mt",{className:"text-sm",children:["Author",a.length>1?"s":""]}),(0,mt.jsx)("mt",{children:a.map((s,i)=>(0,mt.jsxs)(Yt.default.Fragment,{children:[s.name,i<a.length-2&&", ",i===a.length-2&&(a.length>2?", and ":" and ")]},s.id))})]}),n&&(0,mt.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,mt.jsx)("mt",{className:"text-sm",children:"Date Published"}),(0,mt.jsx)("time",{dateTime:n,children:Ut(n)})]}),t&&t.length>0&&(0,mt.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,mt.jsx)("mt",{className:"text-sm font-medium",children:"Categories"}),(0,mt.jsx)("div",{className:"flex flex-wrap gap-2",children:t.map((s,i)=>typeof s=="object"&&s!==null&&(0,mt.jsx)(ae,{className:"px-3 py-1 mx-1",children:s.title||"Untitled category"},s.id||i))})]})]})]})}),(0,mt.jsxs)("div",{className:"absolute inset-0 w-full mt-full",children:[(0,mt.jsx)(Ot.default,{className:"object-cover",alt:`Cover image for ${o}`,src:r?.image?.url||"/assets/images/blog/gradient.png",fill:!0,priority:!0,sizes:"100vw"}),(0,mt.jsx)("div",{className:"absolute pointer-events-none left-0 bottom-0 w-full mt-1/2 bg-gradient-to-t from-background dark:from-black to-transparent"})]})]})};var ke=require("@heroicons/react/20/solid");var Ve=F(require("next/image"));var Vt=({position:e,className:t=""})=>{let r=["","scale(-1, 1)","scale(1, -1)","scale(-1, -1)"],a=r[Math.floor(Math.random()*r.length)];if(e==="header")return(0,mt.jsx)("div",{className:"w-full mt-[1240px] mt-20",children:(0,mt.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:l(t,"absolute -bottom-[2px] flex"),children:[(0,mt.jsx)("defs",{children:(0,mt.jsxs)("mask",{id:"mask",children:[(0,mt.jsx)("rect",{width:"1920",height:"332",fill:"white"}),(0,mt.jsx)("polygon",{points:"0 0 0 135 1255 330 1920 0 1920 0 1920 0 0 0"})]})}),(0,mt.jsx)("rect",{width:"1920",height:"332",fill:"white",mask:"url(#mask)"}),(0,mt.jsx)("rect",{mt:"331",width:"1920",height:"7",fill:"white"})," "]})});if(e==="top")return(0,mt.jsxs)("div",{className:"w-full mt-20 aspect-[1920/332] overflow-hidden ",children:[(0,mt.jsxs)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",className:l(t,"absolute "),style:{fontSize:0,float:"left",alignContent:"flex-end",transform:"scale(-1, 1)"},children:[(0,mt.jsx)("defs",{children:(0,mt.jsxs)("mask",{id:"mask",children:[(0,mt.jsx)("rect",{width:"100%",height:"100%",fill:"white"}),(0,mt.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),(0,mt.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0",fill:"black"})]}),(0,mt.jsx)("div",{className:"absolute -bottom-[5px] border-none left-0 w-full mt-[6px] mt-10 bg-white"})]});if(e==="dark-top")return(0,mt.jsx)("div",{className:"w-full aspect-[1920/332] mt-20 content-end block overflow-hidden",children:(0,mt.jsxs)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"xMidYMax meet",className:l(t,"relative "),style:{fontSize:0,float:"left"},transform:r[3],children:[(0,mt.jsx)("defs",{children:(0,mt.jsxs)("mask",{id:"mask",children:[(0,mt.jsx)("rect",{width:"100%",height:"100%",fill:"white"}),(0,mt.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),(0,mt.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,mt.jsx)("div",{className:"w-full aspect-[1920/332] mt-20 content-start block overflow-hidden bg-white",children:(0,mt.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:l(t,"w-full block overflow-hidden"),children:(0,mt.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,mt.jsx)("div",{className:"w-full aspect-[1920/332] mt-20 content-end block overflow-hidden",children:(0,mt.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:l(t,"w-full block overflow-hidden"),transform:r[3],children:(0,mt.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,mt.jsx)("div",{className:"w-full aspect-[1920/332] mt-20 relative -bottom-[1px]",children:(0,mt.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:l(t,"w-full block overflow-hidden"),children:(0,mt.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})})};var $e=({title:e,image:t})=>(0,mt.jsx)("div",{children:(0,mt.jsxs)("div",{className:"sticky top-0 mt-[50vh] min-mt-[400px]",children:[(0,mt.jsx)("div",{className:"fixed inset-0 container mt-24 mb-8 mt-10 flex items-start justify-start",children:(0,mt.jsx)("h1",{className:"text-5xl md:text-6xl",children:e})}),(0,mt.jsxs)("div",{className:"fixed inset-0 mt-[50vh] min-mt-[400px] select-none",children:[t&&typeof t=="object"&&(0,mt.jsx)(Ve.default,{priority:!0,src:t.src,alt:`${process.env.NEXT_PUBLIC_SITE_NAME}`,layout:"fill",style:{objectFit:"cover"},sizes:"100vw",className:"pointer-events-none object-cover"}),t&&typeof t=="string"&&(0,mt.jsx)("div",{children:(0,mt.jsx)(Ve.default,{className:"-mt-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,mt.jsx)("span",{className:"absolute inset-0 bg-gradient-to-b from-white dark:from-black"})]}),(0,mt.jsx)(Vt,{className:"text-black mt-10",position:"header"})]})});var Yr={highImpact:je,lowImpact:Oe,mediumImpact:Ye,sectionHero:$e},Or=e=>{let{type:t}=e||{};if(!t||t==="none")return null;let r=Yr[t];return r?(0,mt.jsx)(r,{...e}):null};function Vr({breadcrumbItems:e}){if(e&&e.length>0){let t=e.filter(r=>r.label.toLowerCase()!=="home");return(0,mt.jsx)("nav",{"aria-label":"Breadcrumb",className:"flex",children:(0,mt.jsxs)("ol",{role:"list",className:"flex items-center space-x-4",children:[(0,mt.jsx)("li",{children:(0,mt.jsx)("div",{children:(0,mt.jsxs)("a",{href:"/",className:"text-foreground hover:text-accent",children:[(0,mt.jsx)(ke.HomeIcon,{"aria-hidden":"true",className:"size-5 shrink-0"}),(0,mt.jsx)("span",{className:"sr-only",children:"Home"})]})})}),t.map((r,a)=>(0,mt.jsx)("li",{children:(0,mt.jsxs)("div",{className:"flex items-center",children:[(0,mt.jsx)(ke.ChevronRightIcon,{"aria-hidden":"true",className:"size-5 shrink-0 text-gray-400"}),r.href?(0,mt.jsx)("a",{href:r.href,className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:r.label}):(0,mt.jsx)("div",{className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:r.label})]})},a))]})})}return(0,mt.jsx)(mt.Fragment,{})}var Qt=require("framer-motion");function $t(e,t){let[r,a]=(0,ht.useState)(()=>{if(typeof window>"mt")return t;try{let o=window.localStorage.getItem(e);return o?JSON.parse(o):t}catch{return t}}),n=o=>{try{a(o),typeof window<"mt"&&window.localStorage.setItem(e,JSON.stringify(o))}catch{}};return(0,ht.useEffect)(()=>{n(r)},[]),[r,n]}var Ne=require("react-icons/fa");function $r({title:e,description:t,badge:r,primaryAction:a,secondaryAction:n,gradient:o,children:s,className:i}){let[c,m]=$t(`hero-section-minimized-${e.replace(/\s+/g,"-").toLowerCase()}`,!n&&!t),g=!n&&!t||c;return(0,mt.jsxs)(Qt.motion.div,{initial:{opacity:0,mt:20},animate:{opacity:1,mt:0},transition:{duration:.5},className:`overflow-hidden rounded-3xl ${o} mt-8 text-white ${i||""}`,children:[(0,mt.jsxs)("div",{className:"flex items-center justify-between mb-2",children:[(0,mt.jsxs)("div",{className:"flex items-center gap-3",children:[r&&(0,mt.jsx)(ae,{className:"bg-white/20 text-white hover:bg-white/30 rounded-xl",children:r}),(0,mt.jsx)("h2",{className:"text-3xl font-bold m-0",children:e})]}),(0,mt.jsxs)("div",{className:"flex items-center gap-3",children:[g&&a&&(0,mt.jsx)(D,{className:"rounded-2xl bg-white text-indigo-700 hover:bg-white/90",onClick:a.onClick,children:a.label}),(n||t)&&(0,mt.jsx)("button",{"aria-label":c?"Expand hero section":"Minimize hero section",className:"rounded-full bg-white/20 hover:bg-white/30 mt-1 text-white transition-colors",onClick:()=>m(!c),style:{lineHeight:0},children:c?(0,mt.jsx)(Ne.FaChevronDown,{size:22}):(0,mt.jsx)(Ne.FaChevronUp,{size:22})})]})]}),!g&&(0,mt.jsxs)("div",{className:"flex flex-col gap-6 md:flex-row md:items-center md:justify-between",children:[(0,mt.jsxs)("div",{className:"space-mt-4",children:[(0,mt.jsx)("mt",{className:"max-w-[600px] text-white/80",children:t}),(0,mt.jsxs)("div",{className:"flex flex-wrap gap-3",children:[a&&(0,mt.jsx)(D,{className:"rounded-2xl bg-white text-indigo-700 hover:bg-white/90",onClick:a.onClick,children:a.label}),n&&(0,mt.jsx)(D,{variant:"outline",className:"rounded-2xl bg-transparent border-white text-white hover:bg-white/10",onClick:n.onClick,children:n.label})]})]}),s&&(0,mt.jsx)("div",{className:"hidden lg:block",children:s})]})]})}0&&(module.exports={Breadcrumbs,DashboardHero,HighImpactHero,LowImpactHero,MediumImpactHero,PostHero,RenderHero,SectionHero});
|
|
5
|
+
"use strict";var qt=Object.create;var ce=Object.defineProperty;var Jt=Object.getOwnPropertyDescriptor;var Kt=Object.getOwnPropertyNames;var Wt=Object.getPrototypeOf,Xt=Object.prototype.hasOwnProperty;var Zt=(e,t)=>{for(var r in t)ce(e,r,{get:t[r],enumerable:!0})},_e=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Kt(t))!Xt.call(e,n)&&n!==r&&ce(e,n,{get:()=>t[n],enumerable:!(a=Jt(t,n))||a.enumerable});return e};var F=(e,t,r)=>(r=e!=null?qt(Wt(e)):{},_e(t||!e||!e.__esModule?ce(r,"default",{value:e,enumerable:!0}):r,e)),_t=e=>_e(ce({},"__esModule",{value:!0}),e);var Qr={};Zt(Qr,{Breadcrumbs:()=>Vr,DashboardHero:()=>$r,HighImpactHero:()=>je,LowImpactHero:()=>Oe,MediumImpactHero:()=>Ye,PostHero:()=>Ur,RenderHero:()=>Or,SectionHero:()=>$e});module.exports=_t(Qr);var jt=F(require("next/image"));var lt=require("clsx");var Me="-",er=e=>{let t=rr(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:s=>{let i=s.split(Me);return i[0]===""&&i.length!==1&&i.shift(),rt(i,t)||tr(s)},getConflictingClassGroupIds:(s,i)=>{let c=r[s]||[];return i&&a[s]?[...c,...a[s]]:c}}},rt=(e,t)=>{if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),n=a?rt(e.slice(1),a):void 0;if(n)return n;if(t.validators.length===0)return;let o=e.join(Me);return t.validators.find(({validator:s})=>s(o))?.classGroupId},et=/^\[(.+)\]$/,tr=e=>{if(et.test(e)){let t=et.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},rr=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return ar(Object.entries(e.classGroups),r).forEach(([o,s])=>{Ie(s,a,o,t)}),a},Ie=(e,t,r,a)=>{e.forEach(n=>{if(typeof n=="string"){let o=n===""?t:tt(t,n);o.classGroupId=r;return}if(typeof n=="function"){if(or(n)){Ie(n(a),t,r,a);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([o,s])=>{Ie(s,tt(t,o),r,a)})})},tt=(e,t)=>{let r=e;return t.split(Me).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},or=e=>e.isThemeGetter,ar=(e,t)=>t?e.map(([r,a])=>{let n=a.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([s,i])=>[t+s,i])):o);return[r,n]}):e,nr=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,a=new Map,n=(o,s)=>{r.set(o,s),t++,t>e&&(t=0,a=r,r=new Map)};return{get(o){let s=r.get(o);if(s!==void 0)return s;if((s=a.get(o))!==void 0)return n(o,s),s},set(o,s){r.has(o)?r.set(o,s):n(o,s)}}},ot="!",sr=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,n=t[0],o=t.length,s=i=>{let c=[],m=0,g=0,P;for(let w=0;w<i.length;w++){let k=i[w];if(m===0){if(k===n&&(a||i.slice(w,w+o)===t)){c.push(i.slice(g,w)),g=w+o;continue}if(k==="/"){P=w;continue}}k==="["?m++:k==="]"&&m--}let S=c.length===0?i:i.substring(g),M=S.startsWith(ot),R=M?S.substring(1):S,v=P&&P>g?P-g:void 0;return{modifiers:c,hasImportantModifier:M,baseClassName:R,maybePostfixModifierPosition:v}};return r?i=>r({className:i,parseClassName:s}):s},ir=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(a=>{a[0]==="["?(t.push(...r.sort(),a),r=[]):r.push(a)}),t.push(...r.sort()),t},lr=e=>({cache:nr(e.cacheSize),parseClassName:sr(e),...er(e)}),cr=/\s+/,dr=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:n}=t,o=[],s=e.trim().split(cr),i="";for(let c=s.length-1;c>=0;c-=1){let m=s[c],{modifiers:g,hasImportantModifier:P,baseClassName:S,maybePostfixModifierPosition:M}=r(m),R=!!M,v=a(R?S.substring(0,M):S);if(!v){if(!R){i=m+(i.length>0?" "+i:i);continue}if(v=a(S),!v){i=m+(i.length>0?" "+i:i);continue}R=!1}let w=ir(g).join(":"),k=P?w+ot:w,T=k+v;if(o.includes(T))continue;o.push(T);let O=n(v,R);for(let H=0;H<O.length;++H){let se=O[H];o.push(k+se)}i=m+(i.length>0?" "+i:i)}return i};function pr(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=at(t))&&(a&&(a+=" "),a+=r);return a}var at=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=at(e[a]))&&(r&&(r+=" "),r+=t);return r};function mr(e,...t){let r,a,n,o=s;function s(c){let m=t.reduce((g,P)=>P(g),e());return r=lr(m),a=r.cache.get,n=r.cache.set,o=i,i(c)}function i(c){let m=a(c);if(m)return m;let g=dr(c,r);return n(c,g),g}return function(){return o(pr.apply(null,arguments))}}var b=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},nt=/^\[(?:([a-mt-]+):)?(.+)\]$/i,ur=/^\d+\/\d+$/,fr=new Set(["px","full","screen"]),gr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,br=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|mt|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,hr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,xr=/^(inset_)?-?((\d+)?\.?(\d+)[a-mt]+|0)mt-?((\d+)?\.?(\d+)[a-mt]+|0)/,yr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,U=e=>K(e)||fr.has(e)||ur.test(e),V=e=>W(e,"length",Pr),K=e=>!!e&&!Number.isNaN(Number(e)),Be=e=>W(e,"number",K),te=e=>!!e&&Number.isInteger(Number(e)),vr=e=>e.endsWith("%")&&K(e.slice(0,-1)),d=e=>nt.test(e),$=e=>gr.test(e),wr=new Set(["length","size","percentage"]),kr=e=>W(e,wr,st),Cr=e=>W(e,"position",st),Nr=new Set(["image","url"]),Sr=e=>W(e,Nr,Br),Ar=e=>W(e,"",Tr),re=()=>!0,W=(e,t,r)=>{let a=nt.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},Pr=e=>br.test(e)&&!hr.test(e),st=()=>!1,Tr=e=>xr.test(e),Br=e=>yr.test(e);var Ir=()=>{let e=b("colors"),t=b("spacing"),r=b("blur"),a=b("brightness"),n=b("borderColor"),o=b("borderRadius"),s=b("borderSpacing"),i=b("borderWidth"),c=b("contrast"),m=b("grayscale"),g=b("hueRotate"),P=b("invert"),S=b("gap"),M=b("gradientColorStops"),R=b("gradientColorStopPositions"),v=b("inset"),w=b("margin"),k=b("opacity"),T=b("padding"),O=b("saturate"),H=b("scale"),se=b("sepia"),Qe=b("skew"),qe=b("space"),Je=b("translate"),Se=()=>["auto","contain","none"],Ae=()=>["auto","hidden","clip","visible","scroll"],Pe=()=>["auto",d,t],x=()=>[d,t],Ke=()=>["",U,V],ie=()=>["auto",K,d],We=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],le=()=>["solid","dashed","dotted","double","none"],Xe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Te=()=>["start","end","center","between","around","evenly","stretch"],ee=()=>["","0",d],Ze=()=>["auto","avoid","all","avoid-page","page","left","right","column"],j=()=>[K,d];return{cacheSize:500,separator:":",theme:{colors:[re],spacing:[U,V],blur:["none","",$,d],brightness:j(),borderColor:[e],borderRadius:["none","","full",$,d],borderSpacing:x(),borderWidth:Ke(),contrast:j(),grayscale:ee(),hueRotate:j(),invert:ee(),gap:x(),gradientColorStops:[e],gradientColorStopPositions:[vr,V],inset:Pe(),margin:Pe(),opacity:j(),padding:x(),saturate:j(),scale:j(),sepia:ee(),skew:j(),space:x(),translate:x()},classGroups:{aspect:[{aspect:["auto","square","video",d]}],container:["container"],columns:[{columns:[$]}],"break-after":[{"break-after":Ze()}],"break-before":[{"break-before":Ze()}],"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:[...We(),d]}],overflow:[{overflow:Ae()}],"overflow-x":[{"overflow-x":Ae()}],"overflow-mt":[{"overflow-mt":Ae()}],overscroll:[{overscroll:Se()}],"overscroll-x":[{"overscroll-x":Se()}],"overscroll-mt":[{"overscroll-mt":Se()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-x":[{"inset-x":[v]}],"inset-mt":[{"inset-mt":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],mt:[{mt:["auto",te,d]}],basis:[{basis:Pe()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",d]}],grow:[{grow:ee()}],shrink:[{shrink:ee()}],order:[{order:["first","last","none",te,d]}],"grid-cols":[{"grid-cols":[re]}],"col-start-end":[{col:["auto",{span:["full",te,d]},d]}],"col-start":[{"col-start":ie()}],"col-end":[{"col-end":ie()}],"grid-rows":[{"grid-rows":[re]}],"row-start-end":[{row:["auto",{span:[te,d]},d]}],"row-start":[{"row-start":ie()}],"row-end":[{"row-end":ie()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",d]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",d]}],gap:[{gap:[S]}],"gap-x":[{"gap-x":[S]}],"gap-mt":[{"gap-mt":[S]}],"justify-content":[{justify:["normal",...Te()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Te(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Te(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],mt:[{mt:[T]}],px:[{px:[T]}],py:[{py:[T]}],ps:[{ps:[T]}],mt:[{mt:[T]}],pt:[{pt:[T]}],pr:[{pr:[T]}],pb:[{pb:[T]}],pl:[{pl:[T]}],m:[{m:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],mt:[{mt:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-x":[{"space-x":[qe]}],"space-x-reverse":["space-x-reverse"],"space-mt":[{"space-mt":[qe]}],"space-mt-reverse":["space-mt-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",d,t]}],"min-w":[{"min-w":[d,t,"min","max","fit"]}],"max-w":[{"max-w":[d,t,"none","full","min","max","fit","prose",{screen:[$]},$]}],mt:[{mt:[d,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-mt":[{"min-mt":[d,t,"min","max","fit","svh","lvh","dvh"]}],"max-mt":[{"max-mt":[d,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[d,t,"auto","min","max","fit"]}],"font-size":[{text:["base",$,V]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Be]}],"font-family":[{font:[re]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",d]}],"line-clamp":[{"line-clamp":["none",K,Be]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",U,d]}],"list-image":[{"list-image":["none",d]}],"list-style-type":[{list:["none","disc","decimal",d]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[k]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[k]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...le(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",U,V]}],"underline-offset":[{"underline-offset":["auto",U,d]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:x()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",d]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",d]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[k]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...We(),Cr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","mt","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",kr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Sr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[R]}],"gradient-via-pos":[{via:[R]}],"gradient-to-pos":[{to:[R]}],"gradient-from":[{from:[M]}],"gradient-via":[{via:[M]}],"gradient-to":[{to:[M]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[i]}],"border-w-x":[{"border-x":[i]}],"border-w-mt":[{"border-mt":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-b":[{"border-b":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[k]}],"border-style":[{border:[...le(),"hidden"]}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-mt":[{"divide-mt":[i]}],"divide-mt-reverse":["divide-mt-reverse"],"divide-opacity":[{"divide-opacity":[k]}],"divide-style":[{divide:le()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-mt":[{"border-mt":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...le()]}],"outline-offset":[{"outline-offset":[U,d]}],"outline-w":[{outline:[U,V]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Ke()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[k]}],"ring-offset-w":[{"ring-offset":[U,V]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",$,Ar]}],"shadow-color":[{shadow:[re]}],opacity:[{opacity:[k]}],"mix-blend":[{"mix-blend":[...Xe(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Xe()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",$,d]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[g]}],invert:[{invert:[P]}],saturate:[{saturate:[O]}],sepia:[{sepia:[se]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[g]}],"backdrop-invert":[{"backdrop-invert":[P]}],"backdrop-opacity":[{"backdrop-opacity":[k]}],"backdrop-saturate":[{"backdrop-saturate":[O]}],"backdrop-sepia":[{"backdrop-sepia":[se]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-mt":[{"border-spacing-mt":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",d]}],duration:[{duration:j()}],ease:[{ease:["linear","in","out","in-out",d]}],delay:[{delay:j()}],animate:[{animate:["none","spin","ping","pulse","bounce",d]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[H]}],"scale-x":[{"scale-x":[H]}],"scale-mt":[{"scale-mt":[H]}],rotate:[{rotate:[te,d]}],"translate-x":[{"translate-x":[Je]}],"translate-mt":[{"translate-mt":[Je]}],"skew-x":[{"skew-x":[Qe]}],"skew-mt":[{"skew-mt":[Qe]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",d]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",d]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","mt","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":x()}],"scroll-mx":[{"scroll-mx":x()}],"scroll-my":[{"scroll-my":x()}],"scroll-ms":[{"scroll-ms":x()}],"scroll-mt":[{"scroll-mt":x()}],"scroll-mt":[{"scroll-mt":x()}],"scroll-mr":[{"scroll-mr":x()}],"scroll-mb":[{"scroll-mb":x()}],"scroll-ml":[{"scroll-ml":x()}],"scroll-mt":[{"scroll-mt":x()}],"scroll-px":[{"scroll-px":x()}],"scroll-py":[{"scroll-py":x()}],"scroll-ps":[{"scroll-ps":x()}],"scroll-mt":[{"scroll-mt":x()}],"scroll-pt":[{"scroll-pt":x()}],"scroll-pr":[{"scroll-pr":x()}],"scroll-pb":[{"scroll-pb":x()}],"scroll-pl":[{"scroll-pl":x()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","mt","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-mt":[{"touch-pan":["mt","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",d]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[U,V,Be]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-mt"],overscroll:["overscroll-x","overscroll-mt"],inset:["inset-x","inset-mt","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-mt":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-mt"],mt:["px","py","ps","mt","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","mt","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","mt"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-mt"],"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-mt":["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-mt":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-mt","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-mt":["scroll-px","scroll-py","scroll-ps","scroll-mt","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-mt","touch-pz"],"touch-x":["touch"],"touch-mt":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var it=mr(Ir);function l(...e){return it((0,lt.clsx)(e))}var ct=require("@radix-ui/react-slot"),dt=require("class-variance-authority"),pt=F(require("react")),mt=require("react/jsx-runtime"),Mr=(0,dt.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"mt-10 px-4 py-2",icon:"mt-10 w-10",lg:"mt-11 rounded px-8",sm:"mt-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",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),D=pt.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...n},o)=>(0,mt.jsx)(e?ct.Slot:"button",{className:l(Mr({className:t,size:r,variant:a})),ref:o,...n}));D.displayName="Button";var Re=F(require("next/link")),Q=e=>{let{type:t,appearance:r="inline",children:a,className:n,label:o,newTab:s,reference:i,size:c,url:m}=e,g=t==="reference"&&typeof i?.value=="object"&&i.value.slug?`${i?.relationTo!=="pages"?`/${i?.relationTo}`:""}/${i.value.slug}`:m;if(!g)return null;let P=r==="link"?"clear":c,S=s?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,mt.jsxs)(Re.default,{className:l(n),href:g||m||"",...S,children:[o&&o,a&&a]}):(0,mt.jsx)(D,{asChild:!0,className:n,size:P,variant:r,children:(0,mt.jsxs)(Re.default,{className:l(n),href:g||m||"",...S,children:[o&&o,a&&a]})})};var ht=require("react");var ft=F(require("next/image")),Rr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},ut="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=",gt=e=>{let{alt:t,fill:r,imgClassName:a,priority:n,resource:o,size:s,src:i,loading:c}=e,m,g,P=t,S=i||"";if(!S&&o&&typeof o=="object"){let{alt:v,filename:w,height:k,url:T,width:O}=o;if(k&&k>500){let H=500/k;m=O*H,g=k*H}else m=O,g=k;P=v||"",S=T||ut}let M=c||"lazy",R=s||Object.entries(Rr).map(([,v])=>`(max-width: ${v}px) ${v*2}w`).join(", ");return(0,mt.jsx)("picture",{children:(0,mt.jsx)(ft.default,{alt:P||"",className:l(a),fill:r,height:r?void 0:g,placeholder:"blur",blurDataURL:ut,priority:M!=="lazy"&&n,quality:100,loading:M,sizes:R,src:S,width:r?void 0:m})})};var bt=e=>{let{onClick:t,resource:r,videoClassName:a}=e,n=(0,ht.useRef)(null);if((0,ht.useEffect)(()=>{let{current:o}=n;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,mt.jsx)("video",{autoPlay:!0,className:l(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:n,children:(0,mt.jsx)("source",{src:r.url||""})})}return null};var X=e=>{let{className:t,htmlElement:r="div",resource:a}=e,n=typeof a=="object"&&a?.mimeType?.includes("video");return(0,mt.jsx)(r||ht.Fragment,{...r!==null?{className:t}:{},children:n?(0,mt.jsx)(bt,{...e}):(0,mt.jsx)(gt,{...e})})};var xt=({className:e,content:t,style:r})=>(0,mt.jsx)("div",{className:l("mx-auto my-8 w-full",e),children:(0,mt.jsx)("div",{className:l("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,mt.jsx)(B,{content:t,enableGutter:!1,enableProse:!1})})});function ue({className:e}){return l("flex items-center min-mt-[3.5rem] md:min-mt-[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 zr({className:e,...t}){return(0,mt.jsx)("input",{...t,className:ue({className:e})})}function fe({icon:e,...t}){return(0,mt.jsxs)("div",{className:"relative w-full",children:[(0,mt.jsx)(zr,{...t}),e&&(0,mt.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-mt-1/2 text-accent",children:e})]})}function Fr({className:e,...t}){return(0,mt.jsx)("textarea",{...t,className:l(ue({}),"resize-none md:min-mt-[130px]",e)})}function yt({icon:e,...t}){return(0,mt.jsxs)("div",{className:"relative w-full",children:[(0,mt.jsx)(Fr,{...t}),e&&(0,mt.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-accent",children:e})]})}var vt=require("formik"),wt=require("react-icons/fa6"),q=F(require("yup")),xe=require("sonner"),L={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},Dr=q.object().shape({name:q.string().min(2,L.tooShort).max(50,L.tooLong).required(L.required),email:q.string().email(L.email).required(L.required),subject:q.string().min(2,L.tooShort).max(50,L.tooLong).required(L.required),message:q.string().min(2,L.tooShort).max(300,L.tooLong).required(L.required)}),ge=l("!pr-[44px] text-foreground"),be=l("!border-red-600 border"),he=l("sr-only");function kt({onSubmit:e}={}){return(0,mt.jsx)(vt.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:Dr,onSubmit:async(t,{resetForm:r})=>{if(!e){xe.toast.error("Form submission not configured");return}let a=await e(t);a.data===null?xe.toast.error(a.message):(xe.toast.success(a.message),r())},children:({errors:t,touched:r,values:a,handleChange:n,handleBlur:o,isSubmitting:s,handleSubmit:i})=>(0,mt.jsxs)("form",{onSubmit:i,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,mt.jsxs)("div",{children:[(0,mt.jsx)(fe,{placeholder:"Your Name",type:"text",name:"name",value:a.name,onChange:n,onBlur:o,disabled:s,icon:(0,mt.jsx)(wt.FaUser,{className:"text-primary"}),className:l(ge,t.name&&r.name&&be)}),t.name&&r.name&&(0,mt.jsx)("mt",{title:t.name,"aria-live":"polite",role:"error message",className:he,children:t.name})]}),(0,mt.jsxs)("div",{children:[(0,mt.jsx)(fe,{placeholder:"Your Email",type:"email",name:"email",value:a.email,onChange:n,onBlur:o,disabled:s,icon:(0,mt.jsx)(Lr,{}),className:l(ge,t.email&&r.email&&be)}),t.email&&r.email&&(0,mt.jsx)("mt",{title:t.email,"aria-live":"polite",role:"error message",className:he,children:t.email})]}),(0,mt.jsxs)("div",{className:"lg:col-span-2",children:[(0,mt.jsx)(fe,{placeholder:"Subject",type:"text",name:"subject",value:a.subject,onChange:n,onBlur:o,disabled:s,className:l(ge,t.subject&&r.subject&&be)}),t.subject&&r.subject&&(0,mt.jsx)("mt",{title:t.subject,"aria-live":"polite",role:"error message",className:he,children:t.subject})]}),(0,mt.jsxs)("div",{className:"lg:col-span-2",children:[(0,mt.jsx)(yt,{placeholder:"Message...",name:"message",value:a.message,onChange:n,onBlur:o,disabled:s,icon:(0,mt.jsx)(Hr,{}),className:l(ge,t.message&&r.message&&be)}),t.message&&r.message&&(0,mt.jsx)("mt",{title:t.message,"aria-live":"polite",role:"error message",className:he,children:t.message})]}),(0,mt.jsx)("div",{className:"lg:col-span-2 light grid justify-items-center",children:(0,mt.jsx)(D,{type:"submit",className:"outline px-6 rounded-full outline-accent bg-background text-foreground hover:bg-accent hover:text-accent-foreground",disabled:s,children:"Send"})})]})})}function Lr(){return(0,mt.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,mt.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 Hr(){return(0,mt.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,mt.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 Nt=({links:e,richText:t})=>{let[r,a]=(0,ht.useState)(!1),n="accent",o=()=>a(!0),s=()=>a(!1),i=c=>{c.target===c.currentTarget&&s()};return(0,mt.jsxs)("div",{className:l("relative isolate overflow-hidden",n==="accent"?"bg-accent":"bg-black"),children:[(0,mt.jsx)("div",{className:"px-6 py-24 sm:px-6 sm:py-32 lg:px-8",children:(0,mt.jsxs)("div",{className:"mx-auto max-w-2xl text-center prose",children:[t&&(0,mt.jsx)(B,{className:"mb-0 prose-headings:text-white prose-h2:text-white prose-mt:text-white text-white",content:t,enableGutter:!1}),(0,mt.jsx)("div",{className:"mt-10 flex items-center justify-center gap-x-6",children:(0,mt.jsx)("div",{className:"flex flex-col gap-8 text-white",children:(e||[]).map(({link:c},m)=>c?.url==="/contact"?(0,mt.jsx)("div",{onClick:o,className:l("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",n==="accent"?"border-white bg-accent":"border-accent bg-black"),children:c.label},m):(0,mt.jsx)(Q,{size:"lg",className:l("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",n==="accent"?"border-white bg-accent":"border-accent bg-black"),...c},m))})})]})}),r&&(0,mt.jsx)("div",{className:"absolute inset-0 mt-50 flex items-center justify-center bg-black bg-opacity-50",onClick:i,children:(0,mt.jsxs)("div",{className:"bg-white mt-6 pt-10 rounded-lg shadow-lg w-full max-w-lg light relative",children:[(0,mt.jsx)("button",{className:"absolute top-4 right-4 text-gray-500 hover:text-gray-700",onClick:s,children:"\u2715"}),(0,mt.jsx)(kt,{})," "]})})]})};var ye=require("prism-react-renderer");var St=require("lucide-react");function Pt({code:e}){let[t,r]=(0,ht.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,mt.jsx)("div",{className:"flex justify-end align-middle",children:(0,mt.jsxs)(D,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,mt.jsx)("mt",{children:t}),(0,mt.jsx)("div",{className:"w-6 mt-6",children:(0,mt.jsx)(St.ClipboardCopy,{})})]})})}var Tt=({code:e,language:t=""})=>e?(0,mt.jsx)(ye.Highlight,{code:e,language:t,theme:ye.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:n})=>(0,mt.jsxs)("pre",{className:"bg-black mt-4 border text-xs border-border rounded overflow-x-auto",children:[n.map((o,s)=>(0,mt.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,mt.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:s+1}),(0,mt.jsx)("span",{className:"table-cell pl-4",children:o.map((i,c)=>(0,mt.jsx)("span",{...a({token:i})},c))})]},s)),(0,mt.jsx)(Pt,{code:e})]})}):null;var Bt=({className:e,code:t,language:r})=>(0,mt.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,mt.jsx)(Tt,{code:t,language:r})});var It=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,mt.jsx)("div",{className:l("mt-full ",{container:r},t),children:(0,mt.jsx)(X,{imgClassName:l("rounded-[0.8rem]",a),className:"flex justify-center",resource:n,src:o})})};var Mt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,mt.jsx)("div",{className:l("",{container:r},t),children:(0,mt.jsx)(X,{imgClassName:l("rounded-[0.8rem]",a),resource:n,src:o})})};var Ge=({type:e="solid",iconName:t="cloud",size:r="lg",className:a})=>{let n=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,s=a??"",i=n+o+" fa-"+r+" "+s;return(0,mt.jsx)("i",{className:i})};var Ft=F(require("next/image"));function zt(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function Ee({image:e,icon:t,title:r,subtitle:a,content:n,statistic:o,settings:s,link:i,className:c}){let m={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:"bg-background"},g={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,mt.jsxs)("a",{href:i?.url||"#",className:l("min-w-56 max-w-xl mt-full flex flex-col group bg-background",e?"mt-0":"mt-6 md:mt-8",s&&!e&&m[s?.card==="default"?"solid":s?.card],e&&"bg-foreground",s&&s?.card==="outline"?"text-gray-900":"text-white",g[s?.width??"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",s&&`intersect:animate-delay-${s.order||1}00`,c),children:[e&&(0,mt.jsx)("div",{className:"relative aspect-[16/9] w-full",children:(0,mt.jsx)(Ft.default,{src:e.url||"/placeholder.svg",alt:e.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),(0,mt.jsxs)("div",{className:l(e?"mt-6 md:mt-8":"mt-0","flex flex-col flex-grow"),children:[(0,mt.jsxs)("div",{className:"flex flex-col flex-grow",children:[a&&(0,mt.jsx)("div",{className:"text-primary uppercase text-sm font-light mb-4",children:a}),(0,mt.jsx)("div",{className:"flex items-start gap-4 mb-4",children:(0,mt.jsx)(Gr,{icon:{type:t?.type||"fa-light",iconName:t?.icon||"no-icon-error"},heading:r??"",variant:s?.card==="default"?"solid":s?.card??"solid",iconSize:s?.iconSize||"large"})}),n&&typeof n=="object"&&(0,mt.jsx)(B,{enableGutter:!1,content:n,enableProse:!1,className:l("prose-sm prose-mt:text-lg prose-headings:text-xl","space-mt-3",s?.card==="outline"||s?.card==="light"?"prose-headings:text-foreground prose-mt:text-foreground prose-a:text-foreground":"prose-headings:text-white prose-mt:text-gray-100 prose-a:text-gray-100",e&&"prose-headings:text-background prose-mt:text-background")}),n&&typeof n=="string"&&(0,mt.jsx)("div",{className:l("prose-sm prose-mt:text-lg prose-headings:text-xl","space-mt-3",s?.card==="outline"||s?.card==="light"?"prose text-foreground":"prose text-gray-100",e&&"prose text-background"),children:n})]}),i&&i.url&&(0,mt.jsx)("div",{className:"mt-6",children:(0,mt.jsx)("span",{className:"text-accent font-semibold uppercase text-sm block hover:text-accent/80 transition-colors",children:i?.label||"Find out more"})})]})]})}var Gr=({icon:e,heading:t,variant:r,iconSize:a,subtitle:n})=>e&&a==="small"&&e.iconName!="no-icon-error"?(0,mt.jsxs)("div",{className:"flex items-start justify-between w-full mb-2",children:[(0,mt.jsx)("div",{className:l(r==="outline"||r==="light"?"text-primary":"text-white",a==="small"?"text-2xl":"text-3xl"),children:t}),zt(e)&&(0,mt.jsx)("div",{className:l("rounded-full mt-0 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-primary":"text-white",a==="small"?"-mr-2 ml-1 mt-1":""),children:(0,mt.jsx)(Ge,{type:e.type,iconName:e.iconName,size:"2x"})})]}):e&&e.iconName!="no-icon-error"?(0,mt.jsxs)("div",{className:"flex flex-col gap-4",children:[zt(e)&&(0,mt.jsx)("div",{className:l("mt-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-accent":""),children:(0,mt.jsx)(Ge,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,mt.jsx)("h3",{className:l("font-normal",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl text-white"),children:t})]}):(0,mt.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,mt.jsx)("div",{className:l("font-regular",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var Lt=(0,dt.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 ae({className:e,variant:t,...r}){return(0,mt.jsx)("div",{className:l(Lt({variant:t}),e),...r})}var Gt=({title:e,description:t,features:r,id:a,nested:n=!1})=>(0,mt.jsxs)("section",{className:l(n?"w-full":"",""),children:[(0,mt.jsxs)("div",{className:"prose prose:max-w-none",children:[e&&(0,mt.jsx)("h2",{className:"mb-6 mt-0 text-primary",id:a||"",children:e}),t&&typeof t=="string"&&(0,mt.jsx)("mt",{className:"mb-5 text-foreground",children:t}),t&&typeof t=="object"&&(0,mt.jsx)("div",{className:"mb-5 text-foreground",children:(0,mt.jsx)(B,{content:t,enableGutter:!1})})]}),(0,mt.jsx)("div",{className:`grid gap-6 mt-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((o,s)=>{let i=()=>{if(o.icon&&"type"in o.icon&&o.icon.type!=="none")return{type:o.icon.type,icon:o.icon.icon}};return(0,mt.jsx)(Ee,{title:o.title||"",content:o.content||void 0,statistic:o.statistic||void 0,settings:{...o.settings,width:"auto",order:s},link:o.link?{...o.link,label:"Learn more"}:void 0,icon:i()??{type:"none",icon:null}},s)})})]});var ve=F(require("react"));function ne({nodes:e}){return(0,mt.jsx)(ve.Fragment,{children:e?.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,mt.jsx)(ve.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,mt.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,mt.jsx)("em",{children:o},r)),t.format&4&&(o=(0,mt.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,mt.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,mt.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,mt.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,mt.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,mt.jsx)("table",{children:(0,mt.jsx)("tbody",{children:t.children.map((o,s)=>(0,mt.jsx)("tr",{children:o.children.map((i,c)=>(0,mt.jsx)("td",{children:ne({nodes:i.children})},c))},s))})},r);let a=o=>{if(o.children==null)return null;if(o?.type==="list"&&o?.listType==="check")for(let s of o.children)"checked"in s&&(s?.checked||(s.checked=!1));return ne({nodes:o.children})},n="children"in t?a(t):"";if(t.type==="block"){let o=t.fields,s=o?.blockType;if(!o||!s)return null;switch(s){case"cta":return(0,mt.jsx)(Nt,{...o},r);case"mediaBlock":return(0,mt.jsx)(It,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,mt.jsx)(Mt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,mt.jsx)(xt,{className:"col-start-2 mb-4",...o},r);case"code":return(0,mt.jsx)(Bt,{className:"col-start-2",...o},r);case"features":return(0,mt.jsx)(Gt,{...o,nested:!0},r);case"reusableContentBlock":ne({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,mt.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,mt.jsx)("mt",{className:"col-start-2",children:n},r);case"heading":{let o=t?.tag;return(0,mt.jsx)(o,{className:"col-start-2",id:t?.id||"",children:n},r)}case"list":{let o=t?.tag;return(0,mt.jsx)(o,{className:"list col-start-2",children:n},r)}case"listitem":return t?.checked!=null?(0,mt.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t?.value,children:n},r):(0,mt.jsx)("li",{value:t?.value,children:n},r);case"quote":return(0,mt.jsx)("blockquote",{className:"col-start-2",children:n},r);case"link":{let o=t.fields;return(0,mt.jsx)(Q,{newTab:!!o?.newTab,reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}case"autolink":{let o=t.fields;return(0,mt.jsx)(Q,{newTab:!!o?.newTab,reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}default:return null}})})}var B=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>t?(0,mt.jsx)("div",{className:l({"container ":r,"max-w-none":!r,"mx-auto prose":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&ne({nodes:t?.root?.children})}):null;var je=({links:e,media:t,children:r,richText:a})=>(0,mt.jsx)("div",{children:(0,mt.jsxs)("div",{className:"sticky top-0 mt-[70vh] min-mt-[600px]",children:[(0,mt.jsxs)("div",{className:"fixed inset-0 container mt-24 mb-8 mt-10 flex items-start justify-center",children:[r||a&&(0,mt.jsx)(B,{className:"max-w-none mt-0 mb-6 ml-0 prose prose-headings:text-foreground prose-mt:text-foreground",content:a,enableGutter:!0}),Array.isArray(e)&&e.length>0&&(0,mt.jsx)("ul",{className:"flex justify-center gap-4",children:e.map(({link:n},o)=>(0,mt.jsx)("li",{children:(0,mt.jsx)(Q,{...n})},o))})]}),(0,mt.jsxs)("div",{className:"fixed inset-0 mt-[70vh] min-mt-[600px] select-none",children:[t&&typeof t=="object"&&(0,mt.jsx)(X,{fill:!0,imgClassName:"mt-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&(0,mt.jsx)("div",{children:(0,mt.jsx)(jt.default,{className:"-mt-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,mt.jsx)("span",{className:"absolute inset-0 bg-gradient-to-b from-white dark:from-black"})]}),(0,mt.jsx)(Er,{})]})}),Er=()=>(0,mt.jsx)("div",{className:"w-full mt-[1240px] mt-10",children:(0,mt.jsxs)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 337",style:{fontSize:0,float:"left",zIndex:20},className:"absolute -bottom-[2px] flex",children:[(0,mt.jsx)("defs",{children:(0,mt.jsxs)("mask",{id:"mask",children:[(0,mt.jsx)("rect",{width:"1920",height:"332",fill:"white"}),(0,mt.jsx)("polygon",{points:"0 0 0 135 1255 330 1920 0 1920 0 1920 0 0 0"})]})}),(0,mt.jsx)("rect",{width:"1920",height:"332",fill:"white",mask:"url(#mask)"}),(0,mt.jsx)("rect",{mt:"330",width:"1920",height:"7",fill:"white"})," "]})});var Ue=F(require("next/image"));var jr=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:r,height:a,url:n,width:o}=e;return(0,mt.jsx)(Ue.default,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:n||"",width:o||0,height:a||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return(0,mt.jsx)("div",{children:(0,mt.jsx)(Ue.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},Ye=({links:e,media:t,children:r,richText:a})=>(0,mt.jsxs)("div",{className:"relative bg-brand-one pb-12 mt-20 pt-10",children:[t&&(0,mt.jsx)(jr,{media:t}),(0,mt.jsx)("div",{className:"mx-0 min-w-full relative mt-9",children:(0,mt.jsx)("div",{className:"container text-brand-one-foreground",children:r||a&&(0,mt.jsx)(B,{className:"prose-headings:text-brand-one-foreground prose-mt:text-brand-one-foreground",content:a,enableProse:!0,enableGutter:!1})})})]});var Oe=({children:e,richText:t})=>(0,mt.jsx)("div",{className:"min-w-full py-10 bg-muted mt-24",children:(0,mt.jsx)("div",{className:"container",children:e||t&&(0,mt.jsx)(B,{content:t,enableGutter:!1})})});var Yt=F(require("react")),Ot=F(require("next/image"));var Ut=e=>{let r=new Date;e&&(r=new Date(e));let a=r.getMonth(),n=r.getDate(),o=a+1<10?`0${a+1}`:a+1,s=n<10?`0${n}`:n,i=r.getFullYear();return`${s}/${o}/${i}`};var Ur=({post:e})=>{let{categories:t,meta:r,populatedAuthors:a,publishedAt:n,title:o}=e;return(0,mt.jsxs)("div",{className:"relative grid pt-24",children:[(0,mt.jsx)("div",{className:"relative mt-10 flex flex-col justify-end min-mt-[50vh] text-foreground dark:text-foreground pt-24 mt-6 lg:mt-12",children:(0,mt.jsxs)("div",{className:"container mx-auto",children:[(0,mt.jsx)("h1",{className:"mb-6 text-[clamp(2rem,1.5rem+1.5vw,3.5rem)] font-bold leading-tight ",children:o}),(0,mt.jsxs)("div",{className:"flex flex-col gap-4 md:flex-row md:gap-16 ",children:[a&&a.length>0&&(0,mt.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,mt.jsxs)("mt",{className:"text-sm",children:["Author",a.length>1?"s":""]}),(0,mt.jsx)("mt",{children:a.map((s,i)=>(0,mt.jsxs)(Yt.default.Fragment,{children:[s.name,i<a.length-2&&", ",i===a.length-2&&(a.length>2?", and ":" and ")]},s.id))})]}),n&&(0,mt.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,mt.jsx)("mt",{className:"text-sm",children:"Date Published"}),(0,mt.jsx)("time",{dateTime:n,children:Ut(n)})]}),t&&t.length>0&&(0,mt.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,mt.jsx)("mt",{className:"text-sm font-medium",children:"Categories"}),(0,mt.jsx)("div",{className:"flex flex-wrap gap-2",children:t.map((s,i)=>typeof s=="object"&&s!==null&&(0,mt.jsx)(ae,{className:"px-3 py-1 mx-1",children:s.title||"Untitled category"},s.id||i))})]})]})]})}),(0,mt.jsxs)("div",{className:"absolute inset-0 w-full mt-full",children:[(0,mt.jsx)(Ot.default,{className:"object-cover",alt:`Cover image for ${o}`,src:r?.image?.url||"/assets/images/blog/gradient.png",fill:!0,priority:!0,sizes:"100vw"}),(0,mt.jsx)("div",{className:"absolute pointer-events-none left-0 bottom-0 w-full mt-1/2 bg-gradient-to-t from-background dark:from-black to-transparent"})]})]})};var ke=require("@heroicons/react/20/solid");var Ve=F(require("next/image"));var Vt=({position:e,className:t=""})=>{let r=["","scale(-1, 1)","scale(1, -1)","scale(-1, -1)"],a=r[Math.floor(Math.random()*r.length)];if(e==="header")return(0,mt.jsx)("div",{className:"w-full mt-[1240px] mt-20",children:(0,mt.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:l(t,"absolute -bottom-[2px] flex"),children:[(0,mt.jsx)("defs",{children:(0,mt.jsxs)("mask",{id:"mask",children:[(0,mt.jsx)("rect",{width:"1920",height:"332",fill:"white"}),(0,mt.jsx)("polygon",{points:"0 0 0 135 1255 330 1920 0 1920 0 1920 0 0 0"})]})}),(0,mt.jsx)("rect",{width:"1920",height:"332",fill:"white",mask:"url(#mask)"}),(0,mt.jsx)("rect",{mt:"331",width:"1920",height:"7",fill:"white"})," "]})});if(e==="top")return(0,mt.jsxs)("div",{className:"w-full mt-20 aspect-[1920/332] overflow-hidden ",children:[(0,mt.jsxs)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",className:l(t,"absolute "),style:{fontSize:0,float:"left",alignContent:"flex-end",transform:"scale(-1, 1)"},children:[(0,mt.jsx)("defs",{children:(0,mt.jsxs)("mask",{id:"mask",children:[(0,mt.jsx)("rect",{width:"100%",height:"100%",fill:"white"}),(0,mt.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),(0,mt.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0",fill:"black"})]}),(0,mt.jsx)("div",{className:"absolute -bottom-[5px] border-none left-0 w-full mt-[6px] mt-10 bg-white"})]});if(e==="dark-top")return(0,mt.jsx)("div",{className:"w-full aspect-[1920/332] mt-20 content-end block overflow-hidden",children:(0,mt.jsxs)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"xMidYMax meet",className:l(t,"relative "),style:{fontSize:0,float:"left"},transform:r[3],children:[(0,mt.jsx)("defs",{children:(0,mt.jsxs)("mask",{id:"mask",children:[(0,mt.jsx)("rect",{width:"100%",height:"100%",fill:"white"}),(0,mt.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),(0,mt.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,mt.jsx)("div",{className:"w-full aspect-[1920/332] mt-20 content-start block overflow-hidden bg-white",children:(0,mt.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:l(t,"w-full block overflow-hidden"),children:(0,mt.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,mt.jsx)("div",{className:"w-full aspect-[1920/332] mt-20 content-end block overflow-hidden",children:(0,mt.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:l(t,"w-full block overflow-hidden"),transform:r[3],children:(0,mt.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,mt.jsx)("div",{className:"w-full aspect-[1920/332] mt-20 relative -bottom-[1px]",children:(0,mt.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:l(t,"w-full block overflow-hidden"),children:(0,mt.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})})};var $e=({title:e,image:t})=>(0,mt.jsx)("div",{children:(0,mt.jsxs)("div",{className:"sticky top-0 mt-[50vh] min-mt-[400px]",children:[(0,mt.jsx)("div",{className:"fixed inset-0 container mt-24 mb-8 mt-10 flex items-start justify-start",children:(0,mt.jsx)("h1",{className:"text-5xl md:text-6xl",children:e})}),(0,mt.jsxs)("div",{className:"fixed inset-0 mt-[50vh] min-mt-[400px] select-none",children:[t&&typeof t=="object"&&(0,mt.jsx)(Ve.default,{priority:!0,src:t.src,alt:`${process.env.NEXT_PUBLIC_SITE_NAME}`,layout:"fill",style:{objectFit:"cover"},sizes:"100vw",className:"pointer-events-none object-cover"}),t&&typeof t=="string"&&(0,mt.jsx)("div",{children:(0,mt.jsx)(Ve.default,{className:"-mt-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,mt.jsx)("span",{className:"absolute inset-0 bg-gradient-to-b from-white dark:from-black"})]}),(0,mt.jsx)(Vt,{className:"text-black mt-10",position:"header"})]})});var Yr={highImpact:je,lowImpact:Oe,mediumImpact:Ye,sectionHero:$e},Or=e=>{let{type:t}=e||{};if(!t||t==="none")return null;let r=Yr[t];return r?(0,mt.jsx)(r,{...e}):null};function Vr({breadcrumbItems:e}){if(e&&e.length>0){let t=e.filter(r=>r.label.toLowerCase()!=="home");return(0,mt.jsx)("nav",{"aria-label":"Breadcrumb",className:"flex",children:(0,mt.jsxs)("ol",{role:"list",className:"flex items-center space-x-4",children:[(0,mt.jsx)("li",{children:(0,mt.jsx)("div",{children:(0,mt.jsxs)("a",{href:"/",className:"text-foreground hover:text-accent",children:[(0,mt.jsx)(ke.HomeIcon,{"aria-hidden":"true",className:"size-5 shrink-0"}),(0,mt.jsx)("span",{className:"sr-only",children:"Home"})]})})}),t.map((r,a)=>(0,mt.jsx)("li",{children:(0,mt.jsxs)("div",{className:"flex items-center",children:[(0,mt.jsx)(ke.ChevronRightIcon,{"aria-hidden":"true",className:"size-5 shrink-0 text-gray-400"}),r.href?(0,mt.jsx)("a",{href:r.href,className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:r.label}):(0,mt.jsx)("div",{className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:r.label})]})},a))]})})}return(0,mt.jsx)(mt.Fragment,{})}var Qt=require("motion/react");function $t(e,t){let[r,a]=(0,ht.useState)(()=>{if(typeof window>"mt")return t;try{let o=window.localStorage.getItem(e);return o?JSON.parse(o):t}catch{return t}}),n=o=>{try{a(o),typeof window<"mt"&&window.localStorage.setItem(e,JSON.stringify(o))}catch{}};return(0,ht.useEffect)(()=>{n(r)},[]),[r,n]}var Ne=require("react-icons/fa");function $r({title:e,description:t,badge:r,primaryAction:a,secondaryAction:n,gradient:o,children:s,className:i}){let[c,m]=$t(`hero-section-minimized-${e.replace(/\s+/g,"-").toLowerCase()}`,!n&&!t),g=!n&&!t||c;return(0,mt.jsxs)(Qt.motion.div,{initial:{opacity:0,mt:20},animate:{opacity:1,mt:0},transition:{duration:.5},className:`overflow-hidden rounded-3xl ${o} mt-8 text-white ${i||""}`,children:[(0,mt.jsxs)("div",{className:"flex items-center justify-between mb-2",children:[(0,mt.jsxs)("div",{className:"flex items-center gap-3",children:[r&&(0,mt.jsx)(ae,{className:"bg-white/20 text-white hover:bg-white/30 rounded-xl",children:r}),(0,mt.jsx)("h2",{className:"text-3xl font-bold m-0",children:e})]}),(0,mt.jsxs)("div",{className:"flex items-center gap-3",children:[g&&a&&(0,mt.jsx)(D,{className:"rounded-2xl bg-white text-indigo-700 hover:bg-white/90",onClick:a.onClick,children:a.label}),(n||t)&&(0,mt.jsx)("button",{"aria-label":c?"Expand hero section":"Minimize hero section",className:"rounded-full bg-white/20 hover:bg-white/30 mt-1 text-white transition-colors",onClick:()=>m(!c),style:{lineHeight:0},children:c?(0,mt.jsx)(Ne.FaChevronDown,{size:22}):(0,mt.jsx)(Ne.FaChevronUp,{size:22})})]})]}),!g&&(0,mt.jsxs)("div",{className:"flex flex-col gap-6 md:flex-row md:items-center md:justify-between",children:[(0,mt.jsxs)("div",{className:"space-mt-4",children:[(0,mt.jsx)("mt",{className:"max-w-[600px] text-white/80",children:t}),(0,mt.jsxs)("div",{className:"flex flex-wrap gap-3",children:[a&&(0,mt.jsx)(D,{className:"rounded-2xl bg-white text-indigo-700 hover:bg-white/90",onClick:a.onClick,children:a.label}),n&&(0,mt.jsx)(D,{variant:"outline",className:"rounded-2xl bg-transparent border-white text-white hover:bg-white/10",onClick:n.onClick,children:n.label})]})]}),s&&(0,mt.jsx)("div",{className:"hidden lg:block",children:s})]})]})}0&&(module.exports={Breadcrumbs,DashboardHero,HighImpactHero,LowImpactHero,MediumImpactHero,PostHero,RenderHero,SectionHero});
|