cortex-react-components 1.12.0 → 1.13.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-LKCIMTS6.mjs → chunk-35M3KU5K.mjs} +1 -1
- package/dist/{chunk-SPDBC32Z.mjs → chunk-55BPPKDS.mjs} +1 -1
- package/dist/{chunk-MESSAICX.mjs → chunk-63BUZTVI.mjs} +1 -1
- package/dist/{chunk-JG5NJABD.mjs → chunk-6KP2GMUZ.mjs} +1 -1
- package/dist/chunk-AVQWXJLX.mjs +1 -0
- package/dist/{chunk-LKMZ5ROU.mjs → chunk-CQHNH3XJ.mjs} +1 -1
- package/dist/{chunk-IPHHUHS3.mjs → chunk-D43ENVPX.mjs} +1 -1
- package/dist/{chunk-WMZYFRHZ.mjs → chunk-FEBVOLWP.mjs} +1 -1
- package/dist/{chunk-BYXLOV2Z.mjs → chunk-FHRWUBJS.mjs} +1 -1
- package/dist/{chunk-VQGKJUW5.mjs → chunk-H2TB2T6H.mjs} +1 -1
- package/dist/chunk-H7ODBERR.mjs +1 -0
- package/dist/{chunk-CP6IA4YZ.mjs → chunk-IB72MBM7.mjs} +1 -1
- package/dist/{chunk-LBKMUSVR.mjs → chunk-IE2A7UT3.mjs} +1 -1
- package/dist/{chunk-VY32UTE2.mjs → chunk-KVLKXXVS.mjs} +1 -1
- package/dist/chunk-LQZTCLMG.mjs +3 -0
- package/dist/{chunk-5PD7YZ3V.mjs → chunk-MLVUDDTJ.mjs} +1 -1
- package/dist/chunk-MMYJQ5QE.mjs +1 -0
- package/dist/{chunk-CSUTG7F5.mjs → chunk-N7Z6I6KY.mjs} +1 -1
- package/dist/{chunk-3QQFCCOW.mjs → chunk-NKCGKJAC.mjs} +1 -1
- package/dist/{chunk-WQF47M5N.mjs → chunk-NSUCU5DU.mjs} +1 -1
- package/dist/{chunk-DSTWQW3O.mjs → chunk-O6V6PM4N.mjs} +1 -1
- package/dist/{chunk-6FHLIH4J.mjs → chunk-ODLDYXPZ.mjs} +1 -1
- package/dist/{chunk-5EX5KVLO.mjs → chunk-OEM7RQ4Q.mjs} +1 -1
- package/dist/{chunk-L2V7M5EM.mjs → chunk-Q24IVBS5.mjs} +1 -1
- package/dist/{chunk-5TTFPIXL.mjs → chunk-Q3HKMCDA.mjs} +1 -1
- package/dist/{chunk-CW7WANDA.mjs → chunk-QRNJ7O2L.mjs} +1 -1
- package/dist/{chunk-PVOG5PVP.mjs → chunk-QUBJO7F3.mjs} +1 -1
- package/dist/{chunk-YPP62UKD.mjs → chunk-RQKTHY3B.mjs} +1 -1
- package/dist/{chunk-KDTPVITC.mjs → chunk-UN4YL2CJ.mjs} +1 -1
- package/dist/components/Blocks/Banner.mjs +1 -1
- package/dist/components/Blocks/CallToAction.mjs +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
- package/dist/components/Blocks/ImageBlock.mjs +1 -1
- package/dist/components/Blocks/MediaBlock.mjs +1 -1
- package/dist/components/Blocks/RelatedPosts.mjs +1 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/Cards/EventCard.js +1 -1
- package/dist/components/Cards/EventCard.mjs +1 -1
- package/dist/components/Cards/EventCard.stories.js +1 -1
- package/dist/components/Cards/EventCard.stories.mjs +1 -1
- package/dist/components/Cards/index.d.ts +2 -0
- package/dist/components/Cards/index.js +4 -4
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Heros/HighImpact/index.mjs +1 -1
- package/dist/components/Heros/LowImpact/index.mjs +1 -1
- package/dist/components/Heros/MediumImpact/index.mjs +1 -1
- package/dist/components/Heros/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.mjs +1 -1
- package/dist/components/Layouts/NewsGrid.mjs +1 -1
- package/dist/components/Layouts/NewsGrid.stories.mjs +1 -1
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
- package/dist/components/Menus/SidebarRight.mjs +1 -1
- package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/Other/index.mjs +1 -1
- package/dist/components/Pages/Documentation.mjs +1 -1
- package/dist/components/Pages/Documentation.stories.mjs +1 -1
- package/dist/components/Pages/IndexPage.mjs +1 -1
- package/dist/components/Pages/IndexPage.stories.mjs +1 -1
- package/dist/components/Pages/Intranet.js +1 -1
- package/dist/components/Pages/Intranet.mjs +1 -1
- package/dist/components/Pages/Intranet.stories.js +1 -1
- package/dist/components/Pages/Intranet.stories.mjs +1 -1
- package/dist/components/Pages/LandingPage.mjs +1 -1
- package/dist/components/Pages/LandingPage.stories.mjs +1 -1
- package/dist/components/Pages/Page.mjs +1 -1
- package/dist/components/Pages/Page.stories.mjs +1 -1
- package/dist/components/Pages/Website.js +1 -1
- package/dist/components/Pages/Website.mjs +1 -1
- package/dist/components/Pages/Website.stories.js +198 -198
- package/dist/components/Pages/Website.stories.mjs +1 -1
- package/dist/components/Payload/Card/index.mjs +1 -1
- package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
- package/dist/components/Payload/Media/index.mjs +1 -1
- package/dist/components/Payload/RichText/index.mjs +1 -1
- package/dist/components/Payload/RichText/serialize.mjs +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/index.js +4 -4
- 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/globals.css +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +4 -4
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/PricingSection.stories.mjs +1 -1
- package/dist/sections/ServiceSection.mjs +1 -1
- package/dist/sections/ServiceSection.stories.mjs +1 -1
- package/dist/sections/index.d.ts +2 -0
- package/dist/sections/index.js +4 -0
- package/dist/sections/index.mjs +1 -0
- package/package.json +1 -1
- package/dist/chunk-ADICCM6Y.mjs +0 -1
- package/dist/chunk-MRAO4LPD.mjs +0 -1
- package/dist/chunk-OD4RCKMK.mjs +0 -3
- package/dist/chunk-SEFPOIPK.mjs +0 -1
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
"use strict";
|
|
4
4
|
|
|
5
|
-
"use strict";"use client";var wt=Object.create;var ie=Object.defineProperty;var At=Object.getOwnPropertyDescriptor;var Ct=Object.getOwnPropertyNames;var Nt=Object.getPrototypeOf,Pt=Object.prototype.hasOwnProperty;var Rt=(e,t)=>{for(var r in t)ie(e,r,{get:t[r],enumerable:!0})},Ge=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Ct(t))!Pt.call(e,a)&&a!==r&&ie(e,a,{get:()=>t[a],enumerable:!(o=At(t,a))||o.enumerable});return e};var T=(e,t,r)=>(r=e!=null?wt(Nt(e)):{},Ge(t||!e||!e.__esModule?ie(r,"default",{value:e,enumerable:!0}):r,e)),kt=e=>Ge(ie({},"__esModule",{value:!0}),e);var wr={};Rt(wr,{Primary:()=>yr,default:()=>vr});module.exports=kt(wr);var Ue=require("react/jsx-runtime"),q=({type:e="solid",iconName:t="cloud",size:r="lg",className:o})=>{let a="fa-"+e+" ",n="fa-"+t,i=o!=null?o:"",s=a+n+" fa-"+r+" "+i;return(0,Ue.jsx)("i",{className:s})};var O=require("react"),M=require("@headlessui/react"),ce=require("@heroicons/react/24/outline"),X=require("@heroicons/react/20/solid");var It=({name:e,items:t,actions:r=[],href:o})=>!t&&o?(0,Ue.jsxs)("a",{href:o,className:"relative inline-block text-sm font-semibold text-foreground group",children:[e,(0,Ue.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-Ue-1/2 scale-Ue-0 transition-transform duration-300 ease-in-out group-hover:scale-Ue-100"})]}):(0,Ue.jsxs)(M.Popover,{children:[(0,Ue.jsxs)(M.PopoverButton,{className:"flex items-center gap-Ue-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,Ue.jsxs)("span",{className:"relative",children:[e,(0,Ue.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-Ue-1/2 scale-Ue-0 transition-transform duration-300 ease-in-out group-hover:scale-Ue-100"})]}),(0,Ue.jsx)(X.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,Ue.jsxs)(M.PopoverPanel,{transition:!0,className:"absolute inset-Ue-0 top-0 -mt-10 bg-popover mt-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-y-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,Ue.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-Ue-4 px-6 py-10 lg:px-8 xl:gap-Ue-8 mt-50",children:t&&t.map(a=>(0,Ue.jsxs)("div",{className:"group relative rounded-lg Ue-6 text-sm/6 box-border",children:[(0,Ue.jsx)("div",{className:"flex h-16 w-16 items-center justify-center rounded-lg bg-popover group-hover:text-accent transition-transform duration-300 ease-in-out group-hover:scale-90",children:(0,Ue.jsx)(a.icon,{"aria-hidden":"true",size:"6x"})}),(0,Ue.jsxs)("a",{href:a.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[a.name,(0,Ue.jsx)("span",{className:"absolute inset-0"})]}),(0,Ue.jsx)("Ue",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:a.description})]},a.name))}),r.length>0&&(0,Ue.jsx)("div",{className:"bg-gray-50",children:(0,Ue.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,Ue.jsx)("div",{className:"grid grid-cols-3 divide-Ue divide-gray-900/5 border-Ue border-gray-900/5",children:r.map(a=>(0,Ue.jsxs)("a",{href:a.href,className:"flex items-center justify-center gap-Ue-2.5 Ue-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[(0,Ue.jsx)(a.icon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-gray-400"}),a.name]},a.name))})})})]})]}),Ve=It;var le=["light","dark","green"];function je({title:e,logo:t,menuItems:r}){let[o,a]=(0,O.useState)(!1),[n,i]=(0,O.useState)(!1),[s,g]=(0,O.useState)("light"),l=t==null?void 0:t.split(".")[0],u=t==null?void 0:t.split(".")[1],[w,v]=(0,O.useState)(`${l}.${u}`),C=c=>{le.includes(c)?v(c==="light"?`${l}.${u}`:`${l}-${c}.${u}`):v(`${l}.${u}`)};(0,O.useEffect)(()=>{let c=localStorage.getItem("theme")||"light";console.log("storedTheme",c),g(c),document.documentElement.setAttribute("class",c),C(c)},[]);let k=()=>{let c=le[(le.indexOf(s)+1)%le.length];g(c),document.documentElement.setAttribute("class",c),localStorage.setItem("theme",c),C(c)};return(0,Ue.jsxs)("header",{className:"relative isolate mt-10 bg-background h-14",children:[(0,Ue.jsxs)("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between Ue-3 lg:px-8",children:[(0,Ue.jsx)("div",{className:"flex lg:flex-1",children:(0,Ue.jsxs)("a",{href:"#",className:"-Ue-1.5 Ue-1.5 outline-none",children:[(0,Ue.jsx)("span",{className:"sr-only",children:e}),(0,Ue.jsx)("img",{alt:e,src:w,className:"h-9 w-auto"})]})}),(0,Ue.jsx)("div",{className:"flex lg:hidden",children:(0,Ue.jsxs)("button",{type:"button",onClick:()=>a(!0),className:"-Ue-2.5 inline-flex items-center justify-center rounded-md Ue-2.5 text-gray-700 outline-none",children:[(0,Ue.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,Ue.jsx)(ce.Bars3Icon,{"aria-hidden":"true",className:"h-6 w-6"})]})}),(0,Ue.jsx)(M.PopoverGroup,{className:"hidden lg:flex lg:gap-Ue-12",children:r.map(c=>(0,Ue.jsx)(Ve,{...c},c.name))}),(0,Ue.jsx)("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:(0,Ue.jsx)("button",{onClick:k,className:"Ue-2 text-gray-700 outline-none",children:s==="dark"?(0,Ue.jsx)(X.SunIcon,{className:"h-6 w-6"}):s==="green"?(0,Ue.jsx)(X.MoonIcon,{className:"h-6 w-6"}):(0,Ue.jsx)(X.SunIcon,{className:"h-6 w-6"})})})]}),(0,Ue.jsxs)(M.Dialog,{open:o,onClose:a,className:"lg:hidden",children:[(0,Ue.jsx)("div",{className:"fixed inset-0 mt-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,Ue.jsxs)(M.DialogPanel,{className:"fixed inset-y-0 right-0 mt-20 w-full overflow-y-auto bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,Ue.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Ue.jsxs)("a",{href:"#",className:"-Ue-1.5 Ue-1.5 outline-none",children:[(0,Ue.jsx)("span",{className:"sr-only",children:"Your Company"}),(0,Ue.jsx)("img",{alt:e,src:t,className:"h-8 w-auto"})]}),(0,Ue.jsxs)("button",{type:"button",onClick:()=>a(!1),className:"-Ue-2.5 rounded-md Ue-2.5 text-gray-700 outline-none",children:[(0,Ue.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,Ue.jsx)(ce.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,Ue.jsx)("div",{className:"mt-6 flow-root",children:(0,Ue.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,Ue.jsx)("div",{className:"space-y-2 py-6",children:r.map(c=>(0,Ue.jsx)(Mt,{...c},c.name))})})})]})]})]})}function Mt({name:e,items:t,actions:r,href:o}){return!t&&o?(0,Ue.jsx)("a",{href:o,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}):(0,Ue.jsxs)(M.Disclosure,{as:"div",className:"-mx-3",children:[(0,Ue.jsx)(M.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}),(0,Ue.jsx)(M.DisclosurePanel,{className:"mt-2 space-y-2",children:t&&t.map(a=>(0,Ue.jsx)(M.DisclosureButton,{as:"a",href:a.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold text-gray-900 hover:bg-gray-50",children:a.name},a.name))})]})}var Xe=require("clsx");var Ce="-",Et=e=>{let t=St(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:i=>{let s=i.split(Ce);return s[0]===""&&s.length!==1&&s.shift(),Je(s,t)||Tt(i)},getConflictingClassGroupIds:(i,s)=>{let g=r[i]||[];return s&&o[i]?[...g,...o[i]]:g}}},Je=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),a=o?Je(e.slice(1),o):void 0;if(a)return a;if(t.validators.length===0)return;let n=e.join(Ce);return(i=t.validators.find(({validator:s})=>s(n)))==null?void 0:i.classGroupId},Qe=/^\[(.+)\]$/,Tt=e=>{if(Qe.test(e)){let t=Qe.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},St=e=>{let{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return Dt(Object.entries(e.classGroups),r).forEach(([n,i])=>{Ae(i,o,n,t)}),o},Ae=(e,t,r,o)=>{e.forEach(a=>{if(typeof a=="string"){let n=a===""?t:$e(t,a);n.classGroupId=r;return}if(typeof a=="function"){if(Bt(a)){Ae(a(o),t,r,o);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([n,i])=>{Ae(i,$e(t,n),r,o)})})},$e=(e,t)=>{let r=e;return t.split(Ce).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},Bt=e=>e.isThemeGetter,Dt=(e,t)=>t?e.map(([r,o])=>{let a=o.map(n=>typeof n=="string"?t+n:typeof n=="object"?Object.fromEntries(Object.entries(n).map(([i,s])=>[t+i,s])):n);return[r,a]}):e,zt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map,a=(n,i)=>{r.set(n,i),t++,t>e&&(t=0,o=r,r=new Map)};return{get(n){let i=r.get(n);if(i!==void 0)return i;if((i=o.get(n))!==void 0)return a(n,i),i},set(n,i){r.has(n)?r.set(n,i):a(n,i)}}},We="!",Lt=e=>{let{separator:t,experimentalParseClassName:r}=e,o=t.length===1,a=t[0],n=t.length,i=s=>{let g=[],l=0,u=0,w;for(let h=0;h<s.length;h++){let N=s[h];if(l===0){if(N===a&&(o||s.slice(h,h+n)===t)){g.push(s.slice(u,h)),u=h+n;continue}if(N==="/"){w=h;continue}}N==="["?l++:N==="]"&&l--}let v=g.length===0?s:s.substring(u),C=v.startsWith(We),k=C?v.substring(1):v,c=w&&w>u?w-u:void 0;return{modifiers:g,hasImportantModifier:C,baseClassName:k,maybePostfixModifierPosition:c}};return r?s=>r({className:s,parseClassName:i}):i},Ht=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(o=>{o[0]==="["?(t.push(...r.sort(),o),r=[]):r.push(o)}),t.push(...r.sort()),t},Ft=e=>({cache:zt(e.cacheSize),parseClassName:Lt(e),...Et(e)}),Gt=/\s+/,Ut=(e,t)=>{let{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:a}=t,n=[],i=e.trim().split(Gt),s="";for(let g=i.length-1;g>=0;g-=1){let l=i[g],{modifiers:u,hasImportantModifier:w,baseClassName:v,maybePostfixModifierPosition:C}=r(l),k=!!C,c=o(k?v.substring(0,C):v);if(!c){if(!k){s=l+(s.length>0?" "+s:s);continue}if(c=o(v),!c){s=l+(s.length>0?" "+s:s);continue}k=!1}let h=Ht(u).join(":"),N=w?h+We:h,I=N+c;if(n.includes(I))continue;n.push(I);let G=a(c,k);for(let U=0;U<G.length;++U){let ae=G[U];n.push(N+ae)}s=l+(s.length>0?" "+s:s)}return s};function Ot(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Ye(t))&&(o&&(o+=" "),o+=r);return o}var Ye=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=Ye(e[o]))&&(r&&(r+=" "),r+=t);return r};function Vt(e,...t){let r,o,a,n=i;function i(g){let l=t.reduce((u,w)=>w(u),e());return r=Ft(l),o=r.cache.get,a=r.cache.set,n=s,s(g)}function s(g){let l=o(g);if(l)return l;let u=Ut(g,r);return a(g,u),u}return function(){return n(Ot.apply(null,arguments))}}var f=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Ke=/^\[(?:([a-mt-]+):)?(.+)\]$/i,jt=/^\d+\/\d+$/,Qt=new Set(["px","full","screen"]),$t=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Jt=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Wt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Yt=/^(inset_)?-?((\d+)?\.?(\d+)[a-mt]+|0)_-?((\d+)?\.?(\d+)[a-mt]+|0)/,Kt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,S=e=>W(e)||Qt.has(e)||jt.test(e),H=e=>Y(e,"length",or),W=e=>!!e&&!Number.isNaN(Number(e)),we=e=>Y(e,"number",W),Z=e=>!!e&&Number.isInteger(Number(e)),_t=e=>e.endsWith("%")&&W(e.slice(0,-1)),d=e=>Ke.test(e),F=e=>$t.test(e),qt=new Set(["length","size","percentage"]),Xt=e=>Y(e,qt,_e),Zt=e=>Y(e,"position",_e),er=new Set(["image","url"]),tr=e=>Y(e,er,nr),rr=e=>Y(e,"",ar),ee=()=>!0,Y=(e,t,r)=>{let o=Ke.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1},or=e=>Jt.test(e)&&!Wt.test(e),_e=()=>!1,ar=e=>Yt.test(e),nr=e=>Kt.test(e);var sr=()=>{let e=f("colors"),t=f("spacing"),r=f("blur"),o=f("brightness"),a=f("borderColor"),n=f("borderRadius"),i=f("borderSpacing"),s=f("borderWidth"),g=f("contrast"),l=f("grayscale"),u=f("hueRotate"),w=f("invert"),v=f("gap"),C=f("gradientColorStops"),k=f("gradientColorStopPositions"),c=f("inset"),h=f("margin"),N=f("opacity"),I=f("padding"),G=f("saturate"),U=f("scale"),ae=f("sepia"),Se=f("skew"),Be=f("space"),De=f("translate"),he=()=>["auto","contain","none"],xe=()=>["auto","hidden","clip","visible","scroll"],ve=()=>["auto",d,t],b=()=>[d,t],ze=()=>["",S,H],ne=()=>["auto",W,d],Le=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],se=()=>["solid","dashed","dotted","double","none"],He=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ye=()=>["start","end","center","between","around","evenly","stretch"],_=()=>["","0",d],Fe=()=>["auto","avoid","all","avoid-page","page","left","right","column"],E=()=>[W,d];return{cacheSize:500,separator:":",theme:{colors:[ee],spacing:[S,H],blur:["none","",F,d],brightness:E(),borderColor:[e],borderRadius:["none","","full",F,d],borderSpacing:b(),borderWidth:ze(),contrast:E(),grayscale:_(),hueRotate:E(),invert:_(),gap:b(),gradientColorStops:[e],gradientColorStopPositions:[_t,H],inset:ve(),margin:ve(),opacity:E(),padding:b(),saturate:E(),scale:E(),sepia:_(),skew:E(),space:b(),translate:b()},classGroups:{aspect:[{aspect:["auto","square","video",d]}],container:["container"],columns:[{columns:[F]}],"break-after":[{"break-after":Fe()}],"break-before":[{"break-before":Fe()}],"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:[...Le(),d]}],overflow:[{overflow:xe()}],"overflow-Ue":[{"overflow-Ue":xe()}],"overflow-y":[{"overflow-y":xe()}],overscroll:[{overscroll:he()}],"overscroll-Ue":[{"overscroll-Ue":he()}],"overscroll-y":[{"overscroll-y":he()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[c]}],"inset-Ue":[{"inset-Ue":[c]}],"inset-y":[{"inset-y":[c]}],start:[{start:[c]}],end:[{end:[c]}],top:[{top:[c]}],right:[{right:[c]}],bottom:[{bottom:[c]}],left:[{left:[c]}],visibility:["visible","invisible","collapse"],mt:[{mt:["auto",Z,d]}],basis:[{basis:ve()}],"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:_()}],shrink:[{shrink:_()}],order:[{order:["first","last","none",Z,d]}],"grid-cols":[{"grid-cols":[ee]}],"col-start-end":[{col:["auto",{span:["full",Z,d]},d]}],"col-start":[{"col-start":ne()}],"col-end":[{"col-end":ne()}],"grid-rows":[{"grid-rows":[ee]}],"row-start-end":[{row:["auto",{span:[Z,d]},d]}],"row-start":[{"row-start":ne()}],"row-end":[{"row-end":ne()}],"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:[v]}],"gap-Ue":[{"gap-Ue":[v]}],"gap-y":[{"gap-y":[v]}],"justify-content":[{justify:["normal",...ye()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ye(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ye(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],Ue:[{Ue:[I]}],px:[{px:[I]}],py:[{py:[I]}],ps:[{ps:[I]}],O:[{O:[I]}],pt:[{pt:[I]}],pr:[{pr:[I]}],pb:[{pb:[I]}],pl:[{pl:[I]}],Ue:[{Ue:[h]}],mx:[{mx:[h]}],my:[{my:[h]}],ms:[{ms:[h]}],me:[{me:[h]}],mt:[{mt:[h]}],mr:[{mr:[h]}],mb:[{mb:[h]}],ml:[{ml:[h]}],"space-Ue":[{"space-Ue":[Be]}],"space-Ue-reverse":["space-Ue-reverse"],"space-y":[{"space-y":[Be]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",d,t]}],"min-w":[{"min-w":[d,t,"min","max","fit"]}],"max-w":[{"max-w":[d,t,"none","full","min","max","fit","prose",{screen:[F]},F]}],h:[{h:[d,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[d,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[d,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[d,t,"auto","min","max","fit"]}],"font-size":[{text:["base",F,H]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",we]}],"font-family":[{font:[ee]}],"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",W,we]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",S,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":[N]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[N]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...se(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",S,H]}],"underline-offset":[{"underline-offset":["auto",S,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:b()}],"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":[N]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Le(),Zt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","Ue","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Xt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},tr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[k]}],"gradient-via-pos":[{via:[k]}],"gradient-to-pos":[{to:[k]}],"gradient-from":[{from:[C]}],"gradient-via":[{via:[C]}],"gradient-to":[{to:[C]}],rounded:[{rounded:[n]}],"rounded-s":[{"rounded-s":[n]}],"rounded-e":[{"rounded-e":[n]}],"rounded-t":[{"rounded-t":[n]}],"rounded-r":[{"rounded-r":[n]}],"rounded-b":[{"rounded-b":[n]}],"rounded-l":[{"rounded-l":[n]}],"rounded-ss":[{"rounded-ss":[n]}],"rounded-se":[{"rounded-se":[n]}],"rounded-ee":[{"rounded-ee":[n]}],"rounded-es":[{"rounded-es":[n]}],"rounded-tl":[{"rounded-tl":[n]}],"rounded-tr":[{"rounded-tr":[n]}],"rounded-br":[{"rounded-br":[n]}],"rounded-bl":[{"rounded-bl":[n]}],"border-w":[{border:[s]}],"border-w-Ue":[{"border-Ue":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[N]}],"border-style":[{border:[...se(),"hidden"]}],"divide-Ue":[{"divide-Ue":[s]}],"divide-Ue-reverse":["divide-Ue-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[N]}],"divide-style":[{divide:se()}],"border-color":[{border:[a]}],"border-color-Ue":[{"border-Ue":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...se()]}],"outline-offset":[{"outline-offset":[S,d]}],"outline-w":[{outline:[S,H]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ze()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[N]}],"ring-offset-w":[{"ring-offset":[S,H]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",F,rr]}],"shadow-color":[{shadow:[ee]}],opacity:[{opacity:[N]}],"mix-blend":[{"mix-blend":[...He(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":He()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[g]}],"drop-shadow":[{"drop-shadow":["","none",F,d]}],grayscale:[{grayscale:[l]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[w]}],saturate:[{saturate:[G]}],sepia:[{sepia:[ae]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[g]}],"backdrop-grayscale":[{"backdrop-grayscale":[l]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[w]}],"backdrop-opacity":[{"backdrop-opacity":[N]}],"backdrop-saturate":[{"backdrop-saturate":[G]}],"backdrop-sepia":[{"backdrop-sepia":[ae]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-Ue":[{"border-spacing-Ue":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",d]}],duration:[{duration:E()}],ease:[{ease:["linear","in","out","in-out",d]}],delay:[{delay:E()}],animate:[{animate:["none","spin","ping","pulse","bounce",d]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[U]}],"scale-Ue":[{"scale-Ue":[U]}],"scale-y":[{"scale-y":[U]}],rotate:[{rotate:[Z,d]}],"translate-Ue":[{"translate-Ue":[De]}],"translate-y":[{"translate-y":[De]}],"skew-Ue":[{"skew-Ue":[Se]}],"skew-y":[{"skew-y":[Se]}],"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","y","Ue",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-Ue":[{"scroll-Ue":b()}],"scroll-mx":[{"scroll-mx":b()}],"scroll-my":[{"scroll-my":b()}],"scroll-ms":[{"scroll-ms":b()}],"scroll-me":[{"scroll-me":b()}],"scroll-mt":[{"scroll-mt":b()}],"scroll-mr":[{"scroll-mr":b()}],"scroll-mb":[{"scroll-mb":b()}],"scroll-ml":[{"scroll-ml":b()}],"scroll-Ue":[{"scroll-Ue":b()}],"scroll-px":[{"scroll-px":b()}],"scroll-py":[{"scroll-py":b()}],"scroll-ps":[{"scroll-ps":b()}],"scroll-O":[{"scroll-O":b()}],"scroll-pt":[{"scroll-pt":b()}],"scroll-pr":[{"scroll-pr":b()}],"scroll-pb":[{"scroll-pb":b()}],"scroll-pl":[{"scroll-pl":b()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","Ue","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-Ue":[{"touch-pan":["Ue","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",d]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[S,H,we]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-Ue","overflow-y"],overscroll:["overscroll-Ue","overscroll-y"],inset:["inset-Ue","inset-y","start","end","top","right","bottom","left"],"inset-Ue":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-Ue","gap-y"],Ue:["px","py","ps","O","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],Ue:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-Ue","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-Ue":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-Ue":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-Ue":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-Ue":["scroll-px","scroll-py","scroll-ps","scroll-O","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-Ue","touch-y","touch-pz"],"touch-Ue":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var qe=Vt(sr);function y(...e){return qe((0,Xe.clsx)(e))}var Ze=T(require("next/image"));function de(e){let{url:t,mainImage:r,excerpt:o,title:a}=e;return(0,Ue.jsxs)("div",{className:"relative flex flex-col rounded-3xl bg-white Ue-2 shadow-md shadow-black/5 ring-1 ring-black/5 hover:shadow-lg transition-shadow group",children:[r&&(0,Ue.jsx)(Ze.default,{alt:a||"",src:r,layout:"responsive",width:1170,height:780,className:"rounded-2xl object-cover"}),(0,Ue.jsxs)("div",{className:"flex flex-1 flex-col Ue-4",children:[(0,Ue.jsx)("div",{className:"mt-2 text-base/7 font-medium text-center group-hover:scale-105 transition-transform duration-200 ease-in-out group-hover:text-primary",children:(0,Ue.jsxs)("a",{href:t,children:[(0,Ue.jsx)("span",{className:"absolute inset-0"}),a]})}),o&&(0,Ue.jsx)("div",{className:"mt-2 flex-1 text-sm/6 text-gray-500",children:o})]})]},t)}var ir=(e,t)=>`from-brand-${e} to-brand-${t}`;function et({...e}){let t=ir(e.brandFrom||"one",e.brandTo||"two");return(0,Ue.jsxs)("div",{className:`relative isolate flex items-center gap-Ue-6 overflow-hidden px-6 py-2.5 sm:px-3.5 sm:before:flex-1 bg-gradient-to-r ${t}`,children:[(0,Ue.jsx)("Ue",{className:"text-sm/6 text-primary-foreground",children:e.url?(0,Ue.jsxs)("a",{href:e.url,children:[(0,Ue.jsx)("strong",{className:"font-semibold",children:e.title}),e.message&&(0,Ue.jsx)("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:(0,Ue.jsx)("circle",{r:1,cx:1,cy:1})}),(0,Ue.jsx)("span",{children:e.message&&e.message})]}):(0,Ue.jsxs)(Ue.Fragment,{children:[(0,Ue.jsx)("strong",{className:"font-semibold",children:e.title}),e.message&&(0,Ue.jsx)("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:(0,Ue.jsx)("circle",{r:1,cx:1,cy:1})}),e.message&&e.message]})}),(0,Ue.jsx)("div",{className:"flex flex-1 justify-end"})]})}var mt=require("lucide-react"),pt=T(require("next/link"));var tt=require("@radix-ui/react-slot"),rt=require("class-variance-authority"),ot=T(require("react")),lr=(0,rt.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-primary text-primary-foreground hover:bg-primary-ON_HOVER",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80"}}}),te=ot.forwardRef(({asChild:e=!1,className:t,size:r,variant:o,...a},n)=>(0,Ue.jsx)(e?tt.Slot:"button",{className:y(lr({className:t,size:r,variant:o})),ref:n,...a}));te.displayName="Button";var st=T(require("next/image"));var nt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var me=()=>{if(nt){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var cr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},dr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABchJREFUWEdtlwtTG0kMhHtGM7N+AAdcDsjj///EBLzenbtuadbLJaZUTlHB+tRqSesETB3IABqQG1KbUFqDlQorBSmboqeEBcC1d8zrCixXYGZcgMsFmH8B+AngHdurAmXKOE8nHOoBrU6opcGswPi5KSP9CcBaQ9kACJH/ALAA1xm4zMD8AczvQCcAQeJVAZsy7nYApTSUzwCHUKACeUJi9TsFci7AHmDtuHYqQIC9AgQYKnSwNAig4NyOOwXq/xU47gDYggarjIpsRSEA3Fqw7AGkwgW4fgALAdiC2btKgNZwbgdMbEFpqFR2UyCR8xwAhf8bUHIGk1ckMyB5C1YkeWAdAPQBAeiD6wVYPoD1HUgXwFagZAGc6oSpTmilopoD5GzISQD3odcNIFca0BUQQM5YA2DpHV0AYURBDIAL0C+ugC0C4GedSsVUmwC8/4w8TPiwU6AClJ5RWL1PgQNkrABWdKB3YF3cBwRY5lsI4ApkKpCQi+FIgFJU/TDgDuAxAAwonJuKpGD1rkCXCR1ALyrAUSSEQAhwBdYZ6DPAgSUA2c1wKIZmRcHxMzMYR9DH8NlbkAwwApSAcABwBwTAbb6owAr0AFiZPILVEyCtMmK2jCkTwFDNUNj7nJETQx744gCUmgkZVGJUHyakEZE4W91jtGFA9KsD8Z3JFYDlhGYZLWcllwJMnplcPy+csFAgAAaIDOgeuAGoB96GLZg4kmtfMjnr6ig5oSoySsoy3ya/FMivXZWxwr0KIf9nACbfqcBEgmBSAtAlIT83R+70IWpyACamIjf5E1Iqb9ECVmnoI/FvAIRk8s2J0Y5IquQDgB+5wpScw5AUTC75VTmTs+72NUzoCvQIaAXv5Q8PDAZKLD+MxLv3RFE7KlsQChgBIlKiCv5ByaZv3gJZNm8AnVMhAN+EjrtTYQMICJpu6/0aiQnhClANlz+Bw0cIWa8ev0sBrtrhAyaXEnrfGfATQJiRKih5vKeOHNXXPFrgyamAADh0Q4F2/sESojomDS9o9k0b0H83xjB8qL+JNoTjN+enjpaBpingRh4e8MSugudM030A8FeqMI6PFIgNyPehkpZWGFEAARIQdH5LcAAqIACHkAJqg4OoBccHAuz76wr4BbzFOEa8iBuAZB8AtJHLP2VgMgJw/EIBowo7HxCAH3V6dAXEE/vZ5aZIA8BP8RKhm7Cp8BnAMnAQADdgQDA520AVIpScP+enHz0Gwp25h4i2dPg5FkDXrbsdJikQwXuWgaM5gEMk1AgH4DKKFjDf3bMD+FjEeIxLlRKYnBk2BbquvSDCAQ4gwZiMAAmH4gBTyRtEsYxi7gP6QSrc//39BrDNqG8rtYTmC4BV1SfMhOhaumFCT87zy4pPhQBZEK1kQVRjJBBi7AOlePgyAPYjwlvtagx9e/dnQraAyS894TIkkAIEYMKEc8k4EqJ68lZ5jjNqcQC2QteQOf7659umwBgPybNtK4dg9WvnMyFwXYGP7uEO1lwJgAnPNeMYMVXbIIYKFioI4PGFt+BWPVfmWJdjW2lTUnLGCswECAgaUy86iwA1464ajo0QhgMBFGyBoZahANsMpMfXr1JA1SN29m5lqgXj+UPV85uRA7yv/KYUO4Tk7Hc1AZwbIRzg0AyNj2UlAMwfSLSMnl7fdAbcxHuA27YaAMvaQ4GOjwX4RTUGAG8Ge14N963g1AynqUiFqRX9noasxT4b8entNRQYyamk/3tYcHsO7R3XJRRYOn4tw4iUnwBM5gDnySGOreAwAGo8F9IDHEcq8Pz2Kg/oXCpuIL6tOPD8LsDn0ABYQoGFRowlsAEUPPDrGAGowAbgKsgDMmE8mDy/vXQ9IAwI7u4wta+gAdAdgB64Ah9SgD4IgGKhwACoAjgNgFDhtxY8f33ZTMjqdTAiHMBPrn8ZWkEfzFdX4Oc1AHg3+ADbvN8PU8WdFKg4Tt6CQy2+D4YHaMT/JP4XzbAq98cPDIUAAAAASUVORK5CYII=",it=e=>{let{alt:t,fill:r,imgClassName:o,priority:a,resource:n,size:i,src:s,loading:g}=e,l,u,w=t,v=s||"";if(!v&&n&&typeof n=="object"){let{alt:c,filename:h,height:N,url:I,width:G}=n;l=G,u=N,w=c||"",v=`${me()}${I}`}let C=g||"lazy",k=i||Object.entries(cr).map(([,c])=>`(max-width: ${c}px) ${c*2}w`).join(", ");return(0,Ue.jsx)("picture",{children:(0,Ue.jsx)(st.default,{alt:w||"",className:y(o),fill:r,height:r?void 0:u,placeholder:"blur",blurDataURL:dr,priority:C!=="lazy"&&a,quality:100,loading:C,sizes:k,src:v,width:r?void 0:l})})};var lt=e=>{let{onClick:t,resource:r,videoClassName:o}=e,a=(0,O.useRef)(null);if((0,O.useEffect)(()=>{let{current:n}=a;n&&n.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:n}=r;return(0,Ue.jsx)("video",{autoPlay:!0,className:y(o),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:a,children:(0,Ue.jsx)("source",{src:`${me()}/media/${n}`})})}return null};var dt=e=>{var i;let{className:t,htmlElement:r="div",resource:o}=e,a=typeof o=="object"&&((i=o==null?void 0:o.mimeType)==null?void 0:i.includes("video"));return(0,Ue.jsx)(r||O.Fragment,{...r!==null?{className:t}:{},children:a?(0,Ue.jsx)(lt,{...e}):(0,Ue.jsx)(it,{...e})})};function ut(){let[e,t]=(0,O.useState)("All News"),[r,o]=(0,O.useState)([]),[a,n]=(0,O.useState)(1),[i,s]=(0,O.useState)(1),g=["All News","Announcements","Blogs","Articles","Case Studies"];return(0,O.useEffect)(()=>{async function l(){if(e==="All News"){let C=await(await fetch(`/api/posts?page=${a}`)).json();o(C.docs),s(C.totalPages);return}let w=await(await fetch(`/api/posts?where[categories][title][equals]=${e}&page=${a}`)).json();o(w.docs),s(w.totalPages)}l()},[e,a]),(0,Ue.jsxs)("div",{className:"w-full max-w-7xl mx-auto px-4 py-8",children:[(0,Ue.jsxs)("div",{className:"flex gap-2 overflow-Ue-auto pb-4 mb-6",children:[g.map(l=>(0,Ue.jsx)(te,{variant:l===e?"default":"ghost",className:"rounded-full whitespace-nowrap",onClick:()=>t(l),children:l},l)),(0,Ue.jsxs)(te,{variant:"ghost",size:"icon",className:"rounded-full",children:[(0,Ue.jsx)(mt.ChevronRight,{className:"h-4 w-4"}),(0,Ue.jsx)("span",{className:"sr-only",children:"More"})]})]}),(0,Ue.jsx)("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:r&&r.map(l=>(0,Ue.jsxs)(pt.default,{href:`/posts/${l.slug}`,className:"group rounded-lg overflow-hidden border bg-card text-card-foreground shadow hover:shadow-lg transition-shadow",children:[l.meta&&l.meta.image&&typeof l.meta.image!="string"&&(0,Ue.jsx)(dt,{resource:l.meta.image,size:"33vw"}),(0,Ue.jsxs)("div",{className:"Ue-4",children:[(0,Ue.jsxs)("div",{className:"text-sm text-muted-foreground mb-2",children:[l.populatedAuthors&&l.populatedAuthors.map(u=>u.name)," ","\xB7"," ",l.publishedAt&&new Date(l.publishedAt).toLocaleDateString("en-GB",{day:"numeric",month:"long"})]}),(0,Ue.jsx)("h2",{className:"text-xl font-bold mb-4 text-primary group-hover:text-accent group-hover:scale-105 transition-transform duration-200 ease-in-out",children:l.title})]})]},l.id))}),(0,Ue.jsx)("div",{className:"flex justify-center gap-1 mt-8",children:Array.from({length:i},(l,u)=>u+1).map(l=>(0,Ue.jsx)(te,{variant:l===a?"default":"ghost",size:"icon",className:"w-10 h-10 rounded-full",onClick:()=>n(l),children:l},l))})]})}var j=T(require("react"));var re=j.forwardRef(({className:e,...t},r)=>(0,Ue.jsx)("div",{ref:r,className:y("rounded-xl border bg-card text-card-foreground shadow",e),...t}));re.displayName="Card";var Re=j.forwardRef(({className:e,...t},r)=>(0,Ue.jsx)("div",{ref:r,className:y("flex flex-col space-y-1.5 Ue-6",e),...t}));Re.displayName="CardHeader";var ke=j.forwardRef(({className:e,...t},r)=>(0,Ue.jsx)("div",{ref:r,className:y("font-semibold leading-none tracking-tight",e),...t}));ke.displayName="CardTitle";var mr=j.forwardRef(({className:e,...t},r)=>(0,Ue.jsx)("div",{ref:r,className:y("text-sm text-muted-foreground",e),...t}));mr.displayName="CardDescription";var oe=j.forwardRef(({className:e,...t},r)=>(0,Ue.jsx)("div",{ref:r,className:y("Ue-6 pt-0",e),...t}));oe.displayName="CardContent";var pr=j.forwardRef(({className:e,...t},r)=>(0,Ue.jsx)("div",{ref:r,className:y("flex items-center Ue-6 pt-0",e),...t}));pr.displayName="CardFooter";var ge=T(require("react")),D=T(require("@radix-ui/react-avatar"));var Ie=ge.forwardRef(({className:e,...t},r)=>(0,Ue.jsx)(D.Root,{ref:r,className:y("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",e),...t}));Ie.displayName=D.Root.displayName;var Me=ge.forwardRef(({className:e,...t},r)=>(0,Ue.jsx)(D.Image,{ref:r,className:y("aspect-square h-full w-full",e),...t}));Me.displayName=D.Image.displayName;var Ee=ge.forwardRef(({className:e,...t},r)=>(0,Ue.jsx)(D.Fallback,{ref:r,className:y("flex h-full w-full items-center justify-center rounded-full bg-muted",e),...t}));Ee.displayName=D.Fallback.displayName;var ur=(0,rt.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 ft({className:e,variant:t,...r}){return(0,Ue.jsx)("div",{className:y(ur({variant:t}),e),...r})}function ht({eventType:e="birthday",date:t="",title:r="",description:o="",avatarSrc:a}){let n=s=>{switch(s){case"birthday":return(0,Ue.jsx)(mt.Cake,{className:"h-4 w-4"});case"workAnniversary":return(0,Ue.jsx)(mt.Award,{className:"h-4 w-4"});case"companyEvent":return(0,Ue.jsx)(mt.PartyPopper,{className:"h-4 w-4"});default:return(0,Ue.jsx)(mt.CalendarDays,{className:"h-4 w-4"})}},i=s=>{switch(s){case"birthday":return"from-brand-one-500 to-brand-one-800";case"workAnniversary":return"from-brand-two-500 to-brand-two-700";case"companyEvent":return"from-brand-two-300 to-brand-two-700";default:return"from-gray-500 to-slate-500"}};return(0,Ue.jsxs)(re,{className:`w-full max-w-md overflow-hidden bg-gradient-to-br ${i(e)}`,children:[(0,Ue.jsxs)(Re,{className:"flex flex-row items-center gap-3 text-white",children:[a&&(0,Ue.jsxs)(Ie,{className:"h-14 w-14 border-2 border-white",children:[(0,Ue.jsx)(Me,{src:a,alt:r||"Event"}),(0,Ue.jsx)(Ee,{className:"bg-white text-gray-900",children:r?r.charAt(0).toUpperCase():"?"})]}),(0,Ue.jsxs)("div",{className:"flex flex-col",children:[(0,Ue.jsx)(ke,{className:"text-xl",children:r||"Untitled Event"}),(0,Ue.jsxs)("Ue",{className:"text-sm text-white/80",children:[(0,Ue.jsx)(mt.CalendarDays,{className:"mr-1 inline-block h-4 w-4"}),t?new Date(t).toLocaleDateString():"Date not specified"]})]})]}),(0,Ue.jsxs)(oe,{className:"bg-white bg-opacity-80 Ue-4",children:[o&&(0,Ue.jsx)("Ue",{className:"mb-2 text-sm text-gray-700",children:o}),(0,Ue.jsxs)(ft,{variant:"secondary",className:`bg-gradient-to-br ${i(e)} text-white/80`,children:[n(e),(0,Ue.jsx)("span",{className:"ml-1",children:e?e.replace(/([a-mt])([Ue-Z])/g,"$1 $2").split(" ").map(s=>s.charAt(0).toUpperCase()+s.slice(1)).join(" "):"Event"})]})]})]})}var xt=T(require("next/image")),vt=T(require("next/link"));function yt({name:e,logo:t,href:r}){return(0,Ue.jsx)(re,{className:"w-full max-w-sm overflow-hidden transition-all duration-300 ring-0 hover:shadow-lg group",children:(0,Ue.jsxs)(vt.default,{href:r,className:"block",children:[(0,Ue.jsx)("div",{className:"bg-white Ue-2 flex items-center justify-center h-24",children:(0,Ue.jsx)("div",{className:"relative w-full h-full",children:t&&(0,Ue.jsx)(xt.default,{src:t,alt:`${e} logo`,layout:"fill",objectFit:"contain"})})}),(0,Ue.jsx)(oe,{className:"Ue-3 flex items-center justify-center h-18 bg-gradient-to-br from-gray-900 via-brand-one to-gray-900",children:(0,Ue.jsx)("Ue",{className:"font-medium text-lg text-white text-center group-hover:scale-105 transition-transform duration-200 ease-in-out",children:e})})]})})}function Te({...e}){return(0,Ue.jsx)(Ue.Fragment,{children:(0,Ue.jsxs)("div",{className:"flex min-h-full flex-col",children:[(0,Ue.jsx)("div",{className:"relative isolate"}),(0,Ue.jsx)(je,{...e.header}),(0,Ue.jsx)(et,{...e.motd}),(0,Ue.jsxs)("div",{className:"mx-auto w-full max-w-screen-2xl grow lg:flex xl:px-2",children:[(0,Ue.jsxs)("div",{className:"flex-1 xl:flex",children:[(0,Ue.jsx)("div",{className:"border-b border-gray-200 px-4 py-6 sm:px-6 lg:pl-8 xl:w-64 xl:shrink-0 xl:border-b-0 xl:border-r xl:pl-6",children:e.customers.map((t,r)=>(0,Ue.jsx)("div",{className:"py-2 w-full flex justify-center",children:(0,Ue.jsx)(yt,{...t})},r))}),(0,Ue.jsxs)("div",{className:"px-4 py-4 sm:px-6 lg:pl-8 xl:flex-1 xl:pl-6",children:[(0,Ue.jsxs)("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:[(0,Ue.jsx)(de,{mainImage:"/placeholder/ai.png",title:"AI Enablement",color:"primary"}),(0,Ue.jsx)(de,{mainImage:"/placeholder/finops.png",title:"FinOps",color:"primary2"}),(0,Ue.jsx)(de,{mainImage:"/placeholder/metahuman.png",title:"Metahumans",color:"primary3"})]}),(0,Ue.jsx)("h1",{className:"text-balance text-3xl Ue-5 font-semibold tracking-tight text-primary sm:text-5xl",children:"News & Updates"}),(0,Ue.jsx)(ut,{})]})]}),(0,Ue.jsxs)("div",{className:"shrink-0 border-t border-gray-200 px-4 py-4 sm:px-4 lg:w-96 lg:border-l lg:border-t-0 lg:pr-8 xl:pr-6",children:[(0,Ue.jsx)("div",{className:"mx-auto max-w-7xl",children:(0,Ue.jsxs)("div",{className:"relative isolate overflow-hidden bg-gradient-to-br from-gray-900 via-brand-one to-brand-two px-2 py-4 text-center shadow-2xl sm:rounded-xl sm:px-2",children:[(0,Ue.jsx)("h2",{className:"text-balance text-xl font-semibold tracking-tight text-white sm:text-2xl",children:"Ways of working"}),(0,Ue.jsx)("Ue",{className:"mx-3 mt-4 max-w-xl text-pretty text-lg/8 text-gray-300",children:"Guides, Templates and Tools to help you work smarter."}),(0,Ue.jsx)("div",{className:"mt-4 flex items-center justify-center gap-Ue-6",children:(0,Ue.jsx)("a",{href:"#",className:"rounded-md bg-white px-3.5 py-2.5 text-sm font-semibold text-gray-900 shadow-sm hover:bg-accent focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-white",children:"Get started"})})]})}),(0,Ue.jsx)("div",{className:"mx-auto max-w-7xl flex flex-col items-center",children:e.events.map((t,r)=>(0,Ue.jsx)("div",{className:"py-2 w-full flex justify-center",children:(0,Ue.jsx)(ht,{...t})},r))})]})]})]})})}var gr=()=>(0,$.jsx)(q,{iconName:"cloud-network-sharing",size:"4x",type:"kit"}),fr=()=>(0,$.jsx)(q,{iconName:"development",size:"4x",type:"kit"}),br=()=>(0,$.jsx)(q,{iconName:"github",size:"4x",type:"brands"});var hr=()=>(0,$.jsx)(q,{iconName:"people-sharing",size:"4x",type:"kit"}),xr={title:"Pages/Intranet",component:Te,tags:["autodocs"],argTypes:{},decorators:[e=>(0,$.jsx)("div",{className:"h-screen",children:(0,$.jsx)(e,{})})]},vr=xr,yr={args:{motd:{title:"Welcome to the Intranet",message:"This is a message of the day. It can ce used to communicate important information to all employees.",brandFrom:"one",brandTo:"two"},header:{title:"Your Company",logo:"cortex-reply.png",menuItems:[{name:"Documentation",items:[{name:"Platforms & Services",description:"Cloud services",href:"#",icon:gr},{name:"Solutions & Propositions",description:"Solutions that we have built",href:"#",icon:hr},{name:"Products",description:"Products that we sell",href:"#",icon:fr}]},{name:"Resources",items:[{name:"Documentation",href:"#",icon:ce.ChartPieIcon},{name:"API Reference",href:"#",icon:ce.CursorArrowRaysIcon},{name:"Github",href:"#",icon:br}],actions:[{name:"Watch demo",href:"#",icon:X.PlayCircleIcon},{name:"Contact sales",href:"#",icon:X.PhoneIcon},{name:"View all products",href:"#",icon:X.RectangleGroupIcon}]},{name:"Intranet",href:"#"}]},events:[{type:"birthday",date:"2023-06-15",title:"John Doe's Birthday",description:"Wish John a happy birthday!",avatarSrc:"https://i.pravatar.cc/150?img=1"},{type:"company_event",date:"2023-08-10",title:"Summer Company Picnic",description:"Join us for food, games, and fun Ue the annual summer picnic!",avatarSrc:"https://i.pravatar.cc/150?img=3"},{type:"company_event",date:"2023-10-31",title:"Halloween Party"}],customers:[{name:"Acme Corp",logo:"/cortex-reply.png",href:"#",gradientStart:"#3B82F6",gradientEnd:"#2563EB"},{name:"Globex",logo:"/logos/dropbox.png",href:"#",gradientStart:"#10B981",gradientEnd:"#059669"},{name:"Initech",logo:"/logos/customer1.png",href:"#",gradientStart:"#EC4899",gradientEnd:"#DB2777"},{name:"Umbrella",logo:"/logos/customer2.png",href:"#",gradientStart:"#F59E0B",gradientEnd:"#D97706"}]}};0&&(module.exports={Primary});
|
|
5
|
+
"use strict";"use client";var wt=Object.create;var ie=Object.defineProperty;var At=Object.getOwnPropertyDescriptor;var Ct=Object.getOwnPropertyNames;var Nt=Object.getPrototypeOf,Pt=Object.prototype.hasOwnProperty;var Rt=(e,t)=>{for(var r in t)ie(e,r,{get:t[r],enumerable:!0})},Ge=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Ct(t))!Pt.call(e,a)&&a!==r&&ie(e,a,{get:()=>t[a],enumerable:!(o=At(t,a))||o.enumerable});return e};var T=(e,t,r)=>(r=e!=null?wt(Nt(e)):{},Ge(t||!e||!e.__esModule?ie(r,"default",{value:e,enumerable:!0}):r,e)),kt=e=>Ge(ie({},"__esModule",{value:!0}),e);var wr={};Rt(wr,{Primary:()=>yr,default:()=>vr});module.exports=kt(wr);var Ue=require("react/jsx-runtime"),q=({type:e="solid",iconName:t="cloud",size:r="lg",className:o})=>{let a="fa-"+e+" ",n="fa-"+t,i=o!=null?o:"",s=a+n+" fa-"+r+" "+i;return(0,Ue.jsx)("i",{className:s})};var O=require("react"),M=require("@headlessui/react"),ce=require("@heroicons/react/24/outline"),X=require("@heroicons/react/20/solid");var It=({name:e,items:t,actions:r=[],href:o})=>!t&&o?(0,Ue.jsxs)("a",{href:o,className:"relative inline-block text-sm font-semibold text-foreground group",children:[e,(0,Ue.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-Ue-1/2 scale-Ue-0 transition-transform duration-300 ease-in-out group-hover:scale-Ue-100"})]}):(0,Ue.jsxs)(M.Popover,{children:[(0,Ue.jsxs)(M.PopoverButton,{className:"flex items-center gap-Ue-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,Ue.jsxs)("span",{className:"relative",children:[e,(0,Ue.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-Ue-1/2 scale-Ue-0 transition-transform duration-300 ease-in-out group-hover:scale-Ue-100"})]}),(0,Ue.jsx)(X.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,Ue.jsxs)(M.PopoverPanel,{transition:!0,className:"absolute inset-Ue-0 top-0 -pt-10 bg-popover mt-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-y-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,Ue.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-Ue-4 px-6 py-10 lg:px-8 xl:gap-Ue-8 pt-50",children:t&&t.map(a=>(0,Ue.jsxs)("div",{className:"group relative rounded-lg Ue-6 text-sm/6 box-border",children:[(0,Ue.jsx)("div",{className:"flex h-16 w-16 items-center justify-center rounded-lg bg-popover group-hover:text-accent transition-transform duration-300 ease-in-out group-hover:scale-90",children:(0,Ue.jsx)(a.icon,{"aria-hidden":"true",size:"6x"})}),(0,Ue.jsxs)("a",{href:a.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[a.name,(0,Ue.jsx)("span",{className:"absolute inset-0"})]}),(0,Ue.jsx)("Ue",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:a.description})]},a.name))}),r.length>0&&(0,Ue.jsx)("div",{className:"bg-gray-50",children:(0,Ue.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,Ue.jsx)("div",{className:"grid grid-cols-3 divide-Ue divide-gray-900/5 border-Ue border-gray-900/5",children:r.map(a=>(0,Ue.jsxs)("a",{href:a.href,className:"flex items-center justify-center gap-Ue-2.5 Ue-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[(0,Ue.jsx)(a.icon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-gray-400"}),a.name]},a.name))})})})]})]}),Ve=It;var le=["light","dark","green"];function je({title:e,logo:t,menuItems:r}){let[o,a]=(0,O.useState)(!1),[n,i]=(0,O.useState)(!1),[s,g]=(0,O.useState)("light"),l=t==null?void 0:t.split(".")[0],u=t==null?void 0:t.split(".")[1],[w,v]=(0,O.useState)(`${l}.${u}`),C=c=>{le.includes(c)?v(c==="light"?`${l}.${u}`:`${l}-${c}.${u}`):v(`${l}.${u}`)};(0,O.useEffect)(()=>{let c=localStorage.getItem("theme")||"light";console.log("storedTheme",c),g(c),document.documentElement.setAttribute("class",c),C(c)},[]);let k=()=>{let c=le[(le.indexOf(s)+1)%le.length];g(c),document.documentElement.setAttribute("class",c),localStorage.setItem("theme",c),C(c)};return(0,Ue.jsxs)("header",{className:"relative isolate pt-10 bg-background h-14",children:[(0,Ue.jsxs)("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between Ue-3 lg:px-8",children:[(0,Ue.jsx)("div",{className:"flex lg:flex-1",children:(0,Ue.jsxs)("a",{href:"#",className:"-Ue-1.5 Ue-1.5 outline-none",children:[(0,Ue.jsx)("span",{className:"sr-only",children:e}),(0,Ue.jsx)("img",{alt:e,src:w,className:"h-9 w-auto"})]})}),(0,Ue.jsx)("div",{className:"flex lg:hidden",children:(0,Ue.jsxs)("button",{type:"button",onClick:()=>a(!0),className:"-Ue-2.5 inline-flex items-center justify-center rounded-md Ue-2.5 text-gray-700 outline-none",children:[(0,Ue.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,Ue.jsx)(ce.Bars3Icon,{"aria-hidden":"true",className:"h-6 w-6"})]})}),(0,Ue.jsx)(M.PopoverGroup,{className:"hidden lg:flex lg:gap-Ue-12",children:r.map(c=>(0,Ue.jsx)(Ve,{...c},c.name))}),(0,Ue.jsx)("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:(0,Ue.jsx)("button",{onClick:k,className:"Ue-2 text-gray-700 outline-none",children:s==="dark"?(0,Ue.jsx)(X.SunIcon,{className:"h-6 w-6"}):s==="green"?(0,Ue.jsx)(X.MoonIcon,{className:"h-6 w-6"}):(0,Ue.jsx)(X.SunIcon,{className:"h-6 w-6"})})})]}),(0,Ue.jsxs)(M.Dialog,{open:o,onClose:a,className:"lg:hidden",children:[(0,Ue.jsx)("div",{className:"fixed inset-0 pt-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,Ue.jsxs)(M.DialogPanel,{className:"fixed inset-y-0 right-0 pt-20 w-full overflow-y-auto bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,Ue.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Ue.jsxs)("a",{href:"#",className:"-Ue-1.5 Ue-1.5 outline-none",children:[(0,Ue.jsx)("span",{className:"sr-only",children:"Your Company"}),(0,Ue.jsx)("img",{alt:e,src:t,className:"h-8 w-auto"})]}),(0,Ue.jsxs)("button",{type:"button",onClick:()=>a(!1),className:"-Ue-2.5 rounded-md Ue-2.5 text-gray-700 outline-none",children:[(0,Ue.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,Ue.jsx)(ce.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,Ue.jsx)("div",{className:"mt-6 flow-root",children:(0,Ue.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,Ue.jsx)("div",{className:"space-y-2 py-6",children:r.map(c=>(0,Ue.jsx)(Mt,{...c},c.name))})})})]})]})]})}function Mt({name:e,items:t,actions:r,href:o}){return!t&&o?(0,Ue.jsx)("a",{href:o,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}):(0,Ue.jsxs)(M.Disclosure,{as:"div",className:"-mx-3",children:[(0,Ue.jsx)(M.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}),(0,Ue.jsx)(M.DisclosurePanel,{className:"mt-2 space-y-2",children:t&&t.map(a=>(0,Ue.jsx)(M.DisclosureButton,{as:"a",href:a.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold text-gray-900 hover:bg-gray-50",children:a.name},a.name))})]})}var Xe=require("clsx");var Ce="-",Et=e=>{let t=St(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:i=>{let s=i.split(Ce);return s[0]===""&&s.length!==1&&s.shift(),Je(s,t)||Tt(i)},getConflictingClassGroupIds:(i,s)=>{let g=r[i]||[];return s&&o[i]?[...g,...o[i]]:g}}},Je=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),a=o?Je(e.slice(1),o):void 0;if(a)return a;if(t.validators.length===0)return;let n=e.join(Ce);return(i=t.validators.find(({validator:s})=>s(n)))==null?void 0:i.classGroupId},Qe=/^\[(.+)\]$/,Tt=e=>{if(Qe.test(e)){let t=Qe.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},St=e=>{let{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return Dt(Object.entries(e.classGroups),r).forEach(([n,i])=>{Ae(i,o,n,t)}),o},Ae=(e,t,r,o)=>{e.forEach(a=>{if(typeof a=="string"){let n=a===""?t:$e(t,a);n.classGroupId=r;return}if(typeof a=="function"){if(Bt(a)){Ae(a(o),t,r,o);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([n,i])=>{Ae(i,$e(t,n),r,o)})})},$e=(e,t)=>{let r=e;return t.split(Ce).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},Bt=e=>e.isThemeGetter,Dt=(e,t)=>t?e.map(([r,o])=>{let a=o.map(n=>typeof n=="string"?t+n:typeof n=="object"?Object.fromEntries(Object.entries(n).map(([i,s])=>[t+i,s])):n);return[r,a]}):e,zt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map,a=(n,i)=>{r.set(n,i),t++,t>e&&(t=0,o=r,r=new Map)};return{get(n){let i=r.get(n);if(i!==void 0)return i;if((i=o.get(n))!==void 0)return a(n,i),i},set(n,i){r.has(n)?r.set(n,i):a(n,i)}}},We="!",Lt=e=>{let{separator:t,experimentalParseClassName:r}=e,o=t.length===1,a=t[0],n=t.length,i=s=>{let g=[],l=0,u=0,w;for(let h=0;h<s.length;h++){let N=s[h];if(l===0){if(N===a&&(o||s.slice(h,h+n)===t)){g.push(s.slice(u,h)),u=h+n;continue}if(N==="/"){w=h;continue}}N==="["?l++:N==="]"&&l--}let v=g.length===0?s:s.substring(u),C=v.startsWith(We),k=C?v.substring(1):v,c=w&&w>u?w-u:void 0;return{modifiers:g,hasImportantModifier:C,baseClassName:k,maybePostfixModifierPosition:c}};return r?s=>r({className:s,parseClassName:i}):i},Ht=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(o=>{o[0]==="["?(t.push(...r.sort(),o),r=[]):r.push(o)}),t.push(...r.sort()),t},Ft=e=>({cache:zt(e.cacheSize),parseClassName:Lt(e),...Et(e)}),Gt=/\s+/,Ut=(e,t)=>{let{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:a}=t,n=[],i=e.trim().split(Gt),s="";for(let g=i.length-1;g>=0;g-=1){let l=i[g],{modifiers:u,hasImportantModifier:w,baseClassName:v,maybePostfixModifierPosition:C}=r(l),k=!!C,c=o(k?v.substring(0,C):v);if(!c){if(!k){s=l+(s.length>0?" "+s:s);continue}if(c=o(v),!c){s=l+(s.length>0?" "+s:s);continue}k=!1}let h=Ht(u).join(":"),N=w?h+We:h,I=N+c;if(n.includes(I))continue;n.push(I);let G=a(c,k);for(let U=0;U<G.length;++U){let ae=G[U];n.push(N+ae)}s=l+(s.length>0?" "+s:s)}return s};function Ot(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Ye(t))&&(o&&(o+=" "),o+=r);return o}var Ye=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=Ye(e[o]))&&(r&&(r+=" "),r+=t);return r};function Vt(e,...t){let r,o,a,n=i;function i(g){let l=t.reduce((u,w)=>w(u),e());return r=Ft(l),o=r.cache.get,a=r.cache.set,n=s,s(g)}function s(g){let l=o(g);if(l)return l;let u=Ut(g,r);return a(g,u),u}return function(){return n(Ot.apply(null,arguments))}}var f=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Ke=/^\[(?:([a-pt-]+):)?(.+)\]$/i,jt=/^\d+\/\d+$/,Qt=new Set(["px","full","screen"]),$t=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Jt=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Wt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Yt=/^(inset_)?-?((\d+)?\.?(\d+)[a-pt]+|0)_-?((\d+)?\.?(\d+)[a-pt]+|0)/,Kt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,S=e=>W(e)||Qt.has(e)||jt.test(e),H=e=>Y(e,"length",or),W=e=>!!e&&!Number.isNaN(Number(e)),we=e=>Y(e,"number",W),Z=e=>!!e&&Number.isInteger(Number(e)),_t=e=>e.endsWith("%")&&W(e.slice(0,-1)),d=e=>Ke.test(e),F=e=>$t.test(e),qt=new Set(["length","size","percentage"]),Xt=e=>Y(e,qt,_e),Zt=e=>Y(e,"position",_e),er=new Set(["image","url"]),tr=e=>Y(e,er,nr),rr=e=>Y(e,"",ar),ee=()=>!0,Y=(e,t,r)=>{let o=Ke.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1},or=e=>Jt.test(e)&&!Wt.test(e),_e=()=>!1,ar=e=>Yt.test(e),nr=e=>Kt.test(e);var sr=()=>{let e=f("colors"),t=f("spacing"),r=f("blur"),o=f("brightness"),a=f("borderColor"),n=f("borderRadius"),i=f("borderSpacing"),s=f("borderWidth"),g=f("contrast"),l=f("grayscale"),u=f("hueRotate"),w=f("invert"),v=f("gap"),C=f("gradientColorStops"),k=f("gradientColorStopPositions"),c=f("inset"),h=f("margin"),N=f("opacity"),I=f("padding"),G=f("saturate"),U=f("scale"),ae=f("sepia"),Se=f("skew"),Be=f("space"),De=f("translate"),he=()=>["auto","contain","none"],xe=()=>["auto","hidden","clip","visible","scroll"],ve=()=>["auto",d,t],b=()=>[d,t],ze=()=>["",S,H],ne=()=>["auto",W,d],Le=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],se=()=>["solid","dashed","dotted","double","none"],He=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ye=()=>["start","end","center","between","around","evenly","stretch"],_=()=>["","0",d],Fe=()=>["auto","avoid","all","avoid-page","page","left","right","column"],E=()=>[W,d];return{cacheSize:500,separator:":",theme:{colors:[ee],spacing:[S,H],blur:["none","",F,d],brightness:E(),borderColor:[e],borderRadius:["none","","full",F,d],borderSpacing:b(),borderWidth:ze(),contrast:E(),grayscale:_(),hueRotate:E(),invert:_(),gap:b(),gradientColorStops:[e],gradientColorStopPositions:[_t,H],inset:ve(),margin:ve(),opacity:E(),padding:b(),saturate:E(),scale:E(),sepia:_(),skew:E(),space:b(),translate:b()},classGroups:{aspect:[{aspect:["auto","square","video",d]}],container:["container"],columns:[{columns:[F]}],"break-after":[{"break-after":Fe()}],"break-before":[{"break-before":Fe()}],"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:[...Le(),d]}],overflow:[{overflow:xe()}],"overflow-Ue":[{"overflow-Ue":xe()}],"overflow-y":[{"overflow-y":xe()}],overscroll:[{overscroll:he()}],"overscroll-Ue":[{"overscroll-Ue":he()}],"overscroll-y":[{"overscroll-y":he()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[c]}],"inset-Ue":[{"inset-Ue":[c]}],"inset-y":[{"inset-y":[c]}],start:[{start:[c]}],end:[{end:[c]}],top:[{top:[c]}],right:[{right:[c]}],bottom:[{bottom:[c]}],left:[{left:[c]}],visibility:["visible","invisible","collapse"],pt:[{pt:["auto",Z,d]}],basis:[{basis:ve()}],"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:_()}],shrink:[{shrink:_()}],order:[{order:["first","last","none",Z,d]}],"grid-cols":[{"grid-cols":[ee]}],"col-start-end":[{col:["auto",{span:["full",Z,d]},d]}],"col-start":[{"col-start":ne()}],"col-end":[{"col-end":ne()}],"grid-rows":[{"grid-rows":[ee]}],"row-start-end":[{row:["auto",{span:[Z,d]},d]}],"row-start":[{"row-start":ne()}],"row-end":[{"row-end":ne()}],"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:[v]}],"gap-Ue":[{"gap-Ue":[v]}],"gap-y":[{"gap-y":[v]}],"justify-content":[{justify:["normal",...ye()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ye(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ye(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],Ue:[{Ue:[I]}],px:[{px:[I]}],py:[{py:[I]}],ps:[{ps:[I]}],pe:[{pe:[I]}],pt:[{pt:[I]}],pr:[{pr:[I]}],pb:[{pb:[I]}],pl:[{pl:[I]}],Ue:[{Ue:[h]}],mx:[{mx:[h]}],my:[{my:[h]}],ms:[{ms:[h]}],O:[{O:[h]}],mt:[{mt:[h]}],mr:[{mr:[h]}],mb:[{mb:[h]}],ml:[{ml:[h]}],"space-Ue":[{"space-Ue":[Be]}],"space-Ue-reverse":["space-Ue-reverse"],"space-y":[{"space-y":[Be]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",d,t]}],"min-w":[{"min-w":[d,t,"min","max","fit"]}],"max-w":[{"max-w":[d,t,"none","full","min","max","fit","prose",{screen:[F]},F]}],h:[{h:[d,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[d,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[d,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[d,t,"auto","min","max","fit"]}],"font-size":[{text:["base",F,H]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",we]}],"font-family":[{font:[ee]}],"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",W,we]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",S,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":[N]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[N]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...se(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",S,H]}],"underline-offset":[{"underline-offset":["auto",S,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:b()}],"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":[N]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Le(),Zt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","Ue","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Xt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},tr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[k]}],"gradient-via-pos":[{via:[k]}],"gradient-to-pos":[{to:[k]}],"gradient-from":[{from:[C]}],"gradient-via":[{via:[C]}],"gradient-to":[{to:[C]}],rounded:[{rounded:[n]}],"rounded-s":[{"rounded-s":[n]}],"rounded-e":[{"rounded-e":[n]}],"rounded-t":[{"rounded-t":[n]}],"rounded-r":[{"rounded-r":[n]}],"rounded-b":[{"rounded-b":[n]}],"rounded-l":[{"rounded-l":[n]}],"rounded-ss":[{"rounded-ss":[n]}],"rounded-se":[{"rounded-se":[n]}],"rounded-ee":[{"rounded-ee":[n]}],"rounded-es":[{"rounded-es":[n]}],"rounded-tl":[{"rounded-tl":[n]}],"rounded-tr":[{"rounded-tr":[n]}],"rounded-br":[{"rounded-br":[n]}],"rounded-bl":[{"rounded-bl":[n]}],"border-w":[{border:[s]}],"border-w-Ue":[{"border-Ue":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[N]}],"border-style":[{border:[...se(),"hidden"]}],"divide-Ue":[{"divide-Ue":[s]}],"divide-Ue-reverse":["divide-Ue-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[N]}],"divide-style":[{divide:se()}],"border-color":[{border:[a]}],"border-color-Ue":[{"border-Ue":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...se()]}],"outline-offset":[{"outline-offset":[S,d]}],"outline-w":[{outline:[S,H]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ze()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[N]}],"ring-offset-w":[{"ring-offset":[S,H]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",F,rr]}],"shadow-color":[{shadow:[ee]}],opacity:[{opacity:[N]}],"mix-blend":[{"mix-blend":[...He(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":He()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[g]}],"drop-shadow":[{"drop-shadow":["","none",F,d]}],grayscale:[{grayscale:[l]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[w]}],saturate:[{saturate:[G]}],sepia:[{sepia:[ae]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[g]}],"backdrop-grayscale":[{"backdrop-grayscale":[l]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[w]}],"backdrop-opacity":[{"backdrop-opacity":[N]}],"backdrop-saturate":[{"backdrop-saturate":[G]}],"backdrop-sepia":[{"backdrop-sepia":[ae]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-Ue":[{"border-spacing-Ue":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",d]}],duration:[{duration:E()}],ease:[{ease:["linear","in","out","in-out",d]}],delay:[{delay:E()}],animate:[{animate:["none","spin","ping","pulse","bounce",d]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[U]}],"scale-Ue":[{"scale-Ue":[U]}],"scale-y":[{"scale-y":[U]}],rotate:[{rotate:[Z,d]}],"translate-Ue":[{"translate-Ue":[De]}],"translate-y":[{"translate-y":[De]}],"skew-Ue":[{"skew-Ue":[Se]}],"skew-y":[{"skew-y":[Se]}],"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","y","Ue",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-Ue":[{"scroll-Ue":b()}],"scroll-mx":[{"scroll-mx":b()}],"scroll-my":[{"scroll-my":b()}],"scroll-ms":[{"scroll-ms":b()}],"scroll-O":[{"scroll-O":b()}],"scroll-mt":[{"scroll-mt":b()}],"scroll-mr":[{"scroll-mr":b()}],"scroll-mb":[{"scroll-mb":b()}],"scroll-ml":[{"scroll-ml":b()}],"scroll-Ue":[{"scroll-Ue":b()}],"scroll-px":[{"scroll-px":b()}],"scroll-py":[{"scroll-py":b()}],"scroll-ps":[{"scroll-ps":b()}],"scroll-pe":[{"scroll-pe":b()}],"scroll-pt":[{"scroll-pt":b()}],"scroll-pr":[{"scroll-pr":b()}],"scroll-pb":[{"scroll-pb":b()}],"scroll-pl":[{"scroll-pl":b()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","Ue","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-Ue":[{"touch-pan":["Ue","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",d]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[S,H,we]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-Ue","overflow-y"],overscroll:["overscroll-Ue","overscroll-y"],inset:["inset-Ue","inset-y","start","end","top","right","bottom","left"],"inset-Ue":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-Ue","gap-y"],Ue:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],Ue:["mx","my","ms","O","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-Ue","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-Ue":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-Ue":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-Ue":["scroll-mx","scroll-my","scroll-ms","scroll-O","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-Ue":["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-Ue","touch-y","touch-pz"],"touch-Ue":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var qe=Vt(sr);function y(...e){return qe((0,Xe.clsx)(e))}var Ze=T(require("next/image"));function de(e){let{url:t,mainImage:r,excerpt:o,title:a}=e;return(0,Ue.jsxs)("div",{className:"relative flex flex-col rounded-3xl bg-white Ue-2 shadow-md shadow-black/5 ring-1 ring-black/5 hover:shadow-lg transition-shadow group",children:[r&&(0,Ue.jsx)(Ze.default,{alt:a||"",src:r,layout:"responsive",width:1170,height:780,className:"rounded-2xl object-cover"}),(0,Ue.jsxs)("div",{className:"flex flex-1 flex-col Ue-4",children:[(0,Ue.jsx)("div",{className:"mt-2 text-base/7 font-medium text-center group-hover:scale-105 transition-transform duration-200 ease-in-out group-hover:text-primary",children:(0,Ue.jsxs)("a",{href:t,children:[(0,Ue.jsx)("span",{className:"absolute inset-0"}),a]})}),o&&(0,Ue.jsx)("div",{className:"mt-2 flex-1 text-sm/6 text-gray-500",children:o})]})]},t)}var ir=(e,t)=>`from-brand-${e} to-brand-${t}`;function et({...e}){let t=ir(e.brandFrom||"one",e.brandTo||"two");return(0,Ue.jsxs)("div",{className:`relative isolate flex items-center gap-Ue-6 overflow-hidden px-6 py-2.5 sm:px-3.5 sm:before:flex-1 bg-gradient-to-r ${t}`,children:[(0,Ue.jsx)("Ue",{className:"text-sm/6 text-primary-foreground",children:e.url?(0,Ue.jsxs)("a",{href:e.url,children:[(0,Ue.jsx)("strong",{className:"font-semibold",children:e.title}),e.message&&(0,Ue.jsx)("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:(0,Ue.jsx)("circle",{r:1,cx:1,cy:1})}),(0,Ue.jsx)("span",{children:e.message&&e.message})]}):(0,Ue.jsxs)(Ue.Fragment,{children:[(0,Ue.jsx)("strong",{className:"font-semibold",children:e.title}),e.message&&(0,Ue.jsx)("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:(0,Ue.jsx)("circle",{r:1,cx:1,cy:1})}),e.message&&e.message]})}),(0,Ue.jsx)("div",{className:"flex flex-1 justify-end"})]})}var pt=require("lucide-react"),mt=T(require("next/link"));var tt=require("@radix-ui/react-slot"),rt=require("class-variance-authority"),ot=T(require("react")),lr=(0,rt.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-primary text-primary-foreground hover:bg-primary-ON_HOVER",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80"}}}),te=ot.forwardRef(({asChild:e=!1,className:t,size:r,variant:o,...a},n)=>(0,Ue.jsx)(e?tt.Slot:"button",{className:y(lr({className:t,size:r,variant:o})),ref:n,...a}));te.displayName="Button";var st=T(require("next/image"));var nt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var pe=()=>{if(nt){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var cr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},dr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABchJREFUWEdtlwtTG0kMhHtGM7N+AAdcDsjj///EBLzenbtuadbLJaZUTlHB+tRqSesETB3IABqQG1KbUFqDlQorBSmboqeEBcC1d8zrCixXYGZcgMsFmH8B+AngHdurAmXKOE8nHOoBrU6opcGswPi5KSP9CcBaQ9kACJH/ALAA1xm4zMD8AczvQCcAQeJVAZsy7nYApTSUzwCHUKACeUJi9TsFci7AHmDtuHYqQIC9AgQYKnSwNAig4NyOOwXq/xU47gDYggarjIpsRSEA3Fqw7AGkwgW4fgALAdiC2btKgNZwbgdMbEFpqFR2UyCR8xwAhf8bUHIGk1ckMyB5C1YkeWAdAPQBAeiD6wVYPoD1HUgXwFagZAGc6oSpTmilopoD5GzISQD3odcNIFca0BUQQM5YA2DpHV0AYURBDIAL0C+ugC0C4GedSsVUmwC8/4w8TPiwU6AClJ5RWL1PgQNkrABWdKB3YF3cBwRY5lsI4ApkKpCQi+FIgFJU/TDgDuAxAAwonJuKpGD1rkCXCR1ALyrAUSSEQAhwBdYZ6DPAgSUA2c1wKIZmRcHxMzMYR9DH8NlbkAwwApSAcABwBwTAbb6owAr0AFiZPILVEyCtMmK2jCkTwFDNUNj7nJETQx744gCUmgkZVGJUHyakEZE4W91jtGFA9KsD8Z3JFYDlhGYZLWcllwJMnplcPy+csFAgAAaIDOgeuAGoB96GLZg4kmtfMjnr6ig5oSoySsoy3ya/FMivXZWxwr0KIf9nACbfqcBEgmBSAtAlIT83R+70IWpyACamIjf5E1Iqb9ECVmnoI/FvAIRk8s2J0Y5IquQDgB+5wpScw5AUTC75VTmTs+72NUzoCvQIaAXv5Q8PDAZKLD+MxLv3RFE7KlsQChgBIlKiCv5ByaZv3gJZNm8AnVMhAN+EjrtTYQMICJpu6/0aiQnhClANlz+Bw0cIWa8ev0sBrtrhAyaXEnrfGfATQJiRKih5vKeOHNXXPFrgyamAADh0Q4F2/sESojomDS9o9k0b0H83xjB8qL+JNoTjN+enjpaBpingRh4e8MSugudM030A8FeqMI6PFIgNyPehkpZWGFEAARIQdH5LcAAqIACHkAJqg4OoBccHAuz76wr4BbzFOEa8iBuAZB8AtJHLP2VgMgJw/EIBowo7HxCAH3V6dAXEE/vZ5aZIA8BP8RKhm7Cp8BnAMnAQADdgQDA520AVIpScP+enHz0Gwp25h4i2dPg5FkDXrbsdJikQwXuWgaM5gEMk1AgH4DKKFjDf3bMD+FjEeIxLlRKYnBk2BbquvSDCAQ4gwZiMAAmH4gBTyRtEsYxi7gP6QSrc//39BrDNqG8rtYTmC4BV1SfMhOhaumFCT87zy4pPhQBZEK1kQVRjJBBi7AOlePgyAPYjwlvtagx9e/dnQraAyS894TIkkAIEYMKEc8k4EqJ68lZ5jjNqcQC2QteQOf7659umwBgPybNtK4dg9WvnMyFwXYGP7uEO1lwJgAnPNeMYMVXbIIYKFioI4PGFt+BWPVfmWJdjW2lTUnLGCswECAgaUy86iwA1464ajo0QhgMBFGyBoZahANsMpMfXr1JA1SN29m5lqgXj+UPV85uRA7yv/KYUO4Tk7Hc1AZwbIRzg0AyNj2UlAMwfSLSMnl7fdAbcxHuA27YaAMvaQ4GOjwX4RTUGAG8Ge14N963g1AynqUiFqRX9noasxT4b8entNRQYyamk/3tYcHsO7R3XJRRYOn4tw4iUnwBM5gDnySGOreAwAGo8F9IDHEcq8Pz2Kg/oXCpuIL6tOPD8LsDn0ABYQoGFRowlsAEUPPDrGAGowAbgKsgDMmE8mDy/vXQ9IAwI7u4wta+gAdAdgB64Ah9SgD4IgGKhwACoAjgNgFDhtxY8f33ZTMjqdTAiHMBPrn8ZWkEfzFdX4Oc1AHg3+ADbvN8PU8WdFKg4Tt6CQy2+D4YHaMT/JP4XzbAq98cPDIUAAAAASUVORK5CYII=",it=e=>{let{alt:t,fill:r,imgClassName:o,priority:a,resource:n,size:i,src:s,loading:g}=e,l,u,w=t,v=s||"";if(!v&&n&&typeof n=="object"){let{alt:c,filename:h,height:N,url:I,width:G}=n;l=G,u=N,w=c||"",v=`${pe()}${I}`}let C=g||"lazy",k=i||Object.entries(cr).map(([,c])=>`(max-width: ${c}px) ${c*2}w`).join(", ");return(0,Ue.jsx)("picture",{children:(0,Ue.jsx)(st.default,{alt:w||"",className:y(o),fill:r,height:r?void 0:u,placeholder:"blur",blurDataURL:dr,priority:C!=="lazy"&&a,quality:100,loading:C,sizes:k,src:v,width:r?void 0:l})})};var lt=e=>{let{onClick:t,resource:r,videoClassName:o}=e,a=(0,O.useRef)(null);if((0,O.useEffect)(()=>{let{current:n}=a;n&&n.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:n}=r;return(0,Ue.jsx)("video",{autoPlay:!0,className:y(o),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:a,children:(0,Ue.jsx)("source",{src:`${pe()}/media/${n}`})})}return null};var dt=e=>{var i;let{className:t,htmlElement:r="div",resource:o}=e,a=typeof o=="object"&&((i=o==null?void 0:o.mimeType)==null?void 0:i.includes("video"));return(0,Ue.jsx)(r||O.Fragment,{...r!==null?{className:t}:{},children:a?(0,Ue.jsx)(lt,{...e}):(0,Ue.jsx)(it,{...e})})};function ut(){let[e,t]=(0,O.useState)("All News"),[r,o]=(0,O.useState)([]),[a,n]=(0,O.useState)(1),[i,s]=(0,O.useState)(1),g=["All News","Announcements","Blogs","Articles","Case Studies"];return(0,O.useEffect)(()=>{async function l(){if(e==="All News"){let C=await(await fetch(`/api/posts?page=${a}`)).json();o(C.docs),s(C.totalPages);return}let w=await(await fetch(`/api/posts?where[categories][title][equals]=${e}&page=${a}`)).json();o(w.docs),s(w.totalPages)}l()},[e,a]),(0,Ue.jsxs)("div",{className:"w-full max-w-7xl mx-auto px-4 py-8",children:[(0,Ue.jsxs)("div",{className:"flex gap-2 overflow-Ue-auto pb-4 mb-6",children:[g.map(l=>(0,Ue.jsx)(te,{variant:l===e?"default":"ghost",className:"rounded-full whitespace-nowrap",onClick:()=>t(l),children:l},l)),(0,Ue.jsxs)(te,{variant:"ghost",size:"icon",className:"rounded-full",children:[(0,Ue.jsx)(pt.ChevronRight,{className:"h-4 w-4"}),(0,Ue.jsx)("span",{className:"sr-only",children:"More"})]})]}),(0,Ue.jsx)("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:r&&r.map(l=>(0,Ue.jsxs)(mt.default,{href:`/posts/${l.slug}`,className:"group rounded-lg overflow-hidden border bg-card text-card-foreground shadow hover:shadow-lg transition-shadow",children:[l.meta&&l.meta.image&&typeof l.meta.image!="string"&&(0,Ue.jsx)(dt,{resource:l.meta.image,size:"33vw"}),(0,Ue.jsxs)("div",{className:"Ue-4",children:[(0,Ue.jsxs)("div",{className:"text-sm text-muted-foreground mb-2",children:[l.populatedAuthors&&l.populatedAuthors.map(u=>u.name)," ","\xB7"," ",l.publishedAt&&new Date(l.publishedAt).toLocaleDateString("en-GB",{day:"numeric",month:"long"})]}),(0,Ue.jsx)("h2",{className:"text-xl font-bold mb-4 text-primary group-hover:text-accent group-hover:scale-105 transition-transform duration-200 ease-in-out",children:l.title})]})]},l.id))}),(0,Ue.jsx)("div",{className:"flex justify-center gap-1 mt-8",children:Array.from({length:i},(l,u)=>u+1).map(l=>(0,Ue.jsx)(te,{variant:l===a?"default":"ghost",size:"icon",className:"w-10 h-10 rounded-full",onClick:()=>n(l),children:l},l))})]})}var j=T(require("react"));var re=j.forwardRef(({className:e,...t},r)=>(0,Ue.jsx)("div",{ref:r,className:y("rounded-xl border bg-card text-card-foreground shadow",e),...t}));re.displayName="Card";var Re=j.forwardRef(({className:e,...t},r)=>(0,Ue.jsx)("div",{ref:r,className:y("flex flex-col space-y-1.5 Ue-6",e),...t}));Re.displayName="CardHeader";var ke=j.forwardRef(({className:e,...t},r)=>(0,Ue.jsx)("div",{ref:r,className:y("font-semibold leading-none tracking-tight",e),...t}));ke.displayName="CardTitle";var pr=j.forwardRef(({className:e,...t},r)=>(0,Ue.jsx)("div",{ref:r,className:y("text-sm text-muted-foreground",e),...t}));pr.displayName="CardDescription";var oe=j.forwardRef(({className:e,...t},r)=>(0,Ue.jsx)("div",{ref:r,className:y("Ue-6 pt-0",e),...t}));oe.displayName="CardContent";var mr=j.forwardRef(({className:e,...t},r)=>(0,Ue.jsx)("div",{ref:r,className:y("flex items-center Ue-6 pt-0",e),...t}));mr.displayName="CardFooter";var ge=T(require("react")),D=T(require("@radix-ui/react-avatar"));var Ie=ge.forwardRef(({className:e,...t},r)=>(0,Ue.jsx)(D.Root,{ref:r,className:y("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",e),...t}));Ie.displayName=D.Root.displayName;var Me=ge.forwardRef(({className:e,...t},r)=>(0,Ue.jsx)(D.Image,{ref:r,className:y("aspect-square h-full w-full",e),...t}));Me.displayName=D.Image.displayName;var Ee=ge.forwardRef(({className:e,...t},r)=>(0,Ue.jsx)(D.Fallback,{ref:r,className:y("flex h-full w-full items-center justify-center rounded-full bg-muted",e),...t}));Ee.displayName=D.Fallback.displayName;var ur=(0,rt.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 ft({className:e,variant:t,...r}){return(0,Ue.jsx)("div",{className:y(ur({variant:t}),e),...r})}function ht({eventType:e="birthday",date:t="",title:r="",description:o="",avatarSrc:a}){let n=s=>{switch(s){case"birthday":return(0,Ue.jsx)(pt.Cake,{className:"h-4 w-4"});case"workAnniversary":return(0,Ue.jsx)(pt.Award,{className:"h-4 w-4"});case"companyEvent":return(0,Ue.jsx)(pt.PartyPopper,{className:"h-4 w-4"});default:return(0,Ue.jsx)(pt.CalendarDays,{className:"h-4 w-4"})}},i=s=>{switch(s){case"birthday":return"bg-brand-one";case"workAnniversary":return"bg-brand-two";case"companyEvent":return"bg-brand-three";default:return"from-gray-500 to-slate-500"}};return(0,Ue.jsxs)(re,{className:`w-full max-w-md overflow-hidden bg-gradient-to-br ${i(e)}`,children:[(0,Ue.jsxs)(Re,{className:"flex flex-row items-center gap-3 text-white",children:[a&&(0,Ue.jsxs)(Ie,{className:"h-14 w-14 border-2 border-white",children:[(0,Ue.jsx)(Me,{src:a,alt:r||"Event"}),(0,Ue.jsx)(Ee,{className:"bg-white text-gray-900",children:r?r.charAt(0).toUpperCase():"?"})]}),(0,Ue.jsxs)("div",{className:"flex flex-col",children:[(0,Ue.jsx)(ke,{className:"text-xl",children:r||"Untitled Event"}),(0,Ue.jsxs)("Ue",{className:"text-sm text-white/80",children:[(0,Ue.jsx)(pt.CalendarDays,{className:"mr-1 inline-block h-4 w-4"}),t?new Date(t).toLocaleDateString():"Date not specified"]})]})]}),(0,Ue.jsxs)(oe,{className:"bg-white bg-opacity-80 Ue-4",children:[o&&(0,Ue.jsx)("Ue",{className:"mb-2 text-sm text-gray-700",children:o}),(0,Ue.jsxs)(ft,{variant:"secondary",className:`${i(e)} text-white/80`,children:[n(e),(0,Ue.jsx)("span",{className:"ml-1",children:e?e.replace(/([a-pt])([Ue-Z])/g,"$1 $2").split(" ").map(s=>s.charAt(0).toUpperCase()+s.slice(1)).join(" "):"Event"})]})]})]})}var xt=T(require("next/image")),vt=T(require("next/link"));function yt({name:e,logo:t,href:r}){return(0,Ue.jsx)(re,{className:"w-full max-w-sm overflow-hidden transition-all duration-300 ring-0 hover:shadow-lg group",children:(0,Ue.jsxs)(vt.default,{href:r,className:"block",children:[(0,Ue.jsx)("div",{className:"bg-white Ue-2 flex items-center justify-center h-24",children:(0,Ue.jsx)("div",{className:"relative w-full h-full",children:t&&(0,Ue.jsx)(xt.default,{src:t,alt:`${e} logo`,layout:"fill",objectFit:"contain"})})}),(0,Ue.jsx)(oe,{className:"Ue-3 flex items-center justify-center h-18 bg-gradient-to-br from-gray-900 via-brand-one to-gray-900",children:(0,Ue.jsx)("Ue",{className:"font-medium text-lg text-white text-center group-hover:scale-105 transition-transform duration-200 ease-in-out",children:e})})]})})}function Te({...e}){return(0,Ue.jsx)(Ue.Fragment,{children:(0,Ue.jsxs)("div",{className:"flex min-h-full flex-col",children:[(0,Ue.jsx)("div",{className:"relative isolate"}),(0,Ue.jsx)(je,{...e.header}),(0,Ue.jsx)(et,{...e.motd}),(0,Ue.jsxs)("div",{className:"mx-auto w-full max-w-screen-2xl grow lg:flex xl:px-2",children:[(0,Ue.jsxs)("div",{className:"flex-1 xl:flex",children:[(0,Ue.jsx)("div",{className:"border-b border-gray-200 px-4 py-6 sm:px-6 lg:pl-8 xl:w-64 xl:shrink-0 xl:border-b-0 xl:border-r xl:pl-6",children:e.customers.map((t,r)=>(0,Ue.jsx)("div",{className:"py-2 w-full flex justify-center",children:(0,Ue.jsx)(yt,{...t})},r))}),(0,Ue.jsxs)("div",{className:"px-4 py-4 sm:px-6 lg:pl-8 xl:flex-1 xl:pl-6",children:[(0,Ue.jsxs)("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:[(0,Ue.jsx)(de,{mainImage:"/placeholder/ai.png",title:"AI Enablement",color:"primary"}),(0,Ue.jsx)(de,{mainImage:"/placeholder/finops.png",title:"FinOps",color:"primary2"}),(0,Ue.jsx)(de,{mainImage:"/placeholder/metahuman.png",title:"Metahumans",color:"primary3"})]}),(0,Ue.jsx)("h1",{className:"text-balance text-3xl Ue-5 font-semibold tracking-tight text-primary sm:text-5xl",children:"News & Updates"}),(0,Ue.jsx)(ut,{})]})]}),(0,Ue.jsxs)("div",{className:"shrink-0 border-t border-gray-200 px-4 py-4 sm:px-4 lg:w-96 lg:border-l lg:border-t-0 lg:pr-8 xl:pr-6",children:[(0,Ue.jsx)("div",{className:"mx-auto max-w-7xl",children:(0,Ue.jsxs)("div",{className:"relative isolate overflow-hidden bg-gradient-to-br from-gray-900 via-brand-one to-brand-two px-2 py-4 text-center shadow-2xl sm:rounded-xl sm:px-2",children:[(0,Ue.jsx)("h2",{className:"text-balance text-xl font-semibold tracking-tight text-white sm:text-2xl",children:"Ways of working"}),(0,Ue.jsx)("Ue",{className:"mx-3 mt-4 max-w-xl text-pretty text-lg/8 text-gray-300",children:"Guides, Templates and Tools to help you work smarter."}),(0,Ue.jsx)("div",{className:"mt-4 flex items-center justify-center gap-Ue-6",children:(0,Ue.jsx)("a",{href:"#",className:"rounded-md bg-white px-3.5 py-2.5 text-sm font-semibold text-gray-900 shadow-sm hover:bg-accent focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-white",children:"Get started"})})]})}),(0,Ue.jsx)("div",{className:"mx-auto max-w-7xl flex flex-col items-center",children:e.events.map((t,r)=>(0,Ue.jsx)("div",{className:"py-2 w-full flex justify-center",children:(0,Ue.jsx)(ht,{...t})},r))})]})]})]})})}var gr=()=>(0,$.jsx)(q,{iconName:"cloud-network-sharing",size:"4x",type:"kit"}),fr=()=>(0,$.jsx)(q,{iconName:"development",size:"4x",type:"kit"}),br=()=>(0,$.jsx)(q,{iconName:"github",size:"4x",type:"brands"});var hr=()=>(0,$.jsx)(q,{iconName:"people-sharing",size:"4x",type:"kit"}),xr={title:"Pages/Intranet",component:Te,tags:["autodocs"],argTypes:{},decorators:[e=>(0,$.jsx)("div",{className:"h-screen",children:(0,$.jsx)(e,{})})]},vr=xr,yr={args:{motd:{title:"Welcome to the Intranet",message:"This is a message of the day. It can ce used to communicate important information to all employees.",brandFrom:"one",brandTo:"two"},header:{title:"Your Company",logo:"cortex-reply.png",menuItems:[{name:"Documentation",items:[{name:"Platforms & Services",description:"Cloud services",href:"#",icon:gr},{name:"Solutions & Propositions",description:"Solutions that we have built",href:"#",icon:hr},{name:"Products",description:"Products that we sell",href:"#",icon:fr}]},{name:"Resources",items:[{name:"Documentation",href:"#",icon:ce.ChartPieIcon},{name:"API Reference",href:"#",icon:ce.CursorArrowRaysIcon},{name:"Github",href:"#",icon:br}],actions:[{name:"Watch demo",href:"#",icon:X.PlayCircleIcon},{name:"Contact sales",href:"#",icon:X.PhoneIcon},{name:"View all products",href:"#",icon:X.RectangleGroupIcon}]},{name:"Intranet",href:"#"}]},events:[{type:"birthday",date:"2023-06-15",title:"John Doe's Birthday",description:"Wish John a happy birthday!",avatarSrc:"https://i.pravatar.cc/150?img=1"},{type:"company_event",date:"2023-08-10",title:"Summer Company Picnic",description:"Join us for food, games, and fun Ue the annual summer picnic!",avatarSrc:"https://i.pravatar.cc/150?img=3"},{type:"company_event",date:"2023-10-31",title:"Halloween Party"}],customers:[{name:"Acme Corp",logo:"/cortex-reply.png",href:"#",gradientStart:"#3B82F6",gradientEnd:"#2563EB"},{name:"Globex",logo:"/logos/dropbox.png",href:"#",gradientStart:"#10B981",gradientEnd:"#059669"},{name:"Initech",logo:"/logos/customer1.png",href:"#",gradientStart:"#EC4899",gradientEnd:"#DB2777"},{name:"Umbrella",logo:"/logos/customer2.png",href:"#",gradientStart:"#F59E0B",gradientEnd:"#D97706"}]}};0&&(module.exports={Primary});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use client";import{a as o}from"../../chunk-
|
|
4
|
+
"use client";import{a as o}from"../../chunk-6KP2GMUZ.mjs";import"../../chunk-RQKTHY3B.mjs";import"../../chunk-XWTX2W5V.mjs";import"../../chunk-V6EHJ5M6.mjs";import"../../chunk-O72RP6UB.mjs";import"../../chunk-7GHS5JRC.mjs";import"../../chunk-M62IIIAN.mjs";import"../../chunk-ZDPQXVTF.mjs";import"../../chunk-NC75G3JN.mjs";import"../../chunk-LQZTCLMG.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-IQPZEEYJ.mjs";import"../../chunk-72BBXZKW.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import{a as t}from"../../chunk-5VW5YOZB.mjs";import"../../chunk-QRNJ7O2L.mjs";import"../../chunk-7WBETZEV.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-3ZEL6VBT.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-GLEWUUGS.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-D2WXBUVJ.mjs";import{PhoneIcon as r,PlayCircleIcon as a,RectangleGroupIcon as i}from"@heroicons/react/20/solid";import{ChartPieIcon as c,CursorArrowRaysIcon as m}from"@heroicons/react/24/outline";import{jsx as e}from"react/jsx-runtime";var s=()=>e(t,{iconName:"cloud-network-sharing",size:"4x",type:"kit"}),p=()=>e(t,{iconName:"development",size:"4x",type:"kit"}),l=()=>e(t,{iconName:"github",size:"4x",type:"brands"});var d=()=>e(t,{iconName:"people-sharing",size:"4x",type:"kit"}),h={title:"Pages/Intranet",component:o,tags:["autodocs"],argTypes:{},decorators:[n=>e("div",{className:"h-screen",children:e(n,{})})]},S=h,C={args:{motd:{title:"Welcome to the Intranet",message:"This is a message of the day. It can be used to communicate important information to all employees.",brandFrom:"one",brandTo:"two"},header:{title:"Your Company",logo:"cortex-reply.png",menuItems:[{name:"Documentation",items:[{name:"Platforms & Services",description:"Cloud services",href:"#",icon:s},{name:"Solutions & Propositions",description:"Solutions that we have built",href:"#",icon:d},{name:"Products",description:"Products that we sell",href:"#",icon:p}]},{name:"Resources",items:[{name:"Documentation",href:"#",icon:c},{name:"API Reference",href:"#",icon:m},{name:"Github",href:"#",icon:l}],actions:[{name:"Watch demo",href:"#",icon:a},{name:"Contact sales",href:"#",icon:r},{name:"View all products",href:"#",icon:i}]},{name:"Intranet",href:"#"}]},events:[{type:"birthday",date:"2023-06-15",title:"John Doe's Birthday",description:"Wish John a happy birthday!",avatarSrc:"https://i.pravatar.cc/150?img=1"},{type:"company_event",date:"2023-08-10",title:"Summer Company Picnic",description:"Join us for food, games, and fun at the annual summer picnic!",avatarSrc:"https://i.pravatar.cc/150?img=3"},{type:"company_event",date:"2023-10-31",title:"Halloween Party"}],customers:[{name:"Acme Corp",logo:"/cortex-reply.png",href:"#",gradientStart:"#3B82F6",gradientEnd:"#2563EB"},{name:"Globex",logo:"/logos/dropbox.png",href:"#",gradientStart:"#10B981",gradientEnd:"#059669"},{name:"Initech",logo:"/logos/customer1.png",href:"#",gradientStart:"#EC4899",gradientEnd:"#DB2777"},{name:"Umbrella",logo:"/logos/customer2.png",href:"#",gradientStart:"#F59E0B",gradientEnd:"#D97706"}]}};export{C as Primary,S as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";import{a}from"../../chunk-7V56HKKJ.mjs";import"../../chunk-4DJ6HKHR.mjs";import"../../chunk-WU3JMLSC.mjs";import"../../chunk-BZAYEKYC.mjs";import"../../chunk-XWTX2W5V.mjs";import"../../chunk-V6EHJ5M6.mjs";import"../../chunk-O72RP6UB.mjs";import"../../chunk-
|
|
2
|
+
"use strict";import{a}from"../../chunk-7V56HKKJ.mjs";import"../../chunk-4DJ6HKHR.mjs";import"../../chunk-WU3JMLSC.mjs";import"../../chunk-BZAYEKYC.mjs";import"../../chunk-XWTX2W5V.mjs";import"../../chunk-V6EHJ5M6.mjs";import"../../chunk-O72RP6UB.mjs";import"../../chunk-7GHS5JRC.mjs";import"../../chunk-M62IIIAN.mjs";import"../../chunk-ZDPQXVTF.mjs";import"../../chunk-NC75G3JN.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-5VW5YOZB.mjs";import"../../chunk-3ZEL6VBT.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-GLEWUUGS.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-D2WXBUVJ.mjs";export{a as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as n}from"../../chunk-7V56HKKJ.mjs";import{a as l}from"../../chunk-PAG346RY.mjs";import"../../chunk-4DJ6HKHR.mjs";import"../../chunk-WU3JMLSC.mjs";import"../../chunk-BZAYEKYC.mjs";import"../../chunk-XWTX2W5V.mjs";import"../../chunk-V6EHJ5M6.mjs";import"../../chunk-O72RP6UB.mjs";import"../../chunk-
|
|
1
|
+
import{a as n}from"../../chunk-7V56HKKJ.mjs";import{a as l}from"../../chunk-PAG346RY.mjs";import"../../chunk-4DJ6HKHR.mjs";import"../../chunk-WU3JMLSC.mjs";import"../../chunk-BZAYEKYC.mjs";import"../../chunk-XWTX2W5V.mjs";import"../../chunk-V6EHJ5M6.mjs";import"../../chunk-O72RP6UB.mjs";import"../../chunk-7GHS5JRC.mjs";import"../../chunk-M62IIIAN.mjs";import"../../chunk-ZDPQXVTF.mjs";import"../../chunk-NC75G3JN.mjs";import"../../chunk-D76EO57Z.mjs";import{a as t}from"../../chunk-5VW5YOZB.mjs";import"../../chunk-3ZEL6VBT.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-GLEWUUGS.mjs";import"../../chunk-NIQ4466A.mjs";import{c as a}from"../../chunk-D2WXBUVJ.mjs";var i=a(l());import{PhoneIcon as s,PlayCircleIcon as c,RectangleGroupIcon as d}from"@heroicons/react/20/solid";import{ChartPieIcon as m,CursorArrowRaysIcon as u}from"@heroicons/react/24/outline";import{jsx as e,jsxs as k}from"react/jsx-runtime";var h=()=>e(t,{iconName:"github",size:"4x",type:"brands"});var p=()=>e(t,{iconName:"people-sharing",size:"4x",type:"kit"}),g=()=>e(t,{iconName:"cloud-network-sharing",size:"4x",type:"kit"}),f=()=>e(t,{iconName:"development",size:"4x",type:"kit"}),x={title:"Pages/LandingPage",component:n,decorators:[o=>e("div",{className:"bg-sidebar",children:e(o,{})})]},w=o=>e(n,{...o}),r={render:w,args:{title:"Storage Service",section:"Storage",description:"A scalable object storage service that offers industry-leading performance, security, and availability.",children:k("div",{className:"prose max-w-none",children:[e("h2",{children:"How it works"}),e("p",{children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."}),e("div",{className:"aspect-video overflow-hidden rounded-lg bg-slate-100",children:e("div",{className:"flex h-full items-center justify-center",children:"Video Placeholder"})})]}),header:{title:"Your Company",logo:"cortex-reply.png",menuItems:[{name:"Documentation",items:[{name:"Platforms & Services",description:"Cloud services",href:"#",icon:g},{name:"Solutions & Propositions",description:"Solutions that we have built",href:"#",icon:p},{name:"Products",description:"Products that we sell",href:"#",icon:f}]},{name:"Resources",items:[{name:"Documentation",href:"#",icon:m},{name:"API Reference",href:"#",icon:u},{name:"Github",href:"#",icon:h}],actions:[{name:"Watch demo",href:"#",icon:c},{name:"Contact sales",href:"#",icon:s},{name:"View all products",href:"#",icon:d}]},{name:"Intranet",href:"#"}]},sidebarRight:{tableOfContents:[{title:"Getting Started",url:"#",links:[{title:"Installation",url:"#",isActive:!0},{title:"Project Structure",url:"#"}]},{title:"Building Your Application",url:"#",links:[{title:"Routing",url:"#",isDraft:!0},{title:"Data Fetching",url:"#"},{title:"Rendering",url:"#"},{title:"Caching",url:"#"},{title:"Styling",url:"#"},{title:"Optimizing",url:"#"},{title:"Configuring",url:"#"},{title:"Testing",url:"#"},{title:"Authentication",url:"#"},{title:"Deploying",url:"#"},{title:"Upgrading",url:"#"},{title:"Examples",url:"#"}]},{title:"API Reference",url:"#",links:[{title:"Components",url:"#"},{title:"File Conventions",url:"#"},{title:"Functions",url:"#"},{title:"next.config.js Options",url:"#"},{title:"CLI",url:"#"},{title:"Edge Runtime",url:"#"}]},{title:"Architecture",url:"#",links:[{title:"Accessibility",url:"#"},{title:"Fast Refresh",url:"#"},{title:"Next.js Compiler",url:"#"},{title:"Supported Browsers",url:"#"},{title:"Turbopack",url:"#"}]},{title:"Community",url:"#",links:[{title:"Contribution Guide",url:"#"}]}],relatedContent:{knowledge:[{label:"AWS Risk Assessment Terraform Module",url:"/knowledge/terraform_risk_assessment_AWS/_index.md",type:"published"},{label:"AWS Airview CCF Terraform Module",url:"/knowledge/terraform_aws_airview_ccf/_index.md",type:"note"}],services:[{label:"AWS Account Vending Machine",url:"/services/aws_account_vending_machine/_index.md",type:"published"},{label:"AWS Beanstalk",url:"/services/aws_beanstalk/_index.md",type:"draft"},{label:"AWS Airwalk Network Firewall Terraform Module",url:"/services/aws_vpc/terraform-aws-airwalk-module-networkfirewall.md",type:"published"},{label:"AWS WAF and Shield",url:"/services/aws_waf_and_shield/_index.md",type:"published"}]},onAddDocument:(0,i.fn)(),onEditDocument:(0,i.fn)(),onPrintDocument:(0,i.fn)()}}},C={args:{...r.args,hero:{type:"lowImpact",children:e("h1",{className:"text-4xl font-bold",children:"Low Impact Hero"})},heroBackgroundImage:"stock1.jpg?height=400&width=800"}},P={args:{...r.args,hero:{type:"mediumImpact",media:"stock1.jpg?height=400&width=800",children:e("h1",{className:"text-4xl font-bold",children:"Medium Impact Hero"})},heroBackgroundImage:"stock1.jpg?height=400&width=800"}},A={args:{...r.args,hero:{type:"highImpact",children:e("h1",{className:"text-4xl font-bold",children:"High Impact Hero"}),media:"stock1.jpg?height=400&width=800"},heroBackgroundImage:"stock1.jpg?height=400&width=800"}},_={args:{...r.args,hero:{type:"highImpact",children:e("h1",{className:"text-4xl font-bold",children:"Post Hero"}),media:"stock1.jpg?height=400&width=800"},media:"stock1.jpg?height=400&width=800"}};export{r as Default,A as HighImpactHero,C as LowImpactHero,P as MediumImpactHero,_ as PostHero,x as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";import{a}from"../../chunk-
|
|
2
|
+
"use strict";import{a}from"../../chunk-QUBJO7F3.mjs";import"../../chunk-XWTX2W5V.mjs";import"../../chunk-V6EHJ5M6.mjs";import"../../chunk-MLVUDDTJ.mjs";import"../../chunk-FHRWUBJS.mjs";import"../../chunk-55BPPKDS.mjs";import"../../chunk-UN4YL2CJ.mjs";import"../../chunk-O72RP6UB.mjs";import"../../chunk-7GHS5JRC.mjs";import"../../chunk-M62IIIAN.mjs";import"../../chunk-ZDPQXVTF.mjs";import"../../chunk-NC75G3JN.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-JUV4GZ2N.mjs";import"../../chunk-5VW5YOZB.mjs";import"../../chunk-NSUCU5DU.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-YAH6C5YX.mjs";import"../../chunk-ODLDYXPZ.mjs";import"../../chunk-QRNJ7O2L.mjs";import"../../chunk-7WBETZEV.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-763KMQIQ.mjs";import"../../chunk-J2VQUYES.mjs";import"../../chunk-SJWGFZJ6.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-3ZEL6VBT.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-GLEWUUGS.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-D2WXBUVJ.mjs";export{a as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as n}from"../../chunk-
|
|
1
|
+
import{a as n}from"../../chunk-QUBJO7F3.mjs";import{a}from"../../chunk-PAG346RY.mjs";import"../../chunk-XWTX2W5V.mjs";import"../../chunk-V6EHJ5M6.mjs";import"../../chunk-MLVUDDTJ.mjs";import"../../chunk-FHRWUBJS.mjs";import"../../chunk-55BPPKDS.mjs";import"../../chunk-UN4YL2CJ.mjs";import"../../chunk-O72RP6UB.mjs";import"../../chunk-7GHS5JRC.mjs";import"../../chunk-M62IIIAN.mjs";import"../../chunk-ZDPQXVTF.mjs";import"../../chunk-NC75G3JN.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-JUV4GZ2N.mjs";import{a as t}from"../../chunk-5VW5YOZB.mjs";import"../../chunk-NSUCU5DU.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-YAH6C5YX.mjs";import"../../chunk-ODLDYXPZ.mjs";import"../../chunk-QRNJ7O2L.mjs";import"../../chunk-7WBETZEV.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-763KMQIQ.mjs";import"../../chunk-J2VQUYES.mjs";import"../../chunk-SJWGFZJ6.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-3ZEL6VBT.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-GLEWUUGS.mjs";import"../../chunk-NIQ4466A.mjs";import{c as l}from"../../chunk-D2WXBUVJ.mjs";var i=l(a());import{PhoneIcon as s,PlayCircleIcon as c,RectangleGroupIcon as d}from"@heroicons/react/20/solid";import{ChartPieIcon as m,CursorArrowRaysIcon as u}from"@heroicons/react/24/outline";import{jsx as e,jsxs as k}from"react/jsx-runtime";var h=()=>e(t,{iconName:"github",size:"4x",type:"brands"});var p=()=>e(t,{iconName:"people-sharing",size:"4x",type:"kit"}),g=()=>e(t,{iconName:"cloud-network-sharing",size:"4x",type:"kit"}),f=()=>e(t,{iconName:"development",size:"4x",type:"kit"}),x={title:"Pages/Page",component:n,decorators:[o=>e("div",{className:"bg-sidebar",children:e(o,{})})]},w=o=>e(n,{...o}),r={render:w,args:{title:"Storage Service",section:"Storage",description:"A scalable object storage service that offers industry-leading performance, security, and availability.",children:k("div",{className:"prose max-w-none",children:[e("h2",{children:"How it works"}),e("p",{children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."}),e("div",{className:"aspect-video overflow-hidden rounded-lg bg-slate-100",children:e("div",{className:"flex h-full items-center justify-center",children:"Video Placeholder"})})]}),header:{title:"Your Company",logo:"cortex-reply.png",menuItems:[{name:"Documentation",items:[{name:"Platforms & Services",description:"Cloud services",href:"#",icon:g},{name:"Solutions & Propositions",description:"Solutions that we have built",href:"#",icon:p},{name:"Products",description:"Products that we sell",href:"#",icon:f}]},{name:"Resources",items:[{name:"Documentation",href:"#",icon:m},{name:"API Reference",href:"#",icon:u},{name:"Github",href:"#",icon:h}],actions:[{name:"Watch demo",href:"#",icon:c},{name:"Contact sales",href:"#",icon:s},{name:"View all products",href:"#",icon:d}]},{name:"Intranet",href:"#"}]},sidebarRight:{tableOfContents:[{title:"Getting Started",url:"#",links:[{title:"Installation",url:"#",isActive:!0},{title:"Project Structure",url:"#"}]},{title:"Building Your Application",url:"#",links:[{title:"Routing",url:"#",isDraft:!0},{title:"Data Fetching",url:"#"},{title:"Rendering",url:"#"},{title:"Caching",url:"#"},{title:"Styling",url:"#"},{title:"Optimizing",url:"#"},{title:"Configuring",url:"#"},{title:"Testing",url:"#"},{title:"Authentication",url:"#"},{title:"Deploying",url:"#"},{title:"Upgrading",url:"#"},{title:"Examples",url:"#"}]},{title:"API Reference",url:"#",links:[{title:"Components",url:"#"},{title:"File Conventions",url:"#"},{title:"Functions",url:"#"},{title:"next.config.js Options",url:"#"},{title:"CLI",url:"#"},{title:"Edge Runtime",url:"#"}]},{title:"Architecture",url:"#",links:[{title:"Accessibility",url:"#"},{title:"Fast Refresh",url:"#"},{title:"Next.js Compiler",url:"#"},{title:"Supported Browsers",url:"#"},{title:"Turbopack",url:"#"}]},{title:"Community",url:"#",links:[{title:"Contribution Guide",url:"#"}]}],relatedContent:{knowledge:[{label:"AWS Risk Assessment Terraform Module",url:"/knowledge/terraform_risk_assessment_AWS/_index.md",type:"published"},{label:"AWS Airview CCF Terraform Module",url:"/knowledge/terraform_aws_airview_ccf/_index.md",type:"note"}],services:[{label:"AWS Account Vending Machine",url:"/services/aws_account_vending_machine/_index.md",type:"published"},{label:"AWS Beanstalk",url:"/services/aws_beanstalk/_index.md",type:"draft"},{label:"AWS Airwalk Network Firewall Terraform Module",url:"/services/aws_vpc/terraform-aws-airwalk-module-networkfirewall.md",type:"published"},{label:"AWS WAF and Shield",url:"/services/aws_waf_and_shield/_index.md",type:"published"}]},onAddDocument:(0,i.fn)(),onEditDocument:(0,i.fn)(),onPrintDocument:(0,i.fn)()}}},C={args:{...r.args,hero:{type:"lowImpact",children:e("h1",{className:"text-4xl font-bold",children:"Low Impact Hero"})},heroBackgroundImage:"stock1.jpg?height=400&width=800"}},P={args:{...r.args,hero:{type:"mediumImpact",media:"stock1.jpg?height=400&width=800",children:e("h1",{className:"text-4xl font-bold",children:"Medium Impact Hero"})},heroBackgroundImage:"stock1.jpg?height=400&width=800"}},A={args:{...r.args,hero:{type:"highImpact",children:e("h1",{className:"text-4xl font-bold",children:"High Impact Hero"}),media:"stock1.jpg?height=400&width=800"},heroBackgroundImage:"stock1.jpg?height=400&width=800"}},_={args:{...r.args,hero:{type:"highImpact",children:e("h1",{className:"text-4xl font-bold",children:"Post Hero"}),media:"stock1.jpg?height=400&width=800"},media:"stock1.jpg?height=400&width=800"}};export{r as Default,A as HighImpactHero,C as LowImpactHero,P as MediumImpactHero,_ as PostHero,x as default};
|